@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505271607 → 0.8.0-nightly.202505291607
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 +18 -18
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x193aec=_0x5946;(function(_0x192de5,_0x5c7f7a){const _0x8fe46e=_0x5946,_0x4ada0f=_0x192de5();while(!![]){try{const _0x52c82f=-parseInt(_0x8fe46e(0x2fd))/0x1*(-parseInt(_0x8fe46e(0x2b0))/0x2)+-parseInt(_0x8fe46e(0x2e0))/0x3*(-parseInt(_0x8fe46e(0x12f))/0x4)+-parseInt(_0x8fe46e(0x1fd))/0x5+parseInt(_0x8fe46e(0x1ed))/0x6+parseInt(_0x8fe46e(0x1a1))/0x7+-parseInt(_0x8fe46e(0x27c))/0x8+-parseInt(_0x8fe46e(0x22b))/0x9*(parseInt(_0x8fe46e(0x283))/0xa);if(_0x52c82f===_0x5c7f7a)break;else _0x4ada0f['push'](_0x4ada0f['shift']());}catch(_0x350cf0){_0x4ada0f['push'](_0x4ada0f['shift']());}}}(_0x3b27,0x405ad));var $t=Object['defineProperty'],xt=(_0x4c6fc7,_0x149d5a,_0x4ebfa3)=>_0x149d5a in _0x4c6fc7?$t(_0x4c6fc7,_0x149d5a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ebfa3}):_0x4c6fc7[_0x149d5a]=_0x4ebfa3,_=(_0xfd0d4e,_0x377ddf,_0x137177)=>xt(_0xfd0d4e,typeof _0x377ddf!=_0x193aec(0x217)?_0x377ddf+'':_0x377ddf,_0x137177);import{MemberService as _0x2ef6e3,SessionStatus as _0x545f32,CollaborationSessionService as _0x307ffe,CollaborationStatus as _0x4edef0,CollaborationController as _0x4a6d42,ILocalCacheService as _0x20b832,CollaborationUIEventService as _0x3daf9a,CollaborationUIEventId as _0x461039,DataLoaderService as _0x5a2d1e,DocCollaborationEntity as _0x3baafc,getLocalCacheKey as _0x221573,LOCAL_CACHE_INTERVAL as _0x494d26,LOCAL_CACHE_INTERVAL_KEY as _0x2cf44f,UniverCollaborationClientPlugin as _0x3c2564,CollaborationSocketService as _0x464948,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4f03a5,DEFAULT_WS_SESSION_TICKET_URL as _0x130e45,UnitStatus as _0x25bd48,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4a1ddb,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2bbba8}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x16f661,Disposable as _0xbd216d,DOC_RANGE_TYPE as _0x343d66,Inject as _0x5562e7,Injector as _0x5d7665,IUniverInstanceService as _0x14a725,ICommandService as _0x4f1fe2,debounce as _0xbcfd96,Rectangle as _0x1a585b,DisposableCollection as _0x35a3fc,toDisposable as _0x37fdfd,UniverInstanceType as _0x32a01e,Tools as _0x3929d5,COLORS as _0x49e583,ColorKit as _0x17c4c3,ThemeService as _0x2a18b1,fromEventSubject as _0x559980,LocaleService as _0x57d907,createIdentifier as _0x1540fc,ILogService as _0x3bb28b,Optional as _0x3c3154,Workbook as _0x1ec27e,CommandType as _0x5af747,IConfigService as _0x42dae1,ILocalStorageService as _0x33a67a,DependentOn as _0x2d8f64,Plugin as _0x25c120,merge as _0x14593e,registerDependencies as _0x2136db,mergeOverrideWithDependencies as _0x427a80,touchDependencies as _0x244f3c,generateRandomId as _0x163e40}from'@univerjs/core';import{Shape as _0x3319af,Rect as _0x4c1fcc,getColor as _0x4f4df7,RegularPolygon as _0x3641ed,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x10f7a0,Vector2 as _0x25c94b,SHEET_VIEWPORT_KEY as _0x21c299,IRenderManagerService as _0xd66e10}from'@univerjs/engine-render';import{ISocketService as _0x2c59ad,WebSocketService as _0x55b5b3,HTTPService as _0x809f14}from'@univerjs/network';import{IDocClipboardService as _0x2efc1b,NodePositionConvertToCursor as _0x2e5d46,NodePositionConvertToRectRange as _0x302090,TEXT_RANGE_LAYER_INDEX as _0x11fdc1,SetDocZoomRatioOperation as _0x2ff919,DocIMEInputManagerService as _0x122a14,DocStateChangeManagerService as _0x712931}from'@univerjs/docs-ui';import{IImageIoService as _0x2ad476}from'@univerjs/drawing';import{BehaviorSubject as _0x1c6c20,debounceTime as _0x4ba34f,takeUntil as _0x4f9556,Subject as _0x316686,filter as _0x2d3d10,switchMap as _0x443430,merge as _0x111dc5,combineLatest as _0x575ac7,of as _0x42a69d,fromEvent as _0x5f0e58,shareReplay as _0x268732,mapTo as _0x419935,distinctUntilChanged as _0x5409e4}from'rxjs';import{SetTextSelectionsOperation as _0xcd12da,RichTextEditingMutation as _0x6d88d5,DocSelectionManagerService as _0x1d2394,DocSkeletonManagerService as _0x35adb7}from'@univerjs/docs';import{ITransformService as _0x15ff0c,CollaborationEvent as _0x2b82ba,isTransformMutationFailure as _0x2e30ea,isTransformMutationsWithChangesetSuccess as _0x18d356,RevisionService as _0x2c818f,ISnapshotServerService as _0x181e9d}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x5ba6c1,serializeRangeWithSheet as _0x1e8070}from'@univerjs/engine-formula';import{RefRangeService as _0x1d8553,SetSelectionsOperation as _0x52e0ed,SheetsSelectionsService as _0xe6be6f,EffectRefRangId as _0x4d5ea4,handleIRemoveRow as _0x1de786,handleIRemoveCol as _0x5cb3f5,handleMoveRange as _0x3bc627,handleInsertRow as _0x4f84b8,handleInsertRangeMoveRight as _0x96700b,handleInsertRangeMoveDown as _0x1986ed,handleInsertCol as _0x1bafa1,handleDeleteRangeMoveUp as _0x558440,handleDeleteRangeMoveLeft as _0x4ed1d2,runRefRangeMutations as _0x297105,SetWorksheetActivateCommand as _0x84ca92}from'@univerjs/sheets';import{map as _0x48258c,filter as _0x1eada0,throttleTime as _0x37deae,takeUntil as _0x42ff6e,switchMap as _0x176659}from'rxjs/operators';import{SheetSkeletonManagerService as _0x532ecb,getCoordByCell as _0x27b72a,getSheetObject as _0x119bd6}from'@univerjs/sheets-ui';import{jsx as _0x209764,jsxs as _0x378b6a}from'react/jsx-runtime';import{useObservable as _0x37ff18,useDependency as _0x182f0c,IUIPartsService as _0x4fbd5c,BuiltInUIPart as _0x264eb6,connectInjector as _0x400a79,IBeforeCloseService as _0xbc85b9,IMessageService as _0x421a38,INotificationService as _0x3b7e9a}from'@univerjs/ui';import{Tooltip as _0x533e88,clsx as _0x1c5511,MessageType as _0x194551}from'@univerjs/design';import{forwardRef as _0x52ec90,useRef as _0x28a951,createElement as _0x22d147,useCallback as _0x2b288f}from'react';function _0x3b27(){const _0x41307d=['InsertColCommandId','syncEditingCollabCursor','subscribeEvent','getVpScrollXYInfoByPosToVp','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','use','getUnitStatus$','searchParams','SNAPSHOT_INVALID_SNAPSHOT','pluginName','clipPath','UNDEFINED','min','defIds','setStateCache','defs','indexOf','SOCKET_FAILED_RETRY','newValue','saveOfflineData','collabCursorState$','YUUMI_NO_CUBOID_FOR_QUESTION','_range','engine','_getScale','CHANGESET_REVISION_CONFILICT','onPointerEnter$','color','YUUMI_SUBSCRIPTION_NOT_FOUND','transformIMECache','CLOSE_ROOM','0\x200\x2017\x2016','_handleHover','clearInterval','column','OTHER_CLIENT_EDITING','OnLineIcon','getColorFromTheme','doc.mutation.rich-text-editing','unsubscribe','_initStatusListener','getOwnPropertyDescriptor','_toggleOffline','getMember','_docClipboardService','has','addClipboardHook','lineTo','entries','forEach','measureText','_cachedData','_selfUnitIDs','saveTaskMap','LOGIN_FAILED','startRow','idSuffix','_initResize','memberID','pipe','_status$','_updateSubUnitFromURLParams','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','_hover','RemoveRowCommandId','origin','Failed','_name','_cursorInfo$','getAncestorScale','_handleEvent','div','[CollaborationDataLoaderController]','send','drawWith','getUnitId','4203424JzpQLW','toRgbString','docStateChange$','univerjs-icon\x20univerjs-icon-','unitID','SUBMIT_CHANGESET_TIMEOUT','propertyIsEnumerable','2090qqBTqI','startColumn','_beforeCloseService','RemoveColCommandId','NOT_COLLAB','_collabSessionService','transformSelections','Warning','transformRemoteChangeset','EMAIL_HAS_BEEN_BOUND','onTransformChange$','_handleHeartbeatEvent','fillText','search','permission.content','registerRenderModule','_getSessionTicket','mutations','M0\x200H16V16H0z','_dataLoaderService','_syncEditingCollabCursorService','m2Prime','ticket','CONNECTOR_DATA_TOO_LARGE','requireSession','/run/','status$','InsertRangeMoveDownCommandId','session.connection-failed','whenReady','UNIVER_DOC','post','attrs','textRanges','complete','translate(.97)','updateOfflineData','selection','YUUMI_URL_COL_OUT_OF_RANGE','max','permission.title','invokeId','off-line-icon_clip0_910_343','getTypeOfUnitDisposed$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','14XGCVSF','loadUnit','error','_disabled','_render','getSheetBySheetId','...','LICENSE_EXPORT_SIZE_EXCEEDED','fillStyle','collabStatus.syncing','dispose$','_logService','APPLY_NON_SEQUENTIAL_REVISION','then','substring','JOIN_ROOM_FAILED','params','setItem','generateRandomId','getCurrent','urlChange$','_registerRenderDependencies','type','isActive','next','Error','getActiveSheet','getTypeOfUnitAdded$','white','#FFF','init','undoState','call','_docTransformSelectionsService','arc','getValue','_injector','subunit','_hovered','YUUMI_TABLE_NOT_FOUND_IN_UNIT','transformMutationsWithChangeset','NO_OTHER_CLIENTS_EDITING','MOBILE_HAS_BEEN_BOUND','assign','unitId','_online','asObservable','exhaustSavingTask','49263mkfqWb','_entities','svg','save','findNodePositionByCharIndex','LICENSE_DISTRO_REJECTED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','evenodd','getRelativeToViewportCoord','createSocket','_document','http://www.w3.org/2000/svg','_colorAssignService','replaceState','unit','_cursors','_id','assignAColorForMemberID','SNAPSHOT_HAS_BEEN_REMOVED','_memberService','TOO_MANY_REQUESTS','univer-flex\x20univer-mr-2\x20univer-text-xl','code','resize','_initCommandExecutedListener','m1Prime','fillRule','getMemberID','onPointerLeave$','60611kQpvwH','endRow','1em','font','none','unshift','focused$','_httpService','size','_instanceService','_localeService','deepClone','_initDependencies','_initStatusComponent','session.will-retry','sessionTicket','_transformHistoryAndStateStack','getUnhiddenWorksheets','values','_saveTaskMap','_docTransformStateCacheService','subscribe','addHandlerCallback','labelPosition','_scheduleClearOtherTimer','Unknown\x20user','UniverIcon','currentSkeleton$','setAlpha','collaboration-client.offline-data-not-saved','_unitOnClients','_anchorDot','_transformService','url(#off-line-icon_clip0_910_343)','_getSheetObject','prototype','_localStorageService','_lastPointer','string','_uiPartsService','_toggleOnline','0\x200\x2016\x2016','bottom','HEADER_MENU','eventID','FETCH_MISS','_setupBeforeClosingHandler','startsWith','collabStatus.fetchMiss','set','APPLY_PERMISSION_DENIED','60rgenke','INVALID_INVITE_CODE','red.300','INVITE_CODE_ALREADY_BOUND','override','_registerDependencies','registerRefRange','range','reconnect','_updateCollabCursors','activeSheet$','history','univer-flex\x20univer-items-center','black','off-line-icon','_assignedColors','UPDATE_CURSOR','sheetID','_createSocketURL','_docSyncEditingCollabCursorService','roomMembers$','_renderManagerService','debug','clearTimeout','displayName','name','_roomMembers$','INVITE_CODE_HAS_BEEN_UES','_heartbeatTimer','YUUMI_UNABLE_LOAD_URL','_drawAnchor','SYNCED','_session','getFocusedUnit','jiqing.500','_getSaveTimeout','setActiveRange','CONFLICT','round','COMPLETION_FINISHED','addObjects','SOCKET_FAILED','body','UNAUTHENTICATED','getOwnPropertySymbols','_getAnchorBounding','MUTATION','_color','className','getRenderById','_shapes','executeCommand','_transformPreviousActiveRange','_themeService','registerBeforeClose','push','_onRefRangeChange','_eventUnsubscribe','map','_removeCollabCursors','collabStatus.synced','getCurrentUnitForType','top','transformMutation','_labelPosition','random','disposeWithMe','loadOfflineData','_cursor','getCollabEntity$','_doCreateSocket','trim','beginPath','_removeClearOtherTimer','_startDocCollabCursor','application/json','storage','redoState','createInstance','pushState','_handleLeaveEvent','_refRangeService','on-line-icon_clip0_910_349','replace','YUUMI_ASYNCIO_CANCELLED','function','executionId','add','_messageService','_sheetSkeletonManagerService','MoveRangeCommandId','_unitStatus','sessionStatus$','_scene','result','DeleteRangeMoveLeftCommandId','APPLY_DUPLICATED','icon','closePath','toString','url(#$1','_commandService','UNRECOGNIZED','path','TEXT','getOffsetConfig','_docSkeletonManagerService','_colorIndex','show','YUUMI_AI_RUN_FAILED','xlink:href','_imageIoService','_ensureSubject','dispose','2605582TEUrNl','collabStatus.conflict','_saveCache','InsertRowCommandId','_updateLocalCursor','getMergeData','getCellPositionByOffset','ranges','onLocalMutation','_setupSubUnitSync','getCollabCursors$','hovered','getSheetId','href','INVITE_CODE_REQUIRED','makeDirty','collaboration.closeRoom','length','INTERNAL_ERROR','_refreshCollabCursors','onStarting','session.collaboration-timeout','_config','ENSURE_SNAPSHOT_EXECUTION','setConfig','_backgroundColor','hide','triggerDblclick','APPLY_REJECT','height','_drawRectRange','_send','mask','text','_context','_onCursorDelete','_textBubble','width','cursorInfo','contains','_configService','data','actions','RECT','USERS_LEAVE','_docStateChangeManagerService','NOT_FOUND','UNIVER_SHEET','_scheduleSaving','YUUMI_RATE_OVER_LIMIT','PERMISSION_DENIED','_cursorShapes','_univerInstanceService','tag','getViewport','setParam','location','wsSessionTicketUrl','addObject','removeParam','disableLocalCache','cursorInfo$','getConfig','all','_entityInit$','getSkeleton','collaboration-client-ui.config','_clearOtherTimers','editingUnit','colorChannel1','_urlService','runId','OffLineIcon','setTimeout','endColumn','moveTo','2240148DQIwII','_getMergeRange','children','_collabCursorController','flatMap','collab-client.tooltip.reconnect','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','VIEW_MAIN','transformStateCache','collabStatus.offline','setInterval','_onCursorUpdate','_collabCursorState$','event$','_docSkeleton','_drawTextRange','2193165GzUaRZ','_hideTimer','backgroundColor','subUnitId','getParam','get','delete','collab-text-anchor-','_docTransformIMECacheService','ONLINE','getCurrentSelections','from','onCommandExecuted','popstate','isArray','onMouseMove','enableLocalCache','split','_init','WECHAT_HAS_BEEN_BOUND','currentColor','current','_anchor','_startSheetCollabCursor','_updateURLWithCurrentState','_initEvent','symbol','OFFLINE','extend','InsertRangeMoveRightCommandId','fill','LICENSE_MAX_UNITS_EXCEEDED','getDocRanges','includes','defineProperty','_scheduleHeartbeat','concat','stringify','hasOwnProperty','setShapeProps','ACTIVE_UNIT_EVENT_CHANNEL','_collaborationController','_initEntityListener','roomMembers','_transformUndoRedoStack','getItem','8118kNCvjm','getRangePointData','ALREADY_EXISTS','with','INVALID_ARGUMENT'];_0x3b27=function(){return _0x41307d;};return _0x3b27();}import{IRemoteInstanceService as _0x490b6a}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x1ae66a,_0x4e6fbc,_0x3ed74e,_0x493829)=>{for(var _0x48d9c8=_0x493829>0x1?void 0x0:_0x493829?ci(_0x4e6fbc,_0x3ed74e):_0x4e6fbc,_0x417a94=_0x1ae66a['length']-0x1,_0x768952;_0x417a94>=0x0;_0x417a94--)(_0x768952=_0x1ae66a[_0x417a94])&&(_0x48d9c8=_0x768952(_0x48d9c8)||_0x48d9c8);return _0x48d9c8;},Je=(_0x902ba9,_0x106016)=>(_0x498388,_0x237cf3)=>_0x106016(_0x498388,_0x237cf3,_0x902ba9);let Ne=class extends _0x16f661{constructor(_0x326741,_0x52d8de){const _0x53b340=_0x193aec;super(),this[_0x53b340(0x25c)]=_0x326741,this[_0x53b340(0x19e)]=_0x52d8de,this[_0x53b340(0x20f)]();}[_0x193aec(0x20f)](){const _0x590adb=_0x193aec,_0x33b5a8=this;this[_0x590adb(0x171)](this[_0x590adb(0x25c)][_0x590adb(0x25e)]({'onBeforePasteImage':async _0x4c50de=>{const _0x328bb0=_0x590adb,_0x15f16d=await _0x33b5a8[_0x328bb0(0x19e)]['saveImage'](_0x4c50de);return _0x15f16d?{'source':_0x15f16d['source'],'imageSourceType':_0x15f16d['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x2efc1b),Je(0x1,_0x2ad476)],Ne);const Ze=['purple.300',_0x193aec(0x151),'green.600',_0x193aec(0x131),'blue.400','yellow.400'];class ke extends _0xbd216d{constructor(){const _0x5e5f7b=_0x193aec;super(...arguments),_(this,_0x5e5f7b(0x13e),new Map()),_(this,_0x5e5f7b(0x19a),0x0);}[_0x193aec(0x2f1)](_0x2b6744){const _0x1baaa8=_0x193aec;if(this['_assignedColors'][_0x1baaa8(0x25d)](_0x2b6744))return this[_0x1baaa8(0x13e)][_0x1baaa8(0x202)](_0x2b6744);const _0x29597f=Ze[this['_colorIndex']];return this[_0x1baaa8(0x19a)]=(this[_0x1baaa8(0x19a)]+0x1)%Ze['length'],this[_0x1baaa8(0x13e)]['set'](_0x2b6744,_0x29597f),_0x29597f;}}function Tt(_0x773b6e){const _0x4fbb66=_0x193aec;let _0x2aef5b='';for(const _0x5c8143 of _0x773b6e){const {startOffset:_0x3c4b09,endOffset:_0x1cfc6d,isActive:_0x4a1aff,rangeType:_0x491304,segmentId:_0x57aa87,segmentPage:_0xef18cb}=_0x5c8143;_0x2aef5b[_0x4fbb66(0x1b2)]&&(_0x2aef5b+=','),_0x2aef5b+=_0x3c4b09+':'+_0x1cfc6d+':'+(_0x4a1aff?'1':'0')+':'+_0x491304+':'+_0x57aa87+':'+_0xef18cb;}return _0x2aef5b;}function _i(_0x10cee6){const _0x5dd0a7=_0x193aec,_0x2edb36=_0x10cee6[_0x5dd0a7(0x20e)](','),_0x2a0597=[];for(const _0x53bb2 of _0x2edb36){const [_0x40db4b,_0x3b08d2,_0x4ed478,_0x3358f3,_0x281229,_0x4ec999]=_0x53bb2[_0x5dd0a7(0x20e)](':');_0x2a0597['push']({'startOffset':Number(_0x40db4b),'endOffset':Number(_0x3b08d2),'collapsed':_0x40db4b===_0x3b08d2,'isActive':_0x4ed478==='1','rangeType':_0x3358f3===_0x343d66[_0x5dd0a7(0x197)]?_0x343d66['TEXT']:_0x343d66[_0x5dd0a7(0x1cc)],'segmentId':typeof _0x281229==_0x5dd0a7(0x323)?String(_0x281229):'','segmentPage':Number(_0x4ec999!=null?_0x4ec999:-0x1)});}return _0x2a0597['some'](_0x6bd9b=>_0x6bd9b[_0x5dd0a7(0x2c7)])||(_0x2a0597[0x0][_0x5dd0a7(0x2c7)]=!0x0),_0x2a0597;}class He extends _0x16f661{constructor(){const _0x3cea4d=_0x193aec;super(...arguments),_(this,_0x3cea4d(0x1f9),new _0x1c6c20(null)),_(this,_0x3cea4d(0x244),this['_collabCursorState$'][_0x3cea4d(0x2de)]());}[_0x193aec(0x231)](_0xf817a3){const _0x490857=_0x193aec,{unitID:_0x2708eb,memberID:_0x2ae1c5,textRanges:_0x54d2dc}=_0xf817a3,_0x5e9021=Tt(_0x54d2dc);if(_0x5e9021==='')return;const _0x4f9fc6={'unitID':_0x2708eb,'memberID':_0x2ae1c5,'selection':_0x5e9021};this[_0x490857(0x1f9)][_0x490857(0x2c8)](_0x4f9fc6);}}var hi=Object[_0x193aec(0x259)],ui=(_0x137ef3,_0x2ba05a,_0x3ed2ae,_0x583f4b)=>{const _0x46f447=_0x193aec;for(var _0x14bf53=_0x583f4b>0x1?void 0x0:_0x583f4b?hi(_0x2ba05a,_0x3ed2ae):_0x2ba05a,_0x4abe06=_0x137ef3[_0x46f447(0x1b2)]-0x1,_0x32b2c6;_0x4abe06>=0x0;_0x4abe06--)(_0x32b2c6=_0x137ef3[_0x4abe06])&&(_0x14bf53=_0x32b2c6(_0x14bf53)||_0x14bf53);return _0x14bf53;},P=(_0xce4eb7,_0x1b177f)=>(_0xe72ef1,_0x56d095)=>_0x1b177f(_0xe72ef1,_0x56d095,_0xce4eb7);const di=0x12c,fi=0x64;let Ue=class extends _0x16f661{constructor(_0x532715,_0x44637a,_0x3804ca,_0x1685cb,_0x5c5eae,_0x10d507,_0xd17cd0,_0x1b96b6,_0x293d48){const _0x47de8e=_0x193aec;super(),_(this,_0x47de8e(0x2dd),!0x1),_(this,_0x47de8e(0x20f),!0x1),_(this,_0x47de8e(0x274),new _0x1c6c20(new Map())),_(this,_0x47de8e(0x1de),this['_cursorInfo$'][_0x47de8e(0x2de)]()),_(this,_0x47de8e(0x149),new _0x1c6c20([])),_(this,_0x47de8e(0x143),this['_roomMembers$']['pipe'](_0x4ba34f(di))),_(this,'_updateLocalCursor',_0xbcfd96(_0x333b82=>{const _0x363bfd=_0x47de8e,_0x44abe1={'eventID':_0x2b82ba['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x363bfd(0x2fb)](),'selection':Tt(_0x333b82)}};this[_0x363bfd(0x14f)][_0x363bfd(0x279)](_0x44abe1,this[_0x363bfd(0x280)]);},fi)),(this[_0x47de8e(0x280)]=_0x532715,this['_session']=_0x44637a,this[_0x47de8e(0x2d4)]=_0x3804ca,this['_colorAssignService']=_0x1685cb,this[_0x47de8e(0x2f3)]=_0x5c5eae,this[_0x47de8e(0x297)]=_0x10d507,this[_0x47de8e(0x31d)]=_0xd17cd0,this[_0x47de8e(0x1d5)]=_0x1b96b6,this['_commandService']=_0x293d48);}get[_0x193aec(0x1c7)](){const _0x3aff24=_0x193aec;return this[_0x3aff24(0x274)][_0x3aff24(0x2d3)]();}get[_0x193aec(0x228)](){const _0x47cc3c=_0x193aec;return this[_0x47cc3c(0x149)][_0x47cc3c(0x2d3)]();}[_0x193aec(0x1a0)](){const _0x6faf24=_0x193aec;super[_0x6faf24(0x1a0)](),this[_0x6faf24(0x274)]['next'](new Map()),this[_0x6faf24(0x274)][_0x6faf24(0x2a5)](),this[_0x6faf24(0x149)][_0x6faf24(0x2c8)]([]),this[_0x6faf24(0x149)]['complete']();}[_0x193aec(0x2ce)](){const _0x4227b8=_0x193aec;this[_0x4227b8(0x20f)]||(this[_0x4227b8(0x20f)]=!0x0,this[_0x4227b8(0x14f)]['sessionStatus$'][_0x4227b8(0x26b)](_0x4f9556(this[_0x4227b8(0x2ba)]))[_0x4227b8(0x312)](_0x517c0e=>{const _0x46fc36=_0x4227b8;_0x517c0e===_0x545f32[_0x46fc36(0x206)]?this[_0x46fc36(0x124)]():this[_0x46fc36(0x25a)]();}),this[_0x4227b8(0x14f)][_0x4227b8(0x1fa)][_0x4227b8(0x26b)](_0x4f9556(this[_0x4227b8(0x2ba)]))[_0x4227b8(0x312)](_0x171422=>{const _0x2a8bd5=_0x4227b8,_0x4399d9=_0x171422[_0x2a8bd5(0x128)];_0x4399d9===_0x2b82ba[_0x2a8bd5(0x13f)]&&this['_onCursorUpdate'](_0x171422),_0x4399d9===_0x2b82ba[_0x2a8bd5(0x1cd)]&&this[_0x2a8bd5(0x1c4)](_0x171422);}),this[_0x4227b8(0x171)](this[_0x4227b8(0x194)][_0x4227b8(0x209)](_0x399180=>{const _0x3fe581=_0x4227b8,_0x264bb1=_0x399180['params'];_0x264bb1!=null&&this[_0x3fe581(0x2dd)]&&_0x399180['id']===_0xcd12da['id']&&_0x264bb1['unitId']===this[_0x3fe581(0x280)]&&_0x264bb1['isEditing']===!0x1&&_0x264bb1[_0x3fe581(0x1a8)]['length']>0x0&&this[_0x3fe581(0x1a5)](_0x264bb1[_0x3fe581(0x1a8)]);})),this[_0x4227b8(0x297)][_0x4227b8(0x244)][_0x4227b8(0x26b)](_0x4f9556(this[_0x4227b8(0x2ba)]))[_0x4227b8(0x312)](_0x62a81e=>{const _0x2bbe4a=_0x4227b8;if((_0x62a81e==null?void 0x0:_0x62a81e[_0x2bbe4a(0x280)])!==this[_0x2bbe4a(0x280)])return;const _0x465d6f={'eventID':_0x2b82ba['UPDATE_CURSOR'],'data':_0x62a81e};this[_0x2bbe4a(0x1f8)](_0x465d6f);}),this[_0x4227b8(0x171)](this['_commandService'][_0x4227b8(0x209)](_0x48a5aa=>{const _0xcfeb83=_0x4227b8;if(_0x48a5aa['params']==null)return;const _0x453f91=_0x48a5aa[_0xcfeb83(0x2c0)];if(_0x48a5aa['id']!==_0x6d88d5['id']||_0x453f91[_0xcfeb83(0x2dc)]!==this[_0xcfeb83(0x280)])return;const _0x3f3aaf={'id':_0xcfeb83(0x256),'params':_0x453f91},_0x9aca79=this[_0xcfeb83(0x1c7)];for(const [_0x10cf87,_0x4d5719]of _0x9aca79){const _0x54c2fa={'id':_0xcfeb83(0x256),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4d5719[_0xcfeb83(0x1a8)]}},_0x43cff7=this[_0xcfeb83(0x31d)]['transformMutation'](_0x3f3aaf,_0x54c2fa,!0x1);if(_0x2e30ea(_0x43cff7))throw _0x43cff7[_0xcfeb83(0x2b2)];_0x9aca79['set'](_0x10cf87,{..._0x4d5719,'ranges':_0x43cff7['m2Prime'][_0xcfeb83(0x2c0)][_0xcfeb83(0x2a4)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x9aca79);});})));}[_0x193aec(0x1f8)](_0x28af8a){const _0x1484c8=_0x193aec;var _0xb0779d,_0x43bea4;const {memberID:_0x6be5ab,selection:_0x20d91a}=_0x28af8a[_0x1484c8(0x1ca)],_0x4fbdb7=_i(_0x20d91a),_0x548774=(_0x43bea4=(_0xb0779d=this[_0x1484c8(0x2f3)]['getMember'](this['unitID'],_0x6be5ab))==null?void 0x0:_0xb0779d['name'])!=null?_0x43bea4:_0x1484c8(0x316),_0x103c06={'color':this[_0x1484c8(0x2ec)]['assignAColorForMemberID'](_0x6be5ab),'name':_0x548774,'ranges':_0x4fbdb7},_0x3c5b77=this['cursorInfo'];_0x3c5b77[_0x1484c8(0x12d)](_0x6be5ab,_0x103c06),this['_cursorInfo$']['next'](_0x3c5b77);}[_0x193aec(0x1c4)](_0x5d394f){const _0x335a08=_0x193aec,{memberID:_0x3a4b4c}=_0x5d394f[_0x335a08(0x1ca)],_0x133bd9=this[_0x335a08(0x1c7)];_0x133bd9[_0x335a08(0x203)](_0x3a4b4c),this[_0x335a08(0x274)][_0x335a08(0x2c8)](_0x133bd9);}['_toggleOnline'](){const _0x538b2b=_0x193aec;var _0x505e8a;if(this[_0x538b2b(0x2dd)]=!0x0,((_0x505e8a=this[_0x538b2b(0x1d5)]['getFocusedUnit']())==null?void 0x0:_0x505e8a[_0x538b2b(0x27b)]())!==this['unitID'])return;const _0x118428=this[_0x538b2b(0x2d4)]['get'](_0x1d2394)[_0x538b2b(0x21d)]();Array[_0x538b2b(0x20b)](_0x118428)&&_0x118428[_0x538b2b(0x1b2)]>0x0&&this[_0x538b2b(0x1a5)](_0x118428);}[_0x193aec(0x25a)](){const _0x29d4ee=_0x193aec;this[_0x29d4ee(0x2dd)]=!0x1;}};Ue=ui([P(0x2,_0x5562e7(_0x5d7665)),P(0x3,_0x5562e7(ke)),P(0x4,_0x5562e7(_0x2ef6e3)),P(0x5,_0x5562e7(He)),P(0x6,_0x15ff0c),P(0x7,_0x14a725),P(0x8,_0x4f1fe2)],Ue);var Si=Object[_0x193aec(0x259)],mi=(_0x4cd2f9,_0x146914,_0x34e64a,_0x240b2e)=>{const _0x5e89d1=_0x193aec;for(var _0xbb2a25=_0x240b2e>0x1?void 0x0:_0x240b2e?Si(_0x146914,_0x34e64a):_0x146914,_0x3c0d37=_0x4cd2f9[_0x5e89d1(0x1b2)]-0x1,_0x45b233;_0x3c0d37>=0x0;_0x3c0d37--)(_0x45b233=_0x4cd2f9[_0x3c0d37])&&(_0xbb2a25=_0x45b233(_0xbb2a25)||_0xbb2a25);return _0xbb2a25;},x=(_0x4463c1,_0x9882f8)=>(_0x8df4cd,_0x249312)=>_0x9882f8(_0x8df4cd,_0x249312,_0x4463c1);const Ii=0x12c,gi=0x64,vi=()=>{let _0x49c238=[],_0x592d68=!0x1;return _0x4c0c43=>{const _0x1b1dcd=_0x5946;_0x49c238[_0x1b1dcd(0x166)](_0x4c0c43),_0x592d68||(_0x592d68=!0x0,setTimeout(()=>{_0x49c238['forEach'](_0x4c8416=>_0x4c8416()),_0x49c238=[],_0x592d68=!0x1;}));};};let Me=class extends _0x16f661{constructor(_0x3035d3,_0x59becf,_0x43ded0,_0x2b8451,_0x2ce7d6,_0x4a728e,_0x16085c,_0x27c6af){const _0x275697=_0x193aec;super(),_(this,_0x275697(0x2dd),!0x1),_(this,_0x275697(0x20f),!0x1),_(this,'_cursorInfo$',new _0x1c6c20(new Map())),_(this,_0x275697(0x1de),this[_0x275697(0x274)][_0x275697(0x2de)]()),_(this,_0x275697(0x149),new _0x1c6c20([])),_(this,_0x275697(0x143),this['_roomMembers$'][_0x275697(0x26b)](_0x4ba34f(Ii))),_(this,_0x275697(0x1a5),_0xbcfd96((_0x1bf08a,_0x17435b)=>{const _0x2fc9d6=_0x275697,_0x7bcb2f={'eventID':_0x2b82ba[_0x2fc9d6(0x13f)],'data':{'unitID':this['unitID'],'memberID':this[_0x2fc9d6(0x14f)][_0x2fc9d6(0x2fb)](),'selection':_0x1e8070(_0x1bf08a,_0x17435b[_0x2fc9d6(0x136)])}};this[_0x2fc9d6(0x14f)][_0x2fc9d6(0x279)](_0x7bcb2f,this[_0x2fc9d6(0x280)]);},gi)),(this[_0x275697(0x280)]=_0x3035d3,this[_0x275697(0x14f)]=_0x59becf,this[_0x275697(0x2d4)]=_0x43ded0,this[_0x275697(0x2ec)]=_0x2b8451,this['_memberService']=_0x2ce7d6,this['_univerInstanceService']=_0x4a728e,this[_0x275697(0x194)]=_0x16085c,this[_0x275697(0x180)]=_0x27c6af);}get[_0x193aec(0x1c7)](){const _0x43bbd7=_0x193aec;return this[_0x43bbd7(0x274)][_0x43bbd7(0x2d3)]();}get['roomMembers'](){const _0x147243=_0x193aec;return this[_0x147243(0x149)][_0x147243(0x2d3)]();}[_0x193aec(0x1a0)](){const _0x102b07=_0x193aec;super[_0x102b07(0x1a0)](),this[_0x102b07(0x274)][_0x102b07(0x2c8)](new Map()),this[_0x102b07(0x274)][_0x102b07(0x2a5)](),this[_0x102b07(0x149)][_0x102b07(0x2c8)]([]),this[_0x102b07(0x149)]['complete']();}['init'](){const _0x2578b7=_0x193aec;this['_init']||(this[_0x2578b7(0x20f)]=!0x0,this[_0x2578b7(0x14f)][_0x2578b7(0x18b)]['pipe'](_0x4f9556(this[_0x2578b7(0x2ba)]))[_0x2578b7(0x312)](_0x49e5b5=>{const _0x310f3d=_0x2578b7;_0x49e5b5===_0x545f32[_0x310f3d(0x206)]?this[_0x310f3d(0x124)]():this[_0x310f3d(0x25a)]();}),this[_0x2578b7(0x14f)][_0x2578b7(0x1fa)]['pipe'](_0x4f9556(this[_0x2578b7(0x2ba)]))['subscribe'](_0x3195d2=>{const _0x1519eb=_0x2578b7,_0x3baeae=_0x3195d2[_0x1519eb(0x128)];_0x3baeae===_0x2b82ba['UPDATE_CURSOR']&&this[_0x1519eb(0x1f8)](_0x3195d2),_0x3baeae===_0x2b82ba['USERS_LEAVE']&&this[_0x1519eb(0x1c4)](_0x3195d2);}),this[_0x2578b7(0x167)](),this['disposeWithMe'](this[_0x2578b7(0x194)][_0x2578b7(0x209)](_0x49aa9b=>{const _0x5bb0ea=_0x2578b7;if(this[_0x5bb0ea(0x2dd)]&&_0x49aa9b['id']===_0x52e0ed['id']&&_0x49aa9b[_0x5bb0ea(0x2c0)][_0x5bb0ea(0x2dc)]===this[_0x5bb0ea(0x280)]){const _0x38ee57=_0x49aa9b[_0x5bb0ea(0x2c0)];this[_0x5bb0ea(0x1a5)](_0x38ee57[_0x5bb0ea(0x200)],_0x38ee57['selections'][0x0]);}})));}['_onCursorUpdate'](_0x50af58){const _0x409203=_0x193aec;var _0x145368,_0x2bbfe0;const {memberID:_0x325d7e,selection:_0x5c30ef}=_0x50af58[_0x409203(0x1ca)],{sheetName:_0x52dd65,range:_0x27f42f}=_0x5ba6c1(_0x5c30ef),_0x1d74f2={'name':(_0x2bbfe0=(_0x145368=this[_0x409203(0x2f3)][_0x409203(0x25b)](this[_0x409203(0x280)],_0x325d7e))==null?void 0x0:_0x145368['name'])!=null?_0x2bbfe0:_0x409203(0x316),'range':this[_0x409203(0x1ee)](_0x52dd65,_0x27f42f),'sheetID':_0x52dd65,'color':this[_0x409203(0x2ec)][_0x409203(0x2f1)](_0x325d7e),'selection':_0x5c30ef},_0x53b61f=this['cursorInfo'];_0x53b61f['set'](_0x325d7e,_0x1d74f2),this[_0x409203(0x274)][_0x409203(0x2c8)](_0x53b61f);}[_0x193aec(0x1c4)](_0x5bc2b2){const _0x44d7f9=_0x193aec,{memberID:_0x5c597c}=_0x5bc2b2['data'],_0x4f2ab1=this[_0x44d7f9(0x1c7)];_0x4f2ab1[_0x44d7f9(0x203)](_0x5c597c),this['_cursorInfo$'][_0x44d7f9(0x2c8)](_0x4f2ab1);}[_0x193aec(0x1ee)](_0x33537c,_0x54ef6e){const _0x429225=_0x193aec;var _0x1b38df,_0x21489a;const _0x3fe1a3=(_0x21489a=(_0x1b38df=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x429225(0x280)]))==null?void 0x0:_0x1b38df[_0x429225(0x2b5)](_0x33537c))==null?void 0x0:_0x21489a[_0x429225(0x1a6)]();return(_0x3fe1a3==null?void 0x0:_0x3fe1a3['find'](_0xe744f0=>_0x1a585b[_0x429225(0x1c8)](_0xe744f0,_0x54ef6e)))||_0x54ef6e;}[_0x193aec(0x167)](){const _0x360cd6=_0x193aec,_0x2f26e0=new _0x35a3fc(),_0x5f5756=vi(),_0x540f25=()=>{const _0x3911c3=_0x5946;_0x2f26e0[_0x3911c3(0x1a0)]();const _0x4d5051=(_0x36cb1a,_0x257644,_0x2d22ce,_0x19d25d)=>{const _0x1e5c14=_0x3911c3;let _0x495bd5=[];switch(_0x36cb1a['id']){case _0x4d5ea4[_0x1e5c14(0x18e)]:{_0x495bd5=_0x4ed1d2(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4['DeleteRangeMoveUpCommandId']:{_0x495bd5=_0x558440(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4[_0x1e5c14(0x230)]:{_0x495bd5=_0x1bafa1(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4[_0x1e5c14(0x29e)]:{_0x495bd5=_0x1986ed(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4[_0x1e5c14(0x21a)]:{_0x495bd5=_0x96700b(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4[_0x1e5c14(0x1a4)]:{_0x495bd5=_0x4f84b8(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4[_0x1e5c14(0x189)]:{_0x495bd5=_0x3bc627(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4[_0x1e5c14(0x286)]:{_0x495bd5=_0x5cb3f5(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4[_0x1e5c14(0x270)]:{_0x495bd5=_0x1de786(_0x36cb1a,_0x19d25d);break;}}const _0x3cb6a5=_0x297105(_0x495bd5,_0x19d25d),_0x12e42f=this['cursorInfo'][_0x1e5c14(0x202)](_0x257644);if(_0x12e42f&&_0x3cb6a5){const _0x275d8f={..._0x12e42f,'range':_0x3cb6a5};this[_0x1e5c14(0x1c7)][_0x1e5c14(0x12d)](_0x257644,_0x275d8f),_0x5f5756(()=>{const _0x1f4fc0=_0x1e5c14,_0x10e98a=this[_0x1f4fc0(0x180)][_0x1f4fc0(0x135)](_0x3cb6a5,_0x3443bc=>(_0x10e98a['dispose'](),_0x4d5051(_0x3443bc,_0x257644,_0x2d22ce,_0x3cb6a5)));_0x2f26e0['add'](_0x10e98a);});}return{'redos':[],'undos':[]};};this[_0x3911c3(0x1c7)]['forEach']((_0x2ec23b,_0x5d5526)=>{const _0x3ee62f=_0x3911c3,{range:_0x102bac,sheetID:_0x493954}=_0x2ec23b,_0x1d6754=this['_refRangeService']['registerRefRange'](_0x102bac,_0x539d5f=>(_0x1d6754['dispose'](),_0x4d5051(_0x539d5f,_0x5d5526,_0x493954,_0x102bac)));_0x2f26e0[_0x3ee62f(0x186)](_0x1d6754);});};this[_0x360cd6(0x171)](_0x37fdfd(this[_0x360cd6(0x274)][_0x360cd6(0x312)](()=>{_0x540f25();})));}[_0x193aec(0x124)](){const _0x36d6b0=_0x193aec;var _0x1351a7,_0x4dc769;if(this[_0x36d6b0(0x2dd)]=!0x0,((_0x1351a7=this[_0x36d6b0(0x1d5)][_0x36d6b0(0x150)]())==null?void 0x0:_0x1351a7['getUnitId']())!==this['unitID'])return;const _0xa7a2c5=(_0x4dc769=this[_0x36d6b0(0x2d4)][_0x36d6b0(0x202)](_0xe6be6f)[_0x36d6b0(0x207)]())==null?void 0x0:_0x4dc769[0x0],_0x4567f4=this['_univerInstanceService'][_0x36d6b0(0x16c)](_0x32a01e[_0x36d6b0(0x1d0)])[_0x36d6b0(0x2ca)]();_0xa7a2c5&&_0x4567f4&&this[_0x36d6b0(0x1a5)](_0x4567f4['getSheetId'](),_0xa7a2c5);}[_0x193aec(0x25a)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x5562e7(_0x5d7665)),x(0x3,_0x5562e7(ke)),x(0x4,_0x5562e7(_0x2ef6e3)),x(0x5,_0x14a725),x(0x6,_0x4f1fe2),x(0x7,_0x5562e7(_0x1d8553))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x37ed8b,_0x175f53,_0x2df948,_0x31fbf7)=>{const _0x38be7f=_0x193aec;for(var _0x2d014d=_0x31fbf7>0x1?void 0x0:_0x31fbf7?pi(_0x175f53,_0x2df948):_0x175f53,_0x149fd9=_0x37ed8b[_0x38be7f(0x1b2)]-0x1,_0x20ebda;_0x149fd9>=0x0;_0x149fd9--)(_0x20ebda=_0x37ed8b[_0x149fd9])&&(_0x2d014d=_0x20ebda(_0x2d014d)||_0x2d014d);return _0x2d014d;},Se=(_0x51c860,_0x6d076a)=>(_0x4a8591,_0x7e83b5)=>_0x6d076a(_0x4a8591,_0x7e83b5,_0x51c860);let H=class extends _0x16f661{constructor(_0x1d1742,_0x380319,_0x1ed219){const _0x46afaa=_0x193aec;super(),_(this,'_entities',new Map()),_(this,_0x46afaa(0x1e1),new _0x316686()),(this[_0x46afaa(0x1d5)]=_0x1d1742,this[_0x46afaa(0x2d4)]=_0x380319,this[_0x46afaa(0x288)]=_0x1ed219,this['_init']());}[_0x193aec(0x1a0)](){const _0x567d9e=_0x193aec;super[_0x567d9e(0x1a0)](),this[_0x567d9e(0x1e1)][_0x567d9e(0x2a5)](),this[_0x567d9e(0x2e1)][_0x567d9e(0x261)](_0x2a63b7=>_0x2a63b7[_0x567d9e(0x1a0)]());}[_0x193aec(0x1ab)](_0x49348f){const _0x2ee92a=_0x193aec;return this[_0x2ee92a(0x2e1)][_0x2ee92a(0x25d)](_0x49348f)?this['_entities']['get'](_0x49348f)['cursorInfo$']:this[_0x2ee92a(0x1e1)][_0x2ee92a(0x26b)](_0x2d3d10(_0x3f143d=>_0x3f143d[_0x2ee92a(0x280)]===_0x49348f),_0x443430(_0x194c1f=>_0x194c1f['cursorInfo$']));}[_0x193aec(0x20f)](){const _0x21ca9e=_0x193aec;this[_0x21ca9e(0x1d5)][_0x21ca9e(0x2cb)](_0x32a01e['UNIVER_SHEET'])[_0x21ca9e(0x26b)](_0x4f9556(this[_0x21ca9e(0x2ba)]))['subscribe'](async _0x8622dd=>{const _0x26027f=_0x21ca9e,_0x1ae5b9=_0x8622dd['getUnitId'](),_0x5ea865=await this[_0x26027f(0x214)](_0x1ae5b9);this['_entityInit$'][_0x26027f(0x2c8)](_0x5ea865),this[_0x26027f(0x2e1)][_0x26027f(0x12d)](_0x1ae5b9,_0x5ea865);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x32a01e[_0x21ca9e(0x2a1)])[_0x21ca9e(0x26b)](_0x4f9556(this[_0x21ca9e(0x2ba)]))[_0x21ca9e(0x26b)](_0x2d3d10(_0x4da053=>!_0x4da053[_0x21ca9e(0x27b)]()[_0x21ca9e(0x12b)]('__')))[_0x21ca9e(0x312)](async _0xfb2809=>{const _0xf96e39=_0x21ca9e,_0x59c0d3=_0xfb2809[_0xf96e39(0x27b)](),_0x36bc8d=await this[_0xf96e39(0x179)](_0x59c0d3);this['_entityInit$'][_0xf96e39(0x2c8)](_0x36bc8d),this[_0xf96e39(0x2e1)]['set'](_0x59c0d3,_0x36bc8d);}),_0x111dc5(this[_0x21ca9e(0x1d5)][_0x21ca9e(0x2ae)](_0x32a01e[_0x21ca9e(0x2a1)]),this[_0x21ca9e(0x1d5)][_0x21ca9e(0x2ae)](_0x32a01e[_0x21ca9e(0x1d0)]))[_0x21ca9e(0x26b)](_0x4f9556(this['dispose$']))[_0x21ca9e(0x312)](_0x2cb97f=>{const _0x1b5f23=_0x21ca9e,_0x31548b=_0x2cb97f['getUnitId'](),_0x430e28=this[_0x1b5f23(0x2e1)]['get'](_0x31548b);_0x430e28&&(_0x430e28[_0x1b5f23(0x1a0)](),this[_0x1b5f23(0x2e1)]['delete'](_0x31548b));});}async[_0x193aec(0x214)](_0x5ed0fe){const _0x4bc909=_0x193aec,_0xbcdbab=await this[_0x4bc909(0x288)][_0x4bc909(0x29b)](_0x5ed0fe),_0x18c27e=this[_0x4bc909(0x2d4)][_0x4bc909(0x17d)](Me,_0x5ed0fe,_0xbcdbab);return _0x18c27e[_0x4bc909(0x2ce)](),_0x18c27e;}async['_startDocCollabCursor'](_0x1c0b78){const _0x5ae8a2=_0x193aec,_0x520eb8=await this['_collabSessionService'][_0x5ae8a2(0x29b)](_0x1c0b78),_0x59dd60=this[_0x5ae8a2(0x2d4)][_0x5ae8a2(0x17d)](Ue,_0x1c0b78,_0x520eb8);return _0x59dd60['init'](),_0x59dd60;}};H=Ci([Se(0x0,_0x14a725),Se(0x1,_0x5562e7(_0x5d7665)),Se(0x2,_0x5562e7(_0x307ffe))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x58c3cc,_0x455bef){const _0x2c480b=_0x193aec;let {radius:_0x579c26,width:_0x3681b7,height:_0x4c503a}=_0x455bef;_0x579c26=_0x579c26!=null?_0x579c26:0x0,_0x3681b7=_0x3681b7!=null?_0x3681b7:0x1e,_0x4c503a=_0x4c503a!=null?_0x4c503a:0x1e;let _0x2ef7f7=0x0,_0x3d2792=0x0,_0xc58f0=0x0;_0x2ef7f7=_0x3d2792=_0xc58f0=Math['min'](_0x579c26,_0x3681b7/0x2,_0x4c503a/0x2),_0x58c3cc[_0x2c480b(0x177)](),_0x58c3cc[_0x2c480b(0x1ec)](_0x2ef7f7,0x0),_0x58c3cc[_0x2c480b(0x25f)](_0x3681b7-_0x3d2792,0x0),_0x58c3cc['arc'](_0x3681b7-_0x3d2792,_0x3d2792,_0x3d2792,Math['PI']*0x3/0x2,0x0,!0x1),_0x58c3cc[_0x2c480b(0x25f)](_0x3681b7,_0x4c503a-_0xc58f0),_0x58c3cc[_0x2c480b(0x2d2)](_0x3681b7-_0xc58f0,_0x4c503a-_0xc58f0,_0xc58f0,0x0,Math['PI']/0x2,!0x1),_0x58c3cc[_0x2c480b(0x25f)](0x0,_0x4c503a),_0x58c3cc[_0x2c480b(0x25f)](0x0,_0x2ef7f7),_0x58c3cc[_0x2c480b(0x2d2)](_0x2ef7f7,_0x2ef7f7,_0x2ef7f7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x58c3cc[_0x2c480b(0x191)](),_0x455bef[_0x2c480b(0x21b)]&&(_0x58c3cc[_0x2c480b(0x2e3)](),_0x58c3cc['fillStyle']=_0x455bef[_0x2c480b(0x21b)],_0x455bef[_0x2c480b(0x2fa)]===_0x2c480b(0x2e7)?_0x58c3cc[_0x2c480b(0x21b)]('evenodd'):_0x58c3cc['fill'](),_0x58c3cc['restore']());}class he extends _0x3319af{constructor(_0x1a3446,_0x3e6d12){const _0x2e92d2=_0x193aec;super(_0x1a3446,_0x3e6d12),_(this,'color'),_(this,_0x2e92d2(0x1c2)),(this[_0x2e92d2(0x24b)]=_0x3e6d12==null?void 0x0:_0x3e6d12[_0x2e92d2(0x24b)],this['text']=_0x3e6d12==null?void 0x0:_0x3e6d12[_0x2e92d2(0x1c2)]);}static['drawWith'](_0x372271,_0x266191){const _0x4c532c=_0x193aec,{text:_0x533b0f,color:_0x423a5f}=_0x266191;_0x372271[_0x4c532c(0x2e3)](),_0x372271[_0x4c532c(0x300)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x587421=_0x372271[_0x4c532c(0x262)](_0x533b0f)[_0x4c532c(0x1c6)],_0x3cc036=Math[_0x4c532c(0x23c)](_0x587421+0x2*me,Qe);Oi(_0x372271,{'height':ee,'radius':0x4,'width':_0x3cc036,'fill':_0x423a5f}),_0x372271[_0x4c532c(0x2b8)]=_0x4c532c(0x2cd);const _0x1d5298=me,_0x36e8f7=ee-Ei,_0x2653d7=Qe-0x2*me;if(_0x587421>_0x2653d7){let _0x41685f='',_0x2fa149=0x0;for(const _0x5252a4 of _0x533b0f){const _0x49d2c4=_0x372271[_0x4c532c(0x262)](_0x5252a4)[_0x4c532c(0x1c6)];if(_0x2fa149+_0x49d2c4<=_0x2653d7-_0x372271['measureText'](_0x4c532c(0x2b6))[_0x4c532c(0x1c6)])_0x41685f+=_0x5252a4,_0x2fa149+=_0x49d2c4;else{_0x41685f+=_0x4c532c(0x2b6);break;}}_0x372271[_0x4c532c(0x28f)](_0x41685f,_0x1d5298,_0x36e8f7);}else _0x372271[_0x4c532c(0x28f)](_0x533b0f,_0x1d5298,_0x36e8f7);_0x372271['restore']();}['_draw'](_0x2afd17){he['drawWith'](_0x2afd17,this);}}const Ie=_0x193aec(0x204),bi='collab-text-range-',Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x22df81,_0x41f6b8,_0x476792,_0x964397){const _0x50ff94=_0x193aec;_(this,_0x50ff94(0x161),[]),_(this,_0x50ff94(0x213),null),_(this,'_textBubble',null),_(this,_0x50ff94(0x31c),null),_(this,_0x50ff94(0x1fe),null),_(this,_0x50ff94(0x168),null),(this[_0x50ff94(0x173)]=_0x22df81,this['_scene']=_0x41f6b8,this[_0x50ff94(0x1fb)]=_0x476792,this[_0x50ff94(0x2ea)]=_0x964397,this[_0x50ff94(0x2b4)]());}set[_0x193aec(0x26f)](_0x4e5e35){const _0x533ac8=_0x193aec;_0x4e5e35?(this['_anchorDot']&&this[_0x533ac8(0x31c)][_0x533ac8(0x1bb)](),this['_textBubble']&&this[_0x533ac8(0x1c5)][_0x533ac8(0x19b)]()):(this[_0x533ac8(0x31c)]&&this[_0x533ac8(0x31c)][_0x533ac8(0x19b)](),this[_0x533ac8(0x1c5)]&&this[_0x533ac8(0x1c5)][_0x533ac8(0x1bb)]());}[_0x193aec(0x1a0)](){const _0x2c9a27=_0x193aec;for(const _0x2dbac4 of this[_0x2c9a27(0x161)])_0x2dbac4['dispose']();this[_0x2c9a27(0x1c5)]&&this['_textBubble'][_0x2c9a27(0x1a0)](),this[_0x2c9a27(0x31c)]&&this[_0x2c9a27(0x31c)][_0x2c9a27(0x1a0)](),this['_anchor']&&this[_0x2c9a27(0x213)][_0x2c9a27(0x1a0)](),this[_0x2c9a27(0x168)]&&this[_0x2c9a27(0x168)]();}['_render'](){const _0x4d5c05=_0x193aec;var _0xd010ee;const {_docSkeleton:_0x5e272a,_document:_0x2b5811}=this,{color:_0x49d0e7,name:_0x1821ad,ranges:_0x3432e0}=this[_0x4d5c05(0x173)],_0x4831b4=_0x2b5811[_0x4d5c05(0x198)](),{docsLeft:_0x508c25,docsTop:_0x306e67}=_0x4831b4,_0x327678=new _0x2e5d46(_0x4831b4,_0x5e272a);for(const {startOffset:_0x9ea995,endOffset:_0x255ef0,rangeType:_0x3f0cbe,segmentId:_0x1cca21,segmentPage:_0x291b86,collapsed:_0x90f8cc,isActive:_0x155032}of _0x3432e0){const _0x2791b5=_0x5e272a[_0x4d5c05(0x2e4)](_0x9ea995,!0x0,_0x1cca21,_0x291b86);let _0x248f61=_0x5e272a['findNodePositionByCharIndex'](_0x255ef0,!0x0,_0x1cca21,_0x291b86);if(_0x248f61==null&&(_0x248f61=_0x5e272a[_0x4d5c05(0x2e4)](_0x255ef0-0x1,!0x1,_0x1cca21,_0x291b86)),_0x155032){const {contentBoxPointGroup:_0x5634e6}=_0x327678[_0x4d5c05(0x22c)](_0x248f61,_0x248f61);if(_0x5634e6[_0x4d5c05(0x1b2)]===0x0)continue;this[_0x4d5c05(0x14d)](_0x49d0e7,_0x5634e6,_0x508c25,_0x306e67,_0x1821ad),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x2791b5&&_0x248f61){if(_0x3f0cbe===_0x343d66[_0x4d5c05(0x1cc)]){const _0x1c6146=new _0x302090(_0x4831b4,_0x5e272a),{pointGroup:_0x3b7f1f}=(_0xd010ee=_0x1c6146[_0x4d5c05(0x22c)](_0x2791b5,_0x248f61))!=null?_0xd010ee:{};if(_0x3b7f1f==null||_0x3b7f1f[_0x4d5c05(0x1b2)]===0x0)continue;this['_drawRectRange'](_0x49d0e7,_0x3b7f1f,_0x508c25,_0x306e67);}else{if(!_0x90f8cc){const {borderBoxPointGroup:_0x2b263a}=_0x327678[_0x4d5c05(0x22c)](_0x2791b5,_0x248f61);if(_0x2b263a[_0x4d5c05(0x1b2)]===0x0)continue;this[_0x4d5c05(0x1fc)](_0x49d0e7,_0x2b263a,_0x508c25,_0x306e67);}}}}}['_drawAnchor'](_0x4d7eda,_0x4abd18,_0x13a0ff,_0x4f700a,_0x4a7fb8){const _0x243143=_0x193aec,_0x131081=this['_getAnchorBounding'](_0x4abd18),{left:_0x42240e,top:_0x1a4cbb,height:_0x320f22}=_0x131081,_0x498466=this['_getScale'](),_0x1a67a9=Di/_0x498466,_0x5cbea5=new _0x4c1fcc(Ie+_0x3929d5[_0x243143(0x2c2)](X),{'left':_0x42240e+_0x13a0ff-_0x1a67a9,'top':_0x1a4cbb+_0x4f700a,'height':_0x320f22,'width':Ri,'fill':_0x4d7eda||_0x4f4df7(_0x49e583['black'],0x0),'strokeWidth':_0x1a67a9,'stroke':Ni,'evented':!0x0});this[_0x243143(0x213)]=_0x5cbea5,this[_0x243143(0x18c)][_0x243143(0x1db)](_0x5cbea5,_0x11fdc1);const _0x33148d=new _0x4c1fcc(Ie+_0x3929d5[_0x243143(0x2c2)](X),{'left':_0x42240e+_0x13a0ff-_0x1a67a9,'top':_0x1a4cbb+_0x4f700a-ge/0x2,'height':ge,'width':ge,'fill':_0x4d7eda||_0x4f4df7(_0x49e583[_0x243143(0x13c)],0x0),'strokeWidth':0x0,'stroke':_0x4d7eda||_0x4f4df7(_0x49e583[_0x243143(0x13c)],0x0),'evented':!0x1});this[_0x243143(0x31c)]=_0x33148d,this[_0x243143(0x18c)]['addObject'](_0x33148d,_0x11fdc1);const _0x302d05=new he(Ie+_0x3929d5[_0x243143(0x2c2)](X),{'left':_0x42240e+_0x13a0ff-_0x1a67a9,'top':_0x1a4cbb+_0x4f700a-ee,'text':_0x4a7fb8,'color':_0x4d7eda});this[_0x243143(0x1c5)]=_0x302d05,this[_0x243143(0x18c)][_0x243143(0x1db)](_0x302d05,_0x11fdc1),this['_hover']=!0x1;}[_0x193aec(0x250)](){const _0x10005a=_0x193aec,_0x57eb52=this[_0x10005a(0x213)][_0x10005a(0x24a)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x5502fa=this['_anchor'][_0x10005a(0x2fc)][_0x10005a(0x232)](()=>{const _0x249c55=_0x10005a;this['_hideTimer']&&clearTimeout(this[_0x249c55(0x1fe)]),this[_0x249c55(0x1fe)]=setTimeout(()=>{const _0x1e521a=_0x249c55;this[_0x1e521a(0x26f)]=!0x1;},0x7d0);});return()=>{const _0x17cc8c=_0x10005a;_0x57eb52[_0x17cc8c(0x257)](),_0x5502fa[_0x17cc8c(0x257)]();};}[_0x193aec(0x1fc)](_0x10eb5c,_0x55a9f4,_0x430460,_0x1d0274){const _0x1b8b8d=_0x193aec,_0x326016=new _0x17c4c3(_0x10eb5c)[_0x1b8b8d(0x319)](0.2)['toRgbString'](),_0x2d7715=new _0x3641ed(bi+_0x3929d5['generateRandomId'](X),{'pointsGroup':_0x55a9f4,'fill':_0x326016||_0x4f4df7(_0x49e583['black'],0.2),'left':_0x430460,'top':_0x1d0274,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1b8b8d(0x166)](_0x2d7715),this[_0x1b8b8d(0x18c)][_0x1b8b8d(0x1db)](_0x2d7715,_0x11fdc1);}[_0x193aec(0x1bf)](_0x4a345d,_0x514cb5,_0x440969,_0x4a39a6){const _0x88ebf1=_0x193aec,_0x3ccce5=new _0x17c4c3(_0x4a345d)[_0x88ebf1(0x319)](0.2)[_0x88ebf1(0x27d)](),_0x502e0f=new _0x3641ed(Ti+_0x3929d5[_0x88ebf1(0x2c2)](X),{'pointsGroup':_0x514cb5,'fill':_0x3ccce5||_0x4f4df7(_0x49e583['black'],0.2),'left':_0x440969,'top':_0x4a39a6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x502e0f),this[_0x88ebf1(0x18c)][_0x88ebf1(0x1db)](_0x502e0f,_0x11fdc1);}[_0x193aec(0x15c)](_0x104fd9){const _0x1a7888=_0x104fd9[0x0],_0x5d5cea=_0x1a7888[0x0],_0x68d5f5=_0x1a7888[0x2],{x:_0xc43dcc,y:_0x2d2e86}=_0x5d5cea,{x:_0x2cf6f8,y:_0x250c1b}=_0x68d5f5;return{'left':_0xc43dcc,'top':_0x2d2e86,'width':_0x2cf6f8-_0xc43dcc,'height':_0x250c1b-_0x2d2e86};}[_0x193aec(0x248)](){const _0xd01057=_0x193aec,{scaleX:_0x256cb,scaleY:_0xe5a502}=this[_0xd01057(0x18c)][_0xd01057(0x275)]();return Math[_0xd01057(0x2aa)](_0x256cb,_0xe5a502);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x4c3a8a,_0x369c8d,_0x4206d9,_0x27cab0)=>{const _0x2c61da=_0x193aec;for(var _0x475e1d=_0x27cab0>0x1?void 0x0:_0x27cab0?Ui(_0x369c8d,_0x4206d9):_0x369c8d,_0x25fb20=_0x4c3a8a[_0x2c61da(0x1b2)]-0x1,_0x2fad14;_0x25fb20>=0x0;_0x25fb20--)(_0x2fad14=_0x4c3a8a[_0x25fb20])&&(_0x475e1d=_0x2fad14(_0x475e1d)||_0x475e1d);return _0x475e1d;},Z=(_0x38009d,_0xa26157)=>(_0x5830f0,_0x3b8e3f)=>_0xa26157(_0x5830f0,_0x3b8e3f,_0x38009d);let we=class extends _0x16f661{constructor(_0x4bc6a9,_0x3816d4,_0x4459ea,_0x165bae,_0x133760){const _0x5e0b2c=_0x193aec;super(),_(this,'_cursorShapes',[]),_(this,_0x5e0b2c(0x2ef),[]),(this[_0x5e0b2c(0x1c3)]=_0x4bc6a9,this[_0x5e0b2c(0x199)]=_0x3816d4,this[_0x5e0b2c(0x1f0)]=_0x4459ea,this['_commandService']=_0x165bae,this[_0x5e0b2c(0x164)]=_0x133760,this[_0x5e0b2c(0x20f)]());}[_0x193aec(0x20f)](){const _0x53dda0=_0x193aec,_0x1f0212=this[_0x53dda0(0x1c3)][_0x53dda0(0x2dc)],_0x2b37c9=this[_0x53dda0(0x199)];this[_0x53dda0(0x171)](_0x575ac7([this[_0x53dda0(0x1f0)][_0x53dda0(0x1ab)](_0x1f0212),this['_themeService']['currentTheme$']])['pipe'](_0x48258c(([_0x1d7e4b,_0x2c17d0])=>({'skeleton':_0x2b37c9['getSkeleton'](),'cursors':[..._0x1d7e4b['values']()][_0x53dda0(0x1f1)](_0x5166b4=>({..._0x5166b4,'color':this[_0x53dda0(0x164)][_0x53dda0(0x255)](_0x5166b4[_0x53dda0(0x24b)])}))})))[_0x53dda0(0x312)](_0x5ddfda=>{const _0x4e0884=_0x53dda0;if(this[_0x4e0884(0x16a)](),_0x5ddfda){const {skeleton:_0x24ea6d,cursors:_0x232691}=_0x5ddfda;this[_0x4e0884(0x138)](_0x24ea6d,_0x232691);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x193aec(0x138)](_0x541ea9,_0x1f0db0){const _0x3a3337=_0x193aec,{scene:_0x495991,mainComponent:_0x16fd73}=this[_0x3a3337(0x1c3)],_0x3fd958=_0x1f0db0[_0x3a3337(0x169)](_0x4c470a=>new qe(_0x4c470a,_0x495991,_0x541ea9,_0x16fd73));this['_cursorShapes']=_0x3fd958,this[_0x3a3337(0x2ef)]=_0x1f0db0;}[_0x193aec(0x1b4)](){const _0x5200e9=_0x193aec;this[_0x5200e9(0x16a)]();const {scene:_0x70b33f,mainComponent:_0x4e356d}=this[_0x5200e9(0x1c3)],_0x1abb5f=this['_docSkeletonManagerService'][_0x5200e9(0x1e2)](),_0x3afffb=this['_cursors']['map'](_0x20d719=>new qe(_0x20d719,_0x70b33f,_0x1abb5f,_0x4e356d));this['_cursorShapes']=_0x3afffb;}['_removeCollabCursors'](){const _0x51db2e=_0x193aec;this[_0x51db2e(0x1d4)][_0x51db2e(0x261)](_0x1338c7=>_0x1338c7[_0x51db2e(0x1a0)]()),this[_0x51db2e(0x1d4)]=[];}[_0x193aec(0x2f8)](){const _0x538d5d=_0x193aec,_0x5289ee=[_0x2ff919['id']];this[_0x538d5d(0x171)](this['_commandService'][_0x538d5d(0x209)](_0x38c723=>{const _0x3f1d13=_0x538d5d;_0x5289ee[_0x3f1d13(0x21e)](_0x38c723['id'])&&_0x38c723[_0x3f1d13(0x2c0)][_0x3f1d13(0x2dc)]===this[_0x3f1d13(0x1c3)][_0x3f1d13(0x2dc)]&&this[_0x3f1d13(0x1b4)]();}));}[_0x193aec(0x269)](){const _0x590a42=_0x193aec;this[_0x590a42(0x171)](_0x559980(this[_0x590a42(0x1c3)][_0x590a42(0x247)][_0x590a42(0x28d)])[_0x590a42(0x26b)](_0x1eada0(_0x6272ff=>_0x6272ff['type']===_0x10f7a0[_0x590a42(0x2f7)]),_0x37deae(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};we=Mi([Z(0x1,_0x5562e7(_0x35adb7)),Z(0x2,_0x5562e7(H)),Z(0x3,_0x4f1fe2),Z(0x4,_0x5562e7(_0x2a18b1))],we);const wi=0x1,Pi=1.5;class Li extends _0x3319af{constructor(_0x7837ea,_0x7d4124){const _0x123619=_0x193aec;super(_0x7837ea,_0x7d4124),_(this,_0x123619(0x15e)),_(this,_0x123619(0x2d6),!0x1),_(this,_0x123619(0x246)),_(this,'_name',''),_(this,_0x123619(0x16f),_0x123619(0x16d)),_(this,_0x123619(0x1ba)),(_0x7d4124&&this['setShapeProps'](_0x7d4124),this[_0x123619(0x24a)][_0x123619(0x232)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x123619(0x2fc)][_0x123619(0x232)](()=>this[_0x123619(0x224)]({'hovered':!0x1})));}[_0x193aec(0x224)](_0x378e8c){const _0x5e9a25=_0x193aec;var _0x32a806,_0x48002a,_0x1040cd,_0x390599,_0x56d7c2,_0xdcc71a;this['_color']=(_0x32a806=_0x378e8c['color'])!=null?_0x32a806:this[_0x5e9a25(0x15e)],this[_0x5e9a25(0x2d6)]=(_0x48002a=_0x378e8c[_0x5e9a25(0x1ac)])!=null?_0x48002a:this[_0x5e9a25(0x2d6)],this[_0x5e9a25(0x246)]=(_0x1040cd=_0x378e8c[_0x5e9a25(0x136)])!=null?_0x1040cd:this['_range'],this['_name']=(_0x390599=_0x378e8c[_0x5e9a25(0x148)])!=null?_0x390599:this[_0x5e9a25(0x273)],this[_0x5e9a25(0x16f)]=(_0x56d7c2=_0x378e8c[_0x5e9a25(0x314)])!=null?_0x56d7c2:this[_0x5e9a25(0x16f)],this[_0x5e9a25(0x1ba)]=(_0xdcc71a=_0x378e8c[_0x5e9a25(0x1ff)])!=null?_0xdcc71a:this[_0x5e9a25(0x1ba)],this['transformByState']({'width':_0x378e8c[_0x5e9a25(0x1c6)],'height':_0x378e8c[_0x5e9a25(0x1be)]});}[_0x193aec(0x20c)](_0x425f67){const _0x413ce3=_0x193aec,{row:_0x3edb95,column:_0x45597f}=_0x425f67;if(_0x3edb95>=this[_0x413ce3(0x246)][_0x413ce3(0x267)]&&_0x3edb95<=this[_0x413ce3(0x246)][_0x413ce3(0x2fe)]&&_0x45597f>=this[_0x413ce3(0x246)][_0x413ce3(0x284)]&&_0x45597f<=this[_0x413ce3(0x246)][_0x413ce3(0x1eb)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x413ce3(0x224)]({'hovered':!0x1});}[_0x193aec(0x1bc)](_0x1916cb){return!0x1;}['_draw'](_0xa494ab){const _0x15af80=_0x193aec;_0x4c1fcc[_0x15af80(0x27a)](_0xa494ab,{'width':this[_0x15af80(0x1c6)],'height':this[_0x15af80(0x1be)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x15af80(0x1ba)]}),this[_0x15af80(0x2d6)]&&(_0xa494ab[_0x15af80(0x2e3)](),_0xa494ab['transform'](0x1,0x0,0x0,0x1,this[_0x15af80(0x1c6)],this[_0x15af80(0x16f)]===_0x15af80(0x126)?0x0:-0x14),he[_0x15af80(0x27a)](_0xa494ab,{'text':this[_0x15af80(0x273)],'color':this[_0x15af80(0x15e)]}),_0xa494ab['restore']());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x312bf5,_0x8cc95,_0x362f6a,_0xf08b00)=>{for(var _0x114481=_0xf08b00>0x1?void 0x0:_0xf08b00?Ai(_0x8cc95,_0x362f6a):_0x8cc95,_0x38506b=_0x312bf5['length']-0x1,_0x1fbe9a;_0x38506b>=0x0;_0x38506b--)(_0x1fbe9a=_0x312bf5[_0x38506b])&&(_0x114481=_0x1fbe9a(_0x114481)||_0x114481);return _0x114481;},ve=(_0xc0e311,_0x46610c)=>(_0x41af60,_0x4b1b1b)=>_0x46610c(_0x41af60,_0x4b1b1b,_0xc0e311);const $i=0x1389;let Pe=class extends _0x16f661{constructor(_0x2b8133,_0x3152c9,_0x51f4e6,_0x4a85ce){const _0x463d10=_0x193aec;super(),_(this,_0x463d10(0x2ef),new Set()),_(this,_0x463d10(0x322),null),(this[_0x463d10(0x1c3)]=_0x2b8133,this['_sheetSkeletonManagerService']=_0x3152c9,this['_collabCursorController']=_0x51f4e6,this[_0x463d10(0x164)]=_0x4a85ce,this[_0x463d10(0x20f)]());}[_0x193aec(0x20f)](){const _0x1e17a8=_0x193aec;this['_sheetSkeletonManagerService'][_0x1e17a8(0x318)][_0x1e17a8(0x26b)](_0x42ff6e(this[_0x1e17a8(0x2ba)]),_0x176659(_0xcf464c=>{const _0x219f94=_0x1e17a8;if(_0xcf464c){const _0x5bfd6a=_0xcf464c['sheetId'];return _0x575ac7(this[_0x219f94(0x1f0)][_0x219f94(0x1ab)](this[_0x219f94(0x1c3)][_0x219f94(0x2dc)]),this['_themeService']['currentTheme$'])[_0x219f94(0x26b)](_0x48258c(([_0x54dbc7,_0x34a831])=>{const _0x30201c=_0x219f94,_0x19fb9b=new Map();return _0x54dbc7[_0x30201c(0x261)]((_0x4edb2c,_0x76e57f)=>{const _0x1b7265=_0x30201c;if(_0x4edb2c[_0x1b7265(0x140)]===_0x5bfd6a){const _0x37695={..._0x4edb2c};_0x37695[_0x1b7265(0x24b)]=this[_0x1b7265(0x164)][_0x1b7265(0x255)](_0x4edb2c['color']),_0x19fb9b[_0x1b7265(0x12d)](_0x76e57f,_0x37695);}}),{'skeleton':_0xcf464c,'cursors':_0x19fb9b};}));}return _0x42a69d({'skeleton':null,'cursors':new Map()});}))[_0x1e17a8(0x312)](({skeleton:_0x49d0d3,cursors:_0x3cea97})=>{const _0x391fc0=_0x1e17a8;this[_0x391fc0(0x16a)](),_0x49d0d3&&this['_updateCollabCursors'](_0x49d0d3,_0x3cea97);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x55f8f4=>{const _0x4073fd=_0x1e17a8;if(_0x55f8f4==null)return;const {skeleton:_0x55d8ec}=_0x55f8f4,{scene:_0x4d7581}=this[_0x4073fd(0x1c3)];_0x4d7581['onPointerMove$'][_0x4073fd(0x232)](_0xbcfd96(_0x2dd340=>{const _0x3955fe=_0x4073fd;var _0x5857ce,_0x576598;const {offsetX:_0xfc34b8,offsetY:_0x3e242a}=_0x2dd340,{x:_0x3d1b77,y:_0x32ea6d}=_0x4d7581[_0x3955fe(0x2e8)](_0x25c94b['FromArray']([_0xfc34b8,_0x3e242a])),{scaleX:_0x3e8ff7,scaleY:_0x1f9adc}=_0x4d7581['getAncestorScale'](),_0x218c6e=_0x4d7581[_0x3955fe(0x1d7)](_0x21c299[_0x3955fe(0x1f4)]),_0x3cf894=_0x4d7581[_0x3955fe(0x233)](_0x25c94b['FromArray']([_0x3d1b77,_0x32ea6d]),_0x218c6e),_0x208c15=_0x55d8ec[_0x3955fe(0x1a7)](_0xfc34b8,_0x3e242a,_0x3e8ff7,_0x1f9adc,_0x3cf894);((_0x5857ce=this[_0x3955fe(0x322)])==null?void 0x0:_0x5857ce[_0x3955fe(0x252)])===_0x208c15[_0x3955fe(0x252)]&&((_0x576598=this['_lastPointer'])==null?void 0x0:_0x576598['row'])===_0x208c15['row']||this[_0x3955fe(0x2ef)][_0x3955fe(0x261)](_0x4833a4=>{const _0x190dc5=_0x3955fe;_0x4833a4[_0x190dc5(0x20c)](_0x208c15);});},0x64));});}['_updateCollabCursors'](_0x2ecf76,_0x4dd13d){const _0x80a7c=_0x193aec;var _0x5ea01d;const _0x405d07=(_0x5ea01d=this[_0x80a7c(0x188)][_0x80a7c(0x2c3)]())==null?void 0x0:_0x5ea01d['skeleton'];if(!_0x405d07)return;const _0x305f86=this[_0x80a7c(0x31f)]();if(!_0x305f86)return;this['_cursors'][_0x80a7c(0x261)](_0x220896=>{const _0x1eb8fb=_0x80a7c;_0x220896[_0x1eb8fb(0x1b0)]();});const {scene:_0x9cf5be}=_0x305f86,_0x19e5f3=xi(Array['from'](_0x4dd13d[_0x80a7c(0x30f)]()))[_0x80a7c(0x169)](_0x56cb5c=>{const _0x37cd32=_0x80a7c,{color:_0xb12367,range:_0x22bde9,name:_0x4dbff0,selection:_0x388c39,sheetID:_0x1fe6eb}=_0x56cb5c,{startColumn:_0x29e18c,startRow:_0x260960,endColumn:_0x1a40c3,endRow:_0x9f3e12}=_0x22bde9,_0x36aa6f=_0x27b72a(_0x260960,_0x29e18c,_0x9cf5be,_0x405d07),_0x3a51f2=_0x27b72a(_0x9f3e12,_0x1a40c3,_0x9cf5be,_0x405d07),{columnHeaderHeightAndMarginTop:_0x30fdee}=_0x405d07,{startX:_0x2539c4,startY:_0x379796}=_0x36aa6f,{endX:_0x134c0d,endY:_0x4fcae3}=_0x3a51f2,_0x2cdda0=_0x134c0d-_0x2539c4,_0x202281=_0x4fcae3-_0x379796,_0x12abb8={'labelPosition':_0x379796-_0x30fdee>=ee?_0x37cd32(0x16d):_0x37cd32(0x126),'sheetID':_0x1fe6eb,'range':_0x22bde9,'color':_0xb12367,'name':_0x4dbff0,'selection':_0x388c39,'left':_0x2539c4,'top':_0x379796,'width':_0x2cdda0,'height':_0x202281,'evented':!0x1,'zIndex':$i};return new Li(_0x4dbff0,_0x12abb8);});_0x9cf5be[_0x80a7c(0x157)](_0x19e5f3,wi),this[_0x80a7c(0x2ef)]=new Set(_0x19e5f3);}[_0x193aec(0x16a)](){const _0xda181d=_0x193aec;var _0x2cce46;(_0x2cce46=this['_cursors'])==null||_0x2cce46['forEach'](_0x2e80ce=>_0x2e80ce[_0xda181d(0x1a0)]());}[_0x193aec(0x31f)](){const _0x3da0bb=_0x193aec;return _0x119bd6(this[_0x3da0bb(0x1c3)][_0x3da0bb(0x2ee)],this[_0x3da0bb(0x1c3)]);}};Pe=yi([ve(0x1,_0x5562e7(_0x532ecb)),ve(0x2,_0x5562e7(H)),ve(0x3,_0x5562e7(_0x2a18b1))],Pe);function xi(_0x339da4){const _0x19a7f7=_0x193aec,_0x50a65f=new Map();return _0x339da4[_0x19a7f7(0x261)](_0x585838=>{const _0x1fd1a8=_0x19a7f7;if(_0x50a65f['has'](_0x585838['selection'])){const _0xb85eff=_0x50a65f[_0x1fd1a8(0x202)](_0x585838[_0x1fd1a8(0x2a8)]);_0xb85eff[_0x1fd1a8(0x148)]+=',\x20'+_0x585838['name'];}else _0x50a65f[_0x1fd1a8(0x12d)](_0x585838['selection'],_0x585838);}),Array['from'](_0x50a65f[_0x19a7f7(0x30f)]());}var v=function(){const _0x5e63d8=_0x193aec;return v=Object[_0x5e63d8(0x2db)]||function(_0x388332){const _0x2dc593=_0x5e63d8;for(var _0x32a5f3,_0x281752=0x1,_0x22e9d9=arguments[_0x2dc593(0x1b2)];_0x281752<_0x22e9d9;_0x281752++){_0x32a5f3=arguments[_0x281752];for(var _0x37dd23 in _0x32a5f3)Object[_0x2dc593(0x320)][_0x2dc593(0x223)]['call'](_0x32a5f3,_0x37dd23)&&(_0x388332[_0x37dd23]=_0x32a5f3[_0x37dd23]);}return _0x388332;},v['apply'](this,arguments);},Bi=function(_0x424a17,_0x579487){const _0x55f0f1=_0x193aec;var _0x44d33d={};for(var _0x44139e in _0x424a17)Object[_0x55f0f1(0x320)][_0x55f0f1(0x223)][_0x55f0f1(0x2d0)](_0x424a17,_0x44139e)&&_0x579487[_0x55f0f1(0x240)](_0x44139e)<0x0&&(_0x44d33d[_0x44139e]=_0x424a17[_0x44139e]);if(_0x424a17!=null&&typeof Object[_0x55f0f1(0x15b)]==_0x55f0f1(0x184)){for(var _0x2ad2a2=0x0,_0x44139e=Object[_0x55f0f1(0x15b)](_0x424a17);_0x2ad2a2<_0x44139e[_0x55f0f1(0x1b2)];_0x2ad2a2++)_0x579487[_0x55f0f1(0x240)](_0x44139e[_0x2ad2a2])<0x0&&Object[_0x55f0f1(0x320)][_0x55f0f1(0x282)]['call'](_0x424a17,_0x44139e[_0x2ad2a2])&&(_0x44d33d[_0x44139e[_0x2ad2a2]]=_0x424a17[_0x44139e[_0x2ad2a2]]);}return _0x44d33d;},je=_0x52ec90(function(_0x53e0ff,_0x265695){const _0x192190=_0x193aec;var _0x11f798=_0x53e0ff[_0x192190(0x190)],_0x3a0462=_0x53e0ff['id'],_0x30315e=_0x53e0ff[_0x192190(0x15f)],_0x3227f2=_0x53e0ff['extend'],_0x2009bd=Bi(_0x53e0ff,[_0x192190(0x190),'id',_0x192190(0x15f),_0x192190(0x219)]),_0x4b3606=_0x192190(0x27f)[_0x192190(0x221)](_0x3a0462,'\x20')[_0x192190(0x221)](_0x30315e||'')[_0x192190(0x176)](),_0x2300e9=_0x28a951('_'[_0x192190(0x221)](ji()));return Rt(_0x11f798,''[_0x192190(0x221)](_0x3a0462),{'defIds':_0x11f798[_0x192190(0x23d)],'idSuffix':_0x2300e9[_0x192190(0x212)]},v({'ref':_0x265695,'className':_0x4b3606},_0x2009bd),_0x3227f2);});function Rt(_0x445ea2,_0x3ca95b,_0x4b94bd,_0x4359d0,_0x39e7ce){const _0x3ca37d=_0x193aec;return _0x22d147(_0x445ea2[_0x3ca37d(0x1d6)],v(v({'key':_0x3ca95b},ki(_0x445ea2,_0x4b94bd,_0x39e7ce)),_0x4359d0),(Hi(_0x445ea2,_0x4b94bd)[_0x3ca37d(0x1ef)]||[])[_0x3ca37d(0x169)](function(_0x22c0fb,_0x4a79bd){const _0x2ad596=_0x3ca37d;return Rt(_0x22c0fb,''[_0x2ad596(0x221)](_0x3ca95b,'-')['concat'](_0x445ea2[_0x2ad596(0x1d6)],'-')[_0x2ad596(0x221)](_0x4a79bd),_0x4b94bd,void 0x0,_0x39e7ce);}));}function ki(_0xe04e79,_0x59d06d,_0x389fa8){const _0x481d2d=_0x193aec;var _0x30ab49=v({},_0xe04e79[_0x481d2d(0x2a3)]);_0x389fa8!=null&&_0x389fa8[_0x481d2d(0x1e6)]&&_0x30ab49[_0x481d2d(0x21b)]===_0x481d2d(0x1e6)&&(_0x30ab49[_0x481d2d(0x21b)]=_0x389fa8[_0x481d2d(0x1e6)]),_0xe04e79['tag']===_0x481d2d(0x1c1)&&_0x30ab49['id']&&(_0x30ab49['id']=_0x30ab49['id']+_0x59d06d['idSuffix']),Object[_0x481d2d(0x260)](_0x30ab49)[_0x481d2d(0x261)](function(_0x315f37){const _0x412abc=_0x481d2d;var _0x4664ac=_0x315f37[0x0],_0x27762d=_0x315f37[0x1];_0x4664ac==='mask'&&typeof _0x27762d==_0x412abc(0x323)&&(_0x30ab49[_0x4664ac]=_0x27762d[_0x412abc(0x182)](/url\(#(.*)\)/,_0x412abc(0x193)[_0x412abc(0x221)](_0x59d06d[_0x412abc(0x268)],')')));});var _0x37e8a0=_0x59d06d[_0x481d2d(0x23d)];return!_0x37e8a0||_0x37e8a0[_0x481d2d(0x1b2)]===0x0||(_0xe04e79[_0x481d2d(0x1d6)]===_0x481d2d(0x235)&&_0x30ab49[_0x481d2d(0x19d)]&&(_0x30ab49[_0x481d2d(0x19d)]=_0x30ab49[_0x481d2d(0x19d)]+_0x59d06d[_0x481d2d(0x268)]),Object['entries'](_0x30ab49)[_0x481d2d(0x261)](function(_0x1eda53){const _0x3d77cb=_0x481d2d;var _0x770513=_0x1eda53[0x0],_0x2c1699=_0x1eda53[0x1];typeof _0x2c1699==_0x3d77cb(0x323)&&(_0x30ab49[_0x770513]=_0x2c1699[_0x3d77cb(0x182)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x59d06d[_0x3d77cb(0x268)],')')));})),_0x30ab49;}function Hi(_0x381011,_0x5b3afb){const _0x15ecf9=_0x193aec;var _0x57da2a,_0x3f0dc5=_0x5b3afb[_0x15ecf9(0x23d)];return!_0x3f0dc5||_0x3f0dc5[_0x15ecf9(0x1b2)]===0x0?_0x381011:_0x381011[_0x15ecf9(0x1d6)]==='defs'&&(!((_0x57da2a=_0x381011[_0x15ecf9(0x1ef)])===null||_0x57da2a===void 0x0)&&_0x57da2a[_0x15ecf9(0x1b2)])?v(v({},_0x381011),{'children':_0x381011[_0x15ecf9(0x1ef)][_0x15ecf9(0x169)](function(_0x21bc74){const _0x42964c=_0x15ecf9;return typeof _0x21bc74[_0x42964c(0x2a3)]['id']==_0x42964c(0x323)&&_0x3f0dc5&&_0x3f0dc5[_0x42964c(0x240)](_0x21bc74['attrs']['id'])>-0x1?v(v({},_0x21bc74),{'attrs':v(v({},_0x21bc74['attrs']),{'id':_0x21bc74[_0x42964c(0x2a3)]['id']+_0x5b3afb[_0x42964c(0x268)]})}):_0x21bc74;})}):_0x381011;}function ji(){const _0x4238fb=_0x193aec;return Math[_0x4238fb(0x170)]()['toString'](0x24)[_0x4238fb(0x2be)](0x2,0x8);}je[_0x193aec(0x147)]=_0x193aec(0x317);var Yi={'tag':_0x193aec(0x2e2),'attrs':{'xmlns':_0x193aec(0x2eb),'fill':_0x193aec(0x301),'viewBox':_0x193aec(0x125),'width':'1em','height':_0x193aec(0x2ff)},'children':[{'tag':'g','attrs':{'clipPath':_0x193aec(0x31e)},'children':[{'tag':'path','attrs':{'stroke':_0x193aec(0x211),'d':'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','strokeLinecap':'round','strokeLinejoin':_0x193aec(0x155),'strokeWidth':1.2}}]},{'tag':_0x193aec(0x23f),'attrs':{},'children':[{'tag':_0x193aec(0x23a),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x193aec(0x196),'attrs':{'fill':_0x193aec(0x2cc),'d':_0x193aec(0x295)}}]}]}],'defIds':[_0x193aec(0x2ad)]},Dt=_0x52ec90(function(_0x13da86,_0x20762b){const _0x9174f0=_0x193aec;return _0x22d147(je,Object[_0x9174f0(0x2db)]({},_0x13da86,{'id':_0x9174f0(0x13d),'ref':_0x20762b,'icon':Yi}));});Dt['displayName']=_0x193aec(0x1e9);function _0x5946(_0x238c31,_0x3b16d6){const _0x3b2755=_0x3b27();return _0x5946=function(_0x59468c,_0x3e1220){_0x59468c=_0x59468c-0x124;let _0x1befd2=_0x3b2755[_0x59468c];return _0x1befd2;},_0x5946(_0x238c31,_0x3b16d6);}var Fi={'tag':_0x193aec(0x2e2),'attrs':{'xmlns':_0x193aec(0x2eb),'fill':_0x193aec(0x301),'viewBox':_0x193aec(0x24f),'width':_0x193aec(0x2ff),'height':_0x193aec(0x2ff)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x193aec(0x211),'d':_0x193aec(0x26e),'strokeLinecap':_0x193aec(0x155),'strokeLinejoin':_0x193aec(0x155),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x193aec(0x23a),'attrs':{'id':_0x193aec(0x181)},'children':[{'tag':_0x193aec(0x196),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x193aec(0x2a6)}}]}]}],'defIds':[_0x193aec(0x181)]},Nt=_0x52ec90(function(_0x3b82a0,_0x46466f){return _0x22d147(je,Object['assign']({},_0x3b82a0,{'id':'on-line-icon','ref':_0x46466f,'icon':Fi}));});Nt[_0x193aec(0x147)]=_0x193aec(0x254);function Wi(_0x13ae8f){const _0x5cd394=_0x193aec;switch(_0x13ae8f){case _0x4edef0[_0x5cd394(0x218)]:return _0x5cd394(0x1f6);case _0x4edef0[_0x5cd394(0x154)]:return _0x5cd394(0x1a2);case _0x4edef0[_0x5cd394(0x129)]:return _0x5cd394(0x12c);case _0x4edef0['NOT_COLLAB']:return'collabStatus.notCollab';case _0x4edef0['AWAITING']:case _0x4edef0['AWAITING_WITH_PENDING']:return _0x5cd394(0x2b9);case _0x4edef0[_0x5cd394(0x14e)]:case _0x4edef0['PENDING']:return _0x5cd394(0x16b);}}function Vi(_0x5127df){const _0x263d2c=_0x193aec,{status$:_0x55d335}=_0x5127df,_0xeb82d=_0x37ff18(_0x55d335,_0x4edef0[_0x263d2c(0x287)]),_0x98cf3=_0x182f0c(_0x57d907),_0x29e9a4=_0x182f0c(_0x307ffe),_0x1a2775=_0xeb82d!==_0x4edef0[_0x263d2c(0x218)],_0x43c3fd=_0x98cf3['t'](Wi(_0xeb82d)),_0x243005=_0x1a2775?_0x209764(Nt,{}):_0x209764(Dt,{}),_0x3d65be=_0x2b288f(()=>{const _0x28cbb9=_0x263d2c;_0x1a2775||_0x29e9a4[_0x28cbb9(0x137)]();},[_0x1a2775,_0x29e9a4]);function _0x390ddb(){const _0x4b71cc=_0x263d2c;return _0x378b6a(_0x4b71cc(0x277),{'className':_0x4b71cc(0x13b),'onClick':_0x3d65be,'children':[_0x209764(_0x4b71cc(0x277),{'className':_0x1c5511(_0x4b71cc(0x2f5),{'univer-text-green-500':_0x1a2775,'univer-text-red-500':!_0x1a2775}),'children':_0x243005}),_0x209764(_0x4b71cc(0x277),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x43c3fd})]});}return _0x1a2775?_0x390ddb():_0x209764(_0x533e88,{'title':_0x98cf3['t'](_0x263d2c(0x1f2)),'children':_0x390ddb()});}var Xi=Object[_0x193aec(0x259)],Gi=(_0x3ed65a,_0x202d73,_0x1993c2,_0x91ada0)=>{for(var _0x3043fd=_0x91ada0>0x1?void 0x0:_0x91ada0?Xi(_0x202d73,_0x1993c2):_0x202d73,_0x100b0d=_0x3ed65a['length']-0x1,_0x11356;_0x100b0d>=0x0;_0x100b0d--)(_0x11356=_0x3ed65a[_0x100b0d])&&(_0x3043fd=_0x11356(_0x3043fd)||_0x3043fd);return _0x3043fd;},Q=(_0x5626b8,_0x42ce01)=>(_0x1a0a8e,_0x375b20)=>_0x42ce01(_0x1a0a8e,_0x375b20,_0x5626b8);let te=class extends _0xbd216d{constructor(_0x3fc9e4,_0xfd499a,_0x13db29,_0x1f02c4){const _0x134154=_0x193aec;super(),_(this,_0x134154(0x26c),new _0x1c6c20(_0x4edef0[_0x134154(0x287)])),(this[_0x134154(0x1d5)]=_0x3fc9e4,this[_0x134154(0x2d4)]=_0xfd499a,this[_0x134154(0x226)]=_0x13db29,this[_0x134154(0x324)]=_0x1f02c4,this[_0x134154(0x30a)](),this[_0x134154(0x258)]());}['_initStatusListener'](){const _0x2f99fb=_0x193aec;this[_0x2f99fb(0x171)](this['_univerInstanceService'][_0x2f99fb(0x303)]['pipe'](_0x443430(()=>{const _0x79e237=_0x2f99fb,_0xa1f567=this[_0x79e237(0x1d5)][_0x79e237(0x150)]();return _0xa1f567?this[_0x79e237(0x226)][_0x79e237(0x174)](_0xa1f567[_0x79e237(0x27b)]()):_0x42a69d(null);}),_0x443430(_0x46cd8e=>_0x46cd8e?_0x46cd8e[_0x2f99fb(0x29d)]:_0x42a69d(_0x4edef0[_0x2f99fb(0x287)])))['subscribe'](_0x328fca=>{this['_status$']['next'](_0x328fca);}));}['_initStatusComponent'](){const _0x574c94=_0x193aec;this[_0x574c94(0x171)](this[_0x574c94(0x324)]['registerComponent'](_0x264eb6[_0x574c94(0x127)],()=>_0x400a79(Ki({'status$':this[_0x574c94(0x26c)][_0x574c94(0x2de)]()}),this[_0x574c94(0x2d4)])));}};te=Gi([Q(0x0,_0x14a725),Q(0x1,_0x5562e7(_0x5d7665)),Q(0x2,_0x5562e7(_0x4a6d42)),Q(0x3,_0x4fbd5c)],te);function Ki(_0xd8b16b){const {status$:_0x2b91c5}=_0xd8b16b;return function(){return _0x209764(Vi,{'status$':_0x2b91c5});};}var zi=Object[_0x193aec(0x259)],Ji=(_0x363f29,_0x5d762e,_0x1cc0bd,_0x2ffb61)=>{const _0x5bc55d=_0x193aec;for(var _0x4733f7=_0x2ffb61>0x1?void 0x0:_0x2ffb61?zi(_0x5d762e,_0x1cc0bd):_0x5d762e,_0x3a0b9f=_0x363f29[_0x5bc55d(0x1b2)]-0x1,_0x4ea63e;_0x3a0b9f>=0x0;_0x3a0b9f--)(_0x4ea63e=_0x363f29[_0x3a0b9f])&&(_0x4733f7=_0x4ea63e(_0x4733f7)||_0x4733f7);return _0x4733f7;},B=(_0x1b958d,_0x39784a)=>(_0x1648e4,_0x1e6b66)=>_0x39784a(_0x1648e4,_0x1e6b66,_0x1b958d);let se=class extends _0xbd216d{constructor(_0x3c3930,_0x2fae63,_0x5d78bb,_0x39e67f,_0x3c3691,_0x3580e0){const _0x598ac0=_0x193aec;super(),this[_0x598ac0(0x285)]=_0x3c3930,this['_localCacheService']=_0x2fae63,this['_collaborationUIEventService']=_0x5d78bb,this[_0x598ac0(0x187)]=_0x39e67f,this['_notificationService']=_0x3c3691,this['_localeService']=_0x3580e0,this[_0x598ac0(0x12a)](),this[_0x598ac0(0x216)]();}['_setupBeforeClosingHandler'](){const _0x1ba863=_0x193aec;this[_0x1ba863(0x171)](this[_0x1ba863(0x285)][_0x1ba863(0x165)](()=>{const _0x492163=_0x1ba863;if(this['_localCacheService'][_0x492163(0x265)][_0x492163(0x305)])return this[_0x492163(0x307)]['t'](_0x492163(0x31a));}));}[_0x193aec(0x216)](){const _0x4343bf=_0x193aec;this[_0x4343bf(0x171)](this['_collaborationUIEventService']['event$'][_0x4343bf(0x312)](_0x1ffb85=>{const _0x1ecd73=_0x4343bf;_0x1ffb85['id']===_0x461039[_0x1ecd73(0x253)]&&this[_0x1ecd73(0x187)][_0x1ecd73(0x19b)]({'type':_0x194551[_0x1ecd73(0x28a)],'content':this[_0x1ecd73(0x307)]['t']('collaboration.single-unit.warning')}),_0x1ffb85['id']===_0x461039[_0x1ecd73(0x24e)]&&this[_0x1ecd73(0x187)]['show']({'type':_0x194551['Warning'],'content':this['_localeService']['t'](_0x1ecd73(0x1b1))}),_0x1ffb85['id']===_0x461039[_0x1ecd73(0x1d3)]&&this['_notificationService'][_0x1ecd73(0x19b)]({'title':this['_localeService']['t'](_0x1ecd73(0x2ab)),'content':this[_0x1ecd73(0x307)]['t'](_0x1ecd73(0x291)),'type':_0x1ecd73(0x2b2),'duration':0x0}),_0x1ffb85['id']===_0x461039[_0x1ecd73(0x154)]&&this[_0x1ecd73(0x187)][_0x1ecd73(0x19b)]({'type':_0x194551[_0x1ecd73(0x2c9)],'content':this[_0x1ecd73(0x307)]['t'](_0x1ecd73(0x1b1))+'('+_0x1ffb85[_0x1ecd73(0x1ca)]+')'}),_0x1ffb85['id']===_0x461039[_0x1ecd73(0x2bf)]&&this[_0x1ecd73(0x187)]['show']({'type':_0x194551['Warning'],'content':this[_0x1ecd73(0x307)]['t'](_0x1ffb85['data']||'')}),_0x1ffb85['id']===_0x461039[_0x1ecd73(0x241)]&&this['_messageService'][_0x1ecd73(0x19b)]({'type':_0x194551[_0x1ecd73(0x28a)],'content':this[_0x1ecd73(0x307)]['t'](_0x1ecd73(0x30b))}),_0x1ffb85['id']===_0x461039[_0x1ecd73(0x158)]&&this[_0x1ecd73(0x187)][_0x1ecd73(0x19b)]({'type':_0x194551[_0x1ecd73(0x2c9)],'content':this[_0x1ecd73(0x307)]['t'](_0x1ecd73(0x29f))}),_0x1ffb85['id']===_0x461039[_0x1ecd73(0x281)]&&this[_0x1ecd73(0x187)][_0x1ecd73(0x19b)]({'type':_0x194551[_0x1ecd73(0x2c9)],'content':this[_0x1ecd73(0x307)]['t'](_0x1ecd73(0x1b6))});}));}};se=Ji([B(0x0,_0xbc85b9),B(0x1,_0x20b832),B(0x2,_0x5562e7(_0x3daf9a)),B(0x3,_0x421a38),B(0x4,_0x3b7e9a),B(0x5,_0x5562e7(_0x57d907))],se);const Zi=_0x193aec(0x1e3),et={},Ut=_0x1540fc('uni.network.url-service');var Qi=Object[_0x193aec(0x259)],qi=(_0x468fba,_0xa8aeef,_0x486ed5,_0x24be03)=>{const _0xe5220e=_0x193aec;for(var _0x4225ee=_0x24be03>0x1?void 0x0:_0x24be03?Qi(_0xa8aeef,_0x486ed5):_0xa8aeef,_0x594043=_0x468fba[_0xe5220e(0x1b2)]-0x1,_0x33694c;_0x594043>=0x0;_0x594043--)(_0x33694c=_0x468fba[_0x594043])&&(_0x4225ee=_0x33694c(_0x4225ee)||_0x4225ee);return _0x4225ee;},G=(_0x4f06d1,_0x5e25ed)=>(_0x359d08,_0x79334c)=>_0x5e25ed(_0x359d08,_0x79334c,_0x4f06d1);let ie=class extends _0x16f661{constructor(_0x24ef39,_0x359564,_0x364954,_0x29ea95,_0x347cfb){const _0x27de9b=_0x193aec;super(),this[_0x27de9b(0x1e7)]=_0x24ef39,this[_0x27de9b(0x2bb)]=_0x359564,this[_0x27de9b(0x194)]=_0x364954,this[_0x27de9b(0x296)]=_0x29ea95,_0x347cfb?_0x347cfb==null||_0x347cfb[_0x27de9b(0x2a0)]()[_0x27de9b(0x2bd)](()=>this[_0x27de9b(0x20f)]()):(this[_0x27de9b(0x2bb)][_0x27de9b(0x145)](_0x27de9b(0x278),_0x27de9b(0x2e6)),this[_0x27de9b(0x20f)]());}async[_0x193aec(0x20f)](){const _0x576724=_0x193aec,_0x180ece=this[_0x576724(0x1e7)][_0x576724(0x201)](_0x576724(0x2ee)),_0x349d3a=this[_0x576724(0x1e7)]['getParam'](_0x576724(0x2c6)),_0x5712a4=this[_0x576724(0x1e7)][_0x576724(0x201)](_0x576724(0x2d5));if(!_0x180ece||!_0x349d3a){this[_0x576724(0x2bb)]['debug'](_0x576724(0x278),_0x576724(0x1f3));return;}const _0x196c3d=await this[_0x576724(0x296)][_0x576724(0x2b1)](_0x180ece,Number(_0x349d3a),_0x5712a4);_0x196c3d&&_0x196c3d instanceof _0x1ec27e&&this[_0x576724(0x1aa)](_0x196c3d);}async[_0x193aec(0x1aa)](_0x84ac0f){const _0x1cf5cf=_0x193aec;await this[_0x1cf5cf(0x26d)](_0x84ac0f),_0x84ac0f[_0x1cf5cf(0x139)][_0x1cf5cf(0x26b)](_0x4f9556(this['dispose$']))[_0x1cf5cf(0x312)](_0x30e060=>{const _0x1bfd7c=_0x1cf5cf;_0x30e060&&this[_0x1bfd7c(0x215)](_0x30e060);}),this[_0x1cf5cf(0x1e7)]['urlChange$'][_0x1cf5cf(0x26b)](_0x4f9556(this[_0x1cf5cf(0x2ba)]))[_0x1cf5cf(0x312)](()=>this['_updateSubUnitFromURLParams'](_0x84ac0f));}[_0x193aec(0x215)](_0x50cf1f,_0x581992=!0x1){const _0x3d7a2f=_0x193aec,_0x2942f3=this[_0x3d7a2f(0x1e7)][_0x3d7a2f(0x201)](_0x3d7a2f(0x2d5));_0x50cf1f['getSheetId']()!==_0x2942f3&&this[_0x3d7a2f(0x1e7)][_0x3d7a2f(0x1d8)](_0x3d7a2f(0x2d5),_0x50cf1f[_0x3d7a2f(0x1ad)](),_0x581992);}async[_0x193aec(0x26d)](_0x7267ea){const _0x3e977b=_0x193aec;var _0x4da28b;const _0x1e73a8=this[_0x3e977b(0x1e7)]['getParam']('subunit');if(!_0x1e73a8||!_0x7267ea[_0x3e977b(0x2b5)](_0x1e73a8)){const _0x16ab62=_0x7267ea[_0x3e977b(0x30e)]()[0x0],_0x19e60a=_0x7267ea[_0x3e977b(0x2b5)](_0x16ab62);if(!_0x19e60a)return;this[_0x3e977b(0x215)](_0x19e60a,!0x0),await this[_0x3e977b(0x194)][_0x3e977b(0x162)](_0x84ca92['id'],{'unitId':_0x7267ea[_0x3e977b(0x27b)](),'subUnitId':_0x16ab62});return;}((_0x4da28b=_0x7267ea[_0x3e977b(0x2ca)]())==null?void 0x0:_0x4da28b[_0x3e977b(0x1ad)]())!==_0x1e73a8&&await this[_0x3e977b(0x194)][_0x3e977b(0x162)](_0x84ca92['id'],{'unitId':_0x7267ea[_0x3e977b(0x27b)](),'subUnitId':_0x1e73a8});}};ie=qi([G(0x0,Ut),G(0x1,_0x3bb28b),G(0x2,_0x4f1fe2),G(0x3,_0x5562e7(_0x5a2d1e)),G(0x4,_0x3c3154(_0x490b6a))],ie);var en=Object[_0x193aec(0x259)],tn=(_0x537b4e,_0x2d564a,_0x44b964,_0x458ab2)=>{for(var _0x346683=_0x458ab2>0x1?void 0x0:_0x458ab2?en(_0x2d564a,_0x44b964):_0x2d564a,_0x564d2c=_0x537b4e['length']-0x1,_0x3c40eb;_0x564d2c>=0x0;_0x564d2c--)(_0x3c40eb=_0x537b4e[_0x564d2c])&&(_0x346683=_0x3c40eb(_0x346683)||_0x346683);return _0x346683;},pe=(_0x41797f,_0x35eb89)=>(_0x5d505f,_0x3f1190)=>_0x35eb89(_0x5d505f,_0x3f1190,_0x41797f);let ne=class{constructor(_0x1578ae,_0xcbe054,_0x34c24e){const _0x3218ec=_0x193aec;this['_injector']=_0x1578ae,this[_0x3218ec(0x31d)]=_0xcbe054,this['_renderManagerService']=_0x34c24e;}[_0x193aec(0x24d)](_0x1640a7){const _0x3ac9aa=_0x193aec;this[_0x3ac9aa(0x229)](_0x1640a7),this['_transformPreviousActiveRange'](_0x1640a7);}[_0x193aec(0x28b)](_0x1446ed){const _0xfe35c6=_0x193aec,{unitID:_0x3f48e0}=_0x1446ed,_0x335d93=this[_0xfe35c6(0x144)][_0xfe35c6(0x160)](_0x3f48e0)[_0xfe35c6(0x22e)](_0x122a14),{redoCache:_0x4a703f}=_0x335d93['getUndoRedoMutationParamsCache']();if(_0x4a703f[_0xfe35c6(0x1b2)]===0x0)return _0x1446ed;let _0xc23314=_0x3929d5['deepClone'](_0x1446ed[_0xfe35c6(0x294)][0x0]);for(let _0x3b8c50=0x0;_0x3b8c50<_0x4a703f[_0xfe35c6(0x1b2)];_0x3b8c50++){const _0xcb515e={'id':_0xfe35c6(0x256),'params':{..._0x4a703f[_0x3b8c50]}},_0x57895d=this[_0xfe35c6(0x31d)][_0xfe35c6(0x16e)](_0xc23314,_0xcb515e,!0x1);if(_0x2e30ea(_0x57895d))throw _0x57895d[_0xfe35c6(0x2b2)];_0xc23314=_0x57895d[_0xfe35c6(0x2f9)];}return{..._0x3929d5['deepClone'](_0x1446ed),'mutations':[_0xc23314]};}[_0x193aec(0x229)](_0x2fb133){const _0x5d08be=_0x193aec,{unitID:_0x347765}=_0x2fb133,_0xdf6486=this[_0x5d08be(0x144)][_0x5d08be(0x160)](_0x347765)['with'](_0x122a14),{undoCache:_0x4e04cd,redoCache:_0x1d31b0}=_0xdf6486['getUndoRedoMutationParamsCache']();if(_0x4e04cd[_0x5d08be(0x1b2)]===0x0||_0x1d31b0[_0x5d08be(0x1b2)]===0x0)return;const _0x10f525=[],_0x339631=[];let _0x1c69b7=_0x3929d5['deepClone'](_0x2fb133['mutations'][0x0]),_0x558d53=_0x3929d5[_0x5d08be(0x308)](_0x2fb133[_0x5d08be(0x294)][0x0]);for(let _0x3c302e=_0x4e04cd[_0x5d08be(0x1b2)]-0x1;_0x3c302e>=0x0;_0x3c302e--){const _0x25aaf8={'id':_0x5d08be(0x256),'params':{..._0x4e04cd[_0x3c302e]}},_0x1711f8={'id':_0x5d08be(0x256),'params':{..._0x1d31b0[_0x3c302e]}},_0x5daf6c=this[_0x5d08be(0x31d)]['transformMutation'](_0x1c69b7,_0x25aaf8,!0x1),_0x2ebe62=this[_0x5d08be(0x31d)][_0x5d08be(0x16e)](_0x558d53,_0x1711f8,!0x1);if(_0x2e30ea(_0x5daf6c))throw _0x5daf6c[_0x5d08be(0x2b2)];if(_0x2e30ea(_0x2ebe62))throw _0x2ebe62[_0x5d08be(0x2b2)];_0x10f525['unshift'](_0x5daf6c[_0x5d08be(0x298)][_0x5d08be(0x2c0)]),_0x339631[_0x5d08be(0x302)](_0x2ebe62['m2Prime'][_0x5d08be(0x2c0)]),_0x1c69b7=_0x5daf6c['m1Prime'],_0x558d53=_0x2ebe62[_0x5d08be(0x2f9)];}_0xdf6486['setUndoRedoMutationParamsCache']({'undoCache':_0x10f525,'redoCache':_0x339631});}[_0x193aec(0x163)](_0x1d5747){const _0x55cfa0=_0x193aec,{unitID:_0x42c968}=_0x1d5747,_0x4da95d=this['_renderManagerService'][_0x55cfa0(0x160)](_0x42c968)['with'](_0x122a14),_0x54a5f0=_0x4da95d['getActiveRange']();if(_0x54a5f0==null)return;const _0x477367=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d5747[_0x55cfa0(0x280)],'actions':null,'textRanges':[_0x54a5f0]}}],_0x16cbf8=this[_0x55cfa0(0x31d)]['transformMutationsWithChangeset'](_0x1d5747,_0x477367);if(!_0x18d356(_0x16cbf8))throw _0x16cbf8[_0x55cfa0(0x2b2)];const _0x31dbda=_0x16cbf8[_0x55cfa0(0x298)][0x0][_0x55cfa0(0x2c0)][_0x55cfa0(0x2a4)];Array[_0x55cfa0(0x20b)](_0x31dbda)&&_0x31dbda['length']&&_0x4da95d[_0x55cfa0(0x153)](_0x31dbda[0x0]);}};ne=tn([pe(0x0,_0x5562e7(_0x5d7665)),pe(0x1,_0x15ff0c),pe(0x2,_0xd66e10)],ne);var sn=Object[_0x193aec(0x259)],nn=(_0x508bcf,_0x2e06e4,_0x4a6b6f,_0x5587d2)=>{for(var _0x87fac=_0x5587d2>0x1?void 0x0:_0x5587d2?sn(_0x2e06e4,_0x4a6b6f):_0x2e06e4,_0x4a28e3=_0x508bcf['length']-0x1,_0xa39193;_0x4a28e3>=0x0;_0x4a28e3--)(_0xa39193=_0x508bcf[_0x4a28e3])&&(_0x87fac=_0xa39193(_0x87fac)||_0x87fac);return _0x87fac;},Ce=(_0x43c51b,_0x367d6f)=>(_0x126174,_0x3737f1)=>_0x367d6f(_0x126174,_0x3737f1,_0x43c51b);let re=class{constructor(_0x22e8a7,_0x2974c0,_0x58d446){const _0x4bc1fe=_0x193aec;this[_0x4bc1fe(0x2d4)]=_0x22e8a7,this[_0x4bc1fe(0x31d)]=_0x2974c0,this[_0x4bc1fe(0x1ce)]=_0x58d446;}[_0x193aec(0x1f5)](_0xeb64dd){const _0x5f451d=_0x193aec;this[_0x5f451d(0x30d)](_0xeb64dd);}[_0x193aec(0x28b)](_0x44aa41){const _0x1cef32=_0x193aec,{unitID:_0x14cde6}=_0x44aa41,{collaboration:_0xd23c3}=this[_0x1cef32(0x1ce)]['getStateCache'](_0x14cde6);if(_0xd23c3['length']===0x0)return _0x44aa41;let _0x59e90c=_0x3929d5[_0x1cef32(0x308)](_0x44aa41['mutations'][0x0]);for(let _0x3b2166=0x0;_0x3b2166<_0xd23c3[_0x1cef32(0x1b2)];_0x3b2166++){const _0x339b8a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xd23c3[_0x3b2166][_0x1cef32(0x2dc)],..._0xd23c3[_0x3b2166][_0x1cef32(0x17c)]}},_0x28d62b=this['_transformService']['transformMutation'](_0x59e90c,_0x339b8a,!0x1);if(_0x2e30ea(_0x28d62b))throw _0x28d62b['error'];_0x59e90c=_0x28d62b[_0x1cef32(0x2f9)];}return{..._0x3929d5['deepClone'](_0x44aa41),'mutations':[_0x59e90c]};}[_0x193aec(0x30d)](_0x499be2){const _0x336558=_0x193aec,{unitID:_0x550421}=_0x499be2,{history:_0x5f5997,collaboration:_0xafa5ca}=this[_0x336558(0x1ce)]['getStateCache'](_0x550421);if(_0x5f5997[_0x336558(0x1b2)]===0x0&&_0xafa5ca[_0x336558(0x1b2)]===0x0)return;const _0x30c21e=[],_0x1ba0a5=[];let _0x499af3=_0x3929d5[_0x336558(0x308)](_0x499be2[_0x336558(0x294)][0x0]),_0x4c7b31=_0x3929d5[_0x336558(0x308)](_0x499be2['mutations'][0x0]);for(let _0x214298=_0x5f5997[_0x336558(0x1b2)]-0x1;_0x214298>=0x0;_0x214298--){const _0xdeca02={'id':_0x336558(0x256),'params':{'unitId':_0x5f5997[_0x214298][_0x336558(0x2dc)],..._0x5f5997[_0x214298][_0x336558(0x2cf)]}},_0x42e68e={'id':_0x336558(0x256),'params':{'unitId':_0x5f5997[_0x214298][_0x336558(0x2dc)],..._0x5f5997[_0x214298][_0x336558(0x17c)]}},_0x29c06f=this[_0x336558(0x31d)][_0x336558(0x16e)](_0x499af3,_0xdeca02,!0x1),_0x2809cb=this[_0x336558(0x31d)][_0x336558(0x16e)](_0x4c7b31,_0x42e68e,!0x1);if(_0x2e30ea(_0x29c06f))throw _0x29c06f[_0x336558(0x2b2)];if(_0x2e30ea(_0x2809cb))throw _0x2809cb[_0x336558(0x2b2)];_0x30c21e[_0x336558(0x302)]({..._0x5f5997[_0x214298],'undoState':_0x29c06f[_0x336558(0x298)]['params'],'redoState':_0x2809cb[_0x336558(0x298)][_0x336558(0x2c0)]}),_0x499af3=_0x29c06f[_0x336558(0x2f9)],_0x4c7b31=_0x2809cb[_0x336558(0x2f9)];}_0x499af3=_0x3929d5[_0x336558(0x308)](_0x499be2['mutations'][0x0]),_0x4c7b31=_0x3929d5[_0x336558(0x308)](_0x499be2[_0x336558(0x294)][0x0]);for(let _0x1cf814=_0xafa5ca[_0x336558(0x1b2)]-0x1;_0x1cf814>=0x0;_0x1cf814--){const _0x2a4856={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xafa5ca[_0x1cf814][_0x336558(0x2dc)],..._0xafa5ca[_0x1cf814][_0x336558(0x2cf)]}},_0x4724a5={'id':_0x336558(0x256),'params':{'unitId':_0xafa5ca[_0x1cf814][_0x336558(0x2dc)],..._0xafa5ca[_0x1cf814][_0x336558(0x17c)]}},_0x3d4e64=this['_transformService'][_0x336558(0x16e)](_0x499af3,_0x2a4856,!0x1),_0x3caa22=this['_transformService'][_0x336558(0x16e)](_0x4c7b31,_0x4724a5,!0x1);if(_0x2e30ea(_0x3d4e64))throw _0x3d4e64['error'];if(_0x2e30ea(_0x3caa22))throw _0x3caa22[_0x336558(0x2b2)];_0x1ba0a5[_0x336558(0x302)]({..._0xafa5ca[_0x1cf814],'undoState':_0x3d4e64[_0x336558(0x298)][_0x336558(0x2c0)],'redoState':_0x3caa22[_0x336558(0x298)]['params']}),_0x499af3=_0x3d4e64[_0x336558(0x2f9)],_0x4c7b31=_0x3caa22['m1Prime'];}this[_0x336558(0x1ce)][_0x336558(0x23e)](_0x550421,{'history':_0x30c21e,'collaboration':_0x1ba0a5});}};re=nn([Ce(0x0,_0x5562e7(_0x5d7665)),Ce(0x1,_0x15ff0c),Ce(0x2,_0x5562e7(_0x712931))],re);var rn=Object[_0x193aec(0x259)],on=(_0x56d2c3,_0x44f26c,_0x52a129,_0x379263)=>{const _0x39e00a=_0x193aec;for(var _0x279cd7=_0x379263>0x1?void 0x0:_0x379263?rn(_0x44f26c,_0x52a129):_0x44f26c,_0x5848fc=_0x56d2c3[_0x39e00a(0x1b2)]-0x1,_0x384da4;_0x5848fc>=0x0;_0x5848fc--)(_0x384da4=_0x56d2c3[_0x5848fc])&&(_0x279cd7=_0x384da4(_0x279cd7)||_0x279cd7);return _0x279cd7;},tt=(_0xd5266b,_0x26b996)=>(_0xb2255f,_0x2fd7f6)=>_0x26b996(_0xb2255f,_0x2fd7f6,_0xd5266b);let oe=class{constructor(_0x5a0f8e,_0x103484){const _0x431d36=_0x193aec;this[_0x431d36(0x2d4)]=_0x5a0f8e,this[_0x431d36(0x31d)]=_0x103484;}[_0x193aec(0x289)](_0x502a7e){const _0x300a26=_0x193aec;var _0x485289;const _0x5d3a84=this[_0x300a26(0x2d4)][_0x300a26(0x202)](_0x1d2394),_0x59e293=(_0x485289=_0x5d3a84[_0x300a26(0x21d)]())!=null?_0x485289:[];if(_0x59e293[_0x300a26(0x1b2)]===0x0)return;const _0x5d9c5d=_0x502a7e[_0x300a26(0x280)],_0x3f34d4=[{'id':_0x300a26(0x256),'params':{'unitId':_0x5d9c5d,'actions':null,'textRanges':_0x59e293}}],_0x33378a=this[_0x300a26(0x31d)][_0x300a26(0x2d8)](_0x502a7e,_0x3f34d4);if(!_0x18d356(_0x33378a))throw _0x33378a['error'];const _0x497836=_0x33378a[_0x300a26(0x298)][0x0][_0x300a26(0x2c0)]['textRanges'];Array['isArray'](_0x497836)&&_0x497836[_0x300a26(0x1b2)]&&_0x5d3a84['replaceDocRanges'](_0x497836,{'unitId':_0x5d9c5d,'subUnitId':_0x5d9c5d},!0x1);}};oe=on([tt(0x0,_0x5562e7(_0x5d7665)),tt(0x1,_0x15ff0c)],oe);var an=Object[_0x193aec(0x259)],cn=(_0x16db03,_0x7ba937,_0x31eea0,_0x100ccc)=>{const _0x53f2a7=_0x193aec;for(var _0x1e191b=_0x100ccc>0x1?void 0x0:_0x100ccc?an(_0x7ba937,_0x31eea0):_0x7ba937,_0xa84298=_0x16db03[_0x53f2a7(0x1b2)]-0x1,_0x514523;_0xa84298>=0x0;_0xa84298--)(_0x514523=_0x16db03[_0xa84298])&&(_0x1e191b=_0x514523(_0x1e191b)||_0x1e191b);return _0x1e191b;},U=(_0x2c7a78,_0x1522de)=>(_0x502d97,_0x406bc5)=>_0x1522de(_0x502d97,_0x406bc5,_0x2c7a78);let ae=class extends _0xbd216d{constructor(_0x2df96d,_0x1b3df9,_0x25eab6,_0x40468d,_0x3733f6,_0x5728f9,_0x3d2139,_0x19de00){const _0x2a39a6=_0x193aec;super(),_(this,_0x2a39a6(0x26c),new _0x1c6c20(_0x4edef0[_0x2a39a6(0x287)])),(this[_0x2a39a6(0x1ce)]=_0x2df96d,this[_0x2a39a6(0x226)]=_0x1b3df9,this[_0x2a39a6(0x205)]=_0x25eab6,this['_docTransformStateCacheService']=_0x40468d,this[_0x2a39a6(0x2d1)]=_0x3733f6,this[_0x2a39a6(0x142)]=_0x5728f9,this['_messageService']=_0x3d2139,this[_0x2a39a6(0x307)]=_0x19de00,this[_0x2a39a6(0x227)]());}[_0x193aec(0x227)](){const _0x2229e6=_0x193aec;this['disposeWithMe'](this['_collaborationController']['entityInit$'][_0x2229e6(0x312)](_0x2e4c98=>{const _0x1c7bbe=_0x2229e6,_0x2ed330=this[_0x1c7bbe(0x1ce)][_0x1c7bbe(0x27e)][_0x1c7bbe(0x312)](_0x38f862=>{const _0x2949a1=_0x1c7bbe;if(_0x38f862==null)return;const {unitId:_0x224959,redoState:_0x3dc793,commandId:_0x5d541f}=_0x38f862;if(_0x224959!==_0x2e4c98[_0x2949a1(0x280)])return;const _0xd8a0ae={'id':_0x5d541f,'type':_0x5af747[_0x2949a1(0x15d)],'params':{'unitId':_0x224959,'actions':_0x3dc793[_0x2949a1(0x1cb)],'textRanges':null}};_0x2e4c98[_0x2949a1(0x1a9)](_0xd8a0ae);});if(_0x2e4c98[_0x1c7bbe(0x171)](_0x2ed330),_0x2e4c98 instanceof _0x3baafc){const _0x4f3d34={'onTransformIME':_0x45164c=>this[_0x1c7bbe(0x205)][_0x1c7bbe(0x24d)](_0x45164c),'onTransformState':_0x1b81c3=>this[_0x1c7bbe(0x311)][_0x1c7bbe(0x1f5)](_0x1b81c3),'onTransformSelections':_0x32d206=>this['_docTransformSelectionsService'][_0x1c7bbe(0x289)](_0x32d206),'onSyncEditingCollabCursor':_0x40cd10=>this['_docSyncEditingCollabCursorService'][_0x1c7bbe(0x231)](_0x40cd10),'onTransformRemoteChangesetByIMECache':_0x2327bf=>this['_docTransformIMECacheService'][_0x1c7bbe(0x28b)](_0x2327bf),'onTransformRemoteChangesetByStateCache':_0x48c544=>this['_docTransformStateCacheService'][_0x1c7bbe(0x28b)](_0x48c544)};_0x2e4c98[_0x1c7bbe(0x313)](_0x4f3d34);}}));}};ae=cn([U(0x0,_0x5562e7(_0x712931)),U(0x1,_0x5562e7(_0x4a6d42)),U(0x2,_0x5562e7(ne)),U(0x3,_0x5562e7(re)),U(0x4,_0x5562e7(oe)),U(0x5,_0x5562e7(He)),U(0x6,_0x421a38),U(0x7,_0x5562e7(_0x57d907))],ae);var ln=Object[_0x193aec(0x259)],_n=(_0x44fda6,_0x20565,_0x1f90de,_0x455f5)=>{const _0x7001c8=_0x193aec;for(var _0x5406da=_0x455f5>0x1?void 0x0:_0x455f5?ln(_0x20565,_0x1f90de):_0x20565,_0x587d9f=_0x44fda6[_0x7001c8(0x1b2)]-0x1,_0x4ea633;_0x587d9f>=0x0;_0x587d9f--)(_0x4ea633=_0x44fda6[_0x587d9f])&&(_0x5406da=_0x4ea633(_0x5406da)||_0x5406da);return _0x5406da;},Ee=(_0x13f6b5,_0x4e386f)=>(_0x30e51c,_0x3c0e4b)=>_0x4e386f(_0x30e51c,_0x3c0e4b,_0x13f6b5);let Le=class extends _0xbd216d{constructor(_0x24429e,_0x3ad0dc,_0x4f8699){const _0x5f0140=_0x193aec;super(),_(this,_0x5f0140(0x263),new Map()),_(this,_0x5f0140(0x310),new Map()),_(this,'_disabled',!0x1),(this[_0x5f0140(0x1c9)]=_0x24429e,this[_0x5f0140(0x321)]=_0x3ad0dc,this['_revisionService']=_0x4f8699);}[_0x193aec(0x1dd)](){this['_disabled']=!0x0;}[_0x193aec(0x20d)](){const _0x17f771=_0x193aec;this[_0x17f771(0x2b3)]=!0x1;}get[_0x193aec(0x265)](){const _0x2486d1=_0x193aec;return this[_0x2486d1(0x310)];}[_0x193aec(0x1a0)](){const _0x4f28ad=_0x193aec;this[_0x4f28ad(0x2df)]()[_0x4f28ad(0x2bd)](()=>super['dispose']());}async[_0x193aec(0x172)](_0x3d0d47){const _0x56f756=_0x193aec;return this[_0x56f756(0x2b3)]?null:this[_0x56f756(0x321)][_0x56f756(0x22a)](_0x221573(_0x3d0d47));}async[_0x193aec(0x243)](_0x1928c9,_0x25f7e7){const _0x37bd1d=_0x193aec;return!!this[_0x37bd1d(0x321)][_0x37bd1d(0x2c1)](_0x1928c9,_0x25f7e7);}[_0x193aec(0x2a7)](_0x330614,_0x281274,_0x446487,_0x35957f){const _0x2ee56f=_0x193aec,_0x4fc785=this['_revisionService']['getCurrentRevOfUnit'](_0x330614);this[_0x2ee56f(0x263)][_0x2ee56f(0x12d)](_0x330614,{'unitID':_0x330614,'type':_0x281274,'awaitingChangeset':_0x446487,'mutations':_0x35957f,'rev':_0x4fc785}),this[_0x2ee56f(0x310)]['has'](_0x330614)||this[_0x2ee56f(0x1d1)](_0x330614);}['_scheduleSaving'](_0x255fc7){const _0x414c80=_0x193aec,_0x407e42=this[_0x414c80(0x152)]();_0x407e42===0x0?this[_0x414c80(0x1a3)](_0x255fc7):this[_0x414c80(0x310)]['set'](_0x255fc7,setTimeout(()=>this[_0x414c80(0x1a3)](_0x255fc7),_0x407e42));}[_0x193aec(0x152)](){const _0x4a6f31=_0x193aec;var _0x3d419b;return(_0x3d419b=this[_0x4a6f31(0x1c9)][_0x4a6f31(0x1df)](_0x2cf44f))!=null?_0x3d419b:_0x494d26;}[_0x193aec(0x1a3)](_0x2fe82e){const _0x157d2d=_0x193aec,_0xc07f89=this[_0x157d2d(0x310)][_0x157d2d(0x202)](_0x2fe82e);return _0xc07f89!==void 0x0&&window[_0x157d2d(0x146)](_0xc07f89),this[_0x157d2d(0x321)][_0x157d2d(0x2c1)](_0x221573(_0x2fe82e),this['_cachedData'][_0x157d2d(0x202)](_0x2fe82e))[_0x157d2d(0x2bd)](()=>this[_0x157d2d(0x310)]['delete'](_0x2fe82e));}async['exhaustSavingTask'](){const _0x53137d=_0x193aec,_0x4842a=[];this[_0x53137d(0x310)][_0x53137d(0x261)]((_0x32667b,_0x22b2f2)=>{const _0xe258a=_0x53137d;window[_0xe258a(0x146)](_0x32667b),_0x4842a['push'](this[_0xe258a(0x1a3)](_0x22b2f2)[_0xe258a(0x2bd)](()=>{const _0x3c88fc=_0xe258a;this[_0x3c88fc(0x310)][_0x3c88fc(0x203)](_0x22b2f2);}));}),await Promise[_0x53137d(0x1e0)](_0x4842a);}};Le=_n([Ee(0x0,_0x42dae1),Ee(0x1,_0x33a67a),Ee(0x2,_0x5562e7(_0x2c818f))],Le);class hn extends _0x16f661{constructor(){const _0x4832fd=_0x193aec;super(),_(this,_0x4832fd(0x2c4)),this[_0x4832fd(0x2c4)]=_0x5f0e58(window,_0x4832fd(0x20a))[_0x4832fd(0x26b)](_0x4f9556(this[_0x4832fd(0x2ba)]),_0x268732(0x1),_0x419935(void 0x0));}[_0x193aec(0x1d8)](_0x35d155,_0x5c87a8,_0x26512b=!0x1){const _0x2cfad1=_0x193aec,_0xfb091b=new URL(window[_0x2cfad1(0x1d9)]['href']);_0xfb091b['searchParams'][_0x2cfad1(0x12d)](_0x35d155,_0x5c87a8),_0x26512b?window[_0x2cfad1(0x13a)]['replaceState']('','',_0xfb091b[_0x2cfad1(0x192)]()):window[_0x2cfad1(0x13a)][_0x2cfad1(0x17e)]('','',_0xfb091b[_0x2cfad1(0x192)]());}[_0x193aec(0x1dc)](_0xba2883,_0x520fb8=!0x1){const _0x2fe9a5=_0x193aec,_0x6f13de=new URL(window['location'][_0x2fe9a5(0x1ae)]);_0x6f13de[_0x2fe9a5(0x237)][_0x2fe9a5(0x203)](_0xba2883),_0x520fb8?window[_0x2fe9a5(0x13a)][_0x2fe9a5(0x2ed)]('','',_0x6f13de['toString']()):window[_0x2fe9a5(0x13a)][_0x2fe9a5(0x17e)]('','',_0x6f13de[_0x2fe9a5(0x192)]());}[_0x193aec(0x201)](_0x3e933b){const _0x7ad0b4=_0x193aec;var _0x53573a;return(_0x53573a=new URL(window[_0x7ad0b4(0x1d9)][_0x7ad0b4(0x1ae)])[_0x7ad0b4(0x237)][_0x7ad0b4(0x202)](_0x3e933b))!=null?_0x53573a:void 0x0;}}var un=Object[_0x193aec(0x21f)],dn=Object[_0x193aec(0x259)],fn=(_0x56fcf0,_0x4b8e58,_0x1f30a2)=>_0x4b8e58 in _0x56fcf0?un(_0x56fcf0,_0x4b8e58,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f30a2}):_0x56fcf0[_0x4b8e58]=_0x1f30a2,Sn=(_0x5a87f8,_0x270d8b,_0x1768f4,_0x25785a)=>{for(var _0x3dbe61=_0x25785a>0x1?void 0x0:_0x25785a?dn(_0x270d8b,_0x1768f4):_0x270d8b,_0x49ef13=_0x5a87f8['length']-0x1,_0x379eab;_0x49ef13>=0x0;_0x49ef13--)(_0x379eab=_0x5a87f8[_0x49ef13])&&(_0x3dbe61=_0x379eab(_0x3dbe61)||_0x3dbe61);return _0x3dbe61;},Oe=(_0x16c756,_0x4ff973)=>(_0x187bcc,_0x2d6bfe)=>_0x4ff973(_0x187bcc,_0x2d6bfe,_0x16c756),mn=(_0x3cd095,_0x57cf23,_0x53261e)=>fn(_0x3cd095,_0x57cf23+'',_0x53261e);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x25c120{constructor(_0x310178=et,_0xc7155b,_0x2702cc,_0x171bd9){const _0x3216fc=_0x193aec;super(),this['_config']=_0x310178,this[_0x3216fc(0x144)]=_0xc7155b,this[_0x3216fc(0x2d4)]=_0x2702cc,this[_0x3216fc(0x1c9)]=_0x171bd9;const {..._0x419173}=_0x14593e({},et,this[_0x3216fc(0x1b7)]);this[_0x3216fc(0x1c9)][_0x3216fc(0x1b9)](Zi,_0x419173);}[_0x193aec(0x1b5)](){const _0x5772f1=_0x193aec;this[_0x5772f1(0x134)](),this['_initDependencies']();}['onRendered'](){this['_registerRenderDependencies']();}[_0x193aec(0x134)](){const _0x5606e8=_0x193aec;var _0x3926a3;const _0x3213f7=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x2c59ad,{'useClass':_0x55b5b3}],[_0x20b832,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x2136db(this[_0x5606e8(0x2d4)],_0x427a80(_0x3213f7,(_0x3926a3=this[_0x5606e8(0x1b7)])==null?void 0x0:_0x3926a3[_0x5606e8(0x133)]));}[_0x193aec(0x2c5)](){const _0x1b5b14=_0x193aec;this[_0x1b5b14(0x171)](this[_0x1b5b14(0x144)][_0x1b5b14(0x292)](_0x32a01e[_0x1b5b14(0x2a1)],[we])),this['disposeWithMe'](this[_0x1b5b14(0x144)]['registerRenderModule'](_0x32a01e[_0x1b5b14(0x1d0)],[Pe]));}[_0x193aec(0x309)](){const _0x1d98fb=_0x193aec;_0x244f3c(this[_0x1d98fb(0x2d4)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x193aec(0x239),In),Ae=Sn([_0x2d8f64(_0x3c2564),Oe(0x1,_0xd66e10),Oe(0x2,_0x5562e7(_0x5d7665)),Oe(0x3,_0x42dae1)],Ae);var gn=Object[_0x193aec(0x259)],vn=(_0x1bfbb4,_0x128a3e,_0x210a21,_0x44f1fc)=>{const _0x4f5743=_0x193aec;for(var _0x77ea3=_0x44f1fc>0x1?void 0x0:_0x44f1fc?gn(_0x128a3e,_0x210a21):_0x128a3e,_0x198a40=_0x1bfbb4[_0x4f5743(0x1b2)]-0x1,_0x4e7d10;_0x198a40>=0x0;_0x198a40--)(_0x4e7d10=_0x1bfbb4[_0x198a40])&&(_0x77ea3=_0x4e7d10(_0x77ea3)||_0x77ea3);return _0x77ea3;},K=(_0x4543e9,_0x98254c)=>(_0x52b759,_0x8b606f)=>_0x98254c(_0x52b759,_0x8b606f,_0x4543e9);let st=class extends _0x464948{constructor(_0x3caa84,_0xb74bda,_0x3d285c,_0x3ae062,_0x3474a8){super(_0x3caa84,_0xb74bda,_0x3d285c,_0x3ae062,_0x3474a8);}async[_0x193aec(0x2e9)](_0x1e0330){const _0x453960=_0x193aec,_0xfcb378=await this[_0x453960(0x293)](),_0x5f59ac=this[_0x453960(0x141)](_0x1e0330,_0xfcb378);return this[_0x453960(0x175)](_0x5f59ac);}[_0x193aec(0x141)](_0x1fba79,_0x239575){const _0x5437ae=_0x193aec,_0x2e7d12=typeof window>'u'?new URL(_0x1fba79):new URL(_0x1fba79,window[_0x5437ae(0x1d9)][_0x5437ae(0x271)]);_0x2e7d12[_0x5437ae(0x237)][_0x5437ae(0x12d)](_0x5437ae(0x30c),_0x239575);const _0x1d16fc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5437ae(0x1d9)][_0x5437ae(0x290)]);return _0x1d16fc[_0x5437ae(0x202)](_0x5437ae(0x1e8))&&_0x2e7d12[_0x5437ae(0x237)][_0x5437ae(0x12d)](_0x5437ae(0x1e8),_0x1d16fc[_0x5437ae(0x202)](_0x5437ae(0x1e8))),_0x2e7d12[_0x5437ae(0x192)]();}async['_getSessionTicket'](){const _0x9902b6=_0x193aec;var _0x349dc5,_0x4f0fd7,_0x36d711;const _0x1a0af0=this[_0x9902b6(0x1c9)][_0x9902b6(0x1df)](_0x4f03a5),_0x4d57b8=(_0x349dc5=_0x1a0af0==null?void 0x0:_0x1a0af0[_0x9902b6(0x1da)])!=null?_0x349dc5:_0x130e45;return(_0x36d711=(_0x4f0fd7=(await this['_httpService']['get'](_0x4d57b8,{'headers':{'Content-Type':_0x9902b6(0x17a)}}))[_0x9902b6(0x159)])==null?void 0x0:_0x4f0fd7[_0x9902b6(0x299)])!=null?_0x36d711:'';}};st=vn([K(0x0,_0x5562e7(_0x5d7665)),K(0x1,_0x5562e7(_0x809f14)),K(0x2,_0x42dae1),K(0x3,_0x3bb28b),K(0x4,_0x181e9d)],st);const it=0x7530,nt=_0x193aec(0x225);class jn extends _0xbd216d{constructor(){const _0x4df951=_0x193aec;super(),_(this,'_id',_0x163e40()),_(this,'_selfUnitIDs',new Set()),_(this,_0x4df951(0x31b),new Map()),_(this,_0x4df951(0x14b),null),_(this,_0x4df951(0x1e4),new Map()),_(this,_0x4df951(0x18a),new Map()),this['_init']();}[_0x193aec(0x1a0)](){const _0x5def37=_0x193aec;super[_0x5def37(0x1a0)](),this[_0x5def37(0x1e4)][_0x5def37(0x261)]((_0x1735c1,_0x5a6461)=>this[_0x5def37(0x178)](_0x5a6461)),this[_0x5def37(0x14b)]&&window[_0x5def37(0x251)](this[_0x5def37(0x14b)]);}[_0x193aec(0x236)](_0x11fc32){const _0x399353=_0x193aec;return this['_ensureSubject'](_0x11fc32)[_0x399353(0x26b)](_0x5409e4());}[_0x193aec(0x1e5)](_0x24fa6f){const _0x3064cb=_0x193aec;this['_selfUnitIDs'][_0x3064cb(0x305)]===0x0&&this[_0x3064cb(0x220)](),this['_selfUnitIDs']['add'](_0x24fa6f),this['_send']({'type':0x0,'memberID':this[_0x3064cb(0x2f0)],'unitIDs':[_0x24fa6f],'isForwarded':!0x1});}['disposeUnit'](_0x4853e0){const _0x10c977=_0x193aec;this[_0x10c977(0x264)][_0x10c977(0x203)](_0x4853e0),this['_selfUnitIDs'][_0x10c977(0x305)]===0x0&&this[_0x10c977(0x14b)]&&window[_0x10c977(0x251)](this[_0x10c977(0x14b)]);}['_init'](){const _0xa85590=_0x193aec;this['disposeWithMe'](_0x37fdfd(_0x5f0e58(window,_0xa85590(0x17b))['subscribe'](_0x455aa8=>{const _0x3c7650=_0xa85590;if(_0x455aa8['key']!==nt||!_0x455aa8['newValue'])return;const _0x124780=JSON['parse'](_0x455aa8[_0x3c7650(0x242)]);this[_0x3c7650(0x276)](_0x124780);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0xa85590(0x2f0)],'unitIDs':Array[_0xa85590(0x208)](this[_0xa85590(0x264)])}));}[_0x193aec(0x276)](_0x2d3e7a){const _0x3df77c=_0x193aec;switch(_0x2d3e7a[_0x3df77c(0x2c6)]){case 0x0:this['_handleJoinEvent'](_0x2d3e7a);break;case 0x1:this[_0x3df77c(0x17f)](_0x2d3e7a);break;case 0x2:this[_0x3df77c(0x28e)](_0x2d3e7a);break;}}['_handleJoinEvent'](_0x291186){const _0x4fb68c=_0x193aec,{unitIDs:_0x3c84d9,memberID:_0x1cca5c,isForwarded:_0xd92570}=_0x291186;_0x3c84d9['forEach'](_0x41e575=>{const _0x167507=_0x5946;if(!_0xd92570&&this[_0x167507(0x31b)][_0x167507(0x25d)](_0x41e575)&&this[_0x167507(0x19f)](_0x41e575)['next'](_0x25bd48['OTHER_CLIENTS_EDITING']),!this[_0x167507(0x31b)][_0x167507(0x25d)](_0x41e575)||!this[_0x167507(0x31b)]['get'](_0x41e575)[_0x167507(0x25d)](_0x1cca5c)){const _0x138de3=this['_unitOnClients'][_0x167507(0x202)](_0x41e575)||new Set();_0x138de3[_0x167507(0x186)](_0x1cca5c),this[_0x167507(0x31b)]['set'](_0x41e575,_0x138de3),this[_0x167507(0x315)](_0x1cca5c);}}),_0xd92570||this[_0x4fb68c(0x1c0)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x193aec(0x315)](_0x30c8db){const _0x451b26=_0x193aec;this[_0x451b26(0x178)](_0x30c8db);const _0x21ee1a=window[_0x451b26(0x1ea)](()=>{const _0x140cdb=_0x451b26;this['_unitOnClients'][_0x140cdb(0x261)](_0x3e89d9=>{const _0x49a1c5=_0x140cdb;_0x3e89d9[_0x49a1c5(0x203)](_0x30c8db);});},it*0x2);this['_clearOtherTimers'][_0x451b26(0x12d)](_0x30c8db,_0x21ee1a);}[_0x193aec(0x178)](_0x43648d){const _0x16fd70=_0x193aec;if(this[_0x16fd70(0x1e4)][_0x16fd70(0x25d)](_0x43648d)){const _0x11b183=this['_clearOtherTimers']['get'](_0x43648d);_0x11b183&&window[_0x16fd70(0x146)](_0x11b183),this['_clearOtherTimers'][_0x16fd70(0x12d)](_0x43648d,null);}}[_0x193aec(0x17f)](_0x1d74a7){const {memberID:_0x10e625,unitIDs:_0x15a21b}=_0x1d74a7;_0x15a21b['forEach'](_0x1ff4a9=>{const _0x772380=_0x5946;var _0x1706e3;const _0x26f03b=this['_unitOnClients']['get'](_0x1ff4a9);_0x26f03b&&(_0x26f03b[_0x772380(0x203)](_0x10e625),(_0x1706e3=this[_0x772380(0x19f)](_0x1ff4a9))==null||_0x1706e3['next'](_0x26f03b[_0x772380(0x305)]===0x0?_0x25bd48[_0x772380(0x2d9)]:_0x25bd48['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x10e625);}[_0x193aec(0x28e)](_0x1300fe){const _0x476899=_0x193aec;this[_0x476899(0x315)](_0x1300fe[_0x476899(0x26a)]);}[_0x193aec(0x1c0)](_0x3dd45e){const _0x5bd7e0=_0x193aec;localStorage['setItem'](nt,JSON[_0x5bd7e0(0x222)](_0x3dd45e));}[_0x193aec(0x220)](){const _0x76f9d2=_0x193aec;this[_0x76f9d2(0x14b)]=window[_0x76f9d2(0x1f7)](()=>{const _0x1bd82a=_0x76f9d2;this['_send']({'type':0x2,'memberID':this[_0x1bd82a(0x2f0)]});},it);}[_0x193aec(0x19f)](_0x2d1427){const _0x3c16f1=_0x193aec;return this[_0x3c16f1(0x18a)]['has'](_0x2d1427)||this[_0x3c16f1(0x18a)]['set'](_0x2d1427,new _0x1c6c20(_0x25bd48[_0x3c16f1(0x2d9)])),this[_0x3c16f1(0x18a)][_0x3c16f1(0x202)](_0x2d1427);}}var Mt=(_0x1e8c14=>(_0x1e8c14[_0x1e8c14[_0x193aec(0x23b)]=0x0]=_0x193aec(0x23b),_0x1e8c14[_0x1e8c14['OK']=0x1]='OK',_0x1e8c14[_0x1e8c14[_0x193aec(0x1b3)]=0x2]=_0x193aec(0x1b3),_0x1e8c14[_0x1e8c14['PERMISSION_DENIED']=0x3]=_0x193aec(0x1d3),_0x1e8c14[_0x1e8c14[_0x193aec(0x1cf)]=0x4]=_0x193aec(0x1cf),_0x1e8c14[_0x1e8c14['UNAUTHENTICATED']=0x5]=_0x193aec(0x15a),_0x1e8c14[_0x1e8c14[_0x193aec(0x22d)]=0x6]=_0x193aec(0x22d),_0x1e8c14[_0x1e8c14[_0x193aec(0x22f)]=0x7]='INVALID_ARGUMENT',_0x1e8c14[_0x1e8c14[_0x193aec(0x2f4)]=0x8]='TOO_MANY_REQUESTS',_0x1e8c14[_0x1e8c14[_0x193aec(0x156)]=0x9]='COMPLETION_FINISHED',_0x1e8c14[_0x1e8c14['LOGIN_FAILED']=0xa]=_0x193aec(0x266),_0x1e8c14[_0x1e8c14['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x193aec(0x249),_0x1e8c14[_0x1e8c14[_0x193aec(0x238)]=0x1771]=_0x193aec(0x238),_0x1e8c14[_0x1e8c14[_0x193aec(0x2f2)]=0x1772]=_0x193aec(0x2f2),_0x1e8c14[_0x1e8c14[_0x193aec(0x1b8)]=0x1773]=_0x193aec(0x1b8),_0x1e8c14[_0x1e8c14[_0x193aec(0x1bd)]=0x1b59]=_0x193aec(0x1bd),_0x1e8c14[_0x1e8c14[_0x193aec(0x2bc)]=0x1b5a]=_0x193aec(0x2bc),_0x1e8c14[_0x1e8c14['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1e8c14[_0x1e8c14[_0x193aec(0x12e)]=0x1b5c]=_0x193aec(0x12e),_0x1e8c14[_0x1e8c14[_0x193aec(0x18f)]=0x1b5d]='APPLY_DUPLICATED',_0x1e8c14[_0x1e8c14[_0x193aec(0x29a)]=0x1f41]=_0x193aec(0x29a),_0x1e8c14[_0x1e8c14[_0x193aec(0x21c)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1e8c14[_0x1e8c14['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1e8c14[_0x1e8c14['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1e8c14[_0x1e8c14[_0x193aec(0x2b7)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1e8c14[_0x1e8c14['LICENSE_DISTRO_REJECTED']=0x232d]=_0x193aec(0x2e5),_0x1e8c14[_0x1e8c14[_0x193aec(0x14c)]=0x2711]=_0x193aec(0x14c),_0x1e8c14[_0x1e8c14['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x193aec(0x2a9),_0x1e8c14[_0x1e8c14[_0x193aec(0x1d2)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1e8c14[_0x1e8c14[_0x193aec(0x24c)]=0x2714]=_0x193aec(0x24c),_0x1e8c14[_0x1e8c14['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x193aec(0x245),_0x1e8c14[_0x1e8c14['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x193aec(0x183),_0x1e8c14[_0x1e8c14[_0x193aec(0x2d7)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1e8c14[_0x1e8c14['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1e8c14[_0x1e8c14[_0x193aec(0x234)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1e8c14[_0x1e8c14[_0x193aec(0x19c)]=0x271f]=_0x193aec(0x19c),_0x1e8c14[_0x1e8c14['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1e8c14[_0x1e8c14[_0x193aec(0x14a)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1e8c14[_0x1e8c14[_0x193aec(0x130)]=0x2ee2]=_0x193aec(0x130),_0x1e8c14[_0x1e8c14['INVITE_CODE_REQUIRED']=0x2ee3]=_0x193aec(0x1af),_0x1e8c14[_0x1e8c14['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x1e8c14[_0x1e8c14[_0x193aec(0x132)]=0x2ee5]=_0x193aec(0x132),_0x1e8c14[_0x1e8c14[_0x193aec(0x210)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1e8c14[_0x1e8c14[_0x193aec(0x2da)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1e8c14[_0x1e8c14[_0x193aec(0x28c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x1e8c14[_0x1e8c14['UNRECOGNIZED']=-0x1]=_0x193aec(0x195),_0x1e8c14))(Mt||{}),pn=Object[_0x193aec(0x259)],Cn=(_0x361376,_0x590d98,_0x54ebd0,_0x172d48)=>{const _0x54d54f=_0x193aec;for(var _0x1b45db=_0x172d48>0x1?void 0x0:_0x172d48?pn(_0x590d98,_0x54ebd0):_0x590d98,_0x2c14b7=_0x361376[_0x54d54f(0x1b2)]-0x1,_0x20614b;_0x2c14b7>=0x0;_0x2c14b7--)(_0x20614b=_0x361376[_0x2c14b7])&&(_0x1b45db=_0x20614b(_0x1b45db)||_0x1b45db);return _0x1b45db;},be=(_0x45f022,_0x5199fa)=>(_0xde2253,_0x457ac9)=>_0x5199fa(_0xde2253,_0x457ac9,_0x45f022);let rt=class extends _0xbd216d{constructor(_0x40bba3,_0x258c3d,_0x217f75){const _0x394409=_0x193aec;super(),this[_0x394409(0x306)]=_0x40bba3,this[_0x394409(0x304)]=_0x258c3d,this[_0x394409(0x1c9)]=_0x217f75;}async['runOnServer'](_0x391924,_0x3081fe,_0x3607ef,..._0x1303ca){const _0x588066=_0x193aec;var _0x5bc4b3,_0x466776,_0x4a872a,_0x921ced;const _0x558745=this['_instanceService'][_0x588066(0x150)]();if(!_0x558745)throw new Error(_0x588066(0x2af));const _0x36a330=((_0x5bc4b3=this[_0x588066(0x1c9)]['getConfig'](_0x4a1ddb))!=null?_0x5bc4b3:_0x2bbba8)+'/'+_0x391924+_0x588066(0x29c)+_0x3081fe,_0x4aeea1=new URL(window['location']['href']),_0x53613b={'scriptId':_0x391924,'runId':(_0x466776=_0x4aeea1[_0x588066(0x237)][_0x588066(0x202)]('runId'))!=null?_0x466776:'','function':_0x3081fe,'unitId':_0x558745[_0x588066(0x27b)](),'argsOfFunction':JSON[_0x588066(0x222)](_0x1303ca),'invokeId':(_0x4a872a=_0x3607ef[_0x588066(0x2ac)])!=null?_0x4a872a:'','executionId':(_0x921ced=_0x3607ef[_0x588066(0x185)])!=null?_0x921ced:''};try{const _0x3a60d2=await this[_0x588066(0x304)][_0x588066(0x2a2)](_0x36a330,{'body':_0x53613b});return _0x3a60d2[_0x588066(0x159)][_0x588066(0x2b2)]&&_0x3a60d2[_0x588066(0x159)][_0x588066(0x2b2)][_0x588066(0x2f6)]!==Mt['OK']?_0x588066(0x272):_0x3a60d2[_0x588066(0x159)][_0x588066(0x18d)];}catch{return _0x588066(0x272);}}};rt=Cn([be(0x0,_0x14a725),be(0x1,_0x5562e7(_0x809f14)),be(0x2,_0x42dae1)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x500701=_0x201c;(function(_0x5e784e,_0x3534ed){const _0x468022=_0x201c,_0x941ed1=_0x5e784e();while(!![]){try{const _0x360c46=-parseInt(_0x468022(0x19b))/0x1*(parseInt(_0x468022(0x2ac))/0x2)+-parseInt(_0x468022(0x1ae))/0x3+-parseInt(_0x468022(0x169))/0x4+parseInt(_0x468022(0x1e9))/0x5+parseInt(_0x468022(0x25a))/0x6+parseInt(_0x468022(0x2ca))/0x7*(parseInt(_0x468022(0x278))/0x8)+-parseInt(_0x468022(0x217))/0x9*(-parseInt(_0x468022(0x161))/0xa);if(_0x360c46===_0x3534ed)break;else _0x941ed1['push'](_0x941ed1['shift']());}catch(_0x3178a0){_0x941ed1['push'](_0x941ed1['shift']());}}}(_0x15b0,0xa8184));var $t=Object[_0x500701(0x1b4)],xt=(_0x160918,_0x357799,_0x5a9ed8)=>_0x357799 in _0x160918?$t(_0x160918,_0x357799,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a9ed8}):_0x160918[_0x357799]=_0x5a9ed8,_=(_0x4c03bd,_0x2d5cfc,_0x2da4ae)=>xt(_0x4c03bd,typeof _0x2d5cfc!=_0x500701(0x251)?_0x2d5cfc+'':_0x2d5cfc,_0x2da4ae);import{MemberService as _0x98ed6,SessionStatus as _0x3c94d8,CollaborationSessionService as _0x1d5bd3,CollaborationStatus as _0x3b52bb,CollaborationController as _0x56ded8,ILocalCacheService as _0x42439c,CollaborationUIEventService as _0x3dfa7b,CollaborationUIEventId as _0xddb0f4,DataLoaderService as _0x5ebf66,DocCollaborationEntity as _0x3113b3,getLocalCacheKey as _0x53bc47,LOCAL_CACHE_INTERVAL as _0x1dc753,LOCAL_CACHE_INTERVAL_KEY as _0x55cca2,UniverCollaborationClientPlugin as _0x492057,CollaborationSocketService as _0x1f4966,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x16c931,DEFAULT_WS_SESSION_TICKET_URL as _0x5466b7,UnitStatus as _0x499e2f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4e004d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x294c26}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x51bb57,Disposable as _0xbdf073,DOC_RANGE_TYPE as _0x20cb98,Inject as _0x36f55a,Injector as _0x524dc3,IUniverInstanceService as _0x3a01ed,ICommandService as _0x44ae43,debounce as _0x270191,Rectangle as _0x5d496d,DisposableCollection as _0x163b76,toDisposable as _0x31417b,UniverInstanceType as _0x57d7e2,Tools as _0xd3854a,COLORS as _0xa0b366,ColorKit as _0x331b5e,ThemeService as _0x28de01,fromEventSubject as _0x133933,LocaleService as _0x52ac5b,createIdentifier as _0x41e36e,ILogService as _0x56e22c,Optional as _0x182852,Workbook as _0x4ba6e7,CommandType as _0x27f8ae,IConfigService as _0x1312da,ILocalStorageService as _0x39f1e9,DependentOn as _0x3f81bc,Plugin as _0x5ee79e,merge as _0x1e4789,registerDependencies as _0x32ed27,mergeOverrideWithDependencies as _0x4d34f1,touchDependencies as _0x58b8a4,generateRandomId as _0x4764a1}from'@univerjs/core';import{Shape as _0x1f573e,Rect as _0x2fb5cd,getColor as _0x8c785f,RegularPolygon as _0x51dbaa,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x56f247,Vector2 as _0xe085c2,SHEET_VIEWPORT_KEY as _0x1bfa2b,IRenderManagerService as _0x20379b}from'@univerjs/engine-render';import{ISocketService as _0x4df4f1,WebSocketService as _0x20d8c7,HTTPService as _0x4714d0}from'@univerjs/network';import{IDocClipboardService as _0xf5cf06,NodePositionConvertToCursor as _0x1e1661,NodePositionConvertToRectRange as _0x12c27a,TEXT_RANGE_LAYER_INDEX as _0x28a77f,SetDocZoomRatioOperation as _0x43d6d2,DocIMEInputManagerService as _0x1691fb,DocStateChangeManagerService as _0x321880}from'@univerjs/docs-ui';import{IImageIoService as _0x19a877}from'@univerjs/drawing';import{BehaviorSubject as _0x5a7c5d,debounceTime as _0x5d2d37,takeUntil as _0x13f70a,Subject as _0x200c52,filter as _0x85b57,switchMap as _0x161e64,merge as _0x3b5d4d,combineLatest as _0x149121,of as _0x40f510,fromEvent as _0x1c6ada,shareReplay as _0x392a8a,mapTo as _0x382ac5,distinctUntilChanged as _0x1fead7}from'rxjs';import{SetTextSelectionsOperation as _0x49e568,RichTextEditingMutation as _0x1b6e54,DocSelectionManagerService as _0x232d6a,DocSkeletonManagerService as _0x676da8}from'@univerjs/docs';import{ITransformService as _0x5ddb15,CollaborationEvent as _0x24d870,isTransformMutationFailure as _0x727f01,isTransformMutationsWithChangesetSuccess as _0x4b3101,RevisionService as _0x44f78e,ISnapshotServerService as _0x3b9b92}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x25c963,serializeRangeWithSheet as _0x115746}from'@univerjs/engine-formula';import{RefRangeService as _0x4709fb,SetSelectionsOperation as _0x217aca,SheetsSelectionsService as _0x34f1fe,EffectRefRangId as _0x486e35,handleIRemoveRow as _0x5c5d46,handleIRemoveCol as _0x445a8c,handleMoveRange as _0x390946,handleInsertRow as _0x4d014c,handleInsertRangeMoveRight as _0x487733,handleInsertRangeMoveDown as _0x5d43ae,handleInsertCol as _0x4f839b,handleDeleteRangeMoveUp as _0x2a5e2a,handleDeleteRangeMoveLeft as _0x1c2e74,runRefRangeMutations as _0x672700,SetWorksheetActivateCommand as _0x29d14d}from'@univerjs/sheets';import{map as _0x510b8c,filter as _0x46d147,throttleTime as _0x13f76c,takeUntil as _0x567b06,switchMap as _0x4284f1}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2608ff,getCoordByCell as _0x119062,getSheetObject as _0x12664d}from'@univerjs/sheets-ui';import{jsx as _0x35442b,jsxs as _0xeee65}from'react/jsx-runtime';import{useObservable as _0x3496cb,useDependency as _0x6eba92,IUIPartsService as _0x2bab1c,BuiltInUIPart as _0x5a7bb1,connectInjector as _0x4ad499,IBeforeCloseService as _0x31834d,IMessageService as _0x13a97a,INotificationService as _0x5af6e2}from'@univerjs/ui';import{Tooltip as _0xd930f0,clsx as _0x2b6929,MessageType as _0x51a21e}from'@univerjs/design';import{forwardRef as _0x45d79,useRef as _0x2f8c55,createElement as _0x247d46,useCallback as _0x5228ad}from'react';import{IRemoteInstanceService as _0x51b5c6}from'@univerjs/rpc';var ci=Object[_0x500701(0x248)],li=(_0xfbea98,_0x329808,_0x5707e5,_0x2a7727)=>{const _0x57293a=_0x500701;for(var _0x1a4adf=_0x2a7727>0x1?void 0x0:_0x2a7727?ci(_0x329808,_0x5707e5):_0x329808,_0x4e4f37=_0xfbea98[_0x57293a(0x234)]-0x1,_0x4bfad2;_0x4e4f37>=0x0;_0x4e4f37--)(_0x4bfad2=_0xfbea98[_0x4e4f37])&&(_0x1a4adf=_0x4bfad2(_0x1a4adf)||_0x1a4adf);return _0x1a4adf;},Je=(_0x3766c5,_0x4007f6)=>(_0x20288f,_0x46c720)=>_0x4007f6(_0x20288f,_0x46c720,_0x3766c5);let Ne=class extends _0x51bb57{constructor(_0x5e2933,_0x206509){const _0x3f6410=_0x500701;super(),this[_0x3f6410(0x1a5)]=_0x5e2933,this[_0x3f6410(0x212)]=_0x206509,this[_0x3f6410(0x21e)]();}[_0x500701(0x21e)](){const _0xf1c490=_0x500701,_0x4bebe4=this;this[_0xf1c490(0x226)](this[_0xf1c490(0x1a5)][_0xf1c490(0x294)]({'onBeforePasteImage':async _0x23e028=>{const _0x1749ef=_0xf1c490,_0xe9b082=await _0x4bebe4['_imageIoService'][_0x1749ef(0x2b5)](_0x23e028);return _0xe9b082?{'source':_0xe9b082['source'],'imageSourceType':_0xe9b082[_0x1749ef(0x24a)]}:null;}}));}};Ne=li([Je(0x0,_0xf5cf06),Je(0x1,_0x19a877)],Ne);const Ze=['purple.300','jiqing.500',_0x500701(0x232),_0x500701(0x164),_0x500701(0x195),_0x500701(0x316)];class ke extends _0xbdf073{constructor(){const _0x240022=_0x500701;super(...arguments),_(this,_0x240022(0x2c9),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x3baeab){const _0xc6b0f2=_0x500701;if(this[_0xc6b0f2(0x2c9)][_0xc6b0f2(0x1cb)](_0x3baeab))return this[_0xc6b0f2(0x2c9)][_0xc6b0f2(0x1a2)](_0x3baeab);const _0x28e997=Ze[this[_0xc6b0f2(0x193)]];return this['_colorIndex']=(this[_0xc6b0f2(0x193)]+0x1)%Ze[_0xc6b0f2(0x234)],this[_0xc6b0f2(0x2c9)]['set'](_0x3baeab,_0x28e997),_0x28e997;}}function Tt(_0x3f3315){const _0x36b7dc=_0x500701;let _0x1e3e00='';for(const _0x4e029c of _0x3f3315){const {startOffset:_0x3f7ccb,endOffset:_0x48fbed,isActive:_0x1ea459,rangeType:_0x28d7db,segmentId:_0x5405b0,segmentPage:_0x3387ca}=_0x4e029c;_0x1e3e00[_0x36b7dc(0x234)]&&(_0x1e3e00+=','),_0x1e3e00+=_0x3f7ccb+':'+_0x48fbed+':'+(_0x1ea459?'1':'0')+':'+_0x28d7db+':'+_0x5405b0+':'+_0x3387ca;}return _0x1e3e00;}function _i(_0x56f0c2){const _0x4df879=_0x500701,_0x246525=_0x56f0c2[_0x4df879(0x1e0)](','),_0x2d6429=[];for(const _0x2ac5d1 of _0x246525){const [_0xd4fe67,_0x3088e2,_0x3ddb95,_0x1908c1,_0x3ae6f8,_0x498c33]=_0x2ac5d1[_0x4df879(0x1e0)](':');_0x2d6429[_0x4df879(0x2a2)]({'startOffset':Number(_0xd4fe67),'endOffset':Number(_0x3088e2),'collapsed':_0xd4fe67===_0x3088e2,'isActive':_0x3ddb95==='1','rangeType':_0x1908c1===_0x20cb98['TEXT']?_0x20cb98[_0x4df879(0x1d8)]:_0x20cb98[_0x4df879(0x2b6)],'segmentId':typeof _0x3ae6f8==_0x4df879(0x2ae)?String(_0x3ae6f8):'','segmentPage':Number(_0x498c33!=null?_0x498c33:-0x1)});}return _0x2d6429[_0x4df879(0x2fb)](_0x1c5321=>_0x1c5321[_0x4df879(0x338)])||(_0x2d6429[0x0][_0x4df879(0x338)]=!0x0),_0x2d6429;}class He extends _0x51bb57{constructor(){const _0x463054=_0x500701;super(...arguments),_(this,_0x463054(0x292),new _0x5a7c5d(null)),_(this,_0x463054(0x308),this[_0x463054(0x292)][_0x463054(0x1fb)]());}[_0x500701(0x1af)](_0x11ec39){const _0x448937=_0x500701,{unitID:_0x1ef441,memberID:_0x341471,textRanges:_0x1d5e22}=_0x11ec39,_0x208e88=Tt(_0x1d5e22);if(_0x208e88==='')return;const _0x47a33c={'unitID':_0x1ef441,'memberID':_0x341471,'selection':_0x208e88};this[_0x448937(0x292)][_0x448937(0x1c9)](_0x47a33c);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x36b258,_0x56773a,_0x446617,_0x55ded2)=>{const _0x109991=_0x500701;for(var _0x7d1c66=_0x55ded2>0x1?void 0x0:_0x55ded2?hi(_0x56773a,_0x446617):_0x56773a,_0x57dfa4=_0x36b258[_0x109991(0x234)]-0x1,_0xe9b1a9;_0x57dfa4>=0x0;_0x57dfa4--)(_0xe9b1a9=_0x36b258[_0x57dfa4])&&(_0x7d1c66=_0xe9b1a9(_0x7d1c66)||_0x7d1c66);return _0x7d1c66;},P=(_0x18c112,_0x241929)=>(_0x2f04fd,_0x54e8ff)=>_0x241929(_0x2f04fd,_0x54e8ff,_0x18c112);const di=0x12c,fi=0x64;let Ue=class extends _0x51bb57{constructor(_0x498cb7,_0x516ec8,_0x176202,_0x324115,_0x1c275a,_0x416832,_0x344a4b,_0x5af72c,_0x16371c){const _0x4bc299=_0x500701;super(),_(this,'_online',!0x1),_(this,_0x4bc299(0x21e),!0x1),_(this,_0x4bc299(0x1cf),new _0x5a7c5d(new Map())),_(this,'cursorInfo$',this[_0x4bc299(0x1cf)][_0x4bc299(0x1fb)]()),_(this,'_roomMembers$',new _0x5a7c5d([])),_(this,_0x4bc299(0x187),this['_roomMembers$']['pipe'](_0x5d2d37(di))),_(this,_0x4bc299(0x32e),_0x270191(_0x7c15e=>{const _0x459b4f=_0x4bc299,_0x1d0c2d={'eventID':_0x24d870[_0x459b4f(0x1ab)],'data':{'unitID':this[_0x459b4f(0x301)],'memberID':this[_0x459b4f(0x359)][_0x459b4f(0x273)](),'selection':Tt(_0x7c15e)}};this[_0x459b4f(0x359)]['send'](_0x1d0c2d,this[_0x459b4f(0x301)]);},fi)),(this[_0x4bc299(0x301)]=_0x498cb7,this[_0x4bc299(0x359)]=_0x516ec8,this[_0x4bc299(0x1a4)]=_0x176202,this[_0x4bc299(0x2ec)]=_0x324115,this[_0x4bc299(0x1be)]=_0x1c275a,this[_0x4bc299(0x1b7)]=_0x416832,this[_0x4bc299(0x2ce)]=_0x344a4b,this[_0x4bc299(0x27f)]=_0x5af72c,this[_0x4bc299(0x2b3)]=_0x16371c);}get[_0x500701(0x179)](){const _0x887d54=_0x500701;return this[_0x887d54(0x1cf)][_0x887d54(0x1a8)]();}get[_0x500701(0x348)](){const _0x276c35=_0x500701;return this[_0x276c35(0x2ee)]['getValue']();}[_0x500701(0x1e7)](){const _0x249054=_0x500701;super[_0x249054(0x1e7)](),this[_0x249054(0x1cf)][_0x249054(0x1c9)](new Map()),this[_0x249054(0x1cf)]['complete'](),this[_0x249054(0x2ee)][_0x249054(0x1c9)]([]),this['_roomMembers$']['complete']();}[_0x500701(0x1e3)](){const _0xe8d46=_0x500701;this[_0xe8d46(0x21e)]||(this[_0xe8d46(0x21e)]=!0x0,this[_0xe8d46(0x359)][_0xe8d46(0x2cb)][_0xe8d46(0x323)](_0x13f70a(this[_0xe8d46(0x310)]))['subscribe'](_0x3d5cdb=>{const _0x854fbc=_0xe8d46;_0x3d5cdb===_0x3c94d8[_0x854fbc(0x174)]?this[_0x854fbc(0x346)]():this[_0x854fbc(0x240)]();}),this[_0xe8d46(0x359)][_0xe8d46(0x15d)][_0xe8d46(0x323)](_0x13f70a(this['dispose$']))[_0xe8d46(0x320)](_0x2c36ba=>{const _0x439c9f=_0xe8d46,_0x143d62=_0x2c36ba[_0x439c9f(0x34e)];_0x143d62===_0x24d870[_0x439c9f(0x1ab)]&&this[_0x439c9f(0x190)](_0x2c36ba),_0x143d62===_0x24d870['USERS_LEAVE']&&this[_0x439c9f(0x162)](_0x2c36ba);}),this[_0xe8d46(0x226)](this['_commandService']['onCommandExecuted'](_0x3607f8=>{const _0x385515=_0xe8d46,_0x1cd1ef=_0x3607f8[_0x385515(0x2cd)];_0x1cd1ef!=null&&this['_online']&&_0x3607f8['id']===_0x49e568['id']&&_0x1cd1ef['unitId']===this[_0x385515(0x301)]&&_0x1cd1ef[_0x385515(0x2d4)]===!0x1&&_0x1cd1ef['ranges'][_0x385515(0x234)]>0x0&&this[_0x385515(0x32e)](_0x1cd1ef['ranges']);})),this[_0xe8d46(0x1b7)][_0xe8d46(0x308)][_0xe8d46(0x323)](_0x13f70a(this[_0xe8d46(0x310)]))['subscribe'](_0xb0e97a=>{const _0x2358e7=_0xe8d46;if((_0xb0e97a==null?void 0x0:_0xb0e97a[_0x2358e7(0x301)])!==this['unitID'])return;const _0x2371c7={'eventID':_0x24d870[_0x2358e7(0x1ab)],'data':_0xb0e97a};this[_0x2358e7(0x190)](_0x2371c7);}),this[_0xe8d46(0x226)](this[_0xe8d46(0x2b3)]['onCommandExecuted'](_0x5a63f4=>{const _0x4c919c=_0xe8d46;if(_0x5a63f4[_0x4c919c(0x2cd)]==null)return;const _0x5d327c=_0x5a63f4['params'];if(_0x5a63f4['id']!==_0x1b6e54['id']||_0x5d327c[_0x4c919c(0x319)]!==this[_0x4c919c(0x301)])return;const _0x2d9165={'id':_0x4c919c(0x2c3),'params':_0x5d327c},_0x376e5d=this[_0x4c919c(0x179)];for(const [_0x47b878,_0x435485]of _0x376e5d){const _0x10c015={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4c919c(0x301)],'actions':null,'textRanges':_0x435485[_0x4c919c(0x175)]}},_0x3a727a=this[_0x4c919c(0x2ce)][_0x4c919c(0x24b)](_0x2d9165,_0x10c015,!0x1);if(_0x727f01(_0x3a727a))throw _0x3a727a[_0x4c919c(0x1eb)];_0x376e5d['set'](_0x47b878,{..._0x435485,'ranges':_0x3a727a['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0x22a4d8=_0x4c919c;this['_cursorInfo$'][_0x22a4d8(0x1c9)](_0x376e5d);});})));}['_onCursorUpdate'](_0x59e1e3){const _0x2e24e9=_0x500701;var _0x411710,_0x58d5cd;const {memberID:_0x2652ff,selection:_0x338738}=_0x59e1e3[_0x2e24e9(0x2dd)],_0x20a3ae=_i(_0x338738),_0x2be476=(_0x58d5cd=(_0x411710=this['_memberService']['getMember'](this[_0x2e24e9(0x301)],_0x2652ff))==null?void 0x0:_0x411710[_0x2e24e9(0x1c7)])!=null?_0x58d5cd:_0x2e24e9(0x306),_0xf99edd={'color':this[_0x2e24e9(0x2ec)][_0x2e24e9(0x274)](_0x2652ff),'name':_0x2be476,'ranges':_0x20a3ae},_0x37d92c=this[_0x2e24e9(0x179)];_0x37d92c['set'](_0x2652ff,_0xf99edd),this['_cursorInfo$'][_0x2e24e9(0x1c9)](_0x37d92c);}['_onCursorDelete'](_0x4b8c46){const _0x879ccd=_0x500701,{memberID:_0x47bd33}=_0x4b8c46['data'],_0x663e8d=this[_0x879ccd(0x179)];_0x663e8d[_0x879ccd(0x204)](_0x47bd33),this[_0x879ccd(0x1cf)]['next'](_0x663e8d);}[_0x500701(0x346)](){const _0x3d709d=_0x500701;var _0x1de255;if(this[_0x3d709d(0x189)]=!0x0,((_0x1de255=this[_0x3d709d(0x27f)][_0x3d709d(0x33f)]())==null?void 0x0:_0x1de255[_0x3d709d(0x215)]())!==this[_0x3d709d(0x301)])return;const _0x347fea=this[_0x3d709d(0x1a4)][_0x3d709d(0x1a2)](_0x232d6a)[_0x3d709d(0x269)]();Array[_0x3d709d(0x1b3)](_0x347fea)&&_0x347fea['length']>0x0&&this['_updateLocalCursor'](_0x347fea);}[_0x500701(0x240)](){const _0x4b0acf=_0x500701;this[_0x4b0acf(0x189)]=!0x1;}};Ue=ui([P(0x2,_0x36f55a(_0x524dc3)),P(0x3,_0x36f55a(ke)),P(0x4,_0x36f55a(_0x98ed6)),P(0x5,_0x36f55a(He)),P(0x6,_0x5ddb15),P(0x7,_0x3a01ed),P(0x8,_0x44ae43)],Ue);var Si=Object[_0x500701(0x248)],mi=(_0x5519cf,_0x241e78,_0x5ef1da,_0x3230f7)=>{const _0x3dcea7=_0x500701;for(var _0x207b83=_0x3230f7>0x1?void 0x0:_0x3230f7?Si(_0x241e78,_0x5ef1da):_0x241e78,_0x4f8fd8=_0x5519cf[_0x3dcea7(0x234)]-0x1,_0x2ead45;_0x4f8fd8>=0x0;_0x4f8fd8--)(_0x2ead45=_0x5519cf[_0x4f8fd8])&&(_0x207b83=_0x2ead45(_0x207b83)||_0x207b83);return _0x207b83;},x=(_0x5bf7b2,_0x3c84c9)=>(_0x58404a,_0x196cc0)=>_0x3c84c9(_0x58404a,_0x196cc0,_0x5bf7b2);const Ii=0x12c,gi=0x64,vi=()=>{let _0x2ddb4d=[],_0x511749=!0x1;return _0x35341c=>{_0x2ddb4d['push'](_0x35341c),_0x511749||(_0x511749=!0x0,setTimeout(()=>{_0x2ddb4d['forEach'](_0x532eb1=>_0x532eb1()),_0x2ddb4d=[],_0x511749=!0x1;}));};};let Me=class extends _0x51bb57{constructor(_0xc0e912,_0x3b7670,_0x287a60,_0x4c8f2f,_0x4e8dd3,_0x216e76,_0x513ea1,_0x33f636){const _0x1d4ef6=_0x500701;super(),_(this,_0x1d4ef6(0x189),!0x1),_(this,_0x1d4ef6(0x21e),!0x1),_(this,'_cursorInfo$',new _0x5a7c5d(new Map())),_(this,_0x1d4ef6(0x196),this[_0x1d4ef6(0x1cf)][_0x1d4ef6(0x1fb)]()),_(this,_0x1d4ef6(0x2ee),new _0x5a7c5d([])),_(this,_0x1d4ef6(0x187),this[_0x1d4ef6(0x2ee)]['pipe'](_0x5d2d37(Ii))),_(this,_0x1d4ef6(0x32e),_0x270191((_0x1eafcc,_0x4a6a85)=>{const _0x36ec6c=_0x1d4ef6,_0x3147af={'eventID':_0x24d870[_0x36ec6c(0x1ab)],'data':{'unitID':this['unitID'],'memberID':this[_0x36ec6c(0x359)]['getMemberID'](),'selection':_0x115746(_0x1eafcc,_0x4a6a85['range'])}};this['_session'][_0x36ec6c(0x16d)](_0x3147af,this[_0x36ec6c(0x301)]);},gi)),(this[_0x1d4ef6(0x301)]=_0xc0e912,this['_session']=_0x3b7670,this[_0x1d4ef6(0x1a4)]=_0x287a60,this[_0x1d4ef6(0x2ec)]=_0x4c8f2f,this[_0x1d4ef6(0x1be)]=_0x4e8dd3,this[_0x1d4ef6(0x27f)]=_0x216e76,this['_commandService']=_0x513ea1,this['_refRangeService']=_0x33f636);}get[_0x500701(0x179)](){const _0x44a793=_0x500701;return this[_0x44a793(0x1cf)]['getValue']();}get[_0x500701(0x348)](){const _0x29fb1c=_0x500701;return this[_0x29fb1c(0x2ee)][_0x29fb1c(0x1a8)]();}[_0x500701(0x1e7)](){const _0x5e1454=_0x500701;super[_0x5e1454(0x1e7)](),this[_0x5e1454(0x1cf)][_0x5e1454(0x1c9)](new Map()),this[_0x5e1454(0x1cf)][_0x5e1454(0x1d7)](),this[_0x5e1454(0x2ee)]['next']([]),this[_0x5e1454(0x2ee)][_0x5e1454(0x1d7)]();}[_0x500701(0x1e3)](){const _0x53736f=_0x500701;this['_init']||(this[_0x53736f(0x21e)]=!0x0,this['_session'][_0x53736f(0x2cb)][_0x53736f(0x323)](_0x13f70a(this[_0x53736f(0x310)]))['subscribe'](_0x30db86=>{const _0x56a15=_0x53736f;_0x30db86===_0x3c94d8[_0x56a15(0x174)]?this[_0x56a15(0x346)]():this['_toggleOffline']();}),this['_session'][_0x53736f(0x15d)][_0x53736f(0x323)](_0x13f70a(this[_0x53736f(0x310)]))[_0x53736f(0x320)](_0xba535f=>{const _0x34b803=_0x53736f,_0x3c0a25=_0xba535f[_0x34b803(0x34e)];_0x3c0a25===_0x24d870[_0x34b803(0x1ab)]&&this[_0x34b803(0x190)](_0xba535f),_0x3c0a25===_0x24d870[_0x34b803(0x1fc)]&&this[_0x34b803(0x162)](_0xba535f);}),this[_0x53736f(0x236)](),this[_0x53736f(0x226)](this[_0x53736f(0x2b3)][_0x53736f(0x337)](_0x2cb505=>{const _0x486c14=_0x53736f;if(this[_0x486c14(0x189)]&&_0x2cb505['id']===_0x217aca['id']&&_0x2cb505[_0x486c14(0x2cd)][_0x486c14(0x319)]===this[_0x486c14(0x301)]){const _0x2731de=_0x2cb505[_0x486c14(0x2cd)];this[_0x486c14(0x32e)](_0x2731de[_0x486c14(0x2e9)],_0x2731de[_0x486c14(0x213)][0x0]);}})));}[_0x500701(0x190)](_0xa2fea3){const _0x4cebce=_0x500701;var _0x178408,_0x356e06;const {memberID:_0x4fb73d,selection:_0x4bbec8}=_0xa2fea3[_0x4cebce(0x2dd)],{sheetName:_0x28e980,range:_0x7dd51d}=_0x25c963(_0x4bbec8),_0xb01e0f={'name':(_0x356e06=(_0x178408=this['_memberService'][_0x4cebce(0x303)](this[_0x4cebce(0x301)],_0x4fb73d))==null?void 0x0:_0x178408[_0x4cebce(0x1c7)])!=null?_0x356e06:_0x4cebce(0x306),'range':this[_0x4cebce(0x33a)](_0x28e980,_0x7dd51d),'sheetID':_0x28e980,'color':this[_0x4cebce(0x2ec)][_0x4cebce(0x274)](_0x4fb73d),'selection':_0x4bbec8},_0x51ce59=this['cursorInfo'];_0x51ce59['set'](_0x4fb73d,_0xb01e0f),this[_0x4cebce(0x1cf)]['next'](_0x51ce59);}[_0x500701(0x162)](_0x341500){const _0x27536d=_0x500701,{memberID:_0x5901ea}=_0x341500[_0x27536d(0x2dd)],_0x54962c=this[_0x27536d(0x179)];_0x54962c[_0x27536d(0x204)](_0x5901ea),this['_cursorInfo$'][_0x27536d(0x1c9)](_0x54962c);}[_0x500701(0x33a)](_0xad5b2d,_0x5ce5f7){const _0x314098=_0x500701;var _0xad0810,_0x50d723;const _0x1b7b79=(_0x50d723=(_0xad0810=this[_0x314098(0x27f)]['getUniverSheetInstance'](this[_0x314098(0x301)]))==null?void 0x0:_0xad0810['getSheetBySheetId'](_0xad5b2d))==null?void 0x0:_0x50d723[_0x314098(0x30e)]();return(_0x1b7b79==null?void 0x0:_0x1b7b79[_0x314098(0x1b0)](_0x5d67ec=>_0x5d496d['contains'](_0x5d67ec,_0x5ce5f7)))||_0x5ce5f7;}[_0x500701(0x236)](){const _0x27afbd=_0x500701,_0x190960=new _0x163b76(),_0x19c537=vi(),_0x1e08fb=()=>{const _0x3449b9=_0x201c;_0x190960[_0x3449b9(0x1e7)]();const _0x1c7f60=(_0x5bf611,_0x425412,_0x4c7598,_0x523dd4)=>{const _0x432951=_0x3449b9;let _0x1fde41=[];switch(_0x5bf611['id']){case _0x486e35[_0x432951(0x22b)]:{_0x1fde41=_0x1c2e74(_0x5bf611,_0x523dd4);break;}case _0x486e35['DeleteRangeMoveUpCommandId']:{_0x1fde41=_0x2a5e2a(_0x5bf611,_0x523dd4);break;}case _0x486e35['InsertColCommandId']:{_0x1fde41=_0x4f839b(_0x5bf611,_0x523dd4);break;}case _0x486e35[_0x432951(0x1ff)]:{_0x1fde41=_0x5d43ae(_0x5bf611,_0x523dd4);break;}case _0x486e35[_0x432951(0x2fc)]:{_0x1fde41=_0x487733(_0x5bf611,_0x523dd4);break;}case _0x486e35[_0x432951(0x186)]:{_0x1fde41=_0x4d014c(_0x5bf611,_0x523dd4);break;}case _0x486e35[_0x432951(0x247)]:{_0x1fde41=_0x390946(_0x5bf611,_0x523dd4);break;}case _0x486e35['RemoveColCommandId']:{_0x1fde41=_0x445a8c(_0x5bf611,_0x523dd4);break;}case _0x486e35['RemoveRowCommandId']:{_0x1fde41=_0x5c5d46(_0x5bf611,_0x523dd4);break;}}const _0x55155d=_0x672700(_0x1fde41,_0x523dd4),_0x21d03a=this[_0x432951(0x179)][_0x432951(0x1a2)](_0x425412);if(_0x21d03a&&_0x55155d){const _0x387b6c={..._0x21d03a,'range':_0x55155d};this[_0x432951(0x179)][_0x432951(0x2af)](_0x425412,_0x387b6c),_0x19c537(()=>{const _0x34dd5f=_0x432951,_0x106114=this[_0x34dd5f(0x20f)][_0x34dd5f(0x1e4)](_0x55155d,_0x476edd=>(_0x106114[_0x34dd5f(0x1e7)](),_0x1c7f60(_0x476edd,_0x425412,_0x4c7598,_0x55155d)));_0x190960[_0x34dd5f(0x1c3)](_0x106114);});}return{'redos':[],'undos':[]};};this[_0x3449b9(0x179)][_0x3449b9(0x295)]((_0x5546f4,_0x26dd45)=>{const _0x475a3a=_0x3449b9,{range:_0x41e5cd,sheetID:_0x11b1b4}=_0x5546f4,_0x31cc6e=this[_0x475a3a(0x20f)][_0x475a3a(0x1e4)](_0x41e5cd,_0x433134=>(_0x31cc6e[_0x475a3a(0x1e7)](),_0x1c7f60(_0x433134,_0x26dd45,_0x11b1b4,_0x41e5cd)));_0x190960['add'](_0x31cc6e);});};this['disposeWithMe'](_0x31417b(this['_cursorInfo$'][_0x27afbd(0x320)](()=>{_0x1e08fb();})));}[_0x500701(0x346)](){const _0x18ec97=_0x500701;var _0x155273,_0x190e20;if(this['_online']=!0x0,((_0x155273=this[_0x18ec97(0x27f)]['getFocusedUnit']())==null?void 0x0:_0x155273[_0x18ec97(0x215)]())!==this['unitID'])return;const _0x10827c=(_0x190e20=this['_injector'][_0x18ec97(0x1a2)](_0x34f1fe)[_0x18ec97(0x2e0)]())==null?void 0x0:_0x190e20[0x0],_0x2fd604=this[_0x18ec97(0x27f)][_0x18ec97(0x265)](_0x57d7e2['UNIVER_SHEET'])[_0x18ec97(0x222)]();_0x10827c&&_0x2fd604&&this[_0x18ec97(0x32e)](_0x2fd604['getSheetId'](),_0x10827c);}['_toggleOffline'](){const _0x3b5ab6=_0x500701;this[_0x3b5ab6(0x189)]=!0x1;}};Me=mi([x(0x2,_0x36f55a(_0x524dc3)),x(0x3,_0x36f55a(ke)),x(0x4,_0x36f55a(_0x98ed6)),x(0x5,_0x3a01ed),x(0x6,_0x44ae43),x(0x7,_0x36f55a(_0x4709fb))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x57c4fe,_0x1184c7,_0x7a3bb0,_0x3684bd)=>{const _0x258abd=_0x500701;for(var _0x30ba05=_0x3684bd>0x1?void 0x0:_0x3684bd?pi(_0x1184c7,_0x7a3bb0):_0x1184c7,_0x1d3ea5=_0x57c4fe[_0x258abd(0x234)]-0x1,_0x1766d9;_0x1d3ea5>=0x0;_0x1d3ea5--)(_0x1766d9=_0x57c4fe[_0x1d3ea5])&&(_0x30ba05=_0x1766d9(_0x30ba05)||_0x30ba05);return _0x30ba05;},Se=(_0x33bd52,_0x1c7e78)=>(_0x37bb6f,_0x53058a)=>_0x1c7e78(_0x37bb6f,_0x53058a,_0x33bd52);let H=class extends _0x51bb57{constructor(_0x296ef9,_0x51bcba,_0x50bcfa){const _0x1960a1=_0x500701;super(),_(this,'_entities',new Map()),_(this,_0x1960a1(0x20b),new _0x200c52()),(this['_univerInstanceService']=_0x296ef9,this[_0x1960a1(0x1a4)]=_0x51bcba,this[_0x1960a1(0x198)]=_0x50bcfa,this['_init']());}['dispose'](){const _0x1758c9=_0x500701;super['dispose'](),this[_0x1758c9(0x20b)][_0x1758c9(0x1d7)](),this[_0x1758c9(0x2c2)][_0x1758c9(0x295)](_0x402eb6=>_0x402eb6[_0x1758c9(0x1e7)]());}[_0x500701(0x270)](_0x581757){const _0x5041e6=_0x500701;return this[_0x5041e6(0x2c2)][_0x5041e6(0x1cb)](_0x581757)?this[_0x5041e6(0x2c2)][_0x5041e6(0x1a2)](_0x581757)[_0x5041e6(0x196)]:this[_0x5041e6(0x20b)][_0x5041e6(0x323)](_0x85b57(_0x1d0dd8=>_0x1d0dd8[_0x5041e6(0x301)]===_0x581757),_0x161e64(_0xe3b38a=>_0xe3b38a['cursorInfo$']));}[_0x500701(0x21e)](){const _0x10d4a1=_0x500701;this[_0x10d4a1(0x27f)][_0x10d4a1(0x168)](_0x57d7e2[_0x10d4a1(0x286)])[_0x10d4a1(0x323)](_0x13f70a(this[_0x10d4a1(0x310)]))[_0x10d4a1(0x320)](async _0x491e3c=>{const _0x4a3dcd=_0x10d4a1,_0x293e64=_0x491e3c[_0x4a3dcd(0x215)](),_0x1d12b4=await this[_0x4a3dcd(0x2de)](_0x293e64);this[_0x4a3dcd(0x20b)][_0x4a3dcd(0x1c9)](_0x1d12b4),this[_0x4a3dcd(0x2c2)][_0x4a3dcd(0x2af)](_0x293e64,_0x1d12b4);}),this[_0x10d4a1(0x27f)][_0x10d4a1(0x168)](_0x57d7e2[_0x10d4a1(0x1bb)])[_0x10d4a1(0x323)](_0x13f70a(this[_0x10d4a1(0x310)]))[_0x10d4a1(0x323)](_0x85b57(_0x25ef82=>!_0x25ef82[_0x10d4a1(0x215)]()[_0x10d4a1(0x239)]('__')))[_0x10d4a1(0x320)](async _0x2a43d2=>{const _0xb12eb3=_0x10d4a1,_0x15aa36=_0x2a43d2[_0xb12eb3(0x215)](),_0x3af512=await this['_startDocCollabCursor'](_0x15aa36);this[_0xb12eb3(0x20b)]['next'](_0x3af512),this[_0xb12eb3(0x2c2)]['set'](_0x15aa36,_0x3af512);}),_0x3b5d4d(this[_0x10d4a1(0x27f)][_0x10d4a1(0x178)](_0x57d7e2[_0x10d4a1(0x1bb)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x57d7e2[_0x10d4a1(0x286)]))['pipe'](_0x13f70a(this[_0x10d4a1(0x310)]))[_0x10d4a1(0x320)](_0x2252bd=>{const _0x55d5b8=_0x10d4a1,_0xf78af6=_0x2252bd['getUnitId'](),_0x4ae1c4=this['_entities'][_0x55d5b8(0x1a2)](_0xf78af6);_0x4ae1c4&&(_0x4ae1c4[_0x55d5b8(0x1e7)](),this[_0x55d5b8(0x2c2)][_0x55d5b8(0x204)](_0xf78af6));});}async['_startSheetCollabCursor'](_0x4df451){const _0x455682=_0x500701,_0x2bc90d=await this[_0x455682(0x198)]['requireSession'](_0x4df451),_0x509f2c=this['_injector'][_0x455682(0x2e7)](Me,_0x4df451,_0x2bc90d);return _0x509f2c[_0x455682(0x1e3)](),_0x509f2c;}async[_0x500701(0x25c)](_0x196a22){const _0x8fe033=_0x500701,_0x30da28=await this[_0x8fe033(0x198)]['requireSession'](_0x196a22),_0x4e6bc5=this[_0x8fe033(0x1a4)][_0x8fe033(0x2e7)](Ue,_0x196a22,_0x30da28);return _0x4e6bc5[_0x8fe033(0x1e3)](),_0x4e6bc5;}};H=Ci([Se(0x0,_0x3a01ed),Se(0x1,_0x36f55a(_0x524dc3)),Se(0x2,_0x36f55a(_0x1d5bd3))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3c336f,_0x12d9fe){const _0xb0b9b9=_0x500701;let {radius:_0x16131f,width:_0x4002a3,height:_0xefcdbb}=_0x12d9fe;_0x16131f=_0x16131f!=null?_0x16131f:0x0,_0x4002a3=_0x4002a3!=null?_0x4002a3:0x1e,_0xefcdbb=_0xefcdbb!=null?_0xefcdbb:0x1e;let _0x20cd19=0x0,_0xa941a9=0x0,_0x5f5ca0=0x0;_0x20cd19=_0xa941a9=_0x5f5ca0=Math[_0xb0b9b9(0x20c)](_0x16131f,_0x4002a3/0x2,_0xefcdbb/0x2),_0x3c336f['beginPath'](),_0x3c336f[_0xb0b9b9(0x302)](_0x20cd19,0x0),_0x3c336f['lineTo'](_0x4002a3-_0xa941a9,0x0),_0x3c336f[_0xb0b9b9(0x245)](_0x4002a3-_0xa941a9,_0xa941a9,_0xa941a9,Math['PI']*0x3/0x2,0x0,!0x1),_0x3c336f['lineTo'](_0x4002a3,_0xefcdbb-_0x5f5ca0),_0x3c336f[_0xb0b9b9(0x245)](_0x4002a3-_0x5f5ca0,_0xefcdbb-_0x5f5ca0,_0x5f5ca0,0x0,Math['PI']/0x2,!0x1),_0x3c336f[_0xb0b9b9(0x16f)](0x0,_0xefcdbb),_0x3c336f['lineTo'](0x0,_0x20cd19),_0x3c336f[_0xb0b9b9(0x245)](_0x20cd19,_0x20cd19,_0x20cd19,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3c336f[_0xb0b9b9(0x26e)](),_0x12d9fe['fill']&&(_0x3c336f['save'](),_0x3c336f['fillStyle']=_0x12d9fe[_0xb0b9b9(0x31a)],_0x12d9fe['fillRule']==='evenodd'?_0x3c336f[_0xb0b9b9(0x31a)](_0xb0b9b9(0x218)):_0x3c336f[_0xb0b9b9(0x31a)](),_0x3c336f['restore']());}class he extends _0x1f573e{constructor(_0x589a31,_0x570b17){const _0x59b1d4=_0x500701;super(_0x589a31,_0x570b17),_(this,_0x59b1d4(0x30f)),_(this,_0x59b1d4(0x242)),(this[_0x59b1d4(0x30f)]=_0x570b17==null?void 0x0:_0x570b17['color'],this['text']=_0x570b17==null?void 0x0:_0x570b17[_0x59b1d4(0x242)]);}static[_0x500701(0x279)](_0x1ed552,_0x374ca4){const _0x1dd804=_0x500701,{text:_0x5aec85,color:_0x52ef44}=_0x374ca4;_0x1ed552[_0x1dd804(0x28f)](),_0x1ed552['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x32ffd9=_0x1ed552[_0x1dd804(0x1a6)](_0x5aec85)[_0x1dd804(0x24c)],_0x4c9ed3=Math[_0x1dd804(0x20c)](_0x32ffd9+0x2*me,Qe);Oi(_0x1ed552,{'height':ee,'radius':0x4,'width':_0x4c9ed3,'fill':_0x52ef44}),_0x1ed552[_0x1dd804(0x32f)]=_0x1dd804(0x2ea);const _0xea9b20=me,_0x8c0e56=ee-Ei,_0x532818=Qe-0x2*me;if(_0x32ffd9>_0x532818){let _0xe09fde='',_0x426d73=0x0;for(const _0x5c29f7 of _0x5aec85){const _0x18f03e=_0x1ed552[_0x1dd804(0x1a6)](_0x5c29f7)[_0x1dd804(0x24c)];if(_0x426d73+_0x18f03e<=_0x532818-_0x1ed552[_0x1dd804(0x1a6)](_0x1dd804(0x17e))[_0x1dd804(0x24c)])_0xe09fde+=_0x5c29f7,_0x426d73+=_0x18f03e;else{_0xe09fde+=_0x1dd804(0x17e);break;}}_0x1ed552[_0x1dd804(0x2ba)](_0xe09fde,_0xea9b20,_0x8c0e56);}else _0x1ed552[_0x1dd804(0x2ba)](_0x5aec85,_0xea9b20,_0x8c0e56);_0x1ed552[_0x1dd804(0x17d)]();}['_draw'](_0x44fb7d){const _0x248b3e=_0x500701;he[_0x248b3e(0x279)](_0x44fb7d,this);}}function _0x201c(_0x19f2ad,_0xbf4fcd){const _0x15b06a=_0x15b0();return _0x201c=function(_0x201cbf,_0x5049bc){_0x201cbf=_0x201cbf-0x15a;let _0x57de0c=_0x15b06a[_0x201cbf];return _0x57de0c;},_0x201c(_0x19f2ad,_0xbf4fcd);}const Ie='collab-text-anchor-',bi=_0x500701(0x31e),Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x500701(0x2a3);class qe{constructor(_0x1dc254,_0x502c09,_0xc917a6,_0x2aae69){const _0x4a896e=_0x500701;_(this,_0x4a896e(0x276),[]),_(this,_0x4a896e(0x2b1),null),_(this,_0x4a896e(0x23e),null),_(this,_0x4a896e(0x228),null),_(this,_0x4a896e(0x2e6),null),_(this,_0x4a896e(0x272),null),(this[_0x4a896e(0x277)]=_0x1dc254,this['_scene']=_0x502c09,this[_0x4a896e(0x2d3)]=_0xc917a6,this['_document']=_0x2aae69,this['_render']());}set[_0x500701(0x2aa)](_0x2afc5d){const _0x3e53ef=_0x500701;_0x2afc5d?(this[_0x3e53ef(0x228)]&&this[_0x3e53ef(0x228)][_0x3e53ef(0x18c)](),this[_0x3e53ef(0x23e)]&&this['_textBubble']['show']()):(this[_0x3e53ef(0x228)]&&this['_anchorDot']['show'](),this[_0x3e53ef(0x23e)]&&this[_0x3e53ef(0x23e)]['hide']());}['dispose'](){const _0x4ebf85=_0x500701;for(const _0x157bfc of this[_0x4ebf85(0x276)])_0x157bfc[_0x4ebf85(0x1e7)]();this[_0x4ebf85(0x23e)]&&this['_textBubble']['dispose'](),this[_0x4ebf85(0x228)]&&this[_0x4ebf85(0x228)][_0x4ebf85(0x1e7)](),this[_0x4ebf85(0x2b1)]&&this[_0x4ebf85(0x2b1)][_0x4ebf85(0x1e7)](),this[_0x4ebf85(0x272)]&&this['_eventUnsubscribe']();}[_0x500701(0x347)](){const _0x3c2e34=_0x500701;var _0x331458;const {_docSkeleton:_0x55bc14,_document:_0x57ea89}=this,{color:_0x1256ec,name:_0x29f2e0,ranges:_0x1bfdd5}=this['_cursor'],_0x134214=_0x57ea89[_0x3c2e34(0x167)](),{docsLeft:_0x2e2634,docsTop:_0x567e29}=_0x134214,_0x3660ed=new _0x1e1661(_0x134214,_0x55bc14);for(const {startOffset:_0x5bf6cb,endOffset:_0xbf6128,rangeType:_0x55f7d7,segmentId:_0x335bb5,segmentPage:_0x56cb01,collapsed:_0x29f362,isActive:_0xbebacb}of _0x1bfdd5){const _0x43013e=_0x55bc14[_0x3c2e34(0x17a)](_0x5bf6cb,!0x0,_0x335bb5,_0x56cb01);let _0x49477c=_0x55bc14[_0x3c2e34(0x17a)](_0xbf6128,!0x0,_0x335bb5,_0x56cb01);if(_0x49477c==null&&(_0x49477c=_0x55bc14[_0x3c2e34(0x17a)](_0xbf6128-0x1,!0x1,_0x335bb5,_0x56cb01)),_0xbebacb){const {contentBoxPointGroup:_0x330cc1}=_0x3660ed[_0x3c2e34(0x28c)](_0x49477c,_0x49477c);if(_0x330cc1[_0x3c2e34(0x234)]===0x0)continue;this[_0x3c2e34(0x2bd)](_0x1256ec,_0x330cc1,_0x2e2634,_0x567e29,_0x29f2e0),this['_eventUnsubscribe']=this[_0x3c2e34(0x328)]();}if(_0x43013e&&_0x49477c){if(_0x55f7d7===_0x20cb98[_0x3c2e34(0x2b6)]){const _0x5ac8b1=new _0x12c27a(_0x134214,_0x55bc14),{pointGroup:_0x287127}=(_0x331458=_0x5ac8b1[_0x3c2e34(0x28c)](_0x43013e,_0x49477c))!=null?_0x331458:{};if(_0x287127==null||_0x287127['length']===0x0)continue;this[_0x3c2e34(0x185)](_0x1256ec,_0x287127,_0x2e2634,_0x567e29);}else{if(!_0x29f362){const {borderBoxPointGroup:_0x1c41e3}=_0x3660ed['getRangePointData'](_0x43013e,_0x49477c);if(_0x1c41e3[_0x3c2e34(0x234)]===0x0)continue;this[_0x3c2e34(0x181)](_0x1256ec,_0x1c41e3,_0x2e2634,_0x567e29);}}}}}[_0x500701(0x2bd)](_0x5e343e,_0x1045ac,_0x316d65,_0x53fa4c,_0x2b38e8){const _0x28af3a=_0x500701,_0x11702a=this[_0x28af3a(0x2fa)](_0x1045ac),{left:_0x33cf40,top:_0x43694d,height:_0x33aeae}=_0x11702a,_0x211a7a=this[_0x28af3a(0x300)](),_0x5077cc=Di/_0x211a7a,_0x4ae1c5=new _0x2fb5cd(Ie+_0xd3854a[_0x28af3a(0x200)](X),{'left':_0x33cf40+_0x316d65-_0x5077cc,'top':_0x43694d+_0x53fa4c,'height':_0x33aeae,'width':Ri,'fill':_0x5e343e||_0x8c785f(_0xa0b366[_0x28af3a(0x351)],0x0),'strokeWidth':_0x5077cc,'stroke':Ni,'evented':!0x0});this[_0x28af3a(0x2b1)]=_0x4ae1c5,this[_0x28af3a(0x1c6)]['addObject'](_0x4ae1c5,_0x28a77f);const _0x390ad6=new _0x2fb5cd(Ie+_0xd3854a[_0x28af3a(0x200)](X),{'left':_0x33cf40+_0x316d65-_0x5077cc,'top':_0x43694d+_0x53fa4c-ge/0x2,'height':ge,'width':ge,'fill':_0x5e343e||_0x8c785f(_0xa0b366[_0x28af3a(0x351)],0x0),'strokeWidth':0x0,'stroke':_0x5e343e||_0x8c785f(_0xa0b366['black'],0x0),'evented':!0x1});this[_0x28af3a(0x228)]=_0x390ad6,this[_0x28af3a(0x1c6)][_0x28af3a(0x1c2)](_0x390ad6,_0x28a77f);const _0x147cb7=new he(Ie+_0xd3854a[_0x28af3a(0x200)](X),{'left':_0x33cf40+_0x316d65-_0x5077cc,'top':_0x43694d+_0x53fa4c-ee,'text':_0x2b38e8,'color':_0x5e343e});this[_0x28af3a(0x23e)]=_0x147cb7,this[_0x28af3a(0x1c6)][_0x28af3a(0x1c2)](_0x147cb7,_0x28a77f),this[_0x28af3a(0x2aa)]=!0x1;}[_0x500701(0x328)](){const _0x4e9496=_0x500701,_0x171720=this['_anchor'][_0x4e9496(0x297)][_0x4e9496(0x2a4)](()=>{const _0x557dd7=_0x4e9496;this[_0x557dd7(0x2aa)]=!0x0;}),_0x5d134f=this[_0x4e9496(0x2b1)][_0x4e9496(0x32c)][_0x4e9496(0x2a4)](()=>{const _0x2c0963=_0x4e9496;this[_0x2c0963(0x2e6)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x2801e5=_0x2c0963;this[_0x2801e5(0x2aa)]=!0x1;},0x7d0);});return()=>{const _0x5d4ea7=_0x4e9496;_0x171720[_0x5d4ea7(0x329)](),_0x5d134f[_0x5d4ea7(0x329)]();};}[_0x500701(0x181)](_0x575fed,_0x2e7f9b,_0x19c5a9,_0x56217c){const _0x3bd4ae=_0x500701,_0x120bba=new _0x331b5e(_0x575fed)['setAlpha'](0.2)[_0x3bd4ae(0x326)](),_0x5b6128=new _0x51dbaa(bi+_0xd3854a[_0x3bd4ae(0x200)](X),{'pointsGroup':_0x2e7f9b,'fill':_0x120bba||_0x8c785f(_0xa0b366[_0x3bd4ae(0x351)],0.2),'left':_0x19c5a9,'top':_0x56217c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3bd4ae(0x276)][_0x3bd4ae(0x2a2)](_0x5b6128),this['_scene'][_0x3bd4ae(0x1c2)](_0x5b6128,_0x28a77f);}[_0x500701(0x185)](_0xc7d61c,_0x15abe8,_0x55937b,_0x4907d4){const _0x3caaa3=_0x500701,_0x302585=new _0x331b5e(_0xc7d61c)[_0x3caaa3(0x2b9)](0.2)[_0x3caaa3(0x326)](),_0x248e29=new _0x51dbaa(Ti+_0xd3854a[_0x3caaa3(0x200)](X),{'pointsGroup':_0x15abe8,'fill':_0x302585||_0x8c785f(_0xa0b366[_0x3caaa3(0x351)],0.2),'left':_0x55937b,'top':_0x4907d4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3caaa3(0x276)][_0x3caaa3(0x2a2)](_0x248e29),this[_0x3caaa3(0x1c6)][_0x3caaa3(0x1c2)](_0x248e29,_0x28a77f);}[_0x500701(0x2fa)](_0x30279a){const _0x363ba5=_0x30279a[0x0],_0x1978f3=_0x363ba5[0x0],_0x3867cf=_0x363ba5[0x2],{x:_0x49d8a7,y:_0x33d97a}=_0x1978f3,{x:_0x2bee7c,y:_0x5e8fae}=_0x3867cf;return{'left':_0x49d8a7,'top':_0x33d97a,'width':_0x2bee7c-_0x49d8a7,'height':_0x5e8fae-_0x33d97a};}['_getScale'](){const _0x2bfb25=_0x500701,{scaleX:_0x2187ce,scaleY:_0x1f415a}=this[_0x2bfb25(0x1c6)][_0x2bfb25(0x271)]();return Math[_0x2bfb25(0x1c5)](_0x2187ce,_0x1f415a);}}var Ui=Object[_0x500701(0x248)],Mi=(_0x383ee6,_0x3a4234,_0x7d65a0,_0x4976b5)=>{for(var _0x339857=_0x4976b5>0x1?void 0x0:_0x4976b5?Ui(_0x3a4234,_0x7d65a0):_0x3a4234,_0x324ff5=_0x383ee6['length']-0x1,_0x2a4362;_0x324ff5>=0x0;_0x324ff5--)(_0x2a4362=_0x383ee6[_0x324ff5])&&(_0x339857=_0x2a4362(_0x339857)||_0x339857);return _0x339857;},Z=(_0x51ee07,_0x2e4a15)=>(_0x2c6653,_0x4c4b17)=>_0x2e4a15(_0x2c6653,_0x4c4b17,_0x51ee07);let we=class extends _0x51bb57{constructor(_0x119cbb,_0x136ea1,_0x188500,_0x29a5d2,_0x4b0e52){const _0x1f37e9=_0x500701;super(),_(this,_0x1f37e9(0x2da),[]),_(this,_0x1f37e9(0x1aa),[]),(this[_0x1f37e9(0x1e2)]=_0x119cbb,this['_docSkeletonManagerService']=_0x136ea1,this['_collabCursorController']=_0x188500,this['_commandService']=_0x29a5d2,this[_0x1f37e9(0x352)]=_0x4b0e52,this[_0x1f37e9(0x21e)]());}[_0x500701(0x21e)](){const _0x238b56=_0x500701,_0x23675a=this[_0x238b56(0x1e2)][_0x238b56(0x319)],_0x8be308=this[_0x238b56(0x1e1)];this[_0x238b56(0x226)](_0x149121([this[_0x238b56(0x20a)][_0x238b56(0x270)](_0x23675a),this[_0x238b56(0x352)][_0x238b56(0x357)]])[_0x238b56(0x323)](_0x510b8c(([_0x4fbe7e,_0x4b1d8e])=>({'skeleton':_0x8be308[_0x238b56(0x31c)](),'cursors':[..._0x4fbe7e[_0x238b56(0x1d1)]()][_0x238b56(0x2c1)](_0x2869c4=>({..._0x2869c4,'color':this['_themeService'][_0x238b56(0x2cc)](_0x2869c4[_0x238b56(0x30f)])}))})))[_0x238b56(0x320)](_0x2c2a43=>{const _0x3680a8=_0x238b56;if(this[_0x3680a8(0x355)](),_0x2c2a43){const {skeleton:_0x31482,cursors:_0x27094f}=_0x2c2a43;this[_0x3680a8(0x1c1)](_0x31482,_0x27094f);}})),this['_initResize'](),this[_0x238b56(0x2a1)]();}[_0x500701(0x1c1)](_0x6fc8a1,_0x4a9f6e){const _0x28d2e6=_0x500701,{scene:_0x5ba416,mainComponent:_0x9bd361}=this[_0x28d2e6(0x1e2)],_0x11e8d8=_0x4a9f6e[_0x28d2e6(0x1a7)](_0xf1dc4b=>new qe(_0xf1dc4b,_0x5ba416,_0x6fc8a1,_0x9bd361));this[_0x28d2e6(0x2da)]=_0x11e8d8,this[_0x28d2e6(0x1aa)]=_0x4a9f6e;}[_0x500701(0x22e)](){const _0x2d5aab=_0x500701;this[_0x2d5aab(0x355)]();const {scene:_0x109a30,mainComponent:_0x21354e}=this['_context'],_0x46bd77=this[_0x2d5aab(0x1e1)][_0x2d5aab(0x31c)](),_0x4840a=this[_0x2d5aab(0x1aa)]['map'](_0x22aaa2=>new qe(_0x22aaa2,_0x109a30,_0x46bd77,_0x21354e));this[_0x2d5aab(0x2da)]=_0x4840a;}['_removeCollabCursors'](){const _0x576f32=_0x500701;this[_0x576f32(0x2da)][_0x576f32(0x295)](_0x50dbb2=>_0x50dbb2[_0x576f32(0x1e7)]()),this[_0x576f32(0x2da)]=[];}['_initCommandExecutedListener'](){const _0x5b840a=_0x500701,_0x226a54=[_0x43d6d2['id']];this['disposeWithMe'](this[_0x5b840a(0x2b3)]['onCommandExecuted'](_0x362a63=>{const _0x14f6cd=_0x5b840a;_0x226a54[_0x14f6cd(0x1bd)](_0x362a63['id'])&&_0x362a63[_0x14f6cd(0x2cd)][_0x14f6cd(0x319)]===this['_context'][_0x14f6cd(0x319)]&&this[_0x14f6cd(0x22e)]();}));}['_initResize'](){const _0x248ece=_0x500701;this['disposeWithMe'](_0x133933(this[_0x248ece(0x1e2)][_0x248ece(0x2e5)][_0x248ece(0x26d)])[_0x248ece(0x323)](_0x46d147(_0x2b800d=>_0x2b800d[_0x248ece(0x2f5)]===_0x56f247[_0x248ece(0x1d3)]),_0x13f76c(0x10))[_0x248ece(0x320)](()=>{this['_refreshCollabCursors']();}));}};we=Mi([Z(0x1,_0x36f55a(_0x676da8)),Z(0x2,_0x36f55a(H)),Z(0x3,_0x44ae43),Z(0x4,_0x36f55a(_0x28de01))],we);const wi=0x1,Pi=1.5;class Li extends _0x1f573e{constructor(_0x55603b,_0x6e99d){const _0x3a224d=_0x500701;super(_0x55603b,_0x6e99d),_(this,_0x3a224d(0x249)),_(this,'_hovered',!0x1),_(this,_0x3a224d(0x220)),_(this,_0x3a224d(0x1f9),''),_(this,_0x3a224d(0x309),_0x3a224d(0x27c)),_(this,'_backgroundColor'),(_0x6e99d&&this[_0x3a224d(0x2e1)](_0x6e99d),this['onPointerEnter$'][_0x3a224d(0x2a4)](()=>this[_0x3a224d(0x2e1)]({'hovered':!0x0})),this[_0x3a224d(0x32c)][_0x3a224d(0x2a4)](()=>this[_0x3a224d(0x2e1)]({'hovered':!0x1})));}[_0x500701(0x2e1)](_0x441d37){const _0x1a4d37=_0x500701;var _0x3cfb08,_0x5a58bb,_0x280b99,_0x45544f,_0x3c0c63,_0x4a77ac;this['_color']=(_0x3cfb08=_0x441d37[_0x1a4d37(0x30f)])!=null?_0x3cfb08:this[_0x1a4d37(0x249)],this[_0x1a4d37(0x26b)]=(_0x5a58bb=_0x441d37[_0x1a4d37(0x336)])!=null?_0x5a58bb:this['_hovered'],this[_0x1a4d37(0x220)]=(_0x280b99=_0x441d37[_0x1a4d37(0x299)])!=null?_0x280b99:this[_0x1a4d37(0x220)],this[_0x1a4d37(0x1f9)]=(_0x45544f=_0x441d37[_0x1a4d37(0x1c7)])!=null?_0x45544f:this[_0x1a4d37(0x1f9)],this[_0x1a4d37(0x309)]=(_0x3c0c63=_0x441d37[_0x1a4d37(0x1fa)])!=null?_0x3c0c63:this[_0x1a4d37(0x309)],this[_0x1a4d37(0x307)]=(_0x4a77ac=_0x441d37[_0x1a4d37(0x2b2)])!=null?_0x4a77ac:this[_0x1a4d37(0x307)],this[_0x1a4d37(0x16c)]({'width':_0x441d37[_0x1a4d37(0x24c)],'height':_0x441d37[_0x1a4d37(0x2fd)]});}[_0x500701(0x33e)](_0x56b1fe){const _0x257014=_0x500701,{row:_0x2d868f,column:_0x1e05f0}=_0x56b1fe;if(_0x2d868f>=this[_0x257014(0x220)][_0x257014(0x231)]&&_0x2d868f<=this[_0x257014(0x220)][_0x257014(0x280)]&&_0x1e05f0>=this['_range'][_0x257014(0x1e8)]&&_0x1e05f0<=this[_0x257014(0x220)]['endColumn']){this[_0x257014(0x2e1)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x227af7){return!0x1;}['_draw'](_0x16159f){const _0x2167fa=_0x500701;_0x2fb5cd[_0x2167fa(0x279)](_0x16159f,{'width':this[_0x2167fa(0x24c)],'height':this['height'],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x2167fa(0x26b)]&&(_0x16159f[_0x2167fa(0x28f)](),_0x16159f[_0x2167fa(0x225)](0x1,0x0,0x0,0x1,this[_0x2167fa(0x24c)],this[_0x2167fa(0x309)]===_0x2167fa(0x2b4)?0x0:-0x14),he[_0x2167fa(0x279)](_0x16159f,{'text':this['_name'],'color':this[_0x2167fa(0x249)]}),_0x16159f['restore']());}}function _0x15b0(){const _0x36ea18=['_textBubble','_unitOnClients','_toggleOffline','clearInterval','text','on-line-icon','INTERNAL_ERROR','arc','href','MoveRangeCommandId','getOwnPropertyDescriptor','_color','imageSourceType','transformMutation','width','replace','size','_setupBeforeClosingHandler','_createSocketURL','symbol','displayName','on-line-icon_clip0_910_349','undoState','from','_docTransformSelectionsService','_transformHistoryAndStateStack','collabStatus.offline','url(#$1','6730878jjjTYc','currentSkeleton$','_startDocCollabCursor','INVITE_CODE_ALREADY_BOUND','_updateSubUnitFromURLParams','_scheduleClearOtherTimer','defs','PENDING','invokeId','history','transformStateCache','getCurrentUnitForType','YUUMI_NO_CUBOID_FOR_QUESTION','getCellPositionByOffset','CONNECTOR_DATA_TOO_LARGE','getDocRanges','div','_hovered','clearTimeout','onTransformChange$','closePath','unit','getCollabCursors$','getAncestorScale','_eventUnsubscribe','getMemberID','assignAColorForMemberID','collaboration-client.offline-data-not-saved','_shapes','_cursor','6024wfsGwq','drawWith','M0\x200H16V16H0z','prototype','top','LICENSE_EXPORT_SIZE_EXCEEDED','_localeService','_univerInstanceService','endRow','UniverIcon','entries','_disabled','TOO_MANY_REQUESTS','tag','UNIVER_SHEET','_updateURLWithCurrentState','removeParam','_collaborationController','urlChange$','m2Prime','getRangePointData','getItem','pushState','save','getSheetBySheetId','_revisionService','_collabCursorState$','_notificationService','addClipboardHook','forEach','SOCKET_FAILED','onPointerEnter$','_initStatusListener','range','getCurrentRevOfUnit','_setupSubUnitSync','collabStatus.fetchMiss','_initEvent','YUUMI_ALL_TABLES_IS_INVALID','_docSyncEditingCollabCursorService','newValue','_initCommandExecutedListener','push','rgba(255,\x20255,\x20255,\x200.01)','subscribeEvent','_handleJoinEvent','off-line-icon_clip0_910_343','indexOf','apply','trim','_hover','propertyIsEnumerable','2lZTrVs','_getSaveTimeout','string','set','SOCKET_FAILED_RETRY','_anchor','backgroundColor','_commandService','bottom','saveImage','RECT','addObjects','replaceDocRanges','setAlpha','fillText','_docTransformStateCacheService','debug','_drawAnchor','WECHAT_HAS_BEEN_BOUND','SNAPSHOT_HAS_BEEN_REMOVED','UNRECOGNIZED','flatMap','_entities','doc.mutation.rich-text-editing','APPLY_REVISION_CONFILICT','AWAITING_WITH_PENDING','searchParams','pluginName','http://www.w3.org/2000/svg','_assignedColors','406Uatjlp','sessionStatus$','getColorFromTheme','params','_transformService','JOIN_ROOM_FAILED','getViewport','0\x200\x2017\x2016','NOT_FOUND','_docSkeleton','isEditing','_collaborationUIEventService','_handleLeaveEvent','registerRenderModule','SYNCED','children','_cursorShapes','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','YUUMI_URL_COL_OUT_OF_RANGE','data','_startSheetCollabCursor','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','getCurrentSelections','setShapeProps','CHANGESET_REVISION_CONFILICT','univer-flex\x20univer-mr-2\x20univer-text-xl','/run/','engine','_hideTimer','createInstance','getConfig','subUnitId','#FFF','replaceState','_colorAssignService','whenReady','_roomMembers$','onLocalMutation','_clearOtherTimers','collabStatus.notCollab','INVALID_INVITE_CODE','setStateCache','NO_OTHER_CLIENTS_EDITING','type','_docTransformIMECacheService','sessionTicket','UNDEFINED','m1Prime','_getAnchorBounding','some','InsertRangeMoveRightCommandId','height','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_sheetSkeletonManagerService','_getScale','unitID','moveTo','getMember','concat','SUBMIT_CHANGESET_TIMEOUT','Unknown\x20user','_backgroundColor','collabCursorState$','_labelPosition','COMPLETION_FINISHED','collab-client.tooltip.reconnect','PY_RUNTIME_SCRIPT_ERROR','setUndoRedoMutationParamsCache','getMergeData','color','dispose$','unload','saveOfflineData','reconnect','attrs','_messageService','yellow.400','YUUMI_SUBSCRIPTION_NOT_FOUND','_saveCache','unitId','fill','idSuffix','getSkeleton','_selfUnitIDs','collab-text-range-','substring','subscribe','textRanges','YUUMI_AI_RUN_FAILED','pipe','status$','INVITE_CODE_HAS_BEEN_UES','toRgbString','CONFLICT','_handleHover','unsubscribe','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_logService','onPointerLeave$','session.collaboration-timeout','_updateLocalCursor','fillStyle','FromArray','all','_dataLoaderService','none','xlink:href','_configService','hovered','onCommandExecuted','isActive','onStarting','_getMergeRange','permission.content','docStateChange$','override','onMouseMove','getFocusedUnit','_getSheetObject','transformRemoteChangeset','YUUMI_ASYNCIO_CANCELLED','_unitStatus','location','collaboration-client-ui.config','_toggleOnline','_render','roomMembers','setParam','key','enableLocalCache','LOGIN_FAILED','YUUMI_RATE_OVER_LIMIT','eventID','activeSheet$','runId','black','_themeService','MOBILE_HAS_BEEN_BOUND','YUUMI_UNABLE_LOAD_URL','_removeCollabCursors','unshift','currentTheme$','_ensureSubject','_session','className','collabStatus.conflict','PERMISSION_DENIED','INVALID_ARGUMENT','event$','getActiveRange','exhaustSavingTask','OTHER_CLIENTS_EDITING','10hwyneT','_onCursorDelete','USER_NOT_INVITED_CODE','red.300','setConfig','extend','getOffsetConfig','getTypeOfUnitAdded$','3507084wcjxtK','column','session.will-retry','transformByState','send','1em','lineTo','_removeClearOtherTimer','getParam','univerjs-icon\x20univerjs-icon-','_scheduleSaving','ONLINE','ranges','getCurrent','getUnitStatus$','getTypeOfUnitDisposed$','cursorInfo','findNodePositionByCharIndex','_initDependencies','getOwnPropertySymbols','restore','...','OTHER_CLIENT_EDITING','show','_drawTextRange','_renderManagerService','clipPath','APPLY_PERMISSION_DENIED','_drawRectRange','InsertRowCommandId','roomMembers$','_handleHeartbeatEvent','_online','_urlService','VIEW_MAIN','hide','mask','_registerRenderDependencies','makeDirty','_onCursorUpdate','_initStatusComponent','HEADER_MENU','_colorIndex','icon','blue.400','cursorInfo$','_status$','_collabSessionService','SNAPSHOT_INVALID_SNAPSHOT','transformSelections','315731ACocZL','MUTATION','search','Failed','YUUMI_TABLE_NOT_FOUND_IN_UNIT','popstate','_id','get','UNAUTHENTICATED','_injector','_docClipboardService','measureText','map','getValue','colorChannel1','_cursors','UPDATE_CURSOR','NOT_COLLAB','registerBeforeClose','2609562LeNtSj','syncEditingCollabCursor','find','assign','_instanceService','isArray','defineProperty','onRendered','application/json','_syncEditingCollabCursorService','APPLY_DUPLICATED','collaboration.single-unit.warning','collabStatus.synced','UNIVER_DOC','ACTIVE_UNIT_EVENT_CHANNEL','includes','_memberService','permission.title','AWAITING','_updateCollabCursors','addObject','add','deepClone','max','_scene','name','subunit','next','ALREADY_EXISTS','has','white','loadUnit','_send','_cursorInfo$','call','values','path','resize','defIds','_registerDependencies','_localStorageService','complete','TEXT','_docStateChangeManagerService','transformIMECache','executeCommand','with','getRelativeToViewportCoord','APPLY_REJECT','origin','split','_docSkeletonManagerService','_context','init','registerRefRange','round','hasOwnProperty','dispose','startColumn','2224310Gwilwg','then','error','disposeUnit','_heartbeatTimer','off-line-icon','editingUnit','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','registerComponent','random','CLOSE_ROOM','_scheduleHeartbeat','toString','translate(.97)','selection','mutations','_name','labelPosition','asObservable','USERS_LEAVE','redoState','LICENSE_DISTRO_REJECTED','InsertRangeMoveDownCommandId','generateRandomId','currentColor','0\x200\x2016\x2016','stringify','delete','collaboration.closeRoom','LICENSE_MAX_UNITS_EXCEEDED','_config','url(#on-line-icon_clip0_910_349)','skeleton','_collabCursorController','_entityInit$','min','svg','uni.network.url-service','_refRangeService','ENSURE_SNAPSHOT_EXECUTION','LICENSE_IMPORT_SIZE_EXCEEDED','_imageIoService','selections','url(#off-line-icon_clip0_910_343)','getUnitId','body','10264707dOaThN','evenodd','INVITE_CODE_REQUIRED','_uiPartsService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_localCacheService','APPLY_NON_SEQUENTIAL_REVISION','_init','_handleEvent','_range','setItem','getActiveSheet','_cachedData','current','transform','disposeWithMe','_getSessionTicket','_anchorDot','getRenderById','_beforeCloseService','DeleteRangeMoveLeftCommandId','Warning','getCollabEntity$','_refreshCollabCursors','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_lastPointer','startRow','green.600','getSheetId','length','Error','_onRefRangeChange','_saveTaskMap','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','startsWith','_transformPreviousActiveRange','_transformUndoRedoStack','_initEntityListener','[CollaborationDataLoaderController]'];_0x15b0=function(){return _0x36ea18;};return _0x15b0();}var Ai=Object[_0x500701(0x248)],yi=(_0xa00242,_0x258b26,_0xd422bf,_0x44225f)=>{for(var _0x291ee2=_0x44225f>0x1?void 0x0:_0x44225f?Ai(_0x258b26,_0xd422bf):_0x258b26,_0x10d8f2=_0xa00242['length']-0x1,_0x47dc94;_0x10d8f2>=0x0;_0x10d8f2--)(_0x47dc94=_0xa00242[_0x10d8f2])&&(_0x291ee2=_0x47dc94(_0x291ee2)||_0x291ee2);return _0x291ee2;},ve=(_0x41daa0,_0x3f63d8)=>(_0x167f7f,_0x5cb713)=>_0x3f63d8(_0x167f7f,_0x5cb713,_0x41daa0);const $i=0x1389;let Pe=class extends _0x51bb57{constructor(_0x565874,_0x78d550,_0x40c04e,_0x4f9418){const _0x5018f3=_0x500701;super(),_(this,_0x5018f3(0x1aa),new Set()),_(this,'_lastPointer',null),(this[_0x5018f3(0x1e2)]=_0x565874,this[_0x5018f3(0x2ff)]=_0x78d550,this[_0x5018f3(0x20a)]=_0x40c04e,this[_0x5018f3(0x352)]=_0x4f9418,this[_0x5018f3(0x21e)]());}[_0x500701(0x21e)](){const _0xadb4f0=_0x500701;this[_0xadb4f0(0x2ff)][_0xadb4f0(0x25b)]['pipe'](_0x567b06(this['dispose$']),_0x4284f1(_0x3d6019=>{const _0x53f66a=_0xadb4f0;if(_0x3d6019){const _0x1511f5=_0x3d6019['sheetId'];return _0x149121(this['_collabCursorController']['getCollabCursors$'](this['_context']['unitId']),this[_0x53f66a(0x352)]['currentTheme$'])[_0x53f66a(0x323)](_0x510b8c(([_0x42ba8d,_0x2ca257])=>{const _0x52d36d=new Map();return _0x42ba8d['forEach']((_0x329e9a,_0x8150f1)=>{const _0x127e8f=_0x201c;if(_0x329e9a['sheetID']===_0x1511f5){const _0x50ac24={..._0x329e9a};_0x50ac24[_0x127e8f(0x30f)]=this[_0x127e8f(0x352)]['getColorFromTheme'](_0x329e9a[_0x127e8f(0x30f)]),_0x52d36d[_0x127e8f(0x2af)](_0x8150f1,_0x50ac24);}}),{'skeleton':_0x3d6019,'cursors':_0x52d36d};}));}return _0x40f510({'skeleton':null,'cursors':new Map()});}))[_0xadb4f0(0x320)](({skeleton:_0xf3a7fd,cursors:_0x35d5b0})=>{const _0x5fec15=_0xadb4f0;this[_0x5fec15(0x355)](),_0xf3a7fd&&this['_updateCollabCursors'](_0xf3a7fd,_0x35d5b0);}),this[_0xadb4f0(0x2ff)]['currentSkeleton$']['subscribe'](_0x3e10ae=>{const _0x5f4077=_0xadb4f0;if(_0x3e10ae==null)return;const {skeleton:_0x3aa73d}=_0x3e10ae,{scene:_0x2baf80}=this[_0x5f4077(0x1e2)];_0x2baf80['onPointerMove$'][_0x5f4077(0x2a4)](_0x270191(_0x4f34a8=>{const _0x406784=_0x5f4077;var _0x55d087,_0x462436;const {offsetX:_0x5602fd,offsetY:_0x1a2666}=_0x4f34a8,{x:_0x45fed1,y:_0x4c370c}=_0x2baf80[_0x406784(0x1dd)](_0xe085c2[_0x406784(0x330)]([_0x5602fd,_0x1a2666])),{scaleX:_0x207ed7,scaleY:_0x281143}=_0x2baf80[_0x406784(0x271)](),_0x402973=_0x2baf80[_0x406784(0x2d0)](_0x1bfa2b[_0x406784(0x18b)]),_0x14a389=_0x2baf80['getVpScrollXYInfoByPosToVp'](_0xe085c2[_0x406784(0x330)]([_0x45fed1,_0x4c370c]),_0x402973),_0x17c578=_0x3aa73d[_0x406784(0x267)](_0x5602fd,_0x1a2666,_0x207ed7,_0x281143,_0x14a389);((_0x55d087=this[_0x406784(0x230)])==null?void 0x0:_0x55d087['column'])===_0x17c578[_0x406784(0x16a)]&&((_0x462436=this[_0x406784(0x230)])==null?void 0x0:_0x462436['row'])===_0x17c578['row']||this[_0x406784(0x1aa)][_0x406784(0x295)](_0x3f1fdd=>{const _0x498713=_0x406784;_0x3f1fdd[_0x498713(0x33e)](_0x17c578);});},0x64));});}[_0x500701(0x1c1)](_0x4a5d68,_0x1b83fa){const _0x48baf7=_0x500701;var _0x43df9c;const _0x395f65=(_0x43df9c=this[_0x48baf7(0x2ff)][_0x48baf7(0x176)]())==null?void 0x0:_0x43df9c[_0x48baf7(0x209)];if(!_0x395f65)return;const _0x44465a=this[_0x48baf7(0x340)]();if(!_0x44465a)return;this[_0x48baf7(0x1aa)][_0x48baf7(0x295)](_0x5b68c6=>{const _0x521276=_0x48baf7;_0x5b68c6[_0x521276(0x18f)]();});const {scene:_0x3bc466}=_0x44465a,_0x48eaa3=xi(Array[_0x48baf7(0x255)](_0x1b83fa[_0x48baf7(0x1d1)]()))['map'](_0x47f6a5=>{const {color:_0x211bef,range:_0x314203,name:_0x1ca5c5,selection:_0x52897d,sheetID:_0x56069f}=_0x47f6a5,{startColumn:_0x57f9f1,startRow:_0x402728,endColumn:_0x282b48,endRow:_0x20855c}=_0x314203,_0x502b8a=_0x119062(_0x402728,_0x57f9f1,_0x3bc466,_0x395f65),_0x4d8d35=_0x119062(_0x20855c,_0x282b48,_0x3bc466,_0x395f65),{columnHeaderHeightAndMarginTop:_0x35a248}=_0x395f65,{startX:_0x4ff845,startY:_0x4ada7d}=_0x502b8a,{endX:_0x4acb69,endY:_0x55177f}=_0x4d8d35,_0x154df2=_0x4acb69-_0x4ff845,_0xd6eb8a=_0x55177f-_0x4ada7d,_0xf5fc52={'labelPosition':_0x4ada7d-_0x35a248>=ee?'top':'bottom','sheetID':_0x56069f,'range':_0x314203,'color':_0x211bef,'name':_0x1ca5c5,'selection':_0x52897d,'left':_0x4ff845,'top':_0x4ada7d,'width':_0x154df2,'height':_0xd6eb8a,'evented':!0x1,'zIndex':$i};return new Li(_0x1ca5c5,_0xf5fc52);});_0x3bc466[_0x48baf7(0x2b7)](_0x48eaa3,wi),this[_0x48baf7(0x1aa)]=new Set(_0x48eaa3);}[_0x500701(0x355)](){const _0x1ec944=_0x500701;var _0x1086b7;(_0x1086b7=this[_0x1ec944(0x1aa)])==null||_0x1086b7[_0x1ec944(0x295)](_0x49cafb=>_0x49cafb[_0x1ec944(0x1e7)]());}[_0x500701(0x340)](){const _0x5649d3=_0x500701;return _0x12664d(this[_0x5649d3(0x1e2)][_0x5649d3(0x26f)],this['_context']);}};Pe=yi([ve(0x1,_0x36f55a(_0x2608ff)),ve(0x2,_0x36f55a(H)),ve(0x3,_0x36f55a(_0x28de01))],Pe);function xi(_0x578e64){const _0x25f674=_0x500701,_0x1d6069=new Map();return _0x578e64[_0x25f674(0x295)](_0x5e8198=>{const _0x569bd6=_0x25f674;if(_0x1d6069[_0x569bd6(0x1cb)](_0x5e8198[_0x569bd6(0x1f7)])){const _0x4eb57e=_0x1d6069['get'](_0x5e8198[_0x569bd6(0x1f7)]);_0x4eb57e[_0x569bd6(0x1c7)]+=',\x20'+_0x5e8198[_0x569bd6(0x1c7)];}else _0x1d6069[_0x569bd6(0x2af)](_0x5e8198[_0x569bd6(0x1f7)],_0x5e8198);}),Array[_0x25f674(0x255)](_0x1d6069[_0x25f674(0x1d1)]());}var v=function(){const _0x5836e8=_0x500701;return v=Object[_0x5836e8(0x1b1)]||function(_0x55b750){const _0x991d5a=_0x5836e8;for(var _0x2ae1c0,_0x27ec13=0x1,_0x76169e=arguments[_0x991d5a(0x234)];_0x27ec13<_0x76169e;_0x27ec13++){_0x2ae1c0=arguments[_0x27ec13];for(var _0x1e2745 in _0x2ae1c0)Object[_0x991d5a(0x27b)][_0x991d5a(0x1e6)][_0x991d5a(0x1d0)](_0x2ae1c0,_0x1e2745)&&(_0x55b750[_0x1e2745]=_0x2ae1c0[_0x1e2745]);}return _0x55b750;},v[_0x5836e8(0x2a8)](this,arguments);},Bi=function(_0x21b87f,_0x2f5049){const _0x16936b=_0x500701;var _0x14f22e={};for(var _0x37204b in _0x21b87f)Object[_0x16936b(0x27b)][_0x16936b(0x1e6)][_0x16936b(0x1d0)](_0x21b87f,_0x37204b)&&_0x2f5049[_0x16936b(0x2a7)](_0x37204b)<0x0&&(_0x14f22e[_0x37204b]=_0x21b87f[_0x37204b]);if(_0x21b87f!=null&&typeof Object[_0x16936b(0x17c)]=='function'){for(var _0x30ea8c=0x0,_0x37204b=Object[_0x16936b(0x17c)](_0x21b87f);_0x30ea8c<_0x37204b[_0x16936b(0x234)];_0x30ea8c++)_0x2f5049[_0x16936b(0x2a7)](_0x37204b[_0x30ea8c])<0x0&&Object[_0x16936b(0x27b)][_0x16936b(0x2ab)][_0x16936b(0x1d0)](_0x21b87f,_0x37204b[_0x30ea8c])&&(_0x14f22e[_0x37204b[_0x30ea8c]]=_0x21b87f[_0x37204b[_0x30ea8c]]);}return _0x14f22e;},je=_0x45d79(function(_0x360318,_0x4a79a1){const _0x51a791=_0x500701;var _0x1c8688=_0x360318[_0x51a791(0x194)],_0x40be5c=_0x360318['id'],_0x5dac60=_0x360318[_0x51a791(0x35a)],_0x4fade3=_0x360318[_0x51a791(0x166)],_0x20f745=Bi(_0x360318,[_0x51a791(0x194),'id','className','extend']),_0x5fd4f7=_0x51a791(0x172)[_0x51a791(0x304)](_0x40be5c,'\x20')['concat'](_0x5dac60||'')[_0x51a791(0x2a9)](),_0x883b38=_0x2f8c55('_'[_0x51a791(0x304)](ji()));return Rt(_0x1c8688,''[_0x51a791(0x304)](_0x40be5c),{'defIds':_0x1c8688['defIds'],'idSuffix':_0x883b38[_0x51a791(0x224)]},v({'ref':_0x4a79a1,'className':_0x5fd4f7},_0x20f745),_0x4fade3);});function Rt(_0x40d862,_0x1adaf7,_0x228b9a,_0x2dcb76,_0x17ac5f){const _0x233fcd=_0x500701;return _0x247d46(_0x40d862['tag'],v(v({'key':_0x1adaf7},ki(_0x40d862,_0x228b9a,_0x17ac5f)),_0x2dcb76),(Hi(_0x40d862,_0x228b9a)[_0x233fcd(0x2d9)]||[])[_0x233fcd(0x1a7)](function(_0x238c3d,_0x505241){const _0xffcb9b=_0x233fcd;return Rt(_0x238c3d,''[_0xffcb9b(0x304)](_0x1adaf7,'-')[_0xffcb9b(0x304)](_0x40d862[_0xffcb9b(0x285)],'-')[_0xffcb9b(0x304)](_0x505241),_0x228b9a,void 0x0,_0x17ac5f);}));}function ki(_0x18c604,_0x2ef3a7,_0x450268){const _0x45d19e=_0x500701;var _0x58f59b=v({},_0x18c604[_0x45d19e(0x314)]);_0x450268!=null&&_0x450268[_0x45d19e(0x1a9)]&&_0x58f59b['fill']===_0x45d19e(0x1a9)&&(_0x58f59b[_0x45d19e(0x31a)]=_0x450268[_0x45d19e(0x1a9)]),_0x18c604[_0x45d19e(0x285)]===_0x45d19e(0x18d)&&_0x58f59b['id']&&(_0x58f59b['id']=_0x58f59b['id']+_0x2ef3a7[_0x45d19e(0x31b)]),Object[_0x45d19e(0x282)](_0x58f59b)[_0x45d19e(0x295)](function(_0x233e7e){const _0x379131=_0x45d19e;var _0x400e2e=_0x233e7e[0x0],_0xeaa65d=_0x233e7e[0x1];_0x400e2e===_0x379131(0x18d)&&typeof _0xeaa65d==_0x379131(0x2ae)&&(_0x58f59b[_0x400e2e]=_0xeaa65d[_0x379131(0x24d)](/url\(#(.*)\)/,_0x379131(0x259)[_0x379131(0x304)](_0x2ef3a7[_0x379131(0x31b)],')')));});var _0x453681=_0x2ef3a7['defIds'];return!_0x453681||_0x453681[_0x45d19e(0x234)]===0x0||(_0x18c604[_0x45d19e(0x285)]==='use'&&_0x58f59b[_0x45d19e(0x334)]&&(_0x58f59b[_0x45d19e(0x334)]=_0x58f59b[_0x45d19e(0x334)]+_0x2ef3a7[_0x45d19e(0x31b)]),Object[_0x45d19e(0x282)](_0x58f59b)[_0x45d19e(0x295)](function(_0x20bb2e){const _0xcd2534=_0x45d19e;var _0x5cd2ed=_0x20bb2e[0x0],_0x52ec29=_0x20bb2e[0x1];typeof _0x52ec29=='string'&&(_0x58f59b[_0x5cd2ed]=_0x52ec29['replace'](/url\(#(.*)\)/,'url(#$1'[_0xcd2534(0x304)](_0x2ef3a7['idSuffix'],')')));})),_0x58f59b;}function Hi(_0x379f42,_0x30cb8c){const _0x2f556f=_0x500701;var _0x497081,_0x56b619=_0x30cb8c[_0x2f556f(0x1d4)];return!_0x56b619||_0x56b619[_0x2f556f(0x234)]===0x0?_0x379f42:_0x379f42[_0x2f556f(0x285)]===_0x2f556f(0x260)&&(!((_0x497081=_0x379f42[_0x2f556f(0x2d9)])===null||_0x497081===void 0x0)&&_0x497081[_0x2f556f(0x234)])?v(v({},_0x379f42),{'children':_0x379f42['children'][_0x2f556f(0x1a7)](function(_0x4cea66){const _0x45393a=_0x2f556f;return typeof _0x4cea66[_0x45393a(0x314)]['id']=='string'&&_0x56b619&&_0x56b619[_0x45393a(0x1bd)](_0x4cea66[_0x45393a(0x314)]['id'])?v(v({},_0x4cea66),{'attrs':v(v({},_0x4cea66['attrs']),{'id':_0x4cea66[_0x45393a(0x314)]['id']+_0x30cb8c[_0x45393a(0x31b)]})}):_0x4cea66;})}):_0x379f42;}function ji(){const _0x47b867=_0x500701;return Math[_0x47b867(0x1f2)]()[_0x47b867(0x1f5)](0x24)[_0x47b867(0x31f)](0x2,0x8);}je[_0x500701(0x252)]=_0x500701(0x281);var Yi={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x500701(0x333),'viewBox':_0x500701(0x202),'width':_0x500701(0x16e),'height':_0x500701(0x16e)},'children':[{'tag':'g','attrs':{'clipPath':_0x500701(0x214)},'children':[{'tag':_0x500701(0x1d2),'attrs':{'stroke':_0x500701(0x201),'d':_0x500701(0x2db),'strokeLinecap':_0x500701(0x1e5),'strokeLinejoin':_0x500701(0x1e5),'strokeWidth':1.2}}]},{'tag':_0x500701(0x260),'attrs':{},'children':[{'tag':_0x500701(0x183),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x500701(0x1d2),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x500701(0x2a6)]},Dt=_0x45d79(function(_0xbd22b0,_0x1ce4b1){const _0x2d96f1=_0x500701;return _0x247d46(je,Object[_0x2d96f1(0x1b1)]({},_0xbd22b0,{'id':_0x2d96f1(0x1ee),'ref':_0x1ce4b1,'icon':Yi}));});Dt['displayName']='OffLineIcon';var Fi={'tag':_0x500701(0x20d),'attrs':{'xmlns':_0x500701(0x2c8),'fill':_0x500701(0x333),'viewBox':_0x500701(0x2d1),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x500701(0x208)},'children':[{'tag':_0x500701(0x1d2),'attrs':{'stroke':_0x500701(0x201),'d':_0x500701(0x2df),'strokeLinecap':_0x500701(0x1e5),'strokeLinejoin':_0x500701(0x1e5),'strokeWidth':1.2}}]},{'tag':_0x500701(0x260),'attrs':{},'children':[{'tag':_0x500701(0x183),'attrs':{'id':_0x500701(0x253)},'children':[{'tag':'path','attrs':{'fill':_0x500701(0x1cc),'d':_0x500701(0x27a),'transform':_0x500701(0x1f6)}}]}]}],'defIds':[_0x500701(0x253)]},Nt=_0x45d79(function(_0x550533,_0x12372b){const _0x1f4355=_0x500701;return _0x247d46(je,Object['assign']({},_0x550533,{'id':_0x1f4355(0x243),'ref':_0x12372b,'icon':Fi}));});Nt[_0x500701(0x252)]='OnLineIcon';function Wi(_0x11c25d){const _0xaf5c67=_0x500701;switch(_0x11c25d){case _0x3b52bb['OFFLINE']:return _0xaf5c67(0x258);case _0x3b52bb['CONFLICT']:return _0xaf5c67(0x15a);case _0x3b52bb['FETCH_MISS']:return _0xaf5c67(0x29c);case _0x3b52bb['NOT_COLLAB']:return _0xaf5c67(0x2f1);case _0x3b52bb[_0xaf5c67(0x1c0)]:case _0x3b52bb[_0xaf5c67(0x2c5)]:return'collabStatus.syncing';case _0x3b52bb[_0xaf5c67(0x2d8)]:case _0x3b52bb[_0xaf5c67(0x261)]:return _0xaf5c67(0x1ba);}}function Vi(_0x1cc187){const _0x1505c3=_0x500701,{status$:_0x560657}=_0x1cc187,_0xf359a7=_0x3496cb(_0x560657,_0x3b52bb[_0x1505c3(0x1ac)]),_0x593ae6=_0x6eba92(_0x52ac5b),_0x1db3ae=_0x6eba92(_0x1d5bd3),_0x5b50a9=_0xf359a7!==_0x3b52bb['OFFLINE'],_0x4963a9=_0x593ae6['t'](Wi(_0xf359a7)),_0x43393b=_0x5b50a9?_0x35442b(Nt,{}):_0x35442b(Dt,{}),_0x5476b3=_0x5228ad(()=>{const _0x1595e9=_0x1505c3;_0x5b50a9||_0x1db3ae[_0x1595e9(0x313)]();},[_0x5b50a9,_0x1db3ae]);function _0x2613fb(){const _0x2ab169=_0x1505c3;return _0xeee65(_0x2ab169(0x26a),{'className':'univer-flex\x20univer-items-center','onClick':_0x5476b3,'children':[_0x35442b('div',{'className':_0x2b6929(_0x2ab169(0x2e3),{'univer-text-green-500':_0x5b50a9,'univer-text-red-500':!_0x5b50a9}),'children':_0x43393b}),_0x35442b(_0x2ab169(0x26a),{'className':_0x2ab169(0x22f),'children':_0x4963a9})]});}return _0x5b50a9?_0x2613fb():_0x35442b(_0xd930f0,{'title':_0x593ae6['t'](_0x1505c3(0x30b)),'children':_0x2613fb()});}var Xi=Object[_0x500701(0x248)],Gi=(_0x5a5028,_0x1161b5,_0x15f57c,_0x523e2a)=>{const _0x5d2378=_0x500701;for(var _0x51b355=_0x523e2a>0x1?void 0x0:_0x523e2a?Xi(_0x1161b5,_0x15f57c):_0x1161b5,_0x2e4f5b=_0x5a5028[_0x5d2378(0x234)]-0x1,_0x5eb979;_0x2e4f5b>=0x0;_0x2e4f5b--)(_0x5eb979=_0x5a5028[_0x2e4f5b])&&(_0x51b355=_0x5eb979(_0x51b355)||_0x51b355);return _0x51b355;},Q=(_0x26e74f,_0x320ed0)=>(_0x3772a6,_0x59b126)=>_0x320ed0(_0x3772a6,_0x59b126,_0x26e74f);let te=class extends _0xbdf073{constructor(_0x18706f,_0x10731c,_0x2e4589,_0x403b0){const _0xacb02f=_0x500701;super(),_(this,_0xacb02f(0x197),new _0x5a7c5d(_0x3b52bb[_0xacb02f(0x1ac)])),(this[_0xacb02f(0x27f)]=_0x18706f,this[_0xacb02f(0x1a4)]=_0x10731c,this[_0xacb02f(0x289)]=_0x2e4589,this['_uiPartsService']=_0x403b0,this['_initStatusComponent'](),this[_0xacb02f(0x298)]());}[_0x500701(0x298)](){const _0x5dd298=_0x500701;this['disposeWithMe'](this[_0x5dd298(0x27f)]['focused$'][_0x5dd298(0x323)](_0x161e64(()=>{const _0x2c4c5e=_0x5dd298,_0x39f504=this['_univerInstanceService']['getFocusedUnit']();return _0x39f504?this['_collaborationController'][_0x2c4c5e(0x22d)](_0x39f504[_0x2c4c5e(0x215)]()):_0x40f510(null);}),_0x161e64(_0x4f7d76=>_0x4f7d76?_0x4f7d76[_0x5dd298(0x324)]:_0x40f510(_0x3b52bb[_0x5dd298(0x1ac)])))[_0x5dd298(0x320)](_0x4383db=>{const _0x11559e=_0x5dd298;this['_status$'][_0x11559e(0x1c9)](_0x4383db);}));}[_0x500701(0x191)](){const _0x3259b9=_0x500701;this['disposeWithMe'](this[_0x3259b9(0x21a)][_0x3259b9(0x1f1)](_0x5a7bb1[_0x3259b9(0x192)],()=>_0x4ad499(Ki({'status$':this[_0x3259b9(0x197)][_0x3259b9(0x1fb)]()}),this[_0x3259b9(0x1a4)])));}};te=Gi([Q(0x0,_0x3a01ed),Q(0x1,_0x36f55a(_0x524dc3)),Q(0x2,_0x36f55a(_0x56ded8)),Q(0x3,_0x2bab1c)],te);function Ki(_0x849efa){const {status$:_0x4d1b70}=_0x849efa;return function(){return _0x35442b(Vi,{'status$':_0x4d1b70});};}var zi=Object[_0x500701(0x248)],Ji=(_0x554ce8,_0x3d4251,_0x3cce0a,_0x214e22)=>{const _0x2f59a6=_0x500701;for(var _0x9d493a=_0x214e22>0x1?void 0x0:_0x214e22?zi(_0x3d4251,_0x3cce0a):_0x3d4251,_0x15374f=_0x554ce8[_0x2f59a6(0x234)]-0x1,_0xd7eb40;_0x15374f>=0x0;_0x15374f--)(_0xd7eb40=_0x554ce8[_0x15374f])&&(_0x9d493a=_0xd7eb40(_0x9d493a)||_0x9d493a);return _0x9d493a;},B=(_0x2ca094,_0x12f257)=>(_0x930e70,_0xf6d1fe)=>_0x12f257(_0x930e70,_0xf6d1fe,_0x2ca094);let se=class extends _0xbdf073{constructor(_0x376c52,_0x51c9be,_0x240196,_0x49fd42,_0x3c42c7,_0x49fbdf){const _0x33f708=_0x500701;super(),this['_beforeCloseService']=_0x376c52,this[_0x33f708(0x21c)]=_0x51c9be,this[_0x33f708(0x2d5)]=_0x240196,this[_0x33f708(0x315)]=_0x49fd42,this[_0x33f708(0x293)]=_0x3c42c7,this[_0x33f708(0x27e)]=_0x49fbdf,this[_0x33f708(0x24f)](),this[_0x33f708(0x29d)]();}['_setupBeforeClosingHandler'](){const _0x3993dc=_0x500701;this[_0x3993dc(0x226)](this[_0x3993dc(0x22a)][_0x3993dc(0x1ad)](()=>{const _0x467486=_0x3993dc;if(this['_localCacheService']['saveTaskMap']['size'])return this[_0x467486(0x27e)]['t'](_0x467486(0x275));}));}[_0x500701(0x29d)](){const _0x1eec3c=_0x500701;this[_0x1eec3c(0x226)](this['_collaborationUIEventService']['event$'][_0x1eec3c(0x320)](_0x5a5ad1=>{const _0x5d7d03=_0x1eec3c;_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x17f)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e[_0x5d7d03(0x22c)],'content':this[_0x5d7d03(0x27e)]['t'](_0x5d7d03(0x1b9))}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x1f3)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e['Warning'],'content':this[_0x5d7d03(0x27e)]['t'](_0x5d7d03(0x205))}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x15b)]&&this[_0x5d7d03(0x293)][_0x5d7d03(0x180)]({'title':this[_0x5d7d03(0x27e)]['t'](_0x5d7d03(0x1bf)),'content':this[_0x5d7d03(0x27e)]['t'](_0x5d7d03(0x33b)),'type':'error','duration':0x0}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x327)]&&this[_0x5d7d03(0x315)]['show']({'type':_0x51a21e[_0x5d7d03(0x235)],'content':this['_localeService']['t'](_0x5d7d03(0x205))+'('+_0x5a5ad1[_0x5d7d03(0x2dd)]+')'}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x2cf)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e[_0x5d7d03(0x22c)],'content':this[_0x5d7d03(0x27e)]['t'](_0x5a5ad1[_0x5d7d03(0x2dd)]||'')}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x2b0)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e[_0x5d7d03(0x22c)],'content':this['_localeService']['t'](_0x5d7d03(0x16b))}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x296)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e[_0x5d7d03(0x235)],'content':this[_0x5d7d03(0x27e)]['t']('session.connection-failed')}),_0x5a5ad1['id']===_0xddb0f4[_0x5d7d03(0x305)]&&this[_0x5d7d03(0x315)][_0x5d7d03(0x180)]({'type':_0x51a21e['Error'],'content':this['_localeService']['t'](_0x5d7d03(0x32d))});}));}};se=Ji([B(0x0,_0x31834d),B(0x1,_0x42439c),B(0x2,_0x36f55a(_0x3dfa7b)),B(0x3,_0x13a97a),B(0x4,_0x5af6e2),B(0x5,_0x36f55a(_0x52ac5b))],se);const Zi=_0x500701(0x345),et={},Ut=_0x41e36e(_0x500701(0x20e));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x18e788,_0x1d8b84,_0xae3f87,_0x45c162)=>{const _0x1451da=_0x500701;for(var _0x529166=_0x45c162>0x1?void 0x0:_0x45c162?Qi(_0x1d8b84,_0xae3f87):_0x1d8b84,_0x1a88ac=_0x18e788[_0x1451da(0x234)]-0x1,_0x326bed;_0x1a88ac>=0x0;_0x1a88ac--)(_0x326bed=_0x18e788[_0x1a88ac])&&(_0x529166=_0x326bed(_0x529166)||_0x529166);return _0x529166;},G=(_0x1994e7,_0x5eec10)=>(_0x5c7fe5,_0x3bd7b1)=>_0x5eec10(_0x5c7fe5,_0x3bd7b1,_0x1994e7);let ie=class extends _0x51bb57{constructor(_0x33cd28,_0x10756f,_0x22d1e6,_0x3dca71,_0x2215fe){const _0x508243=_0x500701;super(),this[_0x508243(0x18a)]=_0x33cd28,this[_0x508243(0x32b)]=_0x10756f,this[_0x508243(0x2b3)]=_0x22d1e6,this[_0x508243(0x332)]=_0x3dca71,_0x2215fe?_0x2215fe==null||_0x2215fe[_0x508243(0x2ed)]()['then'](()=>this['_init']()):(this[_0x508243(0x32b)][_0x508243(0x2bc)](_0x508243(0x23d),_0x508243(0x1f0)),this[_0x508243(0x21e)]());}async[_0x500701(0x21e)](){const _0x469a99=_0x500701,_0x2c2e26=this[_0x469a99(0x18a)]['getParam'](_0x469a99(0x26f)),_0x2b2695=this['_urlService'][_0x469a99(0x171)](_0x469a99(0x2f5)),_0x2b50a6=this['_urlService'][_0x469a99(0x171)](_0x469a99(0x1c8));if(!_0x2c2e26||!_0x2b2695){this[_0x469a99(0x32b)][_0x469a99(0x2bc)](_0x469a99(0x23d),_0x469a99(0x21b));return;}const _0x58886a=await this[_0x469a99(0x332)][_0x469a99(0x1cd)](_0x2c2e26,Number(_0x2b2695),_0x2b50a6);_0x58886a&&_0x58886a instanceof _0x4ba6e7&&this['_setupSubUnitSync'](_0x58886a);}async[_0x500701(0x29b)](_0x15733a){const _0x24a1ca=_0x500701;await this[_0x24a1ca(0x25e)](_0x15733a),_0x15733a[_0x24a1ca(0x34f)][_0x24a1ca(0x323)](_0x13f70a(this['dispose$']))['subscribe'](_0x36c287=>{const _0x15a73d=_0x24a1ca;_0x36c287&&this[_0x15a73d(0x287)](_0x36c287);}),this[_0x24a1ca(0x18a)][_0x24a1ca(0x28a)]['pipe'](_0x13f70a(this[_0x24a1ca(0x310)]))[_0x24a1ca(0x320)](()=>this['_updateSubUnitFromURLParams'](_0x15733a));}[_0x500701(0x287)](_0x518e0a,_0x1d4a09=!0x1){const _0x14bd56=_0x500701,_0x524631=this[_0x14bd56(0x18a)]['getParam'](_0x14bd56(0x1c8));_0x518e0a[_0x14bd56(0x233)]()!==_0x524631&&this['_urlService'][_0x14bd56(0x349)](_0x14bd56(0x1c8),_0x518e0a['getSheetId'](),_0x1d4a09);}async[_0x500701(0x25e)](_0x8cbf5d){const _0x1d93c1=_0x500701;var _0x57e0c2;const _0x3c61dc=this[_0x1d93c1(0x18a)][_0x1d93c1(0x171)]('subunit');if(!_0x3c61dc||!_0x8cbf5d[_0x1d93c1(0x290)](_0x3c61dc)){const _0x58f12f=_0x8cbf5d['getUnhiddenWorksheets']()[0x0],_0x557f55=_0x8cbf5d[_0x1d93c1(0x290)](_0x58f12f);if(!_0x557f55)return;this[_0x1d93c1(0x287)](_0x557f55,!0x0),await this[_0x1d93c1(0x2b3)][_0x1d93c1(0x1db)](_0x29d14d['id'],{'unitId':_0x8cbf5d[_0x1d93c1(0x215)](),'subUnitId':_0x58f12f});return;}((_0x57e0c2=_0x8cbf5d[_0x1d93c1(0x222)]())==null?void 0x0:_0x57e0c2[_0x1d93c1(0x233)]())!==_0x3c61dc&&await this[_0x1d93c1(0x2b3)][_0x1d93c1(0x1db)](_0x29d14d['id'],{'unitId':_0x8cbf5d[_0x1d93c1(0x215)](),'subUnitId':_0x3c61dc});}};ie=qi([G(0x0,Ut),G(0x1,_0x56e22c),G(0x2,_0x44ae43),G(0x3,_0x36f55a(_0x5ebf66)),G(0x4,_0x182852(_0x51b5c6))],ie);var en=Object[_0x500701(0x248)],tn=(_0x54d17b,_0x403701,_0x5452ae,_0x1627f2)=>{const _0x5cec8c=_0x500701;for(var _0xe9ceb8=_0x1627f2>0x1?void 0x0:_0x1627f2?en(_0x403701,_0x5452ae):_0x403701,_0x1af8fa=_0x54d17b[_0x5cec8c(0x234)]-0x1,_0x424e9a;_0x1af8fa>=0x0;_0x1af8fa--)(_0x424e9a=_0x54d17b[_0x1af8fa])&&(_0xe9ceb8=_0x424e9a(_0xe9ceb8)||_0xe9ceb8);return _0xe9ceb8;},pe=(_0xeaa7bb,_0x5c9272)=>(_0x550d87,_0xea457)=>_0x5c9272(_0x550d87,_0xea457,_0xeaa7bb);let ne=class{constructor(_0x48b125,_0x328748,_0x4fc876){const _0x29ae56=_0x500701;this[_0x29ae56(0x1a4)]=_0x48b125,this[_0x29ae56(0x2ce)]=_0x328748,this['_renderManagerService']=_0x4fc876;}['transformIMECache'](_0x2e97d7){const _0x10bfe8=_0x500701;this[_0x10bfe8(0x23b)](_0x2e97d7),this['_transformPreviousActiveRange'](_0x2e97d7);}['transformRemoteChangeset'](_0x4f2dad){const _0x10f3b5=_0x500701,{unitID:_0x149fca}=_0x4f2dad,_0x551e6f=this[_0x10f3b5(0x182)][_0x10f3b5(0x229)](_0x149fca)['with'](_0x1691fb),{redoCache:_0x226aef}=_0x551e6f['getUndoRedoMutationParamsCache']();if(_0x226aef['length']===0x0)return _0x4f2dad;let _0x1141e7=_0xd3854a[_0x10f3b5(0x1c4)](_0x4f2dad['mutations'][0x0]);for(let _0x3029e7=0x0;_0x3029e7<_0x226aef[_0x10f3b5(0x234)];_0x3029e7++){const _0x5f3bbe={'id':_0x10f3b5(0x2c3),'params':{..._0x226aef[_0x3029e7]}},_0x2b8a20=this['_transformService'][_0x10f3b5(0x24b)](_0x1141e7,_0x5f3bbe,!0x1);if(_0x727f01(_0x2b8a20))throw _0x2b8a20[_0x10f3b5(0x1eb)];_0x1141e7=_0x2b8a20['m1Prime'];}return{..._0xd3854a['deepClone'](_0x4f2dad),'mutations':[_0x1141e7]};}[_0x500701(0x23b)](_0x3d1a11){const _0x264b6d=_0x500701,{unitID:_0x153bbb}=_0x3d1a11,_0x40964c=this[_0x264b6d(0x182)][_0x264b6d(0x229)](_0x153bbb)[_0x264b6d(0x1dc)](_0x1691fb),{undoCache:_0x22d6ee,redoCache:_0x4955a8}=_0x40964c['getUndoRedoMutationParamsCache']();if(_0x22d6ee[_0x264b6d(0x234)]===0x0||_0x4955a8['length']===0x0)return;const _0x475497=[],_0x4b7a04=[];let _0x11b0af=_0xd3854a[_0x264b6d(0x1c4)](_0x3d1a11[_0x264b6d(0x1f8)][0x0]),_0x401410=_0xd3854a[_0x264b6d(0x1c4)](_0x3d1a11['mutations'][0x0]);for(let _0x12e96f=_0x22d6ee['length']-0x1;_0x12e96f>=0x0;_0x12e96f--){const _0x5e980d={'id':_0x264b6d(0x2c3),'params':{..._0x22d6ee[_0x12e96f]}},_0x4b20bc={'id':_0x264b6d(0x2c3),'params':{..._0x4955a8[_0x12e96f]}},_0x507b47=this['_transformService']['transformMutation'](_0x11b0af,_0x5e980d,!0x1),_0x4dd823=this[_0x264b6d(0x2ce)]['transformMutation'](_0x401410,_0x4b20bc,!0x1);if(_0x727f01(_0x507b47))throw _0x507b47[_0x264b6d(0x1eb)];if(_0x727f01(_0x4dd823))throw _0x4dd823[_0x264b6d(0x1eb)];_0x475497['unshift'](_0x507b47['m2Prime'][_0x264b6d(0x2cd)]),_0x4b7a04['unshift'](_0x4dd823[_0x264b6d(0x28b)]['params']),_0x11b0af=_0x507b47[_0x264b6d(0x2f9)],_0x401410=_0x4dd823[_0x264b6d(0x2f9)];}_0x40964c[_0x264b6d(0x30d)]({'undoCache':_0x475497,'redoCache':_0x4b7a04});}[_0x500701(0x23a)](_0x1663b9){const _0x59e4f7=_0x500701,{unitID:_0x550ce8}=_0x1663b9,_0x539f1d=this['_renderManagerService'][_0x59e4f7(0x229)](_0x550ce8)[_0x59e4f7(0x1dc)](_0x1691fb),_0x30deb1=_0x539f1d[_0x59e4f7(0x15e)]();if(_0x30deb1==null)return;const _0x14c6d3=[{'id':_0x59e4f7(0x2c3),'params':{'unitId':_0x1663b9['unitID'],'actions':null,'textRanges':[_0x30deb1]}}],_0x5160b7=this[_0x59e4f7(0x2ce)]['transformMutationsWithChangeset'](_0x1663b9,_0x14c6d3);if(!_0x4b3101(_0x5160b7))throw _0x5160b7[_0x59e4f7(0x1eb)];const _0x405fda=_0x5160b7[_0x59e4f7(0x28b)][0x0]['params'][_0x59e4f7(0x321)];Array[_0x59e4f7(0x1b3)](_0x405fda)&&_0x405fda[_0x59e4f7(0x234)]&&_0x539f1d['setActiveRange'](_0x405fda[0x0]);}};ne=tn([pe(0x0,_0x36f55a(_0x524dc3)),pe(0x1,_0x5ddb15),pe(0x2,_0x20379b)],ne);var sn=Object[_0x500701(0x248)],nn=(_0x24ebf4,_0x3964e8,_0x52155e,_0x488f73)=>{for(var _0x30e49b=_0x488f73>0x1?void 0x0:_0x488f73?sn(_0x3964e8,_0x52155e):_0x3964e8,_0x10c745=_0x24ebf4['length']-0x1,_0x3ae83c;_0x10c745>=0x0;_0x10c745--)(_0x3ae83c=_0x24ebf4[_0x10c745])&&(_0x30e49b=_0x3ae83c(_0x30e49b)||_0x30e49b);return _0x30e49b;},Ce=(_0x42aaf0,_0x179f09)=>(_0x32cee7,_0x312639)=>_0x179f09(_0x32cee7,_0x312639,_0x42aaf0);let re=class{constructor(_0x203fd7,_0x13556e,_0x522cbe){const _0x5eb27b=_0x500701;this['_injector']=_0x203fd7,this[_0x5eb27b(0x2ce)]=_0x13556e,this[_0x5eb27b(0x1d9)]=_0x522cbe;}[_0x500701(0x264)](_0x4bc6f3){const _0x309db6=_0x500701;this[_0x309db6(0x257)](_0x4bc6f3);}[_0x500701(0x341)](_0x2e4906){const _0x3adf7c=_0x500701,{unitID:_0x2abed8}=_0x2e4906,{collaboration:_0x517fc6}=this[_0x3adf7c(0x1d9)]['getStateCache'](_0x2abed8);if(_0x517fc6['length']===0x0)return _0x2e4906;let _0x397bcc=_0xd3854a['deepClone'](_0x2e4906[_0x3adf7c(0x1f8)][0x0]);for(let _0xc4e128=0x0;_0xc4e128<_0x517fc6[_0x3adf7c(0x234)];_0xc4e128++){const _0x52c9b8={'id':_0x3adf7c(0x2c3),'params':{'unitId':_0x517fc6[_0xc4e128]['unitId'],..._0x517fc6[_0xc4e128][_0x3adf7c(0x1fd)]}},_0x213094=this['_transformService']['transformMutation'](_0x397bcc,_0x52c9b8,!0x1);if(_0x727f01(_0x213094))throw _0x213094[_0x3adf7c(0x1eb)];_0x397bcc=_0x213094[_0x3adf7c(0x2f9)];}return{..._0xd3854a[_0x3adf7c(0x1c4)](_0x2e4906),'mutations':[_0x397bcc]};}[_0x500701(0x257)](_0x3c99b9){const _0x1db81b=_0x500701,{unitID:_0x48cd9e}=_0x3c99b9,{history:_0x31400a,collaboration:_0x2e4bbb}=this[_0x1db81b(0x1d9)]['getStateCache'](_0x48cd9e);if(_0x31400a[_0x1db81b(0x234)]===0x0&&_0x2e4bbb[_0x1db81b(0x234)]===0x0)return;const _0x4c6b8e=[],_0x3d92fb=[];let _0x3c1865=_0xd3854a['deepClone'](_0x3c99b9[_0x1db81b(0x1f8)][0x0]),_0x44a3dc=_0xd3854a[_0x1db81b(0x1c4)](_0x3c99b9['mutations'][0x0]);for(let _0x53878c=_0x31400a[_0x1db81b(0x234)]-0x1;_0x53878c>=0x0;_0x53878c--){const _0x23f040={'id':_0x1db81b(0x2c3),'params':{'unitId':_0x31400a[_0x53878c][_0x1db81b(0x319)],..._0x31400a[_0x53878c][_0x1db81b(0x254)]}},_0x5cb66c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x31400a[_0x53878c][_0x1db81b(0x319)],..._0x31400a[_0x53878c][_0x1db81b(0x1fd)]}},_0x4e7cae=this[_0x1db81b(0x2ce)][_0x1db81b(0x24b)](_0x3c1865,_0x23f040,!0x1),_0x4bcc8e=this[_0x1db81b(0x2ce)]['transformMutation'](_0x44a3dc,_0x5cb66c,!0x1);if(_0x727f01(_0x4e7cae))throw _0x4e7cae[_0x1db81b(0x1eb)];if(_0x727f01(_0x4bcc8e))throw _0x4bcc8e['error'];_0x4c6b8e[_0x1db81b(0x356)]({..._0x31400a[_0x53878c],'undoState':_0x4e7cae[_0x1db81b(0x28b)][_0x1db81b(0x2cd)],'redoState':_0x4bcc8e[_0x1db81b(0x28b)][_0x1db81b(0x2cd)]}),_0x3c1865=_0x4e7cae[_0x1db81b(0x2f9)],_0x44a3dc=_0x4bcc8e[_0x1db81b(0x2f9)];}_0x3c1865=_0xd3854a[_0x1db81b(0x1c4)](_0x3c99b9[_0x1db81b(0x1f8)][0x0]),_0x44a3dc=_0xd3854a[_0x1db81b(0x1c4)](_0x3c99b9['mutations'][0x0]);for(let _0x1bd831=_0x2e4bbb['length']-0x1;_0x1bd831>=0x0;_0x1bd831--){const _0x332090={'id':_0x1db81b(0x2c3),'params':{'unitId':_0x2e4bbb[_0x1bd831][_0x1db81b(0x319)],..._0x2e4bbb[_0x1bd831][_0x1db81b(0x254)]}},_0x174222={'id':_0x1db81b(0x2c3),'params':{'unitId':_0x2e4bbb[_0x1bd831]['unitId'],..._0x2e4bbb[_0x1bd831][_0x1db81b(0x1fd)]}},_0x25a516=this[_0x1db81b(0x2ce)][_0x1db81b(0x24b)](_0x3c1865,_0x332090,!0x1),_0x1c939a=this[_0x1db81b(0x2ce)][_0x1db81b(0x24b)](_0x44a3dc,_0x174222,!0x1);if(_0x727f01(_0x25a516))throw _0x25a516['error'];if(_0x727f01(_0x1c939a))throw _0x1c939a['error'];_0x3d92fb['unshift']({..._0x2e4bbb[_0x1bd831],'undoState':_0x25a516['m2Prime'][_0x1db81b(0x2cd)],'redoState':_0x1c939a['m2Prime']['params']}),_0x3c1865=_0x25a516[_0x1db81b(0x2f9)],_0x44a3dc=_0x1c939a[_0x1db81b(0x2f9)];}this['_docStateChangeManagerService'][_0x1db81b(0x2f3)](_0x48cd9e,{'history':_0x4c6b8e,'collaboration':_0x3d92fb});}};re=nn([Ce(0x0,_0x36f55a(_0x524dc3)),Ce(0x1,_0x5ddb15),Ce(0x2,_0x36f55a(_0x321880))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x4de73f,_0x32bca2,_0x409e08,_0x130343)=>{const _0x363842=_0x500701;for(var _0xf600ce=_0x130343>0x1?void 0x0:_0x130343?rn(_0x32bca2,_0x409e08):_0x32bca2,_0xfbb88e=_0x4de73f[_0x363842(0x234)]-0x1,_0x35ac9a;_0xfbb88e>=0x0;_0xfbb88e--)(_0x35ac9a=_0x4de73f[_0xfbb88e])&&(_0xf600ce=_0x35ac9a(_0xf600ce)||_0xf600ce);return _0xf600ce;},tt=(_0x29c20f,_0xedaf96)=>(_0x4e86ee,_0x540133)=>_0xedaf96(_0x4e86ee,_0x540133,_0x29c20f);let oe=class{constructor(_0x41259d,_0x198706){const _0x43e007=_0x500701;this[_0x43e007(0x1a4)]=_0x41259d,this[_0x43e007(0x2ce)]=_0x198706;}['transformSelections'](_0x11a5cc){const _0xa51f69=_0x500701;var _0x1955fc;const _0x23213b=this[_0xa51f69(0x1a4)][_0xa51f69(0x1a2)](_0x232d6a),_0x2fecc6=(_0x1955fc=_0x23213b['getDocRanges']())!=null?_0x1955fc:[];if(_0x2fecc6['length']===0x0)return;const _0x589d62=_0x11a5cc[_0xa51f69(0x301)],_0x2769ff=[{'id':_0xa51f69(0x2c3),'params':{'unitId':_0x589d62,'actions':null,'textRanges':_0x2fecc6}}],_0x388bcc=this[_0xa51f69(0x2ce)]['transformMutationsWithChangeset'](_0x11a5cc,_0x2769ff);if(!_0x4b3101(_0x388bcc))throw _0x388bcc[_0xa51f69(0x1eb)];const _0xcb0cff=_0x388bcc['m2Prime'][0x0]['params'][_0xa51f69(0x321)];Array[_0xa51f69(0x1b3)](_0xcb0cff)&&_0xcb0cff[_0xa51f69(0x234)]&&_0x23213b[_0xa51f69(0x2b8)](_0xcb0cff,{'unitId':_0x589d62,'subUnitId':_0x589d62},!0x1);}};oe=on([tt(0x0,_0x36f55a(_0x524dc3)),tt(0x1,_0x5ddb15)],oe);var an=Object[_0x500701(0x248)],cn=(_0x510ab2,_0xd185d9,_0x386a9d,_0x4f5711)=>{const _0x2c7159=_0x500701;for(var _0x5f3a84=_0x4f5711>0x1?void 0x0:_0x4f5711?an(_0xd185d9,_0x386a9d):_0xd185d9,_0x47bb06=_0x510ab2[_0x2c7159(0x234)]-0x1,_0x274f20;_0x47bb06>=0x0;_0x47bb06--)(_0x274f20=_0x510ab2[_0x47bb06])&&(_0x5f3a84=_0x274f20(_0x5f3a84)||_0x5f3a84);return _0x5f3a84;},U=(_0x5afd36,_0xc73668)=>(_0x174bfe,_0x71fea9)=>_0xc73668(_0x174bfe,_0x71fea9,_0x5afd36);let ae=class extends _0xbdf073{constructor(_0x21b4ff,_0x560021,_0x16ecf9,_0x4660b4,_0xecf23c,_0x2a3c33,_0x51074e,_0x5c8eba){const _0xe27c42=_0x500701;super(),_(this,'_status$',new _0x5a7c5d(_0x3b52bb[_0xe27c42(0x1ac)])),(this['_docStateChangeManagerService']=_0x21b4ff,this[_0xe27c42(0x289)]=_0x560021,this[_0xe27c42(0x2f6)]=_0x16ecf9,this['_docTransformStateCacheService']=_0x4660b4,this[_0xe27c42(0x256)]=_0xecf23c,this[_0xe27c42(0x29f)]=_0x2a3c33,this[_0xe27c42(0x315)]=_0x51074e,this['_localeService']=_0x5c8eba,this[_0xe27c42(0x23c)]());}['_initEntityListener'](){const _0x43fcda=_0x500701;this[_0x43fcda(0x226)](this[_0x43fcda(0x289)]['entityInit$'][_0x43fcda(0x320)](_0x121603=>{const _0x2db397=_0x43fcda,_0x191a47=this[_0x2db397(0x1d9)][_0x2db397(0x33c)][_0x2db397(0x320)](_0x47acfc=>{const _0x47b925=_0x2db397;if(_0x47acfc==null)return;const {unitId:_0x427a59,redoState:_0x67e7e1,commandId:_0x49c0ea}=_0x47acfc;if(_0x427a59!==_0x121603[_0x47b925(0x301)])return;const _0x559c17={'id':_0x49c0ea,'type':_0x27f8ae[_0x47b925(0x19c)],'params':{'unitId':_0x427a59,'actions':_0x67e7e1['actions'],'textRanges':null}};_0x121603[_0x47b925(0x2ef)](_0x559c17);});if(_0x121603[_0x2db397(0x226)](_0x191a47),_0x121603 instanceof _0x3113b3){const _0x132342={'onTransformIME':_0xbf911f=>this[_0x2db397(0x2f6)][_0x2db397(0x1da)](_0xbf911f),'onTransformState':_0x1779bf=>this[_0x2db397(0x2bb)]['transformStateCache'](_0x1779bf),'onTransformSelections':_0x25db59=>this[_0x2db397(0x256)][_0x2db397(0x19a)](_0x25db59),'onSyncEditingCollabCursor':_0x41be65=>this[_0x2db397(0x29f)][_0x2db397(0x1af)](_0x41be65),'onTransformRemoteChangesetByIMECache':_0x39a59a=>this['_docTransformIMECacheService'][_0x2db397(0x341)](_0x39a59a),'onTransformRemoteChangesetByStateCache':_0x1463bf=>this['_docTransformStateCacheService'][_0x2db397(0x341)](_0x1463bf)};_0x121603['addHandlerCallback'](_0x132342);}}));}};ae=cn([U(0x0,_0x36f55a(_0x321880)),U(0x1,_0x36f55a(_0x56ded8)),U(0x2,_0x36f55a(ne)),U(0x3,_0x36f55a(re)),U(0x4,_0x36f55a(oe)),U(0x5,_0x36f55a(He)),U(0x6,_0x13a97a),U(0x7,_0x36f55a(_0x52ac5b))],ae);var ln=Object[_0x500701(0x248)],_n=(_0x2b7306,_0x597dc9,_0x435772,_0x407c22)=>{const _0x3c67a6=_0x500701;for(var _0x1d65b2=_0x407c22>0x1?void 0x0:_0x407c22?ln(_0x597dc9,_0x435772):_0x597dc9,_0x60eb1f=_0x2b7306[_0x3c67a6(0x234)]-0x1,_0x44478d;_0x60eb1f>=0x0;_0x60eb1f--)(_0x44478d=_0x2b7306[_0x60eb1f])&&(_0x1d65b2=_0x44478d(_0x1d65b2)||_0x1d65b2);return _0x1d65b2;},Ee=(_0x542a8a,_0x425a4c)=>(_0x3ecc76,_0x502d14)=>_0x425a4c(_0x3ecc76,_0x502d14,_0x542a8a);let Le=class extends _0xbdf073{constructor(_0x217889,_0x283edf,_0x84d8e2){const _0x3a2fb7=_0x500701;super(),_(this,_0x3a2fb7(0x223),new Map()),_(this,_0x3a2fb7(0x237),new Map()),_(this,_0x3a2fb7(0x283),!0x1),(this[_0x3a2fb7(0x335)]=_0x217889,this[_0x3a2fb7(0x1d6)]=_0x283edf,this[_0x3a2fb7(0x291)]=_0x84d8e2);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x500701(0x34b)](){const _0x81b335=_0x500701;this[_0x81b335(0x283)]=!0x1;}get['saveTaskMap'](){const _0x3f6ba9=_0x500701;return this[_0x3f6ba9(0x237)];}[_0x500701(0x1e7)](){const _0x858df2=_0x500701;this[_0x858df2(0x15f)]()[_0x858df2(0x1ea)](()=>super['dispose']());}async['loadOfflineData'](_0x5efe15){const _0x3d5720=_0x500701;return this['_disabled']?null:this['_localStorageService'][_0x3d5720(0x28d)](_0x53bc47(_0x5efe15));}async[_0x500701(0x312)](_0x145781,_0x13f551){const _0x35dc71=_0x500701;return!!this[_0x35dc71(0x1d6)][_0x35dc71(0x221)](_0x145781,_0x13f551);}['updateOfflineData'](_0x1fe2a4,_0x4a648d,_0x2e92b2,_0x3e2490){const _0xd5213=_0x500701,_0x51f76a=this['_revisionService'][_0xd5213(0x29a)](_0x1fe2a4);this[_0xd5213(0x223)][_0xd5213(0x2af)](_0x1fe2a4,{'unitID':_0x1fe2a4,'type':_0x4a648d,'awaitingChangeset':_0x2e92b2,'mutations':_0x3e2490,'rev':_0x51f76a}),this['_saveTaskMap']['has'](_0x1fe2a4)||this[_0xd5213(0x173)](_0x1fe2a4);}['_scheduleSaving'](_0xa8a4d9){const _0x32f5c4=_0x500701,_0x18a43b=this[_0x32f5c4(0x2ad)]();_0x18a43b===0x0?this[_0x32f5c4(0x318)](_0xa8a4d9):this[_0x32f5c4(0x237)][_0x32f5c4(0x2af)](_0xa8a4d9,setTimeout(()=>this[_0x32f5c4(0x318)](_0xa8a4d9),_0x18a43b));}[_0x500701(0x2ad)](){const _0x42a200=_0x500701;var _0x537f3d;return(_0x537f3d=this[_0x42a200(0x335)][_0x42a200(0x2e8)](_0x55cca2))!=null?_0x537f3d:_0x1dc753;}['_saveCache'](_0x278b78){const _0x499338=_0x500701,_0x5d7434=this[_0x499338(0x237)][_0x499338(0x1a2)](_0x278b78);return _0x5d7434!==void 0x0&&window[_0x499338(0x26c)](_0x5d7434),this[_0x499338(0x1d6)][_0x499338(0x221)](_0x53bc47(_0x278b78),this[_0x499338(0x223)]['get'](_0x278b78))[_0x499338(0x1ea)](()=>this['_saveTaskMap'][_0x499338(0x204)](_0x278b78));}async['exhaustSavingTask'](){const _0xe1ba45=_0x500701,_0x332e81=[];this[_0xe1ba45(0x237)]['forEach']((_0xeb65f6,_0x191cfa)=>{const _0x3d8c5c=_0xe1ba45;window['clearTimeout'](_0xeb65f6),_0x332e81[_0x3d8c5c(0x2a2)](this[_0x3d8c5c(0x318)](_0x191cfa)['then'](()=>{const _0xeb0755=_0x3d8c5c;this[_0xeb0755(0x237)][_0xeb0755(0x204)](_0x191cfa);}));}),await Promise[_0xe1ba45(0x331)](_0x332e81);}};Le=_n([Ee(0x0,_0x1312da),Ee(0x1,_0x39f1e9),Ee(0x2,_0x36f55a(_0x44f78e))],Le);class hn extends _0x51bb57{constructor(){const _0x47f801=_0x500701;super(),_(this,'urlChange$'),this[_0x47f801(0x28a)]=_0x1c6ada(window,_0x47f801(0x1a0))['pipe'](_0x13f70a(this[_0x47f801(0x310)]),_0x392a8a(0x1),_0x382ac5(void 0x0));}[_0x500701(0x349)](_0x5db8db,_0x55fa83,_0x5719df=!0x1){const _0x323855=_0x500701,_0x4a74d3=new URL(window[_0x323855(0x344)][_0x323855(0x246)]);_0x4a74d3[_0x323855(0x2c6)]['set'](_0x5db8db,_0x55fa83),_0x5719df?window[_0x323855(0x263)][_0x323855(0x2eb)]('','',_0x4a74d3[_0x323855(0x1f5)]()):window[_0x323855(0x263)][_0x323855(0x28e)]('','',_0x4a74d3['toString']());}[_0x500701(0x288)](_0x5640ba,_0x1a8d9c=!0x1){const _0x120e85=_0x500701,_0x20410e=new URL(window[_0x120e85(0x344)][_0x120e85(0x246)]);_0x20410e[_0x120e85(0x2c6)][_0x120e85(0x204)](_0x5640ba),_0x1a8d9c?window[_0x120e85(0x263)]['replaceState']('','',_0x20410e[_0x120e85(0x1f5)]()):window[_0x120e85(0x263)][_0x120e85(0x28e)]('','',_0x20410e['toString']());}[_0x500701(0x171)](_0x2f050d){const _0x47c906=_0x500701;var _0x2b88bb;return(_0x2b88bb=new URL(window['location'][_0x47c906(0x246)])[_0x47c906(0x2c6)][_0x47c906(0x1a2)](_0x2f050d))!=null?_0x2b88bb:void 0x0;}}var un=Object[_0x500701(0x1b4)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x4e6b03,_0x6acc61,_0x1b80d0)=>_0x6acc61 in _0x4e6b03?un(_0x4e6b03,_0x6acc61,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b80d0}):_0x4e6b03[_0x6acc61]=_0x1b80d0,Sn=(_0x159e74,_0x44bab2,_0x4ef924,_0x218ef4)=>{for(var _0x50806e=_0x218ef4>0x1?void 0x0:_0x218ef4?dn(_0x44bab2,_0x4ef924):_0x44bab2,_0x137b53=_0x159e74['length']-0x1,_0xc4e9ab;_0x137b53>=0x0;_0x137b53--)(_0xc4e9ab=_0x159e74[_0x137b53])&&(_0x50806e=_0xc4e9ab(_0x50806e)||_0x50806e);return _0x50806e;},Oe=(_0x50d16c,_0x49d9ce)=>(_0x9aa832,_0x447235)=>_0x49d9ce(_0x9aa832,_0x447235,_0x50d16c),mn=(_0x3f3fbe,_0x30cbe4,_0x4d4a7b)=>fn(_0x3f3fbe,_0x30cbe4+'',_0x4d4a7b);const In=_0x500701(0x2fe);let Ae=class extends _0x5ee79e{constructor(_0xbd713=et,_0x4a12da,_0x4259bf,_0x282716){const _0x5c5d21=_0x500701;super(),this[_0x5c5d21(0x207)]=_0xbd713,this[_0x5c5d21(0x182)]=_0x4a12da,this[_0x5c5d21(0x1a4)]=_0x4259bf,this['_configService']=_0x282716;const {..._0x26aed7}=_0x1e4789({},et,this[_0x5c5d21(0x207)]);this[_0x5c5d21(0x335)][_0x5c5d21(0x165)](Zi,_0x26aed7);}[_0x500701(0x339)](){const _0x5e9a54=_0x500701;this['_registerDependencies'](),this[_0x5e9a54(0x17b)]();}[_0x500701(0x1b5)](){const _0x16badf=_0x500701;this[_0x16badf(0x18e)]();}[_0x500701(0x1d5)](){const _0x125b5a=_0x500701;var _0xf579f0;const _0x4436bd=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4df4f1,{'useClass':_0x20d8c7}],[_0x42439c,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x32ed27(this[_0x125b5a(0x1a4)],_0x4d34f1(_0x4436bd,(_0xf579f0=this[_0x125b5a(0x207)])==null?void 0x0:_0xf579f0[_0x125b5a(0x33d)]));}[_0x500701(0x18e)](){const _0x4d8356=_0x500701;this[_0x4d8356(0x226)](this['_renderManagerService'][_0x4d8356(0x2d7)](_0x57d7e2[_0x4d8356(0x1bb)],[we])),this[_0x4d8356(0x226)](this['_renderManagerService'][_0x4d8356(0x2d7)](_0x57d7e2[_0x4d8356(0x286)],[Pe]));}[_0x500701(0x17b)](){const _0x1ce4bd=_0x500701;_0x58b8a4(this[_0x1ce4bd(0x1a4)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x500701(0x2c7),In),Ae=Sn([_0x3f81bc(_0x492057),Oe(0x1,_0x20379b),Oe(0x2,_0x36f55a(_0x524dc3)),Oe(0x3,_0x1312da)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x4db858,_0xcbd888,_0x1e4887,_0x5e5baa)=>{const _0x3dffba=_0x500701;for(var _0x487d3f=_0x5e5baa>0x1?void 0x0:_0x5e5baa?gn(_0xcbd888,_0x1e4887):_0xcbd888,_0xcf9e4e=_0x4db858[_0x3dffba(0x234)]-0x1,_0x557bf4;_0xcf9e4e>=0x0;_0xcf9e4e--)(_0x557bf4=_0x4db858[_0xcf9e4e])&&(_0x487d3f=_0x557bf4(_0x487d3f)||_0x487d3f);return _0x487d3f;},K=(_0x4d4f78,_0x2f944d)=>(_0x1d9844,_0x4c4812)=>_0x2f944d(_0x1d9844,_0x4c4812,_0x4d4f78);let st=class extends _0x1f4966{constructor(_0x19c9bd,_0x52f7d6,_0x41bb6f,_0x48dda9,_0x3f3020){super(_0x19c9bd,_0x52f7d6,_0x41bb6f,_0x48dda9,_0x3f3020);}async['createSocket'](_0x1c8944){const _0x50d778=_0x500701,_0x27d7f2=await this['_getSessionTicket'](),_0x5f3115=this[_0x50d778(0x250)](_0x1c8944,_0x27d7f2);return this['_doCreateSocket'](_0x5f3115);}[_0x500701(0x250)](_0x1a8262,_0x1194c0){const _0x2fa33d=_0x500701,_0x1165f7=typeof window>'u'?new URL(_0x1a8262):new URL(_0x1a8262,window[_0x2fa33d(0x344)][_0x2fa33d(0x1df)]);_0x1165f7['searchParams']['set'](_0x2fa33d(0x2f7),_0x1194c0);const _0x579313=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2fa33d(0x19d)]);return _0x579313[_0x2fa33d(0x1a2)]('runId')&&_0x1165f7[_0x2fa33d(0x2c6)][_0x2fa33d(0x2af)](_0x2fa33d(0x350),_0x579313[_0x2fa33d(0x1a2)](_0x2fa33d(0x350))),_0x1165f7['toString']();}async[_0x500701(0x227)](){const _0x36dddb=_0x500701;var _0x403957,_0x3e4488,_0xca37a3;const _0x3ad527=this[_0x36dddb(0x335)][_0x36dddb(0x2e8)](_0x16c931),_0x293419=(_0x403957=_0x3ad527==null?void 0x0:_0x3ad527['wsSessionTicketUrl'])!=null?_0x403957:_0x5466b7;return(_0xca37a3=(_0x3e4488=(await this['_httpService'][_0x36dddb(0x1a2)](_0x293419,{'headers':{'Content-Type':_0x36dddb(0x1b6)}}))[_0x36dddb(0x216)])==null?void 0x0:_0x3e4488['ticket'])!=null?_0xca37a3:'';}};st=vn([K(0x0,_0x36f55a(_0x524dc3)),K(0x1,_0x36f55a(_0x4714d0)),K(0x2,_0x1312da),K(0x3,_0x56e22c),K(0x4,_0x3b9b92)],st);const it=0x7530,nt=_0x500701(0x1bc);class jn extends _0xbdf073{constructor(){const _0x50f6a6=_0x500701;super(),_(this,'_id',_0x4764a1()),_(this,_0x50f6a6(0x31d),new Set()),_(this,_0x50f6a6(0x23f),new Map()),_(this,_0x50f6a6(0x1ed),null),_(this,_0x50f6a6(0x2f0),new Map()),_(this,_0x50f6a6(0x343),new Map()),this[_0x50f6a6(0x21e)]();}[_0x500701(0x1e7)](){const _0x2aae96=_0x500701;super[_0x2aae96(0x1e7)](),this[_0x2aae96(0x2f0)]['forEach']((_0x188a7f,_0xbfb5f3)=>this[_0x2aae96(0x170)](_0xbfb5f3)),this[_0x2aae96(0x1ed)]&&window['clearInterval'](this[_0x2aae96(0x1ed)]);}[_0x500701(0x177)](_0x4311ec){const _0x4fad2d=_0x500701;return this[_0x4fad2d(0x358)](_0x4311ec)['pipe'](_0x1fead7());}[_0x500701(0x1ef)](_0x1e817b){const _0x492237=_0x500701;this[_0x492237(0x31d)][_0x492237(0x24e)]===0x0&&this[_0x492237(0x1f4)](),this['_selfUnitIDs'][_0x492237(0x1c3)](_0x1e817b),this[_0x492237(0x1ce)]({'type':0x0,'memberID':this[_0x492237(0x1a1)],'unitIDs':[_0x1e817b],'isForwarded':!0x1});}[_0x500701(0x1ec)](_0x3d6dcd){const _0x5463ce=_0x500701;this[_0x5463ce(0x31d)]['delete'](_0x3d6dcd),this['_selfUnitIDs']['size']===0x0&&this[_0x5463ce(0x1ed)]&&window[_0x5463ce(0x241)](this[_0x5463ce(0x1ed)]);}[_0x500701(0x21e)](){const _0x17af0e=_0x500701;this[_0x17af0e(0x226)](_0x31417b(_0x1c6ada(window,'storage')[_0x17af0e(0x320)](_0xf7dc89=>{const _0x101944=_0x17af0e;if(_0xf7dc89[_0x101944(0x34a)]!==nt||!_0xf7dc89[_0x101944(0x2a0)])return;const _0x5a5e00=JSON['parse'](_0xf7dc89[_0x101944(0x2a0)]);this[_0x101944(0x21f)](_0x5a5e00);}))),window['addEventListener'](_0x17af0e(0x311),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x17af0e(0x31d)])}));}['_handleEvent'](_0x5baf32){const _0x36c53d=_0x500701;switch(_0x5baf32[_0x36c53d(0x2f5)]){case 0x0:this[_0x36c53d(0x2a5)](_0x5baf32);break;case 0x1:this[_0x36c53d(0x2d6)](_0x5baf32);break;case 0x2:this[_0x36c53d(0x188)](_0x5baf32);break;}}[_0x500701(0x2a5)](_0x20a0a8){const _0x3712b7=_0x500701,{unitIDs:_0x43971c,memberID:_0x2a5d83,isForwarded:_0x2567e5}=_0x20a0a8;_0x43971c[_0x3712b7(0x295)](_0x2c519b=>{const _0xc5b024=_0x3712b7;if(!_0x2567e5&&this[_0xc5b024(0x23f)][_0xc5b024(0x1cb)](_0x2c519b)&&this[_0xc5b024(0x358)](_0x2c519b)[_0xc5b024(0x1c9)](_0x499e2f[_0xc5b024(0x160)]),!this[_0xc5b024(0x23f)][_0xc5b024(0x1cb)](_0x2c519b)||!this[_0xc5b024(0x23f)][_0xc5b024(0x1a2)](_0x2c519b)['has'](_0x2a5d83)){const _0x5031a3=this[_0xc5b024(0x23f)][_0xc5b024(0x1a2)](_0x2c519b)||new Set();_0x5031a3[_0xc5b024(0x1c3)](_0x2a5d83),this[_0xc5b024(0x23f)]['set'](_0x2c519b,_0x5031a3),this['_scheduleClearOtherTimer'](_0x2a5d83);}}),_0x2567e5||this[_0x3712b7(0x1ce)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3712b7(0x31d)]],'isForwarded':!0x0});}[_0x500701(0x25f)](_0x2bf1bf){const _0x38f847=_0x500701;this[_0x38f847(0x170)](_0x2bf1bf);const _0x10cb34=window['setTimeout'](()=>{const _0x36d767=_0x38f847;this[_0x36d767(0x23f)][_0x36d767(0x295)](_0x16acab=>{const _0x591421=_0x36d767;_0x16acab[_0x591421(0x204)](_0x2bf1bf);});},it*0x2);this[_0x38f847(0x2f0)][_0x38f847(0x2af)](_0x2bf1bf,_0x10cb34);}[_0x500701(0x170)](_0x2509f9){const _0x1ab5a3=_0x500701;if(this[_0x1ab5a3(0x2f0)][_0x1ab5a3(0x1cb)](_0x2509f9)){const _0x7918b3=this['_clearOtherTimers'][_0x1ab5a3(0x1a2)](_0x2509f9);_0x7918b3&&window[_0x1ab5a3(0x26c)](_0x7918b3),this[_0x1ab5a3(0x2f0)][_0x1ab5a3(0x2af)](_0x2509f9,null);}}[_0x500701(0x2d6)](_0xcb0adf){const _0x58a38e=_0x500701,{memberID:_0x5d3a5c,unitIDs:_0x111741}=_0xcb0adf;_0x111741[_0x58a38e(0x295)](_0x2d7224=>{const _0x282d77=_0x58a38e;var _0x792581;const _0x3a2229=this['_unitOnClients'][_0x282d77(0x1a2)](_0x2d7224);_0x3a2229&&(_0x3a2229[_0x282d77(0x204)](_0x5d3a5c),(_0x792581=this[_0x282d77(0x358)](_0x2d7224))==null||_0x792581[_0x282d77(0x1c9)](_0x3a2229[_0x282d77(0x24e)]===0x0?_0x499e2f[_0x282d77(0x2f4)]:_0x499e2f[_0x282d77(0x160)]));}),this['_removeClearOtherTimer'](_0x5d3a5c);}['_handleHeartbeatEvent'](_0x2be615){const _0x1327f7=_0x500701;this[_0x1327f7(0x25f)](_0x2be615['memberID']);}[_0x500701(0x1ce)](_0xb26ef7){const _0x255bd8=_0x500701;localStorage[_0x255bd8(0x221)](nt,JSON[_0x255bd8(0x203)](_0xb26ef7));}['_scheduleHeartbeat'](){const _0x1ba516=_0x500701;this[_0x1ba516(0x1ed)]=window['setInterval'](()=>{const _0x2d8e9e=_0x1ba516;this[_0x2d8e9e(0x1ce)]({'type':0x2,'memberID':this[_0x2d8e9e(0x1a1)]});},it);}[_0x500701(0x358)](_0x41f31f){const _0x44adb0=_0x500701;return this[_0x44adb0(0x343)][_0x44adb0(0x1cb)](_0x41f31f)||this[_0x44adb0(0x343)][_0x44adb0(0x2af)](_0x41f31f,new _0x5a7c5d(_0x499e2f[_0x44adb0(0x2f4)])),this[_0x44adb0(0x343)][_0x44adb0(0x1a2)](_0x41f31f);}}var Mt=(_0xdeeae4=>(_0xdeeae4[_0xdeeae4['UNDEFINED']=0x0]=_0x500701(0x2f8),_0xdeeae4[_0xdeeae4['OK']=0x1]='OK',_0xdeeae4[_0xdeeae4[_0x500701(0x244)]=0x2]=_0x500701(0x244),_0xdeeae4[_0xdeeae4[_0x500701(0x15b)]=0x3]=_0x500701(0x15b),_0xdeeae4[_0xdeeae4['NOT_FOUND']=0x4]=_0x500701(0x2d2),_0xdeeae4[_0xdeeae4[_0x500701(0x1a3)]=0x5]=_0x500701(0x1a3),_0xdeeae4[_0xdeeae4[_0x500701(0x1ca)]=0x6]=_0x500701(0x1ca),_0xdeeae4[_0xdeeae4[_0x500701(0x15c)]=0x7]='INVALID_ARGUMENT',_0xdeeae4[_0xdeeae4['TOO_MANY_REQUESTS']=0x8]=_0x500701(0x284),_0xdeeae4[_0xdeeae4[_0x500701(0x30a)]=0x9]=_0x500701(0x30a),_0xdeeae4[_0xdeeae4[_0x500701(0x34c)]=0xa]=_0x500701(0x34c),_0xdeeae4[_0xdeeae4['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x500701(0x2e2),_0xdeeae4[_0xdeeae4[_0x500701(0x199)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xdeeae4[_0xdeeae4[_0x500701(0x2bf)]=0x1772]=_0x500701(0x2bf),_0xdeeae4[_0xdeeae4['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x500701(0x210),_0xdeeae4[_0xdeeae4['APPLY_REJECT']=0x1b59]=_0x500701(0x1de),_0xdeeae4[_0xdeeae4[_0x500701(0x21d)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xdeeae4[_0xdeeae4[_0x500701(0x2c4)]=0x1b5b]=_0x500701(0x2c4),_0xdeeae4[_0xdeeae4[_0x500701(0x184)]=0x1b5c]=_0x500701(0x184),_0xdeeae4[_0xdeeae4[_0x500701(0x1b8)]=0x1b5d]=_0x500701(0x1b8),_0xdeeae4[_0xdeeae4[_0x500701(0x268)]=0x1f41]=_0x500701(0x268),_0xdeeae4[_0xdeeae4['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x500701(0x206),_0xdeeae4[_0xdeeae4[_0x500701(0x238)]=0x232a]=_0x500701(0x238),_0xdeeae4[_0xdeeae4[_0x500701(0x211)]=0x232b]=_0x500701(0x211),_0xdeeae4[_0xdeeae4[_0x500701(0x27d)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xdeeae4[_0xdeeae4[_0x500701(0x1fe)]=0x232d]=_0x500701(0x1fe),_0xdeeae4[_0xdeeae4[_0x500701(0x354)]=0x2711]=_0x500701(0x354),_0xdeeae4[_0xdeeae4[_0x500701(0x2dc)]=0x2712]=_0x500701(0x2dc),_0xdeeae4[_0xdeeae4['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x500701(0x34d),_0xdeeae4[_0xdeeae4[_0x500701(0x317)]=0x2714]=_0x500701(0x317),_0xdeeae4[_0xdeeae4[_0x500701(0x266)]=0x271a]=_0x500701(0x266),_0xdeeae4[_0xdeeae4[_0x500701(0x342)]=0x271b]=_0x500701(0x342),_0xdeeae4[_0xdeeae4['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x500701(0x19f),_0xdeeae4[_0xdeeae4[_0x500701(0x29e)]=0x271d]=_0x500701(0x29e),_0xdeeae4[_0xdeeae4[_0x500701(0x32a)]=0x271e]=_0x500701(0x32a),_0xdeeae4[_0xdeeae4[_0x500701(0x322)]=0x271f]='YUUMI_AI_RUN_FAILED',_0xdeeae4[_0xdeeae4[_0x500701(0x30c)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0xdeeae4[_0xdeeae4[_0x500701(0x325)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xdeeae4[_0xdeeae4[_0x500701(0x2f2)]=0x2ee2]=_0x500701(0x2f2),_0xdeeae4[_0xdeeae4[_0x500701(0x219)]=0x2ee3]=_0x500701(0x219),_0xdeeae4[_0xdeeae4[_0x500701(0x163)]=0x2ee4]='USER_NOT_INVITED_CODE',_0xdeeae4[_0xdeeae4[_0x500701(0x25d)]=0x2ee5]=_0x500701(0x25d),_0xdeeae4[_0xdeeae4['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x500701(0x2be),_0xdeeae4[_0xdeeae4['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x500701(0x353),_0xdeeae4[_0xdeeae4['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xdeeae4[_0xdeeae4[_0x500701(0x2c0)]=-0x1]=_0x500701(0x2c0),_0xdeeae4))(Mt||{}),pn=Object[_0x500701(0x248)],Cn=(_0x3aa9f3,_0x3796ff,_0x522b49,_0x5dadaa)=>{const _0x49785e=_0x500701;for(var _0x55c133=_0x5dadaa>0x1?void 0x0:_0x5dadaa?pn(_0x3796ff,_0x522b49):_0x3796ff,_0x6750c2=_0x3aa9f3[_0x49785e(0x234)]-0x1,_0x507ac6;_0x6750c2>=0x0;_0x6750c2--)(_0x507ac6=_0x3aa9f3[_0x6750c2])&&(_0x55c133=_0x507ac6(_0x55c133)||_0x55c133);return _0x55c133;},be=(_0x362c01,_0x3c5418)=>(_0x3c391b,_0x398678)=>_0x3c5418(_0x3c391b,_0x398678,_0x362c01);let rt=class extends _0xbdf073{constructor(_0x4c752c,_0x157d41,_0x57f337){super(),this['_instanceService']=_0x4c752c,this['_httpService']=_0x157d41,this['_configService']=_0x57f337;}async['runOnServer'](_0x34a67c,_0x483dac,_0x1205b0,..._0x1e2cef){const _0x11f35d=_0x500701;var _0x356fe2,_0x4e83d7,_0x57217c,_0x9beae0;const _0x288f37=this[_0x11f35d(0x1b2)]['getFocusedUnit']();if(!_0x288f37)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x331a55=((_0x356fe2=this[_0x11f35d(0x335)]['getConfig'](_0x4e004d))!=null?_0x356fe2:_0x294c26)+'/'+_0x34a67c+_0x11f35d(0x2e4)+_0x483dac,_0x274e38=new URL(window[_0x11f35d(0x344)]['href']),_0xb4703c={'scriptId':_0x34a67c,'runId':(_0x4e83d7=_0x274e38[_0x11f35d(0x2c6)][_0x11f35d(0x1a2)](_0x11f35d(0x350)))!=null?_0x4e83d7:'','function':_0x483dac,'unitId':_0x288f37['getUnitId'](),'argsOfFunction':JSON[_0x11f35d(0x203)](_0x1e2cef),'invokeId':(_0x57217c=_0x1205b0[_0x11f35d(0x262)])!=null?_0x57217c:'','executionId':(_0x9beae0=_0x1205b0['executionId'])!=null?_0x9beae0:''};try{const _0x525fa8=await this['_httpService']['post'](_0x331a55,{'body':_0xb4703c});return _0x525fa8[_0x11f35d(0x216)][_0x11f35d(0x1eb)]&&_0x525fa8[_0x11f35d(0x216)][_0x11f35d(0x1eb)]['code']!==Mt['OK']?_0x11f35d(0x19e):_0x525fa8[_0x11f35d(0x216)]['result'];}catch{return _0x11f35d(0x19e);}}};rt=Cn([be(0x0,_0x3a01ed),be(0x1,_0x36f55a(_0x4714d0)),be(0x2,_0x1312da)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x26156a=_0x4735;function _0x3275(){const _0x308a87=['4gmvuUW','3568GRBhrj','2674NzgdyH','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','469913mceOzo','276490NRhFsB','1633214IVkrPg','295479tScasH','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20please\x20check\x20your\x20network.','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','99dmuXfP','Collaboration\x20Conflict','805TMCLkC','1122kYOtNp','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','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.','Syncing...','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1478906jQrfHR','Synced','2iDXVNe','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','84KQXull'];_0x3275=function(){return _0x308a87;};return _0x3275();}(function(_0x310932,_0x4cea23){const _0x4006b0=_0x4735,_0x31ab71=_0x310932();while(!![]){try{const _0x5b1fb7=parseInt(_0x4006b0(0xb1))/0x1*(-parseInt(_0x4006b0(0xaa))/0x2)+parseInt(_0x4006b0(0xb4))/0x3*(-parseInt(_0x4006b0(0xad))/0x4)+-parseInt(_0x4006b0(0xbc))/0x5*(-parseInt(_0x4006b0(0xa1))/0x6)+parseInt(_0x4006b0(0xaf))/0x7*(-parseInt(_0x4006b0(0xae))/0x8)+parseInt(_0x4006b0(0xba))/0x9*(parseInt(_0x4006b0(0xb2))/0xa)+-parseInt(_0x4006b0(0xb3))/0xb+-parseInt(_0x4006b0(0xac))/0xc*(-parseInt(_0x4006b0(0xa8))/0xd);if(_0x5b1fb7===_0x4cea23)break;else _0x31ab71['push'](_0x31ab71['shift']());}catch(_0x36e681){_0x31ab71['push'](_0x31ab71['shift']());}}}(_0x3275,0x3b680));function _0x4735(_0x488401,_0x142bc3){const _0x327591=_0x3275();return _0x4735=function(_0x4735a2,_0x52cd85){_0x4735a2=_0x4735a2-0xa1;let _0x210cfc=_0x327591[_0x4735a2];return _0x210cfc;},_0x4735(_0x488401,_0x142bc3);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x26156a(0xa4),'conflict':'Edit\x20conflicts','notCollab':_0x26156a(0xb5),'synced':_0x26156a(0xa9),'syncing':_0x26156a(0xa6),'offline':_0x26156a(0xb6)},'session':{'connection-failed':_0x26156a(0xb7),'will-retry':_0x26156a(0xa3),'room-full':_0x26156a(0xa7),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x26156a(0xbb),'content':_0x26156a(0xa5)},'permission':{'title':_0x26156a(0xb8),'content':_0x26156a(0xab)},'collaboration':{'single-unit':{'warning':_0x26156a(0xb0)},'closeRoom':_0x26156a(0xa2)},'auth':{'needGotoLoginAlert':_0x26156a(0xb9)}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4f7562=_0x3f7a;function _0x2978(){const _0x34a509=['466459sKHVDl','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','3508CGRNmb','شما\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شد.','3009168qqqSbD','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','خطای\x20اعتبارسنجی','139kBsIst','در\x20حال\x20همگام\x20سازی...','380815MUuMHf','همگام\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سرور...','8RrvaLg','3693192vyzzfE','پرونده\x20محلی','1389045dGWBtv','تداخل\x20همکاری','759grUPph','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','56SybXxL','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','258770yTYsiA'];_0x2978=function(){return _0x34a509;};return _0x2978();}(function(_0x57d36e,_0x5cff71){const _0x5033d2=_0x3f7a,_0x3af23d=_0x57d36e();while(!![]){try{const _0x1c6c29=parseInt(_0x5033d2(0x159))/0x1*(parseInt(_0x5033d2(0x153))/0x2)+-parseInt(_0x5033d2(0x162))/0x3+-parseInt(_0x5033d2(0x166))/0x4*(parseInt(_0x5033d2(0x15b))/0x5)+parseInt(_0x5033d2(0x160))/0x6+parseInt(_0x5033d2(0x151))/0x7*(parseInt(_0x5033d2(0x15f))/0x8)+-parseInt(_0x5033d2(0x156))/0x9+parseInt(_0x5033d2(0x150))/0xa*(parseInt(_0x5033d2(0x164))/0xb);if(_0x1c6c29===_0x5cff71)break;else _0x3af23d['push'](_0x3af23d['shift']());}catch(_0x570fc2){_0x3af23d['push'](_0x3af23d['shift']());}}}(_0x2978,0xcefdf));function _0x3f7a(_0x45aaf7,_0x25ccce){const _0x29786c=_0x2978();return _0x3f7a=function(_0x3f7af1,_0xe38976){_0x3f7af1=_0x3f7af1-0x14f;let _0xab69d8=_0x29786c[_0x3f7af1];return _0xab69d8;},_0x3f7a(_0x45aaf7,_0x25ccce);}const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x4f7562(0x15e),'conflict':'تداخل\x20ویرایش','notCollab':_0x4f7562(0x161),'synced':_0x4f7562(0x15c),'syncing':_0x4f7562(0x15a),'offline':_0x4f7562(0x152)},'session':{'connection-failed':_0x4f7562(0x165),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x4f7562(0x157),'collaboration-timeout':_0x4f7562(0x14f)},'conflict':{'title':_0x4f7562(0x163),'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بین\x20خواهند\x20رفت.'},'permission':{'title':_0x4f7562(0x158),'content':_0x4f7562(0x15d)},'collaboration':{'single-unit':{'warning':_0x4f7562(0x154)},'closeRoom':_0x4f7562(0x155)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
|