@univerjs-pro/collaboration-client-ui 0.10.9-experimental.20250925-61b61a0 → 0.10.9-nightly.202509260614

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 +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x315a(){const _0x16e542=['UniverCollaborationClientUIPlugin','doc.mutation.rich-text-editing','useRef','Workbook','memberID','show','isActive','getColor','transformByState','length','120KCQLWK','_collabCursorController','getTypeOfUnitDisposed$','APPLY_NON_SEQUENTIAL_REVISION','_colorAssignService','url(#off-line-icon_clip0_910_343)','Unknown\x20user','m1Prime','COMPLETION_FINISHED','INTERNAL_ERROR','INVITE_CODE_ALREADY_BOUND','transformRemoteChangeset','USER_NOT_INVITED_CODE','set','loadUnit','Failed','_getAnchorBounding','current','getCoordByCell','restore','DeleteRangeMoveUpCommandId','createInstance','useObservable','apply','generateRandomId','collabStatus.synced','_configService','SheetSkeletonManagerService','mutations','flatMap','_sheetSkeletonManagerService','ILocalCacheService','saveImage','AWAITING_WITH_PENDING','collab-text-anchor-','WebBrowserSingleActiveUnitService','getFocusedUnit','saveOfflineData','_collaborationUIEventService','Rect','getActiveSheet','isEditing','_refreshCollabCursors','next','_send','roomMembers','Subject','stringify','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_notificationService','getUnitStatus$','triggerDblclick','collab-rect-range-','getOwnPropertySymbols','history','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','className','_scheduleSaving','_updateLocalCursor','_commandService','_shapes','DesktopCollaborationStatusDisplayController','svg','registerComponent','CLOSE_ROOM','saveTaskMap','Tooltip','UNAUTHENTICATED','jsx','getCurrentSelections','_saveTaskMap','getUndoRedoMutationParamsCache','_colorIndex','0\x200\x2017\x2016','href','search','round','location','filter','CONNECTOR_DATA_TOO_LARGE','DisposableCollection','OffLineIcon','UniverEngineFormula','RefRangeService','getMemberID','Tools','_registerRenderDependencies','max','_docSyncEditingCollabCursorService','useCallback','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','height','MemberService','clearInterval','serializeRangeWithSheet','unitID','getRangePointData','RemoteUniscriptService','_collaborationController','DependentOn','MessageType','INVALID_INVITE_CODE','_univerInstanceService','IMessageService','replaceState','EffectRefRangId','collabStatus.fetchMiss','_urlService','MOBILE_VERIFY_CODE_MISMATCH','collabStatus.offline','touchDependencies','enableLocalCache','CollaborationDataLoaderController','getStateCache','red.300','OTHER_CLIENTS_EDITING','_cursorInfo$','cursorInfo','_startDocCollabCursor','registerRenderModule','replace','_doCreateSocket','getDocRanges','UniverDrawing','BrowserCollaborationSocketService','RxDisposable','runOnServer','labelPosition','_instanceService','_onRefRangeChange','/run/','TOO_MANY_REQUESTS','3083643vDZMES','transformSelections','combineLatest','LocaleService','_startSheetCollabCursor','_collabCursorState$','TEXT','OnLineIcon','UniverInstanceType','@univerjs/sheets-ui','source','Rectangle','_handleHeartbeatEvent','_hideTimer','SetSelectionsOperation','PY_RUNTIME_SCRIPT_ERROR','IConfigService','white','DocIMEInputManagerService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','collaboration-client-ui.config','pipe','setParam','1853820XwjLuE','type','_selfUnitIDs','makeDirty','_entityInit$','handleInsertRangeMoveRight','subscribeEvent','univer-flex\x20univer-items-center','_initEntityListener','runRefRangeMutations','_initResize','_hovered','_updateCollabCursors','ColorKit','addObjects','children','WebURLService','idSuffix','debounceTime','getCellPositionByOffset','getAncestorScale','debug','_onCursorDelete','row','startsWith','handleInsertRangeMoveDown','@univerjs/ui','LOGIN_FAILED','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','disposeWithMe','_collabSessionService','9420vgvHlW','_docStateChangeManagerService','DocSelectionManagerService','unshift','getOwnPropertyDescriptor','url(#$1','_session','complete','onCommandExecuted','contains','_getMergeRange','collabStatus.conflict','YUUMI_NO_CUBOID_FOR_QUESTION','defIds','_getSaveTimeout','getUnitId','ONLINE','_anchorDot','transformIMECache','_ensureSubject','UniverIcon','startColumn','includes','CONFLICT','string','removeParam','transformStateCache','setStateCache','DataLoaderService','USERS_LEAVE','transformMutation','focused$','handleIRemoveRow','NO_OTHER_CLIENTS_EDITING','InsertRowCommandId','2lGwPNQ','_id','_lastPointer','registerBeforeClose','CollaborationController','SNAPSHOT_INVALID_SNAPSHOT','getColorFromTheme','SheetCollabCursorShape','collabStatus.syncing','UniverNetwork','RichTextEditingMutation','searchParams','eventID','INVALID_ARGUMENT','roomMembers$','setShapeProps','shareReplay','setInterval','UNIVER_DOC','_revisionService','ITransformService','exports','fillText','CollaborationSessionService','UPDATE_CURSOR','NodePositionConvertToCursor','_drawAnchor','@univerjs/sheets','exhaustSavingTask','_transformUndoRedoStack','_unitStatus','displayName','propertyIsEnumerable','UniverRpc','_handleEvent','YUUMI_ASYNCIO_CANCELLED','UNRECOGNIZED','collab-client.tooltip.reconnect','_docSkeleton','getVpScrollXYInfoByPosToVp','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','createSocket','path','NOT_FOUND','LICENSE_MAX_UNITS_EXCEEDED','onStarting','call','JOIN_ROOM_FAILED','_syncEditingCollabCursorService','_renderManagerService','_color','symbol','ACTIVE_UNIT_EVENT_CHANNEL','_docTransformStateCacheService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','init','addEventListener','setAlpha','NOT_COLLAB','getSkeleton','PERMISSION_DENIED','RECT','UniverSheetsUi','resize','transformMutationsWithChangeset','DocCollaborationEntity','icon','Vector2','getSheetBySheetId','createElement','OFFLINE','fill','debounce','TEXT_RANGE_LAYER_INDEX','getCollabCursors$','fromEvent','HTTPService','_labelPosition','green.600','UniverDesign','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','session.connection-failed','onLocalMutation','getSheetId','ILocalStorageService','getOffsetConfig','add','onPointerLeave$','setActiveRange','MOBILE_HAS_BEEN_BOUND','Error','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','112853QxpcXe','LOCAL_CACHE_INTERVAL','APPLY_REJECT','UNDEFINED','CollaborationUIEventService','_messageService','getMember','_docTransformIMECacheService','_logService','_heartbeatTimer','split','wsSessionTicketUrl','replaceDocRanges','_cursorShapes','error','YUUMI_RATE_OVER_LIMIT','defineProperty','mergeOverrideWithDependencies','0\x200\x2016\x2016','@univerjs-pro/collaboration-client','EMAIL_HAS_BEEN_BOUND','[RemoteUniscriptService]:\x20no\x20focused\x20unit','text','[CollaborationDataLoaderController]','currentTheme$','executionId','YUUMI_AI_RUN_FAILED','Plugin','_getSessionTicket','_onCursorUpdate','object','_handleJoinEvent','switchMap','some','width','rxjs/operators','COLORS','onRendered','closePath','_toggleOnline','drawWith','getUnhiddenWorksheets','activeSheet$','_cursor','registerDependencies','InsertColCommandId','_setupBeforeClosingHandler','SessionStatus','selection','univer-mr-2\x20univer-flex\x20univer-text-xl','black','_initStatusComponent','urlChange$','origin','_range','actions','random','unit','session.collaboration-timeout','BehaviorSubject','_beforeCloseService','SYNCED','connectInjector','_setupSubUnitSync','CollaborationSocketService','body','delete','_transformPreviousActiveRange','_handleHover','fillStyle','getParam','forwardRef','660ymhXlC','isArray','concat','colorChannel1','rxjs','name','YUUMI_TABLE_NOT_FOUND_IN_UNIT','findNodePositionByCharIndex','cursorInfo$','forEach','ENSURE_SNAPSHOT_EXECUTION','Warning','entityInit$','useDependency','40440DxZhyr','handleDeleteRangeMoveUp','SetWorksheetActivateCommand','uni.network.url-service','_docTransformSelectionsService','collaboration-client.offline-data-not-saved','2574McGWdd','isTransformMutationFailure','onMouseMove','onPointerEnter$','attrs','skeleton','_init','sessionTicket','_status$','_transformService','CollaborationStatus','5lQRRHw','takeUntil','popstate','entries','react/jsx-runtime','evenodd','collaboration.single-unit.warning','from','get','amd','...','merge','syncEditingCollabCursor','toRgbString','InsertRangeMoveDownCommandId','data','setItem','reconnect','@univerjs/docs','disableLocalCache','collab-text-range-','InsertRangeMoveRightCommandId','clearTimeout','pushState','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','deepClone','all','CollaborationUIEventId','with','ranges','Optional','addClipboardHook','M0\x200H16V16H0z','subUnitId','RevisionService','_render','OTHER_CLIENT_EDITING','701955bkisTg','mask','DocStateChangeManagerService','@univerjs/engine-render','handleMoveRange','_refRangeService','m2Prime','transform','Injector','@univerjs/drawing','_clearOtherTimers','YUUMI_ALL_TABLES_IS_INVALID','indexOf','Shape','collabCursorState$','FromArray','1em','_name','getCurrent','LICENSE_EXPORT_SIZE_EXCEEDED','translate(.97)','prototype','_transformHistoryAndStateStack','measureText','invokeId','unsubscribe','yellow.400','toDisposable','requireSession','createIdentifier','684616AAxWpC','min','getActiveRange','event$','getTypeOfUnitAdded$','push','range','_entities','_eventUnsubscribe','column','_registerDependencies','UnitStatus','getCollabEntity$','_config','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','React','WECHAT_HAS_BEEN_BOUND','tag','unitId','_getSheetObject','VIEW_MAIN','777xTrchq','whenReady','blue.400','EMAIL_VERIFY_CODE_MISMATCH','DocSkeletonManagerService','SHEET_VIEWPORT_KEY','_disabled','toString','addObject','@univerjs-pro/collaboration','addHandlerCallback','UniverProCollaboration','UniverDocs','SUBMIT_CHANGESET_TIMEOUT','_updateSubUnitFromURLParams','_online','_imageIoService','_memberService','SetTextSelectionsOperation','Disposable','session.will-retry','_docSkeletonManagerService','_draw','YUUMI_SUBSCRIPTION_NOT_FOUND','color','updateOfflineData','_initEvent','currentColor','subscribe','IUIPartsService','has','ILogService','dispose','getLocalCacheKey','endColumn','xlink:href','SOCKET_FAILED_RETRY','_backgroundColor','hasOwnProperty','toStringTag','_hover','save','use','registerRefRange','UNIVER_SHEET','SNAPSHOT_HAS_BEEN_REMOVED','_roomMembers$','_localStorageService','_docClipboardService','CommandType','top','_injector','map','RemoveColCommandId','div','getValue','PENDING','permission.title','IUniverInstanceService','UniverDocsUi','IRenderManagerService','sessionStatus$','_cachedData','size','loadOfflineData','CHANGESET_REVISION_CONFILICT','_createSocketURL','setUndoRedoMutationParamsCache','_drawTextRange','params','_saveCache','_cursors','executeCommand','values','_context','UniverCollaborationClientPlugin','UniverEngineRender','APPLY_REVISION_CONFILICT','editingUnit','moveTo','subunit','post','_initCommandExecutedListener','then','selections','ThemeService','_unitOnClients','ticket','status$','collabStatus.notCollab','application/json','_initStatusListener','_toggleOffline','_httpService','UniverUi','beginPath','getCurrentRevOfUnit','endRow','_scheduleClearOtherTimer','Module','_scheduleHeartbeat','_localeService','hide','YUUMI_CONNECTOR_URL_NOT_FOUND','lineTo','DeleteRangeMoveLeftCommandId','handleInsertRow','_themeService','getUniverSheetInstance','_localCacheService','startRow','undoState','getCurrentUnitForType','http://www.w3.org/2000/svg','getConfig','@univerjs/rpc','arc','sheetId','override','ICommandService','runId','mapTo','newValue','asObservable','isTransformMutationsWithChangesetSuccess','_anchor','LICENSE_DISTRO_REJECTED','YUUMI_URL_COL_OUT_OF_RANGE','_textBubble','RegularPolygon','send','_removeClearOtherTimer','ALREADY_EXISTS','off-line-icon','_scene','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','assignAColorForMemberID','INVITE_CODE_REQUIRED','getRenderById','getSheetObject','Inject','_initDependencies','@univerjs/design','LOCAL_CACHE_INTERVAL_KEY','substring','defs','_dataLoaderService','_handleLeaveEvent','APPLY_DUPLICATED','YUUMI_UNABLE_LOAD_URL','onTransformChange$','_updateURLWithCurrentState','_removeCollabCursors','INotificationService','dispose$','CollaborationEvent','assign','#FFF','setTimeout','_assignedColors','_getScale','sheetID','getMergeData'];_0x315a=function(){return _0x16e542;};return _0x315a();}function _0x19f2(_0x50ed01,_0x196253){const _0x315ac1=_0x315a();return _0x19f2=function(_0x19f2e2,_0x46a2a2){_0x19f2e2=_0x19f2e2-0x13d;let _0x4fe80a=_0x315ac1[_0x19f2e2];return _0x4fe80a;},_0x19f2(_0x50ed01,_0x196253);}(function(_0xb950c4,_0x3a3d8a){const _0x3140e1=_0x19f2,_0x448f81=_0xb950c4();while(!![]){try{const _0x3b4876=-parseInt(_0x3140e1(0x2e8))/0x1*(-parseInt(_0x3140e1(0x149))/0x2)+-parseInt(_0x3140e1(0x28f))/0x3+-parseInt(_0x3140e1(0x2a6))/0x4*(-parseInt(_0x3140e1(0x3ab))/0x5)+-parseInt(_0x3140e1(0x2c5))/0x6*(parseInt(_0x3140e1(0x15e))/0x7)+-parseInt(_0x3140e1(0x20b))/0x8*(-parseInt(_0x3140e1(0x3d0))/0x9)+-parseInt(_0x3140e1(0x39a))/0xa*(parseInt(_0x3140e1(0x3a0))/0xb)+-parseInt(_0x3140e1(0x38c))/0xc*(-parseInt(_0x3140e1(0x344))/0xd);if(_0x3b4876===_0x3a3d8a)break;else _0x448f81['push'](_0x448f81['shift']());}catch(_0x64b517){_0x448f81['push'](_0x448f81['shift']());}}}(_0x315a,0x9df5c),function(_0x20f5b0,_0x1009d7){const _0x439bef=_0x19f2;typeof exports==_0x439bef(0x362)&&typeof module<'u'?_0x1009d7(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[_0x439bef(0x3b4)]?define([_0x439bef(0x2fd),_0x439bef(0x3af),_0x439bef(0x357),'@univerjs/core',_0x439bef(0x2c0),_0x439bef(0x390),_0x439bef(0x1ec),'react',_0x439bef(0x1d1),_0x439bef(0x303),_0x439bef(0x3d3),'@univerjs/network','@univerjs/docs-ui',_0x439bef(0x3d9),_0x439bef(0x167),_0x439bef(0x3bd),'@univerjs/engine-formula',_0x439bef(0x367),_0x439bef(0x298)],_0x1009d7):(_0x20f5b0=typeof globalThis<'u'?globalThis:_0x20f5b0||self,_0x1009d7(_0x20f5b0['UniverProCollaborationClientUi']={},_0x20f5b0[_0x439bef(0x158)],_0x20f5b0['UniverProCollaborationClient'],_0x20f5b0['UniverCore'],_0x20f5b0[_0x439bef(0x1bc)],_0x20f5b0[_0x439bef(0x390)],_0x20f5b0[_0x439bef(0x337)],_0x20f5b0[_0x439bef(0x158)],_0x20f5b0[_0x439bef(0x309)],_0x20f5b0['UniverSheets'],_0x20f5b0[_0x439bef(0x1aa)],_0x20f5b0[_0x439bef(0x2f1)],_0x20f5b0[_0x439bef(0x199)],_0x20f5b0[_0x439bef(0x286)],_0x20f5b0[_0x439bef(0x169)],_0x20f5b0[_0x439bef(0x16a)],_0x20f5b0[_0x439bef(0x25d)],_0x20f5b0[_0x439bef(0x390)]['operators'],_0x20f5b0[_0x439bef(0x326)]));}(this,function(_0x3e67b4,_0x497407,_0x5aae96,_0xa0bab5,_0x5d5ad1,_0x3ac3b6,_0x109233,_0x5a3830,_0x3c4ba8,_0x318e47,_0x2664c9,_0x4ba0ef,_0x284126,_0x1ba493,_0x53baaf,_0x3e46d1,_0x485e46,_0x17a732,_0x58184e){'use strict';const _0xdba1d4=_0x19f2;var _0x43d5f8=Object[_0xdba1d4(0x354)],_0x176ef2=(_0xfa375c,_0xf1fdb6,_0x889359)=>_0xf1fdb6 in _0xfa375c?_0x43d5f8(_0xfa375c,_0xf1fdb6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x889359}):_0xfa375c[_0xf1fdb6]=_0x889359,_0x1bff93=(_0x527dfe,_0x24a633,_0x2e6879)=>_0x176ef2(_0x527dfe,typeof _0x24a633!=_0xdba1d4(0x31b)?_0x24a633+'':_0x24a633,_0x2e6879),_0x3b4b77=function(){const _0x500885=_0xdba1d4;return _0x3b4b77=Object['assign']||function(_0x17f508){const _0x2250e2=_0x19f2;for(var _0x5794c1,_0x25ea01=0x1,_0x153a5e=arguments[_0x2250e2(0x20a)];_0x25ea01<_0x153a5e;_0x25ea01++){_0x5794c1=arguments[_0x25ea01];for(var _0x554d2f in _0x5794c1)Object[_0x2250e2(0x140)][_0x2250e2(0x184)][_0x2250e2(0x316)](_0x5794c1,_0x554d2f)&&(_0x17f508[_0x554d2f]=_0x5794c1[_0x554d2f]);}return _0x17f508;},_0x3b4b77[_0x500885(0x222)](this,arguments);},_0x41ad99=function(_0x543654,_0x43fd79){const _0x3b877d=_0xdba1d4;var _0x35ae1d={};for(var _0x3a4562 in _0x543654)Object[_0x3b877d(0x140)]['hasOwnProperty'][_0x3b877d(0x316)](_0x543654,_0x3a4562)&&_0x43fd79[_0x3b877d(0x3dc)](_0x3a4562)<0x0&&(_0x35ae1d[_0x3a4562]=_0x543654[_0x3a4562]);if(_0x543654!=null&&typeof Object[_0x3b877d(0x240)]=='function'){for(var _0xa25f1a=0x0,_0x3a4562=Object['getOwnPropertySymbols'](_0x543654);_0xa25f1a<_0x3a4562['length'];_0xa25f1a++)_0x43fd79['indexOf'](_0x3a4562[_0xa25f1a])<0x0&&Object[_0x3b877d(0x140)][_0x3b877d(0x308)]['call'](_0x543654,_0x3a4562[_0xa25f1a])&&(_0x35ae1d[_0x3a4562[_0xa25f1a]]=_0x543654[_0x3a4562[_0xa25f1a]]);}return _0x35ae1d;},_0x1fbe8d=_0x5a3830['forwardRef'](function(_0x273792,_0x972692){const _0x39eec6=_0xdba1d4;var _0x1624a5=_0x273792[_0x39eec6(0x32a)],_0x3c3a61=_0x273792['id'],_0x15091e=_0x273792['className'],_0x153ff3=_0x273792['extend'],_0x6d145=_0x41ad99(_0x273792,[_0x39eec6(0x32a),'id',_0x39eec6(0x243),'extend']),_0xd3b3e5='univerjs-icon\x20univerjs-icon-'[_0x39eec6(0x38e)](_0x3c3a61,'\x20')[_0x39eec6(0x38e)](_0x15091e||'')['trim'](),_0x2439aa=_0x5a3830[_0x39eec6(0x203)]('_'[_0x39eec6(0x38e)](_0x3f41f6()));return _0x46f9f0(_0x1624a5,''['concat'](_0x3c3a61),{'defIds':_0x1624a5[_0x39eec6(0x2d2)],'idSuffix':_0x2439aa[_0x39eec6(0x21c)]},_0x3b4b77({'ref':_0x972692,'className':_0xd3b3e5},_0x6d145),_0x153ff3);});function _0x46f9f0(_0x169414,_0x5a5c6d,_0x7bdba,_0x5bdeec,_0x4c2454){const _0x2fbaff=_0xdba1d4;return _0x5a3830[_0x2fbaff(0x32d)](_0x169414['tag'],_0x3b4b77(_0x3b4b77({'key':_0x5a5c6d},_0x4622bf(_0x169414,_0x7bdba,_0x4c2454)),_0x5bdeec),(_0x52dee2(_0x169414,_0x7bdba)['children']||[])[_0x2fbaff(0x192)](function(_0x194701,_0x2a56ce){const _0x11a7cd=_0x2fbaff;return _0x46f9f0(_0x194701,''[_0x11a7cd(0x38e)](_0x5a5c6d,'-')['concat'](_0x169414['tag'],'-')['concat'](_0x2a56ce),_0x7bdba,void 0x0,_0x4c2454);}));}function _0x4622bf(_0x534467,_0xd44ba,_0x3737c4){const _0x413d25=_0xdba1d4;var _0x5e42be=_0x3b4b77({},_0x534467[_0x413d25(0x3a4)]);_0x3737c4!=null&&_0x3737c4[_0x413d25(0x38f)]&&_0x5e42be[_0x413d25(0x32f)]===_0x413d25(0x38f)&&(_0x5e42be[_0x413d25(0x32f)]=_0x3737c4[_0x413d25(0x38f)]),_0x534467['tag']===_0x413d25(0x3d1)&&_0x5e42be['id']&&(_0x5e42be['id']=_0x5e42be['id']+_0xd44ba[_0x413d25(0x2b7)]),Object[_0x413d25(0x3ae)](_0x5e42be)[_0x413d25(0x395)](function(_0x18c593){const _0x456b12=_0x413d25;var _0xda1696=_0x18c593[0x0],_0x58b5c7=_0x18c593[0x1];_0xda1696===_0x456b12(0x3d1)&&typeof _0x58b5c7==_0x456b12(0x2dd)&&(_0x5e42be[_0xda1696]=_0x58b5c7[_0x456b12(0x283)](/url\(#(.*)\)/,_0x456b12(0x2ca)['concat'](_0xd44ba[_0x456b12(0x2b7)],')')));});var _0x68c179=_0xd44ba[_0x413d25(0x2d2)];return!_0x68c179||_0x68c179[_0x413d25(0x20a)]===0x0||(_0x534467[_0x413d25(0x15a)]===_0x413d25(0x188)&&_0x5e42be[_0x413d25(0x181)]&&(_0x5e42be[_0x413d25(0x181)]=_0x5e42be[_0x413d25(0x181)]+_0xd44ba[_0x413d25(0x2b7)]),Object[_0x413d25(0x3ae)](_0x5e42be)[_0x413d25(0x395)](function(_0x31ac09){const _0x3ba2c7=_0x413d25;var _0x351d0c=_0x31ac09[0x0],_0x4cae46=_0x31ac09[0x1];typeof _0x4cae46=='string'&&(_0x5e42be[_0x351d0c]=_0x4cae46[_0x3ba2c7(0x283)](/url\(#(.*)\)/,_0x3ba2c7(0x2ca)[_0x3ba2c7(0x38e)](_0xd44ba['idSuffix'],')')));})),_0x5e42be;}function _0x52dee2(_0x5f372c,_0xcba51d){const _0x585444=_0xdba1d4;var _0x71619a,_0x2f2432=_0xcba51d[_0x585444(0x2d2)];return!_0x2f2432||_0x2f2432[_0x585444(0x20a)]===0x0?_0x5f372c:_0x5f372c['tag']===_0x585444(0x1ef)&&(!((_0x71619a=_0x5f372c['children'])===null||_0x71619a===void 0x0)&&_0x71619a[_0x585444(0x20a)])?_0x3b4b77(_0x3b4b77({},_0x5f372c),{'children':_0x5f372c[_0x585444(0x2b5)][_0x585444(0x192)](function(_0x49b5c0){const _0x6ba054=_0x585444;return typeof _0x49b5c0[_0x6ba054(0x3a4)]['id']=='string'&&_0x2f2432&&_0x2f2432[_0x6ba054(0x2db)](_0x49b5c0[_0x6ba054(0x3a4)]['id'])?_0x3b4b77(_0x3b4b77({},_0x49b5c0),{'attrs':_0x3b4b77(_0x3b4b77({},_0x49b5c0[_0x6ba054(0x3a4)]),{'id':_0x49b5c0[_0x6ba054(0x3a4)]['id']+_0xcba51d[_0x6ba054(0x2b7)]})}):_0x49b5c0;})}):_0x5f372c;}function _0x3f41f6(){const _0x2066d9=_0xdba1d4;return Math[_0x2066d9(0x37c)]()[_0x2066d9(0x165)](0x24)[_0x2066d9(0x1ee)](0x2,0x8);}_0x1fbe8d[_0xdba1d4(0x307)]=_0xdba1d4(0x2d9);var _0x4e925e={'tag':_0xdba1d4(0x249),'attrs':{'xmlns':_0xdba1d4(0x1cf),'fill':'none','viewBox':_0xdba1d4(0x356),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xdba1d4(0x210)},'children':[{'tag':_0xdba1d4(0x312),'attrs':{'stroke':'currentColor','d':_0xdba1d4(0x242),'strokeLinecap':_0xdba1d4(0x257),'strokeLinejoin':_0xdba1d4(0x257),'strokeWidth':1.2}}]},{'tag':_0xdba1d4(0x1ef),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0xdba1d4(0x312),'attrs':{'fill':_0xdba1d4(0x2a0),'d':_0xdba1d4(0x3cb)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x31a46e=_0x5a3830[_0xdba1d4(0x38b)](function(_0x4e49ec,_0x36b4bc){const _0x98f230=_0xdba1d4;return _0x5a3830[_0x98f230(0x32d)](_0x1fbe8d,Object['assign']({},_0x4e49ec,{'id':_0x98f230(0x1e3),'ref':_0x36b4bc,'icon':_0x4e925e}));});_0x31a46e[_0xdba1d4(0x307)]=_0xdba1d4(0x25c);var _0x36dd29={'tag':_0xdba1d4(0x249),'attrs':{'xmlns':_0xdba1d4(0x1cf),'fill':'none','viewBox':_0xdba1d4(0x254),'width':_0xdba1d4(0x3e0),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0xdba1d4(0x312),'attrs':{'stroke':_0xdba1d4(0x179),'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':_0xdba1d4(0x257),'strokeLinejoin':_0xdba1d4(0x257),'strokeWidth':1.2}}]},{'tag':_0xdba1d4(0x1ef),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0xdba1d4(0x312),'attrs':{'fill':'white','d':_0xdba1d4(0x3cb),'transform':_0xdba1d4(0x13f)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x1aeb8e=_0x5a3830[_0xdba1d4(0x38b)](function(_0x21cd3a,_0xd7b16b){const _0x3be76a=_0xdba1d4;return _0x5a3830['createElement'](_0x1fbe8d,Object[_0x3be76a(0x1fa)]({},_0x21cd3a,{'id':'on-line-icon','ref':_0xd7b16b,'icon':_0x36dd29}));});_0x1aeb8e['displayName']=_0xdba1d4(0x296);function _0x284ca7(_0x3837d6){const _0x3ce638=_0xdba1d4;switch(_0x3837d6){case _0x5aae96[_0x3ce638(0x3aa)][_0x3ce638(0x32e)]:return _0x3ce638(0x278);case _0x5aae96['CollaborationStatus'][_0x3ce638(0x2dc)]:return _0x3ce638(0x2d0);case _0x5aae96['CollaborationStatus']['FETCH_MISS']:return _0x3ce638(0x275);case _0x5aae96['CollaborationStatus']['NOT_COLLAB']:return _0x3ce638(0x1b7);case _0x5aae96[_0x3ce638(0x3aa)]['AWAITING']:case _0x5aae96[_0x3ce638(0x3aa)][_0x3ce638(0x22c)]:return _0x3ce638(0x2f0);case _0x5aae96['CollaborationStatus'][_0x3ce638(0x381)]:case _0x5aae96['CollaborationStatus'][_0x3ce638(0x196)]:return _0x3ce638(0x224);}}function _0x2c9d04(_0x4e30eb){const _0x42b3e3=_0xdba1d4,{status$:_0x3af6d}=_0x4e30eb,_0x26373b=_0x5d5ad1[_0x42b3e3(0x221)](_0x3af6d,_0x5aae96[_0x42b3e3(0x3aa)][_0x42b3e3(0x322)]),_0x3263be=_0x5d5ad1[_0x42b3e3(0x399)](_0xa0bab5[_0x42b3e3(0x292)]),_0x3087ea=_0x5d5ad1[_0x42b3e3(0x399)](_0x5aae96[_0x42b3e3(0x2ff)]),_0x17f3ac=_0x26373b!==_0x5aae96[_0x42b3e3(0x3aa)][_0x42b3e3(0x32e)],_0x140aa7=_0x3263be['t'](_0x284ca7(_0x26373b)),_0x42a7b3=_0x17f3ac?_0x497407[_0x42b3e3(0x24f)](_0x1aeb8e,{}):_0x497407[_0x42b3e3(0x24f)](_0x31a46e,{}),_0x3b5b3e=_0x5a3830[_0x42b3e3(0x264)](()=>{const _0x53802f=_0x42b3e3;_0x17f3ac||_0x3087ea[_0x53802f(0x3bc)]();},[_0x17f3ac,_0x3087ea]);function _0x191894(){const _0xb595d1=_0x42b3e3;return _0x497407['jsxs'](_0xb595d1(0x194),{'className':_0xb595d1(0x2ad),'onClick':_0x3b5b3e,'children':[_0x497407[_0xb595d1(0x24f)](_0xb595d1(0x194),{'className':_0x109233['clsx'](_0xb595d1(0x375),{'univer-text-green-500':_0x17f3ac,'univer-text-red-500':!_0x17f3ac}),'children':_0x42a7b3}),_0x497407[_0xb595d1(0x24f)](_0xb595d1(0x194),{'className':_0xb595d1(0x2c2),'children':_0x140aa7})]});}return _0x17f3ac?_0x191894():_0x497407[_0x42b3e3(0x24f)](_0x109233[_0x42b3e3(0x24d)],{'title':_0x3263be['t'](_0x42b3e3(0x30d)),'children':_0x191894()});}var _0x405721=Object['getOwnPropertyDescriptor'],_0x11875f=(_0x50245f,_0x532631,_0x492879,_0x20bd66)=>{const _0x592595=_0xdba1d4;for(var _0x30f7dc=_0x20bd66>0x1?void 0x0:_0x20bd66?_0x405721(_0x532631,_0x492879):_0x532631,_0x4da2ee=_0x50245f[_0x592595(0x20a)]-0x1,_0x4cf95e;_0x4da2ee>=0x0;_0x4da2ee--)(_0x4cf95e=_0x50245f[_0x4da2ee])&&(_0x30f7dc=_0x4cf95e(_0x30f7dc)||_0x30f7dc);return _0x30f7dc;},_0x25244d=(_0x433ef9,_0x11f111)=>(_0x3ea574,_0x4b38e7)=>_0x11f111(_0x3ea574,_0x4b38e7,_0x433ef9);_0x3e67b4[_0xdba1d4(0x248)]=class extends _0xa0bab5[_0xdba1d4(0x171)]{constructor(_0x55fc28,_0x531ee8,_0x18bece,_0x22d519){const _0x382599=_0xdba1d4;super(),_0x1bff93(this,_0x382599(0x3a8),new _0x3ac3b6[(_0x382599(0x37f))](_0x5aae96['CollaborationStatus'][_0x382599(0x322)])),(this[_0x382599(0x271)]=_0x55fc28,this[_0x382599(0x191)]=_0x531ee8,this[_0x382599(0x26d)]=_0x18bece,this['_uiPartsService']=_0x22d519,this[_0x382599(0x377)](),this['_initStatusListener']());}[_0xdba1d4(0x1b9)](){const _0x751480=_0xdba1d4;this[_0x751480(0x2c3)](this[_0x751480(0x271)][_0x751480(0x2e4)][_0x751480(0x2a4)](_0x3ac3b6[_0x751480(0x364)](()=>{const _0x21db97=_0x751480,_0x46667e=this[_0x21db97(0x271)]['getFocusedUnit']();return _0x46667e?this[_0x21db97(0x26d)][_0x21db97(0x155)](_0x46667e[_0x21db97(0x2d4)]()):_0x3ac3b6['of'](null);}),_0x3ac3b6[_0x751480(0x364)](_0x5a9234=>_0x5a9234?_0x5a9234[_0x751480(0x1b6)]:_0x3ac3b6['of'](_0x5aae96['CollaborationStatus'][_0x751480(0x322)])))[_0x751480(0x17a)](_0x3f5d55=>{this['_status$']['next'](_0x3f5d55);}));}['_initStatusComponent'](){const _0x579707=_0xdba1d4;this['disposeWithMe'](this['_uiPartsService'][_0x579707(0x24a)](_0x5d5ad1['BuiltInUIPart']['HEADER_MENU'],()=>_0x5d5ad1[_0x579707(0x382)](_0x4f5e11({'status$':this[_0x579707(0x3a8)][_0x579707(0x1d9)]()}),this[_0x579707(0x191)])));}},_0x3e67b4[_0xdba1d4(0x248)]=_0x11875f([_0x25244d(0x0,_0xa0bab5['IUniverInstanceService']),_0x25244d(0x1,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5['Injector'])),_0x25244d(0x2,_0xa0bab5['Inject'](_0x5aae96['CollaborationController'])),_0x25244d(0x3,_0x5d5ad1[_0xdba1d4(0x17b)])],_0x3e67b4['DesktopCollaborationStatusDisplayController']);function _0x4f5e11(_0x45f2d8){const {status$:_0x12e264}=_0x45f2d8;return function(){const _0x5b945e=_0x19f2;return _0x497407[_0x5b945e(0x24f)](_0x2c9d04,{'status$':_0x12e264});};}const _0x569712=_0xa0bab5[_0xdba1d4(0x148)](_0xdba1d4(0x39d));var _0x19b25b=Object[_0xdba1d4(0x2c9)],_0x11e18d=(_0x78f4ad,_0x3b191b,_0x4a2d32,_0x285f2e)=>{const _0x37a528=_0xdba1d4;for(var _0x13b200=_0x285f2e>0x1?void 0x0:_0x285f2e?_0x19b25b(_0x3b191b,_0x4a2d32):_0x3b191b,_0x55ec6a=_0x78f4ad[_0x37a528(0x20a)]-0x1,_0x4a3f36;_0x55ec6a>=0x0;_0x55ec6a--)(_0x4a3f36=_0x78f4ad[_0x55ec6a])&&(_0x13b200=_0x4a3f36(_0x13b200)||_0x13b200);return _0x13b200;},_0x397707=(_0x1ebc76,_0x5dd602)=>(_0x47f7b1,_0x5dfa1a)=>_0x5dd602(_0x47f7b1,_0x5dfa1a,_0x1ebc76);_0x3e67b4[_0xdba1d4(0x27b)]=class extends _0xa0bab5['RxDisposable']{constructor(_0x5397f8,_0x178905,_0x3ba88f,_0x585cd9,_0x571dfe){const _0x11575d=_0xdba1d4;super(),this[_0x11575d(0x276)]=_0x5397f8,this[_0x11575d(0x34c)]=_0x178905,this['_commandService']=_0x3ba88f,this['_dataLoaderService']=_0x585cd9,_0x571dfe?_0x571dfe==null||_0x571dfe[_0x11575d(0x15f)]()[_0x11575d(0x1b1)](()=>this[_0x11575d(0x3a6)]()):(this[_0x11575d(0x34c)][_0x11575d(0x2bb)]('[CollaborationDataLoaderController]',_0x11575d(0x23b)),this[_0x11575d(0x3a6)]());}async[_0xdba1d4(0x3a6)](){const _0x463335=_0xdba1d4,_0x2f3f9f=this[_0x463335(0x276)][_0x463335(0x38a)](_0x463335(0x37d)),_0x1518f5=this[_0x463335(0x276)][_0x463335(0x38a)](_0x463335(0x2a7)),_0xe583e7=this[_0x463335(0x276)][_0x463335(0x38a)]('subunit');if(!_0x2f3f9f||!_0x1518f5){this['_logService'][_0x463335(0x2bb)](_0x463335(0x35b),_0x463335(0x265));return;}const _0x31894c=await this[_0x463335(0x1f0)][_0x463335(0x219)](_0x2f3f9f,Number(_0x1518f5),_0xe583e7);_0x31894c&&_0x31894c instanceof _0xa0bab5[_0x463335(0x204)]&&this[_0x463335(0x383)](_0x31894c);}async[_0xdba1d4(0x383)](_0x278f76){const _0x29b054=_0xdba1d4;await this[_0x29b054(0x16c)](_0x278f76),_0x278f76[_0x29b054(0x36e)][_0x29b054(0x2a4)](_0x3ac3b6[_0x29b054(0x3ac)](this[_0x29b054(0x1f8)]))[_0x29b054(0x17a)](_0x173b49=>{const _0x30df40=_0x29b054;_0x173b49&&this[_0x30df40(0x1f5)](_0x173b49);}),this[_0x29b054(0x276)][_0x29b054(0x378)][_0x29b054(0x2a4)](_0x3ac3b6['takeUntil'](this['dispose$']))[_0x29b054(0x17a)](()=>this[_0x29b054(0x16c)](_0x278f76));}[_0xdba1d4(0x1f5)](_0x100acc,_0x2ea0ab=!0x1){const _0x2a691f=_0xdba1d4,_0x253650=this[_0x2a691f(0x276)][_0x2a691f(0x38a)](_0x2a691f(0x1ae));_0x100acc[_0x2a691f(0x33b)]()!==_0x253650&&this[_0x2a691f(0x276)][_0x2a691f(0x2a5)]('subunit',_0x100acc[_0x2a691f(0x33b)](),_0x2ea0ab);}async[_0xdba1d4(0x16c)](_0x386e45){const _0x18fe3d=_0xdba1d4;var _0x5edd96;const _0x45e941=this[_0x18fe3d(0x276)]['getParam'](_0x18fe3d(0x1ae));if(!_0x45e941||!_0x386e45[_0x18fe3d(0x32c)](_0x45e941)){const _0x5c8b10=_0x386e45[_0x18fe3d(0x36d)]()[0x0],_0x2b80b3=_0x386e45[_0x18fe3d(0x32c)](_0x5c8b10);if(!_0x2b80b3)return;this[_0x18fe3d(0x1f5)](_0x2b80b3,!0x0),await this['_commandService'][_0x18fe3d(0x1a6)](_0x318e47[_0x18fe3d(0x39c)]['id'],{'unitId':_0x386e45[_0x18fe3d(0x2d4)](),'subUnitId':_0x5c8b10});return;}((_0x5edd96=_0x386e45[_0x18fe3d(0x233)]())==null?void 0x0:_0x5edd96['getSheetId']())!==_0x45e941&&await this['_commandService'][_0x18fe3d(0x1a6)](_0x318e47['SetWorksheetActivateCommand']['id'],{'unitId':_0x386e45[_0x18fe3d(0x2d4)](),'subUnitId':_0x45e941});}},_0x3e67b4['CollaborationDataLoaderController']=_0x11e18d([_0x397707(0x0,_0x569712),_0x397707(0x1,_0xa0bab5[_0xdba1d4(0x17d)]),_0x397707(0x2,_0xa0bab5['ICommandService']),_0x397707(0x3,_0xa0bab5[_0xdba1d4(0x1ea)](_0x5aae96[_0xdba1d4(0x2e1)])),_0x397707(0x4,_0xa0bab5[_0xdba1d4(0x3c9)](_0x3c4ba8['IRemoteInstanceService']))],_0x3e67b4[_0xdba1d4(0x27b)]);var _0x3c6905=Object['getOwnPropertyDescriptor'],_0x15452f=(_0x4c782a,_0x5bd192,_0x11b8b5,_0x4bab47)=>{for(var _0x58cf30=_0x4bab47>0x1?void 0x0:_0x4bab47?_0x3c6905(_0x5bd192,_0x11b8b5):_0x5bd192,_0x2f8b7a=_0x4c782a['length']-0x1,_0x482b0a;_0x2f8b7a>=0x0;_0x2f8b7a--)(_0x482b0a=_0x4c782a[_0x2f8b7a])&&(_0x58cf30=_0x482b0a(_0x58cf30)||_0x58cf30);return _0x58cf30;},_0x3e8c0b=(_0x274749,_0x3c1401)=>(_0x23fbef,_0x83f0f6)=>_0x3c1401(_0x23fbef,_0x83f0f6,_0x274749);let _0x230e8b=class extends _0xa0bab5['RxDisposable']{constructor(_0x22745f,_0xfcb983){const _0x2923a4=_0xdba1d4;super(),this[_0x2923a4(0x18e)]=_0x22745f,this['_imageIoService']=_0xfcb983,this[_0x2923a4(0x3a6)]();}['_init'](){const _0x275379=_0xdba1d4,_0x5e6d29=this;this[_0x275379(0x2c3)](this[_0x275379(0x18e)][_0x275379(0x3ca)]({'onBeforePasteImage':async _0x40529c=>{const _0x3d87e4=_0x275379,_0x501d43=await _0x5e6d29[_0x3d87e4(0x16e)][_0x3d87e4(0x22b)](_0x40529c);return _0x501d43?{'source':_0x501d43[_0x3d87e4(0x299)],'imageSourceType':_0x501d43['imageSourceType']}:null;}}));}};_0x230e8b=_0x15452f([_0x3e8c0b(0x0,_0x284126['IDocClipboardService']),_0x3e8c0b(0x1,_0x1ba493['IImageIoService'])],_0x230e8b);const _0x42e7f4=['purple.300','jiqing.500',_0xdba1d4(0x336),_0xdba1d4(0x27d),_0xdba1d4(0x160),_0xdba1d4(0x145)];class _0x108060 extends _0xa0bab5['Disposable']{constructor(){const _0x46002f=_0xdba1d4;super(...arguments),_0x1bff93(this,_0x46002f(0x1fd),new Map()),_0x1bff93(this,_0x46002f(0x253),0x0);}['assignAColorForMemberID'](_0x41c624){const _0x54c261=_0xdba1d4;if(this['_assignedColors'][_0x54c261(0x17c)](_0x41c624))return this[_0x54c261(0x1fd)]['get'](_0x41c624);const _0x2e2dc5=_0x42e7f4[this[_0x54c261(0x253)]];return this[_0x54c261(0x253)]=(this['_colorIndex']+0x1)%_0x42e7f4[_0x54c261(0x20a)],this[_0x54c261(0x1fd)][_0x54c261(0x218)](_0x41c624,_0x2e2dc5),_0x2e2dc5;}}function _0x201a63(_0x47ef2d){const _0x1e9142=_0xdba1d4;let _0x2c2aa6='';for(const _0x2c4f7d of _0x47ef2d){const {startOffset:_0x447b84,endOffset:_0x5f33a8,isActive:_0x36be50,rangeType:_0x35ba99,segmentId:_0x4e3996,segmentPage:_0x423e14}=_0x2c4f7d;_0x2c2aa6[_0x1e9142(0x20a)]&&(_0x2c2aa6+=','),_0x2c2aa6+=_0x447b84+':'+_0x5f33a8+':'+(_0x36be50?'1':'0')+':'+_0x35ba99+':'+_0x4e3996+':'+_0x423e14;}return _0x2c2aa6;}function _0x214df7(_0x12107){const _0x1d2617=_0xdba1d4,_0x1122c1=_0x12107[_0x1d2617(0x34e)](','),_0x2112c4=[];for(const _0x27b20d of _0x1122c1){const [_0x5b1dff,_0x310a87,_0x50a5eb,_0x5e3016,_0x44bb18,_0x1c935d]=_0x27b20d['split'](':');_0x2112c4[_0x1d2617(0x14e)]({'startOffset':Number(_0x5b1dff),'endOffset':Number(_0x310a87),'collapsed':_0x5b1dff===_0x310a87,'isActive':_0x50a5eb==='1','rangeType':_0x5e3016===_0xa0bab5['DOC_RANGE_TYPE'][_0x1d2617(0x295)]?_0xa0bab5['DOC_RANGE_TYPE'][_0x1d2617(0x295)]:_0xa0bab5['DOC_RANGE_TYPE'][_0x1d2617(0x325)],'segmentId':typeof _0x44bb18=='string'?String(_0x44bb18):'','segmentPage':Number(_0x1c935d!=null?_0x1c935d:-0x1)});}return _0x2112c4[_0x1d2617(0x365)](_0x50f763=>_0x50f763[_0x1d2617(0x207)])||(_0x2112c4[0x0]['isActive']=!0x0),_0x2112c4;}class _0x5487e4 extends _0xa0bab5['RxDisposable']{constructor(){const _0x5eb0db=_0xdba1d4;super(...arguments),_0x1bff93(this,_0x5eb0db(0x294),new _0x3ac3b6['BehaviorSubject'](null)),_0x1bff93(this,_0x5eb0db(0x3de),this[_0x5eb0db(0x294)]['asObservable']());}[_0xdba1d4(0x3b7)](_0x49d30c){const _0x1bb9aa=_0xdba1d4,{unitID:_0x465d35,memberID:_0x3199a6,textRanges:_0x2debd4}=_0x49d30c,_0x5d604b=_0x201a63(_0x2debd4);if(_0x5d604b==='')return;const _0x14d226={'unitID':_0x465d35,'memberID':_0x3199a6,'selection':_0x5d604b};this[_0x1bb9aa(0x294)][_0x1bb9aa(0x236)](_0x14d226);}}var _0x4935b6=Object[_0xdba1d4(0x2c9)],_0x40a526=(_0xfc8688,_0x4b0030,_0xd78ead,_0x5b2485)=>{const _0x73868b=_0xdba1d4;for(var _0x5d52eb=_0x5b2485>0x1?void 0x0:_0x5b2485?_0x4935b6(_0x4b0030,_0xd78ead):_0x4b0030,_0x4913f9=_0xfc8688[_0x73868b(0x20a)]-0x1,_0x3b4d8f;_0x4913f9>=0x0;_0x4913f9--)(_0x3b4d8f=_0xfc8688[_0x4913f9])&&(_0x5d52eb=_0x3b4d8f(_0x5d52eb)||_0x5d52eb);return _0x5d52eb;},_0x228353=(_0x418f0e,_0x3f1504)=>(_0x51be05,_0x394b4b)=>_0x3f1504(_0x51be05,_0x394b4b,_0x418f0e);const _0xb2ef32=0x12c,_0x3e2d59=0x64;let _0x26619b=class extends _0xa0bab5[_0xdba1d4(0x288)]{constructor(_0x9a2164,_0x1603ee,_0x287136,_0x1fbf6,_0x20d7cd,_0x3f32bf,_0x3743a9,_0x4af5e4,_0x439b98){const _0x1a196b=_0xdba1d4;super(),_0x1bff93(this,_0x1a196b(0x16d),!0x1),_0x1bff93(this,'_init',!0x1),_0x1bff93(this,_0x1a196b(0x27f),new _0x3ac3b6['BehaviorSubject'](new Map())),_0x1bff93(this,_0x1a196b(0x394),this['_cursorInfo$'][_0x1a196b(0x1d9)]()),_0x1bff93(this,_0x1a196b(0x18c),new _0x3ac3b6[(_0x1a196b(0x37f))]([])),_0x1bff93(this,_0x1a196b(0x2f6),this['_roomMembers$'][_0x1a196b(0x2a4)](_0x3ac3b6[_0x1a196b(0x2b8)](_0xb2ef32))),_0x1bff93(this,_0x1a196b(0x245),_0xa0bab5[_0x1a196b(0x330)](_0x58f7ff=>{const _0x363975=_0x1a196b,_0x4da25a={'eventID':_0x53baaf[_0x363975(0x1f9)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x363975(0x2cb)][_0x363975(0x25f)](),'selection':_0x201a63(_0x58f7ff)}};this['_session'][_0x363975(0x1e0)](_0x4da25a,this[_0x363975(0x26a)]);},_0x3e2d59)),(this[_0x1a196b(0x26a)]=_0x9a2164,this[_0x1a196b(0x2cb)]=_0x1603ee,this[_0x1a196b(0x191)]=_0x287136,this[_0x1a196b(0x20f)]=_0x1fbf6,this[_0x1a196b(0x16f)]=_0x20d7cd,this[_0x1a196b(0x318)]=_0x3f32bf,this[_0x1a196b(0x3a9)]=_0x3743a9,this['_univerInstanceService']=_0x4af5e4,this[_0x1a196b(0x246)]=_0x439b98);}get[_0xdba1d4(0x280)](){const _0x25f57a=_0xdba1d4;return this['_cursorInfo$'][_0x25f57a(0x195)]();}get[_0xdba1d4(0x238)](){const _0x4377b1=_0xdba1d4;return this['_roomMembers$'][_0x4377b1(0x195)]();}[_0xdba1d4(0x17e)](){const _0x2e38e2=_0xdba1d4;super['dispose'](),this[_0x2e38e2(0x27f)][_0x2e38e2(0x236)](new Map()),this['_cursorInfo$'][_0x2e38e2(0x2cc)](),this['_roomMembers$'][_0x2e38e2(0x236)]([]),this[_0x2e38e2(0x18c)]['complete']();}[_0xdba1d4(0x31f)](){const _0x56b8f8=_0xdba1d4;this[_0x56b8f8(0x3a6)]||(this[_0x56b8f8(0x3a6)]=!0x0,this['_session'][_0x56b8f8(0x19b)][_0x56b8f8(0x2a4)](_0x3ac3b6[_0x56b8f8(0x3ac)](this[_0x56b8f8(0x1f8)]))[_0x56b8f8(0x17a)](_0x2c26b6=>{const _0x2a3079=_0x56b8f8;_0x2c26b6===_0x5aae96[_0x2a3079(0x373)][_0x2a3079(0x2d5)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x56b8f8(0x2cb)][_0x56b8f8(0x14c)][_0x56b8f8(0x2a4)](_0x3ac3b6[_0x56b8f8(0x3ac)](this[_0x56b8f8(0x1f8)]))[_0x56b8f8(0x17a)](_0x464bf9=>{const _0x5d1c2d=_0x56b8f8,_0xfa7372=_0x464bf9[_0x5d1c2d(0x2f4)];_0xfa7372===_0x53baaf[_0x5d1c2d(0x1f9)][_0x5d1c2d(0x300)]&&this[_0x5d1c2d(0x361)](_0x464bf9),_0xfa7372===_0x53baaf[_0x5d1c2d(0x1f9)][_0x5d1c2d(0x2e2)]&&this[_0x5d1c2d(0x2bc)](_0x464bf9);}),this[_0x56b8f8(0x2c3)](this[_0x56b8f8(0x246)][_0x56b8f8(0x2cd)](_0x2ccab3=>{const _0x1a24ac=_0x56b8f8,_0x38fffd=_0x2ccab3[_0x1a24ac(0x1a3)];_0x38fffd!=null&&this['_online']&&_0x2ccab3['id']===_0x3e46d1[_0x1a24ac(0x170)]['id']&&_0x38fffd[_0x1a24ac(0x15b)]===this[_0x1a24ac(0x26a)]&&_0x38fffd[_0x1a24ac(0x234)]===!0x1&&_0x38fffd[_0x1a24ac(0x3c8)][_0x1a24ac(0x20a)]>0x0&&this['_updateLocalCursor'](_0x38fffd[_0x1a24ac(0x3c8)]);})),this[_0x56b8f8(0x318)][_0x56b8f8(0x3de)][_0x56b8f8(0x2a4)](_0x3ac3b6['takeUntil'](this['dispose$']))[_0x56b8f8(0x17a)](_0x3646d7=>{const _0x37430a=_0x56b8f8;if((_0x3646d7==null?void 0x0:_0x3646d7[_0x37430a(0x26a)])!==this[_0x37430a(0x26a)])return;const _0x2acfe8={'eventID':_0x53baaf[_0x37430a(0x1f9)][_0x37430a(0x300)],'data':_0x3646d7};this['_onCursorUpdate'](_0x2acfe8);}),this[_0x56b8f8(0x2c3)](this['_commandService'][_0x56b8f8(0x2cd)](_0x2ba0e7=>{const _0x27ef15=_0x56b8f8;if(_0x2ba0e7[_0x27ef15(0x1a3)]==null)return;const _0xc6289c=_0x2ba0e7['params'];if(_0x2ba0e7['id']!==_0x3e46d1[_0x27ef15(0x2f2)]['id']||_0xc6289c[_0x27ef15(0x15b)]!==this[_0x27ef15(0x26a)])return;const _0x5ed7fc={'id':_0x27ef15(0x202),'params':_0xc6289c},_0x2b09a9=this[_0x27ef15(0x280)];for(const [_0x4e54c1,_0x3fd1ac]of _0x2b09a9){const _0x332988={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3fd1ac[_0x27ef15(0x3c8)]}},_0x38cd71=this[_0x27ef15(0x3a9)][_0x27ef15(0x2e3)](_0x5ed7fc,_0x332988,!0x1);if(_0x53baaf[_0x27ef15(0x3a1)](_0x38cd71))throw _0x38cd71[_0x27ef15(0x352)];_0x2b09a9[_0x27ef15(0x218)](_0x4e54c1,{..._0x3fd1ac,'ranges':_0x38cd71[_0x27ef15(0x3d6)][_0x27ef15(0x1a3)]['textRanges']});}queueMicrotask(()=>{const _0xed6149=_0x27ef15;this[_0xed6149(0x27f)][_0xed6149(0x236)](_0x2b09a9);});})));}[_0xdba1d4(0x361)](_0x246ce4){const _0xca559d=_0xdba1d4;var _0x3c3888,_0x26e6e9;const {memberID:_0x27075c,selection:_0x5c46c6}=_0x246ce4[_0xca559d(0x3ba)],_0x439403=_0x214df7(_0x5c46c6),_0x23ae54=(_0x26e6e9=(_0x3c3888=this[_0xca559d(0x16f)]['getMember'](this[_0xca559d(0x26a)],_0x27075c))==null?void 0x0:_0x3c3888[_0xca559d(0x391)])!=null?_0x26e6e9:_0xca559d(0x211),_0x3c8c64={'color':this[_0xca559d(0x20f)][_0xca559d(0x1e6)](_0x27075c),'name':_0x23ae54,'ranges':_0x439403},_0x5e4337=this[_0xca559d(0x280)];_0x5e4337[_0xca559d(0x218)](_0x27075c,_0x3c8c64),this['_cursorInfo$'][_0xca559d(0x236)](_0x5e4337);}[_0xdba1d4(0x2bc)](_0x3b5f45){const _0x43d052=_0xdba1d4,{memberID:_0x186b34}=_0x3b5f45[_0x43d052(0x3ba)],_0x27f76e=this[_0x43d052(0x280)];_0x27f76e[_0x43d052(0x386)](_0x186b34),this[_0x43d052(0x27f)]['next'](_0x27f76e);}[_0xdba1d4(0x36b)](){const _0x2b59aa=_0xdba1d4;var _0x3f4548;if(this[_0x2b59aa(0x16d)]=!0x0,((_0x3f4548=this[_0x2b59aa(0x271)][_0x2b59aa(0x22f)]())==null?void 0x0:_0x3f4548[_0x2b59aa(0x2d4)]())!==this[_0x2b59aa(0x26a)])return;const _0x1eac85=this[_0x2b59aa(0x191)][_0x2b59aa(0x3b3)](_0x3e46d1[_0x2b59aa(0x2c7)])['getDocRanges']();Array[_0x2b59aa(0x38d)](_0x1eac85)&&_0x1eac85[_0x2b59aa(0x20a)]>0x0&&this[_0x2b59aa(0x245)](_0x1eac85);}['_toggleOffline'](){const _0xaaafd3=_0xdba1d4;this[_0xaaafd3(0x16d)]=!0x1;}};_0x26619b=_0x40a526([_0x228353(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5[_0xdba1d4(0x3d8)])),_0x228353(0x3,_0xa0bab5[_0xdba1d4(0x1ea)](_0x108060)),_0x228353(0x4,_0xa0bab5[_0xdba1d4(0x1ea)](_0x5aae96[_0xdba1d4(0x267)])),_0x228353(0x5,_0xa0bab5[_0xdba1d4(0x1ea)](_0x5487e4)),_0x228353(0x6,_0x53baaf['ITransformService']),_0x228353(0x7,_0xa0bab5[_0xdba1d4(0x198)]),_0x228353(0x8,_0xa0bab5[_0xdba1d4(0x1d5)])],_0x26619b);var _0x2f23ae=Object[_0xdba1d4(0x2c9)],_0x40a0ec=(_0xe840dc,_0x47506e,_0x8c5989,_0x2bd762)=>{const _0x143f1a=_0xdba1d4;for(var _0x17c997=_0x2bd762>0x1?void 0x0:_0x2bd762?_0x2f23ae(_0x47506e,_0x8c5989):_0x47506e,_0x14898f=_0xe840dc[_0x143f1a(0x20a)]-0x1,_0x5e8e5e;_0x14898f>=0x0;_0x14898f--)(_0x5e8e5e=_0xe840dc[_0x14898f])&&(_0x17c997=_0x5e8e5e(_0x17c997)||_0x17c997);return _0x17c997;},_0x354ccb=(_0x4268ff,_0xff568e)=>(_0x3b8453,_0x437477)=>_0xff568e(_0x3b8453,_0x437477,_0x4268ff);const _0x4f0973=0x12c,_0x3f831e=0x64,_0x2a7d42=()=>{let _0x5d74c2=[],_0x3c5717=!0x1;return _0x31996b=>{const _0x565385=_0x19f2;_0x5d74c2[_0x565385(0x14e)](_0x31996b),_0x3c5717||(_0x3c5717=!0x0,setTimeout(()=>{const _0x1d3c4a=_0x565385;_0x5d74c2[_0x1d3c4a(0x395)](_0x8f0ed8=>_0x8f0ed8()),_0x5d74c2=[],_0x3c5717=!0x1;}));};};let _0x2ac640=class extends _0xa0bab5['RxDisposable']{constructor(_0x368e76,_0x32d1c0,_0x42bd8e,_0xc3465c,_0xd2d4e3,_0x190f20,_0xad1fe7,_0x233fbb){const _0x4ff87a=_0xdba1d4;super(),_0x1bff93(this,'_online',!0x1),_0x1bff93(this,_0x4ff87a(0x3a6),!0x1),_0x1bff93(this,_0x4ff87a(0x27f),new _0x3ac3b6[(_0x4ff87a(0x37f))](new Map())),_0x1bff93(this,_0x4ff87a(0x394),this['_cursorInfo$'][_0x4ff87a(0x1d9)]()),_0x1bff93(this,_0x4ff87a(0x18c),new _0x3ac3b6['BehaviorSubject']([])),_0x1bff93(this,_0x4ff87a(0x2f6),this['_roomMembers$']['pipe'](_0x3ac3b6['debounceTime'](_0x4f0973))),_0x1bff93(this,'_updateLocalCursor',_0xa0bab5[_0x4ff87a(0x330)]((_0x12a787,_0x5eb05c)=>{const _0x388b17=_0x4ff87a,_0x434b85={'eventID':_0x53baaf[_0x388b17(0x1f9)][_0x388b17(0x300)],'data':{'unitID':this[_0x388b17(0x26a)],'memberID':this[_0x388b17(0x2cb)][_0x388b17(0x25f)](),'selection':_0x485e46[_0x388b17(0x269)](_0x12a787,_0x5eb05c[_0x388b17(0x14f)])}};this[_0x388b17(0x2cb)][_0x388b17(0x1e0)](_0x434b85,this[_0x388b17(0x26a)]);},_0x3f831e)),(this[_0x4ff87a(0x26a)]=_0x368e76,this[_0x4ff87a(0x2cb)]=_0x32d1c0,this[_0x4ff87a(0x191)]=_0x42bd8e,this[_0x4ff87a(0x20f)]=_0xc3465c,this['_memberService']=_0xd2d4e3,this['_univerInstanceService']=_0x190f20,this[_0x4ff87a(0x246)]=_0xad1fe7,this['_refRangeService']=_0x233fbb);}get[_0xdba1d4(0x280)](){const _0x5b1433=_0xdba1d4;return this['_cursorInfo$'][_0x5b1433(0x195)]();}get[_0xdba1d4(0x238)](){const _0x81eaa0=_0xdba1d4;return this[_0x81eaa0(0x18c)][_0x81eaa0(0x195)]();}[_0xdba1d4(0x17e)](){const _0x524362=_0xdba1d4;super[_0x524362(0x17e)](),this[_0x524362(0x27f)][_0x524362(0x236)](new Map()),this[_0x524362(0x27f)][_0x524362(0x2cc)](),this[_0x524362(0x18c)][_0x524362(0x236)]([]),this[_0x524362(0x18c)][_0x524362(0x2cc)]();}[_0xdba1d4(0x31f)](){const _0x553e7c=_0xdba1d4;this[_0x553e7c(0x3a6)]||(this[_0x553e7c(0x3a6)]=!0x0,this['_session'][_0x553e7c(0x19b)][_0x553e7c(0x2a4)](_0x3ac3b6['takeUntil'](this[_0x553e7c(0x1f8)]))['subscribe'](_0x4b0a21=>{const _0x2ca145=_0x553e7c;_0x4b0a21===_0x5aae96[_0x2ca145(0x373)]['ONLINE']?this[_0x2ca145(0x36b)]():this[_0x2ca145(0x1ba)]();}),this[_0x553e7c(0x2cb)][_0x553e7c(0x14c)][_0x553e7c(0x2a4)](_0x3ac3b6['takeUntil'](this[_0x553e7c(0x1f8)]))[_0x553e7c(0x17a)](_0x19bb17=>{const _0x116dff=_0x553e7c,_0x357554=_0x19bb17[_0x116dff(0x2f4)];_0x357554===_0x53baaf[_0x116dff(0x1f9)][_0x116dff(0x300)]&&this[_0x116dff(0x361)](_0x19bb17),_0x357554===_0x53baaf[_0x116dff(0x1f9)][_0x116dff(0x2e2)]&&this[_0x116dff(0x2bc)](_0x19bb17);}),this[_0x553e7c(0x28c)](),this[_0x553e7c(0x2c3)](this['_commandService'][_0x553e7c(0x2cd)](_0x477497=>{const _0x2976e5=_0x553e7c;if(this[_0x2976e5(0x16d)]&&_0x477497['id']===_0x318e47[_0x2976e5(0x29d)]['id']&&_0x477497[_0x2976e5(0x1a3)][_0x2976e5(0x15b)]===this[_0x2976e5(0x26a)]){const _0xf39d0b=_0x477497[_0x2976e5(0x1a3)];this[_0x2976e5(0x245)](_0xf39d0b[_0x2976e5(0x3cc)],_0xf39d0b[_0x2976e5(0x1b2)][0x0]);}})));}[_0xdba1d4(0x361)](_0x43423c){const _0x37d3a1=_0xdba1d4;var _0x3b8ce7,_0x335f3b;const {memberID:_0x37972c,selection:_0x29d8bc}=_0x43423c[_0x37d3a1(0x3ba)],{sheetName:_0x31cab4,range:_0x248f70}=_0x485e46['deserializeRangeWithSheet'](_0x29d8bc),_0x5cc916={'name':(_0x335f3b=(_0x3b8ce7=this[_0x37d3a1(0x16f)][_0x37d3a1(0x34a)](this[_0x37d3a1(0x26a)],_0x37972c))==null?void 0x0:_0x3b8ce7[_0x37d3a1(0x391)])!=null?_0x335f3b:'Unknown\x20user','range':this['_getMergeRange'](_0x31cab4,_0x248f70),'sheetID':_0x31cab4,'color':this['_colorAssignService'][_0x37d3a1(0x1e6)](_0x37972c),'selection':_0x29d8bc},_0x37ac38=this[_0x37d3a1(0x280)];_0x37ac38['set'](_0x37972c,_0x5cc916),this['_cursorInfo$'][_0x37d3a1(0x236)](_0x37ac38);}[_0xdba1d4(0x2bc)](_0x10880d){const _0x5bf9ff=_0xdba1d4,{memberID:_0x16beac}=_0x10880d[_0x5bf9ff(0x3ba)],_0x207040=this[_0x5bf9ff(0x280)];_0x207040[_0x5bf9ff(0x386)](_0x16beac),this[_0x5bf9ff(0x27f)][_0x5bf9ff(0x236)](_0x207040);}[_0xdba1d4(0x2cf)](_0x4acddb,_0x598942){const _0x2beb10=_0xdba1d4;var _0xebf81d,_0xade41a;const _0x239dc1=(_0xade41a=(_0xebf81d=this['_univerInstanceService'][_0x2beb10(0x1ca)](this[_0x2beb10(0x26a)]))==null?void 0x0:_0xebf81d['getSheetBySheetId'](_0x4acddb))==null?void 0x0:_0xade41a[_0x2beb10(0x200)]();return(_0x239dc1==null?void 0x0:_0x239dc1['find'](_0x49ca65=>_0xa0bab5[_0x2beb10(0x29a)][_0x2beb10(0x2ce)](_0x49ca65,_0x598942)))||_0x598942;}[_0xdba1d4(0x28c)](){const _0x48085e=_0xdba1d4,_0x1a5c19=new _0xa0bab5[(_0x48085e(0x25b))](),_0x2fa143=_0x2a7d42(),_0x533965=()=>{const _0x23fffd=_0x48085e;_0x1a5c19[_0x23fffd(0x17e)]();const _0x1e9523=(_0x588f74,_0x3485a8,_0x4d388e,_0x34fcfc)=>{const _0x42878f=_0x23fffd;let _0x1a5d9d=[];switch(_0x588f74['id']){case _0x318e47['EffectRefRangId'][_0x42878f(0x1c7)]:{_0x1a5d9d=_0x318e47['handleDeleteRangeMoveLeft'](_0x588f74,_0x34fcfc);break;}case _0x318e47[_0x42878f(0x274)][_0x42878f(0x21f)]:{_0x1a5d9d=_0x318e47[_0x42878f(0x39b)](_0x588f74,_0x34fcfc);break;}case _0x318e47[_0x42878f(0x274)][_0x42878f(0x371)]:{_0x1a5d9d=_0x318e47['handleInsertCol'](_0x588f74,_0x34fcfc);break;}case _0x318e47[_0x42878f(0x274)][_0x42878f(0x3b9)]:{_0x1a5d9d=_0x318e47[_0x42878f(0x2bf)](_0x588f74,_0x34fcfc);break;}case _0x318e47[_0x42878f(0x274)][_0x42878f(0x3c0)]:{_0x1a5d9d=_0x318e47[_0x42878f(0x2ab)](_0x588f74,_0x34fcfc);break;}case _0x318e47['EffectRefRangId'][_0x42878f(0x2e7)]:{_0x1a5d9d=_0x318e47[_0x42878f(0x1c8)](_0x588f74,_0x34fcfc);break;}case _0x318e47[_0x42878f(0x274)]['MoveRangeCommandId']:{_0x1a5d9d=_0x318e47[_0x42878f(0x3d4)](_0x588f74,_0x34fcfc);break;}case _0x318e47['EffectRefRangId'][_0x42878f(0x193)]:{_0x1a5d9d=_0x318e47['handleIRemoveCol'](_0x588f74,_0x34fcfc);break;}case _0x318e47[_0x42878f(0x274)]['RemoveRowCommandId']:{_0x1a5d9d=_0x318e47[_0x42878f(0x2e5)](_0x588f74,_0x34fcfc);break;}}const _0xb2d6ac=_0x318e47[_0x42878f(0x2af)](_0x1a5d9d,_0x34fcfc),_0xcd933e=this[_0x42878f(0x280)]['get'](_0x3485a8);if(_0xcd933e&&_0xb2d6ac){const _0x493a01={..._0xcd933e,'range':_0xb2d6ac};this['cursorInfo'][_0x42878f(0x218)](_0x3485a8,_0x493a01),_0x2fa143(()=>{const _0x2bca85=_0x42878f,_0x1a1b20=this[_0x2bca85(0x3d5)][_0x2bca85(0x189)](_0xb2d6ac,_0x5aba43=>(_0x1a1b20[_0x2bca85(0x17e)](),_0x1e9523(_0x5aba43,_0x3485a8,_0x4d388e,_0xb2d6ac)));_0x1a5c19['add'](_0x1a1b20);});}return{'redos':[],'undos':[]};};this[_0x23fffd(0x280)][_0x23fffd(0x395)]((_0x126a1a,_0x57f8ea)=>{const _0x503ffe=_0x23fffd,{range:_0x5ccb05,sheetID:_0x2904f5}=_0x126a1a,_0x4b630f=this[_0x503ffe(0x3d5)][_0x503ffe(0x189)](_0x5ccb05,_0x56b9c9=>(_0x4b630f[_0x503ffe(0x17e)](),_0x1e9523(_0x56b9c9,_0x57f8ea,_0x2904f5,_0x5ccb05)));_0x1a5c19[_0x503ffe(0x33e)](_0x4b630f);});};this['disposeWithMe'](_0xa0bab5[_0x48085e(0x146)](this['_cursorInfo$'][_0x48085e(0x17a)](()=>{_0x533965();})));}[_0xdba1d4(0x36b)](){const _0x94d323=_0xdba1d4;var _0x51c465,_0x4987c5;if(this[_0x94d323(0x16d)]=!0x0,((_0x51c465=this['_univerInstanceService'][_0x94d323(0x22f)]())==null?void 0x0:_0x51c465['getUnitId']())!==this[_0x94d323(0x26a)])return;const _0x4dc47f=(_0x4987c5=this[_0x94d323(0x191)][_0x94d323(0x3b3)](_0x318e47['SheetsSelectionsService'])[_0x94d323(0x250)]())==null?void 0x0:_0x4987c5[0x0],_0x375576=this[_0x94d323(0x271)][_0x94d323(0x1ce)](_0xa0bab5[_0x94d323(0x297)][_0x94d323(0x18a)])[_0x94d323(0x233)]();_0x4dc47f&&_0x375576&&this[_0x94d323(0x245)](_0x375576['getSheetId'](),_0x4dc47f);}['_toggleOffline'](){const _0x2c4536=_0xdba1d4;this[_0x2c4536(0x16d)]=!0x1;}};_0x2ac640=_0x40a0ec([_0x354ccb(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5['Injector'])),_0x354ccb(0x3,_0xa0bab5['Inject'](_0x108060)),_0x354ccb(0x4,_0xa0bab5[_0xdba1d4(0x1ea)](_0x5aae96['MemberService'])),_0x354ccb(0x5,_0xa0bab5[_0xdba1d4(0x198)]),_0x354ccb(0x6,_0xa0bab5[_0xdba1d4(0x1d5)]),_0x354ccb(0x7,_0xa0bab5[_0xdba1d4(0x1ea)](_0x318e47[_0xdba1d4(0x25e)]))],_0x2ac640);var _0x4af2ea=Object[_0xdba1d4(0x2c9)],_0x26ff83=(_0x540137,_0x5bb052,_0x1cf1bd,_0x5ed427)=>{const _0x1e691d=_0xdba1d4;for(var _0x473c29=_0x5ed427>0x1?void 0x0:_0x5ed427?_0x4af2ea(_0x5bb052,_0x1cf1bd):_0x5bb052,_0x4c9d5b=_0x540137[_0x1e691d(0x20a)]-0x1,_0x33ad35;_0x4c9d5b>=0x0;_0x4c9d5b--)(_0x33ad35=_0x540137[_0x4c9d5b])&&(_0x473c29=_0x33ad35(_0x473c29)||_0x473c29);return _0x473c29;},_0x1b19ec=(_0x528d58,_0x417b3a)=>(_0x5e8249,_0x37625c)=>_0x417b3a(_0x5e8249,_0x37625c,_0x528d58);let _0x14ee2b=class extends _0xa0bab5[_0xdba1d4(0x288)]{constructor(_0x3cd2a9,_0x778f28,_0x1e31c6){const _0x4b8a66=_0xdba1d4;super(),_0x1bff93(this,_0x4b8a66(0x150),new Map()),_0x1bff93(this,'_entityInit$',new _0x3ac3b6[(_0x4b8a66(0x239))]()),(this['_univerInstanceService']=_0x3cd2a9,this[_0x4b8a66(0x191)]=_0x778f28,this[_0x4b8a66(0x2c4)]=_0x1e31c6,this[_0x4b8a66(0x3a6)]());}[_0xdba1d4(0x17e)](){const _0x5c1e97=_0xdba1d4;super[_0x5c1e97(0x17e)](),this[_0x5c1e97(0x2aa)][_0x5c1e97(0x2cc)](),this['_entities']['forEach'](_0x3ba838=>_0x3ba838[_0x5c1e97(0x17e)]());}[_0xdba1d4(0x332)](_0x3c7ce7){const _0x1a095f=_0xdba1d4;return this['_entities'][_0x1a095f(0x17c)](_0x3c7ce7)?this[_0x1a095f(0x150)][_0x1a095f(0x3b3)](_0x3c7ce7)[_0x1a095f(0x394)]:this[_0x1a095f(0x2aa)]['pipe'](_0x3ac3b6[_0x1a095f(0x259)](_0x2c572f=>_0x2c572f[_0x1a095f(0x26a)]===_0x3c7ce7),_0x3ac3b6[_0x1a095f(0x364)](_0x1080de=>_0x1080de['cursorInfo$']));}[_0xdba1d4(0x3a6)](){const _0x33e8d2=_0xdba1d4;this[_0x33e8d2(0x271)][_0x33e8d2(0x14d)](_0xa0bab5[_0x33e8d2(0x297)][_0x33e8d2(0x18a)])[_0x33e8d2(0x2a4)](_0x3ac3b6[_0x33e8d2(0x3ac)](this[_0x33e8d2(0x1f8)]))[_0x33e8d2(0x17a)](async _0x3a4fe6=>{const _0xaa32ff=_0x33e8d2,_0x346f21=_0x3a4fe6[_0xaa32ff(0x2d4)](),_0x432941=await this[_0xaa32ff(0x293)](_0x346f21);this['_entityInit$'][_0xaa32ff(0x236)](_0x432941),this[_0xaa32ff(0x150)][_0xaa32ff(0x218)](_0x346f21,_0x432941);}),this['_univerInstanceService'][_0x33e8d2(0x14d)](_0xa0bab5[_0x33e8d2(0x297)]['UNIVER_DOC'])[_0x33e8d2(0x2a4)](_0x3ac3b6[_0x33e8d2(0x3ac)](this[_0x33e8d2(0x1f8)]))['pipe'](_0x3ac3b6[_0x33e8d2(0x259)](_0x2f6caf=>!_0x2f6caf['getUnitId']()[_0x33e8d2(0x2be)]('__')))['subscribe'](async _0x5e4432=>{const _0x58132d=_0x33e8d2,_0xbc1ce9=_0x5e4432[_0x58132d(0x2d4)](),_0x4c4b92=await this['_startDocCollabCursor'](_0xbc1ce9);this[_0x58132d(0x2aa)][_0x58132d(0x236)](_0x4c4b92),this[_0x58132d(0x150)]['set'](_0xbc1ce9,_0x4c4b92);}),_0x3ac3b6['merge'](this[_0x33e8d2(0x271)][_0x33e8d2(0x20d)](_0xa0bab5['UniverInstanceType'][_0x33e8d2(0x2fa)]),this[_0x33e8d2(0x271)][_0x33e8d2(0x20d)](_0xa0bab5[_0x33e8d2(0x297)][_0x33e8d2(0x18a)]))[_0x33e8d2(0x2a4)](_0x3ac3b6[_0x33e8d2(0x3ac)](this['dispose$']))['subscribe'](_0x20c0d7=>{const _0x2ae105=_0x33e8d2,_0x544ee8=_0x20c0d7[_0x2ae105(0x2d4)](),_0x2b44ca=this[_0x2ae105(0x150)][_0x2ae105(0x3b3)](_0x544ee8);_0x2b44ca&&(_0x2b44ca[_0x2ae105(0x17e)](),this[_0x2ae105(0x150)][_0x2ae105(0x386)](_0x544ee8));});}async[_0xdba1d4(0x293)](_0x108307){const _0x2a3610=_0xdba1d4,_0xf34ca7=await this[_0x2a3610(0x2c4)]['requireSession'](_0x108307),_0x316a2f=this[_0x2a3610(0x191)]['createInstance'](_0x2ac640,_0x108307,_0xf34ca7);return _0x316a2f[_0x2a3610(0x31f)](),_0x316a2f;}async[_0xdba1d4(0x281)](_0x5c65f2){const _0x2bb4c6=_0xdba1d4,_0x564d7c=await this[_0x2bb4c6(0x2c4)][_0x2bb4c6(0x147)](_0x5c65f2),_0x384be7=this[_0x2bb4c6(0x191)][_0x2bb4c6(0x220)](_0x26619b,_0x5c65f2,_0x564d7c);return _0x384be7[_0x2bb4c6(0x31f)](),_0x384be7;}};_0x14ee2b=_0x26ff83([_0x1b19ec(0x0,_0xa0bab5[_0xdba1d4(0x198)]),_0x1b19ec(0x1,_0xa0bab5['Inject'](_0xa0bab5[_0xdba1d4(0x3d8)])),_0x1b19ec(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0x5aae96['CollaborationSessionService']))],_0x14ee2b);const _0x56d132=0x14,_0x2576aa=0xc8,_0x1e16f1=0x4,_0x323b28=0x5;function _0x8931eb(_0x1f3f6d,_0x5e4816){const _0x24b566=_0xdba1d4;let {radius:_0x341d40,width:_0x189994,height:_0x521266}=_0x5e4816;_0x341d40=_0x341d40!=null?_0x341d40:0x0,_0x189994=_0x189994!=null?_0x189994:0x1e,_0x521266=_0x521266!=null?_0x521266:0x1e;let _0x5a498c=0x0,_0x14f4da=0x0,_0x509155=0x0;_0x5a498c=_0x14f4da=_0x509155=Math[_0x24b566(0x14a)](_0x341d40,_0x189994/0x2,_0x521266/0x2),_0x1f3f6d[_0x24b566(0x1bd)](),_0x1f3f6d[_0x24b566(0x1ad)](_0x5a498c,0x0),_0x1f3f6d[_0x24b566(0x1c6)](_0x189994-_0x14f4da,0x0),_0x1f3f6d[_0x24b566(0x1d2)](_0x189994-_0x14f4da,_0x14f4da,_0x14f4da,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f3f6d['lineTo'](_0x189994,_0x521266-_0x509155),_0x1f3f6d[_0x24b566(0x1d2)](_0x189994-_0x509155,_0x521266-_0x509155,_0x509155,0x0,Math['PI']/0x2,!0x1),_0x1f3f6d['lineTo'](0x0,_0x521266),_0x1f3f6d[_0x24b566(0x1c6)](0x0,_0x5a498c),_0x1f3f6d[_0x24b566(0x1d2)](_0x5a498c,_0x5a498c,_0x5a498c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f3f6d[_0x24b566(0x36a)](),_0x5e4816[_0x24b566(0x32f)]&&(_0x1f3f6d['save'](),_0x1f3f6d[_0x24b566(0x389)]=_0x5e4816[_0x24b566(0x32f)],_0x5e4816['fillRule']===_0x24b566(0x3b0)?_0x1f3f6d['fill'](_0x24b566(0x3b0)):_0x1f3f6d['fill'](),_0x1f3f6d[_0x24b566(0x21e)]());}class _0x37d829 extends _0x2664c9[_0xdba1d4(0x3dd)]{constructor(_0x44f4b8,_0xb38f42){const _0x2beaad=_0xdba1d4;super(_0x44f4b8,_0xb38f42),_0x1bff93(this,_0x2beaad(0x176)),_0x1bff93(this,_0x2beaad(0x35a)),(this['color']=_0xb38f42==null?void 0x0:_0xb38f42[_0x2beaad(0x176)],this[_0x2beaad(0x35a)]=_0xb38f42==null?void 0x0:_0xb38f42['text']);}static[_0xdba1d4(0x36c)](_0x18f729,_0x3a4b57){const _0x459598=_0xdba1d4,{text:_0x490af1,color:_0x1ae02b}=_0x3a4b57;_0x18f729['save'](),_0x18f729['font']=_0x459598(0x3c3);const _0x58d617=_0x18f729[_0x459598(0x142)](_0x490af1)[_0x459598(0x366)],_0x1edcfa=Math['min'](_0x58d617+0x2*_0x1e16f1,_0x2576aa);_0x8931eb(_0x18f729,{'height':_0x56d132,'radius':0x4,'width':_0x1edcfa,'fill':_0x1ae02b}),_0x18f729['fillStyle']=_0x459598(0x1fb);const _0x426111=_0x1e16f1,_0x15d4db=_0x56d132-_0x323b28,_0x4c52cf=_0x2576aa-0x2*_0x1e16f1;if(_0x58d617>_0x4c52cf){let _0x2b3b9b='',_0x3b63a5=0x0;for(const _0x31668d of _0x490af1){const _0x174ef9=_0x18f729[_0x459598(0x142)](_0x31668d)[_0x459598(0x366)];if(_0x3b63a5+_0x174ef9<=_0x4c52cf-_0x18f729[_0x459598(0x142)](_0x459598(0x3b5))['width'])_0x2b3b9b+=_0x31668d,_0x3b63a5+=_0x174ef9;else{_0x2b3b9b+=_0x459598(0x3b5);break;}}_0x18f729[_0x459598(0x2fe)](_0x2b3b9b,_0x426111,_0x15d4db);}else _0x18f729[_0x459598(0x2fe)](_0x490af1,_0x426111,_0x15d4db);_0x18f729[_0x459598(0x21e)]();}[_0xdba1d4(0x174)](_0x2135bf){const _0x33e7d0=_0xdba1d4;_0x37d829[_0x33e7d0(0x36c)](_0x2135bf,this);}}const _0x44af01=_0xdba1d4(0x22d),_0x20ff07=_0xdba1d4(0x3bf),_0xf79d4b=_0xdba1d4(0x23f),_0xd2fa2a=0x6,_0x2c5568=1.5,_0x24f00c=0x4,_0x4496ba=1.5,_0x41c519='rgba(255,\x20255,\x20255,\x200.01)';class _0x5e712a{constructor(_0x31099d,_0xe515ed,_0x12cc84,_0x15bfb0){const _0x510c2f=_0xdba1d4;_0x1bff93(this,_0x510c2f(0x247),[]),_0x1bff93(this,_0x510c2f(0x1db),null),_0x1bff93(this,_0x510c2f(0x1de),null),_0x1bff93(this,_0x510c2f(0x2d6),null),_0x1bff93(this,_0x510c2f(0x29c),null),_0x1bff93(this,'_eventUnsubscribe',null),(this[_0x510c2f(0x36f)]=_0x31099d,this['_scene']=_0xe515ed,this[_0x510c2f(0x30e)]=_0x12cc84,this['_document']=_0x15bfb0,this[_0x510c2f(0x3ce)]());}set['_hover'](_0x252a49){const _0x1ab2bc=_0xdba1d4;_0x252a49?(this[_0x1ab2bc(0x2d6)]&&this['_anchorDot'][_0x1ab2bc(0x1c4)](),this['_textBubble']&&this[_0x1ab2bc(0x1de)][_0x1ab2bc(0x206)]()):(this['_anchorDot']&&this[_0x1ab2bc(0x2d6)][_0x1ab2bc(0x206)](),this[_0x1ab2bc(0x1de)]&&this[_0x1ab2bc(0x1de)][_0x1ab2bc(0x1c4)]());}[_0xdba1d4(0x17e)](){const _0x3b85dd=_0xdba1d4;for(const _0x529019 of this[_0x3b85dd(0x247)])_0x529019[_0x3b85dd(0x17e)]();this[_0x3b85dd(0x1de)]&&this['_textBubble'][_0x3b85dd(0x17e)](),this[_0x3b85dd(0x2d6)]&&this['_anchorDot'][_0x3b85dd(0x17e)](),this[_0x3b85dd(0x1db)]&&this[_0x3b85dd(0x1db)][_0x3b85dd(0x17e)](),this[_0x3b85dd(0x151)]&&this['_eventUnsubscribe']();}[_0xdba1d4(0x3ce)](){const _0x1f5913=_0xdba1d4;var _0x1d959f;const {_docSkeleton:_0x354048,_document:_0x229bd5}=this,{color:_0x58229b,name:_0x60058a,ranges:_0x297ac9}=this[_0x1f5913(0x36f)],_0x13a647=_0x229bd5[_0x1f5913(0x33d)](),{docsLeft:_0x2c624d,docsTop:_0x33aea4}=_0x13a647,_0x42ca98=new _0x284126[(_0x1f5913(0x301))](_0x13a647,_0x354048);for(const {startOffset:_0x237b40,endOffset:_0x57a7d7,rangeType:_0x236e8a,segmentId:_0x43d291,segmentPage:_0x1367e,collapsed:_0x3275d0,isActive:_0xa5b02d}of _0x297ac9){const _0x4ce76a=_0x354048[_0x1f5913(0x393)](_0x237b40,!0x0,_0x43d291,_0x1367e);let _0x5e44f1=_0x354048[_0x1f5913(0x393)](_0x57a7d7,!0x0,_0x43d291,_0x1367e);if(_0x5e44f1==null&&(_0x5e44f1=_0x354048[_0x1f5913(0x393)](_0x57a7d7-0x1,!0x1,_0x43d291,_0x1367e)),_0xa5b02d){const {contentBoxPointGroup:_0x4250cb}=_0x42ca98['getRangePointData'](_0x5e44f1,_0x5e44f1);if(_0x4250cb[_0x1f5913(0x20a)]===0x0)continue;this[_0x1f5913(0x302)](_0x58229b,_0x4250cb,_0x2c624d,_0x33aea4,_0x60058a),this[_0x1f5913(0x151)]=this['_handleHover']();}if(_0x4ce76a&&_0x5e44f1){if(_0x236e8a===_0xa0bab5['DOC_RANGE_TYPE'][_0x1f5913(0x325)]){const _0x58d361=new _0x284126['NodePositionConvertToRectRange'](_0x13a647,_0x354048),{pointGroup:_0x1bc5c6}=(_0x1d959f=_0x58d361['getRangePointData'](_0x4ce76a,_0x5e44f1))!=null?_0x1d959f:{};if(_0x1bc5c6==null||_0x1bc5c6[_0x1f5913(0x20a)]===0x0)continue;this['_drawRectRange'](_0x58229b,_0x1bc5c6,_0x2c624d,_0x33aea4);}else{if(!_0x3275d0){const {borderBoxPointGroup:_0xf7684f}=_0x42ca98[_0x1f5913(0x26b)](_0x4ce76a,_0x5e44f1);if(_0xf7684f['length']===0x0)continue;this[_0x1f5913(0x1a2)](_0x58229b,_0xf7684f,_0x2c624d,_0x33aea4);}}}}}[_0xdba1d4(0x302)](_0x51c87c,_0xbf5ec8,_0x12e009,_0x5bdce9,_0x5b2149){const _0x2433f6=_0xdba1d4,_0x3910e6=this[_0x2433f6(0x21b)](_0xbf5ec8),{left:_0x2d259e,top:_0x15773a,height:_0x2bef5c}=_0x3910e6,_0x5848f1=this[_0x2433f6(0x1fe)](),_0x175a35=_0x4496ba/_0x5848f1,_0x54bd2b=new _0x2664c9[(_0x2433f6(0x232))](_0x44af01+_0xa0bab5['generateRandomId'](_0xd2fa2a),{'left':_0x2d259e+_0x12e009-_0x175a35,'top':_0x15773a+_0x5bdce9,'height':_0x2bef5c,'width':_0x2c5568,'fill':_0x51c87c||_0x2664c9[_0x2433f6(0x208)](_0xa0bab5[_0x2433f6(0x368)]['black'],0x0),'strokeWidth':_0x175a35,'stroke':_0x41c519,'evented':!0x0});this['_anchor']=_0x54bd2b,this[_0x2433f6(0x1e4)][_0x2433f6(0x166)](_0x54bd2b,_0x284126[_0x2433f6(0x331)]);const _0x35ca20=new _0x2664c9[(_0x2433f6(0x232))](_0x44af01+_0xa0bab5['generateRandomId'](_0xd2fa2a),{'left':_0x2d259e+_0x12e009-_0x175a35,'top':_0x15773a+_0x5bdce9-_0x24f00c/0x2,'height':_0x24f00c,'width':_0x24f00c,'fill':_0x51c87c||_0x2664c9[_0x2433f6(0x208)](_0xa0bab5[_0x2433f6(0x368)][_0x2433f6(0x376)],0x0),'strokeWidth':0x0,'stroke':_0x51c87c||_0x2664c9[_0x2433f6(0x208)](_0xa0bab5[_0x2433f6(0x368)][_0x2433f6(0x376)],0x0),'evented':!0x1});this['_anchorDot']=_0x35ca20,this[_0x2433f6(0x1e4)]['addObject'](_0x35ca20,_0x284126[_0x2433f6(0x331)]);const _0x51cb1c=new _0x37d829(_0x44af01+_0xa0bab5['generateRandomId'](_0xd2fa2a),{'left':_0x2d259e+_0x12e009-_0x175a35,'top':_0x15773a+_0x5bdce9-_0x56d132,'text':_0x5b2149,'color':_0x51c87c});this['_textBubble']=_0x51cb1c,this[_0x2433f6(0x1e4)][_0x2433f6(0x166)](_0x51cb1c,_0x284126[_0x2433f6(0x331)]),this[_0x2433f6(0x186)]=!0x1;}[_0xdba1d4(0x388)](){const _0x116c0b=_0xdba1d4,_0x4250b8=this[_0x116c0b(0x1db)]['onPointerEnter$'][_0x116c0b(0x2ac)](()=>{const _0x26f3c6=_0x116c0b;this[_0x26f3c6(0x186)]=!0x0;}),_0x8625dc=this[_0x116c0b(0x1db)][_0x116c0b(0x33f)][_0x116c0b(0x2ac)](()=>{const _0x5134c1=_0x116c0b;this[_0x5134c1(0x29c)]&&clearTimeout(this[_0x5134c1(0x29c)]),this[_0x5134c1(0x29c)]=setTimeout(()=>{const _0x301b64=_0x5134c1;this[_0x301b64(0x186)]=!0x1;},0x7d0);});return()=>{const _0xc1a4ea=_0x116c0b;_0x4250b8[_0xc1a4ea(0x144)](),_0x8625dc[_0xc1a4ea(0x144)]();};}[_0xdba1d4(0x1a2)](_0x5e0e6f,_0x4f6cf4,_0x513775,_0x3a9503){const _0x39befc=_0xdba1d4,_0x19d6be=new _0xa0bab5[(_0x39befc(0x2b3))](_0x5e0e6f)[_0x39befc(0x321)](0.2)[_0x39befc(0x3b8)](),_0x99381f=new _0x2664c9[(_0x39befc(0x1df))](_0x20ff07+_0xa0bab5[_0x39befc(0x223)](_0xd2fa2a),{'pointsGroup':_0x4f6cf4,'fill':_0x19d6be||_0x2664c9[_0x39befc(0x208)](_0xa0bab5['COLORS']['black'],0.2),'left':_0x513775,'top':_0x3a9503,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x39befc(0x247)]['push'](_0x99381f),this[_0x39befc(0x1e4)]['addObject'](_0x99381f,_0x284126[_0x39befc(0x331)]);}['_drawRectRange'](_0x4af31e,_0x110600,_0x27a5aa,_0x4d1ab8){const _0x2edffa=_0xdba1d4,_0x501511=new _0xa0bab5[(_0x2edffa(0x2b3))](_0x4af31e)[_0x2edffa(0x321)](0.2)[_0x2edffa(0x3b8)](),_0x4e864c=new _0x2664c9['RegularPolygon'](_0xf79d4b+_0xa0bab5[_0x2edffa(0x223)](_0xd2fa2a),{'pointsGroup':_0x110600,'fill':_0x501511||_0x2664c9[_0x2edffa(0x208)](_0xa0bab5['COLORS']['black'],0.2),'left':_0x27a5aa,'top':_0x4d1ab8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2edffa(0x247)][_0x2edffa(0x14e)](_0x4e864c),this[_0x2edffa(0x1e4)][_0x2edffa(0x166)](_0x4e864c,_0x284126['TEXT_RANGE_LAYER_INDEX']);}[_0xdba1d4(0x21b)](_0x281d55){const _0x484908=_0x281d55[0x0],_0x5f1a7b=_0x484908[0x0],_0x3d7163=_0x484908[0x2],{x:_0x2c69a0,y:_0x285049}=_0x5f1a7b,{x:_0x5428cd,y:_0x50f62f}=_0x3d7163;return{'left':_0x2c69a0,'top':_0x285049,'width':_0x5428cd-_0x2c69a0,'height':_0x50f62f-_0x285049};}['_getScale'](){const _0x3b9543=_0xdba1d4,{scaleX:_0x301b61,scaleY:_0x18f1c0}=this[_0x3b9543(0x1e4)][_0x3b9543(0x2ba)]();return Math[_0x3b9543(0x262)](_0x301b61,_0x18f1c0);}}var _0x432a1e=Object[_0xdba1d4(0x2c9)],_0x5b5a56=(_0x4d944f,_0x149a4f,_0x38ca51,_0x2f1dde)=>{const _0x2e5ec1=_0xdba1d4;for(var _0x169974=_0x2f1dde>0x1?void 0x0:_0x2f1dde?_0x432a1e(_0x149a4f,_0x38ca51):_0x149a4f,_0x1bcd5e=_0x4d944f[_0x2e5ec1(0x20a)]-0x1,_0x35408f;_0x1bcd5e>=0x0;_0x1bcd5e--)(_0x35408f=_0x4d944f[_0x1bcd5e])&&(_0x169974=_0x35408f(_0x169974)||_0x169974);return _0x169974;},_0x357a3a=(_0x9c81c3,_0x17de3c)=>(_0x25a156,_0x2be8ea)=>_0x17de3c(_0x25a156,_0x2be8ea,_0x9c81c3);let _0x30ad8d=class extends _0xa0bab5[_0xdba1d4(0x288)]{constructor(_0x1609a4,_0x396d8d,_0x12f30c,_0x4ab2ec,_0x12ea5e){const _0x541958=_0xdba1d4;super(),_0x1bff93(this,_0x541958(0x351),[]),_0x1bff93(this,_0x541958(0x1a5),[]),(this[_0x541958(0x1a8)]=_0x1609a4,this[_0x541958(0x173)]=_0x396d8d,this[_0x541958(0x20c)]=_0x12f30c,this[_0x541958(0x246)]=_0x4ab2ec,this['_themeService']=_0x12ea5e,this[_0x541958(0x3a6)]());}['_init'](){const _0x193dd5=_0xdba1d4,_0x4a1c30=this[_0x193dd5(0x1a8)]['unitId'],_0x425ca5=this[_0x193dd5(0x173)];this[_0x193dd5(0x2c3)](_0x3ac3b6[_0x193dd5(0x291)]([this['_collabCursorController'][_0x193dd5(0x332)](_0x4a1c30),this[_0x193dd5(0x1c9)][_0x193dd5(0x35c)]])['pipe'](_0x17a732[_0x193dd5(0x192)](([_0x55000c,_0x73b0f1])=>({'skeleton':_0x425ca5[_0x193dd5(0x323)](),'cursors':[..._0x55000c[_0x193dd5(0x1a7)]()][_0x193dd5(0x228)](_0x3ba871=>({..._0x3ba871,'color':this[_0x193dd5(0x1c9)][_0x193dd5(0x2ee)](_0x3ba871['color'])}))})))['subscribe'](_0x986e66=>{const _0x44fe22=_0x193dd5;if(this[_0x44fe22(0x1f6)](),_0x986e66){const {skeleton:_0x3ccd41,cursors:_0xbc8619}=_0x986e66;this[_0x44fe22(0x2b2)](_0x3ccd41,_0xbc8619);}})),this[_0x193dd5(0x2b0)](),this[_0x193dd5(0x1b0)]();}[_0xdba1d4(0x2b2)](_0x10670d,_0x11bfaa){const _0xbb9c83=_0xdba1d4,{scene:_0x31f617,mainComponent:_0x3663c5}=this[_0xbb9c83(0x1a8)],_0x307676=_0x11bfaa['map'](_0x508313=>new _0x5e712a(_0x508313,_0x31f617,_0x10670d,_0x3663c5));this[_0xbb9c83(0x351)]=_0x307676,this[_0xbb9c83(0x1a5)]=_0x11bfaa;}[_0xdba1d4(0x235)](){const _0x3a0317=_0xdba1d4;this[_0x3a0317(0x1f6)]();const {scene:_0x39491c,mainComponent:_0x1af68f}=this['_context'],_0x409ecf=this[_0x3a0317(0x173)][_0x3a0317(0x323)](),_0x4bf945=this['_cursors']['map'](_0x2463d2=>new _0x5e712a(_0x2463d2,_0x39491c,_0x409ecf,_0x1af68f));this[_0x3a0317(0x351)]=_0x4bf945;}[_0xdba1d4(0x1f6)](){const _0x118380=_0xdba1d4;this[_0x118380(0x351)][_0x118380(0x395)](_0x2e972b=>_0x2e972b[_0x118380(0x17e)]()),this[_0x118380(0x351)]=[];}['_initCommandExecutedListener'](){const _0x297be2=_0xdba1d4,_0x53324c=[_0x284126['SetDocZoomRatioOperation']['id']];this[_0x297be2(0x2c3)](this[_0x297be2(0x246)][_0x297be2(0x2cd)](_0x3b051a=>{const _0x3bd42b=_0x297be2;_0x53324c['includes'](_0x3b051a['id'])&&_0x3b051a[_0x3bd42b(0x1a3)]['unitId']===this['_context'][_0x3bd42b(0x15b)]&&this[_0x3bd42b(0x235)]();}));}['_initResize'](){const _0x3cc19a=_0xdba1d4;this['disposeWithMe'](_0xa0bab5['fromEventSubject'](this[_0x3cc19a(0x1a8)]['engine'][_0x3cc19a(0x1f4)])[_0x3cc19a(0x2a4)](_0x17a732[_0x3cc19a(0x259)](_0x4d0ff3=>_0x4d0ff3['type']===_0x2664c9[_0x3cc19a(0x2a2)][_0x3cc19a(0x327)]),_0x17a732['throttleTime'](0x10))[_0x3cc19a(0x17a)](()=>{const _0x196844=_0x3cc19a;this[_0x196844(0x235)]();}));}};_0x30ad8d=_0x5b5a56([_0x357a3a(0x1,_0xa0bab5[_0xdba1d4(0x1ea)](_0x3e46d1[_0xdba1d4(0x162)])),_0x357a3a(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0x14ee2b)),_0x357a3a(0x3,_0xa0bab5[_0xdba1d4(0x1d5)]),_0x357a3a(0x4,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5[_0xdba1d4(0x1b3)]))],_0x30ad8d);const _0x317ec7=0x1,_0x2fddfb=1.5;class _0x836841 extends _0x2664c9[_0xdba1d4(0x3dd)]{constructor(_0xd0fe83,_0x3021d2){const _0x1185c7=_0xdba1d4;super(_0xd0fe83,_0x3021d2),_0x1bff93(this,'_color'),_0x1bff93(this,_0x1185c7(0x2b1),!0x1),_0x1bff93(this,_0x1185c7(0x37a)),_0x1bff93(this,_0x1185c7(0x3e1),''),_0x1bff93(this,_0x1185c7(0x335),_0x1185c7(0x190)),_0x1bff93(this,_0x1185c7(0x183)),(_0x3021d2&&this[_0x1185c7(0x2f7)](_0x3021d2),this[_0x1185c7(0x3a3)][_0x1185c7(0x2ac)](()=>this[_0x1185c7(0x2f7)]({'hovered':!0x0})),this[_0x1185c7(0x33f)][_0x1185c7(0x2ac)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x2cb9ef){const _0x5b234f=_0xdba1d4;var _0x2e2c70,_0x3d335d,_0x4c83c9,_0x5a7072,_0x11cf80,_0x43c570;this[_0x5b234f(0x31a)]=(_0x2e2c70=_0x2cb9ef[_0x5b234f(0x176)])!=null?_0x2e2c70:this[_0x5b234f(0x31a)],this['_hovered']=(_0x3d335d=_0x2cb9ef['hovered'])!=null?_0x3d335d:this[_0x5b234f(0x2b1)],this['_range']=(_0x4c83c9=_0x2cb9ef[_0x5b234f(0x14f)])!=null?_0x4c83c9:this[_0x5b234f(0x37a)],this[_0x5b234f(0x3e1)]=(_0x5a7072=_0x2cb9ef[_0x5b234f(0x391)])!=null?_0x5a7072:this['_name'],this[_0x5b234f(0x335)]=(_0x11cf80=_0x2cb9ef[_0x5b234f(0x28a)])!=null?_0x11cf80:this[_0x5b234f(0x335)],this['_backgroundColor']=(_0x43c570=_0x2cb9ef['backgroundColor'])!=null?_0x43c570:this[_0x5b234f(0x183)],this[_0x5b234f(0x209)]({'width':_0x2cb9ef[_0x5b234f(0x366)],'height':_0x2cb9ef[_0x5b234f(0x266)]});}[_0xdba1d4(0x3a2)](_0x25d654){const _0x1a6243=_0xdba1d4,{row:_0x2317ae,column:_0x560281}=_0x25d654;if(_0x2317ae>=this['_range'][_0x1a6243(0x1cc)]&&_0x2317ae<=this['_range'][_0x1a6243(0x1bf)]&&_0x560281>=this[_0x1a6243(0x37a)][_0x1a6243(0x2da)]&&_0x560281<=this[_0x1a6243(0x37a)][_0x1a6243(0x180)]){this[_0x1a6243(0x2f7)]({'hovered':!0x0});return;}this[_0x1a6243(0x2f7)]({'hovered':!0x1});}[_0xdba1d4(0x23e)](_0x5821f8){return!0x1;}[_0xdba1d4(0x174)](_0x2d843d){const _0x2bb235=_0xdba1d4;_0x2664c9[_0x2bb235(0x232)][_0x2bb235(0x36c)](_0x2d843d,{'width':this['width'],'height':this[_0x2bb235(0x266)],'strokeWidth':_0x2fddfb,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2bb235(0x183)]}),this[_0x2bb235(0x2b1)]&&(_0x2d843d[_0x2bb235(0x187)](),_0x2d843d[_0x2bb235(0x3d7)](0x1,0x0,0x0,0x1,this[_0x2bb235(0x366)],this[_0x2bb235(0x335)]==='bottom'?0x0:-_0x56d132),_0x37d829[_0x2bb235(0x36c)](_0x2d843d,{'text':this[_0x2bb235(0x3e1)],'color':this[_0x2bb235(0x31a)]}),_0x2d843d[_0x2bb235(0x21e)]());}}var _0x4bdd96=Object[_0xdba1d4(0x2c9)],_0x21e537=(_0x3c776a,_0x303284,_0x3cc8b8,_0x275663)=>{const _0x1d7572=_0xdba1d4;for(var _0x5a3d98=_0x275663>0x1?void 0x0:_0x275663?_0x4bdd96(_0x303284,_0x3cc8b8):_0x303284,_0x25c8af=_0x3c776a[_0x1d7572(0x20a)]-0x1,_0xfe2e3b;_0x25c8af>=0x0;_0x25c8af--)(_0xfe2e3b=_0x3c776a[_0x25c8af])&&(_0x5a3d98=_0xfe2e3b(_0x5a3d98)||_0x5a3d98);return _0x5a3d98;},_0x59d285=(_0x5b7e17,_0x2f7be3)=>(_0x5bf734,_0xb6a594)=>_0x2f7be3(_0x5bf734,_0xb6a594,_0x5b7e17);const _0x14256d=0x1389;let _0x3555e8=class extends _0xa0bab5[_0xdba1d4(0x288)]{constructor(_0x11a926,_0x1e86a5,_0xb0c456,_0x193f49){const _0x2571dd=_0xdba1d4;super(),_0x1bff93(this,_0x2571dd(0x1a5),new Set()),_0x1bff93(this,_0x2571dd(0x2ea),null),(this[_0x2571dd(0x1a8)]=_0x11a926,this[_0x2571dd(0x229)]=_0x1e86a5,this[_0x2571dd(0x20c)]=_0xb0c456,this[_0x2571dd(0x1c9)]=_0x193f49,this[_0x2571dd(0x3a6)]());}[_0xdba1d4(0x3a6)](){const _0x66c8cc=_0xdba1d4;this[_0x66c8cc(0x229)]['currentSkeleton$']['pipe'](_0x17a732[_0x66c8cc(0x3ac)](this[_0x66c8cc(0x1f8)]),_0x17a732[_0x66c8cc(0x364)](_0x166e44=>{const _0x1f8dad=_0x66c8cc;if(_0x166e44){const _0x1203b8=_0x166e44[_0x1f8dad(0x1d3)];return _0x3ac3b6[_0x1f8dad(0x291)](this['_collabCursorController']['getCollabCursors$'](this[_0x1f8dad(0x1a8)][_0x1f8dad(0x15b)]),this['_themeService'][_0x1f8dad(0x35c)])[_0x1f8dad(0x2a4)](_0x17a732[_0x1f8dad(0x192)](([_0x11fbd3,_0x29c300])=>{const _0x5864f0=_0x1f8dad,_0x40c079=new Map();return _0x11fbd3[_0x5864f0(0x395)]((_0x3d14fe,_0x1bf450)=>{const _0x51f15f=_0x5864f0;if(_0x3d14fe[_0x51f15f(0x1ff)]===_0x1203b8){const _0x1f3c73={..._0x3d14fe};_0x1f3c73['color']=this[_0x51f15f(0x1c9)][_0x51f15f(0x2ee)](_0x3d14fe['color']),_0x40c079[_0x51f15f(0x218)](_0x1bf450,_0x1f3c73);}}),{'skeleton':_0x166e44,'cursors':_0x40c079};}));}return _0x3ac3b6['of']({'skeleton':null,'cursors':new Map()});}))[_0x66c8cc(0x17a)](({skeleton:_0x573b04,cursors:_0x34832c})=>{const _0x257f59=_0x66c8cc;this['_removeCollabCursors'](),_0x573b04&&this[_0x257f59(0x2b2)](_0x573b04,_0x34832c);}),this[_0x66c8cc(0x229)]['currentSkeleton$'][_0x66c8cc(0x17a)](_0x3ce190=>{const _0x53414b=_0x66c8cc;if(_0x3ce190==null)return;const {skeleton:_0x16b755}=_0x3ce190,{scene:_0x38965a}=this[_0x53414b(0x1a8)];_0x38965a['onPointerMove$'][_0x53414b(0x2ac)](_0xa0bab5[_0x53414b(0x330)](_0x172ac2=>{const _0x4c5c8d=_0x53414b;var _0x7470d4,_0x405b4e;const {offsetX:_0x3ea53f,offsetY:_0x5346cc}=_0x172ac2,{x:_0x5b038a,y:_0x266513}=_0x38965a['getRelativeToViewportCoord'](_0x2664c9[_0x4c5c8d(0x32b)][_0x4c5c8d(0x3df)]([_0x3ea53f,_0x5346cc])),{scaleX:_0x1c41fa,scaleY:_0x5f560a}=_0x38965a[_0x4c5c8d(0x2ba)](),_0x346fdf=_0x38965a['getViewport'](_0x2664c9[_0x4c5c8d(0x163)][_0x4c5c8d(0x15d)]),_0x4adc8d=_0x38965a[_0x4c5c8d(0x30f)](_0x2664c9[_0x4c5c8d(0x32b)][_0x4c5c8d(0x3df)]([_0x5b038a,_0x266513]),_0x346fdf),_0x56496d=_0x16b755[_0x4c5c8d(0x2b9)](_0x3ea53f,_0x5346cc,_0x1c41fa,_0x5f560a,_0x4adc8d);((_0x7470d4=this[_0x4c5c8d(0x2ea)])==null?void 0x0:_0x7470d4[_0x4c5c8d(0x152)])===_0x56496d[_0x4c5c8d(0x152)]&&((_0x405b4e=this[_0x4c5c8d(0x2ea)])==null?void 0x0:_0x405b4e[_0x4c5c8d(0x2bd)])===_0x56496d[_0x4c5c8d(0x2bd)]||this[_0x4c5c8d(0x1a5)][_0x4c5c8d(0x395)](_0x4407b5=>{_0x4407b5['onMouseMove'](_0x56496d);});},0x64));});}[_0xdba1d4(0x2b2)](_0x19fc13,_0x216bcf){const _0x1282d4=_0xdba1d4;var _0x134068;const _0x2da50c=(_0x134068=this['_sheetSkeletonManagerService'][_0x1282d4(0x13d)]())==null?void 0x0:_0x134068[_0x1282d4(0x3a5)];if(!_0x2da50c)return;const _0x21b437=this[_0x1282d4(0x15c)]();if(!_0x21b437)return;this[_0x1282d4(0x1a5)][_0x1282d4(0x395)](_0x3a5c22=>{const _0x3678e3=_0x1282d4;_0x3a5c22[_0x3678e3(0x2a9)]();});const {scene:_0x33115b}=_0x21b437,_0x51c7cb=_0xb5eb8(Array[_0x1282d4(0x3b2)](_0x216bcf[_0x1282d4(0x1a7)]()))[_0x1282d4(0x192)](_0x1e7af5=>{const _0x2140ac=_0x1282d4,{color:_0xa347cc,range:_0x2e40ca,name:_0x3fb254,selection:_0x168bbd,sheetID:_0x4d0c26}=_0x1e7af5,{startColumn:_0x3b1561,startRow:_0x4508b2,endColumn:_0x26ab57,endRow:_0x407ef}=_0x2e40ca,_0x24ae98=_0x58184e[_0x2140ac(0x21d)](_0x4508b2,_0x3b1561,_0x33115b,_0x2da50c),_0x52c21e=_0x58184e['getCoordByCell'](_0x407ef,_0x26ab57,_0x33115b,_0x2da50c),{columnHeaderHeightAndMarginTop:_0x4cee8f}=_0x2da50c,{startX:_0x2879d0,startY:_0x4f7505}=_0x24ae98,{endX:_0x27dd29,endY:_0x422a0b}=_0x52c21e,_0x394a7a=_0x27dd29-_0x2879d0,_0x4643a9=_0x422a0b-_0x4f7505,_0x50c8c9={'labelPosition':_0x4f7505-_0x4cee8f>=_0x56d132?_0x2140ac(0x190):'bottom','sheetID':_0x4d0c26,'range':_0x2e40ca,'color':_0xa347cc,'name':_0x3fb254,'selection':_0x168bbd,'left':_0x2879d0,'top':_0x4f7505,'width':_0x394a7a,'height':_0x4643a9,'evented':!0x1,'zIndex':_0x14256d};return new _0x836841(_0x3fb254,_0x50c8c9);});_0x33115b[_0x1282d4(0x2b4)](_0x51c7cb,_0x317ec7),this[_0x1282d4(0x1a5)]=new Set(_0x51c7cb);}[_0xdba1d4(0x1f6)](){const _0x56f1a7=_0xdba1d4;var _0xc1dea1;(_0xc1dea1=this[_0x56f1a7(0x1a5)])==null||_0xc1dea1[_0x56f1a7(0x395)](_0x337633=>_0x337633[_0x56f1a7(0x17e)]());}[_0xdba1d4(0x15c)](){const _0xb6d467=_0xdba1d4;return _0x58184e[_0xb6d467(0x1e9)](this[_0xb6d467(0x1a8)]['unit'],this[_0xb6d467(0x1a8)]);}};_0x3555e8=_0x21e537([_0x59d285(0x1,_0xa0bab5[_0xdba1d4(0x1ea)](_0x58184e[_0xdba1d4(0x226)])),_0x59d285(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0x14ee2b)),_0x59d285(0x3,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5['ThemeService']))],_0x3555e8);function _0xb5eb8(_0x3a68d0){const _0x58ad0e=_0xdba1d4,_0x24b91a=new Map();return _0x3a68d0[_0x58ad0e(0x395)](_0x2940df=>{const _0x33e69f=_0x58ad0e;if(_0x24b91a[_0x33e69f(0x17c)](_0x2940df[_0x33e69f(0x374)])){const _0x567d2f=_0x24b91a['get'](_0x2940df[_0x33e69f(0x374)]);_0x567d2f[_0x33e69f(0x391)]+=',\x20'+_0x2940df[_0x33e69f(0x391)];}else _0x24b91a[_0x33e69f(0x218)](_0x2940df[_0x33e69f(0x374)],_0x2940df);}),Array[_0x58ad0e(0x3b2)](_0x24b91a['values']());}var _0x128686=Object[_0xdba1d4(0x2c9)],_0x242be6=(_0xab302f,_0x326685,_0x1caaeb,_0xcac73d)=>{const _0x2c763e=_0xdba1d4;for(var _0x30cdd2=_0xcac73d>0x1?void 0x0:_0xcac73d?_0x128686(_0x326685,_0x1caaeb):_0x326685,_0x128905=_0xab302f[_0x2c763e(0x20a)]-0x1,_0x43d0fe;_0x128905>=0x0;_0x128905--)(_0x43d0fe=_0xab302f[_0x128905])&&(_0x30cdd2=_0x43d0fe(_0x30cdd2)||_0x30cdd2);return _0x30cdd2;},_0x566505=(_0x3aeb27,_0x4ff2d1)=>(_0x1ca656,_0x4b2154)=>_0x4ff2d1(_0x1ca656,_0x4b2154,_0x3aeb27);let _0x522c30=class extends _0xa0bab5[_0xdba1d4(0x171)]{constructor(_0xfb1722,_0x5c9140,_0x5e959d,_0x462b66,_0x1bacf3,_0x585aa5){const _0x196987=_0xdba1d4;super(),this[_0x196987(0x380)]=_0xfb1722,this[_0x196987(0x1cb)]=_0x5c9140,this[_0x196987(0x231)]=_0x5e959d,this['_messageService']=_0x462b66,this[_0x196987(0x23c)]=_0x1bacf3,this[_0x196987(0x1c3)]=_0x585aa5,this[_0x196987(0x372)](),this[_0x196987(0x178)]();}[_0xdba1d4(0x372)](){const _0x231068=_0xdba1d4;this[_0x231068(0x2c3)](this[_0x231068(0x380)][_0x231068(0x2eb)](()=>{const _0x4a9790=_0x231068;if(this[_0x4a9790(0x1cb)][_0x4a9790(0x24c)]['size'])return this[_0x4a9790(0x1c3)]['t'](_0x4a9790(0x39f));}));}[_0xdba1d4(0x178)](){const _0x55627f=_0xdba1d4;this[_0x55627f(0x2c3)](this[_0x55627f(0x231)]['event$'][_0x55627f(0x17a)](_0x2a3d41=>{const _0xb9076b=_0x55627f;_0x2a3d41['id']===_0x5aae96[_0xb9076b(0x3c6)][_0xb9076b(0x3cf)]&&this[_0xb9076b(0x349)][_0xb9076b(0x206)]({'type':_0x109233['MessageType'][_0xb9076b(0x397)],'content':this[_0xb9076b(0x1c3)]['t'](_0xb9076b(0x3b1))}),_0x2a3d41['id']===_0x5aae96['CollaborationUIEventId'][_0xb9076b(0x24b)]&&this[_0xb9076b(0x349)][_0xb9076b(0x206)]({'type':_0x109233[_0xb9076b(0x26f)][_0xb9076b(0x397)],'content':this[_0xb9076b(0x1c3)]['t']('collaboration.closeRoom')}),_0x2a3d41['id']===_0x5aae96[_0xb9076b(0x3c6)][_0xb9076b(0x324)]&&this[_0xb9076b(0x23c)][_0xb9076b(0x206)]({'title':this['_localeService']['t'](_0xb9076b(0x197)),'content':this[_0xb9076b(0x1c3)]['t']('permission.content'),'type':'error','duration':0x0}),_0x2a3d41['id']===_0x5aae96[_0xb9076b(0x3c6)][_0xb9076b(0x2dc)]&&this[_0xb9076b(0x349)][_0xb9076b(0x206)]({'type':_0x109233[_0xb9076b(0x26f)][_0xb9076b(0x342)],'content':this[_0xb9076b(0x1c3)]['t']('collaboration.closeRoom')+'('+_0x2a3d41['data']+')'}),_0x2a3d41['id']===_0x5aae96['CollaborationUIEventId'][_0xb9076b(0x317)]&&this[_0xb9076b(0x349)][_0xb9076b(0x206)]({'type':_0x109233[_0xb9076b(0x26f)][_0xb9076b(0x397)],'content':this[_0xb9076b(0x1c3)]['t'](_0x2a3d41[_0xb9076b(0x3ba)]||'')}),_0x2a3d41['id']===_0x5aae96['CollaborationUIEventId'][_0xb9076b(0x182)]&&this[_0xb9076b(0x349)][_0xb9076b(0x206)]({'type':_0x109233[_0xb9076b(0x26f)][_0xb9076b(0x397)],'content':this['_localeService']['t'](_0xb9076b(0x172))}),_0x2a3d41['id']===_0x5aae96['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0xb9076b(0x349)][_0xb9076b(0x206)]({'type':_0x109233[_0xb9076b(0x26f)][_0xb9076b(0x342)],'content':this[_0xb9076b(0x1c3)]['t'](_0xb9076b(0x339))}),_0x2a3d41['id']===_0x5aae96[_0xb9076b(0x3c6)][_0xb9076b(0x16b)]&&this[_0xb9076b(0x349)][_0xb9076b(0x206)]({'type':_0x109233[_0xb9076b(0x26f)][_0xb9076b(0x342)],'content':this[_0xb9076b(0x1c3)]['t'](_0xb9076b(0x37e))});}));}};_0x522c30=_0x242be6([_0x566505(0x0,_0x5d5ad1['IBeforeCloseService']),_0x566505(0x1,_0x5aae96[_0xdba1d4(0x22a)]),_0x566505(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0x5aae96[_0xdba1d4(0x348)])),_0x566505(0x3,_0x5d5ad1[_0xdba1d4(0x272)]),_0x566505(0x4,_0x5d5ad1[_0xdba1d4(0x1f7)]),_0x566505(0x5,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5[_0xdba1d4(0x292)]))],_0x522c30);const _0x1635f4=_0xdba1d4(0x2a3),_0x3e7444={};var _0x4ce4d2=Object[_0xdba1d4(0x2c9)],_0x22dd1e=(_0x11ee4f,_0x4a0a90,_0x9685e0,_0x5518e7)=>{for(var _0x2fc87f=_0x5518e7>0x1?void 0x0:_0x5518e7?_0x4ce4d2(_0x4a0a90,_0x9685e0):_0x4a0a90,_0x192d73=_0x11ee4f['length']-0x1,_0x238ded;_0x192d73>=0x0;_0x192d73--)(_0x238ded=_0x11ee4f[_0x192d73])&&(_0x2fc87f=_0x238ded(_0x2fc87f)||_0x2fc87f);return _0x2fc87f;},_0x370132=(_0x452e7d,_0x241df2)=>(_0x517fc3,_0x31887b)=>_0x241df2(_0x517fc3,_0x31887b,_0x452e7d);let _0x4a2b1d=class{constructor(_0x261e78,_0x2fc4ee){const _0x22fc34=_0xdba1d4;this[_0x22fc34(0x3a9)]=_0x261e78,this[_0x22fc34(0x319)]=_0x2fc4ee;}[_0xdba1d4(0x2d7)](_0x53dbf3){const _0x41114c=_0xdba1d4;this['_transformUndoRedoStack'](_0x53dbf3),this[_0x41114c(0x387)](_0x53dbf3);}['transformRemoteChangeset'](_0x226b27){const _0x164061=_0xdba1d4,{unitID:_0x2af7f8}=_0x226b27,_0x25ffa2=this[_0x164061(0x319)][_0x164061(0x1e8)](_0x2af7f8)[_0x164061(0x3c7)](_0x284126['DocIMEInputManagerService']),{redoCache:_0x36060e}=_0x25ffa2[_0x164061(0x252)]();if(_0x36060e['length']===0x0)return _0x226b27;let _0x5c0606=_0xa0bab5[_0x164061(0x260)]['deepClone'](_0x226b27[_0x164061(0x227)][0x0]);for(let _0x14bfb5=0x0;_0x14bfb5<_0x36060e[_0x164061(0x20a)];_0x14bfb5++){const _0x18e3eb={'id':_0x164061(0x202),'params':{..._0x36060e[_0x14bfb5]}},_0x24f6bd=this['_transformService'][_0x164061(0x2e3)](_0x5c0606,_0x18e3eb,!0x1);if(_0x53baaf[_0x164061(0x3a1)](_0x24f6bd))throw _0x24f6bd[_0x164061(0x352)];_0x5c0606=_0x24f6bd[_0x164061(0x212)];}return{..._0xa0bab5['Tools'][_0x164061(0x3c4)](_0x226b27),'mutations':[_0x5c0606]};}[_0xdba1d4(0x305)](_0x2460bf){const _0x283134=_0xdba1d4,{unitID:_0x10af28}=_0x2460bf,_0x1f65d0=this[_0x283134(0x319)][_0x283134(0x1e8)](_0x10af28)[_0x283134(0x3c7)](_0x284126[_0x283134(0x2a1)]),{undoCache:_0x3cabc6,redoCache:_0x3e7425}=_0x1f65d0[_0x283134(0x252)]();if(_0x3cabc6[_0x283134(0x20a)]===0x0||_0x3e7425[_0x283134(0x20a)]===0x0)return;const _0x2242f8=[],_0x142d23=[];let _0x4e8924=_0xa0bab5[_0x283134(0x260)][_0x283134(0x3c4)](_0x2460bf['mutations'][0x0]),_0x3b1a35=_0xa0bab5[_0x283134(0x260)]['deepClone'](_0x2460bf['mutations'][0x0]);for(let _0x1dd8a5=_0x3cabc6['length']-0x1;_0x1dd8a5>=0x0;_0x1dd8a5--){const _0x1af70b={'id':'doc.mutation.rich-text-editing','params':{..._0x3cabc6[_0x1dd8a5]}},_0x49cb27={'id':'doc.mutation.rich-text-editing','params':{..._0x3e7425[_0x1dd8a5]}},_0x53833f=this[_0x283134(0x3a9)][_0x283134(0x2e3)](_0x4e8924,_0x1af70b,!0x1),_0x1df5f5=this[_0x283134(0x3a9)][_0x283134(0x2e3)](_0x3b1a35,_0x49cb27,!0x1);if(_0x53baaf[_0x283134(0x3a1)](_0x53833f))throw _0x53833f[_0x283134(0x352)];if(_0x53baaf[_0x283134(0x3a1)](_0x1df5f5))throw _0x1df5f5[_0x283134(0x352)];_0x2242f8[_0x283134(0x2c8)](_0x53833f['m2Prime'][_0x283134(0x1a3)]),_0x142d23[_0x283134(0x2c8)](_0x1df5f5['m2Prime'][_0x283134(0x1a3)]),_0x4e8924=_0x53833f['m1Prime'],_0x3b1a35=_0x1df5f5['m1Prime'];}_0x1f65d0[_0x283134(0x1a1)]({'undoCache':_0x2242f8,'redoCache':_0x142d23});}[_0xdba1d4(0x387)](_0x1a5d8a){const _0x244bed=_0xdba1d4,{unitID:_0x40342e}=_0x1a5d8a,_0x57ed27=this[_0x244bed(0x319)]['getRenderById'](_0x40342e)[_0x244bed(0x3c7)](_0x284126[_0x244bed(0x2a1)]),_0x4b9b24=_0x57ed27[_0x244bed(0x14b)]();if(_0x4b9b24==null)return;const _0x5428c8=[{'id':_0x244bed(0x202),'params':{'unitId':_0x1a5d8a['unitID'],'actions':null,'textRanges':[_0x4b9b24]}}],_0x4f2a95=this['_transformService']['transformMutationsWithChangeset'](_0x1a5d8a,_0x5428c8);if(!_0x53baaf[_0x244bed(0x1da)](_0x4f2a95))throw _0x4f2a95['error'];const _0x2a51ee=_0x4f2a95[_0x244bed(0x3d6)][0x0][_0x244bed(0x1a3)]['textRanges'];Array[_0x244bed(0x38d)](_0x2a51ee)&&_0x2a51ee[_0x244bed(0x20a)]&&_0x57ed27[_0x244bed(0x340)](_0x2a51ee[0x0]);}};_0x4a2b1d=_0x22dd1e([_0x370132(0x0,_0x53baaf[_0xdba1d4(0x2fc)]),_0x370132(0x1,_0x2664c9['IRenderManagerService'])],_0x4a2b1d);var _0x34fe2b=Object[_0xdba1d4(0x2c9)],_0x3ca1c1=(_0x30791e,_0x46bce3,_0x23af47,_0x3ba916)=>{const _0x533dd8=_0xdba1d4;for(var _0x1018f9=_0x3ba916>0x1?void 0x0:_0x3ba916?_0x34fe2b(_0x46bce3,_0x23af47):_0x46bce3,_0x2220a6=_0x30791e[_0x533dd8(0x20a)]-0x1,_0x5ca795;_0x2220a6>=0x0;_0x2220a6--)(_0x5ca795=_0x30791e[_0x2220a6])&&(_0x1018f9=_0x5ca795(_0x1018f9)||_0x1018f9);return _0x1018f9;},_0x307709=(_0xafdbcf,_0x43598d)=>(_0x578576,_0x425d12)=>_0x43598d(_0x578576,_0x425d12,_0xafdbcf);let _0x21e315=class{constructor(_0x530014,_0x4e6213,_0x26249a){const _0x3380d0=_0xdba1d4;this[_0x3380d0(0x191)]=_0x530014,this['_transformService']=_0x4e6213,this[_0x3380d0(0x2c6)]=_0x26249a;}[_0xdba1d4(0x2df)](_0x67c3ee){const _0x5f59a7=_0xdba1d4;this[_0x5f59a7(0x141)](_0x67c3ee);}[_0xdba1d4(0x216)](_0xe2e8a4){const _0x1b1a99=_0xdba1d4,{unitID:_0x5c7260}=_0xe2e8a4,{collaboration:_0x29174b}=this['_docStateChangeManagerService'][_0x1b1a99(0x27c)](_0x5c7260);if(_0x29174b[_0x1b1a99(0x20a)]===0x0)return _0xe2e8a4;let _0x11f2ad=_0xa0bab5[_0x1b1a99(0x260)][_0x1b1a99(0x3c4)](_0xe2e8a4[_0x1b1a99(0x227)][0x0]);for(let _0x173c64=0x0;_0x173c64<_0x29174b[_0x1b1a99(0x20a)];_0x173c64++){const _0x401cee={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29174b[_0x173c64][_0x1b1a99(0x15b)],..._0x29174b[_0x173c64]['redoState']}},_0x28d7ac=this[_0x1b1a99(0x3a9)][_0x1b1a99(0x2e3)](_0x11f2ad,_0x401cee,!0x1);if(_0x53baaf[_0x1b1a99(0x3a1)](_0x28d7ac))throw _0x28d7ac[_0x1b1a99(0x352)];_0x11f2ad=_0x28d7ac['m1Prime'];}return{..._0xa0bab5[_0x1b1a99(0x260)][_0x1b1a99(0x3c4)](_0xe2e8a4),'mutations':[_0x11f2ad]};}[_0xdba1d4(0x141)](_0x28d7c4){const _0x4d1bc9=_0xdba1d4,{unitID:_0x2b284a}=_0x28d7c4,{history:_0x3ae583,collaboration:_0x5e2a16}=this[_0x4d1bc9(0x2c6)][_0x4d1bc9(0x27c)](_0x2b284a);if(_0x3ae583[_0x4d1bc9(0x20a)]===0x0&&_0x5e2a16[_0x4d1bc9(0x20a)]===0x0)return;const _0xf36c45=[],_0x26af3c=[];let _0x1ed662=_0xa0bab5[_0x4d1bc9(0x260)][_0x4d1bc9(0x3c4)](_0x28d7c4[_0x4d1bc9(0x227)][0x0]),_0x439aaf=_0xa0bab5[_0x4d1bc9(0x260)][_0x4d1bc9(0x3c4)](_0x28d7c4[_0x4d1bc9(0x227)][0x0]);for(let _0x394ac9=_0x3ae583[_0x4d1bc9(0x20a)]-0x1;_0x394ac9>=0x0;_0x394ac9--){const _0x292503={'id':_0x4d1bc9(0x202),'params':{'unitId':_0x3ae583[_0x394ac9]['unitId'],..._0x3ae583[_0x394ac9]['undoState']}},_0x3c200c={'id':_0x4d1bc9(0x202),'params':{'unitId':_0x3ae583[_0x394ac9][_0x4d1bc9(0x15b)],..._0x3ae583[_0x394ac9]['redoState']}},_0xfb2f08=this[_0x4d1bc9(0x3a9)][_0x4d1bc9(0x2e3)](_0x1ed662,_0x292503,!0x1),_0x264215=this[_0x4d1bc9(0x3a9)][_0x4d1bc9(0x2e3)](_0x439aaf,_0x3c200c,!0x1);if(_0x53baaf['isTransformMutationFailure'](_0xfb2f08))throw _0xfb2f08['error'];if(_0x53baaf[_0x4d1bc9(0x3a1)](_0x264215))throw _0x264215[_0x4d1bc9(0x352)];_0xf36c45['unshift']({..._0x3ae583[_0x394ac9],'undoState':_0xfb2f08['m2Prime'][_0x4d1bc9(0x1a3)],'redoState':_0x264215[_0x4d1bc9(0x3d6)]['params']}),_0x1ed662=_0xfb2f08['m1Prime'],_0x439aaf=_0x264215[_0x4d1bc9(0x212)];}_0x1ed662=_0xa0bab5[_0x4d1bc9(0x260)][_0x4d1bc9(0x3c4)](_0x28d7c4[_0x4d1bc9(0x227)][0x0]),_0x439aaf=_0xa0bab5[_0x4d1bc9(0x260)]['deepClone'](_0x28d7c4[_0x4d1bc9(0x227)][0x0]);for(let _0x3ef0c5=_0x5e2a16[_0x4d1bc9(0x20a)]-0x1;_0x3ef0c5>=0x0;_0x3ef0c5--){const _0xe4891={'id':_0x4d1bc9(0x202),'params':{'unitId':_0x5e2a16[_0x3ef0c5][_0x4d1bc9(0x15b)],..._0x5e2a16[_0x3ef0c5][_0x4d1bc9(0x1cd)]}},_0x55263a={'id':_0x4d1bc9(0x202),'params':{'unitId':_0x5e2a16[_0x3ef0c5][_0x4d1bc9(0x15b)],..._0x5e2a16[_0x3ef0c5]['redoState']}},_0x54f687=this['_transformService']['transformMutation'](_0x1ed662,_0xe4891,!0x1),_0x23d76c=this[_0x4d1bc9(0x3a9)][_0x4d1bc9(0x2e3)](_0x439aaf,_0x55263a,!0x1);if(_0x53baaf['isTransformMutationFailure'](_0x54f687))throw _0x54f687[_0x4d1bc9(0x352)];if(_0x53baaf[_0x4d1bc9(0x3a1)](_0x23d76c))throw _0x23d76c[_0x4d1bc9(0x352)];_0x26af3c[_0x4d1bc9(0x2c8)]({..._0x5e2a16[_0x3ef0c5],'undoState':_0x54f687[_0x4d1bc9(0x3d6)][_0x4d1bc9(0x1a3)],'redoState':_0x23d76c[_0x4d1bc9(0x3d6)][_0x4d1bc9(0x1a3)]}),_0x1ed662=_0x54f687[_0x4d1bc9(0x212)],_0x439aaf=_0x23d76c[_0x4d1bc9(0x212)];}this['_docStateChangeManagerService'][_0x4d1bc9(0x2e0)](_0x2b284a,{'history':_0xf36c45,'collaboration':_0x26af3c});}};_0x21e315=_0x3ca1c1([_0x307709(0x0,_0xa0bab5['Inject'](_0xa0bab5['Injector'])),_0x307709(0x1,_0x53baaf[_0xdba1d4(0x2fc)]),_0x307709(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0x284126[_0xdba1d4(0x3d2)]))],_0x21e315);var _0x4d6731=Object[_0xdba1d4(0x2c9)],_0xcb15df=(_0x100550,_0x433b8d,_0x2adacb,_0x5c6e4f)=>{const _0x1feb7d=_0xdba1d4;for(var _0x38d595=_0x5c6e4f>0x1?void 0x0:_0x5c6e4f?_0x4d6731(_0x433b8d,_0x2adacb):_0x433b8d,_0xc8555b=_0x100550[_0x1feb7d(0x20a)]-0x1,_0x350439;_0xc8555b>=0x0;_0xc8555b--)(_0x350439=_0x100550[_0xc8555b])&&(_0x38d595=_0x350439(_0x38d595)||_0x38d595);return _0x38d595;},_0x5709f6=(_0x2896e1,_0x3142ab)=>(_0x13fc58,_0x2b75e9)=>_0x3142ab(_0x13fc58,_0x2b75e9,_0x2896e1);let _0x4caa94=class{constructor(_0x4083ec,_0x3acb49){const _0x16f450=_0xdba1d4;this['_injector']=_0x4083ec,this[_0x16f450(0x3a9)]=_0x3acb49;}[_0xdba1d4(0x290)](_0x1d2f06){const _0x4c198e=_0xdba1d4;var _0x970ab4;const _0x5368f0=this[_0x4c198e(0x191)][_0x4c198e(0x3b3)](_0x3e46d1['DocSelectionManagerService']),_0x2e7ddd=(_0x970ab4=_0x5368f0[_0x4c198e(0x285)]())!=null?_0x970ab4:[];if(_0x2e7ddd[_0x4c198e(0x20a)]===0x0)return;const _0x5b8668=_0x1d2f06[_0x4c198e(0x26a)],_0x30927a=[{'id':_0x4c198e(0x202),'params':{'unitId':_0x5b8668,'actions':null,'textRanges':_0x2e7ddd}}],_0x1d9709=this[_0x4c198e(0x3a9)][_0x4c198e(0x328)](_0x1d2f06,_0x30927a);if(!_0x53baaf[_0x4c198e(0x1da)](_0x1d9709))throw _0x1d9709[_0x4c198e(0x352)];const _0x2d8dbe=_0x1d9709[_0x4c198e(0x3d6)][0x0]['params']['textRanges'];Array['isArray'](_0x2d8dbe)&&_0x2d8dbe[_0x4c198e(0x20a)]&&_0x5368f0[_0x4c198e(0x350)](_0x2d8dbe,{'unitId':_0x5b8668,'subUnitId':_0x5b8668},!0x1);}};_0x4caa94=_0xcb15df([_0x5709f6(0x0,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5[_0xdba1d4(0x3d8)])),_0x5709f6(0x1,_0x53baaf[_0xdba1d4(0x2fc)])],_0x4caa94);var _0x29c563=Object['getOwnPropertyDescriptor'],_0x3bfed0=(_0x33aee6,_0x5d381b,_0x3574f8,_0x3a99f3)=>{const _0x3efd52=_0xdba1d4;for(var _0x73f8fb=_0x3a99f3>0x1?void 0x0:_0x3a99f3?_0x29c563(_0x5d381b,_0x3574f8):_0x5d381b,_0x3f28c0=_0x33aee6[_0x3efd52(0x20a)]-0x1,_0x1b0ae5;_0x3f28c0>=0x0;_0x3f28c0--)(_0x1b0ae5=_0x33aee6[_0x3f28c0])&&(_0x73f8fb=_0x1b0ae5(_0x73f8fb)||_0x73f8fb);return _0x73f8fb;},_0xbccf7a=(_0x5d5866,_0x19416b)=>(_0x19ccba,_0x5d62e5)=>_0x19416b(_0x19ccba,_0x5d62e5,_0x5d5866);let _0x2cd2fa=class extends _0xa0bab5[_0xdba1d4(0x171)]{constructor(_0x1e94d9,_0x7973d9,_0x1d7498,_0x3fc23b,_0x3c317d,_0x4819ce,_0x1092da,_0x43bfd2){const _0x591877=_0xdba1d4;super(),_0x1bff93(this,_0x591877(0x3a8),new _0x3ac3b6['BehaviorSubject'](_0x5aae96['CollaborationStatus'][_0x591877(0x322)])),(this[_0x591877(0x2c6)]=_0x1e94d9,this[_0x591877(0x26d)]=_0x7973d9,this[_0x591877(0x34b)]=_0x1d7498,this[_0x591877(0x31d)]=_0x3fc23b,this[_0x591877(0x39e)]=_0x3c317d,this[_0x591877(0x263)]=_0x4819ce,this[_0x591877(0x349)]=_0x1092da,this['_localeService']=_0x43bfd2,this[_0x591877(0x2ae)]());}[_0xdba1d4(0x2ae)](){const _0x449bbc=_0xdba1d4;this[_0x449bbc(0x2c3)](this['_collaborationController'][_0x449bbc(0x398)][_0x449bbc(0x17a)](_0x156d18=>{const _0xb9314d=_0x449bbc,_0xb13644=this[_0xb9314d(0x2c6)]['docStateChange$'][_0xb9314d(0x17a)](_0x1a07ec=>{const _0x1a493a=_0xb9314d;if(_0x1a07ec==null)return;const {unitId:_0x9f9990,redoState:_0x3d9e05,commandId:_0x486414}=_0x1a07ec;if(_0x9f9990!==_0x156d18[_0x1a493a(0x26a)])return;const _0x7cb6ea={'id':_0x486414,'type':_0xa0bab5[_0x1a493a(0x18f)]['MUTATION'],'params':{'unitId':_0x9f9990,'actions':_0x3d9e05[_0x1a493a(0x37b)],'textRanges':null}};_0x156d18[_0x1a493a(0x33a)](_0x7cb6ea);});if(_0x156d18['disposeWithMe'](_0xb13644),_0x156d18 instanceof _0x5aae96[_0xb9314d(0x329)]){const _0x2823ec={'onTransformIME':_0x516a77=>this[_0xb9314d(0x34b)]['transformIMECache'](_0x516a77),'onTransformState':_0x32c204=>this[_0xb9314d(0x31d)][_0xb9314d(0x2df)](_0x32c204),'onTransformSelections':_0x113186=>this[_0xb9314d(0x39e)][_0xb9314d(0x290)](_0x113186),'onSyncEditingCollabCursor':_0x114d38=>this['_docSyncEditingCollabCursorService'][_0xb9314d(0x3b7)](_0x114d38),'onTransformRemoteChangesetByIMECache':_0x3eed7f=>this[_0xb9314d(0x34b)][_0xb9314d(0x216)](_0x3eed7f),'onTransformRemoteChangesetByStateCache':_0x400f7e=>this[_0xb9314d(0x31d)][_0xb9314d(0x216)](_0x400f7e)};_0x156d18[_0xb9314d(0x168)](_0x2823ec);}}));}};_0x2cd2fa=_0x3bfed0([_0xbccf7a(0x0,_0xa0bab5[_0xdba1d4(0x1ea)](_0x284126[_0xdba1d4(0x3d2)])),_0xbccf7a(0x1,_0xa0bab5[_0xdba1d4(0x1ea)](_0x5aae96[_0xdba1d4(0x2ec)])),_0xbccf7a(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0x4a2b1d)),_0xbccf7a(0x3,_0xa0bab5[_0xdba1d4(0x1ea)](_0x21e315)),_0xbccf7a(0x4,_0xa0bab5[_0xdba1d4(0x1ea)](_0x4caa94)),_0xbccf7a(0x5,_0xa0bab5['Inject'](_0x5487e4)),_0xbccf7a(0x6,_0x5d5ad1[_0xdba1d4(0x272)]),_0xbccf7a(0x7,_0xa0bab5['Inject'](_0xa0bab5[_0xdba1d4(0x292)]))],_0x2cd2fa);var _0x5eb873=Object[_0xdba1d4(0x2c9)],_0x52b7dc=(_0x574842,_0xad6a0d,_0x521c0c,_0x4cc838)=>{const _0x3db4bc=_0xdba1d4;for(var _0x5276a4=_0x4cc838>0x1?void 0x0:_0x4cc838?_0x5eb873(_0xad6a0d,_0x521c0c):_0xad6a0d,_0x3a775e=_0x574842[_0x3db4bc(0x20a)]-0x1,_0x1630d5;_0x3a775e>=0x0;_0x3a775e--)(_0x1630d5=_0x574842[_0x3a775e])&&(_0x5276a4=_0x1630d5(_0x5276a4)||_0x5276a4);return _0x5276a4;},_0x22feae=(_0x38d050,_0x190734)=>(_0x27d66c,_0x1c2621)=>_0x190734(_0x27d66c,_0x1c2621,_0x38d050);let _0x1ef04c=class extends _0xa0bab5[_0xdba1d4(0x171)]{constructor(_0x3bd1b3,_0xd8643d,_0x383ee6){const _0x24d5df=_0xdba1d4;super(),_0x1bff93(this,_0x24d5df(0x19c),new Map()),_0x1bff93(this,_0x24d5df(0x251),new Map()),_0x1bff93(this,_0x24d5df(0x164),!0x1),(this['_configService']=_0x3bd1b3,this['_localStorageService']=_0xd8643d,this[_0x24d5df(0x2fb)]=_0x383ee6);}[_0xdba1d4(0x3be)](){const _0x418641=_0xdba1d4;this[_0x418641(0x164)]=!0x0;}[_0xdba1d4(0x27a)](){const _0x22f1fd=_0xdba1d4;this[_0x22f1fd(0x164)]=!0x1;}get[_0xdba1d4(0x24c)](){return this['_saveTaskMap'];}[_0xdba1d4(0x17e)](){const _0x2b9070=_0xdba1d4;this[_0x2b9070(0x304)]()['then'](()=>super[_0x2b9070(0x17e)]());}async[_0xdba1d4(0x19e)](_0x2dcc3c){const _0x42597d=_0xdba1d4;return this['_disabled']?null:this[_0x42597d(0x18d)]['getItem'](_0x5aae96[_0x42597d(0x17f)](_0x2dcc3c));}async[_0xdba1d4(0x230)](_0x1b6c75,_0x1cc80a){const _0x5e9fc8=_0xdba1d4;return!!this['_localStorageService'][_0x5e9fc8(0x3bb)](_0x1b6c75,_0x1cc80a);}[_0xdba1d4(0x177)](_0x7cba,_0x1414a6,_0x3136d5,_0x927415){const _0x572b96=_0xdba1d4,_0x5708ac=this[_0x572b96(0x2fb)][_0x572b96(0x1be)](_0x7cba);this['_cachedData'][_0x572b96(0x218)](_0x7cba,{'unitID':_0x7cba,'type':_0x1414a6,'awaitingChangeset':_0x3136d5,'mutations':_0x927415,'rev':_0x5708ac}),this[_0x572b96(0x251)]['has'](_0x7cba)||this[_0x572b96(0x244)](_0x7cba);}[_0xdba1d4(0x244)](_0xfbdffd){const _0x870054=_0xdba1d4,_0x45c499=this['_getSaveTimeout']();_0x45c499===0x0?this[_0x870054(0x1a4)](_0xfbdffd):this['_saveTaskMap'][_0x870054(0x218)](_0xfbdffd,setTimeout(()=>this[_0x870054(0x1a4)](_0xfbdffd),_0x45c499));}[_0xdba1d4(0x2d3)](){const _0x48fb3e=_0xdba1d4;var _0x1ba0bc;return(_0x1ba0bc=this[_0x48fb3e(0x225)][_0x48fb3e(0x1d0)](_0x5aae96[_0x48fb3e(0x1ed)]))!=null?_0x1ba0bc:_0x5aae96[_0x48fb3e(0x345)];}['_saveCache'](_0x3b6789){const _0x4f8cd8=_0xdba1d4,_0x1c69c4=this[_0x4f8cd8(0x251)][_0x4f8cd8(0x3b3)](_0x3b6789);return _0x1c69c4!==void 0x0&&window[_0x4f8cd8(0x3c1)](_0x1c69c4),this['_localStorageService'][_0x4f8cd8(0x3bb)](_0x5aae96['getLocalCacheKey'](_0x3b6789),this['_cachedData'][_0x4f8cd8(0x3b3)](_0x3b6789))['then'](()=>this[_0x4f8cd8(0x251)][_0x4f8cd8(0x386)](_0x3b6789));}async[_0xdba1d4(0x304)](){const _0x3e4b30=_0xdba1d4,_0x221a71=[];this[_0x3e4b30(0x251)][_0x3e4b30(0x395)]((_0x1ceb1a,_0x694eec)=>{const _0x58cfd0=_0x3e4b30;window[_0x58cfd0(0x3c1)](_0x1ceb1a),_0x221a71['push'](this['_saveCache'](_0x694eec)['then'](()=>{const _0x5daf3f=_0x58cfd0;this[_0x5daf3f(0x251)][_0x5daf3f(0x386)](_0x694eec);}));}),await Promise[_0x3e4b30(0x3c5)](_0x221a71);}};_0x1ef04c=_0x52b7dc([_0x22feae(0x0,_0xa0bab5['IConfigService']),_0x22feae(0x1,_0xa0bab5[_0xdba1d4(0x33c)]),_0x22feae(0x2,_0xa0bab5[_0xdba1d4(0x1ea)](_0x53baaf[_0xdba1d4(0x3cd)]))],_0x1ef04c);class _0x25a906 extends _0xa0bab5[_0xdba1d4(0x288)]{constructor(){const _0x471e45=_0xdba1d4;super(),_0x1bff93(this,_0x471e45(0x378)),this[_0x471e45(0x378)]=_0x3ac3b6[_0x471e45(0x333)](window,_0x471e45(0x3ad))[_0x471e45(0x2a4)](_0x3ac3b6[_0x471e45(0x3ac)](this[_0x471e45(0x1f8)]),_0x3ac3b6[_0x471e45(0x2f8)](0x1),_0x3ac3b6[_0x471e45(0x1d7)](void 0x0));}[_0xdba1d4(0x2a5)](_0x5b962c,_0x5d4bf4,_0x384564=!0x1){const _0x393c85=_0xdba1d4,_0xe76afb=new URL(window[_0x393c85(0x258)][_0x393c85(0x255)]);_0xe76afb[_0x393c85(0x2f3)][_0x393c85(0x218)](_0x5b962c,_0x5d4bf4),_0x384564?window['history'][_0x393c85(0x273)]('','',_0xe76afb[_0x393c85(0x165)]()):window[_0x393c85(0x241)][_0x393c85(0x3c2)]('','',_0xe76afb[_0x393c85(0x165)]());}[_0xdba1d4(0x2de)](_0x1aa9a2,_0x579e75=!0x1){const _0x576009=_0xdba1d4,_0x8d0f7f=new URL(window[_0x576009(0x258)]['href']);_0x8d0f7f[_0x576009(0x2f3)][_0x576009(0x386)](_0x1aa9a2),_0x579e75?window[_0x576009(0x241)]['replaceState']('','',_0x8d0f7f['toString']()):window['history'][_0x576009(0x3c2)]('','',_0x8d0f7f[_0x576009(0x165)]());}['getParam'](_0x12abb3){const _0x4cc9fc=_0xdba1d4;var _0x1c3f99;return(_0x1c3f99=new URL(window[_0x4cc9fc(0x258)][_0x4cc9fc(0x255)])[_0x4cc9fc(0x2f3)][_0x4cc9fc(0x3b3)](_0x12abb3))!=null?_0x1c3f99:void 0x0;}}var _0x5a7a5e=Object['defineProperty'],_0x99610b=Object[_0xdba1d4(0x2c9)],_0x49f5ff=(_0x35c09b,_0x53e6ee,_0x4b25e2)=>_0x53e6ee in _0x35c09b?_0x5a7a5e(_0x35c09b,_0x53e6ee,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4b25e2}):_0x35c09b[_0x53e6ee]=_0x4b25e2,_0x2c24e0=(_0x3d49bf,_0x227c1c,_0x4e0979,_0x2a21f3)=>{const _0x416f08=_0xdba1d4;for(var _0x56f5be=_0x2a21f3>0x1?void 0x0:_0x2a21f3?_0x99610b(_0x227c1c,_0x4e0979):_0x227c1c,_0x27d515=_0x3d49bf[_0x416f08(0x20a)]-0x1,_0x44ebbf;_0x27d515>=0x0;_0x27d515--)(_0x44ebbf=_0x3d49bf[_0x27d515])&&(_0x56f5be=_0x44ebbf(_0x56f5be)||_0x56f5be);return _0x56f5be;},_0x905d84=(_0x7ab28,_0x19b51f)=>(_0xea64c1,_0x94ce2c)=>_0x19b51f(_0xea64c1,_0x94ce2c,_0x7ab28),_0xd72c3c=(_0x512f3f,_0x1a99dd,_0x4acfd2)=>_0x49f5ff(_0x512f3f,_0x1a99dd+'',_0x4acfd2);const _0x2eb7de='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3e67b4[_0xdba1d4(0x201)]=class extends _0xa0bab5[_0xdba1d4(0x35f)]{constructor(_0x30e78c=_0x3e7444,_0x255cae,_0x2b59e7,_0x3227b0){const _0x238516=_0xdba1d4;super(),this['_config']=_0x30e78c,this[_0x238516(0x319)]=_0x255cae,this['_injector']=_0x2b59e7,this[_0x238516(0x225)]=_0x3227b0;const {..._0xc05d95}=_0xa0bab5[_0x238516(0x3b6)]({},_0x3e7444,this['_config']);this[_0x238516(0x225)]['setConfig'](_0x1635f4,_0xc05d95);}[_0xdba1d4(0x315)](){const _0x405edb=_0xdba1d4;this['_registerDependencies'](),this[_0x405edb(0x1eb)]();}[_0xdba1d4(0x369)](){const _0x8b7fb3=_0xdba1d4;this[_0x8b7fb3(0x261)]();}[_0xdba1d4(0x153)](){const _0x1d915c=_0xdba1d4;var _0x23c0ba;const _0x3e6d22=[[_0x108060],[_0x4caa94],[_0x4a2b1d],[_0x21e315],[_0x5487e4],[_0x569712,{'useClass':_0x25a906}],[_0x4ba0ef['ISocketService'],{'useClass':_0x4ba0ef['WebSocketService']}],[_0x5aae96[_0x1d915c(0x22a)],{'useClass':_0x1ef04c}],[_0x3e67b4['DesktopCollaborationStatusDisplayController']],[_0x2cd2fa],[_0x522c30],[_0x14ee2b],[_0x230e8b],[_0x3e67b4['CollaborationDataLoaderController']]];_0xa0bab5[_0x1d915c(0x370)](this[_0x1d915c(0x191)],_0xa0bab5[_0x1d915c(0x355)](_0x3e6d22,(_0x23c0ba=this[_0x1d915c(0x156)])==null?void 0x0:_0x23c0ba[_0x1d915c(0x1d4)]));}[_0xdba1d4(0x261)](){const _0x54a616=_0xdba1d4;this[_0x54a616(0x2c3)](this[_0x54a616(0x319)][_0x54a616(0x282)](_0xa0bab5[_0x54a616(0x297)][_0x54a616(0x2fa)],[_0x30ad8d])),this[_0x54a616(0x2c3)](this['_renderManagerService']['registerRenderModule'](_0xa0bab5[_0x54a616(0x297)][_0x54a616(0x18a)],[_0x3555e8]));}[_0xdba1d4(0x1eb)](){const _0x467024=_0xdba1d4;_0xa0bab5[_0x467024(0x279)](this[_0x467024(0x191)],[[_0x14ee2b],[_0x3e67b4[_0x467024(0x248)]],[_0x2cd2fa],[_0x522c30],[_0x3e67b4[_0x467024(0x27b)]]]);}},_0xd72c3c(_0x3e67b4[_0xdba1d4(0x201)],'pluginName',_0x2eb7de),_0x3e67b4[_0xdba1d4(0x201)]=_0x2c24e0([_0xa0bab5[_0xdba1d4(0x26e)](_0x5aae96[_0xdba1d4(0x1a9)]),_0x905d84(0x1,_0x2664c9[_0xdba1d4(0x19a)]),_0x905d84(0x2,_0xa0bab5['Inject'](_0xa0bab5['Injector'])),_0x905d84(0x3,_0xa0bab5[_0xdba1d4(0x29f)])],_0x3e67b4['UniverCollaborationClientUIPlugin']);var _0x567769=Object[_0xdba1d4(0x2c9)],_0x1c741d=(_0x1ffc37,_0x313646,_0x1eaa75,_0x45dbcb)=>{for(var _0x29cbda=_0x45dbcb>0x1?void 0x0:_0x45dbcb?_0x567769(_0x313646,_0x1eaa75):_0x313646,_0x3dcba1=_0x1ffc37['length']-0x1,_0x203338;_0x3dcba1>=0x0;_0x3dcba1--)(_0x203338=_0x1ffc37[_0x3dcba1])&&(_0x29cbda=_0x203338(_0x29cbda)||_0x29cbda);return _0x29cbda;},_0x1365a4=(_0x586b46,_0xfd19db)=>(_0x1101e0,_0xaae730)=>_0xfd19db(_0x1101e0,_0xaae730,_0x586b46);_0x3e67b4[_0xdba1d4(0x287)]=class extends _0x5aae96[_0xdba1d4(0x384)]{constructor(_0x3489b5,_0xa30df3,_0x2d2c5e,_0x683e4,_0x383917){super(_0x3489b5,_0xa30df3,_0x2d2c5e,_0x683e4,_0x383917);}async[_0xdba1d4(0x311)](_0x5c745c){const _0x38a93a=_0xdba1d4,_0x55bda4=await this[_0x38a93a(0x360)](),_0x47bdd9=this[_0x38a93a(0x1a0)](_0x5c745c,_0x55bda4);return this[_0x38a93a(0x284)](_0x47bdd9);}[_0xdba1d4(0x1a0)](_0x4b3f03,_0x136aff){const _0x121e4d=_0xdba1d4,_0x20e8cd=typeof window>'u'?new URL(_0x4b3f03):new URL(_0x4b3f03,window[_0x121e4d(0x258)][_0x121e4d(0x379)]);_0x20e8cd['searchParams']['set'](_0x121e4d(0x3a7),_0x136aff);const _0x197fbb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x121e4d(0x258)][_0x121e4d(0x256)]);return _0x197fbb[_0x121e4d(0x3b3)](_0x121e4d(0x1d6))&&_0x20e8cd[_0x121e4d(0x2f3)][_0x121e4d(0x218)](_0x121e4d(0x1d6),_0x197fbb[_0x121e4d(0x3b3)](_0x121e4d(0x1d6))),_0x20e8cd[_0x121e4d(0x165)]();}async[_0xdba1d4(0x360)](){const _0x924cff=_0xdba1d4;var _0x2d65db,_0x21e7ab,_0x16cad2;const _0x20afb3=this['_configService'][_0x924cff(0x1d0)](_0x5aae96[_0x924cff(0x343)]),_0xfac412=(_0x2d65db=_0x20afb3==null?void 0x0:_0x20afb3[_0x924cff(0x34f)])!=null?_0x2d65db:_0x5aae96['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x16cad2=(_0x21e7ab=(await this['_httpService'][_0x924cff(0x3b3)](_0xfac412,{'headers':{'Content-Type':_0x924cff(0x1b8)}}))[_0x924cff(0x385)])==null?void 0x0:_0x21e7ab[_0x924cff(0x1b5)])!=null?_0x16cad2:'';}},_0x3e67b4[_0xdba1d4(0x287)]=_0x1c741d([_0x1365a4(0x0,_0xa0bab5[_0xdba1d4(0x1ea)](_0xa0bab5[_0xdba1d4(0x3d8)])),_0x1365a4(0x1,_0xa0bab5[_0xdba1d4(0x1ea)](_0x4ba0ef['HTTPService'])),_0x1365a4(0x2,_0xa0bab5[_0xdba1d4(0x29f)]),_0x1365a4(0x3,_0xa0bab5[_0xdba1d4(0x17d)]),_0x1365a4(0x4,_0x53baaf['ISnapshotServerService'])],_0x3e67b4['BrowserCollaborationSocketService']);var _0x2a6cb8=(_0x361c0b=>(_0x361c0b[_0x361c0b['UNDEFINED']=0x0]=_0xdba1d4(0x347),_0x361c0b[_0x361c0b['OK']=0x1]='OK',_0x361c0b[_0x361c0b[_0xdba1d4(0x214)]=0x2]='INTERNAL_ERROR',_0x361c0b[_0x361c0b['PERMISSION_DENIED']=0x3]=_0xdba1d4(0x324),_0x361c0b[_0x361c0b[_0xdba1d4(0x313)]=0x4]=_0xdba1d4(0x313),_0x361c0b[_0x361c0b['UNAUTHENTICATED']=0x5]=_0xdba1d4(0x24e),_0x361c0b[_0x361c0b[_0xdba1d4(0x1e2)]=0x6]='ALREADY_EXISTS',_0x361c0b[_0x361c0b['INVALID_ARGUMENT']=0x7]=_0xdba1d4(0x2f5),_0x361c0b[_0x361c0b['TOO_MANY_REQUESTS']=0x8]=_0xdba1d4(0x28e),_0x361c0b[_0x361c0b['COMPLETION_FINISHED']=0x9]=_0xdba1d4(0x213),_0x361c0b[_0x361c0b[_0xdba1d4(0x2c1)]=0xa]=_0xdba1d4(0x2c1),_0x361c0b[_0x361c0b[_0xdba1d4(0x277)]=0xb]=_0xdba1d4(0x277),_0x361c0b[_0x361c0b[_0xdba1d4(0x1e5)]=0xc]=_0xdba1d4(0x1e5),_0x361c0b[_0x361c0b[_0xdba1d4(0x161)]=0xd]=_0xdba1d4(0x161),_0x361c0b[_0x361c0b['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x361c0b[_0x361c0b[_0xdba1d4(0x19f)]=0x1389]=_0xdba1d4(0x19f),_0x361c0b[_0x361c0b[_0xdba1d4(0x2ed)]=0x1771]=_0xdba1d4(0x2ed),_0x361c0b[_0x361c0b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xdba1d4(0x18b),_0x361c0b[_0x361c0b['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xdba1d4(0x396),_0x361c0b[_0x361c0b[_0xdba1d4(0x346)]=0x1b59]=_0xdba1d4(0x346),_0x361c0b[_0x361c0b[_0xdba1d4(0x20e)]=0x1b5a]=_0xdba1d4(0x20e),_0x361c0b[_0x361c0b['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xdba1d4(0x1ab),_0x361c0b[_0x361c0b['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x361c0b[_0x361c0b[_0xdba1d4(0x1f2)]=0x1b5d]=_0xdba1d4(0x1f2),_0x361c0b[_0x361c0b[_0xdba1d4(0x25a)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x361c0b[_0x361c0b[_0xdba1d4(0x314)]=0x2329]=_0xdba1d4(0x314),_0x361c0b[_0x361c0b['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xdba1d4(0x157),_0x361c0b[_0x361c0b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x361c0b[_0x361c0b[_0xdba1d4(0x13e)]=0x232c]=_0xdba1d4(0x13e),_0x361c0b[_0x361c0b[_0xdba1d4(0x1dc)]=0x232d]=_0xdba1d4(0x1dc),_0x361c0b[_0x361c0b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xdba1d4(0x1f3),_0x361c0b[_0x361c0b[_0xdba1d4(0x1dd)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x361c0b[_0x361c0b[_0xdba1d4(0x353)]=0x2713]=_0xdba1d4(0x353),_0x361c0b[_0x361c0b[_0xdba1d4(0x175)]=0x2714]=_0xdba1d4(0x175),_0x361c0b[_0x361c0b[_0xdba1d4(0x2d1)]=0x271a]=_0xdba1d4(0x2d1),_0x361c0b[_0x361c0b[_0xdba1d4(0x30b)]=0x271b]=_0xdba1d4(0x30b),_0x361c0b[_0x361c0b['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0xdba1d4(0x392),_0x361c0b[_0x361c0b[_0xdba1d4(0x3db)]=0x271d]=_0xdba1d4(0x3db),_0x361c0b[_0x361c0b[_0xdba1d4(0x31e)]=0x271e]=_0xdba1d4(0x31e),_0x361c0b[_0x361c0b[_0xdba1d4(0x35e)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x361c0b[_0x361c0b[_0xdba1d4(0x1c5)]=0x2720]=_0xdba1d4(0x1c5),_0x361c0b[_0x361c0b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0xdba1d4(0x29e),_0x361c0b[_0x361c0b['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x361c0b[_0x361c0b[_0xdba1d4(0x270)]=0x2ee2]=_0xdba1d4(0x270),_0x361c0b[_0x361c0b[_0xdba1d4(0x1e7)]=0x2ee3]=_0xdba1d4(0x1e7),_0x361c0b[_0x361c0b[_0xdba1d4(0x217)]=0x2ee4]=_0xdba1d4(0x217),_0x361c0b[_0x361c0b[_0xdba1d4(0x215)]=0x2ee5]=_0xdba1d4(0x215),_0x361c0b[_0x361c0b['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xdba1d4(0x159),_0x361c0b[_0x361c0b['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xdba1d4(0x341),_0x361c0b[_0x361c0b[_0xdba1d4(0x358)]=0x32cb]=_0xdba1d4(0x358),_0x361c0b[_0x361c0b[_0xdba1d4(0x30c)]=-0x1]=_0xdba1d4(0x30c),_0x361c0b))(_0x2a6cb8||{}),_0x1cc1f2=Object[_0xdba1d4(0x2c9)],_0x1cc998=(_0x4e2337,_0x3fdada,_0x3713bd,_0x381be0)=>{for(var _0x5934f7=_0x381be0>0x1?void 0x0:_0x381be0?_0x1cc1f2(_0x3fdada,_0x3713bd):_0x3fdada,_0x44f130=_0x4e2337['length']-0x1,_0x11aae5;_0x44f130>=0x0;_0x44f130--)(_0x11aae5=_0x4e2337[_0x44f130])&&(_0x5934f7=_0x11aae5(_0x5934f7)||_0x5934f7);return _0x5934f7;},_0x297d30=(_0x331594,_0xe45f69)=>(_0x1ff3b3,_0x475f4e)=>_0xe45f69(_0x1ff3b3,_0x475f4e,_0x331594);_0x3e67b4[_0xdba1d4(0x26c)]=class extends _0xa0bab5[_0xdba1d4(0x171)]{constructor(_0x52b825,_0x2ff562,_0x13833a){const _0xe52028=_0xdba1d4;super(),this[_0xe52028(0x28b)]=_0x52b825,this[_0xe52028(0x1bb)]=_0x2ff562,this[_0xe52028(0x225)]=_0x13833a;}async[_0xdba1d4(0x289)](_0x492b5c,_0x4d7d64,_0x46647a,..._0x4dfa39){const _0x26c5f1=_0xdba1d4;var _0x294be1,_0x5351ea,_0x10f127,_0x2fee8f;const _0x253b1c=this[_0x26c5f1(0x28b)][_0x26c5f1(0x22f)]();if(!_0x253b1c)throw new Error(_0x26c5f1(0x359));const _0x3daa5e=((_0x294be1=this[_0x26c5f1(0x225)][_0x26c5f1(0x1d0)](_0x5aae96[_0x26c5f1(0x310)]))!=null?_0x294be1:_0x5aae96[_0x26c5f1(0x338)])+'/'+_0x492b5c+_0x26c5f1(0x28d)+_0x4d7d64,_0x938c4a=new URL(window[_0x26c5f1(0x258)][_0x26c5f1(0x255)]),_0x503b58={'scriptId':_0x492b5c,'runId':(_0x5351ea=_0x938c4a[_0x26c5f1(0x2f3)][_0x26c5f1(0x3b3)](_0x26c5f1(0x1d6)))!=null?_0x5351ea:'','function':_0x4d7d64,'unitId':_0x253b1c[_0x26c5f1(0x2d4)](),'argsOfFunction':JSON[_0x26c5f1(0x23a)](_0x4dfa39),'invokeId':(_0x10f127=_0x46647a[_0x26c5f1(0x143)])!=null?_0x10f127:'','executionId':(_0x2fee8f=_0x46647a[_0x26c5f1(0x35d)])!=null?_0x2fee8f:''};try{const _0x278709=await this['_httpService'][_0x26c5f1(0x1af)](_0x3daa5e,{'body':_0x503b58});return _0x278709[_0x26c5f1(0x385)][_0x26c5f1(0x352)]&&_0x278709[_0x26c5f1(0x385)][_0x26c5f1(0x352)]['code']!==_0x2a6cb8['OK']?'Failed':_0x278709[_0x26c5f1(0x385)]['result'];}catch{return _0x26c5f1(0x21a);}}},_0x3e67b4[_0xdba1d4(0x26c)]=_0x1cc998([_0x297d30(0x0,_0xa0bab5[_0xdba1d4(0x198)]),_0x297d30(0x1,_0xa0bab5[_0xdba1d4(0x1ea)](_0x4ba0ef[_0xdba1d4(0x334)])),_0x297d30(0x2,_0xa0bab5[_0xdba1d4(0x29f)])],_0x3e67b4[_0xdba1d4(0x26c)]);const _0x30119e=0x7530,_0x12f16a=_0xdba1d4(0x31c);class _0x3c8130 extends _0xa0bab5['Disposable']{constructor(){const _0x3d3f43=_0xdba1d4;super(),_0x1bff93(this,'_id',_0xa0bab5['generateRandomId']()),_0x1bff93(this,_0x3d3f43(0x2a8),new Set()),_0x1bff93(this,_0x3d3f43(0x1b4),new Map()),_0x1bff93(this,_0x3d3f43(0x34d),null),_0x1bff93(this,_0x3d3f43(0x3da),new Map()),_0x1bff93(this,_0x3d3f43(0x306),new Map()),this['_init']();}[_0xdba1d4(0x17e)](){const _0x56535f=_0xdba1d4;super[_0x56535f(0x17e)](),this[_0x56535f(0x3da)][_0x56535f(0x395)]((_0x233536,_0x246f88)=>this['_removeClearOtherTimer'](_0x246f88)),this['_heartbeatTimer']&&window[_0x56535f(0x268)](this[_0x56535f(0x34d)]);}[_0xdba1d4(0x23d)](_0x4ebad5){const _0x2c6237=_0xdba1d4;return this[_0x2c6237(0x2d8)](_0x4ebad5)[_0x2c6237(0x2a4)](_0x3ac3b6['distinctUntilChanged']());}[_0xdba1d4(0x1ac)](_0x2cb4b6){const _0x46aeba=_0xdba1d4;this[_0x46aeba(0x2a8)][_0x46aeba(0x19d)]===0x0&&this[_0x46aeba(0x1c2)](),this['_selfUnitIDs'][_0x46aeba(0x33e)](_0x2cb4b6),this[_0x46aeba(0x237)]({'type':0x0,'memberID':this[_0x46aeba(0x2e9)],'unitIDs':[_0x2cb4b6],'isForwarded':!0x1});}['disposeUnit'](_0x371731){const _0x5902a6=_0xdba1d4;this[_0x5902a6(0x2a8)][_0x5902a6(0x386)](_0x371731),this[_0x5902a6(0x2a8)][_0x5902a6(0x19d)]===0x0&&this[_0x5902a6(0x34d)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0xdba1d4(0x3a6)](){const _0x244dfc=_0xdba1d4;this['disposeWithMe'](_0xa0bab5[_0x244dfc(0x146)](_0x3ac3b6[_0x244dfc(0x333)](window,'storage')[_0x244dfc(0x17a)](_0x5b9c5d=>{const _0x3dfd38=_0x244dfc;if(_0x5b9c5d['key']!==_0x12f16a||!_0x5b9c5d[_0x3dfd38(0x1d8)])return;const _0x40d18f=JSON['parse'](_0x5b9c5d[_0x3dfd38(0x1d8)]);this[_0x3dfd38(0x30a)](_0x40d18f);}))),window[_0x244dfc(0x320)]('unload',()=>this[_0x244dfc(0x237)]({'type':0x1,'memberID':this[_0x244dfc(0x2e9)],'unitIDs':Array[_0x244dfc(0x3b2)](this[_0x244dfc(0x2a8)])}));}[_0xdba1d4(0x30a)](_0x5ec56c){const _0x5e012d=_0xdba1d4;switch(_0x5ec56c['type']){case 0x0:this[_0x5e012d(0x363)](_0x5ec56c);break;case 0x1:this['_handleLeaveEvent'](_0x5ec56c);break;case 0x2:this[_0x5e012d(0x29b)](_0x5ec56c);break;}}[_0xdba1d4(0x363)](_0x3526f4){const _0x18cf74=_0xdba1d4,{unitIDs:_0x86b209,memberID:_0x183f77,isForwarded:_0x2096f3}=_0x3526f4;_0x86b209[_0x18cf74(0x395)](_0x5af5e0=>{const _0x5dd08f=_0x18cf74;if(!_0x2096f3&&this['_unitOnClients']['has'](_0x5af5e0)&&this['_ensureSubject'](_0x5af5e0)[_0x5dd08f(0x236)](_0x5aae96['UnitStatus']['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x5af5e0)||!this[_0x5dd08f(0x1b4)][_0x5dd08f(0x3b3)](_0x5af5e0)[_0x5dd08f(0x17c)](_0x183f77)){const _0x5cb463=this[_0x5dd08f(0x1b4)][_0x5dd08f(0x3b3)](_0x5af5e0)||new Set();_0x5cb463[_0x5dd08f(0x33e)](_0x183f77),this[_0x5dd08f(0x1b4)]['set'](_0x5af5e0,_0x5cb463),this['_scheduleClearOtherTimer'](_0x183f77);}}),_0x2096f3||this[_0x18cf74(0x237)]({'type':0x0,'memberID':this[_0x18cf74(0x2e9)],'unitIDs':[...this[_0x18cf74(0x2a8)]],'isForwarded':!0x0});}[_0xdba1d4(0x1c0)](_0x50f92){const _0x160b52=_0xdba1d4;this[_0x160b52(0x1e1)](_0x50f92);const _0x402dfe=window[_0x160b52(0x1fc)](()=>{const _0x1f27b6=_0x160b52;this[_0x1f27b6(0x1b4)][_0x1f27b6(0x395)](_0x2ee183=>{_0x2ee183['delete'](_0x50f92);});},_0x30119e*0x2);this[_0x160b52(0x3da)][_0x160b52(0x218)](_0x50f92,_0x402dfe);}[_0xdba1d4(0x1e1)](_0x4513fc){const _0x11ad83=_0xdba1d4;if(this[_0x11ad83(0x3da)][_0x11ad83(0x17c)](_0x4513fc)){const _0x53ceba=this[_0x11ad83(0x3da)]['get'](_0x4513fc);_0x53ceba&&window[_0x11ad83(0x3c1)](_0x53ceba),this[_0x11ad83(0x3da)][_0x11ad83(0x218)](_0x4513fc,null);}}[_0xdba1d4(0x1f1)](_0x58c30d){const {memberID:_0x4f7c9d,unitIDs:_0x112a82}=_0x58c30d;_0x112a82['forEach'](_0x29b8c0=>{const _0x3610c4=_0x19f2;var _0xe91ee1;const _0x4a20f9=this['_unitOnClients'][_0x3610c4(0x3b3)](_0x29b8c0);_0x4a20f9&&(_0x4a20f9['delete'](_0x4f7c9d),(_0xe91ee1=this['_ensureSubject'](_0x29b8c0))==null||_0xe91ee1['next'](_0x4a20f9[_0x3610c4(0x19d)]===0x0?_0x5aae96[_0x3610c4(0x154)][_0x3610c4(0x2e6)]:_0x5aae96[_0x3610c4(0x154)][_0x3610c4(0x27e)]));}),this['_removeClearOtherTimer'](_0x4f7c9d);}[_0xdba1d4(0x29b)](_0xb3b19d){const _0x461b73=_0xdba1d4;this['_scheduleClearOtherTimer'](_0xb3b19d[_0x461b73(0x205)]);}[_0xdba1d4(0x237)](_0xbe5218){const _0x29ffb7=_0xdba1d4;localStorage[_0x29ffb7(0x3bb)](_0x12f16a,JSON['stringify'](_0xbe5218));}[_0xdba1d4(0x1c2)](){const _0x2053a4=_0xdba1d4;this['_heartbeatTimer']=window[_0x2053a4(0x2f9)](()=>{const _0x5ca50a=_0x2053a4;this['_send']({'type':0x2,'memberID':this[_0x5ca50a(0x2e9)]});},_0x30119e);}[_0xdba1d4(0x2d8)](_0x302221){const _0x444c0c=_0xdba1d4;return this[_0x444c0c(0x306)]['has'](_0x302221)||this[_0x444c0c(0x306)][_0x444c0c(0x218)](_0x302221,new _0x3ac3b6[(_0x444c0c(0x37f))](_0x5aae96['UnitStatus'][_0x444c0c(0x2e6)])),this[_0x444c0c(0x306)]['get'](_0x302221);}}_0x3e67b4['IURLService']=_0x569712,_0x3e67b4[_0xdba1d4(0x2ef)]=_0x836841,_0x3e67b4[_0xdba1d4(0x22e)]=_0x3c8130,_0x3e67b4[_0xdba1d4(0x2b6)]=_0x25a906,Object[_0xdba1d4(0x354)](_0x3e67b4,Symbol[_0xdba1d4(0x185)],{'value':_0xdba1d4(0x1c1)});}));
1
+ function _0x19a4(_0x5b4c8a,_0x3888fc){const _0x46de52=_0x46de();return _0x19a4=function(_0x19a40b,_0x1166e0){_0x19a40b=_0x19a40b-0x19b;let _0x519e51=_0x46de52[_0x19a40b];return _0x519e51;},_0x19a4(_0x5b4c8a,_0x3888fc);}function _0x46de(){const _0x41ed4a=['collaboration.closeRoom','body','then','Tooltip','_drawTextRange','className','_config','sessionTicket','none','_collabSessionService','collabStatus.notCollab','@univerjs/docs','getRangePointData','pluginName','RegularPolygon','@univerjs/ui','focused$','Shape','location','PY_RUNTIME_SCRIPT_ERROR','_disabled','idSuffix','getSheetBySheetId','parse','addHandlerCallback','collabStatus.conflict','roomMembers','TEXT_RANGE_LAYER_INDEX','_selfUnitIDs','DocIMEInputManagerService','column','_configService','post','fromEvent','DocCollaborationEntity','getCurrentSelections','handleIRemoveRow','saveTaskMap','YUUMI_ASYNCIO_CANCELLED','_assignedColors','_document','some','popstate','_docStateChangeManagerService','UNIVER_SHEET','_labelPosition','jsxs','unload','RemoteUniscriptService','range','Vector2','roomMembers$','getParam','_session','_getSheetObject','_themeService','object','_heartbeatTimer','ILogService','save','_range','univerjs-icon\x20univerjs-icon-','LICENSE_IMPORT_SIZE_EXCEEDED','currentTheme$','@univerjs/core','YUUMI_ALL_TABLES_IS_INVALID','round','mask','RemoveColCommandId','yellow.400','_getScale','xlink:href','_cachedData','FromArray','getOwnPropertyDescriptor','color','getCellPositionByOffset','currentColor','/run/','MUTATION','0\x200\x2016\x2016','useCallback','handleMoveRange','_color','switchMap','_docTransformIMECacheService','842240JBMrrM','@univerjs/network','isArray','_cursorInfo$','hasOwnProperty','selection','INVALID_ARGUMENT','NOT_COLLAB','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','registerRenderModule','CHANGESET_REVISION_CONFILICT','_unitStatus','getStateCache','defs','Optional','_scheduleHeartbeat','_status$','set','IConfigService','44430YILYuO','isTransformMutationsWithChangesetSuccess','loadOfflineData','white','transformStateCache','_name','Disposable','runOnServer','_removeClearOtherTimer','USER_NOT_INVITED_CODE','IRemoteInstanceService','UniverEngineRender','CollaborationDataLoaderController','show','_univerInstanceService','_ensureSubject','clearTimeout','subunit','SNAPSHOT_HAS_BEEN_REMOVED','searchParams','shareReplay','_registerDependencies','_collabCursorState$','getOwnPropertySymbols','takeUntil','SHEET_VIEWPORT_KEY','UniverCollaborationClientUIPlugin','_toggleOffline','DocStateChangeManagerService','React','SOCKET_FAILED_RETRY','OffLineIcon','_collabCursorController','_initEntityListener','_updateSubUnitFromURLParams','editingUnit','APPLY_REVISION_CONFILICT','CLOSE_ROOM','_scene','ticket','replaceDocRanges','react','ILocalStorageService','pipe','getTypeOfUnitAdded$','invokeId','@univerjs-pro/collaboration','clearInterval','BehaviorSubject','replaceState','INVALID_INVITE_CODE','contains','NOT_FOUND','executionId','_scheduleSaving','_getMergeRange','dispose$','_textBubble','measureText','actions','LOCAL_CACHE_INTERVAL','code','_saveTaskMap','toString','onTransformChange$','session.connection-failed','has','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','endRow','CollaborationUIEventId','whenReady','UnitStatus','doc.mutation.rich-text-editing','@univerjs/engine-render','LocaleService','RxDisposable','_syncEditingCollabCursorService','url(#$1','APPLY_DUPLICATED','_hideTimer','_initDependencies','#FFF','prototype','jsx','_backgroundColor','UniverSheetsUi','_toggleOnline','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs/engine-formula','28gYlEkb','_hover','_transformUndoRedoStack','SheetsSelectionsService','_initStatusComponent','DesktopCollaborationStatusDisplayController','_colorAssignService','ENSURE_SNAPSHOT_EXECUTION','all','combineLatest','_removeCollabCursors','getUniverSheetInstance','UniverDocs','on-line-icon_clip0_910_349','getSheetId','transformSelections','YUUMI_RATE_OVER_LIMIT','_roomMembers$','useDependency','CollaborationSocketService','69fOkJYn','_shapes','subscribeEvent','serializeRangeWithSheet','call','indexOf','toRgbString','forEach','_beforeCloseService','getCurrentRevOfUnit','eventID','Rect','Failed','http://www.w3.org/2000/svg','react/jsx-runtime','@univerjs/docs-ui','_refreshCollabCursors','handleDeleteRangeMoveLeft','permission.content','SetWorksheetActivateCommand','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exhaustSavingTask','UniverDesign','_logService','SYNCED','_commandService','concat','trim','collaboration-client.offline-data-not-saved','function','DependentOn','push','_handleLeaveEvent','debounceTime','send','operators','session.will-retry','IRenderManagerService','handleDeleteRangeMoveUp','149848qCVCzk','TOO_MANY_REQUESTS','getColor','restore','unshift','_docTransformStateCacheService','search','registerDependencies','IImageIoService','get','_collaborationUIEventService','_imageIoService','_messageService','_anchorDot','pushState','getVpScrollXYInfoByPosToVp','assignAColorForMemberID','sheetId','activeSheet$','distinctUntilChanged','_startDocCollabCursor','event$','getUnitId','RECT','collabStatus.offline','off-line-icon_clip0_910_343','COLORS','MoveRangeCommandId','values','lineTo','sessionStatus$','CollaborationStatus','addClipboardHook','runId','_getSaveTimeout','_entityInit$','transformByState','sheetID','DataLoaderService','_cursor','Plugin','MemberService','uni.network.url-service','getOffsetConfig','@univerjs/drawing','fillStyle','EMAIL_HAS_BEEN_BOUND','transformMutation','isTransformMutationFailure','YUUMI_CONNECTOR_URL_NOT_FOUND','filter','min','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getCurrentUnitForType','150402PDnDIn','startColumn','generateRandomId','SUBMIT_CHANGESET_TIMEOUT','removeParam','red.300','_onRefRangeChange','includes','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','debounce','asObservable','collabStatus.syncing','_renderManagerService','resize','endColumn','_init','HEADER_MENU','registerRefRange','setShapeProps','attrs','ISocketService','getAncestorScale','addObject','MessageType','createIdentifier','UniverCore','Unknown\x20user','VIEW_MAIN','_scheduleClearOtherTimer','DOC_RANGE_TYPE','defIds','Workbook','Module','InsertRangeMoveRightCommandId','width','SetTextSelectionsOperation','ColorKit','_drawAnchor','getMergeData','updateOfflineData','IUIPartsService','Tools','OFFLINE','@univerjs/sheets','_setupSubUnitSync','_memberService','Inject','setStateCache','deepClone','getActiveSheet','name','_docClipboardService','ONLINE','next','setAlpha','ISnapshotServerService','green.600','_registerRenderDependencies','_context','skeleton','syncEditingCollabCursor','LICENSE_DISTRO_REJECTED','AWAITING_WITH_PENDING','split','_handleHeartbeatEvent','clipPath','dispose','string','closePath','ThemeService','YUUMI_SUBSCRIPTION_NOT_FOUND','executeCommand','isActive','_transformPreviousActiveRange','_eventUnsubscribe','_initCommandExecutedListener','getColorFromTheme','INTERNAL_ERROR','USERS_LEAVE','SOCKET_FAILED','Rectangle','fillText','subUnitId','UPDATE_CURSOR','_initStatusListener','WebBrowserSingleActiveUnitService','getCollabEntity$','urlChange$','univer-flex\x20univer-items-center','init','Injector','transformMutationsWithChangeset','delete','PERMISSION_DENIED','setItem','_handleHover','BuiltInUIPart','assign','storage','merge','2596797wdIAtq','MOBILE_HAS_BEEN_BOUND','useObservable','BrowserCollaborationSocketService','univer-mr-2\x20univer-flex\x20univer-text-xl','0\x200\x2017\x2016','override','_uiPartsService','LOCAL_CACHE_INTERVAL_KEY','IURLService','_getSessionTicket','mapTo','throttleTime','setUndoRedoMutationParamsCache','newValue','M0\x200H16V16H0z','type','MOBILE_VERIFY_CODE_MISMATCH','getRenderById','OTHER_CLIENT_EDITING','_unitOnClients','ranges','_collaborationController','hide','_localStorageService','error','startsWith','children','debug','_refRangeService','APPLY_REJECT','drawWith','ALREADY_EXISTS','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_transformService','_notificationService','_onCursorDelete','_localeService','InsertRangeMoveDownCommandId','EffectRefRangId','LICENSE_MAX_UNITS_EXCEEDED','getCollabCursors$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setParam','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','icon','colorChannel1','params','with','div','SetDocZoomRatioOperation','exports','13854ObnzOw','onPointerLeave$','_startSheetCollabCursor','random','getUnitStatus$','rxjs','clsx','UNRECOGNIZED','unitId','INVITE_CODE_REQUIRED','_doCreateSocket','getUndoRedoMutationParamsCache','from','_handleEvent','DeleteRangeMoveUpCommandId','handleInsertRangeMoveRight','disposeWithMe','IMessageService','_updateURLWithCurrentState','_docSyncEditingCollabCursorService','getCoordByCell','currentSkeleton$','saveOfflineData','1em','labelPosition','imageSourceType','_initResize','m1Prime','data','_drawRectRange','_injector','symbol','toDisposable','_handleJoinEvent','text','cursorInfo$','_send','createInstance','createSocket','UniverInstanceType','DeleteRangeMoveLeftCommandId','unitID','unit','_entities','createElement','UniverDocsUi','YUUMI_AI_RUN_FAILED','collab-text-anchor-','Error','triggerDblclick','setTimeout','forwardRef','getFocusedUnit','top','onStarting','UniverRpc','arc','add','InsertRowCommandId','on-line-icon','displayName','rgba(255,\x20255,\x20255,\x200.01)','ILocalCacheService','CONFLICT','UniverProCollaborationClient','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','ITransformService','YUUMI_UNABLE_LOAD_URL','_dataLoaderService','getConfig','size','YUUMI_NO_CUBOID_FOR_QUESTION','APPLY_PERMISSION_DENIED','APPLY_NON_SEQUENTIAL_REVISION','replace','CollaborationUIEventService','_docTransformSelectionsService','collab-rect-range-','RichTextEditingMutation','height','addEventListener','touchDependencies','_instanceService','_clearOtherTimers','YUUMI_URL_COL_OUT_OF_RANGE','_getAnchorBounding','_online','runRefRangeMutations','findNodePositionByCharIndex','engine','IDocClipboardService','amd','getDocRanges','stringify','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','UniverSheets','_transformHistoryAndStateStack','_createSocketURL','map','toStringTag','mergeOverrideWithDependencies','redoState','setInterval','black','CONNECTOR_DATA_TOO_LARGE','fill','docStateChange$','bottom','_anchor','WECHAT_HAS_BEEN_BOUND','path','UniverNetwork','_draw','history','memberID','_lastPointer','_id','48zaCbtP','tag','getActiveRange','use','purple.300','getTypeOfUnitDisposed$','_httpService','svg','LICENSE_EXPORT_SIZE_EXCEEDED','hovered','UniverProCollaborationClientUi','LOGIN_FAILED','RevisionService','handleInsertRangeMoveDown','COMPLETION_FINISHED','CollaborationController','INVITE_CODE_HAS_BEEN_UES','getValue','onPointerEnter$','Warning','IUniverInstanceService','cursorInfo','DocSelectionManagerService','_docSkeletonManagerService','length','HTTPService','mutations','_cursors','wsSessionTicketUrl','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','complete','getLocalCacheKey','handleInsertRow','_saveCache','evenodd','INotificationService','IBeforeCloseService','onMouseMove','@univerjs/design','UNDEFINED','...','registerComponent','getUnhiddenWorksheets','find','jiqing.500','transformRemoteChangeset','CommandType','_urlService','_updateLocalCursor','SNAPSHOT_INVALID_SNAPSHOT','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','WebSocketService','collabCursorState$','onCommandExecuted','saveImage','flatMap','_hovered','defineProperty','_colorIndex','TEXT','_onCursorUpdate','collaboration-client-ui.config','NO_OTHER_CLIENTS_EDITING','SessionStatus','deserializeRangeWithSheet','collabStatus.fetchMiss','_updateCollabCursors','collabStatus.synced','transformIMECache','ICommandService','entries','UNIVER_DOC','Subject','SheetSkeletonManagerService','UniverDrawing','_cursorShapes','_render','171325gJbufW','UNAUTHENTICATED','INVITE_CODE_ALREADY_BOUND','_localCacheService','_setupBeforeClosingHandler','_sheetSkeletonManagerService','extend','handleInsertCol','getSkeleton','subscribe','row','href','CollaborationEvent','getMemberID','m2Prime','UniverCollaborationClientPlugin','UniverProCollaboration'];_0x46de=function(){return _0x41ed4a;};return _0x46de();}(function(_0x2cfb75,_0xc5c33e){const _0x53bbd5=_0x19a4,_0x280303=_0x2cfb75();while(!![]){try{const _0x12b69f=parseInt(_0x53bbd5(0x261))/0x1+parseInt(_0x53bbd5(0x19f))/0x2*(-parseInt(_0x53bbd5(0x348))/0x3)+-parseInt(_0x53bbd5(0x214))/0x4*(parseInt(_0x53bbd5(0x2db))/0x5)+parseInt(_0x53bbd5(0x3a6))/0x6*(parseInt(_0x53bbd5(0x334))/0x7)+-parseInt(_0x53bbd5(0x36f))/0x8+parseInt(_0x53bbd5(0x40a))/0x9+-parseInt(_0x53bbd5(0x2c8))/0xa;if(_0x12b69f===_0xc5c33e)break;else _0x280303['push'](_0x280303['shift']());}catch(_0x2c1ec8){_0x280303['push'](_0x280303['shift']());}}}(_0x46de,0x2eaf2),function(_0x3733ea,_0x4afef7){const _0x4bab13=_0x19a4;typeof exports==_0x4bab13(0x2aa)&&typeof module<'u'?_0x4afef7(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x4bab13(0x365)&&define[_0x4bab13(0x1fa)]?define([_0x4bab13(0x19e),_0x4bab13(0x356),'@univerjs-pro/collaboration-client',_0x4bab13(0x2b2),_0x4bab13(0x281),_0x4bab13(0x1a4),_0x4bab13(0x23a),_0x4bab13(0x304),'@univerjs/rpc',_0x4bab13(0x3d1),_0x4bab13(0x324),_0x4bab13(0x2c9),_0x4bab13(0x357),_0x4bab13(0x39b),_0x4bab13(0x309),_0x4bab13(0x27d),_0x4bab13(0x333),'rxjs/operators','@univerjs/sheets-ui'],_0x4afef7):(_0x3733ea=typeof globalThis<'u'?globalThis:_0x3733ea||self,_0x4afef7(_0x3733ea[_0x4bab13(0x21e)]={},_0x3733ea[_0x4bab13(0x2f8)],_0x3733ea[_0x4bab13(0x1df)],_0x3733ea[_0x4bab13(0x3bf)],_0x3733ea['UniverUi'],_0x3733ea[_0x4bab13(0x1a4)],_0x3733ea[_0x4bab13(0x35e)],_0x3733ea['React'],_0x3733ea[_0x4bab13(0x1d6)],_0x3733ea[_0x4bab13(0x1fe)],_0x3733ea[_0x4bab13(0x2e6)],_0x3733ea[_0x4bab13(0x20e)],_0x3733ea[_0x4bab13(0x1cc)],_0x3733ea[_0x4bab13(0x25e)],_0x3733ea[_0x4bab13(0x271)],_0x3733ea[_0x4bab13(0x340)],_0x3733ea['UniverEngineFormula'],_0x3733ea[_0x4bab13(0x1a4)][_0x4bab13(0x36b)],_0x3733ea[_0x4bab13(0x330)]));}(this,function(_0x9de135,_0x5dfb74,_0x3b3567,_0x2c2192,_0x214f56,_0x39a97e,_0x4f24da,_0x197005,_0x30a3e,_0x40b606,_0xeac254,_0x1f436f,_0x4e1317,_0x4251fe,_0x542b31,_0x28f6a3,_0x46218b,_0x5e9058,_0x5b36e4){'use strict';const _0x263a40=_0x19a4;var _0x4ff1f6=Object[_0x263a40(0x24d)],_0x7509f4=(_0x1b3401,_0x30586a,_0x722cf)=>_0x30586a in _0x1b3401?_0x4ff1f6(_0x1b3401,_0x30586a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x722cf}):_0x1b3401[_0x30586a]=_0x722cf,_0x193c38=(_0x3183dc,_0x3c3c7f,_0x3c8c30)=>_0x7509f4(_0x3183dc,typeof _0x3c3c7f!=_0x263a40(0x1be)?_0x3c3c7f+'':_0x3c3c7f,_0x3c8c30),_0x12749e=function(){const _0xa6c845=_0x263a40;return _0x12749e=Object[_0xa6c845(0x407)]||function(_0x532eaa){const _0x3ee8b1=_0xa6c845;for(var _0x463f3f,_0x5d3cff=0x1,_0x83f3ee=arguments[_0x3ee8b1(0x22c)];_0x5d3cff<_0x83f3ee;_0x5d3cff++){_0x463f3f=arguments[_0x5d3cff];for(var _0x23c297 in _0x463f3f)Object[_0x3ee8b1(0x32d)][_0x3ee8b1(0x2cc)][_0x3ee8b1(0x34c)](_0x463f3f,_0x23c297)&&(_0x532eaa[_0x23c297]=_0x463f3f[_0x23c297]);}return _0x532eaa;},_0x12749e['apply'](this,arguments);},_0x5c6138=function(_0x19f16c,_0x20a73c){const _0x44006e=_0x263a40;var _0x4720e1={};for(var _0x184a6a in _0x19f16c)Object['prototype'][_0x44006e(0x2cc)][_0x44006e(0x34c)](_0x19f16c,_0x184a6a)&&_0x20a73c[_0x44006e(0x34d)](_0x184a6a)<0x0&&(_0x4720e1[_0x184a6a]=_0x19f16c[_0x184a6a]);if(_0x19f16c!=null&&typeof Object[_0x44006e(0x2f2)]==_0x44006e(0x365)){for(var _0x301b20=0x0,_0x184a6a=Object[_0x44006e(0x2f2)](_0x19f16c);_0x301b20<_0x184a6a['length'];_0x301b20++)_0x20a73c[_0x44006e(0x34d)](_0x184a6a[_0x301b20])<0x0&&Object[_0x44006e(0x32d)]['propertyIsEnumerable']['call'](_0x19f16c,_0x184a6a[_0x301b20])&&(_0x4720e1[_0x184a6a[_0x301b20]]=_0x19f16c[_0x184a6a[_0x301b20]]);}return _0x4720e1;},_0x35a74d=_0x197005[_0x263a40(0x1d2)](function(_0xaeaada,_0x4235a1){const _0x203b76=_0x263a40;var _0x2e322e=_0xaeaada[_0x203b76(0x437)],_0x3f9062=_0xaeaada['id'],_0x7e733a=_0xaeaada[_0x203b76(0x277)],_0x107565=_0xaeaada[_0x203b76(0x267)],_0x29b9aa=_0x5c6138(_0xaeaada,[_0x203b76(0x437),'id',_0x203b76(0x277),_0x203b76(0x267)]),_0x3f178f=_0x203b76(0x2af)[_0x203b76(0x362)](_0x3f9062,'\x20')['concat'](_0x7e733a||'')[_0x203b76(0x363)](),_0xd894e6=_0x197005['useRef']('_'['concat'](_0x43377f()));return _0x35b70c(_0x2e322e,''[_0x203b76(0x362)](_0x3f9062),{'defIds':_0x2e322e[_0x203b76(0x3c4)],'idSuffix':_0xd894e6['current']},_0x12749e({'ref':_0x4235a1,'className':_0x3f178f},_0x29b9aa),_0x107565);});function _0x35b70c(_0x4ccf50,_0x47dedb,_0x4d4a8d,_0x139a66,_0x569448){const _0x431294=_0x263a40;return _0x197005[_0x431294(0x1cb)](_0x4ccf50[_0x431294(0x215)],_0x12749e(_0x12749e({'key':_0x47dedb},_0x228673(_0x4ccf50,_0x4d4a8d,_0x569448)),_0x139a66),(_0x20ce69(_0x4ccf50,_0x4d4a8d)[_0x431294(0x425)]||[])[_0x431294(0x201)](function(_0x5aea3f,_0x4ccf73){const _0x4a01d7=_0x431294;return _0x35b70c(_0x5aea3f,''['concat'](_0x47dedb,'-')[_0x4a01d7(0x362)](_0x4ccf50[_0x4a01d7(0x215)],'-')[_0x4a01d7(0x362)](_0x4ccf73),_0x4d4a8d,void 0x0,_0x569448);}));}function _0x228673(_0x28d10d,_0x3c0f7d,_0x3c36d6){const _0x4349d9=_0x263a40;var _0x183c1e=_0x12749e({},_0x28d10d[_0x4349d9(0x3b9)]);_0x3c36d6!=null&&_0x3c36d6[_0x4349d9(0x438)]&&_0x183c1e['fill']===_0x4349d9(0x438)&&(_0x183c1e[_0x4349d9(0x208)]=_0x3c36d6[_0x4349d9(0x438)]),_0x28d10d['tag']===_0x4349d9(0x2b5)&&_0x183c1e['id']&&(_0x183c1e['id']=_0x183c1e['id']+_0x3c0f7d[_0x4349d9(0x287)]),Object['entries'](_0x183c1e)[_0x4349d9(0x34f)](function(_0x3251af){const _0x22884f=_0x4349d9;var _0x4171f0=_0x3251af[0x0],_0x48e272=_0x3251af[0x1];_0x4171f0===_0x22884f(0x2b5)&&typeof _0x48e272=='string'&&(_0x183c1e[_0x4171f0]=_0x48e272['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3c0f7d['idSuffix'],')')));});var _0x4ed87f=_0x3c0f7d[_0x4349d9(0x3c4)];return!_0x4ed87f||_0x4ed87f[_0x4349d9(0x22c)]===0x0||(_0x28d10d[_0x4349d9(0x215)]===_0x4349d9(0x217)&&_0x183c1e['xlink:href']&&(_0x183c1e['xlink:href']=_0x183c1e[_0x4349d9(0x2b9)]+_0x3c0f7d[_0x4349d9(0x287)]),Object[_0x4349d9(0x25a)](_0x183c1e)[_0x4349d9(0x34f)](function(_0x4093e6){const _0x360fa4=_0x4349d9;var _0x419f9a=_0x4093e6[0x0],_0x5c8c1e=_0x4093e6[0x1];typeof _0x5c8c1e=='string'&&(_0x183c1e[_0x419f9a]=_0x5c8c1e[_0x360fa4(0x1e9)](/url\(#(.*)\)/,_0x360fa4(0x328)['concat'](_0x3c0f7d['idSuffix'],')')));})),_0x183c1e;}function _0x20ce69(_0x4381bb,_0x3ad863){const _0x47b5ca=_0x263a40;var _0x2c2e08,_0x9a1dfb=_0x3ad863[_0x47b5ca(0x3c4)];return!_0x9a1dfb||_0x9a1dfb[_0x47b5ca(0x22c)]===0x0?_0x4381bb:_0x4381bb[_0x47b5ca(0x215)]===_0x47b5ca(0x2d5)&&(!((_0x2c2e08=_0x4381bb[_0x47b5ca(0x425)])===null||_0x2c2e08===void 0x0)&&_0x2c2e08['length'])?_0x12749e(_0x12749e({},_0x4381bb),{'children':_0x4381bb['children'][_0x47b5ca(0x201)](function(_0x4f2ecf){const _0x38310b=_0x47b5ca;return typeof _0x4f2ecf[_0x38310b(0x3b9)]['id']==_0x38310b(0x3e9)&&_0x9a1dfb&&_0x9a1dfb[_0x38310b(0x3ad)](_0x4f2ecf[_0x38310b(0x3b9)]['id'])?_0x12749e(_0x12749e({},_0x4f2ecf),{'attrs':_0x12749e(_0x12749e({},_0x4f2ecf['attrs']),{'id':_0x4f2ecf['attrs']['id']+_0x3ad863[_0x38310b(0x287)]})}):_0x4f2ecf;})}):_0x4381bb;}function _0x43377f(){const _0x3965bc=_0x263a40;return Math[_0x3965bc(0x1a2)]()[_0x3965bc(0x31a)](0x24)['substring'](0x2,0x8);}_0x35a74d['displayName']='UniverIcon';var _0x2509cd={'tag':_0x263a40(0x21b),'attrs':{'xmlns':_0x263a40(0x355),'fill':'none','viewBox':_0x263a40(0x2c2),'width':'1em','height':_0x263a40(0x1b6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x263a40(0x20d),'attrs':{'stroke':_0x263a40(0x2bf),'d':_0x263a40(0x1e0),'strokeLinecap':_0x263a40(0x2b4),'strokeLinejoin':_0x263a40(0x2b4),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x263a40(0x388)},'children':[{'tag':_0x263a40(0x20d),'attrs':{'fill':_0x263a40(0x2de),'d':_0x263a40(0x419)}}]}]}],'defIds':[_0x263a40(0x388)]},_0x33730a=_0x197005['forwardRef'](function(_0x3319d2,_0x569d38){const _0x175de1=_0x263a40;return _0x197005[_0x175de1(0x1cb)](_0x35a74d,Object[_0x175de1(0x407)]({},_0x3319d2,{'id':'off-line-icon','ref':_0x569d38,'icon':_0x2509cd}));});_0x33730a[_0x263a40(0x1db)]=_0x263a40(0x2fa);var _0x47627d={'tag':_0x263a40(0x21b),'attrs':{'xmlns':_0x263a40(0x355),'fill':_0x263a40(0x27a),'viewBox':_0x263a40(0x40f),'width':'1em','height':_0x263a40(0x1b6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x263a40(0x20d),'attrs':{'stroke':_0x263a40(0x2bf),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x263a40(0x2b4),'strokeLinejoin':_0x263a40(0x2b4),'strokeWidth':1.2}}]},{'tag':_0x263a40(0x2d5),'attrs':{},'children':[{'tag':_0x263a40(0x3e7),'attrs':{'id':_0x263a40(0x341)},'children':[{'tag':_0x263a40(0x20d),'attrs':{'fill':'white','d':_0x263a40(0x419),'transform':'translate(.97)'}}]}]}],'defIds':[_0x263a40(0x341)]},_0x233b03=_0x197005[_0x263a40(0x1d2)](function(_0x476cf8,_0x2af3ea){const _0x489280=_0x263a40;return _0x197005[_0x489280(0x1cb)](_0x35a74d,Object[_0x489280(0x407)]({},_0x476cf8,{'id':_0x489280(0x1da),'ref':_0x2af3ea,'icon':_0x47627d}));});_0x233b03[_0x263a40(0x1db)]='OnLineIcon';function _0x381bd3(_0x249edc){const _0x58408e=_0x263a40;switch(_0x249edc){case _0x3b3567[_0x58408e(0x38e)][_0x58408e(0x3d0)]:return _0x58408e(0x387);case _0x3b3567[_0x58408e(0x38e)][_0x58408e(0x1de)]:return _0x58408e(0x28b);case _0x3b3567[_0x58408e(0x38e)]['FETCH_MISS']:return _0x58408e(0x255);case _0x3b3567[_0x58408e(0x38e)][_0x58408e(0x2cf)]:return _0x58408e(0x27c);case _0x3b3567['CollaborationStatus']['AWAITING']:case _0x3b3567[_0x58408e(0x38e)][_0x58408e(0x3e4)]:return _0x58408e(0x3b1);case _0x3b3567['CollaborationStatus'][_0x58408e(0x360)]:case _0x3b3567[_0x58408e(0x38e)]['PENDING']:return _0x58408e(0x257);}}function _0x2885e3(_0x4c2e00){const _0x134bc3=_0x263a40,{status$:_0xc3a8e8}=_0x4c2e00,_0x4c784a=_0x214f56[_0x134bc3(0x40c)](_0xc3a8e8,_0x3b3567[_0x134bc3(0x38e)][_0x134bc3(0x2cf)]),_0xca157b=_0x214f56[_0x134bc3(0x346)](_0x2c2192['LocaleService']),_0x52e30b=_0x214f56[_0x134bc3(0x346)](_0x3b3567['CollaborationSessionService']),_0x5c2728=_0x4c784a!==_0x3b3567[_0x134bc3(0x38e)][_0x134bc3(0x3d0)],_0x15677e=_0xca157b['t'](_0x381bd3(_0x4c784a)),_0x2e43aa=_0x5c2728?_0x5dfb74[_0x134bc3(0x32e)](_0x233b03,{}):_0x5dfb74['jsx'](_0x33730a,{}),_0xf30b9b=_0x197005[_0x134bc3(0x2c3)](()=>{_0x5c2728||_0x52e30b['reconnect']();},[_0x5c2728,_0x52e30b]);function _0x3d6c44(){const _0x5685e0=_0x134bc3;return _0x5dfb74[_0x5685e0(0x2a0)](_0x5685e0(0x19c),{'className':_0x5685e0(0x3fe),'onClick':_0xf30b9b,'children':[_0x5dfb74['jsx'](_0x5685e0(0x19c),{'className':_0x4f24da[_0x5685e0(0x1a5)](_0x5685e0(0x40e),{'univer-text-green-500':_0x5c2728,'univer-text-red-500':!_0x5c2728}),'children':_0x2e43aa}),_0x5dfb74[_0x5685e0(0x32e)](_0x5685e0(0x19c),{'className':_0x5685e0(0x2d0),'children':_0x15677e})]});}return _0x5c2728?_0x3d6c44():_0x5dfb74[_0x134bc3(0x32e)](_0x4f24da[_0x134bc3(0x275)],{'title':_0xca157b['t']('collab-client.tooltip.reconnect'),'children':_0x3d6c44()});}var _0x2e2ca5=Object[_0x263a40(0x2bc)],_0x5d3706=(_0x77185f,_0x48f066,_0x2e14cb,_0x34fd0e)=>{const _0x53fd70=_0x263a40;for(var _0x50bd27=_0x34fd0e>0x1?void 0x0:_0x34fd0e?_0x2e2ca5(_0x48f066,_0x2e14cb):_0x48f066,_0x2bce80=_0x77185f[_0x53fd70(0x22c)]-0x1,_0x37cfce;_0x2bce80>=0x0;_0x2bce80--)(_0x37cfce=_0x77185f[_0x2bce80])&&(_0x50bd27=_0x37cfce(_0x50bd27)||_0x50bd27);return _0x50bd27;},_0x2a12c8=(_0x463cd6,_0xcaa718)=>(_0x593caa,_0x5dfe3a)=>_0xcaa718(_0x593caa,_0x5dfe3a,_0x463cd6);_0x9de135[_0x263a40(0x339)]=class extends _0x2c2192[_0x263a40(0x2e1)]{constructor(_0x4549fd,_0x395a3d,_0x504de7,_0x1ad091){const _0x1cf70c=_0x263a40;super(),_0x193c38(this,_0x1cf70c(0x2d8),new _0x39a97e[(_0x1cf70c(0x30b))](_0x3b3567['CollaborationStatus'][_0x1cf70c(0x2cf)])),(this[_0x1cf70c(0x2e9)]=_0x4549fd,this[_0x1cf70c(0x1bd)]=_0x395a3d,this['_collaborationController']=_0x504de7,this[_0x1cf70c(0x411)]=_0x1ad091,this[_0x1cf70c(0x338)](),this[_0x1cf70c(0x3fa)]());}['_initStatusListener'](){const _0x178e47=_0x263a40;this[_0x178e47(0x1af)](this[_0x178e47(0x2e9)][_0x178e47(0x282)][_0x178e47(0x306)](_0x39a97e[_0x178e47(0x2c6)](()=>{const _0x5c4337=_0x178e47,_0x2826f7=this[_0x5c4337(0x2e9)][_0x5c4337(0x1d3)]();return _0x2826f7?this[_0x5c4337(0x420)][_0x5c4337(0x3fc)](_0x2826f7[_0x5c4337(0x385)]()):_0x39a97e['of'](null);}),_0x39a97e['switchMap'](_0xf750a5=>_0xf750a5?_0xf750a5['status$']:_0x39a97e['of'](_0x3b3567[_0x178e47(0x38e)]['NOT_COLLAB'])))[_0x178e47(0x26a)](_0x51a6ed=>{const _0x416b77=_0x178e47;this[_0x416b77(0x2d8)][_0x416b77(0x3db)](_0x51a6ed);}));}[_0x263a40(0x338)](){const _0x3bf98d=_0x263a40;this['disposeWithMe'](this[_0x3bf98d(0x411)][_0x3bf98d(0x23d)](_0x214f56[_0x3bf98d(0x406)][_0x3bf98d(0x3b6)],()=>_0x214f56['connectInjector'](_0xc7a435({'status$':this[_0x3bf98d(0x2d8)][_0x3bf98d(0x3b0)]()}),this['_injector'])));}},_0x9de135[_0x263a40(0x339)]=_0x5d3706([_0x2a12c8(0x0,_0x2c2192['IUniverInstanceService']),_0x2a12c8(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x2a12c8(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567[_0x263a40(0x223)])),_0x2a12c8(0x3,_0x214f56[_0x263a40(0x3ce)])],_0x9de135[_0x263a40(0x339)]);function _0xc7a435(_0x383c7a){const {status$:_0xeb650e}=_0x383c7a;return function(){const _0x55dac3=_0x19a4;return _0x5dfb74[_0x55dac3(0x32e)](_0x2885e3,{'status$':_0xeb650e});};}const _0x1f6186=_0x2c2192[_0x263a40(0x3be)](_0x263a40(0x399));var _0x9d8214=Object['getOwnPropertyDescriptor'],_0x57b8bd=(_0x145474,_0x2f21b6,_0x34cb5c,_0xa568ef)=>{for(var _0x4a1bd6=_0xa568ef>0x1?void 0x0:_0xa568ef?_0x9d8214(_0x2f21b6,_0x34cb5c):_0x2f21b6,_0x3a1cc7=_0x145474['length']-0x1,_0x43f2ff;_0x3a1cc7>=0x0;_0x3a1cc7--)(_0x43f2ff=_0x145474[_0x3a1cc7])&&(_0x4a1bd6=_0x43f2ff(_0x4a1bd6)||_0x4a1bd6);return _0x4a1bd6;},_0x1f7c53=(_0x56ff77,_0x5a95c3)=>(_0x4321a1,_0x28eef1)=>_0x5a95c3(_0x4321a1,_0x28eef1,_0x56ff77);_0x9de135['CollaborationDataLoaderController']=class extends _0x2c2192['RxDisposable']{constructor(_0x247213,_0x3c5858,_0x375b93,_0x5e3cfd,_0x176376){const _0x223662=_0x263a40;super(),this[_0x223662(0x243)]=_0x247213,this[_0x223662(0x35f)]=_0x3c5858,this[_0x223662(0x361)]=_0x375b93,this[_0x223662(0x1e3)]=_0x5e3cfd,_0x176376?_0x176376==null||_0x176376[_0x223662(0x321)]()['then'](()=>this[_0x223662(0x3b5)]()):(this[_0x223662(0x35f)][_0x223662(0x426)]('[CollaborationDataLoaderController]',_0x223662(0x31e)),this[_0x223662(0x3b5)]());}async[_0x263a40(0x3b5)](){const _0x2efdc9=_0x263a40,_0x452290=this[_0x2efdc9(0x243)][_0x2efdc9(0x2a6)](_0x2efdc9(0x1c9)),_0x3e5943=this[_0x2efdc9(0x243)]['getParam'](_0x2efdc9(0x41a)),_0x56b959=this[_0x2efdc9(0x243)]['getParam'](_0x2efdc9(0x2ec));if(!_0x452290||!_0x3e5943){this[_0x2efdc9(0x35f)][_0x2efdc9(0x426)]('[CollaborationDataLoaderController]',_0x2efdc9(0x3ae));return;}const _0x328211=await this[_0x2efdc9(0x1e3)]['loadUnit'](_0x452290,Number(_0x3e5943),_0x56b959);_0x328211&&_0x328211 instanceof _0x2c2192[_0x2efdc9(0x3c5)]&&this[_0x2efdc9(0x3d2)](_0x328211);}async[_0x263a40(0x3d2)](_0x35b88e){const _0xe5999b=_0x263a40;await this['_updateSubUnitFromURLParams'](_0x35b88e),_0x35b88e[_0xe5999b(0x381)]['pipe'](_0x39a97e[_0xe5999b(0x2f3)](this[_0xe5999b(0x313)]))[_0xe5999b(0x26a)](_0x389ada=>{_0x389ada&&this['_updateURLWithCurrentState'](_0x389ada);}),this['_urlService'][_0xe5999b(0x3fd)][_0xe5999b(0x306)](_0x39a97e[_0xe5999b(0x2f3)](this[_0xe5999b(0x313)]))[_0xe5999b(0x26a)](()=>this[_0xe5999b(0x2fd)](_0x35b88e));}[_0x263a40(0x1b1)](_0x2aa5cc,_0x2c7100=!0x1){const _0xd9fd7d=_0x263a40,_0x4b492a=this[_0xd9fd7d(0x243)][_0xd9fd7d(0x2a6)](_0xd9fd7d(0x2ec));_0x2aa5cc['getSheetId']()!==_0x4b492a&&this[_0xd9fd7d(0x243)][_0xd9fd7d(0x435)](_0xd9fd7d(0x2ec),_0x2aa5cc[_0xd9fd7d(0x342)](),_0x2c7100);}async[_0x263a40(0x2fd)](_0x16766a){const _0x58344d=_0x263a40;var _0x14b9ff;const _0x1b654f=this['_urlService'][_0x58344d(0x2a6)]('subunit');if(!_0x1b654f||!_0x16766a[_0x58344d(0x288)](_0x1b654f)){const _0x46728a=_0x16766a[_0x58344d(0x23e)]()[0x0],_0xae99ca=_0x16766a['getSheetBySheetId'](_0x46728a);if(!_0xae99ca)return;this[_0x58344d(0x1b1)](_0xae99ca,!0x0),await this[_0x58344d(0x361)][_0x58344d(0x3ed)](_0x40b606[_0x58344d(0x35b)]['id'],{'unitId':_0x16766a[_0x58344d(0x385)](),'subUnitId':_0x46728a});return;}((_0x14b9ff=_0x16766a[_0x58344d(0x3d7)]())==null?void 0x0:_0x14b9ff[_0x58344d(0x342)]())!==_0x1b654f&&await this['_commandService'][_0x58344d(0x3ed)](_0x40b606['SetWorksheetActivateCommand']['id'],{'unitId':_0x16766a[_0x58344d(0x385)](),'subUnitId':_0x1b654f});}},_0x9de135[_0x263a40(0x2e7)]=_0x57b8bd([_0x1f7c53(0x0,_0x1f6186),_0x1f7c53(0x1,_0x2c2192['ILogService']),_0x1f7c53(0x2,_0x2c2192['ICommandService']),_0x1f7c53(0x3,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567[_0x263a40(0x395)])),_0x1f7c53(0x4,_0x2c2192[_0x263a40(0x2d6)](_0x30a3e[_0x263a40(0x2e5)]))],_0x9de135[_0x263a40(0x2e7)]);var _0x1c4e64=Object[_0x263a40(0x2bc)],_0x529666=(_0x4d3dbc,_0x2d2b3a,_0x554a14,_0x1707ce)=>{const _0x2641f0=_0x263a40;for(var _0x5e54f9=_0x1707ce>0x1?void 0x0:_0x1707ce?_0x1c4e64(_0x2d2b3a,_0x554a14):_0x2d2b3a,_0x1f079d=_0x4d3dbc[_0x2641f0(0x22c)]-0x1,_0x5f4142;_0x1f079d>=0x0;_0x1f079d--)(_0x5f4142=_0x4d3dbc[_0x1f079d])&&(_0x5e54f9=_0x5f4142(_0x5e54f9)||_0x5e54f9);return _0x5e54f9;},_0x37b2d0=(_0x1f1490,_0x59c46c)=>(_0x560fe3,_0x5d3a41)=>_0x59c46c(_0x560fe3,_0x5d3a41,_0x1f1490);let _0x1b423f=class extends _0x2c2192[_0x263a40(0x326)]{constructor(_0x5449e9,_0x3b8f2a){const _0x2bc711=_0x263a40;super(),this[_0x2bc711(0x3d9)]=_0x5449e9,this[_0x2bc711(0x37a)]=_0x3b8f2a,this[_0x2bc711(0x3b5)]();}['_init'](){const _0x267486=_0x263a40,_0x3d37f6=this;this[_0x267486(0x1af)](this[_0x267486(0x3d9)][_0x267486(0x38f)]({'onBeforePasteImage':async _0x21c178=>{const _0x9f13b3=_0x267486,_0x20bb55=await _0x3d37f6[_0x9f13b3(0x37a)][_0x9f13b3(0x24a)](_0x21c178);return _0x20bb55?{'source':_0x20bb55['source'],'imageSourceType':_0x20bb55[_0x9f13b3(0x1b8)]}:null;}}));}};_0x1b423f=_0x529666([_0x37b2d0(0x0,_0x4e1317[_0x263a40(0x1f9)]),_0x37b2d0(0x1,_0x4251fe[_0x263a40(0x377)])],_0x1b423f);const _0x5615b7=[_0x263a40(0x218),_0x263a40(0x240),_0x263a40(0x3de),_0x263a40(0x3ab),'blue.400',_0x263a40(0x2b7)];class _0x32664d extends _0x2c2192['Disposable']{constructor(){const _0x2a24a8=_0x263a40;super(...arguments),_0x193c38(this,_0x2a24a8(0x299),new Map()),_0x193c38(this,_0x2a24a8(0x24e),0x0);}[_0x263a40(0x37f)](_0x59dbcd){const _0x28c948=_0x263a40;if(this[_0x28c948(0x299)][_0x28c948(0x31d)](_0x59dbcd))return this[_0x28c948(0x299)][_0x28c948(0x378)](_0x59dbcd);const _0x1c6d21=_0x5615b7[this[_0x28c948(0x24e)]];return this[_0x28c948(0x24e)]=(this[_0x28c948(0x24e)]+0x1)%_0x5615b7[_0x28c948(0x22c)],this[_0x28c948(0x299)]['set'](_0x59dbcd,_0x1c6d21),_0x1c6d21;}}function _0x15faa4(_0x7fcb79){const _0x5d98e3=_0x263a40;let _0x457bba='';for(const _0x24bf3c of _0x7fcb79){const {startOffset:_0x391884,endOffset:_0x3908bb,isActive:_0x2f3231,rangeType:_0x4aeb3c,segmentId:_0x2476d3,segmentPage:_0x2c1151}=_0x24bf3c;_0x457bba[_0x5d98e3(0x22c)]&&(_0x457bba+=','),_0x457bba+=_0x391884+':'+_0x3908bb+':'+(_0x2f3231?'1':'0')+':'+_0x4aeb3c+':'+_0x2476d3+':'+_0x2c1151;}return _0x457bba;}function _0xddf4f0(_0x9cc066){const _0x3b0244=_0x263a40,_0x1f2aa3=_0x9cc066[_0x3b0244(0x3e5)](','),_0x17c5c8=[];for(const _0x531209 of _0x1f2aa3){const [_0x14283d,_0x4b5809,_0x170f27,_0x1a69db,_0x5f23ad,_0x4980ee]=_0x531209[_0x3b0244(0x3e5)](':');_0x17c5c8[_0x3b0244(0x367)]({'startOffset':Number(_0x14283d),'endOffset':Number(_0x4b5809),'collapsed':_0x14283d===_0x4b5809,'isActive':_0x170f27==='1','rangeType':_0x1a69db===_0x2c2192['DOC_RANGE_TYPE'][_0x3b0244(0x24f)]?_0x2c2192[_0x3b0244(0x3c3)][_0x3b0244(0x24f)]:_0x2c2192[_0x3b0244(0x3c3)][_0x3b0244(0x386)],'segmentId':typeof _0x5f23ad==_0x3b0244(0x3e9)?String(_0x5f23ad):'','segmentPage':Number(_0x4980ee!=null?_0x4980ee:-0x1)});}return _0x17c5c8[_0x3b0244(0x29b)](_0x3f121f=>_0x3f121f['isActive'])||(_0x17c5c8[0x0][_0x3b0244(0x3ee)]=!0x0),_0x17c5c8;}class _0x45dd48 extends _0x2c2192['RxDisposable']{constructor(){const _0x21cd2a=_0x263a40;super(...arguments),_0x193c38(this,_0x21cd2a(0x2f1),new _0x39a97e['BehaviorSubject'](null)),_0x193c38(this,'collabCursorState$',this[_0x21cd2a(0x2f1)][_0x21cd2a(0x3b0)]());}['syncEditingCollabCursor'](_0x336361){const _0x4a681e=_0x263a40,{unitID:_0x5db2ae,memberID:_0x30b0fc,textRanges:_0x5b5258}=_0x336361,_0x137040=_0x15faa4(_0x5b5258);if(_0x137040==='')return;const _0x5eb634={'unitID':_0x5db2ae,'memberID':_0x30b0fc,'selection':_0x137040};this[_0x4a681e(0x2f1)][_0x4a681e(0x3db)](_0x5eb634);}}var _0x27e4ec=Object[_0x263a40(0x2bc)],_0x11a06c=(_0x5a00a1,_0x5677d8,_0x48ee1b,_0x36dabc)=>{const _0x4d8804=_0x263a40;for(var _0x28148e=_0x36dabc>0x1?void 0x0:_0x36dabc?_0x27e4ec(_0x5677d8,_0x48ee1b):_0x5677d8,_0x5286e9=_0x5a00a1[_0x4d8804(0x22c)]-0x1,_0xae5ba;_0x5286e9>=0x0;_0x5286e9--)(_0xae5ba=_0x5a00a1[_0x5286e9])&&(_0x28148e=_0xae5ba(_0x28148e)||_0x28148e);return _0x28148e;},_0x2dadfc=(_0x1d5793,_0x136c1b)=>(_0x4fbd5a,_0x2b355c)=>_0x136c1b(_0x4fbd5a,_0x2b355c,_0x1d5793);const _0x47f7aa=0x12c,_0x2d93ac=0x64;let _0x328609=class extends _0x2c2192[_0x263a40(0x326)]{constructor(_0x3c97fd,_0x3e846c,_0xd7bda3,_0x138caa,_0x43b048,_0x162723,_0x5b463a,_0x4a1124,_0x21985b){const _0x3223d8=_0x263a40;super(),_0x193c38(this,_0x3223d8(0x1f5),!0x1),_0x193c38(this,_0x3223d8(0x3b5),!0x1),_0x193c38(this,_0x3223d8(0x2cb),new _0x39a97e[(_0x3223d8(0x30b))](new Map())),_0x193c38(this,_0x3223d8(0x1c2),this[_0x3223d8(0x2cb)][_0x3223d8(0x3b0)]()),_0x193c38(this,'_roomMembers$',new _0x39a97e[(_0x3223d8(0x30b))]([])),_0x193c38(this,_0x3223d8(0x2a5),this[_0x3223d8(0x345)]['pipe'](_0x39a97e['debounceTime'](_0x47f7aa))),_0x193c38(this,'_updateLocalCursor',_0x2c2192[_0x3223d8(0x3af)](_0x406640=>{const _0x145191=_0x3223d8,_0x29311b={'eventID':_0x542b31[_0x145191(0x26d)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x145191(0x2a7)][_0x145191(0x26e)](),'selection':_0x15faa4(_0x406640)}};this[_0x145191(0x2a7)][_0x145191(0x36a)](_0x29311b,this[_0x145191(0x1c8)]);},_0x2d93ac)),(this[_0x3223d8(0x1c8)]=_0x3c97fd,this['_session']=_0x3e846c,this[_0x3223d8(0x1bd)]=_0xd7bda3,this['_colorAssignService']=_0x138caa,this[_0x3223d8(0x3d3)]=_0x43b048,this[_0x3223d8(0x327)]=_0x162723,this[_0x3223d8(0x42c)]=_0x5b463a,this['_univerInstanceService']=_0x4a1124,this[_0x3223d8(0x361)]=_0x21985b);}get[_0x263a40(0x229)](){const _0x54c998=_0x263a40;return this['_cursorInfo$'][_0x54c998(0x225)]();}get[_0x263a40(0x28c)](){return this['_roomMembers$']['getValue']();}[_0x263a40(0x3e8)](){const _0x1e586f=_0x263a40;super[_0x1e586f(0x3e8)](),this[_0x1e586f(0x2cb)][_0x1e586f(0x3db)](new Map()),this['_cursorInfo$']['complete'](),this[_0x1e586f(0x345)]['next']([]),this['_roomMembers$'][_0x1e586f(0x232)]();}['init'](){const _0x539b8c=_0x263a40;this[_0x539b8c(0x3b5)]||(this[_0x539b8c(0x3b5)]=!0x0,this[_0x539b8c(0x2a7)][_0x539b8c(0x38d)]['pipe'](_0x39a97e['takeUntil'](this['dispose$']))[_0x539b8c(0x26a)](_0x119d45=>{const _0x3d0fc8=_0x539b8c;_0x119d45===_0x3b3567[_0x3d0fc8(0x253)]['ONLINE']?this[_0x3d0fc8(0x331)]():this['_toggleOffline']();}),this[_0x539b8c(0x2a7)]['event$'][_0x539b8c(0x306)](_0x39a97e[_0x539b8c(0x2f3)](this[_0x539b8c(0x313)]))[_0x539b8c(0x26a)](_0x51103d=>{const _0x2aa53c=_0x539b8c,_0x451c25=_0x51103d[_0x2aa53c(0x352)];_0x451c25===_0x542b31[_0x2aa53c(0x26d)]['UPDATE_CURSOR']&&this[_0x2aa53c(0x250)](_0x51103d),_0x451c25===_0x542b31[_0x2aa53c(0x26d)][_0x2aa53c(0x3f4)]&&this[_0x2aa53c(0x42e)](_0x51103d);}),this[_0x539b8c(0x1af)](this[_0x539b8c(0x361)][_0x539b8c(0x249)](_0x518774=>{const _0x357e0c=_0x539b8c,_0x47f91f=_0x518774[_0x357e0c(0x439)];_0x47f91f!=null&&this[_0x357e0c(0x1f5)]&&_0x518774['id']===_0x28f6a3[_0x357e0c(0x3c9)]['id']&&_0x47f91f[_0x357e0c(0x1a7)]===this[_0x357e0c(0x1c8)]&&_0x47f91f['isEditing']===!0x1&&_0x47f91f['ranges'][_0x357e0c(0x22c)]>0x0&&this[_0x357e0c(0x244)](_0x47f91f[_0x357e0c(0x41f)]);})),this[_0x539b8c(0x327)][_0x539b8c(0x248)][_0x539b8c(0x306)](_0x39a97e[_0x539b8c(0x2f3)](this[_0x539b8c(0x313)]))[_0x539b8c(0x26a)](_0x137caa=>{const _0x227927=_0x539b8c;if((_0x137caa==null?void 0x0:_0x137caa[_0x227927(0x1c8)])!==this['unitID'])return;const _0x339088={'eventID':_0x542b31['CollaborationEvent'][_0x227927(0x3f9)],'data':_0x137caa};this[_0x227927(0x250)](_0x339088);}),this[_0x539b8c(0x1af)](this[_0x539b8c(0x361)][_0x539b8c(0x249)](_0x58e883=>{const _0x579f0c=_0x539b8c;if(_0x58e883['params']==null)return;const _0x3147cb=_0x58e883['params'];if(_0x58e883['id']!==_0x28f6a3[_0x579f0c(0x1ed)]['id']||_0x3147cb['unitId']!==this[_0x579f0c(0x1c8)])return;const _0x5292c7={'id':_0x579f0c(0x323),'params':_0x3147cb},_0x2668bb=this[_0x579f0c(0x229)];for(const [_0x42e204,_0x2b8968]of _0x2668bb){const _0x1f4440={'id':_0x579f0c(0x323),'params':{'unitId':this[_0x579f0c(0x1c8)],'actions':null,'textRanges':_0x2b8968['ranges']}},_0x414845=this[_0x579f0c(0x42c)][_0x579f0c(0x39e)](_0x5292c7,_0x1f4440,!0x1);if(_0x542b31[_0x579f0c(0x39f)](_0x414845))throw _0x414845[_0x579f0c(0x423)];_0x2668bb[_0x579f0c(0x2d9)](_0x42e204,{..._0x2b8968,'ranges':_0x414845['m2Prime'][_0x579f0c(0x439)]['textRanges']});}queueMicrotask(()=>{const _0x3aa6af=_0x579f0c;this['_cursorInfo$'][_0x3aa6af(0x3db)](_0x2668bb);});})));}[_0x263a40(0x250)](_0x2d4497){const _0x301f38=_0x263a40;var _0xa27ccb,_0x5c1a28;const {memberID:_0x4f16da,selection:_0x1f0848}=_0x2d4497[_0x301f38(0x1bb)],_0x22a12c=_0xddf4f0(_0x1f0848),_0x404d8a=(_0x5c1a28=(_0xa27ccb=this[_0x301f38(0x3d3)]['getMember'](this[_0x301f38(0x1c8)],_0x4f16da))==null?void 0x0:_0xa27ccb[_0x301f38(0x3d8)])!=null?_0x5c1a28:_0x301f38(0x3c0),_0x34858a={'color':this[_0x301f38(0x33a)][_0x301f38(0x37f)](_0x4f16da),'name':_0x404d8a,'ranges':_0x22a12c},_0x213297=this[_0x301f38(0x229)];_0x213297[_0x301f38(0x2d9)](_0x4f16da,_0x34858a),this['_cursorInfo$'][_0x301f38(0x3db)](_0x213297);}[_0x263a40(0x42e)](_0x3cb2d4){const _0x24036c=_0x263a40,{memberID:_0x515555}=_0x3cb2d4[_0x24036c(0x1bb)],_0x18009d=this[_0x24036c(0x229)];_0x18009d[_0x24036c(0x402)](_0x515555),this[_0x24036c(0x2cb)][_0x24036c(0x3db)](_0x18009d);}['_toggleOnline'](){const _0x4f31f2=_0x263a40;var _0x3b0270;if(this[_0x4f31f2(0x1f5)]=!0x0,((_0x3b0270=this[_0x4f31f2(0x2e9)]['getFocusedUnit']())==null?void 0x0:_0x3b0270[_0x4f31f2(0x385)]())!==this[_0x4f31f2(0x1c8)])return;const _0x226a27=this['_injector'][_0x4f31f2(0x378)](_0x28f6a3[_0x4f31f2(0x22a)])[_0x4f31f2(0x1fb)]();Array[_0x4f31f2(0x2ca)](_0x226a27)&&_0x226a27[_0x4f31f2(0x22c)]>0x0&&this['_updateLocalCursor'](_0x226a27);}[_0x263a40(0x2f6)](){const _0x4d0d2b=_0x263a40;this[_0x4d0d2b(0x1f5)]=!0x1;}};_0x328609=_0x11a06c([_0x2dadfc(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x2dadfc(0x3,_0x2c2192[_0x263a40(0x3d4)](_0x32664d)),_0x2dadfc(0x4,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567[_0x263a40(0x398)])),_0x2dadfc(0x5,_0x2c2192[_0x263a40(0x3d4)](_0x45dd48)),_0x2dadfc(0x6,_0x542b31[_0x263a40(0x1e1)]),_0x2dadfc(0x7,_0x2c2192[_0x263a40(0x228)]),_0x2dadfc(0x8,_0x2c2192[_0x263a40(0x259)])],_0x328609);var _0x417c1e=Object[_0x263a40(0x2bc)],_0x6a93cd=(_0x275874,_0x5da201,_0x2c775a,_0x4d2a96)=>{const _0x58011e=_0x263a40;for(var _0x3f5b43=_0x4d2a96>0x1?void 0x0:_0x4d2a96?_0x417c1e(_0x5da201,_0x2c775a):_0x5da201,_0x218b61=_0x275874[_0x58011e(0x22c)]-0x1,_0x517c2a;_0x218b61>=0x0;_0x218b61--)(_0x517c2a=_0x275874[_0x218b61])&&(_0x3f5b43=_0x517c2a(_0x3f5b43)||_0x3f5b43);return _0x3f5b43;},_0x56f970=(_0x3d62c4,_0x1e2ef3)=>(_0x5eb860,_0x4586d3)=>_0x1e2ef3(_0x5eb860,_0x4586d3,_0x3d62c4);const _0x2453a3=0x12c,_0x8ca3d3=0x64,_0x22c345=()=>{let _0x2bfc47=[],_0x20070f=!0x1;return _0x2f1a93=>{const _0x4c93ce=_0x19a4;_0x2bfc47[_0x4c93ce(0x367)](_0x2f1a93),_0x20070f||(_0x20070f=!0x0,setTimeout(()=>{_0x2bfc47['forEach'](_0x5766fe=>_0x5766fe()),_0x2bfc47=[],_0x20070f=!0x1;}));};};let _0x5cf1d7=class extends _0x2c2192['RxDisposable']{constructor(_0x82fd47,_0x12e4f1,_0x510859,_0x479c14,_0x31179d,_0x1f3d38,_0xdf8ecc,_0xf26a61){const _0x501ca2=_0x263a40;super(),_0x193c38(this,'_online',!0x1),_0x193c38(this,'_init',!0x1),_0x193c38(this,_0x501ca2(0x2cb),new _0x39a97e[(_0x501ca2(0x30b))](new Map())),_0x193c38(this,'cursorInfo$',this[_0x501ca2(0x2cb)][_0x501ca2(0x3b0)]()),_0x193c38(this,_0x501ca2(0x345),new _0x39a97e['BehaviorSubject']([])),_0x193c38(this,'roomMembers$',this[_0x501ca2(0x345)][_0x501ca2(0x306)](_0x39a97e[_0x501ca2(0x369)](_0x2453a3))),_0x193c38(this,_0x501ca2(0x244),_0x2c2192['debounce']((_0x5de895,_0x1e0154)=>{const _0x4ffc88=_0x501ca2,_0x49f004={'eventID':_0x542b31['CollaborationEvent'][_0x4ffc88(0x3f9)],'data':{'unitID':this[_0x4ffc88(0x1c8)],'memberID':this['_session'][_0x4ffc88(0x26e)](),'selection':_0x46218b[_0x4ffc88(0x34b)](_0x5de895,_0x1e0154[_0x4ffc88(0x2a3)])}};this[_0x4ffc88(0x2a7)][_0x4ffc88(0x36a)](_0x49f004,this[_0x4ffc88(0x1c8)]);},_0x8ca3d3)),(this[_0x501ca2(0x1c8)]=_0x82fd47,this[_0x501ca2(0x2a7)]=_0x12e4f1,this[_0x501ca2(0x1bd)]=_0x510859,this[_0x501ca2(0x33a)]=_0x479c14,this[_0x501ca2(0x3d3)]=_0x31179d,this[_0x501ca2(0x2e9)]=_0x1f3d38,this[_0x501ca2(0x361)]=_0xdf8ecc,this[_0x501ca2(0x427)]=_0xf26a61);}get['cursorInfo'](){const _0x264f60=_0x263a40;return this[_0x264f60(0x2cb)][_0x264f60(0x225)]();}get[_0x263a40(0x28c)](){const _0x450a68=_0x263a40;return this[_0x450a68(0x345)][_0x450a68(0x225)]();}[_0x263a40(0x3e8)](){const _0x364312=_0x263a40;super[_0x364312(0x3e8)](),this['_cursorInfo$'][_0x364312(0x3db)](new Map()),this[_0x364312(0x2cb)][_0x364312(0x232)](),this[_0x364312(0x345)][_0x364312(0x3db)]([]),this[_0x364312(0x345)][_0x364312(0x232)]();}[_0x263a40(0x3ff)](){const _0x45b380=_0x263a40;this[_0x45b380(0x3b5)]||(this['_init']=!0x0,this[_0x45b380(0x2a7)]['sessionStatus$'][_0x45b380(0x306)](_0x39a97e[_0x45b380(0x2f3)](this[_0x45b380(0x313)]))[_0x45b380(0x26a)](_0x50bc2e=>{const _0x51be02=_0x45b380;_0x50bc2e===_0x3b3567[_0x51be02(0x253)][_0x51be02(0x3da)]?this[_0x51be02(0x331)]():this[_0x51be02(0x2f6)]();}),this[_0x45b380(0x2a7)][_0x45b380(0x384)][_0x45b380(0x306)](_0x39a97e['takeUntil'](this['dispose$']))[_0x45b380(0x26a)](_0x3bcffa=>{const _0x1bf101=_0x45b380,_0x1830c2=_0x3bcffa[_0x1bf101(0x352)];_0x1830c2===_0x542b31['CollaborationEvent'][_0x1bf101(0x3f9)]&&this[_0x1bf101(0x250)](_0x3bcffa),_0x1830c2===_0x542b31['CollaborationEvent'][_0x1bf101(0x3f4)]&&this[_0x1bf101(0x42e)](_0x3bcffa);}),this[_0x45b380(0x3ac)](),this['disposeWithMe'](this[_0x45b380(0x361)][_0x45b380(0x249)](_0x37f5dc=>{const _0xca8d0=_0x45b380;if(this[_0xca8d0(0x1f5)]&&_0x37f5dc['id']===_0x40b606['SetSelectionsOperation']['id']&&_0x37f5dc['params'][_0xca8d0(0x1a7)]===this[_0xca8d0(0x1c8)]){const _0x1c1dcc=_0x37f5dc[_0xca8d0(0x439)];this[_0xca8d0(0x244)](_0x1c1dcc[_0xca8d0(0x3f8)],_0x1c1dcc['selections'][0x0]);}})));}[_0x263a40(0x250)](_0x1757b1){const _0x135d48=_0x263a40;var _0x5c7d8d,_0x144c2b;const {memberID:_0x14b698,selection:_0x27afba}=_0x1757b1[_0x135d48(0x1bb)],{sheetName:_0x2a9090,range:_0x5b0247}=_0x46218b[_0x135d48(0x254)](_0x27afba),_0x14df67={'name':(_0x144c2b=(_0x5c7d8d=this[_0x135d48(0x3d3)]['getMember'](this[_0x135d48(0x1c8)],_0x14b698))==null?void 0x0:_0x5c7d8d['name'])!=null?_0x144c2b:'Unknown\x20user','range':this[_0x135d48(0x312)](_0x2a9090,_0x5b0247),'sheetID':_0x2a9090,'color':this['_colorAssignService'][_0x135d48(0x37f)](_0x14b698),'selection':_0x27afba},_0xe84be3=this[_0x135d48(0x229)];_0xe84be3['set'](_0x14b698,_0x14df67),this[_0x135d48(0x2cb)][_0x135d48(0x3db)](_0xe84be3);}['_onCursorDelete'](_0x517eb5){const _0x118a35=_0x263a40,{memberID:_0x431a88}=_0x517eb5[_0x118a35(0x1bb)],_0x4910d5=this['cursorInfo'];_0x4910d5['delete'](_0x431a88),this[_0x118a35(0x2cb)]['next'](_0x4910d5);}[_0x263a40(0x312)](_0x3cebcf,_0x102638){const _0x3f7796=_0x263a40;var _0x497dbe,_0x42a17a;const _0x1fdf7d=(_0x42a17a=(_0x497dbe=this[_0x3f7796(0x2e9)][_0x3f7796(0x33f)](this[_0x3f7796(0x1c8)]))==null?void 0x0:_0x497dbe[_0x3f7796(0x288)](_0x3cebcf))==null?void 0x0:_0x42a17a[_0x3f7796(0x3cc)]();return(_0x1fdf7d==null?void 0x0:_0x1fdf7d[_0x3f7796(0x23f)](_0x4e308f=>_0x2c2192[_0x3f7796(0x3f6)][_0x3f7796(0x30e)](_0x4e308f,_0x102638)))||_0x102638;}[_0x263a40(0x3ac)](){const _0x32758b=_0x263a40,_0x4d6ef0=new _0x2c2192['DisposableCollection'](),_0x86aad0=_0x22c345(),_0xa291fc=()=>{const _0x104434=_0x19a4;_0x4d6ef0['dispose']();const _0x51221f=(_0x556d9b,_0x255bdd,_0x344867,_0x13ba35)=>{const _0x502a7c=_0x19a4;let _0x85047d=[];switch(_0x556d9b['id']){case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x1c7)]:{_0x85047d=_0x40b606[_0x502a7c(0x359)](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x1ad)]:{_0x85047d=_0x40b606[_0x502a7c(0x36e)](_0x556d9b,_0x13ba35);break;}case _0x40b606['EffectRefRangId']['InsertColCommandId']:{_0x85047d=_0x40b606[_0x502a7c(0x268)](_0x556d9b,_0x13ba35);break;}case _0x40b606['EffectRefRangId'][_0x502a7c(0x430)]:{_0x85047d=_0x40b606[_0x502a7c(0x221)](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x3c7)]:{_0x85047d=_0x40b606[_0x502a7c(0x1ae)](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x1d9)]:{_0x85047d=_0x40b606[_0x502a7c(0x234)](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x38a)]:{_0x85047d=_0x40b606[_0x502a7c(0x2c4)](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x2b6)]:{_0x85047d=_0x40b606['handleIRemoveCol'](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)]['RemoveRowCommandId']:{_0x85047d=_0x40b606[_0x502a7c(0x296)](_0x556d9b,_0x13ba35);break;}}const _0x5a43b8=_0x40b606[_0x502a7c(0x1f6)](_0x85047d,_0x13ba35),_0x36fb5f=this[_0x502a7c(0x229)]['get'](_0x255bdd);if(_0x36fb5f&&_0x5a43b8){const _0x1bebb1={..._0x36fb5f,'range':_0x5a43b8};this[_0x502a7c(0x229)][_0x502a7c(0x2d9)](_0x255bdd,_0x1bebb1),_0x86aad0(()=>{const _0x3a86f0=_0x502a7c,_0x538cea=this[_0x3a86f0(0x427)][_0x3a86f0(0x3b7)](_0x5a43b8,_0x52c1f4=>(_0x538cea[_0x3a86f0(0x3e8)](),_0x51221f(_0x52c1f4,_0x255bdd,_0x344867,_0x5a43b8)));_0x4d6ef0[_0x3a86f0(0x1d8)](_0x538cea);});}return{'redos':[],'undos':[]};};this[_0x104434(0x229)][_0x104434(0x34f)]((_0x149f53,_0x58f8eb)=>{const _0x21a3cb=_0x104434,{range:_0x14cdab,sheetID:_0x4d9eb0}=_0x149f53,_0x317ce2=this['_refRangeService']['registerRefRange'](_0x14cdab,_0x697f4f=>(_0x317ce2[_0x21a3cb(0x3e8)](),_0x51221f(_0x697f4f,_0x58f8eb,_0x4d9eb0,_0x14cdab)));_0x4d6ef0[_0x21a3cb(0x1d8)](_0x317ce2);});};this['disposeWithMe'](_0x2c2192[_0x32758b(0x1bf)](this[_0x32758b(0x2cb)][_0x32758b(0x26a)](()=>{_0xa291fc();})));}['_toggleOnline'](){const _0x2f2d42=_0x263a40;var _0x1df232,_0x48a085;if(this[_0x2f2d42(0x1f5)]=!0x0,((_0x1df232=this[_0x2f2d42(0x2e9)][_0x2f2d42(0x1d3)]())==null?void 0x0:_0x1df232[_0x2f2d42(0x385)]())!==this[_0x2f2d42(0x1c8)])return;const _0x4438f1=(_0x48a085=this['_injector'][_0x2f2d42(0x378)](_0x40b606[_0x2f2d42(0x337)])[_0x2f2d42(0x295)]())==null?void 0x0:_0x48a085[0x0],_0x4086ca=this[_0x2f2d42(0x2e9)][_0x2f2d42(0x3a5)](_0x2c2192['UniverInstanceType'][_0x2f2d42(0x29e)])['getActiveSheet']();_0x4438f1&&_0x4086ca&&this['_updateLocalCursor'](_0x4086ca['getSheetId'](),_0x4438f1);}[_0x263a40(0x2f6)](){const _0x39ca95=_0x263a40;this[_0x39ca95(0x1f5)]=!0x1;}};_0x5cf1d7=_0x6a93cd([_0x56f970(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x56f970(0x3,_0x2c2192[_0x263a40(0x3d4)](_0x32664d)),_0x56f970(0x4,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567[_0x263a40(0x398)])),_0x56f970(0x5,_0x2c2192[_0x263a40(0x228)]),_0x56f970(0x6,_0x2c2192[_0x263a40(0x259)]),_0x56f970(0x7,_0x2c2192[_0x263a40(0x3d4)](_0x40b606['RefRangeService']))],_0x5cf1d7);var _0x4960ff=Object[_0x263a40(0x2bc)],_0x3974cb=(_0x10e569,_0x190080,_0x25b588,_0x3d9f9f)=>{const _0x11e693=_0x263a40;for(var _0x4bf1dc=_0x3d9f9f>0x1?void 0x0:_0x3d9f9f?_0x4960ff(_0x190080,_0x25b588):_0x190080,_0xe464fd=_0x10e569[_0x11e693(0x22c)]-0x1,_0x3116a2;_0xe464fd>=0x0;_0xe464fd--)(_0x3116a2=_0x10e569[_0xe464fd])&&(_0x4bf1dc=_0x3116a2(_0x4bf1dc)||_0x4bf1dc);return _0x4bf1dc;},_0x318f11=(_0x2372ac,_0x615e3a)=>(_0x44e52d,_0x6b1995)=>_0x615e3a(_0x44e52d,_0x6b1995,_0x2372ac);let _0x289b74=class extends _0x2c2192[_0x263a40(0x326)]{constructor(_0x2fe2e9,_0x5c1587,_0x421527){const _0x2fbe2d=_0x263a40;super(),_0x193c38(this,_0x2fbe2d(0x1ca),new Map()),_0x193c38(this,'_entityInit$',new _0x39a97e[(_0x2fbe2d(0x25c))]()),(this[_0x2fbe2d(0x2e9)]=_0x2fe2e9,this[_0x2fbe2d(0x1bd)]=_0x5c1587,this[_0x2fbe2d(0x27b)]=_0x421527,this['_init']());}[_0x263a40(0x3e8)](){const _0x9d5cec=_0x263a40;super[_0x9d5cec(0x3e8)](),this[_0x9d5cec(0x392)]['complete'](),this[_0x9d5cec(0x1ca)]['forEach'](_0x5161ca=>_0x5161ca[_0x9d5cec(0x3e8)]());}['getCollabCursors$'](_0x443e85){const _0x37a021=_0x263a40;return this['_entities'][_0x37a021(0x31d)](_0x443e85)?this[_0x37a021(0x1ca)][_0x37a021(0x378)](_0x443e85)['cursorInfo$']:this[_0x37a021(0x392)]['pipe'](_0x39a97e[_0x37a021(0x3a1)](_0x2a1648=>_0x2a1648[_0x37a021(0x1c8)]===_0x443e85),_0x39a97e[_0x37a021(0x2c6)](_0x1fa20d=>_0x1fa20d['cursorInfo$']));}[_0x263a40(0x3b5)](){const _0x4404c5=_0x263a40;this[_0x4404c5(0x2e9)]['getTypeOfUnitAdded$'](_0x2c2192[_0x4404c5(0x1c6)]['UNIVER_SHEET'])[_0x4404c5(0x306)](_0x39a97e[_0x4404c5(0x2f3)](this[_0x4404c5(0x313)]))[_0x4404c5(0x26a)](async _0x1130ba=>{const _0x55d9e5=_0x4404c5,_0x1de3c7=_0x1130ba[_0x55d9e5(0x385)](),_0x5472e1=await this[_0x55d9e5(0x1a1)](_0x1de3c7);this[_0x55d9e5(0x392)][_0x55d9e5(0x3db)](_0x5472e1),this[_0x55d9e5(0x1ca)][_0x55d9e5(0x2d9)](_0x1de3c7,_0x5472e1);}),this[_0x4404c5(0x2e9)][_0x4404c5(0x307)](_0x2c2192[_0x4404c5(0x1c6)][_0x4404c5(0x25b)])[_0x4404c5(0x306)](_0x39a97e['takeUntil'](this[_0x4404c5(0x313)]))[_0x4404c5(0x306)](_0x39a97e[_0x4404c5(0x3a1)](_0x4f5723=>!_0x4f5723[_0x4404c5(0x385)]()[_0x4404c5(0x424)]('__')))[_0x4404c5(0x26a)](async _0x4be15a=>{const _0x7f4f2e=_0x4404c5,_0x4ffe4d=_0x4be15a[_0x7f4f2e(0x385)](),_0x329f18=await this[_0x7f4f2e(0x383)](_0x4ffe4d);this[_0x7f4f2e(0x392)][_0x7f4f2e(0x3db)](_0x329f18),this['_entities']['set'](_0x4ffe4d,_0x329f18);}),_0x39a97e[_0x4404c5(0x409)](this[_0x4404c5(0x2e9)][_0x4404c5(0x219)](_0x2c2192[_0x4404c5(0x1c6)][_0x4404c5(0x25b)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2c2192['UniverInstanceType'][_0x4404c5(0x29e)]))[_0x4404c5(0x306)](_0x39a97e['takeUntil'](this[_0x4404c5(0x313)]))[_0x4404c5(0x26a)](_0x4f9fc6=>{const _0x4f629c=_0x4404c5,_0x175c91=_0x4f9fc6[_0x4f629c(0x385)](),_0x2bc7d4=this['_entities'][_0x4f629c(0x378)](_0x175c91);_0x2bc7d4&&(_0x2bc7d4[_0x4f629c(0x3e8)](),this[_0x4f629c(0x1ca)][_0x4f629c(0x402)](_0x175c91));});}async[_0x263a40(0x1a1)](_0xada97b){const _0xc86961=_0x263a40,_0xf540f1=await this[_0xc86961(0x27b)]['requireSession'](_0xada97b),_0x11e95b=this['_injector'][_0xc86961(0x1c4)](_0x5cf1d7,_0xada97b,_0xf540f1);return _0x11e95b[_0xc86961(0x3ff)](),_0x11e95b;}async[_0x263a40(0x383)](_0x440749){const _0x5f0042=_0x263a40,_0x306818=await this['_collabSessionService']['requireSession'](_0x440749),_0xb7396c=this[_0x5f0042(0x1bd)][_0x5f0042(0x1c4)](_0x328609,_0x440749,_0x306818);return _0xb7396c['init'](),_0xb7396c;}};_0x289b74=_0x3974cb([_0x318f11(0x0,_0x2c2192[_0x263a40(0x228)]),_0x318f11(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x318f11(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567['CollaborationSessionService']))],_0x289b74);const _0x2d0218=0x14,_0x310303=0xc8,_0x2e0e6c=0x4,_0x42b073=0x5;function _0x27c2e5(_0x2edd23,_0x193a98){const _0xd7a625=_0x263a40;let {radius:_0x5f2f86,width:_0x423e4a,height:_0x596071}=_0x193a98;_0x5f2f86=_0x5f2f86!=null?_0x5f2f86:0x0,_0x423e4a=_0x423e4a!=null?_0x423e4a:0x1e,_0x596071=_0x596071!=null?_0x596071:0x1e;let _0x425a6c=0x0,_0x121c1a=0x0,_0x5d4964=0x0;_0x425a6c=_0x121c1a=_0x5d4964=Math['min'](_0x5f2f86,_0x423e4a/0x2,_0x596071/0x2),_0x2edd23['beginPath'](),_0x2edd23['moveTo'](_0x425a6c,0x0),_0x2edd23['lineTo'](_0x423e4a-_0x121c1a,0x0),_0x2edd23[_0xd7a625(0x1d7)](_0x423e4a-_0x121c1a,_0x121c1a,_0x121c1a,Math['PI']*0x3/0x2,0x0,!0x1),_0x2edd23[_0xd7a625(0x38c)](_0x423e4a,_0x596071-_0x5d4964),_0x2edd23[_0xd7a625(0x1d7)](_0x423e4a-_0x5d4964,_0x596071-_0x5d4964,_0x5d4964,0x0,Math['PI']/0x2,!0x1),_0x2edd23[_0xd7a625(0x38c)](0x0,_0x596071),_0x2edd23[_0xd7a625(0x38c)](0x0,_0x425a6c),_0x2edd23[_0xd7a625(0x1d7)](_0x425a6c,_0x425a6c,_0x425a6c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2edd23[_0xd7a625(0x3ea)](),_0x193a98[_0xd7a625(0x208)]&&(_0x2edd23[_0xd7a625(0x2ad)](),_0x2edd23[_0xd7a625(0x39c)]=_0x193a98['fill'],_0x193a98['fillRule']==='evenodd'?_0x2edd23[_0xd7a625(0x208)](_0xd7a625(0x236)):_0x2edd23[_0xd7a625(0x208)](),_0x2edd23[_0xd7a625(0x372)]());}class _0x491ac9 extends _0xeac254['Shape']{constructor(_0x1ec276,_0x1ff8f8){const _0x37d781=_0x263a40;super(_0x1ec276,_0x1ff8f8),_0x193c38(this,'color'),_0x193c38(this,'text'),(this['color']=_0x1ff8f8==null?void 0x0:_0x1ff8f8[_0x37d781(0x2bd)],this['text']=_0x1ff8f8==null?void 0x0:_0x1ff8f8[_0x37d781(0x1c1)]);}static[_0x263a40(0x429)](_0xb033bc,_0x55ff87){const _0x16c322=_0x263a40,{text:_0x73cffa,color:_0x1fe94d}=_0x55ff87;_0xb033bc[_0x16c322(0x2ad)](),_0xb033bc['font']=_0x16c322(0x42b);const _0x228e0c=_0xb033bc[_0x16c322(0x315)](_0x73cffa)[_0x16c322(0x3c8)],_0x20cf10=Math[_0x16c322(0x3a2)](_0x228e0c+0x2*_0x2e0e6c,_0x310303);_0x27c2e5(_0xb033bc,{'height':_0x2d0218,'radius':0x4,'width':_0x20cf10,'fill':_0x1fe94d}),_0xb033bc[_0x16c322(0x39c)]=_0x16c322(0x32c);const _0x1bdbb9=_0x2e0e6c,_0x56847c=_0x2d0218-_0x42b073,_0x3335f9=_0x310303-0x2*_0x2e0e6c;if(_0x228e0c>_0x3335f9){let _0x56580a='',_0x5eded4=0x0;for(const _0x47e73b of _0x73cffa){const _0x1594ee=_0xb033bc[_0x16c322(0x315)](_0x47e73b)['width'];if(_0x5eded4+_0x1594ee<=_0x3335f9-_0xb033bc[_0x16c322(0x315)](_0x16c322(0x23c))[_0x16c322(0x3c8)])_0x56580a+=_0x47e73b,_0x5eded4+=_0x1594ee;else{_0x56580a+=_0x16c322(0x23c);break;}}_0xb033bc[_0x16c322(0x3f7)](_0x56580a,_0x1bdbb9,_0x56847c);}else _0xb033bc[_0x16c322(0x3f7)](_0x73cffa,_0x1bdbb9,_0x56847c);_0xb033bc[_0x16c322(0x372)]();}[_0x263a40(0x20f)](_0x2dd7a7){const _0x556d69=_0x263a40;_0x491ac9[_0x556d69(0x429)](_0x2dd7a7,this);}}const _0x1c4795=_0x263a40(0x1ce),_0x40ff89='collab-text-range-',_0x3e4bbc=_0x263a40(0x1ec),_0x25e6ac=0x6,_0x3da27b=1.5,_0x2a0d60=0x4,_0x3741f0=1.5,_0x1143ed=_0x263a40(0x1dc);class _0x4bd98b{constructor(_0x14d095,_0x1962d5,_0x14bf89,_0x2943fd){const _0x590a78=_0x263a40;_0x193c38(this,_0x590a78(0x349),[]),_0x193c38(this,'_anchor',null),_0x193c38(this,'_textBubble',null),_0x193c38(this,_0x590a78(0x37c),null),_0x193c38(this,_0x590a78(0x32a),null),_0x193c38(this,_0x590a78(0x3f0),null),(this[_0x590a78(0x396)]=_0x14d095,this['_scene']=_0x1962d5,this['_docSkeleton']=_0x14bf89,this[_0x590a78(0x29a)]=_0x2943fd,this[_0x590a78(0x260)]());}set[_0x263a40(0x335)](_0x15071c){const _0x4212d2=_0x263a40;_0x15071c?(this[_0x4212d2(0x37c)]&&this[_0x4212d2(0x37c)][_0x4212d2(0x421)](),this[_0x4212d2(0x314)]&&this[_0x4212d2(0x314)]['show']()):(this[_0x4212d2(0x37c)]&&this[_0x4212d2(0x37c)][_0x4212d2(0x2e8)](),this[_0x4212d2(0x314)]&&this[_0x4212d2(0x314)][_0x4212d2(0x421)]());}[_0x263a40(0x3e8)](){const _0x451144=_0x263a40;for(const _0x48ee15 of this[_0x451144(0x349)])_0x48ee15[_0x451144(0x3e8)]();this[_0x451144(0x314)]&&this['_textBubble'][_0x451144(0x3e8)](),this[_0x451144(0x37c)]&&this[_0x451144(0x37c)][_0x451144(0x3e8)](),this[_0x451144(0x20b)]&&this[_0x451144(0x20b)][_0x451144(0x3e8)](),this[_0x451144(0x3f0)]&&this[_0x451144(0x3f0)]();}[_0x263a40(0x260)](){const _0x319acd=_0x263a40;var _0x521ea4;const {_docSkeleton:_0x22d2ad,_document:_0x12390e}=this,{color:_0x359b21,name:_0x93cafb,ranges:_0xa96686}=this['_cursor'],_0x30ccee=_0x12390e[_0x319acd(0x39a)](),{docsLeft:_0x20a208,docsTop:_0xee43e3}=_0x30ccee,_0x13519b=new _0x4e1317['NodePositionConvertToCursor'](_0x30ccee,_0x22d2ad);for(const {startOffset:_0x4ccc69,endOffset:_0x1d662f,rangeType:_0x162c2e,segmentId:_0xf626a3,segmentPage:_0x3db839,collapsed:_0x22158d,isActive:_0x475b1d}of _0xa96686){const _0x369077=_0x22d2ad[_0x319acd(0x1f7)](_0x4ccc69,!0x0,_0xf626a3,_0x3db839);let _0x16d4ff=_0x22d2ad[_0x319acd(0x1f7)](_0x1d662f,!0x0,_0xf626a3,_0x3db839);if(_0x16d4ff==null&&(_0x16d4ff=_0x22d2ad[_0x319acd(0x1f7)](_0x1d662f-0x1,!0x1,_0xf626a3,_0x3db839)),_0x475b1d){const {contentBoxPointGroup:_0x7eddfd}=_0x13519b['getRangePointData'](_0x16d4ff,_0x16d4ff);if(_0x7eddfd[_0x319acd(0x22c)]===0x0)continue;this[_0x319acd(0x3cb)](_0x359b21,_0x7eddfd,_0x20a208,_0xee43e3,_0x93cafb),this[_0x319acd(0x3f0)]=this[_0x319acd(0x405)]();}if(_0x369077&&_0x16d4ff){if(_0x162c2e===_0x2c2192[_0x319acd(0x3c3)][_0x319acd(0x386)]){const _0x19241b=new _0x4e1317['NodePositionConvertToRectRange'](_0x30ccee,_0x22d2ad),{pointGroup:_0x323a28}=(_0x521ea4=_0x19241b['getRangePointData'](_0x369077,_0x16d4ff))!=null?_0x521ea4:{};if(_0x323a28==null||_0x323a28[_0x319acd(0x22c)]===0x0)continue;this['_drawRectRange'](_0x359b21,_0x323a28,_0x20a208,_0xee43e3);}else{if(!_0x22158d){const {borderBoxPointGroup:_0x2ba4fb}=_0x13519b[_0x319acd(0x27e)](_0x369077,_0x16d4ff);if(_0x2ba4fb[_0x319acd(0x22c)]===0x0)continue;this['_drawTextRange'](_0x359b21,_0x2ba4fb,_0x20a208,_0xee43e3);}}}}}[_0x263a40(0x3cb)](_0x347f3b,_0x4ebbff,_0xe91c5a,_0x2e9fa3,_0x58da3e){const _0x1aaac6=_0x263a40,_0x380e37=this[_0x1aaac6(0x1f4)](_0x4ebbff),{left:_0x57bcb8,top:_0x52c81d,height:_0x4d768f}=_0x380e37,_0x684652=this[_0x1aaac6(0x2b8)](),_0x38361f=_0x3741f0/_0x684652,_0x8a87e5=new _0xeac254['Rect'](_0x1c4795+_0x2c2192[_0x1aaac6(0x3a8)](_0x25e6ac),{'left':_0x57bcb8+_0xe91c5a-_0x38361f,'top':_0x52c81d+_0x2e9fa3,'height':_0x4d768f,'width':_0x3da27b,'fill':_0x347f3b||_0xeac254[_0x1aaac6(0x371)](_0x2c2192[_0x1aaac6(0x389)][_0x1aaac6(0x206)],0x0),'strokeWidth':_0x38361f,'stroke':_0x1143ed,'evented':!0x0});this[_0x1aaac6(0x20b)]=_0x8a87e5,this[_0x1aaac6(0x301)][_0x1aaac6(0x3bc)](_0x8a87e5,_0x4e1317[_0x1aaac6(0x28d)]);const _0x15e972=new _0xeac254[(_0x1aaac6(0x353))](_0x1c4795+_0x2c2192[_0x1aaac6(0x3a8)](_0x25e6ac),{'left':_0x57bcb8+_0xe91c5a-_0x38361f,'top':_0x52c81d+_0x2e9fa3-_0x2a0d60/0x2,'height':_0x2a0d60,'width':_0x2a0d60,'fill':_0x347f3b||_0xeac254['getColor'](_0x2c2192[_0x1aaac6(0x389)][_0x1aaac6(0x206)],0x0),'strokeWidth':0x0,'stroke':_0x347f3b||_0xeac254['getColor'](_0x2c2192[_0x1aaac6(0x389)]['black'],0x0),'evented':!0x1});this[_0x1aaac6(0x37c)]=_0x15e972,this[_0x1aaac6(0x301)][_0x1aaac6(0x3bc)](_0x15e972,_0x4e1317[_0x1aaac6(0x28d)]);const _0x12d22b=new _0x491ac9(_0x1c4795+_0x2c2192[_0x1aaac6(0x3a8)](_0x25e6ac),{'left':_0x57bcb8+_0xe91c5a-_0x38361f,'top':_0x52c81d+_0x2e9fa3-_0x2d0218,'text':_0x58da3e,'color':_0x347f3b});this[_0x1aaac6(0x314)]=_0x12d22b,this['_scene'][_0x1aaac6(0x3bc)](_0x12d22b,_0x4e1317['TEXT_RANGE_LAYER_INDEX']),this[_0x1aaac6(0x335)]=!0x1;}['_handleHover'](){const _0x168188=_0x263a40,_0x159905=this['_anchor'][_0x168188(0x226)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x53478e=this[_0x168188(0x20b)][_0x168188(0x1a0)][_0x168188(0x34a)](()=>{const _0x350b10=_0x168188;this[_0x350b10(0x32a)]&&clearTimeout(this[_0x350b10(0x32a)]),this[_0x350b10(0x32a)]=setTimeout(()=>{const _0xf1e203=_0x350b10;this[_0xf1e203(0x335)]=!0x1;},0x7d0);});return()=>{_0x159905['unsubscribe'](),_0x53478e['unsubscribe']();};}[_0x263a40(0x276)](_0x517ee7,_0x4075af,_0x3c0df9,_0x351343){const _0x5085ff=_0x263a40,_0xc6321c=new _0x2c2192['ColorKit'](_0x517ee7)[_0x5085ff(0x3dc)](0.2)[_0x5085ff(0x34e)](),_0x44aa9c=new _0xeac254[(_0x5085ff(0x280))](_0x40ff89+_0x2c2192[_0x5085ff(0x3a8)](_0x25e6ac),{'pointsGroup':_0x4075af,'fill':_0xc6321c||_0xeac254[_0x5085ff(0x371)](_0x2c2192[_0x5085ff(0x389)][_0x5085ff(0x206)],0.2),'left':_0x3c0df9,'top':_0x351343,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5085ff(0x349)][_0x5085ff(0x367)](_0x44aa9c),this[_0x5085ff(0x301)]['addObject'](_0x44aa9c,_0x4e1317[_0x5085ff(0x28d)]);}[_0x263a40(0x1bc)](_0x287c70,_0x15e500,_0x1df1c7,_0x818680){const _0x5f20ef=_0x263a40,_0x29d485=new _0x2c2192[(_0x5f20ef(0x3ca))](_0x287c70)[_0x5f20ef(0x3dc)](0.2)[_0x5f20ef(0x34e)](),_0x496ab5=new _0xeac254['RegularPolygon'](_0x3e4bbc+_0x2c2192[_0x5f20ef(0x3a8)](_0x25e6ac),{'pointsGroup':_0x15e500,'fill':_0x29d485||_0xeac254[_0x5f20ef(0x371)](_0x2c2192[_0x5f20ef(0x389)][_0x5f20ef(0x206)],0.2),'left':_0x1df1c7,'top':_0x818680,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5f20ef(0x349)]['push'](_0x496ab5),this[_0x5f20ef(0x301)][_0x5f20ef(0x3bc)](_0x496ab5,_0x4e1317['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x1bcceb){const _0x43a1bd=_0x1bcceb[0x0],_0x3b8d8e=_0x43a1bd[0x0],_0x59678a=_0x43a1bd[0x2],{x:_0x2839c1,y:_0x43c114}=_0x3b8d8e,{x:_0x558a62,y:_0x243cc9}=_0x59678a;return{'left':_0x2839c1,'top':_0x43c114,'width':_0x558a62-_0x2839c1,'height':_0x243cc9-_0x43c114};}[_0x263a40(0x2b8)](){const _0x12f013=_0x263a40,{scaleX:_0x3c40eb,scaleY:_0x397451}=this[_0x12f013(0x301)][_0x12f013(0x3bb)]();return Math['max'](_0x3c40eb,_0x397451);}}var _0x266843=Object[_0x263a40(0x2bc)],_0x3408be=(_0x1f7bd3,_0x319df4,_0x2c0b90,_0x1d6a23)=>{const _0x7703e6=_0x263a40;for(var _0x2d54a2=_0x1d6a23>0x1?void 0x0:_0x1d6a23?_0x266843(_0x319df4,_0x2c0b90):_0x319df4,_0x35910e=_0x1f7bd3[_0x7703e6(0x22c)]-0x1,_0x881d99;_0x35910e>=0x0;_0x35910e--)(_0x881d99=_0x1f7bd3[_0x35910e])&&(_0x2d54a2=_0x881d99(_0x2d54a2)||_0x2d54a2);return _0x2d54a2;},_0x48cb85=(_0x4df8eb,_0x550dd5)=>(_0x3816f6,_0x4af5ac)=>_0x550dd5(_0x3816f6,_0x4af5ac,_0x4df8eb);let _0x19f8bd=class extends _0x2c2192[_0x263a40(0x326)]{constructor(_0x408e45,_0x2670af,_0x56f682,_0x535e65,_0x530665){const _0x31aad1=_0x263a40;super(),_0x193c38(this,'_cursorShapes',[]),_0x193c38(this,_0x31aad1(0x22f),[]),(this[_0x31aad1(0x3e0)]=_0x408e45,this[_0x31aad1(0x22b)]=_0x2670af,this['_collabCursorController']=_0x56f682,this['_commandService']=_0x535e65,this['_themeService']=_0x530665,this[_0x31aad1(0x3b5)]());}[_0x263a40(0x3b5)](){const _0x3fea46=_0x263a40,_0xbf9ecf=this[_0x3fea46(0x3e0)][_0x3fea46(0x1a7)],_0x31ecf8=this['_docSkeletonManagerService'];this[_0x3fea46(0x1af)](_0x39a97e[_0x3fea46(0x33d)]([this[_0x3fea46(0x2fb)]['getCollabCursors$'](_0xbf9ecf),this[_0x3fea46(0x2a9)]['currentTheme$']])['pipe'](_0x5e9058['map'](([_0x5492e1,_0x366857])=>({'skeleton':_0x31ecf8[_0x3fea46(0x269)](),'cursors':[..._0x5492e1[_0x3fea46(0x38b)]()][_0x3fea46(0x24b)](_0x31cf4f=>({..._0x31cf4f,'color':this[_0x3fea46(0x2a9)][_0x3fea46(0x3f2)](_0x31cf4f[_0x3fea46(0x2bd)])}))})))[_0x3fea46(0x26a)](_0x5b6b3c=>{const _0x4efd31=_0x3fea46;if(this[_0x4efd31(0x33e)](),_0x5b6b3c){const {skeleton:_0x575072,cursors:_0x680bbe}=_0x5b6b3c;this[_0x4efd31(0x256)](_0x575072,_0x680bbe);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x263a40(0x256)](_0x22c685,_0x1079ba){const _0x134b41=_0x263a40,{scene:_0x44d331,mainComponent:_0x5dd774}=this[_0x134b41(0x3e0)],_0x9e3d5b=_0x1079ba[_0x134b41(0x201)](_0x3c74c1=>new _0x4bd98b(_0x3c74c1,_0x44d331,_0x22c685,_0x5dd774));this[_0x134b41(0x25f)]=_0x9e3d5b,this['_cursors']=_0x1079ba;}[_0x263a40(0x358)](){const _0xde6b6=_0x263a40;this[_0xde6b6(0x33e)]();const {scene:_0x2892cb,mainComponent:_0x3ed4ce}=this['_context'],_0x4c43f4=this[_0xde6b6(0x22b)][_0xde6b6(0x269)](),_0x2353b8=this['_cursors'][_0xde6b6(0x201)](_0x57a3cc=>new _0x4bd98b(_0x57a3cc,_0x2892cb,_0x4c43f4,_0x3ed4ce));this[_0xde6b6(0x25f)]=_0x2353b8;}[_0x263a40(0x33e)](){const _0x674feb=_0x263a40;this[_0x674feb(0x25f)][_0x674feb(0x34f)](_0x9bf403=>_0x9bf403['dispose']()),this[_0x674feb(0x25f)]=[];}[_0x263a40(0x3f1)](){const _0x5410b7=_0x263a40,_0x32b382=[_0x4e1317[_0x5410b7(0x19d)]['id']];this[_0x5410b7(0x1af)](this[_0x5410b7(0x361)][_0x5410b7(0x249)](_0x2562af=>{const _0x285dcf=_0x5410b7;_0x32b382[_0x285dcf(0x3ad)](_0x2562af['id'])&&_0x2562af[_0x285dcf(0x439)]['unitId']===this[_0x285dcf(0x3e0)][_0x285dcf(0x1a7)]&&this[_0x285dcf(0x358)]();}));}[_0x263a40(0x1b9)](){const _0x4107e4=_0x263a40;this[_0x4107e4(0x1af)](_0x2c2192['fromEventSubject'](this['_context'][_0x4107e4(0x1f8)][_0x4107e4(0x31b)])[_0x4107e4(0x306)](_0x5e9058[_0x4107e4(0x3a1)](_0x457df6=>_0x457df6[_0x4107e4(0x41a)]===_0xeac254['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x4107e4(0x3b3)]),_0x5e9058[_0x4107e4(0x416)](0x10))[_0x4107e4(0x26a)](()=>{this['_refreshCollabCursors']();}));}};_0x19f8bd=_0x3408be([_0x48cb85(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x28f6a3['DocSkeletonManagerService'])),_0x48cb85(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x289b74)),_0x48cb85(0x3,_0x2c2192[_0x263a40(0x259)]),_0x48cb85(0x4,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x3eb)]))],_0x19f8bd);const _0x1f0748=0x1,_0x30708d=1.5;class _0x9e04ec extends _0xeac254[_0x263a40(0x283)]{constructor(_0x3cee51,_0x25a8e9){const _0x36202a=_0x263a40;super(_0x3cee51,_0x25a8e9),_0x193c38(this,_0x36202a(0x2c5)),_0x193c38(this,'_hovered',!0x1),_0x193c38(this,'_range'),_0x193c38(this,_0x36202a(0x2e0),''),_0x193c38(this,_0x36202a(0x29f),_0x36202a(0x1d4)),_0x193c38(this,'_backgroundColor'),(_0x25a8e9&&this['setShapeProps'](_0x25a8e9),this['onPointerEnter$'][_0x36202a(0x34a)](()=>this[_0x36202a(0x3b8)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x36202a(0x3b8)]({'hovered':!0x1})));}[_0x263a40(0x3b8)](_0x31e1c9){const _0x398dfa=_0x263a40;var _0x28f72b,_0x57e0af,_0x3e39d6,_0x56a60f,_0x2268b9,_0x238a83;this[_0x398dfa(0x2c5)]=(_0x28f72b=_0x31e1c9[_0x398dfa(0x2bd)])!=null?_0x28f72b:this[_0x398dfa(0x2c5)],this[_0x398dfa(0x24c)]=(_0x57e0af=_0x31e1c9[_0x398dfa(0x21d)])!=null?_0x57e0af:this[_0x398dfa(0x24c)],this[_0x398dfa(0x2ae)]=(_0x3e39d6=_0x31e1c9[_0x398dfa(0x2a3)])!=null?_0x3e39d6:this['_range'],this[_0x398dfa(0x2e0)]=(_0x56a60f=_0x31e1c9[_0x398dfa(0x3d8)])!=null?_0x56a60f:this['_name'],this[_0x398dfa(0x29f)]=(_0x2268b9=_0x31e1c9[_0x398dfa(0x1b7)])!=null?_0x2268b9:this[_0x398dfa(0x29f)],this[_0x398dfa(0x32f)]=(_0x238a83=_0x31e1c9['backgroundColor'])!=null?_0x238a83:this[_0x398dfa(0x32f)],this[_0x398dfa(0x393)]({'width':_0x31e1c9[_0x398dfa(0x3c8)],'height':_0x31e1c9[_0x398dfa(0x1ee)]});}[_0x263a40(0x239)](_0x21a3ed){const _0x5232cf=_0x263a40,{row:_0x3510f8,column:_0x35fb8a}=_0x21a3ed;if(_0x3510f8>=this['_range']['startRow']&&_0x3510f8<=this[_0x5232cf(0x2ae)][_0x5232cf(0x31f)]&&_0x35fb8a>=this[_0x5232cf(0x2ae)][_0x5232cf(0x3a7)]&&_0x35fb8a<=this[_0x5232cf(0x2ae)][_0x5232cf(0x3b4)]){this[_0x5232cf(0x3b8)]({'hovered':!0x0});return;}this[_0x5232cf(0x3b8)]({'hovered':!0x1});}[_0x263a40(0x1d0)](_0x45ed8c){return!0x1;}[_0x263a40(0x20f)](_0xd5b6eb){const _0x224f51=_0x263a40;_0xeac254[_0x224f51(0x353)][_0x224f51(0x429)](_0xd5b6eb,{'width':this[_0x224f51(0x3c8)],'height':this[_0x224f51(0x1ee)],'strokeWidth':_0x30708d,'stroke':this[_0x224f51(0x2c5)],'evented':!0x1,'fill':this[_0x224f51(0x32f)]}),this[_0x224f51(0x24c)]&&(_0xd5b6eb['save'](),_0xd5b6eb['transform'](0x1,0x0,0x0,0x1,this[_0x224f51(0x3c8)],this['_labelPosition']==='bottom'?0x0:-_0x2d0218),_0x491ac9[_0x224f51(0x429)](_0xd5b6eb,{'text':this[_0x224f51(0x2e0)],'color':this[_0x224f51(0x2c5)]}),_0xd5b6eb[_0x224f51(0x372)]());}}var _0x3b39d5=Object['getOwnPropertyDescriptor'],_0x21c05c=(_0x2d6e23,_0x129b9f,_0x39b08e,_0x492031)=>{for(var _0x31fdaa=_0x492031>0x1?void 0x0:_0x492031?_0x3b39d5(_0x129b9f,_0x39b08e):_0x129b9f,_0x178ca4=_0x2d6e23['length']-0x1,_0x2121b5;_0x178ca4>=0x0;_0x178ca4--)(_0x2121b5=_0x2d6e23[_0x178ca4])&&(_0x31fdaa=_0x2121b5(_0x31fdaa)||_0x31fdaa);return _0x31fdaa;},_0xd327dc=(_0x5033fa,_0x213bd4)=>(_0x4ea4f1,_0x57c32c)=>_0x213bd4(_0x4ea4f1,_0x57c32c,_0x5033fa);const _0x2d56f0=0x1389;let _0x429464=class extends _0x2c2192[_0x263a40(0x326)]{constructor(_0x90a923,_0x33b0dc,_0x6eafe8,_0x3520fc){const _0xf28860=_0x263a40;super(),_0x193c38(this,_0xf28860(0x22f),new Set()),_0x193c38(this,_0xf28860(0x212),null),(this[_0xf28860(0x3e0)]=_0x90a923,this[_0xf28860(0x266)]=_0x33b0dc,this['_collabCursorController']=_0x6eafe8,this[_0xf28860(0x2a9)]=_0x3520fc,this['_init']());}[_0x263a40(0x3b5)](){const _0x209629=_0x263a40;this[_0x209629(0x266)][_0x209629(0x1b4)][_0x209629(0x306)](_0x5e9058[_0x209629(0x2f3)](this[_0x209629(0x313)]),_0x5e9058['switchMap'](_0x446e72=>{const _0x1cc569=_0x209629;if(_0x446e72){const _0x15eead=_0x446e72[_0x1cc569(0x380)];return _0x39a97e[_0x1cc569(0x33d)](this[_0x1cc569(0x2fb)][_0x1cc569(0x433)](this['_context'][_0x1cc569(0x1a7)]),this[_0x1cc569(0x2a9)][_0x1cc569(0x2b1)])['pipe'](_0x5e9058['map'](([_0xfaf032,_0x1986ef])=>{const _0x155dfd=_0x1cc569,_0x2e0797=new Map();return _0xfaf032[_0x155dfd(0x34f)]((_0x32d6f0,_0x50763f)=>{const _0x1ae07f=_0x155dfd;if(_0x32d6f0[_0x1ae07f(0x394)]===_0x15eead){const _0x4af0c5={..._0x32d6f0};_0x4af0c5[_0x1ae07f(0x2bd)]=this['_themeService'][_0x1ae07f(0x3f2)](_0x32d6f0[_0x1ae07f(0x2bd)]),_0x2e0797[_0x1ae07f(0x2d9)](_0x50763f,_0x4af0c5);}}),{'skeleton':_0x446e72,'cursors':_0x2e0797};}));}return _0x39a97e['of']({'skeleton':null,'cursors':new Map()});}))[_0x209629(0x26a)](({skeleton:_0x286400,cursors:_0x367202})=>{const _0x2d0b98=_0x209629;this[_0x2d0b98(0x33e)](),_0x286400&&this['_updateCollabCursors'](_0x286400,_0x367202);}),this[_0x209629(0x266)][_0x209629(0x1b4)][_0x209629(0x26a)](_0x4d7b14=>{const _0x5505e8=_0x209629;if(_0x4d7b14==null)return;const {skeleton:_0x2f7f91}=_0x4d7b14,{scene:_0x212eec}=this[_0x5505e8(0x3e0)];_0x212eec['onPointerMove$'][_0x5505e8(0x34a)](_0x2c2192['debounce'](_0x53d175=>{const _0x50902e=_0x5505e8;var _0x710b07,_0xf18eee;const {offsetX:_0x5e8f17,offsetY:_0xbb76b3}=_0x53d175,{x:_0x463694,y:_0x62c89a}=_0x212eec['getRelativeToViewportCoord'](_0xeac254[_0x50902e(0x2a4)]['FromArray']([_0x5e8f17,_0xbb76b3])),{scaleX:_0x47de78,scaleY:_0x4e1d1b}=_0x212eec[_0x50902e(0x3bb)](),_0x374752=_0x212eec['getViewport'](_0xeac254[_0x50902e(0x2f4)][_0x50902e(0x3c1)]),_0x23b367=_0x212eec[_0x50902e(0x37e)](_0xeac254[_0x50902e(0x2a4)][_0x50902e(0x2bb)]([_0x463694,_0x62c89a]),_0x374752),_0x2ead64=_0x2f7f91[_0x50902e(0x2be)](_0x5e8f17,_0xbb76b3,_0x47de78,_0x4e1d1b,_0x23b367);((_0x710b07=this['_lastPointer'])==null?void 0x0:_0x710b07['column'])===_0x2ead64[_0x50902e(0x290)]&&((_0xf18eee=this[_0x50902e(0x212)])==null?void 0x0:_0xf18eee[_0x50902e(0x26b)])===_0x2ead64[_0x50902e(0x26b)]||this['_cursors'][_0x50902e(0x34f)](_0x3b3ff2=>{const _0x47a675=_0x50902e;_0x3b3ff2[_0x47a675(0x239)](_0x2ead64);});},0x64));});}['_updateCollabCursors'](_0x4f6455,_0xd42bf4){const _0x4df0d3=_0x263a40;var _0xaf102;const _0x3e7eeb=(_0xaf102=this[_0x4df0d3(0x266)]['getCurrent']())==null?void 0x0:_0xaf102[_0x4df0d3(0x3e1)];if(!_0x3e7eeb)return;const _0x439156=this[_0x4df0d3(0x2a8)]();if(!_0x439156)return;this[_0x4df0d3(0x22f)]['forEach'](_0x1bbf20=>{_0x1bbf20['makeDirty']();});const {scene:_0x4356c8}=_0x439156,_0x33d233=_0x4a3363(Array[_0x4df0d3(0x1ab)](_0xd42bf4[_0x4df0d3(0x38b)]()))[_0x4df0d3(0x201)](_0x2bd7bb=>{const _0x77cd70=_0x4df0d3,{color:_0x50475d,range:_0x2718ee,name:_0x1bb2de,selection:_0x5029a7,sheetID:_0x4748c7}=_0x2bd7bb,{startColumn:_0x5bf234,startRow:_0x3a36f5,endColumn:_0x388ea6,endRow:_0xb3614a}=_0x2718ee,_0x39ff55=_0x5b36e4['getCoordByCell'](_0x3a36f5,_0x5bf234,_0x4356c8,_0x3e7eeb),_0x56cfdf=_0x5b36e4[_0x77cd70(0x1b3)](_0xb3614a,_0x388ea6,_0x4356c8,_0x3e7eeb),{columnHeaderHeightAndMarginTop:_0x24780d}=_0x3e7eeb,{startX:_0x450f5a,startY:_0x551ff3}=_0x39ff55,{endX:_0x2448c3,endY:_0x1f2b11}=_0x56cfdf,_0xcecb76=_0x2448c3-_0x450f5a,_0x5a49b2=_0x1f2b11-_0x551ff3,_0x1093b2={'labelPosition':_0x551ff3-_0x24780d>=_0x2d0218?'top':_0x77cd70(0x20a),'sheetID':_0x4748c7,'range':_0x2718ee,'color':_0x50475d,'name':_0x1bb2de,'selection':_0x5029a7,'left':_0x450f5a,'top':_0x551ff3,'width':_0xcecb76,'height':_0x5a49b2,'evented':!0x1,'zIndex':_0x2d56f0};return new _0x9e04ec(_0x1bb2de,_0x1093b2);});_0x4356c8['addObjects'](_0x33d233,_0x1f0748),this[_0x4df0d3(0x22f)]=new Set(_0x33d233);}[_0x263a40(0x33e)](){const _0x3f2bbd=_0x263a40;var _0xdbd9d0;(_0xdbd9d0=this[_0x3f2bbd(0x22f)])==null||_0xdbd9d0['forEach'](_0x1f3d39=>_0x1f3d39[_0x3f2bbd(0x3e8)]());}[_0x263a40(0x2a8)](){const _0x55d705=_0x263a40;return _0x5b36e4['getSheetObject'](this[_0x55d705(0x3e0)][_0x55d705(0x1c9)],this[_0x55d705(0x3e0)]);}};_0x429464=_0x21c05c([_0xd327dc(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x5b36e4[_0x263a40(0x25d)])),_0xd327dc(0x2,_0x2c2192['Inject'](_0x289b74)),_0xd327dc(0x3,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x3eb)]))],_0x429464);function _0x4a3363(_0x3a6235){const _0xed1eb4=_0x263a40,_0x458bee=new Map();return _0x3a6235[_0xed1eb4(0x34f)](_0x447197=>{const _0x8d98f5=_0xed1eb4;if(_0x458bee['has'](_0x447197[_0x8d98f5(0x2cd)])){const _0x1178eb=_0x458bee[_0x8d98f5(0x378)](_0x447197['selection']);_0x1178eb[_0x8d98f5(0x3d8)]+=',\x20'+_0x447197['name'];}else _0x458bee[_0x8d98f5(0x2d9)](_0x447197[_0x8d98f5(0x2cd)],_0x447197);}),Array['from'](_0x458bee[_0xed1eb4(0x38b)]());}var _0x4432d5=Object[_0x263a40(0x2bc)],_0x2f8c9b=(_0x4d9a5f,_0xd16ea3,_0x1630a2,_0x1e0ea0)=>{const _0x58c213=_0x263a40;for(var _0x1d3437=_0x1e0ea0>0x1?void 0x0:_0x1e0ea0?_0x4432d5(_0xd16ea3,_0x1630a2):_0xd16ea3,_0x5e4b59=_0x4d9a5f[_0x58c213(0x22c)]-0x1,_0x40a3fe;_0x5e4b59>=0x0;_0x5e4b59--)(_0x40a3fe=_0x4d9a5f[_0x5e4b59])&&(_0x1d3437=_0x40a3fe(_0x1d3437)||_0x1d3437);return _0x1d3437;},_0x313f8d=(_0x3616a9,_0x4df7e7)=>(_0x5c7775,_0x709da)=>_0x4df7e7(_0x5c7775,_0x709da,_0x3616a9);let _0x753b4=class extends _0x2c2192[_0x263a40(0x2e1)]{constructor(_0x49b810,_0xbce0be,_0x3f2239,_0x20901e,_0xd16b67,_0x30dd08){const _0x23804d=_0x263a40;super(),this[_0x23804d(0x350)]=_0x49b810,this[_0x23804d(0x264)]=_0xbce0be,this['_collaborationUIEventService']=_0x3f2239,this[_0x23804d(0x37b)]=_0x20901e,this[_0x23804d(0x42d)]=_0xd16b67,this['_localeService']=_0x30dd08,this[_0x23804d(0x265)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x1d7f20=_0x263a40;this[_0x1d7f20(0x1af)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x32caaa=_0x1d7f20;if(this[_0x32caaa(0x264)]['saveTaskMap'][_0x32caaa(0x1e5)])return this[_0x32caaa(0x42f)]['t'](_0x32caaa(0x364));}));}['_initEvent'](){const _0x24a782=_0x263a40;this[_0x24a782(0x1af)](this[_0x24a782(0x379)]['event$'][_0x24a782(0x26a)](_0x47aeaf=>{const _0x57b7d9=_0x24a782;_0x47aeaf['id']===_0x3b3567[_0x57b7d9(0x320)][_0x57b7d9(0x41d)]&&this['_messageService'][_0x57b7d9(0x2e8)]({'type':_0x4f24da['MessageType'][_0x57b7d9(0x227)],'content':this[_0x57b7d9(0x42f)]['t']('collaboration.single-unit.warning')}),_0x47aeaf['id']===_0x3b3567['CollaborationUIEventId'][_0x57b7d9(0x300)]&&this[_0x57b7d9(0x37b)]['show']({'type':_0x4f24da[_0x57b7d9(0x3bd)][_0x57b7d9(0x227)],'content':this[_0x57b7d9(0x42f)]['t']('collaboration.closeRoom')}),_0x47aeaf['id']===_0x3b3567[_0x57b7d9(0x320)]['PERMISSION_DENIED']&&this[_0x57b7d9(0x42d)]['show']({'title':this[_0x57b7d9(0x42f)]['t']('permission.title'),'content':this[_0x57b7d9(0x42f)]['t'](_0x57b7d9(0x35a)),'type':'error','duration':0x0}),_0x47aeaf['id']===_0x3b3567[_0x57b7d9(0x320)][_0x57b7d9(0x1de)]&&this[_0x57b7d9(0x37b)]['show']({'type':_0x4f24da['MessageType'][_0x57b7d9(0x1cf)],'content':this[_0x57b7d9(0x42f)]['t'](_0x57b7d9(0x272))+'('+_0x47aeaf[_0x57b7d9(0x1bb)]+')'}),_0x47aeaf['id']===_0x3b3567[_0x57b7d9(0x320)]['JOIN_ROOM_FAILED']&&this[_0x57b7d9(0x37b)]['show']({'type':_0x4f24da[_0x57b7d9(0x3bd)]['Warning'],'content':this['_localeService']['t'](_0x47aeaf[_0x57b7d9(0x1bb)]||'')}),_0x47aeaf['id']===_0x3b3567['CollaborationUIEventId'][_0x57b7d9(0x2f9)]&&this['_messageService'][_0x57b7d9(0x2e8)]({'type':_0x4f24da['MessageType'][_0x57b7d9(0x227)],'content':this['_localeService']['t'](_0x57b7d9(0x36c))}),_0x47aeaf['id']===_0x3b3567[_0x57b7d9(0x320)][_0x57b7d9(0x3f5)]&&this['_messageService'][_0x57b7d9(0x2e8)]({'type':_0x4f24da['MessageType'][_0x57b7d9(0x1cf)],'content':this[_0x57b7d9(0x42f)]['t'](_0x57b7d9(0x31c))}),_0x47aeaf['id']===_0x3b3567['CollaborationUIEventId'][_0x57b7d9(0x3a9)]&&this[_0x57b7d9(0x37b)][_0x57b7d9(0x2e8)]({'type':_0x4f24da[_0x57b7d9(0x3bd)][_0x57b7d9(0x1cf)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x753b4=_0x2f8c9b([_0x313f8d(0x0,_0x214f56[_0x263a40(0x238)]),_0x313f8d(0x1,_0x3b3567[_0x263a40(0x1dd)]),_0x313f8d(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567[_0x263a40(0x1ea)])),_0x313f8d(0x3,_0x214f56[_0x263a40(0x1b0)]),_0x313f8d(0x4,_0x214f56[_0x263a40(0x237)]),_0x313f8d(0x5,_0x2c2192['Inject'](_0x2c2192[_0x263a40(0x325)]))],_0x753b4);const _0x5b003e=_0x263a40(0x251),_0x4467d8={};var _0x3aedf5=Object[_0x263a40(0x2bc)],_0x1900aa=(_0x469319,_0x520a51,_0x330c7e,_0x27b6cf)=>{const _0x40d2df=_0x263a40;for(var _0x437037=_0x27b6cf>0x1?void 0x0:_0x27b6cf?_0x3aedf5(_0x520a51,_0x330c7e):_0x520a51,_0x255fb2=_0x469319[_0x40d2df(0x22c)]-0x1,_0x448eb8;_0x255fb2>=0x0;_0x255fb2--)(_0x448eb8=_0x469319[_0x255fb2])&&(_0x437037=_0x448eb8(_0x437037)||_0x437037);return _0x437037;},_0x5242bd=(_0x1dad5d,_0x376f0f)=>(_0x486191,_0x48c033)=>_0x376f0f(_0x486191,_0x48c033,_0x1dad5d);let _0x48d330=class{constructor(_0x45ceaa,_0x36728f){this['_transformService']=_0x45ceaa,this['_renderManagerService']=_0x36728f;}[_0x263a40(0x258)](_0x23fedd){const _0x2dd599=_0x263a40;this[_0x2dd599(0x336)](_0x23fedd),this[_0x2dd599(0x3ef)](_0x23fedd);}[_0x263a40(0x241)](_0x3ec7ae){const _0x276c44=_0x263a40,{unitID:_0x1efcdc}=_0x3ec7ae,_0x28073e=this['_renderManagerService'][_0x276c44(0x41c)](_0x1efcdc)[_0x276c44(0x19b)](_0x4e1317[_0x276c44(0x28f)]),{redoCache:_0x587772}=_0x28073e[_0x276c44(0x1aa)]();if(_0x587772['length']===0x0)return _0x3ec7ae;let _0x296024=_0x2c2192[_0x276c44(0x3cf)]['deepClone'](_0x3ec7ae['mutations'][0x0]);for(let _0x5124d5=0x0;_0x5124d5<_0x587772['length'];_0x5124d5++){const _0x49ff1e={'id':_0x276c44(0x323),'params':{..._0x587772[_0x5124d5]}},_0x348c23=this[_0x276c44(0x42c)][_0x276c44(0x39e)](_0x296024,_0x49ff1e,!0x1);if(_0x542b31[_0x276c44(0x39f)](_0x348c23))throw _0x348c23[_0x276c44(0x423)];_0x296024=_0x348c23[_0x276c44(0x1ba)];}return{..._0x2c2192['Tools'][_0x276c44(0x3d6)](_0x3ec7ae),'mutations':[_0x296024]};}[_0x263a40(0x336)](_0x2d0332){const _0x26f42f=_0x263a40,{unitID:_0x4c8106}=_0x2d0332,_0x1e8577=this['_renderManagerService'][_0x26f42f(0x41c)](_0x4c8106)[_0x26f42f(0x19b)](_0x4e1317['DocIMEInputManagerService']),{undoCache:_0x5829e5,redoCache:_0x136c9d}=_0x1e8577[_0x26f42f(0x1aa)]();if(_0x5829e5['length']===0x0||_0x136c9d[_0x26f42f(0x22c)]===0x0)return;const _0x175cbf=[],_0x42f2f3=[];let _0x2aa9d1=_0x2c2192['Tools'][_0x26f42f(0x3d6)](_0x2d0332[_0x26f42f(0x22e)][0x0]),_0x3ff58c=_0x2c2192[_0x26f42f(0x3cf)]['deepClone'](_0x2d0332['mutations'][0x0]);for(let _0xe2e7e2=_0x5829e5['length']-0x1;_0xe2e7e2>=0x0;_0xe2e7e2--){const _0x58f1b0={'id':_0x26f42f(0x323),'params':{..._0x5829e5[_0xe2e7e2]}},_0x3d6105={'id':_0x26f42f(0x323),'params':{..._0x136c9d[_0xe2e7e2]}},_0x4167e9=this[_0x26f42f(0x42c)]['transformMutation'](_0x2aa9d1,_0x58f1b0,!0x1),_0x183893=this['_transformService'][_0x26f42f(0x39e)](_0x3ff58c,_0x3d6105,!0x1);if(_0x542b31[_0x26f42f(0x39f)](_0x4167e9))throw _0x4167e9['error'];if(_0x542b31['isTransformMutationFailure'](_0x183893))throw _0x183893[_0x26f42f(0x423)];_0x175cbf[_0x26f42f(0x373)](_0x4167e9[_0x26f42f(0x26f)]['params']),_0x42f2f3[_0x26f42f(0x373)](_0x183893[_0x26f42f(0x26f)][_0x26f42f(0x439)]),_0x2aa9d1=_0x4167e9[_0x26f42f(0x1ba)],_0x3ff58c=_0x183893[_0x26f42f(0x1ba)];}_0x1e8577[_0x26f42f(0x417)]({'undoCache':_0x175cbf,'redoCache':_0x42f2f3});}[_0x263a40(0x3ef)](_0x19ec4a){const _0x1760ba=_0x263a40,{unitID:_0x113acc}=_0x19ec4a,_0x46d412=this[_0x1760ba(0x3b2)][_0x1760ba(0x41c)](_0x113acc)[_0x1760ba(0x19b)](_0x4e1317['DocIMEInputManagerService']),_0x492b98=_0x46d412[_0x1760ba(0x216)]();if(_0x492b98==null)return;const _0x56a872=[{'id':_0x1760ba(0x323),'params':{'unitId':_0x19ec4a[_0x1760ba(0x1c8)],'actions':null,'textRanges':[_0x492b98]}}],_0x3f5737=this[_0x1760ba(0x42c)][_0x1760ba(0x401)](_0x19ec4a,_0x56a872);if(!_0x542b31['isTransformMutationsWithChangesetSuccess'](_0x3f5737))throw _0x3f5737[_0x1760ba(0x423)];const _0x5e3da9=_0x3f5737['m2Prime'][0x0][_0x1760ba(0x439)]['textRanges'];Array[_0x1760ba(0x2ca)](_0x5e3da9)&&_0x5e3da9[_0x1760ba(0x22c)]&&_0x46d412['setActiveRange'](_0x5e3da9[0x0]);}};_0x48d330=_0x1900aa([_0x5242bd(0x0,_0x542b31[_0x263a40(0x1e1)]),_0x5242bd(0x1,_0xeac254[_0x263a40(0x36d)])],_0x48d330);var _0x2001c6=Object[_0x263a40(0x2bc)],_0x278bfc=(_0x3bb895,_0x405aa4,_0x325761,_0x6875a8)=>{const _0xbc2cd4=_0x263a40;for(var _0x54cf74=_0x6875a8>0x1?void 0x0:_0x6875a8?_0x2001c6(_0x405aa4,_0x325761):_0x405aa4,_0x5c0a65=_0x3bb895[_0xbc2cd4(0x22c)]-0x1,_0x43a33b;_0x5c0a65>=0x0;_0x5c0a65--)(_0x43a33b=_0x3bb895[_0x5c0a65])&&(_0x54cf74=_0x43a33b(_0x54cf74)||_0x54cf74);return _0x54cf74;},_0x5418ed=(_0x30201b,_0x829695)=>(_0x4c0832,_0x4b900a)=>_0x829695(_0x4c0832,_0x4b900a,_0x30201b);let _0x2ea084=class{constructor(_0x273396,_0x483056,_0x1a8b33){const _0xd4b4c8=_0x263a40;this[_0xd4b4c8(0x1bd)]=_0x273396,this[_0xd4b4c8(0x42c)]=_0x483056,this[_0xd4b4c8(0x29d)]=_0x1a8b33;}[_0x263a40(0x2df)](_0x3101c8){const _0x23d3c6=_0x263a40;this[_0x23d3c6(0x1ff)](_0x3101c8);}[_0x263a40(0x241)](_0x133af5){const _0x49357e=_0x263a40,{unitID:_0x2847e7}=_0x133af5,{collaboration:_0x3ca8ab}=this[_0x49357e(0x29d)]['getStateCache'](_0x2847e7);if(_0x3ca8ab[_0x49357e(0x22c)]===0x0)return _0x133af5;let _0x2a92e2=_0x2c2192['Tools'][_0x49357e(0x3d6)](_0x133af5[_0x49357e(0x22e)][0x0]);for(let _0x651a34=0x0;_0x651a34<_0x3ca8ab[_0x49357e(0x22c)];_0x651a34++){const _0x38264a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3ca8ab[_0x651a34][_0x49357e(0x1a7)],..._0x3ca8ab[_0x651a34][_0x49357e(0x204)]}},_0x3571a2=this[_0x49357e(0x42c)]['transformMutation'](_0x2a92e2,_0x38264a,!0x1);if(_0x542b31[_0x49357e(0x39f)](_0x3571a2))throw _0x3571a2[_0x49357e(0x423)];_0x2a92e2=_0x3571a2[_0x49357e(0x1ba)];}return{..._0x2c2192[_0x49357e(0x3cf)][_0x49357e(0x3d6)](_0x133af5),'mutations':[_0x2a92e2]};}[_0x263a40(0x1ff)](_0x4388f1){const _0x803d44=_0x263a40,{unitID:_0xc2a729}=_0x4388f1,{history:_0x48819e,collaboration:_0x307baf}=this[_0x803d44(0x29d)][_0x803d44(0x2d4)](_0xc2a729);if(_0x48819e[_0x803d44(0x22c)]===0x0&&_0x307baf[_0x803d44(0x22c)]===0x0)return;const _0x1f09a9=[],_0x1cd80a=[];let _0x2bcaf4=_0x2c2192[_0x803d44(0x3cf)][_0x803d44(0x3d6)](_0x4388f1[_0x803d44(0x22e)][0x0]),_0x4423f0=_0x2c2192['Tools'][_0x803d44(0x3d6)](_0x4388f1[_0x803d44(0x22e)][0x0]);for(let _0x1f4022=_0x48819e[_0x803d44(0x22c)]-0x1;_0x1f4022>=0x0;_0x1f4022--){const _0x5ecc98={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x48819e[_0x1f4022][_0x803d44(0x1a7)],..._0x48819e[_0x1f4022]['undoState']}},_0x475cae={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x48819e[_0x1f4022][_0x803d44(0x1a7)],..._0x48819e[_0x1f4022][_0x803d44(0x204)]}},_0x56d393=this[_0x803d44(0x42c)]['transformMutation'](_0x2bcaf4,_0x5ecc98,!0x1),_0x159b71=this[_0x803d44(0x42c)]['transformMutation'](_0x4423f0,_0x475cae,!0x1);if(_0x542b31[_0x803d44(0x39f)](_0x56d393))throw _0x56d393['error'];if(_0x542b31[_0x803d44(0x39f)](_0x159b71))throw _0x159b71['error'];_0x1f09a9[_0x803d44(0x373)]({..._0x48819e[_0x1f4022],'undoState':_0x56d393[_0x803d44(0x26f)]['params'],'redoState':_0x159b71[_0x803d44(0x26f)][_0x803d44(0x439)]}),_0x2bcaf4=_0x56d393[_0x803d44(0x1ba)],_0x4423f0=_0x159b71[_0x803d44(0x1ba)];}_0x2bcaf4=_0x2c2192['Tools']['deepClone'](_0x4388f1[_0x803d44(0x22e)][0x0]),_0x4423f0=_0x2c2192[_0x803d44(0x3cf)]['deepClone'](_0x4388f1['mutations'][0x0]);for(let _0x17d654=_0x307baf[_0x803d44(0x22c)]-0x1;_0x17d654>=0x0;_0x17d654--){const _0x2963c7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x307baf[_0x17d654][_0x803d44(0x1a7)],..._0x307baf[_0x17d654]['undoState']}},_0x48f4c2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x307baf[_0x17d654]['unitId'],..._0x307baf[_0x17d654]['redoState']}},_0x2e48d8=this[_0x803d44(0x42c)][_0x803d44(0x39e)](_0x2bcaf4,_0x2963c7,!0x1),_0x519402=this[_0x803d44(0x42c)][_0x803d44(0x39e)](_0x4423f0,_0x48f4c2,!0x1);if(_0x542b31[_0x803d44(0x39f)](_0x2e48d8))throw _0x2e48d8['error'];if(_0x542b31[_0x803d44(0x39f)](_0x519402))throw _0x519402['error'];_0x1cd80a[_0x803d44(0x373)]({..._0x307baf[_0x17d654],'undoState':_0x2e48d8[_0x803d44(0x26f)]['params'],'redoState':_0x519402['m2Prime'][_0x803d44(0x439)]}),_0x2bcaf4=_0x2e48d8[_0x803d44(0x1ba)],_0x4423f0=_0x519402[_0x803d44(0x1ba)];}this['_docStateChangeManagerService'][_0x803d44(0x3d5)](_0xc2a729,{'history':_0x1f09a9,'collaboration':_0x1cd80a});}};_0x2ea084=_0x278bfc([_0x5418ed(0x0,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x5418ed(0x1,_0x542b31[_0x263a40(0x1e1)]),_0x5418ed(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x4e1317['DocStateChangeManagerService']))],_0x2ea084);var _0x133104=Object[_0x263a40(0x2bc)],_0x563192=(_0x37a94f,_0x807170,_0x1a8ffc,_0x10f7d1)=>{const _0x1029e2=_0x263a40;for(var _0x32fd51=_0x10f7d1>0x1?void 0x0:_0x10f7d1?_0x133104(_0x807170,_0x1a8ffc):_0x807170,_0x3669fc=_0x37a94f[_0x1029e2(0x22c)]-0x1,_0x422a8e;_0x3669fc>=0x0;_0x3669fc--)(_0x422a8e=_0x37a94f[_0x3669fc])&&(_0x32fd51=_0x422a8e(_0x32fd51)||_0x32fd51);return _0x32fd51;},_0x1d2ba2=(_0x4bc7cc,_0x582b80)=>(_0x416cce,_0x18da73)=>_0x582b80(_0x416cce,_0x18da73,_0x4bc7cc);let _0x16f9d8=class{constructor(_0x53f9d0,_0x2aae0d){const _0x59a06a=_0x263a40;this[_0x59a06a(0x1bd)]=_0x53f9d0,this[_0x59a06a(0x42c)]=_0x2aae0d;}[_0x263a40(0x343)](_0x11010d){const _0x1db858=_0x263a40;var _0x17e5c4;const _0x2771ae=this['_injector']['get'](_0x28f6a3['DocSelectionManagerService']),_0x2af432=(_0x17e5c4=_0x2771ae['getDocRanges']())!=null?_0x17e5c4:[];if(_0x2af432[_0x1db858(0x22c)]===0x0)return;const _0x217b41=_0x11010d[_0x1db858(0x1c8)],_0x21a5bb=[{'id':_0x1db858(0x323),'params':{'unitId':_0x217b41,'actions':null,'textRanges':_0x2af432}}],_0x2d9cca=this[_0x1db858(0x42c)]['transformMutationsWithChangeset'](_0x11010d,_0x21a5bb);if(!_0x542b31[_0x1db858(0x2dc)](_0x2d9cca))throw _0x2d9cca[_0x1db858(0x423)];const _0x29105e=_0x2d9cca['m2Prime'][0x0][_0x1db858(0x439)]['textRanges'];Array[_0x1db858(0x2ca)](_0x29105e)&&_0x29105e[_0x1db858(0x22c)]&&_0x2771ae[_0x1db858(0x303)](_0x29105e,{'unitId':_0x217b41,'subUnitId':_0x217b41},!0x1);}};_0x16f9d8=_0x563192([_0x1d2ba2(0x0,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x1d2ba2(0x1,_0x542b31[_0x263a40(0x1e1)])],_0x16f9d8);var _0xd53de1=Object[_0x263a40(0x2bc)],_0x248ef9=(_0x52bddc,_0x441c97,_0x33478c,_0x369291)=>{const _0x5e37f5=_0x263a40;for(var _0x15a416=_0x369291>0x1?void 0x0:_0x369291?_0xd53de1(_0x441c97,_0x33478c):_0x441c97,_0x563193=_0x52bddc[_0x5e37f5(0x22c)]-0x1,_0x1511d8;_0x563193>=0x0;_0x563193--)(_0x1511d8=_0x52bddc[_0x563193])&&(_0x15a416=_0x1511d8(_0x15a416)||_0x15a416);return _0x15a416;},_0xabf8eb=(_0x23e249,_0x1d2e55)=>(_0x4c4576,_0xbcd093)=>_0x1d2e55(_0x4c4576,_0xbcd093,_0x23e249);let _0x6d6a66=class extends _0x2c2192['Disposable']{constructor(_0x5cdf92,_0x38746e,_0x3d5ca6,_0xfb9e12,_0x2d7d3a,_0x2c2057,_0x185070,_0x184e08){const _0x4cc359=_0x263a40;super(),_0x193c38(this,'_status$',new _0x39a97e[(_0x4cc359(0x30b))](_0x3b3567[_0x4cc359(0x38e)][_0x4cc359(0x2cf)])),(this['_docStateChangeManagerService']=_0x5cdf92,this[_0x4cc359(0x420)]=_0x38746e,this[_0x4cc359(0x2c7)]=_0x3d5ca6,this[_0x4cc359(0x374)]=_0xfb9e12,this['_docTransformSelectionsService']=_0x2d7d3a,this[_0x4cc359(0x1b2)]=_0x2c2057,this[_0x4cc359(0x37b)]=_0x185070,this[_0x4cc359(0x42f)]=_0x184e08,this[_0x4cc359(0x2fc)]());}[_0x263a40(0x2fc)](){const _0x20da64=_0x263a40;this[_0x20da64(0x1af)](this['_collaborationController']['entityInit$'][_0x20da64(0x26a)](_0x4a999a=>{const _0x24db36=_0x20da64,_0x31300d=this[_0x24db36(0x29d)][_0x24db36(0x209)][_0x24db36(0x26a)](_0x56432f=>{const _0x5c6928=_0x24db36;if(_0x56432f==null)return;const {unitId:_0x57fb1f,redoState:_0x4ddb9d,commandId:_0xdc09b2}=_0x56432f;if(_0x57fb1f!==_0x4a999a[_0x5c6928(0x1c8)])return;const _0x1e19cd={'id':_0xdc09b2,'type':_0x2c2192[_0x5c6928(0x242)][_0x5c6928(0x2c1)],'params':{'unitId':_0x57fb1f,'actions':_0x4ddb9d[_0x5c6928(0x316)],'textRanges':null}};_0x4a999a['onLocalMutation'](_0x1e19cd);});if(_0x4a999a[_0x24db36(0x1af)](_0x31300d),_0x4a999a instanceof _0x3b3567[_0x24db36(0x294)]){const _0x151a99={'onTransformIME':_0xe0edbf=>this['_docTransformIMECacheService'][_0x24db36(0x258)](_0xe0edbf),'onTransformState':_0x3f00e6=>this[_0x24db36(0x374)][_0x24db36(0x2df)](_0x3f00e6),'onTransformSelections':_0x268525=>this[_0x24db36(0x1eb)]['transformSelections'](_0x268525),'onSyncEditingCollabCursor':_0xa00efe=>this['_docSyncEditingCollabCursorService'][_0x24db36(0x3e2)](_0xa00efe),'onTransformRemoteChangesetByIMECache':_0x391758=>this[_0x24db36(0x2c7)]['transformRemoteChangeset'](_0x391758),'onTransformRemoteChangesetByStateCache':_0x150381=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x150381)};_0x4a999a[_0x24db36(0x28a)](_0x151a99);}}));}};_0x6d6a66=_0x248ef9([_0xabf8eb(0x0,_0x2c2192[_0x263a40(0x3d4)](_0x4e1317[_0x263a40(0x2f7)])),_0xabf8eb(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567['CollaborationController'])),_0xabf8eb(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x48d330)),_0xabf8eb(0x3,_0x2c2192[_0x263a40(0x3d4)](_0x2ea084)),_0xabf8eb(0x4,_0x2c2192[_0x263a40(0x3d4)](_0x16f9d8)),_0xabf8eb(0x5,_0x2c2192[_0x263a40(0x3d4)](_0x45dd48)),_0xabf8eb(0x6,_0x214f56[_0x263a40(0x1b0)]),_0xabf8eb(0x7,_0x2c2192['Inject'](_0x2c2192[_0x263a40(0x325)]))],_0x6d6a66);var _0x203e02=Object[_0x263a40(0x2bc)],_0x290888=(_0xa9ef8a,_0x353294,_0x330426,_0x634232)=>{const _0x1f5a01=_0x263a40;for(var _0x334fc3=_0x634232>0x1?void 0x0:_0x634232?_0x203e02(_0x353294,_0x330426):_0x353294,_0x49535b=_0xa9ef8a[_0x1f5a01(0x22c)]-0x1,_0x33e8c7;_0x49535b>=0x0;_0x49535b--)(_0x33e8c7=_0xa9ef8a[_0x49535b])&&(_0x334fc3=_0x33e8c7(_0x334fc3)||_0x334fc3);return _0x334fc3;},_0x500015=(_0x2428d8,_0x23c2c7)=>(_0xdbfc03,_0x1b6e8f)=>_0x23c2c7(_0xdbfc03,_0x1b6e8f,_0x2428d8);let _0xc805ec=class extends _0x2c2192['Disposable']{constructor(_0x378a1,_0x31ab1b,_0x45458b){const _0x58a8c7=_0x263a40;super(),_0x193c38(this,_0x58a8c7(0x2ba),new Map()),_0x193c38(this,_0x58a8c7(0x319),new Map()),_0x193c38(this,'_disabled',!0x1),(this[_0x58a8c7(0x291)]=_0x378a1,this[_0x58a8c7(0x422)]=_0x31ab1b,this['_revisionService']=_0x45458b);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0xc2e320=_0x263a40;this[_0xc2e320(0x286)]=!0x1;}get[_0x263a40(0x297)](){const _0x3dfcdc=_0x263a40;return this[_0x3dfcdc(0x319)];}['dispose'](){const _0x8bcf77=_0x263a40;this[_0x8bcf77(0x35d)]()[_0x8bcf77(0x274)](()=>super[_0x8bcf77(0x3e8)]());}async[_0x263a40(0x2dd)](_0x2129db){const _0x593481=_0x263a40;return this[_0x593481(0x286)]?null:this[_0x593481(0x422)]['getItem'](_0x3b3567['getLocalCacheKey'](_0x2129db));}async[_0x263a40(0x1b5)](_0x5c0574,_0x5cfab2){const _0x467dfb=_0x263a40;return!!this['_localStorageService'][_0x467dfb(0x404)](_0x5c0574,_0x5cfab2);}[_0x263a40(0x3cd)](_0x40675f,_0x587803,_0x475c90,_0x16a962){const _0x4bc587=_0x263a40,_0x41effc=this['_revisionService'][_0x4bc587(0x351)](_0x40675f);this['_cachedData'][_0x4bc587(0x2d9)](_0x40675f,{'unitID':_0x40675f,'type':_0x587803,'awaitingChangeset':_0x475c90,'mutations':_0x16a962,'rev':_0x41effc}),this[_0x4bc587(0x319)][_0x4bc587(0x31d)](_0x40675f)||this[_0x4bc587(0x311)](_0x40675f);}[_0x263a40(0x311)](_0x23544d){const _0x3af00e=_0x263a40,_0x27c576=this[_0x3af00e(0x391)]();_0x27c576===0x0?this[_0x3af00e(0x235)](_0x23544d):this['_saveTaskMap'][_0x3af00e(0x2d9)](_0x23544d,setTimeout(()=>this['_saveCache'](_0x23544d),_0x27c576));}[_0x263a40(0x391)](){const _0x17d9b2=_0x263a40;var _0x278631;return(_0x278631=this[_0x17d9b2(0x291)][_0x17d9b2(0x1e4)](_0x3b3567[_0x17d9b2(0x412)]))!=null?_0x278631:_0x3b3567[_0x17d9b2(0x317)];}[_0x263a40(0x235)](_0x241a75){const _0x21c709=_0x263a40,_0x2d9c81=this[_0x21c709(0x319)][_0x21c709(0x378)](_0x241a75);return _0x2d9c81!==void 0x0&&window[_0x21c709(0x2eb)](_0x2d9c81),this[_0x21c709(0x422)][_0x21c709(0x404)](_0x3b3567[_0x21c709(0x233)](_0x241a75),this[_0x21c709(0x2ba)][_0x21c709(0x378)](_0x241a75))[_0x21c709(0x274)](()=>this[_0x21c709(0x319)][_0x21c709(0x402)](_0x241a75));}async['exhaustSavingTask'](){const _0x38c8df=_0x263a40,_0x8e4fb7=[];this[_0x38c8df(0x319)][_0x38c8df(0x34f)]((_0x3ed34b,_0x5a9d62)=>{const _0x376cf6=_0x38c8df;window['clearTimeout'](_0x3ed34b),_0x8e4fb7[_0x376cf6(0x367)](this[_0x376cf6(0x235)](_0x5a9d62)[_0x376cf6(0x274)](()=>{const _0x274856=_0x376cf6;this[_0x274856(0x319)]['delete'](_0x5a9d62);}));}),await Promise[_0x38c8df(0x33c)](_0x8e4fb7);}};_0xc805ec=_0x290888([_0x500015(0x0,_0x2c2192[_0x263a40(0x2da)]),_0x500015(0x1,_0x2c2192[_0x263a40(0x305)]),_0x500015(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x542b31[_0x263a40(0x220)]))],_0xc805ec);class _0x5810c8 extends _0x2c2192[_0x263a40(0x326)]{constructor(){const _0x11d3c5=_0x263a40;super(),_0x193c38(this,_0x11d3c5(0x3fd)),this['urlChange$']=_0x39a97e[_0x11d3c5(0x293)](window,_0x11d3c5(0x29c))[_0x11d3c5(0x306)](_0x39a97e[_0x11d3c5(0x2f3)](this[_0x11d3c5(0x313)]),_0x39a97e[_0x11d3c5(0x2ef)](0x1),_0x39a97e[_0x11d3c5(0x415)](void 0x0));}['setParam'](_0x52bb42,_0x324f20,_0x4eab34=!0x1){const _0x3737ad=_0x263a40,_0x27efb9=new URL(window[_0x3737ad(0x284)]['href']);_0x27efb9['searchParams'][_0x3737ad(0x2d9)](_0x52bb42,_0x324f20),_0x4eab34?window[_0x3737ad(0x210)][_0x3737ad(0x30c)]('','',_0x27efb9[_0x3737ad(0x31a)]()):window['history'][_0x3737ad(0x37d)]('','',_0x27efb9[_0x3737ad(0x31a)]());}[_0x263a40(0x3aa)](_0xb19bf9,_0x274c13=!0x1){const _0x33fec8=_0x263a40,_0x3130af=new URL(window[_0x33fec8(0x284)][_0x33fec8(0x26c)]);_0x3130af[_0x33fec8(0x2ee)][_0x33fec8(0x402)](_0xb19bf9),_0x274c13?window['history'][_0x33fec8(0x30c)]('','',_0x3130af[_0x33fec8(0x31a)]()):window[_0x33fec8(0x210)][_0x33fec8(0x37d)]('','',_0x3130af['toString']());}[_0x263a40(0x2a6)](_0x4bc900){const _0x145b3f=_0x263a40;var _0x6f98aa;return(_0x6f98aa=new URL(window['location'][_0x145b3f(0x26c)])['searchParams'][_0x145b3f(0x378)](_0x4bc900))!=null?_0x6f98aa:void 0x0;}}var _0x595597=Object['defineProperty'],_0x400f7c=Object[_0x263a40(0x2bc)],_0x3581b2=(_0x2cdf5d,_0x8200e1,_0x3a7d8e)=>_0x8200e1 in _0x2cdf5d?_0x595597(_0x2cdf5d,_0x8200e1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a7d8e}):_0x2cdf5d[_0x8200e1]=_0x3a7d8e,_0x5c6744=(_0x57c41b,_0x11b642,_0x2b499a,_0x59067f)=>{const _0x113de7=_0x263a40;for(var _0x3124a4=_0x59067f>0x1?void 0x0:_0x59067f?_0x400f7c(_0x11b642,_0x2b499a):_0x11b642,_0x3435bf=_0x57c41b[_0x113de7(0x22c)]-0x1,_0xbab09e;_0x3435bf>=0x0;_0x3435bf--)(_0xbab09e=_0x57c41b[_0x3435bf])&&(_0x3124a4=_0xbab09e(_0x3124a4)||_0x3124a4);return _0x3124a4;},_0x361759=(_0x3e5506,_0x9cf94b)=>(_0x182c33,_0x407c3a)=>_0x9cf94b(_0x182c33,_0x407c3a,_0x3e5506),_0x11fd78=(_0xce56e6,_0x2e2d09,_0x113c96)=>_0x3581b2(_0xce56e6,_0x2e2d09+'',_0x113c96);const _0xb98fbb=_0x263a40(0x1fd);_0x9de135[_0x263a40(0x2f5)]=class extends _0x2c2192[_0x263a40(0x397)]{constructor(_0x171f51=_0x4467d8,_0x140ab4,_0x3c1895,_0x31d0eb){const _0x2da1c7=_0x263a40;super(),this['_config']=_0x171f51,this[_0x2da1c7(0x3b2)]=_0x140ab4,this[_0x2da1c7(0x1bd)]=_0x3c1895,this[_0x2da1c7(0x291)]=_0x31d0eb;const {..._0x51d6b}=_0x2c2192[_0x2da1c7(0x409)]({},_0x4467d8,this[_0x2da1c7(0x278)]);this[_0x2da1c7(0x291)]['setConfig'](_0x5b003e,_0x51d6b);}[_0x263a40(0x1d5)](){const _0x540fa3=_0x263a40;this[_0x540fa3(0x2f0)](),this[_0x540fa3(0x32b)]();}['onRendered'](){const _0x1e3737=_0x263a40;this[_0x1e3737(0x3df)]();}[_0x263a40(0x2f0)](){const _0x2b87a5=_0x263a40;var _0x56ee15;const _0x33d095=[[_0x32664d],[_0x16f9d8],[_0x48d330],[_0x2ea084],[_0x45dd48],[_0x1f6186,{'useClass':_0x5810c8}],[_0x1f436f[_0x2b87a5(0x3ba)],{'useClass':_0x1f436f[_0x2b87a5(0x247)]}],[_0x3b3567['ILocalCacheService'],{'useClass':_0xc805ec}],[_0x9de135[_0x2b87a5(0x339)]],[_0x6d6a66],[_0x753b4],[_0x289b74],[_0x1b423f],[_0x9de135[_0x2b87a5(0x2e7)]]];_0x2c2192[_0x2b87a5(0x376)](this[_0x2b87a5(0x1bd)],_0x2c2192[_0x2b87a5(0x203)](_0x33d095,(_0x56ee15=this[_0x2b87a5(0x278)])==null?void 0x0:_0x56ee15[_0x2b87a5(0x410)]));}[_0x263a40(0x3df)](){const _0x5e248a=_0x263a40;this[_0x5e248a(0x1af)](this[_0x5e248a(0x3b2)][_0x5e248a(0x2d1)](_0x2c2192[_0x5e248a(0x1c6)][_0x5e248a(0x25b)],[_0x19f8bd])),this[_0x5e248a(0x1af)](this['_renderManagerService'][_0x5e248a(0x2d1)](_0x2c2192[_0x5e248a(0x1c6)][_0x5e248a(0x29e)],[_0x429464]));}['_initDependencies'](){const _0x55d82a=_0x263a40;_0x2c2192[_0x55d82a(0x1f0)](this[_0x55d82a(0x1bd)],[[_0x289b74],[_0x9de135[_0x55d82a(0x339)]],[_0x6d6a66],[_0x753b4],[_0x9de135[_0x55d82a(0x2e7)]]]);}},_0x11fd78(_0x9de135[_0x263a40(0x2f5)],_0x263a40(0x27f),_0xb98fbb),_0x9de135['UniverCollaborationClientUIPlugin']=_0x5c6744([_0x2c2192[_0x263a40(0x366)](_0x3b3567[_0x263a40(0x270)]),_0x361759(0x1,_0xeac254[_0x263a40(0x36d)]),_0x361759(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192['Injector'])),_0x361759(0x3,_0x2c2192[_0x263a40(0x2da)])],_0x9de135[_0x263a40(0x2f5)]);var _0x483f06=Object[_0x263a40(0x2bc)],_0x52ccb5=(_0x2c67d0,_0x3f3f51,_0x21d29b,_0x143acf)=>{const _0x1ef1d2=_0x263a40;for(var _0x37b422=_0x143acf>0x1?void 0x0:_0x143acf?_0x483f06(_0x3f3f51,_0x21d29b):_0x3f3f51,_0xd20a5c=_0x2c67d0[_0x1ef1d2(0x22c)]-0x1,_0x1d68e7;_0xd20a5c>=0x0;_0xd20a5c--)(_0x1d68e7=_0x2c67d0[_0xd20a5c])&&(_0x37b422=_0x1d68e7(_0x37b422)||_0x37b422);return _0x37b422;},_0x2d3f50=(_0x245d16,_0x9f0275)=>(_0x2ad6b3,_0x4cce95)=>_0x9f0275(_0x2ad6b3,_0x4cce95,_0x245d16);_0x9de135['BrowserCollaborationSocketService']=class extends _0x3b3567[_0x263a40(0x347)]{constructor(_0x530b23,_0x371415,_0x331b95,_0x5324d0,_0x4a3e0d){super(_0x530b23,_0x371415,_0x331b95,_0x5324d0,_0x4a3e0d);}async[_0x263a40(0x1c5)](_0x3a0a6c){const _0x463204=_0x263a40,_0x6b43fb=await this[_0x463204(0x414)](),_0x486820=this[_0x463204(0x200)](_0x3a0a6c,_0x6b43fb);return this[_0x463204(0x1a9)](_0x486820);}[_0x263a40(0x200)](_0x2caadd,_0x3978a1){const _0x141622=_0x263a40,_0x4d13a=typeof window>'u'?new URL(_0x2caadd):new URL(_0x2caadd,window['location']['origin']);_0x4d13a['searchParams'][_0x141622(0x2d9)](_0x141622(0x279),_0x3978a1);const _0x1275b6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x141622(0x284)][_0x141622(0x375)]);return _0x1275b6['get']('runId')&&_0x4d13a[_0x141622(0x2ee)][_0x141622(0x2d9)]('runId',_0x1275b6[_0x141622(0x378)](_0x141622(0x390))),_0x4d13a[_0x141622(0x31a)]();}async[_0x263a40(0x414)](){const _0x3ecd03=_0x263a40;var _0x1be11d,_0x1f5f2f,_0x37018f;const _0x41c452=this[_0x3ecd03(0x291)]['getConfig'](_0x3b3567[_0x3ecd03(0x246)]),_0x1dc971=(_0x1be11d=_0x41c452==null?void 0x0:_0x41c452[_0x3ecd03(0x230)])!=null?_0x1be11d:_0x3b3567['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x37018f=(_0x1f5f2f=(await this[_0x3ecd03(0x21a)][_0x3ecd03(0x378)](_0x1dc971,{'headers':{'Content-Type':'application/json'}}))[_0x3ecd03(0x273)])==null?void 0x0:_0x1f5f2f[_0x3ecd03(0x302)])!=null?_0x37018f:'';}},_0x9de135[_0x263a40(0x40d)]=_0x52ccb5([_0x2d3f50(0x0,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192['Injector'])),_0x2d3f50(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x1f436f[_0x263a40(0x22d)])),_0x2d3f50(0x2,_0x2c2192['IConfigService']),_0x2d3f50(0x3,_0x2c2192[_0x263a40(0x2ac)]),_0x2d3f50(0x4,_0x542b31[_0x263a40(0x3dd)])],_0x9de135[_0x263a40(0x40d)]);var _0x3cafe4=(_0x562a0d=>(_0x562a0d[_0x562a0d[_0x263a40(0x23b)]=0x0]=_0x263a40(0x23b),_0x562a0d[_0x562a0d['OK']=0x1]='OK',_0x562a0d[_0x562a0d['INTERNAL_ERROR']=0x2]=_0x263a40(0x3f3),_0x562a0d[_0x562a0d['PERMISSION_DENIED']=0x3]=_0x263a40(0x403),_0x562a0d[_0x562a0d[_0x263a40(0x30f)]=0x4]=_0x263a40(0x30f),_0x562a0d[_0x562a0d['UNAUTHENTICATED']=0x5]=_0x263a40(0x262),_0x562a0d[_0x562a0d[_0x263a40(0x42a)]=0x6]=_0x263a40(0x42a),_0x562a0d[_0x562a0d[_0x263a40(0x2ce)]=0x7]='INVALID_ARGUMENT',_0x562a0d[_0x562a0d[_0x263a40(0x370)]=0x8]=_0x263a40(0x370),_0x562a0d[_0x562a0d[_0x263a40(0x222)]=0x9]=_0x263a40(0x222),_0x562a0d[_0x562a0d[_0x263a40(0x21f)]=0xa]=_0x263a40(0x21f),_0x562a0d[_0x562a0d[_0x263a40(0x41b)]=0xb]=_0x263a40(0x41b),_0x562a0d[_0x562a0d['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x263a40(0x434),_0x562a0d[_0x562a0d['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x562a0d[_0x562a0d[_0x263a40(0x35c)]=0xe]=_0x263a40(0x35c),_0x562a0d[_0x562a0d[_0x263a40(0x2d2)]=0x1389]=_0x263a40(0x2d2),_0x562a0d[_0x562a0d[_0x263a40(0x245)]=0x1771]=_0x263a40(0x245),_0x562a0d[_0x562a0d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x263a40(0x2ed),_0x562a0d[_0x562a0d[_0x263a40(0x33b)]=0x1773]=_0x263a40(0x33b),_0x562a0d[_0x562a0d[_0x263a40(0x428)]=0x1b59]=_0x263a40(0x428),_0x562a0d[_0x562a0d[_0x263a40(0x1e8)]=0x1b5a]=_0x263a40(0x1e8),_0x562a0d[_0x562a0d[_0x263a40(0x2ff)]=0x1b5b]=_0x263a40(0x2ff),_0x562a0d[_0x562a0d[_0x263a40(0x1e7)]=0x1b5c]=_0x263a40(0x1e7),_0x562a0d[_0x562a0d[_0x263a40(0x329)]=0x1b5d]=_0x263a40(0x329),_0x562a0d[_0x562a0d[_0x263a40(0x207)]=0x1f41]=_0x263a40(0x207),_0x562a0d[_0x562a0d[_0x263a40(0x432)]=0x2329]=_0x263a40(0x432),_0x562a0d[_0x562a0d[_0x263a40(0x436)]=0x232a]=_0x263a40(0x436),_0x562a0d[_0x562a0d[_0x263a40(0x2b0)]=0x232b]=_0x263a40(0x2b0),_0x562a0d[_0x562a0d[_0x263a40(0x21c)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x562a0d[_0x562a0d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x263a40(0x3e3),_0x562a0d[_0x562a0d[_0x263a40(0x1e2)]=0x2711]=_0x263a40(0x1e2),_0x562a0d[_0x562a0d[_0x263a40(0x1f3)]=0x2712]=_0x263a40(0x1f3),_0x562a0d[_0x562a0d[_0x263a40(0x344)]=0x2713]=_0x263a40(0x344),_0x562a0d[_0x562a0d[_0x263a40(0x3ec)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x562a0d[_0x562a0d[_0x263a40(0x1e6)]=0x271a]=_0x263a40(0x1e6),_0x562a0d[_0x562a0d[_0x263a40(0x298)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x562a0d[_0x562a0d['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x562a0d[_0x562a0d[_0x263a40(0x2b3)]=0x271d]=_0x263a40(0x2b3),_0x562a0d[_0x562a0d[_0x263a40(0x3a3)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x562a0d[_0x562a0d[_0x263a40(0x1cd)]=0x271f]=_0x263a40(0x1cd),_0x562a0d[_0x562a0d[_0x263a40(0x3a0)]=0x2720]=_0x263a40(0x3a0),_0x562a0d[_0x562a0d[_0x263a40(0x285)]=0x2af9]=_0x263a40(0x285),_0x562a0d[_0x562a0d[_0x263a40(0x224)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x562a0d[_0x562a0d[_0x263a40(0x30d)]=0x2ee2]='INVALID_INVITE_CODE',_0x562a0d[_0x562a0d['INVITE_CODE_REQUIRED']=0x2ee3]=_0x263a40(0x1a8),_0x562a0d[_0x562a0d['USER_NOT_INVITED_CODE']=0x2ee4]=_0x263a40(0x2e4),_0x562a0d[_0x562a0d[_0x263a40(0x263)]=0x2ee5]=_0x263a40(0x263),_0x562a0d[_0x562a0d[_0x263a40(0x20c)]=0x32c9]=_0x263a40(0x20c),_0x562a0d[_0x562a0d[_0x263a40(0x40b)]=0x32ca]=_0x263a40(0x40b),_0x562a0d[_0x562a0d[_0x263a40(0x39d)]=0x32cb]=_0x263a40(0x39d),_0x562a0d[_0x562a0d[_0x263a40(0x1a6)]=-0x1]='UNRECOGNIZED',_0x562a0d))(_0x3cafe4||{}),_0x3a716d=Object[_0x263a40(0x2bc)],_0x40486a=(_0x446329,_0x275d4a,_0x18d4e7,_0xe9834c)=>{const _0x3a9b8c=_0x263a40;for(var _0x77cb0e=_0xe9834c>0x1?void 0x0:_0xe9834c?_0x3a716d(_0x275d4a,_0x18d4e7):_0x275d4a,_0x5809d6=_0x446329[_0x3a9b8c(0x22c)]-0x1,_0x3fc9b0;_0x5809d6>=0x0;_0x5809d6--)(_0x3fc9b0=_0x446329[_0x5809d6])&&(_0x77cb0e=_0x3fc9b0(_0x77cb0e)||_0x77cb0e);return _0x77cb0e;},_0x58a1cc=(_0x57eb36,_0x7ae308)=>(_0x4a61e9,_0x24406b)=>_0x7ae308(_0x4a61e9,_0x24406b,_0x57eb36);_0x9de135[_0x263a40(0x2a2)]=class extends _0x2c2192[_0x263a40(0x2e1)]{constructor(_0x10fb57,_0x30a062,_0x396b4b){const _0x51f4ab=_0x263a40;super(),this[_0x51f4ab(0x1f1)]=_0x10fb57,this[_0x51f4ab(0x21a)]=_0x30a062,this['_configService']=_0x396b4b;}async[_0x263a40(0x2e2)](_0x215ced,_0x56a3cc,_0x2a5aaf,..._0x499d79){const _0x55f18f=_0x263a40;var _0x95547c,_0x2244a2,_0x4f2fe5,_0x492e69;const _0x56f69d=this[_0x55f18f(0x1f1)][_0x55f18f(0x1d3)]();if(!_0x56f69d)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2732ff=((_0x95547c=this['_configService'][_0x55f18f(0x1e4)](_0x3b3567[_0x55f18f(0x231)]))!=null?_0x95547c:_0x3b3567[_0x55f18f(0x3a4)])+'/'+_0x215ced+_0x55f18f(0x2c0)+_0x56a3cc,_0x5d6a9c=new URL(window['location'][_0x55f18f(0x26c)]),_0x1a367c={'scriptId':_0x215ced,'runId':(_0x2244a2=_0x5d6a9c[_0x55f18f(0x2ee)][_0x55f18f(0x378)]('runId'))!=null?_0x2244a2:'','function':_0x56a3cc,'unitId':_0x56f69d['getUnitId'](),'argsOfFunction':JSON[_0x55f18f(0x1fc)](_0x499d79),'invokeId':(_0x4f2fe5=_0x2a5aaf[_0x55f18f(0x308)])!=null?_0x4f2fe5:'','executionId':(_0x492e69=_0x2a5aaf[_0x55f18f(0x310)])!=null?_0x492e69:''};try{const _0x559d26=await this[_0x55f18f(0x21a)][_0x55f18f(0x292)](_0x2732ff,{'body':_0x1a367c});return _0x559d26[_0x55f18f(0x273)][_0x55f18f(0x423)]&&_0x559d26[_0x55f18f(0x273)][_0x55f18f(0x423)][_0x55f18f(0x318)]!==_0x3cafe4['OK']?_0x55f18f(0x354):_0x559d26['body']['result'];}catch{return'Failed';}}},_0x9de135[_0x263a40(0x2a2)]=_0x40486a([_0x58a1cc(0x0,_0x2c2192['IUniverInstanceService']),_0x58a1cc(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x1f436f[_0x263a40(0x22d)])),_0x58a1cc(0x2,_0x2c2192[_0x263a40(0x2da)])],_0x9de135[_0x263a40(0x2a2)]);const _0x221c11=0x7530,_0x27a991=_0x263a40(0x332);class _0x1fd258 extends _0x2c2192['Disposable']{constructor(){const _0x3d6ce1=_0x263a40;super(),_0x193c38(this,_0x3d6ce1(0x213),_0x2c2192[_0x3d6ce1(0x3a8)]()),_0x193c38(this,'_selfUnitIDs',new Set()),_0x193c38(this,'_unitOnClients',new Map()),_0x193c38(this,_0x3d6ce1(0x2ab),null),_0x193c38(this,_0x3d6ce1(0x1f2),new Map()),_0x193c38(this,'_unitStatus',new Map()),this[_0x3d6ce1(0x3b5)]();}['dispose'](){const _0x371622=_0x263a40;super['dispose'](),this[_0x371622(0x1f2)]['forEach']((_0x2d9f6a,_0x449652)=>this[_0x371622(0x2e3)](_0x449652)),this[_0x371622(0x2ab)]&&window['clearInterval'](this[_0x371622(0x2ab)]);}[_0x263a40(0x1a3)](_0xa09843){const _0x37483a=_0x263a40;return this['_ensureSubject'](_0xa09843)[_0x37483a(0x306)](_0x39a97e[_0x37483a(0x382)]());}[_0x263a40(0x2fe)](_0x42096f){const _0xb3ee51=_0x263a40;this['_selfUnitIDs']['size']===0x0&&this[_0xb3ee51(0x2d7)](),this[_0xb3ee51(0x28e)]['add'](_0x42096f),this[_0xb3ee51(0x1c3)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x42096f],'isForwarded':!0x1});}['disposeUnit'](_0x519ff5){const _0x292fb8=_0x263a40;this[_0x292fb8(0x28e)][_0x292fb8(0x402)](_0x519ff5),this['_selfUnitIDs'][_0x292fb8(0x1e5)]===0x0&&this['_heartbeatTimer']&&window[_0x292fb8(0x30a)](this[_0x292fb8(0x2ab)]);}['_init'](){const _0x1e7f2f=_0x263a40;this[_0x1e7f2f(0x1af)](_0x2c2192[_0x1e7f2f(0x1bf)](_0x39a97e[_0x1e7f2f(0x293)](window,_0x1e7f2f(0x408))[_0x1e7f2f(0x26a)](_0x478273=>{const _0x54fced=_0x1e7f2f;if(_0x478273['key']!==_0x27a991||!_0x478273[_0x54fced(0x418)])return;const _0x22aaa7=JSON[_0x54fced(0x289)](_0x478273[_0x54fced(0x418)]);this[_0x54fced(0x1ac)](_0x22aaa7);}))),window[_0x1e7f2f(0x1ef)](_0x1e7f2f(0x2a1),()=>this[_0x1e7f2f(0x1c3)]({'type':0x1,'memberID':this[_0x1e7f2f(0x213)],'unitIDs':Array[_0x1e7f2f(0x1ab)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x2b6b66){const _0x5eaa28=_0x263a40;switch(_0x2b6b66['type']){case 0x0:this[_0x5eaa28(0x1c0)](_0x2b6b66);break;case 0x1:this['_handleLeaveEvent'](_0x2b6b66);break;case 0x2:this[_0x5eaa28(0x3e6)](_0x2b6b66);break;}}[_0x263a40(0x1c0)](_0x42cf34){const _0xf09b91=_0x263a40,{unitIDs:_0x496ad8,memberID:_0x265d85,isForwarded:_0x22d3dd}=_0x42cf34;_0x496ad8[_0xf09b91(0x34f)](_0xff473e=>{const _0xebaf42=_0xf09b91;if(!_0x22d3dd&&this['_unitOnClients'][_0xebaf42(0x31d)](_0xff473e)&&this[_0xebaf42(0x2ea)](_0xff473e)[_0xebaf42(0x3db)](_0x3b3567[_0xebaf42(0x322)]['OTHER_CLIENTS_EDITING']),!this[_0xebaf42(0x41e)][_0xebaf42(0x31d)](_0xff473e)||!this[_0xebaf42(0x41e)][_0xebaf42(0x378)](_0xff473e)[_0xebaf42(0x31d)](_0x265d85)){const _0x4a00c7=this[_0xebaf42(0x41e)][_0xebaf42(0x378)](_0xff473e)||new Set();_0x4a00c7[_0xebaf42(0x1d8)](_0x265d85),this[_0xebaf42(0x41e)]['set'](_0xff473e,_0x4a00c7),this[_0xebaf42(0x3c2)](_0x265d85);}}),_0x22d3dd||this[_0xf09b91(0x1c3)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xf09b91(0x28e)]],'isForwarded':!0x0});}[_0x263a40(0x3c2)](_0x41c28a){const _0x2793e0=_0x263a40;this[_0x2793e0(0x2e3)](_0x41c28a);const _0x35c17d=window[_0x2793e0(0x1d1)](()=>{const _0x1e4a16=_0x2793e0;this['_unitOnClients'][_0x1e4a16(0x34f)](_0x27cdbe=>{_0x27cdbe['delete'](_0x41c28a);});},_0x221c11*0x2);this['_clearOtherTimers'][_0x2793e0(0x2d9)](_0x41c28a,_0x35c17d);}[_0x263a40(0x2e3)](_0x5c82f0){const _0x33e361=_0x263a40;if(this[_0x33e361(0x1f2)][_0x33e361(0x31d)](_0x5c82f0)){const _0xc67f6a=this[_0x33e361(0x1f2)]['get'](_0x5c82f0);_0xc67f6a&&window[_0x33e361(0x2eb)](_0xc67f6a),this[_0x33e361(0x1f2)][_0x33e361(0x2d9)](_0x5c82f0,null);}}[_0x263a40(0x368)](_0x32f053){const _0x377a12=_0x263a40,{memberID:_0x2d578c,unitIDs:_0x2e9859}=_0x32f053;_0x2e9859[_0x377a12(0x34f)](_0xa5bc89=>{const _0x359080=_0x377a12;var _0x11559e;const _0x4e0113=this['_unitOnClients'][_0x359080(0x378)](_0xa5bc89);_0x4e0113&&(_0x4e0113['delete'](_0x2d578c),(_0x11559e=this[_0x359080(0x2ea)](_0xa5bc89))==null||_0x11559e[_0x359080(0x3db)](_0x4e0113['size']===0x0?_0x3b3567['UnitStatus'][_0x359080(0x252)]:_0x3b3567[_0x359080(0x322)]['OTHER_CLIENTS_EDITING']));}),this[_0x377a12(0x2e3)](_0x2d578c);}['_handleHeartbeatEvent'](_0x488ad8){const _0x82dd52=_0x263a40;this[_0x82dd52(0x3c2)](_0x488ad8[_0x82dd52(0x211)]);}[_0x263a40(0x1c3)](_0x211102){const _0x5e7459=_0x263a40;localStorage[_0x5e7459(0x404)](_0x27a991,JSON[_0x5e7459(0x1fc)](_0x211102));}['_scheduleHeartbeat'](){const _0x2308a0=_0x263a40;this[_0x2308a0(0x2ab)]=window[_0x2308a0(0x205)](()=>{const _0xa78670=_0x2308a0;this['_send']({'type':0x2,'memberID':this[_0xa78670(0x213)]});},_0x221c11);}[_0x263a40(0x2ea)](_0x10ce5f){const _0xde5211=_0x263a40;return this[_0xde5211(0x2d3)][_0xde5211(0x31d)](_0x10ce5f)||this[_0xde5211(0x2d3)]['set'](_0x10ce5f,new _0x39a97e[(_0xde5211(0x30b))](_0x3b3567[_0xde5211(0x322)][_0xde5211(0x252)])),this[_0xde5211(0x2d3)]['get'](_0x10ce5f);}}_0x9de135[_0x263a40(0x413)]=_0x1f6186,_0x9de135['SheetCollabCursorShape']=_0x9e04ec,_0x9de135[_0x263a40(0x3fb)]=_0x1fd258,_0x9de135['WebURLService']=_0x5810c8,Object['defineProperty'](_0x9de135,Symbol[_0x263a40(0x202)],{'value':_0x263a40(0x3c6)});}));