@univerjs-pro/collaboration-client-ui 0.10.6-experimental.20250903-f52e3bf → 0.10.6-experimental.20250904-44da50e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x31db(_0x39900b,_0x3a5b87){const _0x48d2f5=_0x48d2();return _0x31db=function(_0x31dba7,_0x29589f){_0x31dba7=_0x31dba7-0xeb;let _0x1e2c25=_0x48d2f5[_0x31dba7];return _0x1e2c25;},_0x31db(_0x39900b,_0x3a5b87);}function _0x48d2(){const _0x3a5de7=['INTERNAL_ERROR','delete','_updateLocalCursor','FETCH_MISS','YUUMI_ASYNCIO_CANCELLED','div','m1Prime','onCommandExecuted','@univerjs/design','round','top','_textBubble','saveImage','distinctUntilChanged','UNIVER_SHEET','stringify','_clearOtherTimers','debounce','icon','_lastPointer','InsertColCommandId','APPLY_NON_SEQUENTIAL_REVISION','with','_docSkeleton','wsSessionTicketUrl','LOCAL_CACHE_INTERVAL_KEY','session.collaboration-timeout','on-line-icon_clip0_910_349','endColumn','min','_colorAssignService','getRelativeToViewportCoord','getConfig','LICENSE_DISTRO_REJECTED','_urlService','_collabSessionService','InsertRangeMoveDownCommandId','getTypeOfUnitDisposed$','CollaborationUIEventService','rgba(255,\x20255,\x20255,\x200.01)','getUnitStatus$','IURLService','_getScale','newValue','searchParams','_createSocketURL','extend','WECHAT_HAS_BEEN_BOUND','MOBILE_HAS_BEEN_BOUND','invokeId','Disposable','fillStyle','getCurrent','measureText','_memberService','currentSkeleton$','_toggleOnline','_handleEvent','UniverIcon','_range','_syncEditingCollabCursorService','SOCKET_FAILED','post','OffLineIcon','CommandType','_initEntityListener','current','redoState','font','YUUMI_SUBSCRIPTION_NOT_FOUND','Injector','getCoordByCell','green.600','colorChannel1','_disabled','values','_name','CollaborationSocketService','getSheetId','@univerjs/engine-formula','combineLatest','10POzwVY','enableLocalCache','function','5390464nMWKaE','IImageIoService','apply','transform','onPointerEnter$','replace','imageSourceType','BehaviorSubject','displayName','3620372FWYmpW','_scene','amd','ALREADY_EXISTS','mutations','collaboration.single-unit.warning','createSocket','contains','NodePositionConvertToRectRange','_refRangeService','DocStateChangeManagerService','_getMergeRange','editingUnit','getColor','DataLoaderService','APPLY_DUPLICATED','_labelPosition','_notificationService','_sheetSkeletonManagerService','type','_docTransformStateCacheService','getUndoRedoMutationParamsCache','registerDependencies','unsubscribe','onTransformChange$','startRow','updateOfflineData','_cursor','red.300','1em','_color','save','then','hasOwnProperty','_init','UNAUTHENTICATED','_config','roomMembers$','MemberService','_docSyncEditingCollabCursorService','getSheetBySheetId','_hovered','45KRSvpL','triggerDblclick','executionId','exhaustSavingTask','mask','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','SNAPSHOT_HAS_BEEN_REMOVED','IUniverInstanceService','white','findNodePositionByCharIndex','setActiveRange','ITransformService','session.will-retry','CollaborationSessionService','VIEW_MAIN','className','on-line-icon','ICommandService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','_localCacheService','AWAITING_WITH_PENDING','MOBILE_VERIFY_CODE_MISMATCH','width','ticket','registerRenderModule','clearTimeout','_getAnchorBounding','location','NOT_FOUND','createIdentifier','rxjs','_revisionService','UniverInstanceType','_context','_docTransformIMECacheService','ISocketService','UniverCollaborationClientPlugin','UniverCore','split','_commandService','_render','LICENSE_MAX_UNITS_EXCEEDED','_ensureSubject','_drawAnchor','propertyIsEnumerable','syncEditingCollabCursor','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','string','undoState','currentColor','trim','_hover','pluginName','_scheduleSaving','currentTheme$','CLOSE_ROOM','CollaborationController','_setupBeforeClosingHandler','replaceDocRanges','_colorIndex','UniverProCollaborationClient','DOC_RANGE_TYPE','toDisposable','IDocClipboardService','getLocalCacheKey','getCollabCursors$','_cursorShapes','18OdDarX','_drawRectRange','useRef','_removeCollabCursors','fromEvent','collabCursorState$','height','BrowserCollaborationSocketService','_online','LOGIN_FAILED','getDocRanges','flatMap','DocSelectionManagerService','getSkeleton','_injector','setTimeout','_unitOnClients','BuiltInUIPart','defIds','runRefRangeMutations','mapTo','getUnitId','executeCommand','collabStatus.offline','setParam','setItem','_initStatusListener','storage','lineTo','@univerjs/rpc','CONFLICT','handleIRemoveRow','_anchor','collabStatus.synced','_unitStatus','@univerjs/drawing','UniverSheets','_entities','CollaborationUIEventId','_renderManagerService','FromArray','getMember','EMAIL_VERIFY_CODE_MISMATCH','@univerjs/sheets-ui','_eventUnsubscribe','WebSocketService','MUTATION','_doCreateSocket','ENSURE_SNAPSHOT_EXECUTION','restore','_cachedData','APPLY_REJECT','activeSheet$','generateRandomId','UniverDocsUi','toRgbString','_saveCache','mergeOverrideWithDependencies','collaboration-client.offline-data-not-saved','PY_RUNTIME_SCRIPT_ERROR','debounceTime','_transformPreviousActiveRange','DisposableCollection','collab-rect-range-','next','univerjs-icon\x20univerjs-icon-','TOO_MANY_REQUESTS','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','permission.content','init','_updateSubUnitFromURLParams','RemoveColCommandId','_collabCursorController','object','YUUMI_NO_CUBOID_FOR_QUESTION','0\x200\x2016\x2016','_entityInit$','MoveRangeCommandId','path','103058WOpeWS','transformStateCache','_onCursorUpdate','onPointerLeave$','result','translate(.97)','entityInit$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','unitId','connectInjector','merge','EMAIL_HAS_BEEN_BOUND','setAlpha','_setupSubUnitSync','DocIMEInputManagerService','univer-mr-2\x20univer-flex\x20univer-text-xl','540354qhdPli','color','INVITE_CODE_ALREADY_BOUND','0\x200\x2017\x2016','getViewport','unshift','bottom','UniverCollaborationClientUIPlugin','_collabCursorState$','getFocusedUnit','@univerjs/sheets','_refreshCollabCursors','UPDATE_CURSOR','RichTextEditingMutation','getActiveSheet','SetTextSelectionsOperation','_instanceService','IMessageService','entries','dispose','sessionStatus$','COLORS','whenReady','makeDirty','YUUMI_RATE_OVER_LIMIT','TEXT_RANGE_LAYER_INDEX','handleMoveRange','DEFAULT_WS_SESSION_TICKET_URL','APPLY_PERMISSION_DENIED','runId','getParam','setShapeProps','_startSheetCollabCursor','asObservable','yellow.400','getOwnPropertyDescriptor','55ybHkzK','defs','column','SetDocZoomRatioOperation','ILocalCacheService','operators','COMPLETION_FINISHED','handleInsertRangeMoveDown','handleDeleteRangeMoveUp','_roomMembers$','Module','replaceState','_localeService','Subject','getActiveRange','UNDEFINED','range','getTypeOfUnitAdded$','#FFF','deserializeRangeWithSheet','react','ILogService','registerBeforeClose','push','SheetSkeletonManagerService','getVpScrollXYInfoByPosToVp','onPointerMove$','getValue','closePath','_transformHistoryAndStateStack','react/jsx-runtime','getColorFromTheme','show','getCellPositionByOffset','beginPath','getCurrentSelections','_assignedColors','has','_hideTimer','onStarting','UniverNetwork','switchMap','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UniverDrawing','_configService','unload','call','RemoteUniscriptService','_uiPartsService','application/json','UniverUi','subscribe','_id','_docTransformSelectionsService','PERMISSION_DENIED','_httpService','Vector2','assign','reconnect','_heartbeatTimer','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverRpc','SheetsSelectionsService','_messageService','OnLineIcon','pushState','Unknown\x20user','createElement','UnitStatus','isActive','IRenderManagerService','assignAColorForMemberID','SHEET_VIEWPORT_KEY','getOwnPropertySymbols','unit','map','get','none','@univerjs/network','send','selection','origin','addObject','href','SetWorksheetActivateCommand','getMergeData','dispose$','_univerInstanceService','Failed','prototype','Rect','IBeforeCloseService','useDependency','IRemoteInstanceService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','USER_NOT_INVITED_CODE','DeleteRangeMoveUpCommandId','YUUMI_CONNECTOR_URL_NOT_FOUND','_status$','black','saveOfflineData','APPLY_REVISION_CONFILICT','_cursorInfo$','cursorInfo','_scheduleHeartbeat','clipPath','OFFLINE','@univerjs/core','_initEvent','RegularPolygon','YUUMI_AI_RUN_FAILED','_collaborationController','_getSheetObject','_anchorDot','purple.300','Shape','pipe','requireSession','event$','text','_transformUndoRedoStack','addClipboardHook','@univerjs-pro/collaboration-client','660240WgBBOE','fill','USERS_LEAVE','collabStatus.conflict','isTransformMutationsWithChangesetSuccess','handleInsertCol','getCollabEntity$','startsWith','NO_OTHER_CLIENTS_EDITING','Inject','Warning','toString','_initStatusComponent','_beforeCloseService','data','disposeWithMe','setInterval','key','_shapes','fillRule','_handleLeaveEvent','collabStatus.fetchMiss','[CollaborationDataLoaderController]','collab-text-range-','SetSelectionsOperation','InsertRowCommandId','resize','createInstance','...','_logService','CollaborationStatus','RemoveRowCommandId','getItem','_localStorageService','IUIPartsService','transformIMECache','error','getOffsetConfig','evenodd','jsxs','_saveTaskMap','_updateURLWithCurrentState','length','SNAPSHOT_INVALID_SNAPSHOT','NodePositionConvertToCursor','runOnServer','transformMutationsWithChangeset','_session','xlink:href','RxDisposable','off-line-icon_clip0_910_343','_selfUnitIDs','addObjects','params','row','INotificationService','deepClone','ColorKit','throttleTime','onRendered','isArray','_initResize','engine','RECT','ranges','url(#$1','onLocalMutation','Error','size','transformMutation','complete','UniverSheetsUi','uni.network.url-service','defineProperty','removeParam','_dataLoaderService','symbol','rxjs/operators','MessageType','all','set','clearInterval','registerComponent','INVALID_ARGUMENT','_onRefRangeChange','getMemberID','809256woFcIb','getRenderById','_startDocCollabCursor','url(#on-line-icon_clip0_910_349)','exports','Rectangle','hide','actions','history','add','url(#off-line-icon_clip0_910_343)','includes','_cursors','EffectRefRangId','_removeClearOtherTimer','_onCursorDelete','filter','indexOf','from','UniverEngineRender','RevisionService','_transformService','fromEventSubject','transformRemoteChangeset','NOT_COLLAB','disposeUnit','registerRefRange','getSheetObject','8495674rmKlfN','UniverProCollaborationClientUi','OTHER_CLIENTS_EDITING','SYNCED','fillText','_imageIoService','status$','forEach','drawWith','ONLINE','_scheduleClearOtherTimer','docStateChange$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_toggleOffline','children','DesktopCollaborationStatusDisplayController','attrs','toStringTag','handleInsertRangeMoveRight','PENDING','takeUntil','collaboration.closeRoom','hovered','idSuffix','CollaborationEvent','subscribeEvent','_draw','LICENSE_EXPORT_SIZE_EXCEEDED','HTTPService','@univerjs/ui','UniverProCollaboration','_themeService','urlChange$','@univerjs/docs','LocaleService','_backgroundColor','Tools','YUUMI_TABLE_NOT_FOUND_IN_UNIT','INVALID_INVITE_CODE','_initDependencies','_registerRenderDependencies','UNIVER_DOC','CONNECTOR_DATA_TOO_LARGE','find','forwardRef','_handleHover','onMouseMove','random','Workbook','touchDependencies','session.connection-failed','transformSelections','_docStateChangeManagerService','eventID','http://www.w3.org/2000/svg','TEXT','_send','_document','sheetId','UniverDesign','code','CollaborationDataLoaderController','unitID','isEditing','isTransformMutationFailure','SOCKET_FAILED_RETRY','body','_getSaveTimeout','INVITE_CODE_REQUIRED','getRangePointData','labelPosition','DeleteRangeMoveLeftCommandId','AWAITING','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_handleHeartbeatEvent','@univerjs/engine-render','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','name','DependentOn','doc.mutation.rich-text-editing','roomMembers','tag','_updateCollabCursors','IConfigService','Tooltip','_collaborationUIEventService','InsertRangeMoveRightCommandId','UNRECOGNIZED','skeleton','serializeRangeWithSheet','M0\x200H16V16H0z','concat','jsx','YUUMI_ALL_TABLES_IS_INVALID','debug','YUUMI_URL_COL_OUT_OF_RANGE','_docClipboardService','_registerDependencies','disableLocalCache','_docSkeletonManagerService','SessionStatus','subunit','cursorInfo$','_drawTextRange','INVITE_CODE_HAS_BEEN_UES','m2Prime'];_0x48d2=function(){return _0x3a5de7;};return _0x48d2();}(function(_0x45e85c,_0x396565){const _0x106bc3=_0x31db,_0x1d7b99=_0x45e85c();while(!![]){try{const _0x4c6747=parseInt(_0x106bc3(0x167))/0x1+parseInt(_0x106bc3(0x157))/0x2*(-parseInt(_0x106bc3(0x36a))/0x3)+parseInt(_0x106bc3(0x337))/0x4+-parseInt(_0x106bc3(0x18b))/0x5*(parseInt(_0x106bc3(0x25c))/0x6)+parseInt(_0x106bc3(0x340))/0x7+-parseInt(_0x106bc3(0x206))/0x8*(parseInt(_0x106bc3(0x108))/0x9)+parseInt(_0x106bc3(0x334))/0xa*(parseInt(_0x106bc3(0x278))/0xb);if(_0x4c6747===_0x396565)break;else _0x1d7b99['push'](_0x1d7b99['shift']());}catch(_0x1a1fd2){_0x1d7b99['push'](_0x1d7b99['shift']());}}}(_0x48d2,0xb889d),function(_0x32fff8,_0x2711d9){const _0x344b86=_0x31db;typeof exports==_0x344b86(0x151)&&typeof module<'u'?_0x2711d9(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==_0x344b86(0x336)&&define[_0x344b86(0x342)]?define([_0x344b86(0x260),_0x344b86(0x1a9),_0x344b86(0x205),_0x344b86(0x1f6),_0x344b86(0x295),_0x344b86(0x389),_0x344b86(0x2eb),_0x344b86(0x19f),_0x344b86(0x125),_0x344b86(0x171),_0x344b86(0x2c4),_0x344b86(0x1d9),'@univerjs/docs-ui',_0x344b86(0x12b),'@univerjs-pro/collaboration',_0x344b86(0x299),_0x344b86(0x332),_0x344b86(0x253),_0x344b86(0x133)],_0x2711d9):(_0x32fff8=typeof globalThis<'u'?globalThis:_0x32fff8||self,_0x2711d9(_0x32fff8[_0x344b86(0x279)]={},_0x32fff8['React'],_0x32fff8[_0x344b86(0x101)],_0x32fff8[_0x344b86(0x390)],_0x32fff8[_0x344b86(0x1bd)],_0x32fff8['rxjs'],_0x32fff8[_0x344b86(0x2b3)],_0x32fff8['React'],_0x32fff8[_0x344b86(0x1c8)],_0x32fff8[_0x344b86(0x12c)],_0x32fff8[_0x344b86(0x26f)],_0x32fff8[_0x344b86(0x1b3)],_0x32fff8[_0x344b86(0x13e)],_0x32fff8[_0x344b86(0x1b6)],_0x32fff8[_0x344b86(0x296)],_0x32fff8['UniverDocs'],_0x32fff8['UniverEngineFormula'],_0x32fff8[_0x344b86(0x389)][_0x344b86(0x190)],_0x32fff8[_0x344b86(0x24d)]));}(this,function(_0x427b6e,_0x219e43,_0x14cc37,_0x233149,_0x5ec1c1,_0x12fec3,_0x14667c,_0x4595a8,_0x467414,_0x21b9bf,_0x5ee778,_0xabfec4,_0x35cd67,_0xae7fbc,_0x16f706,_0x31d980,_0x1df0d9,_0x493a5f,_0xcb2717){'use strict';const _0x3e20bb=_0x31db;var _0x155d57=Object['defineProperty'],_0x254438=(_0x135f32,_0x590a8d,_0x5b1937)=>_0x590a8d in _0x135f32?_0x155d57(_0x135f32,_0x590a8d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b1937}):_0x135f32[_0x590a8d]=_0x5b1937,_0x18ecd9=(_0x2257e9,_0x54fd78,_0x34a7e8)=>_0x254438(_0x2257e9,typeof _0x54fd78!=_0x3e20bb(0x252)?_0x54fd78+'':_0x54fd78,_0x34a7e8),_0x59efa0=function(){const _0x25ef9b=_0x3e20bb;return _0x59efa0=Object[_0x25ef9b(0x1c4)]||function(_0x38e6aa){const _0x3e2af7=_0x25ef9b;for(var _0x29310d,_0x25729e=0x1,_0x4c32bc=arguments['length'];_0x25729e<_0x4c32bc;_0x25729e++){_0x29310d=arguments[_0x25729e];for(var _0xd269dd in _0x29310d)Object[_0x3e2af7(0x1e4)][_0x3e2af7(0x361)]['call'](_0x29310d,_0xd269dd)&&(_0x38e6aa[_0xd269dd]=_0x29310d[_0xd269dd]);}return _0x38e6aa;},_0x59efa0[_0x25ef9b(0x339)](this,arguments);},_0x16e51f=function(_0x434cde,_0x2a1af4){const _0x13584e=_0x3e20bb;var _0x2cd0f2={};for(var _0x1bcd8b in _0x434cde)Object['prototype'][_0x13584e(0x361)][_0x13584e(0x1b9)](_0x434cde,_0x1bcd8b)&&_0x2a1af4['indexOf'](_0x1bcd8b)<0x0&&(_0x2cd0f2[_0x1bcd8b]=_0x434cde[_0x1bcd8b]);if(_0x434cde!=null&&typeof Object[_0x13584e(0x1d4)]==_0x13584e(0x336)){for(var _0x3d1111=0x0,_0x1bcd8b=Object[_0x13584e(0x1d4)](_0x434cde);_0x3d1111<_0x1bcd8b['length'];_0x3d1111++)_0x2a1af4[_0x13584e(0x26d)](_0x1bcd8b[_0x3d1111])<0x0&&Object[_0x13584e(0x1e4)][_0x13584e(0xf1)]['call'](_0x434cde,_0x1bcd8b[_0x3d1111])&&(_0x2cd0f2[_0x1bcd8b[_0x3d1111]]=_0x434cde[_0x1bcd8b[_0x3d1111]]);}return _0x2cd0f2;},_0xbdc5ab=_0x4595a8[_0x3e20bb(0x2a4)](function(_0x521f61,_0x3b2019){const _0x168922=_0x3e20bb;var _0x218b04=_0x521f61[_0x168922(0x2f5)],_0x488bf7=_0x521f61['id'],_0x294db8=_0x521f61[_0x168922(0x379)],_0x1e8a7d=_0x521f61['extend'],_0x41c6a2=_0x16e51f(_0x521f61,[_0x168922(0x2f5),'id',_0x168922(0x379),_0x168922(0x311)]),_0xee763d=_0x168922(0x149)[_0x168922(0x2d4)](_0x488bf7,'\x20')[_0x168922(0x2d4)](_0x294db8||'')[_0x168922(0xf7)](),_0xdf810b=_0x4595a8[_0x168922(0x10a)]('_'[_0x168922(0x2d4)](_0x2195ab()));return _0x5ea65c(_0x218b04,''[_0x168922(0x2d4)](_0x488bf7),{'defIds':_0x218b04[_0x168922(0x11a)],'idSuffix':_0xdf810b[_0x168922(0x325)]},_0x59efa0({'ref':_0x3b2019,'className':_0xee763d},_0x41c6a2),_0x1e8a7d);});function _0x5ea65c(_0x543eec,_0x44eb3b,_0xcd186d,_0x1087ce,_0x14cef7){const _0x44f0b1=_0x3e20bb;return _0x4595a8[_0x44f0b1(0x1ce)](_0x543eec[_0x44f0b1(0x2ca)],_0x59efa0(_0x59efa0({'key':_0x44eb3b},_0x4d355f(_0x543eec,_0xcd186d,_0x14cef7)),_0x1087ce),(_0x266576(_0x543eec,_0xcd186d)[_0x44f0b1(0x286)]||[])[_0x44f0b1(0x1d6)](function(_0xe66770,_0x4e1ebf){const _0x278c89=_0x44f0b1;return _0x5ea65c(_0xe66770,''[_0x278c89(0x2d4)](_0x44eb3b,'-')[_0x278c89(0x2d4)](_0x543eec[_0x278c89(0x2ca)],'-')[_0x278c89(0x2d4)](_0x4e1ebf),_0xcd186d,void 0x0,_0x14cef7);}));}function _0x4d355f(_0x106e65,_0x256467,_0x44cb3a){const _0x47c64d=_0x3e20bb;var _0x4a12ea=_0x59efa0({},_0x106e65['attrs']);_0x44cb3a!=null&&_0x44cb3a[_0x47c64d(0x32c)]&&_0x4a12ea[_0x47c64d(0x207)]===_0x47c64d(0x32c)&&(_0x4a12ea[_0x47c64d(0x207)]=_0x44cb3a[_0x47c64d(0x32c)]),_0x106e65['tag']===_0x47c64d(0x36e)&&_0x4a12ea['id']&&(_0x4a12ea['id']=_0x4a12ea['id']+_0x256467['idSuffix']),Object[_0x47c64d(0x179)](_0x4a12ea)['forEach'](function(_0xd92bb7){const _0x4e800a=_0x47c64d;var _0x325e52=_0xd92bb7[0x0],_0x38e84b=_0xd92bb7[0x1];_0x325e52===_0x4e800a(0x36e)&&typeof _0x38e84b=='string'&&(_0x4a12ea[_0x325e52]=_0x38e84b[_0x4e800a(0x33c)](/url\(#(.*)\)/,_0x4e800a(0x247)[_0x4e800a(0x2d4)](_0x256467[_0x4e800a(0x28f)],')')));});var _0x476e53=_0x256467['defIds'];return!_0x476e53||_0x476e53['length']===0x0||(_0x106e65[_0x47c64d(0x2ca)]==='use'&&_0x4a12ea[_0x47c64d(0x236)]&&(_0x4a12ea[_0x47c64d(0x236)]=_0x4a12ea[_0x47c64d(0x236)]+_0x256467['idSuffix']),Object[_0x47c64d(0x179)](_0x4a12ea)[_0x47c64d(0x27f)](function(_0x40d9ca){const _0x261aa9=_0x47c64d;var _0x8cfcbb=_0x40d9ca[0x0],_0x474ba2=_0x40d9ca[0x1];typeof _0x474ba2==_0x261aa9(0xf4)&&(_0x4a12ea[_0x8cfcbb]=_0x474ba2[_0x261aa9(0x33c)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x256467[_0x261aa9(0x28f)],')')));})),_0x4a12ea;}function _0x266576(_0x27c76b,_0x278bff){const _0x53b9c8=_0x3e20bb;var _0xc4df0a,_0x383c11=_0x278bff[_0x53b9c8(0x11a)];return!_0x383c11||_0x383c11[_0x53b9c8(0x230)]===0x0?_0x27c76b:_0x27c76b[_0x53b9c8(0x2ca)]===_0x53b9c8(0x18c)&&(!((_0xc4df0a=_0x27c76b['children'])===null||_0xc4df0a===void 0x0)&&_0xc4df0a[_0x53b9c8(0x230)])?_0x59efa0(_0x59efa0({},_0x27c76b),{'children':_0x27c76b['children'][_0x53b9c8(0x1d6)](function(_0x39bb9d){const _0x2e5f66=_0x53b9c8;return typeof _0x39bb9d['attrs']['id']==_0x2e5f66(0xf4)&&_0x383c11&&_0x383c11[_0x2e5f66(0x267)](_0x39bb9d[_0x2e5f66(0x288)]['id'])?_0x59efa0(_0x59efa0({},_0x39bb9d),{'attrs':_0x59efa0(_0x59efa0({},_0x39bb9d[_0x2e5f66(0x288)]),{'id':_0x39bb9d[_0x2e5f66(0x288)]['id']+_0x278bff['idSuffix']})}):_0x39bb9d;})}):_0x27c76b;}function _0x2195ab(){const _0x1e523a=_0x3e20bb;return Math[_0x1e523a(0x2a7)]()[_0x1e523a(0x211)](0x24)['substring'](0x2,0x8);}_0xbdc5ab[_0x3e20bb(0x33f)]=_0x3e20bb(0x31d);var _0x430e28={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3e20bb(0x1d8),'viewBox':_0x3e20bb(0x153),'width':_0x3e20bb(0x35d),'height':_0x3e20bb(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':_0x3e20bb(0x266)},'children':[{'tag':_0x3e20bb(0x156),'attrs':{'stroke':_0x3e20bb(0xf6),'d':_0x3e20bb(0x36f),'strokeLinecap':_0x3e20bb(0x2ec),'strokeLinejoin':_0x3e20bb(0x2ec),'strokeWidth':1.2}}]},{'tag':_0x3e20bb(0x18c),'attrs':{},'children':[{'tag':_0x3e20bb(0x1f4),'attrs':{'id':_0x3e20bb(0x238)},'children':[{'tag':'path','attrs':{'fill':_0x3e20bb(0x372),'d':_0x3e20bb(0x2d3)}}]}]}],'defIds':[_0x3e20bb(0x238)]},_0x56f6b9=_0x4595a8[_0x3e20bb(0x2a4)](function(_0x29549b,_0x927fb6){const _0x252393=_0x3e20bb;return _0x4595a8[_0x252393(0x1ce)](_0xbdc5ab,Object[_0x252393(0x1c4)]({},_0x29549b,{'id':'off-line-icon','ref':_0x927fb6,'icon':_0x430e28}));});_0x56f6b9[_0x3e20bb(0x33f)]=_0x3e20bb(0x322);var _0x76c0f5={'tag':'svg','attrs':{'xmlns':_0x3e20bb(0x2ae),'fill':'none','viewBox':_0x3e20bb(0x16a),'width':_0x3e20bb(0x35d),'height':_0x3e20bb(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':_0x3e20bb(0x25f)},'children':[{'tag':_0x3e20bb(0x156),'attrs':{'stroke':_0x3e20bb(0xf6),'d':_0x3e20bb(0x2c5),'strokeLinecap':_0x3e20bb(0x2ec),'strokeLinejoin':_0x3e20bb(0x2ec),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3e20bb(0x1f4),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x3e20bb(0x156),'attrs':{'fill':_0x3e20bb(0x372),'d':_0x3e20bb(0x2d3),'transform':_0x3e20bb(0x15c)}}]}]}],'defIds':[_0x3e20bb(0x2fe)]},_0x4f9221=_0x4595a8[_0x3e20bb(0x2a4)](function(_0x5379db,_0x422cb0){const _0x3561e4=_0x3e20bb;return _0x4595a8['createElement'](_0xbdc5ab,Object[_0x3561e4(0x1c4)]({},_0x5379db,{'id':_0x3561e4(0x37a),'ref':_0x422cb0,'icon':_0x76c0f5}));});_0x4f9221[_0x3e20bb(0x33f)]=_0x3e20bb(0x1cb);function _0xc96513(_0x58c297){const _0x1d52d9=_0x3e20bb;switch(_0x58c297){case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x1f5)]:return _0x1d52d9(0x11f);case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x126)]:return _0x1d52d9(0x209);case _0x14cc37['CollaborationStatus'][_0x1d52d9(0x2e6)]:return _0x1d52d9(0x21b);case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x274)]:return'collabStatus.notCollab';case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x2c0)]:case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x37f)]:return'collabStatus.syncing';case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x27b)]:case _0x14cc37[_0x1d52d9(0x224)][_0x1d52d9(0x28b)]:return _0x1d52d9(0x129);}}function _0x501983(_0x195a3e){const _0xab2826=_0x3e20bb,{status$:_0x4c99ce}=_0x195a3e,_0x39d167=_0x5ec1c1['useObservable'](_0x4c99ce,_0x14cc37[_0xab2826(0x224)][_0xab2826(0x274)]),_0x22d9de=_0x5ec1c1[_0xab2826(0x1e7)](_0x233149[_0xab2826(0x29a)]),_0x17eb4f=_0x5ec1c1[_0xab2826(0x1e7)](_0x14cc37[_0xab2826(0x377)]),_0x10fa59=_0x39d167!==_0x14cc37[_0xab2826(0x224)][_0xab2826(0x1f5)],_0x5c8115=_0x22d9de['t'](_0xc96513(_0x39d167)),_0x172e75=_0x10fa59?_0x219e43[_0xab2826(0x2d5)](_0x4f9221,{}):_0x219e43[_0xab2826(0x2d5)](_0x56f6b9,{}),_0x192f6c=_0x4595a8['useCallback'](()=>{const _0x4367a2=_0xab2826;_0x10fa59||_0x17eb4f[_0x4367a2(0x1c5)]();},[_0x10fa59,_0x17eb4f]);function _0x596542(){const _0x4ef73c=_0xab2826;return _0x219e43[_0x4ef73c(0x22d)](_0x4ef73c(0x2e8),{'className':'univer-flex\x20univer-items-center','onClick':_0x192f6c,'children':[_0x219e43[_0x4ef73c(0x2d5)](_0x4ef73c(0x2e8),{'className':_0x14667c['clsx'](_0x4ef73c(0x166),{'univer-text-green-500':_0x10fa59,'univer-text-red-500':!_0x10fa59}),'children':_0x172e75}),_0x219e43[_0x4ef73c(0x2d5)](_0x4ef73c(0x2e8),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5c8115})]});}return _0x10fa59?_0x596542():_0x219e43['jsx'](_0x14667c[_0xab2826(0x2cd)],{'title':_0x22d9de['t']('collab-client.tooltip.reconnect'),'children':_0x596542()});}var _0x23f172=Object[_0x3e20bb(0x18a)],_0x8b857=(_0x95c8ed,_0x1ef2c3,_0x70e9b6,_0xd37eae)=>{const _0xac3195=_0x3e20bb;for(var _0x1e2132=_0xd37eae>0x1?void 0x0:_0xd37eae?_0x23f172(_0x1ef2c3,_0x70e9b6):_0x1ef2c3,_0x2597da=_0x95c8ed[_0xac3195(0x230)]-0x1,_0x72cbb4;_0x2597da>=0x0;_0x2597da--)(_0x72cbb4=_0x95c8ed[_0x2597da])&&(_0x1e2132=_0x72cbb4(_0x1e2132)||_0x1e2132);return _0x1e2132;},_0x58f005=(_0x401fbc,_0x4ee871)=>(_0x4c5601,_0x4acf00)=>_0x4ee871(_0x4c5601,_0x4acf00,_0x401fbc);_0x427b6e[_0x3e20bb(0x287)]=class extends _0x233149[_0x3e20bb(0x315)]{constructor(_0x1376a4,_0x1ed376,_0x1fc2ee,_0x4c55de){const _0x665207=_0x3e20bb;super(),_0x18ecd9(this,_0x665207(0x1ed),new _0x12fec3[(_0x665207(0x33e))](_0x14cc37[_0x665207(0x224)][_0x665207(0x274)])),(this[_0x665207(0x1e2)]=_0x1376a4,this[_0x665207(0x116)]=_0x1ed376,this['_collaborationController']=_0x1fc2ee,this[_0x665207(0x1bb)]=_0x4c55de,this[_0x665207(0x212)](),this[_0x665207(0x122)]());}[_0x3e20bb(0x122)](){const _0x48ee94=_0x3e20bb;this[_0x48ee94(0x215)](this[_0x48ee94(0x1e2)]['focused$']['pipe'](_0x12fec3[_0x48ee94(0x1b4)](()=>{const _0x1e5644=_0x48ee94,_0x23f464=this[_0x1e5644(0x1e2)][_0x1e5644(0x170)]();return _0x23f464?this[_0x1e5644(0x1fa)][_0x1e5644(0x20c)](_0x23f464[_0x1e5644(0x11d)]()):_0x12fec3['of'](null);}),_0x12fec3[_0x48ee94(0x1b4)](_0x1ade6b=>_0x1ade6b?_0x1ade6b[_0x48ee94(0x27e)]:_0x12fec3['of'](_0x14cc37[_0x48ee94(0x224)]['NOT_COLLAB'])))['subscribe'](_0xd90a4f=>{const _0x4f4df6=_0x48ee94;this[_0x4f4df6(0x1ed)][_0x4f4df6(0x148)](_0xd90a4f);}));}[_0x3e20bb(0x212)](){const _0x10b8cd=_0x3e20bb;this[_0x10b8cd(0x215)](this[_0x10b8cd(0x1bb)][_0x10b8cd(0x258)](_0x5ec1c1[_0x10b8cd(0x119)]['HEADER_MENU'],()=>_0x5ec1c1[_0x10b8cd(0x160)](_0x388978({'status$':this[_0x10b8cd(0x1ed)]['asObservable']()}),this[_0x10b8cd(0x116)])));}},_0x427b6e[_0x3e20bb(0x287)]=_0x8b857([_0x58f005(0x0,_0x233149[_0x3e20bb(0x371)]),_0x58f005(0x1,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x58f005(0x2,_0x233149['Inject'](_0x14cc37['CollaborationController'])),_0x58f005(0x3,_0x5ec1c1[_0x3e20bb(0x228)])],_0x427b6e[_0x3e20bb(0x287)]);function _0x388978(_0x52bc6d){const {status$:_0x3c6136}=_0x52bc6d;return function(){return _0x219e43['jsx'](_0x501983,{'status$':_0x3c6136});};}const _0x172ebe=_0x233149[_0x3e20bb(0x388)](_0x3e20bb(0x24e));var _0x38a100=Object[_0x3e20bb(0x18a)],_0x571fb9=(_0x2da5c6,_0x392b4f,_0x1de91e,_0xf1e008)=>{for(var _0x324d4a=_0xf1e008>0x1?void 0x0:_0xf1e008?_0x38a100(_0x392b4f,_0x1de91e):_0x392b4f,_0x49b976=_0x2da5c6['length']-0x1,_0x1d0de8;_0x49b976>=0x0;_0x49b976--)(_0x1d0de8=_0x2da5c6[_0x49b976])&&(_0x324d4a=_0x1d0de8(_0x324d4a)||_0x324d4a);return _0x324d4a;},_0x505369=(_0xeb2ce2,_0x25e5dd)=>(_0x596712,_0x3f85ea)=>_0x25e5dd(_0x596712,_0x3f85ea,_0xeb2ce2);_0x427b6e[_0x3e20bb(0x2b5)]=class extends _0x233149['RxDisposable']{constructor(_0xf52437,_0x5f4de9,_0x48386b,_0x369b45,_0x3dd12b){const _0x33475b=_0x3e20bb;super(),this[_0x33475b(0x305)]=_0xf52437,this[_0x33475b(0x223)]=_0x5f4de9,this['_commandService']=_0x48386b,this[_0x33475b(0x251)]=_0x369b45,_0x3dd12b?_0x3dd12b==null||_0x3dd12b[_0x33475b(0x17d)]()[_0x33475b(0x360)](()=>this['_init']()):(this[_0x33475b(0x223)][_0x33475b(0x2d7)](_0x33475b(0x21c),_0x33475b(0x14b)),this[_0x33475b(0x362)]());}async['_init'](){const _0x1ecb65=_0x3e20bb,_0x2c7ce6=this['_urlService'][_0x1ecb65(0x185)](_0x1ecb65(0x1d5)),_0x397baf=this[_0x1ecb65(0x305)][_0x1ecb65(0x185)]('type'),_0x5736d2=this['_urlService'][_0x1ecb65(0x185)](_0x1ecb65(0x2de));if(!_0x2c7ce6||!_0x397baf){this[_0x1ecb65(0x223)]['debug']('[CollaborationDataLoaderController]',_0x1ecb65(0x1b5));return;}const _0x103e68=await this[_0x1ecb65(0x251)]['loadUnit'](_0x2c7ce6,Number(_0x397baf),_0x5736d2);_0x103e68&&_0x103e68 instanceof _0x233149[_0x1ecb65(0x2a8)]&&this[_0x1ecb65(0x164)](_0x103e68);}async['_setupSubUnitSync'](_0x595f61){const _0x5812bc=_0x3e20bb;await this[_0x5812bc(0x14e)](_0x595f61),_0x595f61[_0x5812bc(0x13c)][_0x5812bc(0x1ff)](_0x12fec3[_0x5812bc(0x28c)](this[_0x5812bc(0x1e1)]))[_0x5812bc(0x1be)](_0x1695ec=>{_0x1695ec&&this['_updateURLWithCurrentState'](_0x1695ec);}),this[_0x5812bc(0x305)][_0x5812bc(0x298)][_0x5812bc(0x1ff)](_0x12fec3[_0x5812bc(0x28c)](this[_0x5812bc(0x1e1)]))[_0x5812bc(0x1be)](()=>this[_0x5812bc(0x14e)](_0x595f61));}[_0x3e20bb(0x22f)](_0x3bfad3,_0x5e585c=!0x1){const _0x4a318c=_0x3e20bb,_0x3096ab=this[_0x4a318c(0x305)][_0x4a318c(0x185)]('subunit');_0x3bfad3['getSheetId']()!==_0x3096ab&&this['_urlService'][_0x4a318c(0x120)]('subunit',_0x3bfad3[_0x4a318c(0x331)](),_0x5e585c);}async[_0x3e20bb(0x14e)](_0xdbbf0){const _0x18fe32=_0x3e20bb;var _0x18b595;const _0x147624=this[_0x18fe32(0x305)][_0x18fe32(0x185)](_0x18fe32(0x2de));if(!_0x147624||!_0xdbbf0[_0x18fe32(0x368)](_0x147624)){const _0x7b9e04=_0xdbbf0['getUnhiddenWorksheets']()[0x0],_0x3042a8=_0xdbbf0[_0x18fe32(0x368)](_0x7b9e04);if(!_0x3042a8)return;this[_0x18fe32(0x22f)](_0x3042a8,!0x0),await this[_0x18fe32(0xec)][_0x18fe32(0x11e)](_0x21b9bf[_0x18fe32(0x1df)]['id'],{'unitId':_0xdbbf0[_0x18fe32(0x11d)](),'subUnitId':_0x7b9e04});return;}((_0x18b595=_0xdbbf0[_0x18fe32(0x175)]())==null?void 0x0:_0x18b595['getSheetId']())!==_0x147624&&await this['_commandService'][_0x18fe32(0x11e)](_0x21b9bf[_0x18fe32(0x1df)]['id'],{'unitId':_0xdbbf0[_0x18fe32(0x11d)](),'subUnitId':_0x147624});}},_0x427b6e[_0x3e20bb(0x2b5)]=_0x571fb9([_0x505369(0x0,_0x172ebe),_0x505369(0x1,_0x233149[_0x3e20bb(0x1a0)]),_0x505369(0x2,_0x233149[_0x3e20bb(0x37b)]),_0x505369(0x3,_0x233149[_0x3e20bb(0x20f)](_0x14cc37[_0x3e20bb(0x34e)])),_0x505369(0x4,_0x233149['Optional'](_0x467414[_0x3e20bb(0x1e8)]))],_0x427b6e[_0x3e20bb(0x2b5)]);var _0x4c9944=Object['getOwnPropertyDescriptor'],_0x2c21c5=(_0x2a765e,_0x512d18,_0x303ca4,_0x5ccfa4)=>{const _0x1d3d7b=_0x3e20bb;for(var _0x107048=_0x5ccfa4>0x1?void 0x0:_0x5ccfa4?_0x4c9944(_0x512d18,_0x303ca4):_0x512d18,_0x3c02d8=_0x2a765e[_0x1d3d7b(0x230)]-0x1,_0x3e1dd3;_0x3c02d8>=0x0;_0x3c02d8--)(_0x3e1dd3=_0x2a765e[_0x3c02d8])&&(_0x107048=_0x3e1dd3(_0x107048)||_0x107048);return _0x107048;},_0x5717d9=(_0x24ed14,_0x3cc2a7)=>(_0x44a55f,_0x24b1f0)=>_0x3cc2a7(_0x44a55f,_0x24b1f0,_0x24ed14);let _0xdff79c=class extends _0x233149['RxDisposable']{constructor(_0x2b0dee,_0x613d93){const _0x476578=_0x3e20bb;super(),this[_0x476578(0x2d9)]=_0x2b0dee,this[_0x476578(0x27d)]=_0x613d93,this[_0x476578(0x362)]();}[_0x3e20bb(0x362)](){const _0x13cb43=_0x3e20bb,_0x3b66e3=this;this[_0x13cb43(0x215)](this[_0x13cb43(0x2d9)][_0x13cb43(0x204)]({'onBeforePasteImage':async _0x1577f5=>{const _0x1aa227=_0x13cb43,_0xdad086=await _0x3b66e3[_0x1aa227(0x27d)][_0x1aa227(0x2ef)](_0x1577f5);return _0xdad086?{'source':_0xdad086['source'],'imageSourceType':_0xdad086[_0x1aa227(0x33d)]}:null;}}));}};_0xdff79c=_0x2c21c5([_0x5717d9(0x0,_0x35cd67[_0x3e20bb(0x104)]),_0x5717d9(0x1,_0xae7fbc[_0x3e20bb(0x338)])],_0xdff79c);const _0x215996=[_0x3e20bb(0x1fd),'jiqing.500',_0x3e20bb(0x32b),_0x3e20bb(0x35c),'blue.400',_0x3e20bb(0x189)];class _0xc47850 extends _0x233149[_0x3e20bb(0x315)]{constructor(){const _0x4821c0=_0x3e20bb;super(...arguments),_0x18ecd9(this,_0x4821c0(0x1af),new Map()),_0x18ecd9(this,_0x4821c0(0x100),0x0);}[_0x3e20bb(0x1d2)](_0x3ee981){const _0x131cf2=_0x3e20bb;if(this[_0x131cf2(0x1af)][_0x131cf2(0x1b0)](_0x3ee981))return this[_0x131cf2(0x1af)][_0x131cf2(0x1d7)](_0x3ee981);const _0x408af1=_0x215996[this[_0x131cf2(0x100)]];return this['_colorIndex']=(this[_0x131cf2(0x100)]+0x1)%_0x215996[_0x131cf2(0x230)],this[_0x131cf2(0x1af)][_0x131cf2(0x256)](_0x3ee981,_0x408af1),_0x408af1;}}function _0x29940a(_0x3d55e3){const _0x1c19e0=_0x3e20bb;let _0x386d0c='';for(const _0x4c4b28 of _0x3d55e3){const {startOffset:_0x433c29,endOffset:_0x206e73,isActive:_0x3f7b20,rangeType:_0x233da3,segmentId:_0x4be929,segmentPage:_0x30b56e}=_0x4c4b28;_0x386d0c[_0x1c19e0(0x230)]&&(_0x386d0c+=','),_0x386d0c+=_0x433c29+':'+_0x206e73+':'+(_0x3f7b20?'1':'0')+':'+_0x233da3+':'+_0x4be929+':'+_0x30b56e;}return _0x386d0c;}function _0x154183(_0xf8dd65){const _0x22a182=_0x3e20bb,_0xb88db1=_0xf8dd65['split'](','),_0x189716=[];for(const _0x3b99d9 of _0xb88db1){const [_0x82a4f2,_0xa657e2,_0x1e63af,_0x38035b,_0x485e19,_0x5b6929]=_0x3b99d9[_0x22a182(0xeb)](':');_0x189716[_0x22a182(0x1a2)]({'startOffset':Number(_0x82a4f2),'endOffset':Number(_0xa657e2),'collapsed':_0x82a4f2===_0xa657e2,'isActive':_0x1e63af==='1','rangeType':_0x38035b===_0x233149['DOC_RANGE_TYPE'][_0x22a182(0x2af)]?_0x233149[_0x22a182(0x102)]['TEXT']:_0x233149[_0x22a182(0x102)][_0x22a182(0x245)],'segmentId':typeof _0x485e19==_0x22a182(0xf4)?String(_0x485e19):'','segmentPage':Number(_0x5b6929!=null?_0x5b6929:-0x1)});}return _0x189716['some'](_0x10f900=>_0x10f900[_0x22a182(0x1d0)])||(_0x189716[0x0][_0x22a182(0x1d0)]=!0x0),_0x189716;}class _0x573383 extends _0x233149[_0x3e20bb(0x237)]{constructor(){const _0xce7490=_0x3e20bb;super(...arguments),_0x18ecd9(this,'_collabCursorState$',new _0x12fec3[(_0xce7490(0x33e))](null)),_0x18ecd9(this,'collabCursorState$',this[_0xce7490(0x16f)]['asObservable']());}['syncEditingCollabCursor'](_0x59dd3a){const _0x24eca2=_0x3e20bb,{unitID:_0x3f1728,memberID:_0x1e0273,textRanges:_0x4a4d37}=_0x59dd3a,_0x36d33b=_0x29940a(_0x4a4d37);if(_0x36d33b==='')return;const _0x31f55c={'unitID':_0x3f1728,'memberID':_0x1e0273,'selection':_0x36d33b};this[_0x24eca2(0x16f)][_0x24eca2(0x148)](_0x31f55c);}}var _0x297c0b=Object[_0x3e20bb(0x18a)],_0x2d45c4=(_0x3a33fa,_0x159b09,_0x101bce,_0x45bce4)=>{for(var _0x39623b=_0x45bce4>0x1?void 0x0:_0x45bce4?_0x297c0b(_0x159b09,_0x101bce):_0x159b09,_0x10f271=_0x3a33fa['length']-0x1,_0x2742a2;_0x10f271>=0x0;_0x10f271--)(_0x2742a2=_0x3a33fa[_0x10f271])&&(_0x39623b=_0x2742a2(_0x39623b)||_0x39623b);return _0x39623b;},_0x108360=(_0x5eab3f,_0x247ec6)=>(_0x2739da,_0x466e58)=>_0x247ec6(_0x2739da,_0x466e58,_0x5eab3f);const _0x45783c=0x12c,_0xfb2bf=0x64;let _0x2da733=class extends _0x233149[_0x3e20bb(0x237)]{constructor(_0x283c67,_0x35b6ca,_0x3c8385,_0x4fa244,_0x2c5a51,_0x553bc8,_0x354a81,_0x5cd041,_0x30a186){const _0x2dd0cc=_0x3e20bb;super(),_0x18ecd9(this,_0x2dd0cc(0x110),!0x1),_0x18ecd9(this,_0x2dd0cc(0x362),!0x1),_0x18ecd9(this,'_cursorInfo$',new _0x12fec3[(_0x2dd0cc(0x33e))](new Map())),_0x18ecd9(this,'cursorInfo$',this[_0x2dd0cc(0x1f1)]['asObservable']()),_0x18ecd9(this,'_roomMembers$',new _0x12fec3[(_0x2dd0cc(0x33e))]([])),_0x18ecd9(this,_0x2dd0cc(0x365),this[_0x2dd0cc(0x194)][_0x2dd0cc(0x1ff)](_0x12fec3['debounceTime'](_0x45783c))),_0x18ecd9(this,_0x2dd0cc(0x2e5),_0x233149[_0x2dd0cc(0x2f4)](_0x1dee2a=>{const _0x5d0f58=_0x2dd0cc,_0x1361ce={'eventID':_0x16f706['CollaborationEvent'][_0x5d0f58(0x173)],'data':{'unitID':this[_0x5d0f58(0x2b6)],'memberID':this['_session'][_0x5d0f58(0x25b)](),'selection':_0x29940a(_0x1dee2a)}};this['_session'][_0x5d0f58(0x1da)](_0x1361ce,this[_0x5d0f58(0x2b6)]);},_0xfb2bf)),(this['unitID']=_0x283c67,this[_0x2dd0cc(0x235)]=_0x35b6ca,this[_0x2dd0cc(0x116)]=_0x3c8385,this[_0x2dd0cc(0x301)]=_0x4fa244,this['_memberService']=_0x2c5a51,this[_0x2dd0cc(0x31f)]=_0x553bc8,this[_0x2dd0cc(0x271)]=_0x354a81,this[_0x2dd0cc(0x1e2)]=_0x5cd041,this['_commandService']=_0x30a186);}get['cursorInfo'](){const _0xe613a0=_0x3e20bb;return this[_0xe613a0(0x1f1)]['getValue']();}get['roomMembers'](){const _0x53f91e=_0x3e20bb;return this['_roomMembers$'][_0x53f91e(0x1a6)]();}[_0x3e20bb(0x17a)](){const _0x451356=_0x3e20bb;super[_0x451356(0x17a)](),this[_0x451356(0x1f1)][_0x451356(0x148)](new Map()),this[_0x451356(0x1f1)][_0x451356(0x24c)](),this[_0x451356(0x194)][_0x451356(0x148)]([]),this[_0x451356(0x194)][_0x451356(0x24c)]();}[_0x3e20bb(0x14d)](){const _0x10d7fa=_0x3e20bb;this[_0x10d7fa(0x362)]||(this[_0x10d7fa(0x362)]=!0x0,this[_0x10d7fa(0x235)][_0x10d7fa(0x17b)]['pipe'](_0x12fec3['takeUntil'](this[_0x10d7fa(0x1e1)]))['subscribe'](_0x401f87=>{const _0x36db83=_0x10d7fa;_0x401f87===_0x14cc37[_0x36db83(0x2dd)][_0x36db83(0x281)]?this[_0x36db83(0x31b)]():this[_0x36db83(0x285)]();}),this[_0x10d7fa(0x235)][_0x10d7fa(0x201)][_0x10d7fa(0x1ff)](_0x12fec3[_0x10d7fa(0x28c)](this[_0x10d7fa(0x1e1)]))[_0x10d7fa(0x1be)](_0x4ce6a0=>{const _0x4280e5=_0x10d7fa,_0x3d5bcd=_0x4ce6a0['eventID'];_0x3d5bcd===_0x16f706[_0x4280e5(0x290)][_0x4280e5(0x173)]&&this[_0x4280e5(0x159)](_0x4ce6a0),_0x3d5bcd===_0x16f706[_0x4280e5(0x290)][_0x4280e5(0x208)]&&this[_0x4280e5(0x26b)](_0x4ce6a0);}),this['disposeWithMe'](this['_commandService'][_0x10d7fa(0x2ea)](_0x279c4d=>{const _0x4f5804=_0x10d7fa,_0x5c3d24=_0x279c4d[_0x4f5804(0x23b)];_0x5c3d24!=null&&this['_online']&&_0x279c4d['id']===_0x31d980[_0x4f5804(0x176)]['id']&&_0x5c3d24[_0x4f5804(0x15f)]===this[_0x4f5804(0x2b6)]&&_0x5c3d24[_0x4f5804(0x2b7)]===!0x1&&_0x5c3d24[_0x4f5804(0x246)][_0x4f5804(0x230)]>0x0&&this[_0x4f5804(0x2e5)](_0x5c3d24[_0x4f5804(0x246)]);})),this['_syncEditingCollabCursorService'][_0x10d7fa(0x10d)][_0x10d7fa(0x1ff)](_0x12fec3['takeUntil'](this['dispose$']))[_0x10d7fa(0x1be)](_0xa5dce5=>{const _0x31bbb0=_0x10d7fa;if((_0xa5dce5==null?void 0x0:_0xa5dce5['unitID'])!==this[_0x31bbb0(0x2b6)])return;const _0xb26631={'eventID':_0x16f706['CollaborationEvent'][_0x31bbb0(0x173)],'data':_0xa5dce5};this['_onCursorUpdate'](_0xb26631);}),this[_0x10d7fa(0x215)](this[_0x10d7fa(0xec)][_0x10d7fa(0x2ea)](_0x169892=>{const _0x4b806c=_0x10d7fa;if(_0x169892['params']==null)return;const _0x25c00f=_0x169892[_0x4b806c(0x23b)];if(_0x169892['id']!==_0x31d980[_0x4b806c(0x174)]['id']||_0x25c00f[_0x4b806c(0x15f)]!==this[_0x4b806c(0x2b6)])return;const _0xf7156={'id':_0x4b806c(0x2c8),'params':_0x25c00f},_0x21c0d1=this[_0x4b806c(0x1f2)];for(const [_0x40ad43,_0x158e6b]of _0x21c0d1){const _0x17d6c0={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x158e6b[_0x4b806c(0x246)]}},_0x247cdb=this[_0x4b806c(0x271)][_0x4b806c(0x24b)](_0xf7156,_0x17d6c0,!0x1);if(_0x16f706[_0x4b806c(0x2b8)](_0x247cdb))throw _0x247cdb['error'];_0x21c0d1['set'](_0x40ad43,{..._0x158e6b,'ranges':_0x247cdb[_0x4b806c(0x2e2)][_0x4b806c(0x23b)]['textRanges']});}queueMicrotask(()=>{const _0x507f2b=_0x4b806c;this[_0x507f2b(0x1f1)][_0x507f2b(0x148)](_0x21c0d1);});})));}['_onCursorUpdate'](_0x141c04){const _0x22231d=_0x3e20bb;var _0x37752f,_0x4041ae;const {memberID:_0x1fa24a,selection:_0x381f01}=_0x141c04[_0x22231d(0x214)],_0x34caa5=_0x154183(_0x381f01),_0xa055f6=(_0x4041ae=(_0x37752f=this[_0x22231d(0x319)]['getMember'](this[_0x22231d(0x2b6)],_0x1fa24a))==null?void 0x0:_0x37752f[_0x22231d(0x2c6)])!=null?_0x4041ae:_0x22231d(0x1cd),_0x2a9ba5={'color':this[_0x22231d(0x301)][_0x22231d(0x1d2)](_0x1fa24a),'name':_0xa055f6,'ranges':_0x34caa5},_0x411f23=this['cursorInfo'];_0x411f23[_0x22231d(0x256)](_0x1fa24a,_0x2a9ba5),this[_0x22231d(0x1f1)][_0x22231d(0x148)](_0x411f23);}[_0x3e20bb(0x26b)](_0x2b0393){const _0xbf206a=_0x3e20bb,{memberID:_0x46c890}=_0x2b0393['data'],_0x22a683=this[_0xbf206a(0x1f2)];_0x22a683['delete'](_0x46c890),this[_0xbf206a(0x1f1)]['next'](_0x22a683);}[_0x3e20bb(0x31b)](){const _0x3f57f3=_0x3e20bb;var _0x25c486;if(this[_0x3f57f3(0x110)]=!0x0,((_0x25c486=this[_0x3f57f3(0x1e2)][_0x3f57f3(0x170)]())==null?void 0x0:_0x25c486['getUnitId']())!==this['unitID'])return;const _0xd5679f=this['_injector'][_0x3f57f3(0x1d7)](_0x31d980[_0x3f57f3(0x114)])[_0x3f57f3(0x112)]();Array[_0x3f57f3(0x242)](_0xd5679f)&&_0xd5679f[_0x3f57f3(0x230)]>0x0&&this[_0x3f57f3(0x2e5)](_0xd5679f);}[_0x3e20bb(0x285)](){const _0xe0c81e=_0x3e20bb;this[_0xe0c81e(0x110)]=!0x1;}};_0x2da733=_0x2d45c4([_0x108360(0x2,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x108360(0x3,_0x233149[_0x3e20bb(0x20f)](_0xc47850)),_0x108360(0x4,_0x233149['Inject'](_0x14cc37[_0x3e20bb(0x366)])),_0x108360(0x5,_0x233149['Inject'](_0x573383)),_0x108360(0x6,_0x16f706['ITransformService']),_0x108360(0x7,_0x233149[_0x3e20bb(0x371)]),_0x108360(0x8,_0x233149['ICommandService'])],_0x2da733);var _0x2e19dd=Object['getOwnPropertyDescriptor'],_0x331924=(_0x3c500b,_0x217205,_0x37e164,_0x1e230d)=>{const _0x568355=_0x3e20bb;for(var _0x4ede28=_0x1e230d>0x1?void 0x0:_0x1e230d?_0x2e19dd(_0x217205,_0x37e164):_0x217205,_0x57eb7e=_0x3c500b[_0x568355(0x230)]-0x1,_0x331100;_0x57eb7e>=0x0;_0x57eb7e--)(_0x331100=_0x3c500b[_0x57eb7e])&&(_0x4ede28=_0x331100(_0x4ede28)||_0x4ede28);return _0x4ede28;},_0x470f34=(_0x4cbe8c,_0xd5c620)=>(_0x56f4b5,_0x5f0a62)=>_0xd5c620(_0x56f4b5,_0x5f0a62,_0x4cbe8c);const _0x396a68=0x12c,_0x365bd6=0x64,_0x36ef6b=()=>{let _0x40bda3=[],_0x4b521e=!0x1;return _0x1030a7=>{_0x40bda3['push'](_0x1030a7),_0x4b521e||(_0x4b521e=!0x0,setTimeout(()=>{const _0x2f9980=_0x31db;_0x40bda3[_0x2f9980(0x27f)](_0x288056=>_0x288056()),_0x40bda3=[],_0x4b521e=!0x1;}));};};let _0x29051=class extends _0x233149['RxDisposable']{constructor(_0x2bf1b9,_0x34d65a,_0x54180f,_0x5c876d,_0x24d5b7,_0x65b49e,_0x55e0c8,_0x21ec8e){const _0x5bf799=_0x3e20bb;super(),_0x18ecd9(this,'_online',!0x1),_0x18ecd9(this,_0x5bf799(0x362),!0x1),_0x18ecd9(this,'_cursorInfo$',new _0x12fec3[(_0x5bf799(0x33e))](new Map())),_0x18ecd9(this,_0x5bf799(0x2df),this[_0x5bf799(0x1f1)][_0x5bf799(0x188)]()),_0x18ecd9(this,_0x5bf799(0x194),new _0x12fec3['BehaviorSubject']([])),_0x18ecd9(this,_0x5bf799(0x365),this[_0x5bf799(0x194)][_0x5bf799(0x1ff)](_0x12fec3[_0x5bf799(0x144)](_0x396a68))),_0x18ecd9(this,'_updateLocalCursor',_0x233149['debounce']((_0xa1e172,_0x4282dc)=>{const _0x4a683d=_0x5bf799,_0x3ce4b4={'eventID':_0x16f706['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x4a683d(0x2b6)],'memberID':this[_0x4a683d(0x235)][_0x4a683d(0x25b)](),'selection':_0x1df0d9[_0x4a683d(0x2d2)](_0xa1e172,_0x4282dc[_0x4a683d(0x19b)])}};this['_session']['send'](_0x3ce4b4,this[_0x4a683d(0x2b6)]);},_0x365bd6)),(this[_0x5bf799(0x2b6)]=_0x2bf1b9,this['_session']=_0x34d65a,this[_0x5bf799(0x116)]=_0x54180f,this[_0x5bf799(0x301)]=_0x5c876d,this[_0x5bf799(0x319)]=_0x24d5b7,this[_0x5bf799(0x1e2)]=_0x65b49e,this['_commandService']=_0x55e0c8,this[_0x5bf799(0x349)]=_0x21ec8e);}get['cursorInfo'](){const _0x34fcaf=_0x3e20bb;return this[_0x34fcaf(0x1f1)]['getValue']();}get[_0x3e20bb(0x2c9)](){const _0xee2f28=_0x3e20bb;return this[_0xee2f28(0x194)][_0xee2f28(0x1a6)]();}[_0x3e20bb(0x17a)](){const _0xca7f28=_0x3e20bb;super['dispose'](),this[_0xca7f28(0x1f1)][_0xca7f28(0x148)](new Map()),this[_0xca7f28(0x1f1)][_0xca7f28(0x24c)](),this[_0xca7f28(0x194)][_0xca7f28(0x148)]([]),this[_0xca7f28(0x194)][_0xca7f28(0x24c)]();}[_0x3e20bb(0x14d)](){const _0x31e29b=_0x3e20bb;this[_0x31e29b(0x362)]||(this[_0x31e29b(0x362)]=!0x0,this['_session'][_0x31e29b(0x17b)][_0x31e29b(0x1ff)](_0x12fec3[_0x31e29b(0x28c)](this[_0x31e29b(0x1e1)]))[_0x31e29b(0x1be)](_0x3113d4=>{const _0x2a61c8=_0x31e29b;_0x3113d4===_0x14cc37[_0x2a61c8(0x2dd)][_0x2a61c8(0x281)]?this['_toggleOnline']():this[_0x2a61c8(0x285)]();}),this[_0x31e29b(0x235)][_0x31e29b(0x201)]['pipe'](_0x12fec3[_0x31e29b(0x28c)](this[_0x31e29b(0x1e1)]))[_0x31e29b(0x1be)](_0x450302=>{const _0x2f0d97=_0x31e29b,_0x4c93d0=_0x450302[_0x2f0d97(0x2ad)];_0x4c93d0===_0x16f706[_0x2f0d97(0x290)]['UPDATE_CURSOR']&&this[_0x2f0d97(0x159)](_0x450302),_0x4c93d0===_0x16f706['CollaborationEvent']['USERS_LEAVE']&&this[_0x2f0d97(0x26b)](_0x450302);}),this[_0x31e29b(0x25a)](),this[_0x31e29b(0x215)](this[_0x31e29b(0xec)][_0x31e29b(0x2ea)](_0xf6578c=>{const _0x3736f4=_0x31e29b;if(this[_0x3736f4(0x110)]&&_0xf6578c['id']===_0x21b9bf[_0x3736f4(0x21e)]['id']&&_0xf6578c[_0x3736f4(0x23b)][_0x3736f4(0x15f)]===this[_0x3736f4(0x2b6)]){const _0x1c7346=_0xf6578c[_0x3736f4(0x23b)];this[_0x3736f4(0x2e5)](_0x1c7346['subUnitId'],_0x1c7346['selections'][0x0]);}})));}[_0x3e20bb(0x159)](_0x3c13bf){const _0xf1c010=_0x3e20bb;var _0x4a3a0b,_0x5488a3;const {memberID:_0x20c82c,selection:_0x173efb}=_0x3c13bf[_0xf1c010(0x214)],{sheetName:_0x5f01d4,range:_0x134e3b}=_0x1df0d9[_0xf1c010(0x19e)](_0x173efb),_0x335a2d={'name':(_0x5488a3=(_0x4a3a0b=this[_0xf1c010(0x319)][_0xf1c010(0x131)](this[_0xf1c010(0x2b6)],_0x20c82c))==null?void 0x0:_0x4a3a0b[_0xf1c010(0x2c6)])!=null?_0x5488a3:_0xf1c010(0x1cd),'range':this[_0xf1c010(0x34b)](_0x5f01d4,_0x134e3b),'sheetID':_0x5f01d4,'color':this['_colorAssignService'][_0xf1c010(0x1d2)](_0x20c82c),'selection':_0x173efb},_0x5e1e50=this[_0xf1c010(0x1f2)];_0x5e1e50[_0xf1c010(0x256)](_0x20c82c,_0x335a2d),this['_cursorInfo$'][_0xf1c010(0x148)](_0x5e1e50);}['_onCursorDelete'](_0x27dd01){const _0x526fdc=_0x3e20bb,{memberID:_0x40716f}=_0x27dd01[_0x526fdc(0x214)],_0x3c7bf2=this['cursorInfo'];_0x3c7bf2[_0x526fdc(0x2e4)](_0x40716f),this[_0x526fdc(0x1f1)][_0x526fdc(0x148)](_0x3c7bf2);}[_0x3e20bb(0x34b)](_0x330813,_0x4865d8){const _0x49e966=_0x3e20bb;var _0x4ebc61,_0x3a6071;const _0x56b22d=(_0x3a6071=(_0x4ebc61=this[_0x49e966(0x1e2)]['getUniverSheetInstance'](this[_0x49e966(0x2b6)]))==null?void 0x0:_0x4ebc61['getSheetBySheetId'](_0x330813))==null?void 0x0:_0x3a6071[_0x49e966(0x1e0)]();return(_0x56b22d==null?void 0x0:_0x56b22d[_0x49e966(0x2a3)](_0x4810de=>_0x233149[_0x49e966(0x261)][_0x49e966(0x347)](_0x4810de,_0x4865d8)))||_0x4865d8;}[_0x3e20bb(0x25a)](){const _0x2e26b2=_0x3e20bb,_0x3e7d19=new _0x233149[(_0x2e26b2(0x146))](),_0x21d5bc=_0x36ef6b(),_0x3b1a4d=()=>{const _0x28a8d6=_0x2e26b2;_0x3e7d19[_0x28a8d6(0x17a)]();const _0x550944=(_0x105487,_0x5dff11,_0x1a180b,_0x2e899a)=>{const _0x5c965f=_0x28a8d6;let _0x4e430f=[];switch(_0x105487['id']){case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x2bf)]:{_0x4e430f=_0x21b9bf['handleDeleteRangeMoveLeft'](_0x105487,_0x2e899a);break;}case _0x21b9bf['EffectRefRangId'][_0x5c965f(0x1eb)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x193)](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x2f7)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x20b)](_0x105487,_0x2e899a);break;}case _0x21b9bf['EffectRefRangId'][_0x5c965f(0x307)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x192)](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x2cf)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x28a)](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x21f)]:{_0x4e430f=_0x21b9bf['handleInsertRow'](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x155)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x181)](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x14f)]:{_0x4e430f=_0x21b9bf['handleIRemoveCol'](_0x105487,_0x2e899a);break;}case _0x21b9bf[_0x5c965f(0x269)][_0x5c965f(0x225)]:{_0x4e430f=_0x21b9bf[_0x5c965f(0x127)](_0x105487,_0x2e899a);break;}}const _0xa429da=_0x21b9bf[_0x5c965f(0x11b)](_0x4e430f,_0x2e899a),_0x19187c=this['cursorInfo'][_0x5c965f(0x1d7)](_0x5dff11);if(_0x19187c&&_0xa429da){const _0x39cf7b={..._0x19187c,'range':_0xa429da};this['cursorInfo']['set'](_0x5dff11,_0x39cf7b),_0x21d5bc(()=>{const _0x2827ac=_0x5c965f,_0x59c4f4=this['_refRangeService'][_0x2827ac(0x276)](_0xa429da,_0x45182f=>(_0x59c4f4[_0x2827ac(0x17a)](),_0x550944(_0x45182f,_0x5dff11,_0x1a180b,_0xa429da)));_0x3e7d19[_0x2827ac(0x265)](_0x59c4f4);});}return{'redos':[],'undos':[]};};this[_0x28a8d6(0x1f2)][_0x28a8d6(0x27f)]((_0x4840f3,_0x2732b3)=>{const _0x57228a=_0x28a8d6,{range:_0x55e9b3,sheetID:_0x3d4074}=_0x4840f3,_0x24dee9=this[_0x57228a(0x349)][_0x57228a(0x276)](_0x55e9b3,_0x3e17db=>(_0x24dee9['dispose'](),_0x550944(_0x3e17db,_0x2732b3,_0x3d4074,_0x55e9b3)));_0x3e7d19[_0x57228a(0x265)](_0x24dee9);});};this[_0x2e26b2(0x215)](_0x233149[_0x2e26b2(0x103)](this[_0x2e26b2(0x1f1)]['subscribe'](()=>{_0x3b1a4d();})));}[_0x3e20bb(0x31b)](){const _0x8dc629=_0x3e20bb;var _0x53b2d7,_0x3abb80;if(this[_0x8dc629(0x110)]=!0x0,((_0x53b2d7=this[_0x8dc629(0x1e2)][_0x8dc629(0x170)]())==null?void 0x0:_0x53b2d7[_0x8dc629(0x11d)]())!==this['unitID'])return;const _0x50de8c=(_0x3abb80=this[_0x8dc629(0x116)]['get'](_0x21b9bf[_0x8dc629(0x1c9)])[_0x8dc629(0x1ae)]())==null?void 0x0:_0x3abb80[0x0],_0x5dbf51=this[_0x8dc629(0x1e2)]['getCurrentUnitForType'](_0x233149[_0x8dc629(0x38b)][_0x8dc629(0x2f1)])[_0x8dc629(0x175)]();_0x50de8c&&_0x5dbf51&&this[_0x8dc629(0x2e5)](_0x5dbf51[_0x8dc629(0x331)](),_0x50de8c);}['_toggleOffline'](){const _0x4752ad=_0x3e20bb;this[_0x4752ad(0x110)]=!0x1;}};_0x29051=_0x331924([_0x470f34(0x2,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x470f34(0x3,_0x233149[_0x3e20bb(0x20f)](_0xc47850)),_0x470f34(0x4,_0x233149[_0x3e20bb(0x20f)](_0x14cc37[_0x3e20bb(0x366)])),_0x470f34(0x5,_0x233149[_0x3e20bb(0x371)]),_0x470f34(0x6,_0x233149[_0x3e20bb(0x37b)]),_0x470f34(0x7,_0x233149[_0x3e20bb(0x20f)](_0x21b9bf['RefRangeService']))],_0x29051);var _0x2a095a=Object[_0x3e20bb(0x18a)],_0x5d24e5=(_0x3d5cca,_0x1ef3bf,_0x869ade,_0x3eaf15)=>{const _0x24b0e0=_0x3e20bb;for(var _0xf0a1dc=_0x3eaf15>0x1?void 0x0:_0x3eaf15?_0x2a095a(_0x1ef3bf,_0x869ade):_0x1ef3bf,_0xa1f8fe=_0x3d5cca[_0x24b0e0(0x230)]-0x1,_0x3b15ae;_0xa1f8fe>=0x0;_0xa1f8fe--)(_0x3b15ae=_0x3d5cca[_0xa1f8fe])&&(_0xf0a1dc=_0x3b15ae(_0xf0a1dc)||_0xf0a1dc);return _0xf0a1dc;},_0x5353b1=(_0x2d54bb,_0x51e532)=>(_0x3c928f,_0x3ef198)=>_0x51e532(_0x3c928f,_0x3ef198,_0x2d54bb);let _0x221bad=class extends _0x233149['RxDisposable']{constructor(_0x3be1b6,_0x2a19eb,_0x20b8fb){const _0x8af46=_0x3e20bb;super(),_0x18ecd9(this,_0x8af46(0x12d),new Map()),_0x18ecd9(this,_0x8af46(0x154),new _0x12fec3[(_0x8af46(0x198))]()),(this[_0x8af46(0x1e2)]=_0x3be1b6,this[_0x8af46(0x116)]=_0x2a19eb,this[_0x8af46(0x306)]=_0x20b8fb,this[_0x8af46(0x362)]());}[_0x3e20bb(0x17a)](){const _0x5869f0=_0x3e20bb;super[_0x5869f0(0x17a)](),this['_entityInit$'][_0x5869f0(0x24c)](),this[_0x5869f0(0x12d)][_0x5869f0(0x27f)](_0x3cdd92=>_0x3cdd92[_0x5869f0(0x17a)]());}[_0x3e20bb(0x106)](_0x1ff441){const _0x2fc853=_0x3e20bb;return this[_0x2fc853(0x12d)][_0x2fc853(0x1b0)](_0x1ff441)?this[_0x2fc853(0x12d)][_0x2fc853(0x1d7)](_0x1ff441)[_0x2fc853(0x2df)]:this[_0x2fc853(0x154)][_0x2fc853(0x1ff)](_0x12fec3[_0x2fc853(0x26c)](_0x2920b8=>_0x2920b8[_0x2fc853(0x2b6)]===_0x1ff441),_0x12fec3['switchMap'](_0x38b525=>_0x38b525[_0x2fc853(0x2df)]));}[_0x3e20bb(0x362)](){const _0x21af4c=_0x3e20bb;this[_0x21af4c(0x1e2)][_0x21af4c(0x19c)](_0x233149['UniverInstanceType'][_0x21af4c(0x2f1)])[_0x21af4c(0x1ff)](_0x12fec3[_0x21af4c(0x28c)](this['dispose$']))[_0x21af4c(0x1be)](async _0x67969e=>{const _0x53e125=_0x21af4c,_0x3c32ed=_0x67969e[_0x53e125(0x11d)](),_0x1cd55c=await this[_0x53e125(0x187)](_0x3c32ed);this[_0x53e125(0x154)]['next'](_0x1cd55c),this[_0x53e125(0x12d)]['set'](_0x3c32ed,_0x1cd55c);}),this[_0x21af4c(0x1e2)][_0x21af4c(0x19c)](_0x233149[_0x21af4c(0x38b)][_0x21af4c(0x2a1)])[_0x21af4c(0x1ff)](_0x12fec3['takeUntil'](this[_0x21af4c(0x1e1)]))['pipe'](_0x12fec3['filter'](_0x3eba12=>!_0x3eba12['getUnitId']()[_0x21af4c(0x20d)]('__')))[_0x21af4c(0x1be)](async _0x265abc=>{const _0x153a69=_0x21af4c,_0x5d2543=_0x265abc[_0x153a69(0x11d)](),_0x460da0=await this[_0x153a69(0x25e)](_0x5d2543);this[_0x153a69(0x154)][_0x153a69(0x148)](_0x460da0),this['_entities']['set'](_0x5d2543,_0x460da0);}),_0x12fec3[_0x21af4c(0x161)](this[_0x21af4c(0x1e2)]['getTypeOfUnitDisposed$'](_0x233149[_0x21af4c(0x38b)][_0x21af4c(0x2a1)]),this[_0x21af4c(0x1e2)][_0x21af4c(0x308)](_0x233149['UniverInstanceType'][_0x21af4c(0x2f1)]))['pipe'](_0x12fec3['takeUntil'](this[_0x21af4c(0x1e1)]))['subscribe'](_0x20af7b=>{const _0x27cbcd=_0x21af4c,_0x1c8c86=_0x20af7b['getUnitId'](),_0x12b606=this['_entities'][_0x27cbcd(0x1d7)](_0x1c8c86);_0x12b606&&(_0x12b606[_0x27cbcd(0x17a)](),this['_entities'][_0x27cbcd(0x2e4)](_0x1c8c86));});}async[_0x3e20bb(0x187)](_0x56d930){const _0x2c8d70=_0x3e20bb,_0x5bdd78=await this[_0x2c8d70(0x306)][_0x2c8d70(0x200)](_0x56d930),_0x4f80dc=this['_injector'][_0x2c8d70(0x221)](_0x29051,_0x56d930,_0x5bdd78);return _0x4f80dc['init'](),_0x4f80dc;}async[_0x3e20bb(0x25e)](_0x1b712e){const _0x3cbc84=_0x3e20bb,_0x20b7d6=await this[_0x3cbc84(0x306)][_0x3cbc84(0x200)](_0x1b712e),_0x9a814a=this[_0x3cbc84(0x116)][_0x3cbc84(0x221)](_0x2da733,_0x1b712e,_0x20b7d6);return _0x9a814a[_0x3cbc84(0x14d)](),_0x9a814a;}};_0x221bad=_0x5d24e5([_0x5353b1(0x0,_0x233149[_0x3e20bb(0x371)]),_0x5353b1(0x1,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x5353b1(0x2,_0x233149[_0x3e20bb(0x20f)](_0x14cc37[_0x3e20bb(0x377)]))],_0x221bad);const _0x17f2f0=0x14,_0x3f9796=0xc8,_0x34f942=0x4,_0x50e9a2=0x5;function _0x2bf7ca(_0x46ed8d,_0xddb40e){const _0x20a5b8=_0x3e20bb;let {radius:_0x174c9c,width:_0x347899,height:_0x2c93c9}=_0xddb40e;_0x174c9c=_0x174c9c!=null?_0x174c9c:0x0,_0x347899=_0x347899!=null?_0x347899:0x1e,_0x2c93c9=_0x2c93c9!=null?_0x2c93c9:0x1e;let _0x497401=0x0,_0x551130=0x0,_0x352bdc=0x0;_0x497401=_0x551130=_0x352bdc=Math['min'](_0x174c9c,_0x347899/0x2,_0x2c93c9/0x2),_0x46ed8d[_0x20a5b8(0x1ad)](),_0x46ed8d['moveTo'](_0x497401,0x0),_0x46ed8d[_0x20a5b8(0x124)](_0x347899-_0x551130,0x0),_0x46ed8d['arc'](_0x347899-_0x551130,_0x551130,_0x551130,Math['PI']*0x3/0x2,0x0,!0x1),_0x46ed8d[_0x20a5b8(0x124)](_0x347899,_0x2c93c9-_0x352bdc),_0x46ed8d['arc'](_0x347899-_0x352bdc,_0x2c93c9-_0x352bdc,_0x352bdc,0x0,Math['PI']/0x2,!0x1),_0x46ed8d[_0x20a5b8(0x124)](0x0,_0x2c93c9),_0x46ed8d['lineTo'](0x0,_0x497401),_0x46ed8d['arc'](_0x497401,_0x497401,_0x497401,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x46ed8d[_0x20a5b8(0x1a7)](),_0xddb40e['fill']&&(_0x46ed8d[_0x20a5b8(0x35f)](),_0x46ed8d[_0x20a5b8(0x316)]=_0xddb40e['fill'],_0xddb40e[_0x20a5b8(0x219)]===_0x20a5b8(0x22c)?_0x46ed8d[_0x20a5b8(0x207)]('evenodd'):_0x46ed8d[_0x20a5b8(0x207)](),_0x46ed8d['restore']());}class _0x43793b extends _0x5ee778[_0x3e20bb(0x1fe)]{constructor(_0x452243,_0x5813da){const _0x584e2c=_0x3e20bb;super(_0x452243,_0x5813da),_0x18ecd9(this,'color'),_0x18ecd9(this,_0x584e2c(0x202)),(this['color']=_0x5813da==null?void 0x0:_0x5813da['color'],this[_0x584e2c(0x202)]=_0x5813da==null?void 0x0:_0x5813da[_0x584e2c(0x202)]);}static['drawWith'](_0x5c5291,_0x1511d0){const _0x3098f9=_0x3e20bb,{text:_0xb29c6d,color:_0x11f56e}=_0x1511d0;_0x5c5291['save'](),_0x5c5291[_0x3098f9(0x327)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x382022=_0x5c5291[_0x3098f9(0x318)](_0xb29c6d)[_0x3098f9(0x381)],_0xf18259=Math[_0x3098f9(0x300)](_0x382022+0x2*_0x34f942,_0x3f9796);_0x2bf7ca(_0x5c5291,{'height':_0x17f2f0,'radius':0x4,'width':_0xf18259,'fill':_0x11f56e}),_0x5c5291[_0x3098f9(0x316)]=_0x3098f9(0x19d);const _0xf76f1f=_0x34f942,_0x1b1a89=_0x17f2f0-_0x50e9a2,_0x4771c0=_0x3f9796-0x2*_0x34f942;if(_0x382022>_0x4771c0){let _0x5cf794='',_0x4e8670=0x0;for(const _0x57ee9f of _0xb29c6d){const _0x50588c=_0x5c5291['measureText'](_0x57ee9f)[_0x3098f9(0x381)];if(_0x4e8670+_0x50588c<=_0x4771c0-_0x5c5291[_0x3098f9(0x318)]('...')['width'])_0x5cf794+=_0x57ee9f,_0x4e8670+=_0x50588c;else{_0x5cf794+=_0x3098f9(0x222);break;}}_0x5c5291[_0x3098f9(0x27c)](_0x5cf794,_0xf76f1f,_0x1b1a89);}else _0x5c5291[_0x3098f9(0x27c)](_0xb29c6d,_0xf76f1f,_0x1b1a89);_0x5c5291[_0x3098f9(0x139)]();}[_0x3e20bb(0x292)](_0x3d9672){const _0x5efd07=_0x3e20bb;_0x43793b[_0x5efd07(0x280)](_0x3d9672,this);}}const _0x81696a='collab-text-anchor-',_0x5b31fc=_0x3e20bb(0x21d),_0x4f7ed6=_0x3e20bb(0x147),_0x15725b=0x6,_0x5aad7a=1.5,_0x25a9c8=0x4,_0x3ddfab=1.5,_0x4c5a74=_0x3e20bb(0x30a);class _0x40ca3c{constructor(_0x44f0a7,_0x5741cb,_0x55fe31,_0x3a0739){const _0x16e44e=_0x3e20bb;_0x18ecd9(this,_0x16e44e(0x218),[]),_0x18ecd9(this,_0x16e44e(0x128),null),_0x18ecd9(this,_0x16e44e(0x2ee),null),_0x18ecd9(this,_0x16e44e(0x1fc),null),_0x18ecd9(this,_0x16e44e(0x1b1),null),_0x18ecd9(this,'_eventUnsubscribe',null),(this[_0x16e44e(0x35b)]=_0x44f0a7,this[_0x16e44e(0x341)]=_0x5741cb,this[_0x16e44e(0x2fa)]=_0x55fe31,this[_0x16e44e(0x2b1)]=_0x3a0739,this[_0x16e44e(0xed)]());}set[_0x3e20bb(0xf8)](_0x9e30aa){const _0x3f0e55=_0x3e20bb;_0x9e30aa?(this[_0x3f0e55(0x1fc)]&&this[_0x3f0e55(0x1fc)][_0x3f0e55(0x262)](),this[_0x3f0e55(0x2ee)]&&this['_textBubble'][_0x3f0e55(0x1ab)]()):(this[_0x3f0e55(0x1fc)]&&this[_0x3f0e55(0x1fc)][_0x3f0e55(0x1ab)](),this['_textBubble']&&this[_0x3f0e55(0x2ee)][_0x3f0e55(0x262)]());}[_0x3e20bb(0x17a)](){const _0x49bf0a=_0x3e20bb;for(const _0x3ad9ea of this['_shapes'])_0x3ad9ea[_0x49bf0a(0x17a)]();this[_0x49bf0a(0x2ee)]&&this[_0x49bf0a(0x2ee)][_0x49bf0a(0x17a)](),this[_0x49bf0a(0x1fc)]&&this[_0x49bf0a(0x1fc)][_0x49bf0a(0x17a)](),this[_0x49bf0a(0x128)]&&this[_0x49bf0a(0x128)][_0x49bf0a(0x17a)](),this['_eventUnsubscribe']&&this[_0x49bf0a(0x134)]();}[_0x3e20bb(0xed)](){const _0x554a66=_0x3e20bb;var _0x4144c7;const {_docSkeleton:_0x1cc711,_document:_0x12b793}=this,{color:_0x5715e4,name:_0x44832d,ranges:_0x1dac6f}=this[_0x554a66(0x35b)],_0x1b8254=_0x12b793[_0x554a66(0x22b)](),{docsLeft:_0x4d68a2,docsTop:_0x12b542}=_0x1b8254,_0x2812a2=new _0x35cd67[(_0x554a66(0x232))](_0x1b8254,_0x1cc711);for(const {startOffset:_0x1d2d7b,endOffset:_0x4d2390,rangeType:_0x2f3d9f,segmentId:_0x5ac905,segmentPage:_0x48d5b5,collapsed:_0x58c112,isActive:_0xdd3c0f}of _0x1dac6f){const _0x2186e8=_0x1cc711[_0x554a66(0x373)](_0x1d2d7b,!0x0,_0x5ac905,_0x48d5b5);let _0x46b827=_0x1cc711['findNodePositionByCharIndex'](_0x4d2390,!0x0,_0x5ac905,_0x48d5b5);if(_0x46b827==null&&(_0x46b827=_0x1cc711[_0x554a66(0x373)](_0x4d2390-0x1,!0x1,_0x5ac905,_0x48d5b5)),_0xdd3c0f){const {contentBoxPointGroup:_0x15d388}=_0x2812a2['getRangePointData'](_0x46b827,_0x46b827);if(_0x15d388[_0x554a66(0x230)]===0x0)continue;this['_drawAnchor'](_0x5715e4,_0x15d388,_0x4d68a2,_0x12b542,_0x44832d),this[_0x554a66(0x134)]=this[_0x554a66(0x2a5)]();}if(_0x2186e8&&_0x46b827){if(_0x2f3d9f===_0x233149[_0x554a66(0x102)][_0x554a66(0x245)]){const _0x38fa48=new _0x35cd67[(_0x554a66(0x348))](_0x1b8254,_0x1cc711),{pointGroup:_0x4620d5}=(_0x4144c7=_0x38fa48[_0x554a66(0x2bd)](_0x2186e8,_0x46b827))!=null?_0x4144c7:{};if(_0x4620d5==null||_0x4620d5[_0x554a66(0x230)]===0x0)continue;this[_0x554a66(0x109)](_0x5715e4,_0x4620d5,_0x4d68a2,_0x12b542);}else{if(!_0x58c112){const {borderBoxPointGroup:_0x2481b1}=_0x2812a2['getRangePointData'](_0x2186e8,_0x46b827);if(_0x2481b1['length']===0x0)continue;this[_0x554a66(0x2e0)](_0x5715e4,_0x2481b1,_0x4d68a2,_0x12b542);}}}}}[_0x3e20bb(0xf0)](_0x49d3ad,_0x4da1ee,_0x131f91,_0x31a3cc,_0x483a0e){const _0x462824=_0x3e20bb,_0x4770bc=this[_0x462824(0x385)](_0x4da1ee),{left:_0x1822bb,top:_0x3a1517,height:_0x205aa5}=_0x4770bc,_0x118bd7=this[_0x462824(0x30d)](),_0x166979=_0x3ddfab/_0x118bd7,_0x1fbaed=new _0x5ee778['Rect'](_0x81696a+_0x233149[_0x462824(0x13d)](_0x15725b),{'left':_0x1822bb+_0x131f91-_0x166979,'top':_0x3a1517+_0x31a3cc,'height':_0x205aa5,'width':_0x5aad7a,'fill':_0x49d3ad||_0x5ee778['getColor'](_0x233149[_0x462824(0x17c)][_0x462824(0x1ee)],0x0),'strokeWidth':_0x166979,'stroke':_0x4c5a74,'evented':!0x0});this[_0x462824(0x128)]=_0x1fbaed,this['_scene'][_0x462824(0x1dd)](_0x1fbaed,_0x35cd67[_0x462824(0x180)]);const _0x5d9ef6=new _0x5ee778[(_0x462824(0x1e5))](_0x81696a+_0x233149['generateRandomId'](_0x15725b),{'left':_0x1822bb+_0x131f91-_0x166979,'top':_0x3a1517+_0x31a3cc-_0x25a9c8/0x2,'height':_0x25a9c8,'width':_0x25a9c8,'fill':_0x49d3ad||_0x5ee778[_0x462824(0x34d)](_0x233149[_0x462824(0x17c)][_0x462824(0x1ee)],0x0),'strokeWidth':0x0,'stroke':_0x49d3ad||_0x5ee778[_0x462824(0x34d)](_0x233149[_0x462824(0x17c)][_0x462824(0x1ee)],0x0),'evented':!0x1});this[_0x462824(0x1fc)]=_0x5d9ef6,this[_0x462824(0x341)][_0x462824(0x1dd)](_0x5d9ef6,_0x35cd67['TEXT_RANGE_LAYER_INDEX']);const _0x238962=new _0x43793b(_0x81696a+_0x233149[_0x462824(0x13d)](_0x15725b),{'left':_0x1822bb+_0x131f91-_0x166979,'top':_0x3a1517+_0x31a3cc-_0x17f2f0,'text':_0x483a0e,'color':_0x49d3ad});this[_0x462824(0x2ee)]=_0x238962,this['_scene']['addObject'](_0x238962,_0x35cd67[_0x462824(0x180)]),this[_0x462824(0xf8)]=!0x1;}[_0x3e20bb(0x2a5)](){const _0x2efbed=_0x3e20bb,_0x32defb=this[_0x2efbed(0x128)][_0x2efbed(0x33b)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x35d051=this[_0x2efbed(0x128)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x372ca2=_0x2efbed;this[_0x372ca2(0x1b1)]&&clearTimeout(this[_0x372ca2(0x1b1)]),this[_0x372ca2(0x1b1)]=setTimeout(()=>{const _0x2ca0e8=_0x372ca2;this[_0x2ca0e8(0xf8)]=!0x1;},0x7d0);});return()=>{const _0x3c5ca0=_0x2efbed;_0x32defb[_0x3c5ca0(0x357)](),_0x35d051[_0x3c5ca0(0x357)]();};}[_0x3e20bb(0x2e0)](_0x4d2bb4,_0x159b7c,_0x3fca66,_0x3b3a14){const _0xf540bf=_0x3e20bb,_0x39f233=new _0x233149[(_0xf540bf(0x23f))](_0x4d2bb4)['setAlpha'](0.2)[_0xf540bf(0x13f)](),_0x2e72ae=new _0x5ee778[(_0xf540bf(0x1f8))](_0x5b31fc+_0x233149['generateRandomId'](_0x15725b),{'pointsGroup':_0x159b7c,'fill':_0x39f233||_0x5ee778['getColor'](_0x233149['COLORS']['black'],0.2),'left':_0x3fca66,'top':_0x3b3a14,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xf540bf(0x1a2)](_0x2e72ae),this['_scene'][_0xf540bf(0x1dd)](_0x2e72ae,_0x35cd67[_0xf540bf(0x180)]);}[_0x3e20bb(0x109)](_0x4a66ca,_0x1b0167,_0x4e68cf,_0xf09205){const _0x307a80=_0x3e20bb,_0x195cc6=new _0x233149[(_0x307a80(0x23f))](_0x4a66ca)[_0x307a80(0x163)](0.2)[_0x307a80(0x13f)](),_0x1dcaa7=new _0x5ee778[(_0x307a80(0x1f8))](_0x4f7ed6+_0x233149[_0x307a80(0x13d)](_0x15725b),{'pointsGroup':_0x1b0167,'fill':_0x195cc6||_0x5ee778[_0x307a80(0x34d)](_0x233149[_0x307a80(0x17c)][_0x307a80(0x1ee)],0.2),'left':_0x4e68cf,'top':_0xf09205,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x307a80(0x1a2)](_0x1dcaa7),this[_0x307a80(0x341)][_0x307a80(0x1dd)](_0x1dcaa7,_0x35cd67[_0x307a80(0x180)]);}[_0x3e20bb(0x385)](_0x1ffe7c){const _0x4e5011=_0x1ffe7c[0x0],_0x5998a5=_0x4e5011[0x0],_0x3e89d6=_0x4e5011[0x2],{x:_0x56e6ee,y:_0x5a1f82}=_0x5998a5,{x:_0x57d936,y:_0x5e8d55}=_0x3e89d6;return{'left':_0x56e6ee,'top':_0x5a1f82,'width':_0x57d936-_0x56e6ee,'height':_0x5e8d55-_0x5a1f82};}[_0x3e20bb(0x30d)](){const {scaleX:_0xfeca74,scaleY:_0x5b78f0}=this['_scene']['getAncestorScale']();return Math['max'](_0xfeca74,_0x5b78f0);}}var _0x192322=Object['getOwnPropertyDescriptor'],_0x218169=(_0x199061,_0x53b2ba,_0x5589b2,_0x4bde0c)=>{const _0x27d726=_0x3e20bb;for(var _0x38092b=_0x4bde0c>0x1?void 0x0:_0x4bde0c?_0x192322(_0x53b2ba,_0x5589b2):_0x53b2ba,_0x4e52e9=_0x199061[_0x27d726(0x230)]-0x1,_0x2d4cb3;_0x4e52e9>=0x0;_0x4e52e9--)(_0x2d4cb3=_0x199061[_0x4e52e9])&&(_0x38092b=_0x2d4cb3(_0x38092b)||_0x38092b);return _0x38092b;},_0x2df0e5=(_0x85529f,_0x41b114)=>(_0x2cae13,_0x1ad55b)=>_0x41b114(_0x2cae13,_0x1ad55b,_0x85529f);let _0x33ecbd=class extends _0x233149[_0x3e20bb(0x237)]{constructor(_0x2ea58b,_0x287f08,_0x5534ef,_0x598cfb,_0x2b619b){const _0x753f09=_0x3e20bb;super(),_0x18ecd9(this,'_cursorShapes',[]),_0x18ecd9(this,_0x753f09(0x268),[]),(this[_0x753f09(0x38c)]=_0x2ea58b,this['_docSkeletonManagerService']=_0x287f08,this['_collabCursorController']=_0x5534ef,this[_0x753f09(0xec)]=_0x598cfb,this[_0x753f09(0x297)]=_0x2b619b,this[_0x753f09(0x362)]());}[_0x3e20bb(0x362)](){const _0x2ed4e4=_0x3e20bb,_0x26c481=this[_0x2ed4e4(0x38c)][_0x2ed4e4(0x15f)],_0x1c8d7e=this[_0x2ed4e4(0x2dc)];this['disposeWithMe'](_0x12fec3[_0x2ed4e4(0x333)]([this['_collabCursorController'][_0x2ed4e4(0x106)](_0x26c481),this[_0x2ed4e4(0x297)][_0x2ed4e4(0xfb)]])['pipe'](_0x493a5f['map'](([_0x1dea28,_0x58d1b3])=>({'skeleton':_0x1c8d7e[_0x2ed4e4(0x115)](),'cursors':[..._0x1dea28[_0x2ed4e4(0x32e)]()][_0x2ed4e4(0x113)](_0x400af3=>({..._0x400af3,'color':this[_0x2ed4e4(0x297)]['getColorFromTheme'](_0x400af3[_0x2ed4e4(0x168)])}))})))['subscribe'](_0x1d011d=>{const _0x488b57=_0x2ed4e4;if(this[_0x488b57(0x10b)](),_0x1d011d){const {skeleton:_0xeefece,cursors:_0x4fd4ea}=_0x1d011d;this[_0x488b57(0x2cb)](_0xeefece,_0x4fd4ea);}})),this[_0x2ed4e4(0x243)](),this['_initCommandExecutedListener']();}[_0x3e20bb(0x2cb)](_0x5445af,_0x542794){const _0x168b5e=_0x3e20bb,{scene:_0x1a82ba,mainComponent:_0x51c774}=this[_0x168b5e(0x38c)],_0x126d1b=_0x542794[_0x168b5e(0x1d6)](_0x44806b=>new _0x40ca3c(_0x44806b,_0x1a82ba,_0x5445af,_0x51c774));this[_0x168b5e(0x107)]=_0x126d1b,this[_0x168b5e(0x268)]=_0x542794;}['_refreshCollabCursors'](){const _0x2225f1=_0x3e20bb;this[_0x2225f1(0x10b)]();const {scene:_0x5a64cb,mainComponent:_0x1850db}=this[_0x2225f1(0x38c)],_0x456dbe=this[_0x2225f1(0x2dc)]['getSkeleton'](),_0xa2b7d7=this['_cursors'][_0x2225f1(0x1d6)](_0x14fb86=>new _0x40ca3c(_0x14fb86,_0x5a64cb,_0x456dbe,_0x1850db));this[_0x2225f1(0x107)]=_0xa2b7d7;}[_0x3e20bb(0x10b)](){const _0xa17afd=_0x3e20bb;this[_0xa17afd(0x107)][_0xa17afd(0x27f)](_0x2bff92=>_0x2bff92['dispose']()),this[_0xa17afd(0x107)]=[];}['_initCommandExecutedListener'](){const _0x57fde8=_0x3e20bb,_0x99995e=[_0x35cd67[_0x57fde8(0x18e)]['id']];this[_0x57fde8(0x215)](this[_0x57fde8(0xec)][_0x57fde8(0x2ea)](_0x17ad98=>{const _0x456e8f=_0x57fde8;_0x99995e[_0x456e8f(0x267)](_0x17ad98['id'])&&_0x17ad98[_0x456e8f(0x23b)]['unitId']===this[_0x456e8f(0x38c)][_0x456e8f(0x15f)]&&this[_0x456e8f(0x172)]();}));}[_0x3e20bb(0x243)](){const _0x241718=_0x3e20bb;this[_0x241718(0x215)](_0x233149[_0x241718(0x272)](this[_0x241718(0x38c)][_0x241718(0x244)][_0x241718(0x358)])[_0x241718(0x1ff)](_0x493a5f['filter'](_0x4d54f=>_0x4d54f[_0x241718(0x353)]===_0x5ee778[_0x241718(0x284)][_0x241718(0x220)]),_0x493a5f[_0x241718(0x240)](0x10))[_0x241718(0x1be)](()=>{const _0x4a6d4f=_0x241718;this[_0x4a6d4f(0x172)]();}));}};_0x33ecbd=_0x218169([_0x2df0e5(0x1,_0x233149[_0x3e20bb(0x20f)](_0x31d980['DocSkeletonManagerService'])),_0x2df0e5(0x2,_0x233149[_0x3e20bb(0x20f)](_0x221bad)),_0x2df0e5(0x3,_0x233149[_0x3e20bb(0x37b)]),_0x2df0e5(0x4,_0x233149[_0x3e20bb(0x20f)](_0x233149['ThemeService']))],_0x33ecbd);const _0x4ee69b=0x1,_0x49aeed=1.5;class _0x3b379f extends _0x5ee778['Shape']{constructor(_0x1dbea5,_0x3308ee){const _0x481fa6=_0x3e20bb;super(_0x1dbea5,_0x3308ee),_0x18ecd9(this,'_color'),_0x18ecd9(this,'_hovered',!0x1),_0x18ecd9(this,'_range'),_0x18ecd9(this,_0x481fa6(0x32f),''),_0x18ecd9(this,_0x481fa6(0x350),_0x481fa6(0x2ed)),_0x18ecd9(this,'_backgroundColor'),(_0x3308ee&&this['setShapeProps'](_0x3308ee),this[_0x481fa6(0x33b)][_0x481fa6(0x291)](()=>this[_0x481fa6(0x186)]({'hovered':!0x0})),this[_0x481fa6(0x15a)][_0x481fa6(0x291)](()=>this[_0x481fa6(0x186)]({'hovered':!0x1})));}[_0x3e20bb(0x186)](_0x5a1fe5){const _0x73baf4=_0x3e20bb;var _0x4be165,_0x4e0dbc,_0x5474fe,_0x46d7a1,_0x5c7d77,_0x4cd220;this['_color']=(_0x4be165=_0x5a1fe5[_0x73baf4(0x168)])!=null?_0x4be165:this[_0x73baf4(0x35e)],this[_0x73baf4(0x369)]=(_0x4e0dbc=_0x5a1fe5[_0x73baf4(0x28e)])!=null?_0x4e0dbc:this['_hovered'],this[_0x73baf4(0x31e)]=(_0x5474fe=_0x5a1fe5[_0x73baf4(0x19b)])!=null?_0x5474fe:this[_0x73baf4(0x31e)],this[_0x73baf4(0x32f)]=(_0x46d7a1=_0x5a1fe5[_0x73baf4(0x2c6)])!=null?_0x46d7a1:this[_0x73baf4(0x32f)],this[_0x73baf4(0x350)]=(_0x5c7d77=_0x5a1fe5[_0x73baf4(0x2be)])!=null?_0x5c7d77:this['_labelPosition'],this['_backgroundColor']=(_0x4cd220=_0x5a1fe5['backgroundColor'])!=null?_0x4cd220:this[_0x73baf4(0x29b)],this['transformByState']({'width':_0x5a1fe5['width'],'height':_0x5a1fe5[_0x73baf4(0x10e)]});}[_0x3e20bb(0x2a6)](_0x581ed9){const _0x23c614=_0x3e20bb,{row:_0x446874,column:_0x4b02c1}=_0x581ed9;if(_0x446874>=this[_0x23c614(0x31e)][_0x23c614(0x359)]&&_0x446874<=this['_range']['endRow']&&_0x4b02c1>=this[_0x23c614(0x31e)]['startColumn']&&_0x4b02c1<=this['_range'][_0x23c614(0x2ff)]){this[_0x23c614(0x186)]({'hovered':!0x0});return;}this[_0x23c614(0x186)]({'hovered':!0x1});}[_0x3e20bb(0x36b)](_0x2d1ed6){return!0x1;}[_0x3e20bb(0x292)](_0x4d4df8){const _0x4dcca4=_0x3e20bb;_0x5ee778[_0x4dcca4(0x1e5)]['drawWith'](_0x4d4df8,{'width':this['width'],'height':this[_0x4dcca4(0x10e)],'strokeWidth':_0x49aeed,'stroke':this[_0x4dcca4(0x35e)],'evented':!0x1,'fill':this[_0x4dcca4(0x29b)]}),this[_0x4dcca4(0x369)]&&(_0x4d4df8[_0x4dcca4(0x35f)](),_0x4d4df8[_0x4dcca4(0x33a)](0x1,0x0,0x0,0x1,this['width'],this[_0x4dcca4(0x350)]==='bottom'?0x0:-_0x17f2f0),_0x43793b['drawWith'](_0x4d4df8,{'text':this[_0x4dcca4(0x32f)],'color':this[_0x4dcca4(0x35e)]}),_0x4d4df8['restore']());}}var _0x2c7ff8=Object[_0x3e20bb(0x18a)],_0x246849=(_0x2a1826,_0x32c17a,_0x3346d3,_0x4f69de)=>{for(var _0x3ac230=_0x4f69de>0x1?void 0x0:_0x4f69de?_0x2c7ff8(_0x32c17a,_0x3346d3):_0x32c17a,_0x2e4f47=_0x2a1826['length']-0x1,_0x383151;_0x2e4f47>=0x0;_0x2e4f47--)(_0x383151=_0x2a1826[_0x2e4f47])&&(_0x3ac230=_0x383151(_0x3ac230)||_0x3ac230);return _0x3ac230;},_0x57920a=(_0x5ab0c7,_0xe0c7e7)=>(_0x4e1afa,_0x1ebee2)=>_0xe0c7e7(_0x4e1afa,_0x1ebee2,_0x5ab0c7);const _0x25c630=0x1389;let _0x1c14f5=class extends _0x233149[_0x3e20bb(0x237)]{constructor(_0x1c7cfb,_0x17429f,_0x1b7533,_0x3a2961){const _0x2c6f86=_0x3e20bb;super(),_0x18ecd9(this,'_cursors',new Set()),_0x18ecd9(this,'_lastPointer',null),(this[_0x2c6f86(0x38c)]=_0x1c7cfb,this[_0x2c6f86(0x352)]=_0x17429f,this['_collabCursorController']=_0x1b7533,this[_0x2c6f86(0x297)]=_0x3a2961,this['_init']());}[_0x3e20bb(0x362)](){const _0x316117=_0x3e20bb;this['_sheetSkeletonManagerService'][_0x316117(0x31a)]['pipe'](_0x493a5f[_0x316117(0x28c)](this[_0x316117(0x1e1)]),_0x493a5f[_0x316117(0x1b4)](_0x1fb6ee=>{const _0x20848b=_0x316117;if(_0x1fb6ee){const _0x40cecf=_0x1fb6ee[_0x20848b(0x2b2)];return _0x12fec3['combineLatest'](this[_0x20848b(0x150)][_0x20848b(0x106)](this[_0x20848b(0x38c)]['unitId']),this[_0x20848b(0x297)][_0x20848b(0xfb)])[_0x20848b(0x1ff)](_0x493a5f[_0x20848b(0x1d6)](([_0x180b72,_0x35f6aa])=>{const _0x3be043=_0x20848b,_0x2f2a11=new Map();return _0x180b72[_0x3be043(0x27f)]((_0x1c1b87,_0x5e5693)=>{const _0x127418=_0x3be043;if(_0x1c1b87['sheetID']===_0x40cecf){const _0x4dd9e0={..._0x1c1b87};_0x4dd9e0[_0x127418(0x168)]=this[_0x127418(0x297)][_0x127418(0x1aa)](_0x1c1b87[_0x127418(0x168)]),_0x2f2a11[_0x127418(0x256)](_0x5e5693,_0x4dd9e0);}}),{'skeleton':_0x1fb6ee,'cursors':_0x2f2a11};}));}return _0x12fec3['of']({'skeleton':null,'cursors':new Map()});}))[_0x316117(0x1be)](({skeleton:_0x5c4179,cursors:_0x437c66})=>{const _0x1a4e7f=_0x316117;this[_0x1a4e7f(0x10b)](),_0x5c4179&&this[_0x1a4e7f(0x2cb)](_0x5c4179,_0x437c66);}),this[_0x316117(0x352)][_0x316117(0x31a)][_0x316117(0x1be)](_0x10d1ef=>{const _0x318670=_0x316117;if(_0x10d1ef==null)return;const {skeleton:_0x2a1ce3}=_0x10d1ef,{scene:_0x53d887}=this[_0x318670(0x38c)];_0x53d887[_0x318670(0x1a5)][_0x318670(0x291)](_0x233149['debounce'](_0x2a015d=>{const _0x488a5b=_0x318670;var _0x2a506a,_0x4a5b0a;const {offsetX:_0x4a72bf,offsetY:_0x41dc46}=_0x2a015d,{x:_0x3767ff,y:_0x32137a}=_0x53d887[_0x488a5b(0x302)](_0x5ee778[_0x488a5b(0x1c3)][_0x488a5b(0x130)]([_0x4a72bf,_0x41dc46])),{scaleX:_0x215b71,scaleY:_0x4d32a8}=_0x53d887['getAncestorScale'](),_0x1d7603=_0x53d887[_0x488a5b(0x16b)](_0x5ee778[_0x488a5b(0x1d3)][_0x488a5b(0x378)]),_0x2ccabe=_0x53d887[_0x488a5b(0x1a4)](_0x5ee778[_0x488a5b(0x1c3)][_0x488a5b(0x130)]([_0x3767ff,_0x32137a]),_0x1d7603),_0x58469b=_0x2a1ce3[_0x488a5b(0x1ac)](_0x4a72bf,_0x41dc46,_0x215b71,_0x4d32a8,_0x2ccabe);((_0x2a506a=this[_0x488a5b(0x2f6)])==null?void 0x0:_0x2a506a[_0x488a5b(0x18d)])===_0x58469b[_0x488a5b(0x18d)]&&((_0x4a5b0a=this[_0x488a5b(0x2f6)])==null?void 0x0:_0x4a5b0a[_0x488a5b(0x23c)])===_0x58469b[_0x488a5b(0x23c)]||this[_0x488a5b(0x268)][_0x488a5b(0x27f)](_0x374ad8=>{const _0x31f795=_0x488a5b;_0x374ad8[_0x31f795(0x2a6)](_0x58469b);});},0x64));});}[_0x3e20bb(0x2cb)](_0x14729e,_0x4223c4){const _0x163727=_0x3e20bb;var _0x384d8d;const _0x54774f=(_0x384d8d=this['_sheetSkeletonManagerService'][_0x163727(0x317)]())==null?void 0x0:_0x384d8d[_0x163727(0x2d1)];if(!_0x54774f)return;const _0x19eeb1=this[_0x163727(0x1fb)]();if(!_0x19eeb1)return;this[_0x163727(0x268)][_0x163727(0x27f)](_0x541d4d=>{const _0x95aa17=_0x163727;_0x541d4d[_0x95aa17(0x17e)]();});const {scene:_0xea81ec}=_0x19eeb1,_0x7a7042=_0x55705a(Array[_0x163727(0x26e)](_0x4223c4[_0x163727(0x32e)]()))['map'](_0x372578=>{const _0x117bd5=_0x163727,{color:_0x406186,range:_0x2e2bf7,name:_0x175662,selection:_0x39de9f,sheetID:_0x2d343f}=_0x372578,{startColumn:_0xf5ba07,startRow:_0xb7366a,endColumn:_0x4a88e3,endRow:_0x4ffa82}=_0x2e2bf7,_0x10bc94=_0xcb2717[_0x117bd5(0x32a)](_0xb7366a,_0xf5ba07,_0xea81ec,_0x54774f),_0x51d976=_0xcb2717[_0x117bd5(0x32a)](_0x4ffa82,_0x4a88e3,_0xea81ec,_0x54774f),{columnHeaderHeightAndMarginTop:_0xc1575b}=_0x54774f,{startX:_0xd7ffe5,startY:_0x4cd6db}=_0x10bc94,{endX:_0x418d5c,endY:_0x271bf3}=_0x51d976,_0x981ff4=_0x418d5c-_0xd7ffe5,_0x4e60d8=_0x271bf3-_0x4cd6db,_0x46b258={'labelPosition':_0x4cd6db-_0xc1575b>=_0x17f2f0?_0x117bd5(0x2ed):_0x117bd5(0x16d),'sheetID':_0x2d343f,'range':_0x2e2bf7,'color':_0x406186,'name':_0x175662,'selection':_0x39de9f,'left':_0xd7ffe5,'top':_0x4cd6db,'width':_0x981ff4,'height':_0x4e60d8,'evented':!0x1,'zIndex':_0x25c630};return new _0x3b379f(_0x175662,_0x46b258);});_0xea81ec[_0x163727(0x23a)](_0x7a7042,_0x4ee69b),this['_cursors']=new Set(_0x7a7042);}['_removeCollabCursors'](){const _0x10ee18=_0x3e20bb;var _0x1973cd;(_0x1973cd=this[_0x10ee18(0x268)])==null||_0x1973cd[_0x10ee18(0x27f)](_0x3d99d4=>_0x3d99d4[_0x10ee18(0x17a)]());}[_0x3e20bb(0x1fb)](){const _0x23a167=_0x3e20bb;return _0xcb2717[_0x23a167(0x277)](this[_0x23a167(0x38c)]['unit'],this[_0x23a167(0x38c)]);}};_0x1c14f5=_0x246849([_0x57920a(0x1,_0x233149['Inject'](_0xcb2717[_0x3e20bb(0x1a3)])),_0x57920a(0x2,_0x233149[_0x3e20bb(0x20f)](_0x221bad)),_0x57920a(0x3,_0x233149['Inject'](_0x233149['ThemeService']))],_0x1c14f5);function _0x55705a(_0x10c2b6){const _0x2265b2=_0x3e20bb,_0x2aa13e=new Map();return _0x10c2b6[_0x2265b2(0x27f)](_0x4607b1=>{const _0x17639c=_0x2265b2;if(_0x2aa13e[_0x17639c(0x1b0)](_0x4607b1[_0x17639c(0x1db)])){const _0x4e0a91=_0x2aa13e[_0x17639c(0x1d7)](_0x4607b1[_0x17639c(0x1db)]);_0x4e0a91['name']+=',\x20'+_0x4607b1['name'];}else _0x2aa13e[_0x17639c(0x256)](_0x4607b1['selection'],_0x4607b1);}),Array[_0x2265b2(0x26e)](_0x2aa13e[_0x2265b2(0x32e)]());}var _0x512ee3=Object[_0x3e20bb(0x18a)],_0x392f5b=(_0x40b1ce,_0x268193,_0x152845,_0x1ca9f2)=>{const _0x1e4514=_0x3e20bb;for(var _0x4f2613=_0x1ca9f2>0x1?void 0x0:_0x1ca9f2?_0x512ee3(_0x268193,_0x152845):_0x268193,_0x950b57=_0x40b1ce[_0x1e4514(0x230)]-0x1,_0x335df3;_0x950b57>=0x0;_0x950b57--)(_0x335df3=_0x40b1ce[_0x950b57])&&(_0x4f2613=_0x335df3(_0x4f2613)||_0x4f2613);return _0x4f2613;},_0xce51b1=(_0xe1ff6d,_0x2a1083)=>(_0x4929b0,_0x58fb11)=>_0x2a1083(_0x4929b0,_0x58fb11,_0xe1ff6d);let _0x51fdcb=class extends _0x233149[_0x3e20bb(0x315)]{constructor(_0x46650f,_0x37e302,_0x3b9fe2,_0x955576,_0x639383,_0x500075){const _0x4c8d31=_0x3e20bb;super(),this['_beforeCloseService']=_0x46650f,this[_0x4c8d31(0x37e)]=_0x37e302,this['_collaborationUIEventService']=_0x3b9fe2,this[_0x4c8d31(0x1ca)]=_0x955576,this[_0x4c8d31(0x351)]=_0x639383,this['_localeService']=_0x500075,this[_0x4c8d31(0xfe)](),this[_0x4c8d31(0x1f7)]();}[_0x3e20bb(0xfe)](){const _0x49687e=_0x3e20bb;this['disposeWithMe'](this[_0x49687e(0x213)][_0x49687e(0x1a1)](()=>{const _0x39f163=_0x49687e;if(this[_0x39f163(0x37e)]['saveTaskMap'][_0x39f163(0x24a)])return this[_0x39f163(0x197)]['t'](_0x39f163(0x142));}));}[_0x3e20bb(0x1f7)](){const _0x1223dc=_0x3e20bb;this[_0x1223dc(0x215)](this[_0x1223dc(0x2ce)]['event$'][_0x1223dc(0x1be)](_0x14aec2=>{const _0x4a5d77=_0x1223dc;_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)]['OTHER_CLIENT_EDITING']&&this[_0x4a5d77(0x1ca)][_0x4a5d77(0x1ab)]({'type':_0x14667c[_0x4a5d77(0x254)][_0x4a5d77(0x210)],'content':this[_0x4a5d77(0x197)]['t'](_0x4a5d77(0x345))}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)][_0x4a5d77(0xfc)]&&this['_messageService'][_0x4a5d77(0x1ab)]({'type':_0x14667c[_0x4a5d77(0x254)][_0x4a5d77(0x210)],'content':this[_0x4a5d77(0x197)]['t'](_0x4a5d77(0x28d))}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)]['PERMISSION_DENIED']&&this[_0x4a5d77(0x351)][_0x4a5d77(0x1ab)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x4a5d77(0x197)]['t'](_0x4a5d77(0x14c)),'type':_0x4a5d77(0x22a),'duration':0x0}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)][_0x4a5d77(0x126)]&&this['_messageService'][_0x4a5d77(0x1ab)]({'type':_0x14667c[_0x4a5d77(0x254)][_0x4a5d77(0x249)],'content':this['_localeService']['t'](_0x4a5d77(0x28d))+'('+_0x14aec2[_0x4a5d77(0x214)]+')'}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)]['JOIN_ROOM_FAILED']&&this[_0x4a5d77(0x1ca)]['show']({'type':_0x14667c['MessageType'][_0x4a5d77(0x210)],'content':this['_localeService']['t'](_0x14aec2[_0x4a5d77(0x214)]||'')}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)][_0x4a5d77(0x2b9)]&&this[_0x4a5d77(0x1ca)]['show']({'type':_0x14667c[_0x4a5d77(0x254)]['Warning'],'content':this[_0x4a5d77(0x197)]['t'](_0x4a5d77(0x376))}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)][_0x4a5d77(0x320)]&&this[_0x4a5d77(0x1ca)]['show']({'type':_0x14667c[_0x4a5d77(0x254)][_0x4a5d77(0x249)],'content':this['_localeService']['t'](_0x4a5d77(0x2aa))}),_0x14aec2['id']===_0x14cc37[_0x4a5d77(0x12e)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x14667c['MessageType'][_0x4a5d77(0x249)],'content':this[_0x4a5d77(0x197)]['t'](_0x4a5d77(0x2fd))});}));}};_0x51fdcb=_0x392f5b([_0xce51b1(0x0,_0x5ec1c1[_0x3e20bb(0x1e6)]),_0xce51b1(0x1,_0x14cc37['ILocalCacheService']),_0xce51b1(0x2,_0x233149[_0x3e20bb(0x20f)](_0x14cc37[_0x3e20bb(0x309)])),_0xce51b1(0x3,_0x5ec1c1[_0x3e20bb(0x178)]),_0xce51b1(0x4,_0x5ec1c1[_0x3e20bb(0x23d)]),_0xce51b1(0x5,_0x233149['Inject'](_0x233149['LocaleService']))],_0x51fdcb);const _0xb605fd='collaboration-client-ui.config',_0x202710={};var _0x454336=Object[_0x3e20bb(0x18a)],_0x1ad895=(_0xd853c2,_0x4f9752,_0x27282b,_0x4a7b35)=>{const _0x50e620=_0x3e20bb;for(var _0x33270c=_0x4a7b35>0x1?void 0x0:_0x4a7b35?_0x454336(_0x4f9752,_0x27282b):_0x4f9752,_0x4980f7=_0xd853c2[_0x50e620(0x230)]-0x1,_0x292d70;_0x4980f7>=0x0;_0x4980f7--)(_0x292d70=_0xd853c2[_0x4980f7])&&(_0x33270c=_0x292d70(_0x33270c)||_0x33270c);return _0x33270c;},_0x245597=(_0x99cfff,_0x5e6b88)=>(_0x334b81,_0x5422aa)=>_0x5e6b88(_0x334b81,_0x5422aa,_0x99cfff);let _0x2985fb=class{constructor(_0x29fc17,_0x2de1d2){const _0x426f3b=_0x3e20bb;this[_0x426f3b(0x271)]=_0x29fc17,this[_0x426f3b(0x12f)]=_0x2de1d2;}[_0x3e20bb(0x229)](_0x4b85d8){const _0x1cdb66=_0x3e20bb;this[_0x1cdb66(0x203)](_0x4b85d8),this['_transformPreviousActiveRange'](_0x4b85d8);}[_0x3e20bb(0x273)](_0x2f5622){const _0x51104a=_0x3e20bb,{unitID:_0x37459d}=_0x2f5622,_0xa70ef=this[_0x51104a(0x12f)]['getRenderById'](_0x37459d)['with'](_0x35cd67['DocIMEInputManagerService']),{redoCache:_0x1536ce}=_0xa70ef[_0x51104a(0x355)]();if(_0x1536ce['length']===0x0)return _0x2f5622;let _0x1c68c5=_0x233149[_0x51104a(0x29c)][_0x51104a(0x23e)](_0x2f5622[_0x51104a(0x344)][0x0]);for(let _0x2fd5f8=0x0;_0x2fd5f8<_0x1536ce[_0x51104a(0x230)];_0x2fd5f8++){const _0x5641c6={'id':'doc.mutation.rich-text-editing','params':{..._0x1536ce[_0x2fd5f8]}},_0x207721=this[_0x51104a(0x271)]['transformMutation'](_0x1c68c5,_0x5641c6,!0x1);if(_0x16f706[_0x51104a(0x2b8)](_0x207721))throw _0x207721[_0x51104a(0x22a)];_0x1c68c5=_0x207721[_0x51104a(0x2e9)];}return{..._0x233149[_0x51104a(0x29c)][_0x51104a(0x23e)](_0x2f5622),'mutations':[_0x1c68c5]};}[_0x3e20bb(0x203)](_0x2870bf){const _0x4543db=_0x3e20bb,{unitID:_0x242856}=_0x2870bf,_0x33d18=this[_0x4543db(0x12f)]['getRenderById'](_0x242856)[_0x4543db(0x2f9)](_0x35cd67[_0x4543db(0x165)]),{undoCache:_0x1c2923,redoCache:_0xc6535d}=_0x33d18[_0x4543db(0x355)]();if(_0x1c2923[_0x4543db(0x230)]===0x0||_0xc6535d['length']===0x0)return;const _0x3e1d50=[],_0xeb02a2=[];let _0x2efc6b=_0x233149[_0x4543db(0x29c)][_0x4543db(0x23e)](_0x2870bf['mutations'][0x0]),_0x500cc5=_0x233149[_0x4543db(0x29c)][_0x4543db(0x23e)](_0x2870bf[_0x4543db(0x344)][0x0]);for(let _0x3e410b=_0x1c2923[_0x4543db(0x230)]-0x1;_0x3e410b>=0x0;_0x3e410b--){const _0x34d535={'id':_0x4543db(0x2c8),'params':{..._0x1c2923[_0x3e410b]}},_0x4ae441={'id':_0x4543db(0x2c8),'params':{..._0xc6535d[_0x3e410b]}},_0x4cd39d=this[_0x4543db(0x271)]['transformMutation'](_0x2efc6b,_0x34d535,!0x1),_0xf286a6=this['_transformService'][_0x4543db(0x24b)](_0x500cc5,_0x4ae441,!0x1);if(_0x16f706[_0x4543db(0x2b8)](_0x4cd39d))throw _0x4cd39d[_0x4543db(0x22a)];if(_0x16f706[_0x4543db(0x2b8)](_0xf286a6))throw _0xf286a6['error'];_0x3e1d50['unshift'](_0x4cd39d['m2Prime'][_0x4543db(0x23b)]),_0xeb02a2['unshift'](_0xf286a6[_0x4543db(0x2e2)]['params']),_0x2efc6b=_0x4cd39d[_0x4543db(0x2e9)],_0x500cc5=_0xf286a6[_0x4543db(0x2e9)];}_0x33d18['setUndoRedoMutationParamsCache']({'undoCache':_0x3e1d50,'redoCache':_0xeb02a2});}[_0x3e20bb(0x145)](_0x2f36c3){const _0x1d5d5d=_0x3e20bb,{unitID:_0x581393}=_0x2f36c3,_0x2ac7ba=this[_0x1d5d5d(0x12f)][_0x1d5d5d(0x25d)](_0x581393)[_0x1d5d5d(0x2f9)](_0x35cd67[_0x1d5d5d(0x165)]),_0x2f229f=_0x2ac7ba[_0x1d5d5d(0x199)]();if(_0x2f229f==null)return;const _0x3e2057=[{'id':_0x1d5d5d(0x2c8),'params':{'unitId':_0x2f36c3['unitID'],'actions':null,'textRanges':[_0x2f229f]}}],_0x2d33a3=this[_0x1d5d5d(0x271)]['transformMutationsWithChangeset'](_0x2f36c3,_0x3e2057);if(!_0x16f706['isTransformMutationsWithChangesetSuccess'](_0x2d33a3))throw _0x2d33a3[_0x1d5d5d(0x22a)];const _0x451a8e=_0x2d33a3[_0x1d5d5d(0x2e2)][0x0][_0x1d5d5d(0x23b)]['textRanges'];Array['isArray'](_0x451a8e)&&_0x451a8e[_0x1d5d5d(0x230)]&&_0x2ac7ba[_0x1d5d5d(0x374)](_0x451a8e[0x0]);}};_0x2985fb=_0x1ad895([_0x245597(0x0,_0x16f706[_0x3e20bb(0x375)]),_0x245597(0x1,_0x5ee778[_0x3e20bb(0x1d1)])],_0x2985fb);var _0x345349=Object['getOwnPropertyDescriptor'],_0x923728=(_0x3ac6b1,_0x198401,_0x4dabcb,_0x472ea5)=>{const _0x163325=_0x3e20bb;for(var _0x1d08a7=_0x472ea5>0x1?void 0x0:_0x472ea5?_0x345349(_0x198401,_0x4dabcb):_0x198401,_0x4d77cc=_0x3ac6b1[_0x163325(0x230)]-0x1,_0x38665a;_0x4d77cc>=0x0;_0x4d77cc--)(_0x38665a=_0x3ac6b1[_0x4d77cc])&&(_0x1d08a7=_0x38665a(_0x1d08a7)||_0x1d08a7);return _0x1d08a7;},_0x240b13=(_0x1e382f,_0xf6c3c6)=>(_0x49b186,_0x54abe1)=>_0xf6c3c6(_0x49b186,_0x54abe1,_0x1e382f);let _0x29d91d=class{constructor(_0x4c709e,_0x1cc17e,_0x521425){const _0x1cf607=_0x3e20bb;this['_injector']=_0x4c709e,this[_0x1cf607(0x271)]=_0x1cc17e,this[_0x1cf607(0x2ac)]=_0x521425;}[_0x3e20bb(0x158)](_0x104b86){const _0x2fd9f2=_0x3e20bb;this[_0x2fd9f2(0x1a8)](_0x104b86);}['transformRemoteChangeset'](_0xa657e1){const _0x204ca5=_0x3e20bb,{unitID:_0x14388c}=_0xa657e1,{collaboration:_0x1a0e48}=this['_docStateChangeManagerService']['getStateCache'](_0x14388c);if(_0x1a0e48[_0x204ca5(0x230)]===0x0)return _0xa657e1;let _0x54aaa4=_0x233149[_0x204ca5(0x29c)][_0x204ca5(0x23e)](_0xa657e1[_0x204ca5(0x344)][0x0]);for(let _0x51fc1d=0x0;_0x51fc1d<_0x1a0e48[_0x204ca5(0x230)];_0x51fc1d++){const _0x3de456={'id':_0x204ca5(0x2c8),'params':{'unitId':_0x1a0e48[_0x51fc1d]['unitId'],..._0x1a0e48[_0x51fc1d][_0x204ca5(0x326)]}},_0x193e39=this[_0x204ca5(0x271)][_0x204ca5(0x24b)](_0x54aaa4,_0x3de456,!0x1);if(_0x16f706[_0x204ca5(0x2b8)](_0x193e39))throw _0x193e39[_0x204ca5(0x22a)];_0x54aaa4=_0x193e39[_0x204ca5(0x2e9)];}return{..._0x233149[_0x204ca5(0x29c)][_0x204ca5(0x23e)](_0xa657e1),'mutations':[_0x54aaa4]};}['_transformHistoryAndStateStack'](_0x38e3f5){const _0x122ef7=_0x3e20bb,{unitID:_0x335b04}=_0x38e3f5,{history:_0xe8a1b2,collaboration:_0x25135b}=this[_0x122ef7(0x2ac)]['getStateCache'](_0x335b04);if(_0xe8a1b2[_0x122ef7(0x230)]===0x0&&_0x25135b[_0x122ef7(0x230)]===0x0)return;const _0x2db9d4=[],_0x48bf7c=[];let _0x430f6f=_0x233149[_0x122ef7(0x29c)][_0x122ef7(0x23e)](_0x38e3f5[_0x122ef7(0x344)][0x0]),_0x31e88b=_0x233149['Tools'][_0x122ef7(0x23e)](_0x38e3f5['mutations'][0x0]);for(let _0x215b4a=_0xe8a1b2['length']-0x1;_0x215b4a>=0x0;_0x215b4a--){const _0x5e0532={'id':_0x122ef7(0x2c8),'params':{'unitId':_0xe8a1b2[_0x215b4a][_0x122ef7(0x15f)],..._0xe8a1b2[_0x215b4a]['undoState']}},_0x2d1f5b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe8a1b2[_0x215b4a][_0x122ef7(0x15f)],..._0xe8a1b2[_0x215b4a][_0x122ef7(0x326)]}},_0x29f365=this[_0x122ef7(0x271)]['transformMutation'](_0x430f6f,_0x5e0532,!0x1),_0x171a21=this[_0x122ef7(0x271)][_0x122ef7(0x24b)](_0x31e88b,_0x2d1f5b,!0x1);if(_0x16f706['isTransformMutationFailure'](_0x29f365))throw _0x29f365['error'];if(_0x16f706[_0x122ef7(0x2b8)](_0x171a21))throw _0x171a21['error'];_0x2db9d4[_0x122ef7(0x16c)]({..._0xe8a1b2[_0x215b4a],'undoState':_0x29f365[_0x122ef7(0x2e2)][_0x122ef7(0x23b)],'redoState':_0x171a21['m2Prime'][_0x122ef7(0x23b)]}),_0x430f6f=_0x29f365[_0x122ef7(0x2e9)],_0x31e88b=_0x171a21[_0x122ef7(0x2e9)];}_0x430f6f=_0x233149[_0x122ef7(0x29c)]['deepClone'](_0x38e3f5[_0x122ef7(0x344)][0x0]),_0x31e88b=_0x233149['Tools'][_0x122ef7(0x23e)](_0x38e3f5[_0x122ef7(0x344)][0x0]);for(let _0x5dd168=_0x25135b[_0x122ef7(0x230)]-0x1;_0x5dd168>=0x0;_0x5dd168--){const _0x44caf5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x25135b[_0x5dd168][_0x122ef7(0x15f)],..._0x25135b[_0x5dd168][_0x122ef7(0xf5)]}},_0x4fd7b2={'id':_0x122ef7(0x2c8),'params':{'unitId':_0x25135b[_0x5dd168][_0x122ef7(0x15f)],..._0x25135b[_0x5dd168][_0x122ef7(0x326)]}},_0x474212=this[_0x122ef7(0x271)][_0x122ef7(0x24b)](_0x430f6f,_0x44caf5,!0x1),_0x389d69=this['_transformService'][_0x122ef7(0x24b)](_0x31e88b,_0x4fd7b2,!0x1);if(_0x16f706[_0x122ef7(0x2b8)](_0x474212))throw _0x474212[_0x122ef7(0x22a)];if(_0x16f706[_0x122ef7(0x2b8)](_0x389d69))throw _0x389d69[_0x122ef7(0x22a)];_0x48bf7c[_0x122ef7(0x16c)]({..._0x25135b[_0x5dd168],'undoState':_0x474212['m2Prime']['params'],'redoState':_0x389d69['m2Prime'][_0x122ef7(0x23b)]}),_0x430f6f=_0x474212[_0x122ef7(0x2e9)],_0x31e88b=_0x389d69['m1Prime'];}this[_0x122ef7(0x2ac)]['setStateCache'](_0x335b04,{'history':_0x2db9d4,'collaboration':_0x48bf7c});}};_0x29d91d=_0x923728([_0x240b13(0x0,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x240b13(0x1,_0x16f706[_0x3e20bb(0x375)]),_0x240b13(0x2,_0x233149['Inject'](_0x35cd67[_0x3e20bb(0x34a)]))],_0x29d91d);var _0x4ff3ab=Object[_0x3e20bb(0x18a)],_0x5b0256=(_0x3e94e4,_0x7f19f1,_0x1b7c6e,_0x1c95de)=>{const _0x187019=_0x3e20bb;for(var _0x3d2c3f=_0x1c95de>0x1?void 0x0:_0x1c95de?_0x4ff3ab(_0x7f19f1,_0x1b7c6e):_0x7f19f1,_0x40c23e=_0x3e94e4[_0x187019(0x230)]-0x1,_0x2e1715;_0x40c23e>=0x0;_0x40c23e--)(_0x2e1715=_0x3e94e4[_0x40c23e])&&(_0x3d2c3f=_0x2e1715(_0x3d2c3f)||_0x3d2c3f);return _0x3d2c3f;},_0x448f1f=(_0x4ac14d,_0x15691e)=>(_0x5556ed,_0x4f91be)=>_0x15691e(_0x5556ed,_0x4f91be,_0x4ac14d);let _0x3a9659=class{constructor(_0x479c3a,_0x25dd70){const _0x4c2321=_0x3e20bb;this['_injector']=_0x479c3a,this[_0x4c2321(0x271)]=_0x25dd70;}[_0x3e20bb(0x2ab)](_0xfe4b1f){const _0x189d82=_0x3e20bb;var _0x380d8c;const _0x57472a=this[_0x189d82(0x116)]['get'](_0x31d980['DocSelectionManagerService']),_0x367b6e=(_0x380d8c=_0x57472a[_0x189d82(0x112)]())!=null?_0x380d8c:[];if(_0x367b6e[_0x189d82(0x230)]===0x0)return;const _0x4a5b6a=_0xfe4b1f[_0x189d82(0x2b6)],_0x56673a=[{'id':_0x189d82(0x2c8),'params':{'unitId':_0x4a5b6a,'actions':null,'textRanges':_0x367b6e}}],_0x2da9e7=this['_transformService'][_0x189d82(0x234)](_0xfe4b1f,_0x56673a);if(!_0x16f706[_0x189d82(0x20a)](_0x2da9e7))throw _0x2da9e7[_0x189d82(0x22a)];const _0x1048da=_0x2da9e7[_0x189d82(0x2e2)][0x0]['params']['textRanges'];Array[_0x189d82(0x242)](_0x1048da)&&_0x1048da['length']&&_0x57472a[_0x189d82(0xff)](_0x1048da,{'unitId':_0x4a5b6a,'subUnitId':_0x4a5b6a},!0x1);}};_0x3a9659=_0x5b0256([_0x448f1f(0x0,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x448f1f(0x1,_0x16f706[_0x3e20bb(0x375)])],_0x3a9659);var _0x37f184=Object[_0x3e20bb(0x18a)],_0x2734d1=(_0x2e6c2f,_0x1e0ec8,_0x1aa7f5,_0x1f8570)=>{const _0x162f71=_0x3e20bb;for(var _0x1d3ad3=_0x1f8570>0x1?void 0x0:_0x1f8570?_0x37f184(_0x1e0ec8,_0x1aa7f5):_0x1e0ec8,_0x5b89f2=_0x2e6c2f[_0x162f71(0x230)]-0x1,_0x3eafd1;_0x5b89f2>=0x0;_0x5b89f2--)(_0x3eafd1=_0x2e6c2f[_0x5b89f2])&&(_0x1d3ad3=_0x3eafd1(_0x1d3ad3)||_0x1d3ad3);return _0x1d3ad3;},_0x273a8d=(_0xa18d61,_0x1eff5e)=>(_0x2dcbaf,_0x1e9f22)=>_0x1eff5e(_0x2dcbaf,_0x1e9f22,_0xa18d61);let _0xe02291=class extends _0x233149[_0x3e20bb(0x315)]{constructor(_0x1fa242,_0x55f716,_0x5a945e,_0x10edde,_0x100b63,_0xbf47c1,_0x268a92,_0x4421c8){const _0xe08b33=_0x3e20bb;super(),_0x18ecd9(this,_0xe08b33(0x1ed),new _0x12fec3[(_0xe08b33(0x33e))](_0x14cc37[_0xe08b33(0x224)][_0xe08b33(0x274)])),(this[_0xe08b33(0x2ac)]=_0x1fa242,this[_0xe08b33(0x1fa)]=_0x55f716,this[_0xe08b33(0x38d)]=_0x5a945e,this[_0xe08b33(0x354)]=_0x10edde,this['_docTransformSelectionsService']=_0x100b63,this[_0xe08b33(0x367)]=_0xbf47c1,this[_0xe08b33(0x1ca)]=_0x268a92,this[_0xe08b33(0x197)]=_0x4421c8,this[_0xe08b33(0x324)]());}[_0x3e20bb(0x324)](){const _0x56fa0a=_0x3e20bb;this['disposeWithMe'](this['_collaborationController'][_0x56fa0a(0x15d)][_0x56fa0a(0x1be)](_0x166f3c=>{const _0x4d2805=_0x56fa0a,_0x41e7a5=this[_0x4d2805(0x2ac)][_0x4d2805(0x283)][_0x4d2805(0x1be)](_0x23a686=>{const _0x17831a=_0x4d2805;if(_0x23a686==null)return;const {unitId:_0x467d74,redoState:_0x376207,commandId:_0x11ec08}=_0x23a686;if(_0x467d74!==_0x166f3c['unitID'])return;const _0x4602ab={'id':_0x11ec08,'type':_0x233149[_0x17831a(0x323)][_0x17831a(0x136)],'params':{'unitId':_0x467d74,'actions':_0x376207[_0x17831a(0x263)],'textRanges':null}};_0x166f3c[_0x17831a(0x248)](_0x4602ab);});if(_0x166f3c[_0x4d2805(0x215)](_0x41e7a5),_0x166f3c instanceof _0x14cc37['DocCollaborationEntity']){const _0x5addcf={'onTransformIME':_0x5be3c9=>this['_docTransformIMECacheService'][_0x4d2805(0x229)](_0x5be3c9),'onTransformState':_0xdc5147=>this['_docTransformStateCacheService'][_0x4d2805(0x158)](_0xdc5147),'onTransformSelections':_0x442456=>this[_0x4d2805(0x1c0)][_0x4d2805(0x2ab)](_0x442456),'onSyncEditingCollabCursor':_0x5e55ba=>this[_0x4d2805(0x367)][_0x4d2805(0xf2)](_0x5e55ba),'onTransformRemoteChangesetByIMECache':_0x3ce7c8=>this[_0x4d2805(0x38d)]['transformRemoteChangeset'](_0x3ce7c8),'onTransformRemoteChangesetByStateCache':_0x51828b=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x51828b)};_0x166f3c['addHandlerCallback'](_0x5addcf);}}));}};_0xe02291=_0x2734d1([_0x273a8d(0x0,_0x233149['Inject'](_0x35cd67[_0x3e20bb(0x34a)])),_0x273a8d(0x1,_0x233149[_0x3e20bb(0x20f)](_0x14cc37[_0x3e20bb(0xfd)])),_0x273a8d(0x2,_0x233149[_0x3e20bb(0x20f)](_0x2985fb)),_0x273a8d(0x3,_0x233149[_0x3e20bb(0x20f)](_0x29d91d)),_0x273a8d(0x4,_0x233149[_0x3e20bb(0x20f)](_0x3a9659)),_0x273a8d(0x5,_0x233149[_0x3e20bb(0x20f)](_0x573383)),_0x273a8d(0x6,_0x5ec1c1[_0x3e20bb(0x178)]),_0x273a8d(0x7,_0x233149['Inject'](_0x233149['LocaleService']))],_0xe02291);var _0x2988a2=Object[_0x3e20bb(0x18a)],_0x1600de=(_0x1d336e,_0x5bb4ba,_0x35d0a5,_0x14b54a)=>{const _0x516a5f=_0x3e20bb;for(var _0x530ad9=_0x14b54a>0x1?void 0x0:_0x14b54a?_0x2988a2(_0x5bb4ba,_0x35d0a5):_0x5bb4ba,_0x51774f=_0x1d336e[_0x516a5f(0x230)]-0x1,_0x49debe;_0x51774f>=0x0;_0x51774f--)(_0x49debe=_0x1d336e[_0x51774f])&&(_0x530ad9=_0x49debe(_0x530ad9)||_0x530ad9);return _0x530ad9;},_0x4ca594=(_0x57ebec,_0x59f95f)=>(_0x527a4b,_0x3add92)=>_0x59f95f(_0x527a4b,_0x3add92,_0x57ebec);let _0x428e38=class extends _0x233149['Disposable']{constructor(_0x1cf781,_0x2fca2c,_0x13aed8){const _0x87666a=_0x3e20bb;super(),_0x18ecd9(this,_0x87666a(0x13a),new Map()),_0x18ecd9(this,'_saveTaskMap',new Map()),_0x18ecd9(this,_0x87666a(0x32d),!0x1),(this[_0x87666a(0x1b7)]=_0x1cf781,this['_localStorageService']=_0x2fca2c,this[_0x87666a(0x38a)]=_0x13aed8);}[_0x3e20bb(0x2db)](){const _0x4db0d7=_0x3e20bb;this[_0x4db0d7(0x32d)]=!0x0;}[_0x3e20bb(0x335)](){const _0x1ca744=_0x3e20bb;this[_0x1ca744(0x32d)]=!0x1;}get['saveTaskMap'](){const _0x23cfac=_0x3e20bb;return this[_0x23cfac(0x22e)];}['dispose'](){const _0x5eeae2=_0x3e20bb;this['exhaustSavingTask']()[_0x5eeae2(0x360)](()=>super[_0x5eeae2(0x17a)]());}async['loadOfflineData'](_0x4f4204){const _0x14a260=_0x3e20bb;return this['_disabled']?null:this[_0x14a260(0x227)][_0x14a260(0x226)](_0x14cc37[_0x14a260(0x105)](_0x4f4204));}async[_0x3e20bb(0x1ef)](_0x25b436,_0x4f9256){const _0x50f340=_0x3e20bb;return!!this[_0x50f340(0x227)][_0x50f340(0x121)](_0x25b436,_0x4f9256);}[_0x3e20bb(0x35a)](_0x5eaa34,_0x28c472,_0x23d69c,_0x2812dd){const _0x276518=_0x3e20bb,_0x583934=this[_0x276518(0x38a)]['getCurrentRevOfUnit'](_0x5eaa34);this[_0x276518(0x13a)]['set'](_0x5eaa34,{'unitID':_0x5eaa34,'type':_0x28c472,'awaitingChangeset':_0x23d69c,'mutations':_0x2812dd,'rev':_0x583934}),this[_0x276518(0x22e)]['has'](_0x5eaa34)||this[_0x276518(0xfa)](_0x5eaa34);}[_0x3e20bb(0xfa)](_0x360a43){const _0x217006=_0x3e20bb,_0x2b9771=this[_0x217006(0x2bb)]();_0x2b9771===0x0?this[_0x217006(0x140)](_0x360a43):this[_0x217006(0x22e)][_0x217006(0x256)](_0x360a43,setTimeout(()=>this[_0x217006(0x140)](_0x360a43),_0x2b9771));}[_0x3e20bb(0x2bb)](){const _0x3cd56f=_0x3e20bb;var _0x4af89f;return(_0x4af89f=this[_0x3cd56f(0x1b7)][_0x3cd56f(0x303)](_0x14cc37[_0x3cd56f(0x2fc)]))!=null?_0x4af89f:_0x14cc37['LOCAL_CACHE_INTERVAL'];}[_0x3e20bb(0x140)](_0x161e3a){const _0x11092e=_0x3e20bb,_0x52b9f0=this[_0x11092e(0x22e)]['get'](_0x161e3a);return _0x52b9f0!==void 0x0&&window[_0x11092e(0x384)](_0x52b9f0),this['_localStorageService'][_0x11092e(0x121)](_0x14cc37[_0x11092e(0x105)](_0x161e3a),this['_cachedData'][_0x11092e(0x1d7)](_0x161e3a))['then'](()=>this[_0x11092e(0x22e)][_0x11092e(0x2e4)](_0x161e3a));}async[_0x3e20bb(0x36d)](){const _0x2b36a7=_0x3e20bb,_0x2da330=[];this['_saveTaskMap'][_0x2b36a7(0x27f)]((_0x31ebe2,_0x1099bd)=>{const _0x34e7f3=_0x2b36a7;window['clearTimeout'](_0x31ebe2),_0x2da330['push'](this[_0x34e7f3(0x140)](_0x1099bd)[_0x34e7f3(0x360)](()=>{const _0x2baad0=_0x34e7f3;this[_0x2baad0(0x22e)][_0x2baad0(0x2e4)](_0x1099bd);}));}),await Promise[_0x2b36a7(0x255)](_0x2da330);}};_0x428e38=_0x1600de([_0x4ca594(0x0,_0x233149['IConfigService']),_0x4ca594(0x1,_0x233149['ILocalStorageService']),_0x4ca594(0x2,_0x233149[_0x3e20bb(0x20f)](_0x16f706[_0x3e20bb(0x270)]))],_0x428e38);class _0x135873 extends _0x233149[_0x3e20bb(0x237)]{constructor(){const _0x44182d=_0x3e20bb;super(),_0x18ecd9(this,'urlChange$'),this['urlChange$']=_0x12fec3[_0x44182d(0x10c)](window,'popstate')[_0x44182d(0x1ff)](_0x12fec3['takeUntil'](this[_0x44182d(0x1e1)]),_0x12fec3['shareReplay'](0x1),_0x12fec3[_0x44182d(0x11c)](void 0x0));}[_0x3e20bb(0x120)](_0x138494,_0x5f3c86,_0x8b2f66=!0x1){const _0xd3527b=_0x3e20bb,_0x164626=new URL(window[_0xd3527b(0x386)]['href']);_0x164626[_0xd3527b(0x30f)][_0xd3527b(0x256)](_0x138494,_0x5f3c86),_0x8b2f66?window[_0xd3527b(0x264)]['replaceState']('','',_0x164626[_0xd3527b(0x211)]()):window[_0xd3527b(0x264)]['pushState']('','',_0x164626[_0xd3527b(0x211)]());}[_0x3e20bb(0x250)](_0x28b568,_0x2a0d31=!0x1){const _0x2fee45=_0x3e20bb,_0x44bf66=new URL(window[_0x2fee45(0x386)][_0x2fee45(0x1de)]);_0x44bf66['searchParams']['delete'](_0x28b568),_0x2a0d31?window['history'][_0x2fee45(0x196)]('','',_0x44bf66[_0x2fee45(0x211)]()):window[_0x2fee45(0x264)][_0x2fee45(0x1cc)]('','',_0x44bf66[_0x2fee45(0x211)]());}[_0x3e20bb(0x185)](_0x5ba964){const _0x1ff161=_0x3e20bb;var _0x2c00fb;return(_0x2c00fb=new URL(window['location']['href'])[_0x1ff161(0x30f)][_0x1ff161(0x1d7)](_0x5ba964))!=null?_0x2c00fb:void 0x0;}}var _0x40ea95=Object[_0x3e20bb(0x24f)],_0x399a16=Object[_0x3e20bb(0x18a)],_0x2d6186=(_0x4412d7,_0x4b144b,_0x229974)=>_0x4b144b in _0x4412d7?_0x40ea95(_0x4412d7,_0x4b144b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x229974}):_0x4412d7[_0x4b144b]=_0x229974,_0x1256dd=(_0x2065b8,_0x4776f6,_0x398557,_0x3a29c6)=>{const _0x4e2596=_0x3e20bb;for(var _0x574d45=_0x3a29c6>0x1?void 0x0:_0x3a29c6?_0x399a16(_0x4776f6,_0x398557):_0x4776f6,_0x15d0f7=_0x2065b8[_0x4e2596(0x230)]-0x1,_0x1dec44;_0x15d0f7>=0x0;_0x15d0f7--)(_0x1dec44=_0x2065b8[_0x15d0f7])&&(_0x574d45=_0x1dec44(_0x574d45)||_0x574d45);return _0x574d45;},_0x167d1c=(_0x53ccfd,_0x50c6e0)=>(_0x13815c,_0xf7e305)=>_0x50c6e0(_0x13815c,_0xf7e305,_0x53ccfd),_0x36eb2f=(_0x21e3b8,_0x508b5b,_0x1ff430)=>_0x2d6186(_0x21e3b8,_0x508b5b+'',_0x1ff430);const _0x48d124=_0x3e20bb(0x15e);_0x427b6e[_0x3e20bb(0x16e)]=class extends _0x233149['Plugin']{constructor(_0xda5660=_0x202710,_0x3cc0f3,_0x3c11fc,_0x56953d){const _0x50d251=_0x3e20bb;super(),this[_0x50d251(0x364)]=_0xda5660,this[_0x50d251(0x12f)]=_0x3cc0f3,this[_0x50d251(0x116)]=_0x3c11fc,this['_configService']=_0x56953d;const {..._0xd0e3d5}=_0x233149['merge']({},_0x202710,this['_config']);this['_configService']['setConfig'](_0xb605fd,_0xd0e3d5);}[_0x3e20bb(0x1b2)](){const _0x3fe067=_0x3e20bb;this[_0x3fe067(0x2da)](),this[_0x3fe067(0x29f)]();}[_0x3e20bb(0x241)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x164f5b=_0x3e20bb;var _0x552fed;const _0x15657f=[[_0xc47850],[_0x3a9659],[_0x2985fb],[_0x29d91d],[_0x573383],[_0x172ebe,{'useClass':_0x135873}],[_0xabfec4[_0x164f5b(0x38e)],{'useClass':_0xabfec4[_0x164f5b(0x135)]}],[_0x14cc37[_0x164f5b(0x18f)],{'useClass':_0x428e38}],[_0x427b6e['DesktopCollaborationStatusDisplayController']],[_0xe02291],[_0x51fdcb],[_0x221bad],[_0xdff79c],[_0x427b6e[_0x164f5b(0x2b5)]]];_0x233149[_0x164f5b(0x356)](this[_0x164f5b(0x116)],_0x233149[_0x164f5b(0x141)](_0x15657f,(_0x552fed=this[_0x164f5b(0x364)])==null?void 0x0:_0x552fed['override']));}[_0x3e20bb(0x2a0)](){const _0x119707=_0x3e20bb;this['disposeWithMe'](this[_0x119707(0x12f)]['registerRenderModule'](_0x233149['UniverInstanceType'][_0x119707(0x2a1)],[_0x33ecbd])),this[_0x119707(0x215)](this[_0x119707(0x12f)][_0x119707(0x383)](_0x233149['UniverInstanceType'][_0x119707(0x2f1)],[_0x1c14f5]));}[_0x3e20bb(0x29f)](){const _0x421e91=_0x3e20bb;_0x233149[_0x421e91(0x2a9)](this[_0x421e91(0x116)],[[_0x221bad],[_0x427b6e[_0x421e91(0x287)]],[_0xe02291],[_0x51fdcb],[_0x427b6e[_0x421e91(0x2b5)]]]);}},_0x36eb2f(_0x427b6e['UniverCollaborationClientUIPlugin'],_0x3e20bb(0xf9),_0x48d124),_0x427b6e[_0x3e20bb(0x16e)]=_0x1256dd([_0x233149[_0x3e20bb(0x2c7)](_0x14cc37[_0x3e20bb(0x38f)]),_0x167d1c(0x1,_0x5ee778[_0x3e20bb(0x1d1)]),_0x167d1c(0x2,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x167d1c(0x3,_0x233149['IConfigService'])],_0x427b6e[_0x3e20bb(0x16e)]);var _0x12a4ca=Object[_0x3e20bb(0x18a)],_0x40ecad=(_0x3da1a3,_0x52ebb1,_0xffb7b6,_0x557dd2)=>{for(var _0x2b6308=_0x557dd2>0x1?void 0x0:_0x557dd2?_0x12a4ca(_0x52ebb1,_0xffb7b6):_0x52ebb1,_0x1f0468=_0x3da1a3['length']-0x1,_0x1c8a99;_0x1f0468>=0x0;_0x1f0468--)(_0x1c8a99=_0x3da1a3[_0x1f0468])&&(_0x2b6308=_0x1c8a99(_0x2b6308)||_0x2b6308);return _0x2b6308;},_0x5abbb6=(_0x582116,_0x299cdc)=>(_0x58d2f5,_0x5b7c10)=>_0x299cdc(_0x58d2f5,_0x5b7c10,_0x582116);_0x427b6e[_0x3e20bb(0x10f)]=class extends _0x14cc37[_0x3e20bb(0x330)]{constructor(_0x47c25c,_0x43bebd,_0x26bfd2,_0x173cf7,_0x20cae5){super(_0x47c25c,_0x43bebd,_0x26bfd2,_0x173cf7,_0x20cae5);}async[_0x3e20bb(0x346)](_0x31fe6f){const _0x166dbe=_0x3e20bb,_0x317a61=await this['_getSessionTicket'](),_0x4d9ff6=this[_0x166dbe(0x310)](_0x31fe6f,_0x317a61);return this[_0x166dbe(0x137)](_0x4d9ff6);}[_0x3e20bb(0x310)](_0x47d80e,_0x8bf0ef){const _0x5e45d0=_0x3e20bb,_0x1e35d6=typeof window>'u'?new URL(_0x47d80e):new URL(_0x47d80e,window[_0x5e45d0(0x386)][_0x5e45d0(0x1dc)]);_0x1e35d6[_0x5e45d0(0x30f)][_0x5e45d0(0x256)]('sessionTicket',_0x8bf0ef);const _0x7c6b01=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x7c6b01[_0x5e45d0(0x1d7)](_0x5e45d0(0x184))&&_0x1e35d6[_0x5e45d0(0x30f)][_0x5e45d0(0x256)](_0x5e45d0(0x184),_0x7c6b01['get'](_0x5e45d0(0x184))),_0x1e35d6['toString']();}async['_getSessionTicket'](){const _0x5d167d=_0x3e20bb;var _0x30b9f9,_0xe7633f,_0x30db71;const _0x58d362=this[_0x5d167d(0x1b7)][_0x5d167d(0x303)](_0x14cc37['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x8c053e=(_0x30b9f9=_0x58d362==null?void 0x0:_0x58d362[_0x5d167d(0x2fb)])!=null?_0x30b9f9:_0x14cc37[_0x5d167d(0x182)];return(_0x30db71=(_0xe7633f=(await this[_0x5d167d(0x1c2)][_0x5d167d(0x1d7)](_0x8c053e,{'headers':{'Content-Type':_0x5d167d(0x1bc)}}))[_0x5d167d(0x2ba)])==null?void 0x0:_0xe7633f[_0x5d167d(0x382)])!=null?_0x30db71:'';}},_0x427b6e[_0x3e20bb(0x10f)]=_0x40ecad([_0x5abbb6(0x0,_0x233149[_0x3e20bb(0x20f)](_0x233149[_0x3e20bb(0x329)])),_0x5abbb6(0x1,_0x233149[_0x3e20bb(0x20f)](_0xabfec4[_0x3e20bb(0x294)])),_0x5abbb6(0x2,_0x233149[_0x3e20bb(0x2cc)]),_0x5abbb6(0x3,_0x233149['ILogService']),_0x5abbb6(0x4,_0x16f706['ISnapshotServerService'])],_0x427b6e[_0x3e20bb(0x10f)]);var _0x5eca67=(_0x9f2a41=>(_0x9f2a41[_0x9f2a41[_0x3e20bb(0x19a)]=0x0]=_0x3e20bb(0x19a),_0x9f2a41[_0x9f2a41['OK']=0x1]='OK',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2e3)]=0x2]='INTERNAL_ERROR',_0x9f2a41[_0x9f2a41['PERMISSION_DENIED']=0x3]=_0x3e20bb(0x1c1),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x387)]=0x4]=_0x3e20bb(0x387),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x363)]=0x5]=_0x3e20bb(0x363),_0x9f2a41[_0x9f2a41['ALREADY_EXISTS']=0x6]=_0x3e20bb(0x343),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x259)]=0x7]='INVALID_ARGUMENT',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x14a)]=0x8]=_0x3e20bb(0x14a),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x191)]=0x9]='COMPLETION_FINISHED',_0x9f2a41[_0x9f2a41['LOGIN_FAILED']=0xa]=_0x3e20bb(0x111),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x380)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2c1)]=0xc]=_0x3e20bb(0x2c1),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x132)]=0xd]=_0x3e20bb(0x132),_0x9f2a41[_0x9f2a41[_0x3e20bb(0xf3)]=0xe]=_0x3e20bb(0xf3),_0x9f2a41[_0x9f2a41['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x231)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x370)]=0x1772]=_0x3e20bb(0x370),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x138)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x9f2a41[_0x9f2a41['APPLY_REJECT']=0x1b59]=_0x3e20bb(0x13b),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2f8)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x1f0)]=0x1b5b]=_0x3e20bb(0x1f0),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x183)]=0x1b5c]=_0x3e20bb(0x183),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x34f)]=0x1b5d]=_0x3e20bb(0x34f),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2a2)]=0x1f41]=_0x3e20bb(0x2a2),_0x9f2a41[_0x9f2a41[_0x3e20bb(0xee)]=0x2329]=_0x3e20bb(0xee),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x37c)]=0x232a]=_0x3e20bb(0x37c),_0x9f2a41[_0x9f2a41['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3e20bb(0x37d),_0x9f2a41[_0x9f2a41['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3e20bb(0x293),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x304)]=0x232d]=_0x3e20bb(0x304),_0x9f2a41[_0x9f2a41['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x9f2a41[_0x9f2a41['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3e20bb(0x2d8),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x17f)]=0x2713]=_0x3e20bb(0x17f),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x328)]=0x2714]=_0x3e20bb(0x328),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x152)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x9f2a41[_0x9f2a41['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3e20bb(0x2e7),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x29d)]=0x271c]=_0x3e20bb(0x29d),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2d6)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2c2)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x1f9)]=0x271f]=_0x3e20bb(0x1f9),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x1ec)]=0x2720]=_0x3e20bb(0x1ec),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x143)]=0x2af9]=_0x3e20bb(0x143),_0x9f2a41[_0x9f2a41['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3e20bb(0x2e1),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x29e)]=0x2ee2]=_0x3e20bb(0x29e),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2bc)]=0x2ee3]=_0x3e20bb(0x2bc),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x1ea)]=0x2ee4]=_0x3e20bb(0x1ea),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x169)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x312)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x313)]=0x32ca]=_0x3e20bb(0x313),_0x9f2a41[_0x9f2a41[_0x3e20bb(0x162)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x9f2a41[_0x9f2a41[_0x3e20bb(0x2d0)]=-0x1]='UNRECOGNIZED',_0x9f2a41))(_0x5eca67||{}),_0x14c998=Object['getOwnPropertyDescriptor'],_0x3aa02d=(_0x107370,_0x14c5ae,_0x24983d,_0xeb1797)=>{const _0x1e36e2=_0x3e20bb;for(var _0x9e7950=_0xeb1797>0x1?void 0x0:_0xeb1797?_0x14c998(_0x14c5ae,_0x24983d):_0x14c5ae,_0x2cdf82=_0x107370[_0x1e36e2(0x230)]-0x1,_0x500811;_0x2cdf82>=0x0;_0x2cdf82--)(_0x500811=_0x107370[_0x2cdf82])&&(_0x9e7950=_0x500811(_0x9e7950)||_0x9e7950);return _0x9e7950;},_0x26fd4b=(_0x15c66f,_0x36c444)=>(_0x1e7fa7,_0x59d398)=>_0x36c444(_0x1e7fa7,_0x59d398,_0x15c66f);_0x427b6e['RemoteUniscriptService']=class extends _0x233149['Disposable']{constructor(_0x30eae9,_0x1bf9b7,_0x2736bc){const _0xd8d127=_0x3e20bb;super(),this[_0xd8d127(0x177)]=_0x30eae9,this['_httpService']=_0x1bf9b7,this[_0xd8d127(0x1b7)]=_0x2736bc;}async[_0x3e20bb(0x233)](_0x5eaff7,_0x22e18a,_0x4234e6,..._0x12a944){const _0x2946cf=_0x3e20bb;var _0x57062b,_0x1b401a,_0x22eaae,_0x334907;const _0x496f86=this[_0x2946cf(0x177)][_0x2946cf(0x170)]();if(!_0x496f86)throw new Error(_0x2946cf(0x1e9));const _0x153b8c=((_0x57062b=this[_0x2946cf(0x1b7)][_0x2946cf(0x303)](_0x14cc37['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x57062b:_0x14cc37[_0x2946cf(0x1c7)])+'/'+_0x5eaff7+'/run/'+_0x22e18a,_0x265c06=new URL(window[_0x2946cf(0x386)][_0x2946cf(0x1de)]),_0x43f801={'scriptId':_0x5eaff7,'runId':(_0x1b401a=_0x265c06['searchParams'][_0x2946cf(0x1d7)]('runId'))!=null?_0x1b401a:'','function':_0x22e18a,'unitId':_0x496f86[_0x2946cf(0x11d)](),'argsOfFunction':JSON[_0x2946cf(0x2f2)](_0x12a944),'invokeId':(_0x22eaae=_0x4234e6[_0x2946cf(0x314)])!=null?_0x22eaae:'','executionId':(_0x334907=_0x4234e6[_0x2946cf(0x36c)])!=null?_0x334907:''};try{const _0x2f2901=await this[_0x2946cf(0x1c2)][_0x2946cf(0x321)](_0x153b8c,{'body':_0x43f801});return _0x2f2901[_0x2946cf(0x2ba)][_0x2946cf(0x22a)]&&_0x2f2901[_0x2946cf(0x2ba)][_0x2946cf(0x22a)][_0x2946cf(0x2b4)]!==_0x5eca67['OK']?_0x2946cf(0x1e3):_0x2f2901[_0x2946cf(0x2ba)][_0x2946cf(0x15b)];}catch{return _0x2946cf(0x1e3);}}},_0x427b6e[_0x3e20bb(0x1ba)]=_0x3aa02d([_0x26fd4b(0x0,_0x233149[_0x3e20bb(0x371)]),_0x26fd4b(0x1,_0x233149[_0x3e20bb(0x20f)](_0xabfec4[_0x3e20bb(0x294)])),_0x26fd4b(0x2,_0x233149[_0x3e20bb(0x2cc)])],_0x427b6e['RemoteUniscriptService']);const _0x579af8=0x7530,_0x4beeda='ACTIVE_UNIT_EVENT_CHANNEL';class _0x4a273a extends _0x233149['Disposable']{constructor(){const _0x450394=_0x3e20bb;super(),_0x18ecd9(this,_0x450394(0x1bf),_0x233149[_0x450394(0x13d)]()),_0x18ecd9(this,_0x450394(0x239),new Set()),_0x18ecd9(this,_0x450394(0x118),new Map()),_0x18ecd9(this,'_heartbeatTimer',null),_0x18ecd9(this,_0x450394(0x2f3),new Map()),_0x18ecd9(this,_0x450394(0x12a),new Map()),this['_init']();}[_0x3e20bb(0x17a)](){const _0x130343=_0x3e20bb;super[_0x130343(0x17a)](),this[_0x130343(0x2f3)][_0x130343(0x27f)]((_0x200450,_0x58df6d)=>this[_0x130343(0x26a)](_0x58df6d)),this[_0x130343(0x1c6)]&&window[_0x130343(0x257)](this['_heartbeatTimer']);}[_0x3e20bb(0x30b)](_0x52df7f){const _0x401a94=_0x3e20bb;return this[_0x401a94(0xef)](_0x52df7f)[_0x401a94(0x1ff)](_0x12fec3[_0x401a94(0x2f0)]());}[_0x3e20bb(0x34c)](_0x30237b){const _0x347dff=_0x3e20bb;this[_0x347dff(0x239)][_0x347dff(0x24a)]===0x0&&this[_0x347dff(0x1f3)](),this[_0x347dff(0x239)][_0x347dff(0x265)](_0x30237b),this[_0x347dff(0x2b0)]({'type':0x0,'memberID':this[_0x347dff(0x1bf)],'unitIDs':[_0x30237b],'isForwarded':!0x1});}[_0x3e20bb(0x275)](_0x1f510f){const _0x451d66=_0x3e20bb;this['_selfUnitIDs'][_0x451d66(0x2e4)](_0x1f510f),this['_selfUnitIDs'][_0x451d66(0x24a)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x451d66(0x1c6)]);}[_0x3e20bb(0x362)](){const _0x371d46=_0x3e20bb;this[_0x371d46(0x215)](_0x233149[_0x371d46(0x103)](_0x12fec3['fromEvent'](window,_0x371d46(0x123))[_0x371d46(0x1be)](_0x38ab8=>{const _0x2bec00=_0x371d46;if(_0x38ab8[_0x2bec00(0x217)]!==_0x4beeda||!_0x38ab8[_0x2bec00(0x30e)])return;const _0x424c89=JSON['parse'](_0x38ab8[_0x2bec00(0x30e)]);this[_0x2bec00(0x31c)](_0x424c89);}))),window['addEventListener'](_0x371d46(0x1b8),()=>this['_send']({'type':0x1,'memberID':this[_0x371d46(0x1bf)],'unitIDs':Array[_0x371d46(0x26e)](this[_0x371d46(0x239)])}));}[_0x3e20bb(0x31c)](_0x14c512){const _0x332e89=_0x3e20bb;switch(_0x14c512[_0x332e89(0x353)]){case 0x0:this['_handleJoinEvent'](_0x14c512);break;case 0x1:this[_0x332e89(0x21a)](_0x14c512);break;case 0x2:this[_0x332e89(0x2c3)](_0x14c512);break;}}['_handleJoinEvent'](_0x4288b7){const _0x1c2e7f=_0x3e20bb,{unitIDs:_0x396d5a,memberID:_0x34a044,isForwarded:_0x201c64}=_0x4288b7;_0x396d5a[_0x1c2e7f(0x27f)](_0x3430d2=>{const _0xead7d9=_0x1c2e7f;if(!_0x201c64&&this[_0xead7d9(0x118)][_0xead7d9(0x1b0)](_0x3430d2)&&this[_0xead7d9(0xef)](_0x3430d2)['next'](_0x14cc37[_0xead7d9(0x1cf)][_0xead7d9(0x27a)]),!this['_unitOnClients']['has'](_0x3430d2)||!this[_0xead7d9(0x118)][_0xead7d9(0x1d7)](_0x3430d2)[_0xead7d9(0x1b0)](_0x34a044)){const _0x273f56=this[_0xead7d9(0x118)]['get'](_0x3430d2)||new Set();_0x273f56[_0xead7d9(0x265)](_0x34a044),this[_0xead7d9(0x118)][_0xead7d9(0x256)](_0x3430d2,_0x273f56),this[_0xead7d9(0x282)](_0x34a044);}}),_0x201c64||this['_send']({'type':0x0,'memberID':this[_0x1c2e7f(0x1bf)],'unitIDs':[...this[_0x1c2e7f(0x239)]],'isForwarded':!0x0});}[_0x3e20bb(0x282)](_0x2f23d0){const _0x557c9e=_0x3e20bb;this[_0x557c9e(0x26a)](_0x2f23d0);const _0x3f7344=window[_0x557c9e(0x117)](()=>{const _0x268c1e=_0x557c9e;this[_0x268c1e(0x118)]['forEach'](_0x14e8ac=>{const _0x56e221=_0x268c1e;_0x14e8ac[_0x56e221(0x2e4)](_0x2f23d0);});},_0x579af8*0x2);this['_clearOtherTimers'][_0x557c9e(0x256)](_0x2f23d0,_0x3f7344);}[_0x3e20bb(0x26a)](_0x2a2a9d){const _0x352551=_0x3e20bb;if(this['_clearOtherTimers'][_0x352551(0x1b0)](_0x2a2a9d)){const _0x40f57e=this[_0x352551(0x2f3)][_0x352551(0x1d7)](_0x2a2a9d);_0x40f57e&&window[_0x352551(0x384)](_0x40f57e),this[_0x352551(0x2f3)][_0x352551(0x256)](_0x2a2a9d,null);}}['_handleLeaveEvent'](_0x1ec692){const _0x312eb4=_0x3e20bb,{memberID:_0x355eb8,unitIDs:_0x4933f4}=_0x1ec692;_0x4933f4[_0x312eb4(0x27f)](_0x414183=>{const _0x33f334=_0x312eb4;var _0x4928d2;const _0xea251b=this[_0x33f334(0x118)]['get'](_0x414183);_0xea251b&&(_0xea251b[_0x33f334(0x2e4)](_0x355eb8),(_0x4928d2=this['_ensureSubject'](_0x414183))==null||_0x4928d2[_0x33f334(0x148)](_0xea251b['size']===0x0?_0x14cc37[_0x33f334(0x1cf)][_0x33f334(0x20e)]:_0x14cc37['UnitStatus'][_0x33f334(0x27a)]));}),this[_0x312eb4(0x26a)](_0x355eb8);}[_0x3e20bb(0x2c3)](_0xff7049){const _0x2ea13f=_0x3e20bb;this[_0x2ea13f(0x282)](_0xff7049['memberID']);}[_0x3e20bb(0x2b0)](_0x5452d1){const _0x232fe3=_0x3e20bb;localStorage[_0x232fe3(0x121)](_0x4beeda,JSON[_0x232fe3(0x2f2)](_0x5452d1));}[_0x3e20bb(0x1f3)](){const _0x12159f=_0x3e20bb;this[_0x12159f(0x1c6)]=window[_0x12159f(0x216)](()=>{const _0x3436ae=_0x12159f;this[_0x3436ae(0x2b0)]({'type':0x2,'memberID':this['_id']});},_0x579af8);}[_0x3e20bb(0xef)](_0x3f026a){const _0x2f6903=_0x3e20bb;return this[_0x2f6903(0x12a)][_0x2f6903(0x1b0)](_0x3f026a)||this[_0x2f6903(0x12a)][_0x2f6903(0x256)](_0x3f026a,new _0x12fec3[(_0x2f6903(0x33e))](_0x14cc37[_0x2f6903(0x1cf)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x2f6903(0x1d7)](_0x3f026a);}}_0x427b6e[_0x3e20bb(0x30c)]=_0x172ebe,_0x427b6e['SheetCollabCursorShape']=_0x3b379f,_0x427b6e['WebBrowserSingleActiveUnitService']=_0x4a273a,_0x427b6e['WebURLService']=_0x135873,Object[_0x3e20bb(0x24f)](_0x427b6e,Symbol[_0x3e20bb(0x289)],{'value':_0x3e20bb(0x195)});}));
|
|
1
|
+
function _0x2806(_0x33c40b,_0x432941){const _0x3ec5c3=_0x3ec5();return _0x2806=function(_0x28066a,_0x9cf753){_0x28066a=_0x28066a-0x103;let _0x545f03=_0x3ec5c3[_0x28066a];return _0x545f03;},_0x2806(_0x33c40b,_0x432941);}function _0x3ec5(){const _0x4ccdcb=['OnLineIcon','registerBeforeClose','focused$','DocIMEInputManagerService','YUUMI_CONNECTOR_URL_NOT_FOUND','override','bottom','ThemeService','entries','history','div','_toggleOffline','_roomMembers$','UniverInstanceType','OffLineIcon','_name','_initDependencies','session.connection-failed','column','_themeService','_docStateChangeManagerService','_updateURLWithCurrentState','getLocalCacheKey','getCollabEntity$','useDependency','CollaborationUIEventService','_handleLeaveEvent','assignAColorForMemberID','PY_RUNTIME_SCRIPT_ERROR','_transformHistoryAndStateStack','pushState','doc.mutation.rich-text-editing','CollaborationSocketService','_entities','HTTPService','pluginName','send','includes','trim','LICENSE_EXPORT_SIZE_EXCEEDED','translate(.97)','_scheduleHeartbeat','getParam','isTransformMutationFailure','endRow','WebBrowserSingleActiveUnitService','DeleteRangeMoveLeftCommandId','VIEW_MAIN','newValue','NO_OTHER_CLIENTS_EDITING','href','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','map','editingUnit','_textBubble','generateRandomId','_updateSubUnitFromURLParams','onPointerLeave$','fill','getCurrentUnitForType','UNIVER_SHEET','_hideTimer','handleDeleteRangeMoveUp','IURLService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','purple.300','_config','defIds','dispose','collabCursorState$','_selfUnitIDs','APPLY_REJECT','SUBMIT_CHANGESET_TIMEOUT','InsertRowCommandId','colorChannel1','url(#on-line-icon_clip0_910_349)','enableLocalCache','parse','children','ILogService','MUTATION','setActiveRange','icon','sheetID','redoState','HEADER_MENU','arc','_uiPartsService','univerjs-icon\x20univerjs-icon-','clearTimeout','removeParam','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','collaboration-client-ui.config','_docTransformStateCacheService','whenReady','UniverSheetsUi','SheetCollabCursorShape','registerRefRange','handleIRemoveCol','saveImage','toDisposable','clsx','Inject','ILocalCacheService','addObject','event$','AWAITING_WITH_PENDING','UniverProCollaborationClientUi','_docTransformSelectionsService','Optional','USERS_LEAVE','RegularPolygon','UniverNetwork','isArray','memberID','collabStatus.syncing','handleInsertRangeMoveRight','@univerjs-pro/collaboration-client','MOBILE_VERIFY_CODE_MISMATCH','_messageService','name','@univerjs-pro/collaboration','object','UniverUi','getRangePointData','asObservable','getRenderById','InsertColCommandId','selection','getOwnPropertyDescriptor','_beforeCloseService','_updateLocalCursor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_lastPointer','_renderManagerService','onRendered','getUnitStatus$','@univerjs/docs','_injector','Injector','loadUnit','combineLatest','_memberService','UniverEngineFormula','_unitStatus','CollaborationDataLoaderController','defineProperty','_assignedColors','useRef','replaceState','_collabSessionService','APPLY_REVISION_CONFILICT','BehaviorSubject','Failed','_dataLoaderService','getUnhiddenWorksheets','stringify','_hover','...','ICommandService','font','onPointerEnter$','getUniverSheetInstance','Warning','_draw','FETCH_MISS','addClipboardHook','_registerRenderDependencies','@univerjs/docs-ui','IMessageService','DisposableCollection','handleMoveRange','top','_labelPosition','transformMutationsWithChangeset','_revisionService','getAncestorScale','drawWith','_initStatusListener','_collabCursorState$','saveOfflineData','_document','_context','_getSaveTimeout','forEach','exhaustSavingTask','APPLY_PERMISSION_DENIED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getMemberID','handleInsertCol','addEventListener','updateOfflineData','black','createIdentifier','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_imageIoService','TOO_MANY_REQUESTS','UnitStatus','dispose$','jsx','find','ALREADY_EXISTS','ticket','delete','InsertRangeMoveRightCommandId','IRenderManagerService','_getSheetObject','_startSheetCollabCursor','INVITE_CODE_HAS_BEEN_UES','UniverDesign','_drawAnchor','SetWorksheetActivateCommand','YUUMI_UNABLE_LOAD_URL','size','UniverProCollaborationClient','RevisionService','CollaborationStatus','add','eventID','RxDisposable','exports','search','DOC_RANGE_TYPE','init','_localStorageService','getValue','subunit','has','_hovered','COMPLETION_FINISHED','reconnect','_setupSubUnitSync','_onCursorUpdate','@univerjs/network','349925qPDBcO','currentTheme$','idSuffix','transformRemoteChangeset','CONFLICT','1014775VgPcSU','LOGIN_FAILED','findNodePositionByCharIndex','_getAnchorBounding','_send','push','RemoveColCommandId','getCurrent','startRow','_cursorShapes','React','getCurrentSelections','DocStateChangeManagerService','deepClone','max','IUniverInstanceService','UniverCollaborationClientUIPlugin','searchParams','setStateCache','closePath','_anchorDot','onPointerMove$','flatMap','_commandService','pipe','_docTransformIMECacheService','_doCreateSocket','isTransformMutationsWithChangesetSuccess','@univerjs/engine-render','length','_getScale','onStarting','_handleEvent','getDocRanges','[CollaborationDataLoaderController]','height','_id','MemberService','univer-flex\x20univer-items-center','UNRECOGNIZED','get','complete','touchDependencies','fromEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','resize','LICENSE_IMPORT_SIZE_EXCEEDED','MessageType','Unknown\x20user','http://www.w3.org/2000/svg','replace','EMAIL_VERIFY_CODE_MISMATCH','SOCKET_FAILED','round','Vector2','_init','subUnitId','BrowserCollaborationSocketService','session.collaboration-timeout','_createSocketURL','_removeCollabCursors','UPDATE_CURSOR','ranges','2910336tczekU','react/jsx-runtime','getViewport','9893640OXUDvo','xlink:href','debug','_transformService','_color','_cursors','_online','COLORS','popstate','onCommandExecuted','_handleHeartbeatEvent','_scheduleClearOtherTimer','measureText','save','debounceTime','SheetSkeletonManagerService','syncEditingCollabCursor','jiqing.500','_syncEditingCollabCursorService','unsubscribe','_notificationService','INVALID_INVITE_CODE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getCurrentRevOfUnit','textRanges','@univerjs/rpc','BuiltInUIPart','beginPath','unitId','fromEventSubject','undoState','_toggleOnline','hasOwnProperty','INVALID_ARGUMENT','from','YUUMI_ASYNCIO_CANCELLED','lineTo','_initResize','_initEvent','INVITE_CODE_ALREADY_BOUND','_heartbeatTimer','call','m2Prime','InsertRangeMoveDownCommandId','forwardRef','moveTo','key','UNIVER_DOC','getTypeOfUnitAdded$','M0\x200H16V16H0z','CONNECTOR_DATA_TOO_LARGE','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','WECHAT_HAS_BEEN_BOUND','@univerjs/engine-formula','_handleJoinEvent','LICENSE_DISTRO_REJECTED','white','transformStateCache','prototype','RECT','collabStatus.fetchMiss','IRemoteInstanceService','_eventUnsubscribe','sheetId','CollaborationUIEventId','collab-client.tooltip.reconnect','getSkeleton','_drawTextRange','_logService','_registerDependencies','getStateCache','indexOf','cursorInfo$','_cursor','MoveRangeCommandId','@univerjs/core','_instanceService','runRefRangeMutations','clipPath','transformMutation','Tools','YUUMI_RATE_OVER_LIMIT','on-line-icon_clip0_910_349','getColorFromTheme','_entityInit$','_initStatusComponent','contains','engine','getUndoRedoMutationParamsCache','_clearOtherTimers','_shapes','getUnitId','_initEntityListener','set','docStateChange$','4664877JwzDKn','NOT_FOUND','_refRangeService','executionId','collaboration.closeRoom','cursorInfo','className','currentSkeleton$','setTimeout','origin','Module','off-line-icon','then','getFocusedUnit','path','_scene','_setupBeforeClosingHandler','concat','post','YUUMI_AI_RUN_FAILED','application/json','CollaborationController','clearInterval','setItem','setUndoRedoMutationParamsCache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','collaboration-client.offline-data-not-saved','NodePositionConvertToRectRange','isEditing','symbol','restore','addHandlerCallback','_cachedData','defs','DeleteRangeMoveUpCommandId','YUUMI_SUBSCRIPTION_NOT_FOUND','@univerjs/sheets-ui','306xNPofY','UniverCollaborationClientPlugin','_updateCollabCursors','MOBILE_HAS_BEEN_BOUND','IDocClipboardService','_initCommandExecutedListener','filter','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getCoordByCell','_handleHover','SheetsSelectionsService','handleInsertRow','SetTextSelectionsOperation','with','debounce','getConfig','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_docClipboardService','unit','CommandType','getOwnPropertySymbols','entityInit$','activeSheet$','106070JXwCIp','rxjs','split','RemoteUniscriptService','onTransformChange$','_sheetSkeletonManagerService','tag','merge','_colorIndex','YUUMI_NO_CUBOID_FOR_QUESTION','_removeClearOtherTimer','storage','displayName','_unitOnClients','_status$','replaceDocRanges','EMAIL_HAS_BEEN_BOUND','LICENSE_MAX_UNITS_EXCEEDED','subscribeEvent','_startDocCollabCursor','unshift','collabStatus.offline','_docSkeleton','collaboration.single-unit.warning','_backgroundColor','_session','_colorAssignService','_localeService','evenodd','url(#$1','IBeforeCloseService','switchMap','ENSURE_SNAPSHOT_EXECUTION','getCollabCursors$','hide','transformSelections','_configService','LOCAL_CACHE_INTERVAL','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_docSkeletonManagerService','_cursorInfo$','LocaleService','range','1em','_collaborationController','getSheetId','collab-rect-range-','INTERNAL_ERROR','CLOSE_ROOM','collabStatus.notCollab','unitID','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','propertyIsEnumerable','use','backgroundColor','some','ISocketService','_getMergeRange','SNAPSHOT_HAS_BEEN_REMOVED','transformIMECache','OTHER_CLIENTS_EDITING','serializeRangeWithSheet','_httpService','executeCommand','Rect','imageSourceType','_drawRectRange','ITransformService','location','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','none','UniverProCollaboration','LOCAL_CACHE_INTERVAL_KEY','_saveTaskMap','setParam','_onRefRangeChange','registerRenderModule','error','RefRangeService','takeUntil','m1Prime','createInstance','body','_onCursorDelete','extend','roomMembers','setAlpha','url(#off-line-icon_clip0_910_343)','UniverRpc','data','svg','15zizIuO','collabStatus.conflict','EffectRefRangId','assign','_render','_ensureSubject','registerDependencies','/run/','TEXT','values','WebURLService','actions','distinctUntilChanged','APPLY_NON_SEQUENTIAL_REVISION','AWAITING','SetDocZoomRatioOperation','JOIN_ROOM_FAILED','ONLINE','requireSession','row','OFFLINE','amd','setShapeProps','createElement','mapTo','NOT_COLLAB','type','code','runId','Disposable','connectInjector','_disabled','roomMembers$','OTHER_CLIENT_EDITING','getMember','_urlService','triggerDblclick','PERMISSION_DENIED','univer-mr-2\x20univer-flex\x20univer-text-xl','wsSessionTicketUrl','mask','getSheetBySheetId','UniverCore','string','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SessionStatus','shareReplay','_transformPreviousActiveRange','getItem','44hmUrjX','FromArray','_univerInstanceService','_saveCache','urlChange$','endColumn','mergeOverrideWithDependencies','blue.400','color','uni.network.url-service','@univerjs/sheets','CollaborationEvent','toStringTag','_range','DesktopCollaborationStatusDisplayController','_docSyncEditingCollabCursorService','_transformUndoRedoStack','subscribe','DependentOn','PENDING','IUIPartsService','next','DocCollaborationEntity','currentColor','toRgbString','current','RichTextEditingMutation','_anchor','unload','min','saveTaskMap','text','_scheduleSaving','_getSessionTicket','show','width','Error','params','UNDEFINED','Plugin','SNAPSHOT_INVALID_SNAPSHOT','ColorKit','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','UNAUTHENTICATED','getColor','YUUMI_URL_COL_OUT_OF_RANGE','TEXT_RANGE_LAYER_INDEX','WebSocketService','isActive','DocSelectionManagerService','attrs','disposeWithMe','IConfigService','labelPosition','132854gzvZBC','runOnServer','UniverEngineRender','fillStyle','onMouseMove','APPLY_DUPLICATED','red.300','transform','getVpScrollXYInfoByPosToVp','toString','setInterval','random','CHANGESET_REVISION_CONFILICT','status$','mutations','ILocalStorageService','off-line-icon_clip0_910_343'];_0x3ec5=function(){return _0x4ccdcb;};return _0x3ec5();}(function(_0x1bcdc2,_0x53c3d0){const _0xf2fcf=_0x2806,_0x194d9b=_0x1bcdc2();while(!![]){try{const _0x4745de=parseInt(_0xf2fcf(0x149))/0x1+-parseInt(_0xf2fcf(0x2e8))/0x2*(parseInt(_0xf2fcf(0x281))/0x3)+parseInt(_0xf2fcf(0x2b2))/0x4*(parseInt(_0xf2fcf(0x144))/0x5)+-parseInt(_0xf2fcf(0x188))/0x6+parseInt(_0xf2fcf(0x1ea))/0x7+-parseInt(_0xf2fcf(0x18b))/0x8+-parseInt(_0xf2fcf(0x20f))/0x9*(-parseInt(_0xf2fcf(0x226))/0xa);if(_0x4745de===_0x53c3d0)break;else _0x194d9b['push'](_0x194d9b['shift']());}catch(_0xaaa9a0){_0x194d9b['push'](_0x194d9b['shift']());}}}(_0x3ec5,0xb9003),function(_0x234262,_0x184e46){const _0x34c2e1=_0x2806;typeof exports==_0x34c2e1(0x373)&&typeof module<'u'?_0x184e46(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x34c2e1(0x296)]?define([_0x34c2e1(0x136),_0x34c2e1(0x189),_0x34c2e1(0x36e),_0x34c2e1(0x1d6),'@univerjs/ui',_0x34c2e1(0x227),'@univerjs/design','react',_0x34c2e1(0x1a4),_0x34c2e1(0x2bc),_0x34c2e1(0x165),_0x34c2e1(0x143),_0x34c2e1(0x3a1),'@univerjs/drawing',_0x34c2e1(0x372),_0x34c2e1(0x382),_0x34c2e1(0x1c0),'rxjs/operators',_0x34c2e1(0x20e)],_0x184e46):(_0x234262=typeof globalThis<'u'?globalThis:_0x234262||self,_0x184e46(_0x234262[_0x34c2e1(0x364)]={},_0x234262[_0x34c2e1(0x153)],_0x234262[_0x34c2e1(0x130)],_0x234262[_0x34c2e1(0x2ab)],_0x234262[_0x34c2e1(0x374)],_0x234262[_0x34c2e1(0x227)],_0x234262[_0x34c2e1(0x12b)],_0x234262[_0x34c2e1(0x153)],_0x234262[_0x34c2e1(0x27e)],_0x234262['UniverSheets'],_0x234262[_0x34c2e1(0x2ea)],_0x234262[_0x34c2e1(0x369)],_0x234262['UniverDocsUi'],_0x234262['UniverDrawing'],_0x234262[_0x34c2e1(0x26d)],_0x234262['UniverDocs'],_0x234262[_0x34c2e1(0x388)],_0x234262[_0x34c2e1(0x227)]['operators'],_0x234262[_0x34c2e1(0x358)]));}(this,function(_0xa1933d,_0x4d303d,_0x7ddaeb,_0x3dbd89,_0x1264f0,_0x142e5d,_0x43968a,_0x1220fe,_0x416e7c,_0x71d422,_0x3a9176,_0x29bd27,_0x4f3ea0,_0x5a44e5,_0x43c25f,_0x7a54c1,_0x32ac5c,_0x42d5be,_0x1110d7){'use strict';const _0x5efc3d=_0x2806;var _0x39400b=Object[_0x5efc3d(0x38b)],_0x181655=(_0x11f07f,_0x90d16a,_0x30729a)=>_0x90d16a in _0x11f07f?_0x39400b(_0x11f07f,_0x90d16a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30729a}):_0x11f07f[_0x90d16a]=_0x30729a,_0x318f52=(_0x531970,_0x3d2a9a,_0x2a2c26)=>_0x181655(_0x531970,typeof _0x3d2a9a!=_0x5efc3d(0x207)?_0x3d2a9a+'':_0x3d2a9a,_0x2a2c26),_0x42a518=function(){const _0x3adb14=_0x5efc3d;return _0x42a518=Object[_0x3adb14(0x284)]||function(_0x323f8e){const _0x1eb812=_0x3adb14;for(var _0x10cd18,_0x2db8ea=0x1,_0x418daa=arguments[_0x1eb812(0x166)];_0x2db8ea<_0x418daa;_0x2db8ea++){_0x10cd18=arguments[_0x2db8ea];for(var _0x4ec9cf in _0x10cd18)Object[_0x1eb812(0x1c5)][_0x1eb812(0x1ab)][_0x1eb812(0x1b4)](_0x10cd18,_0x4ec9cf)&&(_0x323f8e[_0x4ec9cf]=_0x10cd18[_0x4ec9cf]);}return _0x323f8e;},_0x42a518['apply'](this,arguments);},_0x527bca=function(_0x309a44,_0x179e84){const _0x86f33c=_0x5efc3d;var _0x49ee2e={};for(var _0x52bf29 in _0x309a44)Object[_0x86f33c(0x1c5)][_0x86f33c(0x1ab)][_0x86f33c(0x1b4)](_0x309a44,_0x52bf29)&&_0x179e84[_0x86f33c(0x1d2)](_0x52bf29)<0x0&&(_0x49ee2e[_0x52bf29]=_0x309a44[_0x52bf29]);if(_0x309a44!=null&&typeof Object[_0x86f33c(0x223)]=='function'){for(var _0x4f257d=0x0,_0x52bf29=Object[_0x86f33c(0x223)](_0x309a44);_0x4f257d<_0x52bf29[_0x86f33c(0x166)];_0x4f257d++)_0x179e84[_0x86f33c(0x1d2)](_0x52bf29[_0x4f257d])<0x0&&Object['prototype'][_0x86f33c(0x25a)][_0x86f33c(0x1b4)](_0x309a44,_0x52bf29[_0x4f257d])&&(_0x49ee2e[_0x52bf29[_0x4f257d]]=_0x309a44[_0x52bf29[_0x4f257d]]);}return _0x49ee2e;},_0x58bf6c=_0x1220fe['forwardRef'](function(_0xc9ce43,_0xad70bc){const _0x5b7063=_0x5efc3d;var _0x5b0db4=_0xc9ce43[_0x5b7063(0x34b)],_0x28cf20=_0xc9ce43['id'],_0x4be801=_0xc9ce43[_0x5b7063(0x1f0)],_0x1f27c2=_0xc9ce43[_0x5b7063(0x27a)],_0x3f8b20=_0x527bca(_0xc9ce43,[_0x5b7063(0x34b),'id',_0x5b7063(0x1f0),_0x5b7063(0x27a)]),_0xd92ace=_0x5b7063(0x351)[_0x5b7063(0x1fb)](_0x28cf20,'\x20')[_0x5b7063(0x1fb)](_0x4be801||'')[_0x5b7063(0x31f)](),_0x3d04d7=_0x1220fe[_0x5b7063(0x38d)]('_'[_0x5b7063(0x1fb)](_0x42d053()));return _0x54a783(_0x5b0db4,''['concat'](_0x28cf20),{'defIds':_0x5b0db4[_0x5b7063(0x33c)],'idSuffix':_0x3d04d7[_0x5b7063(0x2cb)]},_0x42a518({'ref':_0xad70bc,'className':_0xd92ace},_0x3f8b20),_0x1f27c2);});function _0x54a783(_0x32f4df,_0x4a6d44,_0x571305,_0xcad836,_0xd9d71b){const _0x4538cb=_0x5efc3d;return _0x1220fe[_0x4538cb(0x298)](_0x32f4df[_0x4538cb(0x22c)],_0x42a518(_0x42a518({'key':_0x4a6d44},_0x33c360(_0x32f4df,_0x571305,_0xd9d71b)),_0xcad836),(_0x590208(_0x32f4df,_0x571305)[_0x4538cb(0x347)]||[])['map'](function(_0x46af51,_0x4fd62e){const _0x21a5d1=_0x4538cb;return _0x54a783(_0x46af51,''[_0x21a5d1(0x1fb)](_0x4a6d44,'-')[_0x21a5d1(0x1fb)](_0x32f4df[_0x21a5d1(0x22c)],'-')[_0x21a5d1(0x1fb)](_0x4fd62e),_0x571305,void 0x0,_0xd9d71b);}));}function _0x33c360(_0x16d449,_0x5ef7b4,_0x4bd3e6){const _0x2d8233=_0x5efc3d;var _0x5f35b7=_0x42a518({},_0x16d449[_0x2d8233(0x2e4)]);_0x4bd3e6!=null&&_0x4bd3e6[_0x2d8233(0x343)]&&_0x5f35b7['fill']===_0x2d8233(0x343)&&(_0x5f35b7['fill']=_0x4bd3e6[_0x2d8233(0x343)]),_0x16d449[_0x2d8233(0x22c)]===_0x2d8233(0x2a9)&&_0x5f35b7['id']&&(_0x5f35b7['id']=_0x5f35b7['id']+_0x5ef7b4[_0x2d8233(0x146)]),Object[_0x2d8233(0x301)](_0x5f35b7)[_0x2d8233(0x112)](function(_0x573f98){const _0x8ebed=_0x2d8233;var _0x2de65a=_0x573f98[0x0],_0x89084e=_0x573f98[0x1];_0x2de65a===_0x8ebed(0x2a9)&&typeof _0x89084e==_0x8ebed(0x2ac)&&(_0x5f35b7[_0x2de65a]=_0x89084e[_0x8ebed(0x17b)](/url\(#(.*)\)/,_0x8ebed(0x243)[_0x8ebed(0x1fb)](_0x5ef7b4[_0x8ebed(0x146)],')')));});var _0x3434b7=_0x5ef7b4[_0x2d8233(0x33c)];return!_0x3434b7||_0x3434b7[_0x2d8233(0x166)]===0x0||(_0x16d449[_0x2d8233(0x22c)]===_0x2d8233(0x25b)&&_0x5f35b7[_0x2d8233(0x18c)]&&(_0x5f35b7['xlink:href']=_0x5f35b7['xlink:href']+_0x5ef7b4[_0x2d8233(0x146)]),Object['entries'](_0x5f35b7)[_0x2d8233(0x112)](function(_0x20619d){const _0x3b8762=_0x2d8233;var _0xa78922=_0x20619d[0x0],_0x386135=_0x20619d[0x1];typeof _0x386135==_0x3b8762(0x2ac)&&(_0x5f35b7[_0xa78922]=_0x386135[_0x3b8762(0x17b)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x5ef7b4[_0x3b8762(0x146)],')')));})),_0x5f35b7;}function _0x590208(_0x512957,_0x421f06){const _0x2a030e=_0x5efc3d;var _0xd02573,_0xfc2afa=_0x421f06[_0x2a030e(0x33c)];return!_0xfc2afa||_0xfc2afa['length']===0x0?_0x512957:_0x512957[_0x2a030e(0x22c)]===_0x2a030e(0x20b)&&(!((_0xd02573=_0x512957[_0x2a030e(0x347)])===null||_0xd02573===void 0x0)&&_0xd02573['length'])?_0x42a518(_0x42a518({},_0x512957),{'children':_0x512957[_0x2a030e(0x347)][_0x2a030e(0x32d)](function(_0x59ad93){const _0x58538e=_0x2a030e;return typeof _0x59ad93[_0x58538e(0x2e4)]['id']==_0x58538e(0x2ac)&&_0xfc2afa&&_0xfc2afa[_0x58538e(0x31e)](_0x59ad93[_0x58538e(0x2e4)]['id'])?_0x42a518(_0x42a518({},_0x59ad93),{'attrs':_0x42a518(_0x42a518({},_0x59ad93[_0x58538e(0x2e4)]),{'id':_0x59ad93[_0x58538e(0x2e4)]['id']+_0x421f06[_0x58538e(0x146)]})}):_0x59ad93;})}):_0x512957;}function _0x42d053(){const _0x1b643e=_0x5efc3d;return Math[_0x1b643e(0x2f3)]()[_0x1b643e(0x2f1)](0x24)['substring'](0x2,0x8);}_0x58bf6c[_0x5efc3d(0x232)]='UniverIcon';var _0x98cc74={'tag':_0x5efc3d(0x280),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5efc3d(0x26c),'viewBox':'0\x200\x2016\x2016','width':_0x5efc3d(0x251),'height':_0x5efc3d(0x251)},'children':[{'tag':'g','attrs':{'clipPath':_0x5efc3d(0x27d)},'children':[{'tag':_0x5efc3d(0x1f8),'attrs':{'stroke':_0x5efc3d(0x2c9),'d':_0x5efc3d(0x1be),'strokeLinecap':_0x5efc3d(0x17e),'strokeLinejoin':_0x5efc3d(0x17e),'strokeWidth':1.2}}]},{'tag':_0x5efc3d(0x20b),'attrs':{},'children':[{'tag':_0x5efc3d(0x1d9),'attrs':{'id':_0x5efc3d(0x2f8)},'children':[{'tag':_0x5efc3d(0x1f8),'attrs':{'fill':_0x5efc3d(0x1c3),'d':_0x5efc3d(0x1bc)}}]}]}],'defIds':[_0x5efc3d(0x2f8)]},_0xe34f32=_0x1220fe['forwardRef'](function(_0x41fead,_0x2ef900){const _0xf1d907=_0x5efc3d;return _0x1220fe[_0xf1d907(0x298)](_0x58bf6c,Object['assign']({},_0x41fead,{'id':_0xf1d907(0x1f5),'ref':_0x2ef900,'icon':_0x98cc74}));});_0xe34f32['displayName']=_0x5efc3d(0x307);var _0xed31dd={'tag':_0x5efc3d(0x280),'attrs':{'xmlns':_0x5efc3d(0x17a),'fill':_0x5efc3d(0x26c),'viewBox':'0\x200\x2017\x2016','width':_0x5efc3d(0x251),'height':_0x5efc3d(0x251)},'children':[{'tag':'g','attrs':{'clipPath':_0x5efc3d(0x344)},'children':[{'tag':_0x5efc3d(0x1f8),'attrs':{'stroke':_0x5efc3d(0x2c9),'d':_0x5efc3d(0x2dc),'strokeLinecap':_0x5efc3d(0x17e),'strokeLinejoin':_0x5efc3d(0x17e),'strokeWidth':1.2}}]},{'tag':_0x5efc3d(0x20b),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x5efc3d(0x1f8),'attrs':{'fill':_0x5efc3d(0x1c3),'d':_0x5efc3d(0x1bc),'transform':_0x5efc3d(0x321)}}]}]}],'defIds':[_0x5efc3d(0x1dd)]},_0x436332=_0x1220fe[_0x5efc3d(0x1b7)](function(_0x55cda3,_0x4ecdde){const _0x37a101=_0x5efc3d;return _0x1220fe[_0x37a101(0x298)](_0x58bf6c,Object[_0x37a101(0x284)]({},_0x55cda3,{'id':'on-line-icon','ref':_0x4ecdde,'icon':_0xed31dd}));});_0x436332[_0x5efc3d(0x232)]=_0x5efc3d(0x2f9);function _0x184283(_0x2dc57c){const _0x366ded=_0x5efc3d;switch(_0x2dc57c){case _0x7ddaeb['CollaborationStatus'][_0x366ded(0x295)]:return _0x366ded(0x23b);case _0x7ddaeb[_0x366ded(0x132)][_0x366ded(0x148)]:return _0x366ded(0x282);case _0x7ddaeb['CollaborationStatus'][_0x366ded(0x39e)]:return _0x366ded(0x1c7);case _0x7ddaeb[_0x366ded(0x132)][_0x366ded(0x29a)]:return _0x366ded(0x257);case _0x7ddaeb['CollaborationStatus'][_0x366ded(0x28f)]:case _0x7ddaeb[_0x366ded(0x132)][_0x366ded(0x363)]:return _0x366ded(0x36c);case _0x7ddaeb['CollaborationStatus']['SYNCED']:case _0x7ddaeb[_0x366ded(0x132)][_0x366ded(0x2c5)]:return'collabStatus.synced';}}function _0x32d9fc(_0x2adce6){const _0x3968e0=_0x5efc3d,{status$:_0xfc46e0}=_0x2adce6,_0xa5c971=_0x1264f0['useObservable'](_0xfc46e0,_0x7ddaeb[_0x3968e0(0x132)]['NOT_COLLAB']),_0x56faf2=_0x1264f0[_0x3968e0(0x311)](_0x3dbd89['LocaleService']),_0x3599a5=_0x1264f0[_0x3968e0(0x311)](_0x7ddaeb['CollaborationSessionService']),_0x7e95d3=_0xa5c971!==_0x7ddaeb[_0x3968e0(0x132)]['OFFLINE'],_0x12f5eb=_0x56faf2['t'](_0x184283(_0xa5c971)),_0x2a7a4d=_0x7e95d3?_0x4d303d['jsx'](_0x436332,{}):_0x4d303d[_0x3968e0(0x121)](_0xe34f32,{}),_0x943767=_0x1220fe['useCallback'](()=>{const _0x550103=_0x3968e0;_0x7e95d3||_0x3599a5[_0x550103(0x140)]();},[_0x7e95d3,_0x3599a5]);function _0x24fc1d(){const _0x82f907=_0x3968e0;return _0x4d303d['jsxs'](_0x82f907(0x303),{'className':_0x82f907(0x16f),'onClick':_0x943767,'children':[_0x4d303d[_0x82f907(0x121)](_0x82f907(0x303),{'className':_0x43968a[_0x82f907(0x35e)](_0x82f907(0x2a7),{'univer-text-green-500':_0x7e95d3,'univer-text-red-500':!_0x7e95d3}),'children':_0x2a7a4d}),_0x4d303d['jsx'](_0x82f907(0x303),{'className':_0x82f907(0x339),'children':_0x12f5eb})]});}return _0x7e95d3?_0x24fc1d():_0x4d303d[_0x3968e0(0x121)](_0x43968a['Tooltip'],{'title':_0x56faf2['t'](_0x3968e0(0x1cc)),'children':_0x24fc1d()});}var _0x38d72f=Object[_0x5efc3d(0x37a)],_0x50913f=(_0x2df1a1,_0xc28bc7,_0x49bff6,_0x3a50b7)=>{const _0x1f37f6=_0x5efc3d;for(var _0x5016bd=_0x3a50b7>0x1?void 0x0:_0x3a50b7?_0x38d72f(_0xc28bc7,_0x49bff6):_0xc28bc7,_0x2282a1=_0x2df1a1[_0x1f37f6(0x166)]-0x1,_0x4d3fd2;_0x2282a1>=0x0;_0x2282a1--)(_0x4d3fd2=_0x2df1a1[_0x2282a1])&&(_0x5016bd=_0x4d3fd2(_0x5016bd)||_0x5016bd);return _0x5016bd;},_0x1da67a=(_0x1bd373,_0x4119ab)=>(_0x424735,_0x3c2844)=>_0x4119ab(_0x424735,_0x3c2844,_0x1bd373);_0xa1933d[_0x5efc3d(0x2c0)]=class extends _0x3dbd89[_0x5efc3d(0x29e)]{constructor(_0x32590f,_0x165ba3,_0x5c40f1,_0x5513e8){const _0x195550=_0x5efc3d;super(),_0x318f52(this,'_status$',new _0x142e5d[(_0x195550(0x391))](_0x7ddaeb[_0x195550(0x132)][_0x195550(0x29a)])),(this[_0x195550(0x2b4)]=_0x32590f,this[_0x195550(0x383)]=_0x165ba3,this[_0x195550(0x252)]=_0x5c40f1,this[_0x195550(0x350)]=_0x5513e8,this[_0x195550(0x1e0)](),this[_0x195550(0x10c)]());}[_0x5efc3d(0x10c)](){const _0x332490=_0x5efc3d;this[_0x332490(0x2e5)](this['_univerInstanceService'][_0x332490(0x2fb)][_0x332490(0x161)](_0x142e5d[_0x332490(0x245)](()=>{const _0x1c23dc=_0x332490,_0x22cf24=this[_0x1c23dc(0x2b4)][_0x1c23dc(0x1f7)]();return _0x22cf24?this[_0x1c23dc(0x252)][_0x1c23dc(0x310)](_0x22cf24['getUnitId']()):_0x142e5d['of'](null);}),_0x142e5d['switchMap'](_0xfb9d5d=>_0xfb9d5d?_0xfb9d5d[_0x332490(0x2f5)]:_0x142e5d['of'](_0x7ddaeb[_0x332490(0x132)][_0x332490(0x29a)])))[_0x332490(0x2c3)](_0x2901e5=>{const _0x382869=_0x332490;this[_0x382869(0x234)][_0x382869(0x2c7)](_0x2901e5);}));}[_0x5efc3d(0x1e0)](){const _0x14cadf=_0x5efc3d;this[_0x14cadf(0x2e5)](this[_0x14cadf(0x350)]['registerComponent'](_0x1264f0[_0x14cadf(0x1a5)][_0x14cadf(0x34e)],()=>_0x1264f0[_0x14cadf(0x29f)](_0x48a9ee({'status$':this[_0x14cadf(0x234)][_0x14cadf(0x376)]()}),this[_0x14cadf(0x383)])));}},_0xa1933d[_0x5efc3d(0x2c0)]=_0x50913f([_0x1da67a(0x0,_0x3dbd89['IUniverInstanceService']),_0x1da67a(0x1,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x384)])),_0x1da67a(0x2,_0x3dbd89[_0x5efc3d(0x35f)](_0x7ddaeb[_0x5efc3d(0x1ff)])),_0x1da67a(0x3,_0x1264f0[_0x5efc3d(0x2c6)])],_0xa1933d[_0x5efc3d(0x2c0)]);function _0x48a9ee(_0x4c8f9d){const {status$:_0x41dd03}=_0x4c8f9d;return function(){const _0x25272e=_0x2806;return _0x4d303d[_0x25272e(0x121)](_0x32d9fc,{'status$':_0x41dd03});};}const _0x34b516=_0x3dbd89[_0x5efc3d(0x11b)](_0x5efc3d(0x2bb));var _0x417a5b=Object[_0x5efc3d(0x37a)],_0x5589a9=(_0x30d177,_0x3f2f0d,_0x4f1641,_0x1fa126)=>{for(var _0x24ab18=_0x1fa126>0x1?void 0x0:_0x1fa126?_0x417a5b(_0x3f2f0d,_0x4f1641):_0x3f2f0d,_0x2e3dd8=_0x30d177['length']-0x1,_0x31f4eb;_0x2e3dd8>=0x0;_0x2e3dd8--)(_0x31f4eb=_0x30d177[_0x2e3dd8])&&(_0x24ab18=_0x31f4eb(_0x24ab18)||_0x24ab18);return _0x24ab18;},_0x4d8507=(_0x461b27,_0x4124d2)=>(_0x48fa88,_0x1ae004)=>_0x4124d2(_0x48fa88,_0x1ae004,_0x461b27);_0xa1933d[_0x5efc3d(0x38a)]=class extends _0x3dbd89[_0x5efc3d(0x135)]{constructor(_0x1db2f4,_0x5985ec,_0x45751c,_0xd3bd37,_0x2b0322){const _0x503a45=_0x5efc3d;super(),this[_0x503a45(0x2a4)]=_0x1db2f4,this[_0x503a45(0x1cf)]=_0x5985ec,this[_0x503a45(0x160)]=_0x45751c,this[_0x503a45(0x393)]=_0xd3bd37,_0x2b0322?_0x2b0322==null||_0x2b0322[_0x503a45(0x357)]()[_0x503a45(0x1f6)](()=>this[_0x503a45(0x180)]()):(this[_0x503a45(0x1cf)][_0x503a45(0x18d)]('[CollaborationDataLoaderController]',_0x503a45(0x32c)),this[_0x503a45(0x180)]());}async[_0x5efc3d(0x180)](){const _0x3586e2=_0x5efc3d,_0x3caf46=this[_0x3586e2(0x2a4)][_0x3586e2(0x323)]('unit'),_0x28ddb2=this[_0x3586e2(0x2a4)][_0x3586e2(0x323)](_0x3586e2(0x29b)),_0x1957dc=this['_urlService']['getParam']('subunit');if(!_0x3caf46||!_0x28ddb2){this['_logService'][_0x3586e2(0x18d)](_0x3586e2(0x16b),_0x3586e2(0x26b));return;}const _0x2b6ce8=await this[_0x3586e2(0x393)][_0x3586e2(0x385)](_0x3caf46,Number(_0x28ddb2),_0x1957dc);_0x2b6ce8&&_0x2b6ce8 instanceof _0x3dbd89['Workbook']&&this[_0x3586e2(0x141)](_0x2b6ce8);}async[_0x5efc3d(0x141)](_0xf61538){const _0x45b0c9=_0x5efc3d;await this['_updateSubUnitFromURLParams'](_0xf61538),_0xf61538[_0x45b0c9(0x225)]['pipe'](_0x142e5d[_0x45b0c9(0x275)](this[_0x45b0c9(0x120)]))[_0x45b0c9(0x2c3)](_0x308a43=>{const _0x5e3ba4=_0x45b0c9;_0x308a43&&this[_0x5e3ba4(0x30e)](_0x308a43);}),this['_urlService'][_0x45b0c9(0x2b6)]['pipe'](_0x142e5d[_0x45b0c9(0x275)](this[_0x45b0c9(0x120)]))[_0x45b0c9(0x2c3)](()=>this[_0x45b0c9(0x331)](_0xf61538));}['_updateURLWithCurrentState'](_0x52014e,_0x2c41bc=!0x1){const _0x156b4f=_0x5efc3d,_0xc9e72d=this[_0x156b4f(0x2a4)][_0x156b4f(0x323)](_0x156b4f(0x13c));_0x52014e[_0x156b4f(0x253)]()!==_0xc9e72d&&this['_urlService']['setParam'](_0x156b4f(0x13c),_0x52014e['getSheetId'](),_0x2c41bc);}async['_updateSubUnitFromURLParams'](_0x3e62fc){const _0x317668=_0x5efc3d;var _0x585b29;const _0x4e0b36=this[_0x317668(0x2a4)][_0x317668(0x323)](_0x317668(0x13c));if(!_0x4e0b36||!_0x3e62fc[_0x317668(0x2aa)](_0x4e0b36)){const _0x33878e=_0x3e62fc[_0x317668(0x394)]()[0x0],_0x1ac023=_0x3e62fc[_0x317668(0x2aa)](_0x33878e);if(!_0x1ac023)return;this['_updateURLWithCurrentState'](_0x1ac023,!0x0),await this[_0x317668(0x160)]['executeCommand'](_0x71d422[_0x317668(0x12d)]['id'],{'unitId':_0x3e62fc[_0x317668(0x1e6)](),'subUnitId':_0x33878e});return;}((_0x585b29=_0x3e62fc['getActiveSheet']())==null?void 0x0:_0x585b29['getSheetId']())!==_0x4e0b36&&await this[_0x317668(0x160)][_0x317668(0x265)](_0x71d422['SetWorksheetActivateCommand']['id'],{'unitId':_0x3e62fc['getUnitId'](),'subUnitId':_0x4e0b36});}},_0xa1933d[_0x5efc3d(0x38a)]=_0x5589a9([_0x4d8507(0x0,_0x34b516),_0x4d8507(0x1,_0x3dbd89[_0x5efc3d(0x348)]),_0x4d8507(0x2,_0x3dbd89['ICommandService']),_0x4d8507(0x3,_0x3dbd89[_0x5efc3d(0x35f)](_0x7ddaeb['DataLoaderService'])),_0x4d8507(0x4,_0x3dbd89[_0x5efc3d(0x366)](_0x416e7c[_0x5efc3d(0x1c8)]))],_0xa1933d['CollaborationDataLoaderController']);var _0x5cd02f=Object[_0x5efc3d(0x37a)],_0x53426e=(_0xd751aa,_0x530bf8,_0xa299d,_0x128aac)=>{const _0x33a0d9=_0x5efc3d;for(var _0x5d4f0b=_0x128aac>0x1?void 0x0:_0x128aac?_0x5cd02f(_0x530bf8,_0xa299d):_0x530bf8,_0xa945bd=_0xd751aa[_0x33a0d9(0x166)]-0x1,_0x4f2ea1;_0xa945bd>=0x0;_0xa945bd--)(_0x4f2ea1=_0xd751aa[_0xa945bd])&&(_0x5d4f0b=_0x4f2ea1(_0x5d4f0b)||_0x5d4f0b);return _0x5d4f0b;},_0x41b14c=(_0x30f4d1,_0xa68ec6)=>(_0x270118,_0xb473c8)=>_0xa68ec6(_0x270118,_0xb473c8,_0x30f4d1);let _0x4d7a80=class extends _0x3dbd89[_0x5efc3d(0x135)]{constructor(_0x4208e4,_0x5cd02a){const _0x558619=_0x5efc3d;super(),this[_0x558619(0x220)]=_0x4208e4,this['_imageIoService']=_0x5cd02a,this[_0x558619(0x180)]();}['_init'](){const _0x10f62a=_0x5efc3d,_0x2f3872=this;this[_0x10f62a(0x2e5)](this['_docClipboardService'][_0x10f62a(0x39f)]({'onBeforePasteImage':async _0x2eb4cf=>{const _0x187275=_0x10f62a,_0x18d6d4=await _0x2f3872[_0x187275(0x11d)][_0x187275(0x35c)](_0x2eb4cf);return _0x18d6d4?{'source':_0x18d6d4['source'],'imageSourceType':_0x18d6d4[_0x187275(0x267)]}:null;}}));}};_0x4d7a80=_0x53426e([_0x41b14c(0x0,_0x4f3ea0[_0x5efc3d(0x213)]),_0x41b14c(0x1,_0x5a44e5['IImageIoService'])],_0x4d7a80);const _0x104aa3=[_0x5efc3d(0x33a),_0x5efc3d(0x19c),'green.600',_0x5efc3d(0x2ee),_0x5efc3d(0x2b9),'yellow.400'];class _0x37fd7c extends _0x3dbd89['Disposable']{constructor(){const _0x510058=_0x5efc3d;super(...arguments),_0x318f52(this,_0x510058(0x38c),new Map()),_0x318f52(this,_0x510058(0x22e),0x0);}[_0x5efc3d(0x314)](_0x58fb19){const _0x1aa496=_0x5efc3d;if(this[_0x1aa496(0x38c)][_0x1aa496(0x13d)](_0x58fb19))return this[_0x1aa496(0x38c)]['get'](_0x58fb19);const _0x17d2b1=_0x104aa3[this['_colorIndex']];return this[_0x1aa496(0x22e)]=(this[_0x1aa496(0x22e)]+0x1)%_0x104aa3[_0x1aa496(0x166)],this[_0x1aa496(0x38c)][_0x1aa496(0x1e8)](_0x58fb19,_0x17d2b1),_0x17d2b1;}}function _0x318227(_0x3cce5f){const _0x34a0b9=_0x5efc3d;let _0xff31d1='';for(const _0x539914 of _0x3cce5f){const {startOffset:_0x218fbb,endOffset:_0x341772,isActive:_0x43e478,rangeType:_0x1ebd0b,segmentId:_0xa0e8c8,segmentPage:_0x2ac02f}=_0x539914;_0xff31d1[_0x34a0b9(0x166)]&&(_0xff31d1+=','),_0xff31d1+=_0x218fbb+':'+_0x341772+':'+(_0x43e478?'1':'0')+':'+_0x1ebd0b+':'+_0xa0e8c8+':'+_0x2ac02f;}return _0xff31d1;}function _0x3c6127(_0x9cb1f4){const _0x205596=_0x5efc3d,_0x2dc45f=_0x9cb1f4[_0x205596(0x228)](','),_0x514095=[];for(const _0x4cbb92 of _0x2dc45f){const [_0x337430,_0x11f682,_0x1051d7,_0x2d4c0c,_0xf3f089,_0x482ad8]=_0x4cbb92[_0x205596(0x228)](':');_0x514095['push']({'startOffset':Number(_0x337430),'endOffset':Number(_0x11f682),'collapsed':_0x337430===_0x11f682,'isActive':_0x1051d7==='1','rangeType':_0x2d4c0c===_0x3dbd89[_0x205596(0x138)]['TEXT']?_0x3dbd89['DOC_RANGE_TYPE'][_0x205596(0x289)]:_0x3dbd89['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0xf3f089=='string'?String(_0xf3f089):'','segmentPage':Number(_0x482ad8!=null?_0x482ad8:-0x1)});}return _0x514095[_0x205596(0x25d)](_0x2e1cc1=>_0x2e1cc1[_0x205596(0x2e2)])||(_0x514095[0x0][_0x205596(0x2e2)]=!0x0),_0x514095;}class _0x4256c4 extends _0x3dbd89[_0x5efc3d(0x135)]{constructor(){const _0x44b67a=_0x5efc3d;super(...arguments),_0x318f52(this,'_collabCursorState$',new _0x142e5d[(_0x44b67a(0x391))](null)),_0x318f52(this,_0x44b67a(0x33e),this[_0x44b67a(0x10d)][_0x44b67a(0x376)]());}[_0x5efc3d(0x19b)](_0x1e7658){const {unitID:_0x25f83b,memberID:_0x599c25,textRanges:_0x202383}=_0x1e7658,_0xf2f10e=_0x318227(_0x202383);if(_0xf2f10e==='')return;const _0x8b7cac={'unitID':_0x25f83b,'memberID':_0x599c25,'selection':_0xf2f10e};this['_collabCursorState$']['next'](_0x8b7cac);}}var _0x799dc8=Object[_0x5efc3d(0x37a)],_0x1d1000=(_0x44d884,_0x40327c,_0x341d62,_0xa38512)=>{const _0x41f656=_0x5efc3d;for(var _0x3b3ab9=_0xa38512>0x1?void 0x0:_0xa38512?_0x799dc8(_0x40327c,_0x341d62):_0x40327c,_0x5e0a26=_0x44d884[_0x41f656(0x166)]-0x1,_0x1cf338;_0x5e0a26>=0x0;_0x5e0a26--)(_0x1cf338=_0x44d884[_0x5e0a26])&&(_0x3b3ab9=_0x1cf338(_0x3b3ab9)||_0x3b3ab9);return _0x3b3ab9;},_0x2cef99=(_0x1bd603,_0x1c5e95)=>(_0x4befb1,_0x2a56e8)=>_0x1c5e95(_0x4befb1,_0x2a56e8,_0x1bd603);const _0x4f46a6=0x12c,_0x237a7d=0x64;let _0xde3efd=class extends _0x3dbd89[_0x5efc3d(0x135)]{constructor(_0x348d3b,_0x5b5c61,_0x463ea7,_0xd0beb1,_0x3537ee,_0x45820c,_0x347119,_0x33f9ab,_0x1f90cf){const _0x20e9f2=_0x5efc3d;super(),_0x318f52(this,'_online',!0x1),_0x318f52(this,_0x20e9f2(0x180),!0x1),_0x318f52(this,_0x20e9f2(0x24e),new _0x142e5d[(_0x20e9f2(0x391))](new Map())),_0x318f52(this,_0x20e9f2(0x1d3),this[_0x20e9f2(0x24e)][_0x20e9f2(0x376)]()),_0x318f52(this,_0x20e9f2(0x305),new _0x142e5d[(_0x20e9f2(0x391))]([])),_0x318f52(this,_0x20e9f2(0x2a1),this[_0x20e9f2(0x305)][_0x20e9f2(0x161)](_0x142e5d[_0x20e9f2(0x199)](_0x4f46a6))),_0x318f52(this,_0x20e9f2(0x37c),_0x3dbd89[_0x20e9f2(0x21d)](_0x275957=>{const _0x2f2ace=_0x20e9f2,_0x3d2c71={'eventID':_0x43c25f[_0x2f2ace(0x2bd)][_0x2f2ace(0x186)],'data':{'unitID':this['unitID'],'memberID':this[_0x2f2ace(0x23f)][_0x2f2ace(0x116)](),'selection':_0x318227(_0x275957)}};this[_0x2f2ace(0x23f)][_0x2f2ace(0x31d)](_0x3d2c71,this[_0x2f2ace(0x258)]);},_0x237a7d)),(this[_0x20e9f2(0x258)]=_0x348d3b,this[_0x20e9f2(0x23f)]=_0x5b5c61,this['_injector']=_0x463ea7,this[_0x20e9f2(0x240)]=_0xd0beb1,this['_memberService']=_0x3537ee,this[_0x20e9f2(0x19d)]=_0x45820c,this[_0x20e9f2(0x18e)]=_0x347119,this[_0x20e9f2(0x2b4)]=_0x33f9ab,this[_0x20e9f2(0x160)]=_0x1f90cf);}get['cursorInfo'](){const _0x35688d=_0x5efc3d;return this[_0x35688d(0x24e)][_0x35688d(0x13b)]();}get['roomMembers'](){const _0x5bce4d=_0x5efc3d;return this['_roomMembers$'][_0x5bce4d(0x13b)]();}['dispose'](){const _0x2e3626=_0x5efc3d;super[_0x2e3626(0x33d)](),this[_0x2e3626(0x24e)][_0x2e3626(0x2c7)](new Map()),this[_0x2e3626(0x24e)][_0x2e3626(0x172)](),this[_0x2e3626(0x305)][_0x2e3626(0x2c7)]([]),this[_0x2e3626(0x305)][_0x2e3626(0x172)]();}[_0x5efc3d(0x139)](){const _0x299ae5=_0x5efc3d;this[_0x299ae5(0x180)]||(this[_0x299ae5(0x180)]=!0x0,this[_0x299ae5(0x23f)]['sessionStatus$'][_0x299ae5(0x161)](_0x142e5d[_0x299ae5(0x275)](this[_0x299ae5(0x120)]))[_0x299ae5(0x2c3)](_0x5e2783=>{const _0x59e00e=_0x299ae5;_0x5e2783===_0x7ddaeb[_0x59e00e(0x2ae)][_0x59e00e(0x292)]?this[_0x59e00e(0x1aa)]():this[_0x59e00e(0x304)]();}),this[_0x299ae5(0x23f)][_0x299ae5(0x362)][_0x299ae5(0x161)](_0x142e5d[_0x299ae5(0x275)](this['dispose$']))[_0x299ae5(0x2c3)](_0x35d17e=>{const _0xd55576=_0x299ae5,_0x5d4b6d=_0x35d17e[_0xd55576(0x134)];_0x5d4b6d===_0x43c25f[_0xd55576(0x2bd)][_0xd55576(0x186)]&&this[_0xd55576(0x142)](_0x35d17e),_0x5d4b6d===_0x43c25f[_0xd55576(0x2bd)][_0xd55576(0x367)]&&this[_0xd55576(0x279)](_0x35d17e);}),this['disposeWithMe'](this[_0x299ae5(0x160)][_0x299ae5(0x194)](_0x48633d=>{const _0x23249b=_0x299ae5,_0x30727e=_0x48633d[_0x23249b(0x2d7)];_0x30727e!=null&&this['_online']&&_0x48633d['id']===_0x7a54c1[_0x23249b(0x21b)]['id']&&_0x30727e[_0x23249b(0x1a7)]===this[_0x23249b(0x258)]&&_0x30727e[_0x23249b(0x206)]===!0x1&&_0x30727e[_0x23249b(0x187)]['length']>0x0&&this[_0x23249b(0x37c)](_0x30727e['ranges']);})),this[_0x299ae5(0x19d)][_0x299ae5(0x33e)][_0x299ae5(0x161)](_0x142e5d[_0x299ae5(0x275)](this[_0x299ae5(0x120)]))[_0x299ae5(0x2c3)](_0x5630c4=>{const _0x55f049=_0x299ae5;if((_0x5630c4==null?void 0x0:_0x5630c4['unitID'])!==this[_0x55f049(0x258)])return;const _0xdb4fc9={'eventID':_0x43c25f[_0x55f049(0x2bd)]['UPDATE_CURSOR'],'data':_0x5630c4};this[_0x55f049(0x142)](_0xdb4fc9);}),this['disposeWithMe'](this[_0x299ae5(0x160)][_0x299ae5(0x194)](_0x3524dc=>{const _0x40e912=_0x299ae5;if(_0x3524dc[_0x40e912(0x2d7)]==null)return;const _0xb6a27a=_0x3524dc[_0x40e912(0x2d7)];if(_0x3524dc['id']!==_0x7a54c1[_0x40e912(0x2cc)]['id']||_0xb6a27a[_0x40e912(0x1a7)]!==this[_0x40e912(0x258)])return;const _0x54e141={'id':_0x40e912(0x318),'params':_0xb6a27a},_0x51f2ec=this[_0x40e912(0x1ef)];for(const [_0x20cbbd,_0x570454]of _0x51f2ec){const _0xb123eb={'id':_0x40e912(0x318),'params':{'unitId':this[_0x40e912(0x258)],'actions':null,'textRanges':_0x570454[_0x40e912(0x187)]}},_0x41f012=this[_0x40e912(0x18e)][_0x40e912(0x1da)](_0x54e141,_0xb123eb,!0x1);if(_0x43c25f[_0x40e912(0x324)](_0x41f012))throw _0x41f012[_0x40e912(0x273)];_0x51f2ec[_0x40e912(0x1e8)](_0x20cbbd,{..._0x570454,'ranges':_0x41f012[_0x40e912(0x1b5)]['params'][_0x40e912(0x1a3)]});}queueMicrotask(()=>{const _0x124854=_0x40e912;this[_0x124854(0x24e)][_0x124854(0x2c7)](_0x51f2ec);});})));}[_0x5efc3d(0x142)](_0x296486){const _0x40478c=_0x5efc3d;var _0x43a3e1,_0x4e993e;const {memberID:_0x1189c5,selection:_0x518f68}=_0x296486[_0x40478c(0x27f)],_0x5e23be=_0x3c6127(_0x518f68),_0x1fddf8=(_0x4e993e=(_0x43a3e1=this[_0x40478c(0x387)][_0x40478c(0x2a3)](this[_0x40478c(0x258)],_0x1189c5))==null?void 0x0:_0x43a3e1[_0x40478c(0x371)])!=null?_0x4e993e:_0x40478c(0x179),_0x3e1626={'color':this[_0x40478c(0x240)][_0x40478c(0x314)](_0x1189c5),'name':_0x1fddf8,'ranges':_0x5e23be},_0x59dcaf=this['cursorInfo'];_0x59dcaf[_0x40478c(0x1e8)](_0x1189c5,_0x3e1626),this['_cursorInfo$'][_0x40478c(0x2c7)](_0x59dcaf);}[_0x5efc3d(0x279)](_0x466ce1){const _0x363379=_0x5efc3d,{memberID:_0x5cb3a8}=_0x466ce1[_0x363379(0x27f)],_0x113dfc=this[_0x363379(0x1ef)];_0x113dfc[_0x363379(0x125)](_0x5cb3a8),this[_0x363379(0x24e)][_0x363379(0x2c7)](_0x113dfc);}[_0x5efc3d(0x1aa)](){const _0x547518=_0x5efc3d;var _0x178fd1;if(this[_0x547518(0x191)]=!0x0,((_0x178fd1=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x178fd1[_0x547518(0x1e6)]())!==this['unitID'])return;const _0x4067ab=this['_injector'][_0x547518(0x171)](_0x7a54c1[_0x547518(0x2e3)])['getDocRanges']();Array[_0x547518(0x36a)](_0x4067ab)&&_0x4067ab[_0x547518(0x166)]>0x0&&this[_0x547518(0x37c)](_0x4067ab);}[_0x5efc3d(0x304)](){this['_online']=!0x1;}};_0xde3efd=_0x1d1000([_0x2cef99(0x2,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x384)])),_0x2cef99(0x3,_0x3dbd89['Inject'](_0x37fd7c)),_0x2cef99(0x4,_0x3dbd89[_0x5efc3d(0x35f)](_0x7ddaeb[_0x5efc3d(0x16e)])),_0x2cef99(0x5,_0x3dbd89[_0x5efc3d(0x35f)](_0x4256c4)),_0x2cef99(0x6,_0x43c25f['ITransformService']),_0x2cef99(0x7,_0x3dbd89['IUniverInstanceService']),_0x2cef99(0x8,_0x3dbd89['ICommandService'])],_0xde3efd);var _0x1f1255=Object[_0x5efc3d(0x37a)],_0xbc858b=(_0xd0992b,_0x31d270,_0x4d477a,_0x4e74a8)=>{for(var _0x1886ea=_0x4e74a8>0x1?void 0x0:_0x4e74a8?_0x1f1255(_0x31d270,_0x4d477a):_0x31d270,_0x50fd9c=_0xd0992b['length']-0x1,_0x422dfa;_0x50fd9c>=0x0;_0x50fd9c--)(_0x422dfa=_0xd0992b[_0x50fd9c])&&(_0x1886ea=_0x422dfa(_0x1886ea)||_0x1886ea);return _0x1886ea;},_0x3738f9=(_0x21454c,_0x3e1272)=>(_0x51e04c,_0x3c449b)=>_0x3e1272(_0x51e04c,_0x3c449b,_0x21454c);const _0xdef096=0x12c,_0x337416=0x64,_0x519b80=()=>{let _0x438e94=[],_0x334865=!0x1;return _0xab7bb3=>{const _0x2f44fb=_0x2806;_0x438e94[_0x2f44fb(0x14e)](_0xab7bb3),_0x334865||(_0x334865=!0x0,setTimeout(()=>{const _0x4088a0=_0x2f44fb;_0x438e94[_0x4088a0(0x112)](_0x3c9087=>_0x3c9087()),_0x438e94=[],_0x334865=!0x1;}));};};let _0x6a0b7f=class extends _0x3dbd89[_0x5efc3d(0x135)]{constructor(_0x341039,_0x45ebf6,_0x497e7c,_0x96f423,_0x29f14e,_0x23cffc,_0x3627e4,_0x4e7232){const _0x410c10=_0x5efc3d;super(),_0x318f52(this,'_online',!0x1),_0x318f52(this,_0x410c10(0x180),!0x1),_0x318f52(this,_0x410c10(0x24e),new _0x142e5d[(_0x410c10(0x391))](new Map())),_0x318f52(this,_0x410c10(0x1d3),this[_0x410c10(0x24e)][_0x410c10(0x376)]()),_0x318f52(this,_0x410c10(0x305),new _0x142e5d[(_0x410c10(0x391))]([])),_0x318f52(this,_0x410c10(0x2a1),this[_0x410c10(0x305)][_0x410c10(0x161)](_0x142e5d[_0x410c10(0x199)](_0xdef096))),_0x318f52(this,'_updateLocalCursor',_0x3dbd89[_0x410c10(0x21d)]((_0x4d7e83,_0x13d1d0)=>{const _0x20e7dc=_0x410c10,_0x3d9c1b={'eventID':_0x43c25f[_0x20e7dc(0x2bd)][_0x20e7dc(0x186)],'data':{'unitID':this[_0x20e7dc(0x258)],'memberID':this[_0x20e7dc(0x23f)][_0x20e7dc(0x116)](),'selection':_0x32ac5c[_0x20e7dc(0x263)](_0x4d7e83,_0x13d1d0[_0x20e7dc(0x250)])}};this['_session'][_0x20e7dc(0x31d)](_0x3d9c1b,this[_0x20e7dc(0x258)]);},_0x337416)),(this[_0x410c10(0x258)]=_0x341039,this[_0x410c10(0x23f)]=_0x45ebf6,this['_injector']=_0x497e7c,this[_0x410c10(0x240)]=_0x96f423,this[_0x410c10(0x387)]=_0x29f14e,this[_0x410c10(0x2b4)]=_0x23cffc,this[_0x410c10(0x160)]=_0x3627e4,this[_0x410c10(0x1ec)]=_0x4e7232);}get['cursorInfo'](){const _0x4f56b8=_0x5efc3d;return this[_0x4f56b8(0x24e)][_0x4f56b8(0x13b)]();}get[_0x5efc3d(0x27b)](){const _0x1c7e4a=_0x5efc3d;return this['_roomMembers$'][_0x1c7e4a(0x13b)]();}[_0x5efc3d(0x33d)](){const _0x22c6a2=_0x5efc3d;super[_0x22c6a2(0x33d)](),this[_0x22c6a2(0x24e)][_0x22c6a2(0x2c7)](new Map()),this['_cursorInfo$'][_0x22c6a2(0x172)](),this[_0x22c6a2(0x305)][_0x22c6a2(0x2c7)]([]),this[_0x22c6a2(0x305)]['complete']();}['init'](){const _0x40c8e8=_0x5efc3d;this['_init']||(this[_0x40c8e8(0x180)]=!0x0,this[_0x40c8e8(0x23f)]['sessionStatus$'][_0x40c8e8(0x161)](_0x142e5d[_0x40c8e8(0x275)](this[_0x40c8e8(0x120)]))[_0x40c8e8(0x2c3)](_0x5b08d2=>{const _0x2f2c37=_0x40c8e8;_0x5b08d2===_0x7ddaeb['SessionStatus'][_0x2f2c37(0x292)]?this[_0x2f2c37(0x1aa)]():this[_0x2f2c37(0x304)]();}),this['_session'][_0x40c8e8(0x362)]['pipe'](_0x142e5d[_0x40c8e8(0x275)](this[_0x40c8e8(0x120)]))[_0x40c8e8(0x2c3)](_0x1bf360=>{const _0x3e17a8=_0x40c8e8,_0x557ce2=_0x1bf360['eventID'];_0x557ce2===_0x43c25f[_0x3e17a8(0x2bd)]['UPDATE_CURSOR']&&this[_0x3e17a8(0x142)](_0x1bf360),_0x557ce2===_0x43c25f['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x1bf360);}),this[_0x40c8e8(0x271)](),this[_0x40c8e8(0x2e5)](this['_commandService'][_0x40c8e8(0x194)](_0x2b2673=>{const _0x46e8ac=_0x40c8e8;if(this[_0x46e8ac(0x191)]&&_0x2b2673['id']===_0x71d422['SetSelectionsOperation']['id']&&_0x2b2673[_0x46e8ac(0x2d7)][_0x46e8ac(0x1a7)]===this[_0x46e8ac(0x258)]){const _0x3a77e0=_0x2b2673['params'];this[_0x46e8ac(0x37c)](_0x3a77e0[_0x46e8ac(0x181)],_0x3a77e0['selections'][0x0]);}})));}[_0x5efc3d(0x142)](_0x4bdde7){const _0x334c79=_0x5efc3d;var _0x2c5470,_0xdb9927;const {memberID:_0x1627e4,selection:_0x5cc072}=_0x4bdde7[_0x334c79(0x27f)],{sheetName:_0x4c9a22,range:_0x42aa2c}=_0x32ac5c['deserializeRangeWithSheet'](_0x5cc072),_0x18ee91={'name':(_0xdb9927=(_0x2c5470=this['_memberService'][_0x334c79(0x2a3)](this[_0x334c79(0x258)],_0x1627e4))==null?void 0x0:_0x2c5470[_0x334c79(0x371)])!=null?_0xdb9927:_0x334c79(0x179),'range':this['_getMergeRange'](_0x4c9a22,_0x42aa2c),'sheetID':_0x4c9a22,'color':this[_0x334c79(0x240)][_0x334c79(0x314)](_0x1627e4),'selection':_0x5cc072},_0x3a9a08=this[_0x334c79(0x1ef)];_0x3a9a08[_0x334c79(0x1e8)](_0x1627e4,_0x18ee91),this[_0x334c79(0x24e)][_0x334c79(0x2c7)](_0x3a9a08);}[_0x5efc3d(0x279)](_0x30021a){const {memberID:_0x530e6f}=_0x30021a['data'],_0x5acf3e=this['cursorInfo'];_0x5acf3e['delete'](_0x530e6f),this['_cursorInfo$']['next'](_0x5acf3e);}[_0x5efc3d(0x25f)](_0xead141,_0x26a462){const _0x311587=_0x5efc3d;var _0x211b42,_0xd47146;const _0x444c9a=(_0xd47146=(_0x211b42=this['_univerInstanceService'][_0x311587(0x39b)](this[_0x311587(0x258)]))==null?void 0x0:_0x211b42['getSheetBySheetId'](_0xead141))==null?void 0x0:_0xd47146['getMergeData']();return(_0x444c9a==null?void 0x0:_0x444c9a[_0x311587(0x122)](_0x5e8011=>_0x3dbd89['Rectangle'][_0x311587(0x1e1)](_0x5e8011,_0x26a462)))||_0x26a462;}['_onRefRangeChange'](){const _0x356d2e=_0x5efc3d,_0x5e1636=new _0x3dbd89[(_0x356d2e(0x104))](),_0x2a8244=_0x519b80(),_0x470052=()=>{const _0x65ee9=_0x356d2e;_0x5e1636[_0x65ee9(0x33d)]();const _0x151be1=(_0x32ced5,_0x420231,_0x1efae2,_0x18275f)=>{const _0x190731=_0x65ee9;let _0x499087=[];switch(_0x32ced5['id']){case _0x71d422[_0x190731(0x283)][_0x190731(0x327)]:{_0x499087=_0x71d422['handleDeleteRangeMoveLeft'](_0x32ced5,_0x18275f);break;}case _0x71d422[_0x190731(0x283)][_0x190731(0x20c)]:{_0x499087=_0x71d422[_0x190731(0x337)](_0x32ced5,_0x18275f);break;}case _0x71d422[_0x190731(0x283)][_0x190731(0x378)]:{_0x499087=_0x71d422[_0x190731(0x117)](_0x32ced5,_0x18275f);break;}case _0x71d422['EffectRefRangId'][_0x190731(0x1b6)]:{_0x499087=_0x71d422['handleInsertRangeMoveDown'](_0x32ced5,_0x18275f);break;}case _0x71d422['EffectRefRangId'][_0x190731(0x126)]:{_0x499087=_0x71d422[_0x190731(0x36d)](_0x32ced5,_0x18275f);break;}case _0x71d422[_0x190731(0x283)][_0x190731(0x342)]:{_0x499087=_0x71d422[_0x190731(0x21a)](_0x32ced5,_0x18275f);break;}case _0x71d422['EffectRefRangId'][_0x190731(0x1d5)]:{_0x499087=_0x71d422[_0x190731(0x105)](_0x32ced5,_0x18275f);break;}case _0x71d422[_0x190731(0x283)][_0x190731(0x14f)]:{_0x499087=_0x71d422[_0x190731(0x35b)](_0x32ced5,_0x18275f);break;}case _0x71d422['EffectRefRangId']['RemoveRowCommandId']:{_0x499087=_0x71d422['handleIRemoveRow'](_0x32ced5,_0x18275f);break;}}const _0x541beb=_0x71d422[_0x190731(0x1d8)](_0x499087,_0x18275f),_0x176348=this[_0x190731(0x1ef)][_0x190731(0x171)](_0x420231);if(_0x176348&&_0x541beb){const _0x4abcc7={..._0x176348,'range':_0x541beb};this[_0x190731(0x1ef)][_0x190731(0x1e8)](_0x420231,_0x4abcc7),_0x2a8244(()=>{const _0x8d4787=_0x190731,_0x108c39=this['_refRangeService'][_0x8d4787(0x35a)](_0x541beb,_0x25a7c7=>(_0x108c39[_0x8d4787(0x33d)](),_0x151be1(_0x25a7c7,_0x420231,_0x1efae2,_0x541beb)));_0x5e1636['add'](_0x108c39);});}return{'redos':[],'undos':[]};};this[_0x65ee9(0x1ef)][_0x65ee9(0x112)]((_0x218c05,_0x14d66a)=>{const _0x473895=_0x65ee9,{range:_0x3876fd,sheetID:_0x3b0f79}=_0x218c05,_0x30082d=this['_refRangeService']['registerRefRange'](_0x3876fd,_0x494145=>(_0x30082d[_0x473895(0x33d)](),_0x151be1(_0x494145,_0x14d66a,_0x3b0f79,_0x3876fd)));_0x5e1636[_0x473895(0x133)](_0x30082d);});};this[_0x356d2e(0x2e5)](_0x3dbd89[_0x356d2e(0x35d)](this[_0x356d2e(0x24e)]['subscribe'](()=>{_0x470052();})));}[_0x5efc3d(0x1aa)](){const _0x49849d=_0x5efc3d;var _0x102ed3,_0x5358db;if(this[_0x49849d(0x191)]=!0x0,((_0x102ed3=this[_0x49849d(0x2b4)][_0x49849d(0x1f7)]())==null?void 0x0:_0x102ed3['getUnitId']())!==this[_0x49849d(0x258)])return;const _0x6b9c54=(_0x5358db=this[_0x49849d(0x383)][_0x49849d(0x171)](_0x71d422[_0x49849d(0x219)])[_0x49849d(0x154)]())==null?void 0x0:_0x5358db[0x0],_0x46cd6d=this[_0x49849d(0x2b4)][_0x49849d(0x334)](_0x3dbd89[_0x49849d(0x306)][_0x49849d(0x335)])['getActiveSheet']();_0x6b9c54&&_0x46cd6d&&this['_updateLocalCursor'](_0x46cd6d[_0x49849d(0x253)](),_0x6b9c54);}[_0x5efc3d(0x304)](){const _0x56e365=_0x5efc3d;this[_0x56e365(0x191)]=!0x1;}};_0x6a0b7f=_0xbc858b([_0x3738f9(0x2,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89['Injector'])),_0x3738f9(0x3,_0x3dbd89[_0x5efc3d(0x35f)](_0x37fd7c)),_0x3738f9(0x4,_0x3dbd89['Inject'](_0x7ddaeb['MemberService'])),_0x3738f9(0x5,_0x3dbd89['IUniverInstanceService']),_0x3738f9(0x6,_0x3dbd89['ICommandService']),_0x3738f9(0x7,_0x3dbd89[_0x5efc3d(0x35f)](_0x71d422[_0x5efc3d(0x274)]))],_0x6a0b7f);var _0x4ce306=Object[_0x5efc3d(0x37a)],_0x1a37db=(_0x414595,_0x5cae00,_0x37668,_0x554a32)=>{const _0x28d6e2=_0x5efc3d;for(var _0x5e121b=_0x554a32>0x1?void 0x0:_0x554a32?_0x4ce306(_0x5cae00,_0x37668):_0x5cae00,_0x3d41a2=_0x414595[_0x28d6e2(0x166)]-0x1,_0x356e8d;_0x3d41a2>=0x0;_0x3d41a2--)(_0x356e8d=_0x414595[_0x3d41a2])&&(_0x5e121b=_0x356e8d(_0x5e121b)||_0x5e121b);return _0x5e121b;},_0x3c8c68=(_0x47014c,_0x43fec2)=>(_0x22d37b,_0x1d0b9b)=>_0x43fec2(_0x22d37b,_0x1d0b9b,_0x47014c);let _0x2973b0=class extends _0x3dbd89['RxDisposable']{constructor(_0x4e3b97,_0x3382b8,_0x46f17f){const _0x2e0760=_0x5efc3d;super(),_0x318f52(this,_0x2e0760(0x31a),new Map()),_0x318f52(this,_0x2e0760(0x1df),new _0x142e5d['Subject']()),(this[_0x2e0760(0x2b4)]=_0x4e3b97,this[_0x2e0760(0x383)]=_0x3382b8,this[_0x2e0760(0x38f)]=_0x46f17f,this[_0x2e0760(0x180)]());}['dispose'](){const _0x4be21a=_0x5efc3d;super[_0x4be21a(0x33d)](),this['_entityInit$'][_0x4be21a(0x172)](),this['_entities'][_0x4be21a(0x112)](_0x2a73bb=>_0x2a73bb[_0x4be21a(0x33d)]());}['getCollabCursors$'](_0xf4b3f3){const _0xfbf180=_0x5efc3d;return this[_0xfbf180(0x31a)][_0xfbf180(0x13d)](_0xf4b3f3)?this['_entities']['get'](_0xf4b3f3)[_0xfbf180(0x1d3)]:this[_0xfbf180(0x1df)][_0xfbf180(0x161)](_0x142e5d[_0xfbf180(0x215)](_0x47f0c3=>_0x47f0c3['unitID']===_0xf4b3f3),_0x142e5d[_0xfbf180(0x245)](_0x3b77f7=>_0x3b77f7[_0xfbf180(0x1d3)]));}[_0x5efc3d(0x180)](){const _0x355822=_0x5efc3d;this[_0x355822(0x2b4)][_0x355822(0x1bb)](_0x3dbd89[_0x355822(0x306)][_0x355822(0x335)])['pipe'](_0x142e5d['takeUntil'](this[_0x355822(0x120)]))[_0x355822(0x2c3)](async _0x26bae2=>{const _0x9331d1=_0x355822,_0x5db6de=_0x26bae2[_0x9331d1(0x1e6)](),_0x45cc4d=await this[_0x9331d1(0x129)](_0x5db6de);this[_0x9331d1(0x1df)][_0x9331d1(0x2c7)](_0x45cc4d),this[_0x9331d1(0x31a)]['set'](_0x5db6de,_0x45cc4d);}),this[_0x355822(0x2b4)][_0x355822(0x1bb)](_0x3dbd89[_0x355822(0x306)]['UNIVER_DOC'])[_0x355822(0x161)](_0x142e5d[_0x355822(0x275)](this[_0x355822(0x120)]))[_0x355822(0x161)](_0x142e5d[_0x355822(0x215)](_0x218c89=>!_0x218c89[_0x355822(0x1e6)]()['startsWith']('__')))[_0x355822(0x2c3)](async _0x230936=>{const _0x15cc92=_0x355822,_0x38e517=_0x230936[_0x15cc92(0x1e6)](),_0x183c06=await this[_0x15cc92(0x239)](_0x38e517);this[_0x15cc92(0x1df)]['next'](_0x183c06),this[_0x15cc92(0x31a)][_0x15cc92(0x1e8)](_0x38e517,_0x183c06);}),_0x142e5d[_0x355822(0x22d)](this[_0x355822(0x2b4)]['getTypeOfUnitDisposed$'](_0x3dbd89[_0x355822(0x306)][_0x355822(0x1ba)]),this[_0x355822(0x2b4)]['getTypeOfUnitDisposed$'](_0x3dbd89['UniverInstanceType'][_0x355822(0x335)]))[_0x355822(0x161)](_0x142e5d['takeUntil'](this[_0x355822(0x120)]))[_0x355822(0x2c3)](_0x2a24b5=>{const _0x3be8ae=_0x355822,_0x2d9b1b=_0x2a24b5['getUnitId'](),_0x4ba672=this[_0x3be8ae(0x31a)][_0x3be8ae(0x171)](_0x2d9b1b);_0x4ba672&&(_0x4ba672[_0x3be8ae(0x33d)](),this[_0x3be8ae(0x31a)][_0x3be8ae(0x125)](_0x2d9b1b));});}async[_0x5efc3d(0x129)](_0x416822){const _0x495291=_0x5efc3d,_0x18ce59=await this[_0x495291(0x38f)]['requireSession'](_0x416822),_0x63eb03=this[_0x495291(0x383)]['createInstance'](_0x6a0b7f,_0x416822,_0x18ce59);return _0x63eb03[_0x495291(0x139)](),_0x63eb03;}async[_0x5efc3d(0x239)](_0xc861ed){const _0x2f7818=_0x5efc3d,_0x3a2b41=await this[_0x2f7818(0x38f)][_0x2f7818(0x293)](_0xc861ed),_0x1080ec=this[_0x2f7818(0x383)][_0x2f7818(0x277)](_0xde3efd,_0xc861ed,_0x3a2b41);return _0x1080ec['init'](),_0x1080ec;}};_0x2973b0=_0x1a37db([_0x3c8c68(0x0,_0x3dbd89[_0x5efc3d(0x158)]),_0x3c8c68(0x1,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89['Injector'])),_0x3c8c68(0x2,_0x3dbd89[_0x5efc3d(0x35f)](_0x7ddaeb['CollaborationSessionService']))],_0x2973b0);const _0x4d44cc=0x14,_0x3bdd77=0xc8,_0x276f60=0x4,_0xa8863b=0x5;function _0x1475a2(_0x257e5e,_0x4ef3bd){const _0x3869db=_0x5efc3d;let {radius:_0x524eee,width:_0x15316d,height:_0x4aba5e}=_0x4ef3bd;_0x524eee=_0x524eee!=null?_0x524eee:0x0,_0x15316d=_0x15316d!=null?_0x15316d:0x1e,_0x4aba5e=_0x4aba5e!=null?_0x4aba5e:0x1e;let _0x4272aa=0x0,_0x2a6e4a=0x0,_0x57420a=0x0;_0x4272aa=_0x2a6e4a=_0x57420a=Math[_0x3869db(0x2cf)](_0x524eee,_0x15316d/0x2,_0x4aba5e/0x2),_0x257e5e[_0x3869db(0x1a6)](),_0x257e5e[_0x3869db(0x1b8)](_0x4272aa,0x0),_0x257e5e[_0x3869db(0x1af)](_0x15316d-_0x2a6e4a,0x0),_0x257e5e[_0x3869db(0x34f)](_0x15316d-_0x2a6e4a,_0x2a6e4a,_0x2a6e4a,Math['PI']*0x3/0x2,0x0,!0x1),_0x257e5e[_0x3869db(0x1af)](_0x15316d,_0x4aba5e-_0x57420a),_0x257e5e[_0x3869db(0x34f)](_0x15316d-_0x57420a,_0x4aba5e-_0x57420a,_0x57420a,0x0,Math['PI']/0x2,!0x1),_0x257e5e[_0x3869db(0x1af)](0x0,_0x4aba5e),_0x257e5e[_0x3869db(0x1af)](0x0,_0x4272aa),_0x257e5e[_0x3869db(0x34f)](_0x4272aa,_0x4272aa,_0x4272aa,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x257e5e[_0x3869db(0x15c)](),_0x4ef3bd[_0x3869db(0x333)]&&(_0x257e5e[_0x3869db(0x198)](),_0x257e5e[_0x3869db(0x2eb)]=_0x4ef3bd[_0x3869db(0x333)],_0x4ef3bd['fillRule']===_0x3869db(0x242)?_0x257e5e[_0x3869db(0x333)](_0x3869db(0x242)):_0x257e5e[_0x3869db(0x333)](),_0x257e5e[_0x3869db(0x208)]());}class _0x2332d3 extends _0x3a9176['Shape']{constructor(_0x1fe3fe,_0x51a162){const _0x564019=_0x5efc3d;super(_0x1fe3fe,_0x51a162),_0x318f52(this,'color'),_0x318f52(this,_0x564019(0x2d1)),(this[_0x564019(0x2ba)]=_0x51a162==null?void 0x0:_0x51a162['color'],this[_0x564019(0x2d1)]=_0x51a162==null?void 0x0:_0x51a162['text']);}static['drawWith'](_0x38c2fe,_0x2863ec){const _0x3ab2b8=_0x5efc3d,{text:_0x28b1ef,color:_0x12267d}=_0x2863ec;_0x38c2fe[_0x3ab2b8(0x198)](),_0x38c2fe[_0x3ab2b8(0x399)]=_0x3ab2b8(0x115);const _0x50a8e8=_0x38c2fe[_0x3ab2b8(0x197)](_0x28b1ef)[_0x3ab2b8(0x2d5)],_0x3edcd6=Math[_0x3ab2b8(0x2cf)](_0x50a8e8+0x2*_0x276f60,_0x3bdd77);_0x1475a2(_0x38c2fe,{'height':_0x4d44cc,'radius':0x4,'width':_0x3edcd6,'fill':_0x12267d}),_0x38c2fe['fillStyle']='#FFF';const _0x13c5cc=_0x276f60,_0x3688ec=_0x4d44cc-_0xa8863b,_0x2a354a=_0x3bdd77-0x2*_0x276f60;if(_0x50a8e8>_0x2a354a){let _0xa8a148='',_0xa64eb=0x0;for(const _0x4a34d4 of _0x28b1ef){const _0x39ea30=_0x38c2fe[_0x3ab2b8(0x197)](_0x4a34d4)[_0x3ab2b8(0x2d5)];if(_0xa64eb+_0x39ea30<=_0x2a354a-_0x38c2fe['measureText'](_0x3ab2b8(0x397))[_0x3ab2b8(0x2d5)])_0xa8a148+=_0x4a34d4,_0xa64eb+=_0x39ea30;else{_0xa8a148+=_0x3ab2b8(0x397);break;}}_0x38c2fe['fillText'](_0xa8a148,_0x13c5cc,_0x3688ec);}else _0x38c2fe['fillText'](_0x28b1ef,_0x13c5cc,_0x3688ec);_0x38c2fe[_0x3ab2b8(0x208)]();}[_0x5efc3d(0x39d)](_0x1ab442){_0x2332d3['drawWith'](_0x1ab442,this);}}const _0x46af94='collab-text-anchor-',_0x172994='collab-text-range-',_0x4e8c21=_0x5efc3d(0x254),_0x3ebd96=0x6,_0x3aa0ec=1.5,_0x457cba=0x4,_0x504c2a=1.5,_0x38efd2='rgba(255,\x20255,\x20255,\x200.01)';class _0x161b4a{constructor(_0x769a66,_0x404c7e,_0x41e852,_0x5aa8b6){const _0x4dfcb9=_0x5efc3d;_0x318f52(this,_0x4dfcb9(0x1e5),[]),_0x318f52(this,_0x4dfcb9(0x2cd),null),_0x318f52(this,_0x4dfcb9(0x32f),null),_0x318f52(this,_0x4dfcb9(0x15d),null),_0x318f52(this,_0x4dfcb9(0x336),null),_0x318f52(this,_0x4dfcb9(0x1c9),null),(this[_0x4dfcb9(0x1d4)]=_0x769a66,this[_0x4dfcb9(0x1f9)]=_0x404c7e,this[_0x4dfcb9(0x23c)]=_0x41e852,this[_0x4dfcb9(0x10f)]=_0x5aa8b6,this[_0x4dfcb9(0x285)]());}set[_0x5efc3d(0x396)](_0x46d13d){const _0x28a07d=_0x5efc3d;_0x46d13d?(this[_0x28a07d(0x15d)]&&this[_0x28a07d(0x15d)][_0x28a07d(0x248)](),this[_0x28a07d(0x32f)]&&this[_0x28a07d(0x32f)][_0x28a07d(0x2d4)]()):(this[_0x28a07d(0x15d)]&&this[_0x28a07d(0x15d)][_0x28a07d(0x2d4)](),this[_0x28a07d(0x32f)]&&this[_0x28a07d(0x32f)][_0x28a07d(0x248)]());}[_0x5efc3d(0x33d)](){const _0x40d580=_0x5efc3d;for(const _0x538fe9 of this[_0x40d580(0x1e5)])_0x538fe9[_0x40d580(0x33d)]();this[_0x40d580(0x32f)]&&this['_textBubble']['dispose'](),this[_0x40d580(0x15d)]&&this[_0x40d580(0x15d)][_0x40d580(0x33d)](),this[_0x40d580(0x2cd)]&&this[_0x40d580(0x2cd)][_0x40d580(0x33d)](),this[_0x40d580(0x1c9)]&&this[_0x40d580(0x1c9)]();}[_0x5efc3d(0x285)](){const _0x32f9b8=_0x5efc3d;var _0x3cfee9;const {_docSkeleton:_0x28f213,_document:_0x553aea}=this,{color:_0x7d81fd,name:_0x50a041,ranges:_0x41711f}=this[_0x32f9b8(0x1d4)],_0x43e1cb=_0x553aea['getOffsetConfig'](),{docsLeft:_0x2cb8dd,docsTop:_0x5a4632}=_0x43e1cb,_0x39eb6f=new _0x4f3ea0['NodePositionConvertToCursor'](_0x43e1cb,_0x28f213);for(const {startOffset:_0x3b9c2b,endOffset:_0x285a4d,rangeType:_0x2a27a5,segmentId:_0x3f357e,segmentPage:_0x18f5dd,collapsed:_0x261df6,isActive:_0x13652b}of _0x41711f){const _0x1f9ff1=_0x28f213[_0x32f9b8(0x14b)](_0x3b9c2b,!0x0,_0x3f357e,_0x18f5dd);let _0x542093=_0x28f213[_0x32f9b8(0x14b)](_0x285a4d,!0x0,_0x3f357e,_0x18f5dd);if(_0x542093==null&&(_0x542093=_0x28f213[_0x32f9b8(0x14b)](_0x285a4d-0x1,!0x1,_0x3f357e,_0x18f5dd)),_0x13652b){const {contentBoxPointGroup:_0x4e8b20}=_0x39eb6f['getRangePointData'](_0x542093,_0x542093);if(_0x4e8b20[_0x32f9b8(0x166)]===0x0)continue;this[_0x32f9b8(0x12c)](_0x7d81fd,_0x4e8b20,_0x2cb8dd,_0x5a4632,_0x50a041),this[_0x32f9b8(0x1c9)]=this[_0x32f9b8(0x218)]();}if(_0x1f9ff1&&_0x542093){if(_0x2a27a5===_0x3dbd89[_0x32f9b8(0x138)][_0x32f9b8(0x1c6)]){const _0x226679=new _0x4f3ea0[(_0x32f9b8(0x205))](_0x43e1cb,_0x28f213),{pointGroup:_0x5c3add}=(_0x3cfee9=_0x226679[_0x32f9b8(0x375)](_0x1f9ff1,_0x542093))!=null?_0x3cfee9:{};if(_0x5c3add==null||_0x5c3add[_0x32f9b8(0x166)]===0x0)continue;this[_0x32f9b8(0x268)](_0x7d81fd,_0x5c3add,_0x2cb8dd,_0x5a4632);}else{if(!_0x261df6){const {borderBoxPointGroup:_0x4cfdbd}=_0x39eb6f[_0x32f9b8(0x375)](_0x1f9ff1,_0x542093);if(_0x4cfdbd['length']===0x0)continue;this[_0x32f9b8(0x1ce)](_0x7d81fd,_0x4cfdbd,_0x2cb8dd,_0x5a4632);}}}}}['_drawAnchor'](_0x36d37c,_0x510dbb,_0x370849,_0x1410f3,_0x15b8c5){const _0x1e035e=_0x5efc3d,_0x5b9303=this['_getAnchorBounding'](_0x510dbb),{left:_0x187742,top:_0x327bfc,height:_0x53b971}=_0x5b9303,_0x1428ad=this[_0x1e035e(0x167)](),_0x627400=_0x504c2a/_0x1428ad,_0x832c92=new _0x3a9176[(_0x1e035e(0x266))](_0x46af94+_0x3dbd89[_0x1e035e(0x330)](_0x3ebd96),{'left':_0x187742+_0x370849-_0x627400,'top':_0x327bfc+_0x1410f3,'height':_0x53b971,'width':_0x3aa0ec,'fill':_0x36d37c||_0x3a9176[_0x1e035e(0x2de)](_0x3dbd89[_0x1e035e(0x192)]['black'],0x0),'strokeWidth':_0x627400,'stroke':_0x38efd2,'evented':!0x0});this[_0x1e035e(0x2cd)]=_0x832c92,this[_0x1e035e(0x1f9)][_0x1e035e(0x361)](_0x832c92,_0x4f3ea0['TEXT_RANGE_LAYER_INDEX']);const _0x10991c=new _0x3a9176[(_0x1e035e(0x266))](_0x46af94+_0x3dbd89[_0x1e035e(0x330)](_0x3ebd96),{'left':_0x187742+_0x370849-_0x627400,'top':_0x327bfc+_0x1410f3-_0x457cba/0x2,'height':_0x457cba,'width':_0x457cba,'fill':_0x36d37c||_0x3a9176['getColor'](_0x3dbd89['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x36d37c||_0x3a9176[_0x1e035e(0x2de)](_0x3dbd89[_0x1e035e(0x192)][_0x1e035e(0x11a)],0x0),'evented':!0x1});this['_anchorDot']=_0x10991c,this[_0x1e035e(0x1f9)]['addObject'](_0x10991c,_0x4f3ea0['TEXT_RANGE_LAYER_INDEX']);const _0x4f86a1=new _0x2332d3(_0x46af94+_0x3dbd89[_0x1e035e(0x330)](_0x3ebd96),{'left':_0x187742+_0x370849-_0x627400,'top':_0x327bfc+_0x1410f3-_0x4d44cc,'text':_0x15b8c5,'color':_0x36d37c});this[_0x1e035e(0x32f)]=_0x4f86a1,this[_0x1e035e(0x1f9)][_0x1e035e(0x361)](_0x4f86a1,_0x4f3ea0[_0x1e035e(0x2e0)]),this[_0x1e035e(0x396)]=!0x1;}['_handleHover'](){const _0x59de35=_0x5efc3d,_0x5bce7f=this['_anchor'][_0x59de35(0x39a)]['subscribeEvent'](()=>{const _0x4eccd1=_0x59de35;this[_0x4eccd1(0x396)]=!0x0;}),_0x3e95d3=this[_0x59de35(0x2cd)][_0x59de35(0x332)][_0x59de35(0x238)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x2c93d6=_0x2806;this[_0x2c93d6(0x396)]=!0x1;},0x7d0);});return()=>{const _0x138ca2=_0x59de35;_0x5bce7f[_0x138ca2(0x19e)](),_0x3e95d3[_0x138ca2(0x19e)]();};}[_0x5efc3d(0x1ce)](_0x35347b,_0x2f61c7,_0x5a2b82,_0x2092b2){const _0x5a900f=_0x5efc3d,_0x5119f0=new _0x3dbd89[(_0x5a900f(0x2db))](_0x35347b)['setAlpha'](0.2)[_0x5a900f(0x2ca)](),_0x508f5b=new _0x3a9176[(_0x5a900f(0x368))](_0x172994+_0x3dbd89[_0x5a900f(0x330)](_0x3ebd96),{'pointsGroup':_0x2f61c7,'fill':_0x5119f0||_0x3a9176[_0x5a900f(0x2de)](_0x3dbd89[_0x5a900f(0x192)][_0x5a900f(0x11a)],0.2),'left':_0x5a2b82,'top':_0x2092b2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5a900f(0x14e)](_0x508f5b),this[_0x5a900f(0x1f9)][_0x5a900f(0x361)](_0x508f5b,_0x4f3ea0['TEXT_RANGE_LAYER_INDEX']);}[_0x5efc3d(0x268)](_0x3eb0ac,_0x432a15,_0x4257eb,_0x9ddae8){const _0x4a9f46=_0x5efc3d,_0x39f384=new _0x3dbd89[(_0x4a9f46(0x2db))](_0x3eb0ac)[_0x4a9f46(0x27c)](0.2)[_0x4a9f46(0x2ca)](),_0x566f92=new _0x3a9176[(_0x4a9f46(0x368))](_0x4e8c21+_0x3dbd89[_0x4a9f46(0x330)](_0x3ebd96),{'pointsGroup':_0x432a15,'fill':_0x39f384||_0x3a9176[_0x4a9f46(0x2de)](_0x3dbd89[_0x4a9f46(0x192)]['black'],0.2),'left':_0x4257eb,'top':_0x9ddae8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a9f46(0x1e5)][_0x4a9f46(0x14e)](_0x566f92),this['_scene']['addObject'](_0x566f92,_0x4f3ea0[_0x4a9f46(0x2e0)]);}[_0x5efc3d(0x14c)](_0x115580){const _0x27bf72=_0x115580[0x0],_0x788605=_0x27bf72[0x0],_0x10103c=_0x27bf72[0x2],{x:_0x22757f,y:_0x1c64bb}=_0x788605,{x:_0x25b6b4,y:_0x36527f}=_0x10103c;return{'left':_0x22757f,'top':_0x1c64bb,'width':_0x25b6b4-_0x22757f,'height':_0x36527f-_0x1c64bb};}[_0x5efc3d(0x167)](){const _0x4912f7=_0x5efc3d,{scaleX:_0x17c09b,scaleY:_0x308e70}=this[_0x4912f7(0x1f9)][_0x4912f7(0x10a)]();return Math[_0x4912f7(0x157)](_0x17c09b,_0x308e70);}}var _0x2203b7=Object[_0x5efc3d(0x37a)],_0x115c81=(_0x52913a,_0x350917,_0xefcae2,_0x1839a8)=>{for(var _0x274195=_0x1839a8>0x1?void 0x0:_0x1839a8?_0x2203b7(_0x350917,_0xefcae2):_0x350917,_0x10d7ef=_0x52913a['length']-0x1,_0x4265cf;_0x10d7ef>=0x0;_0x10d7ef--)(_0x4265cf=_0x52913a[_0x10d7ef])&&(_0x274195=_0x4265cf(_0x274195)||_0x274195);return _0x274195;},_0xc67de6=(_0x2b8d3a,_0x428e6a)=>(_0x55d51d,_0xe70b1a)=>_0x428e6a(_0x55d51d,_0xe70b1a,_0x2b8d3a);let _0x501291=class extends _0x3dbd89['RxDisposable']{constructor(_0x3d47ad,_0x3bd8f6,_0xbcd0b6,_0x6dcdb,_0x4b67cd){const _0x4b5e06=_0x5efc3d;super(),_0x318f52(this,_0x4b5e06(0x152),[]),_0x318f52(this,_0x4b5e06(0x190),[]),(this['_context']=_0x3d47ad,this['_docSkeletonManagerService']=_0x3bd8f6,this['_collabCursorController']=_0xbcd0b6,this['_commandService']=_0x6dcdb,this[_0x4b5e06(0x30c)]=_0x4b67cd,this[_0x4b5e06(0x180)]());}[_0x5efc3d(0x180)](){const _0x2023ad=_0x5efc3d,_0x3496ac=this['_context']['unitId'],_0x257929=this[_0x2023ad(0x24d)];this['disposeWithMe'](_0x142e5d[_0x2023ad(0x386)]([this['_collabCursorController'][_0x2023ad(0x247)](_0x3496ac),this[_0x2023ad(0x30c)]['currentTheme$']])[_0x2023ad(0x161)](_0x42d5be[_0x2023ad(0x32d)](([_0x37e30d,_0x26c52b])=>({'skeleton':_0x257929[_0x2023ad(0x1cd)](),'cursors':[..._0x37e30d[_0x2023ad(0x28a)]()][_0x2023ad(0x15f)](_0x282a36=>({..._0x282a36,'color':this['_themeService'][_0x2023ad(0x1de)](_0x282a36[_0x2023ad(0x2ba)])}))})))['subscribe'](_0x4f79e5=>{const _0x1644cc=_0x2023ad;if(this[_0x1644cc(0x185)](),_0x4f79e5){const {skeleton:_0x251899,cursors:_0x3b8b3b}=_0x4f79e5;this[_0x1644cc(0x211)](_0x251899,_0x3b8b3b);}})),this[_0x2023ad(0x1b0)](),this[_0x2023ad(0x214)]();}['_updateCollabCursors'](_0x1bbf37,_0x3eb1db){const _0x476b96=_0x5efc3d,{scene:_0x340b0a,mainComponent:_0x8da746}=this[_0x476b96(0x110)],_0x1cfd93=_0x3eb1db[_0x476b96(0x32d)](_0x329abb=>new _0x161b4a(_0x329abb,_0x340b0a,_0x1bbf37,_0x8da746));this['_cursorShapes']=_0x1cfd93,this[_0x476b96(0x190)]=_0x3eb1db;}['_refreshCollabCursors'](){const _0x53b192=_0x5efc3d;this[_0x53b192(0x185)]();const {scene:_0x47000c,mainComponent:_0x40d0e9}=this[_0x53b192(0x110)],_0x588f6f=this[_0x53b192(0x24d)][_0x53b192(0x1cd)](),_0x207db4=this[_0x53b192(0x190)][_0x53b192(0x32d)](_0x3cfcb4=>new _0x161b4a(_0x3cfcb4,_0x47000c,_0x588f6f,_0x40d0e9));this['_cursorShapes']=_0x207db4;}[_0x5efc3d(0x185)](){const _0x27a62b=_0x5efc3d;this[_0x27a62b(0x152)][_0x27a62b(0x112)](_0x596d1f=>_0x596d1f[_0x27a62b(0x33d)]()),this[_0x27a62b(0x152)]=[];}['_initCommandExecutedListener'](){const _0x324ff5=_0x5efc3d,_0x18b7e8=[_0x4f3ea0[_0x324ff5(0x290)]['id']];this['disposeWithMe'](this[_0x324ff5(0x160)][_0x324ff5(0x194)](_0x4ad251=>{const _0x122396=_0x324ff5;_0x18b7e8[_0x122396(0x31e)](_0x4ad251['id'])&&_0x4ad251[_0x122396(0x2d7)][_0x122396(0x1a7)]===this[_0x122396(0x110)][_0x122396(0x1a7)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x42c7e7=_0x5efc3d;this['disposeWithMe'](_0x3dbd89[_0x42c7e7(0x1a8)](this[_0x42c7e7(0x110)][_0x42c7e7(0x1e2)][_0x42c7e7(0x22a)])[_0x42c7e7(0x161)](_0x42d5be[_0x42c7e7(0x215)](_0x19e5d5=>_0x19e5d5[_0x42c7e7(0x29b)]===_0x3a9176[_0x42c7e7(0x11c)][_0x42c7e7(0x176)]),_0x42d5be['throttleTime'](0x10))[_0x42c7e7(0x2c3)](()=>{this['_refreshCollabCursors']();}));}};_0x501291=_0x115c81([_0xc67de6(0x1,_0x3dbd89['Inject'](_0x7a54c1['DocSkeletonManagerService'])),_0xc67de6(0x2,_0x3dbd89['Inject'](_0x2973b0)),_0xc67de6(0x3,_0x3dbd89[_0x5efc3d(0x398)]),_0xc67de6(0x4,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x300)]))],_0x501291);const _0x4d5b46=0x1,_0x2ada7d=1.5;class _0x341b69 extends _0x3a9176['Shape']{constructor(_0x37bea4,_0x2761f7){const _0x13487b=_0x5efc3d;super(_0x37bea4,_0x2761f7),_0x318f52(this,'_color'),_0x318f52(this,_0x13487b(0x13e),!0x1),_0x318f52(this,_0x13487b(0x2bf)),_0x318f52(this,_0x13487b(0x308),''),_0x318f52(this,_0x13487b(0x107),_0x13487b(0x106)),_0x318f52(this,_0x13487b(0x23e)),(_0x2761f7&&this[_0x13487b(0x297)](_0x2761f7),this[_0x13487b(0x39a)][_0x13487b(0x238)](()=>this[_0x13487b(0x297)]({'hovered':!0x0})),this[_0x13487b(0x332)][_0x13487b(0x238)](()=>this[_0x13487b(0x297)]({'hovered':!0x1})));}[_0x5efc3d(0x297)](_0x38263e){const _0x4c2073=_0x5efc3d;var _0x142381,_0x41c9cd,_0x33b938,_0x10c6e3,_0x1ac608,_0x4d4831;this[_0x4c2073(0x18f)]=(_0x142381=_0x38263e[_0x4c2073(0x2ba)])!=null?_0x142381:this[_0x4c2073(0x18f)],this[_0x4c2073(0x13e)]=(_0x41c9cd=_0x38263e['hovered'])!=null?_0x41c9cd:this[_0x4c2073(0x13e)],this['_range']=(_0x33b938=_0x38263e[_0x4c2073(0x250)])!=null?_0x33b938:this[_0x4c2073(0x2bf)],this[_0x4c2073(0x308)]=(_0x10c6e3=_0x38263e[_0x4c2073(0x371)])!=null?_0x10c6e3:this[_0x4c2073(0x308)],this[_0x4c2073(0x107)]=(_0x1ac608=_0x38263e[_0x4c2073(0x2e7)])!=null?_0x1ac608:this['_labelPosition'],this['_backgroundColor']=(_0x4d4831=_0x38263e[_0x4c2073(0x25c)])!=null?_0x4d4831:this[_0x4c2073(0x23e)],this['transformByState']({'width':_0x38263e[_0x4c2073(0x2d5)],'height':_0x38263e[_0x4c2073(0x16c)]});}['onMouseMove'](_0x261bee){const _0x4457a7=_0x5efc3d,{row:_0x2995e0,column:_0x218695}=_0x261bee;if(_0x2995e0>=this['_range'][_0x4457a7(0x151)]&&_0x2995e0<=this[_0x4457a7(0x2bf)][_0x4457a7(0x325)]&&_0x218695>=this[_0x4457a7(0x2bf)]['startColumn']&&_0x218695<=this[_0x4457a7(0x2bf)][_0x4457a7(0x2b7)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4457a7(0x297)]({'hovered':!0x1});}[_0x5efc3d(0x2a5)](_0xa08746){return!0x1;}[_0x5efc3d(0x39d)](_0x17a789){const _0xadc984=_0x5efc3d;_0x3a9176[_0xadc984(0x266)]['drawWith'](_0x17a789,{'width':this[_0xadc984(0x2d5)],'height':this[_0xadc984(0x16c)],'strokeWidth':_0x2ada7d,'stroke':this[_0xadc984(0x18f)],'evented':!0x1,'fill':this[_0xadc984(0x23e)]}),this[_0xadc984(0x13e)]&&(_0x17a789['save'](),_0x17a789[_0xadc984(0x2ef)](0x1,0x0,0x0,0x1,this[_0xadc984(0x2d5)],this['_labelPosition']===_0xadc984(0x2ff)?0x0:-_0x4d44cc),_0x2332d3[_0xadc984(0x10b)](_0x17a789,{'text':this[_0xadc984(0x308)],'color':this[_0xadc984(0x18f)]}),_0x17a789[_0xadc984(0x208)]());}}var _0x31ded9=Object['getOwnPropertyDescriptor'],_0x21ff4b=(_0x4f3093,_0x28ba84,_0x7e52c1,_0x34f4f1)=>{const _0x23b013=_0x5efc3d;for(var _0x572aa8=_0x34f4f1>0x1?void 0x0:_0x34f4f1?_0x31ded9(_0x28ba84,_0x7e52c1):_0x28ba84,_0x374ed5=_0x4f3093[_0x23b013(0x166)]-0x1,_0x38ecf5;_0x374ed5>=0x0;_0x374ed5--)(_0x38ecf5=_0x4f3093[_0x374ed5])&&(_0x572aa8=_0x38ecf5(_0x572aa8)||_0x572aa8);return _0x572aa8;},_0x261a6c=(_0x5b8c80,_0x2be67e)=>(_0x495009,_0x4a617a)=>_0x2be67e(_0x495009,_0x4a617a,_0x5b8c80);const _0xf24922=0x1389;let _0x260543=class extends _0x3dbd89[_0x5efc3d(0x135)]{constructor(_0x51c3b7,_0x14e96e,_0x4fecd7,_0x10cec3){const _0x23edc1=_0x5efc3d;super(),_0x318f52(this,_0x23edc1(0x190),new Set()),_0x318f52(this,_0x23edc1(0x37e),null),(this[_0x23edc1(0x110)]=_0x51c3b7,this[_0x23edc1(0x22b)]=_0x14e96e,this['_collabCursorController']=_0x4fecd7,this[_0x23edc1(0x30c)]=_0x10cec3,this['_init']());}[_0x5efc3d(0x180)](){const _0x14a818=_0x5efc3d;this['_sheetSkeletonManagerService'][_0x14a818(0x1f1)][_0x14a818(0x161)](_0x42d5be[_0x14a818(0x275)](this[_0x14a818(0x120)]),_0x42d5be[_0x14a818(0x245)](_0x412b9f=>{const _0x513c58=_0x14a818;if(_0x412b9f){const _0x4c63e9=_0x412b9f[_0x513c58(0x1ca)];return _0x142e5d[_0x513c58(0x386)](this['_collabCursorController'][_0x513c58(0x247)](this['_context'][_0x513c58(0x1a7)]),this[_0x513c58(0x30c)][_0x513c58(0x145)])['pipe'](_0x42d5be[_0x513c58(0x32d)](([_0x141dd4,_0x54de61])=>{const _0xc4b8dc=_0x513c58,_0x1a9454=new Map();return _0x141dd4[_0xc4b8dc(0x112)]((_0x512d30,_0x367a12)=>{const _0x2e8032=_0xc4b8dc;if(_0x512d30[_0x2e8032(0x34c)]===_0x4c63e9){const _0x2eb8fd={..._0x512d30};_0x2eb8fd[_0x2e8032(0x2ba)]=this[_0x2e8032(0x30c)][_0x2e8032(0x1de)](_0x512d30[_0x2e8032(0x2ba)]),_0x1a9454['set'](_0x367a12,_0x2eb8fd);}}),{'skeleton':_0x412b9f,'cursors':_0x1a9454};}));}return _0x142e5d['of']({'skeleton':null,'cursors':new Map()});}))[_0x14a818(0x2c3)](({skeleton:_0x493485,cursors:_0x1a4ac8})=>{const _0x33815a=_0x14a818;this[_0x33815a(0x185)](),_0x493485&&this['_updateCollabCursors'](_0x493485,_0x1a4ac8);}),this[_0x14a818(0x22b)][_0x14a818(0x1f1)][_0x14a818(0x2c3)](_0x3f1d67=>{const _0x5396db=_0x14a818;if(_0x3f1d67==null)return;const {skeleton:_0x57d0b0}=_0x3f1d67,{scene:_0x3ceeea}=this[_0x5396db(0x110)];_0x3ceeea[_0x5396db(0x15e)]['subscribeEvent'](_0x3dbd89['debounce'](_0x53885d=>{const _0x6936fc=_0x5396db;var _0x5a3e9c,_0x5bffde;const {offsetX:_0x1fa1f3,offsetY:_0x381e2c}=_0x53885d,{x:_0x9a0aaf,y:_0x393fc9}=_0x3ceeea['getRelativeToViewportCoord'](_0x3a9176[_0x6936fc(0x17f)][_0x6936fc(0x2b3)]([_0x1fa1f3,_0x381e2c])),{scaleX:_0x238c6f,scaleY:_0x2dc406}=_0x3ceeea['getAncestorScale'](),_0x3f2438=_0x3ceeea[_0x6936fc(0x18a)](_0x3a9176['SHEET_VIEWPORT_KEY'][_0x6936fc(0x328)]),_0x1fdba7=_0x3ceeea[_0x6936fc(0x2f0)](_0x3a9176[_0x6936fc(0x17f)][_0x6936fc(0x2b3)]([_0x9a0aaf,_0x393fc9]),_0x3f2438),_0x361d2e=_0x57d0b0['getCellPositionByOffset'](_0x1fa1f3,_0x381e2c,_0x238c6f,_0x2dc406,_0x1fdba7);((_0x5a3e9c=this[_0x6936fc(0x37e)])==null?void 0x0:_0x5a3e9c[_0x6936fc(0x30b)])===_0x361d2e[_0x6936fc(0x30b)]&&((_0x5bffde=this[_0x6936fc(0x37e)])==null?void 0x0:_0x5bffde[_0x6936fc(0x294)])===_0x361d2e[_0x6936fc(0x294)]||this[_0x6936fc(0x190)][_0x6936fc(0x112)](_0x39d9ba=>{const _0x1881a6=_0x6936fc;_0x39d9ba[_0x1881a6(0x2ec)](_0x361d2e);});},0x64));});}[_0x5efc3d(0x211)](_0x3e0adb,_0x2e4afc){const _0x3cebef=_0x5efc3d;var _0x5e11e4;const _0x5808d4=(_0x5e11e4=this[_0x3cebef(0x22b)][_0x3cebef(0x150)]())==null?void 0x0:_0x5e11e4['skeleton'];if(!_0x5808d4)return;const _0x10a5cd=this[_0x3cebef(0x128)]();if(!_0x10a5cd)return;this['_cursors']['forEach'](_0x2a4c6b=>{_0x2a4c6b['makeDirty']();});const {scene:_0x43fe94}=_0x10a5cd,_0x411005=_0x5d0b78(Array[_0x3cebef(0x1ad)](_0x2e4afc['values']()))['map'](_0x532238=>{const _0x420c8f=_0x3cebef,{color:_0x4d6055,range:_0x3fed8c,name:_0x581d7e,selection:_0x57aa08,sheetID:_0x51406c}=_0x532238,{startColumn:_0x35da8a,startRow:_0x6f43be,endColumn:_0x5f508f,endRow:_0x14ca72}=_0x3fed8c,_0x14ba33=_0x1110d7[_0x420c8f(0x217)](_0x6f43be,_0x35da8a,_0x43fe94,_0x5808d4),_0x551a70=_0x1110d7[_0x420c8f(0x217)](_0x14ca72,_0x5f508f,_0x43fe94,_0x5808d4),{columnHeaderHeightAndMarginTop:_0x452730}=_0x5808d4,{startX:_0x50ac8d,startY:_0x58e6c7}=_0x14ba33,{endX:_0xefc5f4,endY:_0x40cef7}=_0x551a70,_0x119c9a=_0xefc5f4-_0x50ac8d,_0x8d9ce1=_0x40cef7-_0x58e6c7,_0x295845={'labelPosition':_0x58e6c7-_0x452730>=_0x4d44cc?_0x420c8f(0x106):_0x420c8f(0x2ff),'sheetID':_0x51406c,'range':_0x3fed8c,'color':_0x4d6055,'name':_0x581d7e,'selection':_0x57aa08,'left':_0x50ac8d,'top':_0x58e6c7,'width':_0x119c9a,'height':_0x8d9ce1,'evented':!0x1,'zIndex':_0xf24922};return new _0x341b69(_0x581d7e,_0x295845);});_0x43fe94['addObjects'](_0x411005,_0x4d5b46),this[_0x3cebef(0x190)]=new Set(_0x411005);}[_0x5efc3d(0x185)](){const _0x3f4d96=_0x5efc3d;var _0x14d74a;(_0x14d74a=this[_0x3f4d96(0x190)])==null||_0x14d74a[_0x3f4d96(0x112)](_0x5d588a=>_0x5d588a['dispose']());}[_0x5efc3d(0x128)](){const _0x314772=_0x5efc3d;return _0x1110d7['getSheetObject'](this[_0x314772(0x110)][_0x314772(0x221)],this['_context']);}};_0x260543=_0x21ff4b([_0x261a6c(0x1,_0x3dbd89['Inject'](_0x1110d7[_0x5efc3d(0x19a)])),_0x261a6c(0x2,_0x3dbd89[_0x5efc3d(0x35f)](_0x2973b0)),_0x261a6c(0x3,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89['ThemeService']))],_0x260543);function _0x5d0b78(_0x47159d){const _0x33e768=_0x5efc3d,_0x377537=new Map();return _0x47159d['forEach'](_0x3fb126=>{const _0x3212ab=_0x2806;if(_0x377537[_0x3212ab(0x13d)](_0x3fb126[_0x3212ab(0x379)])){const _0x5cb2a5=_0x377537[_0x3212ab(0x171)](_0x3fb126[_0x3212ab(0x379)]);_0x5cb2a5[_0x3212ab(0x371)]+=',\x20'+_0x3fb126[_0x3212ab(0x371)];}else _0x377537[_0x3212ab(0x1e8)](_0x3fb126[_0x3212ab(0x379)],_0x3fb126);}),Array['from'](_0x377537[_0x33e768(0x28a)]());}var _0x3a0b60=Object['getOwnPropertyDescriptor'],_0x36055c=(_0xa51eaa,_0x117980,_0x198302,_0x27ec6d)=>{const _0x6e808e=_0x5efc3d;for(var _0x1c0029=_0x27ec6d>0x1?void 0x0:_0x27ec6d?_0x3a0b60(_0x117980,_0x198302):_0x117980,_0x1182f1=_0xa51eaa[_0x6e808e(0x166)]-0x1,_0xc57037;_0x1182f1>=0x0;_0x1182f1--)(_0xc57037=_0xa51eaa[_0x1182f1])&&(_0x1c0029=_0xc57037(_0x1c0029)||_0x1c0029);return _0x1c0029;},_0xcc94c0=(_0x434054,_0x24e58b)=>(_0x5b0aa3,_0x188909)=>_0x24e58b(_0x5b0aa3,_0x188909,_0x434054);let _0x433f2c=class extends _0x3dbd89['Disposable']{constructor(_0x559bf0,_0x38a399,_0x28a03b,_0x2479c8,_0x4aedd5,_0x25fa98){const _0x49e6c2=_0x5efc3d;super(),this[_0x49e6c2(0x37b)]=_0x559bf0,this['_localCacheService']=_0x38a399,this['_collaborationUIEventService']=_0x28a03b,this[_0x49e6c2(0x370)]=_0x2479c8,this[_0x49e6c2(0x19f)]=_0x4aedd5,this['_localeService']=_0x25fa98,this[_0x49e6c2(0x1fa)](),this[_0x49e6c2(0x1b1)]();}[_0x5efc3d(0x1fa)](){const _0x484a27=_0x5efc3d;this[_0x484a27(0x2e5)](this['_beforeCloseService'][_0x484a27(0x2fa)](()=>{const _0x4693b2=_0x484a27;if(this['_localCacheService']['saveTaskMap'][_0x4693b2(0x12f)])return this[_0x4693b2(0x241)]['t'](_0x4693b2(0x204));}));}['_initEvent'](){const _0x1868a1=_0x5efc3d;this[_0x1868a1(0x2e5)](this['_collaborationUIEventService']['event$'][_0x1868a1(0x2c3)](_0x344483=>{const _0x553915=_0x1868a1;_0x344483['id']===_0x7ddaeb[_0x553915(0x1cb)][_0x553915(0x2a2)]&&this[_0x553915(0x370)][_0x553915(0x2d4)]({'type':_0x43968a[_0x553915(0x178)][_0x553915(0x39c)],'content':this[_0x553915(0x241)]['t'](_0x553915(0x23d))}),_0x344483['id']===_0x7ddaeb[_0x553915(0x1cb)][_0x553915(0x256)]&&this[_0x553915(0x370)][_0x553915(0x2d4)]({'type':_0x43968a[_0x553915(0x178)][_0x553915(0x39c)],'content':this[_0x553915(0x241)]['t'](_0x553915(0x1ee))}),_0x344483['id']===_0x7ddaeb['CollaborationUIEventId'][_0x553915(0x2a6)]&&this[_0x553915(0x19f)]['show']({'title':this[_0x553915(0x241)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x553915(0x273),'duration':0x0}),_0x344483['id']===_0x7ddaeb[_0x553915(0x1cb)][_0x553915(0x148)]&&this[_0x553915(0x370)][_0x553915(0x2d4)]({'type':_0x43968a[_0x553915(0x178)][_0x553915(0x2d6)],'content':this['_localeService']['t'](_0x553915(0x1ee))+'('+_0x344483[_0x553915(0x27f)]+')'}),_0x344483['id']===_0x7ddaeb['CollaborationUIEventId'][_0x553915(0x291)]&&this[_0x553915(0x370)]['show']({'type':_0x43968a['MessageType'][_0x553915(0x39c)],'content':this['_localeService']['t'](_0x344483[_0x553915(0x27f)]||'')}),_0x344483['id']===_0x7ddaeb[_0x553915(0x1cb)]['SOCKET_FAILED_RETRY']&&this[_0x553915(0x370)][_0x553915(0x2d4)]({'type':_0x43968a[_0x553915(0x178)]['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x344483['id']===_0x7ddaeb['CollaborationUIEventId'][_0x553915(0x17d)]&&this[_0x553915(0x370)][_0x553915(0x2d4)]({'type':_0x43968a[_0x553915(0x178)]['Error'],'content':this['_localeService']['t'](_0x553915(0x30a))}),_0x344483['id']===_0x7ddaeb[_0x553915(0x1cb)][_0x553915(0x341)]&&this[_0x553915(0x370)][_0x553915(0x2d4)]({'type':_0x43968a[_0x553915(0x178)]['Error'],'content':this[_0x553915(0x241)]['t'](_0x553915(0x183))});}));}};_0x433f2c=_0x36055c([_0xcc94c0(0x0,_0x1264f0[_0x5efc3d(0x244)]),_0xcc94c0(0x1,_0x7ddaeb[_0x5efc3d(0x360)]),_0xcc94c0(0x2,_0x3dbd89['Inject'](_0x7ddaeb[_0x5efc3d(0x312)])),_0xcc94c0(0x3,_0x1264f0['IMessageService']),_0xcc94c0(0x4,_0x1264f0['INotificationService']),_0xcc94c0(0x5,_0x3dbd89['Inject'](_0x3dbd89[_0x5efc3d(0x24f)]))],_0x433f2c);const _0x41d453=_0x5efc3d(0x355),_0x8ba813={};var _0x2fa58e=Object[_0x5efc3d(0x37a)],_0x436466=(_0x1296de,_0x415ea5,_0xaf08eb,_0x880618)=>{const _0x379a68=_0x5efc3d;for(var _0x516c58=_0x880618>0x1?void 0x0:_0x880618?_0x2fa58e(_0x415ea5,_0xaf08eb):_0x415ea5,_0x2f4771=_0x1296de[_0x379a68(0x166)]-0x1,_0x2c742d;_0x2f4771>=0x0;_0x2f4771--)(_0x2c742d=_0x1296de[_0x2f4771])&&(_0x516c58=_0x2c742d(_0x516c58)||_0x516c58);return _0x516c58;},_0x3cecf8=(_0x29b8a7,_0x81e571)=>(_0x259698,_0x3229a7)=>_0x81e571(_0x259698,_0x3229a7,_0x29b8a7);let _0x1e1825=class{constructor(_0xe7d682,_0x330347){const _0x47898b=_0x5efc3d;this['_transformService']=_0xe7d682,this[_0x47898b(0x37f)]=_0x330347;}['transformIMECache'](_0x47398f){const _0x4f0397=_0x5efc3d;this[_0x4f0397(0x2c2)](_0x47398f),this[_0x4f0397(0x2b0)](_0x47398f);}[_0x5efc3d(0x147)](_0x349e4e){const _0x5cc1a2=_0x5efc3d,{unitID:_0x2b1882}=_0x349e4e,_0x32763b=this[_0x5cc1a2(0x37f)][_0x5cc1a2(0x377)](_0x2b1882)['with'](_0x4f3ea0[_0x5cc1a2(0x2fc)]),{redoCache:_0x33c843}=_0x32763b[_0x5cc1a2(0x1e3)]();if(_0x33c843[_0x5cc1a2(0x166)]===0x0)return _0x349e4e;let _0x4c45fe=_0x3dbd89[_0x5cc1a2(0x1db)][_0x5cc1a2(0x156)](_0x349e4e[_0x5cc1a2(0x2f6)][0x0]);for(let _0x4eb193=0x0;_0x4eb193<_0x33c843[_0x5cc1a2(0x166)];_0x4eb193++){const _0x4b9e2d={'id':_0x5cc1a2(0x318),'params':{..._0x33c843[_0x4eb193]}},_0x2307ec=this['_transformService'][_0x5cc1a2(0x1da)](_0x4c45fe,_0x4b9e2d,!0x1);if(_0x43c25f[_0x5cc1a2(0x324)](_0x2307ec))throw _0x2307ec[_0x5cc1a2(0x273)];_0x4c45fe=_0x2307ec[_0x5cc1a2(0x276)];}return{..._0x3dbd89[_0x5cc1a2(0x1db)]['deepClone'](_0x349e4e),'mutations':[_0x4c45fe]};}[_0x5efc3d(0x2c2)](_0x4a79c8){const _0x115cc2=_0x5efc3d,{unitID:_0x59ab17}=_0x4a79c8,_0x2ba613=this[_0x115cc2(0x37f)][_0x115cc2(0x377)](_0x59ab17)[_0x115cc2(0x21c)](_0x4f3ea0[_0x115cc2(0x2fc)]),{undoCache:_0x35c52a,redoCache:_0x54ab16}=_0x2ba613[_0x115cc2(0x1e3)]();if(_0x35c52a[_0x115cc2(0x166)]===0x0||_0x54ab16[_0x115cc2(0x166)]===0x0)return;const _0x22623f=[],_0x441f03=[];let _0x44aaf1=_0x3dbd89[_0x115cc2(0x1db)][_0x115cc2(0x156)](_0x4a79c8[_0x115cc2(0x2f6)][0x0]),_0x433c98=_0x3dbd89[_0x115cc2(0x1db)]['deepClone'](_0x4a79c8[_0x115cc2(0x2f6)][0x0]);for(let _0x4aa883=_0x35c52a[_0x115cc2(0x166)]-0x1;_0x4aa883>=0x0;_0x4aa883--){const _0x3ee512={'id':_0x115cc2(0x318),'params':{..._0x35c52a[_0x4aa883]}},_0x1271a0={'id':_0x115cc2(0x318),'params':{..._0x54ab16[_0x4aa883]}},_0x3c1398=this[_0x115cc2(0x18e)][_0x115cc2(0x1da)](_0x44aaf1,_0x3ee512,!0x1),_0x520092=this[_0x115cc2(0x18e)]['transformMutation'](_0x433c98,_0x1271a0,!0x1);if(_0x43c25f[_0x115cc2(0x324)](_0x3c1398))throw _0x3c1398[_0x115cc2(0x273)];if(_0x43c25f['isTransformMutationFailure'](_0x520092))throw _0x520092[_0x115cc2(0x273)];_0x22623f[_0x115cc2(0x23a)](_0x3c1398['m2Prime'][_0x115cc2(0x2d7)]),_0x441f03['unshift'](_0x520092[_0x115cc2(0x1b5)][_0x115cc2(0x2d7)]),_0x44aaf1=_0x3c1398[_0x115cc2(0x276)],_0x433c98=_0x520092['m1Prime'];}_0x2ba613[_0x115cc2(0x202)]({'undoCache':_0x22623f,'redoCache':_0x441f03});}[_0x5efc3d(0x2b0)](_0x44f163){const _0x258d2a=_0x5efc3d,{unitID:_0x313b67}=_0x44f163,_0x25b059=this['_renderManagerService'][_0x258d2a(0x377)](_0x313b67)[_0x258d2a(0x21c)](_0x4f3ea0[_0x258d2a(0x2fc)]),_0x444709=_0x25b059['getActiveRange']();if(_0x444709==null)return;const _0x5d1757=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x44f163[_0x258d2a(0x258)],'actions':null,'textRanges':[_0x444709]}}],_0x12a599=this[_0x258d2a(0x18e)][_0x258d2a(0x108)](_0x44f163,_0x5d1757);if(!_0x43c25f[_0x258d2a(0x164)](_0x12a599))throw _0x12a599[_0x258d2a(0x273)];const _0x4872b5=_0x12a599['m2Prime'][0x0][_0x258d2a(0x2d7)][_0x258d2a(0x1a3)];Array[_0x258d2a(0x36a)](_0x4872b5)&&_0x4872b5[_0x258d2a(0x166)]&&_0x25b059[_0x258d2a(0x34a)](_0x4872b5[0x0]);}};_0x1e1825=_0x436466([_0x3cecf8(0x0,_0x43c25f[_0x5efc3d(0x269)]),_0x3cecf8(0x1,_0x3a9176[_0x5efc3d(0x127)])],_0x1e1825);var _0x87b1d2=Object[_0x5efc3d(0x37a)],_0x1439ac=(_0x149515,_0x1edf05,_0x4a1a76,_0x1e5b78)=>{const _0xcc29d0=_0x5efc3d;for(var _0x3eb6d8=_0x1e5b78>0x1?void 0x0:_0x1e5b78?_0x87b1d2(_0x1edf05,_0x4a1a76):_0x1edf05,_0x4702c3=_0x149515[_0xcc29d0(0x166)]-0x1,_0x469802;_0x4702c3>=0x0;_0x4702c3--)(_0x469802=_0x149515[_0x4702c3])&&(_0x3eb6d8=_0x469802(_0x3eb6d8)||_0x3eb6d8);return _0x3eb6d8;},_0x47fb22=(_0x3b2ef1,_0x2188df)=>(_0x272df8,_0xf93e91)=>_0x2188df(_0x272df8,_0xf93e91,_0x3b2ef1);let _0x2a2cfa=class{constructor(_0x5f5a55,_0x1da598,_0x288648){const _0x295d75=_0x5efc3d;this[_0x295d75(0x383)]=_0x5f5a55,this[_0x295d75(0x18e)]=_0x1da598,this[_0x295d75(0x30d)]=_0x288648;}[_0x5efc3d(0x1c4)](_0x3c42ea){const _0x816087=_0x5efc3d;this[_0x816087(0x316)](_0x3c42ea);}[_0x5efc3d(0x147)](_0x584efd){const _0x1f1d12=_0x5efc3d,{unitID:_0x3c596f}=_0x584efd,{collaboration:_0x5dd3ba}=this['_docStateChangeManagerService'][_0x1f1d12(0x1d1)](_0x3c596f);if(_0x5dd3ba['length']===0x0)return _0x584efd;let _0x39571a=_0x3dbd89[_0x1f1d12(0x1db)][_0x1f1d12(0x156)](_0x584efd[_0x1f1d12(0x2f6)][0x0]);for(let _0x28c02f=0x0;_0x28c02f<_0x5dd3ba[_0x1f1d12(0x166)];_0x28c02f++){const _0x466ded={'id':_0x1f1d12(0x318),'params':{'unitId':_0x5dd3ba[_0x28c02f]['unitId'],..._0x5dd3ba[_0x28c02f][_0x1f1d12(0x34d)]}},_0x3f16fc=this[_0x1f1d12(0x18e)][_0x1f1d12(0x1da)](_0x39571a,_0x466ded,!0x1);if(_0x43c25f[_0x1f1d12(0x324)](_0x3f16fc))throw _0x3f16fc['error'];_0x39571a=_0x3f16fc['m1Prime'];}return{..._0x3dbd89[_0x1f1d12(0x1db)][_0x1f1d12(0x156)](_0x584efd),'mutations':[_0x39571a]};}[_0x5efc3d(0x316)](_0x3b1706){const _0x552ffc=_0x5efc3d,{unitID:_0x187c44}=_0x3b1706,{history:_0x2e9fa9,collaboration:_0x3eda0d}=this[_0x552ffc(0x30d)][_0x552ffc(0x1d1)](_0x187c44);if(_0x2e9fa9[_0x552ffc(0x166)]===0x0&&_0x3eda0d[_0x552ffc(0x166)]===0x0)return;const _0x1a5bc7=[],_0x5cc2d7=[];let _0x42179e=_0x3dbd89[_0x552ffc(0x1db)][_0x552ffc(0x156)](_0x3b1706[_0x552ffc(0x2f6)][0x0]),_0x25e051=_0x3dbd89['Tools'][_0x552ffc(0x156)](_0x3b1706[_0x552ffc(0x2f6)][0x0]);for(let _0x243d6a=_0x2e9fa9[_0x552ffc(0x166)]-0x1;_0x243d6a>=0x0;_0x243d6a--){const _0xf03e2e={'id':_0x552ffc(0x318),'params':{'unitId':_0x2e9fa9[_0x243d6a]['unitId'],..._0x2e9fa9[_0x243d6a][_0x552ffc(0x1a9)]}},_0x27ca73={'id':_0x552ffc(0x318),'params':{'unitId':_0x2e9fa9[_0x243d6a]['unitId'],..._0x2e9fa9[_0x243d6a]['redoState']}},_0x35fdc6=this['_transformService'][_0x552ffc(0x1da)](_0x42179e,_0xf03e2e,!0x1),_0x4a896d=this[_0x552ffc(0x18e)]['transformMutation'](_0x25e051,_0x27ca73,!0x1);if(_0x43c25f[_0x552ffc(0x324)](_0x35fdc6))throw _0x35fdc6[_0x552ffc(0x273)];if(_0x43c25f[_0x552ffc(0x324)](_0x4a896d))throw _0x4a896d['error'];_0x1a5bc7[_0x552ffc(0x23a)]({..._0x2e9fa9[_0x243d6a],'undoState':_0x35fdc6[_0x552ffc(0x1b5)][_0x552ffc(0x2d7)],'redoState':_0x4a896d['m2Prime']['params']}),_0x42179e=_0x35fdc6['m1Prime'],_0x25e051=_0x4a896d['m1Prime'];}_0x42179e=_0x3dbd89['Tools']['deepClone'](_0x3b1706['mutations'][0x0]),_0x25e051=_0x3dbd89[_0x552ffc(0x1db)][_0x552ffc(0x156)](_0x3b1706['mutations'][0x0]);for(let _0x18cb5d=_0x3eda0d[_0x552ffc(0x166)]-0x1;_0x18cb5d>=0x0;_0x18cb5d--){const _0x1bdb1e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3eda0d[_0x18cb5d][_0x552ffc(0x1a7)],..._0x3eda0d[_0x18cb5d]['undoState']}},_0x1acff9={'id':_0x552ffc(0x318),'params':{'unitId':_0x3eda0d[_0x18cb5d][_0x552ffc(0x1a7)],..._0x3eda0d[_0x18cb5d]['redoState']}},_0x3e1db2=this[_0x552ffc(0x18e)][_0x552ffc(0x1da)](_0x42179e,_0x1bdb1e,!0x1),_0x4f437e=this[_0x552ffc(0x18e)][_0x552ffc(0x1da)](_0x25e051,_0x1acff9,!0x1);if(_0x43c25f[_0x552ffc(0x324)](_0x3e1db2))throw _0x3e1db2[_0x552ffc(0x273)];if(_0x43c25f[_0x552ffc(0x324)](_0x4f437e))throw _0x4f437e[_0x552ffc(0x273)];_0x5cc2d7[_0x552ffc(0x23a)]({..._0x3eda0d[_0x18cb5d],'undoState':_0x3e1db2[_0x552ffc(0x1b5)][_0x552ffc(0x2d7)],'redoState':_0x4f437e[_0x552ffc(0x1b5)][_0x552ffc(0x2d7)]}),_0x42179e=_0x3e1db2[_0x552ffc(0x276)],_0x25e051=_0x4f437e[_0x552ffc(0x276)];}this[_0x552ffc(0x30d)][_0x552ffc(0x15b)](_0x187c44,{'history':_0x1a5bc7,'collaboration':_0x5cc2d7});}};_0x2a2cfa=_0x1439ac([_0x47fb22(0x0,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x384)])),_0x47fb22(0x1,_0x43c25f[_0x5efc3d(0x269)]),_0x47fb22(0x2,_0x3dbd89['Inject'](_0x4f3ea0[_0x5efc3d(0x155)]))],_0x2a2cfa);var _0xc6df14=Object['getOwnPropertyDescriptor'],_0x4b4ad6=(_0x37926f,_0x28a466,_0x4f2017,_0xae62b8)=>{for(var _0x44b73f=_0xae62b8>0x1?void 0x0:_0xae62b8?_0xc6df14(_0x28a466,_0x4f2017):_0x28a466,_0x4992bf=_0x37926f['length']-0x1,_0x575578;_0x4992bf>=0x0;_0x4992bf--)(_0x575578=_0x37926f[_0x4992bf])&&(_0x44b73f=_0x575578(_0x44b73f)||_0x44b73f);return _0x44b73f;},_0x2d33d6=(_0x498cac,_0x26b44b)=>(_0x3f437e,_0x1f36a0)=>_0x26b44b(_0x3f437e,_0x1f36a0,_0x498cac);let _0x3bd34e=class{constructor(_0x3000c9,_0x232a56){const _0xfac53=_0x5efc3d;this[_0xfac53(0x383)]=_0x3000c9,this[_0xfac53(0x18e)]=_0x232a56;}[_0x5efc3d(0x249)](_0x5d7352){const _0x586f79=_0x5efc3d;var _0x529668;const _0x3170a5=this[_0x586f79(0x383)][_0x586f79(0x171)](_0x7a54c1[_0x586f79(0x2e3)]),_0xf07212=(_0x529668=_0x3170a5[_0x586f79(0x16a)]())!=null?_0x529668:[];if(_0xf07212[_0x586f79(0x166)]===0x0)return;const _0x188267=_0x5d7352[_0x586f79(0x258)],_0x37d2b0=[{'id':_0x586f79(0x318),'params':{'unitId':_0x188267,'actions':null,'textRanges':_0xf07212}}],_0x236069=this['_transformService'][_0x586f79(0x108)](_0x5d7352,_0x37d2b0);if(!_0x43c25f['isTransformMutationsWithChangesetSuccess'](_0x236069))throw _0x236069[_0x586f79(0x273)];const _0x2e82cb=_0x236069[_0x586f79(0x1b5)][0x0][_0x586f79(0x2d7)][_0x586f79(0x1a3)];Array[_0x586f79(0x36a)](_0x2e82cb)&&_0x2e82cb[_0x586f79(0x166)]&&_0x3170a5[_0x586f79(0x235)](_0x2e82cb,{'unitId':_0x188267,'subUnitId':_0x188267},!0x1);}};_0x3bd34e=_0x4b4ad6([_0x2d33d6(0x0,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x384)])),_0x2d33d6(0x1,_0x43c25f[_0x5efc3d(0x269)])],_0x3bd34e);var _0x154b3c=Object[_0x5efc3d(0x37a)],_0x1bcc85=(_0x4d0ae9,_0x42348b,_0x31cc69,_0xa8fce2)=>{const _0x262f6d=_0x5efc3d;for(var _0x194fd1=_0xa8fce2>0x1?void 0x0:_0xa8fce2?_0x154b3c(_0x42348b,_0x31cc69):_0x42348b,_0x563569=_0x4d0ae9[_0x262f6d(0x166)]-0x1,_0x44a74d;_0x563569>=0x0;_0x563569--)(_0x44a74d=_0x4d0ae9[_0x563569])&&(_0x194fd1=_0x44a74d(_0x194fd1)||_0x194fd1);return _0x194fd1;},_0x248d75=(_0x54c734,_0x46f1f3)=>(_0x3cf0b8,_0x1e3756)=>_0x46f1f3(_0x3cf0b8,_0x1e3756,_0x54c734);let _0x4a34be=class extends _0x3dbd89['Disposable']{constructor(_0x214e7f,_0x3deaa3,_0x2f8dab,_0x5084a9,_0x926190,_0x251fcd,_0x2ebb02,_0x37e750){const _0x689272=_0x5efc3d;super(),_0x318f52(this,'_status$',new _0x142e5d[(_0x689272(0x391))](_0x7ddaeb['CollaborationStatus'][_0x689272(0x29a)])),(this['_docStateChangeManagerService']=_0x214e7f,this[_0x689272(0x252)]=_0x3deaa3,this['_docTransformIMECacheService']=_0x2f8dab,this[_0x689272(0x356)]=_0x5084a9,this[_0x689272(0x365)]=_0x926190,this[_0x689272(0x2c1)]=_0x251fcd,this[_0x689272(0x370)]=_0x2ebb02,this[_0x689272(0x241)]=_0x37e750,this[_0x689272(0x1e7)]());}['_initEntityListener'](){const _0x342228=_0x5efc3d;this['disposeWithMe'](this['_collaborationController'][_0x342228(0x224)][_0x342228(0x2c3)](_0x2b0a9c=>{const _0x4e98eb=_0x342228,_0x488b61=this[_0x4e98eb(0x30d)][_0x4e98eb(0x1e9)][_0x4e98eb(0x2c3)](_0x39065c=>{const _0x13af7a=_0x4e98eb;if(_0x39065c==null)return;const {unitId:_0x351d57,redoState:_0x365050,commandId:_0x7b9dc4}=_0x39065c;if(_0x351d57!==_0x2b0a9c[_0x13af7a(0x258)])return;const _0x55ac04={'id':_0x7b9dc4,'type':_0x3dbd89[_0x13af7a(0x222)][_0x13af7a(0x349)],'params':{'unitId':_0x351d57,'actions':_0x365050[_0x13af7a(0x28c)],'textRanges':null}};_0x2b0a9c['onLocalMutation'](_0x55ac04);});if(_0x2b0a9c['disposeWithMe'](_0x488b61),_0x2b0a9c instanceof _0x7ddaeb[_0x4e98eb(0x2c8)]){const _0x3ca127={'onTransformIME':_0x5b9d19=>this['_docTransformIMECacheService'][_0x4e98eb(0x261)](_0x5b9d19),'onTransformState':_0x2358fb=>this[_0x4e98eb(0x356)][_0x4e98eb(0x1c4)](_0x2358fb),'onTransformSelections':_0x24d05b=>this[_0x4e98eb(0x365)]['transformSelections'](_0x24d05b),'onSyncEditingCollabCursor':_0x59a1d2=>this[_0x4e98eb(0x2c1)][_0x4e98eb(0x19b)](_0x59a1d2),'onTransformRemoteChangesetByIMECache':_0x518ef5=>this[_0x4e98eb(0x162)]['transformRemoteChangeset'](_0x518ef5),'onTransformRemoteChangesetByStateCache':_0x1e014f=>this[_0x4e98eb(0x356)][_0x4e98eb(0x147)](_0x1e014f)};_0x2b0a9c[_0x4e98eb(0x209)](_0x3ca127);}}));}};_0x4a34be=_0x1bcc85([_0x248d75(0x0,_0x3dbd89[_0x5efc3d(0x35f)](_0x4f3ea0[_0x5efc3d(0x155)])),_0x248d75(0x1,_0x3dbd89['Inject'](_0x7ddaeb[_0x5efc3d(0x1ff)])),_0x248d75(0x2,_0x3dbd89['Inject'](_0x1e1825)),_0x248d75(0x3,_0x3dbd89[_0x5efc3d(0x35f)](_0x2a2cfa)),_0x248d75(0x4,_0x3dbd89[_0x5efc3d(0x35f)](_0x3bd34e)),_0x248d75(0x5,_0x3dbd89[_0x5efc3d(0x35f)](_0x4256c4)),_0x248d75(0x6,_0x1264f0[_0x5efc3d(0x103)]),_0x248d75(0x7,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x24f)]))],_0x4a34be);var _0x431760=Object[_0x5efc3d(0x37a)],_0x4275c=(_0xddb0fe,_0xee614c,_0x218cb7,_0x5a314a)=>{const _0x26433e=_0x5efc3d;for(var _0xcc230a=_0x5a314a>0x1?void 0x0:_0x5a314a?_0x431760(_0xee614c,_0x218cb7):_0xee614c,_0x256feb=_0xddb0fe[_0x26433e(0x166)]-0x1,_0x1eabd9;_0x256feb>=0x0;_0x256feb--)(_0x1eabd9=_0xddb0fe[_0x256feb])&&(_0xcc230a=_0x1eabd9(_0xcc230a)||_0xcc230a);return _0xcc230a;},_0x576352=(_0x12a9e9,_0x4972d2)=>(_0x4c2ae9,_0x7c4218)=>_0x4972d2(_0x4c2ae9,_0x7c4218,_0x12a9e9);let _0x267835=class extends _0x3dbd89[_0x5efc3d(0x29e)]{constructor(_0x48fb5c,_0x136d34,_0x567094){const _0x379f36=_0x5efc3d;super(),_0x318f52(this,_0x379f36(0x20a),new Map()),_0x318f52(this,_0x379f36(0x26f),new Map()),_0x318f52(this,_0x379f36(0x2a0),!0x1),(this[_0x379f36(0x24a)]=_0x48fb5c,this[_0x379f36(0x13a)]=_0x136d34,this[_0x379f36(0x109)]=_0x567094);}['disableLocalCache'](){const _0x16614c=_0x5efc3d;this[_0x16614c(0x2a0)]=!0x0;}[_0x5efc3d(0x345)](){const _0x3e4526=_0x5efc3d;this[_0x3e4526(0x2a0)]=!0x1;}get[_0x5efc3d(0x2d0)](){const _0x2078db=_0x5efc3d;return this[_0x2078db(0x26f)];}['dispose'](){const _0x3cf3cf=_0x5efc3d;this[_0x3cf3cf(0x113)]()[_0x3cf3cf(0x1f6)](()=>super[_0x3cf3cf(0x33d)]());}async['loadOfflineData'](_0x3e234d){const _0x2f8879=_0x5efc3d;return this[_0x2f8879(0x2a0)]?null:this[_0x2f8879(0x13a)][_0x2f8879(0x2b1)](_0x7ddaeb[_0x2f8879(0x30f)](_0x3e234d));}async[_0x5efc3d(0x10e)](_0xd81374,_0x422826){const _0x3eebb3=_0x5efc3d;return!!this[_0x3eebb3(0x13a)][_0x3eebb3(0x201)](_0xd81374,_0x422826);}[_0x5efc3d(0x119)](_0x16d7b9,_0x52a9bf,_0x142164,_0x28bb61){const _0x1e77e6=_0x5efc3d,_0x295e34=this[_0x1e77e6(0x109)][_0x1e77e6(0x1a2)](_0x16d7b9);this[_0x1e77e6(0x20a)][_0x1e77e6(0x1e8)](_0x16d7b9,{'unitID':_0x16d7b9,'type':_0x52a9bf,'awaitingChangeset':_0x142164,'mutations':_0x28bb61,'rev':_0x295e34}),this[_0x1e77e6(0x26f)][_0x1e77e6(0x13d)](_0x16d7b9)||this[_0x1e77e6(0x2d2)](_0x16d7b9);}[_0x5efc3d(0x2d2)](_0x3ec809){const _0x4a794c=_0x5efc3d,_0x3e6f8d=this[_0x4a794c(0x111)]();_0x3e6f8d===0x0?this[_0x4a794c(0x2b5)](_0x3ec809):this[_0x4a794c(0x26f)][_0x4a794c(0x1e8)](_0x3ec809,setTimeout(()=>this[_0x4a794c(0x2b5)](_0x3ec809),_0x3e6f8d));}[_0x5efc3d(0x111)](){const _0x282fea=_0x5efc3d;var _0x5256a1;return(_0x5256a1=this[_0x282fea(0x24a)][_0x282fea(0x21e)](_0x7ddaeb[_0x282fea(0x26e)]))!=null?_0x5256a1:_0x7ddaeb[_0x282fea(0x24b)];}[_0x5efc3d(0x2b5)](_0x52f7e6){const _0x5ce47f=_0x5efc3d,_0x4a949a=this['_saveTaskMap'][_0x5ce47f(0x171)](_0x52f7e6);return _0x4a949a!==void 0x0&&window[_0x5ce47f(0x352)](_0x4a949a),this[_0x5ce47f(0x13a)][_0x5ce47f(0x201)](_0x7ddaeb['getLocalCacheKey'](_0x52f7e6),this[_0x5ce47f(0x20a)][_0x5ce47f(0x171)](_0x52f7e6))[_0x5ce47f(0x1f6)](()=>this['_saveTaskMap'][_0x5ce47f(0x125)](_0x52f7e6));}async['exhaustSavingTask'](){const _0x4bfb52=_0x5efc3d,_0x595878=[];this[_0x4bfb52(0x26f)]['forEach']((_0x18add3,_0x5c7374)=>{const _0x4da1d9=_0x4bfb52;window['clearTimeout'](_0x18add3),_0x595878[_0x4da1d9(0x14e)](this[_0x4da1d9(0x2b5)](_0x5c7374)[_0x4da1d9(0x1f6)](()=>{const _0x30ab4d=_0x4da1d9;this['_saveTaskMap'][_0x30ab4d(0x125)](_0x5c7374);}));}),await Promise['all'](_0x595878);}};_0x267835=_0x4275c([_0x576352(0x0,_0x3dbd89[_0x5efc3d(0x2e6)]),_0x576352(0x1,_0x3dbd89[_0x5efc3d(0x2f7)]),_0x576352(0x2,_0x3dbd89[_0x5efc3d(0x35f)](_0x43c25f[_0x5efc3d(0x131)]))],_0x267835);class _0x323ef5 extends _0x3dbd89[_0x5efc3d(0x135)]{constructor(){const _0xaadc4e=_0x5efc3d;super(),_0x318f52(this,_0xaadc4e(0x2b6)),this[_0xaadc4e(0x2b6)]=_0x142e5d[_0xaadc4e(0x174)](window,_0xaadc4e(0x193))[_0xaadc4e(0x161)](_0x142e5d['takeUntil'](this[_0xaadc4e(0x120)]),_0x142e5d[_0xaadc4e(0x2af)](0x1),_0x142e5d[_0xaadc4e(0x299)](void 0x0));}[_0x5efc3d(0x270)](_0x18be73,_0x28489a,_0x377edb=!0x1){const _0x2b280f=_0x5efc3d,_0x1ef9d8=new URL(window[_0x2b280f(0x26a)][_0x2b280f(0x32b)]);_0x1ef9d8[_0x2b280f(0x15a)][_0x2b280f(0x1e8)](_0x18be73,_0x28489a),_0x377edb?window[_0x2b280f(0x302)][_0x2b280f(0x38e)]('','',_0x1ef9d8['toString']()):window['history'][_0x2b280f(0x317)]('','',_0x1ef9d8[_0x2b280f(0x2f1)]());}[_0x5efc3d(0x353)](_0x2a9fd8,_0x236ac8=!0x1){const _0x2b0435=_0x5efc3d,_0x1b46ee=new URL(window[_0x2b0435(0x26a)][_0x2b0435(0x32b)]);_0x1b46ee['searchParams'][_0x2b0435(0x125)](_0x2a9fd8),_0x236ac8?window[_0x2b0435(0x302)]['replaceState']('','',_0x1b46ee[_0x2b0435(0x2f1)]()):window[_0x2b0435(0x302)][_0x2b0435(0x317)]('','',_0x1b46ee['toString']());}[_0x5efc3d(0x323)](_0x2dbacb){const _0xd514cc=_0x5efc3d;var _0x1755a7;return(_0x1755a7=new URL(window[_0xd514cc(0x26a)][_0xd514cc(0x32b)])['searchParams'][_0xd514cc(0x171)](_0x2dbacb))!=null?_0x1755a7:void 0x0;}}var _0x2d6912=Object[_0x5efc3d(0x38b)],_0x4ba810=Object['getOwnPropertyDescriptor'],_0x523b76=(_0x399119,_0x8ba720,_0x5c31c2)=>_0x8ba720 in _0x399119?_0x2d6912(_0x399119,_0x8ba720,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c31c2}):_0x399119[_0x8ba720]=_0x5c31c2,_0x2d1104=(_0x4dfcce,_0x42504a,_0x12f4a2,_0x365ef5)=>{const _0x5b6171=_0x5efc3d;for(var _0x4b70ae=_0x365ef5>0x1?void 0x0:_0x365ef5?_0x4ba810(_0x42504a,_0x12f4a2):_0x42504a,_0x525483=_0x4dfcce[_0x5b6171(0x166)]-0x1,_0x5dcd18;_0x525483>=0x0;_0x525483--)(_0x5dcd18=_0x4dfcce[_0x525483])&&(_0x4b70ae=_0x5dcd18(_0x4b70ae)||_0x4b70ae);return _0x4b70ae;},_0x2a9a0f=(_0x19721b,_0x3e0f44)=>(_0x41b81a,_0x486bb8)=>_0x3e0f44(_0x41b81a,_0x486bb8,_0x19721b),_0x1bd19e=(_0x242107,_0xb349ca,_0x2b2a28)=>_0x523b76(_0x242107,_0xb349ca+'',_0x2b2a28);const _0x5eaef6=_0x5efc3d(0x21f);_0xa1933d['UniverCollaborationClientUIPlugin']=class extends _0x3dbd89[_0x5efc3d(0x2d9)]{constructor(_0x5cf6c4=_0x8ba813,_0x47eb55,_0x41d8a5,_0x51f0e2){const _0x2264fc=_0x5efc3d;super(),this[_0x2264fc(0x33b)]=_0x5cf6c4,this[_0x2264fc(0x37f)]=_0x47eb55,this['_injector']=_0x41d8a5,this[_0x2264fc(0x24a)]=_0x51f0e2;const {..._0x5d0063}=_0x3dbd89['merge']({},_0x8ba813,this[_0x2264fc(0x33b)]);this[_0x2264fc(0x24a)]['setConfig'](_0x41d453,_0x5d0063);}[_0x5efc3d(0x168)](){const _0x640d78=_0x5efc3d;this['_registerDependencies'](),this[_0x640d78(0x309)]();}[_0x5efc3d(0x380)](){this['_registerRenderDependencies']();}[_0x5efc3d(0x1d0)](){const _0x52b442=_0x5efc3d;var _0xcfb70c;const _0xbe58e6=[[_0x37fd7c],[_0x3bd34e],[_0x1e1825],[_0x2a2cfa],[_0x4256c4],[_0x34b516,{'useClass':_0x323ef5}],[_0x29bd27[_0x52b442(0x25e)],{'useClass':_0x29bd27[_0x52b442(0x2e1)]}],[_0x7ddaeb[_0x52b442(0x360)],{'useClass':_0x267835}],[_0xa1933d[_0x52b442(0x2c0)]],[_0x4a34be],[_0x433f2c],[_0x2973b0],[_0x4d7a80],[_0xa1933d[_0x52b442(0x38a)]]];_0x3dbd89[_0x52b442(0x287)](this['_injector'],_0x3dbd89[_0x52b442(0x2b8)](_0xbe58e6,(_0xcfb70c=this[_0x52b442(0x33b)])==null?void 0x0:_0xcfb70c[_0x52b442(0x2fe)]));}[_0x5efc3d(0x3a0)](){const _0x268787=_0x5efc3d;this[_0x268787(0x2e5)](this[_0x268787(0x37f)]['registerRenderModule'](_0x3dbd89[_0x268787(0x306)][_0x268787(0x1ba)],[_0x501291])),this[_0x268787(0x2e5)](this['_renderManagerService'][_0x268787(0x272)](_0x3dbd89[_0x268787(0x306)]['UNIVER_SHEET'],[_0x260543]));}[_0x5efc3d(0x309)](){const _0x9b2483=_0x5efc3d;_0x3dbd89[_0x9b2483(0x173)](this[_0x9b2483(0x383)],[[_0x2973b0],[_0xa1933d[_0x9b2483(0x2c0)]],[_0x4a34be],[_0x433f2c],[_0xa1933d[_0x9b2483(0x38a)]]]);}},_0x1bd19e(_0xa1933d['UniverCollaborationClientUIPlugin'],_0x5efc3d(0x31c),_0x5eaef6),_0xa1933d[_0x5efc3d(0x159)]=_0x2d1104([_0x3dbd89[_0x5efc3d(0x2c4)](_0x7ddaeb[_0x5efc3d(0x210)]),_0x2a9a0f(0x1,_0x3a9176['IRenderManagerService']),_0x2a9a0f(0x2,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x384)])),_0x2a9a0f(0x3,_0x3dbd89[_0x5efc3d(0x2e6)])],_0xa1933d['UniverCollaborationClientUIPlugin']);var _0x5f1776=Object[_0x5efc3d(0x37a)],_0x548342=(_0x36f7bd,_0x99cff3,_0x3ea105,_0x30f46a)=>{const _0xd97977=_0x5efc3d;for(var _0x313e24=_0x30f46a>0x1?void 0x0:_0x30f46a?_0x5f1776(_0x99cff3,_0x3ea105):_0x99cff3,_0x165324=_0x36f7bd[_0xd97977(0x166)]-0x1,_0x241dbf;_0x165324>=0x0;_0x165324--)(_0x241dbf=_0x36f7bd[_0x165324])&&(_0x313e24=_0x241dbf(_0x313e24)||_0x313e24);return _0x313e24;},_0x2e7e5a=(_0x475ba5,_0xc2092f)=>(_0x3665c0,_0xace922)=>_0xc2092f(_0x3665c0,_0xace922,_0x475ba5);_0xa1933d[_0x5efc3d(0x182)]=class extends _0x7ddaeb[_0x5efc3d(0x319)]{constructor(_0x2d7e84,_0x1f98d9,_0x38d8eb,_0x13d93f,_0xa2fa6c){super(_0x2d7e84,_0x1f98d9,_0x38d8eb,_0x13d93f,_0xa2fa6c);}async['createSocket'](_0xdb644b){const _0x15db2f=_0x5efc3d,_0x10fe5e=await this[_0x15db2f(0x2d3)](),_0x4b8c5a=this[_0x15db2f(0x184)](_0xdb644b,_0x10fe5e);return this[_0x15db2f(0x163)](_0x4b8c5a);}[_0x5efc3d(0x184)](_0x203807,_0x3ca0af){const _0x461de2=_0x5efc3d,_0x3a9ec8=typeof window>'u'?new URL(_0x203807):new URL(_0x203807,window[_0x461de2(0x26a)][_0x461de2(0x1f3)]);_0x3a9ec8['searchParams']['set']('sessionTicket',_0x3ca0af);const _0x29886b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x461de2(0x26a)][_0x461de2(0x137)]);return _0x29886b['get'](_0x461de2(0x29d))&&_0x3a9ec8['searchParams'][_0x461de2(0x1e8)](_0x461de2(0x29d),_0x29886b[_0x461de2(0x171)](_0x461de2(0x29d))),_0x3a9ec8[_0x461de2(0x2f1)]();}async[_0x5efc3d(0x2d3)](){const _0x3dc735=_0x5efc3d;var _0x1d5874,_0xda68ad,_0x15d86e;const _0x231167=this[_0x3dc735(0x24a)]['getConfig'](_0x7ddaeb[_0x3dc735(0x24c)]),_0x3e5875=(_0x1d5874=_0x231167==null?void 0x0:_0x231167[_0x3dc735(0x2a8)])!=null?_0x1d5874:_0x7ddaeb['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x15d86e=(_0xda68ad=(await this[_0x3dc735(0x264)][_0x3dc735(0x171)](_0x3e5875,{'headers':{'Content-Type':_0x3dc735(0x1fe)}}))[_0x3dc735(0x278)])==null?void 0x0:_0xda68ad[_0x3dc735(0x124)])!=null?_0x15d86e:'';}},_0xa1933d['BrowserCollaborationSocketService']=_0x548342([_0x2e7e5a(0x0,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x384)])),_0x2e7e5a(0x1,_0x3dbd89[_0x5efc3d(0x35f)](_0x29bd27[_0x5efc3d(0x31b)])),_0x2e7e5a(0x2,_0x3dbd89[_0x5efc3d(0x2e6)]),_0x2e7e5a(0x3,_0x3dbd89[_0x5efc3d(0x348)]),_0x2e7e5a(0x4,_0x43c25f['ISnapshotServerService'])],_0xa1933d[_0x5efc3d(0x182)]);var _0x41d693=(_0x5525d0=>(_0x5525d0[_0x5525d0[_0x5efc3d(0x2d8)]=0x0]=_0x5efc3d(0x2d8),_0x5525d0[_0x5525d0['OK']=0x1]='OK',_0x5525d0[_0x5525d0[_0x5efc3d(0x255)]=0x2]=_0x5efc3d(0x255),_0x5525d0[_0x5525d0[_0x5efc3d(0x2a6)]=0x3]=_0x5efc3d(0x2a6),_0x5525d0[_0x5525d0[_0x5efc3d(0x1eb)]=0x4]=_0x5efc3d(0x1eb),_0x5525d0[_0x5525d0[_0x5efc3d(0x2dd)]=0x5]=_0x5efc3d(0x2dd),_0x5525d0[_0x5525d0['ALREADY_EXISTS']=0x6]=_0x5efc3d(0x123),_0x5525d0[_0x5525d0[_0x5efc3d(0x1ac)]=0x7]=_0x5efc3d(0x1ac),_0x5525d0[_0x5525d0[_0x5efc3d(0x11e)]=0x8]=_0x5efc3d(0x11e),_0x5525d0[_0x5525d0[_0x5efc3d(0x13f)]=0x9]=_0x5efc3d(0x13f),_0x5525d0[_0x5525d0[_0x5efc3d(0x14a)]=0xa]='LOGIN_FAILED',_0x5525d0[_0x5525d0[_0x5efc3d(0x36f)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5525d0[_0x5525d0[_0x5efc3d(0x203)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5525d0[_0x5525d0[_0x5efc3d(0x17c)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5525d0[_0x5525d0[_0x5efc3d(0x354)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5525d0[_0x5525d0[_0x5efc3d(0x2f4)]=0x1389]=_0x5efc3d(0x2f4),_0x5525d0[_0x5525d0[_0x5efc3d(0x2da)]=0x1771]=_0x5efc3d(0x2da),_0x5525d0[_0x5525d0[_0x5efc3d(0x260)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5525d0[_0x5525d0[_0x5efc3d(0x246)]=0x1773]=_0x5efc3d(0x246),_0x5525d0[_0x5525d0[_0x5efc3d(0x340)]=0x1b59]=_0x5efc3d(0x340),_0x5525d0[_0x5525d0[_0x5efc3d(0x28e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5525d0[_0x5525d0[_0x5efc3d(0x390)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5525d0[_0x5525d0['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5efc3d(0x114),_0x5525d0[_0x5525d0['APPLY_DUPLICATED']=0x1b5d]=_0x5efc3d(0x2ed),_0x5525d0[_0x5525d0['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5efc3d(0x1bd),_0x5525d0[_0x5525d0['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5efc3d(0x237),_0x5525d0[_0x5525d0[_0x5efc3d(0x175)]=0x232a]=_0x5efc3d(0x175),_0x5525d0[_0x5525d0[_0x5efc3d(0x177)]=0x232b]=_0x5efc3d(0x177),_0x5525d0[_0x5525d0[_0x5efc3d(0x320)]=0x232c]=_0x5efc3d(0x320),_0x5525d0[_0x5525d0[_0x5efc3d(0x1c2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5525d0[_0x5525d0[_0x5efc3d(0x12e)]=0x2711]=_0x5efc3d(0x12e),_0x5525d0[_0x5525d0[_0x5efc3d(0x2df)]=0x2712]=_0x5efc3d(0x2df),_0x5525d0[_0x5525d0['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5efc3d(0x1dc),_0x5525d0[_0x5525d0[_0x5efc3d(0x20d)]=0x2714]=_0x5efc3d(0x20d),_0x5525d0[_0x5525d0[_0x5efc3d(0x22f)]=0x271a]=_0x5efc3d(0x22f),_0x5525d0[_0x5525d0[_0x5efc3d(0x1ae)]=0x271b]=_0x5efc3d(0x1ae),_0x5525d0[_0x5525d0[_0x5efc3d(0x1a1)]=0x271c]=_0x5efc3d(0x1a1),_0x5525d0[_0x5525d0['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5525d0[_0x5525d0[_0x5efc3d(0x37d)]=0x271e]=_0x5efc3d(0x37d),_0x5525d0[_0x5525d0[_0x5efc3d(0x1fd)]=0x271f]=_0x5efc3d(0x1fd),_0x5525d0[_0x5525d0[_0x5efc3d(0x2fd)]=0x2720]=_0x5efc3d(0x2fd),_0x5525d0[_0x5525d0['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5efc3d(0x315),_0x5525d0[_0x5525d0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x5efc3d(0x12a),_0x5525d0[_0x5525d0[_0x5efc3d(0x1a0)]=0x2ee2]=_0x5efc3d(0x1a0),_0x5525d0[_0x5525d0['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x5525d0[_0x5525d0['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x5525d0[_0x5525d0[_0x5efc3d(0x1b2)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5525d0[_0x5525d0['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5efc3d(0x1bf),_0x5525d0[_0x5525d0[_0x5efc3d(0x212)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5525d0[_0x5525d0['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x5efc3d(0x236),_0x5525d0[_0x5525d0[_0x5efc3d(0x170)]=-0x1]=_0x5efc3d(0x170),_0x5525d0))(_0x41d693||{}),_0x597a1f=Object[_0x5efc3d(0x37a)],_0x3ed11=(_0xdc159f,_0x646d75,_0x2113f5,_0x2b14e6)=>{const _0x19a95b=_0x5efc3d;for(var _0x17a636=_0x2b14e6>0x1?void 0x0:_0x2b14e6?_0x597a1f(_0x646d75,_0x2113f5):_0x646d75,_0x3c48dc=_0xdc159f[_0x19a95b(0x166)]-0x1,_0x56c0eb;_0x3c48dc>=0x0;_0x3c48dc--)(_0x56c0eb=_0xdc159f[_0x3c48dc])&&(_0x17a636=_0x56c0eb(_0x17a636)||_0x17a636);return _0x17a636;},_0x47794e=(_0x23b653,_0x555b22)=>(_0x1269b3,_0x3333db)=>_0x555b22(_0x1269b3,_0x3333db,_0x23b653);_0xa1933d[_0x5efc3d(0x229)]=class extends _0x3dbd89[_0x5efc3d(0x29e)]{constructor(_0x3ddb80,_0xd3785f,_0x2b593d){const _0x22eac8=_0x5efc3d;super(),this[_0x22eac8(0x1d7)]=_0x3ddb80,this[_0x22eac8(0x264)]=_0xd3785f,this[_0x22eac8(0x24a)]=_0x2b593d;}async[_0x5efc3d(0x2e9)](_0xf02dc7,_0x37123e,_0x571e55,..._0x35f5b1){const _0x21dd6f=_0x5efc3d;var _0x16712e,_0x22f8fd,_0x2f8df1,_0x473cc1;const _0x3426c4=this[_0x21dd6f(0x1d7)]['getFocusedUnit']();if(!_0x3426c4)throw new Error(_0x21dd6f(0x216));const _0x48ad6a=((_0x16712e=this[_0x21dd6f(0x24a)][_0x21dd6f(0x21e)](_0x7ddaeb[_0x21dd6f(0x259)]))!=null?_0x16712e:_0x7ddaeb[_0x21dd6f(0x2ad)])+'/'+_0xf02dc7+_0x21dd6f(0x288)+_0x37123e,_0x17fe48=new URL(window[_0x21dd6f(0x26a)][_0x21dd6f(0x32b)]),_0x3e58b3={'scriptId':_0xf02dc7,'runId':(_0x22f8fd=_0x17fe48[_0x21dd6f(0x15a)][_0x21dd6f(0x171)](_0x21dd6f(0x29d)))!=null?_0x22f8fd:'','function':_0x37123e,'unitId':_0x3426c4[_0x21dd6f(0x1e6)](),'argsOfFunction':JSON[_0x21dd6f(0x395)](_0x35f5b1),'invokeId':(_0x2f8df1=_0x571e55['invokeId'])!=null?_0x2f8df1:'','executionId':(_0x473cc1=_0x571e55[_0x21dd6f(0x1ed)])!=null?_0x473cc1:''};try{const _0x4b4bf1=await this[_0x21dd6f(0x264)][_0x21dd6f(0x1fc)](_0x48ad6a,{'body':_0x3e58b3});return _0x4b4bf1[_0x21dd6f(0x278)]['error']&&_0x4b4bf1[_0x21dd6f(0x278)][_0x21dd6f(0x273)][_0x21dd6f(0x29c)]!==_0x41d693['OK']?_0x21dd6f(0x392):_0x4b4bf1[_0x21dd6f(0x278)]['result'];}catch{return'Failed';}}},_0xa1933d['RemoteUniscriptService']=_0x3ed11([_0x47794e(0x0,_0x3dbd89[_0x5efc3d(0x158)]),_0x47794e(0x1,_0x3dbd89[_0x5efc3d(0x35f)](_0x29bd27[_0x5efc3d(0x31b)])),_0x47794e(0x2,_0x3dbd89[_0x5efc3d(0x2e6)])],_0xa1933d[_0x5efc3d(0x229)]);const _0x5eee54=0x7530,_0x18c971='ACTIVE_UNIT_EVENT_CHANNEL';class _0x4d5a02 extends _0x3dbd89['Disposable']{constructor(){const _0x499221=_0x5efc3d;super(),_0x318f52(this,'_id',_0x3dbd89[_0x499221(0x330)]()),_0x318f52(this,'_selfUnitIDs',new Set()),_0x318f52(this,_0x499221(0x233),new Map()),_0x318f52(this,_0x499221(0x1b3),null),_0x318f52(this,_0x499221(0x1e4),new Map()),_0x318f52(this,'_unitStatus',new Map()),this[_0x499221(0x180)]();}[_0x5efc3d(0x33d)](){const _0x42edb5=_0x5efc3d;super[_0x42edb5(0x33d)](),this[_0x42edb5(0x1e4)][_0x42edb5(0x112)]((_0x46b21b,_0x50d7d9)=>this[_0x42edb5(0x230)](_0x50d7d9)),this['_heartbeatTimer']&&window[_0x42edb5(0x200)](this[_0x42edb5(0x1b3)]);}[_0x5efc3d(0x381)](_0x589c42){const _0x21ab64=_0x5efc3d;return this[_0x21ab64(0x286)](_0x589c42)['pipe'](_0x142e5d[_0x21ab64(0x28d)]());}[_0x5efc3d(0x32e)](_0x3a9502){const _0x2ff032=_0x5efc3d;this[_0x2ff032(0x33f)]['size']===0x0&&this[_0x2ff032(0x322)](),this[_0x2ff032(0x33f)][_0x2ff032(0x133)](_0x3a9502),this[_0x2ff032(0x14d)]({'type':0x0,'memberID':this[_0x2ff032(0x16d)],'unitIDs':[_0x3a9502],'isForwarded':!0x1});}['disposeUnit'](_0x6f7654){const _0x357bf2=_0x5efc3d;this['_selfUnitIDs']['delete'](_0x6f7654),this[_0x357bf2(0x33f)]['size']===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x357bf2(0x1b3)]);}['_init'](){const _0x7ff155=_0x5efc3d;this[_0x7ff155(0x2e5)](_0x3dbd89[_0x7ff155(0x35d)](_0x142e5d[_0x7ff155(0x174)](window,_0x7ff155(0x231))[_0x7ff155(0x2c3)](_0x3a55cf=>{const _0x42ea6c=_0x7ff155;if(_0x3a55cf[_0x42ea6c(0x1b9)]!==_0x18c971||!_0x3a55cf[_0x42ea6c(0x329)])return;const _0xd58427=JSON[_0x42ea6c(0x346)](_0x3a55cf[_0x42ea6c(0x329)]);this[_0x42ea6c(0x169)](_0xd58427);}))),window[_0x7ff155(0x118)](_0x7ff155(0x2ce),()=>this[_0x7ff155(0x14d)]({'type':0x1,'memberID':this[_0x7ff155(0x16d)],'unitIDs':Array[_0x7ff155(0x1ad)](this[_0x7ff155(0x33f)])}));}[_0x5efc3d(0x169)](_0x100b1b){const _0x1e4625=_0x5efc3d;switch(_0x100b1b[_0x1e4625(0x29b)]){case 0x0:this[_0x1e4625(0x1c1)](_0x100b1b);break;case 0x1:this[_0x1e4625(0x313)](_0x100b1b);break;case 0x2:this[_0x1e4625(0x195)](_0x100b1b);break;}}[_0x5efc3d(0x1c1)](_0xa78c6a){const _0x51b7fd=_0x5efc3d,{unitIDs:_0x35c995,memberID:_0x480c64,isForwarded:_0x63bcbd}=_0xa78c6a;_0x35c995['forEach'](_0x541694=>{const _0x15fd60=_0x2806;if(!_0x63bcbd&&this[_0x15fd60(0x233)][_0x15fd60(0x13d)](_0x541694)&&this[_0x15fd60(0x286)](_0x541694)[_0x15fd60(0x2c7)](_0x7ddaeb[_0x15fd60(0x11f)][_0x15fd60(0x262)]),!this[_0x15fd60(0x233)][_0x15fd60(0x13d)](_0x541694)||!this[_0x15fd60(0x233)]['get'](_0x541694)[_0x15fd60(0x13d)](_0x480c64)){const _0x5c9a68=this[_0x15fd60(0x233)]['get'](_0x541694)||new Set();_0x5c9a68['add'](_0x480c64),this[_0x15fd60(0x233)]['set'](_0x541694,_0x5c9a68),this[_0x15fd60(0x196)](_0x480c64);}}),_0x63bcbd||this[_0x51b7fd(0x14d)]({'type':0x0,'memberID':this[_0x51b7fd(0x16d)],'unitIDs':[...this[_0x51b7fd(0x33f)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5dbf29){const _0x4e8a06=_0x5efc3d;this[_0x4e8a06(0x230)](_0x5dbf29);const _0x529986=window[_0x4e8a06(0x1f2)](()=>{const _0x5b21fb=_0x4e8a06;this[_0x5b21fb(0x233)]['forEach'](_0x45b4df=>{_0x45b4df['delete'](_0x5dbf29);});},_0x5eee54*0x2);this[_0x4e8a06(0x1e4)][_0x4e8a06(0x1e8)](_0x5dbf29,_0x529986);}[_0x5efc3d(0x230)](_0x574067){const _0x2d219c=_0x5efc3d;if(this[_0x2d219c(0x1e4)][_0x2d219c(0x13d)](_0x574067)){const _0x426a0a=this['_clearOtherTimers']['get'](_0x574067);_0x426a0a&&window[_0x2d219c(0x352)](_0x426a0a),this['_clearOtherTimers'][_0x2d219c(0x1e8)](_0x574067,null);}}[_0x5efc3d(0x313)](_0x1ba4d4){const _0x323480=_0x5efc3d,{memberID:_0x211355,unitIDs:_0x45958b}=_0x1ba4d4;_0x45958b['forEach'](_0x462638=>{const _0x9cff3f=_0x2806;var _0x2c176e;const _0x307361=this[_0x9cff3f(0x233)]['get'](_0x462638);_0x307361&&(_0x307361[_0x9cff3f(0x125)](_0x211355),(_0x2c176e=this['_ensureSubject'](_0x462638))==null||_0x2c176e[_0x9cff3f(0x2c7)](_0x307361[_0x9cff3f(0x12f)]===0x0?_0x7ddaeb[_0x9cff3f(0x11f)][_0x9cff3f(0x32a)]:_0x7ddaeb[_0x9cff3f(0x11f)]['OTHER_CLIENTS_EDITING']));}),this[_0x323480(0x230)](_0x211355);}[_0x5efc3d(0x195)](_0x28cf47){const _0xfbe29e=_0x5efc3d;this[_0xfbe29e(0x196)](_0x28cf47[_0xfbe29e(0x36b)]);}['_send'](_0x296935){const _0x1f0bac=_0x5efc3d;localStorage[_0x1f0bac(0x201)](_0x18c971,JSON['stringify'](_0x296935));}[_0x5efc3d(0x322)](){const _0x7f3006=_0x5efc3d;this[_0x7f3006(0x1b3)]=window[_0x7f3006(0x2f2)](()=>{const _0x483b37=_0x7f3006;this[_0x483b37(0x14d)]({'type':0x2,'memberID':this[_0x483b37(0x16d)]});},_0x5eee54);}[_0x5efc3d(0x286)](_0x1e9d4d){const _0x3a25d9=_0x5efc3d;return this[_0x3a25d9(0x389)][_0x3a25d9(0x13d)](_0x1e9d4d)||this[_0x3a25d9(0x389)][_0x3a25d9(0x1e8)](_0x1e9d4d,new _0x142e5d[(_0x3a25d9(0x391))](_0x7ddaeb[_0x3a25d9(0x11f)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x3a25d9(0x171)](_0x1e9d4d);}}_0xa1933d[_0x5efc3d(0x338)]=_0x34b516,_0xa1933d[_0x5efc3d(0x359)]=_0x341b69,_0xa1933d[_0x5efc3d(0x326)]=_0x4d5a02,_0xa1933d[_0x5efc3d(0x28b)]=_0x323ef5,Object[_0x5efc3d(0x38b)](_0xa1933d,Symbol[_0x5efc3d(0x2be)],{'value':_0x5efc3d(0x1f4)});}));
|