@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505041606 → 0.7.0-nightly.202505051607
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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/en-US.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/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1ea2c4=_0x3e8b;(function(_0x12f869,_0x115a37){const _0x4205b5=_0x3e8b,_0x4f03d2=_0x12f869();while(!![]){try{const _0x4062e5=-parseInt(_0x4205b5(0x17e))/0x1*(parseInt(_0x4205b5(0xdd))/0x2)+parseInt(_0x4205b5(0x295))/0x3+parseInt(_0x4205b5(0x285))/0x4+-parseInt(_0x4205b5(0x2c1))/0x5+-parseInt(_0x4205b5(0xe1))/0x6+-parseInt(_0x4205b5(0xef))/0x7+-parseInt(_0x4205b5(0x154))/0x8*(-parseInt(_0x4205b5(0x1e2))/0x9);if(_0x4062e5===_0x115a37)break;else _0x4f03d2['push'](_0x4f03d2['shift']());}catch(_0x1c8e03){_0x4f03d2['push'](_0x4f03d2['shift']());}}}(_0x242c,0x59768));var $t=Object[_0x1ea2c4(0x28b)],xt=(_0x162f29,_0x186549,_0x14f479)=>_0x186549 in _0x162f29?$t(_0x162f29,_0x186549,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x14f479}):_0x162f29[_0x186549]=_0x14f479,_=(_0x167b84,_0x453454,_0x3d9111)=>xt(_0x167b84,typeof _0x453454!='symbol'?_0x453454+'':_0x453454,_0x3d9111);import{MemberService as _0xca28cd,SessionStatus as _0x23ee66,CollaborationSessionService as _0x2352e1,CollaborationStatus as _0x2b26de,CollaborationController as _0x23b738,ILocalCacheService as _0x499d1f,CollaborationUIEventService as _0x34d3bc,CollaborationUIEventId as _0x3ded85,DataLoaderService as _0x5c1275,DocCollaborationEntity as _0x4dd7d2,getLocalCacheKey as _0xba75f3,LOCAL_CACHE_INTERVAL as _0x47642c,LOCAL_CACHE_INTERVAL_KEY as _0xb57ae2,UniverCollaborationClientPlugin as _0x3a6109,CollaborationSocketService as _0x1910af,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x478b16,DEFAULT_WS_SESSION_TICKET_URL as _0x2286bd,UnitStatus as _0x59f7ec,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x28ed06,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5cdf72}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x15e0fe,Disposable as _0x5e7e9c,DOC_RANGE_TYPE as _0x303fd1,Inject as _0x2c28ac,Injector as _0x2ed78b,IUniverInstanceService as _0x610794,ICommandService as _0x2d7c40,debounce as _0x3c4131,Rectangle as _0x3326d3,DisposableCollection as _0x22b265,toDisposable as _0x2d320c,UniverInstanceType as _0x1bd797,Tools as _0xd617dc,COLORS as _0x1ca1fd,ColorKit as _0x1fa4b2,ThemeService as _0x20c7fb,fromEventSubject as _0x350e85,LocaleService as _0x4a6cd3,createIdentifier as _0x4f6e10,ILogService as _0x463af4,Optional as _0x4825e0,Workbook as _0x58fbb2,CommandType as _0x1e0f44,IConfigService as _0x27f9c2,ILocalStorageService as _0x69e3ca,DependentOn as _0x65fe66,Plugin as _0x47280b,merge as _0x488cf5,registerDependencies as _0x4703ee,mergeOverrideWithDependencies as _0x1ed3b1,touchDependencies as _0x530746,generateRandomId as _0x3fb607}from'@univerjs/core';import{Shape as _0x4e7874,Rect as _0x5a781a,getColor as _0xd1944e,RegularPolygon as _0x29e9da,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2a0c74,Vector2 as _0x55ebca,SHEET_VIEWPORT_KEY as _0x670b59,IRenderManagerService as _0x29a565}from'@univerjs/engine-render';import{ISocketService as _0x555e4a,WebSocketService as _0x44eec7,HTTPService as _0x418212}from'@univerjs/network';import{IDocClipboardService as _0x534134,NodePositionConvertToCursor as _0x205c2f,NodePositionConvertToRectRange as _0x379e91,TEXT_RANGE_LAYER_INDEX as _0x8fb040,SetDocZoomRatioOperation as _0x41fc4b,DocIMEInputManagerService as _0x46af31,DocStateChangeManagerService as _0x4b06af}from'@univerjs/docs-ui';import{IImageIoService as _0x22392c}from'@univerjs/drawing';import{BehaviorSubject as _0x10a4a9,debounceTime as _0x37f242,takeUntil as _0x4c6dcf,Subject as _0xd2bab0,filter as _0x5a9f25,switchMap as _0x3c2b2f,merge as _0x16bc38,combineLatest as _0x132635,of as _0x1da7a7,fromEvent as _0xe1bcd6,shareReplay as _0xd67cdb,mapTo as _0x3e61d7,distinctUntilChanged as _0x520fb6}from'rxjs';import{SetTextSelectionsOperation as _0x379421,RichTextEditingMutation as _0x330494,DocSelectionManagerService as _0x439c02,DocSkeletonManagerService as _0x43cc1e}from'@univerjs/docs';import{ITransformService as _0x1064e2,CollaborationEvent as _0x45f904,isTransformMutationFailure as _0x1280c2,isTransformMutationsWithChangesetSuccess as _0xb0953b,RevisionService as _0x101987,ISnapshotServerService as _0x470f49}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x3e4016,serializeRangeWithSheet as _0x25ddc9}from'@univerjs/engine-formula';import{RefRangeService as _0x38f2c6,SetSelectionsOperation as _0x3ac398,SheetsSelectionsService as _0x459614,EffectRefRangId as _0x3d73ea,handleIRemoveRow as _0x5b40d0,handleIRemoveCol as _0x36e958,handleMoveRange as _0x16d9c5,handleInsertRow as _0x4c4126,handleInsertRangeMoveRight as _0x182f49,handleInsertRangeMoveDown as _0x1f8b91,handleInsertCol as _0x373ba9,handleDeleteRangeMoveUp as _0x47b53a,handleDeleteRangeMoveLeft as _0x2f9898,runRefRangeMutations as _0x44f27e,SetWorksheetActivateCommand as _0xeabcb2}from'@univerjs/sheets';import{map as _0x1715d5,filter as _0x4a40cb,throttleTime as _0x510e1e,takeUntil as _0x4f88ed,switchMap as _0x17c9a5}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2878d8,getCoordByCell as _0x2ac45a,getSheetObject as _0x14f9c0}from'@univerjs/sheets-ui';import{jsx as _0x46fa34,jsxs as _0xad7a6a}from'react/jsx-runtime';import{useObservable as _0x1cc5fe,useDependency as _0x1ac2e6,IUIPartsService as _0x3f3b82,BuiltInUIPart as _0x3fb8e2,connectInjector as _0x40a413,IBeforeCloseService as _0x2f9cbb,IMessageService as _0xa0ddb0,INotificationService as _0x34bb3c}from'@univerjs/ui';import{Tooltip as _0x5957bd,clsx as _0x507046,MessageType as _0x4265c6}from'@univerjs/design';import{forwardRef as _0x507e46,useRef as _0x36b027,createElement as _0x9ecbb4,useCallback as _0x39c0bd}from'react';function _0x242c(){const _0x1fcef1=['univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','className','flatMap','_entities','sessionStatus$','VIEW_MAIN','_imageIoService','_startDocCollabCursor','getCollabEntity$','EMAIL_HAS_BEEN_BOUND','mask','concat','PY_RUNTIME_SCRIPT_ERROR','getConfig','lineTo','mutations','onTransformChange$','source','_httpService','_collaborationController','registerRefRange','YUUMI_SUBSCRIPTION_NOT_FOUND','startColumn','_assignedColors','updateOfflineData','collab-client.tooltip.reconnect','_registerDependencies','ALREADY_EXISTS','UNAUTHENTICATED','UNDEFINED','dispose$','LOGIN_FAILED','_labelPosition','NO_OTHER_CLIENTS_EDITING','unshift','roomMembers','_handleLeaveEvent','2898484preMki','getRangePointData','textRanges','collabStatus.conflict','USER_NOT_INVITED_CODE','_init','defineProperty','off-line-single','_getSheetObject','save','entries','_drawRectRange','on-line-single','push','_handleJoinEvent','urlChange$','1856460RdMJsc','UNIVER_SHEET','location','_hover','setUndoRedoMutationParamsCache','getOwnPropertyDescriptor','disableLocalCache','getCollabCursors$','getCurrentRevOfUnit','_toggleOnline','JOIN_ROOM_FAILED','univer-text-green-500','xlink:href','transformMutation','parse','function','show','LICENSE_DISTRO_REJECTED','memberID','_toggleOffline','restore','_updateSubUnitFromURLParams','_injector','getOwnPropertySymbols','dispose','colorChannel1','setShapeProps','delete','range','resize','getUnitId','addObjects','_config','_drawTextRange','ticket','LICENSE_IMPORT_SIZE_EXCEEDED','hasOwnProperty','createInstance','getVpScrollXYInfoByPosToVp','getMember','collab-rect-range-','svg','getItem','from','1390850yxHNFh','_cachedData','on-line-single_clip0_910_349','_cursor','replace','ranges','_colorAssignService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','some','FromArray','Error','tag','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','clipPath','unsubscribe','OTHER_CLIENTS_EDITING','getMemberID','MUTATION','_onCursorUpdate','_collabCursorState$','CONNECTOR_DATA_TOO_LARGE','getSheetId','AWAITING','stringify','string','add','_themeService','assign','_cursorInfo$','findNodePositionByCharIndex','ACTIVE_UNIT_EVENT_CHANNEL','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collaboration-client-ui.config','OTHER_CLIENT_EDITING','2jQDzEW','_handleHeartbeatEvent','size','[CollaborationDataLoaderController]','2575014tDsBPk','result','setAlpha','INVITE_CODE_REQUIRED','_transformUndoRedoStack','_id','_getSessionTicket','application/json','_anchorDot','InsertRowCommandId','_entityInit$','clearTimeout','requireSession','SNAPSHOT_INVALID_SNAPSHOT','1058645UmdeCM','SNAPSHOT_HAS_BEEN_REMOVED','APPLY_REJECT','url(#on-line-single_clip0_910_349)','next','_revisionService','getCurrentUnitForType','_renderManagerService','_initStatusListener','permission.content','_messageService','transformIMECache','univerjs-icon\x20univerjs-icon-','executeCommand','currentSkeleton$','univer-text-red-500','storage','width','getTypeOfUnitAdded$','m1Prime','roomMembers$','round','sessionTicket','InsertRangeMoveRightCommandId','path','forEach','_scheduleSaving','getDocRanges','getSheetBySheetId','generateRandomId','_initResize','_docSkeleton','drawWith','APPLY_REVISION_CONFILICT','_handleEvent','values','makeDirty','APPLY_NON_SEQUENTIAL_REVISION','_roomMembers$','params','getTypeOfUnitDisposed$','_initEvent','contains','_transformService','engine','bottom','type','getFocusedUnit','executionId','LICENSE_EXPORT_SIZE_EXCEEDED','cursorInfo$','_eventUnsubscribe','_localCacheService','disposeUnit','_docTransformSelectionsService','_colorIndex','whenReady','collabStatus.notCollab','replaceState','_cursors','focused$','font','attrs','SOCKET_FAILED','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','_syncEditingCollabCursorService','_scene','COMPLETION_FINISHED','_heartbeatTimer','DeleteRangeMoveLeftCommandId','history','_setupBeforeClosingHandler','_scheduleHeartbeat','column','INTERNAL_ERROR','searchParams','name','subscribe','length','extend','pipe','0\x200\x2017\x2016','...','evenodd','ENSURE_SNAPSHOT_EXECUTION','YUUMI_RATE_OVER_LIMIT','color','_shapes','idSuffix','_saveCache','_localeService','getViewport','_docSkeletonManagerService','_drawAnchor','clearInterval','0\x200\x2016\x2016','/run/','defs','_refRangeService','measureText','_hideTimer','3488UUQqWT','_univerInstanceService','onPointerMove$','prototype','getUndoRedoMutationParamsCache','_urlService','collaboration-client.offline-data-not-saved','NOT_COLLAB','YUUMI_TABLE_NOT_FOUND_IN_UNIT','syncEditingCollabCursor','_removeClearOtherTimer','_instanceService','get','transformByState','collabStatus.offline','startRow','INVITE_CODE_HAS_BEEN_UES','session.collaboration-timeout','labelPosition','with','rgba(255,\x20255,\x20255,\x200.01)','_docTransformIMECacheService','_scheduleClearOtherTimer','fillText','runOnServer','hide','OFFLINE','collaboration.closeRoom','init','post','eventID','getSkeleton','red300','substring','_docTransformStateCacheService','onRendered','_localStorageService','_unitOnClients','find','currentTheme$','RECT','imageSourceType','168131rdPtmK','_textBubble','blue400','_saveTaskMap','pluginName','collab-text-range-','[RemoteUniscriptService]:\x20no\x20focused\x20unit','setItem','setActiveRange','row','selection','getMergeData','_dataLoaderService','isEditing','_commandService','Warning','_memberService','transform','_transformPreviousActiveRange','beginPath','_transformHistoryAndStateStack','collaboration.single-unit.warning','_removeCollabCursors','toString','AWAITING_WITH_PENDING','selections','getAncestorScale','_collaborationUIEventService','setConfig','permission.title','collabStatus.syncing','registerRenderModule','session.will-retry','set','propertyIsEnumerable','_refreshCollabCursors','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','PERMISSION_DENIED','unitId','FETCH_MISS','UniverIcon','MOBILE_HAS_BEEN_BOUND','undoState','actions','setStateCache','fillStyle','YUUMI_ASYNCIO_CANCELLED','saveImage','override','replaceDocRanges','addObject','purple300','_draw','deepClone','saveOfflineData','_updateURLWithCurrentState','_backgroundColor','YUUMI_ALL_TABLES_IS_INVALID','isActive','NOT_FOUND','_status$','map','_selfUnitIDs','Failed','_setupSubUnitSync','newValue','_render','USERS_LEAVE','_configService','UNIVER_DOC','_docSyncEditingCollabCursorService','UPDATE_CURSOR','disposeWithMe','_unitStatus','setParam','_logService','_range','height','collabCursorState$','apply','url(#off-line-single_clip0_910_343)','#fff','HEADER_MENU','_getAnchorBounding','_clearOtherTimers','has','getValue','getStateCache','hovered','transformRemoteChangeset','jiqing500','fillRule','send','_anchor','getRelativeToViewportCoord','asObservable','addClipboardHook','then','children','black','1026hFwSpX','complete','_sheetSkeletonManagerService','_docClipboardService','fill','_context','transformStateCache','triggerDblclick','defIds','_getScale','WECHAT_HAS_BEEN_BOUND','_uiPartsService','doc.mutation.rich-text-editing','1em','currentColor','cursorInfo','_document','OnLineSingle','M0\x200H16V16H0z','_ensureSubject','_startSheetCollabCursor','call','onMouseMove','_collabCursorController','popstate','#FFF','_createSocketURL','InsertColCommandId','_getMergeRange','_initCommandExecutedListener','RemoveColCommandId','onCommandExecuted','INVALID_INVITE_CODE','enableLocalCache','RemoveRowCommandId','none','getParam','univer-flex\x20univer-items-center','isArray','_beforeCloseService','getRenderById','m2Prime','APPLY_PERMISSION_DENIED','split','addHandlerCallback','collab-text-anchor-','onPointerEnter$','assignAColorForMemberID','search','off-line-single_clip0_910_343','LICENSE_MAX_UNITS_EXCEEDED','_initDependencies','debug','subscribeEvent','div','runId','error','_onRefRangeChange','text','unitID','endRow','_online','saveTaskMap','data','includes','_updateLocalCursor','_session','onLocalMutation','APPLY_DUPLICATED','getCurrentSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_initEntityListener','random','_cursorShapes','getCellPositionByOffset','_updateCollabCursors','getUnhiddenWorksheets','skeleton','setTimeout','toRgbString','_initStatusComponent','YUUMI_URL_COL_OUT_OF_RANGE','ONLINE','_name','SUBMIT_CHANGESET_TIMEOUT','subUnitId','_notificationService','key','top','session.connection-failed','indexOf','href','UNRECOGNIZED','uni.network.url-service','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','redoState','url(#$1','_color','displayName','unit','_disabled','SYNCED','YUUMI_UNABLE_LOAD_URL','icon','CONFLICT','body','origin','_docStateChangeManagerService','_collabSessionService','_registerRenderDependencies','_onCursorDelete','arc','univer-flex\x20univer-mr-2\x20univer-text-[20px]','pushState','Unknown\x20user','exhaustSavingTask','activeSheet$','max','_send','TEXT','subunit','min','code','collabStatus.synced','_hovered','event$'];_0x242c=function(){return _0x1fcef1;};return _0x242c();}import{IRemoteInstanceService as _0x1b2577}from'@univerjs/rpc';var ci=Object[_0x1ea2c4(0x29a)],li=(_0x163b12,_0xda692a,_0x4459e9,_0x3a3869)=>{const _0x13dbc5=_0x1ea2c4;for(var _0x4f2183=_0x3a3869>0x1?void 0x0:_0x3a3869?ci(_0xda692a,_0x4459e9):_0xda692a,_0x5d0f75=_0x163b12[_0x13dbc5(0x13d)]-0x1,_0x1fb4dc;_0x5d0f75>=0x0;_0x5d0f75--)(_0x1fb4dc=_0x163b12[_0x5d0f75])&&(_0x4f2183=_0x1fb4dc(_0x4f2183)||_0x4f2183);return _0x4f2183;},Je=(_0x4b9de1,_0x5d098b)=>(_0x128722,_0xc468e4)=>_0x5d098b(_0x128722,_0xc468e4,_0x4b9de1);let Ne=class extends _0x15e0fe{constructor(_0x3c6806,_0x487e88){const _0x500c0d=_0x1ea2c4;super(),this[_0x500c0d(0x1e5)]=_0x3c6806,this[_0x500c0d(0x266)]=_0x487e88,this[_0x500c0d(0x28a)]();}[_0x1ea2c4(0x28a)](){const _0x36fc95=_0x1ea2c4,_0x18d0d6=this;this[_0x36fc95(0x1c6)](this[_0x36fc95(0x1e5)][_0x36fc95(0x1de)]({'onBeforePasteImage':async _0x5034f3=>{const _0xb6ec11=_0x36fc95,_0x26de95=await _0x18d0d6[_0xb6ec11(0x266)][_0xb6ec11(0x1ad)](_0x5034f3);return _0x26de95?{'source':_0x26de95[_0xb6ec11(0x271)],'imageSourceType':_0x26de95[_0xb6ec11(0x17d)]}:null;}}));}};Ne=li([Je(0x0,_0x534134),Je(0x1,_0x22392c)],Ne);const Ze=[_0x1ea2c4(0x1b1),_0x1ea2c4(0x1d8),'verdancy600',_0x1ea2c4(0x174),_0x1ea2c4(0x180),'gold400'];class ke extends _0x5e7e9c{constructor(){const _0x4e0d8c=_0x1ea2c4;super(...arguments),_(this,_0x4e0d8c(0x277),new Map()),_(this,'_colorIndex',0x0);}[_0x1ea2c4(0x211)](_0x3c919e){const _0x53a1c1=_0x1ea2c4;if(this[_0x53a1c1(0x277)][_0x53a1c1(0x1d3)](_0x3c919e))return this['_assignedColors'][_0x53a1c1(0x160)](_0x3c919e);const _0x53c9f6=Ze[this['_colorIndex']];return this[_0x53a1c1(0x126)]=(this[_0x53a1c1(0x126)]+0x1)%Ze[_0x53a1c1(0x13d)],this[_0x53a1c1(0x277)][_0x53a1c1(0x19f)](_0x3c919e,_0x53c9f6),_0x53c9f6;}}function Tt(_0x3515f5){const _0x5eb143=_0x1ea2c4;let _0x2f5745='';for(const _0x174640 of _0x3515f5){const {startOffset:_0x77183f,endOffset:_0x3e9a0d,isActive:_0x5d4571,rangeType:_0x4bd81f,segmentId:_0x54e3bb,segmentPage:_0x2ae343}=_0x174640;_0x2f5745[_0x5eb143(0x13d)]&&(_0x2f5745+=','),_0x2f5745+=_0x77183f+':'+_0x3e9a0d+':'+(_0x5d4571?'1':'0')+':'+_0x4bd81f+':'+_0x54e3bb+':'+_0x2ae343;}return _0x2f5745;}function _i(_0xeca0cf){const _0x2dda7c=_0x1ea2c4,_0x467483=_0xeca0cf['split'](','),_0x39e203=[];for(const _0x33f260 of _0x467483){const [_0x42c6dc,_0x5f47ef,_0x2e7eff,_0x32762c,_0x28ef47,_0x2f6dc9]=_0x33f260[_0x2dda7c(0x20d)](':');_0x39e203[_0x2dda7c(0x292)]({'startOffset':Number(_0x42c6dc),'endOffset':Number(_0x5f47ef),'collapsed':_0x42c6dc===_0x5f47ef,'isActive':_0x2e7eff==='1','rangeType':_0x32762c===_0x303fd1['TEXT']?_0x303fd1[_0x2dda7c(0x259)]:_0x303fd1[_0x2dda7c(0x17c)],'segmentId':typeof _0x28ef47==_0x2dda7c(0xd3)?String(_0x28ef47):'','segmentPage':Number(_0x2f6dc9!=null?_0x2f6dc9:-0x1)});}return _0x39e203[_0x2dda7c(0x2c9)](_0x4e88d5=>_0x4e88d5['isActive'])||(_0x39e203[0x0][_0x2dda7c(0x1b8)]=!0x0),_0x39e203;}class He extends _0x15e0fe{constructor(){const _0x335478=_0x1ea2c4;super(...arguments),_(this,_0x335478(0x2d4),new _0x10a4a9(null)),_(this,_0x335478(0x1cc),this['_collabCursorState$'][_0x335478(0x1dd)]());}['syncEditingCollabCursor'](_0x15e4a3){const _0x4004f2=_0x1ea2c4,{unitID:_0x114789,memberID:_0x42f2ee,textRanges:_0x1094b9}=_0x15e4a3,_0x41a795=Tt(_0x1094b9);if(_0x41a795==='')return;const _0x46c92b={'unitID':_0x114789,'memberID':_0x42f2ee,'selection':_0x41a795};this[_0x4004f2(0x2d4)][_0x4004f2(0xf3)](_0x46c92b);}}var hi=Object[_0x1ea2c4(0x29a)],ui=(_0x2e34fb,_0x555264,_0x573e30,_0x1c7d50)=>{const _0x55c8c6=_0x1ea2c4;for(var _0x556ad=_0x1c7d50>0x1?void 0x0:_0x1c7d50?hi(_0x555264,_0x573e30):_0x555264,_0x452af7=_0x2e34fb[_0x55c8c6(0x13d)]-0x1,_0x258d83;_0x452af7>=0x0;_0x452af7--)(_0x258d83=_0x2e34fb[_0x452af7])&&(_0x556ad=_0x258d83(_0x556ad)||_0x556ad);return _0x556ad;},L=(_0x59aaca,_0xcd9039)=>(_0x59a438,_0x49b33c)=>_0xcd9039(_0x59a438,_0x49b33c,_0x59aaca);const di=0x12c,fi=0x64;let Ue=class extends _0x15e0fe{constructor(_0x2a006b,_0x4ed38d,_0x3c02c7,_0x19915e,_0x2e0cd6,_0x25e99c,_0x491832,_0x35607f,_0x5e78a9){const _0x545763=_0x1ea2c4;super(),_(this,_0x545763(0x21f),!0x1),_(this,_0x545763(0x28a),!0x1),_(this,_0x545763(0xd7),new _0x10a4a9(new Map())),_(this,'cursorInfo$',this[_0x545763(0xd7)][_0x545763(0x1dd)]()),_(this,'_roomMembers$',new _0x10a4a9([])),_(this,_0x545763(0x103),this[_0x545763(0x115)][_0x545763(0x13f)](_0x37f242(di))),_(this,_0x545763(0x223),_0x3c4131(_0x3c6bcb=>{const _0x1b22c7=_0x545763,_0x2be221={'eventID':_0x45f904['UPDATE_CURSOR'],'data':{'unitID':this[_0x1b22c7(0x21d)],'memberID':this[_0x1b22c7(0x224)][_0x1b22c7(0x2d1)](),'selection':Tt(_0x3c6bcb)}};this[_0x1b22c7(0x224)]['send'](_0x2be221,this[_0x1b22c7(0x21d)]);},fi)),(this[_0x545763(0x21d)]=_0x2a006b,this[_0x545763(0x224)]=_0x4ed38d,this[_0x545763(0x2ab)]=_0x3c02c7,this[_0x545763(0x2c7)]=_0x19915e,this['_memberService']=_0x2e0cd6,this[_0x545763(0x130)]=_0x25e99c,this[_0x545763(0x11a)]=_0x491832,this[_0x545763(0x155)]=_0x35607f,this[_0x545763(0x18c)]=_0x5e78a9);}get[_0x1ea2c4(0x1f1)](){const _0x315381=_0x1ea2c4;return this[_0x315381(0xd7)][_0x315381(0x1d4)]();}get[_0x1ea2c4(0x283)](){const _0x283554=_0x1ea2c4;return this[_0x283554(0x115)]['getValue']();}[_0x1ea2c4(0x2ad)](){const _0x49ede4=_0x1ea2c4;super[_0x49ede4(0x2ad)](),this[_0x49ede4(0xd7)][_0x49ede4(0xf3)](new Map()),this[_0x49ede4(0xd7)]['complete'](),this[_0x49ede4(0x115)]['next']([]),this[_0x49ede4(0x115)][_0x49ede4(0x1e3)]();}[_0x1ea2c4(0x170)](){const _0x118210=_0x1ea2c4;this['_init']||(this['_init']=!0x0,this[_0x118210(0x224)][_0x118210(0x264)][_0x118210(0x13f)](_0x4c6dcf(this[_0x118210(0x27e)]))[_0x118210(0x13c)](_0x5c47eb=>{const _0x30f1e0=_0x118210;_0x5c47eb===_0x23ee66[_0x30f1e0(0x234)]?this[_0x30f1e0(0x29e)]():this['_toggleOffline']();}),this[_0x118210(0x224)][_0x118210(0x25f)][_0x118210(0x13f)](_0x4c6dcf(this[_0x118210(0x27e)]))['subscribe'](_0x56bf9e=>{const _0x5f87b3=_0x118210,_0x434800=_0x56bf9e[_0x5f87b3(0x172)];_0x434800===_0x45f904['UPDATE_CURSOR']&&this[_0x5f87b3(0x2d3)](_0x56bf9e),_0x434800===_0x45f904[_0x5f87b3(0x1c1)]&&this[_0x5f87b3(0x250)](_0x56bf9e);}),this[_0x118210(0x1c6)](this['_commandService']['onCommandExecuted'](_0x46895b=>{const _0xddcdc9=_0x118210,_0x5c944b=_0x46895b[_0xddcdc9(0x116)];_0x5c944b!=null&&this[_0xddcdc9(0x21f)]&&_0x46895b['id']===_0x379421['id']&&_0x5c944b['unitId']===this[_0xddcdc9(0x21d)]&&_0x5c944b[_0xddcdc9(0x18b)]===!0x1&&_0x5c944b[_0xddcdc9(0x2c6)][_0xddcdc9(0x13d)]>0x0&&this[_0xddcdc9(0x223)](_0x5c944b[_0xddcdc9(0x2c6)]);})),this[_0x118210(0x130)][_0x118210(0x1cc)][_0x118210(0x13f)](_0x4c6dcf(this[_0x118210(0x27e)]))[_0x118210(0x13c)](_0x11a3b5=>{const _0x2a24fa=_0x118210;if((_0x11a3b5==null?void 0x0:_0x11a3b5[_0x2a24fa(0x21d)])!==this[_0x2a24fa(0x21d)])return;const _0x1fb274={'eventID':_0x45f904[_0x2a24fa(0x1c5)],'data':_0x11a3b5};this[_0x2a24fa(0x2d3)](_0x1fb274);}),this['disposeWithMe'](this['_commandService'][_0x118210(0x201)](_0x3018a8=>{const _0x68530=_0x118210;if(_0x3018a8[_0x68530(0x116)]==null)return;const _0x2818e8=_0x3018a8['params'];if(_0x3018a8['id']!==_0x330494['id']||_0x2818e8[_0x68530(0x1a4)]!==this[_0x68530(0x21d)])return;const _0x2f585b={'id':'doc.mutation.rich-text-editing','params':_0x2818e8},_0xe78e1b=this[_0x68530(0x1f1)];for(const [_0x5ecca8,_0x36a4c7]of _0xe78e1b){const _0x415b90={'id':_0x68530(0x1ee),'params':{'unitId':this[_0x68530(0x21d)],'actions':null,'textRanges':_0x36a4c7[_0x68530(0x2c6)]}},_0x17eb40=this[_0x68530(0x11a)]['transformMutation'](_0x2f585b,_0x415b90,!0x1);if(_0x1280c2(_0x17eb40))throw _0x17eb40['error'];_0xe78e1b['set'](_0x5ecca8,{..._0x36a4c7,'ranges':_0x17eb40['m2Prime'][_0x68530(0x116)][_0x68530(0x287)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0xe78e1b);});})));}[_0x1ea2c4(0x2d3)](_0x342a16){const _0x464593=_0x1ea2c4;var _0x2d8df8,_0xd74a5f;const {memberID:_0x400a1e,selection:_0x1c2d00}=_0x342a16[_0x464593(0x221)],_0x23af0d=_i(_0x1c2d00),_0x1ac746=(_0xd74a5f=(_0x2d8df8=this['_memberService'][_0x464593(0x2bc)](this[_0x464593(0x21d)],_0x400a1e))==null?void 0x0:_0x2d8df8['name'])!=null?_0xd74a5f:_0x464593(0x254),_0xd54116={'color':this['_colorAssignService'][_0x464593(0x211)](_0x400a1e),'name':_0x1ac746,'ranges':_0x23af0d},_0x51a41d=this[_0x464593(0x1f1)];_0x51a41d[_0x464593(0x19f)](_0x400a1e,_0xd54116),this['_cursorInfo$'][_0x464593(0xf3)](_0x51a41d);}[_0x1ea2c4(0x250)](_0x2a460b){const _0x44ae3e=_0x1ea2c4,{memberID:_0x1f1c4a}=_0x2a460b[_0x44ae3e(0x221)],_0x488e39=this[_0x44ae3e(0x1f1)];_0x488e39[_0x44ae3e(0x2b0)](_0x1f1c4a),this[_0x44ae3e(0xd7)]['next'](_0x488e39);}[_0x1ea2c4(0x29e)](){const _0x1a98af=_0x1ea2c4;var _0x39b973;if(this[_0x1a98af(0x21f)]=!0x0,((_0x39b973=this[_0x1a98af(0x155)]['getFocusedUnit']())==null?void 0x0:_0x39b973['getUnitId']())!==this[_0x1a98af(0x21d)])return;const _0x9dbe13=this[_0x1a98af(0x2ab)][_0x1a98af(0x160)](_0x439c02)[_0x1a98af(0x10a)]();Array[_0x1a98af(0x208)](_0x9dbe13)&&_0x9dbe13['length']>0x0&&this[_0x1a98af(0x223)](_0x9dbe13);}['_toggleOffline'](){const _0x38cc61=_0x1ea2c4;this[_0x38cc61(0x21f)]=!0x1;}};Ue=ui([L(0x2,_0x2c28ac(_0x2ed78b)),L(0x3,_0x2c28ac(ke)),L(0x4,_0x2c28ac(_0xca28cd)),L(0x5,_0x2c28ac(He)),L(0x6,_0x1064e2),L(0x7,_0x610794),L(0x8,_0x2d7c40)],Ue);var Si=Object[_0x1ea2c4(0x29a)],mi=(_0x59e6f8,_0x80b7b1,_0x2e98a7,_0x38cbd6)=>{for(var _0x29ba47=_0x38cbd6>0x1?void 0x0:_0x38cbd6?Si(_0x80b7b1,_0x2e98a7):_0x80b7b1,_0x44b63d=_0x59e6f8['length']-0x1,_0xc92e15;_0x44b63d>=0x0;_0x44b63d--)(_0xc92e15=_0x59e6f8[_0x44b63d])&&(_0x29ba47=_0xc92e15(_0x29ba47)||_0x29ba47);return _0x29ba47;},x=(_0x154400,_0x15ec52)=>(_0x4c0747,_0x98d60d)=>_0x15ec52(_0x4c0747,_0x98d60d,_0x154400);const gi=0x12c,Ii=0x64,vi=()=>{let _0x3a654f=[],_0x2cea67=!0x1;return _0x59e574=>{const _0x568713=_0x3e8b;_0x3a654f[_0x568713(0x292)](_0x59e574),_0x2cea67||(_0x2cea67=!0x0,setTimeout(()=>{_0x3a654f['forEach'](_0xdaabf1=>_0xdaabf1()),_0x3a654f=[],_0x2cea67=!0x1;}));};};let Me=class extends _0x15e0fe{constructor(_0x240b63,_0x1fc117,_0x4e36a0,_0x1024b5,_0x4e0306,_0x2c05dc,_0x3551ad,_0x226239){const _0x274aea=_0x1ea2c4;super(),_(this,_0x274aea(0x21f),!0x1),_(this,_0x274aea(0x28a),!0x1),_(this,'_cursorInfo$',new _0x10a4a9(new Map())),_(this,_0x274aea(0x121),this['_cursorInfo$'][_0x274aea(0x1dd)]()),_(this,'_roomMembers$',new _0x10a4a9([])),_(this,_0x274aea(0x103),this[_0x274aea(0x115)]['pipe'](_0x37f242(gi))),_(this,_0x274aea(0x223),_0x3c4131((_0xc47c2d,_0x251e80)=>{const _0x43de93=_0x274aea,_0xb7b057={'eventID':_0x45f904[_0x43de93(0x1c5)],'data':{'unitID':this[_0x43de93(0x21d)],'memberID':this[_0x43de93(0x224)][_0x43de93(0x2d1)](),'selection':_0x25ddc9(_0xc47c2d,_0x251e80[_0x43de93(0x2b1)])}};this[_0x43de93(0x224)][_0x43de93(0x1da)](_0xb7b057,this[_0x43de93(0x21d)]);},Ii)),(this['unitID']=_0x240b63,this[_0x274aea(0x224)]=_0x1fc117,this[_0x274aea(0x2ab)]=_0x4e36a0,this[_0x274aea(0x2c7)]=_0x1024b5,this['_memberService']=_0x4e0306,this[_0x274aea(0x155)]=_0x2c05dc,this['_commandService']=_0x3551ad,this[_0x274aea(0x151)]=_0x226239);}get[_0x1ea2c4(0x1f1)](){const _0x323ed7=_0x1ea2c4;return this[_0x323ed7(0xd7)]['getValue']();}get[_0x1ea2c4(0x283)](){const _0x4e9919=_0x1ea2c4;return this[_0x4e9919(0x115)]['getValue']();}[_0x1ea2c4(0x2ad)](){const _0x3cb337=_0x1ea2c4;super[_0x3cb337(0x2ad)](),this[_0x3cb337(0xd7)][_0x3cb337(0xf3)](new Map()),this['_cursorInfo$'][_0x3cb337(0x1e3)](),this[_0x3cb337(0x115)][_0x3cb337(0xf3)]([]),this[_0x3cb337(0x115)]['complete']();}['init'](){const _0x4cb620=_0x1ea2c4;this[_0x4cb620(0x28a)]||(this[_0x4cb620(0x28a)]=!0x0,this['_session']['sessionStatus$'][_0x4cb620(0x13f)](_0x4c6dcf(this['dispose$']))[_0x4cb620(0x13c)](_0x1e37b7=>{const _0x3c0f9a=_0x4cb620;_0x1e37b7===_0x23ee66['ONLINE']?this['_toggleOnline']():this[_0x3c0f9a(0x2a8)]();}),this[_0x4cb620(0x224)]['event$']['pipe'](_0x4c6dcf(this[_0x4cb620(0x27e)]))[_0x4cb620(0x13c)](_0x354291=>{const _0x456356=_0x4cb620,_0x38a34a=_0x354291[_0x456356(0x172)];_0x38a34a===_0x45f904['UPDATE_CURSOR']&&this[_0x456356(0x2d3)](_0x354291),_0x38a34a===_0x45f904[_0x456356(0x1c1)]&&this['_onCursorDelete'](_0x354291);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x4cb620(0x201)](_0x12b9f8=>{const _0xa52312=_0x4cb620;if(this['_online']&&_0x12b9f8['id']===_0x3ac398['id']&&_0x12b9f8[_0xa52312(0x116)][_0xa52312(0x1a4)]===this[_0xa52312(0x21d)]){const _0x230f5c=_0x12b9f8['params'];this['_updateLocalCursor'](_0x230f5c[_0xa52312(0x237)],_0x230f5c[_0xa52312(0x197)][0x0]);}})));}[_0x1ea2c4(0x2d3)](_0x2137c2){const _0x35d29d=_0x1ea2c4;var _0x1cfd71,_0x4b9440;const {memberID:_0x3514f6,selection:_0x4443d8}=_0x2137c2[_0x35d29d(0x221)],{sheetName:_0x359344,range:_0x598cb4}=_0x3e4016(_0x4443d8),_0x305771={'name':(_0x4b9440=(_0x1cfd71=this[_0x35d29d(0x18e)]['getMember'](this[_0x35d29d(0x21d)],_0x3514f6))==null?void 0x0:_0x1cfd71['name'])!=null?_0x4b9440:_0x35d29d(0x254),'range':this[_0x35d29d(0x1fe)](_0x359344,_0x598cb4),'sheetID':_0x359344,'color':this[_0x35d29d(0x2c7)][_0x35d29d(0x211)](_0x3514f6),'selection':_0x4443d8},_0x32488e=this['cursorInfo'];_0x32488e[_0x35d29d(0x19f)](_0x3514f6,_0x305771),this[_0x35d29d(0xd7)]['next'](_0x32488e);}[_0x1ea2c4(0x250)](_0x14d3e5){const _0x3baf44=_0x1ea2c4,{memberID:_0x8d528f}=_0x14d3e5['data'],_0x4508b9=this['cursorInfo'];_0x4508b9['delete'](_0x8d528f),this[_0x3baf44(0xd7)][_0x3baf44(0xf3)](_0x4508b9);}[_0x1ea2c4(0x1fe)](_0x382de3,_0xcbecbe){const _0x4dc48b=_0x1ea2c4;var _0x3e6024,_0x29e462;const _0x1ad943=(_0x29e462=(_0x3e6024=this[_0x4dc48b(0x155)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x3e6024[_0x4dc48b(0x10b)](_0x382de3))==null?void 0x0:_0x29e462[_0x4dc48b(0x189)]();return(_0x1ad943==null?void 0x0:_0x1ad943[_0x4dc48b(0x17a)](_0x31f128=>_0x3326d3[_0x4dc48b(0x119)](_0x31f128,_0xcbecbe)))||_0xcbecbe;}[_0x1ea2c4(0x21b)](){const _0x3e4a78=_0x1ea2c4,_0x55e631=new _0x22b265(),_0x5cf35e=vi(),_0x552334=()=>{const _0x3254c1=_0x3e8b;_0x55e631['dispose']();const _0x2143e8=(_0x18c956,_0x300022,_0x287b7f,_0x2144fa)=>{const _0x1d5b4a=_0x3e8b;let _0x5b17a5=[];switch(_0x18c956['id']){case _0x3d73ea[_0x1d5b4a(0x134)]:{_0x5b17a5=_0x2f9898(_0x18c956,_0x2144fa);break;}case _0x3d73ea['DeleteRangeMoveUpCommandId']:{_0x5b17a5=_0x47b53a(_0x18c956,_0x2144fa);break;}case _0x3d73ea[_0x1d5b4a(0x1fd)]:{_0x5b17a5=_0x373ba9(_0x18c956,_0x2144fa);break;}case _0x3d73ea['InsertRangeMoveDownCommandId']:{_0x5b17a5=_0x1f8b91(_0x18c956,_0x2144fa);break;}case _0x3d73ea[_0x1d5b4a(0x106)]:{_0x5b17a5=_0x182f49(_0x18c956,_0x2144fa);break;}case _0x3d73ea[_0x1d5b4a(0xea)]:{_0x5b17a5=_0x4c4126(_0x18c956,_0x2144fa);break;}case _0x3d73ea['MoveRangeCommandId']:{_0x5b17a5=_0x16d9c5(_0x18c956,_0x2144fa);break;}case _0x3d73ea[_0x1d5b4a(0x200)]:{_0x5b17a5=_0x36e958(_0x18c956,_0x2144fa);break;}case _0x3d73ea[_0x1d5b4a(0x204)]:{_0x5b17a5=_0x5b40d0(_0x18c956,_0x2144fa);break;}}const _0x55850c=_0x44f27e(_0x5b17a5,_0x2144fa),_0x57b7b5=this['cursorInfo'][_0x1d5b4a(0x160)](_0x300022);if(_0x57b7b5&&_0x55850c){const _0x5892bd={..._0x57b7b5,'range':_0x55850c};this[_0x1d5b4a(0x1f1)][_0x1d5b4a(0x19f)](_0x300022,_0x5892bd),_0x5cf35e(()=>{const _0x1798f1=_0x1d5b4a,_0x53f1af=this['_refRangeService']['registerRefRange'](_0x55850c,_0x54734a=>(_0x53f1af[_0x1798f1(0x2ad)](),_0x2143e8(_0x54734a,_0x300022,_0x287b7f,_0x55850c)));_0x55e631['add'](_0x53f1af);});}return{'redos':[],'undos':[]};};this[_0x3254c1(0x1f1)]['forEach']((_0x2a30d3,_0x566a0a)=>{const _0x2cbdea=_0x3254c1,{range:_0x5306b1,sheetID:_0x566b64}=_0x2a30d3,_0x22fc54=this['_refRangeService'][_0x2cbdea(0x274)](_0x5306b1,_0x482e1e=>(_0x22fc54[_0x2cbdea(0x2ad)](),_0x2143e8(_0x482e1e,_0x566a0a,_0x566b64,_0x5306b1)));_0x55e631[_0x2cbdea(0xd4)](_0x22fc54);});};this[_0x3e4a78(0x1c6)](_0x2d320c(this[_0x3e4a78(0xd7)][_0x3e4a78(0x13c)](()=>{_0x552334();})));}[_0x1ea2c4(0x29e)](){const _0x443dbf=_0x1ea2c4;var _0x16b7f1,_0x496dd9;if(this['_online']=!0x0,((_0x16b7f1=this[_0x443dbf(0x155)][_0x443dbf(0x11e)]())==null?void 0x0:_0x16b7f1[_0x443dbf(0x2b3)]())!==this[_0x443dbf(0x21d)])return;const _0x4e248c=(_0x496dd9=this['_injector'][_0x443dbf(0x160)](_0x459614)[_0x443dbf(0x227)]())==null?void 0x0:_0x496dd9[0x0],_0x4b4915=this[_0x443dbf(0x155)][_0x443dbf(0xf5)](_0x1bd797[_0x443dbf(0x296)])['getActiveSheet']();_0x4e248c&&_0x4b4915&&this['_updateLocalCursor'](_0x4b4915[_0x443dbf(0xd0)](),_0x4e248c);}[_0x1ea2c4(0x2a8)](){const _0x3bc4d6=_0x1ea2c4;this[_0x3bc4d6(0x21f)]=!0x1;}};Me=mi([x(0x2,_0x2c28ac(_0x2ed78b)),x(0x3,_0x2c28ac(ke)),x(0x4,_0x2c28ac(_0xca28cd)),x(0x5,_0x610794),x(0x6,_0x2d7c40),x(0x7,_0x2c28ac(_0x38f2c6))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x130eea,_0x2d9d0a,_0x97df87,_0x593490)=>{for(var _0x1a838d=_0x593490>0x1?void 0x0:_0x593490?pi(_0x2d9d0a,_0x97df87):_0x2d9d0a,_0x398cda=_0x130eea['length']-0x1,_0x89c8f0;_0x398cda>=0x0;_0x398cda--)(_0x89c8f0=_0x130eea[_0x398cda])&&(_0x1a838d=_0x89c8f0(_0x1a838d)||_0x1a838d);return _0x1a838d;},Se=(_0x1915b6,_0x162890)=>(_0x649cc4,_0x18a351)=>_0x162890(_0x649cc4,_0x18a351,_0x1915b6);let H=class extends _0x15e0fe{constructor(_0x5ce2a8,_0x4cf8ed,_0x3e15a5){const _0x53b9ba=_0x1ea2c4;super(),_(this,_0x53b9ba(0x263),new Map()),_(this,_0x53b9ba(0xeb),new _0xd2bab0()),(this[_0x53b9ba(0x155)]=_0x5ce2a8,this[_0x53b9ba(0x2ab)]=_0x4cf8ed,this[_0x53b9ba(0x24e)]=_0x3e15a5,this[_0x53b9ba(0x28a)]());}[_0x1ea2c4(0x2ad)](){const _0x2f7ec1=_0x1ea2c4;super['dispose'](),this['_entityInit$']['complete'](),this['_entities']['forEach'](_0x4c81f5=>_0x4c81f5[_0x2f7ec1(0x2ad)]());}[_0x1ea2c4(0x29c)](_0x561a67){const _0x2dd05d=_0x1ea2c4;return this[_0x2dd05d(0x263)][_0x2dd05d(0x1d3)](_0x561a67)?this[_0x2dd05d(0x263)][_0x2dd05d(0x160)](_0x561a67)[_0x2dd05d(0x121)]:this[_0x2dd05d(0xeb)][_0x2dd05d(0x13f)](_0x5a9f25(_0x47f136=>_0x47f136['unitID']===_0x561a67),_0x3c2b2f(_0x3ed17e=>_0x3ed17e['cursorInfo$']));}[_0x1ea2c4(0x28a)](){const _0x2d08c9=_0x1ea2c4;this['_univerInstanceService'][_0x2d08c9(0x101)](_0x1bd797['UNIVER_SHEET'])[_0x2d08c9(0x13f)](_0x4c6dcf(this[_0x2d08c9(0x27e)]))[_0x2d08c9(0x13c)](async _0x36f210=>{const _0x40a818=_0x2d08c9,_0x260c02=_0x36f210['getUnitId'](),_0x4c9c89=await this[_0x40a818(0x1f6)](_0x260c02);this[_0x40a818(0xeb)]['next'](_0x4c9c89),this[_0x40a818(0x263)][_0x40a818(0x19f)](_0x260c02,_0x4c9c89);}),this[_0x2d08c9(0x155)]['getTypeOfUnitAdded$'](_0x1bd797[_0x2d08c9(0x1c3)])[_0x2d08c9(0x13f)](_0x4c6dcf(this[_0x2d08c9(0x27e)]))[_0x2d08c9(0x13f)](_0x5a9f25(_0x3a4bdc=>!_0x3a4bdc[_0x2d08c9(0x2b3)]()['startsWith']('__')))[_0x2d08c9(0x13c)](async _0x45eab1=>{const _0x32c32e=_0x2d08c9,_0x4bbd38=_0x45eab1[_0x32c32e(0x2b3)](),_0x200485=await this[_0x32c32e(0x267)](_0x4bbd38);this[_0x32c32e(0xeb)][_0x32c32e(0xf3)](_0x200485),this[_0x32c32e(0x263)]['set'](_0x4bbd38,_0x200485);}),_0x16bc38(this['_univerInstanceService'][_0x2d08c9(0x117)](_0x1bd797[_0x2d08c9(0x1c3)]),this[_0x2d08c9(0x155)][_0x2d08c9(0x117)](_0x1bd797['UNIVER_SHEET']))[_0x2d08c9(0x13f)](_0x4c6dcf(this[_0x2d08c9(0x27e)]))['subscribe'](_0x4d9b70=>{const _0x35989c=_0x2d08c9,_0x3d1d6a=_0x4d9b70['getUnitId'](),_0x28a56d=this[_0x35989c(0x263)][_0x35989c(0x160)](_0x3d1d6a);_0x28a56d&&(_0x28a56d[_0x35989c(0x2ad)](),this['_entities'][_0x35989c(0x2b0)](_0x3d1d6a));});}async[_0x1ea2c4(0x1f6)](_0x4ee29e){const _0x47193e=_0x1ea2c4,_0x514a99=await this[_0x47193e(0x24e)][_0x47193e(0xed)](_0x4ee29e),_0x2597c2=this['_injector'][_0x47193e(0x2ba)](Me,_0x4ee29e,_0x514a99);return _0x2597c2[_0x47193e(0x170)](),_0x2597c2;}async[_0x1ea2c4(0x267)](_0x48978b){const _0x13d51c=_0x1ea2c4,_0x528b65=await this[_0x13d51c(0x24e)][_0x13d51c(0xed)](_0x48978b),_0x458e91=this[_0x13d51c(0x2ab)][_0x13d51c(0x2ba)](Ue,_0x48978b,_0x528b65);return _0x458e91[_0x13d51c(0x170)](),_0x458e91;}};H=Ci([Se(0x0,_0x610794),Se(0x1,_0x2c28ac(_0x2ed78b)),Se(0x2,_0x2c28ac(_0x2352e1))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x177a99,_0x399999){const _0x2ebb0e=_0x1ea2c4;let {radius:_0x27f3d5,width:_0x3c67f5,height:_0x448428}=_0x399999;_0x27f3d5=_0x27f3d5!=null?_0x27f3d5:0x0,_0x3c67f5=_0x3c67f5!=null?_0x3c67f5:0x1e,_0x448428=_0x448428!=null?_0x448428:0x1e;let _0x10b2bc=0x0,_0x5eccf8=0x0,_0x39519d=0x0;_0x10b2bc=_0x5eccf8=_0x39519d=Math[_0x2ebb0e(0x25b)](_0x27f3d5,_0x3c67f5/0x2,_0x448428/0x2),_0x177a99[_0x2ebb0e(0x191)](),_0x177a99['moveTo'](_0x10b2bc,0x0),_0x177a99[_0x2ebb0e(0x26e)](_0x3c67f5-_0x5eccf8,0x0),_0x177a99[_0x2ebb0e(0x251)](_0x3c67f5-_0x5eccf8,_0x5eccf8,_0x5eccf8,Math['PI']*0x3/0x2,0x0,!0x1),_0x177a99[_0x2ebb0e(0x26e)](_0x3c67f5,_0x448428-_0x39519d),_0x177a99['arc'](_0x3c67f5-_0x39519d,_0x448428-_0x39519d,_0x39519d,0x0,Math['PI']/0x2,!0x1),_0x177a99[_0x2ebb0e(0x26e)](0x0,_0x448428),_0x177a99[_0x2ebb0e(0x26e)](0x0,_0x10b2bc),_0x177a99['arc'](_0x10b2bc,_0x10b2bc,_0x10b2bc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x177a99['closePath'](),_0x399999['fill']&&(_0x177a99[_0x2ebb0e(0x28e)](),_0x177a99[_0x2ebb0e(0x1ab)]=_0x399999[_0x2ebb0e(0x1e6)],_0x399999[_0x2ebb0e(0x1d9)]===_0x2ebb0e(0x142)?_0x177a99[_0x2ebb0e(0x1e6)]('evenodd'):_0x177a99['fill'](),_0x177a99['restore']());}class he extends _0x4e7874{constructor(_0x45592b,_0x340ffa){const _0x3ab0d0=_0x1ea2c4;super(_0x45592b,_0x340ffa),_(this,_0x3ab0d0(0x145)),_(this,'text'),(this[_0x3ab0d0(0x145)]=_0x340ffa==null?void 0x0:_0x340ffa['color'],this[_0x3ab0d0(0x21c)]=_0x340ffa==null?void 0x0:_0x340ffa[_0x3ab0d0(0x21c)]);}static[_0x1ea2c4(0x10f)](_0x5caf23,_0xa056f6){const _0x15d016=_0x1ea2c4,{text:_0x5d5406,color:_0x883881}=_0xa056f6;_0x5caf23['save'](),_0x5caf23[_0x15d016(0x12c)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1be820=_0x5caf23['measureText'](_0x5d5406)[_0x15d016(0x100)],_0x4972da=Math[_0x15d016(0x25b)](_0x1be820+0x2*me,Qe);Oi(_0x5caf23,{'height':ee,'radius':0x4,'width':_0x4972da,'fill':_0x883881}),_0x5caf23[_0x15d016(0x1ab)]=_0x15d016(0x1fb);const _0x8bb2eb=me,_0x3a82cb=ee-Ei,_0x1752c1=Qe-0x2*me;if(_0x1be820>_0x1752c1){let _0x294981='',_0x2a61d6=0x0;for(const _0x27bc8e of _0x5d5406){const _0x22c42d=_0x5caf23[_0x15d016(0x152)](_0x27bc8e)[_0x15d016(0x100)];if(_0x2a61d6+_0x22c42d<=_0x1752c1-_0x5caf23['measureText'](_0x15d016(0x141))[_0x15d016(0x100)])_0x294981+=_0x27bc8e,_0x2a61d6+=_0x22c42d;else{_0x294981+='...';break;}}_0x5caf23[_0x15d016(0x16b)](_0x294981,_0x8bb2eb,_0x3a82cb);}else _0x5caf23[_0x15d016(0x16b)](_0x5d5406,_0x8bb2eb,_0x3a82cb);_0x5caf23['restore']();}[_0x1ea2c4(0x1b2)](_0x225c5c){const _0x4edeef=_0x1ea2c4;he[_0x4edeef(0x10f)](_0x225c5c,this);}}const ge=_0x1ea2c4(0x20f),bi=_0x1ea2c4(0x183),Ti=_0x1ea2c4(0x2bd),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x1ea2c4(0x168);class qe{constructor(_0x531177,_0x52146c,_0x413164,_0x3aae0a){const _0x47716d=_0x1ea2c4;_(this,_0x47716d(0x146),[]),_(this,_0x47716d(0x1db),null),_(this,_0x47716d(0x17f),null),_(this,'_anchorDot',null),_(this,_0x47716d(0x153),null),_(this,_0x47716d(0x122),null),(this[_0x47716d(0x2c4)]=_0x531177,this[_0x47716d(0x131)]=_0x52146c,this[_0x47716d(0x10e)]=_0x413164,this[_0x47716d(0x1f2)]=_0x3aae0a,this[_0x47716d(0x1c0)]());}set[_0x1ea2c4(0x298)](_0x26a434){const _0x42ae42=_0x1ea2c4;_0x26a434?(this[_0x42ae42(0xe9)]&&this['_anchorDot'][_0x42ae42(0x16d)](),this['_textBubble']&&this[_0x42ae42(0x17f)]['show']()):(this[_0x42ae42(0xe9)]&&this[_0x42ae42(0xe9)][_0x42ae42(0x2a5)](),this[_0x42ae42(0x17f)]&&this[_0x42ae42(0x17f)][_0x42ae42(0x16d)]());}[_0x1ea2c4(0x2ad)](){const _0x35d89c=_0x1ea2c4;for(const _0x1e77d5 of this['_shapes'])_0x1e77d5[_0x35d89c(0x2ad)]();this[_0x35d89c(0x17f)]&&this[_0x35d89c(0x17f)][_0x35d89c(0x2ad)](),this[_0x35d89c(0xe9)]&&this['_anchorDot'][_0x35d89c(0x2ad)](),this['_anchor']&&this[_0x35d89c(0x1db)]['dispose'](),this[_0x35d89c(0x122)]&&this[_0x35d89c(0x122)]();}[_0x1ea2c4(0x1c0)](){const _0x585958=_0x1ea2c4;var _0x4a1ccc;const {_docSkeleton:_0x37615a,_document:_0x29cf7f}=this,{color:_0x566ec4,name:_0x53def1,ranges:_0x4a6002}=this[_0x585958(0x2c4)],_0x1929e1=_0x29cf7f['getOffsetConfig'](),{docsLeft:_0x5589a0,docsTop:_0x4ce761}=_0x1929e1,_0x811917=new _0x205c2f(_0x1929e1,_0x37615a);for(const {startOffset:_0x3fd0f1,endOffset:_0x318e9a,rangeType:_0x3c2d87,segmentId:_0x5b4eb7,segmentPage:_0x5e41be,collapsed:_0x179933,isActive:_0x3b912a}of _0x4a6002){const _0x36de84=_0x37615a['findNodePositionByCharIndex'](_0x3fd0f1,!0x0,_0x5b4eb7,_0x5e41be);let _0x38dae8=_0x37615a[_0x585958(0xd8)](_0x318e9a,!0x0,_0x5b4eb7,_0x5e41be);if(_0x38dae8==null&&(_0x38dae8=_0x37615a[_0x585958(0xd8)](_0x318e9a-0x1,!0x1,_0x5b4eb7,_0x5e41be)),_0x3b912a){const {contentBoxPointGroup:_0x21f236}=_0x811917[_0x585958(0x286)](_0x38dae8,_0x38dae8);if(_0x21f236[_0x585958(0x13d)]===0x0)continue;this[_0x585958(0x14c)](_0x566ec4,_0x21f236,_0x5589a0,_0x4ce761,_0x53def1),this[_0x585958(0x122)]=this['_handleHover']();}if(_0x36de84&&_0x38dae8){if(_0x3c2d87===_0x303fd1[_0x585958(0x17c)]){const _0x5d3f9e=new _0x379e91(_0x1929e1,_0x37615a),{pointGroup:_0x51d04c}=(_0x4a1ccc=_0x5d3f9e[_0x585958(0x286)](_0x36de84,_0x38dae8))!=null?_0x4a1ccc:{};if(_0x51d04c==null||_0x51d04c[_0x585958(0x13d)]===0x0)continue;this[_0x585958(0x290)](_0x566ec4,_0x51d04c,_0x5589a0,_0x4ce761);}else{if(!_0x179933){const {borderBoxPointGroup:_0x3a51f6}=_0x811917[_0x585958(0x286)](_0x36de84,_0x38dae8);if(_0x3a51f6[_0x585958(0x13d)]===0x0)continue;this['_drawTextRange'](_0x566ec4,_0x3a51f6,_0x5589a0,_0x4ce761);}}}}}[_0x1ea2c4(0x14c)](_0x167805,_0x48d603,_0x108a91,_0x203a50,_0x4b3fa6){const _0x3db01f=_0x1ea2c4,_0x597911=this[_0x3db01f(0x1d1)](_0x48d603),{left:_0x35d8d7,top:_0x32b912,height:_0x3f1401}=_0x597911,_0x5056c6=this[_0x3db01f(0x1eb)](),_0x5a437a=Di/_0x5056c6,_0x43b9c4=new _0x5a781a(ge+_0xd617dc[_0x3db01f(0x10c)](X),{'left':_0x35d8d7+_0x108a91-_0x5a437a,'top':_0x32b912+_0x203a50,'height':_0x3f1401,'width':Ri,'fill':_0x167805||_0xd1944e(_0x1ca1fd[_0x3db01f(0x1e1)],0x0),'strokeWidth':_0x5a437a,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x43b9c4,this[_0x3db01f(0x131)]['addObject'](_0x43b9c4,_0x8fb040);const _0x362828=new _0x5a781a(ge+_0xd617dc[_0x3db01f(0x10c)](X),{'left':_0x35d8d7+_0x108a91-_0x5a437a,'top':_0x32b912+_0x203a50-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x167805||_0xd1944e(_0x1ca1fd[_0x3db01f(0x1e1)],0x0),'strokeWidth':0x0,'stroke':_0x167805||_0xd1944e(_0x1ca1fd[_0x3db01f(0x1e1)],0x0),'evented':!0x1});this[_0x3db01f(0xe9)]=_0x362828,this[_0x3db01f(0x131)][_0x3db01f(0x1b0)](_0x362828,_0x8fb040);const _0x5d8658=new he(ge+_0xd617dc['generateRandomId'](X),{'left':_0x35d8d7+_0x108a91-_0x5a437a,'top':_0x32b912+_0x203a50-ee,'text':_0x4b3fa6,'color':_0x167805});this['_textBubble']=_0x5d8658,this[_0x3db01f(0x131)]['addObject'](_0x5d8658,_0x8fb040),this[_0x3db01f(0x298)]=!0x1;}['_handleHover'](){const _0x5ebf1b=_0x1ea2c4,_0x173f9f=this[_0x5ebf1b(0x1db)]['onPointerEnter$'][_0x5ebf1b(0x217)](()=>{this['_hover']=!0x0;}),_0x19f945=this[_0x5ebf1b(0x1db)]['onPointerLeave$'][_0x5ebf1b(0x217)](()=>{const _0x225a26=_0x5ebf1b;this['_hideTimer']&&clearTimeout(this[_0x225a26(0x153)]),this[_0x225a26(0x153)]=setTimeout(()=>{const _0x476603=_0x225a26;this[_0x476603(0x298)]=!0x1;},0x7d0);});return()=>{const _0x20c965=_0x5ebf1b;_0x173f9f[_0x20c965(0x2cf)](),_0x19f945[_0x20c965(0x2cf)]();};}[_0x1ea2c4(0x2b6)](_0x274575,_0x5564ef,_0x2c5e79,_0x1bc479){const _0x46ac5d=_0x1ea2c4,_0x584e40=new _0x1fa4b2(_0x274575)[_0x46ac5d(0xe3)](0.2)['toRgbString'](),_0x4d043b=new _0x29e9da(bi+_0xd617dc['generateRandomId'](X),{'pointsGroup':_0x5564ef,'fill':_0x584e40||_0xd1944e(_0x1ca1fd[_0x46ac5d(0x1e1)],0.2),'left':_0x2c5e79,'top':_0x1bc479,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46ac5d(0x146)][_0x46ac5d(0x292)](_0x4d043b),this['_scene']['addObject'](_0x4d043b,_0x8fb040);}[_0x1ea2c4(0x290)](_0xaee26f,_0x32edc1,_0x549fd5,_0x28f721){const _0x2d998e=_0x1ea2c4,_0xe27916=new _0x1fa4b2(_0xaee26f)[_0x2d998e(0xe3)](0.2)[_0x2d998e(0x231)](),_0x970aa1=new _0x29e9da(Ti+_0xd617dc['generateRandomId'](X),{'pointsGroup':_0x32edc1,'fill':_0xe27916||_0xd1944e(_0x1ca1fd[_0x2d998e(0x1e1)],0.2),'left':_0x549fd5,'top':_0x28f721,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2d998e(0x146)][_0x2d998e(0x292)](_0x970aa1),this['_scene']['addObject'](_0x970aa1,_0x8fb040);}['_getAnchorBounding'](_0x18d58b){const _0x314657=_0x18d58b[0x0],_0x2f6c1c=_0x314657[0x0],_0x3313c9=_0x314657[0x2],{x:_0x487eae,y:_0x53a713}=_0x2f6c1c,{x:_0x3ff0a4,y:_0x57774e}=_0x3313c9;return{'left':_0x487eae,'top':_0x53a713,'width':_0x3ff0a4-_0x487eae,'height':_0x57774e-_0x53a713};}[_0x1ea2c4(0x1eb)](){const _0x4901d3=_0x1ea2c4,{scaleX:_0xcc6817,scaleY:_0x309a7f}=this[_0x4901d3(0x131)][_0x4901d3(0x198)]();return Math[_0x4901d3(0x257)](_0xcc6817,_0x309a7f);}}var Ui=Object[_0x1ea2c4(0x29a)],Mi=(_0x5ec937,_0x5ccf95,_0x28e5b9,_0x42ac01)=>{const _0x26af0c=_0x1ea2c4;for(var _0x53f8a0=_0x42ac01>0x1?void 0x0:_0x42ac01?Ui(_0x5ccf95,_0x28e5b9):_0x5ccf95,_0x5a3377=_0x5ec937[_0x26af0c(0x13d)]-0x1,_0x111bc7;_0x5a3377>=0x0;_0x5a3377--)(_0x111bc7=_0x5ec937[_0x5a3377])&&(_0x53f8a0=_0x111bc7(_0x53f8a0)||_0x53f8a0);return _0x53f8a0;},Z=(_0x5ea727,_0x53f892)=>(_0x4d6345,_0x127feb)=>_0x53f892(_0x4d6345,_0x127feb,_0x5ea727);let Pe=class extends _0x15e0fe{constructor(_0x23782f,_0x5594ac,_0x334ecd,_0x36b947,_0x5b2d6e){const _0x2ac80f=_0x1ea2c4;super(),_(this,_0x2ac80f(0x22b),[]),_(this,_0x2ac80f(0x12a),[]),(this[_0x2ac80f(0x1e7)]=_0x23782f,this[_0x2ac80f(0x14b)]=_0x5594ac,this[_0x2ac80f(0x1f9)]=_0x334ecd,this['_commandService']=_0x36b947,this[_0x2ac80f(0xd5)]=_0x5b2d6e,this['_init']());}[_0x1ea2c4(0x28a)](){const _0x3629bb=_0x1ea2c4,_0x348cc5=this['_context'][_0x3629bb(0x1a4)],_0x2976fe=this[_0x3629bb(0x14b)];this[_0x3629bb(0x1c6)](_0x132635([this['_collabCursorController']['getCollabCursors$'](_0x348cc5),this[_0x3629bb(0xd5)][_0x3629bb(0x17b)]])[_0x3629bb(0x13f)](_0x1715d5(([_0x54b67c,_0x1c4b03])=>({'skeleton':_0x2976fe[_0x3629bb(0x173)](),'cursors':[..._0x54b67c[_0x3629bb(0x112)]()][_0x3629bb(0x262)](_0x400b82=>({..._0x400b82,'color':_0x1c4b03[_0x400b82[_0x3629bb(0x145)]]}))})))[_0x3629bb(0x13c)](_0x205c52=>{const _0x5bd2fd=_0x3629bb;if(this[_0x5bd2fd(0x194)](),_0x205c52){const {skeleton:_0x54c047,cursors:_0x2181a1}=_0x205c52;this['_updateCollabCursors'](_0x54c047,_0x2181a1);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x1ea2c4(0x22d)](_0xdf5091,_0x4a1bb9){const _0x57ba59=_0x1ea2c4,{scene:_0x312ada,mainComponent:_0x5f059b}=this[_0x57ba59(0x1e7)],_0x4736fa=_0x4a1bb9['map'](_0x3c7bfa=>new qe(_0x3c7bfa,_0x312ada,_0xdf5091,_0x5f059b));this[_0x57ba59(0x22b)]=_0x4736fa,this['_cursors']=_0x4a1bb9;}[_0x1ea2c4(0x1a1)](){const _0x256711=_0x1ea2c4;this['_removeCollabCursors']();const {scene:_0x99f3b1,mainComponent:_0x43d0ce}=this['_context'],_0xf60fb4=this[_0x256711(0x14b)]['getSkeleton'](),_0x35951d=this[_0x256711(0x12a)]['map'](_0x1da6a7=>new qe(_0x1da6a7,_0x99f3b1,_0xf60fb4,_0x43d0ce));this[_0x256711(0x22b)]=_0x35951d;}['_removeCollabCursors'](){const _0x3d667e=_0x1ea2c4;this['_cursorShapes']['forEach'](_0x29f979=>_0x29f979[_0x3d667e(0x2ad)]()),this['_cursorShapes']=[];}[_0x1ea2c4(0x1ff)](){const _0x35bebc=_0x1ea2c4,_0x3076f8=[_0x41fc4b['id']];this[_0x35bebc(0x1c6)](this[_0x35bebc(0x18c)]['onCommandExecuted'](_0xb25918=>{const _0x30e3e1=_0x35bebc;_0x3076f8[_0x30e3e1(0x222)](_0xb25918['id'])&&_0xb25918[_0x30e3e1(0x116)][_0x30e3e1(0x1a4)]===this[_0x30e3e1(0x1e7)][_0x30e3e1(0x1a4)]&&this['_refreshCollabCursors']();}));}[_0x1ea2c4(0x10d)](){const _0x3efd9f=_0x1ea2c4;this[_0x3efd9f(0x1c6)](_0x350e85(this['_context'][_0x3efd9f(0x11b)][_0x3efd9f(0x270)])['pipe'](_0x4a40cb(_0x33d5e4=>_0x33d5e4[_0x3efd9f(0x11d)]===_0x2a0c74[_0x3efd9f(0x2b2)]),_0x510e1e(0x10))['subscribe'](()=>{const _0x2bde3e=_0x3efd9f;this[_0x2bde3e(0x1a1)]();}));}};Pe=Mi([Z(0x1,_0x2c28ac(_0x43cc1e)),Z(0x2,_0x2c28ac(H)),Z(0x3,_0x2d7c40),Z(0x4,_0x2c28ac(_0x20c7fb))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x4e7874{constructor(_0x2fc7e9,_0x1949bf){const _0x3fe5df=_0x1ea2c4;super(_0x2fc7e9,_0x1949bf),_(this,_0x3fe5df(0x243)),_(this,_0x3fe5df(0x25e),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x3fe5df(0x280),_0x3fe5df(0x23a)),_(this,_0x3fe5df(0x1b6)),(_0x1949bf&&this[_0x3fe5df(0x2af)](_0x1949bf),this[_0x3fe5df(0x210)][_0x3fe5df(0x217)](()=>this[_0x3fe5df(0x2af)]({'hovered':!0x0})),this['onPointerLeave$'][_0x3fe5df(0x217)](()=>this[_0x3fe5df(0x2af)]({'hovered':!0x1})));}[_0x1ea2c4(0x2af)](_0x404382){const _0x4c0110=_0x1ea2c4;var _0x175102,_0x34270a,_0x1c91e2,_0x9ac92,_0x37de78,_0x3ee556;this[_0x4c0110(0x243)]=(_0x175102=_0x404382[_0x4c0110(0x145)])!=null?_0x175102:this[_0x4c0110(0x243)],this['_hovered']=(_0x34270a=_0x404382[_0x4c0110(0x1d6)])!=null?_0x34270a:this[_0x4c0110(0x25e)],this[_0x4c0110(0x1ca)]=(_0x1c91e2=_0x404382[_0x4c0110(0x2b1)])!=null?_0x1c91e2:this[_0x4c0110(0x1ca)],this[_0x4c0110(0x235)]=(_0x9ac92=_0x404382[_0x4c0110(0x13b)])!=null?_0x9ac92:this[_0x4c0110(0x235)],this['_labelPosition']=(_0x37de78=_0x404382[_0x4c0110(0x166)])!=null?_0x37de78:this[_0x4c0110(0x280)],this[_0x4c0110(0x1b6)]=(_0x3ee556=_0x404382['backgroundColor'])!=null?_0x3ee556:this['_backgroundColor'],this[_0x4c0110(0x161)]({'width':_0x404382[_0x4c0110(0x100)],'height':_0x404382['height']});}[_0x1ea2c4(0x1f8)](_0x2de966){const _0x49ca65=_0x1ea2c4,{row:_0x1425da,column:_0x3b5a7d}=_0x2de966;if(_0x1425da>=this['_range'][_0x49ca65(0x163)]&&_0x1425da<=this[_0x49ca65(0x1ca)][_0x49ca65(0x21e)]&&_0x3b5a7d>=this[_0x49ca65(0x1ca)][_0x49ca65(0x276)]&&_0x3b5a7d<=this[_0x49ca65(0x1ca)]['endColumn']){this[_0x49ca65(0x2af)]({'hovered':!0x0});return;}this[_0x49ca65(0x2af)]({'hovered':!0x1});}[_0x1ea2c4(0x1e9)](_0x310534){return!0x1;}['_draw'](_0x18adc1){const _0x41a04b=_0x1ea2c4;_0x5a781a[_0x41a04b(0x10f)](_0x18adc1,{'width':this[_0x41a04b(0x100)],'height':this[_0x41a04b(0x1cb)],'strokeWidth':Li,'stroke':this[_0x41a04b(0x243)],'evented':!0x1,'fill':this[_0x41a04b(0x1b6)]}),this[_0x41a04b(0x25e)]&&(_0x18adc1[_0x41a04b(0x28e)](),_0x18adc1[_0x41a04b(0x18f)](0x1,0x0,0x0,0x1,this[_0x41a04b(0x100)],this['_labelPosition']===_0x41a04b(0x11c)?0x0:-0x14),he['drawWith'](_0x18adc1,{'text':this['_name'],'color':this[_0x41a04b(0x243)]}),_0x18adc1[_0x41a04b(0x2a9)]());}}var Ai=Object[_0x1ea2c4(0x29a)],yi=(_0x2a2934,_0x3a0513,_0x1398d2,_0xf38a07)=>{const _0x315170=_0x1ea2c4;for(var _0xc24a7b=_0xf38a07>0x1?void 0x0:_0xf38a07?Ai(_0x3a0513,_0x1398d2):_0x3a0513,_0x548934=_0x2a2934[_0x315170(0x13d)]-0x1,_0xaa0bf3;_0x548934>=0x0;_0x548934--)(_0xaa0bf3=_0x2a2934[_0x548934])&&(_0xc24a7b=_0xaa0bf3(_0xc24a7b)||_0xc24a7b);return _0xc24a7b;},ve=(_0x2d4429,_0x18d764)=>(_0x1b75d2,_0x40cc4e)=>_0x18d764(_0x1b75d2,_0x40cc4e,_0x2d4429);const $i=0x1389;let Le=class extends _0x15e0fe{constructor(_0x4d3b2f,_0x4c62c4,_0x35a8b0,_0x2e5491){const _0x528af7=_0x1ea2c4;super(),_(this,_0x528af7(0x12a),new Set()),_(this,'_lastPointer',null),(this[_0x528af7(0x1e7)]=_0x4d3b2f,this[_0x528af7(0x1e4)]=_0x4c62c4,this['_collabCursorController']=_0x35a8b0,this[_0x528af7(0xd5)]=_0x2e5491,this[_0x528af7(0x28a)]());}['_init'](){const _0x2bbe4e=_0x1ea2c4;this[_0x2bbe4e(0x1e4)][_0x2bbe4e(0xfd)][_0x2bbe4e(0x13f)](_0x4f88ed(this[_0x2bbe4e(0x27e)]),_0x17c9a5(_0x538652=>{const _0x27e0e1=_0x2bbe4e;if(_0x538652){const _0x53353c=_0x538652['sheetId'];return _0x132635(this['_collabCursorController'][_0x27e0e1(0x29c)](this[_0x27e0e1(0x1e7)][_0x27e0e1(0x1a4)]),this[_0x27e0e1(0xd5)][_0x27e0e1(0x17b)])[_0x27e0e1(0x13f)](_0x1715d5(([_0x2d0eff,_0x38fe07])=>{const _0x37cb92=_0x27e0e1,_0x2cf6ab=new Map();return _0x2d0eff[_0x37cb92(0x108)]((_0x42d89a,_0x3e14f5)=>{const _0x42c159=_0x37cb92;if(_0x42d89a['sheetID']===_0x53353c){const _0x2a6e7a={..._0x42d89a};_0x2a6e7a[_0x42c159(0x145)]=_0x38fe07[_0x42d89a['color']],_0x2cf6ab[_0x42c159(0x19f)](_0x3e14f5,_0x2a6e7a);}}),{'skeleton':_0x538652,'cursors':_0x2cf6ab};}));}return _0x1da7a7({'skeleton':null,'cursors':new Map()});}))[_0x2bbe4e(0x13c)](({skeleton:_0x2af63c,cursors:_0x51f70})=>{const _0x131b61=_0x2bbe4e;this[_0x131b61(0x194)](),_0x2af63c&&this[_0x131b61(0x22d)](_0x2af63c,_0x51f70);}),this['_sheetSkeletonManagerService'][_0x2bbe4e(0xfd)][_0x2bbe4e(0x13c)](_0x40a89f=>{const _0x564b1e=_0x2bbe4e;if(_0x40a89f==null)return;const {skeleton:_0x256f44}=_0x40a89f,{scene:_0x10f7b5}=this['_context'];_0x10f7b5[_0x564b1e(0x156)][_0x564b1e(0x217)](_0x3c4131(_0x16b10d=>{const _0x2432c7=_0x564b1e;var _0x6785fc,_0x91c094;const {offsetX:_0xeaccc3,offsetY:_0x760b28}=_0x16b10d,{x:_0x1e9f11,y:_0x29ba59}=_0x10f7b5[_0x2432c7(0x1dc)](_0x55ebca[_0x2432c7(0x2ca)]([_0xeaccc3,_0x760b28])),{scaleX:_0x5f4888,scaleY:_0x244076}=_0x10f7b5[_0x2432c7(0x198)](),_0x1ee03b=_0x10f7b5[_0x2432c7(0x14a)](_0x670b59[_0x2432c7(0x265)]),_0x22ab83=_0x10f7b5[_0x2432c7(0x2bb)](_0x55ebca[_0x2432c7(0x2ca)]([_0x1e9f11,_0x29ba59]),_0x1ee03b),_0x1db3db=_0x256f44[_0x2432c7(0x22c)](_0xeaccc3,_0x760b28,_0x5f4888,_0x244076,_0x22ab83);((_0x6785fc=this['_lastPointer'])==null?void 0x0:_0x6785fc['column'])===_0x1db3db[_0x2432c7(0x138)]&&((_0x91c094=this['_lastPointer'])==null?void 0x0:_0x91c094[_0x2432c7(0x187)])===_0x1db3db['row']||this[_0x2432c7(0x12a)][_0x2432c7(0x108)](_0x8f72bd=>{const _0x491cee=_0x2432c7;_0x8f72bd[_0x491cee(0x1f8)](_0x1db3db);});},0x64));});}[_0x1ea2c4(0x22d)](_0x49785a,_0x5c9d49){const _0x16cb52=_0x1ea2c4;var _0x46dfa1;const _0x6f2575=(_0x46dfa1=this[_0x16cb52(0x1e4)]['getCurrent']())==null?void 0x0:_0x46dfa1[_0x16cb52(0x22f)];if(!_0x6f2575)return;const _0x440fb7=this['_getSheetObject']();if(!_0x440fb7)return;this[_0x16cb52(0x12a)][_0x16cb52(0x108)](_0x440b61=>{const _0x6ec82e=_0x16cb52;_0x440b61[_0x6ec82e(0x113)]();});const {scene:_0x592533}=_0x440fb7,_0x25675c=xi(Array['from'](_0x5c9d49['values']()))['map'](_0x340873=>{const _0x524218=_0x16cb52,{color:_0x264de1,range:_0x5b0e8c,name:_0x56ce2a,selection:_0x26bee2,sheetID:_0x4d0595}=_0x340873,{startColumn:_0x415479,startRow:_0x2d9f86,endColumn:_0xd39e66,endRow:_0x5bd91f}=_0x5b0e8c,_0xa28e4d=_0x2ac45a(_0x2d9f86,_0x415479,_0x592533,_0x6f2575),_0x137a62=_0x2ac45a(_0x5bd91f,_0xd39e66,_0x592533,_0x6f2575),{columnHeaderHeightAndMarginTop:_0x40cbea}=_0x6f2575,{startX:_0x45f243,startY:_0x5c16ba}=_0xa28e4d,{endX:_0x31b708,endY:_0x2bbaf8}=_0x137a62,_0x10d3ba=_0x31b708-_0x45f243,_0x1e4cbb=_0x2bbaf8-_0x5c16ba,_0x2ef6dd={'labelPosition':_0x5c16ba-_0x40cbea>=ee?'top':_0x524218(0x11c),'sheetID':_0x4d0595,'range':_0x5b0e8c,'color':_0x264de1,'name':_0x56ce2a,'selection':_0x26bee2,'left':_0x45f243,'top':_0x5c16ba,'width':_0x10d3ba,'height':_0x1e4cbb,'evented':!0x1,'zIndex':$i};return new wi(_0x56ce2a,_0x2ef6dd);});_0x592533[_0x16cb52(0x2b4)](_0x25675c,Pi),this[_0x16cb52(0x12a)]=new Set(_0x25675c);}[_0x1ea2c4(0x194)](){const _0x1f726e=_0x1ea2c4;var _0x44d080;(_0x44d080=this[_0x1f726e(0x12a)])==null||_0x44d080[_0x1f726e(0x108)](_0x37d9a9=>_0x37d9a9['dispose']());}[_0x1ea2c4(0x28d)](){const _0x2fe56e=_0x1ea2c4;return _0x14f9c0(this['_context'][_0x2fe56e(0x245)],this[_0x2fe56e(0x1e7)]);}};Le=yi([ve(0x1,_0x2c28ac(_0x2878d8)),ve(0x2,_0x2c28ac(H)),ve(0x3,_0x2c28ac(_0x20c7fb))],Le);function xi(_0x31d80e){const _0x169095=_0x1ea2c4,_0x4364cf=new Map();return _0x31d80e['forEach'](_0x5d1b1e=>{const _0xef6722=_0x3e8b;if(_0x4364cf[_0xef6722(0x1d3)](_0x5d1b1e['selection'])){const _0x5c6c76=_0x4364cf[_0xef6722(0x160)](_0x5d1b1e['selection']);_0x5c6c76[_0xef6722(0x13b)]+=',\x20'+_0x5d1b1e['name'];}else _0x4364cf[_0xef6722(0x19f)](_0x5d1b1e[_0xef6722(0x188)],_0x5d1b1e);}),Array[_0x169095(0x2c0)](_0x4364cf[_0x169095(0x112)]());}var v=function(){const _0x18cb26=_0x1ea2c4;return v=Object[_0x18cb26(0xd6)]||function(_0x471e6b){const _0x2228b5=_0x18cb26;for(var _0x20f27a,_0x4a75ae=0x1,_0x5a5bc0=arguments[_0x2228b5(0x13d)];_0x4a75ae<_0x5a5bc0;_0x4a75ae++){_0x20f27a=arguments[_0x4a75ae];for(var _0x23c1a0 in _0x20f27a)Object[_0x2228b5(0x157)][_0x2228b5(0x2b9)][_0x2228b5(0x1f7)](_0x20f27a,_0x23c1a0)&&(_0x471e6b[_0x23c1a0]=_0x20f27a[_0x23c1a0]);}return _0x471e6b;},v[_0x18cb26(0x1cd)](this,arguments);},Bi=function(_0x29e40c,_0x76879){const _0x3d28ec=_0x1ea2c4;var _0x5e7fb3={};for(var _0x1eff6e in _0x29e40c)Object[_0x3d28ec(0x157)][_0x3d28ec(0x2b9)][_0x3d28ec(0x1f7)](_0x29e40c,_0x1eff6e)&&_0x76879[_0x3d28ec(0x23c)](_0x1eff6e)<0x0&&(_0x5e7fb3[_0x1eff6e]=_0x29e40c[_0x1eff6e]);if(_0x29e40c!=null&&typeof Object[_0x3d28ec(0x2ac)]==_0x3d28ec(0x2a4)){for(var _0x46c723=0x0,_0x1eff6e=Object[_0x3d28ec(0x2ac)](_0x29e40c);_0x46c723<_0x1eff6e['length'];_0x46c723++)_0x76879[_0x3d28ec(0x23c)](_0x1eff6e[_0x46c723])<0x0&&Object[_0x3d28ec(0x157)][_0x3d28ec(0x1a0)]['call'](_0x29e40c,_0x1eff6e[_0x46c723])&&(_0x5e7fb3[_0x1eff6e[_0x46c723]]=_0x29e40c[_0x1eff6e[_0x46c723]]);}return _0x5e7fb3;},je=_0x507e46(function(_0xc73c56,_0x2a7c95){const _0x281d41=_0x1ea2c4;var _0x2fe8b0=_0xc73c56[_0x281d41(0x249)],_0x6fe4fd=_0xc73c56['id'],_0x3f0817=_0xc73c56[_0x281d41(0x261)],_0x3d3b4d=_0xc73c56['extend'],_0x3ab047=Bi(_0xc73c56,['icon','id',_0x281d41(0x261),_0x281d41(0x13e)]),_0x17586b=_0x281d41(0xfb)[_0x281d41(0x26b)](_0x6fe4fd,'\x20')[_0x281d41(0x26b)](_0x3f0817||'')['trim'](),_0x49dce6=_0x36b027('_'[_0x281d41(0x26b)](ji()));return Rt(_0x2fe8b0,''['concat'](_0x6fe4fd),{'defIds':_0x2fe8b0[_0x281d41(0x1ea)],'idSuffix':_0x49dce6['current']},v({'ref':_0x2a7c95,'className':_0x17586b},_0x3ab047),_0x3d3b4d);});function Rt(_0x591b45,_0x46189e,_0x34a93d,_0x35553e,_0x8113d4){const _0x1cfe69=_0x1ea2c4;return _0x9ecbb4(_0x591b45[_0x1cfe69(0x2cc)],v(v({'key':_0x46189e},ki(_0x591b45,_0x34a93d,_0x8113d4)),_0x35553e),(Hi(_0x591b45,_0x34a93d)[_0x1cfe69(0x1e0)]||[])['map'](function(_0x2abd97,_0x575832){const _0x2e0102=_0x1cfe69;return Rt(_0x2abd97,''[_0x2e0102(0x26b)](_0x46189e,'-')[_0x2e0102(0x26b)](_0x591b45[_0x2e0102(0x2cc)],'-')[_0x2e0102(0x26b)](_0x575832),_0x34a93d,void 0x0,_0x8113d4);}));}function ki(_0x12e56f,_0x4a8cbd,_0x248509){const _0x3757d7=_0x1ea2c4;var _0x3d67ea=v({},_0x12e56f['attrs']);_0x248509!=null&&_0x248509[_0x3757d7(0x2ae)]&&_0x3d67ea[_0x3757d7(0x1e6)]===_0x3757d7(0x2ae)&&(_0x3d67ea[_0x3757d7(0x1e6)]=_0x248509['colorChannel1']),_0x12e56f[_0x3757d7(0x2cc)]===_0x3757d7(0x26a)&&_0x3d67ea['id']&&(_0x3d67ea['id']=_0x3d67ea['id']+_0x4a8cbd['idSuffix']),Object[_0x3757d7(0x28f)](_0x3d67ea)[_0x3757d7(0x108)](function(_0x259a29){const _0x2ebe9b=_0x3757d7;var _0x187624=_0x259a29[0x0],_0x467fb6=_0x259a29[0x1];_0x187624===_0x2ebe9b(0x26a)&&typeof _0x467fb6==_0x2ebe9b(0xd3)&&(_0x3d67ea[_0x187624]=_0x467fb6[_0x2ebe9b(0x2c5)](/url\(#(.*)\)/,_0x2ebe9b(0x242)[_0x2ebe9b(0x26b)](_0x4a8cbd[_0x2ebe9b(0x147)],')')));});var _0x2a6d7b=_0x4a8cbd['defIds'];return!_0x2a6d7b||_0x2a6d7b['length']===0x0||(_0x12e56f['tag']==='use'&&_0x3d67ea[_0x3757d7(0x2a1)]&&(_0x3d67ea[_0x3757d7(0x2a1)]=_0x3d67ea[_0x3757d7(0x2a1)]+_0x4a8cbd[_0x3757d7(0x147)]),Object['entries'](_0x3d67ea)[_0x3757d7(0x108)](function(_0x2da02b){const _0x172d4e=_0x3757d7;var _0x2d28e3=_0x2da02b[0x0],_0x223697=_0x2da02b[0x1];typeof _0x223697==_0x172d4e(0xd3)&&(_0x3d67ea[_0x2d28e3]=_0x223697['replace'](/url\(#(.*)\)/,'url(#$1'[_0x172d4e(0x26b)](_0x4a8cbd[_0x172d4e(0x147)],')')));})),_0x3d67ea;}function Hi(_0x5caba3,_0xed0944){const _0x3fc73f=_0x1ea2c4;var _0x2b07ee,_0x10f423=_0xed0944[_0x3fc73f(0x1ea)];return!_0x10f423||_0x10f423[_0x3fc73f(0x13d)]===0x0?_0x5caba3:_0x5caba3['tag']===_0x3fc73f(0x150)&&(!((_0x2b07ee=_0x5caba3[_0x3fc73f(0x1e0)])===null||_0x2b07ee===void 0x0)&&_0x2b07ee[_0x3fc73f(0x13d)])?v(v({},_0x5caba3),{'children':_0x5caba3[_0x3fc73f(0x1e0)][_0x3fc73f(0x1bb)](function(_0xe79a9c){const _0x5658a7=_0x3fc73f;return typeof _0xe79a9c[_0x5658a7(0x12d)]['id']==_0x5658a7(0xd3)&&_0x10f423&&_0x10f423[_0x5658a7(0x23c)](_0xe79a9c[_0x5658a7(0x12d)]['id'])>-0x1?v(v({},_0xe79a9c),{'attrs':v(v({},_0xe79a9c[_0x5658a7(0x12d)]),{'id':_0xe79a9c[_0x5658a7(0x12d)]['id']+_0xed0944[_0x5658a7(0x147)]})}):_0xe79a9c;})}):_0x5caba3;}function ji(){const _0x4fff58=_0x1ea2c4;return Math[_0x4fff58(0x22a)]()[_0x4fff58(0x195)](0x24)[_0x4fff58(0x175)](0x2,0x8);}je[_0x1ea2c4(0x244)]=_0x1ea2c4(0x1a6);var Yi={'tag':_0x1ea2c4(0x2be),'attrs':{'fill':_0x1ea2c4(0x205),'viewBox':_0x1ea2c4(0x14e),'width':_0x1ea2c4(0x1ef),'height':_0x1ea2c4(0x1ef)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ea2c4(0x1ce)},'children':[{'tag':_0x1ea2c4(0x107),'attrs':{'stroke':_0x1ea2c4(0x1f0),'d':_0x1ea2c4(0x12f),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1ea2c4(0x150),'attrs':{},'children':[{'tag':_0x1ea2c4(0x2ce),'attrs':{'id':_0x1ea2c4(0x213)},'children':[{'tag':'path','attrs':{'fill':_0x1ea2c4(0x1cf),'d':_0x1ea2c4(0x1f4)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Dt=_0x507e46(function(_0x5d1f0f,_0x51931b){const _0x381c5b=_0x1ea2c4;return _0x9ecbb4(je,Object['assign']({},_0x5d1f0f,{'id':_0x381c5b(0x28c),'ref':_0x51931b,'icon':Yi}));});Dt[_0x1ea2c4(0x244)]='OffLineSingle';var Wi={'tag':_0x1ea2c4(0x2be),'attrs':{'fill':_0x1ea2c4(0x205),'viewBox':_0x1ea2c4(0x140),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1ea2c4(0xf2)},'children':[{'tag':_0x1ea2c4(0x107),'attrs':{'stroke':_0x1ea2c4(0x1f0),'d':_0x1ea2c4(0x2cd),'strokeLinecap':'round','strokeLinejoin':_0x1ea2c4(0x104),'strokeWidth':1.2}}]},{'tag':_0x1ea2c4(0x150),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x1ea2c4(0x107),'attrs':{'fill':_0x1ea2c4(0x1cf),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x1ea2c4(0x2c3)]},Nt=_0x507e46(function(_0x922b27,_0x281f46){const _0x3e4fb7=_0x1ea2c4;return _0x9ecbb4(je,Object[_0x3e4fb7(0xd6)]({},_0x922b27,{'id':_0x3e4fb7(0x291),'ref':_0x281f46,'icon':Wi}));});Nt['displayName']=_0x1ea2c4(0x1f3);function Fi(_0x1be5ab){const _0x3de81a=_0x1ea2c4;switch(_0x1be5ab){case _0x2b26de[_0x3de81a(0x16e)]:return _0x3de81a(0x162);case _0x2b26de[_0x3de81a(0x24a)]:return _0x3de81a(0x288);case _0x2b26de[_0x3de81a(0x1a5)]:return'collabStatus.fetchMiss';case _0x2b26de[_0x3de81a(0x15b)]:return _0x3de81a(0x128);case _0x2b26de[_0x3de81a(0xd1)]:case _0x2b26de[_0x3de81a(0x196)]:return _0x3de81a(0x19c);case _0x2b26de[_0x3de81a(0x247)]:case _0x2b26de['PENDING']:return _0x3de81a(0x25d);}}function Vi(_0x1df97f){const _0x34f5e9=_0x1ea2c4,{status$:_0x3e578a}=_0x1df97f,_0x41ba28=_0x1cc5fe(_0x3e578a,_0x2b26de['NOT_COLLAB']),_0x15862e=_0x1ac2e6(_0x4a6cd3),_0x3f0fe1=_0x1ac2e6(_0x2352e1),_0x380cf2=_0x41ba28!==_0x2b26de['OFFLINE'],_0x2c2e81=_0x15862e['t'](Fi(_0x41ba28)),_0x1c9a6b=_0x380cf2?_0x46fa34(Nt,{}):_0x46fa34(Dt,{}),_0xaa0c2b=_0x39c0bd(()=>{_0x380cf2||_0x3f0fe1['reconnect']();},[_0x380cf2,_0x3f0fe1]);function _0x4ceafe(){const _0x5091c3=_0x3e8b;return _0xad7a6a(_0x5091c3(0x218),{'className':_0x5091c3(0x207),'onClick':_0xaa0c2b,'children':[_0x46fa34(_0x5091c3(0x218),{'className':_0x507046(_0x5091c3(0x252),_0x380cf2?_0x5091c3(0x2a0):_0x5091c3(0xfe)),'children':_0x1c9a6b}),_0x46fa34(_0x5091c3(0x218),{'className':_0x5091c3(0x260),'children':_0x2c2e81})]});}return _0x380cf2?_0x4ceafe():_0x46fa34(_0x5957bd,{'title':_0x15862e['t'](_0x34f5e9(0x279)),'children':_0x4ceafe()});}var Xi=Object[_0x1ea2c4(0x29a)],Gi=(_0x120e2a,_0x100ed8,_0x2da571,_0x2b3181)=>{const _0x510335=_0x1ea2c4;for(var _0x370f6e=_0x2b3181>0x1?void 0x0:_0x2b3181?Xi(_0x100ed8,_0x2da571):_0x100ed8,_0x27886b=_0x120e2a[_0x510335(0x13d)]-0x1,_0x3244a7;_0x27886b>=0x0;_0x27886b--)(_0x3244a7=_0x120e2a[_0x27886b])&&(_0x370f6e=_0x3244a7(_0x370f6e)||_0x370f6e);return _0x370f6e;},Q=(_0x1d18f3,_0x3f940f)=>(_0x121e69,_0x5dc6f6)=>_0x3f940f(_0x121e69,_0x5dc6f6,_0x1d18f3);let te=class extends _0x5e7e9c{constructor(_0x1d4043,_0xc9f344,_0x31cef3,_0x23ce2c){const _0x1731cd=_0x1ea2c4;super(),_(this,'_status$',new _0x10a4a9(_0x2b26de[_0x1731cd(0x15b)])),(this[_0x1731cd(0x155)]=_0x1d4043,this[_0x1731cd(0x2ab)]=_0xc9f344,this[_0x1731cd(0x273)]=_0x31cef3,this[_0x1731cd(0x1ed)]=_0x23ce2c,this[_0x1731cd(0x232)](),this[_0x1731cd(0xf7)]());}['_initStatusListener'](){const _0x44d959=_0x1ea2c4;this[_0x44d959(0x1c6)](this[_0x44d959(0x155)][_0x44d959(0x12b)]['pipe'](_0x3c2b2f(()=>{const _0x1a3735=_0x44d959,_0x11e608=this[_0x1a3735(0x155)][_0x1a3735(0x11e)]();return _0x11e608?this[_0x1a3735(0x273)][_0x1a3735(0x268)](_0x11e608['getUnitId']()):_0x1da7a7(null);}),_0x3c2b2f(_0x29c0b0=>_0x29c0b0?_0x29c0b0['status$']:_0x1da7a7(_0x2b26de['NOT_COLLAB'])))['subscribe'](_0x12e538=>{const _0x14877e=_0x44d959;this[_0x14877e(0x1ba)][_0x14877e(0xf3)](_0x12e538);}));}['_initStatusComponent'](){const _0x274c9e=_0x1ea2c4;this['disposeWithMe'](this[_0x274c9e(0x1ed)]['registerComponent'](_0x3fb8e2[_0x274c9e(0x1d0)],()=>_0x40a413(Ki({'status$':this[_0x274c9e(0x1ba)][_0x274c9e(0x1dd)]()}),this[_0x274c9e(0x2ab)])));}};te=Gi([Q(0x0,_0x610794),Q(0x1,_0x2c28ac(_0x2ed78b)),Q(0x2,_0x2c28ac(_0x23b738)),Q(0x3,_0x3f3b82)],te);function Ki(_0x461047){const {status$:_0x114db5}=_0x461047;return function(){return _0x46fa34(Vi,{'status$':_0x114db5});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x422b14,_0x33e493,_0x577f80,_0x329ec5)=>{const _0x3b6afb=_0x1ea2c4;for(var _0x592345=_0x329ec5>0x1?void 0x0:_0x329ec5?zi(_0x33e493,_0x577f80):_0x33e493,_0x4adebb=_0x422b14[_0x3b6afb(0x13d)]-0x1,_0x1f371e;_0x4adebb>=0x0;_0x4adebb--)(_0x1f371e=_0x422b14[_0x4adebb])&&(_0x592345=_0x1f371e(_0x592345)||_0x592345);return _0x592345;},B=(_0x1030d0,_0x47f20f)=>(_0x119410,_0x5e3cf2)=>_0x47f20f(_0x119410,_0x5e3cf2,_0x1030d0);let se=class extends _0x5e7e9c{constructor(_0x18b148,_0x306b9e,_0x5598a4,_0x483b44,_0x39cdd3,_0x5fb265){const _0x1000f7=_0x1ea2c4;super(),this[_0x1000f7(0x209)]=_0x18b148,this[_0x1000f7(0x123)]=_0x306b9e,this[_0x1000f7(0x199)]=_0x5598a4,this[_0x1000f7(0xf9)]=_0x483b44,this[_0x1000f7(0x238)]=_0x39cdd3,this[_0x1000f7(0x149)]=_0x5fb265,this[_0x1000f7(0x136)](),this['_initEvent']();}[_0x1ea2c4(0x136)](){const _0x38b8be=_0x1ea2c4;this[_0x38b8be(0x1c6)](this[_0x38b8be(0x209)]['registerBeforeClose'](()=>{const _0x1a16a3=_0x38b8be;if(this[_0x1a16a3(0x123)]['saveTaskMap'][_0x1a16a3(0xdf)])return this[_0x1a16a3(0x149)]['t'](_0x1a16a3(0x15a));}));}[_0x1ea2c4(0x118)](){const _0xfc9123=_0x1ea2c4;this[_0xfc9123(0x1c6)](this[_0xfc9123(0x199)][_0xfc9123(0x25f)][_0xfc9123(0x13c)](_0x506713=>{const _0x38ba9d=_0xfc9123;_0x506713['id']===_0x3ded85[_0x38ba9d(0xdc)]&&this[_0x38ba9d(0xf9)][_0x38ba9d(0x2a5)]({'type':_0x4265c6['Warning'],'content':this[_0x38ba9d(0x149)]['t'](_0x38ba9d(0x193))}),_0x506713['id']===_0x3ded85['CLOSE_ROOM']&&this['_messageService']['show']({'type':_0x4265c6[_0x38ba9d(0x18d)],'content':this[_0x38ba9d(0x149)]['t'](_0x38ba9d(0x16f))}),_0x506713['id']===_0x3ded85['PERMISSION_DENIED']&&this[_0x38ba9d(0x238)][_0x38ba9d(0x2a5)]({'title':this[_0x38ba9d(0x149)]['t'](_0x38ba9d(0x19b)),'content':this['_localeService']['t'](_0x38ba9d(0xf8)),'type':_0x38ba9d(0x21a),'duration':0x0}),_0x506713['id']===_0x3ded85[_0x38ba9d(0x24a)]&&this['_messageService'][_0x38ba9d(0x2a5)]({'type':_0x4265c6[_0x38ba9d(0x2cb)],'content':this[_0x38ba9d(0x149)]['t'](_0x38ba9d(0x16f))+'('+_0x506713[_0x38ba9d(0x221)]+')'}),_0x506713['id']===_0x3ded85[_0x38ba9d(0x29f)]&&this[_0x38ba9d(0xf9)][_0x38ba9d(0x2a5)]({'type':_0x4265c6[_0x38ba9d(0x18d)],'content':this['_localeService']['t'](_0x506713[_0x38ba9d(0x221)]||'')}),_0x506713['id']===_0x3ded85['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x38ba9d(0x2a5)]({'type':_0x4265c6[_0x38ba9d(0x18d)],'content':this['_localeService']['t'](_0x38ba9d(0x19e))}),_0x506713['id']===_0x3ded85[_0x38ba9d(0x12e)]&&this['_messageService'][_0x38ba9d(0x2a5)]({'type':_0x4265c6[_0x38ba9d(0x2cb)],'content':this['_localeService']['t'](_0x38ba9d(0x23b))}),_0x506713['id']===_0x3ded85[_0x38ba9d(0x236)]&&this[_0x38ba9d(0xf9)][_0x38ba9d(0x2a5)]({'type':_0x4265c6[_0x38ba9d(0x2cb)],'content':this[_0x38ba9d(0x149)]['t'](_0x38ba9d(0x165))});}));}};se=Ji([B(0x0,_0x2f9cbb),B(0x1,_0x499d1f),B(0x2,_0x2c28ac(_0x34d3bc)),B(0x3,_0xa0ddb0),B(0x4,_0x34bb3c),B(0x5,_0x2c28ac(_0x4a6cd3))],se);const Zi=_0x1ea2c4(0xdb),et={},Ut=_0x4f6e10(_0x1ea2c4(0x23f));var Qi=Object[_0x1ea2c4(0x29a)],qi=(_0x4fa061,_0x349943,_0x3c8160,_0x4897f9)=>{const _0x4e23e0=_0x1ea2c4;for(var _0x451924=_0x4897f9>0x1?void 0x0:_0x4897f9?Qi(_0x349943,_0x3c8160):_0x349943,_0x7e6c4=_0x4fa061[_0x4e23e0(0x13d)]-0x1,_0xea2e1d;_0x7e6c4>=0x0;_0x7e6c4--)(_0xea2e1d=_0x4fa061[_0x7e6c4])&&(_0x451924=_0xea2e1d(_0x451924)||_0x451924);return _0x451924;},G=(_0x217671,_0x54ab58)=>(_0x313b23,_0x14d4a7)=>_0x54ab58(_0x313b23,_0x14d4a7,_0x217671);let ie=class extends _0x15e0fe{constructor(_0x3ab5b6,_0x2db368,_0x6221f8,_0x2d3069,_0x30d6cb){const _0x592c29=_0x1ea2c4;super(),this[_0x592c29(0x159)]=_0x3ab5b6,this[_0x592c29(0x1c9)]=_0x2db368,this[_0x592c29(0x18c)]=_0x6221f8,this[_0x592c29(0x18a)]=_0x2d3069,_0x30d6cb?_0x30d6cb==null||_0x30d6cb[_0x592c29(0x127)]()['then'](()=>this[_0x592c29(0x28a)]()):(this[_0x592c29(0x1c9)][_0x592c29(0x216)]('[CollaborationDataLoaderController]',_0x592c29(0xda)),this[_0x592c29(0x28a)]());}async['_init'](){const _0x282130=_0x1ea2c4,_0x3cba99=this[_0x282130(0x159)][_0x282130(0x206)](_0x282130(0x245)),_0x49b53e=this[_0x282130(0x159)][_0x282130(0x206)](_0x282130(0x11d)),_0x26324e=this['_urlService'][_0x282130(0x206)]('subunit');if(!_0x3cba99||!_0x49b53e){this[_0x282130(0x1c9)]['debug'](_0x282130(0xe0),_0x282130(0x2c8));return;}const _0x4d028e=await this[_0x282130(0x18a)]['loadUnit'](_0x3cba99,Number(_0x49b53e),_0x26324e);_0x4d028e&&_0x4d028e instanceof _0x58fbb2&&this['_setupSubUnitSync'](_0x4d028e);}async[_0x1ea2c4(0x1be)](_0x1e6c12){const _0x5413e9=_0x1ea2c4;await this['_updateSubUnitFromURLParams'](_0x1e6c12),_0x1e6c12[_0x5413e9(0x256)][_0x5413e9(0x13f)](_0x4c6dcf(this[_0x5413e9(0x27e)]))[_0x5413e9(0x13c)](_0x17272b=>{_0x17272b&&this['_updateURLWithCurrentState'](_0x17272b);}),this['_urlService']['urlChange$'][_0x5413e9(0x13f)](_0x4c6dcf(this[_0x5413e9(0x27e)]))[_0x5413e9(0x13c)](()=>this['_updateSubUnitFromURLParams'](_0x1e6c12));}[_0x1ea2c4(0x1b5)](_0x128f69,_0x4f8855=!0x1){const _0x4dec57=_0x1ea2c4,_0x495200=this['_urlService'][_0x4dec57(0x206)]('subunit');_0x128f69[_0x4dec57(0xd0)]()!==_0x495200&&this[_0x4dec57(0x159)][_0x4dec57(0x1c8)](_0x4dec57(0x25a),_0x128f69[_0x4dec57(0xd0)](),_0x4f8855);}async[_0x1ea2c4(0x2aa)](_0x476c7b){const _0x12988e=_0x1ea2c4;var _0x21393f;const _0x231529=this[_0x12988e(0x159)][_0x12988e(0x206)](_0x12988e(0x25a));if(!_0x231529||!_0x476c7b[_0x12988e(0x10b)](_0x231529)){const _0x3cb11e=_0x476c7b[_0x12988e(0x22e)]()[0x0],_0xef3fa=_0x476c7b[_0x12988e(0x10b)](_0x3cb11e);if(!_0xef3fa)return;this['_updateURLWithCurrentState'](_0xef3fa,!0x0),await this['_commandService'][_0x12988e(0xfc)](_0xeabcb2['id'],{'unitId':_0x476c7b[_0x12988e(0x2b3)](),'subUnitId':_0x3cb11e});return;}((_0x21393f=_0x476c7b['getActiveSheet']())==null?void 0x0:_0x21393f[_0x12988e(0xd0)]())!==_0x231529&&await this['_commandService']['executeCommand'](_0xeabcb2['id'],{'unitId':_0x476c7b[_0x12988e(0x2b3)](),'subUnitId':_0x231529});}};ie=qi([G(0x0,Ut),G(0x1,_0x463af4),G(0x2,_0x2d7c40),G(0x3,_0x2c28ac(_0x5c1275)),G(0x4,_0x4825e0(_0x1b2577))],ie);var en=Object[_0x1ea2c4(0x29a)],tn=(_0x23fdfa,_0x2f7d93,_0x3dd8ab,_0x1c24a7)=>{for(var _0x5632e1=_0x1c24a7>0x1?void 0x0:_0x1c24a7?en(_0x2f7d93,_0x3dd8ab):_0x2f7d93,_0x33bd65=_0x23fdfa['length']-0x1,_0x3e543b;_0x33bd65>=0x0;_0x33bd65--)(_0x3e543b=_0x23fdfa[_0x33bd65])&&(_0x5632e1=_0x3e543b(_0x5632e1)||_0x5632e1);return _0x5632e1;},pe=(_0x571db8,_0x2e6f3f)=>(_0x5a9f6b,_0x5abbde)=>_0x2e6f3f(_0x5a9f6b,_0x5abbde,_0x571db8);let ne=class{constructor(_0xa935eb,_0x27184d,_0x6ab1bf){const _0x46bfab=_0x1ea2c4;this[_0x46bfab(0x2ab)]=_0xa935eb,this[_0x46bfab(0x11a)]=_0x27184d,this[_0x46bfab(0xf6)]=_0x6ab1bf;}[_0x1ea2c4(0xfa)](_0x45b024){const _0x2aa910=_0x1ea2c4;this[_0x2aa910(0xe5)](_0x45b024),this[_0x2aa910(0x190)](_0x45b024);}[_0x1ea2c4(0x1d7)](_0x52ba1e){const _0x35f2b6=_0x1ea2c4,{unitID:_0x3eb481}=_0x52ba1e,_0x41d6aa=this[_0x35f2b6(0xf6)][_0x35f2b6(0x20a)](_0x3eb481)[_0x35f2b6(0x167)](_0x46af31),{redoCache:_0x46825d}=_0x41d6aa['getUndoRedoMutationParamsCache']();if(_0x46825d[_0x35f2b6(0x13d)]===0x0)return _0x52ba1e;let _0xc99208=_0xd617dc[_0x35f2b6(0x1b3)](_0x52ba1e[_0x35f2b6(0x26f)][0x0]);for(let _0x49b9c5=0x0;_0x49b9c5<_0x46825d[_0x35f2b6(0x13d)];_0x49b9c5++){const _0x36c24d={'id':'doc.mutation.rich-text-editing','params':{..._0x46825d[_0x49b9c5]}},_0x1a4572=this[_0x35f2b6(0x11a)][_0x35f2b6(0x2a2)](_0xc99208,_0x36c24d,!0x1);if(_0x1280c2(_0x1a4572))throw _0x1a4572['error'];_0xc99208=_0x1a4572[_0x35f2b6(0x102)];}return{..._0xd617dc[_0x35f2b6(0x1b3)](_0x52ba1e),'mutations':[_0xc99208]};}[_0x1ea2c4(0xe5)](_0x54eeae){const _0x59c3a6=_0x1ea2c4,{unitID:_0x53e436}=_0x54eeae,_0x2a640a=this[_0x59c3a6(0xf6)][_0x59c3a6(0x20a)](_0x53e436)[_0x59c3a6(0x167)](_0x46af31),{undoCache:_0x4a66ac,redoCache:_0x1acbc6}=_0x2a640a[_0x59c3a6(0x158)]();if(_0x4a66ac['length']===0x0||_0x1acbc6[_0x59c3a6(0x13d)]===0x0)return;const _0x42f591=[],_0x465cb6=[];let _0x43bc20=_0xd617dc[_0x59c3a6(0x1b3)](_0x54eeae[_0x59c3a6(0x26f)][0x0]),_0x1a2764=_0xd617dc[_0x59c3a6(0x1b3)](_0x54eeae['mutations'][0x0]);for(let _0x283aeb=_0x4a66ac[_0x59c3a6(0x13d)]-0x1;_0x283aeb>=0x0;_0x283aeb--){const _0x16e4be={'id':_0x59c3a6(0x1ee),'params':{..._0x4a66ac[_0x283aeb]}},_0x28f443={'id':_0x59c3a6(0x1ee),'params':{..._0x1acbc6[_0x283aeb]}},_0x4546dc=this['_transformService'][_0x59c3a6(0x2a2)](_0x43bc20,_0x16e4be,!0x1),_0x54279f=this[_0x59c3a6(0x11a)][_0x59c3a6(0x2a2)](_0x1a2764,_0x28f443,!0x1);if(_0x1280c2(_0x4546dc))throw _0x4546dc['error'];if(_0x1280c2(_0x54279f))throw _0x54279f['error'];_0x42f591[_0x59c3a6(0x282)](_0x4546dc[_0x59c3a6(0x20b)][_0x59c3a6(0x116)]),_0x465cb6[_0x59c3a6(0x282)](_0x54279f['m2Prime'][_0x59c3a6(0x116)]),_0x43bc20=_0x4546dc[_0x59c3a6(0x102)],_0x1a2764=_0x54279f[_0x59c3a6(0x102)];}_0x2a640a[_0x59c3a6(0x299)]({'undoCache':_0x42f591,'redoCache':_0x465cb6});}[_0x1ea2c4(0x190)](_0x43c2ae){const _0x9ceeea=_0x1ea2c4,{unitID:_0xbef1f4}=_0x43c2ae,_0x4e39aa=this['_renderManagerService'][_0x9ceeea(0x20a)](_0xbef1f4)[_0x9ceeea(0x167)](_0x46af31),_0x2d8e14=_0x4e39aa['getActiveRange']();if(_0x2d8e14==null)return;const _0x54628e=[{'id':_0x9ceeea(0x1ee),'params':{'unitId':_0x43c2ae['unitID'],'actions':null,'textRanges':[_0x2d8e14]}}],_0x2bc654=this[_0x9ceeea(0x11a)]['transformMutationsWithChangeset'](_0x43c2ae,_0x54628e);if(!_0xb0953b(_0x2bc654))throw _0x2bc654['error'];const _0x20845c=_0x2bc654[_0x9ceeea(0x20b)][0x0][_0x9ceeea(0x116)][_0x9ceeea(0x287)];Array[_0x9ceeea(0x208)](_0x20845c)&&_0x20845c[_0x9ceeea(0x13d)]&&_0x4e39aa[_0x9ceeea(0x186)](_0x20845c[0x0]);}};ne=tn([pe(0x0,_0x2c28ac(_0x2ed78b)),pe(0x1,_0x1064e2),pe(0x2,_0x29a565)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x4e875d,_0x2f7f8f,_0xa5c3cf,_0x39655f)=>{const _0x2aef3c=_0x1ea2c4;for(var _0x25a292=_0x39655f>0x1?void 0x0:_0x39655f?sn(_0x2f7f8f,_0xa5c3cf):_0x2f7f8f,_0x1c27a2=_0x4e875d[_0x2aef3c(0x13d)]-0x1,_0x5c07e0;_0x1c27a2>=0x0;_0x1c27a2--)(_0x5c07e0=_0x4e875d[_0x1c27a2])&&(_0x25a292=_0x5c07e0(_0x25a292)||_0x25a292);return _0x25a292;},Ce=(_0x2eb2fb,_0x5374ea)=>(_0x4a35cb,_0x12b2ca)=>_0x5374ea(_0x4a35cb,_0x12b2ca,_0x2eb2fb);let re=class{constructor(_0x27f57e,_0x31c04e,_0x29fb30){const _0x2a8bbd=_0x1ea2c4;this[_0x2a8bbd(0x2ab)]=_0x27f57e,this[_0x2a8bbd(0x11a)]=_0x31c04e,this[_0x2a8bbd(0x24d)]=_0x29fb30;}[_0x1ea2c4(0x1e8)](_0x1c5c5d){const _0x68f556=_0x1ea2c4;this[_0x68f556(0x192)](_0x1c5c5d);}[_0x1ea2c4(0x1d7)](_0x316451){const _0x58efe3=_0x1ea2c4,{unitID:_0x225ebe}=_0x316451,{collaboration:_0x1df765}=this[_0x58efe3(0x24d)][_0x58efe3(0x1d5)](_0x225ebe);if(_0x1df765[_0x58efe3(0x13d)]===0x0)return _0x316451;let _0x40df57=_0xd617dc[_0x58efe3(0x1b3)](_0x316451['mutations'][0x0]);for(let _0x475dfe=0x0;_0x475dfe<_0x1df765[_0x58efe3(0x13d)];_0x475dfe++){const _0x84305b={'id':_0x58efe3(0x1ee),'params':{'unitId':_0x1df765[_0x475dfe][_0x58efe3(0x1a4)],..._0x1df765[_0x475dfe][_0x58efe3(0x241)]}},_0x148690=this[_0x58efe3(0x11a)][_0x58efe3(0x2a2)](_0x40df57,_0x84305b,!0x1);if(_0x1280c2(_0x148690))throw _0x148690[_0x58efe3(0x21a)];_0x40df57=_0x148690['m1Prime'];}return{..._0xd617dc[_0x58efe3(0x1b3)](_0x316451),'mutations':[_0x40df57]};}[_0x1ea2c4(0x192)](_0x4f54f3){const _0x143764=_0x1ea2c4,{unitID:_0x38c372}=_0x4f54f3,{history:_0x4257a9,collaboration:_0x34959e}=this[_0x143764(0x24d)][_0x143764(0x1d5)](_0x38c372);if(_0x4257a9['length']===0x0&&_0x34959e[_0x143764(0x13d)]===0x0)return;const _0x2b9c09=[],_0x182407=[];let _0x2647c0=_0xd617dc[_0x143764(0x1b3)](_0x4f54f3[_0x143764(0x26f)][0x0]),_0x2bce3a=_0xd617dc[_0x143764(0x1b3)](_0x4f54f3['mutations'][0x0]);for(let _0x2fba2f=_0x4257a9[_0x143764(0x13d)]-0x1;_0x2fba2f>=0x0;_0x2fba2f--){const _0x48ee1={'id':_0x143764(0x1ee),'params':{'unitId':_0x4257a9[_0x2fba2f][_0x143764(0x1a4)],..._0x4257a9[_0x2fba2f][_0x143764(0x1a8)]}},_0x396ede={'id':_0x143764(0x1ee),'params':{'unitId':_0x4257a9[_0x2fba2f][_0x143764(0x1a4)],..._0x4257a9[_0x2fba2f][_0x143764(0x241)]}},_0x356620=this[_0x143764(0x11a)][_0x143764(0x2a2)](_0x2647c0,_0x48ee1,!0x1),_0x2ba6c3=this[_0x143764(0x11a)]['transformMutation'](_0x2bce3a,_0x396ede,!0x1);if(_0x1280c2(_0x356620))throw _0x356620[_0x143764(0x21a)];if(_0x1280c2(_0x2ba6c3))throw _0x2ba6c3[_0x143764(0x21a)];_0x2b9c09['unshift']({..._0x4257a9[_0x2fba2f],'undoState':_0x356620[_0x143764(0x20b)][_0x143764(0x116)],'redoState':_0x2ba6c3[_0x143764(0x20b)][_0x143764(0x116)]}),_0x2647c0=_0x356620[_0x143764(0x102)],_0x2bce3a=_0x2ba6c3['m1Prime'];}_0x2647c0=_0xd617dc[_0x143764(0x1b3)](_0x4f54f3['mutations'][0x0]),_0x2bce3a=_0xd617dc[_0x143764(0x1b3)](_0x4f54f3['mutations'][0x0]);for(let _0x2cb5eb=_0x34959e['length']-0x1;_0x2cb5eb>=0x0;_0x2cb5eb--){const _0x1df1f9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34959e[_0x2cb5eb][_0x143764(0x1a4)],..._0x34959e[_0x2cb5eb][_0x143764(0x1a8)]}},_0x145154={'id':_0x143764(0x1ee),'params':{'unitId':_0x34959e[_0x2cb5eb]['unitId'],..._0x34959e[_0x2cb5eb][_0x143764(0x241)]}},_0x50e62c=this[_0x143764(0x11a)]['transformMutation'](_0x2647c0,_0x1df1f9,!0x1),_0x185e5f=this[_0x143764(0x11a)][_0x143764(0x2a2)](_0x2bce3a,_0x145154,!0x1);if(_0x1280c2(_0x50e62c))throw _0x50e62c[_0x143764(0x21a)];if(_0x1280c2(_0x185e5f))throw _0x185e5f[_0x143764(0x21a)];_0x182407[_0x143764(0x282)]({..._0x34959e[_0x2cb5eb],'undoState':_0x50e62c[_0x143764(0x20b)]['params'],'redoState':_0x185e5f[_0x143764(0x20b)][_0x143764(0x116)]}),_0x2647c0=_0x50e62c[_0x143764(0x102)],_0x2bce3a=_0x185e5f[_0x143764(0x102)];}this['_docStateChangeManagerService'][_0x143764(0x1aa)](_0x38c372,{'history':_0x2b9c09,'collaboration':_0x182407});}};re=nn([Ce(0x0,_0x2c28ac(_0x2ed78b)),Ce(0x1,_0x1064e2),Ce(0x2,_0x2c28ac(_0x4b06af))],re);var rn=Object[_0x1ea2c4(0x29a)],on=(_0x1d50e8,_0x19d252,_0x2ddb45,_0x351d13)=>{const _0x538650=_0x1ea2c4;for(var _0x2cc3a7=_0x351d13>0x1?void 0x0:_0x351d13?rn(_0x19d252,_0x2ddb45):_0x19d252,_0x291e71=_0x1d50e8[_0x538650(0x13d)]-0x1,_0x32d873;_0x291e71>=0x0;_0x291e71--)(_0x32d873=_0x1d50e8[_0x291e71])&&(_0x2cc3a7=_0x32d873(_0x2cc3a7)||_0x2cc3a7);return _0x2cc3a7;},tt=(_0x550626,_0x495571)=>(_0x337226,_0x56ce85)=>_0x495571(_0x337226,_0x56ce85,_0x550626);let oe=class{constructor(_0x314b4c,_0x5aee3e){const _0x4fdd64=_0x1ea2c4;this[_0x4fdd64(0x2ab)]=_0x314b4c,this[_0x4fdd64(0x11a)]=_0x5aee3e;}['transformSelections'](_0x3e8baa){const _0x1f59a0=_0x1ea2c4;var _0xef065b;const _0x2d7da5=this[_0x1f59a0(0x2ab)][_0x1f59a0(0x160)](_0x439c02),_0x152cf5=(_0xef065b=_0x2d7da5['getDocRanges']())!=null?_0xef065b:[];if(_0x152cf5[_0x1f59a0(0x13d)]===0x0)return;const _0x3a91ac=_0x3e8baa[_0x1f59a0(0x21d)],_0x3fd709=[{'id':_0x1f59a0(0x1ee),'params':{'unitId':_0x3a91ac,'actions':null,'textRanges':_0x152cf5}}],_0x5c7b0d=this[_0x1f59a0(0x11a)]['transformMutationsWithChangeset'](_0x3e8baa,_0x3fd709);if(!_0xb0953b(_0x5c7b0d))throw _0x5c7b0d[_0x1f59a0(0x21a)];const _0x31285c=_0x5c7b0d[_0x1f59a0(0x20b)][0x0][_0x1f59a0(0x116)]['textRanges'];Array['isArray'](_0x31285c)&&_0x31285c[_0x1f59a0(0x13d)]&&_0x2d7da5[_0x1f59a0(0x1af)](_0x31285c,{'unitId':_0x3a91ac,'subUnitId':_0x3a91ac},!0x1);}};oe=on([tt(0x0,_0x2c28ac(_0x2ed78b)),tt(0x1,_0x1064e2)],oe);var an=Object[_0x1ea2c4(0x29a)],cn=(_0xfbf903,_0x54b0f2,_0x260fe3,_0x300252)=>{const _0x3681aa=_0x1ea2c4;for(var _0x3cc4a7=_0x300252>0x1?void 0x0:_0x300252?an(_0x54b0f2,_0x260fe3):_0x54b0f2,_0x49c9b1=_0xfbf903[_0x3681aa(0x13d)]-0x1,_0x39f640;_0x49c9b1>=0x0;_0x49c9b1--)(_0x39f640=_0xfbf903[_0x49c9b1])&&(_0x3cc4a7=_0x39f640(_0x3cc4a7)||_0x3cc4a7);return _0x3cc4a7;},U=(_0x429134,_0x18ee8c)=>(_0x37386f,_0x115220)=>_0x18ee8c(_0x37386f,_0x115220,_0x429134);let ae=class extends _0x5e7e9c{constructor(_0x21bfe6,_0x49a95a,_0x42f461,_0x49a3df,_0x2adad8,_0x162f49,_0xe1f121,_0x306815){const _0x27546d=_0x1ea2c4;super(),_(this,_0x27546d(0x1ba),new _0x10a4a9(_0x2b26de[_0x27546d(0x15b)])),(this[_0x27546d(0x24d)]=_0x21bfe6,this['_collaborationController']=_0x49a95a,this[_0x27546d(0x169)]=_0x42f461,this[_0x27546d(0x176)]=_0x49a3df,this[_0x27546d(0x125)]=_0x2adad8,this[_0x27546d(0x1c4)]=_0x162f49,this[_0x27546d(0xf9)]=_0xe1f121,this[_0x27546d(0x149)]=_0x306815,this[_0x27546d(0x229)]());}[_0x1ea2c4(0x229)](){const _0x32e9a8=_0x1ea2c4;this[_0x32e9a8(0x1c6)](this['_collaborationController']['entityInit$'][_0x32e9a8(0x13c)](_0x3c28cf=>{const _0x1cea2a=_0x32e9a8,_0x39e6a6=this[_0x1cea2a(0x24d)]['docStateChange$'][_0x1cea2a(0x13c)](_0x34fa99=>{const _0x5ba332=_0x1cea2a;if(_0x34fa99==null)return;const {unitId:_0x53a626,redoState:_0x2f5dbc,commandId:_0x4803ec}=_0x34fa99;if(_0x53a626!==_0x3c28cf[_0x5ba332(0x21d)])return;const _0x2985ad={'id':_0x4803ec,'type':_0x1e0f44[_0x5ba332(0x2d2)],'params':{'unitId':_0x53a626,'actions':_0x2f5dbc[_0x5ba332(0x1a9)],'textRanges':null}};_0x3c28cf[_0x5ba332(0x225)](_0x2985ad);});if(_0x3c28cf['disposeWithMe'](_0x39e6a6),_0x3c28cf instanceof _0x4dd7d2){const _0x3fad86={'onTransformIME':_0x535f9d=>this['_docTransformIMECacheService'][_0x1cea2a(0xfa)](_0x535f9d),'onTransformState':_0x228e76=>this['_docTransformStateCacheService'][_0x1cea2a(0x1e8)](_0x228e76),'onTransformSelections':_0x151a32=>this[_0x1cea2a(0x125)]['transformSelections'](_0x151a32),'onSyncEditingCollabCursor':_0x3e0631=>this[_0x1cea2a(0x1c4)][_0x1cea2a(0x15d)](_0x3e0631),'onTransformRemoteChangesetByIMECache':_0x44738f=>this[_0x1cea2a(0x169)]['transformRemoteChangeset'](_0x44738f),'onTransformRemoteChangesetByStateCache':_0x24f95f=>this[_0x1cea2a(0x176)][_0x1cea2a(0x1d7)](_0x24f95f)};_0x3c28cf[_0x1cea2a(0x20e)](_0x3fad86);}}));}};ae=cn([U(0x0,_0x2c28ac(_0x4b06af)),U(0x1,_0x2c28ac(_0x23b738)),U(0x2,_0x2c28ac(ne)),U(0x3,_0x2c28ac(re)),U(0x4,_0x2c28ac(oe)),U(0x5,_0x2c28ac(He)),U(0x6,_0xa0ddb0),U(0x7,_0x2c28ac(_0x4a6cd3))],ae);var ln=Object[_0x1ea2c4(0x29a)],_n=(_0x2337cb,_0x123139,_0x5a2b0,_0x38a713)=>{const _0x3595b1=_0x1ea2c4;for(var _0xe05ad0=_0x38a713>0x1?void 0x0:_0x38a713?ln(_0x123139,_0x5a2b0):_0x123139,_0x3bf15c=_0x2337cb[_0x3595b1(0x13d)]-0x1,_0x337770;_0x3bf15c>=0x0;_0x3bf15c--)(_0x337770=_0x2337cb[_0x3bf15c])&&(_0xe05ad0=_0x337770(_0xe05ad0)||_0xe05ad0);return _0xe05ad0;},Ee=(_0x245f81,_0x5d5b13)=>(_0x4a1b33,_0x2be931)=>_0x5d5b13(_0x4a1b33,_0x2be931,_0x245f81);let we=class extends _0x5e7e9c{constructor(_0x802b41,_0x27e7e4,_0x49da73){const _0x7e0aeb=_0x1ea2c4;super(),_(this,_0x7e0aeb(0x2c2),new Map()),_(this,_0x7e0aeb(0x181),new Map()),_(this,_0x7e0aeb(0x246),!0x1),(this['_configService']=_0x802b41,this[_0x7e0aeb(0x178)]=_0x27e7e4,this['_revisionService']=_0x49da73);}[_0x1ea2c4(0x29b)](){this['_disabled']=!0x0;}[_0x1ea2c4(0x203)](){const _0x4465a3=_0x1ea2c4;this[_0x4465a3(0x246)]=!0x1;}get[_0x1ea2c4(0x220)](){const _0x448a92=_0x1ea2c4;return this[_0x448a92(0x181)];}[_0x1ea2c4(0x2ad)](){const _0x573b2c=_0x1ea2c4;this[_0x573b2c(0x255)]()[_0x573b2c(0x1df)](()=>super['dispose']());}async['loadOfflineData'](_0x2a4c13){const _0xf11c46=_0x1ea2c4;return this[_0xf11c46(0x246)]?null:this[_0xf11c46(0x178)][_0xf11c46(0x2bf)](_0xba75f3(_0x2a4c13));}async[_0x1ea2c4(0x1b4)](_0x2929ee,_0x318285){const _0x44b271=_0x1ea2c4;return!!this[_0x44b271(0x178)][_0x44b271(0x185)](_0x2929ee,_0x318285);}[_0x1ea2c4(0x278)](_0x4aa26e,_0x2db988,_0x826278,_0x86843a){const _0x454418=_0x1ea2c4,_0x28f481=this[_0x454418(0xf4)][_0x454418(0x29d)](_0x4aa26e);this[_0x454418(0x2c2)][_0x454418(0x19f)](_0x4aa26e,{'unitID':_0x4aa26e,'type':_0x2db988,'awaitingChangeset':_0x826278,'mutations':_0x86843a,'rev':_0x28f481}),this['_saveTaskMap'][_0x454418(0x1d3)](_0x4aa26e)||this['_scheduleSaving'](_0x4aa26e);}[_0x1ea2c4(0x109)](_0x17971b){const _0x279502=_0x1ea2c4,_0x3abf40=this['_getSaveTimeout']();_0x3abf40===0x0?this['_saveCache'](_0x17971b):this[_0x279502(0x181)][_0x279502(0x19f)](_0x17971b,setTimeout(()=>this[_0x279502(0x148)](_0x17971b),_0x3abf40));}['_getSaveTimeout'](){const _0xb921f5=_0x1ea2c4;var _0x22c396;return(_0x22c396=this[_0xb921f5(0x1c2)][_0xb921f5(0x26d)](_0xb57ae2))!=null?_0x22c396:_0x47642c;}[_0x1ea2c4(0x148)](_0xdcea61){const _0x4f5faa=_0x1ea2c4,_0xa90404=this[_0x4f5faa(0x181)][_0x4f5faa(0x160)](_0xdcea61);return _0xa90404!==void 0x0&&window[_0x4f5faa(0xec)](_0xa90404),this[_0x4f5faa(0x178)][_0x4f5faa(0x185)](_0xba75f3(_0xdcea61),this[_0x4f5faa(0x2c2)][_0x4f5faa(0x160)](_0xdcea61))['then'](()=>this[_0x4f5faa(0x181)][_0x4f5faa(0x2b0)](_0xdcea61));}async[_0x1ea2c4(0x255)](){const _0x5865a5=_0x1ea2c4,_0x3d2e17=[];this[_0x5865a5(0x181)][_0x5865a5(0x108)]((_0x16d987,_0x5e8b78)=>{const _0x550697=_0x5865a5;window['clearTimeout'](_0x16d987),_0x3d2e17[_0x550697(0x292)](this[_0x550697(0x148)](_0x5e8b78)[_0x550697(0x1df)](()=>{const _0x12f564=_0x550697;this[_0x12f564(0x181)][_0x12f564(0x2b0)](_0x5e8b78);}));}),await Promise['all'](_0x3d2e17);}};we=_n([Ee(0x0,_0x27f9c2),Ee(0x1,_0x69e3ca),Ee(0x2,_0x2c28ac(_0x101987))],we);class hn extends _0x15e0fe{constructor(){const _0x36a26c=_0x1ea2c4;super(),_(this,_0x36a26c(0x294)),this[_0x36a26c(0x294)]=_0xe1bcd6(window,_0x36a26c(0x1fa))[_0x36a26c(0x13f)](_0x4c6dcf(this[_0x36a26c(0x27e)]),_0xd67cdb(0x1),_0x3e61d7(void 0x0));}[_0x1ea2c4(0x1c8)](_0xcf764b,_0x55aa43,_0x41901e=!0x1){const _0x5eeb51=_0x1ea2c4,_0x21a406=new URL(window['location'][_0x5eeb51(0x23d)]);_0x21a406[_0x5eeb51(0x13a)][_0x5eeb51(0x19f)](_0xcf764b,_0x55aa43),_0x41901e?window[_0x5eeb51(0x135)][_0x5eeb51(0x129)]('','',_0x21a406['toString']()):window['history'][_0x5eeb51(0x253)]('','',_0x21a406[_0x5eeb51(0x195)]());}['removeParam'](_0x51d540,_0x3dadf7=!0x1){const _0x15f6a0=_0x1ea2c4,_0x3d3f28=new URL(window['location'][_0x15f6a0(0x23d)]);_0x3d3f28[_0x15f6a0(0x13a)]['delete'](_0x51d540),_0x3dadf7?window[_0x15f6a0(0x135)][_0x15f6a0(0x129)]('','',_0x3d3f28[_0x15f6a0(0x195)]()):window['history']['pushState']('','',_0x3d3f28['toString']());}['getParam'](_0x1d4b5b){const _0x39323c=_0x1ea2c4;var _0x4fd893;return(_0x4fd893=new URL(window[_0x39323c(0x297)][_0x39323c(0x23d)])['searchParams'][_0x39323c(0x160)](_0x1d4b5b))!=null?_0x4fd893:void 0x0;}}var un=Object[_0x1ea2c4(0x28b)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x14a035,_0x34c4ab,_0x3ea8e5)=>_0x34c4ab in _0x14a035?un(_0x14a035,_0x34c4ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ea8e5}):_0x14a035[_0x34c4ab]=_0x3ea8e5,Sn=(_0x13957f,_0x28431c,_0x18a004,_0x1568ce)=>{const _0x347b4c=_0x1ea2c4;for(var _0x4f9c5a=_0x1568ce>0x1?void 0x0:_0x1568ce?dn(_0x28431c,_0x18a004):_0x28431c,_0x5e49aa=_0x13957f[_0x347b4c(0x13d)]-0x1,_0x3e9883;_0x5e49aa>=0x0;_0x5e49aa--)(_0x3e9883=_0x13957f[_0x5e49aa])&&(_0x4f9c5a=_0x3e9883(_0x4f9c5a)||_0x4f9c5a);return _0x4f9c5a;},Oe=(_0x248c2c,_0x490085)=>(_0x4f4aad,_0x629f24)=>_0x490085(_0x4f4aad,_0x629f24,_0x248c2c),mn=(_0x4c2530,_0x2c4995,_0x50a5be)=>fn(_0x4c2530,_0x2c4995+'',_0x50a5be);const gn=_0x1ea2c4(0x1a2);let Ae=class extends _0x47280b{constructor(_0x2cc691=et,_0x2a6eed,_0x3a3d25,_0x323ba1){const _0x33732f=_0x1ea2c4;super(),this[_0x33732f(0x2b5)]=_0x2cc691,this[_0x33732f(0xf6)]=_0x2a6eed,this['_injector']=_0x3a3d25,this[_0x33732f(0x1c2)]=_0x323ba1;const {..._0x4ae3b2}=_0x488cf5({},et,this[_0x33732f(0x2b5)]);this[_0x33732f(0x1c2)][_0x33732f(0x19a)](Zi,_0x4ae3b2);}['onStarting'](){const _0x4db686=_0x1ea2c4;this[_0x4db686(0x27a)](),this[_0x4db686(0x215)]();}[_0x1ea2c4(0x177)](){this['_registerRenderDependencies']();}[_0x1ea2c4(0x27a)](){const _0x2f98e9=_0x1ea2c4;var _0x4025e1;const _0x531a61=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x555e4a,{'useClass':_0x44eec7}],[_0x499d1f,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x4703ee(this[_0x2f98e9(0x2ab)],_0x1ed3b1(_0x531a61,(_0x4025e1=this[_0x2f98e9(0x2b5)])==null?void 0x0:_0x4025e1[_0x2f98e9(0x1ae)]));}[_0x1ea2c4(0x24f)](){const _0x3e4a8e=_0x1ea2c4;this[_0x3e4a8e(0x1c6)](this[_0x3e4a8e(0xf6)][_0x3e4a8e(0x19d)](_0x1bd797[_0x3e4a8e(0x1c3)],[Pe])),this[_0x3e4a8e(0x1c6)](this[_0x3e4a8e(0xf6)][_0x3e4a8e(0x19d)](_0x1bd797[_0x3e4a8e(0x296)],[Le]));}[_0x1ea2c4(0x215)](){const _0xcef0a5=_0x1ea2c4;_0x530746(this[_0xcef0a5(0x2ab)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x1ea2c4(0x182),gn),Ae=Sn([_0x65fe66(_0x3a6109),Oe(0x1,_0x29a565),Oe(0x2,_0x2c28ac(_0x2ed78b)),Oe(0x3,_0x27f9c2)],Ae);var In=Object['getOwnPropertyDescriptor'],vn=(_0x5e3805,_0x1f37d3,_0x1beb17,_0x42a699)=>{const _0x2516a0=_0x1ea2c4;for(var _0x68745c=_0x42a699>0x1?void 0x0:_0x42a699?In(_0x1f37d3,_0x1beb17):_0x1f37d3,_0x5f1add=_0x5e3805[_0x2516a0(0x13d)]-0x1,_0x527b4c;_0x5f1add>=0x0;_0x5f1add--)(_0x527b4c=_0x5e3805[_0x5f1add])&&(_0x68745c=_0x527b4c(_0x68745c)||_0x68745c);return _0x68745c;},K=(_0x1f3316,_0x11536a)=>(_0x5ae2ff,_0x3d860b)=>_0x11536a(_0x5ae2ff,_0x3d860b,_0x1f3316);let st=class extends _0x1910af{constructor(_0x534753,_0xca84af,_0x4e1abf,_0x52b881,_0xfa884){super(_0x534753,_0xca84af,_0x4e1abf,_0x52b881,_0xfa884);}async['createSocket'](_0x54ea52){const _0x13270e=_0x1ea2c4,_0x4e28a0=await this[_0x13270e(0xe7)](),_0x479339=this['_createSocketURL'](_0x54ea52,_0x4e28a0);return this['_doCreateSocket'](_0x479339);}[_0x1ea2c4(0x1fc)](_0x3cf909,_0x5a92c7){const _0x3ad0e8=_0x1ea2c4,_0x22dfa0=typeof window>'u'?new URL(_0x3cf909):new URL(_0x3cf909,window[_0x3ad0e8(0x297)][_0x3ad0e8(0x24c)]);_0x22dfa0[_0x3ad0e8(0x13a)][_0x3ad0e8(0x19f)](_0x3ad0e8(0x105),_0x5a92c7);const _0x371525=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3ad0e8(0x297)][_0x3ad0e8(0x212)]);return _0x371525[_0x3ad0e8(0x160)]('runId')&&_0x22dfa0[_0x3ad0e8(0x13a)]['set']('runId',_0x371525[_0x3ad0e8(0x160)](_0x3ad0e8(0x219))),_0x22dfa0[_0x3ad0e8(0x195)]();}async[_0x1ea2c4(0xe7)](){const _0x4cb5da=_0x1ea2c4;var _0x1679b2,_0x57d81c,_0x25c848;const _0x5e8edb=this['_configService'][_0x4cb5da(0x26d)](_0x478b16),_0x523745=(_0x1679b2=_0x5e8edb==null?void 0x0:_0x5e8edb['wsSessionTicketUrl'])!=null?_0x1679b2:_0x2286bd;return(_0x25c848=(_0x57d81c=(await this['_httpService'][_0x4cb5da(0x160)](_0x523745,{'headers':{'Content-Type':_0x4cb5da(0xe8)}}))[_0x4cb5da(0x24b)])==null?void 0x0:_0x57d81c[_0x4cb5da(0x2b7)])!=null?_0x25c848:'';}};st=vn([K(0x0,_0x2c28ac(_0x2ed78b)),K(0x1,_0x2c28ac(_0x418212)),K(0x2,_0x27f9c2),K(0x3,_0x463af4),K(0x4,_0x470f49)],st);const it=0x7530,nt=_0x1ea2c4(0xd9);class jn extends _0x5e7e9c{constructor(){const _0x114000=_0x1ea2c4;super(),_(this,'_id',_0x3fb607()),_(this,_0x114000(0x1bc),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x114000(0x133),null),_(this,_0x114000(0x1d2),new Map()),_(this,_0x114000(0x1c7),new Map()),this['_init']();}[_0x1ea2c4(0x2ad)](){const _0x4a44f3=_0x1ea2c4;super[_0x4a44f3(0x2ad)](),this[_0x4a44f3(0x1d2)]['forEach']((_0x5ade59,_0x525e04)=>this[_0x4a44f3(0x15e)](_0x525e04)),this[_0x4a44f3(0x133)]&&window[_0x4a44f3(0x14d)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x4e83cf){const _0x30a128=_0x1ea2c4;return this[_0x30a128(0x1f5)](_0x4e83cf)[_0x30a128(0x13f)](_0x520fb6());}['editingUnit'](_0x449b78){const _0x334064=_0x1ea2c4;this['_selfUnitIDs'][_0x334064(0xdf)]===0x0&&this[_0x334064(0x137)](),this['_selfUnitIDs']['add'](_0x449b78),this[_0x334064(0x258)]({'type':0x0,'memberID':this[_0x334064(0xe6)],'unitIDs':[_0x449b78],'isForwarded':!0x1});}[_0x1ea2c4(0x124)](_0x1704ad){const _0x1b46cf=_0x1ea2c4;this['_selfUnitIDs'][_0x1b46cf(0x2b0)](_0x1704ad),this[_0x1b46cf(0x1bc)]['size']===0x0&&this[_0x1b46cf(0x133)]&&window[_0x1b46cf(0x14d)](this[_0x1b46cf(0x133)]);}[_0x1ea2c4(0x28a)](){const _0x46f4c5=_0x1ea2c4;this[_0x46f4c5(0x1c6)](_0x2d320c(_0xe1bcd6(window,_0x46f4c5(0xff))['subscribe'](_0x2c46bd=>{const _0x1b7482=_0x46f4c5;if(_0x2c46bd[_0x1b7482(0x239)]!==nt||!_0x2c46bd[_0x1b7482(0x1bf)])return;const _0x578001=JSON[_0x1b7482(0x2a3)](_0x2c46bd[_0x1b7482(0x1bf)]);this[_0x1b7482(0x111)](_0x578001);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x46f4c5(0xe6)],'unitIDs':Array['from'](this[_0x46f4c5(0x1bc)])}));}[_0x1ea2c4(0x111)](_0x5afbfb){const _0x368f2f=_0x1ea2c4;switch(_0x5afbfb[_0x368f2f(0x11d)]){case 0x0:this['_handleJoinEvent'](_0x5afbfb);break;case 0x1:this[_0x368f2f(0x284)](_0x5afbfb);break;case 0x2:this[_0x368f2f(0xde)](_0x5afbfb);break;}}[_0x1ea2c4(0x293)](_0x21029c){const _0x3cfa6b=_0x1ea2c4,{unitIDs:_0x5030eb,memberID:_0x4663da,isForwarded:_0x2c4f4e}=_0x21029c;_0x5030eb[_0x3cfa6b(0x108)](_0x3f0815=>{const _0x3217ee=_0x3cfa6b;if(!_0x2c4f4e&&this[_0x3217ee(0x179)]['has'](_0x3f0815)&&this[_0x3217ee(0x1f5)](_0x3f0815)['next'](_0x59f7ec['OTHER_CLIENTS_EDITING']),!this[_0x3217ee(0x179)]['has'](_0x3f0815)||!this[_0x3217ee(0x179)][_0x3217ee(0x160)](_0x3f0815)['has'](_0x4663da)){const _0x4aa1f4=this[_0x3217ee(0x179)][_0x3217ee(0x160)](_0x3f0815)||new Set();_0x4aa1f4[_0x3217ee(0xd4)](_0x4663da),this['_unitOnClients']['set'](_0x3f0815,_0x4aa1f4),this[_0x3217ee(0x16a)](_0x4663da);}}),_0x2c4f4e||this[_0x3cfa6b(0x258)]({'type':0x0,'memberID':this[_0x3cfa6b(0xe6)],'unitIDs':[...this[_0x3cfa6b(0x1bc)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xa88158){const _0x39077e=_0x1ea2c4;this[_0x39077e(0x15e)](_0xa88158);const _0x30fb59=window[_0x39077e(0x230)](()=>{this['_unitOnClients']['forEach'](_0x344d19=>{const _0x573de6=_0x3e8b;_0x344d19[_0x573de6(0x2b0)](_0xa88158);});},it*0x2);this[_0x39077e(0x1d2)]['set'](_0xa88158,_0x30fb59);}['_removeClearOtherTimer'](_0x5e2ad0){const _0x20486e=_0x1ea2c4;if(this[_0x20486e(0x1d2)]['has'](_0x5e2ad0)){const _0x6d08d5=this['_clearOtherTimers'][_0x20486e(0x160)](_0x5e2ad0);_0x6d08d5&&window[_0x20486e(0xec)](_0x6d08d5),this[_0x20486e(0x1d2)][_0x20486e(0x19f)](_0x5e2ad0,null);}}[_0x1ea2c4(0x284)](_0x3ebce1){const _0x336d02=_0x1ea2c4,{memberID:_0x1aef5f,unitIDs:_0x2adbf4}=_0x3ebce1;_0x2adbf4[_0x336d02(0x108)](_0x25f1eb=>{const _0x29ab63=_0x336d02;var _0x45b851;const _0x93418a=this['_unitOnClients']['get'](_0x25f1eb);_0x93418a&&(_0x93418a[_0x29ab63(0x2b0)](_0x1aef5f),(_0x45b851=this[_0x29ab63(0x1f5)](_0x25f1eb))==null||_0x45b851[_0x29ab63(0xf3)](_0x93418a[_0x29ab63(0xdf)]===0x0?_0x59f7ec[_0x29ab63(0x281)]:_0x59f7ec[_0x29ab63(0x2d0)]));}),this['_removeClearOtherTimer'](_0x1aef5f);}[_0x1ea2c4(0xde)](_0x462c2f){const _0x13e3a3=_0x1ea2c4;this[_0x13e3a3(0x16a)](_0x462c2f[_0x13e3a3(0x2a7)]);}[_0x1ea2c4(0x258)](_0x6df235){const _0x38f548=_0x1ea2c4;localStorage['setItem'](nt,JSON[_0x38f548(0xd2)](_0x6df235));}['_scheduleHeartbeat'](){const _0x5291da=_0x1ea2c4;this[_0x5291da(0x133)]=window['setInterval'](()=>{const _0x3edade=_0x5291da;this[_0x3edade(0x258)]({'type':0x2,'memberID':this['_id']});},it);}['_ensureSubject'](_0x883e38){const _0x55d77d=_0x1ea2c4;return this[_0x55d77d(0x1c7)]['has'](_0x883e38)||this[_0x55d77d(0x1c7)][_0x55d77d(0x19f)](_0x883e38,new _0x10a4a9(_0x59f7ec['NO_OTHER_CLIENTS_EDITING'])),this[_0x55d77d(0x1c7)][_0x55d77d(0x160)](_0x883e38);}}function _0x3e8b(_0x197f61,_0x5da11c){const _0x242c60=_0x242c();return _0x3e8b=function(_0x3e8b78,_0x4ace9a){_0x3e8b78=_0x3e8b78-0xcf;let _0x31569c=_0x242c60[_0x3e8b78];return _0x31569c;},_0x3e8b(_0x197f61,_0x5da11c);}var Mt=(_0x1e55a9=>(_0x1e55a9[_0x1e55a9['UNDEFINED']=0x0]=_0x1ea2c4(0x27d),_0x1e55a9[_0x1e55a9['OK']=0x1]='OK',_0x1e55a9[_0x1e55a9['INTERNAL_ERROR']=0x2]=_0x1ea2c4(0x139),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x1a3)]=0x3]=_0x1ea2c4(0x1a3),_0x1e55a9[_0x1e55a9['NOT_FOUND']=0x4]=_0x1ea2c4(0x1b9),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x27c)]=0x5]=_0x1ea2c4(0x27c),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x27b)]=0x6]=_0x1ea2c4(0x27b),_0x1e55a9[_0x1e55a9['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x1e55a9[_0x1e55a9['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x132)]=0x9]=_0x1ea2c4(0x132),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x27f)]=0xa]=_0x1ea2c4(0x27f),_0x1e55a9[_0x1e55a9['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0xee)]=0x1771]=_0x1ea2c4(0xee),_0x1e55a9[_0x1e55a9['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1ea2c4(0xf0),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x143)]=0x1773]=_0x1ea2c4(0x143),_0x1e55a9[_0x1e55a9['APPLY_REJECT']=0x1b59]=_0x1ea2c4(0xf1),_0x1e55a9[_0x1e55a9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1ea2c4(0x114),_0x1e55a9[_0x1e55a9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1ea2c4(0x110),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x20c)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x226)]=0x1b5d]=_0x1ea2c4(0x226),_0x1e55a9[_0x1e55a9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1ea2c4(0xcf),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x214)]=0x2329]=_0x1ea2c4(0x214),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x228)]=0x232a]=_0x1ea2c4(0x228),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x2b8)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x120)]=0x232c]=_0x1ea2c4(0x120),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x2a6)]=0x232d]=_0x1ea2c4(0x2a6),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x248)]=0x2711]=_0x1ea2c4(0x248),_0x1e55a9[_0x1e55a9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1ea2c4(0x233),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x144)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x275)]=0x2714]=_0x1ea2c4(0x275),_0x1e55a9[_0x1e55a9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x1ac)]=0x271b]=_0x1ea2c4(0x1ac),_0x1e55a9[_0x1e55a9['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1ea2c4(0x15c),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x1b7)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x240)]=0x271e]=_0x1ea2c4(0x240),_0x1e55a9[_0x1e55a9['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x26c)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x164)]=0x2ee1]=_0x1ea2c4(0x164),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x202)]=0x2ee2]=_0x1ea2c4(0x202),_0x1e55a9[_0x1e55a9['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1ea2c4(0xe4),_0x1e55a9[_0x1e55a9['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1ea2c4(0x289),_0x1e55a9[_0x1e55a9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x1ec)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x1a7)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x269)]=0x32cb]=_0x1ea2c4(0x269),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x23e)]=-0x1]=_0x1ea2c4(0x23e),_0x1e55a9))(Mt||{}),pn=Object[_0x1ea2c4(0x29a)],Cn=(_0x2e06f4,_0x38235c,_0x3de329,_0x564f5d)=>{const _0x104afe=_0x1ea2c4;for(var _0xb0c273=_0x564f5d>0x1?void 0x0:_0x564f5d?pn(_0x38235c,_0x3de329):_0x38235c,_0x4c8e9d=_0x2e06f4[_0x104afe(0x13d)]-0x1,_0x550704;_0x4c8e9d>=0x0;_0x4c8e9d--)(_0x550704=_0x2e06f4[_0x4c8e9d])&&(_0xb0c273=_0x550704(_0xb0c273)||_0xb0c273);return _0xb0c273;},be=(_0x4dcb01,_0x280576)=>(_0x1cce7d,_0x425855)=>_0x280576(_0x1cce7d,_0x425855,_0x4dcb01);let rt=class extends _0x5e7e9c{constructor(_0x4c6952,_0x476f52,_0x593821){const _0x237eff=_0x1ea2c4;super(),this[_0x237eff(0x15f)]=_0x4c6952,this[_0x237eff(0x272)]=_0x476f52,this[_0x237eff(0x1c2)]=_0x593821;}async[_0x1ea2c4(0x16c)](_0x28b5fd,_0x50fca8,_0x328b6f,..._0x47cb68){const _0x313573=_0x1ea2c4;var _0x3c8101,_0x49859f,_0x521703,_0x600c34;const _0x56e826=this['_instanceService'][_0x313573(0x11e)]();if(!_0x56e826)throw new Error(_0x313573(0x184));const _0x4e16fe=((_0x3c8101=this[_0x313573(0x1c2)][_0x313573(0x26d)](_0x28ed06))!=null?_0x3c8101:_0x5cdf72)+'/'+_0x28b5fd+_0x313573(0x14f)+_0x50fca8,_0x16c611=new URL(window[_0x313573(0x297)]['href']),_0x46b5be={'scriptId':_0x28b5fd,'runId':(_0x49859f=_0x16c611[_0x313573(0x13a)]['get'](_0x313573(0x219)))!=null?_0x49859f:'','function':_0x50fca8,'unitId':_0x56e826[_0x313573(0x2b3)](),'argsOfFunction':JSON[_0x313573(0xd2)](_0x47cb68),'invokeId':(_0x521703=_0x328b6f['invokeId'])!=null?_0x521703:'','executionId':(_0x600c34=_0x328b6f[_0x313573(0x11f)])!=null?_0x600c34:''};try{const _0x5cde6c=await this[_0x313573(0x272)][_0x313573(0x171)](_0x4e16fe,{'body':_0x46b5be});return _0x5cde6c[_0x313573(0x24b)]['error']&&_0x5cde6c[_0x313573(0x24b)][_0x313573(0x21a)][_0x313573(0x25c)]!==Mt['OK']?'Failed':_0x5cde6c[_0x313573(0x24b)][_0x313573(0xe2)];}catch{return _0x313573(0x1bd);}}};rt=Cn([be(0x0,_0x610794),be(0x1,_0x2c28ac(_0x418212)),be(0x2,_0x27f9c2)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x3a408b=_0x1625;(function(_0x195143,_0xda5887){const _0x1a4b5b=_0x1625,_0xc5d87a=_0x195143();while(!![]){try{const _0x224f91=-parseInt(_0x1a4b5b(0x262))/0x1+parseInt(_0x1a4b5b(0xdc))/0x2+-parseInt(_0x1a4b5b(0x19b))/0x3*(-parseInt(_0x1a4b5b(0x7e))/0x4)+parseInt(_0x1a4b5b(0x211))/0x5+parseInt(_0x1a4b5b(0xf0))/0x6+parseInt(_0x1a4b5b(0x104))/0x7+-parseInt(_0x1a4b5b(0x18c))/0x8*(parseInt(_0x1a4b5b(0xf1))/0x9);if(_0x224f91===_0xda5887)break;else _0xc5d87a['push'](_0xc5d87a['shift']());}catch(_0x56dbc5){_0xc5d87a['push'](_0xc5d87a['shift']());}}}(_0x362e,0xc88ea));var $t=Object[_0x3a408b(0x141)],xt=(_0x24ca3f,_0x57cb4f,_0x2adda6)=>_0x57cb4f in _0x24ca3f?$t(_0x24ca3f,_0x57cb4f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2adda6}):_0x24ca3f[_0x57cb4f]=_0x2adda6,_=(_0x5826d3,_0x1dafde,_0x48b972)=>xt(_0x5826d3,typeof _0x1dafde!=_0x3a408b(0x1cc)?_0x1dafde+'':_0x1dafde,_0x48b972);import{MemberService as _0x37b96c,SessionStatus as _0x30339e,CollaborationSessionService as _0x38126a,CollaborationStatus as _0x1fa315,CollaborationController as _0x43cdb5,ILocalCacheService as _0x5e6fa7,CollaborationUIEventService as _0x42b038,CollaborationUIEventId as _0x990e29,DataLoaderService as _0x558d9e,DocCollaborationEntity as _0xf0db92,getLocalCacheKey as _0x3637d2,LOCAL_CACHE_INTERVAL as _0x45b731,LOCAL_CACHE_INTERVAL_KEY as _0x5c14d8,UniverCollaborationClientPlugin as _0x24a9f5,CollaborationSocketService as _0x39e4e0,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2fbcf1,DEFAULT_WS_SESSION_TICKET_URL as _0x49b757,UnitStatus as _0x529c6d,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x302758,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x215367}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4700ce,Disposable as _0x31f336,DOC_RANGE_TYPE as _0x529add,Inject as _0x17a839,Injector as _0x171dd8,IUniverInstanceService as _0xbc56cb,ICommandService as _0x101494,debounce as _0x407cab,Rectangle as _0x1ac39a,DisposableCollection as _0x38692d,toDisposable as _0x8e9af6,UniverInstanceType as _0x28af3d,Tools as _0x2ca080,COLORS as _0x54cb12,ColorKit as _0x14686d,ThemeService as _0x477be0,fromEventSubject as _0x3eb154,LocaleService as _0x39370a,createIdentifier as _0x3e7bd4,ILogService as _0x3d7217,Optional as _0x1f5a2d,Workbook as _0x3fddff,CommandType as _0x1545b4,IConfigService as _0x578670,ILocalStorageService as _0x7f96cd,DependentOn as _0x39a274,Plugin as _0x21eba3,merge as _0x4ba00a,registerDependencies as _0x2e427b,mergeOverrideWithDependencies as _0x4eb7d5,touchDependencies as _0x2e32bf,generateRandomId as _0x1437c2}from'@univerjs/core';import{Shape as _0xa8a813,Rect as _0x4e0805,getColor as _0x2079c1,RegularPolygon as _0x2fc12f,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4501d4,Vector2 as _0xa0510c,SHEET_VIEWPORT_KEY as _0x54b74c,IRenderManagerService as _0x170543}from'@univerjs/engine-render';import{ISocketService as _0x4cbbf6,WebSocketService as _0x64b90a,HTTPService as _0x251afd}from'@univerjs/network';import{IDocClipboardService as _0x5b83a4,NodePositionConvertToCursor as _0x485177,NodePositionConvertToRectRange as _0x232ef9,TEXT_RANGE_LAYER_INDEX as _0x524deb,SetDocZoomRatioOperation as _0x1e0841,DocIMEInputManagerService as _0x515704,DocStateChangeManagerService as _0x49ab36}from'@univerjs/docs-ui';import{IImageIoService as _0x3912eb}from'@univerjs/drawing';import{BehaviorSubject as _0x51d94a,debounceTime as _0x3b3185,takeUntil as _0x458f50,Subject as _0x4f75d7,filter as _0x435fdd,switchMap as _0x25ab18,merge as _0x646080,combineLatest as _0x1b69f3,of as _0xaf0114,fromEvent as _0x594d1e,shareReplay as _0x534730,mapTo as _0x2baff2,distinctUntilChanged as _0x5c0aab}from'rxjs';import{SetTextSelectionsOperation as _0x3b2518,RichTextEditingMutation as _0x104569,DocSelectionManagerService as _0x5e697b,DocSkeletonManagerService as _0x554c81}from'@univerjs/docs';import{ITransformService as _0x4fa722,CollaborationEvent as _0xe6d541,isTransformMutationFailure as _0x3425ca,isTransformMutationsWithChangesetSuccess as _0x41d5b7,RevisionService as _0x538161,ISnapshotServerService as _0x32b58d}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x157e91,serializeRangeWithSheet as _0x3eb964}from'@univerjs/engine-formula';import{RefRangeService as _0x8a64ed,SetSelectionsOperation as _0x558c78,SheetsSelectionsService as _0x12596b,EffectRefRangId as _0x2c6651,handleIRemoveRow as _0x1ca0ed,handleIRemoveCol as _0x2655cb,handleMoveRange as _0xdcfab8,handleInsertRow as _0xa6f72b,handleInsertRangeMoveRight as _0xfd5fbc,handleInsertRangeMoveDown as _0x364a63,handleInsertCol as _0x33aed5,handleDeleteRangeMoveUp as _0x10d86e,handleDeleteRangeMoveLeft as _0x390011,runRefRangeMutations as _0x1ccfcc,SetWorksheetActivateCommand as _0x3a66aa}from'@univerjs/sheets';import{map as _0x273ce4,filter as _0x30235d,throttleTime as _0x2dec11,takeUntil as _0x338b49,switchMap as _0x41caa0}from'rxjs/operators';import{SheetSkeletonManagerService as _0x589eb2,getCoordByCell as _0x219162,getSheetObject as _0x147273}from'@univerjs/sheets-ui';import{jsx as _0x55a7fd,jsxs as _0x50d88c}from'react/jsx-runtime';import{useObservable as _0x7e078e,useDependency as _0x9a1297,IUIPartsService as _0x512b75,BuiltInUIPart as _0xd37046,connectInjector as _0x4fc57d,IBeforeCloseService as _0x2718b9,IMessageService as _0x2d1ce5,INotificationService as _0x4e5f7e}from'@univerjs/ui';import{Tooltip as _0x13f86a,clsx as _0x401a94,MessageType as _0x2dbb5a}from'@univerjs/design';import{forwardRef as _0x325090,useRef as _0x3cd3f2,createElement as _0x61ac1f,useCallback as _0x28056a}from'react';import{IRemoteInstanceService as _0x4f25be}from'@univerjs/rpc';var ci=Object[_0x3a408b(0x179)],li=(_0xdff530,_0x5f0445,_0x288d14,_0x4c567f)=>{const _0x1d69b9=_0x3a408b;for(var _0x17482d=_0x4c567f>0x1?void 0x0:_0x4c567f?ci(_0x5f0445,_0x288d14):_0x5f0445,_0x438946=_0xdff530[_0x1d69b9(0x14e)]-0x1,_0x724f00;_0x438946>=0x0;_0x438946--)(_0x724f00=_0xdff530[_0x438946])&&(_0x17482d=_0x724f00(_0x17482d)||_0x17482d);return _0x17482d;},Je=(_0x252178,_0x333caf)=>(_0x2059ae,_0xe4d449)=>_0x333caf(_0x2059ae,_0xe4d449,_0x252178);let Ne=class extends _0x4700ce{constructor(_0x1812ef,_0x36cfc9){const _0x984e88=_0x3a408b;super(),this[_0x984e88(0x1dd)]=_0x1812ef,this['_imageIoService']=_0x36cfc9,this['_init']();}[_0x3a408b(0x255)](){const _0x2b2591=_0x3a408b,_0x726ffe=this;this[_0x2b2591(0xe1)](this[_0x2b2591(0x1dd)][_0x2b2591(0xbb)]({'onBeforePasteImage':async _0x147cd4=>{const _0x19762f=_0x2b2591,_0x5a8bb6=await _0x726ffe['_imageIoService'][_0x19762f(0x134)](_0x147cd4);return _0x5a8bb6?{'source':_0x5a8bb6[_0x19762f(0x26c)],'imageSourceType':_0x5a8bb6[_0x19762f(0x1d3)]}:null;}}));}};Ne=li([Je(0x0,_0x5b83a4),Je(0x1,_0x3912eb)],Ne);const Ze=[_0x3a408b(0x13e),_0x3a408b(0x254),_0x3a408b(0xd3),_0x3a408b(0x125),_0x3a408b(0x16f),_0x3a408b(0x233)];class ke extends _0x31f336{constructor(){const _0x4de8cf=_0x3a408b;super(...arguments),_(this,_0x4de8cf(0xdb),new Map()),_(this,_0x4de8cf(0x146),0x0);}[_0x3a408b(0x169)](_0x574bde){const _0x36f70a=_0x3a408b;if(this['_assignedColors'][_0x36f70a(0x1c6)](_0x574bde))return this[_0x36f70a(0xdb)][_0x36f70a(0x25c)](_0x574bde);const _0x3b3060=Ze[this[_0x36f70a(0x146)]];return this[_0x36f70a(0x146)]=(this[_0x36f70a(0x146)]+0x1)%Ze[_0x36f70a(0x14e)],this[_0x36f70a(0xdb)]['set'](_0x574bde,_0x3b3060),_0x3b3060;}}function Tt(_0x4f344d){const _0x3dab63=_0x3a408b;let _0x2f2f68='';for(const _0x51c344 of _0x4f344d){const {startOffset:_0x4b30ee,endOffset:_0x233549,isActive:_0x5468eb,rangeType:_0x83db6b,segmentId:_0x2af7f0,segmentPage:_0x4e26b5}=_0x51c344;_0x2f2f68[_0x3dab63(0x14e)]&&(_0x2f2f68+=','),_0x2f2f68+=_0x4b30ee+':'+_0x233549+':'+(_0x5468eb?'1':'0')+':'+_0x83db6b+':'+_0x2af7f0+':'+_0x4e26b5;}return _0x2f2f68;}function _i(_0x5c9987){const _0x8c833e=_0x3a408b,_0x192781=_0x5c9987[_0x8c833e(0xef)](','),_0x421c2e=[];for(const _0x2a97ad of _0x192781){const [_0x500043,_0xaadf0c,_0x5364ed,_0x4c12f0,_0x25139d,_0x3a6e6c]=_0x2a97ad['split'](':');_0x421c2e[_0x8c833e(0x225)]({'startOffset':Number(_0x500043),'endOffset':Number(_0xaadf0c),'collapsed':_0x500043===_0xaadf0c,'isActive':_0x5364ed==='1','rangeType':_0x4c12f0===_0x529add[_0x8c833e(0x14a)]?_0x529add[_0x8c833e(0x14a)]:_0x529add[_0x8c833e(0xc7)],'segmentId':typeof _0x25139d=='string'?String(_0x25139d):'','segmentPage':Number(_0x3a6e6c!=null?_0x3a6e6c:-0x1)});}return _0x421c2e[_0x8c833e(0x19f)](_0x166643=>_0x166643[_0x8c833e(0x132)])||(_0x421c2e[0x0][_0x8c833e(0x132)]=!0x0),_0x421c2e;}class He extends _0x4700ce{constructor(){const _0x51affc=_0x3a408b;super(...arguments),_(this,_0x51affc(0x109),new _0x51d94a(null)),_(this,_0x51affc(0xb4),this[_0x51affc(0x109)]['asObservable']());}[_0x3a408b(0xdf)](_0x93aeae){const _0x4756c3=_0x3a408b,{unitID:_0x475fb4,memberID:_0xa98358,textRanges:_0x3999df}=_0x93aeae,_0x10824a=Tt(_0x3999df);if(_0x10824a==='')return;const _0xb058d3={'unitID':_0x475fb4,'memberID':_0xa98358,'selection':_0x10824a};this[_0x4756c3(0x109)][_0x4756c3(0x1aa)](_0xb058d3);}}var hi=Object[_0x3a408b(0x179)],ui=(_0x208160,_0x243476,_0x47762a,_0x5c8d6a)=>{const _0xc84ca6=_0x3a408b;for(var _0x200566=_0x5c8d6a>0x1?void 0x0:_0x5c8d6a?hi(_0x243476,_0x47762a):_0x243476,_0x18737a=_0x208160[_0xc84ca6(0x14e)]-0x1,_0x4912d5;_0x18737a>=0x0;_0x18737a--)(_0x4912d5=_0x208160[_0x18737a])&&(_0x200566=_0x4912d5(_0x200566)||_0x200566);return _0x200566;},L=(_0x33a586,_0x46eda5)=>(_0x318477,_0x43d56c)=>_0x46eda5(_0x318477,_0x43d56c,_0x33a586);const di=0x12c,fi=0x64;let Ue=class extends _0x4700ce{constructor(_0x4fb0d7,_0x183d79,_0x1a47aa,_0x49d0c2,_0x1ee3d0,_0xd1f1b9,_0x4034a3,_0x413c0b,_0x1b6e61){const _0x422a94=_0x3a408b;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x422a94(0x1b0),new _0x51d94a(new Map())),_(this,_0x422a94(0x197),this[_0x422a94(0x1b0)][_0x422a94(0x21a)]()),_(this,_0x422a94(0xa6),new _0x51d94a([])),_(this,_0x422a94(0x232),this[_0x422a94(0xa6)][_0x422a94(0x204)](_0x3b3185(di))),_(this,_0x422a94(0xac),_0x407cab(_0x37d10b=>{const _0x2dbf54=_0x422a94,_0x19ed3e={'eventID':_0xe6d541[_0x2dbf54(0x158)],'data':{'unitID':this[_0x2dbf54(0xa5)],'memberID':this[_0x2dbf54(0x100)][_0x2dbf54(0x133)](),'selection':Tt(_0x37d10b)}};this[_0x2dbf54(0x100)][_0x2dbf54(0x24f)](_0x19ed3e,this[_0x2dbf54(0xa5)]);},fi)),(this[_0x422a94(0xa5)]=_0x4fb0d7,this['_session']=_0x183d79,this[_0x422a94(0xd9)]=_0x1a47aa,this['_colorAssignService']=_0x49d0c2,this[_0x422a94(0x265)]=_0x1ee3d0,this[_0x422a94(0xb9)]=_0xd1f1b9,this['_transformService']=_0x4034a3,this[_0x422a94(0x1e1)]=_0x413c0b,this[_0x422a94(0x117)]=_0x1b6e61);}get[_0x3a408b(0x226)](){const _0x1df17a=_0x3a408b;return this[_0x1df17a(0x1b0)][_0x1df17a(0x172)]();}get[_0x3a408b(0xce)](){const _0x23355d=_0x3a408b;return this['_roomMembers$'][_0x23355d(0x172)]();}[_0x3a408b(0x90)](){const _0x16ad4a=_0x3a408b;super[_0x16ad4a(0x90)](),this[_0x16ad4a(0x1b0)][_0x16ad4a(0x1aa)](new Map()),this[_0x16ad4a(0x1b0)][_0x16ad4a(0x112)](),this[_0x16ad4a(0xa6)][_0x16ad4a(0x1aa)]([]),this[_0x16ad4a(0xa6)]['complete']();}[_0x3a408b(0xd1)](){const _0x1e7276=_0x3a408b;this['_init']||(this[_0x1e7276(0x255)]=!0x0,this[_0x1e7276(0x100)][_0x1e7276(0x1af)]['pipe'](_0x458f50(this[_0x1e7276(0x223)]))[_0x1e7276(0xae)](_0x2a2212=>{const _0x5a453c=_0x1e7276;_0x2a2212===_0x30339e[_0x5a453c(0x242)]?this[_0x5a453c(0x18f)]():this[_0x5a453c(0x1ed)]();}),this['_session'][_0x1e7276(0x212)][_0x1e7276(0x204)](_0x458f50(this[_0x1e7276(0x223)]))[_0x1e7276(0xae)](_0x80a567=>{const _0x2fa087=_0x1e7276,_0x3edaa7=_0x80a567[_0x2fa087(0x258)];_0x3edaa7===_0xe6d541[_0x2fa087(0x158)]&&this[_0x2fa087(0xa9)](_0x80a567),_0x3edaa7===_0xe6d541[_0x2fa087(0x155)]&&this['_onCursorDelete'](_0x80a567);}),this[_0x1e7276(0xe1)](this[_0x1e7276(0x117)][_0x1e7276(0x227)](_0xfbc89d=>{const _0x1c6104=_0x1e7276,_0x410294=_0xfbc89d[_0x1c6104(0x83)];_0x410294!=null&&this['_online']&&_0xfbc89d['id']===_0x3b2518['id']&&_0x410294[_0x1c6104(0x11a)]===this[_0x1c6104(0xa5)]&&_0x410294[_0x1c6104(0x22d)]===!0x1&&_0x410294[_0x1c6104(0x1f5)]['length']>0x0&&this[_0x1c6104(0xac)](_0x410294[_0x1c6104(0x1f5)]);})),this[_0x1e7276(0xb9)]['collabCursorState$'][_0x1e7276(0x204)](_0x458f50(this[_0x1e7276(0x223)]))['subscribe'](_0x1b0be5=>{const _0x1a5894=_0x1e7276;if((_0x1b0be5==null?void 0x0:_0x1b0be5['unitID'])!==this[_0x1a5894(0xa5)])return;const _0x3af91f={'eventID':_0xe6d541[_0x1a5894(0x158)],'data':_0x1b0be5};this[_0x1a5894(0xa9)](_0x3af91f);}),this[_0x1e7276(0xe1)](this[_0x1e7276(0x117)][_0x1e7276(0x227)](_0x5c2b14=>{const _0x397f49=_0x1e7276;if(_0x5c2b14[_0x397f49(0x83)]==null)return;const _0x1a48f3=_0x5c2b14[_0x397f49(0x83)];if(_0x5c2b14['id']!==_0x104569['id']||_0x1a48f3[_0x397f49(0x11a)]!==this[_0x397f49(0xa5)])return;const _0x3a2f72={'id':_0x397f49(0x115),'params':_0x1a48f3},_0x2ac00e=this[_0x397f49(0x226)];for(const [_0x55ed66,_0x195d49]of _0x2ac00e){const _0x177467={'id':_0x397f49(0x115),'params':{'unitId':this[_0x397f49(0xa5)],'actions':null,'textRanges':_0x195d49[_0x397f49(0x1f5)]}},_0x39a1c1=this[_0x397f49(0xb7)][_0x397f49(0x206)](_0x3a2f72,_0x177467,!0x1);if(_0x3425ca(_0x39a1c1))throw _0x39a1c1[_0x397f49(0x192)];_0x2ac00e[_0x397f49(0x228)](_0x55ed66,{..._0x195d49,'ranges':_0x39a1c1['m2Prime'][_0x397f49(0x83)][_0x397f49(0x1a0)]});}queueMicrotask(()=>{const _0x36ff4a=_0x397f49;this[_0x36ff4a(0x1b0)][_0x36ff4a(0x1aa)](_0x2ac00e);});})));}['_onCursorUpdate'](_0x44ec60){const _0x118d3d=_0x3a408b;var _0x2c0f85,_0x395030;const {memberID:_0x21cd5c,selection:_0x42ab39}=_0x44ec60['data'],_0x3c70a1=_i(_0x42ab39),_0x257762=(_0x395030=(_0x2c0f85=this[_0x118d3d(0x265)]['getMember'](this[_0x118d3d(0xa5)],_0x21cd5c))==null?void 0x0:_0x2c0f85[_0x118d3d(0x1f2)])!=null?_0x395030:'Unknown\x20user',_0x51a095={'color':this[_0x118d3d(0xb5)]['assignAColorForMemberID'](_0x21cd5c),'name':_0x257762,'ranges':_0x3c70a1},_0x26fc02=this['cursorInfo'];_0x26fc02[_0x118d3d(0x228)](_0x21cd5c,_0x51a095),this['_cursorInfo$'][_0x118d3d(0x1aa)](_0x26fc02);}[_0x3a408b(0x220)](_0x449ca5){const _0x556d8b=_0x3a408b,{memberID:_0x18130d}=_0x449ca5[_0x556d8b(0x8d)],_0x190d53=this['cursorInfo'];_0x190d53['delete'](_0x18130d),this[_0x556d8b(0x1b0)]['next'](_0x190d53);}['_toggleOnline'](){const _0x339689=_0x3a408b;var _0x4fce44;if(this[_0x339689(0x145)]=!0x0,((_0x4fce44=this['_univerInstanceService'][_0x339689(0x236)]())==null?void 0x0:_0x4fce44[_0x339689(0x19e)]())!==this['unitID'])return;const _0x447c52=this['_injector']['get'](_0x5e697b)['getDocRanges']();Array[_0x339689(0x102)](_0x447c52)&&_0x447c52[_0x339689(0x14e)]>0x0&&this[_0x339689(0xac)](_0x447c52);}['_toggleOffline'](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0x17a839(_0x171dd8)),L(0x3,_0x17a839(ke)),L(0x4,_0x17a839(_0x37b96c)),L(0x5,_0x17a839(He)),L(0x6,_0x4fa722),L(0x7,_0xbc56cb),L(0x8,_0x101494)],Ue);var Si=Object[_0x3a408b(0x179)],mi=(_0x312ccb,_0x586d15,_0x2c76d4,_0x18fb49)=>{const _0x32cb19=_0x3a408b;for(var _0x42a722=_0x18fb49>0x1?void 0x0:_0x18fb49?Si(_0x586d15,_0x2c76d4):_0x586d15,_0x4ef6b1=_0x312ccb[_0x32cb19(0x14e)]-0x1,_0x28f75a;_0x4ef6b1>=0x0;_0x4ef6b1--)(_0x28f75a=_0x312ccb[_0x4ef6b1])&&(_0x42a722=_0x28f75a(_0x42a722)||_0x42a722);return _0x42a722;},x=(_0x64c849,_0x35db13)=>(_0x55546c,_0x461394)=>_0x35db13(_0x55546c,_0x461394,_0x64c849);const gi=0x12c,Ii=0x64,vi=()=>{let _0x334454=[],_0x4917cf=!0x1;return _0x49c620=>{_0x334454['push'](_0x49c620),_0x4917cf||(_0x4917cf=!0x0,setTimeout(()=>{const _0x5d3578=_0x1625;_0x334454[_0x5d3578(0xbe)](_0x25cba1=>_0x25cba1()),_0x334454=[],_0x4917cf=!0x1;}));};};let Me=class extends _0x4700ce{constructor(_0x50668c,_0x4c4a2a,_0x2565c7,_0x25b7d3,_0x50c4ce,_0x1ea7f1,_0x4302fa,_0x29608b){const _0x22a6d4=_0x3a408b;super(),_(this,_0x22a6d4(0x145),!0x1),_(this,'_init',!0x1),_(this,_0x22a6d4(0x1b0),new _0x51d94a(new Map())),_(this,'cursorInfo$',this[_0x22a6d4(0x1b0)][_0x22a6d4(0x21a)]()),_(this,_0x22a6d4(0xa6),new _0x51d94a([])),_(this,_0x22a6d4(0x232),this[_0x22a6d4(0xa6)][_0x22a6d4(0x204)](_0x3b3185(gi))),_(this,_0x22a6d4(0xac),_0x407cab((_0x115cf2,_0x19a1a5)=>{const _0x1317bd=_0x22a6d4,_0x2b2c16={'eventID':_0xe6d541[_0x1317bd(0x158)],'data':{'unitID':this[_0x1317bd(0xa5)],'memberID':this[_0x1317bd(0x100)][_0x1317bd(0x133)](),'selection':_0x3eb964(_0x115cf2,_0x19a1a5[_0x1317bd(0x120)])}};this[_0x1317bd(0x100)][_0x1317bd(0x24f)](_0x2b2c16,this['unitID']);},Ii)),(this[_0x22a6d4(0xa5)]=_0x50668c,this['_session']=_0x4c4a2a,this[_0x22a6d4(0xd9)]=_0x2565c7,this[_0x22a6d4(0xb5)]=_0x25b7d3,this[_0x22a6d4(0x265)]=_0x50c4ce,this[_0x22a6d4(0x1e1)]=_0x1ea7f1,this['_commandService']=_0x4302fa,this[_0x22a6d4(0x154)]=_0x29608b);}get[_0x3a408b(0x226)](){const _0x5aba78=_0x3a408b;return this[_0x5aba78(0x1b0)]['getValue']();}get[_0x3a408b(0xce)](){const _0x33aeb2=_0x3a408b;return this[_0x33aeb2(0xa6)][_0x33aeb2(0x172)]();}[_0x3a408b(0x90)](){const _0x14b1c5=_0x3a408b;super['dispose'](),this[_0x14b1c5(0x1b0)][_0x14b1c5(0x1aa)](new Map()),this['_cursorInfo$'][_0x14b1c5(0x112)](),this[_0x14b1c5(0xa6)][_0x14b1c5(0x1aa)]([]),this['_roomMembers$']['complete']();}[_0x3a408b(0xd1)](){const _0x583103=_0x3a408b;this[_0x583103(0x255)]||(this[_0x583103(0x255)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x458f50(this['dispose$']))[_0x583103(0xae)](_0x45c801=>{const _0x9c00a4=_0x583103;_0x45c801===_0x30339e['ONLINE']?this[_0x9c00a4(0x18f)]():this['_toggleOffline']();}),this[_0x583103(0x100)][_0x583103(0x212)]['pipe'](_0x458f50(this[_0x583103(0x223)]))[_0x583103(0xae)](_0x571560=>{const _0x423574=_0x583103,_0x22d436=_0x571560[_0x423574(0x258)];_0x22d436===_0xe6d541[_0x423574(0x158)]&&this[_0x423574(0xa9)](_0x571560),_0x22d436===_0xe6d541[_0x423574(0x155)]&&this[_0x423574(0x220)](_0x571560);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x583103(0x117)]['onCommandExecuted'](_0x52b7ff=>{const _0x3a477a=_0x583103;if(this[_0x3a477a(0x145)]&&_0x52b7ff['id']===_0x558c78['id']&&_0x52b7ff['params'][_0x3a477a(0x11a)]===this[_0x3a477a(0xa5)]){const _0x688cc6=_0x52b7ff[_0x3a477a(0x83)];this[_0x3a477a(0xac)](_0x688cc6[_0x3a477a(0x116)],_0x688cc6[_0x3a477a(0x13f)][0x0]);}})));}[_0x3a408b(0xa9)](_0x52812c){const _0xf8a5aa=_0x3a408b;var _0x5f3b34,_0x559053;const {memberID:_0x2f6984,selection:_0x5bd500}=_0x52812c['data'],{sheetName:_0x17cec1,range:_0x463437}=_0x157e91(_0x5bd500),_0x19e64a={'name':(_0x559053=(_0x5f3b34=this['_memberService'][_0xf8a5aa(0xf7)](this[_0xf8a5aa(0xa5)],_0x2f6984))==null?void 0x0:_0x5f3b34[_0xf8a5aa(0x1f2)])!=null?_0x559053:'Unknown\x20user','range':this[_0xf8a5aa(0x209)](_0x17cec1,_0x463437),'sheetID':_0x17cec1,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x2f6984),'selection':_0x5bd500},_0x492db5=this[_0xf8a5aa(0x226)];_0x492db5[_0xf8a5aa(0x228)](_0x2f6984,_0x19e64a),this['_cursorInfo$'][_0xf8a5aa(0x1aa)](_0x492db5);}[_0x3a408b(0x220)](_0xfb0097){const _0x277b20=_0x3a408b,{memberID:_0x2d1270}=_0xfb0097['data'],_0xe9f3d5=this[_0x277b20(0x226)];_0xe9f3d5[_0x277b20(0x1e6)](_0x2d1270),this[_0x277b20(0x1b0)][_0x277b20(0x1aa)](_0xe9f3d5);}[_0x3a408b(0x209)](_0x6b5cbd,_0x88a9bb){const _0x3f6c1c=_0x3a408b;var _0x4e4ac1,_0x3d5c57;const _0x23aee4=(_0x3d5c57=(_0x4e4ac1=this[_0x3f6c1c(0x1e1)][_0x3f6c1c(0x13b)](this[_0x3f6c1c(0xa5)]))==null?void 0x0:_0x4e4ac1[_0x3f6c1c(0x21d)](_0x6b5cbd))==null?void 0x0:_0x3d5c57[_0x3f6c1c(0xcb)]();return(_0x23aee4==null?void 0x0:_0x23aee4[_0x3f6c1c(0x20a)](_0x525abc=>_0x1ac39a['contains'](_0x525abc,_0x88a9bb)))||_0x88a9bb;}[_0x3a408b(0xca)](){const _0x2dd9cf=_0x3a408b,_0x3755b0=new _0x38692d(),_0x290faf=vi(),_0x3ce0d4=()=>{const _0x3ca2b4=_0x1625;_0x3755b0[_0x3ca2b4(0x90)]();const _0x37acb6=(_0x1192ed,_0xef058f,_0x52c78b,_0x4132fa)=>{const _0x101678=_0x3ca2b4;let _0x1aa92b=[];switch(_0x1192ed['id']){case _0x2c6651['DeleteRangeMoveLeftCommandId']:{_0x1aa92b=_0x390011(_0x1192ed,_0x4132fa);break;}case _0x2c6651[_0x101678(0x208)]:{_0x1aa92b=_0x10d86e(_0x1192ed,_0x4132fa);break;}case _0x2c6651['InsertColCommandId']:{_0x1aa92b=_0x33aed5(_0x1192ed,_0x4132fa);break;}case _0x2c6651['InsertRangeMoveDownCommandId']:{_0x1aa92b=_0x364a63(_0x1192ed,_0x4132fa);break;}case _0x2c6651['InsertRangeMoveRightCommandId']:{_0x1aa92b=_0xfd5fbc(_0x1192ed,_0x4132fa);break;}case _0x2c6651[_0x101678(0x1ec)]:{_0x1aa92b=_0xa6f72b(_0x1192ed,_0x4132fa);break;}case _0x2c6651[_0x101678(0x216)]:{_0x1aa92b=_0xdcfab8(_0x1192ed,_0x4132fa);break;}case _0x2c6651[_0x101678(0x183)]:{_0x1aa92b=_0x2655cb(_0x1192ed,_0x4132fa);break;}case _0x2c6651[_0x101678(0x170)]:{_0x1aa92b=_0x1ca0ed(_0x1192ed,_0x4132fa);break;}}const _0x5e2264=_0x1ccfcc(_0x1aa92b,_0x4132fa),_0x375947=this[_0x101678(0x226)][_0x101678(0x25c)](_0xef058f);if(_0x375947&&_0x5e2264){const _0x5883bb={..._0x375947,'range':_0x5e2264};this[_0x101678(0x226)]['set'](_0xef058f,_0x5883bb),_0x290faf(()=>{const _0x2fc931=_0x101678,_0x1d22bd=this[_0x2fc931(0x154)][_0x2fc931(0x166)](_0x5e2264,_0x2b12b0=>(_0x1d22bd[_0x2fc931(0x90)](),_0x37acb6(_0x2b12b0,_0xef058f,_0x52c78b,_0x5e2264)));_0x3755b0[_0x2fc931(0x151)](_0x1d22bd);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x136d9b,_0x2d3a32)=>{const _0x38a314=_0x3ca2b4,{range:_0x474e60,sheetID:_0xe9358c}=_0x136d9b,_0x4a7f4b=this[_0x38a314(0x154)][_0x38a314(0x166)](_0x474e60,_0x255708=>(_0x4a7f4b[_0x38a314(0x90)](),_0x37acb6(_0x255708,_0x2d3a32,_0xe9358c,_0x474e60)));_0x3755b0[_0x38a314(0x151)](_0x4a7f4b);});};this[_0x2dd9cf(0xe1)](_0x8e9af6(this[_0x2dd9cf(0x1b0)][_0x2dd9cf(0xae)](()=>{_0x3ce0d4();})));}[_0x3a408b(0x18f)](){const _0x29dda5=_0x3a408b;var _0x29d7bc,_0x8b6be8;if(this[_0x29dda5(0x145)]=!0x0,((_0x29d7bc=this[_0x29dda5(0x1e1)][_0x29dda5(0x236)]())==null?void 0x0:_0x29d7bc['getUnitId']())!==this[_0x29dda5(0xa5)])return;const _0x35801a=(_0x8b6be8=this[_0x29dda5(0xd9)][_0x29dda5(0x25c)](_0x12596b)['getCurrentSelections']())==null?void 0x0:_0x8b6be8[0x0],_0x3cc1e9=this[_0x29dda5(0x1e1)][_0x29dda5(0x1ca)](_0x28af3d['UNIVER_SHEET'])[_0x29dda5(0xb8)]();_0x35801a&&_0x3cc1e9&&this[_0x29dda5(0xac)](_0x3cc1e9[_0x29dda5(0x214)](),_0x35801a);}[_0x3a408b(0x1ed)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x17a839(_0x171dd8)),x(0x3,_0x17a839(ke)),x(0x4,_0x17a839(_0x37b96c)),x(0x5,_0xbc56cb),x(0x6,_0x101494),x(0x7,_0x17a839(_0x8a64ed))],Me);var pi=Object[_0x3a408b(0x179)],Ci=(_0x59bed9,_0x3d9412,_0xac0141,_0x3d24b7)=>{const _0x598aba=_0x3a408b;for(var _0x594c4b=_0x3d24b7>0x1?void 0x0:_0x3d24b7?pi(_0x3d9412,_0xac0141):_0x3d9412,_0x758ce4=_0x59bed9[_0x598aba(0x14e)]-0x1,_0x3e6372;_0x758ce4>=0x0;_0x758ce4--)(_0x3e6372=_0x59bed9[_0x758ce4])&&(_0x594c4b=_0x3e6372(_0x594c4b)||_0x594c4b);return _0x594c4b;},Se=(_0x17cad0,_0x324804)=>(_0x38ad15,_0x2f9bd1)=>_0x324804(_0x38ad15,_0x2f9bd1,_0x17cad0);let H=class extends _0x4700ce{constructor(_0x38f59d,_0xf1b466,_0x2263a0){const _0x202a26=_0x3a408b;super(),_(this,_0x202a26(0x26d),new Map()),_(this,_0x202a26(0x263),new _0x4f75d7()),(this['_univerInstanceService']=_0x38f59d,this[_0x202a26(0xd9)]=_0xf1b466,this['_collabSessionService']=_0x2263a0,this[_0x202a26(0x255)]());}[_0x3a408b(0x90)](){const _0x37441f=_0x3a408b;super['dispose'](),this[_0x37441f(0x263)][_0x37441f(0x112)](),this[_0x37441f(0x26d)][_0x37441f(0xbe)](_0x3be2bc=>_0x3be2bc[_0x37441f(0x90)]());}[_0x3a408b(0x138)](_0xd0c9a3){const _0x3799ec=_0x3a408b;return this['_entities'][_0x3799ec(0x1c6)](_0xd0c9a3)?this['_entities'][_0x3799ec(0x25c)](_0xd0c9a3)[_0x3799ec(0x197)]:this[_0x3799ec(0x263)]['pipe'](_0x435fdd(_0x114399=>_0x114399[_0x3799ec(0xa5)]===_0xd0c9a3),_0x25ab18(_0x500383=>_0x500383['cursorInfo$']));}[_0x3a408b(0x255)](){const _0x1c01ca=_0x3a408b;this[_0x1c01ca(0x1e1)][_0x1c01ca(0x182)](_0x28af3d[_0x1c01ca(0x23d)])['pipe'](_0x458f50(this[_0x1c01ca(0x223)]))[_0x1c01ca(0xae)](async _0x2f1a3c=>{const _0x2f1a2c=_0x1c01ca,_0x1ff27c=_0x2f1a3c[_0x2f1a2c(0x19e)](),_0x145d38=await this[_0x2f1a2c(0x1b2)](_0x1ff27c);this[_0x2f1a2c(0x263)][_0x2f1a2c(0x1aa)](_0x145d38),this[_0x2f1a2c(0x26d)]['set'](_0x1ff27c,_0x145d38);}),this[_0x1c01ca(0x1e1)][_0x1c01ca(0x182)](_0x28af3d[_0x1c01ca(0x1f8)])['pipe'](_0x458f50(this[_0x1c01ca(0x223)]))[_0x1c01ca(0x204)](_0x435fdd(_0x189f95=>!_0x189f95[_0x1c01ca(0x19e)]()[_0x1c01ca(0x186)]('__')))[_0x1c01ca(0xae)](async _0x454ae0=>{const _0x3a21a7=_0x1c01ca,_0x35ac3c=_0x454ae0[_0x3a21a7(0x19e)](),_0x34484c=await this[_0x3a21a7(0x185)](_0x35ac3c);this[_0x3a21a7(0x263)][_0x3a21a7(0x1aa)](_0x34484c),this[_0x3a21a7(0x26d)]['set'](_0x35ac3c,_0x34484c);}),_0x646080(this[_0x1c01ca(0x1e1)]['getTypeOfUnitDisposed$'](_0x28af3d[_0x1c01ca(0x1f8)]),this[_0x1c01ca(0x1e1)][_0x1c01ca(0x87)](_0x28af3d['UNIVER_SHEET']))[_0x1c01ca(0x204)](_0x458f50(this['dispose$']))[_0x1c01ca(0xae)](_0xc16cbe=>{const _0x5f3822=_0x1c01ca,_0xcfada2=_0xc16cbe[_0x5f3822(0x19e)](),_0x2b946e=this['_entities']['get'](_0xcfada2);_0x2b946e&&(_0x2b946e[_0x5f3822(0x90)](),this[_0x5f3822(0x26d)][_0x5f3822(0x1e6)](_0xcfada2));});}async['_startSheetCollabCursor'](_0x57c240){const _0x110338=_0x3a408b,_0x338b0a=await this[_0x110338(0xe6)][_0x110338(0x8c)](_0x57c240),_0x2229d5=this[_0x110338(0xd9)][_0x110338(0x137)](Me,_0x57c240,_0x338b0a);return _0x2229d5[_0x110338(0xd1)](),_0x2229d5;}async['_startDocCollabCursor'](_0x452326){const _0x1c1f91=_0x3a408b,_0x52f1dc=await this[_0x1c1f91(0xe6)][_0x1c1f91(0x8c)](_0x452326),_0x41c883=this[_0x1c1f91(0xd9)][_0x1c1f91(0x137)](Ue,_0x452326,_0x52f1dc);return _0x41c883[_0x1c1f91(0xd1)](),_0x41c883;}};H=Ci([Se(0x0,_0xbc56cb),Se(0x1,_0x17a839(_0x171dd8)),Se(0x2,_0x17a839(_0x38126a))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x507d8b,_0x5804f3){const _0x424014=_0x3a408b;let {radius:_0x29de1d,width:_0x38e2f8,height:_0x347143}=_0x5804f3;_0x29de1d=_0x29de1d!=null?_0x29de1d:0x0,_0x38e2f8=_0x38e2f8!=null?_0x38e2f8:0x1e,_0x347143=_0x347143!=null?_0x347143:0x1e;let _0x58ed56=0x0,_0x55b127=0x0,_0x45e27a=0x0;_0x58ed56=_0x55b127=_0x45e27a=Math[_0x424014(0x243)](_0x29de1d,_0x38e2f8/0x2,_0x347143/0x2),_0x507d8b[_0x424014(0x1da)](),_0x507d8b[_0x424014(0xdd)](_0x58ed56,0x0),_0x507d8b[_0x424014(0x11d)](_0x38e2f8-_0x55b127,0x0),_0x507d8b[_0x424014(0x162)](_0x38e2f8-_0x55b127,_0x55b127,_0x55b127,Math['PI']*0x3/0x2,0x0,!0x1),_0x507d8b[_0x424014(0x11d)](_0x38e2f8,_0x347143-_0x45e27a),_0x507d8b['arc'](_0x38e2f8-_0x45e27a,_0x347143-_0x45e27a,_0x45e27a,0x0,Math['PI']/0x2,!0x1),_0x507d8b[_0x424014(0x11d)](0x0,_0x347143),_0x507d8b[_0x424014(0x11d)](0x0,_0x58ed56),_0x507d8b['arc'](_0x58ed56,_0x58ed56,_0x58ed56,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x507d8b[_0x424014(0x129)](),_0x5804f3[_0x424014(0x22e)]&&(_0x507d8b[_0x424014(0x1ce)](),_0x507d8b['fillStyle']=_0x5804f3[_0x424014(0x22e)],_0x5804f3['fillRule']===_0x424014(0xa0)?_0x507d8b[_0x424014(0x22e)](_0x424014(0xa0)):_0x507d8b[_0x424014(0x22e)](),_0x507d8b['restore']());}class he extends _0xa8a813{constructor(_0x30c1b5,_0x3e3d49){const _0x4bf4ae=_0x3a408b;super(_0x30c1b5,_0x3e3d49),_(this,_0x4bf4ae(0x217)),_(this,_0x4bf4ae(0x1ab)),(this[_0x4bf4ae(0x217)]=_0x3e3d49==null?void 0x0:_0x3e3d49[_0x4bf4ae(0x217)],this[_0x4bf4ae(0x1ab)]=_0x3e3d49==null?void 0x0:_0x3e3d49['text']);}static[_0x3a408b(0x128)](_0xcd41b5,_0x68367b){const _0x514b72=_0x3a408b,{text:_0x318e84,color:_0x2b6f34}=_0x68367b;_0xcd41b5[_0x514b72(0x1ce)](),_0xcd41b5['font']=_0x514b72(0x1a6);const _0x1ebb61=_0xcd41b5['measureText'](_0x318e84)['width'],_0xa61321=Math['min'](_0x1ebb61+0x2*me,Qe);Oi(_0xcd41b5,{'height':ee,'radius':0x4,'width':_0xa61321,'fill':_0x2b6f34}),_0xcd41b5[_0x514b72(0xc3)]=_0x514b72(0xd8);const _0x290f45=me,_0x5c5be5=ee-Ei,_0x27d162=Qe-0x2*me;if(_0x1ebb61>_0x27d162){let _0x12bdd2='',_0x21e3d4=0x0;for(const _0xa7704a of _0x318e84){const _0x4e7ae1=_0xcd41b5['measureText'](_0xa7704a)[_0x514b72(0x150)];if(_0x21e3d4+_0x4e7ae1<=_0x27d162-_0xcd41b5[_0x514b72(0x1a7)](_0x514b72(0x122))['width'])_0x12bdd2+=_0xa7704a,_0x21e3d4+=_0x4e7ae1;else{_0x12bdd2+=_0x514b72(0x122);break;}}_0xcd41b5[_0x514b72(0x19c)](_0x12bdd2,_0x290f45,_0x5c5be5);}else _0xcd41b5[_0x514b72(0x19c)](_0x318e84,_0x290f45,_0x5c5be5);_0xcd41b5[_0x514b72(0x16a)]();}[_0x3a408b(0x193)](_0x26ff6b){he['drawWith'](_0x26ff6b,this);}}const ge='collab-text-anchor-',bi=_0x3a408b(0x108),Ti=_0x3a408b(0x21b),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x3a408b(0x159);class qe{constructor(_0x9763b6,_0x33735a,_0x168b25,_0x1ebde5){const _0x2142ae=_0x3a408b;_(this,_0x2142ae(0x89),[]),_(this,_0x2142ae(0xd0),null),_(this,_0x2142ae(0xf6),null),_(this,_0x2142ae(0xd4),null),_(this,_0x2142ae(0x1b8),null),_(this,_0x2142ae(0x173),null),(this['_cursor']=_0x9763b6,this['_scene']=_0x33735a,this['_docSkeleton']=_0x168b25,this[_0x2142ae(0x98)]=_0x1ebde5,this[_0x2142ae(0x1a1)]());}set[_0x3a408b(0x21c)](_0x1d48bb){const _0xebe642=_0x3a408b;_0x1d48bb?(this[_0xebe642(0xd4)]&&this[_0xebe642(0xd4)][_0xebe642(0x157)](),this[_0xebe642(0xf6)]&&this[_0xebe642(0xf6)][_0xebe642(0x268)]()):(this[_0xebe642(0xd4)]&&this[_0xebe642(0xd4)][_0xebe642(0x268)](),this[_0xebe642(0xf6)]&&this['_textBubble'][_0xebe642(0x157)]());}[_0x3a408b(0x90)](){const _0x51733e=_0x3a408b;for(const _0xaad825 of this[_0x51733e(0x89)])_0xaad825[_0x51733e(0x90)]();this[_0x51733e(0xf6)]&&this['_textBubble'][_0x51733e(0x90)](),this['_anchorDot']&&this[_0x51733e(0xd4)]['dispose'](),this[_0x51733e(0xd0)]&&this[_0x51733e(0xd0)][_0x51733e(0x90)](),this['_eventUnsubscribe']&&this[_0x51733e(0x173)]();}[_0x3a408b(0x1a1)](){const _0x3fae4e=_0x3a408b;var _0x5c53d2;const {_docSkeleton:_0x5cc238,_document:_0x6d8a2e}=this,{color:_0x593de3,name:_0x3d9aed,ranges:_0x42df3a}=this[_0x3fae4e(0x25b)],_0x17782b=_0x6d8a2e['getOffsetConfig'](),{docsLeft:_0x3795b6,docsTop:_0x10775b}=_0x17782b,_0x5e0ae3=new _0x485177(_0x17782b,_0x5cc238);for(const {startOffset:_0x225137,endOffset:_0x2b8746,rangeType:_0x3fef3d,segmentId:_0x184814,segmentPage:_0x139ed1,collapsed:_0x2c02c3,isActive:_0x1b443f}of _0x42df3a){const _0xff117b=_0x5cc238[_0x3fae4e(0x1de)](_0x225137,!0x0,_0x184814,_0x139ed1);let _0x367ad4=_0x5cc238[_0x3fae4e(0x1de)](_0x2b8746,!0x0,_0x184814,_0x139ed1);if(_0x367ad4==null&&(_0x367ad4=_0x5cc238['findNodePositionByCharIndex'](_0x2b8746-0x1,!0x1,_0x184814,_0x139ed1)),_0x1b443f){const {contentBoxPointGroup:_0x681d4c}=_0x5e0ae3[_0x3fae4e(0x1a8)](_0x367ad4,_0x367ad4);if(_0x681d4c['length']===0x0)continue;this[_0x3fae4e(0x202)](_0x593de3,_0x681d4c,_0x3795b6,_0x10775b,_0x3d9aed),this[_0x3fae4e(0x173)]=this['_handleHover']();}if(_0xff117b&&_0x367ad4){if(_0x3fef3d===_0x529add[_0x3fae4e(0xc7)]){const _0x24b3fd=new _0x232ef9(_0x17782b,_0x5cc238),{pointGroup:_0x50d8d2}=(_0x5c53d2=_0x24b3fd['getRangePointData'](_0xff117b,_0x367ad4))!=null?_0x5c53d2:{};if(_0x50d8d2==null||_0x50d8d2[_0x3fae4e(0x14e)]===0x0)continue;this['_drawRectRange'](_0x593de3,_0x50d8d2,_0x3795b6,_0x10775b);}else{if(!_0x2c02c3){const {borderBoxPointGroup:_0x2a2c08}=_0x5e0ae3[_0x3fae4e(0x1a8)](_0xff117b,_0x367ad4);if(_0x2a2c08['length']===0x0)continue;this['_drawTextRange'](_0x593de3,_0x2a2c08,_0x3795b6,_0x10775b);}}}}}['_drawAnchor'](_0x2570cf,_0x31afdd,_0x455506,_0x487dc4,_0x2216da){const _0x51c9e9=_0x3a408b,_0x127e77=this[_0x51c9e9(0x118)](_0x31afdd),{left:_0x220740,top:_0x1ccf38,height:_0x4d5f0a}=_0x127e77,_0x3e4c46=this[_0x51c9e9(0x10b)](),_0x119ed9=Di/_0x3e4c46,_0x87eb79=new _0x4e0805(ge+_0x2ca080['generateRandomId'](X),{'left':_0x220740+_0x455506-_0x119ed9,'top':_0x1ccf38+_0x487dc4,'height':_0x4d5f0a,'width':Ri,'fill':_0x2570cf||_0x2079c1(_0x54cb12['black'],0x0),'strokeWidth':_0x119ed9,'stroke':Ni,'evented':!0x0});this[_0x51c9e9(0xd0)]=_0x87eb79,this['_scene'][_0x51c9e9(0x7f)](_0x87eb79,_0x524deb);const _0x7ac89f=new _0x4e0805(ge+_0x2ca080[_0x51c9e9(0x174)](X),{'left':_0x220740+_0x455506-_0x119ed9,'top':_0x1ccf38+_0x487dc4-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x2570cf||_0x2079c1(_0x54cb12[_0x51c9e9(0xb3)],0x0),'strokeWidth':0x0,'stroke':_0x2570cf||_0x2079c1(_0x54cb12[_0x51c9e9(0xb3)],0x0),'evented':!0x1});this[_0x51c9e9(0xd4)]=_0x7ac89f,this[_0x51c9e9(0x1df)]['addObject'](_0x7ac89f,_0x524deb);const _0x5b46f3=new he(ge+_0x2ca080['generateRandomId'](X),{'left':_0x220740+_0x455506-_0x119ed9,'top':_0x1ccf38+_0x487dc4-ee,'text':_0x2216da,'color':_0x2570cf});this[_0x51c9e9(0xf6)]=_0x5b46f3,this['_scene'][_0x51c9e9(0x7f)](_0x5b46f3,_0x524deb),this[_0x51c9e9(0x21c)]=!0x1;}[_0x3a408b(0x11e)](){const _0xf1bc7e=_0x3a408b,_0x3e5beb=this[_0xf1bc7e(0xd0)][_0xf1bc7e(0x15b)][_0xf1bc7e(0x127)](()=>{const _0x4414e6=_0xf1bc7e;this[_0x4414e6(0x21c)]=!0x0;}),_0x3851d1=this[_0xf1bc7e(0xd0)]['onPointerLeave$'][_0xf1bc7e(0x127)](()=>{const _0x3bb899=_0xf1bc7e;this[_0x3bb899(0x1b8)]&&clearTimeout(this[_0x3bb899(0x1b8)]),this[_0x3bb899(0x1b8)]=setTimeout(()=>{const _0x335e47=_0x3bb899;this[_0x335e47(0x21c)]=!0x1;},0x7d0);});return()=>{const _0x36da58=_0xf1bc7e;_0x3e5beb[_0x36da58(0xe5)](),_0x3851d1['unsubscribe']();};}['_drawTextRange'](_0x10f510,_0x155003,_0x15256d,_0x4c69f6){const _0x1d1b44=_0x3a408b,_0x784398=new _0x14686d(_0x10f510)[_0x1d1b44(0x1f9)](0.2)[_0x1d1b44(0x230)](),_0x51216a=new _0x2fc12f(bi+_0x2ca080['generateRandomId'](X),{'pointsGroup':_0x155003,'fill':_0x784398||_0x2079c1(_0x54cb12[_0x1d1b44(0xb3)],0.2),'left':_0x15256d,'top':_0x4c69f6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1d1b44(0x225)](_0x51216a),this[_0x1d1b44(0x1df)][_0x1d1b44(0x7f)](_0x51216a,_0x524deb);}[_0x3a408b(0x22b)](_0x217d92,_0xa6349d,_0x59b53e,_0x259176){const _0x4ee740=_0x3a408b,_0x1e4c44=new _0x14686d(_0x217d92)[_0x4ee740(0x1f9)](0.2)[_0x4ee740(0x230)](),_0x5a385d=new _0x2fc12f(Ti+_0x2ca080['generateRandomId'](X),{'pointsGroup':_0xa6349d,'fill':_0x1e4c44||_0x2079c1(_0x54cb12['black'],0.2),'left':_0x59b53e,'top':_0x259176,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4ee740(0x89)][_0x4ee740(0x225)](_0x5a385d),this[_0x4ee740(0x1df)][_0x4ee740(0x7f)](_0x5a385d,_0x524deb);}[_0x3a408b(0x118)](_0x5d8825){const _0x449b05=_0x5d8825[0x0],_0x58f4bb=_0x449b05[0x0],_0x2a3568=_0x449b05[0x2],{x:_0x119182,y:_0x44bb88}=_0x58f4bb,{x:_0x4c2178,y:_0x18118c}=_0x2a3568;return{'left':_0x119182,'top':_0x44bb88,'width':_0x4c2178-_0x119182,'height':_0x18118c-_0x44bb88};}['_getScale'](){const _0x132825=_0x3a408b,{scaleX:_0x1429f9,scaleY:_0x147d7a}=this[_0x132825(0x1df)]['getAncestorScale']();return Math['max'](_0x1429f9,_0x147d7a);}}var Ui=Object[_0x3a408b(0x179)],Mi=(_0x4d4093,_0x20643f,_0x4cdea1,_0xac12f2)=>{for(var _0x465b7f=_0xac12f2>0x1?void 0x0:_0xac12f2?Ui(_0x20643f,_0x4cdea1):_0x20643f,_0xb987d5=_0x4d4093['length']-0x1,_0x67c0c5;_0xb987d5>=0x0;_0xb987d5--)(_0x67c0c5=_0x4d4093[_0xb987d5])&&(_0x465b7f=_0x67c0c5(_0x465b7f)||_0x465b7f);return _0x465b7f;},Z=(_0x3c682e,_0x265e7f)=>(_0x571c87,_0x578078)=>_0x265e7f(_0x571c87,_0x578078,_0x3c682e);let Pe=class extends _0x4700ce{constructor(_0x48afe0,_0x29c8c6,_0x5c9227,_0x3ef88b,_0xad27e4){const _0x4fa89c=_0x3a408b;super(),_(this,_0x4fa89c(0x12e),[]),_(this,_0x4fa89c(0xe2),[]),(this[_0x4fa89c(0x23f)]=_0x48afe0,this[_0x4fa89c(0x12f)]=_0x29c8c6,this[_0x4fa89c(0x1fc)]=_0x5c9227,this['_commandService']=_0x3ef88b,this['_themeService']=_0xad27e4,this[_0x4fa89c(0x255)]());}[_0x3a408b(0x255)](){const _0x29c8f8=_0x3a408b,_0x1ef2e4=this['_context'][_0x29c8f8(0x11a)],_0x55bf12=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x1b69f3([this[_0x29c8f8(0x1fc)][_0x29c8f8(0x138)](_0x1ef2e4),this['_themeService'][_0x29c8f8(0x121)]])['pipe'](_0x273ce4(([_0x51e142,_0x431335])=>({'skeleton':_0x55bf12[_0x29c8f8(0x126)](),'cursors':[..._0x51e142[_0x29c8f8(0xbd)]()][_0x29c8f8(0x15a)](_0x3661d8=>({..._0x3661d8,'color':_0x431335[_0x3661d8[_0x29c8f8(0x217)]]}))})))[_0x29c8f8(0xae)](_0x16fc82=>{const _0x484409=_0x29c8f8;if(this[_0x484409(0x11f)](),_0x16fc82){const {skeleton:_0x13ea82,cursors:_0x7016f8}=_0x16fc82;this[_0x484409(0x88)](_0x13ea82,_0x7016f8);}})),this[_0x29c8f8(0x196)](),this[_0x29c8f8(0x19d)]();}[_0x3a408b(0x88)](_0x2d515d,_0x1e1337){const _0x7834a3=_0x3a408b,{scene:_0x3140b1,mainComponent:_0x472fd2}=this[_0x7834a3(0x23f)],_0x413df6=_0x1e1337['map'](_0x488dc5=>new qe(_0x488dc5,_0x3140b1,_0x2d515d,_0x472fd2));this[_0x7834a3(0x12e)]=_0x413df6,this[_0x7834a3(0xe2)]=_0x1e1337;}['_refreshCollabCursors'](){const _0xf8f3c3=_0x3a408b;this[_0xf8f3c3(0x11f)]();const {scene:_0x3005e6,mainComponent:_0xfbfd4}=this['_context'],_0x1beae0=this[_0xf8f3c3(0x12f)][_0xf8f3c3(0x126)](),_0xbd0914=this[_0xf8f3c3(0xe2)][_0xf8f3c3(0xde)](_0x12a19f=>new qe(_0x12a19f,_0x3005e6,_0x1beae0,_0xfbfd4));this[_0xf8f3c3(0x12e)]=_0xbd0914;}[_0x3a408b(0x11f)](){const _0x71e220=_0x3a408b;this[_0x71e220(0x12e)][_0x71e220(0xbe)](_0x59f5cd=>_0x59f5cd['dispose']()),this[_0x71e220(0x12e)]=[];}[_0x3a408b(0x19d)](){const _0x24fd36=_0x3a408b,_0x37b130=[_0x1e0841['id']];this['disposeWithMe'](this[_0x24fd36(0x117)][_0x24fd36(0x227)](_0x588f4d=>{const _0x17d3a9=_0x24fd36;_0x37b130['includes'](_0x588f4d['id'])&&_0x588f4d[_0x17d3a9(0x83)][_0x17d3a9(0x11a)]===this[_0x17d3a9(0x23f)][_0x17d3a9(0x11a)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x5b3143=_0x3a408b;this[_0x5b3143(0xe1)](_0x3eb154(this[_0x5b3143(0x23f)]['engine'][_0x5b3143(0x148)])[_0x5b3143(0x204)](_0x30235d(_0x4aca19=>_0x4aca19[_0x5b3143(0x16e)]===_0x4501d4['resize']),_0x2dec11(0x10))[_0x5b3143(0xae)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x17a839(_0x554c81)),Z(0x2,_0x17a839(H)),Z(0x3,_0x101494),Z(0x4,_0x17a839(_0x477be0))],Pe);const Pi=0x1,Li=1.5;class wi extends _0xa8a813{constructor(_0x5e3aa1,_0x11075a){const _0x26d785=_0x3a408b;super(_0x5e3aa1,_0x11075a),_(this,_0x26d785(0x249)),_(this,'_hovered',!0x1),_(this,_0x26d785(0x107)),_(this,'_name',''),_(this,_0x26d785(0x1d5),_0x26d785(0x1f3)),_(this,_0x26d785(0x26a)),(_0x11075a&&this[_0x26d785(0x153)](_0x11075a),this[_0x26d785(0x15b)][_0x26d785(0x127)](()=>this[_0x26d785(0x153)]({'hovered':!0x0})),this[_0x26d785(0x17a)][_0x26d785(0x127)](()=>this[_0x26d785(0x153)]({'hovered':!0x1})));}['setShapeProps'](_0xc47fc9){const _0x5b7876=_0x3a408b;var _0x4cdb43,_0x3c6fa2,_0x2b4c5d,_0x272ffe,_0x220f44,_0x48a282;this[_0x5b7876(0x249)]=(_0x4cdb43=_0xc47fc9[_0x5b7876(0x217)])!=null?_0x4cdb43:this['_color'],this['_hovered']=(_0x3c6fa2=_0xc47fc9[_0x5b7876(0x198)])!=null?_0x3c6fa2:this['_hovered'],this[_0x5b7876(0x107)]=(_0x2b4c5d=_0xc47fc9[_0x5b7876(0x120)])!=null?_0x2b4c5d:this[_0x5b7876(0x107)],this[_0x5b7876(0x86)]=(_0x272ffe=_0xc47fc9[_0x5b7876(0x1f2)])!=null?_0x272ffe:this[_0x5b7876(0x86)],this[_0x5b7876(0x1d5)]=(_0x220f44=_0xc47fc9[_0x5b7876(0x131)])!=null?_0x220f44:this['_labelPosition'],this['_backgroundColor']=(_0x48a282=_0xc47fc9[_0x5b7876(0x199)])!=null?_0x48a282:this[_0x5b7876(0x26a)],this[_0x5b7876(0x1d9)]({'width':_0xc47fc9[_0x5b7876(0x150)],'height':_0xc47fc9[_0x5b7876(0x1e3)]});}[_0x3a408b(0x251)](_0x47b13e){const _0x38fe91=_0x3a408b,{row:_0x4a74d4,column:_0x8f4956}=_0x47b13e;if(_0x4a74d4>=this[_0x38fe91(0x107)]['startRow']&&_0x4a74d4<=this['_range']['endRow']&&_0x8f4956>=this['_range'][_0x38fe91(0xa4)]&&_0x8f4956<=this[_0x38fe91(0x107)]['endColumn']){this[_0x38fe91(0x153)]({'hovered':!0x0});return;}this[_0x38fe91(0x153)]({'hovered':!0x1});}[_0x3a408b(0x9f)](_0x50769d){return!0x1;}['_draw'](_0x41c9e9){const _0x5d969c=_0x3a408b;_0x4e0805[_0x5d969c(0x128)](_0x41c9e9,{'width':this[_0x5d969c(0x150)],'height':this[_0x5d969c(0x1e3)],'strokeWidth':Li,'stroke':this[_0x5d969c(0x249)],'evented':!0x1,'fill':this[_0x5d969c(0x26a)]}),this[_0x5d969c(0x235)]&&(_0x41c9e9[_0x5d969c(0x1ce)](),_0x41c9e9[_0x5d969c(0x123)](0x1,0x0,0x0,0x1,this[_0x5d969c(0x150)],this[_0x5d969c(0x1d5)]===_0x5d969c(0x101)?0x0:-0x14),he[_0x5d969c(0x128)](_0x41c9e9,{'text':this[_0x5d969c(0x86)],'color':this['_color']}),_0x41c9e9[_0x5d969c(0x16a)]());}}var Ai=Object[_0x3a408b(0x179)],yi=(_0x1a86d7,_0x47f4b9,_0x5a448c,_0x358b6d)=>{for(var _0x158606=_0x358b6d>0x1?void 0x0:_0x358b6d?Ai(_0x47f4b9,_0x5a448c):_0x47f4b9,_0x1b068d=_0x1a86d7['length']-0x1,_0x47a3ad;_0x1b068d>=0x0;_0x1b068d--)(_0x47a3ad=_0x1a86d7[_0x1b068d])&&(_0x158606=_0x47a3ad(_0x158606)||_0x158606);return _0x158606;},ve=(_0x355f73,_0x1db53a)=>(_0x130839,_0x14cc70)=>_0x1db53a(_0x130839,_0x14cc70,_0x355f73);const $i=0x1389;let Le=class extends _0x4700ce{constructor(_0x550fbf,_0x5e2f0f,_0x1a4011,_0x5f1e5c){const _0x3f5886=_0x3a408b;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x3f5886(0x23f)]=_0x550fbf,this[_0x3f5886(0xbc)]=_0x5e2f0f,this[_0x3f5886(0x1fc)]=_0x1a4011,this[_0x3f5886(0x1e9)]=_0x5f1e5c,this[_0x3f5886(0x255)]());}[_0x3a408b(0x255)](){const _0x19452e=_0x3a408b;this[_0x19452e(0xbc)]['currentSkeleton$'][_0x19452e(0x204)](_0x338b49(this[_0x19452e(0x223)]),_0x41caa0(_0x3afcab=>{const _0x43db06=_0x19452e;if(_0x3afcab){const _0x56dabb=_0x3afcab[_0x43db06(0x20f)];return _0x1b69f3(this[_0x43db06(0x1fc)][_0x43db06(0x138)](this['_context'][_0x43db06(0x11a)]),this[_0x43db06(0x1e9)][_0x43db06(0x121)])[_0x43db06(0x204)](_0x273ce4(([_0x5a5f7c,_0x2d6176])=>{const _0x275929=_0x43db06,_0x52482d=new Map();return _0x5a5f7c[_0x275929(0xbe)]((_0x5b845e,_0x1a0402)=>{const _0x4af426=_0x275929;if(_0x5b845e[_0x4af426(0x1ea)]===_0x56dabb){const _0x57f9d3={..._0x5b845e};_0x57f9d3[_0x4af426(0x217)]=_0x2d6176[_0x5b845e['color']],_0x52482d[_0x4af426(0x228)](_0x1a0402,_0x57f9d3);}}),{'skeleton':_0x3afcab,'cursors':_0x52482d};}));}return _0xaf0114({'skeleton':null,'cursors':new Map()});}))[_0x19452e(0xae)](({skeleton:_0x46faac,cursors:_0x541914})=>{const _0x292b64=_0x19452e;this[_0x292b64(0x11f)](),_0x46faac&&this[_0x292b64(0x88)](_0x46faac,_0x541914);}),this['_sheetSkeletonManagerService'][_0x19452e(0xfe)][_0x19452e(0xae)](_0x42b61f=>{if(_0x42b61f==null)return;const {skeleton:_0x4e6f94}=_0x42b61f,{scene:_0x1835df}=this['_context'];_0x1835df['onPointerMove$']['subscribeEvent'](_0x407cab(_0x301a6e=>{const _0x332afc=_0x1625;var _0x1ce514,_0x363a39;const {offsetX:_0x8041b3,offsetY:_0x5984b8}=_0x301a6e,{x:_0x1b7aaa,y:_0x5d31d6}=_0x1835df['getRelativeToViewportCoord'](_0xa0510c['FromArray']([_0x8041b3,_0x5984b8])),{scaleX:_0x88e36f,scaleY:_0x584e53}=_0x1835df[_0x332afc(0xc6)](),_0x4cf629=_0x1835df[_0x332afc(0x14c)](_0x54b74c[_0x332afc(0x26f)]),_0xc84e65=_0x1835df[_0x332afc(0x237)](_0xa0510c[_0x332afc(0x24d)]([_0x1b7aaa,_0x5d31d6]),_0x4cf629),_0x5ae92e=_0x4e6f94[_0x332afc(0x21e)](_0x8041b3,_0x5984b8,_0x88e36f,_0x584e53,_0xc84e65);((_0x1ce514=this[_0x332afc(0x22f)])==null?void 0x0:_0x1ce514[_0x332afc(0x218)])===_0x5ae92e[_0x332afc(0x218)]&&((_0x363a39=this['_lastPointer'])==null?void 0x0:_0x363a39['row'])===_0x5ae92e[_0x332afc(0xfd)]||this[_0x332afc(0xe2)][_0x332afc(0xbe)](_0x2a3f15=>{_0x2a3f15['onMouseMove'](_0x5ae92e);});},0x64));});}[_0x3a408b(0x88)](_0x40cdad,_0x13794c){const _0x4253ce=_0x3a408b;var _0x499e1d;const _0x1d4fc1=(_0x499e1d=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x499e1d[_0x4253ce(0x1e5)];if(!_0x1d4fc1)return;const _0x4bfd8f=this[_0x4253ce(0x1f1)]();if(!_0x4bfd8f)return;this[_0x4253ce(0xe2)][_0x4253ce(0xbe)](_0x453372=>{const _0x50e310=_0x4253ce;_0x453372[_0x50e310(0xe3)]();});const {scene:_0x559eaa}=_0x4bfd8f,_0x5da549=xi(Array[_0x4253ce(0x9a)](_0x13794c['values']()))[_0x4253ce(0xde)](_0x1096ae=>{const _0x428134=_0x4253ce,{color:_0x296e6b,range:_0x5ebc14,name:_0x48200c,selection:_0x412ac0,sheetID:_0x26d5db}=_0x1096ae,{startColumn:_0x18bc9b,startRow:_0x3aa0c8,endColumn:_0xfc5979,endRow:_0x2aa0ac}=_0x5ebc14,_0x329d2b=_0x219162(_0x3aa0c8,_0x18bc9b,_0x559eaa,_0x1d4fc1),_0xceb51=_0x219162(_0x2aa0ac,_0xfc5979,_0x559eaa,_0x1d4fc1),{columnHeaderHeightAndMarginTop:_0x391513}=_0x1d4fc1,{startX:_0x45ec61,startY:_0x10ba34}=_0x329d2b,{endX:_0x4a92b1,endY:_0x2d95c3}=_0xceb51,_0x6efc54=_0x4a92b1-_0x45ec61,_0x11464f=_0x2d95c3-_0x10ba34,_0x2733f6={'labelPosition':_0x10ba34-_0x391513>=ee?_0x428134(0x1f3):_0x428134(0x101),'sheetID':_0x26d5db,'range':_0x5ebc14,'color':_0x296e6b,'name':_0x48200c,'selection':_0x412ac0,'left':_0x45ec61,'top':_0x10ba34,'width':_0x6efc54,'height':_0x11464f,'evented':!0x1,'zIndex':$i};return new wi(_0x48200c,_0x2733f6);});_0x559eaa['addObjects'](_0x5da549,Pi),this[_0x4253ce(0xe2)]=new Set(_0x5da549);}[_0x3a408b(0x11f)](){const _0xfd0da0=_0x3a408b;var _0x3dc5ea;(_0x3dc5ea=this['_cursors'])==null||_0x3dc5ea['forEach'](_0x7904e0=>_0x7904e0[_0xfd0da0(0x90)]());}[_0x3a408b(0x1f1)](){const _0x86a4e8=_0x3a408b;return _0x147273(this['_context'][_0x86a4e8(0x152)],this[_0x86a4e8(0x23f)]);}};Le=yi([ve(0x1,_0x17a839(_0x589eb2)),ve(0x2,_0x17a839(H)),ve(0x3,_0x17a839(_0x477be0))],Le);function xi(_0x54f754){const _0x5b31bc=_0x3a408b,_0x11e97e=new Map();return _0x54f754[_0x5b31bc(0xbe)](_0x258dc6=>{const _0x47cb05=_0x5b31bc;if(_0x11e97e[_0x47cb05(0x1c6)](_0x258dc6[_0x47cb05(0x1b1)])){const _0x29dd0e=_0x11e97e['get'](_0x258dc6[_0x47cb05(0x1b1)]);_0x29dd0e[_0x47cb05(0x1f2)]+=',\x20'+_0x258dc6[_0x47cb05(0x1f2)];}else _0x11e97e['set'](_0x258dc6['selection'],_0x258dc6);}),Array['from'](_0x11e97e[_0x5b31bc(0xbd)]());}var v=function(){const _0x55871d=_0x3a408b;return v=Object[_0x55871d(0x245)]||function(_0x8827e0){const _0x55b377=_0x55871d;for(var _0x311094,_0x4750c6=0x1,_0x281d57=arguments[_0x55b377(0x14e)];_0x4750c6<_0x281d57;_0x4750c6++){_0x311094=arguments[_0x4750c6];for(var _0x236502 in _0x311094)Object[_0x55b377(0x20d)]['hasOwnProperty'][_0x55b377(0xe0)](_0x311094,_0x236502)&&(_0x8827e0[_0x236502]=_0x311094[_0x236502]);}return _0x8827e0;},v[_0x55871d(0x161)](this,arguments);},Bi=function(_0x45fcae,_0xe6c5){const _0x77e5ca=_0x3a408b;var _0x399896={};for(var _0x408014 in _0x45fcae)Object[_0x77e5ca(0x20d)][_0x77e5ca(0xee)]['call'](_0x45fcae,_0x408014)&&_0xe6c5[_0x77e5ca(0x106)](_0x408014)<0x0&&(_0x399896[_0x408014]=_0x45fcae[_0x408014]);if(_0x45fcae!=null&&typeof Object['getOwnPropertySymbols']==_0x77e5ca(0xaa)){for(var _0x222f71=0x0,_0x408014=Object['getOwnPropertySymbols'](_0x45fcae);_0x222f71<_0x408014[_0x77e5ca(0x14e)];_0x222f71++)_0xe6c5['indexOf'](_0x408014[_0x222f71])<0x0&&Object[_0x77e5ca(0x20d)][_0x77e5ca(0x1c7)]['call'](_0x45fcae,_0x408014[_0x222f71])&&(_0x399896[_0x408014[_0x222f71]]=_0x45fcae[_0x408014[_0x222f71]]);}return _0x399896;},je=_0x325090(function(_0x774808,_0x12e0cf){const _0x546d6c=_0x3a408b;var _0x3d7ea4=_0x774808[_0x546d6c(0x1d4)],_0x56ad40=_0x774808['id'],_0xa1fff9=_0x774808[_0x546d6c(0x13c)],_0x3ce062=_0x774808[_0x546d6c(0x180)],_0x3af022=Bi(_0x774808,['icon','id',_0x546d6c(0x13c),_0x546d6c(0x180)]),_0xfa274a=_0x546d6c(0x264)['concat'](_0x56ad40,'\x20')['concat'](_0xa1fff9||'')[_0x546d6c(0x11b)](),_0x39ec2b=_0x3cd3f2('_'[_0x546d6c(0x184)](ji()));return Rt(_0x3d7ea4,''[_0x546d6c(0x184)](_0x56ad40),{'defIds':_0x3d7ea4['defIds'],'idSuffix':_0x39ec2b[_0x546d6c(0xc4)]},v({'ref':_0x12e0cf,'className':_0xfa274a},_0x3af022),_0x3ce062);});function Rt(_0x443bff,_0x27e6af,_0x2afd65,_0x36a19a,_0x46e38e){const _0x5acf40=_0x3a408b;return _0x61ac1f(_0x443bff[_0x5acf40(0x156)],v(v({'key':_0x27e6af},ki(_0x443bff,_0x2afd65,_0x46e38e)),_0x36a19a),(Hi(_0x443bff,_0x2afd65)[_0x5acf40(0xfc)]||[])[_0x5acf40(0xde)](function(_0x2de2b4,_0x19a5a1){const _0x5e438c=_0x5acf40;return Rt(_0x2de2b4,''['concat'](_0x27e6af,'-')[_0x5e438c(0x184)](_0x443bff['tag'],'-')[_0x5e438c(0x184)](_0x19a5a1),_0x2afd65,void 0x0,_0x46e38e);}));}function ki(_0x2fd137,_0x5bbbc0,_0xcdd378){const _0x5df4b0=_0x3a408b;var _0x4baa1a=v({},_0x2fd137[_0x5df4b0(0x1f0)]);_0xcdd378!=null&&_0xcdd378['colorChannel1']&&_0x4baa1a[_0x5df4b0(0x22e)]===_0x5df4b0(0x24c)&&(_0x4baa1a[_0x5df4b0(0x22e)]=_0xcdd378[_0x5df4b0(0x24c)]),_0x2fd137['tag']==='mask'&&_0x4baa1a['id']&&(_0x4baa1a['id']=_0x4baa1a['id']+_0x5bbbc0[_0x5df4b0(0x1c1)]),Object['entries'](_0x4baa1a)[_0x5df4b0(0xbe)](function(_0x5d7121){const _0x3943ae=_0x5df4b0;var _0x18b46a=_0x5d7121[0x0],_0x10bc29=_0x5d7121[0x1];_0x18b46a===_0x3943ae(0x1ac)&&typeof _0x10bc29==_0x3943ae(0x119)&&(_0x4baa1a[_0x18b46a]=_0x10bc29['replace'](/url\(#(.*)\)/,_0x3943ae(0xa3)['concat'](_0x5bbbc0[_0x3943ae(0x1c1)],')')));});var _0x55677a=_0x5bbbc0[_0x5df4b0(0xd6)];return!_0x55677a||_0x55677a[_0x5df4b0(0x14e)]===0x0||(_0x2fd137[_0x5df4b0(0x156)]==='use'&&_0x4baa1a['xlink:href']&&(_0x4baa1a['xlink:href']=_0x4baa1a[_0x5df4b0(0x1db)]+_0x5bbbc0[_0x5df4b0(0x1c1)]),Object['entries'](_0x4baa1a)['forEach'](function(_0x34a1b3){const _0x2b143d=_0x5df4b0;var _0x28b1fa=_0x34a1b3[0x0],_0x4e99d6=_0x34a1b3[0x1];typeof _0x4e99d6=='string'&&(_0x4baa1a[_0x28b1fa]=_0x4e99d6[_0x2b143d(0x201)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x5bbbc0[_0x2b143d(0x1c1)],')')));})),_0x4baa1a;}function Hi(_0x4c64c8,_0x442887){const _0x587f13=_0x3a408b;var _0x1fa2ea,_0x1c5ef2=_0x442887['defIds'];return!_0x1c5ef2||_0x1c5ef2['length']===0x0?_0x4c64c8:_0x4c64c8[_0x587f13(0x156)]==='defs'&&(!((_0x1fa2ea=_0x4c64c8['children'])===null||_0x1fa2ea===void 0x0)&&_0x1fa2ea[_0x587f13(0x14e)])?v(v({},_0x4c64c8),{'children':_0x4c64c8[_0x587f13(0xfc)][_0x587f13(0xde)](function(_0x14595a){const _0x31fdf9=_0x587f13;return typeof _0x14595a[_0x31fdf9(0x1f0)]['id']==_0x31fdf9(0x119)&&_0x1c5ef2&&_0x1c5ef2[_0x31fdf9(0x106)](_0x14595a['attrs']['id'])>-0x1?v(v({},_0x14595a),{'attrs':v(v({},_0x14595a[_0x31fdf9(0x1f0)]),{'id':_0x14595a[_0x31fdf9(0x1f0)]['id']+_0x442887[_0x31fdf9(0x1c1)]})}):_0x14595a;})}):_0x4c64c8;}function ji(){const _0x142b51=_0x3a408b;return Math[_0x142b51(0x95)]()[_0x142b51(0x190)](0x24)['substring'](0x2,0x8);}je['displayName']=_0x3a408b(0xa8);var Yi={'tag':_0x3a408b(0x26e),'attrs':{'fill':_0x3a408b(0x20e),'viewBox':_0x3a408b(0x143),'width':'1em','height':_0x3a408b(0xcf)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x3a408b(0xcc),'attrs':{'stroke':'currentColor','d':_0x3a408b(0x244),'strokeLinecap':_0x3a408b(0x22c),'strokeLinejoin':_0x3a408b(0x22c),'strokeWidth':1.2}}]},{'tag':_0x3a408b(0xc1),'attrs':{},'children':[{'tag':_0x3a408b(0x1d0),'attrs':{'id':_0x3a408b(0x1b7)},'children':[{'tag':'path','attrs':{'fill':_0x3a408b(0x168),'d':_0x3a408b(0x1c4)}}]}]}],'defIds':[_0x3a408b(0x1b7)]},Dt=_0x325090(function(_0x4be7ba,_0x62087f){const _0x79022b=_0x3a408b;return _0x61ac1f(je,Object[_0x79022b(0x245)]({},_0x4be7ba,{'id':_0x79022b(0x1cd),'ref':_0x62087f,'icon':Yi}));});Dt[_0x3a408b(0x1fb)]=_0x3a408b(0x17c);var Wi={'tag':_0x3a408b(0x26e),'attrs':{'fill':_0x3a408b(0x20e),'viewBox':_0x3a408b(0x13d),'width':_0x3a408b(0xcf),'height':_0x3a408b(0xcf)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a408b(0x1b4)},'children':[{'tag':_0x3a408b(0xcc),'attrs':{'stroke':_0x3a408b(0xe7),'d':_0x3a408b(0x18e),'strokeLinecap':_0x3a408b(0x22c),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3a408b(0xc1),'attrs':{},'children':[{'tag':_0x3a408b(0x1d0),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x3a408b(0xcc),'attrs':{'fill':_0x3a408b(0x168),'d':'M0\x200H16V16H0z','transform':_0x3a408b(0x114)}}]}]}],'defIds':[_0x3a408b(0x10f)]},Nt=_0x325090(function(_0x397135,_0x45d9d3){const _0x12fa56=_0x3a408b;return _0x61ac1f(je,Object['assign']({},_0x397135,{'id':_0x12fa56(0x18b),'ref':_0x45d9d3,'icon':Wi}));});Nt['displayName']=_0x3a408b(0x144);function Fi(_0x5b9ca8){const _0xf42f87=_0x3a408b;switch(_0x5b9ca8){case _0x1fa315[_0xf42f87(0x1c9)]:return _0xf42f87(0x96);case _0x1fa315['CONFLICT']:return'collabStatus.conflict';case _0x1fa315[_0xf42f87(0x136)]:return _0xf42f87(0x1bb);case _0x1fa315[_0xf42f87(0x1c2)]:return _0xf42f87(0x11c);case _0x1fa315['AWAITING']:case _0x1fa315[_0xf42f87(0xaf)]:return'collabStatus.syncing';case _0x1fa315[_0xf42f87(0x110)]:case _0x1fa315[_0xf42f87(0x1c8)]:return'collabStatus.synced';}}function Vi(_0xe3b01e){const _0x171c4d=_0x3a408b,{status$:_0x51dfd4}=_0xe3b01e,_0x536ad2=_0x7e078e(_0x51dfd4,_0x1fa315[_0x171c4d(0x1c2)]),_0x2af55c=_0x9a1297(_0x39370a),_0x30ed95=_0x9a1297(_0x38126a),_0x387d42=_0x536ad2!==_0x1fa315[_0x171c4d(0x1c9)],_0x2a1549=_0x2af55c['t'](Fi(_0x536ad2)),_0x414038=_0x387d42?_0x55a7fd(Nt,{}):_0x55a7fd(Dt,{}),_0xb31a50=_0x28056a(()=>{const _0x385e88=_0x171c4d;_0x387d42||_0x30ed95[_0x385e88(0x1d6)]();},[_0x387d42,_0x30ed95]);function _0x3df308(){const _0x353d2a=_0x171c4d;return _0x50d88c(_0x353d2a(0x84),{'className':'univer-flex\x20univer-items-center','onClick':_0xb31a50,'children':[_0x55a7fd(_0x353d2a(0x84),{'className':_0x401a94(_0x353d2a(0x9e),_0x387d42?_0x353d2a(0x10c):'univer-text-red-500'),'children':_0x414038}),_0x55a7fd(_0x353d2a(0x84),{'className':_0x353d2a(0x140),'children':_0x2a1549})]});}return _0x387d42?_0x3df308():_0x55a7fd(_0x13f86a,{'title':_0x2af55c['t']('collab-client.tooltip.reconnect'),'children':_0x3df308()});}var Xi=Object[_0x3a408b(0x179)],Gi=(_0x34dc9e,_0x4d25cc,_0x371200,_0x117120)=>{for(var _0x140eca=_0x117120>0x1?void 0x0:_0x117120?Xi(_0x4d25cc,_0x371200):_0x4d25cc,_0x462a42=_0x34dc9e['length']-0x1,_0x53bec6;_0x462a42>=0x0;_0x462a42--)(_0x53bec6=_0x34dc9e[_0x462a42])&&(_0x140eca=_0x53bec6(_0x140eca)||_0x140eca);return _0x140eca;},Q=(_0x548bd2,_0xd640fa)=>(_0x143317,_0x3c393a)=>_0xd640fa(_0x143317,_0x3c393a,_0x548bd2);let te=class extends _0x31f336{constructor(_0x10620a,_0x182980,_0x44e852,_0x52917c){const _0x340d89=_0x3a408b;super(),_(this,_0x340d89(0xf4),new _0x51d94a(_0x1fa315[_0x340d89(0x1c2)])),(this[_0x340d89(0x1e1)]=_0x10620a,this[_0x340d89(0xd9)]=_0x182980,this[_0x340d89(0x1e4)]=_0x44e852,this[_0x340d89(0x17f)]=_0x52917c,this['_initStatusComponent'](),this[_0x340d89(0x23b)]());}['_initStatusListener'](){const _0x1f4ff9=_0x3a408b;this[_0x1f4ff9(0xe1)](this['_univerInstanceService'][_0x1f4ff9(0x19a)]['pipe'](_0x25ab18(()=>{const _0x3602fd=_0x1f4ff9,_0x92c525=this[_0x3602fd(0x1e1)][_0x3602fd(0x236)]();return _0x92c525?this[_0x3602fd(0x1e4)][_0x3602fd(0xf5)](_0x92c525[_0x3602fd(0x19e)]()):_0xaf0114(null);}),_0x25ab18(_0x3e6ff1=>_0x3e6ff1?_0x3e6ff1[_0x1f4ff9(0x261)]:_0xaf0114(_0x1fa315[_0x1f4ff9(0x1c2)])))[_0x1f4ff9(0xae)](_0x4bc322=>{const _0x441a81=_0x1f4ff9;this[_0x441a81(0xf4)]['next'](_0x4bc322);}));}['_initStatusComponent'](){const _0xc5e2b8=_0x3a408b;this[_0xc5e2b8(0xe1)](this[_0xc5e2b8(0x17f)]['registerComponent'](_0xd37046['HEADER_MENU'],()=>_0x4fc57d(Ki({'status$':this[_0xc5e2b8(0xf4)][_0xc5e2b8(0x21a)]()}),this[_0xc5e2b8(0xd9)])));}};te=Gi([Q(0x0,_0xbc56cb),Q(0x1,_0x17a839(_0x171dd8)),Q(0x2,_0x17a839(_0x43cdb5)),Q(0x3,_0x512b75)],te);function Ki(_0x397788){const {status$:_0x57de61}=_0x397788;return function(){return _0x55a7fd(Vi,{'status$':_0x57de61});};}var zi=Object[_0x3a408b(0x179)],Ji=(_0x8c00e4,_0x424688,_0x579767,_0x27b065)=>{const _0x2c624e=_0x3a408b;for(var _0x489440=_0x27b065>0x1?void 0x0:_0x27b065?zi(_0x424688,_0x579767):_0x424688,_0x5d599c=_0x8c00e4[_0x2c624e(0x14e)]-0x1,_0xe7aae8;_0x5d599c>=0x0;_0x5d599c--)(_0xe7aae8=_0x8c00e4[_0x5d599c])&&(_0x489440=_0xe7aae8(_0x489440)||_0x489440);return _0x489440;},B=(_0x3c914a,_0xcafa64)=>(_0x57fa23,_0x1f399f)=>_0xcafa64(_0x57fa23,_0x1f399f,_0x3c914a);let se=class extends _0x31f336{constructor(_0x1b2742,_0xab4304,_0x4c0077,_0x4f7dba,_0x42c893,_0x27704a){const _0x2f8ef5=_0x3a408b;super(),this[_0x2f8ef5(0x163)]=_0x1b2742,this['_localCacheService']=_0xab4304,this['_collaborationUIEventService']=_0x4c0077,this[_0x2f8ef5(0x1bd)]=_0x4f7dba,this[_0x2f8ef5(0x9d)]=_0x42c893,this[_0x2f8ef5(0xba)]=_0x27704a,this[_0x2f8ef5(0x103)](),this['_initEvent']();}[_0x3a408b(0x103)](){const _0x2c7f73=_0x3a408b;this['disposeWithMe'](this[_0x2c7f73(0x163)][_0x2c7f73(0x1a2)](()=>{const _0x58b49e=_0x2c7f73;if(this['_localCacheService'][_0x58b49e(0x147)][_0x58b49e(0xb2)])return this['_localeService']['t'](_0x58b49e(0x269));}));}[_0x3a408b(0x210)](){const _0x26a48c=_0x3a408b;this[_0x26a48c(0xe1)](this[_0x26a48c(0x80)][_0x26a48c(0x212)]['subscribe'](_0xd5807b=>{const _0x4123be=_0x26a48c;_0xd5807b['id']===_0x990e29['OTHER_CLIENT_EDITING']&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x203)],'content':this[_0x4123be(0xba)]['t'](_0x4123be(0x252))}),_0xd5807b['id']===_0x990e29['CLOSE_ROOM']&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x203)],'content':this[_0x4123be(0xba)]['t'](_0x4123be(0x1b3))}),_0xd5807b['id']===_0x990e29[_0x4123be(0xc9)]&&this[_0x4123be(0x9d)][_0x4123be(0x268)]({'title':this[_0x4123be(0xba)]['t']('permission.title'),'content':this[_0x4123be(0xba)]['t'](_0x4123be(0x238)),'type':_0x4123be(0x192),'duration':0x0}),_0xd5807b['id']===_0x990e29[_0x4123be(0xc5)]&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a['Error'],'content':this['_localeService']['t'](_0x4123be(0x1b3))+'('+_0xd5807b[_0x4123be(0x8d)]+')'}),_0xd5807b['id']===_0x990e29[_0x4123be(0x1cb)]&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x203)],'content':this['_localeService']['t'](_0xd5807b[_0x4123be(0x8d)]||'')}),_0xd5807b['id']===_0x990e29[_0x4123be(0x9b)]&&this['_messageService'][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x203)],'content':this[_0x4123be(0xba)]['t'](_0x4123be(0xf9))}),_0xd5807b['id']===_0x990e29[_0x4123be(0x24b)]&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x9c)],'content':this[_0x4123be(0xba)]['t'](_0x4123be(0x253))}),_0xd5807b['id']===_0x990e29[_0x4123be(0xc0)]&&this[_0x4123be(0x1bd)][_0x4123be(0x268)]({'type':_0x2dbb5a[_0x4123be(0x9c)],'content':this['_localeService']['t'](_0x4123be(0x219))});}));}};se=Ji([B(0x0,_0x2718b9),B(0x1,_0x5e6fa7),B(0x2,_0x17a839(_0x42b038)),B(0x3,_0x2d1ce5),B(0x4,_0x4e5f7e),B(0x5,_0x17a839(_0x39370a))],se);const Zi=_0x3a408b(0x1ee),et={},Ut=_0x3e7bd4('uni.network.url-service');var Qi=Object[_0x3a408b(0x179)],qi=(_0x2d4dba,_0xe158e5,_0x12897c,_0x55a139)=>{const _0x40b39d=_0x3a408b;for(var _0x397bbf=_0x55a139>0x1?void 0x0:_0x55a139?Qi(_0xe158e5,_0x12897c):_0xe158e5,_0x1a3536=_0x2d4dba[_0x40b39d(0x14e)]-0x1,_0x189ed3;_0x1a3536>=0x0;_0x1a3536--)(_0x189ed3=_0x2d4dba[_0x1a3536])&&(_0x397bbf=_0x189ed3(_0x397bbf)||_0x397bbf);return _0x397bbf;},G=(_0x156321,_0x1b0596)=>(_0x23d7ab,_0x367765)=>_0x1b0596(_0x23d7ab,_0x367765,_0x156321);let ie=class extends _0x4700ce{constructor(_0x37cab2,_0x32ac45,_0x25eb45,_0x42115d,_0x458db6){const _0x5d3c64=_0x3a408b;super(),this[_0x5d3c64(0xe4)]=_0x37cab2,this[_0x5d3c64(0x266)]=_0x32ac45,this[_0x5d3c64(0x117)]=_0x25eb45,this[_0x5d3c64(0x24a)]=_0x42115d,_0x458db6?_0x458db6==null||_0x458db6[_0x5d3c64(0x15e)]()[_0x5d3c64(0x8f)](()=>this[_0x5d3c64(0x255)]()):(this[_0x5d3c64(0x266)]['debug'](_0x5d3c64(0xd7),_0x5d3c64(0x1c0)),this['_init']());}async[_0x3a408b(0x255)](){const _0xbeb0bd=_0x3a408b,_0x822ea7=this[_0xbeb0bd(0xe4)][_0xbeb0bd(0x260)](_0xbeb0bd(0x152)),_0x544b14=this[_0xbeb0bd(0xe4)]['getParam'](_0xbeb0bd(0x16e)),_0x546237=this['_urlService'][_0xbeb0bd(0x260)](_0xbeb0bd(0xad));if(!_0x822ea7||!_0x544b14){this[_0xbeb0bd(0x266)]['debug'](_0xbeb0bd(0xd7),_0xbeb0bd(0xc8));return;}const _0x14a4b0=await this[_0xbeb0bd(0x24a)][_0xbeb0bd(0x224)](_0x822ea7,Number(_0x544b14),_0x546237);_0x14a4b0&&_0x14a4b0 instanceof _0x3fddff&&this[_0xbeb0bd(0x25d)](_0x14a4b0);}async[_0x3a408b(0x25d)](_0x3bd35e){const _0x3bc030=_0x3a408b;await this[_0x3bc030(0xf2)](_0x3bd35e),_0x3bd35e[_0x3bc030(0xe9)]['pipe'](_0x458f50(this[_0x3bc030(0x223)]))[_0x3bc030(0xae)](_0x21a5a2=>{const _0x210ca8=_0x3bc030;_0x21a5a2&&this[_0x210ca8(0x175)](_0x21a5a2);}),this['_urlService']['urlChange$'][_0x3bc030(0x204)](_0x458f50(this[_0x3bc030(0x223)]))['subscribe'](()=>this[_0x3bc030(0xf2)](_0x3bd35e));}[_0x3a408b(0x175)](_0x3ed436,_0xf1d70b=!0x1){const _0x396891=_0x3a408b,_0x5504d0=this[_0x396891(0xe4)][_0x396891(0x260)]('subunit');_0x3ed436['getSheetId']()!==_0x5504d0&&this[_0x396891(0xe4)][_0x396891(0x149)]('subunit',_0x3ed436[_0x396891(0x214)](),_0xf1d70b);}async['_updateSubUnitFromURLParams'](_0x7cdc7){const _0x3bc920=_0x3a408b;var _0x203401;const _0x368828=this[_0x3bc920(0xe4)][_0x3bc920(0x260)]('subunit');if(!_0x368828||!_0x7cdc7[_0x3bc920(0x21d)](_0x368828)){const _0x44d7e0=_0x7cdc7['getUnhiddenWorksheets']()[0x0],_0x420c98=_0x7cdc7['getSheetBySheetId'](_0x44d7e0);if(!_0x420c98)return;this[_0x3bc920(0x175)](_0x420c98,!0x0),await this[_0x3bc920(0x117)][_0x3bc920(0x1d8)](_0x3a66aa['id'],{'unitId':_0x7cdc7[_0x3bc920(0x19e)](),'subUnitId':_0x44d7e0});return;}((_0x203401=_0x7cdc7[_0x3bc920(0xb8)]())==null?void 0x0:_0x203401['getSheetId']())!==_0x368828&&await this[_0x3bc920(0x117)][_0x3bc920(0x1d8)](_0x3a66aa['id'],{'unitId':_0x7cdc7['getUnitId'](),'subUnitId':_0x368828});}};ie=qi([G(0x0,Ut),G(0x1,_0x3d7217),G(0x2,_0x101494),G(0x3,_0x17a839(_0x558d9e)),G(0x4,_0x1f5a2d(_0x4f25be))],ie);var en=Object[_0x3a408b(0x179)],tn=(_0xc8ca87,_0x2c49f8,_0x278731,_0x56aa76)=>{const _0x246d67=_0x3a408b;for(var _0x460a89=_0x56aa76>0x1?void 0x0:_0x56aa76?en(_0x2c49f8,_0x278731):_0x2c49f8,_0x4f61bb=_0xc8ca87[_0x246d67(0x14e)]-0x1,_0x11552c;_0x4f61bb>=0x0;_0x4f61bb--)(_0x11552c=_0xc8ca87[_0x4f61bb])&&(_0x460a89=_0x11552c(_0x460a89)||_0x460a89);return _0x460a89;},pe=(_0x21dab4,_0x2c8be4)=>(_0x1e14ea,_0x4c2844)=>_0x2c8be4(_0x1e14ea,_0x4c2844,_0x21dab4);let ne=class{constructor(_0x10c586,_0x19bbce,_0x17a2c2){const _0x479759=_0x3a408b;this[_0x479759(0xd9)]=_0x10c586,this[_0x479759(0xb7)]=_0x19bbce,this[_0x479759(0x14f)]=_0x17a2c2;}[_0x3a408b(0x239)](_0x5a46b7){this['_transformUndoRedoStack'](_0x5a46b7),this['_transformPreviousActiveRange'](_0x5a46b7);}[_0x3a408b(0x1ae)](_0x2ba083){const _0x41065d=_0x3a408b,{unitID:_0x2af78c}=_0x2ba083,_0x13bd7b=this[_0x41065d(0x14f)][_0x41065d(0x18a)](_0x2af78c)[_0x41065d(0x124)](_0x515704),{redoCache:_0x2bc836}=_0x13bd7b[_0x41065d(0xa7)]();if(_0x2bc836[_0x41065d(0x14e)]===0x0)return _0x2ba083;let _0x22c1aa=_0x2ca080[_0x41065d(0x1e0)](_0x2ba083[_0x41065d(0x22a)][0x0]);for(let _0x310c31=0x0;_0x310c31<_0x2bc836[_0x41065d(0x14e)];_0x310c31++){const _0xb4fb5c={'id':'doc.mutation.rich-text-editing','params':{..._0x2bc836[_0x310c31]}},_0x302560=this['_transformService'][_0x41065d(0x206)](_0x22c1aa,_0xb4fb5c,!0x1);if(_0x3425ca(_0x302560))throw _0x302560['error'];_0x22c1aa=_0x302560[_0x41065d(0x25f)];}return{..._0x2ca080['deepClone'](_0x2ba083),'mutations':[_0x22c1aa]};}['_transformUndoRedoStack'](_0x57a18a){const _0x536dd2=_0x3a408b,{unitID:_0x2d70d3}=_0x57a18a,_0x5ead37=this[_0x536dd2(0x14f)][_0x536dd2(0x18a)](_0x2d70d3)[_0x536dd2(0x124)](_0x515704),{undoCache:_0x4853d4,redoCache:_0x4bb75b}=_0x5ead37[_0x536dd2(0xa7)]();if(_0x4853d4['length']===0x0||_0x4bb75b['length']===0x0)return;const _0x127efb=[],_0xe00032=[];let _0x55521f=_0x2ca080[_0x536dd2(0x1e0)](_0x57a18a[_0x536dd2(0x22a)][0x0]),_0x78694=_0x2ca080['deepClone'](_0x57a18a[_0x536dd2(0x22a)][0x0]);for(let _0x2db719=_0x4853d4[_0x536dd2(0x14e)]-0x1;_0x2db719>=0x0;_0x2db719--){const _0x27e5be={'id':_0x536dd2(0x115),'params':{..._0x4853d4[_0x2db719]}},_0x441fb2={'id':_0x536dd2(0x115),'params':{..._0x4bb75b[_0x2db719]}},_0xf05317=this[_0x536dd2(0xb7)][_0x536dd2(0x206)](_0x55521f,_0x27e5be,!0x1),_0x4d1ab5=this[_0x536dd2(0xb7)][_0x536dd2(0x206)](_0x78694,_0x441fb2,!0x1);if(_0x3425ca(_0xf05317))throw _0xf05317[_0x536dd2(0x192)];if(_0x3425ca(_0x4d1ab5))throw _0x4d1ab5[_0x536dd2(0x192)];_0x127efb[_0x536dd2(0x8b)](_0xf05317['m2Prime']['params']),_0xe00032[_0x536dd2(0x8b)](_0x4d1ab5[_0x536dd2(0x267)][_0x536dd2(0x83)]),_0x55521f=_0xf05317[_0x536dd2(0x25f)],_0x78694=_0x4d1ab5[_0x536dd2(0x25f)];}_0x5ead37[_0x536dd2(0x16d)]({'undoCache':_0x127efb,'redoCache':_0xe00032});}[_0x3a408b(0x178)](_0x5d9519){const _0x12d1c1=_0x3a408b,{unitID:_0x5d3afb}=_0x5d9519,_0xbddd75=this[_0x12d1c1(0x14f)][_0x12d1c1(0x18a)](_0x5d3afb)[_0x12d1c1(0x124)](_0x515704),_0x5a8499=_0xbddd75[_0x12d1c1(0x1ef)]();if(_0x5a8499==null)return;const _0x4fdc56=[{'id':_0x12d1c1(0x115),'params':{'unitId':_0x5d9519['unitID'],'actions':null,'textRanges':[_0x5a8499]}}],_0x22c7aa=this[_0x12d1c1(0xb7)][_0x12d1c1(0x213)](_0x5d9519,_0x4fdc56);if(!_0x41d5b7(_0x22c7aa))throw _0x22c7aa['error'];const _0x3d7c57=_0x22c7aa[_0x12d1c1(0x267)][0x0]['params']['textRanges'];Array[_0x12d1c1(0x102)](_0x3d7c57)&&_0x3d7c57[_0x12d1c1(0x14e)]&&_0xbddd75[_0x12d1c1(0x17d)](_0x3d7c57[0x0]);}};ne=tn([pe(0x0,_0x17a839(_0x171dd8)),pe(0x1,_0x4fa722),pe(0x2,_0x170543)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x406cad,_0xe6a873,_0x55fc70,_0x176d2e)=>{for(var _0x1f3846=_0x176d2e>0x1?void 0x0:_0x176d2e?sn(_0xe6a873,_0x55fc70):_0xe6a873,_0x1b0b1f=_0x406cad['length']-0x1,_0x4534a4;_0x1b0b1f>=0x0;_0x1b0b1f--)(_0x4534a4=_0x406cad[_0x1b0b1f])&&(_0x1f3846=_0x4534a4(_0x1f3846)||_0x1f3846);return _0x1f3846;},Ce=(_0x2b94a1,_0x27852c)=>(_0x2a05bb,_0x5b1f2f)=>_0x27852c(_0x2a05bb,_0x5b1f2f,_0x2b94a1);let re=class{constructor(_0x326ca8,_0x153082,_0x141a1b){const _0x4311b4=_0x3a408b;this[_0x4311b4(0xd9)]=_0x326ca8,this['_transformService']=_0x153082,this[_0x4311b4(0x207)]=_0x141a1b;}[_0x3a408b(0x247)](_0x30e656){const _0x457f31=_0x3a408b;this[_0x457f31(0x1e2)](_0x30e656);}[_0x3a408b(0x1ae)](_0xbdba8a){const _0x2d8493=_0x3a408b,{unitID:_0x567574}=_0xbdba8a,{collaboration:_0x30096b}=this[_0x2d8493(0x207)][_0x2d8493(0x270)](_0x567574);if(_0x30096b[_0x2d8493(0x14e)]===0x0)return _0xbdba8a;let _0xd0b618=_0x2ca080['deepClone'](_0xbdba8a[_0x2d8493(0x22a)][0x0]);for(let _0x555a80=0x0;_0x555a80<_0x30096b[_0x2d8493(0x14e)];_0x555a80++){const _0x28772e={'id':_0x2d8493(0x115),'params':{'unitId':_0x30096b[_0x555a80][_0x2d8493(0x11a)],..._0x30096b[_0x555a80][_0x2d8493(0x81)]}},_0x62260=this[_0x2d8493(0xb7)]['transformMutation'](_0xd0b618,_0x28772e,!0x1);if(_0x3425ca(_0x62260))throw _0x62260['error'];_0xd0b618=_0x62260[_0x2d8493(0x25f)];}return{..._0x2ca080[_0x2d8493(0x1e0)](_0xbdba8a),'mutations':[_0xd0b618]};}[_0x3a408b(0x1e2)](_0x3eb3ea){const _0x48213d=_0x3a408b,{unitID:_0x1a35c9}=_0x3eb3ea,{history:_0x858c4e,collaboration:_0x1f91c2}=this[_0x48213d(0x207)][_0x48213d(0x270)](_0x1a35c9);if(_0x858c4e[_0x48213d(0x14e)]===0x0&&_0x1f91c2[_0x48213d(0x14e)]===0x0)return;const _0x3aaf3e=[],_0x26cf06=[];let _0x40f9c3=_0x2ca080[_0x48213d(0x1e0)](_0x3eb3ea[_0x48213d(0x22a)][0x0]),_0x58cba2=_0x2ca080['deepClone'](_0x3eb3ea[_0x48213d(0x22a)][0x0]);for(let _0x567e6d=_0x858c4e['length']-0x1;_0x567e6d>=0x0;_0x567e6d--){const _0x403cec={'id':_0x48213d(0x115),'params':{'unitId':_0x858c4e[_0x567e6d][_0x48213d(0x11a)],..._0x858c4e[_0x567e6d][_0x48213d(0x1a3)]}},_0x56cfbe={'id':_0x48213d(0x115),'params':{'unitId':_0x858c4e[_0x567e6d][_0x48213d(0x11a)],..._0x858c4e[_0x567e6d]['redoState']}},_0x166549=this[_0x48213d(0xb7)][_0x48213d(0x206)](_0x40f9c3,_0x403cec,!0x1),_0x4c9bd4=this[_0x48213d(0xb7)][_0x48213d(0x206)](_0x58cba2,_0x56cfbe,!0x1);if(_0x3425ca(_0x166549))throw _0x166549[_0x48213d(0x192)];if(_0x3425ca(_0x4c9bd4))throw _0x4c9bd4[_0x48213d(0x192)];_0x3aaf3e[_0x48213d(0x8b)]({..._0x858c4e[_0x567e6d],'undoState':_0x166549[_0x48213d(0x267)][_0x48213d(0x83)],'redoState':_0x4c9bd4['m2Prime']['params']}),_0x40f9c3=_0x166549[_0x48213d(0x25f)],_0x58cba2=_0x4c9bd4[_0x48213d(0x25f)];}_0x40f9c3=_0x2ca080['deepClone'](_0x3eb3ea[_0x48213d(0x22a)][0x0]),_0x58cba2=_0x2ca080[_0x48213d(0x1e0)](_0x3eb3ea[_0x48213d(0x22a)][0x0]);for(let _0x214f0e=_0x1f91c2[_0x48213d(0x14e)]-0x1;_0x214f0e>=0x0;_0x214f0e--){const _0x36a709={'id':_0x48213d(0x115),'params':{'unitId':_0x1f91c2[_0x214f0e][_0x48213d(0x11a)],..._0x1f91c2[_0x214f0e][_0x48213d(0x1a3)]}},_0x26473f={'id':_0x48213d(0x115),'params':{'unitId':_0x1f91c2[_0x214f0e][_0x48213d(0x11a)],..._0x1f91c2[_0x214f0e]['redoState']}},_0x543247=this[_0x48213d(0xb7)][_0x48213d(0x206)](_0x40f9c3,_0x36a709,!0x1),_0x3b08e7=this[_0x48213d(0xb7)][_0x48213d(0x206)](_0x58cba2,_0x26473f,!0x1);if(_0x3425ca(_0x543247))throw _0x543247['error'];if(_0x3425ca(_0x3b08e7))throw _0x3b08e7[_0x48213d(0x192)];_0x26cf06[_0x48213d(0x8b)]({..._0x1f91c2[_0x214f0e],'undoState':_0x543247['m2Prime'][_0x48213d(0x83)],'redoState':_0x3b08e7['m2Prime'][_0x48213d(0x83)]}),_0x40f9c3=_0x543247[_0x48213d(0x25f)],_0x58cba2=_0x3b08e7[_0x48213d(0x25f)];}this[_0x48213d(0x207)]['setStateCache'](_0x1a35c9,{'history':_0x3aaf3e,'collaboration':_0x26cf06});}};re=nn([Ce(0x0,_0x17a839(_0x171dd8)),Ce(0x1,_0x4fa722),Ce(0x2,_0x17a839(_0x49ab36))],re);var rn=Object[_0x3a408b(0x179)],on=(_0x12690a,_0x51e309,_0x1bdc5c,_0x4bdbb4)=>{const _0x3fb9f4=_0x3a408b;for(var _0x38d5ca=_0x4bdbb4>0x1?void 0x0:_0x4bdbb4?rn(_0x51e309,_0x1bdc5c):_0x51e309,_0x2ea5b7=_0x12690a[_0x3fb9f4(0x14e)]-0x1,_0x13a67d;_0x2ea5b7>=0x0;_0x2ea5b7--)(_0x13a67d=_0x12690a[_0x2ea5b7])&&(_0x38d5ca=_0x13a67d(_0x38d5ca)||_0x38d5ca);return _0x38d5ca;},tt=(_0x4b59c8,_0xd7445e)=>(_0x329494,_0x2ce11a)=>_0xd7445e(_0x329494,_0x2ce11a,_0x4b59c8);let oe=class{constructor(_0x25ed0b,_0x5c4b14){this['_injector']=_0x25ed0b,this['_transformService']=_0x5c4b14;}[_0x3a408b(0x231)](_0x420e18){const _0x5946b8=_0x3a408b;var _0x5a5a2c;const _0x19260b=this['_injector'][_0x5946b8(0x25c)](_0x5e697b),_0x2d19d9=(_0x5a5a2c=_0x19260b[_0x5946b8(0x10e)]())!=null?_0x5a5a2c:[];if(_0x2d19d9[_0x5946b8(0x14e)]===0x0)return;const _0x4ef388=_0x420e18[_0x5946b8(0xa5)],_0x118c6b=[{'id':_0x5946b8(0x115),'params':{'unitId':_0x4ef388,'actions':null,'textRanges':_0x2d19d9}}],_0x119efc=this[_0x5946b8(0xb7)][_0x5946b8(0x213)](_0x420e18,_0x118c6b);if(!_0x41d5b7(_0x119efc))throw _0x119efc['error'];const _0x5e674d=_0x119efc['m2Prime'][0x0][_0x5946b8(0x83)][_0x5946b8(0x1a0)];Array[_0x5946b8(0x102)](_0x5e674d)&&_0x5e674d[_0x5946b8(0x14e)]&&_0x19260b[_0x5946b8(0xb0)](_0x5e674d,{'unitId':_0x4ef388,'subUnitId':_0x4ef388},!0x1);}};oe=on([tt(0x0,_0x17a839(_0x171dd8)),tt(0x1,_0x4fa722)],oe);var an=Object[_0x3a408b(0x179)],cn=(_0x16386b,_0x361b20,_0x195609,_0x5d6d0d)=>{const _0x2982f1=_0x3a408b;for(var _0x1730c3=_0x5d6d0d>0x1?void 0x0:_0x5d6d0d?an(_0x361b20,_0x195609):_0x361b20,_0x4a9fae=_0x16386b[_0x2982f1(0x14e)]-0x1,_0x1d7b46;_0x4a9fae>=0x0;_0x4a9fae--)(_0x1d7b46=_0x16386b[_0x4a9fae])&&(_0x1730c3=_0x1d7b46(_0x1730c3)||_0x1730c3);return _0x1730c3;},U=(_0x48f912,_0x5b6e84)=>(_0x17887d,_0x2c22f2)=>_0x5b6e84(_0x17887d,_0x2c22f2,_0x48f912);let ae=class extends _0x31f336{constructor(_0x5460e0,_0x3b7944,_0x23d382,_0x37fa77,_0x5e439a,_0xfb9cf2,_0x1eee94,_0x9798fa){const _0x1ffb81=_0x3a408b;super(),_(this,_0x1ffb81(0xf4),new _0x51d94a(_0x1fa315[_0x1ffb81(0x1c2)])),(this[_0x1ffb81(0x207)]=_0x5460e0,this[_0x1ffb81(0x1e4)]=_0x3b7944,this[_0x1ffb81(0x12c)]=_0x23d382,this[_0x1ffb81(0x256)]=_0x37fa77,this[_0x1ffb81(0x1d2)]=_0x5e439a,this[_0x1ffb81(0x221)]=_0xfb9cf2,this[_0x1ffb81(0x1bd)]=_0x1eee94,this[_0x1ffb81(0xba)]=_0x9798fa,this['_initEntityListener']());}[_0x3a408b(0x191)](){const _0x1f1e02=_0x3a408b;this['disposeWithMe'](this[_0x1f1e02(0x1e4)][_0x1f1e02(0x97)][_0x1f1e02(0xae)](_0x52f482=>{const _0x166ad3=_0x1f1e02,_0x1eec04=this[_0x166ad3(0x207)][_0x166ad3(0x111)][_0x166ad3(0xae)](_0x12bb36=>{const _0x17afcd=_0x166ad3;if(_0x12bb36==null)return;const {unitId:_0x442ce4,redoState:_0x5a6891,commandId:_0x3cb589}=_0x12bb36;if(_0x442ce4!==_0x52f482[_0x17afcd(0xa5)])return;const _0x384761={'id':_0x3cb589,'type':_0x1545b4['MUTATION'],'params':{'unitId':_0x442ce4,'actions':_0x5a6891[_0x17afcd(0x15f)],'textRanges':null}};_0x52f482[_0x17afcd(0x246)](_0x384761);});if(_0x52f482[_0x166ad3(0xe1)](_0x1eec04),_0x52f482 instanceof _0xf0db92){const _0x2f3881={'onTransformIME':_0x3b26d0=>this['_docTransformIMECacheService']['transformIMECache'](_0x3b26d0),'onTransformState':_0x5caa58=>this[_0x166ad3(0x256)][_0x166ad3(0x247)](_0x5caa58),'onTransformSelections':_0x302c20=>this[_0x166ad3(0x1d2)][_0x166ad3(0x231)](_0x302c20),'onSyncEditingCollabCursor':_0x188d39=>this[_0x166ad3(0x221)]['syncEditingCollabCursor'](_0x188d39),'onTransformRemoteChangesetByIMECache':_0x4488f2=>this[_0x166ad3(0x12c)][_0x166ad3(0x1ae)](_0x4488f2),'onTransformRemoteChangesetByStateCache':_0x5cc84b=>this[_0x166ad3(0x256)][_0x166ad3(0x1ae)](_0x5cc84b)};_0x52f482['addHandlerCallback'](_0x2f3881);}}));}};ae=cn([U(0x0,_0x17a839(_0x49ab36)),U(0x1,_0x17a839(_0x43cdb5)),U(0x2,_0x17a839(ne)),U(0x3,_0x17a839(re)),U(0x4,_0x17a839(oe)),U(0x5,_0x17a839(He)),U(0x6,_0x2d1ce5),U(0x7,_0x17a839(_0x39370a))],ae);var ln=Object[_0x3a408b(0x179)],_n=(_0x4bdab5,_0x3e03d3,_0x46229d,_0x3d5149)=>{const _0x2b3184=_0x3a408b;for(var _0x2b32b4=_0x3d5149>0x1?void 0x0:_0x3d5149?ln(_0x3e03d3,_0x46229d):_0x3e03d3,_0x42e326=_0x4bdab5[_0x2b3184(0x14e)]-0x1,_0x4e603e;_0x42e326>=0x0;_0x42e326--)(_0x4e603e=_0x4bdab5[_0x42e326])&&(_0x2b32b4=_0x4e603e(_0x2b32b4)||_0x2b32b4);return _0x2b32b4;},Ee=(_0x16319c,_0x18bca3)=>(_0x431dcd,_0x150198)=>_0x18bca3(_0x431dcd,_0x150198,_0x16319c);let we=class extends _0x31f336{constructor(_0x120278,_0x1f2e3f,_0x5f0b65){const _0x565023=_0x3a408b;super(),_(this,_0x565023(0x1fa),new Map()),_(this,_0x565023(0x164),new Map()),_(this,'_disabled',!0x1),(this[_0x565023(0x91)]=_0x120278,this['_localStorageService']=_0x1f2e3f,this[_0x565023(0x23e)]=_0x5f0b65);}[_0x3a408b(0x24e)](){this['_disabled']=!0x0;}[_0x3a408b(0x20b)](){const _0x593791=_0x3a408b;this[_0x593791(0x10d)]=!0x1;}get[_0x3a408b(0x147)](){const _0x19301b=_0x3a408b;return this[_0x19301b(0x164)];}[_0x3a408b(0x90)](){const _0x270c66=_0x3a408b;this['exhaustSavingTask']()[_0x270c66(0x8f)](()=>super['dispose']());}async['loadOfflineData'](_0x22eebb){const _0x1305eb=_0x3a408b;return this[_0x1305eb(0x10d)]?null:this[_0x1305eb(0xc2)]['getItem'](_0x3637d2(_0x22eebb));}async[_0x3a408b(0x259)](_0x56e8e7,_0x46a238){const _0x4517ba=_0x3a408b;return!!this[_0x4517ba(0xc2)]['setItem'](_0x56e8e7,_0x46a238);}['updateOfflineData'](_0x3af454,_0x5e0e9d,_0xdac5ea,_0x541f20){const _0xb30463=_0x3a408b,_0x3f0288=this[_0xb30463(0x23e)][_0xb30463(0x13a)](_0x3af454);this['_cachedData']['set'](_0x3af454,{'unitID':_0x3af454,'type':_0x5e0e9d,'awaitingChangeset':_0xdac5ea,'mutations':_0x541f20,'rev':_0x3f0288}),this[_0xb30463(0x164)][_0xb30463(0x1c6)](_0x3af454)||this[_0xb30463(0x195)](_0x3af454);}['_scheduleSaving'](_0x46cf37){const _0x42aa23=_0x3a408b,_0x59e980=this[_0x42aa23(0x1b6)]();_0x59e980===0x0?this[_0x42aa23(0x139)](_0x46cf37):this[_0x42aa23(0x164)][_0x42aa23(0x228)](_0x46cf37,setTimeout(()=>this['_saveCache'](_0x46cf37),_0x59e980));}[_0x3a408b(0x1b6)](){const _0x54c75e=_0x3a408b;var _0x1745db;return(_0x1745db=this[_0x54c75e(0x91)][_0x54c75e(0x250)](_0x5c14d8))!=null?_0x1745db:_0x45b731;}[_0x3a408b(0x139)](_0x5f93e6){const _0x19a9a5=_0x3a408b,_0x4ded6e=this[_0x19a9a5(0x164)]['get'](_0x5f93e6);return _0x4ded6e!==void 0x0&&window['clearTimeout'](_0x4ded6e),this[_0x19a9a5(0xc2)][_0x19a9a5(0x176)](_0x3637d2(_0x5f93e6),this[_0x19a9a5(0x1fa)]['get'](_0x5f93e6))[_0x19a9a5(0x8f)](()=>this[_0x19a9a5(0x164)][_0x19a9a5(0x1e6)](_0x5f93e6));}async[_0x3a408b(0x130)](){const _0x330eb2=_0x3a408b,_0x8a95b4=[];this[_0x330eb2(0x164)][_0x330eb2(0xbe)]((_0x5cef74,_0x1610f0)=>{const _0x51c503=_0x330eb2;window[_0x51c503(0x23a)](_0x5cef74),_0x8a95b4[_0x51c503(0x225)](this[_0x51c503(0x139)](_0x1610f0)[_0x51c503(0x8f)](()=>{const _0xa6fb1d=_0x51c503;this[_0xa6fb1d(0x164)][_0xa6fb1d(0x1e6)](_0x1610f0);}));}),await Promise[_0x330eb2(0x215)](_0x8a95b4);}};we=_n([Ee(0x0,_0x578670),Ee(0x1,_0x7f96cd),Ee(0x2,_0x17a839(_0x538161))],we);class hn extends _0x4700ce{constructor(){const _0x3e4e4c=_0x3a408b;super(),_(this,_0x3e4e4c(0x1bf)),this['urlChange$']=_0x594d1e(window,_0x3e4e4c(0x17b))['pipe'](_0x458f50(this[_0x3e4e4c(0x223)]),_0x534730(0x1),_0x2baff2(void 0x0));}[_0x3a408b(0x149)](_0x329ae9,_0x562cc8,_0x4cc0b9=!0x1){const _0x5507b0=_0x3a408b,_0x5f0730=new URL(window[_0x5507b0(0x25a)][_0x5507b0(0x1be)]);_0x5f0730['searchParams'][_0x5507b0(0x228)](_0x329ae9,_0x562cc8),_0x4cc0b9?window['history']['replaceState']('','',_0x5f0730[_0x5507b0(0x190)]()):window[_0x5507b0(0xf3)][_0x5507b0(0x1a5)]('','',_0x5f0730[_0x5507b0(0x190)]());}[_0x3a408b(0xa2)](_0x339e69,_0xd4d064=!0x1){const _0x76c766=_0x3a408b,_0x54f235=new URL(window[_0x76c766(0x25a)][_0x76c766(0x1be)]);_0x54f235[_0x76c766(0x1ba)]['delete'](_0x339e69),_0xd4d064?window[_0x76c766(0xf3)][_0x76c766(0x229)]('','',_0x54f235[_0x76c766(0x190)]()):window['history'][_0x76c766(0x1a5)]('','',_0x54f235[_0x76c766(0x190)]());}[_0x3a408b(0x260)](_0x42bfba){const _0x608264=_0x3a408b;var _0x5e91f0;return(_0x5e91f0=new URL(window[_0x608264(0x25a)][_0x608264(0x1be)])['searchParams'][_0x608264(0x25c)](_0x42bfba))!=null?_0x5e91f0:void 0x0;}}var un=Object[_0x3a408b(0x141)],dn=Object[_0x3a408b(0x179)],fn=(_0x267efd,_0x3d2b09,_0x419e15)=>_0x3d2b09 in _0x267efd?un(_0x267efd,_0x3d2b09,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x419e15}):_0x267efd[_0x3d2b09]=_0x419e15,Sn=(_0x3a85d5,_0x3fc5fa,_0x3f58cb,_0x34ebdf)=>{const _0x4032fd=_0x3a408b;for(var _0x271dc5=_0x34ebdf>0x1?void 0x0:_0x34ebdf?dn(_0x3fc5fa,_0x3f58cb):_0x3fc5fa,_0x4aa4a6=_0x3a85d5[_0x4032fd(0x14e)]-0x1,_0x32baca;_0x4aa4a6>=0x0;_0x4aa4a6--)(_0x32baca=_0x3a85d5[_0x4aa4a6])&&(_0x271dc5=_0x32baca(_0x271dc5)||_0x271dc5);return _0x271dc5;},Oe=(_0x3de913,_0x233187)=>(_0x49f363,_0x7dd84c)=>_0x233187(_0x49f363,_0x7dd84c,_0x3de913),mn=(_0x3b6783,_0x282810,_0x141647)=>fn(_0x3b6783,_0x282810+'',_0x141647);const gn=_0x3a408b(0x14b);let Ae=class extends _0x21eba3{constructor(_0x2db057=et,_0x4d4d5d,_0x241664,_0x28a1e8){const _0x22f48f=_0x3a408b;super(),this['_config']=_0x2db057,this[_0x22f48f(0x14f)]=_0x4d4d5d,this['_injector']=_0x241664,this[_0x22f48f(0x91)]=_0x28a1e8;const {..._0x2920dd}=_0x4ba00a({},et,this['_config']);this[_0x22f48f(0x91)][_0x22f48f(0x1eb)](Zi,_0x2920dd);}['onStarting'](){const _0x3c8d43=_0x3a408b;this['_registerDependencies'](),this[_0x3c8d43(0x1b5)]();}[_0x3a408b(0x105)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x33c580=_0x3a408b;var _0xac012d;const _0x196682=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4cbbf6,{'useClass':_0x64b90a}],[_0x5e6fa7,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x2e427b(this[_0x33c580(0xd9)],_0x4eb7d5(_0x196682,(_0xac012d=this['_config'])==null?void 0x0:_0xac012d[_0x33c580(0x194)]));}['_registerRenderDependencies'](){const _0x29fab3=_0x3a408b;this[_0x29fab3(0xe1)](this['_renderManagerService'][_0x29fab3(0x10a)](_0x28af3d['UNIVER_DOC'],[Pe])),this[_0x29fab3(0xe1)](this['_renderManagerService'][_0x29fab3(0x10a)](_0x28af3d[_0x29fab3(0x23d)],[Le]));}[_0x3a408b(0x1b5)](){const _0x163e58=_0x3a408b;_0x2e32bf(this[_0x163e58(0xd9)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x3a408b(0xb6),gn),Ae=Sn([_0x39a274(_0x24a9f5),Oe(0x1,_0x170543),Oe(0x2,_0x17a839(_0x171dd8)),Oe(0x3,_0x578670)],Ae);var In=Object[_0x3a408b(0x179)],vn=(_0x138b0c,_0x5cf61e,_0x40b338,_0x4d9693)=>{const _0x24a8fd=_0x3a408b;for(var _0x3daa9b=_0x4d9693>0x1?void 0x0:_0x4d9693?In(_0x5cf61e,_0x40b338):_0x5cf61e,_0x4a87d9=_0x138b0c[_0x24a8fd(0x14e)]-0x1,_0x8a75ec;_0x4a87d9>=0x0;_0x4a87d9--)(_0x8a75ec=_0x138b0c[_0x4a87d9])&&(_0x3daa9b=_0x8a75ec(_0x3daa9b)||_0x3daa9b);return _0x3daa9b;},K=(_0x2ea413,_0xeb41d2)=>(_0x446c39,_0x2803ff)=>_0xeb41d2(_0x446c39,_0x2803ff,_0x2ea413);let st=class extends _0x39e4e0{constructor(_0x39039f,_0x5259de,_0x25a9c2,_0x4f2cbe,_0x36b72d){super(_0x39039f,_0x5259de,_0x25a9c2,_0x4f2cbe,_0x36b72d);}async[_0x3a408b(0xd5)](_0x41ddc6){const _0x6203ed=_0x3a408b,_0x24963a=await this['_getSessionTicket'](),_0x5e3656=this[_0x6203ed(0xeb)](_0x41ddc6,_0x24963a);return this[_0x6203ed(0x1a9)](_0x5e3656);}[_0x3a408b(0xeb)](_0x1135da,_0x17f921){const _0x36a467=_0x3a408b,_0x2ec217=typeof window>'u'?new URL(_0x1135da):new URL(_0x1135da,window[_0x36a467(0x25a)][_0x36a467(0x1f4)]);_0x2ec217[_0x36a467(0x1ba)][_0x36a467(0x228)]('sessionTicket',_0x17f921);const _0x7488c4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x36a467(0x187)]);return _0x7488c4[_0x36a467(0x25c)](_0x36a467(0x171))&&_0x2ec217[_0x36a467(0x1ba)][_0x36a467(0x228)](_0x36a467(0x171),_0x7488c4[_0x36a467(0x25c)](_0x36a467(0x171))),_0x2ec217['toString']();}async[_0x3a408b(0x1ad)](){const _0x33ce27=_0x3a408b;var _0x11e4fb,_0x5b1885,_0x1195fa;const _0x4d1486=this[_0x33ce27(0x91)]['getConfig'](_0x2fbcf1),_0x1f391d=(_0x11e4fb=_0x4d1486==null?void 0x0:_0x4d1486['wsSessionTicketUrl'])!=null?_0x11e4fb:_0x49b757;return(_0x1195fa=(_0x5b1885=(await this['_httpService'][_0x33ce27(0x25c)](_0x1f391d,{'headers':{'Content-Type':_0x33ce27(0x93)}}))['body'])==null?void 0x0:_0x5b1885['ticket'])!=null?_0x1195fa:'';}};st=vn([K(0x0,_0x17a839(_0x171dd8)),K(0x1,_0x17a839(_0x251afd)),K(0x2,_0x578670),K(0x3,_0x3d7217),K(0x4,_0x32b58d)],st);const it=0x7530,nt=_0x3a408b(0x18d);function _0x362e(){const _0xd5d396=['selection','_startSheetCollabCursor','collaboration.closeRoom','url(#on-line-single_clip0_910_349)','_initDependencies','_getSaveTimeout','off-line-single_clip0_910_343','_hideTimer','_httpService','searchParams','collabStatus.fetchMiss','NO_OTHER_CLIENTS_EDITING','_messageService','href','urlChange$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','idSuffix','NOT_COLLAB','WECHAT_HAS_BEEN_BOUND','M0\x200H16V16H0z','USER_NOT_INVITED_CODE','has','propertyIsEnumerable','PENDING','OFFLINE','getCurrentUnitForType','JOIN_ROOM_FAILED','symbol','off-line-single','save','INVITE_CODE_ALREADY_BOUND','clipPath','YUUMI_NO_CUBOID_FOR_QUESTION','_docTransformSelectionsService','imageSourceType','icon','_labelPosition','reconnect','key','executeCommand','transformByState','beginPath','xlink:href','_unitStatus','_docClipboardService','findNodePositionByCharIndex','_scene','deepClone','_univerInstanceService','_transformHistoryAndStateStack','height','_collaborationController','skeleton','delete','_scheduleHeartbeat','executionId','_themeService','sheetID','setConfig','InsertRowCommandId','_toggleOffline','collaboration-client-ui.config','getActiveRange','attrs','_getSheetObject','name','top','origin','ranges','LOGIN_FAILED','editingUnit','UNIVER_DOC','setAlpha','_cachedData','displayName','_collabCursorController','OTHER_CLIENTS_EDITING','APPLY_REJECT','_scheduleClearOtherTimer','_heartbeatTimer','replace','_drawAnchor','Warning','pipe','parse','transformMutation','_docStateChangeManagerService','DeleteRangeMoveUpCommandId','_getMergeRange','find','enableLocalCache','LICENSE_EXPORT_SIZE_EXCEEDED','prototype','none','sheetId','_initEvent','2703130tSKfFn','event$','transformMutationsWithChangeset','getSheetId','all','MoveRangeCommandId','color','column','session.collaboration-timeout','asObservable','collab-rect-range-','_hover','getSheetBySheetId','getCellPositionByOffset','YUUMI_SUBSCRIPTION_NOT_FOUND','_onCursorDelete','_docSyncEditingCollabCursorService','APPLY_PERMISSION_DENIED','dispose$','loadUnit','push','cursorInfo','onCommandExecuted','set','replaceState','mutations','_drawRectRange','round','isEditing','fill','_lastPointer','toRgbString','transformSelections','roomMembers$','gold400','_removeClearOtherTimer','_hovered','getFocusedUnit','getVpScrollXYInfoByPosToVp','permission.content','transformIMECache','clearTimeout','_initStatusListener','UNDEFINED','UNIVER_SHEET','_revisionService','_context','post','_ensureSubject','ONLINE','min','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','assign','onLocalMutation','transformStateCache','UNAUTHENTICATED','_color','_dataLoaderService','SOCKET_FAILED','colorChannel1','FromArray','disableLocalCache','send','getConfig','onMouseMove','collaboration.single-unit.warning','session.connection-failed','jiqing500','_init','_docTransformStateCacheService','_instanceService','eventID','saveOfflineData','location','_cursor','get','_setupSubUnitSync','INTERNAL_ERROR','m1Prime','getParam','status$','1396592ywYftq','_entityInit$','univerjs-icon\x20univerjs-icon-','_memberService','_logService','m2Prime','show','collaboration-client.offline-data-not-saved','_backgroundColor','YUUMI_ASYNCIO_CANCELLED','source','_entities','svg','VIEW_MAIN','getStateCache','111660BFRCCA','addObject','_collaborationUIEventService','redoState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','params','div','INVALID_INVITE_CODE','_name','getTypeOfUnitDisposed$','_updateCollabCursors','_shapes','clearInterval','unshift','requireSession','data','body','then','dispose','_configService','addEventListener','application/json','YUUMI_TABLE_NOT_FOUND_IN_UNIT','random','collabStatus.offline','entityInit$','_document','_handleHeartbeatEvent','from','SOCKET_FAILED_RETRY','Error','_notificationService','univer-flex\x20univer-mr-2\x20univer-text-[20px]','triggerDblclick','evenodd','INVITE_CODE_REQUIRED','removeParam','url(#$1','startColumn','unitID','_roomMembers$','getUndoRedoMutationParamsCache','UniverIcon','_onCursorUpdate','function','COMPLETION_FINISHED','_updateLocalCursor','subunit','subscribe','AWAITING_WITH_PENDING','replaceDocRanges','memberID','size','black','collabCursorState$','_colorAssignService','pluginName','_transformService','getActiveSheet','_syncEditingCollabCursorService','_localeService','addClipboardHook','_sheetSkeletonManagerService','values','forEach','_selfUnitIDs','SUBMIT_CHANGESET_TIMEOUT','defs','_localStorageService','fillStyle','current','CONFLICT','getAncestorScale','RECT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','PERMISSION_DENIED','_onRefRangeChange','getMergeData','path','/run/','roomMembers','1em','_anchor','init','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','verdancy600','_anchorDot','createSocket','defIds','[CollaborationDataLoaderController]','#FFF','_injector','_send','_assignedColors','1577402XctVFP','moveTo','map','syncEditingCollabCursor','call','disposeWithMe','_cursors','makeDirty','_urlService','unsubscribe','_collabSessionService','currentColor','YUUMI_URL_COL_OUT_OF_RANGE','activeSheet$','YUUMI_ALL_TABLES_IS_INVALID','_createSocketURL','_handleLeaveEvent','YUUMI_UNABLE_LOAD_URL','hasOwnProperty','split','4924452qlMbzQ','36VwSguK','_updateSubUnitFromURLParams','history','_status$','getCollabEntity$','_textBubble','getMember','SNAPSHOT_INVALID_SNAPSHOT','session.will-retry','UNRECOGNIZED','YUUMI_AI_RUN_FAILED','children','row','currentSkeleton$','_unitOnClients','_session','bottom','isArray','_setupBeforeClosingHandler','4023278mApbze','onRendered','indexOf','_range','collab-text-range-','_collabCursorState$','registerRenderModule','_getScale','univer-text-green-500','_disabled','getDocRanges','on-line-single_clip0_910_349','SYNCED','docStateChange$','complete','SNAPSHOT_HAS_BEEN_REMOVED','translate(.97)','doc.mutation.rich-text-editing','subUnitId','_commandService','_getAnchorBounding','string','unitId','trim','collabStatus.notCollab','lineTo','_handleHover','_removeCollabCursors','range','currentTheme$','...','transform','with','red300','getSkeleton','subscribeEvent','drawWith','closePath','APPLY_REVISION_CONFILICT','MOBILE_HAS_BEEN_BOUND','_docTransformIMECacheService','LICENSE_DISTRO_REJECTED','_cursorShapes','_docSkeletonManagerService','exhaustSavingTask','labelPosition','isActive','getMemberID','saveImage','APPLY_NON_SEQUENTIAL_REVISION','FETCH_MISS','createInstance','getCollabCursors$','_saveCache','getCurrentRevOfUnit','getUniverSheetInstance','className','0\x200\x2017\x2016','purple300','selections','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','defineProperty','TOO_MANY_REQUESTS','0\x200\x2016\x2016','OnLineSingle','_online','_colorIndex','saveTaskMap','onTransformChange$','setParam','TEXT','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getViewport','_handleEvent','length','_renderManagerService','width','add','unit','setShapeProps','_refRangeService','USERS_LEAVE','tag','hide','UPDATE_CURSOR','rgba(255,\x20255,\x20255,\x200.01)','flatMap','onPointerEnter$','PY_RUNTIME_SCRIPT_ERROR','_handleJoinEvent','whenReady','actions','Failed','apply','arc','_beforeCloseService','_saveTaskMap','ENSURE_SNAPSHOT_EXECUTION','registerRefRange','INVITE_CODE_HAS_BEEN_UES','#fff','assignAColorForMemberID','restore','CHANGESET_REVISION_CONFILICT','_id','setUndoRedoMutationParamsCache','type','blue400','RemoveRowCommandId','runId','getValue','_eventUnsubscribe','generateRandomId','_updateURLWithCurrentState','setItem','LICENSE_MAX_UNITS_EXCEEDED','_transformPreviousActiveRange','getOwnPropertyDescriptor','onPointerLeave$','popstate','OffLineSingle','setActiveRange','result','_uiPartsService','extend','_clearOtherTimers','getTypeOfUnitAdded$','RemoveColCommandId','concat','_startDocCollabCursor','startsWith','search','stringify','invokeId','getRenderById','on-line-single','3525848ORxHDb','ACTIVE_UNIT_EVENT_CHANNEL','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','_toggleOnline','toString','_initEntityListener','error','_draw','override','_scheduleSaving','_initResize','cursorInfo$','hovered','backgroundColor','focused$','135wnVAxV','fillText','_initCommandExecutedListener','getUnitId','some','textRanges','_render','registerBeforeClose','undoState','storage','pushState','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','measureText','getRangePointData','_doCreateSocket','next','text','mask','_getSessionTicket','transformRemoteChangeset','sessionStatus$','_cursorInfo$'];_0x362e=function(){return _0xd5d396;};return _0x362e();}class jn extends _0x31f336{constructor(){const _0x5c369f=_0x3a408b;super(),_(this,_0x5c369f(0x16c),_0x1437c2()),_(this,_0x5c369f(0xbf),new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x5c369f(0x181),new Map()),_(this,_0x5c369f(0x1dc),new Map()),this[_0x5c369f(0x255)]();}[_0x3a408b(0x90)](){const _0x551225=_0x3a408b;super['dispose'](),this[_0x551225(0x181)][_0x551225(0xbe)]((_0x4b7fec,_0x2103f8)=>this[_0x551225(0x234)](_0x2103f8)),this[_0x551225(0x200)]&&window['clearInterval'](this[_0x551225(0x200)]);}['getUnitStatus$'](_0x4659cf){const _0x2112ba=_0x3a408b;return this[_0x2112ba(0x241)](_0x4659cf)[_0x2112ba(0x204)](_0x5c0aab());}[_0x3a408b(0x1f7)](_0x1d7864){const _0x35cbee=_0x3a408b;this[_0x35cbee(0xbf)][_0x35cbee(0xb2)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x35cbee(0x151)](_0x1d7864),this[_0x35cbee(0xda)]({'type':0x0,'memberID':this[_0x35cbee(0x16c)],'unitIDs':[_0x1d7864],'isForwarded':!0x1});}['disposeUnit'](_0x445753){const _0x8272e1=_0x3a408b;this[_0x8272e1(0xbf)][_0x8272e1(0x1e6)](_0x445753),this['_selfUnitIDs'][_0x8272e1(0xb2)]===0x0&&this[_0x8272e1(0x200)]&&window[_0x8272e1(0x8a)](this['_heartbeatTimer']);}[_0x3a408b(0x255)](){const _0x1c5c78=_0x3a408b;this['disposeWithMe'](_0x8e9af6(_0x594d1e(window,_0x1c5c78(0x1a4))['subscribe'](_0x24be90=>{const _0x3aae9f=_0x1c5c78;if(_0x24be90[_0x3aae9f(0x1d7)]!==nt||!_0x24be90['newValue'])return;const _0x46df81=JSON[_0x3aae9f(0x205)](_0x24be90['newValue']);this[_0x3aae9f(0x14d)](_0x46df81);}))),window[_0x1c5c78(0x92)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1c5c78(0x9a)](this[_0x1c5c78(0xbf)])}));}[_0x3a408b(0x14d)](_0x58a668){const _0x1edc28=_0x3a408b;switch(_0x58a668['type']){case 0x0:this[_0x1edc28(0x15d)](_0x58a668);break;case 0x1:this[_0x1edc28(0xec)](_0x58a668);break;case 0x2:this[_0x1edc28(0x99)](_0x58a668);break;}}[_0x3a408b(0x15d)](_0x4435f8){const _0x1b8e63=_0x3a408b,{unitIDs:_0x229404,memberID:_0xb65430,isForwarded:_0x5af1d2}=_0x4435f8;_0x229404[_0x1b8e63(0xbe)](_0x3fb109=>{const _0x2d8a4b=_0x1b8e63;if(!_0x5af1d2&&this['_unitOnClients'][_0x2d8a4b(0x1c6)](_0x3fb109)&&this[_0x2d8a4b(0x241)](_0x3fb109)['next'](_0x529c6d[_0x2d8a4b(0x1fd)]),!this[_0x2d8a4b(0xff)][_0x2d8a4b(0x1c6)](_0x3fb109)||!this['_unitOnClients'][_0x2d8a4b(0x25c)](_0x3fb109)[_0x2d8a4b(0x1c6)](_0xb65430)){const _0x2ea79f=this['_unitOnClients'][_0x2d8a4b(0x25c)](_0x3fb109)||new Set();_0x2ea79f[_0x2d8a4b(0x151)](_0xb65430),this[_0x2d8a4b(0xff)]['set'](_0x3fb109,_0x2ea79f),this[_0x2d8a4b(0x1ff)](_0xb65430);}}),_0x5af1d2||this['_send']({'type':0x0,'memberID':this[_0x1b8e63(0x16c)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3a408b(0x1ff)](_0x15cd19){const _0x16b297=_0x3a408b;this[_0x16b297(0x234)](_0x15cd19);const _0x4ca7bd=window['setTimeout'](()=>{const _0x7b1244=_0x16b297;this[_0x7b1244(0xff)][_0x7b1244(0xbe)](_0x273c47=>{const _0x43d90d=_0x7b1244;_0x273c47[_0x43d90d(0x1e6)](_0x15cd19);});},it*0x2);this[_0x16b297(0x181)][_0x16b297(0x228)](_0x15cd19,_0x4ca7bd);}[_0x3a408b(0x234)](_0x66e09f){const _0x4f7da5=_0x3a408b;if(this[_0x4f7da5(0x181)][_0x4f7da5(0x1c6)](_0x66e09f)){const _0x403ad1=this[_0x4f7da5(0x181)][_0x4f7da5(0x25c)](_0x66e09f);_0x403ad1&&window[_0x4f7da5(0x23a)](_0x403ad1),this[_0x4f7da5(0x181)][_0x4f7da5(0x228)](_0x66e09f,null);}}[_0x3a408b(0xec)](_0x25c85b){const _0x336e16=_0x3a408b,{memberID:_0x2de263,unitIDs:_0x380888}=_0x25c85b;_0x380888[_0x336e16(0xbe)](_0x16d1f8=>{const _0x314406=_0x336e16;var _0x42f8a8;const _0x9f65dd=this[_0x314406(0xff)][_0x314406(0x25c)](_0x16d1f8);_0x9f65dd&&(_0x9f65dd[_0x314406(0x1e6)](_0x2de263),(_0x42f8a8=this['_ensureSubject'](_0x16d1f8))==null||_0x42f8a8[_0x314406(0x1aa)](_0x9f65dd[_0x314406(0xb2)]===0x0?_0x529c6d['NO_OTHER_CLIENTS_EDITING']:_0x529c6d[_0x314406(0x1fd)]));}),this[_0x336e16(0x234)](_0x2de263);}[_0x3a408b(0x99)](_0x1303a9){const _0x510ed5=_0x3a408b;this[_0x510ed5(0x1ff)](_0x1303a9[_0x510ed5(0xb1)]);}[_0x3a408b(0xda)](_0x171baf){const _0x597d2b=_0x3a408b;localStorage[_0x597d2b(0x176)](nt,JSON[_0x597d2b(0x188)](_0x171baf));}[_0x3a408b(0x1e7)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0xcaddc=_0x1625;this[_0xcaddc(0xda)]({'type':0x2,'memberID':this[_0xcaddc(0x16c)]});},it);}[_0x3a408b(0x241)](_0x52680f){const _0x5cbf6a=_0x3a408b;return this['_unitStatus'][_0x5cbf6a(0x1c6)](_0x52680f)||this[_0x5cbf6a(0x1dc)]['set'](_0x52680f,new _0x51d94a(_0x529c6d[_0x5cbf6a(0x1bc)])),this[_0x5cbf6a(0x1dc)][_0x5cbf6a(0x25c)](_0x52680f);}}var Mt=(_0x20beb9=>(_0x20beb9[_0x20beb9[_0x3a408b(0x23c)]=0x0]=_0x3a408b(0x23c),_0x20beb9[_0x20beb9['OK']=0x1]='OK',_0x20beb9[_0x20beb9[_0x3a408b(0x25e)]=0x2]='INTERNAL_ERROR',_0x20beb9[_0x20beb9[_0x3a408b(0xc9)]=0x3]=_0x3a408b(0xc9),_0x20beb9[_0x20beb9['NOT_FOUND']=0x4]='NOT_FOUND',_0x20beb9[_0x20beb9[_0x3a408b(0x248)]=0x5]=_0x3a408b(0x248),_0x20beb9[_0x20beb9['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x20beb9[_0x20beb9['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x20beb9[_0x20beb9['TOO_MANY_REQUESTS']=0x8]=_0x3a408b(0x142),_0x20beb9[_0x20beb9[_0x3a408b(0xab)]=0x9]=_0x3a408b(0xab),_0x20beb9[_0x20beb9[_0x3a408b(0x1f6)]=0xa]=_0x3a408b(0x1f6),_0x20beb9[_0x20beb9[_0x3a408b(0x16b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x20beb9[_0x20beb9[_0x3a408b(0xf8)]=0x1771]=_0x3a408b(0xf8),_0x20beb9[_0x20beb9[_0x3a408b(0x113)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x20beb9[_0x20beb9[_0x3a408b(0x165)]=0x1773]=_0x3a408b(0x165),_0x20beb9[_0x20beb9[_0x3a408b(0x1fe)]=0x1b59]='APPLY_REJECT',_0x20beb9[_0x20beb9[_0x3a408b(0x135)]=0x1b5a]=_0x3a408b(0x135),_0x20beb9[_0x20beb9[_0x3a408b(0x12a)]=0x1b5b]=_0x3a408b(0x12a),_0x20beb9[_0x20beb9['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3a408b(0x222),_0x20beb9[_0x20beb9['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x20beb9[_0x20beb9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x20beb9[_0x20beb9[_0x3a408b(0x177)]=0x2329]=_0x3a408b(0x177),_0x20beb9[_0x20beb9[_0x3a408b(0x82)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x20beb9[_0x20beb9['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x20beb9[_0x20beb9[_0x3a408b(0x20c)]=0x232c]=_0x3a408b(0x20c),_0x20beb9[_0x20beb9[_0x3a408b(0x12d)]=0x232d]=_0x3a408b(0x12d),_0x20beb9[_0x20beb9[_0x3a408b(0xed)]=0x2711]=_0x3a408b(0xed),_0x20beb9[_0x20beb9[_0x3a408b(0xe8)]=0x2712]=_0x3a408b(0xe8),_0x20beb9[_0x20beb9['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x20beb9[_0x20beb9[_0x3a408b(0x21f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x20beb9[_0x20beb9[_0x3a408b(0x1d1)]=0x271a]=_0x3a408b(0x1d1),_0x20beb9[_0x20beb9[_0x3a408b(0x26b)]=0x271b]=_0x3a408b(0x26b),_0x20beb9[_0x20beb9[_0x3a408b(0x94)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x20beb9[_0x20beb9[_0x3a408b(0xea)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x20beb9[_0x20beb9[_0x3a408b(0xd2)]=0x271e]=_0x3a408b(0xd2),_0x20beb9[_0x20beb9[_0x3a408b(0xfb)]=0x271f]=_0x3a408b(0xfb),_0x20beb9[_0x20beb9[_0x3a408b(0x15c)]=0x2af9]=_0x3a408b(0x15c),_0x20beb9[_0x20beb9[_0x3a408b(0x167)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x20beb9[_0x20beb9[_0x3a408b(0x85)]=0x2ee2]=_0x3a408b(0x85),_0x20beb9[_0x20beb9['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3a408b(0xa1),_0x20beb9[_0x20beb9[_0x3a408b(0x1c5)]=0x2ee4]=_0x3a408b(0x1c5),_0x20beb9[_0x20beb9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3a408b(0x1cf),_0x20beb9[_0x20beb9[_0x3a408b(0x1c3)]=0x32c9]=_0x3a408b(0x1c3),_0x20beb9[_0x20beb9['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3a408b(0x12b),_0x20beb9[_0x20beb9['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x20beb9[_0x20beb9[_0x3a408b(0xfa)]=-0x1]=_0x3a408b(0xfa),_0x20beb9))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x16ed4e,_0x2d30e5,_0x384319,_0x40e3f7)=>{for(var _0x432852=_0x40e3f7>0x1?void 0x0:_0x40e3f7?pn(_0x2d30e5,_0x384319):_0x2d30e5,_0x21c06d=_0x16ed4e['length']-0x1,_0x13b0a3;_0x21c06d>=0x0;_0x21c06d--)(_0x13b0a3=_0x16ed4e[_0x21c06d])&&(_0x432852=_0x13b0a3(_0x432852)||_0x432852);return _0x432852;},be=(_0x47defb,_0x23b5cb)=>(_0x108e97,_0x5c81a7)=>_0x23b5cb(_0x108e97,_0x5c81a7,_0x47defb);let rt=class extends _0x31f336{constructor(_0x23d753,_0x23aad8,_0x3d72bd){const _0x5b8cfc=_0x3a408b;super(),this[_0x5b8cfc(0x257)]=_0x23d753,this[_0x5b8cfc(0x1b9)]=_0x23aad8,this[_0x5b8cfc(0x91)]=_0x3d72bd;}async['runOnServer'](_0x29b27c,_0x33232b,_0x5a21e9,..._0x3390eb){const _0x529307=_0x3a408b;var _0x444efe,_0x266913,_0x3c7745,_0x2dc235;const _0x57fc06=this[_0x529307(0x257)]['getFocusedUnit']();if(!_0x57fc06)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x39665f=((_0x444efe=this[_0x529307(0x91)][_0x529307(0x250)](_0x302758))!=null?_0x444efe:_0x215367)+'/'+_0x29b27c+_0x529307(0xcd)+_0x33232b,_0x415626=new URL(window[_0x529307(0x25a)][_0x529307(0x1be)]),_0x220080={'scriptId':_0x29b27c,'runId':(_0x266913=_0x415626['searchParams'][_0x529307(0x25c)](_0x529307(0x171)))!=null?_0x266913:'','function':_0x33232b,'unitId':_0x57fc06[_0x529307(0x19e)](),'argsOfFunction':JSON[_0x529307(0x188)](_0x3390eb),'invokeId':(_0x3c7745=_0x5a21e9[_0x529307(0x189)])!=null?_0x3c7745:'','executionId':(_0x2dc235=_0x5a21e9[_0x529307(0x1e8)])!=null?_0x2dc235:''};try{const _0x4703c9=await this['_httpService'][_0x529307(0x240)](_0x39665f,{'body':_0x220080});return _0x4703c9['body'][_0x529307(0x192)]&&_0x4703c9[_0x529307(0x8e)][_0x529307(0x192)]['code']!==Mt['OK']?_0x529307(0x160):_0x4703c9[_0x529307(0x8e)][_0x529307(0x17e)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0xbc56cb),be(0x1,_0x17a839(_0x251afd)),be(0x2,_0x578670)],rt);function _0x1625(_0x33cab2,_0x330d64){const _0x362ed2=_0x362e();return _0x1625=function(_0x16258f,_0x519fa0){_0x16258f=_0x16258f-0x7e;let _0xd7d271=_0x362ed2[_0x16258f];return _0xd7d271;},_0x1625(_0x33cab2,_0x330d64);}export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2de602=_0x3856;(function(_0x470fe4,_0x3829a8){const _0x2b406c=_0x3856,_0x973e00=_0x470fe4();while(!![]){try{const _0x297a73=parseInt(_0x2b406c(0x16d))/0x1+parseInt(_0x2b406c(0x174))/0x2+parseInt(_0x2b406c(0x170))/0x3+-parseInt(_0x2b406c(0x16b))/0x4*(-parseInt(_0x2b406c(0x16a))/0x5)+-parseInt(_0x2b406c(0x17c))/0x6*(-parseInt(_0x2b406c(0x173))/0x7)+-parseInt(_0x2b406c(0x175))/0x8*(parseInt(_0x2b406c(0x171))/0x9)+-parseInt(_0x2b406c(0x178))/0xa*(parseInt(_0x2b406c(0x17b))/0xb);if(_0x297a73===_0x3829a8)break;else _0x973e00['push'](_0x973e00['shift']());}catch(_0x1eeb93){_0x973e00['push'](_0x973e00['shift']());}}}(_0x3ce0,0xedb14));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x2de602(0x17a),'conflict':'Edit\x20conflicts','notCollab':_0x2de602(0x168),'synced':_0x2de602(0x16e),'syncing':'Syncing...','offline':_0x2de602(0x167)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x2de602(0x169),'collaboration-timeout':_0x2de602(0x179)},'conflict':{'title':_0x2de602(0x177),'content':_0x2de602(0x176)},'permission':{'title':_0x2de602(0x165),'content':_0x2de602(0x166)},'collaboration':{'single-unit':{'warning':_0x2de602(0x16c)},'closeRoom':_0x2de602(0x172)},'auth':{'needGotoLoginAlert':_0x2de602(0x16f)}};export{e as default};function _0x3856(_0x217150,_0x48095a){const _0x3ce0c4=_0x3ce0();return _0x3856=function(_0x3856a8,_0x3e0e86){_0x3856a8=_0x3856a8-0x165;let _0x2bb4ca=_0x3ce0c4[_0x3856a8];return _0x2bb4ca;},_0x3856(_0x217150,_0x48095a);}function _0x3ce0(){const _0x5f5778=['2405228jMXnin','30312hYVbgQ','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.','Collaboration\x20Conflict','710PUiVtz','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','784751MouzyZ','6ocdTci','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Local\x20file','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','3166890zfEHrd','8ArDCul','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','871174auMJEF','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3427356EfqhNu','54apCloB','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','11049759wlPLdP'];_0x3ce0=function(){return _0x5f5778;};return _0x3ce0();}
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5600(_0x897de4,_0x3e65c2){const _0x5207fe=_0x5207();return _0x5600=function(_0x56000c,_0x7e754b){_0x56000c=_0x56000c-0x13a;let _0x2096e0=_0x5207fe[_0x56000c];return _0x2096e0;},_0x5600(_0x897de4,_0x3e65c2);}const _0x46e5e9=_0x5600;(function(_0x231845,_0x5f06fe){const _0x5bf764=_0x5600,_0x2c78b3=_0x231845();while(!![]){try{const _0x1ab9ac=parseInt(_0x5bf764(0x149))/0x1+-parseInt(_0x5bf764(0x13c))/0x2*(parseInt(_0x5bf764(0x150))/0x3)+-parseInt(_0x5bf764(0x143))/0x4+-parseInt(_0x5bf764(0x14b))/0x5+parseInt(_0x5bf764(0x14f))/0x6*(parseInt(_0x5bf764(0x152))/0x7)+-parseInt(_0x5bf764(0x14a))/0x8+parseInt(_0x5bf764(0x151))/0x9;if(_0x1ab9ac===_0x5f06fe)break;else _0x2c78b3['push'](_0x2c78b3['shift']());}catch(_0x525543){_0x2c78b3['push'](_0x2c78b3['shift']());}}}(_0x5207,0x8d15f));const o={'collab-client':{'tooltip':{'reconnect':_0x46e5e9(0x13f)}},'collabStatus':{'fetchMiss':_0x46e5e9(0x146),'conflict':_0x46e5e9(0x147),'notCollab':_0x46e5e9(0x142),'synced':_0x46e5e9(0x13e),'syncing':_0x46e5e9(0x13a),'offline':_0x46e5e9(0x145)},'session':{'connection-failed':_0x46e5e9(0x140),'will-retry':_0x46e5e9(0x144),'room-full':_0x46e5e9(0x13b),'collaboration-timeout':_0x46e5e9(0x14d)},'conflict':{'title':_0x46e5e9(0x148),'content':_0x46e5e9(0x141)},'permission':{'title':_0x46e5e9(0x14c),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x46e5e9(0x13d)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x46e5e9(0x14e)}};export{o as default};function _0x5207(){const _0x5104ae=['11766942VaPgJO','7AeJAYS','در\x20حال\x20همگام\x20سازی...','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','572444vFZRAE','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','همگام\x20سازی','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','پرونده\x20محلی','1266528iWYewj','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','تداخل\x20ویرایش','تداخل\x20همکاری','442906ezBsbA','1031352cOpUoE','3621185KZVDYE','خطای\x20اعتبارسنجی','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','5135982XaLuSp','9BFeVBN'];_0x5207=function(){return _0x5104ae;};return _0x5207();}
|