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

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 _0x150068=_0x52c0;(function(_0x3be823,_0xcd43a2){const _0x12a325=_0x52c0,_0x473385=_0x3be823();while(!![]){try{const _0x11dd3d=parseInt(_0x12a325(0x194))/0x1+-parseInt(_0x12a325(0x235))/0x2+parseInt(_0x12a325(0x23f))/0x3+-parseInt(_0x12a325(0x1ad))/0x4*(-parseInt(_0x12a325(0x252))/0x5)+parseInt(_0x12a325(0x106))/0x6+parseInt(_0x12a325(0x23b))/0x7*(parseInt(_0x12a325(0x25a))/0x8)+parseInt(_0x12a325(0x151))/0x9*(-parseInt(_0x12a325(0x2c6))/0xa);if(_0x11dd3d===_0xcd43a2)break;else _0x473385['push'](_0x473385['shift']());}catch(_0x1df00c){_0x473385['push'](_0x473385['shift']());}}}(_0x582f,0x8891b));var $t=Object[_0x150068(0x257)],xt=(_0x13b3e7,_0x58ff1d,_0x488e61)=>_0x58ff1d in _0x13b3e7?$t(_0x13b3e7,_0x58ff1d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x488e61}):_0x13b3e7[_0x58ff1d]=_0x488e61,_=(_0x4a0ea5,_0x15bc95,_0x41dee4)=>xt(_0x4a0ea5,typeof _0x15bc95!=_0x150068(0x133)?_0x15bc95+'':_0x15bc95,_0x41dee4);import{MemberService as _0xa02b84,SessionStatus as _0x315989,CollaborationSessionService as _0x59c279,CollaborationStatus as _0x1de966,CollaborationController as _0x1b2ee1,ILocalCacheService as _0x37f606,CollaborationUIEventService as _0x356aec,CollaborationUIEventId as _0x28c6ee,DataLoaderService as _0x4fb94d,DocCollaborationEntity as _0x3d6c06,getLocalCacheKey as _0xda1ddf,LOCAL_CACHE_INTERVAL as _0x410689,LOCAL_CACHE_INTERVAL_KEY as _0x5d9472,UniverCollaborationClientPlugin as _0x17fc6d,CollaborationSocketService as _0x187970,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4ea354,DEFAULT_WS_SESSION_TICKET_URL as _0x1e3666,UnitStatus as _0x56d765,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5b60c8,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x104bb5}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x17c743,Disposable as _0x2f24fc,DOC_RANGE_TYPE as _0x4ac8a2,Inject as _0x536958,Injector as _0x34a00d,IUniverInstanceService as _0x1e55c1,ICommandService as _0x11b296,debounce as _0x50d366,Rectangle as _0xaa52d5,DisposableCollection as _0x169b09,toDisposable as _0x50adf5,UniverInstanceType as _0x1383fd,Tools as _0x361829,COLORS as _0x4884fa,ColorKit as _0x49ad64,ThemeService as _0x39a3f4,fromEventSubject as _0x38d1c3,LocaleService as _0x4945d8,createIdentifier as _0x258647,ILogService as _0x4e8405,Optional as _0x2de207,Workbook as _0x2987ba,CommandType as _0x315a1f,IConfigService as _0x465a6c,ILocalStorageService as _0xc4caef,DependentOn as _0x172743,Plugin as _0x5aafbe,merge as _0x31e702,registerDependencies as _0x1854b4,mergeOverrideWithDependencies as _0xf3852f,touchDependencies as _0x97cba8,generateRandomId as _0x5e4ef5}from'@univerjs/core';import{Shape as _0x56cd23,Rect as _0x2bf31e,getColor as _0x3470a6,RegularPolygon as _0x465551,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3d5d6f,Vector2 as _0x542dd2,SHEET_VIEWPORT_KEY as _0x46b1b5,IRenderManagerService as _0x34203b}from'@univerjs/engine-render';function _0x52c0(_0x548647,_0x3b5c5d){const _0x582fcb=_0x582f();return _0x52c0=function(_0x52c0d9,_0x215543){_0x52c0d9=_0x52c0d9-0xf8;let _0x31bb24=_0x582fcb[_0x52c0d9];return _0x31bb24;},_0x52c0(_0x548647,_0x3b5c5d);}import{ISocketService as _0x41750f,WebSocketService as _0x559b56,HTTPService as _0x1dcbe0}from'@univerjs/network';import{IDocClipboardService as _0x151909,NodePositionConvertToCursor as _0x5e117b,NodePositionConvertToRectRange as _0x3fa607,TEXT_RANGE_LAYER_INDEX as _0x1db18f,SetDocZoomRatioOperation as _0x3195f4,DocIMEInputManagerService as _0x244fa1,DocStateChangeManagerService as _0x2af64b}from'@univerjs/docs-ui';import{IImageIoService as _0x49fbc2}from'@univerjs/drawing';import{BehaviorSubject as _0xe09868,debounceTime as _0x44631f,takeUntil as _0x48853c,Subject as _0x1c2401,filter as _0x4d7778,switchMap as _0x12034a,merge as _0x4f88c6,combineLatest as _0x3a6636,of as _0x1bc6b3,fromEvent as _0x102697,shareReplay as _0x8ef732,mapTo as _0x50be62,distinctUntilChanged as _0x7b24db}from'rxjs';import{SetTextSelectionsOperation as _0x1febe5,RichTextEditingMutation as _0x1b6faf,DocSelectionManagerService as _0x4efbc9,DocSkeletonManagerService as _0x47abd3}from'@univerjs/docs';import{ITransformService as _0x4451e4,CollaborationEvent as _0x72baa7,isTransformMutationFailure as _0x2eb867,isTransformMutationsWithChangesetSuccess as _0x523171,RevisionService as _0x5d4046,ISnapshotServerService as _0x230952}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x54af2f,serializeRangeWithSheet as _0x3d8c88}from'@univerjs/engine-formula';import{RefRangeService as _0xdc69a0,SetSelectionsOperation as _0x2d0068,SheetsSelectionsService as _0x1020bd,EffectRefRangId as _0xebd1c4,handleIRemoveRow as _0x86d911,handleIRemoveCol as _0x4d5054,handleMoveRange as _0x2886dd,handleInsertRow as _0x381770,handleInsertRangeMoveRight as _0x5de878,handleInsertRangeMoveDown as _0x653a8c,handleInsertCol as _0x1fc1c5,handleDeleteRangeMoveUp as _0x584088,handleDeleteRangeMoveLeft as _0x1ccaf4,runRefRangeMutations as _0x43d4c4,SetWorksheetActivateCommand as _0x3eec88}from'@univerjs/sheets';import{map as _0x5b6da1,filter as _0x3b0eff,throttleTime as _0x529240,takeUntil as _0x461093,switchMap as _0xcd0863}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3a2a45,getCoordByCell as _0x387448,getSheetObject as _0xc02de6}from'@univerjs/sheets-ui';import{jsx as _0x48a15e,jsxs as _0x1ea8a8}from'react/jsx-runtime';import{useObservable as _0x149991,useDependency as _0x1e15e4,IUIPartsService as _0x56213b,BuiltInUIPart as _0x17d563,connectInjector as _0x3022ae,IBeforeCloseService as _0x4c05a0,IMessageService as _0x413878,INotificationService as _0x202096}from'@univerjs/ui';import{Tooltip as _0x2ac438,clsx as _0x358dec,MessageType as _0x11269a}from'@univerjs/design';import{forwardRef as _0x505345,useRef as _0x597afd,createElement as _0x4a832b,useCallback as _0x1e145b}from'react';import{IRemoteInstanceService as _0x2e3217}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x1a276e,_0x5c2063,_0x1c84b8,_0x4aa142)=>{for(var _0x4be60b=_0x4aa142>0x1?void 0x0:_0x4aa142?ci(_0x5c2063,_0x1c84b8):_0x5c2063,_0x9e164d=_0x1a276e['length']-0x1,_0x47dc02;_0x9e164d>=0x0;_0x9e164d--)(_0x47dc02=_0x1a276e[_0x9e164d])&&(_0x4be60b=_0x47dc02(_0x4be60b)||_0x4be60b);return _0x4be60b;},Je=(_0xf36f9a,_0x53999d)=>(_0x52b3da,_0x3774fe)=>_0x53999d(_0x52b3da,_0x3774fe,_0xf36f9a);let Ne=class extends _0x17c743{constructor(_0x53ecf9,_0x3f080a){const _0x3f1fb9=_0x150068;super(),this[_0x3f1fb9(0x2e6)]=_0x53ecf9,this[_0x3f1fb9(0x232)]=_0x3f080a,this[_0x3f1fb9(0x15e)]();}[_0x150068(0x15e)](){const _0x209dc7=_0x150068,_0x5cb77a=this;this['disposeWithMe'](this[_0x209dc7(0x2e6)][_0x209dc7(0x2c1)]({'onBeforePasteImage':async _0xba0ce7=>{const _0x26e282=_0x209dc7,_0x15f835=await _0x5cb77a[_0x26e282(0x232)][_0x26e282(0x104)](_0xba0ce7);return _0x15f835?{'source':_0x15f835[_0x26e282(0x1f0)],'imageSourceType':_0x15f835[_0x26e282(0x29c)]}:null;}}));}};Ne=li([Je(0x0,_0x151909),Je(0x1,_0x49fbc2)],Ne);const Ze=[_0x150068(0x2f3),_0x150068(0x166),_0x150068(0xf9),_0x150068(0x123),_0x150068(0x174),'yellow.400'];class ke extends _0x2f24fc{constructor(){const _0x42e999=_0x150068;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x42e999(0x220),0x0);}[_0x150068(0x2bc)](_0x558311){const _0x20a1f1=_0x150068;if(this[_0x20a1f1(0x175)][_0x20a1f1(0x265)](_0x558311))return this[_0x20a1f1(0x175)]['get'](_0x558311);const _0x571435=Ze[this['_colorIndex']];return this[_0x20a1f1(0x220)]=(this[_0x20a1f1(0x220)]+0x1)%Ze[_0x20a1f1(0x1a0)],this['_assignedColors'][_0x20a1f1(0x23a)](_0x558311,_0x571435),_0x571435;}}function Tt(_0x5a33a5){const _0x23f92d=_0x150068;let _0xdf12b8='';for(const _0x130f3e of _0x5a33a5){const {startOffset:_0x359c36,endOffset:_0x3769a2,isActive:_0x75179c,rangeType:_0x2a88e3,segmentId:_0x4a214d,segmentPage:_0x5a7e17}=_0x130f3e;_0xdf12b8[_0x23f92d(0x1a0)]&&(_0xdf12b8+=','),_0xdf12b8+=_0x359c36+':'+_0x3769a2+':'+(_0x75179c?'1':'0')+':'+_0x2a88e3+':'+_0x4a214d+':'+_0x5a7e17;}return _0xdf12b8;}function _i(_0x5187a0){const _0x45d034=_0x150068,_0x8732a6=_0x5187a0['split'](','),_0x15994c=[];for(const _0x3d220b of _0x8732a6){const [_0x37db3d,_0x1512cc,_0x44cfff,_0xb50364,_0x1704bb,_0x3f4477]=_0x3d220b[_0x45d034(0x19d)](':');_0x15994c[_0x45d034(0x121)]({'startOffset':Number(_0x37db3d),'endOffset':Number(_0x1512cc),'collapsed':_0x37db3d===_0x1512cc,'isActive':_0x44cfff==='1','rangeType':_0xb50364===_0x4ac8a2[_0x45d034(0x2ce)]?_0x4ac8a2[_0x45d034(0x2ce)]:_0x4ac8a2[_0x45d034(0x219)],'segmentId':typeof _0x1704bb=='string'?String(_0x1704bb):'','segmentPage':Number(_0x3f4477!=null?_0x3f4477:-0x1)});}return _0x15994c[_0x45d034(0x16b)](_0x46afe5=>_0x46afe5[_0x45d034(0x1b2)])||(_0x15994c[0x0][_0x45d034(0x1b2)]=!0x0),_0x15994c;}class He extends _0x17c743{constructor(){const _0x187938=_0x150068;super(...arguments),_(this,_0x187938(0x137),new _0xe09868(null)),_(this,_0x187938(0x238),this['_collabCursorState$'][_0x187938(0x247)]());}['syncEditingCollabCursor'](_0x50251e){const _0x54b266=_0x150068,{unitID:_0x37095c,memberID:_0x17d90d,textRanges:_0x311e97}=_0x50251e,_0x15ac10=Tt(_0x311e97);if(_0x15ac10==='')return;const _0x2e4289={'unitID':_0x37095c,'memberID':_0x17d90d,'selection':_0x15ac10};this['_collabCursorState$'][_0x54b266(0x165)](_0x2e4289);}}var hi=Object[_0x150068(0x1c1)],ui=(_0x23b521,_0x25d3c5,_0x3d8477,_0x2f9666)=>{const _0x52ab2c=_0x150068;for(var _0x52eec6=_0x2f9666>0x1?void 0x0:_0x2f9666?hi(_0x25d3c5,_0x3d8477):_0x25d3c5,_0x101839=_0x23b521[_0x52ab2c(0x1a0)]-0x1,_0x268a90;_0x101839>=0x0;_0x101839--)(_0x268a90=_0x23b521[_0x101839])&&(_0x52eec6=_0x268a90(_0x52eec6)||_0x52eec6);return _0x52eec6;},P=(_0x120e8f,_0x50505c)=>(_0x2adf2b,_0x548c29)=>_0x50505c(_0x2adf2b,_0x548c29,_0x120e8f);const di=0x12c,fi=0x64;let Ue=class extends _0x17c743{constructor(_0x3154b3,_0x33daa6,_0x4c3d88,_0xb8e14d,_0x217e72,_0x3c0bd3,_0x543b0e,_0x42cfdd,_0xebd11d){const _0x9b54c0=_0x150068;super(),_(this,_0x9b54c0(0x2a9),!0x1),_(this,_0x9b54c0(0x15e),!0x1),_(this,'_cursorInfo$',new _0xe09868(new Map())),_(this,_0x9b54c0(0x204),this[_0x9b54c0(0x295)][_0x9b54c0(0x247)]()),_(this,_0x9b54c0(0xfb),new _0xe09868([])),_(this,_0x9b54c0(0x2bd),this['_roomMembers$'][_0x9b54c0(0x1b5)](_0x44631f(di))),_(this,_0x9b54c0(0x289),_0x50d366(_0x181152=>{const _0x1f748a=_0x9b54c0,_0x489682={'eventID':_0x72baa7[_0x1f748a(0x21e)],'data':{'unitID':this[_0x1f748a(0x1c3)],'memberID':this[_0x1f748a(0x1e6)][_0x1f748a(0x162)](),'selection':Tt(_0x181152)}};this['_session']['send'](_0x489682,this[_0x1f748a(0x1c3)]);},fi)),(this[_0x9b54c0(0x1c3)]=_0x3154b3,this[_0x9b54c0(0x1e6)]=_0x33daa6,this[_0x9b54c0(0x1be)]=_0x4c3d88,this[_0x9b54c0(0x29d)]=_0xb8e14d,this[_0x9b54c0(0x2be)]=_0x217e72,this[_0x9b54c0(0x1fb)]=_0x3c0bd3,this['_transformService']=_0x543b0e,this[_0x9b54c0(0x1f3)]=_0x42cfdd,this[_0x9b54c0(0x13a)]=_0xebd11d);}get[_0x150068(0x113)](){const _0xfecf1b=_0x150068;return this['_cursorInfo$'][_0xfecf1b(0x270)]();}get['roomMembers'](){const _0x3034cb=_0x150068;return this['_roomMembers$'][_0x3034cb(0x270)]();}[_0x150068(0x1ff)](){const _0x5de646=_0x150068;super[_0x5de646(0x1ff)](),this[_0x5de646(0x295)]['next'](new Map()),this[_0x5de646(0x295)][_0x5de646(0x244)](),this[_0x5de646(0xfb)][_0x5de646(0x165)]([]),this[_0x5de646(0xfb)][_0x5de646(0x244)]();}[_0x150068(0x2fb)](){const _0x4cc357=_0x150068;this[_0x4cc357(0x15e)]||(this[_0x4cc357(0x15e)]=!0x0,this[_0x4cc357(0x1e6)][_0x4cc357(0x2a3)][_0x4cc357(0x1b5)](_0x48853c(this[_0x4cc357(0x13d)]))[_0x4cc357(0x1c7)](_0x451570=>{const _0x5dc4db=_0x4cc357;_0x451570===_0x315989[_0x5dc4db(0x2e7)]?this[_0x5dc4db(0x14e)]():this[_0x5dc4db(0x250)]();}),this[_0x4cc357(0x1e6)][_0x4cc357(0x146)][_0x4cc357(0x1b5)](_0x48853c(this['dispose$']))[_0x4cc357(0x1c7)](_0x5d76e9=>{const _0x135ab0=_0x4cc357,_0x13cb86=_0x5d76e9['eventID'];_0x13cb86===_0x72baa7[_0x135ab0(0x21e)]&&this['_onCursorUpdate'](_0x5d76e9),_0x13cb86===_0x72baa7['USERS_LEAVE']&&this[_0x135ab0(0x2bf)](_0x5d76e9);}),this['disposeWithMe'](this[_0x4cc357(0x13a)][_0x4cc357(0x302)](_0x180814=>{const _0x4c7ad=_0x4cc357,_0x414418=_0x180814['params'];_0x414418!=null&&this[_0x4c7ad(0x2a9)]&&_0x180814['id']===_0x1febe5['id']&&_0x414418[_0x4c7ad(0x1d7)]===this['unitID']&&_0x414418[_0x4c7ad(0x2c9)]===!0x1&&_0x414418[_0x4c7ad(0x1e7)][_0x4c7ad(0x1a0)]>0x0&&this[_0x4c7ad(0x289)](_0x414418[_0x4c7ad(0x1e7)]);})),this[_0x4cc357(0x1fb)]['collabCursorState$'][_0x4cc357(0x1b5)](_0x48853c(this[_0x4cc357(0x13d)]))[_0x4cc357(0x1c7)](_0x3310b7=>{const _0x529dac=_0x4cc357;if((_0x3310b7==null?void 0x0:_0x3310b7[_0x529dac(0x1c3)])!==this['unitID'])return;const _0x1eae56={'eventID':_0x72baa7[_0x529dac(0x21e)],'data':_0x3310b7};this['_onCursorUpdate'](_0x1eae56);}),this['disposeWithMe'](this[_0x4cc357(0x13a)][_0x4cc357(0x302)](_0x10c197=>{const _0x53e026=_0x4cc357;if(_0x10c197['params']==null)return;const _0x3fc222=_0x10c197[_0x53e026(0x20a)];if(_0x10c197['id']!==_0x1b6faf['id']||_0x3fc222[_0x53e026(0x1d7)]!==this[_0x53e026(0x1c3)])return;const _0xb9ac46={'id':_0x53e026(0x141),'params':_0x3fc222},_0x4ebb0c=this['cursorInfo'];for(const [_0x2fe810,_0x5231bd]of _0x4ebb0c){const _0x10bc1d={'id':_0x53e026(0x141),'params':{'unitId':this[_0x53e026(0x1c3)],'actions':null,'textRanges':_0x5231bd[_0x53e026(0x1e7)]}},_0x2dd0c5=this[_0x53e026(0x266)][_0x53e026(0x240)](_0xb9ac46,_0x10bc1d,!0x1);if(_0x2eb867(_0x2dd0c5))throw _0x2dd0c5[_0x53e026(0x263)];_0x4ebb0c[_0x53e026(0x23a)](_0x2fe810,{..._0x5231bd,'ranges':_0x2dd0c5[_0x53e026(0x158)][_0x53e026(0x20a)][_0x53e026(0x20f)]});}queueMicrotask(()=>{const _0x463090=_0x53e026;this[_0x463090(0x295)][_0x463090(0x165)](_0x4ebb0c);});})));}[_0x150068(0x200)](_0x2bae62){const _0x48673d=_0x150068;var _0x5f9f16,_0x58131c;const {memberID:_0x530094,selection:_0x24231e}=_0x2bae62[_0x48673d(0x161)],_0x29a190=_i(_0x24231e),_0x4a197b=(_0x58131c=(_0x5f9f16=this[_0x48673d(0x2be)][_0x48673d(0x280)](this[_0x48673d(0x1c3)],_0x530094))==null?void 0x0:_0x5f9f16[_0x48673d(0x10a)])!=null?_0x58131c:_0x48673d(0x150),_0x1f1aa8={'color':this[_0x48673d(0x29d)]['assignAColorForMemberID'](_0x530094),'name':_0x4a197b,'ranges':_0x29a190},_0x59c6ea=this['cursorInfo'];_0x59c6ea[_0x48673d(0x23a)](_0x530094,_0x1f1aa8),this['_cursorInfo$']['next'](_0x59c6ea);}[_0x150068(0x2bf)](_0x503759){const _0x1c25fb=_0x150068,{memberID:_0x510f2e}=_0x503759['data'],_0x13bf97=this[_0x1c25fb(0x113)];_0x13bf97[_0x1c25fb(0x142)](_0x510f2e),this[_0x1c25fb(0x295)][_0x1c25fb(0x165)](_0x13bf97);}['_toggleOnline'](){const _0x283523=_0x150068;var _0x535db8;if(this[_0x283523(0x2a9)]=!0x0,((_0x535db8=this['_univerInstanceService'][_0x283523(0x2b4)]())==null?void 0x0:_0x535db8['getUnitId']())!==this[_0x283523(0x1c3)])return;const _0xb216e=this[_0x283523(0x1be)][_0x283523(0x1ed)](_0x4efbc9)[_0x283523(0x22d)]();Array['isArray'](_0xb216e)&&_0xb216e['length']>0x0&&this[_0x283523(0x289)](_0xb216e);}[_0x150068(0x250)](){const _0x5ad6a6=_0x150068;this[_0x5ad6a6(0x2a9)]=!0x1;}};Ue=ui([P(0x2,_0x536958(_0x34a00d)),P(0x3,_0x536958(ke)),P(0x4,_0x536958(_0xa02b84)),P(0x5,_0x536958(He)),P(0x6,_0x4451e4),P(0x7,_0x1e55c1),P(0x8,_0x11b296)],Ue);var Si=Object[_0x150068(0x1c1)],mi=(_0x32c7db,_0x5a08eb,_0x55498e,_0x3899e1)=>{for(var _0x33918a=_0x3899e1>0x1?void 0x0:_0x3899e1?Si(_0x5a08eb,_0x55498e):_0x5a08eb,_0x19e31c=_0x32c7db['length']-0x1,_0x4b794f;_0x19e31c>=0x0;_0x19e31c--)(_0x4b794f=_0x32c7db[_0x19e31c])&&(_0x33918a=_0x4b794f(_0x33918a)||_0x33918a);return _0x33918a;},x=(_0x493e5e,_0x3edd21)=>(_0x4cb2a8,_0x186e24)=>_0x3edd21(_0x4cb2a8,_0x186e24,_0x493e5e);const Ii=0x12c,gi=0x64,vi=()=>{let _0x1692fc=[],_0x4361c7=!0x1;return _0x1b110a=>{const _0x4c5d8b=_0x52c0;_0x1692fc[_0x4c5d8b(0x121)](_0x1b110a),_0x4361c7||(_0x4361c7=!0x0,setTimeout(()=>{const _0x5fcf7f=_0x4c5d8b;_0x1692fc[_0x5fcf7f(0x12a)](_0x3729e3=>_0x3729e3()),_0x1692fc=[],_0x4361c7=!0x1;}));};};let Me=class extends _0x17c743{constructor(_0xbaf1cc,_0x4c582f,_0x571657,_0x3c1be3,_0x26fab3,_0x43123b,_0x10a257,_0xa5f6fb){const _0x29d653=_0x150068;super(),_(this,_0x29d653(0x2a9),!0x1),_(this,_0x29d653(0x15e),!0x1),_(this,'_cursorInfo$',new _0xe09868(new Map())),_(this,_0x29d653(0x204),this[_0x29d653(0x295)]['asObservable']()),_(this,_0x29d653(0xfb),new _0xe09868([])),_(this,_0x29d653(0x2bd),this['_roomMembers$'][_0x29d653(0x1b5)](_0x44631f(Ii))),_(this,_0x29d653(0x289),_0x50d366((_0x3f69b1,_0x4afd91)=>{const _0x5dbcff=_0x29d653,_0x1c5470={'eventID':_0x72baa7[_0x5dbcff(0x21e)],'data':{'unitID':this['unitID'],'memberID':this[_0x5dbcff(0x1e6)][_0x5dbcff(0x162)](),'selection':_0x3d8c88(_0x3f69b1,_0x4afd91[_0x5dbcff(0x11a)])}};this[_0x5dbcff(0x1e6)][_0x5dbcff(0x22c)](_0x1c5470,this['unitID']);},gi)),(this['unitID']=_0xbaf1cc,this[_0x29d653(0x1e6)]=_0x4c582f,this[_0x29d653(0x1be)]=_0x571657,this[_0x29d653(0x29d)]=_0x3c1be3,this[_0x29d653(0x2be)]=_0x26fab3,this['_univerInstanceService']=_0x43123b,this[_0x29d653(0x13a)]=_0x10a257,this[_0x29d653(0x139)]=_0xa5f6fb);}get[_0x150068(0x113)](){const _0x4bb351=_0x150068;return this[_0x4bb351(0x295)][_0x4bb351(0x270)]();}get[_0x150068(0x2f4)](){const _0x35b866=_0x150068;return this['_roomMembers$'][_0x35b866(0x270)]();}[_0x150068(0x1ff)](){const _0x81d5ea=_0x150068;super[_0x81d5ea(0x1ff)](),this[_0x81d5ea(0x295)]['next'](new Map()),this[_0x81d5ea(0x295)][_0x81d5ea(0x244)](),this[_0x81d5ea(0xfb)][_0x81d5ea(0x165)]([]),this[_0x81d5ea(0xfb)][_0x81d5ea(0x244)]();}[_0x150068(0x2fb)](){const _0x50db88=_0x150068;this[_0x50db88(0x15e)]||(this[_0x50db88(0x15e)]=!0x0,this[_0x50db88(0x1e6)][_0x50db88(0x2a3)][_0x50db88(0x1b5)](_0x48853c(this[_0x50db88(0x13d)]))[_0x50db88(0x1c7)](_0x3f8a3d=>{const _0x2b0580=_0x50db88;_0x3f8a3d===_0x315989[_0x2b0580(0x2e7)]?this[_0x2b0580(0x14e)]():this[_0x2b0580(0x250)]();}),this[_0x50db88(0x1e6)][_0x50db88(0x146)][_0x50db88(0x1b5)](_0x48853c(this[_0x50db88(0x13d)]))[_0x50db88(0x1c7)](_0x2eb4b4=>{const _0x2615b6=_0x50db88,_0x275e91=_0x2eb4b4[_0x2615b6(0x1ca)];_0x275e91===_0x72baa7['UPDATE_CURSOR']&&this[_0x2615b6(0x200)](_0x2eb4b4),_0x275e91===_0x72baa7['USERS_LEAVE']&&this[_0x2615b6(0x2bf)](_0x2eb4b4);}),this[_0x50db88(0x1c4)](),this['disposeWithMe'](this[_0x50db88(0x13a)][_0x50db88(0x302)](_0x50c1c2=>{const _0x4fa232=_0x50db88;if(this['_online']&&_0x50c1c2['id']===_0x2d0068['id']&&_0x50c1c2[_0x4fa232(0x20a)][_0x4fa232(0x1d7)]===this[_0x4fa232(0x1c3)]){const _0x59d411=_0x50c1c2[_0x4fa232(0x20a)];this[_0x4fa232(0x289)](_0x59d411[_0x4fa232(0x2fe)],_0x59d411[_0x4fa232(0x216)][0x0]);}})));}['_onCursorUpdate'](_0x3d1529){const _0x10ba64=_0x150068;var _0x36cd6d,_0x466cd6;const {memberID:_0x15dd1e,selection:_0x18aa3e}=_0x3d1529[_0x10ba64(0x161)],{sheetName:_0x45f0cb,range:_0xfd1d15}=_0x54af2f(_0x18aa3e),_0x2146cf={'name':(_0x466cd6=(_0x36cd6d=this[_0x10ba64(0x2be)][_0x10ba64(0x280)](this['unitID'],_0x15dd1e))==null?void 0x0:_0x36cd6d['name'])!=null?_0x466cd6:_0x10ba64(0x150),'range':this['_getMergeRange'](_0x45f0cb,_0xfd1d15),'sheetID':_0x45f0cb,'color':this[_0x10ba64(0x29d)][_0x10ba64(0x2bc)](_0x15dd1e),'selection':_0x18aa3e},_0x4041d4=this[_0x10ba64(0x113)];_0x4041d4[_0x10ba64(0x23a)](_0x15dd1e,_0x2146cf),this[_0x10ba64(0x295)][_0x10ba64(0x165)](_0x4041d4);}[_0x150068(0x2bf)](_0x58e46c){const _0x417275=_0x150068,{memberID:_0x1df4ba}=_0x58e46c[_0x417275(0x161)],_0xaf2be0=this[_0x417275(0x113)];_0xaf2be0['delete'](_0x1df4ba),this[_0x417275(0x295)][_0x417275(0x165)](_0xaf2be0);}['_getMergeRange'](_0x38a1b6,_0x46242c){const _0x457c61=_0x150068;var _0x4e9f98,_0x189bf9;const _0x12b331=(_0x189bf9=(_0x4e9f98=this[_0x457c61(0x1f3)][_0x457c61(0x2d1)](this['unitID']))==null?void 0x0:_0x4e9f98[_0x457c61(0x1d9)](_0x38a1b6))==null?void 0x0:_0x189bf9[_0x457c61(0x20b)]();return(_0x12b331==null?void 0x0:_0x12b331[_0x457c61(0x170)](_0x543289=>_0xaa52d5['contains'](_0x543289,_0x46242c)))||_0x46242c;}[_0x150068(0x1c4)](){const _0xd1a9d0=_0x150068,_0x1e6fa6=new _0x169b09(),_0x8c5488=vi(),_0x37719f=()=>{const _0x5814ef=_0x52c0;_0x1e6fa6[_0x5814ef(0x1ff)]();const _0x47ea10=(_0x395e1f,_0x32510f,_0x1972ca,_0x46ab5a)=>{const _0x28a91c=_0x5814ef;let _0x3be4bb=[];switch(_0x395e1f['id']){case _0xebd1c4[_0x28a91c(0x27c)]:{_0x3be4bb=_0x1ccaf4(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4['DeleteRangeMoveUpCommandId']:{_0x3be4bb=_0x584088(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4[_0x28a91c(0x101)]:{_0x3be4bb=_0x1fc1c5(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4['InsertRangeMoveDownCommandId']:{_0x3be4bb=_0x653a8c(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4[_0x28a91c(0x2ed)]:{_0x3be4bb=_0x5de878(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4[_0x28a91c(0x2b2)]:{_0x3be4bb=_0x381770(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4[_0x28a91c(0x18c)]:{_0x3be4bb=_0x2886dd(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4['RemoveColCommandId']:{_0x3be4bb=_0x4d5054(_0x395e1f,_0x46ab5a);break;}case _0xebd1c4[_0x28a91c(0x13e)]:{_0x3be4bb=_0x86d911(_0x395e1f,_0x46ab5a);break;}}const _0x2b1906=_0x43d4c4(_0x3be4bb,_0x46ab5a),_0xc95724=this[_0x28a91c(0x113)][_0x28a91c(0x1ed)](_0x32510f);if(_0xc95724&&_0x2b1906){const _0x284d74={..._0xc95724,'range':_0x2b1906};this[_0x28a91c(0x113)]['set'](_0x32510f,_0x284d74),_0x8c5488(()=>{const _0x5bb241=_0x28a91c,_0x4a0152=this[_0x5bb241(0x139)][_0x5bb241(0x1f1)](_0x2b1906,_0x45c0a1=>(_0x4a0152[_0x5bb241(0x1ff)](),_0x47ea10(_0x45c0a1,_0x32510f,_0x1972ca,_0x2b1906)));_0x1e6fa6[_0x5bb241(0x20c)](_0x4a0152);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x1049d2,_0x5d2d8d)=>{const _0x99e2f3=_0x5814ef,{range:_0x4a450a,sheetID:_0x2ef041}=_0x1049d2,_0xe99150=this[_0x99e2f3(0x139)]['registerRefRange'](_0x4a450a,_0x1802cc=>(_0xe99150[_0x99e2f3(0x1ff)](),_0x47ea10(_0x1802cc,_0x5d2d8d,_0x2ef041,_0x4a450a)));_0x1e6fa6['add'](_0xe99150);});};this[_0xd1a9d0(0x153)](_0x50adf5(this['_cursorInfo$'][_0xd1a9d0(0x1c7)](()=>{_0x37719f();})));}[_0x150068(0x14e)](){const _0x3b8faf=_0x150068;var _0xc6bf35,_0x491496;if(this[_0x3b8faf(0x2a9)]=!0x0,((_0xc6bf35=this[_0x3b8faf(0x1f3)]['getFocusedUnit']())==null?void 0x0:_0xc6bf35[_0x3b8faf(0x188)]())!==this[_0x3b8faf(0x1c3)])return;const _0x4d156e=(_0x491496=this[_0x3b8faf(0x1be)][_0x3b8faf(0x1ed)](_0x1020bd)[_0x3b8faf(0x1e0)]())==null?void 0x0:_0x491496[0x0],_0x14a61c=this[_0x3b8faf(0x1f3)][_0x3b8faf(0x131)](_0x1383fd[_0x3b8faf(0x255)])[_0x3b8faf(0x1ea)]();_0x4d156e&&_0x14a61c&&this[_0x3b8faf(0x289)](_0x14a61c['getSheetId'](),_0x4d156e);}[_0x150068(0x250)](){const _0x71f4b8=_0x150068;this[_0x71f4b8(0x2a9)]=!0x1;}};Me=mi([x(0x2,_0x536958(_0x34a00d)),x(0x3,_0x536958(ke)),x(0x4,_0x536958(_0xa02b84)),x(0x5,_0x1e55c1),x(0x6,_0x11b296),x(0x7,_0x536958(_0xdc69a0))],Me);var pi=Object[_0x150068(0x1c1)],Ci=(_0x3ab824,_0x12c735,_0x2ebe61,_0x5036a8)=>{const _0x103994=_0x150068;for(var _0x4badf8=_0x5036a8>0x1?void 0x0:_0x5036a8?pi(_0x12c735,_0x2ebe61):_0x12c735,_0x511ebd=_0x3ab824[_0x103994(0x1a0)]-0x1,_0x34236d;_0x511ebd>=0x0;_0x511ebd--)(_0x34236d=_0x3ab824[_0x511ebd])&&(_0x4badf8=_0x34236d(_0x4badf8)||_0x4badf8);return _0x4badf8;},Se=(_0x322c04,_0x562161)=>(_0x2d8282,_0x39d969)=>_0x562161(_0x2d8282,_0x39d969,_0x322c04);let H=class extends _0x17c743{constructor(_0x491b0f,_0x3a75d2,_0x38c3cb){const _0x544301=_0x150068;super(),_(this,_0x544301(0x304),new Map()),_(this,'_entityInit$',new _0x1c2401()),(this[_0x544301(0x1f3)]=_0x491b0f,this[_0x544301(0x1be)]=_0x3a75d2,this[_0x544301(0x11e)]=_0x38c3cb,this[_0x544301(0x15e)]());}[_0x150068(0x1ff)](){const _0x5ba43a=_0x150068;super['dispose'](),this['_entityInit$'][_0x5ba43a(0x244)](),this[_0x5ba43a(0x304)][_0x5ba43a(0x12a)](_0x23805e=>_0x23805e[_0x5ba43a(0x1ff)]());}[_0x150068(0x1a6)](_0x5330d5){const _0x1a6ed0=_0x150068;return this[_0x1a6ed0(0x304)][_0x1a6ed0(0x265)](_0x5330d5)?this['_entities']['get'](_0x5330d5)[_0x1a6ed0(0x204)]:this[_0x1a6ed0(0x236)][_0x1a6ed0(0x1b5)](_0x4d7778(_0x1691b8=>_0x1691b8[_0x1a6ed0(0x1c3)]===_0x5330d5),_0x12034a(_0xd22df7=>_0xd22df7[_0x1a6ed0(0x204)]));}['_init'](){const _0x5eda76=_0x150068;this[_0x5eda76(0x1f3)]['getTypeOfUnitAdded$'](_0x1383fd['UNIVER_SHEET'])[_0x5eda76(0x1b5)](_0x48853c(this['dispose$']))[_0x5eda76(0x1c7)](async _0x58632c=>{const _0x37d17f=_0x5eda76,_0x9858ee=_0x58632c['getUnitId'](),_0x495a4b=await this[_0x37d17f(0x16c)](_0x9858ee);this[_0x37d17f(0x236)][_0x37d17f(0x165)](_0x495a4b),this['_entities'][_0x37d17f(0x23a)](_0x9858ee,_0x495a4b);}),this[_0x5eda76(0x1f3)][_0x5eda76(0x2d8)](_0x1383fd[_0x5eda76(0x239)])[_0x5eda76(0x1b5)](_0x48853c(this[_0x5eda76(0x13d)]))[_0x5eda76(0x1b5)](_0x4d7778(_0x402093=>!_0x402093['getUnitId']()['startsWith']('__')))[_0x5eda76(0x1c7)](async _0x51b646=>{const _0x287f81=_0x5eda76,_0x10c51a=_0x51b646['getUnitId'](),_0x32f574=await this['_startDocCollabCursor'](_0x10c51a);this[_0x287f81(0x236)][_0x287f81(0x165)](_0x32f574),this[_0x287f81(0x304)][_0x287f81(0x23a)](_0x10c51a,_0x32f574);}),_0x4f88c6(this[_0x5eda76(0x1f3)][_0x5eda76(0x21a)](_0x1383fd[_0x5eda76(0x239)]),this[_0x5eda76(0x1f3)][_0x5eda76(0x21a)](_0x1383fd[_0x5eda76(0x255)]))[_0x5eda76(0x1b5)](_0x48853c(this[_0x5eda76(0x13d)]))['subscribe'](_0x47aae0=>{const _0x56cc78=_0x5eda76,_0x9048ab=_0x47aae0[_0x56cc78(0x188)](),_0x4c60d9=this['_entities'][_0x56cc78(0x1ed)](_0x9048ab);_0x4c60d9&&(_0x4c60d9[_0x56cc78(0x1ff)](),this[_0x56cc78(0x304)]['delete'](_0x9048ab));});}async['_startSheetCollabCursor'](_0x21b065){const _0x19e601=_0x150068,_0x2e3991=await this[_0x19e601(0x11e)]['requireSession'](_0x21b065),_0x247394=this[_0x19e601(0x1be)][_0x19e601(0x303)](Me,_0x21b065,_0x2e3991);return _0x247394['init'](),_0x247394;}async[_0x150068(0x191)](_0x7c0474){const _0x69a55c=_0x150068,_0x2ffb71=await this[_0x69a55c(0x11e)]['requireSession'](_0x7c0474),_0x1b3b30=this['_injector'][_0x69a55c(0x303)](Ue,_0x7c0474,_0x2ffb71);return _0x1b3b30['init'](),_0x1b3b30;}};H=Ci([Se(0x0,_0x1e55c1),Se(0x1,_0x536958(_0x34a00d)),Se(0x2,_0x536958(_0x59c279))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x22c885,_0xe6b8ec){const _0x352925=_0x150068;let {radius:_0x4804e5,width:_0x3f9ceb,height:_0x1cb187}=_0xe6b8ec;_0x4804e5=_0x4804e5!=null?_0x4804e5:0x0,_0x3f9ceb=_0x3f9ceb!=null?_0x3f9ceb:0x1e,_0x1cb187=_0x1cb187!=null?_0x1cb187:0x1e;let _0x9f83bf=0x0,_0x50fe19=0x0,_0x32af02=0x0;_0x9f83bf=_0x50fe19=_0x32af02=Math['min'](_0x4804e5,_0x3f9ceb/0x2,_0x1cb187/0x2),_0x22c885[_0x352925(0x264)](),_0x22c885['moveTo'](_0x9f83bf,0x0),_0x22c885[_0x352925(0x223)](_0x3f9ceb-_0x50fe19,0x0),_0x22c885['arc'](_0x3f9ceb-_0x50fe19,_0x50fe19,_0x50fe19,Math['PI']*0x3/0x2,0x0,!0x1),_0x22c885[_0x352925(0x223)](_0x3f9ceb,_0x1cb187-_0x32af02),_0x22c885['arc'](_0x3f9ceb-_0x32af02,_0x1cb187-_0x32af02,_0x32af02,0x0,Math['PI']/0x2,!0x1),_0x22c885[_0x352925(0x223)](0x0,_0x1cb187),_0x22c885[_0x352925(0x223)](0x0,_0x9f83bf),_0x22c885['arc'](_0x9f83bf,_0x9f83bf,_0x9f83bf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x22c885['closePath'](),_0xe6b8ec['fill']&&(_0x22c885['save'](),_0x22c885[_0x352925(0x2e3)]=_0xe6b8ec['fill'],_0xe6b8ec[_0x352925(0x2ef)]===_0x352925(0x213)?_0x22c885[_0x352925(0x1e4)]('evenodd'):_0x22c885['fill'](),_0x22c885[_0x352925(0x2ab)]());}class he extends _0x56cd23{constructor(_0x44a973,_0x293176){const _0x1fe81f=_0x150068;super(_0x44a973,_0x293176),_(this,_0x1fe81f(0x2f1)),_(this,_0x1fe81f(0x127)),(this['color']=_0x293176==null?void 0x0:_0x293176[_0x1fe81f(0x2f1)],this[_0x1fe81f(0x127)]=_0x293176==null?void 0x0:_0x293176[_0x1fe81f(0x127)]);}static[_0x150068(0x10b)](_0x595da8,_0x53b8ed){const _0x94317b=_0x150068,{text:_0x148aeb,color:_0x1d883a}=_0x53b8ed;_0x595da8['save'](),_0x595da8[_0x94317b(0x13f)]=_0x94317b(0x13c);const _0x4128a4=_0x595da8[_0x94317b(0x157)](_0x148aeb)[_0x94317b(0x242)],_0x2da6ad=Math[_0x94317b(0x1a5)](_0x4128a4+0x2*me,Qe);Oi(_0x595da8,{'height':ee,'radius':0x4,'width':_0x2da6ad,'fill':_0x1d883a}),_0x595da8[_0x94317b(0x2e3)]='#FFF';const _0x3a605d=me,_0x37cd19=ee-Ei,_0x55881a=Qe-0x2*me;if(_0x4128a4>_0x55881a){let _0x18b667='',_0x2f446f=0x0;for(const _0x2b2008 of _0x148aeb){const _0x50d175=_0x595da8[_0x94317b(0x157)](_0x2b2008)[_0x94317b(0x242)];if(_0x2f446f+_0x50d175<=_0x55881a-_0x595da8[_0x94317b(0x157)](_0x94317b(0x1a3))[_0x94317b(0x242)])_0x18b667+=_0x2b2008,_0x2f446f+=_0x50d175;else{_0x18b667+=_0x94317b(0x1a3);break;}}_0x595da8['fillText'](_0x18b667,_0x3a605d,_0x37cd19);}else _0x595da8[_0x94317b(0x1d8)](_0x148aeb,_0x3a605d,_0x37cd19);_0x595da8[_0x94317b(0x2ab)]();}[_0x150068(0x29b)](_0x47ad95){he['drawWith'](_0x47ad95,this);}}const Ie=_0x150068(0x28b),bi=_0x150068(0x1cd),Ti=_0x150068(0x299),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x2c54e8,_0xc6ffe,_0x2dfa72,_0x3070cb){const _0x538315=_0x150068;_(this,_0x538315(0x1d3),[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,_0x538315(0x22f),null),_(this,_0x538315(0x120),null),_(this,_0x538315(0x245),null),(this[_0x538315(0x184)]=_0x2c54e8,this[_0x538315(0x230)]=_0xc6ffe,this[_0x538315(0x1a1)]=_0x2dfa72,this['_document']=_0x3070cb,this[_0x538315(0xff)]());}set[_0x150068(0x196)](_0x5298c8){const _0x4a4993=_0x150068;_0x5298c8?(this[_0x4a4993(0x22f)]&&this[_0x4a4993(0x22f)][_0x4a4993(0x16e)](),this[_0x4a4993(0x234)]&&this[_0x4a4993(0x234)]['show']()):(this['_anchorDot']&&this[_0x4a4993(0x22f)][_0x4a4993(0x17e)](),this[_0x4a4993(0x234)]&&this[_0x4a4993(0x234)]['hide']());}[_0x150068(0x1ff)](){const _0x57bb01=_0x150068;for(const _0x4b8414 of this[_0x57bb01(0x1d3)])_0x4b8414[_0x57bb01(0x1ff)]();this[_0x57bb01(0x234)]&&this[_0x57bb01(0x234)]['dispose'](),this[_0x57bb01(0x22f)]&&this[_0x57bb01(0x22f)][_0x57bb01(0x1ff)](),this[_0x57bb01(0x152)]&&this['_anchor'][_0x57bb01(0x1ff)](),this['_eventUnsubscribe']&&this[_0x57bb01(0x245)]();}[_0x150068(0xff)](){const _0x264555=_0x150068;var _0x37558e;const {_docSkeleton:_0xa7dd18,_document:_0xab412b}=this,{color:_0x1de97e,name:_0x174ada,ranges:_0x55fab8}=this[_0x264555(0x184)],_0x4d7563=_0xab412b[_0x264555(0x27d)](),{docsLeft:_0x591500,docsTop:_0x1e2084}=_0x4d7563,_0x3c531a=new _0x5e117b(_0x4d7563,_0xa7dd18);for(const {startOffset:_0x5dcefc,endOffset:_0x25e74a,rangeType:_0x414a82,segmentId:_0x40bb29,segmentPage:_0x5d71c8,collapsed:_0x4dda0d,isActive:_0x36c1a8}of _0x55fab8){const _0x37dc45=_0xa7dd18[_0x264555(0x2b5)](_0x5dcefc,!0x0,_0x40bb29,_0x5d71c8);let _0x42de7b=_0xa7dd18[_0x264555(0x2b5)](_0x25e74a,!0x0,_0x40bb29,_0x5d71c8);if(_0x42de7b==null&&(_0x42de7b=_0xa7dd18[_0x264555(0x2b5)](_0x25e74a-0x1,!0x1,_0x40bb29,_0x5d71c8)),_0x36c1a8){const {contentBoxPointGroup:_0x4df9fd}=_0x3c531a[_0x264555(0x22e)](_0x42de7b,_0x42de7b);if(_0x4df9fd['length']===0x0)continue;this[_0x264555(0x2a0)](_0x1de97e,_0x4df9fd,_0x591500,_0x1e2084,_0x174ada),this[_0x264555(0x245)]=this[_0x264555(0x208)]();}if(_0x37dc45&&_0x42de7b){if(_0x414a82===_0x4ac8a2[_0x264555(0x219)]){const _0x5eea63=new _0x3fa607(_0x4d7563,_0xa7dd18),{pointGroup:_0x38ab12}=(_0x37558e=_0x5eea63[_0x264555(0x22e)](_0x37dc45,_0x42de7b))!=null?_0x37558e:{};if(_0x38ab12==null||_0x38ab12['length']===0x0)continue;this[_0x264555(0x273)](_0x1de97e,_0x38ab12,_0x591500,_0x1e2084);}else{if(!_0x4dda0d){const {borderBoxPointGroup:_0x5c0bdb}=_0x3c531a[_0x264555(0x22e)](_0x37dc45,_0x42de7b);if(_0x5c0bdb[_0x264555(0x1a0)]===0x0)continue;this[_0x264555(0x248)](_0x1de97e,_0x5c0bdb,_0x591500,_0x1e2084);}}}}}[_0x150068(0x2a0)](_0x1a050f,_0x5f58cf,_0xe0e5e1,_0x591948,_0x53e67e){const _0x49ae61=_0x150068,_0x387390=this[_0x49ae61(0x305)](_0x5f58cf),{left:_0x3d7a22,top:_0x4dcc51,height:_0x1b54d2}=_0x387390,_0x577b67=this['_getScale'](),_0x7c4f75=Di/_0x577b67,_0x23da08=new _0x2bf31e(Ie+_0x361829[_0x49ae61(0x2f0)](X),{'left':_0x3d7a22+_0xe0e5e1-_0x7c4f75,'top':_0x4dcc51+_0x591948,'height':_0x1b54d2,'width':Ri,'fill':_0x1a050f||_0x3470a6(_0x4884fa[_0x49ae61(0x1ef)],0x0),'strokeWidth':_0x7c4f75,'stroke':Ni,'evented':!0x0});this[_0x49ae61(0x152)]=_0x23da08,this[_0x49ae61(0x230)][_0x49ae61(0x278)](_0x23da08,_0x1db18f);const _0x16ba4b=new _0x2bf31e(Ie+_0x361829[_0x49ae61(0x2f0)](X),{'left':_0x3d7a22+_0xe0e5e1-_0x7c4f75,'top':_0x4dcc51+_0x591948-ge/0x2,'height':ge,'width':ge,'fill':_0x1a050f||_0x3470a6(_0x4884fa['black'],0x0),'strokeWidth':0x0,'stroke':_0x1a050f||_0x3470a6(_0x4884fa['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x16ba4b,this[_0x49ae61(0x230)]['addObject'](_0x16ba4b,_0x1db18f);const _0x50d5dc=new he(Ie+_0x361829[_0x49ae61(0x2f0)](X),{'left':_0x3d7a22+_0xe0e5e1-_0x7c4f75,'top':_0x4dcc51+_0x591948-ee,'text':_0x53e67e,'color':_0x1a050f});this[_0x49ae61(0x234)]=_0x50d5dc,this[_0x49ae61(0x230)][_0x49ae61(0x278)](_0x50d5dc,_0x1db18f),this['_hover']=!0x1;}[_0x150068(0x208)](){const _0x4106f6=_0x150068,_0x10987a=this[_0x4106f6(0x152)][_0x4106f6(0x19f)][_0x4106f6(0x185)](()=>{this['_hover']=!0x0;}),_0xdf3785=this[_0x4106f6(0x152)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x411ca8=_0x4106f6;this['_hideTimer']&&clearTimeout(this[_0x411ca8(0x120)]),this[_0x411ca8(0x120)]=setTimeout(()=>{const _0x57fca5=_0x411ca8;this[_0x57fca5(0x196)]=!0x1;},0x7d0);});return()=>{const _0x52d8a2=_0x4106f6;_0x10987a[_0x52d8a2(0x2de)](),_0xdf3785['unsubscribe']();};}[_0x150068(0x248)](_0x5df6dd,_0x56b315,_0x3f03d4,_0x572290){const _0x37139c=_0x150068,_0x45b3cb=new _0x49ad64(_0x5df6dd)['setAlpha'](0.2)['toRgbString'](),_0x5ac56d=new _0x465551(bi+_0x361829[_0x37139c(0x2f0)](X),{'pointsGroup':_0x56b315,'fill':_0x45b3cb||_0x3470a6(_0x4884fa[_0x37139c(0x1ef)],0.2),'left':_0x3f03d4,'top':_0x572290,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x37139c(0x1d3)]['push'](_0x5ac56d),this[_0x37139c(0x230)][_0x37139c(0x278)](_0x5ac56d,_0x1db18f);}[_0x150068(0x273)](_0x5c1684,_0x42dcd3,_0x4bb388,_0x123287){const _0x1d534d=_0x150068,_0xe6eb5e=new _0x49ad64(_0x5c1684)[_0x1d534d(0x2d3)](0.2)[_0x1d534d(0x18a)](),_0x492147=new _0x465551(Ti+_0x361829['generateRandomId'](X),{'pointsGroup':_0x42dcd3,'fill':_0xe6eb5e||_0x3470a6(_0x4884fa[_0x1d534d(0x1ef)],0.2),'left':_0x4bb388,'top':_0x123287,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1d534d(0x1d3)][_0x1d534d(0x121)](_0x492147),this[_0x1d534d(0x230)][_0x1d534d(0x278)](_0x492147,_0x1db18f);}[_0x150068(0x305)](_0x3e954d){const _0x5cd0d6=_0x3e954d[0x0],_0xb4a702=_0x5cd0d6[0x0],_0x2fc951=_0x5cd0d6[0x2],{x:_0x927230,y:_0x93fbe4}=_0xb4a702,{x:_0x31dffe,y:_0x23573f}=_0x2fc951;return{'left':_0x927230,'top':_0x93fbe4,'width':_0x31dffe-_0x927230,'height':_0x23573f-_0x93fbe4};}['_getScale'](){const _0x4d733a=_0x150068,{scaleX:_0x1b5b25,scaleY:_0x22fb33}=this['_scene']['getAncestorScale']();return Math[_0x4d733a(0x189)](_0x1b5b25,_0x22fb33);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x4b22a8,_0x209e67,_0x15ec7a,_0x1b5d88)=>{for(var _0x192013=_0x1b5d88>0x1?void 0x0:_0x1b5d88?Ui(_0x209e67,_0x15ec7a):_0x209e67,_0x535232=_0x4b22a8['length']-0x1,_0x24a92f;_0x535232>=0x0;_0x535232--)(_0x24a92f=_0x4b22a8[_0x535232])&&(_0x192013=_0x24a92f(_0x192013)||_0x192013);return _0x192013;},Z=(_0x1995bf,_0x1c085d)=>(_0x17da25,_0x1dee83)=>_0x1c085d(_0x17da25,_0x1dee83,_0x1995bf);let we=class extends _0x17c743{constructor(_0x224efa,_0x55f732,_0x2f0124,_0x65058c,_0x428974){const _0x4364d4=_0x150068;super(),_(this,_0x4364d4(0x1dd),[]),_(this,_0x4364d4(0x2e5),[]),(this[_0x4364d4(0x26d)]=_0x224efa,this[_0x4364d4(0x290)]=_0x55f732,this['_collabCursorController']=_0x2f0124,this[_0x4364d4(0x13a)]=_0x65058c,this['_themeService']=_0x428974,this[_0x4364d4(0x15e)]());}['_init'](){const _0x494232=_0x150068,_0x49da66=this['_context'][_0x494232(0x1d7)],_0x2376cc=this['_docSkeletonManagerService'];this[_0x494232(0x153)](_0x3a6636([this[_0x494232(0x2d7)][_0x494232(0x1a6)](_0x49da66),this[_0x494232(0x201)][_0x494232(0x29a)]])['pipe'](_0x5b6da1(([_0x1cbccb,_0x2cc66f])=>({'skeleton':_0x2376cc[_0x494232(0x105)](),'cursors':[..._0x1cbccb['values']()][_0x494232(0x1d1)](_0x283c2e=>({..._0x283c2e,'color':this[_0x494232(0x201)][_0x494232(0x2b6)](_0x283c2e[_0x494232(0x2f1)])}))})))[_0x494232(0x1c7)](_0x2c236c=>{const _0x59050c=_0x494232;if(this['_removeCollabCursors'](),_0x2c236c){const {skeleton:_0x93428d,cursors:_0x190a37}=_0x2c236c;this[_0x59050c(0x1c6)](_0x93428d,_0x190a37);}})),this[_0x494232(0x154)](),this[_0x494232(0xfe)]();}[_0x150068(0x1c6)](_0x511cb7,_0x39d36a){const _0x2d88f3=_0x150068,{scene:_0x2df6a0,mainComponent:_0x4dc2d1}=this[_0x2d88f3(0x26d)],_0x41f3fe=_0x39d36a[_0x2d88f3(0x181)](_0x458b54=>new qe(_0x458b54,_0x2df6a0,_0x511cb7,_0x4dc2d1));this[_0x2d88f3(0x1dd)]=_0x41f3fe,this[_0x2d88f3(0x2e5)]=_0x39d36a;}['_refreshCollabCursors'](){const _0x2c80b6=_0x150068;this['_removeCollabCursors']();const {scene:_0x2e9284,mainComponent:_0x282192}=this['_context'],_0x257f39=this[_0x2c80b6(0x290)][_0x2c80b6(0x105)](),_0x505c6c=this[_0x2c80b6(0x2e5)][_0x2c80b6(0x181)](_0x887e5a=>new qe(_0x887e5a,_0x2e9284,_0x257f39,_0x282192));this[_0x2c80b6(0x1dd)]=_0x505c6c;}[_0x150068(0x283)](){const _0x2a4b59=_0x150068;this[_0x2a4b59(0x1dd)][_0x2a4b59(0x12a)](_0x41e402=>_0x41e402['dispose']()),this[_0x2a4b59(0x1dd)]=[];}['_initCommandExecutedListener'](){const _0x216105=_0x150068,_0x2cab1b=[_0x3195f4['id']];this['disposeWithMe'](this[_0x216105(0x13a)]['onCommandExecuted'](_0x4f4f79=>{const _0x5c5f85=_0x216105;_0x2cab1b[_0x5c5f85(0x1f7)](_0x4f4f79['id'])&&_0x4f4f79[_0x5c5f85(0x20a)][_0x5c5f85(0x1d7)]===this[_0x5c5f85(0x26d)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x150068(0x154)](){const _0x1933fd=_0x150068;this[_0x1933fd(0x153)](_0x38d1c3(this[_0x1933fd(0x26d)][_0x1933fd(0x231)]['onTransformChange$'])[_0x1933fd(0x1b5)](_0x3b0eff(_0x3d1173=>_0x3d1173[_0x1933fd(0x12e)]===_0x3d5d6f[_0x1933fd(0x19b)]),_0x529240(0x10))[_0x1933fd(0x1c7)](()=>{const _0xade22f=_0x1933fd;this[_0xade22f(0x122)]();}));}};we=Mi([Z(0x1,_0x536958(_0x47abd3)),Z(0x2,_0x536958(H)),Z(0x3,_0x11b296),Z(0x4,_0x536958(_0x39a3f4))],we);function _0x582f(){const _0x1ea42d=['LICENSE_DISTRO_REJECTED','sheetId','entityInit$','getParam','isArray','_updateLocalCursor','_docTransformStateCacheService','collab-text-anchor-','subunit','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','WECHAT_HAS_BEEN_BOUND','executionId','_docSkeletonManagerService','_handleLeaveEvent','collabStatus.fetchMiss','body','_docSyncEditingCollabCursorService','_cursorInfo$','_disabled','CHANGESET_REVISION_CONFILICT','concat','collab-rect-range-','currentTheme$','_draw','imageSourceType','_colorAssignService','_lastPointer','OffLineIcon','_drawAnchor','currentSkeleton$','stringify','sessionStatus$','unit','M0\x200H16V16H0z','_collaborationController','OTHER_CLIENT_EDITING','labelPosition','_online','pluginName','restore','clearTimeout','_hovered','JOIN_ROOM_FAILED','on-line-icon_clip0_910_349','height','registerComponent','InsertRowCommandId','getCollabEntity$','getFocusedUnit','findNodePositionByCharIndex','getColorFromTheme','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','permission.title','replace','APPLY_REJECT','CONNECTOR_DATA_TOO_LARGE','assignAColorForMemberID','roomMembers$','_memberService','_onCursorDelete','white','addClipboardHook','YUUMI_URL_COL_OUT_OF_RANGE','setStateCache','FromArray','_setupSubUnitSync','2110JoZrQW','exhaustSavingTask','_httpService','isEditing','backgroundColor','collabStatus.syncing','_id','updateOfflineData','TEXT','_getSheetObject','permission.content','getUniverSheetInstance','INVALID_ARGUMENT','setAlpha','reconnect','MOBILE_HAS_BEEN_BOUND','SOCKET_FAILED','_collabCursorController','getTypeOfUnitAdded$','univerjs-icon\x20univerjs-icon-','currentColor','override','PERMISSION_DENIED','_labelPosition','unsubscribe','_ensureSubject','HEADER_MENU','_createSocketURL','url(#off-line-icon_clip0_910_343)','fillStyle','top','_cursors','_docClipboardService','ONLINE','collabStatus.offline','actions','OnLineIcon','transformMutationsWithChangeset','_updateURLWithCurrentState','InsertRangeMoveRightCommandId','LICENSE_MAX_UNITS_EXCEEDED','fillRule','generateRandomId','color','saveOfflineData','purple.300','roomMembers','pushState','OTHER_CLIENTS_EDITING','INVALID_INVITE_CODE','setParam','SNAPSHOT_HAS_BEEN_REMOVED','_saveTaskMap','init','_initStatusComponent','setActiveRange','subUnitId','loadUnit','addEventListener','column','onCommandExecuted','createInstance','_entities','_getAnchorBounding','_config','collabStatus.synced','toString','green.600','setConfig','_roomMembers$','_name','LOGIN_FAILED','_initCommandExecutedListener','_render','className','InsertColCommandId','sessionTicket','setShapeProps','saveImage','getSkeleton','1838706joTpgN','transformStateCache','Error','getActiveRange','name','drawWith','apply','getSheetId','_color','collaboration-client-ui.config','LICENSE_IMPORT_SIZE_EXCEEDED','OFFLINE','http://www.w3.org/2000/svg','cursorInfo','_unitOnClients','history','urlChange$','UNAUTHENTICATED','_scheduleClearOtherTimer','univer-flex\x20univer-items-center','range','_cachedData','_beforeCloseService','getStateCache','_collabSessionService','collabStatus.conflict','_hideTimer','push','_refreshCollabCursors','red.300','result','whenReady','SNAPSHOT_INVALID_SNAPSHOT','text','registerBeforeClose','_initDependencies','forEach','/run/','save','search','type','syncEditingCollabCursor','_localStorageService','getCurrentUnitForType','size','symbol','[RemoteUniscriptService]:\x20no\x20focused\x20unit','EMAIL_HAS_BEEN_BOUND','status$','_collabCursorState$','_notificationService','_refRangeService','_commandService','collaboration.single-unit.warning','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','dispose$','RemoveRowCommandId','font','function','doc.mutation.rich-text-editing','delete','TOO_MANY_REQUESTS','getCurrentRevOfUnit','wsSessionTicketUrl','event$','_uiPartsService','YUUMI_AI_RUN_FAILED','loadOfflineData','_configService','_docTransformIMECacheService','location','_transformUndoRedoStack','_toggleOnline','getRenderById','Unknown\x20user','121356BHsYsp','_anchor','disposeWithMe','_initResize','_range','none','measureText','m2Prime','CLOSE_ROOM','_initEvent','YUUMI_RATE_OVER_LIMIT','hovered','row','_init','_heartbeatTimer','searchParams','data','getMemberID','YUUMI_ASYNCIO_CANCELLED','INVITE_CODE_ALREADY_BOUND','next','jiqing.500','_initEntityListener','_collaborationUIEventService','debug','_handleEvent','some','_startSheetCollabCursor','_docTransformSelectionsService','hide','YUUMI_SUBSCRIPTION_NOT_FOUND','find','substring','_messageService','onLocalMutation','blue.400','_assignedColors','translate(.97)','then','Failed','href','triggerDblclick','collaboration.closeRoom','endColumn','session.collaboration-timeout','show','all','USER_NOT_INVITED_CODE','map','children','mask','_cursor','subscribeEvent','ACTIVE_UNIT_EVENT_CHANNEL','_removeClearOtherTimer','getUnitId','max','toRgbString','0\x200\x2016\x2016','MoveRangeCommandId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_send','collab-client.tooltip.reconnect','idSuffix','_startDocCollabCursor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','hasOwnProperty','880450qyRttL','_scheduleHeartbeat','_hover','_localeService','replaceDocRanges','onMouseMove','VIEW_MAIN','resize','with','split','ALREADY_EXISTS','onPointerEnter$','length','_docSkeleton','origin','...','_logService','min','getCollabCursors$','from','use','newValue','setUndoRedoMutationParamsCache','INVITE_CODE_REQUIRED','random','76dtsUTz','bottom','off-line-icon','_localCacheService','_handleJoinEvent','isActive','extend','UNDEFINED','pipe','CONFLICT','removeParam','getConfig','1em','_instanceService','_clearOtherTimers','_getSaveTimeout','NOT_FOUND','_injector','parse','_revisionService','getOwnPropertyDescriptor','disableLocalCache','unitID','_onRefRangeChange','prototype','_updateCollabCursors','subscribe','onPointerMove$','skeleton','eventID','APPLY_PERMISSION_DENIED','session.connection-failed','collab-text-range-','YUUMI_ALL_TABLES_IS_INVALID','call','uni.network.url-service','flatMap','getAncestorScale','_shapes','getViewport','displayName','Warning','unitId','fillText','getSheetBySheetId','getCellPositionByOffset','_registerDependencies','_selfUnitIDs','_cursorShapes','endRow','ENSURE_SNAPSHOT_EXECUTION','getCurrentSelections','_backgroundColor','post','activeSheet$','fill','getUndoRedoMutationParamsCache','_session','ranges','INTERNAL_ERROR','div','getActiveSheet','_setupBeforeClosingHandler','getItem','get','defIds','black','source','registerRefRange','xlink:href','_univerInstanceService','_saveCache','NOT_COLLAB','mutations','includes','APPLY_NON_SEQUENTIAL_REVISION','tag','_getSessionTicket','_syncEditingCollabCursorService','addHandlerCallback','svg','INVITE_CODE_HAS_BEEN_UES','dispose','_onCursorUpdate','_themeService','editingUnit','round','cursorInfo$','_dataLoaderService','_docStateChangeManagerService','m1Prime','_handleHover','sheetID','params','getMergeData','add','saveTaskMap','getOwnPropertySymbols','textRanges','collaboration-client.offline-data-not-saved','assign','_initStatusListener','evenodd','FETCH_MISS','setTimeout','selections','SOCKET_FAILED_RETRY','COMPLETION_FINISHED','RECT','getTypeOfUnitDisposed$','transformRemoteChangeset','_handleHeartbeatEvent','getUnitStatus$','UPDATE_CURSOR','_scheduleSaving','_colorIndex','getCurrent','YUUMI_NO_CUBOID_FOR_QUESTION','lineTo','session.will-retry','redoState','registerRenderModule','NO_OTHER_CLIENTS_EDITING','transformIMECache','makeDirty','indexOf','icon','send','getDocRanges','getRangePointData','_anchorDot','_scene','engine','_imageIoService','executeCommand','_textBubble','598462rYFQnY','_entityInit$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','collabCursorState$','UNIVER_DOC','set','927920SLAjmC','APPLY_DUPLICATED','0\x200\x2017\x2016','setItem','3184416mHrhSy','transformMutation','url(#$1','width','LICENSE_EXPORT_SIZE_EXCEEDED','complete','_eventUnsubscribe','PY_RUNTIME_SCRIPT_ERROR','asObservable','_drawTextRange','values','runId','attrs','ticket','transformSelections','UNRECOGNIZED','disposeUnit','_toggleOffline','APPLY_REVISION_CONFILICT','243455CpsMXj','onPointerLeave$','startRow','UNIVER_SHEET','_status$','defineProperty','_updateSubUnitFromURLParams','SYNCED','32JxTKBj','onRendered','setInterval','off-line-icon_clip0_910_343','string','replaceState','getUnhiddenWorksheets','trim','_urlService','error','beginPath','has','_transformService','[CollaborationDataLoaderController]','_sheetSkeletonManagerService','YUUMI_UNABLE_LOAD_URL','clearInterval','selection','_renderManagerService','_context','univer-flex\x20univer-mr-2\x20univer-text-xl','deepClone','getValue','defs','clipPath','_drawRectRange','_unitStatus','colorChannel1','path','code','addObject','key','undoState','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','DeleteRangeMoveLeftCommandId','getOffsetConfig','entries','_transformPreviousActiveRange','getMember','application/json','unshift','_removeCollabCursors'];_0x582f=function(){return _0x1ea42d;};return _0x582f();}const wi=0x1,Pi=1.5;class Li extends _0x56cd23{constructor(_0x4921df,_0x1c2b09){const _0x17c6b0=_0x150068;super(_0x4921df,_0x1c2b09),_(this,_0x17c6b0(0x10e)),_(this,'_hovered',!0x1),_(this,_0x17c6b0(0x155)),_(this,_0x17c6b0(0xfc),''),_(this,_0x17c6b0(0x2dd),'top'),_(this,'_backgroundColor'),(_0x1c2b09&&this['setShapeProps'](_0x1c2b09),this[_0x17c6b0(0x19f)][_0x17c6b0(0x185)](()=>this[_0x17c6b0(0x103)]({'hovered':!0x0})),this[_0x17c6b0(0x253)][_0x17c6b0(0x185)](()=>this[_0x17c6b0(0x103)]({'hovered':!0x1})));}[_0x150068(0x103)](_0xc7d3bf){const _0x31dd4a=_0x150068;var _0x46978e,_0x5cdf1b,_0x25cae5,_0x47fe0f,_0x5cb074,_0x536237;this[_0x31dd4a(0x10e)]=(_0x46978e=_0xc7d3bf[_0x31dd4a(0x2f1)])!=null?_0x46978e:this[_0x31dd4a(0x10e)],this['_hovered']=(_0x5cdf1b=_0xc7d3bf[_0x31dd4a(0x15c)])!=null?_0x5cdf1b:this[_0x31dd4a(0x2ad)],this[_0x31dd4a(0x155)]=(_0x25cae5=_0xc7d3bf[_0x31dd4a(0x11a)])!=null?_0x25cae5:this['_range'],this[_0x31dd4a(0xfc)]=(_0x47fe0f=_0xc7d3bf[_0x31dd4a(0x10a)])!=null?_0x47fe0f:this[_0x31dd4a(0xfc)],this['_labelPosition']=(_0x5cb074=_0xc7d3bf[_0x31dd4a(0x2a8)])!=null?_0x5cb074:this[_0x31dd4a(0x2dd)],this[_0x31dd4a(0x1e1)]=(_0x536237=_0xc7d3bf[_0x31dd4a(0x2ca)])!=null?_0x536237:this[_0x31dd4a(0x1e1)],this['transformByState']({'width':_0xc7d3bf[_0x31dd4a(0x242)],'height':_0xc7d3bf['height']});}[_0x150068(0x199)](_0x52ea64){const _0x35e431=_0x150068,{row:_0xcbc466,column:_0x5125bc}=_0x52ea64;if(_0xcbc466>=this[_0x35e431(0x155)][_0x35e431(0x254)]&&_0xcbc466<=this[_0x35e431(0x155)][_0x35e431(0x1de)]&&_0x5125bc>=this[_0x35e431(0x155)]['startColumn']&&_0x5125bc<=this[_0x35e431(0x155)][_0x35e431(0x17c)]){this[_0x35e431(0x103)]({'hovered':!0x0});return;}this[_0x35e431(0x103)]({'hovered':!0x1});}[_0x150068(0x17a)](_0x447334){return!0x1;}[_0x150068(0x29b)](_0x20abbf){const _0x1a059b=_0x150068;_0x2bf31e[_0x1a059b(0x10b)](_0x20abbf,{'width':this[_0x1a059b(0x242)],'height':this[_0x1a059b(0x2b0)],'strokeWidth':Pi,'stroke':this[_0x1a059b(0x10e)],'evented':!0x1,'fill':this[_0x1a059b(0x1e1)]}),this[_0x1a059b(0x2ad)]&&(_0x20abbf[_0x1a059b(0x12c)](),_0x20abbf['transform'](0x1,0x0,0x0,0x1,this[_0x1a059b(0x242)],this[_0x1a059b(0x2dd)]===_0x1a059b(0x1ae)?0x0:-0x14),he[_0x1a059b(0x10b)](_0x20abbf,{'text':this[_0x1a059b(0xfc)],'color':this[_0x1a059b(0x10e)]}),_0x20abbf[_0x1a059b(0x2ab)]());}}var Ai=Object[_0x150068(0x1c1)],yi=(_0x415627,_0x36ebf5,_0x396edb,_0x3979b7)=>{const _0x5d0268=_0x150068;for(var _0x5ffa7d=_0x3979b7>0x1?void 0x0:_0x3979b7?Ai(_0x36ebf5,_0x396edb):_0x36ebf5,_0x177a6d=_0x415627[_0x5d0268(0x1a0)]-0x1,_0x358538;_0x177a6d>=0x0;_0x177a6d--)(_0x358538=_0x415627[_0x177a6d])&&(_0x5ffa7d=_0x358538(_0x5ffa7d)||_0x5ffa7d);return _0x5ffa7d;},ve=(_0x1d8b74,_0x4257f9)=>(_0x18d523,_0x1c9894)=>_0x4257f9(_0x18d523,_0x1c9894,_0x1d8b74);const $i=0x1389;let Pe=class extends _0x17c743{constructor(_0x6a4ea6,_0x18fc12,_0x47dae3,_0x207d65){const _0x1cbf19=_0x150068;super(),_(this,'_cursors',new Set()),_(this,_0x1cbf19(0x29e),null),(this[_0x1cbf19(0x26d)]=_0x6a4ea6,this[_0x1cbf19(0x268)]=_0x18fc12,this[_0x1cbf19(0x2d7)]=_0x47dae3,this[_0x1cbf19(0x201)]=_0x207d65,this[_0x1cbf19(0x15e)]());}[_0x150068(0x15e)](){const _0x240316=_0x150068;this[_0x240316(0x268)][_0x240316(0x2a1)][_0x240316(0x1b5)](_0x461093(this['dispose$']),_0xcd0863(_0x16e37b=>{const _0x44fce5=_0x240316;if(_0x16e37b){const _0x4c6695=_0x16e37b[_0x44fce5(0x285)];return _0x3a6636(this[_0x44fce5(0x2d7)][_0x44fce5(0x1a6)](this[_0x44fce5(0x26d)][_0x44fce5(0x1d7)]),this[_0x44fce5(0x201)][_0x44fce5(0x29a)])[_0x44fce5(0x1b5)](_0x5b6da1(([_0x5553c1,_0x953c96])=>{const _0x572193=_0x44fce5,_0x9d172=new Map();return _0x5553c1[_0x572193(0x12a)]((_0x1884b5,_0xda368b)=>{const _0x1bdfbf=_0x572193;if(_0x1884b5[_0x1bdfbf(0x209)]===_0x4c6695){const _0x1442b8={..._0x1884b5};_0x1442b8[_0x1bdfbf(0x2f1)]=this['_themeService']['getColorFromTheme'](_0x1884b5[_0x1bdfbf(0x2f1)]),_0x9d172['set'](_0xda368b,_0x1442b8);}}),{'skeleton':_0x16e37b,'cursors':_0x9d172};}));}return _0x1bc6b3({'skeleton':null,'cursors':new Map()});}))[_0x240316(0x1c7)](({skeleton:_0x507071,cursors:_0x5931f3})=>{const _0x2ebcd3=_0x240316;this['_removeCollabCursors'](),_0x507071&&this[_0x2ebcd3(0x1c6)](_0x507071,_0x5931f3);}),this['_sheetSkeletonManagerService'][_0x240316(0x2a1)][_0x240316(0x1c7)](_0x17925d=>{const _0x2ec48b=_0x240316;if(_0x17925d==null)return;const {skeleton:_0x1ed86a}=_0x17925d,{scene:_0x49dfd2}=this[_0x2ec48b(0x26d)];_0x49dfd2[_0x2ec48b(0x1c8)][_0x2ec48b(0x185)](_0x50d366(_0x86f481=>{const _0x54b024=_0x2ec48b;var _0x37b3f3,_0x2820d9;const {offsetX:_0x38c2f6,offsetY:_0x3b53e8}=_0x86f481,{x:_0x729395,y:_0x29de45}=_0x49dfd2['getRelativeToViewportCoord'](_0x542dd2[_0x54b024(0x2c4)]([_0x38c2f6,_0x3b53e8])),{scaleX:_0x5c2bff,scaleY:_0x462ced}=_0x49dfd2[_0x54b024(0x1d2)](),_0x5301de=_0x49dfd2[_0x54b024(0x1d4)](_0x46b1b5[_0x54b024(0x19a)]),_0x243833=_0x49dfd2['getVpScrollXYInfoByPosToVp'](_0x542dd2[_0x54b024(0x2c4)]([_0x729395,_0x29de45]),_0x5301de),_0xf41cbc=_0x1ed86a[_0x54b024(0x1da)](_0x38c2f6,_0x3b53e8,_0x5c2bff,_0x462ced,_0x243833);((_0x37b3f3=this['_lastPointer'])==null?void 0x0:_0x37b3f3['column'])===_0xf41cbc[_0x54b024(0x301)]&&((_0x2820d9=this['_lastPointer'])==null?void 0x0:_0x2820d9[_0x54b024(0x15d)])===_0xf41cbc[_0x54b024(0x15d)]||this[_0x54b024(0x2e5)]['forEach'](_0x2c7b6c=>{const _0x5f4683=_0x54b024;_0x2c7b6c[_0x5f4683(0x199)](_0xf41cbc);});},0x64));});}[_0x150068(0x1c6)](_0xbf63,_0x230c23){const _0x402bb6=_0x150068;var _0x3c01ca;const _0x75cddf=(_0x3c01ca=this[_0x402bb6(0x268)][_0x402bb6(0x221)]())==null?void 0x0:_0x3c01ca[_0x402bb6(0x1c9)];if(!_0x75cddf)return;const _0x271bec=this[_0x402bb6(0x2cf)]();if(!_0x271bec)return;this['_cursors'][_0x402bb6(0x12a)](_0x4d7d84=>{const _0x57e46c=_0x402bb6;_0x4d7d84[_0x57e46c(0x229)]();});const {scene:_0x113e68}=_0x271bec,_0x3ee39=xi(Array[_0x402bb6(0x1a7)](_0x230c23[_0x402bb6(0x249)]()))[_0x402bb6(0x181)](_0x31061c=>{const _0xc52cfd=_0x402bb6,{color:_0x26639a,range:_0x53fbf5,name:_0x9c6b8f,selection:_0x462afb,sheetID:_0x40d0c3}=_0x31061c,{startColumn:_0x58f494,startRow:_0x2efda9,endColumn:_0x564e99,endRow:_0x163c91}=_0x53fbf5,_0x16e52f=_0x387448(_0x2efda9,_0x58f494,_0x113e68,_0x75cddf),_0x567f46=_0x387448(_0x163c91,_0x564e99,_0x113e68,_0x75cddf),{columnHeaderHeightAndMarginTop:_0x37b3e5}=_0x75cddf,{startX:_0xc57ff3,startY:_0x580406}=_0x16e52f,{endX:_0x5b2128,endY:_0x5f2dd4}=_0x567f46,_0x103403=_0x5b2128-_0xc57ff3,_0x1fb921=_0x5f2dd4-_0x580406,_0x15f317={'labelPosition':_0x580406-_0x37b3e5>=ee?_0xc52cfd(0x2e4):_0xc52cfd(0x1ae),'sheetID':_0x40d0c3,'range':_0x53fbf5,'color':_0x26639a,'name':_0x9c6b8f,'selection':_0x462afb,'left':_0xc57ff3,'top':_0x580406,'width':_0x103403,'height':_0x1fb921,'evented':!0x1,'zIndex':$i};return new Li(_0x9c6b8f,_0x15f317);});_0x113e68['addObjects'](_0x3ee39,wi),this[_0x402bb6(0x2e5)]=new Set(_0x3ee39);}['_removeCollabCursors'](){const _0x2b4c7c=_0x150068;var _0x294f45;(_0x294f45=this[_0x2b4c7c(0x2e5)])==null||_0x294f45[_0x2b4c7c(0x12a)](_0x1329c3=>_0x1329c3[_0x2b4c7c(0x1ff)]());}[_0x150068(0x2cf)](){const _0x2727ee=_0x150068;return _0xc02de6(this['_context'][_0x2727ee(0x2a4)],this[_0x2727ee(0x26d)]);}};Pe=yi([ve(0x1,_0x536958(_0x3a2a45)),ve(0x2,_0x536958(H)),ve(0x3,_0x536958(_0x39a3f4))],Pe);function xi(_0x51f934){const _0x1d012a=_0x150068,_0x311c4a=new Map();return _0x51f934[_0x1d012a(0x12a)](_0x2231dc=>{const _0x209933=_0x1d012a;if(_0x311c4a[_0x209933(0x265)](_0x2231dc[_0x209933(0x26b)])){const _0x5a70d0=_0x311c4a['get'](_0x2231dc[_0x209933(0x26b)]);_0x5a70d0['name']+=',\x20'+_0x2231dc[_0x209933(0x10a)];}else _0x311c4a['set'](_0x2231dc['selection'],_0x2231dc);}),Array['from'](_0x311c4a[_0x1d012a(0x249)]());}var v=function(){const _0x251ce9=_0x150068;return v=Object[_0x251ce9(0x211)]||function(_0x5a093b){const _0x12dbbc=_0x251ce9;for(var _0x420e50,_0x3d491a=0x1,_0x4f5a4e=arguments[_0x12dbbc(0x1a0)];_0x3d491a<_0x4f5a4e;_0x3d491a++){_0x420e50=arguments[_0x3d491a];for(var _0x5327ce in _0x420e50)Object['prototype']['hasOwnProperty']['call'](_0x420e50,_0x5327ce)&&(_0x5a093b[_0x5327ce]=_0x420e50[_0x5327ce]);}return _0x5a093b;},v[_0x251ce9(0x10c)](this,arguments);},Bi=function(_0x2d8a82,_0x4c5bad){const _0x5709a6=_0x150068;var _0x4f6fee={};for(var _0x3e36f5 in _0x2d8a82)Object['prototype'][_0x5709a6(0x193)]['call'](_0x2d8a82,_0x3e36f5)&&_0x4c5bad[_0x5709a6(0x22a)](_0x3e36f5)<0x0&&(_0x4f6fee[_0x3e36f5]=_0x2d8a82[_0x3e36f5]);if(_0x2d8a82!=null&&typeof Object[_0x5709a6(0x20e)]==_0x5709a6(0x140)){for(var _0x3b8d92=0x0,_0x3e36f5=Object['getOwnPropertySymbols'](_0x2d8a82);_0x3b8d92<_0x3e36f5['length'];_0x3b8d92++)_0x4c5bad[_0x5709a6(0x22a)](_0x3e36f5[_0x3b8d92])<0x0&&Object[_0x5709a6(0x1c5)]['propertyIsEnumerable'][_0x5709a6(0x1cf)](_0x2d8a82,_0x3e36f5[_0x3b8d92])&&(_0x4f6fee[_0x3e36f5[_0x3b8d92]]=_0x2d8a82[_0x3e36f5[_0x3b8d92]]);}return _0x4f6fee;},je=_0x505345(function(_0x111799,_0x4a26be){const _0x3e4943=_0x150068;var _0x25fe5c=_0x111799[_0x3e4943(0x22b)],_0x7025d3=_0x111799['id'],_0x4fd8b7=_0x111799[_0x3e4943(0x100)],_0x44a604=_0x111799[_0x3e4943(0x1b3)],_0x1b60a4=Bi(_0x111799,['icon','id',_0x3e4943(0x100),_0x3e4943(0x1b3)]),_0x47ea74=_0x3e4943(0x2d9)[_0x3e4943(0x298)](_0x7025d3,'\x20')[_0x3e4943(0x298)](_0x4fd8b7||'')[_0x3e4943(0x261)](),_0x585ae5=_0x597afd('_'[_0x3e4943(0x298)](ji()));return Rt(_0x25fe5c,''[_0x3e4943(0x298)](_0x7025d3),{'defIds':_0x25fe5c[_0x3e4943(0x1ee)],'idSuffix':_0x585ae5['current']},v({'ref':_0x4a26be,'className':_0x47ea74},_0x1b60a4),_0x44a604);});function Rt(_0x3b7979,_0x4bf57d,_0x42986c,_0x1d70ab,_0x16675e){const _0x55490c=_0x150068;return _0x4a832b(_0x3b7979[_0x55490c(0x1f9)],v(v({'key':_0x4bf57d},ki(_0x3b7979,_0x42986c,_0x16675e)),_0x1d70ab),(Hi(_0x3b7979,_0x42986c)['children']||[])[_0x55490c(0x181)](function(_0x2a0e87,_0x466cec){const _0x5400ce=_0x55490c;return Rt(_0x2a0e87,''[_0x5400ce(0x298)](_0x4bf57d,'-')[_0x5400ce(0x298)](_0x3b7979[_0x5400ce(0x1f9)],'-')[_0x5400ce(0x298)](_0x466cec),_0x42986c,void 0x0,_0x16675e);}));}function ki(_0x1a002b,_0x5eeafe,_0x56c568){const _0x28e821=_0x150068;var _0x17c985=v({},_0x1a002b[_0x28e821(0x24b)]);_0x56c568!=null&&_0x56c568[_0x28e821(0x275)]&&_0x17c985['fill']===_0x28e821(0x275)&&(_0x17c985[_0x28e821(0x1e4)]=_0x56c568[_0x28e821(0x275)]),_0x1a002b['tag']===_0x28e821(0x183)&&_0x17c985['id']&&(_0x17c985['id']=_0x17c985['id']+_0x5eeafe[_0x28e821(0x190)]),Object[_0x28e821(0x27e)](_0x17c985)[_0x28e821(0x12a)](function(_0x5b96c1){const _0x274cf0=_0x28e821;var _0x193b23=_0x5b96c1[0x0],_0x21fd19=_0x5b96c1[0x1];_0x193b23===_0x274cf0(0x183)&&typeof _0x21fd19==_0x274cf0(0x25e)&&(_0x17c985[_0x193b23]=_0x21fd19['replace'](/url\(#(.*)\)/,_0x274cf0(0x241)[_0x274cf0(0x298)](_0x5eeafe[_0x274cf0(0x190)],')')));});var _0x39bb5b=_0x5eeafe[_0x28e821(0x1ee)];return!_0x39bb5b||_0x39bb5b['length']===0x0||(_0x1a002b['tag']===_0x28e821(0x1a8)&&_0x17c985[_0x28e821(0x1f2)]&&(_0x17c985[_0x28e821(0x1f2)]=_0x17c985[_0x28e821(0x1f2)]+_0x5eeafe[_0x28e821(0x190)]),Object[_0x28e821(0x27e)](_0x17c985)[_0x28e821(0x12a)](function(_0x16fc97){const _0x43d65d=_0x28e821;var _0xf41468=_0x16fc97[0x0],_0xe93309=_0x16fc97[0x1];typeof _0xe93309=='string'&&(_0x17c985[_0xf41468]=_0xe93309[_0x43d65d(0x2b9)](/url\(#(.*)\)/,_0x43d65d(0x241)['concat'](_0x5eeafe[_0x43d65d(0x190)],')')));})),_0x17c985;}function Hi(_0x3ae750,_0x566667){const _0x70ed9b=_0x150068;var _0x5bc913,_0x1f2f78=_0x566667['defIds'];return!_0x1f2f78||_0x1f2f78['length']===0x0?_0x3ae750:_0x3ae750[_0x70ed9b(0x1f9)]===_0x70ed9b(0x271)&&(!((_0x5bc913=_0x3ae750['children'])===null||_0x5bc913===void 0x0)&&_0x5bc913['length'])?v(v({},_0x3ae750),{'children':_0x3ae750[_0x70ed9b(0x182)][_0x70ed9b(0x181)](function(_0x58305c){const _0x5fccd2=_0x70ed9b;return typeof _0x58305c[_0x5fccd2(0x24b)]['id']==_0x5fccd2(0x25e)&&_0x1f2f78&&_0x1f2f78[_0x5fccd2(0x1f7)](_0x58305c[_0x5fccd2(0x24b)]['id'])?v(v({},_0x58305c),{'attrs':v(v({},_0x58305c[_0x5fccd2(0x24b)]),{'id':_0x58305c[_0x5fccd2(0x24b)]['id']+_0x566667[_0x5fccd2(0x190)]})}):_0x58305c;})}):_0x3ae750;}function ji(){const _0x5290b6=_0x150068;return Math[_0x5290b6(0x1ac)]()['toString'](0x24)[_0x5290b6(0x171)](0x2,0x8);}je[_0x150068(0x1d5)]='UniverIcon';var Yi={'tag':_0x150068(0x1fd),'attrs':{'xmlns':_0x150068(0x112),'fill':_0x150068(0x156),'viewBox':_0x150068(0x18b),'width':'1em','height':_0x150068(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':_0x150068(0x2e2)},'children':[{'tag':_0x150068(0x276),'attrs':{'stroke':'currentColor','d':_0x150068(0x2b7),'strokeLinecap':_0x150068(0x203),'strokeLinejoin':_0x150068(0x203),'strokeWidth':1.2}}]},{'tag':_0x150068(0x271),'attrs':{},'children':[{'tag':_0x150068(0x272),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x150068(0x276),'attrs':{'fill':_0x150068(0x2c0),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x150068(0x25d)]},Dt=_0x505345(function(_0x4415a0,_0x5a1f81){const _0x4b57bf=_0x150068;return _0x4a832b(je,Object['assign']({},_0x4415a0,{'id':_0x4b57bf(0x1af),'ref':_0x5a1f81,'icon':Yi}));});Dt[_0x150068(0x1d5)]=_0x150068(0x29f);var Fi={'tag':_0x150068(0x1fd),'attrs':{'xmlns':_0x150068(0x112),'fill':_0x150068(0x156),'viewBox':_0x150068(0x23d),'width':'1em','height':_0x150068(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x150068(0x276),'attrs':{'stroke':_0x150068(0x2da),'d':_0x150068(0x27b),'strokeLinecap':'round','strokeLinejoin':_0x150068(0x203),'strokeWidth':1.2}}]},{'tag':_0x150068(0x271),'attrs':{},'children':[{'tag':_0x150068(0x272),'attrs':{'id':_0x150068(0x2af)},'children':[{'tag':'path','attrs':{'fill':_0x150068(0x2c0),'d':_0x150068(0x2a5),'transform':_0x150068(0x176)}}]}]}],'defIds':[_0x150068(0x2af)]},Nt=_0x505345(function(_0x2e2119,_0x2ad3ff){return _0x4a832b(je,Object['assign']({},_0x2e2119,{'id':'on-line-icon','ref':_0x2ad3ff,'icon':Fi}));});Nt['displayName']=_0x150068(0x2ea);function Wi(_0x50e0ee){const _0x39b953=_0x150068;switch(_0x50e0ee){case _0x1de966[_0x39b953(0x111)]:return _0x39b953(0x2e8);case _0x1de966['CONFLICT']:return _0x39b953(0x11f);case _0x1de966[_0x39b953(0x214)]:return _0x39b953(0x292);case _0x1de966['NOT_COLLAB']:return'collabStatus.notCollab';case _0x1de966['AWAITING']:case _0x1de966['AWAITING_WITH_PENDING']:return _0x39b953(0x2cb);case _0x1de966[_0x39b953(0x259)]:case _0x1de966['PENDING']:return _0x39b953(0x307);}}function Vi(_0x4ac995){const _0x491e79=_0x150068,{status$:_0x2718ae}=_0x4ac995,_0x57b2f0=_0x149991(_0x2718ae,_0x1de966[_0x491e79(0x1f5)]),_0xdf398a=_0x1e15e4(_0x4945d8),_0x1bb599=_0x1e15e4(_0x59c279),_0x23ef68=_0x57b2f0!==_0x1de966[_0x491e79(0x111)],_0xdfcae4=_0xdf398a['t'](Wi(_0x57b2f0)),_0x163caf=_0x23ef68?_0x48a15e(Nt,{}):_0x48a15e(Dt,{}),_0xd2b3a8=_0x1e145b(()=>{const _0x3b1a9b=_0x491e79;_0x23ef68||_0x1bb599[_0x3b1a9b(0x2d4)]();},[_0x23ef68,_0x1bb599]);function _0xbe5731(){const _0x486316=_0x491e79;return _0x1ea8a8(_0x486316(0x1e9),{'className':_0x486316(0x119),'onClick':_0xd2b3a8,'children':[_0x48a15e('div',{'className':_0x358dec(_0x486316(0x26e),{'univer-text-green-500':_0x23ef68,'univer-text-red-500':!_0x23ef68}),'children':_0x163caf}),_0x48a15e('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xdfcae4})]});}return _0x23ef68?_0xbe5731():_0x48a15e(_0x2ac438,{'title':_0xdf398a['t'](_0x491e79(0x18f)),'children':_0xbe5731()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x5b2bc9,_0x33ee8f,_0x35a1f9,_0x550b59)=>{const _0x4bf861=_0x150068;for(var _0x44f9b0=_0x550b59>0x1?void 0x0:_0x550b59?Xi(_0x33ee8f,_0x35a1f9):_0x33ee8f,_0x49c197=_0x5b2bc9[_0x4bf861(0x1a0)]-0x1,_0x363bfc;_0x49c197>=0x0;_0x49c197--)(_0x363bfc=_0x5b2bc9[_0x49c197])&&(_0x44f9b0=_0x363bfc(_0x44f9b0)||_0x44f9b0);return _0x44f9b0;},Q=(_0x1c15c2,_0x5a9eb3)=>(_0x254107,_0x57c483)=>_0x5a9eb3(_0x254107,_0x57c483,_0x1c15c2);let te=class extends _0x2f24fc{constructor(_0x3e7a7a,_0x4f7775,_0x436f4f,_0xf2f6f0){const _0x5893c6=_0x150068;super(),_(this,_0x5893c6(0x256),new _0xe09868(_0x1de966[_0x5893c6(0x1f5)])),(this[_0x5893c6(0x1f3)]=_0x3e7a7a,this[_0x5893c6(0x1be)]=_0x4f7775,this[_0x5893c6(0x2a6)]=_0x436f4f,this[_0x5893c6(0x147)]=_0xf2f6f0,this[_0x5893c6(0x2fc)](),this['_initStatusListener']());}[_0x150068(0x212)](){const _0x23a441=_0x150068;this[_0x23a441(0x153)](this['_univerInstanceService']['focused$']['pipe'](_0x12034a(()=>{const _0x990e88=_0x23a441,_0x2e4050=this[_0x990e88(0x1f3)]['getFocusedUnit']();return _0x2e4050?this[_0x990e88(0x2a6)][_0x990e88(0x2b3)](_0x2e4050[_0x990e88(0x188)]()):_0x1bc6b3(null);}),_0x12034a(_0x4b370e=>_0x4b370e?_0x4b370e[_0x23a441(0x136)]:_0x1bc6b3(_0x1de966[_0x23a441(0x1f5)])))[_0x23a441(0x1c7)](_0xf07be1=>{const _0x9d2c93=_0x23a441;this[_0x9d2c93(0x256)][_0x9d2c93(0x165)](_0xf07be1);}));}['_initStatusComponent'](){const _0x3ea927=_0x150068;this[_0x3ea927(0x153)](this[_0x3ea927(0x147)][_0x3ea927(0x2b1)](_0x17d563[_0x3ea927(0x2e0)],()=>_0x3022ae(Ki({'status$':this[_0x3ea927(0x256)][_0x3ea927(0x247)]()}),this[_0x3ea927(0x1be)])));}};te=Gi([Q(0x0,_0x1e55c1),Q(0x1,_0x536958(_0x34a00d)),Q(0x2,_0x536958(_0x1b2ee1)),Q(0x3,_0x56213b)],te);function Ki(_0x2325fc){const {status$:_0x2c0a48}=_0x2325fc;return function(){return _0x48a15e(Vi,{'status$':_0x2c0a48});};}var zi=Object[_0x150068(0x1c1)],Ji=(_0x10d573,_0x56ebf0,_0x3d2b5e,_0x5c8e89)=>{const _0x3736c8=_0x150068;for(var _0x6e5123=_0x5c8e89>0x1?void 0x0:_0x5c8e89?zi(_0x56ebf0,_0x3d2b5e):_0x56ebf0,_0x3764cb=_0x10d573[_0x3736c8(0x1a0)]-0x1,_0x3ea755;_0x3764cb>=0x0;_0x3764cb--)(_0x3ea755=_0x10d573[_0x3764cb])&&(_0x6e5123=_0x3ea755(_0x6e5123)||_0x6e5123);return _0x6e5123;},B=(_0x3fd36f,_0x283dd2)=>(_0x5294b4,_0x82f617)=>_0x283dd2(_0x5294b4,_0x82f617,_0x3fd36f);let se=class extends _0x2f24fc{constructor(_0x14f474,_0x4ccdbc,_0x4d9807,_0xb7b860,_0x160341,_0x2c3706){const _0x24b2ee=_0x150068;super(),this['_beforeCloseService']=_0x14f474,this[_0x24b2ee(0x1b0)]=_0x4ccdbc,this[_0x24b2ee(0x168)]=_0x4d9807,this[_0x24b2ee(0x172)]=_0xb7b860,this[_0x24b2ee(0x138)]=_0x160341,this[_0x24b2ee(0x197)]=_0x2c3706,this['_setupBeforeClosingHandler'](),this[_0x24b2ee(0x15a)]();}[_0x150068(0x1eb)](){const _0x79a4fb=_0x150068;this['disposeWithMe'](this[_0x79a4fb(0x11c)][_0x79a4fb(0x128)](()=>{const _0x421536=_0x79a4fb;if(this['_localCacheService'][_0x421536(0x20d)][_0x421536(0x132)])return this['_localeService']['t'](_0x421536(0x210));}));}[_0x150068(0x15a)](){const _0x1d6893=_0x150068;this[_0x1d6893(0x153)](this[_0x1d6893(0x168)][_0x1d6893(0x146)]['subscribe'](_0x3c4a7f=>{const _0x38d944=_0x1d6893;_0x3c4a7f['id']===_0x28c6ee[_0x38d944(0x2a7)]&&this[_0x38d944(0x172)][_0x38d944(0x17e)]({'type':_0x11269a[_0x38d944(0x1d6)],'content':this[_0x38d944(0x197)]['t'](_0x38d944(0x13b))}),_0x3c4a7f['id']===_0x28c6ee[_0x38d944(0x159)]&&this['_messageService'][_0x38d944(0x17e)]({'type':_0x11269a['Warning'],'content':this[_0x38d944(0x197)]['t']('collaboration.closeRoom')}),_0x3c4a7f['id']===_0x28c6ee[_0x38d944(0x2dc)]&&this['_notificationService'][_0x38d944(0x17e)]({'title':this[_0x38d944(0x197)]['t'](_0x38d944(0x2b8)),'content':this[_0x38d944(0x197)]['t'](_0x38d944(0x2d0)),'type':_0x38d944(0x263),'duration':0x0}),_0x3c4a7f['id']===_0x28c6ee[_0x38d944(0x1b6)]&&this[_0x38d944(0x172)][_0x38d944(0x17e)]({'type':_0x11269a[_0x38d944(0x108)],'content':this['_localeService']['t'](_0x38d944(0x17b))+'('+_0x3c4a7f[_0x38d944(0x161)]+')'}),_0x3c4a7f['id']===_0x28c6ee[_0x38d944(0x2ae)]&&this[_0x38d944(0x172)][_0x38d944(0x17e)]({'type':_0x11269a[_0x38d944(0x1d6)],'content':this[_0x38d944(0x197)]['t'](_0x3c4a7f[_0x38d944(0x161)]||'')}),_0x3c4a7f['id']===_0x28c6ee[_0x38d944(0x217)]&&this[_0x38d944(0x172)][_0x38d944(0x17e)]({'type':_0x11269a['Warning'],'content':this[_0x38d944(0x197)]['t'](_0x38d944(0x224))}),_0x3c4a7f['id']===_0x28c6ee[_0x38d944(0x2d6)]&&this[_0x38d944(0x172)]['show']({'type':_0x11269a[_0x38d944(0x108)],'content':this[_0x38d944(0x197)]['t'](_0x38d944(0x1cc))}),_0x3c4a7f['id']===_0x28c6ee['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x38d944(0x172)]['show']({'type':_0x11269a[_0x38d944(0x108)],'content':this['_localeService']['t'](_0x38d944(0x17d))});}));}};se=Ji([B(0x0,_0x4c05a0),B(0x1,_0x37f606),B(0x2,_0x536958(_0x356aec)),B(0x3,_0x413878),B(0x4,_0x202096),B(0x5,_0x536958(_0x4945d8))],se);const Zi=_0x150068(0x10f),et={},Ut=_0x258647(_0x150068(0x1d0));var Qi=Object[_0x150068(0x1c1)],qi=(_0x362266,_0x2920a2,_0x494652,_0x3e953d)=>{const _0x325a37=_0x150068;for(var _0x588b3a=_0x3e953d>0x1?void 0x0:_0x3e953d?Qi(_0x2920a2,_0x494652):_0x2920a2,_0x31ab48=_0x362266[_0x325a37(0x1a0)]-0x1,_0x11cbbb;_0x31ab48>=0x0;_0x31ab48--)(_0x11cbbb=_0x362266[_0x31ab48])&&(_0x588b3a=_0x11cbbb(_0x588b3a)||_0x588b3a);return _0x588b3a;},G=(_0x3f84cb,_0x2ac4da)=>(_0x1f16b6,_0x5dd374)=>_0x2ac4da(_0x1f16b6,_0x5dd374,_0x3f84cb);let ie=class extends _0x17c743{constructor(_0x27bdbb,_0x2fda38,_0x204639,_0x993d9c,_0x1e4e56){const _0xdbd73b=_0x150068;super(),this[_0xdbd73b(0x262)]=_0x27bdbb,this[_0xdbd73b(0x1a4)]=_0x2fda38,this[_0xdbd73b(0x13a)]=_0x204639,this[_0xdbd73b(0x205)]=_0x993d9c,_0x1e4e56?_0x1e4e56==null||_0x1e4e56[_0xdbd73b(0x125)]()[_0xdbd73b(0x177)](()=>this['_init']()):(this[_0xdbd73b(0x1a4)][_0xdbd73b(0x169)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xdbd73b(0x15e)]());}async[_0x150068(0x15e)](){const _0x1cedc1=_0x150068,_0x37fa03=this[_0x1cedc1(0x262)][_0x1cedc1(0x287)](_0x1cedc1(0x2a4)),_0x2dfacc=this[_0x1cedc1(0x262)]['getParam'](_0x1cedc1(0x12e)),_0x34a71c=this[_0x1cedc1(0x262)][_0x1cedc1(0x287)](_0x1cedc1(0x28c));if(!_0x37fa03||!_0x2dfacc){this['_logService']['debug'](_0x1cedc1(0x267),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x55eedc=await this[_0x1cedc1(0x205)][_0x1cedc1(0x2ff)](_0x37fa03,Number(_0x2dfacc),_0x34a71c);_0x55eedc&&_0x55eedc instanceof _0x2987ba&&this['_setupSubUnitSync'](_0x55eedc);}async[_0x150068(0x2c5)](_0x4bc326){const _0x2a974c=_0x150068;await this[_0x2a974c(0x258)](_0x4bc326),_0x4bc326[_0x2a974c(0x1e3)]['pipe'](_0x48853c(this[_0x2a974c(0x13d)]))[_0x2a974c(0x1c7)](_0xb1dbbf=>{const _0x252dec=_0x2a974c;_0xb1dbbf&&this[_0x252dec(0x2ec)](_0xb1dbbf);}),this[_0x2a974c(0x262)][_0x2a974c(0x116)]['pipe'](_0x48853c(this['dispose$']))[_0x2a974c(0x1c7)](()=>this[_0x2a974c(0x258)](_0x4bc326));}[_0x150068(0x2ec)](_0x45b4a0,_0x3a31f5=!0x1){const _0x49c463=_0x150068,_0x411b29=this[_0x49c463(0x262)][_0x49c463(0x287)]('subunit');_0x45b4a0[_0x49c463(0x10d)]()!==_0x411b29&&this[_0x49c463(0x262)][_0x49c463(0x2f8)]('subunit',_0x45b4a0[_0x49c463(0x10d)](),_0x3a31f5);}async[_0x150068(0x258)](_0x4d3136){const _0xaf5a0c=_0x150068;var _0x475a4c;const _0x4d3972=this['_urlService'][_0xaf5a0c(0x287)](_0xaf5a0c(0x28c));if(!_0x4d3972||!_0x4d3136[_0xaf5a0c(0x1d9)](_0x4d3972)){const _0x5a1db5=_0x4d3136[_0xaf5a0c(0x260)]()[0x0],_0x498cb1=_0x4d3136['getSheetBySheetId'](_0x5a1db5);if(!_0x498cb1)return;this['_updateURLWithCurrentState'](_0x498cb1,!0x0),await this['_commandService'][_0xaf5a0c(0x233)](_0x3eec88['id'],{'unitId':_0x4d3136[_0xaf5a0c(0x188)](),'subUnitId':_0x5a1db5});return;}((_0x475a4c=_0x4d3136[_0xaf5a0c(0x1ea)]())==null?void 0x0:_0x475a4c[_0xaf5a0c(0x10d)]())!==_0x4d3972&&await this['_commandService'][_0xaf5a0c(0x233)](_0x3eec88['id'],{'unitId':_0x4d3136['getUnitId'](),'subUnitId':_0x4d3972});}};ie=qi([G(0x0,Ut),G(0x1,_0x4e8405),G(0x2,_0x11b296),G(0x3,_0x536958(_0x4fb94d)),G(0x4,_0x2de207(_0x2e3217))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x2fce9e,_0x27496a,_0x157534,_0x1d853d)=>{for(var _0x13a0e8=_0x1d853d>0x1?void 0x0:_0x1d853d?en(_0x27496a,_0x157534):_0x27496a,_0x46739e=_0x2fce9e['length']-0x1,_0x1ef74c;_0x46739e>=0x0;_0x46739e--)(_0x1ef74c=_0x2fce9e[_0x46739e])&&(_0x13a0e8=_0x1ef74c(_0x13a0e8)||_0x13a0e8);return _0x13a0e8;},pe=(_0x4b3d90,_0x407b34)=>(_0x2e3edd,_0x36d624)=>_0x407b34(_0x2e3edd,_0x36d624,_0x4b3d90);let ne=class{constructor(_0x342f08,_0x31bad9,_0x1b610a){const _0xd36a5d=_0x150068;this[_0xd36a5d(0x1be)]=_0x342f08,this['_transformService']=_0x31bad9,this['_renderManagerService']=_0x1b610a;}[_0x150068(0x228)](_0x1cedd5){const _0x4a08ca=_0x150068;this[_0x4a08ca(0x14d)](_0x1cedd5),this[_0x4a08ca(0x27f)](_0x1cedd5);}['transformRemoteChangeset'](_0x2da0f3){const _0x33dc8c=_0x150068,{unitID:_0x54dd68}=_0x2da0f3,_0x34ffe6=this['_renderManagerService'][_0x33dc8c(0x14f)](_0x54dd68)['with'](_0x244fa1),{redoCache:_0x595a85}=_0x34ffe6[_0x33dc8c(0x1e5)]();if(_0x595a85[_0x33dc8c(0x1a0)]===0x0)return _0x2da0f3;let _0x1f1f69=_0x361829[_0x33dc8c(0x26f)](_0x2da0f3[_0x33dc8c(0x1f6)][0x0]);for(let _0xfbad0a=0x0;_0xfbad0a<_0x595a85[_0x33dc8c(0x1a0)];_0xfbad0a++){const _0x1a0e1c={'id':'doc.mutation.rich-text-editing','params':{..._0x595a85[_0xfbad0a]}},_0xd553be=this[_0x33dc8c(0x266)][_0x33dc8c(0x240)](_0x1f1f69,_0x1a0e1c,!0x1);if(_0x2eb867(_0xd553be))throw _0xd553be[_0x33dc8c(0x263)];_0x1f1f69=_0xd553be[_0x33dc8c(0x207)];}return{..._0x361829[_0x33dc8c(0x26f)](_0x2da0f3),'mutations':[_0x1f1f69]};}[_0x150068(0x14d)](_0x5d7c6d){const _0x31b447=_0x150068,{unitID:_0x1e1c98}=_0x5d7c6d,_0x3908fe=this[_0x31b447(0x26c)][_0x31b447(0x14f)](_0x1e1c98)[_0x31b447(0x19c)](_0x244fa1),{undoCache:_0x5f0194,redoCache:_0x4083d3}=_0x3908fe[_0x31b447(0x1e5)]();if(_0x5f0194[_0x31b447(0x1a0)]===0x0||_0x4083d3[_0x31b447(0x1a0)]===0x0)return;const _0xe430f=[],_0x41db6d=[];let _0x289ea6=_0x361829[_0x31b447(0x26f)](_0x5d7c6d[_0x31b447(0x1f6)][0x0]),_0x14253b=_0x361829[_0x31b447(0x26f)](_0x5d7c6d['mutations'][0x0]);for(let _0x110cfe=_0x5f0194['length']-0x1;_0x110cfe>=0x0;_0x110cfe--){const _0x284abb={'id':_0x31b447(0x141),'params':{..._0x5f0194[_0x110cfe]}},_0x93321f={'id':_0x31b447(0x141),'params':{..._0x4083d3[_0x110cfe]}},_0x3438c8=this[_0x31b447(0x266)][_0x31b447(0x240)](_0x289ea6,_0x284abb,!0x1),_0x316fff=this[_0x31b447(0x266)][_0x31b447(0x240)](_0x14253b,_0x93321f,!0x1);if(_0x2eb867(_0x3438c8))throw _0x3438c8['error'];if(_0x2eb867(_0x316fff))throw _0x316fff['error'];_0xe430f[_0x31b447(0x282)](_0x3438c8[_0x31b447(0x158)]['params']),_0x41db6d[_0x31b447(0x282)](_0x316fff[_0x31b447(0x158)][_0x31b447(0x20a)]),_0x289ea6=_0x3438c8['m1Prime'],_0x14253b=_0x316fff['m1Prime'];}_0x3908fe[_0x31b447(0x1aa)]({'undoCache':_0xe430f,'redoCache':_0x41db6d});}['_transformPreviousActiveRange'](_0x224244){const _0x2ba658=_0x150068,{unitID:_0x5bc1d4}=_0x224244,_0x498e3f=this[_0x2ba658(0x26c)][_0x2ba658(0x14f)](_0x5bc1d4)['with'](_0x244fa1),_0x3ac8da=_0x498e3f[_0x2ba658(0x109)]();if(_0x3ac8da==null)return;const _0x47fc80=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x224244[_0x2ba658(0x1c3)],'actions':null,'textRanges':[_0x3ac8da]}}],_0x205392=this[_0x2ba658(0x266)][_0x2ba658(0x2eb)](_0x224244,_0x47fc80);if(!_0x523171(_0x205392))throw _0x205392['error'];const _0x1220b9=_0x205392[_0x2ba658(0x158)][0x0][_0x2ba658(0x20a)][_0x2ba658(0x20f)];Array[_0x2ba658(0x288)](_0x1220b9)&&_0x1220b9[_0x2ba658(0x1a0)]&&_0x498e3f[_0x2ba658(0x2fd)](_0x1220b9[0x0]);}};ne=tn([pe(0x0,_0x536958(_0x34a00d)),pe(0x1,_0x4451e4),pe(0x2,_0x34203b)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x30d9e4,_0x53c7c5,_0x4987c4,_0x37767a)=>{const _0x4a0f03=_0x150068;for(var _0x223fae=_0x37767a>0x1?void 0x0:_0x37767a?sn(_0x53c7c5,_0x4987c4):_0x53c7c5,_0x506cf3=_0x30d9e4[_0x4a0f03(0x1a0)]-0x1,_0x20be23;_0x506cf3>=0x0;_0x506cf3--)(_0x20be23=_0x30d9e4[_0x506cf3])&&(_0x223fae=_0x20be23(_0x223fae)||_0x223fae);return _0x223fae;},Ce=(_0x337230,_0x50f25a)=>(_0x3ebbe4,_0x407b14)=>_0x50f25a(_0x3ebbe4,_0x407b14,_0x337230);let re=class{constructor(_0x2abb44,_0x332eb3,_0x4d140a){const _0x385bf7=_0x150068;this[_0x385bf7(0x1be)]=_0x2abb44,this[_0x385bf7(0x266)]=_0x332eb3,this[_0x385bf7(0x206)]=_0x4d140a;}[_0x150068(0x107)](_0x413059){this['_transformHistoryAndStateStack'](_0x413059);}['transformRemoteChangeset'](_0x39e711){const _0x30a26c=_0x150068,{unitID:_0x5b2a5e}=_0x39e711,{collaboration:_0x3c6e1e}=this['_docStateChangeManagerService'][_0x30a26c(0x11d)](_0x5b2a5e);if(_0x3c6e1e[_0x30a26c(0x1a0)]===0x0)return _0x39e711;let _0x4b0e2b=_0x361829[_0x30a26c(0x26f)](_0x39e711[_0x30a26c(0x1f6)][0x0]);for(let _0x5d1f18=0x0;_0x5d1f18<_0x3c6e1e[_0x30a26c(0x1a0)];_0x5d1f18++){const _0x27edc7={'id':_0x30a26c(0x141),'params':{'unitId':_0x3c6e1e[_0x5d1f18][_0x30a26c(0x1d7)],..._0x3c6e1e[_0x5d1f18][_0x30a26c(0x225)]}},_0x135a64=this[_0x30a26c(0x266)][_0x30a26c(0x240)](_0x4b0e2b,_0x27edc7,!0x1);if(_0x2eb867(_0x135a64))throw _0x135a64[_0x30a26c(0x263)];_0x4b0e2b=_0x135a64[_0x30a26c(0x207)];}return{..._0x361829[_0x30a26c(0x26f)](_0x39e711),'mutations':[_0x4b0e2b]};}['_transformHistoryAndStateStack'](_0x24c3b8){const _0x5dca27=_0x150068,{unitID:_0x538b0a}=_0x24c3b8,{history:_0x4c15ba,collaboration:_0x3cbad7}=this['_docStateChangeManagerService'][_0x5dca27(0x11d)](_0x538b0a);if(_0x4c15ba[_0x5dca27(0x1a0)]===0x0&&_0x3cbad7[_0x5dca27(0x1a0)]===0x0)return;const _0x4fda40=[],_0x5f3fe=[];let _0x3b0592=_0x361829[_0x5dca27(0x26f)](_0x24c3b8[_0x5dca27(0x1f6)][0x0]),_0x36d4b1=_0x361829[_0x5dca27(0x26f)](_0x24c3b8[_0x5dca27(0x1f6)][0x0]);for(let _0x5769f0=_0x4c15ba[_0x5dca27(0x1a0)]-0x1;_0x5769f0>=0x0;_0x5769f0--){const _0x2e79b6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4c15ba[_0x5769f0]['unitId'],..._0x4c15ba[_0x5769f0][_0x5dca27(0x27a)]}},_0x1f8c6f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4c15ba[_0x5769f0][_0x5dca27(0x1d7)],..._0x4c15ba[_0x5769f0][_0x5dca27(0x225)]}},_0x53db8e=this[_0x5dca27(0x266)][_0x5dca27(0x240)](_0x3b0592,_0x2e79b6,!0x1),_0x259d53=this[_0x5dca27(0x266)][_0x5dca27(0x240)](_0x36d4b1,_0x1f8c6f,!0x1);if(_0x2eb867(_0x53db8e))throw _0x53db8e[_0x5dca27(0x263)];if(_0x2eb867(_0x259d53))throw _0x259d53[_0x5dca27(0x263)];_0x4fda40['unshift']({..._0x4c15ba[_0x5769f0],'undoState':_0x53db8e['m2Prime'][_0x5dca27(0x20a)],'redoState':_0x259d53[_0x5dca27(0x158)][_0x5dca27(0x20a)]}),_0x3b0592=_0x53db8e['m1Prime'],_0x36d4b1=_0x259d53[_0x5dca27(0x207)];}_0x3b0592=_0x361829[_0x5dca27(0x26f)](_0x24c3b8['mutations'][0x0]),_0x36d4b1=_0x361829[_0x5dca27(0x26f)](_0x24c3b8[_0x5dca27(0x1f6)][0x0]);for(let _0xaffe45=_0x3cbad7['length']-0x1;_0xaffe45>=0x0;_0xaffe45--){const _0x2d9b64={'id':_0x5dca27(0x141),'params':{'unitId':_0x3cbad7[_0xaffe45]['unitId'],..._0x3cbad7[_0xaffe45][_0x5dca27(0x27a)]}},_0x463b5f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3cbad7[_0xaffe45][_0x5dca27(0x1d7)],..._0x3cbad7[_0xaffe45][_0x5dca27(0x225)]}},_0x48fe57=this[_0x5dca27(0x266)][_0x5dca27(0x240)](_0x3b0592,_0x2d9b64,!0x1),_0x5e403a=this[_0x5dca27(0x266)][_0x5dca27(0x240)](_0x36d4b1,_0x463b5f,!0x1);if(_0x2eb867(_0x48fe57))throw _0x48fe57[_0x5dca27(0x263)];if(_0x2eb867(_0x5e403a))throw _0x5e403a[_0x5dca27(0x263)];_0x5f3fe['unshift']({..._0x3cbad7[_0xaffe45],'undoState':_0x48fe57[_0x5dca27(0x158)][_0x5dca27(0x20a)],'redoState':_0x5e403a[_0x5dca27(0x158)][_0x5dca27(0x20a)]}),_0x3b0592=_0x48fe57['m1Prime'],_0x36d4b1=_0x5e403a[_0x5dca27(0x207)];}this['_docStateChangeManagerService'][_0x5dca27(0x2c3)](_0x538b0a,{'history':_0x4fda40,'collaboration':_0x5f3fe});}};re=nn([Ce(0x0,_0x536958(_0x34a00d)),Ce(0x1,_0x4451e4),Ce(0x2,_0x536958(_0x2af64b))],re);var rn=Object[_0x150068(0x1c1)],on=(_0x5c4439,_0x22eb75,_0x4f4404,_0x32a7d7)=>{const _0x2c7e4d=_0x150068;for(var _0x5e5b71=_0x32a7d7>0x1?void 0x0:_0x32a7d7?rn(_0x22eb75,_0x4f4404):_0x22eb75,_0x1323fd=_0x5c4439[_0x2c7e4d(0x1a0)]-0x1,_0x3c0976;_0x1323fd>=0x0;_0x1323fd--)(_0x3c0976=_0x5c4439[_0x1323fd])&&(_0x5e5b71=_0x3c0976(_0x5e5b71)||_0x5e5b71);return _0x5e5b71;},tt=(_0x1ef538,_0x13fbea)=>(_0x34d188,_0x524166)=>_0x13fbea(_0x34d188,_0x524166,_0x1ef538);let oe=class{constructor(_0x5115bb,_0x234df3){const _0x2994c5=_0x150068;this[_0x2994c5(0x1be)]=_0x5115bb,this[_0x2994c5(0x266)]=_0x234df3;}['transformSelections'](_0x3da06a){const _0x31af3e=_0x150068;var _0x1386a2;const _0xc66e78=this[_0x31af3e(0x1be)]['get'](_0x4efbc9),_0x5e6ff0=(_0x1386a2=_0xc66e78[_0x31af3e(0x22d)]())!=null?_0x1386a2:[];if(_0x5e6ff0[_0x31af3e(0x1a0)]===0x0)return;const _0x4cbfb8=_0x3da06a[_0x31af3e(0x1c3)],_0x15c45b=[{'id':_0x31af3e(0x141),'params':{'unitId':_0x4cbfb8,'actions':null,'textRanges':_0x5e6ff0}}],_0x3a15b9=this[_0x31af3e(0x266)][_0x31af3e(0x2eb)](_0x3da06a,_0x15c45b);if(!_0x523171(_0x3a15b9))throw _0x3a15b9[_0x31af3e(0x263)];const _0x5232aa=_0x3a15b9[_0x31af3e(0x158)][0x0][_0x31af3e(0x20a)][_0x31af3e(0x20f)];Array[_0x31af3e(0x288)](_0x5232aa)&&_0x5232aa[_0x31af3e(0x1a0)]&&_0xc66e78[_0x31af3e(0x198)](_0x5232aa,{'unitId':_0x4cbfb8,'subUnitId':_0x4cbfb8},!0x1);}};oe=on([tt(0x0,_0x536958(_0x34a00d)),tt(0x1,_0x4451e4)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x46f1fc,_0x593b88,_0x33bea9,_0xef39ac)=>{const _0x5a1f09=_0x150068;for(var _0x537b04=_0xef39ac>0x1?void 0x0:_0xef39ac?an(_0x593b88,_0x33bea9):_0x593b88,_0x350fad=_0x46f1fc[_0x5a1f09(0x1a0)]-0x1,_0x509b76;_0x350fad>=0x0;_0x350fad--)(_0x509b76=_0x46f1fc[_0x350fad])&&(_0x537b04=_0x509b76(_0x537b04)||_0x537b04);return _0x537b04;},U=(_0x429469,_0x2308e5)=>(_0x357917,_0x45f57a)=>_0x2308e5(_0x357917,_0x45f57a,_0x429469);let ae=class extends _0x2f24fc{constructor(_0x58b609,_0x5888d5,_0x1bcb6a,_0x5bd732,_0x8f485b,_0x27cc90,_0x3cf70c,_0x1386ac){const _0x25d1ca=_0x150068;super(),_(this,_0x25d1ca(0x256),new _0xe09868(_0x1de966[_0x25d1ca(0x1f5)])),(this[_0x25d1ca(0x206)]=_0x58b609,this[_0x25d1ca(0x2a6)]=_0x5888d5,this[_0x25d1ca(0x14b)]=_0x1bcb6a,this[_0x25d1ca(0x28a)]=_0x5bd732,this['_docTransformSelectionsService']=_0x8f485b,this[_0x25d1ca(0x294)]=_0x27cc90,this[_0x25d1ca(0x172)]=_0x3cf70c,this[_0x25d1ca(0x197)]=_0x1386ac,this[_0x25d1ca(0x167)]());}[_0x150068(0x167)](){const _0x5efd10=_0x150068;this[_0x5efd10(0x153)](this[_0x5efd10(0x2a6)][_0x5efd10(0x286)][_0x5efd10(0x1c7)](_0x47656e=>{const _0x48921c=_0x5efd10,_0x516ccd=this[_0x48921c(0x206)]['docStateChange$'][_0x48921c(0x1c7)](_0x3c8273=>{const _0x37f16c=_0x48921c;if(_0x3c8273==null)return;const {unitId:_0x57cbdf,redoState:_0x59ba84,commandId:_0x35166c}=_0x3c8273;if(_0x57cbdf!==_0x47656e[_0x37f16c(0x1c3)])return;const _0x5aebbf={'id':_0x35166c,'type':_0x315a1f['MUTATION'],'params':{'unitId':_0x57cbdf,'actions':_0x59ba84[_0x37f16c(0x2e9)],'textRanges':null}};_0x47656e[_0x37f16c(0x173)](_0x5aebbf);});if(_0x47656e[_0x48921c(0x153)](_0x516ccd),_0x47656e instanceof _0x3d6c06){const _0x2c6365={'onTransformIME':_0x24e872=>this['_docTransformIMECacheService'][_0x48921c(0x228)](_0x24e872),'onTransformState':_0x5b138b=>this[_0x48921c(0x28a)][_0x48921c(0x107)](_0x5b138b),'onTransformSelections':_0x42d96f=>this[_0x48921c(0x16d)][_0x48921c(0x24d)](_0x42d96f),'onSyncEditingCollabCursor':_0x3898fa=>this['_docSyncEditingCollabCursorService'][_0x48921c(0x12f)](_0x3898fa),'onTransformRemoteChangesetByIMECache':_0x47337e=>this[_0x48921c(0x14b)]['transformRemoteChangeset'](_0x47337e),'onTransformRemoteChangesetByStateCache':_0x16edcd=>this[_0x48921c(0x28a)][_0x48921c(0x21b)](_0x16edcd)};_0x47656e[_0x48921c(0x1fc)](_0x2c6365);}}));}};ae=cn([U(0x0,_0x536958(_0x2af64b)),U(0x1,_0x536958(_0x1b2ee1)),U(0x2,_0x536958(ne)),U(0x3,_0x536958(re)),U(0x4,_0x536958(oe)),U(0x5,_0x536958(He)),U(0x6,_0x413878),U(0x7,_0x536958(_0x4945d8))],ae);var ln=Object[_0x150068(0x1c1)],_n=(_0x53d2f8,_0x5b322d,_0x237c0c,_0x56c756)=>{for(var _0x38ecef=_0x56c756>0x1?void 0x0:_0x56c756?ln(_0x5b322d,_0x237c0c):_0x5b322d,_0x3ba6fc=_0x53d2f8['length']-0x1,_0x2ddbec;_0x3ba6fc>=0x0;_0x3ba6fc--)(_0x2ddbec=_0x53d2f8[_0x3ba6fc])&&(_0x38ecef=_0x2ddbec(_0x38ecef)||_0x38ecef);return _0x38ecef;},Ee=(_0x1d4346,_0x834c80)=>(_0x380690,_0x552f80)=>_0x834c80(_0x380690,_0x552f80,_0x1d4346);let Le=class extends _0x2f24fc{constructor(_0x96d316,_0x441ade,_0xf75510){const _0x3cd254=_0x150068;super(),_(this,_0x3cd254(0x11b),new Map()),_(this,_0x3cd254(0x2fa),new Map()),_(this,_0x3cd254(0x296),!0x1),(this['_configService']=_0x96d316,this['_localStorageService']=_0x441ade,this[_0x3cd254(0x1c0)]=_0xf75510);}[_0x150068(0x1c2)](){const _0x102b70=_0x150068;this[_0x102b70(0x296)]=!0x0;}['enableLocalCache'](){const _0x119d25=_0x150068;this[_0x119d25(0x296)]=!0x1;}get['saveTaskMap'](){const _0x95a4f3=_0x150068;return this[_0x95a4f3(0x2fa)];}[_0x150068(0x1ff)](){const _0x35becf=_0x150068;this[_0x35becf(0x2c7)]()[_0x35becf(0x177)](()=>super[_0x35becf(0x1ff)]());}async[_0x150068(0x149)](_0x2d98a1){const _0x54f765=_0x150068;return this[_0x54f765(0x296)]?null:this['_localStorageService'][_0x54f765(0x1ec)](_0xda1ddf(_0x2d98a1));}async[_0x150068(0x2f2)](_0x46762a,_0x5bbe0b){const _0x3919c9=_0x150068;return!!this[_0x3919c9(0x130)][_0x3919c9(0x23e)](_0x46762a,_0x5bbe0b);}[_0x150068(0x2cd)](_0x2ae3dd,_0x49085f,_0x12493e,_0x119309){const _0x2b9c36=_0x150068,_0x58f633=this['_revisionService'][_0x2b9c36(0x144)](_0x2ae3dd);this['_cachedData']['set'](_0x2ae3dd,{'unitID':_0x2ae3dd,'type':_0x49085f,'awaitingChangeset':_0x12493e,'mutations':_0x119309,'rev':_0x58f633}),this[_0x2b9c36(0x2fa)][_0x2b9c36(0x265)](_0x2ae3dd)||this[_0x2b9c36(0x21f)](_0x2ae3dd);}[_0x150068(0x21f)](_0x4326b3){const _0x531e13=_0x150068,_0x57e0b5=this['_getSaveTimeout']();_0x57e0b5===0x0?this[_0x531e13(0x1f4)](_0x4326b3):this[_0x531e13(0x2fa)][_0x531e13(0x23a)](_0x4326b3,setTimeout(()=>this[_0x531e13(0x1f4)](_0x4326b3),_0x57e0b5));}[_0x150068(0x1bc)](){const _0x2fa7e0=_0x150068;var _0x1b5e04;return(_0x1b5e04=this[_0x2fa7e0(0x14a)][_0x2fa7e0(0x1b8)](_0x5d9472))!=null?_0x1b5e04:_0x410689;}['_saveCache'](_0x1a8cd0){const _0x528c2f=_0x150068,_0x35b8d5=this['_saveTaskMap'][_0x528c2f(0x1ed)](_0x1a8cd0);return _0x35b8d5!==void 0x0&&window[_0x528c2f(0x2ac)](_0x35b8d5),this[_0x528c2f(0x130)][_0x528c2f(0x23e)](_0xda1ddf(_0x1a8cd0),this[_0x528c2f(0x11b)][_0x528c2f(0x1ed)](_0x1a8cd0))['then'](()=>this['_saveTaskMap'][_0x528c2f(0x142)](_0x1a8cd0));}async['exhaustSavingTask'](){const _0xbcdac3=_0x150068,_0xc5b8c=[];this['_saveTaskMap'][_0xbcdac3(0x12a)]((_0x323990,_0x22ff15)=>{const _0x364e72=_0xbcdac3;window[_0x364e72(0x2ac)](_0x323990),_0xc5b8c[_0x364e72(0x121)](this[_0x364e72(0x1f4)](_0x22ff15)[_0x364e72(0x177)](()=>{const _0x3023a3=_0x364e72;this['_saveTaskMap'][_0x3023a3(0x142)](_0x22ff15);}));}),await Promise[_0xbcdac3(0x17f)](_0xc5b8c);}};Le=_n([Ee(0x0,_0x465a6c),Ee(0x1,_0xc4caef),Ee(0x2,_0x536958(_0x5d4046))],Le);class hn extends _0x17c743{constructor(){const _0x295ea8=_0x150068;super(),_(this,'urlChange$'),this['urlChange$']=_0x102697(window,'popstate')[_0x295ea8(0x1b5)](_0x48853c(this[_0x295ea8(0x13d)]),_0x8ef732(0x1),_0x50be62(void 0x0));}['setParam'](_0x4d9a04,_0x16dfa9,_0x43e8bc=!0x1){const _0x1a1949=_0x150068,_0x5dc917=new URL(window[_0x1a1949(0x14c)][_0x1a1949(0x179)]);_0x5dc917[_0x1a1949(0x160)][_0x1a1949(0x23a)](_0x4d9a04,_0x16dfa9),_0x43e8bc?window[_0x1a1949(0x115)][_0x1a1949(0x25f)]('','',_0x5dc917[_0x1a1949(0xf8)]()):window[_0x1a1949(0x115)][_0x1a1949(0x2f5)]('','',_0x5dc917['toString']());}[_0x150068(0x1b7)](_0x51b173,_0x346d1=!0x1){const _0x4cbe15=_0x150068,_0x33ceb1=new URL(window[_0x4cbe15(0x14c)][_0x4cbe15(0x179)]);_0x33ceb1[_0x4cbe15(0x160)][_0x4cbe15(0x142)](_0x51b173),_0x346d1?window[_0x4cbe15(0x115)][_0x4cbe15(0x25f)]('','',_0x33ceb1[_0x4cbe15(0xf8)]()):window[_0x4cbe15(0x115)][_0x4cbe15(0x2f5)]('','',_0x33ceb1[_0x4cbe15(0xf8)]());}[_0x150068(0x287)](_0x352b1b){const _0x481586=_0x150068;var _0x243d0a;return(_0x243d0a=new URL(window[_0x481586(0x14c)]['href'])[_0x481586(0x160)][_0x481586(0x1ed)](_0x352b1b))!=null?_0x243d0a:void 0x0;}}var un=Object[_0x150068(0x257)],dn=Object[_0x150068(0x1c1)],fn=(_0x34d3bf,_0x19040b,_0x1c5bef)=>_0x19040b in _0x34d3bf?un(_0x34d3bf,_0x19040b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c5bef}):_0x34d3bf[_0x19040b]=_0x1c5bef,Sn=(_0x43bca3,_0x2112b0,_0x230b99,_0x28a84a)=>{for(var _0x1f9cbd=_0x28a84a>0x1?void 0x0:_0x28a84a?dn(_0x2112b0,_0x230b99):_0x2112b0,_0x5a28c7=_0x43bca3['length']-0x1,_0x5c7ec8;_0x5a28c7>=0x0;_0x5a28c7--)(_0x5c7ec8=_0x43bca3[_0x5a28c7])&&(_0x1f9cbd=_0x5c7ec8(_0x1f9cbd)||_0x1f9cbd);return _0x1f9cbd;},Oe=(_0xcf5de,_0x2d98b6)=>(_0x55abb5,_0x3fbf2a)=>_0x2d98b6(_0x55abb5,_0x3fbf2a,_0xcf5de),mn=(_0x5349e1,_0x5eaea5,_0x555bf4)=>fn(_0x5349e1,_0x5eaea5+'',_0x555bf4);const In=_0x150068(0x237);let Ae=class extends _0x5aafbe{constructor(_0x5ec5b3=et,_0x1c6380,_0x10b8fe,_0x206bbb){const _0x9be85b=_0x150068;super(),this[_0x9be85b(0x306)]=_0x5ec5b3,this['_renderManagerService']=_0x1c6380,this[_0x9be85b(0x1be)]=_0x10b8fe,this[_0x9be85b(0x14a)]=_0x206bbb;const {..._0x3ea353}=_0x31e702({},et,this['_config']);this[_0x9be85b(0x14a)][_0x9be85b(0xfa)](Zi,_0x3ea353);}['onStarting'](){const _0x474145=_0x150068;this[_0x474145(0x1db)](),this[_0x474145(0x129)]();}[_0x150068(0x25b)](){this['_registerRenderDependencies']();}[_0x150068(0x1db)](){const _0x5ca19b=_0x150068;var _0x3478ee;const _0x5dc0c5=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x41750f,{'useClass':_0x559b56}],[_0x37f606,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x1854b4(this[_0x5ca19b(0x1be)],_0xf3852f(_0x5dc0c5,(_0x3478ee=this[_0x5ca19b(0x306)])==null?void 0x0:_0x3478ee[_0x5ca19b(0x2db)]));}['_registerRenderDependencies'](){const _0x2a9be5=_0x150068;this[_0x2a9be5(0x153)](this[_0x2a9be5(0x26c)][_0x2a9be5(0x226)](_0x1383fd[_0x2a9be5(0x239)],[we])),this[_0x2a9be5(0x153)](this[_0x2a9be5(0x26c)]['registerRenderModule'](_0x1383fd[_0x2a9be5(0x255)],[Pe]));}[_0x150068(0x129)](){const _0x45c9e3=_0x150068;_0x97cba8(this[_0x45c9e3(0x1be)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x150068(0x2aa),In),Ae=Sn([_0x172743(_0x17fc6d),Oe(0x1,_0x34203b),Oe(0x2,_0x536958(_0x34a00d)),Oe(0x3,_0x465a6c)],Ae);var gn=Object[_0x150068(0x1c1)],vn=(_0x592744,_0x278754,_0x1bbdd3,_0x3d4637)=>{const _0x337f0e=_0x150068;for(var _0x3002d8=_0x3d4637>0x1?void 0x0:_0x3d4637?gn(_0x278754,_0x1bbdd3):_0x278754,_0x40ab7c=_0x592744[_0x337f0e(0x1a0)]-0x1,_0x3ed4ac;_0x40ab7c>=0x0;_0x40ab7c--)(_0x3ed4ac=_0x592744[_0x40ab7c])&&(_0x3002d8=_0x3ed4ac(_0x3002d8)||_0x3002d8);return _0x3002d8;},K=(_0x4ae742,_0x9bcbb7)=>(_0xcf0bf1,_0x4e573e)=>_0x9bcbb7(_0xcf0bf1,_0x4e573e,_0x4ae742);let st=class extends _0x187970{constructor(_0x5a705a,_0x55c141,_0x2c5add,_0x3dd9b9,_0x408bc1){super(_0x5a705a,_0x55c141,_0x2c5add,_0x3dd9b9,_0x408bc1);}async['createSocket'](_0x5c4d4b){const _0x4c0df3=_0x150068,_0x496d45=await this['_getSessionTicket'](),_0x292061=this[_0x4c0df3(0x2e1)](_0x5c4d4b,_0x496d45);return this['_doCreateSocket'](_0x292061);}['_createSocketURL'](_0x19ccb6,_0xf23727){const _0xd5286c=_0x150068,_0x99b871=typeof window>'u'?new URL(_0x19ccb6):new URL(_0x19ccb6,window[_0xd5286c(0x14c)][_0xd5286c(0x1a2)]);_0x99b871['searchParams'][_0xd5286c(0x23a)](_0xd5286c(0x102),_0xf23727);const _0x227ad6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xd5286c(0x14c)][_0xd5286c(0x12d)]);return _0x227ad6[_0xd5286c(0x1ed)](_0xd5286c(0x24a))&&_0x99b871['searchParams']['set']('runId',_0x227ad6[_0xd5286c(0x1ed)](_0xd5286c(0x24a))),_0x99b871['toString']();}async[_0x150068(0x1fa)](){const _0x300c26=_0x150068;var _0x4c3c57,_0x5c38e8,_0x3c6cb3;const _0x2080b8=this['_configService'][_0x300c26(0x1b8)](_0x4ea354),_0x1bba62=(_0x4c3c57=_0x2080b8==null?void 0x0:_0x2080b8[_0x300c26(0x145)])!=null?_0x4c3c57:_0x1e3666;return(_0x3c6cb3=(_0x5c38e8=(await this[_0x300c26(0x2c8)][_0x300c26(0x1ed)](_0x1bba62,{'headers':{'Content-Type':_0x300c26(0x281)}}))[_0x300c26(0x293)])==null?void 0x0:_0x5c38e8[_0x300c26(0x24c)])!=null?_0x3c6cb3:'';}};st=vn([K(0x0,_0x536958(_0x34a00d)),K(0x1,_0x536958(_0x1dcbe0)),K(0x2,_0x465a6c),K(0x3,_0x4e8405),K(0x4,_0x230952)],st);const it=0x7530,nt=_0x150068(0x186);class jn extends _0x2f24fc{constructor(){const _0x40e4d3=_0x150068;super(),_(this,_0x40e4d3(0x2cc),_0x5e4ef5()),_(this,_0x40e4d3(0x1dc),new Set()),_(this,_0x40e4d3(0x114),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x40e4d3(0x1bb),new Map()),_(this,_0x40e4d3(0x274),new Map()),this[_0x40e4d3(0x15e)]();}['dispose'](){const _0x359300=_0x150068;super['dispose'](),this[_0x359300(0x1bb)][_0x359300(0x12a)]((_0x4d7ff7,_0x26902c)=>this['_removeClearOtherTimer'](_0x26902c)),this[_0x359300(0x15f)]&&window['clearInterval'](this[_0x359300(0x15f)]);}[_0x150068(0x21d)](_0x2d3619){const _0x5d7948=_0x150068;return this[_0x5d7948(0x2df)](_0x2d3619)['pipe'](_0x7b24db());}[_0x150068(0x202)](_0x56a6d6){const _0x230d93=_0x150068;this[_0x230d93(0x1dc)]['size']===0x0&&this[_0x230d93(0x195)](),this[_0x230d93(0x1dc)][_0x230d93(0x20c)](_0x56a6d6),this[_0x230d93(0x18e)]({'type':0x0,'memberID':this[_0x230d93(0x2cc)],'unitIDs':[_0x56a6d6],'isForwarded':!0x1});}[_0x150068(0x24f)](_0x8298b7){const _0xa97d5d=_0x150068;this['_selfUnitIDs'][_0xa97d5d(0x142)](_0x8298b7),this['_selfUnitIDs'][_0xa97d5d(0x132)]===0x0&&this[_0xa97d5d(0x15f)]&&window[_0xa97d5d(0x26a)](this[_0xa97d5d(0x15f)]);}[_0x150068(0x15e)](){const _0x22fcc6=_0x150068;this[_0x22fcc6(0x153)](_0x50adf5(_0x102697(window,'storage')[_0x22fcc6(0x1c7)](_0x1908ff=>{const _0x2ec529=_0x22fcc6;if(_0x1908ff[_0x2ec529(0x279)]!==nt||!_0x1908ff[_0x2ec529(0x1a9)])return;const _0xe57672=JSON[_0x2ec529(0x1bf)](_0x1908ff[_0x2ec529(0x1a9)]);this['_handleEvent'](_0xe57672);}))),window[_0x22fcc6(0x300)]('unload',()=>this[_0x22fcc6(0x18e)]({'type':0x1,'memberID':this[_0x22fcc6(0x2cc)],'unitIDs':Array['from'](this[_0x22fcc6(0x1dc)])}));}[_0x150068(0x16a)](_0xe2a7b8){const _0x1b6bdf=_0x150068;switch(_0xe2a7b8[_0x1b6bdf(0x12e)]){case 0x0:this[_0x1b6bdf(0x1b1)](_0xe2a7b8);break;case 0x1:this[_0x1b6bdf(0x291)](_0xe2a7b8);break;case 0x2:this[_0x1b6bdf(0x21c)](_0xe2a7b8);break;}}[_0x150068(0x1b1)](_0x3ff0da){const _0x49fb8d=_0x150068,{unitIDs:_0x1eeea2,memberID:_0x2485f3,isForwarded:_0x4b0d22}=_0x3ff0da;_0x1eeea2[_0x49fb8d(0x12a)](_0xa46772=>{const _0x2a4dfb=_0x49fb8d;if(!_0x4b0d22&&this['_unitOnClients'][_0x2a4dfb(0x265)](_0xa46772)&&this[_0x2a4dfb(0x2df)](_0xa46772)[_0x2a4dfb(0x165)](_0x56d765[_0x2a4dfb(0x2f6)]),!this[_0x2a4dfb(0x114)][_0x2a4dfb(0x265)](_0xa46772)||!this[_0x2a4dfb(0x114)][_0x2a4dfb(0x1ed)](_0xa46772)[_0x2a4dfb(0x265)](_0x2485f3)){const _0x3b003b=this[_0x2a4dfb(0x114)][_0x2a4dfb(0x1ed)](_0xa46772)||new Set();_0x3b003b[_0x2a4dfb(0x20c)](_0x2485f3),this[_0x2a4dfb(0x114)][_0x2a4dfb(0x23a)](_0xa46772,_0x3b003b),this['_scheduleClearOtherTimer'](_0x2485f3);}}),_0x4b0d22||this[_0x49fb8d(0x18e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x49fb8d(0x1dc)]],'isForwarded':!0x0});}[_0x150068(0x118)](_0x36c24a){const _0x33a7fe=_0x150068;this[_0x33a7fe(0x187)](_0x36c24a);const _0x4f519a=window[_0x33a7fe(0x215)](()=>{const _0x261114=_0x33a7fe;this[_0x261114(0x114)]['forEach'](_0x50e90e=>{_0x50e90e['delete'](_0x36c24a);});},it*0x2);this['_clearOtherTimers'][_0x33a7fe(0x23a)](_0x36c24a,_0x4f519a);}[_0x150068(0x187)](_0x369a6c){const _0x46249f=_0x150068;if(this[_0x46249f(0x1bb)][_0x46249f(0x265)](_0x369a6c)){const _0x3cf0a2=this[_0x46249f(0x1bb)]['get'](_0x369a6c);_0x3cf0a2&&window[_0x46249f(0x2ac)](_0x3cf0a2),this[_0x46249f(0x1bb)]['set'](_0x369a6c,null);}}['_handleLeaveEvent'](_0x4ec3df){const _0x40f014=_0x150068,{memberID:_0x319e3e,unitIDs:_0x3d26bf}=_0x4ec3df;_0x3d26bf[_0x40f014(0x12a)](_0x4edb1c=>{const _0x4e4e5f=_0x40f014;var _0x2337f8;const _0x26b0da=this[_0x4e4e5f(0x114)][_0x4e4e5f(0x1ed)](_0x4edb1c);_0x26b0da&&(_0x26b0da[_0x4e4e5f(0x142)](_0x319e3e),(_0x2337f8=this['_ensureSubject'](_0x4edb1c))==null||_0x2337f8[_0x4e4e5f(0x165)](_0x26b0da[_0x4e4e5f(0x132)]===0x0?_0x56d765['NO_OTHER_CLIENTS_EDITING']:_0x56d765[_0x4e4e5f(0x2f6)]));}),this[_0x40f014(0x187)](_0x319e3e);}['_handleHeartbeatEvent'](_0x3e7eae){const _0xf7f986=_0x150068;this[_0xf7f986(0x118)](_0x3e7eae['memberID']);}[_0x150068(0x18e)](_0x1daf10){const _0x2fda6e=_0x150068;localStorage[_0x2fda6e(0x23e)](nt,JSON[_0x2fda6e(0x2a2)](_0x1daf10));}['_scheduleHeartbeat'](){const _0x1905de=_0x150068;this[_0x1905de(0x15f)]=window[_0x1905de(0x25c)](()=>{const _0x489555=_0x1905de;this['_send']({'type':0x2,'memberID':this[_0x489555(0x2cc)]});},it);}[_0x150068(0x2df)](_0x2a6e0d){const _0x4e020a=_0x150068;return this[_0x4e020a(0x274)][_0x4e020a(0x265)](_0x2a6e0d)||this[_0x4e020a(0x274)][_0x4e020a(0x23a)](_0x2a6e0d,new _0xe09868(_0x56d765[_0x4e020a(0x227)])),this[_0x4e020a(0x274)][_0x4e020a(0x1ed)](_0x2a6e0d);}}var Mt=(_0xa91727=>(_0xa91727[_0xa91727['UNDEFINED']=0x0]=_0x150068(0x1b4),_0xa91727[_0xa91727['OK']=0x1]='OK',_0xa91727[_0xa91727[_0x150068(0x1e8)]=0x2]=_0x150068(0x1e8),_0xa91727[_0xa91727[_0x150068(0x2dc)]=0x3]=_0x150068(0x2dc),_0xa91727[_0xa91727[_0x150068(0x1bd)]=0x4]=_0x150068(0x1bd),_0xa91727[_0xa91727[_0x150068(0x117)]=0x5]=_0x150068(0x117),_0xa91727[_0xa91727[_0x150068(0x19e)]=0x6]=_0x150068(0x19e),_0xa91727[_0xa91727[_0x150068(0x2d2)]=0x7]=_0x150068(0x2d2),_0xa91727[_0xa91727[_0x150068(0x143)]=0x8]=_0x150068(0x143),_0xa91727[_0xa91727['COMPLETION_FINISHED']=0x9]=_0x150068(0x218),_0xa91727[_0xa91727[_0x150068(0xfd)]=0xa]='LOGIN_FAILED',_0xa91727[_0xa91727[_0x150068(0x297)]=0x1389]=_0x150068(0x297),_0xa91727[_0xa91727[_0x150068(0x126)]=0x1771]=_0x150068(0x126),_0xa91727[_0xa91727[_0x150068(0x2f9)]=0x1772]=_0x150068(0x2f9),_0xa91727[_0xa91727[_0x150068(0x1df)]=0x1773]=_0x150068(0x1df),_0xa91727[_0xa91727[_0x150068(0x2ba)]=0x1b59]=_0x150068(0x2ba),_0xa91727[_0xa91727[_0x150068(0x1f8)]=0x1b5a]=_0x150068(0x1f8),_0xa91727[_0xa91727['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x150068(0x251),_0xa91727[_0xa91727[_0x150068(0x1cb)]=0x1b5c]=_0x150068(0x1cb),_0xa91727[_0xa91727['APPLY_DUPLICATED']=0x1b5d]=_0x150068(0x23c),_0xa91727[_0xa91727[_0x150068(0x2bb)]=0x1f41]=_0x150068(0x2bb),_0xa91727[_0xa91727[_0x150068(0x2ee)]=0x2329]=_0x150068(0x2ee),_0xa91727[_0xa91727[_0x150068(0x192)]=0x232a]=_0x150068(0x192),_0xa91727[_0xa91727[_0x150068(0x110)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xa91727[_0xa91727['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x150068(0x243),_0xa91727[_0xa91727[_0x150068(0x284)]=0x232d]=_0x150068(0x284),_0xa91727[_0xa91727[_0x150068(0x269)]=0x2711]=_0x150068(0x269),_0xa91727[_0xa91727[_0x150068(0x2c2)]=0x2712]=_0x150068(0x2c2),_0xa91727[_0xa91727['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x150068(0x15b),_0xa91727[_0xa91727[_0x150068(0x16f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xa91727[_0xa91727[_0x150068(0x222)]=0x271a]=_0x150068(0x222),_0xa91727[_0xa91727['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x150068(0x163),_0xa91727[_0xa91727[_0x150068(0x18d)]=0x271c]=_0x150068(0x18d),_0xa91727[_0xa91727[_0x150068(0x1ce)]=0x271d]=_0x150068(0x1ce),_0xa91727[_0xa91727['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x150068(0x28d),_0xa91727[_0xa91727[_0x150068(0x148)]=0x271f]=_0x150068(0x148),_0xa91727[_0xa91727[_0x150068(0x246)]=0x2af9]=_0x150068(0x246),_0xa91727[_0xa91727[_0x150068(0x1fe)]=0x2ee1]=_0x150068(0x1fe),_0xa91727[_0xa91727[_0x150068(0x2f7)]=0x2ee2]=_0x150068(0x2f7),_0xa91727[_0xa91727[_0x150068(0x1ab)]=0x2ee3]=_0x150068(0x1ab),_0xa91727[_0xa91727[_0x150068(0x180)]=0x2ee4]=_0x150068(0x180),_0xa91727[_0xa91727[_0x150068(0x164)]=0x2ee5]=_0x150068(0x164),_0xa91727[_0xa91727['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x150068(0x28e),_0xa91727[_0xa91727[_0x150068(0x2d5)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xa91727[_0xa91727['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x150068(0x135),_0xa91727[_0xa91727[_0x150068(0x24e)]=-0x1]=_0x150068(0x24e),_0xa91727))(Mt||{}),pn=Object[_0x150068(0x1c1)],Cn=(_0x366816,_0x20342c,_0x1c6f7e,_0x575cc6)=>{const _0x3e1224=_0x150068;for(var _0x91c465=_0x575cc6>0x1?void 0x0:_0x575cc6?pn(_0x20342c,_0x1c6f7e):_0x20342c,_0x3f4218=_0x366816[_0x3e1224(0x1a0)]-0x1,_0x40c4f3;_0x3f4218>=0x0;_0x3f4218--)(_0x40c4f3=_0x366816[_0x3f4218])&&(_0x91c465=_0x40c4f3(_0x91c465)||_0x91c465);return _0x91c465;},be=(_0x4767a7,_0x34812c)=>(_0x2f0605,_0x26ce6b)=>_0x34812c(_0x2f0605,_0x26ce6b,_0x4767a7);let rt=class extends _0x2f24fc{constructor(_0x5328d5,_0x3b4adf,_0x517540){const _0x453494=_0x150068;super(),this[_0x453494(0x1ba)]=_0x5328d5,this['_httpService']=_0x3b4adf,this[_0x453494(0x14a)]=_0x517540;}async['runOnServer'](_0x1f807e,_0x4af2bf,_0xe10ee3,..._0x36235a){const _0x432345=_0x150068;var _0x157697,_0xa2bf29,_0x404999,_0x178a1e;const _0x135b62=this['_instanceService'][_0x432345(0x2b4)]();if(!_0x135b62)throw new Error(_0x432345(0x134));const _0x18d5b3=((_0x157697=this[_0x432345(0x14a)][_0x432345(0x1b8)](_0x5b60c8))!=null?_0x157697:_0x104bb5)+'/'+_0x1f807e+_0x432345(0x12b)+_0x4af2bf,_0x3c7ee7=new URL(window[_0x432345(0x14c)][_0x432345(0x179)]),_0x1b7d88={'scriptId':_0x1f807e,'runId':(_0xa2bf29=_0x3c7ee7[_0x432345(0x160)]['get'](_0x432345(0x24a)))!=null?_0xa2bf29:'','function':_0x4af2bf,'unitId':_0x135b62['getUnitId'](),'argsOfFunction':JSON[_0x432345(0x2a2)](_0x36235a),'invokeId':(_0x404999=_0xe10ee3['invokeId'])!=null?_0x404999:'','executionId':(_0x178a1e=_0xe10ee3[_0x432345(0x28f)])!=null?_0x178a1e:''};try{const _0x664162=await this[_0x432345(0x2c8)][_0x432345(0x1e2)](_0x18d5b3,{'body':_0x1b7d88});return _0x664162[_0x432345(0x293)][_0x432345(0x263)]&&_0x664162[_0x432345(0x293)][_0x432345(0x263)][_0x432345(0x277)]!==Mt['OK']?_0x432345(0x178):_0x664162[_0x432345(0x293)][_0x432345(0x124)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x1e55c1),be(0x1,_0x536958(_0x1dcbe0)),be(0x2,_0x465a6c)],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
+ function _0x3091(){const _0x3967e8=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','6113590BhQBRw','39JyleRy','6691185ytXFEd','Synced','7KTqaXM','Authentication\x20Error','439630xMexAS','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.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','5112064PxljFj','Collaboration\x20Conflict','4TChiwk','22510HekmGf','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','187TnEHtG','10165062ZojzdY','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','5213205BGpgPG'];_0x3091=function(){return _0x3967e8;};return _0x3091();}const _0x2881fc=_0x357b;(function(_0x363ae9,_0x4ec07a){const _0x248a1e=_0x357b,_0x20fbf2=_0x363ae9();while(!![]){try{const _0x3cbe4a=parseInt(_0x248a1e(0x18f))/0x1*(-parseInt(_0x248a1e(0x19a))/0x2)+parseInt(_0x248a1e(0x1a6))/0x3*(parseInt(_0x248a1e(0x199))/0x4)+-parseInt(_0x248a1e(0x1a8))/0x5+-parseInt(_0x248a1e(0x19e))/0x6*(-parseInt(_0x248a1e(0x192))/0x7)+parseInt(_0x248a1e(0x197))/0x8+-parseInt(_0x248a1e(0x190))/0x9+parseInt(_0x248a1e(0x194))/0xa*(-parseInt(_0x248a1e(0x19d))/0xb);if(_0x3cbe4a===_0x4ec07a)break;else _0x20fbf2['push'](_0x20fbf2['shift']());}catch(_0x688287){_0x20fbf2['push'](_0x20fbf2['shift']());}}}(_0x3091,0xe0395));function _0x357b(_0x9c62cd,_0x45cb32){const _0x3091d=_0x3091();return _0x357b=function(_0x357bd4,_0x2d8913){_0x357bd4=_0x357bd4-0x18f;let _0x7d4ea3=_0x3091d[_0x357bd4];return _0x7d4ea3;},_0x357b(_0x9c62cd,_0x45cb32);}const e={'collab-client':{'tooltip':{'reconnect':_0x2881fc(0x1a0)}},'collabStatus':{'fetchMiss':_0x2881fc(0x19c),'conflict':'Edit\x20conflicts','notCollab':_0x2881fc(0x1a1),'synced':_0x2881fc(0x191),'syncing':'Syncing...','offline':_0x2881fc(0x196)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x2881fc(0x1a5),'room-full':_0x2881fc(0x19b),'collaboration-timeout':_0x2881fc(0x19f)},'conflict':{'title':_0x2881fc(0x198),'content':_0x2881fc(0x195)},'permission':{'title':_0x2881fc(0x193),'content':_0x2881fc(0x1a3)},'collaboration':{'single-unit':{'warning':_0x2881fc(0x1a4)},'closeRoom':_0x2881fc(0x1a7)},'auth':{'needGotoLoginAlert':_0x2881fc(0x1a2)}};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
+ const _0x59aaa0=_0x59c5;function _0x59c5(_0x3faf97,_0x47c9b2){const _0x7883b4=_0x7883();return _0x59c5=function(_0x59c580,_0x1f1d59){_0x59c580=_0x59c580-0x81;let _0x525fb5=_0x7883b4[_0x59c580];return _0x525fb5;},_0x59c5(_0x3faf97,_0x47c9b2);}(function(_0x4c1d61,_0xf3ba2a){const _0x1d857e=_0x59c5,_0x1856a0=_0x4c1d61();while(!![]){try{const _0x2bbda3=parseInt(_0x1d857e(0x92))/0x1*(-parseInt(_0x1d857e(0x87))/0x2)+-parseInt(_0x1d857e(0x8a))/0x3+-parseInt(_0x1d857e(0x98))/0x4*(parseInt(_0x1d857e(0x90))/0x5)+-parseInt(_0x1d857e(0x94))/0x6+parseInt(_0x1d857e(0x86))/0x7*(-parseInt(_0x1d857e(0x8f))/0x8)+-parseInt(_0x1d857e(0x97))/0x9*(-parseInt(_0x1d857e(0x81))/0xa)+parseInt(_0x1d857e(0x95))/0xb*(parseInt(_0x1d857e(0x8d))/0xc);if(_0x2bbda3===_0xf3ba2a)break;else _0x1856a0['push'](_0x1856a0['shift']());}catch(_0x2a7ecc){_0x1856a0['push'](_0x1856a0['shift']());}}}(_0x7883,0x50b88));function _0x7883(){const _0x33eed6=['اتصال\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رفت.','371MaCPNO','48yShheY','همگام\x20سازی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','1826568VByBVg','در\x20حال\x20همگام\x20سازی...','پرونده\x20محلی','12jsuvWI','تداخل\x20ویرایش','98864mLZsJg','575755MrAgee','خطای\x20اعتبارسنجی','15wWIQbv','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','1390860uLyXDS','20716597WaicQQ','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','526104OhwZqt','4vzYbbx','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','10LzIMrB','تداخل\x20همکاری'];_0x7883=function(){return _0x33eed6;};return _0x7883();}const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x59aaa0(0x89),'conflict':_0x59aaa0(0x8e),'notCollab':_0x59aaa0(0x8c),'synced':_0x59aaa0(0x88),'syncing':_0x59aaa0(0x8b),'offline':_0x59aaa0(0x99)},'session':{'connection-failed':_0x59aaa0(0x83),'will-retry':_0x59aaa0(0x93),'room-full':_0x59aaa0(0x96),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x59aaa0(0x82),'content':_0x59aaa0(0x85)},'permission':{'title':_0x59aaa0(0x91),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x59aaa0(0x84)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};