@univerjs-pro/collaboration-client-ui 0.10.5 → 0.10.6-experimental.20250903-f52e3bf
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 +17 -17
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x806b(){const _0x5bcc55=['NO_OTHER_CLIENTS_EDITING','5705343AMpSir','startRow','get','1890255KhmRsn','_selfUnitIDs','_getAnchorBounding','cursorInfo','_online','trim','searchParams','onLocalMutation','requireSession','disposeWithMe','parse','_hover','popstate','with','url(#$1','moveTo','AWAITING_WITH_PENDING','_revisionService','body','getSkeleton','OTHER_CLIENT_EDITING','_scene','m2Prime','_assignedColors','textRanges','unit','_disabled','imageSourceType','getTypeOfUnitAdded$','collaboration-client.offline-data-not-saved','green.600','_colorAssignService','selections','indexOf','cursorInfo$','getFocusedUnit','add','EMAIL_VERIFY_CODE_MISMATCH','removeParam','entries','font','ALREADY_EXISTS','APPLY_NON_SEQUENTIAL_REVISION','_urlService','LOGIN_FAILED','urlChange$','_heartbeatTimer','_cursorInfo$','_transformPreviousActiveRange','type','application/json','set','APPLY_REJECT','getOwnPropertyDescriptor','docStateChange$','xlink:href','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_SUBSCRIPTION_NOT_FOUND','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','0\x200\x2016\x2016','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','_onCursorUpdate','roomMembers$','Error','YUUMI_ASYNCIO_CANCELLED','USERS_LEAVE','use','location','collab-rect-range-','CHANGESET_REVISION_CONFILICT','/run/','result','_memberService','hovered','collab-text-range-','TEXT','ranges','_getMergeRange','_config','colorChannel1','debug','addEventListener','FETCH_MISS','_onRefRangeChange','send','on-line-icon','pushState','setParam','_eventUnsubscribe','YUUMI_RATE_OVER_LIMIT','_unitOnClients','ACTIVE_UNIT_EVENT_CHANNEL','hide','getActiveSheet','INVALID_INVITE_CODE','JOIN_ROOM_FAILED','LICENSE_DISTRO_REJECTED','session.collaboration-timeout','_init','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','editingUnit','transformSelections','actions','entityInit$','4vrFdcz','jiqing.500','SNAPSHOT_HAS_BEEN_REMOVED','_collabCursorController','addHandlerCallback','activeSheet$','mutations','doc.mutation.rich-text-editing','_docTransformIMECacheService','symbol','asObservable','collabStatus.offline','range','defineProperty','getSheetId','m1Prime','APPLY_PERMISSION_DENIED','UNIVER_DOC','clearInterval','_imageIoService','collaboration.closeRoom','size','params','_collabSessionService','USER_NOT_INVITED_CODE','getCurrent','_docClipboardService','_anchor','_renderManagerService','getUniverSheetInstance','disableLocalCache','syncEditingCollabCursor','_localCacheService','updateOfflineData','saveOfflineData','undoState','hasOwnProperty','idSuffix','RECT','_scheduleHeartbeat','length','_colorIndex','_updateLocalCursor','enableLocalCache','transformIMECache','disposeUnit','_getSheetObject','_session','_localStorageService','_saveTaskMap','...','onPointerMove$','_drawTextRange','isActive','purple.300','_roomMembers$','InsertColCommandId','_labelPosition','univer-mr-2\x20univer-flex\x20univer-text-xl','UNRECOGNIZED','getUnitStatus$','assignAColorForMemberID','_commandService','function','_initStatusListener','registerRenderModule','getCellPositionByOffset','registerRefRange','_docSkeletonManagerService','_initStatusComponent','_updateURLWithCurrentState','unitID','LICENSE_EXPORT_SIZE_EXCEEDED','_transformUndoRedoStack','ENSURE_SNAPSHOT_EXECUTION','clearTimeout','_unitStatus','_handleHover','_transformService','_registerRenderDependencies','unshift','loadOfflineData','fill','_context','_messageService','_cachedData','getUndoRedoMutationParamsCache','event$','AWAITING','INVITE_CODE_REQUIRED','_localeService','mask','[CollaborationDataLoaderController]','_initEvent','from','_getScale','_httpService','show','_removeCollabCursors','_setupBeforeClosingHandler','isEditing','_drawRectRange','getVpScrollXYInfoByPosToVp','path','transformRemoteChangeset','_send','width','fillStyle','_entities','getRangePointData','unitId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','unsubscribe','MoveRangeCommandId','getCurrentUnitForType','height','onMouseMove','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','extend','_logService','pluginName','collab-text-anchor-','executeCommand','INTERNAL_ERROR','_updateSubUnitFromURLParams','post','getTypeOfUnitDisposed$','_docTransformStateCacheService','sessionTicket','_syncEditingCollabCursorService','white','_handleHeartbeatEvent','univer-flex\x20univer-items-center','collabStatus.conflict','SNAPSHOT_INVALID_SNAPSHOT','getViewport','setTimeout','13980312WWktQH','text','APPLY_DUPLICATED','column','key','_draw','_dataLoaderService','delete','pipe','_name','getUnitId','restore','COMPLETION_FINISHED','off-line-icon','FromArray','getItem','color','toString','YUUMI_NO_CUBOID_FOR_QUESTION','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_registerDependencies','getCollabCursors$','_setupSubUnitSync','M0\x200H16V16H0z','PENDING','HEADER_MENU','addClipboardHook','string','_docSkeleton','has','save','_startSheetCollabCursor','isArray','href','blue.400','subunit','off-line-icon_clip0_910_343','yellow.400','unload','InsertRangeMoveRightCommandId','roomMembers','_saveCache','_textBubble','getCurrentSelections','deepClone','_shapes','defs','push','random','getColorFromTheme','UniverIcon','_status$','on-line-icon_clip0_910_349','_anchorDot','OnLineIcon','getUnhiddenWorksheets','1471026ymMfwp','replaceState','_beforeCloseService','collaboration.single-unit.warning','row','PERMISSION_DENIED','NOT_COLLAB','currentColor','measureText','transform','svg','getParam','Warning','_refRangeService','CONFLICT','INVALID_ARGUMENT','getOffsetConfig','getRenderById','icon','NOT_FOUND','OTHER_CLIENTS_EDITING','MUTATION','_collaborationController','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','round','triggerDblclick','_toggleOnline','_createSocketURL','stringify','reconnect','min','_themeService','_backgroundColor','MOBILE_VERIFY_CODE_MISMATCH','collaboration-client-ui.config','lineTo','_hovered','_notificationService','_color','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_configService','getAncestorScale','_scheduleClearOtherTimer','assign','YUUMI_ALL_TABLES_IS_INVALID','invokeId','concat','top','getSheetBySheetId','children','_cursorShapes','wsSessionTicketUrl','getCollabEntity$','collabStatus.notCollab','_transformHistoryAndStateStack','div','EMAIL_HAS_BEEN_BOUND','getMemberID','tag','MOBILE_HAS_BEEN_BOUND','startsWith','_initDependencies','addObjects','redoState','_uiPartsService','setAlpha','_hideTimer','transformByState','_id','map','then','INVITE_CODE_ALREADY_BOUND','substring','Unknown\x20user','RemoveColCommandId','evenodd','some','uni.network.url-service','toRgbString','YUUMI_AI_RUN_FAILED','collabCursorState$','setItem','addObject','_collaborationUIEventService','_docSyncEditingCollabCursorService','call','max','SOCKET_FAILED','1em','getConfig','dispose$','includes','subscribe','APPLY_REVISION_CONFILICT','transformStateCache','_render','_injector','permission.content','displayName','_initResize','newValue','getActiveRange','_instanceService','find','_cursors','_lastPointer','values','_ensureSubject','flatMap','WECHAT_HAS_BEEN_BOUND','runId','source','ONLINE','executionId','name','LICENSE_MAX_UNITS_EXCEEDED','getMergeData','513477KkuShh','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UNDEFINED','getStateCache','getMember','_initEntityListener','resize','forEach','propertyIsEnumerable','_removeClearOtherTimer','_scheduleSaving','className','subscribeEvent','complete','contains','UNIVER_SHEET','findNodePositionByCharIndex','onCommandExecuted','split','3599610JYmboF','clipPath','selection','YUUMI_UNABLE_LOAD_URL','_univerInstanceService','_updateCollabCursors','error','_initCommandExecutedListener','currentSkeleton$','ticket','_handleJoinEvent','_collabCursorState$','history','current','_range','apply','bottom','327632bcXMSb','getValue','collabStatus.syncing','getCurrentRevOfUnit','defIds','onPointerEnter$','fillText','OFFLINE','_onCursorDelete','_refreshCollabCursors','_startDocCollabCursor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','skeleton','setShapeProps','init','setInterval','getDocRanges','OffLineIcon','univerjs-icon\x20univerjs-icon-','INVITE_CODE_HAS_BEEN_UES','_handleEvent','registerComponent','_getSessionTicket','engine','_clearOtherTimers','sheetId','startColumn','beginPath','transformMutationsWithChangeset','_docStateChangeManagerService','_entityInit$','SYNCED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collabStatus.synced','DeleteRangeMoveLeftCommandId','_toggleOffline','currentTheme$','onTransformChange$','RemoveRowCommandId','_handleLeaveEvent','url(#off-line-icon_clip0_910_343)','whenReady','next','getOwnPropertySymbols','_docTransformSelectionsService','_cursor','sessionStatus$','createSocket','UPDATE_CURSOR','transformMutation','dispose','onStarting','InsertRangeMoveDownCommandId','data','saveTaskMap','attrs','VIEW_MAIN','black','sheetID','prototype','LICENSE_IMPORT_SIZE_EXCEEDED','drawWith','_document','_sheetSkeletonManagerService','_getSaveTimeout','SOCKET_FAILED_RETRY','_drawAnchor'];_0x806b=function(){return _0x5bcc55;};return _0x806b();}const _0x524f26=_0x2688;(function(_0x40b1dd,_0x30b73b){const _0x2e5f75=_0x2688,_0x284696=_0x40b1dd();while(!![]){try{const _0x3d2ee9=-parseInt(_0x2e5f75(0x193))/0x1+parseInt(_0x2e5f75(0x1b7))/0x2+-parseInt(_0x2e5f75(0x1fe))/0x3*(parseInt(_0x2e5f75(0x266))/0x4)+parseInt(_0x2e5f75(0x1a6))/0x5+-parseInt(_0x2e5f75(0x11e))/0x6+-parseInt(_0x2e5f75(0x1fb))/0x7+parseInt(_0x2e5f75(0x2ef))/0x8;if(_0x3d2ee9===_0x30b73b)break;else _0x284696['push'](_0x284696['shift']());}catch(_0x1c8301){_0x284696['push'](_0x284696['shift']());}}}(_0x806b,0x685e7));var xt=Object[_0x524f26(0x273)],Bt=(_0x5ed0cf,_0xb45634,_0x74c5f6)=>_0xb45634 in _0x5ed0cf?xt(_0x5ed0cf,_0xb45634,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x74c5f6}):_0x5ed0cf[_0xb45634]=_0x74c5f6,_=(_0x255c4b,_0x455144,_0x5b1f86)=>Bt(_0x255c4b,typeof _0x455144!=_0x524f26(0x26f)?_0x455144+'':_0x455144,_0x5b1f86);import{jsx as _0x24ff01,jsxs as _0x5ef377}from'react/jsx-runtime';import{CollaborationStatus as _0x5e14e2,CollaborationSessionService as _0x162056,CollaborationController as _0x5ea9c0,DataLoaderService as _0x5079d1,MemberService as _0x18c408,SessionStatus as _0x5e5ecf,ILocalCacheService as _0x1b7959,CollaborationUIEventService as _0x212095,CollaborationUIEventId as _0x30a4c0,DocCollaborationEntity as _0x1d2c24,getLocalCacheKey as _0x5b4647,LOCAL_CACHE_INTERVAL as _0x39c620,LOCAL_CACHE_INTERVAL_KEY as _0x39a762,UniverCollaborationClientPlugin as _0x27d2e3,CollaborationSocketService as _0x14e523,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x24dff4,DEFAULT_WS_SESSION_TICKET_URL as _0x374a7e,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x72f2d5,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1aee36,UnitStatus as _0x1fe626}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x402f9f,IUniverInstanceService as _0x51fb22,Inject as _0x50e226,Injector as _0x56c26b,Disposable as _0x430c3f,createIdentifier as _0xe87888,ILogService as _0x185283,ICommandService as _0x2817bc,Optional as _0x16e240,RxDisposable as _0x390349,Workbook as _0x3de4a7,DOC_RANGE_TYPE as _0x3a8b17,debounce as _0x3471f3,Rectangle as _0x145291,DisposableCollection as _0x430434,toDisposable as _0x576d92,UniverInstanceType as _0x12cd48,generateRandomId as _0x5232f5,COLORS as _0x4cbd43,ColorKit as _0x8ed489,ThemeService as _0x106740,fromEventSubject as _0x3278b6,Tools as _0x47045f,CommandType as _0x372a95,IConfigService as _0x2e44c3,ILocalStorageService as _0x264bea,DependentOn as _0x10c84e,Plugin as _0x43d505,merge as _0xe37108,registerDependencies as _0x2c5eaa,mergeOverrideWithDependencies as _0x1ef8cb,touchDependencies as _0x58fb3f}from'@univerjs/core';import{useObservable as _0x58bc60,useDependency as _0x17dccc,IUIPartsService as _0x2503a4,BuiltInUIPart as _0x299170,connectInjector as _0x207910,IBeforeCloseService as _0x1d6db7,IMessageService as _0x274d64,INotificationService as _0x467358}from'@univerjs/ui';import{BehaviorSubject as _0x2f3fd2,switchMap as _0x2f1b3a,of as _0x2ae73a,takeUntil as _0x1416b7,debounceTime as _0x2d1c69,Subject as _0x24e103,filter as _0x4a29be,merge as _0x3763a1,combineLatest as _0x43bfd3,fromEvent as _0x1f263d,shareReplay as _0x57b571,mapTo as _0x591317,distinctUntilChanged as _0x2b74c3}from'rxjs';import{Tooltip as _0x815ab8,clsx as _0x542a34,MessageType as _0x1547dc}from'@univerjs/design';import{forwardRef as _0x214a22,useRef as _0x3eb788,createElement as _0x54760f,useCallback as _0x4839a6}from'react';import{IRemoteInstanceService as _0xfa4c7e}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0xb1d42e,RefRangeService as _0x250711,SetSelectionsOperation as _0x5699e8,SheetsSelectionsService as _0x4f1372,EffectRefRangId as _0x5ca832,handleIRemoveRow as _0x1dc797,handleIRemoveCol as _0x457b0d,handleMoveRange as _0x2fb68b,handleInsertRow as _0x58021b,handleInsertRangeMoveRight as _0x1665b6,handleInsertRangeMoveDown as _0x1b33ea,handleInsertCol as _0x32e739,handleDeleteRangeMoveUp as _0x258d6c,handleDeleteRangeMoveLeft as _0x297828,runRefRangeMutations as _0x3dffdc}from'@univerjs/sheets';import{Shape as _0x1163ff,Rect as _0x2fb052,getColor as _0xd92724,RegularPolygon as _0x4a6e35,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3ef742,Vector2 as _0x5c2ab4,SHEET_VIEWPORT_KEY as _0x49d101,IRenderManagerService as _0x161de0}from'@univerjs/engine-render';import{ISocketService as _0xd2df92,WebSocketService as _0x2c7d8a,HTTPService as _0x3452db}from'@univerjs/network';import{IDocClipboardService as _0x2fc78a,NodePositionConvertToCursor as _0x5cf627,NodePositionConvertToRectRange as _0xf2f731,TEXT_RANGE_LAYER_INDEX as _0x1f9e4e,SetDocZoomRatioOperation as _0x4975a1,DocIMEInputManagerService as _0x3b2744,DocStateChangeManagerService as _0x1474b4}from'@univerjs/docs-ui';import{IImageIoService as _0xe3ccbc}from'@univerjs/drawing';import{ITransformService as _0x4224cb,CollaborationEvent as _0x476dfc,isTransformMutationFailure as _0x3a0a27,isTransformMutationsWithChangesetSuccess as _0x20a420,RevisionService as _0x2cbf02,ISnapshotServerService as _0x26acb6}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x389eb4,RichTextEditingMutation as _0x4e5495,DocSelectionManagerService as _0x5bd793,DocSkeletonManagerService as _0x5ecd18}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x3e5e17,serializeRangeWithSheet as _0x4ee99d}from'@univerjs/engine-formula';import{map as _0x4866e0,filter as _0x3717b4,throttleTime as _0x1cbed5,takeUntil as _0x10e0b3,switchMap as _0x1aec67}from'rxjs/operators';import{SheetSkeletonManagerService as _0x396f6e,getCoordByCell as _0x59f86f,getSheetObject as _0x1058c8}from'@univerjs/sheets-ui';var v=function(){const _0x4ecdc2=_0x524f26;return v=Object['assign']||function(_0x5dd0a9){const _0x5d687d=_0x2688;for(var _0x44a1e5,_0x370a93=0x1,_0x389206=arguments[_0x5d687d(0x28e)];_0x370a93<_0x389206;_0x370a93++){_0x44a1e5=arguments[_0x370a93];for(var _0x4396db in _0x44a1e5)Object[_0x5d687d(0x1f2)][_0x5d687d(0x28a)][_0x5d687d(0x173)](_0x44a1e5,_0x4396db)&&(_0x5dd0a9[_0x4396db]=_0x44a1e5[_0x4396db]);}return _0x5dd0a9;},v[_0x4ecdc2(0x1b5)](this,arguments);},ci=function(_0x562a0a,_0x10402e){const _0x10fb5a=_0x524f26;var _0x5df8c8={};for(var _0x65da1f in _0x562a0a)Object[_0x10fb5a(0x1f2)][_0x10fb5a(0x28a)][_0x10fb5a(0x173)](_0x562a0a,_0x65da1f)&&_0x10402e[_0x10fb5a(0x21f)](_0x65da1f)<0x0&&(_0x5df8c8[_0x65da1f]=_0x562a0a[_0x65da1f]);if(_0x562a0a!=null&&typeof Object['getOwnPropertySymbols']==_0x10fb5a(0x2a5)){for(var _0x4b659a=0x0,_0x65da1f=Object[_0x10fb5a(0x1e2)](_0x562a0a);_0x4b659a<_0x65da1f[_0x10fb5a(0x28e)];_0x4b659a++)_0x10402e[_0x10fb5a(0x21f)](_0x65da1f[_0x4b659a])<0x0&&Object['prototype'][_0x10fb5a(0x19b)][_0x10fb5a(0x173)](_0x562a0a,_0x65da1f[_0x4b659a])&&(_0x5df8c8[_0x65da1f[_0x4b659a]]=_0x562a0a[_0x65da1f[_0x4b659a]]);}return _0x5df8c8;},ke=_0x214a22(function(_0x2e0718,_0x5ef3ec){const _0x30c440=_0x524f26;var _0x203375=_0x2e0718[_0x30c440(0x130)],_0x5e9f8e=_0x2e0718['id'],_0x545d3a=_0x2e0718[_0x30c440(0x19e)],_0x2bfbf5=_0x2e0718['extend'],_0x1c19d8=ci(_0x2e0718,[_0x30c440(0x130),'id',_0x30c440(0x19e),_0x30c440(0x2dc)]),_0x419def=_0x30c440(0x1c9)[_0x30c440(0x14c)](_0x5e9f8e,'\x20')[_0x30c440(0x14c)](_0x545d3a||'')[_0x30c440(0x203)](),_0xcf4600=_0x3eb788('_'['concat'](hi()));return Rt(_0x203375,''[_0x30c440(0x14c)](_0x5e9f8e),{'defIds':_0x203375[_0x30c440(0x1bb)],'idSuffix':_0xcf4600[_0x30c440(0x1b3)]},v({'ref':_0x5ef3ec,'className':_0x419def},_0x1c19d8),_0x2bfbf5);});function Rt(_0xdc9a73,_0x121d8c,_0xa58688,_0x57422c,_0x5a2e85){const _0x2d7b13=_0x524f26;return _0x54760f(_0xdc9a73[_0x2d7b13(0x158)],v(v({'key':_0x121d8c},li(_0xdc9a73,_0xa58688,_0x5a2e85)),_0x57422c),(_i(_0xdc9a73,_0xa58688)['children']||[])[_0x2d7b13(0x163)](function(_0xbc0ea1,_0x5d660d){const _0x20f103=_0x2d7b13;return Rt(_0xbc0ea1,''[_0x20f103(0x14c)](_0x121d8c,'-')[_0x20f103(0x14c)](_0xdc9a73[_0x20f103(0x158)],'-')[_0x20f103(0x14c)](_0x5d660d),_0xa58688,void 0x0,_0x5a2e85);}));}function li(_0x435433,_0x4d9250,_0x1a0134){const _0x45fb21=_0x524f26;var _0x2a0957=v({},_0x435433[_0x45fb21(0x1ee)]);_0x1a0134!=null&&_0x1a0134[_0x45fb21(0x24d)]&&_0x2a0957[_0x45fb21(0x2b8)]===_0x45fb21(0x24d)&&(_0x2a0957[_0x45fb21(0x2b8)]=_0x1a0134[_0x45fb21(0x24d)]),_0x435433['tag']==='mask'&&_0x2a0957['id']&&(_0x2a0957['id']=_0x2a0957['id']+_0x4d9250[_0x45fb21(0x28b)]),Object[_0x45fb21(0x225)](_0x2a0957)[_0x45fb21(0x19a)](function(_0x46f9fa){const _0x4318fc=_0x45fb21;var _0x40aaae=_0x46f9fa[0x0],_0x24ddb2=_0x46f9fa[0x1];_0x40aaae===_0x4318fc(0x2c1)&&typeof _0x24ddb2=='string'&&(_0x2a0957[_0x40aaae]=_0x24ddb2['replace'](/url\(#(.*)\)/,_0x4318fc(0x20c)[_0x4318fc(0x14c)](_0x4d9250['idSuffix'],')')));});var _0x355f53=_0x4d9250[_0x45fb21(0x1bb)];return!_0x355f53||_0x355f53[_0x45fb21(0x28e)]===0x0||(_0x435433['tag']===_0x45fb21(0x240)&&_0x2a0957[_0x45fb21(0x235)]&&(_0x2a0957[_0x45fb21(0x235)]=_0x2a0957['xlink:href']+_0x4d9250['idSuffix']),Object[_0x45fb21(0x225)](_0x2a0957)[_0x45fb21(0x19a)](function(_0x4cd860){const _0x37b715=_0x45fb21;var _0x488a8d=_0x4cd860[0x0],_0x5787b2=_0x4cd860[0x1];typeof _0x5787b2=='string'&&(_0x2a0957[_0x488a8d]=_0x5787b2['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x4d9250[_0x37b715(0x28b)],')')));})),_0x2a0957;}function _i(_0x77c2a9,_0x1265ad){const _0x184aae=_0x524f26;var _0x2213da,_0x493065=_0x1265ad['defIds'];return!_0x493065||_0x493065[_0x184aae(0x28e)]===0x0?_0x77c2a9:_0x77c2a9[_0x184aae(0x158)]==='defs'&&(!((_0x2213da=_0x77c2a9[_0x184aae(0x14f)])===null||_0x2213da===void 0x0)&&_0x2213da[_0x184aae(0x28e)])?v(v({},_0x77c2a9),{'children':_0x77c2a9[_0x184aae(0x14f)][_0x184aae(0x163)](function(_0x3387df){const _0x4630b7=_0x184aae;return typeof _0x3387df[_0x4630b7(0x1ee)]['id']==_0x4630b7(0x101)&&_0x493065&&_0x493065[_0x4630b7(0x179)](_0x3387df['attrs']['id'])?v(v({},_0x3387df),{'attrs':v(v({},_0x3387df['attrs']),{'id':_0x3387df['attrs']['id']+_0x1265ad[_0x4630b7(0x28b)]})}):_0x3387df;})}):_0x77c2a9;}function hi(){const _0x153dfc=_0x524f26;return Math[_0x153dfc(0x116)]()['toString'](0x24)[_0x153dfc(0x166)](0x2,0x8);}ke['displayName']=_0x524f26(0x118);var ui={'tag':_0x524f26(0x128),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x524f26(0x239),'width':_0x524f26(0x176),'height':_0x524f26(0x176)},'children':[{'tag':'g','attrs':{'clipPath':_0x524f26(0x1df)},'children':[{'tag':_0x524f26(0x2cd),'attrs':{'stroke':_0x524f26(0x125),'d':_0x524f26(0x135),'strokeLinecap':'round','strokeLinejoin':_0x524f26(0x136),'strokeWidth':1.2}}]},{'tag':_0x524f26(0x114),'attrs':{},'children':[{'tag':_0x524f26(0x1a7),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x524f26(0x2e8),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x524f26(0x10a)]},Dt=_0x214a22(function(_0x33e550,_0x1d19b9){const _0x2e5fd2=_0x524f26;return _0x54760f(ke,Object['assign']({},_0x33e550,{'id':_0x2e5fd2(0xf3),'ref':_0x1d19b9,'icon':ui}));});Dt[_0x524f26(0x180)]=_0x524f26(0x1c8);var di={'tag':_0x524f26(0x128),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x524f26(0x176),'height':_0x524f26(0x176)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x524f26(0x125),'d':_0x524f26(0x23a),'strokeLinecap':_0x524f26(0x136),'strokeLinejoin':_0x524f26(0x136),'strokeWidth':1.2}}]},{'tag':_0x524f26(0x114),'attrs':{},'children':[{'tag':_0x524f26(0x1a7),'attrs':{'id':_0x524f26(0x11a)},'children':[{'tag':'path','attrs':{'fill':_0x524f26(0x2e8),'d':_0x524f26(0xfd),'transform':'translate(.97)'}}]}]}],'defIds':[_0x524f26(0x11a)]},Nt=_0x214a22(function(_0x28a090,_0x2591b8){const _0x41d8bd=_0x524f26;return _0x54760f(ke,Object[_0x41d8bd(0x149)]({},_0x28a090,{'id':_0x41d8bd(0x253),'ref':_0x2591b8,'icon':di}));});Nt[_0x524f26(0x180)]=_0x524f26(0x11c);function fi(_0x1c23c1){const _0x837e97=_0x524f26;switch(_0x1c23c1){case _0x5e14e2[_0x837e97(0x1be)]:return _0x837e97(0x271);case _0x5e14e2['CONFLICT']:return _0x837e97(0x2eb);case _0x5e14e2[_0x837e97(0x250)]:return'collabStatus.fetchMiss';case _0x5e14e2[_0x837e97(0x124)]:return _0x837e97(0x153);case _0x5e14e2[_0x837e97(0x2be)]:case _0x5e14e2[_0x837e97(0x20e)]:return _0x837e97(0x1b9);case _0x5e14e2[_0x837e97(0x1d6)]:case _0x5e14e2[_0x837e97(0xfe)]:return _0x837e97(0x1d8);}}function Si(_0x3bdfe2){const _0x19e2be=_0x524f26,{status$:_0x485bde}=_0x3bdfe2,_0x5d9f63=_0x58bc60(_0x485bde,_0x5e14e2[_0x19e2be(0x124)]),_0x82958a=_0x17dccc(_0x402f9f),_0x53c79f=_0x17dccc(_0x162056),_0xd3dc39=_0x5d9f63!==_0x5e14e2[_0x19e2be(0x1be)],_0x4615d6=_0x82958a['t'](fi(_0x5d9f63)),_0x1677b3=_0xd3dc39?_0x24ff01(Nt,{}):_0x24ff01(Dt,{}),_0x79fad1=_0x4839a6(()=>{const _0x241d2d=_0x19e2be;_0xd3dc39||_0x53c79f[_0x241d2d(0x13b)]();},[_0xd3dc39,_0x53c79f]);function _0xe4ceb5(){const _0x213621=_0x19e2be;return _0x5ef377(_0x213621(0x155),{'className':_0x213621(0x2ea),'onClick':_0x79fad1,'children':[_0x24ff01('div',{'className':_0x542a34(_0x213621(0x2a0),{'univer-text-green-500':_0xd3dc39,'univer-text-red-500':!_0xd3dc39}),'children':_0x1677b3}),_0x24ff01(_0x213621(0x155),{'className':_0x213621(0x238),'children':_0x4615d6})]});}return _0xd3dc39?_0xe4ceb5():_0x24ff01(_0x815ab8,{'title':_0x82958a['t']('collab-client.tooltip.reconnect'),'children':_0xe4ceb5()});}var mi=Object[_0x524f26(0x233)],Ii=(_0xd2f75f,_0x5980d7,_0x16c87d,_0x174e81)=>{const _0x39987c=_0x524f26;for(var _0x37b86f=_0x174e81>0x1?void 0x0:_0x174e81?mi(_0x5980d7,_0x16c87d):_0x5980d7,_0x42e19f=_0xd2f75f[_0x39987c(0x28e)]-0x1,_0xa50b1c;_0x42e19f>=0x0;_0x42e19f--)(_0xa50b1c=_0xd2f75f[_0x42e19f])&&(_0x37b86f=_0xa50b1c(_0x37b86f)||_0x37b86f);return _0x37b86f;},q=(_0x2831b5,_0x11d254)=>(_0x4395ac,_0x1840fd)=>_0x11d254(_0x4395ac,_0x1840fd,_0x2831b5);let se=class extends _0x430c3f{constructor(_0x55e88a,_0x1c7949,_0x576842,_0x1ffbe2){const _0x4b97a2=_0x524f26;super(),_(this,_0x4b97a2(0x119),new _0x2f3fd2(_0x5e14e2[_0x4b97a2(0x124)])),(this['_univerInstanceService']=_0x55e88a,this[_0x4b97a2(0x17e)]=_0x1c7949,this['_collaborationController']=_0x576842,this[_0x4b97a2(0x15e)]=_0x1ffbe2,this[_0x4b97a2(0x2ab)](),this[_0x4b97a2(0x2a6)]());}[_0x524f26(0x2a6)](){const _0x1a1087=_0x524f26;this[_0x1a1087(0x207)](this[_0x1a1087(0x1aa)]['focused$'][_0x1a1087(0xee)](_0x2f1b3a(()=>{const _0xc21b46=_0x1a1087,_0x22c85f=this[_0xc21b46(0x1aa)][_0xc21b46(0x221)]();return _0x22c85f?this[_0xc21b46(0x134)][_0xc21b46(0x152)](_0x22c85f[_0xc21b46(0xf0)]()):_0x2ae73a(null);}),_0x2f1b3a(_0x2ab6db=>_0x2ab6db?_0x2ab6db['status$']:_0x2ae73a(_0x5e14e2[_0x1a1087(0x124)])))[_0x1a1087(0x17a)](_0x372e27=>{const _0x1c632d=_0x1a1087;this[_0x1c632d(0x119)][_0x1c632d(0x1e1)](_0x372e27);}));}[_0x524f26(0x2ab)](){const _0x256235=_0x524f26;this[_0x256235(0x207)](this['_uiPartsService'][_0x256235(0x1cc)](_0x299170[_0x256235(0xff)],()=>_0x207910(vi({'status$':this[_0x256235(0x119)][_0x256235(0x270)]()}),this[_0x256235(0x17e)])));}};se=Ii([q(0x0,_0x51fb22),q(0x1,_0x50e226(_0x56c26b)),q(0x2,_0x50e226(_0x5ea9c0)),q(0x3,_0x2503a4)],se);function vi(_0x44dc07){const {status$:_0x2193ed}=_0x44dc07;return function(){return _0x24ff01(Si,{'status$':_0x2193ed});};}const Ut=_0xe87888(_0x524f26(0x16b));var gi=Object[_0x524f26(0x233)],pi=(_0x51f2f7,_0xa7ee63,_0x40d72a,_0x40f4e7)=>{const _0x1fbe13=_0x524f26;for(var _0x1ce1f2=_0x40f4e7>0x1?void 0x0:_0x40f4e7?gi(_0xa7ee63,_0x40d72a):_0xa7ee63,_0x7bb6cb=_0x51f2f7[_0x1fbe13(0x28e)]-0x1,_0x5625ef;_0x7bb6cb>=0x0;_0x7bb6cb--)(_0x5625ef=_0x51f2f7[_0x7bb6cb])&&(_0x1ce1f2=_0x5625ef(_0x1ce1f2)||_0x1ce1f2);return _0x1ce1f2;},G=(_0x27c468,_0x3ac965)=>(_0x4619d8,_0x5d7c70)=>_0x3ac965(_0x4619d8,_0x5d7c70,_0x27c468);let ie=class extends _0x390349{constructor(_0x3b3122,_0x1a967d,_0x179947,_0x548703,_0x56b69f){const _0x256922=_0x524f26;super(),this[_0x256922(0x229)]=_0x3b3122,this[_0x256922(0x2dd)]=_0x1a967d,this[_0x256922(0x2a4)]=_0x179947,this['_dataLoaderService']=_0x548703,_0x56b69f?_0x56b69f==null||_0x56b69f[_0x256922(0x1e0)]()[_0x256922(0x164)](()=>this['_init']()):(this[_0x256922(0x2dd)][_0x256922(0x24e)](_0x256922(0x2c2),_0x256922(0x1c2)),this[_0x256922(0x260)]());}async[_0x524f26(0x260)](){const _0x17846f=_0x524f26,_0x5b5971=this[_0x17846f(0x229)][_0x17846f(0x129)](_0x17846f(0x217)),_0x10178b=this['_urlService'][_0x17846f(0x129)](_0x17846f(0x22f)),_0x28bd6e=this[_0x17846f(0x229)][_0x17846f(0x129)](_0x17846f(0x109));if(!_0x5b5971||!_0x10178b){this[_0x17846f(0x2dd)]['debug'](_0x17846f(0x2c2),_0x17846f(0xf9));return;}const _0x3812ba=await this[_0x17846f(0x2f5)]['loadUnit'](_0x5b5971,Number(_0x10178b),_0x28bd6e);_0x3812ba&&_0x3812ba instanceof _0x3de4a7&&this[_0x17846f(0xfc)](_0x3812ba);}async[_0x524f26(0xfc)](_0x40b86c){const _0x1c256b=_0x524f26;await this['_updateSubUnitFromURLParams'](_0x40b86c),_0x40b86c[_0x1c256b(0x26b)][_0x1c256b(0xee)](_0x1416b7(this['dispose$']))[_0x1c256b(0x17a)](_0x353ebb=>{_0x353ebb&&this['_updateURLWithCurrentState'](_0x353ebb);}),this[_0x1c256b(0x229)][_0x1c256b(0x22b)][_0x1c256b(0xee)](_0x1416b7(this[_0x1c256b(0x178)]))['subscribe'](()=>this[_0x1c256b(0x2e2)](_0x40b86c));}[_0x524f26(0x2ac)](_0x20e5c0,_0x5616fd=!0x1){const _0x50dc1a=_0x524f26,_0x2686e2=this[_0x50dc1a(0x229)]['getParam'](_0x50dc1a(0x109));_0x20e5c0[_0x50dc1a(0x274)]()!==_0x2686e2&&this[_0x50dc1a(0x229)]['setParam'](_0x50dc1a(0x109),_0x20e5c0[_0x50dc1a(0x274)](),_0x5616fd);}async[_0x524f26(0x2e2)](_0x376095){const _0x57eaa3=_0x524f26;var _0x32da2f;const _0xca26ee=this['_urlService'][_0x57eaa3(0x129)](_0x57eaa3(0x109));if(!_0xca26ee||!_0x376095[_0x57eaa3(0x14e)](_0xca26ee)){const _0x2b7a32=_0x376095[_0x57eaa3(0x11d)]()[0x0],_0x5d3875=_0x376095[_0x57eaa3(0x14e)](_0x2b7a32);if(!_0x5d3875)return;this[_0x57eaa3(0x2ac)](_0x5d3875,!0x0),await this[_0x57eaa3(0x2a4)][_0x57eaa3(0x2e0)](_0xb1d42e['id'],{'unitId':_0x376095['getUnitId'](),'subUnitId':_0x2b7a32});return;}((_0x32da2f=_0x376095[_0x57eaa3(0x25b)]())==null?void 0x0:_0x32da2f[_0x57eaa3(0x274)]())!==_0xca26ee&&await this[_0x57eaa3(0x2a4)]['executeCommand'](_0xb1d42e['id'],{'unitId':_0x376095[_0x57eaa3(0xf0)](),'subUnitId':_0xca26ee});}};ie=pi([G(0x0,Ut),G(0x1,_0x185283),G(0x2,_0x2817bc),G(0x3,_0x50e226(_0x5079d1)),G(0x4,_0x16e240(_0xfa4c7e))],ie);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x302d83,_0x831cf0,_0xf9a8e5,_0x1727ff)=>{const _0x19ffb2=_0x524f26;for(var _0x2e8ab5=_0x1727ff>0x1?void 0x0:_0x1727ff?Ci(_0x831cf0,_0xf9a8e5):_0x831cf0,_0x28b3ec=_0x302d83[_0x19ffb2(0x28e)]-0x1,_0x9ba20a;_0x28b3ec>=0x0;_0x28b3ec--)(_0x9ba20a=_0x302d83[_0x28b3ec])&&(_0x2e8ab5=_0x9ba20a(_0x2e8ab5)||_0x2e8ab5);return _0x2e8ab5;},Je=(_0x312c3c,_0x13c86d)=>(_0x29a360,_0x28e8b7)=>_0x13c86d(_0x29a360,_0x28e8b7,_0x312c3c);let Ne=class extends _0x390349{constructor(_0x23856f,_0x1df1d6){const _0xffdf0b=_0x524f26;super(),this[_0xffdf0b(0x280)]=_0x23856f,this['_imageIoService']=_0x1df1d6,this[_0xffdf0b(0x260)]();}['_init'](){const _0x2558ca=_0x524f26,_0x390fab=this;this['disposeWithMe'](this[_0x2558ca(0x280)][_0x2558ca(0x100)]({'onBeforePasteImage':async _0x24ff90=>{const _0x34ed41=_0x2558ca,_0x5bb171=await _0x390fab[_0x34ed41(0x279)]['saveImage'](_0x24ff90);return _0x5bb171?{'source':_0x5bb171[_0x34ed41(0x18d)],'imageSourceType':_0x5bb171[_0x34ed41(0x219)]}:null;}}));}};Ne=Ei([Je(0x0,_0x2fc78a),Je(0x1,_0xe3ccbc)],Ne);const Ze=[_0x524f26(0x29c),_0x524f26(0x267),_0x524f26(0x21c),'red.300',_0x524f26(0x108),_0x524f26(0x10b)];class He extends _0x430c3f{constructor(){const _0x44c7ea=_0x524f26;super(...arguments),_(this,_0x44c7ea(0x215),new Map()),_(this,_0x44c7ea(0x28f),0x0);}[_0x524f26(0x2a3)](_0x47102a){const _0x31596b=_0x524f26;if(this[_0x31596b(0x215)][_0x31596b(0x103)](_0x47102a))return this[_0x31596b(0x215)][_0x31596b(0x1fd)](_0x47102a);const _0x5dbd29=Ze[this[_0x31596b(0x28f)]];return this[_0x31596b(0x28f)]=(this['_colorIndex']+0x1)%Ze[_0x31596b(0x28e)],this[_0x31596b(0x215)][_0x31596b(0x231)](_0x47102a,_0x5dbd29),_0x5dbd29;}}function Mt(_0x5066e5){const _0x2c8248=_0x524f26;let _0x1c6d03='';for(const _0xda0d57 of _0x5066e5){const {startOffset:_0x5b2ca6,endOffset:_0x5de134,isActive:_0x54927c,rangeType:_0x493f9a,segmentId:_0x5ec120,segmentPage:_0x481afa}=_0xda0d57;_0x1c6d03[_0x2c8248(0x28e)]&&(_0x1c6d03+=','),_0x1c6d03+=_0x5b2ca6+':'+_0x5de134+':'+(_0x54927c?'1':'0')+':'+_0x493f9a+':'+_0x5ec120+':'+_0x481afa;}return _0x1c6d03;}function Oi(_0x2457f1){const _0x5360ff=_0x524f26,_0x1103f5=_0x2457f1[_0x5360ff(0x1a5)](','),_0x29c781=[];for(const _0x2a5149 of _0x1103f5){const [_0x578d06,_0x267919,_0x298e23,_0x1ceb7d,_0x1c7f7b,_0x37e3b9]=_0x2a5149[_0x5360ff(0x1a5)](':');_0x29c781[_0x5360ff(0x115)]({'startOffset':Number(_0x578d06),'endOffset':Number(_0x267919),'collapsed':_0x578d06===_0x267919,'isActive':_0x298e23==='1','rangeType':_0x1ceb7d===_0x3a8b17[_0x5360ff(0x249)]?_0x3a8b17['TEXT']:_0x3a8b17[_0x5360ff(0x28c)],'segmentId':typeof _0x1c7f7b==_0x5360ff(0x101)?String(_0x1c7f7b):'','segmentPage':Number(_0x37e3b9!=null?_0x37e3b9:-0x1)});}return _0x29c781[_0x5360ff(0x16a)](_0x4c6e9a=>_0x4c6e9a[_0x5360ff(0x29b)])||(_0x29c781[0x0][_0x5360ff(0x29b)]=!0x0),_0x29c781;}class Fe extends _0x390349{constructor(){const _0x319b63=_0x524f26;super(...arguments),_(this,_0x319b63(0x1b1),new _0x2f3fd2(null)),_(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x53e8a9){const _0x5b15e8=_0x524f26,{unitID:_0x2f006c,memberID:_0x2f83f2,textRanges:_0x35a5a8}=_0x53e8a9,_0x25466d=Mt(_0x35a5a8);if(_0x25466d==='')return;const _0x40f099={'unitID':_0x2f006c,'memberID':_0x2f83f2,'selection':_0x25466d};this[_0x5b15e8(0x1b1)][_0x5b15e8(0x1e1)](_0x40f099);}}var bi=Object['getOwnPropertyDescriptor'],Ti=(_0x506d20,_0x5a3e2d,_0x54deb1,_0x418283)=>{for(var _0x59dd70=_0x418283>0x1?void 0x0:_0x418283?bi(_0x5a3e2d,_0x54deb1):_0x5a3e2d,_0x119979=_0x506d20['length']-0x1,_0x5acb88;_0x119979>=0x0;_0x119979--)(_0x5acb88=_0x506d20[_0x119979])&&(_0x59dd70=_0x5acb88(_0x59dd70)||_0x59dd70);return _0x59dd70;},P=(_0x3a58d8,_0x159123)=>(_0x183fda,_0x241fb5)=>_0x159123(_0x183fda,_0x241fb5,_0x3a58d8);const Ri=0x12c,Di=0x64;let Ue=class extends _0x390349{constructor(_0x5465f5,_0x559843,_0x1bc743,_0x2b8285,_0x465d57,_0x3fc6a1,_0x42cbe5,_0x28d8d8,_0x42353a){const _0x7d1fc0=_0x524f26;super(),_(this,_0x7d1fc0(0x202),!0x1),_(this,_0x7d1fc0(0x260),!0x1),_(this,_0x7d1fc0(0x22d),new _0x2f3fd2(new Map())),_(this,_0x7d1fc0(0x220),this[_0x7d1fc0(0x22d)][_0x7d1fc0(0x270)]()),_(this,_0x7d1fc0(0x29d),new _0x2f3fd2([])),_(this,_0x7d1fc0(0x23c),this[_0x7d1fc0(0x29d)][_0x7d1fc0(0xee)](_0x2d1c69(Ri))),_(this,_0x7d1fc0(0x290),_0x3471f3(_0xfd8d6b=>{const _0x22f773=_0x7d1fc0,_0x4d78e0={'eventID':_0x476dfc[_0x22f773(0x1e7)],'data':{'unitID':this[_0x22f773(0x2ad)],'memberID':this['_session'][_0x22f773(0x157)](),'selection':Mt(_0xfd8d6b)}};this[_0x22f773(0x295)][_0x22f773(0x252)](_0x4d78e0,this['unitID']);},Di)),(this[_0x7d1fc0(0x2ad)]=_0x5465f5,this[_0x7d1fc0(0x295)]=_0x559843,this[_0x7d1fc0(0x17e)]=_0x1bc743,this['_colorAssignService']=_0x2b8285,this['_memberService']=_0x465d57,this[_0x7d1fc0(0x2e7)]=_0x3fc6a1,this[_0x7d1fc0(0x2b4)]=_0x42cbe5,this[_0x7d1fc0(0x1aa)]=_0x28d8d8,this[_0x7d1fc0(0x2a4)]=_0x42353a);}get[_0x524f26(0x201)](){const _0x4052c5=_0x524f26;return this[_0x4052c5(0x22d)][_0x4052c5(0x1b8)]();}get[_0x524f26(0x10e)](){const _0x546989=_0x524f26;return this[_0x546989(0x29d)][_0x546989(0x1b8)]();}['dispose'](){const _0x33edef=_0x524f26;super['dispose'](),this[_0x33edef(0x22d)][_0x33edef(0x1e1)](new Map()),this['_cursorInfo$']['complete'](),this[_0x33edef(0x29d)]['next']([]),this[_0x33edef(0x29d)][_0x33edef(0x1a0)]();}[_0x524f26(0x1c5)](){const _0x2166dc=_0x524f26;this[_0x2166dc(0x260)]||(this[_0x2166dc(0x260)]=!0x0,this[_0x2166dc(0x295)][_0x2166dc(0x1e5)][_0x2166dc(0xee)](_0x1416b7(this[_0x2166dc(0x178)]))[_0x2166dc(0x17a)](_0x56e5d5=>{const _0x5b6d48=_0x2166dc;_0x56e5d5===_0x5e5ecf['ONLINE']?this[_0x5b6d48(0x138)]():this['_toggleOffline']();}),this[_0x2166dc(0x295)]['event$'][_0x2166dc(0xee)](_0x1416b7(this[_0x2166dc(0x178)]))['subscribe'](_0x21302b=>{const _0x200a67=_0x2166dc,_0x2f3044=_0x21302b['eventID'];_0x2f3044===_0x476dfc[_0x200a67(0x1e7)]&&this[_0x200a67(0x23b)](_0x21302b),_0x2f3044===_0x476dfc[_0x200a67(0x23f)]&&this['_onCursorDelete'](_0x21302b);}),this[_0x2166dc(0x207)](this['_commandService'][_0x2166dc(0x1a4)](_0x442f81=>{const _0x4ac683=_0x2166dc,_0x1d9027=_0x442f81[_0x4ac683(0x27c)];_0x1d9027!=null&&this[_0x4ac683(0x202)]&&_0x442f81['id']===_0x389eb4['id']&&_0x1d9027[_0x4ac683(0x2d4)]===this['unitID']&&_0x1d9027[_0x4ac683(0x2ca)]===!0x1&&_0x1d9027['ranges'][_0x4ac683(0x28e)]>0x0&&this[_0x4ac683(0x290)](_0x1d9027[_0x4ac683(0x24a)]);})),this[_0x2166dc(0x2e7)][_0x2166dc(0x16e)]['pipe'](_0x1416b7(this[_0x2166dc(0x178)]))[_0x2166dc(0x17a)](_0x367e8e=>{const _0x21d8ed=_0x2166dc;if((_0x367e8e==null?void 0x0:_0x367e8e[_0x21d8ed(0x2ad)])!==this['unitID'])return;const _0x598b3b={'eventID':_0x476dfc[_0x21d8ed(0x1e7)],'data':_0x367e8e};this[_0x21d8ed(0x23b)](_0x598b3b);}),this[_0x2166dc(0x207)](this[_0x2166dc(0x2a4)][_0x2166dc(0x1a4)](_0x5d5752=>{const _0x39f049=_0x2166dc;if(_0x5d5752[_0x39f049(0x27c)]==null)return;const _0x3697ae=_0x5d5752[_0x39f049(0x27c)];if(_0x5d5752['id']!==_0x4e5495['id']||_0x3697ae[_0x39f049(0x2d4)]!==this[_0x39f049(0x2ad)])return;const _0x3bebca={'id':_0x39f049(0x26d),'params':_0x3697ae},_0x1af2ea=this[_0x39f049(0x201)];for(const [_0x16e673,_0x17a93e]of _0x1af2ea){const _0x49bda2={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x39f049(0x2ad)],'actions':null,'textRanges':_0x17a93e[_0x39f049(0x24a)]}},_0x3c1a33=this[_0x39f049(0x2b4)]['transformMutation'](_0x3bebca,_0x49bda2,!0x1);if(_0x3a0a27(_0x3c1a33))throw _0x3c1a33['error'];_0x1af2ea[_0x39f049(0x231)](_0x16e673,{..._0x17a93e,'ranges':_0x3c1a33[_0x39f049(0x214)][_0x39f049(0x27c)]['textRanges']});}queueMicrotask(()=>{const _0x37df85=_0x39f049;this['_cursorInfo$'][_0x37df85(0x1e1)](_0x1af2ea);});})));}[_0x524f26(0x23b)](_0x396db8){const _0x417ff0=_0x524f26;var _0x439692,_0x259dcb;const {memberID:_0x31ca0f,selection:_0x271cda}=_0x396db8[_0x417ff0(0x1ec)],_0x1535f7=Oi(_0x271cda),_0x4195b6=(_0x259dcb=(_0x439692=this['_memberService'][_0x417ff0(0x197)](this[_0x417ff0(0x2ad)],_0x31ca0f))==null?void 0x0:_0x439692[_0x417ff0(0x190)])!=null?_0x259dcb:_0x417ff0(0x167),_0x2b68e4={'color':this['_colorAssignService'][_0x417ff0(0x2a3)](_0x31ca0f),'name':_0x4195b6,'ranges':_0x1535f7},_0x586107=this['cursorInfo'];_0x586107[_0x417ff0(0x231)](_0x31ca0f,_0x2b68e4),this[_0x417ff0(0x22d)]['next'](_0x586107);}['_onCursorDelete'](_0x10e31d){const _0x282334=_0x524f26,{memberID:_0x132b79}=_0x10e31d[_0x282334(0x1ec)],_0x355834=this[_0x282334(0x201)];_0x355834[_0x282334(0xed)](_0x132b79),this['_cursorInfo$'][_0x282334(0x1e1)](_0x355834);}[_0x524f26(0x138)](){const _0x51cc63=_0x524f26;var _0x4d9337;if(this[_0x51cc63(0x202)]=!0x0,((_0x4d9337=this['_univerInstanceService'][_0x51cc63(0x221)]())==null?void 0x0:_0x4d9337[_0x51cc63(0xf0)]())!==this[_0x51cc63(0x2ad)])return;const _0xa706cb=this['_injector'][_0x51cc63(0x1fd)](_0x5bd793)[_0x51cc63(0x1c7)]();Array[_0x51cc63(0x106)](_0xa706cb)&&_0xa706cb[_0x51cc63(0x28e)]>0x0&&this['_updateLocalCursor'](_0xa706cb);}[_0x524f26(0x1da)](){const _0x40dc20=_0x524f26;this[_0x40dc20(0x202)]=!0x1;}};Ue=Ti([P(0x2,_0x50e226(_0x56c26b)),P(0x3,_0x50e226(He)),P(0x4,_0x50e226(_0x18c408)),P(0x5,_0x50e226(Fe)),P(0x6,_0x4224cb),P(0x7,_0x51fb22),P(0x8,_0x2817bc)],Ue);var Ni=Object[_0x524f26(0x233)],Ui=(_0x4c0d9c,_0x1585a0,_0x518703,_0x4bd07a)=>{const _0x437b4f=_0x524f26;for(var _0x206037=_0x4bd07a>0x1?void 0x0:_0x4bd07a?Ni(_0x1585a0,_0x518703):_0x1585a0,_0x33867a=_0x4c0d9c[_0x437b4f(0x28e)]-0x1,_0x5aa702;_0x33867a>=0x0;_0x33867a--)(_0x5aa702=_0x4c0d9c[_0x33867a])&&(_0x206037=_0x5aa702(_0x206037)||_0x206037);return _0x206037;},x=(_0x3d9d4f,_0x397d10)=>(_0x1e7109,_0x1fc501)=>_0x397d10(_0x1e7109,_0x1fc501,_0x3d9d4f);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x3e173c=[],_0x45efc0=!0x1;return _0xce735d=>{const _0x59a9a5=_0x2688;_0x3e173c[_0x59a9a5(0x115)](_0xce735d),_0x45efc0||(_0x45efc0=!0x0,setTimeout(()=>{const _0x2522ae=_0x59a9a5;_0x3e173c[_0x2522ae(0x19a)](_0x5696de=>_0x5696de()),_0x3e173c=[],_0x45efc0=!0x1;}));};};let Me=class extends _0x390349{constructor(_0x1d3d3c,_0x49bf8a,_0x37600c,_0x169f60,_0x4889a0,_0xcb24f7,_0x15147f,_0x2ada09){const _0x48ad2d=_0x524f26;super(),_(this,_0x48ad2d(0x202),!0x1),_(this,_0x48ad2d(0x260),!0x1),_(this,_0x48ad2d(0x22d),new _0x2f3fd2(new Map())),_(this,_0x48ad2d(0x220),this[_0x48ad2d(0x22d)]['asObservable']()),_(this,_0x48ad2d(0x29d),new _0x2f3fd2([])),_(this,_0x48ad2d(0x23c),this[_0x48ad2d(0x29d)]['pipe'](_0x2d1c69(Mi))),_(this,_0x48ad2d(0x290),_0x3471f3((_0x444701,_0x462ac7)=>{const _0x51dfad=_0x48ad2d,_0x5125d4={'eventID':_0x476dfc['UPDATE_CURSOR'],'data':{'unitID':this[_0x51dfad(0x2ad)],'memberID':this[_0x51dfad(0x295)][_0x51dfad(0x157)](),'selection':_0x4ee99d(_0x444701,_0x462ac7[_0x51dfad(0x272)])}};this[_0x51dfad(0x295)][_0x51dfad(0x252)](_0x5125d4,this[_0x51dfad(0x2ad)]);},Li)),(this['unitID']=_0x1d3d3c,this[_0x48ad2d(0x295)]=_0x49bf8a,this[_0x48ad2d(0x17e)]=_0x37600c,this[_0x48ad2d(0x21d)]=_0x169f60,this[_0x48ad2d(0x246)]=_0x4889a0,this[_0x48ad2d(0x1aa)]=_0xcb24f7,this['_commandService']=_0x15147f,this[_0x48ad2d(0x12b)]=_0x2ada09);}get[_0x524f26(0x201)](){const _0x4aa01a=_0x524f26;return this[_0x4aa01a(0x22d)]['getValue']();}get[_0x524f26(0x10e)](){const _0x5202ec=_0x524f26;return this[_0x5202ec(0x29d)][_0x5202ec(0x1b8)]();}[_0x524f26(0x1e9)](){const _0x359fc9=_0x524f26;super[_0x359fc9(0x1e9)](),this[_0x359fc9(0x22d)][_0x359fc9(0x1e1)](new Map()),this[_0x359fc9(0x22d)][_0x359fc9(0x1a0)](),this[_0x359fc9(0x29d)][_0x359fc9(0x1e1)]([]),this['_roomMembers$'][_0x359fc9(0x1a0)]();}['init'](){const _0x4f92f0=_0x524f26;this[_0x4f92f0(0x260)]||(this['_init']=!0x0,this['_session'][_0x4f92f0(0x1e5)][_0x4f92f0(0xee)](_0x1416b7(this[_0x4f92f0(0x178)]))[_0x4f92f0(0x17a)](_0x3e70fe=>{const _0x46aaae=_0x4f92f0;_0x3e70fe===_0x5e5ecf[_0x46aaae(0x18e)]?this[_0x46aaae(0x138)]():this['_toggleOffline']();}),this['_session'][_0x4f92f0(0x2bd)][_0x4f92f0(0xee)](_0x1416b7(this['dispose$']))[_0x4f92f0(0x17a)](_0x53eff6=>{const _0x306cc9=_0x4f92f0,_0x3d4b4a=_0x53eff6['eventID'];_0x3d4b4a===_0x476dfc['UPDATE_CURSOR']&&this[_0x306cc9(0x23b)](_0x53eff6),_0x3d4b4a===_0x476dfc[_0x306cc9(0x23f)]&&this[_0x306cc9(0x1bf)](_0x53eff6);}),this[_0x4f92f0(0x251)](),this[_0x4f92f0(0x207)](this[_0x4f92f0(0x2a4)][_0x4f92f0(0x1a4)](_0x49cf7a=>{const _0x4475e5=_0x4f92f0;if(this[_0x4475e5(0x202)]&&_0x49cf7a['id']===_0x5699e8['id']&&_0x49cf7a[_0x4475e5(0x27c)][_0x4475e5(0x2d4)]===this[_0x4475e5(0x2ad)]){const _0x48a1de=_0x49cf7a['params'];this[_0x4475e5(0x290)](_0x48a1de['subUnitId'],_0x48a1de[_0x4475e5(0x21e)][0x0]);}})));}['_onCursorUpdate'](_0x57c114){const _0x1c2f42=_0x524f26;var _0x3e4c38,_0x3895bb;const {memberID:_0x532909,selection:_0x2768ff}=_0x57c114[_0x1c2f42(0x1ec)],{sheetName:_0x84e359,range:_0x32fff5}=_0x3e5e17(_0x2768ff),_0x4574ed={'name':(_0x3895bb=(_0x3e4c38=this[_0x1c2f42(0x246)][_0x1c2f42(0x197)](this[_0x1c2f42(0x2ad)],_0x532909))==null?void 0x0:_0x3e4c38[_0x1c2f42(0x190)])!=null?_0x3895bb:_0x1c2f42(0x167),'range':this['_getMergeRange'](_0x84e359,_0x32fff5),'sheetID':_0x84e359,'color':this[_0x1c2f42(0x21d)]['assignAColorForMemberID'](_0x532909),'selection':_0x2768ff},_0x8724f4=this[_0x1c2f42(0x201)];_0x8724f4[_0x1c2f42(0x231)](_0x532909,_0x4574ed),this[_0x1c2f42(0x22d)][_0x1c2f42(0x1e1)](_0x8724f4);}[_0x524f26(0x1bf)](_0x50c378){const _0x742f4a=_0x524f26,{memberID:_0x20cd5b}=_0x50c378[_0x742f4a(0x1ec)],_0x5b5ef6=this[_0x742f4a(0x201)];_0x5b5ef6[_0x742f4a(0xed)](_0x20cd5b),this['_cursorInfo$']['next'](_0x5b5ef6);}[_0x524f26(0x24b)](_0x59f443,_0x170d5e){const _0x154d20=_0x524f26;var _0x2a6936,_0x33e223;const _0x81293e=(_0x33e223=(_0x2a6936=this[_0x154d20(0x1aa)][_0x154d20(0x283)](this[_0x154d20(0x2ad)]))==null?void 0x0:_0x2a6936[_0x154d20(0x14e)](_0x59f443))==null?void 0x0:_0x33e223[_0x154d20(0x192)]();return(_0x81293e==null?void 0x0:_0x81293e[_0x154d20(0x185)](_0x4d4bd9=>_0x145291[_0x154d20(0x1a1)](_0x4d4bd9,_0x170d5e)))||_0x170d5e;}[_0x524f26(0x251)](){const _0x3b0be6=_0x524f26,_0x51b391=new _0x430434(),_0x3d70ac=Pi(),_0x3aa89d=()=>{const _0xdbaed8=_0x2688;_0x51b391[_0xdbaed8(0x1e9)]();const _0x4fc3b1=(_0x46a822,_0x3a7efe,_0x522e9e,_0x3dfe11)=>{const _0x4697f6=_0xdbaed8;let _0x52c9d5=[];switch(_0x46a822['id']){case _0x5ca832[_0x4697f6(0x1d9)]:{_0x52c9d5=_0x297828(_0x46a822,_0x3dfe11);break;}case _0x5ca832['DeleteRangeMoveUpCommandId']:{_0x52c9d5=_0x258d6c(_0x46a822,_0x3dfe11);break;}case _0x5ca832[_0x4697f6(0x29e)]:{_0x52c9d5=_0x32e739(_0x46a822,_0x3dfe11);break;}case _0x5ca832[_0x4697f6(0x1eb)]:{_0x52c9d5=_0x1b33ea(_0x46a822,_0x3dfe11);break;}case _0x5ca832[_0x4697f6(0x10d)]:{_0x52c9d5=_0x1665b6(_0x46a822,_0x3dfe11);break;}case _0x5ca832['InsertRowCommandId']:{_0x52c9d5=_0x58021b(_0x46a822,_0x3dfe11);break;}case _0x5ca832[_0x4697f6(0x2d7)]:{_0x52c9d5=_0x2fb68b(_0x46a822,_0x3dfe11);break;}case _0x5ca832[_0x4697f6(0x168)]:{_0x52c9d5=_0x457b0d(_0x46a822,_0x3dfe11);break;}case _0x5ca832[_0x4697f6(0x1dd)]:{_0x52c9d5=_0x1dc797(_0x46a822,_0x3dfe11);break;}}const _0x4968f2=_0x3dffdc(_0x52c9d5,_0x3dfe11),_0x9dd20b=this[_0x4697f6(0x201)]['get'](_0x3a7efe);if(_0x9dd20b&&_0x4968f2){const _0x5ed7d0={..._0x9dd20b,'range':_0x4968f2};this[_0x4697f6(0x201)][_0x4697f6(0x231)](_0x3a7efe,_0x5ed7d0),_0x3d70ac(()=>{const _0x325b7c=_0x4697f6,_0x47d976=this[_0x325b7c(0x12b)]['registerRefRange'](_0x4968f2,_0x1204fb=>(_0x47d976[_0x325b7c(0x1e9)](),_0x4fc3b1(_0x1204fb,_0x3a7efe,_0x522e9e,_0x4968f2)));_0x51b391[_0x325b7c(0x222)](_0x47d976);});}return{'redos':[],'undos':[]};};this[_0xdbaed8(0x201)][_0xdbaed8(0x19a)]((_0x7565bb,_0x171a0c)=>{const _0x543514=_0xdbaed8,{range:_0x303e26,sheetID:_0x33d7e8}=_0x7565bb,_0x3d38d1=this[_0x543514(0x12b)][_0x543514(0x2a9)](_0x303e26,_0x1dc3cd=>(_0x3d38d1['dispose'](),_0x4fc3b1(_0x1dc3cd,_0x171a0c,_0x33d7e8,_0x303e26)));_0x51b391[_0x543514(0x222)](_0x3d38d1);});};this['disposeWithMe'](_0x576d92(this['_cursorInfo$'][_0x3b0be6(0x17a)](()=>{_0x3aa89d();})));}[_0x524f26(0x138)](){const _0x5b8513=_0x524f26;var _0x2cc283,_0x58edaa;if(this['_online']=!0x0,((_0x2cc283=this[_0x5b8513(0x1aa)][_0x5b8513(0x221)]())==null?void 0x0:_0x2cc283[_0x5b8513(0xf0)]())!==this[_0x5b8513(0x2ad)])return;const _0x120fed=(_0x58edaa=this[_0x5b8513(0x17e)]['get'](_0x4f1372)[_0x5b8513(0x111)]())==null?void 0x0:_0x58edaa[0x0],_0x48b818=this[_0x5b8513(0x1aa)][_0x5b8513(0x2d8)](_0x12cd48[_0x5b8513(0x1a2)])['getActiveSheet']();_0x120fed&&_0x48b818&&this[_0x5b8513(0x290)](_0x48b818[_0x5b8513(0x274)](),_0x120fed);}[_0x524f26(0x1da)](){const _0x2ab336=_0x524f26;this[_0x2ab336(0x202)]=!0x1;}};Me=Ui([x(0x2,_0x50e226(_0x56c26b)),x(0x3,_0x50e226(He)),x(0x4,_0x50e226(_0x18c408)),x(0x5,_0x51fb22),x(0x6,_0x2817bc),x(0x7,_0x50e226(_0x250711))],Me);var wi=Object[_0x524f26(0x233)],Ai=(_0x143384,_0x9a0852,_0x5b6c78,_0xd91495)=>{const _0x1c675f=_0x524f26;for(var _0x1beef4=_0xd91495>0x1?void 0x0:_0xd91495?wi(_0x9a0852,_0x5b6c78):_0x9a0852,_0x12760f=_0x143384[_0x1c675f(0x28e)]-0x1,_0xb72f1e;_0x12760f>=0x0;_0x12760f--)(_0xb72f1e=_0x143384[_0x12760f])&&(_0x1beef4=_0xb72f1e(_0x1beef4)||_0x1beef4);return _0x1beef4;},me=(_0x41aa11,_0x4d169f)=>(_0x5f774f,_0xdd05d5)=>_0x4d169f(_0x5f774f,_0xdd05d5,_0x41aa11);let F=class extends _0x390349{constructor(_0x520250,_0x187d8f,_0x2d3b83){const _0x4fcf46=_0x524f26;super(),_(this,_0x4fcf46(0x2d2),new Map()),_(this,_0x4fcf46(0x1d5),new _0x24e103()),(this['_univerInstanceService']=_0x520250,this[_0x4fcf46(0x17e)]=_0x187d8f,this[_0x4fcf46(0x27d)]=_0x2d3b83,this[_0x4fcf46(0x260)]());}[_0x524f26(0x1e9)](){const _0x23309c=_0x524f26;super[_0x23309c(0x1e9)](),this[_0x23309c(0x1d5)]['complete'](),this[_0x23309c(0x2d2)][_0x23309c(0x19a)](_0x5a32ca=>_0x5a32ca[_0x23309c(0x1e9)]());}[_0x524f26(0xfb)](_0x187abe){const _0x42c339=_0x524f26;return this[_0x42c339(0x2d2)][_0x42c339(0x103)](_0x187abe)?this[_0x42c339(0x2d2)][_0x42c339(0x1fd)](_0x187abe)['cursorInfo$']:this[_0x42c339(0x1d5)][_0x42c339(0xee)](_0x4a29be(_0x5b2f8b=>_0x5b2f8b[_0x42c339(0x2ad)]===_0x187abe),_0x2f1b3a(_0x408c7d=>_0x408c7d[_0x42c339(0x220)]));}[_0x524f26(0x260)](){const _0x1bc8d3=_0x524f26;this[_0x1bc8d3(0x1aa)][_0x1bc8d3(0x21a)](_0x12cd48[_0x1bc8d3(0x1a2)])[_0x1bc8d3(0xee)](_0x1416b7(this[_0x1bc8d3(0x178)]))[_0x1bc8d3(0x17a)](async _0x3ef283=>{const _0x4d575c=_0x1bc8d3,_0x53a5db=_0x3ef283[_0x4d575c(0xf0)](),_0x3d2ddb=await this[_0x4d575c(0x105)](_0x53a5db);this[_0x4d575c(0x1d5)][_0x4d575c(0x1e1)](_0x3d2ddb),this['_entities'][_0x4d575c(0x231)](_0x53a5db,_0x3d2ddb);}),this[_0x1bc8d3(0x1aa)][_0x1bc8d3(0x21a)](_0x12cd48[_0x1bc8d3(0x277)])[_0x1bc8d3(0xee)](_0x1416b7(this[_0x1bc8d3(0x178)]))['pipe'](_0x4a29be(_0x3b3915=>!_0x3b3915['getUnitId']()[_0x1bc8d3(0x15a)]('__')))[_0x1bc8d3(0x17a)](async _0x19c8a1=>{const _0x502012=_0x1bc8d3,_0x593a25=_0x19c8a1[_0x502012(0xf0)](),_0x41987c=await this[_0x502012(0x1c1)](_0x593a25);this[_0x502012(0x1d5)][_0x502012(0x1e1)](_0x41987c),this[_0x502012(0x2d2)]['set'](_0x593a25,_0x41987c);}),_0x3763a1(this[_0x1bc8d3(0x1aa)][_0x1bc8d3(0x2e4)](_0x12cd48[_0x1bc8d3(0x277)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x12cd48[_0x1bc8d3(0x1a2)]))['pipe'](_0x1416b7(this[_0x1bc8d3(0x178)]))['subscribe'](_0x101bb6=>{const _0x5d4bf8=_0x1bc8d3,_0x4301cb=_0x101bb6[_0x5d4bf8(0xf0)](),_0x3c9c51=this[_0x5d4bf8(0x2d2)][_0x5d4bf8(0x1fd)](_0x4301cb);_0x3c9c51&&(_0x3c9c51[_0x5d4bf8(0x1e9)](),this['_entities'][_0x5d4bf8(0xed)](_0x4301cb));});}async[_0x524f26(0x105)](_0x36e77a){const _0x585c0b=_0x524f26,_0x4c1ad5=await this[_0x585c0b(0x27d)][_0x585c0b(0x206)](_0x36e77a),_0x41bfdd=this['_injector']['createInstance'](Me,_0x36e77a,_0x4c1ad5);return _0x41bfdd[_0x585c0b(0x1c5)](),_0x41bfdd;}async[_0x524f26(0x1c1)](_0x253817){const _0x4ce2e4=_0x524f26,_0x340f7d=await this['_collabSessionService'][_0x4ce2e4(0x206)](_0x253817),_0x405246=this[_0x4ce2e4(0x17e)]['createInstance'](Ue,_0x253817,_0x340f7d);return _0x405246['init'](),_0x405246;}};F=Ai([me(0x0,_0x51fb22),me(0x1,_0x50e226(_0x56c26b)),me(0x2,_0x50e226(_0x162056))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x4800bc,_0xa901b3){const _0x37e6f8=_0x524f26;let {radius:_0x259d7a,width:_0x2f0352,height:_0x4f4ef6}=_0xa901b3;_0x259d7a=_0x259d7a!=null?_0x259d7a:0x0,_0x2f0352=_0x2f0352!=null?_0x2f0352:0x1e,_0x4f4ef6=_0x4f4ef6!=null?_0x4f4ef6:0x1e;let _0x9628a7=0x0,_0x27e799=0x0,_0x5cac5d=0x0;_0x9628a7=_0x27e799=_0x5cac5d=Math['min'](_0x259d7a,_0x2f0352/0x2,_0x4f4ef6/0x2),_0x4800bc[_0x37e6f8(0x1d2)](),_0x4800bc[_0x37e6f8(0x20d)](_0x9628a7,0x0),_0x4800bc[_0x37e6f8(0x141)](_0x2f0352-_0x27e799,0x0),_0x4800bc['arc'](_0x2f0352-_0x27e799,_0x27e799,_0x27e799,Math['PI']*0x3/0x2,0x0,!0x1),_0x4800bc[_0x37e6f8(0x141)](_0x2f0352,_0x4f4ef6-_0x5cac5d),_0x4800bc['arc'](_0x2f0352-_0x5cac5d,_0x4f4ef6-_0x5cac5d,_0x5cac5d,0x0,Math['PI']/0x2,!0x1),_0x4800bc[_0x37e6f8(0x141)](0x0,_0x4f4ef6),_0x4800bc[_0x37e6f8(0x141)](0x0,_0x9628a7),_0x4800bc['arc'](_0x9628a7,_0x9628a7,_0x9628a7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4800bc['closePath'](),_0xa901b3[_0x37e6f8(0x2b8)]&&(_0x4800bc['save'](),_0x4800bc[_0x37e6f8(0x2d1)]=_0xa901b3['fill'],_0xa901b3['fillRule']===_0x37e6f8(0x169)?_0x4800bc['fill'](_0x37e6f8(0x169)):_0x4800bc[_0x37e6f8(0x2b8)](),_0x4800bc[_0x37e6f8(0xf1)]());}class ue extends _0x1163ff{constructor(_0x329dd3,_0x16153d){const _0x22cf54=_0x524f26;super(_0x329dd3,_0x16153d),_(this,_0x22cf54(0xf6)),_(this,_0x22cf54(0x2f0)),(this[_0x22cf54(0xf6)]=_0x16153d==null?void 0x0:_0x16153d['color'],this[_0x22cf54(0x2f0)]=_0x16153d==null?void 0x0:_0x16153d[_0x22cf54(0x2f0)]);}static['drawWith'](_0x228b0f,_0x1aeab2){const _0x4ff881=_0x524f26,{text:_0x58d8f6,color:_0x217a30}=_0x1aeab2;_0x228b0f[_0x4ff881(0x104)](),_0x228b0f[_0x4ff881(0x226)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x565f96=_0x228b0f[_0x4ff881(0x126)](_0x58d8f6)[_0x4ff881(0x2d0)],_0x248b53=Math[_0x4ff881(0x13c)](_0x565f96+0x2*Ie,Qe);$i(_0x228b0f,{'height':J,'radius':0x4,'width':_0x248b53,'fill':_0x217a30}),_0x228b0f['fillStyle']='#FFF';const _0xda50fe=Ie,_0x271249=J-yi,_0x2e8eac=Qe-0x2*Ie;if(_0x565f96>_0x2e8eac){let _0x395e1a='',_0x4aaa19=0x0;for(const _0x4a8581 of _0x58d8f6){const _0x4753ae=_0x228b0f[_0x4ff881(0x126)](_0x4a8581)[_0x4ff881(0x2d0)];if(_0x4aaa19+_0x4753ae<=_0x2e8eac-_0x228b0f[_0x4ff881(0x126)](_0x4ff881(0x298))[_0x4ff881(0x2d0)])_0x395e1a+=_0x4a8581,_0x4aaa19+=_0x4753ae;else{_0x395e1a+=_0x4ff881(0x298);break;}}_0x228b0f[_0x4ff881(0x1bd)](_0x395e1a,_0xda50fe,_0x271249);}else _0x228b0f[_0x4ff881(0x1bd)](_0x58d8f6,_0xda50fe,_0x271249);_0x228b0f[_0x4ff881(0xf1)]();}[_0x524f26(0x2f4)](_0x463806){ue['drawWith'](_0x463806,this);}}const ve=_0x524f26(0x2df),xi=_0x524f26(0x248),Bi=_0x524f26(0x242),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x2963d6,_0x4f9129,_0x1c5a30,_0x2af7fd){const _0x1be5c5=_0x524f26;_(this,_0x1be5c5(0x113),[]),_(this,'_anchor',null),_(this,_0x1be5c5(0x110),null),_(this,_0x1be5c5(0x11b),null),_(this,_0x1be5c5(0x160),null),_(this,_0x1be5c5(0x256),null),(this['_cursor']=_0x2963d6,this[_0x1be5c5(0x213)]=_0x4f9129,this[_0x1be5c5(0x102)]=_0x1c5a30,this[_0x1be5c5(0x1f5)]=_0x2af7fd,this['_render']());}set[_0x524f26(0x209)](_0x5b4f59){const _0x17d048=_0x524f26;_0x5b4f59?(this[_0x17d048(0x11b)]&&this['_anchorDot'][_0x17d048(0x25a)](),this[_0x17d048(0x110)]&&this['_textBubble'][_0x17d048(0x2c7)]()):(this[_0x17d048(0x11b)]&&this[_0x17d048(0x11b)][_0x17d048(0x2c7)](),this[_0x17d048(0x110)]&&this['_textBubble'][_0x17d048(0x25a)]());}[_0x524f26(0x1e9)](){const _0x51dfa8=_0x524f26;for(const _0x5f15c2 of this[_0x51dfa8(0x113)])_0x5f15c2[_0x51dfa8(0x1e9)]();this[_0x51dfa8(0x110)]&&this[_0x51dfa8(0x110)]['dispose'](),this[_0x51dfa8(0x11b)]&&this['_anchorDot']['dispose'](),this['_anchor']&&this[_0x51dfa8(0x281)]['dispose'](),this[_0x51dfa8(0x256)]&&this[_0x51dfa8(0x256)]();}[_0x524f26(0x17d)](){const _0x57e89c=_0x524f26;var _0x50422c;const {_docSkeleton:_0x2d53af,_document:_0x23879e}=this,{color:_0x55c30c,name:_0x168d8c,ranges:_0x2e0923}=this[_0x57e89c(0x1e4)],_0xc2166e=_0x23879e[_0x57e89c(0x12e)](),{docsLeft:_0x58a7ca,docsTop:_0x6e430e}=_0xc2166e,_0x425853=new _0x5cf627(_0xc2166e,_0x2d53af);for(const {startOffset:_0x240cc5,endOffset:_0x5149ca,rangeType:_0x2e9d05,segmentId:_0x50dc03,segmentPage:_0x42435b,collapsed:_0x47ef36,isActive:_0x1af204}of _0x2e0923){const _0x254b2c=_0x2d53af['findNodePositionByCharIndex'](_0x240cc5,!0x0,_0x50dc03,_0x42435b);let _0x495f43=_0x2d53af[_0x57e89c(0x1a3)](_0x5149ca,!0x0,_0x50dc03,_0x42435b);if(_0x495f43==null&&(_0x495f43=_0x2d53af[_0x57e89c(0x1a3)](_0x5149ca-0x1,!0x1,_0x50dc03,_0x42435b)),_0x1af204){const {contentBoxPointGroup:_0xe0f4f3}=_0x425853[_0x57e89c(0x2d3)](_0x495f43,_0x495f43);if(_0xe0f4f3[_0x57e89c(0x28e)]===0x0)continue;this['_drawAnchor'](_0x55c30c,_0xe0f4f3,_0x58a7ca,_0x6e430e,_0x168d8c),this[_0x57e89c(0x256)]=this['_handleHover']();}if(_0x254b2c&&_0x495f43){if(_0x2e9d05===_0x3a8b17[_0x57e89c(0x28c)]){const _0x55514e=new _0xf2f731(_0xc2166e,_0x2d53af),{pointGroup:_0x3659eb}=(_0x50422c=_0x55514e[_0x57e89c(0x2d3)](_0x254b2c,_0x495f43))!=null?_0x50422c:{};if(_0x3659eb==null||_0x3659eb[_0x57e89c(0x28e)]===0x0)continue;this['_drawRectRange'](_0x55c30c,_0x3659eb,_0x58a7ca,_0x6e430e);}else{if(!_0x47ef36){const {borderBoxPointGroup:_0x32e9cd}=_0x425853['getRangePointData'](_0x254b2c,_0x495f43);if(_0x32e9cd[_0x57e89c(0x28e)]===0x0)continue;this[_0x57e89c(0x29a)](_0x55c30c,_0x32e9cd,_0x58a7ca,_0x6e430e);}}}}}[_0x524f26(0x1f9)](_0x1d03ea,_0x5da751,_0x4336d6,_0x227bfc,_0x99b7b5){const _0x2868b1=_0x524f26,_0x5af35f=this[_0x2868b1(0x200)](_0x5da751),{left:_0x524bb6,top:_0x4fb61a,height:_0x15b885}=_0x5af35f,_0x3845ec=this[_0x2868b1(0x2c5)](),_0x1aee8d=Hi/_0x3845ec,_0x303d9d=new _0x2fb052(ve+_0x5232f5(K),{'left':_0x524bb6+_0x4336d6-_0x1aee8d,'top':_0x4fb61a+_0x227bfc,'height':_0x15b885,'width':ki,'fill':_0x1d03ea||_0xd92724(_0x4cbd43['black'],0x0),'strokeWidth':_0x1aee8d,'stroke':Fi,'evented':!0x0});this[_0x2868b1(0x281)]=_0x303d9d,this[_0x2868b1(0x213)][_0x2868b1(0x170)](_0x303d9d,_0x1f9e4e);const _0x45dd2d=new _0x2fb052(ve+_0x5232f5(K),{'left':_0x524bb6+_0x4336d6-_0x1aee8d,'top':_0x4fb61a+_0x227bfc-ge/0x2,'height':ge,'width':ge,'fill':_0x1d03ea||_0xd92724(_0x4cbd43[_0x2868b1(0x1f0)],0x0),'strokeWidth':0x0,'stroke':_0x1d03ea||_0xd92724(_0x4cbd43['black'],0x0),'evented':!0x1});this[_0x2868b1(0x11b)]=_0x45dd2d,this[_0x2868b1(0x213)]['addObject'](_0x45dd2d,_0x1f9e4e);const _0x35c74b=new ue(ve+_0x5232f5(K),{'left':_0x524bb6+_0x4336d6-_0x1aee8d,'top':_0x4fb61a+_0x227bfc-J,'text':_0x99b7b5,'color':_0x1d03ea});this[_0x2868b1(0x110)]=_0x35c74b,this[_0x2868b1(0x213)][_0x2868b1(0x170)](_0x35c74b,_0x1f9e4e),this[_0x2868b1(0x209)]=!0x1;}[_0x524f26(0x2b3)](){const _0x2f5a04=_0x524f26,_0x2ef262=this['_anchor'][_0x2f5a04(0x1bc)][_0x2f5a04(0x19f)](()=>{this['_hover']=!0x0;}),_0x18c592=this[_0x2f5a04(0x281)]['onPointerLeave$'][_0x2f5a04(0x19f)](()=>{const _0x37c190=_0x2f5a04;this['_hideTimer']&&clearTimeout(this[_0x37c190(0x160)]),this[_0x37c190(0x160)]=setTimeout(()=>{const _0x1a1678=_0x37c190;this[_0x1a1678(0x209)]=!0x1;},0x7d0);});return()=>{const _0x496e04=_0x2f5a04;_0x2ef262[_0x496e04(0x2d6)](),_0x18c592[_0x496e04(0x2d6)]();};}[_0x524f26(0x29a)](_0x194e21,_0x4e54ef,_0x3e575d,_0x2aa623){const _0x3446f0=_0x524f26,_0x1af9c0=new _0x8ed489(_0x194e21)['setAlpha'](0.2)[_0x3446f0(0x16c)](),_0x39a3b7=new _0x4a6e35(xi+_0x5232f5(K),{'pointsGroup':_0x4e54ef,'fill':_0x1af9c0||_0xd92724(_0x4cbd43[_0x3446f0(0x1f0)],0.2),'left':_0x3e575d,'top':_0x2aa623,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3446f0(0x113)][_0x3446f0(0x115)](_0x39a3b7),this[_0x3446f0(0x213)][_0x3446f0(0x170)](_0x39a3b7,_0x1f9e4e);}[_0x524f26(0x2cb)](_0x147e5a,_0x10f315,_0x1b5983,_0x12c5b7){const _0x5f2a0e=_0x524f26,_0x19883f=new _0x8ed489(_0x147e5a)[_0x5f2a0e(0x15f)](0.2)[_0x5f2a0e(0x16c)](),_0x3973dc=new _0x4a6e35(Bi+_0x5232f5(K),{'pointsGroup':_0x10f315,'fill':_0x19883f||_0xd92724(_0x4cbd43['black'],0.2),'left':_0x1b5983,'top':_0x12c5b7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5f2a0e(0x113)]['push'](_0x3973dc),this[_0x5f2a0e(0x213)][_0x5f2a0e(0x170)](_0x3973dc,_0x1f9e4e);}[_0x524f26(0x200)](_0x275d73){const _0x529787=_0x275d73[0x0],_0x4bb456=_0x529787[0x0],_0x312f80=_0x529787[0x2],{x:_0x33e390,y:_0x48898d}=_0x4bb456,{x:_0x3e3cd7,y:_0x26993c}=_0x312f80;return{'left':_0x33e390,'top':_0x48898d,'width':_0x3e3cd7-_0x33e390,'height':_0x26993c-_0x48898d};}['_getScale'](){const _0x40487e=_0x524f26,{scaleX:_0x2491de,scaleY:_0x2f7c20}=this[_0x40487e(0x213)][_0x40487e(0x147)]();return Math[_0x40487e(0x174)](_0x2491de,_0x2f7c20);}}var Yi=Object[_0x524f26(0x233)],ji=(_0x11f76f,_0x31a0c2,_0x4a389c,_0x4d80fc)=>{for(var _0x350862=_0x4d80fc>0x1?void 0x0:_0x4d80fc?Yi(_0x31a0c2,_0x4a389c):_0x31a0c2,_0x57ed98=_0x11f76f['length']-0x1,_0x559fcd;_0x57ed98>=0x0;_0x57ed98--)(_0x559fcd=_0x11f76f[_0x57ed98])&&(_0x350862=_0x559fcd(_0x350862)||_0x350862);return _0x350862;},ee=(_0x3aa46e,_0x1b050b)=>(_0x32f6a1,_0x51f67e)=>_0x1b050b(_0x32f6a1,_0x51f67e,_0x3aa46e);let Le=class extends _0x390349{constructor(_0x34bbbd,_0x3b10c3,_0x395b05,_0x1d72dd,_0x27e9c7){const _0x19092c=_0x524f26;super(),_(this,_0x19092c(0x150),[]),_(this,_0x19092c(0x186),[]),(this['_context']=_0x34bbbd,this['_docSkeletonManagerService']=_0x3b10c3,this[_0x19092c(0x269)]=_0x395b05,this[_0x19092c(0x2a4)]=_0x1d72dd,this[_0x19092c(0x13d)]=_0x27e9c7,this[_0x19092c(0x260)]());}[_0x524f26(0x260)](){const _0x12c0da=_0x524f26,_0x3e592d=this['_context']['unitId'],_0x176ae4=this[_0x12c0da(0x2aa)];this[_0x12c0da(0x207)](_0x43bfd3([this['_collabCursorController'][_0x12c0da(0xfb)](_0x3e592d),this['_themeService'][_0x12c0da(0x1db)]])[_0x12c0da(0xee)](_0x4866e0(([_0x283cef,_0x3978d2])=>({'skeleton':_0x176ae4[_0x12c0da(0x211)](),'cursors':[..._0x283cef['values']()][_0x12c0da(0x18a)](_0x52019d=>({..._0x52019d,'color':this[_0x12c0da(0x13d)][_0x12c0da(0x117)](_0x52019d[_0x12c0da(0xf6)])}))})))[_0x12c0da(0x17a)](_0x3fa235=>{const _0x13b03e=_0x12c0da;if(this[_0x13b03e(0x2c8)](),_0x3fa235){const {skeleton:_0x925b52,cursors:_0x3c7bb1}=_0x3fa235;this[_0x13b03e(0x1ab)](_0x925b52,_0x3c7bb1);}})),this[_0x12c0da(0x181)](),this[_0x12c0da(0x1ad)]();}['_updateCollabCursors'](_0x59d15b,_0x6cb2d7){const _0x1a296a=_0x524f26,{scene:_0x1b08b7,mainComponent:_0x2b8b01}=this[_0x1a296a(0x2b9)],_0x5cd1dd=_0x6cb2d7[_0x1a296a(0x163)](_0x37edd3=>new qe(_0x37edd3,_0x1b08b7,_0x59d15b,_0x2b8b01));this[_0x1a296a(0x150)]=_0x5cd1dd,this[_0x1a296a(0x186)]=_0x6cb2d7;}[_0x524f26(0x1c0)](){const _0x356a40=_0x524f26;this[_0x356a40(0x2c8)]();const {scene:_0x3ff79b,mainComponent:_0x4e5784}=this[_0x356a40(0x2b9)],_0x1335a5=this['_docSkeletonManagerService'][_0x356a40(0x211)](),_0x16c341=this['_cursors'][_0x356a40(0x163)](_0x32dd0e=>new qe(_0x32dd0e,_0x3ff79b,_0x1335a5,_0x4e5784));this[_0x356a40(0x150)]=_0x16c341;}['_removeCollabCursors'](){const _0x287d8f=_0x524f26;this[_0x287d8f(0x150)][_0x287d8f(0x19a)](_0x4ca95a=>_0x4ca95a[_0x287d8f(0x1e9)]()),this[_0x287d8f(0x150)]=[];}[_0x524f26(0x1ad)](){const _0x5352a2=_0x524f26,_0x84efec=[_0x4975a1['id']];this['disposeWithMe'](this['_commandService'][_0x5352a2(0x1a4)](_0xf6fa24=>{const _0x2e6144=_0x5352a2;_0x84efec['includes'](_0xf6fa24['id'])&&_0xf6fa24[_0x2e6144(0x27c)][_0x2e6144(0x2d4)]===this[_0x2e6144(0x2b9)]['unitId']&&this[_0x2e6144(0x1c0)]();}));}[_0x524f26(0x181)](){const _0x48f74f=_0x524f26;this[_0x48f74f(0x207)](_0x3278b6(this[_0x48f74f(0x2b9)][_0x48f74f(0x1ce)][_0x48f74f(0x1dc)])['pipe'](_0x3717b4(_0x12c431=>_0x12c431[_0x48f74f(0x22f)]===_0x3ef742[_0x48f74f(0x199)]),_0x1cbed5(0x10))[_0x48f74f(0x17a)](()=>{const _0x3e1b77=_0x48f74f;this[_0x3e1b77(0x1c0)]();}));}};Le=ji([ee(0x1,_0x50e226(_0x5ecd18)),ee(0x2,_0x50e226(F)),ee(0x3,_0x2817bc),ee(0x4,_0x50e226(_0x106740))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x1163ff{constructor(_0xa63e82,_0x145738){const _0x38b897=_0x524f26;super(_0xa63e82,_0x145738),_(this,'_color'),_(this,_0x38b897(0x142),!0x1),_(this,_0x38b897(0x1b4)),_(this,_0x38b897(0xef),''),_(this,_0x38b897(0x29f),_0x38b897(0x14d)),_(this,'_backgroundColor'),(_0x145738&&this[_0x38b897(0x1c4)](_0x145738),this[_0x38b897(0x1bc)][_0x38b897(0x19f)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x38b897(0x1c4)]({'hovered':!0x1})));}[_0x524f26(0x1c4)](_0x30c0e8){const _0x1695c4=_0x524f26;var _0x57f449,_0x473905,_0x252af9,_0x42a014,_0x4b7fb2,_0x36b94d;this[_0x1695c4(0x144)]=(_0x57f449=_0x30c0e8[_0x1695c4(0xf6)])!=null?_0x57f449:this['_color'],this[_0x1695c4(0x142)]=(_0x473905=_0x30c0e8[_0x1695c4(0x247)])!=null?_0x473905:this['_hovered'],this[_0x1695c4(0x1b4)]=(_0x252af9=_0x30c0e8[_0x1695c4(0x272)])!=null?_0x252af9:this['_range'],this['_name']=(_0x42a014=_0x30c0e8[_0x1695c4(0x190)])!=null?_0x42a014:this[_0x1695c4(0xef)],this['_labelPosition']=(_0x4b7fb2=_0x30c0e8['labelPosition'])!=null?_0x4b7fb2:this['_labelPosition'],this['_backgroundColor']=(_0x36b94d=_0x30c0e8['backgroundColor'])!=null?_0x36b94d:this['_backgroundColor'],this[_0x1695c4(0x161)]({'width':_0x30c0e8['width'],'height':_0x30c0e8[_0x1695c4(0x2d9)]});}[_0x524f26(0x2da)](_0x2ddc42){const _0x411499=_0x524f26,{row:_0x142a03,column:_0x2eb01b}=_0x2ddc42;if(_0x142a03>=this['_range'][_0x411499(0x1fc)]&&_0x142a03<=this['_range']['endRow']&&_0x2eb01b>=this[_0x411499(0x1b4)][_0x411499(0x1d1)]&&_0x2eb01b<=this[_0x411499(0x1b4)]['endColumn']){this[_0x411499(0x1c4)]({'hovered':!0x0});return;}this[_0x411499(0x1c4)]({'hovered':!0x1});}[_0x524f26(0x137)](_0x173e1e){return!0x1;}[_0x524f26(0x2f4)](_0x3240d8){const _0x4c2d13=_0x524f26;_0x2fb052[_0x4c2d13(0x1f4)](_0x3240d8,{'width':this[_0x4c2d13(0x2d0)],'height':this[_0x4c2d13(0x2d9)],'strokeWidth':Wi,'stroke':this[_0x4c2d13(0x144)],'evented':!0x1,'fill':this[_0x4c2d13(0x13e)]}),this['_hovered']&&(_0x3240d8[_0x4c2d13(0x104)](),_0x3240d8[_0x4c2d13(0x127)](0x1,0x0,0x0,0x1,this[_0x4c2d13(0x2d0)],this['_labelPosition']===_0x4c2d13(0x1b6)?0x0:-J),ue[_0x4c2d13(0x1f4)](_0x3240d8,{'text':this['_name'],'color':this['_color']}),_0x3240d8[_0x4c2d13(0xf1)]());}}var Gi=Object[_0x524f26(0x233)],Ki=(_0x4fa5d6,_0x5b3908,_0x55ab9b,_0x958727)=>{const _0x2c3733=_0x524f26;for(var _0x443565=_0x958727>0x1?void 0x0:_0x958727?Gi(_0x5b3908,_0x55ab9b):_0x5b3908,_0x41e574=_0x4fa5d6[_0x2c3733(0x28e)]-0x1,_0x27357c;_0x41e574>=0x0;_0x41e574--)(_0x27357c=_0x4fa5d6[_0x41e574])&&(_0x443565=_0x27357c(_0x443565)||_0x443565);return _0x443565;},pe=(_0x2a9393,_0x569c39)=>(_0x32321d,_0x776d5d)=>_0x569c39(_0x32321d,_0x776d5d,_0x2a9393);const zi=0x1389;let Pe=class extends _0x390349{constructor(_0x3fd331,_0x1e89b9,_0x15a467,_0x6f6a2c){const _0x416e7f=_0x524f26;super(),_(this,_0x416e7f(0x186),new Set()),_(this,_0x416e7f(0x187),null),(this['_context']=_0x3fd331,this[_0x416e7f(0x1f6)]=_0x1e89b9,this[_0x416e7f(0x269)]=_0x15a467,this[_0x416e7f(0x13d)]=_0x6f6a2c,this[_0x416e7f(0x260)]());}['_init'](){const _0xa55635=_0x524f26;this[_0xa55635(0x1f6)][_0xa55635(0x1ae)]['pipe'](_0x10e0b3(this[_0xa55635(0x178)]),_0x1aec67(_0x566758=>{const _0x341f88=_0xa55635;if(_0x566758){const _0x37b012=_0x566758[_0x341f88(0x1d0)];return _0x43bfd3(this['_collabCursorController'][_0x341f88(0xfb)](this['_context']['unitId']),this[_0x341f88(0x13d)][_0x341f88(0x1db)])[_0x341f88(0xee)](_0x4866e0(([_0x317db0,_0x3fb279])=>{const _0x42c26b=new Map();return _0x317db0['forEach']((_0x4accee,_0x54229d)=>{const _0x3d6224=_0x2688;if(_0x4accee[_0x3d6224(0x1f1)]===_0x37b012){const _0x13721c={..._0x4accee};_0x13721c[_0x3d6224(0xf6)]=this['_themeService'][_0x3d6224(0x117)](_0x4accee[_0x3d6224(0xf6)]),_0x42c26b[_0x3d6224(0x231)](_0x54229d,_0x13721c);}}),{'skeleton':_0x566758,'cursors':_0x42c26b};}));}return _0x2ae73a({'skeleton':null,'cursors':new Map()});}))[_0xa55635(0x17a)](({skeleton:_0x8ff6d4,cursors:_0x4137e8})=>{const _0x2e2724=_0xa55635;this[_0x2e2724(0x2c8)](),_0x8ff6d4&&this[_0x2e2724(0x1ab)](_0x8ff6d4,_0x4137e8);}),this[_0xa55635(0x1f6)][_0xa55635(0x1ae)][_0xa55635(0x17a)](_0x19c18a=>{const _0x2d2b9e=_0xa55635;if(_0x19c18a==null)return;const {skeleton:_0x485a6c}=_0x19c18a,{scene:_0x5bb5dc}=this['_context'];_0x5bb5dc[_0x2d2b9e(0x299)][_0x2d2b9e(0x19f)](_0x3471f3(_0x3df85a=>{const _0x48ee47=_0x2d2b9e;var _0x57f82f,_0x569803;const {offsetX:_0x4ea6d4,offsetY:_0x283d6d}=_0x3df85a,{x:_0x35c2ab,y:_0x3eb93f}=_0x5bb5dc['getRelativeToViewportCoord'](_0x5c2ab4[_0x48ee47(0xf4)]([_0x4ea6d4,_0x283d6d])),{scaleX:_0x16fe21,scaleY:_0x260f20}=_0x5bb5dc[_0x48ee47(0x147)](),_0x51bdd3=_0x5bb5dc[_0x48ee47(0x2ed)](_0x49d101[_0x48ee47(0x1ef)]),_0xc8085b=_0x5bb5dc[_0x48ee47(0x2cc)](_0x5c2ab4[_0x48ee47(0xf4)]([_0x35c2ab,_0x3eb93f]),_0x51bdd3),_0xc52e27=_0x485a6c[_0x48ee47(0x2a8)](_0x4ea6d4,_0x283d6d,_0x16fe21,_0x260f20,_0xc8085b);((_0x57f82f=this[_0x48ee47(0x187)])==null?void 0x0:_0x57f82f['column'])===_0xc52e27[_0x48ee47(0x2f2)]&&((_0x569803=this[_0x48ee47(0x187)])==null?void 0x0:_0x569803[_0x48ee47(0x122)])===_0xc52e27[_0x48ee47(0x122)]||this[_0x48ee47(0x186)][_0x48ee47(0x19a)](_0x38d88d=>{const _0x5ed46f=_0x48ee47;_0x38d88d[_0x5ed46f(0x2da)](_0xc52e27);});},0x64));});}[_0x524f26(0x1ab)](_0x36cf1b,_0x494c57){const _0x651f26=_0x524f26;var _0x434eae;const _0x22fa79=(_0x434eae=this[_0x651f26(0x1f6)][_0x651f26(0x27f)]())==null?void 0x0:_0x434eae[_0x651f26(0x1c3)];if(!_0x22fa79)return;const _0x4ea6f2=this['_getSheetObject']();if(!_0x4ea6f2)return;this[_0x651f26(0x186)][_0x651f26(0x19a)](_0x51c5dd=>{_0x51c5dd['makeDirty']();});const {scene:_0x3dfa41}=_0x4ea6f2,_0x40b0b9=Ji(Array[_0x651f26(0x2c4)](_0x494c57['values']()))[_0x651f26(0x163)](_0x2960f6=>{const _0x2b26df=_0x651f26,{color:_0x3627c1,range:_0x4ba00b,name:_0x6dbaba,selection:_0x251f1a,sheetID:_0x407973}=_0x2960f6,{startColumn:_0x2d6b27,startRow:_0x40c91f,endColumn:_0x392929,endRow:_0x40dd4d}=_0x4ba00b,_0xc5b54a=_0x59f86f(_0x40c91f,_0x2d6b27,_0x3dfa41,_0x22fa79),_0x3c8ad8=_0x59f86f(_0x40dd4d,_0x392929,_0x3dfa41,_0x22fa79),{columnHeaderHeightAndMarginTop:_0x53e3c5}=_0x22fa79,{startX:_0x46b2ad,startY:_0x161ac6}=_0xc5b54a,{endX:_0x3abb30,endY:_0x166258}=_0x3c8ad8,_0x4db407=_0x3abb30-_0x46b2ad,_0xd51f84=_0x166258-_0x161ac6,_0x2f9061={'labelPosition':_0x161ac6-_0x53e3c5>=J?_0x2b26df(0x14d):_0x2b26df(0x1b6),'sheetID':_0x407973,'range':_0x4ba00b,'color':_0x3627c1,'name':_0x6dbaba,'selection':_0x251f1a,'left':_0x46b2ad,'top':_0x161ac6,'width':_0x4db407,'height':_0xd51f84,'evented':!0x1,'zIndex':zi};return new Xi(_0x6dbaba,_0x2f9061);});_0x3dfa41[_0x651f26(0x15c)](_0x40b0b9,Vi),this[_0x651f26(0x186)]=new Set(_0x40b0b9);}[_0x524f26(0x2c8)](){const _0x12f233=_0x524f26;var _0x4ddcb2;(_0x4ddcb2=this[_0x12f233(0x186)])==null||_0x4ddcb2[_0x12f233(0x19a)](_0x136b2d=>_0x136b2d['dispose']());}[_0x524f26(0x294)](){const _0x133397=_0x524f26;return _0x1058c8(this[_0x133397(0x2b9)]['unit'],this['_context']);}};Pe=Ki([pe(0x1,_0x50e226(_0x396f6e)),pe(0x2,_0x50e226(F)),pe(0x3,_0x50e226(_0x106740))],Pe);function Ji(_0x3697df){const _0x23174b=_0x524f26,_0x1940dd=new Map();return _0x3697df[_0x23174b(0x19a)](_0xf88045=>{const _0x1b3baf=_0x23174b;if(_0x1940dd[_0x1b3baf(0x103)](_0xf88045[_0x1b3baf(0x1a8)])){const _0x22b9a2=_0x1940dd[_0x1b3baf(0x1fd)](_0xf88045[_0x1b3baf(0x1a8)]);_0x22b9a2[_0x1b3baf(0x190)]+=',\x20'+_0xf88045[_0x1b3baf(0x190)];}else _0x1940dd[_0x1b3baf(0x231)](_0xf88045[_0x1b3baf(0x1a8)],_0xf88045);}),Array[_0x23174b(0x2c4)](_0x1940dd[_0x23174b(0x188)]());}var Zi=Object[_0x524f26(0x233)],Qi=(_0x82b47e,_0x56640a,_0xdb4680,_0x18e931)=>{const _0x2096fd=_0x524f26;for(var _0x4192af=_0x18e931>0x1?void 0x0:_0x18e931?Zi(_0x56640a,_0xdb4680):_0x56640a,_0x55ccfb=_0x82b47e[_0x2096fd(0x28e)]-0x1,_0x261496;_0x55ccfb>=0x0;_0x55ccfb--)(_0x261496=_0x82b47e[_0x55ccfb])&&(_0x4192af=_0x261496(_0x4192af)||_0x4192af);return _0x4192af;},B=(_0x1a4f80,_0x4c6b77)=>(_0x39f27f,_0x36d8f2)=>_0x4c6b77(_0x39f27f,_0x36d8f2,_0x1a4f80);let ne=class extends _0x430c3f{constructor(_0x47ddf8,_0x19d5ea,_0x5339e2,_0x2cddda,_0x55b926,_0x23e96e){const _0x3083f5=_0x524f26;super(),this[_0x3083f5(0x120)]=_0x47ddf8,this[_0x3083f5(0x286)]=_0x19d5ea,this[_0x3083f5(0x171)]=_0x5339e2,this[_0x3083f5(0x2ba)]=_0x2cddda,this[_0x3083f5(0x143)]=_0x55b926,this[_0x3083f5(0x2c0)]=_0x23e96e,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x524f26(0x2c9)](){const _0xf78be6=_0x524f26;this[_0xf78be6(0x207)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x2ca5e4=_0xf78be6;if(this[_0x2ca5e4(0x286)][_0x2ca5e4(0x1ed)][_0x2ca5e4(0x27b)])return this[_0x2ca5e4(0x2c0)]['t'](_0x2ca5e4(0x21b));}));}[_0x524f26(0x2c3)](){const _0x2f4ac7=_0x524f26;this['disposeWithMe'](this[_0x2f4ac7(0x171)][_0x2f4ac7(0x2bd)]['subscribe'](_0x5f05a8=>{const _0x3ad83c=_0x2f4ac7;_0x5f05a8['id']===_0x30a4c0[_0x3ad83c(0x212)]&&this[_0x3ad83c(0x2ba)][_0x3ad83c(0x2c7)]({'type':_0x1547dc[_0x3ad83c(0x12a)],'content':this[_0x3ad83c(0x2c0)]['t'](_0x3ad83c(0x121))}),_0x5f05a8['id']===_0x30a4c0['CLOSE_ROOM']&&this[_0x3ad83c(0x2ba)][_0x3ad83c(0x2c7)]({'type':_0x1547dc['Warning'],'content':this[_0x3ad83c(0x2c0)]['t']('collaboration.closeRoom')}),_0x5f05a8['id']===_0x30a4c0[_0x3ad83c(0x123)]&&this[_0x3ad83c(0x143)][_0x3ad83c(0x2c7)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x3ad83c(0x2c0)]['t'](_0x3ad83c(0x17f)),'type':'error','duration':0x0}),_0x5f05a8['id']===_0x30a4c0[_0x3ad83c(0x12c)]&&this['_messageService'][_0x3ad83c(0x2c7)]({'type':_0x1547dc[_0x3ad83c(0x23d)],'content':this[_0x3ad83c(0x2c0)]['t'](_0x3ad83c(0x27a))+'('+_0x5f05a8[_0x3ad83c(0x1ec)]+')'}),_0x5f05a8['id']===_0x30a4c0[_0x3ad83c(0x25d)]&&this[_0x3ad83c(0x2ba)]['show']({'type':_0x1547dc['Warning'],'content':this[_0x3ad83c(0x2c0)]['t'](_0x5f05a8[_0x3ad83c(0x1ec)]||'')}),_0x5f05a8['id']===_0x30a4c0[_0x3ad83c(0x1f8)]&&this[_0x3ad83c(0x2ba)]['show']({'type':_0x1547dc[_0x3ad83c(0x12a)],'content':this[_0x3ad83c(0x2c0)]['t']('session.will-retry')}),_0x5f05a8['id']===_0x30a4c0[_0x3ad83c(0x175)]&&this[_0x3ad83c(0x2ba)]['show']({'type':_0x1547dc[_0x3ad83c(0x23d)],'content':this['_localeService']['t']('session.connection-failed')}),_0x5f05a8['id']===_0x30a4c0['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x3ad83c(0x2ba)]['show']({'type':_0x1547dc[_0x3ad83c(0x23d)],'content':this['_localeService']['t'](_0x3ad83c(0x25f))});}));}};ne=Qi([B(0x0,_0x1d6db7),B(0x1,_0x1b7959),B(0x2,_0x50e226(_0x212095)),B(0x3,_0x274d64),B(0x4,_0x467358),B(0x5,_0x50e226(_0x402f9f))],ne);const qi=_0x524f26(0x140),et={};var en=Object[_0x524f26(0x233)],tn=(_0x1938ad,_0x512b8e,_0x53367e,_0x43c525)=>{for(var _0x41bc1f=_0x43c525>0x1?void 0x0:_0x43c525?en(_0x512b8e,_0x53367e):_0x512b8e,_0x1d72ae=_0x1938ad['length']-0x1,_0x23c5a9;_0x1d72ae>=0x0;_0x1d72ae--)(_0x23c5a9=_0x1938ad[_0x1d72ae])&&(_0x41bc1f=_0x23c5a9(_0x41bc1f)||_0x41bc1f);return _0x41bc1f;},tt=(_0x9f288d,_0x290897)=>(_0x2f0f69,_0x29fba0)=>_0x290897(_0x2f0f69,_0x29fba0,_0x9f288d);let re=class{constructor(_0x4d7e0a,_0x210feb){const _0x310cff=_0x524f26;this[_0x310cff(0x2b4)]=_0x4d7e0a,this[_0x310cff(0x282)]=_0x210feb;}['transformIMECache'](_0x54d829){const _0x524bf5=_0x524f26;this[_0x524bf5(0x2af)](_0x54d829),this['_transformPreviousActiveRange'](_0x54d829);}['transformRemoteChangeset'](_0x2a32ca){const _0x387281=_0x524f26,{unitID:_0x56187a}=_0x2a32ca,_0x386d7b=this['_renderManagerService']['getRenderById'](_0x56187a)[_0x387281(0x20b)](_0x3b2744),{redoCache:_0x1e4ec7}=_0x386d7b[_0x387281(0x2bc)]();if(_0x1e4ec7[_0x387281(0x28e)]===0x0)return _0x2a32ca;let _0x54bef2=_0x47045f[_0x387281(0x112)](_0x2a32ca[_0x387281(0x26c)][0x0]);for(let _0x296de3=0x0;_0x296de3<_0x1e4ec7['length'];_0x296de3++){const _0x5509d4={'id':_0x387281(0x26d),'params':{..._0x1e4ec7[_0x296de3]}},_0x5cf218=this[_0x387281(0x2b4)][_0x387281(0x1e8)](_0x54bef2,_0x5509d4,!0x1);if(_0x3a0a27(_0x5cf218))throw _0x5cf218[_0x387281(0x1ac)];_0x54bef2=_0x5cf218[_0x387281(0x275)];}return{..._0x47045f[_0x387281(0x112)](_0x2a32ca),'mutations':[_0x54bef2]};}[_0x524f26(0x2af)](_0xb57fee){const _0x12747c=_0x524f26,{unitID:_0xbbee1d}=_0xb57fee,_0x24430f=this[_0x12747c(0x282)][_0x12747c(0x12f)](_0xbbee1d)[_0x12747c(0x20b)](_0x3b2744),{undoCache:_0x315b86,redoCache:_0x4a204d}=_0x24430f[_0x12747c(0x2bc)]();if(_0x315b86[_0x12747c(0x28e)]===0x0||_0x4a204d[_0x12747c(0x28e)]===0x0)return;const _0xc78ebd=[],_0x2fc3ac=[];let _0x633aa9=_0x47045f[_0x12747c(0x112)](_0xb57fee['mutations'][0x0]),_0x2b3ffe=_0x47045f['deepClone'](_0xb57fee['mutations'][0x0]);for(let _0x30f6d7=_0x315b86[_0x12747c(0x28e)]-0x1;_0x30f6d7>=0x0;_0x30f6d7--){const _0x577895={'id':_0x12747c(0x26d),'params':{..._0x315b86[_0x30f6d7]}},_0x204c4d={'id':'doc.mutation.rich-text-editing','params':{..._0x4a204d[_0x30f6d7]}},_0x3ea5f5=this[_0x12747c(0x2b4)][_0x12747c(0x1e8)](_0x633aa9,_0x577895,!0x1),_0x27cc2b=this[_0x12747c(0x2b4)][_0x12747c(0x1e8)](_0x2b3ffe,_0x204c4d,!0x1);if(_0x3a0a27(_0x3ea5f5))throw _0x3ea5f5[_0x12747c(0x1ac)];if(_0x3a0a27(_0x27cc2b))throw _0x27cc2b[_0x12747c(0x1ac)];_0xc78ebd[_0x12747c(0x2b6)](_0x3ea5f5['m2Prime'][_0x12747c(0x27c)]),_0x2fc3ac[_0x12747c(0x2b6)](_0x27cc2b[_0x12747c(0x214)][_0x12747c(0x27c)]),_0x633aa9=_0x3ea5f5['m1Prime'],_0x2b3ffe=_0x27cc2b[_0x12747c(0x275)];}_0x24430f['setUndoRedoMutationParamsCache']({'undoCache':_0xc78ebd,'redoCache':_0x2fc3ac});}[_0x524f26(0x22e)](_0xca58a5){const _0x5587aa=_0x524f26,{unitID:_0x52d4ed}=_0xca58a5,_0x10c9d7=this[_0x5587aa(0x282)]['getRenderById'](_0x52d4ed)['with'](_0x3b2744),_0x53342b=_0x10c9d7[_0x5587aa(0x183)]();if(_0x53342b==null)return;const _0x12aee0=[{'id':_0x5587aa(0x26d),'params':{'unitId':_0xca58a5[_0x5587aa(0x2ad)],'actions':null,'textRanges':[_0x53342b]}}],_0x22819e=this[_0x5587aa(0x2b4)]['transformMutationsWithChangeset'](_0xca58a5,_0x12aee0);if(!_0x20a420(_0x22819e))throw _0x22819e['error'];const _0x334674=_0x22819e[_0x5587aa(0x214)][0x0]['params'][_0x5587aa(0x216)];Array[_0x5587aa(0x106)](_0x334674)&&_0x334674[_0x5587aa(0x28e)]&&_0x10c9d7['setActiveRange'](_0x334674[0x0]);}};re=tn([tt(0x0,_0x4224cb),tt(0x1,_0x161de0)],re);var sn=Object[_0x524f26(0x233)],nn=(_0x5a3f22,_0x3254d1,_0x45adf9,_0x26b429)=>{const _0x1b21c0=_0x524f26;for(var _0x432dd5=_0x26b429>0x1?void 0x0:_0x26b429?sn(_0x3254d1,_0x45adf9):_0x3254d1,_0x2b755d=_0x5a3f22[_0x1b21c0(0x28e)]-0x1,_0x568caa;_0x2b755d>=0x0;_0x2b755d--)(_0x568caa=_0x5a3f22[_0x2b755d])&&(_0x432dd5=_0x568caa(_0x432dd5)||_0x432dd5);return _0x432dd5;},Ce=(_0x4baaf0,_0x34aefb)=>(_0x20d896,_0xb11de6)=>_0x34aefb(_0x20d896,_0xb11de6,_0x4baaf0);let oe=class{constructor(_0x3b4e84,_0x4869aa,_0x2f59a2){const _0x2526e8=_0x524f26;this[_0x2526e8(0x17e)]=_0x3b4e84,this[_0x2526e8(0x2b4)]=_0x4869aa,this['_docStateChangeManagerService']=_0x2f59a2;}['transformStateCache'](_0x3c054b){const _0x42ec8a=_0x524f26;this[_0x42ec8a(0x154)](_0x3c054b);}['transformRemoteChangeset'](_0x5eb020){const _0x83752c=_0x524f26,{unitID:_0x5058ec}=_0x5eb020,{collaboration:_0x320052}=this[_0x83752c(0x1d4)][_0x83752c(0x196)](_0x5058ec);if(_0x320052[_0x83752c(0x28e)]===0x0)return _0x5eb020;let _0x661788=_0x47045f[_0x83752c(0x112)](_0x5eb020['mutations'][0x0]);for(let _0x500896=0x0;_0x500896<_0x320052['length'];_0x500896++){const _0x279c01={'id':_0x83752c(0x26d),'params':{'unitId':_0x320052[_0x500896]['unitId'],..._0x320052[_0x500896][_0x83752c(0x15d)]}},_0x2e54a1=this[_0x83752c(0x2b4)]['transformMutation'](_0x661788,_0x279c01,!0x1);if(_0x3a0a27(_0x2e54a1))throw _0x2e54a1[_0x83752c(0x1ac)];_0x661788=_0x2e54a1[_0x83752c(0x275)];}return{..._0x47045f['deepClone'](_0x5eb020),'mutations':[_0x661788]};}[_0x524f26(0x154)](_0x33c357){const _0x31e23e=_0x524f26,{unitID:_0xef5ff0}=_0x33c357,{history:_0x1fa3cc,collaboration:_0x1ed184}=this['_docStateChangeManagerService']['getStateCache'](_0xef5ff0);if(_0x1fa3cc[_0x31e23e(0x28e)]===0x0&&_0x1ed184[_0x31e23e(0x28e)]===0x0)return;const _0x1cd2fe=[],_0x3fd771=[];let _0x220885=_0x47045f[_0x31e23e(0x112)](_0x33c357[_0x31e23e(0x26c)][0x0]),_0x542083=_0x47045f[_0x31e23e(0x112)](_0x33c357[_0x31e23e(0x26c)][0x0]);for(let _0x1868d2=_0x1fa3cc[_0x31e23e(0x28e)]-0x1;_0x1868d2>=0x0;_0x1868d2--){const _0x4a0c9d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1fa3cc[_0x1868d2][_0x31e23e(0x2d4)],..._0x1fa3cc[_0x1868d2][_0x31e23e(0x289)]}},_0xe3ed7c={'id':_0x31e23e(0x26d),'params':{'unitId':_0x1fa3cc[_0x1868d2][_0x31e23e(0x2d4)],..._0x1fa3cc[_0x1868d2][_0x31e23e(0x15d)]}},_0x240a52=this[_0x31e23e(0x2b4)][_0x31e23e(0x1e8)](_0x220885,_0x4a0c9d,!0x1),_0x124fda=this[_0x31e23e(0x2b4)][_0x31e23e(0x1e8)](_0x542083,_0xe3ed7c,!0x1);if(_0x3a0a27(_0x240a52))throw _0x240a52[_0x31e23e(0x1ac)];if(_0x3a0a27(_0x124fda))throw _0x124fda[_0x31e23e(0x1ac)];_0x1cd2fe[_0x31e23e(0x2b6)]({..._0x1fa3cc[_0x1868d2],'undoState':_0x240a52[_0x31e23e(0x214)][_0x31e23e(0x27c)],'redoState':_0x124fda['m2Prime'][_0x31e23e(0x27c)]}),_0x220885=_0x240a52[_0x31e23e(0x275)],_0x542083=_0x124fda[_0x31e23e(0x275)];}_0x220885=_0x47045f[_0x31e23e(0x112)](_0x33c357[_0x31e23e(0x26c)][0x0]),_0x542083=_0x47045f[_0x31e23e(0x112)](_0x33c357['mutations'][0x0]);for(let _0x39f688=_0x1ed184['length']-0x1;_0x39f688>=0x0;_0x39f688--){const _0x2a3785={'id':_0x31e23e(0x26d),'params':{'unitId':_0x1ed184[_0x39f688][_0x31e23e(0x2d4)],..._0x1ed184[_0x39f688]['undoState']}},_0x9ae7f7={'id':_0x31e23e(0x26d),'params':{'unitId':_0x1ed184[_0x39f688][_0x31e23e(0x2d4)],..._0x1ed184[_0x39f688]['redoState']}},_0x1ffd61=this[_0x31e23e(0x2b4)][_0x31e23e(0x1e8)](_0x220885,_0x2a3785,!0x1),_0x2d0825=this['_transformService'][_0x31e23e(0x1e8)](_0x542083,_0x9ae7f7,!0x1);if(_0x3a0a27(_0x1ffd61))throw _0x1ffd61[_0x31e23e(0x1ac)];if(_0x3a0a27(_0x2d0825))throw _0x2d0825[_0x31e23e(0x1ac)];_0x3fd771[_0x31e23e(0x2b6)]({..._0x1ed184[_0x39f688],'undoState':_0x1ffd61[_0x31e23e(0x214)][_0x31e23e(0x27c)],'redoState':_0x2d0825['m2Prime'][_0x31e23e(0x27c)]}),_0x220885=_0x1ffd61[_0x31e23e(0x275)],_0x542083=_0x2d0825[_0x31e23e(0x275)];}this[_0x31e23e(0x1d4)]['setStateCache'](_0xef5ff0,{'history':_0x1cd2fe,'collaboration':_0x3fd771});}};oe=nn([Ce(0x0,_0x50e226(_0x56c26b)),Ce(0x1,_0x4224cb),Ce(0x2,_0x50e226(_0x1474b4))],oe);var rn=Object[_0x524f26(0x233)],on=(_0x43af1c,_0x2ee0bb,_0x5abac8,_0x3c2c46)=>{const _0x26cfb6=_0x524f26;for(var _0x2989da=_0x3c2c46>0x1?void 0x0:_0x3c2c46?rn(_0x2ee0bb,_0x5abac8):_0x2ee0bb,_0x35f07e=_0x43af1c[_0x26cfb6(0x28e)]-0x1,_0x5fab39;_0x35f07e>=0x0;_0x35f07e--)(_0x5fab39=_0x43af1c[_0x35f07e])&&(_0x2989da=_0x5fab39(_0x2989da)||_0x2989da);return _0x2989da;},st=(_0x1c76fb,_0x38b49e)=>(_0x4b3289,_0x380b0b)=>_0x38b49e(_0x4b3289,_0x380b0b,_0x1c76fb);let ae=class{constructor(_0x26ae40,_0x510f32){const _0x3f245f=_0x524f26;this[_0x3f245f(0x17e)]=_0x26ae40,this[_0x3f245f(0x2b4)]=_0x510f32;}[_0x524f26(0x263)](_0x21c5ab){const _0x73b235=_0x524f26;var _0xb6f810;const _0x26498a=this[_0x73b235(0x17e)][_0x73b235(0x1fd)](_0x5bd793),_0x5a60c2=(_0xb6f810=_0x26498a[_0x73b235(0x1c7)]())!=null?_0xb6f810:[];if(_0x5a60c2['length']===0x0)return;const _0x414eab=_0x21c5ab[_0x73b235(0x2ad)],_0x15d6f4=[{'id':_0x73b235(0x26d),'params':{'unitId':_0x414eab,'actions':null,'textRanges':_0x5a60c2}}],_0x55d2c8=this[_0x73b235(0x2b4)][_0x73b235(0x1d3)](_0x21c5ab,_0x15d6f4);if(!_0x20a420(_0x55d2c8))throw _0x55d2c8[_0x73b235(0x1ac)];const _0x10a515=_0x55d2c8[_0x73b235(0x214)][0x0][_0x73b235(0x27c)][_0x73b235(0x216)];Array[_0x73b235(0x106)](_0x10a515)&&_0x10a515[_0x73b235(0x28e)]&&_0x26498a['replaceDocRanges'](_0x10a515,{'unitId':_0x414eab,'subUnitId':_0x414eab},!0x1);}};ae=on([st(0x0,_0x50e226(_0x56c26b)),st(0x1,_0x4224cb)],ae);var an=Object['getOwnPropertyDescriptor'],cn=(_0x1c694e,_0x16fdb5,_0xf975a8,_0xa95704)=>{for(var _0x165d15=_0xa95704>0x1?void 0x0:_0xa95704?an(_0x16fdb5,_0xf975a8):_0x16fdb5,_0x469fc3=_0x1c694e['length']-0x1,_0x4de6ed;_0x469fc3>=0x0;_0x469fc3--)(_0x4de6ed=_0x1c694e[_0x469fc3])&&(_0x165d15=_0x4de6ed(_0x165d15)||_0x165d15);return _0x165d15;},N=(_0x491f5f,_0x28a081)=>(_0x58c2b7,_0x4d64d0)=>_0x28a081(_0x58c2b7,_0x4d64d0,_0x491f5f);let ce=class extends _0x430c3f{constructor(_0x2025eb,_0x36c984,_0x514a99,_0x3935e1,_0x12bafc,_0x239239,_0x4120a0,_0x1c5e2a){const _0x1d8042=_0x524f26;super(),_(this,_0x1d8042(0x119),new _0x2f3fd2(_0x5e14e2['NOT_COLLAB'])),(this[_0x1d8042(0x1d4)]=_0x2025eb,this[_0x1d8042(0x134)]=_0x36c984,this[_0x1d8042(0x26e)]=_0x514a99,this[_0x1d8042(0x2e5)]=_0x3935e1,this[_0x1d8042(0x1e3)]=_0x12bafc,this[_0x1d8042(0x172)]=_0x239239,this[_0x1d8042(0x2ba)]=_0x4120a0,this['_localeService']=_0x1c5e2a,this[_0x1d8042(0x198)]());}['_initEntityListener'](){const _0x11cbcd=_0x524f26;this['disposeWithMe'](this[_0x11cbcd(0x134)][_0x11cbcd(0x265)][_0x11cbcd(0x17a)](_0x167cea=>{const _0x1c4eaa=_0x11cbcd,_0x5792bb=this[_0x1c4eaa(0x1d4)][_0x1c4eaa(0x234)][_0x1c4eaa(0x17a)](_0x53737c=>{const _0x23e834=_0x1c4eaa;if(_0x53737c==null)return;const {unitId:_0x1cd043,redoState:_0x5bc2e4,commandId:_0x2df9a5}=_0x53737c;if(_0x1cd043!==_0x167cea[_0x23e834(0x2ad)])return;const _0x268407={'id':_0x2df9a5,'type':_0x372a95[_0x23e834(0x133)],'params':{'unitId':_0x1cd043,'actions':_0x5bc2e4[_0x23e834(0x264)],'textRanges':null}};_0x167cea[_0x23e834(0x205)](_0x268407);});if(_0x167cea[_0x1c4eaa(0x207)](_0x5792bb),_0x167cea instanceof _0x1d2c24){const _0x14fc9d={'onTransformIME':_0x4e6e62=>this[_0x1c4eaa(0x26e)][_0x1c4eaa(0x292)](_0x4e6e62),'onTransformState':_0x250946=>this[_0x1c4eaa(0x2e5)][_0x1c4eaa(0x17c)](_0x250946),'onTransformSelections':_0x5ad394=>this['_docTransformSelectionsService'][_0x1c4eaa(0x263)](_0x5ad394),'onSyncEditingCollabCursor':_0x2100ec=>this[_0x1c4eaa(0x172)][_0x1c4eaa(0x285)](_0x2100ec),'onTransformRemoteChangesetByIMECache':_0x157223=>this[_0x1c4eaa(0x26e)]['transformRemoteChangeset'](_0x157223),'onTransformRemoteChangesetByStateCache':_0x5d97d4=>this[_0x1c4eaa(0x2e5)][_0x1c4eaa(0x2ce)](_0x5d97d4)};_0x167cea[_0x1c4eaa(0x26a)](_0x14fc9d);}}));}};ce=cn([N(0x0,_0x50e226(_0x1474b4)),N(0x1,_0x50e226(_0x5ea9c0)),N(0x2,_0x50e226(re)),N(0x3,_0x50e226(oe)),N(0x4,_0x50e226(ae)),N(0x5,_0x50e226(Fe)),N(0x6,_0x274d64),N(0x7,_0x50e226(_0x402f9f))],ce);var ln=Object[_0x524f26(0x233)],_n=(_0x5b3621,_0x4ec829,_0x16d636,_0x843b47)=>{const _0x2000b8=_0x524f26;for(var _0x526a06=_0x843b47>0x1?void 0x0:_0x843b47?ln(_0x4ec829,_0x16d636):_0x4ec829,_0x207fa7=_0x5b3621[_0x2000b8(0x28e)]-0x1,_0x5a5b35;_0x207fa7>=0x0;_0x207fa7--)(_0x5a5b35=_0x5b3621[_0x207fa7])&&(_0x526a06=_0x5a5b35(_0x526a06)||_0x526a06);return _0x526a06;},Ee=(_0x141b9a,_0x5a3431)=>(_0x25cc23,_0x30dc11)=>_0x5a3431(_0x25cc23,_0x30dc11,_0x141b9a);let we=class extends _0x430c3f{constructor(_0x1e8ebd,_0x551caa,_0x501073){const _0x54a2b1=_0x524f26;super(),_(this,_0x54a2b1(0x2bb),new Map()),_(this,_0x54a2b1(0x297),new Map()),_(this,_0x54a2b1(0x218),!0x1),(this['_configService']=_0x1e8ebd,this[_0x54a2b1(0x296)]=_0x551caa,this['_revisionService']=_0x501073);}[_0x524f26(0x284)](){const _0x1a9ef8=_0x524f26;this[_0x1a9ef8(0x218)]=!0x0;}[_0x524f26(0x291)](){this['_disabled']=!0x1;}get[_0x524f26(0x1ed)](){return this['_saveTaskMap'];}['dispose'](){const _0x3c441e=_0x524f26;this['exhaustSavingTask']()[_0x3c441e(0x164)](()=>super[_0x3c441e(0x1e9)]());}async[_0x524f26(0x2b7)](_0x25aec4){const _0x523d5c=_0x524f26;return this[_0x523d5c(0x218)]?null:this[_0x523d5c(0x296)][_0x523d5c(0xf5)](_0x5b4647(_0x25aec4));}async[_0x524f26(0x288)](_0x34933b,_0x4afbf3){const _0x16c1c3=_0x524f26;return!!this[_0x16c1c3(0x296)][_0x16c1c3(0x16f)](_0x34933b,_0x4afbf3);}[_0x524f26(0x287)](_0xa96ee,_0x53dc63,_0xdf979e,_0x30701d){const _0x58601d=_0x524f26,_0xc397d3=this[_0x58601d(0x20f)][_0x58601d(0x1ba)](_0xa96ee);this[_0x58601d(0x2bb)][_0x58601d(0x231)](_0xa96ee,{'unitID':_0xa96ee,'type':_0x53dc63,'awaitingChangeset':_0xdf979e,'mutations':_0x30701d,'rev':_0xc397d3}),this[_0x58601d(0x297)][_0x58601d(0x103)](_0xa96ee)||this['_scheduleSaving'](_0xa96ee);}[_0x524f26(0x19d)](_0x9c5529){const _0xdd32ca=_0x524f26,_0x17570a=this[_0xdd32ca(0x1f7)]();_0x17570a===0x0?this[_0xdd32ca(0x10f)](_0x9c5529):this[_0xdd32ca(0x297)]['set'](_0x9c5529,setTimeout(()=>this[_0xdd32ca(0x10f)](_0x9c5529),_0x17570a));}[_0x524f26(0x1f7)](){const _0x278e81=_0x524f26;var _0x2c55c4;return(_0x2c55c4=this[_0x278e81(0x146)][_0x278e81(0x177)](_0x39a762))!=null?_0x2c55c4:_0x39c620;}['_saveCache'](_0x4efc58){const _0x276605=_0x524f26,_0x18a395=this['_saveTaskMap'][_0x276605(0x1fd)](_0x4efc58);return _0x18a395!==void 0x0&&window['clearTimeout'](_0x18a395),this['_localStorageService'][_0x276605(0x16f)](_0x5b4647(_0x4efc58),this[_0x276605(0x2bb)]['get'](_0x4efc58))['then'](()=>this[_0x276605(0x297)]['delete'](_0x4efc58));}async['exhaustSavingTask'](){const _0x3d11b7=_0x524f26,_0x134093=[];this[_0x3d11b7(0x297)][_0x3d11b7(0x19a)]((_0xb0f0cb,_0x49ef39)=>{const _0x5660d1=_0x3d11b7;window[_0x5660d1(0x2b1)](_0xb0f0cb),_0x134093[_0x5660d1(0x115)](this[_0x5660d1(0x10f)](_0x49ef39)[_0x5660d1(0x164)](()=>{const _0xaa6eb5=_0x5660d1;this['_saveTaskMap'][_0xaa6eb5(0xed)](_0x49ef39);}));}),await Promise['all'](_0x134093);}};we=_n([Ee(0x0,_0x2e44c3),Ee(0x1,_0x264bea),Ee(0x2,_0x50e226(_0x2cbf02))],we);class hn extends _0x390349{constructor(){const _0x3ce6c2=_0x524f26;super(),_(this,_0x3ce6c2(0x22b)),this[_0x3ce6c2(0x22b)]=_0x1f263d(window,_0x3ce6c2(0x20a))[_0x3ce6c2(0xee)](_0x1416b7(this[_0x3ce6c2(0x178)]),_0x57b571(0x1),_0x591317(void 0x0));}[_0x524f26(0x255)](_0x1e836b,_0x2c9162,_0x1ea958=!0x1){const _0x6857e9=_0x524f26,_0x426e63=new URL(window['location'][_0x6857e9(0x107)]);_0x426e63[_0x6857e9(0x204)][_0x6857e9(0x231)](_0x1e836b,_0x2c9162),_0x1ea958?window['history'][_0x6857e9(0x11f)]('','',_0x426e63[_0x6857e9(0xf7)]()):window[_0x6857e9(0x1b2)]['pushState']('','',_0x426e63[_0x6857e9(0xf7)]());}[_0x524f26(0x224)](_0x1f75b2,_0xfa2b79=!0x1){const _0x2abd11=_0x524f26,_0x4cb5bf=new URL(window[_0x2abd11(0x241)][_0x2abd11(0x107)]);_0x4cb5bf[_0x2abd11(0x204)][_0x2abd11(0xed)](_0x1f75b2),_0xfa2b79?window['history'][_0x2abd11(0x11f)]('','',_0x4cb5bf[_0x2abd11(0xf7)]()):window[_0x2abd11(0x1b2)][_0x2abd11(0x254)]('','',_0x4cb5bf[_0x2abd11(0xf7)]());}[_0x524f26(0x129)](_0x3c87ab){const _0x294e52=_0x524f26;var _0x257e6d;return(_0x257e6d=new URL(window[_0x294e52(0x241)][_0x294e52(0x107)])[_0x294e52(0x204)]['get'](_0x3c87ab))!=null?_0x257e6d:void 0x0;}}var un=Object[_0x524f26(0x273)],dn=Object[_0x524f26(0x233)],fn=(_0x46e5dc,_0x44197f,_0x5b2a5b)=>_0x44197f in _0x46e5dc?un(_0x46e5dc,_0x44197f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b2a5b}):_0x46e5dc[_0x44197f]=_0x5b2a5b,Sn=(_0x24e304,_0x459bfc,_0x27b11e,_0x2bfd48)=>{for(var _0xa7ef53=_0x2bfd48>0x1?void 0x0:_0x2bfd48?dn(_0x459bfc,_0x27b11e):_0x459bfc,_0x3e8993=_0x24e304['length']-0x1,_0x307033;_0x3e8993>=0x0;_0x3e8993--)(_0x307033=_0x24e304[_0x3e8993])&&(_0xa7ef53=_0x307033(_0xa7ef53)||_0xa7ef53);return _0xa7ef53;},Oe=(_0x51f1f0,_0x300ce8)=>(_0x1627fb,_0x57ccd2)=>_0x300ce8(_0x1627fb,_0x57ccd2,_0x51f1f0),mn=(_0x4fc635,_0x3e8beb,_0x171252)=>fn(_0x4fc635,_0x3e8beb+'',_0x171252);function _0x2688(_0x3da170,_0xdf8cfa){const _0x806b05=_0x806b();return _0x2688=function(_0x268828,_0x45c056){_0x268828=_0x268828-0xed;let _0x4212a9=_0x806b05[_0x268828];return _0x4212a9;},_0x2688(_0x3da170,_0xdf8cfa);}const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x43d505{constructor(_0x3c8114=et,_0x13d3cc,_0x2a94af,_0x2145d5){const _0x59333b=_0x524f26;super(),this['_config']=_0x3c8114,this[_0x59333b(0x282)]=_0x13d3cc,this[_0x59333b(0x17e)]=_0x2a94af,this['_configService']=_0x2145d5;const {..._0x10b939}=_0xe37108({},et,this[_0x59333b(0x24c)]);this[_0x59333b(0x146)]['setConfig'](qi,_0x10b939);}[_0x524f26(0x1ea)](){const _0x986412=_0x524f26;this[_0x986412(0xfa)](),this['_initDependencies']();}['onRendered'](){const _0x24b599=_0x524f26;this[_0x24b599(0x2b5)]();}[_0x524f26(0xfa)](){const _0x211b26=_0x524f26;var _0x1bc4e1;const _0x1ce891=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0xd2df92,{'useClass':_0x2c7d8a}],[_0x1b7959,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x2c5eaa(this[_0x211b26(0x17e)],_0x1ef8cb(_0x1ce891,(_0x1bc4e1=this['_config'])==null?void 0x0:_0x1bc4e1['override']));}[_0x524f26(0x2b5)](){const _0x3cf2bf=_0x524f26;this[_0x3cf2bf(0x207)](this[_0x3cf2bf(0x282)][_0x3cf2bf(0x2a7)](_0x12cd48['UNIVER_DOC'],[Le])),this[_0x3cf2bf(0x207)](this[_0x3cf2bf(0x282)][_0x3cf2bf(0x2a7)](_0x12cd48[_0x3cf2bf(0x1a2)],[Pe]));}[_0x524f26(0x15b)](){_0x58fb3f(this['_injector'],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x524f26(0x2de),In),Ae=Sn([_0x10c84e(_0x27d2e3),Oe(0x1,_0x161de0),Oe(0x2,_0x50e226(_0x56c26b)),Oe(0x3,_0x2e44c3)],Ae);var vn=Object[_0x524f26(0x233)],gn=(_0x1a0caf,_0x6ce94a,_0xc812dd,_0x2ce195)=>{for(var _0x13259c=_0x2ce195>0x1?void 0x0:_0x2ce195?vn(_0x6ce94a,_0xc812dd):_0x6ce94a,_0x4d5075=_0x1a0caf['length']-0x1,_0x371b0b;_0x4d5075>=0x0;_0x4d5075--)(_0x371b0b=_0x1a0caf[_0x4d5075])&&(_0x13259c=_0x371b0b(_0x13259c)||_0x13259c);return _0x13259c;},z=(_0x559698,_0x333d15)=>(_0x527cf6,_0x337dda)=>_0x333d15(_0x527cf6,_0x337dda,_0x559698);let it=class extends _0x14e523{constructor(_0xdec04d,_0x468a89,_0x5d2234,_0x259257,_0x1d66bb){super(_0xdec04d,_0x468a89,_0x5d2234,_0x259257,_0x1d66bb);}async[_0x524f26(0x1e6)](_0x1c8a84){const _0x265e1c=_0x524f26,_0x22fb38=await this[_0x265e1c(0x1cd)](),_0x434bae=this[_0x265e1c(0x139)](_0x1c8a84,_0x22fb38);return this['_doCreateSocket'](_0x434bae);}[_0x524f26(0x139)](_0x3026d3,_0x4b4e9c){const _0x19c883=_0x524f26,_0x10948c=typeof window>'u'?new URL(_0x3026d3):new URL(_0x3026d3,window['location']['origin']);_0x10948c[_0x19c883(0x204)][_0x19c883(0x231)](_0x19c883(0x2e6),_0x4b4e9c);const _0x5db142=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x5db142['get']('runId')&&_0x10948c[_0x19c883(0x204)][_0x19c883(0x231)](_0x19c883(0x18c),_0x5db142[_0x19c883(0x1fd)](_0x19c883(0x18c))),_0x10948c['toString']();}async['_getSessionTicket'](){const _0x4c4305=_0x524f26;var _0x1b907f,_0x50a16d,_0x15418c;const _0x429fa3=this['_configService']['getConfig'](_0x24dff4),_0xaf0df5=(_0x1b907f=_0x429fa3==null?void 0x0:_0x429fa3[_0x4c4305(0x151)])!=null?_0x1b907f:_0x374a7e;return(_0x15418c=(_0x50a16d=(await this[_0x4c4305(0x2c6)][_0x4c4305(0x1fd)](_0xaf0df5,{'headers':{'Content-Type':_0x4c4305(0x230)}}))['body'])==null?void 0x0:_0x50a16d[_0x4c4305(0x1af)])!=null?_0x15418c:'';}};it=gn([z(0x0,_0x50e226(_0x56c26b)),z(0x1,_0x50e226(_0x3452db)),z(0x2,_0x2e44c3),z(0x3,_0x185283),z(0x4,_0x26acb6)],it);var Lt=(_0x570bca=>(_0x570bca[_0x570bca[_0x524f26(0x195)]=0x0]=_0x524f26(0x195),_0x570bca[_0x570bca['OK']=0x1]='OK',_0x570bca[_0x570bca['INTERNAL_ERROR']=0x2]=_0x524f26(0x2e1),_0x570bca[_0x570bca[_0x524f26(0x123)]=0x3]=_0x524f26(0x123),_0x570bca[_0x570bca[_0x524f26(0x131)]=0x4]=_0x524f26(0x131),_0x570bca[_0x570bca['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x570bca[_0x570bca[_0x524f26(0x227)]=0x6]=_0x524f26(0x227),_0x570bca[_0x570bca['INVALID_ARGUMENT']=0x7]=_0x524f26(0x12d),_0x570bca[_0x570bca['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x570bca[_0x570bca[_0x524f26(0xf2)]=0x9]=_0x524f26(0xf2),_0x570bca[_0x570bca['LOGIN_FAILED']=0xa]=_0x524f26(0x22a),_0x570bca[_0x570bca[_0x524f26(0x13f)]=0xb]=_0x524f26(0x13f),_0x570bca[_0x570bca[_0x524f26(0x145)]=0xc]=_0x524f26(0x145),_0x570bca[_0x570bca['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x524f26(0x223),_0x570bca[_0x570bca[_0x524f26(0x2d5)]=0xe]=_0x524f26(0x2d5),_0x570bca[_0x570bca['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x524f26(0x243),_0x570bca[_0x570bca[_0x524f26(0x2ec)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x570bca[_0x570bca[_0x524f26(0x268)]=0x1772]=_0x524f26(0x268),_0x570bca[_0x570bca[_0x524f26(0x2b0)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x570bca[_0x570bca[_0x524f26(0x232)]=0x1b59]=_0x524f26(0x232),_0x570bca[_0x570bca[_0x524f26(0x228)]=0x1b5a]=_0x524f26(0x228),_0x570bca[_0x570bca[_0x524f26(0x17b)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x570bca[_0x570bca[_0x524f26(0x276)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x570bca[_0x570bca[_0x524f26(0x2f1)]=0x1b5d]=_0x524f26(0x2f1),_0x570bca[_0x570bca['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x570bca[_0x570bca[_0x524f26(0x191)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x570bca[_0x570bca[_0x524f26(0x2db)]=0x232a]=_0x524f26(0x2db),_0x570bca[_0x570bca[_0x524f26(0x1f3)]=0x232b]=_0x524f26(0x1f3),_0x570bca[_0x570bca['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x524f26(0x2ae),_0x570bca[_0x570bca[_0x524f26(0x25e)]=0x232d]=_0x524f26(0x25e),_0x570bca[_0x570bca[_0x524f26(0x1a9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x570bca[_0x570bca[_0x524f26(0x236)]=0x2712]=_0x524f26(0x236),_0x570bca[_0x570bca[_0x524f26(0x257)]=0x2713]=_0x524f26(0x257),_0x570bca[_0x570bca[_0x524f26(0x237)]=0x2714]=_0x524f26(0x237),_0x570bca[_0x570bca['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x524f26(0xf8),_0x570bca[_0x570bca[_0x524f26(0x23e)]=0x271b]=_0x524f26(0x23e),_0x570bca[_0x570bca[_0x524f26(0x1d7)]=0x271c]=_0x524f26(0x1d7),_0x570bca[_0x570bca[_0x524f26(0x14a)]=0x271d]=_0x524f26(0x14a),_0x570bca[_0x570bca[_0x524f26(0x261)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x570bca[_0x570bca[_0x524f26(0x16d)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x570bca[_0x570bca['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x570bca[_0x570bca['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x570bca[_0x570bca['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x524f26(0x1ca),_0x570bca[_0x570bca[_0x524f26(0x25c)]=0x2ee2]=_0x524f26(0x25c),_0x570bca[_0x570bca[_0x524f26(0x2bf)]=0x2ee3]=_0x524f26(0x2bf),_0x570bca[_0x570bca[_0x524f26(0x27e)]=0x2ee4]=_0x524f26(0x27e),_0x570bca[_0x570bca['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x524f26(0x165),_0x570bca[_0x570bca['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x524f26(0x18b),_0x570bca[_0x570bca[_0x524f26(0x159)]=0x32ca]=_0x524f26(0x159),_0x570bca[_0x570bca[_0x524f26(0x156)]=0x32cb]=_0x524f26(0x156),_0x570bca[_0x570bca[_0x524f26(0x2a1)]=-0x1]=_0x524f26(0x2a1),_0x570bca))(Lt||{}),pn=Object[_0x524f26(0x233)],Cn=(_0x294eb1,_0x233af8,_0x1de80b,_0x1edd87)=>{const _0x4ab157=_0x524f26;for(var _0x1a2188=_0x1edd87>0x1?void 0x0:_0x1edd87?pn(_0x233af8,_0x1de80b):_0x233af8,_0x67dff0=_0x294eb1[_0x4ab157(0x28e)]-0x1,_0x14a282;_0x67dff0>=0x0;_0x67dff0--)(_0x14a282=_0x294eb1[_0x67dff0])&&(_0x1a2188=_0x14a282(_0x1a2188)||_0x1a2188);return _0x1a2188;},be=(_0x14e288,_0x393d0f)=>(_0x342bb6,_0x57bb5e)=>_0x393d0f(_0x342bb6,_0x57bb5e,_0x14e288);let nt=class extends _0x430c3f{constructor(_0x1e789e,_0x1dd3f0,_0x55974d){const _0xda5a08=_0x524f26;super(),this[_0xda5a08(0x184)]=_0x1e789e,this[_0xda5a08(0x2c6)]=_0x1dd3f0,this[_0xda5a08(0x146)]=_0x55974d;}async['runOnServer'](_0x4f20b9,_0x11d207,_0x4c8765,..._0x3256aa){const _0x237ba3=_0x524f26;var _0x5bd420,_0x594993,_0x16a25b,_0x4f9d1d;const _0x44a6fd=this[_0x237ba3(0x184)][_0x237ba3(0x221)]();if(!_0x44a6fd)throw new Error(_0x237ba3(0x194));const _0x7109c8=((_0x5bd420=this[_0x237ba3(0x146)]['getConfig'](_0x72f2d5))!=null?_0x5bd420:_0x1aee36)+'/'+_0x4f20b9+_0x237ba3(0x244)+_0x11d207,_0x1969f5=new URL(window['location'][_0x237ba3(0x107)]),_0x5ca679={'scriptId':_0x4f20b9,'runId':(_0x594993=_0x1969f5[_0x237ba3(0x204)]['get'](_0x237ba3(0x18c)))!=null?_0x594993:'','function':_0x11d207,'unitId':_0x44a6fd[_0x237ba3(0xf0)](),'argsOfFunction':JSON[_0x237ba3(0x13a)](_0x3256aa),'invokeId':(_0x16a25b=_0x4c8765[_0x237ba3(0x14b)])!=null?_0x16a25b:'','executionId':(_0x4f9d1d=_0x4c8765[_0x237ba3(0x18f)])!=null?_0x4f9d1d:''};try{const _0x576a90=await this['_httpService'][_0x237ba3(0x2e3)](_0x7109c8,{'body':_0x5ca679});return _0x576a90[_0x237ba3(0x210)][_0x237ba3(0x1ac)]&&_0x576a90[_0x237ba3(0x210)][_0x237ba3(0x1ac)]['code']!==Lt['OK']?'Failed':_0x576a90[_0x237ba3(0x210)][_0x237ba3(0x245)];}catch{return'Failed';}}};nt=Cn([be(0x0,_0x51fb22),be(0x1,_0x50e226(_0x3452db)),be(0x2,_0x2e44c3)],nt);const rt=0x7530,ot=_0x524f26(0x259);class Fn extends _0x430c3f{constructor(){const _0x511996=_0x524f26;super(),_(this,_0x511996(0x162),_0x5232f5()),_(this,'_selfUnitIDs',new Set()),_(this,_0x511996(0x258),new Map()),_(this,_0x511996(0x22c),null),_(this,_0x511996(0x1cf),new Map()),_(this,'_unitStatus',new Map()),this[_0x511996(0x260)]();}['dispose'](){const _0x230fbb=_0x524f26;super[_0x230fbb(0x1e9)](),this['_clearOtherTimers'][_0x230fbb(0x19a)]((_0x5026c3,_0x4d1c1b)=>this['_removeClearOtherTimer'](_0x4d1c1b)),this[_0x230fbb(0x22c)]&&window[_0x230fbb(0x278)](this[_0x230fbb(0x22c)]);}[_0x524f26(0x2a2)](_0x39e16c){const _0xd384ff=_0x524f26;return this[_0xd384ff(0x189)](_0x39e16c)[_0xd384ff(0xee)](_0x2b74c3());}[_0x524f26(0x262)](_0x356f23){const _0x476082=_0x524f26;this[_0x476082(0x1ff)][_0x476082(0x27b)]===0x0&&this[_0x476082(0x28d)](),this[_0x476082(0x1ff)][_0x476082(0x222)](_0x356f23),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x356f23],'isForwarded':!0x1});}[_0x524f26(0x293)](_0x4990fe){const _0x37a138=_0x524f26;this[_0x37a138(0x1ff)][_0x37a138(0xed)](_0x4990fe),this[_0x37a138(0x1ff)][_0x37a138(0x27b)]===0x0&&this[_0x37a138(0x22c)]&&window[_0x37a138(0x278)](this[_0x37a138(0x22c)]);}[_0x524f26(0x260)](){const _0x1d3e51=_0x524f26;this[_0x1d3e51(0x207)](_0x576d92(_0x1f263d(window,'storage')[_0x1d3e51(0x17a)](_0x1ff4c4=>{const _0x357357=_0x1d3e51;if(_0x1ff4c4[_0x357357(0x2f3)]!==ot||!_0x1ff4c4[_0x357357(0x182)])return;const _0x5680a5=JSON[_0x357357(0x208)](_0x1ff4c4['newValue']);this['_handleEvent'](_0x5680a5);}))),window[_0x1d3e51(0x24f)](_0x1d3e51(0x10c),()=>this['_send']({'type':0x1,'memberID':this[_0x1d3e51(0x162)],'unitIDs':Array[_0x1d3e51(0x2c4)](this[_0x1d3e51(0x1ff)])}));}[_0x524f26(0x1cb)](_0x1f5412){const _0x91425=_0x524f26;switch(_0x1f5412[_0x91425(0x22f)]){case 0x0:this[_0x91425(0x1b0)](_0x1f5412);break;case 0x1:this['_handleLeaveEvent'](_0x1f5412);break;case 0x2:this[_0x91425(0x2e9)](_0x1f5412);break;}}[_0x524f26(0x1b0)](_0x5edee8){const _0x1fb883=_0x524f26,{unitIDs:_0x1657ab,memberID:_0x510d46,isForwarded:_0x13a101}=_0x5edee8;_0x1657ab[_0x1fb883(0x19a)](_0x32a19e=>{const _0x2effb1=_0x1fb883;if(!_0x13a101&&this[_0x2effb1(0x258)][_0x2effb1(0x103)](_0x32a19e)&&this[_0x2effb1(0x189)](_0x32a19e)[_0x2effb1(0x1e1)](_0x1fe626[_0x2effb1(0x132)]),!this['_unitOnClients'][_0x2effb1(0x103)](_0x32a19e)||!this[_0x2effb1(0x258)][_0x2effb1(0x1fd)](_0x32a19e)[_0x2effb1(0x103)](_0x510d46)){const _0x13e612=this['_unitOnClients'][_0x2effb1(0x1fd)](_0x32a19e)||new Set();_0x13e612[_0x2effb1(0x222)](_0x510d46),this[_0x2effb1(0x258)]['set'](_0x32a19e,_0x13e612),this[_0x2effb1(0x148)](_0x510d46);}}),_0x13a101||this['_send']({'type':0x0,'memberID':this[_0x1fb883(0x162)],'unitIDs':[...this[_0x1fb883(0x1ff)]],'isForwarded':!0x0});}[_0x524f26(0x148)](_0x45b2b2){const _0x154394=_0x524f26;this[_0x154394(0x19c)](_0x45b2b2);const _0x216a05=window[_0x154394(0x2ee)](()=>{const _0x41b626=_0x154394;this[_0x41b626(0x258)]['forEach'](_0x31f3b8=>{const _0x33e117=_0x41b626;_0x31f3b8[_0x33e117(0xed)](_0x45b2b2);});},rt*0x2);this[_0x154394(0x1cf)]['set'](_0x45b2b2,_0x216a05);}[_0x524f26(0x19c)](_0xc31135){const _0x4acf65=_0x524f26;if(this[_0x4acf65(0x1cf)]['has'](_0xc31135)){const _0x3e48ec=this[_0x4acf65(0x1cf)][_0x4acf65(0x1fd)](_0xc31135);_0x3e48ec&&window[_0x4acf65(0x2b1)](_0x3e48ec),this[_0x4acf65(0x1cf)]['set'](_0xc31135,null);}}[_0x524f26(0x1de)](_0x546246){const _0x42482e=_0x524f26,{memberID:_0x277eca,unitIDs:_0x1e880d}=_0x546246;_0x1e880d['forEach'](_0x1e7043=>{const _0x578eba=_0x2688;var _0x50bcba;const _0x4112f6=this[_0x578eba(0x258)]['get'](_0x1e7043);_0x4112f6&&(_0x4112f6[_0x578eba(0xed)](_0x277eca),(_0x50bcba=this[_0x578eba(0x189)](_0x1e7043))==null||_0x50bcba['next'](_0x4112f6[_0x578eba(0x27b)]===0x0?_0x1fe626[_0x578eba(0x1fa)]:_0x1fe626[_0x578eba(0x132)]));}),this[_0x42482e(0x19c)](_0x277eca);}[_0x524f26(0x2e9)](_0x1708e1){const _0x31b2ae=_0x524f26;this[_0x31b2ae(0x148)](_0x1708e1['memberID']);}[_0x524f26(0x2cf)](_0x435cab){const _0x40c88b=_0x524f26;localStorage[_0x40c88b(0x16f)](ot,JSON[_0x40c88b(0x13a)](_0x435cab));}[_0x524f26(0x28d)](){const _0x2d03d3=_0x524f26;this['_heartbeatTimer']=window[_0x2d03d3(0x1c6)](()=>{const _0x1f4293=_0x2d03d3;this[_0x1f4293(0x2cf)]({'type':0x2,'memberID':this[_0x1f4293(0x162)]});},rt);}[_0x524f26(0x189)](_0x1ba13a){const _0x6cf8d7=_0x524f26;return this[_0x6cf8d7(0x2b2)]['has'](_0x1ba13a)||this['_unitStatus'][_0x6cf8d7(0x231)](_0x1ba13a,new _0x2f3fd2(_0x1fe626[_0x6cf8d7(0x1fa)])),this['_unitStatus'][_0x6cf8d7(0x1fd)](_0x1ba13a);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x1ae10e=_0x2872;(function(_0x2d528b,_0x59b293){const _0x437874=_0x2872,_0x3a7f7f=_0x2d528b();while(!![]){try{const _0x26f24b=-parseInt(_0x437874(0x31e))/0x1+-parseInt(_0x437874(0x354))/0x2*(-parseInt(_0x437874(0x287))/0x3)+parseInt(_0x437874(0x38b))/0x4+parseInt(_0x437874(0x292))/0x5*(-parseInt(_0x437874(0x2a2))/0x6)+-parseInt(_0x437874(0x260))/0x7*(parseInt(_0x437874(0x217))/0x8)+-parseInt(_0x437874(0x2ce))/0x9*(parseInt(_0x437874(0x188))/0xa)+-parseInt(_0x437874(0x32b))/0xb*(-parseInt(_0x437874(0x248))/0xc);if(_0x26f24b===_0x59b293)break;else _0x3a7f7f['push'](_0x3a7f7f['shift']());}catch(_0x408b9b){_0x3a7f7f['push'](_0x3a7f7f['shift']());}}}(_0x7619,0x3293a));var xt=Object[_0x1ae10e(0x2c1)],Bt=(_0x2c0cdf,_0x42942c,_0x167b2b)=>_0x42942c in _0x2c0cdf?xt(_0x2c0cdf,_0x42942c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x167b2b}):_0x2c0cdf[_0x42942c]=_0x167b2b,_=(_0x3288fd,_0x39799d,_0x1de44d)=>Bt(_0x3288fd,typeof _0x39799d!=_0x1ae10e(0x361)?_0x39799d+'':_0x39799d,_0x1de44d);import{jsx as _0x246423,jsxs as _0x16e94d}from'react/jsx-runtime';import{CollaborationStatus as _0x41fb1b,CollaborationSessionService as _0x4bfe37,CollaborationController as _0x4a5f71,DataLoaderService as _0x1e07f5,MemberService as _0x479ad5,SessionStatus as _0x4ef4b1,ILocalCacheService as _0x3b83f7,CollaborationUIEventService as _0x24b7af,CollaborationUIEventId as _0x4913db,DocCollaborationEntity as _0x1f8ec2,getLocalCacheKey as _0x41d924,LOCAL_CACHE_INTERVAL as _0x52565a,LOCAL_CACHE_INTERVAL_KEY as _0x56f847,UniverCollaborationClientPlugin as _0x5025ea,CollaborationSocketService as _0x5d57c5,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x833386,DEFAULT_WS_SESSION_TICKET_URL as _0x25f007,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5a2c54,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x30e38d,UnitStatus as _0x952eed}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x12e025,IUniverInstanceService as _0xeba3a7,Inject as _0x1d3e8b,Injector as _0x3fc4d6,Disposable as _0x390745,createIdentifier as _0x5c6f5d,ILogService as _0x221c92,ICommandService as _0x361b6f,Optional as _0x346ddf,RxDisposable as _0x1510b5,Workbook as _0x417ec7,DOC_RANGE_TYPE as _0x227f03,debounce as _0x213e33,Rectangle as _0x19a54b,DisposableCollection as _0x4ae04d,toDisposable as _0x3df05e,UniverInstanceType as _0x463f0f,generateRandomId as _0x547b93,COLORS as _0x2b02aa,ColorKit as _0x1746bd,ThemeService as _0x351d57,fromEventSubject as _0x5d29f0,Tools as _0x5891f7,CommandType as _0x35b179,IConfigService as _0x701cc2,ILocalStorageService as _0xaa901f,DependentOn as _0x9e6fd8,Plugin as _0x359441,merge as _0xe04d80,registerDependencies as _0x30aab0,mergeOverrideWithDependencies as _0x3e6bc1,touchDependencies as _0x136cac}from'@univerjs/core';import{useObservable as _0x44bee7,useDependency as _0x2a3059,IUIPartsService as _0xc03932,BuiltInUIPart as _0x5ab653,connectInjector as _0x448dc9,IBeforeCloseService as _0x3213e7,IMessageService as _0x4297d6,INotificationService as _0x3daad6}from'@univerjs/ui';import{BehaviorSubject as _0x29f49b,switchMap as _0xbcd067,of as _0x3cc996,takeUntil as _0xb1c2a5,debounceTime as _0x132523,Subject as _0x3d3daa,filter as _0x5406ea,merge as _0xe2e5d0,combineLatest as _0x18d482,fromEvent as _0x5a9382,shareReplay as _0xf6a9d4,mapTo as _0x18f23f,distinctUntilChanged as _0x28141e}from'rxjs';import{Tooltip as _0x2bc353,clsx as _0x4d7121,MessageType as _0x574138}from'@univerjs/design';import{forwardRef as _0x4b8a37,useRef as _0x3a1374,createElement as _0x19bc62,useCallback as _0x79e47c}from'react';import{IRemoteInstanceService as _0x255dbd}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x3d8709,RefRangeService as _0x2103f5,SetSelectionsOperation as _0x5ec2f8,SheetsSelectionsService as _0x4e9ba2,EffectRefRangId as _0x238365,handleIRemoveRow as _0x3dae12,handleIRemoveCol as _0x1eef6d,handleMoveRange as _0x39435b,handleInsertRow as _0x5aa9d0,handleInsertRangeMoveRight as _0x711322,handleInsertRangeMoveDown as _0x3f508c,handleInsertCol as _0x9b4ab6,handleDeleteRangeMoveUp as _0x45f9c9,handleDeleteRangeMoveLeft as _0x190963,runRefRangeMutations as _0x5b7e63}from'@univerjs/sheets';import{Shape as _0x497ddf,Rect as _0x34d57f,getColor as _0x818a3b,RegularPolygon as _0x325ed3,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xdf52f,Vector2 as _0xde2d5f,SHEET_VIEWPORT_KEY as _0x598740,IRenderManagerService as _0x38777a}from'@univerjs/engine-render';import{ISocketService as _0x180913,WebSocketService as _0x29e607,HTTPService as _0x444a71}from'@univerjs/network';import{IDocClipboardService as _0x5334de,NodePositionConvertToCursor as _0xce1a7b,NodePositionConvertToRectRange as _0xa7c62f,TEXT_RANGE_LAYER_INDEX as _0x4a5af0,SetDocZoomRatioOperation as _0x25e65d,DocIMEInputManagerService as _0x56c66e,DocStateChangeManagerService as _0x4a0cbe}from'@univerjs/docs-ui';import{IImageIoService as _0x77e9ce}from'@univerjs/drawing';function _0x7619(){const _0x223d0f=['_labelPosition','_updateSubUnitFromURLParams','_anchorDot','call','isArray','getSkeleton','getFocusedUnit','_init','restore','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','YUUMI_CONNECTOR_URL_NOT_FOUND','whenReady','attrs','getActiveRange','displayName','engine','_shapes','resize','collab-text-range-','assign','getViewport','onLocalMutation','getOwnPropertySymbols','PENDING','_transformUndoRedoStack','entries','_startSheetCollabCursor','assignAColorForMemberID','split','isEditing','_collabSessionService','EMAIL_VERIFY_CODE_MISMATCH','LICENSE_IMPORT_SIZE_EXCEEDED','_cursors','getColorFromTheme','m2Prime','subscribeEvent','_lastPointer','InsertRowCommandId','getTypeOfUnitDisposed$','string','unshift','init','_refreshCollabCursors','_anchor','status$','InsertColCommandId','popstate','redoState','_scene','_cachedData','_saveTaskMap','_entities','ticket','_createSocketURL','_urlService','PY_RUNTIME_SCRIPT_ERROR','row','_docSkeletonManagerService','column','_send','url(#$1','INVALID_ARGUMENT','permission.content','docStateChange$','addObject','dispose','UNDEFINED','selection','registerRenderModule','_notificationService','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','idSuffix','skeleton','Unknown\x20user','roomMembers','OffLineIcon','next','complete','transform','indexOf','setInterval','_removeClearOtherTimer','storage','disposeWithMe','eventID','_drawTextRange','black','_startDocCollabCursor','collaboration-client.offline-data-not-saved','_docTransformSelectionsService','range','8qOySpo','_registerDependencies','YUUMI_SUBSCRIPTION_NOT_FOUND','none','ENSURE_SNAPSHOT_EXECUTION','extend','endColumn','fillText','push','off-line-icon_clip0_910_343','className','_localeService','_initStatusListener','_collabCursorState$','updateOfflineData','path','transformSelections','fillRule','setStateCache','transformByState','currentTheme$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_handleLeaveEvent','getUndoRedoMutationParamsCache','getMergeData','ranges','search','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','InsertRangeMoveRightCommandId','COMPLETION_FINISHED','getCellPositionByOffset','parse','code','_eventUnsubscribe','getCurrentUnitForType','YUUMI_ASYNCIO_CANCELLED','_registerRenderDependencies','_transformService','getRelativeToViewportCoord','_saveCache','_logService','undoState','requireSession','imageSourceType','href','get','getCurrent','DeleteRangeMoveLeftCommandId','hide','24ahkiqz','_updateURLWithCurrentState','SYNCED','key','Warning','Failed','_initEntityListener','_instanceService','...','NOT_FOUND','_heartbeatTimer','_onCursorDelete','_hovered','_univerInstanceService','APPLY_REVISION_CONFILICT','textRanges','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_localCacheService','getItem','send','setShapeProps','_scheduleHeartbeat','setUndoRedoMutationParamsCache','getAncestorScale','61061CcGGOh','replace','CONNECTOR_DATA_TOO_LARGE','_render','_cursorShapes','moveTo','entityInit$','enableLocalCache','_ensureSubject','delete','INVALID_INVITE_CODE','location','_session','_selfUnitIDs','getOwnPropertyDescriptor','YUUMI_RATE_OVER_LIMIT','DeleteRangeMoveUpCommandId','_colorIndex','uni.network.url-service','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','tag','save','color','USER_NOT_INVITED_CODE','includes','wsSessionTicketUrl','m1Prime','session.will-retry','some','transformStateCache','UniverIcon','_handleJoinEvent','editingUnit','unitId','font','addObjects','top','VIEW_MAIN','CHANGESET_REVISION_CONFILICT','21639ZZwLzm','_sheetSkeletonManagerService','svg','purple.300','_beforeCloseService','sheetID','selections','getValue','_httpService','APPLY_REJECT','transformRemoteChangeset','1517365MdARih','_refRangeService','CLOSE_ROOM','isActive','all','NOT_COLLAB','findNodePositionByCharIndex','RemoveRowCommandId','clearInterval','_messageService','ONLINE','loadOfflineData','actions','getMember','getStateCache','error','6AOIRKS','saveTaskMap','getCurrentSelections','_getSessionTicket','dispose$','url(#off-line-icon_clip0_910_343)','arc','_clearOtherTimers','permission.title','1em','saveImage','startRow','history','YUUMI_UNABLE_LOAD_URL','LICENSE_MAX_UNITS_EXCEEDED','getUnitId','_collaborationController','_setupSubUnitSync','SOCKET_FAILED','roomMembers$','getUniverSheetInstance','M0\x200H16V16H0z','SOCKET_FAILED_RETRY','INVITE_CODE_HAS_BEEN_UES','SNAPSHOT_INVALID_SNAPSHOT','SNAPSHOT_HAS_BEEN_REMOVED','collaboration.single-unit.warning','_hideTimer','setItem','urlChange$','_updateCollabCursors','defineProperty','defs','MOBILE_VERIFY_CODE_MISMATCH','subUnitId','PERMISSION_DENIED','_config','getRangePointData','toRgbString','setAlpha','_cursor','_assignedColors','_getAnchorBounding','_cursorInfo$','9Diekyu','onTransformChange$','_status$','getSheetBySheetId','onPointerMove$','CONFLICT','event$','getRenderById','evenodd','_onCursorUpdate','backgroundColor','unit','syncEditingCollabCursor','with','toString','InsertRangeMoveDownCommandId','prototype','/run/','set','http://www.w3.org/2000/svg','WECHAT_HAS_BEEN_BOUND','_syncEditingCollabCursorService','collabStatus.synced','_docClipboardService','_transformPreviousActiveRange','translate(.97)','_imageIoService','subunit','HEADER_MENU','substring','mask','white','_document','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','univer-flex\x20univer-items-center','_name','runId','OFFLINE','collabCursorState$','labelPosition','ACTIVE_UNIT_EVENT_CHANNEL','_renderManagerService','closePath','Error','origin','getMemberID','_localStorageService','getOffsetConfig','_transformHistoryAndStateStack','APPLY_PERMISSION_DENIED','clearTimeout','FromArray','collabStatus.syncing','_doCreateSocket','createInstance','getVpScrollXYInfoByPosToVp','getCollabCursors$','onPointerLeave$','_draw','debug','OTHER_CLIENT_EDITING','measureText','startsWith','random','unsubscribe','getSheetId','collab-client.tooltip.reconnect','getUnhiddenWorksheets','add','_id','colorChannel1','getParam','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','name','makeDirty','height','replaceState','setConfig','off-line-icon','271992BjjCdw','_roomMembers$','bottom','clipPath','MoveRangeCommandId','_toggleOffline','forEach','cursorInfo$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNIVER_SHEET','INVITE_CODE_REQUIRED','_initCommandExecutedListener','cursorInfo','3375427xUdFrv','collaboration.closeRoom','min','_getScale','has','_disabled','univerjs-icon\x20univerjs-icon-','url(#on-line-icon_clip0_910_349)','_getMergeRange','size','then','_onRefRangeChange','drawWith','data','subscribe','pushState','_initDependencies','text','currentColor','values','registerBeforeClose','contains','_commandService','getCurrentRevOfUnit','getConfig','USERS_LEAVE','collabStatus.conflict','executionId','_memberService','doc.mutation.rich-text-editing','TEXT','executeCommand','body','0\x200\x2016\x2016','width','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','defIds','_collabCursorController','getDocRanges','_updateLocalCursor','pipe','2RaLEEH','removeParam','setTimeout','params','_docTransformIMECacheService','_unitOnClients','OTHER_CLIENTS_EDITING','_configService','APPLY_DUPLICATED','_initStatusComponent','exhaustSavingTask','_removeCollabCursors','sessionTicket','symbol','_injector','LICENSE_DISTRO_REJECTED','_textBubble','_getSheetObject','_drawRectRange','hasOwnProperty','getTypeOfUnitAdded$','_scheduleSaving','on-line-icon','fill','LOGIN_FAILED','UPDATE_CURSOR','blue.400','_getSaveTimeout','JOIN_ROOM_FAILED','_online','EMAIL_HAS_BEEN_BOUND','collabStatus.offline','_context','onRendered','_scheduleClearOtherTimer','collabStatus.fetchMiss','replaceDocRanges','deepClone','onStarting','asObservable','startColumn','_initResize','_dataLoaderService','_handleEvent','flatMap','onCommandExecuted','RECT','_setupBeforeClosingHandler','rgba(255,\x20255,\x20255,\x200.01)','mutations','[CollaborationDataLoaderController]','xlink:href','_revisionService','MUTATION','UNRECOGNIZED','727632TnnxDG','registerRefRange','INVITE_CODE_ALREADY_BOUND','SUBMIT_CHANGESET_TIMEOUT','pluginName','_entityInit$','UNAUTHENTICATED','unitID','show','MOBILE_HAS_BEEN_BOUND','_themeService','NO_OTHER_CLIENTS_EDITING','unload','currentSkeleton$','AWAITING','_color','_hover','114850nxiwOO','ALREADY_EXISTS','_range','getCollabEntity$','_uiPartsService','_handleHover','from','newValue','on-line-icon_clip0_910_349','TOO_MANY_REQUESTS','children','_collaborationUIEventService','transformMutation','onPointerEnter$','find','_docStateChangeManagerService','getActiveSheet','hovered','_drawAnchor','_unitStatus','type','round','_backgroundColor','length','focused$','addEventListener','triggerDblclick','concat','YUUMI_URL_COL_OUT_OF_RANGE','stringify','_docSyncEditingCollabCursorService','div','runOnServer','sessionStatus$','transformIMECache','onMouseMove','UNIVER_DOC','[RemoteUniscriptService]:\x20no\x20focused\x20unit','registerComponent','map','collabStatus.notCollab','INTERNAL_ERROR','searchParams','lineTo','_colorAssignService','_initEvent','_docTransformStateCacheService','green.600','_toggleOnline','collaboration-client-ui.config','icon'];_0x7619=function(){return _0x223d0f;};return _0x7619();}import{ITransformService as _0x1c9dc7,CollaborationEvent as _0x4dc9f3,isTransformMutationFailure as _0xb488fc,isTransformMutationsWithChangesetSuccess as _0x1747a3,RevisionService as _0x319445,ISnapshotServerService as _0x39b1b3}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x552aad,RichTextEditingMutation as _0x530a3f,DocSelectionManagerService as _0x33e165,DocSkeletonManagerService as _0x3d2d9a}from'@univerjs/docs';import{deserializeRangeWithSheet as _0xdd04c1,serializeRangeWithSheet as _0xd1bc7f}from'@univerjs/engine-formula';import{map as _0x1037dc,filter as _0x58ce67,throttleTime as _0x4d5eb6,takeUntil as _0x283d91,switchMap as _0x31ee37}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1a1aa2,getCoordByCell as _0x17a0f2,getSheetObject as _0x354e91}from'@univerjs/sheets-ui';var v=function(){const _0x1c8912=_0x1ae10e;return v=Object[_0x1c8912(0x1ce)]||function(_0x598714){const _0x204364=_0x1c8912;for(var _0x3b7fdf,_0xdc91da=0x1,_0x274ae1=arguments[_0x204364(0x19f)];_0xdc91da<_0x274ae1;_0xdc91da++){_0x3b7fdf=arguments[_0xdc91da];for(var _0x4a7a0b in _0x3b7fdf)Object[_0x204364(0x2de)][_0x204364(0x367)][_0x204364(0x1be)](_0x3b7fdf,_0x4a7a0b)&&(_0x598714[_0x4a7a0b]=_0x3b7fdf[_0x4a7a0b]);}return _0x598714;},v['apply'](this,arguments);},ci=function(_0x2b4c35,_0x42783d){const _0x3e40ad=_0x1ae10e;var _0x11e94d={};for(var _0x2d851f in _0x2b4c35)Object[_0x3e40ad(0x2de)][_0x3e40ad(0x367)][_0x3e40ad(0x1be)](_0x2b4c35,_0x2d851f)&&_0x42783d[_0x3e40ad(0x20b)](_0x2d851f)<0x0&&(_0x11e94d[_0x2d851f]=_0x2b4c35[_0x2d851f]);if(_0x2b4c35!=null&&typeof Object[_0x3e40ad(0x1d1)]=='function'){for(var _0x570e1b=0x0,_0x2d851f=Object[_0x3e40ad(0x1d1)](_0x2b4c35);_0x570e1b<_0x2d851f['length'];_0x570e1b++)_0x42783d[_0x3e40ad(0x20b)](_0x2d851f[_0x570e1b])<0x0&&Object[_0x3e40ad(0x2de)]['propertyIsEnumerable'][_0x3e40ad(0x1be)](_0x2b4c35,_0x2d851f[_0x570e1b])&&(_0x11e94d[_0x2d851f[_0x570e1b]]=_0x2b4c35[_0x2d851f[_0x570e1b]]);}return _0x11e94d;},ke=_0x4b8a37(function(_0x5ae632,_0x57aab6){const _0x8a275a=_0x1ae10e;var _0x58c3eb=_0x5ae632['icon'],_0x4e6645=_0x5ae632['id'],_0x3bedc7=_0x5ae632[_0x8a275a(0x221)],_0x8a6f48=_0x5ae632['extend'],_0x46f02f=ci(_0x5ae632,[_0x8a275a(0x1ba),'id','className',_0x8a275a(0x21c)]),_0x1d3262=_0x8a275a(0x331)[_0x8a275a(0x1a3)](_0x4e6645,'\x20')[_0x8a275a(0x1a3)](_0x3bedc7||'')['trim'](),_0xae0272=_0x3a1374('_'[_0x8a275a(0x1a3)](hi()));return Rt(_0x58c3eb,''[_0x8a275a(0x1a3)](_0x4e6645),{'defIds':_0x58c3eb[_0x8a275a(0x34f)],'idSuffix':_0xae0272['current']},v({'ref':_0x57aab6,'className':_0x1d3262},_0x46f02f),_0x8a6f48);});function Rt(_0x555da2,_0x66624b,_0xe230a4,_0x2b1e44,_0x2bdff5){const _0x5da156=_0x1ae10e;return _0x19bc62(_0x555da2[_0x5da156(0x274)],v(v({'key':_0x66624b},li(_0x555da2,_0xe230a4,_0x2bdff5)),_0x2b1e44),(_i(_0x555da2,_0xe230a4)['children']||[])[_0x5da156(0x1af)](function(_0x11c3a2,_0x8529c){const _0x245ff5=_0x5da156;return Rt(_0x11c3a2,''[_0x245ff5(0x1a3)](_0x66624b,'-')[_0x245ff5(0x1a3)](_0x555da2[_0x245ff5(0x274)],'-')[_0x245ff5(0x1a3)](_0x8529c),_0xe230a4,void 0x0,_0x2bdff5);}));}function li(_0x4a1c75,_0x11a6c1,_0x90849f){const _0x210490=_0x1ae10e;var _0x487c5c=v({},_0x4a1c75[_0x210490(0x1c7)]);_0x90849f!=null&&_0x90849f['colorChannel1']&&_0x487c5c['fill']===_0x210490(0x315)&&(_0x487c5c[_0x210490(0x36b)]=_0x90849f[_0x210490(0x315)]),_0x4a1c75[_0x210490(0x274)]==='mask'&&_0x487c5c['id']&&(_0x487c5c['id']=_0x487c5c['id']+_0x11a6c1['idSuffix']),Object[_0x210490(0x1d4)](_0x487c5c)[_0x210490(0x324)](function(_0x3cc528){const _0x3b7386=_0x210490;var _0x4ad8d5=_0x3cc528[0x0],_0x4b8edd=_0x3cc528[0x1];_0x4ad8d5===_0x3b7386(0x2ec)&&typeof _0x4b8edd==_0x3b7386(0x1e3)&&(_0x487c5c[_0x4ad8d5]=_0x4b8edd[_0x3b7386(0x261)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x11a6c1[_0x3b7386(0x203)],')')));});var _0x4e3c66=_0x11a6c1[_0x210490(0x34f)];return!_0x4e3c66||_0x4e3c66[_0x210490(0x19f)]===0x0||(_0x4a1c75[_0x210490(0x274)]==='use'&&_0x487c5c[_0x210490(0x387)]&&(_0x487c5c['xlink:href']=_0x487c5c[_0x210490(0x387)]+_0x11a6c1[_0x210490(0x203)]),Object['entries'](_0x487c5c)[_0x210490(0x324)](function(_0x43c326){const _0x235cb8=_0x210490;var _0x339282=_0x43c326[0x0],_0x1e4272=_0x43c326[0x1];typeof _0x1e4272==_0x235cb8(0x1e3)&&(_0x487c5c[_0x339282]=_0x1e4272[_0x235cb8(0x261)](/url\(#(.*)\)/,_0x235cb8(0x1f8)[_0x235cb8(0x1a3)](_0x11a6c1[_0x235cb8(0x203)],')')));})),_0x487c5c;}function _i(_0x160e50,_0x2fd5a8){const _0x2a2457=_0x1ae10e;var _0x1dd839,_0x5cb951=_0x2fd5a8[_0x2a2457(0x34f)];return!_0x5cb951||_0x5cb951[_0x2a2457(0x19f)]===0x0?_0x160e50:_0x160e50[_0x2a2457(0x274)]===_0x2a2457(0x2c2)&&(!((_0x1dd839=_0x160e50['children'])===null||_0x1dd839===void 0x0)&&_0x1dd839[_0x2a2457(0x19f)])?v(v({},_0x160e50),{'children':_0x160e50[_0x2a2457(0x192)]['map'](function(_0x39cbc9){const _0x12c14a=_0x2a2457;return typeof _0x39cbc9[_0x12c14a(0x1c7)]['id']==_0x12c14a(0x1e3)&&_0x5cb951&&_0x5cb951[_0x12c14a(0x278)](_0x39cbc9[_0x12c14a(0x1c7)]['id'])?v(v({},_0x39cbc9),{'attrs':v(v({},_0x39cbc9[_0x12c14a(0x1c7)]),{'id':_0x39cbc9[_0x12c14a(0x1c7)]['id']+_0x2fd5a8[_0x12c14a(0x203)]})}):_0x39cbc9;})}):_0x160e50;}function hi(){const _0x3baf86=_0x1ae10e;return Math[_0x3baf86(0x30e)]()['toString'](0x24)[_0x3baf86(0x2eb)](0x2,0x8);}ke['displayName']=_0x1ae10e(0x27e);var ui={'tag':_0x1ae10e(0x289),'attrs':{'xmlns':_0x1ae10e(0x2e1),'fill':_0x1ae10e(0x21a),'viewBox':_0x1ae10e(0x34c),'width':_0x1ae10e(0x2ab),'height':_0x1ae10e(0x2ab)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ae10e(0x2a7)},'children':[{'tag':'path','attrs':{'stroke':_0x1ae10e(0x33d),'d':_0x1ae10e(0x34e),'strokeLinecap':'round','strokeLinejoin':_0x1ae10e(0x19d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1ae10e(0x220)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x1ae10e(0x2b7)}}]}]}],'defIds':[_0x1ae10e(0x220)]},Dt=_0x4b8a37(function(_0x89d8e0,_0x15767d){const _0x3d8499=_0x1ae10e;return _0x19bc62(ke,Object[_0x3d8499(0x1ce)]({},_0x89d8e0,{'id':_0x3d8499(0x31d),'ref':_0x15767d,'icon':ui}));});Dt[_0x1ae10e(0x1c9)]=_0x1ae10e(0x207);var di={'tag':_0x1ae10e(0x289),'attrs':{'xmlns':_0x1ae10e(0x2e1),'fill':_0x1ae10e(0x21a),'viewBox':'0\x200\x2017\x2016','width':_0x1ae10e(0x2ab),'height':_0x1ae10e(0x2ab)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ae10e(0x332)},'children':[{'tag':_0x1ae10e(0x226),'attrs':{'stroke':_0x1ae10e(0x33d),'d':_0x1ae10e(0x202),'strokeLinecap':_0x1ae10e(0x19d),'strokeLinejoin':_0x1ae10e(0x19d),'strokeWidth':1.2}}]},{'tag':_0x1ae10e(0x2c2),'attrs':{},'children':[{'tag':_0x1ae10e(0x321),'attrs':{'id':_0x1ae10e(0x190)},'children':[{'tag':_0x1ae10e(0x226),'attrs':{'fill':_0x1ae10e(0x2ed),'d':_0x1ae10e(0x2b7),'transform':_0x1ae10e(0x2e7)}}]}]}],'defIds':[_0x1ae10e(0x190)]},Nt=_0x4b8a37(function(_0x347118,_0x556df2){const _0x4d1d88=_0x1ae10e;return _0x19bc62(ke,Object[_0x4d1d88(0x1ce)]({},_0x347118,{'id':_0x4d1d88(0x36a),'ref':_0x556df2,'icon':di}));});Nt[_0x1ae10e(0x1c9)]='OnLineIcon';function _0x2872(_0x560b99,_0x2da2f0){const _0x761912=_0x7619();return _0x2872=function(_0x28724d,_0x220830){_0x28724d=_0x28724d-0x17f;let _0x3963ba=_0x761912[_0x28724d];return _0x3963ba;},_0x2872(_0x560b99,_0x2da2f0);}function fi(_0x4b5fbe){const _0x4c30a6=_0x1ae10e;switch(_0x4b5fbe){case _0x41fb1b['OFFLINE']:return _0x4c30a6(0x373);case _0x41fb1b[_0x4c30a6(0x2d3)]:return _0x4c30a6(0x345);case _0x41fb1b['FETCH_MISS']:return _0x4c30a6(0x377);case _0x41fb1b[_0x4c30a6(0x297)]:return _0x4c30a6(0x1b0);case _0x41fb1b[_0x4c30a6(0x185)]:case _0x41fb1b['AWAITING_WITH_PENDING']:return _0x4c30a6(0x303);case _0x41fb1b[_0x4c30a6(0x24a)]:case _0x41fb1b[_0x4c30a6(0x1d2)]:return _0x4c30a6(0x2e4);}}function Si(_0x44a46c){const _0x369511=_0x1ae10e,{status$:_0x546068}=_0x44a46c,_0x29ec50=_0x44bee7(_0x546068,_0x41fb1b['NOT_COLLAB']),_0x3ebd7c=_0x2a3059(_0x12e025),_0x5b05e3=_0x2a3059(_0x4bfe37),_0x75fa7a=_0x29ec50!==_0x41fb1b[_0x369511(0x2f4)],_0x4e326c=_0x3ebd7c['t'](fi(_0x29ec50)),_0x584db6=_0x75fa7a?_0x246423(Nt,{}):_0x246423(Dt,{}),_0x1a8f19=_0x79e47c(()=>{_0x75fa7a||_0x5b05e3['reconnect']();},[_0x75fa7a,_0x5b05e3]);function _0x139856(){const _0x1cf0d0=_0x369511;return _0x16e94d('div',{'className':_0x1cf0d0(0x2f1),'onClick':_0x1a8f19,'children':[_0x246423(_0x1cf0d0(0x1a7),{'className':_0x4d7121('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x75fa7a,'univer-text-red-500':!_0x75fa7a}),'children':_0x584db6}),_0x246423('div',{'className':_0x1cf0d0(0x317),'children':_0x4e326c})]});}return _0x75fa7a?_0x139856():_0x246423(_0x2bc353,{'title':_0x3ebd7c['t'](_0x369511(0x311)),'children':_0x139856()});}var mi=Object['getOwnPropertyDescriptor'],Ii=(_0x3b7829,_0x5b4a91,_0x1f8caa,_0x5c0cc2)=>{const _0x1fe376=_0x1ae10e;for(var _0x572a25=_0x5c0cc2>0x1?void 0x0:_0x5c0cc2?mi(_0x5b4a91,_0x1f8caa):_0x5b4a91,_0x47cd65=_0x3b7829[_0x1fe376(0x19f)]-0x1,_0x1b5a5e;_0x47cd65>=0x0;_0x47cd65--)(_0x1b5a5e=_0x3b7829[_0x47cd65])&&(_0x572a25=_0x1b5a5e(_0x572a25)||_0x572a25);return _0x572a25;},q=(_0x6429ea,_0x431d8b)=>(_0x86185c,_0x4f2b36)=>_0x431d8b(_0x86185c,_0x4f2b36,_0x6429ea);let se=class extends _0x390745{constructor(_0x81ac71,_0x72c928,_0x2b1d84,_0x2cd385){const _0x134b32=_0x1ae10e;super(),_(this,_0x134b32(0x2d0),new _0x29f49b(_0x41fb1b[_0x134b32(0x297)])),(this[_0x134b32(0x255)]=_0x81ac71,this['_injector']=_0x72c928,this[_0x134b32(0x2b2)]=_0x2b1d84,this['_uiPartsService']=_0x2cd385,this[_0x134b32(0x35d)](),this[_0x134b32(0x223)]());}[_0x1ae10e(0x223)](){const _0x5cd3ee=_0x1ae10e;this['disposeWithMe'](this[_0x5cd3ee(0x255)][_0x5cd3ee(0x1a0)][_0x5cd3ee(0x353)](_0xbcd067(()=>{const _0x14d566=_0x5cd3ee,_0x2bc1dc=this[_0x14d566(0x255)]['getFocusedUnit']();return _0x2bc1dc?this[_0x14d566(0x2b2)][_0x14d566(0x18b)](_0x2bc1dc[_0x14d566(0x2b1)]()):_0x3cc996(null);}),_0xbcd067(_0xc75b7=>_0xc75b7?_0xc75b7[_0x5cd3ee(0x1e8)]:_0x3cc996(_0x41fb1b[_0x5cd3ee(0x297)])))['subscribe'](_0xc0dd5f=>{const _0x28629f=_0x5cd3ee;this[_0x28629f(0x2d0)]['next'](_0xc0dd5f);}));}[_0x1ae10e(0x35d)](){const _0x22f2c1=_0x1ae10e;this[_0x22f2c1(0x20f)](this[_0x22f2c1(0x18c)][_0x22f2c1(0x1ae)](_0x5ab653[_0x22f2c1(0x2ea)],()=>_0x448dc9(vi({'status$':this[_0x22f2c1(0x2d0)][_0x22f2c1(0x37b)]()}),this[_0x22f2c1(0x362)])));}};se=Ii([q(0x0,_0xeba3a7),q(0x1,_0x1d3e8b(_0x3fc4d6)),q(0x2,_0x1d3e8b(_0x4a5f71)),q(0x3,_0xc03932)],se);function vi(_0x7accc6){const {status$:_0xb9084}=_0x7accc6;return function(){return _0x246423(Si,{'status$':_0xb9084});};}const Ut=_0x5c6f5d(_0x1ae10e(0x272));var gi=Object['getOwnPropertyDescriptor'],pi=(_0x333b33,_0x58301e,_0x3f6ea7,_0x4ab950)=>{const _0x2f978a=_0x1ae10e;for(var _0x43dfc9=_0x4ab950>0x1?void 0x0:_0x4ab950?gi(_0x58301e,_0x3f6ea7):_0x58301e,_0x3825f1=_0x333b33[_0x2f978a(0x19f)]-0x1,_0x3a0c72;_0x3825f1>=0x0;_0x3825f1--)(_0x3a0c72=_0x333b33[_0x3825f1])&&(_0x43dfc9=_0x3a0c72(_0x43dfc9)||_0x43dfc9);return _0x43dfc9;},G=(_0x5e9396,_0x46d85c)=>(_0x1c25ca,_0x7bf48d)=>_0x46d85c(_0x1c25ca,_0x7bf48d,_0x5e9396);let ie=class extends _0x1510b5{constructor(_0x28f481,_0x43272d,_0x2d5de8,_0x1c4763,_0x3afadf){const _0x174c38=_0x1ae10e;super(),this[_0x174c38(0x1f2)]=_0x28f481,this[_0x174c38(0x23f)]=_0x43272d,this['_commandService']=_0x2d5de8,this[_0x174c38(0x37e)]=_0x1c4763,_0x3afadf?_0x3afadf==null||_0x3afadf[_0x174c38(0x1c6)]()[_0x174c38(0x335)](()=>this[_0x174c38(0x1c2)]()):(this[_0x174c38(0x23f)][_0x174c38(0x30a)](_0x174c38(0x386),_0x174c38(0x2ef)),this['_init']());}async[_0x1ae10e(0x1c2)](){const _0x2ebbb9=_0x1ae10e,_0x118177=this[_0x2ebbb9(0x1f2)][_0x2ebbb9(0x316)](_0x2ebbb9(0x2d9)),_0x13f3ef=this['_urlService'][_0x2ebbb9(0x316)]('type'),_0x2232d7=this[_0x2ebbb9(0x1f2)][_0x2ebbb9(0x316)](_0x2ebbb9(0x2e9));if(!_0x118177||!_0x13f3ef){this[_0x2ebbb9(0x23f)][_0x2ebbb9(0x30a)](_0x2ebbb9(0x386),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1231bc=await this[_0x2ebbb9(0x37e)]['loadUnit'](_0x118177,Number(_0x13f3ef),_0x2232d7);_0x1231bc&&_0x1231bc instanceof _0x417ec7&&this[_0x2ebbb9(0x2b3)](_0x1231bc);}async[_0x1ae10e(0x2b3)](_0x1ba327){const _0x2beb34=_0x1ae10e;await this[_0x2beb34(0x1bc)](_0x1ba327),_0x1ba327['activeSheet$']['pipe'](_0xb1c2a5(this[_0x2beb34(0x2a6)]))[_0x2beb34(0x339)](_0x348a3c=>{_0x348a3c&&this['_updateURLWithCurrentState'](_0x348a3c);}),this[_0x2beb34(0x1f2)][_0x2beb34(0x2bf)]['pipe'](_0xb1c2a5(this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x1ba327));}[_0x1ae10e(0x249)](_0x5157c0,_0x5aa7e8=!0x1){const _0x470c99=_0x1ae10e,_0x1fe686=this[_0x470c99(0x1f2)][_0x470c99(0x316)](_0x470c99(0x2e9));_0x5157c0[_0x470c99(0x310)]()!==_0x1fe686&&this[_0x470c99(0x1f2)]['setParam'](_0x470c99(0x2e9),_0x5157c0[_0x470c99(0x310)](),_0x5aa7e8);}async[_0x1ae10e(0x1bc)](_0x2dac7a){const _0x43caff=_0x1ae10e;var _0x559f38;const _0x19e236=this[_0x43caff(0x1f2)][_0x43caff(0x316)](_0x43caff(0x2e9));if(!_0x19e236||!_0x2dac7a[_0x43caff(0x2d1)](_0x19e236)){const _0x53b95b=_0x2dac7a[_0x43caff(0x312)]()[0x0],_0x36d938=_0x2dac7a[_0x43caff(0x2d1)](_0x53b95b);if(!_0x36d938)return;this[_0x43caff(0x249)](_0x36d938,!0x0),await this[_0x43caff(0x341)][_0x43caff(0x34a)](_0x3d8709['id'],{'unitId':_0x2dac7a[_0x43caff(0x2b1)](),'subUnitId':_0x53b95b});return;}((_0x559f38=_0x2dac7a[_0x43caff(0x198)]())==null?void 0x0:_0x559f38[_0x43caff(0x310)]())!==_0x19e236&&await this[_0x43caff(0x341)][_0x43caff(0x34a)](_0x3d8709['id'],{'unitId':_0x2dac7a['getUnitId'](),'subUnitId':_0x19e236});}};ie=pi([G(0x0,Ut),G(0x1,_0x221c92),G(0x2,_0x361b6f),G(0x3,_0x1d3e8b(_0x1e07f5)),G(0x4,_0x346ddf(_0x255dbd))],ie);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x5ecf3d,_0x402ff0,_0x1b30f0,_0x398964)=>{for(var _0x4da677=_0x398964>0x1?void 0x0:_0x398964?Ci(_0x402ff0,_0x1b30f0):_0x402ff0,_0x203d3c=_0x5ecf3d['length']-0x1,_0x363b20;_0x203d3c>=0x0;_0x203d3c--)(_0x363b20=_0x5ecf3d[_0x203d3c])&&(_0x4da677=_0x363b20(_0x4da677)||_0x4da677);return _0x4da677;},Je=(_0x16edb8,_0x368bfb)=>(_0x1bbd9d,_0x54e8f9)=>_0x368bfb(_0x1bbd9d,_0x54e8f9,_0x16edb8);let Ne=class extends _0x1510b5{constructor(_0x1896c2,_0x4440ed){const _0x216a66=_0x1ae10e;super(),this[_0x216a66(0x2e5)]=_0x1896c2,this[_0x216a66(0x2e8)]=_0x4440ed,this[_0x216a66(0x1c2)]();}['_init'](){const _0x42b2bf=_0x1ae10e,_0x1a0ef7=this;this[_0x42b2bf(0x20f)](this[_0x42b2bf(0x2e5)]['addClipboardHook']({'onBeforePasteImage':async _0x3b14c8=>{const _0x2843ff=_0x42b2bf,_0x53f268=await _0x1a0ef7[_0x2843ff(0x2e8)][_0x2843ff(0x2ac)](_0x3b14c8);return _0x53f268?{'source':_0x53f268['source'],'imageSourceType':_0x53f268[_0x2843ff(0x242)]}:null;}}));}};Ne=Ei([Je(0x0,_0x5334de),Je(0x1,_0x77e9ce)],Ne);const Ze=[_0x1ae10e(0x28a),'jiqing.500',_0x1ae10e(0x1b7),'red.300',_0x1ae10e(0x36e),'yellow.400'];class He extends _0x390745{constructor(){const _0x3c9d8b=_0x1ae10e;super(...arguments),_(this,_0x3c9d8b(0x2cb),new Map()),_(this,'_colorIndex',0x0);}[_0x1ae10e(0x1d6)](_0x378972){const _0x432387=_0x1ae10e;if(this[_0x432387(0x2cb)][_0x432387(0x32f)](_0x378972))return this['_assignedColors']['get'](_0x378972);const _0x3434af=Ze[this['_colorIndex']];return this['_colorIndex']=(this[_0x432387(0x271)]+0x1)%Ze[_0x432387(0x19f)],this[_0x432387(0x2cb)]['set'](_0x378972,_0x3434af),_0x3434af;}}function Mt(_0x535004){const _0x4d0ae8=_0x1ae10e;let _0x287487='';for(const _0x58e408 of _0x535004){const {startOffset:_0x5ac803,endOffset:_0x134c18,isActive:_0x50ae20,rangeType:_0x29d7c4,segmentId:_0x2a9667,segmentPage:_0x484058}=_0x58e408;_0x287487[_0x4d0ae8(0x19f)]&&(_0x287487+=','),_0x287487+=_0x5ac803+':'+_0x134c18+':'+(_0x50ae20?'1':'0')+':'+_0x29d7c4+':'+_0x2a9667+':'+_0x484058;}return _0x287487;}function Oi(_0x583caa){const _0x5d7f51=_0x1ae10e,_0x1bf550=_0x583caa[_0x5d7f51(0x1d7)](','),_0x127b19=[];for(const _0x128e25 of _0x1bf550){const [_0x135915,_0x221281,_0x598651,_0x44d388,_0x4571e1,_0x5bb41c]=_0x128e25[_0x5d7f51(0x1d7)](':');_0x127b19['push']({'startOffset':Number(_0x135915),'endOffset':Number(_0x221281),'collapsed':_0x135915===_0x221281,'isActive':_0x598651==='1','rangeType':_0x44d388===_0x227f03[_0x5d7f51(0x349)]?_0x227f03[_0x5d7f51(0x349)]:_0x227f03[_0x5d7f51(0x382)],'segmentId':typeof _0x4571e1=='string'?String(_0x4571e1):'','segmentPage':Number(_0x5bb41c!=null?_0x5bb41c:-0x1)});}return _0x127b19[_0x5d7f51(0x27c)](_0x10dd2f=>_0x10dd2f[_0x5d7f51(0x295)])||(_0x127b19[0x0][_0x5d7f51(0x295)]=!0x0),_0x127b19;}class Fe extends _0x1510b5{constructor(){const _0x26282c=_0x1ae10e;super(...arguments),_(this,_0x26282c(0x224),new _0x29f49b(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x26282c(0x37b)]());}['syncEditingCollabCursor'](_0x14ce94){const _0xedd678=_0x1ae10e,{unitID:_0x54472d,memberID:_0x3a7d2b,textRanges:_0x558830}=_0x14ce94,_0x455f0e=Mt(_0x558830);if(_0x455f0e==='')return;const _0x315d39={'unitID':_0x54472d,'memberID':_0x3a7d2b,'selection':_0x455f0e};this['_collabCursorState$'][_0xedd678(0x208)](_0x315d39);}}var bi=Object[_0x1ae10e(0x26e)],Ti=(_0x20e470,_0x936b2,_0x355052,_0x1d1a6d)=>{for(var _0x5df1d5=_0x1d1a6d>0x1?void 0x0:_0x1d1a6d?bi(_0x936b2,_0x355052):_0x936b2,_0x4ebf8=_0x20e470['length']-0x1,_0x45417f;_0x4ebf8>=0x0;_0x4ebf8--)(_0x45417f=_0x20e470[_0x4ebf8])&&(_0x5df1d5=_0x45417f(_0x5df1d5)||_0x5df1d5);return _0x5df1d5;},P=(_0x39052a,_0x336dc8)=>(_0x45f821,_0x3171f7)=>_0x336dc8(_0x45f821,_0x3171f7,_0x39052a);const Ri=0x12c,Di=0x64;let Ue=class extends _0x1510b5{constructor(_0x43fe50,_0x297724,_0x2f1b94,_0x15f3a3,_0x28b61b,_0x46df25,_0x1df2be,_0x5f355e,_0x385ae5){const _0x1090f5=_0x1ae10e;super(),_(this,_0x1090f5(0x371),!0x1),_(this,_0x1090f5(0x1c2),!0x1),_(this,_0x1090f5(0x2cd),new _0x29f49b(new Map())),_(this,'cursorInfo$',this[_0x1090f5(0x2cd)][_0x1090f5(0x37b)]()),_(this,_0x1090f5(0x31f),new _0x29f49b([])),_(this,'roomMembers$',this[_0x1090f5(0x31f)][_0x1090f5(0x353)](_0x132523(Ri))),_(this,_0x1090f5(0x352),_0x213e33(_0x14598a=>{const _0x38ff84=_0x1090f5,_0x170975={'eventID':_0x4dc9f3[_0x38ff84(0x36d)],'data':{'unitID':this[_0x38ff84(0x392)],'memberID':this[_0x38ff84(0x26c)]['getMemberID'](),'selection':Mt(_0x14598a)}};this[_0x38ff84(0x26c)]['send'](_0x170975,this[_0x38ff84(0x392)]);},Di)),(this[_0x1090f5(0x392)]=_0x43fe50,this[_0x1090f5(0x26c)]=_0x297724,this[_0x1090f5(0x362)]=_0x2f1b94,this[_0x1090f5(0x1b4)]=_0x15f3a3,this[_0x1090f5(0x347)]=_0x28b61b,this[_0x1090f5(0x2e3)]=_0x46df25,this[_0x1090f5(0x23c)]=_0x1df2be,this[_0x1090f5(0x255)]=_0x5f355e,this['_commandService']=_0x385ae5);}get[_0x1ae10e(0x32a)](){const _0x2587c3=_0x1ae10e;return this[_0x2587c3(0x2cd)][_0x2587c3(0x28e)]();}get['roomMembers'](){const _0x244840=_0x1ae10e;return this[_0x244840(0x31f)][_0x244840(0x28e)]();}[_0x1ae10e(0x1fd)](){const _0x3a91c9=_0x1ae10e;super[_0x3a91c9(0x1fd)](),this[_0x3a91c9(0x2cd)][_0x3a91c9(0x208)](new Map()),this[_0x3a91c9(0x2cd)][_0x3a91c9(0x209)](),this['_roomMembers$'][_0x3a91c9(0x208)]([]),this[_0x3a91c9(0x31f)][_0x3a91c9(0x209)]();}['init'](){const _0x2cb353=_0x1ae10e;this[_0x2cb353(0x1c2)]||(this[_0x2cb353(0x1c2)]=!0x0,this[_0x2cb353(0x26c)][_0x2cb353(0x1a9)][_0x2cb353(0x353)](_0xb1c2a5(this[_0x2cb353(0x2a6)]))['subscribe'](_0x404326=>{const _0x234318=_0x2cb353;_0x404326===_0x4ef4b1['ONLINE']?this[_0x234318(0x1b8)]():this[_0x234318(0x323)]();}),this[_0x2cb353(0x26c)][_0x2cb353(0x2d4)][_0x2cb353(0x353)](_0xb1c2a5(this[_0x2cb353(0x2a6)]))[_0x2cb353(0x339)](_0x4fc306=>{const _0xfad5f7=_0x2cb353,_0x42fa1a=_0x4fc306[_0xfad5f7(0x210)];_0x42fa1a===_0x4dc9f3[_0xfad5f7(0x36d)]&&this[_0xfad5f7(0x2d7)](_0x4fc306),_0x42fa1a===_0x4dc9f3[_0xfad5f7(0x344)]&&this[_0xfad5f7(0x253)](_0x4fc306);}),this[_0x2cb353(0x20f)](this['_commandService'][_0x2cb353(0x381)](_0x25390f=>{const _0x307d97=_0x2cb353,_0x1cef34=_0x25390f[_0x307d97(0x357)];_0x1cef34!=null&&this[_0x307d97(0x371)]&&_0x25390f['id']===_0x552aad['id']&&_0x1cef34[_0x307d97(0x281)]===this['unitID']&&_0x1cef34[_0x307d97(0x1d8)]===!0x1&&_0x1cef34[_0x307d97(0x230)][_0x307d97(0x19f)]>0x0&&this[_0x307d97(0x352)](_0x1cef34[_0x307d97(0x230)]);})),this[_0x2cb353(0x2e3)][_0x2cb353(0x2f5)][_0x2cb353(0x353)](_0xb1c2a5(this['dispose$']))['subscribe'](_0x5d9871=>{const _0x1bac3f=_0x2cb353;if((_0x5d9871==null?void 0x0:_0x5d9871[_0x1bac3f(0x392)])!==this[_0x1bac3f(0x392)])return;const _0x25fcd5={'eventID':_0x4dc9f3[_0x1bac3f(0x36d)],'data':_0x5d9871};this[_0x1bac3f(0x2d7)](_0x25fcd5);}),this[_0x2cb353(0x20f)](this[_0x2cb353(0x341)]['onCommandExecuted'](_0x33272a=>{const _0x33e6a8=_0x2cb353;if(_0x33272a[_0x33e6a8(0x357)]==null)return;const _0x2a6940=_0x33272a[_0x33e6a8(0x357)];if(_0x33272a['id']!==_0x530a3f['id']||_0x2a6940[_0x33e6a8(0x281)]!==this[_0x33e6a8(0x392)])return;const _0x4ddd98={'id':_0x33e6a8(0x348),'params':_0x2a6940},_0x2e9cd1=this[_0x33e6a8(0x32a)];for(const [_0x5582f9,_0x18def0]of _0x2e9cd1){const _0x22fbaf={'id':_0x33e6a8(0x348),'params':{'unitId':this[_0x33e6a8(0x392)],'actions':null,'textRanges':_0x18def0[_0x33e6a8(0x230)]}},_0x11066a=this['_transformService']['transformMutation'](_0x4ddd98,_0x22fbaf,!0x1);if(_0xb488fc(_0x11066a))throw _0x11066a[_0x33e6a8(0x2a1)];_0x2e9cd1[_0x33e6a8(0x2e0)](_0x5582f9,{..._0x18def0,'ranges':_0x11066a[_0x33e6a8(0x1de)]['params']['textRanges']});}queueMicrotask(()=>{const _0x4ebbd5=_0x33e6a8;this[_0x4ebbd5(0x2cd)][_0x4ebbd5(0x208)](_0x2e9cd1);});})));}['_onCursorUpdate'](_0x1fff8f){const _0x532502=_0x1ae10e;var _0x2e735d,_0x2d0a5e;const {memberID:_0x58483c,selection:_0x21356a}=_0x1fff8f[_0x532502(0x338)],_0x463770=Oi(_0x21356a),_0x49f308=(_0x2d0a5e=(_0x2e735d=this[_0x532502(0x347)][_0x532502(0x29f)](this[_0x532502(0x392)],_0x58483c))==null?void 0x0:_0x2e735d[_0x532502(0x318)])!=null?_0x2d0a5e:_0x532502(0x205),_0x1a9619={'color':this[_0x532502(0x1b4)][_0x532502(0x1d6)](_0x58483c),'name':_0x49f308,'ranges':_0x463770},_0xcbb5ee=this['cursorInfo'];_0xcbb5ee['set'](_0x58483c,_0x1a9619),this['_cursorInfo$'][_0x532502(0x208)](_0xcbb5ee);}[_0x1ae10e(0x253)](_0x170faf){const _0xe4df19=_0x1ae10e,{memberID:_0x253cd4}=_0x170faf['data'],_0x18c38d=this[_0xe4df19(0x32a)];_0x18c38d['delete'](_0x253cd4),this['_cursorInfo$']['next'](_0x18c38d);}[_0x1ae10e(0x1b8)](){const _0x325bff=_0x1ae10e;var _0x51a667;if(this[_0x325bff(0x371)]=!0x0,((_0x51a667=this[_0x325bff(0x255)][_0x325bff(0x1c1)]())==null?void 0x0:_0x51a667[_0x325bff(0x2b1)]())!==this[_0x325bff(0x392)])return;const _0x5a3b11=this[_0x325bff(0x362)][_0x325bff(0x244)](_0x33e165)[_0x325bff(0x351)]();Array[_0x325bff(0x1bf)](_0x5a3b11)&&_0x5a3b11[_0x325bff(0x19f)]>0x0&&this[_0x325bff(0x352)](_0x5a3b11);}[_0x1ae10e(0x323)](){const _0x5e5075=_0x1ae10e;this[_0x5e5075(0x371)]=!0x1;}};Ue=Ti([P(0x2,_0x1d3e8b(_0x3fc4d6)),P(0x3,_0x1d3e8b(He)),P(0x4,_0x1d3e8b(_0x479ad5)),P(0x5,_0x1d3e8b(Fe)),P(0x6,_0x1c9dc7),P(0x7,_0xeba3a7),P(0x8,_0x361b6f)],Ue);var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0xff7310,_0x4a2c04,_0x45ab5c,_0x1bfdc1)=>{for(var _0x1db924=_0x1bfdc1>0x1?void 0x0:_0x1bfdc1?Ni(_0x4a2c04,_0x45ab5c):_0x4a2c04,_0x49d1f0=_0xff7310['length']-0x1,_0x284575;_0x49d1f0>=0x0;_0x49d1f0--)(_0x284575=_0xff7310[_0x49d1f0])&&(_0x1db924=_0x284575(_0x1db924)||_0x1db924);return _0x1db924;},x=(_0x301171,_0x4ccef1)=>(_0x1fa122,_0x5be1d5)=>_0x4ccef1(_0x1fa122,_0x5be1d5,_0x301171);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x48709f=[],_0x2f891e=!0x1;return _0x2a82c1=>{const _0x3dda1d=_0x2872;_0x48709f[_0x3dda1d(0x21f)](_0x2a82c1),_0x2f891e||(_0x2f891e=!0x0,setTimeout(()=>{const _0x1d84ad=_0x3dda1d;_0x48709f[_0x1d84ad(0x324)](_0x514688=>_0x514688()),_0x48709f=[],_0x2f891e=!0x1;}));};};let Me=class extends _0x1510b5{constructor(_0x1f53d2,_0x316042,_0x34abe6,_0x4d0f24,_0x1686d0,_0x13c747,_0x9d547c,_0x1a96bb){const _0x245dee=_0x1ae10e;super(),_(this,_0x245dee(0x371),!0x1),_(this,'_init',!0x1),_(this,_0x245dee(0x2cd),new _0x29f49b(new Map())),_(this,_0x245dee(0x325),this['_cursorInfo$'][_0x245dee(0x37b)]()),_(this,_0x245dee(0x31f),new _0x29f49b([])),_(this,_0x245dee(0x2b5),this['_roomMembers$'][_0x245dee(0x353)](_0x132523(Mi))),_(this,_0x245dee(0x352),_0x213e33((_0x165628,_0x133561)=>{const _0x5ce3f8=_0x245dee,_0x49be40={'eventID':_0x4dc9f3[_0x5ce3f8(0x36d)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x5ce3f8(0x2fc)](),'selection':_0xd1bc7f(_0x165628,_0x133561[_0x5ce3f8(0x216)])}};this[_0x5ce3f8(0x26c)][_0x5ce3f8(0x25b)](_0x49be40,this['unitID']);},Li)),(this[_0x245dee(0x392)]=_0x1f53d2,this[_0x245dee(0x26c)]=_0x316042,this[_0x245dee(0x362)]=_0x34abe6,this[_0x245dee(0x1b4)]=_0x4d0f24,this[_0x245dee(0x347)]=_0x1686d0,this[_0x245dee(0x255)]=_0x13c747,this[_0x245dee(0x341)]=_0x9d547c,this['_refRangeService']=_0x1a96bb);}get[_0x1ae10e(0x32a)](){const _0x391ccb=_0x1ae10e;return this[_0x391ccb(0x2cd)]['getValue']();}get[_0x1ae10e(0x206)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0xaf97d5=_0x1ae10e;super[_0xaf97d5(0x1fd)](),this[_0xaf97d5(0x2cd)][_0xaf97d5(0x208)](new Map()),this[_0xaf97d5(0x2cd)][_0xaf97d5(0x209)](),this[_0xaf97d5(0x31f)][_0xaf97d5(0x208)]([]),this[_0xaf97d5(0x31f)][_0xaf97d5(0x209)]();}[_0x1ae10e(0x1e5)](){const _0x1cb088=_0x1ae10e;this['_init']||(this[_0x1cb088(0x1c2)]=!0x0,this[_0x1cb088(0x26c)][_0x1cb088(0x1a9)][_0x1cb088(0x353)](_0xb1c2a5(this[_0x1cb088(0x2a6)]))[_0x1cb088(0x339)](_0x3adff3=>{const _0x1d6020=_0x1cb088;_0x3adff3===_0x4ef4b1[_0x1d6020(0x29c)]?this[_0x1d6020(0x1b8)]():this[_0x1d6020(0x323)]();}),this[_0x1cb088(0x26c)][_0x1cb088(0x2d4)][_0x1cb088(0x353)](_0xb1c2a5(this[_0x1cb088(0x2a6)]))['subscribe'](_0x31c8f1=>{const _0x4f414d=_0x1cb088,_0x2ac0a9=_0x31c8f1[_0x4f414d(0x210)];_0x2ac0a9===_0x4dc9f3['UPDATE_CURSOR']&&this[_0x4f414d(0x2d7)](_0x31c8f1),_0x2ac0a9===_0x4dc9f3[_0x4f414d(0x344)]&&this['_onCursorDelete'](_0x31c8f1);}),this[_0x1cb088(0x336)](),this[_0x1cb088(0x20f)](this['_commandService'][_0x1cb088(0x381)](_0x326e7f=>{const _0x22f1eb=_0x1cb088;if(this[_0x22f1eb(0x371)]&&_0x326e7f['id']===_0x5ec2f8['id']&&_0x326e7f[_0x22f1eb(0x357)][_0x22f1eb(0x281)]===this['unitID']){const _0x500db1=_0x326e7f[_0x22f1eb(0x357)];this[_0x22f1eb(0x352)](_0x500db1[_0x22f1eb(0x2c4)],_0x500db1[_0x22f1eb(0x28d)][0x0]);}})));}[_0x1ae10e(0x2d7)](_0x23bcf0){const _0x41c04a=_0x1ae10e;var _0x3b0094,_0x1bac16;const {memberID:_0x145eda,selection:_0x1bd976}=_0x23bcf0[_0x41c04a(0x338)],{sheetName:_0x50a6f3,range:_0x3cb568}=_0xdd04c1(_0x1bd976),_0x2983e4={'name':(_0x1bac16=(_0x3b0094=this['_memberService'][_0x41c04a(0x29f)](this[_0x41c04a(0x392)],_0x145eda))==null?void 0x0:_0x3b0094[_0x41c04a(0x318)])!=null?_0x1bac16:_0x41c04a(0x205),'range':this[_0x41c04a(0x333)](_0x50a6f3,_0x3cb568),'sheetID':_0x50a6f3,'color':this[_0x41c04a(0x1b4)][_0x41c04a(0x1d6)](_0x145eda),'selection':_0x1bd976},_0x199f87=this[_0x41c04a(0x32a)];_0x199f87[_0x41c04a(0x2e0)](_0x145eda,_0x2983e4),this[_0x41c04a(0x2cd)]['next'](_0x199f87);}[_0x1ae10e(0x253)](_0x19280a){const _0x12bb96=_0x1ae10e,{memberID:_0x26d4b5}=_0x19280a[_0x12bb96(0x338)],_0x2e53e6=this['cursorInfo'];_0x2e53e6[_0x12bb96(0x269)](_0x26d4b5),this[_0x12bb96(0x2cd)][_0x12bb96(0x208)](_0x2e53e6);}[_0x1ae10e(0x333)](_0x391f44,_0x5eca99){const _0x468584=_0x1ae10e;var _0x1a3797,_0x5f0ecf;const _0x645efd=(_0x5f0ecf=(_0x1a3797=this[_0x468584(0x255)][_0x468584(0x2b6)](this[_0x468584(0x392)]))==null?void 0x0:_0x1a3797[_0x468584(0x2d1)](_0x391f44))==null?void 0x0:_0x5f0ecf[_0x468584(0x22f)]();return(_0x645efd==null?void 0x0:_0x645efd[_0x468584(0x196)](_0x5bbb35=>_0x19a54b[_0x468584(0x340)](_0x5bbb35,_0x5eca99)))||_0x5eca99;}['_onRefRangeChange'](){const _0x2f8882=_0x1ae10e,_0x5a1cb4=new _0x4ae04d(),_0x3412e1=Pi(),_0x7b8a3e=()=>{const _0x28e054=_0x2872;_0x5a1cb4['dispose']();const _0x3caf54=(_0x83c285,_0x310bab,_0x55b928,_0x83047e)=>{const _0x46c229=_0x2872;let _0x1a3723=[];switch(_0x83c285['id']){case _0x238365[_0x46c229(0x246)]:{_0x1a3723=_0x190963(_0x83c285,_0x83047e);break;}case _0x238365[_0x46c229(0x270)]:{_0x1a3723=_0x45f9c9(_0x83c285,_0x83047e);break;}case _0x238365[_0x46c229(0x1e9)]:{_0x1a3723=_0x9b4ab6(_0x83c285,_0x83047e);break;}case _0x238365[_0x46c229(0x2dd)]:{_0x1a3723=_0x3f508c(_0x83c285,_0x83047e);break;}case _0x238365[_0x46c229(0x233)]:{_0x1a3723=_0x711322(_0x83c285,_0x83047e);break;}case _0x238365[_0x46c229(0x1e1)]:{_0x1a3723=_0x5aa9d0(_0x83c285,_0x83047e);break;}case _0x238365[_0x46c229(0x322)]:{_0x1a3723=_0x39435b(_0x83c285,_0x83047e);break;}case _0x238365['RemoveColCommandId']:{_0x1a3723=_0x1eef6d(_0x83c285,_0x83047e);break;}case _0x238365[_0x46c229(0x299)]:{_0x1a3723=_0x3dae12(_0x83c285,_0x83047e);break;}}const _0x4e0df7=_0x5b7e63(_0x1a3723,_0x83047e),_0x46a51b=this[_0x46c229(0x32a)]['get'](_0x310bab);if(_0x46a51b&&_0x4e0df7){const _0x536d32={..._0x46a51b,'range':_0x4e0df7};this[_0x46c229(0x32a)]['set'](_0x310bab,_0x536d32),_0x3412e1(()=>{const _0x5f2ba5=_0x46c229,_0x94c8b=this[_0x5f2ba5(0x293)][_0x5f2ba5(0x38c)](_0x4e0df7,_0x29ebe6=>(_0x94c8b[_0x5f2ba5(0x1fd)](),_0x3caf54(_0x29ebe6,_0x310bab,_0x55b928,_0x4e0df7)));_0x5a1cb4['add'](_0x94c8b);});}return{'redos':[],'undos':[]};};this[_0x28e054(0x32a)][_0x28e054(0x324)]((_0x26bee8,_0x1e90c)=>{const _0x4a5918=_0x28e054,{range:_0x5d57a9,sheetID:_0x4be72e}=_0x26bee8,_0x12b673=this[_0x4a5918(0x293)][_0x4a5918(0x38c)](_0x5d57a9,_0x51f04e=>(_0x12b673[_0x4a5918(0x1fd)](),_0x3caf54(_0x51f04e,_0x1e90c,_0x4be72e,_0x5d57a9)));_0x5a1cb4['add'](_0x12b673);});};this[_0x2f8882(0x20f)](_0x3df05e(this[_0x2f8882(0x2cd)][_0x2f8882(0x339)](()=>{_0x7b8a3e();})));}[_0x1ae10e(0x1b8)](){const _0xa4fd5f=_0x1ae10e;var _0x26bb4d,_0x36b6c3;if(this[_0xa4fd5f(0x371)]=!0x0,((_0x26bb4d=this[_0xa4fd5f(0x255)][_0xa4fd5f(0x1c1)]())==null?void 0x0:_0x26bb4d['getUnitId']())!==this[_0xa4fd5f(0x392)])return;const _0x4b5456=(_0x36b6c3=this[_0xa4fd5f(0x362)][_0xa4fd5f(0x244)](_0x4e9ba2)[_0xa4fd5f(0x2a4)]())==null?void 0x0:_0x36b6c3[0x0],_0x182e13=this[_0xa4fd5f(0x255)][_0xa4fd5f(0x239)](_0x463f0f['UNIVER_SHEET'])['getActiveSheet']();_0x4b5456&&_0x182e13&&this[_0xa4fd5f(0x352)](_0x182e13['getSheetId'](),_0x4b5456);}[_0x1ae10e(0x323)](){this['_online']=!0x1;}};Me=Ui([x(0x2,_0x1d3e8b(_0x3fc4d6)),x(0x3,_0x1d3e8b(He)),x(0x4,_0x1d3e8b(_0x479ad5)),x(0x5,_0xeba3a7),x(0x6,_0x361b6f),x(0x7,_0x1d3e8b(_0x2103f5))],Me);var wi=Object[_0x1ae10e(0x26e)],Ai=(_0x498fde,_0x3871d0,_0x26dd60,_0x3321d2)=>{const _0x369062=_0x1ae10e;for(var _0x4d5610=_0x3321d2>0x1?void 0x0:_0x3321d2?wi(_0x3871d0,_0x26dd60):_0x3871d0,_0x1cd9f7=_0x498fde[_0x369062(0x19f)]-0x1,_0x437864;_0x1cd9f7>=0x0;_0x1cd9f7--)(_0x437864=_0x498fde[_0x1cd9f7])&&(_0x4d5610=_0x437864(_0x4d5610)||_0x4d5610);return _0x4d5610;},me=(_0x556652,_0x53fe96)=>(_0x250a3d,_0x55f6b3)=>_0x53fe96(_0x250a3d,_0x55f6b3,_0x556652);let F=class extends _0x1510b5{constructor(_0x3e0687,_0x4979c5,_0x3ae59a){const _0xd4a825=_0x1ae10e;super(),_(this,'_entities',new Map()),_(this,_0xd4a825(0x390),new _0x3d3daa()),(this[_0xd4a825(0x255)]=_0x3e0687,this[_0xd4a825(0x362)]=_0x4979c5,this[_0xd4a825(0x1d9)]=_0x3ae59a,this[_0xd4a825(0x1c2)]());}[_0x1ae10e(0x1fd)](){const _0x3abbdb=_0x1ae10e;super[_0x3abbdb(0x1fd)](),this[_0x3abbdb(0x390)]['complete'](),this[_0x3abbdb(0x1ef)][_0x3abbdb(0x324)](_0x2f7745=>_0x2f7745[_0x3abbdb(0x1fd)]());}[_0x1ae10e(0x307)](_0x501fe0){const _0x27de3d=_0x1ae10e;return this['_entities'][_0x27de3d(0x32f)](_0x501fe0)?this[_0x27de3d(0x1ef)]['get'](_0x501fe0)[_0x27de3d(0x325)]:this['_entityInit$'][_0x27de3d(0x353)](_0x5406ea(_0x15efd9=>_0x15efd9[_0x27de3d(0x392)]===_0x501fe0),_0xbcd067(_0x3d4a29=>_0x3d4a29[_0x27de3d(0x325)]));}[_0x1ae10e(0x1c2)](){const _0x5a377a=_0x1ae10e;this[_0x5a377a(0x255)][_0x5a377a(0x368)](_0x463f0f[_0x5a377a(0x327)])[_0x5a377a(0x353)](_0xb1c2a5(this[_0x5a377a(0x2a6)]))[_0x5a377a(0x339)](async _0x16246d=>{const _0x15df3c=_0x5a377a,_0x1f4c32=_0x16246d[_0x15df3c(0x2b1)](),_0x305110=await this[_0x15df3c(0x1d5)](_0x1f4c32);this['_entityInit$'][_0x15df3c(0x208)](_0x305110),this[_0x15df3c(0x1ef)][_0x15df3c(0x2e0)](_0x1f4c32,_0x305110);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x463f0f[_0x5a377a(0x1ac)])[_0x5a377a(0x353)](_0xb1c2a5(this['dispose$']))['pipe'](_0x5406ea(_0x3cd746=>!_0x3cd746[_0x5a377a(0x2b1)]()[_0x5a377a(0x30d)]('__')))[_0x5a377a(0x339)](async _0x29e7fe=>{const _0x2719c1=_0x5a377a,_0x4e6862=_0x29e7fe[_0x2719c1(0x2b1)](),_0x41f803=await this[_0x2719c1(0x213)](_0x4e6862);this[_0x2719c1(0x390)][_0x2719c1(0x208)](_0x41f803),this[_0x2719c1(0x1ef)][_0x2719c1(0x2e0)](_0x4e6862,_0x41f803);}),_0xe2e5d0(this[_0x5a377a(0x255)][_0x5a377a(0x1e2)](_0x463f0f[_0x5a377a(0x1ac)]),this[_0x5a377a(0x255)][_0x5a377a(0x1e2)](_0x463f0f['UNIVER_SHEET']))['pipe'](_0xb1c2a5(this[_0x5a377a(0x2a6)]))[_0x5a377a(0x339)](_0x1c9b87=>{const _0x310f11=_0x5a377a,_0x128df5=_0x1c9b87[_0x310f11(0x2b1)](),_0x2649b3=this[_0x310f11(0x1ef)][_0x310f11(0x244)](_0x128df5);_0x2649b3&&(_0x2649b3[_0x310f11(0x1fd)](),this[_0x310f11(0x1ef)]['delete'](_0x128df5));});}async[_0x1ae10e(0x1d5)](_0x31fb32){const _0x1b7ced=_0x1ae10e,_0xccd1eb=await this['_collabSessionService'][_0x1b7ced(0x241)](_0x31fb32),_0x3d8248=this[_0x1b7ced(0x362)][_0x1b7ced(0x305)](Me,_0x31fb32,_0xccd1eb);return _0x3d8248[_0x1b7ced(0x1e5)](),_0x3d8248;}async[_0x1ae10e(0x213)](_0x516cab){const _0x1f7b8e=_0x1ae10e,_0x27e854=await this[_0x1f7b8e(0x1d9)]['requireSession'](_0x516cab),_0x876cc5=this[_0x1f7b8e(0x362)][_0x1f7b8e(0x305)](Ue,_0x516cab,_0x27e854);return _0x876cc5[_0x1f7b8e(0x1e5)](),_0x876cc5;}};F=Ai([me(0x0,_0xeba3a7),me(0x1,_0x1d3e8b(_0x3fc4d6)),me(0x2,_0x1d3e8b(_0x4bfe37))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x1098d8,_0x2d524d){const _0x9e9ec=_0x1ae10e;let {radius:_0x1811f5,width:_0x56c6b8,height:_0x15111e}=_0x2d524d;_0x1811f5=_0x1811f5!=null?_0x1811f5:0x0,_0x56c6b8=_0x56c6b8!=null?_0x56c6b8:0x1e,_0x15111e=_0x15111e!=null?_0x15111e:0x1e;let _0x25b119=0x0,_0x20634a=0x0,_0x2e2bd9=0x0;_0x25b119=_0x20634a=_0x2e2bd9=Math[_0x9e9ec(0x32d)](_0x1811f5,_0x56c6b8/0x2,_0x15111e/0x2),_0x1098d8['beginPath'](),_0x1098d8[_0x9e9ec(0x265)](_0x25b119,0x0),_0x1098d8[_0x9e9ec(0x1b3)](_0x56c6b8-_0x20634a,0x0),_0x1098d8[_0x9e9ec(0x2a8)](_0x56c6b8-_0x20634a,_0x20634a,_0x20634a,Math['PI']*0x3/0x2,0x0,!0x1),_0x1098d8[_0x9e9ec(0x1b3)](_0x56c6b8,_0x15111e-_0x2e2bd9),_0x1098d8[_0x9e9ec(0x2a8)](_0x56c6b8-_0x2e2bd9,_0x15111e-_0x2e2bd9,_0x2e2bd9,0x0,Math['PI']/0x2,!0x1),_0x1098d8[_0x9e9ec(0x1b3)](0x0,_0x15111e),_0x1098d8[_0x9e9ec(0x1b3)](0x0,_0x25b119),_0x1098d8[_0x9e9ec(0x2a8)](_0x25b119,_0x25b119,_0x25b119,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1098d8[_0x9e9ec(0x2f9)](),_0x2d524d['fill']&&(_0x1098d8[_0x9e9ec(0x275)](),_0x1098d8['fillStyle']=_0x2d524d[_0x9e9ec(0x36b)],_0x2d524d[_0x9e9ec(0x228)]==='evenodd'?_0x1098d8[_0x9e9ec(0x36b)](_0x9e9ec(0x2d6)):_0x1098d8[_0x9e9ec(0x36b)](),_0x1098d8['restore']());}class ue extends _0x497ddf{constructor(_0xf7b7a,_0x97cb39){const _0x420f97=_0x1ae10e;super(_0xf7b7a,_0x97cb39),_(this,'color'),_(this,_0x420f97(0x33c)),(this[_0x420f97(0x276)]=_0x97cb39==null?void 0x0:_0x97cb39['color'],this[_0x420f97(0x33c)]=_0x97cb39==null?void 0x0:_0x97cb39[_0x420f97(0x33c)]);}static[_0x1ae10e(0x337)](_0x245688,_0x26ff58){const _0x34d076=_0x1ae10e,{text:_0xbfab00,color:_0x4ba8f8}=_0x26ff58;_0x245688['save'](),_0x245688[_0x34d076(0x282)]=_0x34d076(0x232);const _0x31122f=_0x245688[_0x34d076(0x30c)](_0xbfab00)[_0x34d076(0x34d)],_0x7f554c=Math[_0x34d076(0x32d)](_0x31122f+0x2*Ie,Qe);$i(_0x245688,{'height':J,'radius':0x4,'width':_0x7f554c,'fill':_0x4ba8f8}),_0x245688['fillStyle']='#FFF';const _0x61a5a=Ie,_0x579588=J-yi,_0x319f82=Qe-0x2*Ie;if(_0x31122f>_0x319f82){let _0x38f351='',_0x599ec8=0x0;for(const _0x4105b1 of _0xbfab00){const _0x568483=_0x245688[_0x34d076(0x30c)](_0x4105b1)[_0x34d076(0x34d)];if(_0x599ec8+_0x568483<=_0x319f82-_0x245688[_0x34d076(0x30c)](_0x34d076(0x250))[_0x34d076(0x34d)])_0x38f351+=_0x4105b1,_0x599ec8+=_0x568483;else{_0x38f351+=_0x34d076(0x250);break;}}_0x245688[_0x34d076(0x21e)](_0x38f351,_0x61a5a,_0x579588);}else _0x245688['fillText'](_0xbfab00,_0x61a5a,_0x579588);_0x245688[_0x34d076(0x1c3)]();}['_draw'](_0x1c4c3e){const _0x59601a=_0x1ae10e;ue[_0x59601a(0x337)](_0x1c4c3e,this);}}const ve='collab-text-anchor-',xi=_0x1ae10e(0x1cd),Bi='collab-rect-range-',K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x1ae10e(0x384);class qe{constructor(_0x4426e2,_0xebd172,_0x1bd009,_0x3fd14c){const _0x47a499=_0x1ae10e;_(this,_0x47a499(0x1cb),[]),_(this,_0x47a499(0x1e7),null),_(this,'_textBubble',null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,_0x47a499(0x238),null),(this[_0x47a499(0x2ca)]=_0x4426e2,this[_0x47a499(0x1ec)]=_0xebd172,this['_docSkeleton']=_0x1bd009,this[_0x47a499(0x2ee)]=_0x3fd14c,this[_0x47a499(0x263)]());}set[_0x1ae10e(0x187)](_0x4ea8fc){const _0x2fe6a6=_0x1ae10e;_0x4ea8fc?(this[_0x2fe6a6(0x1bd)]&&this[_0x2fe6a6(0x1bd)]['hide'](),this[_0x2fe6a6(0x364)]&&this[_0x2fe6a6(0x364)][_0x2fe6a6(0x17f)]()):(this['_anchorDot']&&this[_0x2fe6a6(0x1bd)][_0x2fe6a6(0x17f)](),this[_0x2fe6a6(0x364)]&&this['_textBubble'][_0x2fe6a6(0x247)]());}[_0x1ae10e(0x1fd)](){const _0x33535d=_0x1ae10e;for(const _0x44148a of this[_0x33535d(0x1cb)])_0x44148a[_0x33535d(0x1fd)]();this[_0x33535d(0x364)]&&this[_0x33535d(0x364)][_0x33535d(0x1fd)](),this[_0x33535d(0x1bd)]&&this[_0x33535d(0x1bd)][_0x33535d(0x1fd)](),this[_0x33535d(0x1e7)]&&this[_0x33535d(0x1e7)][_0x33535d(0x1fd)](),this[_0x33535d(0x238)]&&this[_0x33535d(0x238)]();}[_0x1ae10e(0x263)](){const _0x2c4086=_0x1ae10e;var _0x4deecc;const {_docSkeleton:_0x3cca1b,_document:_0x230770}=this,{color:_0xd08c13,name:_0x5bf029,ranges:_0x59830d}=this['_cursor'],_0x554cf4=_0x230770[_0x2c4086(0x2fe)](),{docsLeft:_0x51841d,docsTop:_0x4016db}=_0x554cf4,_0x472243=new _0xce1a7b(_0x554cf4,_0x3cca1b);for(const {startOffset:_0x30b2d0,endOffset:_0x52321a,rangeType:_0x16ae16,segmentId:_0x14f850,segmentPage:_0x5877ae,collapsed:_0x282d5f,isActive:_0x2d033c}of _0x59830d){const _0x5109f2=_0x3cca1b[_0x2c4086(0x298)](_0x30b2d0,!0x0,_0x14f850,_0x5877ae);let _0x4bf4a1=_0x3cca1b[_0x2c4086(0x298)](_0x52321a,!0x0,_0x14f850,_0x5877ae);if(_0x4bf4a1==null&&(_0x4bf4a1=_0x3cca1b[_0x2c4086(0x298)](_0x52321a-0x1,!0x1,_0x14f850,_0x5877ae)),_0x2d033c){const {contentBoxPointGroup:_0x48e161}=_0x472243['getRangePointData'](_0x4bf4a1,_0x4bf4a1);if(_0x48e161[_0x2c4086(0x19f)]===0x0)continue;this[_0x2c4086(0x19a)](_0xd08c13,_0x48e161,_0x51841d,_0x4016db,_0x5bf029),this[_0x2c4086(0x238)]=this[_0x2c4086(0x18d)]();}if(_0x5109f2&&_0x4bf4a1){if(_0x16ae16===_0x227f03[_0x2c4086(0x382)]){const _0x30fa1f=new _0xa7c62f(_0x554cf4,_0x3cca1b),{pointGroup:_0x22c41c}=(_0x4deecc=_0x30fa1f[_0x2c4086(0x2c7)](_0x5109f2,_0x4bf4a1))!=null?_0x4deecc:{};if(_0x22c41c==null||_0x22c41c[_0x2c4086(0x19f)]===0x0)continue;this[_0x2c4086(0x366)](_0xd08c13,_0x22c41c,_0x51841d,_0x4016db);}else{if(!_0x282d5f){const {borderBoxPointGroup:_0x40fee2}=_0x472243[_0x2c4086(0x2c7)](_0x5109f2,_0x4bf4a1);if(_0x40fee2[_0x2c4086(0x19f)]===0x0)continue;this['_drawTextRange'](_0xd08c13,_0x40fee2,_0x51841d,_0x4016db);}}}}}[_0x1ae10e(0x19a)](_0x3de235,_0x20d8e3,_0x424fa6,_0x922055,_0x59b53e){const _0x3d4b6a=_0x1ae10e,_0x49bb54=this[_0x3d4b6a(0x2cc)](_0x20d8e3),{left:_0x3841b1,top:_0x3523b2,height:_0x4f224d}=_0x49bb54,_0x180924=this['_getScale'](),_0x53d6ad=Hi/_0x180924,_0x3027a1=new _0x34d57f(ve+_0x547b93(K),{'left':_0x3841b1+_0x424fa6-_0x53d6ad,'top':_0x3523b2+_0x922055,'height':_0x4f224d,'width':ki,'fill':_0x3de235||_0x818a3b(_0x2b02aa[_0x3d4b6a(0x212)],0x0),'strokeWidth':_0x53d6ad,'stroke':Fi,'evented':!0x0});this[_0x3d4b6a(0x1e7)]=_0x3027a1,this[_0x3d4b6a(0x1ec)][_0x3d4b6a(0x1fc)](_0x3027a1,_0x4a5af0);const _0x5ce927=new _0x34d57f(ve+_0x547b93(K),{'left':_0x3841b1+_0x424fa6-_0x53d6ad,'top':_0x3523b2+_0x922055-ge/0x2,'height':ge,'width':ge,'fill':_0x3de235||_0x818a3b(_0x2b02aa[_0x3d4b6a(0x212)],0x0),'strokeWidth':0x0,'stroke':_0x3de235||_0x818a3b(_0x2b02aa[_0x3d4b6a(0x212)],0x0),'evented':!0x1});this[_0x3d4b6a(0x1bd)]=_0x5ce927,this['_scene']['addObject'](_0x5ce927,_0x4a5af0);const _0x1d7c87=new ue(ve+_0x547b93(K),{'left':_0x3841b1+_0x424fa6-_0x53d6ad,'top':_0x3523b2+_0x922055-J,'text':_0x59b53e,'color':_0x3de235});this['_textBubble']=_0x1d7c87,this[_0x3d4b6a(0x1ec)][_0x3d4b6a(0x1fc)](_0x1d7c87,_0x4a5af0),this[_0x3d4b6a(0x187)]=!0x1;}[_0x1ae10e(0x18d)](){const _0x1208b9=_0x1ae10e,_0x2f8812=this[_0x1208b9(0x1e7)][_0x1208b9(0x195)][_0x1208b9(0x1df)](()=>{const _0x454d9c=_0x1208b9;this[_0x454d9c(0x187)]=!0x0;}),_0x4cfda6=this[_0x1208b9(0x1e7)][_0x1208b9(0x308)]['subscribeEvent'](()=>{const _0xf7b64f=_0x1208b9;this[_0xf7b64f(0x2bd)]&&clearTimeout(this[_0xf7b64f(0x2bd)]),this[_0xf7b64f(0x2bd)]=setTimeout(()=>{const _0x418711=_0xf7b64f;this[_0x418711(0x187)]=!0x1;},0x7d0);});return()=>{const _0x6efa2b=_0x1208b9;_0x2f8812[_0x6efa2b(0x30f)](),_0x4cfda6[_0x6efa2b(0x30f)]();};}[_0x1ae10e(0x211)](_0x2c1368,_0x1eb353,_0x34af38,_0x1ef643){const _0x19441a=_0x1ae10e,_0x3fe43c=new _0x1746bd(_0x2c1368)[_0x19441a(0x2c9)](0.2)['toRgbString'](),_0x4a83f=new _0x325ed3(xi+_0x547b93(K),{'pointsGroup':_0x1eb353,'fill':_0x3fe43c||_0x818a3b(_0x2b02aa[_0x19441a(0x212)],0.2),'left':_0x34af38,'top':_0x1ef643,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x4a83f),this['_scene'][_0x19441a(0x1fc)](_0x4a83f,_0x4a5af0);}[_0x1ae10e(0x366)](_0x2ee346,_0x10daf2,_0x514c4c,_0x257197){const _0x18e343=_0x1ae10e,_0x3150d5=new _0x1746bd(_0x2ee346)[_0x18e343(0x2c9)](0.2)[_0x18e343(0x2c8)](),_0x2aaba8=new _0x325ed3(Bi+_0x547b93(K),{'pointsGroup':_0x10daf2,'fill':_0x3150d5||_0x818a3b(_0x2b02aa[_0x18e343(0x212)],0.2),'left':_0x514c4c,'top':_0x257197,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x18e343(0x21f)](_0x2aaba8),this[_0x18e343(0x1ec)][_0x18e343(0x1fc)](_0x2aaba8,_0x4a5af0);}[_0x1ae10e(0x2cc)](_0x200f7a){const _0x219b4f=_0x200f7a[0x0],_0x379b67=_0x219b4f[0x0],_0x5a2279=_0x219b4f[0x2],{x:_0x352829,y:_0x68031e}=_0x379b67,{x:_0x25365b,y:_0x55446f}=_0x5a2279;return{'left':_0x352829,'top':_0x68031e,'width':_0x25365b-_0x352829,'height':_0x55446f-_0x68031e};}[_0x1ae10e(0x32e)](){const _0x218024=_0x1ae10e,{scaleX:_0x5ff92c,scaleY:_0x3f765c}=this[_0x218024(0x1ec)]['getAncestorScale']();return Math['max'](_0x5ff92c,_0x3f765c);}}var Yi=Object[_0x1ae10e(0x26e)],ji=(_0x4c16e1,_0x50b009,_0x3fd171,_0x4bb5b5)=>{const _0x481f6c=_0x1ae10e;for(var _0x44fcb3=_0x4bb5b5>0x1?void 0x0:_0x4bb5b5?Yi(_0x50b009,_0x3fd171):_0x50b009,_0x3c3e8a=_0x4c16e1[_0x481f6c(0x19f)]-0x1,_0x166076;_0x3c3e8a>=0x0;_0x3c3e8a--)(_0x166076=_0x4c16e1[_0x3c3e8a])&&(_0x44fcb3=_0x166076(_0x44fcb3)||_0x44fcb3);return _0x44fcb3;},ee=(_0x4f286f,_0x1a53bf)=>(_0x513164,_0x29f937)=>_0x1a53bf(_0x513164,_0x29f937,_0x4f286f);let Le=class extends _0x1510b5{constructor(_0x59785,_0x104f74,_0x944d05,_0x34764c,_0x45ca33){const _0x111752=_0x1ae10e;super(),_(this,'_cursorShapes',[]),_(this,_0x111752(0x1dc),[]),(this[_0x111752(0x374)]=_0x59785,this[_0x111752(0x1f5)]=_0x104f74,this['_collabCursorController']=_0x944d05,this[_0x111752(0x341)]=_0x34764c,this[_0x111752(0x181)]=_0x45ca33,this[_0x111752(0x1c2)]());}['_init'](){const _0x112768=_0x1ae10e,_0x55a224=this[_0x112768(0x374)][_0x112768(0x281)],_0x4e3c18=this[_0x112768(0x1f5)];this[_0x112768(0x20f)](_0x18d482([this['_collabCursorController']['getCollabCursors$'](_0x55a224),this[_0x112768(0x181)][_0x112768(0x22b)]])[_0x112768(0x353)](_0x1037dc(([_0x16569f,_0x32c7f0])=>({'skeleton':_0x4e3c18[_0x112768(0x1c0)](),'cursors':[..._0x16569f[_0x112768(0x33e)]()][_0x112768(0x380)](_0x30985b=>({..._0x30985b,'color':this['_themeService']['getColorFromTheme'](_0x30985b[_0x112768(0x276)])}))})))[_0x112768(0x339)](_0x2be0fa=>{const _0x1d8c6a=_0x112768;if(this[_0x1d8c6a(0x35f)](),_0x2be0fa){const {skeleton:_0x19b875,cursors:_0x3ca60d}=_0x2be0fa;this[_0x1d8c6a(0x2c0)](_0x19b875,_0x3ca60d);}})),this[_0x112768(0x37d)](),this[_0x112768(0x329)]();}[_0x1ae10e(0x2c0)](_0x654495,_0x253388){const _0x4e9321=_0x1ae10e,{scene:_0x9cdc3e,mainComponent:_0x49e929}=this[_0x4e9321(0x374)],_0x45970c=_0x253388[_0x4e9321(0x1af)](_0x4442f0=>new qe(_0x4442f0,_0x9cdc3e,_0x654495,_0x49e929));this[_0x4e9321(0x264)]=_0x45970c,this[_0x4e9321(0x1dc)]=_0x253388;}[_0x1ae10e(0x1e6)](){const _0x32ab02=_0x1ae10e;this[_0x32ab02(0x35f)]();const {scene:_0x195bae,mainComponent:_0x472c78}=this[_0x32ab02(0x374)],_0x12e14a=this[_0x32ab02(0x1f5)][_0x32ab02(0x1c0)](),_0x3a6e1e=this[_0x32ab02(0x1dc)][_0x32ab02(0x1af)](_0x21de70=>new qe(_0x21de70,_0x195bae,_0x12e14a,_0x472c78));this[_0x32ab02(0x264)]=_0x3a6e1e;}[_0x1ae10e(0x35f)](){const _0x29a569=_0x1ae10e;this[_0x29a569(0x264)]['forEach'](_0x125490=>_0x125490[_0x29a569(0x1fd)]()),this[_0x29a569(0x264)]=[];}[_0x1ae10e(0x329)](){const _0xf05fe3=_0x1ae10e,_0x4cc501=[_0x25e65d['id']];this[_0xf05fe3(0x20f)](this[_0xf05fe3(0x341)][_0xf05fe3(0x381)](_0x201df3=>{const _0x40851a=_0xf05fe3;_0x4cc501[_0x40851a(0x278)](_0x201df3['id'])&&_0x201df3[_0x40851a(0x357)][_0x40851a(0x281)]===this['_context'][_0x40851a(0x281)]&&this[_0x40851a(0x1e6)]();}));}[_0x1ae10e(0x37d)](){const _0x1089f8=_0x1ae10e;this[_0x1089f8(0x20f)](_0x5d29f0(this[_0x1089f8(0x374)][_0x1089f8(0x1ca)][_0x1089f8(0x2cf)])[_0x1089f8(0x353)](_0x58ce67(_0xdbfbac=>_0xdbfbac[_0x1089f8(0x19c)]===_0xdf52f[_0x1089f8(0x1cc)]),_0x4d5eb6(0x10))[_0x1089f8(0x339)](()=>{const _0x739eb=_0x1089f8;this[_0x739eb(0x1e6)]();}));}};Le=ji([ee(0x1,_0x1d3e8b(_0x3d2d9a)),ee(0x2,_0x1d3e8b(F)),ee(0x3,_0x361b6f),ee(0x4,_0x1d3e8b(_0x351d57))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x497ddf{constructor(_0x83fa03,_0x510cc1){const _0x405ae4=_0x1ae10e;super(_0x83fa03,_0x510cc1),_(this,_0x405ae4(0x186)),_(this,'_hovered',!0x1),_(this,_0x405ae4(0x18a)),_(this,_0x405ae4(0x2f2),''),_(this,_0x405ae4(0x1bb),_0x405ae4(0x284)),_(this,_0x405ae4(0x19e)),(_0x510cc1&&this[_0x405ae4(0x25c)](_0x510cc1),this[_0x405ae4(0x195)]['subscribeEvent'](()=>this[_0x405ae4(0x25c)]({'hovered':!0x0})),this['onPointerLeave$'][_0x405ae4(0x1df)](()=>this[_0x405ae4(0x25c)]({'hovered':!0x1})));}['setShapeProps'](_0x22d94a){const _0x420d60=_0x1ae10e;var _0x4e91db,_0x1c6d78,_0x27525d,_0x3fc5c9,_0xc6d86e,_0x53b864;this[_0x420d60(0x186)]=(_0x4e91db=_0x22d94a[_0x420d60(0x276)])!=null?_0x4e91db:this[_0x420d60(0x186)],this[_0x420d60(0x254)]=(_0x1c6d78=_0x22d94a[_0x420d60(0x199)])!=null?_0x1c6d78:this[_0x420d60(0x254)],this[_0x420d60(0x18a)]=(_0x27525d=_0x22d94a[_0x420d60(0x216)])!=null?_0x27525d:this['_range'],this[_0x420d60(0x2f2)]=(_0x3fc5c9=_0x22d94a[_0x420d60(0x318)])!=null?_0x3fc5c9:this[_0x420d60(0x2f2)],this[_0x420d60(0x1bb)]=(_0xc6d86e=_0x22d94a[_0x420d60(0x2f6)])!=null?_0xc6d86e:this['_labelPosition'],this[_0x420d60(0x19e)]=(_0x53b864=_0x22d94a[_0x420d60(0x2d8)])!=null?_0x53b864:this[_0x420d60(0x19e)],this[_0x420d60(0x22a)]({'width':_0x22d94a[_0x420d60(0x34d)],'height':_0x22d94a[_0x420d60(0x31a)]});}[_0x1ae10e(0x1ab)](_0x55a2bc){const _0x4ceb12=_0x1ae10e,{row:_0xc56ef8,column:_0x90a5bf}=_0x55a2bc;if(_0xc56ef8>=this[_0x4ceb12(0x18a)][_0x4ceb12(0x2ad)]&&_0xc56ef8<=this['_range']['endRow']&&_0x90a5bf>=this[_0x4ceb12(0x18a)][_0x4ceb12(0x37c)]&&_0x90a5bf<=this[_0x4ceb12(0x18a)][_0x4ceb12(0x21d)]){this[_0x4ceb12(0x25c)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1ae10e(0x1a2)](_0x1e6bb3){return!0x1;}[_0x1ae10e(0x309)](_0x3cf459){const _0x4cc372=_0x1ae10e;_0x34d57f['drawWith'](_0x3cf459,{'width':this[_0x4cc372(0x34d)],'height':this[_0x4cc372(0x31a)],'strokeWidth':Wi,'stroke':this[_0x4cc372(0x186)],'evented':!0x1,'fill':this[_0x4cc372(0x19e)]}),this['_hovered']&&(_0x3cf459[_0x4cc372(0x275)](),_0x3cf459[_0x4cc372(0x20a)](0x1,0x0,0x0,0x1,this[_0x4cc372(0x34d)],this['_labelPosition']==='bottom'?0x0:-J),ue['drawWith'](_0x3cf459,{'text':this['_name'],'color':this[_0x4cc372(0x186)]}),_0x3cf459['restore']());}}var Gi=Object[_0x1ae10e(0x26e)],Ki=(_0x343ffb,_0x2820e4,_0x467152,_0x45af6f)=>{const _0x51e40=_0x1ae10e;for(var _0x48f0ac=_0x45af6f>0x1?void 0x0:_0x45af6f?Gi(_0x2820e4,_0x467152):_0x2820e4,_0x2a525d=_0x343ffb[_0x51e40(0x19f)]-0x1,_0x17c419;_0x2a525d>=0x0;_0x2a525d--)(_0x17c419=_0x343ffb[_0x2a525d])&&(_0x48f0ac=_0x17c419(_0x48f0ac)||_0x48f0ac);return _0x48f0ac;},pe=(_0x2621e1,_0x5d6549)=>(_0x1fad9d,_0x5f3dac)=>_0x5d6549(_0x1fad9d,_0x5f3dac,_0x2621e1);const zi=0x1389;let Pe=class extends _0x1510b5{constructor(_0x122eaa,_0x498fe6,_0x59df96,_0x597806){const _0x1c3d97=_0x1ae10e;super(),_(this,_0x1c3d97(0x1dc),new Set()),_(this,_0x1c3d97(0x1e0),null),(this['_context']=_0x122eaa,this[_0x1c3d97(0x288)]=_0x498fe6,this['_collabCursorController']=_0x59df96,this[_0x1c3d97(0x181)]=_0x597806,this['_init']());}[_0x1ae10e(0x1c2)](){const _0x236533=_0x1ae10e;this[_0x236533(0x288)][_0x236533(0x184)]['pipe'](_0x283d91(this[_0x236533(0x2a6)]),_0x31ee37(_0x419237=>{const _0x136bba=_0x236533;if(_0x419237){const _0x56777b=_0x419237['sheetId'];return _0x18d482(this[_0x136bba(0x350)]['getCollabCursors$'](this[_0x136bba(0x374)][_0x136bba(0x281)]),this['_themeService'][_0x136bba(0x22b)])['pipe'](_0x1037dc(([_0x652225,_0x450da7])=>{const _0x5cc0e2=new Map();return _0x652225['forEach']((_0x482b53,_0x390803)=>{const _0x73c4be=_0x2872;if(_0x482b53[_0x73c4be(0x28c)]===_0x56777b){const _0x3297b4={..._0x482b53};_0x3297b4['color']=this[_0x73c4be(0x181)][_0x73c4be(0x1dd)](_0x482b53[_0x73c4be(0x276)]),_0x5cc0e2[_0x73c4be(0x2e0)](_0x390803,_0x3297b4);}}),{'skeleton':_0x419237,'cursors':_0x5cc0e2};}));}return _0x3cc996({'skeleton':null,'cursors':new Map()});}))[_0x236533(0x339)](({skeleton:_0x2d62bb,cursors:_0x126be9})=>{this['_removeCollabCursors'](),_0x2d62bb&&this['_updateCollabCursors'](_0x2d62bb,_0x126be9);}),this[_0x236533(0x288)][_0x236533(0x184)][_0x236533(0x339)](_0x3d5654=>{const _0x161e4d=_0x236533;if(_0x3d5654==null)return;const {skeleton:_0x1e4417}=_0x3d5654,{scene:_0x35da9f}=this[_0x161e4d(0x374)];_0x35da9f[_0x161e4d(0x2d2)][_0x161e4d(0x1df)](_0x213e33(_0x25dd51=>{const _0x4e17ff=_0x161e4d;var _0x338efe,_0xfae1fc;const {offsetX:_0x3112d7,offsetY:_0x50e698}=_0x25dd51,{x:_0x235912,y:_0x23b933}=_0x35da9f[_0x4e17ff(0x23d)](_0xde2d5f[_0x4e17ff(0x302)]([_0x3112d7,_0x50e698])),{scaleX:_0x52a901,scaleY:_0x594076}=_0x35da9f[_0x4e17ff(0x25f)](),_0x2e2fb2=_0x35da9f[_0x4e17ff(0x1cf)](_0x598740[_0x4e17ff(0x285)]),_0x537da1=_0x35da9f[_0x4e17ff(0x306)](_0xde2d5f[_0x4e17ff(0x302)]([_0x235912,_0x23b933]),_0x2e2fb2),_0x3f189f=_0x1e4417[_0x4e17ff(0x235)](_0x3112d7,_0x50e698,_0x52a901,_0x594076,_0x537da1);((_0x338efe=this[_0x4e17ff(0x1e0)])==null?void 0x0:_0x338efe['column'])===_0x3f189f[_0x4e17ff(0x1f6)]&&((_0xfae1fc=this[_0x4e17ff(0x1e0)])==null?void 0x0:_0xfae1fc[_0x4e17ff(0x1f4)])===_0x3f189f['row']||this[_0x4e17ff(0x1dc)][_0x4e17ff(0x324)](_0x43161c=>{_0x43161c['onMouseMove'](_0x3f189f);});},0x64));});}[_0x1ae10e(0x2c0)](_0x757a08,_0x52074f){const _0x57cb79=_0x1ae10e;var _0xa7ea43;const _0xca5cf3=(_0xa7ea43=this['_sheetSkeletonManagerService'][_0x57cb79(0x245)]())==null?void 0x0:_0xa7ea43[_0x57cb79(0x204)];if(!_0xca5cf3)return;const _0x26e2aa=this[_0x57cb79(0x365)]();if(!_0x26e2aa)return;this[_0x57cb79(0x1dc)][_0x57cb79(0x324)](_0xc93bd9=>{const _0x5baa82=_0x57cb79;_0xc93bd9[_0x5baa82(0x319)]();});const {scene:_0x4da75f}=_0x26e2aa,_0x2dbd10=Ji(Array[_0x57cb79(0x18e)](_0x52074f[_0x57cb79(0x33e)]()))['map'](_0x105fd9=>{const _0x367fbe=_0x57cb79,{color:_0x12e7cb,range:_0x169f62,name:_0x362447,selection:_0x5f4096,sheetID:_0x4b90f6}=_0x105fd9,{startColumn:_0x5eeb3a,startRow:_0xe2675,endColumn:_0x47e0cb,endRow:_0x20a6d0}=_0x169f62,_0x20835b=_0x17a0f2(_0xe2675,_0x5eeb3a,_0x4da75f,_0xca5cf3),_0x438b3e=_0x17a0f2(_0x20a6d0,_0x47e0cb,_0x4da75f,_0xca5cf3),{columnHeaderHeightAndMarginTop:_0x35029b}=_0xca5cf3,{startX:_0x318303,startY:_0x39b1e7}=_0x20835b,{endX:_0x46f210,endY:_0x6a5911}=_0x438b3e,_0x28f636=_0x46f210-_0x318303,_0xbd869=_0x6a5911-_0x39b1e7,_0x3205bc={'labelPosition':_0x39b1e7-_0x35029b>=J?_0x367fbe(0x284):_0x367fbe(0x320),'sheetID':_0x4b90f6,'range':_0x169f62,'color':_0x12e7cb,'name':_0x362447,'selection':_0x5f4096,'left':_0x318303,'top':_0x39b1e7,'width':_0x28f636,'height':_0xbd869,'evented':!0x1,'zIndex':zi};return new Xi(_0x362447,_0x3205bc);});_0x4da75f[_0x57cb79(0x283)](_0x2dbd10,Vi),this[_0x57cb79(0x1dc)]=new Set(_0x2dbd10);}[_0x1ae10e(0x35f)](){const _0x14c845=_0x1ae10e;var _0x28fa80;(_0x28fa80=this['_cursors'])==null||_0x28fa80[_0x14c845(0x324)](_0x23394c=>_0x23394c[_0x14c845(0x1fd)]());}[_0x1ae10e(0x365)](){const _0x40d76f=_0x1ae10e;return _0x354e91(this[_0x40d76f(0x374)][_0x40d76f(0x2d9)],this[_0x40d76f(0x374)]);}};Pe=Ki([pe(0x1,_0x1d3e8b(_0x1a1aa2)),pe(0x2,_0x1d3e8b(F)),pe(0x3,_0x1d3e8b(_0x351d57))],Pe);function Ji(_0x19e3ee){const _0x146c0e=_0x1ae10e,_0x4e374a=new Map();return _0x19e3ee[_0x146c0e(0x324)](_0x35738e=>{const _0x559485=_0x146c0e;if(_0x4e374a['has'](_0x35738e[_0x559485(0x1ff)])){const _0x19d1e5=_0x4e374a[_0x559485(0x244)](_0x35738e[_0x559485(0x1ff)]);_0x19d1e5['name']+=',\x20'+_0x35738e[_0x559485(0x318)];}else _0x4e374a[_0x559485(0x2e0)](_0x35738e[_0x559485(0x1ff)],_0x35738e);}),Array['from'](_0x4e374a['values']());}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0xeb8cb1,_0x10352f,_0x180ff8,_0x2ba18a)=>{const _0x450496=_0x1ae10e;for(var _0x353336=_0x2ba18a>0x1?void 0x0:_0x2ba18a?Zi(_0x10352f,_0x180ff8):_0x10352f,_0x3cb1e3=_0xeb8cb1[_0x450496(0x19f)]-0x1,_0x26d90d;_0x3cb1e3>=0x0;_0x3cb1e3--)(_0x26d90d=_0xeb8cb1[_0x3cb1e3])&&(_0x353336=_0x26d90d(_0x353336)||_0x353336);return _0x353336;},B=(_0x5773a2,_0x49af9a)=>(_0x199d60,_0x1a551c)=>_0x49af9a(_0x199d60,_0x1a551c,_0x5773a2);let ne=class extends _0x390745{constructor(_0x50cd6b,_0x418c35,_0x39d027,_0x288ab5,_0x403950,_0x430477){const _0x209a10=_0x1ae10e;super(),this[_0x209a10(0x28b)]=_0x50cd6b,this[_0x209a10(0x259)]=_0x418c35,this['_collaborationUIEventService']=_0x39d027,this['_messageService']=_0x288ab5,this[_0x209a10(0x201)]=_0x403950,this[_0x209a10(0x222)]=_0x430477,this[_0x209a10(0x383)](),this[_0x209a10(0x1b5)]();}[_0x1ae10e(0x383)](){const _0x29f42c=_0x1ae10e;this[_0x29f42c(0x20f)](this[_0x29f42c(0x28b)][_0x29f42c(0x33f)](()=>{const _0x277efa=_0x29f42c;if(this[_0x277efa(0x259)]['saveTaskMap'][_0x277efa(0x334)])return this['_localeService']['t'](_0x277efa(0x214));}));}[_0x1ae10e(0x1b5)](){const _0x3485db=_0x1ae10e;this[_0x3485db(0x20f)](this[_0x3485db(0x193)][_0x3485db(0x2d4)][_0x3485db(0x339)](_0x2790b3=>{const _0x46c792=_0x3485db;_0x2790b3['id']===_0x4913db[_0x46c792(0x30b)]&&this[_0x46c792(0x29b)][_0x46c792(0x17f)]({'type':_0x574138[_0x46c792(0x24c)],'content':this['_localeService']['t'](_0x46c792(0x2bc))}),_0x2790b3['id']===_0x4913db[_0x46c792(0x294)]&&this[_0x46c792(0x29b)][_0x46c792(0x17f)]({'type':_0x574138[_0x46c792(0x24c)],'content':this[_0x46c792(0x222)]['t'](_0x46c792(0x32c))}),_0x2790b3['id']===_0x4913db[_0x46c792(0x2c5)]&&this[_0x46c792(0x201)]['show']({'title':this[_0x46c792(0x222)]['t'](_0x46c792(0x2aa)),'content':this[_0x46c792(0x222)]['t'](_0x46c792(0x1fa)),'type':_0x46c792(0x2a1),'duration':0x0}),_0x2790b3['id']===_0x4913db[_0x46c792(0x2d3)]&&this[_0x46c792(0x29b)][_0x46c792(0x17f)]({'type':_0x574138[_0x46c792(0x2fa)],'content':this[_0x46c792(0x222)]['t']('collaboration.closeRoom')+'('+_0x2790b3[_0x46c792(0x338)]+')'}),_0x2790b3['id']===_0x4913db[_0x46c792(0x370)]&&this['_messageService'][_0x46c792(0x17f)]({'type':_0x574138[_0x46c792(0x24c)],'content':this[_0x46c792(0x222)]['t'](_0x2790b3[_0x46c792(0x338)]||'')}),_0x2790b3['id']===_0x4913db[_0x46c792(0x2b8)]&&this['_messageService'][_0x46c792(0x17f)]({'type':_0x574138[_0x46c792(0x24c)],'content':this[_0x46c792(0x222)]['t'](_0x46c792(0x27b))}),_0x2790b3['id']===_0x4913db[_0x46c792(0x2b4)]&&this['_messageService'][_0x46c792(0x17f)]({'type':_0x574138[_0x46c792(0x2fa)],'content':this[_0x46c792(0x222)]['t']('session.connection-failed')}),_0x2790b3['id']===_0x4913db[_0x46c792(0x38e)]&&this['_messageService'][_0x46c792(0x17f)]({'type':_0x574138[_0x46c792(0x2fa)],'content':this[_0x46c792(0x222)]['t']('session.collaboration-timeout')});}));}};ne=Qi([B(0x0,_0x3213e7),B(0x1,_0x3b83f7),B(0x2,_0x1d3e8b(_0x24b7af)),B(0x3,_0x4297d6),B(0x4,_0x3daad6),B(0x5,_0x1d3e8b(_0x12e025))],ne);const qi=_0x1ae10e(0x1b9),et={};var en=Object['getOwnPropertyDescriptor'],tn=(_0x2a0b8b,_0x59f216,_0x40daed,_0x50974c)=>{const _0x33987d=_0x1ae10e;for(var _0x21765c=_0x50974c>0x1?void 0x0:_0x50974c?en(_0x59f216,_0x40daed):_0x59f216,_0x46ee8b=_0x2a0b8b[_0x33987d(0x19f)]-0x1,_0x1ba3ad;_0x46ee8b>=0x0;_0x46ee8b--)(_0x1ba3ad=_0x2a0b8b[_0x46ee8b])&&(_0x21765c=_0x1ba3ad(_0x21765c)||_0x21765c);return _0x21765c;},tt=(_0x13dc5b,_0x2cb979)=>(_0x4fc4ea,_0x30cacd)=>_0x2cb979(_0x4fc4ea,_0x30cacd,_0x13dc5b);let re=class{constructor(_0x2d3766,_0xb7d50d){const _0x4acf61=_0x1ae10e;this[_0x4acf61(0x23c)]=_0x2d3766,this[_0x4acf61(0x2f8)]=_0xb7d50d;}[_0x1ae10e(0x1aa)](_0x214dfb){const _0x5a59c8=_0x1ae10e;this['_transformUndoRedoStack'](_0x214dfb),this[_0x5a59c8(0x2e6)](_0x214dfb);}[_0x1ae10e(0x291)](_0x381c3c){const _0x1b20d7=_0x1ae10e,{unitID:_0x4878e7}=_0x381c3c,_0x5d01d9=this[_0x1b20d7(0x2f8)][_0x1b20d7(0x2d5)](_0x4878e7)[_0x1b20d7(0x2db)](_0x56c66e),{redoCache:_0x21abb3}=_0x5d01d9[_0x1b20d7(0x22e)]();if(_0x21abb3[_0x1b20d7(0x19f)]===0x0)return _0x381c3c;let _0x228dd2=_0x5891f7['deepClone'](_0x381c3c['mutations'][0x0]);for(let _0x51266f=0x0;_0x51266f<_0x21abb3[_0x1b20d7(0x19f)];_0x51266f++){const _0x285472={'id':'doc.mutation.rich-text-editing','params':{..._0x21abb3[_0x51266f]}},_0x4c95bf=this['_transformService']['transformMutation'](_0x228dd2,_0x285472,!0x1);if(_0xb488fc(_0x4c95bf))throw _0x4c95bf[_0x1b20d7(0x2a1)];_0x228dd2=_0x4c95bf['m1Prime'];}return{..._0x5891f7[_0x1b20d7(0x379)](_0x381c3c),'mutations':[_0x228dd2]};}[_0x1ae10e(0x1d3)](_0x594530){const _0xb8cd5b=_0x1ae10e,{unitID:_0x3a8a45}=_0x594530,_0x1d878d=this['_renderManagerService'][_0xb8cd5b(0x2d5)](_0x3a8a45)[_0xb8cd5b(0x2db)](_0x56c66e),{undoCache:_0x4f4d9f,redoCache:_0x48fb1e}=_0x1d878d[_0xb8cd5b(0x22e)]();if(_0x4f4d9f[_0xb8cd5b(0x19f)]===0x0||_0x48fb1e['length']===0x0)return;const _0x3f31c2=[],_0x3097c5=[];let _0x228bb0=_0x5891f7[_0xb8cd5b(0x379)](_0x594530[_0xb8cd5b(0x385)][0x0]),_0x14fcbf=_0x5891f7[_0xb8cd5b(0x379)](_0x594530[_0xb8cd5b(0x385)][0x0]);for(let _0x46167f=_0x4f4d9f[_0xb8cd5b(0x19f)]-0x1;_0x46167f>=0x0;_0x46167f--){const _0x5e3268={'id':_0xb8cd5b(0x348),'params':{..._0x4f4d9f[_0x46167f]}},_0x5578af={'id':_0xb8cd5b(0x348),'params':{..._0x48fb1e[_0x46167f]}},_0x3e07c0=this[_0xb8cd5b(0x23c)][_0xb8cd5b(0x194)](_0x228bb0,_0x5e3268,!0x1),_0x2b5266=this[_0xb8cd5b(0x23c)]['transformMutation'](_0x14fcbf,_0x5578af,!0x1);if(_0xb488fc(_0x3e07c0))throw _0x3e07c0['error'];if(_0xb488fc(_0x2b5266))throw _0x2b5266[_0xb8cd5b(0x2a1)];_0x3f31c2[_0xb8cd5b(0x1e4)](_0x3e07c0[_0xb8cd5b(0x1de)][_0xb8cd5b(0x357)]),_0x3097c5[_0xb8cd5b(0x1e4)](_0x2b5266['m2Prime'][_0xb8cd5b(0x357)]),_0x228bb0=_0x3e07c0[_0xb8cd5b(0x27a)],_0x14fcbf=_0x2b5266['m1Prime'];}_0x1d878d[_0xb8cd5b(0x25e)]({'undoCache':_0x3f31c2,'redoCache':_0x3097c5});}[_0x1ae10e(0x2e6)](_0x4417fb){const _0x519b54=_0x1ae10e,{unitID:_0x183769}=_0x4417fb,_0x5da70a=this[_0x519b54(0x2f8)][_0x519b54(0x2d5)](_0x183769)[_0x519b54(0x2db)](_0x56c66e),_0x494308=_0x5da70a[_0x519b54(0x1c8)]();if(_0x494308==null)return;const _0x3ec0dc=[{'id':_0x519b54(0x348),'params':{'unitId':_0x4417fb[_0x519b54(0x392)],'actions':null,'textRanges':[_0x494308]}}],_0x22383c=this[_0x519b54(0x23c)]['transformMutationsWithChangeset'](_0x4417fb,_0x3ec0dc);if(!_0x1747a3(_0x22383c))throw _0x22383c['error'];const _0x427b02=_0x22383c['m2Prime'][0x0]['params'][_0x519b54(0x257)];Array[_0x519b54(0x1bf)](_0x427b02)&&_0x427b02[_0x519b54(0x19f)]&&_0x5da70a['setActiveRange'](_0x427b02[0x0]);}};re=tn([tt(0x0,_0x1c9dc7),tt(0x1,_0x38777a)],re);var sn=Object[_0x1ae10e(0x26e)],nn=(_0x4ec674,_0x3286a9,_0x321d8e,_0x5bdb4a)=>{const _0x3f6b17=_0x1ae10e;for(var _0x30b779=_0x5bdb4a>0x1?void 0x0:_0x5bdb4a?sn(_0x3286a9,_0x321d8e):_0x3286a9,_0x37f381=_0x4ec674[_0x3f6b17(0x19f)]-0x1,_0x456301;_0x37f381>=0x0;_0x37f381--)(_0x456301=_0x4ec674[_0x37f381])&&(_0x30b779=_0x456301(_0x30b779)||_0x30b779);return _0x30b779;},Ce=(_0x33c9c0,_0x543e43)=>(_0x39a940,_0x3a5770)=>_0x543e43(_0x39a940,_0x3a5770,_0x33c9c0);let oe=class{constructor(_0x4793da,_0x3dfd84,_0x5cb635){const _0x3880b9=_0x1ae10e;this[_0x3880b9(0x362)]=_0x4793da,this[_0x3880b9(0x23c)]=_0x3dfd84,this[_0x3880b9(0x197)]=_0x5cb635;}[_0x1ae10e(0x27d)](_0x387287){const _0x4a4c24=_0x1ae10e;this[_0x4a4c24(0x2ff)](_0x387287);}[_0x1ae10e(0x291)](_0x775688){const _0x69795e=_0x1ae10e,{unitID:_0x2237c3}=_0x775688,{collaboration:_0x244754}=this[_0x69795e(0x197)][_0x69795e(0x2a0)](_0x2237c3);if(_0x244754[_0x69795e(0x19f)]===0x0)return _0x775688;let _0x4be2fe=_0x5891f7['deepClone'](_0x775688[_0x69795e(0x385)][0x0]);for(let _0x329699=0x0;_0x329699<_0x244754[_0x69795e(0x19f)];_0x329699++){const _0x1dbd2f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x244754[_0x329699][_0x69795e(0x281)],..._0x244754[_0x329699][_0x69795e(0x1eb)]}},_0x34afe7=this[_0x69795e(0x23c)][_0x69795e(0x194)](_0x4be2fe,_0x1dbd2f,!0x1);if(_0xb488fc(_0x34afe7))throw _0x34afe7[_0x69795e(0x2a1)];_0x4be2fe=_0x34afe7[_0x69795e(0x27a)];}return{..._0x5891f7[_0x69795e(0x379)](_0x775688),'mutations':[_0x4be2fe]};}[_0x1ae10e(0x2ff)](_0x31e31f){const _0x454885=_0x1ae10e,{unitID:_0x28b3c7}=_0x31e31f,{history:_0x151370,collaboration:_0x253358}=this['_docStateChangeManagerService'][_0x454885(0x2a0)](_0x28b3c7);if(_0x151370[_0x454885(0x19f)]===0x0&&_0x253358[_0x454885(0x19f)]===0x0)return;const _0x2bfab8=[],_0x5418ec=[];let _0xd7328f=_0x5891f7[_0x454885(0x379)](_0x31e31f[_0x454885(0x385)][0x0]),_0x3bea4f=_0x5891f7[_0x454885(0x379)](_0x31e31f[_0x454885(0x385)][0x0]);for(let _0x52b2b5=_0x151370['length']-0x1;_0x52b2b5>=0x0;_0x52b2b5--){const _0x119847={'id':_0x454885(0x348),'params':{'unitId':_0x151370[_0x52b2b5][_0x454885(0x281)],..._0x151370[_0x52b2b5][_0x454885(0x240)]}},_0x382a5e={'id':_0x454885(0x348),'params':{'unitId':_0x151370[_0x52b2b5][_0x454885(0x281)],..._0x151370[_0x52b2b5][_0x454885(0x1eb)]}},_0x45d7e7=this[_0x454885(0x23c)][_0x454885(0x194)](_0xd7328f,_0x119847,!0x1),_0x17be6c=this[_0x454885(0x23c)]['transformMutation'](_0x3bea4f,_0x382a5e,!0x1);if(_0xb488fc(_0x45d7e7))throw _0x45d7e7['error'];if(_0xb488fc(_0x17be6c))throw _0x17be6c[_0x454885(0x2a1)];_0x2bfab8[_0x454885(0x1e4)]({..._0x151370[_0x52b2b5],'undoState':_0x45d7e7['m2Prime'][_0x454885(0x357)],'redoState':_0x17be6c[_0x454885(0x1de)][_0x454885(0x357)]}),_0xd7328f=_0x45d7e7[_0x454885(0x27a)],_0x3bea4f=_0x17be6c[_0x454885(0x27a)];}_0xd7328f=_0x5891f7[_0x454885(0x379)](_0x31e31f[_0x454885(0x385)][0x0]),_0x3bea4f=_0x5891f7[_0x454885(0x379)](_0x31e31f[_0x454885(0x385)][0x0]);for(let _0x3c1784=_0x253358[_0x454885(0x19f)]-0x1;_0x3c1784>=0x0;_0x3c1784--){const _0x2b3051={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x253358[_0x3c1784][_0x454885(0x281)],..._0x253358[_0x3c1784][_0x454885(0x240)]}},_0x315afb={'id':_0x454885(0x348),'params':{'unitId':_0x253358[_0x3c1784][_0x454885(0x281)],..._0x253358[_0x3c1784][_0x454885(0x1eb)]}},_0x33c824=this[_0x454885(0x23c)][_0x454885(0x194)](_0xd7328f,_0x2b3051,!0x1),_0xe5540a=this[_0x454885(0x23c)][_0x454885(0x194)](_0x3bea4f,_0x315afb,!0x1);if(_0xb488fc(_0x33c824))throw _0x33c824[_0x454885(0x2a1)];if(_0xb488fc(_0xe5540a))throw _0xe5540a[_0x454885(0x2a1)];_0x5418ec[_0x454885(0x1e4)]({..._0x253358[_0x3c1784],'undoState':_0x33c824[_0x454885(0x1de)][_0x454885(0x357)],'redoState':_0xe5540a[_0x454885(0x1de)][_0x454885(0x357)]}),_0xd7328f=_0x33c824[_0x454885(0x27a)],_0x3bea4f=_0xe5540a['m1Prime'];}this['_docStateChangeManagerService'][_0x454885(0x229)](_0x28b3c7,{'history':_0x2bfab8,'collaboration':_0x5418ec});}};oe=nn([Ce(0x0,_0x1d3e8b(_0x3fc4d6)),Ce(0x1,_0x1c9dc7),Ce(0x2,_0x1d3e8b(_0x4a0cbe))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x2b3773,_0x312c0a,_0x28a825,_0x581c87)=>{const _0x55e094=_0x1ae10e;for(var _0x57e86e=_0x581c87>0x1?void 0x0:_0x581c87?rn(_0x312c0a,_0x28a825):_0x312c0a,_0xf29755=_0x2b3773[_0x55e094(0x19f)]-0x1,_0x3db3a9;_0xf29755>=0x0;_0xf29755--)(_0x3db3a9=_0x2b3773[_0xf29755])&&(_0x57e86e=_0x3db3a9(_0x57e86e)||_0x57e86e);return _0x57e86e;},st=(_0x497061,_0x3789bd)=>(_0xb78aab,_0x4116ed)=>_0x3789bd(_0xb78aab,_0x4116ed,_0x497061);let ae=class{constructor(_0x277668,_0x264db1){const _0x3b617c=_0x1ae10e;this['_injector']=_0x277668,this[_0x3b617c(0x23c)]=_0x264db1;}[_0x1ae10e(0x227)](_0x32edc5){const _0x60d6cf=_0x1ae10e;var _0x299523;const _0x48bc7f=this[_0x60d6cf(0x362)]['get'](_0x33e165),_0x387063=(_0x299523=_0x48bc7f['getDocRanges']())!=null?_0x299523:[];if(_0x387063['length']===0x0)return;const _0x38f2c0=_0x32edc5['unitID'],_0x26b82b=[{'id':_0x60d6cf(0x348),'params':{'unitId':_0x38f2c0,'actions':null,'textRanges':_0x387063}}],_0x1764f6=this[_0x60d6cf(0x23c)]['transformMutationsWithChangeset'](_0x32edc5,_0x26b82b);if(!_0x1747a3(_0x1764f6))throw _0x1764f6[_0x60d6cf(0x2a1)];const _0x2eddfb=_0x1764f6[_0x60d6cf(0x1de)][0x0][_0x60d6cf(0x357)][_0x60d6cf(0x257)];Array[_0x60d6cf(0x1bf)](_0x2eddfb)&&_0x2eddfb['length']&&_0x48bc7f[_0x60d6cf(0x378)](_0x2eddfb,{'unitId':_0x38f2c0,'subUnitId':_0x38f2c0},!0x1);}};ae=on([st(0x0,_0x1d3e8b(_0x3fc4d6)),st(0x1,_0x1c9dc7)],ae);var an=Object[_0x1ae10e(0x26e)],cn=(_0x2a4892,_0x38a2cf,_0x5ca4e0,_0x4a18eb)=>{const _0xff2e78=_0x1ae10e;for(var _0x472c22=_0x4a18eb>0x1?void 0x0:_0x4a18eb?an(_0x38a2cf,_0x5ca4e0):_0x38a2cf,_0x2839ae=_0x2a4892[_0xff2e78(0x19f)]-0x1,_0x1cfb87;_0x2839ae>=0x0;_0x2839ae--)(_0x1cfb87=_0x2a4892[_0x2839ae])&&(_0x472c22=_0x1cfb87(_0x472c22)||_0x472c22);return _0x472c22;},N=(_0x5651a9,_0x466233)=>(_0x3764c6,_0x4b7f8b)=>_0x466233(_0x3764c6,_0x4b7f8b,_0x5651a9);let ce=class extends _0x390745{constructor(_0x58f6c6,_0x1b1c03,_0x5b6aeb,_0x311ccb,_0xceff5,_0x17eac9,_0x1f2a7e,_0x70c8bc){const _0x936de7=_0x1ae10e;super(),_(this,_0x936de7(0x2d0),new _0x29f49b(_0x41fb1b[_0x936de7(0x297)])),(this[_0x936de7(0x197)]=_0x58f6c6,this[_0x936de7(0x2b2)]=_0x1b1c03,this[_0x936de7(0x358)]=_0x5b6aeb,this['_docTransformStateCacheService']=_0x311ccb,this[_0x936de7(0x215)]=_0xceff5,this[_0x936de7(0x1a6)]=_0x17eac9,this['_messageService']=_0x1f2a7e,this[_0x936de7(0x222)]=_0x70c8bc,this[_0x936de7(0x24e)]());}[_0x1ae10e(0x24e)](){const _0x4c4ba5=_0x1ae10e;this['disposeWithMe'](this[_0x4c4ba5(0x2b2)][_0x4c4ba5(0x266)][_0x4c4ba5(0x339)](_0x105b3a=>{const _0x5addf7=_0x4c4ba5,_0x4d95c6=this[_0x5addf7(0x197)][_0x5addf7(0x1fb)][_0x5addf7(0x339)](_0x322d64=>{const _0x36415e=_0x5addf7;if(_0x322d64==null)return;const {unitId:_0x16d360,redoState:_0x3b846a,commandId:_0x21bb4b}=_0x322d64;if(_0x16d360!==_0x105b3a['unitID'])return;const _0x6ffd38={'id':_0x21bb4b,'type':_0x35b179[_0x36415e(0x389)],'params':{'unitId':_0x16d360,'actions':_0x3b846a[_0x36415e(0x29e)],'textRanges':null}};_0x105b3a[_0x36415e(0x1d0)](_0x6ffd38);});if(_0x105b3a['disposeWithMe'](_0x4d95c6),_0x105b3a instanceof _0x1f8ec2){const _0x557ab0={'onTransformIME':_0x28d527=>this['_docTransformIMECacheService'][_0x5addf7(0x1aa)](_0x28d527),'onTransformState':_0x51bbb0=>this[_0x5addf7(0x1b6)][_0x5addf7(0x27d)](_0x51bbb0),'onTransformSelections':_0x564085=>this[_0x5addf7(0x215)][_0x5addf7(0x227)](_0x564085),'onSyncEditingCollabCursor':_0x5f03a6=>this[_0x5addf7(0x1a6)][_0x5addf7(0x2da)](_0x5f03a6),'onTransformRemoteChangesetByIMECache':_0x17c8fc=>this[_0x5addf7(0x358)][_0x5addf7(0x291)](_0x17c8fc),'onTransformRemoteChangesetByStateCache':_0x1ee7ce=>this[_0x5addf7(0x1b6)][_0x5addf7(0x291)](_0x1ee7ce)};_0x105b3a['addHandlerCallback'](_0x557ab0);}}));}};ce=cn([N(0x0,_0x1d3e8b(_0x4a0cbe)),N(0x1,_0x1d3e8b(_0x4a5f71)),N(0x2,_0x1d3e8b(re)),N(0x3,_0x1d3e8b(oe)),N(0x4,_0x1d3e8b(ae)),N(0x5,_0x1d3e8b(Fe)),N(0x6,_0x4297d6),N(0x7,_0x1d3e8b(_0x12e025))],ce);var ln=Object[_0x1ae10e(0x26e)],_n=(_0x4e0d60,_0x4c8e34,_0x991aae,_0x3a3fbd)=>{const _0x5a15eb=_0x1ae10e;for(var _0xc24e31=_0x3a3fbd>0x1?void 0x0:_0x3a3fbd?ln(_0x4c8e34,_0x991aae):_0x4c8e34,_0x445968=_0x4e0d60[_0x5a15eb(0x19f)]-0x1,_0x1e307d;_0x445968>=0x0;_0x445968--)(_0x1e307d=_0x4e0d60[_0x445968])&&(_0xc24e31=_0x1e307d(_0xc24e31)||_0xc24e31);return _0xc24e31;},Ee=(_0x22b458,_0x4e9f16)=>(_0x3709f9,_0x567b69)=>_0x4e9f16(_0x3709f9,_0x567b69,_0x22b458);let we=class extends _0x390745{constructor(_0x115080,_0x100c2b,_0x270d8d){const _0x2c287f=_0x1ae10e;super(),_(this,_0x2c287f(0x1ed),new Map()),_(this,_0x2c287f(0x1ee),new Map()),_(this,_0x2c287f(0x330),!0x1),(this['_configService']=_0x115080,this['_localStorageService']=_0x100c2b,this[_0x2c287f(0x388)]=_0x270d8d);}['disableLocalCache'](){const _0x7dea3e=_0x1ae10e;this[_0x7dea3e(0x330)]=!0x0;}[_0x1ae10e(0x267)](){const _0x2c0457=_0x1ae10e;this[_0x2c0457(0x330)]=!0x1;}get[_0x1ae10e(0x2a3)](){const _0x16325f=_0x1ae10e;return this[_0x16325f(0x1ee)];}[_0x1ae10e(0x1fd)](){const _0x3c36c0=_0x1ae10e;this[_0x3c36c0(0x35e)]()[_0x3c36c0(0x335)](()=>super[_0x3c36c0(0x1fd)]());}async[_0x1ae10e(0x29d)](_0x43da7a){const _0x3efc7=_0x1ae10e;return this[_0x3efc7(0x330)]?null:this[_0x3efc7(0x2fd)][_0x3efc7(0x25a)](_0x41d924(_0x43da7a));}async['saveOfflineData'](_0x410978,_0x83ee5c){const _0x5d17bf=_0x1ae10e;return!!this[_0x5d17bf(0x2fd)][_0x5d17bf(0x2be)](_0x410978,_0x83ee5c);}[_0x1ae10e(0x225)](_0x3a6795,_0x37f06f,_0x473c5d,_0x2bafbc){const _0x387d37=_0x1ae10e,_0xe41c3f=this[_0x387d37(0x388)][_0x387d37(0x342)](_0x3a6795);this[_0x387d37(0x1ed)][_0x387d37(0x2e0)](_0x3a6795,{'unitID':_0x3a6795,'type':_0x37f06f,'awaitingChangeset':_0x473c5d,'mutations':_0x2bafbc,'rev':_0xe41c3f}),this['_saveTaskMap']['has'](_0x3a6795)||this[_0x387d37(0x369)](_0x3a6795);}[_0x1ae10e(0x369)](_0x2c397b){const _0x5f0698=_0x1ae10e,_0x2f47b0=this['_getSaveTimeout']();_0x2f47b0===0x0?this[_0x5f0698(0x23e)](_0x2c397b):this['_saveTaskMap'][_0x5f0698(0x2e0)](_0x2c397b,setTimeout(()=>this[_0x5f0698(0x23e)](_0x2c397b),_0x2f47b0));}[_0x1ae10e(0x36f)](){const _0x5b15ce=_0x1ae10e;var _0x499df1;return(_0x499df1=this[_0x5b15ce(0x35b)][_0x5b15ce(0x343)](_0x56f847))!=null?_0x499df1:_0x52565a;}[_0x1ae10e(0x23e)](_0x266c53){const _0x465767=_0x1ae10e,_0x221bcf=this[_0x465767(0x1ee)][_0x465767(0x244)](_0x266c53);return _0x221bcf!==void 0x0&&window[_0x465767(0x301)](_0x221bcf),this['_localStorageService'][_0x465767(0x2be)](_0x41d924(_0x266c53),this['_cachedData'][_0x465767(0x244)](_0x266c53))['then'](()=>this[_0x465767(0x1ee)][_0x465767(0x269)](_0x266c53));}async[_0x1ae10e(0x35e)](){const _0x5a9168=_0x1ae10e,_0x1e7c3e=[];this[_0x5a9168(0x1ee)][_0x5a9168(0x324)]((_0x65494f,_0xb6513f)=>{const _0x5b5e88=_0x5a9168;window[_0x5b5e88(0x301)](_0x65494f),_0x1e7c3e[_0x5b5e88(0x21f)](this[_0x5b5e88(0x23e)](_0xb6513f)[_0x5b5e88(0x335)](()=>{const _0x251d1c=_0x5b5e88;this[_0x251d1c(0x1ee)][_0x251d1c(0x269)](_0xb6513f);}));}),await Promise[_0x5a9168(0x296)](_0x1e7c3e);}};we=_n([Ee(0x0,_0x701cc2),Ee(0x1,_0xaa901f),Ee(0x2,_0x1d3e8b(_0x319445))],we);class hn extends _0x1510b5{constructor(){const _0x100e58=_0x1ae10e;super(),_(this,_0x100e58(0x2bf)),this[_0x100e58(0x2bf)]=_0x5a9382(window,_0x100e58(0x1ea))[_0x100e58(0x353)](_0xb1c2a5(this['dispose$']),_0xf6a9d4(0x1),_0x18f23f(void 0x0));}['setParam'](_0x58f7f9,_0x42c928,_0x1d4243=!0x1){const _0x13c3b8=_0x1ae10e,_0xeb9c2a=new URL(window[_0x13c3b8(0x26b)][_0x13c3b8(0x243)]);_0xeb9c2a[_0x13c3b8(0x1b2)][_0x13c3b8(0x2e0)](_0x58f7f9,_0x42c928),_0x1d4243?window[_0x13c3b8(0x2ae)][_0x13c3b8(0x31b)]('','',_0xeb9c2a[_0x13c3b8(0x2dc)]()):window[_0x13c3b8(0x2ae)][_0x13c3b8(0x33a)]('','',_0xeb9c2a[_0x13c3b8(0x2dc)]());}[_0x1ae10e(0x355)](_0x3b9a96,_0x409f5c=!0x1){const _0xede2d3=_0x1ae10e,_0x15d483=new URL(window['location'][_0xede2d3(0x243)]);_0x15d483[_0xede2d3(0x1b2)][_0xede2d3(0x269)](_0x3b9a96),_0x409f5c?window[_0xede2d3(0x2ae)][_0xede2d3(0x31b)]('','',_0x15d483[_0xede2d3(0x2dc)]()):window['history'][_0xede2d3(0x33a)]('','',_0x15d483['toString']());}['getParam'](_0x370229){const _0x5a33b7=_0x1ae10e;var _0x24c8c6;return(_0x24c8c6=new URL(window['location'][_0x5a33b7(0x243)])[_0x5a33b7(0x1b2)][_0x5a33b7(0x244)](_0x370229))!=null?_0x24c8c6:void 0x0;}}var un=Object[_0x1ae10e(0x2c1)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x5dd9cf,_0x5e63dd,_0x3ff451)=>_0x5e63dd in _0x5dd9cf?un(_0x5dd9cf,_0x5e63dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ff451}):_0x5dd9cf[_0x5e63dd]=_0x3ff451,Sn=(_0x458ff6,_0x199e3a,_0x2b7e2c,_0x495682)=>{for(var _0x4d2aef=_0x495682>0x1?void 0x0:_0x495682?dn(_0x199e3a,_0x2b7e2c):_0x199e3a,_0xed45d8=_0x458ff6['length']-0x1,_0x3b3ecb;_0xed45d8>=0x0;_0xed45d8--)(_0x3b3ecb=_0x458ff6[_0xed45d8])&&(_0x4d2aef=_0x3b3ecb(_0x4d2aef)||_0x4d2aef);return _0x4d2aef;},Oe=(_0x3e45de,_0x1142e3)=>(_0x20ad5d,_0x322ec0)=>_0x1142e3(_0x20ad5d,_0x322ec0,_0x3e45de),mn=(_0x3aa97f,_0x247bdc,_0x546dd2)=>fn(_0x3aa97f,_0x247bdc+'',_0x546dd2);const In=_0x1ae10e(0x1c4);let Ae=class extends _0x359441{constructor(_0x377e90=et,_0xa19a9e,_0x189b56,_0x1206e0){const _0x5917ca=_0x1ae10e;super(),this[_0x5917ca(0x2c6)]=_0x377e90,this[_0x5917ca(0x2f8)]=_0xa19a9e,this[_0x5917ca(0x362)]=_0x189b56,this[_0x5917ca(0x35b)]=_0x1206e0;const {..._0x179d43}=_0xe04d80({},et,this[_0x5917ca(0x2c6)]);this[_0x5917ca(0x35b)][_0x5917ca(0x31c)](qi,_0x179d43);}[_0x1ae10e(0x37a)](){const _0x124375=_0x1ae10e;this[_0x124375(0x218)](),this[_0x124375(0x33b)]();}[_0x1ae10e(0x375)](){const _0x57203b=_0x1ae10e;this[_0x57203b(0x23b)]();}[_0x1ae10e(0x218)](){const _0x224d70=_0x1ae10e;var _0x21f534;const _0x3b5e91=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x180913,{'useClass':_0x29e607}],[_0x3b83f7,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x30aab0(this[_0x224d70(0x362)],_0x3e6bc1(_0x3b5e91,(_0x21f534=this[_0x224d70(0x2c6)])==null?void 0x0:_0x21f534['override']));}[_0x1ae10e(0x23b)](){const _0x36fe40=_0x1ae10e;this[_0x36fe40(0x20f)](this[_0x36fe40(0x2f8)][_0x36fe40(0x200)](_0x463f0f[_0x36fe40(0x1ac)],[Le])),this['disposeWithMe'](this[_0x36fe40(0x2f8)][_0x36fe40(0x200)](_0x463f0f['UNIVER_SHEET'],[Pe]));}[_0x1ae10e(0x33b)](){_0x136cac(this['_injector'],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x1ae10e(0x38f),In),Ae=Sn([_0x9e6fd8(_0x5025ea),Oe(0x1,_0x38777a),Oe(0x2,_0x1d3e8b(_0x3fc4d6)),Oe(0x3,_0x701cc2)],Ae);var vn=Object[_0x1ae10e(0x26e)],gn=(_0x52ae09,_0x4bd508,_0x337194,_0x481493)=>{const _0x1d9bfc=_0x1ae10e;for(var _0x40e000=_0x481493>0x1?void 0x0:_0x481493?vn(_0x4bd508,_0x337194):_0x4bd508,_0xedba97=_0x52ae09[_0x1d9bfc(0x19f)]-0x1,_0x169d15;_0xedba97>=0x0;_0xedba97--)(_0x169d15=_0x52ae09[_0xedba97])&&(_0x40e000=_0x169d15(_0x40e000)||_0x40e000);return _0x40e000;},z=(_0xd454dc,_0x7925b7)=>(_0x2fb733,_0x2218c4)=>_0x7925b7(_0x2fb733,_0x2218c4,_0xd454dc);let it=class extends _0x5d57c5{constructor(_0x5bf237,_0x3423d4,_0x4be084,_0x4fca4a,_0x29555d){super(_0x5bf237,_0x3423d4,_0x4be084,_0x4fca4a,_0x29555d);}async['createSocket'](_0x28bdaf){const _0x550a3c=_0x1ae10e,_0x55cc97=await this[_0x550a3c(0x2a5)](),_0xab18d1=this[_0x550a3c(0x1f1)](_0x28bdaf,_0x55cc97);return this[_0x550a3c(0x304)](_0xab18d1);}[_0x1ae10e(0x1f1)](_0xf47948,_0x12da97){const _0x4fdcda=_0x1ae10e,_0xe2ffa1=typeof window>'u'?new URL(_0xf47948):new URL(_0xf47948,window[_0x4fdcda(0x26b)][_0x4fdcda(0x2fb)]);_0xe2ffa1[_0x4fdcda(0x1b2)][_0x4fdcda(0x2e0)](_0x4fdcda(0x360),_0x12da97);const _0x563788=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4fdcda(0x26b)][_0x4fdcda(0x231)]);return _0x563788[_0x4fdcda(0x244)]('runId')&&_0xe2ffa1[_0x4fdcda(0x1b2)]['set'](_0x4fdcda(0x2f3),_0x563788['get'](_0x4fdcda(0x2f3))),_0xe2ffa1['toString']();}async[_0x1ae10e(0x2a5)](){const _0x392a8b=_0x1ae10e;var _0x300923,_0x160c5b,_0xf3f747;const _0x1c6a18=this['_configService'][_0x392a8b(0x343)](_0x833386),_0x57aa35=(_0x300923=_0x1c6a18==null?void 0x0:_0x1c6a18[_0x392a8b(0x279)])!=null?_0x300923:_0x25f007;return(_0xf3f747=(_0x160c5b=(await this[_0x392a8b(0x28f)][_0x392a8b(0x244)](_0x57aa35,{'headers':{'Content-Type':'application/json'}}))[_0x392a8b(0x34b)])==null?void 0x0:_0x160c5b[_0x392a8b(0x1f0)])!=null?_0xf3f747:'';}};it=gn([z(0x0,_0x1d3e8b(_0x3fc4d6)),z(0x1,_0x1d3e8b(_0x444a71)),z(0x2,_0x701cc2),z(0x3,_0x221c92),z(0x4,_0x39b1b3)],it);var Lt=(_0x5954a4=>(_0x5954a4[_0x5954a4['UNDEFINED']=0x0]=_0x1ae10e(0x1fe),_0x5954a4[_0x5954a4['OK']=0x1]='OK',_0x5954a4[_0x5954a4[_0x1ae10e(0x1b1)]=0x2]=_0x1ae10e(0x1b1),_0x5954a4[_0x5954a4[_0x1ae10e(0x2c5)]=0x3]=_0x1ae10e(0x2c5),_0x5954a4[_0x5954a4[_0x1ae10e(0x251)]=0x4]=_0x1ae10e(0x251),_0x5954a4[_0x5954a4['UNAUTHENTICATED']=0x5]=_0x1ae10e(0x391),_0x5954a4[_0x5954a4[_0x1ae10e(0x189)]=0x6]='ALREADY_EXISTS',_0x5954a4[_0x5954a4[_0x1ae10e(0x1f9)]=0x7]=_0x1ae10e(0x1f9),_0x5954a4[_0x5954a4[_0x1ae10e(0x191)]=0x8]=_0x1ae10e(0x191),_0x5954a4[_0x5954a4[_0x1ae10e(0x234)]=0x9]=_0x1ae10e(0x234),_0x5954a4[_0x5954a4[_0x1ae10e(0x36c)]=0xa]='LOGIN_FAILED',_0x5954a4[_0x5954a4[_0x1ae10e(0x2c3)]=0xb]=_0x1ae10e(0x2c3),_0x5954a4[_0x5954a4[_0x1ae10e(0x258)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5954a4[_0x5954a4[_0x1ae10e(0x1da)]=0xd]=_0x1ae10e(0x1da),_0x5954a4[_0x5954a4[_0x1ae10e(0x273)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5954a4[_0x5954a4[_0x1ae10e(0x286)]=0x1389]=_0x1ae10e(0x286),_0x5954a4[_0x5954a4['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1ae10e(0x2ba),_0x5954a4[_0x5954a4[_0x1ae10e(0x2bb)]=0x1772]=_0x1ae10e(0x2bb),_0x5954a4[_0x5954a4[_0x1ae10e(0x21b)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5954a4[_0x5954a4[_0x1ae10e(0x290)]=0x1b59]='APPLY_REJECT',_0x5954a4[_0x5954a4['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5954a4[_0x5954a4[_0x1ae10e(0x256)]=0x1b5b]=_0x1ae10e(0x256),_0x5954a4[_0x5954a4[_0x1ae10e(0x300)]=0x1b5c]=_0x1ae10e(0x300),_0x5954a4[_0x5954a4[_0x1ae10e(0x35c)]=0x1b5d]=_0x1ae10e(0x35c),_0x5954a4[_0x5954a4[_0x1ae10e(0x262)]=0x1f41]=_0x1ae10e(0x262),_0x5954a4[_0x5954a4[_0x1ae10e(0x2b0)]=0x2329]=_0x1ae10e(0x2b0),_0x5954a4[_0x5954a4['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1ae10e(0x326),_0x5954a4[_0x5954a4[_0x1ae10e(0x1db)]=0x232b]=_0x1ae10e(0x1db),_0x5954a4[_0x5954a4['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5954a4[_0x5954a4[_0x1ae10e(0x363)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5954a4[_0x5954a4[_0x1ae10e(0x2af)]=0x2711]=_0x1ae10e(0x2af),_0x5954a4[_0x5954a4[_0x1ae10e(0x1a4)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5954a4[_0x5954a4[_0x1ae10e(0x26f)]=0x2713]=_0x1ae10e(0x26f),_0x5954a4[_0x5954a4[_0x1ae10e(0x219)]=0x2714]=_0x1ae10e(0x219),_0x5954a4[_0x5954a4['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5954a4[_0x5954a4['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x1ae10e(0x23a),_0x5954a4[_0x5954a4[_0x1ae10e(0x22c)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5954a4[_0x5954a4['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5954a4[_0x5954a4[_0x1ae10e(0x2f0)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5954a4[_0x5954a4['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x5954a4[_0x5954a4[_0x1ae10e(0x1c5)]=0x2720]=_0x1ae10e(0x1c5),_0x5954a4[_0x5954a4['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1ae10e(0x1f3),_0x5954a4[_0x5954a4[_0x1ae10e(0x2b9)]=0x2ee1]=_0x1ae10e(0x2b9),_0x5954a4[_0x5954a4['INVALID_INVITE_CODE']=0x2ee2]=_0x1ae10e(0x26a),_0x5954a4[_0x5954a4['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1ae10e(0x328),_0x5954a4[_0x5954a4[_0x1ae10e(0x277)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5954a4[_0x5954a4[_0x1ae10e(0x38d)]=0x2ee5]=_0x1ae10e(0x38d),_0x5954a4[_0x5954a4['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1ae10e(0x2e2),_0x5954a4[_0x5954a4[_0x1ae10e(0x180)]=0x32ca]=_0x1ae10e(0x180),_0x5954a4[_0x5954a4['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1ae10e(0x372),_0x5954a4[_0x5954a4[_0x1ae10e(0x38a)]=-0x1]=_0x1ae10e(0x38a),_0x5954a4))(Lt||{}),pn=Object[_0x1ae10e(0x26e)],Cn=(_0xbd1e9e,_0x41cd34,_0x1b64f1,_0x4fdd79)=>{const _0x3092ab=_0x1ae10e;for(var _0x418241=_0x4fdd79>0x1?void 0x0:_0x4fdd79?pn(_0x41cd34,_0x1b64f1):_0x41cd34,_0x14d624=_0xbd1e9e[_0x3092ab(0x19f)]-0x1,_0x23ab78;_0x14d624>=0x0;_0x14d624--)(_0x23ab78=_0xbd1e9e[_0x14d624])&&(_0x418241=_0x23ab78(_0x418241)||_0x418241);return _0x418241;},be=(_0x4fadb1,_0x3e98ae)=>(_0x2790a1,_0x465930)=>_0x3e98ae(_0x2790a1,_0x465930,_0x4fadb1);let nt=class extends _0x390745{constructor(_0xe3d598,_0x341591,_0x4bd780){const _0x1fb56f=_0x1ae10e;super(),this[_0x1fb56f(0x24f)]=_0xe3d598,this[_0x1fb56f(0x28f)]=_0x341591,this['_configService']=_0x4bd780;}async[_0x1ae10e(0x1a8)](_0xa54f02,_0x4ebfa5,_0x5a780a,..._0x568257){const _0x2d3d1e=_0x1ae10e;var _0x16e800,_0x427247,_0x3c649c,_0x2ec768;const _0x2bcc6c=this[_0x2d3d1e(0x24f)][_0x2d3d1e(0x1c1)]();if(!_0x2bcc6c)throw new Error(_0x2d3d1e(0x1ad));const _0x538351=((_0x16e800=this[_0x2d3d1e(0x35b)][_0x2d3d1e(0x343)](_0x5a2c54))!=null?_0x16e800:_0x30e38d)+'/'+_0xa54f02+_0x2d3d1e(0x2df)+_0x4ebfa5,_0x4c3f4a=new URL(window[_0x2d3d1e(0x26b)][_0x2d3d1e(0x243)]),_0x33eb32={'scriptId':_0xa54f02,'runId':(_0x427247=_0x4c3f4a[_0x2d3d1e(0x1b2)]['get'](_0x2d3d1e(0x2f3)))!=null?_0x427247:'','function':_0x4ebfa5,'unitId':_0x2bcc6c[_0x2d3d1e(0x2b1)](),'argsOfFunction':JSON[_0x2d3d1e(0x1a5)](_0x568257),'invokeId':(_0x3c649c=_0x5a780a['invokeId'])!=null?_0x3c649c:'','executionId':(_0x2ec768=_0x5a780a[_0x2d3d1e(0x346)])!=null?_0x2ec768:''};try{const _0x1d2a60=await this['_httpService']['post'](_0x538351,{'body':_0x33eb32});return _0x1d2a60[_0x2d3d1e(0x34b)][_0x2d3d1e(0x2a1)]&&_0x1d2a60['body'][_0x2d3d1e(0x2a1)][_0x2d3d1e(0x237)]!==Lt['OK']?_0x2d3d1e(0x24d):_0x1d2a60[_0x2d3d1e(0x34b)]['result'];}catch{return'Failed';}}};nt=Cn([be(0x0,_0xeba3a7),be(0x1,_0x1d3e8b(_0x444a71)),be(0x2,_0x701cc2)],nt);const rt=0x7530,ot=_0x1ae10e(0x2f7);class Fn extends _0x390745{constructor(){const _0x34d960=_0x1ae10e;super(),_(this,_0x34d960(0x314),_0x547b93()),_(this,_0x34d960(0x26d),new Set()),_(this,_0x34d960(0x359),new Map()),_(this,_0x34d960(0x252),null),_(this,_0x34d960(0x2a9),new Map()),_(this,_0x34d960(0x19b),new Map()),this[_0x34d960(0x1c2)]();}[_0x1ae10e(0x1fd)](){const _0x5986f8=_0x1ae10e;super[_0x5986f8(0x1fd)](),this[_0x5986f8(0x2a9)][_0x5986f8(0x324)]((_0x3cccd5,_0x49234c)=>this['_removeClearOtherTimer'](_0x49234c)),this[_0x5986f8(0x252)]&&window[_0x5986f8(0x29a)](this[_0x5986f8(0x252)]);}['getUnitStatus$'](_0xbb5699){const _0x5a6ed2=_0x1ae10e;return this[_0x5a6ed2(0x268)](_0xbb5699)['pipe'](_0x28141e());}[_0x1ae10e(0x280)](_0x4f6177){const _0x2265d7=_0x1ae10e;this['_selfUnitIDs'][_0x2265d7(0x334)]===0x0&&this[_0x2265d7(0x25d)](),this['_selfUnitIDs']['add'](_0x4f6177),this['_send']({'type':0x0,'memberID':this[_0x2265d7(0x314)],'unitIDs':[_0x4f6177],'isForwarded':!0x1});}['disposeUnit'](_0x32e864){const _0x176a59=_0x1ae10e;this[_0x176a59(0x26d)]['delete'](_0x32e864),this[_0x176a59(0x26d)][_0x176a59(0x334)]===0x0&&this[_0x176a59(0x252)]&&window[_0x176a59(0x29a)](this[_0x176a59(0x252)]);}['_init'](){const _0x3b43a5=_0x1ae10e;this[_0x3b43a5(0x20f)](_0x3df05e(_0x5a9382(window,_0x3b43a5(0x20e))[_0x3b43a5(0x339)](_0x5ea541=>{const _0x333c0e=_0x3b43a5;if(_0x5ea541[_0x333c0e(0x24b)]!==ot||!_0x5ea541[_0x333c0e(0x18f)])return;const _0x529a1d=JSON[_0x333c0e(0x236)](_0x5ea541[_0x333c0e(0x18f)]);this[_0x333c0e(0x37f)](_0x529a1d);}))),window[_0x3b43a5(0x1a1)](_0x3b43a5(0x183),()=>this[_0x3b43a5(0x1f7)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x3b43a5(0x18e)](this[_0x3b43a5(0x26d)])}));}[_0x1ae10e(0x37f)](_0x2346ea){const _0x47b658=_0x1ae10e;switch(_0x2346ea[_0x47b658(0x19c)]){case 0x0:this[_0x47b658(0x27f)](_0x2346ea);break;case 0x1:this[_0x47b658(0x22d)](_0x2346ea);break;case 0x2:this['_handleHeartbeatEvent'](_0x2346ea);break;}}['_handleJoinEvent'](_0x58bc6d){const _0xfca5aa=_0x1ae10e,{unitIDs:_0x17c206,memberID:_0x3a1225,isForwarded:_0x5f25b9}=_0x58bc6d;_0x17c206['forEach'](_0x2754e1=>{const _0x5d76b2=_0x2872;if(!_0x5f25b9&&this[_0x5d76b2(0x359)][_0x5d76b2(0x32f)](_0x2754e1)&&this[_0x5d76b2(0x268)](_0x2754e1)[_0x5d76b2(0x208)](_0x952eed[_0x5d76b2(0x35a)]),!this['_unitOnClients'][_0x5d76b2(0x32f)](_0x2754e1)||!this['_unitOnClients']['get'](_0x2754e1)['has'](_0x3a1225)){const _0x627d0f=this[_0x5d76b2(0x359)][_0x5d76b2(0x244)](_0x2754e1)||new Set();_0x627d0f[_0x5d76b2(0x313)](_0x3a1225),this[_0x5d76b2(0x359)]['set'](_0x2754e1,_0x627d0f),this['_scheduleClearOtherTimer'](_0x3a1225);}}),_0x5f25b9||this[_0xfca5aa(0x1f7)]({'type':0x0,'memberID':this[_0xfca5aa(0x314)],'unitIDs':[...this[_0xfca5aa(0x26d)]],'isForwarded':!0x0});}[_0x1ae10e(0x376)](_0x72179c){const _0x4d52af=_0x1ae10e;this[_0x4d52af(0x20d)](_0x72179c);const _0x17616f=window[_0x4d52af(0x356)](()=>{const _0x19738=_0x4d52af;this[_0x19738(0x359)][_0x19738(0x324)](_0x3297f8=>{const _0xb2a10a=_0x19738;_0x3297f8[_0xb2a10a(0x269)](_0x72179c);});},rt*0x2);this[_0x4d52af(0x2a9)][_0x4d52af(0x2e0)](_0x72179c,_0x17616f);}[_0x1ae10e(0x20d)](_0x1fa944){const _0xfe137e=_0x1ae10e;if(this[_0xfe137e(0x2a9)][_0xfe137e(0x32f)](_0x1fa944)){const _0x4f5e4d=this[_0xfe137e(0x2a9)][_0xfe137e(0x244)](_0x1fa944);_0x4f5e4d&&window['clearTimeout'](_0x4f5e4d),this[_0xfe137e(0x2a9)][_0xfe137e(0x2e0)](_0x1fa944,null);}}['_handleLeaveEvent'](_0x5bc6b2){const _0x48e5c1=_0x1ae10e,{memberID:_0x50dc21,unitIDs:_0x5dd146}=_0x5bc6b2;_0x5dd146[_0x48e5c1(0x324)](_0x83ee0f=>{const _0x35fe84=_0x48e5c1;var _0x1566b8;const _0xc817ef=this['_unitOnClients']['get'](_0x83ee0f);_0xc817ef&&(_0xc817ef['delete'](_0x50dc21),(_0x1566b8=this[_0x35fe84(0x268)](_0x83ee0f))==null||_0x1566b8[_0x35fe84(0x208)](_0xc817ef[_0x35fe84(0x334)]===0x0?_0x952eed[_0x35fe84(0x182)]:_0x952eed['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x50dc21);}['_handleHeartbeatEvent'](_0x5de5e1){const _0x4e1dea=_0x1ae10e;this[_0x4e1dea(0x376)](_0x5de5e1['memberID']);}[_0x1ae10e(0x1f7)](_0x5313c2){const _0x23ca77=_0x1ae10e;localStorage[_0x23ca77(0x2be)](ot,JSON[_0x23ca77(0x1a5)](_0x5313c2));}[_0x1ae10e(0x25d)](){const _0x32472d=_0x1ae10e;this[_0x32472d(0x252)]=window[_0x32472d(0x20c)](()=>{const _0x1bce53=_0x32472d;this[_0x1bce53(0x1f7)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x1ae10e(0x268)](_0xc5dac6){const _0x4d2d0a=_0x1ae10e;return this[_0x4d2d0a(0x19b)][_0x4d2d0a(0x32f)](_0xc5dac6)||this[_0x4d2d0a(0x19b)][_0x4d2d0a(0x2e0)](_0xc5dac6,new _0x29f49b(_0x952eed['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x4d2d0a(0x244)](_0xc5dac6);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x388f(){const _0x3c968f=['Syncing...','Authentication\x20Error','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','139788fOjFqj','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20Conflict','76274oTHXcb','40ukKFIs','Syncing\x20server\x20data...','49035mkRlTj','453603WTqQjj','Edit\x20conflicts','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','3985776hpgEKz','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','1CisSuq','150565RntIEe','1304lWGYDX','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','16uhpYpi','Synced','114yVCXZl','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Local\x20file','1521vqVrrB','Click\x20to\x20Reconnect'];_0x388f=function(){return _0x3c968f;};return _0x388f();}const _0xd67911=_0x1422;(function(_0x5e8bb2,_0x2c4718){const _0x253012=_0x1422,_0x554f75=_0x5e8bb2();while(!![]){try{const _0x17fe6e=parseInt(_0x253012(0x19c))/0x1*(-parseInt(_0x253012(0x1ab))/0x2)+-parseInt(_0x253012(0x196))/0x3+-parseInt(_0x253012(0x1a0))/0x4*(parseInt(_0x253012(0x19d))/0x5)+-parseInt(_0x253012(0x1a2))/0x6*(-parseInt(_0x253012(0x195))/0x7)+-parseInt(_0x253012(0x19e))/0x8*(-parseInt(_0x253012(0x1a5))/0x9)+-parseInt(_0x253012(0x1af))/0xa*(parseInt(_0x253012(0x1ae))/0xb)+parseInt(_0x253012(0x199))/0xc;if(_0x17fe6e===_0x2c4718)break;else _0x554f75['push'](_0x554f75['shift']());}catch(_0x346f65){_0x554f75['push'](_0x554f75['shift']());}}}(_0x388f,0x1e273));const e={'collab-client':{'tooltip':{'reconnect':_0xd67911(0x1a6)}},'collabStatus':{'fetchMiss':_0xd67911(0x194),'conflict':_0xd67911(0x197),'notCollab':_0xd67911(0x1a4),'synced':_0xd67911(0x1a1),'syncing':_0xd67911(0x1a7),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0xd67911(0x19b),'will-retry':_0xd67911(0x1ac),'room-full':_0xd67911(0x1aa),'collaboration-timeout':_0xd67911(0x198)},'conflict':{'title':_0xd67911(0x1ad),'content':_0xd67911(0x1a3)},'permission':{'title':_0xd67911(0x1a8),'content':_0xd67911(0x19a)},'collaboration':{'single-unit':{'warning':_0xd67911(0x19f)},'closeRoom':_0xd67911(0x1a9)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;function _0x1422(_0x2c85fe,_0x29fef6){const _0x388f58=_0x388f();return _0x1422=function(_0x142290,_0x310b76){_0x142290=_0x142290-0x194;let _0x27c382=_0x388f58[_0x142290];return _0x27c382;},_0x1422(_0x2c85fe,_0x29fef6);}export{o as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1fce86=_0x1b99;function _0x1b99(_0x2f019b,_0x3a5da1){const _0xa8380b=_0xa838();return _0x1b99=function(_0x1b9917,_0x3a372b){_0x1b9917=_0x1b9917-0xf5;let _0x2d7e57=_0xa8380b[_0x1b9917];return _0x2d7e57;},_0x1b99(_0x2f019b,_0x3a5da1);}(function(_0x4b1f8a,_0x4d0874){const _0x316f4f=_0x1b99,_0x217b03=_0x4b1f8a();while(!![]){try{const _0x4fdc2c=-parseInt(_0x316f4f(0xf7))/0x1+-parseInt(_0x316f4f(0x10c))/0x2*(parseInt(_0x316f4f(0xf8))/0x3)+-parseInt(_0x316f4f(0x109))/0x4*(parseInt(_0x316f4f(0x106))/0x5)+parseInt(_0x316f4f(0xf5))/0x6+parseInt(_0x316f4f(0x10b))/0x7*(parseInt(_0x316f4f(0x100))/0x8)+-parseInt(_0x316f4f(0x102))/0x9+parseInt(_0x316f4f(0x103))/0xa;if(_0x4fdc2c===_0x4d0874)break;else _0x217b03['push'](_0x217b03['shift']());}catch(_0x56a2af){_0x217b03['push'](_0x217b03['shift']());}}}(_0xa838,0xd86b4));function _0xa838(){const _0x298162=['Click\x20to\x20Reconnect','282590RXzpqK','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','68csKjFW','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','384244usfrJl','826OVLcKV','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','5884992rjCxkD','Local\x20file','479619OwScUp','9363FKHxek','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Synced','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','80qjocKa','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','13133601ZjPDLb','35453870pWeVaH','Collaboration\x20Conflict'];_0xa838=function(){return _0x298162;};return _0xa838();}const e={'collab-client':{'tooltip':{'reconnect':_0x1fce86(0x105)}},'collabStatus':{'fetchMiss':_0x1fce86(0xff),'conflict':_0x1fce86(0x108),'notCollab':_0x1fce86(0xf6),'synced':_0x1fce86(0xfc),'syncing':'Syncing...','offline':_0x1fce86(0x10a)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x1fce86(0xfa),'room-full':_0x1fce86(0x101),'collaboration-timeout':_0x1fce86(0xfb)},'conflict':{'title':_0x1fce86(0x104),'content':_0x1fce86(0xfd)},'permission':{'title':'Authentication\x20Error','content':_0x1fce86(0xf9)},'collaboration':{'single-unit':{'warning':_0x1fce86(0x107)},'closeRoom':_0x1fce86(0x10d)},'auth':{'needGotoLoginAlert':_0x1fce86(0xfe)}};export{e as default};
|