@univerjs-pro/collaboration-client-ui 0.10.10 → 0.10.11

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 (52) 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/types/locale/en-US.d.ts +7 -0
  38. package/lib/types/services/formula-calculation-guard/formula-calculation-guard.service.d.ts +38 -0
  39. package/lib/types/services/formula-calculation-guard/util.d.ts +11 -0
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ko-KR.js +1 -1
  48. package/lib/umd/locale/ru-RU.js +1 -1
  49. package/lib/umd/locale/vi-VN.js +1 -1
  50. package/lib/umd/locale/zh-CN.js +1 -1
  51. package/lib/umd/locale/zh-TW.js +1 -1
  52. package/package.json +19 -19
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3349(){const _0x43a2bf=['_univerInstanceService','_initEvent','handleInsertRow','endRow','with','_docTransformSelectionsService','_collabCursorController','_transformService','addObject','some','getVpScrollXYInfoByPosToVp','_cachedData','_drawAnchor','data','_drawTextRange','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_lastPointer','IRemoteInstanceService','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','YUUMI_NO_CUBOID_FOR_QUESTION','_name','_refRangeService','_removeClearOtherTimer','DocCollaborationEntity','ThemeService','_collaborationController','column','Subject','IRenderManagerService','search','translate(.97)','href','DOC_RANGE_TYPE','_docStateChangeManagerService','get','UniverSheetsUi','_localeService','_uiPartsService','YUUMI_ASYNCIO_CANCELLED','clipPath','saveTaskMap','fillStyle','CollaborationController','_updateSubUnitFromURLParams','BehaviorSubject','CollaborationSessionService','_id','http://www.w3.org/2000/svg','@univerjs/drawing','name','BuiltInUIPart','@univerjs/docs','row','react/jsx-runtime','_messageService','jsx','fromEventSubject','fill','range','transformByState','isTransformMutationsWithChangesetSuccess','_color','_init','unitID','fromEvent','_refreshCollabCursors','toString','sessionTicket','disableLocalCache','InsertRangeMoveDownCommandId','getSheetBySheetId','attrs','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','next','_updateCollabCursors','SetWorksheetActivateCommand','bottom','IDocClipboardService','@univerjs/ui','_scheduleClearOtherTimer','merge','228560GIYUaa','_setupBeforeClosingHandler','getActiveRange','delete','_initStatusListener','DisposableCollection','fillRule','/run/','getCurrentSelections','_hover','Rectangle','_render','WebURLService','_hideTimer','defIds','_initCommandExecutedListener','red.300','HTTPService','setInterval','_transformUndoRedoStack','Error','RxDisposable','createInstance','getLocalCacheKey','addObjects','collabStatus.synced','getTypeOfUnitAdded$','max','_commandService','_revisionService','restore','YUUMI_RATE_OVER_LIMIT','UniverProCollaboration','propertyIsEnumerable','updateOfflineData','WECHAT_HAS_BEEN_BOUND','_localCacheService','SheetsSelectionsService','getCollabEntity$','RevisionService','WebSocketService','COLORS','getCurrentUnitForType','apply','includes','rgba(255,\x20255,\x20255,\x200.01)','UnitStatus','UniverDesign','getColorFromTheme','useRef','pushState','UniverEngineRender','permission.title','_docTransformStateCacheService','_cursors','current','labelPosition','hasOwnProperty','doc.mutation.rich-text-editing','UNIVER_DOC','engine','_context','cursorInfo$','memberID','handleInsertRangeMoveRight','NOT_COLLAB','getUniverSheetInstance','_startDocCollabCursor','on-line-icon_clip0_910_349','isActive','IConfigService','_dataLoaderService','displayName','_getScale','getConfig','handleIRemoveRow','takeUntil','collab-client.tooltip.reconnect','use','Optional','TRANSFORM_CHANGE_OBSERVABLE_TYPE','undoState','_unitOnClients','uni.network.url-service','onPointerEnter$','_draw','Tooltip','MOBILE_HAS_BEEN_BOUND','color','distinctUntilChanged','_handleHeartbeatEvent','min','getUnitStatus$','unit','currentSkeleton$','SUBMIT_CHANGESET_TIMEOUT','pipe','serializeRangeWithSheet','IUniverInstanceService','IURLService','setTimeout','_assignedColors','error','945emnmUU','_docSkeletonManagerService','_updateURLWithCurrentState','location','subscribe','getRenderById','CollaborationEvent','size','set','ICommandService','beginPath','entries','_configService','createSocket','runRefRangeMutations','UNRECOGNIZED','_logService','NodePositionConvertToCursor','_getSheetObject','NOT_FOUND','purple.300','_createSocketURL','_memberService','focused$','Plugin','handleIRemoveCol','Shape','throttleTime','values','SNAPSHOT_HAS_BEEN_REMOVED','children','INTERNAL_ERROR','231RSnRcx','textRanges','DocStateChangeManagerService','getUndoRedoMutationParamsCache','_colorIndex','getRangePointData','init','_entityInit$','selection','_docClipboardService','_config','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Vector2','contains','find','clearTimeout','_anchorDot','React','_drawRectRange','push','deepClone','RefRangeService','redoState','YUUMI_URL_COL_OUT_OF_RANGE','ranges','currentColor','DEFAULT_WS_SESSION_TICKET_URL','override','show','code','function','_transformPreviousActiveRange','getCoordByCell','getUnitId','m1Prime','session.connection-failed','UNIVER_SHEET','transformIMECache','getOffsetConfig','round','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ColorKit','createElement','Inject','currentTheme$','complete','_textBubble','send','_disabled','post','_removeCollabCursors','UNDEFINED','_document','getCurrent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadUnit','_httpService','call','split','collabStatus.notCollab','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','touchDependencies','startRow','_getSessionTicket','_imageIoService','_transformHistoryAndStateStack','@univerjs-pro/collaboration','SheetCollabCursorShape','UniverProCollaborationClient','SessionStatus','LOCAL_CACHE_INTERVAL','fillText','MemberService','getSkeleton','width','getValue','NodePositionConvertToRectRange','disposeWithMe','isTransformMutationFailure','setAlpha','_doCreateSocket','_anchor','sheetId','Warning','getOwnPropertyDescriptor','LICENSE_IMPORT_SIZE_EXCEEDED','indexOf','USER_NOT_INVITED_CODE','_scheduleSaving','dispose','closePath','_entities','assignAColorForMemberID','UniverDrawing','INVALID_INVITE_CODE','_shapes','white','_toggleOnline','CommandType','startsWith','DocSelectionManagerService','subUnitId','Injector','_initStatusComponent','_cursorInfo$','_collabCursorState$','_themeService','reconnect','WebBrowserSingleActiveUnitService','INVITE_CODE_REQUIRED','session.will-retry','YUUMI_AI_RUN_FAILED','Module','idSuffix','save','RemoteUniscriptService','_getAnchorBounding','MessageType','@univerjs/core','_status$','_collaborationUIEventService','source','measureText','UniverInstanceType','3AHfrlT','YUUMI_TABLE_NOT_FOUND_IN_UNIT','url(#off-line-icon_clip0_910_343)','unshift','6QLDoJG','getUnhiddenWorksheets','onCommandExecuted','LICENSE_DISTRO_REJECTED','ILogService','getDocRanges','getActiveSheet','@univerjs-pro/collaboration-client','handleDeleteRangeMoveLeft','subscribeEvent','defs','LOGIN_FAILED','UniverProCollaborationClientUi','roomMembers$','off-line-icon_clip0_910_343','popstate','_heartbeatTimer','getCellPositionByOffset','UniverCore','DependentOn','Rect','triggerDblclick','body','MoveRangeCommandId','APPLY_PERMISSION_DENIED','collaboration.closeRoom','assign','APPLY_REVISION_CONFILICT','UniverUi','saveOfflineData','getOwnPropertySymbols','key','hide','concat','status$','OTHER_CLIENT_EDITING','collabCursorState$','UniverDocsUi','RECT','_notificationService','_registerRenderDependencies','icon','onTransformChange$','SetSelectionsOperation','RemoveRowCommandId','findNodePositionByCharIndex','OTHER_CLIENTS_EDITING','then','_urlService','none','useCallback','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','executionId','UniverSheets','font','endColumn','@univerjs/design','YUUMI_SUBSCRIPTION_NOT_FOUND','onPointerMove$','from','_unitStatus','UniverIcon','forEach','_roomMembers$','[CollaborationDataLoaderController]','event$','runId','APPLY_REJECT','startColumn','registerRefRange','_setupSubUnitSync','blue.400','_hovered','type','deserializeRangeWithSheet','string','#FFF','path','isArray','setItem','DesktopCollaborationStatusDisplayController','url(#$1','_handleEvent','_collabSessionService','saveImage','react','INotificationService','urlChange$','collaboration-client-ui.config','activeSheet$','55032DLfNrP','unitId','onPointerLeave$','LocaleService','filter','_docSkeleton','5207742dIhPls','YUUMI_UNABLE_LOAD_URL','defineProperty','Tools','stringify','_range','RegularPolygon','eventID','toRgbString','_docTransformIMECacheService','PERMISSION_DENIED','_beforeCloseService','handleMoveRange','LICENSE_EXPORT_SIZE_EXCEEDED','_sheetSkeletonManagerService','ITransformService','transformRemoteChangeset','symbol','exhaustSavingTask','OFFLINE','actions','getParam','IMessageService','drawWith','clsx','EMAIL_VERIFY_CODE_MISMATCH','USERS_LEAVE','41986yRRUBk','debug','UNAUTHENTICATED','TEXT','newValue','add','CONNECTOR_DATA_TOO_LARGE','text','switchMap','RemoveColCommandId','dispose$','collabStatus.syncing','_cursor','setShapeProps','substring','setUndoRedoMutationParamsCache','operators','univer-mr-2\x20univer-flex\x20univer-text-xl','_online','selections','_instanceService','setStateCache','_labelPosition','OnLineIcon','IBeforeCloseService','M0\x200H16V16H0z','combineLatest','searchParams','BrowserCollaborationSocketService','getStateCache','toStringTag','onRendered','EffectRefRangId','COMPLETION_FINISHED','collabStatus.conflict','length','JOIN_ROOM_FAILED','subunit','lineTo','top','addClipboardHook','YUUMI_CONNECTOR_URL_NOT_FOUND','0\x200\x2016\x2016','getMemberID','mutations','SYNCED','div','_renderManagerService','debounce','onLocalMutation','_scheduleHeartbeat','setParam','transformSelections','INVITE_CODE_HAS_BEEN_UES','replace','exports','getMember','registerComponent','pluginName','toDisposable','collabStatus.fetchMiss','_getMergeRange','m2Prime','unsubscribe','rxjs','_ensureSubject','transform','arc','getCollabCursors$','transformStateCache','tag','NO_OTHER_CLIENTS_EDITING','has','registerRenderModule','forwardRef','handleInsertCol','ACTIVE_UNIT_EVENT_CHANNEL','getColor','YUUMI_ALL_TABLES_IS_INVALID','_send','clearInterval','UPDATE_CURSOR','getSheetId','collaboration-client.offline-data-not-saved','_selfUnitIDs','mask','CollaborationUIEventId','xlink:href','collab-rect-range-','...','_updateLocalCursor','[RemoteUniscriptService]:\x20no\x20focused\x20unit','black','_initEntityListener','cursorInfo','syncEditingCollabCursor','mergeOverrideWithDependencies','CollaborationUIEventService','Unknown\x20user','_backgroundColor','SNAPSHOT_INVALID_SNAPSHOT','4859108qbhKIT','sheetID','SHEET_VIEWPORT_KEY','shareReplay','_clearOtherTimers','editingUnit','asObservable','AWAITING_WITH_PENDING','result','isEditing','HEADER_MENU','getCurrentRevOfUnit','ENSURE_SNAPSHOT_EXECUTION','ALREADY_EXISTS','debounceTime','executeCommand','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','_localStorageService','DocIMEInputManagerService','whenReady','ONLINE','trim','_saveCache','LICENSE_MAX_UNITS_EXCEEDED','_scene','_syncEditingCollabCursorService','_onCursorDelete','params','_onRefRangeChange','INVALID_ARGUMENT','amd','_handleLeaveEvent','map','_colorAssignService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','MOBILE_VERIFY_CODE_MISMATCH','CollaborationStatus','APPLY_DUPLICATED','height','transformMutation','_session','CONFLICT','removeParam','1em','EMAIL_HAS_BEEN_BOUND','IUIPartsService','_saveTaskMap','_injector','_registerDependencies','rxjs/operators','INVITE_CODE_ALREADY_BOUND','requireSession','registerBeforeClose','SOCKET_FAILED','_toggleOffline','Disposable','PY_RUNTIME_SCRIPT_ERROR','collabStatus.offline','disposeUnit','361694gdUHHk','entityInit$','prototype','onStarting','getViewport','session.collaboration-timeout','CHANGESET_REVISION_CONFILICT','_eventUnsubscribe','getFocusedUnit','replaceState','handleInsertRangeMoveDown','connectInjector','jiqing.500','svg','FromArray','wsSessionTicketUrl','evenodd','transformMutationsWithChangeset','_handleJoinEvent','generateRandomId','6525685XmiEQt','AWAITING','history','UniverCollaborationClientUIPlugin','object','loadOfflineData','APPLY_NON_SEQUENTIAL_REVISION','getTypeOfUnitDisposed$','SetDocZoomRatioOperation','DataLoaderService','colorChannel1','runOnServer','CollaborationDataLoaderController','_cursorShapes','resize','TEXT_RANGE_LAYER_INDEX','useDependency','useObservable','CLOSE_ROOM','InsertRowCommandId','roomMembers','setConfig','UniverDocs','univer-flex\x20univer-items-center','TOO_MANY_REQUESTS','_initResize'];_0x3349=function(){return _0x43a2bf;};return _0x3349();}function _0x5d41(_0x5c3fb6,_0x2281e9){const _0x3349f0=_0x3349();return _0x5d41=function(_0x5d4102,_0x5eb231){_0x5d4102=_0x5d4102-0xc8;let _0x278ec8=_0x3349f0[_0x5d4102];return _0x278ec8;},_0x5d41(_0x5c3fb6,_0x2281e9);}(function(_0x56fa0e,_0x4f50ce){const _0x55b173=_0x5d41,_0x8a9df8=_0x56fa0e();while(!![]){try{const _0x3e618f=parseInt(_0x55b173(0xe2))/0x1+parseInt(_0x55b173(0x182))/0x2+-parseInt(_0x55b173(0x304))/0x3*(-parseInt(_0x55b173(0x147))/0x4)+-parseInt(_0x55b173(0x196))/0x5*(-parseInt(_0x55b173(0x308))/0x6)+parseInt(_0x55b173(0x268))/0x7*(-parseInt(_0x55b173(0x362))/0x8)+-parseInt(_0x55b173(0x368))/0x9+parseInt(_0x55b173(0x201))/0xa*(-parseInt(_0x55b173(0x288))/0xb);if(_0x3e618f===_0x4f50ce)break;else _0x8a9df8['push'](_0x8a9df8['shift']());}catch(_0x3cf433){_0x8a9df8['push'](_0x8a9df8['shift']());}}}(_0x3349,0xb870c),function(_0x504429,_0x20b04d){const _0x3034e1=_0x5d41;typeof exports==_0x3034e1(0x19a)&&typeof module<'u'?_0x20b04d(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==_0x3034e1(0x2a6)&&define[_0x3034e1(0x165)]?define([_0x3034e1(0x119),_0x3034e1(0x1e5),_0x3034e1(0x30f),_0x3034e1(0x2fe),_0x3034e1(0x1fe),_0x3034e1(0x122),_0x3034e1(0x340),_0x3034e1(0x35d),'@univerjs/rpc','@univerjs/sheets','@univerjs/engine-render','@univerjs/network','@univerjs/docs-ui',_0x3034e1(0x1e0),_0x3034e1(0x2ca),_0x3034e1(0x1e3),'@univerjs/engine-formula',_0x3034e1(0x178),'@univerjs/sheets-ui'],_0x20b04d):(_0x504429=typeof globalThis<'u'?globalThis:_0x504429||self,_0x20b04d(_0x504429[_0x3034e1(0x314)]={},_0x504429['React'],_0x504429[_0x3034e1(0x2cc)],_0x504429[_0x3034e1(0x31a)],_0x504429[_0x3034e1(0x324)],_0x504429['rxjs'],_0x504429[_0x3034e1(0x230)],_0x504429[_0x3034e1(0x299)],_0x504429['UniverRpc'],_0x504429[_0x3034e1(0x33d)],_0x504429[_0x3034e1(0x234)],_0x504429['UniverNetwork'],_0x504429[_0x3034e1(0x32d)],_0x504429[_0x3034e1(0x2e5)],_0x504429[_0x3034e1(0x221)],_0x504429[_0x3034e1(0x1ac)],_0x504429['UniverEngineFormula'],_0x504429[_0x3034e1(0x122)][_0x3034e1(0xf2)],_0x504429[_0x3034e1(0x1d3)]));}(this,function(_0x5e0019,_0x438608,_0x356380,_0x508aad,_0x5c74c1,_0x54d76a,_0x19b36f,_0xbd8d84,_0x57609a,_0x3417b8,_0x23a227,_0x415d26,_0x176070,_0x31a24a,_0x319724,_0x4f8728,_0x38c6a4,_0x10c85e,_0x5debdf){'use strict';const _0x4078cd=_0x5d41;var _0x1dd1ac=Object[_0x4078cd(0xc9)],_0x12e287=(_0x49fec5,_0x20f79c,_0x4694c1)=>_0x20f79c in _0x49fec5?_0x1dd1ac(_0x49fec5,_0x20f79c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4694c1}):_0x49fec5[_0x20f79c]=_0x4694c1,_0x5e1a9d=(_0x510a77,_0x54fa7b,_0x1dfc97)=>_0x12e287(_0x510a77,typeof _0x54fa7b!=_0x4078cd(0xd8)?_0x54fa7b+'':_0x54fa7b,_0x1dfc97),_0x4679fb=function(){const _0x1887af=_0x4078cd;return _0x4679fb=Object[_0x1887af(0x322)]||function(_0x88e197){const _0x1548e0=_0x1887af;for(var _0x264a91,_0x56b77a=0x1,_0x4ba2d7=arguments['length'];_0x56b77a<_0x4ba2d7;_0x56b77a++){_0x264a91=arguments[_0x56b77a];for(var _0x3a7ae9 in _0x264a91)Object[_0x1548e0(0x184)][_0x1548e0(0x23a)][_0x1548e0(0x2c1)](_0x264a91,_0x3a7ae9)&&(_0x88e197[_0x3a7ae9]=_0x264a91[_0x3a7ae9]);}return _0x88e197;},_0x4679fb[_0x1887af(0x22c)](this,arguments);},_0x43b23c=function(_0x5713d6,_0x3cb246){const _0x404f0d=_0x4078cd;var _0x1f5b5c={};for(var _0x183e83 in _0x5713d6)Object[_0x404f0d(0x184)][_0x404f0d(0x23a)][_0x404f0d(0x2c1)](_0x5713d6,_0x183e83)&&_0x3cb246[_0x404f0d(0x2de)](_0x183e83)<0x0&&(_0x1f5b5c[_0x183e83]=_0x5713d6[_0x183e83]);if(_0x5713d6!=null&&typeof Object[_0x404f0d(0x326)]==_0x404f0d(0x2a6)){for(var _0x45a038=0x0,_0x183e83=Object['getOwnPropertySymbols'](_0x5713d6);_0x45a038<_0x183e83[_0x404f0d(0x105)];_0x45a038++)_0x3cb246[_0x404f0d(0x2de)](_0x183e83[_0x45a038])<0x0&&Object[_0x404f0d(0x184)][_0x404f0d(0x222)]['call'](_0x5713d6,_0x183e83[_0x45a038])&&(_0x1f5b5c[_0x183e83[_0x45a038]]=_0x5713d6[_0x183e83[_0x45a038]]);}return _0x1f5b5c;},_0xa32bf7=_0xbd8d84['forwardRef'](function(_0x3d0550,_0x2ff46c){const _0x379eda=_0x4078cd;var _0x50303c=_0x3d0550[_0x379eda(0x331)],_0x2d71e5=_0x3d0550['id'],_0x388ae1=_0x3d0550['className'],_0x2d8831=_0x3d0550['extend'],_0x598b1d=_0x43b23c(_0x3d0550,[_0x379eda(0x331),'id','className','extend']),_0x101f2d='univerjs-icon\x20univerjs-icon-'[_0x379eda(0x329)](_0x2d71e5,'\x20')['concat'](_0x388ae1||'')[_0x379eda(0x15c)](),_0x320e6d=_0xbd8d84[_0x379eda(0x232)]('_'[_0x379eda(0x329)](_0x46c6fc()));return _0x2536a4(_0x50303c,''[_0x379eda(0x329)](_0x2d71e5),{'defIds':_0x50303c[_0x379eda(0x20f)],'idSuffix':_0x320e6d[_0x379eda(0x238)]},_0x4679fb({'ref':_0x2ff46c,'className':_0x101f2d},_0x598b1d),_0x2d8831);});function _0x2536a4(_0x2a2eac,_0x8d697,_0x1f8e4b,_0x4ba0bf,_0x5b4ec7){const _0x3b13ea=_0x4078cd;return _0xbd8d84[_0x3b13ea(0x2b2)](_0x2a2eac['tag'],_0x4679fb(_0x4679fb({'key':_0x8d697},_0x52b296(_0x2a2eac,_0x1f8e4b,_0x5b4ec7)),_0x4ba0bf),(_0x3d577e(_0x2a2eac,_0x1f8e4b)[_0x3b13ea(0x286)]||[])[_0x3b13ea(0x167)](function(_0x27ad0e,_0x4e8fc6){const _0x9f0703=_0x3b13ea;return _0x2536a4(_0x27ad0e,''[_0x9f0703(0x329)](_0x8d697,'-')['concat'](_0x2a2eac[_0x9f0703(0x128)],'-')['concat'](_0x4e8fc6),_0x1f8e4b,void 0x0,_0x5b4ec7);}));}function _0x52b296(_0xaf2454,_0x64ee6a,_0x214e21){const _0x55c9ed=_0x4078cd;var _0x161d0e=_0x4679fb({},_0xaf2454[_0x55c9ed(0x1f7)]);_0x214e21!=null&&_0x214e21['colorChannel1']&&_0x161d0e['fill']===_0x55c9ed(0x1a0)&&(_0x161d0e[_0x55c9ed(0x1e9)]=_0x214e21[_0x55c9ed(0x1a0)]),_0xaf2454[_0x55c9ed(0x128)]==='mask'&&_0x161d0e['id']&&(_0x161d0e['id']=_0x161d0e['id']+_0x64ee6a['idSuffix']),Object[_0x55c9ed(0x273)](_0x161d0e)[_0x55c9ed(0x346)](function(_0x320c0d){const _0xdb339f=_0x55c9ed;var _0x5ca8c1=_0x320c0d[0x0],_0x2c325b=_0x320c0d[0x1];_0x5ca8c1===_0xdb339f(0x137)&&typeof _0x2c325b=='string'&&(_0x161d0e[_0x5ca8c1]=_0x2c325b[_0xdb339f(0x118)](/url\(#(.*)\)/,_0xdb339f(0x359)[_0xdb339f(0x329)](_0x64ee6a[_0xdb339f(0x2f9)],')')));});var _0xaa7fba=_0x64ee6a[_0x55c9ed(0x20f)];return!_0xaa7fba||_0xaa7fba[_0x55c9ed(0x105)]===0x0||(_0xaf2454[_0x55c9ed(0x128)]===_0x55c9ed(0x24f)&&_0x161d0e['xlink:href']&&(_0x161d0e[_0x55c9ed(0x139)]=_0x161d0e[_0x55c9ed(0x139)]+_0x64ee6a[_0x55c9ed(0x2f9)]),Object[_0x55c9ed(0x273)](_0x161d0e)['forEach'](function(_0x3c839f){const _0x5af754=_0x55c9ed;var _0x17005b=_0x3c839f[0x0],_0x8815be=_0x3c839f[0x1];typeof _0x8815be==_0x5af754(0x353)&&(_0x161d0e[_0x17005b]=_0x8815be[_0x5af754(0x118)](/url\(#(.*)\)/,_0x5af754(0x359)['concat'](_0x64ee6a[_0x5af754(0x2f9)],')')));})),_0x161d0e;}function _0x3d577e(_0x4dbc10,_0x41afdf){const _0x5f1591=_0x4078cd;var _0xad0069,_0x440d3e=_0x41afdf[_0x5f1591(0x20f)];return!_0x440d3e||_0x440d3e[_0x5f1591(0x105)]===0x0?_0x4dbc10:_0x4dbc10[_0x5f1591(0x128)]===_0x5f1591(0x312)&&(!((_0xad0069=_0x4dbc10[_0x5f1591(0x286)])===null||_0xad0069===void 0x0)&&_0xad0069[_0x5f1591(0x105)])?_0x4679fb(_0x4679fb({},_0x4dbc10),{'children':_0x4dbc10[_0x5f1591(0x286)][_0x5f1591(0x167)](function(_0x175092){const _0x30ca43=_0x5f1591;return typeof _0x175092['attrs']['id']==_0x30ca43(0x353)&&_0x440d3e&&_0x440d3e['includes'](_0x175092[_0x30ca43(0x1f7)]['id'])?_0x4679fb(_0x4679fb({},_0x175092),{'attrs':_0x4679fb(_0x4679fb({},_0x175092[_0x30ca43(0x1f7)]),{'id':_0x175092[_0x30ca43(0x1f7)]['id']+_0x41afdf[_0x30ca43(0x2f9)]})}):_0x175092;})}):_0x4dbc10;}function _0x46c6fc(){const _0x4e9d8f=_0x4078cd;return Math['random']()[_0x4e9d8f(0x1f2)](0x24)[_0x4e9d8f(0xf0)](0x2,0x8);}_0xa32bf7[_0x4078cd(0x249)]=_0x4078cd(0x345);var _0x3df9e9={'tag':_0x4078cd(0x18f),'attrs':{'xmlns':_0x4078cd(0x1df),'fill':_0x4078cd(0x339),'viewBox':_0x4078cd(0x10c),'width':_0x4078cd(0x172),'height':_0x4078cd(0x172)},'children':[{'tag':'g','attrs':{'clipPath':_0x4078cd(0x306)},'children':[{'tag':_0x4078cd(0x355),'attrs':{'stroke':_0x4078cd(0x2a1),'d':_0x4078cd(0x157),'strokeLinecap':_0x4078cd(0x2af),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4078cd(0x1d7),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x4078cd(0x355),'attrs':{'fill':_0x4078cd(0x2e8),'d':_0x4078cd(0xfb)}}]}]}],'defIds':[_0x4078cd(0x316)]},_0x422bd8=_0xbd8d84['forwardRef'](function(_0x381f2a,_0x116a01){const _0x196cba=_0x4078cd;return _0xbd8d84[_0x196cba(0x2b2)](_0xa32bf7,Object[_0x196cba(0x322)]({},_0x381f2a,{'id':'off-line-icon','ref':_0x116a01,'icon':_0x3df9e9}));});_0x422bd8[_0x4078cd(0x249)]='OffLineIcon';var _0x51e0eb={'tag':_0x4078cd(0x18f),'attrs':{'xmlns':_0x4078cd(0x1df),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x4078cd(0x172),'height':_0x4078cd(0x172)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x4078cd(0x2a1),'d':_0x4078cd(0x1c2),'strokeLinecap':_0x4078cd(0x2af),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4078cd(0x312),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4078cd(0x245)},'children':[{'tag':_0x4078cd(0x355),'attrs':{'fill':_0x4078cd(0x2e8),'d':_0x4078cd(0xfb),'transform':_0x4078cd(0x1ce)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x56d0a2=_0xbd8d84[_0x4078cd(0x12c)](function(_0x3dee0e,_0x17c2e0){const _0x14e31d=_0x4078cd;return _0xbd8d84[_0x14e31d(0x2b2)](_0xa32bf7,Object['assign']({},_0x3dee0e,{'id':'on-line-icon','ref':_0x17c2e0,'icon':_0x51e0eb}));});_0x56d0a2[_0x4078cd(0x249)]=_0x4078cd(0xf9);function _0x62d83b(_0x443652){const _0x3f1d34=_0x4078cd;switch(_0x443652){case _0x356380['CollaborationStatus'][_0x3f1d34(0xda)]:return _0x3f1d34(0x180);case _0x356380[_0x3f1d34(0x16b)][_0x3f1d34(0x170)]:return _0x3f1d34(0x104);case _0x356380['CollaborationStatus']['FETCH_MISS']:return _0x3f1d34(0x11e);case _0x356380[_0x3f1d34(0x16b)][_0x3f1d34(0x242)]:return _0x3f1d34(0x2c3);case _0x356380[_0x3f1d34(0x16b)][_0x3f1d34(0x197)]:case _0x356380['CollaborationStatus'][_0x3f1d34(0x14e)]:return _0x3f1d34(0xed);case _0x356380[_0x3f1d34(0x16b)][_0x3f1d34(0x10f)]:case _0x356380[_0x3f1d34(0x16b)]['PENDING']:return _0x3f1d34(0x21a);}}function _0x3a4607(_0x5d13fd){const _0x2cce9a=_0x4078cd,{status$:_0x55d894}=_0x5d13fd,_0x586e80=_0x5c74c1[_0x2cce9a(0x1a7)](_0x55d894,_0x356380['CollaborationStatus'][_0x2cce9a(0x242)]),_0x2effb6=_0x5c74c1[_0x2cce9a(0x1a6)](_0x508aad['LocaleService']),_0x44e871=_0x5c74c1['useDependency'](_0x356380[_0x2cce9a(0x1dd)]),_0x262d5b=_0x586e80!==_0x356380[_0x2cce9a(0x16b)][_0x2cce9a(0xda)],_0x2dda0b=_0x2effb6['t'](_0x62d83b(_0x586e80)),_0x1ca0a4=_0x262d5b?_0x438608['jsx'](_0x56d0a2,{}):_0x438608[_0x2cce9a(0x1e7)](_0x422bd8,{}),_0x5c8c0c=_0xbd8d84[_0x2cce9a(0x33a)](()=>{const _0x394fe0=_0x2cce9a;_0x262d5b||_0x44e871[_0x394fe0(0x2f3)]();},[_0x262d5b,_0x44e871]);function _0x35f63f(){const _0x14119c=_0x2cce9a;return _0x438608['jsxs']('div',{'className':_0x14119c(0x1ad),'onClick':_0x5c8c0c,'children':[_0x438608['jsx'](_0x14119c(0x110),{'className':_0x19b36f[_0x14119c(0xdf)](_0x14119c(0xf3),{'univer-text-green-500':_0x262d5b,'univer-text-red-500':!_0x262d5b}),'children':_0x1ca0a4}),_0x438608[_0x14119c(0x1e7)](_0x14119c(0x110),{'className':_0x14119c(0x293),'children':_0x2dda0b})]});}return _0x262d5b?_0x35f63f():_0x438608[_0x2cce9a(0x1e7)](_0x19b36f[_0x2cce9a(0x257)],{'title':_0x2effb6['t'](_0x2cce9a(0x24e)),'children':_0x35f63f()});}var _0x4241c1=Object['getOwnPropertyDescriptor'],_0x13baf7=(_0x3a335f,_0x1662da,_0x15a6fc,_0xeadba4)=>{for(var _0x4a1f4d=_0xeadba4>0x1?void 0x0:_0xeadba4?_0x4241c1(_0x1662da,_0x15a6fc):_0x1662da,_0x1dfe57=_0x3a335f['length']-0x1,_0x286169;_0x1dfe57>=0x0;_0x1dfe57--)(_0x286169=_0x3a335f[_0x1dfe57])&&(_0x4a1f4d=_0x286169(_0x4a1f4d)||_0x4a1f4d);return _0x4a1f4d;},_0x26e4a3=(_0x200bb0,_0x4d3a53)=>(_0x28894,_0x3c177a)=>_0x4d3a53(_0x28894,_0x3c177a,_0x200bb0);_0x5e0019['DesktopCollaborationStatusDisplayController']=class extends _0x508aad['Disposable']{constructor(_0x16ae3a,_0x45b635,_0x515300,_0x28b0c0){const _0x11bb47=_0x4078cd;super(),_0x5e1a9d(this,_0x11bb47(0x2ff),new _0x54d76a[(_0x11bb47(0x1dc))](_0x356380['CollaborationStatus'][_0x11bb47(0x242)])),(this[_0x11bb47(0x1b0)]=_0x16ae3a,this[_0x11bb47(0x176)]=_0x45b635,this[_0x11bb47(0x1c9)]=_0x515300,this['_uiPartsService']=_0x28b0c0,this[_0x11bb47(0x2ef)](),this[_0x11bb47(0x205)]());}[_0x4078cd(0x205)](){const _0x54dbdc=_0x4078cd;this['disposeWithMe'](this['_univerInstanceService'][_0x54dbdc(0x27f)][_0x54dbdc(0x261)](_0x54d76a['switchMap'](()=>{const _0x3f075b=_0x54dbdc,_0x3ad6a7=this[_0x3f075b(0x1b0)][_0x3f075b(0x18a)]();return _0x3ad6a7?this['_collaborationController'][_0x3f075b(0x227)](_0x3ad6a7[_0x3f075b(0x2a9)]()):_0x54d76a['of'](null);}),_0x54d76a[_0x54dbdc(0xea)](_0x2d6969=>_0x2d6969?_0x2d6969[_0x54dbdc(0x32a)]:_0x54d76a['of'](_0x356380['CollaborationStatus'][_0x54dbdc(0x242)])))[_0x54dbdc(0x26c)](_0xeea2fd=>{const _0x15c096=_0x54dbdc;this[_0x15c096(0x2ff)]['next'](_0xeea2fd);}));}[_0x4078cd(0x2ef)](){const _0x162319=_0x4078cd;this[_0x162319(0x2d5)](this[_0x162319(0x1d5)][_0x162319(0x11b)](_0x5c74c1[_0x162319(0x1e2)][_0x162319(0x151)],()=>_0x5c74c1[_0x162319(0x18d)](_0x218d6b({'status$':this['_status$'][_0x162319(0x14d)]()}),this['_injector'])));}},_0x5e0019[_0x4078cd(0x358)]=_0x13baf7([_0x26e4a3(0x0,_0x508aad[_0x4078cd(0x263)]),_0x26e4a3(0x1,_0x508aad['Inject'](_0x508aad[_0x4078cd(0x2ee)])),_0x26e4a3(0x2,_0x508aad[_0x4078cd(0x2b3)](_0x356380[_0x4078cd(0x1da)])),_0x26e4a3(0x3,_0x5c74c1[_0x4078cd(0x174)])],_0x5e0019[_0x4078cd(0x358)]);function _0x218d6b(_0x2a70ee){const {status$:_0x2d6a85}=_0x2a70ee;return function(){const _0x99c494=_0x5d41;return _0x438608[_0x99c494(0x1e7)](_0x3a4607,{'status$':_0x2d6a85});};}const _0x5066f6=_0x508aad['createIdentifier'](_0x4078cd(0x254));var _0x150419=Object['getOwnPropertyDescriptor'],_0x43b6de=(_0x58f726,_0x255244,_0x44f536,_0x354520)=>{const _0xec77a0=_0x4078cd;for(var _0x6e95c1=_0x354520>0x1?void 0x0:_0x354520?_0x150419(_0x255244,_0x44f536):_0x255244,_0x5e1905=_0x58f726[_0xec77a0(0x105)]-0x1,_0x39e6c3;_0x5e1905>=0x0;_0x5e1905--)(_0x39e6c3=_0x58f726[_0x5e1905])&&(_0x6e95c1=_0x39e6c3(_0x6e95c1)||_0x6e95c1);return _0x6e95c1;},_0x5ce700=(_0x354d53,_0x5cdf64)=>(_0x172cf8,_0x40a08f)=>_0x5cdf64(_0x172cf8,_0x40a08f,_0x354d53);_0x5e0019[_0x4078cd(0x1a2)]=class extends _0x508aad[_0x4078cd(0x216)]{constructor(_0x3efeaa,_0x4f7f3d,_0x2cc251,_0x5ac7cc,_0x121c12){const _0x5e15cd=_0x4078cd;super(),this[_0x5e15cd(0x338)]=_0x3efeaa,this['_logService']=_0x4f7f3d,this['_commandService']=_0x2cc251,this[_0x5e15cd(0x248)]=_0x5ac7cc,_0x121c12?_0x121c12==null||_0x121c12[_0x5e15cd(0x15a)]()[_0x5e15cd(0x337)](()=>this['_init']()):(this[_0x5e15cd(0x278)][_0x5e15cd(0xe3)](_0x5e15cd(0x348),_0x5e15cd(0x2b0)),this['_init']());}async[_0x4078cd(0x1ee)](){const _0x155c2a=_0x4078cd,_0x21f8ff=this[_0x155c2a(0x338)]['getParam'](_0x155c2a(0x25e)),_0xaaa71d=this[_0x155c2a(0x338)]['getParam'](_0x155c2a(0x351)),_0x1f0c67=this[_0x155c2a(0x338)][_0x155c2a(0xdc)](_0x155c2a(0x107));if(!_0x21f8ff||!_0xaaa71d){this[_0x155c2a(0x278)]['debug'](_0x155c2a(0x348),_0x155c2a(0x2be));return;}const _0x3deab5=await this[_0x155c2a(0x248)][_0x155c2a(0x2bf)](_0x21f8ff,Number(_0xaaa71d),_0x1f0c67);_0x3deab5&&_0x3deab5 instanceof _0x508aad['Workbook']&&this[_0x155c2a(0x34e)](_0x3deab5);}async[_0x4078cd(0x34e)](_0x4daafa){const _0x5c1fda=_0x4078cd;await this[_0x5c1fda(0x1db)](_0x4daafa),_0x4daafa[_0x5c1fda(0x361)][_0x5c1fda(0x261)](_0x54d76a['takeUntil'](this['dispose$']))[_0x5c1fda(0x26c)](_0x9ae636=>{const _0x1e5a9d=_0x5c1fda;_0x9ae636&&this[_0x1e5a9d(0x26a)](_0x9ae636);}),this['_urlService'][_0x5c1fda(0x35f)][_0x5c1fda(0x261)](_0x54d76a[_0x5c1fda(0x24d)](this[_0x5c1fda(0xec)]))[_0x5c1fda(0x26c)](()=>this[_0x5c1fda(0x1db)](_0x4daafa));}[_0x4078cd(0x26a)](_0x52e1cf,_0x38e29e=!0x1){const _0x4e61ad=_0x4078cd,_0x5d64cd=this[_0x4e61ad(0x338)][_0x4e61ad(0xdc)]('subunit');_0x52e1cf[_0x4e61ad(0x134)]()!==_0x5d64cd&&this[_0x4e61ad(0x338)][_0x4e61ad(0x115)]('subunit',_0x52e1cf['getSheetId'](),_0x38e29e);}async[_0x4078cd(0x1db)](_0x10e55a){const _0x49dc29=_0x4078cd;var _0x455dce;const _0x29c7a8=this[_0x49dc29(0x338)][_0x49dc29(0xdc)](_0x49dc29(0x107));if(!_0x29c7a8||!_0x10e55a[_0x49dc29(0x1f6)](_0x29c7a8)){const _0x661003=_0x10e55a[_0x49dc29(0x309)]()[0x0],_0x5ba966=_0x10e55a[_0x49dc29(0x1f6)](_0x661003);if(!_0x5ba966)return;this[_0x49dc29(0x26a)](_0x5ba966,!0x0),await this[_0x49dc29(0x21d)][_0x49dc29(0x156)](_0x3417b8[_0x49dc29(0x1fb)]['id'],{'unitId':_0x10e55a[_0x49dc29(0x2a9)](),'subUnitId':_0x661003});return;}((_0x455dce=_0x10e55a['getActiveSheet']())==null?void 0x0:_0x455dce[_0x49dc29(0x134)]())!==_0x29c7a8&&await this[_0x49dc29(0x21d)][_0x49dc29(0x156)](_0x3417b8['SetWorksheetActivateCommand']['id'],{'unitId':_0x10e55a[_0x49dc29(0x2a9)](),'subUnitId':_0x29c7a8});}},_0x5e0019['CollaborationDataLoaderController']=_0x43b6de([_0x5ce700(0x0,_0x5066f6),_0x5ce700(0x1,_0x508aad[_0x4078cd(0x30c)]),_0x5ce700(0x2,_0x508aad[_0x4078cd(0x271)]),_0x5ce700(0x3,_0x508aad[_0x4078cd(0x2b3)](_0x356380[_0x4078cd(0x19f)])),_0x5ce700(0x4,_0x508aad[_0x4078cd(0x250)](_0x57609a[_0x4078cd(0x1c1)]))],_0x5e0019[_0x4078cd(0x1a2)]);var _0x12f6f6=Object[_0x4078cd(0x2dc)],_0x186fa0=(_0x4b8ba5,_0x1e57a4,_0x26b656,_0x2638f1)=>{const _0x4db0f0=_0x4078cd;for(var _0x4bf85c=_0x2638f1>0x1?void 0x0:_0x2638f1?_0x12f6f6(_0x1e57a4,_0x26b656):_0x1e57a4,_0xb92d1b=_0x4b8ba5[_0x4db0f0(0x105)]-0x1,_0x53fa15;_0xb92d1b>=0x0;_0xb92d1b--)(_0x53fa15=_0x4b8ba5[_0xb92d1b])&&(_0x4bf85c=_0x53fa15(_0x4bf85c)||_0x4bf85c);return _0x4bf85c;},_0xf7ed34=(_0x8a2514,_0x9cbe15)=>(_0x24bf60,_0x48d7cc)=>_0x9cbe15(_0x24bf60,_0x48d7cc,_0x8a2514);let _0x2de5c8=class extends _0x508aad['RxDisposable']{constructor(_0x2d55e7,_0x1b3d54){const _0x3fd315=_0x4078cd;super(),this[_0x3fd315(0x291)]=_0x2d55e7,this[_0x3fd315(0x2c8)]=_0x1b3d54,this['_init']();}[_0x4078cd(0x1ee)](){const _0x505c6e=_0x4078cd,_0x1c1b7e=this;this['disposeWithMe'](this['_docClipboardService'][_0x505c6e(0x10a)]({'onBeforePasteImage':async _0x3fc3d3=>{const _0x5cb64f=_0x505c6e,_0x285073=await _0x1c1b7e[_0x5cb64f(0x2c8)][_0x5cb64f(0x35c)](_0x3fc3d3);return _0x285073?{'source':_0x285073[_0x5cb64f(0x301)],'imageSourceType':_0x285073['imageSourceType']}:null;}}));}};_0x2de5c8=_0x186fa0([_0xf7ed34(0x0,_0x176070[_0x4078cd(0x1fd)]),_0xf7ed34(0x1,_0x31a24a['IImageIoService'])],_0x2de5c8);const _0x148d33=[_0x4078cd(0x27c),_0x4078cd(0x18e),'green.600',_0x4078cd(0x211),_0x4078cd(0x34f),'yellow.400'];class _0x3785e5 extends _0x508aad[_0x4078cd(0x17e)]{constructor(){const _0x176af8=_0x4078cd;super(...arguments),_0x5e1a9d(this,_0x176af8(0x266),new Map()),_0x5e1a9d(this,_0x176af8(0x28c),0x0);}[_0x4078cd(0x2e4)](_0x311100){const _0x47b455=_0x4078cd;if(this[_0x47b455(0x266)]['has'](_0x311100))return this[_0x47b455(0x266)]['get'](_0x311100);const _0xffea46=_0x148d33[this['_colorIndex']];return this['_colorIndex']=(this[_0x47b455(0x28c)]+0x1)%_0x148d33[_0x47b455(0x105)],this['_assignedColors']['set'](_0x311100,_0xffea46),_0xffea46;}}function _0x388027(_0x1a02f7){const _0x12ed4e=_0x4078cd;let _0x184822='';for(const _0x49d5d5 of _0x1a02f7){const {startOffset:_0x29c0a0,endOffset:_0x26a5bb,isActive:_0x1dfae7,rangeType:_0x100ffd,segmentId:_0x86a86d,segmentPage:_0x2d878b}=_0x49d5d5;_0x184822[_0x12ed4e(0x105)]&&(_0x184822+=','),_0x184822+=_0x29c0a0+':'+_0x26a5bb+':'+(_0x1dfae7?'1':'0')+':'+_0x100ffd+':'+_0x86a86d+':'+_0x2d878b;}return _0x184822;}function _0x14353d(_0x38cc40){const _0x59a767=_0x4078cd,_0x2bec82=_0x38cc40[_0x59a767(0x2c2)](','),_0x2d4146=[];for(const _0x1cb875 of _0x2bec82){const [_0x2f15e8,_0x5cdbb9,_0x2bb7de,_0x44dbe4,_0x6bfc36,_0x2329ba]=_0x1cb875[_0x59a767(0x2c2)](':');_0x2d4146[_0x59a767(0x29b)]({'startOffset':Number(_0x2f15e8),'endOffset':Number(_0x5cdbb9),'collapsed':_0x2f15e8===_0x5cdbb9,'isActive':_0x2bb7de==='1','rangeType':_0x44dbe4===_0x508aad['DOC_RANGE_TYPE'][_0x59a767(0xe5)]?_0x508aad[_0x59a767(0x1d0)][_0x59a767(0xe5)]:_0x508aad[_0x59a767(0x1d0)]['RECT'],'segmentId':typeof _0x6bfc36==_0x59a767(0x353)?String(_0x6bfc36):'','segmentPage':Number(_0x2329ba!=null?_0x2329ba:-0x1)});}return _0x2d4146[_0x59a767(0x1b9)](_0x43b605=>_0x43b605[_0x59a767(0x246)])||(_0x2d4146[0x0][_0x59a767(0x246)]=!0x0),_0x2d4146;}class _0x3f1775 extends _0x508aad[_0x4078cd(0x216)]{constructor(){const _0x4155dc=_0x4078cd;super(...arguments),_0x5e1a9d(this,_0x4155dc(0x2f1),new _0x54d76a[(_0x4155dc(0x1dc))](null)),_0x5e1a9d(this,_0x4155dc(0x32c),this[_0x4155dc(0x2f1)][_0x4155dc(0x14d)]());}[_0x4078cd(0x141)](_0x2bfd22){const _0x457a95=_0x4078cd,{unitID:_0x1cc67d,memberID:_0x520860,textRanges:_0x4c7367}=_0x2bfd22,_0x179592=_0x388027(_0x4c7367);if(_0x179592==='')return;const _0x530290={'unitID':_0x1cc67d,'memberID':_0x520860,'selection':_0x179592};this[_0x457a95(0x2f1)][_0x457a95(0x1f9)](_0x530290);}}var _0x4572c2=Object['getOwnPropertyDescriptor'],_0x537b54=(_0x58df3b,_0x249a05,_0x1b656e,_0x3d1a72)=>{const _0x55a962=_0x4078cd;for(var _0x19ce2d=_0x3d1a72>0x1?void 0x0:_0x3d1a72?_0x4572c2(_0x249a05,_0x1b656e):_0x249a05,_0x460120=_0x58df3b[_0x55a962(0x105)]-0x1,_0x3abb5c;_0x460120>=0x0;_0x460120--)(_0x3abb5c=_0x58df3b[_0x460120])&&(_0x19ce2d=_0x3abb5c(_0x19ce2d)||_0x19ce2d);return _0x19ce2d;},_0x545ec4=(_0x41744d,_0x588448)=>(_0x1301ba,_0xc3c244)=>_0x588448(_0x1301ba,_0xc3c244,_0x41744d);const _0x31a3b4=0x12c,_0x57b72d=0x64;let _0x2ba9e3=class extends _0x508aad[_0x4078cd(0x216)]{constructor(_0x580062,_0x3f8116,_0x10bf28,_0x19fec5,_0x2f6b03,_0x59f316,_0x1c2aeb,_0x2730d1,_0x309004){const _0x5679e1=_0x4078cd;super(),_0x5e1a9d(this,_0x5679e1(0xf4),!0x1),_0x5e1a9d(this,_0x5679e1(0x1ee),!0x1),_0x5e1a9d(this,'_cursorInfo$',new _0x54d76a['BehaviorSubject'](new Map())),_0x5e1a9d(this,_0x5679e1(0x23f),this['_cursorInfo$'][_0x5679e1(0x14d)]()),_0x5e1a9d(this,'_roomMembers$',new _0x54d76a[(_0x5679e1(0x1dc))]([])),_0x5e1a9d(this,_0x5679e1(0x315),this[_0x5679e1(0x347)][_0x5679e1(0x261)](_0x54d76a[_0x5679e1(0x155)](_0x31a3b4))),_0x5e1a9d(this,'_updateLocalCursor',_0x508aad[_0x5679e1(0x112)](_0x1797fb=>{const _0x2944a8=_0x5679e1,_0x395823={'eventID':_0x319724['CollaborationEvent'][_0x2944a8(0x133)],'data':{'unitID':this[_0x2944a8(0x1ef)],'memberID':this[_0x2944a8(0x16f)][_0x2944a8(0x10d)](),'selection':_0x388027(_0x1797fb)}};this['_session'][_0x2944a8(0x2b7)](_0x395823,this['unitID']);},_0x57b72d)),(this[_0x5679e1(0x1ef)]=_0x580062,this[_0x5679e1(0x16f)]=_0x3f8116,this['_injector']=_0x10bf28,this[_0x5679e1(0x168)]=_0x19fec5,this['_memberService']=_0x2f6b03,this['_syncEditingCollabCursorService']=_0x59f316,this[_0x5679e1(0x1b7)]=_0x1c2aeb,this[_0x5679e1(0x1b0)]=_0x2730d1,this[_0x5679e1(0x21d)]=_0x309004);}get['cursorInfo'](){const _0x3c7071=_0x4078cd;return this['_cursorInfo$'][_0x3c7071(0x2d3)]();}get[_0x4078cd(0x1aa)](){const _0x190a9b=_0x4078cd;return this['_roomMembers$'][_0x190a9b(0x2d3)]();}[_0x4078cd(0x2e1)](){const _0x3a0181=_0x4078cd;super[_0x3a0181(0x2e1)](),this[_0x3a0181(0x2f0)][_0x3a0181(0x1f9)](new Map()),this[_0x3a0181(0x2f0)][_0x3a0181(0x2b5)](),this[_0x3a0181(0x347)][_0x3a0181(0x1f9)]([]),this[_0x3a0181(0x347)]['complete']();}[_0x4078cd(0x28e)](){const _0x2a3986=_0x4078cd;this[_0x2a3986(0x1ee)]||(this[_0x2a3986(0x1ee)]=!0x0,this[_0x2a3986(0x16f)]['sessionStatus$'][_0x2a3986(0x261)](_0x54d76a['takeUntil'](this['dispose$']))[_0x2a3986(0x26c)](_0x4065eb=>{const _0x582928=_0x2a3986;_0x4065eb===_0x356380[_0x582928(0x2cd)][_0x582928(0x15b)]?this[_0x582928(0x2e9)]():this[_0x582928(0x17d)]();}),this['_session']['event$']['pipe'](_0x54d76a[_0x2a3986(0x24d)](this[_0x2a3986(0xec)]))[_0x2a3986(0x26c)](_0x179dfa=>{const _0x380ca2=_0x2a3986,_0x5a7064=_0x179dfa[_0x380ca2(0xce)];_0x5a7064===_0x319724['CollaborationEvent'][_0x380ca2(0x133)]&&this['_onCursorUpdate'](_0x179dfa),_0x5a7064===_0x319724[_0x380ca2(0x26e)][_0x380ca2(0xe1)]&&this[_0x380ca2(0x161)](_0x179dfa);}),this[_0x2a3986(0x2d5)](this[_0x2a3986(0x21d)][_0x2a3986(0x30a)](_0x2b175e=>{const _0x32f390=_0x2a3986,_0x3f31d6=_0x2b175e[_0x32f390(0x162)];_0x3f31d6!=null&&this['_online']&&_0x2b175e['id']===_0x4f8728['SetTextSelectionsOperation']['id']&&_0x3f31d6[_0x32f390(0x363)]===this['unitID']&&_0x3f31d6[_0x32f390(0x150)]===!0x1&&_0x3f31d6[_0x32f390(0x2a0)][_0x32f390(0x105)]>0x0&&this['_updateLocalCursor'](_0x3f31d6[_0x32f390(0x2a0)]);})),this[_0x2a3986(0x160)][_0x2a3986(0x32c)]['pipe'](_0x54d76a['takeUntil'](this[_0x2a3986(0xec)]))[_0x2a3986(0x26c)](_0x4c6910=>{const _0x3916b8=_0x2a3986;if((_0x4c6910==null?void 0x0:_0x4c6910[_0x3916b8(0x1ef)])!==this[_0x3916b8(0x1ef)])return;const _0x293d20={'eventID':_0x319724[_0x3916b8(0x26e)][_0x3916b8(0x133)],'data':_0x4c6910};this['_onCursorUpdate'](_0x293d20);}),this[_0x2a3986(0x2d5)](this[_0x2a3986(0x21d)][_0x2a3986(0x30a)](_0x30be6b=>{const _0x1dae7f=_0x2a3986;if(_0x30be6b[_0x1dae7f(0x162)]==null)return;const _0x2cbcdd=_0x30be6b[_0x1dae7f(0x162)];if(_0x30be6b['id']!==_0x4f8728['RichTextEditingMutation']['id']||_0x2cbcdd['unitId']!==this['unitID'])return;const _0x25ece1={'id':_0x1dae7f(0x23b),'params':_0x2cbcdd},_0x334e31=this[_0x1dae7f(0x140)];for(const [_0x2dee9b,_0xe70951]of _0x334e31){const _0xbf8815={'id':_0x1dae7f(0x23b),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0xe70951[_0x1dae7f(0x2a0)]}},_0x42dc0a=this[_0x1dae7f(0x1b7)][_0x1dae7f(0x16e)](_0x25ece1,_0xbf8815,!0x1);if(_0x319724['isTransformMutationFailure'](_0x42dc0a))throw _0x42dc0a[_0x1dae7f(0x267)];_0x334e31['set'](_0x2dee9b,{..._0xe70951,'ranges':_0x42dc0a['m2Prime'][_0x1dae7f(0x162)]['textRanges']});}queueMicrotask(()=>{const _0x19fbcd=_0x1dae7f;this[_0x19fbcd(0x2f0)][_0x19fbcd(0x1f9)](_0x334e31);});})));}['_onCursorUpdate'](_0x48ecea){const _0x102685=_0x4078cd;var _0x31e72e,_0x407f1f;const {memberID:_0x5a7fcf,selection:_0x393e61}=_0x48ecea[_0x102685(0x1bd)],_0x2ee367=_0x14353d(_0x393e61),_0x328fa0=(_0x407f1f=(_0x31e72e=this['_memberService'][_0x102685(0x11a)](this[_0x102685(0x1ef)],_0x5a7fcf))==null?void 0x0:_0x31e72e[_0x102685(0x1e1)])!=null?_0x407f1f:_0x102685(0x144),_0x43fd86={'color':this[_0x102685(0x168)]['assignAColorForMemberID'](_0x5a7fcf),'name':_0x328fa0,'ranges':_0x2ee367},_0x11fe55=this[_0x102685(0x140)];_0x11fe55[_0x102685(0x270)](_0x5a7fcf,_0x43fd86),this[_0x102685(0x2f0)][_0x102685(0x1f9)](_0x11fe55);}[_0x4078cd(0x161)](_0x432e53){const {memberID:_0x156695}=_0x432e53['data'],_0x3308e5=this['cursorInfo'];_0x3308e5['delete'](_0x156695),this['_cursorInfo$']['next'](_0x3308e5);}[_0x4078cd(0x2e9)](){const _0x2290b7=_0x4078cd;var _0x20c037;if(this[_0x2290b7(0xf4)]=!0x0,((_0x20c037=this[_0x2290b7(0x1b0)][_0x2290b7(0x18a)]())==null?void 0x0:_0x20c037[_0x2290b7(0x2a9)]())!==this[_0x2290b7(0x1ef)])return;const _0x5d5f33=this['_injector'][_0x2290b7(0x1d2)](_0x4f8728[_0x2290b7(0x2ec)])[_0x2290b7(0x30d)]();Array[_0x2290b7(0x356)](_0x5d5f33)&&_0x5d5f33[_0x2290b7(0x105)]>0x0&&this[_0x2290b7(0x13c)](_0x5d5f33);}[_0x4078cd(0x17d)](){const _0x9f31d=_0x4078cd;this[_0x9f31d(0xf4)]=!0x1;}};_0x2ba9e3=_0x537b54([_0x545ec4(0x2,_0x508aad['Inject'](_0x508aad['Injector'])),_0x545ec4(0x3,_0x508aad[_0x4078cd(0x2b3)](_0x3785e5)),_0x545ec4(0x4,_0x508aad[_0x4078cd(0x2b3)](_0x356380[_0x4078cd(0x2d0)])),_0x545ec4(0x5,_0x508aad[_0x4078cd(0x2b3)](_0x3f1775)),_0x545ec4(0x6,_0x319724[_0x4078cd(0xd6)]),_0x545ec4(0x7,_0x508aad[_0x4078cd(0x263)]),_0x545ec4(0x8,_0x508aad[_0x4078cd(0x271)])],_0x2ba9e3);var _0x48ab4a=Object[_0x4078cd(0x2dc)],_0x171d61=(_0x2b5682,_0x572c70,_0x298068,_0xb0f61c)=>{const _0x2bcde9=_0x4078cd;for(var _0x39e661=_0xb0f61c>0x1?void 0x0:_0xb0f61c?_0x48ab4a(_0x572c70,_0x298068):_0x572c70,_0x158964=_0x2b5682[_0x2bcde9(0x105)]-0x1,_0x4287f8;_0x158964>=0x0;_0x158964--)(_0x4287f8=_0x2b5682[_0x158964])&&(_0x39e661=_0x4287f8(_0x39e661)||_0x39e661);return _0x39e661;},_0x1c9040=(_0x583152,_0x415d01)=>(_0x4fe947,_0x5ec767)=>_0x415d01(_0x4fe947,_0x5ec767,_0x583152);const _0x2b4566=0x12c,_0x216cf8=0x64,_0x323757=()=>{let _0x24b277=[],_0x44f644=!0x1;return _0x165385=>{const _0x28c59a=_0x5d41;_0x24b277[_0x28c59a(0x29b)](_0x165385),_0x44f644||(_0x44f644=!0x0,setTimeout(()=>{const _0x4d2082=_0x28c59a;_0x24b277[_0x4d2082(0x346)](_0x27fb88=>_0x27fb88()),_0x24b277=[],_0x44f644=!0x1;}));};};let _0x1c7033=class extends _0x508aad[_0x4078cd(0x216)]{constructor(_0x6a4e6c,_0x4930c0,_0x3821ea,_0x14a38b,_0x214f67,_0x4109a5,_0x45d1c7,_0x3ddc07){const _0x5489dd=_0x4078cd;super(),_0x5e1a9d(this,_0x5489dd(0xf4),!0x1),_0x5e1a9d(this,_0x5489dd(0x1ee),!0x1),_0x5e1a9d(this,'_cursorInfo$',new _0x54d76a['BehaviorSubject'](new Map())),_0x5e1a9d(this,_0x5489dd(0x23f),this[_0x5489dd(0x2f0)][_0x5489dd(0x14d)]()),_0x5e1a9d(this,_0x5489dd(0x347),new _0x54d76a[(_0x5489dd(0x1dc))]([])),_0x5e1a9d(this,_0x5489dd(0x315),this[_0x5489dd(0x347)][_0x5489dd(0x261)](_0x54d76a[_0x5489dd(0x155)](_0x2b4566))),_0x5e1a9d(this,_0x5489dd(0x13c),_0x508aad[_0x5489dd(0x112)]((_0x4c8cbd,_0x2f1e66)=>{const _0x50dcee=_0x5489dd,_0x42be55={'eventID':_0x319724[_0x50dcee(0x26e)][_0x50dcee(0x133)],'data':{'unitID':this[_0x50dcee(0x1ef)],'memberID':this[_0x50dcee(0x16f)][_0x50dcee(0x10d)](),'selection':_0x38c6a4[_0x50dcee(0x262)](_0x4c8cbd,_0x2f1e66['range'])}};this[_0x50dcee(0x16f)][_0x50dcee(0x2b7)](_0x42be55,this[_0x50dcee(0x1ef)]);},_0x216cf8)),(this[_0x5489dd(0x1ef)]=_0x6a4e6c,this[_0x5489dd(0x16f)]=_0x4930c0,this[_0x5489dd(0x176)]=_0x3821ea,this[_0x5489dd(0x168)]=_0x14a38b,this['_memberService']=_0x214f67,this['_univerInstanceService']=_0x4109a5,this[_0x5489dd(0x21d)]=_0x45d1c7,this[_0x5489dd(0x1c5)]=_0x3ddc07);}get[_0x4078cd(0x140)](){const _0x24c037=_0x4078cd;return this['_cursorInfo$'][_0x24c037(0x2d3)]();}get[_0x4078cd(0x1aa)](){const _0x136624=_0x4078cd;return this[_0x136624(0x347)]['getValue']();}['dispose'](){const _0x509b7d=_0x4078cd;super[_0x509b7d(0x2e1)](),this['_cursorInfo$']['next'](new Map()),this[_0x509b7d(0x2f0)]['complete'](),this[_0x509b7d(0x347)][_0x509b7d(0x1f9)]([]),this[_0x509b7d(0x347)]['complete']();}[_0x4078cd(0x28e)](){const _0x33de17=_0x4078cd;this[_0x33de17(0x1ee)]||(this[_0x33de17(0x1ee)]=!0x0,this[_0x33de17(0x16f)]['sessionStatus$'][_0x33de17(0x261)](_0x54d76a[_0x33de17(0x24d)](this[_0x33de17(0xec)]))[_0x33de17(0x26c)](_0x1da486=>{const _0x102029=_0x33de17;_0x1da486===_0x356380['SessionStatus'][_0x102029(0x15b)]?this['_toggleOnline']():this[_0x102029(0x17d)]();}),this['_session']['event$'][_0x33de17(0x261)](_0x54d76a['takeUntil'](this['dispose$']))[_0x33de17(0x26c)](_0x581911=>{const _0x2ba2dc=_0x33de17,_0x442443=_0x581911['eventID'];_0x442443===_0x319724[_0x2ba2dc(0x26e)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x581911),_0x442443===_0x319724[_0x2ba2dc(0x26e)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x581911);}),this[_0x33de17(0x163)](),this[_0x33de17(0x2d5)](this['_commandService'][_0x33de17(0x30a)](_0x4140d0=>{const _0x43672b=_0x33de17;if(this[_0x43672b(0xf4)]&&_0x4140d0['id']===_0x3417b8[_0x43672b(0x333)]['id']&&_0x4140d0[_0x43672b(0x162)]['unitId']===this[_0x43672b(0x1ef)]){const _0x55bf26=_0x4140d0[_0x43672b(0x162)];this[_0x43672b(0x13c)](_0x55bf26[_0x43672b(0x2ed)],_0x55bf26[_0x43672b(0xf5)][0x0]);}})));}['_onCursorUpdate'](_0x41a2f9){const _0x541d7d=_0x4078cd;var _0x3cc65e,_0xcb11a0;const {memberID:_0x1f1cb7,selection:_0x171faa}=_0x41a2f9[_0x541d7d(0x1bd)],{sheetName:_0x1f3049,range:_0x560197}=_0x38c6a4[_0x541d7d(0x352)](_0x171faa),_0x21ddcd={'name':(_0xcb11a0=(_0x3cc65e=this[_0x541d7d(0x27e)][_0x541d7d(0x11a)](this[_0x541d7d(0x1ef)],_0x1f1cb7))==null?void 0x0:_0x3cc65e[_0x541d7d(0x1e1)])!=null?_0xcb11a0:_0x541d7d(0x144),'range':this['_getMergeRange'](_0x1f3049,_0x560197),'sheetID':_0x1f3049,'color':this[_0x541d7d(0x168)][_0x541d7d(0x2e4)](_0x1f1cb7),'selection':_0x171faa},_0x41db1a=this[_0x541d7d(0x140)];_0x41db1a[_0x541d7d(0x270)](_0x1f1cb7,_0x21ddcd),this['_cursorInfo$'][_0x541d7d(0x1f9)](_0x41db1a);}[_0x4078cd(0x161)](_0x320016){const _0x26c454=_0x4078cd,{memberID:_0x4f76e8}=_0x320016[_0x26c454(0x1bd)],_0xc5d945=this[_0x26c454(0x140)];_0xc5d945[_0x26c454(0x204)](_0x4f76e8),this['_cursorInfo$']['next'](_0xc5d945);}[_0x4078cd(0x11f)](_0x466160,_0x3cb02b){const _0x1de63b=_0x4078cd;var _0x40fed4,_0x158e45;const _0x58955e=(_0x158e45=(_0x40fed4=this['_univerInstanceService'][_0x1de63b(0x243)](this['unitID']))==null?void 0x0:_0x40fed4[_0x1de63b(0x1f6)](_0x466160))==null?void 0x0:_0x158e45['getMergeData']();return(_0x58955e==null?void 0x0:_0x58955e[_0x1de63b(0x296)](_0x324783=>_0x508aad[_0x1de63b(0x20b)][_0x1de63b(0x295)](_0x324783,_0x3cb02b)))||_0x3cb02b;}[_0x4078cd(0x163)](){const _0x5c4ff2=_0x4078cd,_0x1fdda5=new _0x508aad[(_0x5c4ff2(0x206))](),_0x15e5a6=_0x323757(),_0x499c90=()=>{_0x1fdda5['dispose']();const _0x2f6634=(_0x4c2fca,_0x3784c9,_0x16b387,_0x28d907)=>{const _0x27ed02=_0x5d41;let _0x6c62d4=[];switch(_0x4c2fca['id']){case _0x3417b8['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x6c62d4=_0x3417b8[_0x27ed02(0x310)](_0x4c2fca,_0x28d907);break;}case _0x3417b8['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x6c62d4=_0x3417b8['handleDeleteRangeMoveUp'](_0x4c2fca,_0x28d907);break;}case _0x3417b8[_0x27ed02(0x102)]['InsertColCommandId']:{_0x6c62d4=_0x3417b8[_0x27ed02(0x12d)](_0x4c2fca,_0x28d907);break;}case _0x3417b8[_0x27ed02(0x102)][_0x27ed02(0x1f5)]:{_0x6c62d4=_0x3417b8[_0x27ed02(0x18c)](_0x4c2fca,_0x28d907);break;}case _0x3417b8[_0x27ed02(0x102)]['InsertRangeMoveRightCommandId']:{_0x6c62d4=_0x3417b8[_0x27ed02(0x241)](_0x4c2fca,_0x28d907);break;}case _0x3417b8[_0x27ed02(0x102)][_0x27ed02(0x1a9)]:{_0x6c62d4=_0x3417b8[_0x27ed02(0x1b2)](_0x4c2fca,_0x28d907);break;}case _0x3417b8['EffectRefRangId'][_0x27ed02(0x31f)]:{_0x6c62d4=_0x3417b8[_0x27ed02(0xd3)](_0x4c2fca,_0x28d907);break;}case _0x3417b8[_0x27ed02(0x102)][_0x27ed02(0xeb)]:{_0x6c62d4=_0x3417b8[_0x27ed02(0x281)](_0x4c2fca,_0x28d907);break;}case _0x3417b8['EffectRefRangId'][_0x27ed02(0x334)]:{_0x6c62d4=_0x3417b8[_0x27ed02(0x24c)](_0x4c2fca,_0x28d907);break;}}const _0x51611a=_0x3417b8[_0x27ed02(0x276)](_0x6c62d4,_0x28d907),_0x58c723=this[_0x27ed02(0x140)][_0x27ed02(0x1d2)](_0x3784c9);if(_0x58c723&&_0x51611a){const _0x276971={..._0x58c723,'range':_0x51611a};this[_0x27ed02(0x140)][_0x27ed02(0x270)](_0x3784c9,_0x276971),_0x15e5a6(()=>{const _0x365d28=_0x27ed02,_0x9b04f0=this[_0x365d28(0x1c5)][_0x365d28(0x34d)](_0x51611a,_0x301f14=>(_0x9b04f0[_0x365d28(0x2e1)](),_0x2f6634(_0x301f14,_0x3784c9,_0x16b387,_0x51611a)));_0x1fdda5[_0x365d28(0xe7)](_0x9b04f0);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x4b4ab7,_0xbb1236)=>{const _0x5a2099=_0x5d41,{range:_0x2cc27e,sheetID:_0x6ea1ca}=_0x4b4ab7,_0x4cc4b9=this[_0x5a2099(0x1c5)][_0x5a2099(0x34d)](_0x2cc27e,_0x107117=>(_0x4cc4b9[_0x5a2099(0x2e1)](),_0x2f6634(_0x107117,_0xbb1236,_0x6ea1ca,_0x2cc27e)));_0x1fdda5[_0x5a2099(0xe7)](_0x4cc4b9);});};this['disposeWithMe'](_0x508aad[_0x5c4ff2(0x11d)](this[_0x5c4ff2(0x2f0)][_0x5c4ff2(0x26c)](()=>{_0x499c90();})));}[_0x4078cd(0x2e9)](){const _0x3c69fd=_0x4078cd;var _0x3f6f5a,_0x222cd2;if(this['_online']=!0x0,((_0x3f6f5a=this[_0x3c69fd(0x1b0)][_0x3c69fd(0x18a)]())==null?void 0x0:_0x3f6f5a[_0x3c69fd(0x2a9)]())!==this['unitID'])return;const _0x3dfee4=(_0x222cd2=this[_0x3c69fd(0x176)][_0x3c69fd(0x1d2)](_0x3417b8[_0x3c69fd(0x226)])[_0x3c69fd(0x209)]())==null?void 0x0:_0x222cd2[0x0],_0x5e9a5e=this['_univerInstanceService'][_0x3c69fd(0x22b)](_0x508aad['UniverInstanceType'][_0x3c69fd(0x2ac)])[_0x3c69fd(0x30e)]();_0x3dfee4&&_0x5e9a5e&&this[_0x3c69fd(0x13c)](_0x5e9a5e['getSheetId'](),_0x3dfee4);}[_0x4078cd(0x17d)](){const _0x5be6ae=_0x4078cd;this[_0x5be6ae(0xf4)]=!0x1;}};_0x1c7033=_0x171d61([_0x1c9040(0x2,_0x508aad[_0x4078cd(0x2b3)](_0x508aad['Injector'])),_0x1c9040(0x3,_0x508aad['Inject'](_0x3785e5)),_0x1c9040(0x4,_0x508aad[_0x4078cd(0x2b3)](_0x356380[_0x4078cd(0x2d0)])),_0x1c9040(0x5,_0x508aad[_0x4078cd(0x263)]),_0x1c9040(0x6,_0x508aad[_0x4078cd(0x271)]),_0x1c9040(0x7,_0x508aad[_0x4078cd(0x2b3)](_0x3417b8[_0x4078cd(0x29d)]))],_0x1c7033);var _0x25cea8=Object[_0x4078cd(0x2dc)],_0xebd57b=(_0x2ad704,_0x5cd619,_0x2a4c94,_0x35cb3e)=>{const _0x801cb2=_0x4078cd;for(var _0x4aaaef=_0x35cb3e>0x1?void 0x0:_0x35cb3e?_0x25cea8(_0x5cd619,_0x2a4c94):_0x5cd619,_0x5a696a=_0x2ad704[_0x801cb2(0x105)]-0x1,_0x2a424e;_0x5a696a>=0x0;_0x5a696a--)(_0x2a424e=_0x2ad704[_0x5a696a])&&(_0x4aaaef=_0x2a424e(_0x4aaaef)||_0x4aaaef);return _0x4aaaef;},_0x285bdd=(_0x176dd5,_0x1bdbee)=>(_0x5376ef,_0x3b2dea)=>_0x1bdbee(_0x5376ef,_0x3b2dea,_0x176dd5);let _0x3f4f06=class extends _0x508aad[_0x4078cd(0x216)]{constructor(_0x4d9d6c,_0x584e2b,_0x433da2){const _0x2edfa0=_0x4078cd;super(),_0x5e1a9d(this,_0x2edfa0(0x2e3),new Map()),_0x5e1a9d(this,_0x2edfa0(0x28f),new _0x54d76a[(_0x2edfa0(0x1cb))]()),(this[_0x2edfa0(0x1b0)]=_0x4d9d6c,this['_injector']=_0x584e2b,this['_collabSessionService']=_0x433da2,this[_0x2edfa0(0x1ee)]());}[_0x4078cd(0x2e1)](){const _0x2d770f=_0x4078cd;super[_0x2d770f(0x2e1)](),this[_0x2d770f(0x28f)][_0x2d770f(0x2b5)](),this[_0x2d770f(0x2e3)]['forEach'](_0x188c7d=>_0x188c7d[_0x2d770f(0x2e1)]());}[_0x4078cd(0x126)](_0x48b6c2){const _0x228497=_0x4078cd;return this[_0x228497(0x2e3)][_0x228497(0x12a)](_0x48b6c2)?this[_0x228497(0x2e3)]['get'](_0x48b6c2)[_0x228497(0x23f)]:this[_0x228497(0x28f)]['pipe'](_0x54d76a['filter'](_0x24b400=>_0x24b400[_0x228497(0x1ef)]===_0x48b6c2),_0x54d76a[_0x228497(0xea)](_0x73ad5a=>_0x73ad5a['cursorInfo$']));}['_init'](){const _0x940206=_0x4078cd;this[_0x940206(0x1b0)][_0x940206(0x21b)](_0x508aad[_0x940206(0x303)][_0x940206(0x2ac)])[_0x940206(0x261)](_0x54d76a['takeUntil'](this['dispose$']))['subscribe'](async _0x4c723b=>{const _0x48e651=_0x940206,_0x240c89=_0x4c723b[_0x48e651(0x2a9)](),_0x44058=await this['_startSheetCollabCursor'](_0x240c89);this['_entityInit$'][_0x48e651(0x1f9)](_0x44058),this[_0x48e651(0x2e3)][_0x48e651(0x270)](_0x240c89,_0x44058);}),this[_0x940206(0x1b0)][_0x940206(0x21b)](_0x508aad['UniverInstanceType'][_0x940206(0x23c)])['pipe'](_0x54d76a['takeUntil'](this['dispose$']))['pipe'](_0x54d76a[_0x940206(0x366)](_0x2cedcc=>!_0x2cedcc[_0x940206(0x2a9)]()[_0x940206(0x2eb)]('__')))[_0x940206(0x26c)](async _0xa53418=>{const _0x236967=_0x940206,_0x399574=_0xa53418[_0x236967(0x2a9)](),_0x13566f=await this[_0x236967(0x244)](_0x399574);this[_0x236967(0x28f)]['next'](_0x13566f),this['_entities']['set'](_0x399574,_0x13566f);}),_0x54d76a[_0x940206(0x200)](this[_0x940206(0x1b0)][_0x940206(0x19d)](_0x508aad[_0x940206(0x303)][_0x940206(0x23c)]),this[_0x940206(0x1b0)][_0x940206(0x19d)](_0x508aad[_0x940206(0x303)]['UNIVER_SHEET']))[_0x940206(0x261)](_0x54d76a[_0x940206(0x24d)](this[_0x940206(0xec)]))[_0x940206(0x26c)](_0x5ab8ec=>{const _0x32f97f=_0x940206,_0x598e00=_0x5ab8ec[_0x32f97f(0x2a9)](),_0x2bba42=this[_0x32f97f(0x2e3)][_0x32f97f(0x1d2)](_0x598e00);_0x2bba42&&(_0x2bba42[_0x32f97f(0x2e1)](),this[_0x32f97f(0x2e3)]['delete'](_0x598e00));});}async['_startSheetCollabCursor'](_0x58bb6b){const _0x4b938e=_0x4078cd,_0x588ba8=await this[_0x4b938e(0x35b)]['requireSession'](_0x58bb6b),_0x3f9e74=this[_0x4b938e(0x176)][_0x4b938e(0x217)](_0x1c7033,_0x58bb6b,_0x588ba8);return _0x3f9e74[_0x4b938e(0x28e)](),_0x3f9e74;}async[_0x4078cd(0x244)](_0x263d75){const _0x1aa528=_0x4078cd,_0x30676e=await this[_0x1aa528(0x35b)][_0x1aa528(0x17a)](_0x263d75),_0x56623a=this[_0x1aa528(0x176)]['createInstance'](_0x2ba9e3,_0x263d75,_0x30676e);return _0x56623a[_0x1aa528(0x28e)](),_0x56623a;}};_0x3f4f06=_0xebd57b([_0x285bdd(0x0,_0x508aad[_0x4078cd(0x263)]),_0x285bdd(0x1,_0x508aad[_0x4078cd(0x2b3)](_0x508aad[_0x4078cd(0x2ee)])),_0x285bdd(0x2,_0x508aad[_0x4078cd(0x2b3)](_0x356380[_0x4078cd(0x1dd)]))],_0x3f4f06);const _0x1a8476=0x14,_0x3c1687=0xc8,_0x4ed3df=0x4,_0x4dd544=0x5;function _0xb9f8ea(_0x3840c7,_0x11de8e){const _0x1e6c83=_0x4078cd;let {radius:_0x2548a2,width:_0x124ec8,height:_0x1ab2c9}=_0x11de8e;_0x2548a2=_0x2548a2!=null?_0x2548a2:0x0,_0x124ec8=_0x124ec8!=null?_0x124ec8:0x1e,_0x1ab2c9=_0x1ab2c9!=null?_0x1ab2c9:0x1e;let _0xad416a=0x0,_0x137adb=0x0,_0x282ad9=0x0;_0xad416a=_0x137adb=_0x282ad9=Math[_0x1e6c83(0x25c)](_0x2548a2,_0x124ec8/0x2,_0x1ab2c9/0x2),_0x3840c7[_0x1e6c83(0x272)](),_0x3840c7['moveTo'](_0xad416a,0x0),_0x3840c7[_0x1e6c83(0x108)](_0x124ec8-_0x137adb,0x0),_0x3840c7[_0x1e6c83(0x125)](_0x124ec8-_0x137adb,_0x137adb,_0x137adb,Math['PI']*0x3/0x2,0x0,!0x1),_0x3840c7[_0x1e6c83(0x108)](_0x124ec8,_0x1ab2c9-_0x282ad9),_0x3840c7['arc'](_0x124ec8-_0x282ad9,_0x1ab2c9-_0x282ad9,_0x282ad9,0x0,Math['PI']/0x2,!0x1),_0x3840c7['lineTo'](0x0,_0x1ab2c9),_0x3840c7[_0x1e6c83(0x108)](0x0,_0xad416a),_0x3840c7['arc'](_0xad416a,_0xad416a,_0xad416a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3840c7[_0x1e6c83(0x2e2)](),_0x11de8e[_0x1e6c83(0x1e9)]&&(_0x3840c7[_0x1e6c83(0x2fa)](),_0x3840c7[_0x1e6c83(0x1d9)]=_0x11de8e['fill'],_0x11de8e[_0x1e6c83(0x207)]===_0x1e6c83(0x192)?_0x3840c7[_0x1e6c83(0x1e9)](_0x1e6c83(0x192)):_0x3840c7[_0x1e6c83(0x1e9)](),_0x3840c7[_0x1e6c83(0x21f)]());}class _0x1260d7 extends _0x23a227['Shape']{constructor(_0x365747,_0x598399){const _0xe17a7b=_0x4078cd;super(_0x365747,_0x598399),_0x5e1a9d(this,_0xe17a7b(0x259)),_0x5e1a9d(this,_0xe17a7b(0xe9)),(this['color']=_0x598399==null?void 0x0:_0x598399[_0xe17a7b(0x259)],this[_0xe17a7b(0xe9)]=_0x598399==null?void 0x0:_0x598399['text']);}static[_0x4078cd(0xde)](_0x452d52,_0x3daa81){const _0x41dbc6=_0x4078cd,{text:_0x5bba15,color:_0x52b636}=_0x3daa81;_0x452d52[_0x41dbc6(0x2fa)](),_0x452d52[_0x41dbc6(0x33e)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x17bd35=_0x452d52[_0x41dbc6(0x302)](_0x5bba15)[_0x41dbc6(0x2d2)],_0x293245=Math[_0x41dbc6(0x25c)](_0x17bd35+0x2*_0x4ed3df,_0x3c1687);_0xb9f8ea(_0x452d52,{'height':_0x1a8476,'radius':0x4,'width':_0x293245,'fill':_0x52b636}),_0x452d52['fillStyle']=_0x41dbc6(0x354);const _0x2a18d0=_0x4ed3df,_0x4c2fcd=_0x1a8476-_0x4dd544,_0x2172c0=_0x3c1687-0x2*_0x4ed3df;if(_0x17bd35>_0x2172c0){let _0x2a7207='',_0x86a7a9=0x0;for(const _0x33ebfb of _0x5bba15){const _0x351626=_0x452d52[_0x41dbc6(0x302)](_0x33ebfb)['width'];if(_0x86a7a9+_0x351626<=_0x2172c0-_0x452d52[_0x41dbc6(0x302)](_0x41dbc6(0x13b))[_0x41dbc6(0x2d2)])_0x2a7207+=_0x33ebfb,_0x86a7a9+=_0x351626;else{_0x2a7207+=_0x41dbc6(0x13b);break;}}_0x452d52[_0x41dbc6(0x2cf)](_0x2a7207,_0x2a18d0,_0x4c2fcd);}else _0x452d52[_0x41dbc6(0x2cf)](_0x5bba15,_0x2a18d0,_0x4c2fcd);_0x452d52[_0x41dbc6(0x21f)]();}[_0x4078cd(0x256)](_0x51e4a5){const _0x23d5f2=_0x4078cd;_0x1260d7[_0x23d5f2(0xde)](_0x51e4a5,this);}}const _0x424dc2='collab-text-anchor-',_0x2e8ced='collab-text-range-',_0x4d0e22=_0x4078cd(0x13a),_0x565c39=0x6,_0x1a56d2=1.5,_0x4dfd67=0x4,_0x31c722=1.5,_0x482e1c=_0x4078cd(0x22e);class _0x1ca051{constructor(_0x4d8971,_0x61cc46,_0x8b68f4,_0x2d7c04){const _0x2f8f44=_0x4078cd;_0x5e1a9d(this,'_shapes',[]),_0x5e1a9d(this,_0x2f8f44(0x2d9),null),_0x5e1a9d(this,_0x2f8f44(0x2b6),null),_0x5e1a9d(this,_0x2f8f44(0x298),null),_0x5e1a9d(this,_0x2f8f44(0x20e),null),_0x5e1a9d(this,_0x2f8f44(0x189),null),(this[_0x2f8f44(0xee)]=_0x4d8971,this[_0x2f8f44(0x15f)]=_0x61cc46,this[_0x2f8f44(0x367)]=_0x8b68f4,this[_0x2f8f44(0x2bc)]=_0x2d7c04,this['_render']());}set[_0x4078cd(0x20a)](_0x19a4cc){const _0x5b7fb7=_0x4078cd;_0x19a4cc?(this[_0x5b7fb7(0x298)]&&this[_0x5b7fb7(0x298)][_0x5b7fb7(0x328)](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x5b7fb7(0x298)]&&this[_0x5b7fb7(0x298)][_0x5b7fb7(0x2a4)](),this[_0x5b7fb7(0x2b6)]&&this[_0x5b7fb7(0x2b6)][_0x5b7fb7(0x328)]());}[_0x4078cd(0x2e1)](){const _0x548f81=_0x4078cd;for(const _0x580b64 of this[_0x548f81(0x2e7)])_0x580b64[_0x548f81(0x2e1)]();this[_0x548f81(0x2b6)]&&this[_0x548f81(0x2b6)][_0x548f81(0x2e1)](),this[_0x548f81(0x298)]&&this[_0x548f81(0x298)]['dispose'](),this[_0x548f81(0x2d9)]&&this[_0x548f81(0x2d9)][_0x548f81(0x2e1)](),this['_eventUnsubscribe']&&this[_0x548f81(0x189)]();}[_0x4078cd(0x20c)](){const _0xd5aef5=_0x4078cd;var _0x32298d;const {_docSkeleton:_0x308f13,_document:_0x3d5410}=this,{color:_0x3f88a3,name:_0x448068,ranges:_0x3a0a0a}=this[_0xd5aef5(0xee)],_0x4f0f85=_0x3d5410[_0xd5aef5(0x2ae)](),{docsLeft:_0x3aa0b4,docsTop:_0x2f1a3d}=_0x4f0f85,_0x1ac972=new _0x176070[(_0xd5aef5(0x279))](_0x4f0f85,_0x308f13);for(const {startOffset:_0x1930ee,endOffset:_0xb4b639,rangeType:_0xe818fd,segmentId:_0x2334af,segmentPage:_0x3a874f,collapsed:_0x3ac691,isActive:_0x4734cb}of _0x3a0a0a){const _0x42b066=_0x308f13[_0xd5aef5(0x335)](_0x1930ee,!0x0,_0x2334af,_0x3a874f);let _0x30e2b7=_0x308f13[_0xd5aef5(0x335)](_0xb4b639,!0x0,_0x2334af,_0x3a874f);if(_0x30e2b7==null&&(_0x30e2b7=_0x308f13[_0xd5aef5(0x335)](_0xb4b639-0x1,!0x1,_0x2334af,_0x3a874f)),_0x4734cb){const {contentBoxPointGroup:_0x383726}=_0x1ac972[_0xd5aef5(0x28d)](_0x30e2b7,_0x30e2b7);if(_0x383726[_0xd5aef5(0x105)]===0x0)continue;this['_drawAnchor'](_0x3f88a3,_0x383726,_0x3aa0b4,_0x2f1a3d,_0x448068),this[_0xd5aef5(0x189)]=this['_handleHover']();}if(_0x42b066&&_0x30e2b7){if(_0xe818fd===_0x508aad[_0xd5aef5(0x1d0)][_0xd5aef5(0x32e)]){const _0x2e3a00=new _0x176070[(_0xd5aef5(0x2d4))](_0x4f0f85,_0x308f13),{pointGroup:_0x5357f4}=(_0x32298d=_0x2e3a00[_0xd5aef5(0x28d)](_0x42b066,_0x30e2b7))!=null?_0x32298d:{};if(_0x5357f4==null||_0x5357f4['length']===0x0)continue;this[_0xd5aef5(0x29a)](_0x3f88a3,_0x5357f4,_0x3aa0b4,_0x2f1a3d);}else{if(!_0x3ac691){const {borderBoxPointGroup:_0x45d670}=_0x1ac972[_0xd5aef5(0x28d)](_0x42b066,_0x30e2b7);if(_0x45d670['length']===0x0)continue;this['_drawTextRange'](_0x3f88a3,_0x45d670,_0x3aa0b4,_0x2f1a3d);}}}}}[_0x4078cd(0x1bc)](_0x32a776,_0x52c989,_0x4510c5,_0x42165d,_0x3960ff){const _0x23b114=_0x4078cd,_0x30f1f3=this[_0x23b114(0x2fc)](_0x52c989),{left:_0x2770c7,top:_0x1cfc80,height:_0x41cb31}=_0x30f1f3,_0x1e5299=this[_0x23b114(0x24a)](),_0x161c2a=_0x31c722/_0x1e5299,_0x39f60f=new _0x23a227[(_0x23b114(0x31c))](_0x424dc2+_0x508aad[_0x23b114(0x195)](_0x565c39),{'left':_0x2770c7+_0x4510c5-_0x161c2a,'top':_0x1cfc80+_0x42165d,'height':_0x41cb31,'width':_0x1a56d2,'fill':_0x32a776||_0x23a227['getColor'](_0x508aad[_0x23b114(0x22a)][_0x23b114(0x13e)],0x0),'strokeWidth':_0x161c2a,'stroke':_0x482e1c,'evented':!0x0});this['_anchor']=_0x39f60f,this['_scene'][_0x23b114(0x1b8)](_0x39f60f,_0x176070[_0x23b114(0x1a5)]);const _0x1145b3=new _0x23a227[(_0x23b114(0x31c))](_0x424dc2+_0x508aad[_0x23b114(0x195)](_0x565c39),{'left':_0x2770c7+_0x4510c5-_0x161c2a,'top':_0x1cfc80+_0x42165d-_0x4dfd67/0x2,'height':_0x4dfd67,'width':_0x4dfd67,'fill':_0x32a776||_0x23a227['getColor'](_0x508aad['COLORS'][_0x23b114(0x13e)],0x0),'strokeWidth':0x0,'stroke':_0x32a776||_0x23a227['getColor'](_0x508aad[_0x23b114(0x22a)][_0x23b114(0x13e)],0x0),'evented':!0x1});this['_anchorDot']=_0x1145b3,this[_0x23b114(0x15f)][_0x23b114(0x1b8)](_0x1145b3,_0x176070[_0x23b114(0x1a5)]);const _0x5f469d=new _0x1260d7(_0x424dc2+_0x508aad['generateRandomId'](_0x565c39),{'left':_0x2770c7+_0x4510c5-_0x161c2a,'top':_0x1cfc80+_0x42165d-_0x1a8476,'text':_0x3960ff,'color':_0x32a776});this[_0x23b114(0x2b6)]=_0x5f469d,this[_0x23b114(0x15f)][_0x23b114(0x1b8)](_0x5f469d,_0x176070[_0x23b114(0x1a5)]),this[_0x23b114(0x20a)]=!0x1;}['_handleHover'](){const _0x5de4d0=_0x4078cd,_0x384a6f=this[_0x5de4d0(0x2d9)][_0x5de4d0(0x255)][_0x5de4d0(0x311)](()=>{const _0x39d5c1=_0x5de4d0;this[_0x39d5c1(0x20a)]=!0x0;}),_0x154b7f=this[_0x5de4d0(0x2d9)][_0x5de4d0(0x364)][_0x5de4d0(0x311)](()=>{const _0x5a7e6f=_0x5de4d0;this['_hideTimer']&&clearTimeout(this[_0x5a7e6f(0x20e)]),this[_0x5a7e6f(0x20e)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3fa220=_0x5de4d0;_0x384a6f['unsubscribe'](),_0x154b7f[_0x3fa220(0x121)]();};}[_0x4078cd(0x1be)](_0x42d3cb,_0x3b44b2,_0x5512fe,_0x381c3e){const _0x4a7237=_0x4078cd,_0x5dbc6e=new _0x508aad[(_0x4a7237(0x2b1))](_0x42d3cb)['setAlpha'](0.2)[_0x4a7237(0xcf)](),_0x23b180=new _0x23a227[(_0x4a7237(0xcd))](_0x2e8ced+_0x508aad[_0x4a7237(0x195)](_0x565c39),{'pointsGroup':_0x3b44b2,'fill':_0x5dbc6e||_0x23a227['getColor'](_0x508aad[_0x4a7237(0x22a)][_0x4a7237(0x13e)],0.2),'left':_0x5512fe,'top':_0x381c3e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a7237(0x2e7)][_0x4a7237(0x29b)](_0x23b180),this[_0x4a7237(0x15f)][_0x4a7237(0x1b8)](_0x23b180,_0x176070[_0x4a7237(0x1a5)]);}[_0x4078cd(0x29a)](_0x2c43a0,_0x33f714,_0xeb6917,_0x23e89c){const _0x167151=_0x4078cd,_0x4e3fe6=new _0x508aad['ColorKit'](_0x2c43a0)[_0x167151(0x2d7)](0.2)[_0x167151(0xcf)](),_0x41a9f0=new _0x23a227[(_0x167151(0xcd))](_0x4d0e22+_0x508aad[_0x167151(0x195)](_0x565c39),{'pointsGroup':_0x33f714,'fill':_0x4e3fe6||_0x23a227[_0x167151(0x12f)](_0x508aad[_0x167151(0x22a)][_0x167151(0x13e)],0.2),'left':_0xeb6917,'top':_0x23e89c,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x167151(0x29b)](_0x41a9f0),this[_0x167151(0x15f)]['addObject'](_0x41a9f0,_0x176070[_0x167151(0x1a5)]);}['_getAnchorBounding'](_0x292056){const _0x411294=_0x292056[0x0],_0x333b5a=_0x411294[0x0],_0xf6442a=_0x411294[0x2],{x:_0x2caec6,y:_0x3d8e33}=_0x333b5a,{x:_0x49ed6e,y:_0x4679df}=_0xf6442a;return{'left':_0x2caec6,'top':_0x3d8e33,'width':_0x49ed6e-_0x2caec6,'height':_0x4679df-_0x3d8e33};}[_0x4078cd(0x24a)](){const _0x198728=_0x4078cd,{scaleX:_0x2ef039,scaleY:_0x5bd33b}=this['_scene']['getAncestorScale']();return Math[_0x198728(0x21c)](_0x2ef039,_0x5bd33b);}}var _0x2824b1=Object[_0x4078cd(0x2dc)],_0x3a7a66=(_0xef0e91,_0x1c8743,_0x31fd56,_0x5ca325)=>{const _0x3ca4fa=_0x4078cd;for(var _0x492ab4=_0x5ca325>0x1?void 0x0:_0x5ca325?_0x2824b1(_0x1c8743,_0x31fd56):_0x1c8743,_0x358dd0=_0xef0e91[_0x3ca4fa(0x105)]-0x1,_0x2e43de;_0x358dd0>=0x0;_0x358dd0--)(_0x2e43de=_0xef0e91[_0x358dd0])&&(_0x492ab4=_0x2e43de(_0x492ab4)||_0x492ab4);return _0x492ab4;},_0x52f651=(_0x37e1ea,_0x34294d)=>(_0x3b5a79,_0x5a2aac)=>_0x34294d(_0x3b5a79,_0x5a2aac,_0x37e1ea);let _0x2ab1c7=class extends _0x508aad[_0x4078cd(0x216)]{constructor(_0x1064d3,_0x5dda34,_0x495e4b,_0x1a4e36,_0x273834){const _0x2def0d=_0x4078cd;super(),_0x5e1a9d(this,_0x2def0d(0x1a3),[]),_0x5e1a9d(this,_0x2def0d(0x237),[]),(this[_0x2def0d(0x23e)]=_0x1064d3,this[_0x2def0d(0x269)]=_0x5dda34,this[_0x2def0d(0x1b6)]=_0x495e4b,this[_0x2def0d(0x21d)]=_0x1a4e36,this[_0x2def0d(0x2f2)]=_0x273834,this[_0x2def0d(0x1ee)]());}[_0x4078cd(0x1ee)](){const _0x499b6f=_0x4078cd,_0x30fd62=this[_0x499b6f(0x23e)]['unitId'],_0x5525db=this['_docSkeletonManagerService'];this[_0x499b6f(0x2d5)](_0x54d76a[_0x499b6f(0xfc)]([this[_0x499b6f(0x1b6)][_0x499b6f(0x126)](_0x30fd62),this[_0x499b6f(0x2f2)][_0x499b6f(0x2b4)]])[_0x499b6f(0x261)](_0x10c85e[_0x499b6f(0x167)](([_0xfa1aeb,_0xb5ecd7])=>({'skeleton':_0x5525db['getSkeleton'](),'cursors':[..._0xfa1aeb[_0x499b6f(0x284)]()]['flatMap'](_0x357b01=>({..._0x357b01,'color':this[_0x499b6f(0x2f2)][_0x499b6f(0x231)](_0x357b01[_0x499b6f(0x259)])}))})))[_0x499b6f(0x26c)](_0x4419f5=>{const _0x3aa12e=_0x499b6f;if(this['_removeCollabCursors'](),_0x4419f5){const {skeleton:_0x4e7bbc,cursors:_0x2c4cde}=_0x4419f5;this[_0x3aa12e(0x1fa)](_0x4e7bbc,_0x2c4cde);}})),this[_0x499b6f(0x1af)](),this['_initCommandExecutedListener']();}[_0x4078cd(0x1fa)](_0x459324,_0x4a7ca9){const _0x1fff55=_0x4078cd,{scene:_0x30f67e,mainComponent:_0x50bfef}=this[_0x1fff55(0x23e)],_0x577c5d=_0x4a7ca9[_0x1fff55(0x167)](_0x172564=>new _0x1ca051(_0x172564,_0x30f67e,_0x459324,_0x50bfef));this['_cursorShapes']=_0x577c5d,this[_0x1fff55(0x237)]=_0x4a7ca9;}[_0x4078cd(0x1f1)](){const _0x5180aa=_0x4078cd;this['_removeCollabCursors']();const {scene:_0x1b14ab,mainComponent:_0x1d89fd}=this[_0x5180aa(0x23e)],_0x6af092=this[_0x5180aa(0x269)][_0x5180aa(0x2d1)](),_0x2c4eb6=this['_cursors'][_0x5180aa(0x167)](_0x41132d=>new _0x1ca051(_0x41132d,_0x1b14ab,_0x6af092,_0x1d89fd));this[_0x5180aa(0x1a3)]=_0x2c4eb6;}[_0x4078cd(0x2ba)](){const _0x1c13ef=_0x4078cd;this[_0x1c13ef(0x1a3)][_0x1c13ef(0x346)](_0x2f4402=>_0x2f4402[_0x1c13ef(0x2e1)]()),this[_0x1c13ef(0x1a3)]=[];}[_0x4078cd(0x210)](){const _0x166b39=_0x4078cd,_0x2cde1a=[_0x176070[_0x166b39(0x19e)]['id']];this['disposeWithMe'](this[_0x166b39(0x21d)]['onCommandExecuted'](_0x2734e3=>{const _0x17db26=_0x166b39;_0x2cde1a[_0x17db26(0x22d)](_0x2734e3['id'])&&_0x2734e3[_0x17db26(0x162)][_0x17db26(0x363)]===this['_context'][_0x17db26(0x363)]&&this[_0x17db26(0x1f1)]();}));}[_0x4078cd(0x1af)](){const _0xb3add6=_0x4078cd;this['disposeWithMe'](_0x508aad[_0xb3add6(0x1e8)](this['_context'][_0xb3add6(0x23d)][_0xb3add6(0x332)])[_0xb3add6(0x261)](_0x10c85e[_0xb3add6(0x366)](_0x5847d0=>_0x5847d0[_0xb3add6(0x351)]===_0x23a227[_0xb3add6(0x251)][_0xb3add6(0x1a4)]),_0x10c85e[_0xb3add6(0x283)](0x10))[_0xb3add6(0x26c)](()=>{const _0x43de15=_0xb3add6;this[_0x43de15(0x1f1)]();}));}};_0x2ab1c7=_0x3a7a66([_0x52f651(0x1,_0x508aad[_0x4078cd(0x2b3)](_0x4f8728['DocSkeletonManagerService'])),_0x52f651(0x2,_0x508aad['Inject'](_0x3f4f06)),_0x52f651(0x3,_0x508aad[_0x4078cd(0x271)]),_0x52f651(0x4,_0x508aad[_0x4078cd(0x2b3)](_0x508aad[_0x4078cd(0x1c8)]))],_0x2ab1c7);const _0xe0c25d=0x1,_0x33a95c=1.5;class _0x48ed76 extends _0x23a227[_0x4078cd(0x282)]{constructor(_0x78c24e,_0x432ab5){const _0x39950c=_0x4078cd;super(_0x78c24e,_0x432ab5),_0x5e1a9d(this,'_color'),_0x5e1a9d(this,_0x39950c(0x350),!0x1),_0x5e1a9d(this,_0x39950c(0xcc)),_0x5e1a9d(this,_0x39950c(0x1c4),''),_0x5e1a9d(this,_0x39950c(0xf8),_0x39950c(0x109)),_0x5e1a9d(this,'_backgroundColor'),(_0x432ab5&&this[_0x39950c(0xef)](_0x432ab5),this[_0x39950c(0x255)][_0x39950c(0x311)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x39950c(0x364)]['subscribeEvent'](()=>this[_0x39950c(0xef)]({'hovered':!0x1})));}[_0x4078cd(0xef)](_0x3b6537){const _0x576daa=_0x4078cd;var _0x2c0085,_0x6e054a,_0x7fe64f,_0x49a61b,_0x417a07,_0xa265c5;this[_0x576daa(0x1ed)]=(_0x2c0085=_0x3b6537[_0x576daa(0x259)])!=null?_0x2c0085:this[_0x576daa(0x1ed)],this[_0x576daa(0x350)]=(_0x6e054a=_0x3b6537['hovered'])!=null?_0x6e054a:this['_hovered'],this[_0x576daa(0xcc)]=(_0x7fe64f=_0x3b6537[_0x576daa(0x1ea)])!=null?_0x7fe64f:this[_0x576daa(0xcc)],this[_0x576daa(0x1c4)]=(_0x49a61b=_0x3b6537[_0x576daa(0x1e1)])!=null?_0x49a61b:this[_0x576daa(0x1c4)],this[_0x576daa(0xf8)]=(_0x417a07=_0x3b6537[_0x576daa(0x239)])!=null?_0x417a07:this[_0x576daa(0xf8)],this[_0x576daa(0x145)]=(_0xa265c5=_0x3b6537['backgroundColor'])!=null?_0xa265c5:this[_0x576daa(0x145)],this[_0x576daa(0x1eb)]({'width':_0x3b6537[_0x576daa(0x2d2)],'height':_0x3b6537['height']});}['onMouseMove'](_0xff1580){const _0xc5fe0e=_0x4078cd,{row:_0x2883d2,column:_0x4edf8b}=_0xff1580;if(_0x2883d2>=this[_0xc5fe0e(0xcc)][_0xc5fe0e(0x2c6)]&&_0x2883d2<=this[_0xc5fe0e(0xcc)][_0xc5fe0e(0x1b3)]&&_0x4edf8b>=this[_0xc5fe0e(0xcc)][_0xc5fe0e(0x34c)]&&_0x4edf8b<=this['_range'][_0xc5fe0e(0x33f)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0xc5fe0e(0xef)]({'hovered':!0x1});}[_0x4078cd(0x31d)](_0x1ca276){return!0x1;}['_draw'](_0x4ce5e4){const _0x72a24c=_0x4078cd;_0x23a227[_0x72a24c(0x31c)][_0x72a24c(0xde)](_0x4ce5e4,{'width':this[_0x72a24c(0x2d2)],'height':this[_0x72a24c(0x16d)],'strokeWidth':_0x33a95c,'stroke':this[_0x72a24c(0x1ed)],'evented':!0x1,'fill':this[_0x72a24c(0x145)]}),this[_0x72a24c(0x350)]&&(_0x4ce5e4[_0x72a24c(0x2fa)](),_0x4ce5e4[_0x72a24c(0x124)](0x1,0x0,0x0,0x1,this[_0x72a24c(0x2d2)],this[_0x72a24c(0xf8)]===_0x72a24c(0x1fc)?0x0:-_0x1a8476),_0x1260d7['drawWith'](_0x4ce5e4,{'text':this[_0x72a24c(0x1c4)],'color':this[_0x72a24c(0x1ed)]}),_0x4ce5e4[_0x72a24c(0x21f)]());}}var _0x3adaf3=Object[_0x4078cd(0x2dc)],_0x1fb53d=(_0x4f7282,_0x196386,_0x754bf4,_0xb1dc1b)=>{const _0xa594a8=_0x4078cd;for(var _0x38c4c4=_0xb1dc1b>0x1?void 0x0:_0xb1dc1b?_0x3adaf3(_0x196386,_0x754bf4):_0x196386,_0x21774e=_0x4f7282[_0xa594a8(0x105)]-0x1,_0x53e82e;_0x21774e>=0x0;_0x21774e--)(_0x53e82e=_0x4f7282[_0x21774e])&&(_0x38c4c4=_0x53e82e(_0x38c4c4)||_0x38c4c4);return _0x38c4c4;},_0x1c3429=(_0x1f3546,_0x485c90)=>(_0x502266,_0x5eb201)=>_0x485c90(_0x502266,_0x5eb201,_0x1f3546);const _0x1efe29=0x1389;let _0x2a5217=class extends _0x508aad['RxDisposable']{constructor(_0x1db4ea,_0x270ac3,_0x1aceb8,_0x21b969){const _0x485086=_0x4078cd;super(),_0x5e1a9d(this,_0x485086(0x237),new Set()),_0x5e1a9d(this,_0x485086(0x1c0),null),(this['_context']=_0x1db4ea,this[_0x485086(0xd5)]=_0x270ac3,this[_0x485086(0x1b6)]=_0x1aceb8,this['_themeService']=_0x21b969,this['_init']());}[_0x4078cd(0x1ee)](){const _0x377eb0=_0x4078cd;this[_0x377eb0(0xd5)][_0x377eb0(0x25f)][_0x377eb0(0x261)](_0x10c85e[_0x377eb0(0x24d)](this[_0x377eb0(0xec)]),_0x10c85e[_0x377eb0(0xea)](_0x4d8664=>{const _0x152b64=_0x377eb0;if(_0x4d8664){const _0xd84432=_0x4d8664[_0x152b64(0x2da)];return _0x54d76a[_0x152b64(0xfc)](this[_0x152b64(0x1b6)][_0x152b64(0x126)](this[_0x152b64(0x23e)][_0x152b64(0x363)]),this[_0x152b64(0x2f2)]['currentTheme$'])[_0x152b64(0x261)](_0x10c85e[_0x152b64(0x167)](([_0x5cdeff,_0x51d898])=>{const _0x294057=_0x152b64,_0x38f2f5=new Map();return _0x5cdeff[_0x294057(0x346)]((_0x1cf481,_0xdb921d)=>{const _0x44af2e=_0x294057;if(_0x1cf481[_0x44af2e(0x148)]===_0xd84432){const _0x469f2d={..._0x1cf481};_0x469f2d[_0x44af2e(0x259)]=this['_themeService'][_0x44af2e(0x231)](_0x1cf481[_0x44af2e(0x259)]),_0x38f2f5[_0x44af2e(0x270)](_0xdb921d,_0x469f2d);}}),{'skeleton':_0x4d8664,'cursors':_0x38f2f5};}));}return _0x54d76a['of']({'skeleton':null,'cursors':new Map()});}))[_0x377eb0(0x26c)](({skeleton:_0xd54e97,cursors:_0xe05eb8})=>{const _0x1fef2d=_0x377eb0;this['_removeCollabCursors'](),_0xd54e97&&this[_0x1fef2d(0x1fa)](_0xd54e97,_0xe05eb8);}),this[_0x377eb0(0xd5)]['currentSkeleton$']['subscribe'](_0x249fe2=>{const _0x2e0332=_0x377eb0;if(_0x249fe2==null)return;const {skeleton:_0x175823}=_0x249fe2,{scene:_0x99875}=this['_context'];_0x99875[_0x2e0332(0x342)][_0x2e0332(0x311)](_0x508aad[_0x2e0332(0x112)](_0x91c7be=>{const _0x2e05a3=_0x2e0332;var _0x2e84a2,_0x2cbfbd;const {offsetX:_0x46aff0,offsetY:_0x415875}=_0x91c7be,{x:_0x1961f5,y:_0x181f39}=_0x99875['getRelativeToViewportCoord'](_0x23a227[_0x2e05a3(0x294)][_0x2e05a3(0x190)]([_0x46aff0,_0x415875])),{scaleX:_0x106a64,scaleY:_0x1fd30b}=_0x99875['getAncestorScale'](),_0x41f3e7=_0x99875[_0x2e05a3(0x186)](_0x23a227[_0x2e05a3(0x149)]['VIEW_MAIN']),_0x136980=_0x99875[_0x2e05a3(0x1ba)](_0x23a227[_0x2e05a3(0x294)][_0x2e05a3(0x190)]([_0x1961f5,_0x181f39]),_0x41f3e7),_0xe62ed1=_0x175823[_0x2e05a3(0x319)](_0x46aff0,_0x415875,_0x106a64,_0x1fd30b,_0x136980);((_0x2e84a2=this['_lastPointer'])==null?void 0x0:_0x2e84a2[_0x2e05a3(0x1ca)])===_0xe62ed1[_0x2e05a3(0x1ca)]&&((_0x2cbfbd=this[_0x2e05a3(0x1c0)])==null?void 0x0:_0x2cbfbd[_0x2e05a3(0x1e4)])===_0xe62ed1[_0x2e05a3(0x1e4)]||this[_0x2e05a3(0x237)][_0x2e05a3(0x346)](_0x18cbb4=>{_0x18cbb4['onMouseMove'](_0xe62ed1);});},0x64));});}[_0x4078cd(0x1fa)](_0x453344,_0xd8f651){const _0x38c05f=_0x4078cd;var _0x362058;const _0x4fc022=(_0x362058=this[_0x38c05f(0xd5)][_0x38c05f(0x2bd)]())==null?void 0x0:_0x362058['skeleton'];if(!_0x4fc022)return;const _0x59e1be=this[_0x38c05f(0x27a)]();if(!_0x59e1be)return;this[_0x38c05f(0x237)][_0x38c05f(0x346)](_0x494542=>{_0x494542['makeDirty']();});const {scene:_0x40f80b}=_0x59e1be,_0x4cc2d3=_0x5d21b4(Array[_0x38c05f(0x343)](_0xd8f651[_0x38c05f(0x284)]()))[_0x38c05f(0x167)](_0x8fbcbe=>{const _0x28fd59=_0x38c05f,{color:_0x4d7071,range:_0xb769a,name:_0x207f9d,selection:_0x615760,sheetID:_0x38eec9}=_0x8fbcbe,{startColumn:_0x253252,startRow:_0x1dd599,endColumn:_0x36a76b,endRow:_0x3ec761}=_0xb769a,_0x1167ca=_0x5debdf[_0x28fd59(0x2a8)](_0x1dd599,_0x253252,_0x40f80b,_0x4fc022),_0x4524a2=_0x5debdf[_0x28fd59(0x2a8)](_0x3ec761,_0x36a76b,_0x40f80b,_0x4fc022),{columnHeaderHeightAndMarginTop:_0x38666c}=_0x4fc022,{startX:_0x5771e7,startY:_0x1d81f9}=_0x1167ca,{endX:_0x3f742e,endY:_0x48784b}=_0x4524a2,_0x340b59=_0x3f742e-_0x5771e7,_0x33e2d7=_0x48784b-_0x1d81f9,_0x28918e={'labelPosition':_0x1d81f9-_0x38666c>=_0x1a8476?_0x28fd59(0x109):'bottom','sheetID':_0x38eec9,'range':_0xb769a,'color':_0x4d7071,'name':_0x207f9d,'selection':_0x615760,'left':_0x5771e7,'top':_0x1d81f9,'width':_0x340b59,'height':_0x33e2d7,'evented':!0x1,'zIndex':_0x1efe29};return new _0x48ed76(_0x207f9d,_0x28918e);});_0x40f80b[_0x38c05f(0x219)](_0x4cc2d3,_0xe0c25d),this[_0x38c05f(0x237)]=new Set(_0x4cc2d3);}[_0x4078cd(0x2ba)](){const _0x4b381c=_0x4078cd;var _0x4c60a6;(_0x4c60a6=this[_0x4b381c(0x237)])==null||_0x4c60a6['forEach'](_0x2a90bc=>_0x2a90bc['dispose']());}[_0x4078cd(0x27a)](){const _0x149508=_0x4078cd;return _0x5debdf['getSheetObject'](this[_0x149508(0x23e)][_0x149508(0x25e)],this[_0x149508(0x23e)]);}};_0x2a5217=_0x1fb53d([_0x1c3429(0x1,_0x508aad[_0x4078cd(0x2b3)](_0x5debdf['SheetSkeletonManagerService'])),_0x1c3429(0x2,_0x508aad[_0x4078cd(0x2b3)](_0x3f4f06)),_0x1c3429(0x3,_0x508aad[_0x4078cd(0x2b3)](_0x508aad['ThemeService']))],_0x2a5217);function _0x5d21b4(_0x58597c){const _0x2645d8=_0x4078cd,_0x33735a=new Map();return _0x58597c[_0x2645d8(0x346)](_0x1a618a=>{const _0x655132=_0x2645d8;if(_0x33735a['has'](_0x1a618a['selection'])){const _0x448212=_0x33735a[_0x655132(0x1d2)](_0x1a618a[_0x655132(0x290)]);_0x448212[_0x655132(0x1e1)]+=',\x20'+_0x1a618a[_0x655132(0x1e1)];}else _0x33735a[_0x655132(0x270)](_0x1a618a['selection'],_0x1a618a);}),Array[_0x2645d8(0x343)](_0x33735a['values']());}var _0x4b53b5=Object[_0x4078cd(0x2dc)],_0x20b09f=(_0x2c3de8,_0x9ff050,_0x184276,_0x22ae72)=>{const _0x52e832=_0x4078cd;for(var _0xe0422a=_0x22ae72>0x1?void 0x0:_0x22ae72?_0x4b53b5(_0x9ff050,_0x184276):_0x9ff050,_0x22daf1=_0x2c3de8[_0x52e832(0x105)]-0x1,_0x167056;_0x22daf1>=0x0;_0x22daf1--)(_0x167056=_0x2c3de8[_0x22daf1])&&(_0xe0422a=_0x167056(_0xe0422a)||_0xe0422a);return _0xe0422a;},_0x46d435=(_0x5916e1,_0x5b02b0)=>(_0xe7b41a,_0x2292fa)=>_0x5b02b0(_0xe7b41a,_0x2292fa,_0x5916e1);let _0x1a7c60=class extends _0x508aad[_0x4078cd(0x17e)]{constructor(_0x1a26bc,_0x579c78,_0x53e47b,_0x5419fd,_0x1353d7,_0x2c1337){const _0x49a110=_0x4078cd;super(),this[_0x49a110(0xd2)]=_0x1a26bc,this[_0x49a110(0x225)]=_0x579c78,this['_collaborationUIEventService']=_0x53e47b,this[_0x49a110(0x1e6)]=_0x5419fd,this[_0x49a110(0x32f)]=_0x1353d7,this[_0x49a110(0x1d4)]=_0x2c1337,this[_0x49a110(0x202)](),this[_0x49a110(0x1b1)]();}['_setupBeforeClosingHandler'](){const _0x3e6651=_0x4078cd;this['disposeWithMe'](this[_0x3e6651(0xd2)][_0x3e6651(0x17b)](()=>{const _0x3bc507=_0x3e6651;if(this[_0x3bc507(0x225)][_0x3bc507(0x1d8)][_0x3bc507(0x26f)])return this[_0x3bc507(0x1d4)]['t'](_0x3bc507(0x135));}));}[_0x4078cd(0x1b1)](){const _0x5ba6b0=_0x4078cd;this[_0x5ba6b0(0x2d5)](this[_0x5ba6b0(0x300)][_0x5ba6b0(0x349)][_0x5ba6b0(0x26c)](_0x4f870c=>{const _0x4a6cc8=_0x5ba6b0;_0x4f870c['id']===_0x356380[_0x4a6cc8(0x138)][_0x4a6cc8(0x32b)]&&this[_0x4a6cc8(0x1e6)][_0x4a6cc8(0x2a4)]({'type':_0x19b36f[_0x4a6cc8(0x2fd)]['Warning'],'content':this[_0x4a6cc8(0x1d4)]['t']('collaboration.single-unit.warning')}),_0x4f870c['id']===_0x356380['CollaborationUIEventId'][_0x4a6cc8(0x1a8)]&&this['_messageService'][_0x4a6cc8(0x2a4)]({'type':_0x19b36f[_0x4a6cc8(0x2fd)][_0x4a6cc8(0x2db)],'content':this['_localeService']['t'](_0x4a6cc8(0x321))}),_0x4f870c['id']===_0x356380[_0x4a6cc8(0x138)][_0x4a6cc8(0xd1)]&&this[_0x4a6cc8(0x32f)][_0x4a6cc8(0x2a4)]({'title':this[_0x4a6cc8(0x1d4)]['t'](_0x4a6cc8(0x235)),'content':this[_0x4a6cc8(0x1d4)]['t']('permission.content'),'type':_0x4a6cc8(0x267),'duration':0x0}),_0x4f870c['id']===_0x356380[_0x4a6cc8(0x138)]['CONFLICT']&&this['_messageService'][_0x4a6cc8(0x2a4)]({'type':_0x19b36f['MessageType'][_0x4a6cc8(0x215)],'content':this[_0x4a6cc8(0x1d4)]['t']('collaboration.closeRoom')+'('+_0x4f870c[_0x4a6cc8(0x1bd)]+')'}),_0x4f870c['id']===_0x356380[_0x4a6cc8(0x138)][_0x4a6cc8(0x106)]&&this[_0x4a6cc8(0x1e6)][_0x4a6cc8(0x2a4)]({'type':_0x19b36f[_0x4a6cc8(0x2fd)][_0x4a6cc8(0x2db)],'content':this[_0x4a6cc8(0x1d4)]['t'](_0x4f870c[_0x4a6cc8(0x1bd)]||'')}),_0x4f870c['id']===_0x356380['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x4a6cc8(0x2a4)]({'type':_0x19b36f['MessageType']['Warning'],'content':this[_0x4a6cc8(0x1d4)]['t'](_0x4a6cc8(0x2f6))}),_0x4f870c['id']===_0x356380['CollaborationUIEventId'][_0x4a6cc8(0x17c)]&&this[_0x4a6cc8(0x1e6)][_0x4a6cc8(0x2a4)]({'type':_0x19b36f[_0x4a6cc8(0x2fd)][_0x4a6cc8(0x215)],'content':this['_localeService']['t'](_0x4a6cc8(0x2ab))}),_0x4f870c['id']===_0x356380['CollaborationUIEventId'][_0x4a6cc8(0x260)]&&this[_0x4a6cc8(0x1e6)]['show']({'type':_0x19b36f['MessageType']['Error'],'content':this[_0x4a6cc8(0x1d4)]['t'](_0x4a6cc8(0x187))});}));}};_0x1a7c60=_0x20b09f([_0x46d435(0x0,_0x5c74c1[_0x4078cd(0xfa)]),_0x46d435(0x1,_0x356380['ILocalCacheService']),_0x46d435(0x2,_0x508aad[_0x4078cd(0x2b3)](_0x356380[_0x4078cd(0x143)])),_0x46d435(0x3,_0x5c74c1[_0x4078cd(0xdd)]),_0x46d435(0x4,_0x5c74c1[_0x4078cd(0x35e)]),_0x46d435(0x5,_0x508aad[_0x4078cd(0x2b3)](_0x508aad[_0x4078cd(0x365)]))],_0x1a7c60);const _0x59c331=_0x4078cd(0x360),_0x5997a3={};var _0x5a6b42=Object[_0x4078cd(0x2dc)],_0x30167f=(_0x449bd0,_0x2ca310,_0x4eb40e,_0xa31af3)=>{for(var _0x3045bc=_0xa31af3>0x1?void 0x0:_0xa31af3?_0x5a6b42(_0x2ca310,_0x4eb40e):_0x2ca310,_0x5cf382=_0x449bd0['length']-0x1,_0x4bbf7d;_0x5cf382>=0x0;_0x5cf382--)(_0x4bbf7d=_0x449bd0[_0x5cf382])&&(_0x3045bc=_0x4bbf7d(_0x3045bc)||_0x3045bc);return _0x3045bc;},_0x5f46f4=(_0x152ea9,_0x24b645)=>(_0x88314,_0x41fc07)=>_0x24b645(_0x88314,_0x41fc07,_0x152ea9);let _0x2def70=class{constructor(_0x463ec7,_0x4b7755){const _0x53722c=_0x4078cd;this[_0x53722c(0x1b7)]=_0x463ec7,this[_0x53722c(0x111)]=_0x4b7755;}[_0x4078cd(0x2ad)](_0x46ad81){const _0x22998b=_0x4078cd;this[_0x22998b(0x214)](_0x46ad81),this[_0x22998b(0x2a7)](_0x46ad81);}['transformRemoteChangeset'](_0x4884fe){const _0x28685d=_0x4078cd,{unitID:_0x9c664b}=_0x4884fe,_0x4eb99e=this[_0x28685d(0x111)]['getRenderById'](_0x9c664b)[_0x28685d(0x1b4)](_0x176070[_0x28685d(0x159)]),{redoCache:_0x24717a}=_0x4eb99e[_0x28685d(0x28b)]();if(_0x24717a[_0x28685d(0x105)]===0x0)return _0x4884fe;let _0x40e0aa=_0x508aad[_0x28685d(0xca)][_0x28685d(0x29c)](_0x4884fe[_0x28685d(0x10e)][0x0]);for(let _0x5f34d7=0x0;_0x5f34d7<_0x24717a[_0x28685d(0x105)];_0x5f34d7++){const _0x2694af={'id':'doc.mutation.rich-text-editing','params':{..._0x24717a[_0x5f34d7]}},_0x2267ec=this[_0x28685d(0x1b7)][_0x28685d(0x16e)](_0x40e0aa,_0x2694af,!0x1);if(_0x319724[_0x28685d(0x2d6)](_0x2267ec))throw _0x2267ec[_0x28685d(0x267)];_0x40e0aa=_0x2267ec['m1Prime'];}return{..._0x508aad[_0x28685d(0xca)][_0x28685d(0x29c)](_0x4884fe),'mutations':[_0x40e0aa]};}[_0x4078cd(0x214)](_0x2892e0){const _0x5a3859=_0x4078cd,{unitID:_0x53b750}=_0x2892e0,_0x547e74=this['_renderManagerService'][_0x5a3859(0x26d)](_0x53b750)['with'](_0x176070[_0x5a3859(0x159)]),{undoCache:_0x4e855e,redoCache:_0x3809a9}=_0x547e74[_0x5a3859(0x28b)]();if(_0x4e855e['length']===0x0||_0x3809a9[_0x5a3859(0x105)]===0x0)return;const _0x31aa51=[],_0x403bbc=[];let _0x43b1b9=_0x508aad['Tools'][_0x5a3859(0x29c)](_0x2892e0[_0x5a3859(0x10e)][0x0]),_0x24c79a=_0x508aad[_0x5a3859(0xca)][_0x5a3859(0x29c)](_0x2892e0[_0x5a3859(0x10e)][0x0]);for(let _0x1091af=_0x4e855e['length']-0x1;_0x1091af>=0x0;_0x1091af--){const _0x33d13a={'id':_0x5a3859(0x23b),'params':{..._0x4e855e[_0x1091af]}},_0x34c799={'id':'doc.mutation.rich-text-editing','params':{..._0x3809a9[_0x1091af]}},_0x27d835=this[_0x5a3859(0x1b7)][_0x5a3859(0x16e)](_0x43b1b9,_0x33d13a,!0x1),_0x52798b=this[_0x5a3859(0x1b7)][_0x5a3859(0x16e)](_0x24c79a,_0x34c799,!0x1);if(_0x319724[_0x5a3859(0x2d6)](_0x27d835))throw _0x27d835[_0x5a3859(0x267)];if(_0x319724['isTransformMutationFailure'](_0x52798b))throw _0x52798b['error'];_0x31aa51[_0x5a3859(0x307)](_0x27d835[_0x5a3859(0x120)][_0x5a3859(0x162)]),_0x403bbc[_0x5a3859(0x307)](_0x52798b[_0x5a3859(0x120)][_0x5a3859(0x162)]),_0x43b1b9=_0x27d835[_0x5a3859(0x2aa)],_0x24c79a=_0x52798b[_0x5a3859(0x2aa)];}_0x547e74[_0x5a3859(0xf1)]({'undoCache':_0x31aa51,'redoCache':_0x403bbc});}['_transformPreviousActiveRange'](_0x5b045b){const _0x45c7fb=_0x4078cd,{unitID:_0x14f18b}=_0x5b045b,_0x346cb8=this['_renderManagerService'][_0x45c7fb(0x26d)](_0x14f18b)['with'](_0x176070[_0x45c7fb(0x159)]),_0x39a7c6=_0x346cb8[_0x45c7fb(0x203)]();if(_0x39a7c6==null)return;const _0x11d87b=[{'id':_0x45c7fb(0x23b),'params':{'unitId':_0x5b045b['unitID'],'actions':null,'textRanges':[_0x39a7c6]}}],_0x6a7643=this['_transformService'][_0x45c7fb(0x193)](_0x5b045b,_0x11d87b);if(!_0x319724[_0x45c7fb(0x1ec)](_0x6a7643))throw _0x6a7643[_0x45c7fb(0x267)];const _0x47eb59=_0x6a7643[_0x45c7fb(0x120)][0x0][_0x45c7fb(0x162)][_0x45c7fb(0x289)];Array[_0x45c7fb(0x356)](_0x47eb59)&&_0x47eb59[_0x45c7fb(0x105)]&&_0x346cb8['setActiveRange'](_0x47eb59[0x0]);}};_0x2def70=_0x30167f([_0x5f46f4(0x0,_0x319724[_0x4078cd(0xd6)]),_0x5f46f4(0x1,_0x23a227[_0x4078cd(0x1cc)])],_0x2def70);var _0x5f4ffe=Object[_0x4078cd(0x2dc)],_0x54d162=(_0x1fe061,_0x77629,_0x345bf6,_0x2ec90e)=>{const _0x2790f0=_0x4078cd;for(var _0x2d4e3e=_0x2ec90e>0x1?void 0x0:_0x2ec90e?_0x5f4ffe(_0x77629,_0x345bf6):_0x77629,_0x469878=_0x1fe061[_0x2790f0(0x105)]-0x1,_0x292346;_0x469878>=0x0;_0x469878--)(_0x292346=_0x1fe061[_0x469878])&&(_0x2d4e3e=_0x292346(_0x2d4e3e)||_0x2d4e3e);return _0x2d4e3e;},_0xa7fd47=(_0x4fe275,_0x4d379e)=>(_0xd24d4d,_0x27574a)=>_0x4d379e(_0xd24d4d,_0x27574a,_0x4fe275);let _0x1a1a6e=class{constructor(_0x18621a,_0x2f640,_0x7d5c9){const _0x4e5c8e=_0x4078cd;this[_0x4e5c8e(0x176)]=_0x18621a,this[_0x4e5c8e(0x1b7)]=_0x2f640,this['_docStateChangeManagerService']=_0x7d5c9;}[_0x4078cd(0x127)](_0xd914b7){const _0x97ce71=_0x4078cd;this[_0x97ce71(0x2c9)](_0xd914b7);}[_0x4078cd(0xd7)](_0x16f26a){const _0x257efa=_0x4078cd,{unitID:_0x1699c8}=_0x16f26a,{collaboration:_0x3c3a9b}=this[_0x257efa(0x1d1)][_0x257efa(0xff)](_0x1699c8);if(_0x3c3a9b[_0x257efa(0x105)]===0x0)return _0x16f26a;let _0x5a3bdf=_0x508aad[_0x257efa(0xca)][_0x257efa(0x29c)](_0x16f26a['mutations'][0x0]);for(let _0x52074b=0x0;_0x52074b<_0x3c3a9b[_0x257efa(0x105)];_0x52074b++){const _0x561765={'id':_0x257efa(0x23b),'params':{'unitId':_0x3c3a9b[_0x52074b]['unitId'],..._0x3c3a9b[_0x52074b][_0x257efa(0x29e)]}},_0x1682f9=this[_0x257efa(0x1b7)][_0x257efa(0x16e)](_0x5a3bdf,_0x561765,!0x1);if(_0x319724['isTransformMutationFailure'](_0x1682f9))throw _0x1682f9[_0x257efa(0x267)];_0x5a3bdf=_0x1682f9['m1Prime'];}return{..._0x508aad[_0x257efa(0xca)]['deepClone'](_0x16f26a),'mutations':[_0x5a3bdf]};}['_transformHistoryAndStateStack'](_0x1abb99){const _0x32d37e=_0x4078cd,{unitID:_0x323e88}=_0x1abb99,{history:_0x465f50,collaboration:_0x3018d3}=this[_0x32d37e(0x1d1)][_0x32d37e(0xff)](_0x323e88);if(_0x465f50['length']===0x0&&_0x3018d3[_0x32d37e(0x105)]===0x0)return;const _0x2d7d20=[],_0x4548b6=[];let _0x2ad157=_0x508aad['Tools'][_0x32d37e(0x29c)](_0x1abb99[_0x32d37e(0x10e)][0x0]),_0x54fafd=_0x508aad[_0x32d37e(0xca)][_0x32d37e(0x29c)](_0x1abb99[_0x32d37e(0x10e)][0x0]);for(let _0x5ba525=_0x465f50[_0x32d37e(0x105)]-0x1;_0x5ba525>=0x0;_0x5ba525--){const _0x4ce898={'id':_0x32d37e(0x23b),'params':{'unitId':_0x465f50[_0x5ba525][_0x32d37e(0x363)],..._0x465f50[_0x5ba525][_0x32d37e(0x252)]}},_0x59615c={'id':_0x32d37e(0x23b),'params':{'unitId':_0x465f50[_0x5ba525][_0x32d37e(0x363)],..._0x465f50[_0x5ba525][_0x32d37e(0x29e)]}},_0x329315=this['_transformService'][_0x32d37e(0x16e)](_0x2ad157,_0x4ce898,!0x1),_0x1ba5b4=this['_transformService'][_0x32d37e(0x16e)](_0x54fafd,_0x59615c,!0x1);if(_0x319724[_0x32d37e(0x2d6)](_0x329315))throw _0x329315[_0x32d37e(0x267)];if(_0x319724[_0x32d37e(0x2d6)](_0x1ba5b4))throw _0x1ba5b4[_0x32d37e(0x267)];_0x2d7d20[_0x32d37e(0x307)]({..._0x465f50[_0x5ba525],'undoState':_0x329315[_0x32d37e(0x120)]['params'],'redoState':_0x1ba5b4[_0x32d37e(0x120)][_0x32d37e(0x162)]}),_0x2ad157=_0x329315['m1Prime'],_0x54fafd=_0x1ba5b4[_0x32d37e(0x2aa)];}_0x2ad157=_0x508aad['Tools'][_0x32d37e(0x29c)](_0x1abb99[_0x32d37e(0x10e)][0x0]),_0x54fafd=_0x508aad[_0x32d37e(0xca)]['deepClone'](_0x1abb99['mutations'][0x0]);for(let _0x49a54c=_0x3018d3[_0x32d37e(0x105)]-0x1;_0x49a54c>=0x0;_0x49a54c--){const _0x1d1301={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3018d3[_0x49a54c][_0x32d37e(0x363)],..._0x3018d3[_0x49a54c][_0x32d37e(0x252)]}},_0x3f2765={'id':_0x32d37e(0x23b),'params':{'unitId':_0x3018d3[_0x49a54c]['unitId'],..._0x3018d3[_0x49a54c][_0x32d37e(0x29e)]}},_0x5caa5c=this[_0x32d37e(0x1b7)][_0x32d37e(0x16e)](_0x2ad157,_0x1d1301,!0x1),_0x5988a6=this[_0x32d37e(0x1b7)][_0x32d37e(0x16e)](_0x54fafd,_0x3f2765,!0x1);if(_0x319724[_0x32d37e(0x2d6)](_0x5caa5c))throw _0x5caa5c[_0x32d37e(0x267)];if(_0x319724[_0x32d37e(0x2d6)](_0x5988a6))throw _0x5988a6[_0x32d37e(0x267)];_0x4548b6[_0x32d37e(0x307)]({..._0x3018d3[_0x49a54c],'undoState':_0x5caa5c[_0x32d37e(0x120)]['params'],'redoState':_0x5988a6[_0x32d37e(0x120)][_0x32d37e(0x162)]}),_0x2ad157=_0x5caa5c[_0x32d37e(0x2aa)],_0x54fafd=_0x5988a6[_0x32d37e(0x2aa)];}this[_0x32d37e(0x1d1)][_0x32d37e(0xf7)](_0x323e88,{'history':_0x2d7d20,'collaboration':_0x4548b6});}};_0x1a1a6e=_0x54d162([_0xa7fd47(0x0,_0x508aad[_0x4078cd(0x2b3)](_0x508aad[_0x4078cd(0x2ee)])),_0xa7fd47(0x1,_0x319724[_0x4078cd(0xd6)]),_0xa7fd47(0x2,_0x508aad[_0x4078cd(0x2b3)](_0x176070[_0x4078cd(0x28a)]))],_0x1a1a6e);var _0x13f20c=Object[_0x4078cd(0x2dc)],_0x31e833=(_0x193099,_0x1b3893,_0x2ee015,_0x4fc134)=>{const _0x441b17=_0x4078cd;for(var _0x752bf2=_0x4fc134>0x1?void 0x0:_0x4fc134?_0x13f20c(_0x1b3893,_0x2ee015):_0x1b3893,_0x5a339a=_0x193099[_0x441b17(0x105)]-0x1,_0x58e4e5;_0x5a339a>=0x0;_0x5a339a--)(_0x58e4e5=_0x193099[_0x5a339a])&&(_0x752bf2=_0x58e4e5(_0x752bf2)||_0x752bf2);return _0x752bf2;},_0x5a485a=(_0x1bf634,_0x420ef7)=>(_0x4cb078,_0x5d8549)=>_0x420ef7(_0x4cb078,_0x5d8549,_0x1bf634);let _0x337fcb=class{constructor(_0x1e22ab,_0x48d335){const _0x4fa681=_0x4078cd;this[_0x4fa681(0x176)]=_0x1e22ab,this[_0x4fa681(0x1b7)]=_0x48d335;}[_0x4078cd(0x116)](_0xa17f2d){const _0x199ca1=_0x4078cd;var _0x13b336;const _0x2cef4a=this['_injector'][_0x199ca1(0x1d2)](_0x4f8728[_0x199ca1(0x2ec)]),_0x286183=(_0x13b336=_0x2cef4a[_0x199ca1(0x30d)]())!=null?_0x13b336:[];if(_0x286183[_0x199ca1(0x105)]===0x0)return;const _0x4105d0=_0xa17f2d[_0x199ca1(0x1ef)],_0xb6f65a=[{'id':_0x199ca1(0x23b),'params':{'unitId':_0x4105d0,'actions':null,'textRanges':_0x286183}}],_0x3b9f17=this['_transformService'][_0x199ca1(0x193)](_0xa17f2d,_0xb6f65a);if(!_0x319724[_0x199ca1(0x1ec)](_0x3b9f17))throw _0x3b9f17[_0x199ca1(0x267)];const _0x4e443a=_0x3b9f17[_0x199ca1(0x120)][0x0][_0x199ca1(0x162)][_0x199ca1(0x289)];Array[_0x199ca1(0x356)](_0x4e443a)&&_0x4e443a[_0x199ca1(0x105)]&&_0x2cef4a['replaceDocRanges'](_0x4e443a,{'unitId':_0x4105d0,'subUnitId':_0x4105d0},!0x1);}};_0x337fcb=_0x31e833([_0x5a485a(0x0,_0x508aad[_0x4078cd(0x2b3)](_0x508aad[_0x4078cd(0x2ee)])),_0x5a485a(0x1,_0x319724['ITransformService'])],_0x337fcb);var _0x261ed1=Object[_0x4078cd(0x2dc)],_0x5e9166=(_0x286fc3,_0x49971e,_0x53ef12,_0x4cd2cd)=>{const _0x562c2d=_0x4078cd;for(var _0x36344a=_0x4cd2cd>0x1?void 0x0:_0x4cd2cd?_0x261ed1(_0x49971e,_0x53ef12):_0x49971e,_0x23ddcd=_0x286fc3[_0x562c2d(0x105)]-0x1,_0x43442d;_0x23ddcd>=0x0;_0x23ddcd--)(_0x43442d=_0x286fc3[_0x23ddcd])&&(_0x36344a=_0x43442d(_0x36344a)||_0x36344a);return _0x36344a;},_0x4514f8=(_0x1355b1,_0x1e49d0)=>(_0x51b9cd,_0xc2c166)=>_0x1e49d0(_0x51b9cd,_0xc2c166,_0x1355b1);let _0x326afb=class extends _0x508aad[_0x4078cd(0x17e)]{constructor(_0x2c44d5,_0x5ce721,_0x5c1d68,_0x32b099,_0xbaac22,_0x3389fb,_0x51acde,_0x50cacd){const _0x5e4979=_0x4078cd;super(),_0x5e1a9d(this,'_status$',new _0x54d76a[(_0x5e4979(0x1dc))](_0x356380[_0x5e4979(0x16b)][_0x5e4979(0x242)])),(this[_0x5e4979(0x1d1)]=_0x2c44d5,this[_0x5e4979(0x1c9)]=_0x5ce721,this[_0x5e4979(0xd0)]=_0x5c1d68,this[_0x5e4979(0x236)]=_0x32b099,this[_0x5e4979(0x1b5)]=_0xbaac22,this['_docSyncEditingCollabCursorService']=_0x3389fb,this['_messageService']=_0x51acde,this[_0x5e4979(0x1d4)]=_0x50cacd,this[_0x5e4979(0x13f)]());}[_0x4078cd(0x13f)](){const _0x45ad53=_0x4078cd;this[_0x45ad53(0x2d5)](this[_0x45ad53(0x1c9)][_0x45ad53(0x183)][_0x45ad53(0x26c)](_0x1a9c6b=>{const _0x2ac44d=_0x45ad53,_0x41f59b=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0x7867ac=>{const _0x449a66=_0x5d41;if(_0x7867ac==null)return;const {unitId:_0x1e8768,redoState:_0x548218,commandId:_0x2439db}=_0x7867ac;if(_0x1e8768!==_0x1a9c6b[_0x449a66(0x1ef)])return;const _0x4107b1={'id':_0x2439db,'type':_0x508aad[_0x449a66(0x2ea)]['MUTATION'],'params':{'unitId':_0x1e8768,'actions':_0x548218[_0x449a66(0xdb)],'textRanges':null}};_0x1a9c6b[_0x449a66(0x113)](_0x4107b1);});if(_0x1a9c6b['disposeWithMe'](_0x41f59b),_0x1a9c6b instanceof _0x356380[_0x2ac44d(0x1c7)]){const _0x2437ac={'onTransformIME':_0x2044a6=>this[_0x2ac44d(0xd0)]['transformIMECache'](_0x2044a6),'onTransformState':_0x11d2e7=>this[_0x2ac44d(0x236)][_0x2ac44d(0x127)](_0x11d2e7),'onTransformSelections':_0x397f17=>this['_docTransformSelectionsService']['transformSelections'](_0x397f17),'onSyncEditingCollabCursor':_0x19f83c=>this['_docSyncEditingCollabCursorService'][_0x2ac44d(0x141)](_0x19f83c),'onTransformRemoteChangesetByIMECache':_0x379734=>this[_0x2ac44d(0xd0)]['transformRemoteChangeset'](_0x379734),'onTransformRemoteChangesetByStateCache':_0x209e1f=>this[_0x2ac44d(0x236)]['transformRemoteChangeset'](_0x209e1f)};_0x1a9c6b['addHandlerCallback'](_0x2437ac);}}));}};_0x326afb=_0x5e9166([_0x4514f8(0x0,_0x508aad[_0x4078cd(0x2b3)](_0x176070[_0x4078cd(0x28a)])),_0x4514f8(0x1,_0x508aad['Inject'](_0x356380[_0x4078cd(0x1da)])),_0x4514f8(0x2,_0x508aad[_0x4078cd(0x2b3)](_0x2def70)),_0x4514f8(0x3,_0x508aad[_0x4078cd(0x2b3)](_0x1a1a6e)),_0x4514f8(0x4,_0x508aad[_0x4078cd(0x2b3)](_0x337fcb)),_0x4514f8(0x5,_0x508aad['Inject'](_0x3f1775)),_0x4514f8(0x6,_0x5c74c1['IMessageService']),_0x4514f8(0x7,_0x508aad[_0x4078cd(0x2b3)](_0x508aad[_0x4078cd(0x365)]))],_0x326afb);var _0x165961=Object[_0x4078cd(0x2dc)],_0x5d1f83=(_0x46025b,_0x425125,_0x8886e5,_0x22292d)=>{const _0x2f7ccf=_0x4078cd;for(var _0x3f2295=_0x22292d>0x1?void 0x0:_0x22292d?_0x165961(_0x425125,_0x8886e5):_0x425125,_0x198539=_0x46025b[_0x2f7ccf(0x105)]-0x1,_0x13fc39;_0x198539>=0x0;_0x198539--)(_0x13fc39=_0x46025b[_0x198539])&&(_0x3f2295=_0x13fc39(_0x3f2295)||_0x3f2295);return _0x3f2295;},_0x2af7a9=(_0x287332,_0x4782a8)=>(_0x2f7cc4,_0x1658f9)=>_0x4782a8(_0x2f7cc4,_0x1658f9,_0x287332);let _0x2cd874=class extends _0x508aad[_0x4078cd(0x17e)]{constructor(_0x3127ad,_0x32da08,_0x259f31){const _0x5c06b3=_0x4078cd;super(),_0x5e1a9d(this,_0x5c06b3(0x1bb),new Map()),_0x5e1a9d(this,'_saveTaskMap',new Map()),_0x5e1a9d(this,'_disabled',!0x1),(this[_0x5c06b3(0x274)]=_0x3127ad,this['_localStorageService']=_0x32da08,this[_0x5c06b3(0x21e)]=_0x259f31);}[_0x4078cd(0x1f4)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x9d37f2=_0x4078cd;this[_0x9d37f2(0x2b8)]=!0x1;}get[_0x4078cd(0x1d8)](){const _0x447fcd=_0x4078cd;return this[_0x447fcd(0x175)];}[_0x4078cd(0x2e1)](){const _0x155ba5=_0x4078cd;this[_0x155ba5(0xd9)]()[_0x155ba5(0x337)](()=>super[_0x155ba5(0x2e1)]());}async[_0x4078cd(0x19b)](_0xff1763){const _0x30d595=_0x4078cd;return this[_0x30d595(0x2b8)]?null:this['_localStorageService']['getItem'](_0x356380[_0x30d595(0x218)](_0xff1763));}async[_0x4078cd(0x325)](_0x1e3b11,_0x22d1ca){const _0x530479=_0x4078cd;return!!this[_0x530479(0x158)][_0x530479(0x357)](_0x1e3b11,_0x22d1ca);}[_0x4078cd(0x223)](_0x41f074,_0x5cbc17,_0xab62d1,_0x35d53a){const _0x1603db=_0x4078cd,_0x4e1e8d=this[_0x1603db(0x21e)][_0x1603db(0x152)](_0x41f074);this[_0x1603db(0x1bb)][_0x1603db(0x270)](_0x41f074,{'unitID':_0x41f074,'type':_0x5cbc17,'awaitingChangeset':_0xab62d1,'mutations':_0x35d53a,'rev':_0x4e1e8d}),this['_saveTaskMap']['has'](_0x41f074)||this['_scheduleSaving'](_0x41f074);}[_0x4078cd(0x2e0)](_0x1b409d){const _0x2d0d5e=_0x4078cd,_0x561ed8=this['_getSaveTimeout']();_0x561ed8===0x0?this[_0x2d0d5e(0x15d)](_0x1b409d):this['_saveTaskMap']['set'](_0x1b409d,setTimeout(()=>this['_saveCache'](_0x1b409d),_0x561ed8));}['_getSaveTimeout'](){const _0x32e6f4=_0x4078cd;var _0x9091d1;return(_0x9091d1=this[_0x32e6f4(0x274)][_0x32e6f4(0x24b)](_0x356380['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x9091d1:_0x356380[_0x32e6f4(0x2ce)];}[_0x4078cd(0x15d)](_0x5f02e6){const _0x23aa51=_0x4078cd,_0x48edfa=this[_0x23aa51(0x175)][_0x23aa51(0x1d2)](_0x5f02e6);return _0x48edfa!==void 0x0&&window[_0x23aa51(0x297)](_0x48edfa),this[_0x23aa51(0x158)][_0x23aa51(0x357)](_0x356380[_0x23aa51(0x218)](_0x5f02e6),this[_0x23aa51(0x1bb)][_0x23aa51(0x1d2)](_0x5f02e6))[_0x23aa51(0x337)](()=>this['_saveTaskMap'][_0x23aa51(0x204)](_0x5f02e6));}async[_0x4078cd(0xd9)](){const _0x3a2ada=_0x4078cd,_0x2e6539=[];this[_0x3a2ada(0x175)]['forEach']((_0x4425ad,_0xdbfe44)=>{const _0x266799=_0x3a2ada;window[_0x266799(0x297)](_0x4425ad),_0x2e6539[_0x266799(0x29b)](this[_0x266799(0x15d)](_0xdbfe44)['then'](()=>{const _0x3627df=_0x266799;this[_0x3627df(0x175)][_0x3627df(0x204)](_0xdbfe44);}));}),await Promise['all'](_0x2e6539);}};_0x2cd874=_0x5d1f83([_0x2af7a9(0x0,_0x508aad[_0x4078cd(0x247)]),_0x2af7a9(0x1,_0x508aad['ILocalStorageService']),_0x2af7a9(0x2,_0x508aad['Inject'](_0x319724[_0x4078cd(0x228)]))],_0x2cd874);class _0x59a3a5 extends _0x508aad[_0x4078cd(0x216)]{constructor(){const _0x1be2c4=_0x4078cd;super(),_0x5e1a9d(this,'urlChange$'),this['urlChange$']=_0x54d76a[_0x1be2c4(0x1f0)](window,_0x1be2c4(0x317))[_0x1be2c4(0x261)](_0x54d76a[_0x1be2c4(0x24d)](this[_0x1be2c4(0xec)]),_0x54d76a[_0x1be2c4(0x14a)](0x1),_0x54d76a['mapTo'](void 0x0));}['setParam'](_0x56e028,_0x3cc39f,_0x7b1db8=!0x1){const _0xe838b1=_0x4078cd,_0x3b60dc=new URL(window['location'][_0xe838b1(0x1cf)]);_0x3b60dc['searchParams'][_0xe838b1(0x270)](_0x56e028,_0x3cc39f),_0x7b1db8?window[_0xe838b1(0x198)][_0xe838b1(0x18b)]('','',_0x3b60dc['toString']()):window[_0xe838b1(0x198)][_0xe838b1(0x233)]('','',_0x3b60dc[_0xe838b1(0x1f2)]());}[_0x4078cd(0x171)](_0x349d44,_0x2d163e=!0x1){const _0x538cb3=_0x4078cd,_0x396c0a=new URL(window[_0x538cb3(0x26b)][_0x538cb3(0x1cf)]);_0x396c0a[_0x538cb3(0xfd)][_0x538cb3(0x204)](_0x349d44),_0x2d163e?window['history'][_0x538cb3(0x18b)]('','',_0x396c0a['toString']()):window[_0x538cb3(0x198)][_0x538cb3(0x233)]('','',_0x396c0a[_0x538cb3(0x1f2)]());}[_0x4078cd(0xdc)](_0x46cca7){const _0x4dd48a=_0x4078cd;var _0x2c6471;return(_0x2c6471=new URL(window[_0x4dd48a(0x26b)]['href'])[_0x4dd48a(0xfd)][_0x4dd48a(0x1d2)](_0x46cca7))!=null?_0x2c6471:void 0x0;}}var _0x252d5b=Object['defineProperty'],_0x135256=Object[_0x4078cd(0x2dc)],_0x121d70=(_0x113b24,_0x1f1794,_0x39b21f)=>_0x1f1794 in _0x113b24?_0x252d5b(_0x113b24,_0x1f1794,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39b21f}):_0x113b24[_0x1f1794]=_0x39b21f,_0x3c12ac=(_0x4e141e,_0x38355f,_0x37e1e1,_0x3e51ca)=>{const _0xde328d=_0x4078cd;for(var _0x47c499=_0x3e51ca>0x1?void 0x0:_0x3e51ca?_0x135256(_0x38355f,_0x37e1e1):_0x38355f,_0x1f22e3=_0x4e141e[_0xde328d(0x105)]-0x1,_0x55db4c;_0x1f22e3>=0x0;_0x1f22e3--)(_0x55db4c=_0x4e141e[_0x1f22e3])&&(_0x47c499=_0x55db4c(_0x47c499)||_0x47c499);return _0x47c499;},_0x1b819c=(_0x33b91d,_0x20d94f)=>(_0x212bb5,_0x694cc)=>_0x20d94f(_0x212bb5,_0x694cc,_0x33b91d),_0x3d450b=(_0xa5fd8d,_0x51aa63,_0x2ea063)=>_0x121d70(_0xa5fd8d,_0x51aa63+'',_0x2ea063);const _0x545fd0='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x5e0019[_0x4078cd(0x199)]=class extends _0x508aad[_0x4078cd(0x280)]{constructor(_0x2cc866=_0x5997a3,_0x1bf578,_0x460ea9,_0x482d14){const _0x14d76d=_0x4078cd;super(),this[_0x14d76d(0x292)]=_0x2cc866,this['_renderManagerService']=_0x1bf578,this['_injector']=_0x460ea9,this['_configService']=_0x482d14;const {..._0x3e5937}=_0x508aad[_0x14d76d(0x200)]({},_0x5997a3,this['_config']);this[_0x14d76d(0x274)][_0x14d76d(0x1ab)](_0x59c331,_0x3e5937);}[_0x4078cd(0x185)](){const _0x4424f4=_0x4078cd;this[_0x4424f4(0x177)](),this['_initDependencies']();}[_0x4078cd(0x101)](){const _0x1e89aa=_0x4078cd;this[_0x1e89aa(0x330)]();}['_registerDependencies'](){const _0x196ee2=_0x4078cd;var _0x3924d3;const _0x1fa725=[[_0x3785e5],[_0x337fcb],[_0x2def70],[_0x1a1a6e],[_0x3f1775],[_0x5066f6,{'useClass':_0x59a3a5}],[_0x415d26['ISocketService'],{'useClass':_0x415d26[_0x196ee2(0x229)]}],[_0x356380['ILocalCacheService'],{'useClass':_0x2cd874}],[_0x5e0019[_0x196ee2(0x358)]],[_0x326afb],[_0x1a7c60],[_0x3f4f06],[_0x2de5c8],[_0x5e0019[_0x196ee2(0x1a2)]]];_0x508aad['registerDependencies'](this[_0x196ee2(0x176)],_0x508aad[_0x196ee2(0x142)](_0x1fa725,(_0x3924d3=this[_0x196ee2(0x292)])==null?void 0x0:_0x3924d3[_0x196ee2(0x2a3)]));}[_0x4078cd(0x330)](){const _0x2d1900=_0x4078cd;this[_0x2d1900(0x2d5)](this[_0x2d1900(0x111)][_0x2d1900(0x12b)](_0x508aad[_0x2d1900(0x303)][_0x2d1900(0x23c)],[_0x2ab1c7])),this[_0x2d1900(0x2d5)](this[_0x2d1900(0x111)][_0x2d1900(0x12b)](_0x508aad[_0x2d1900(0x303)][_0x2d1900(0x2ac)],[_0x2a5217]));}['_initDependencies'](){const _0x41d4d4=_0x4078cd;_0x508aad[_0x41d4d4(0x2c5)](this[_0x41d4d4(0x176)],[[_0x3f4f06],[_0x5e0019['DesktopCollaborationStatusDisplayController']],[_0x326afb],[_0x1a7c60],[_0x5e0019[_0x41d4d4(0x1a2)]]]);}},_0x3d450b(_0x5e0019[_0x4078cd(0x199)],_0x4078cd(0x11c),_0x545fd0),_0x5e0019[_0x4078cd(0x199)]=_0x3c12ac([_0x508aad[_0x4078cd(0x31b)](_0x356380['UniverCollaborationClientPlugin']),_0x1b819c(0x1,_0x23a227[_0x4078cd(0x1cc)]),_0x1b819c(0x2,_0x508aad[_0x4078cd(0x2b3)](_0x508aad['Injector'])),_0x1b819c(0x3,_0x508aad[_0x4078cd(0x247)])],_0x5e0019[_0x4078cd(0x199)]);var _0x173526=Object['getOwnPropertyDescriptor'],_0x569edd=(_0x50ffdc,_0x5438da,_0x5aa1c0,_0x205972)=>{const _0x59dbc0=_0x4078cd;for(var _0x1b3223=_0x205972>0x1?void 0x0:_0x205972?_0x173526(_0x5438da,_0x5aa1c0):_0x5438da,_0x18a98e=_0x50ffdc[_0x59dbc0(0x105)]-0x1,_0x5cf547;_0x18a98e>=0x0;_0x18a98e--)(_0x5cf547=_0x50ffdc[_0x18a98e])&&(_0x1b3223=_0x5cf547(_0x1b3223)||_0x1b3223);return _0x1b3223;},_0x27caf5=(_0x1f1a9e,_0x34327f)=>(_0x4909cf,_0x558175)=>_0x34327f(_0x4909cf,_0x558175,_0x1f1a9e);_0x5e0019[_0x4078cd(0xfe)]=class extends _0x356380['CollaborationSocketService']{constructor(_0x2eae32,_0x247ba7,_0x5f05c9,_0x50b82e,_0x41db80){super(_0x2eae32,_0x247ba7,_0x5f05c9,_0x50b82e,_0x41db80);}async[_0x4078cd(0x275)](_0x5a2c92){const _0x56693c=_0x4078cd,_0x289d98=await this[_0x56693c(0x2c7)](),_0x5b42c8=this['_createSocketURL'](_0x5a2c92,_0x289d98);return this[_0x56693c(0x2d8)](_0x5b42c8);}[_0x4078cd(0x27d)](_0x1862d5,_0x583bef){const _0x3e8372=_0x4078cd,_0x21a898=typeof window>'u'?new URL(_0x1862d5):new URL(_0x1862d5,window[_0x3e8372(0x26b)]['origin']);_0x21a898[_0x3e8372(0xfd)][_0x3e8372(0x270)](_0x3e8372(0x1f3),_0x583bef);const _0x5f03ae=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3e8372(0x26b)][_0x3e8372(0x1cd)]);return _0x5f03ae[_0x3e8372(0x1d2)](_0x3e8372(0x34a))&&_0x21a898['searchParams'][_0x3e8372(0x270)](_0x3e8372(0x34a),_0x5f03ae[_0x3e8372(0x1d2)](_0x3e8372(0x34a))),_0x21a898[_0x3e8372(0x1f2)]();}async[_0x4078cd(0x2c7)](){const _0x15b4bf=_0x4078cd;var _0x58779f,_0x40721d,_0x239e09;const _0x2eb0c3=this[_0x15b4bf(0x274)]['getConfig'](_0x356380['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x2c54b6=(_0x58779f=_0x2eb0c3==null?void 0x0:_0x2eb0c3[_0x15b4bf(0x191)])!=null?_0x58779f:_0x356380[_0x15b4bf(0x2a2)];return(_0x239e09=(_0x40721d=(await this['_httpService'][_0x15b4bf(0x1d2)](_0x2c54b6,{'headers':{'Content-Type':'application/json'}}))[_0x15b4bf(0x31e)])==null?void 0x0:_0x40721d['ticket'])!=null?_0x239e09:'';}},_0x5e0019['BrowserCollaborationSocketService']=_0x569edd([_0x27caf5(0x0,_0x508aad[_0x4078cd(0x2b3)](_0x508aad['Injector'])),_0x27caf5(0x1,_0x508aad[_0x4078cd(0x2b3)](_0x415d26[_0x4078cd(0x212)])),_0x27caf5(0x2,_0x508aad['IConfigService']),_0x27caf5(0x3,_0x508aad[_0x4078cd(0x30c)]),_0x27caf5(0x4,_0x319724['ISnapshotServerService'])],_0x5e0019[_0x4078cd(0xfe)]);var _0x42c9af=(_0x74e56b=>(_0x74e56b[_0x74e56b[_0x4078cd(0x2bb)]=0x0]=_0x4078cd(0x2bb),_0x74e56b[_0x74e56b['OK']=0x1]='OK',_0x74e56b[_0x74e56b[_0x4078cd(0x287)]=0x2]=_0x4078cd(0x287),_0x74e56b[_0x74e56b['PERMISSION_DENIED']=0x3]=_0x4078cd(0xd1),_0x74e56b[_0x74e56b[_0x4078cd(0x27b)]=0x4]='NOT_FOUND',_0x74e56b[_0x74e56b[_0x4078cd(0xe4)]=0x5]=_0x4078cd(0xe4),_0x74e56b[_0x74e56b[_0x4078cd(0x154)]=0x6]=_0x4078cd(0x154),_0x74e56b[_0x74e56b[_0x4078cd(0x164)]=0x7]=_0x4078cd(0x164),_0x74e56b[_0x74e56b[_0x4078cd(0x1ae)]=0x8]=_0x4078cd(0x1ae),_0x74e56b[_0x74e56b[_0x4078cd(0x103)]=0x9]='COMPLETION_FINISHED',_0x74e56b[_0x74e56b[_0x4078cd(0x313)]=0xa]=_0x4078cd(0x313),_0x74e56b[_0x74e56b['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x4078cd(0x16a),_0x74e56b[_0x74e56b[_0x4078cd(0x169)]=0xc]=_0x4078cd(0x169),_0x74e56b[_0x74e56b[_0x4078cd(0xe0)]=0xd]=_0x4078cd(0xe0),_0x74e56b[_0x74e56b[_0x4078cd(0x1bf)]=0xe]=_0x4078cd(0x1bf),_0x74e56b[_0x74e56b['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4078cd(0x188),_0x74e56b[_0x74e56b[_0x4078cd(0x146)]=0x1771]=_0x4078cd(0x146),_0x74e56b[_0x74e56b[_0x4078cd(0x285)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x74e56b[_0x74e56b[_0x4078cd(0x153)]=0x1773]=_0x4078cd(0x153),_0x74e56b[_0x74e56b[_0x4078cd(0x34b)]=0x1b59]='APPLY_REJECT',_0x74e56b[_0x74e56b[_0x4078cd(0x19c)]=0x1b5a]=_0x4078cd(0x19c),_0x74e56b[_0x74e56b[_0x4078cd(0x323)]=0x1b5b]=_0x4078cd(0x323),_0x74e56b[_0x74e56b[_0x4078cd(0x320)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x74e56b[_0x74e56b[_0x4078cd(0x16c)]=0x1b5d]=_0x4078cd(0x16c),_0x74e56b[_0x74e56b['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4078cd(0xe8),_0x74e56b[_0x74e56b[_0x4078cd(0x15e)]=0x2329]=_0x4078cd(0x15e),_0x74e56b[_0x74e56b['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4078cd(0x33b),_0x74e56b[_0x74e56b[_0x4078cd(0x2dd)]=0x232b]=_0x4078cd(0x2dd),_0x74e56b[_0x74e56b[_0x4078cd(0xd4)]=0x232c]=_0x4078cd(0xd4),_0x74e56b[_0x74e56b[_0x4078cd(0x30b)]=0x232d]=_0x4078cd(0x30b),_0x74e56b[_0x74e56b[_0x4078cd(0xc8)]=0x2711]=_0x4078cd(0xc8),_0x74e56b[_0x74e56b[_0x4078cd(0x29f)]=0x2712]=_0x4078cd(0x29f),_0x74e56b[_0x74e56b[_0x4078cd(0x220)]=0x2713]=_0x4078cd(0x220),_0x74e56b[_0x74e56b[_0x4078cd(0x341)]=0x2714]=_0x4078cd(0x341),_0x74e56b[_0x74e56b[_0x4078cd(0x1c3)]=0x271a]=_0x4078cd(0x1c3),_0x74e56b[_0x74e56b[_0x4078cd(0x1d6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x74e56b[_0x74e56b[_0x4078cd(0x305)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x74e56b[_0x74e56b[_0x4078cd(0x130)]=0x271d]=_0x4078cd(0x130),_0x74e56b[_0x74e56b[_0x4078cd(0x2c4)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x74e56b[_0x74e56b[_0x4078cd(0x2f7)]=0x271f]=_0x4078cd(0x2f7),_0x74e56b[_0x74e56b[_0x4078cd(0x10b)]=0x2720]=_0x4078cd(0x10b),_0x74e56b[_0x74e56b['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4078cd(0x17f),_0x74e56b[_0x74e56b[_0x4078cd(0x117)]=0x2ee1]=_0x4078cd(0x117),_0x74e56b[_0x74e56b[_0x4078cd(0x2e6)]=0x2ee2]=_0x4078cd(0x2e6),_0x74e56b[_0x74e56b[_0x4078cd(0x2f5)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x74e56b[_0x74e56b[_0x4078cd(0x2df)]=0x2ee4]=_0x4078cd(0x2df),_0x74e56b[_0x74e56b[_0x4078cd(0x179)]=0x2ee5]=_0x4078cd(0x179),_0x74e56b[_0x74e56b[_0x4078cd(0x224)]=0x32c9]=_0x4078cd(0x224),_0x74e56b[_0x74e56b[_0x4078cd(0x258)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x74e56b[_0x74e56b['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4078cd(0x173),_0x74e56b[_0x74e56b['UNRECOGNIZED']=-0x1]=_0x4078cd(0x277),_0x74e56b))(_0x42c9af||{}),_0x3aad29=Object['getOwnPropertyDescriptor'],_0x1e0f98=(_0x1d38ac,_0xa4c4eb,_0x533802,_0x3c5dec)=>{const _0x494460=_0x4078cd;for(var _0xea2ac9=_0x3c5dec>0x1?void 0x0:_0x3c5dec?_0x3aad29(_0xa4c4eb,_0x533802):_0xa4c4eb,_0xcfce18=_0x1d38ac[_0x494460(0x105)]-0x1,_0x9cce74;_0xcfce18>=0x0;_0xcfce18--)(_0x9cce74=_0x1d38ac[_0xcfce18])&&(_0xea2ac9=_0x9cce74(_0xea2ac9)||_0xea2ac9);return _0xea2ac9;},_0x5d6c66=(_0x233ddc,_0x45a536)=>(_0x242622,_0x31fd0b)=>_0x45a536(_0x242622,_0x31fd0b,_0x233ddc);_0x5e0019[_0x4078cd(0x2fb)]=class extends _0x508aad[_0x4078cd(0x17e)]{constructor(_0x404cb8,_0x237b0f,_0x12e696){const _0x2f1908=_0x4078cd;super(),this[_0x2f1908(0xf6)]=_0x404cb8,this[_0x2f1908(0x2c0)]=_0x237b0f,this['_configService']=_0x12e696;}async[_0x4078cd(0x1a1)](_0x5cf3a3,_0x3313a7,_0x2232bc,..._0x37e5f0){const _0x34fbaf=_0x4078cd;var _0xa9de64,_0x27dc6e,_0x532e7a,_0x23b54d;const _0x4f1dc6=this[_0x34fbaf(0xf6)]['getFocusedUnit']();if(!_0x4f1dc6)throw new Error(_0x34fbaf(0x13d));const _0x1bfddd=((_0xa9de64=this[_0x34fbaf(0x274)]['getConfig'](_0x356380['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0xa9de64:_0x356380[_0x34fbaf(0x1f8)])+'/'+_0x5cf3a3+_0x34fbaf(0x208)+_0x3313a7,_0x5df991=new URL(window[_0x34fbaf(0x26b)][_0x34fbaf(0x1cf)]),_0x4442fd={'scriptId':_0x5cf3a3,'runId':(_0x27dc6e=_0x5df991[_0x34fbaf(0xfd)]['get'](_0x34fbaf(0x34a)))!=null?_0x27dc6e:'','function':_0x3313a7,'unitId':_0x4f1dc6['getUnitId'](),'argsOfFunction':JSON[_0x34fbaf(0xcb)](_0x37e5f0),'invokeId':(_0x532e7a=_0x2232bc['invokeId'])!=null?_0x532e7a:'','executionId':(_0x23b54d=_0x2232bc[_0x34fbaf(0x33c)])!=null?_0x23b54d:''};try{const _0xaa377c=await this['_httpService'][_0x34fbaf(0x2b9)](_0x1bfddd,{'body':_0x4442fd});return _0xaa377c['body'][_0x34fbaf(0x267)]&&_0xaa377c['body'][_0x34fbaf(0x267)][_0x34fbaf(0x2a5)]!==_0x42c9af['OK']?'Failed':_0xaa377c[_0x34fbaf(0x31e)][_0x34fbaf(0x14f)];}catch{return'Failed';}}},_0x5e0019[_0x4078cd(0x2fb)]=_0x1e0f98([_0x5d6c66(0x0,_0x508aad[_0x4078cd(0x263)]),_0x5d6c66(0x1,_0x508aad[_0x4078cd(0x2b3)](_0x415d26[_0x4078cd(0x212)])),_0x5d6c66(0x2,_0x508aad[_0x4078cd(0x247)])],_0x5e0019['RemoteUniscriptService']);const _0xcd14cf=0x7530,_0x18b251=_0x4078cd(0x12e);class _0x54fe8b extends _0x508aad[_0x4078cd(0x17e)]{constructor(){const _0x486f0f=_0x4078cd;super(),_0x5e1a9d(this,_0x486f0f(0x1de),_0x508aad['generateRandomId']()),_0x5e1a9d(this,'_selfUnitIDs',new Set()),_0x5e1a9d(this,'_unitOnClients',new Map()),_0x5e1a9d(this,'_heartbeatTimer',null),_0x5e1a9d(this,_0x486f0f(0x14b),new Map()),_0x5e1a9d(this,_0x486f0f(0x344),new Map()),this[_0x486f0f(0x1ee)]();}[_0x4078cd(0x2e1)](){const _0x20cd50=_0x4078cd;super[_0x20cd50(0x2e1)](),this['_clearOtherTimers'][_0x20cd50(0x346)]((_0x1576f0,_0x5dd773)=>this['_removeClearOtherTimer'](_0x5dd773)),this[_0x20cd50(0x318)]&&window[_0x20cd50(0x132)](this['_heartbeatTimer']);}[_0x4078cd(0x25d)](_0x21f79e){const _0x52c514=_0x4078cd;return this[_0x52c514(0x123)](_0x21f79e)['pipe'](_0x54d76a[_0x52c514(0x25a)]());}[_0x4078cd(0x14c)](_0x41682b){const _0x2913e8=_0x4078cd;this[_0x2913e8(0x136)][_0x2913e8(0x26f)]===0x0&&this[_0x2913e8(0x114)](),this[_0x2913e8(0x136)][_0x2913e8(0xe7)](_0x41682b),this[_0x2913e8(0x131)]({'type':0x0,'memberID':this[_0x2913e8(0x1de)],'unitIDs':[_0x41682b],'isForwarded':!0x1});}[_0x4078cd(0x181)](_0x526021){const _0xa84461=_0x4078cd;this[_0xa84461(0x136)]['delete'](_0x526021),this[_0xa84461(0x136)][_0xa84461(0x26f)]===0x0&&this[_0xa84461(0x318)]&&window[_0xa84461(0x132)](this[_0xa84461(0x318)]);}[_0x4078cd(0x1ee)](){const _0xdd59be=_0x4078cd;this[_0xdd59be(0x2d5)](_0x508aad[_0xdd59be(0x11d)](_0x54d76a[_0xdd59be(0x1f0)](window,'storage')[_0xdd59be(0x26c)](_0x29cc75=>{const _0xd9a650=_0xdd59be;if(_0x29cc75[_0xd9a650(0x327)]!==_0x18b251||!_0x29cc75[_0xd9a650(0xe6)])return;const _0x1fe1f8=JSON['parse'](_0x29cc75[_0xd9a650(0xe6)]);this['_handleEvent'](_0x1fe1f8);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0xdd59be(0x1de)],'unitIDs':Array[_0xdd59be(0x343)](this['_selfUnitIDs'])}));}[_0x4078cd(0x35a)](_0x26cb9a){const _0x5c8901=_0x4078cd;switch(_0x26cb9a['type']){case 0x0:this[_0x5c8901(0x194)](_0x26cb9a);break;case 0x1:this[_0x5c8901(0x166)](_0x26cb9a);break;case 0x2:this[_0x5c8901(0x25b)](_0x26cb9a);break;}}[_0x4078cd(0x194)](_0x39924d){const _0xf4f693=_0x4078cd,{unitIDs:_0x45e041,memberID:_0xf0dca5,isForwarded:_0x7a1315}=_0x39924d;_0x45e041[_0xf4f693(0x346)](_0x34b085=>{const _0x2d3605=_0xf4f693;if(!_0x7a1315&&this[_0x2d3605(0x253)][_0x2d3605(0x12a)](_0x34b085)&&this['_ensureSubject'](_0x34b085)[_0x2d3605(0x1f9)](_0x356380[_0x2d3605(0x22f)][_0x2d3605(0x336)]),!this['_unitOnClients']['has'](_0x34b085)||!this[_0x2d3605(0x253)][_0x2d3605(0x1d2)](_0x34b085)[_0x2d3605(0x12a)](_0xf0dca5)){const _0x35f8b5=this['_unitOnClients'][_0x2d3605(0x1d2)](_0x34b085)||new Set();_0x35f8b5[_0x2d3605(0xe7)](_0xf0dca5),this[_0x2d3605(0x253)]['set'](_0x34b085,_0x35f8b5),this['_scheduleClearOtherTimer'](_0xf0dca5);}}),_0x7a1315||this[_0xf4f693(0x131)]({'type':0x0,'memberID':this[_0xf4f693(0x1de)],'unitIDs':[...this[_0xf4f693(0x136)]],'isForwarded':!0x0});}[_0x4078cd(0x1ff)](_0x5be83b){const _0x2bc338=_0x4078cd;this[_0x2bc338(0x1c6)](_0x5be83b);const _0x5230f5=window[_0x2bc338(0x265)](()=>{const _0x25ef81=_0x2bc338;this[_0x25ef81(0x253)][_0x25ef81(0x346)](_0x2b5061=>{const _0x1d3751=_0x25ef81;_0x2b5061[_0x1d3751(0x204)](_0x5be83b);});},_0xcd14cf*0x2);this[_0x2bc338(0x14b)][_0x2bc338(0x270)](_0x5be83b,_0x5230f5);}[_0x4078cd(0x1c6)](_0x1505b1){const _0x1c226f=_0x4078cd;if(this['_clearOtherTimers'][_0x1c226f(0x12a)](_0x1505b1)){const _0x37b9f4=this['_clearOtherTimers']['get'](_0x1505b1);_0x37b9f4&&window[_0x1c226f(0x297)](_0x37b9f4),this[_0x1c226f(0x14b)][_0x1c226f(0x270)](_0x1505b1,null);}}[_0x4078cd(0x166)](_0x3ad159){const _0x5a18a9=_0x4078cd,{memberID:_0x4d0451,unitIDs:_0x3a85d5}=_0x3ad159;_0x3a85d5[_0x5a18a9(0x346)](_0x47c651=>{const _0x2d6a05=_0x5a18a9;var _0x1ebf37;const _0x37a261=this[_0x2d6a05(0x253)]['get'](_0x47c651);_0x37a261&&(_0x37a261[_0x2d6a05(0x204)](_0x4d0451),(_0x1ebf37=this[_0x2d6a05(0x123)](_0x47c651))==null||_0x1ebf37[_0x2d6a05(0x1f9)](_0x37a261['size']===0x0?_0x356380['UnitStatus'][_0x2d6a05(0x129)]:_0x356380['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x4d0451);}[_0x4078cd(0x25b)](_0x4e124d){const _0x5c9be4=_0x4078cd;this[_0x5c9be4(0x1ff)](_0x4e124d[_0x5c9be4(0x240)]);}[_0x4078cd(0x131)](_0x8ffa7b){localStorage['setItem'](_0x18b251,JSON['stringify'](_0x8ffa7b));}['_scheduleHeartbeat'](){const _0x45eec7=_0x4078cd;this['_heartbeatTimer']=window[_0x45eec7(0x213)](()=>{const _0xf4169f=_0x45eec7;this[_0xf4169f(0x131)]({'type':0x2,'memberID':this[_0xf4169f(0x1de)]});},_0xcd14cf);}[_0x4078cd(0x123)](_0x119bab){const _0x3260ac=_0x4078cd;return this['_unitStatus'][_0x3260ac(0x12a)](_0x119bab)||this[_0x3260ac(0x344)][_0x3260ac(0x270)](_0x119bab,new _0x54d76a['BehaviorSubject'](_0x356380[_0x3260ac(0x22f)][_0x3260ac(0x129)])),this[_0x3260ac(0x344)]['get'](_0x119bab);}}_0x5e0019[_0x4078cd(0x264)]=_0x5066f6,_0x5e0019[_0x4078cd(0x2cb)]=_0x48ed76,_0x5e0019[_0x4078cd(0x2f4)]=_0x54fe8b,_0x5e0019[_0x4078cd(0x20d)]=_0x59a3a5,Object[_0x4078cd(0xc9)](_0x5e0019,Symbol[_0x4078cd(0x100)],{'value':_0x4078cd(0x2f8)});}));
1
+ function _0x53f7(_0x40f2b5,_0xc37878){const _0x2e8b5c=_0x2e8b();return _0x53f7=function(_0x53f799,_0x469118){_0x53f799=_0x53f799-0x171;let _0x2716ac=_0x2e8b5c[_0x53f799];return _0x2716ac;},_0x53f7(_0x40f2b5,_0xc37878);}(function(_0x2219f8,_0x2842d1){const _0x296aaa=_0x53f7,_0x5dbf1e=_0x2219f8();while(!![]){try{const _0x48566d=parseInt(_0x296aaa(0x330))/0x1*(-parseInt(_0x296aaa(0x264))/0x2)+-parseInt(_0x296aaa(0x3b5))/0x3+parseInt(_0x296aaa(0x372))/0x4+parseInt(_0x296aaa(0x3df))/0x5+-parseInt(_0x296aaa(0x1e7))/0x6+-parseInt(_0x296aaa(0x389))/0x7+-parseInt(_0x296aaa(0x230))/0x8*(-parseInt(_0x296aaa(0x244))/0x9);if(_0x48566d===_0x2842d1)break;else _0x5dbf1e['push'](_0x5dbf1e['shift']());}catch(_0x152eea){_0x5dbf1e['push'](_0x5dbf1e['shift']());}}}(_0x2e8b,0x949d3),function(_0x24445d,_0x5026cd){const _0x34fd63=_0x53f7;typeof exports==_0x34fd63(0x1a6)&&typeof module<'u'?_0x5026cd(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==_0x34fd63(0x32d)&&define[_0x34fd63(0x37c)]?define([_0x34fd63(0x28b),_0x34fd63(0x34d),'@univerjs-pro/collaboration-client',_0x34fd63(0x30e),_0x34fd63(0x21d),_0x34fd63(0x21f),_0x34fd63(0x387),_0x34fd63(0x397),_0x34fd63(0x3b6),_0x34fd63(0x17e),'@univerjs/engine-render',_0x34fd63(0x212),_0x34fd63(0x435),'@univerjs/drawing',_0x34fd63(0x1ab),_0x34fd63(0x1b9),_0x34fd63(0x357),'rxjs/operators',_0x34fd63(0x194)],_0x5026cd):(_0x24445d=typeof globalThis<'u'?globalThis:_0x24445d||self,_0x5026cd(_0x24445d['UniverProCollaborationClientUi']={},_0x24445d['React'],_0x24445d[_0x34fd63(0x239)],_0x24445d[_0x34fd63(0x36d)],_0x24445d[_0x34fd63(0x423)],_0x24445d[_0x34fd63(0x21f)],_0x24445d[_0x34fd63(0x1fa)],_0x24445d[_0x34fd63(0x20a)],_0x24445d['UniverRpc'],_0x24445d[_0x34fd63(0x1db)],_0x24445d[_0x34fd63(0x25d)],_0x24445d[_0x34fd63(0x424)],_0x24445d['UniverDocsUi'],_0x24445d[_0x34fd63(0x2ca)],_0x24445d[_0x34fd63(0x320)],_0x24445d[_0x34fd63(0x22b)],_0x24445d[_0x34fd63(0x200)],_0x24445d['rxjs'][_0x34fd63(0x299)],_0x24445d['UniverSheetsUi']));}(this,function(_0x4f0727,_0x24e7e1,_0x5c1af6,_0x4bf0bf,_0x19759c,_0x28bd90,_0x22cb21,_0x492edf,_0x461d35,_0x3edab0,_0x1a5c20,_0x133421,_0x80b7f3,_0x3f8334,_0x346166,_0xfb3c5a,_0x1738fe,_0x3f3616,_0x262b71){'use strict';const _0x37f8b3=_0x53f7;var _0x58d5c9=Object['defineProperty'],_0x1519fa=(_0x53109a,_0x4ba681,_0x53bde4)=>_0x4ba681 in _0x53109a?_0x58d5c9(_0x53109a,_0x4ba681,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53bde4}):_0x53109a[_0x4ba681]=_0x53bde4,_0xd7033e=(_0x3c525e,_0x46a223,_0x3ff7cd)=>_0x1519fa(_0x3c525e,typeof _0x46a223!=_0x37f8b3(0x174)?_0x46a223+'':_0x46a223,_0x3ff7cd),_0x333fde=function(){const _0xc0d95b=_0x37f8b3;return _0x333fde=Object[_0xc0d95b(0x1d0)]||function(_0x51e58c){const _0xc1f35b=_0xc0d95b;for(var _0x2cb84c,_0x127046=0x1,_0x39148e=arguments[_0xc1f35b(0x185)];_0x127046<_0x39148e;_0x127046++){_0x2cb84c=arguments[_0x127046];for(var _0x3f3928 in _0x2cb84c)Object[_0xc1f35b(0x17b)]['hasOwnProperty'][_0xc1f35b(0x275)](_0x2cb84c,_0x3f3928)&&(_0x51e58c[_0x3f3928]=_0x2cb84c[_0x3f3928]);}return _0x51e58c;},_0x333fde[_0xc0d95b(0x335)](this,arguments);},_0x5c128e=function(_0x3105ed,_0x245161){const _0x3af71d=_0x37f8b3;var _0x2844b9={};for(var _0x204b60 in _0x3105ed)Object[_0x3af71d(0x17b)][_0x3af71d(0x376)][_0x3af71d(0x275)](_0x3105ed,_0x204b60)&&_0x245161[_0x3af71d(0x1b1)](_0x204b60)<0x0&&(_0x2844b9[_0x204b60]=_0x3105ed[_0x204b60]);if(_0x3105ed!=null&&typeof Object[_0x3af71d(0x2ba)]==_0x3af71d(0x32d)){for(var _0x10252b=0x0,_0x204b60=Object[_0x3af71d(0x2ba)](_0x3105ed);_0x10252b<_0x204b60['length'];_0x10252b++)_0x245161[_0x3af71d(0x1b1)](_0x204b60[_0x10252b])<0x0&&Object['prototype'][_0x3af71d(0x3f7)][_0x3af71d(0x275)](_0x3105ed,_0x204b60[_0x10252b])&&(_0x2844b9[_0x204b60[_0x10252b]]=_0x3105ed[_0x204b60[_0x10252b]]);}return _0x2844b9;},_0x2d9c63=_0x492edf[_0x37f8b3(0x1b7)](function(_0x6e2126,_0x619c29){const _0x2882f2=_0x37f8b3;var _0x575934=_0x6e2126[_0x2882f2(0x404)],_0x38c4f4=_0x6e2126['id'],_0x4c2f32=_0x6e2126[_0x2882f2(0x3d4)],_0x4d7652=_0x6e2126[_0x2882f2(0x36e)],_0x3dbd88=_0x5c128e(_0x6e2126,[_0x2882f2(0x404),'id',_0x2882f2(0x3d4),'extend']),_0x36d325='univerjs-icon\x20univerjs-icon-'[_0x2882f2(0x1ad)](_0x38c4f4,'\x20')[_0x2882f2(0x1ad)](_0x4c2f32||'')[_0x2882f2(0x2c1)](),_0x28359c=_0x492edf[_0x2882f2(0x24b)]('_'['concat'](_0xce2fb8()));return _0x15c234(_0x575934,''['concat'](_0x38c4f4),{'defIds':_0x575934[_0x2882f2(0x274)],'idSuffix':_0x28359c[_0x2882f2(0x37e)]},_0x333fde({'ref':_0x619c29,'className':_0x36d325},_0x3dbd88),_0x4d7652);});function _0x15c234(_0x4a6bec,_0x371aea,_0x590722,_0x214203,_0x4b9fda){const _0x458ef3=_0x37f8b3;return _0x492edf[_0x458ef3(0x1a0)](_0x4a6bec[_0x458ef3(0x396)],_0x333fde(_0x333fde({'key':_0x371aea},_0x3d81e7(_0x4a6bec,_0x590722,_0x4b9fda)),_0x214203),(_0x4f4b0b(_0x4a6bec,_0x590722)[_0x458ef3(0x451)]||[])[_0x458ef3(0x2c4)](function(_0x2c1550,_0x500bc8){const _0x49f265=_0x458ef3;return _0x15c234(_0x2c1550,''[_0x49f265(0x1ad)](_0x371aea,'-')['concat'](_0x4a6bec[_0x49f265(0x396)],'-')['concat'](_0x500bc8),_0x590722,void 0x0,_0x4b9fda);}));}function _0x3d81e7(_0x14eafd,_0x11a94d,_0x3a8528){const _0x1ed9c6=_0x37f8b3;var _0x491ecf=_0x333fde({},_0x14eafd['attrs']);_0x3a8528!=null&&_0x3a8528['colorChannel1']&&_0x491ecf[_0x1ed9c6(0x2d8)]===_0x1ed9c6(0x2c5)&&(_0x491ecf[_0x1ed9c6(0x2d8)]=_0x3a8528[_0x1ed9c6(0x2c5)]),_0x14eafd[_0x1ed9c6(0x396)]===_0x1ed9c6(0x29a)&&_0x491ecf['id']&&(_0x491ecf['id']=_0x491ecf['id']+_0x11a94d[_0x1ed9c6(0x1e2)]),Object[_0x1ed9c6(0x25f)](_0x491ecf)[_0x1ed9c6(0x3a0)](function(_0x27ba93){const _0x1dfe6f=_0x1ed9c6;var _0x1abcb4=_0x27ba93[0x0],_0x3727eb=_0x27ba93[0x1];_0x1abcb4===_0x1dfe6f(0x29a)&&typeof _0x3727eb==_0x1dfe6f(0x1ed)&&(_0x491ecf[_0x1abcb4]=_0x3727eb[_0x1dfe6f(0x3af)](/url\(#(.*)\)/,_0x1dfe6f(0x3a3)['concat'](_0x11a94d[_0x1dfe6f(0x1e2)],')')));});var _0x50d197=_0x11a94d['defIds'];return!_0x50d197||_0x50d197[_0x1ed9c6(0x185)]===0x0||(_0x14eafd['tag']==='use'&&_0x491ecf[_0x1ed9c6(0x3b8)]&&(_0x491ecf[_0x1ed9c6(0x3b8)]=_0x491ecf['xlink:href']+_0x11a94d[_0x1ed9c6(0x1e2)]),Object[_0x1ed9c6(0x25f)](_0x491ecf)[_0x1ed9c6(0x3a0)](function(_0x51661c){const _0x145ee0=_0x1ed9c6;var _0x2382f0=_0x51661c[0x0],_0x24e2a3=_0x51661c[0x1];typeof _0x24e2a3==_0x145ee0(0x1ed)&&(_0x491ecf[_0x2382f0]=_0x24e2a3[_0x145ee0(0x3af)](/url\(#(.*)\)/,_0x145ee0(0x3a3)[_0x145ee0(0x1ad)](_0x11a94d[_0x145ee0(0x1e2)],')')));})),_0x491ecf;}function _0x4f4b0b(_0x57f317,_0x450cac){const _0x478eb1=_0x37f8b3;var _0x265c44,_0x228b42=_0x450cac[_0x478eb1(0x274)];return!_0x228b42||_0x228b42[_0x478eb1(0x185)]===0x0?_0x57f317:_0x57f317['tag']==='defs'&&(!((_0x265c44=_0x57f317['children'])===null||_0x265c44===void 0x0)&&_0x265c44[_0x478eb1(0x185)])?_0x333fde(_0x333fde({},_0x57f317),{'children':_0x57f317[_0x478eb1(0x451)]['map'](function(_0x486352){const _0x1d6dce=_0x478eb1;return typeof _0x486352[_0x1d6dce(0x43f)]['id']==_0x1d6dce(0x1ed)&&_0x228b42&&_0x228b42[_0x1d6dce(0x2f7)](_0x486352[_0x1d6dce(0x43f)]['id'])?_0x333fde(_0x333fde({},_0x486352),{'attrs':_0x333fde(_0x333fde({},_0x486352[_0x1d6dce(0x43f)]),{'id':_0x486352[_0x1d6dce(0x43f)]['id']+_0x450cac[_0x1d6dce(0x1e2)]})}):_0x486352;})}):_0x57f317;}function _0xce2fb8(){const _0x1313aa=_0x37f8b3;return Math['random']()[_0x1313aa(0x31d)](0x24)['substring'](0x2,0x8);}_0x2d9c63[_0x37f8b3(0x17c)]=_0x37f8b3(0x373);var _0xaf8a6d={'tag':_0x37f8b3(0x219),'attrs':{'xmlns':_0x37f8b3(0x3de),'fill':_0x37f8b3(0x1be),'viewBox':_0x37f8b3(0x2c3),'width':_0x37f8b3(0x2a2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x37f8b3(0x31f)},'children':[{'tag':_0x37f8b3(0x3e0),'attrs':{'stroke':_0x37f8b3(0x364),'d':_0x37f8b3(0x3d8),'strokeLinecap':_0x37f8b3(0x346),'strokeLinejoin':_0x37f8b3(0x346),'strokeWidth':1.2}}]},{'tag':_0x37f8b3(0x312),'attrs':{},'children':[{'tag':_0x37f8b3(0x2fe),'attrs':{'id':_0x37f8b3(0x2e5)},'children':[{'tag':'path','attrs':{'fill':_0x37f8b3(0x325),'d':_0x37f8b3(0x427)}}]}]}],'defIds':[_0x37f8b3(0x2e5)]},_0x3585d5=_0x492edf[_0x37f8b3(0x1b7)](function(_0x4c6b20,_0x339321){const _0x5be40c=_0x37f8b3;return _0x492edf[_0x5be40c(0x1a0)](_0x2d9c63,Object[_0x5be40c(0x1d0)]({},_0x4c6b20,{'id':_0x5be40c(0x40c),'ref':_0x339321,'icon':_0xaf8a6d}));});_0x3585d5[_0x37f8b3(0x17c)]=_0x37f8b3(0x2a8);var _0x2f5e9f={'tag':_0x37f8b3(0x219),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x37f8b3(0x2e6),'width':_0x37f8b3(0x2a2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x37f8b3(0x1f2)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x37f8b3(0x307),'strokeLinecap':_0x37f8b3(0x346),'strokeLinejoin':_0x37f8b3(0x346),'strokeWidth':1.2}}]},{'tag':_0x37f8b3(0x312),'attrs':{},'children':[{'tag':_0x37f8b3(0x2fe),'attrs':{'id':_0x37f8b3(0x342)},'children':[{'tag':_0x37f8b3(0x3e0),'attrs':{'fill':_0x37f8b3(0x325),'d':_0x37f8b3(0x427),'transform':_0x37f8b3(0x3b2)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x4df8ab=_0x492edf[_0x37f8b3(0x1b7)](function(_0x559cc4,_0x247cf1){const _0x192c89=_0x37f8b3;return _0x492edf['createElement'](_0x2d9c63,Object[_0x192c89(0x1d0)]({},_0x559cc4,{'id':_0x192c89(0x443),'ref':_0x247cf1,'icon':_0x2f5e9f}));});_0x4df8ab['displayName']=_0x37f8b3(0x26b);function _0x234625(_0xafc3cd){const _0x2cced4=_0x37f8b3;switch(_0xafc3cd){case _0x5c1af6[_0x2cced4(0x252)]['OFFLINE']:return _0x2cced4(0x371);case _0x5c1af6['CollaborationStatus'][_0x2cced4(0x2f3)]:return'collabStatus.conflict';case _0x5c1af6['CollaborationStatus'][_0x2cced4(0x242)]:return _0x2cced4(0x32c);case _0x5c1af6[_0x2cced4(0x252)][_0x2cced4(0x247)]:return _0x2cced4(0x177);case _0x5c1af6['CollaborationStatus'][_0x2cced4(0x431)]:case _0x5c1af6[_0x2cced4(0x252)][_0x2cced4(0x43e)]:return _0x2cced4(0x41d);case _0x5c1af6['CollaborationStatus'][_0x2cced4(0x28e)]:case _0x5c1af6[_0x2cced4(0x252)][_0x2cced4(0x243)]:return'collabStatus.synced';}}function _0xbbffd1(_0x1225ec){const _0x5c6ce0=_0x37f8b3,{status$:_0x29d921}=_0x1225ec,_0x5d0ca4=_0x19759c[_0x5c6ce0(0x1f8)](_0x29d921,_0x5c1af6[_0x5c6ce0(0x252)][_0x5c6ce0(0x247)]),_0xb81c27=_0x19759c[_0x5c6ce0(0x41b)](_0x4bf0bf[_0x5c6ce0(0x351)]),_0x43b2d9=_0x19759c[_0x5c6ce0(0x41b)](_0x5c1af6[_0x5c6ce0(0x21e)]),_0x1b816b=_0x5d0ca4!==_0x5c1af6['CollaborationStatus'][_0x5c6ce0(0x2e4)],_0x2054f7=_0xb81c27['t'](_0x234625(_0x5d0ca4)),_0x32ba56=_0x1b816b?_0x24e7e1[_0x5c6ce0(0x331)](_0x4df8ab,{}):_0x24e7e1[_0x5c6ce0(0x331)](_0x3585d5,{}),_0x2fed5d=_0x492edf[_0x5c6ce0(0x432)](()=>{const _0x3e8120=_0x5c6ce0;_0x1b816b||_0x43b2d9[_0x3e8120(0x29f)]();},[_0x1b816b,_0x43b2d9]);function _0xcfe0cc(){const _0x5c799c=_0x5c6ce0;return _0x24e7e1['jsxs'](_0x5c799c(0x41e),{'className':_0x5c799c(0x190),'onClick':_0x2fed5d,'children':[_0x24e7e1[_0x5c799c(0x331)](_0x5c799c(0x41e),{'className':_0x22cb21[_0x5c799c(0x41f)](_0x5c799c(0x260),{'univer-text-green-500':_0x1b816b,'univer-text-red-500':!_0x1b816b}),'children':_0x32ba56}),_0x24e7e1['jsx']('div',{'className':_0x5c799c(0x277),'children':_0x2054f7})]});}return _0x1b816b?_0xcfe0cc():_0x24e7e1[_0x5c6ce0(0x331)](_0x22cb21[_0x5c6ce0(0x2ea)],{'title':_0xb81c27['t'](_0x5c6ce0(0x1cd)),'children':_0xcfe0cc()});}var _0x3caa44=Object[_0x37f8b3(0x272)],_0x23c9ee=(_0x4d5003,_0x38aaf4,_0xad69aa,_0x1b212a)=>{const _0x4768ef=_0x37f8b3;for(var _0x1b034e=_0x1b212a>0x1?void 0x0:_0x1b212a?_0x3caa44(_0x38aaf4,_0xad69aa):_0x38aaf4,_0x40992f=_0x4d5003[_0x4768ef(0x185)]-0x1,_0x3ecbb4;_0x40992f>=0x0;_0x40992f--)(_0x3ecbb4=_0x4d5003[_0x40992f])&&(_0x1b034e=_0x3ecbb4(_0x1b034e)||_0x1b034e);return _0x1b034e;},_0x14cabc=(_0x35cb58,_0x563744)=>(_0xffef1b,_0x15b1d6)=>_0x563744(_0xffef1b,_0x15b1d6,_0x35cb58);_0x4f0727[_0x37f8b3(0x30b)]=class extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(_0x5de2e0,_0x54911f,_0x5c4e7a,_0x50f6e6){const _0x18992d=_0x37f8b3;super(),_0xd7033e(this,_0x18992d(0x2ef),new _0x28bd90[(_0x18992d(0x246))](_0x5c1af6[_0x18992d(0x252)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x5de2e0,this[_0x18992d(0x1af)]=_0x54911f,this[_0x18992d(0x220)]=_0x5c4e7a,this['_uiPartsService']=_0x50f6e6,this['_initStatusComponent'](),this[_0x18992d(0x193)]());}[_0x37f8b3(0x193)](){const _0xc28d8d=_0x37f8b3;this[_0xc28d8d(0x215)](this[_0xc28d8d(0x19b)][_0xc28d8d(0x287)][_0xc28d8d(0x1d7)](_0x28bd90[_0xc28d8d(0x2e2)](()=>{const _0x325547=_0xc28d8d,_0x37ef2f=this[_0x325547(0x19b)][_0x325547(0x2bc)]();return _0x37ef2f?this['_collaborationController'][_0x325547(0x334)](_0x37ef2f[_0x325547(0x3dd)]()):_0x28bd90['of'](null);}),_0x28bd90[_0xc28d8d(0x2e2)](_0x453348=>_0x453348?_0x453348[_0xc28d8d(0x241)]:_0x28bd90['of'](_0x5c1af6[_0xc28d8d(0x252)]['NOT_COLLAB'])))[_0xc28d8d(0x1c1)](_0x549891=>{const _0x16d9ad=_0xc28d8d;this[_0x16d9ad(0x2ef)]['next'](_0x549891);}));}[_0x37f8b3(0x2d0)](){const _0x1ce1ea=_0x37f8b3;this[_0x1ce1ea(0x215)](this['_uiPartsService'][_0x1ce1ea(0x422)](_0x19759c[_0x1ce1ea(0x348)]['HEADER_MENU'],()=>_0x19759c[_0x1ce1ea(0x236)](_0x5a1928({'status$':this[_0x1ce1ea(0x2ef)][_0x1ce1ea(0x276)]()}),this[_0x1ce1ea(0x1af)])));}},_0x4f0727[_0x37f8b3(0x30b)]=_0x23c9ee([_0x14cabc(0x0,_0x4bf0bf[_0x37f8b3(0x2b7)]),_0x14cabc(0x1,_0x4bf0bf['Inject'](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x14cabc(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x5c1af6['CollaborationController'])),_0x14cabc(0x3,_0x19759c[_0x37f8b3(0x39b)])],_0x4f0727['DesktopCollaborationStatusDisplayController']);function _0x5a1928(_0x546b19){const {status$:_0x40d1e8}=_0x546b19;return function(){const _0x20b5f9=_0x53f7;return _0x24e7e1[_0x20b5f9(0x331)](_0xbbffd1,{'status$':_0x40d1e8});};}const _0x30f389=_0x4bf0bf[_0x37f8b3(0x35d)](_0x37f8b3(0x410));var _0x489ba1=Object[_0x37f8b3(0x272)],_0x5753f8=(_0x69e481,_0x2d061c,_0x454bda,_0x3cceb4)=>{const _0x8cb45a=_0x37f8b3;for(var _0x3ecd27=_0x3cceb4>0x1?void 0x0:_0x3cceb4?_0x489ba1(_0x2d061c,_0x454bda):_0x2d061c,_0x543de8=_0x69e481[_0x8cb45a(0x185)]-0x1,_0x580bcc;_0x543de8>=0x0;_0x543de8--)(_0x580bcc=_0x69e481[_0x543de8])&&(_0x3ecd27=_0x580bcc(_0x3ecd27)||_0x3ecd27);return _0x3ecd27;},_0x537e12=(_0x5772f5,_0x3a2004)=>(_0x4bceb0,_0x432343)=>_0x3a2004(_0x4bceb0,_0x432343,_0x5772f5);_0x4f0727[_0x37f8b3(0x286)]=class extends _0x4bf0bf['RxDisposable']{constructor(_0x1e1288,_0x7ed1e6,_0x22e200,_0x4a22ce,_0x1bfbc2){const _0x29249a=_0x37f8b3;super(),this[_0x29249a(0x198)]=_0x1e1288,this[_0x29249a(0x3f0)]=_0x7ed1e6,this['_commandService']=_0x22e200,this[_0x29249a(0x430)]=_0x4a22ce,_0x1bfbc2?_0x1bfbc2==null||_0x1bfbc2['whenReady']()[_0x29249a(0x285)](()=>this[_0x29249a(0x3fd)]()):(this[_0x29249a(0x3f0)][_0x29249a(0x441)](_0x29249a(0x209),_0x29249a(0x181)),this[_0x29249a(0x3fd)]());}async[_0x37f8b3(0x3fd)](){const _0x569385=_0x37f8b3,_0xd18842=this[_0x569385(0x198)][_0x569385(0x1eb)](_0x569385(0x258)),_0x3dbfd8=this[_0x569385(0x198)]['getParam'](_0x569385(0x1c7)),_0x13f75a=this[_0x569385(0x198)][_0x569385(0x1eb)](_0x569385(0x2e7));if(!_0xd18842||!_0x3dbfd8){this[_0x569385(0x3f0)][_0x569385(0x441)]('[CollaborationDataLoaderController]',_0x569385(0x1ba));return;}const _0x285f73=await this[_0x569385(0x430)][_0x569385(0x412)](_0xd18842,Number(_0x3dbfd8),_0x13f75a);_0x285f73&&_0x285f73 instanceof _0x4bf0bf[_0x569385(0x2d1)]&&this['_setupSubUnitSync'](_0x285f73);}async[_0x37f8b3(0x30c)](_0x3049e5){const _0x43632f=_0x37f8b3;await this['_updateSubUnitFromURLParams'](_0x3049e5),_0x3049e5[_0x43632f(0x3d5)][_0x43632f(0x1d7)](_0x28bd90[_0x43632f(0x1dc)](this[_0x43632f(0x30f)]))[_0x43632f(0x1c1)](_0x222d65=>{const _0x5c15f0=_0x43632f;_0x222d65&&this[_0x5c15f0(0x44f)](_0x222d65);}),this[_0x43632f(0x198)][_0x43632f(0x1c8)][_0x43632f(0x1d7)](_0x28bd90[_0x43632f(0x1dc)](this[_0x43632f(0x30f)]))[_0x43632f(0x1c1)](()=>this[_0x43632f(0x2da)](_0x3049e5));}[_0x37f8b3(0x44f)](_0x1a2bb0,_0x224fe2=!0x1){const _0x2973b5=_0x37f8b3,_0x1aa8a7=this[_0x2973b5(0x198)][_0x2973b5(0x1eb)](_0x2973b5(0x2e7));_0x1a2bb0[_0x2973b5(0x1d3)]()!==_0x1aa8a7&&this['_urlService'][_0x2973b5(0x25a)](_0x2973b5(0x2e7),_0x1a2bb0[_0x2973b5(0x1d3)](),_0x224fe2);}async[_0x37f8b3(0x2da)](_0x665549){const _0x127d4f=_0x37f8b3;var _0x1ace06;const _0x41b089=this['_urlService'][_0x127d4f(0x1eb)](_0x127d4f(0x2e7));if(!_0x41b089||!_0x665549['getSheetBySheetId'](_0x41b089)){const _0x3c551f=_0x665549[_0x127d4f(0x44c)]()[0x0],_0x4fbcff=_0x665549[_0x127d4f(0x445)](_0x3c551f);if(!_0x4fbcff)return;this[_0x127d4f(0x44f)](_0x4fbcff,!0x0),await this['_commandService'][_0x127d4f(0x3ac)](_0x3edab0[_0x127d4f(0x250)]['id'],{'unitId':_0x665549[_0x127d4f(0x3dd)](),'subUnitId':_0x3c551f});return;}((_0x1ace06=_0x665549[_0x127d4f(0x450)]())==null?void 0x0:_0x1ace06[_0x127d4f(0x1d3)]())!==_0x41b089&&await this['_commandService'][_0x127d4f(0x3ac)](_0x3edab0[_0x127d4f(0x250)]['id'],{'unitId':_0x665549[_0x127d4f(0x3dd)](),'subUnitId':_0x41b089});}},_0x4f0727[_0x37f8b3(0x286)]=_0x5753f8([_0x537e12(0x0,_0x30f389),_0x537e12(0x1,_0x4bf0bf[_0x37f8b3(0x44b)]),_0x537e12(0x2,_0x4bf0bf[_0x37f8b3(0x1c5)]),_0x537e12(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x5c1af6[_0x37f8b3(0x361)])),_0x537e12(0x4,_0x4bf0bf[_0x37f8b3(0x411)](_0x461d35[_0x37f8b3(0x2d7)]))],_0x4f0727[_0x37f8b3(0x286)]);var _0x3de95f=Object['getOwnPropertyDescriptor'],_0x4e9186=(_0x2f86fb,_0x2263f2,_0x564bfb,_0x337823)=>{const _0x53ca62=_0x37f8b3;for(var _0x2c9ca8=_0x337823>0x1?void 0x0:_0x337823?_0x3de95f(_0x2263f2,_0x564bfb):_0x2263f2,_0x4b106d=_0x2f86fb[_0x53ca62(0x185)]-0x1,_0x161355;_0x4b106d>=0x0;_0x4b106d--)(_0x161355=_0x2f86fb[_0x4b106d])&&(_0x2c9ca8=_0x161355(_0x2c9ca8)||_0x2c9ca8);return _0x2c9ca8;},_0x114ad0=(_0x2565ed,_0x177a46)=>(_0xc4589d,_0xf98d58)=>_0x177a46(_0xc4589d,_0xf98d58,_0x2565ed);let _0x3fb39a=class extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(_0x17d43a,_0x4d6e0e){const _0x41094d=_0x37f8b3;super(),this[_0x41094d(0x1a4)]=_0x17d43a,this[_0x41094d(0x39e)]=_0x4d6e0e,this[_0x41094d(0x3fd)]();}[_0x37f8b3(0x3fd)](){const _0x74fcd6=_0x37f8b3,_0x445b15=this;this[_0x74fcd6(0x215)](this[_0x74fcd6(0x1a4)][_0x74fcd6(0x39c)]({'onBeforePasteImage':async _0x519c71=>{const _0x2a8443=_0x74fcd6,_0xd19383=await _0x445b15[_0x2a8443(0x39e)]['saveImage'](_0x519c71);return _0xd19383?{'source':_0xd19383['source'],'imageSourceType':_0xd19383[_0x2a8443(0x38a)]}:null;}}));}};_0x3fb39a=_0x4e9186([_0x114ad0(0x0,_0x80b7f3[_0x37f8b3(0x3ed)]),_0x114ad0(0x1,_0x3f8334[_0x37f8b3(0x2cc)])],_0x3fb39a);const _0x45dd36=['purple.300','jiqing.500',_0x37f8b3(0x3fa),_0x37f8b3(0x172),_0x37f8b3(0x20f),_0x37f8b3(0x282)];class _0x21c84d extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(){const _0x5ba2ec=_0x37f8b3;super(...arguments),_0xd7033e(this,_0x5ba2ec(0x442),new Map()),_0xd7033e(this,_0x5ba2ec(0x3f9),0x0);}[_0x37f8b3(0x3cd)](_0x3439db){const _0x15d943=_0x37f8b3;if(this['_assignedColors']['has'](_0x3439db))return this['_assignedColors'][_0x15d943(0x42f)](_0x3439db);const _0x18b448=_0x45dd36[this[_0x15d943(0x3f9)]];return this[_0x15d943(0x3f9)]=(this[_0x15d943(0x3f9)]+0x1)%_0x45dd36[_0x15d943(0x185)],this['_assignedColors']['set'](_0x3439db,_0x18b448),_0x18b448;}}function _0x18f37e(_0x40d3ac){const _0x520f8c=_0x37f8b3;let _0x12d513='';for(const _0x505702 of _0x40d3ac){const {startOffset:_0x15ad0f,endOffset:_0x4c0d2c,isActive:_0xc6978b,rangeType:_0x202f67,segmentId:_0x5de204,segmentPage:_0x25a114}=_0x505702;_0x12d513[_0x520f8c(0x185)]&&(_0x12d513+=','),_0x12d513+=_0x15ad0f+':'+_0x4c0d2c+':'+(_0xc6978b?'1':'0')+':'+_0x202f67+':'+_0x5de204+':'+_0x25a114;}return _0x12d513;}function _0x56eabf(_0x40bc15){const _0x5f400c=_0x37f8b3,_0x27afef=_0x40bc15[_0x5f400c(0x3a4)](','),_0x426813=[];for(const _0x4579f1 of _0x27afef){const [_0x8f088a,_0x1d4d2d,_0x3539c3,_0x365378,_0x5e6db5,_0x41358a]=_0x4579f1[_0x5f400c(0x3a4)](':');_0x426813[_0x5f400c(0x20c)]({'startOffset':Number(_0x8f088a),'endOffset':Number(_0x1d4d2d),'collapsed':_0x8f088a===_0x1d4d2d,'isActive':_0x3539c3==='1','rangeType':_0x365378===_0x4bf0bf[_0x5f400c(0x32f)][_0x5f400c(0x3b4)]?_0x4bf0bf[_0x5f400c(0x32f)][_0x5f400c(0x3b4)]:_0x4bf0bf[_0x5f400c(0x32f)][_0x5f400c(0x33c)],'segmentId':typeof _0x5e6db5=='string'?String(_0x5e6db5):'','segmentPage':Number(_0x41358a!=null?_0x41358a:-0x1)});}return _0x426813[_0x5f400c(0x454)](_0x1cbb44=>_0x1cbb44[_0x5f400c(0x2ab)])||(_0x426813[0x0][_0x5f400c(0x2ab)]=!0x0),_0x426813;}class _0x39b00c extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(){const _0x192aa8=_0x37f8b3;super(...arguments),_0xd7033e(this,_0x192aa8(0x22f),new _0x28bd90[(_0x192aa8(0x246))](null)),_0xd7033e(this,'collabCursorState$',this[_0x192aa8(0x22f)][_0x192aa8(0x276)]());}['syncEditingCollabCursor'](_0x3f6440){const _0x563b14=_0x37f8b3,{unitID:_0x5694bc,memberID:_0x2be989,textRanges:_0x2cf578}=_0x3f6440,_0x4f97af=_0x18f37e(_0x2cf578);if(_0x4f97af==='')return;const _0x567b5e={'unitID':_0x5694bc,'memberID':_0x2be989,'selection':_0x4f97af};this[_0x563b14(0x22f)]['next'](_0x567b5e);}}var _0x5255d4=Object[_0x37f8b3(0x272)],_0x5ece84=(_0xb8739b,_0x305d12,_0x149bed,_0x5aea1e)=>{const _0x25bdf5=_0x37f8b3;for(var _0x5ba9eb=_0x5aea1e>0x1?void 0x0:_0x5aea1e?_0x5255d4(_0x305d12,_0x149bed):_0x305d12,_0x391cb4=_0xb8739b[_0x25bdf5(0x185)]-0x1,_0x2fbcea;_0x391cb4>=0x0;_0x391cb4--)(_0x2fbcea=_0xb8739b[_0x391cb4])&&(_0x5ba9eb=_0x2fbcea(_0x5ba9eb)||_0x5ba9eb);return _0x5ba9eb;},_0x229d5d=(_0x45a18c,_0x1d80ba)=>(_0x5c747a,_0x15dbd4)=>_0x1d80ba(_0x5c747a,_0x15dbd4,_0x45a18c);const _0x5ef41d=0x12c,_0x2ec9fd=0x64;let _0x34c1be=class extends _0x4bf0bf['RxDisposable']{constructor(_0x598e2e,_0x2658c1,_0x2d4675,_0x3c1c31,_0x375f6a,_0x37936c,_0x1c19e2,_0x4e1d02,_0x2f04d6){const _0x12430a=_0x37f8b3;super(),_0xd7033e(this,_0x12430a(0x3c9),!0x1),_0xd7033e(this,_0x12430a(0x3fd),!0x1),_0xd7033e(this,_0x12430a(0x3b9),new _0x28bd90[(_0x12430a(0x246))](new Map())),_0xd7033e(this,'cursorInfo$',this[_0x12430a(0x3b9)][_0x12430a(0x276)]()),_0xd7033e(this,_0x12430a(0x2cd),new _0x28bd90[(_0x12430a(0x246))]([])),_0xd7033e(this,_0x12430a(0x40d),this[_0x12430a(0x2cd)][_0x12430a(0x1d7)](_0x28bd90[_0x12430a(0x35a)](_0x5ef41d))),_0xd7033e(this,_0x12430a(0x2dc),_0x4bf0bf['debounce'](_0x3f3290=>{const _0x567c52=_0x12430a,_0x5ce0a3={'eventID':_0x346166['CollaborationEvent'][_0x567c52(0x3ae)],'data':{'unitID':this[_0x567c52(0x231)],'memberID':this['_session']['getMemberID'](),'selection':_0x18f37e(_0x3f3290)}};this[_0x567c52(0x449)][_0x567c52(0x1d2)](_0x5ce0a3,this[_0x567c52(0x231)]);},_0x2ec9fd)),(this['unitID']=_0x598e2e,this[_0x12430a(0x449)]=_0x2658c1,this[_0x12430a(0x1af)]=_0x2d4675,this[_0x12430a(0x249)]=_0x3c1c31,this[_0x12430a(0x2e3)]=_0x375f6a,this[_0x12430a(0x419)]=_0x37936c,this[_0x12430a(0x3f8)]=_0x1c19e2,this['_univerInstanceService']=_0x4e1d02,this[_0x12430a(0x301)]=_0x2f04d6);}get['cursorInfo'](){const _0x47e139=_0x37f8b3;return this[_0x47e139(0x3b9)][_0x47e139(0x36c)]();}get[_0x37f8b3(0x38c)](){const _0xe49142=_0x37f8b3;return this['_roomMembers$'][_0xe49142(0x36c)]();}['dispose'](){const _0x25ef52=_0x37f8b3;super['dispose'](),this[_0x25ef52(0x3b9)][_0x25ef52(0x322)](new Map()),this[_0x25ef52(0x3b9)][_0x25ef52(0x38f)](),this['_roomMembers$'][_0x25ef52(0x322)]([]),this[_0x25ef52(0x2cd)][_0x25ef52(0x38f)]();}['init'](){const _0x3cd2f6=_0x37f8b3;this[_0x3cd2f6(0x3fd)]||(this['_init']=!0x0,this[_0x3cd2f6(0x449)][_0x3cd2f6(0x3a7)][_0x3cd2f6(0x1d7)](_0x28bd90['takeUntil'](this[_0x3cd2f6(0x30f)]))[_0x3cd2f6(0x1c1)](_0x59e0c8=>{const _0xd2882b=_0x3cd2f6;_0x59e0c8===_0x5c1af6['SessionStatus'][_0xd2882b(0x3e4)]?this[_0xd2882b(0x338)]():this[_0xd2882b(0x271)]();}),this['_session'][_0x3cd2f6(0x2a5)][_0x3cd2f6(0x1d7)](_0x28bd90[_0x3cd2f6(0x1dc)](this[_0x3cd2f6(0x30f)]))[_0x3cd2f6(0x1c1)](_0x11023c=>{const _0x5e4550=_0x3cd2f6,_0x52f805=_0x11023c['eventID'];_0x52f805===_0x346166['CollaborationEvent'][_0x5e4550(0x3ae)]&&this['_onCursorUpdate'](_0x11023c),_0x52f805===_0x346166[_0x5e4550(0x2d2)][_0x5e4550(0x394)]&&this[_0x5e4550(0x1ea)](_0x11023c);}),this[_0x3cd2f6(0x215)](this['_commandService']['onCommandExecuted'](_0x30af4e=>{const _0x5205e5=_0x3cd2f6,_0x4fd92e=_0x30af4e[_0x5205e5(0x448)];_0x4fd92e!=null&&this[_0x5205e5(0x3c9)]&&_0x30af4e['id']===_0xfb3c5a['SetTextSelectionsOperation']['id']&&_0x4fd92e[_0x5205e5(0x205)]===this[_0x5205e5(0x231)]&&_0x4fd92e[_0x5205e5(0x2d9)]===!0x1&&_0x4fd92e[_0x5205e5(0x1d6)]['length']>0x0&&this[_0x5205e5(0x2dc)](_0x4fd92e[_0x5205e5(0x1d6)]);})),this[_0x3cd2f6(0x419)][_0x3cd2f6(0x3fe)][_0x3cd2f6(0x1d7)](_0x28bd90[_0x3cd2f6(0x1dc)](this['dispose$']))[_0x3cd2f6(0x1c1)](_0x1244cc=>{const _0x57cfa0=_0x3cd2f6;if((_0x1244cc==null?void 0x0:_0x1244cc[_0x57cfa0(0x231)])!==this[_0x57cfa0(0x231)])return;const _0x395ee0={'eventID':_0x346166['CollaborationEvent'][_0x57cfa0(0x3ae)],'data':_0x1244cc};this['_onCursorUpdate'](_0x395ee0);}),this[_0x3cd2f6(0x215)](this[_0x3cd2f6(0x301)]['onCommandExecuted'](_0x5cbe92=>{const _0x188f31=_0x3cd2f6;if(_0x5cbe92[_0x188f31(0x448)]==null)return;const _0x5446a7=_0x5cbe92['params'];if(_0x5cbe92['id']!==_0xfb3c5a[_0x188f31(0x2b2)]['id']||_0x5446a7[_0x188f31(0x205)]!==this[_0x188f31(0x231)])return;const _0x1ac7ab={'id':_0x188f31(0x17f),'params':_0x5446a7},_0x5cc0e0=this[_0x188f31(0x296)];for(const [_0x3d7433,_0x282ce3]of _0x5cc0e0){const _0x2a27d8={'id':_0x188f31(0x17f),'params':{'unitId':this[_0x188f31(0x231)],'actions':null,'textRanges':_0x282ce3[_0x188f31(0x1d6)]}},_0x50e657=this[_0x188f31(0x3f8)]['transformMutation'](_0x1ac7ab,_0x2a27d8,!0x1);if(_0x346166['isTransformMutationFailure'](_0x50e657))throw _0x50e657[_0x188f31(0x3c2)];_0x5cc0e0[_0x188f31(0x3a5)](_0x3d7433,{..._0x282ce3,'ranges':_0x50e657['m2Prime'][_0x188f31(0x448)][_0x188f31(0x1da)]});}queueMicrotask(()=>{const _0x35295d=_0x188f31;this[_0x35295d(0x3b9)][_0x35295d(0x322)](_0x5cc0e0);});})));}[_0x37f8b3(0x24d)](_0x4bfe6b){const _0x9baad6=_0x37f8b3;var _0x4bbe77,_0x3b1f7b;const {memberID:_0x34a966,selection:_0x37d668}=_0x4bfe6b[_0x9baad6(0x3da)],_0x24ab56=_0x56eabf(_0x37d668),_0x3d609e=(_0x3b1f7b=(_0x4bbe77=this[_0x9baad6(0x2e3)][_0x9baad6(0x178)](this[_0x9baad6(0x231)],_0x34a966))==null?void 0x0:_0x4bbe77['name'])!=null?_0x3b1f7b:_0x9baad6(0x2f5),_0x389dda={'color':this[_0x9baad6(0x249)][_0x9baad6(0x3cd)](_0x34a966),'name':_0x3d609e,'ranges':_0x24ab56},_0x53d01b=this[_0x9baad6(0x296)];_0x53d01b[_0x9baad6(0x3a5)](_0x34a966,_0x389dda),this[_0x9baad6(0x3b9)]['next'](_0x53d01b);}[_0x37f8b3(0x1ea)](_0x363edb){const _0x5550d6=_0x37f8b3,{memberID:_0x8244cd}=_0x363edb[_0x5550d6(0x3da)],_0x161ca9=this[_0x5550d6(0x296)];_0x161ca9['delete'](_0x8244cd),this['_cursorInfo$']['next'](_0x161ca9);}[_0x37f8b3(0x338)](){const _0x3c9f04=_0x37f8b3;var _0x5dc1c9;if(this[_0x3c9f04(0x3c9)]=!0x0,((_0x5dc1c9=this[_0x3c9f04(0x19b)][_0x3c9f04(0x2bc)]())==null?void 0x0:_0x5dc1c9['getUnitId']())!==this['unitID'])return;const _0x4e1a8a=this[_0x3c9f04(0x1af)]['get'](_0xfb3c5a[_0x3c9f04(0x27b)])[_0x3c9f04(0x3e9)]();Array[_0x3c9f04(0x1fc)](_0x4e1a8a)&&_0x4e1a8a[_0x3c9f04(0x185)]>0x0&&this[_0x3c9f04(0x2dc)](_0x4e1a8a);}['_toggleOffline'](){const _0x4b637a=_0x37f8b3;this[_0x4b637a(0x3c9)]=!0x1;}};_0x34c1be=_0x5ece84([_0x229d5d(0x2,_0x4bf0bf['Inject'](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x229d5d(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x21c84d)),_0x229d5d(0x4,_0x4bf0bf['Inject'](_0x5c1af6['MemberService'])),_0x229d5d(0x5,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x39b00c)),_0x229d5d(0x6,_0x346166['ITransformService']),_0x229d5d(0x7,_0x4bf0bf[_0x37f8b3(0x2b7)]),_0x229d5d(0x8,_0x4bf0bf[_0x37f8b3(0x1c5)])],_0x34c1be);var _0x4ef30e=Object[_0x37f8b3(0x272)],_0x70bf85=(_0x402959,_0xf2be11,_0x49a348,_0x25cfde)=>{const _0x5dfbb4=_0x37f8b3;for(var _0x478330=_0x25cfde>0x1?void 0x0:_0x25cfde?_0x4ef30e(_0xf2be11,_0x49a348):_0xf2be11,_0x1f5232=_0x402959[_0x5dfbb4(0x185)]-0x1,_0x3489f6;_0x1f5232>=0x0;_0x1f5232--)(_0x3489f6=_0x402959[_0x1f5232])&&(_0x478330=_0x3489f6(_0x478330)||_0x478330);return _0x478330;},_0x38bc95=(_0xe8510a,_0x3d1cf8)=>(_0x127fa1,_0x4c41da)=>_0x3d1cf8(_0x127fa1,_0x4c41da,_0xe8510a);const _0x19e6e8=0x12c,_0x12ce93=0x64,_0x34340b=()=>{let _0x1c6bde=[],_0x35da7e=!0x1;return _0x5d2530=>{const _0x1e372c=_0x53f7;_0x1c6bde[_0x1e372c(0x20c)](_0x5d2530),_0x35da7e||(_0x35da7e=!0x0,setTimeout(()=>{const _0x1c3215=_0x1e372c;_0x1c6bde[_0x1c3215(0x3a0)](_0x3ca607=>_0x3ca607()),_0x1c6bde=[],_0x35da7e=!0x1;}));};};let _0x23585c=class extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(_0x5a0c3a,_0x4bd6b0,_0x34a107,_0x22177c,_0x2a9f21,_0x924544,_0x20ad8d,_0x26b616){const _0x33ee84=_0x37f8b3;super(),_0xd7033e(this,'_online',!0x1),_0xd7033e(this,_0x33ee84(0x3fd),!0x1),_0xd7033e(this,'_cursorInfo$',new _0x28bd90[(_0x33ee84(0x246))](new Map())),_0xd7033e(this,_0x33ee84(0x3db),this['_cursorInfo$']['asObservable']()),_0xd7033e(this,'_roomMembers$',new _0x28bd90[(_0x33ee84(0x246))]([])),_0xd7033e(this,'roomMembers$',this[_0x33ee84(0x2cd)][_0x33ee84(0x1d7)](_0x28bd90[_0x33ee84(0x35a)](_0x19e6e8))),_0xd7033e(this,_0x33ee84(0x2dc),_0x4bf0bf['debounce']((_0x5ef764,_0x27355f)=>{const _0x3e6fa0=_0x33ee84,_0x3262b3={'eventID':_0x346166[_0x3e6fa0(0x2d2)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3e6fa0(0x231)],'memberID':this[_0x3e6fa0(0x449)][_0x3e6fa0(0x370)](),'selection':_0x1738fe[_0x3e6fa0(0x349)](_0x5ef764,_0x27355f[_0x3e6fa0(0x2db)])}};this['_session']['send'](_0x3262b3,this[_0x3e6fa0(0x231)]);},_0x12ce93)),(this[_0x33ee84(0x231)]=_0x5a0c3a,this['_session']=_0x4bd6b0,this[_0x33ee84(0x1af)]=_0x34a107,this['_colorAssignService']=_0x22177c,this[_0x33ee84(0x2e3)]=_0x2a9f21,this['_univerInstanceService']=_0x924544,this[_0x33ee84(0x301)]=_0x20ad8d,this[_0x33ee84(0x44a)]=_0x26b616);}get['cursorInfo'](){const _0x15906a=_0x37f8b3;return this[_0x15906a(0x3b9)][_0x15906a(0x36c)]();}get[_0x37f8b3(0x38c)](){const _0x3cbcaa=_0x37f8b3;return this[_0x3cbcaa(0x2cd)]['getValue']();}['dispose'](){const _0x5d1b96=_0x37f8b3;super[_0x5d1b96(0x248)](),this[_0x5d1b96(0x3b9)][_0x5d1b96(0x322)](new Map()),this[_0x5d1b96(0x3b9)]['complete'](),this['_roomMembers$']['next']([]),this[_0x5d1b96(0x2cd)][_0x5d1b96(0x38f)]();}['init'](){const _0x61b0c8=_0x37f8b3;this['_init']||(this['_init']=!0x0,this['_session'][_0x61b0c8(0x3a7)][_0x61b0c8(0x1d7)](_0x28bd90[_0x61b0c8(0x1dc)](this[_0x61b0c8(0x30f)]))[_0x61b0c8(0x1c1)](_0x23bb72=>{const _0x24c1a6=_0x61b0c8;_0x23bb72===_0x5c1af6[_0x24c1a6(0x32e)][_0x24c1a6(0x3e4)]?this['_toggleOnline']():this[_0x24c1a6(0x271)]();}),this[_0x61b0c8(0x449)]['event$'][_0x61b0c8(0x1d7)](_0x28bd90[_0x61b0c8(0x1dc)](this['dispose$']))[_0x61b0c8(0x1c1)](_0xd457ff=>{const _0x58fe04=_0x61b0c8,_0x1a1f77=_0xd457ff['eventID'];_0x1a1f77===_0x346166[_0x58fe04(0x2d2)][_0x58fe04(0x3ae)]&&this[_0x58fe04(0x24d)](_0xd457ff),_0x1a1f77===_0x346166[_0x58fe04(0x2d2)]['USERS_LEAVE']&&this[_0x58fe04(0x1ea)](_0xd457ff);}),this[_0x61b0c8(0x3c1)](),this['disposeWithMe'](this[_0x61b0c8(0x301)][_0x61b0c8(0x294)](_0x623172=>{const _0x510650=_0x61b0c8;if(this[_0x510650(0x3c9)]&&_0x623172['id']===_0x3edab0[_0x510650(0x224)]['id']&&_0x623172[_0x510650(0x448)][_0x510650(0x205)]===this['unitID']){const _0x5ac057=_0x623172[_0x510650(0x448)];this['_updateLocalCursor'](_0x5ac057[_0x510650(0x237)],_0x5ac057[_0x510650(0x28f)][0x0]);}})));}[_0x37f8b3(0x24d)](_0x131145){const _0x13d14f=_0x37f8b3;var _0x12ea73,_0x6d3c68;const {memberID:_0x5cf550,selection:_0x5ea7a2}=_0x131145['data'],{sheetName:_0x6ed12d,range:_0x34a2f1}=_0x1738fe[_0x13d14f(0x42b)](_0x5ea7a2),_0x45c5dd={'name':(_0x6d3c68=(_0x12ea73=this[_0x13d14f(0x2e3)][_0x13d14f(0x178)](this[_0x13d14f(0x231)],_0x5cf550))==null?void 0x0:_0x12ea73[_0x13d14f(0x1b5)])!=null?_0x6d3c68:_0x13d14f(0x2f5),'range':this[_0x13d14f(0x24a)](_0x6ed12d,_0x34a2f1),'sheetID':_0x6ed12d,'color':this['_colorAssignService'][_0x13d14f(0x3cd)](_0x5cf550),'selection':_0x5ea7a2},_0x353482=this['cursorInfo'];_0x353482[_0x13d14f(0x3a5)](_0x5cf550,_0x45c5dd),this[_0x13d14f(0x3b9)]['next'](_0x353482);}[_0x37f8b3(0x1ea)](_0x4242a7){const _0x55d75d=_0x37f8b3,{memberID:_0x51e0e8}=_0x4242a7['data'],_0x242104=this[_0x55d75d(0x296)];_0x242104[_0x55d75d(0x26c)](_0x51e0e8),this['_cursorInfo$']['next'](_0x242104);}[_0x37f8b3(0x24a)](_0x1ff128,_0x6b1f31){const _0x40dd81=_0x37f8b3;var _0xa78afb,_0x4db5a7;const _0x537b7d=(_0x4db5a7=(_0xa78afb=this[_0x40dd81(0x19b)][_0x40dd81(0x37d)](this['unitID']))==null?void 0x0:_0xa78afb[_0x40dd81(0x445)](_0x1ff128))==null?void 0x0:_0x4db5a7[_0x40dd81(0x279)]();return(_0x537b7d==null?void 0x0:_0x537b7d[_0x40dd81(0x417)](_0x5373a1=>_0x4bf0bf[_0x40dd81(0x30d)]['contains'](_0x5373a1,_0x6b1f31)))||_0x6b1f31;}[_0x37f8b3(0x3c1)](){const _0x46d15d=_0x37f8b3,_0x42c4db=new _0x4bf0bf['DisposableCollection'](),_0x4bc656=_0x34340b(),_0x27fb7c=()=>{const _0x13b97f=_0x53f7;_0x42c4db['dispose']();const _0x3e814b=(_0x3e994e,_0xe08ec3,_0x5efe9c,_0x3af6f0)=>{const _0x51dfa6=_0x53f7;let _0x19bee5=[];switch(_0x3e994e['id']){case _0x3edab0[_0x51dfa6(0x29c)]['DeleteRangeMoveLeftCommandId']:{_0x19bee5=_0x3edab0[_0x51dfa6(0x1e8)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)]['DeleteRangeMoveUpCommandId']:{_0x19bee5=_0x3edab0['handleDeleteRangeMoveUp'](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)]['InsertColCommandId']:{_0x19bee5=_0x3edab0[_0x51dfa6(0x240)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x19bee5=_0x3edab0[_0x51dfa6(0x1c6)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)][_0x51dfa6(0x186)]:{_0x19bee5=_0x3edab0[_0x51dfa6(0x414)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)][_0x51dfa6(0x3d7)]:{_0x19bee5=_0x3edab0[_0x51dfa6(0x2f1)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)][_0x51dfa6(0x182)]:{_0x19bee5=_0x3edab0['handleMoveRange'](_0x3e994e,_0x3af6f0);break;}case _0x3edab0[_0x51dfa6(0x29c)][_0x51dfa6(0x298)]:{_0x19bee5=_0x3edab0[_0x51dfa6(0x2b0)](_0x3e994e,_0x3af6f0);break;}case _0x3edab0['EffectRefRangId'][_0x51dfa6(0x3d2)]:{_0x19bee5=_0x3edab0[_0x51dfa6(0x2be)](_0x3e994e,_0x3af6f0);break;}}const _0x322477=_0x3edab0[_0x51dfa6(0x304)](_0x19bee5,_0x3af6f0),_0x322922=this[_0x51dfa6(0x296)]['get'](_0xe08ec3);if(_0x322922&&_0x322477){const _0xe046de={..._0x322922,'range':_0x322477};this[_0x51dfa6(0x296)][_0x51dfa6(0x3a5)](_0xe08ec3,_0xe046de),_0x4bc656(()=>{const _0x514163=_0x51dfa6,_0x3ef8bd=this[_0x514163(0x44a)][_0x514163(0x44d)](_0x322477,_0x1217f3=>(_0x3ef8bd[_0x514163(0x248)](),_0x3e814b(_0x1217f3,_0xe08ec3,_0x5efe9c,_0x322477)));_0x42c4db[_0x514163(0x24c)](_0x3ef8bd);});}return{'redos':[],'undos':[]};};this[_0x13b97f(0x296)][_0x13b97f(0x3a0)]((_0x5eb384,_0x2c8863)=>{const _0xf4003b=_0x13b97f,{range:_0x42fa18,sheetID:_0xbe1a2f}=_0x5eb384,_0x1214ab=this[_0xf4003b(0x44a)]['registerRefRange'](_0x42fa18,_0x13bf19=>(_0x1214ab[_0xf4003b(0x248)](),_0x3e814b(_0x13bf19,_0x2c8863,_0xbe1a2f,_0x42fa18)));_0x42c4db[_0xf4003b(0x24c)](_0x1214ab);});};this[_0x46d15d(0x215)](_0x4bf0bf['toDisposable'](this[_0x46d15d(0x3b9)][_0x46d15d(0x1c1)](()=>{_0x27fb7c();})));}[_0x37f8b3(0x338)](){const _0x1887ab=_0x37f8b3;var _0x4142ea,_0x44c95b;if(this[_0x1887ab(0x3c9)]=!0x0,((_0x4142ea=this[_0x1887ab(0x19b)][_0x1887ab(0x2bc)]())==null?void 0x0:_0x4142ea[_0x1887ab(0x3dd)]())!==this['unitID'])return;const _0x25cc8e=(_0x44c95b=this[_0x1887ab(0x1af)]['get'](_0x3edab0['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x44c95b[0x0],_0x493437=this[_0x1887ab(0x19b)][_0x1887ab(0x392)](_0x4bf0bf[_0x1887ab(0x310)]['UNIVER_SHEET'])[_0x1887ab(0x450)]();_0x25cc8e&&_0x493437&&this[_0x1887ab(0x2dc)](_0x493437['getSheetId'](),_0x25cc8e);}[_0x37f8b3(0x271)](){this['_online']=!0x1;}};_0x23585c=_0x70bf85([_0x38bc95(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x38bc95(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x21c84d)),_0x38bc95(0x4,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x5c1af6[_0x37f8b3(0x2c9)])),_0x38bc95(0x5,_0x4bf0bf[_0x37f8b3(0x2b7)]),_0x38bc95(0x6,_0x4bf0bf['ICommandService']),_0x38bc95(0x7,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x3edab0['RefRangeService']))],_0x23585c);var _0x4efb93=Object[_0x37f8b3(0x272)],_0x590e78=(_0x283521,_0xc78543,_0x229c9e,_0x335c97)=>{const _0x241e17=_0x37f8b3;for(var _0x267ed7=_0x335c97>0x1?void 0x0:_0x335c97?_0x4efb93(_0xc78543,_0x229c9e):_0xc78543,_0x42d24f=_0x283521[_0x241e17(0x185)]-0x1,_0x3a3617;_0x42d24f>=0x0;_0x42d24f--)(_0x3a3617=_0x283521[_0x42d24f])&&(_0x267ed7=_0x3a3617(_0x267ed7)||_0x267ed7);return _0x267ed7;},_0x430bec=(_0x1443a2,_0x3ce76b)=>(_0x18dd1b,_0xdd37ad)=>_0x3ce76b(_0x18dd1b,_0xdd37ad,_0x1443a2);let _0x576e16=class extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(_0x577d75,_0x96118d,_0x16156b){const _0x202366=_0x37f8b3;super(),_0xd7033e(this,_0x202366(0x2de),new Map()),_0xd7033e(this,_0x202366(0x365),new _0x28bd90[(_0x202366(0x189))]()),(this[_0x202366(0x19b)]=_0x577d75,this[_0x202366(0x1af)]=_0x96118d,this[_0x202366(0x309)]=_0x16156b,this[_0x202366(0x3fd)]());}[_0x37f8b3(0x248)](){const _0x538765=_0x37f8b3;super[_0x538765(0x248)](),this[_0x538765(0x365)][_0x538765(0x38f)](),this[_0x538765(0x2de)][_0x538765(0x3a0)](_0x3b97a9=>_0x3b97a9['dispose']());}['getCollabCursors$'](_0x3905fd){const _0x1a1f99=_0x37f8b3;return this[_0x1a1f99(0x2de)][_0x1a1f99(0x33b)](_0x3905fd)?this['_entities'][_0x1a1f99(0x42f)](_0x3905fd)[_0x1a1f99(0x3db)]:this['_entityInit$'][_0x1a1f99(0x1d7)](_0x28bd90[_0x1a1f99(0x42c)](_0x3c746d=>_0x3c746d['unitID']===_0x3905fd),_0x28bd90[_0x1a1f99(0x2e2)](_0x13a095=>_0x13a095[_0x1a1f99(0x3db)]));}['_init'](){const _0x3bf81b=_0x37f8b3;this[_0x3bf81b(0x19b)][_0x3bf81b(0x19d)](_0x4bf0bf[_0x3bf81b(0x310)][_0x3bf81b(0x3cb)])['pipe'](_0x28bd90['takeUntil'](this[_0x3bf81b(0x30f)]))[_0x3bf81b(0x1c1)](async _0x2468b6=>{const _0x1b42cd=_0x3bf81b,_0x2e755a=_0x2468b6['getUnitId'](),_0x12e202=await this[_0x1b42cd(0x225)](_0x2e755a);this[_0x1b42cd(0x365)]['next'](_0x12e202),this[_0x1b42cd(0x2de)][_0x1b42cd(0x3a5)](_0x2e755a,_0x12e202);}),this['_univerInstanceService'][_0x3bf81b(0x19d)](_0x4bf0bf['UniverInstanceType']['UNIVER_DOC'])[_0x3bf81b(0x1d7)](_0x28bd90[_0x3bf81b(0x1dc)](this[_0x3bf81b(0x30f)]))[_0x3bf81b(0x1d7)](_0x28bd90[_0x3bf81b(0x42c)](_0x3abd26=>!_0x3abd26[_0x3bf81b(0x3dd)]()['startsWith']('__')))[_0x3bf81b(0x1c1)](async _0x2fc3a7=>{const _0x3e9bab=_0x3bf81b,_0x2c4975=_0x2fc3a7[_0x3e9bab(0x3dd)](),_0x198316=await this[_0x3e9bab(0x2a1)](_0x2c4975);this['_entityInit$'][_0x3e9bab(0x322)](_0x198316),this[_0x3e9bab(0x2de)][_0x3e9bab(0x3a5)](_0x2c4975,_0x198316);}),_0x28bd90[_0x3bf81b(0x315)](this[_0x3bf81b(0x19b)][_0x3bf81b(0x2fb)](_0x4bf0bf[_0x3bf81b(0x310)]['UNIVER_DOC']),this[_0x3bf81b(0x19b)][_0x3bf81b(0x2fb)](_0x4bf0bf[_0x3bf81b(0x310)][_0x3bf81b(0x3cb)]))['pipe'](_0x28bd90['takeUntil'](this[_0x3bf81b(0x30f)]))[_0x3bf81b(0x1c1)](_0x118688=>{const _0x1168c7=_0x3bf81b,_0x365c92=_0x118688[_0x1168c7(0x3dd)](),_0xaf6142=this[_0x1168c7(0x2de)][_0x1168c7(0x42f)](_0x365c92);_0xaf6142&&(_0xaf6142[_0x1168c7(0x248)](),this['_entities'][_0x1168c7(0x26c)](_0x365c92));});}async[_0x37f8b3(0x225)](_0x3c1219){const _0x31a3ae=_0x37f8b3,_0x5dbe1a=await this[_0x31a3ae(0x309)]['requireSession'](_0x3c1219),_0x208589=this[_0x31a3ae(0x1af)][_0x31a3ae(0x18c)](_0x23585c,_0x3c1219,_0x5dbe1a);return _0x208589['init'](),_0x208589;}async['_startDocCollabCursor'](_0x23784f){const _0x5656b6=_0x37f8b3,_0x3c5de5=await this[_0x5656b6(0x309)][_0x5656b6(0x21c)](_0x23784f),_0x19d26b=this[_0x5656b6(0x1af)]['createInstance'](_0x34c1be,_0x23784f,_0x3c5de5);return _0x19d26b[_0x5656b6(0x187)](),_0x19d26b;}};_0x576e16=_0x590e78([_0x430bec(0x0,_0x4bf0bf['IUniverInstanceService']),_0x430bec(0x1,_0x4bf0bf['Inject'](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x430bec(0x2,_0x4bf0bf['Inject'](_0x5c1af6[_0x37f8b3(0x21e)]))],_0x576e16);const _0x3e6010=0x14,_0x35b14f=0xc8,_0x1728c6=0x4,_0x3bb1aa=0x5;function _0x1eb15b(_0x9bf5b9,_0x2c53d0){const _0x47d4f2=_0x37f8b3;let {radius:_0x327409,width:_0x4e5f43,height:_0x1a72d4}=_0x2c53d0;_0x327409=_0x327409!=null?_0x327409:0x0,_0x4e5f43=_0x4e5f43!=null?_0x4e5f43:0x1e,_0x1a72d4=_0x1a72d4!=null?_0x1a72d4:0x1e;let _0x3279fc=0x0,_0x2f5ae2=0x0,_0x1ba866=0x0;_0x3279fc=_0x2f5ae2=_0x1ba866=Math[_0x47d4f2(0x2bf)](_0x327409,_0x4e5f43/0x2,_0x1a72d4/0x2),_0x9bf5b9[_0x47d4f2(0x1d1)](),_0x9bf5b9[_0x47d4f2(0x17d)](_0x3279fc,0x0),_0x9bf5b9[_0x47d4f2(0x39d)](_0x4e5f43-_0x2f5ae2,0x0),_0x9bf5b9['arc'](_0x4e5f43-_0x2f5ae2,_0x2f5ae2,_0x2f5ae2,Math['PI']*0x3/0x2,0x0,!0x1),_0x9bf5b9[_0x47d4f2(0x39d)](_0x4e5f43,_0x1a72d4-_0x1ba866),_0x9bf5b9[_0x47d4f2(0x184)](_0x4e5f43-_0x1ba866,_0x1a72d4-_0x1ba866,_0x1ba866,0x0,Math['PI']/0x2,!0x1),_0x9bf5b9['lineTo'](0x0,_0x1a72d4),_0x9bf5b9[_0x47d4f2(0x39d)](0x0,_0x3279fc),_0x9bf5b9[_0x47d4f2(0x184)](_0x3279fc,_0x3279fc,_0x3279fc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x9bf5b9[_0x47d4f2(0x188)](),_0x2c53d0[_0x47d4f2(0x2d8)]&&(_0x9bf5b9[_0x47d4f2(0x328)](),_0x9bf5b9[_0x47d4f2(0x3a6)]=_0x2c53d0[_0x47d4f2(0x2d8)],_0x2c53d0[_0x47d4f2(0x203)]==='evenodd'?_0x9bf5b9[_0x47d4f2(0x2d8)](_0x47d4f2(0x3ad)):_0x9bf5b9[_0x47d4f2(0x2d8)](),_0x9bf5b9[_0x47d4f2(0x36f)]());}class _0x54e4f3 extends _0x1a5c20[_0x37f8b3(0x36b)]{constructor(_0x3c3502,_0x37744e){const _0x38bdfd=_0x37f8b3;super(_0x3c3502,_0x37744e),_0xd7033e(this,'color'),_0xd7033e(this,'text'),(this[_0x38bdfd(0x402)]=_0x37744e==null?void 0x0:_0x37744e['color'],this['text']=_0x37744e==null?void 0x0:_0x37744e[_0x38bdfd(0x1d5)]);}static[_0x37f8b3(0x21a)](_0x332a8c,_0x37ae05){const _0x191874=_0x37f8b3,{text:_0x23da23,color:_0x450dfe}=_0x37ae05;_0x332a8c[_0x191874(0x328)](),_0x332a8c[_0x191874(0x37b)]=_0x191874(0x3fb);const _0x20677a=_0x332a8c[_0x191874(0x20b)](_0x23da23)[_0x191874(0x24e)],_0xed35f=Math[_0x191874(0x2bf)](_0x20677a+0x2*_0x1728c6,_0x35b14f);_0x1eb15b(_0x332a8c,{'height':_0x3e6010,'radius':0x4,'width':_0xed35f,'fill':_0x450dfe}),_0x332a8c['fillStyle']='#FFF';const _0x28cf52=_0x1728c6,_0x16441d=_0x3e6010-_0x3bb1aa,_0x12fe8c=_0x35b14f-0x2*_0x1728c6;if(_0x20677a>_0x12fe8c){let _0x325804='',_0x5eadf5=0x0;for(const _0x8641ab of _0x23da23){const _0x205c36=_0x332a8c[_0x191874(0x20b)](_0x8641ab)['width'];if(_0x5eadf5+_0x205c36<=_0x12fe8c-_0x332a8c[_0x191874(0x20b)](_0x191874(0x455))[_0x191874(0x24e)])_0x325804+=_0x8641ab,_0x5eadf5+=_0x205c36;else{_0x325804+=_0x191874(0x455);break;}}_0x332a8c[_0x191874(0x33f)](_0x325804,_0x28cf52,_0x16441d);}else _0x332a8c['fillText'](_0x23da23,_0x28cf52,_0x16441d);_0x332a8c[_0x191874(0x36f)]();}[_0x37f8b3(0x344)](_0x24f304){const _0x145827=_0x37f8b3;_0x54e4f3[_0x145827(0x21a)](_0x24f304,this);}}const _0x2cd96b=_0x37f8b3(0x43b),_0x5c940f=_0x37f8b3(0x420),_0x495bc4='collab-rect-range-',_0x4a57b7=0x6,_0x5bc1c7=1.5,_0x2e8606=0x4,_0x2cd3b8=1.5,_0xebdd02=_0x37f8b3(0x339);class _0x21a224{constructor(_0x9e3f25,_0x2a033b,_0x3c412a,_0x5be05d){const _0x41f1ac=_0x37f8b3;_0xd7033e(this,'_shapes',[]),_0xd7033e(this,_0x41f1ac(0x447),null),_0xd7033e(this,'_textBubble',null),_0xd7033e(this,'_anchorDot',null),_0xd7033e(this,_0x41f1ac(0x31c),null),_0xd7033e(this,_0x41f1ac(0x180),null),(this[_0x41f1ac(0x1a5)]=_0x9e3f25,this[_0x41f1ac(0x300)]=_0x2a033b,this[_0x41f1ac(0x293)]=_0x3c412a,this['_document']=_0x5be05d,this[_0x41f1ac(0x385)]());}set[_0x37f8b3(0x207)](_0x482b5e){const _0x51fc31=_0x37f8b3;_0x482b5e?(this[_0x51fc31(0x1e9)]&&this['_anchorDot'][_0x51fc31(0x2d6)](),this[_0x51fc31(0x22d)]&&this[_0x51fc31(0x22d)][_0x51fc31(0x358)]()):(this[_0x51fc31(0x1e9)]&&this[_0x51fc31(0x1e9)][_0x51fc31(0x358)](),this[_0x51fc31(0x22d)]&&this[_0x51fc31(0x22d)]['hide']());}[_0x37f8b3(0x248)](){const _0x505deb=_0x37f8b3;for(const _0x11d679 of this[_0x505deb(0x377)])_0x11d679[_0x505deb(0x248)]();this['_textBubble']&&this[_0x505deb(0x22d)]['dispose'](),this[_0x505deb(0x1e9)]&&this['_anchorDot'][_0x505deb(0x248)](),this[_0x505deb(0x447)]&&this[_0x505deb(0x447)][_0x505deb(0x248)](),this['_eventUnsubscribe']&&this[_0x505deb(0x180)]();}[_0x37f8b3(0x385)](){const _0x5b31b9=_0x37f8b3;var _0x4a9d59;const {_docSkeleton:_0x2f48ec,_document:_0x1f8051}=this,{color:_0x5e69b3,name:_0x4cdb38,ranges:_0x25de43}=this[_0x5b31b9(0x1a5)],_0x94aa22=_0x1f8051['getOffsetConfig'](),{docsLeft:_0x32d092,docsTop:_0x5cc09c}=_0x94aa22,_0x2fc108=new _0x80b7f3['NodePositionConvertToCursor'](_0x94aa22,_0x2f48ec);for(const {startOffset:_0x4e51e1,endOffset:_0x43ede5,rangeType:_0x1698d6,segmentId:_0x435cb6,segmentPage:_0x216bd3,collapsed:_0x420370,isActive:_0x3bf8f1}of _0x25de43){const _0x1b9a2e=_0x2f48ec[_0x5b31b9(0x3ef)](_0x4e51e1,!0x0,_0x435cb6,_0x216bd3);let _0x5abba1=_0x2f48ec[_0x5b31b9(0x3ef)](_0x43ede5,!0x0,_0x435cb6,_0x216bd3);if(_0x5abba1==null&&(_0x5abba1=_0x2f48ec[_0x5b31b9(0x3ef)](_0x43ede5-0x1,!0x1,_0x435cb6,_0x216bd3)),_0x3bf8f1){const {contentBoxPointGroup:_0x47d991}=_0x2fc108[_0x5b31b9(0x1f3)](_0x5abba1,_0x5abba1);if(_0x47d991[_0x5b31b9(0x185)]===0x0)continue;this[_0x5b31b9(0x191)](_0x5e69b3,_0x47d991,_0x32d092,_0x5cc09c,_0x4cdb38),this['_eventUnsubscribe']=this[_0x5b31b9(0x1ff)]();}if(_0x1b9a2e&&_0x5abba1){if(_0x1698d6===_0x4bf0bf[_0x5b31b9(0x32f)]['RECT']){const _0x570f16=new _0x80b7f3[(_0x5b31b9(0x452))](_0x94aa22,_0x2f48ec),{pointGroup:_0x56ff25}=(_0x4a9d59=_0x570f16[_0x5b31b9(0x1f3)](_0x1b9a2e,_0x5abba1))!=null?_0x4a9d59:{};if(_0x56ff25==null||_0x56ff25[_0x5b31b9(0x185)]===0x0)continue;this[_0x5b31b9(0x306)](_0x5e69b3,_0x56ff25,_0x32d092,_0x5cc09c);}else{if(!_0x420370){const {borderBoxPointGroup:_0xa9adcf}=_0x2fc108[_0x5b31b9(0x1f3)](_0x1b9a2e,_0x5abba1);if(_0xa9adcf[_0x5b31b9(0x185)]===0x0)continue;this[_0x5b31b9(0x415)](_0x5e69b3,_0xa9adcf,_0x32d092,_0x5cc09c);}}}}}['_drawAnchor'](_0x27220e,_0x3afd89,_0x1fb6be,_0x270ca2,_0xfd0459){const _0x2767c5=_0x37f8b3,_0x2435b1=this['_getAnchorBounding'](_0x3afd89),{left:_0x55a148,top:_0x23d022,height:_0x277108}=_0x2435b1,_0x138039=this['_getScale'](),_0x5483fb=_0x2cd3b8/_0x138039,_0x412f0f=new _0x1a5c20[(_0x2767c5(0x439))](_0x2cd96b+_0x4bf0bf[_0x2767c5(0x3b3)](_0x4a57b7),{'left':_0x55a148+_0x1fb6be-_0x5483fb,'top':_0x23d022+_0x270ca2,'height':_0x277108,'width':_0x5bc1c7,'fill':_0x27220e||_0x1a5c20[_0x2767c5(0x406)](_0x4bf0bf['COLORS']['black'],0x0),'strokeWidth':_0x5483fb,'stroke':_0xebdd02,'evented':!0x0});this[_0x2767c5(0x447)]=_0x412f0f,this[_0x2767c5(0x300)]['addObject'](_0x412f0f,_0x80b7f3[_0x2767c5(0x17a)]);const _0x2a583b=new _0x1a5c20[(_0x2767c5(0x439))](_0x2cd96b+_0x4bf0bf[_0x2767c5(0x3b3)](_0x4a57b7),{'left':_0x55a148+_0x1fb6be-_0x5483fb,'top':_0x23d022+_0x270ca2-_0x2e8606/0x2,'height':_0x2e8606,'width':_0x2e8606,'fill':_0x27220e||_0x1a5c20['getColor'](_0x4bf0bf[_0x2767c5(0x208)][_0x2767c5(0x3b0)],0x0),'strokeWidth':0x0,'stroke':_0x27220e||_0x1a5c20[_0x2767c5(0x406)](_0x4bf0bf[_0x2767c5(0x208)][_0x2767c5(0x3b0)],0x0),'evented':!0x1});this[_0x2767c5(0x1e9)]=_0x2a583b,this['_scene']['addObject'](_0x2a583b,_0x80b7f3[_0x2767c5(0x17a)]);const _0x3da1bb=new _0x54e4f3(_0x2cd96b+_0x4bf0bf[_0x2767c5(0x3b3)](_0x4a57b7),{'left':_0x55a148+_0x1fb6be-_0x5483fb,'top':_0x23d022+_0x270ca2-_0x3e6010,'text':_0xfd0459,'color':_0x27220e});this[_0x2767c5(0x22d)]=_0x3da1bb,this[_0x2767c5(0x300)][_0x2767c5(0x1a9)](_0x3da1bb,_0x80b7f3[_0x2767c5(0x17a)]),this[_0x2767c5(0x207)]=!0x1;}['_handleHover'](){const _0x3943bb=_0x37f8b3,_0x50e0d3=this[_0x3943bb(0x447)]['onPointerEnter$'][_0x3943bb(0x3ff)](()=>{this['_hover']=!0x0;}),_0x3b0eef=this[_0x3943bb(0x447)][_0x3943bb(0x267)]['subscribeEvent'](()=>{const _0x4b892c=_0x3943bb;this[_0x4b892c(0x31c)]&&clearTimeout(this['_hideTimer']),this[_0x4b892c(0x31c)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4eb846=_0x3943bb;_0x50e0d3[_0x4eb846(0x3c7)](),_0x3b0eef[_0x4eb846(0x3c7)]();};}['_drawTextRange'](_0x3667f1,_0x5e5669,_0x10164c,_0x192e52){const _0x20f511=_0x37f8b3,_0x3494eb=new _0x4bf0bf[(_0x20f511(0x291))](_0x3667f1)[_0x20f511(0x3dc)](0.2)[_0x20f511(0x35b)](),_0x2df76b=new _0x1a5c20[(_0x20f511(0x2c8))](_0x5c940f+_0x4bf0bf[_0x20f511(0x3b3)](_0x4a57b7),{'pointsGroup':_0x5e5669,'fill':_0x3494eb||_0x1a5c20['getColor'](_0x4bf0bf[_0x20f511(0x208)]['black'],0.2),'left':_0x10164c,'top':_0x192e52,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x20f511(0x377)][_0x20f511(0x20c)](_0x2df76b),this[_0x20f511(0x300)][_0x20f511(0x1a9)](_0x2df76b,_0x80b7f3[_0x20f511(0x17a)]);}[_0x37f8b3(0x306)](_0x50348c,_0x2fdb92,_0x5d598d,_0x3858c){const _0xba4be7=_0x37f8b3,_0x4bf318=new _0x4bf0bf[(_0xba4be7(0x291))](_0x50348c)[_0xba4be7(0x3dc)](0.2)[_0xba4be7(0x35b)](),_0xd2a444=new _0x1a5c20[(_0xba4be7(0x2c8))](_0x495bc4+_0x4bf0bf[_0xba4be7(0x3b3)](_0x4a57b7),{'pointsGroup':_0x2fdb92,'fill':_0x4bf318||_0x1a5c20[_0xba4be7(0x406)](_0x4bf0bf[_0xba4be7(0x208)][_0xba4be7(0x3b0)],0.2),'left':_0x5d598d,'top':_0x3858c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xba4be7(0x377)][_0xba4be7(0x20c)](_0xd2a444),this[_0xba4be7(0x300)][_0xba4be7(0x1a9)](_0xd2a444,_0x80b7f3['TEXT_RANGE_LAYER_INDEX']);}[_0x37f8b3(0x2df)](_0x3b115e){const _0x1274fd=_0x3b115e[0x0],_0x2876a9=_0x1274fd[0x0],_0x2507fc=_0x1274fd[0x2],{x:_0x47056f,y:_0x351044}=_0x2876a9,{x:_0x15e7cf,y:_0x38f5a1}=_0x2507fc;return{'left':_0x47056f,'top':_0x351044,'width':_0x15e7cf-_0x47056f,'height':_0x38f5a1-_0x351044};}[_0x37f8b3(0x257)](){const _0x4f106e=_0x37f8b3,{scaleX:_0x2821f7,scaleY:_0x5a514b}=this[_0x4f106e(0x300)][_0x4f106e(0x22a)]();return Math[_0x4f106e(0x37f)](_0x2821f7,_0x5a514b);}}var _0x368f83=Object[_0x37f8b3(0x272)],_0x513a0d=(_0x38871e,_0x3667d2,_0x4d4e1f,_0x52645e)=>{const _0x55264c=_0x37f8b3;for(var _0x3664ae=_0x52645e>0x1?void 0x0:_0x52645e?_0x368f83(_0x3667d2,_0x4d4e1f):_0x3667d2,_0x24b90d=_0x38871e[_0x55264c(0x185)]-0x1,_0x56232d;_0x24b90d>=0x0;_0x24b90d--)(_0x56232d=_0x38871e[_0x24b90d])&&(_0x3664ae=_0x56232d(_0x3664ae)||_0x3664ae);return _0x3664ae;},_0x22513b=(_0x14fa48,_0x255a81)=>(_0x3a1eb3,_0x3ffee2)=>_0x255a81(_0x3a1eb3,_0x3ffee2,_0x14fa48);let _0x1a0a7a=class extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(_0x1a7a0e,_0x1027cf,_0x11f869,_0x3722bf,_0x6527e3){const _0x2a5c2c=_0x37f8b3;super(),_0xd7033e(this,'_cursorShapes',[]),_0xd7033e(this,_0x2a5c2c(0x278),[]),(this[_0x2a5c2c(0x42e)]=_0x1a7a0e,this[_0x2a5c2c(0x434)]=_0x1027cf,this[_0x2a5c2c(0x41a)]=_0x11f869,this[_0x2a5c2c(0x301)]=_0x3722bf,this[_0x2a5c2c(0x24f)]=_0x6527e3,this['_init']());}[_0x37f8b3(0x3fd)](){const _0x2ff64c=_0x37f8b3,_0x59ee58=this[_0x2ff64c(0x42e)][_0x2ff64c(0x205)],_0xf0d251=this[_0x2ff64c(0x434)];this[_0x2ff64c(0x215)](_0x28bd90['combineLatest']([this[_0x2ff64c(0x41a)][_0x2ff64c(0x289)](_0x59ee58),this['_themeService'][_0x2ff64c(0x1e3)]])['pipe'](_0x3f3616[_0x2ff64c(0x2c4)](([_0x5d44be,_0x510678])=>({'skeleton':_0xf0d251[_0x2ff64c(0x216)](),'cursors':[..._0x5d44be[_0x2ff64c(0x23e)]()][_0x2ff64c(0x30a)](_0x5d6017=>({..._0x5d6017,'color':this['_themeService'][_0x2ff64c(0x395)](_0x5d6017[_0x2ff64c(0x402)])}))})))['subscribe'](_0x102754=>{const _0x52f95c=_0x2ff64c;if(this[_0x52f95c(0x323)](),_0x102754){const {skeleton:_0x3282ef,cursors:_0x213bae}=_0x102754;this[_0x52f95c(0x337)](_0x3282ef,_0x213bae);}})),this[_0x2ff64c(0x1b8)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x3ef580,_0x1c8a07){const _0x4a3f54=_0x37f8b3,{scene:_0x245423,mainComponent:_0x353777}=this[_0x4a3f54(0x42e)],_0x1c5086=_0x1c8a07[_0x4a3f54(0x2c4)](_0x40aecf=>new _0x21a224(_0x40aecf,_0x245423,_0x3ef580,_0x353777));this[_0x4a3f54(0x19c)]=_0x1c5086,this[_0x4a3f54(0x278)]=_0x1c8a07;}[_0x37f8b3(0x393)](){const _0x1ec63b=_0x37f8b3;this[_0x1ec63b(0x323)]();const {scene:_0x115114,mainComponent:_0x39bd34}=this[_0x1ec63b(0x42e)],_0x5be394=this[_0x1ec63b(0x434)][_0x1ec63b(0x216)](),_0x2d3416=this[_0x1ec63b(0x278)][_0x1ec63b(0x2c4)](_0x477841=>new _0x21a224(_0x477841,_0x115114,_0x5be394,_0x39bd34));this[_0x1ec63b(0x19c)]=_0x2d3416;}[_0x37f8b3(0x323)](){const _0x2d8ad1=_0x37f8b3;this[_0x2d8ad1(0x19c)]['forEach'](_0x40c6d7=>_0x40c6d7[_0x2d8ad1(0x248)]()),this[_0x2d8ad1(0x19c)]=[];}['_initCommandExecutedListener'](){const _0x2931bd=_0x37f8b3,_0x58969c=[_0x80b7f3[_0x2931bd(0x3c8)]['id']];this[_0x2931bd(0x215)](this[_0x2931bd(0x301)][_0x2931bd(0x294)](_0x1d0a15=>{const _0x1d1613=_0x2931bd;_0x58969c['includes'](_0x1d0a15['id'])&&_0x1d0a15[_0x1d1613(0x448)]['unitId']===this[_0x1d1613(0x42e)][_0x1d1613(0x205)]&&this[_0x1d1613(0x393)]();}));}['_initResize'](){const _0x5d316e=_0x37f8b3;this[_0x5d316e(0x215)](_0x4bf0bf[_0x5d316e(0x173)](this[_0x5d316e(0x42e)][_0x5d316e(0x233)]['onTransformChange$'])[_0x5d316e(0x1d7)](_0x3f3616[_0x5d316e(0x42c)](_0x394f7e=>_0x394f7e[_0x5d316e(0x1c7)]===_0x1a5c20[_0x5d316e(0x2ae)][_0x5d316e(0x32b)]),_0x3f3616['throttleTime'](0x10))['subscribe'](()=>{const _0x42b9d0=_0x5d316e;this[_0x42b9d0(0x393)]();}));}};_0x1a0a7a=_0x513a0d([_0x22513b(0x1,_0x4bf0bf[_0x37f8b3(0x2b1)](_0xfb3c5a['DocSkeletonManagerService'])),_0x22513b(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x576e16)),_0x22513b(0x3,_0x4bf0bf[_0x37f8b3(0x1c5)]),_0x22513b(0x4,_0x4bf0bf['Inject'](_0x4bf0bf[_0x37f8b3(0x36a)]))],_0x1a0a7a);const _0x4b985b=0x1,_0x1cfba3=1.5;class _0x327b63 extends _0x1a5c20[_0x37f8b3(0x36b)]{constructor(_0x294187,_0x489bf5){const _0x2631d6=_0x37f8b3;super(_0x294187,_0x489bf5),_0xd7033e(this,'_color'),_0xd7033e(this,'_hovered',!0x1),_0xd7033e(this,'_range'),_0xd7033e(this,'_name',''),_0xd7033e(this,_0x2631d6(0x3ca),_0x2631d6(0x3a8)),_0xd7033e(this,'_backgroundColor'),(_0x489bf5&&this[_0x2631d6(0x3ba)](_0x489bf5),this[_0x2631d6(0x226)][_0x2631d6(0x3ff)](()=>this[_0x2631d6(0x3ba)]({'hovered':!0x0})),this[_0x2631d6(0x267)][_0x2631d6(0x3ff)](()=>this[_0x2631d6(0x3ba)]({'hovered':!0x1})));}['setShapeProps'](_0x222de9){const _0x3ef9ec=_0x37f8b3;var _0x433b19,_0x24b42e,_0x316a39,_0x57f4ac,_0x47bbc4,_0x11f9f7;this[_0x3ef9ec(0x3e5)]=(_0x433b19=_0x222de9[_0x3ef9ec(0x402)])!=null?_0x433b19:this[_0x3ef9ec(0x3e5)],this[_0x3ef9ec(0x227)]=(_0x24b42e=_0x222de9[_0x3ef9ec(0x3ee)])!=null?_0x24b42e:this['_hovered'],this[_0x3ef9ec(0x3e8)]=(_0x316a39=_0x222de9['range'])!=null?_0x316a39:this[_0x3ef9ec(0x3e8)],this[_0x3ef9ec(0x428)]=(_0x57f4ac=_0x222de9[_0x3ef9ec(0x1b5)])!=null?_0x57f4ac:this[_0x3ef9ec(0x428)],this[_0x3ef9ec(0x3ca)]=(_0x47bbc4=_0x222de9[_0x3ef9ec(0x2cf)])!=null?_0x47bbc4:this[_0x3ef9ec(0x3ca)],this[_0x3ef9ec(0x388)]=(_0x11f9f7=_0x222de9['backgroundColor'])!=null?_0x11f9f7:this['_backgroundColor'],this['transformByState']({'width':_0x222de9[_0x3ef9ec(0x24e)],'height':_0x222de9[_0x3ef9ec(0x319)]});}[_0x37f8b3(0x20d)](_0x5e30c0){const _0x598e92=_0x37f8b3,{row:_0x5744c6,column:_0x399d02}=_0x5e30c0;if(_0x5744c6>=this[_0x598e92(0x3e8)][_0x598e92(0x39f)]&&_0x5744c6<=this[_0x598e92(0x3e8)][_0x598e92(0x1a7)]&&_0x399d02>=this['_range'][_0x598e92(0x270)]&&_0x399d02<=this[_0x598e92(0x3e8)][_0x598e92(0x440)]){this[_0x598e92(0x3ba)]({'hovered':!0x0});return;}this[_0x598e92(0x3ba)]({'hovered':!0x1});}[_0x37f8b3(0x399)](_0x36c1d5){return!0x1;}[_0x37f8b3(0x344)](_0x32531e){const _0xe1bc0a=_0x37f8b3;_0x1a5c20[_0xe1bc0a(0x439)]['drawWith'](_0x32531e,{'width':this[_0xe1bc0a(0x24e)],'height':this['height'],'strokeWidth':_0x1cfba3,'stroke':this[_0xe1bc0a(0x3e5)],'evented':!0x1,'fill':this[_0xe1bc0a(0x388)]}),this[_0xe1bc0a(0x227)]&&(_0x32531e['save'](),_0x32531e[_0xe1bc0a(0x3d0)](0x1,0x0,0x0,0x1,this[_0xe1bc0a(0x24e)],this['_labelPosition']==='bottom'?0x0:-_0x3e6010),_0x54e4f3[_0xe1bc0a(0x21a)](_0x32531e,{'text':this[_0xe1bc0a(0x428)],'color':this['_color']}),_0x32531e[_0xe1bc0a(0x36f)]());}}var _0x2025fe=Object[_0x37f8b3(0x272)],_0x23a145=(_0x53d389,_0x13da22,_0x3465ff,_0x12de86)=>{const _0x43ef83=_0x37f8b3;for(var _0x17c346=_0x12de86>0x1?void 0x0:_0x12de86?_0x2025fe(_0x13da22,_0x3465ff):_0x13da22,_0x53d55e=_0x53d389[_0x43ef83(0x185)]-0x1,_0x449bd3;_0x53d55e>=0x0;_0x53d55e--)(_0x449bd3=_0x53d389[_0x53d55e])&&(_0x17c346=_0x449bd3(_0x17c346)||_0x17c346);return _0x17c346;},_0x466f0f=(_0x1b1a82,_0x52e380)=>(_0x3f5fb9,_0x5b9b70)=>_0x52e380(_0x3f5fb9,_0x5b9b70,_0x1b1a82);const _0x13854a=0x1389;let _0x24c84f=class extends _0x4bf0bf['RxDisposable']{constructor(_0x50b1e6,_0xa0674,_0x190aa8,_0x4c25f0){const _0x206c5f=_0x37f8b3;super(),_0xd7033e(this,_0x206c5f(0x278),new Set()),_0xd7033e(this,_0x206c5f(0x369),null),(this[_0x206c5f(0x42e)]=_0x50b1e6,this[_0x206c5f(0x3ce)]=_0xa0674,this[_0x206c5f(0x41a)]=_0x190aa8,this[_0x206c5f(0x24f)]=_0x4c25f0,this['_init']());}[_0x37f8b3(0x3fd)](){const _0x177544=_0x37f8b3;this[_0x177544(0x3ce)][_0x177544(0x1e4)]['pipe'](_0x3f3616[_0x177544(0x1dc)](this[_0x177544(0x30f)]),_0x3f3616[_0x177544(0x2e2)](_0x3fcd8f=>{const _0x33bbf9=_0x177544;if(_0x3fcd8f){const _0x10d77d=_0x3fcd8f[_0x33bbf9(0x416)];return _0x28bd90[_0x33bbf9(0x253)](this[_0x33bbf9(0x41a)]['getCollabCursors$'](this[_0x33bbf9(0x42e)][_0x33bbf9(0x205)]),this['_themeService'][_0x33bbf9(0x1e3)])['pipe'](_0x3f3616[_0x33bbf9(0x2c4)](([_0x1a7f7a,_0x2852e4])=>{const _0x58d918=_0x33bbf9,_0x3333a6=new Map();return _0x1a7f7a[_0x58d918(0x3a0)]((_0x2ab74f,_0x2f8d78)=>{const _0x1f866d=_0x58d918;if(_0x2ab74f[_0x1f866d(0x261)]===_0x10d77d){const _0xbf8e79={..._0x2ab74f};_0xbf8e79[_0x1f866d(0x402)]=this[_0x1f866d(0x24f)]['getColorFromTheme'](_0x2ab74f[_0x1f866d(0x402)]),_0x3333a6['set'](_0x2f8d78,_0xbf8e79);}}),{'skeleton':_0x3fcd8f,'cursors':_0x3333a6};}));}return _0x28bd90['of']({'skeleton':null,'cursors':new Map()});}))[_0x177544(0x1c1)](({skeleton:_0x318f0e,cursors:_0x153403})=>{const _0x4cf987=_0x177544;this[_0x4cf987(0x323)](),_0x318f0e&&this[_0x4cf987(0x337)](_0x318f0e,_0x153403);}),this[_0x177544(0x3ce)][_0x177544(0x1e4)]['subscribe'](_0x33343f=>{const _0xd5c3a4=_0x177544;if(_0x33343f==null)return;const {skeleton:_0x389bc6}=_0x33343f,{scene:_0x498d2c}=this[_0xd5c3a4(0x42e)];_0x498d2c[_0xd5c3a4(0x352)][_0xd5c3a4(0x3ff)](_0x4bf0bf[_0xd5c3a4(0x28a)](_0xe325fa=>{const _0x162937=_0xd5c3a4;var _0x4b7188,_0x237287;const {offsetX:_0x2d21a2,offsetY:_0x165b5f}=_0xe325fa,{x:_0x2ee9a9,y:_0x50ac36}=_0x498d2c[_0x162937(0x3f3)](_0x1a5c20[_0x162937(0x263)][_0x162937(0x31a)]([_0x2d21a2,_0x165b5f])),{scaleX:_0x4cf945,scaleY:_0x2dff19}=_0x498d2c['getAncestorScale'](),_0x40778c=_0x498d2c[_0x162937(0x327)](_0x1a5c20[_0x162937(0x1c2)][_0x162937(0x3a9)]),_0x328775=_0x498d2c['getVpScrollXYInfoByPosToVp'](_0x1a5c20[_0x162937(0x263)][_0x162937(0x31a)]([_0x2ee9a9,_0x50ac36]),_0x40778c),_0x1a03f4=_0x389bc6['getCellPositionByOffset'](_0x2d21a2,_0x165b5f,_0x4cf945,_0x2dff19,_0x328775);((_0x4b7188=this[_0x162937(0x369)])==null?void 0x0:_0x4b7188[_0x162937(0x3bc)])===_0x1a03f4[_0x162937(0x3bc)]&&((_0x237287=this[_0x162937(0x369)])==null?void 0x0:_0x237287[_0x162937(0x2d4)])===_0x1a03f4[_0x162937(0x2d4)]||this[_0x162937(0x278)][_0x162937(0x3a0)](_0x9a8914=>{_0x9a8914['onMouseMove'](_0x1a03f4);});},0x64));});}[_0x37f8b3(0x337)](_0x2ef19d,_0x3475f8){const _0x33e1f7=_0x37f8b3;var _0x19fb3f;const _0x2fe3d4=(_0x19fb3f=this[_0x33e1f7(0x3ce)][_0x33e1f7(0x27e)]())==null?void 0x0:_0x19fb3f[_0x33e1f7(0x19e)];if(!_0x2fe3d4)return;const _0x4e40c5=this[_0x33e1f7(0x3c5)]();if(!_0x4e40c5)return;this['_cursors'][_0x33e1f7(0x3a0)](_0x2e1fc1=>{const _0x4fc35a=_0x33e1f7;_0x2e1fc1[_0x4fc35a(0x2bd)]();});const {scene:_0xe98de4}=_0x4e40c5,_0x4208d1=_0x2a7fb6(Array[_0x33e1f7(0x367)](_0x3475f8['values']()))[_0x33e1f7(0x2c4)](_0x321d52=>{const _0xd380d7=_0x33e1f7,{color:_0x5d717e,range:_0x5767d2,name:_0x61b28e,selection:_0x130f86,sheetID:_0x9fe389}=_0x321d52,{startColumn:_0x46f982,startRow:_0x2b6029,endColumn:_0x58578d,endRow:_0xea43e7}=_0x5767d2,_0x294cf3=_0x262b71[_0xd380d7(0x332)](_0x2b6029,_0x46f982,_0xe98de4,_0x2fe3d4),_0x5028ea=_0x262b71[_0xd380d7(0x332)](_0xea43e7,_0x58578d,_0xe98de4,_0x2fe3d4),{columnHeaderHeightAndMarginTop:_0x17ea9c}=_0x2fe3d4,{startX:_0x4c7728,startY:_0x584da8}=_0x294cf3,{endX:_0x20dcbb,endY:_0x213bbf}=_0x5028ea,_0xb1ab51=_0x20dcbb-_0x4c7728,_0x48781a=_0x213bbf-_0x584da8,_0x12b9ac={'labelPosition':_0x584da8-_0x17ea9c>=_0x3e6010?_0xd380d7(0x3a8):_0xd380d7(0x329),'sheetID':_0x9fe389,'range':_0x5767d2,'color':_0x5d717e,'name':_0x61b28e,'selection':_0x130f86,'left':_0x4c7728,'top':_0x584da8,'width':_0xb1ab51,'height':_0x48781a,'evented':!0x1,'zIndex':_0x13854a};return new _0x327b63(_0x61b28e,_0x12b9ac);});_0xe98de4[_0x33e1f7(0x2ff)](_0x4208d1,_0x4b985b),this['_cursors']=new Set(_0x4208d1);}[_0x37f8b3(0x323)](){const _0x172d9a=_0x37f8b3;var _0x23c925;(_0x23c925=this[_0x172d9a(0x278)])==null||_0x23c925[_0x172d9a(0x3a0)](_0x14e2bf=>_0x14e2bf[_0x172d9a(0x248)]());}[_0x37f8b3(0x3c5)](){const _0x446b1b=_0x37f8b3;return _0x262b71['getSheetObject'](this['_context'][_0x446b1b(0x258)],this[_0x446b1b(0x42e)]);}};_0x24c84f=_0x23a145([_0x466f0f(0x1,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x262b71[_0x37f8b3(0x3bd)])),_0x466f0f(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x576e16)),_0x466f0f(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x36a)]))],_0x24c84f);function _0x2a7fb6(_0x192a55){const _0x26f347=_0x37f8b3,_0x10a8bd=new Map();return _0x192a55[_0x26f347(0x3a0)](_0x43bd3b=>{const _0x2d72bc=_0x26f347;if(_0x10a8bd[_0x2d72bc(0x33b)](_0x43bd3b[_0x2d72bc(0x206)])){const _0x489f62=_0x10a8bd[_0x2d72bc(0x42f)](_0x43bd3b[_0x2d72bc(0x206)]);_0x489f62[_0x2d72bc(0x1b5)]+=',\x20'+_0x43bd3b[_0x2d72bc(0x1b5)];}else _0x10a8bd[_0x2d72bc(0x3a5)](_0x43bd3b['selection'],_0x43bd3b);}),Array[_0x26f347(0x367)](_0x10a8bd[_0x26f347(0x23e)]());}var _0x4f7fef=Object[_0x37f8b3(0x272)],_0x5bf84d=(_0x2d54f2,_0x45985a,_0x4fd046,_0x4140f0)=>{const _0x1c09d8=_0x37f8b3;for(var _0x5d209b=_0x4140f0>0x1?void 0x0:_0x4140f0?_0x4f7fef(_0x45985a,_0x4fd046):_0x45985a,_0x47922c=_0x2d54f2[_0x1c09d8(0x185)]-0x1,_0x14effa;_0x47922c>=0x0;_0x47922c--)(_0x14effa=_0x2d54f2[_0x47922c])&&(_0x5d209b=_0x14effa(_0x5d209b)||_0x5d209b);return _0x5d209b;},_0x125ee6=(_0x125ec1,_0x5dda56)=>(_0x315b48,_0x2c086b)=>_0x5dda56(_0x315b48,_0x2c086b,_0x125ec1);let _0x166680=class extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(_0x37db02,_0x19ac5e,_0x3c3f75,_0x50f758,_0x1e9462,_0x3d5607){const _0xd2fa09=_0x37f8b3;super(),this[_0xd2fa09(0x391)]=_0x37db02,this['_localCacheService']=_0x19ac5e,this[_0xd2fa09(0x378)]=_0x3c3f75,this[_0xd2fa09(0x218)]=_0x50f758,this[_0xd2fa09(0x336)]=_0x1e9462,this[_0xd2fa09(0x1bd)]=_0x3d5607,this[_0xd2fa09(0x199)](),this['_initEvent']();}[_0x37f8b3(0x199)](){const _0x1fbf90=_0x37f8b3;this[_0x1fbf90(0x215)](this[_0x1fbf90(0x391)][_0x1fbf90(0x2a3)](()=>{const _0x417d27=_0x1fbf90;if(this[_0x417d27(0x2b8)]['saveTaskMap'][_0x417d27(0x2ec)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x37f8b3(0x23a)](){const _0x1052be=_0x37f8b3;this[_0x1052be(0x215)](this[_0x1052be(0x378)][_0x1052be(0x2a5)]['subscribe'](_0x1264c0=>{const _0x269736=_0x1052be;_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)][_0x269736(0x353)]&&this[_0x269736(0x218)][_0x269736(0x358)]({'type':_0x22cb21['MessageType']['Warning'],'content':this['_localeService']['t'](_0x269736(0x273))}),_0x1264c0['id']===_0x5c1af6['CollaborationUIEventId'][_0x269736(0x321)]&&this[_0x269736(0x218)]['show']({'type':_0x22cb21[_0x269736(0x3aa)][_0x269736(0x3d3)],'content':this[_0x269736(0x1bd)]['t'](_0x269736(0x3ea))}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)]['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x269736(0x1bd)]['t'](_0x269736(0x421)),'content':this[_0x269736(0x1bd)]['t']('permission.content'),'type':_0x269736(0x3c2),'duration':0x0}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)][_0x269736(0x2f3)]&&this[_0x269736(0x218)][_0x269736(0x358)]({'type':_0x22cb21[_0x269736(0x3aa)][_0x269736(0x26f)],'content':this[_0x269736(0x1bd)]['t'](_0x269736(0x3ea))+'('+_0x1264c0[_0x269736(0x3da)]+')'}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)][_0x269736(0x3fc)]&&this['_messageService'][_0x269736(0x358)]({'type':_0x22cb21['MessageType'][_0x269736(0x3d3)],'content':this[_0x269736(0x1bd)]['t'](_0x1264c0[_0x269736(0x3da)]||'')}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)][_0x269736(0x2e0)]&&this[_0x269736(0x218)]['show']({'type':_0x22cb21[_0x269736(0x3aa)]['Warning'],'content':this[_0x269736(0x1bd)]['t'](_0x269736(0x3a2))}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)]['SOCKET_FAILED']&&this[_0x269736(0x218)]['show']({'type':_0x22cb21['MessageType'][_0x269736(0x26f)],'content':this['_localeService']['t']('session.connection-failed')}),_0x1264c0['id']===_0x5c1af6[_0x269736(0x1d8)][_0x269736(0x2af)]&&this[_0x269736(0x218)][_0x269736(0x358)]({'type':_0x22cb21[_0x269736(0x3aa)]['Error'],'content':this['_localeService']['t'](_0x269736(0x295))});}));}};_0x166680=_0x5bf84d([_0x125ee6(0x0,_0x19759c['IBeforeCloseService']),_0x125ee6(0x1,_0x5c1af6[_0x37f8b3(0x1a8)]),_0x125ee6(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x5c1af6[_0x37f8b3(0x34a)])),_0x125ee6(0x3,_0x19759c[_0x37f8b3(0x3e6)]),_0x125ee6(0x4,_0x19759c[_0x37f8b3(0x175)]),_0x125ee6(0x5,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x351)]))],_0x166680);const _0x3f984c='collaboration-client-ui.config',_0x73c99c={};var _0x5d49ce=Object['getOwnPropertyDescriptor'],_0x4d2656=(_0x30fa2f,_0x2a1ab3,_0x575aa1,_0x2337af)=>{for(var _0x4968e9=_0x2337af>0x1?void 0x0:_0x2337af?_0x5d49ce(_0x2a1ab3,_0x575aa1):_0x2a1ab3,_0x2a191a=_0x30fa2f['length']-0x1,_0x2da548;_0x2a191a>=0x0;_0x2a191a--)(_0x2da548=_0x30fa2f[_0x2a191a])&&(_0x4968e9=_0x2da548(_0x4968e9)||_0x4968e9);return _0x4968e9;},_0x36613f=(_0xa81fc7,_0x8c29ef)=>(_0x1fd757,_0x4593cc)=>_0x8c29ef(_0x1fd757,_0x4593cc,_0xa81fc7);let _0x1f3baa=class{constructor(_0x16e462,_0x2ae16c){const _0x12bdbe=_0x37f8b3;this[_0x12bdbe(0x3f8)]=_0x16e462,this[_0x12bdbe(0x269)]=_0x2ae16c;}[_0x37f8b3(0x3f4)](_0x39b65a){const _0x4412cc=_0x37f8b3;this[_0x4412cc(0x2f2)](_0x39b65a),this[_0x4412cc(0x1f6)](_0x39b65a);}[_0x37f8b3(0x311)](_0x4c62e2){const _0x172976=_0x37f8b3,{unitID:_0x5794ef}=_0x4c62e2,_0x348a6e=this[_0x172976(0x269)][_0x172976(0x290)](_0x5794ef)[_0x172976(0x2f0)](_0x80b7f3['DocIMEInputManagerService']),{redoCache:_0x124003}=_0x348a6e['getUndoRedoMutationParamsCache']();if(_0x124003[_0x172976(0x185)]===0x0)return _0x4c62e2;let _0x3290c3=_0x4bf0bf[_0x172976(0x268)][_0x172976(0x3c0)](_0x4c62e2['mutations'][0x0]);for(let _0x117b1a=0x0;_0x117b1a<_0x124003[_0x172976(0x185)];_0x117b1a++){const _0x1b0e8d={'id':_0x172976(0x17f),'params':{..._0x124003[_0x117b1a]}},_0x57ddb3=this['_transformService'][_0x172976(0x381)](_0x3290c3,_0x1b0e8d,!0x1);if(_0x346166[_0x172976(0x23f)](_0x57ddb3))throw _0x57ddb3[_0x172976(0x3c2)];_0x3290c3=_0x57ddb3['m1Prime'];}return{..._0x4bf0bf['Tools'][_0x172976(0x3c0)](_0x4c62e2),'mutations':[_0x3290c3]};}[_0x37f8b3(0x2f2)](_0x20fcb4){const _0x4e242a=_0x37f8b3,{unitID:_0x474fe2}=_0x20fcb4,_0x387c65=this[_0x4e242a(0x269)][_0x4e242a(0x290)](_0x474fe2)[_0x4e242a(0x2f0)](_0x80b7f3['DocIMEInputManagerService']),{undoCache:_0x251e35,redoCache:_0x18ea31}=_0x387c65[_0x4e242a(0x28d)]();if(_0x251e35[_0x4e242a(0x185)]===0x0||_0x18ea31[_0x4e242a(0x185)]===0x0)return;const _0x34d865=[],_0x624b2b=[];let _0x5523bc=_0x4bf0bf[_0x4e242a(0x268)][_0x4e242a(0x3c0)](_0x20fcb4[_0x4e242a(0x318)][0x0]),_0x1ef6aa=_0x4bf0bf['Tools'][_0x4e242a(0x3c0)](_0x20fcb4['mutations'][0x0]);for(let _0x490295=_0x251e35[_0x4e242a(0x185)]-0x1;_0x490295>=0x0;_0x490295--){const _0x4aaa95={'id':_0x4e242a(0x17f),'params':{..._0x251e35[_0x490295]}},_0x40b26c={'id':'doc.mutation.rich-text-editing','params':{..._0x18ea31[_0x490295]}},_0x13da8d=this[_0x4e242a(0x3f8)]['transformMutation'](_0x5523bc,_0x4aaa95,!0x1),_0x2535b3=this[_0x4e242a(0x3f8)][_0x4e242a(0x381)](_0x1ef6aa,_0x40b26c,!0x1);if(_0x346166[_0x4e242a(0x23f)](_0x13da8d))throw _0x13da8d[_0x4e242a(0x3c2)];if(_0x346166['isTransformMutationFailure'](_0x2535b3))throw _0x2535b3[_0x4e242a(0x3c2)];_0x34d865['unshift'](_0x13da8d['m2Prime'][_0x4e242a(0x448)]),_0x624b2b[_0x4e242a(0x308)](_0x2535b3[_0x4e242a(0x37a)]['params']),_0x5523bc=_0x13da8d['m1Prime'],_0x1ef6aa=_0x2535b3['m1Prime'];}_0x387c65[_0x4e242a(0x38b)]({'undoCache':_0x34d865,'redoCache':_0x624b2b});}[_0x37f8b3(0x1f6)](_0x471774){const _0x27d138=_0x37f8b3,{unitID:_0x59d4b1}=_0x471774,_0x59bd27=this['_renderManagerService'][_0x27d138(0x290)](_0x59d4b1)[_0x27d138(0x2f0)](_0x80b7f3[_0x27d138(0x2c6)]),_0x3cc06c=_0x59bd27[_0x27d138(0x228)]();if(_0x3cc06c==null)return;const _0x1fd1ec=[{'id':_0x27d138(0x17f),'params':{'unitId':_0x471774[_0x27d138(0x231)],'actions':null,'textRanges':[_0x3cc06c]}}],_0x188875=this[_0x27d138(0x3f8)][_0x27d138(0x3d9)](_0x471774,_0x1fd1ec);if(!_0x346166[_0x27d138(0x1cf)](_0x188875))throw _0x188875[_0x27d138(0x3c2)];const _0x3394df=_0x188875['m2Prime'][0x0]['params']['textRanges'];Array['isArray'](_0x3394df)&&_0x3394df['length']&&_0x59bd27[_0x27d138(0x314)](_0x3394df[0x0]);}};_0x1f3baa=_0x4d2656([_0x36613f(0x0,_0x346166['ITransformService']),_0x36613f(0x1,_0x1a5c20['IRenderManagerService'])],_0x1f3baa);var _0x4a83a4=Object[_0x37f8b3(0x272)],_0x2b8e98=(_0x416562,_0x4ce11e,_0x246261,_0x4e3d1d)=>{const _0x45be1b=_0x37f8b3;for(var _0x284afa=_0x4e3d1d>0x1?void 0x0:_0x4e3d1d?_0x4a83a4(_0x4ce11e,_0x246261):_0x4ce11e,_0x4028c1=_0x416562[_0x45be1b(0x185)]-0x1,_0x4b63fa;_0x4028c1>=0x0;_0x4028c1--)(_0x4b63fa=_0x416562[_0x4028c1])&&(_0x284afa=_0x4b63fa(_0x284afa)||_0x284afa);return _0x284afa;},_0x2bcee9=(_0x36e17b,_0xd2c492)=>(_0x2a72af,_0x33e810)=>_0xd2c492(_0x2a72af,_0x33e810,_0x36e17b);let _0x31cb58=class{constructor(_0x373a2c,_0x422a01,_0x4fce99){const _0x30b823=_0x37f8b3;this[_0x30b823(0x1af)]=_0x373a2c,this[_0x30b823(0x3f8)]=_0x422a01,this[_0x30b823(0x386)]=_0x4fce99;}['transformStateCache'](_0x664f82){const _0x56195e=_0x37f8b3;this[_0x56195e(0x407)](_0x664f82);}['transformRemoteChangeset'](_0x8b8fe2){const _0x230700=_0x37f8b3,{unitID:_0x25dbc8}=_0x8b8fe2,{collaboration:_0x4b2855}=this[_0x230700(0x386)][_0x230700(0x2b9)](_0x25dbc8);if(_0x4b2855[_0x230700(0x185)]===0x0)return _0x8b8fe2;let _0x59a318=_0x4bf0bf['Tools'][_0x230700(0x3c0)](_0x8b8fe2[_0x230700(0x318)][0x0]);for(let _0x845146=0x0;_0x845146<_0x4b2855[_0x230700(0x185)];_0x845146++){const _0x28ce70={'id':_0x230700(0x17f),'params':{'unitId':_0x4b2855[_0x845146][_0x230700(0x205)],..._0x4b2855[_0x845146][_0x230700(0x27d)]}},_0x58b5f7=this['_transformService'][_0x230700(0x381)](_0x59a318,_0x28ce70,!0x1);if(_0x346166[_0x230700(0x23f)](_0x58b5f7))throw _0x58b5f7['error'];_0x59a318=_0x58b5f7['m1Prime'];}return{..._0x4bf0bf[_0x230700(0x268)][_0x230700(0x3c0)](_0x8b8fe2),'mutations':[_0x59a318]};}[_0x37f8b3(0x407)](_0x15dfdb){const _0x6e5263=_0x37f8b3,{unitID:_0x55f200}=_0x15dfdb,{history:_0x336a78,collaboration:_0x45c67d}=this[_0x6e5263(0x386)][_0x6e5263(0x2b9)](_0x55f200);if(_0x336a78[_0x6e5263(0x185)]===0x0&&_0x45c67d[_0x6e5263(0x185)]===0x0)return;const _0x24394e=[],_0x21f3e5=[];let _0x275b57=_0x4bf0bf[_0x6e5263(0x268)][_0x6e5263(0x3c0)](_0x15dfdb['mutations'][0x0]),_0x4816af=_0x4bf0bf[_0x6e5263(0x268)][_0x6e5263(0x3c0)](_0x15dfdb['mutations'][0x0]);for(let _0x23d350=_0x336a78['length']-0x1;_0x23d350>=0x0;_0x23d350--){const _0xa674ae={'id':_0x6e5263(0x17f),'params':{'unitId':_0x336a78[_0x23d350][_0x6e5263(0x205)],..._0x336a78[_0x23d350]['undoState']}},_0x1e8f03={'id':_0x6e5263(0x17f),'params':{'unitId':_0x336a78[_0x23d350][_0x6e5263(0x205)],..._0x336a78[_0x23d350][_0x6e5263(0x27d)]}},_0x5a125f=this['_transformService'][_0x6e5263(0x381)](_0x275b57,_0xa674ae,!0x1),_0x2c9d96=this[_0x6e5263(0x3f8)][_0x6e5263(0x381)](_0x4816af,_0x1e8f03,!0x1);if(_0x346166['isTransformMutationFailure'](_0x5a125f))throw _0x5a125f['error'];if(_0x346166[_0x6e5263(0x23f)](_0x2c9d96))throw _0x2c9d96[_0x6e5263(0x3c2)];_0x24394e[_0x6e5263(0x308)]({..._0x336a78[_0x23d350],'undoState':_0x5a125f[_0x6e5263(0x37a)]['params'],'redoState':_0x2c9d96[_0x6e5263(0x37a)]['params']}),_0x275b57=_0x5a125f['m1Prime'],_0x4816af=_0x2c9d96[_0x6e5263(0x2a0)];}_0x275b57=_0x4bf0bf[_0x6e5263(0x268)]['deepClone'](_0x15dfdb[_0x6e5263(0x318)][0x0]),_0x4816af=_0x4bf0bf[_0x6e5263(0x268)]['deepClone'](_0x15dfdb[_0x6e5263(0x318)][0x0]);for(let _0x4de716=_0x45c67d[_0x6e5263(0x185)]-0x1;_0x4de716>=0x0;_0x4de716--){const _0x3359d4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45c67d[_0x4de716][_0x6e5263(0x205)],..._0x45c67d[_0x4de716][_0x6e5263(0x3bb)]}},_0x4b65c3={'id':_0x6e5263(0x17f),'params':{'unitId':_0x45c67d[_0x4de716][_0x6e5263(0x205)],..._0x45c67d[_0x4de716][_0x6e5263(0x27d)]}},_0x38f113=this[_0x6e5263(0x3f8)]['transformMutation'](_0x275b57,_0x3359d4,!0x1),_0x3f48d9=this[_0x6e5263(0x3f8)][_0x6e5263(0x381)](_0x4816af,_0x4b65c3,!0x1);if(_0x346166[_0x6e5263(0x23f)](_0x38f113))throw _0x38f113[_0x6e5263(0x3c2)];if(_0x346166[_0x6e5263(0x23f)](_0x3f48d9))throw _0x3f48d9[_0x6e5263(0x3c2)];_0x21f3e5[_0x6e5263(0x308)]({..._0x45c67d[_0x4de716],'undoState':_0x38f113[_0x6e5263(0x37a)][_0x6e5263(0x448)],'redoState':_0x3f48d9[_0x6e5263(0x37a)][_0x6e5263(0x448)]}),_0x275b57=_0x38f113[_0x6e5263(0x2a0)],_0x4816af=_0x3f48d9[_0x6e5263(0x2a0)];}this['_docStateChangeManagerService']['setStateCache'](_0x55f200,{'history':_0x24394e,'collaboration':_0x21f3e5});}};_0x31cb58=_0x2b8e98([_0x2bcee9(0x0,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf['Injector'])),_0x2bcee9(0x1,_0x346166[_0x37f8b3(0x3f5)]),_0x2bcee9(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x80b7f3[_0x37f8b3(0x398)]))],_0x31cb58);var _0x37a7b9=Object[_0x37f8b3(0x272)],_0x779f27=(_0x44d512,_0x4bfed0,_0xb370a3,_0x36b691)=>{const _0x105c3b=_0x37f8b3;for(var _0x4c9d67=_0x36b691>0x1?void 0x0:_0x36b691?_0x37a7b9(_0x4bfed0,_0xb370a3):_0x4bfed0,_0x5b8d3a=_0x44d512[_0x105c3b(0x185)]-0x1,_0x56fb6a;_0x5b8d3a>=0x0;_0x5b8d3a--)(_0x56fb6a=_0x44d512[_0x5b8d3a])&&(_0x4c9d67=_0x56fb6a(_0x4c9d67)||_0x4c9d67);return _0x4c9d67;},_0x51a319=(_0x4c8d28,_0x39a5c0)=>(_0x4cafb0,_0x1bb76c)=>_0x39a5c0(_0x4cafb0,_0x1bb76c,_0x4c8d28);let _0x2f17a2=class{constructor(_0x4afb30,_0x105cc9){const _0x5c5ea7=_0x37f8b3;this[_0x5c5ea7(0x1af)]=_0x4afb30,this[_0x5c5ea7(0x3f8)]=_0x105cc9;}[_0x37f8b3(0x3f2)](_0x4663bd){const _0x590330=_0x37f8b3;var _0x53a80c;const _0x38a649=this[_0x590330(0x1af)][_0x590330(0x42f)](_0xfb3c5a[_0x590330(0x27b)]),_0xd27db8=(_0x53a80c=_0x38a649[_0x590330(0x3e9)]())!=null?_0x53a80c:[];if(_0xd27db8[_0x590330(0x185)]===0x0)return;const _0xae52d7=_0x4663bd['unitID'],_0x559341=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xae52d7,'actions':null,'textRanges':_0xd27db8}}],_0x2efca4=this[_0x590330(0x3f8)][_0x590330(0x3d9)](_0x4663bd,_0x559341);if(!_0x346166['isTransformMutationsWithChangesetSuccess'](_0x2efca4))throw _0x2efca4[_0x590330(0x3c2)];const _0x194a72=_0x2efca4['m2Prime'][0x0][_0x590330(0x448)][_0x590330(0x1da)];Array[_0x590330(0x1fc)](_0x194a72)&&_0x194a72['length']&&_0x38a649[_0x590330(0x201)](_0x194a72,{'unitId':_0xae52d7,'subUnitId':_0xae52d7},!0x1);}};_0x2f17a2=_0x779f27([_0x51a319(0x0,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x51a319(0x1,_0x346166['ITransformService'])],_0x2f17a2);var _0x571734=Object['getOwnPropertyDescriptor'],_0x3278b5=(_0x21021d,_0x16c36c,_0x336e38,_0x55986d)=>{const _0x568ef8=_0x37f8b3;for(var _0x373565=_0x55986d>0x1?void 0x0:_0x55986d?_0x571734(_0x16c36c,_0x336e38):_0x16c36c,_0x50823b=_0x21021d[_0x568ef8(0x185)]-0x1,_0x4b8b36;_0x50823b>=0x0;_0x50823b--)(_0x4b8b36=_0x21021d[_0x50823b])&&(_0x373565=_0x4b8b36(_0x373565)||_0x373565);return _0x373565;},_0x23c927=(_0x599428,_0x1131b1)=>(_0x40f659,_0x3e8c84)=>_0x1131b1(_0x40f659,_0x3e8c84,_0x599428);let _0x395fbb=class extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(_0x22a4a8,_0x3033c3,_0xb6fc0c,_0x273119,_0x5837f2,_0x20f07f,_0x5cc872,_0x1c25a7){const _0x502234=_0x37f8b3;super(),_0xd7033e(this,_0x502234(0x2ef),new _0x28bd90[(_0x502234(0x246))](_0x5c1af6['CollaborationStatus']['NOT_COLLAB'])),(this[_0x502234(0x386)]=_0x22a4a8,this[_0x502234(0x220)]=_0x3033c3,this['_docTransformIMECacheService']=_0xb6fc0c,this[_0x502234(0x1f5)]=_0x273119,this[_0x502234(0x2ad)]=_0x5837f2,this['_docSyncEditingCollabCursorService']=_0x20f07f,this[_0x502234(0x218)]=_0x5cc872,this[_0x502234(0x1bd)]=_0x1c25a7,this[_0x502234(0x2c2)]());}[_0x37f8b3(0x2c2)](){const _0x49d4e3=_0x37f8b3;this['disposeWithMe'](this[_0x49d4e3(0x220)][_0x49d4e3(0x3be)][_0x49d4e3(0x1c1)](_0x47e8c1=>{const _0x1d4dc3=_0x49d4e3,_0x16466e=this['_docStateChangeManagerService'][_0x1d4dc3(0x281)]['subscribe'](_0x392fd5=>{const _0xe37a97=_0x1d4dc3;if(_0x392fd5==null)return;const {unitId:_0x1a0271,redoState:_0x3455c8,commandId:_0xede4ce}=_0x392fd5;if(_0x1a0271!==_0x47e8c1[_0xe37a97(0x231)])return;const _0x454c78={'id':_0xede4ce,'type':_0x4bf0bf[_0xe37a97(0x251)][_0xe37a97(0x40f)],'params':{'unitId':_0x1a0271,'actions':_0x3455c8[_0xe37a97(0x1c4)],'textRanges':null}};_0x47e8c1[_0xe37a97(0x354)](_0x454c78);});if(_0x47e8c1[_0x1d4dc3(0x215)](_0x16466e),_0x47e8c1 instanceof _0x5c1af6[_0x1d4dc3(0x305)]){const _0x9e9692={'onTransformIME':_0x5400aa=>this[_0x1d4dc3(0x2cb)][_0x1d4dc3(0x3f4)](_0x5400aa),'onTransformState':_0x2086bd=>this[_0x1d4dc3(0x1f5)][_0x1d4dc3(0x317)](_0x2086bd),'onTransformSelections':_0x46d0cd=>this[_0x1d4dc3(0x2ad)][_0x1d4dc3(0x3f2)](_0x46d0cd),'onSyncEditingCollabCursor':_0x19217f=>this[_0x1d4dc3(0x3e3)]['syncEditingCollabCursor'](_0x19217f),'onTransformRemoteChangesetByIMECache':_0x119ecb=>this['_docTransformIMECacheService'][_0x1d4dc3(0x311)](_0x119ecb),'onTransformRemoteChangesetByStateCache':_0x24634d=>this[_0x1d4dc3(0x1f5)][_0x1d4dc3(0x311)](_0x24634d)};_0x47e8c1[_0x1d4dc3(0x1fd)](_0x9e9692);}}));}};_0x395fbb=_0x3278b5([_0x23c927(0x0,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x80b7f3[_0x37f8b3(0x398)])),_0x23c927(0x1,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x5c1af6[_0x37f8b3(0x26a)])),_0x23c927(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x1f3baa)),_0x23c927(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x31cb58)),_0x23c927(0x4,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x2f17a2)),_0x23c927(0x5,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x39b00c)),_0x23c927(0x6,_0x19759c[_0x37f8b3(0x3e6)]),_0x23c927(0x7,_0x4bf0bf['Inject'](_0x4bf0bf[_0x37f8b3(0x351)]))],_0x395fbb);var _0x2b80f3=(_0x5adf13=>(_0x5adf13[_0x5adf13['UNDEFINED']=0x0]='UNDEFINED',_0x5adf13[_0x5adf13['OK']=0x1]='OK',_0x5adf13[_0x5adf13[_0x37f8b3(0x38d)]=0x2]=_0x37f8b3(0x38d),_0x5adf13[_0x5adf13[_0x37f8b3(0x234)]=0x3]=_0x37f8b3(0x234),_0x5adf13[_0x5adf13['NOT_FOUND']=0x4]=_0x37f8b3(0x1de),_0x5adf13[_0x5adf13[_0x37f8b3(0x313)]=0x5]=_0x37f8b3(0x313),_0x5adf13[_0x5adf13[_0x37f8b3(0x34b)]=0x6]='ALREADY_EXISTS',_0x5adf13[_0x5adf13['INVALID_ARGUMENT']=0x7]=_0x37f8b3(0x2d5),_0x5adf13[_0x5adf13[_0x37f8b3(0x3b1)]=0x8]=_0x37f8b3(0x3b1),_0x5adf13[_0x5adf13['COMPLETION_FINISHED']=0x9]=_0x37f8b3(0x1c9),_0x5adf13[_0x5adf13[_0x37f8b3(0x303)]=0xa]=_0x37f8b3(0x303),_0x5adf13[_0x5adf13[_0x37f8b3(0x202)]=0xb]=_0x37f8b3(0x202),_0x5adf13[_0x5adf13[_0x37f8b3(0x297)]=0xc]=_0x37f8b3(0x297),_0x5adf13[_0x5adf13[_0x37f8b3(0x183)]=0xd]=_0x37f8b3(0x183),_0x5adf13[_0x5adf13[_0x37f8b3(0x22e)]=0xe]=_0x37f8b3(0x22e),_0x5adf13[_0x5adf13[_0x37f8b3(0x380)]=0xf]=_0x37f8b3(0x380),_0x5adf13[_0x5adf13[_0x37f8b3(0x1dd)]=0x10]=_0x37f8b3(0x1dd),_0x5adf13[_0x5adf13[_0x37f8b3(0x1f9)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x5adf13[_0x5adf13[_0x37f8b3(0x405)]=0x65]='ERROR_AGAIN',_0x5adf13[_0x5adf13[_0x37f8b3(0x2f9)]=0xc9]='USER_NOT_FOUND',_0x5adf13[_0x5adf13[_0x37f8b3(0x35e)]=0xca]=_0x37f8b3(0x35e),_0x5adf13[_0x5adf13[_0x37f8b3(0x1bb)]=0x1389]=_0x37f8b3(0x1bb),_0x5adf13[_0x5adf13[_0x37f8b3(0x379)]=0x1771]=_0x37f8b3(0x379),_0x5adf13[_0x5adf13['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x37f8b3(0x341),_0x5adf13[_0x5adf13[_0x37f8b3(0x368)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5adf13[_0x5adf13['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x5adf13[_0x5adf13['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x37f8b3(0x2e8),_0x5adf13[_0x5adf13[_0x37f8b3(0x229)]=0x1b5b]=_0x37f8b3(0x229),_0x5adf13[_0x5adf13[_0x37f8b3(0x26d)]=0x1b5c]=_0x37f8b3(0x26d),_0x5adf13[_0x5adf13[_0x37f8b3(0x255)]=0x1b5d]=_0x37f8b3(0x255),_0x5adf13[_0x5adf13[_0x37f8b3(0x217)]=0x1f41]=_0x37f8b3(0x217),_0x5adf13[_0x5adf13[_0x37f8b3(0x35c)]=0x2329]=_0x37f8b3(0x35c),_0x5adf13[_0x5adf13[_0x37f8b3(0x390)]=0x232a]=_0x37f8b3(0x390),_0x5adf13[_0x5adf13['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x37f8b3(0x40b),_0x5adf13[_0x5adf13[_0x37f8b3(0x40a)]=0x232c]=_0x37f8b3(0x40a),_0x5adf13[_0x5adf13[_0x37f8b3(0x2c7)]=0x232d]=_0x37f8b3(0x2c7),_0x5adf13[_0x5adf13[_0x37f8b3(0x433)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5adf13[_0x5adf13[_0x37f8b3(0x223)]=0x2712]=_0x37f8b3(0x223),_0x5adf13[_0x5adf13[_0x37f8b3(0x355)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5adf13[_0x5adf13[_0x37f8b3(0x437)]=0x2714]=_0x37f8b3(0x437),_0x5adf13[_0x5adf13[_0x37f8b3(0x356)]=0x271a]=_0x37f8b3(0x356),_0x5adf13[_0x5adf13[_0x37f8b3(0x438)]=0x271b]=_0x37f8b3(0x438),_0x5adf13[_0x5adf13['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5adf13[_0x5adf13[_0x37f8b3(0x1ef)]=0x271d]=_0x37f8b3(0x1ef),_0x5adf13[_0x5adf13[_0x37f8b3(0x3ec)]=0x271e]=_0x37f8b3(0x3ec),_0x5adf13[_0x5adf13[_0x37f8b3(0x408)]=0x271f]=_0x37f8b3(0x408),_0x5adf13[_0x5adf13[_0x37f8b3(0x2b6)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5adf13[_0x5adf13['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x37f8b3(0x326),_0x5adf13[_0x5adf13['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5adf13[_0x5adf13[_0x37f8b3(0x19a)]=0x2ee2]=_0x37f8b3(0x19a),_0x5adf13[_0x5adf13[_0x37f8b3(0x288)]=0x2ee3]=_0x37f8b3(0x288),_0x5adf13[_0x5adf13[_0x37f8b3(0x195)]=0x2ee4]=_0x37f8b3(0x195),_0x5adf13[_0x5adf13['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x37f8b3(0x33e),_0x5adf13[_0x5adf13['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x37f8b3(0x3cf),_0x5adf13[_0x5adf13[_0x37f8b3(0x1a1)]=0x32ca]=_0x37f8b3(0x1a1),_0x5adf13[_0x5adf13[_0x37f8b3(0x1f7)]=0x32cb]=_0x37f8b3(0x1f7),_0x5adf13[_0x5adf13[_0x37f8b3(0x1b4)]=0x36b1]=_0x37f8b3(0x1b4),_0x5adf13[_0x5adf13[_0x37f8b3(0x1b0)]=0x36b2]=_0x37f8b3(0x1b0),_0x5adf13[_0x5adf13[_0x37f8b3(0x1f4)]=0x36b3]=_0x37f8b3(0x1f4),_0x5adf13[_0x5adf13[_0x37f8b3(0x2fa)]=0x36b4]=_0x37f8b3(0x2fa),_0x5adf13[_0x5adf13['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x37f8b3(0x3c6),_0x5adf13[_0x5adf13[_0x37f8b3(0x1f0)]=0x3716]=_0x37f8b3(0x1f0),_0x5adf13[_0x5adf13[_0x37f8b3(0x266)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5adf13[_0x5adf13[_0x37f8b3(0x29d)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x5adf13[_0x5adf13[_0x37f8b3(0x3c4)]=0x3a9a]=_0x37f8b3(0x3c4),_0x5adf13[_0x5adf13[_0x37f8b3(0x43d)]=0x3a9b]=_0x37f8b3(0x43d),_0x5adf13[_0x5adf13[_0x37f8b3(0x26e)]=0x3a9c]=_0x37f8b3(0x26e),_0x5adf13[_0x5adf13['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x37f8b3(0x409),_0x5adf13[_0x5adf13[_0x37f8b3(0x3f6)]=0x3a9e]=_0x37f8b3(0x3f6),_0x5adf13[_0x5adf13[_0x37f8b3(0x1fb)]=0x3a9f]=_0x37f8b3(0x1fb),_0x5adf13[_0x5adf13[_0x37f8b3(0x453)]=-0x1]=_0x37f8b3(0x453),_0x5adf13))(_0x2b80f3||{});function _0x454441(_0x5c2aef){const _0x4419c9=_0x37f8b3;var _0xb0fc1e,_0x2db95b;const _0x3234de=(_0xb0fc1e=_0x5c2aef[_0x4419c9(0x350)])==null?void 0x0:_0xb0fc1e[_0x4419c9(0x3e2)],_0x300eaa=((_0x2db95b=_0x5c2aef[_0x4419c9(0x350)])==null?void 0x0:_0x2db95b[_0x4419c9(0x401)])||0x0;return _0x3234de===_0x1738fe['FormulaExecuteStageType'][_0x4419c9(0x34c)]&&_0x300eaa>0x0;}function _0x54ac59(_0x112fac){const _0xe8e9a6=_0x37f8b3;return _0x112fac[_0xe8e9a6(0x429)]===_0x1738fe[_0xe8e9a6(0x1bf)]['SUCCESS'];}var _0x2fc9bf=Object[_0x37f8b3(0x272)],_0xc4f68=(_0x479100,_0x3cfbf6,_0x255d40,_0x13eb9e)=>{const _0x4ef1f1=_0x37f8b3;for(var _0x179ccb=_0x13eb9e>0x1?void 0x0:_0x13eb9e?_0x2fc9bf(_0x3cfbf6,_0x255d40):_0x3cfbf6,_0x1b6a57=_0x479100[_0x4ef1f1(0x185)]-0x1,_0x50af5b;_0x1b6a57>=0x0;_0x1b6a57--)(_0x50af5b=_0x479100[_0x1b6a57])&&(_0x179ccb=_0x50af5b(_0x179ccb)||_0x179ccb);return _0x179ccb;},_0x42541b=(_0x209681,_0x328231)=>(_0x3f29c1,_0x68831d)=>_0x328231(_0x3f29c1,_0x68831d,_0x209681);const _0xf91d21=_0x37f8b3(0x283),_0x2f7634=_0x37f8b3(0x374),_0x4c26da='/universer-api/license/formula/limit/done';let _0x35ec8b=class extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(_0x9c3e1b,_0xa93415,_0x1064be,_0x30888a,_0x2a4868,_0x4a3999,_0x1393a6){const _0x1f0e44=_0x37f8b3;super(),_0xd7033e(this,_0x1f0e44(0x3f1),null),_0xd7033e(this,_0x1f0e44(0x1cb),0x0),_0xd7033e(this,_0x1f0e44(0x18f),0x0),_0xd7033e(this,_0x1f0e44(0x1ac),[]),_0xd7033e(this,_0x1f0e44(0x2fd),0x0),(this[_0x1f0e44(0x218)]=_0x9c3e1b,this[_0x1f0e44(0x301)]=_0xa93415,this[_0x1f0e44(0x23b)]=_0x1064be,this[_0x1f0e44(0x221)]=_0x30888a,this[_0x1f0e44(0x19b)]=_0x2a4868,this[_0x1f0e44(0x3f0)]=_0x4a3999,this['_localeService']=_0x1393a6,this['_initCommandInterceptor']());}[_0x37f8b3(0x362)](){const _0xfb12b4=_0x37f8b3;this[_0xfb12b4(0x215)](this[_0xfb12b4(0x301)][_0xfb12b4(0x3d1)]((_0x5d86dd,_0x463762)=>{const _0x56dc68=_0xfb12b4;if(_0x5d86dd['id']!==_0x1738fe['SetFormulaCalculationStartMutation']['id'])return;const _0x43bc7c=_0x5d86dd[_0x56dc68(0x448)];if(!this[_0x56dc68(0x446)](_0x43bc7c[_0x56dc68(0x324)]))return;if(!this['_checkCalculationAvailable']())throw this[_0x56dc68(0x2a9)](_0x5d86dd,_0x463762),this[_0x56dc68(0x2e1)](),new _0x4bf0bf[(_0x56dc68(0x1e0))]();})),this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x43b910,_0x34802c)=>{const _0x4148d4=_0xfb12b4;if(_0x43b910['id']!==_0x1738fe[_0x4148d4(0x1bc)]['id'])return;const _0x2b33e9=_0x43b910['params'];if(_0x454441(_0x2b33e9)){const _0x10cd4c=_0x4bf0bf['generateRandomId']();this[_0x4148d4(0x1ac)]['push'](_0x10cd4c),this['_startCalculationLimit'](_0x10cd4c);}else{if(_0x54ac59(_0x2b33e9)&&this[_0x4148d4(0x1ac)][_0x4148d4(0x185)]>0x0){const _0x36859e=this['_taskIds'][_0x4148d4(0x280)]();this['_releaseCalculationLimit'](_0x36859e);}}}));}['dispose'](){const _0x569d9e=_0x37f8b3;super[_0x569d9e(0x248)](),this[_0x569d9e(0x210)](),this[_0x569d9e(0x1ac)]=[],this['_currentUsage']=0x0,this['_maxFormulaLimit']=0x0,this[_0x569d9e(0x2fd)]=0x0;}async[_0x37f8b3(0x2a9)](_0x45f064,_0x2a2df1){const _0x158c29=_0x37f8b3;for(let _0x46e53a=0x0;_0x46e53a<0x1e;_0x46e53a++)try{if(await this[_0x158c29(0x214)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x45f064,_0x2a2df1),this[_0x158c29(0x218)][_0x158c29(0x358)]({'content':this[_0x158c29(0x1bd)]['t'](_0x158c29(0x292)),'type':_0x22cb21[_0x158c29(0x3aa)][_0x158c29(0x179)]});return;}await new Promise(_0xee13fc=>{const _0x5992d0=_0x158c29;this['_pollingInterval']=window[_0x5992d0(0x426)](_0xee13fc,0x3e8);});}catch(_0x2c46a3){this[_0x158c29(0x3f0)][_0x158c29(0x3c2)](_0x2c46a3);}this['_messageService'][_0x158c29(0x358)]({'content':this['_localeService']['t'](_0x158c29(0x23d)),'type':_0x22cb21['MessageType'][_0x158c29(0x26f)]});}[_0x37f8b3(0x245)](_0x42d7e4,_0x1b21fa){const _0x48987e=_0x37f8b3;try{this[_0x48987e(0x301)][_0x48987e(0x3ac)](_0x42d7e4['id'],_0x42d7e4[_0x48987e(0x448)],_0x1b21fa);}catch(_0x2c515b){this['_logService'][_0x48987e(0x3c2)](_0x2c515b);}}[_0x37f8b3(0x35f)](_0xdb5679,_0x19712b){const _0x2d8f38=_0x37f8b3;_0x19712b<this[_0x2d8f38(0x2fd)]||(this[_0x2d8f38(0x2fd)]=_0x19712b,this[_0x2d8f38(0x1cb)]=Number['parseInt'](_0xdb5679['maxFormulaLimit']),this[_0x2d8f38(0x18f)]=Number[_0x2d8f38(0x359)](_0xdb5679[_0x2d8f38(0x20e)]));}async[_0x37f8b3(0x18d)](_0x2fa090){const _0xc3e0af=_0x37f8b3;var _0x1df604,_0x4a659f;const _0x54a05b=Date[_0xc3e0af(0x2eb)]();try{const _0x3e976b=((_0x1df604=this[_0xc3e0af(0x23b)][_0xc3e0af(0x18a)](_0x5c1af6[_0xc3e0af(0x27a)]))==null?void 0x0:_0x1df604[_0xc3e0af(0x1ec)])||_0x2f7634,_0x30e02c=(await this[_0xc3e0af(0x221)][_0xc3e0af(0x2f8)](_0x3e976b,{'body':JSON[_0xc3e0af(0x444)]({'taskId':_0x2fa090})}))['body'];if(((_0x4a659f=_0x30e02c['error'])==null?void 0x0:_0x4a659f[_0xc3e0af(0x254)])!==_0x2b80f3['OK'])return;this[_0xc3e0af(0x35f)](_0x30e02c[_0xc3e0af(0x204)],_0x54a05b);}catch(_0x51e88b){this[_0xc3e0af(0x3f0)][_0xc3e0af(0x3c2)](_0x51e88b);}}async[_0x37f8b3(0x214)](_0x686bec){const _0xf7d1eb=_0x37f8b3;var _0x5e6d61,_0x8d0a07;const _0x128e57=Date[_0xf7d1eb(0x2eb)]();try{const _0x3722c7=((_0x5e6d61=this[_0xf7d1eb(0x23b)][_0xf7d1eb(0x18a)](_0x5c1af6[_0xf7d1eb(0x27a)]))==null?void 0x0:_0x5e6d61['getformulaLimitStatusUrl'])||_0xf91d21,_0x111a3a=_0x686bec?_0x3722c7+'?taskId='+encodeURIComponent(_0x686bec):_0x3722c7,_0x53ecf1=(await this[_0xf7d1eb(0x221)][_0xf7d1eb(0x42f)](_0x111a3a))[_0xf7d1eb(0x340)];if(((_0x8d0a07=_0x53ecf1[_0xf7d1eb(0x3c2)])==null?void 0x0:_0x8d0a07[_0xf7d1eb(0x254)])!==_0x2b80f3['OK'])return;this[_0xf7d1eb(0x35f)](_0x53ecf1[_0xf7d1eb(0x204)],_0x128e57);}catch(_0x4910c9){this[_0xf7d1eb(0x3f0)][_0xf7d1eb(0x3c2)](_0x4910c9);}}async[_0x37f8b3(0x1cc)](_0x4e53e9){const _0x1aeabf=_0x37f8b3;var _0x23abde,_0x5dd9a7;const _0x13d8b0=Date['now']();try{const _0x5ecbae=((_0x23abde=this[_0x1aeabf(0x23b)][_0x1aeabf(0x18a)](_0x5c1af6[_0x1aeabf(0x27a)]))==null?void 0x0:_0x23abde[_0x1aeabf(0x31e)])||_0x4c26da,_0x3f3888=(await this[_0x1aeabf(0x221)][_0x1aeabf(0x2f8)](_0x5ecbae,{'body':JSON['stringify']({'taskId':_0x4e53e9})}))[_0x1aeabf(0x340)];if(((_0x5dd9a7=_0x3f3888[_0x1aeabf(0x3c2)])==null?void 0x0:_0x5dd9a7['code'])!==_0x2b80f3['OK'])return;this[_0x1aeabf(0x35f)](_0x3f3888[_0x1aeabf(0x204)],_0x13d8b0);}catch(_0x1fded7){this['_logService'][_0x1aeabf(0x3c2)](_0x1fded7);}}[_0x37f8b3(0x3d6)](){const _0x14aeec=_0x37f8b3;return this[_0x14aeec(0x1cb)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x14aeec(0x18f)]>0x0;}[_0x37f8b3(0x210)](){const _0x2a3999=_0x37f8b3;this[_0x2a3999(0x3f1)]&&(clearTimeout(this[_0x2a3999(0x3f1)]),this[_0x2a3999(0x3f1)]=null);}[_0x37f8b3(0x2e1)](){const _0x2c342d=_0x37f8b3;this['_messageService']['show']({'content':this[_0x2c342d(0x1bd)]['t']('formula.calculation.waiting'),'type':_0x22cb21[_0x2c342d(0x3aa)][_0x2c342d(0x19f)]});}[_0x37f8b3(0x446)](_0xb4cad2){const _0x161bfe=_0x37f8b3;for(const _0x53fb6b of _0xb4cad2){const {unitId:_0xa080c,sheetId:_0x13106d,range:_0x2c67fa}=_0x53fb6b,_0x391989=this['_univerInstanceService'][_0x161bfe(0x42a)](_0xa080c);if(!_0x391989)continue;const _0x556e12=_0x391989[_0x161bfe(0x445)](_0x13106d);if(!_0x556e12)continue;const _0x2fee1a=_0x556e12[_0x161bfe(0x2c0)]();for(let _0x31a4e0=_0x2c67fa[_0x161bfe(0x39f)];_0x31a4e0<=_0x2c67fa[_0x161bfe(0x1a7)];_0x31a4e0++)for(let _0x5a7de7=_0x2c67fa[_0x161bfe(0x270)];_0x5a7de7<=_0x2c67fa['endColumn'];_0x5a7de7++){const _0x12d4e6=_0x2fee1a['getValue'](_0x31a4e0,_0x5a7de7);if(_0x12d4e6&&(_0x4bf0bf['isFormulaString'](_0x12d4e6['f'])||_0x4bf0bf[_0x161bfe(0x259)](_0x12d4e6['si'])))return!0x0;}}return!0x1;}};_0x35ec8b=_0xc4f68([_0x42541b(0x0,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x19759c[_0x37f8b3(0x3e6)])),_0x42541b(0x1,_0x4bf0bf['ICommandService']),_0x42541b(0x2,_0x4bf0bf[_0x37f8b3(0x43c)]),_0x42541b(0x3,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x133421[_0x37f8b3(0x2e9)])),_0x42541b(0x4,_0x4bf0bf[_0x37f8b3(0x2b7)]),_0x42541b(0x5,_0x4bf0bf['ILogService']),_0x42541b(0x6,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x351)]))],_0x35ec8b);var _0x203ddc=Object['getOwnPropertyDescriptor'],_0x47f8d4=(_0x1b93b8,_0x249db1,_0x2c8a48,_0x1cdc18)=>{const _0x4508ac=_0x37f8b3;for(var _0x3edc77=_0x1cdc18>0x1?void 0x0:_0x1cdc18?_0x203ddc(_0x249db1,_0x2c8a48):_0x249db1,_0x5af81e=_0x1b93b8[_0x4508ac(0x185)]-0x1,_0x93b186;_0x5af81e>=0x0;_0x5af81e--)(_0x93b186=_0x1b93b8[_0x5af81e])&&(_0x3edc77=_0x93b186(_0x3edc77)||_0x3edc77);return _0x3edc77;},_0x5d968c=(_0x1fd79f,_0x155288)=>(_0xd3e245,_0x1e0fd5)=>_0x155288(_0xd3e245,_0x1e0fd5,_0x1fd79f);let _0x4aee84=class extends _0x4bf0bf['Disposable']{constructor(_0x701398,_0x408930,_0x59e9ab){const _0x4fe6bd=_0x37f8b3;super(),_0xd7033e(this,_0x4fe6bd(0x363),new Map()),_0xd7033e(this,'_saveTaskMap',new Map()),_0xd7033e(this,_0x4fe6bd(0x1d9),!0x1),(this[_0x4fe6bd(0x23b)]=_0x701398,this[_0x4fe6bd(0x3a1)]=_0x408930,this['_revisionService']=_0x59e9ab);}[_0x37f8b3(0x38e)](){const _0xb34adb=_0x37f8b3;this[_0xb34adb(0x1d9)]=!0x0;}[_0x37f8b3(0x1b2)](){const _0x17832c=_0x37f8b3;this[_0x17832c(0x1d9)]=!0x1;}get[_0x37f8b3(0x25c)](){const _0x228311=_0x37f8b3;return this[_0x228311(0x3bf)];}[_0x37f8b3(0x248)](){const _0x43b2d4=_0x37f8b3;this[_0x43b2d4(0x1e1)]()[_0x43b2d4(0x285)](()=>super[_0x43b2d4(0x248)]());}async['loadOfflineData'](_0x4fb4e3){const _0x54ede8=_0x37f8b3;return this[_0x54ede8(0x1d9)]?null:this[_0x54ede8(0x3a1)][_0x54ede8(0x235)](_0x5c1af6[_0x54ede8(0x29b)](_0x4fb4e3));}async['saveOfflineData'](_0x2e445c,_0x87919f){const _0x4fdddb=_0x37f8b3;return!!this[_0x4fdddb(0x3a1)][_0x4fdddb(0x176)](_0x2e445c,_0x87919f);}[_0x37f8b3(0x2b4)](_0x93a3c4,_0x1ea975,_0x29200d,_0x202260){const _0x506a6b=_0x37f8b3,_0x520949=this[_0x506a6b(0x39a)][_0x506a6b(0x2bb)](_0x93a3c4);this[_0x506a6b(0x363)]['set'](_0x93a3c4,{'unitID':_0x93a3c4,'type':_0x1ea975,'awaitingChangeset':_0x29200d,'mutations':_0x202260,'rev':_0x520949}),this[_0x506a6b(0x3bf)][_0x506a6b(0x33b)](_0x93a3c4)||this[_0x506a6b(0x238)](_0x93a3c4);}[_0x37f8b3(0x238)](_0x4017d9){const _0x568c70=_0x37f8b3,_0x416f3f=this['_getSaveTimeout']();_0x416f3f===0x0?this['_saveCache'](_0x4017d9):this[_0x568c70(0x3bf)][_0x568c70(0x3a5)](_0x4017d9,setTimeout(()=>this[_0x568c70(0x403)](_0x4017d9),_0x416f3f));}['_getSaveTimeout'](){const _0x131c93=_0x37f8b3;var _0x452dcb;return(_0x452dcb=this['_configService'][_0x131c93(0x18a)](_0x5c1af6['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x452dcb:_0x5c1af6['LOCAL_CACHE_INTERVAL'];}[_0x37f8b3(0x403)](_0x4d7ec1){const _0x3e8b0a=_0x37f8b3,_0x1ae7b4=this['_saveTaskMap']['get'](_0x4d7ec1);return _0x1ae7b4!==void 0x0&&window[_0x3e8b0a(0x34f)](_0x1ae7b4),this[_0x3e8b0a(0x3a1)][_0x3e8b0a(0x176)](_0x5c1af6[_0x3e8b0a(0x29b)](_0x4d7ec1),this[_0x3e8b0a(0x363)][_0x3e8b0a(0x42f)](_0x4d7ec1))[_0x3e8b0a(0x285)](()=>this[_0x3e8b0a(0x3bf)][_0x3e8b0a(0x26c)](_0x4d7ec1));}async[_0x37f8b3(0x1e1)](){const _0x434d20=_0x37f8b3,_0x352518=[];this[_0x434d20(0x3bf)][_0x434d20(0x3a0)]((_0x284e3a,_0x3d0ff4)=>{const _0x1f2123=_0x434d20;window['clearTimeout'](_0x284e3a),_0x352518[_0x1f2123(0x20c)](this[_0x1f2123(0x403)](_0x3d0ff4)['then'](()=>{const _0x1bdeec=_0x1f2123;this[_0x1bdeec(0x3bf)]['delete'](_0x3d0ff4);}));}),await Promise['all'](_0x352518);}};_0x4aee84=_0x47f8d4([_0x5d968c(0x0,_0x4bf0bf['IConfigService']),_0x5d968c(0x1,_0x4bf0bf[_0x37f8b3(0x25e)]),_0x5d968c(0x2,_0x4bf0bf['Inject'](_0x346166[_0x37f8b3(0x256)]))],_0x4aee84);class _0x1b2a83 extends _0x4bf0bf[_0x37f8b3(0x1c0)]{constructor(){const _0x41ec99=_0x37f8b3;super(),_0xd7033e(this,_0x41ec99(0x1c8)),this[_0x41ec99(0x1c8)]=_0x28bd90['fromEvent'](window,_0x41ec99(0x197))[_0x41ec99(0x1d7)](_0x28bd90[_0x41ec99(0x1dc)](this[_0x41ec99(0x30f)]),_0x28bd90[_0x41ec99(0x3e7)](0x1),_0x28bd90[_0x41ec99(0x2fc)](void 0x0));}['setParam'](_0x2ac4c2,_0x507a6d,_0x30e80d=!0x1){const _0x1a8247=_0x37f8b3,_0x8d3103=new URL(window[_0x1a8247(0x2ac)][_0x1a8247(0x171)]);_0x8d3103[_0x1a8247(0x375)][_0x1a8247(0x3a5)](_0x2ac4c2,_0x507a6d),_0x30e80d?window['history']['replaceState']('','',_0x8d3103['toString']()):window[_0x1a8247(0x265)][_0x1a8247(0x2ee)]('','',_0x8d3103[_0x1a8247(0x31d)]());}[_0x37f8b3(0x2f6)](_0x5c7dc4,_0x59da74=!0x1){const _0x76022c=_0x37f8b3,_0x1270df=new URL(window[_0x76022c(0x2ac)][_0x76022c(0x171)]);_0x1270df['searchParams'][_0x76022c(0x26c)](_0x5c7dc4),_0x59da74?window[_0x76022c(0x265)][_0x76022c(0x347)]('','',_0x1270df['toString']()):window['history'][_0x76022c(0x2ee)]('','',_0x1270df['toString']());}[_0x37f8b3(0x1eb)](_0x5bef54){const _0x5ebeb8=_0x37f8b3;var _0x134887;return(_0x134887=new URL(window[_0x5ebeb8(0x2ac)][_0x5ebeb8(0x171)])['searchParams'][_0x5ebeb8(0x42f)](_0x5bef54))!=null?_0x134887:void 0x0;}}var _0x2c9336=Object[_0x37f8b3(0x41c)],_0x18eeee=Object[_0x37f8b3(0x272)],_0x1ec278=(_0x38cdf5,_0x1089f2,_0x167c16)=>_0x1089f2 in _0x38cdf5?_0x2c9336(_0x38cdf5,_0x1089f2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x167c16}):_0x38cdf5[_0x1089f2]=_0x167c16,_0x2c2766=(_0x4bfc74,_0x2e8f2b,_0x67095f,_0xbf34c0)=>{const _0x1cf452=_0x37f8b3;for(var _0x5d6e04=_0xbf34c0>0x1?void 0x0:_0xbf34c0?_0x18eeee(_0x2e8f2b,_0x67095f):_0x2e8f2b,_0x4565bc=_0x4bfc74[_0x1cf452(0x185)]-0x1,_0x573426;_0x4565bc>=0x0;_0x4565bc--)(_0x573426=_0x4bfc74[_0x4565bc])&&(_0x5d6e04=_0x573426(_0x5d6e04)||_0x5d6e04);return _0x5d6e04;},_0x208765=(_0x25e42a,_0x4ebcba)=>(_0xe56246,_0x3a4bcf)=>_0x4ebcba(_0xe56246,_0x3a4bcf,_0x25e42a),_0xd26d74=(_0xc10d98,_0x51f8fa,_0x5b1616)=>_0x1ec278(_0xc10d98,_0x51f8fa+'',_0x5b1616);const _0x22bd70='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4f0727[_0x37f8b3(0x18b)]=class extends _0x4bf0bf[_0x37f8b3(0x1e6)]{constructor(_0x15127d=_0x73c99c,_0x1f32f9,_0x265b32,_0x1d074c){const _0x2874d5=_0x37f8b3;super(),this['_config']=_0x15127d,this[_0x2874d5(0x269)]=_0x1f32f9,this[_0x2874d5(0x1af)]=_0x265b32,this[_0x2874d5(0x23b)]=_0x1d074c;const {..._0x2b57a4}=_0x4bf0bf[_0x2874d5(0x315)]({},_0x73c99c,this[_0x2874d5(0x1f1)]);this[_0x2874d5(0x23b)][_0x2874d5(0x31b)](_0x3f984c,_0x2b57a4);}['onStarting'](){const _0x514bd9=_0x37f8b3;this[_0x514bd9(0x1a2)](),this[_0x514bd9(0x44e)]();}['onRendered'](){const _0xbe489d=_0x37f8b3;this[_0xbe489d(0x33a)]();}['_registerDependencies'](){const _0x2cfa12=_0x37f8b3;var _0x5687b7;const _0x4da338=[[_0x21c84d],[_0x35ec8b],[_0x2f17a2],[_0x1f3baa],[_0x31cb58],[_0x39b00c],[_0x30f389,{'useClass':_0x1b2a83}],[_0x133421[_0x2cfa12(0x1ca)],{'useClass':_0x133421[_0x2cfa12(0x27c)]}],[_0x5c1af6[_0x2cfa12(0x1a8)],{'useClass':_0x4aee84}],[_0x4f0727[_0x2cfa12(0x30b)]],[_0x395fbb],[_0x166680],[_0x576e16],[_0x3fb39a],[_0x4f0727[_0x2cfa12(0x286)]]];_0x4bf0bf['registerDependencies'](this[_0x2cfa12(0x1af)],_0x4bf0bf[_0x2cfa12(0x43a)](_0x4da338,(_0x5687b7=this[_0x2cfa12(0x1f1)])==null?void 0x0:_0x5687b7[_0x2cfa12(0x23c)]));}[_0x37f8b3(0x33a)](){const _0x42c840=_0x37f8b3;this[_0x42c840(0x215)](this['_renderManagerService']['registerRenderModule'](_0x4bf0bf[_0x42c840(0x310)][_0x42c840(0x196)],[_0x1a0a7a])),this[_0x42c840(0x215)](this['_renderManagerService']['registerRenderModule'](_0x4bf0bf[_0x42c840(0x310)][_0x42c840(0x3cb)],[_0x24c84f]));}['_initDependencies'](){const _0x485e95=_0x37f8b3;_0x4bf0bf[_0x485e95(0x418)](this['_injector'],[[_0x576e16],[_0x4f0727[_0x485e95(0x30b)]],[_0x395fbb],[_0x166680],[_0x4f0727[_0x485e95(0x286)]],[_0x35ec8b]]);}},_0xd26d74(_0x4f0727[_0x37f8b3(0x18b)],_0x37f8b3(0x1a3),_0x22bd70),_0x4f0727['UniverCollaborationClientUIPlugin']=_0x2c2766([_0x4bf0bf[_0x37f8b3(0x3ab)](_0x5c1af6[_0x37f8b3(0x345)]),_0x208765(0x1,_0x1a5c20['IRenderManagerService']),_0x208765(0x2,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x208765(0x3,_0x4bf0bf['IConfigService'])],_0x4f0727[_0x37f8b3(0x18b)]);var _0xb7158a=Object[_0x37f8b3(0x272)],_0x5acbb0=(_0x485d30,_0x2b8f53,_0x3662d2,_0x2b4044)=>{const _0x2e6226=_0x37f8b3;for(var _0x165953=_0x2b4044>0x1?void 0x0:_0x2b4044?_0xb7158a(_0x2b8f53,_0x3662d2):_0x2b8f53,_0x72bf66=_0x485d30[_0x2e6226(0x185)]-0x1,_0x2bce8f;_0x72bf66>=0x0;_0x72bf66--)(_0x2bce8f=_0x485d30[_0x72bf66])&&(_0x165953=_0x2bce8f(_0x165953)||_0x165953);return _0x165953;},_0x586978=(_0x171c64,_0x4ecf76)=>(_0x59d52a,_0x263172)=>_0x4ecf76(_0x59d52a,_0x263172,_0x171c64);_0x4f0727['BrowserCollaborationSocketService']=class extends _0x5c1af6['CollaborationSocketService']{constructor(_0x446bc9,_0x1298f8,_0xce8a41,_0x4c3a27,_0x188136){super(_0x446bc9,_0x1298f8,_0xce8a41,_0x4c3a27,_0x188136);}async['createSocket'](_0x1ca903){const _0x275d0b=_0x37f8b3,_0x12b78f=await this[_0x275d0b(0x32a)](),_0x56f64c=this['_createSocketURL'](_0x1ca903,_0x12b78f);return this[_0x275d0b(0x343)](_0x56f64c);}[_0x37f8b3(0x1d4)](_0xaf9320,_0x1627e1){const _0x5e8991=_0x37f8b3,_0x3fa9d0=typeof window>'u'?new URL(_0xaf9320):new URL(_0xaf9320,window['location'][_0x5e8991(0x2b3)]);_0x3fa9d0['searchParams']['set'](_0x5e8991(0x2a7),_0x1627e1);const _0x51c268=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5e8991(0x2ac)][_0x5e8991(0x2a4)]);return _0x51c268[_0x5e8991(0x42f)](_0x5e8991(0x3e1))&&_0x3fa9d0[_0x5e8991(0x375)]['set']('runId',_0x51c268['get'](_0x5e8991(0x3e1))),_0x3fa9d0['toString']();}async['_getSessionTicket'](){const _0x448b7e=_0x37f8b3;var _0x30adaf,_0x46d2f9,_0x109ef3;const _0x48f887=this[_0x448b7e(0x23b)][_0x448b7e(0x18a)](_0x5c1af6[_0x448b7e(0x27a)]),_0x368a09=(_0x30adaf=_0x48f887==null?void 0x0:_0x48f887[_0x448b7e(0x25b)])!=null?_0x30adaf:_0x5c1af6[_0x448b7e(0x2ed)];return(_0x109ef3=(_0x46d2f9=(await this[_0x448b7e(0x221)][_0x448b7e(0x42f)](_0x368a09,{'headers':{'Content-Type':_0x448b7e(0x27f)}}))['body'])==null?void 0x0:_0x46d2f9[_0x448b7e(0x316)])!=null?_0x109ef3:'';}},_0x4f0727[_0x37f8b3(0x22c)]=_0x5acbb0([_0x586978(0x0,_0x4bf0bf[_0x37f8b3(0x2b1)](_0x4bf0bf[_0x37f8b3(0x3b7)])),_0x586978(0x1,_0x4bf0bf['Inject'](_0x133421[_0x37f8b3(0x2e9)])),_0x586978(0x2,_0x4bf0bf[_0x37f8b3(0x43c)]),_0x586978(0x3,_0x4bf0bf[_0x37f8b3(0x44b)]),_0x586978(0x4,_0x346166['ISnapshotServerService'])],_0x4f0727[_0x37f8b3(0x22c)]);var _0x3ea93b=Object[_0x37f8b3(0x272)],_0x13ef68=(_0x1d8ca1,_0x38de2b,_0x4f5fde,_0x49d503)=>{const _0x31a15d=_0x37f8b3;for(var _0x28aa70=_0x49d503>0x1?void 0x0:_0x49d503?_0x3ea93b(_0x38de2b,_0x4f5fde):_0x38de2b,_0x5f947b=_0x1d8ca1[_0x31a15d(0x185)]-0x1,_0x187b30;_0x5f947b>=0x0;_0x5f947b--)(_0x187b30=_0x1d8ca1[_0x5f947b])&&(_0x28aa70=_0x187b30(_0x28aa70)||_0x28aa70);return _0x28aa70;},_0x2d3f6d=(_0x1996ae,_0x3aa568)=>(_0x57643f,_0x2347ad)=>_0x3aa568(_0x57643f,_0x2347ad,_0x1996ae);_0x4f0727[_0x37f8b3(0x2aa)]=class extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(_0x410386,_0x559890,_0x465be6){const _0xf2d095=_0x37f8b3;super(),this[_0xf2d095(0x425)]=_0x410386,this[_0xf2d095(0x221)]=_0x559890,this[_0xf2d095(0x23b)]=_0x465be6;}async[_0x37f8b3(0x40e)](_0x876036,_0xea2c5b,_0x243b82,..._0x31061d){const _0x3c7b1b=_0x37f8b3;var _0x4439a6,_0x53f814,_0x1dc609,_0x1576e6;const _0x59b0bf=this['_instanceService'][_0x3c7b1b(0x2bc)]();if(!_0x59b0bf)throw new Error(_0x3c7b1b(0x2d3));const _0x57daf4=((_0x4439a6=this[_0x3c7b1b(0x23b)][_0x3c7b1b(0x18a)](_0x5c1af6[_0x3c7b1b(0x3cc)]))!=null?_0x4439a6:_0x5c1af6[_0x3c7b1b(0x1ce)])+'/'+_0x876036+'/run/'+_0xea2c5b,_0x96de62=new URL(window[_0x3c7b1b(0x2ac)][_0x3c7b1b(0x171)]),_0x1a11c9={'scriptId':_0x876036,'runId':(_0x53f814=_0x96de62[_0x3c7b1b(0x375)][_0x3c7b1b(0x42f)](_0x3c7b1b(0x3e1)))!=null?_0x53f814:'','function':_0xea2c5b,'unitId':_0x59b0bf[_0x3c7b1b(0x3dd)](),'argsOfFunction':JSON[_0x3c7b1b(0x444)](_0x31061d),'invokeId':(_0x1dc609=_0x243b82[_0x3c7b1b(0x1ee)])!=null?_0x1dc609:'','executionId':(_0x1576e6=_0x243b82[_0x3c7b1b(0x213)])!=null?_0x1576e6:''};try{const _0xcca30=await this[_0x3c7b1b(0x221)][_0x3c7b1b(0x2f8)](_0x57daf4,{'body':_0x1a11c9});return _0xcca30[_0x3c7b1b(0x340)][_0x3c7b1b(0x3c2)]&&_0xcca30['body']['error'][_0x3c7b1b(0x254)]!==_0x2b80f3['OK']?_0x3c7b1b(0x1b3):_0xcca30[_0x3c7b1b(0x340)][_0x3c7b1b(0x1c3)];}catch{return _0x3c7b1b(0x1b3);}}},_0x4f0727['RemoteUniscriptService']=_0x13ef68([_0x2d3f6d(0x0,_0x4bf0bf[_0x37f8b3(0x2b7)]),_0x2d3f6d(0x1,_0x4bf0bf['Inject'](_0x133421[_0x37f8b3(0x2e9)])),_0x2d3f6d(0x2,_0x4bf0bf[_0x37f8b3(0x43c)])],_0x4f0727['RemoteUniscriptService']);const _0x4410b9=0x7530,_0xea01d1=_0x37f8b3(0x1aa);class _0x139aab extends _0x4bf0bf[_0x37f8b3(0x284)]{constructor(){const _0x3742c9=_0x37f8b3;super(),_0xd7033e(this,_0x3742c9(0x302),_0x4bf0bf[_0x3742c9(0x3b3)]()),_0xd7033e(this,_0x3742c9(0x2dd),new Set()),_0xd7033e(this,'_unitOnClients',new Map()),_0xd7033e(this,'_heartbeatTimer',null),_0xd7033e(this,_0x3742c9(0x413),new Map()),_0xd7033e(this,'_unitStatus',new Map()),this[_0x3742c9(0x3fd)]();}['dispose'](){const _0x18a121=_0x37f8b3;super[_0x18a121(0x248)](),this[_0x18a121(0x413)][_0x18a121(0x3a0)]((_0x108558,_0x56c350)=>this[_0x18a121(0x400)](_0x56c350)),this[_0x18a121(0x333)]&&window[_0x18a121(0x360)](this[_0x18a121(0x333)]);}['getUnitStatus$'](_0x3cb923){const _0x4206bd=_0x37f8b3;return this[_0x4206bd(0x1b6)](_0x3cb923)['pipe'](_0x28bd90['distinctUntilChanged']());}[_0x37f8b3(0x222)](_0x1957d6){const _0x554691=_0x37f8b3;this[_0x554691(0x2dd)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x554691(0x2dd)][_0x554691(0x24c)](_0x1957d6),this[_0x554691(0x211)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1957d6],'isForwarded':!0x1});}[_0x37f8b3(0x3eb)](_0x5e46a5){const _0x1111ac=_0x37f8b3;this[_0x1111ac(0x2dd)][_0x1111ac(0x26c)](_0x5e46a5),this[_0x1111ac(0x2dd)][_0x1111ac(0x2ec)]===0x0&&this[_0x1111ac(0x333)]&&window['clearInterval'](this[_0x1111ac(0x333)]);}[_0x37f8b3(0x3fd)](){const _0x28f032=_0x37f8b3;this[_0x28f032(0x215)](_0x4bf0bf[_0x28f032(0x192)](_0x28bd90[_0x28f032(0x436)](window,_0x28f032(0x382))[_0x28f032(0x1c1)](_0x3c65ef=>{const _0x3b0691=_0x28f032;if(_0x3c65ef[_0x3b0691(0x384)]!==_0xea01d1||!_0x3c65ef[_0x3b0691(0x28c)])return;const _0x1abd2c=JSON[_0x3b0691(0x1df)](_0x3c65ef[_0x3b0691(0x28c)]);this[_0x3b0691(0x18e)](_0x1abd2c);}))),window[_0x28f032(0x2f4)](_0x28f032(0x232),()=>this[_0x28f032(0x211)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x28f032(0x367)](this[_0x28f032(0x2dd)])}));}[_0x37f8b3(0x18e)](_0x3e6192){const _0x1caa38=_0x37f8b3;switch(_0x3e6192['type']){case 0x0:this[_0x1caa38(0x42d)](_0x3e6192);break;case 0x1:this['_handleLeaveEvent'](_0x3e6192);break;case 0x2:this[_0x1caa38(0x1fe)](_0x3e6192);break;}}[_0x37f8b3(0x42d)](_0x48c4be){const _0x298d2f=_0x37f8b3,{unitIDs:_0x29b789,memberID:_0x1d55c4,isForwarded:_0x5c608a}=_0x48c4be;_0x29b789[_0x298d2f(0x3a0)](_0x2bc2b6=>{const _0x4db74a=_0x298d2f;if(!_0x5c608a&&this[_0x4db74a(0x1e5)][_0x4db74a(0x33b)](_0x2bc2b6)&&this[_0x4db74a(0x1b6)](_0x2bc2b6)[_0x4db74a(0x322)](_0x5c1af6[_0x4db74a(0x2ce)][_0x4db74a(0x34e)]),!this['_unitOnClients'][_0x4db74a(0x33b)](_0x2bc2b6)||!this['_unitOnClients'][_0x4db74a(0x42f)](_0x2bc2b6)[_0x4db74a(0x33b)](_0x1d55c4)){const _0xa56abf=this[_0x4db74a(0x1e5)][_0x4db74a(0x42f)](_0x2bc2b6)||new Set();_0xa56abf[_0x4db74a(0x24c)](_0x1d55c4),this[_0x4db74a(0x1e5)][_0x4db74a(0x3a5)](_0x2bc2b6,_0xa56abf),this[_0x4db74a(0x383)](_0x1d55c4);}}),_0x5c608a||this[_0x298d2f(0x211)]({'type':0x0,'memberID':this[_0x298d2f(0x302)],'unitIDs':[...this[_0x298d2f(0x2dd)]],'isForwarded':!0x0});}[_0x37f8b3(0x383)](_0x341584){const _0x22f0ae=_0x37f8b3;this[_0x22f0ae(0x400)](_0x341584);const _0x51adb7=window[_0x22f0ae(0x426)](()=>{const _0xc8a001=_0x22f0ae;this['_unitOnClients'][_0xc8a001(0x3a0)](_0x5bd1e4=>{const _0x5e57b2=_0xc8a001;_0x5bd1e4[_0x5e57b2(0x26c)](_0x341584);});},_0x4410b9*0x2);this[_0x22f0ae(0x413)][_0x22f0ae(0x3a5)](_0x341584,_0x51adb7);}[_0x37f8b3(0x400)](_0x73150){const _0x2ce174=_0x37f8b3;if(this[_0x2ce174(0x413)][_0x2ce174(0x33b)](_0x73150)){const _0x4bb08f=this['_clearOtherTimers'][_0x2ce174(0x42f)](_0x73150);_0x4bb08f&&window[_0x2ce174(0x34f)](_0x4bb08f),this[_0x2ce174(0x413)]['set'](_0x73150,null);}}[_0x37f8b3(0x366)](_0x2e4782){const _0x20f3e0=_0x37f8b3,{memberID:_0x252ddd,unitIDs:_0x144d7a}=_0x2e4782;_0x144d7a[_0x20f3e0(0x3a0)](_0x501e93=>{const _0x1ff4ab=_0x20f3e0;var _0x54ecc4;const _0x56cefd=this['_unitOnClients'][_0x1ff4ab(0x42f)](_0x501e93);_0x56cefd&&(_0x56cefd[_0x1ff4ab(0x26c)](_0x252ddd),(_0x54ecc4=this[_0x1ff4ab(0x1b6)](_0x501e93))==null||_0x54ecc4[_0x1ff4ab(0x322)](_0x56cefd[_0x1ff4ab(0x2ec)]===0x0?_0x5c1af6['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x5c1af6[_0x1ff4ab(0x2ce)][_0x1ff4ab(0x34e)]));}),this['_removeClearOtherTimer'](_0x252ddd);}[_0x37f8b3(0x1fe)](_0x391b36){const _0x59d05c=_0x37f8b3;this[_0x59d05c(0x383)](_0x391b36['memberID']);}[_0x37f8b3(0x211)](_0x2e103d){const _0xcf75d1=_0x37f8b3;localStorage[_0xcf75d1(0x176)](_0xea01d1,JSON[_0xcf75d1(0x444)](_0x2e103d));}['_scheduleHeartbeat'](){const _0x550286=_0x37f8b3;this[_0x550286(0x333)]=window['setInterval'](()=>{const _0x137114=_0x550286;this[_0x137114(0x211)]({'type':0x2,'memberID':this[_0x137114(0x302)]});},_0x4410b9);}[_0x37f8b3(0x1b6)](_0x2f7c91){const _0x2da16b=_0x37f8b3;return this[_0x2da16b(0x1ae)][_0x2da16b(0x33b)](_0x2f7c91)||this['_unitStatus'][_0x2da16b(0x3a5)](_0x2f7c91,new _0x28bd90[(_0x2da16b(0x246))](_0x5c1af6[_0x2da16b(0x2ce)][_0x2da16b(0x2b5)])),this[_0x2da16b(0x1ae)][_0x2da16b(0x42f)](_0x2f7c91);}}_0x4f0727[_0x37f8b3(0x262)]=_0x30f389,_0x4f0727[_0x37f8b3(0x29e)]=_0x327b63,_0x4f0727[_0x37f8b3(0x21b)]=_0x139aab,_0x4f0727[_0x37f8b3(0x3c3)]=_0x1b2a83,Object[_0x37f8b3(0x41c)](_0x4f0727,Symbol[_0x37f8b3(0x33d)],{'value':_0x37f8b3(0x2a6)});}));function _0x2e8b(){const _0x42e953=['addEventListener','Unknown\x20user','removeParam','includes','post','USER_NOT_FOUND','PAYMENT_CHANNEL_NOT_SUPPORT','getTypeOfUnitDisposed$','mapTo','_lastResponseTimestamp','clipPath','addObjects','_scene','_commandService','_id','LOGIN_FAILED','runRefRangeMutations','DocCollaborationEntity','_drawRectRange','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','unshift','_collabSessionService','flatMap','DesktopCollaborationStatusDisplayController','_setupSubUnitSync','Rectangle','@univerjs/core','dispose$','UniverInstanceType','transformRemoteChangeset','defs','UNAUTHENTICATED','setActiveRange','merge','ticket','transformStateCache','mutations','height','FromArray','setConfig','_hideTimer','toString','releaseFormulaLimitUrl','url(#off-line-icon_clip0_910_343)','UniverProCollaboration','CLOSE_ROOM','next','_removeCollabCursors','dirtyRanges','white','PY_RUNTIME_SCRIPT_ERROR','getViewport','save','bottom','_getSessionTicket','resize','collabStatus.fetchMiss','function','SessionStatus','DOC_RANGE_TYPE','1pepGLb','jsx','getCoordByCell','_heartbeatTimer','getCollabEntity$','apply','_notificationService','_updateCollabCursors','_toggleOnline','rgba(255,\x20255,\x20255,\x200.01)','_registerRenderDependencies','has','RECT','toStringTag','INVITE_CODE_ALREADY_BOUND','fillText','body','SNAPSHOT_HAS_BEEN_REMOVED','on-line-icon_clip0_910_349','_doCreateSocket','_draw','UniverCollaborationClientPlugin','round','replaceState','BuiltInUIPart','serializeRangeWithSheet','CollaborationUIEventService','ALREADY_EXISTS','START_CALCULATION','react/jsx-runtime','OTHER_CLIENTS_EDITING','clearTimeout','stageInfo','LocaleService','onPointerMove$','OTHER_CLIENT_EDITING','onLocalMutation','YUUMI_RATE_OVER_LIMIT','YUUMI_NO_CUBOID_FOR_QUESTION','@univerjs/engine-formula','show','parseInt','debounceTime','toRgbString','LICENSE_MAX_UNITS_EXCEEDED','createIdentifier','USER_IS_ANONYMOUS','_setFormulaLimitStatus','clearInterval','DataLoaderService','_initCommandInterceptor','_cachedData','currentColor','_entityInit$','_handleLeaveEvent','from','ENSURE_SNAPSHOT_EXECUTION','_lastPointer','ThemeService','Shape','getValue','UniverCore','extend','restore','getMemberID','collabStatus.offline','300672hWevOd','UniverIcon','/universer-api/license/formula/limit/start','searchParams','hasOwnProperty','_shapes','_collaborationUIEventService','SNAPSHOT_INVALID_SNAPSHOT','m2Prime','font','amd','getUniverSheetInstance','current','max','AUTHORIZE_CODE_ILLEGAL','transformMutation','storage','_scheduleClearOtherTimer','key','_render','_docStateChangeManagerService','@univerjs/design','_backgroundColor','4804590fNJODC','imageSourceType','setUndoRedoMutationParamsCache','roomMembers','INTERNAL_ERROR','disableLocalCache','complete','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_beforeCloseService','getCurrentUnitForType','_refreshCollabCursors','USERS_LEAVE','getColorFromTheme','tag','react','DocStateChangeManagerService','triggerDblclick','_revisionService','IUIPartsService','addClipboardHook','lineTo','_imageIoService','startRow','forEach','_localStorageService','session.will-retry','url(#$1','split','set','fillStyle','sessionStatus$','top','VIEW_MAIN','MessageType','DependentOn','executeCommand','evenodd','UPDATE_CURSOR','replace','black','TOO_MANY_REQUESTS','translate(.97)','generateRandomId','TEXT','2011098qbFzvm','@univerjs/rpc','Injector','xlink:href','_cursorInfo$','setShapeProps','undoState','column','SheetSkeletonManagerService','entityInit$','_saveTaskMap','deepClone','_onRefRangeChange','error','WebURLService','REDEMPTION_CODE_INACTIVE','_getSheetObject','ENTITLE_CHAT_LIMIT_EXCEED','unsubscribe','SetDocZoomRatioOperation','_online','_labelPosition','UNIVER_SHEET','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','assignAColorForMemberID','_sheetSkeletonManagerService','WECHAT_HAS_BEEN_BOUND','transform','beforeCommandExecuted','RemoveRowCommandId','Warning','className','activeSheet$','_checkCalculationAvailable','InsertRowCommandId','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','transformMutationsWithChangeset','data','cursorInfo$','setAlpha','getUnitId','http://www.w3.org/2000/svg','3611730DsGwqy','path','runId','stage','_docSyncEditingCollabCursorService','ONLINE','_color','IMessageService','shareReplay','_range','getDocRanges','collaboration.closeRoom','disposeUnit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','IDocClipboardService','hovered','findNodePositionByCharIndex','_logService','_pollingInterval','transformSelections','getRelativeToViewportCoord','transformIMECache','ITransformService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','propertyIsEnumerable','_transformService','_colorIndex','green.600','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','JOIN_ROOM_FAILED','_init','collabCursorState$','subscribeEvent','_removeClearOtherTimer','totalFormulasToCalculate','color','_saveCache','icon','ERROR_AGAIN','getColor','_transformHistoryAndStateStack','YUUMI_AI_RUN_FAILED','REDEMPTION_USER_NOT_ELIGIBLE','LICENSE_EXPORT_SIZE_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','off-line-icon','roomMembers$','runOnServer','MUTATION','uni.network.url-service','Optional','loadUnit','_clearOtherTimers','handleInsertRangeMoveRight','_drawTextRange','sheetId','find','touchDependencies','_syncEditingCollabCursorService','_collabCursorController','useDependency','defineProperty','collabStatus.syncing','div','clsx','collab-text-range-','permission.title','registerComponent','UniverUi','UniverNetwork','_instanceService','setTimeout','M0\x200H16V16H0z','_name','functionsExecutedState','getUnit','deserializeRangeWithSheet','filter','_handleJoinEvent','_context','get','_dataLoaderService','AWAITING','useCallback','YUUMI_UNABLE_LOAD_URL','_docSkeletonManagerService','@univerjs/docs-ui','fromEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_ASYNCIO_CANCELLED','Rect','mergeOverrideWithDependencies','collab-text-anchor-','IConfigService','REDEMPTION_CODE_FULLY_REDEEMED','AWAITING_WITH_PENDING','attrs','endColumn','debug','_assignedColors','on-line-icon','stringify','getSheetBySheetId','_hasFormulaInDirtyRanges','_anchor','params','_session','_refRangeService','ILogService','getUnhiddenWorksheets','registerRefRange','_initDependencies','_updateURLWithCurrentState','getActiveSheet','children','NodePositionConvertToRectRange','UNRECOGNIZED','some','...','href','red.300','fromEventSubject','symbol','INotificationService','setItem','collabStatus.notCollab','getMember','Success','TEXT_RANGE_LAYER_INDEX','prototype','displayName','moveTo','@univerjs/sheets','doc.mutation.rich-text-editing','_eventUnsubscribe','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','MoveRangeCommandId','EMAIL_VERIFY_CODE_MISMATCH','arc','length','InsertRangeMoveRightCommandId','init','closePath','Subject','getConfig','UniverCollaborationClientUIPlugin','createInstance','_startCalculationLimit','_handleEvent','_currentUsage','univer-flex\x20univer-items-center','_drawAnchor','toDisposable','_initStatusListener','@univerjs/sheets-ui','USER_NOT_INVITED_CODE','UNIVER_DOC','popstate','_urlService','_setupBeforeClosingHandler','INVALID_INVITE_CODE','_univerInstanceService','_cursorShapes','getTypeOfUnitAdded$','skeleton','Loading','createElement','MOBILE_HAS_BEEN_BOUND','_registerDependencies','pluginName','_docClipboardService','_cursor','object','endRow','ILocalCacheService','addObject','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs-pro/collaboration','_taskIds','concat','_unitStatus','_injector','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','indexOf','enableLocalCache','Failed','ENTITLE_CAN_NOT_BUY_LOWER_OTP','name','_ensureSubject','forwardRef','_initResize','@univerjs/docs','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CHANGESET_REVISION_CONFILICT','SetFormulaCalculationNotificationMutation','_localeService','none','FormulaExecutedStateType','RxDisposable','subscribe','SHEET_VIEWPORT_KEY','result','actions','ICommandService','handleInsertRangeMoveDown','type','urlChange$','COMPLETION_FINISHED','ISocketService','_maxFormulaLimit','_releaseCalculationLimit','collab-client.tooltip.reconnect','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','isTransformMutationsWithChangesetSuccess','assign','beginPath','send','getSheetId','_createSocketURL','text','ranges','pipe','CollaborationUIEventId','_disabled','textRanges','UniverSheets','takeUntil','LOGIN_TOKEN_PROCESSING_FAILED','NOT_FOUND','parse','CanceledError','exhaustSavingTask','idSuffix','currentTheme$','currentSkeleton$','_unitOnClients','Plugin','1426758efegfO','handleDeleteRangeMoveLeft','_anchorDot','_onCursorDelete','getParam','startFormulaLimitUrl','string','invokeId','YUUMI_ALL_TABLES_IS_INVALID','ENTITLE_REPORT_LIMIT_EXCEED','_config','url(#on-line-icon_clip0_910_349)','getRangePointData','ENTITLE_DUP_SUBSCRIPTION','_docTransformStateCacheService','_transformPreviousActiveRange','EMAIL_HAS_BEEN_BOUND','useObservable','CURRENT_STATUS_CANNOT_OPERATE','UniverDesign','REDEMPTION_CODE_HAS_BEEN_CREATED','isArray','addHandlerCallback','_handleHeartbeatEvent','_handleHover','UniverEngineFormula','replaceDocRanges','MOBILE_VERIFY_CODE_MISMATCH','fillRule','limitInfo','unitId','selection','_hover','COLORS','[CollaborationDataLoaderController]','React','measureText','push','onMouseMove','currentUsage','blue.400','_clearPolling','_send','@univerjs/network','executionId','_getFormulaLimitStatus','disposeWithMe','getSkeleton','CONNECTOR_DATA_TOO_LARGE','_messageService','svg','drawWith','WebBrowserSingleActiveUnitService','requireSession','@univerjs/ui','CollaborationSessionService','rxjs','_collaborationController','_httpService','editingUnit','YUUMI_URL_COL_OUT_OF_RANGE','SetSelectionsOperation','_startSheetCollabCursor','onPointerEnter$','_hovered','getActiveRange','APPLY_REVISION_CONFILICT','getAncestorScale','UniverDocs','BrowserCollaborationSocketService','_textBubble','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collabCursorState$','80CFJVNO','unitID','unload','engine','PERMISSION_DENIED','getItem','connectInjector','subUnitId','_scheduleSaving','UniverProCollaborationClient','_initEvent','_configService','override','formula.calculation.unable','values','isTransformMutationFailure','handleInsertCol','status$','FETCH_MISS','PENDING','2261727YcZoNu','_applyCommand','BehaviorSubject','NOT_COLLAB','dispose','_colorAssignService','_getMergeRange','useRef','add','_onCursorUpdate','width','_themeService','SetWorksheetActivateCommand','CommandType','CollaborationStatus','combineLatest','code','APPLY_DUPLICATED','RevisionService','_getScale','unit','isFormulaId','setParam','wsSessionTicketUrl','saveTaskMap','UniverEngineRender','ILocalStorageService','entries','univer-mr-2\x20univer-flex\x20univer-text-xl','sheetID','IURLService','Vector2','2214584kXTovh','history','ENTITLE_NEED_BILLING_ADDRESS','onPointerLeave$','Tools','_renderManagerService','CollaborationController','OnLineIcon','delete','APPLY_PERMISSION_DENIED','REDEMPTION_CODE_NOT_STARTED','Error','startColumn','_toggleOffline','getOwnPropertyDescriptor','collaboration.single-unit.warning','defIds','call','asObservable','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_cursors','getMergeData','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','DocSelectionManagerService','WebSocketService','redoState','getCurrent','application/json','shift','docStateChange$','yellow.400','/universer-api/license/formula/limit/status','Disposable','then','CollaborationDataLoaderController','focused$','INVITE_CODE_REQUIRED','getCollabCursors$','debounce','exports','newValue','getUndoRedoMutationParamsCache','SYNCED','selections','getRenderById','ColorKit','formula.calculation.started','_docSkeleton','onCommandExecuted','session.collaboration-timeout','cursorInfo','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','RemoveColCommandId','operators','mask','getLocalCacheKey','EffectRefRangId','REDEMPTION_INVALID_CODE','SheetCollabCursorShape','reconnect','m1Prime','_startDocCollabCursor','1em','registerBeforeClose','search','event$','Module','sessionTicket','OffLineIcon','_checkAndWaitForCalculationPermission','RemoteUniscriptService','isActive','location','_docTransformSelectionsService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','SUBMIT_CHANGESET_TIMEOUT','handleIRemoveCol','Inject','RichTextEditingMutation','origin','updateOfflineData','NO_OTHER_CLIENTS_EDITING','YUUMI_CONNECTOR_URL_NOT_FOUND','IUniverInstanceService','_localCacheService','getStateCache','getOwnPropertySymbols','getCurrentRevOfUnit','getFocusedUnit','makeDirty','handleIRemoveRow','min','getCellMatrix','trim','_initEntityListener','0\x200\x2016\x2016','map','colorChannel1','DocIMEInputManagerService','LICENSE_DISTRO_REJECTED','RegularPolygon','MemberService','UniverDrawing','_docTransformIMECacheService','IImageIoService','_roomMembers$','UnitStatus','labelPosition','_initStatusComponent','Workbook','CollaborationEvent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','row','INVALID_ARGUMENT','hide','IRemoteInstanceService','fill','isEditing','_updateSubUnitFromURLParams','range','_updateLocalCursor','_selfUnitIDs','_entities','_getAnchorBounding','SOCKET_FAILED_RETRY','_showGuardMessage','switchMap','_memberService','OFFLINE','off-line-icon_clip0_910_343','0\x200\x2017\x2016','subunit','APPLY_NON_SEQUENTIAL_REVISION','HTTPService','Tooltip','now','size','DEFAULT_WS_SESSION_TICKET_URL','pushState','_status$','with','handleInsertRow','_transformUndoRedoStack','CONFLICT'];_0x2e8b=function(){return _0x42e953;};return _0x2e8b();}