@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506071606 → 0.8.0-nightly.202506091607

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x64618b=_0x5700;(function(_0x2a7d78,_0x326348){const _0x32223a=_0x5700,_0x5aa1e1=_0x2a7d78();while(!![]){try{const _0x2c303a=-parseInt(_0x32223a(0x1c2))/0x1+-parseInt(_0x32223a(0x26d))/0x2*(parseInt(_0x32223a(0x20d))/0x3)+parseInt(_0x32223a(0x16a))/0x4+-parseInt(_0x32223a(0x2d4))/0x5+-parseInt(_0x32223a(0x1a2))/0x6*(-parseInt(_0x32223a(0x283))/0x7)+-parseInt(_0x32223a(0x300))/0x8*(-parseInt(_0x32223a(0x266))/0x9)+parseInt(_0x32223a(0x1ff))/0xa*(parseInt(_0x32223a(0x2e5))/0xb);if(_0x2c303a===_0x326348)break;else _0x5aa1e1['push'](_0x5aa1e1['shift']());}catch(_0x2eaed9){_0x5aa1e1['push'](_0x5aa1e1['shift']());}}}(_0x16c4,0xc3ace));var $t=Object['defineProperty'],xt=(_0x1f10a3,_0x421d87,_0xcaffe9)=>_0x421d87 in _0x1f10a3?$t(_0x1f10a3,_0x421d87,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xcaffe9}):_0x1f10a3[_0x421d87]=_0xcaffe9,_=(_0x40245c,_0x56f9fe,_0x65b1c2)=>xt(_0x40245c,typeof _0x56f9fe!=_0x64618b(0x22a)?_0x56f9fe+'':_0x56f9fe,_0x65b1c2);function _0x5700(_0x2c58c2,_0x4bd157){const _0x16c4fc=_0x16c4();return _0x5700=function(_0x570061,_0x500032){_0x570061=_0x570061-0x13e;let _0x54a564=_0x16c4fc[_0x570061];return _0x54a564;},_0x5700(_0x2c58c2,_0x4bd157);}import{MemberService as _0x595aa4,SessionStatus as _0x3cc143,CollaborationSessionService as _0x2959b5,CollaborationStatus as _0x253d04,CollaborationController as _0x22feca,ILocalCacheService as _0x212ecf,CollaborationUIEventService as _0x2beba7,CollaborationUIEventId as _0x5d9b57,DataLoaderService as _0x1df97d,DocCollaborationEntity as _0x1cc43c,getLocalCacheKey as _0x284f5a,LOCAL_CACHE_INTERVAL as _0x2b2211,LOCAL_CACHE_INTERVAL_KEY as _0x55e399,UniverCollaborationClientPlugin as _0x420057,CollaborationSocketService as _0x2082c4,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4e72ac,DEFAULT_WS_SESSION_TICKET_URL as _0x55056a,UnitStatus as _0x201f5e,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2ee7f8,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4128ca}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4ddff1,Disposable as _0xfd192d,DOC_RANGE_TYPE as _0xe48f47,Inject as _0x5033cb,Injector as _0x5d0444,IUniverInstanceService as _0x56a9dd,ICommandService as _0x441fb8,debounce as _0x528585,Rectangle as _0x532fdd,DisposableCollection as _0x5c707e,toDisposable as _0x467123,UniverInstanceType as _0x55218d,Tools as _0x521fe2,COLORS as _0x13d148,ColorKit as _0x47caa8,ThemeService as _0x3cc326,fromEventSubject as _0x4ca10b,LocaleService as _0x7d4dd3,createIdentifier as _0x334356,ILogService as _0x2b7a43,Optional as _0x350c9b,Workbook as _0x165fa1,CommandType as _0x8e4acc,IConfigService as _0x8e7106,ILocalStorageService as _0x2b41b1,DependentOn as _0x1a8199,Plugin as _0x2c548a,merge as _0x32f801,registerDependencies as _0x1bad60,mergeOverrideWithDependencies as _0x10af78,touchDependencies as _0x55a510,generateRandomId as _0x26dde8}from'@univerjs/core';import{Shape as _0x2f321f,Rect as _0x44fdaf,getColor as _0x2d3e0b,RegularPolygon as _0x40cb0f,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x191eae,Vector2 as _0x2da506,SHEET_VIEWPORT_KEY as _0x4547f8,IRenderManagerService as _0x479a8}from'@univerjs/engine-render';function _0x16c4(){const _0x2d653d=['from','enableLocalCache','USERS_LEAVE','transformRemoteChangeset','_configService','12369bSVXlC','_collabCursorController','assignAColorForMemberID','top','_textBubble','collabStatus.conflict','_hovered','disableLocalCache','_document','_disabled','_scheduleSaving','hovered','MOBILE_HAS_BEEN_BOUND','getTypeOfUnitDisposed$','set','createInstance','ENSURE_SNAPSHOT_EXECUTION','hasOwnProperty','getRenderById','apply','location','row','_drawTextRange','_cursorInfo$','_doCreateSocket','_docSkeletonManagerService','skeleton','unsubscribe','addClipboardHook','symbol','engine','deepClone','unit','isEditing','height','lineTo','urlChange$','_handleJoinEvent','CONFLICT','invokeId','stringify','ONLINE','_onRefRangeChange','_cachedData','MoveRangeCommandId','ALREADY_EXISTS','evenodd','get','_docTransformIMECacheService','dispose','className','fillStyle','disposeWithMe','url(#$1','type','bottom','_handleHover','_registerRenderDependencies','CHANGESET_REVISION_CONFILICT','unitId','getCurrentSelections','save','href','_saveTaskMap','HEADER_MENU','path','_beforeCloseService','actions','getDocRanges','undoState','url(#off-line-icon_clip0_910_343)','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SOCKET_FAILED_RETRY','fillText','LICENSE_DISTRO_REJECTED','UNIVER_SHEET','UNDEFINED','push','...','_initEntityListener','getOffsetConfig','pipe','forEach','all','_clearOtherTimers','_univerInstanceService','getActiveRange','replaceDocRanges','getUnitStatus$','306RSlZFk','INVITE_CODE_HAS_BEEN_UES','moveTo','result','labelPosition','clearInterval','_backgroundColor','192OuVDQa','eventID','yellow.400','debug','_httpService','mask','InsertColCommandId','setShapeProps','use','LOGIN_FAILED','http://www.w3.org/2000/svg','M0\x200H16V16H0z','selections','_ensureSubject','children','editingUnit','color','YUUMI_SUBSCRIPTION_NOT_FOUND','_collaborationController','getAncestorScale','addEventListener','_handleHeartbeatEvent','7AgZHwb','ticket','pluginName','transformByState','executeCommand','includes','then','_sheetSkeletonManagerService','updateOfflineData','icon','LICENSE_IMPORT_SIZE_EXCEEDED','INVALID_ARGUMENT','_logService','call','TEXT','_commandService','setItem','defIds','concat','textRanges','_collabCursorState$','_entities','attrs','docStateChange$','_updateCollabCursors','_roomMembers$','_onCursorUpdate','add','override','getMemberID','YUUMI_AI_RUN_FAILED','trim','subscribeEvent','_anchorDot','params','registerBeforeClose','FromArray','_imageIoService','UNAUTHENTICATED','setUndoRedoMutationParamsCache','_init','unitID','selection','getParam','onCommandExecuted','APPLY_PERMISSION_DENIED','transformStateCache','_online','_startSheetCollabCursor','url(#on-line-icon_clip0_910_349)','getUndoRedoMutationParamsCache','APPLY_NON_SEQUENTIAL_REVISION','0\x200\x2016\x2016','replace','defineProperty','beginPath','m1Prime','column','focused$','closePath','memberID','_updateSubUnitFromURLParams','currentColor','purple.300','_shapes','text','SNAPSHOT_HAS_BEEN_REMOVED','getValue','search','sessionStatus$','_startDocCollabCursor','INTERNAL_ERROR','SUBMIT_CHANGESET_TIMEOUT','redoState','_messageService','blue.400','INVALID_INVITE_CODE','_initDependencies','setParam','APPLY_REJECT','collabStatus.notCollab','5304410HxVxsJ','session.collaboration-timeout','_eventUnsubscribe','none','_colorIndex','_status$','_id','YUUMI_URL_COL_OUT_OF_RANGE','PERMISSION_DENIED','INVITE_CODE_ALREADY_BOUND','error','COMPLETION_FINISHED','generateRandomId','PY_RUNTIME_SCRIPT_ERROR','JOIN_ROOM_FAILED','roomMembers$','backgroundColor','18535099wXJies','find','_removeClearOtherTimer','popstate','permission.title','_getSessionTicket','getSheetBySheetId','transformMutation','_send','getCollabCursors$','prototype','transformSelections','indexOf','#FFF','getConfig','_saveCache','code','on-line-icon','_refRangeService','_urlService','registerRenderModule','collabStatus.synced','createSocket','getOwnPropertySymbols','getTypeOfUnitAdded$','_localeService','origin','118248WyPATV','LICENSE_MAX_UNITS_EXCEEDED','NOT_COLLAB','UniverIcon','arc','data','black','_draw','round','svg','_docSkeleton','RemoveRowCommandId','_injector','YUUMI_UNABLE_LOAD_URL','getFocusedUnit','activeSheet$','setStateCache','_config','_docSyncEditingCollabCursorService','rgba(255,\x20255,\x20255,\x200.01)','onStarting','NO_OTHER_CLIENTS_EDITING','send','size','storage','wsSessionTicketUrl','_getScale','_memberService','_initResize','map','CONNECTOR_DATA_TOO_LARGE','_onCursorDelete','endColumn','string','_drawAnchor','_uiPartsService','cursorInfo$','_docTransformSelectionsService','session.will-retry','AWAITING','min','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','APPLY_DUPLICATED','InsertRowCommandId','_getAnchorBounding','m2Prime','_colorAssignService','name','/run/','setConfig','cursorInfo','getUnitId','xlink:href','div','_initEvent','collaboration.single-unit.warning','newValue','UNRECOGNIZED','whenReady','split','getCurrent','registerComponent','OTHER_CLIENTS_EDITING','show','makeDirty','[CollaborationDataLoaderController]','_renderManagerService','next','displayName','Unknown\x20user','_initStatusComponent','delete','UPDATE_CURSOR','setInterval','_scene','collabCursorState$','_updateURLWithCurrentState','_handleLeaveEvent','length','getSheetId','subUnitId','removeParam','_heartbeatTimer','YUUMI_ALL_TABLES_IS_INVALID','_collaborationUIEventService','_session','application/json','hide','INVITE_CODE_REQUIRED','mutations','MUTATION','_name','getRangePointData','APPLY_REVISION_CONFILICT','_docClipboardService','_collabSessionService','univer-flex\x20univer-mr-2\x20univer-text-xl','drawWith','searchParams','function','_toggleOffline','SYNCED','pushState','unload','getColorFromTheme','permission.content','extend','_docStateChangeManagerService','_notificationService','onPointerMove$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getUniverSheetInstance','386164hgCEby','getItem','YUUMI_NO_CUBOID_FOR_QUESTION','_entityInit$','_initCommandExecutedListener','transformMutationsWithChangeset','YUUMI_RATE_OVER_LIMIT','status$','collaboration-client-ui.config','doc.mutation.rich-text-editing','_setupSubUnitSync','currentTheme$','RECT','assign','getMember','requireSession','tag','_getSaveTimeout','OffLineIcon','unshift','idSuffix','_transformService','_updateLocalCursor','getStateCache','width','YUUMI_TABLE_NOT_FOUND_IN_UNIT','green.600','toString','toRgbString','clipPath','getRelativeToViewportCoord','EMAIL_HAS_BEEN_BOUND','_localStorageService','getVpScrollXYInfoByPosToVp','NOT_FOUND','_cursorShapes','_instanceService','Failed','_anchor','startColumn','_revisionService','with','_getSheetObject','Warning','collabStatus.fetchMiss','_removeCollabCursors','restore','collaboration-client.offline-data-not-saved','_color','getCellPositionByOffset','clearTimeout','on-line-icon_clip0_910_349','random','_transformUndoRedoStack','_cursors','exhaustSavingTask','3093918Bkkffr','_docTransformStateCacheService','collab-rect-range-','setTimeout','dispose$','max','AWAITING_WITH_PENDING','subunit','transformIMECache','loadOfflineData','uni.network.url-service','replaceState','onTransformChange$','complete','_syncEditingCollabCursorService','WECHAT_HAS_BEEN_BOUND','_dataLoaderService','addObject','_render','USER_NOT_INVITED_CODE','_unitOnClients','_labelPosition','_refreshCollabCursors','contains','Error','getMergeData','getOwnPropertyDescriptor','jiqing.500','_context','onMouseMove','onPointerEnter$','ranges','541581UIQomG','_transformHistoryAndStateStack','history','SNAPSHOT_INVALID_SNAPSHOT','_drawRectRange','_transformPreviousActiveRange','collaboration.closeRoom','asObservable','white','fill','setActiveRange','_scheduleHeartbeat','event$','startRow','UNIVER_DOC','YUUMI_ASYNCIO_CANCELLED','measureText','setAlpha','1em','_hideTimer','_setupBeforeClosingHandler','_scheduleClearOtherTimer','InsertRangeMoveRightCommandId','defs','colorChannel1','saveTaskMap','onPointerLeave$','sessionTicket','source','_range','univer-flex\x20univer-items-center','propertyIsEnumerable','_selfUnitIDs','_hover','_handleEvent','saveImage','font','_cursor','some','currentSkeleton$','body','findNodePositionByCharIndex','registerRefRange','_assignedColors','init','has','subscribe','translate(.97)','_themeService','syncEditingCollabCursor','_unitStatus','RemoveColCommandId','sheetId','_lastPointer','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_createSocketURL','addHandlerCallback','univerjs-icon\x20univerjs-icon-','isArray','TOO_MANY_REQUESTS','post','10guPrWB','addObjects','_toggleOnline','VIEW_MAIN','range','loadUnit','runId','values','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200'];_0x16c4=function(){return _0x2d653d;};return _0x16c4();}import{ISocketService as _0x405659,WebSocketService as _0xefa18a,HTTPService as _0x511497}from'@univerjs/network';import{IDocClipboardService as _0x4c00c3,NodePositionConvertToCursor as _0xb1b446,NodePositionConvertToRectRange as _0x36f802,TEXT_RANGE_LAYER_INDEX as _0x54b383,SetDocZoomRatioOperation as _0x12c153,DocIMEInputManagerService as _0x27ee56,DocStateChangeManagerService as _0x1a5ccb}from'@univerjs/docs-ui';import{IImageIoService as _0x5101e9}from'@univerjs/drawing';import{BehaviorSubject as _0x3d4fde,debounceTime as _0x6156d5,takeUntil as _0xf9f0d5,Subject as _0x185d1b,filter as _0x14c0fe,switchMap as _0x31eb21,merge as _0x264842,combineLatest as _0x47b847,of as _0x221268,fromEvent as _0x282fe4,shareReplay as _0xa8cb90,mapTo as _0x203496,distinctUntilChanged as _0x33ccb0}from'rxjs';import{SetTextSelectionsOperation as _0x12c489,RichTextEditingMutation as _0x1e80f7,DocSelectionManagerService as _0x34051a,DocSkeletonManagerService as _0x30cf23}from'@univerjs/docs';import{ITransformService as _0x492187,CollaborationEvent as _0x110449,isTransformMutationFailure as _0x2438e1,isTransformMutationsWithChangesetSuccess as _0x2ccd38,RevisionService as _0x1996cf,ISnapshotServerService as _0x3e1e1d}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x1eabee,serializeRangeWithSheet as _0x4e4fff}from'@univerjs/engine-formula';import{RefRangeService as _0x4c0591,SetSelectionsOperation as _0x3de7a1,SheetsSelectionsService as _0x6612a2,EffectRefRangId as _0x28222f,handleIRemoveRow as _0x38756b,handleIRemoveCol as _0x218b2e,handleMoveRange as _0x2495b1,handleInsertRow as _0x560e2d,handleInsertRangeMoveRight as _0x59fa95,handleInsertRangeMoveDown as _0x12a9d4,handleInsertCol as _0x24253b,handleDeleteRangeMoveUp as _0x567827,handleDeleteRangeMoveLeft as _0x5f1b70,runRefRangeMutations as _0x460ac6,SetWorksheetActivateCommand as _0x4ab9ef}from'@univerjs/sheets';import{map as _0x18694b,filter as _0x12b8db,throttleTime as _0x40c540,takeUntil as _0x223637,switchMap as _0x2ff73a}from'rxjs/operators';import{SheetSkeletonManagerService as _0x31d5fb,getCoordByCell as _0x1d907c,getSheetObject as _0x495b33}from'@univerjs/sheets-ui';import{jsx as _0x4eb9b5,jsxs as _0x4ca26e}from'react/jsx-runtime';import{useObservable as _0x4861f8,useDependency as _0xbdf0d4,IUIPartsService as _0x5bd75c,BuiltInUIPart as _0x257042,connectInjector as _0x174522,IBeforeCloseService as _0x6045cf,IMessageService as _0x453f1e,INotificationService as _0x180a10}from'@univerjs/ui';import{Tooltip as _0x1cf3b2,clsx as _0x55d543,MessageType as _0x37e46e}from'@univerjs/design';import{forwardRef as _0x36b6f5,useRef as _0x3bf52a,createElement as _0x4d5013,useCallback as _0x46934a}from'react';import{IRemoteInstanceService as _0x13b1c1}from'@univerjs/rpc';var ci=Object[_0x64618b(0x1bc)],li=(_0x40f0db,_0x4f080e,_0x44f480,_0x568cb8)=>{const _0x1d7fb0=_0x64618b;for(var _0x19892d=_0x568cb8>0x1?void 0x0:_0x568cb8?ci(_0x4f080e,_0x44f480):_0x4f080e,_0x5ac1d7=_0x40f0db[_0x1d7fb0(0x148)]-0x1,_0x39c6db;_0x5ac1d7>=0x0;_0x5ac1d7--)(_0x39c6db=_0x40f0db[_0x5ac1d7])&&(_0x19892d=_0x39c6db(_0x19892d)||_0x19892d);return _0x19892d;},Je=(_0x5573ee,_0x3234d2)=>(_0x288a29,_0xa3fcd)=>_0x3234d2(_0x288a29,_0xa3fcd,_0x5573ee);let Ne=class extends _0x4ddff1{constructor(_0x3de177,_0x4e03a2){const _0x41264a=_0x64618b;super(),this[_0x41264a(0x158)]=_0x3de177,this[_0x41264a(0x2a8)]=_0x4e03a2,this[_0x41264a(0x2ab)]();}['_init'](){const _0x1923d1=_0x64618b,_0x41ca8b=this;this[_0x1923d1(0x241)](this['_docClipboardService'][_0x1923d1(0x229)]({'onBeforePasteImage':async _0x293384=>{const _0x2af846=_0x1923d1,_0x26a4ef=await _0x41ca8b[_0x2af846(0x2a8)][_0x2af846(0x1e5)](_0x293384);return _0x26a4ef?{'source':_0x26a4ef[_0x2af846(0x1de)],'imageSourceType':_0x26a4ef['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x4c00c3),Je(0x1,_0x5101e9)],Ne);const Ze=[_0x64618b(0x2c2),_0x64618b(0x1bd),_0x64618b(0x184),'red.300',_0x64618b(0x2ce),_0x64618b(0x26f)];class ke extends _0xfd192d{constructor(){const _0xdab985=_0x64618b;super(...arguments),_(this,_0xdab985(0x1ed),new Map()),_(this,_0xdab985(0x2d8),0x0);}[_0x64618b(0x20f)](_0x394e21){const _0x181120=_0x64618b;if(this['_assignedColors'][_0x181120(0x1ef)](_0x394e21))return this[_0x181120(0x1ed)]['get'](_0x394e21);const _0x1bbf48=Ze[this[_0x181120(0x2d8)]];return this[_0x181120(0x2d8)]=(this[_0x181120(0x2d8)]+0x1)%Ze[_0x181120(0x148)],this['_assignedColors']['set'](_0x394e21,_0x1bbf48),_0x1bbf48;}}function Tt(_0x46fb67){const _0x923638=_0x64618b;let _0xdf849='';for(const _0x3a39d8 of _0x46fb67){const {startOffset:_0x4d9cda,endOffset:_0x5041f9,isActive:_0x8d7366,rangeType:_0x1fe148,segmentId:_0xaf9095,segmentPage:_0x52e6bc}=_0x3a39d8;_0xdf849[_0x923638(0x148)]&&(_0xdf849+=','),_0xdf849+=_0x4d9cda+':'+_0x5041f9+':'+(_0x8d7366?'1':'0')+':'+_0x1fe148+':'+_0xaf9095+':'+_0x52e6bc;}return _0xdf849;}function _i(_0x2762d7){const _0x445bd2=_0x64618b,_0x8d3ea=_0x2762d7['split'](','),_0xce68b5=[];for(const _0x5b8be5 of _0x8d3ea){const [_0x534ff7,_0x9cbc5,_0x120de0,_0x5d5aaa,_0x4ec423,_0x4e0e33]=_0x5b8be5[_0x445bd2(0x33b)](':');_0xce68b5[_0x445bd2(0x25a)]({'startOffset':Number(_0x534ff7),'endOffset':Number(_0x9cbc5),'collapsed':_0x534ff7===_0x9cbc5,'isActive':_0x120de0==='1','rangeType':_0x5d5aaa===_0xe48f47[_0x445bd2(0x291)]?_0xe48f47['TEXT']:_0xe48f47[_0x445bd2(0x176)],'segmentId':typeof _0x4ec423==_0x445bd2(0x321)?String(_0x4ec423):'','segmentPage':Number(_0x4e0e33!=null?_0x4e0e33:-0x1)});}return _0xce68b5[_0x445bd2(0x1e8)](_0x27838a=>_0x27838a['isActive'])||(_0xce68b5[0x0]['isActive']=!0x0),_0xce68b5;}class He extends _0x4ddff1{constructor(){const _0x318d4a=_0x64618b;super(...arguments),_(this,_0x318d4a(0x297),new _0x3d4fde(null)),_(this,'collabCursorState$',this[_0x318d4a(0x297)][_0x318d4a(0x1c9)]());}[_0x64618b(0x1f3)](_0x10fc3b){const _0x1bf8f8=_0x64618b,{unitID:_0x341715,memberID:_0x489da5,textRanges:_0x24dc16}=_0x10fc3b,_0x4bf395=Tt(_0x24dc16);if(_0x4bf395==='')return;const _0x4865d6={'unitID':_0x341715,'memberID':_0x489da5,'selection':_0x4bf395};this[_0x1bf8f8(0x297)][_0x1bf8f8(0x343)](_0x4865d6);}}var hi=Object[_0x64618b(0x1bc)],ui=(_0xb99e77,_0x21dc62,_0x4dc905,_0x567cce)=>{const _0x3ac486=_0x64618b;for(var _0x3cfdf3=_0x567cce>0x1?void 0x0:_0x567cce?hi(_0x21dc62,_0x4dc905):_0x21dc62,_0x42530a=_0xb99e77[_0x3ac486(0x148)]-0x1,_0x2f9886;_0x42530a>=0x0;_0x42530a--)(_0x2f9886=_0xb99e77[_0x42530a])&&(_0x3cfdf3=_0x2f9886(_0x3cfdf3)||_0x3cfdf3);return _0x3cfdf3;},P=(_0x4e3f00,_0xf015f5)=>(_0x5f1f51,_0x2563a3)=>_0xf015f5(_0x5f1f51,_0x2563a3,_0x4e3f00);const di=0x12c,fi=0x64;let Ue=class extends _0x4ddff1{constructor(_0x50989a,_0x1d5ad5,_0x3a8ce4,_0x186e32,_0x9e37e9,_0x43cf82,_0x4897be,_0x4c0b7f,_0x225038){const _0x56f89d=_0x64618b;super(),_(this,_0x56f89d(0x2b2),!0x1),_(this,_0x56f89d(0x2ab),!0x1),_(this,_0x56f89d(0x224),new _0x3d4fde(new Map())),_(this,_0x56f89d(0x324),this[_0x56f89d(0x224)][_0x56f89d(0x1c9)]()),_(this,_0x56f89d(0x29c),new _0x3d4fde([])),_(this,_0x56f89d(0x2e3),this[_0x56f89d(0x29c)][_0x56f89d(0x25e)](_0x6156d5(di))),_(this,'_updateLocalCursor',_0x528585(_0x56b28d=>{const _0x1fe13a=_0x56f89d,_0x5222ca={'eventID':_0x110449[_0x1fe13a(0x142)],'data':{'unitID':this['unitID'],'memberID':this[_0x1fe13a(0x14f)][_0x1fe13a(0x2a0)](),'selection':Tt(_0x56b28d)}};this['_session'][_0x1fe13a(0x316)](_0x5222ca,this[_0x1fe13a(0x2ac)]);},fi)),(this['unitID']=_0x50989a,this['_session']=_0x1d5ad5,this[_0x56f89d(0x30c)]=_0x3a8ce4,this[_0x56f89d(0x32e)]=_0x186e32,this[_0x56f89d(0x31b)]=_0x9e37e9,this[_0x56f89d(0x1b0)]=_0x43cf82,this[_0x56f89d(0x17f)]=_0x4897be,this['_univerInstanceService']=_0x4c0b7f,this[_0x56f89d(0x292)]=_0x225038);}get[_0x64618b(0x332)](){const _0x430f5b=_0x64618b;return this['_cursorInfo$'][_0x430f5b(0x2c6)]();}get['roomMembers'](){const _0x199a13=_0x64618b;return this['_roomMembers$'][_0x199a13(0x2c6)]();}[_0x64618b(0x23e)](){const _0x1df53b=_0x64618b;super[_0x1df53b(0x23e)](),this[_0x1df53b(0x224)]['next'](new Map()),this['_cursorInfo$'][_0x1df53b(0x1af)](),this[_0x1df53b(0x29c)][_0x1df53b(0x343)]([]),this[_0x1df53b(0x29c)][_0x1df53b(0x1af)]();}[_0x64618b(0x1ee)](){const _0x147390=_0x64618b;this['_init']||(this['_init']=!0x0,this[_0x147390(0x14f)][_0x147390(0x2c8)][_0x147390(0x25e)](_0xf9f0d5(this['dispose$']))[_0x147390(0x1f0)](_0x448d09=>{const _0x20693c=_0x147390;_0x448d09===_0x3cc143[_0x20693c(0x236)]?this[_0x20693c(0x201)]():this[_0x20693c(0x15e)]();}),this['_session']['event$'][_0x147390(0x25e)](_0xf9f0d5(this[_0x147390(0x1a6)]))[_0x147390(0x1f0)](_0x55f342=>{const _0x50aa05=_0x147390,_0x506500=_0x55f342[_0x50aa05(0x26e)];_0x506500===_0x110449[_0x50aa05(0x142)]&&this[_0x50aa05(0x29d)](_0x55f342),_0x506500===_0x110449['USERS_LEAVE']&&this['_onCursorDelete'](_0x55f342);}),this[_0x147390(0x241)](this[_0x147390(0x292)][_0x147390(0x2af)](_0x27a411=>{const _0x144e8a=_0x147390,_0x182be5=_0x27a411[_0x144e8a(0x2a5)];_0x182be5!=null&&this['_online']&&_0x27a411['id']===_0x12c489['id']&&_0x182be5[_0x144e8a(0x248)]===this[_0x144e8a(0x2ac)]&&_0x182be5[_0x144e8a(0x22e)]===!0x1&&_0x182be5[_0x144e8a(0x1c1)][_0x144e8a(0x148)]>0x0&&this[_0x144e8a(0x180)](_0x182be5[_0x144e8a(0x1c1)]);})),this[_0x147390(0x1b0)][_0x147390(0x145)][_0x147390(0x25e)](_0xf9f0d5(this[_0x147390(0x1a6)]))[_0x147390(0x1f0)](_0x5144d3=>{const _0xe65e0b=_0x147390;if((_0x5144d3==null?void 0x0:_0x5144d3[_0xe65e0b(0x2ac)])!==this[_0xe65e0b(0x2ac)])return;const _0x3217a9={'eventID':_0x110449[_0xe65e0b(0x142)],'data':_0x5144d3};this[_0xe65e0b(0x29d)](_0x3217a9);}),this[_0x147390(0x241)](this[_0x147390(0x292)][_0x147390(0x2af)](_0x1f5102=>{const _0x4ceaf1=_0x147390;if(_0x1f5102['params']==null)return;const _0x467b5a=_0x1f5102[_0x4ceaf1(0x2a5)];if(_0x1f5102['id']!==_0x1e80f7['id']||_0x467b5a[_0x4ceaf1(0x248)]!==this['unitID'])return;const _0x3d83d4={'id':_0x4ceaf1(0x173),'params':_0x467b5a},_0x4826af=this[_0x4ceaf1(0x332)];for(const [_0x3f5139,_0x33322d]of _0x4826af){const _0x521ef5={'id':_0x4ceaf1(0x173),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x33322d[_0x4ceaf1(0x1c1)]}},_0x3b8e7a=this[_0x4ceaf1(0x17f)][_0x4ceaf1(0x2ec)](_0x3d83d4,_0x521ef5,!0x1);if(_0x2438e1(_0x3b8e7a))throw _0x3b8e7a[_0x4ceaf1(0x2de)];_0x4826af[_0x4ceaf1(0x21b)](_0x3f5139,{..._0x33322d,'ranges':_0x3b8e7a['m2Prime'][_0x4ceaf1(0x2a5)][_0x4ceaf1(0x296)]});}queueMicrotask(()=>{const _0x5080db=_0x4ceaf1;this[_0x5080db(0x224)]['next'](_0x4826af);});})));}[_0x64618b(0x29d)](_0x5206d9){const _0x5b7590=_0x64618b;var _0x367057,_0x12bbc3;const {memberID:_0x4d62ae,selection:_0x2a8699}=_0x5206d9[_0x5b7590(0x305)],_0x3962e4=_i(_0x2a8699),_0x56143a=(_0x12bbc3=(_0x367057=this[_0x5b7590(0x31b)][_0x5b7590(0x178)](this[_0x5b7590(0x2ac)],_0x4d62ae))==null?void 0x0:_0x367057[_0x5b7590(0x32f)])!=null?_0x12bbc3:_0x5b7590(0x13f),_0x5d7d3f={'color':this[_0x5b7590(0x32e)][_0x5b7590(0x20f)](_0x4d62ae),'name':_0x56143a,'ranges':_0x3962e4},_0x4d9772=this[_0x5b7590(0x332)];_0x4d9772['set'](_0x4d62ae,_0x5d7d3f),this['_cursorInfo$'][_0x5b7590(0x343)](_0x4d9772);}['_onCursorDelete'](_0xe455d3){const _0x277482=_0x64618b,{memberID:_0x40559b}=_0xe455d3[_0x277482(0x305)],_0x5e8c0b=this[_0x277482(0x332)];_0x5e8c0b[_0x277482(0x141)](_0x40559b),this['_cursorInfo$'][_0x277482(0x343)](_0x5e8c0b);}['_toggleOnline'](){const _0x7077d9=_0x64618b;var _0x4c9fb5;if(this[_0x7077d9(0x2b2)]=!0x0,((_0x4c9fb5=this[_0x7077d9(0x262)][_0x7077d9(0x30e)]())==null?void 0x0:_0x4c9fb5[_0x7077d9(0x333)]())!==this[_0x7077d9(0x2ac)])return;const _0x5af1df=this[_0x7077d9(0x30c)][_0x7077d9(0x23c)](_0x34051a)[_0x7077d9(0x251)]();Array[_0x7077d9(0x1fc)](_0x5af1df)&&_0x5af1df[_0x7077d9(0x148)]>0x0&&this[_0x7077d9(0x180)](_0x5af1df);}[_0x64618b(0x15e)](){const _0x4004cb=_0x64618b;this[_0x4004cb(0x2b2)]=!0x1;}};Ue=ui([P(0x2,_0x5033cb(_0x5d0444)),P(0x3,_0x5033cb(ke)),P(0x4,_0x5033cb(_0x595aa4)),P(0x5,_0x5033cb(He)),P(0x6,_0x492187),P(0x7,_0x56a9dd),P(0x8,_0x441fb8)],Ue);var Si=Object[_0x64618b(0x1bc)],mi=(_0x50111c,_0x554c97,_0x5a4a85,_0x487944)=>{const _0x32bd83=_0x64618b;for(var _0x67288c=_0x487944>0x1?void 0x0:_0x487944?Si(_0x554c97,_0x5a4a85):_0x554c97,_0x1814a5=_0x50111c[_0x32bd83(0x148)]-0x1,_0x39d6a4;_0x1814a5>=0x0;_0x1814a5--)(_0x39d6a4=_0x50111c[_0x1814a5])&&(_0x67288c=_0x39d6a4(_0x67288c)||_0x67288c);return _0x67288c;},x=(_0x474bfa,_0x1b2b95)=>(_0x33dd2f,_0x193904)=>_0x1b2b95(_0x33dd2f,_0x193904,_0x474bfa);const Ii=0x12c,gi=0x64,vi=()=>{let _0x375472=[],_0x46cce3=!0x1;return _0x222121=>{const _0x259d05=_0x5700;_0x375472[_0x259d05(0x25a)](_0x222121),_0x46cce3||(_0x46cce3=!0x0,setTimeout(()=>{const _0x522767=_0x259d05;_0x375472[_0x522767(0x25f)](_0x6bbd3e=>_0x6bbd3e()),_0x375472=[],_0x46cce3=!0x1;}));};};let Me=class extends _0x4ddff1{constructor(_0x2b9362,_0xae3ec1,_0x8d45a3,_0x439a0b,_0x2d2385,_0x3a2ac2,_0x35e983,_0x53a0f2){const _0x10c54b=_0x64618b;super(),_(this,_0x10c54b(0x2b2),!0x1),_(this,_0x10c54b(0x2ab),!0x1),_(this,'_cursorInfo$',new _0x3d4fde(new Map())),_(this,_0x10c54b(0x324),this['_cursorInfo$'][_0x10c54b(0x1c9)]()),_(this,'_roomMembers$',new _0x3d4fde([])),_(this,_0x10c54b(0x2e3),this[_0x10c54b(0x29c)][_0x10c54b(0x25e)](_0x6156d5(Ii))),_(this,_0x10c54b(0x180),_0x528585((_0x11958a,_0x50afdf)=>{const _0x269eb1=_0x10c54b,_0x3614df={'eventID':_0x110449[_0x269eb1(0x142)],'data':{'unitID':this[_0x269eb1(0x2ac)],'memberID':this[_0x269eb1(0x14f)][_0x269eb1(0x2a0)](),'selection':_0x4e4fff(_0x11958a,_0x50afdf[_0x269eb1(0x203)])}};this[_0x269eb1(0x14f)][_0x269eb1(0x316)](_0x3614df,this[_0x269eb1(0x2ac)]);},gi)),(this[_0x10c54b(0x2ac)]=_0x2b9362,this[_0x10c54b(0x14f)]=_0xae3ec1,this[_0x10c54b(0x30c)]=_0x8d45a3,this[_0x10c54b(0x32e)]=_0x439a0b,this[_0x10c54b(0x31b)]=_0x2d2385,this[_0x10c54b(0x262)]=_0x3a2ac2,this[_0x10c54b(0x292)]=_0x35e983,this['_refRangeService']=_0x53a0f2);}get[_0x64618b(0x332)](){const _0x30301c=_0x64618b;return this[_0x30301c(0x224)]['getValue']();}get['roomMembers'](){const _0xb10211=_0x64618b;return this[_0xb10211(0x29c)][_0xb10211(0x2c6)]();}[_0x64618b(0x23e)](){const _0x202fde=_0x64618b;super[_0x202fde(0x23e)](),this[_0x202fde(0x224)][_0x202fde(0x343)](new Map()),this[_0x202fde(0x224)][_0x202fde(0x1af)](),this[_0x202fde(0x29c)][_0x202fde(0x343)]([]),this['_roomMembers$'][_0x202fde(0x1af)]();}[_0x64618b(0x1ee)](){const _0x1a6280=_0x64618b;this[_0x1a6280(0x2ab)]||(this[_0x1a6280(0x2ab)]=!0x0,this[_0x1a6280(0x14f)][_0x1a6280(0x2c8)][_0x1a6280(0x25e)](_0xf9f0d5(this[_0x1a6280(0x1a6)]))[_0x1a6280(0x1f0)](_0x18d3f2=>{const _0x30478d=_0x1a6280;_0x18d3f2===_0x3cc143[_0x30478d(0x236)]?this[_0x30478d(0x201)]():this[_0x30478d(0x15e)]();}),this['_session'][_0x1a6280(0x1ce)][_0x1a6280(0x25e)](_0xf9f0d5(this[_0x1a6280(0x1a6)]))[_0x1a6280(0x1f0)](_0x1be44e=>{const _0x3bddd6=_0x1a6280,_0x19412c=_0x1be44e['eventID'];_0x19412c===_0x110449['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1be44e),_0x19412c===_0x110449[_0x3bddd6(0x20a)]&&this[_0x3bddd6(0x31f)](_0x1be44e);}),this[_0x1a6280(0x237)](),this[_0x1a6280(0x241)](this[_0x1a6280(0x292)][_0x1a6280(0x2af)](_0x2415de=>{const _0x16681b=_0x1a6280;if(this[_0x16681b(0x2b2)]&&_0x2415de['id']===_0x3de7a1['id']&&_0x2415de[_0x16681b(0x2a5)][_0x16681b(0x248)]===this[_0x16681b(0x2ac)]){const _0x25911c=_0x2415de[_0x16681b(0x2a5)];this[_0x16681b(0x180)](_0x25911c[_0x16681b(0x14a)],_0x25911c[_0x16681b(0x279)][0x0]);}})));}[_0x64618b(0x29d)](_0x18e8b4){const _0x58c82b=_0x64618b;var _0x33966c,_0x4eb618;const {memberID:_0x39bed6,selection:_0x480435}=_0x18e8b4[_0x58c82b(0x305)],{sheetName:_0x11eadf,range:_0x4bdfcb}=_0x1eabee(_0x480435),_0x41c356={'name':(_0x4eb618=(_0x33966c=this[_0x58c82b(0x31b)][_0x58c82b(0x178)](this[_0x58c82b(0x2ac)],_0x39bed6))==null?void 0x0:_0x33966c[_0x58c82b(0x32f)])!=null?_0x4eb618:_0x58c82b(0x13f),'range':this['_getMergeRange'](_0x11eadf,_0x4bdfcb),'sheetID':_0x11eadf,'color':this[_0x58c82b(0x32e)][_0x58c82b(0x20f)](_0x39bed6),'selection':_0x480435},_0x5e1fc5=this[_0x58c82b(0x332)];_0x5e1fc5[_0x58c82b(0x21b)](_0x39bed6,_0x41c356),this[_0x58c82b(0x224)][_0x58c82b(0x343)](_0x5e1fc5);}[_0x64618b(0x31f)](_0x14e45d){const _0x3e4be3=_0x64618b,{memberID:_0x696e32}=_0x14e45d[_0x3e4be3(0x305)],_0x263029=this[_0x3e4be3(0x332)];_0x263029[_0x3e4be3(0x141)](_0x696e32),this['_cursorInfo$'][_0x3e4be3(0x343)](_0x263029);}['_getMergeRange'](_0x1ad5f0,_0x5158e8){const _0x1d4e2d=_0x64618b;var _0x104c4d,_0x11ffdb;const _0x5099ba=(_0x11ffdb=(_0x104c4d=this[_0x1d4e2d(0x262)][_0x1d4e2d(0x169)](this[_0x1d4e2d(0x2ac)]))==null?void 0x0:_0x104c4d[_0x1d4e2d(0x2eb)](_0x1ad5f0))==null?void 0x0:_0x11ffdb[_0x1d4e2d(0x1bb)]();return(_0x5099ba==null?void 0x0:_0x5099ba[_0x1d4e2d(0x2e6)](_0x4a572f=>_0x532fdd[_0x1d4e2d(0x1b9)](_0x4a572f,_0x5158e8)))||_0x5158e8;}[_0x64618b(0x237)](){const _0x2a9a6e=_0x64618b,_0x5bf700=new _0x5c707e(),_0x14e7fb=vi(),_0x2ac4b5=()=>{const _0x138e19=_0x5700;_0x5bf700[_0x138e19(0x23e)]();const _0x307e2f=(_0x199849,_0xc97030,_0x373d3d,_0x24e0e)=>{const _0x20f936=_0x138e19;let _0xa2d4c4=[];switch(_0x199849['id']){case _0x28222f['DeleteRangeMoveLeftCommandId']:{_0xa2d4c4=_0x5f1b70(_0x199849,_0x24e0e);break;}case _0x28222f['DeleteRangeMoveUpCommandId']:{_0xa2d4c4=_0x567827(_0x199849,_0x24e0e);break;}case _0x28222f[_0x20f936(0x273)]:{_0xa2d4c4=_0x24253b(_0x199849,_0x24e0e);break;}case _0x28222f['InsertRangeMoveDownCommandId']:{_0xa2d4c4=_0x12a9d4(_0x199849,_0x24e0e);break;}case _0x28222f[_0x20f936(0x1d8)]:{_0xa2d4c4=_0x59fa95(_0x199849,_0x24e0e);break;}case _0x28222f[_0x20f936(0x32b)]:{_0xa2d4c4=_0x560e2d(_0x199849,_0x24e0e);break;}case _0x28222f[_0x20f936(0x239)]:{_0xa2d4c4=_0x2495b1(_0x199849,_0x24e0e);break;}case _0x28222f[_0x20f936(0x1f5)]:{_0xa2d4c4=_0x218b2e(_0x199849,_0x24e0e);break;}case _0x28222f[_0x20f936(0x30b)]:{_0xa2d4c4=_0x38756b(_0x199849,_0x24e0e);break;}}const _0x1dc4ca=_0x460ac6(_0xa2d4c4,_0x24e0e),_0x4c037a=this[_0x20f936(0x332)][_0x20f936(0x23c)](_0xc97030);if(_0x4c037a&&_0x1dc4ca){const _0x1de6ec={..._0x4c037a,'range':_0x1dc4ca};this[_0x20f936(0x332)][_0x20f936(0x21b)](_0xc97030,_0x1de6ec),_0x14e7fb(()=>{const _0x5ecae1=_0x20f936,_0x4ad7bf=this['_refRangeService'][_0x5ecae1(0x1ec)](_0x1dc4ca,_0x10d71b=>(_0x4ad7bf[_0x5ecae1(0x23e)](),_0x307e2f(_0x10d71b,_0xc97030,_0x373d3d,_0x1dc4ca)));_0x5bf700[_0x5ecae1(0x29e)](_0x4ad7bf);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x138e19(0x25f)]((_0x5b849d,_0x18b877)=>{const _0x1b3248=_0x138e19,{range:_0x4408f9,sheetID:_0x3fefd7}=_0x5b849d,_0x28a978=this[_0x1b3248(0x2f7)][_0x1b3248(0x1ec)](_0x4408f9,_0xd1a069=>(_0x28a978[_0x1b3248(0x23e)](),_0x307e2f(_0xd1a069,_0x18b877,_0x3fefd7,_0x4408f9)));_0x5bf700[_0x1b3248(0x29e)](_0x28a978);});};this[_0x2a9a6e(0x241)](_0x467123(this[_0x2a9a6e(0x224)][_0x2a9a6e(0x1f0)](()=>{_0x2ac4b5();})));}[_0x64618b(0x201)](){const _0x190799=_0x64618b;var _0x44b802,_0xc05b65;if(this[_0x190799(0x2b2)]=!0x0,((_0x44b802=this['_univerInstanceService'][_0x190799(0x30e)]())==null?void 0x0:_0x44b802['getUnitId']())!==this[_0x190799(0x2ac)])return;const _0x17fccb=(_0xc05b65=this[_0x190799(0x30c)]['get'](_0x6612a2)[_0x190799(0x249)]())==null?void 0x0:_0xc05b65[0x0],_0x1aef57=this[_0x190799(0x262)]['getCurrentUnitForType'](_0x55218d['UNIVER_SHEET'])['getActiveSheet']();_0x17fccb&&_0x1aef57&&this[_0x190799(0x180)](_0x1aef57[_0x190799(0x149)](),_0x17fccb);}[_0x64618b(0x15e)](){const _0xfc6ea7=_0x64618b;this[_0xfc6ea7(0x2b2)]=!0x1;}};Me=mi([x(0x2,_0x5033cb(_0x5d0444)),x(0x3,_0x5033cb(ke)),x(0x4,_0x5033cb(_0x595aa4)),x(0x5,_0x56a9dd),x(0x6,_0x441fb8),x(0x7,_0x5033cb(_0x4c0591))],Me);var pi=Object[_0x64618b(0x1bc)],Ci=(_0x52e449,_0x35ca56,_0x7a47c,_0x2b4c51)=>{const _0x1cdf2a=_0x64618b;for(var _0x11d6ab=_0x2b4c51>0x1?void 0x0:_0x2b4c51?pi(_0x35ca56,_0x7a47c):_0x35ca56,_0x528bae=_0x52e449[_0x1cdf2a(0x148)]-0x1,_0x1ed6ca;_0x528bae>=0x0;_0x528bae--)(_0x1ed6ca=_0x52e449[_0x528bae])&&(_0x11d6ab=_0x1ed6ca(_0x11d6ab)||_0x11d6ab);return _0x11d6ab;},Se=(_0x2b2fbd,_0x24453c)=>(_0x509c46,_0x113e39)=>_0x24453c(_0x509c46,_0x113e39,_0x2b2fbd);let H=class extends _0x4ddff1{constructor(_0x3bcdb2,_0x5ba7e8,_0x519c09){const _0x246fd9=_0x64618b;super(),_(this,_0x246fd9(0x298),new Map()),_(this,_0x246fd9(0x16d),new _0x185d1b()),(this[_0x246fd9(0x262)]=_0x3bcdb2,this[_0x246fd9(0x30c)]=_0x5ba7e8,this[_0x246fd9(0x159)]=_0x519c09,this[_0x246fd9(0x2ab)]());}[_0x64618b(0x23e)](){const _0x4a6b4b=_0x64618b;super['dispose'](),this[_0x4a6b4b(0x16d)]['complete'](),this[_0x4a6b4b(0x298)][_0x4a6b4b(0x25f)](_0xf6df73=>_0xf6df73[_0x4a6b4b(0x23e)]());}[_0x64618b(0x2ee)](_0x8e80d5){const _0x587bfc=_0x64618b;return this[_0x587bfc(0x298)]['has'](_0x8e80d5)?this[_0x587bfc(0x298)][_0x587bfc(0x23c)](_0x8e80d5)[_0x587bfc(0x324)]:this[_0x587bfc(0x16d)][_0x587bfc(0x25e)](_0x14c0fe(_0x3fe797=>_0x3fe797[_0x587bfc(0x2ac)]===_0x8e80d5),_0x31eb21(_0x759b66=>_0x759b66[_0x587bfc(0x324)]));}[_0x64618b(0x2ab)](){const _0x1efa07=_0x64618b;this[_0x1efa07(0x262)][_0x1efa07(0x2fd)](_0x55218d[_0x1efa07(0x258)])[_0x1efa07(0x25e)](_0xf9f0d5(this['dispose$']))[_0x1efa07(0x1f0)](async _0x1eb064=>{const _0x15cfe7=_0x1efa07,_0x53728d=_0x1eb064[_0x15cfe7(0x333)](),_0xa51fa1=await this[_0x15cfe7(0x2b3)](_0x53728d);this[_0x15cfe7(0x16d)]['next'](_0xa51fa1),this[_0x15cfe7(0x298)][_0x15cfe7(0x21b)](_0x53728d,_0xa51fa1);}),this[_0x1efa07(0x262)][_0x1efa07(0x2fd)](_0x55218d[_0x1efa07(0x1d0)])['pipe'](_0xf9f0d5(this[_0x1efa07(0x1a6)]))['pipe'](_0x14c0fe(_0x1aa0d3=>!_0x1aa0d3['getUnitId']()['startsWith']('__')))[_0x1efa07(0x1f0)](async _0x2ad795=>{const _0xa829a4=_0x1efa07,_0x2c0b5c=_0x2ad795[_0xa829a4(0x333)](),_0x1b5bce=await this[_0xa829a4(0x2c9)](_0x2c0b5c);this[_0xa829a4(0x16d)][_0xa829a4(0x343)](_0x1b5bce),this[_0xa829a4(0x298)][_0xa829a4(0x21b)](_0x2c0b5c,_0x1b5bce);}),_0x264842(this[_0x1efa07(0x262)][_0x1efa07(0x21a)](_0x55218d[_0x1efa07(0x1d0)]),this[_0x1efa07(0x262)][_0x1efa07(0x21a)](_0x55218d[_0x1efa07(0x258)]))['pipe'](_0xf9f0d5(this[_0x1efa07(0x1a6)]))[_0x1efa07(0x1f0)](_0xff83f3=>{const _0x5504b9=_0x1efa07,_0x3d1597=_0xff83f3[_0x5504b9(0x333)](),_0x312fd5=this[_0x5504b9(0x298)][_0x5504b9(0x23c)](_0x3d1597);_0x312fd5&&(_0x312fd5[_0x5504b9(0x23e)](),this[_0x5504b9(0x298)][_0x5504b9(0x141)](_0x3d1597));});}async['_startSheetCollabCursor'](_0x46343a){const _0x39f870=_0x64618b,_0x32ffd7=await this[_0x39f870(0x159)][_0x39f870(0x179)](_0x46343a),_0x2f148f=this[_0x39f870(0x30c)]['createInstance'](Me,_0x46343a,_0x32ffd7);return _0x2f148f['init'](),_0x2f148f;}async['_startDocCollabCursor'](_0x566d30){const _0x3c6e42=_0x64618b,_0x169301=await this['_collabSessionService'][_0x3c6e42(0x179)](_0x566d30),_0x2be9ce=this[_0x3c6e42(0x30c)][_0x3c6e42(0x21c)](Ue,_0x566d30,_0x169301);return _0x2be9ce[_0x3c6e42(0x1ee)](),_0x2be9ce;}};H=Ci([Se(0x0,_0x56a9dd),Se(0x1,_0x5033cb(_0x5d0444)),Se(0x2,_0x5033cb(_0x2959b5))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x356145,_0xc0d7e3){const _0x4a4344=_0x64618b;let {radius:_0x360afa,width:_0x3c45b8,height:_0x36f5aa}=_0xc0d7e3;_0x360afa=_0x360afa!=null?_0x360afa:0x0,_0x3c45b8=_0x3c45b8!=null?_0x3c45b8:0x1e,_0x36f5aa=_0x36f5aa!=null?_0x36f5aa:0x1e;let _0x23c0cb=0x0,_0x4df758=0x0,_0x16c34d=0x0;_0x23c0cb=_0x4df758=_0x16c34d=Math[_0x4a4344(0x328)](_0x360afa,_0x3c45b8/0x2,_0x36f5aa/0x2),_0x356145[_0x4a4344(0x2ba)](),_0x356145[_0x4a4344(0x268)](_0x23c0cb,0x0),_0x356145[_0x4a4344(0x230)](_0x3c45b8-_0x4df758,0x0),_0x356145[_0x4a4344(0x304)](_0x3c45b8-_0x4df758,_0x4df758,_0x4df758,Math['PI']*0x3/0x2,0x0,!0x1),_0x356145['lineTo'](_0x3c45b8,_0x36f5aa-_0x16c34d),_0x356145[_0x4a4344(0x304)](_0x3c45b8-_0x16c34d,_0x36f5aa-_0x16c34d,_0x16c34d,0x0,Math['PI']/0x2,!0x1),_0x356145[_0x4a4344(0x230)](0x0,_0x36f5aa),_0x356145[_0x4a4344(0x230)](0x0,_0x23c0cb),_0x356145['arc'](_0x23c0cb,_0x23c0cb,_0x23c0cb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x356145[_0x4a4344(0x2be)](),_0xc0d7e3[_0x4a4344(0x1cb)]&&(_0x356145[_0x4a4344(0x24a)](),_0x356145[_0x4a4344(0x240)]=_0xc0d7e3[_0x4a4344(0x1cb)],_0xc0d7e3['fillRule']===_0x4a4344(0x23b)?_0x356145[_0x4a4344(0x1cb)](_0x4a4344(0x23b)):_0x356145[_0x4a4344(0x1cb)](),_0x356145[_0x4a4344(0x198)]());}class he extends _0x2f321f{constructor(_0x373d23,_0x47bbd0){const _0x36e769=_0x64618b;super(_0x373d23,_0x47bbd0),_(this,'color'),_(this,'text'),(this[_0x36e769(0x27d)]=_0x47bbd0==null?void 0x0:_0x47bbd0[_0x36e769(0x27d)],this[_0x36e769(0x2c4)]=_0x47bbd0==null?void 0x0:_0x47bbd0[_0x36e769(0x2c4)]);}static[_0x64618b(0x15b)](_0x55dad9,_0x2354c6){const _0x2c9493=_0x64618b,{text:_0x55b0c6,color:_0x4fdb99}=_0x2354c6;_0x55dad9[_0x2c9493(0x24a)](),_0x55dad9[_0x2c9493(0x1e6)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2642f6=_0x55dad9[_0x2c9493(0x1d2)](_0x55b0c6)[_0x2c9493(0x182)],_0x23d5fe=Math['min'](_0x2642f6+0x2*me,Qe);Oi(_0x55dad9,{'height':ee,'radius':0x4,'width':_0x23d5fe,'fill':_0x4fdb99}),_0x55dad9[_0x2c9493(0x240)]=_0x2c9493(0x2f2);const _0x10a315=me,_0x240be0=ee-Ei,_0x3758e1=Qe-0x2*me;if(_0x2642f6>_0x3758e1){let _0x317c6f='',_0xbdd93f=0x0;for(const _0x3d7bd4 of _0x55b0c6){const _0x518a71=_0x55dad9['measureText'](_0x3d7bd4)[_0x2c9493(0x182)];if(_0xbdd93f+_0x518a71<=_0x3758e1-_0x55dad9[_0x2c9493(0x1d2)](_0x2c9493(0x25b))['width'])_0x317c6f+=_0x3d7bd4,_0xbdd93f+=_0x518a71;else{_0x317c6f+=_0x2c9493(0x25b);break;}}_0x55dad9[_0x2c9493(0x256)](_0x317c6f,_0x10a315,_0x240be0);}else _0x55dad9[_0x2c9493(0x256)](_0x55b0c6,_0x10a315,_0x240be0);_0x55dad9[_0x2c9493(0x198)]();}[_0x64618b(0x307)](_0x3ca234){const _0x34038a=_0x64618b;he[_0x34038a(0x15b)](_0x3ca234,this);}}const Ie='collab-text-anchor-',bi='collab-text-range-',Ti=_0x64618b(0x1a4),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x64618b(0x313);class qe{constructor(_0x470133,_0x293f06,_0x5c9687,_0x24c14d){const _0x4b01d6=_0x64618b;_(this,'_shapes',[]),_(this,_0x4b01d6(0x190),null),_(this,_0x4b01d6(0x211),null),_(this,_0x4b01d6(0x2a4),null),_(this,_0x4b01d6(0x1d5),null),_(this,_0x4b01d6(0x2d6),null),(this[_0x4b01d6(0x1e7)]=_0x470133,this[_0x4b01d6(0x144)]=_0x293f06,this[_0x4b01d6(0x30a)]=_0x5c9687,this[_0x4b01d6(0x215)]=_0x24c14d,this[_0x4b01d6(0x1b4)]());}set[_0x64618b(0x1e3)](_0x46f520){const _0x2c1870=_0x64618b;_0x46f520?(this[_0x2c1870(0x2a4)]&&this[_0x2c1870(0x2a4)][_0x2c1870(0x151)](),this[_0x2c1870(0x211)]&&this['_textBubble'][_0x2c1870(0x33f)]()):(this[_0x2c1870(0x2a4)]&&this['_anchorDot']['show'](),this['_textBubble']&&this[_0x2c1870(0x211)]['hide']());}['dispose'](){const _0x32cd9b=_0x64618b;for(const _0x4f6aa3 of this[_0x32cd9b(0x2c3)])_0x4f6aa3[_0x32cd9b(0x23e)]();this[_0x32cd9b(0x211)]&&this[_0x32cd9b(0x211)]['dispose'](),this[_0x32cd9b(0x2a4)]&&this[_0x32cd9b(0x2a4)][_0x32cd9b(0x23e)](),this[_0x32cd9b(0x190)]&&this['_anchor'][_0x32cd9b(0x23e)](),this[_0x32cd9b(0x2d6)]&&this[_0x32cd9b(0x2d6)]();}['_render'](){const _0x4709e4=_0x64618b;var _0x1b9809;const {_docSkeleton:_0xe5c5a8,_document:_0x4ab809}=this,{color:_0x585500,name:_0x3ba98f,ranges:_0x516dae}=this[_0x4709e4(0x1e7)],_0x296d4d=_0x4ab809[_0x4709e4(0x25d)](),{docsLeft:_0x12503b,docsTop:_0x16408a}=_0x296d4d,_0x3be63c=new _0xb1b446(_0x296d4d,_0xe5c5a8);for(const {startOffset:_0x35c810,endOffset:_0x1bcc98,rangeType:_0xc9376e,segmentId:_0x55ebc5,segmentPage:_0x3a584e,collapsed:_0x504a3f,isActive:_0xa59bf5}of _0x516dae){const _0x26033f=_0xe5c5a8[_0x4709e4(0x1eb)](_0x35c810,!0x0,_0x55ebc5,_0x3a584e);let _0x14450b=_0xe5c5a8['findNodePositionByCharIndex'](_0x1bcc98,!0x0,_0x55ebc5,_0x3a584e);if(_0x14450b==null&&(_0x14450b=_0xe5c5a8[_0x4709e4(0x1eb)](_0x1bcc98-0x1,!0x1,_0x55ebc5,_0x3a584e)),_0xa59bf5){const {contentBoxPointGroup:_0x3c72dd}=_0x3be63c[_0x4709e4(0x156)](_0x14450b,_0x14450b);if(_0x3c72dd[_0x4709e4(0x148)]===0x0)continue;this[_0x4709e4(0x322)](_0x585500,_0x3c72dd,_0x12503b,_0x16408a,_0x3ba98f),this[_0x4709e4(0x2d6)]=this[_0x4709e4(0x245)]();}if(_0x26033f&&_0x14450b){if(_0xc9376e===_0xe48f47['RECT']){const _0x165fb6=new _0x36f802(_0x296d4d,_0xe5c5a8),{pointGroup:_0x141abc}=(_0x1b9809=_0x165fb6[_0x4709e4(0x156)](_0x26033f,_0x14450b))!=null?_0x1b9809:{};if(_0x141abc==null||_0x141abc[_0x4709e4(0x148)]===0x0)continue;this[_0x4709e4(0x1c6)](_0x585500,_0x141abc,_0x12503b,_0x16408a);}else{if(!_0x504a3f){const {borderBoxPointGroup:_0x58e8fb}=_0x3be63c[_0x4709e4(0x156)](_0x26033f,_0x14450b);if(_0x58e8fb['length']===0x0)continue;this[_0x4709e4(0x223)](_0x585500,_0x58e8fb,_0x12503b,_0x16408a);}}}}}['_drawAnchor'](_0x547984,_0x2b7836,_0x390f8e,_0x14294c,_0x1b3a51){const _0x310925=_0x64618b,_0x474aef=this[_0x310925(0x32c)](_0x2b7836),{left:_0x5cf7a9,top:_0x29357c,height:_0x1d4177}=_0x474aef,_0x5b72cb=this[_0x310925(0x31a)](),_0xd324fd=Di/_0x5b72cb,_0x3edb96=new _0x44fdaf(Ie+_0x521fe2[_0x310925(0x2e0)](X),{'left':_0x5cf7a9+_0x390f8e-_0xd324fd,'top':_0x29357c+_0x14294c,'height':_0x1d4177,'width':Ri,'fill':_0x547984||_0x2d3e0b(_0x13d148[_0x310925(0x306)],0x0),'strokeWidth':_0xd324fd,'stroke':Ni,'evented':!0x0});this[_0x310925(0x190)]=_0x3edb96,this[_0x310925(0x144)][_0x310925(0x1b3)](_0x3edb96,_0x54b383);const _0x332a97=new _0x44fdaf(Ie+_0x521fe2[_0x310925(0x2e0)](X),{'left':_0x5cf7a9+_0x390f8e-_0xd324fd,'top':_0x29357c+_0x14294c-ge/0x2,'height':ge,'width':ge,'fill':_0x547984||_0x2d3e0b(_0x13d148[_0x310925(0x306)],0x0),'strokeWidth':0x0,'stroke':_0x547984||_0x2d3e0b(_0x13d148['black'],0x0),'evented':!0x1});this[_0x310925(0x2a4)]=_0x332a97,this['_scene'][_0x310925(0x1b3)](_0x332a97,_0x54b383);const _0x44c56f=new he(Ie+_0x521fe2['generateRandomId'](X),{'left':_0x5cf7a9+_0x390f8e-_0xd324fd,'top':_0x29357c+_0x14294c-ee,'text':_0x1b3a51,'color':_0x547984});this[_0x310925(0x211)]=_0x44c56f,this['_scene'][_0x310925(0x1b3)](_0x44c56f,_0x54b383),this['_hover']=!0x1;}[_0x64618b(0x245)](){const _0x3c409b=_0x64618b,_0x34dd23=this['_anchor']['onPointerEnter$'][_0x3c409b(0x2a3)](()=>{const _0xdee308=_0x3c409b;this[_0xdee308(0x1e3)]=!0x0;}),_0x1fc518=this['_anchor']['onPointerLeave$'][_0x3c409b(0x2a3)](()=>{const _0x5066e6=_0x3c409b;this[_0x5066e6(0x1d5)]&&clearTimeout(this[_0x5066e6(0x1d5)]),this[_0x5066e6(0x1d5)]=setTimeout(()=>{const _0x259ad3=_0x5066e6;this[_0x259ad3(0x1e3)]=!0x1;},0x7d0);});return()=>{const _0xfe0596=_0x3c409b;_0x34dd23[_0xfe0596(0x228)](),_0x1fc518['unsubscribe']();};}[_0x64618b(0x223)](_0xf4e8f1,_0x587295,_0x933e09,_0x1d2648){const _0x5b906c=_0x64618b,_0x55f4b9=new _0x47caa8(_0xf4e8f1)[_0x5b906c(0x1d3)](0.2)[_0x5b906c(0x186)](),_0x255cd2=new _0x40cb0f(bi+_0x521fe2[_0x5b906c(0x2e0)](X),{'pointsGroup':_0x587295,'fill':_0x55f4b9||_0x2d3e0b(_0x13d148[_0x5b906c(0x306)],0.2),'left':_0x933e09,'top':_0x1d2648,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b906c(0x2c3)][_0x5b906c(0x25a)](_0x255cd2),this[_0x5b906c(0x144)][_0x5b906c(0x1b3)](_0x255cd2,_0x54b383);}[_0x64618b(0x1c6)](_0x5e3444,_0x175c2a,_0x47bd61,_0x33cbb9){const _0xd43050=_0x64618b,_0x4146c6=new _0x47caa8(_0x5e3444)['setAlpha'](0.2)['toRgbString'](),_0x2ebf10=new _0x40cb0f(Ti+_0x521fe2[_0xd43050(0x2e0)](X),{'pointsGroup':_0x175c2a,'fill':_0x4146c6||_0x2d3e0b(_0x13d148[_0xd43050(0x306)],0.2),'left':_0x47bd61,'top':_0x33cbb9,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x2ebf10),this['_scene'][_0xd43050(0x1b3)](_0x2ebf10,_0x54b383);}[_0x64618b(0x32c)](_0x4317d2){const _0x4196f3=_0x4317d2[0x0],_0x9ffc91=_0x4196f3[0x0],_0x695a1=_0x4196f3[0x2],{x:_0x30f421,y:_0xf80c22}=_0x9ffc91,{x:_0x57bef9,y:_0x192199}=_0x695a1;return{'left':_0x30f421,'top':_0xf80c22,'width':_0x57bef9-_0x30f421,'height':_0x192199-_0xf80c22};}[_0x64618b(0x31a)](){const _0x3cc4e7=_0x64618b,{scaleX:_0x81a975,scaleY:_0x3def02}=this['_scene'][_0x3cc4e7(0x280)]();return Math[_0x3cc4e7(0x1a7)](_0x81a975,_0x3def02);}}var Ui=Object[_0x64618b(0x1bc)],Mi=(_0x4aeffc,_0x53d484,_0x41ff0d,_0xc66fb8)=>{const _0x3a06bd=_0x64618b;for(var _0x465464=_0xc66fb8>0x1?void 0x0:_0xc66fb8?Ui(_0x53d484,_0x41ff0d):_0x53d484,_0x2d495b=_0x4aeffc[_0x3a06bd(0x148)]-0x1,_0x23af48;_0x2d495b>=0x0;_0x2d495b--)(_0x23af48=_0x4aeffc[_0x2d495b])&&(_0x465464=_0x23af48(_0x465464)||_0x465464);return _0x465464;},Z=(_0x53e57a,_0x30313e)=>(_0x5b41aa,_0x37ea0e)=>_0x30313e(_0x5b41aa,_0x37ea0e,_0x53e57a);let we=class extends _0x4ddff1{constructor(_0x26f9aa,_0x15b7b4,_0x2e1996,_0x352607,_0x373f89){const _0x5534c6=_0x64618b;super(),_(this,_0x5534c6(0x18d),[]),_(this,_0x5534c6(0x1a0),[]),(this['_context']=_0x26f9aa,this[_0x5534c6(0x226)]=_0x15b7b4,this[_0x5534c6(0x20e)]=_0x2e1996,this[_0x5534c6(0x292)]=_0x352607,this[_0x5534c6(0x1f2)]=_0x373f89,this[_0x5534c6(0x2ab)]());}[_0x64618b(0x2ab)](){const _0x491655=_0x64618b,_0x37056d=this['_context']['unitId'],_0x406614=this[_0x491655(0x226)];this[_0x491655(0x241)](_0x47b847([this[_0x491655(0x20e)]['getCollabCursors$'](_0x37056d),this[_0x491655(0x1f2)][_0x491655(0x175)]])[_0x491655(0x25e)](_0x18694b(([_0x161436,_0x407df9])=>({'skeleton':_0x406614['getSkeleton'](),'cursors':[..._0x161436[_0x491655(0x206)]()]['flatMap'](_0x6243f7=>({..._0x6243f7,'color':this[_0x491655(0x1f2)][_0x491655(0x162)](_0x6243f7['color'])}))})))[_0x491655(0x1f0)](_0x458d24=>{const _0x16ae9d=_0x491655;if(this[_0x16ae9d(0x197)](),_0x458d24){const {skeleton:_0x1933da,cursors:_0x24c678}=_0x458d24;this[_0x16ae9d(0x29b)](_0x1933da,_0x24c678);}})),this[_0x491655(0x31c)](),this[_0x491655(0x16e)]();}[_0x64618b(0x29b)](_0x46da34,_0x36cefb){const _0x223d82=_0x64618b,{scene:_0x1bbdac,mainComponent:_0xece434}=this[_0x223d82(0x1be)],_0x13dfdc=_0x36cefb[_0x223d82(0x31d)](_0x7f8475=>new qe(_0x7f8475,_0x1bbdac,_0x46da34,_0xece434));this[_0x223d82(0x18d)]=_0x13dfdc,this[_0x223d82(0x1a0)]=_0x36cefb;}[_0x64618b(0x1b8)](){const _0x15b8e9=_0x64618b;this[_0x15b8e9(0x197)]();const {scene:_0x4104a8,mainComponent:_0x40666a}=this[_0x15b8e9(0x1be)],_0x3bd3fc=this['_docSkeletonManagerService']['getSkeleton'](),_0xad6f49=this[_0x15b8e9(0x1a0)][_0x15b8e9(0x31d)](_0x723142=>new qe(_0x723142,_0x4104a8,_0x3bd3fc,_0x40666a));this[_0x15b8e9(0x18d)]=_0xad6f49;}[_0x64618b(0x197)](){const _0x7ef301=_0x64618b;this[_0x7ef301(0x18d)][_0x7ef301(0x25f)](_0x18e214=>_0x18e214[_0x7ef301(0x23e)]()),this[_0x7ef301(0x18d)]=[];}[_0x64618b(0x16e)](){const _0x293108=_0x64618b,_0x4e6e53=[_0x12c153['id']];this[_0x293108(0x241)](this[_0x293108(0x292)][_0x293108(0x2af)](_0x29a6f4=>{const _0xdedadc=_0x293108;_0x4e6e53[_0xdedadc(0x288)](_0x29a6f4['id'])&&_0x29a6f4['params'][_0xdedadc(0x248)]===this[_0xdedadc(0x1be)][_0xdedadc(0x248)]&&this['_refreshCollabCursors']();}));}[_0x64618b(0x31c)](){const _0x4aa34e=_0x64618b;this[_0x4aa34e(0x241)](_0x4ca10b(this[_0x4aa34e(0x1be)][_0x4aa34e(0x22b)][_0x4aa34e(0x1ae)])[_0x4aa34e(0x25e)](_0x12b8db(_0x16f27a=>_0x16f27a[_0x4aa34e(0x243)]===_0x191eae['resize']),_0x40c540(0x10))[_0x4aa34e(0x1f0)](()=>{const _0x4192e2=_0x4aa34e;this[_0x4192e2(0x1b8)]();}));}};we=Mi([Z(0x1,_0x5033cb(_0x30cf23)),Z(0x2,_0x5033cb(H)),Z(0x3,_0x441fb8),Z(0x4,_0x5033cb(_0x3cc326))],we);const wi=0x1,Pi=1.5;class Li extends _0x2f321f{constructor(_0x1c5caf,_0x26650a){const _0x34b765=_0x64618b;super(_0x1c5caf,_0x26650a),_(this,'_color'),_(this,_0x34b765(0x213),!0x1),_(this,_0x34b765(0x1df)),_(this,_0x34b765(0x155),''),_(this,_0x34b765(0x1b7),_0x34b765(0x210)),_(this,'_backgroundColor'),(_0x26650a&&this[_0x34b765(0x274)](_0x26650a),this[_0x34b765(0x1c0)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x34b765(0x1dc)]['subscribeEvent'](()=>this[_0x34b765(0x274)]({'hovered':!0x1})));}[_0x64618b(0x274)](_0xff3e57){const _0x4a49eb=_0x64618b;var _0x302283,_0x12d766,_0x4c4a7d,_0x3bfe76,_0x1b26da,_0x6cf0ac;this[_0x4a49eb(0x19a)]=(_0x302283=_0xff3e57[_0x4a49eb(0x27d)])!=null?_0x302283:this[_0x4a49eb(0x19a)],this[_0x4a49eb(0x213)]=(_0x12d766=_0xff3e57[_0x4a49eb(0x218)])!=null?_0x12d766:this[_0x4a49eb(0x213)],this['_range']=(_0x4c4a7d=_0xff3e57['range'])!=null?_0x4c4a7d:this[_0x4a49eb(0x1df)],this[_0x4a49eb(0x155)]=(_0x3bfe76=_0xff3e57['name'])!=null?_0x3bfe76:this[_0x4a49eb(0x155)],this[_0x4a49eb(0x1b7)]=(_0x1b26da=_0xff3e57[_0x4a49eb(0x26a)])!=null?_0x1b26da:this['_labelPosition'],this[_0x4a49eb(0x26c)]=(_0x6cf0ac=_0xff3e57[_0x4a49eb(0x2e4)])!=null?_0x6cf0ac:this[_0x4a49eb(0x26c)],this[_0x4a49eb(0x286)]({'width':_0xff3e57['width'],'height':_0xff3e57[_0x4a49eb(0x22f)]});}[_0x64618b(0x1bf)](_0x43adf8){const _0x10a887=_0x64618b,{row:_0x473c30,column:_0x3ac873}=_0x43adf8;if(_0x473c30>=this[_0x10a887(0x1df)][_0x10a887(0x1cf)]&&_0x473c30<=this[_0x10a887(0x1df)]['endRow']&&_0x3ac873>=this[_0x10a887(0x1df)][_0x10a887(0x191)]&&_0x3ac873<=this['_range'][_0x10a887(0x320)]){this[_0x10a887(0x274)]({'hovered':!0x0});return;}this[_0x10a887(0x274)]({'hovered':!0x1});}['triggerDblclick'](_0x147bdc){return!0x1;}[_0x64618b(0x307)](_0xc4374a){const _0x55e622=_0x64618b;_0x44fdaf[_0x55e622(0x15b)](_0xc4374a,{'width':this['width'],'height':this[_0x55e622(0x22f)],'strokeWidth':Pi,'stroke':this[_0x55e622(0x19a)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x55e622(0x213)]&&(_0xc4374a[_0x55e622(0x24a)](),_0xc4374a['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x55e622(0x1b7)]===_0x55e622(0x244)?0x0:-0x14),he[_0x55e622(0x15b)](_0xc4374a,{'text':this[_0x55e622(0x155)],'color':this['_color']}),_0xc4374a['restore']());}}var Ai=Object[_0x64618b(0x1bc)],yi=(_0x40fde8,_0x4ca5fa,_0x3576ec,_0x5dda49)=>{for(var _0x3a17fd=_0x5dda49>0x1?void 0x0:_0x5dda49?Ai(_0x4ca5fa,_0x3576ec):_0x4ca5fa,_0x465d09=_0x40fde8['length']-0x1,_0x247df0;_0x465d09>=0x0;_0x465d09--)(_0x247df0=_0x40fde8[_0x465d09])&&(_0x3a17fd=_0x247df0(_0x3a17fd)||_0x3a17fd);return _0x3a17fd;},ve=(_0x3fd1b0,_0x3e5aad)=>(_0x1e163b,_0x51402a)=>_0x3e5aad(_0x1e163b,_0x51402a,_0x3fd1b0);const $i=0x1389;let Pe=class extends _0x4ddff1{constructor(_0x5c9659,_0x3021d8,_0x4f940d,_0x2a6784){const _0x148c16=_0x64618b;super(),_(this,_0x148c16(0x1a0),new Set()),_(this,_0x148c16(0x1f7),null),(this[_0x148c16(0x1be)]=_0x5c9659,this[_0x148c16(0x28a)]=_0x3021d8,this[_0x148c16(0x20e)]=_0x4f940d,this['_themeService']=_0x2a6784,this['_init']());}[_0x64618b(0x2ab)](){const _0x269367=_0x64618b;this['_sheetSkeletonManagerService'][_0x269367(0x1e9)]['pipe'](_0x223637(this[_0x269367(0x1a6)]),_0x2ff73a(_0x41a9d2=>{const _0x403767=_0x269367;if(_0x41a9d2){const _0xf41b77=_0x41a9d2[_0x403767(0x1f6)];return _0x47b847(this[_0x403767(0x20e)][_0x403767(0x2ee)](this[_0x403767(0x1be)][_0x403767(0x248)]),this[_0x403767(0x1f2)]['currentTheme$'])['pipe'](_0x18694b(([_0x396f4d,_0x18a31f])=>{const _0x2862a9=new Map();return _0x396f4d['forEach']((_0x2bf4fe,_0x498da5)=>{const _0x5e5005=_0x5700;if(_0x2bf4fe['sheetID']===_0xf41b77){const _0x530714={..._0x2bf4fe};_0x530714['color']=this['_themeService'][_0x5e5005(0x162)](_0x2bf4fe[_0x5e5005(0x27d)]),_0x2862a9[_0x5e5005(0x21b)](_0x498da5,_0x530714);}}),{'skeleton':_0x41a9d2,'cursors':_0x2862a9};}));}return _0x221268({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x35cbca,cursors:_0x25b69d})=>{const _0x4d991a=_0x269367;this[_0x4d991a(0x197)](),_0x35cbca&&this['_updateCollabCursors'](_0x35cbca,_0x25b69d);}),this[_0x269367(0x28a)][_0x269367(0x1e9)][_0x269367(0x1f0)](_0xf16b59=>{const _0x2dc202=_0x269367;if(_0xf16b59==null)return;const {skeleton:_0x4cc33c}=_0xf16b59,{scene:_0x359f87}=this[_0x2dc202(0x1be)];_0x359f87[_0x2dc202(0x167)]['subscribeEvent'](_0x528585(_0x5acfda=>{const _0x26da43=_0x2dc202;var _0x25bbe3,_0x45c549;const {offsetX:_0xb8ae17,offsetY:_0x36c359}=_0x5acfda,{x:_0x54d33c,y:_0x2bfb15}=_0x359f87[_0x26da43(0x188)](_0x2da506[_0x26da43(0x2a7)]([_0xb8ae17,_0x36c359])),{scaleX:_0x12073e,scaleY:_0x12a6ee}=_0x359f87[_0x26da43(0x280)](),_0x3cc467=_0x359f87['getViewport'](_0x4547f8[_0x26da43(0x202)]),_0x51d2b9=_0x359f87[_0x26da43(0x18b)](_0x2da506[_0x26da43(0x2a7)]([_0x54d33c,_0x2bfb15]),_0x3cc467),_0x4cd151=_0x4cc33c[_0x26da43(0x19b)](_0xb8ae17,_0x36c359,_0x12073e,_0x12a6ee,_0x51d2b9);((_0x25bbe3=this[_0x26da43(0x1f7)])==null?void 0x0:_0x25bbe3[_0x26da43(0x2bc)])===_0x4cd151['column']&&((_0x45c549=this[_0x26da43(0x1f7)])==null?void 0x0:_0x45c549[_0x26da43(0x222)])===_0x4cd151[_0x26da43(0x222)]||this[_0x26da43(0x1a0)][_0x26da43(0x25f)](_0x285bff=>{const _0x48f20b=_0x26da43;_0x285bff[_0x48f20b(0x1bf)](_0x4cd151);});},0x64));});}[_0x64618b(0x29b)](_0x14f1f5,_0x29dfc5){const _0x25ec1d=_0x64618b;var _0x4a8811;const _0x3a7b88=(_0x4a8811=this[_0x25ec1d(0x28a)][_0x25ec1d(0x33c)]())==null?void 0x0:_0x4a8811[_0x25ec1d(0x227)];if(!_0x3a7b88)return;const _0x51c956=this[_0x25ec1d(0x194)]();if(!_0x51c956)return;this[_0x25ec1d(0x1a0)][_0x25ec1d(0x25f)](_0x94392=>{const _0x34f90b=_0x25ec1d;_0x94392[_0x34f90b(0x340)]();});const {scene:_0xbd520b}=_0x51c956,_0x1a9e23=xi(Array['from'](_0x29dfc5[_0x25ec1d(0x206)]()))['map'](_0x111f60=>{const {color:_0x394662,range:_0x593cfa,name:_0x2958bd,selection:_0x234655,sheetID:_0x677e8d}=_0x111f60,{startColumn:_0x21bb50,startRow:_0x3e7489,endColumn:_0x544d03,endRow:_0x115412}=_0x593cfa,_0x3438d2=_0x1d907c(_0x3e7489,_0x21bb50,_0xbd520b,_0x3a7b88),_0x43386d=_0x1d907c(_0x115412,_0x544d03,_0xbd520b,_0x3a7b88),{columnHeaderHeightAndMarginTop:_0xd0da57}=_0x3a7b88,{startX:_0x335a1e,startY:_0x1bc663}=_0x3438d2,{endX:_0x1d9d85,endY:_0x3ab24f}=_0x43386d,_0x5a987b=_0x1d9d85-_0x335a1e,_0x2bd37c=_0x3ab24f-_0x1bc663,_0x1a7b77={'labelPosition':_0x1bc663-_0xd0da57>=ee?'top':'bottom','sheetID':_0x677e8d,'range':_0x593cfa,'color':_0x394662,'name':_0x2958bd,'selection':_0x234655,'left':_0x335a1e,'top':_0x1bc663,'width':_0x5a987b,'height':_0x2bd37c,'evented':!0x1,'zIndex':$i};return new Li(_0x2958bd,_0x1a7b77);});_0xbd520b[_0x25ec1d(0x200)](_0x1a9e23,wi),this[_0x25ec1d(0x1a0)]=new Set(_0x1a9e23);}[_0x64618b(0x197)](){const _0x5e64fe=_0x64618b;var _0x6678b0;(_0x6678b0=this[_0x5e64fe(0x1a0)])==null||_0x6678b0['forEach'](_0x2fab7d=>_0x2fab7d[_0x5e64fe(0x23e)]());}['_getSheetObject'](){const _0x4b9922=_0x64618b;return _0x495b33(this[_0x4b9922(0x1be)][_0x4b9922(0x22d)],this[_0x4b9922(0x1be)]);}};Pe=yi([ve(0x1,_0x5033cb(_0x31d5fb)),ve(0x2,_0x5033cb(H)),ve(0x3,_0x5033cb(_0x3cc326))],Pe);function xi(_0x140d9b){const _0x5cff5e=_0x64618b,_0x22ab0c=new Map();return _0x140d9b[_0x5cff5e(0x25f)](_0x90bc64=>{const _0x5989ee=_0x5cff5e;if(_0x22ab0c['has'](_0x90bc64[_0x5989ee(0x2ad)])){const _0x57ab94=_0x22ab0c[_0x5989ee(0x23c)](_0x90bc64['selection']);_0x57ab94['name']+=',\x20'+_0x90bc64['name'];}else _0x22ab0c[_0x5989ee(0x21b)](_0x90bc64[_0x5989ee(0x2ad)],_0x90bc64);}),Array[_0x5cff5e(0x208)](_0x22ab0c[_0x5cff5e(0x206)]());}var v=function(){const _0x2194f4=_0x64618b;return v=Object['assign']||function(_0x53b35f){const _0x22e690=_0x5700;for(var _0x278579,_0x4a54a0=0x1,_0x420489=arguments[_0x22e690(0x148)];_0x4a54a0<_0x420489;_0x4a54a0++){_0x278579=arguments[_0x4a54a0];for(var _0x14bd2f in _0x278579)Object[_0x22e690(0x2ef)]['hasOwnProperty'][_0x22e690(0x290)](_0x278579,_0x14bd2f)&&(_0x53b35f[_0x14bd2f]=_0x278579[_0x14bd2f]);}return _0x53b35f;},v[_0x2194f4(0x220)](this,arguments);},Bi=function(_0x288e62,_0x5f338a){const _0x52be97=_0x64618b;var _0x56080a={};for(var _0x3e2e4e in _0x288e62)Object[_0x52be97(0x2ef)][_0x52be97(0x21e)][_0x52be97(0x290)](_0x288e62,_0x3e2e4e)&&_0x5f338a['indexOf'](_0x3e2e4e)<0x0&&(_0x56080a[_0x3e2e4e]=_0x288e62[_0x3e2e4e]);if(_0x288e62!=null&&typeof Object[_0x52be97(0x2fc)]==_0x52be97(0x15d)){for(var _0x3af277=0x0,_0x3e2e4e=Object['getOwnPropertySymbols'](_0x288e62);_0x3af277<_0x3e2e4e[_0x52be97(0x148)];_0x3af277++)_0x5f338a[_0x52be97(0x2f1)](_0x3e2e4e[_0x3af277])<0x0&&Object[_0x52be97(0x2ef)][_0x52be97(0x1e1)]['call'](_0x288e62,_0x3e2e4e[_0x3af277])&&(_0x56080a[_0x3e2e4e[_0x3af277]]=_0x288e62[_0x3e2e4e[_0x3af277]]);}return _0x56080a;},je=_0x36b6f5(function(_0x1d5ef9,_0x570207){const _0x5bc613=_0x64618b;var _0x50fbec=_0x1d5ef9[_0x5bc613(0x28c)],_0x398291=_0x1d5ef9['id'],_0x3e3cc2=_0x1d5ef9[_0x5bc613(0x23f)],_0xf504ff=_0x1d5ef9[_0x5bc613(0x164)],_0x1228e6=Bi(_0x1d5ef9,[_0x5bc613(0x28c),'id',_0x5bc613(0x23f),_0x5bc613(0x164)]),_0xbbf92f=_0x5bc613(0x1fb)['concat'](_0x398291,'\x20')[_0x5bc613(0x295)](_0x3e3cc2||'')[_0x5bc613(0x2a2)](),_0x1e8aa8=_0x3bf52a('_'['concat'](ji()));return Rt(_0x50fbec,''[_0x5bc613(0x295)](_0x398291),{'defIds':_0x50fbec[_0x5bc613(0x294)],'idSuffix':_0x1e8aa8['current']},v({'ref':_0x570207,'className':_0xbbf92f},_0x1228e6),_0xf504ff);});function Rt(_0x4394d6,_0x2338a8,_0xa52ac2,_0x5ef112,_0x59484a){const _0x4c0154=_0x64618b;return _0x4d5013(_0x4394d6[_0x4c0154(0x17a)],v(v({'key':_0x2338a8},ki(_0x4394d6,_0xa52ac2,_0x59484a)),_0x5ef112),(Hi(_0x4394d6,_0xa52ac2)['children']||[])[_0x4c0154(0x31d)](function(_0x2d4e14,_0x431943){const _0x19fbd3=_0x4c0154;return Rt(_0x2d4e14,''[_0x19fbd3(0x295)](_0x2338a8,'-')[_0x19fbd3(0x295)](_0x4394d6[_0x19fbd3(0x17a)],'-')[_0x19fbd3(0x295)](_0x431943),_0xa52ac2,void 0x0,_0x59484a);}));}function ki(_0x4c19c4,_0x1c7ae9,_0x147127){const _0x1c317e=_0x64618b;var _0x29d298=v({},_0x4c19c4[_0x1c317e(0x299)]);_0x147127!=null&&_0x147127[_0x1c317e(0x1da)]&&_0x29d298['fill']==='colorChannel1'&&(_0x29d298['fill']=_0x147127['colorChannel1']),_0x4c19c4[_0x1c317e(0x17a)]===_0x1c317e(0x272)&&_0x29d298['id']&&(_0x29d298['id']=_0x29d298['id']+_0x1c7ae9[_0x1c317e(0x17e)]),Object['entries'](_0x29d298)['forEach'](function(_0x443369){const _0x3cded1=_0x1c317e;var _0x556469=_0x443369[0x0],_0x41cbe4=_0x443369[0x1];_0x556469===_0x3cded1(0x272)&&typeof _0x41cbe4=='string'&&(_0x29d298[_0x556469]=_0x41cbe4['replace'](/url\(#(.*)\)/,_0x3cded1(0x242)[_0x3cded1(0x295)](_0x1c7ae9[_0x3cded1(0x17e)],')')));});var _0x376c3d=_0x1c7ae9[_0x1c317e(0x294)];return!_0x376c3d||_0x376c3d['length']===0x0||(_0x4c19c4[_0x1c317e(0x17a)]===_0x1c317e(0x275)&&_0x29d298[_0x1c317e(0x334)]&&(_0x29d298[_0x1c317e(0x334)]=_0x29d298[_0x1c317e(0x334)]+_0x1c7ae9[_0x1c317e(0x17e)]),Object['entries'](_0x29d298)[_0x1c317e(0x25f)](function(_0x2ef0c4){const _0x11c404=_0x1c317e;var _0x13317b=_0x2ef0c4[0x0],_0x16a45d=_0x2ef0c4[0x1];typeof _0x16a45d==_0x11c404(0x321)&&(_0x29d298[_0x13317b]=_0x16a45d[_0x11c404(0x2b8)](/url\(#(.*)\)/,'url(#$1'[_0x11c404(0x295)](_0x1c7ae9[_0x11c404(0x17e)],')')));})),_0x29d298;}function Hi(_0x3c8bc3,_0x5ad59d){const _0x49a63a=_0x64618b;var _0x517774,_0x45890a=_0x5ad59d[_0x49a63a(0x294)];return!_0x45890a||_0x45890a['length']===0x0?_0x3c8bc3:_0x3c8bc3[_0x49a63a(0x17a)]===_0x49a63a(0x1d9)&&(!((_0x517774=_0x3c8bc3[_0x49a63a(0x27b)])===null||_0x517774===void 0x0)&&_0x517774[_0x49a63a(0x148)])?v(v({},_0x3c8bc3),{'children':_0x3c8bc3[_0x49a63a(0x27b)][_0x49a63a(0x31d)](function(_0x39676b){const _0x455e31=_0x49a63a;return typeof _0x39676b[_0x455e31(0x299)]['id']==_0x455e31(0x321)&&_0x45890a&&_0x45890a[_0x455e31(0x288)](_0x39676b[_0x455e31(0x299)]['id'])?v(v({},_0x39676b),{'attrs':v(v({},_0x39676b[_0x455e31(0x299)]),{'id':_0x39676b[_0x455e31(0x299)]['id']+_0x5ad59d['idSuffix']})}):_0x39676b;})}):_0x3c8bc3;}function ji(){const _0x1a62d9=_0x64618b;return Math[_0x1a62d9(0x19e)]()[_0x1a62d9(0x185)](0x24)['substring'](0x2,0x8);}je[_0x64618b(0x13e)]=_0x64618b(0x303);var Yi={'tag':_0x64618b(0x309),'attrs':{'xmlns':_0x64618b(0x277),'fill':_0x64618b(0x2d7),'viewBox':_0x64618b(0x2b7),'width':_0x64618b(0x1d4),'height':_0x64618b(0x1d4)},'children':[{'tag':'g','attrs':{'clipPath':_0x64618b(0x253)},'children':[{'tag':_0x64618b(0x24e),'attrs':{'stroke':'currentColor','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':_0x64618b(0x308),'strokeLinejoin':_0x64618b(0x308),'strokeWidth':1.2}}]},{'tag':_0x64618b(0x1d9),'attrs':{},'children':[{'tag':_0x64618b(0x187),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x64618b(0x24e),'attrs':{'fill':_0x64618b(0x1ca),'d':_0x64618b(0x278)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x36b6f5(function(_0x2ee9b4,_0x225ae6){const _0x2a0a75=_0x64618b;return _0x4d5013(je,Object[_0x2a0a75(0x177)]({},_0x2ee9b4,{'id':'off-line-icon','ref':_0x225ae6,'icon':Yi}));});Dt[_0x64618b(0x13e)]=_0x64618b(0x17c);var Fi={'tag':'svg','attrs':{'xmlns':_0x64618b(0x277),'fill':_0x64618b(0x2d7),'viewBox':'0\x200\x2017\x2016','width':_0x64618b(0x1d4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x64618b(0x2b4)},'children':[{'tag':_0x64618b(0x24e),'attrs':{'stroke':_0x64618b(0x2c1),'d':'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','strokeLinecap':_0x64618b(0x308),'strokeLinejoin':_0x64618b(0x308),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x64618b(0x187),'attrs':{'id':_0x64618b(0x19d)},'children':[{'tag':'path','attrs':{'fill':_0x64618b(0x1ca),'d':_0x64618b(0x278),'transform':_0x64618b(0x1f1)}}]}]}],'defIds':[_0x64618b(0x19d)]},Nt=_0x36b6f5(function(_0x42f868,_0x32c65b){const _0x26b90e=_0x64618b;return _0x4d5013(je,Object['assign']({},_0x42f868,{'id':_0x26b90e(0x2f6),'ref':_0x32c65b,'icon':Fi}));});Nt['displayName']='OnLineIcon';function Wi(_0x207dca){const _0x307764=_0x64618b;switch(_0x207dca){case _0x253d04['OFFLINE']:return'collabStatus.offline';case _0x253d04[_0x307764(0x233)]:return _0x307764(0x212);case _0x253d04['FETCH_MISS']:return _0x307764(0x196);case _0x253d04[_0x307764(0x302)]:return _0x307764(0x2d3);case _0x253d04[_0x307764(0x327)]:case _0x253d04[_0x307764(0x1a8)]:return'collabStatus.syncing';case _0x253d04[_0x307764(0x15f)]:case _0x253d04['PENDING']:return _0x307764(0x2fa);}}function Vi(_0x41d765){const _0x1519ad=_0x64618b,{status$:_0x2c02ca}=_0x41d765,_0x2d129e=_0x4861f8(_0x2c02ca,_0x253d04[_0x1519ad(0x302)]),_0x36a9f5=_0xbdf0d4(_0x7d4dd3),_0x11778a=_0xbdf0d4(_0x2959b5),_0x564ff7=_0x2d129e!==_0x253d04['OFFLINE'],_0x3d4189=_0x36a9f5['t'](Wi(_0x2d129e)),_0x4c80bd=_0x564ff7?_0x4eb9b5(Nt,{}):_0x4eb9b5(Dt,{}),_0x27d9a4=_0x46934a(()=>{_0x564ff7||_0x11778a['reconnect']();},[_0x564ff7,_0x11778a]);function _0x1c446e(){const _0x42209f=_0x1519ad;return _0x4ca26e('div',{'className':_0x42209f(0x1e0),'onClick':_0x27d9a4,'children':[_0x4eb9b5(_0x42209f(0x335),{'className':_0x55d543(_0x42209f(0x15a),{'univer-text-green-500':_0x564ff7,'univer-text-red-500':!_0x564ff7}),'children':_0x4c80bd}),_0x4eb9b5('div',{'className':_0x42209f(0x207),'children':_0x3d4189})]});}return _0x564ff7?_0x1c446e():_0x4eb9b5(_0x1cf3b2,{'title':_0x36a9f5['t']('collab-client.tooltip.reconnect'),'children':_0x1c446e()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x43a027,_0x252284,_0x39d712,_0x374a78)=>{const _0x2bad4c=_0x64618b;for(var _0x59a302=_0x374a78>0x1?void 0x0:_0x374a78?Xi(_0x252284,_0x39d712):_0x252284,_0x4cbdb1=_0x43a027[_0x2bad4c(0x148)]-0x1,_0x38c5ac;_0x4cbdb1>=0x0;_0x4cbdb1--)(_0x38c5ac=_0x43a027[_0x4cbdb1])&&(_0x59a302=_0x38c5ac(_0x59a302)||_0x59a302);return _0x59a302;},Q=(_0x9d301,_0x5064b0)=>(_0x596f8f,_0x1c6c6e)=>_0x5064b0(_0x596f8f,_0x1c6c6e,_0x9d301);let te=class extends _0xfd192d{constructor(_0x4c6eb8,_0x585035,_0x23e22f,_0x2f8a9d){const _0x33f378=_0x64618b;super(),_(this,_0x33f378(0x2d9),new _0x3d4fde(_0x253d04[_0x33f378(0x302)])),(this[_0x33f378(0x262)]=_0x4c6eb8,this[_0x33f378(0x30c)]=_0x585035,this['_collaborationController']=_0x23e22f,this['_uiPartsService']=_0x2f8a9d,this[_0x33f378(0x140)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x2b50ef=_0x64618b;this['disposeWithMe'](this[_0x2b50ef(0x262)][_0x2b50ef(0x2bd)][_0x2b50ef(0x25e)](_0x31eb21(()=>{const _0x2123ae=_0x2b50ef,_0x348bef=this[_0x2123ae(0x262)][_0x2123ae(0x30e)]();return _0x348bef?this[_0x2123ae(0x27f)]['getCollabEntity$'](_0x348bef['getUnitId']()):_0x221268(null);}),_0x31eb21(_0xbd4328=>_0xbd4328?_0xbd4328[_0x2b50ef(0x171)]:_0x221268(_0x253d04['NOT_COLLAB'])))['subscribe'](_0x586210=>{const _0x1f0fa8=_0x2b50ef;this['_status$'][_0x1f0fa8(0x343)](_0x586210);}));}[_0x64618b(0x140)](){const _0x3f44b7=_0x64618b;this[_0x3f44b7(0x241)](this[_0x3f44b7(0x323)][_0x3f44b7(0x33d)](_0x257042[_0x3f44b7(0x24d)],()=>_0x174522(Ki({'status$':this[_0x3f44b7(0x2d9)]['asObservable']()}),this[_0x3f44b7(0x30c)])));}};te=Gi([Q(0x0,_0x56a9dd),Q(0x1,_0x5033cb(_0x5d0444)),Q(0x2,_0x5033cb(_0x22feca)),Q(0x3,_0x5bd75c)],te);function Ki(_0x510eff){const {status$:_0x2ea189}=_0x510eff;return function(){return _0x4eb9b5(Vi,{'status$':_0x2ea189});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x1856ae,_0x41b47a,_0x238c64,_0x2997c5)=>{for(var _0x3baa6c=_0x2997c5>0x1?void 0x0:_0x2997c5?zi(_0x41b47a,_0x238c64):_0x41b47a,_0x116bfc=_0x1856ae['length']-0x1,_0x330611;_0x116bfc>=0x0;_0x116bfc--)(_0x330611=_0x1856ae[_0x116bfc])&&(_0x3baa6c=_0x330611(_0x3baa6c)||_0x3baa6c);return _0x3baa6c;},B=(_0x9f31da,_0x24f8dd)=>(_0x26895e,_0x190067)=>_0x24f8dd(_0x26895e,_0x190067,_0x9f31da);let se=class extends _0xfd192d{constructor(_0x467243,_0x533ca4,_0x29b8d7,_0x305655,_0x5a31ec,_0x2f719b){const _0xa831f1=_0x64618b;super(),this[_0xa831f1(0x24f)]=_0x467243,this['_localCacheService']=_0x533ca4,this[_0xa831f1(0x14e)]=_0x29b8d7,this[_0xa831f1(0x2cd)]=_0x305655,this[_0xa831f1(0x166)]=_0x5a31ec,this[_0xa831f1(0x2fe)]=_0x2f719b,this[_0xa831f1(0x1d6)](),this[_0xa831f1(0x336)]();}[_0x64618b(0x1d6)](){const _0x1578c4=_0x64618b;this[_0x1578c4(0x241)](this[_0x1578c4(0x24f)][_0x1578c4(0x2a6)](()=>{const _0x9f5310=_0x1578c4;if(this['_localCacheService'][_0x9f5310(0x1db)][_0x9f5310(0x317)])return this['_localeService']['t'](_0x9f5310(0x199));}));}['_initEvent'](){const _0x5cf201=_0x64618b;this[_0x5cf201(0x241)](this[_0x5cf201(0x14e)][_0x5cf201(0x1ce)][_0x5cf201(0x1f0)](_0x2d58fa=>{const _0x1c0680=_0x5cf201;_0x2d58fa['id']===_0x5d9b57['OTHER_CLIENT_EDITING']&&this[_0x1c0680(0x2cd)][_0x1c0680(0x33f)]({'type':_0x37e46e['Warning'],'content':this[_0x1c0680(0x2fe)]['t'](_0x1c0680(0x337))}),_0x2d58fa['id']===_0x5d9b57['CLOSE_ROOM']&&this['_messageService'][_0x1c0680(0x33f)]({'type':_0x37e46e['Warning'],'content':this[_0x1c0680(0x2fe)]['t'](_0x1c0680(0x1c8))}),_0x2d58fa['id']===_0x5d9b57[_0x1c0680(0x2dc)]&&this['_notificationService'][_0x1c0680(0x33f)]({'title':this['_localeService']['t'](_0x1c0680(0x2e9)),'content':this[_0x1c0680(0x2fe)]['t'](_0x1c0680(0x163)),'type':'error','duration':0x0}),_0x2d58fa['id']===_0x5d9b57[_0x1c0680(0x233)]&&this[_0x1c0680(0x2cd)][_0x1c0680(0x33f)]({'type':_0x37e46e[_0x1c0680(0x1ba)],'content':this[_0x1c0680(0x2fe)]['t'](_0x1c0680(0x1c8))+'('+_0x2d58fa[_0x1c0680(0x305)]+')'}),_0x2d58fa['id']===_0x5d9b57[_0x1c0680(0x2e2)]&&this[_0x1c0680(0x2cd)][_0x1c0680(0x33f)]({'type':_0x37e46e[_0x1c0680(0x195)],'content':this['_localeService']['t'](_0x2d58fa[_0x1c0680(0x305)]||'')}),_0x2d58fa['id']===_0x5d9b57[_0x1c0680(0x255)]&&this[_0x1c0680(0x2cd)][_0x1c0680(0x33f)]({'type':_0x37e46e[_0x1c0680(0x195)],'content':this[_0x1c0680(0x2fe)]['t'](_0x1c0680(0x326))}),_0x2d58fa['id']===_0x5d9b57['SOCKET_FAILED']&&this[_0x1c0680(0x2cd)][_0x1c0680(0x33f)]({'type':_0x37e46e[_0x1c0680(0x1ba)],'content':this['_localeService']['t']('session.connection-failed')}),_0x2d58fa['id']===_0x5d9b57[_0x1c0680(0x2cb)]&&this[_0x1c0680(0x2cd)][_0x1c0680(0x33f)]({'type':_0x37e46e['Error'],'content':this[_0x1c0680(0x2fe)]['t'](_0x1c0680(0x2d5))});}));}};se=Ji([B(0x0,_0x6045cf),B(0x1,_0x212ecf),B(0x2,_0x5033cb(_0x2beba7)),B(0x3,_0x453f1e),B(0x4,_0x180a10),B(0x5,_0x5033cb(_0x7d4dd3))],se);const Zi=_0x64618b(0x172),et={},Ut=_0x334356(_0x64618b(0x1ac));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0xa924fa,_0x61c842,_0x4b5049,_0x531f13)=>{const _0x59702a=_0x64618b;for(var _0x5a15f8=_0x531f13>0x1?void 0x0:_0x531f13?Qi(_0x61c842,_0x4b5049):_0x61c842,_0x5155ea=_0xa924fa[_0x59702a(0x148)]-0x1,_0x5eeb44;_0x5155ea>=0x0;_0x5155ea--)(_0x5eeb44=_0xa924fa[_0x5155ea])&&(_0x5a15f8=_0x5eeb44(_0x5a15f8)||_0x5a15f8);return _0x5a15f8;},G=(_0x516d44,_0x181e8a)=>(_0x24ccad,_0x1b8ed9)=>_0x181e8a(_0x24ccad,_0x1b8ed9,_0x516d44);let ie=class extends _0x4ddff1{constructor(_0x45c348,_0xb34799,_0x177dd8,_0x4f9832,_0x5d34e8){const _0x371f85=_0x64618b;super(),this[_0x371f85(0x2f8)]=_0x45c348,this[_0x371f85(0x28f)]=_0xb34799,this[_0x371f85(0x292)]=_0x177dd8,this[_0x371f85(0x1b2)]=_0x4f9832,_0x5d34e8?_0x5d34e8==null||_0x5d34e8[_0x371f85(0x33a)]()[_0x371f85(0x289)](()=>this[_0x371f85(0x2ab)]()):(this[_0x371f85(0x28f)][_0x371f85(0x270)](_0x371f85(0x341),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x371f85(0x2ab)]());}async[_0x64618b(0x2ab)](){const _0x1f7577=_0x64618b,_0x2cb16d=this['_urlService'][_0x1f7577(0x2ae)](_0x1f7577(0x22d)),_0x50a2fb=this[_0x1f7577(0x2f8)][_0x1f7577(0x2ae)]('type'),_0x3a1ac6=this['_urlService']['getParam'](_0x1f7577(0x1a9));if(!_0x2cb16d||!_0x50a2fb){this[_0x1f7577(0x28f)]['debug'](_0x1f7577(0x341),_0x1f7577(0x254));return;}const _0x313e7e=await this[_0x1f7577(0x1b2)][_0x1f7577(0x204)](_0x2cb16d,Number(_0x50a2fb),_0x3a1ac6);_0x313e7e&&_0x313e7e instanceof _0x165fa1&&this['_setupSubUnitSync'](_0x313e7e);}async[_0x64618b(0x174)](_0x3fc7ac){const _0x947041=_0x64618b;await this['_updateSubUnitFromURLParams'](_0x3fc7ac),_0x3fc7ac[_0x947041(0x30f)][_0x947041(0x25e)](_0xf9f0d5(this[_0x947041(0x1a6)]))[_0x947041(0x1f0)](_0x5a1893=>{const _0x3d4240=_0x947041;_0x5a1893&&this[_0x3d4240(0x146)](_0x5a1893);}),this[_0x947041(0x2f8)][_0x947041(0x231)][_0x947041(0x25e)](_0xf9f0d5(this[_0x947041(0x1a6)]))[_0x947041(0x1f0)](()=>this[_0x947041(0x2c0)](_0x3fc7ac));}['_updateURLWithCurrentState'](_0x20c490,_0x2c16d1=!0x1){const _0x1e2f35=_0x64618b,_0x19ae6a=this[_0x1e2f35(0x2f8)][_0x1e2f35(0x2ae)]('subunit');_0x20c490[_0x1e2f35(0x149)]()!==_0x19ae6a&&this[_0x1e2f35(0x2f8)][_0x1e2f35(0x2d1)]('subunit',_0x20c490[_0x1e2f35(0x149)](),_0x2c16d1);}async[_0x64618b(0x2c0)](_0x160cec){const _0x4e8e1b=_0x64618b;var _0x4d2b7a;const _0x3d155a=this['_urlService'][_0x4e8e1b(0x2ae)](_0x4e8e1b(0x1a9));if(!_0x3d155a||!_0x160cec[_0x4e8e1b(0x2eb)](_0x3d155a)){const _0x1b1fe6=_0x160cec['getUnhiddenWorksheets']()[0x0],_0x5eb6a5=_0x160cec[_0x4e8e1b(0x2eb)](_0x1b1fe6);if(!_0x5eb6a5)return;this['_updateURLWithCurrentState'](_0x5eb6a5,!0x0),await this[_0x4e8e1b(0x292)][_0x4e8e1b(0x287)](_0x4ab9ef['id'],{'unitId':_0x160cec['getUnitId'](),'subUnitId':_0x1b1fe6});return;}((_0x4d2b7a=_0x160cec['getActiveSheet']())==null?void 0x0:_0x4d2b7a[_0x4e8e1b(0x149)]())!==_0x3d155a&&await this[_0x4e8e1b(0x292)][_0x4e8e1b(0x287)](_0x4ab9ef['id'],{'unitId':_0x160cec['getUnitId'](),'subUnitId':_0x3d155a});}};ie=qi([G(0x0,Ut),G(0x1,_0x2b7a43),G(0x2,_0x441fb8),G(0x3,_0x5033cb(_0x1df97d)),G(0x4,_0x350c9b(_0x13b1c1))],ie);var en=Object[_0x64618b(0x1bc)],tn=(_0x48509f,_0x542f05,_0x35d0a8,_0x46c1e0)=>{const _0x2cf011=_0x64618b;for(var _0x17962d=_0x46c1e0>0x1?void 0x0:_0x46c1e0?en(_0x542f05,_0x35d0a8):_0x542f05,_0x1e0697=_0x48509f[_0x2cf011(0x148)]-0x1,_0x5371bf;_0x1e0697>=0x0;_0x1e0697--)(_0x5371bf=_0x48509f[_0x1e0697])&&(_0x17962d=_0x5371bf(_0x17962d)||_0x17962d);return _0x17962d;},pe=(_0x3ad032,_0x5bd0dd)=>(_0x359977,_0x2cbc20)=>_0x5bd0dd(_0x359977,_0x2cbc20,_0x3ad032);let ne=class{constructor(_0x3e486a,_0x3bd5de,_0x72ab9){const _0x329961=_0x64618b;this['_injector']=_0x3e486a,this[_0x329961(0x17f)]=_0x3bd5de,this[_0x329961(0x342)]=_0x72ab9;}[_0x64618b(0x1aa)](_0x3e5ec0){const _0x2c1251=_0x64618b;this[_0x2c1251(0x19f)](_0x3e5ec0),this[_0x2c1251(0x1c7)](_0x3e5ec0);}[_0x64618b(0x20b)](_0x2ca58b){const _0x18ab25=_0x64618b,{unitID:_0x57f4ac}=_0x2ca58b,_0x3975c6=this['_renderManagerService'][_0x18ab25(0x21f)](_0x57f4ac)[_0x18ab25(0x193)](_0x27ee56),{redoCache:_0x20c647}=_0x3975c6[_0x18ab25(0x2b5)]();if(_0x20c647[_0x18ab25(0x148)]===0x0)return _0x2ca58b;let _0x106c28=_0x521fe2[_0x18ab25(0x22c)](_0x2ca58b[_0x18ab25(0x153)][0x0]);for(let _0x2eb700=0x0;_0x2eb700<_0x20c647[_0x18ab25(0x148)];_0x2eb700++){const _0x57c49c={'id':_0x18ab25(0x173),'params':{..._0x20c647[_0x2eb700]}},_0x3dbf14=this[_0x18ab25(0x17f)][_0x18ab25(0x2ec)](_0x106c28,_0x57c49c,!0x1);if(_0x2438e1(_0x3dbf14))throw _0x3dbf14['error'];_0x106c28=_0x3dbf14['m1Prime'];}return{..._0x521fe2[_0x18ab25(0x22c)](_0x2ca58b),'mutations':[_0x106c28]};}[_0x64618b(0x19f)](_0x1d6366){const _0x558f30=_0x64618b,{unitID:_0x156f6d}=_0x1d6366,_0x2d1f5f=this[_0x558f30(0x342)][_0x558f30(0x21f)](_0x156f6d)[_0x558f30(0x193)](_0x27ee56),{undoCache:_0x2f907e,redoCache:_0x588ebc}=_0x2d1f5f['getUndoRedoMutationParamsCache']();if(_0x2f907e[_0x558f30(0x148)]===0x0||_0x588ebc[_0x558f30(0x148)]===0x0)return;const _0x1d684a=[],_0x11d268=[];let _0x4c1b26=_0x521fe2[_0x558f30(0x22c)](_0x1d6366[_0x558f30(0x153)][0x0]),_0x7247cb=_0x521fe2[_0x558f30(0x22c)](_0x1d6366['mutations'][0x0]);for(let _0x5e0eb6=_0x2f907e[_0x558f30(0x148)]-0x1;_0x5e0eb6>=0x0;_0x5e0eb6--){const _0x2bef6a={'id':_0x558f30(0x173),'params':{..._0x2f907e[_0x5e0eb6]}},_0x96b5cd={'id':_0x558f30(0x173),'params':{..._0x588ebc[_0x5e0eb6]}},_0x400649=this['_transformService'][_0x558f30(0x2ec)](_0x4c1b26,_0x2bef6a,!0x1),_0x2a68a3=this[_0x558f30(0x17f)][_0x558f30(0x2ec)](_0x7247cb,_0x96b5cd,!0x1);if(_0x2438e1(_0x400649))throw _0x400649[_0x558f30(0x2de)];if(_0x2438e1(_0x2a68a3))throw _0x2a68a3[_0x558f30(0x2de)];_0x1d684a['unshift'](_0x400649[_0x558f30(0x32d)][_0x558f30(0x2a5)]),_0x11d268[_0x558f30(0x17d)](_0x2a68a3[_0x558f30(0x32d)][_0x558f30(0x2a5)]),_0x4c1b26=_0x400649['m1Prime'],_0x7247cb=_0x2a68a3[_0x558f30(0x2bb)];}_0x2d1f5f[_0x558f30(0x2aa)]({'undoCache':_0x1d684a,'redoCache':_0x11d268});}[_0x64618b(0x1c7)](_0x3d8afc){const _0x455277=_0x64618b,{unitID:_0x4830e8}=_0x3d8afc,_0x46bb6d=this['_renderManagerService'][_0x455277(0x21f)](_0x4830e8)[_0x455277(0x193)](_0x27ee56),_0x5e0004=_0x46bb6d[_0x455277(0x263)]();if(_0x5e0004==null)return;const _0x10069e=[{'id':_0x455277(0x173),'params':{'unitId':_0x3d8afc[_0x455277(0x2ac)],'actions':null,'textRanges':[_0x5e0004]}}],_0x4586e0=this[_0x455277(0x17f)][_0x455277(0x16f)](_0x3d8afc,_0x10069e);if(!_0x2ccd38(_0x4586e0))throw _0x4586e0[_0x455277(0x2de)];const _0x480328=_0x4586e0[_0x455277(0x32d)][0x0][_0x455277(0x2a5)][_0x455277(0x296)];Array['isArray'](_0x480328)&&_0x480328[_0x455277(0x148)]&&_0x46bb6d[_0x455277(0x1cc)](_0x480328[0x0]);}};ne=tn([pe(0x0,_0x5033cb(_0x5d0444)),pe(0x1,_0x492187),pe(0x2,_0x479a8)],ne);var sn=Object[_0x64618b(0x1bc)],nn=(_0x585fce,_0x9923f9,_0x517a47,_0x5e2f0a)=>{const _0x458d4a=_0x64618b;for(var _0x1a192e=_0x5e2f0a>0x1?void 0x0:_0x5e2f0a?sn(_0x9923f9,_0x517a47):_0x9923f9,_0x16a82f=_0x585fce[_0x458d4a(0x148)]-0x1,_0x2feece;_0x16a82f>=0x0;_0x16a82f--)(_0x2feece=_0x585fce[_0x16a82f])&&(_0x1a192e=_0x2feece(_0x1a192e)||_0x1a192e);return _0x1a192e;},Ce=(_0x45eb50,_0x15eb00)=>(_0x483294,_0x240113)=>_0x15eb00(_0x483294,_0x240113,_0x45eb50);let re=class{constructor(_0x18f474,_0x17ed33,_0x20e87f){const _0x688ae0=_0x64618b;this[_0x688ae0(0x30c)]=_0x18f474,this[_0x688ae0(0x17f)]=_0x17ed33,this[_0x688ae0(0x165)]=_0x20e87f;}[_0x64618b(0x2b1)](_0x44fb38){this['_transformHistoryAndStateStack'](_0x44fb38);}[_0x64618b(0x20b)](_0x24cfcc){const _0x4269f6=_0x64618b,{unitID:_0x4d0ed1}=_0x24cfcc,{collaboration:_0x559eb6}=this['_docStateChangeManagerService'][_0x4269f6(0x181)](_0x4d0ed1);if(_0x559eb6[_0x4269f6(0x148)]===0x0)return _0x24cfcc;let _0x40279b=_0x521fe2[_0x4269f6(0x22c)](_0x24cfcc[_0x4269f6(0x153)][0x0]);for(let _0x24112a=0x0;_0x24112a<_0x559eb6[_0x4269f6(0x148)];_0x24112a++){const _0x18d232={'id':_0x4269f6(0x173),'params':{'unitId':_0x559eb6[_0x24112a][_0x4269f6(0x248)],..._0x559eb6[_0x24112a]['redoState']}},_0x3948e2=this[_0x4269f6(0x17f)]['transformMutation'](_0x40279b,_0x18d232,!0x1);if(_0x2438e1(_0x3948e2))throw _0x3948e2[_0x4269f6(0x2de)];_0x40279b=_0x3948e2['m1Prime'];}return{..._0x521fe2['deepClone'](_0x24cfcc),'mutations':[_0x40279b]};}[_0x64618b(0x1c3)](_0x405f35){const _0x5266a9=_0x64618b,{unitID:_0xe9c54e}=_0x405f35,{history:_0x3f4f6e,collaboration:_0x143d2e}=this['_docStateChangeManagerService'][_0x5266a9(0x181)](_0xe9c54e);if(_0x3f4f6e['length']===0x0&&_0x143d2e[_0x5266a9(0x148)]===0x0)return;const _0x25b982=[],_0x1e809f=[];let _0x2a22e1=_0x521fe2[_0x5266a9(0x22c)](_0x405f35[_0x5266a9(0x153)][0x0]),_0x2545e0=_0x521fe2['deepClone'](_0x405f35[_0x5266a9(0x153)][0x0]);for(let _0xd7c009=_0x3f4f6e[_0x5266a9(0x148)]-0x1;_0xd7c009>=0x0;_0xd7c009--){const _0x2b1746={'id':_0x5266a9(0x173),'params':{'unitId':_0x3f4f6e[_0xd7c009][_0x5266a9(0x248)],..._0x3f4f6e[_0xd7c009][_0x5266a9(0x252)]}},_0x5e106b={'id':_0x5266a9(0x173),'params':{'unitId':_0x3f4f6e[_0xd7c009]['unitId'],..._0x3f4f6e[_0xd7c009]['redoState']}},_0xdd4b7d=this[_0x5266a9(0x17f)][_0x5266a9(0x2ec)](_0x2a22e1,_0x2b1746,!0x1),_0x21fb0b=this[_0x5266a9(0x17f)]['transformMutation'](_0x2545e0,_0x5e106b,!0x1);if(_0x2438e1(_0xdd4b7d))throw _0xdd4b7d[_0x5266a9(0x2de)];if(_0x2438e1(_0x21fb0b))throw _0x21fb0b[_0x5266a9(0x2de)];_0x25b982[_0x5266a9(0x17d)]({..._0x3f4f6e[_0xd7c009],'undoState':_0xdd4b7d[_0x5266a9(0x32d)][_0x5266a9(0x2a5)],'redoState':_0x21fb0b[_0x5266a9(0x32d)][_0x5266a9(0x2a5)]}),_0x2a22e1=_0xdd4b7d[_0x5266a9(0x2bb)],_0x2545e0=_0x21fb0b['m1Prime'];}_0x2a22e1=_0x521fe2[_0x5266a9(0x22c)](_0x405f35['mutations'][0x0]),_0x2545e0=_0x521fe2[_0x5266a9(0x22c)](_0x405f35[_0x5266a9(0x153)][0x0]);for(let _0x3f3851=_0x143d2e[_0x5266a9(0x148)]-0x1;_0x3f3851>=0x0;_0x3f3851--){const _0x30d9f1={'id':_0x5266a9(0x173),'params':{'unitId':_0x143d2e[_0x3f3851][_0x5266a9(0x248)],..._0x143d2e[_0x3f3851][_0x5266a9(0x252)]}},_0x2c199d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x143d2e[_0x3f3851][_0x5266a9(0x248)],..._0x143d2e[_0x3f3851][_0x5266a9(0x2cc)]}},_0x4699d7=this[_0x5266a9(0x17f)]['transformMutation'](_0x2a22e1,_0x30d9f1,!0x1),_0x44ffc9=this[_0x5266a9(0x17f)][_0x5266a9(0x2ec)](_0x2545e0,_0x2c199d,!0x1);if(_0x2438e1(_0x4699d7))throw _0x4699d7[_0x5266a9(0x2de)];if(_0x2438e1(_0x44ffc9))throw _0x44ffc9['error'];_0x1e809f[_0x5266a9(0x17d)]({..._0x143d2e[_0x3f3851],'undoState':_0x4699d7['m2Prime']['params'],'redoState':_0x44ffc9[_0x5266a9(0x32d)][_0x5266a9(0x2a5)]}),_0x2a22e1=_0x4699d7[_0x5266a9(0x2bb)],_0x2545e0=_0x44ffc9[_0x5266a9(0x2bb)];}this[_0x5266a9(0x165)][_0x5266a9(0x310)](_0xe9c54e,{'history':_0x25b982,'collaboration':_0x1e809f});}};re=nn([Ce(0x0,_0x5033cb(_0x5d0444)),Ce(0x1,_0x492187),Ce(0x2,_0x5033cb(_0x1a5ccb))],re);var rn=Object[_0x64618b(0x1bc)],on=(_0x535a5f,_0x6f74cb,_0x16a071,_0x36195a)=>{for(var _0x16d941=_0x36195a>0x1?void 0x0:_0x36195a?rn(_0x6f74cb,_0x16a071):_0x6f74cb,_0x154d2b=_0x535a5f['length']-0x1,_0x5fdc9e;_0x154d2b>=0x0;_0x154d2b--)(_0x5fdc9e=_0x535a5f[_0x154d2b])&&(_0x16d941=_0x5fdc9e(_0x16d941)||_0x16d941);return _0x16d941;},tt=(_0x8ee202,_0x1a2880)=>(_0x28be3b,_0x5708cc)=>_0x1a2880(_0x28be3b,_0x5708cc,_0x8ee202);let oe=class{constructor(_0x343988,_0x1fa604){const _0x962583=_0x64618b;this[_0x962583(0x30c)]=_0x343988,this[_0x962583(0x17f)]=_0x1fa604;}[_0x64618b(0x2f0)](_0x1debce){const _0xec6824=_0x64618b;var _0x3a8dd2;const _0x901c5b=this[_0xec6824(0x30c)][_0xec6824(0x23c)](_0x34051a),_0x463373=(_0x3a8dd2=_0x901c5b[_0xec6824(0x251)]())!=null?_0x3a8dd2:[];if(_0x463373[_0xec6824(0x148)]===0x0)return;const _0x37eb37=_0x1debce[_0xec6824(0x2ac)],_0x4f3bd8=[{'id':_0xec6824(0x173),'params':{'unitId':_0x37eb37,'actions':null,'textRanges':_0x463373}}],_0x912562=this['_transformService'][_0xec6824(0x16f)](_0x1debce,_0x4f3bd8);if(!_0x2ccd38(_0x912562))throw _0x912562[_0xec6824(0x2de)];const _0x13a967=_0x912562[_0xec6824(0x32d)][0x0][_0xec6824(0x2a5)][_0xec6824(0x296)];Array[_0xec6824(0x1fc)](_0x13a967)&&_0x13a967[_0xec6824(0x148)]&&_0x901c5b[_0xec6824(0x264)](_0x13a967,{'unitId':_0x37eb37,'subUnitId':_0x37eb37},!0x1);}};oe=on([tt(0x0,_0x5033cb(_0x5d0444)),tt(0x1,_0x492187)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x4f0fc1,_0x1b136c,_0x3a1e07,_0x4bfbec)=>{const _0x3b43e7=_0x64618b;for(var _0x49246a=_0x4bfbec>0x1?void 0x0:_0x4bfbec?an(_0x1b136c,_0x3a1e07):_0x1b136c,_0x22d8ed=_0x4f0fc1[_0x3b43e7(0x148)]-0x1,_0x4fc5a5;_0x22d8ed>=0x0;_0x22d8ed--)(_0x4fc5a5=_0x4f0fc1[_0x22d8ed])&&(_0x49246a=_0x4fc5a5(_0x49246a)||_0x49246a);return _0x49246a;},U=(_0x10c5e5,_0x3ad822)=>(_0x4004eb,_0x4bbb1e)=>_0x3ad822(_0x4004eb,_0x4bbb1e,_0x10c5e5);let ae=class extends _0xfd192d{constructor(_0x3baa27,_0x1af401,_0x4118e7,_0x567ee2,_0x332a75,_0x3daa87,_0x3a06f1,_0x146e00){const _0x5f30a4=_0x64618b;super(),_(this,_0x5f30a4(0x2d9),new _0x3d4fde(_0x253d04[_0x5f30a4(0x302)])),(this[_0x5f30a4(0x165)]=_0x3baa27,this[_0x5f30a4(0x27f)]=_0x1af401,this[_0x5f30a4(0x23d)]=_0x4118e7,this[_0x5f30a4(0x1a3)]=_0x567ee2,this[_0x5f30a4(0x325)]=_0x332a75,this[_0x5f30a4(0x312)]=_0x3daa87,this['_messageService']=_0x3a06f1,this['_localeService']=_0x146e00,this['_initEntityListener']());}[_0x64618b(0x25c)](){const _0x913157=_0x64618b;this[_0x913157(0x241)](this[_0x913157(0x27f)]['entityInit$'][_0x913157(0x1f0)](_0xf9396d=>{const _0x617a06=_0x913157,_0x5e5c47=this['_docStateChangeManagerService'][_0x617a06(0x29a)]['subscribe'](_0x572a3b=>{const _0x128e5b=_0x617a06;if(_0x572a3b==null)return;const {unitId:_0x1629b2,redoState:_0x322cc9,commandId:_0x3de7bb}=_0x572a3b;if(_0x1629b2!==_0xf9396d[_0x128e5b(0x2ac)])return;const _0x30c423={'id':_0x3de7bb,'type':_0x8e4acc[_0x128e5b(0x154)],'params':{'unitId':_0x1629b2,'actions':_0x322cc9[_0x128e5b(0x250)],'textRanges':null}};_0xf9396d['onLocalMutation'](_0x30c423);});if(_0xf9396d[_0x617a06(0x241)](_0x5e5c47),_0xf9396d instanceof _0x1cc43c){const _0x11e75a={'onTransformIME':_0x2fbb2f=>this[_0x617a06(0x23d)][_0x617a06(0x1aa)](_0x2fbb2f),'onTransformState':_0x1e2d03=>this[_0x617a06(0x1a3)][_0x617a06(0x2b1)](_0x1e2d03),'onTransformSelections':_0x2896ec=>this[_0x617a06(0x325)]['transformSelections'](_0x2896ec),'onSyncEditingCollabCursor':_0x57510b=>this[_0x617a06(0x312)][_0x617a06(0x1f3)](_0x57510b),'onTransformRemoteChangesetByIMECache':_0x38d581=>this[_0x617a06(0x23d)][_0x617a06(0x20b)](_0x38d581),'onTransformRemoteChangesetByStateCache':_0x170d7e=>this['_docTransformStateCacheService'][_0x617a06(0x20b)](_0x170d7e)};_0xf9396d[_0x617a06(0x1fa)](_0x11e75a);}}));}};ae=cn([U(0x0,_0x5033cb(_0x1a5ccb)),U(0x1,_0x5033cb(_0x22feca)),U(0x2,_0x5033cb(ne)),U(0x3,_0x5033cb(re)),U(0x4,_0x5033cb(oe)),U(0x5,_0x5033cb(He)),U(0x6,_0x453f1e),U(0x7,_0x5033cb(_0x7d4dd3))],ae);var ln=Object[_0x64618b(0x1bc)],_n=(_0x3fbc4f,_0x4b36cc,_0x345028,_0x3ba7c)=>{const _0x3c87ef=_0x64618b;for(var _0x3ada16=_0x3ba7c>0x1?void 0x0:_0x3ba7c?ln(_0x4b36cc,_0x345028):_0x4b36cc,_0x1f818a=_0x3fbc4f[_0x3c87ef(0x148)]-0x1,_0x235ae6;_0x1f818a>=0x0;_0x1f818a--)(_0x235ae6=_0x3fbc4f[_0x1f818a])&&(_0x3ada16=_0x235ae6(_0x3ada16)||_0x3ada16);return _0x3ada16;},Ee=(_0x26098f,_0x15b613)=>(_0x19fed2,_0x13f246)=>_0x15b613(_0x19fed2,_0x13f246,_0x26098f);let Le=class extends _0xfd192d{constructor(_0x40adcd,_0x271ebd,_0x12512){const _0x4e3cc1=_0x64618b;super(),_(this,'_cachedData',new Map()),_(this,_0x4e3cc1(0x24c),new Map()),_(this,_0x4e3cc1(0x216),!0x1),(this['_configService']=_0x40adcd,this[_0x4e3cc1(0x18a)]=_0x271ebd,this[_0x4e3cc1(0x192)]=_0x12512);}[_0x64618b(0x214)](){const _0x58dd65=_0x64618b;this[_0x58dd65(0x216)]=!0x0;}[_0x64618b(0x209)](){const _0x431e4c=_0x64618b;this[_0x431e4c(0x216)]=!0x1;}get['saveTaskMap'](){const _0x4f74af=_0x64618b;return this[_0x4f74af(0x24c)];}[_0x64618b(0x23e)](){const _0x59181a=_0x64618b;this[_0x59181a(0x1a1)]()[_0x59181a(0x289)](()=>super['dispose']());}async[_0x64618b(0x1ab)](_0x2ce294){const _0xff584d=_0x64618b;return this[_0xff584d(0x216)]?null:this[_0xff584d(0x18a)][_0xff584d(0x16b)](_0x284f5a(_0x2ce294));}async['saveOfflineData'](_0x2c9a99,_0x1632ea){const _0xcf1576=_0x64618b;return!!this[_0xcf1576(0x18a)][_0xcf1576(0x293)](_0x2c9a99,_0x1632ea);}[_0x64618b(0x28b)](_0x115a92,_0x5722bd,_0x4bdd2e,_0x2baeab){const _0x196f8f=_0x64618b,_0x43e01a=this[_0x196f8f(0x192)]['getCurrentRevOfUnit'](_0x115a92);this['_cachedData'][_0x196f8f(0x21b)](_0x115a92,{'unitID':_0x115a92,'type':_0x5722bd,'awaitingChangeset':_0x4bdd2e,'mutations':_0x2baeab,'rev':_0x43e01a}),this[_0x196f8f(0x24c)]['has'](_0x115a92)||this[_0x196f8f(0x217)](_0x115a92);}[_0x64618b(0x217)](_0x422dad){const _0x2a5c36=_0x64618b,_0x44bed8=this[_0x2a5c36(0x17b)]();_0x44bed8===0x0?this[_0x2a5c36(0x2f4)](_0x422dad):this[_0x2a5c36(0x24c)]['set'](_0x422dad,setTimeout(()=>this[_0x2a5c36(0x2f4)](_0x422dad),_0x44bed8));}[_0x64618b(0x17b)](){const _0x433497=_0x64618b;var _0x4bf737;return(_0x4bf737=this[_0x433497(0x20c)][_0x433497(0x2f3)](_0x55e399))!=null?_0x4bf737:_0x2b2211;}['_saveCache'](_0xe080fd){const _0x1125ca=_0x64618b,_0x48b41a=this['_saveTaskMap'][_0x1125ca(0x23c)](_0xe080fd);return _0x48b41a!==void 0x0&&window[_0x1125ca(0x19c)](_0x48b41a),this[_0x1125ca(0x18a)]['setItem'](_0x284f5a(_0xe080fd),this[_0x1125ca(0x238)][_0x1125ca(0x23c)](_0xe080fd))['then'](()=>this[_0x1125ca(0x24c)]['delete'](_0xe080fd));}async[_0x64618b(0x1a1)](){const _0x733634=_0x64618b,_0x3ecf80=[];this[_0x733634(0x24c)][_0x733634(0x25f)]((_0x1cdf77,_0x1b8b9f)=>{const _0x58b5b8=_0x733634;window[_0x58b5b8(0x19c)](_0x1cdf77),_0x3ecf80['push'](this['_saveCache'](_0x1b8b9f)[_0x58b5b8(0x289)](()=>{const _0x18c8c1=_0x58b5b8;this['_saveTaskMap'][_0x18c8c1(0x141)](_0x1b8b9f);}));}),await Promise[_0x733634(0x260)](_0x3ecf80);}};Le=_n([Ee(0x0,_0x8e7106),Ee(0x1,_0x2b41b1),Ee(0x2,_0x5033cb(_0x1996cf))],Le);class hn extends _0x4ddff1{constructor(){const _0x1f063a=_0x64618b;super(),_(this,'urlChange$'),this[_0x1f063a(0x231)]=_0x282fe4(window,_0x1f063a(0x2e8))[_0x1f063a(0x25e)](_0xf9f0d5(this[_0x1f063a(0x1a6)]),_0xa8cb90(0x1),_0x203496(void 0x0));}[_0x64618b(0x2d1)](_0x2e271f,_0x231da2,_0x309ed0=!0x1){const _0x5effce=_0x64618b,_0x114238=new URL(window['location'][_0x5effce(0x24b)]);_0x114238[_0x5effce(0x15c)][_0x5effce(0x21b)](_0x2e271f,_0x231da2),_0x309ed0?window[_0x5effce(0x1c4)]['replaceState']('','',_0x114238[_0x5effce(0x185)]()):window[_0x5effce(0x1c4)]['pushState']('','',_0x114238[_0x5effce(0x185)]());}[_0x64618b(0x14b)](_0x57641d,_0x516c76=!0x1){const _0x23cc7b=_0x64618b,_0x178d50=new URL(window[_0x23cc7b(0x221)][_0x23cc7b(0x24b)]);_0x178d50[_0x23cc7b(0x15c)][_0x23cc7b(0x141)](_0x57641d),_0x516c76?window[_0x23cc7b(0x1c4)][_0x23cc7b(0x1ad)]('','',_0x178d50[_0x23cc7b(0x185)]()):window[_0x23cc7b(0x1c4)][_0x23cc7b(0x160)]('','',_0x178d50[_0x23cc7b(0x185)]());}['getParam'](_0x1dbd16){const _0x2f51c3=_0x64618b;var _0x4a4694;return(_0x4a4694=new URL(window[_0x2f51c3(0x221)][_0x2f51c3(0x24b)])[_0x2f51c3(0x15c)][_0x2f51c3(0x23c)](_0x1dbd16))!=null?_0x4a4694:void 0x0;}}var un=Object[_0x64618b(0x2b9)],dn=Object[_0x64618b(0x1bc)],fn=(_0x4ecb24,_0x293667,_0x5db3c9)=>_0x293667 in _0x4ecb24?un(_0x4ecb24,_0x293667,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5db3c9}):_0x4ecb24[_0x293667]=_0x5db3c9,Sn=(_0x12c245,_0xf3f393,_0xc1553a,_0x64b08)=>{for(var _0x305299=_0x64b08>0x1?void 0x0:_0x64b08?dn(_0xf3f393,_0xc1553a):_0xf3f393,_0x207623=_0x12c245['length']-0x1,_0x4e2d6b;_0x207623>=0x0;_0x207623--)(_0x4e2d6b=_0x12c245[_0x207623])&&(_0x305299=_0x4e2d6b(_0x305299)||_0x305299);return _0x305299;},Oe=(_0x5d1c7a,_0x5ed2bf)=>(_0x1700d0,_0x214fea)=>_0x5ed2bf(_0x1700d0,_0x214fea,_0x5d1c7a),mn=(_0x4762d3,_0xd9f592,_0x200397)=>fn(_0x4762d3,_0xd9f592+'',_0x200397);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x2c548a{constructor(_0xd5dda5=et,_0x442e69,_0x2366ae,_0x47d079){const _0xbdef76=_0x64618b;super(),this[_0xbdef76(0x311)]=_0xd5dda5,this[_0xbdef76(0x342)]=_0x442e69,this[_0xbdef76(0x30c)]=_0x2366ae,this[_0xbdef76(0x20c)]=_0x47d079;const {..._0x4e47b9}=_0x32f801({},et,this[_0xbdef76(0x311)]);this[_0xbdef76(0x20c)][_0xbdef76(0x331)](Zi,_0x4e47b9);}[_0x64618b(0x314)](){const _0x196849=_0x64618b;this['_registerDependencies'](),this[_0x196849(0x2d0)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x33db6b=_0x64618b;var _0x40030f;const _0x37616a=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x405659,{'useClass':_0xefa18a}],[_0x212ecf,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x1bad60(this['_injector'],_0x10af78(_0x37616a,(_0x40030f=this['_config'])==null?void 0x0:_0x40030f[_0x33db6b(0x29f)]));}[_0x64618b(0x246)](){const _0xd5f220=_0x64618b;this[_0xd5f220(0x241)](this[_0xd5f220(0x342)][_0xd5f220(0x2f9)](_0x55218d[_0xd5f220(0x1d0)],[we])),this[_0xd5f220(0x241)](this[_0xd5f220(0x342)]['registerRenderModule'](_0x55218d[_0xd5f220(0x258)],[Pe]));}[_0x64618b(0x2d0)](){const _0x3bbcf3=_0x64618b;_0x55a510(this[_0x3bbcf3(0x30c)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x64618b(0x285),In),Ae=Sn([_0x1a8199(_0x420057),Oe(0x1,_0x479a8),Oe(0x2,_0x5033cb(_0x5d0444)),Oe(0x3,_0x8e7106)],Ae);var gn=Object[_0x64618b(0x1bc)],vn=(_0x969fff,_0x23ed0a,_0x288f41,_0x36d990)=>{const _0x1a5c3c=_0x64618b;for(var _0x1e3461=_0x36d990>0x1?void 0x0:_0x36d990?gn(_0x23ed0a,_0x288f41):_0x23ed0a,_0x2c6583=_0x969fff[_0x1a5c3c(0x148)]-0x1,_0x208995;_0x2c6583>=0x0;_0x2c6583--)(_0x208995=_0x969fff[_0x2c6583])&&(_0x1e3461=_0x208995(_0x1e3461)||_0x1e3461);return _0x1e3461;},K=(_0x38b654,_0x14e86d)=>(_0x5dd153,_0x5dd646)=>_0x14e86d(_0x5dd153,_0x5dd646,_0x38b654);let st=class extends _0x2082c4{constructor(_0x28ffbd,_0x4af564,_0x3483e0,_0x4d3c80,_0x5c30ed){super(_0x28ffbd,_0x4af564,_0x3483e0,_0x4d3c80,_0x5c30ed);}async[_0x64618b(0x2fb)](_0x1be33f){const _0x42843f=_0x64618b,_0x152ce0=await this[_0x42843f(0x2ea)](),_0xea7fc8=this[_0x42843f(0x1f9)](_0x1be33f,_0x152ce0);return this[_0x42843f(0x225)](_0xea7fc8);}[_0x64618b(0x1f9)](_0x5c3e2f,_0x22de8e){const _0x5e083f=_0x64618b,_0x103cab=typeof window>'u'?new URL(_0x5c3e2f):new URL(_0x5c3e2f,window[_0x5e083f(0x221)][_0x5e083f(0x2ff)]);_0x103cab[_0x5e083f(0x15c)][_0x5e083f(0x21b)](_0x5e083f(0x1dd),_0x22de8e);const _0x3c364b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5e083f(0x221)][_0x5e083f(0x2c7)]);return _0x3c364b['get'](_0x5e083f(0x205))&&_0x103cab[_0x5e083f(0x15c)][_0x5e083f(0x21b)](_0x5e083f(0x205),_0x3c364b['get']('runId')),_0x103cab[_0x5e083f(0x185)]();}async[_0x64618b(0x2ea)](){const _0x37cddc=_0x64618b;var _0x53ecd6,_0x2118ed,_0xd21ce6;const _0x296b9a=this[_0x37cddc(0x20c)][_0x37cddc(0x2f3)](_0x4e72ac),_0x161a7d=(_0x53ecd6=_0x296b9a==null?void 0x0:_0x296b9a[_0x37cddc(0x319)])!=null?_0x53ecd6:_0x55056a;return(_0xd21ce6=(_0x2118ed=(await this['_httpService'][_0x37cddc(0x23c)](_0x161a7d,{'headers':{'Content-Type':_0x37cddc(0x150)}}))['body'])==null?void 0x0:_0x2118ed[_0x37cddc(0x284)])!=null?_0xd21ce6:'';}};st=vn([K(0x0,_0x5033cb(_0x5d0444)),K(0x1,_0x5033cb(_0x511497)),K(0x2,_0x8e7106),K(0x3,_0x2b7a43),K(0x4,_0x3e1e1d)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0xfd192d{constructor(){const _0x2ec813=_0x64618b;super(),_(this,_0x2ec813(0x2da),_0x26dde8()),_(this,'_selfUnitIDs',new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x2ec813(0x14c),null),_(this,_0x2ec813(0x261),new Map()),_(this,_0x2ec813(0x1f4),new Map()),this['_init']();}['dispose'](){const _0x464199=_0x64618b;super['dispose'](),this[_0x464199(0x261)]['forEach']((_0x397cc8,_0x54ba76)=>this[_0x464199(0x2e7)](_0x54ba76)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x464199(0x14c)]);}[_0x64618b(0x265)](_0x5d6a05){const _0x3770f1=_0x64618b;return this['_ensureSubject'](_0x5d6a05)[_0x3770f1(0x25e)](_0x33ccb0());}[_0x64618b(0x27c)](_0x58c3f2){const _0x32a199=_0x64618b;this[_0x32a199(0x1e2)][_0x32a199(0x317)]===0x0&&this[_0x32a199(0x1cd)](),this[_0x32a199(0x1e2)][_0x32a199(0x29e)](_0x58c3f2),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x58c3f2],'isForwarded':!0x1});}['disposeUnit'](_0x5d579d){const _0x1159db=_0x64618b;this[_0x1159db(0x1e2)]['delete'](_0x5d579d),this[_0x1159db(0x1e2)][_0x1159db(0x317)]===0x0&&this[_0x1159db(0x14c)]&&window[_0x1159db(0x26b)](this['_heartbeatTimer']);}[_0x64618b(0x2ab)](){const _0x5bb5c1=_0x64618b;this['disposeWithMe'](_0x467123(_0x282fe4(window,_0x5bb5c1(0x318))[_0x5bb5c1(0x1f0)](_0x2d732a=>{const _0x4d7e13=_0x5bb5c1;if(_0x2d732a['key']!==nt||!_0x2d732a['newValue'])return;const _0x15621b=JSON['parse'](_0x2d732a[_0x4d7e13(0x338)]);this[_0x4d7e13(0x1e4)](_0x15621b);}))),window[_0x5bb5c1(0x281)](_0x5bb5c1(0x161),()=>this[_0x5bb5c1(0x2ed)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x5bb5c1(0x208)](this[_0x5bb5c1(0x1e2)])}));}[_0x64618b(0x1e4)](_0x484838){const _0x587f3c=_0x64618b;switch(_0x484838[_0x587f3c(0x243)]){case 0x0:this[_0x587f3c(0x232)](_0x484838);break;case 0x1:this['_handleLeaveEvent'](_0x484838);break;case 0x2:this['_handleHeartbeatEvent'](_0x484838);break;}}[_0x64618b(0x232)](_0x44078f){const _0x150a98=_0x64618b,{unitIDs:_0x18358b,memberID:_0x4b5a5c,isForwarded:_0x344661}=_0x44078f;_0x18358b['forEach'](_0x5127d6=>{const _0x4bdc67=_0x5700;if(!_0x344661&&this[_0x4bdc67(0x1b6)][_0x4bdc67(0x1ef)](_0x5127d6)&&this['_ensureSubject'](_0x5127d6)[_0x4bdc67(0x343)](_0x201f5e[_0x4bdc67(0x33e)]),!this[_0x4bdc67(0x1b6)][_0x4bdc67(0x1ef)](_0x5127d6)||!this['_unitOnClients']['get'](_0x5127d6)['has'](_0x4b5a5c)){const _0x4da56c=this[_0x4bdc67(0x1b6)][_0x4bdc67(0x23c)](_0x5127d6)||new Set();_0x4da56c[_0x4bdc67(0x29e)](_0x4b5a5c),this[_0x4bdc67(0x1b6)]['set'](_0x5127d6,_0x4da56c),this[_0x4bdc67(0x1d7)](_0x4b5a5c);}}),_0x344661||this[_0x150a98(0x2ed)]({'type':0x0,'memberID':this[_0x150a98(0x2da)],'unitIDs':[...this[_0x150a98(0x1e2)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3f770c){const _0x1e0f86=_0x64618b;this[_0x1e0f86(0x2e7)](_0x3f770c);const _0xef31a6=window[_0x1e0f86(0x1a5)](()=>{const _0x2df715=_0x1e0f86;this[_0x2df715(0x1b6)][_0x2df715(0x25f)](_0x3e89d4=>{const _0x4100e3=_0x2df715;_0x3e89d4[_0x4100e3(0x141)](_0x3f770c);});},it*0x2);this[_0x1e0f86(0x261)][_0x1e0f86(0x21b)](_0x3f770c,_0xef31a6);}[_0x64618b(0x2e7)](_0x1b2040){const _0x521824=_0x64618b;if(this[_0x521824(0x261)]['has'](_0x1b2040)){const _0x59e5c6=this[_0x521824(0x261)][_0x521824(0x23c)](_0x1b2040);_0x59e5c6&&window[_0x521824(0x19c)](_0x59e5c6),this[_0x521824(0x261)][_0x521824(0x21b)](_0x1b2040,null);}}[_0x64618b(0x147)](_0x4a00b7){const _0x351fe1=_0x64618b,{memberID:_0xfe3577,unitIDs:_0x4c55e6}=_0x4a00b7;_0x4c55e6[_0x351fe1(0x25f)](_0x9ba480=>{const _0x33b333=_0x351fe1;var _0x51ed50;const _0x19689d=this[_0x33b333(0x1b6)][_0x33b333(0x23c)](_0x9ba480);_0x19689d&&(_0x19689d[_0x33b333(0x141)](_0xfe3577),(_0x51ed50=this[_0x33b333(0x27a)](_0x9ba480))==null||_0x51ed50['next'](_0x19689d[_0x33b333(0x317)]===0x0?_0x201f5e[_0x33b333(0x315)]:_0x201f5e[_0x33b333(0x33e)]));}),this[_0x351fe1(0x2e7)](_0xfe3577);}[_0x64618b(0x282)](_0x17b0ab){const _0x57e1a5=_0x64618b;this[_0x57e1a5(0x1d7)](_0x17b0ab[_0x57e1a5(0x2bf)]);}['_send'](_0x1e1ad8){const _0x18b962=_0x64618b;localStorage[_0x18b962(0x293)](nt,JSON[_0x18b962(0x235)](_0x1e1ad8));}[_0x64618b(0x1cd)](){const _0x375466=_0x64618b;this['_heartbeatTimer']=window[_0x375466(0x143)](()=>{const _0x5e222c=_0x375466;this[_0x5e222c(0x2ed)]({'type':0x2,'memberID':this['_id']});},it);}[_0x64618b(0x27a)](_0x5cdb74){const _0xd94ab0=_0x64618b;return this['_unitStatus'][_0xd94ab0(0x1ef)](_0x5cdb74)||this['_unitStatus'][_0xd94ab0(0x21b)](_0x5cdb74,new _0x3d4fde(_0x201f5e['NO_OTHER_CLIENTS_EDITING'])),this[_0xd94ab0(0x1f4)][_0xd94ab0(0x23c)](_0x5cdb74);}}var Mt=(_0x23fbbc=>(_0x23fbbc[_0x23fbbc[_0x64618b(0x259)]=0x0]=_0x64618b(0x259),_0x23fbbc[_0x23fbbc['OK']=0x1]='OK',_0x23fbbc[_0x23fbbc[_0x64618b(0x2ca)]=0x2]=_0x64618b(0x2ca),_0x23fbbc[_0x23fbbc['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x23fbbc[_0x23fbbc['NOT_FOUND']=0x4]=_0x64618b(0x18c),_0x23fbbc[_0x23fbbc[_0x64618b(0x2a9)]=0x5]=_0x64618b(0x2a9),_0x23fbbc[_0x23fbbc[_0x64618b(0x23a)]=0x6]=_0x64618b(0x23a),_0x23fbbc[_0x23fbbc[_0x64618b(0x28e)]=0x7]=_0x64618b(0x28e),_0x23fbbc[_0x23fbbc['TOO_MANY_REQUESTS']=0x8]=_0x64618b(0x1fd),_0x23fbbc[_0x23fbbc['COMPLETION_FINISHED']=0x9]=_0x64618b(0x2df),_0x23fbbc[_0x23fbbc['LOGIN_FAILED']=0xa]=_0x64618b(0x276),_0x23fbbc[_0x23fbbc['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x64618b(0x247),_0x23fbbc[_0x23fbbc[_0x64618b(0x1c5)]=0x1771]=_0x64618b(0x1c5),_0x23fbbc[_0x23fbbc['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x64618b(0x2c5),_0x23fbbc[_0x23fbbc[_0x64618b(0x21d)]=0x1773]=_0x64618b(0x21d),_0x23fbbc[_0x23fbbc[_0x64618b(0x2d2)]=0x1b59]=_0x64618b(0x2d2),_0x23fbbc[_0x23fbbc['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x64618b(0x2b6),_0x23fbbc[_0x23fbbc['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x64618b(0x157),_0x23fbbc[_0x23fbbc[_0x64618b(0x2b0)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x23fbbc[_0x23fbbc[_0x64618b(0x32a)]=0x1b5d]='APPLY_DUPLICATED',_0x23fbbc[_0x23fbbc[_0x64618b(0x31e)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x23fbbc[_0x23fbbc[_0x64618b(0x301)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x23fbbc[_0x23fbbc['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x64618b(0x168),_0x23fbbc[_0x23fbbc[_0x64618b(0x28d)]=0x232b]=_0x64618b(0x28d),_0x23fbbc[_0x23fbbc['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x23fbbc[_0x23fbbc[_0x64618b(0x257)]=0x232d]=_0x64618b(0x257),_0x23fbbc[_0x23fbbc['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x64618b(0x30d),_0x23fbbc[_0x23fbbc[_0x64618b(0x2db)]=0x2712]=_0x64618b(0x2db),_0x23fbbc[_0x23fbbc[_0x64618b(0x170)]=0x2713]=_0x64618b(0x170),_0x23fbbc[_0x23fbbc[_0x64618b(0x27e)]=0x2714]=_0x64618b(0x27e),_0x23fbbc[_0x23fbbc['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x64618b(0x16c),_0x23fbbc[_0x23fbbc['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x64618b(0x1d1),_0x23fbbc[_0x23fbbc[_0x64618b(0x183)]=0x271c]=_0x64618b(0x183),_0x23fbbc[_0x23fbbc[_0x64618b(0x14d)]=0x271d]=_0x64618b(0x14d),_0x23fbbc[_0x23fbbc['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x64618b(0x329),_0x23fbbc[_0x23fbbc[_0x64618b(0x2a1)]=0x271f]=_0x64618b(0x2a1),_0x23fbbc[_0x23fbbc[_0x64618b(0x2e1)]=0x2af9]=_0x64618b(0x2e1),_0x23fbbc[_0x23fbbc[_0x64618b(0x267)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x23fbbc[_0x23fbbc[_0x64618b(0x2cf)]=0x2ee2]='INVALID_INVITE_CODE',_0x23fbbc[_0x23fbbc[_0x64618b(0x152)]=0x2ee3]=_0x64618b(0x152),_0x23fbbc[_0x23fbbc[_0x64618b(0x1b5)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x23fbbc[_0x23fbbc[_0x64618b(0x2dd)]=0x2ee5]=_0x64618b(0x2dd),_0x23fbbc[_0x23fbbc[_0x64618b(0x1b1)]=0x32c9]=_0x64618b(0x1b1),_0x23fbbc[_0x23fbbc[_0x64618b(0x219)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x23fbbc[_0x23fbbc[_0x64618b(0x189)]=0x32cb]=_0x64618b(0x189),_0x23fbbc[_0x23fbbc[_0x64618b(0x339)]=-0x1]=_0x64618b(0x339),_0x23fbbc))(Mt||{}),pn=Object[_0x64618b(0x1bc)],Cn=(_0x595da6,_0x56d26e,_0x30c418,_0x24ad6f)=>{const _0x297c52=_0x64618b;for(var _0x1a0ef2=_0x24ad6f>0x1?void 0x0:_0x24ad6f?pn(_0x56d26e,_0x30c418):_0x56d26e,_0x5b734e=_0x595da6[_0x297c52(0x148)]-0x1,_0x41d1b7;_0x5b734e>=0x0;_0x5b734e--)(_0x41d1b7=_0x595da6[_0x5b734e])&&(_0x1a0ef2=_0x41d1b7(_0x1a0ef2)||_0x1a0ef2);return _0x1a0ef2;},be=(_0x56f59e,_0xb55671)=>(_0x1ef4e2,_0x186192)=>_0xb55671(_0x1ef4e2,_0x186192,_0x56f59e);let rt=class extends _0xfd192d{constructor(_0x56e794,_0x210ad3,_0x4b4f7c){const _0x4542f6=_0x64618b;super(),this[_0x4542f6(0x18e)]=_0x56e794,this['_httpService']=_0x210ad3,this[_0x4542f6(0x20c)]=_0x4b4f7c;}async['runOnServer'](_0x4d0dc1,_0x196969,_0x125e24,..._0x3349a3){const _0x3e2d6b=_0x64618b;var _0x349785,_0x4337a6,_0x1753ae,_0x5ef8cb;const _0x59f5c5=this[_0x3e2d6b(0x18e)][_0x3e2d6b(0x30e)]();if(!_0x59f5c5)throw new Error(_0x3e2d6b(0x1f8));const _0x1c0f3c=((_0x349785=this['_configService'][_0x3e2d6b(0x2f3)](_0x2ee7f8))!=null?_0x349785:_0x4128ca)+'/'+_0x4d0dc1+_0x3e2d6b(0x330)+_0x196969,_0xc04bc8=new URL(window[_0x3e2d6b(0x221)][_0x3e2d6b(0x24b)]),_0x49a994={'scriptId':_0x4d0dc1,'runId':(_0x4337a6=_0xc04bc8['searchParams'][_0x3e2d6b(0x23c)](_0x3e2d6b(0x205)))!=null?_0x4337a6:'','function':_0x196969,'unitId':_0x59f5c5[_0x3e2d6b(0x333)](),'argsOfFunction':JSON[_0x3e2d6b(0x235)](_0x3349a3),'invokeId':(_0x1753ae=_0x125e24[_0x3e2d6b(0x234)])!=null?_0x1753ae:'','executionId':(_0x5ef8cb=_0x125e24['executionId'])!=null?_0x5ef8cb:''};try{const _0x5aaea8=await this[_0x3e2d6b(0x271)][_0x3e2d6b(0x1fe)](_0x1c0f3c,{'body':_0x49a994});return _0x5aaea8[_0x3e2d6b(0x1ea)][_0x3e2d6b(0x2de)]&&_0x5aaea8[_0x3e2d6b(0x1ea)][_0x3e2d6b(0x2de)][_0x3e2d6b(0x2f5)]!==Mt['OK']?_0x3e2d6b(0x18f):_0x5aaea8[_0x3e2d6b(0x1ea)][_0x3e2d6b(0x269)];}catch{return _0x3e2d6b(0x18f);}}};rt=Cn([be(0x0,_0x56a9dd),be(0x1,_0x5033cb(_0x511497)),be(0x2,_0x8e7106)],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 _0x34b9d0=_0x219f;(function(_0x1381ee,_0x49ef6b){const _0xe80c10=_0x219f,_0x37b19c=_0x1381ee();while(!![]){try{const _0xdd7cd9=parseInt(_0xe80c10(0x398))/0x1*(parseInt(_0xe80c10(0x217))/0x2)+parseInt(_0xe80c10(0x2d4))/0x3+parseInt(_0xe80c10(0x292))/0x4+-parseInt(_0xe80c10(0x2b8))/0x5*(-parseInt(_0xe80c10(0x23e))/0x6)+parseInt(_0xe80c10(0x2f7))/0x7+-parseInt(_0xe80c10(0x2a2))/0x8+-parseInt(_0xe80c10(0x334))/0x9;if(_0xdd7cd9===_0x49ef6b)break;else _0x37b19c['push'](_0x37b19c['shift']());}catch(_0x54c035){_0x37b19c['push'](_0x37b19c['shift']());}}}(_0x510b,0xf2784));var $t=Object[_0x34b9d0(0x3ce)],xt=(_0x413890,_0x5e62bd,_0x1714c1)=>_0x5e62bd in _0x413890?$t(_0x413890,_0x5e62bd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1714c1}):_0x413890[_0x5e62bd]=_0x1714c1,_=(_0x12521f,_0x34b17b,_0x1cc347)=>xt(_0x12521f,typeof _0x34b17b!=_0x34b9d0(0x31e)?_0x34b17b+'':_0x34b17b,_0x1cc347);import{MemberService as _0x42eb6f,SessionStatus as _0x34c774,CollaborationSessionService as _0x12500c,CollaborationStatus as _0xbb8257,CollaborationController as _0x41490b,ILocalCacheService as _0x33b887,CollaborationUIEventService as _0x226f99,CollaborationUIEventId as _0x15a8c6,DataLoaderService as _0x115a28,DocCollaborationEntity as _0x52598c,getLocalCacheKey as _0x236523,LOCAL_CACHE_INTERVAL as _0x360f30,LOCAL_CACHE_INTERVAL_KEY as _0x1a9424,UniverCollaborationClientPlugin as _0x4446f3,CollaborationSocketService as _0x2a98fc,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5d8b4d,DEFAULT_WS_SESSION_TICKET_URL as _0x15428e,UnitStatus as _0x46c10a,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4433ab,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5b681f}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2b0107,Disposable as _0x43e103,DOC_RANGE_TYPE as _0xc992c1,Inject as _0x8d18a4,Injector as _0x197dec,IUniverInstanceService as _0x44c7b8,ICommandService as _0x4efc79,debounce as _0x547091,Rectangle as _0x580769,DisposableCollection as _0x96782b,toDisposable as _0x21a460,UniverInstanceType as _0x10129e,Tools as _0x312106,COLORS as _0x2d9cc2,ColorKit as _0x2db9c2,ThemeService as _0x36da35,fromEventSubject as _0x35d832,LocaleService as _0x2c6c36,createIdentifier as _0x2323f0,ILogService as _0x5a6d22,Optional as _0x3b9918,Workbook as _0x2d57c2,CommandType as _0x57a245,IConfigService as _0x129578,ILocalStorageService as _0x742536,DependentOn as _0x5379c1,Plugin as _0x230d0c,merge as _0x66d9d,registerDependencies as _0x33041d,mergeOverrideWithDependencies as _0x12d16a,touchDependencies as _0x24d1ec,generateRandomId as _0x5c3365}from'@univerjs/core';import{Shape as _0x309e22,Rect as _0x1d3673,getColor as _0x2f8011,RegularPolygon as _0x2a5119,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x44b454,Vector2 as _0x3035fe,SHEET_VIEWPORT_KEY as _0x54423a,IRenderManagerService as _0x12775b}from'@univerjs/engine-render';import{ISocketService as _0x3c9243,WebSocketService as _0x3978b2,HTTPService as _0x5e1b87}from'@univerjs/network';import{IDocClipboardService as _0x44b660,NodePositionConvertToCursor as _0x440c1e,NodePositionConvertToRectRange as _0x161ed5,TEXT_RANGE_LAYER_INDEX as _0x187820,SetDocZoomRatioOperation as _0x2e8219,DocIMEInputManagerService as _0x21dd3c,DocStateChangeManagerService as _0x6395e7}from'@univerjs/docs-ui';import{IImageIoService as _0x3d3c19}from'@univerjs/drawing';import{BehaviorSubject as _0xcd9cee,debounceTime as _0xf75b0,takeUntil as _0x289d7f,Subject as _0x169b48,filter as _0x58b911,switchMap as _0x4da633,merge as _0x332fe1,combineLatest as _0x4e56f5,of as _0x301d8c,fromEvent as _0x508e24,shareReplay as _0x1d2154,mapTo as _0x131454,distinctUntilChanged as _0xadf336}from'rxjs';import{SetTextSelectionsOperation as _0x4e2daa,RichTextEditingMutation as _0x587ed5,DocSelectionManagerService as _0x525793,DocSkeletonManagerService as _0x29cdf0}from'@univerjs/docs';import{ITransformService as _0x4c6bdb,CollaborationEvent as _0x21bcd9,isTransformMutationFailure as _0x5c4e5f,isTransformMutationsWithChangesetSuccess as _0x518339,RevisionService as _0x16a722,ISnapshotServerService as _0x292b0f}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x59ace4,serializeRangeWithSheet as _0x3cb1d0}from'@univerjs/engine-formula';import{RefRangeService as _0x15b239,SetSelectionsOperation as _0xda561c,SheetsSelectionsService as _0x5d8f24,EffectRefRangId as _0x4453ab,handleIRemoveRow as _0x2d207b,handleIRemoveCol as _0x285b35,handleMoveRange as _0x5cdebe,handleInsertRow as _0x5a7d2d,handleInsertRangeMoveRight as _0x19ba2a,handleInsertRangeMoveDown as _0x3a3e65,handleInsertCol as _0x2c91bb,handleDeleteRangeMoveUp as _0x2ab67d,handleDeleteRangeMoveLeft as _0x4d7aba,runRefRangeMutations as _0xf09cd6,SetWorksheetActivateCommand as _0x28ccd7}from'@univerjs/sheets';import{map as _0x14da0d,filter as _0x257de8,throttleTime as _0x598a5d,takeUntil as _0x11bbb9,switchMap as _0xd4b9d8}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4dad40,getCoordByCell as _0x50f2a1,getSheetObject as _0x171ba1}from'@univerjs/sheets-ui';import{jsx as _0x21dd6a,jsxs as _0x3f7c1c}from'react/jsx-runtime';import{useObservable as _0x5dca2f,useDependency as _0x7d438d,IUIPartsService as _0x2f82d6,BuiltInUIPart as _0x4c2724,connectInjector as _0x419784,IBeforeCloseService as _0x1c7809,IMessageService as _0x2d22ac,INotificationService as _0x5c53e8}from'@univerjs/ui';import{Tooltip as _0x6a3f12,clsx as _0x14d466,MessageType as _0x27110b}from'@univerjs/design';import{forwardRef as _0x482d77,useRef as _0x331999,createElement as _0x23304b,useCallback as _0x2c2d73}from'react';import{IRemoteInstanceService as _0x283dca}from'@univerjs/rpc';var ci=Object[_0x34b9d0(0x3a9)],li=(_0x591a03,_0x23e78d,_0x28def7,_0x2c4ef5)=>{const _0x4bc23e=_0x34b9d0;for(var _0xd08665=_0x2c4ef5>0x1?void 0x0:_0x2c4ef5?ci(_0x23e78d,_0x28def7):_0x23e78d,_0x3627f3=_0x591a03[_0x4bc23e(0x389)]-0x1,_0x1728c1;_0x3627f3>=0x0;_0x3627f3--)(_0x1728c1=_0x591a03[_0x3627f3])&&(_0xd08665=_0x1728c1(_0xd08665)||_0xd08665);return _0xd08665;},Je=(_0x1eb51a,_0x5d7876)=>(_0x498505,_0x2de472)=>_0x5d7876(_0x498505,_0x2de472,_0x1eb51a);let Ne=class extends _0x2b0107{constructor(_0xaa8ed8,_0x35e341){super(),this['_docClipboardService']=_0xaa8ed8,this['_imageIoService']=_0x35e341,this['_init']();}['_init'](){const _0x5a8015=_0x34b9d0,_0x2e6450=this;this[_0x5a8015(0x2a0)](this[_0x5a8015(0x205)]['addClipboardHook']({'onBeforePasteImage':async _0x1b9c70=>{const _0x4f9fad=_0x5a8015,_0x1b3455=await _0x2e6450['_imageIoService']['saveImage'](_0x1b9c70);return _0x1b3455?{'source':_0x1b3455[_0x4f9fad(0x33b)],'imageSourceType':_0x1b3455[_0x4f9fad(0x336)]}:null;}}));}};Ne=li([Je(0x0,_0x44b660),Je(0x1,_0x3d3c19)],Ne);const Ze=[_0x34b9d0(0x310),_0x34b9d0(0x35b),_0x34b9d0(0x30d),_0x34b9d0(0x200),'blue.400',_0x34b9d0(0x1de)];class ke extends _0x43e103{constructor(){const _0x949880=_0x34b9d0;super(...arguments),_(this,_0x949880(0x388),new Map()),_(this,_0x949880(0x2b1),0x0);}[_0x34b9d0(0x2ed)](_0x52bc61){const _0x3ba853=_0x34b9d0;if(this['_assignedColors'][_0x3ba853(0x2c8)](_0x52bc61))return this[_0x3ba853(0x388)][_0x3ba853(0x21c)](_0x52bc61);const _0x57e9f2=Ze[this[_0x3ba853(0x2b1)]];return this[_0x3ba853(0x2b1)]=(this[_0x3ba853(0x2b1)]+0x1)%Ze[_0x3ba853(0x389)],this[_0x3ba853(0x388)][_0x3ba853(0x1ff)](_0x52bc61,_0x57e9f2),_0x57e9f2;}}function Tt(_0x1ca6b2){let _0x176b30='';for(const _0x452627 of _0x1ca6b2){const {startOffset:_0x44ba60,endOffset:_0x2db747,isActive:_0x39c267,rangeType:_0x565ef5,segmentId:_0x27b234,segmentPage:_0xc475de}=_0x452627;_0x176b30['length']&&(_0x176b30+=','),_0x176b30+=_0x44ba60+':'+_0x2db747+':'+(_0x39c267?'1':'0')+':'+_0x565ef5+':'+_0x27b234+':'+_0xc475de;}return _0x176b30;}function _i(_0x580c60){const _0xf466f4=_0x34b9d0,_0x39622a=_0x580c60['split'](','),_0x4c508e=[];for(const _0x3cdc1e of _0x39622a){const [_0x3adf3e,_0x454a29,_0x5f26f2,_0x2e2bb0,_0x3a1a27,_0x39963b]=_0x3cdc1e[_0xf466f4(0x3c8)](':');_0x4c508e[_0xf466f4(0x221)]({'startOffset':Number(_0x3adf3e),'endOffset':Number(_0x454a29),'collapsed':_0x3adf3e===_0x454a29,'isActive':_0x5f26f2==='1','rangeType':_0x2e2bb0===_0xc992c1['TEXT']?_0xc992c1['TEXT']:_0xc992c1[_0xf466f4(0x1d1)],'segmentId':typeof _0x3a1a27==_0xf466f4(0x2b0)?String(_0x3a1a27):'','segmentPage':Number(_0x39963b!=null?_0x39963b:-0x1)});}return _0x4c508e[_0xf466f4(0x2a9)](_0x41b601=>_0x41b601['isActive'])||(_0x4c508e[0x0]['isActive']=!0x0),_0x4c508e;}class He extends _0x2b0107{constructor(){const _0x480927=_0x34b9d0;super(...arguments),_(this,_0x480927(0x3ca),new _0xcd9cee(null)),_(this,_0x480927(0x260),this['_collabCursorState$'][_0x480927(0x38d)]());}[_0x34b9d0(0x297)](_0x59b5d3){const {unitID:_0x479a28,memberID:_0x36f939,textRanges:_0x19bba3}=_0x59b5d3,_0xec60fb=Tt(_0x19bba3);if(_0xec60fb==='')return;const _0x1907d5={'unitID':_0x479a28,'memberID':_0x36f939,'selection':_0xec60fb};this['_collabCursorState$']['next'](_0x1907d5);}}var hi=Object[_0x34b9d0(0x3a9)],ui=(_0x37eb33,_0x1c43af,_0x4c4860,_0x54806a)=>{const _0x3cb8c7=_0x34b9d0;for(var _0x346d10=_0x54806a>0x1?void 0x0:_0x54806a?hi(_0x1c43af,_0x4c4860):_0x1c43af,_0x53ce11=_0x37eb33[_0x3cb8c7(0x389)]-0x1,_0x3e5451;_0x53ce11>=0x0;_0x53ce11--)(_0x3e5451=_0x37eb33[_0x53ce11])&&(_0x346d10=_0x3e5451(_0x346d10)||_0x346d10);return _0x346d10;},P=(_0x40b7af,_0x3b2fc6)=>(_0xddaef1,_0x4ef868)=>_0x3b2fc6(_0xddaef1,_0x4ef868,_0x40b7af);const di=0x12c,fi=0x64;let Ue=class extends _0x2b0107{constructor(_0x1df551,_0x59edd7,_0x864d93,_0x7508ff,_0x43716f,_0x4e580d,_0x589d04,_0x453a1a,_0x2950b2){const _0x83d4b0=_0x34b9d0;super(),_(this,_0x83d4b0(0x359),!0x1),_(this,'_init',!0x1),_(this,_0x83d4b0(0x2a3),new _0xcd9cee(new Map())),_(this,_0x83d4b0(0x2ef),this['_cursorInfo$']['asObservable']()),_(this,_0x83d4b0(0x2ad),new _0xcd9cee([])),_(this,'roomMembers$',this['_roomMembers$']['pipe'](_0xf75b0(di))),_(this,_0x83d4b0(0x2fa),_0x547091(_0x3864ad=>{const _0x3a73b1=_0x83d4b0,_0x2abe52={'eventID':_0x21bcd9[_0x3a73b1(0x2f4)],'data':{'unitID':this[_0x3a73b1(0x371)],'memberID':this[_0x3a73b1(0x238)][_0x3a73b1(0x3c2)](),'selection':Tt(_0x3864ad)}};this['_session']['send'](_0x2abe52,this['unitID']);},fi)),(this[_0x83d4b0(0x371)]=_0x1df551,this[_0x83d4b0(0x238)]=_0x59edd7,this[_0x83d4b0(0x3d7)]=_0x864d93,this['_colorAssignService']=_0x7508ff,this['_memberService']=_0x43716f,this[_0x83d4b0(0x350)]=_0x4e580d,this[_0x83d4b0(0x280)]=_0x589d04,this[_0x83d4b0(0x234)]=_0x453a1a,this[_0x83d4b0(0x220)]=_0x2950b2);}get['cursorInfo'](){const _0x433f67=_0x34b9d0;return this[_0x433f67(0x2a3)]['getValue']();}get[_0x34b9d0(0x356)](){const _0x2e1bdc=_0x34b9d0;return this['_roomMembers$'][_0x2e1bdc(0x2e3)]();}[_0x34b9d0(0x25c)](){const _0x2d324d=_0x34b9d0;super[_0x2d324d(0x25c)](),this['_cursorInfo$'][_0x2d324d(0x2ec)](new Map()),this['_cursorInfo$'][_0x2d324d(0x25a)](),this[_0x2d324d(0x2ad)][_0x2d324d(0x2ec)]([]),this['_roomMembers$'][_0x2d324d(0x25a)]();}[_0x34b9d0(0x3d6)](){const _0x2607f4=_0x34b9d0;this[_0x2607f4(0x39c)]||(this[_0x2607f4(0x39c)]=!0x0,this[_0x2607f4(0x238)][_0x2607f4(0x1d4)][_0x2607f4(0x210)](_0x289d7f(this[_0x2607f4(0x2fc)]))['subscribe'](_0x262716=>{const _0x3c700d=_0x2607f4;_0x262716===_0x34c774[_0x3c700d(0x2d9)]?this[_0x3c700d(0x28a)]():this[_0x3c700d(0x2cf)]();}),this[_0x2607f4(0x238)]['event$'][_0x2607f4(0x210)](_0x289d7f(this[_0x2607f4(0x2fc)]))[_0x2607f4(0x209)](_0x132120=>{const _0x593a03=_0x2607f4,_0x502013=_0x132120[_0x593a03(0x34c)];_0x502013===_0x21bcd9[_0x593a03(0x2f4)]&&this[_0x593a03(0x276)](_0x132120),_0x502013===_0x21bcd9[_0x593a03(0x339)]&&this[_0x593a03(0x1d8)](_0x132120);}),this[_0x2607f4(0x2a0)](this[_0x2607f4(0x220)][_0x2607f4(0x2ee)](_0x42c294=>{const _0x19d25c=_0x2607f4,_0x2de408=_0x42c294[_0x19d25c(0x382)];_0x2de408!=null&&this[_0x19d25c(0x359)]&&_0x42c294['id']===_0x4e2daa['id']&&_0x2de408[_0x19d25c(0x22a)]===this[_0x19d25c(0x371)]&&_0x2de408[_0x19d25c(0x39f)]===!0x1&&_0x2de408[_0x19d25c(0x2b6)][_0x19d25c(0x389)]>0x0&&this['_updateLocalCursor'](_0x2de408[_0x19d25c(0x2b6)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x2607f4(0x210)](_0x289d7f(this[_0x2607f4(0x2fc)]))[_0x2607f4(0x209)](_0x1691c3=>{const _0x10c7aa=_0x2607f4;if((_0x1691c3==null?void 0x0:_0x1691c3[_0x10c7aa(0x371)])!==this['unitID'])return;const _0x30c524={'eventID':_0x21bcd9[_0x10c7aa(0x2f4)],'data':_0x1691c3};this[_0x10c7aa(0x276)](_0x30c524);}),this[_0x2607f4(0x2a0)](this[_0x2607f4(0x220)][_0x2607f4(0x2ee)](_0xec9986=>{const _0x3e0a05=_0x2607f4;if(_0xec9986['params']==null)return;const _0x448b6f=_0xec9986[_0x3e0a05(0x382)];if(_0xec9986['id']!==_0x587ed5['id']||_0x448b6f[_0x3e0a05(0x22a)]!==this['unitID'])return;const _0x4bc029={'id':'doc.mutation.rich-text-editing','params':_0x448b6f},_0x5e01e9=this[_0x3e0a05(0x390)];for(const [_0x53dd9c,_0x8bedd5]of _0x5e01e9){const _0x3c45b3={'id':_0x3e0a05(0x3ac),'params':{'unitId':this[_0x3e0a05(0x371)],'actions':null,'textRanges':_0x8bedd5['ranges']}},_0x302344=this[_0x3e0a05(0x280)]['transformMutation'](_0x4bc029,_0x3c45b3,!0x1);if(_0x5c4e5f(_0x302344))throw _0x302344[_0x3e0a05(0x28f)];_0x5e01e9[_0x3e0a05(0x1ff)](_0x53dd9c,{..._0x8bedd5,'ranges':_0x302344[_0x3e0a05(0x1ee)][_0x3e0a05(0x382)][_0x3e0a05(0x316)]});}queueMicrotask(()=>{const _0x19275c=_0x3e0a05;this[_0x19275c(0x2a3)][_0x19275c(0x2ec)](_0x5e01e9);});})));}['_onCursorUpdate'](_0x330cf7){const _0x159216=_0x34b9d0;var _0x39183a,_0x5d1775;const {memberID:_0x37f5d4,selection:_0x2d3c3f}=_0x330cf7['data'],_0x19123d=_i(_0x2d3c3f),_0xa8cd14=(_0x5d1775=(_0x39183a=this[_0x159216(0x309)][_0x159216(0x2cc)](this[_0x159216(0x371)],_0x37f5d4))==null?void 0x0:_0x39183a[_0x159216(0x243)])!=null?_0x5d1775:_0x159216(0x3bc),_0x486edb={'color':this[_0x159216(0x318)][_0x159216(0x2ed)](_0x37f5d4),'name':_0xa8cd14,'ranges':_0x19123d},_0x546bac=this[_0x159216(0x390)];_0x546bac[_0x159216(0x1ff)](_0x37f5d4,_0x486edb),this[_0x159216(0x2a3)][_0x159216(0x2ec)](_0x546bac);}['_onCursorDelete'](_0x273068){const _0x3fabf0=_0x34b9d0,{memberID:_0x202704}=_0x273068[_0x3fabf0(0x304)],_0xc9649e=this[_0x3fabf0(0x390)];_0xc9649e[_0x3fabf0(0x226)](_0x202704),this[_0x3fabf0(0x2a3)]['next'](_0xc9649e);}[_0x34b9d0(0x28a)](){const _0x4f6fe9=_0x34b9d0;var _0x47d1d0;if(this[_0x4f6fe9(0x359)]=!0x0,((_0x47d1d0=this[_0x4f6fe9(0x234)][_0x4f6fe9(0x2be)]())==null?void 0x0:_0x47d1d0['getUnitId']())!==this[_0x4f6fe9(0x371)])return;const _0x535970=this['_injector']['get'](_0x525793)['getDocRanges']();Array[_0x4f6fe9(0x36a)](_0x535970)&&_0x535970[_0x4f6fe9(0x389)]>0x0&&this['_updateLocalCursor'](_0x535970);}['_toggleOffline'](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x8d18a4(_0x197dec)),P(0x3,_0x8d18a4(ke)),P(0x4,_0x8d18a4(_0x42eb6f)),P(0x5,_0x8d18a4(He)),P(0x6,_0x4c6bdb),P(0x7,_0x44c7b8),P(0x8,_0x4efc79)],Ue);var Si=Object[_0x34b9d0(0x3a9)],mi=(_0x38cf2d,_0x568de4,_0x41e0ea,_0x439ae4)=>{const _0x223930=_0x34b9d0;for(var _0x272e97=_0x439ae4>0x1?void 0x0:_0x439ae4?Si(_0x568de4,_0x41e0ea):_0x568de4,_0x5432a9=_0x38cf2d[_0x223930(0x389)]-0x1,_0x5487c9;_0x5432a9>=0x0;_0x5432a9--)(_0x5487c9=_0x38cf2d[_0x5432a9])&&(_0x272e97=_0x5487c9(_0x272e97)||_0x272e97);return _0x272e97;},x=(_0x1b6262,_0x1f13e5)=>(_0x3437d6,_0x4d8891)=>_0x1f13e5(_0x3437d6,_0x4d8891,_0x1b6262);const Ii=0x12c,gi=0x64,vi=()=>{let _0x77e6bd=[],_0x43e369=!0x1;return _0x301952=>{_0x77e6bd['push'](_0x301952),_0x43e369||(_0x43e369=!0x0,setTimeout(()=>{const _0x2cef37=_0x219f;_0x77e6bd[_0x2cef37(0x2e7)](_0x2d9d06=>_0x2d9d06()),_0x77e6bd=[],_0x43e369=!0x1;}));};};let Me=class extends _0x2b0107{constructor(_0x41d07a,_0x56fe97,_0x452ef1,_0x2a8b56,_0x382963,_0x10de64,_0x2e83aa,_0x5920a6){const _0x48b3ae=_0x34b9d0;super(),_(this,_0x48b3ae(0x359),!0x1),_(this,_0x48b3ae(0x39c),!0x1),_(this,_0x48b3ae(0x2a3),new _0xcd9cee(new Map())),_(this,'cursorInfo$',this[_0x48b3ae(0x2a3)]['asObservable']()),_(this,_0x48b3ae(0x2ad),new _0xcd9cee([])),_(this,'roomMembers$',this['_roomMembers$'][_0x48b3ae(0x210)](_0xf75b0(Ii))),_(this,_0x48b3ae(0x2fa),_0x547091((_0x38004f,_0x5da255)=>{const _0x3a3749=_0x48b3ae,_0x23883e={'eventID':_0x21bcd9[_0x3a3749(0x2f4)],'data':{'unitID':this[_0x3a3749(0x371)],'memberID':this[_0x3a3749(0x238)][_0x3a3749(0x3c2)](),'selection':_0x3cb1d0(_0x38004f,_0x5da255[_0x3a3749(0x27e)])}};this['_session'][_0x3a3749(0x1f2)](_0x23883e,this['unitID']);},gi)),(this[_0x48b3ae(0x371)]=_0x41d07a,this[_0x48b3ae(0x238)]=_0x56fe97,this[_0x48b3ae(0x3d7)]=_0x452ef1,this[_0x48b3ae(0x318)]=_0x2a8b56,this[_0x48b3ae(0x309)]=_0x382963,this['_univerInstanceService']=_0x10de64,this[_0x48b3ae(0x220)]=_0x2e83aa,this[_0x48b3ae(0x225)]=_0x5920a6);}get['cursorInfo'](){const _0x4ce741=_0x34b9d0;return this['_cursorInfo$'][_0x4ce741(0x2e3)]();}get[_0x34b9d0(0x356)](){const _0x324a3e=_0x34b9d0;return this[_0x324a3e(0x2ad)][_0x324a3e(0x2e3)]();}[_0x34b9d0(0x25c)](){const _0x305500=_0x34b9d0;super[_0x305500(0x25c)](),this[_0x305500(0x2a3)][_0x305500(0x2ec)](new Map()),this[_0x305500(0x2a3)][_0x305500(0x25a)](),this['_roomMembers$'][_0x305500(0x2ec)]([]),this[_0x305500(0x2ad)][_0x305500(0x25a)]();}[_0x34b9d0(0x3d6)](){const _0x567ff2=_0x34b9d0;this[_0x567ff2(0x39c)]||(this[_0x567ff2(0x39c)]=!0x0,this[_0x567ff2(0x238)][_0x567ff2(0x1d4)][_0x567ff2(0x210)](_0x289d7f(this[_0x567ff2(0x2fc)]))[_0x567ff2(0x209)](_0x5d55c3=>{const _0x569448=_0x567ff2;_0x5d55c3===_0x34c774[_0x569448(0x2d9)]?this['_toggleOnline']():this[_0x569448(0x2cf)]();}),this[_0x567ff2(0x238)][_0x567ff2(0x289)][_0x567ff2(0x210)](_0x289d7f(this[_0x567ff2(0x2fc)]))['subscribe'](_0xa9b3a7=>{const _0x23640d=_0x567ff2,_0x38ca63=_0xa9b3a7['eventID'];_0x38ca63===_0x21bcd9[_0x23640d(0x2f4)]&&this[_0x23640d(0x276)](_0xa9b3a7),_0x38ca63===_0x21bcd9[_0x23640d(0x339)]&&this['_onCursorDelete'](_0xa9b3a7);}),this[_0x567ff2(0x23a)](),this[_0x567ff2(0x2a0)](this[_0x567ff2(0x220)][_0x567ff2(0x2ee)](_0x96dc9d=>{const _0x1eaf21=_0x567ff2;if(this[_0x1eaf21(0x359)]&&_0x96dc9d['id']===_0xda561c['id']&&_0x96dc9d[_0x1eaf21(0x382)][_0x1eaf21(0x22a)]===this[_0x1eaf21(0x371)]){const _0x103db4=_0x96dc9d[_0x1eaf21(0x382)];this[_0x1eaf21(0x2fa)](_0x103db4[_0x1eaf21(0x24e)],_0x103db4[_0x1eaf21(0x29b)][0x0]);}})));}[_0x34b9d0(0x276)](_0x25331b){const _0x363496=_0x34b9d0;var _0x2d4dc5,_0x4f5d3f;const {memberID:_0x1d84a7,selection:_0x1c2d00}=_0x25331b['data'],{sheetName:_0x907afe,range:_0x5e8027}=_0x59ace4(_0x1c2d00),_0x6a5e94={'name':(_0x4f5d3f=(_0x2d4dc5=this[_0x363496(0x309)][_0x363496(0x2cc)](this[_0x363496(0x371)],_0x1d84a7))==null?void 0x0:_0x2d4dc5[_0x363496(0x243)])!=null?_0x4f5d3f:'Unknown\x20user','range':this[_0x363496(0x37d)](_0x907afe,_0x5e8027),'sheetID':_0x907afe,'color':this[_0x363496(0x318)]['assignAColorForMemberID'](_0x1d84a7),'selection':_0x1c2d00},_0x550ae5=this[_0x363496(0x390)];_0x550ae5[_0x363496(0x1ff)](_0x1d84a7,_0x6a5e94),this['_cursorInfo$'][_0x363496(0x2ec)](_0x550ae5);}[_0x34b9d0(0x1d8)](_0x4d2141){const _0x49e100=_0x34b9d0,{memberID:_0x3dc588}=_0x4d2141[_0x49e100(0x304)],_0x5ec4cd=this[_0x49e100(0x390)];_0x5ec4cd['delete'](_0x3dc588),this[_0x49e100(0x2a3)]['next'](_0x5ec4cd);}['_getMergeRange'](_0x1b566a,_0x257ba4){const _0x3f8dff=_0x34b9d0;var _0x5662c4,_0x4b10f4;const _0x9912f=(_0x4b10f4=(_0x5662c4=this[_0x3f8dff(0x234)][_0x3f8dff(0x20d)](this[_0x3f8dff(0x371)]))==null?void 0x0:_0x5662c4[_0x3f8dff(0x258)](_0x1b566a))==null?void 0x0:_0x4b10f4[_0x3f8dff(0x3aa)]();return(_0x9912f==null?void 0x0:_0x9912f[_0x3f8dff(0x1e3)](_0x369166=>_0x580769[_0x3f8dff(0x3af)](_0x369166,_0x257ba4)))||_0x257ba4;}[_0x34b9d0(0x23a)](){const _0x6c84c9=_0x34b9d0,_0x3c4101=new _0x96782b(),_0x5740a5=vi(),_0x519ea4=()=>{const _0x1dbbf3=_0x219f;_0x3c4101[_0x1dbbf3(0x25c)]();const _0x142af4=(_0x52b1be,_0x561985,_0x5d1ad2,_0x363da0)=>{const _0x5e375a=_0x1dbbf3;let _0x2c30ff=[];switch(_0x52b1be['id']){case _0x4453ab[_0x5e375a(0x2ac)]:{_0x2c30ff=_0x4d7aba(_0x52b1be,_0x363da0);break;}case _0x4453ab[_0x5e375a(0x358)]:{_0x2c30ff=_0x2ab67d(_0x52b1be,_0x363da0);break;}case _0x4453ab[_0x5e375a(0x362)]:{_0x2c30ff=_0x2c91bb(_0x52b1be,_0x363da0);break;}case _0x4453ab[_0x5e375a(0x3b0)]:{_0x2c30ff=_0x3a3e65(_0x52b1be,_0x363da0);break;}case _0x4453ab[_0x5e375a(0x242)]:{_0x2c30ff=_0x19ba2a(_0x52b1be,_0x363da0);break;}case _0x4453ab['InsertRowCommandId']:{_0x2c30ff=_0x5a7d2d(_0x52b1be,_0x363da0);break;}case _0x4453ab[_0x5e375a(0x1fd)]:{_0x2c30ff=_0x5cdebe(_0x52b1be,_0x363da0);break;}case _0x4453ab[_0x5e375a(0x363)]:{_0x2c30ff=_0x285b35(_0x52b1be,_0x363da0);break;}case _0x4453ab[_0x5e375a(0x1f7)]:{_0x2c30ff=_0x2d207b(_0x52b1be,_0x363da0);break;}}const _0x3ec552=_0xf09cd6(_0x2c30ff,_0x363da0),_0x57fdb4=this['cursorInfo']['get'](_0x561985);if(_0x57fdb4&&_0x3ec552){const _0x2722cb={..._0x57fdb4,'range':_0x3ec552};this['cursorInfo'][_0x5e375a(0x1ff)](_0x561985,_0x2722cb),_0x5740a5(()=>{const _0x51b54f=_0x5e375a,_0x120ae6=this['_refRangeService'][_0x51b54f(0x2e0)](_0x3ec552,_0x4a6526=>(_0x120ae6['dispose'](),_0x142af4(_0x4a6526,_0x561985,_0x5d1ad2,_0x3ec552)));_0x3c4101[_0x51b54f(0x1d5)](_0x120ae6);});}return{'redos':[],'undos':[]};};this[_0x1dbbf3(0x390)]['forEach']((_0x73f8eb,_0x319ff2)=>{const _0x3789c4=_0x1dbbf3,{range:_0x4954df,sheetID:_0x37062f}=_0x73f8eb,_0x507568=this['_refRangeService'][_0x3789c4(0x2e0)](_0x4954df,_0x505582=>(_0x507568['dispose'](),_0x142af4(_0x505582,_0x319ff2,_0x37062f,_0x4954df)));_0x3c4101[_0x3789c4(0x1d5)](_0x507568);});};this[_0x6c84c9(0x2a0)](_0x21a460(this[_0x6c84c9(0x2a3)]['subscribe'](()=>{_0x519ea4();})));}['_toggleOnline'](){const _0x2e937e=_0x34b9d0;var _0x4c4965,_0xe2bfdd;if(this[_0x2e937e(0x359)]=!0x0,((_0x4c4965=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x4c4965[_0x2e937e(0x35e)]())!==this[_0x2e937e(0x371)])return;const _0x247068=(_0xe2bfdd=this['_injector'][_0x2e937e(0x21c)](_0x5d8f24)[_0x2e937e(0x3da)]())==null?void 0x0:_0xe2bfdd[0x0],_0x3866a8=this[_0x2e937e(0x234)]['getCurrentUnitForType'](_0x10129e[_0x2e937e(0x2d6)])['getActiveSheet']();_0x247068&&_0x3866a8&&this[_0x2e937e(0x2fa)](_0x3866a8[_0x2e937e(0x1f1)](),_0x247068);}[_0x34b9d0(0x2cf)](){const _0xd3be76=_0x34b9d0;this[_0xd3be76(0x359)]=!0x1;}};Me=mi([x(0x2,_0x8d18a4(_0x197dec)),x(0x3,_0x8d18a4(ke)),x(0x4,_0x8d18a4(_0x42eb6f)),x(0x5,_0x44c7b8),x(0x6,_0x4efc79),x(0x7,_0x8d18a4(_0x15b239))],Me);var pi=Object[_0x34b9d0(0x3a9)],Ci=(_0x1b5a17,_0x3663c9,_0x1b1bc9,_0x486dfc)=>{const _0x2de26c=_0x34b9d0;for(var _0x32fcb8=_0x486dfc>0x1?void 0x0:_0x486dfc?pi(_0x3663c9,_0x1b1bc9):_0x3663c9,_0xd53fbb=_0x1b5a17[_0x2de26c(0x389)]-0x1,_0x564bd8;_0xd53fbb>=0x0;_0xd53fbb--)(_0x564bd8=_0x1b5a17[_0xd53fbb])&&(_0x32fcb8=_0x564bd8(_0x32fcb8)||_0x32fcb8);return _0x32fcb8;},Se=(_0x14dd5c,_0x1e5bc5)=>(_0x5cbdc1,_0x1e03fc)=>_0x1e5bc5(_0x5cbdc1,_0x1e03fc,_0x14dd5c);let H=class extends _0x2b0107{constructor(_0x1cb4d1,_0x40aa32,_0x9c1fe6){const _0x232626=_0x34b9d0;super(),_(this,_0x232626(0x1fb),new Map()),_(this,_0x232626(0x27f),new _0x169b48()),(this[_0x232626(0x234)]=_0x1cb4d1,this['_injector']=_0x40aa32,this[_0x232626(0x21f)]=_0x9c1fe6,this[_0x232626(0x39c)]());}['dispose'](){const _0x3776d5=_0x34b9d0;super[_0x3776d5(0x25c)](),this[_0x3776d5(0x27f)]['complete'](),this['_entities']['forEach'](_0x753fd1=>_0x753fd1['dispose']());}[_0x34b9d0(0x2a6)](_0x5b8b2c){const _0xd57ab=_0x34b9d0;return this[_0xd57ab(0x1fb)][_0xd57ab(0x2c8)](_0x5b8b2c)?this[_0xd57ab(0x1fb)]['get'](_0x5b8b2c)['cursorInfo$']:this[_0xd57ab(0x27f)][_0xd57ab(0x210)](_0x58b911(_0x3bddd6=>_0x3bddd6[_0xd57ab(0x371)]===_0x5b8b2c),_0x4da633(_0x47928d=>_0x47928d[_0xd57ab(0x2ef)]));}[_0x34b9d0(0x39c)](){const _0x307e04=_0x34b9d0;this[_0x307e04(0x234)]['getTypeOfUnitAdded$'](_0x10129e['UNIVER_SHEET'])[_0x307e04(0x210)](_0x289d7f(this['dispose$']))[_0x307e04(0x209)](async _0x196c62=>{const _0xbc7459=_0x307e04,_0x2595dd=_0x196c62[_0xbc7459(0x35e)](),_0x5e9479=await this['_startSheetCollabCursor'](_0x2595dd);this[_0xbc7459(0x27f)]['next'](_0x5e9479),this[_0xbc7459(0x1fb)][_0xbc7459(0x1ff)](_0x2595dd,_0x5e9479);}),this[_0x307e04(0x234)][_0x307e04(0x327)](_0x10129e[_0x307e04(0x3bf)])[_0x307e04(0x210)](_0x289d7f(this[_0x307e04(0x2fc)]))[_0x307e04(0x210)](_0x58b911(_0x120570=>!_0x120570[_0x307e04(0x35e)]()[_0x307e04(0x374)]('__')))['subscribe'](async _0x374dfe=>{const _0xf277f4=_0x307e04,_0x4b76b5=_0x374dfe['getUnitId'](),_0x3ea03b=await this[_0xf277f4(0x219)](_0x4b76b5);this[_0xf277f4(0x27f)][_0xf277f4(0x2ec)](_0x3ea03b),this[_0xf277f4(0x1fb)][_0xf277f4(0x1ff)](_0x4b76b5,_0x3ea03b);}),_0x332fe1(this[_0x307e04(0x234)]['getTypeOfUnitDisposed$'](_0x10129e[_0x307e04(0x3bf)]),this[_0x307e04(0x234)][_0x307e04(0x38a)](_0x10129e['UNIVER_SHEET']))[_0x307e04(0x210)](_0x289d7f(this[_0x307e04(0x2fc)]))[_0x307e04(0x209)](_0x476068=>{const _0x4529a9=_0x307e04,_0xe49b6a=_0x476068['getUnitId'](),_0x19c67d=this[_0x4529a9(0x1fb)][_0x4529a9(0x21c)](_0xe49b6a);_0x19c67d&&(_0x19c67d[_0x4529a9(0x25c)](),this['_entities'][_0x4529a9(0x226)](_0xe49b6a));});}async[_0x34b9d0(0x22d)](_0x176200){const _0x18e8a8=_0x34b9d0,_0x2e6db8=await this[_0x18e8a8(0x21f)][_0x18e8a8(0x2f1)](_0x176200),_0x410492=this[_0x18e8a8(0x3d7)]['createInstance'](Me,_0x176200,_0x2e6db8);return _0x410492[_0x18e8a8(0x3d6)](),_0x410492;}async[_0x34b9d0(0x219)](_0x401350){const _0x51b013=_0x34b9d0,_0x47e6e7=await this[_0x51b013(0x21f)][_0x51b013(0x2f1)](_0x401350),_0x45ad13=this[_0x51b013(0x3d7)][_0x51b013(0x347)](Ue,_0x401350,_0x47e6e7);return _0x45ad13[_0x51b013(0x3d6)](),_0x45ad13;}};H=Ci([Se(0x0,_0x44c7b8),Se(0x1,_0x8d18a4(_0x197dec)),Se(0x2,_0x8d18a4(_0x12500c))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function _0x510b(){const _0x55bff6=['getRangePointData','_unitOnClients','getMember','_httpService','fillRule','_toggleOffline','COMPLETION_FINISHED','indexOf','subscribeEvent','1em','3125757mtvhqA','permission.title','UNIVER_SHEET','_backgroundColor','startRow','ONLINE','focused$','width','EMAIL_HAS_BEEN_BOUND','OffLineIcon','_instanceService','addObjects','registerRefRange','searchParams','MUTATION','getValue','setActiveRange','_transformUndoRedoStack','redoState','forEach','INVALID_INVITE_CODE','CLOSE_ROOM','Failed','getCollabEntity$','next','assignAColorForMemberID','onCommandExecuted','cursorInfo$','OTHER_CLIENT_EDITING','requireSession','docStateChange$','unload','UPDATE_CURSOR','values','HEADER_MENU','9522422XawzrW','addHandlerCallback','_render','_updateLocalCursor','currentSkeleton$','dispose$','INVITE_CODE_REQUIRED','_getSessionTicket','getOwnPropertySymbols','collabStatus.syncing','getColorFromTheme','APPLY_REVISION_CONFILICT','_range','data','colorChannel1','function','defIds','endRow','_memberService','hovered','_updateSubUnitFromURLParams','getOffsetConfig','green.600','result','replaceState','purple.300','_ensureSubject','createSocket','INVALID_ARGUMENT','getDocRanges','attrs','textRanges','actions','_colorAssignService','stringify','_beforeCloseService','UNRECOGNIZED','_getAnchorBounding','getItem','symbol','show','off-line-icon_clip0_910_343','xlink:href','startColumn','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','location','TOO_MANY_REQUESTS','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getTypeOfUnitAdded$','YUUMI_UNABLE_LOAD_URL','_docSkeleton','row','from','font','pluginName','onPointerMove$','_removeClearOtherTimer','extend','getRenderById','_selfUnitIDs','collab-rect-range-','35520390faonCN','OFFLINE','imageSourceType','whenReady','body','USERS_LEAVE','AWAITING_WITH_PENDING','source','_removeCollabCursors','top','newValue','assign','wsSessionTicketUrl','parse','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','fillStyle','apply','replace','permission.content','createInstance','unit','INTERNAL_ERROR','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','height','eventID','_cursor','getConfig','LOGIN_FAILED','_syncEditingCollabCursorService','setUndoRedoMutationParamsCache','SNAPSHOT_HAS_BEEN_REMOVED','invokeId','urlChange$','session.collaboration-timeout','roomMembers','collaboration.single-unit.warning','DeleteRangeMoveUpCommandId','_online','none','jiqing.500','type','search','getUnitId','replaceDocRanges','getCurrentRevOfUnit','addObject','InsertColCommandId','RemoveColCommandId','INVITE_CODE_ALREADY_BOUND','mutations','_cursors','flatMap','APPLY_REJECT','_textBubble','isArray','/run/','currentTheme$','use','_hovered','onLocalMutation','toString','unitID','unshift','APPLY_NON_SEQUENTIAL_REVISION','startsWith','column','APPLY_DUPLICATED','setShapeProps','setParam','triggerDblclick','getCellPositionByOffset','hasOwnProperty','text','_getMergeRange','_scheduleSaving','_scheduleClearOtherTimer','_collaborationController','_unitStatus','params','[CollaborationDataLoaderController]','_docTransformSelectionsService','disableLocalCache','map','size','_assignedColors','length','getTypeOfUnitDisposed$','_initStatusListener','_registerRenderDependencies','asObservable','min','getUnitStatus$','cursorInfo','UniverIcon','onPointerLeave$','getParam','ticket','ENSURE_SNAPSHOT_EXECUTION','SUBMIT_CHANGESET_TIMEOUT','resize','10FkwYxS','getActiveRange','_initCommandExecutedListener','post','_init','_send','svg','isEditing','Error','getVpScrollXYInfoByPosToVp','defs','className','_labelPosition','setConfig','_handleHover','CONNECTOR_DATA_TOO_LARGE','_config','getOwnPropertyDescriptor','getMergeData','runId','doc.mutation.rich-text-editing','session.connection-failed','executeCommand','contains','InsertRangeMoveDownCommandId','_handleLeaveEvent','then','OTHER_CLIENTS_EDITING','runOnServer','_getSheetObject','collabStatus.fetchMiss','memberID','evenodd','_name','[RemoteUniscriptService]:\x20no\x20focused\x20unit','loadUnit','Unknown\x20user','exhaustSavingTask','measureText','UNIVER_DOC','_messageService','getStateCache','getMemberID','path','currentColor','entries','_initDependencies','propertyIsEnumerable','split','LICENSE_EXPORT_SIZE_EXCEEDED','_collabCursorState$','getActiveSheet','_document','_docTransformIMECacheService','defineProperty','url(#$1','_saveCache','getRelativeToViewportCoord','on-line-icon_clip0_910_349','SOCKET_FAILED','LICENSE_MAX_UNITS_EXCEEDED','onRendered','init','_injector','children','_handleEvent','getCurrentSelections','_localCacheService','clipPath','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','save','RECT','LICENSE_IMPORT_SIZE_EXCEEDED','_uiPartsService','sessionStatus$','add','_saveTaskMap','idSuffix','_onCursorDelete','collabStatus.offline','_shapes','0\x200\x2016\x2016','VIEW_MAIN','override','yellow.400','_anchorDot','call','saveOfflineData','_anchor','find','setTimeout','_clearOtherTimers','APPLY_PERMISSION_DENIED','http://www.w3.org/2000/svg','getAncestorScale','clearTimeout','setAlpha','current','_setupBeforeClosingHandler','code','m2Prime','YUUMI_AI_RUN_FAILED','Warning','getSheetId','send','collabStatus.notCollab','INVITE_CODE_HAS_BEEN_UES','_transformPreviousActiveRange','drawWith','RemoveRowCommandId','YUUMI_NO_CUBOID_FOR_QUESTION','_docTransformStateCacheService','_disabled','_entities','collabStatus.conflict','MoveRangeCommandId','NOT_FOUND','set','red.300','YUUMI_SUBSCRIPTION_NOT_FOUND','transformRemoteChangeset','NO_OTHER_CLIENTS_EDITING','_drawAnchor','_docClipboardService','onTransformChange$','generateRandomId','mask','subscribe','reconnect','history','undoState','getUniverSheetInstance','transformMutationsWithChangeset','fill','pipe','_logService','collab-text-anchor-','moveTo','0\x200\x2017\x2016','USER_NOT_INVITED_CODE','YUUMI_URL_COL_OUT_OF_RANGE','392014xjRHud','_docSkeletonManagerService','_startDocCollabCursor','_lastPointer','NOT_COLLAB','get','registerRenderModule','_handleHeartbeatEvent','_collabSessionService','_commandService','push','PENDING','color','collabStatus.synced','_refRangeService','delete','transformSelections','_createSocketURL','icon','unitId','_cachedData','href','_startSheetCollabCursor','_initResize','_setupSubUnitSync','FromArray','_transformHistoryAndStateStack','PERMISSION_DENIED','_renderManagerService','_univerInstanceService','_configService','collaboration.closeRoom','skeleton','_session','selection','_onRefRangeChange','toRgbString','_docStateChangeManagerService','getSkeleton','2391582oCFocs','_cursorShapes','findNodePositionByCharIndex','_drawRectRange','InsertRangeMoveRightCommandId','name','lineTo','AWAITING','_context','origin','application/json','max','_localeService','JOIN_ROOM_FAILED','_initEvent','PY_RUNTIME_SCRIPT_ERROR','subUnitId','registerBeforeClose','CHANGESET_REVISION_CONFILICT','beginPath','includes','onMouseMove','_eventUnsubscribe','transformIMECache','with','arc','getSheetBySheetId','hide','complete','white','dispose','fillText','round','_updateCollabCursors','collabCursorState$','sessionTicket','on-line-icon','_color','_id','entityInit$','_refreshCollabCursors','translate(.97)','deepClone','_status$','engine','MOBILE_HAS_BEEN_BOUND','transformStateCache','transformMutation','url(#on-line-icon_clip0_910_349)','url(#off-line-icon_clip0_910_343)','_collaborationUIEventService','concat','SOCKET_FAILED_RETRY','univer-flex\x20univer-mr-2\x20univer-text-xl','collaboration-client-ui.config','subunit','_onCursorUpdate','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_draw','m1Prime','setStateCache','prototype','tag','_revisionService','range','_entityInit$','_transformService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','black','random','_themeService','_scene','labelPosition','getUnhiddenWorksheets','div','event$','_toggleOnline','debug','enableLocalCache','YUUMI_ASYNCIO_CANCELLED','getUndoRedoMutationParamsCache','error','onPointerEnter$','_getScale','2124392vmsziN','CONFLICT','setItem','registerComponent','restore','syncEditingCollabCursor','_handleJoinEvent','_updateURLWithCurrentState','_drawTextRange','selections','_initEntityListener','_urlService','removeParam','UNAUTHENTICATED','disposeWithMe','_notificationService','2817312vZONeJ','_cursorInfo$','unsubscribe','UNDEFINED','getCollabCursors$','_heartbeatTimer','_registerDependencies','some','LICENSE_DISTRO_REJECTED','YUUMI_ALL_TABLES_IS_INVALID','DeleteRangeMoveLeftCommandId','_roomMembers$','_hover','displayName','string','_colorIndex','WECHAT_HAS_BEEN_BOUND','_getSaveTimeout','_collabCursorController','status$','ranges','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','5YZLFkI','FETCH_MISS','bottom','_sheetSkeletonManagerService','...','_dataLoaderService','getFocusedUnit','_docSyncEditingCollabCursorService','_localStorageService','executionId','SNAPSHOT_INVALID_SNAPSHOT','_hideTimer','_doCreateSocket','_initStatusComponent','ACTIVE_UNIT_EVENT_CHANNEL','collab-client.tooltip.reconnect','has','ALREADY_EXISTS'];_0x510b=function(){return _0x55bff6;};return _0x510b();}function Oi(_0x4b3bbe,_0x3bcb9d){const _0x64e0df=_0x34b9d0;let {radius:_0xcac3b0,width:_0x4b02bd,height:_0x3227a1}=_0x3bcb9d;_0xcac3b0=_0xcac3b0!=null?_0xcac3b0:0x0,_0x4b02bd=_0x4b02bd!=null?_0x4b02bd:0x1e,_0x3227a1=_0x3227a1!=null?_0x3227a1:0x1e;let _0x38ab9e=0x0,_0x400051=0x0,_0x318f5a=0x0;_0x38ab9e=_0x400051=_0x318f5a=Math['min'](_0xcac3b0,_0x4b02bd/0x2,_0x3227a1/0x2),_0x4b3bbe[_0x64e0df(0x251)](),_0x4b3bbe[_0x64e0df(0x213)](_0x38ab9e,0x0),_0x4b3bbe[_0x64e0df(0x244)](_0x4b02bd-_0x400051,0x0),_0x4b3bbe['arc'](_0x4b02bd-_0x400051,_0x400051,_0x400051,Math['PI']*0x3/0x2,0x0,!0x1),_0x4b3bbe['lineTo'](_0x4b02bd,_0x3227a1-_0x318f5a),_0x4b3bbe[_0x64e0df(0x257)](_0x4b02bd-_0x318f5a,_0x3227a1-_0x318f5a,_0x318f5a,0x0,Math['PI']/0x2,!0x1),_0x4b3bbe['lineTo'](0x0,_0x3227a1),_0x4b3bbe[_0x64e0df(0x244)](0x0,_0x38ab9e),_0x4b3bbe[_0x64e0df(0x257)](_0x38ab9e,_0x38ab9e,_0x38ab9e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4b3bbe['closePath'](),_0x3bcb9d[_0x64e0df(0x20f)]&&(_0x4b3bbe[_0x64e0df(0x3de)](),_0x4b3bbe[_0x64e0df(0x343)]=_0x3bcb9d[_0x64e0df(0x20f)],_0x3bcb9d[_0x64e0df(0x2ce)]===_0x64e0df(0x3b8)?_0x4b3bbe[_0x64e0df(0x20f)](_0x64e0df(0x3b8)):_0x4b3bbe[_0x64e0df(0x20f)](),_0x4b3bbe[_0x64e0df(0x296)]());}class he extends _0x309e22{constructor(_0x4927f9,_0x3af7a2){const _0x369648=_0x34b9d0;super(_0x4927f9,_0x3af7a2),_(this,_0x369648(0x223)),_(this,_0x369648(0x37c)),(this['color']=_0x3af7a2==null?void 0x0:_0x3af7a2[_0x369648(0x223)],this[_0x369648(0x37c)]=_0x3af7a2==null?void 0x0:_0x3af7a2[_0x369648(0x37c)]);}static[_0x34b9d0(0x1f6)](_0x1be8fc,_0x11aa99){const _0x400fe8=_0x34b9d0,{text:_0x2ffd8a,color:_0x3b2d61}=_0x11aa99;_0x1be8fc[_0x400fe8(0x3de)](),_0x1be8fc[_0x400fe8(0x32c)]=_0x400fe8(0x3dd);const _0x1a3cbe=_0x1be8fc['measureText'](_0x2ffd8a)[_0x400fe8(0x2db)],_0x12d6fe=Math[_0x400fe8(0x38e)](_0x1a3cbe+0x2*me,Qe);Oi(_0x1be8fc,{'height':ee,'radius':0x4,'width':_0x12d6fe,'fill':_0x3b2d61}),_0x1be8fc[_0x400fe8(0x343)]='#FFF';const _0x40e2a6=me,_0x526eea=ee-Ei,_0x31d810=Qe-0x2*me;if(_0x1a3cbe>_0x31d810){let _0x567327='',_0x2c1a4d=0x0;for(const _0x31e235 of _0x2ffd8a){const _0x42aeea=_0x1be8fc[_0x400fe8(0x3be)](_0x31e235)['width'];if(_0x2c1a4d+_0x42aeea<=_0x31d810-_0x1be8fc['measureText'](_0x400fe8(0x2bc))[_0x400fe8(0x2db)])_0x567327+=_0x31e235,_0x2c1a4d+=_0x42aeea;else{_0x567327+='...';break;}}_0x1be8fc[_0x400fe8(0x25d)](_0x567327,_0x40e2a6,_0x526eea);}else _0x1be8fc['fillText'](_0x2ffd8a,_0x40e2a6,_0x526eea);_0x1be8fc[_0x400fe8(0x296)]();}[_0x34b9d0(0x278)](_0x235690){const _0x4d2ce7=_0x34b9d0;he[_0x4d2ce7(0x1f6)](_0x235690,this);}}const Ie=_0x34b9d0(0x212),bi='collab-text-range-',Ti=_0x34b9d0(0x333),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x51f365,_0x43d51f,_0x196e2c,_0x1141a6){const _0x12b6de=_0x34b9d0;_(this,_0x12b6de(0x1da),[]),_(this,'_anchor',null),_(this,_0x12b6de(0x369),null),_(this,_0x12b6de(0x1df),null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this[_0x12b6de(0x34d)]=_0x51f365,this[_0x12b6de(0x285)]=_0x43d51f,this[_0x12b6de(0x329)]=_0x196e2c,this[_0x12b6de(0x3cc)]=_0x1141a6,this[_0x12b6de(0x2f9)]());}set[_0x34b9d0(0x2ae)](_0x2015cc){const _0x324171=_0x34b9d0;_0x2015cc?(this[_0x324171(0x1df)]&&this[_0x324171(0x1df)][_0x324171(0x259)](),this['_textBubble']&&this[_0x324171(0x369)][_0x324171(0x31f)]()):(this[_0x324171(0x1df)]&&this[_0x324171(0x1df)]['show'](),this['_textBubble']&&this[_0x324171(0x369)][_0x324171(0x259)]());}[_0x34b9d0(0x25c)](){const _0x5bd5f9=_0x34b9d0;for(const _0x3f2f98 of this[_0x5bd5f9(0x1da)])_0x3f2f98[_0x5bd5f9(0x25c)]();this[_0x5bd5f9(0x369)]&&this[_0x5bd5f9(0x369)][_0x5bd5f9(0x25c)](),this[_0x5bd5f9(0x1df)]&&this['_anchorDot'][_0x5bd5f9(0x25c)](),this[_0x5bd5f9(0x1e2)]&&this[_0x5bd5f9(0x1e2)][_0x5bd5f9(0x25c)](),this[_0x5bd5f9(0x254)]&&this[_0x5bd5f9(0x254)]();}[_0x34b9d0(0x2f9)](){const _0x514b96=_0x34b9d0;var _0x1e69f3;const {_docSkeleton:_0x278ef1,_document:_0x16a272}=this,{color:_0x521736,name:_0x482e59,ranges:_0x5a42d0}=this[_0x514b96(0x34d)],_0x39c944=_0x16a272[_0x514b96(0x30c)](),{docsLeft:_0x4bfa8d,docsTop:_0xa432ec}=_0x39c944,_0x517e1c=new _0x440c1e(_0x39c944,_0x278ef1);for(const {startOffset:_0x28d19c,endOffset:_0x215e9d,rangeType:_0x2ad38a,segmentId:_0x46a293,segmentPage:_0x30043f,collapsed:_0x5f25ae,isActive:_0x76d3a1}of _0x5a42d0){const _0x5169a9=_0x278ef1[_0x514b96(0x240)](_0x28d19c,!0x0,_0x46a293,_0x30043f);let _0x49053c=_0x278ef1[_0x514b96(0x240)](_0x215e9d,!0x0,_0x46a293,_0x30043f);if(_0x49053c==null&&(_0x49053c=_0x278ef1['findNodePositionByCharIndex'](_0x215e9d-0x1,!0x1,_0x46a293,_0x30043f)),_0x76d3a1){const {contentBoxPointGroup:_0x57a390}=_0x517e1c[_0x514b96(0x2ca)](_0x49053c,_0x49053c);if(_0x57a390[_0x514b96(0x389)]===0x0)continue;this[_0x514b96(0x204)](_0x521736,_0x57a390,_0x4bfa8d,_0xa432ec,_0x482e59),this[_0x514b96(0x254)]=this[_0x514b96(0x3a6)]();}if(_0x5169a9&&_0x49053c){if(_0x2ad38a===_0xc992c1['RECT']){const _0x3118a9=new _0x161ed5(_0x39c944,_0x278ef1),{pointGroup:_0x380089}=(_0x1e69f3=_0x3118a9[_0x514b96(0x2ca)](_0x5169a9,_0x49053c))!=null?_0x1e69f3:{};if(_0x380089==null||_0x380089[_0x514b96(0x389)]===0x0)continue;this[_0x514b96(0x241)](_0x521736,_0x380089,_0x4bfa8d,_0xa432ec);}else{if(!_0x5f25ae){const {borderBoxPointGroup:_0x5377e1}=_0x517e1c[_0x514b96(0x2ca)](_0x5169a9,_0x49053c);if(_0x5377e1[_0x514b96(0x389)]===0x0)continue;this[_0x514b96(0x29a)](_0x521736,_0x5377e1,_0x4bfa8d,_0xa432ec);}}}}}[_0x34b9d0(0x204)](_0x12a10d,_0x1dfab2,_0x512910,_0x4cdcbf,_0x3b22ab){const _0x3d645b=_0x34b9d0,_0x246de2=this[_0x3d645b(0x31c)](_0x1dfab2),{left:_0x400742,top:_0x45e8b6,height:_0x315c6c}=_0x246de2,_0x19be52=this[_0x3d645b(0x291)](),_0x316ddf=Di/_0x19be52,_0x4dfad1=new _0x1d3673(Ie+_0x312106[_0x3d645b(0x207)](X),{'left':_0x400742+_0x512910-_0x316ddf,'top':_0x45e8b6+_0x4cdcbf,'height':_0x315c6c,'width':Ri,'fill':_0x12a10d||_0x2f8011(_0x2d9cc2['black'],0x0),'strokeWidth':_0x316ddf,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x4dfad1,this[_0x3d645b(0x285)]['addObject'](_0x4dfad1,_0x187820);const _0x5b2f3d=new _0x1d3673(Ie+_0x312106[_0x3d645b(0x207)](X),{'left':_0x400742+_0x512910-_0x316ddf,'top':_0x45e8b6+_0x4cdcbf-ge/0x2,'height':ge,'width':ge,'fill':_0x12a10d||_0x2f8011(_0x2d9cc2[_0x3d645b(0x282)],0x0),'strokeWidth':0x0,'stroke':_0x12a10d||_0x2f8011(_0x2d9cc2[_0x3d645b(0x282)],0x0),'evented':!0x1});this['_anchorDot']=_0x5b2f3d,this[_0x3d645b(0x285)]['addObject'](_0x5b2f3d,_0x187820);const _0x3a5e58=new he(Ie+_0x312106['generateRandomId'](X),{'left':_0x400742+_0x512910-_0x316ddf,'top':_0x45e8b6+_0x4cdcbf-ee,'text':_0x3b22ab,'color':_0x12a10d});this['_textBubble']=_0x3a5e58,this[_0x3d645b(0x285)][_0x3d645b(0x361)](_0x3a5e58,_0x187820),this['_hover']=!0x1;}[_0x34b9d0(0x3a6)](){const _0x228e70=_0x34b9d0,_0x2ded17=this[_0x228e70(0x1e2)][_0x228e70(0x290)][_0x228e70(0x2d2)](()=>{const _0x34abd1=_0x228e70;this[_0x34abd1(0x2ae)]=!0x0;}),_0x87c406=this['_anchor'][_0x228e70(0x392)][_0x228e70(0x2d2)](()=>{const _0x3d1d67=_0x228e70;this[_0x3d1d67(0x2c3)]&&clearTimeout(this[_0x3d1d67(0x2c3)]),this[_0x3d1d67(0x2c3)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x187fde=_0x228e70;_0x2ded17['unsubscribe'](),_0x87c406[_0x187fde(0x2a4)]();};}[_0x34b9d0(0x29a)](_0x2ccac6,_0x259af1,_0x4f331c,_0x4704b0){const _0x564a46=_0x34b9d0,_0x382643=new _0x2db9c2(_0x2ccac6)[_0x564a46(0x1ea)](0.2)['toRgbString'](),_0xdf9533=new _0x2a5119(bi+_0x312106[_0x564a46(0x207)](X),{'pointsGroup':_0x259af1,'fill':_0x382643||_0x2f8011(_0x2d9cc2[_0x564a46(0x282)],0.2),'left':_0x4f331c,'top':_0x4704b0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x564a46(0x1da)][_0x564a46(0x221)](_0xdf9533),this[_0x564a46(0x285)][_0x564a46(0x361)](_0xdf9533,_0x187820);}[_0x34b9d0(0x241)](_0x557261,_0x2695a5,_0x579c7a,_0x2c954b){const _0x39ba5a=_0x34b9d0,_0x42a4b5=new _0x2db9c2(_0x557261)[_0x39ba5a(0x1ea)](0.2)[_0x39ba5a(0x23b)](),_0x17dc4b=new _0x2a5119(Ti+_0x312106[_0x39ba5a(0x207)](X),{'pointsGroup':_0x2695a5,'fill':_0x42a4b5||_0x2f8011(_0x2d9cc2[_0x39ba5a(0x282)],0.2),'left':_0x579c7a,'top':_0x2c954b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x39ba5a(0x1da)][_0x39ba5a(0x221)](_0x17dc4b),this[_0x39ba5a(0x285)]['addObject'](_0x17dc4b,_0x187820);}[_0x34b9d0(0x31c)](_0x74e642){const _0x41c04f=_0x74e642[0x0],_0x16558d=_0x41c04f[0x0],_0x114aec=_0x41c04f[0x2],{x:_0x4ab022,y:_0x4c4f53}=_0x16558d,{x:_0x44a909,y:_0x326fbf}=_0x114aec;return{'left':_0x4ab022,'top':_0x4c4f53,'width':_0x44a909-_0x4ab022,'height':_0x326fbf-_0x4c4f53};}[_0x34b9d0(0x291)](){const _0x4946cd=_0x34b9d0,{scaleX:_0x29ef8c,scaleY:_0x343cc7}=this[_0x4946cd(0x285)]['getAncestorScale']();return Math[_0x4946cd(0x249)](_0x29ef8c,_0x343cc7);}}var Ui=Object[_0x34b9d0(0x3a9)],Mi=(_0x1aaba1,_0x4a0450,_0x5719c0,_0x2fc1c0)=>{const _0x4fcf7d=_0x34b9d0;for(var _0x508427=_0x2fc1c0>0x1?void 0x0:_0x2fc1c0?Ui(_0x4a0450,_0x5719c0):_0x4a0450,_0x1614e1=_0x1aaba1[_0x4fcf7d(0x389)]-0x1,_0x545b8e;_0x1614e1>=0x0;_0x1614e1--)(_0x545b8e=_0x1aaba1[_0x1614e1])&&(_0x508427=_0x545b8e(_0x508427)||_0x508427);return _0x508427;},Z=(_0x5e4257,_0x14520b)=>(_0x2ce3a0,_0x47d0df)=>_0x14520b(_0x2ce3a0,_0x47d0df,_0x5e4257);let we=class extends _0x2b0107{constructor(_0x3bb77d,_0x5c9cd3,_0x18622a,_0x3c12bd,_0x2f62ce){const _0x5302d7=_0x34b9d0;super(),_(this,'_cursorShapes',[]),_(this,_0x5302d7(0x366),[]),(this[_0x5302d7(0x246)]=_0x3bb77d,this[_0x5302d7(0x218)]=_0x5c9cd3,this['_collabCursorController']=_0x18622a,this[_0x5302d7(0x220)]=_0x3c12bd,this[_0x5302d7(0x284)]=_0x2f62ce,this[_0x5302d7(0x39c)]());}[_0x34b9d0(0x39c)](){const _0x4c0435=_0x34b9d0,_0x5194e2=this[_0x4c0435(0x246)]['unitId'],_0x4876d9=this[_0x4c0435(0x218)];this[_0x4c0435(0x2a0)](_0x4e56f5([this[_0x4c0435(0x2b4)][_0x4c0435(0x2a6)](_0x5194e2),this['_themeService'][_0x4c0435(0x36c)]])[_0x4c0435(0x210)](_0x14da0d(([_0x2a1e54,_0x45b40f])=>({'skeleton':_0x4876d9[_0x4c0435(0x23d)](),'cursors':[..._0x2a1e54['values']()][_0x4c0435(0x367)](_0x4b7b36=>({..._0x4b7b36,'color':this['_themeService'][_0x4c0435(0x301)](_0x4b7b36[_0x4c0435(0x223)])}))})))[_0x4c0435(0x209)](_0x5a24a5=>{const _0xae324c=_0x4c0435;if(this[_0xae324c(0x33c)](),_0x5a24a5){const {skeleton:_0xab15aa,cursors:_0x40cbb7}=_0x5a24a5;this['_updateCollabCursors'](_0xab15aa,_0x40cbb7);}})),this[_0x4c0435(0x22e)](),this[_0x4c0435(0x39a)]();}[_0x34b9d0(0x25f)](_0x4d45c2,_0x14b213){const _0x28e8a8=_0x34b9d0,{scene:_0x2e3071,mainComponent:_0x435713}=this['_context'],_0x33a5c2=_0x14b213[_0x28e8a8(0x386)](_0x9e1f87=>new qe(_0x9e1f87,_0x2e3071,_0x4d45c2,_0x435713));this[_0x28e8a8(0x23f)]=_0x33a5c2,this[_0x28e8a8(0x366)]=_0x14b213;}[_0x34b9d0(0x266)](){const _0x4654e1=_0x34b9d0;this[_0x4654e1(0x33c)]();const {scene:_0x2affee,mainComponent:_0x3e6b47}=this['_context'],_0x2ee578=this[_0x4654e1(0x218)]['getSkeleton'](),_0xec33d4=this[_0x4654e1(0x366)][_0x4654e1(0x386)](_0x407c7a=>new qe(_0x407c7a,_0x2affee,_0x2ee578,_0x3e6b47));this['_cursorShapes']=_0xec33d4;}[_0x34b9d0(0x33c)](){const _0x4d968e=_0x34b9d0;this['_cursorShapes']['forEach'](_0x5e9f2e=>_0x5e9f2e[_0x4d968e(0x25c)]()),this[_0x4d968e(0x23f)]=[];}[_0x34b9d0(0x39a)](){const _0x383a84=_0x34b9d0,_0x7884ee=[_0x2e8219['id']];this[_0x383a84(0x2a0)](this[_0x383a84(0x220)]['onCommandExecuted'](_0xa6c083=>{const _0x32e809=_0x383a84;_0x7884ee['includes'](_0xa6c083['id'])&&_0xa6c083[_0x32e809(0x382)][_0x32e809(0x22a)]===this['_context'][_0x32e809(0x22a)]&&this[_0x32e809(0x266)]();}));}[_0x34b9d0(0x22e)](){const _0x345750=_0x34b9d0;this[_0x345750(0x2a0)](_0x35d832(this[_0x345750(0x246)][_0x345750(0x26a)][_0x345750(0x206)])[_0x345750(0x210)](_0x257de8(_0x26b477=>_0x26b477['type']===_0x44b454[_0x345750(0x397)]),_0x598a5d(0x10))[_0x345750(0x209)](()=>{this['_refreshCollabCursors']();}));}};we=Mi([Z(0x1,_0x8d18a4(_0x29cdf0)),Z(0x2,_0x8d18a4(H)),Z(0x3,_0x4efc79),Z(0x4,_0x8d18a4(_0x36da35))],we);const wi=0x1,Pi=1.5;class Li extends _0x309e22{constructor(_0x3f871d,_0x3ed5c4){const _0x5c984d=_0x34b9d0;super(_0x3f871d,_0x3ed5c4),_(this,_0x5c984d(0x263)),_(this,_0x5c984d(0x36e),!0x1),_(this,_0x5c984d(0x303)),_(this,_0x5c984d(0x3b9),''),_(this,'_labelPosition',_0x5c984d(0x33d)),_(this,_0x5c984d(0x2d7)),(_0x3ed5c4&&this[_0x5c984d(0x377)](_0x3ed5c4),this[_0x5c984d(0x290)][_0x5c984d(0x2d2)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x5c984d(0x2d2)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x34f3a3){const _0x56b8f2=_0x34b9d0;var _0x15901f,_0x192e7f,_0x13564,_0x3fcf6f,_0xc51b69,_0x1fce52;this[_0x56b8f2(0x263)]=(_0x15901f=_0x34f3a3[_0x56b8f2(0x223)])!=null?_0x15901f:this[_0x56b8f2(0x263)],this[_0x56b8f2(0x36e)]=(_0x192e7f=_0x34f3a3[_0x56b8f2(0x30a)])!=null?_0x192e7f:this[_0x56b8f2(0x36e)],this[_0x56b8f2(0x303)]=(_0x13564=_0x34f3a3[_0x56b8f2(0x27e)])!=null?_0x13564:this[_0x56b8f2(0x303)],this[_0x56b8f2(0x3b9)]=(_0x3fcf6f=_0x34f3a3[_0x56b8f2(0x243)])!=null?_0x3fcf6f:this['_name'],this[_0x56b8f2(0x3a4)]=(_0xc51b69=_0x34f3a3[_0x56b8f2(0x286)])!=null?_0xc51b69:this[_0x56b8f2(0x3a4)],this['_backgroundColor']=(_0x1fce52=_0x34f3a3['backgroundColor'])!=null?_0x1fce52:this[_0x56b8f2(0x2d7)],this['transformByState']({'width':_0x34f3a3[_0x56b8f2(0x2db)],'height':_0x34f3a3['height']});}[_0x34b9d0(0x253)](_0x111965){const _0x1c0c47=_0x34b9d0,{row:_0x2162a2,column:_0x2ba3c3}=_0x111965;if(_0x2162a2>=this[_0x1c0c47(0x303)][_0x1c0c47(0x2d8)]&&_0x2162a2<=this[_0x1c0c47(0x303)][_0x1c0c47(0x308)]&&_0x2ba3c3>=this[_0x1c0c47(0x303)][_0x1c0c47(0x322)]&&_0x2ba3c3<=this[_0x1c0c47(0x303)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1c0c47(0x377)]({'hovered':!0x1});}[_0x34b9d0(0x379)](_0x19067a){return!0x1;}[_0x34b9d0(0x278)](_0x2f4e8c){const _0x20ade2=_0x34b9d0;_0x1d3673[_0x20ade2(0x1f6)](_0x2f4e8c,{'width':this[_0x20ade2(0x2db)],'height':this[_0x20ade2(0x34b)],'strokeWidth':Pi,'stroke':this[_0x20ade2(0x263)],'evented':!0x1,'fill':this[_0x20ade2(0x2d7)]}),this['_hovered']&&(_0x2f4e8c[_0x20ade2(0x3de)](),_0x2f4e8c['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x20ade2(0x3a4)]==='bottom'?0x0:-0x14),he['drawWith'](_0x2f4e8c,{'text':this[_0x20ade2(0x3b9)],'color':this[_0x20ade2(0x263)]}),_0x2f4e8c['restore']());}}var Ai=Object[_0x34b9d0(0x3a9)],yi=(_0x275b15,_0x35d809,_0x47b245,_0x276fa3)=>{const _0xcdf31=_0x34b9d0;for(var _0x40ee95=_0x276fa3>0x1?void 0x0:_0x276fa3?Ai(_0x35d809,_0x47b245):_0x35d809,_0x3c5120=_0x275b15[_0xcdf31(0x389)]-0x1,_0x38629c;_0x3c5120>=0x0;_0x3c5120--)(_0x38629c=_0x275b15[_0x3c5120])&&(_0x40ee95=_0x38629c(_0x40ee95)||_0x40ee95);return _0x40ee95;},ve=(_0x4dadd2,_0x3e2cab)=>(_0x3e8391,_0x1e35e9)=>_0x3e2cab(_0x3e8391,_0x1e35e9,_0x4dadd2);const $i=0x1389;let Pe=class extends _0x2b0107{constructor(_0x47deb6,_0x466fa1,_0xda4808,_0x167923){const _0x480529=_0x34b9d0;super(),_(this,_0x480529(0x366),new Set()),_(this,_0x480529(0x21a),null),(this[_0x480529(0x246)]=_0x47deb6,this[_0x480529(0x2bb)]=_0x466fa1,this[_0x480529(0x2b4)]=_0xda4808,this['_themeService']=_0x167923,this['_init']());}[_0x34b9d0(0x39c)](){const _0x4ad56e=_0x34b9d0;this[_0x4ad56e(0x2bb)][_0x4ad56e(0x2fb)][_0x4ad56e(0x210)](_0x11bbb9(this[_0x4ad56e(0x2fc)]),_0xd4b9d8(_0x39a263=>{const _0x4de270=_0x4ad56e;if(_0x39a263){const _0x1b5ccb=_0x39a263['sheetId'];return _0x4e56f5(this['_collabCursorController'][_0x4de270(0x2a6)](this[_0x4de270(0x246)][_0x4de270(0x22a)]),this[_0x4de270(0x284)]['currentTheme$'])['pipe'](_0x14da0d(([_0x3d8e99,_0x3d9a32])=>{const _0x541d5a=new Map();return _0x3d8e99['forEach']((_0x1117f4,_0x258405)=>{const _0x2a7e16=_0x219f;if(_0x1117f4['sheetID']===_0x1b5ccb){const _0x2aff8b={..._0x1117f4};_0x2aff8b[_0x2a7e16(0x223)]=this[_0x2a7e16(0x284)][_0x2a7e16(0x301)](_0x1117f4[_0x2a7e16(0x223)]),_0x541d5a[_0x2a7e16(0x1ff)](_0x258405,_0x2aff8b);}}),{'skeleton':_0x39a263,'cursors':_0x541d5a};}));}return _0x301d8c({'skeleton':null,'cursors':new Map()});}))[_0x4ad56e(0x209)](({skeleton:_0x21a11f,cursors:_0x247151})=>{const _0xf7889=_0x4ad56e;this[_0xf7889(0x33c)](),_0x21a11f&&this[_0xf7889(0x25f)](_0x21a11f,_0x247151);}),this[_0x4ad56e(0x2bb)]['currentSkeleton$'][_0x4ad56e(0x209)](_0x244a0e=>{const _0x412905=_0x4ad56e;if(_0x244a0e==null)return;const {skeleton:_0x7312a1}=_0x244a0e,{scene:_0x43e350}=this[_0x412905(0x246)];_0x43e350[_0x412905(0x32e)]['subscribeEvent'](_0x547091(_0x1ebd93=>{const _0x12ebe0=_0x412905;var _0x368288,_0x498e31;const {offsetX:_0x552ccf,offsetY:_0x301f59}=_0x1ebd93,{x:_0x5a635f,y:_0x3243c8}=_0x43e350[_0x12ebe0(0x3d1)](_0x3035fe[_0x12ebe0(0x230)]([_0x552ccf,_0x301f59])),{scaleX:_0x3f7b53,scaleY:_0x43c414}=_0x43e350[_0x12ebe0(0x1e8)](),_0x5ab8b3=_0x43e350['getViewport'](_0x54423a[_0x12ebe0(0x1dc)]),_0xbb30ef=_0x43e350[_0x12ebe0(0x3a1)](_0x3035fe['FromArray']([_0x5a635f,_0x3243c8]),_0x5ab8b3),_0x2e8932=_0x7312a1[_0x12ebe0(0x37a)](_0x552ccf,_0x301f59,_0x3f7b53,_0x43c414,_0xbb30ef);((_0x368288=this['_lastPointer'])==null?void 0x0:_0x368288[_0x12ebe0(0x375)])===_0x2e8932[_0x12ebe0(0x375)]&&((_0x498e31=this[_0x12ebe0(0x21a)])==null?void 0x0:_0x498e31[_0x12ebe0(0x32a)])===_0x2e8932[_0x12ebe0(0x32a)]||this['_cursors'][_0x12ebe0(0x2e7)](_0x20190e=>{const _0xc85ab8=_0x12ebe0;_0x20190e[_0xc85ab8(0x253)](_0x2e8932);});},0x64));});}[_0x34b9d0(0x25f)](_0x42221f,_0x110f47){const _0x1db6f0=_0x34b9d0;var _0xf29ff2;const _0x9f382c=(_0xf29ff2=this[_0x1db6f0(0x2bb)]['getCurrent']())==null?void 0x0:_0xf29ff2[_0x1db6f0(0x237)];if(!_0x9f382c)return;const _0x4f6f9b=this[_0x1db6f0(0x3b5)]();if(!_0x4f6f9b)return;this[_0x1db6f0(0x366)]['forEach'](_0x5d8d34=>{_0x5d8d34['makeDirty']();});const {scene:_0x4ef758}=_0x4f6f9b,_0xe42448=xi(Array['from'](_0x110f47[_0x1db6f0(0x2f5)]()))[_0x1db6f0(0x386)](_0x44999f=>{const _0x1e267e=_0x1db6f0,{color:_0x1db655,range:_0x4eac15,name:_0xe522b6,selection:_0x282590,sheetID:_0x5593c6}=_0x44999f,{startColumn:_0x20af3c,startRow:_0x4c8324,endColumn:_0x424de7,endRow:_0x2edbbf}=_0x4eac15,_0x326236=_0x50f2a1(_0x4c8324,_0x20af3c,_0x4ef758,_0x9f382c),_0x4175f1=_0x50f2a1(_0x2edbbf,_0x424de7,_0x4ef758,_0x9f382c),{columnHeaderHeightAndMarginTop:_0x575b84}=_0x9f382c,{startX:_0x48cf1a,startY:_0x40cb0b}=_0x326236,{endX:_0x42e8bf,endY:_0x3623ab}=_0x4175f1,_0x322100=_0x42e8bf-_0x48cf1a,_0x4f83b6=_0x3623ab-_0x40cb0b,_0x8e8faa={'labelPosition':_0x40cb0b-_0x575b84>=ee?_0x1e267e(0x33d):_0x1e267e(0x2ba),'sheetID':_0x5593c6,'range':_0x4eac15,'color':_0x1db655,'name':_0xe522b6,'selection':_0x282590,'left':_0x48cf1a,'top':_0x40cb0b,'width':_0x322100,'height':_0x4f83b6,'evented':!0x1,'zIndex':$i};return new Li(_0xe522b6,_0x8e8faa);});_0x4ef758[_0x1db6f0(0x2df)](_0xe42448,wi),this[_0x1db6f0(0x366)]=new Set(_0xe42448);}[_0x34b9d0(0x33c)](){const _0x2ec8f3=_0x34b9d0;var _0x54674a;(_0x54674a=this['_cursors'])==null||_0x54674a[_0x2ec8f3(0x2e7)](_0x5053e2=>_0x5053e2[_0x2ec8f3(0x25c)]());}['_getSheetObject'](){const _0x132ff0=_0x34b9d0;return _0x171ba1(this[_0x132ff0(0x246)][_0x132ff0(0x348)],this[_0x132ff0(0x246)]);}};Pe=yi([ve(0x1,_0x8d18a4(_0x4dad40)),ve(0x2,_0x8d18a4(H)),ve(0x3,_0x8d18a4(_0x36da35))],Pe);function xi(_0x48dd4a){const _0x4a5ea6=_0x34b9d0,_0x1c1133=new Map();return _0x48dd4a[_0x4a5ea6(0x2e7)](_0x3be997=>{const _0x37c7b7=_0x4a5ea6;if(_0x1c1133[_0x37c7b7(0x2c8)](_0x3be997['selection'])){const _0x5e7254=_0x1c1133[_0x37c7b7(0x21c)](_0x3be997[_0x37c7b7(0x239)]);_0x5e7254[_0x37c7b7(0x243)]+=',\x20'+_0x3be997[_0x37c7b7(0x243)];}else _0x1c1133[_0x37c7b7(0x1ff)](_0x3be997[_0x37c7b7(0x239)],_0x3be997);}),Array[_0x4a5ea6(0x32b)](_0x1c1133[_0x4a5ea6(0x2f5)]());}var v=function(){const _0x2c28c2=_0x34b9d0;return v=Object[_0x2c28c2(0x33f)]||function(_0x12b7a0){const _0x3312d0=_0x2c28c2;for(var _0x24de06,_0x1fe052=0x1,_0x385be4=arguments[_0x3312d0(0x389)];_0x1fe052<_0x385be4;_0x1fe052++){_0x24de06=arguments[_0x1fe052];for(var _0x4bd9ff in _0x24de06)Object[_0x3312d0(0x27b)][_0x3312d0(0x37b)]['call'](_0x24de06,_0x4bd9ff)&&(_0x12b7a0[_0x4bd9ff]=_0x24de06[_0x4bd9ff]);}return _0x12b7a0;},v[_0x2c28c2(0x344)](this,arguments);},Bi=function(_0x1fb31e,_0xc40f1a){const _0x408c04=_0x34b9d0;var _0x352fc3={};for(var _0x2f827f in _0x1fb31e)Object[_0x408c04(0x27b)][_0x408c04(0x37b)][_0x408c04(0x1e0)](_0x1fb31e,_0x2f827f)&&_0xc40f1a[_0x408c04(0x2d1)](_0x2f827f)<0x0&&(_0x352fc3[_0x2f827f]=_0x1fb31e[_0x2f827f]);if(_0x1fb31e!=null&&typeof Object[_0x408c04(0x2ff)]==_0x408c04(0x306)){for(var _0x111352=0x0,_0x2f827f=Object[_0x408c04(0x2ff)](_0x1fb31e);_0x111352<_0x2f827f[_0x408c04(0x389)];_0x111352++)_0xc40f1a['indexOf'](_0x2f827f[_0x111352])<0x0&&Object[_0x408c04(0x27b)][_0x408c04(0x3c7)][_0x408c04(0x1e0)](_0x1fb31e,_0x2f827f[_0x111352])&&(_0x352fc3[_0x2f827f[_0x111352]]=_0x1fb31e[_0x2f827f[_0x111352]]);}return _0x352fc3;},je=_0x482d77(function(_0x288d36,_0x8f21ce){const _0xde32ba=_0x34b9d0;var _0x34ab16=_0x288d36[_0xde32ba(0x229)],_0xfada6a=_0x288d36['id'],_0x15f8d9=_0x288d36[_0xde32ba(0x3a3)],_0x323f41=_0x288d36[_0xde32ba(0x330)],_0x1fd162=Bi(_0x288d36,[_0xde32ba(0x229),'id',_0xde32ba(0x3a3),_0xde32ba(0x330)]),_0x477fa2='univerjs-icon\x20univerjs-icon-'[_0xde32ba(0x271)](_0xfada6a,'\x20')[_0xde32ba(0x271)](_0x15f8d9||'')['trim'](),_0x3cc623=_0x331999('_'['concat'](ji()));return Rt(_0x34ab16,''[_0xde32ba(0x271)](_0xfada6a),{'defIds':_0x34ab16[_0xde32ba(0x307)],'idSuffix':_0x3cc623[_0xde32ba(0x1eb)]},v({'ref':_0x8f21ce,'className':_0x477fa2},_0x1fd162),_0x323f41);});function Rt(_0x56c435,_0x5f0148,_0x248978,_0x1d22cf,_0x544e75){const _0x143df1=_0x34b9d0;return _0x23304b(_0x56c435['tag'],v(v({'key':_0x5f0148},ki(_0x56c435,_0x248978,_0x544e75)),_0x1d22cf),(Hi(_0x56c435,_0x248978)[_0x143df1(0x3d8)]||[])['map'](function(_0x2d78e2,_0x563f59){const _0x283294=_0x143df1;return Rt(_0x2d78e2,''[_0x283294(0x271)](_0x5f0148,'-')['concat'](_0x56c435[_0x283294(0x27c)],'-')[_0x283294(0x271)](_0x563f59),_0x248978,void 0x0,_0x544e75);}));}function ki(_0x229642,_0x5f0f71,_0x25437d){const _0x2a70c4=_0x34b9d0;var _0x298f97=v({},_0x229642['attrs']);_0x25437d!=null&&_0x25437d['colorChannel1']&&_0x298f97[_0x2a70c4(0x20f)]===_0x2a70c4(0x305)&&(_0x298f97[_0x2a70c4(0x20f)]=_0x25437d[_0x2a70c4(0x305)]),_0x229642[_0x2a70c4(0x27c)]==='mask'&&_0x298f97['id']&&(_0x298f97['id']=_0x298f97['id']+_0x5f0f71[_0x2a70c4(0x1d7)]),Object[_0x2a70c4(0x3c5)](_0x298f97)[_0x2a70c4(0x2e7)](function(_0x20c7e1){const _0x5e5e61=_0x2a70c4;var _0x56502a=_0x20c7e1[0x0],_0x58f25a=_0x20c7e1[0x1];_0x56502a===_0x5e5e61(0x208)&&typeof _0x58f25a==_0x5e5e61(0x2b0)&&(_0x298f97[_0x56502a]=_0x58f25a[_0x5e5e61(0x345)](/url\(#(.*)\)/,_0x5e5e61(0x3cf)[_0x5e5e61(0x271)](_0x5f0f71[_0x5e5e61(0x1d7)],')')));});var _0x5491d1=_0x5f0f71['defIds'];return!_0x5491d1||_0x5491d1[_0x2a70c4(0x389)]===0x0||(_0x229642['tag']===_0x2a70c4(0x36d)&&_0x298f97['xlink:href']&&(_0x298f97[_0x2a70c4(0x321)]=_0x298f97[_0x2a70c4(0x321)]+_0x5f0f71[_0x2a70c4(0x1d7)]),Object['entries'](_0x298f97)[_0x2a70c4(0x2e7)](function(_0x457654){const _0x22ea15=_0x2a70c4;var _0x4dedaa=_0x457654[0x0],_0x2c119f=_0x457654[0x1];typeof _0x2c119f=='string'&&(_0x298f97[_0x4dedaa]=_0x2c119f['replace'](/url\(#(.*)\)/,_0x22ea15(0x3cf)[_0x22ea15(0x271)](_0x5f0f71['idSuffix'],')')));})),_0x298f97;}function Hi(_0x4fbedc,_0xcfbbc2){const _0x4d3b03=_0x34b9d0;var _0x2888b7,_0x35766a=_0xcfbbc2['defIds'];return!_0x35766a||_0x35766a[_0x4d3b03(0x389)]===0x0?_0x4fbedc:_0x4fbedc['tag']==='defs'&&(!((_0x2888b7=_0x4fbedc['children'])===null||_0x2888b7===void 0x0)&&_0x2888b7[_0x4d3b03(0x389)])?v(v({},_0x4fbedc),{'children':_0x4fbedc[_0x4d3b03(0x3d8)][_0x4d3b03(0x386)](function(_0x5bb3f2){const _0x43c699=_0x4d3b03;return typeof _0x5bb3f2['attrs']['id']=='string'&&_0x35766a&&_0x35766a[_0x43c699(0x252)](_0x5bb3f2[_0x43c699(0x315)]['id'])?v(v({},_0x5bb3f2),{'attrs':v(v({},_0x5bb3f2[_0x43c699(0x315)]),{'id':_0x5bb3f2['attrs']['id']+_0xcfbbc2[_0x43c699(0x1d7)]})}):_0x5bb3f2;})}):_0x4fbedc;}function ji(){const _0x4a7c0e=_0x34b9d0;return Math[_0x4a7c0e(0x283)]()[_0x4a7c0e(0x370)](0x24)['substring'](0x2,0x8);}je['displayName']=_0x34b9d0(0x391);var Yi={'tag':_0x34b9d0(0x39e),'attrs':{'xmlns':_0x34b9d0(0x1e7),'fill':_0x34b9d0(0x35a),'viewBox':_0x34b9d0(0x1db),'width':_0x34b9d0(0x2d3),'height':_0x34b9d0(0x2d3)},'children':[{'tag':'g','attrs':{'clipPath':_0x34b9d0(0x26f)},'children':[{'tag':_0x34b9d0(0x3c3),'attrs':{'stroke':_0x34b9d0(0x3c4),'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':_0x34b9d0(0x25e),'strokeLinejoin':_0x34b9d0(0x25e),'strokeWidth':1.2}}]},{'tag':_0x34b9d0(0x3a2),'attrs':{},'children':[{'tag':_0x34b9d0(0x3dc),'attrs':{'id':_0x34b9d0(0x320)},'children':[{'tag':_0x34b9d0(0x3c3),'attrs':{'fill':_0x34b9d0(0x25b),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x482d77(function(_0x48d967,_0x404de3){const _0x2fdb50=_0x34b9d0;return _0x23304b(je,Object[_0x2fdb50(0x33f)]({},_0x48d967,{'id':'off-line-icon','ref':_0x404de3,'icon':Yi}));});Dt[_0x34b9d0(0x2af)]=_0x34b9d0(0x2dd);var Fi={'tag':_0x34b9d0(0x39e),'attrs':{'xmlns':_0x34b9d0(0x1e7),'fill':_0x34b9d0(0x35a),'viewBox':_0x34b9d0(0x214),'width':'1em','height':_0x34b9d0(0x2d3)},'children':[{'tag':'g','attrs':{'clipPath':_0x34b9d0(0x26e)},'children':[{'tag':'path','attrs':{'stroke':_0x34b9d0(0x3c4),'d':_0x34b9d0(0x34a),'strokeLinecap':'round','strokeLinejoin':_0x34b9d0(0x25e),'strokeWidth':1.2}}]},{'tag':_0x34b9d0(0x3a2),'attrs':{},'children':[{'tag':_0x34b9d0(0x3dc),'attrs':{'id':_0x34b9d0(0x3d2)},'children':[{'tag':_0x34b9d0(0x3c3),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x34b9d0(0x267)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x482d77(function(_0xc68db2,_0x1309a0){const _0x15d2c0=_0x34b9d0;return _0x23304b(je,Object['assign']({},_0xc68db2,{'id':_0x15d2c0(0x262),'ref':_0x1309a0,'icon':Fi}));});Nt[_0x34b9d0(0x2af)]='OnLineIcon';function Wi(_0x29c15d){const _0x47d42b=_0x34b9d0;switch(_0x29c15d){case _0xbb8257[_0x47d42b(0x335)]:return _0x47d42b(0x1d9);case _0xbb8257[_0x47d42b(0x293)]:return _0x47d42b(0x1fc);case _0xbb8257[_0x47d42b(0x2b9)]:return _0x47d42b(0x3b6);case _0xbb8257[_0x47d42b(0x21b)]:return _0x47d42b(0x1f3);case _0xbb8257[_0x47d42b(0x245)]:case _0xbb8257[_0x47d42b(0x33a)]:return _0x47d42b(0x300);case _0xbb8257['SYNCED']:case _0xbb8257[_0x47d42b(0x222)]:return _0x47d42b(0x224);}}function Vi(_0x5859e4){const _0x234214=_0x34b9d0,{status$:_0xc2edc0}=_0x5859e4,_0x1cde59=_0x5dca2f(_0xc2edc0,_0xbb8257[_0x234214(0x21b)]),_0xde568e=_0x7d438d(_0x2c6c36),_0x2274fa=_0x7d438d(_0x12500c),_0x4a84dd=_0x1cde59!==_0xbb8257[_0x234214(0x335)],_0x32f59c=_0xde568e['t'](Wi(_0x1cde59)),_0x543fc4=_0x4a84dd?_0x21dd6a(Nt,{}):_0x21dd6a(Dt,{}),_0x1b49b6=_0x2c2d73(()=>{const _0x2c633d=_0x234214;_0x4a84dd||_0x2274fa[_0x2c633d(0x20a)]();},[_0x4a84dd,_0x2274fa]);function _0x51faf6(){const _0x19d4d5=_0x234214;return _0x3f7c1c(_0x19d4d5(0x288),{'className':'univer-flex\x20univer-items-center','onClick':_0x1b49b6,'children':[_0x21dd6a(_0x19d4d5(0x288),{'className':_0x14d466(_0x19d4d5(0x273),{'univer-text-green-500':_0x4a84dd,'univer-text-red-500':!_0x4a84dd}),'children':_0x543fc4}),_0x21dd6a('div',{'className':_0x19d4d5(0x277),'children':_0x32f59c})]});}return _0x4a84dd?_0x51faf6():_0x21dd6a(_0x6a3f12,{'title':_0xde568e['t'](_0x234214(0x2c7)),'children':_0x51faf6()});}var Xi=Object[_0x34b9d0(0x3a9)],Gi=(_0x49d02c,_0x4db1c5,_0xfd9950,_0x5c7b29)=>{const _0x4ccb71=_0x34b9d0;for(var _0xd2cf86=_0x5c7b29>0x1?void 0x0:_0x5c7b29?Xi(_0x4db1c5,_0xfd9950):_0x4db1c5,_0x3a8501=_0x49d02c[_0x4ccb71(0x389)]-0x1,_0x25c6ba;_0x3a8501>=0x0;_0x3a8501--)(_0x25c6ba=_0x49d02c[_0x3a8501])&&(_0xd2cf86=_0x25c6ba(_0xd2cf86)||_0xd2cf86);return _0xd2cf86;},Q=(_0x56482f,_0x4c71bc)=>(_0x429733,_0x3e85e3)=>_0x4c71bc(_0x429733,_0x3e85e3,_0x56482f);let te=class extends _0x43e103{constructor(_0x4e39d9,_0x23b567,_0x33d86e,_0x5b4f57){const _0x4d2f1c=_0x34b9d0;super(),_(this,_0x4d2f1c(0x269),new _0xcd9cee(_0xbb8257[_0x4d2f1c(0x21b)])),(this['_univerInstanceService']=_0x4e39d9,this[_0x4d2f1c(0x3d7)]=_0x23b567,this['_collaborationController']=_0x33d86e,this[_0x4d2f1c(0x1d3)]=_0x5b4f57,this['_initStatusComponent'](),this[_0x4d2f1c(0x38b)]());}['_initStatusListener'](){const _0x5e5a53=_0x34b9d0;this[_0x5e5a53(0x2a0)](this[_0x5e5a53(0x234)][_0x5e5a53(0x2da)][_0x5e5a53(0x210)](_0x4da633(()=>{const _0x6608a5=_0x5e5a53,_0x4546be=this[_0x6608a5(0x234)][_0x6608a5(0x2be)]();return _0x4546be?this['_collaborationController'][_0x6608a5(0x2eb)](_0x4546be[_0x6608a5(0x35e)]()):_0x301d8c(null);}),_0x4da633(_0x1c43c1=>_0x1c43c1?_0x1c43c1[_0x5e5a53(0x2b5)]:_0x301d8c(_0xbb8257[_0x5e5a53(0x21b)])))[_0x5e5a53(0x209)](_0x58cbd1=>{const _0x26951f=_0x5e5a53;this[_0x26951f(0x269)][_0x26951f(0x2ec)](_0x58cbd1);}));}[_0x34b9d0(0x2c5)](){const _0x4f89d=_0x34b9d0;this['disposeWithMe'](this[_0x4f89d(0x1d3)][_0x4f89d(0x295)](_0x4c2724[_0x4f89d(0x2f6)],()=>_0x419784(Ki({'status$':this[_0x4f89d(0x269)][_0x4f89d(0x38d)]()}),this[_0x4f89d(0x3d7)])));}};te=Gi([Q(0x0,_0x44c7b8),Q(0x1,_0x8d18a4(_0x197dec)),Q(0x2,_0x8d18a4(_0x41490b)),Q(0x3,_0x2f82d6)],te);function Ki(_0x5553e0){const {status$:_0x274167}=_0x5553e0;return function(){return _0x21dd6a(Vi,{'status$':_0x274167});};}var zi=Object[_0x34b9d0(0x3a9)],Ji=(_0x933b5d,_0x5e19a3,_0x4e3a70,_0x166e3c)=>{const _0x103988=_0x34b9d0;for(var _0x37abfb=_0x166e3c>0x1?void 0x0:_0x166e3c?zi(_0x5e19a3,_0x4e3a70):_0x5e19a3,_0x359359=_0x933b5d[_0x103988(0x389)]-0x1,_0x3a6cd4;_0x359359>=0x0;_0x359359--)(_0x3a6cd4=_0x933b5d[_0x359359])&&(_0x37abfb=_0x3a6cd4(_0x37abfb)||_0x37abfb);return _0x37abfb;},B=(_0x4014a8,_0x1e8fde)=>(_0x2f22dc,_0x31a351)=>_0x1e8fde(_0x2f22dc,_0x31a351,_0x4014a8);let se=class extends _0x43e103{constructor(_0x5eb5d9,_0x3b4a20,_0x2b0c41,_0xefffdd,_0x4f34d5,_0x1f06b5){const _0x52f407=_0x34b9d0;super(),this[_0x52f407(0x31a)]=_0x5eb5d9,this[_0x52f407(0x3db)]=_0x3b4a20,this[_0x52f407(0x270)]=_0x2b0c41,this['_messageService']=_0xefffdd,this[_0x52f407(0x2a1)]=_0x4f34d5,this[_0x52f407(0x24a)]=_0x1f06b5,this[_0x52f407(0x1ec)](),this['_initEvent']();}[_0x34b9d0(0x1ec)](){const _0x16f621=_0x34b9d0;this[_0x16f621(0x2a0)](this[_0x16f621(0x31a)][_0x16f621(0x24f)](()=>{const _0x87d42b=_0x16f621;if(this[_0x87d42b(0x3db)]['saveTaskMap'][_0x87d42b(0x387)])return this[_0x87d42b(0x24a)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x34b9d0(0x24c)](){const _0x41146a=_0x34b9d0;this[_0x41146a(0x2a0)](this[_0x41146a(0x270)][_0x41146a(0x289)][_0x41146a(0x209)](_0x26596f=>{const _0x8b97c0=_0x41146a;_0x26596f['id']===_0x15a8c6[_0x8b97c0(0x2f0)]&&this[_0x8b97c0(0x3c0)][_0x8b97c0(0x31f)]({'type':_0x27110b[_0x8b97c0(0x1f0)],'content':this[_0x8b97c0(0x24a)]['t'](_0x8b97c0(0x357))}),_0x26596f['id']===_0x15a8c6[_0x8b97c0(0x2e9)]&&this[_0x8b97c0(0x3c0)]['show']({'type':_0x27110b['Warning'],'content':this['_localeService']['t'](_0x8b97c0(0x236))}),_0x26596f['id']===_0x15a8c6[_0x8b97c0(0x232)]&&this[_0x8b97c0(0x2a1)][_0x8b97c0(0x31f)]({'title':this[_0x8b97c0(0x24a)]['t'](_0x8b97c0(0x2d5)),'content':this[_0x8b97c0(0x24a)]['t'](_0x8b97c0(0x346)),'type':_0x8b97c0(0x28f),'duration':0x0}),_0x26596f['id']===_0x15a8c6[_0x8b97c0(0x293)]&&this[_0x8b97c0(0x3c0)][_0x8b97c0(0x31f)]({'type':_0x27110b['Error'],'content':this[_0x8b97c0(0x24a)]['t']('collaboration.closeRoom')+'('+_0x26596f[_0x8b97c0(0x304)]+')'}),_0x26596f['id']===_0x15a8c6[_0x8b97c0(0x24b)]&&this[_0x8b97c0(0x3c0)][_0x8b97c0(0x31f)]({'type':_0x27110b[_0x8b97c0(0x1f0)],'content':this['_localeService']['t'](_0x26596f[_0x8b97c0(0x304)]||'')}),_0x26596f['id']===_0x15a8c6[_0x8b97c0(0x272)]&&this[_0x8b97c0(0x3c0)]['show']({'type':_0x27110b['Warning'],'content':this[_0x8b97c0(0x24a)]['t']('session.will-retry')}),_0x26596f['id']===_0x15a8c6[_0x8b97c0(0x3d3)]&&this['_messageService']['show']({'type':_0x27110b[_0x8b97c0(0x3a0)],'content':this[_0x8b97c0(0x24a)]['t'](_0x8b97c0(0x3ad))}),_0x26596f['id']===_0x15a8c6[_0x8b97c0(0x396)]&&this[_0x8b97c0(0x3c0)][_0x8b97c0(0x31f)]({'type':_0x27110b[_0x8b97c0(0x3a0)],'content':this[_0x8b97c0(0x24a)]['t'](_0x8b97c0(0x355))});}));}};se=Ji([B(0x0,_0x1c7809),B(0x1,_0x33b887),B(0x2,_0x8d18a4(_0x226f99)),B(0x3,_0x2d22ac),B(0x4,_0x5c53e8),B(0x5,_0x8d18a4(_0x2c6c36))],se);const Zi=_0x34b9d0(0x274),et={},Ut=_0x2323f0('uni.network.url-service');var Qi=Object[_0x34b9d0(0x3a9)],qi=(_0x108233,_0x335d6e,_0x277b1b,_0x52dece)=>{for(var _0x241800=_0x52dece>0x1?void 0x0:_0x52dece?Qi(_0x335d6e,_0x277b1b):_0x335d6e,_0x525015=_0x108233['length']-0x1,_0x57c05c;_0x525015>=0x0;_0x525015--)(_0x57c05c=_0x108233[_0x525015])&&(_0x241800=_0x57c05c(_0x241800)||_0x241800);return _0x241800;},G=(_0x4ed179,_0x494d87)=>(_0x2b9010,_0x1eaaef)=>_0x494d87(_0x2b9010,_0x1eaaef,_0x4ed179);function _0x219f(_0x4debd0,_0x18e5a6){const _0x510b62=_0x510b();return _0x219f=function(_0x219f0a,_0x1036a6){_0x219f0a=_0x219f0a-0x1d1;let _0x510281=_0x510b62[_0x219f0a];return _0x510281;},_0x219f(_0x4debd0,_0x18e5a6);}let ie=class extends _0x2b0107{constructor(_0x149ffb,_0x3391a7,_0x1c05a5,_0x3b2917,_0x176504){const _0x3f06a0=_0x34b9d0;super(),this['_urlService']=_0x149ffb,this[_0x3f06a0(0x211)]=_0x3391a7,this['_commandService']=_0x1c05a5,this[_0x3f06a0(0x2bd)]=_0x3b2917,_0x176504?_0x176504==null||_0x176504[_0x3f06a0(0x337)]()[_0x3f06a0(0x3b2)](()=>this[_0x3f06a0(0x39c)]()):(this[_0x3f06a0(0x211)][_0x3f06a0(0x28b)](_0x3f06a0(0x383),_0x3f06a0(0x342)),this[_0x3f06a0(0x39c)]());}async[_0x34b9d0(0x39c)](){const _0x50e164=_0x34b9d0,_0x341064=this[_0x50e164(0x29d)]['getParam'](_0x50e164(0x348)),_0x472378=this['_urlService']['getParam']('type'),_0x2cf15d=this['_urlService'][_0x50e164(0x393)](_0x50e164(0x275));if(!_0x341064||!_0x472378){this[_0x50e164(0x211)][_0x50e164(0x28b)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x34861d=await this[_0x50e164(0x2bd)][_0x50e164(0x3bb)](_0x341064,Number(_0x472378),_0x2cf15d);_0x34861d&&_0x34861d instanceof _0x2d57c2&&this[_0x50e164(0x22f)](_0x34861d);}async[_0x34b9d0(0x22f)](_0x13a823){const _0x17bfce=_0x34b9d0;await this[_0x17bfce(0x30b)](_0x13a823),_0x13a823['activeSheet$'][_0x17bfce(0x210)](_0x289d7f(this[_0x17bfce(0x2fc)]))[_0x17bfce(0x209)](_0x54433c=>{_0x54433c&&this['_updateURLWithCurrentState'](_0x54433c);}),this['_urlService'][_0x17bfce(0x354)]['pipe'](_0x289d7f(this[_0x17bfce(0x2fc)]))[_0x17bfce(0x209)](()=>this[_0x17bfce(0x30b)](_0x13a823));}[_0x34b9d0(0x299)](_0x596f70,_0x434912=!0x1){const _0x377d4e=_0x34b9d0,_0x5f0e58=this[_0x377d4e(0x29d)][_0x377d4e(0x393)]('subunit');_0x596f70['getSheetId']()!==_0x5f0e58&&this[_0x377d4e(0x29d)][_0x377d4e(0x378)](_0x377d4e(0x275),_0x596f70[_0x377d4e(0x1f1)](),_0x434912);}async[_0x34b9d0(0x30b)](_0x45a1a4){const _0x22c451=_0x34b9d0;var _0x5b5d5c;const _0x48eff5=this[_0x22c451(0x29d)][_0x22c451(0x393)](_0x22c451(0x275));if(!_0x48eff5||!_0x45a1a4[_0x22c451(0x258)](_0x48eff5)){const _0x198cc3=_0x45a1a4[_0x22c451(0x287)]()[0x0],_0x5eec35=_0x45a1a4[_0x22c451(0x258)](_0x198cc3);if(!_0x5eec35)return;this[_0x22c451(0x299)](_0x5eec35,!0x0),await this[_0x22c451(0x220)][_0x22c451(0x3ae)](_0x28ccd7['id'],{'unitId':_0x45a1a4[_0x22c451(0x35e)](),'subUnitId':_0x198cc3});return;}((_0x5b5d5c=_0x45a1a4[_0x22c451(0x3cb)]())==null?void 0x0:_0x5b5d5c[_0x22c451(0x1f1)]())!==_0x48eff5&&await this[_0x22c451(0x220)][_0x22c451(0x3ae)](_0x28ccd7['id'],{'unitId':_0x45a1a4[_0x22c451(0x35e)](),'subUnitId':_0x48eff5});}};ie=qi([G(0x0,Ut),G(0x1,_0x5a6d22),G(0x2,_0x4efc79),G(0x3,_0x8d18a4(_0x115a28)),G(0x4,_0x3b9918(_0x283dca))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x3ab84e,_0x53c0d1,_0x1f4e70,_0x46a8c9)=>{const _0x10d5f9=_0x34b9d0;for(var _0x549f65=_0x46a8c9>0x1?void 0x0:_0x46a8c9?en(_0x53c0d1,_0x1f4e70):_0x53c0d1,_0x19a2cb=_0x3ab84e[_0x10d5f9(0x389)]-0x1,_0x326133;_0x19a2cb>=0x0;_0x19a2cb--)(_0x326133=_0x3ab84e[_0x19a2cb])&&(_0x549f65=_0x326133(_0x549f65)||_0x549f65);return _0x549f65;},pe=(_0x1bf434,_0x116277)=>(_0x4235ce,_0x23a81e)=>_0x116277(_0x4235ce,_0x23a81e,_0x1bf434);let ne=class{constructor(_0x738011,_0xbcf1f8,_0x2cb371){const _0x3cccd7=_0x34b9d0;this['_injector']=_0x738011,this[_0x3cccd7(0x280)]=_0xbcf1f8,this['_renderManagerService']=_0x2cb371;}[_0x34b9d0(0x255)](_0x4b5e9b){const _0x4114ab=_0x34b9d0;this['_transformUndoRedoStack'](_0x4b5e9b),this[_0x4114ab(0x1f5)](_0x4b5e9b);}['transformRemoteChangeset'](_0x4bc1db){const _0x58e0d2=_0x34b9d0,{unitID:_0x493fb6}=_0x4bc1db,_0x448e38=this[_0x58e0d2(0x233)]['getRenderById'](_0x493fb6)[_0x58e0d2(0x256)](_0x21dd3c),{redoCache:_0x2646d0}=_0x448e38[_0x58e0d2(0x28e)]();if(_0x2646d0[_0x58e0d2(0x389)]===0x0)return _0x4bc1db;let _0xa9d766=_0x312106['deepClone'](_0x4bc1db[_0x58e0d2(0x365)][0x0]);for(let _0x2d3755=0x0;_0x2d3755<_0x2646d0[_0x58e0d2(0x389)];_0x2d3755++){const _0x16e7c5={'id':_0x58e0d2(0x3ac),'params':{..._0x2646d0[_0x2d3755]}},_0x2b4dbb=this['_transformService'][_0x58e0d2(0x26d)](_0xa9d766,_0x16e7c5,!0x1);if(_0x5c4e5f(_0x2b4dbb))throw _0x2b4dbb[_0x58e0d2(0x28f)];_0xa9d766=_0x2b4dbb[_0x58e0d2(0x279)];}return{..._0x312106[_0x58e0d2(0x268)](_0x4bc1db),'mutations':[_0xa9d766]};}[_0x34b9d0(0x2e5)](_0xb20257){const _0x55eb3c=_0x34b9d0,{unitID:_0x2d6e23}=_0xb20257,_0x1dfc69=this[_0x55eb3c(0x233)]['getRenderById'](_0x2d6e23)[_0x55eb3c(0x256)](_0x21dd3c),{undoCache:_0x1b9a32,redoCache:_0x2bc660}=_0x1dfc69['getUndoRedoMutationParamsCache']();if(_0x1b9a32[_0x55eb3c(0x389)]===0x0||_0x2bc660[_0x55eb3c(0x389)]===0x0)return;const _0x22b1c9=[],_0x578c4f=[];let _0x1ae4d2=_0x312106[_0x55eb3c(0x268)](_0xb20257[_0x55eb3c(0x365)][0x0]),_0x5b5796=_0x312106[_0x55eb3c(0x268)](_0xb20257[_0x55eb3c(0x365)][0x0]);for(let _0x2eb791=_0x1b9a32[_0x55eb3c(0x389)]-0x1;_0x2eb791>=0x0;_0x2eb791--){const _0x117d36={'id':_0x55eb3c(0x3ac),'params':{..._0x1b9a32[_0x2eb791]}},_0x5a3a82={'id':_0x55eb3c(0x3ac),'params':{..._0x2bc660[_0x2eb791]}},_0x47c011=this[_0x55eb3c(0x280)][_0x55eb3c(0x26d)](_0x1ae4d2,_0x117d36,!0x1),_0x5879e6=this[_0x55eb3c(0x280)][_0x55eb3c(0x26d)](_0x5b5796,_0x5a3a82,!0x1);if(_0x5c4e5f(_0x47c011))throw _0x47c011[_0x55eb3c(0x28f)];if(_0x5c4e5f(_0x5879e6))throw _0x5879e6[_0x55eb3c(0x28f)];_0x22b1c9[_0x55eb3c(0x372)](_0x47c011['m2Prime'][_0x55eb3c(0x382)]),_0x578c4f[_0x55eb3c(0x372)](_0x5879e6['m2Prime'][_0x55eb3c(0x382)]),_0x1ae4d2=_0x47c011[_0x55eb3c(0x279)],_0x5b5796=_0x5879e6[_0x55eb3c(0x279)];}_0x1dfc69[_0x55eb3c(0x351)]({'undoCache':_0x22b1c9,'redoCache':_0x578c4f});}['_transformPreviousActiveRange'](_0x137b95){const _0x16b358=_0x34b9d0,{unitID:_0x27fbe3}=_0x137b95,_0x4585b1=this['_renderManagerService'][_0x16b358(0x331)](_0x27fbe3)[_0x16b358(0x256)](_0x21dd3c),_0x2b7fb1=_0x4585b1[_0x16b358(0x399)]();if(_0x2b7fb1==null)return;const _0x3ad39a=[{'id':_0x16b358(0x3ac),'params':{'unitId':_0x137b95[_0x16b358(0x371)],'actions':null,'textRanges':[_0x2b7fb1]}}],_0x39c57d=this[_0x16b358(0x280)][_0x16b358(0x20e)](_0x137b95,_0x3ad39a);if(!_0x518339(_0x39c57d))throw _0x39c57d[_0x16b358(0x28f)];const _0xc21afc=_0x39c57d[_0x16b358(0x1ee)][0x0]['params'][_0x16b358(0x316)];Array['isArray'](_0xc21afc)&&_0xc21afc[_0x16b358(0x389)]&&_0x4585b1[_0x16b358(0x2e4)](_0xc21afc[0x0]);}};ne=tn([pe(0x0,_0x8d18a4(_0x197dec)),pe(0x1,_0x4c6bdb),pe(0x2,_0x12775b)],ne);var sn=Object[_0x34b9d0(0x3a9)],nn=(_0x42b003,_0x9ec511,_0x1702da,_0x2647d2)=>{const _0x36485a=_0x34b9d0;for(var _0x16e9c7=_0x2647d2>0x1?void 0x0:_0x2647d2?sn(_0x9ec511,_0x1702da):_0x9ec511,_0x2fe596=_0x42b003[_0x36485a(0x389)]-0x1,_0x54c119;_0x2fe596>=0x0;_0x2fe596--)(_0x54c119=_0x42b003[_0x2fe596])&&(_0x16e9c7=_0x54c119(_0x16e9c7)||_0x16e9c7);return _0x16e9c7;},Ce=(_0x26c107,_0x54e7c0)=>(_0x58e047,_0x515516)=>_0x54e7c0(_0x58e047,_0x515516,_0x26c107);let re=class{constructor(_0x5f2ab9,_0x14d0d0,_0x236f64){const _0x28b75c=_0x34b9d0;this['_injector']=_0x5f2ab9,this[_0x28b75c(0x280)]=_0x14d0d0,this[_0x28b75c(0x23c)]=_0x236f64;}['transformStateCache'](_0x12d0ef){const _0x310b87=_0x34b9d0;this[_0x310b87(0x231)](_0x12d0ef);}[_0x34b9d0(0x202)](_0x359236){const _0x5d0ce0=_0x34b9d0,{unitID:_0x574ea3}=_0x359236,{collaboration:_0xe04fb5}=this['_docStateChangeManagerService'][_0x5d0ce0(0x3c1)](_0x574ea3);if(_0xe04fb5[_0x5d0ce0(0x389)]===0x0)return _0x359236;let _0xb2274e=_0x312106[_0x5d0ce0(0x268)](_0x359236[_0x5d0ce0(0x365)][0x0]);for(let _0x50c609=0x0;_0x50c609<_0xe04fb5[_0x5d0ce0(0x389)];_0x50c609++){const _0x195eaf={'id':_0x5d0ce0(0x3ac),'params':{'unitId':_0xe04fb5[_0x50c609][_0x5d0ce0(0x22a)],..._0xe04fb5[_0x50c609][_0x5d0ce0(0x2e6)]}},_0x58dbfd=this['_transformService'][_0x5d0ce0(0x26d)](_0xb2274e,_0x195eaf,!0x1);if(_0x5c4e5f(_0x58dbfd))throw _0x58dbfd[_0x5d0ce0(0x28f)];_0xb2274e=_0x58dbfd[_0x5d0ce0(0x279)];}return{..._0x312106[_0x5d0ce0(0x268)](_0x359236),'mutations':[_0xb2274e]};}['_transformHistoryAndStateStack'](_0x17ca59){const _0x43f659=_0x34b9d0,{unitID:_0x3ee92c}=_0x17ca59,{history:_0x276f62,collaboration:_0xd1b9a}=this[_0x43f659(0x23c)]['getStateCache'](_0x3ee92c);if(_0x276f62[_0x43f659(0x389)]===0x0&&_0xd1b9a[_0x43f659(0x389)]===0x0)return;const _0xc3c544=[],_0xaa58bd=[];let _0x19e3d9=_0x312106[_0x43f659(0x268)](_0x17ca59['mutations'][0x0]),_0x38845d=_0x312106[_0x43f659(0x268)](_0x17ca59[_0x43f659(0x365)][0x0]);for(let _0x35ad47=_0x276f62[_0x43f659(0x389)]-0x1;_0x35ad47>=0x0;_0x35ad47--){const _0x2c963f={'id':_0x43f659(0x3ac),'params':{'unitId':_0x276f62[_0x35ad47]['unitId'],..._0x276f62[_0x35ad47][_0x43f659(0x20c)]}},_0x4d4c72={'id':_0x43f659(0x3ac),'params':{'unitId':_0x276f62[_0x35ad47][_0x43f659(0x22a)],..._0x276f62[_0x35ad47][_0x43f659(0x2e6)]}},_0x4e9f1a=this[_0x43f659(0x280)][_0x43f659(0x26d)](_0x19e3d9,_0x2c963f,!0x1),_0x51a764=this[_0x43f659(0x280)]['transformMutation'](_0x38845d,_0x4d4c72,!0x1);if(_0x5c4e5f(_0x4e9f1a))throw _0x4e9f1a[_0x43f659(0x28f)];if(_0x5c4e5f(_0x51a764))throw _0x51a764[_0x43f659(0x28f)];_0xc3c544[_0x43f659(0x372)]({..._0x276f62[_0x35ad47],'undoState':_0x4e9f1a['m2Prime'][_0x43f659(0x382)],'redoState':_0x51a764[_0x43f659(0x1ee)][_0x43f659(0x382)]}),_0x19e3d9=_0x4e9f1a[_0x43f659(0x279)],_0x38845d=_0x51a764[_0x43f659(0x279)];}_0x19e3d9=_0x312106[_0x43f659(0x268)](_0x17ca59['mutations'][0x0]),_0x38845d=_0x312106[_0x43f659(0x268)](_0x17ca59[_0x43f659(0x365)][0x0]);for(let _0x24107c=_0xd1b9a['length']-0x1;_0x24107c>=0x0;_0x24107c--){const _0x3975d6={'id':_0x43f659(0x3ac),'params':{'unitId':_0xd1b9a[_0x24107c]['unitId'],..._0xd1b9a[_0x24107c][_0x43f659(0x20c)]}},_0x1ea951={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xd1b9a[_0x24107c][_0x43f659(0x22a)],..._0xd1b9a[_0x24107c][_0x43f659(0x2e6)]}},_0x5f4aaf=this[_0x43f659(0x280)][_0x43f659(0x26d)](_0x19e3d9,_0x3975d6,!0x1),_0x3df082=this['_transformService'][_0x43f659(0x26d)](_0x38845d,_0x1ea951,!0x1);if(_0x5c4e5f(_0x5f4aaf))throw _0x5f4aaf['error'];if(_0x5c4e5f(_0x3df082))throw _0x3df082[_0x43f659(0x28f)];_0xaa58bd[_0x43f659(0x372)]({..._0xd1b9a[_0x24107c],'undoState':_0x5f4aaf[_0x43f659(0x1ee)][_0x43f659(0x382)],'redoState':_0x3df082[_0x43f659(0x1ee)]['params']}),_0x19e3d9=_0x5f4aaf[_0x43f659(0x279)],_0x38845d=_0x3df082[_0x43f659(0x279)];}this[_0x43f659(0x23c)][_0x43f659(0x27a)](_0x3ee92c,{'history':_0xc3c544,'collaboration':_0xaa58bd});}};re=nn([Ce(0x0,_0x8d18a4(_0x197dec)),Ce(0x1,_0x4c6bdb),Ce(0x2,_0x8d18a4(_0x6395e7))],re);var rn=Object[_0x34b9d0(0x3a9)],on=(_0x32882b,_0x2c3174,_0xcc0001,_0x48cad1)=>{for(var _0x28b22d=_0x48cad1>0x1?void 0x0:_0x48cad1?rn(_0x2c3174,_0xcc0001):_0x2c3174,_0x215838=_0x32882b['length']-0x1,_0x48f49d;_0x215838>=0x0;_0x215838--)(_0x48f49d=_0x32882b[_0x215838])&&(_0x28b22d=_0x48f49d(_0x28b22d)||_0x28b22d);return _0x28b22d;},tt=(_0x53bc68,_0x2768b2)=>(_0x1006f8,_0x40f852)=>_0x2768b2(_0x1006f8,_0x40f852,_0x53bc68);let oe=class{constructor(_0xeceb1f,_0x2dd394){const _0x4d9fdd=_0x34b9d0;this[_0x4d9fdd(0x3d7)]=_0xeceb1f,this[_0x4d9fdd(0x280)]=_0x2dd394;}[_0x34b9d0(0x227)](_0x4a5874){const _0x43bc5a=_0x34b9d0;var _0x240aea;const _0x2a665c=this['_injector'][_0x43bc5a(0x21c)](_0x525793),_0x5a6a2f=(_0x240aea=_0x2a665c[_0x43bc5a(0x314)]())!=null?_0x240aea:[];if(_0x5a6a2f[_0x43bc5a(0x389)]===0x0)return;const _0x2160cb=_0x4a5874[_0x43bc5a(0x371)],_0x55a8c9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2160cb,'actions':null,'textRanges':_0x5a6a2f}}],_0x2d306a=this[_0x43bc5a(0x280)]['transformMutationsWithChangeset'](_0x4a5874,_0x55a8c9);if(!_0x518339(_0x2d306a))throw _0x2d306a[_0x43bc5a(0x28f)];const _0x509576=_0x2d306a[_0x43bc5a(0x1ee)][0x0][_0x43bc5a(0x382)][_0x43bc5a(0x316)];Array[_0x43bc5a(0x36a)](_0x509576)&&_0x509576[_0x43bc5a(0x389)]&&_0x2a665c[_0x43bc5a(0x35f)](_0x509576,{'unitId':_0x2160cb,'subUnitId':_0x2160cb},!0x1);}};oe=on([tt(0x0,_0x8d18a4(_0x197dec)),tt(0x1,_0x4c6bdb)],oe);var an=Object[_0x34b9d0(0x3a9)],cn=(_0x29b1fc,_0x338127,_0x1c28d0,_0xb1ac70)=>{const _0x34231c=_0x34b9d0;for(var _0x18983c=_0xb1ac70>0x1?void 0x0:_0xb1ac70?an(_0x338127,_0x1c28d0):_0x338127,_0xd8a049=_0x29b1fc[_0x34231c(0x389)]-0x1,_0x1a46bc;_0xd8a049>=0x0;_0xd8a049--)(_0x1a46bc=_0x29b1fc[_0xd8a049])&&(_0x18983c=_0x1a46bc(_0x18983c)||_0x18983c);return _0x18983c;},U=(_0x49de35,_0x4a04a6)=>(_0x3edbda,_0x40e366)=>_0x4a04a6(_0x3edbda,_0x40e366,_0x49de35);let ae=class extends _0x43e103{constructor(_0x22d7fb,_0x79b101,_0xfe996f,_0xbc29d0,_0x3e13ef,_0x44094c,_0x6d7a0f,_0x480f61){const _0x326581=_0x34b9d0;super(),_(this,_0x326581(0x269),new _0xcd9cee(_0xbb8257[_0x326581(0x21b)])),(this[_0x326581(0x23c)]=_0x22d7fb,this[_0x326581(0x380)]=_0x79b101,this[_0x326581(0x3cd)]=_0xfe996f,this[_0x326581(0x1f9)]=_0xbc29d0,this[_0x326581(0x384)]=_0x3e13ef,this[_0x326581(0x2bf)]=_0x44094c,this[_0x326581(0x3c0)]=_0x6d7a0f,this[_0x326581(0x24a)]=_0x480f61,this['_initEntityListener']());}[_0x34b9d0(0x29c)](){const _0x289e89=_0x34b9d0;this['disposeWithMe'](this[_0x289e89(0x380)][_0x289e89(0x265)][_0x289e89(0x209)](_0x4a551c=>{const _0x2da441=_0x289e89,_0x5b3986=this['_docStateChangeManagerService'][_0x2da441(0x2f2)][_0x2da441(0x209)](_0x14c526=>{const _0x4911e4=_0x2da441;if(_0x14c526==null)return;const {unitId:_0x532218,redoState:_0x7a0a,commandId:_0xf42146}=_0x14c526;if(_0x532218!==_0x4a551c['unitID'])return;const _0x23142b={'id':_0xf42146,'type':_0x57a245[_0x4911e4(0x2e2)],'params':{'unitId':_0x532218,'actions':_0x7a0a[_0x4911e4(0x317)],'textRanges':null}};_0x4a551c[_0x4911e4(0x36f)](_0x23142b);});if(_0x4a551c[_0x2da441(0x2a0)](_0x5b3986),_0x4a551c instanceof _0x52598c){const _0x1ce878={'onTransformIME':_0x1495ac=>this[_0x2da441(0x3cd)][_0x2da441(0x255)](_0x1495ac),'onTransformState':_0x4ce2d1=>this['_docTransformStateCacheService'][_0x2da441(0x26c)](_0x4ce2d1),'onTransformSelections':_0x3b8a6e=>this[_0x2da441(0x384)][_0x2da441(0x227)](_0x3b8a6e),'onSyncEditingCollabCursor':_0x48caf3=>this[_0x2da441(0x2bf)]['syncEditingCollabCursor'](_0x48caf3),'onTransformRemoteChangesetByIMECache':_0x4af349=>this['_docTransformIMECacheService'][_0x2da441(0x202)](_0x4af349),'onTransformRemoteChangesetByStateCache':_0x4e5821=>this[_0x2da441(0x1f9)][_0x2da441(0x202)](_0x4e5821)};_0x4a551c[_0x2da441(0x2f8)](_0x1ce878);}}));}};ae=cn([U(0x0,_0x8d18a4(_0x6395e7)),U(0x1,_0x8d18a4(_0x41490b)),U(0x2,_0x8d18a4(ne)),U(0x3,_0x8d18a4(re)),U(0x4,_0x8d18a4(oe)),U(0x5,_0x8d18a4(He)),U(0x6,_0x2d22ac),U(0x7,_0x8d18a4(_0x2c6c36))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x2a45e9,_0x9c0242,_0x55e603,_0x31bc1b)=>{const _0x233a6f=_0x34b9d0;for(var _0x5587f2=_0x31bc1b>0x1?void 0x0:_0x31bc1b?ln(_0x9c0242,_0x55e603):_0x9c0242,_0x2d50a6=_0x2a45e9[_0x233a6f(0x389)]-0x1,_0x5c2f34;_0x2d50a6>=0x0;_0x2d50a6--)(_0x5c2f34=_0x2a45e9[_0x2d50a6])&&(_0x5587f2=_0x5c2f34(_0x5587f2)||_0x5587f2);return _0x5587f2;},Ee=(_0x3522b7,_0x76c63c)=>(_0x521f9f,_0x3c28f3)=>_0x76c63c(_0x521f9f,_0x3c28f3,_0x3522b7);let Le=class extends _0x43e103{constructor(_0x2bd66a,_0x4ee19f,_0x226e08){const _0x1c92cd=_0x34b9d0;super(),_(this,'_cachedData',new Map()),_(this,_0x1c92cd(0x1d6),new Map()),_(this,'_disabled',!0x1),(this[_0x1c92cd(0x235)]=_0x2bd66a,this[_0x1c92cd(0x2c0)]=_0x4ee19f,this[_0x1c92cd(0x27d)]=_0x226e08);}[_0x34b9d0(0x385)](){const _0x2ab2d5=_0x34b9d0;this[_0x2ab2d5(0x1fa)]=!0x0;}[_0x34b9d0(0x28c)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x578c3c=_0x34b9d0;return this[_0x578c3c(0x1d6)];}['dispose'](){const _0xf7f737=_0x34b9d0;this[_0xf7f737(0x3bd)]()[_0xf7f737(0x3b2)](()=>super[_0xf7f737(0x25c)]());}async['loadOfflineData'](_0x6c3cf4){const _0x4a1c84=_0x34b9d0;return this[_0x4a1c84(0x1fa)]?null:this[_0x4a1c84(0x2c0)][_0x4a1c84(0x31d)](_0x236523(_0x6c3cf4));}async[_0x34b9d0(0x1e1)](_0x1253aa,_0xd6f0f2){const _0x1874fe=_0x34b9d0;return!!this[_0x1874fe(0x2c0)][_0x1874fe(0x294)](_0x1253aa,_0xd6f0f2);}['updateOfflineData'](_0x2a3805,_0x185aaa,_0x4962e6,_0x164657){const _0x8a26fc=_0x34b9d0,_0x442855=this[_0x8a26fc(0x27d)][_0x8a26fc(0x360)](_0x2a3805);this['_cachedData']['set'](_0x2a3805,{'unitID':_0x2a3805,'type':_0x185aaa,'awaitingChangeset':_0x4962e6,'mutations':_0x164657,'rev':_0x442855}),this[_0x8a26fc(0x1d6)][_0x8a26fc(0x2c8)](_0x2a3805)||this[_0x8a26fc(0x37e)](_0x2a3805);}[_0x34b9d0(0x37e)](_0x46ac8d){const _0x2841e5=_0x34b9d0,_0x2717d9=this['_getSaveTimeout']();_0x2717d9===0x0?this[_0x2841e5(0x3d0)](_0x46ac8d):this['_saveTaskMap'][_0x2841e5(0x1ff)](_0x46ac8d,setTimeout(()=>this['_saveCache'](_0x46ac8d),_0x2717d9));}[_0x34b9d0(0x2b3)](){const _0x497c0f=_0x34b9d0;var _0x295fa3;return(_0x295fa3=this[_0x497c0f(0x235)][_0x497c0f(0x34e)](_0x1a9424))!=null?_0x295fa3:_0x360f30;}[_0x34b9d0(0x3d0)](_0x41c47a){const _0x550986=_0x34b9d0,_0x2b9166=this['_saveTaskMap'][_0x550986(0x21c)](_0x41c47a);return _0x2b9166!==void 0x0&&window[_0x550986(0x1e9)](_0x2b9166),this[_0x550986(0x2c0)]['setItem'](_0x236523(_0x41c47a),this[_0x550986(0x22b)][_0x550986(0x21c)](_0x41c47a))['then'](()=>this[_0x550986(0x1d6)][_0x550986(0x226)](_0x41c47a));}async['exhaustSavingTask'](){const _0x408f0a=[];this['_saveTaskMap']['forEach']((_0x155aea,_0x5c59f4)=>{const _0x8d700=_0x219f;window['clearTimeout'](_0x155aea),_0x408f0a[_0x8d700(0x221)](this[_0x8d700(0x3d0)](_0x5c59f4)['then'](()=>{const _0x1b6242=_0x8d700;this[_0x1b6242(0x1d6)][_0x1b6242(0x226)](_0x5c59f4);}));}),await Promise['all'](_0x408f0a);}};Le=_n([Ee(0x0,_0x129578),Ee(0x1,_0x742536),Ee(0x2,_0x8d18a4(_0x16a722))],Le);class hn extends _0x2b0107{constructor(){const _0x2b1d11=_0x34b9d0;super(),_(this,_0x2b1d11(0x354)),this[_0x2b1d11(0x354)]=_0x508e24(window,'popstate')[_0x2b1d11(0x210)](_0x289d7f(this[_0x2b1d11(0x2fc)]),_0x1d2154(0x1),_0x131454(void 0x0));}['setParam'](_0x30fb9e,_0xf0388,_0x1a8f8d=!0x1){const _0x37a075=_0x34b9d0,_0x439f75=new URL(window[_0x37a075(0x324)]['href']);_0x439f75[_0x37a075(0x2e1)][_0x37a075(0x1ff)](_0x30fb9e,_0xf0388),_0x1a8f8d?window[_0x37a075(0x20b)]['replaceState']('','',_0x439f75['toString']()):window[_0x37a075(0x20b)]['pushState']('','',_0x439f75[_0x37a075(0x370)]());}[_0x34b9d0(0x29e)](_0x37d057,_0x331929=!0x1){const _0x1f0be0=_0x34b9d0,_0x43d5a8=new URL(window['location'][_0x1f0be0(0x22c)]);_0x43d5a8[_0x1f0be0(0x2e1)][_0x1f0be0(0x226)](_0x37d057),_0x331929?window['history'][_0x1f0be0(0x30f)]('','',_0x43d5a8[_0x1f0be0(0x370)]()):window[_0x1f0be0(0x20b)]['pushState']('','',_0x43d5a8[_0x1f0be0(0x370)]());}['getParam'](_0x4f454d){const _0x165efa=_0x34b9d0;var _0x4c1eee;return(_0x4c1eee=new URL(window[_0x165efa(0x324)][_0x165efa(0x22c)])[_0x165efa(0x2e1)]['get'](_0x4f454d))!=null?_0x4c1eee:void 0x0;}}var un=Object[_0x34b9d0(0x3ce)],dn=Object[_0x34b9d0(0x3a9)],fn=(_0x5f591b,_0x4b3051,_0x4d6f5b)=>_0x4b3051 in _0x5f591b?un(_0x5f591b,_0x4b3051,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d6f5b}):_0x5f591b[_0x4b3051]=_0x4d6f5b,Sn=(_0x5ac438,_0x196a71,_0x5b9760,_0x28a302)=>{for(var _0x21bf7d=_0x28a302>0x1?void 0x0:_0x28a302?dn(_0x196a71,_0x5b9760):_0x196a71,_0x60c180=_0x5ac438['length']-0x1,_0x2b7a31;_0x60c180>=0x0;_0x60c180--)(_0x2b7a31=_0x5ac438[_0x60c180])&&(_0x21bf7d=_0x2b7a31(_0x21bf7d)||_0x21bf7d);return _0x21bf7d;},Oe=(_0x448703,_0xefe92)=>(_0x53f336,_0x2ee174)=>_0xefe92(_0x53f336,_0x2ee174,_0x448703),mn=(_0x568594,_0x30ae25,_0x46f9a3)=>fn(_0x568594,_0x30ae25+'',_0x46f9a3);const In=_0x34b9d0(0x323);let Ae=class extends _0x230d0c{constructor(_0x31856c=et,_0xb90dc3,_0x212e72,_0x475b8e){const _0x24ace0=_0x34b9d0;super(),this['_config']=_0x31856c,this['_renderManagerService']=_0xb90dc3,this[_0x24ace0(0x3d7)]=_0x212e72,this[_0x24ace0(0x235)]=_0x475b8e;const {..._0x580eb0}=_0x66d9d({},et,this[_0x24ace0(0x3a8)]);this[_0x24ace0(0x235)][_0x24ace0(0x3a5)](Zi,_0x580eb0);}['onStarting'](){const _0x925764=_0x34b9d0;this[_0x925764(0x2a8)](),this[_0x925764(0x3c6)]();}[_0x34b9d0(0x3d5)](){this['_registerRenderDependencies']();}[_0x34b9d0(0x2a8)](){const _0x20ef05=_0x34b9d0;var _0x11ea11;const _0x23de96=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x3c9243,{'useClass':_0x3978b2}],[_0x33b887,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x33041d(this[_0x20ef05(0x3d7)],_0x12d16a(_0x23de96,(_0x11ea11=this[_0x20ef05(0x3a8)])==null?void 0x0:_0x11ea11[_0x20ef05(0x1dd)]));}[_0x34b9d0(0x38c)](){const _0x242e6d=_0x34b9d0;this[_0x242e6d(0x2a0)](this[_0x242e6d(0x233)][_0x242e6d(0x21d)](_0x10129e[_0x242e6d(0x3bf)],[we])),this[_0x242e6d(0x2a0)](this['_renderManagerService']['registerRenderModule'](_0x10129e[_0x242e6d(0x2d6)],[Pe]));}[_0x34b9d0(0x3c6)](){_0x24d1ec(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x34b9d0(0x32d),In),Ae=Sn([_0x5379c1(_0x4446f3),Oe(0x1,_0x12775b),Oe(0x2,_0x8d18a4(_0x197dec)),Oe(0x3,_0x129578)],Ae);var gn=Object[_0x34b9d0(0x3a9)],vn=(_0x5878ba,_0x5a0c2a,_0xe0350a,_0x48bc81)=>{const _0x1df5fc=_0x34b9d0;for(var _0x45329f=_0x48bc81>0x1?void 0x0:_0x48bc81?gn(_0x5a0c2a,_0xe0350a):_0x5a0c2a,_0x3af277=_0x5878ba[_0x1df5fc(0x389)]-0x1,_0xc5ed44;_0x3af277>=0x0;_0x3af277--)(_0xc5ed44=_0x5878ba[_0x3af277])&&(_0x45329f=_0xc5ed44(_0x45329f)||_0x45329f);return _0x45329f;},K=(_0x3fa8a0,_0x2d4b6b)=>(_0x13e934,_0x29dcc4)=>_0x2d4b6b(_0x13e934,_0x29dcc4,_0x3fa8a0);let st=class extends _0x2a98fc{constructor(_0x3bd8ab,_0x370262,_0x30612f,_0x41938c,_0x7be297){super(_0x3bd8ab,_0x370262,_0x30612f,_0x41938c,_0x7be297);}async[_0x34b9d0(0x312)](_0x5c56f8){const _0x3eefda=_0x34b9d0,_0x17a15c=await this[_0x3eefda(0x2fe)](),_0x378845=this[_0x3eefda(0x228)](_0x5c56f8,_0x17a15c);return this[_0x3eefda(0x2c4)](_0x378845);}[_0x34b9d0(0x228)](_0x2fd3de,_0x58c1e8){const _0x36fd33=_0x34b9d0,_0x501c7b=typeof window>'u'?new URL(_0x2fd3de):new URL(_0x2fd3de,window[_0x36fd33(0x324)][_0x36fd33(0x247)]);_0x501c7b[_0x36fd33(0x2e1)][_0x36fd33(0x1ff)](_0x36fd33(0x261),_0x58c1e8);const _0x3431d7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x36fd33(0x324)][_0x36fd33(0x35d)]);return _0x3431d7[_0x36fd33(0x21c)](_0x36fd33(0x3ab))&&_0x501c7b[_0x36fd33(0x2e1)][_0x36fd33(0x1ff)](_0x36fd33(0x3ab),_0x3431d7[_0x36fd33(0x21c)](_0x36fd33(0x3ab))),_0x501c7b[_0x36fd33(0x370)]();}async[_0x34b9d0(0x2fe)](){const _0x1ef793=_0x34b9d0;var _0x20706a,_0x47ac7c,_0x35059f;const _0x403581=this[_0x1ef793(0x235)]['getConfig'](_0x5d8b4d),_0x4de210=(_0x20706a=_0x403581==null?void 0x0:_0x403581[_0x1ef793(0x340)])!=null?_0x20706a:_0x15428e;return(_0x35059f=(_0x47ac7c=(await this[_0x1ef793(0x2cd)][_0x1ef793(0x21c)](_0x4de210,{'headers':{'Content-Type':_0x1ef793(0x248)}}))[_0x1ef793(0x338)])==null?void 0x0:_0x47ac7c[_0x1ef793(0x394)])!=null?_0x35059f:'';}};st=vn([K(0x0,_0x8d18a4(_0x197dec)),K(0x1,_0x8d18a4(_0x5e1b87)),K(0x2,_0x129578),K(0x3,_0x5a6d22),K(0x4,_0x292b0f)],st);const it=0x7530,nt=_0x34b9d0(0x2c6);class jn extends _0x43e103{constructor(){const _0x5a8a6a=_0x34b9d0;super(),_(this,_0x5a8a6a(0x264),_0x5c3365()),_(this,_0x5a8a6a(0x332),new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x5a8a6a(0x1e5),new Map()),_(this,_0x5a8a6a(0x381),new Map()),this[_0x5a8a6a(0x39c)]();}[_0x34b9d0(0x25c)](){const _0x343d0b=_0x34b9d0;super['dispose'](),this[_0x343d0b(0x1e5)][_0x343d0b(0x2e7)]((_0x14428a,_0x39448d)=>this['_removeClearOtherTimer'](_0x39448d)),this[_0x343d0b(0x2a7)]&&window['clearInterval'](this[_0x343d0b(0x2a7)]);}[_0x34b9d0(0x38f)](_0x11a7e8){const _0x265bad=_0x34b9d0;return this[_0x265bad(0x311)](_0x11a7e8)[_0x265bad(0x210)](_0xadf336());}['editingUnit'](_0x5650d3){const _0x25fe1a=_0x34b9d0;this[_0x25fe1a(0x332)]['size']===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x25fe1a(0x1d5)](_0x5650d3),this[_0x25fe1a(0x39d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5650d3],'isForwarded':!0x1});}['disposeUnit'](_0x371f24){const _0xde4d87=_0x34b9d0;this[_0xde4d87(0x332)][_0xde4d87(0x226)](_0x371f24),this['_selfUnitIDs']['size']===0x0&&this[_0xde4d87(0x2a7)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x34b9d0(0x39c)](){const _0x341b64=_0x34b9d0;this[_0x341b64(0x2a0)](_0x21a460(_0x508e24(window,'storage')[_0x341b64(0x209)](_0x892540=>{const _0x1ef92d=_0x341b64;if(_0x892540['key']!==nt||!_0x892540[_0x1ef92d(0x33e)])return;const _0xfad47f=JSON[_0x1ef92d(0x341)](_0x892540[_0x1ef92d(0x33e)]);this[_0x1ef92d(0x3d9)](_0xfad47f);}))),window['addEventListener'](_0x341b64(0x2f3),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x341b64(0x332)])}));}[_0x34b9d0(0x3d9)](_0x1090eb){const _0x471ae1=_0x34b9d0;switch(_0x1090eb[_0x471ae1(0x35c)]){case 0x0:this[_0x471ae1(0x298)](_0x1090eb);break;case 0x1:this[_0x471ae1(0x3b1)](_0x1090eb);break;case 0x2:this[_0x471ae1(0x21e)](_0x1090eb);break;}}[_0x34b9d0(0x298)](_0x44a949){const _0x258adf=_0x34b9d0,{unitIDs:_0x1b5fdf,memberID:_0x50e291,isForwarded:_0xc64cc}=_0x44a949;_0x1b5fdf[_0x258adf(0x2e7)](_0x61c850=>{const _0x1dc39b=_0x258adf;if(!_0xc64cc&&this[_0x1dc39b(0x2cb)][_0x1dc39b(0x2c8)](_0x61c850)&&this[_0x1dc39b(0x311)](_0x61c850)[_0x1dc39b(0x2ec)](_0x46c10a[_0x1dc39b(0x3b3)]),!this[_0x1dc39b(0x2cb)][_0x1dc39b(0x2c8)](_0x61c850)||!this[_0x1dc39b(0x2cb)][_0x1dc39b(0x21c)](_0x61c850)[_0x1dc39b(0x2c8)](_0x50e291)){const _0x8773c5=this['_unitOnClients']['get'](_0x61c850)||new Set();_0x8773c5[_0x1dc39b(0x1d5)](_0x50e291),this[_0x1dc39b(0x2cb)][_0x1dc39b(0x1ff)](_0x61c850,_0x8773c5),this['_scheduleClearOtherTimer'](_0x50e291);}}),_0xc64cc||this[_0x258adf(0x39d)]({'type':0x0,'memberID':this[_0x258adf(0x264)],'unitIDs':[...this[_0x258adf(0x332)]],'isForwarded':!0x0});}[_0x34b9d0(0x37f)](_0x5b33c0){const _0x1e3099=_0x34b9d0;this[_0x1e3099(0x32f)](_0x5b33c0);const _0x24cd09=window[_0x1e3099(0x1e4)](()=>{const _0x5e9a59=_0x1e3099;this[_0x5e9a59(0x2cb)][_0x5e9a59(0x2e7)](_0x4fc11d=>{const _0x4d8171=_0x5e9a59;_0x4fc11d[_0x4d8171(0x226)](_0x5b33c0);});},it*0x2);this[_0x1e3099(0x1e5)][_0x1e3099(0x1ff)](_0x5b33c0,_0x24cd09);}[_0x34b9d0(0x32f)](_0x5415e4){const _0x2b5a90=_0x34b9d0;if(this[_0x2b5a90(0x1e5)][_0x2b5a90(0x2c8)](_0x5415e4)){const _0x3a2a27=this[_0x2b5a90(0x1e5)][_0x2b5a90(0x21c)](_0x5415e4);_0x3a2a27&&window['clearTimeout'](_0x3a2a27),this[_0x2b5a90(0x1e5)]['set'](_0x5415e4,null);}}['_handleLeaveEvent'](_0x38a392){const _0x4f8c19=_0x34b9d0,{memberID:_0xbe76af,unitIDs:_0x54b90f}=_0x38a392;_0x54b90f[_0x4f8c19(0x2e7)](_0x54b36f=>{const _0x26efab=_0x4f8c19;var _0x170841;const _0x361298=this[_0x26efab(0x2cb)][_0x26efab(0x21c)](_0x54b36f);_0x361298&&(_0x361298[_0x26efab(0x226)](_0xbe76af),(_0x170841=this[_0x26efab(0x311)](_0x54b36f))==null||_0x170841['next'](_0x361298[_0x26efab(0x387)]===0x0?_0x46c10a[_0x26efab(0x203)]:_0x46c10a['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0xbe76af);}[_0x34b9d0(0x21e)](_0x364981){const _0x3c0005=_0x34b9d0;this[_0x3c0005(0x37f)](_0x364981[_0x3c0005(0x3b7)]);}[_0x34b9d0(0x39d)](_0x2be267){const _0x15e30a=_0x34b9d0;localStorage[_0x15e30a(0x294)](nt,JSON[_0x15e30a(0x319)](_0x2be267));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x4629c2=_0x219f;this[_0x4629c2(0x39d)]({'type':0x2,'memberID':this[_0x4629c2(0x264)]});},it);}[_0x34b9d0(0x311)](_0xc4b5cb){const _0xbe5386=_0x34b9d0;return this[_0xbe5386(0x381)][_0xbe5386(0x2c8)](_0xc4b5cb)||this['_unitStatus'][_0xbe5386(0x1ff)](_0xc4b5cb,new _0xcd9cee(_0x46c10a[_0xbe5386(0x203)])),this[_0xbe5386(0x381)][_0xbe5386(0x21c)](_0xc4b5cb);}}var Mt=(_0x4630fa=>(_0x4630fa[_0x4630fa[_0x34b9d0(0x2a5)]=0x0]=_0x34b9d0(0x2a5),_0x4630fa[_0x4630fa['OK']=0x1]='OK',_0x4630fa[_0x4630fa[_0x34b9d0(0x349)]=0x2]=_0x34b9d0(0x349),_0x4630fa[_0x4630fa['PERMISSION_DENIED']=0x3]=_0x34b9d0(0x232),_0x4630fa[_0x4630fa['NOT_FOUND']=0x4]=_0x34b9d0(0x1fe),_0x4630fa[_0x4630fa['UNAUTHENTICATED']=0x5]=_0x34b9d0(0x29f),_0x4630fa[_0x4630fa[_0x34b9d0(0x2c9)]=0x6]='ALREADY_EXISTS',_0x4630fa[_0x4630fa['INVALID_ARGUMENT']=0x7]=_0x34b9d0(0x313),_0x4630fa[_0x4630fa['TOO_MANY_REQUESTS']=0x8]=_0x34b9d0(0x325),_0x4630fa[_0x4630fa[_0x34b9d0(0x2d0)]=0x9]=_0x34b9d0(0x2d0),_0x4630fa[_0x4630fa['LOGIN_FAILED']=0xa]=_0x34b9d0(0x34f),_0x4630fa[_0x4630fa[_0x34b9d0(0x250)]=0x1389]=_0x34b9d0(0x250),_0x4630fa[_0x4630fa[_0x34b9d0(0x2c2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4630fa[_0x4630fa[_0x34b9d0(0x352)]=0x1772]=_0x34b9d0(0x352),_0x4630fa[_0x4630fa[_0x34b9d0(0x395)]=0x1773]=_0x34b9d0(0x395),_0x4630fa[_0x4630fa[_0x34b9d0(0x368)]=0x1b59]=_0x34b9d0(0x368),_0x4630fa[_0x4630fa[_0x34b9d0(0x373)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4630fa[_0x4630fa[_0x34b9d0(0x302)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4630fa[_0x4630fa['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x34b9d0(0x1e6),_0x4630fa[_0x4630fa[_0x34b9d0(0x376)]=0x1b5d]=_0x34b9d0(0x376),_0x4630fa[_0x4630fa[_0x34b9d0(0x3a7)]=0x1f41]=_0x34b9d0(0x3a7),_0x4630fa[_0x4630fa[_0x34b9d0(0x3d4)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4630fa[_0x4630fa[_0x34b9d0(0x281)]=0x232a]=_0x34b9d0(0x281),_0x4630fa[_0x4630fa[_0x34b9d0(0x1d2)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4630fa[_0x4630fa['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x34b9d0(0x3c9),_0x4630fa[_0x4630fa[_0x34b9d0(0x2aa)]=0x232d]=_0x34b9d0(0x2aa),_0x4630fa[_0x4630fa['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x34b9d0(0x328),_0x4630fa[_0x4630fa[_0x34b9d0(0x216)]=0x2712]=_0x34b9d0(0x216),_0x4630fa[_0x4630fa['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4630fa[_0x4630fa['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x34b9d0(0x201),_0x4630fa[_0x4630fa[_0x34b9d0(0x1f8)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4630fa[_0x4630fa[_0x34b9d0(0x28d)]=0x271b]=_0x34b9d0(0x28d),_0x4630fa[_0x4630fa[_0x34b9d0(0x326)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4630fa[_0x4630fa[_0x34b9d0(0x2ab)]=0x271d]=_0x34b9d0(0x2ab),_0x4630fa[_0x4630fa[_0x34b9d0(0x2b7)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4630fa[_0x4630fa['YUUMI_AI_RUN_FAILED']=0x271f]=_0x34b9d0(0x1ef),_0x4630fa[_0x4630fa[_0x34b9d0(0x24d)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4630fa[_0x4630fa[_0x34b9d0(0x1f4)]=0x2ee1]=_0x34b9d0(0x1f4),_0x4630fa[_0x4630fa[_0x34b9d0(0x2e8)]=0x2ee2]=_0x34b9d0(0x2e8),_0x4630fa[_0x4630fa['INVITE_CODE_REQUIRED']=0x2ee3]=_0x34b9d0(0x2fd),_0x4630fa[_0x4630fa[_0x34b9d0(0x215)]=0x2ee4]=_0x34b9d0(0x215),_0x4630fa[_0x4630fa[_0x34b9d0(0x364)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4630fa[_0x4630fa[_0x34b9d0(0x2b2)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4630fa[_0x4630fa['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x34b9d0(0x26b),_0x4630fa[_0x4630fa[_0x34b9d0(0x2dc)]=0x32cb]=_0x34b9d0(0x2dc),_0x4630fa[_0x4630fa[_0x34b9d0(0x31b)]=-0x1]=_0x34b9d0(0x31b),_0x4630fa))(Mt||{}),pn=Object[_0x34b9d0(0x3a9)],Cn=(_0x386b69,_0x56ba78,_0x43e0cd,_0x5bb0c1)=>{const _0x3ea877=_0x34b9d0;for(var _0x14e6ee=_0x5bb0c1>0x1?void 0x0:_0x5bb0c1?pn(_0x56ba78,_0x43e0cd):_0x56ba78,_0x437fe2=_0x386b69[_0x3ea877(0x389)]-0x1,_0x30fb89;_0x437fe2>=0x0;_0x437fe2--)(_0x30fb89=_0x386b69[_0x437fe2])&&(_0x14e6ee=_0x30fb89(_0x14e6ee)||_0x14e6ee);return _0x14e6ee;},be=(_0x83b957,_0x5a7571)=>(_0x1cbc20,_0x3320ee)=>_0x5a7571(_0x1cbc20,_0x3320ee,_0x83b957);let rt=class extends _0x43e103{constructor(_0x96993a,_0x479f3,_0x25a1ef){const _0xaf10b6=_0x34b9d0;super(),this[_0xaf10b6(0x2de)]=_0x96993a,this[_0xaf10b6(0x2cd)]=_0x479f3,this[_0xaf10b6(0x235)]=_0x25a1ef;}async[_0x34b9d0(0x3b4)](_0x170c0e,_0x4f656f,_0x145ae0,..._0x2ac9ea){const _0x46a398=_0x34b9d0;var _0x319713,_0x283ab1,_0x2fe312,_0x513e65;const _0x4bd89c=this[_0x46a398(0x2de)][_0x46a398(0x2be)]();if(!_0x4bd89c)throw new Error(_0x46a398(0x3ba));const _0xd85101=((_0x319713=this[_0x46a398(0x235)]['getConfig'](_0x4433ab))!=null?_0x319713:_0x5b681f)+'/'+_0x170c0e+_0x46a398(0x36b)+_0x4f656f,_0x44f921=new URL(window[_0x46a398(0x324)][_0x46a398(0x22c)]),_0x48eb48={'scriptId':_0x170c0e,'runId':(_0x283ab1=_0x44f921[_0x46a398(0x2e1)][_0x46a398(0x21c)](_0x46a398(0x3ab)))!=null?_0x283ab1:'','function':_0x4f656f,'unitId':_0x4bd89c[_0x46a398(0x35e)](),'argsOfFunction':JSON[_0x46a398(0x319)](_0x2ac9ea),'invokeId':(_0x2fe312=_0x145ae0[_0x46a398(0x353)])!=null?_0x2fe312:'','executionId':(_0x513e65=_0x145ae0[_0x46a398(0x2c1)])!=null?_0x513e65:''};try{const _0x50e4a6=await this[_0x46a398(0x2cd)][_0x46a398(0x39b)](_0xd85101,{'body':_0x48eb48});return _0x50e4a6[_0x46a398(0x338)]['error']&&_0x50e4a6[_0x46a398(0x338)][_0x46a398(0x28f)][_0x46a398(0x1ed)]!==Mt['OK']?'Failed':_0x50e4a6[_0x46a398(0x338)][_0x46a398(0x30e)];}catch{return _0x46a398(0x2ea);}}};rt=Cn([be(0x0,_0x44c7b8),be(0x1,_0x8d18a4(_0x5e1b87)),be(0x2,_0x129578)],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 +1 @@
1
- function _0x56c9(_0x1e6698,_0x5eae86){const _0x2eaf6b=_0x2eaf();return _0x56c9=function(_0x56c91c,_0x2deb6b){_0x56c91c=_0x56c91c-0x1be;let _0x519633=_0x2eaf6b[_0x56c91c];return _0x519633;},_0x56c9(_0x1e6698,_0x5eae86);}function _0x2eaf(){const _0x2c17fe=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Click\x20to\x20Reconnect','1512pHvfuu','35511bPDphN','Authentication\x20Error','1060225jObFJP','Edit\x20conflicts','11UkQuUu','9936ocqhdE','6OMGvjw','530201zcVxbK','Synced','Syncing...','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.','4143SzklKa','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1807470WaqQkn','24YWEjRL','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Syncing\x20server\x20data...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1602276zMmTxP','42OMVuci','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x2eaf=function(){return _0x2c17fe;};return _0x2eaf();}const _0x58d217=_0x56c9;(function(_0x1a5614,_0x4681ec){const _0x45f6c9=_0x56c9,_0x580b62=_0x1a5614();while(!![]){try{const _0xa8b6d3=-parseInt(_0x45f6c9(0x1d0))/0x1*(parseInt(_0x45f6c9(0x1bf))/0x2)+-parseInt(_0x45f6c9(0x1c5))/0x3*(-parseInt(_0x45f6c9(0x1d4))/0x4)+parseInt(_0x45f6c9(0x1c7))/0x5+-parseInt(_0x45f6c9(0x1cb))/0x6*(-parseInt(_0x45f6c9(0x1cc))/0x7)+parseInt(_0x45f6c9(0x1c4))/0x8*(-parseInt(_0x45f6c9(0x1ca))/0x9)+parseInt(_0x45f6c9(0x1d3))/0xa+-parseInt(_0x45f6c9(0x1c9))/0xb*(parseInt(_0x45f6c9(0x1be))/0xc);if(_0xa8b6d3===_0x4681ec)break;else _0x580b62['push'](_0x580b62['shift']());}catch(_0x2b8f96){_0x580b62['push'](_0x580b62['shift']());}}}(_0x2eaf,0x1af27));const e={'collab-client':{'tooltip':{'reconnect':_0x58d217(0x1c3)}},'collabStatus':{'fetchMiss':_0x58d217(0x1d6),'conflict':_0x58d217(0x1c8),'notCollab':'Local\x20file','synced':_0x58d217(0x1cd),'syncing':_0x58d217(0x1ce),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x58d217(0x1d7),'room-full':_0x58d217(0x1d2),'collaboration-timeout':_0x58d217(0x1c1)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x58d217(0x1cf)},'permission':{'title':_0x58d217(0x1c6),'content':_0x58d217(0x1d5)},'collaboration':{'single-unit':{'warning':_0x58d217(0x1c0)},'closeRoom':_0x58d217(0x1c2)},'auth':{'needGotoLoginAlert':_0x58d217(0x1d1)}};export{e as default};
1
+ const _0x37cede=_0x32de;function _0x32de(_0xe44e69,_0x695d83){const _0x24e664=_0x24e6();return _0x32de=function(_0x32ded8,_0x25826a){_0x32ded8=_0x32ded8-0xd5;let _0x6a399b=_0x24e664[_0x32ded8];return _0x6a399b;},_0x32de(_0xe44e69,_0x695d83);}(function(_0x38c7f0,_0x4c1ff3){const _0x3c8dbf=_0x32de,_0x260b97=_0x38c7f0();while(!![]){try{const _0xee5422=parseInt(_0x3c8dbf(0xe9))/0x1+parseInt(_0x3c8dbf(0xd9))/0x2+-parseInt(_0x3c8dbf(0xdb))/0x3*(-parseInt(_0x3c8dbf(0xd5))/0x4)+-parseInt(_0x3c8dbf(0xea))/0x5*(parseInt(_0x3c8dbf(0xe5))/0x6)+parseInt(_0x3c8dbf(0xdf))/0x7+parseInt(_0x3c8dbf(0xe3))/0x8+-parseInt(_0x3c8dbf(0xe7))/0x9;if(_0xee5422===_0x4c1ff3)break;else _0x260b97['push'](_0x260b97['shift']());}catch(_0xfd1d35){_0x260b97['push'](_0x260b97['shift']());}}}(_0x24e6,0x81691));const e={'collab-client':{'tooltip':{'reconnect':_0x37cede(0xe8)}},'collabStatus':{'fetchMiss':_0x37cede(0xdd),'conflict':_0x37cede(0xde),'notCollab':_0x37cede(0xe4),'synced':'Synced','syncing':_0x37cede(0xdc),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x37cede(0xe1),'will-retry':_0x37cede(0xd7),'room-full':_0x37cede(0xd6),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x37cede(0xda),'content':'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.'},'permission':{'title':_0x37cede(0xe6),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x37cede(0xe2)},'closeRoom':_0x37cede(0xe0)},'auth':{'needGotoLoginAlert':_0x37cede(0xd8)}};function _0x24e6(){const _0x5b2d8d=['6216AlIbtg','Authentication\x20Error','17956071adPyxw','Click\x20to\x20Reconnect','447670VcRupe','3455rCoIcg','28NyrcfG','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','938812OgrekF','Collaboration\x20Conflict','445431jfslBi','Syncing...','Syncing\x20server\x20data...','Edit\x20conflicts','2527350IvSRdC','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20please\x20check\x20your\x20network.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','7388760mTMbLN','Local\x20file'];_0x24e6=function(){return _0x5b2d8d;};return _0x24e6();}export{e as default};
@@ -1 +1 @@
1
- const _0x294036=_0x11d6;function _0x5ef9(){const _0xff84d4=['اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','همگام\x20سازی','10cUfHHq','خطای\x20اعتبارسنجی','44apPoNJ','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','8YYWxzg','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','تداخل\x20همکاری','320jbAIdd','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','10280844pmVMXM','1442952fvEYIE','در\x20حال\x20همگام\x20سازی...','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','پرونده\x20محلی','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','3130408yuAPEn','143352wkYNeI','384593ciGTqA','2549068MbjUgP','21oqbUwx','4838436LWoOtR'];_0x5ef9=function(){return _0xff84d4;};return _0x5ef9();}function _0x11d6(_0x5bc4b8,_0x3ad377){const _0x5ef9f3=_0x5ef9();return _0x11d6=function(_0x11d653,_0x2ef0a7){_0x11d653=_0x11d653-0x141;let _0x166449=_0x5ef9f3[_0x11d653];return _0x166449;},_0x11d6(_0x5bc4b8,_0x3ad377);}(function(_0x4b9087,_0x284cbd){const _0x1fbb3f=_0x11d6,_0x49e161=_0x4b9087();while(!![]){try{const _0x3e6376=parseInt(_0x1fbb3f(0x141))/0x1*(-parseInt(_0x1fbb3f(0x14b))/0x2)+-parseInt(_0x1fbb3f(0x153))/0x3+parseInt(_0x1fbb3f(0x142))/0x4+-parseInt(_0x1fbb3f(0x150))/0x5*(-parseInt(_0x1fbb3f(0x15a))/0x6)+-parseInt(_0x1fbb3f(0x143))/0x7*(-parseInt(_0x1fbb3f(0x159))/0x8)+-parseInt(_0x1fbb3f(0x152))/0x9*(-parseInt(_0x1fbb3f(0x147))/0xa)+-parseInt(_0x1fbb3f(0x149))/0xb*(parseInt(_0x1fbb3f(0x144))/0xc);if(_0x3e6376===_0x284cbd)break;else _0x49e161['push'](_0x49e161['shift']());}catch(_0x3622fd){_0x49e161['push'](_0x49e161['shift']());}}}(_0x5ef9,0xcf9e6));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x294036(0x14c),'conflict':'تداخل\x20ویرایش','notCollab':_0x294036(0x156),'synced':_0x294036(0x146),'syncing':_0x294036(0x154),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x294036(0x158),'will-retry':_0x294036(0x145),'room-full':_0x294036(0x14d),'collaboration-timeout':_0x294036(0x157)},'conflict':{'title':_0x294036(0x14f),'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':_0x294036(0x148),'content':_0x294036(0x14e)},'collaboration':{'single-unit':{'warning':_0x294036(0x155)},'closeRoom':_0x294036(0x151)},'auth':{'needGotoLoginAlert':_0x294036(0x14a)}};export{o as default};
1
+ function _0x9a1d(_0x42f669,_0x3f53f5){const _0xce40f4=_0xce40();return _0x9a1d=function(_0x9a1de8,_0x46cdbc){_0x9a1de8=_0x9a1de8-0x16e;let _0x3b7614=_0xce40f4[_0x9a1de8];return _0x3b7614;},_0x9a1d(_0x42f669,_0x3f53f5);}const _0x4bee66=_0x9a1d;(function(_0x34435a,_0x34d85e){const _0x4785a1=_0x9a1d,_0x344569=_0x34435a();while(!![]){try{const _0x5ac5ef=-parseInt(_0x4785a1(0x187))/0x1*(-parseInt(_0x4785a1(0x181))/0x2)+parseInt(_0x4785a1(0x170))/0x3*(-parseInt(_0x4785a1(0x182))/0x4)+-parseInt(_0x4785a1(0x177))/0x5*(parseInt(_0x4785a1(0x17c))/0x6)+-parseInt(_0x4785a1(0x17e))/0x7*(-parseInt(_0x4785a1(0x178))/0x8)+parseInt(_0x4785a1(0x185))/0x9+parseInt(_0x4785a1(0x171))/0xa*(parseInt(_0x4785a1(0x16f))/0xb)+-parseInt(_0x4785a1(0x17a))/0xc*(parseInt(_0x4785a1(0x17b))/0xd);if(_0x5ac5ef===_0x34d85e)break;else _0x344569['push'](_0x344569['shift']());}catch(_0x4e9b9b){_0x344569['push'](_0x344569['shift']());}}}(_0xce40,0x442ae));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x4bee66(0x179),'conflict':'تداخل\x20ویرایش','notCollab':_0x4bee66(0x183),'synced':_0x4bee66(0x175),'syncing':_0x4bee66(0x174),'offline':_0x4bee66(0x172)},'session':{'connection-failed':_0x4bee66(0x188),'will-retry':_0x4bee66(0x16e),'room-full':_0x4bee66(0x186),'collaboration-timeout':_0x4bee66(0x17f)},'conflict':{'title':_0x4bee66(0x173),'content':_0x4bee66(0x180)},'permission':{'title':_0x4bee66(0x184),'content':_0x4bee66(0x17d)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x4bee66(0x176)}};export{o as default};function _0xce40(){const _0x7038b7=['یک\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رفت.','34004BszKeW','8pWMzvG','پرونده\x20محلی','خطای\x20اعتبارسنجی','743904jIaotT','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','3aVgipG','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','11tPelKA','618141qGSkqf','3856290GPpqxZ','آفلاین،\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کنید.','9265LCHlaM','45256AOSfOf','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','44904UQpWxv','13fRgtjC','72RwFDtJ','اعمال\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رفت.','245igntHD','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'];_0xce40=function(){return _0x7038b7;};return _0xce40();}