@univerjs-pro/collaboration-client-ui 0.10.4 → 0.10.5

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 _0x4971(){const _0x5be0eb=['getOwnPropertyDescriptor','unload','startRow','LocaleService','WebBrowserSingleActiveUnitService','exports','250NyKdtQ','getViewport','UniverUi','imageSourceType','toRgbString','INotificationService','beginPath','add','_drawTextRange','call','triggerDblclick','CollaborationStatus','unshift','replaceState','delete','collabCursorState$','_docStateChangeManagerService','TEXT','_handleHover','toString','arc','_getAnchorBounding','_createSocketURL','color','_sheetSkeletonManagerService','UniverCollaborationClientPlugin','http://www.w3.org/2000/svg','LOCAL_CACHE_INTERVAL','_collaborationController','getColor','LICENSE_EXPORT_SIZE_EXCEEDED','name','ColorKit','cursorInfo$','executionId','UniverProCollaborationClient','Tooltip','function','setTimeout','_onRefRangeChange','getAncestorScale','isEditing','APPLY_PERMISSION_DENIED','_injector','getTypeOfUnitAdded$','extend','APPLY_REJECT','icon','APPLY_NON_SEQUENTIAL_REVISION','_name','getOwnPropertySymbols','popstate','saveOfflineData','dispose','DisposableCollection','defIds','transformMutation','isTransformMutationFailure','getCollabEntity$','endColumn','CollaborationSessionService','textRanges','DOC_RANGE_TYPE','translate(.97)','div','_onCursorUpdate','_logService','_docClipboardService','_docSkeletonManagerService','tag','/run/','idSuffix','clearInterval','_transformService','search','TEXT_RANGE_LAYER_INDEX','_dataLoaderService','with','_toggleOffline','USERS_LEAVE','@univerjs/rpc','transformIMECache','UniverDesign','SheetsSelectionsService','NodePositionConvertToRectRange','1em','max','RegularPolygon','_httpService','ACTIVE_UNIT_EVENT_CHANNEL','_docTransformIMECacheService','_handleHeartbeatEvent','_updateLocalCursor','INVALID_INVITE_CODE','requireSession','_session','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UniverDocsUi','current','M0\x200H16V16H0z','CollaborationUIEventService','_removeCollabCursors','getActiveSheet','NO_OTHER_CLIENTS_EDITING','React','RECT','useDependency','YUUMI_ALL_TABLES_IS_INVALID','measureText','_transformPreviousActiveRange','apply','collab-text-anchor-','onRendered','@univerjs/sheets','switchMap','code','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_range','cursorInfo','useRef','collaboration-client.offline-data-not-saved','OTHER_CLIENT_EDITING','subunit','SNAPSHOT_HAS_BEEN_REMOVED','debounceTime','map','CollaborationController','merge','_eventUnsubscribe','_unitOnClients','_onCursorDelete','setAlpha','_status$','_refRangeService','getDocRanges','_scheduleClearOtherTimer','_anchor','_heartbeatTimer','top','YUUMI_TABLE_NOT_FOUND_IN_UNIT','IUIPartsService','startsWith','getCoordByCell','collabStatus.fetchMiss','onPointerEnter$','_cursorInfo$','RevisionService','indexOf','_registerRenderDependencies','isActive','CLOSE_ROOM','MUTATION','CollaborationEvent','_clearOtherTimers','Optional','_selfUnitIDs','column','IUniverInstanceService','_getMergeRange','next','getCellPositionByOffset','has','isArray','fromEvent','YUUMI_ASYNCIO_CANCELLED','@univerjs/engine-formula','INVITE_CODE_ALREADY_BOUND','CollaborationUIEventId','react','UPDATE_CURSOR','getOffsetConfig','ranges','createElement','@univerjs/design','get','getColorFromTheme','_initStatusListener','_hover','jiqing.500','_cursor','IMessageService','UniverProCollaboration','_draw','backgroundColor','WebSocketService','JOIN_ROOM_FAILED','substring','_saveTaskMap','SetWorksheetActivateCommand','toStringTag','handleIRemoveCol','white','_unitStatus','_colorIndex','YUUMI_UNABLE_LOAD_URL','SheetSkeletonManagerService','black','_updateCollabCursors','save','_saveCache','getSheetObject','ONLINE','attrs','_commandService','handleIRemoveRow','UNIVER_SHEET','_ensureSubject','getCurrent','event$','propertyIsEnumerable','handleDeleteRangeMoveUp','_localStorageService','eventID','_transformHistoryAndStateStack','setUndoRedoMutationParamsCache','EffectRefRangId','getRangePointData','2931752WgUHkn','_colorAssignService','addClipboardHook','SNAPSHOT_INVALID_SNAPSHOT','collaboration.closeRoom','MessageType','Workbook','NOT_FOUND','focused$','getLocalCacheKey','m2Prime','history','lineTo','_entities','handleMoveRange','BuiltInUIPart','_send','_updateURLWithCurrentState','addObjects','HEADER_MENU','onTransformChange$','none','UniverIcon','activeSheet$','WECHAT_HAS_BEEN_BOUND','roomMembers$','getMember','_cachedData','createSocket','_setupSubUnitSync','_backgroundColor','getSheetBySheetId','OFFLINE','className','LOGIN_FAILED','memberID','LICENSE_MAX_UNITS_EXCEEDED','3583482KyyKdr','unitId','url(#on-line-icon_clip0_910_349)','trim','getCurrentUnitForType','CommandType','0\x200\x2016\x2016','range','addEventListener','@univerjs/network','Injector','_getScale','setShapeProps','VIEW_MAIN','PENDING','fillRule','3141XqDXpO','ICommandService','TOO_MANY_REQUESTS','all','filter','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_drawRectRange','disposeUnit','getParam','RichTextEditingMutation','values','getCollabCursors$','MOBILE_VERIFY_CODE_MISMATCH','Plugin','_cursors','ILogService','transformByState','data','_revisionService','Inject','loadUnit','FromArray','INVALID_ARGUMENT','ALREADY_EXISTS','disposeWithMe','onPointerMove$','LOCAL_CACHE_INTERVAL_KEY','_handleLeaveEvent','_anchorDot','purple.300','ITransformService','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','UNAUTHENTICATED','transformMutationsWithChangeset','_handleEvent','assignAColorForMemberID','permission.content','sheetId','blue.400','show','fillText','IRemoteInstanceService','asObservable','currentColor','endRow','_updateSubUnitFromURLParams','SOCKET_FAILED','useObservable','CHANGESET_REVISION_CONFILICT','getStateCache','collabStatus.offline','onPointerLeave$','_initEvent','handleInsertRangeMoveDown','string','executeCommand','row','syncEditingCollabCursor','use','then','editingUnit','_labelPosition','_memberService','forEach','_initStatusComponent','_initEntityListener','exhaustSavingTask','hide','setItem','MemberService','SetSelectionsOperation','path','subscribeEvent','_initDependencies','_textBubble','getRenderById','getValue','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','transform','jsx','on-line-icon_clip0_910_349','findNodePositionByCharIndex','Vector2','selection','getConfig','_document','_assignedColors','location','YUUMI_AI_RUN_FAILED','_instanceService','symbol','url(#$1','pushState','SetTextSelectionsOperation','@univerjs/ui','collabStatus.notCollab','displayName','mutations','push','debounce','handleInsertRow','getUnitId','getMergeData','combineLatest','fromEventSubject','send','DeleteRangeMoveUpCommandId','IURLService','_univerInstanceService','Rectangle','_syncEditingCollabCursorService','jsxs','_online','forwardRef','ISnapshotServerService','text','_context','YUUMI_NO_CUBOID_FOR_QUESTION','_drawAnchor','COMPLETION_FINISHED','92012YcKbTc','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','session.collaboration-timeout','_init','_scene','_localeService','hasOwnProperty','UnitStatus','session.will-retry','RefRangeService','split','_config','parse','replaceDocRanges','toDisposable','searchParams','_uiPartsService','HTTPService','debug','getSkeleton','_render','onCommandExecuted','selections','LICENSE_IMPORT_SIZE_EXCEEDED','saveTaskMap','href','Shape','entries','DependentOn','LICENSE_DISTRO_REJECTED','width','subscribe','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','setParam','post','status$','MOBILE_HAS_BEEN_BOUND','BehaviorSubject','UNDEFINED','concat','isTransformMutationsWithChangesetSuccess','DocSkeletonManagerService','length','saveImage','_setupBeforeClosingHandler','getUnhiddenWorksheets','setStateCache','_initCommandExecutedListener','prototype','newValue','docStateChange$','21bYPVqY','_notificationService','defineProperty','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Warning','DEFAULT_WS_SESSION_TICKET_URL','runId','_startDocCollabCursor','Disposable','_transformUndoRedoStack','_collabCursorController','UNRECOGNIZED','@univerjs/core','generateRandomId','distinctUntilChanged','object','_imageIoService','permission.title','1rdVSYL','_scheduleSaving','PY_RUNTIME_SCRIPT_ERROR','_lastPointer','svg','RxDisposable','_cursorShapes','ILocalCacheService','_docSyncEditingCollabCursorService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','moveTo','onMouseMove','_docTransformSelectionsService','getUniverSheetInstance','CONFLICT','closePath','UNIVER_DOC','ENSURE_SNAPSHOT_EXECUTION','USER_NOT_INVITED_CODE','type','Failed','IRenderManagerService','@univerjs/docs','_renderManagerService','SUBMIT_CHANGESET_TIMEOUT','evenodd','pipe','_doCreateSocket','mapTo','clearTimeout','UniverCore','getCurrentRevOfUnit','PERMISSION_DENIED','error','size','some','defs','OffLineIcon','DocSelectionManagerService','fillStyle','runRefRangeMutations','IConfigService','DeleteRangeMoveLeftCommandId','fill','Tools','includes','random','source','restore','registerBeforeClose','ILocalStorageService','_roomMembers$','37022095kHZTaT','createInstance','_toggleOnline','children','EMAIL_HAS_BEEN_BOUND','sessionTicket','ticket','_initResize','drawWith','onStarting','_collabCursorState$','DocCollaborationEntity','round','_registerDependencies','collabStatus.synced','min','addObject','537154StiIGV','_handleJoinEvent','DocIMEInputManagerService','init','Rect','off-line-icon_clip0_910_343','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','unitID','throttleTime','UniverCollaborationClientUIPlugin','clsx','INVITE_CODE_HAS_BEEN_UES','_messageService','redoState','getFocusedUnit','FETCH_MISS','height','@univerjs/drawing','INTERNAL_ERROR','InsertRangeMoveDownCommandId','UniverInstanceType','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','IImageIoService','set','_entityInit$','_shapes','_hideTimer','RemoteUniscriptService','unsubscribe','_collabSessionService','entityInit$','actions','_id','operators','invokeId','_getSaveTimeout','Unknown\x20user','_collaborationUIEventService','collaboration.single-unit.warning','Error','_color','getTypeOfUnitDisposed$','transformRemoteChangeset','getVpScrollXYInfoByPosToVp','_getSheetObject','unit','YUUMI_CONNECTOR_URL_NOT_FOUND','params','roomMembers','EMAIL_VERIFY_CODE_MISMATCH','CONNECTOR_DATA_TOO_LARGE','_themeService','UniverProCollaborationClientUi','COLORS','BrowserCollaborationSocketService','sessionStatus$','rxjs','_localCacheService','deepClone','ThemeService','application/json','univerjs-icon\x20univerjs-icon-','_disabled','DesktopCollaborationStatusDisplayController','colorChannel1','SessionStatus','urlChange$','rgba(255,\x20255,\x20255,\x200.01)','InsertColCommandId','UniverDrawing','CollaborationDataLoaderController','whenReady','_hovered','hovered','useCallback','key','YUUMI_URL_COL_OUT_OF_RANGE','xlink:href','handleInsertCol','RemoveRowCommandId','runOnServer','_startSheetCollabCursor','undoState','getSheetId','from','_beforeCloseService','body','Subject','WebURLService','_removeClearOtherTimer','APPLY_REVISION_CONFILICT','CollaborationSocketService','SOCKET_FAILED_RETRY','handleDeleteRangeMoveLeft','connectInjector','26690nYuluZ','complete','DocStateChangeManagerService','_urlService','_refreshCollabCursors','@univerjs/docs-ui','IBeforeCloseService','setInterval','getMemberID','disableLocalCache','univer-flex\x20univer-items-center','_docTransformStateCacheService','red.300','collab-text-range-','dispose$','UniverSheets','SHEET_VIEWPORT_KEY','currentTheme$','on-line-icon','OTHER_CLIENTS_EDITING','NOT_COLLAB','_configService','m1Prime','getUndoRedoMutationParamsCache','transformSelections','touchDependencies','InsertRangeMoveRightCommandId','getActiveRange','shareReplay','769068IUWYGp','assign','UniverRpc','react/jsx-runtime','APPLY_DUPLICATED','doc.mutation.rich-text-editing','takeUntil','origin','...','clipPath'];_0x4971=function(){return _0x5be0eb;};return _0x4971();}function _0x11ce(_0x28f7e6,_0x26e257){const _0x497116=_0x4971();return _0x11ce=function(_0x11ce75,_0x3c17d2){_0x11ce75=_0x11ce75-0x158;let _0x442f07=_0x497116[_0x11ce75];return _0x442f07;},_0x11ce(_0x28f7e6,_0x26e257);}(function(_0x4ad9bb,_0x14af47){const _0x2bfc90=_0x11ce,_0x32beaa=_0x4ad9bb();while(!![]){try{const _0x60764b=-parseInt(_0x2bfc90(0x176))/0x1*(parseInt(_0x2bfc90(0x1bb))/0x2)+-parseInt(_0x2bfc90(0x237))/0x3+-parseInt(_0x2bfc90(0x3cd))/0x4*(parseInt(_0x2bfc90(0x247))/0x5)+-parseInt(_0x2bfc90(0x345))/0x6+parseInt(_0x2bfc90(0x164))/0x7*(-parseInt(_0x2bfc90(0x320))/0x8)+-parseInt(_0x2bfc90(0x355))/0x9*(-parseInt(_0x2bfc90(0x21a))/0xa)+parseInt(_0x2bfc90(0x1aa))/0xb;if(_0x60764b===_0x14af47)break;else _0x32beaa['push'](_0x32beaa['shift']());}catch(_0x3b0f00){_0x32beaa['push'](_0x32beaa['shift']());}}}(_0x4971,0xe1ecd),function(_0x126a1d,_0x3398bb){const _0x1e3826=_0x11ce;typeof exports==_0x1e3826(0x173)&&typeof module<'u'?_0x3398bb(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==_0x1e3826(0x26c)&&define['amd']?define([_0x1e3826(0x246),_0x1e3826(0x23a),'@univerjs-pro/collaboration-client',_0x1e3826(0x170),_0x1e3826(0x3b3),_0x1e3826(0x1f3),_0x1e3826(0x2f4),_0x1e3826(0x2ef),_0x1e3826(0x297),_0x1e3826(0x2b8),'@univerjs/engine-render',_0x1e3826(0x34e),_0x1e3826(0x21f),_0x1e3826(0x1cc),'@univerjs-pro/collaboration',_0x1e3826(0x18c),_0x1e3826(0x2ec),'rxjs/operators','@univerjs/sheets-ui'],_0x3398bb):(_0x126a1d=typeof globalThis<'u'?globalThis:_0x126a1d||self,_0x3398bb(_0x126a1d[_0x1e3826(0x1ef)]={},_0x126a1d['React'],_0x126a1d[_0x1e3826(0x26a)],_0x126a1d[_0x1e3826(0x194)],_0x126a1d[_0x1e3826(0x249)],_0x126a1d['rxjs'],_0x126a1d[_0x1e3826(0x299)],_0x126a1d[_0x1e3826(0x2af)],_0x126a1d[_0x1e3826(0x239)],_0x126a1d[_0x1e3826(0x229)],_0x126a1d['UniverEngineRender'],_0x126a1d['UniverNetwork'],_0x126a1d[_0x1e3826(0x2a8)],_0x126a1d[_0x1e3826(0x200)],_0x126a1d[_0x1e3826(0x2fc)],_0x126a1d['UniverDocs'],_0x126a1d['UniverEngineFormula'],_0x126a1d[_0x1e3826(0x1f3)][_0x1e3826(0x1dc)],_0x126a1d['UniverSheetsUi']));}(this,function(_0x3319b6,_0x5adaa5,_0x1e832f,_0x7c0f96,_0x2beebe,_0x199169,_0x316738,_0x375427,_0x41a42f,_0x3d9d80,_0x1f8af0,_0xc0d5f9,_0x4f2947,_0x3c2c44,_0x53a039,_0x4b79f4,_0xd7f583,_0x3a22b0,_0x2b998e){'use strict';const _0x57d1dc=_0x11ce;var _0x4cad0b=Object[_0x57d1dc(0x166)],_0x46a7dd=(_0x4a8d2d,_0x121e33,_0x482541)=>_0x121e33 in _0x4a8d2d?_0x4cad0b(_0x4a8d2d,_0x121e33,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x482541}):_0x4a8d2d[_0x121e33]=_0x482541,_0x58bc7c=(_0x302ecb,_0x39dcfc,_0x1cdfb7)=>_0x46a7dd(_0x302ecb,typeof _0x39dcfc!=_0x57d1dc(0x3af)?_0x39dcfc+'':_0x39dcfc,_0x1cdfb7),_0x21b941=function(){const _0x39f558=_0x57d1dc;return _0x21b941=Object[_0x39f558(0x238)]||function(_0x57be75){const _0x5751f0=_0x39f558;for(var _0x25d07f,_0x85cb0d=0x1,_0x200cf4=arguments['length'];_0x85cb0d<_0x200cf4;_0x85cb0d++){_0x25d07f=arguments[_0x85cb0d];for(var _0x32ba51 in _0x25d07f)Object[_0x5751f0(0x161)][_0x5751f0(0x3d3)][_0x5751f0(0x250)](_0x25d07f,_0x32ba51)&&(_0x57be75[_0x32ba51]=_0x25d07f[_0x32ba51]);}return _0x57be75;},_0x21b941[_0x39f558(0x2b5)](this,arguments);},_0x21fe4a=function(_0x19d3cd,_0x1a192f){const _0x383db6=_0x57d1dc;var _0x3f46b7={};for(var _0x1fc150 in _0x19d3cd)Object[_0x383db6(0x161)][_0x383db6(0x3d3)][_0x383db6(0x250)](_0x19d3cd,_0x1fc150)&&_0x1a192f[_0x383db6(0x2da)](_0x1fc150)<0x0&&(_0x3f46b7[_0x1fc150]=_0x19d3cd[_0x1fc150]);if(_0x19d3cd!=null&&typeof Object[_0x383db6(0x279)]=='function'){for(var _0x1961e5=0x0,_0x1fc150=Object[_0x383db6(0x279)](_0x19d3cd);_0x1961e5<_0x1fc150[_0x383db6(0x15b)];_0x1961e5++)_0x1a192f['indexOf'](_0x1fc150[_0x1961e5])<0x0&&Object[_0x383db6(0x161)][_0x383db6(0x318)][_0x383db6(0x250)](_0x19d3cd,_0x1fc150[_0x1961e5])&&(_0x3f46b7[_0x1fc150[_0x1961e5]]=_0x19d3cd[_0x1fc150[_0x1961e5]]);}return _0x3f46b7;},_0x4ca86c=_0x375427[_0x57d1dc(0x3c6)](function(_0x3a649a,_0x55b89e){const _0x1fa2c8=_0x57d1dc;var _0x201df6=_0x3a649a[_0x1fa2c8(0x276)],_0x231c8a=_0x3a649a['id'],_0x4eb123=_0x3a649a[_0x1fa2c8(0x341)],_0x573778=_0x3a649a[_0x1fa2c8(0x274)],_0x1a4427=_0x21fe4a(_0x3a649a,[_0x1fa2c8(0x276),'id',_0x1fa2c8(0x341),'extend']),_0x35679c=_0x1fa2c8(0x1f8)[_0x1fa2c8(0x158)](_0x231c8a,'\x20')[_0x1fa2c8(0x158)](_0x4eb123||'')[_0x1fa2c8(0x348)](),_0x233ad2=_0x375427[_0x1fa2c8(0x2be)]('_'['concat'](_0x1f26b1()));return _0x42b9b4(_0x201df6,''[_0x1fa2c8(0x158)](_0x231c8a),{'defIds':_0x201df6[_0x1fa2c8(0x27e)],'idSuffix':_0x233ad2[_0x1fa2c8(0x2a9)]},_0x21b941({'ref':_0x55b89e,'className':_0x35679c},_0x1a4427),_0x573778);});function _0x42b9b4(_0x50eb75,_0x492017,_0xf96e91,_0x2c191f,_0x532a3e){const _0x1d5b23=_0x57d1dc;return _0x375427[_0x1d5b23(0x2f3)](_0x50eb75[_0x1d5b23(0x28c)],_0x21b941(_0x21b941({'key':_0x492017},_0x4eef26(_0x50eb75,_0xf96e91,_0x532a3e)),_0x2c191f),(_0x4bfac5(_0x50eb75,_0xf96e91)['children']||[])[_0x1d5b23(0x2c4)](function(_0x36b79f,_0x1cc45f){const _0x4218f0=_0x1d5b23;return _0x42b9b4(_0x36b79f,''[_0x4218f0(0x158)](_0x492017,'-')[_0x4218f0(0x158)](_0x50eb75[_0x4218f0(0x28c)],'-')['concat'](_0x1cc45f),_0xf96e91,void 0x0,_0x532a3e);}));}function _0x4eef26(_0x4e0de4,_0x5364b7,_0x560c8d){const _0x419166=_0x57d1dc;var _0x1e5c49=_0x21b941({},_0x4e0de4[_0x419166(0x311)]);_0x560c8d!=null&&_0x560c8d[_0x419166(0x1fb)]&&_0x1e5c49[_0x419166(0x1a1)]==='colorChannel1'&&(_0x1e5c49['fill']=_0x560c8d['colorChannel1']),_0x4e0de4[_0x419166(0x28c)]==='mask'&&_0x1e5c49['id']&&(_0x1e5c49['id']=_0x1e5c49['id']+_0x5364b7[_0x419166(0x28e)]),Object[_0x419166(0x3e8)](_0x1e5c49)[_0x419166(0x394)](function(_0x427047){var _0x20b382=_0x427047[0x0],_0xd3f3fb=_0x427047[0x1];_0x20b382==='mask'&&typeof _0xd3f3fb=='string'&&(_0x1e5c49[_0x20b382]=_0xd3f3fb['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x5364b7['idSuffix'],')')));});var _0x11af8a=_0x5364b7[_0x419166(0x27e)];return!_0x11af8a||_0x11af8a[_0x419166(0x15b)]===0x0||(_0x4e0de4[_0x419166(0x28c)]===_0x419166(0x38f)&&_0x1e5c49['xlink:href']&&(_0x1e5c49['xlink:href']=_0x1e5c49[_0x419166(0x208)]+_0x5364b7[_0x419166(0x28e)]),Object[_0x419166(0x3e8)](_0x1e5c49)['forEach'](function(_0xed1b3b){const _0xccc3e8=_0x419166;var _0x3ff3bf=_0xed1b3b[0x0],_0x4404b4=_0xed1b3b[0x1];typeof _0x4404b4==_0xccc3e8(0x38b)&&(_0x1e5c49[_0x3ff3bf]=_0x4404b4['replace'](/url\(#(.*)\)/,_0xccc3e8(0x3b0)['concat'](_0x5364b7[_0xccc3e8(0x28e)],')')));})),_0x1e5c49;}function _0x4bfac5(_0x32c1a7,_0x5bf45a){const _0x50b242=_0x57d1dc;var _0x280f49,_0x3004a0=_0x5bf45a['defIds'];return!_0x3004a0||_0x3004a0[_0x50b242(0x15b)]===0x0?_0x32c1a7:_0x32c1a7[_0x50b242(0x28c)]==='defs'&&(!((_0x280f49=_0x32c1a7['children'])===null||_0x280f49===void 0x0)&&_0x280f49[_0x50b242(0x15b)])?_0x21b941(_0x21b941({},_0x32c1a7),{'children':_0x32c1a7[_0x50b242(0x1ad)][_0x50b242(0x2c4)](function(_0x297e6a){const _0x2c4e1b=_0x50b242;return typeof _0x297e6a[_0x2c4e1b(0x311)]['id']==_0x2c4e1b(0x38b)&&_0x3004a0&&_0x3004a0['includes'](_0x297e6a[_0x2c4e1b(0x311)]['id'])?_0x21b941(_0x21b941({},_0x297e6a),{'attrs':_0x21b941(_0x21b941({},_0x297e6a['attrs']),{'id':_0x297e6a[_0x2c4e1b(0x311)]['id']+_0x5bf45a[_0x2c4e1b(0x28e)]})}):_0x297e6a;})}):_0x32c1a7;}function _0x1f26b1(){const _0x1aef4b=_0x57d1dc;return Math[_0x1aef4b(0x1a4)]()[_0x1aef4b(0x25a)](0x24)[_0x1aef4b(0x301)](0x2,0x8);}_0x4ca86c[_0x57d1dc(0x3b5)]=_0x57d1dc(0x336);var _0x43bba4={'tag':_0x57d1dc(0x17a),'attrs':{'xmlns':_0x57d1dc(0x261),'fill':_0x57d1dc(0x335),'viewBox':_0x57d1dc(0x34b),'width':'1em','height':_0x57d1dc(0x29c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x57d1dc(0x380),'d':_0x57d1dc(0x374),'strokeLinecap':_0x57d1dc(0x1b6),'strokeLinejoin':_0x57d1dc(0x1b6),'strokeWidth':1.2}}]},{'tag':_0x57d1dc(0x19a),'attrs':{},'children':[{'tag':_0x57d1dc(0x240),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x57d1dc(0x39c),'attrs':{'fill':_0x57d1dc(0x306),'d':_0x57d1dc(0x2aa)}}]}]}],'defIds':[_0x57d1dc(0x1c0)]},_0x41a554=_0x375427['forwardRef'](function(_0x27ff49,_0x41a455){const _0x3ef6e2=_0x57d1dc;return _0x375427[_0x3ef6e2(0x2f3)](_0x4ca86c,Object['assign']({},_0x27ff49,{'id':'off-line-icon','ref':_0x41a455,'icon':_0x43bba4}));});_0x41a554['displayName']=_0x57d1dc(0x19b);var _0x4897ce={'tag':_0x57d1dc(0x17a),'attrs':{'xmlns':_0x57d1dc(0x261),'fill':_0x57d1dc(0x335),'viewBox':'0\x200\x2017\x2016','width':_0x57d1dc(0x29c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x57d1dc(0x347)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x57d1dc(0x3ce),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x57d1dc(0x3a5)},'children':[{'tag':_0x57d1dc(0x39c),'attrs':{'fill':_0x57d1dc(0x306),'d':'M0\x200H16V16H0z','transform':_0x57d1dc(0x286)}}]}]}],'defIds':[_0x57d1dc(0x3a5)]},_0x1969ca=_0x375427[_0x57d1dc(0x3c6)](function(_0x2f79b4,_0x5b9f10){const _0x449f36=_0x57d1dc;return _0x375427['createElement'](_0x4ca86c,Object[_0x449f36(0x238)]({},_0x2f79b4,{'id':_0x449f36(0x22c),'ref':_0x5b9f10,'icon':_0x4897ce}));});_0x1969ca[_0x57d1dc(0x3b5)]='OnLineIcon';function _0x3174f7(_0x30e679){const _0x38c192=_0x57d1dc;switch(_0x30e679){case _0x1e832f['CollaborationStatus']['OFFLINE']:return _0x38c192(0x387);case _0x1e832f['CollaborationStatus']['CONFLICT']:return'collabStatus.conflict';case _0x1e832f[_0x38c192(0x252)][_0x38c192(0x1ca)]:return _0x38c192(0x2d6);case _0x1e832f[_0x38c192(0x252)]['NOT_COLLAB']:return _0x38c192(0x3b4);case _0x1e832f['CollaborationStatus']['AWAITING']:case _0x1e832f[_0x38c192(0x252)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x1e832f[_0x38c192(0x252)]['SYNCED']:case _0x1e832f[_0x38c192(0x252)][_0x38c192(0x353)]:return _0x38c192(0x1b8);}}function _0x8daeb9(_0x324ed3){const _0x22b34a=_0x57d1dc,{status$:_0x35b9ed}=_0x324ed3,_0x498eb3=_0x2beebe[_0x22b34a(0x384)](_0x35b9ed,_0x1e832f[_0x22b34a(0x252)][_0x22b34a(0x22e)]),_0x5b7e8b=_0x2beebe[_0x22b34a(0x2b1)](_0x7c0f96[_0x22b34a(0x244)]),_0xec8ef2=_0x2beebe['useDependency'](_0x1e832f[_0x22b34a(0x283)]),_0x3f709c=_0x498eb3!==_0x1e832f[_0x22b34a(0x252)][_0x22b34a(0x340)],_0x223e16=_0x5b7e8b['t'](_0x3174f7(_0x498eb3)),_0x3fd96e=_0x3f709c?_0x5adaa5[_0x22b34a(0x3a4)](_0x1969ca,{}):_0x5adaa5[_0x22b34a(0x3a4)](_0x41a554,{}),_0x52443a=_0x375427[_0x22b34a(0x205)](()=>{_0x3f709c||_0xec8ef2['reconnect']();},[_0x3f709c,_0xec8ef2]);function _0x1b8e5f(){const _0x297722=_0x22b34a;return _0x5adaa5[_0x297722(0x3c4)](_0x297722(0x287),{'className':_0x297722(0x224),'onClick':_0x52443a,'children':[_0x5adaa5[_0x297722(0x3a4)](_0x297722(0x287),{'className':_0x316738[_0x297722(0x1c5)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x3f709c,'univer-text-red-500':!_0x3f709c}),'children':_0x3fd96e}),_0x5adaa5[_0x297722(0x3a4)](_0x297722(0x287),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x223e16})]});}return _0x3f709c?_0x1b8e5f():_0x5adaa5[_0x22b34a(0x3a4)](_0x316738[_0x22b34a(0x26b)],{'title':_0x5b7e8b['t']('collab-client.tooltip.reconnect'),'children':_0x1b8e5f()});}var _0x56d668=Object[_0x57d1dc(0x241)],_0x2ef46c=(_0x3e2039,_0xc0d0f7,_0x26abcd,_0x246db2)=>{for(var _0x4aa223=_0x246db2>0x1?void 0x0:_0x246db2?_0x56d668(_0xc0d0f7,_0x26abcd):_0xc0d0f7,_0x26814d=_0x3e2039['length']-0x1,_0x3fcf4;_0x26814d>=0x0;_0x26814d--)(_0x3fcf4=_0x3e2039[_0x26814d])&&(_0x4aa223=_0x3fcf4(_0x4aa223)||_0x4aa223);return _0x4aa223;},_0x2b89a2=(_0x3496e1,_0x30e01b)=>(_0x36c6b5,_0xaf5831)=>_0x30e01b(_0x36c6b5,_0xaf5831,_0x3496e1);_0x3319b6[_0x57d1dc(0x1fa)]=class extends _0x7c0f96[_0x57d1dc(0x16c)]{constructor(_0x35b43b,_0x5253ff,_0x4bd341,_0x35b33e){const _0x47a588=_0x57d1dc;super(),_0x58bc7c(this,_0x47a588(0x2cb),new _0x199169[(_0x47a588(0x3f2))](_0x1e832f[_0x47a588(0x252)][_0x47a588(0x22e)])),(this[_0x47a588(0x3c1)]=_0x35b43b,this[_0x47a588(0x272)]=_0x5253ff,this[_0x47a588(0x263)]=_0x4bd341,this[_0x47a588(0x3dd)]=_0x35b33e,this[_0x47a588(0x395)](),this[_0x47a588(0x2f7)]());}[_0x57d1dc(0x2f7)](){const _0x2d542e=_0x57d1dc;this['disposeWithMe'](this[_0x2d542e(0x3c1)][_0x2d542e(0x328)][_0x2d542e(0x190)](_0x199169[_0x2d542e(0x2b9)](()=>{const _0x430462=_0x2d542e,_0xa485f4=this[_0x430462(0x3c1)][_0x430462(0x1c9)]();return _0xa485f4?this['_collaborationController'][_0x430462(0x281)](_0xa485f4[_0x430462(0x3ba)]()):_0x199169['of'](null);}),_0x199169[_0x2d542e(0x2b9)](_0x35c997=>_0x35c997?_0x35c997[_0x2d542e(0x3f0)]:_0x199169['of'](_0x1e832f[_0x2d542e(0x252)][_0x2d542e(0x22e)])))[_0x2d542e(0x3ec)](_0x477309=>{const _0x40cd37=_0x2d542e;this[_0x40cd37(0x2cb)][_0x40cd37(0x2e6)](_0x477309);}));}[_0x57d1dc(0x395)](){const _0xd18ab6=_0x57d1dc;this[_0xd18ab6(0x36d)](this[_0xd18ab6(0x3dd)]['registerComponent'](_0x2beebe[_0xd18ab6(0x32f)][_0xd18ab6(0x333)],()=>_0x2beebe[_0xd18ab6(0x219)](_0x48afb4({'status$':this[_0xd18ab6(0x2cb)]['asObservable']()}),this[_0xd18ab6(0x272)])));}},_0x3319b6[_0x57d1dc(0x1fa)]=_0x2ef46c([_0x2b89a2(0x0,_0x7c0f96[_0x57d1dc(0x2e4)]),_0x2b89a2(0x1,_0x7c0f96[_0x57d1dc(0x368)](_0x7c0f96[_0x57d1dc(0x34f)])),_0x2b89a2(0x2,_0x7c0f96[_0x57d1dc(0x368)](_0x1e832f[_0x57d1dc(0x2c5)])),_0x2b89a2(0x3,_0x2beebe[_0x57d1dc(0x2d3)])],_0x3319b6[_0x57d1dc(0x1fa)]);function _0x48afb4(_0x501342){const {status$:_0x39b9e8}=_0x501342;return function(){const _0x12b260=_0x11ce;return _0x5adaa5[_0x12b260(0x3a4)](_0x8daeb9,{'status$':_0x39b9e8});};}const _0x47f656=_0x7c0f96['createIdentifier']('uni.network.url-service');var _0x4daf3e=Object[_0x57d1dc(0x241)],_0x1e56bb=(_0x5b2f36,_0x4b798c,_0x550d79,_0x304413)=>{const _0x31bf0d=_0x57d1dc;for(var _0x101366=_0x304413>0x1?void 0x0:_0x304413?_0x4daf3e(_0x4b798c,_0x550d79):_0x4b798c,_0x28f894=_0x5b2f36[_0x31bf0d(0x15b)]-0x1,_0x47544e;_0x28f894>=0x0;_0x28f894--)(_0x47544e=_0x5b2f36[_0x28f894])&&(_0x101366=_0x47544e(_0x101366)||_0x101366);return _0x101366;},_0x43014f=(_0x4d9267,_0x45ae17)=>(_0x1ac486,_0x4fede8)=>_0x45ae17(_0x1ac486,_0x4fede8,_0x4d9267);_0x3319b6[_0x57d1dc(0x201)]=class extends _0x7c0f96[_0x57d1dc(0x17b)]{constructor(_0x56ae42,_0x44354e,_0x3954dd,_0x19e2f3,_0xaa8c1f){const _0x5d28fe=_0x57d1dc;super(),this[_0x5d28fe(0x21d)]=_0x56ae42,this[_0x5d28fe(0x289)]=_0x44354e,this[_0x5d28fe(0x312)]=_0x3954dd,this[_0x5d28fe(0x293)]=_0x19e2f3,_0xaa8c1f?_0xaa8c1f==null||_0xaa8c1f[_0x5d28fe(0x202)]()[_0x5d28fe(0x390)](()=>this[_0x5d28fe(0x3d0)]()):(this[_0x5d28fe(0x289)][_0x5d28fe(0x3df)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x5d28fe(0x3d0)]());}async[_0x57d1dc(0x3d0)](){const _0x2111e6=_0x57d1dc,_0xe85cca=this[_0x2111e6(0x21d)]['getParam'](_0x2111e6(0x1e8)),_0x82c05=this[_0x2111e6(0x21d)]['getParam'](_0x2111e6(0x189)),_0x2adb41=this[_0x2111e6(0x21d)][_0x2111e6(0x35d)](_0x2111e6(0x2c1));if(!_0xe85cca||!_0x82c05){this['_logService'][_0x2111e6(0x3df)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x450be5=await this[_0x2111e6(0x293)][_0x2111e6(0x369)](_0xe85cca,Number(_0x82c05),_0x2adb41);_0x450be5&&_0x450be5 instanceof _0x7c0f96[_0x2111e6(0x326)]&&this['_setupSubUnitSync'](_0x450be5);}async[_0x57d1dc(0x33d)](_0x2567ca){const _0x2e0506=_0x57d1dc;await this[_0x2e0506(0x382)](_0x2567ca),_0x2567ca[_0x2e0506(0x337)][_0x2e0506(0x190)](_0x199169['takeUntil'](this[_0x2e0506(0x228)]))['subscribe'](_0x20a60f=>{const _0x27bf72=_0x2e0506;_0x20a60f&&this[_0x27bf72(0x331)](_0x20a60f);}),this[_0x2e0506(0x21d)]['urlChange$']['pipe'](_0x199169[_0x2e0506(0x23d)](this[_0x2e0506(0x228)]))['subscribe'](()=>this[_0x2e0506(0x382)](_0x2567ca));}[_0x57d1dc(0x331)](_0x4ddac8,_0xe5b9e1=!0x1){const _0x151dbd=_0x57d1dc,_0x291abe=this['_urlService'][_0x151dbd(0x35d)]('subunit');_0x4ddac8[_0x151dbd(0x20e)]()!==_0x291abe&&this[_0x151dbd(0x21d)]['setParam'](_0x151dbd(0x2c1),_0x4ddac8[_0x151dbd(0x20e)](),_0xe5b9e1);}async['_updateSubUnitFromURLParams'](_0x5e1440){const _0x35300d=_0x57d1dc;var _0x1132e2;const _0x399c07=this['_urlService'][_0x35300d(0x35d)](_0x35300d(0x2c1));if(!_0x399c07||!_0x5e1440[_0x35300d(0x33f)](_0x399c07)){const _0xb7e16b=_0x5e1440[_0x35300d(0x15e)]()[0x0],_0x56b937=_0x5e1440[_0x35300d(0x33f)](_0xb7e16b);if(!_0x56b937)return;this[_0x35300d(0x331)](_0x56b937,!0x0),await this[_0x35300d(0x312)][_0x35300d(0x38c)](_0x3d9d80[_0x35300d(0x303)]['id'],{'unitId':_0x5e1440[_0x35300d(0x3ba)](),'subUnitId':_0xb7e16b});return;}((_0x1132e2=_0x5e1440[_0x35300d(0x2ad)]())==null?void 0x0:_0x1132e2[_0x35300d(0x20e)]())!==_0x399c07&&await this[_0x35300d(0x312)]['executeCommand'](_0x3d9d80[_0x35300d(0x303)]['id'],{'unitId':_0x5e1440[_0x35300d(0x3ba)](),'subUnitId':_0x399c07});}},_0x3319b6[_0x57d1dc(0x201)]=_0x1e56bb([_0x43014f(0x0,_0x47f656),_0x43014f(0x1,_0x7c0f96[_0x57d1dc(0x364)]),_0x43014f(0x2,_0x7c0f96[_0x57d1dc(0x356)]),_0x43014f(0x3,_0x7c0f96[_0x57d1dc(0x368)](_0x1e832f['DataLoaderService'])),_0x43014f(0x4,_0x7c0f96[_0x57d1dc(0x2e1)](_0x41a42f[_0x57d1dc(0x37e)]))],_0x3319b6[_0x57d1dc(0x201)]);var _0x3d697b=Object[_0x57d1dc(0x241)],_0x3b26d2=(_0x5a549a,_0x1cd552,_0x4000e0,_0x5c7076)=>{const _0x7cb27=_0x57d1dc;for(var _0x2883b8=_0x5c7076>0x1?void 0x0:_0x5c7076?_0x3d697b(_0x1cd552,_0x4000e0):_0x1cd552,_0x49870b=_0x5a549a[_0x7cb27(0x15b)]-0x1,_0x481475;_0x49870b>=0x0;_0x49870b--)(_0x481475=_0x5a549a[_0x49870b])&&(_0x2883b8=_0x481475(_0x2883b8)||_0x2883b8);return _0x2883b8;},_0x390302=(_0x428cd2,_0x13112e)=>(_0x303b0b,_0x8a0198)=>_0x13112e(_0x303b0b,_0x8a0198,_0x428cd2);let _0x49c704=class extends _0x7c0f96[_0x57d1dc(0x17b)]{constructor(_0x59cd49,_0x273a9b){const _0x16df7c=_0x57d1dc;super(),this['_docClipboardService']=_0x59cd49,this[_0x16df7c(0x174)]=_0x273a9b,this[_0x16df7c(0x3d0)]();}[_0x57d1dc(0x3d0)](){const _0x23cd6d=_0x57d1dc,_0x41041=this;this[_0x23cd6d(0x36d)](this[_0x23cd6d(0x28a)][_0x23cd6d(0x322)]({'onBeforePasteImage':async _0x21d71f=>{const _0xcdbc87=_0x23cd6d,_0x51529c=await _0x41041['_imageIoService'][_0xcdbc87(0x15c)](_0x21d71f);return _0x51529c?{'source':_0x51529c[_0xcdbc87(0x1a5)],'imageSourceType':_0x51529c[_0xcdbc87(0x24a)]}:null;}}));}};_0x49c704=_0x3b26d2([_0x390302(0x0,_0x4f2947['IDocClipboardService']),_0x390302(0x1,_0x3c2c44[_0x57d1dc(0x1d1)])],_0x49c704);const _0x37d017=[_0x57d1dc(0x372),_0x57d1dc(0x2f9),'green.600',_0x57d1dc(0x226),_0x57d1dc(0x37b),'yellow.400'];class _0x380a47 extends _0x7c0f96[_0x57d1dc(0x16c)]{constructor(){const _0x4cd464=_0x57d1dc;super(...arguments),_0x58bc7c(this,_0x4cd464(0x3ab),new Map()),_0x58bc7c(this,_0x4cd464(0x308),0x0);}['assignAColorForMemberID'](_0x2451d3){const _0x12c753=_0x57d1dc;if(this['_assignedColors'][_0x12c753(0x2e8)](_0x2451d3))return this[_0x12c753(0x3ab)][_0x12c753(0x2f5)](_0x2451d3);const _0x1c0695=_0x37d017[this['_colorIndex']];return this['_colorIndex']=(this[_0x12c753(0x308)]+0x1)%_0x37d017[_0x12c753(0x15b)],this['_assignedColors'][_0x12c753(0x1d2)](_0x2451d3,_0x1c0695),_0x1c0695;}}function _0x48414f(_0x26729a){const _0x175398=_0x57d1dc;let _0x5dd943='';for(const _0x580e8d of _0x26729a){const {startOffset:_0x3653c9,endOffset:_0x1b8826,isActive:_0x4142d8,rangeType:_0x14930d,segmentId:_0x554db4,segmentPage:_0x567357}=_0x580e8d;_0x5dd943[_0x175398(0x15b)]&&(_0x5dd943+=','),_0x5dd943+=_0x3653c9+':'+_0x1b8826+':'+(_0x4142d8?'1':'0')+':'+_0x14930d+':'+_0x554db4+':'+_0x567357;}return _0x5dd943;}function _0x242115(_0x531c6d){const _0x4aa362=_0x57d1dc,_0x67027b=_0x531c6d[_0x4aa362(0x3d7)](','),_0x34fefa=[];for(const _0x1d7bb1 of _0x67027b){const [_0x31ffaa,_0x29a165,_0x53d20a,_0x424da3,_0x594228,_0x571834]=_0x1d7bb1[_0x4aa362(0x3d7)](':');_0x34fefa[_0x4aa362(0x3b7)]({'startOffset':Number(_0x31ffaa),'endOffset':Number(_0x29a165),'collapsed':_0x31ffaa===_0x29a165,'isActive':_0x53d20a==='1','rangeType':_0x424da3===_0x7c0f96[_0x4aa362(0x285)][_0x4aa362(0x258)]?_0x7c0f96['DOC_RANGE_TYPE']['TEXT']:_0x7c0f96[_0x4aa362(0x285)][_0x4aa362(0x2b0)],'segmentId':typeof _0x594228==_0x4aa362(0x38b)?String(_0x594228):'','segmentPage':Number(_0x571834!=null?_0x571834:-0x1)});}return _0x34fefa[_0x4aa362(0x199)](_0x12e0ee=>_0x12e0ee[_0x4aa362(0x2dc)])||(_0x34fefa[0x0]['isActive']=!0x0),_0x34fefa;}class _0x4f7d58 extends _0x7c0f96[_0x57d1dc(0x17b)]{constructor(){const _0x3244df=_0x57d1dc;super(...arguments),_0x58bc7c(this,_0x3244df(0x1b4),new _0x199169[(_0x3244df(0x3f2))](null)),_0x58bc7c(this,_0x3244df(0x256),this[_0x3244df(0x1b4)][_0x3244df(0x37f)]());}[_0x57d1dc(0x38e)](_0x443b5c){const _0x572971=_0x57d1dc,{unitID:_0x1be18d,memberID:_0x5c5f6f,textRanges:_0x24142d}=_0x443b5c,_0x6d6403=_0x48414f(_0x24142d);if(_0x6d6403==='')return;const _0x4f874a={'unitID':_0x1be18d,'memberID':_0x5c5f6f,'selection':_0x6d6403};this['_collabCursorState$'][_0x572971(0x2e6)](_0x4f874a);}}var _0x4692d3=Object[_0x57d1dc(0x241)],_0x1c31e4=(_0x57a8d3,_0x274e43,_0x1c4e23,_0x4efd16)=>{const _0x4a9911=_0x57d1dc;for(var _0x377040=_0x4efd16>0x1?void 0x0:_0x4efd16?_0x4692d3(_0x274e43,_0x1c4e23):_0x274e43,_0x43dabb=_0x57a8d3[_0x4a9911(0x15b)]-0x1,_0x102797;_0x43dabb>=0x0;_0x43dabb--)(_0x102797=_0x57a8d3[_0x43dabb])&&(_0x377040=_0x102797(_0x377040)||_0x377040);return _0x377040;},_0x4a0e87=(_0x18a5a2,_0x1d104b)=>(_0x20bccd,_0xf16d68)=>_0x1d104b(_0x20bccd,_0xf16d68,_0x18a5a2);const _0x3f4f44=0x12c,_0x321485=0x64;let _0x173653=class extends _0x7c0f96['RxDisposable']{constructor(_0x46c380,_0xa58a95,_0x533ff9,_0x52cbbd,_0x34dbf9,_0x6319d0,_0x54b023,_0x6ce1e3,_0x29c154){const _0x248ee5=_0x57d1dc;super(),_0x58bc7c(this,_0x248ee5(0x3c5),!0x1),_0x58bc7c(this,_0x248ee5(0x3d0),!0x1),_0x58bc7c(this,_0x248ee5(0x2d8),new _0x199169[(_0x248ee5(0x3f2))](new Map())),_0x58bc7c(this,_0x248ee5(0x268),this[_0x248ee5(0x2d8)][_0x248ee5(0x37f)]()),_0x58bc7c(this,_0x248ee5(0x1a9),new _0x199169[(_0x248ee5(0x3f2))]([])),_0x58bc7c(this,_0x248ee5(0x339),this[_0x248ee5(0x1a9)][_0x248ee5(0x190)](_0x199169[_0x248ee5(0x2c3)](_0x3f4f44))),_0x58bc7c(this,_0x248ee5(0x2a3),_0x7c0f96[_0x248ee5(0x3b8)](_0x436767=>{const _0x248ac4=_0x248ee5,_0x472296={'eventID':_0x53a039[_0x248ac4(0x2df)][_0x248ac4(0x2f0)],'data':{'unitID':this[_0x248ac4(0x1c2)],'memberID':this[_0x248ac4(0x2a6)][_0x248ac4(0x222)](),'selection':_0x48414f(_0x436767)}};this[_0x248ac4(0x2a6)][_0x248ac4(0x3be)](_0x472296,this[_0x248ac4(0x1c2)]);},_0x321485)),(this['unitID']=_0x46c380,this['_session']=_0xa58a95,this['_injector']=_0x533ff9,this[_0x248ee5(0x321)]=_0x52cbbd,this[_0x248ee5(0x393)]=_0x34dbf9,this[_0x248ee5(0x3c3)]=_0x6319d0,this[_0x248ee5(0x290)]=_0x54b023,this['_univerInstanceService']=_0x6ce1e3,this[_0x248ee5(0x312)]=_0x29c154);}get['cursorInfo'](){const _0x4698a7=_0x57d1dc;return this[_0x4698a7(0x2d8)][_0x4698a7(0x3a1)]();}get[_0x57d1dc(0x1eb)](){const _0x4b6e12=_0x57d1dc;return this[_0x4b6e12(0x1a9)][_0x4b6e12(0x3a1)]();}['dispose'](){const _0x1bfd9f=_0x57d1dc;super[_0x1bfd9f(0x27c)](),this['_cursorInfo$']['next'](new Map()),this[_0x1bfd9f(0x2d8)][_0x1bfd9f(0x21b)](),this['_roomMembers$'][_0x1bfd9f(0x2e6)]([]),this[_0x1bfd9f(0x1a9)]['complete']();}[_0x57d1dc(0x1be)](){const _0x2ec36e=_0x57d1dc;this[_0x2ec36e(0x3d0)]||(this[_0x2ec36e(0x3d0)]=!0x0,this[_0x2ec36e(0x2a6)]['sessionStatus$'][_0x2ec36e(0x190)](_0x199169[_0x2ec36e(0x23d)](this[_0x2ec36e(0x228)]))[_0x2ec36e(0x3ec)](_0x30f60f=>{const _0x1e318e=_0x2ec36e;_0x30f60f===_0x1e832f[_0x1e318e(0x1fc)][_0x1e318e(0x310)]?this[_0x1e318e(0x1ac)]():this[_0x1e318e(0x295)]();}),this[_0x2ec36e(0x2a6)]['event$'][_0x2ec36e(0x190)](_0x199169[_0x2ec36e(0x23d)](this[_0x2ec36e(0x228)]))['subscribe'](_0xa71cbe=>{const _0x487e9f=_0x2ec36e,_0x36d37f=_0xa71cbe[_0x487e9f(0x31b)];_0x36d37f===_0x53a039[_0x487e9f(0x2df)][_0x487e9f(0x2f0)]&&this[_0x487e9f(0x288)](_0xa71cbe),_0x36d37f===_0x53a039['CollaborationEvent'][_0x487e9f(0x296)]&&this['_onCursorDelete'](_0xa71cbe);}),this[_0x2ec36e(0x36d)](this[_0x2ec36e(0x312)][_0x2ec36e(0x3e2)](_0xea0511=>{const _0x97a33a=_0x2ec36e,_0x35823e=_0xea0511['params'];_0x35823e!=null&&this[_0x97a33a(0x3c5)]&&_0xea0511['id']===_0x4b79f4[_0x97a33a(0x3b2)]['id']&&_0x35823e[_0x97a33a(0x346)]===this[_0x97a33a(0x1c2)]&&_0x35823e[_0x97a33a(0x270)]===!0x1&&_0x35823e[_0x97a33a(0x2f2)]['length']>0x0&&this[_0x97a33a(0x2a3)](_0x35823e[_0x97a33a(0x2f2)]);})),this[_0x2ec36e(0x3c3)][_0x2ec36e(0x256)]['pipe'](_0x199169[_0x2ec36e(0x23d)](this[_0x2ec36e(0x228)]))[_0x2ec36e(0x3ec)](_0x1fc942=>{const _0x495cb0=_0x2ec36e;if((_0x1fc942==null?void 0x0:_0x1fc942[_0x495cb0(0x1c2)])!==this[_0x495cb0(0x1c2)])return;const _0x347e55={'eventID':_0x53a039[_0x495cb0(0x2df)][_0x495cb0(0x2f0)],'data':_0x1fc942};this['_onCursorUpdate'](_0x347e55);}),this[_0x2ec36e(0x36d)](this[_0x2ec36e(0x312)][_0x2ec36e(0x3e2)](_0x4901d1=>{const _0x8d9efb=_0x2ec36e;if(_0x4901d1[_0x8d9efb(0x1ea)]==null)return;const _0x57259f=_0x4901d1['params'];if(_0x4901d1['id']!==_0x4b79f4[_0x8d9efb(0x35e)]['id']||_0x57259f['unitId']!==this[_0x8d9efb(0x1c2)])return;const _0x3f1375={'id':'doc.mutation.rich-text-editing','params':_0x57259f},_0x1d19f7=this['cursorInfo'];for(const [_0x3343e3,_0x1c16d1]of _0x1d19f7){const _0x13c204={'id':_0x8d9efb(0x23c),'params':{'unitId':this[_0x8d9efb(0x1c2)],'actions':null,'textRanges':_0x1c16d1[_0x8d9efb(0x2f2)]}},_0xa32fe1=this[_0x8d9efb(0x290)][_0x8d9efb(0x27f)](_0x3f1375,_0x13c204,!0x1);if(_0x53a039[_0x8d9efb(0x280)](_0xa32fe1))throw _0xa32fe1[_0x8d9efb(0x197)];_0x1d19f7['set'](_0x3343e3,{..._0x1c16d1,'ranges':_0xa32fe1['m2Prime'][_0x8d9efb(0x1ea)]['textRanges']});}queueMicrotask(()=>{const _0x4cbae4=_0x8d9efb;this[_0x4cbae4(0x2d8)]['next'](_0x1d19f7);});})));}[_0x57d1dc(0x288)](_0x1ed6b1){const _0x220f41=_0x57d1dc;var _0x8b471d,_0x5a69f8;const {memberID:_0x398b6f,selection:_0x231bf2}=_0x1ed6b1[_0x220f41(0x366)],_0x2425ec=_0x242115(_0x231bf2),_0x592198=(_0x5a69f8=(_0x8b471d=this['_memberService'][_0x220f41(0x33a)](this[_0x220f41(0x1c2)],_0x398b6f))==null?void 0x0:_0x8b471d[_0x220f41(0x266)])!=null?_0x5a69f8:'Unknown\x20user',_0x2a28ab={'color':this[_0x220f41(0x321)][_0x220f41(0x378)](_0x398b6f),'name':_0x592198,'ranges':_0x2425ec},_0x1097e7=this['cursorInfo'];_0x1097e7['set'](_0x398b6f,_0x2a28ab),this[_0x220f41(0x2d8)]['next'](_0x1097e7);}[_0x57d1dc(0x2c9)](_0x57301b){const _0x42f59c=_0x57d1dc,{memberID:_0x38be31}=_0x57301b[_0x42f59c(0x366)],_0x3f4dc7=this[_0x42f59c(0x2bd)];_0x3f4dc7['delete'](_0x38be31),this['_cursorInfo$'][_0x42f59c(0x2e6)](_0x3f4dc7);}[_0x57d1dc(0x1ac)](){const _0x310fe5=_0x57d1dc;var _0xc00473;if(this[_0x310fe5(0x3c5)]=!0x0,((_0xc00473=this[_0x310fe5(0x3c1)][_0x310fe5(0x1c9)]())==null?void 0x0:_0xc00473[_0x310fe5(0x3ba)]())!==this[_0x310fe5(0x1c2)])return;const _0xadd6d9=this[_0x310fe5(0x272)][_0x310fe5(0x2f5)](_0x4b79f4[_0x310fe5(0x19c)])['getDocRanges']();Array[_0x310fe5(0x2e9)](_0xadd6d9)&&_0xadd6d9['length']>0x0&&this['_updateLocalCursor'](_0xadd6d9);}[_0x57d1dc(0x295)](){const _0x4728a5=_0x57d1dc;this[_0x4728a5(0x3c5)]=!0x1;}};_0x173653=_0x1c31e4([_0x4a0e87(0x2,_0x7c0f96[_0x57d1dc(0x368)](_0x7c0f96['Injector'])),_0x4a0e87(0x3,_0x7c0f96['Inject'](_0x380a47)),_0x4a0e87(0x4,_0x7c0f96[_0x57d1dc(0x368)](_0x1e832f['MemberService'])),_0x4a0e87(0x5,_0x7c0f96[_0x57d1dc(0x368)](_0x4f7d58)),_0x4a0e87(0x6,_0x53a039[_0x57d1dc(0x373)]),_0x4a0e87(0x7,_0x7c0f96['IUniverInstanceService']),_0x4a0e87(0x8,_0x7c0f96[_0x57d1dc(0x356)])],_0x173653);var _0x10ba96=Object[_0x57d1dc(0x241)],_0x2d6c5d=(_0x1260d3,_0x5b8a3b,_0x2b09cb,_0x653ee9)=>{const _0xf3f5e7=_0x57d1dc;for(var _0xef5844=_0x653ee9>0x1?void 0x0:_0x653ee9?_0x10ba96(_0x5b8a3b,_0x2b09cb):_0x5b8a3b,_0x2ac819=_0x1260d3[_0xf3f5e7(0x15b)]-0x1,_0x41e5ea;_0x2ac819>=0x0;_0x2ac819--)(_0x41e5ea=_0x1260d3[_0x2ac819])&&(_0xef5844=_0x41e5ea(_0xef5844)||_0xef5844);return _0xef5844;},_0x294679=(_0x5c34fb,_0x562624)=>(_0x5ccf37,_0x2ccd2e)=>_0x562624(_0x5ccf37,_0x2ccd2e,_0x5c34fb);const _0x473b99=0x12c,_0x4de0c6=0x64,_0x4dfec1=()=>{let _0x496acc=[],_0x49f3eb=!0x1;return _0x3120e9=>{_0x496acc['push'](_0x3120e9),_0x49f3eb||(_0x49f3eb=!0x0,setTimeout(()=>{const _0x1ec3fe=_0x11ce;_0x496acc[_0x1ec3fe(0x394)](_0x1c518b=>_0x1c518b()),_0x496acc=[],_0x49f3eb=!0x1;}));};};let _0x423506=class extends _0x7c0f96['RxDisposable']{constructor(_0x1fe2ce,_0x26c7a2,_0x407f40,_0x4ae1fb,_0x3064b8,_0x3cb284,_0x1c2d9b,_0x5c068f){const _0x2cd16a=_0x57d1dc;super(),_0x58bc7c(this,'_online',!0x1),_0x58bc7c(this,_0x2cd16a(0x3d0),!0x1),_0x58bc7c(this,_0x2cd16a(0x2d8),new _0x199169['BehaviorSubject'](new Map())),_0x58bc7c(this,_0x2cd16a(0x268),this[_0x2cd16a(0x2d8)]['asObservable']()),_0x58bc7c(this,_0x2cd16a(0x1a9),new _0x199169[(_0x2cd16a(0x3f2))]([])),_0x58bc7c(this,_0x2cd16a(0x339),this[_0x2cd16a(0x1a9)][_0x2cd16a(0x190)](_0x199169[_0x2cd16a(0x2c3)](_0x473b99))),_0x58bc7c(this,_0x2cd16a(0x2a3),_0x7c0f96[_0x2cd16a(0x3b8)]((_0x4b3705,_0x15178c)=>{const _0x474413=_0x2cd16a,_0x517880={'eventID':_0x53a039['CollaborationEvent'][_0x474413(0x2f0)],'data':{'unitID':this['unitID'],'memberID':this[_0x474413(0x2a6)][_0x474413(0x222)](),'selection':_0xd7f583['serializeRangeWithSheet'](_0x4b3705,_0x15178c[_0x474413(0x34c)])}};this[_0x474413(0x2a6)][_0x474413(0x3be)](_0x517880,this[_0x474413(0x1c2)]);},_0x4de0c6)),(this[_0x2cd16a(0x1c2)]=_0x1fe2ce,this['_session']=_0x26c7a2,this[_0x2cd16a(0x272)]=_0x407f40,this['_colorAssignService']=_0x4ae1fb,this['_memberService']=_0x3064b8,this['_univerInstanceService']=_0x3cb284,this[_0x2cd16a(0x312)]=_0x1c2d9b,this[_0x2cd16a(0x2cc)]=_0x5c068f);}get[_0x57d1dc(0x2bd)](){const _0x31e955=_0x57d1dc;return this[_0x31e955(0x2d8)][_0x31e955(0x3a1)]();}get[_0x57d1dc(0x1eb)](){const _0x54c30a=_0x57d1dc;return this[_0x54c30a(0x1a9)][_0x54c30a(0x3a1)]();}[_0x57d1dc(0x27c)](){const _0x10c96e=_0x57d1dc;super['dispose'](),this[_0x10c96e(0x2d8)][_0x10c96e(0x2e6)](new Map()),this['_cursorInfo$']['complete'](),this[_0x10c96e(0x1a9)][_0x10c96e(0x2e6)]([]),this['_roomMembers$']['complete']();}[_0x57d1dc(0x1be)](){const _0x51353b=_0x57d1dc;this[_0x51353b(0x3d0)]||(this[_0x51353b(0x3d0)]=!0x0,this[_0x51353b(0x2a6)][_0x51353b(0x1f2)][_0x51353b(0x190)](_0x199169[_0x51353b(0x23d)](this[_0x51353b(0x228)]))[_0x51353b(0x3ec)](_0x3da4ea=>{const _0x3c5165=_0x51353b;_0x3da4ea===_0x1e832f[_0x3c5165(0x1fc)][_0x3c5165(0x310)]?this[_0x3c5165(0x1ac)]():this['_toggleOffline']();}),this[_0x51353b(0x2a6)][_0x51353b(0x317)][_0x51353b(0x190)](_0x199169['takeUntil'](this[_0x51353b(0x228)]))[_0x51353b(0x3ec)](_0x54f973=>{const _0x3c5d30=_0x51353b,_0xebf5c4=_0x54f973[_0x3c5d30(0x31b)];_0xebf5c4===_0x53a039[_0x3c5d30(0x2df)][_0x3c5d30(0x2f0)]&&this[_0x3c5d30(0x288)](_0x54f973),_0xebf5c4===_0x53a039[_0x3c5d30(0x2df)]['USERS_LEAVE']&&this[_0x3c5d30(0x2c9)](_0x54f973);}),this['_onRefRangeChange'](),this[_0x51353b(0x36d)](this[_0x51353b(0x312)][_0x51353b(0x3e2)](_0x171fd4=>{const _0x5a6080=_0x51353b;if(this[_0x5a6080(0x3c5)]&&_0x171fd4['id']===_0x3d9d80[_0x5a6080(0x39b)]['id']&&_0x171fd4['params'][_0x5a6080(0x346)]===this['unitID']){const _0x125af9=_0x171fd4[_0x5a6080(0x1ea)];this[_0x5a6080(0x2a3)](_0x125af9['subUnitId'],_0x125af9[_0x5a6080(0x3e3)][0x0]);}})));}['_onCursorUpdate'](_0xadf02d){const _0x2126b4=_0x57d1dc;var _0x49758f,_0x595eb8;const {memberID:_0x28e2f0,selection:_0x420cf8}=_0xadf02d['data'],{sheetName:_0x5c5e4d,range:_0x260301}=_0xd7f583['deserializeRangeWithSheet'](_0x420cf8),_0x2d4a73={'name':(_0x595eb8=(_0x49758f=this[_0x2126b4(0x393)][_0x2126b4(0x33a)](this[_0x2126b4(0x1c2)],_0x28e2f0))==null?void 0x0:_0x49758f[_0x2126b4(0x266)])!=null?_0x595eb8:_0x2126b4(0x1df),'range':this[_0x2126b4(0x2e5)](_0x5c5e4d,_0x260301),'sheetID':_0x5c5e4d,'color':this[_0x2126b4(0x321)][_0x2126b4(0x378)](_0x28e2f0),'selection':_0x420cf8},_0x56ef9a=this[_0x2126b4(0x2bd)];_0x56ef9a[_0x2126b4(0x1d2)](_0x28e2f0,_0x2d4a73),this[_0x2126b4(0x2d8)]['next'](_0x56ef9a);}[_0x57d1dc(0x2c9)](_0x114de0){const _0x27103c=_0x57d1dc,{memberID:_0x5d1e57}=_0x114de0[_0x27103c(0x366)],_0x6d444b=this[_0x27103c(0x2bd)];_0x6d444b['delete'](_0x5d1e57),this[_0x27103c(0x2d8)][_0x27103c(0x2e6)](_0x6d444b);}['_getMergeRange'](_0x3ad48b,_0x33d4a0){const _0x1716d6=_0x57d1dc;var _0x591c2a,_0x48a0fa;const _0xcaae57=(_0x48a0fa=(_0x591c2a=this[_0x1716d6(0x3c1)][_0x1716d6(0x183)](this[_0x1716d6(0x1c2)]))==null?void 0x0:_0x591c2a[_0x1716d6(0x33f)](_0x3ad48b))==null?void 0x0:_0x48a0fa[_0x1716d6(0x3bb)]();return(_0xcaae57==null?void 0x0:_0xcaae57['find'](_0x3f37a0=>_0x7c0f96[_0x1716d6(0x3c2)]['contains'](_0x3f37a0,_0x33d4a0)))||_0x33d4a0;}[_0x57d1dc(0x26e)](){const _0x466ed0=_0x57d1dc,_0x2196c5=new _0x7c0f96[(_0x466ed0(0x27d))](),_0x22551c=_0x4dfec1(),_0x35625e=()=>{const _0x4dc6c6=_0x466ed0;_0x2196c5[_0x4dc6c6(0x27c)]();const _0x1adf18=(_0x947127,_0x431bb3,_0x56ac28,_0x1a9f18)=>{const _0x5b25de=_0x4dc6c6;let _0x509d99=[];switch(_0x947127['id']){case _0x3d9d80[_0x5b25de(0x31e)][_0x5b25de(0x1a0)]:{_0x509d99=_0x3d9d80[_0x5b25de(0x218)](_0x947127,_0x1a9f18);break;}case _0x3d9d80[_0x5b25de(0x31e)][_0x5b25de(0x3bf)]:{_0x509d99=_0x3d9d80[_0x5b25de(0x319)](_0x947127,_0x1a9f18);break;}case _0x3d9d80[_0x5b25de(0x31e)][_0x5b25de(0x1ff)]:{_0x509d99=_0x3d9d80[_0x5b25de(0x209)](_0x947127,_0x1a9f18);break;}case _0x3d9d80[_0x5b25de(0x31e)][_0x5b25de(0x1ce)]:{_0x509d99=_0x3d9d80[_0x5b25de(0x38a)](_0x947127,_0x1a9f18);break;}case _0x3d9d80['EffectRefRangId'][_0x5b25de(0x234)]:{_0x509d99=_0x3d9d80['handleInsertRangeMoveRight'](_0x947127,_0x1a9f18);break;}case _0x3d9d80[_0x5b25de(0x31e)]['InsertRowCommandId']:{_0x509d99=_0x3d9d80[_0x5b25de(0x3b9)](_0x947127,_0x1a9f18);break;}case _0x3d9d80[_0x5b25de(0x31e)]['MoveRangeCommandId']:{_0x509d99=_0x3d9d80[_0x5b25de(0x32e)](_0x947127,_0x1a9f18);break;}case _0x3d9d80[_0x5b25de(0x31e)]['RemoveColCommandId']:{_0x509d99=_0x3d9d80[_0x5b25de(0x305)](_0x947127,_0x1a9f18);break;}case _0x3d9d80[_0x5b25de(0x31e)][_0x5b25de(0x20a)]:{_0x509d99=_0x3d9d80[_0x5b25de(0x313)](_0x947127,_0x1a9f18);break;}}const _0x33d9a0=_0x3d9d80[_0x5b25de(0x19e)](_0x509d99,_0x1a9f18),_0x1c0faa=this[_0x5b25de(0x2bd)][_0x5b25de(0x2f5)](_0x431bb3);if(_0x1c0faa&&_0x33d9a0){const _0x854b0d={..._0x1c0faa,'range':_0x33d9a0};this[_0x5b25de(0x2bd)][_0x5b25de(0x1d2)](_0x431bb3,_0x854b0d),_0x22551c(()=>{const _0x3ad176=_0x5b25de,_0x79f487=this[_0x3ad176(0x2cc)]['registerRefRange'](_0x33d9a0,_0x1e12ee=>(_0x79f487['dispose'](),_0x1adf18(_0x1e12ee,_0x431bb3,_0x56ac28,_0x33d9a0)));_0x2196c5[_0x3ad176(0x24e)](_0x79f487);});}return{'redos':[],'undos':[]};};this[_0x4dc6c6(0x2bd)][_0x4dc6c6(0x394)]((_0x88091a,_0x1d828c)=>{const _0x8a8324=_0x4dc6c6,{range:_0x6f80d0,sheetID:_0x32944f}=_0x88091a,_0x26a58b=this['_refRangeService']['registerRefRange'](_0x6f80d0,_0x1c2541=>(_0x26a58b[_0x8a8324(0x27c)](),_0x1adf18(_0x1c2541,_0x1d828c,_0x32944f,_0x6f80d0)));_0x2196c5['add'](_0x26a58b);});};this['disposeWithMe'](_0x7c0f96['toDisposable'](this['_cursorInfo$'][_0x466ed0(0x3ec)](()=>{_0x35625e();})));}[_0x57d1dc(0x1ac)](){const _0x24afa4=_0x57d1dc;var _0x179e4e,_0x2ad4ef;if(this[_0x24afa4(0x3c5)]=!0x0,((_0x179e4e=this[_0x24afa4(0x3c1)]['getFocusedUnit']())==null?void 0x0:_0x179e4e[_0x24afa4(0x3ba)]())!==this[_0x24afa4(0x1c2)])return;const _0x2e5a09=(_0x2ad4ef=this[_0x24afa4(0x272)][_0x24afa4(0x2f5)](_0x3d9d80[_0x24afa4(0x29a)])['getCurrentSelections']())==null?void 0x0:_0x2ad4ef[0x0],_0x17d792=this[_0x24afa4(0x3c1)][_0x24afa4(0x349)](_0x7c0f96[_0x24afa4(0x1cf)]['UNIVER_SHEET'])[_0x24afa4(0x2ad)]();_0x2e5a09&&_0x17d792&&this[_0x24afa4(0x2a3)](_0x17d792['getSheetId'](),_0x2e5a09);}['_toggleOffline'](){const _0x2a885e=_0x57d1dc;this[_0x2a885e(0x3c5)]=!0x1;}};_0x423506=_0x2d6c5d([_0x294679(0x2,_0x7c0f96[_0x57d1dc(0x368)](_0x7c0f96[_0x57d1dc(0x34f)])),_0x294679(0x3,_0x7c0f96[_0x57d1dc(0x368)](_0x380a47)),_0x294679(0x4,_0x7c0f96[_0x57d1dc(0x368)](_0x1e832f[_0x57d1dc(0x39a)])),_0x294679(0x5,_0x7c0f96[_0x57d1dc(0x2e4)]),_0x294679(0x6,_0x7c0f96['ICommandService']),_0x294679(0x7,_0x7c0f96['Inject'](_0x3d9d80[_0x57d1dc(0x3d6)]))],_0x423506);var _0xd24dc0=Object['getOwnPropertyDescriptor'],_0x18d2b5=(_0x56344e,_0x3dc5c3,_0x2401be,_0x1e896c)=>{const _0x2802f5=_0x57d1dc;for(var _0x307af7=_0x1e896c>0x1?void 0x0:_0x1e896c?_0xd24dc0(_0x3dc5c3,_0x2401be):_0x3dc5c3,_0x1e0202=_0x56344e[_0x2802f5(0x15b)]-0x1,_0x105120;_0x1e0202>=0x0;_0x1e0202--)(_0x105120=_0x56344e[_0x1e0202])&&(_0x307af7=_0x105120(_0x307af7)||_0x307af7);return _0x307af7;},_0x4e47bd=(_0x2f6733,_0x4009e8)=>(_0x13bef4,_0x3df405)=>_0x4009e8(_0x13bef4,_0x3df405,_0x2f6733);let _0xeaa894=class extends _0x7c0f96[_0x57d1dc(0x17b)]{constructor(_0x341732,_0x35b8ed,_0x272278){const _0x197768=_0x57d1dc;super(),_0x58bc7c(this,_0x197768(0x32d),new Map()),_0x58bc7c(this,_0x197768(0x1d3),new _0x199169[(_0x197768(0x212))]()),(this['_univerInstanceService']=_0x341732,this[_0x197768(0x272)]=_0x35b8ed,this[_0x197768(0x1d8)]=_0x272278,this[_0x197768(0x3d0)]());}['dispose'](){const _0x2acec3=_0x57d1dc;super[_0x2acec3(0x27c)](),this[_0x2acec3(0x1d3)]['complete'](),this['_entities']['forEach'](_0x589765=>_0x589765[_0x2acec3(0x27c)]());}[_0x57d1dc(0x360)](_0x5d5993){const _0x24f8aa=_0x57d1dc;return this[_0x24f8aa(0x32d)][_0x24f8aa(0x2e8)](_0x5d5993)?this[_0x24f8aa(0x32d)][_0x24f8aa(0x2f5)](_0x5d5993)[_0x24f8aa(0x268)]:this[_0x24f8aa(0x1d3)][_0x24f8aa(0x190)](_0x199169[_0x24f8aa(0x359)](_0x2e0f93=>_0x2e0f93[_0x24f8aa(0x1c2)]===_0x5d5993),_0x199169[_0x24f8aa(0x2b9)](_0x3541f2=>_0x3541f2[_0x24f8aa(0x268)]));}['_init'](){const _0x246e25=_0x57d1dc;this[_0x246e25(0x3c1)][_0x246e25(0x273)](_0x7c0f96['UniverInstanceType'][_0x246e25(0x314)])[_0x246e25(0x190)](_0x199169['takeUntil'](this['dispose$']))[_0x246e25(0x3ec)](async _0x5e5db9=>{const _0x559be2=_0x246e25,_0x186416=_0x5e5db9['getUnitId'](),_0x4c7f89=await this['_startSheetCollabCursor'](_0x186416);this[_0x559be2(0x1d3)][_0x559be2(0x2e6)](_0x4c7f89),this[_0x559be2(0x32d)][_0x559be2(0x1d2)](_0x186416,_0x4c7f89);}),this[_0x246e25(0x3c1)][_0x246e25(0x273)](_0x7c0f96[_0x246e25(0x1cf)]['UNIVER_DOC'])[_0x246e25(0x190)](_0x199169[_0x246e25(0x23d)](this['dispose$']))[_0x246e25(0x190)](_0x199169['filter'](_0x521ade=>!_0x521ade['getUnitId']()[_0x246e25(0x2d4)]('__')))['subscribe'](async _0x34a71b=>{const _0x305dfa=_0x246e25,_0x4e4e87=_0x34a71b['getUnitId'](),_0x355788=await this['_startDocCollabCursor'](_0x4e4e87);this['_entityInit$'][_0x305dfa(0x2e6)](_0x355788),this[_0x305dfa(0x32d)][_0x305dfa(0x1d2)](_0x4e4e87,_0x355788);}),_0x199169[_0x246e25(0x2c6)](this[_0x246e25(0x3c1)]['getTypeOfUnitDisposed$'](_0x7c0f96['UniverInstanceType'][_0x246e25(0x186)]),this[_0x246e25(0x3c1)][_0x246e25(0x1e4)](_0x7c0f96[_0x246e25(0x1cf)][_0x246e25(0x314)]))[_0x246e25(0x190)](_0x199169[_0x246e25(0x23d)](this['dispose$']))[_0x246e25(0x3ec)](_0x339ea6=>{const _0x55da2b=_0x246e25,_0x5d3c1b=_0x339ea6['getUnitId'](),_0x4fc45c=this[_0x55da2b(0x32d)][_0x55da2b(0x2f5)](_0x5d3c1b);_0x4fc45c&&(_0x4fc45c[_0x55da2b(0x27c)](),this[_0x55da2b(0x32d)][_0x55da2b(0x255)](_0x5d3c1b));});}async[_0x57d1dc(0x20c)](_0x1fc1b1){const _0x38283d=_0x57d1dc,_0x47d259=await this[_0x38283d(0x1d8)][_0x38283d(0x2a5)](_0x1fc1b1),_0x4a93ef=this[_0x38283d(0x272)][_0x38283d(0x1ab)](_0x423506,_0x1fc1b1,_0x47d259);return _0x4a93ef[_0x38283d(0x1be)](),_0x4a93ef;}async[_0x57d1dc(0x16b)](_0x4e330d){const _0xbda2a8=_0x57d1dc,_0x35d2bc=await this['_collabSessionService']['requireSession'](_0x4e330d),_0x5a932d=this[_0xbda2a8(0x272)][_0xbda2a8(0x1ab)](_0x173653,_0x4e330d,_0x35d2bc);return _0x5a932d[_0xbda2a8(0x1be)](),_0x5a932d;}};_0xeaa894=_0x18d2b5([_0x4e47bd(0x0,_0x7c0f96['IUniverInstanceService']),_0x4e47bd(0x1,_0x7c0f96[_0x57d1dc(0x368)](_0x7c0f96['Injector'])),_0x4e47bd(0x2,_0x7c0f96['Inject'](_0x1e832f[_0x57d1dc(0x283)]))],_0xeaa894);const _0x1f6229=0x14,_0x10022e=0xc8,_0x266bdf=0x4,_0x20e6fd=0x5;function _0x498b63(_0x5eb0a5,_0x2fd5f3){const _0x50f3ea=_0x57d1dc;let {radius:_0x42dbcd,width:_0x3f9436,height:_0x54597e}=_0x2fd5f3;_0x42dbcd=_0x42dbcd!=null?_0x42dbcd:0x0,_0x3f9436=_0x3f9436!=null?_0x3f9436:0x1e,_0x54597e=_0x54597e!=null?_0x54597e:0x1e;let _0x4c6fd6=0x0,_0x27e9b1=0x0,_0x1fbd46=0x0;_0x4c6fd6=_0x27e9b1=_0x1fbd46=Math['min'](_0x42dbcd,_0x3f9436/0x2,_0x54597e/0x2),_0x5eb0a5[_0x50f3ea(0x24d)](),_0x5eb0a5[_0x50f3ea(0x180)](_0x4c6fd6,0x0),_0x5eb0a5[_0x50f3ea(0x32c)](_0x3f9436-_0x27e9b1,0x0),_0x5eb0a5[_0x50f3ea(0x25b)](_0x3f9436-_0x27e9b1,_0x27e9b1,_0x27e9b1,Math['PI']*0x3/0x2,0x0,!0x1),_0x5eb0a5[_0x50f3ea(0x32c)](_0x3f9436,_0x54597e-_0x1fbd46),_0x5eb0a5[_0x50f3ea(0x25b)](_0x3f9436-_0x1fbd46,_0x54597e-_0x1fbd46,_0x1fbd46,0x0,Math['PI']/0x2,!0x1),_0x5eb0a5['lineTo'](0x0,_0x54597e),_0x5eb0a5[_0x50f3ea(0x32c)](0x0,_0x4c6fd6),_0x5eb0a5[_0x50f3ea(0x25b)](_0x4c6fd6,_0x4c6fd6,_0x4c6fd6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5eb0a5[_0x50f3ea(0x185)](),_0x2fd5f3[_0x50f3ea(0x1a1)]&&(_0x5eb0a5['save'](),_0x5eb0a5[_0x50f3ea(0x19d)]=_0x2fd5f3['fill'],_0x2fd5f3[_0x50f3ea(0x354)]===_0x50f3ea(0x18f)?_0x5eb0a5[_0x50f3ea(0x1a1)](_0x50f3ea(0x18f)):_0x5eb0a5[_0x50f3ea(0x1a1)](),_0x5eb0a5['restore']());}class _0x3cd490 extends _0x1f8af0[_0x57d1dc(0x3e7)]{constructor(_0x46a6a9,_0x48e8b7){const _0x4278bc=_0x57d1dc;super(_0x46a6a9,_0x48e8b7),_0x58bc7c(this,_0x4278bc(0x25e)),_0x58bc7c(this,_0x4278bc(0x3c8)),(this[_0x4278bc(0x25e)]=_0x48e8b7==null?void 0x0:_0x48e8b7[_0x4278bc(0x25e)],this[_0x4278bc(0x3c8)]=_0x48e8b7==null?void 0x0:_0x48e8b7[_0x4278bc(0x3c8)]);}static['drawWith'](_0x48c19a,_0xbd438a){const _0xb9a2ef=_0x57d1dc,{text:_0x3c695f,color:_0x487506}=_0xbd438a;_0x48c19a[_0xb9a2ef(0x30d)](),_0x48c19a['font']=_0xb9a2ef(0x3ed);const _0x5aec45=_0x48c19a[_0xb9a2ef(0x2b3)](_0x3c695f)[_0xb9a2ef(0x3eb)],_0x32e807=Math[_0xb9a2ef(0x1b9)](_0x5aec45+0x2*_0x266bdf,_0x10022e);_0x498b63(_0x48c19a,{'height':_0x1f6229,'radius':0x4,'width':_0x32e807,'fill':_0x487506}),_0x48c19a[_0xb9a2ef(0x19d)]='#FFF';const _0x18e266=_0x266bdf,_0x8c73c9=_0x1f6229-_0x20e6fd,_0x475ed5=_0x10022e-0x2*_0x266bdf;if(_0x5aec45>_0x475ed5){let _0x3bdb87='',_0x5e8cbb=0x0;for(const _0x3e2981 of _0x3c695f){const _0x1ab4c3=_0x48c19a['measureText'](_0x3e2981)['width'];if(_0x5e8cbb+_0x1ab4c3<=_0x475ed5-_0x48c19a[_0xb9a2ef(0x2b3)](_0xb9a2ef(0x23f))[_0xb9a2ef(0x3eb)])_0x3bdb87+=_0x3e2981,_0x5e8cbb+=_0x1ab4c3;else{_0x3bdb87+=_0xb9a2ef(0x23f);break;}}_0x48c19a[_0xb9a2ef(0x37d)](_0x3bdb87,_0x18e266,_0x8c73c9);}else _0x48c19a[_0xb9a2ef(0x37d)](_0x3c695f,_0x18e266,_0x8c73c9);_0x48c19a[_0xb9a2ef(0x1a6)]();}[_0x57d1dc(0x2fd)](_0x224825){const _0x3ee819=_0x57d1dc;_0x3cd490[_0x3ee819(0x1b2)](_0x224825,this);}}const _0x3af1bf=_0x57d1dc(0x2b6),_0x3132eb=_0x57d1dc(0x227),_0x1f1905='collab-rect-range-',_0x2ee59e=0x6,_0x1e2286=1.5,_0x3d0bea=0x4,_0x382527=1.5,_0x54a9fe=_0x57d1dc(0x1fe);class _0x260e62{constructor(_0x58571d,_0xa958fc,_0x10cedb,_0x2372b3){const _0x3e2621=_0x57d1dc;_0x58bc7c(this,_0x3e2621(0x1d4),[]),_0x58bc7c(this,_0x3e2621(0x2cf),null),_0x58bc7c(this,'_textBubble',null),_0x58bc7c(this,'_anchorDot',null),_0x58bc7c(this,'_hideTimer',null),_0x58bc7c(this,'_eventUnsubscribe',null),(this[_0x3e2621(0x2fa)]=_0x58571d,this[_0x3e2621(0x3d1)]=_0xa958fc,this['_docSkeleton']=_0x10cedb,this[_0x3e2621(0x3aa)]=_0x2372b3,this[_0x3e2621(0x3e1)]());}set[_0x57d1dc(0x2f8)](_0x4f4f78){const _0x38ea5c=_0x57d1dc;_0x4f4f78?(this[_0x38ea5c(0x371)]&&this['_anchorDot'][_0x38ea5c(0x398)](),this[_0x38ea5c(0x39f)]&&this['_textBubble'][_0x38ea5c(0x37c)]()):(this[_0x38ea5c(0x371)]&&this[_0x38ea5c(0x371)]['show'](),this[_0x38ea5c(0x39f)]&&this[_0x38ea5c(0x39f)][_0x38ea5c(0x398)]());}[_0x57d1dc(0x27c)](){const _0x1ebe12=_0x57d1dc;for(const _0x380b5f of this['_shapes'])_0x380b5f[_0x1ebe12(0x27c)]();this[_0x1ebe12(0x39f)]&&this[_0x1ebe12(0x39f)]['dispose'](),this[_0x1ebe12(0x371)]&&this[_0x1ebe12(0x371)][_0x1ebe12(0x27c)](),this[_0x1ebe12(0x2cf)]&&this[_0x1ebe12(0x2cf)]['dispose'](),this[_0x1ebe12(0x2c7)]&&this[_0x1ebe12(0x2c7)]();}[_0x57d1dc(0x3e1)](){const _0x2e8932=_0x57d1dc;var _0x2deb5c;const {_docSkeleton:_0x476735,_document:_0x23bcb9}=this,{color:_0x224879,name:_0x189ac2,ranges:_0x4fb990}=this[_0x2e8932(0x2fa)],_0x249db0=_0x23bcb9[_0x2e8932(0x2f1)](),{docsLeft:_0x4a3733,docsTop:_0x3e8ecb}=_0x249db0,_0x7082e4=new _0x4f2947['NodePositionConvertToCursor'](_0x249db0,_0x476735);for(const {startOffset:_0x1b494e,endOffset:_0x8df3d3,rangeType:_0x388a84,segmentId:_0x5ba539,segmentPage:_0x606769,collapsed:_0x56d8fa,isActive:_0x36a454}of _0x4fb990){const _0x3fd3c1=_0x476735['findNodePositionByCharIndex'](_0x1b494e,!0x0,_0x5ba539,_0x606769);let _0x34369c=_0x476735['findNodePositionByCharIndex'](_0x8df3d3,!0x0,_0x5ba539,_0x606769);if(_0x34369c==null&&(_0x34369c=_0x476735[_0x2e8932(0x3a6)](_0x8df3d3-0x1,!0x1,_0x5ba539,_0x606769)),_0x36a454){const {contentBoxPointGroup:_0x21660f}=_0x7082e4['getRangePointData'](_0x34369c,_0x34369c);if(_0x21660f['length']===0x0)continue;this[_0x2e8932(0x3cb)](_0x224879,_0x21660f,_0x4a3733,_0x3e8ecb,_0x189ac2),this[_0x2e8932(0x2c7)]=this[_0x2e8932(0x259)]();}if(_0x3fd3c1&&_0x34369c){if(_0x388a84===_0x7c0f96[_0x2e8932(0x285)][_0x2e8932(0x2b0)]){const _0x40eea3=new _0x4f2947[(_0x2e8932(0x29b))](_0x249db0,_0x476735),{pointGroup:_0x5a477e}=(_0x2deb5c=_0x40eea3['getRangePointData'](_0x3fd3c1,_0x34369c))!=null?_0x2deb5c:{};if(_0x5a477e==null||_0x5a477e[_0x2e8932(0x15b)]===0x0)continue;this['_drawRectRange'](_0x224879,_0x5a477e,_0x4a3733,_0x3e8ecb);}else{if(!_0x56d8fa){const {borderBoxPointGroup:_0x3d519b}=_0x7082e4[_0x2e8932(0x31f)](_0x3fd3c1,_0x34369c);if(_0x3d519b[_0x2e8932(0x15b)]===0x0)continue;this['_drawTextRange'](_0x224879,_0x3d519b,_0x4a3733,_0x3e8ecb);}}}}}['_drawAnchor'](_0x33d7ec,_0x35df9c,_0x4d2b61,_0x2dd3d0,_0x3c6b07){const _0x46bbb6=_0x57d1dc,_0x18bb6c=this[_0x46bbb6(0x25c)](_0x35df9c),{left:_0x5be85d,top:_0x46fd92,height:_0x3c5516}=_0x18bb6c,_0x2b44cf=this['_getScale'](),_0x2d49c8=_0x382527/_0x2b44cf,_0x19a701=new _0x1f8af0[(_0x46bbb6(0x1bf))](_0x3af1bf+_0x7c0f96['generateRandomId'](_0x2ee59e),{'left':_0x5be85d+_0x4d2b61-_0x2d49c8,'top':_0x46fd92+_0x2dd3d0,'height':_0x3c5516,'width':_0x1e2286,'fill':_0x33d7ec||_0x1f8af0[_0x46bbb6(0x264)](_0x7c0f96['COLORS'][_0x46bbb6(0x30b)],0x0),'strokeWidth':_0x2d49c8,'stroke':_0x54a9fe,'evented':!0x0});this[_0x46bbb6(0x2cf)]=_0x19a701,this[_0x46bbb6(0x3d1)]['addObject'](_0x19a701,_0x4f2947[_0x46bbb6(0x292)]);const _0x399645=new _0x1f8af0[(_0x46bbb6(0x1bf))](_0x3af1bf+_0x7c0f96['generateRandomId'](_0x2ee59e),{'left':_0x5be85d+_0x4d2b61-_0x2d49c8,'top':_0x46fd92+_0x2dd3d0-_0x3d0bea/0x2,'height':_0x3d0bea,'width':_0x3d0bea,'fill':_0x33d7ec||_0x1f8af0[_0x46bbb6(0x264)](_0x7c0f96['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x33d7ec||_0x1f8af0['getColor'](_0x7c0f96[_0x46bbb6(0x1f0)][_0x46bbb6(0x30b)],0x0),'evented':!0x1});this['_anchorDot']=_0x399645,this[_0x46bbb6(0x3d1)]['addObject'](_0x399645,_0x4f2947['TEXT_RANGE_LAYER_INDEX']);const _0x4f5e3e=new _0x3cd490(_0x3af1bf+_0x7c0f96['generateRandomId'](_0x2ee59e),{'left':_0x5be85d+_0x4d2b61-_0x2d49c8,'top':_0x46fd92+_0x2dd3d0-_0x1f6229,'text':_0x3c6b07,'color':_0x33d7ec});this[_0x46bbb6(0x39f)]=_0x4f5e3e,this['_scene']['addObject'](_0x4f5e3e,_0x4f2947[_0x46bbb6(0x292)]),this['_hover']=!0x1;}[_0x57d1dc(0x259)](){const _0x221c18=_0x57d1dc,_0x3cfc1b=this[_0x221c18(0x2cf)][_0x221c18(0x2d7)][_0x221c18(0x39d)](()=>{const _0x10faf6=_0x221c18;this[_0x10faf6(0x2f8)]=!0x0;}),_0x1c5937=this[_0x221c18(0x2cf)]['onPointerLeave$'][_0x221c18(0x39d)](()=>{const _0x4239d6=_0x221c18;this[_0x4239d6(0x1d5)]&&clearTimeout(this[_0x4239d6(0x1d5)]),this[_0x4239d6(0x1d5)]=setTimeout(()=>{const _0x5a9ce3=_0x4239d6;this[_0x5a9ce3(0x2f8)]=!0x1;},0x7d0);});return()=>{const _0xf14c1a=_0x221c18;_0x3cfc1b[_0xf14c1a(0x1d7)](),_0x1c5937[_0xf14c1a(0x1d7)]();};}[_0x57d1dc(0x24f)](_0x2b250c,_0x478865,_0x131fb0,_0x13f0a2){const _0x1e87b3=_0x57d1dc,_0x49eae5=new _0x7c0f96[(_0x1e87b3(0x267))](_0x2b250c)[_0x1e87b3(0x2ca)](0.2)[_0x1e87b3(0x24b)](),_0x5a3cbe=new _0x1f8af0['RegularPolygon'](_0x3132eb+_0x7c0f96[_0x1e87b3(0x171)](_0x2ee59e),{'pointsGroup':_0x478865,'fill':_0x49eae5||_0x1f8af0['getColor'](_0x7c0f96['COLORS'][_0x1e87b3(0x30b)],0.2),'left':_0x131fb0,'top':_0x13f0a2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1e87b3(0x1d4)]['push'](_0x5a3cbe),this['_scene'][_0x1e87b3(0x1ba)](_0x5a3cbe,_0x4f2947[_0x1e87b3(0x292)]);}[_0x57d1dc(0x35b)](_0x5b9269,_0x473319,_0x2c74d3,_0x4dc81c){const _0xb9bba7=_0x57d1dc,_0x259455=new _0x7c0f96['ColorKit'](_0x5b9269)[_0xb9bba7(0x2ca)](0.2)[_0xb9bba7(0x24b)](),_0xecbe21=new _0x1f8af0[(_0xb9bba7(0x29e))](_0x1f1905+_0x7c0f96[_0xb9bba7(0x171)](_0x2ee59e),{'pointsGroup':_0x473319,'fill':_0x259455||_0x1f8af0[_0xb9bba7(0x264)](_0x7c0f96[_0xb9bba7(0x1f0)][_0xb9bba7(0x30b)],0.2),'left':_0x2c74d3,'top':_0x4dc81c,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xb9bba7(0x3b7)](_0xecbe21),this[_0xb9bba7(0x3d1)][_0xb9bba7(0x1ba)](_0xecbe21,_0x4f2947[_0xb9bba7(0x292)]);}[_0x57d1dc(0x25c)](_0xfaf892){const _0x4af912=_0xfaf892[0x0],_0x2c2a2c=_0x4af912[0x0],_0x254b58=_0x4af912[0x2],{x:_0x1085b9,y:_0x56bc4c}=_0x2c2a2c,{x:_0x4c43e6,y:_0x34907c}=_0x254b58;return{'left':_0x1085b9,'top':_0x56bc4c,'width':_0x4c43e6-_0x1085b9,'height':_0x34907c-_0x56bc4c};}[_0x57d1dc(0x350)](){const _0x5eeaba=_0x57d1dc,{scaleX:_0x392fcb,scaleY:_0x23d084}=this[_0x5eeaba(0x3d1)][_0x5eeaba(0x26f)]();return Math[_0x5eeaba(0x29d)](_0x392fcb,_0x23d084);}}var _0x289176=Object['getOwnPropertyDescriptor'],_0x16c0c6=(_0x1e86d9,_0x3472cd,_0x11a87b,_0x35c2b5)=>{const _0x5ca1b6=_0x57d1dc;for(var _0x4ddb44=_0x35c2b5>0x1?void 0x0:_0x35c2b5?_0x289176(_0x3472cd,_0x11a87b):_0x3472cd,_0x5ec669=_0x1e86d9[_0x5ca1b6(0x15b)]-0x1,_0x493e22;_0x5ec669>=0x0;_0x5ec669--)(_0x493e22=_0x1e86d9[_0x5ec669])&&(_0x4ddb44=_0x493e22(_0x4ddb44)||_0x4ddb44);return _0x4ddb44;},_0x1990ae=(_0xab0281,_0x36d90f)=>(_0x2ad37b,_0x5194af)=>_0x36d90f(_0x2ad37b,_0x5194af,_0xab0281);let _0xed35cd=class extends _0x7c0f96[_0x57d1dc(0x17b)]{constructor(_0x1820dc,_0x50148d,_0x2e953a,_0x3beb42,_0x3a6b74){const _0x1fd97c=_0x57d1dc;super(),_0x58bc7c(this,_0x1fd97c(0x17c),[]),_0x58bc7c(this,_0x1fd97c(0x363),[]),(this[_0x1fd97c(0x3c9)]=_0x1820dc,this[_0x1fd97c(0x28b)]=_0x50148d,this['_collabCursorController']=_0x2e953a,this[_0x1fd97c(0x312)]=_0x3beb42,this['_themeService']=_0x3a6b74,this[_0x1fd97c(0x3d0)]());}['_init'](){const _0x14115b=_0x57d1dc,_0x876181=this['_context'][_0x14115b(0x346)],_0xe9c9=this['_docSkeletonManagerService'];this[_0x14115b(0x36d)](_0x199169[_0x14115b(0x3bc)]([this[_0x14115b(0x16e)][_0x14115b(0x360)](_0x876181),this['_themeService']['currentTheme$']])['pipe'](_0x3a22b0['map'](([_0x33e514,_0x63f6ca])=>({'skeleton':_0xe9c9[_0x14115b(0x3e0)](),'cursors':[..._0x33e514[_0x14115b(0x35f)]()]['flatMap'](_0x44d7ac=>({..._0x44d7ac,'color':this['_themeService']['getColorFromTheme'](_0x44d7ac[_0x14115b(0x25e)])}))})))[_0x14115b(0x3ec)](_0x165733=>{const _0x21aef3=_0x14115b;if(this[_0x21aef3(0x2ac)](),_0x165733){const {skeleton:_0x1d9f4a,cursors:_0x164c40}=_0x165733;this[_0x21aef3(0x30c)](_0x1d9f4a,_0x164c40);}})),this[_0x14115b(0x1b1)](),this[_0x14115b(0x160)]();}['_updateCollabCursors'](_0x4e2e50,_0x37e602){const _0x2635f4=_0x57d1dc,{scene:_0x7ca8a2,mainComponent:_0x50b0ca}=this[_0x2635f4(0x3c9)],_0x5186a4=_0x37e602['map'](_0x51bbd7=>new _0x260e62(_0x51bbd7,_0x7ca8a2,_0x4e2e50,_0x50b0ca));this[_0x2635f4(0x17c)]=_0x5186a4,this['_cursors']=_0x37e602;}[_0x57d1dc(0x21e)](){const _0x4fb00e=_0x57d1dc;this[_0x4fb00e(0x2ac)]();const {scene:_0x3e4cc7,mainComponent:_0x1bf61e}=this[_0x4fb00e(0x3c9)],_0x247062=this['_docSkeletonManagerService'][_0x4fb00e(0x3e0)](),_0x4e380f=this[_0x4fb00e(0x363)][_0x4fb00e(0x2c4)](_0x5661fd=>new _0x260e62(_0x5661fd,_0x3e4cc7,_0x247062,_0x1bf61e));this[_0x4fb00e(0x17c)]=_0x4e380f;}[_0x57d1dc(0x2ac)](){const _0x5aa22e=_0x57d1dc;this[_0x5aa22e(0x17c)]['forEach'](_0x2d05d7=>_0x2d05d7['dispose']()),this['_cursorShapes']=[];}[_0x57d1dc(0x160)](){const _0x789d9=_0x57d1dc,_0x17678e=[_0x4f2947['SetDocZoomRatioOperation']['id']];this[_0x789d9(0x36d)](this['_commandService'][_0x789d9(0x3e2)](_0x2e36cf=>{const _0x289f0e=_0x789d9;_0x17678e[_0x289f0e(0x1a3)](_0x2e36cf['id'])&&_0x2e36cf[_0x289f0e(0x1ea)][_0x289f0e(0x346)]===this[_0x289f0e(0x3c9)][_0x289f0e(0x346)]&&this[_0x289f0e(0x21e)]();}));}[_0x57d1dc(0x1b1)](){const _0xa82752=_0x57d1dc;this[_0xa82752(0x36d)](_0x7c0f96[_0xa82752(0x3bd)](this[_0xa82752(0x3c9)]['engine'][_0xa82752(0x334)])[_0xa82752(0x190)](_0x3a22b0[_0xa82752(0x359)](_0x1325ff=>_0x1325ff[_0xa82752(0x189)]===_0x1f8af0['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x3a22b0[_0xa82752(0x1c3)](0x10))[_0xa82752(0x3ec)](()=>{this['_refreshCollabCursors']();}));}};_0xed35cd=_0x16c0c6([_0x1990ae(0x1,_0x7c0f96[_0x57d1dc(0x368)](_0x4b79f4[_0x57d1dc(0x15a)])),_0x1990ae(0x2,_0x7c0f96[_0x57d1dc(0x368)](_0xeaa894)),_0x1990ae(0x3,_0x7c0f96[_0x57d1dc(0x356)]),_0x1990ae(0x4,_0x7c0f96[_0x57d1dc(0x368)](_0x7c0f96[_0x57d1dc(0x1f6)]))],_0xed35cd);const _0x4514fc=0x1,_0x25e327=1.5;class _0x191826 extends _0x1f8af0['Shape']{constructor(_0x4466e9,_0x1105f6){const _0x5cb92d=_0x57d1dc;super(_0x4466e9,_0x1105f6),_0x58bc7c(this,_0x5cb92d(0x1e3)),_0x58bc7c(this,_0x5cb92d(0x203),!0x1),_0x58bc7c(this,_0x5cb92d(0x2bc)),_0x58bc7c(this,_0x5cb92d(0x278),''),_0x58bc7c(this,_0x5cb92d(0x392),_0x5cb92d(0x2d1)),_0x58bc7c(this,_0x5cb92d(0x33e)),(_0x1105f6&&this['setShapeProps'](_0x1105f6),this[_0x5cb92d(0x2d7)][_0x5cb92d(0x39d)](()=>this[_0x5cb92d(0x351)]({'hovered':!0x0})),this[_0x5cb92d(0x388)]['subscribeEvent'](()=>this[_0x5cb92d(0x351)]({'hovered':!0x1})));}[_0x57d1dc(0x351)](_0x173d6b){const _0x2c3b2b=_0x57d1dc;var _0x38970c,_0x4cd0fe,_0x53cecd,_0x56e5ca,_0x3d3469,_0x5df646;this[_0x2c3b2b(0x1e3)]=(_0x38970c=_0x173d6b['color'])!=null?_0x38970c:this[_0x2c3b2b(0x1e3)],this['_hovered']=(_0x4cd0fe=_0x173d6b[_0x2c3b2b(0x204)])!=null?_0x4cd0fe:this['_hovered'],this[_0x2c3b2b(0x2bc)]=(_0x53cecd=_0x173d6b[_0x2c3b2b(0x34c)])!=null?_0x53cecd:this[_0x2c3b2b(0x2bc)],this[_0x2c3b2b(0x278)]=(_0x56e5ca=_0x173d6b[_0x2c3b2b(0x266)])!=null?_0x56e5ca:this[_0x2c3b2b(0x278)],this['_labelPosition']=(_0x3d3469=_0x173d6b['labelPosition'])!=null?_0x3d3469:this[_0x2c3b2b(0x392)],this['_backgroundColor']=(_0x5df646=_0x173d6b[_0x2c3b2b(0x2fe)])!=null?_0x5df646:this[_0x2c3b2b(0x33e)],this[_0x2c3b2b(0x365)]({'width':_0x173d6b[_0x2c3b2b(0x3eb)],'height':_0x173d6b['height']});}[_0x57d1dc(0x181)](_0x5878bb){const _0x2187ac=_0x57d1dc,{row:_0x1b9b24,column:_0xe7444c}=_0x5878bb;if(_0x1b9b24>=this[_0x2187ac(0x2bc)][_0x2187ac(0x243)]&&_0x1b9b24<=this[_0x2187ac(0x2bc)][_0x2187ac(0x381)]&&_0xe7444c>=this[_0x2187ac(0x2bc)]['startColumn']&&_0xe7444c<=this['_range'][_0x2187ac(0x282)]){this[_0x2187ac(0x351)]({'hovered':!0x0});return;}this[_0x2187ac(0x351)]({'hovered':!0x1});}[_0x57d1dc(0x251)](_0xf59700){return!0x1;}[_0x57d1dc(0x2fd)](_0x448d48){const _0x23b31a=_0x57d1dc;_0x1f8af0[_0x23b31a(0x1bf)][_0x23b31a(0x1b2)](_0x448d48,{'width':this[_0x23b31a(0x3eb)],'height':this[_0x23b31a(0x1cb)],'strokeWidth':_0x25e327,'stroke':this[_0x23b31a(0x1e3)],'evented':!0x1,'fill':this[_0x23b31a(0x33e)]}),this[_0x23b31a(0x203)]&&(_0x448d48[_0x23b31a(0x30d)](),_0x448d48[_0x23b31a(0x3a3)](0x1,0x0,0x0,0x1,this[_0x23b31a(0x3eb)],this[_0x23b31a(0x392)]==='bottom'?0x0:-_0x1f6229),_0x3cd490[_0x23b31a(0x1b2)](_0x448d48,{'text':this[_0x23b31a(0x278)],'color':this[_0x23b31a(0x1e3)]}),_0x448d48[_0x23b31a(0x1a6)]());}}var _0x309d2f=Object['getOwnPropertyDescriptor'],_0x2f3c3d=(_0xf4601e,_0x13d183,_0x134d97,_0x3b1ecc)=>{const _0x9fe4e4=_0x57d1dc;for(var _0x281b22=_0x3b1ecc>0x1?void 0x0:_0x3b1ecc?_0x309d2f(_0x13d183,_0x134d97):_0x13d183,_0x3140be=_0xf4601e[_0x9fe4e4(0x15b)]-0x1,_0x29ce34;_0x3140be>=0x0;_0x3140be--)(_0x29ce34=_0xf4601e[_0x3140be])&&(_0x281b22=_0x29ce34(_0x281b22)||_0x281b22);return _0x281b22;},_0x1937a1=(_0x128ca4,_0x1139d9)=>(_0x785c65,_0x22c907)=>_0x1139d9(_0x785c65,_0x22c907,_0x128ca4);const _0x1f9c55=0x1389;let _0x579c8a=class extends _0x7c0f96['RxDisposable']{constructor(_0x39d2f9,_0x54961d,_0x1dc0ce,_0x14016b){const _0x4996b6=_0x57d1dc;super(),_0x58bc7c(this,'_cursors',new Set()),_0x58bc7c(this,_0x4996b6(0x179),null),(this[_0x4996b6(0x3c9)]=_0x39d2f9,this['_sheetSkeletonManagerService']=_0x54961d,this[_0x4996b6(0x16e)]=_0x1dc0ce,this[_0x4996b6(0x1ee)]=_0x14016b,this[_0x4996b6(0x3d0)]());}[_0x57d1dc(0x3d0)](){const _0x493d91=_0x57d1dc;this[_0x493d91(0x25f)]['currentSkeleton$'][_0x493d91(0x190)](_0x3a22b0[_0x493d91(0x23d)](this[_0x493d91(0x228)]),_0x3a22b0['switchMap'](_0x53d8d2=>{const _0x3d44ec=_0x493d91;if(_0x53d8d2){const _0x49c87d=_0x53d8d2[_0x3d44ec(0x37a)];return _0x199169[_0x3d44ec(0x3bc)](this[_0x3d44ec(0x16e)][_0x3d44ec(0x360)](this[_0x3d44ec(0x3c9)]['unitId']),this['_themeService'][_0x3d44ec(0x22b)])[_0x3d44ec(0x190)](_0x3a22b0[_0x3d44ec(0x2c4)](([_0x205f6f,_0x27d2e8])=>{const _0x484a05=_0x3d44ec,_0x39fcf9=new Map();return _0x205f6f[_0x484a05(0x394)]((_0x489cef,_0x2c950a)=>{const _0x269222=_0x484a05;if(_0x489cef['sheetID']===_0x49c87d){const _0x19cbba={..._0x489cef};_0x19cbba[_0x269222(0x25e)]=this[_0x269222(0x1ee)][_0x269222(0x2f6)](_0x489cef[_0x269222(0x25e)]),_0x39fcf9['set'](_0x2c950a,_0x19cbba);}}),{'skeleton':_0x53d8d2,'cursors':_0x39fcf9};}));}return _0x199169['of']({'skeleton':null,'cursors':new Map()});}))[_0x493d91(0x3ec)](({skeleton:_0x15fffd,cursors:_0x1650c7})=>{const _0x2e194a=_0x493d91;this[_0x2e194a(0x2ac)](),_0x15fffd&&this[_0x2e194a(0x30c)](_0x15fffd,_0x1650c7);}),this[_0x493d91(0x25f)]['currentSkeleton$'][_0x493d91(0x3ec)](_0x46e8dc=>{const _0x282d1b=_0x493d91;if(_0x46e8dc==null)return;const {skeleton:_0x3cbab5}=_0x46e8dc,{scene:_0x526b0e}=this[_0x282d1b(0x3c9)];_0x526b0e[_0x282d1b(0x36e)][_0x282d1b(0x39d)](_0x7c0f96[_0x282d1b(0x3b8)](_0x926cb8=>{const _0x15d1e7=_0x282d1b;var _0x58e086,_0x3d9d34;const {offsetX:_0x3e69d1,offsetY:_0x2ad79}=_0x926cb8,{x:_0x386989,y:_0x5597dd}=_0x526b0e['getRelativeToViewportCoord'](_0x1f8af0[_0x15d1e7(0x3a7)][_0x15d1e7(0x36a)]([_0x3e69d1,_0x2ad79])),{scaleX:_0x191391,scaleY:_0x46e772}=_0x526b0e[_0x15d1e7(0x26f)](),_0x523512=_0x526b0e[_0x15d1e7(0x248)](_0x1f8af0[_0x15d1e7(0x22a)][_0x15d1e7(0x352)]),_0x2975ca=_0x526b0e[_0x15d1e7(0x1e6)](_0x1f8af0[_0x15d1e7(0x3a7)][_0x15d1e7(0x36a)]([_0x386989,_0x5597dd]),_0x523512),_0x9c8c53=_0x3cbab5[_0x15d1e7(0x2e7)](_0x3e69d1,_0x2ad79,_0x191391,_0x46e772,_0x2975ca);((_0x58e086=this[_0x15d1e7(0x179)])==null?void 0x0:_0x58e086[_0x15d1e7(0x2e3)])===_0x9c8c53[_0x15d1e7(0x2e3)]&&((_0x3d9d34=this[_0x15d1e7(0x179)])==null?void 0x0:_0x3d9d34[_0x15d1e7(0x38d)])===_0x9c8c53[_0x15d1e7(0x38d)]||this[_0x15d1e7(0x363)][_0x15d1e7(0x394)](_0x383442=>{_0x383442['onMouseMove'](_0x9c8c53);});},0x64));});}[_0x57d1dc(0x30c)](_0x393a34,_0x5ea03d){const _0x44575c=_0x57d1dc;var _0x24aa87;const _0x15c4ec=(_0x24aa87=this[_0x44575c(0x25f)][_0x44575c(0x316)]())==null?void 0x0:_0x24aa87['skeleton'];if(!_0x15c4ec)return;const _0x5b0e1d=this[_0x44575c(0x1e7)]();if(!_0x5b0e1d)return;this[_0x44575c(0x363)][_0x44575c(0x394)](_0x3e7b2d=>{_0x3e7b2d['makeDirty']();});const {scene:_0x4af53a}=_0x5b0e1d,_0x2208fa=_0x43dd6b(Array[_0x44575c(0x20f)](_0x5ea03d[_0x44575c(0x35f)]()))['map'](_0x2d08fb=>{const _0x41f1cc=_0x44575c,{color:_0x42bc9f,range:_0x2970bf,name:_0x248a08,selection:_0x2166c3,sheetID:_0x42a5b7}=_0x2d08fb,{startColumn:_0x157ae1,startRow:_0x4b42d8,endColumn:_0x197f3a,endRow:_0xbf2445}=_0x2970bf,_0x39261b=_0x2b998e[_0x41f1cc(0x2d5)](_0x4b42d8,_0x157ae1,_0x4af53a,_0x15c4ec),_0x361294=_0x2b998e[_0x41f1cc(0x2d5)](_0xbf2445,_0x197f3a,_0x4af53a,_0x15c4ec),{columnHeaderHeightAndMarginTop:_0x5459a8}=_0x15c4ec,{startX:_0x264f13,startY:_0x19ae56}=_0x39261b,{endX:_0x1dd946,endY:_0x593558}=_0x361294,_0x585d3b=_0x1dd946-_0x264f13,_0x5340b2=_0x593558-_0x19ae56,_0xa5cc56={'labelPosition':_0x19ae56-_0x5459a8>=_0x1f6229?'top':'bottom','sheetID':_0x42a5b7,'range':_0x2970bf,'color':_0x42bc9f,'name':_0x248a08,'selection':_0x2166c3,'left':_0x264f13,'top':_0x19ae56,'width':_0x585d3b,'height':_0x5340b2,'evented':!0x1,'zIndex':_0x1f9c55};return new _0x191826(_0x248a08,_0xa5cc56);});_0x4af53a[_0x44575c(0x332)](_0x2208fa,_0x4514fc),this[_0x44575c(0x363)]=new Set(_0x2208fa);}[_0x57d1dc(0x2ac)](){const _0x4b04dc=_0x57d1dc;var _0x2d8543;(_0x2d8543=this[_0x4b04dc(0x363)])==null||_0x2d8543[_0x4b04dc(0x394)](_0x2f4f6e=>_0x2f4f6e[_0x4b04dc(0x27c)]());}[_0x57d1dc(0x1e7)](){const _0x27ebe2=_0x57d1dc;return _0x2b998e[_0x27ebe2(0x30f)](this[_0x27ebe2(0x3c9)]['unit'],this[_0x27ebe2(0x3c9)]);}};_0x579c8a=_0x2f3c3d([_0x1937a1(0x1,_0x7c0f96['Inject'](_0x2b998e[_0x57d1dc(0x30a)])),_0x1937a1(0x2,_0x7c0f96['Inject'](_0xeaa894)),_0x1937a1(0x3,_0x7c0f96[_0x57d1dc(0x368)](_0x7c0f96[_0x57d1dc(0x1f6)]))],_0x579c8a);function _0x43dd6b(_0xefc1ba){const _0x4daf9e=_0x57d1dc,_0x3fb24b=new Map();return _0xefc1ba[_0x4daf9e(0x394)](_0x5c2926=>{const _0x55712c=_0x4daf9e;if(_0x3fb24b[_0x55712c(0x2e8)](_0x5c2926['selection'])){const _0x84cd18=_0x3fb24b[_0x55712c(0x2f5)](_0x5c2926[_0x55712c(0x3a8)]);_0x84cd18[_0x55712c(0x266)]+=',\x20'+_0x5c2926['name'];}else _0x3fb24b[_0x55712c(0x1d2)](_0x5c2926[_0x55712c(0x3a8)],_0x5c2926);}),Array[_0x4daf9e(0x20f)](_0x3fb24b[_0x4daf9e(0x35f)]());}var _0x5419f6=Object[_0x57d1dc(0x241)],_0x8e16dd=(_0xeba4b1,_0x14e213,_0xc349fa,_0xa3f856)=>{const _0x579ac6=_0x57d1dc;for(var _0x2a2283=_0xa3f856>0x1?void 0x0:_0xa3f856?_0x5419f6(_0x14e213,_0xc349fa):_0x14e213,_0x230d14=_0xeba4b1[_0x579ac6(0x15b)]-0x1,_0x1fa429;_0x230d14>=0x0;_0x230d14--)(_0x1fa429=_0xeba4b1[_0x230d14])&&(_0x2a2283=_0x1fa429(_0x2a2283)||_0x2a2283);return _0x2a2283;},_0x57a7b9=(_0x3b94c1,_0x43e15b)=>(_0x5d3e13,_0x137c47)=>_0x43e15b(_0x5d3e13,_0x137c47,_0x3b94c1);let _0x2d816c=class extends _0x7c0f96[_0x57d1dc(0x16c)]{constructor(_0xe317a7,_0x348e3e,_0x561506,_0x185958,_0x4887ec,_0x1eef7a){const _0x21e2f2=_0x57d1dc;super(),this[_0x21e2f2(0x210)]=_0xe317a7,this[_0x21e2f2(0x1f4)]=_0x348e3e,this[_0x21e2f2(0x1e0)]=_0x561506,this['_messageService']=_0x185958,this[_0x21e2f2(0x165)]=_0x4887ec,this['_localeService']=_0x1eef7a,this[_0x21e2f2(0x15d)](),this[_0x21e2f2(0x389)]();}['_setupBeforeClosingHandler'](){const _0x29e253=_0x57d1dc;this[_0x29e253(0x36d)](this[_0x29e253(0x210)][_0x29e253(0x1a7)](()=>{const _0x41bbba=_0x29e253;if(this[_0x41bbba(0x1f4)][_0x41bbba(0x3e5)][_0x41bbba(0x198)])return this['_localeService']['t'](_0x41bbba(0x2bf));}));}['_initEvent'](){const _0x131dff=_0x57d1dc;this[_0x131dff(0x36d)](this[_0x131dff(0x1e0)][_0x131dff(0x317)][_0x131dff(0x3ec)](_0x5a1df4=>{const _0x36bf33=_0x131dff;_0x5a1df4['id']===_0x1e832f[_0x36bf33(0x2ee)][_0x36bf33(0x2c0)]&&this[_0x36bf33(0x1c7)]['show']({'type':_0x316738['MessageType']['Warning'],'content':this[_0x36bf33(0x3d2)]['t'](_0x36bf33(0x1e1))}),_0x5a1df4['id']===_0x1e832f[_0x36bf33(0x2ee)][_0x36bf33(0x2dd)]&&this[_0x36bf33(0x1c7)][_0x36bf33(0x37c)]({'type':_0x316738[_0x36bf33(0x325)][_0x36bf33(0x168)],'content':this['_localeService']['t'](_0x36bf33(0x324))}),_0x5a1df4['id']===_0x1e832f[_0x36bf33(0x2ee)][_0x36bf33(0x196)]&&this['_notificationService'][_0x36bf33(0x37c)]({'title':this['_localeService']['t'](_0x36bf33(0x175)),'content':this[_0x36bf33(0x3d2)]['t'](_0x36bf33(0x379)),'type':'error','duration':0x0}),_0x5a1df4['id']===_0x1e832f[_0x36bf33(0x2ee)][_0x36bf33(0x184)]&&this[_0x36bf33(0x1c7)]['show']({'type':_0x316738[_0x36bf33(0x325)][_0x36bf33(0x1e2)],'content':this[_0x36bf33(0x3d2)]['t']('collaboration.closeRoom')+'('+_0x5a1df4[_0x36bf33(0x366)]+')'}),_0x5a1df4['id']===_0x1e832f[_0x36bf33(0x2ee)][_0x36bf33(0x300)]&&this[_0x36bf33(0x1c7)][_0x36bf33(0x37c)]({'type':_0x316738['MessageType'][_0x36bf33(0x168)],'content':this['_localeService']['t'](_0x5a1df4[_0x36bf33(0x366)]||'')}),_0x5a1df4['id']===_0x1e832f['CollaborationUIEventId'][_0x36bf33(0x217)]&&this[_0x36bf33(0x1c7)][_0x36bf33(0x37c)]({'type':_0x316738[_0x36bf33(0x325)][_0x36bf33(0x168)],'content':this['_localeService']['t'](_0x36bf33(0x3d5))}),_0x5a1df4['id']===_0x1e832f[_0x36bf33(0x2ee)][_0x36bf33(0x383)]&&this[_0x36bf33(0x1c7)][_0x36bf33(0x37c)]({'type':_0x316738[_0x36bf33(0x325)][_0x36bf33(0x1e2)],'content':this[_0x36bf33(0x3d2)]['t']('session.connection-failed')}),_0x5a1df4['id']===_0x1e832f[_0x36bf33(0x2ee)][_0x36bf33(0x18e)]&&this[_0x36bf33(0x1c7)][_0x36bf33(0x37c)]({'type':_0x316738[_0x36bf33(0x325)]['Error'],'content':this['_localeService']['t'](_0x36bf33(0x3cf))});}));}};_0x2d816c=_0x8e16dd([_0x57a7b9(0x0,_0x2beebe[_0x57d1dc(0x220)]),_0x57a7b9(0x1,_0x1e832f[_0x57d1dc(0x17d)]),_0x57a7b9(0x2,_0x7c0f96[_0x57d1dc(0x368)](_0x1e832f[_0x57d1dc(0x2ab)])),_0x57a7b9(0x3,_0x2beebe[_0x57d1dc(0x2fb)]),_0x57a7b9(0x4,_0x2beebe[_0x57d1dc(0x24c)]),_0x57a7b9(0x5,_0x7c0f96[_0x57d1dc(0x368)](_0x7c0f96['LocaleService']))],_0x2d816c);const _0x170c35='collaboration-client-ui.config',_0x4e9fe9={};var _0x18446e=Object[_0x57d1dc(0x241)],_0x3b74b9=(_0x577f84,_0x4adbc1,_0x3e0fd1,_0x34813a)=>{for(var _0x14f7cc=_0x34813a>0x1?void 0x0:_0x34813a?_0x18446e(_0x4adbc1,_0x3e0fd1):_0x4adbc1,_0x51bdd3=_0x577f84['length']-0x1,_0x5cf229;_0x51bdd3>=0x0;_0x51bdd3--)(_0x5cf229=_0x577f84[_0x51bdd3])&&(_0x14f7cc=_0x5cf229(_0x14f7cc)||_0x14f7cc);return _0x14f7cc;},_0x150cf1=(_0xc81799,_0x32ff79)=>(_0x219bf9,_0x1e8215)=>_0x32ff79(_0x219bf9,_0x1e8215,_0xc81799);let _0xa99d3a=class{constructor(_0xbc5b54,_0x487278){const _0x5a7859=_0x57d1dc;this['_transformService']=_0xbc5b54,this[_0x5a7859(0x18d)]=_0x487278;}[_0x57d1dc(0x298)](_0x50c29c){const _0x30689f=_0x57d1dc;this[_0x30689f(0x16d)](_0x50c29c),this[_0x30689f(0x2b4)](_0x50c29c);}[_0x57d1dc(0x1e5)](_0x7e6d8d){const _0x35b0bb=_0x57d1dc,{unitID:_0x586f0a}=_0x7e6d8d,_0x4b5b7b=this['_renderManagerService'][_0x35b0bb(0x3a0)](_0x586f0a)[_0x35b0bb(0x294)](_0x4f2947[_0x35b0bb(0x1bd)]),{redoCache:_0x37cacc}=_0x4b5b7b[_0x35b0bb(0x231)]();if(_0x37cacc['length']===0x0)return _0x7e6d8d;let _0x46f590=_0x7c0f96[_0x35b0bb(0x1a2)][_0x35b0bb(0x1f5)](_0x7e6d8d[_0x35b0bb(0x3b6)][0x0]);for(let _0x3fb750=0x0;_0x3fb750<_0x37cacc[_0x35b0bb(0x15b)];_0x3fb750++){const _0x567471={'id':'doc.mutation.rich-text-editing','params':{..._0x37cacc[_0x3fb750]}},_0x36c521=this[_0x35b0bb(0x290)][_0x35b0bb(0x27f)](_0x46f590,_0x567471,!0x1);if(_0x53a039[_0x35b0bb(0x280)](_0x36c521))throw _0x36c521[_0x35b0bb(0x197)];_0x46f590=_0x36c521['m1Prime'];}return{..._0x7c0f96[_0x35b0bb(0x1a2)]['deepClone'](_0x7e6d8d),'mutations':[_0x46f590]};}['_transformUndoRedoStack'](_0x42df31){const _0x365392=_0x57d1dc,{unitID:_0x3b1bd1}=_0x42df31,_0x260363=this[_0x365392(0x18d)][_0x365392(0x3a0)](_0x3b1bd1)['with'](_0x4f2947['DocIMEInputManagerService']),{undoCache:_0x4850c5,redoCache:_0x2648e9}=_0x260363['getUndoRedoMutationParamsCache']();if(_0x4850c5[_0x365392(0x15b)]===0x0||_0x2648e9['length']===0x0)return;const _0x188fc0=[],_0xf421f2=[];let _0x3657fe=_0x7c0f96[_0x365392(0x1a2)][_0x365392(0x1f5)](_0x42df31['mutations'][0x0]),_0x8990aa=_0x7c0f96[_0x365392(0x1a2)][_0x365392(0x1f5)](_0x42df31[_0x365392(0x3b6)][0x0]);for(let _0x355374=_0x4850c5[_0x365392(0x15b)]-0x1;_0x355374>=0x0;_0x355374--){const _0x2a02d5={'id':_0x365392(0x23c),'params':{..._0x4850c5[_0x355374]}},_0x3df496={'id':_0x365392(0x23c),'params':{..._0x2648e9[_0x355374]}},_0x34fa90=this[_0x365392(0x290)][_0x365392(0x27f)](_0x3657fe,_0x2a02d5,!0x1),_0x2a373e=this[_0x365392(0x290)]['transformMutation'](_0x8990aa,_0x3df496,!0x1);if(_0x53a039['isTransformMutationFailure'](_0x34fa90))throw _0x34fa90['error'];if(_0x53a039[_0x365392(0x280)](_0x2a373e))throw _0x2a373e[_0x365392(0x197)];_0x188fc0[_0x365392(0x253)](_0x34fa90[_0x365392(0x32a)][_0x365392(0x1ea)]),_0xf421f2[_0x365392(0x253)](_0x2a373e[_0x365392(0x32a)][_0x365392(0x1ea)]),_0x3657fe=_0x34fa90['m1Prime'],_0x8990aa=_0x2a373e[_0x365392(0x230)];}_0x260363[_0x365392(0x31d)]({'undoCache':_0x188fc0,'redoCache':_0xf421f2});}[_0x57d1dc(0x2b4)](_0x401c39){const _0x3508ed=_0x57d1dc,{unitID:_0x4e066a}=_0x401c39,_0x567d72=this[_0x3508ed(0x18d)]['getRenderById'](_0x4e066a)['with'](_0x4f2947[_0x3508ed(0x1bd)]),_0x183038=_0x567d72[_0x3508ed(0x235)]();if(_0x183038==null)return;const _0x465962=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x401c39[_0x3508ed(0x1c2)],'actions':null,'textRanges':[_0x183038]}}],_0x120709=this['_transformService'][_0x3508ed(0x376)](_0x401c39,_0x465962);if(!_0x53a039[_0x3508ed(0x159)](_0x120709))throw _0x120709[_0x3508ed(0x197)];const _0x27bbc0=_0x120709[_0x3508ed(0x32a)][0x0][_0x3508ed(0x1ea)][_0x3508ed(0x284)];Array[_0x3508ed(0x2e9)](_0x27bbc0)&&_0x27bbc0[_0x3508ed(0x15b)]&&_0x567d72['setActiveRange'](_0x27bbc0[0x0]);}};_0xa99d3a=_0x3b74b9([_0x150cf1(0x0,_0x53a039[_0x57d1dc(0x373)]),_0x150cf1(0x1,_0x1f8af0[_0x57d1dc(0x18b)])],_0xa99d3a);var _0x4372fa=Object[_0x57d1dc(0x241)],_0x2a2b1f=(_0x5d3791,_0x51c42f,_0x548c30,_0x517a76)=>{const _0x21631f=_0x57d1dc;for(var _0x1473fe=_0x517a76>0x1?void 0x0:_0x517a76?_0x4372fa(_0x51c42f,_0x548c30):_0x51c42f,_0x1b8759=_0x5d3791[_0x21631f(0x15b)]-0x1,_0x468e8f;_0x1b8759>=0x0;_0x1b8759--)(_0x468e8f=_0x5d3791[_0x1b8759])&&(_0x1473fe=_0x468e8f(_0x1473fe)||_0x1473fe);return _0x1473fe;},_0x5812f6=(_0x538b1b,_0x5ce41b)=>(_0x532223,_0x9e8d7f)=>_0x5ce41b(_0x532223,_0x9e8d7f,_0x538b1b);let _0x4cab0a=class{constructor(_0x8c55a,_0x1efa7c,_0x3186d8){const _0x1f4555=_0x57d1dc;this[_0x1f4555(0x272)]=_0x8c55a,this[_0x1f4555(0x290)]=_0x1efa7c,this[_0x1f4555(0x257)]=_0x3186d8;}['transformStateCache'](_0x20559a){const _0x2f1425=_0x57d1dc;this[_0x2f1425(0x31c)](_0x20559a);}[_0x57d1dc(0x1e5)](_0x3336f0){const _0x4ba5d4=_0x57d1dc,{unitID:_0x3bb12d}=_0x3336f0,{collaboration:_0x571b52}=this[_0x4ba5d4(0x257)][_0x4ba5d4(0x386)](_0x3bb12d);if(_0x571b52[_0x4ba5d4(0x15b)]===0x0)return _0x3336f0;let _0x4ec280=_0x7c0f96['Tools'][_0x4ba5d4(0x1f5)](_0x3336f0['mutations'][0x0]);for(let _0x1d9a29=0x0;_0x1d9a29<_0x571b52[_0x4ba5d4(0x15b)];_0x1d9a29++){const _0x4c5d56={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x571b52[_0x1d9a29][_0x4ba5d4(0x346)],..._0x571b52[_0x1d9a29]['redoState']}},_0x3d6af2=this['_transformService']['transformMutation'](_0x4ec280,_0x4c5d56,!0x1);if(_0x53a039[_0x4ba5d4(0x280)](_0x3d6af2))throw _0x3d6af2[_0x4ba5d4(0x197)];_0x4ec280=_0x3d6af2[_0x4ba5d4(0x230)];}return{..._0x7c0f96[_0x4ba5d4(0x1a2)]['deepClone'](_0x3336f0),'mutations':[_0x4ec280]};}[_0x57d1dc(0x31c)](_0xe4f264){const _0x86ad8b=_0x57d1dc,{unitID:_0x1a8afc}=_0xe4f264,{history:_0x16676b,collaboration:_0x3bf170}=this['_docStateChangeManagerService']['getStateCache'](_0x1a8afc);if(_0x16676b[_0x86ad8b(0x15b)]===0x0&&_0x3bf170['length']===0x0)return;const _0x3d0a6b=[],_0x2b4bc2=[];let _0x16e149=_0x7c0f96[_0x86ad8b(0x1a2)][_0x86ad8b(0x1f5)](_0xe4f264['mutations'][0x0]),_0x18736a=_0x7c0f96[_0x86ad8b(0x1a2)][_0x86ad8b(0x1f5)](_0xe4f264[_0x86ad8b(0x3b6)][0x0]);for(let _0x54ce66=_0x16676b['length']-0x1;_0x54ce66>=0x0;_0x54ce66--){const _0x2577e5={'id':_0x86ad8b(0x23c),'params':{'unitId':_0x16676b[_0x54ce66][_0x86ad8b(0x346)],..._0x16676b[_0x54ce66][_0x86ad8b(0x20d)]}},_0x2b634b={'id':_0x86ad8b(0x23c),'params':{'unitId':_0x16676b[_0x54ce66][_0x86ad8b(0x346)],..._0x16676b[_0x54ce66][_0x86ad8b(0x1c8)]}},_0x2d8b31=this['_transformService'][_0x86ad8b(0x27f)](_0x16e149,_0x2577e5,!0x1),_0x532b0e=this[_0x86ad8b(0x290)][_0x86ad8b(0x27f)](_0x18736a,_0x2b634b,!0x1);if(_0x53a039[_0x86ad8b(0x280)](_0x2d8b31))throw _0x2d8b31['error'];if(_0x53a039[_0x86ad8b(0x280)](_0x532b0e))throw _0x532b0e[_0x86ad8b(0x197)];_0x3d0a6b['unshift']({..._0x16676b[_0x54ce66],'undoState':_0x2d8b31[_0x86ad8b(0x32a)]['params'],'redoState':_0x532b0e['m2Prime']['params']}),_0x16e149=_0x2d8b31['m1Prime'],_0x18736a=_0x532b0e['m1Prime'];}_0x16e149=_0x7c0f96['Tools'][_0x86ad8b(0x1f5)](_0xe4f264['mutations'][0x0]),_0x18736a=_0x7c0f96[_0x86ad8b(0x1a2)][_0x86ad8b(0x1f5)](_0xe4f264[_0x86ad8b(0x3b6)][0x0]);for(let _0x10bd4e=_0x3bf170[_0x86ad8b(0x15b)]-0x1;_0x10bd4e>=0x0;_0x10bd4e--){const _0x1aa8c2={'id':_0x86ad8b(0x23c),'params':{'unitId':_0x3bf170[_0x10bd4e]['unitId'],..._0x3bf170[_0x10bd4e][_0x86ad8b(0x20d)]}},_0x1cfaa3={'id':_0x86ad8b(0x23c),'params':{'unitId':_0x3bf170[_0x10bd4e]['unitId'],..._0x3bf170[_0x10bd4e][_0x86ad8b(0x1c8)]}},_0x3776db=this[_0x86ad8b(0x290)][_0x86ad8b(0x27f)](_0x16e149,_0x1aa8c2,!0x1),_0x573464=this[_0x86ad8b(0x290)][_0x86ad8b(0x27f)](_0x18736a,_0x1cfaa3,!0x1);if(_0x53a039[_0x86ad8b(0x280)](_0x3776db))throw _0x3776db['error'];if(_0x53a039[_0x86ad8b(0x280)](_0x573464))throw _0x573464['error'];_0x2b4bc2[_0x86ad8b(0x253)]({..._0x3bf170[_0x10bd4e],'undoState':_0x3776db[_0x86ad8b(0x32a)]['params'],'redoState':_0x573464[_0x86ad8b(0x32a)][_0x86ad8b(0x1ea)]}),_0x16e149=_0x3776db['m1Prime'],_0x18736a=_0x573464[_0x86ad8b(0x230)];}this[_0x86ad8b(0x257)][_0x86ad8b(0x15f)](_0x1a8afc,{'history':_0x3d0a6b,'collaboration':_0x2b4bc2});}};_0x4cab0a=_0x2a2b1f([_0x5812f6(0x0,_0x7c0f96[_0x57d1dc(0x368)](_0x7c0f96[_0x57d1dc(0x34f)])),_0x5812f6(0x1,_0x53a039['ITransformService']),_0x5812f6(0x2,_0x7c0f96[_0x57d1dc(0x368)](_0x4f2947[_0x57d1dc(0x21c)]))],_0x4cab0a);var _0x2d97c9=Object['getOwnPropertyDescriptor'],_0x1ec7fe=(_0x549df0,_0x1be32c,_0x81171e,_0x1393af)=>{const _0x1b8d75=_0x57d1dc;for(var _0x38825f=_0x1393af>0x1?void 0x0:_0x1393af?_0x2d97c9(_0x1be32c,_0x81171e):_0x1be32c,_0x591005=_0x549df0[_0x1b8d75(0x15b)]-0x1,_0x20a51b;_0x591005>=0x0;_0x591005--)(_0x20a51b=_0x549df0[_0x591005])&&(_0x38825f=_0x20a51b(_0x38825f)||_0x38825f);return _0x38825f;},_0x467fae=(_0x51de9a,_0x1dce7a)=>(_0xe363f8,_0x2253a2)=>_0x1dce7a(_0xe363f8,_0x2253a2,_0x51de9a);let _0x35196e=class{constructor(_0x44124a,_0x26de05){this['_injector']=_0x44124a,this['_transformService']=_0x26de05;}['transformSelections'](_0x677d1a){const _0x109c47=_0x57d1dc;var _0x24faad;const _0x52f9d5=this[_0x109c47(0x272)][_0x109c47(0x2f5)](_0x4b79f4['DocSelectionManagerService']),_0x53ed27=(_0x24faad=_0x52f9d5[_0x109c47(0x2cd)]())!=null?_0x24faad:[];if(_0x53ed27[_0x109c47(0x15b)]===0x0)return;const _0x83eb99=_0x677d1a['unitID'],_0x4b3ed0=[{'id':_0x109c47(0x23c),'params':{'unitId':_0x83eb99,'actions':null,'textRanges':_0x53ed27}}],_0x53742c=this[_0x109c47(0x290)][_0x109c47(0x376)](_0x677d1a,_0x4b3ed0);if(!_0x53a039[_0x109c47(0x159)](_0x53742c))throw _0x53742c[_0x109c47(0x197)];const _0x292736=_0x53742c['m2Prime'][0x0][_0x109c47(0x1ea)]['textRanges'];Array[_0x109c47(0x2e9)](_0x292736)&&_0x292736[_0x109c47(0x15b)]&&_0x52f9d5[_0x109c47(0x3da)](_0x292736,{'unitId':_0x83eb99,'subUnitId':_0x83eb99},!0x1);}};_0x35196e=_0x1ec7fe([_0x467fae(0x0,_0x7c0f96[_0x57d1dc(0x368)](_0x7c0f96[_0x57d1dc(0x34f)])),_0x467fae(0x1,_0x53a039[_0x57d1dc(0x373)])],_0x35196e);var _0x34b86c=Object[_0x57d1dc(0x241)],_0x52e43c=(_0x250905,_0x21c0ba,_0x10f76a,_0x5a1ed7)=>{for(var _0x5836e4=_0x5a1ed7>0x1?void 0x0:_0x5a1ed7?_0x34b86c(_0x21c0ba,_0x10f76a):_0x21c0ba,_0x4eccd7=_0x250905['length']-0x1,_0x3726ec;_0x4eccd7>=0x0;_0x4eccd7--)(_0x3726ec=_0x250905[_0x4eccd7])&&(_0x5836e4=_0x3726ec(_0x5836e4)||_0x5836e4);return _0x5836e4;},_0x3bb99d=(_0x4653a5,_0x4d8188)=>(_0x2124b4,_0x55401c)=>_0x4d8188(_0x2124b4,_0x55401c,_0x4653a5);let _0x1e7ed1=class extends _0x7c0f96[_0x57d1dc(0x16c)]{constructor(_0x175b11,_0x18c322,_0x42d929,_0x1edf96,_0x59ca4e,_0x27bffd,_0x20d177,_0x284793){const _0x4209e2=_0x57d1dc;super(),_0x58bc7c(this,_0x4209e2(0x2cb),new _0x199169[(_0x4209e2(0x3f2))](_0x1e832f[_0x4209e2(0x252)]['NOT_COLLAB'])),(this[_0x4209e2(0x257)]=_0x175b11,this[_0x4209e2(0x263)]=_0x18c322,this[_0x4209e2(0x2a1)]=_0x42d929,this[_0x4209e2(0x225)]=_0x1edf96,this[_0x4209e2(0x182)]=_0x59ca4e,this[_0x4209e2(0x17e)]=_0x27bffd,this['_messageService']=_0x20d177,this[_0x4209e2(0x3d2)]=_0x284793,this[_0x4209e2(0x396)]());}[_0x57d1dc(0x396)](){const _0x2122a5=_0x57d1dc;this['disposeWithMe'](this[_0x2122a5(0x263)][_0x2122a5(0x1d9)][_0x2122a5(0x3ec)](_0x146ece=>{const _0x13e52b=_0x2122a5,_0x39cb97=this['_docStateChangeManagerService'][_0x13e52b(0x163)][_0x13e52b(0x3ec)](_0x589903=>{const _0x233741=_0x13e52b;if(_0x589903==null)return;const {unitId:_0x2bd041,redoState:_0x334538,commandId:_0x358afd}=_0x589903;if(_0x2bd041!==_0x146ece[_0x233741(0x1c2)])return;const _0x364869={'id':_0x358afd,'type':_0x7c0f96[_0x233741(0x34a)][_0x233741(0x2de)],'params':{'unitId':_0x2bd041,'actions':_0x334538[_0x233741(0x1da)],'textRanges':null}};_0x146ece['onLocalMutation'](_0x364869);});if(_0x146ece[_0x13e52b(0x36d)](_0x39cb97),_0x146ece instanceof _0x1e832f[_0x13e52b(0x1b5)]){const _0x246b52={'onTransformIME':_0x4ee298=>this[_0x13e52b(0x2a1)][_0x13e52b(0x298)](_0x4ee298),'onTransformState':_0x384983=>this[_0x13e52b(0x225)]['transformStateCache'](_0x384983),'onTransformSelections':_0x184e69=>this[_0x13e52b(0x182)][_0x13e52b(0x232)](_0x184e69),'onSyncEditingCollabCursor':_0x33f3be=>this['_docSyncEditingCollabCursorService'][_0x13e52b(0x38e)](_0x33f3be),'onTransformRemoteChangesetByIMECache':_0x507374=>this[_0x13e52b(0x2a1)]['transformRemoteChangeset'](_0x507374),'onTransformRemoteChangesetByStateCache':_0x1ad29b=>this[_0x13e52b(0x225)][_0x13e52b(0x1e5)](_0x1ad29b)};_0x146ece['addHandlerCallback'](_0x246b52);}}));}};_0x1e7ed1=_0x52e43c([_0x3bb99d(0x0,_0x7c0f96[_0x57d1dc(0x368)](_0x4f2947['DocStateChangeManagerService'])),_0x3bb99d(0x1,_0x7c0f96[_0x57d1dc(0x368)](_0x1e832f['CollaborationController'])),_0x3bb99d(0x2,_0x7c0f96[_0x57d1dc(0x368)](_0xa99d3a)),_0x3bb99d(0x3,_0x7c0f96['Inject'](_0x4cab0a)),_0x3bb99d(0x4,_0x7c0f96[_0x57d1dc(0x368)](_0x35196e)),_0x3bb99d(0x5,_0x7c0f96[_0x57d1dc(0x368)](_0x4f7d58)),_0x3bb99d(0x6,_0x2beebe['IMessageService']),_0x3bb99d(0x7,_0x7c0f96[_0x57d1dc(0x368)](_0x7c0f96['LocaleService']))],_0x1e7ed1);var _0x352777=Object[_0x57d1dc(0x241)],_0x1b37b2=(_0x33edfc,_0x1d806b,_0x4e69a4,_0x25a891)=>{for(var _0x4ffd3d=_0x25a891>0x1?void 0x0:_0x25a891?_0x352777(_0x1d806b,_0x4e69a4):_0x1d806b,_0x2e467b=_0x33edfc['length']-0x1,_0x22d7a8;_0x2e467b>=0x0;_0x2e467b--)(_0x22d7a8=_0x33edfc[_0x2e467b])&&(_0x4ffd3d=_0x22d7a8(_0x4ffd3d)||_0x4ffd3d);return _0x4ffd3d;},_0x377107=(_0x22bbf5,_0x129fee)=>(_0x284376,_0x313104)=>_0x129fee(_0x284376,_0x313104,_0x22bbf5);let _0x3155b1=class extends _0x7c0f96[_0x57d1dc(0x16c)]{constructor(_0x4a362c,_0x132ebd,_0x39ac00){const _0x32ee1c=_0x57d1dc;super(),_0x58bc7c(this,_0x32ee1c(0x33b),new Map()),_0x58bc7c(this,_0x32ee1c(0x302),new Map()),_0x58bc7c(this,_0x32ee1c(0x1f9),!0x1),(this[_0x32ee1c(0x22f)]=_0x4a362c,this[_0x32ee1c(0x31a)]=_0x132ebd,this[_0x32ee1c(0x367)]=_0x39ac00);}[_0x57d1dc(0x223)](){const _0x599b03=_0x57d1dc;this[_0x599b03(0x1f9)]=!0x0;}['enableLocalCache'](){const _0x10891a=_0x57d1dc;this[_0x10891a(0x1f9)]=!0x1;}get['saveTaskMap'](){const _0x551b76=_0x57d1dc;return this[_0x551b76(0x302)];}[_0x57d1dc(0x27c)](){const _0x46749e=_0x57d1dc;this[_0x46749e(0x397)]()[_0x46749e(0x390)](()=>super[_0x46749e(0x27c)]());}async['loadOfflineData'](_0x4038c1){const _0x3b4f11=_0x57d1dc;return this[_0x3b4f11(0x1f9)]?null:this[_0x3b4f11(0x31a)]['getItem'](_0x1e832f['getLocalCacheKey'](_0x4038c1));}async[_0x57d1dc(0x27b)](_0x135d5d,_0x5746ab){const _0x248f8c=_0x57d1dc;return!!this[_0x248f8c(0x31a)]['setItem'](_0x135d5d,_0x5746ab);}['updateOfflineData'](_0x1e4fe1,_0x2403d0,_0x447016,_0x5c732b){const _0x583f35=_0x57d1dc,_0x13ecaa=this[_0x583f35(0x367)][_0x583f35(0x195)](_0x1e4fe1);this[_0x583f35(0x33b)][_0x583f35(0x1d2)](_0x1e4fe1,{'unitID':_0x1e4fe1,'type':_0x2403d0,'awaitingChangeset':_0x447016,'mutations':_0x5c732b,'rev':_0x13ecaa}),this['_saveTaskMap'][_0x583f35(0x2e8)](_0x1e4fe1)||this[_0x583f35(0x177)](_0x1e4fe1);}['_scheduleSaving'](_0x115dae){const _0x98bc12=_0x57d1dc,_0x24edfd=this[_0x98bc12(0x1de)]();_0x24edfd===0x0?this[_0x98bc12(0x30e)](_0x115dae):this['_saveTaskMap'][_0x98bc12(0x1d2)](_0x115dae,setTimeout(()=>this['_saveCache'](_0x115dae),_0x24edfd));}[_0x57d1dc(0x1de)](){const _0x4522f3=_0x57d1dc;var _0x3797ec;return(_0x3797ec=this[_0x4522f3(0x22f)]['getConfig'](_0x1e832f[_0x4522f3(0x36f)]))!=null?_0x3797ec:_0x1e832f[_0x4522f3(0x262)];}[_0x57d1dc(0x30e)](_0xbdca2d){const _0x578ca2=_0x57d1dc,_0x29ccb5=this[_0x578ca2(0x302)]['get'](_0xbdca2d);return _0x29ccb5!==void 0x0&&window[_0x578ca2(0x193)](_0x29ccb5),this[_0x578ca2(0x31a)][_0x578ca2(0x399)](_0x1e832f[_0x578ca2(0x329)](_0xbdca2d),this[_0x578ca2(0x33b)][_0x578ca2(0x2f5)](_0xbdca2d))['then'](()=>this[_0x578ca2(0x302)]['delete'](_0xbdca2d));}async[_0x57d1dc(0x397)](){const _0x2c15f1=_0x57d1dc,_0x3bc5de=[];this[_0x2c15f1(0x302)][_0x2c15f1(0x394)]((_0x1eb5e4,_0x1ed2b2)=>{const _0x49afda=_0x2c15f1;window[_0x49afda(0x193)](_0x1eb5e4),_0x3bc5de[_0x49afda(0x3b7)](this[_0x49afda(0x30e)](_0x1ed2b2)[_0x49afda(0x390)](()=>{const _0x1d8ee3=_0x49afda;this[_0x1d8ee3(0x302)]['delete'](_0x1ed2b2);}));}),await Promise[_0x2c15f1(0x358)](_0x3bc5de);}};_0x3155b1=_0x1b37b2([_0x377107(0x0,_0x7c0f96[_0x57d1dc(0x19f)]),_0x377107(0x1,_0x7c0f96[_0x57d1dc(0x1a8)]),_0x377107(0x2,_0x7c0f96[_0x57d1dc(0x368)](_0x53a039[_0x57d1dc(0x2d9)]))],_0x3155b1);class _0x1eac72 extends _0x7c0f96[_0x57d1dc(0x17b)]{constructor(){const _0x2ccdaa=_0x57d1dc;super(),_0x58bc7c(this,_0x2ccdaa(0x1fd)),this[_0x2ccdaa(0x1fd)]=_0x199169['fromEvent'](window,_0x2ccdaa(0x27a))['pipe'](_0x199169[_0x2ccdaa(0x23d)](this['dispose$']),_0x199169[_0x2ccdaa(0x236)](0x1),_0x199169[_0x2ccdaa(0x192)](void 0x0));}[_0x57d1dc(0x3ee)](_0x58fa6b,_0x46a0a7,_0x4e301b=!0x1){const _0x27057e=_0x57d1dc,_0x20e096=new URL(window[_0x27057e(0x3ac)]['href']);_0x20e096[_0x27057e(0x3dc)][_0x27057e(0x1d2)](_0x58fa6b,_0x46a0a7),_0x4e301b?window[_0x27057e(0x32b)][_0x27057e(0x254)]('','',_0x20e096[_0x27057e(0x25a)]()):window[_0x27057e(0x32b)][_0x27057e(0x3b1)]('','',_0x20e096[_0x27057e(0x25a)]());}['removeParam'](_0x71b48d,_0x4b0f26=!0x1){const _0x66d309=_0x57d1dc,_0x272079=new URL(window['location'][_0x66d309(0x3e6)]);_0x272079[_0x66d309(0x3dc)][_0x66d309(0x255)](_0x71b48d),_0x4b0f26?window[_0x66d309(0x32b)][_0x66d309(0x254)]('','',_0x272079[_0x66d309(0x25a)]()):window[_0x66d309(0x32b)][_0x66d309(0x3b1)]('','',_0x272079[_0x66d309(0x25a)]());}[_0x57d1dc(0x35d)](_0x46ab09){const _0xbb6cd0=_0x57d1dc;var _0x3f2c17;return(_0x3f2c17=new URL(window[_0xbb6cd0(0x3ac)][_0xbb6cd0(0x3e6)])['searchParams'][_0xbb6cd0(0x2f5)](_0x46ab09))!=null?_0x3f2c17:void 0x0;}}var _0x4cdd9b=Object['defineProperty'],_0x4e1e0b=Object['getOwnPropertyDescriptor'],_0x200395=(_0x3943ec,_0x1a717c,_0x46b952)=>_0x1a717c in _0x3943ec?_0x4cdd9b(_0x3943ec,_0x1a717c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46b952}):_0x3943ec[_0x1a717c]=_0x46b952,_0x51651c=(_0x3d5131,_0x13fdfc,_0x458cdd,_0x7da214)=>{const _0x1a100c=_0x57d1dc;for(var _0x1dfeb4=_0x7da214>0x1?void 0x0:_0x7da214?_0x4e1e0b(_0x13fdfc,_0x458cdd):_0x13fdfc,_0x4b3481=_0x3d5131[_0x1a100c(0x15b)]-0x1,_0x2df2b5;_0x4b3481>=0x0;_0x4b3481--)(_0x2df2b5=_0x3d5131[_0x4b3481])&&(_0x1dfeb4=_0x2df2b5(_0x1dfeb4)||_0x1dfeb4);return _0x1dfeb4;},_0x142b69=(_0x16b19f,_0x305668)=>(_0x3d903f,_0x163af9)=>_0x305668(_0x3d903f,_0x163af9,_0x16b19f),_0xf7a028=(_0xe01ace,_0x45aa3d,_0x1a9b7a)=>_0x200395(_0xe01ace,_0x45aa3d+'',_0x1a9b7a);const _0x5301de=_0x57d1dc(0x17f);_0x3319b6[_0x57d1dc(0x1c4)]=class extends _0x7c0f96[_0x57d1dc(0x362)]{constructor(_0x44085e=_0x4e9fe9,_0x45f973,_0x599430,_0x5671ab){const _0x432a2d=_0x57d1dc;super(),this[_0x432a2d(0x3d8)]=_0x44085e,this[_0x432a2d(0x18d)]=_0x45f973,this[_0x432a2d(0x272)]=_0x599430,this[_0x432a2d(0x22f)]=_0x5671ab;const {..._0x173962}=_0x7c0f96['merge']({},_0x4e9fe9,this[_0x432a2d(0x3d8)]);this[_0x432a2d(0x22f)]['setConfig'](_0x170c35,_0x173962);}[_0x57d1dc(0x1b3)](){const _0x4d5cfc=_0x57d1dc;this[_0x4d5cfc(0x1b7)](),this['_initDependencies']();}[_0x57d1dc(0x2b7)](){const _0x444c97=_0x57d1dc;this[_0x444c97(0x2db)]();}[_0x57d1dc(0x1b7)](){const _0x38ee49=_0x57d1dc;var _0x5357e5;const _0x7b6b61=[[_0x380a47],[_0x35196e],[_0xa99d3a],[_0x4cab0a],[_0x4f7d58],[_0x47f656,{'useClass':_0x1eac72}],[_0xc0d5f9['ISocketService'],{'useClass':_0xc0d5f9[_0x38ee49(0x2ff)]}],[_0x1e832f[_0x38ee49(0x17d)],{'useClass':_0x3155b1}],[_0x3319b6[_0x38ee49(0x1fa)]],[_0x1e7ed1],[_0x2d816c],[_0xeaa894],[_0x49c704],[_0x3319b6['CollaborationDataLoaderController']]];_0x7c0f96['registerDependencies'](this[_0x38ee49(0x272)],_0x7c0f96['mergeOverrideWithDependencies'](_0x7b6b61,(_0x5357e5=this[_0x38ee49(0x3d8)])==null?void 0x0:_0x5357e5['override']));}[_0x57d1dc(0x2db)](){const _0x4990f0=_0x57d1dc;this[_0x4990f0(0x36d)](this[_0x4990f0(0x18d)]['registerRenderModule'](_0x7c0f96['UniverInstanceType']['UNIVER_DOC'],[_0xed35cd])),this[_0x4990f0(0x36d)](this[_0x4990f0(0x18d)]['registerRenderModule'](_0x7c0f96[_0x4990f0(0x1cf)][_0x4990f0(0x314)],[_0x579c8a]));}[_0x57d1dc(0x39e)](){const _0x3bc02f=_0x57d1dc;_0x7c0f96[_0x3bc02f(0x233)](this[_0x3bc02f(0x272)],[[_0xeaa894],[_0x3319b6[_0x3bc02f(0x1fa)]],[_0x1e7ed1],[_0x2d816c],[_0x3319b6[_0x3bc02f(0x201)]]]);}},_0xf7a028(_0x3319b6[_0x57d1dc(0x1c4)],'pluginName',_0x5301de),_0x3319b6[_0x57d1dc(0x1c4)]=_0x51651c([_0x7c0f96[_0x57d1dc(0x3e9)](_0x1e832f[_0x57d1dc(0x260)]),_0x142b69(0x1,_0x1f8af0[_0x57d1dc(0x18b)]),_0x142b69(0x2,_0x7c0f96[_0x57d1dc(0x368)](_0x7c0f96[_0x57d1dc(0x34f)])),_0x142b69(0x3,_0x7c0f96[_0x57d1dc(0x19f)])],_0x3319b6[_0x57d1dc(0x1c4)]);var _0x1c90eb=Object[_0x57d1dc(0x241)],_0x336d16=(_0x3e26fb,_0x33916f,_0x17430f,_0x5c2c0f)=>{const _0xa1bc9f=_0x57d1dc;for(var _0x3545f9=_0x5c2c0f>0x1?void 0x0:_0x5c2c0f?_0x1c90eb(_0x33916f,_0x17430f):_0x33916f,_0x5066c0=_0x3e26fb[_0xa1bc9f(0x15b)]-0x1,_0x36da48;_0x5066c0>=0x0;_0x5066c0--)(_0x36da48=_0x3e26fb[_0x5066c0])&&(_0x3545f9=_0x36da48(_0x3545f9)||_0x3545f9);return _0x3545f9;},_0x670b3d=(_0x2c1d0a,_0x4341a6)=>(_0x5bd7fa,_0x4e24e3)=>_0x4341a6(_0x5bd7fa,_0x4e24e3,_0x2c1d0a);_0x3319b6[_0x57d1dc(0x1f1)]=class extends _0x1e832f[_0x57d1dc(0x216)]{constructor(_0xdae1f4,_0x40cd38,_0x442ced,_0x57333d,_0x5836ab){super(_0xdae1f4,_0x40cd38,_0x442ced,_0x57333d,_0x5836ab);}async[_0x57d1dc(0x33c)](_0x528096){const _0x170552=_0x57d1dc,_0x546e31=await this['_getSessionTicket'](),_0x13eda9=this[_0x170552(0x25d)](_0x528096,_0x546e31);return this[_0x170552(0x191)](_0x13eda9);}['_createSocketURL'](_0x4e0af3,_0x3248f4){const _0x2067fe=_0x57d1dc,_0x4f71ea=typeof window>'u'?new URL(_0x4e0af3):new URL(_0x4e0af3,window[_0x2067fe(0x3ac)][_0x2067fe(0x23e)]);_0x4f71ea[_0x2067fe(0x3dc)][_0x2067fe(0x1d2)](_0x2067fe(0x1af),_0x3248f4);const _0x4dc6ba=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2067fe(0x291)]);return _0x4dc6ba[_0x2067fe(0x2f5)](_0x2067fe(0x16a))&&_0x4f71ea[_0x2067fe(0x3dc)][_0x2067fe(0x1d2)](_0x2067fe(0x16a),_0x4dc6ba[_0x2067fe(0x2f5)](_0x2067fe(0x16a))),_0x4f71ea[_0x2067fe(0x25a)]();}async['_getSessionTicket'](){const _0x9bf620=_0x57d1dc;var _0x378dcb,_0x43eadb,_0x162b15;const _0x462849=this[_0x9bf620(0x22f)][_0x9bf620(0x3a9)](_0x1e832f[_0x9bf620(0x3a2)]),_0x535f1d=(_0x378dcb=_0x462849==null?void 0x0:_0x462849['wsSessionTicketUrl'])!=null?_0x378dcb:_0x1e832f[_0x9bf620(0x169)];return(_0x162b15=(_0x43eadb=(await this['_httpService']['get'](_0x535f1d,{'headers':{'Content-Type':_0x9bf620(0x1f7)}}))[_0x9bf620(0x211)])==null?void 0x0:_0x43eadb[_0x9bf620(0x1b0)])!=null?_0x162b15:'';}},_0x3319b6[_0x57d1dc(0x1f1)]=_0x336d16([_0x670b3d(0x0,_0x7c0f96[_0x57d1dc(0x368)](_0x7c0f96[_0x57d1dc(0x34f)])),_0x670b3d(0x1,_0x7c0f96[_0x57d1dc(0x368)](_0xc0d5f9[_0x57d1dc(0x3de)])),_0x670b3d(0x2,_0x7c0f96[_0x57d1dc(0x19f)]),_0x670b3d(0x3,_0x7c0f96[_0x57d1dc(0x364)]),_0x670b3d(0x4,_0x53a039[_0x57d1dc(0x3c7)])],_0x3319b6['BrowserCollaborationSocketService']);var _0xd32008=(_0x5922bf=>(_0x5922bf[_0x5922bf[_0x57d1dc(0x3f3)]=0x0]=_0x57d1dc(0x3f3),_0x5922bf[_0x5922bf['OK']=0x1]='OK',_0x5922bf[_0x5922bf[_0x57d1dc(0x1cd)]=0x2]=_0x57d1dc(0x1cd),_0x5922bf[_0x5922bf[_0x57d1dc(0x196)]=0x3]='PERMISSION_DENIED',_0x5922bf[_0x5922bf['NOT_FOUND']=0x4]=_0x57d1dc(0x327),_0x5922bf[_0x5922bf[_0x57d1dc(0x375)]=0x5]=_0x57d1dc(0x375),_0x5922bf[_0x5922bf[_0x57d1dc(0x36c)]=0x6]=_0x57d1dc(0x36c),_0x5922bf[_0x5922bf[_0x57d1dc(0x36b)]=0x7]=_0x57d1dc(0x36b),_0x5922bf[_0x5922bf[_0x57d1dc(0x357)]=0x8]=_0x57d1dc(0x357),_0x5922bf[_0x5922bf[_0x57d1dc(0x3cc)]=0x9]=_0x57d1dc(0x3cc),_0x5922bf[_0x5922bf['LOGIN_FAILED']=0xa]=_0x57d1dc(0x342),_0x5922bf[_0x5922bf[_0x57d1dc(0x361)]=0xb]=_0x57d1dc(0x361),_0x5922bf[_0x5922bf[_0x57d1dc(0x2a7)]=0xc]=_0x57d1dc(0x2a7),_0x5922bf[_0x5922bf[_0x57d1dc(0x1ec)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5922bf[_0x5922bf['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x57d1dc(0x1c1),_0x5922bf[_0x5922bf[_0x57d1dc(0x385)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5922bf[_0x5922bf[_0x57d1dc(0x323)]=0x1771]=_0x57d1dc(0x323),_0x5922bf[_0x5922bf['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x57d1dc(0x2c2),_0x5922bf[_0x5922bf['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x57d1dc(0x187),_0x5922bf[_0x5922bf[_0x57d1dc(0x275)]=0x1b59]=_0x57d1dc(0x275),_0x5922bf[_0x5922bf[_0x57d1dc(0x277)]=0x1b5a]=_0x57d1dc(0x277),_0x5922bf[_0x5922bf[_0x57d1dc(0x215)]=0x1b5b]=_0x57d1dc(0x215),_0x5922bf[_0x5922bf['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x57d1dc(0x271),_0x5922bf[_0x5922bf['APPLY_DUPLICATED']=0x1b5d]=_0x57d1dc(0x23b),_0x5922bf[_0x5922bf[_0x57d1dc(0x1ed)]=0x1f41]=_0x57d1dc(0x1ed),_0x5922bf[_0x5922bf[_0x57d1dc(0x344)]=0x2329]=_0x57d1dc(0x344),_0x5922bf[_0x5922bf['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x57d1dc(0x167),_0x5922bf[_0x5922bf[_0x57d1dc(0x3e4)]=0x232b]=_0x57d1dc(0x3e4),_0x5922bf[_0x5922bf[_0x57d1dc(0x265)]=0x232c]=_0x57d1dc(0x265),_0x5922bf[_0x5922bf['LICENSE_DISTRO_REJECTED']=0x232d]=_0x57d1dc(0x3ea),_0x5922bf[_0x5922bf['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x57d1dc(0x309),_0x5922bf[_0x5922bf[_0x57d1dc(0x207)]=0x2712]=_0x57d1dc(0x207),_0x5922bf[_0x5922bf['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5922bf[_0x5922bf['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5922bf[_0x5922bf[_0x57d1dc(0x3ca)]=0x271a]=_0x57d1dc(0x3ca),_0x5922bf[_0x5922bf[_0x57d1dc(0x2eb)]=0x271b]=_0x57d1dc(0x2eb),_0x5922bf[_0x5922bf[_0x57d1dc(0x2d2)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5922bf[_0x5922bf[_0x57d1dc(0x2b2)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5922bf[_0x5922bf[_0x57d1dc(0x2bb)]=0x271e]=_0x57d1dc(0x2bb),_0x5922bf[_0x5922bf[_0x57d1dc(0x3ad)]=0x271f]=_0x57d1dc(0x3ad),_0x5922bf[_0x5922bf[_0x57d1dc(0x1e9)]=0x2720]=_0x57d1dc(0x1e9),_0x5922bf[_0x5922bf[_0x57d1dc(0x178)]=0x2af9]=_0x57d1dc(0x178),_0x5922bf[_0x5922bf[_0x57d1dc(0x1c6)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5922bf[_0x5922bf[_0x57d1dc(0x2a4)]=0x2ee2]=_0x57d1dc(0x2a4),_0x5922bf[_0x5922bf['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x5922bf[_0x5922bf[_0x57d1dc(0x188)]=0x2ee4]=_0x57d1dc(0x188),_0x5922bf[_0x5922bf[_0x57d1dc(0x2ed)]=0x2ee5]=_0x57d1dc(0x2ed),_0x5922bf[_0x5922bf[_0x57d1dc(0x338)]=0x32c9]=_0x57d1dc(0x338),_0x5922bf[_0x5922bf['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x57d1dc(0x3f1),_0x5922bf[_0x5922bf[_0x57d1dc(0x1ae)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5922bf[_0x5922bf[_0x57d1dc(0x16f)]=-0x1]=_0x57d1dc(0x16f),_0x5922bf))(_0xd32008||{}),_0x8feeb2=Object[_0x57d1dc(0x241)],_0x236f2c=(_0x51c2e2,_0x4b1345,_0x32dab8,_0x4f1101)=>{const _0x1ac3cb=_0x57d1dc;for(var _0x50395e=_0x4f1101>0x1?void 0x0:_0x4f1101?_0x8feeb2(_0x4b1345,_0x32dab8):_0x4b1345,_0xecfbff=_0x51c2e2[_0x1ac3cb(0x15b)]-0x1,_0x46d033;_0xecfbff>=0x0;_0xecfbff--)(_0x46d033=_0x51c2e2[_0xecfbff])&&(_0x50395e=_0x46d033(_0x50395e)||_0x50395e);return _0x50395e;},_0x382ba7=(_0x1b2a3b,_0x5ef3a8)=>(_0xeaff3f,_0x56a50b)=>_0x5ef3a8(_0xeaff3f,_0x56a50b,_0x1b2a3b);_0x3319b6[_0x57d1dc(0x1d6)]=class extends _0x7c0f96['Disposable']{constructor(_0x4dded4,_0x1abd95,_0x5ee16e){const _0xa9bf63=_0x57d1dc;super(),this[_0xa9bf63(0x3ae)]=_0x4dded4,this[_0xa9bf63(0x29f)]=_0x1abd95,this[_0xa9bf63(0x22f)]=_0x5ee16e;}async[_0x57d1dc(0x20b)](_0x3b7036,_0xdb968e,_0x1422b2,..._0x57ca82){const _0x24c9e4=_0x57d1dc;var _0x126506,_0x2014ec,_0x517328,_0x166fb6;const _0x578c36=this[_0x24c9e4(0x3ae)]['getFocusedUnit']();if(!_0x578c36)throw new Error(_0x24c9e4(0x35a));const _0x74f890=((_0x126506=this[_0x24c9e4(0x22f)][_0x24c9e4(0x3a9)](_0x1e832f['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x126506:_0x1e832f[_0x24c9e4(0x1d0)])+'/'+_0x3b7036+_0x24c9e4(0x28d)+_0xdb968e,_0x13a6cf=new URL(window[_0x24c9e4(0x3ac)][_0x24c9e4(0x3e6)]),_0x1d03d1={'scriptId':_0x3b7036,'runId':(_0x2014ec=_0x13a6cf[_0x24c9e4(0x3dc)][_0x24c9e4(0x2f5)](_0x24c9e4(0x16a)))!=null?_0x2014ec:'','function':_0xdb968e,'unitId':_0x578c36[_0x24c9e4(0x3ba)](),'argsOfFunction':JSON['stringify'](_0x57ca82),'invokeId':(_0x517328=_0x1422b2[_0x24c9e4(0x1dd)])!=null?_0x517328:'','executionId':(_0x166fb6=_0x1422b2[_0x24c9e4(0x269)])!=null?_0x166fb6:''};try{const _0x2f1bc4=await this['_httpService'][_0x24c9e4(0x3ef)](_0x74f890,{'body':_0x1d03d1});return _0x2f1bc4[_0x24c9e4(0x211)][_0x24c9e4(0x197)]&&_0x2f1bc4['body'][_0x24c9e4(0x197)][_0x24c9e4(0x2ba)]!==_0xd32008['OK']?'Failed':_0x2f1bc4[_0x24c9e4(0x211)]['result'];}catch{return _0x24c9e4(0x18a);}}},_0x3319b6[_0x57d1dc(0x1d6)]=_0x236f2c([_0x382ba7(0x0,_0x7c0f96[_0x57d1dc(0x2e4)]),_0x382ba7(0x1,_0x7c0f96[_0x57d1dc(0x368)](_0xc0d5f9[_0x57d1dc(0x3de)])),_0x382ba7(0x2,_0x7c0f96['IConfigService'])],_0x3319b6[_0x57d1dc(0x1d6)]);const _0x198d23=0x7530,_0x245d6f=_0x57d1dc(0x2a0);class _0x512beb extends _0x7c0f96[_0x57d1dc(0x16c)]{constructor(){const _0x42cee0=_0x57d1dc;super(),_0x58bc7c(this,_0x42cee0(0x1db),_0x7c0f96[_0x42cee0(0x171)]()),_0x58bc7c(this,_0x42cee0(0x2e2),new Set()),_0x58bc7c(this,_0x42cee0(0x2c8),new Map()),_0x58bc7c(this,'_heartbeatTimer',null),_0x58bc7c(this,_0x42cee0(0x2e0),new Map()),_0x58bc7c(this,_0x42cee0(0x307),new Map()),this[_0x42cee0(0x3d0)]();}[_0x57d1dc(0x27c)](){const _0x30dab4=_0x57d1dc;super[_0x30dab4(0x27c)](),this[_0x30dab4(0x2e0)][_0x30dab4(0x394)]((_0x398999,_0x4485a4)=>this[_0x30dab4(0x214)](_0x4485a4)),this[_0x30dab4(0x2d0)]&&window[_0x30dab4(0x28f)](this[_0x30dab4(0x2d0)]);}['getUnitStatus$'](_0x2cb203){const _0x30285d=_0x57d1dc;return this['_ensureSubject'](_0x2cb203)[_0x30285d(0x190)](_0x199169[_0x30285d(0x172)]());}[_0x57d1dc(0x391)](_0x396cb9){const _0x39c766=_0x57d1dc;this[_0x39c766(0x2e2)][_0x39c766(0x198)]===0x0&&this['_scheduleHeartbeat'](),this[_0x39c766(0x2e2)][_0x39c766(0x24e)](_0x396cb9),this[_0x39c766(0x330)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x396cb9],'isForwarded':!0x1});}[_0x57d1dc(0x35c)](_0x1baec8){const _0x22d8b7=_0x57d1dc;this[_0x22d8b7(0x2e2)]['delete'](_0x1baec8),this[_0x22d8b7(0x2e2)]['size']===0x0&&this[_0x22d8b7(0x2d0)]&&window[_0x22d8b7(0x28f)](this[_0x22d8b7(0x2d0)]);}[_0x57d1dc(0x3d0)](){const _0x1ab374=_0x57d1dc;this['disposeWithMe'](_0x7c0f96[_0x1ab374(0x3db)](_0x199169[_0x1ab374(0x2ea)](window,'storage')[_0x1ab374(0x3ec)](_0x109c3a=>{const _0x4691ff=_0x1ab374;if(_0x109c3a[_0x4691ff(0x206)]!==_0x245d6f||!_0x109c3a[_0x4691ff(0x162)])return;const _0xeb9151=JSON[_0x4691ff(0x3d9)](_0x109c3a[_0x4691ff(0x162)]);this[_0x4691ff(0x377)](_0xeb9151);}))),window[_0x1ab374(0x34d)](_0x1ab374(0x242),()=>this['_send']({'type':0x1,'memberID':this[_0x1ab374(0x1db)],'unitIDs':Array['from'](this[_0x1ab374(0x2e2)])}));}[_0x57d1dc(0x377)](_0x2a5c3b){const _0x1105fc=_0x57d1dc;switch(_0x2a5c3b['type']){case 0x0:this[_0x1105fc(0x1bc)](_0x2a5c3b);break;case 0x1:this['_handleLeaveEvent'](_0x2a5c3b);break;case 0x2:this[_0x1105fc(0x2a2)](_0x2a5c3b);break;}}['_handleJoinEvent'](_0x4c3bca){const _0x1669ca=_0x57d1dc,{unitIDs:_0x167533,memberID:_0x55a90d,isForwarded:_0x28e331}=_0x4c3bca;_0x167533[_0x1669ca(0x394)](_0x40439e=>{const _0x580448=_0x1669ca;if(!_0x28e331&&this[_0x580448(0x2c8)][_0x580448(0x2e8)](_0x40439e)&&this[_0x580448(0x315)](_0x40439e)[_0x580448(0x2e6)](_0x1e832f['UnitStatus'][_0x580448(0x22d)]),!this[_0x580448(0x2c8)]['has'](_0x40439e)||!this[_0x580448(0x2c8)]['get'](_0x40439e)[_0x580448(0x2e8)](_0x55a90d)){const _0xfee192=this[_0x580448(0x2c8)]['get'](_0x40439e)||new Set();_0xfee192[_0x580448(0x24e)](_0x55a90d),this[_0x580448(0x2c8)][_0x580448(0x1d2)](_0x40439e,_0xfee192),this[_0x580448(0x2ce)](_0x55a90d);}}),_0x28e331||this[_0x1669ca(0x330)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x57d1dc(0x2ce)](_0x7b7407){const _0xe9fa5c=_0x57d1dc;this[_0xe9fa5c(0x214)](_0x7b7407);const _0x390b71=window[_0xe9fa5c(0x26d)](()=>{const _0x4d9e75=_0xe9fa5c;this[_0x4d9e75(0x2c8)][_0x4d9e75(0x394)](_0xa6146e=>{const _0x428cf7=_0x4d9e75;_0xa6146e[_0x428cf7(0x255)](_0x7b7407);});},_0x198d23*0x2);this['_clearOtherTimers'][_0xe9fa5c(0x1d2)](_0x7b7407,_0x390b71);}[_0x57d1dc(0x214)](_0x12dcea){const _0x1f1652=_0x57d1dc;if(this['_clearOtherTimers'][_0x1f1652(0x2e8)](_0x12dcea)){const _0x4f379c=this['_clearOtherTimers'][_0x1f1652(0x2f5)](_0x12dcea);_0x4f379c&&window[_0x1f1652(0x193)](_0x4f379c),this[_0x1f1652(0x2e0)]['set'](_0x12dcea,null);}}[_0x57d1dc(0x370)](_0x3e4de8){const _0x22da5a=_0x57d1dc,{memberID:_0x24d568,unitIDs:_0x2dfa55}=_0x3e4de8;_0x2dfa55[_0x22da5a(0x394)](_0xb1227a=>{const _0x396274=_0x22da5a;var _0x3d9412;const _0xb97f7c=this['_unitOnClients'][_0x396274(0x2f5)](_0xb1227a);_0xb97f7c&&(_0xb97f7c[_0x396274(0x255)](_0x24d568),(_0x3d9412=this[_0x396274(0x315)](_0xb1227a))==null||_0x3d9412[_0x396274(0x2e6)](_0xb97f7c[_0x396274(0x198)]===0x0?_0x1e832f['UnitStatus'][_0x396274(0x2ae)]:_0x1e832f['UnitStatus'][_0x396274(0x22d)]));}),this[_0x22da5a(0x214)](_0x24d568);}['_handleHeartbeatEvent'](_0x357c0d){const _0x3a9fcb=_0x57d1dc;this['_scheduleClearOtherTimer'](_0x357c0d[_0x3a9fcb(0x343)]);}[_0x57d1dc(0x330)](_0x381637){localStorage['setItem'](_0x245d6f,JSON['stringify'](_0x381637));}['_scheduleHeartbeat'](){const _0x489159=_0x57d1dc;this[_0x489159(0x2d0)]=window[_0x489159(0x221)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x198d23);}[_0x57d1dc(0x315)](_0x734323){const _0x51f556=_0x57d1dc;return this['_unitStatus'][_0x51f556(0x2e8)](_0x734323)||this[_0x51f556(0x307)]['set'](_0x734323,new _0x199169[(_0x51f556(0x3f2))](_0x1e832f[_0x51f556(0x3d4)][_0x51f556(0x2ae)])),this[_0x51f556(0x307)][_0x51f556(0x2f5)](_0x734323);}}_0x3319b6[_0x57d1dc(0x3c0)]=_0x47f656,_0x3319b6['SheetCollabCursorShape']=_0x191826,_0x3319b6[_0x57d1dc(0x245)]=_0x512beb,_0x3319b6[_0x57d1dc(0x213)]=_0x1eac72,Object[_0x57d1dc(0x166)](_0x3319b6,Symbol[_0x57d1dc(0x304)],{'value':'Module'});}));
1
+ function _0x3b2a(_0x28bb09,_0x53d966){const _0x2b574b=_0x2b57();return _0x3b2a=function(_0x3b2ac3,_0x101b39){_0x3b2ac3=_0x3b2ac3-0x143;let _0x38889a=_0x2b574b[_0x3b2ac3];return _0x38889a;},_0x3b2a(_0x28bb09,_0x53d966);}function _0x2b57(){const _0x5c64ae=['_logService','application/json','extend','CollaborationUIEventService','collaboration.single-unit.warning','startsWith','_toggleOffline','UniverDocs','_lastPointer','Rect','collab-text-anchor-','getRangePointData','OTHER_CLIENTS_EDITING','...','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getCollabEntity$','ICommandService','dispose','_docTransformSelectionsService','getSkeleton','_unitStatus','_uiPartsService','_cursor','wsSessionTicketUrl','m2Prime','_drawTextRange','USERS_LEAVE','_getMergeRange','_getScale','mergeOverrideWithDependencies','searchParams','handleInsertRangeMoveDown','_notificationService','call','triggerDblclick','APPLY_REVISION_CONFILICT','getColorFromTheme','CLOSE_ROOM','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_localStorageService','CollaborationSessionService','currentSkeleton$','Unknown\x20user','params','OTHER_CLIENT_EDITING','UniverIcon','attrs','ITransformService','react/jsx-runtime','YUUMI_ASYNCIO_CANCELLED','RemoteUniscriptService','getCurrent','object','InsertColCommandId','DOC_RANGE_TYPE','getCollabCursors$','useCallback','hovered','delete','toDisposable','onStarting','CollaborationStatus','_updateCollabCursors','_beforeCloseService','setShapeProps','Vector2','VIEW_MAIN','subunit','UniverEngineRender','endColumn','Injector','runRefRangeMutations','_heartbeatTimer','_docSkeletonManagerService','getOwnPropertySymbols','IBeforeCloseService','propertyIsEnumerable','replaceState','show','black','code','apply','_collabCursorController','_config','onLocalMutation','width','current','setUndoRedoMutationParamsCache','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','requireSession','selections','_instanceService','isArray','UPDATE_CURSOR','mutations','@univerjs-pro/collaboration','forEach','APPLY_PERMISSION_DENIED','selection','SOCKET_FAILED_RETRY','getParam','_handleJoinEvent','USER_NOT_INVITED_CODE','subUnitId','purple.300','getUniverSheetInstance','yellow.400','getItem','Rectangle','set','with','_cachedData','_registerRenderDependencies','collabStatus.notCollab','_updateLocalCursor','transformIMECache','_dataLoaderService','merge','permission.title','collaboration.closeRoom','setParam','_draw','IMessageService','_getSessionTicket','use','handleInsertCol','_transformPreviousActiveRange','UniverDesign','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','2607604nnJFLJ','red.300','NodePositionConvertToRectRange','moveTo','@univerjs/docs-ui','sessionStatus$','AWAITING','unit','IConfigService','INVITE_CODE_ALREADY_BOUND','location','_docTransformIMECacheService','symbol','createElement','beginPath','column','_context','addEventListener','getVpScrollXYInfoByPosToVp','indexOf','ILocalCacheService','updateOfflineData','rgba(255,\x20255,\x20255,\x200.01)','text','SHEET_VIEWPORT_KEY','loadUnit','isTransformMutationsWithChangesetSuccess','_onCursorDelete','createInstance','session.will-retry','replace','_scheduleSaving','getLocalCacheKey','forwardRef','unshift','_memberService','range','CollaborationController','getCoordByCell','hide','902375iYQEed','_getSheetObject','runId','_scheduleHeartbeat','APPLY_REJECT','getDocRanges','SYNCED','UniverInstanceType','getSheetObject','getColor','transform','Failed','url(#$1','_toggleOnline','toRgbString','_setupSubUnitSync','_renderManagerService','_eventUnsubscribe','UniverSheets','UniverCollaborationClientUIPlugin','assignAColorForMemberID','pipe','handleInsertRangeMoveRight','m1Prime','reconnect','_onCursorUpdate','type','RemoveColCommandId','Error','ENSURE_SNAPSHOT_EXECUTION','unitId','BrowserCollaborationSocketService','switchMap','currentTheme$','LICENSE_IMPORT_SIZE_EXCEEDED','SOCKET_FAILED','_entityInit$','UniverProCollaboration','jsxs','COLORS','getAncestorScale','subscribeEvent','RevisionService','includes','assign','_colorAssignService','unload','_render','fill','getFocusedUnit','_collabCursorState$','eventID','substring','@univerjs/drawing','WECHAT_HAS_BEEN_BOUND','329bNQrFr','@univerjs/engine-formula','_startDocCollabCursor','_registerDependencies','MOBILE_VERIFY_CODE_MISMATCH','distinctUntilChanged','_document','/run/','PENDING','Subject','_status$','removeParam','onCommandExecuted','rxjs/operators','focused$','getSheetId','_collabSessionService','_initStatusListener','DocSelectionManagerService','white','YUUMI_RATE_OVER_LIMIT','_clearOtherTimers','YUUMI_URL_COL_OUT_OF_RANGE','url(#off-line-icon_clip0_910_343)','UniverProCollaborationClient','drawWith','_disabled','useDependency','_configService','INVITE_CODE_REQUIRED','_docStateChangeManagerService','_send','collab-client.tooltip.reconnect','IDocClipboardService','ticket','urlChange$','_transformService','_hovered','fillText','ISocketService','RECT','pluginName','clearTimeout','has','LICENSE_EXPORT_SIZE_EXCEEDED','DocCollaborationEntity','getConfig','SheetCollabCursorShape','_unitOnClients','MemberService','IRenderManagerService','_localCacheService','makeDirty','addClipboardHook','8VNQPpq','_univerInstanceService','getActiveSheet','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverEngineFormula','whenReady','_anchorDot','APPLY_NON_SEQUENTIAL_REVISION','textRanges','registerRenderModule','getOffsetConfig','getSheetBySheetId','fromEvent','_name','CollaborationSocketService','font','unsubscribe','_handleHeartbeatEvent','clsx','http://www.w3.org/2000/svg','backgroundColor','concat','toString','get','some','collabStatus.synced','sheetId','1em','override','invokeId','resize','stringify','exhaustSavingTask','complete','executionId','_removeCollabCursors','NOT_COLLAB','generateRandomId','1133372mWNzcO','values','connectInjector','dispose$','UNIVER_SHEET','ILogService','_id','Plugin','next','_createSocketURL','getUndoRedoMutationParamsCache','_getAnchorBounding','transformRemoteChangeset','data','setActiveRange','_refRangeService','registerComponent','_colorIndex','combineLatest','newValue','Tools','save','ThemeService','@univerjs/core','lineTo','debug','enableLocalCache','evenodd','JOIN_ROOM_FAILED','registerDependencies','MOBILE_HAS_BEEN_BOUND','InsertRowCommandId','EMAIL_VERIFY_CODE_MISMATCH','fillRule','random','_cursorShapes','entityInit$','_ensureSubject','permission.content','jiqing.500','measureText','OFFLINE','INVALID_ARGUMENT','getMergeData','setAlpha','SetWorksheetActivateCommand','mask','TEXT_RANGE_LAYER_INDEX','string','_onRefRangeChange','getRenderById','_init','contains','deserializeRangeWithSheet','_collaborationController','status$','_handleHover','getViewport','IURLService','_imageIoService','onPointerMove$','push','url(#on-line-icon_clip0_910_349)','fromEventSubject','EMAIL_HAS_BEEN_BOUND','rxjs','icon','getUnhiddenWorksheets','Inject','disposeUnit','saveImage','from','Module','createSocket','_range','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getSaveTimeout','PERMISSION_DENIED','@univerjs/sheets-ui','_hideTimer','setStateCache','_labelPosition','roomMembers$','operators','#FFF','defs','_initEntityListener','deepClone','getActiveRange','SetDocZoomRatioOperation','_handleLeaveEvent','_transformUndoRedoStack','APPLY_DUPLICATED','children','ranges','setConfig','body','replaceDocRanges','univer-mr-2\x20univer-flex\x20univer-text-xl','_roomMembers$','RxDisposable','YUUMI_UNABLE_LOAD_URL','popstate','_session','collaboration-client.offline-data-not-saved','_sheetSkeletonManagerService','BehaviorSubject','DesktopCollaborationStatusDisplayController','_commandService','M0\x200H16V16H0z','UniverCollaborationClientPlugin','_localeService','_collaborationUIEventService','3gIhQvM','97768nnaPHH','_handleEvent','Warning','getOwnPropertyDescriptor','cursorInfo','registerRefRange','startRow','cursorInfo$','key','LOGIN_FAILED','getUnitStatus$','svg','CollaborationDataLoaderController','mapTo','ColorKit','_scene','_initDependencies','off-line-icon','ISnapshotServerService','unitID','arc','redoState','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Workbook','displayName','useObservable','UNDEFINED','InsertRangeMoveRightCommandId','UNAUTHENTICATED','_selfUnitIDs','PY_RUNTIME_SCRIPT_ERROR','restore','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CHANGESET_REVISION_CONFILICT','session.collaboration-timeout','_messageService','blue.400','colorChannel1','SetSelectionsOperation','transformMutation','entries','findNodePositionByCharIndex','href','onRendered','_cursorInfo$','row','1090CTntQt','send','transformByState','DocStateChangeManagerService','serializeRangeWithSheet','undoState','NO_OTHER_CLIENTS_EDITING','editingUnit','SheetSkeletonManagerService','_initStatusComponent','_updateURLWithCurrentState','syncEditingCollabCursor','addObject','origin','CONFLICT','debounceTime','CONNECTOR_DATA_TOO_LARGE','addObjects','_assignedColors','getCurrentRevOfUnit','ALREADY_EXISTS','closePath','useRef','error','onPointerEnter$','ONLINE','_httpService','setItem','amd','bottom','YUUMI_ALL_TABLES_IS_INVALID','_docTransformStateCacheService','HTTPService','_updateSubUnitFromURLParams','UNRECOGNIZED','_setupBeforeClosingHandler','EffectRefRangId','_revisionService','top','path','prototype','AWAITING_WITH_PENDING','COMPLETION_FINISHED','UNIVER_DOC','init','DEFAULT_WS_SESSION_TICKET_URL','YUUMI_AI_RUN_FAILED','@univerjs/engine-render','currentColor','doc.mutation.rich-text-editing','IUIPartsService','height','length','_shapes','LICENSE_DISTRO_REJECTED','getUnitId','UnitStatus','[RemoteUniscriptService]:\x20no\x20focused\x20unit','84264qTbzzi','endRow','RegularPolygon','round','tag','split','InsertRangeMoveDownCommandId','_injector','color','_initResize','DependentOn','debounce','_scheduleClearOtherTimer','fillStyle','jsx','_textBubble','div','on-line-icon_clip0_910_349','transformStateCache','defIds','Shape','Disposable','size','getValue','handleMoveRange','name','WebBrowserSingleActiveUnitService','executeCommand','_refreshCollabCursors','collabStatus.fetchMiss','DeleteRangeMoveLeftCommandId','collabStatus.conflict','roomMembers','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_removeClearOtherTimer','DataLoaderService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onMouseMove','getMemberID','IUniverInstanceService','DocSkeletonManagerService','UniverRpc','hasOwnProperty','_docSyncEditingCollabCursorService','_transformHistoryAndStateStack','clearInterval','storage','asObservable','YUUMI_NO_CUBOID_FOR_QUESTION','subscribe','filter','TRANSFORM_CHANGE_OBSERVABLE_TYPE','LocaleService','function','5340933TTwIqH','CollaborationUIEventId','_drawAnchor','_initCommandExecutedListener','_entities','UniverDrawing','engine','on-line-icon','TOO_MANY_REQUESTS','_hover','collabStatus.syncing','CollaborationEvent','@univerjs/sheets','UniverDocsUi','_urlService','then','ACTIVE_UNIT_EVENT_CHANNEL','INVALID_INVITE_CODE','event$','LICENSE_MAX_UNITS_EXCEEDED','collab-text-range-','_cursors','onPointerLeave$','idSuffix','xlink:href','shareReplay','RefRangeService','INTERNAL_ERROR','getTypeOfUnitAdded$','registerBeforeClose','max','defineProperty','off-line-icon_clip0_910_343','_docClipboardService','translate(.97)','getStateCache','_online','_initEvent','handleDeleteRangeMoveLeft','OnLineIcon','pushState','isTransformMutationFailure','_color','disposeWithMe','setTimeout','MessageType','green.600','labelPosition','collabCursorState$','all','takeUntil','0\x200\x2016\x2016','16453dEwUvO','_syncEditingCollabCursorService','_startSheetCollabCursor','_saveCache','none','isActive','handleIRemoveCol','history','DocIMEInputManagerService','_saveTaskMap','_doCreateSocket','_backgroundColor','result','NOT_FOUND','_themeService','min','post','saveTaskMap','getMember','className','add','_anchor','transformSelections','map'];_0x2b57=function(){return _0x5c64ae;};return _0x2b57();}(function(_0x330ea5,_0x5d75af){const _0x2dfe2e=_0x3b2a,_0x44deb2=_0x330ea5();while(!![]){try{const _0x7badea=-parseInt(_0x2dfe2e(0x2e7))/0x1+parseInt(_0x2dfe2e(0x1a3))/0x2+-parseInt(_0x2dfe2e(0x214))/0x3*(parseInt(_0x2dfe2e(0x380))/0x4)+-parseInt(_0x2dfe2e(0x3a8))/0x5+-parseInt(_0x2dfe2e(0x27d))/0x6*(-parseInt(_0x2dfe2e(0x147))/0x7)+-parseInt(_0x2dfe2e(0x17d))/0x8*(parseInt(_0x2dfe2e(0x2b3))/0x9)+-parseInt(_0x2dfe2e(0x243))/0xa*(-parseInt(_0x2dfe2e(0x215))/0xb);if(_0x7badea===_0x5d75af)break;else _0x44deb2['push'](_0x44deb2['shift']());}catch(_0x2c4b25){_0x44deb2['push'](_0x44deb2['shift']());}}}(_0x2b57,0xb7e80),function(_0x434eb8,_0x4c0d31){const _0x158311=_0x3b2a;typeof exports==_0x158311(0x333)&&typeof module<'u'?_0x4c0d31(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=='function'&&define[_0x158311(0x25f)]?define(['exports',_0x158311(0x32f),'@univerjs-pro/collaboration-client',_0x158311(0x1ba),'@univerjs/ui',_0x158311(0x1e4),'@univerjs/design','react','@univerjs/rpc',_0x158311(0x2bf),_0x158311(0x272),'@univerjs/network',_0x158311(0x384),_0x158311(0x145),_0x158311(0x35e),'@univerjs/docs',_0x158311(0x148),_0x158311(0x154),_0x158311(0x1f1)],_0x4c0d31):(_0x434eb8=typeof globalThis<'u'?globalThis:_0x434eb8||self,_0x4c0d31(_0x434eb8['UniverProCollaborationClientUi']={},_0x434eb8['React'],_0x434eb8[_0x158311(0x15f)],_0x434eb8['UniverCore'],_0x434eb8['UniverUi'],_0x434eb8[_0x158311(0x1e4)],_0x434eb8[_0x158311(0x37e)],_0x434eb8['React'],_0x434eb8[_0x158311(0x2a6)],_0x434eb8[_0x158311(0x3ba)],_0x434eb8[_0x158311(0x343)],_0x434eb8['UniverNetwork'],_0x434eb8[_0x158311(0x2c0)],_0x434eb8[_0x158311(0x2b8)],_0x434eb8[_0x158311(0x3cd)],_0x434eb8[_0x158311(0x306)],_0x434eb8[_0x158311(0x181)],_0x434eb8[_0x158311(0x1e4)][_0x158311(0x1f6)],_0x434eb8['UniverSheetsUi']));}(this,function(_0x309383,_0x4108a3,_0x45d92a,_0x51234e,_0x55a91c,_0x5bbaf2,_0x5ab59c,_0x2da17c,_0xbc201,_0x2cb7cc,_0x5cd4ea,_0x34b1e7,_0x31dfa4,_0x11775c,_0x2bb387,_0x5886b2,_0x2966d1,_0x653998,_0x1f6c03){'use strict';const _0xbc4bab=_0x3b2a;var _0x44b040=Object[_0xbc4bab(0x2d2)],_0x146781=(_0x5b79f1,_0x3ba0bc,_0x516adb)=>_0x3ba0bc in _0x5b79f1?_0x44b040(_0x5b79f1,_0x3ba0bc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x516adb}):_0x5b79f1[_0x3ba0bc]=_0x516adb,_0x1e1d43=(_0x3a95a0,_0x8d50f5,_0x23f4f1)=>_0x146781(_0x3a95a0,typeof _0x8d50f5!=_0xbc4bab(0x38c)?_0x8d50f5+'':_0x8d50f5,_0x23f4f1),_0x1a6fea=function(){const _0x245c46=_0xbc4bab;return _0x1a6fea=Object[_0x245c46(0x3d4)]||function(_0x126ccf){const _0x41c5b7=_0x245c46;for(var _0x3be70d,_0x2e6727=0x1,_0x15c128=arguments[_0x41c5b7(0x277)];_0x2e6727<_0x15c128;_0x2e6727++){_0x3be70d=arguments[_0x2e6727];for(var _0x552dba in _0x3be70d)Object['prototype'][_0x41c5b7(0x2a7)][_0x41c5b7(0x320)](_0x3be70d,_0x552dba)&&(_0x126ccf[_0x552dba]=_0x3be70d[_0x552dba]);}return _0x126ccf;},_0x1a6fea[_0x245c46(0x350)](this,arguments);},_0x79352=function(_0x34e20a,_0x1372cd){const _0x236dc0=_0xbc4bab;var _0x51fcab={};for(var _0x2a96b3 in _0x34e20a)Object[_0x236dc0(0x26b)]['hasOwnProperty'][_0x236dc0(0x320)](_0x34e20a,_0x2a96b3)&&_0x1372cd[_0x236dc0(0x393)](_0x2a96b3)<0x0&&(_0x51fcab[_0x2a96b3]=_0x34e20a[_0x2a96b3]);if(_0x34e20a!=null&&typeof Object[_0x236dc0(0x349)]==_0x236dc0(0x2b2)){for(var _0x3c83bd=0x0,_0x2a96b3=Object[_0x236dc0(0x349)](_0x34e20a);_0x3c83bd<_0x2a96b3[_0x236dc0(0x277)];_0x3c83bd++)_0x1372cd['indexOf'](_0x2a96b3[_0x3c83bd])<0x0&&Object['prototype'][_0x236dc0(0x34b)]['call'](_0x34e20a,_0x2a96b3[_0x3c83bd])&&(_0x51fcab[_0x2a96b3[_0x3c83bd]]=_0x34e20a[_0x2a96b3[_0x3c83bd]]);}return _0x51fcab;},_0x4b2c24=_0x2da17c[_0xbc4bab(0x3a1)](function(_0x4135c1,_0x57b871){const _0x38f007=_0xbc4bab;var _0x236544=_0x4135c1[_0x38f007(0x1e5)],_0x3eca13=_0x4135c1['id'],_0x4e9e6d=_0x4135c1[_0x38f007(0x2fa)],_0xc95e8e=_0x4135c1[_0x38f007(0x301)],_0x3071a8=_0x79352(_0x4135c1,['icon','id',_0x38f007(0x2fa),_0x38f007(0x301)]),_0x1382b4='univerjs-icon\x20univerjs-icon-'[_0x38f007(0x192)](_0x3eca13,'\x20')[_0x38f007(0x192)](_0x4e9e6d||'')['trim'](),_0x16999a=_0x2da17c[_0x38f007(0x259)]('_'[_0x38f007(0x192)](_0x24ba15()));return _0x349d8d(_0x236544,''['concat'](_0x3eca13),{'defIds':_0x236544[_0x38f007(0x290)],'idSuffix':_0x16999a[_0x38f007(0x355)]},_0x1a6fea({'ref':_0x57b871,'className':_0x1382b4},_0x3071a8),_0xc95e8e);});function _0x349d8d(_0x250cf5,_0x1e8d64,_0x1c962e,_0x54e093,_0x2e4faa){const _0x4284b9=_0xbc4bab;return _0x2da17c[_0x4284b9(0x38d)](_0x250cf5[_0x4284b9(0x281)],_0x1a6fea(_0x1a6fea({'key':_0x1e8d64},_0x35d463(_0x250cf5,_0x1c962e,_0x2e4faa)),_0x54e093),(_0x50888c(_0x250cf5,_0x1c962e)[_0x4284b9(0x200)]||[])['map'](function(_0x18c7eb,_0x3bc92d){const _0x6c6dbe=_0x4284b9;return _0x349d8d(_0x18c7eb,''[_0x6c6dbe(0x192)](_0x1e8d64,'-')[_0x6c6dbe(0x192)](_0x250cf5['tag'],'-')['concat'](_0x3bc92d),_0x1c962e,void 0x0,_0x2e4faa);}));}function _0x35d463(_0x584736,_0x17a28f,_0x1e8d13){const _0x13c087=_0xbc4bab;var _0x2cf621=_0x1a6fea({},_0x584736[_0x13c087(0x32d)]);_0x1e8d13!=null&&_0x1e8d13[_0x13c087(0x23a)]&&_0x2cf621['fill']===_0x13c087(0x23a)&&(_0x2cf621[_0x13c087(0x3d8)]=_0x1e8d13[_0x13c087(0x23a)]),_0x584736[_0x13c087(0x281)]==='mask'&&_0x2cf621['id']&&(_0x2cf621['id']=_0x2cf621['id']+_0x17a28f['idSuffix']),Object[_0x13c087(0x23d)](_0x2cf621)[_0x13c087(0x35f)](function(_0x2faf39){const _0x22997e=_0x13c087;var _0x5cff4c=_0x2faf39[0x0],_0x2f08ee=_0x2faf39[0x1];_0x5cff4c===_0x22997e(0x1d1)&&typeof _0x2f08ee==_0x22997e(0x1d3)&&(_0x2cf621[_0x5cff4c]=_0x2f08ee[_0x22997e(0x39e)](/url\(#(.*)\)/,_0x22997e(0x3b4)['concat'](_0x17a28f['idSuffix'],')')));});var _0x5f5b5c=_0x17a28f['defIds'];return!_0x5f5b5c||_0x5f5b5c[_0x13c087(0x277)]===0x0||(_0x584736[_0x13c087(0x281)]===_0x13c087(0x37b)&&_0x2cf621['xlink:href']&&(_0x2cf621[_0x13c087(0x2cb)]=_0x2cf621[_0x13c087(0x2cb)]+_0x17a28f[_0x13c087(0x2ca)]),Object[_0x13c087(0x23d)](_0x2cf621)[_0x13c087(0x35f)](function(_0x249237){const _0x4e7ae7=_0x13c087;var _0xba2451=_0x249237[0x0],_0x47b2c1=_0x249237[0x1];typeof _0x47b2c1==_0x4e7ae7(0x1d3)&&(_0x2cf621[_0xba2451]=_0x47b2c1[_0x4e7ae7(0x39e)](/url\(#(.*)\)/,_0x4e7ae7(0x3b4)[_0x4e7ae7(0x192)](_0x17a28f[_0x4e7ae7(0x2ca)],')')));})),_0x2cf621;}function _0x50888c(_0x2e8b48,_0x305cb0){const _0x299c0b=_0xbc4bab;var _0x4bddb5,_0x5118e2=_0x305cb0[_0x299c0b(0x290)];return!_0x5118e2||_0x5118e2[_0x299c0b(0x277)]===0x0?_0x2e8b48:_0x2e8b48[_0x299c0b(0x281)]===_0x299c0b(0x1f8)&&(!((_0x4bddb5=_0x2e8b48[_0x299c0b(0x200)])===null||_0x4bddb5===void 0x0)&&_0x4bddb5['length'])?_0x1a6fea(_0x1a6fea({},_0x2e8b48),{'children':_0x2e8b48[_0x299c0b(0x200)]['map'](function(_0x1cbebe){const _0x4ffa3b=_0x299c0b;return typeof _0x1cbebe[_0x4ffa3b(0x32d)]['id']==_0x4ffa3b(0x1d3)&&_0x5118e2&&_0x5118e2[_0x4ffa3b(0x3d3)](_0x1cbebe[_0x4ffa3b(0x32d)]['id'])?_0x1a6fea(_0x1a6fea({},_0x1cbebe),{'attrs':_0x1a6fea(_0x1a6fea({},_0x1cbebe[_0x4ffa3b(0x32d)]),{'id':_0x1cbebe[_0x4ffa3b(0x32d)]['id']+_0x305cb0[_0x4ffa3b(0x2ca)]})}):_0x1cbebe;})}):_0x2e8b48;}function _0x24ba15(){const _0x2a8087=_0xbc4bab;return Math[_0x2a8087(0x1c5)]()[_0x2a8087(0x193)](0x24)[_0x2a8087(0x144)](0x2,0x8);}_0x4b2c24[_0xbc4bab(0x22d)]=_0xbc4bab(0x32c);var _0x3d19b5={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0xbc4bab(0x2e6),'width':_0xbc4bab(0x198),'height':_0xbc4bab(0x198)},'children':[{'tag':'g','attrs':{'clipPath':_0xbc4bab(0x15e)},'children':[{'tag':_0xbc4bab(0x26a),'attrs':{'stroke':_0xbc4bab(0x273),'d':_0xbc4bab(0x357),'strokeLinecap':_0xbc4bab(0x280),'strokeLinejoin':_0xbc4bab(0x280),'strokeWidth':1.2}}]},{'tag':_0xbc4bab(0x1f8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xbc4bab(0x2d3)},'children':[{'tag':_0xbc4bab(0x26a),'attrs':{'fill':_0xbc4bab(0x15a),'d':_0xbc4bab(0x210)}}]}]}],'defIds':[_0xbc4bab(0x2d3)]},_0x297683=_0x2da17c[_0xbc4bab(0x3a1)](function(_0x20abad,_0x1a39d8){const _0x507261=_0xbc4bab;return _0x2da17c[_0x507261(0x38d)](_0x4b2c24,Object[_0x507261(0x3d4)]({},_0x20abad,{'id':_0x507261(0x226),'ref':_0x1a39d8,'icon':_0x3d19b5}));});_0x297683[_0xbc4bab(0x22d)]='OffLineIcon';var _0x1559e2={'tag':_0xbc4bab(0x220),'attrs':{'xmlns':_0xbc4bab(0x190),'fill':_0xbc4bab(0x2eb),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0xbc4bab(0x198)},'children':[{'tag':'g','attrs':{'clipPath':_0xbc4bab(0x1e1)},'children':[{'tag':'path','attrs':{'stroke':_0xbc4bab(0x273),'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':_0xbc4bab(0x280),'strokeLinejoin':_0xbc4bab(0x280),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xbc4bab(0x28e)},'children':[{'tag':_0xbc4bab(0x26a),'attrs':{'fill':_0xbc4bab(0x15a),'d':_0xbc4bab(0x210),'transform':_0xbc4bab(0x2d5)}}]}]}],'defIds':[_0xbc4bab(0x28e)]},_0x519618=_0x2da17c[_0xbc4bab(0x3a1)](function(_0x38efe6,_0x5cd4f2){const _0x3bca7d=_0xbc4bab;return _0x2da17c[_0x3bca7d(0x38d)](_0x4b2c24,Object[_0x3bca7d(0x3d4)]({},_0x38efe6,{'id':_0x3bca7d(0x2ba),'ref':_0x5cd4f2,'icon':_0x1559e2}));});_0x519618[_0xbc4bab(0x22d)]=_0xbc4bab(0x2da);function _0x3ca4e6(_0x1d3690){const _0x416400=_0xbc4bab;switch(_0x1d3690){case _0x45d92a[_0x416400(0x33c)][_0x416400(0x1cc)]:return'collabStatus.offline';case _0x45d92a[_0x416400(0x33c)][_0x416400(0x251)]:return _0x416400(0x29c);case _0x45d92a['CollaborationStatus']['FETCH_MISS']:return _0x416400(0x29a);case _0x45d92a[_0x416400(0x33c)][_0x416400(0x1a1)]:return _0x416400(0x370);case _0x45d92a[_0x416400(0x33c)][_0x416400(0x386)]:case _0x45d92a[_0x416400(0x33c)][_0x416400(0x26c)]:return _0x416400(0x2bd);case _0x45d92a[_0x416400(0x33c)][_0x416400(0x3ae)]:case _0x45d92a['CollaborationStatus'][_0x416400(0x14f)]:return _0x416400(0x196);}}function _0x70e1eb(_0x134c72){const _0x374e33=_0xbc4bab,{status$:_0x45d259}=_0x134c72,_0x5b37be=_0x55a91c[_0x374e33(0x22e)](_0x45d259,_0x45d92a[_0x374e33(0x33c)][_0x374e33(0x1a1)]),_0x204790=_0x55a91c[_0x374e33(0x162)](_0x51234e[_0x374e33(0x2b1)]),_0x2d482a=_0x55a91c[_0x374e33(0x162)](_0x45d92a[_0x374e33(0x327)]),_0x2895ae=_0x5b37be!==_0x45d92a[_0x374e33(0x33c)][_0x374e33(0x1cc)],_0x9b076d=_0x204790['t'](_0x3ca4e6(_0x5b37be)),_0x34a400=_0x2895ae?_0x4108a3['jsx'](_0x519618,{}):_0x4108a3[_0x374e33(0x28b)](_0x297683,{}),_0x16c008=_0x2da17c[_0x374e33(0x337)](()=>{const _0x130684=_0x374e33;_0x2895ae||_0x2d482a[_0x130684(0x3c0)]();},[_0x2895ae,_0x2d482a]);function _0x4c9ac6(){const _0x54fb7e=_0x374e33;return _0x4108a3[_0x54fb7e(0x3ce)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x16c008,'children':[_0x4108a3[_0x54fb7e(0x28b)]('div',{'className':_0x5ab59c[_0x54fb7e(0x18f)](_0x54fb7e(0x205),{'univer-text-green-500':_0x2895ae,'univer-text-red-500':!_0x2895ae}),'children':_0x34a400}),_0x4108a3['jsx'](_0x54fb7e(0x28d),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x9b076d})]});}return _0x2895ae?_0x4c9ac6():_0x4108a3['jsx'](_0x5ab59c['Tooltip'],{'title':_0x204790['t'](_0x374e33(0x167)),'children':_0x4c9ac6()});}var _0x11a979=Object[_0xbc4bab(0x218)],_0x3fea47=(_0x187b77,_0x94055d,_0x4f8f86,_0x4b15b3)=>{const _0x5907dd=_0xbc4bab;for(var _0x5921f5=_0x4b15b3>0x1?void 0x0:_0x4b15b3?_0x11a979(_0x94055d,_0x4f8f86):_0x94055d,_0x2e84f8=_0x187b77[_0x5907dd(0x277)]-0x1,_0x48351e;_0x2e84f8>=0x0;_0x2e84f8--)(_0x48351e=_0x187b77[_0x2e84f8])&&(_0x5921f5=_0x48351e(_0x5921f5)||_0x5921f5);return _0x5921f5;},_0x5b8782=(_0x187dde,_0x4c4d44)=>(_0xfe6cae,_0x346f90)=>_0x4c4d44(_0xfe6cae,_0x346f90,_0x187dde);_0x309383[_0xbc4bab(0x20e)]=class extends _0x51234e['Disposable']{constructor(_0x1ea5fb,_0x12d938,_0x28757e,_0x77b3bb){const _0x39de58=_0xbc4bab;super(),_0x1e1d43(this,_0x39de58(0x151),new _0x5bbaf2['BehaviorSubject'](_0x45d92a[_0x39de58(0x33c)][_0x39de58(0x1a1)])),(this[_0x39de58(0x17e)]=_0x1ea5fb,this[_0x39de58(0x284)]=_0x12d938,this[_0x39de58(0x1d9)]=_0x28757e,this[_0x39de58(0x314)]=_0x77b3bb,this[_0x39de58(0x24c)](),this[_0x39de58(0x158)]());}[_0xbc4bab(0x158)](){const _0x3987c3=_0xbc4bab;this[_0x3987c3(0x2de)](this['_univerInstanceService'][_0x3987c3(0x155)]['pipe'](_0x5bbaf2[_0x3987c3(0x3c8)](()=>{const _0xff396d=_0x3987c3,_0x42dacf=this['_univerInstanceService'][_0xff396d(0x3d9)]();return _0x42dacf?this[_0xff396d(0x1d9)][_0xff396d(0x30e)](_0x42dacf[_0xff396d(0x27a)]()):_0x5bbaf2['of'](null);}),_0x5bbaf2[_0x3987c3(0x3c8)](_0x11dda3=>_0x11dda3?_0x11dda3[_0x3987c3(0x1da)]:_0x5bbaf2['of'](_0x45d92a[_0x3987c3(0x33c)]['NOT_COLLAB'])))[_0x3987c3(0x2ae)](_0x18d61a=>{const _0x2177ca=_0x3987c3;this[_0x2177ca(0x151)][_0x2177ca(0x1ab)](_0x18d61a);}));}[_0xbc4bab(0x24c)](){const _0x5eef0c=_0xbc4bab;this[_0x5eef0c(0x2de)](this[_0x5eef0c(0x314)][_0x5eef0c(0x1b3)](_0x55a91c['BuiltInUIPart']['HEADER_MENU'],()=>_0x55a91c[_0x5eef0c(0x1a5)](_0x566f53({'status$':this['_status$'][_0x5eef0c(0x2ac)]()}),this[_0x5eef0c(0x284)])));}},_0x309383[_0xbc4bab(0x20e)]=_0x3fea47([_0x5b8782(0x0,_0x51234e[_0xbc4bab(0x2a4)]),_0x5b8782(0x1,_0x51234e['Inject'](_0x51234e[_0xbc4bab(0x345)])),_0x5b8782(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a[_0xbc4bab(0x3a5)])),_0x5b8782(0x3,_0x55a91c[_0xbc4bab(0x275)])],_0x309383['DesktopCollaborationStatusDisplayController']);function _0x566f53(_0xc0a8ee){const {status$:_0x5c62c2}=_0xc0a8ee;return function(){const _0x410ee1=_0x3b2a;return _0x4108a3[_0x410ee1(0x28b)](_0x70e1eb,{'status$':_0x5c62c2});};}const _0x15568a=_0x51234e['createIdentifier']('uni.network.url-service');var _0x2cd2e4=Object['getOwnPropertyDescriptor'],_0x2b7d6c=(_0x250632,_0x5b9b48,_0x139cd1,_0x5c79d7)=>{const _0x182ab3=_0xbc4bab;for(var _0x51635e=_0x5c79d7>0x1?void 0x0:_0x5c79d7?_0x2cd2e4(_0x5b9b48,_0x139cd1):_0x5b9b48,_0x5a447a=_0x250632[_0x182ab3(0x277)]-0x1,_0x2306b2;_0x5a447a>=0x0;_0x5a447a--)(_0x2306b2=_0x250632[_0x5a447a])&&(_0x51635e=_0x2306b2(_0x51635e)||_0x51635e);return _0x51635e;},_0x451062=(_0x417f84,_0x427fcb)=>(_0x46bda2,_0x82900c)=>_0x427fcb(_0x46bda2,_0x82900c,_0x417f84);_0x309383[_0xbc4bab(0x221)]=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0x50ae3d,_0x51062d,_0x2a166e,_0x1539f8,_0x11a4e9){const _0x1b50e9=_0xbc4bab;super(),this[_0x1b50e9(0x2c1)]=_0x50ae3d,this[_0x1b50e9(0x2ff)]=_0x51062d,this[_0x1b50e9(0x20f)]=_0x2a166e,this[_0x1b50e9(0x373)]=_0x1539f8,_0x11a4e9?_0x11a4e9==null||_0x11a4e9[_0x1b50e9(0x182)]()[_0x1b50e9(0x2c2)](()=>this[_0x1b50e9(0x1d6)]()):(this[_0x1b50e9(0x2ff)][_0x1b50e9(0x1bc)]('[CollaborationDataLoaderController]',_0x1b50e9(0x37f)),this[_0x1b50e9(0x1d6)]());}async['_init'](){const _0x3c5492=_0xbc4bab,_0x525a25=this[_0x3c5492(0x2c1)][_0x3c5492(0x363)](_0x3c5492(0x387)),_0x1820b5=this['_urlService'][_0x3c5492(0x363)](_0x3c5492(0x3c2)),_0x337732=this[_0x3c5492(0x2c1)][_0x3c5492(0x363)](_0x3c5492(0x342));if(!_0x525a25||!_0x1820b5){this[_0x3c5492(0x2ff)][_0x3c5492(0x1bc)]('[CollaborationDataLoaderController]',_0x3c5492(0x325));return;}const _0x1dcc36=await this[_0x3c5492(0x373)][_0x3c5492(0x399)](_0x525a25,Number(_0x1820b5),_0x337732);_0x1dcc36&&_0x1dcc36 instanceof _0x51234e[_0x3c5492(0x22c)]&&this[_0x3c5492(0x3b7)](_0x1dcc36);}async[_0xbc4bab(0x3b7)](_0x5e29fc){const _0x3ef7f3=_0xbc4bab;await this[_0x3ef7f3(0x264)](_0x5e29fc),_0x5e29fc['activeSheet$'][_0x3ef7f3(0x3bd)](_0x5bbaf2[_0x3ef7f3(0x2e5)](this['dispose$']))[_0x3ef7f3(0x2ae)](_0x5d7282=>{const _0x455540=_0x3ef7f3;_0x5d7282&&this[_0x455540(0x24d)](_0x5d7282);}),this[_0x3ef7f3(0x2c1)][_0x3ef7f3(0x16a)][_0x3ef7f3(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x3ef7f3(0x1a6)]))['subscribe'](()=>this[_0x3ef7f3(0x264)](_0x5e29fc));}[_0xbc4bab(0x24d)](_0x29804c,_0x47ad90=!0x1){const _0x23c2b0=_0xbc4bab,_0x3aa05f=this['_urlService'][_0x23c2b0(0x363)](_0x23c2b0(0x342));_0x29804c['getSheetId']()!==_0x3aa05f&&this[_0x23c2b0(0x2c1)]['setParam'](_0x23c2b0(0x342),_0x29804c[_0x23c2b0(0x156)](),_0x47ad90);}async[_0xbc4bab(0x264)](_0x93fac){const _0x195cb5=_0xbc4bab;var _0x5eb42d;const _0x3dbdca=this[_0x195cb5(0x2c1)][_0x195cb5(0x363)](_0x195cb5(0x342));if(!_0x3dbdca||!_0x93fac['getSheetBySheetId'](_0x3dbdca)){const _0x4ff547=_0x93fac[_0x195cb5(0x1e6)]()[0x0],_0x5560e4=_0x93fac[_0x195cb5(0x188)](_0x4ff547);if(!_0x5560e4)return;this['_updateURLWithCurrentState'](_0x5560e4,!0x0),await this[_0x195cb5(0x20f)]['executeCommand'](_0x2cb7cc[_0x195cb5(0x1d0)]['id'],{'unitId':_0x93fac[_0x195cb5(0x27a)](),'subUnitId':_0x4ff547});return;}((_0x5eb42d=_0x93fac[_0x195cb5(0x17f)]())==null?void 0x0:_0x5eb42d[_0x195cb5(0x156)]())!==_0x3dbdca&&await this['_commandService'][_0x195cb5(0x298)](_0x2cb7cc[_0x195cb5(0x1d0)]['id'],{'unitId':_0x93fac[_0x195cb5(0x27a)](),'subUnitId':_0x3dbdca});}},_0x309383[_0xbc4bab(0x221)]=_0x2b7d6c([_0x451062(0x0,_0x15568a),_0x451062(0x1,_0x51234e[_0xbc4bab(0x1a8)]),_0x451062(0x2,_0x51234e[_0xbc4bab(0x30f)]),_0x451062(0x3,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a[_0xbc4bab(0x2a0)])),_0x451062(0x4,_0x51234e['Optional'](_0xbc201['IRemoteInstanceService']))],_0x309383[_0xbc4bab(0x221)]);var _0x9d09a8=Object[_0xbc4bab(0x218)],_0x25b248=(_0x27b364,_0x42e30b,_0x4a7dfe,_0x4b161c)=>{const _0x2ac653=_0xbc4bab;for(var _0x11a3bf=_0x4b161c>0x1?void 0x0:_0x4b161c?_0x9d09a8(_0x42e30b,_0x4a7dfe):_0x42e30b,_0x1066ea=_0x27b364[_0x2ac653(0x277)]-0x1,_0x4a1d67;_0x1066ea>=0x0;_0x1066ea--)(_0x4a1d67=_0x27b364[_0x1066ea])&&(_0x11a3bf=_0x4a1d67(_0x11a3bf)||_0x11a3bf);return _0x11a3bf;},_0x27abb4=(_0x2f643a,_0x41976c)=>(_0x256464,_0x5eb68d)=>_0x41976c(_0x256464,_0x5eb68d,_0x2f643a);let _0x25835a=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0x463654,_0x50b6ce){const _0x5370b5=_0xbc4bab;super(),this[_0x5370b5(0x2d4)]=_0x463654,this['_imageIoService']=_0x50b6ce,this[_0x5370b5(0x1d6)]();}[_0xbc4bab(0x1d6)](){const _0x15806f=_0xbc4bab,_0x42ffea=this;this[_0x15806f(0x2de)](this['_docClipboardService'][_0x15806f(0x17c)]({'onBeforePasteImage':async _0x90bc36=>{const _0x912d63=_0x15806f,_0x4a78fb=await _0x42ffea[_0x912d63(0x1de)][_0x912d63(0x1e9)](_0x90bc36);return _0x4a78fb?{'source':_0x4a78fb['source'],'imageSourceType':_0x4a78fb['imageSourceType']}:null;}}));}};_0x25835a=_0x25b248([_0x27abb4(0x0,_0x31dfa4[_0xbc4bab(0x168)]),_0x27abb4(0x1,_0x11775c['IImageIoService'])],_0x25835a);const _0x5ad886=[_0xbc4bab(0x367),_0xbc4bab(0x1ca),_0xbc4bab(0x2e1),_0xbc4bab(0x381),_0xbc4bab(0x239),_0xbc4bab(0x369)];class _0x54275e extends _0x51234e[_0xbc4bab(0x292)]{constructor(){const _0x455ec1=_0xbc4bab;super(...arguments),_0x1e1d43(this,_0x455ec1(0x255),new Map()),_0x1e1d43(this,_0x455ec1(0x1b4),0x0);}[_0xbc4bab(0x3bc)](_0x46af17){const _0x13e90c=_0xbc4bab;if(this['_assignedColors'][_0x13e90c(0x172)](_0x46af17))return this[_0x13e90c(0x255)][_0x13e90c(0x194)](_0x46af17);const _0x520d08=_0x5ad886[this[_0x13e90c(0x1b4)]];return this['_colorIndex']=(this[_0x13e90c(0x1b4)]+0x1)%_0x5ad886[_0x13e90c(0x277)],this[_0x13e90c(0x255)][_0x13e90c(0x36c)](_0x46af17,_0x520d08),_0x520d08;}}function _0x2bc99b(_0x3cd7bf){const _0x22e063=_0xbc4bab;let _0x603c9a='';for(const _0x363e38 of _0x3cd7bf){const {startOffset:_0xc07942,endOffset:_0x4b63ef,isActive:_0x470177,rangeType:_0x386ab7,segmentId:_0x17b528,segmentPage:_0xee2c3d}=_0x363e38;_0x603c9a[_0x22e063(0x277)]&&(_0x603c9a+=','),_0x603c9a+=_0xc07942+':'+_0x4b63ef+':'+(_0x470177?'1':'0')+':'+_0x386ab7+':'+_0x17b528+':'+_0xee2c3d;}return _0x603c9a;}function _0x3ff9a8(_0x504898){const _0x883f7e=_0xbc4bab,_0x432775=_0x504898[_0x883f7e(0x282)](','),_0xc399c9=[];for(const _0xcba303 of _0x432775){const [_0x205308,_0xef0bb9,_0x453c1f,_0x3f09ba,_0x502af3,_0x220249]=_0xcba303['split'](':');_0xc399c9[_0x883f7e(0x1e0)]({'startOffset':Number(_0x205308),'endOffset':Number(_0xef0bb9),'collapsed':_0x205308===_0xef0bb9,'isActive':_0x453c1f==='1','rangeType':_0x3f09ba===_0x51234e['DOC_RANGE_TYPE']['TEXT']?_0x51234e[_0x883f7e(0x335)]['TEXT']:_0x51234e[_0x883f7e(0x335)][_0x883f7e(0x16f)],'segmentId':typeof _0x502af3=='string'?String(_0x502af3):'','segmentPage':Number(_0x220249!=null?_0x220249:-0x1)});}return _0xc399c9[_0x883f7e(0x195)](_0x12511c=>_0x12511c[_0x883f7e(0x2ec)])||(_0xc399c9[0x0][_0x883f7e(0x2ec)]=!0x0),_0xc399c9;}class _0x143609 extends _0x51234e['RxDisposable']{constructor(){const _0x3cc35a=_0xbc4bab;super(...arguments),_0x1e1d43(this,'_collabCursorState$',new _0x5bbaf2[(_0x3cc35a(0x20d))](null)),_0x1e1d43(this,'collabCursorState$',this[_0x3cc35a(0x3da)][_0x3cc35a(0x2ac)]());}['syncEditingCollabCursor'](_0x20dfbe){const _0x32af61=_0xbc4bab,{unitID:_0x5a8d5e,memberID:_0x355146,textRanges:_0x54905a}=_0x20dfbe,_0x178513=_0x2bc99b(_0x54905a);if(_0x178513==='')return;const _0x597797={'unitID':_0x5a8d5e,'memberID':_0x355146,'selection':_0x178513};this['_collabCursorState$'][_0x32af61(0x1ab)](_0x597797);}}var _0x135f85=Object[_0xbc4bab(0x218)],_0x5314dd=(_0x4de90a,_0xe90b94,_0x224ebd,_0x51d61a)=>{const _0x539d49=_0xbc4bab;for(var _0x3da79e=_0x51d61a>0x1?void 0x0:_0x51d61a?_0x135f85(_0xe90b94,_0x224ebd):_0xe90b94,_0x5ab6b4=_0x4de90a[_0x539d49(0x277)]-0x1,_0x11b576;_0x5ab6b4>=0x0;_0x5ab6b4--)(_0x11b576=_0x4de90a[_0x5ab6b4])&&(_0x3da79e=_0x11b576(_0x3da79e)||_0x3da79e);return _0x3da79e;},_0x4b1656=(_0x646629,_0x1aa36a)=>(_0x11c498,_0x30daeb)=>_0x1aa36a(_0x11c498,_0x30daeb,_0x646629);const _0x1d3b69=0x12c,_0x71aeba=0x64;let _0x411e32=class extends _0x51234e['RxDisposable']{constructor(_0x28f29b,_0x451e3b,_0x387355,_0x575ee3,_0x336e31,_0x45fac7,_0x3635ae,_0x5f1e46,_0x4ecde9){const _0xc4c1b5=_0xbc4bab;super(),_0x1e1d43(this,_0xc4c1b5(0x2d7),!0x1),_0x1e1d43(this,'_init',!0x1),_0x1e1d43(this,_0xc4c1b5(0x241),new _0x5bbaf2[(_0xc4c1b5(0x20d))](new Map())),_0x1e1d43(this,_0xc4c1b5(0x21c),this[_0xc4c1b5(0x241)][_0xc4c1b5(0x2ac)]()),_0x1e1d43(this,_0xc4c1b5(0x206),new _0x5bbaf2['BehaviorSubject']([])),_0x1e1d43(this,_0xc4c1b5(0x1f5),this[_0xc4c1b5(0x206)][_0xc4c1b5(0x3bd)](_0x5bbaf2[_0xc4c1b5(0x252)](_0x1d3b69))),_0x1e1d43(this,_0xc4c1b5(0x371),_0x51234e['debounce'](_0x4d3fd6=>{const _0x49852c=_0xc4c1b5,_0x2998a7={'eventID':_0x2bb387[_0x49852c(0x2be)][_0x49852c(0x35c)],'data':{'unitID':this['unitID'],'memberID':this[_0x49852c(0x20a)]['getMemberID'](),'selection':_0x2bc99b(_0x4d3fd6)}};this[_0x49852c(0x20a)]['send'](_0x2998a7,this[_0x49852c(0x228)]);},_0x71aeba)),(this['unitID']=_0x28f29b,this[_0xc4c1b5(0x20a)]=_0x451e3b,this[_0xc4c1b5(0x284)]=_0x387355,this['_colorAssignService']=_0x575ee3,this[_0xc4c1b5(0x3a3)]=_0x336e31,this['_syncEditingCollabCursorService']=_0x45fac7,this[_0xc4c1b5(0x16b)]=_0x3635ae,this[_0xc4c1b5(0x17e)]=_0x5f1e46,this['_commandService']=_0x4ecde9);}get['cursorInfo'](){const _0x1987bb=_0xbc4bab;return this[_0x1987bb(0x241)]['getValue']();}get['roomMembers'](){const _0xe163e=_0xbc4bab;return this['_roomMembers$'][_0xe163e(0x294)]();}[_0xbc4bab(0x310)](){const _0x1717bc=_0xbc4bab;super['dispose'](),this[_0x1717bc(0x241)][_0x1717bc(0x1ab)](new Map()),this[_0x1717bc(0x241)][_0x1717bc(0x19e)](),this['_roomMembers$'][_0x1717bc(0x1ab)]([]),this[_0x1717bc(0x206)][_0x1717bc(0x19e)]();}[_0xbc4bab(0x26f)](){const _0x28658e=_0xbc4bab;this[_0x28658e(0x1d6)]||(this[_0x28658e(0x1d6)]=!0x0,this['_session'][_0x28658e(0x385)][_0x28658e(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x28658e(0x1a6)]))['subscribe'](_0x3f2ce0=>{const _0x38fb8f=_0x28658e;_0x3f2ce0===_0x45d92a['SessionStatus'][_0x38fb8f(0x25c)]?this[_0x38fb8f(0x3b5)]():this['_toggleOffline']();}),this[_0x28658e(0x20a)][_0x28658e(0x2c5)][_0x28658e(0x3bd)](_0x5bbaf2[_0x28658e(0x2e5)](this[_0x28658e(0x1a6)]))['subscribe'](_0xe0027b=>{const _0x501c36=_0x28658e,_0x3b85a0=_0xe0027b[_0x501c36(0x143)];_0x3b85a0===_0x2bb387[_0x501c36(0x2be)][_0x501c36(0x35c)]&&this[_0x501c36(0x3c1)](_0xe0027b),_0x3b85a0===_0x2bb387[_0x501c36(0x2be)]['USERS_LEAVE']&&this[_0x501c36(0x39b)](_0xe0027b);}),this[_0x28658e(0x2de)](this['_commandService'][_0x28658e(0x153)](_0x158ffb=>{const _0x5780d1=_0x28658e,_0x550c0f=_0x158ffb[_0x5780d1(0x32a)];_0x550c0f!=null&&this[_0x5780d1(0x2d7)]&&_0x158ffb['id']===_0x5886b2['SetTextSelectionsOperation']['id']&&_0x550c0f[_0x5780d1(0x3c6)]===this[_0x5780d1(0x228)]&&_0x550c0f['isEditing']===!0x1&&_0x550c0f[_0x5780d1(0x201)][_0x5780d1(0x277)]>0x0&&this[_0x5780d1(0x371)](_0x550c0f['ranges']);})),this[_0x28658e(0x2e8)][_0x28658e(0x2e3)][_0x28658e(0x3bd)](_0x5bbaf2[_0x28658e(0x2e5)](this['dispose$']))['subscribe'](_0x3c6004=>{const _0x4b44c5=_0x28658e;if((_0x3c6004==null?void 0x0:_0x3c6004['unitID'])!==this[_0x4b44c5(0x228)])return;const _0x30367d={'eventID':_0x2bb387[_0x4b44c5(0x2be)][_0x4b44c5(0x35c)],'data':_0x3c6004};this[_0x4b44c5(0x3c1)](_0x30367d);}),this[_0x28658e(0x2de)](this[_0x28658e(0x20f)][_0x28658e(0x153)](_0x42cee8=>{const _0x53b32d=_0x28658e;if(_0x42cee8[_0x53b32d(0x32a)]==null)return;const _0x517648=_0x42cee8['params'];if(_0x42cee8['id']!==_0x5886b2['RichTextEditingMutation']['id']||_0x517648[_0x53b32d(0x3c6)]!==this[_0x53b32d(0x228)])return;const _0x33f36f={'id':_0x53b32d(0x274),'params':_0x517648},_0x25f471=this['cursorInfo'];for(const [_0x5cfb35,_0x2a857e]of _0x25f471){const _0x41c25b={'id':_0x53b32d(0x274),'params':{'unitId':this[_0x53b32d(0x228)],'actions':null,'textRanges':_0x2a857e['ranges']}},_0x3d39ba=this[_0x53b32d(0x16b)]['transformMutation'](_0x33f36f,_0x41c25b,!0x1);if(_0x2bb387[_0x53b32d(0x2dc)](_0x3d39ba))throw _0x3d39ba[_0x53b32d(0x25a)];_0x25f471[_0x53b32d(0x36c)](_0x5cfb35,{..._0x2a857e,'ranges':_0x3d39ba['m2Prime'][_0x53b32d(0x32a)][_0x53b32d(0x185)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x25f471);});})));}['_onCursorUpdate'](_0x633321){const _0x40cd48=_0xbc4bab;var _0x271e4c,_0x5ef6b9;const {memberID:_0xe1c9cd,selection:_0x1c5cf5}=_0x633321[_0x40cd48(0x1b0)],_0x26f810=_0x3ff9a8(_0x1c5cf5),_0x264b32=(_0x5ef6b9=(_0x271e4c=this[_0x40cd48(0x3a3)]['getMember'](this['unitID'],_0xe1c9cd))==null?void 0x0:_0x271e4c[_0x40cd48(0x296)])!=null?_0x5ef6b9:_0x40cd48(0x329),_0x460aac={'color':this[_0x40cd48(0x3d5)][_0x40cd48(0x3bc)](_0xe1c9cd),'name':_0x264b32,'ranges':_0x26f810},_0x4d64b5=this[_0x40cd48(0x219)];_0x4d64b5['set'](_0xe1c9cd,_0x460aac),this[_0x40cd48(0x241)]['next'](_0x4d64b5);}[_0xbc4bab(0x39b)](_0x2629f7){const _0x2abb6d=_0xbc4bab,{memberID:_0x562829}=_0x2629f7['data'],_0x396260=this[_0x2abb6d(0x219)];_0x396260[_0x2abb6d(0x339)](_0x562829),this[_0x2abb6d(0x241)][_0x2abb6d(0x1ab)](_0x396260);}[_0xbc4bab(0x3b5)](){const _0x4994d3=_0xbc4bab;var _0x538095;if(this['_online']=!0x0,((_0x538095=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x538095[_0x4994d3(0x27a)]())!==this[_0x4994d3(0x228)])return;const _0x329b87=this[_0x4994d3(0x284)][_0x4994d3(0x194)](_0x5886b2['DocSelectionManagerService'])[_0x4994d3(0x3ad)]();Array[_0x4994d3(0x35b)](_0x329b87)&&_0x329b87[_0x4994d3(0x277)]>0x0&&this[_0x4994d3(0x371)](_0x329b87);}[_0xbc4bab(0x305)](){const _0x1436d4=_0xbc4bab;this[_0x1436d4(0x2d7)]=!0x1;}};_0x411e32=_0x5314dd([_0x4b1656(0x2,_0x51234e['Inject'](_0x51234e[_0xbc4bab(0x345)])),_0x4b1656(0x3,_0x51234e[_0xbc4bab(0x1e7)](_0x54275e)),_0x4b1656(0x4,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a[_0xbc4bab(0x178)])),_0x4b1656(0x5,_0x51234e[_0xbc4bab(0x1e7)](_0x143609)),_0x4b1656(0x6,_0x2bb387[_0xbc4bab(0x32e)]),_0x4b1656(0x7,_0x51234e[_0xbc4bab(0x2a4)]),_0x4b1656(0x8,_0x51234e[_0xbc4bab(0x30f)])],_0x411e32);var _0x381fae=Object['getOwnPropertyDescriptor'],_0xbbac47=(_0x5bf41c,_0x38627d,_0x504201,_0x25bf5d)=>{const _0x2a4a04=_0xbc4bab;for(var _0x7b8b1d=_0x25bf5d>0x1?void 0x0:_0x25bf5d?_0x381fae(_0x38627d,_0x504201):_0x38627d,_0x506634=_0x5bf41c[_0x2a4a04(0x277)]-0x1,_0x22bd70;_0x506634>=0x0;_0x506634--)(_0x22bd70=_0x5bf41c[_0x506634])&&(_0x7b8b1d=_0x22bd70(_0x7b8b1d)||_0x7b8b1d);return _0x7b8b1d;},_0x30b00e=(_0x18321e,_0x52c545)=>(_0x49143f,_0x36496e)=>_0x52c545(_0x49143f,_0x36496e,_0x18321e);const _0x3fa754=0x12c,_0x3c0e6d=0x64,_0x308728=()=>{let _0x41afff=[],_0x486f08=!0x1;return _0x58011c=>{const _0x2fefe7=_0x3b2a;_0x41afff[_0x2fefe7(0x1e0)](_0x58011c),_0x486f08||(_0x486f08=!0x0,setTimeout(()=>{const _0x3a0fd2=_0x2fefe7;_0x41afff[_0x3a0fd2(0x35f)](_0x205765=>_0x205765()),_0x41afff=[],_0x486f08=!0x1;}));};};let _0x6710a4=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0xd5de8d,_0x163a76,_0x4564ca,_0x577805,_0x25573a,_0x82e508,_0x42bf58,_0x3a471e){const _0x144185=_0xbc4bab;super(),_0x1e1d43(this,_0x144185(0x2d7),!0x1),_0x1e1d43(this,'_init',!0x1),_0x1e1d43(this,_0x144185(0x241),new _0x5bbaf2[(_0x144185(0x20d))](new Map())),_0x1e1d43(this,_0x144185(0x21c),this['_cursorInfo$'][_0x144185(0x2ac)]()),_0x1e1d43(this,_0x144185(0x206),new _0x5bbaf2[(_0x144185(0x20d))]([])),_0x1e1d43(this,_0x144185(0x1f5),this[_0x144185(0x206)][_0x144185(0x3bd)](_0x5bbaf2[_0x144185(0x252)](_0x3fa754))),_0x1e1d43(this,_0x144185(0x371),_0x51234e[_0x144185(0x288)]((_0x38bc5a,_0x553966)=>{const _0x2e4e38=_0x144185,_0x53d1f7={'eventID':_0x2bb387[_0x2e4e38(0x2be)][_0x2e4e38(0x35c)],'data':{'unitID':this[_0x2e4e38(0x228)],'memberID':this[_0x2e4e38(0x20a)][_0x2e4e38(0x2a3)](),'selection':_0x2966d1[_0x2e4e38(0x247)](_0x38bc5a,_0x553966[_0x2e4e38(0x3a4)])}};this[_0x2e4e38(0x20a)][_0x2e4e38(0x244)](_0x53d1f7,this['unitID']);},_0x3c0e6d)),(this[_0x144185(0x228)]=_0xd5de8d,this[_0x144185(0x20a)]=_0x163a76,this[_0x144185(0x284)]=_0x4564ca,this[_0x144185(0x3d5)]=_0x577805,this[_0x144185(0x3a3)]=_0x25573a,this[_0x144185(0x17e)]=_0x82e508,this[_0x144185(0x20f)]=_0x42bf58,this[_0x144185(0x1b2)]=_0x3a471e);}get[_0xbc4bab(0x219)](){const _0x548ca5=_0xbc4bab;return this[_0x548ca5(0x241)]['getValue']();}get[_0xbc4bab(0x29d)](){const _0x2ef32e=_0xbc4bab;return this[_0x2ef32e(0x206)]['getValue']();}['dispose'](){const _0x194801=_0xbc4bab;super[_0x194801(0x310)](),this[_0x194801(0x241)][_0x194801(0x1ab)](new Map()),this[_0x194801(0x241)][_0x194801(0x19e)](),this[_0x194801(0x206)][_0x194801(0x1ab)]([]),this[_0x194801(0x206)][_0x194801(0x19e)]();}[_0xbc4bab(0x26f)](){const _0x4b9e9f=_0xbc4bab;this[_0x4b9e9f(0x1d6)]||(this['_init']=!0x0,this[_0x4b9e9f(0x20a)][_0x4b9e9f(0x385)][_0x4b9e9f(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x4b9e9f(0x1a6)]))[_0x4b9e9f(0x2ae)](_0x37727e=>{const _0x438bc6=_0x4b9e9f;_0x37727e===_0x45d92a['SessionStatus'][_0x438bc6(0x25c)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x4b9e9f(0x20a)][_0x4b9e9f(0x2c5)][_0x4b9e9f(0x3bd)](_0x5bbaf2[_0x4b9e9f(0x2e5)](this[_0x4b9e9f(0x1a6)]))[_0x4b9e9f(0x2ae)](_0x31a727=>{const _0x4dc27b=_0x4b9e9f,_0x4492e7=_0x31a727['eventID'];_0x4492e7===_0x2bb387[_0x4dc27b(0x2be)][_0x4dc27b(0x35c)]&&this[_0x4dc27b(0x3c1)](_0x31a727),_0x4492e7===_0x2bb387['CollaborationEvent'][_0x4dc27b(0x319)]&&this['_onCursorDelete'](_0x31a727);}),this[_0x4b9e9f(0x1d4)](),this['disposeWithMe'](this['_commandService'][_0x4b9e9f(0x153)](_0x4d96d3=>{const _0x2b076e=_0x4b9e9f;if(this[_0x2b076e(0x2d7)]&&_0x4d96d3['id']===_0x2cb7cc[_0x2b076e(0x23b)]['id']&&_0x4d96d3[_0x2b076e(0x32a)][_0x2b076e(0x3c6)]===this['unitID']){const _0x204603=_0x4d96d3[_0x2b076e(0x32a)];this[_0x2b076e(0x371)](_0x204603[_0x2b076e(0x366)],_0x204603[_0x2b076e(0x359)][0x0]);}})));}[_0xbc4bab(0x3c1)](_0xc13aa7){const _0x406f55=_0xbc4bab;var _0x20a56c,_0x28562a;const {memberID:_0x247ddc,selection:_0x5aa9df}=_0xc13aa7[_0x406f55(0x1b0)],{sheetName:_0xdf1b05,range:_0x19a23d}=_0x2966d1[_0x406f55(0x1d8)](_0x5aa9df),_0x59ad5b={'name':(_0x28562a=(_0x20a56c=this[_0x406f55(0x3a3)][_0x406f55(0x2f9)](this[_0x406f55(0x228)],_0x247ddc))==null?void 0x0:_0x20a56c[_0x406f55(0x296)])!=null?_0x28562a:_0x406f55(0x329),'range':this[_0x406f55(0x31a)](_0xdf1b05,_0x19a23d),'sheetID':_0xdf1b05,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x247ddc),'selection':_0x5aa9df},_0x56fb7b=this[_0x406f55(0x219)];_0x56fb7b[_0x406f55(0x36c)](_0x247ddc,_0x59ad5b),this[_0x406f55(0x241)]['next'](_0x56fb7b);}[_0xbc4bab(0x39b)](_0x4d1fc9){const _0xa81bf8=_0xbc4bab,{memberID:_0x6cea8d}=_0x4d1fc9[_0xa81bf8(0x1b0)],_0x1cfed0=this[_0xa81bf8(0x219)];_0x1cfed0[_0xa81bf8(0x339)](_0x6cea8d),this[_0xa81bf8(0x241)][_0xa81bf8(0x1ab)](_0x1cfed0);}[_0xbc4bab(0x31a)](_0x3ec00c,_0x4186e1){const _0x444ae6=_0xbc4bab;var _0x2411a3,_0x444126;const _0x2bef74=(_0x444126=(_0x2411a3=this[_0x444ae6(0x17e)][_0x444ae6(0x368)](this[_0x444ae6(0x228)]))==null?void 0x0:_0x2411a3['getSheetBySheetId'](_0x3ec00c))==null?void 0x0:_0x444126[_0x444ae6(0x1ce)]();return(_0x2bef74==null?void 0x0:_0x2bef74['find'](_0x3f85c6=>_0x51234e[_0x444ae6(0x36b)][_0x444ae6(0x1d7)](_0x3f85c6,_0x4186e1)))||_0x4186e1;}['_onRefRangeChange'](){const _0x98dbf9=_0xbc4bab,_0x6f6f3a=new _0x51234e['DisposableCollection'](),_0x198f00=_0x308728(),_0xc2a8bf=()=>{const _0x4f184d=_0x3b2a;_0x6f6f3a[_0x4f184d(0x310)]();const _0x154ed6=(_0xf14553,_0x41a040,_0x53b833,_0x46bac4)=>{const _0xb22c7d=_0x4f184d;let _0x34b1eb=[];switch(_0xf14553['id']){case _0x2cb7cc[_0xb22c7d(0x267)][_0xb22c7d(0x29b)]:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x2d9)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)]['DeleteRangeMoveUpCommandId']:{_0x34b1eb=_0x2cb7cc['handleDeleteRangeMoveUp'](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)][_0xb22c7d(0x334)]:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x37c)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)][_0xb22c7d(0x283)]:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x31e)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc['EffectRefRangId'][_0xb22c7d(0x230)]:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x3be)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)][_0xb22c7d(0x1c2)]:{_0x34b1eb=_0x2cb7cc['handleInsertRow'](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)]['MoveRangeCommandId']:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x295)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)][_0xb22c7d(0x3c3)]:{_0x34b1eb=_0x2cb7cc[_0xb22c7d(0x2ed)](_0xf14553,_0x46bac4);break;}case _0x2cb7cc[_0xb22c7d(0x267)]['RemoveRowCommandId']:{_0x34b1eb=_0x2cb7cc['handleIRemoveRow'](_0xf14553,_0x46bac4);break;}}const _0x5d6fc6=_0x2cb7cc[_0xb22c7d(0x346)](_0x34b1eb,_0x46bac4),_0x629829=this['cursorInfo']['get'](_0x41a040);if(_0x629829&&_0x5d6fc6){const _0x62bb5a={..._0x629829,'range':_0x5d6fc6};this[_0xb22c7d(0x219)][_0xb22c7d(0x36c)](_0x41a040,_0x62bb5a),_0x198f00(()=>{const _0x38770e=_0xb22c7d,_0xe1b969=this[_0x38770e(0x1b2)]['registerRefRange'](_0x5d6fc6,_0x2c4b31=>(_0xe1b969['dispose'](),_0x154ed6(_0x2c4b31,_0x41a040,_0x53b833,_0x5d6fc6)));_0x6f6f3a[_0x38770e(0x2fb)](_0xe1b969);});}return{'redos':[],'undos':[]};};this[_0x4f184d(0x219)]['forEach']((_0x386b8c,_0x2fd282)=>{const _0x35d29f=_0x4f184d,{range:_0x33b3df,sheetID:_0xf8ba73}=_0x386b8c,_0x4bba6d=this['_refRangeService'][_0x35d29f(0x21a)](_0x33b3df,_0x8df1dc=>(_0x4bba6d[_0x35d29f(0x310)](),_0x154ed6(_0x8df1dc,_0x2fd282,_0xf8ba73,_0x33b3df)));_0x6f6f3a[_0x35d29f(0x2fb)](_0x4bba6d);});};this['disposeWithMe'](_0x51234e[_0x98dbf9(0x33a)](this[_0x98dbf9(0x241)]['subscribe'](()=>{_0xc2a8bf();})));}[_0xbc4bab(0x3b5)](){const _0x5a0583=_0xbc4bab;var _0x899b9d,_0x2cfc1e;if(this[_0x5a0583(0x2d7)]=!0x0,((_0x899b9d=this[_0x5a0583(0x17e)][_0x5a0583(0x3d9)]())==null?void 0x0:_0x899b9d[_0x5a0583(0x27a)]())!==this['unitID'])return;const _0x2317c8=(_0x2cfc1e=this[_0x5a0583(0x284)][_0x5a0583(0x194)](_0x2cb7cc['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x2cfc1e[0x0],_0x3c3a27=this[_0x5a0583(0x17e)]['getCurrentUnitForType'](_0x51234e[_0x5a0583(0x3af)]['UNIVER_SHEET'])['getActiveSheet']();_0x2317c8&&_0x3c3a27&&this['_updateLocalCursor'](_0x3c3a27[_0x5a0583(0x156)](),_0x2317c8);}[_0xbc4bab(0x305)](){const _0x54873d=_0xbc4bab;this[_0x54873d(0x2d7)]=!0x1;}};_0x6710a4=_0xbbac47([_0x30b00e(0x2,_0x51234e['Inject'](_0x51234e[_0xbc4bab(0x345)])),_0x30b00e(0x3,_0x51234e['Inject'](_0x54275e)),_0x30b00e(0x4,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a['MemberService'])),_0x30b00e(0x5,_0x51234e[_0xbc4bab(0x2a4)]),_0x30b00e(0x6,_0x51234e['ICommandService']),_0x30b00e(0x7,_0x51234e[_0xbc4bab(0x1e7)](_0x2cb7cc[_0xbc4bab(0x2cd)]))],_0x6710a4);var _0x1d4b03=Object[_0xbc4bab(0x218)],_0x2ca213=(_0x3502fb,_0x19b652,_0x1d29af,_0x56b4e4)=>{const _0x38c923=_0xbc4bab;for(var _0x41ab5f=_0x56b4e4>0x1?void 0x0:_0x56b4e4?_0x1d4b03(_0x19b652,_0x1d29af):_0x19b652,_0x81a2ea=_0x3502fb[_0x38c923(0x277)]-0x1,_0x3ec4d3;_0x81a2ea>=0x0;_0x81a2ea--)(_0x3ec4d3=_0x3502fb[_0x81a2ea])&&(_0x41ab5f=_0x3ec4d3(_0x41ab5f)||_0x41ab5f);return _0x41ab5f;},_0x30c703=(_0x2c9e68,_0x2ed25d)=>(_0x577557,_0x539522)=>_0x2ed25d(_0x577557,_0x539522,_0x2c9e68);let _0x217dd7=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0xd240db,_0x178801,_0x24ed35){const _0x448426=_0xbc4bab;super(),_0x1e1d43(this,_0x448426(0x2b7),new Map()),_0x1e1d43(this,_0x448426(0x3cc),new _0x5bbaf2[(_0x448426(0x150))]()),(this['_univerInstanceService']=_0xd240db,this[_0x448426(0x284)]=_0x178801,this[_0x448426(0x157)]=_0x24ed35,this[_0x448426(0x1d6)]());}[_0xbc4bab(0x310)](){const _0x5c5376=_0xbc4bab;super['dispose'](),this[_0x5c5376(0x3cc)][_0x5c5376(0x19e)](),this[_0x5c5376(0x2b7)]['forEach'](_0x3bece0=>_0x3bece0['dispose']());}[_0xbc4bab(0x336)](_0x1959fa){const _0x1b32b7=_0xbc4bab;return this[_0x1b32b7(0x2b7)][_0x1b32b7(0x172)](_0x1959fa)?this[_0x1b32b7(0x2b7)][_0x1b32b7(0x194)](_0x1959fa)[_0x1b32b7(0x21c)]:this['_entityInit$'][_0x1b32b7(0x3bd)](_0x5bbaf2[_0x1b32b7(0x2af)](_0x5336dc=>_0x5336dc[_0x1b32b7(0x228)]===_0x1959fa),_0x5bbaf2[_0x1b32b7(0x3c8)](_0x2613a3=>_0x2613a3[_0x1b32b7(0x21c)]));}[_0xbc4bab(0x1d6)](){const _0x132f0e=_0xbc4bab;this[_0x132f0e(0x17e)][_0x132f0e(0x2cf)](_0x51234e['UniverInstanceType'][_0x132f0e(0x1a7)])['pipe'](_0x5bbaf2['takeUntil'](this[_0x132f0e(0x1a6)]))['subscribe'](async _0x160503=>{const _0x581995=_0x132f0e,_0x3e7c42=_0x160503[_0x581995(0x27a)](),_0x1d1215=await this[_0x581995(0x2e9)](_0x3e7c42);this[_0x581995(0x3cc)][_0x581995(0x1ab)](_0x1d1215),this[_0x581995(0x2b7)][_0x581995(0x36c)](_0x3e7c42,_0x1d1215);}),this[_0x132f0e(0x17e)][_0x132f0e(0x2cf)](_0x51234e[_0x132f0e(0x3af)][_0x132f0e(0x26e)])[_0x132f0e(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x132f0e(0x1a6)]))[_0x132f0e(0x3bd)](_0x5bbaf2[_0x132f0e(0x2af)](_0x19eac5=>!_0x19eac5[_0x132f0e(0x27a)]()[_0x132f0e(0x304)]('__')))[_0x132f0e(0x2ae)](async _0x8c4f76=>{const _0x4b0106=_0x132f0e,_0x5177ca=_0x8c4f76[_0x4b0106(0x27a)](),_0x31208d=await this[_0x4b0106(0x149)](_0x5177ca);this[_0x4b0106(0x3cc)][_0x4b0106(0x1ab)](_0x31208d),this['_entities'][_0x4b0106(0x36c)](_0x5177ca,_0x31208d);}),_0x5bbaf2[_0x132f0e(0x374)](this[_0x132f0e(0x17e)]['getTypeOfUnitDisposed$'](_0x51234e['UniverInstanceType'][_0x132f0e(0x26e)]),this[_0x132f0e(0x17e)]['getTypeOfUnitDisposed$'](_0x51234e[_0x132f0e(0x3af)][_0x132f0e(0x1a7)]))[_0x132f0e(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x132f0e(0x1a6)]))['subscribe'](_0x251284=>{const _0x2de6cb=_0x132f0e,_0x8d42aa=_0x251284[_0x2de6cb(0x27a)](),_0x4e8ddc=this['_entities']['get'](_0x8d42aa);_0x4e8ddc&&(_0x4e8ddc[_0x2de6cb(0x310)](),this[_0x2de6cb(0x2b7)][_0x2de6cb(0x339)](_0x8d42aa));});}async[_0xbc4bab(0x2e9)](_0x3c5a35){const _0x3f42f5=_0xbc4bab,_0x43450f=await this['_collabSessionService']['requireSession'](_0x3c5a35),_0x11a6e9=this['_injector'][_0x3f42f5(0x39c)](_0x6710a4,_0x3c5a35,_0x43450f);return _0x11a6e9[_0x3f42f5(0x26f)](),_0x11a6e9;}async[_0xbc4bab(0x149)](_0x4517a3){const _0x1b92e9=_0xbc4bab,_0x49cd92=await this['_collabSessionService'][_0x1b92e9(0x358)](_0x4517a3),_0x4e9e82=this[_0x1b92e9(0x284)][_0x1b92e9(0x39c)](_0x411e32,_0x4517a3,_0x49cd92);return _0x4e9e82[_0x1b92e9(0x26f)](),_0x4e9e82;}};_0x217dd7=_0x2ca213([_0x30c703(0x0,_0x51234e['IUniverInstanceService']),_0x30c703(0x1,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e['Injector'])),_0x30c703(0x2,_0x51234e['Inject'](_0x45d92a[_0xbc4bab(0x327)]))],_0x217dd7);const _0x1c6139=0x14,_0x21f322=0xc8,_0x39817f=0x4,_0x4ca3a9=0x5;function _0x53b84c(_0x55853d,_0x3fa353){const _0x984b3b=_0xbc4bab;let {radius:_0x340f48,width:_0x4c9dd2,height:_0x2fff1a}=_0x3fa353;_0x340f48=_0x340f48!=null?_0x340f48:0x0,_0x4c9dd2=_0x4c9dd2!=null?_0x4c9dd2:0x1e,_0x2fff1a=_0x2fff1a!=null?_0x2fff1a:0x1e;let _0x398d7d=0x0,_0x18892a=0x0,_0x10febd=0x0;_0x398d7d=_0x18892a=_0x10febd=Math[_0x984b3b(0x2f6)](_0x340f48,_0x4c9dd2/0x2,_0x2fff1a/0x2),_0x55853d[_0x984b3b(0x38e)](),_0x55853d[_0x984b3b(0x383)](_0x398d7d,0x0),_0x55853d[_0x984b3b(0x1bb)](_0x4c9dd2-_0x18892a,0x0),_0x55853d[_0x984b3b(0x229)](_0x4c9dd2-_0x18892a,_0x18892a,_0x18892a,Math['PI']*0x3/0x2,0x0,!0x1),_0x55853d[_0x984b3b(0x1bb)](_0x4c9dd2,_0x2fff1a-_0x10febd),_0x55853d[_0x984b3b(0x229)](_0x4c9dd2-_0x10febd,_0x2fff1a-_0x10febd,_0x10febd,0x0,Math['PI']/0x2,!0x1),_0x55853d[_0x984b3b(0x1bb)](0x0,_0x2fff1a),_0x55853d[_0x984b3b(0x1bb)](0x0,_0x398d7d),_0x55853d[_0x984b3b(0x229)](_0x398d7d,_0x398d7d,_0x398d7d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x55853d[_0x984b3b(0x258)](),_0x3fa353[_0x984b3b(0x3d8)]&&(_0x55853d['save'](),_0x55853d[_0x984b3b(0x28a)]=_0x3fa353['fill'],_0x3fa353[_0x984b3b(0x1c4)]===_0x984b3b(0x1be)?_0x55853d[_0x984b3b(0x3d8)]('evenodd'):_0x55853d['fill'](),_0x55853d['restore']());}class _0x51e8ff extends _0x5cd4ea[_0xbc4bab(0x291)]{constructor(_0x5babf4,_0x454cbb){const _0x9e8d98=_0xbc4bab;super(_0x5babf4,_0x454cbb),_0x1e1d43(this,_0x9e8d98(0x285)),_0x1e1d43(this,'text'),(this['color']=_0x454cbb==null?void 0x0:_0x454cbb[_0x9e8d98(0x285)],this[_0x9e8d98(0x397)]=_0x454cbb==null?void 0x0:_0x454cbb[_0x9e8d98(0x397)]);}static[_0xbc4bab(0x160)](_0x298d38,_0xfe5bf1){const _0x2bf444=_0xbc4bab,{text:_0xa3f01d,color:_0x415509}=_0xfe5bf1;_0x298d38[_0x2bf444(0x1b8)](),_0x298d38[_0x2bf444(0x18c)]=_0x2bf444(0x30d);const _0x43bf18=_0x298d38[_0x2bf444(0x1cb)](_0xa3f01d)[_0x2bf444(0x354)],_0x1fade9=Math['min'](_0x43bf18+0x2*_0x39817f,_0x21f322);_0x53b84c(_0x298d38,{'height':_0x1c6139,'radius':0x4,'width':_0x1fade9,'fill':_0x415509}),_0x298d38[_0x2bf444(0x28a)]=_0x2bf444(0x1f7);const _0x2d2811=_0x39817f,_0x4555ed=_0x1c6139-_0x4ca3a9,_0x5a1fb2=_0x21f322-0x2*_0x39817f;if(_0x43bf18>_0x5a1fb2){let _0x9f824='',_0x5b6913=0x0;for(const _0x398958 of _0xa3f01d){const _0x2cceda=_0x298d38['measureText'](_0x398958)[_0x2bf444(0x354)];if(_0x5b6913+_0x2cceda<=_0x5a1fb2-_0x298d38[_0x2bf444(0x1cb)](_0x2bf444(0x30c))[_0x2bf444(0x354)])_0x9f824+=_0x398958,_0x5b6913+=_0x2cceda;else{_0x9f824+=_0x2bf444(0x30c);break;}}_0x298d38['fillText'](_0x9f824,_0x2d2811,_0x4555ed);}else _0x298d38[_0x2bf444(0x16d)](_0xa3f01d,_0x2d2811,_0x4555ed);_0x298d38[_0x2bf444(0x234)]();}[_0xbc4bab(0x378)](_0x50473c){const _0x251b81=_0xbc4bab;_0x51e8ff[_0x251b81(0x160)](_0x50473c,this);}}const _0x587ace=_0xbc4bab(0x309),_0x20b92a=_0xbc4bab(0x2c7),_0x30a0b3='collab-rect-range-',_0x2a16a4=0x6,_0x207d7b=1.5,_0x106f16=0x4,_0x3a2edd=1.5,_0x144465=_0xbc4bab(0x396);class _0x55d337{constructor(_0x9c4387,_0x2a5647,_0x9fa03d,_0x52344f){const _0x582808=_0xbc4bab;_0x1e1d43(this,_0x582808(0x278),[]),_0x1e1d43(this,_0x582808(0x2fc),null),_0x1e1d43(this,_0x582808(0x28c),null),_0x1e1d43(this,'_anchorDot',null),_0x1e1d43(this,_0x582808(0x1f2),null),_0x1e1d43(this,_0x582808(0x3b9),null),(this[_0x582808(0x315)]=_0x9c4387,this[_0x582808(0x224)]=_0x2a5647,this['_docSkeleton']=_0x9fa03d,this[_0x582808(0x14d)]=_0x52344f,this['_render']());}set[_0xbc4bab(0x2bc)](_0x2e7b4f){const _0x3345d4=_0xbc4bab;_0x2e7b4f?(this['_anchorDot']&&this[_0x3345d4(0x183)]['hide'](),this[_0x3345d4(0x28c)]&&this['_textBubble']['show']()):(this[_0x3345d4(0x183)]&&this[_0x3345d4(0x183)][_0x3345d4(0x34d)](),this['_textBubble']&&this[_0x3345d4(0x28c)][_0x3345d4(0x3a7)]());}[_0xbc4bab(0x310)](){const _0x389043=_0xbc4bab;for(const _0xf98d37 of this[_0x389043(0x278)])_0xf98d37[_0x389043(0x310)]();this[_0x389043(0x28c)]&&this[_0x389043(0x28c)][_0x389043(0x310)](),this[_0x389043(0x183)]&&this[_0x389043(0x183)][_0x389043(0x310)](),this[_0x389043(0x2fc)]&&this[_0x389043(0x2fc)][_0x389043(0x310)](),this['_eventUnsubscribe']&&this[_0x389043(0x3b9)]();}[_0xbc4bab(0x3d7)](){const _0x73d84b=_0xbc4bab;var _0x1ffe73;const {_docSkeleton:_0x156a5e,_document:_0x1994c3}=this,{color:_0x96ca92,name:_0x266aa5,ranges:_0x5cc8a0}=this[_0x73d84b(0x315)],_0x9de8b=_0x1994c3[_0x73d84b(0x187)](),{docsLeft:_0xf10e8b,docsTop:_0x41282e}=_0x9de8b,_0x155554=new _0x31dfa4['NodePositionConvertToCursor'](_0x9de8b,_0x156a5e);for(const {startOffset:_0x2a0dd0,endOffset:_0x177b49,rangeType:_0x310564,segmentId:_0x4f5155,segmentPage:_0x1ac6db,collapsed:_0x18271a,isActive:_0x5864c8}of _0x5cc8a0){const _0x14ff5e=_0x156a5e[_0x73d84b(0x23e)](_0x2a0dd0,!0x0,_0x4f5155,_0x1ac6db);let _0x1c5493=_0x156a5e['findNodePositionByCharIndex'](_0x177b49,!0x0,_0x4f5155,_0x1ac6db);if(_0x1c5493==null&&(_0x1c5493=_0x156a5e[_0x73d84b(0x23e)](_0x177b49-0x1,!0x1,_0x4f5155,_0x1ac6db)),_0x5864c8){const {contentBoxPointGroup:_0x2d3845}=_0x155554[_0x73d84b(0x30a)](_0x1c5493,_0x1c5493);if(_0x2d3845['length']===0x0)continue;this[_0x73d84b(0x2b5)](_0x96ca92,_0x2d3845,_0xf10e8b,_0x41282e,_0x266aa5),this[_0x73d84b(0x3b9)]=this[_0x73d84b(0x1db)]();}if(_0x14ff5e&&_0x1c5493){if(_0x310564===_0x51234e[_0x73d84b(0x335)][_0x73d84b(0x16f)]){const _0x52c002=new _0x31dfa4[(_0x73d84b(0x382))](_0x9de8b,_0x156a5e),{pointGroup:_0x97a940}=(_0x1ffe73=_0x52c002[_0x73d84b(0x30a)](_0x14ff5e,_0x1c5493))!=null?_0x1ffe73:{};if(_0x97a940==null||_0x97a940[_0x73d84b(0x277)]===0x0)continue;this['_drawRectRange'](_0x96ca92,_0x97a940,_0xf10e8b,_0x41282e);}else{if(!_0x18271a){const {borderBoxPointGroup:_0x2d70ce}=_0x155554[_0x73d84b(0x30a)](_0x14ff5e,_0x1c5493);if(_0x2d70ce['length']===0x0)continue;this[_0x73d84b(0x318)](_0x96ca92,_0x2d70ce,_0xf10e8b,_0x41282e);}}}}}[_0xbc4bab(0x2b5)](_0x4661ae,_0x3f473f,_0x49f445,_0x4459a7,_0x5b458c){const _0x5e60a8=_0xbc4bab,_0x5365f2=this[_0x5e60a8(0x1ae)](_0x3f473f),{left:_0xcfce4c,top:_0x1ffa5d,height:_0x1fbea0}=_0x5365f2,_0x2a8333=this[_0x5e60a8(0x31b)](),_0xc71ca6=_0x3a2edd/_0x2a8333,_0x58757c=new _0x5cd4ea['Rect'](_0x587ace+_0x51234e[_0x5e60a8(0x1a2)](_0x2a16a4),{'left':_0xcfce4c+_0x49f445-_0xc71ca6,'top':_0x1ffa5d+_0x4459a7,'height':_0x1fbea0,'width':_0x207d7b,'fill':_0x4661ae||_0x5cd4ea[_0x5e60a8(0x3b1)](_0x51234e['COLORS'][_0x5e60a8(0x34e)],0x0),'strokeWidth':_0xc71ca6,'stroke':_0x144465,'evented':!0x0});this[_0x5e60a8(0x2fc)]=_0x58757c,this['_scene'][_0x5e60a8(0x24f)](_0x58757c,_0x31dfa4['TEXT_RANGE_LAYER_INDEX']);const _0x26996c=new _0x5cd4ea[(_0x5e60a8(0x308))](_0x587ace+_0x51234e[_0x5e60a8(0x1a2)](_0x2a16a4),{'left':_0xcfce4c+_0x49f445-_0xc71ca6,'top':_0x1ffa5d+_0x4459a7-_0x106f16/0x2,'height':_0x106f16,'width':_0x106f16,'fill':_0x4661ae||_0x5cd4ea[_0x5e60a8(0x3b1)](_0x51234e[_0x5e60a8(0x3cf)][_0x5e60a8(0x34e)],0x0),'strokeWidth':0x0,'stroke':_0x4661ae||_0x5cd4ea[_0x5e60a8(0x3b1)](_0x51234e[_0x5e60a8(0x3cf)][_0x5e60a8(0x34e)],0x0),'evented':!0x1});this[_0x5e60a8(0x183)]=_0x26996c,this[_0x5e60a8(0x224)]['addObject'](_0x26996c,_0x31dfa4['TEXT_RANGE_LAYER_INDEX']);const _0x5ead2d=new _0x51e8ff(_0x587ace+_0x51234e[_0x5e60a8(0x1a2)](_0x2a16a4),{'left':_0xcfce4c+_0x49f445-_0xc71ca6,'top':_0x1ffa5d+_0x4459a7-_0x1c6139,'text':_0x5b458c,'color':_0x4661ae});this[_0x5e60a8(0x28c)]=_0x5ead2d,this['_scene'][_0x5e60a8(0x24f)](_0x5ead2d,_0x31dfa4['TEXT_RANGE_LAYER_INDEX']),this[_0x5e60a8(0x2bc)]=!0x1;}['_handleHover'](){const _0x4229fd=_0xbc4bab,_0x21b228=this['_anchor'][_0x4229fd(0x25b)][_0x4229fd(0x3d1)](()=>{this['_hover']=!0x0;}),_0x1b0438=this[_0x4229fd(0x2fc)][_0x4229fd(0x2c9)][_0x4229fd(0x3d1)](()=>{const _0x5b6ae8=_0x4229fd;this['_hideTimer']&&clearTimeout(this[_0x5b6ae8(0x1f2)]),this[_0x5b6ae8(0x1f2)]=setTimeout(()=>{const _0x3fb513=_0x5b6ae8;this[_0x3fb513(0x2bc)]=!0x1;},0x7d0);});return()=>{const _0x3d1e1c=_0x4229fd;_0x21b228[_0x3d1e1c(0x18d)](),_0x1b0438[_0x3d1e1c(0x18d)]();};}[_0xbc4bab(0x318)](_0x1af0d0,_0x5b0636,_0x5a5f31,_0x507d16){const _0x4d0e81=_0xbc4bab,_0x25091e=new _0x51234e[(_0x4d0e81(0x223))](_0x1af0d0)[_0x4d0e81(0x1cf)](0.2)[_0x4d0e81(0x3b6)](),_0x12ae73=new _0x5cd4ea[(_0x4d0e81(0x27f))](_0x20b92a+_0x51234e[_0x4d0e81(0x1a2)](_0x2a16a4),{'pointsGroup':_0x5b0636,'fill':_0x25091e||_0x5cd4ea[_0x4d0e81(0x3b1)](_0x51234e[_0x4d0e81(0x3cf)]['black'],0.2),'left':_0x5a5f31,'top':_0x507d16,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x12ae73),this[_0x4d0e81(0x224)]['addObject'](_0x12ae73,_0x31dfa4[_0x4d0e81(0x1d2)]);}['_drawRectRange'](_0x33c0ec,_0x25c021,_0x425a2b,_0x360856){const _0x14a618=_0xbc4bab,_0x28e4dd=new _0x51234e[(_0x14a618(0x223))](_0x33c0ec)[_0x14a618(0x1cf)](0.2)['toRgbString'](),_0x52e620=new _0x5cd4ea[(_0x14a618(0x27f))](_0x30a0b3+_0x51234e['generateRandomId'](_0x2a16a4),{'pointsGroup':_0x25c021,'fill':_0x28e4dd||_0x5cd4ea['getColor'](_0x51234e['COLORS']['black'],0.2),'left':_0x425a2b,'top':_0x360856,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x14a618(0x278)][_0x14a618(0x1e0)](_0x52e620),this[_0x14a618(0x224)][_0x14a618(0x24f)](_0x52e620,_0x31dfa4[_0x14a618(0x1d2)]);}[_0xbc4bab(0x1ae)](_0x21a136){const _0x1bb7bc=_0x21a136[0x0],_0x504e3b=_0x1bb7bc[0x0],_0x1825ff=_0x1bb7bc[0x2],{x:_0xd2a459,y:_0x42aebf}=_0x504e3b,{x:_0x4ffcfa,y:_0x2178fe}=_0x1825ff;return{'left':_0xd2a459,'top':_0x42aebf,'width':_0x4ffcfa-_0xd2a459,'height':_0x2178fe-_0x42aebf};}[_0xbc4bab(0x31b)](){const _0x42c99b=_0xbc4bab,{scaleX:_0xff029d,scaleY:_0xc99d0b}=this[_0x42c99b(0x224)]['getAncestorScale']();return Math[_0x42c99b(0x2d1)](_0xff029d,_0xc99d0b);}}var _0xec9485=Object[_0xbc4bab(0x218)],_0x1948c3=(_0x2e6f10,_0x4f49cd,_0x4b603c,_0x25f47f)=>{const _0x16d329=_0xbc4bab;for(var _0x14fa95=_0x25f47f>0x1?void 0x0:_0x25f47f?_0xec9485(_0x4f49cd,_0x4b603c):_0x4f49cd,_0x30c339=_0x2e6f10[_0x16d329(0x277)]-0x1,_0xade550;_0x30c339>=0x0;_0x30c339--)(_0xade550=_0x2e6f10[_0x30c339])&&(_0x14fa95=_0xade550(_0x14fa95)||_0x14fa95);return _0x14fa95;},_0x2c4f01=(_0x38e3f0,_0x3659f3)=>(_0x44c019,_0x46343b)=>_0x3659f3(_0x44c019,_0x46343b,_0x38e3f0);let _0x2b471f=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0x3ed30d,_0x3a83de,_0x465d74,_0xb17a8,_0x2dc27f){const _0x362bac=_0xbc4bab;super(),_0x1e1d43(this,_0x362bac(0x1c6),[]),_0x1e1d43(this,_0x362bac(0x2c8),[]),(this[_0x362bac(0x390)]=_0x3ed30d,this['_docSkeletonManagerService']=_0x3a83de,this['_collabCursorController']=_0x465d74,this[_0x362bac(0x20f)]=_0xb17a8,this[_0x362bac(0x2f5)]=_0x2dc27f,this[_0x362bac(0x1d6)]());}['_init'](){const _0x297abc=_0xbc4bab,_0x5352c4=this[_0x297abc(0x390)]['unitId'],_0x3c72ea=this[_0x297abc(0x348)];this[_0x297abc(0x2de)](_0x5bbaf2[_0x297abc(0x1b5)]([this['_collabCursorController'][_0x297abc(0x336)](_0x5352c4),this[_0x297abc(0x2f5)][_0x297abc(0x3c9)]])['pipe'](_0x653998[_0x297abc(0x2fe)](([_0x241807,_0x1e88fb])=>({'skeleton':_0x3c72ea[_0x297abc(0x312)](),'cursors':[..._0x241807[_0x297abc(0x1a4)]()]['flatMap'](_0x14d3b9=>({..._0x14d3b9,'color':this['_themeService']['getColorFromTheme'](_0x14d3b9['color'])}))})))[_0x297abc(0x2ae)](_0x113d00=>{const _0x3139fe=_0x297abc;if(this[_0x3139fe(0x1a0)](),_0x113d00){const {skeleton:_0x6054ec,cursors:_0xd459ac}=_0x113d00;this[_0x3139fe(0x33d)](_0x6054ec,_0xd459ac);}})),this[_0x297abc(0x286)](),this[_0x297abc(0x2b6)]();}[_0xbc4bab(0x33d)](_0x4a3c2c,_0x3774da){const _0x18fe3e=_0xbc4bab,{scene:_0x3d4c05,mainComponent:_0x35d431}=this[_0x18fe3e(0x390)],_0x15b3db=_0x3774da[_0x18fe3e(0x2fe)](_0x1727fc=>new _0x55d337(_0x1727fc,_0x3d4c05,_0x4a3c2c,_0x35d431));this[_0x18fe3e(0x1c6)]=_0x15b3db,this[_0x18fe3e(0x2c8)]=_0x3774da;}['_refreshCollabCursors'](){const _0x7b347b=_0xbc4bab;this[_0x7b347b(0x1a0)]();const {scene:_0x38444d,mainComponent:_0x2787e3}=this[_0x7b347b(0x390)],_0x1f80d2=this[_0x7b347b(0x348)]['getSkeleton'](),_0x28bf26=this[_0x7b347b(0x2c8)]['map'](_0x526e8b=>new _0x55d337(_0x526e8b,_0x38444d,_0x1f80d2,_0x2787e3));this[_0x7b347b(0x1c6)]=_0x28bf26;}[_0xbc4bab(0x1a0)](){const _0x52e1b7=_0xbc4bab;this['_cursorShapes'][_0x52e1b7(0x35f)](_0x2c395e=>_0x2c395e[_0x52e1b7(0x310)]()),this['_cursorShapes']=[];}[_0xbc4bab(0x2b6)](){const _0x4f0b93=_0xbc4bab,_0x3d9db2=[_0x31dfa4[_0x4f0b93(0x1fc)]['id']];this[_0x4f0b93(0x2de)](this[_0x4f0b93(0x20f)]['onCommandExecuted'](_0x3f4b55=>{const _0x527bbc=_0x4f0b93;_0x3d9db2['includes'](_0x3f4b55['id'])&&_0x3f4b55[_0x527bbc(0x32a)][_0x527bbc(0x3c6)]===this['_context'][_0x527bbc(0x3c6)]&&this['_refreshCollabCursors']();}));}[_0xbc4bab(0x286)](){const _0x11cc22=_0xbc4bab;this['disposeWithMe'](_0x51234e[_0x11cc22(0x1e2)](this[_0x11cc22(0x390)][_0x11cc22(0x2b9)]['onTransformChange$'])[_0x11cc22(0x3bd)](_0x653998[_0x11cc22(0x2af)](_0x1b5d11=>_0x1b5d11[_0x11cc22(0x3c2)]===_0x5cd4ea[_0x11cc22(0x2b0)][_0x11cc22(0x19b)]),_0x653998['throttleTime'](0x10))['subscribe'](()=>{const _0x3a0877=_0x11cc22;this[_0x3a0877(0x299)]();}));}};_0x2b471f=_0x1948c3([_0x2c4f01(0x1,_0x51234e[_0xbc4bab(0x1e7)](_0x5886b2[_0xbc4bab(0x2a5)])),_0x2c4f01(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x217dd7)),_0x2c4f01(0x3,_0x51234e[_0xbc4bab(0x30f)]),_0x2c4f01(0x4,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e['ThemeService']))],_0x2b471f);const _0x3c9a7a=0x1,_0x4be5a8=1.5;class _0xd3b6c4 extends _0x5cd4ea['Shape']{constructor(_0x4a7d1a,_0x536a76){const _0x13cae2=_0xbc4bab;super(_0x4a7d1a,_0x536a76),_0x1e1d43(this,_0x13cae2(0x2dd)),_0x1e1d43(this,_0x13cae2(0x16c),!0x1),_0x1e1d43(this,_0x13cae2(0x1ed)),_0x1e1d43(this,'_name',''),_0x1e1d43(this,_0x13cae2(0x1f4),'top'),_0x1e1d43(this,'_backgroundColor'),(_0x536a76&&this['setShapeProps'](_0x536a76),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x13cae2(0x33f)]({'hovered':!0x0})),this[_0x13cae2(0x2c9)][_0x13cae2(0x3d1)](()=>this[_0x13cae2(0x33f)]({'hovered':!0x1})));}['setShapeProps'](_0x3e8b74){const _0x4337bd=_0xbc4bab;var _0x546719,_0x33b169,_0x4f4dad,_0x4035c7,_0xcd0536,_0x147667;this['_color']=(_0x546719=_0x3e8b74[_0x4337bd(0x285)])!=null?_0x546719:this[_0x4337bd(0x2dd)],this[_0x4337bd(0x16c)]=(_0x33b169=_0x3e8b74[_0x4337bd(0x338)])!=null?_0x33b169:this[_0x4337bd(0x16c)],this['_range']=(_0x4f4dad=_0x3e8b74['range'])!=null?_0x4f4dad:this[_0x4337bd(0x1ed)],this['_name']=(_0x4035c7=_0x3e8b74['name'])!=null?_0x4035c7:this[_0x4337bd(0x18a)],this['_labelPosition']=(_0xcd0536=_0x3e8b74[_0x4337bd(0x2e2)])!=null?_0xcd0536:this[_0x4337bd(0x1f4)],this[_0x4337bd(0x2f2)]=(_0x147667=_0x3e8b74[_0x4337bd(0x191)])!=null?_0x147667:this[_0x4337bd(0x2f2)],this[_0x4337bd(0x245)]({'width':_0x3e8b74[_0x4337bd(0x354)],'height':_0x3e8b74[_0x4337bd(0x276)]});}[_0xbc4bab(0x2a2)](_0x58246f){const _0x15fefd=_0xbc4bab,{row:_0x107e6f,column:_0x2af828}=_0x58246f;if(_0x107e6f>=this['_range'][_0x15fefd(0x21b)]&&_0x107e6f<=this[_0x15fefd(0x1ed)][_0x15fefd(0x27e)]&&_0x2af828>=this[_0x15fefd(0x1ed)]['startColumn']&&_0x2af828<=this[_0x15fefd(0x1ed)][_0x15fefd(0x344)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x15fefd(0x33f)]({'hovered':!0x1});}[_0xbc4bab(0x321)](_0x5db6cf){return!0x1;}[_0xbc4bab(0x378)](_0xc6345f){const _0x6f81ab=_0xbc4bab;_0x5cd4ea[_0x6f81ab(0x308)][_0x6f81ab(0x160)](_0xc6345f,{'width':this[_0x6f81ab(0x354)],'height':this[_0x6f81ab(0x276)],'strokeWidth':_0x4be5a8,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x6f81ab(0x2f2)]}),this['_hovered']&&(_0xc6345f[_0x6f81ab(0x1b8)](),_0xc6345f[_0x6f81ab(0x3b2)](0x1,0x0,0x0,0x1,this[_0x6f81ab(0x354)],this[_0x6f81ab(0x1f4)]===_0x6f81ab(0x260)?0x0:-_0x1c6139),_0x51e8ff[_0x6f81ab(0x160)](_0xc6345f,{'text':this[_0x6f81ab(0x18a)],'color':this[_0x6f81ab(0x2dd)]}),_0xc6345f[_0x6f81ab(0x234)]());}}var _0x5a769e=Object[_0xbc4bab(0x218)],_0x192ad6=(_0x57264f,_0x3b253b,_0x3b0967,_0x40accb)=>{for(var _0xdae388=_0x40accb>0x1?void 0x0:_0x40accb?_0x5a769e(_0x3b253b,_0x3b0967):_0x3b253b,_0x331088=_0x57264f['length']-0x1,_0x388b1c;_0x331088>=0x0;_0x331088--)(_0x388b1c=_0x57264f[_0x331088])&&(_0xdae388=_0x388b1c(_0xdae388)||_0xdae388);return _0xdae388;},_0x1a7769=(_0x1b7b8b,_0xbcaa36)=>(_0x1cd72a,_0x51d30a)=>_0xbcaa36(_0x1cd72a,_0x51d30a,_0x1b7b8b);const _0x1a569e=0x1389;let _0x18b05d=class extends _0x51234e[_0xbc4bab(0x207)]{constructor(_0x1ab286,_0xbc6e25,_0x504d9f,_0x415a85){const _0x7e24de=_0xbc4bab;super(),_0x1e1d43(this,'_cursors',new Set()),_0x1e1d43(this,_0x7e24de(0x307),null),(this[_0x7e24de(0x390)]=_0x1ab286,this[_0x7e24de(0x20c)]=_0xbc6e25,this[_0x7e24de(0x351)]=_0x504d9f,this[_0x7e24de(0x2f5)]=_0x415a85,this[_0x7e24de(0x1d6)]());}['_init'](){const _0x24788d=_0xbc4bab;this[_0x24788d(0x20c)][_0x24788d(0x328)][_0x24788d(0x3bd)](_0x653998[_0x24788d(0x2e5)](this['dispose$']),_0x653998[_0x24788d(0x3c8)](_0x2f6e11=>{const _0x30f0e9=_0x24788d;if(_0x2f6e11){const _0x4aa408=_0x2f6e11[_0x30f0e9(0x197)];return _0x5bbaf2['combineLatest'](this[_0x30f0e9(0x351)][_0x30f0e9(0x336)](this[_0x30f0e9(0x390)]['unitId']),this['_themeService']['currentTheme$'])[_0x30f0e9(0x3bd)](_0x653998['map'](([_0x4ff885,_0x561f50])=>{const _0x474e5f=new Map();return _0x4ff885['forEach']((_0x431e9d,_0x2ac3dd)=>{const _0x5ea1ce=_0x3b2a;if(_0x431e9d['sheetID']===_0x4aa408){const _0x2f902e={..._0x431e9d};_0x2f902e[_0x5ea1ce(0x285)]=this['_themeService'][_0x5ea1ce(0x323)](_0x431e9d[_0x5ea1ce(0x285)]),_0x474e5f[_0x5ea1ce(0x36c)](_0x2ac3dd,_0x2f902e);}}),{'skeleton':_0x2f6e11,'cursors':_0x474e5f};}));}return _0x5bbaf2['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x51c0fe,cursors:_0x24e574})=>{const _0x1de29a=_0x24788d;this[_0x1de29a(0x1a0)](),_0x51c0fe&&this[_0x1de29a(0x33d)](_0x51c0fe,_0x24e574);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x24788d(0x2ae)](_0x37d07c=>{const _0x5fb73e=_0x24788d;if(_0x37d07c==null)return;const {skeleton:_0x4ce6c4}=_0x37d07c,{scene:_0x1c36e9}=this[_0x5fb73e(0x390)];_0x1c36e9[_0x5fb73e(0x1df)][_0x5fb73e(0x3d1)](_0x51234e[_0x5fb73e(0x288)](_0x189a86=>{const _0x2c2d61=_0x5fb73e;var _0x5d62e7,_0x575020;const {offsetX:_0x267497,offsetY:_0x33d6c3}=_0x189a86,{x:_0x3a93d5,y:_0x44fb6a}=_0x1c36e9['getRelativeToViewportCoord'](_0x5cd4ea['Vector2']['FromArray']([_0x267497,_0x33d6c3])),{scaleX:_0x57cc89,scaleY:_0x2e05dd}=_0x1c36e9[_0x2c2d61(0x3d0)](),_0x36bb73=_0x1c36e9[_0x2c2d61(0x1dc)](_0x5cd4ea[_0x2c2d61(0x398)][_0x2c2d61(0x341)]),_0x19b320=_0x1c36e9[_0x2c2d61(0x392)](_0x5cd4ea[_0x2c2d61(0x340)]['FromArray']([_0x3a93d5,_0x44fb6a]),_0x36bb73),_0x3128a9=_0x4ce6c4['getCellPositionByOffset'](_0x267497,_0x33d6c3,_0x57cc89,_0x2e05dd,_0x19b320);((_0x5d62e7=this[_0x2c2d61(0x307)])==null?void 0x0:_0x5d62e7[_0x2c2d61(0x38f)])===_0x3128a9[_0x2c2d61(0x38f)]&&((_0x575020=this[_0x2c2d61(0x307)])==null?void 0x0:_0x575020[_0x2c2d61(0x242)])===_0x3128a9[_0x2c2d61(0x242)]||this[_0x2c2d61(0x2c8)][_0x2c2d61(0x35f)](_0x47b9c3=>{const _0x2d9ea7=_0x2c2d61;_0x47b9c3[_0x2d9ea7(0x2a2)](_0x3128a9);});},0x64));});}[_0xbc4bab(0x33d)](_0x3111b8,_0x3e9b3b){const _0x4a1896=_0xbc4bab;var _0x2b2568;const _0x9c4f2e=(_0x2b2568=this[_0x4a1896(0x20c)][_0x4a1896(0x332)]())==null?void 0x0:_0x2b2568['skeleton'];if(!_0x9c4f2e)return;const _0x5d633a=this[_0x4a1896(0x3a9)]();if(!_0x5d633a)return;this[_0x4a1896(0x2c8)]['forEach'](_0x4cd7bc=>{const _0x21940e=_0x4a1896;_0x4cd7bc[_0x21940e(0x17b)]();});const {scene:_0x20b1a9}=_0x5d633a,_0x3d73f1=_0x473ebb(Array[_0x4a1896(0x1ea)](_0x3e9b3b['values']()))[_0x4a1896(0x2fe)](_0x37051c=>{const _0x525f05=_0x4a1896,{color:_0x2091e0,range:_0x5ebec5,name:_0x51ce23,selection:_0x2034d5,sheetID:_0x3f46d8}=_0x37051c,{startColumn:_0x4d67c6,startRow:_0x10ccdd,endColumn:_0x399398,endRow:_0x46fa96}=_0x5ebec5,_0x12823b=_0x1f6c03[_0x525f05(0x3a6)](_0x10ccdd,_0x4d67c6,_0x20b1a9,_0x9c4f2e),_0x28665f=_0x1f6c03[_0x525f05(0x3a6)](_0x46fa96,_0x399398,_0x20b1a9,_0x9c4f2e),{columnHeaderHeightAndMarginTop:_0x4d83ef}=_0x9c4f2e,{startX:_0x307936,startY:_0x5975e8}=_0x12823b,{endX:_0x38be68,endY:_0x2867bf}=_0x28665f,_0x39ea66=_0x38be68-_0x307936,_0x489c18=_0x2867bf-_0x5975e8,_0x2111b={'labelPosition':_0x5975e8-_0x4d83ef>=_0x1c6139?_0x525f05(0x269):'bottom','sheetID':_0x3f46d8,'range':_0x5ebec5,'color':_0x2091e0,'name':_0x51ce23,'selection':_0x2034d5,'left':_0x307936,'top':_0x5975e8,'width':_0x39ea66,'height':_0x489c18,'evented':!0x1,'zIndex':_0x1a569e};return new _0xd3b6c4(_0x51ce23,_0x2111b);});_0x20b1a9[_0x4a1896(0x254)](_0x3d73f1,_0x3c9a7a),this[_0x4a1896(0x2c8)]=new Set(_0x3d73f1);}[_0xbc4bab(0x1a0)](){const _0x33adc9=_0xbc4bab;var _0x104d3b;(_0x104d3b=this['_cursors'])==null||_0x104d3b[_0x33adc9(0x35f)](_0x559210=>_0x559210[_0x33adc9(0x310)]());}[_0xbc4bab(0x3a9)](){const _0x416fcc=_0xbc4bab;return _0x1f6c03[_0x416fcc(0x3b0)](this['_context'][_0x416fcc(0x387)],this[_0x416fcc(0x390)]);}};_0x18b05d=_0x192ad6([_0x1a7769(0x1,_0x51234e['Inject'](_0x1f6c03[_0xbc4bab(0x24b)])),_0x1a7769(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x217dd7)),_0x1a7769(0x3,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e[_0xbc4bab(0x1b9)]))],_0x18b05d);function _0x473ebb(_0x39c392){const _0x55c837=_0xbc4bab,_0x1f9fcf=new Map();return _0x39c392['forEach'](_0x331575=>{const _0x46029e=_0x3b2a;if(_0x1f9fcf['has'](_0x331575['selection'])){const _0x41087d=_0x1f9fcf[_0x46029e(0x194)](_0x331575[_0x46029e(0x361)]);_0x41087d['name']+=',\x20'+_0x331575['name'];}else _0x1f9fcf[_0x46029e(0x36c)](_0x331575[_0x46029e(0x361)],_0x331575);}),Array[_0x55c837(0x1ea)](_0x1f9fcf[_0x55c837(0x1a4)]());}var _0x4a35c8=Object[_0xbc4bab(0x218)],_0x5ae2e9=(_0x1bd111,_0xfa9fce,_0x6e7509,_0x74cf7a)=>{for(var _0x4cb41d=_0x74cf7a>0x1?void 0x0:_0x74cf7a?_0x4a35c8(_0xfa9fce,_0x6e7509):_0xfa9fce,_0x383d09=_0x1bd111['length']-0x1,_0x107ca3;_0x383d09>=0x0;_0x383d09--)(_0x107ca3=_0x1bd111[_0x383d09])&&(_0x4cb41d=_0x107ca3(_0x4cb41d)||_0x4cb41d);return _0x4cb41d;},_0x724ccf=(_0x4e8cf9,_0x113bed)=>(_0x4aaa01,_0x2a81a8)=>_0x113bed(_0x4aaa01,_0x2a81a8,_0x4e8cf9);let _0x18e095=class extends _0x51234e['Disposable']{constructor(_0x39144d,_0x28c449,_0x253553,_0x349cf0,_0xf8a4aa,_0x26d54c){const _0x210c42=_0xbc4bab;super(),this[_0x210c42(0x33e)]=_0x39144d,this[_0x210c42(0x17a)]=_0x28c449,this[_0x210c42(0x213)]=_0x253553,this[_0x210c42(0x238)]=_0x349cf0,this[_0x210c42(0x31f)]=_0xf8a4aa,this['_localeService']=_0x26d54c,this[_0x210c42(0x266)](),this[_0x210c42(0x2d8)]();}['_setupBeforeClosingHandler'](){const _0x496c62=_0xbc4bab;this[_0x496c62(0x2de)](this[_0x496c62(0x33e)][_0x496c62(0x2d0)](()=>{const _0xa9cf35=_0x496c62;if(this[_0xa9cf35(0x17a)][_0xa9cf35(0x2f8)][_0xa9cf35(0x293)])return this['_localeService']['t'](_0xa9cf35(0x20b));}));}[_0xbc4bab(0x2d8)](){const _0x32950f=_0xbc4bab;this['disposeWithMe'](this[_0x32950f(0x213)][_0x32950f(0x2c5)][_0x32950f(0x2ae)](_0x48f6ad=>{const _0x5de20d=_0x32950f;_0x48f6ad['id']===_0x45d92a['CollaborationUIEventId'][_0x5de20d(0x32b)]&&this[_0x5de20d(0x238)]['show']({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x217)],'content':this[_0x5de20d(0x212)]['t'](_0x5de20d(0x303))}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)][_0x5de20d(0x324)]&&this[_0x5de20d(0x238)]['show']({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x217)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)][_0x5de20d(0x1f0)]&&this[_0x5de20d(0x31f)][_0x5de20d(0x34d)]({'title':this['_localeService']['t'](_0x5de20d(0x375)),'content':this[_0x5de20d(0x212)]['t'](_0x5de20d(0x1c9)),'type':_0x5de20d(0x25a),'duration':0x0}),_0x48f6ad['id']===_0x45d92a['CollaborationUIEventId'][_0x5de20d(0x251)]&&this[_0x5de20d(0x238)]['show']({'type':_0x5ab59c[_0x5de20d(0x2e0)]['Error'],'content':this['_localeService']['t'](_0x5de20d(0x376))+'('+_0x48f6ad[_0x5de20d(0x1b0)]+')'}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)][_0x5de20d(0x1bf)]&&this['_messageService'][_0x5de20d(0x34d)]({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x217)],'content':this[_0x5de20d(0x212)]['t'](_0x48f6ad[_0x5de20d(0x1b0)]||'')}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)][_0x5de20d(0x362)]&&this['_messageService'][_0x5de20d(0x34d)]({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x217)],'content':this[_0x5de20d(0x212)]['t'](_0x5de20d(0x39d))}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)][_0x5de20d(0x3cb)]&&this[_0x5de20d(0x238)][_0x5de20d(0x34d)]({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x3c4)],'content':this[_0x5de20d(0x212)]['t']('session.connection-failed')}),_0x48f6ad['id']===_0x45d92a[_0x5de20d(0x2b4)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x5de20d(0x34d)]({'type':_0x5ab59c[_0x5de20d(0x2e0)][_0x5de20d(0x3c4)],'content':this[_0x5de20d(0x212)]['t'](_0x5de20d(0x237))});}));}};_0x18e095=_0x5ae2e9([_0x724ccf(0x0,_0x55a91c[_0xbc4bab(0x34a)]),_0x724ccf(0x1,_0x45d92a[_0xbc4bab(0x394)]),_0x724ccf(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a[_0xbc4bab(0x302)])),_0x724ccf(0x3,_0x55a91c[_0xbc4bab(0x379)]),_0x724ccf(0x4,_0x55a91c['INotificationService']),_0x724ccf(0x5,_0x51234e['Inject'](_0x51234e['LocaleService']))],_0x18e095);const _0x1cdf09='collaboration-client-ui.config',_0x50011c={};var _0x3c8c1f=Object[_0xbc4bab(0x218)],_0xbff0ef=(_0x5bd451,_0x4ffb72,_0x4ab1b8,_0x1a2dbc)=>{const _0x58e558=_0xbc4bab;for(var _0x391bcc=_0x1a2dbc>0x1?void 0x0:_0x1a2dbc?_0x3c8c1f(_0x4ffb72,_0x4ab1b8):_0x4ffb72,_0x477fba=_0x5bd451[_0x58e558(0x277)]-0x1,_0x4d8c06;_0x477fba>=0x0;_0x477fba--)(_0x4d8c06=_0x5bd451[_0x477fba])&&(_0x391bcc=_0x4d8c06(_0x391bcc)||_0x391bcc);return _0x391bcc;},_0x201c8b=(_0xc54310,_0x5bb752)=>(_0x25221f,_0x5ace66)=>_0x5bb752(_0x25221f,_0x5ace66,_0xc54310);let _0x100d73=class{constructor(_0xdb9bd4,_0x3791e9){const _0xabda9a=_0xbc4bab;this[_0xabda9a(0x16b)]=_0xdb9bd4,this[_0xabda9a(0x3b8)]=_0x3791e9;}['transformIMECache'](_0x46aad6){const _0x5ce009=_0xbc4bab;this[_0x5ce009(0x1fe)](_0x46aad6),this[_0x5ce009(0x37d)](_0x46aad6);}[_0xbc4bab(0x1af)](_0x2563d5){const _0x56d52a=_0xbc4bab,{unitID:_0x42a2a3}=_0x2563d5,_0x2c000e=this[_0x56d52a(0x3b8)][_0x56d52a(0x1d5)](_0x42a2a3)[_0x56d52a(0x36d)](_0x31dfa4[_0x56d52a(0x2ef)]),{redoCache:_0x41e601}=_0x2c000e[_0x56d52a(0x1ad)]();if(_0x41e601[_0x56d52a(0x277)]===0x0)return _0x2563d5;let _0x9859bc=_0x51234e['Tools'][_0x56d52a(0x1fa)](_0x2563d5['mutations'][0x0]);for(let _0x20d12e=0x0;_0x20d12e<_0x41e601[_0x56d52a(0x277)];_0x20d12e++){const _0x1e0819={'id':'doc.mutation.rich-text-editing','params':{..._0x41e601[_0x20d12e]}},_0x3df2b0=this[_0x56d52a(0x16b)]['transformMutation'](_0x9859bc,_0x1e0819,!0x1);if(_0x2bb387['isTransformMutationFailure'](_0x3df2b0))throw _0x3df2b0['error'];_0x9859bc=_0x3df2b0[_0x56d52a(0x3bf)];}return{..._0x51234e[_0x56d52a(0x1b7)][_0x56d52a(0x1fa)](_0x2563d5),'mutations':[_0x9859bc]};}[_0xbc4bab(0x1fe)](_0x2c4620){const _0x1e8c01=_0xbc4bab,{unitID:_0xf6ce9c}=_0x2c4620,_0x16da49=this['_renderManagerService'][_0x1e8c01(0x1d5)](_0xf6ce9c)[_0x1e8c01(0x36d)](_0x31dfa4['DocIMEInputManagerService']),{undoCache:_0x4785c2,redoCache:_0xc704c}=_0x16da49['getUndoRedoMutationParamsCache']();if(_0x4785c2[_0x1e8c01(0x277)]===0x0||_0xc704c[_0x1e8c01(0x277)]===0x0)return;const _0x2d5e59=[],_0x222743=[];let _0x4dc5a6=_0x51234e[_0x1e8c01(0x1b7)]['deepClone'](_0x2c4620['mutations'][0x0]),_0x93aaf0=_0x51234e[_0x1e8c01(0x1b7)][_0x1e8c01(0x1fa)](_0x2c4620['mutations'][0x0]);for(let _0x18f864=_0x4785c2['length']-0x1;_0x18f864>=0x0;_0x18f864--){const _0x21f444={'id':_0x1e8c01(0x274),'params':{..._0x4785c2[_0x18f864]}},_0x3fed0f={'id':_0x1e8c01(0x274),'params':{..._0xc704c[_0x18f864]}},_0x5529b2=this[_0x1e8c01(0x16b)][_0x1e8c01(0x23c)](_0x4dc5a6,_0x21f444,!0x1),_0x524911=this[_0x1e8c01(0x16b)]['transformMutation'](_0x93aaf0,_0x3fed0f,!0x1);if(_0x2bb387[_0x1e8c01(0x2dc)](_0x5529b2))throw _0x5529b2[_0x1e8c01(0x25a)];if(_0x2bb387['isTransformMutationFailure'](_0x524911))throw _0x524911[_0x1e8c01(0x25a)];_0x2d5e59['unshift'](_0x5529b2['m2Prime'][_0x1e8c01(0x32a)]),_0x222743[_0x1e8c01(0x3a2)](_0x524911[_0x1e8c01(0x317)]['params']),_0x4dc5a6=_0x5529b2[_0x1e8c01(0x3bf)],_0x93aaf0=_0x524911['m1Prime'];}_0x16da49[_0x1e8c01(0x356)]({'undoCache':_0x2d5e59,'redoCache':_0x222743});}[_0xbc4bab(0x37d)](_0x5781db){const _0x37aee9=_0xbc4bab,{unitID:_0x48e880}=_0x5781db,_0x2cde33=this[_0x37aee9(0x3b8)][_0x37aee9(0x1d5)](_0x48e880)[_0x37aee9(0x36d)](_0x31dfa4['DocIMEInputManagerService']),_0x5bdf7d=_0x2cde33[_0x37aee9(0x1fb)]();if(_0x5bdf7d==null)return;const _0x33eb6b=[{'id':_0x37aee9(0x274),'params':{'unitId':_0x5781db[_0x37aee9(0x228)],'actions':null,'textRanges':[_0x5bdf7d]}}],_0x18a266=this['_transformService']['transformMutationsWithChangeset'](_0x5781db,_0x33eb6b);if(!_0x2bb387['isTransformMutationsWithChangesetSuccess'](_0x18a266))throw _0x18a266[_0x37aee9(0x25a)];const _0x50518a=_0x18a266['m2Prime'][0x0]['params'][_0x37aee9(0x185)];Array[_0x37aee9(0x35b)](_0x50518a)&&_0x50518a[_0x37aee9(0x277)]&&_0x2cde33[_0x37aee9(0x1b1)](_0x50518a[0x0]);}};_0x100d73=_0xbff0ef([_0x201c8b(0x0,_0x2bb387[_0xbc4bab(0x32e)]),_0x201c8b(0x1,_0x5cd4ea[_0xbc4bab(0x179)])],_0x100d73);var _0x5d2aef=Object['getOwnPropertyDescriptor'],_0x4bba7a=(_0x5c66f9,_0x978b8f,_0x132707,_0x1f53df)=>{const _0x2fbf29=_0xbc4bab;for(var _0x232f14=_0x1f53df>0x1?void 0x0:_0x1f53df?_0x5d2aef(_0x978b8f,_0x132707):_0x978b8f,_0x325f0a=_0x5c66f9[_0x2fbf29(0x277)]-0x1,_0x27cb28;_0x325f0a>=0x0;_0x325f0a--)(_0x27cb28=_0x5c66f9[_0x325f0a])&&(_0x232f14=_0x27cb28(_0x232f14)||_0x232f14);return _0x232f14;},_0x296d0b=(_0x4c72ea,_0x488919)=>(_0x229f97,_0x56061b)=>_0x488919(_0x229f97,_0x56061b,_0x4c72ea);let _0x50e4fe=class{constructor(_0x44d28e,_0x4fbb72,_0x2edb5f){const _0x197de0=_0xbc4bab;this['_injector']=_0x44d28e,this['_transformService']=_0x4fbb72,this[_0x197de0(0x165)]=_0x2edb5f;}[_0xbc4bab(0x28f)](_0x197f75){const _0x54c8da=_0xbc4bab;this[_0x54c8da(0x2a9)](_0x197f75);}[_0xbc4bab(0x1af)](_0x2e89d4){const _0x20e9f7=_0xbc4bab,{unitID:_0x4700cd}=_0x2e89d4,{collaboration:_0x5b3b5b}=this['_docStateChangeManagerService']['getStateCache'](_0x4700cd);if(_0x5b3b5b[_0x20e9f7(0x277)]===0x0)return _0x2e89d4;let _0x4fe1df=_0x51234e[_0x20e9f7(0x1b7)][_0x20e9f7(0x1fa)](_0x2e89d4[_0x20e9f7(0x35d)][0x0]);for(let _0x4794c3=0x0;_0x4794c3<_0x5b3b5b['length'];_0x4794c3++){const _0x40dd66={'id':_0x20e9f7(0x274),'params':{'unitId':_0x5b3b5b[_0x4794c3][_0x20e9f7(0x3c6)],..._0x5b3b5b[_0x4794c3][_0x20e9f7(0x22a)]}},_0xb5f428=this[_0x20e9f7(0x16b)][_0x20e9f7(0x23c)](_0x4fe1df,_0x40dd66,!0x1);if(_0x2bb387[_0x20e9f7(0x2dc)](_0xb5f428))throw _0xb5f428[_0x20e9f7(0x25a)];_0x4fe1df=_0xb5f428['m1Prime'];}return{..._0x51234e[_0x20e9f7(0x1b7)][_0x20e9f7(0x1fa)](_0x2e89d4),'mutations':[_0x4fe1df]};}[_0xbc4bab(0x2a9)](_0x5d230d){const _0x274a07=_0xbc4bab,{unitID:_0x27d7db}=_0x5d230d,{history:_0x54803c,collaboration:_0x3f681b}=this[_0x274a07(0x165)][_0x274a07(0x2d6)](_0x27d7db);if(_0x54803c['length']===0x0&&_0x3f681b[_0x274a07(0x277)]===0x0)return;const _0x266a16=[],_0x396747=[];let _0x196d7f=_0x51234e['Tools'][_0x274a07(0x1fa)](_0x5d230d[_0x274a07(0x35d)][0x0]),_0x576291=_0x51234e['Tools'][_0x274a07(0x1fa)](_0x5d230d['mutations'][0x0]);for(let _0x52cf7a=_0x54803c[_0x274a07(0x277)]-0x1;_0x52cf7a>=0x0;_0x52cf7a--){const _0x2c5d61={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x54803c[_0x52cf7a]['unitId'],..._0x54803c[_0x52cf7a][_0x274a07(0x248)]}},_0x28ef87={'id':_0x274a07(0x274),'params':{'unitId':_0x54803c[_0x52cf7a][_0x274a07(0x3c6)],..._0x54803c[_0x52cf7a][_0x274a07(0x22a)]}},_0x155d5f=this[_0x274a07(0x16b)]['transformMutation'](_0x196d7f,_0x2c5d61,!0x1),_0x25fa24=this['_transformService'][_0x274a07(0x23c)](_0x576291,_0x28ef87,!0x1);if(_0x2bb387['isTransformMutationFailure'](_0x155d5f))throw _0x155d5f[_0x274a07(0x25a)];if(_0x2bb387[_0x274a07(0x2dc)](_0x25fa24))throw _0x25fa24['error'];_0x266a16['unshift']({..._0x54803c[_0x52cf7a],'undoState':_0x155d5f[_0x274a07(0x317)]['params'],'redoState':_0x25fa24[_0x274a07(0x317)]['params']}),_0x196d7f=_0x155d5f['m1Prime'],_0x576291=_0x25fa24[_0x274a07(0x3bf)];}_0x196d7f=_0x51234e[_0x274a07(0x1b7)]['deepClone'](_0x5d230d['mutations'][0x0]),_0x576291=_0x51234e['Tools'][_0x274a07(0x1fa)](_0x5d230d[_0x274a07(0x35d)][0x0]);for(let _0xcd9f33=_0x3f681b['length']-0x1;_0xcd9f33>=0x0;_0xcd9f33--){const _0x1139bf={'id':_0x274a07(0x274),'params':{'unitId':_0x3f681b[_0xcd9f33][_0x274a07(0x3c6)],..._0x3f681b[_0xcd9f33][_0x274a07(0x248)]}},_0x45a335={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3f681b[_0xcd9f33]['unitId'],..._0x3f681b[_0xcd9f33][_0x274a07(0x22a)]}},_0x13bba6=this['_transformService'][_0x274a07(0x23c)](_0x196d7f,_0x1139bf,!0x1),_0x45a035=this['_transformService'][_0x274a07(0x23c)](_0x576291,_0x45a335,!0x1);if(_0x2bb387[_0x274a07(0x2dc)](_0x13bba6))throw _0x13bba6[_0x274a07(0x25a)];if(_0x2bb387[_0x274a07(0x2dc)](_0x45a035))throw _0x45a035[_0x274a07(0x25a)];_0x396747[_0x274a07(0x3a2)]({..._0x3f681b[_0xcd9f33],'undoState':_0x13bba6[_0x274a07(0x317)]['params'],'redoState':_0x45a035['m2Prime'][_0x274a07(0x32a)]}),_0x196d7f=_0x13bba6[_0x274a07(0x3bf)],_0x576291=_0x45a035[_0x274a07(0x3bf)];}this[_0x274a07(0x165)][_0x274a07(0x1f3)](_0x27d7db,{'history':_0x266a16,'collaboration':_0x396747});}};_0x50e4fe=_0x4bba7a([_0x296d0b(0x0,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e[_0xbc4bab(0x345)])),_0x296d0b(0x1,_0x2bb387[_0xbc4bab(0x32e)]),_0x296d0b(0x2,_0x51234e['Inject'](_0x31dfa4[_0xbc4bab(0x246)]))],_0x50e4fe);var _0x5c483c=Object[_0xbc4bab(0x218)],_0x41b374=(_0x476903,_0x2a9e5a,_0x3d6261,_0x502bea)=>{const _0x42e749=_0xbc4bab;for(var _0x2d238f=_0x502bea>0x1?void 0x0:_0x502bea?_0x5c483c(_0x2a9e5a,_0x3d6261):_0x2a9e5a,_0x3ab61e=_0x476903[_0x42e749(0x277)]-0x1,_0x3a9e4a;_0x3ab61e>=0x0;_0x3ab61e--)(_0x3a9e4a=_0x476903[_0x3ab61e])&&(_0x2d238f=_0x3a9e4a(_0x2d238f)||_0x2d238f);return _0x2d238f;},_0x43dd00=(_0xd2132,_0x1aef7b)=>(_0x2e553c,_0x4a76a1)=>_0x1aef7b(_0x2e553c,_0x4a76a1,_0xd2132);let _0x4f6202=class{constructor(_0x4db58a,_0x307b26){const _0x445d03=_0xbc4bab;this[_0x445d03(0x284)]=_0x4db58a,this[_0x445d03(0x16b)]=_0x307b26;}[_0xbc4bab(0x2fd)](_0x923464){const _0x17590e=_0xbc4bab;var _0x55e80b;const _0x106b65=this[_0x17590e(0x284)][_0x17590e(0x194)](_0x5886b2[_0x17590e(0x159)]),_0x277be1=(_0x55e80b=_0x106b65['getDocRanges']())!=null?_0x55e80b:[];if(_0x277be1[_0x17590e(0x277)]===0x0)return;const _0x15d9c6=_0x923464[_0x17590e(0x228)],_0x680c30=[{'id':_0x17590e(0x274),'params':{'unitId':_0x15d9c6,'actions':null,'textRanges':_0x277be1}}],_0x2fbb36=this['_transformService']['transformMutationsWithChangeset'](_0x923464,_0x680c30);if(!_0x2bb387[_0x17590e(0x39a)](_0x2fbb36))throw _0x2fbb36[_0x17590e(0x25a)];const _0x218e8a=_0x2fbb36[_0x17590e(0x317)][0x0]['params'][_0x17590e(0x185)];Array[_0x17590e(0x35b)](_0x218e8a)&&_0x218e8a['length']&&_0x106b65[_0x17590e(0x204)](_0x218e8a,{'unitId':_0x15d9c6,'subUnitId':_0x15d9c6},!0x1);}};_0x4f6202=_0x41b374([_0x43dd00(0x0,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e[_0xbc4bab(0x345)])),_0x43dd00(0x1,_0x2bb387[_0xbc4bab(0x32e)])],_0x4f6202);var _0x16fa30=Object['getOwnPropertyDescriptor'],_0x1f1ca4=(_0x7b4ec4,_0x28cd1d,_0x45cdba,_0x10ef1f)=>{const _0x3b1cc4=_0xbc4bab;for(var _0x542933=_0x10ef1f>0x1?void 0x0:_0x10ef1f?_0x16fa30(_0x28cd1d,_0x45cdba):_0x28cd1d,_0x1225c3=_0x7b4ec4[_0x3b1cc4(0x277)]-0x1,_0x1c56e6;_0x1225c3>=0x0;_0x1225c3--)(_0x1c56e6=_0x7b4ec4[_0x1225c3])&&(_0x542933=_0x1c56e6(_0x542933)||_0x542933);return _0x542933;},_0x134264=(_0x2b6980,_0x5dfc51)=>(_0x1f8565,_0x31cd2e)=>_0x5dfc51(_0x1f8565,_0x31cd2e,_0x2b6980);let _0x32a49e=class extends _0x51234e[_0xbc4bab(0x292)]{constructor(_0x21922e,_0x4d7deb,_0x367d5a,_0x5ed105,_0x1096d9,_0x44f1cf,_0x1b5973,_0x113542){const _0x5d0a39=_0xbc4bab;super(),_0x1e1d43(this,_0x5d0a39(0x151),new _0x5bbaf2['BehaviorSubject'](_0x45d92a[_0x5d0a39(0x33c)]['NOT_COLLAB'])),(this[_0x5d0a39(0x165)]=_0x21922e,this[_0x5d0a39(0x1d9)]=_0x4d7deb,this['_docTransformIMECacheService']=_0x367d5a,this['_docTransformStateCacheService']=_0x5ed105,this[_0x5d0a39(0x311)]=_0x1096d9,this[_0x5d0a39(0x2a8)]=_0x44f1cf,this[_0x5d0a39(0x238)]=_0x1b5973,this[_0x5d0a39(0x212)]=_0x113542,this[_0x5d0a39(0x1f9)]());}[_0xbc4bab(0x1f9)](){const _0x510075=_0xbc4bab;this[_0x510075(0x2de)](this[_0x510075(0x1d9)][_0x510075(0x1c7)][_0x510075(0x2ae)](_0x39a332=>{const _0x486912=_0x510075,_0x1dcba2=this[_0x486912(0x165)]['docStateChange$']['subscribe'](_0xae32ca=>{const _0x3bd0eb=_0x486912;if(_0xae32ca==null)return;const {unitId:_0x31dc63,redoState:_0x13ba57,commandId:_0x439e3d}=_0xae32ca;if(_0x31dc63!==_0x39a332['unitID'])return;const _0xe92d4b={'id':_0x439e3d,'type':_0x51234e['CommandType']['MUTATION'],'params':{'unitId':_0x31dc63,'actions':_0x13ba57['actions'],'textRanges':null}};_0x39a332[_0x3bd0eb(0x353)](_0xe92d4b);});if(_0x39a332[_0x486912(0x2de)](_0x1dcba2),_0x39a332 instanceof _0x45d92a[_0x486912(0x174)]){const _0x283c1c={'onTransformIME':_0x20db89=>this[_0x486912(0x38b)][_0x486912(0x372)](_0x20db89),'onTransformState':_0x480139=>this[_0x486912(0x262)][_0x486912(0x28f)](_0x480139),'onTransformSelections':_0x273818=>this[_0x486912(0x311)][_0x486912(0x2fd)](_0x273818),'onSyncEditingCollabCursor':_0x4805db=>this[_0x486912(0x2a8)][_0x486912(0x24e)](_0x4805db),'onTransformRemoteChangesetByIMECache':_0x1b3575=>this[_0x486912(0x38b)][_0x486912(0x1af)](_0x1b3575),'onTransformRemoteChangesetByStateCache':_0x17e0d6=>this[_0x486912(0x262)][_0x486912(0x1af)](_0x17e0d6)};_0x39a332['addHandlerCallback'](_0x283c1c);}}));}};_0x32a49e=_0x1f1ca4([_0x134264(0x0,_0x51234e['Inject'](_0x31dfa4[_0xbc4bab(0x246)])),_0x134264(0x1,_0x51234e[_0xbc4bab(0x1e7)](_0x45d92a[_0xbc4bab(0x3a5)])),_0x134264(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x100d73)),_0x134264(0x3,_0x51234e[_0xbc4bab(0x1e7)](_0x50e4fe)),_0x134264(0x4,_0x51234e[_0xbc4bab(0x1e7)](_0x4f6202)),_0x134264(0x5,_0x51234e[_0xbc4bab(0x1e7)](_0x143609)),_0x134264(0x6,_0x55a91c[_0xbc4bab(0x379)]),_0x134264(0x7,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e[_0xbc4bab(0x2b1)]))],_0x32a49e);var _0x1ec460=Object[_0xbc4bab(0x218)],_0x9f8d86=(_0x1969d0,_0x41f126,_0x3a38f5,_0x54d541)=>{const _0x3ace21=_0xbc4bab;for(var _0x1d95ef=_0x54d541>0x1?void 0x0:_0x54d541?_0x1ec460(_0x41f126,_0x3a38f5):_0x41f126,_0x44349e=_0x1969d0[_0x3ace21(0x277)]-0x1,_0x19abc1;_0x44349e>=0x0;_0x44349e--)(_0x19abc1=_0x1969d0[_0x44349e])&&(_0x1d95ef=_0x19abc1(_0x1d95ef)||_0x1d95ef);return _0x1d95ef;},_0xc32f19=(_0xc32547,_0x544e7c)=>(_0x8fc481,_0x40cbd5)=>_0x544e7c(_0x8fc481,_0x40cbd5,_0xc32547);let _0x451cc3=class extends _0x51234e[_0xbc4bab(0x292)]{constructor(_0x2c05c2,_0x43f389,_0x186541){const _0x17b884=_0xbc4bab;super(),_0x1e1d43(this,'_cachedData',new Map()),_0x1e1d43(this,_0x17b884(0x2f0),new Map()),_0x1e1d43(this,'_disabled',!0x1),(this[_0x17b884(0x163)]=_0x2c05c2,this[_0x17b884(0x326)]=_0x43f389,this[_0x17b884(0x268)]=_0x186541);}['disableLocalCache'](){const _0x1dc3ac=_0xbc4bab;this[_0x1dc3ac(0x161)]=!0x0;}[_0xbc4bab(0x1bd)](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0xbc4bab(0x310)](){const _0x39cacc=_0xbc4bab;this[_0x39cacc(0x19d)]()[_0x39cacc(0x2c2)](()=>super[_0x39cacc(0x310)]());}async['loadOfflineData'](_0x3fc453){const _0x544961=_0xbc4bab;return this['_disabled']?null:this['_localStorageService'][_0x544961(0x36a)](_0x45d92a['getLocalCacheKey'](_0x3fc453));}async['saveOfflineData'](_0x2c168e,_0x3cca0d){const _0x30b0d4=_0xbc4bab;return!!this[_0x30b0d4(0x326)][_0x30b0d4(0x25e)](_0x2c168e,_0x3cca0d);}[_0xbc4bab(0x395)](_0x2d7fc3,_0x2606f7,_0x540d7d,_0x1b6ee9){const _0x296c53=_0xbc4bab,_0xa701e1=this[_0x296c53(0x268)][_0x296c53(0x256)](_0x2d7fc3);this['_cachedData'][_0x296c53(0x36c)](_0x2d7fc3,{'unitID':_0x2d7fc3,'type':_0x2606f7,'awaitingChangeset':_0x540d7d,'mutations':_0x1b6ee9,'rev':_0xa701e1}),this[_0x296c53(0x2f0)][_0x296c53(0x172)](_0x2d7fc3)||this[_0x296c53(0x39f)](_0x2d7fc3);}['_scheduleSaving'](_0x4a2235){const _0xae9d29=_0xbc4bab,_0x45b7b0=this[_0xae9d29(0x1ef)]();_0x45b7b0===0x0?this[_0xae9d29(0x2ea)](_0x4a2235):this[_0xae9d29(0x2f0)][_0xae9d29(0x36c)](_0x4a2235,setTimeout(()=>this['_saveCache'](_0x4a2235),_0x45b7b0));}[_0xbc4bab(0x1ef)](){const _0x41c2ce=_0xbc4bab;var _0x2433dc;return(_0x2433dc=this[_0x41c2ce(0x163)]['getConfig'](_0x45d92a['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x2433dc:_0x45d92a['LOCAL_CACHE_INTERVAL'];}[_0xbc4bab(0x2ea)](_0x2f8016){const _0x49f073=_0xbc4bab,_0x326cd5=this['_saveTaskMap']['get'](_0x2f8016);return _0x326cd5!==void 0x0&&window[_0x49f073(0x171)](_0x326cd5),this[_0x49f073(0x326)]['setItem'](_0x45d92a[_0x49f073(0x3a0)](_0x2f8016),this[_0x49f073(0x36e)]['get'](_0x2f8016))[_0x49f073(0x2c2)](()=>this[_0x49f073(0x2f0)]['delete'](_0x2f8016));}async[_0xbc4bab(0x19d)](){const _0x580716=_0xbc4bab,_0x3da8be=[];this[_0x580716(0x2f0)][_0x580716(0x35f)]((_0x55de4d,_0xe91bad)=>{const _0xd8a44c=_0x580716;window[_0xd8a44c(0x171)](_0x55de4d),_0x3da8be[_0xd8a44c(0x1e0)](this[_0xd8a44c(0x2ea)](_0xe91bad)['then'](()=>{const _0x5c501a=_0xd8a44c;this[_0x5c501a(0x2f0)][_0x5c501a(0x339)](_0xe91bad);}));}),await Promise[_0x580716(0x2e4)](_0x3da8be);}};_0x451cc3=_0x9f8d86([_0xc32f19(0x0,_0x51234e[_0xbc4bab(0x388)]),_0xc32f19(0x1,_0x51234e['ILocalStorageService']),_0xc32f19(0x2,_0x51234e[_0xbc4bab(0x1e7)](_0x2bb387[_0xbc4bab(0x3d2)]))],_0x451cc3);class _0x196ee5 extends _0x51234e[_0xbc4bab(0x207)]{constructor(){const _0x3f9c29=_0xbc4bab;super(),_0x1e1d43(this,_0x3f9c29(0x16a)),this[_0x3f9c29(0x16a)]=_0x5bbaf2[_0x3f9c29(0x189)](window,_0x3f9c29(0x209))[_0x3f9c29(0x3bd)](_0x5bbaf2['takeUntil'](this[_0x3f9c29(0x1a6)]),_0x5bbaf2[_0x3f9c29(0x2cc)](0x1),_0x5bbaf2[_0x3f9c29(0x222)](void 0x0));}[_0xbc4bab(0x377)](_0x225682,_0x49410b,_0x4e6c5c=!0x1){const _0x2d2dec=_0xbc4bab,_0x272449=new URL(window['location'][_0x2d2dec(0x23f)]);_0x272449[_0x2d2dec(0x31d)][_0x2d2dec(0x36c)](_0x225682,_0x49410b),_0x4e6c5c?window[_0x2d2dec(0x2ee)][_0x2d2dec(0x34c)]('','',_0x272449[_0x2d2dec(0x193)]()):window[_0x2d2dec(0x2ee)][_0x2d2dec(0x2db)]('','',_0x272449[_0x2d2dec(0x193)]());}[_0xbc4bab(0x152)](_0x5a4a85,_0x5c6bef=!0x1){const _0x564b89=_0xbc4bab,_0x47e7f1=new URL(window['location'][_0x564b89(0x23f)]);_0x47e7f1[_0x564b89(0x31d)][_0x564b89(0x339)](_0x5a4a85),_0x5c6bef?window['history']['replaceState']('','',_0x47e7f1[_0x564b89(0x193)]()):window['history'][_0x564b89(0x2db)]('','',_0x47e7f1[_0x564b89(0x193)]());}['getParam'](_0x13d196){const _0x536445=_0xbc4bab;var _0x2f8855;return(_0x2f8855=new URL(window['location']['href'])[_0x536445(0x31d)][_0x536445(0x194)](_0x13d196))!=null?_0x2f8855:void 0x0;}}var _0x3a7a76=Object[_0xbc4bab(0x2d2)],_0x4a6166=Object[_0xbc4bab(0x218)],_0x313367=(_0x59fb4a,_0x7385f5,_0x4fe831)=>_0x7385f5 in _0x59fb4a?_0x3a7a76(_0x59fb4a,_0x7385f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fe831}):_0x59fb4a[_0x7385f5]=_0x4fe831,_0xceb087=(_0xea70a3,_0x567f62,_0x274fc7,_0x33ae52)=>{const _0x44e3fb=_0xbc4bab;for(var _0x3fa41b=_0x33ae52>0x1?void 0x0:_0x33ae52?_0x4a6166(_0x567f62,_0x274fc7):_0x567f62,_0x9aa966=_0xea70a3[_0x44e3fb(0x277)]-0x1,_0x48d93b;_0x9aa966>=0x0;_0x9aa966--)(_0x48d93b=_0xea70a3[_0x9aa966])&&(_0x3fa41b=_0x48d93b(_0x3fa41b)||_0x3fa41b);return _0x3fa41b;},_0x1674eb=(_0x5932eb,_0x4f0bb6)=>(_0x2aa614,_0x53ef8c)=>_0x4f0bb6(_0x2aa614,_0x53ef8c,_0x5932eb),_0x1d8e0c=(_0x1cb369,_0x351b0b,_0x2a227f)=>_0x313367(_0x1cb369,_0x351b0b+'',_0x2a227f);const _0x447e69='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x309383['UniverCollaborationClientUIPlugin']=class extends _0x51234e[_0xbc4bab(0x1aa)]{constructor(_0x3a0701=_0x50011c,_0x5bfd91,_0x542526,_0x3a0061){const _0x4e1f5a=_0xbc4bab;super(),this[_0x4e1f5a(0x352)]=_0x3a0701,this[_0x4e1f5a(0x3b8)]=_0x5bfd91,this[_0x4e1f5a(0x284)]=_0x542526,this[_0x4e1f5a(0x163)]=_0x3a0061;const {..._0x47ac67}=_0x51234e[_0x4e1f5a(0x374)]({},_0x50011c,this['_config']);this['_configService'][_0x4e1f5a(0x202)](_0x1cdf09,_0x47ac67);}[_0xbc4bab(0x33b)](){const _0x1e52f0=_0xbc4bab;this[_0x1e52f0(0x14a)](),this[_0x1e52f0(0x225)]();}[_0xbc4bab(0x240)](){const _0x14ca72=_0xbc4bab;this[_0x14ca72(0x36f)]();}[_0xbc4bab(0x14a)](){const _0x1904e3=_0xbc4bab;var _0x56fdac;const _0x11063e=[[_0x54275e],[_0x4f6202],[_0x100d73],[_0x50e4fe],[_0x143609],[_0x15568a,{'useClass':_0x196ee5}],[_0x34b1e7[_0x1904e3(0x16e)],{'useClass':_0x34b1e7['WebSocketService']}],[_0x45d92a[_0x1904e3(0x394)],{'useClass':_0x451cc3}],[_0x309383[_0x1904e3(0x20e)]],[_0x32a49e],[_0x18e095],[_0x217dd7],[_0x25835a],[_0x309383['CollaborationDataLoaderController']]];_0x51234e[_0x1904e3(0x1c0)](this[_0x1904e3(0x284)],_0x51234e[_0x1904e3(0x31c)](_0x11063e,(_0x56fdac=this['_config'])==null?void 0x0:_0x56fdac[_0x1904e3(0x199)]));}[_0xbc4bab(0x36f)](){const _0x519d9b=_0xbc4bab;this['disposeWithMe'](this['_renderManagerService'][_0x519d9b(0x186)](_0x51234e['UniverInstanceType'][_0x519d9b(0x26e)],[_0x2b471f])),this['disposeWithMe'](this[_0x519d9b(0x3b8)][_0x519d9b(0x186)](_0x51234e['UniverInstanceType']['UNIVER_SHEET'],[_0x18b05d]));}[_0xbc4bab(0x225)](){const _0x267b1a=_0xbc4bab;_0x51234e['touchDependencies'](this[_0x267b1a(0x284)],[[_0x217dd7],[_0x309383['DesktopCollaborationStatusDisplayController']],[_0x32a49e],[_0x18e095],[_0x309383[_0x267b1a(0x221)]]]);}},_0x1d8e0c(_0x309383['UniverCollaborationClientUIPlugin'],_0xbc4bab(0x170),_0x447e69),_0x309383[_0xbc4bab(0x3bb)]=_0xceb087([_0x51234e[_0xbc4bab(0x287)](_0x45d92a[_0xbc4bab(0x211)]),_0x1674eb(0x1,_0x5cd4ea[_0xbc4bab(0x179)]),_0x1674eb(0x2,_0x51234e['Inject'](_0x51234e['Injector'])),_0x1674eb(0x3,_0x51234e[_0xbc4bab(0x388)])],_0x309383[_0xbc4bab(0x3bb)]);var _0x4fd73c=Object[_0xbc4bab(0x218)],_0xcf4bd5=(_0xc1f51a,_0x23d1f0,_0x1134e4,_0x2e1853)=>{const _0x311d6c=_0xbc4bab;for(var _0x22132a=_0x2e1853>0x1?void 0x0:_0x2e1853?_0x4fd73c(_0x23d1f0,_0x1134e4):_0x23d1f0,_0x4a42a6=_0xc1f51a[_0x311d6c(0x277)]-0x1,_0x38b0d3;_0x4a42a6>=0x0;_0x4a42a6--)(_0x38b0d3=_0xc1f51a[_0x4a42a6])&&(_0x22132a=_0x38b0d3(_0x22132a)||_0x22132a);return _0x22132a;},_0x4f0922=(_0x19689e,_0x17b53b)=>(_0x539f1e,_0x2ae070)=>_0x17b53b(_0x539f1e,_0x2ae070,_0x19689e);_0x309383[_0xbc4bab(0x3c7)]=class extends _0x45d92a[_0xbc4bab(0x18b)]{constructor(_0x10dd97,_0x1e59f8,_0x3da4ca,_0x5ae85d,_0x1a1601){super(_0x10dd97,_0x1e59f8,_0x3da4ca,_0x5ae85d,_0x1a1601);}async[_0xbc4bab(0x1ec)](_0x5999bb){const _0x4864c6=_0xbc4bab,_0x218ae4=await this[_0x4864c6(0x37a)](),_0xcc23ec=this[_0x4864c6(0x1ac)](_0x5999bb,_0x218ae4);return this[_0x4864c6(0x2f1)](_0xcc23ec);}[_0xbc4bab(0x1ac)](_0x4804a7,_0x2069fd){const _0x56442f=_0xbc4bab,_0xd33b30=typeof window>'u'?new URL(_0x4804a7):new URL(_0x4804a7,window[_0x56442f(0x38a)][_0x56442f(0x250)]);_0xd33b30[_0x56442f(0x31d)][_0x56442f(0x36c)]('sessionTicket',_0x2069fd);const _0x58bcbe=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x58bcbe['get'](_0x56442f(0x3aa))&&_0xd33b30[_0x56442f(0x31d)][_0x56442f(0x36c)](_0x56442f(0x3aa),_0x58bcbe[_0x56442f(0x194)](_0x56442f(0x3aa))),_0xd33b30[_0x56442f(0x193)]();}async['_getSessionTicket'](){const _0x33fb15=_0xbc4bab;var _0x216d70,_0x55efac,_0x2e1564;const _0x4dc396=this[_0x33fb15(0x163)][_0x33fb15(0x175)](_0x45d92a[_0x33fb15(0x180)]),_0x2f1188=(_0x216d70=_0x4dc396==null?void 0x0:_0x4dc396[_0x33fb15(0x316)])!=null?_0x216d70:_0x45d92a[_0x33fb15(0x270)];return(_0x2e1564=(_0x55efac=(await this[_0x33fb15(0x25d)][_0x33fb15(0x194)](_0x2f1188,{'headers':{'Content-Type':_0x33fb15(0x300)}}))[_0x33fb15(0x203)])==null?void 0x0:_0x55efac[_0x33fb15(0x169)])!=null?_0x2e1564:'';}},_0x309383[_0xbc4bab(0x3c7)]=_0xcf4bd5([_0x4f0922(0x0,_0x51234e[_0xbc4bab(0x1e7)](_0x51234e[_0xbc4bab(0x345)])),_0x4f0922(0x1,_0x51234e[_0xbc4bab(0x1e7)](_0x34b1e7[_0xbc4bab(0x263)])),_0x4f0922(0x2,_0x51234e['IConfigService']),_0x4f0922(0x3,_0x51234e['ILogService']),_0x4f0922(0x4,_0x2bb387[_0xbc4bab(0x227)])],_0x309383[_0xbc4bab(0x3c7)]);var _0x55b5e5=(_0x51659c=>(_0x51659c[_0x51659c[_0xbc4bab(0x22f)]=0x0]=_0xbc4bab(0x22f),_0x51659c[_0x51659c['OK']=0x1]='OK',_0x51659c[_0x51659c[_0xbc4bab(0x2ce)]=0x2]='INTERNAL_ERROR',_0x51659c[_0x51659c[_0xbc4bab(0x1f0)]=0x3]=_0xbc4bab(0x1f0),_0x51659c[_0x51659c[_0xbc4bab(0x2f4)]=0x4]=_0xbc4bab(0x2f4),_0x51659c[_0x51659c[_0xbc4bab(0x231)]=0x5]='UNAUTHENTICATED',_0x51659c[_0x51659c[_0xbc4bab(0x257)]=0x6]=_0xbc4bab(0x257),_0x51659c[_0x51659c['INVALID_ARGUMENT']=0x7]=_0xbc4bab(0x1cd),_0x51659c[_0x51659c[_0xbc4bab(0x2bb)]=0x8]=_0xbc4bab(0x2bb),_0x51659c[_0x51659c['COMPLETION_FINISHED']=0x9]=_0xbc4bab(0x26d),_0x51659c[_0x51659c[_0xbc4bab(0x21e)]=0xa]='LOGIN_FAILED',_0x51659c[_0x51659c[_0xbc4bab(0x14b)]=0xb]=_0xbc4bab(0x14b),_0x51659c[_0x51659c[_0xbc4bab(0x22b)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x51659c[_0x51659c[_0xbc4bab(0x1c3)]=0xd]=_0xbc4bab(0x1c3),_0x51659c[_0x51659c[_0xbc4bab(0x2a1)]=0xe]=_0xbc4bab(0x2a1),_0x51659c[_0x51659c['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xbc4bab(0x236),_0x51659c[_0x51659c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x51659c[_0x51659c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x51659c[_0x51659c['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xbc4bab(0x3c5),_0x51659c[_0x51659c[_0xbc4bab(0x3ac)]=0x1b59]=_0xbc4bab(0x3ac),_0x51659c[_0x51659c[_0xbc4bab(0x184)]=0x1b5a]=_0xbc4bab(0x184),_0x51659c[_0x51659c[_0xbc4bab(0x322)]=0x1b5b]=_0xbc4bab(0x322),_0x51659c[_0x51659c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xbc4bab(0x360),_0x51659c[_0x51659c['APPLY_DUPLICATED']=0x1b5d]=_0xbc4bab(0x1ff),_0x51659c[_0x51659c[_0xbc4bab(0x253)]=0x1f41]=_0xbc4bab(0x253),_0x51659c[_0x51659c[_0xbc4bab(0x2c6)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x51659c[_0x51659c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xbc4bab(0x29e),_0x51659c[_0x51659c[_0xbc4bab(0x3ca)]=0x232b]=_0xbc4bab(0x3ca),_0x51659c[_0x51659c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xbc4bab(0x173),_0x51659c[_0x51659c['LICENSE_DISTRO_REJECTED']=0x232d]=_0xbc4bab(0x279),_0x51659c[_0x51659c['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xbc4bab(0x208),_0x51659c[_0x51659c[_0xbc4bab(0x15d)]=0x2712]=_0xbc4bab(0x15d),_0x51659c[_0x51659c[_0xbc4bab(0x15b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x51659c[_0x51659c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x51659c[_0x51659c[_0xbc4bab(0x2ad)]=0x271a]=_0xbc4bab(0x2ad),_0x51659c[_0x51659c[_0xbc4bab(0x330)]=0x271b]=_0xbc4bab(0x330),_0x51659c[_0x51659c['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x51659c[_0x51659c[_0xbc4bab(0x261)]=0x271d]=_0xbc4bab(0x261),_0x51659c[_0x51659c[_0xbc4bab(0x235)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x51659c[_0x51659c['YUUMI_AI_RUN_FAILED']=0x271f]=_0xbc4bab(0x271),_0x51659c[_0x51659c['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x51659c[_0x51659c[_0xbc4bab(0x233)]=0x2af9]=_0xbc4bab(0x233),_0x51659c[_0x51659c['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x51659c[_0x51659c['INVALID_INVITE_CODE']=0x2ee2]=_0xbc4bab(0x2c4),_0x51659c[_0x51659c[_0xbc4bab(0x164)]=0x2ee3]=_0xbc4bab(0x164),_0x51659c[_0x51659c[_0xbc4bab(0x365)]=0x2ee4]=_0xbc4bab(0x365),_0x51659c[_0x51659c['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0xbc4bab(0x389),_0x51659c[_0x51659c[_0xbc4bab(0x146)]=0x32c9]=_0xbc4bab(0x146),_0x51659c[_0x51659c['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xbc4bab(0x1c1),_0x51659c[_0x51659c['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xbc4bab(0x1e3),_0x51659c[_0x51659c['UNRECOGNIZED']=-0x1]=_0xbc4bab(0x265),_0x51659c))(_0x55b5e5||{}),_0x3c4a51=Object[_0xbc4bab(0x218)],_0x4734ba=(_0x102cdc,_0x14dc55,_0x1dd656,_0x81b107)=>{const _0x10442e=_0xbc4bab;for(var _0x55dc2f=_0x81b107>0x1?void 0x0:_0x81b107?_0x3c4a51(_0x14dc55,_0x1dd656):_0x14dc55,_0x249e69=_0x102cdc[_0x10442e(0x277)]-0x1,_0x1b3693;_0x249e69>=0x0;_0x249e69--)(_0x1b3693=_0x102cdc[_0x249e69])&&(_0x55dc2f=_0x1b3693(_0x55dc2f)||_0x55dc2f);return _0x55dc2f;},_0x494e48=(_0x2e701f,_0x3472f5)=>(_0x130f34,_0x5165ec)=>_0x3472f5(_0x130f34,_0x5165ec,_0x2e701f);_0x309383[_0xbc4bab(0x331)]=class extends _0x51234e[_0xbc4bab(0x292)]{constructor(_0x42778f,_0x2a9552,_0x38bedc){const _0xcb7e63=_0xbc4bab;super(),this[_0xcb7e63(0x35a)]=_0x42778f,this[_0xcb7e63(0x25d)]=_0x2a9552,this['_configService']=_0x38bedc;}async['runOnServer'](_0x323d0f,_0x5d73d7,_0xe5b761,..._0xcbc21f){const _0xd6f326=_0xbc4bab;var _0x212872,_0x4ac424,_0x27a0e9,_0xa558f0;const _0x39a6cc=this['_instanceService'][_0xd6f326(0x3d9)]();if(!_0x39a6cc)throw new Error(_0xd6f326(0x27c));const _0x51fb99=((_0x212872=this[_0xd6f326(0x163)][_0xd6f326(0x175)](_0x45d92a[_0xd6f326(0x1ee)]))!=null?_0x212872:_0x45d92a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x323d0f+_0xd6f326(0x14e)+_0x5d73d7,_0x4c3bcb=new URL(window[_0xd6f326(0x38a)][_0xd6f326(0x23f)]),_0x3a4af9={'scriptId':_0x323d0f,'runId':(_0x4ac424=_0x4c3bcb[_0xd6f326(0x31d)][_0xd6f326(0x194)](_0xd6f326(0x3aa)))!=null?_0x4ac424:'','function':_0x5d73d7,'unitId':_0x39a6cc[_0xd6f326(0x27a)](),'argsOfFunction':JSON['stringify'](_0xcbc21f),'invokeId':(_0x27a0e9=_0xe5b761[_0xd6f326(0x19a)])!=null?_0x27a0e9:'','executionId':(_0xa558f0=_0xe5b761[_0xd6f326(0x19f)])!=null?_0xa558f0:''};try{const _0x323f74=await this[_0xd6f326(0x25d)][_0xd6f326(0x2f7)](_0x51fb99,{'body':_0x3a4af9});return _0x323f74['body'][_0xd6f326(0x25a)]&&_0x323f74[_0xd6f326(0x203)]['error'][_0xd6f326(0x34f)]!==_0x55b5e5['OK']?_0xd6f326(0x3b3):_0x323f74[_0xd6f326(0x203)][_0xd6f326(0x2f3)];}catch{return _0xd6f326(0x3b3);}}},_0x309383['RemoteUniscriptService']=_0x4734ba([_0x494e48(0x0,_0x51234e[_0xbc4bab(0x2a4)]),_0x494e48(0x1,_0x51234e[_0xbc4bab(0x1e7)](_0x34b1e7[_0xbc4bab(0x263)])),_0x494e48(0x2,_0x51234e[_0xbc4bab(0x388)])],_0x309383['RemoteUniscriptService']);const _0x95d128=0x7530,_0x1669bd=_0xbc4bab(0x2c3);class _0x164101 extends _0x51234e[_0xbc4bab(0x292)]{constructor(){const _0x4adf21=_0xbc4bab;super(),_0x1e1d43(this,_0x4adf21(0x1a9),_0x51234e[_0x4adf21(0x1a2)]()),_0x1e1d43(this,_0x4adf21(0x232),new Set()),_0x1e1d43(this,_0x4adf21(0x177),new Map()),_0x1e1d43(this,_0x4adf21(0x347),null),_0x1e1d43(this,_0x4adf21(0x15c),new Map()),_0x1e1d43(this,'_unitStatus',new Map()),this[_0x4adf21(0x1d6)]();}[_0xbc4bab(0x310)](){const _0x3ad269=_0xbc4bab;super[_0x3ad269(0x310)](),this['_clearOtherTimers'][_0x3ad269(0x35f)]((_0x33083a,_0x44e2e7)=>this[_0x3ad269(0x29f)](_0x44e2e7)),this[_0x3ad269(0x347)]&&window[_0x3ad269(0x2aa)](this['_heartbeatTimer']);}[_0xbc4bab(0x21f)](_0x19d19e){const _0x54e7a7=_0xbc4bab;return this[_0x54e7a7(0x1c8)](_0x19d19e)[_0x54e7a7(0x3bd)](_0x5bbaf2[_0x54e7a7(0x14c)]());}[_0xbc4bab(0x24a)](_0x5f0f4b){const _0x4e065c=_0xbc4bab;this[_0x4e065c(0x232)][_0x4e065c(0x293)]===0x0&&this[_0x4e065c(0x3ab)](),this[_0x4e065c(0x232)][_0x4e065c(0x2fb)](_0x5f0f4b),this[_0x4e065c(0x166)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5f0f4b],'isForwarded':!0x1});}[_0xbc4bab(0x1e8)](_0x410ce9){const _0x2a6494=_0xbc4bab;this[_0x2a6494(0x232)][_0x2a6494(0x339)](_0x410ce9),this['_selfUnitIDs']['size']===0x0&&this[_0x2a6494(0x347)]&&window[_0x2a6494(0x2aa)](this[_0x2a6494(0x347)]);}[_0xbc4bab(0x1d6)](){const _0x52b0ec=_0xbc4bab;this[_0x52b0ec(0x2de)](_0x51234e[_0x52b0ec(0x33a)](_0x5bbaf2[_0x52b0ec(0x189)](window,_0x52b0ec(0x2ab))[_0x52b0ec(0x2ae)](_0x48a0c6=>{const _0x2581c1=_0x52b0ec;if(_0x48a0c6[_0x2581c1(0x21d)]!==_0x1669bd||!_0x48a0c6[_0x2581c1(0x1b6)])return;const _0xc49fe2=JSON['parse'](_0x48a0c6['newValue']);this['_handleEvent'](_0xc49fe2);}))),window[_0x52b0ec(0x391)](_0x52b0ec(0x3d6),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x52b0ec(0x1ea)](this[_0x52b0ec(0x232)])}));}[_0xbc4bab(0x216)](_0x15445c){const _0x1d8a1a=_0xbc4bab;switch(_0x15445c[_0x1d8a1a(0x3c2)]){case 0x0:this[_0x1d8a1a(0x364)](_0x15445c);break;case 0x1:this[_0x1d8a1a(0x1fd)](_0x15445c);break;case 0x2:this[_0x1d8a1a(0x18e)](_0x15445c);break;}}[_0xbc4bab(0x364)](_0x7d3614){const _0x2e64bb=_0xbc4bab,{unitIDs:_0xd8c7f9,memberID:_0x447bcb,isForwarded:_0x273034}=_0x7d3614;_0xd8c7f9[_0x2e64bb(0x35f)](_0x3898ec=>{const _0x23daea=_0x2e64bb;if(!_0x273034&&this[_0x23daea(0x177)][_0x23daea(0x172)](_0x3898ec)&&this[_0x23daea(0x1c8)](_0x3898ec)[_0x23daea(0x1ab)](_0x45d92a[_0x23daea(0x27b)]['OTHER_CLIENTS_EDITING']),!this[_0x23daea(0x177)][_0x23daea(0x172)](_0x3898ec)||!this[_0x23daea(0x177)]['get'](_0x3898ec)[_0x23daea(0x172)](_0x447bcb)){const _0x42bfa7=this[_0x23daea(0x177)][_0x23daea(0x194)](_0x3898ec)||new Set();_0x42bfa7[_0x23daea(0x2fb)](_0x447bcb),this[_0x23daea(0x177)][_0x23daea(0x36c)](_0x3898ec,_0x42bfa7),this[_0x23daea(0x289)](_0x447bcb);}}),_0x273034||this[_0x2e64bb(0x166)]({'type':0x0,'memberID':this[_0x2e64bb(0x1a9)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0xbc4bab(0x289)](_0x27111e){const _0x438109=_0xbc4bab;this[_0x438109(0x29f)](_0x27111e);const _0x59d149=window[_0x438109(0x2df)](()=>{const _0xaec0e2=_0x438109;this[_0xaec0e2(0x177)]['forEach'](_0x3f98c6=>{const _0x29d79e=_0xaec0e2;_0x3f98c6[_0x29d79e(0x339)](_0x27111e);});},_0x95d128*0x2);this['_clearOtherTimers']['set'](_0x27111e,_0x59d149);}['_removeClearOtherTimer'](_0xff8389){const _0x3c1828=_0xbc4bab;if(this[_0x3c1828(0x15c)][_0x3c1828(0x172)](_0xff8389)){const _0x2ac0d7=this['_clearOtherTimers'][_0x3c1828(0x194)](_0xff8389);_0x2ac0d7&&window[_0x3c1828(0x171)](_0x2ac0d7),this['_clearOtherTimers'][_0x3c1828(0x36c)](_0xff8389,null);}}['_handleLeaveEvent'](_0x18059e){const _0x19ea34=_0xbc4bab,{memberID:_0x2e4def,unitIDs:_0x4e19f9}=_0x18059e;_0x4e19f9[_0x19ea34(0x35f)](_0x1a5ba5=>{const _0x55b234=_0x19ea34;var _0x28bd0e;const _0x8b98b7=this[_0x55b234(0x177)][_0x55b234(0x194)](_0x1a5ba5);_0x8b98b7&&(_0x8b98b7[_0x55b234(0x339)](_0x2e4def),(_0x28bd0e=this[_0x55b234(0x1c8)](_0x1a5ba5))==null||_0x28bd0e[_0x55b234(0x1ab)](_0x8b98b7[_0x55b234(0x293)]===0x0?_0x45d92a['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x45d92a[_0x55b234(0x27b)][_0x55b234(0x30b)]));}),this[_0x19ea34(0x29f)](_0x2e4def);}[_0xbc4bab(0x18e)](_0x53b142){const _0x27c58f=_0xbc4bab;this[_0x27c58f(0x289)](_0x53b142['memberID']);}[_0xbc4bab(0x166)](_0x52e9b0){const _0x5582c1=_0xbc4bab;localStorage['setItem'](_0x1669bd,JSON[_0x5582c1(0x19c)](_0x52e9b0));}[_0xbc4bab(0x3ab)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x131f0a=_0x3b2a;this[_0x131f0a(0x166)]({'type':0x2,'memberID':this[_0x131f0a(0x1a9)]});},_0x95d128);}['_ensureSubject'](_0xb7f8f7){const _0x4a340f=_0xbc4bab;return this[_0x4a340f(0x313)]['has'](_0xb7f8f7)||this[_0x4a340f(0x313)][_0x4a340f(0x36c)](_0xb7f8f7,new _0x5bbaf2[(_0x4a340f(0x20d))](_0x45d92a[_0x4a340f(0x27b)][_0x4a340f(0x249)])),this[_0x4a340f(0x313)][_0x4a340f(0x194)](_0xb7f8f7);}}_0x309383[_0xbc4bab(0x1dd)]=_0x15568a,_0x309383[_0xbc4bab(0x176)]=_0xd3b6c4,_0x309383[_0xbc4bab(0x297)]=_0x164101,_0x309383['WebURLService']=_0x196ee5,Object['defineProperty'](_0x309383,Symbol['toStringTag'],{'value':_0xbc4bab(0x1eb)});}));