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

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 _0x2c15ac=_0x41a1;(function(_0x6efc7b,_0x2a68af){const _0x355c22=_0x41a1,_0x346827=_0x6efc7b();while(!![]){try{const _0x4d01ef=parseInt(_0x355c22(0x152))/0x1*(-parseInt(_0x355c22(0x27e))/0x2)+-parseInt(_0x355c22(0xef))/0x3+-parseInt(_0x355c22(0x1c1))/0x4*(parseInt(_0x355c22(0x21e))/0x5)+-parseInt(_0x355c22(0xd4))/0x6*(parseInt(_0x355c22(0x22c))/0x7)+-parseInt(_0x355c22(0x132))/0x8*(-parseInt(_0x355c22(0xbf))/0x9)+-parseInt(_0x355c22(0x10e))/0xa*(parseInt(_0x355c22(0x237))/0xb)+parseInt(_0x355c22(0x110))/0xc;if(_0x4d01ef===_0x2a68af)break;else _0x346827['push'](_0x346827['shift']());}catch(_0x3614f1){_0x346827['push'](_0x346827['shift']());}}}(_0x2aa1,0xdf9e9));var $t=Object[_0x2c15ac(0x193)],xt=(_0x3a6595,_0x49018d,_0x7a02b6)=>_0x49018d in _0x3a6595?$t(_0x3a6595,_0x49018d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7a02b6}):_0x3a6595[_0x49018d]=_0x7a02b6,_=(_0x38a558,_0x310a95,_0x11424f)=>xt(_0x38a558,typeof _0x310a95!=_0x2c15ac(0x1c4)?_0x310a95+'':_0x310a95,_0x11424f);import{MemberService as _0x2d16d9,SessionStatus as _0x4ad9cc,CollaborationSessionService as _0x26d8c2,CollaborationStatus as _0xb16102,CollaborationController as _0x14b3a4,ILocalCacheService as _0x183521,CollaborationUIEventService as _0x20c989,CollaborationUIEventId as _0x4b6966,DataLoaderService as _0x9e95d3,DocCollaborationEntity as _0x2c2c07,getLocalCacheKey as _0x743ebc,LOCAL_CACHE_INTERVAL as _0x4116b5,LOCAL_CACHE_INTERVAL_KEY as _0x5815dc,UniverCollaborationClientPlugin as _0x25c718,CollaborationSocketService as _0x3bee96,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x159709,DEFAULT_WS_SESSION_TICKET_URL as _0x17e497,UnitStatus as _0x14039a,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4b54e4,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x708992}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3ead01,Disposable as _0x4c53e2,DOC_RANGE_TYPE as _0x381a92,Inject as _0x4ac5cb,Injector as _0x21a3dc,IUniverInstanceService as _0x2950a1,ICommandService as _0x339cdd,debounce as _0x1a3845,Rectangle as _0x53cb5c,DisposableCollection as _0x1d1a12,toDisposable as _0xf5a323,UniverInstanceType as _0x13ff01,Tools as _0xa1e94,COLORS as _0x21c607,ColorKit as _0xa4f0fe,ThemeService as _0x380233,fromEventSubject as _0x55d348,LocaleService as _0x407cea,createIdentifier as _0x30f31f,ILogService as _0xcfc1e3,Optional as _0x51f5a4,Workbook as _0x29f169,CommandType as _0x4343ad,IConfigService as _0x16807e,ILocalStorageService as _0x2e8b06,DependentOn as _0x5cc4a2,Plugin as _0x444aab,merge as _0x5bcbe9,registerDependencies as _0x3785b5,mergeOverrideWithDependencies as _0x536b1f,touchDependencies as _0x4682c0,generateRandomId as _0x3db1b7}from'@univerjs/core';import{Shape as _0x548c4b,Rect as _0x4100fd,getColor as _0x3b6cf9,RegularPolygon as _0x5133c2,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x208c0a,Vector2 as _0x137d2e,SHEET_VIEWPORT_KEY as _0x4f263e,IRenderManagerService as _0x214824}from'@univerjs/engine-render';import{ISocketService as _0x1ff0a9,WebSocketService as _0x60fda1,HTTPService as _0x4e09b8}from'@univerjs/network';import{IDocClipboardService as _0x5eb8dc,NodePositionConvertToCursor as _0x3bff03,NodePositionConvertToRectRange as _0x4b0d7d,TEXT_RANGE_LAYER_INDEX as _0x3f97c2,SetDocZoomRatioOperation as _0x3a46b6,DocIMEInputManagerService as _0x43115d,DocStateChangeManagerService as _0xf90476}from'@univerjs/docs-ui';import{IImageIoService as _0x89954}from'@univerjs/drawing';import{BehaviorSubject as _0xa09dbb,debounceTime as _0x5d329c,takeUntil as _0x2e32fd,Subject as _0x583715,filter as _0x8dcb7d,switchMap as _0xf26a44,merge as _0x2d6b4c,combineLatest as _0x475cfb,of as _0xdbbc18,fromEvent as _0x399cc6,shareReplay as _0x4ea927,mapTo as _0x523d5e,distinctUntilChanged as _0x3193b3}from'rxjs';function _0x2aa1(){const _0x12a6fc=['_renderManagerService','UniverIcon','_online','range','_removeClearOtherTimer','entries','currentTheme$','_toggleOffline','saveOfflineData','enableLocalCache','_collabCursorState$','OffLineIcon','YUUMI_ALL_TABLES_IS_INVALID','delete','YUUMI_UNABLE_LOAD_URL','doc.mutation.rich-text-editing','_startDocCollabCursor','_name','session.will-retry','pushState','getActiveRange','setUndoRedoMutationParamsCache','createSocket','propertyIsEnumerable','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','assignAColorForMemberID','_colorIndex','YUUMI_SUBSCRIPTION_NOT_FOUND','FETCH_MISS','_handleJoinEvent','unitID','generateRandomId','setItem','none','_collaborationController','getCellPositionByOffset','_messageService','cursorInfo$','restore','backgroundColor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_session','getMergeData','ranges','_handleEvent','getParam','10714Qtodvv','idSuffix','_textBubble','getFocusedUnit','isEditing','prototype','LICENSE_IMPORT_SIZE_EXCEEDED','_entities','sessionStatus$','0\x200\x2016\x2016','LOGIN_FAILED','_ensureSubject','send','search','_docTransformIMECacheService','collabStatus.fetchMiss','getCurrentRevOfUnit','InsertRangeMoveDownCommandId','registerRenderModule','findNodePositionByCharIndex','focused$','current','_anchorDot','getCurrentSelections','_getSessionTicket','CHANGESET_REVISION_CONFILICT','DeleteRangeMoveLeftCommandId','onRendered','getViewport','eventID','save','function','deepClone','className','_localCacheService','status$','round','_scene','getRelativeToViewportCoord','collab-text-range-','onPointerLeave$','subscribe','_send','storage','onCommandExecuted','unshift','PERMISSION_DENIED','_entityInit$','_docStateChangeManagerService','application/json','attrs','unit','subUnitId','_refreshCollabCursors','getCollabCursors$','getDocRanges','_initDependencies','endRow','_getAnchorBounding','labelPosition','_drawRectRange','setAlpha','_collabCursorController','purple.300','_initResize','APPLY_DUPLICATED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collabStatus.conflict','addClipboardHook','_themeService','FromArray','add','_initStatusListener','then','getActiveSheet','INVALID_ARGUMENT','OTHER_CLIENTS_EDITING','replace','addObject','displayName','44271AjGcKp','createInstance','_disabled','CONFLICT','xlink:href','Failed','history','TOO_MANY_REQUESTS','next','values','setShapeProps','collab-rect-range-','isArray','cursorInfo','YUUMI_NO_CUBOID_FOR_QUESTION','collabCursorState$','getUnitId','OnLineIcon','_drawTextRange','_createSocketURL','permission.title','14172TVajjd','[RemoteUniscriptService]:\x20no\x20focused\x20unit','OTHER_CLIENT_EDITING','name','newValue','url(#on-line-icon_clip0_910_349)','_uiPartsService','find','on-line-icon','_getSheetObject','_configService','width','requireSession','_injector','VIEW_MAIN','INVITE_CODE_REQUIRED','resize','USER_NOT_INVITED_CODE','fillRule','_hovered','string','_cursorShapes','addHandlerCallback','type','m2Prime','_onCursorDelete','roomMembers','3314802FqpGPY','saveTaskMap','_unitOnClients','EMAIL_HAS_BEEN_BOUND','href','map','_docClipboardService','_onRefRangeChange','defIds','selection','startColumn','collab-text-anchor-','mask','permission.content','_initEvent','pluginName','registerBeforeClose','selections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_cursorInfo$','textRanges','_eventUnsubscribe','unitId','height','_urlService','assign','transformIMECache','defs','SOCKET_FAILED_RETRY','_roomMembers$','onPointerEnter$','7242770TBOwBS','UNDEFINED','58131336IaGCob','RemoveColCommandId','getRenderById','tag','_cachedData','YUUMI_ASYNCIO_CANCELLED','min','univer-flex\x20univer-mr-2\x20univer-text-xl','getVpScrollXYInfoByPosToVp','_dataLoaderService','hovered','_handleHeartbeatEvent','executeCommand','bottom','loadUnit','max','clearTimeout','forEach','subscribeEvent','INVITE_CODE_HAS_BEEN_UES','yellow.400','_sheetSkeletonManagerService','OFFLINE','_updateCollabCursors','memberID','_docSkeletonManagerService','clipPath','COMPLETION_FINISHED','univerjs-icon\x20univerjs-icon-','_localeService','InsertRowCommandId','_revisionService','_logService','result','1648TktgqF','mutations','pipe','UNIVER_DOC','_imageIoService','triggerDblclick','_transformService','toRgbString','_render','/run/','_initCommandExecutedListener','AWAITING','editingUnit','get','white','url(#$1','translate(.97)','set','APPLY_REVISION_CONFILICT','getOffsetConfig','reconnect','hasOwnProperty','collab-client.tooltip.reconnect','off-line-icon_clip0_910_343','location','getTypeOfUnitAdded$','_docSyncEditingCollabCursorService','MoveRangeCommandId','text','m1Prime','init','http://www.w3.org/2000/svg','149kAlqpJ','_onCursorUpdate','_anchor','extend','_getScale','SYNCED','updateOfflineData','sessionTicket','_univerInstanceService','_removeCollabCursors','INTERNAL_ERROR','column','getItem','data','RemoveRowCommandId','row','_initStatusComponent','collaboration-client-ui.config','YUUMI_RATE_OVER_LIMIT','url(#off-line-icon_clip0_910_343)','fillText','blue.400','runId','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','getOwnPropertySymbols','clearInterval','_init','_handleHover','_registerRenderDependencies','registerRefRange','path','LICENSE_EXPORT_SIZE_EXCEEDED','with','_handleLeaveEvent','arc','SNAPSHOT_HAS_BEEN_REMOVED','_status$','unload','_cursors','_localStorageService','_transformHistoryAndStateStack','InsertColCommandId','currentSkeleton$','startsWith','searchParams','USERS_LEAVE','red.300','fill','ENSURE_SNAPSHOT_EXECUTION','session.collaboration-timeout','AWAITING_WITH_PENDING','setTimeout','TEXT','_scheduleClearOtherTimer','replaceState','getCurrentUnitForType','getValue','getAncestorScale','InsertRangeMoveRightCommandId','getSkeleton','_drawAnchor','_heartbeatTimer','_httpService','PENDING','collaboration.closeRoom','defineProperty','transformRemoteChangeset','redoState','_docTransformSelectionsService','transformStateCache','_docTransformStateCacheService','sheetId','YUUMI_AI_RUN_FAILED','contains','UNIVER_SHEET','NOT_FOUND','ONLINE','popstate','_collabSessionService','size','includes','_setupBeforeClosingHandler','getStateCache','toString','imageSourceType','_selfUnitIDs','getRangePointData','_updateURLWithCurrentState','currentColor','_draw','_doCreateSocket','invokeId','stringify','error','getCurrent','unsubscribe','svg','Warning','setParam','transform','_document','post','UNRECOGNIZED','has','body','_updateLocalCursor','_collaborationUIEventService','getMember','_syncEditingCollabCursorService','black','from','7027244aqmyaf','_saveTaskMap','SOCKET_FAILED','symbol','Unknown\x20user','onStarting','children','asObservable','_refRangeService','key','complete','_notificationService','subunit','closePath','_instanceService','addObjects','getSheetBySheetId','engine','roomMembers$','_hideTimer','trim','_labelPosition','univer-flex\x20univer-items-center','top','skeleton','_memberService','_clearOtherTimers','_transformPreviousActiveRange','executionId','_scheduleSaving','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_toggleOnline','urlChange$','icon','removeParam','getUndoRedoMutationParamsCache','source','NO_OTHER_CLIENTS_EDITING','substring','_cursor','dispose$','_backgroundColor','_shapes','transformSelections','_assignedColors','_color','concat','origin','PY_RUNTIME_SCRIPT_ERROR','collabStatus.offline','UPDATE_CURSOR','uni.network.url-service','_context','beginPath','_updateSubUnitFromURLParams','INVALID_INVITE_CODE','hide','saveImage','1em','indexOf','WECHAT_HAS_BEEN_BOUND','getConfig','syncEditingCollabCursor','RECT','INVITE_CODE_ALREADY_BOUND','_registerDependencies','ALREADY_EXISTS','M0\x200H16V16H0z','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','disposeUnit','isActive','Error','_commandService','getCollabEntity$','moveTo','_saveCache','getColorFromTheme','loadOfflineData','_lastPointer','getMemberID','transformMutationsWithChangeset','LICENSE_MAX_UNITS_EXCEEDED','APPLY_PERMISSION_DENIED','_range','length','_unitStatus','drawWith','measureText','getSheetId','disposeWithMe','_id','getUnitStatus$','split','5aCzVIR','YUUMI_URL_COL_OUT_OF_RANGE','off-line-icon','colorChannel1','getOwnPropertyDescriptor','collabStatus.notCollab','apply','onMouseMove','_scheduleHeartbeat','event$','UNAUTHENTICATED','lineTo','evenodd','_setupSubUnitSync','1652fAvuYN','_getSaveTimeout','dispose','color','rgba(255,\x20255,\x20255,\x200.01)','_getMergeRange','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','params','push','setStateCache','transformByState','11jvJbcC','CONNECTOR_DATA_TOO_LARGE','sheetID','APPLY_REJECT','undoState','activeSheet$','parse','docStateChange$','collabStatus.syncing','transformMutation','call','show','exhaustSavingTask','SNAPSHOT_INVALID_SNAPSHOT','getTypeOfUnitDisposed$','collaboration-client.offline-data-not-saved','_config','jiqing.500','NOT_COLLAB','addEventListener','MOBILE_HAS_BEEN_BOUND','_hover','_initEntityListener','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_colorAssignService'];_0x2aa1=function(){return _0x12a6fc;};return _0x2aa1();}import{SetTextSelectionsOperation as _0x47674d,RichTextEditingMutation as _0x3c4929,DocSelectionManagerService as _0x436b2c,DocSkeletonManagerService as _0x53890c}from'@univerjs/docs';import{ITransformService as _0x3ee570,CollaborationEvent as _0x1b54c8,isTransformMutationFailure as _0x50d149,isTransformMutationsWithChangesetSuccess as _0x16beb7,RevisionService as _0x41c078,ISnapshotServerService as _0x34d4ce}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x450fcc,serializeRangeWithSheet as _0x202247}from'@univerjs/engine-formula';import{RefRangeService as _0xde5e71,SetSelectionsOperation as _0xe53a2e,SheetsSelectionsService as _0x4dd586,EffectRefRangId as _0x1d617d,handleIRemoveRow as _0x38f940,handleIRemoveCol as _0x1353e7,handleMoveRange as _0x254cc6,handleInsertRow as _0x2c60c4,handleInsertRangeMoveRight as _0x152fed,handleInsertRangeMoveDown as _0x55b1e9,handleInsertCol as _0x1b8a13,handleDeleteRangeMoveUp as _0x164be1,handleDeleteRangeMoveLeft as _0x258bf6,runRefRangeMutations as _0x174e16,SetWorksheetActivateCommand as _0x3e3030}from'@univerjs/sheets';import{map as _0x2fe3e7,filter as _0x504d85,throttleTime as _0x50e948,takeUntil as _0x5b56fa,switchMap as _0x5be835}from'rxjs/operators';import{SheetSkeletonManagerService as _0x46f29c,getCoordByCell as _0x149a54,getSheetObject as _0x2c17fa}from'@univerjs/sheets-ui';import{jsx as _0x1298f5,jsxs as _0x5f4503}from'react/jsx-runtime';import{useObservable as _0x17e35c,useDependency as _0x463d97,IUIPartsService as _0x5417e0,BuiltInUIPart as _0x2b34a5,connectInjector as _0x138a74,IBeforeCloseService as _0x481b17,IMessageService as _0x44bb72,INotificationService as _0x2b61bd}from'@univerjs/ui';import{Tooltip as _0x199b5b,clsx as _0x281aab,MessageType as _0x52999d}from'@univerjs/design';import{forwardRef as _0x3b02ea,useRef as _0x39d5b3,createElement as _0x27de02,useCallback as _0xf7cadd}from'react';import{IRemoteInstanceService as _0x3dfb0b}from'@univerjs/rpc';var ci=Object[_0x2c15ac(0x222)],li=(_0x10f9ca,_0x1878c9,_0x1cf784,_0x238186)=>{for(var _0x37abe9=_0x238186>0x1?void 0x0:_0x238186?ci(_0x1878c9,_0x1cf784):_0x1878c9,_0x3f2d38=_0x10f9ca['length']-0x1,_0x1c1e6b;_0x3f2d38>=0x0;_0x3f2d38--)(_0x1c1e6b=_0x10f9ca[_0x3f2d38])&&(_0x37abe9=_0x1c1e6b(_0x37abe9)||_0x37abe9);return _0x37abe9;},Je=(_0x4313fb,_0x5d81f8)=>(_0x431bd1,_0x263e41)=>_0x5d81f8(_0x431bd1,_0x263e41,_0x4313fb);let Ne=class extends _0x3ead01{constructor(_0xa41e42,_0x3575b3){const _0x13cc60=_0x2c15ac;super(),this['_docClipboardService']=_0xa41e42,this[_0x13cc60(0x136)]=_0x3575b3,this[_0x13cc60(0x16c)]();}[_0x2c15ac(0x16c)](){const _0x109ffc=_0x2c15ac,_0x33a822=this;this[_0x109ffc(0x21a)](this[_0x109ffc(0xf5)][_0x109ffc(0x2c2)]({'onBeforePasteImage':async _0x24cc0e=>{const _0x281b7c=_0x109ffc,_0x5909fb=await _0x33a822['_imageIoService'][_0x281b7c(0x1fa)](_0x24cc0e);return _0x5909fb?{'source':_0x5909fb[_0x281b7c(0x1e5)],'imageSourceType':_0x5909fb[_0x281b7c(0x1a6)]}:null;}}));}};Ne=li([Je(0x0,_0x5eb8dc),Je(0x1,_0x89954)],Ne);const Ze=[_0x2c15ac(0x2bd),_0x2c15ac(0x248),'green.600',_0x2c15ac(0x180),_0x2c15ac(0x167),_0x2c15ac(0x124)];class ke extends _0x4c53e2{constructor(){const _0x3d7442=_0x2c15ac;super(...arguments),_(this,_0x3d7442(0x1ed),new Map()),_(this,_0x3d7442(0x26a),0x0);}[_0x2c15ac(0x269)](_0x37d7ce){const _0x1fe730=_0x2c15ac;if(this['_assignedColors'][_0x1fe730(0x1b9)](_0x37d7ce))return this[_0x1fe730(0x1ed)][_0x1fe730(0x13f)](_0x37d7ce);const _0x33603e=Ze[this[_0x1fe730(0x26a)]];return this[_0x1fe730(0x26a)]=(this[_0x1fe730(0x26a)]+0x1)%Ze[_0x1fe730(0x215)],this[_0x1fe730(0x1ed)][_0x1fe730(0x143)](_0x37d7ce,_0x33603e),_0x33603e;}}function Tt(_0x2bc810){const _0x3a9248=_0x2c15ac;let _0x5807b4='';for(const _0x523ebd of _0x2bc810){const {startOffset:_0x4787af,endOffset:_0x53fb94,isActive:_0x4a2afd,rangeType:_0x5f5181,segmentId:_0x2d166c,segmentPage:_0x4e4d78}=_0x523ebd;_0x5807b4[_0x3a9248(0x215)]&&(_0x5807b4+=','),_0x5807b4+=_0x4787af+':'+_0x53fb94+':'+(_0x4a2afd?'1':'0')+':'+_0x5f5181+':'+_0x2d166c+':'+_0x4e4d78;}return _0x5807b4;}function _i(_0x1e465a){const _0x32907b=_0x2c15ac,_0x1659a1=_0x1e465a[_0x32907b(0x21d)](','),_0x13ca61=[];for(const _0x1a57c6 of _0x1659a1){const [_0x5384d9,_0x54d9c3,_0x3cc6f3,_0x41eccf,_0x462372,_0x958f4]=_0x1a57c6[_0x32907b(0x21d)](':');_0x13ca61['push']({'startOffset':Number(_0x5384d9),'endOffset':Number(_0x54d9c3),'collapsed':_0x5384d9===_0x54d9c3,'isActive':_0x3cc6f3==='1','rangeType':_0x41eccf===_0x381a92[_0x32907b(0x186)]?_0x381a92['TEXT']:_0x381a92[_0x32907b(0x200)],'segmentId':typeof _0x462372=='string'?String(_0x462372):'','segmentPage':Number(_0x958f4!=null?_0x958f4:-0x1)});}return _0x13ca61['some'](_0x4641fe=>_0x4641fe[_0x32907b(0x207)])||(_0x13ca61[0x0]['isActive']=!0x0),_0x13ca61;}class He extends _0x3ead01{constructor(){const _0x471a3e=_0x2c15ac;super(...arguments),_(this,_0x471a3e(0x25a),new _0xa09dbb(null)),_(this,'collabCursorState$',this[_0x471a3e(0x25a)][_0x471a3e(0x1c8)]());}[_0x2c15ac(0x1ff)](_0x3778f4){const _0x3bce85=_0x2c15ac,{unitID:_0x252b18,memberID:_0x3fa72f,textRanges:_0x5ca26d}=_0x3778f4,_0x356624=Tt(_0x5ca26d);if(_0x356624==='')return;const _0x3f264a={'unitID':_0x252b18,'memberID':_0x3fa72f,'selection':_0x356624};this[_0x3bce85(0x25a)][_0x3bce85(0xc7)](_0x3f264a);}}var hi=Object[_0x2c15ac(0x222)],ui=(_0x4c79a3,_0x399dc0,_0x2dbacb,_0x475eb0)=>{const _0x2b9d6d=_0x2c15ac;for(var _0x106b12=_0x475eb0>0x1?void 0x0:_0x475eb0?hi(_0x399dc0,_0x2dbacb):_0x399dc0,_0x5e87e7=_0x4c79a3[_0x2b9d6d(0x215)]-0x1,_0x4d3ae1;_0x5e87e7>=0x0;_0x5e87e7--)(_0x4d3ae1=_0x4c79a3[_0x5e87e7])&&(_0x106b12=_0x4d3ae1(_0x106b12)||_0x106b12);return _0x106b12;},P=(_0x37d1f5,_0x16a77e)=>(_0x514a74,_0x55d743)=>_0x16a77e(_0x514a74,_0x55d743,_0x37d1f5);const di=0x12c,fi=0x64;function _0x41a1(_0x1b3322,_0x4767b1){const _0x2aa120=_0x2aa1();return _0x41a1=function(_0x41a14b,_0x520f5d){_0x41a14b=_0x41a14b-0xb4;let _0x5a9355=_0x2aa120[_0x41a14b];return _0x5a9355;},_0x41a1(_0x1b3322,_0x4767b1);}let Ue=class extends _0x3ead01{constructor(_0x1fda32,_0x4186ac,_0x55d7e4,_0xeb472c,_0x31676c,_0x294b29,_0x40bdc6,_0x3953d5,_0x1ce94b){const _0x513714=_0x2c15ac;super(),_(this,_0x513714(0x252),!0x1),_(this,'_init',!0x1),_(this,_0x513714(0x102),new _0xa09dbb(new Map())),_(this,'cursorInfo$',this[_0x513714(0x102)]['asObservable']()),_(this,'_roomMembers$',new _0xa09dbb([])),_(this,'roomMembers$',this[_0x513714(0x10c)][_0x513714(0x134)](_0x5d329c(di))),_(this,_0x513714(0x1bb),_0x1a3845(_0x1cb708=>{const _0x41371c=_0x513714,_0x50d7ee={'eventID':_0x1b54c8[_0x41371c(0x1f3)],'data':{'unitID':this[_0x41371c(0x26e)],'memberID':this[_0x41371c(0x279)][_0x41371c(0x210)](),'selection':Tt(_0x1cb708)}};this[_0x41371c(0x279)][_0x41371c(0x28a)](_0x50d7ee,this[_0x41371c(0x26e)]);},fi)),(this[_0x513714(0x26e)]=_0x1fda32,this['_session']=_0x4186ac,this['_injector']=_0x55d7e4,this[_0x513714(0x24f)]=_0xeb472c,this[_0x513714(0x1da)]=_0x31676c,this[_0x513714(0x1be)]=_0x294b29,this[_0x513714(0x138)]=_0x40bdc6,this[_0x513714(0x15a)]=_0x3953d5,this['_commandService']=_0x1ce94b);}get[_0x2c15ac(0xcc)](){const _0x44c810=_0x2c15ac;return this[_0x44c810(0x102)][_0x44c810(0x18a)]();}get['roomMembers'](){const _0xd53195=_0x2c15ac;return this['_roomMembers$'][_0xd53195(0x18a)]();}[_0x2c15ac(0x22e)](){const _0x5b87ab=_0x2c15ac;super[_0x5b87ab(0x22e)](),this[_0x5b87ab(0x102)][_0x5b87ab(0xc7)](new Map()),this[_0x5b87ab(0x102)][_0x5b87ab(0x1cb)](),this[_0x5b87ab(0x10c)][_0x5b87ab(0xc7)]([]),this[_0x5b87ab(0x10c)]['complete']();}[_0x2c15ac(0x150)](){const _0x119566=_0x2c15ac;this[_0x119566(0x16c)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x119566(0x134)](_0x2e32fd(this[_0x119566(0x1e9)]))['subscribe'](_0x4a0691=>{const _0x35ea57=_0x119566;_0x4a0691===_0x4ad9cc['ONLINE']?this[_0x35ea57(0x1e0)]():this[_0x35ea57(0x257)]();}),this['_session'][_0x119566(0x227)][_0x119566(0x134)](_0x2e32fd(this['dispose$']))[_0x119566(0x2a7)](_0x5f3199=>{const _0x95c23b=_0x119566,_0x3cca7c=_0x5f3199[_0x95c23b(0x29b)];_0x3cca7c===_0x1b54c8['UPDATE_CURSOR']&&this[_0x95c23b(0x153)](_0x5f3199),_0x3cca7c===_0x1b54c8['USERS_LEAVE']&&this[_0x95c23b(0xed)](_0x5f3199);}),this[_0x119566(0x21a)](this[_0x119566(0x209)][_0x119566(0x2aa)](_0x596e25=>{const _0x2eaab5=_0x119566,_0x1aad63=_0x596e25[_0x2eaab5(0x233)];_0x1aad63!=null&&this[_0x2eaab5(0x252)]&&_0x596e25['id']===_0x47674d['id']&&_0x1aad63[_0x2eaab5(0x105)]===this[_0x2eaab5(0x26e)]&&_0x1aad63[_0x2eaab5(0x282)]===!0x1&&_0x1aad63[_0x2eaab5(0x27b)]['length']>0x0&&this['_updateLocalCursor'](_0x1aad63[_0x2eaab5(0x27b)]);})),this[_0x119566(0x1be)][_0x119566(0xce)][_0x119566(0x134)](_0x2e32fd(this[_0x119566(0x1e9)]))[_0x119566(0x2a7)](_0x2dccc2=>{const _0xd2290d=_0x119566;if((_0x2dccc2==null?void 0x0:_0x2dccc2[_0xd2290d(0x26e)])!==this[_0xd2290d(0x26e)])return;const _0x500869={'eventID':_0x1b54c8[_0xd2290d(0x1f3)],'data':_0x2dccc2};this[_0xd2290d(0x153)](_0x500869);}),this[_0x119566(0x21a)](this['_commandService'][_0x119566(0x2aa)](_0x238cfa=>{const _0x4a8de9=_0x119566;if(_0x238cfa[_0x4a8de9(0x233)]==null)return;const _0x15fa82=_0x238cfa[_0x4a8de9(0x233)];if(_0x238cfa['id']!==_0x3c4929['id']||_0x15fa82[_0x4a8de9(0x105)]!==this['unitID'])return;const _0x2052ae={'id':_0x4a8de9(0x25f),'params':_0x15fa82},_0x22332e=this[_0x4a8de9(0xcc)];for(const [_0xea8fe4,_0x5cc277]of _0x22332e){const _0x80da61={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5cc277[_0x4a8de9(0x27b)]}},_0x21b708=this[_0x4a8de9(0x138)]['transformMutation'](_0x2052ae,_0x80da61,!0x1);if(_0x50d149(_0x21b708))throw _0x21b708[_0x4a8de9(0x1af)];_0x22332e[_0x4a8de9(0x143)](_0xea8fe4,{..._0x5cc277,'ranges':_0x21b708[_0x4a8de9(0xec)][_0x4a8de9(0x233)][_0x4a8de9(0x103)]});}queueMicrotask(()=>{const _0x307ea1=_0x4a8de9;this[_0x307ea1(0x102)]['next'](_0x22332e);});})));}[_0x2c15ac(0x153)](_0x4a9350){const _0x4b26e4=_0x2c15ac;var _0x1e49b8,_0x2f1190;const {memberID:_0x4ec76a,selection:_0x4d1ed8}=_0x4a9350[_0x4b26e4(0x15f)],_0x2a2542=_i(_0x4d1ed8),_0x4b5df3=(_0x2f1190=(_0x1e49b8=this[_0x4b26e4(0x1da)]['getMember'](this[_0x4b26e4(0x26e)],_0x4ec76a))==null?void 0x0:_0x1e49b8[_0x4b26e4(0xd7)])!=null?_0x2f1190:_0x4b26e4(0x1c5),_0x571f49={'color':this[_0x4b26e4(0x24f)][_0x4b26e4(0x269)](_0x4ec76a),'name':_0x4b5df3,'ranges':_0x2a2542},_0x295bc5=this[_0x4b26e4(0xcc)];_0x295bc5[_0x4b26e4(0x143)](_0x4ec76a,_0x571f49),this[_0x4b26e4(0x102)][_0x4b26e4(0xc7)](_0x295bc5);}[_0x2c15ac(0xed)](_0x1fc0fd){const _0x37eff6=_0x2c15ac,{memberID:_0x18b4db}=_0x1fc0fd[_0x37eff6(0x15f)],_0x3b375d=this[_0x37eff6(0xcc)];_0x3b375d[_0x37eff6(0x25d)](_0x18b4db),this[_0x37eff6(0x102)][_0x37eff6(0xc7)](_0x3b375d);}[_0x2c15ac(0x1e0)](){const _0x8368bc=_0x2c15ac;var _0x384f8c;if(this[_0x8368bc(0x252)]=!0x0,((_0x384f8c=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x384f8c[_0x8368bc(0xcf)]())!==this['unitID'])return;const _0x4998ae=this[_0x8368bc(0xe1)][_0x8368bc(0x13f)](_0x436b2c)[_0x8368bc(0x2b5)]();Array[_0x8368bc(0xcb)](_0x4998ae)&&_0x4998ae['length']>0x0&&this[_0x8368bc(0x1bb)](_0x4998ae);}[_0x2c15ac(0x257)](){const _0x39f570=_0x2c15ac;this[_0x39f570(0x252)]=!0x1;}};Ue=ui([P(0x2,_0x4ac5cb(_0x21a3dc)),P(0x3,_0x4ac5cb(ke)),P(0x4,_0x4ac5cb(_0x2d16d9)),P(0x5,_0x4ac5cb(He)),P(0x6,_0x3ee570),P(0x7,_0x2950a1),P(0x8,_0x339cdd)],Ue);var Si=Object[_0x2c15ac(0x222)],mi=(_0x5669a7,_0x2421cb,_0x1155f5,_0x52c717)=>{const _0x58bd64=_0x2c15ac;for(var _0x5acab8=_0x52c717>0x1?void 0x0:_0x52c717?Si(_0x2421cb,_0x1155f5):_0x2421cb,_0x35a018=_0x5669a7[_0x58bd64(0x215)]-0x1,_0x518ec0;_0x35a018>=0x0;_0x35a018--)(_0x518ec0=_0x5669a7[_0x35a018])&&(_0x5acab8=_0x518ec0(_0x5acab8)||_0x5acab8);return _0x5acab8;},x=(_0x25ae69,_0x4b8a5a)=>(_0x1c3cf3,_0x2577f0)=>_0x4b8a5a(_0x1c3cf3,_0x2577f0,_0x25ae69);const Ii=0x12c,gi=0x64,vi=()=>{let _0x44db7d=[],_0x3cbd75=!0x1;return _0x5a4c9b=>{const _0x3474f5=_0x41a1;_0x44db7d[_0x3474f5(0x234)](_0x5a4c9b),_0x3cbd75||(_0x3cbd75=!0x0,setTimeout(()=>{const _0x2b0b68=_0x3474f5;_0x44db7d[_0x2b0b68(0x121)](_0x24d96a=>_0x24d96a()),_0x44db7d=[],_0x3cbd75=!0x1;}));};};let Me=class extends _0x3ead01{constructor(_0x466070,_0x628388,_0x2b90c8,_0x30571f,_0xe87178,_0x2342eb,_0x1d198e,_0x3c6ac2){const _0x5871f8=_0x2c15ac;super(),_(this,'_online',!0x1),_(this,_0x5871f8(0x16c),!0x1),_(this,_0x5871f8(0x102),new _0xa09dbb(new Map())),_(this,_0x5871f8(0x275),this[_0x5871f8(0x102)][_0x5871f8(0x1c8)]()),_(this,'_roomMembers$',new _0xa09dbb([])),_(this,_0x5871f8(0x1d3),this[_0x5871f8(0x10c)][_0x5871f8(0x134)](_0x5d329c(Ii))),_(this,'_updateLocalCursor',_0x1a3845((_0x11da43,_0x6f2d6)=>{const _0x190933=_0x5871f8,_0xd9bfda={'eventID':_0x1b54c8[_0x190933(0x1f3)],'data':{'unitID':this[_0x190933(0x26e)],'memberID':this[_0x190933(0x279)][_0x190933(0x210)](),'selection':_0x202247(_0x11da43,_0x6f2d6[_0x190933(0x253)])}};this[_0x190933(0x279)]['send'](_0xd9bfda,this[_0x190933(0x26e)]);},gi)),(this[_0x5871f8(0x26e)]=_0x466070,this['_session']=_0x628388,this[_0x5871f8(0xe1)]=_0x2b90c8,this[_0x5871f8(0x24f)]=_0x30571f,this[_0x5871f8(0x1da)]=_0xe87178,this[_0x5871f8(0x15a)]=_0x2342eb,this[_0x5871f8(0x209)]=_0x1d198e,this[_0x5871f8(0x1c9)]=_0x3c6ac2);}get[_0x2c15ac(0xcc)](){const _0x492994=_0x2c15ac;return this[_0x492994(0x102)]['getValue']();}get[_0x2c15ac(0xee)](){const _0x2df403=_0x2c15ac;return this['_roomMembers$'][_0x2df403(0x18a)]();}[_0x2c15ac(0x22e)](){const _0x45d9ee=_0x2c15ac;super[_0x45d9ee(0x22e)](),this[_0x45d9ee(0x102)][_0x45d9ee(0xc7)](new Map()),this[_0x45d9ee(0x102)][_0x45d9ee(0x1cb)](),this['_roomMembers$'][_0x45d9ee(0xc7)]([]),this[_0x45d9ee(0x10c)][_0x45d9ee(0x1cb)]();}['init'](){const _0x291d99=_0x2c15ac;this[_0x291d99(0x16c)]||(this[_0x291d99(0x16c)]=!0x0,this[_0x291d99(0x279)][_0x291d99(0x286)]['pipe'](_0x2e32fd(this[_0x291d99(0x1e9)]))[_0x291d99(0x2a7)](_0x5b1ca3=>{const _0x42e22d=_0x291d99;_0x5b1ca3===_0x4ad9cc[_0x42e22d(0x19e)]?this[_0x42e22d(0x1e0)]():this[_0x42e22d(0x257)]();}),this[_0x291d99(0x279)]['event$'][_0x291d99(0x134)](_0x2e32fd(this[_0x291d99(0x1e9)]))[_0x291d99(0x2a7)](_0x556923=>{const _0x46e232=_0x291d99,_0x405b3f=_0x556923[_0x46e232(0x29b)];_0x405b3f===_0x1b54c8['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x556923),_0x405b3f===_0x1b54c8[_0x46e232(0x17f)]&&this[_0x46e232(0xed)](_0x556923);}),this[_0x291d99(0xf6)](),this['disposeWithMe'](this[_0x291d99(0x209)][_0x291d99(0x2aa)](_0x241ae5=>{const _0x202a31=_0x291d99;if(this['_online']&&_0x241ae5['id']===_0xe53a2e['id']&&_0x241ae5[_0x202a31(0x233)]['unitId']===this[_0x202a31(0x26e)]){const _0x401fe3=_0x241ae5[_0x202a31(0x233)];this[_0x202a31(0x1bb)](_0x401fe3[_0x202a31(0x2b2)],_0x401fe3[_0x202a31(0x100)][0x0]);}})));}['_onCursorUpdate'](_0x328046){const _0x441d12=_0x2c15ac;var _0x2b9801,_0x30a555;const {memberID:_0x1f1cd5,selection:_0x11fc18}=_0x328046['data'],{sheetName:_0x3e9caf,range:_0x23b389}=_0x450fcc(_0x11fc18),_0x3fb15a={'name':(_0x30a555=(_0x2b9801=this[_0x441d12(0x1da)][_0x441d12(0x1bd)](this[_0x441d12(0x26e)],_0x1f1cd5))==null?void 0x0:_0x2b9801['name'])!=null?_0x30a555:_0x441d12(0x1c5),'range':this[_0x441d12(0x231)](_0x3e9caf,_0x23b389),'sheetID':_0x3e9caf,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1f1cd5),'selection':_0x11fc18},_0x52a5e0=this[_0x441d12(0xcc)];_0x52a5e0[_0x441d12(0x143)](_0x1f1cd5,_0x3fb15a),this[_0x441d12(0x102)]['next'](_0x52a5e0);}[_0x2c15ac(0xed)](_0x5ebc3c){const _0x3fc066=_0x2c15ac,{memberID:_0x123032}=_0x5ebc3c[_0x3fc066(0x15f)],_0x40d69b=this['cursorInfo'];_0x40d69b[_0x3fc066(0x25d)](_0x123032),this[_0x3fc066(0x102)][_0x3fc066(0xc7)](_0x40d69b);}['_getMergeRange'](_0x17c87d,_0x88fff1){const _0x55c611=_0x2c15ac;var _0x23e5d7,_0x4e6158;const _0x281d94=(_0x4e6158=(_0x23e5d7=this[_0x55c611(0x15a)]['getUniverSheetInstance'](this[_0x55c611(0x26e)]))==null?void 0x0:_0x23e5d7[_0x55c611(0x1d1)](_0x17c87d))==null?void 0x0:_0x4e6158[_0x55c611(0x27a)]();return(_0x281d94==null?void 0x0:_0x281d94[_0x55c611(0xdb)](_0x460479=>_0x53cb5c[_0x55c611(0x19b)](_0x460479,_0x88fff1)))||_0x88fff1;}[_0x2c15ac(0xf6)](){const _0x22c375=_0x2c15ac,_0x282476=new _0x1d1a12(),_0x59e2c8=vi(),_0x5580ab=()=>{const _0x305eca=_0x41a1;_0x282476[_0x305eca(0x22e)]();const _0x8cf755=(_0x6b8c23,_0x35a99c,_0x5250b4,_0x5ac286)=>{const _0x1ee356=_0x305eca;let _0x58ca10=[];switch(_0x6b8c23['id']){case _0x1d617d[_0x1ee356(0x298)]:{_0x58ca10=_0x258bf6(_0x6b8c23,_0x5ac286);break;}case _0x1d617d['DeleteRangeMoveUpCommandId']:{_0x58ca10=_0x164be1(_0x6b8c23,_0x5ac286);break;}case _0x1d617d[_0x1ee356(0x17b)]:{_0x58ca10=_0x1b8a13(_0x6b8c23,_0x5ac286);break;}case _0x1d617d[_0x1ee356(0x28f)]:{_0x58ca10=_0x55b1e9(_0x6b8c23,_0x5ac286);break;}case _0x1d617d[_0x1ee356(0x18c)]:{_0x58ca10=_0x152fed(_0x6b8c23,_0x5ac286);break;}case _0x1d617d[_0x1ee356(0x12e)]:{_0x58ca10=_0x2c60c4(_0x6b8c23,_0x5ac286);break;}case _0x1d617d[_0x1ee356(0x14d)]:{_0x58ca10=_0x254cc6(_0x6b8c23,_0x5ac286);break;}case _0x1d617d[_0x1ee356(0x111)]:{_0x58ca10=_0x1353e7(_0x6b8c23,_0x5ac286);break;}case _0x1d617d[_0x1ee356(0x160)]:{_0x58ca10=_0x38f940(_0x6b8c23,_0x5ac286);break;}}const _0x15bf80=_0x174e16(_0x58ca10,_0x5ac286),_0x127c1e=this['cursorInfo'][_0x1ee356(0x13f)](_0x35a99c);if(_0x127c1e&&_0x15bf80){const _0x2ffe6b={..._0x127c1e,'range':_0x15bf80};this[_0x1ee356(0xcc)][_0x1ee356(0x143)](_0x35a99c,_0x2ffe6b),_0x59e2c8(()=>{const _0x2218d9=_0x1ee356,_0x3b371a=this[_0x2218d9(0x1c9)][_0x2218d9(0x16f)](_0x15bf80,_0x4f2d84=>(_0x3b371a[_0x2218d9(0x22e)](),_0x8cf755(_0x4f2d84,_0x35a99c,_0x5250b4,_0x15bf80)));_0x282476[_0x2218d9(0xb6)](_0x3b371a);});}return{'redos':[],'undos':[]};};this[_0x305eca(0xcc)][_0x305eca(0x121)]((_0x1da54f,_0x5a0474)=>{const _0xf2c740=_0x305eca,{range:_0x2f29ed,sheetID:_0x19cf46}=_0x1da54f,_0x279d37=this['_refRangeService'][_0xf2c740(0x16f)](_0x2f29ed,_0x37a60d=>(_0x279d37[_0xf2c740(0x22e)](),_0x8cf755(_0x37a60d,_0x5a0474,_0x19cf46,_0x2f29ed)));_0x282476[_0xf2c740(0xb6)](_0x279d37);});};this[_0x22c375(0x21a)](_0xf5a323(this[_0x22c375(0x102)]['subscribe'](()=>{_0x5580ab();})));}['_toggleOnline'](){const _0x228daa=_0x2c15ac;var _0x20d987,_0x59cc01;if(this[_0x228daa(0x252)]=!0x0,((_0x20d987=this[_0x228daa(0x15a)][_0x228daa(0x281)]())==null?void 0x0:_0x20d987[_0x228daa(0xcf)]())!==this['unitID'])return;const _0x1a6ccd=(_0x59cc01=this[_0x228daa(0xe1)]['get'](_0x4dd586)[_0x228daa(0x295)]())==null?void 0x0:_0x59cc01[0x0],_0x340b7b=this[_0x228daa(0x15a)][_0x228daa(0x189)](_0x13ff01[_0x228daa(0x19c)])['getActiveSheet']();_0x1a6ccd&&_0x340b7b&&this[_0x228daa(0x1bb)](_0x340b7b[_0x228daa(0x219)](),_0x1a6ccd);}[_0x2c15ac(0x257)](){const _0x39d5c5=_0x2c15ac;this[_0x39d5c5(0x252)]=!0x1;}};Me=mi([x(0x2,_0x4ac5cb(_0x21a3dc)),x(0x3,_0x4ac5cb(ke)),x(0x4,_0x4ac5cb(_0x2d16d9)),x(0x5,_0x2950a1),x(0x6,_0x339cdd),x(0x7,_0x4ac5cb(_0xde5e71))],Me);var pi=Object[_0x2c15ac(0x222)],Ci=(_0x2d0cf8,_0x14c6aa,_0xb10a7d,_0x155720)=>{const _0x2007ab=_0x2c15ac;for(var _0x183f25=_0x155720>0x1?void 0x0:_0x155720?pi(_0x14c6aa,_0xb10a7d):_0x14c6aa,_0x5dee0d=_0x2d0cf8[_0x2007ab(0x215)]-0x1,_0x21ff39;_0x5dee0d>=0x0;_0x5dee0d--)(_0x21ff39=_0x2d0cf8[_0x5dee0d])&&(_0x183f25=_0x21ff39(_0x183f25)||_0x183f25);return _0x183f25;},Se=(_0x5d2d15,_0x2ca939)=>(_0x5c189f,_0x120e5f)=>_0x2ca939(_0x5c189f,_0x120e5f,_0x5d2d15);let H=class extends _0x3ead01{constructor(_0x29ea47,_0x21587a,_0x971daf){const _0x1d89d8=_0x2c15ac;super(),_(this,_0x1d89d8(0x285),new Map()),_(this,'_entityInit$',new _0x583715()),(this['_univerInstanceService']=_0x29ea47,this[_0x1d89d8(0xe1)]=_0x21587a,this[_0x1d89d8(0x1a0)]=_0x971daf,this[_0x1d89d8(0x16c)]());}['dispose'](){const _0x135bdb=_0x2c15ac;super[_0x135bdb(0x22e)](),this[_0x135bdb(0x2ad)][_0x135bdb(0x1cb)](),this[_0x135bdb(0x285)][_0x135bdb(0x121)](_0x1ef2d6=>_0x1ef2d6['dispose']());}[_0x2c15ac(0x2b4)](_0x304a37){const _0x44417a=_0x2c15ac;return this['_entities'][_0x44417a(0x1b9)](_0x304a37)?this['_entities'][_0x44417a(0x13f)](_0x304a37)[_0x44417a(0x275)]:this[_0x44417a(0x2ad)]['pipe'](_0x8dcb7d(_0x4b2ab6=>_0x4b2ab6[_0x44417a(0x26e)]===_0x304a37),_0xf26a44(_0x10f58f=>_0x10f58f[_0x44417a(0x275)]));}[_0x2c15ac(0x16c)](){const _0x48daec=_0x2c15ac;this[_0x48daec(0x15a)][_0x48daec(0x14b)](_0x13ff01['UNIVER_SHEET'])['pipe'](_0x2e32fd(this['dispose$']))[_0x48daec(0x2a7)](async _0x1eee46=>{const _0x2da0bc=_0x48daec,_0x190ae5=_0x1eee46['getUnitId'](),_0x189e31=await this['_startSheetCollabCursor'](_0x190ae5);this[_0x2da0bc(0x2ad)][_0x2da0bc(0xc7)](_0x189e31),this['_entities']['set'](_0x190ae5,_0x189e31);}),this[_0x48daec(0x15a)][_0x48daec(0x14b)](_0x13ff01[_0x48daec(0x135)])[_0x48daec(0x134)](_0x2e32fd(this[_0x48daec(0x1e9)]))[_0x48daec(0x134)](_0x8dcb7d(_0x3a1049=>!_0x3a1049['getUnitId']()[_0x48daec(0x17d)]('__')))[_0x48daec(0x2a7)](async _0x565048=>{const _0x42c06a=_0x48daec,_0x163031=_0x565048[_0x42c06a(0xcf)](),_0x128dbd=await this[_0x42c06a(0x260)](_0x163031);this[_0x42c06a(0x2ad)][_0x42c06a(0xc7)](_0x128dbd),this[_0x42c06a(0x285)][_0x42c06a(0x143)](_0x163031,_0x128dbd);}),_0x2d6b4c(this[_0x48daec(0x15a)]['getTypeOfUnitDisposed$'](_0x13ff01[_0x48daec(0x135)]),this[_0x48daec(0x15a)][_0x48daec(0x245)](_0x13ff01[_0x48daec(0x19c)]))['pipe'](_0x2e32fd(this[_0x48daec(0x1e9)]))[_0x48daec(0x2a7)](_0x491004=>{const _0x149a8f=_0x48daec,_0x52e31c=_0x491004[_0x149a8f(0xcf)](),_0x3524e4=this[_0x149a8f(0x285)][_0x149a8f(0x13f)](_0x52e31c);_0x3524e4&&(_0x3524e4[_0x149a8f(0x22e)](),this[_0x149a8f(0x285)][_0x149a8f(0x25d)](_0x52e31c));});}async['_startSheetCollabCursor'](_0x56fdb7){const _0x3923b6=_0x2c15ac,_0x180ce4=await this[_0x3923b6(0x1a0)][_0x3923b6(0xe0)](_0x56fdb7),_0x3f22d0=this['_injector'][_0x3923b6(0xc0)](Me,_0x56fdb7,_0x180ce4);return _0x3f22d0[_0x3923b6(0x150)](),_0x3f22d0;}async[_0x2c15ac(0x260)](_0x4d012b){const _0x5895d8=_0x2c15ac,_0x6896c3=await this[_0x5895d8(0x1a0)][_0x5895d8(0xe0)](_0x4d012b),_0x2bf8dc=this[_0x5895d8(0xe1)][_0x5895d8(0xc0)](Ue,_0x4d012b,_0x6896c3);return _0x2bf8dc['init'](),_0x2bf8dc;}};H=Ci([Se(0x0,_0x2950a1),Se(0x1,_0x4ac5cb(_0x21a3dc)),Se(0x2,_0x4ac5cb(_0x26d8c2))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0xe86169,_0x2626a4){const _0x7332f3=_0x2c15ac;let {radius:_0xe4c192,width:_0x2329a0,height:_0x19a4fa}=_0x2626a4;_0xe4c192=_0xe4c192!=null?_0xe4c192:0x0,_0x2329a0=_0x2329a0!=null?_0x2329a0:0x1e,_0x19a4fa=_0x19a4fa!=null?_0x19a4fa:0x1e;let _0x303f15=0x0,_0x43f00d=0x0,_0x587761=0x0;_0x303f15=_0x43f00d=_0x587761=Math[_0x7332f3(0x116)](_0xe4c192,_0x2329a0/0x2,_0x19a4fa/0x2),_0xe86169[_0x7332f3(0x1f6)](),_0xe86169[_0x7332f3(0x20b)](_0x303f15,0x0),_0xe86169[_0x7332f3(0x229)](_0x2329a0-_0x43f00d,0x0),_0xe86169[_0x7332f3(0x174)](_0x2329a0-_0x43f00d,_0x43f00d,_0x43f00d,Math['PI']*0x3/0x2,0x0,!0x1),_0xe86169[_0x7332f3(0x229)](_0x2329a0,_0x19a4fa-_0x587761),_0xe86169[_0x7332f3(0x174)](_0x2329a0-_0x587761,_0x19a4fa-_0x587761,_0x587761,0x0,Math['PI']/0x2,!0x1),_0xe86169[_0x7332f3(0x229)](0x0,_0x19a4fa),_0xe86169[_0x7332f3(0x229)](0x0,_0x303f15),_0xe86169[_0x7332f3(0x174)](_0x303f15,_0x303f15,_0x303f15,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xe86169[_0x7332f3(0x1ce)](),_0x2626a4[_0x7332f3(0x181)]&&(_0xe86169['save'](),_0xe86169['fillStyle']=_0x2626a4[_0x7332f3(0x181)],_0x2626a4[_0x7332f3(0xe6)]===_0x7332f3(0x22a)?_0xe86169[_0x7332f3(0x181)](_0x7332f3(0x22a)):_0xe86169[_0x7332f3(0x181)](),_0xe86169[_0x7332f3(0x276)]());}class he extends _0x548c4b{constructor(_0x43ef09,_0x4339cb){const _0x27e3f5=_0x2c15ac;super(_0x43ef09,_0x4339cb),_(this,'color'),_(this,_0x27e3f5(0x14e)),(this[_0x27e3f5(0x22f)]=_0x4339cb==null?void 0x0:_0x4339cb['color'],this[_0x27e3f5(0x14e)]=_0x4339cb==null?void 0x0:_0x4339cb[_0x27e3f5(0x14e)]);}static['drawWith'](_0x26861d,_0x302122){const _0x1a001a=_0x2c15ac,{text:_0x49587c,color:_0x23b132}=_0x302122;_0x26861d[_0x1a001a(0x29c)](),_0x26861d['font']=_0x1a001a(0x268);const _0x3b4259=_0x26861d[_0x1a001a(0x218)](_0x49587c)[_0x1a001a(0xdf)],_0x1a0478=Math[_0x1a001a(0x116)](_0x3b4259+0x2*me,Qe);Oi(_0x26861d,{'height':ee,'radius':0x4,'width':_0x1a0478,'fill':_0x23b132}),_0x26861d['fillStyle']='#FFF';const _0x310bc6=me,_0x575e7f=ee-Ei,_0x103929=Qe-0x2*me;if(_0x3b4259>_0x103929){let _0x5aee48='',_0x1db662=0x0;for(const _0x415ea7 of _0x49587c){const _0x554692=_0x26861d[_0x1a001a(0x218)](_0x415ea7)['width'];if(_0x1db662+_0x554692<=_0x103929-_0x26861d[_0x1a001a(0x218)]('...')['width'])_0x5aee48+=_0x415ea7,_0x1db662+=_0x554692;else{_0x5aee48+='...';break;}}_0x26861d[_0x1a001a(0x166)](_0x5aee48,_0x310bc6,_0x575e7f);}else _0x26861d['fillText'](_0x49587c,_0x310bc6,_0x575e7f);_0x26861d[_0x1a001a(0x276)]();}[_0x2c15ac(0x1ab)](_0x229014){const _0x54d76b=_0x2c15ac;he[_0x54d76b(0x217)](_0x229014,this);}}const Ie=_0x2c15ac(0xfa),bi=_0x2c15ac(0x2a5),Ti=_0x2c15ac(0xca),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x2c15ac(0x230);class qe{constructor(_0x1c3a9d,_0x2a639e,_0x2256d3,_0x272689){const _0x283bb0=_0x2c15ac;_(this,_0x283bb0(0x1eb),[]),_(this,_0x283bb0(0x154),null),_(this,_0x283bb0(0x280),null),_(this,_0x283bb0(0x294),null),_(this,_0x283bb0(0x1d4),null),_(this,_0x283bb0(0x104),null),(this['_cursor']=_0x1c3a9d,this[_0x283bb0(0x2a3)]=_0x2a639e,this['_docSkeleton']=_0x2256d3,this[_0x283bb0(0x1b6)]=_0x272689,this[_0x283bb0(0x13a)]());}set[_0x2c15ac(0x24c)](_0x2f43ff){const _0x4fbedc=_0x2c15ac;_0x2f43ff?(this[_0x4fbedc(0x294)]&&this['_anchorDot'][_0x4fbedc(0x1f9)](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x4fbedc(0x294)]&&this[_0x4fbedc(0x294)]['show'](),this[_0x4fbedc(0x280)]&&this[_0x4fbedc(0x280)][_0x4fbedc(0x1f9)]());}['dispose'](){const _0x530eec=_0x2c15ac;for(const _0x17e1e6 of this['_shapes'])_0x17e1e6[_0x530eec(0x22e)]();this[_0x530eec(0x280)]&&this['_textBubble'][_0x530eec(0x22e)](),this[_0x530eec(0x294)]&&this[_0x530eec(0x294)][_0x530eec(0x22e)](),this[_0x530eec(0x154)]&&this[_0x530eec(0x154)][_0x530eec(0x22e)](),this[_0x530eec(0x104)]&&this[_0x530eec(0x104)]();}['_render'](){const _0x4649c5=_0x2c15ac;var _0x1f6a6e;const {_docSkeleton:_0x1e8afd,_document:_0x4dcb3e}=this,{color:_0x58b71e,name:_0x1f08b1,ranges:_0x5b7804}=this[_0x4649c5(0x1e8)],_0x2cfe0b=_0x4dcb3e[_0x4649c5(0x145)](),{docsLeft:_0x44b92c,docsTop:_0xf7a0d6}=_0x2cfe0b,_0x20c624=new _0x3bff03(_0x2cfe0b,_0x1e8afd);for(const {startOffset:_0xa2d4d7,endOffset:_0x2d7612,rangeType:_0x4959db,segmentId:_0x37ceec,segmentPage:_0x5d5139,collapsed:_0x316802,isActive:_0x51a84f}of _0x5b7804){const _0x207564=_0x1e8afd[_0x4649c5(0x291)](_0xa2d4d7,!0x0,_0x37ceec,_0x5d5139);let _0x399b05=_0x1e8afd[_0x4649c5(0x291)](_0x2d7612,!0x0,_0x37ceec,_0x5d5139);if(_0x399b05==null&&(_0x399b05=_0x1e8afd['findNodePositionByCharIndex'](_0x2d7612-0x1,!0x1,_0x37ceec,_0x5d5139)),_0x51a84f){const {contentBoxPointGroup:_0x49a6e3}=_0x20c624[_0x4649c5(0x1a8)](_0x399b05,_0x399b05);if(_0x49a6e3[_0x4649c5(0x215)]===0x0)continue;this[_0x4649c5(0x18e)](_0x58b71e,_0x49a6e3,_0x44b92c,_0xf7a0d6,_0x1f08b1),this[_0x4649c5(0x104)]=this[_0x4649c5(0x16d)]();}if(_0x207564&&_0x399b05){if(_0x4959db===_0x381a92[_0x4649c5(0x200)]){const _0xa5966f=new _0x4b0d7d(_0x2cfe0b,_0x1e8afd),{pointGroup:_0x5c11c2}=(_0x1f6a6e=_0xa5966f['getRangePointData'](_0x207564,_0x399b05))!=null?_0x1f6a6e:{};if(_0x5c11c2==null||_0x5c11c2[_0x4649c5(0x215)]===0x0)continue;this[_0x4649c5(0x2ba)](_0x58b71e,_0x5c11c2,_0x44b92c,_0xf7a0d6);}else{if(!_0x316802){const {borderBoxPointGroup:_0x5bc72b}=_0x20c624['getRangePointData'](_0x207564,_0x399b05);if(_0x5bc72b[_0x4649c5(0x215)]===0x0)continue;this[_0x4649c5(0xd1)](_0x58b71e,_0x5bc72b,_0x44b92c,_0xf7a0d6);}}}}}[_0x2c15ac(0x18e)](_0x48bf0b,_0x198c32,_0x393063,_0x593141,_0x5d4720){const _0x4034c3=_0x2c15ac,_0x505add=this['_getAnchorBounding'](_0x198c32),{left:_0x39b2b6,top:_0x3fa72c,height:_0x2abb78}=_0x505add,_0x31b914=this[_0x4034c3(0x156)](),_0x41db07=Di/_0x31b914,_0x5b7e7d=new _0x4100fd(Ie+_0xa1e94[_0x4034c3(0x26f)](X),{'left':_0x39b2b6+_0x393063-_0x41db07,'top':_0x3fa72c+_0x593141,'height':_0x2abb78,'width':Ri,'fill':_0x48bf0b||_0x3b6cf9(_0x21c607[_0x4034c3(0x1bf)],0x0),'strokeWidth':_0x41db07,'stroke':Ni,'evented':!0x0});this[_0x4034c3(0x154)]=_0x5b7e7d,this[_0x4034c3(0x2a3)][_0x4034c3(0xbd)](_0x5b7e7d,_0x3f97c2);const _0x1dbe71=new _0x4100fd(Ie+_0xa1e94[_0x4034c3(0x26f)](X),{'left':_0x39b2b6+_0x393063-_0x41db07,'top':_0x3fa72c+_0x593141-ge/0x2,'height':ge,'width':ge,'fill':_0x48bf0b||_0x3b6cf9(_0x21c607[_0x4034c3(0x1bf)],0x0),'strokeWidth':0x0,'stroke':_0x48bf0b||_0x3b6cf9(_0x21c607[_0x4034c3(0x1bf)],0x0),'evented':!0x1});this[_0x4034c3(0x294)]=_0x1dbe71,this[_0x4034c3(0x2a3)][_0x4034c3(0xbd)](_0x1dbe71,_0x3f97c2);const _0x2349f7=new he(Ie+_0xa1e94[_0x4034c3(0x26f)](X),{'left':_0x39b2b6+_0x393063-_0x41db07,'top':_0x3fa72c+_0x593141-ee,'text':_0x5d4720,'color':_0x48bf0b});this[_0x4034c3(0x280)]=_0x2349f7,this[_0x4034c3(0x2a3)][_0x4034c3(0xbd)](_0x2349f7,_0x3f97c2),this[_0x4034c3(0x24c)]=!0x1;}[_0x2c15ac(0x16d)](){const _0x23cadc=_0x2c15ac,_0x56b875=this[_0x23cadc(0x154)]['onPointerEnter$'][_0x23cadc(0x122)](()=>{const _0x8e75e4=_0x23cadc;this[_0x8e75e4(0x24c)]=!0x0;}),_0x50b002=this[_0x23cadc(0x154)][_0x23cadc(0x2a6)][_0x23cadc(0x122)](()=>{const _0xdaca56=_0x23cadc;this[_0xdaca56(0x1d4)]&&clearTimeout(this[_0xdaca56(0x1d4)]),this[_0xdaca56(0x1d4)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3a0733=_0x23cadc;_0x56b875[_0x3a0733(0x1b1)](),_0x50b002['unsubscribe']();};}[_0x2c15ac(0xd1)](_0x3c2170,_0x423637,_0x1a584c,_0x463911){const _0x279d8b=_0x2c15ac,_0x13505c=new _0xa4f0fe(_0x3c2170)['setAlpha'](0.2)[_0x279d8b(0x139)](),_0x3e9ee6=new _0x5133c2(bi+_0xa1e94[_0x279d8b(0x26f)](X),{'pointsGroup':_0x423637,'fill':_0x13505c||_0x3b6cf9(_0x21c607[_0x279d8b(0x1bf)],0.2),'left':_0x1a584c,'top':_0x463911,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x279d8b(0x1eb)][_0x279d8b(0x234)](_0x3e9ee6),this[_0x279d8b(0x2a3)][_0x279d8b(0xbd)](_0x3e9ee6,_0x3f97c2);}[_0x2c15ac(0x2ba)](_0x3fa8d2,_0x3ff8cf,_0x4c0d7f,_0xcb5080){const _0x4cb2e5=_0x2c15ac,_0x5ab22a=new _0xa4f0fe(_0x3fa8d2)[_0x4cb2e5(0x2bb)](0.2)['toRgbString'](),_0x4a39a4=new _0x5133c2(Ti+_0xa1e94['generateRandomId'](X),{'pointsGroup':_0x3ff8cf,'fill':_0x5ab22a||_0x3b6cf9(_0x21c607[_0x4cb2e5(0x1bf)],0.2),'left':_0x4c0d7f,'top':_0xcb5080,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4cb2e5(0x1eb)]['push'](_0x4a39a4),this[_0x4cb2e5(0x2a3)][_0x4cb2e5(0xbd)](_0x4a39a4,_0x3f97c2);}[_0x2c15ac(0x2b8)](_0x44f28b){const _0x150d95=_0x44f28b[0x0],_0x398141=_0x150d95[0x0],_0x11f6b5=_0x150d95[0x2],{x:_0x32ba83,y:_0x4ceb3a}=_0x398141,{x:_0x257d63,y:_0x11b808}=_0x11f6b5;return{'left':_0x32ba83,'top':_0x4ceb3a,'width':_0x257d63-_0x32ba83,'height':_0x11b808-_0x4ceb3a};}['_getScale'](){const _0x14438e=_0x2c15ac,{scaleX:_0x1665e8,scaleY:_0x7d8aa2}=this[_0x14438e(0x2a3)][_0x14438e(0x18b)]();return Math[_0x14438e(0x11f)](_0x1665e8,_0x7d8aa2);}}var Ui=Object[_0x2c15ac(0x222)],Mi=(_0x4021db,_0x31e94e,_0x2d080d,_0x3244d6)=>{const _0x58f3ca=_0x2c15ac;for(var _0xcab4ce=_0x3244d6>0x1?void 0x0:_0x3244d6?Ui(_0x31e94e,_0x2d080d):_0x31e94e,_0x15a0cf=_0x4021db[_0x58f3ca(0x215)]-0x1,_0x13f65d;_0x15a0cf>=0x0;_0x15a0cf--)(_0x13f65d=_0x4021db[_0x15a0cf])&&(_0xcab4ce=_0x13f65d(_0xcab4ce)||_0xcab4ce);return _0xcab4ce;},Z=(_0x145e62,_0x4b8541)=>(_0x5da1fa,_0x13f721)=>_0x4b8541(_0x5da1fa,_0x13f721,_0x145e62);let we=class extends _0x3ead01{constructor(_0x213a9b,_0x38b335,_0x936610,_0x5319f5,_0x2f4d31){const _0x2c2afe=_0x2c15ac;super(),_(this,_0x2c2afe(0xe9),[]),_(this,_0x2c2afe(0x178),[]),(this[_0x2c2afe(0x1f5)]=_0x213a9b,this[_0x2c2afe(0x129)]=_0x38b335,this[_0x2c2afe(0x2bc)]=_0x936610,this[_0x2c2afe(0x209)]=_0x5319f5,this[_0x2c2afe(0xb4)]=_0x2f4d31,this[_0x2c2afe(0x16c)]());}[_0x2c15ac(0x16c)](){const _0x2aff5d=_0x2c15ac,_0x2ba7ae=this[_0x2aff5d(0x1f5)][_0x2aff5d(0x105)],_0xdca431=this['_docSkeletonManagerService'];this[_0x2aff5d(0x21a)](_0x475cfb([this[_0x2aff5d(0x2bc)][_0x2aff5d(0x2b4)](_0x2ba7ae),this[_0x2aff5d(0xb4)][_0x2aff5d(0x256)]])[_0x2aff5d(0x134)](_0x2fe3e7(([_0x19c5dd,_0x1b6f68])=>({'skeleton':_0xdca431[_0x2aff5d(0x18d)](),'cursors':[..._0x19c5dd[_0x2aff5d(0xc8)]()]['flatMap'](_0x22e16b=>({..._0x22e16b,'color':this[_0x2aff5d(0xb4)][_0x2aff5d(0x20d)](_0x22e16b[_0x2aff5d(0x22f)])}))})))[_0x2aff5d(0x2a7)](_0xe84dda=>{const _0x4b9509=_0x2aff5d;if(this[_0x4b9509(0x15b)](),_0xe84dda){const {skeleton:_0x265943,cursors:_0x142afd}=_0xe84dda;this['_updateCollabCursors'](_0x265943,_0x142afd);}})),this[_0x2aff5d(0x2be)](),this[_0x2aff5d(0x13c)]();}['_updateCollabCursors'](_0x67d79f,_0x1ec72a){const _0x4480a3=_0x2c15ac,{scene:_0x6aa55b,mainComponent:_0x338e09}=this[_0x4480a3(0x1f5)],_0x3643e3=_0x1ec72a[_0x4480a3(0xf4)](_0x4329dc=>new qe(_0x4329dc,_0x6aa55b,_0x67d79f,_0x338e09));this[_0x4480a3(0xe9)]=_0x3643e3,this[_0x4480a3(0x178)]=_0x1ec72a;}['_refreshCollabCursors'](){const _0x5ce53f=_0x2c15ac;this[_0x5ce53f(0x15b)]();const {scene:_0x511886,mainComponent:_0x4ec775}=this[_0x5ce53f(0x1f5)],_0x717b88=this[_0x5ce53f(0x129)][_0x5ce53f(0x18d)](),_0x3c7e2c=this[_0x5ce53f(0x178)][_0x5ce53f(0xf4)](_0x2c57db=>new qe(_0x2c57db,_0x511886,_0x717b88,_0x4ec775));this[_0x5ce53f(0xe9)]=_0x3c7e2c;}[_0x2c15ac(0x15b)](){const _0x123eac=_0x2c15ac;this[_0x123eac(0xe9)][_0x123eac(0x121)](_0xfb2c20=>_0xfb2c20['dispose']()),this[_0x123eac(0xe9)]=[];}['_initCommandExecutedListener'](){const _0x5ee99d=_0x2c15ac,_0x5b2783=[_0x3a46b6['id']];this['disposeWithMe'](this[_0x5ee99d(0x209)][_0x5ee99d(0x2aa)](_0x4c15cc=>{const _0x2316c4=_0x5ee99d;_0x5b2783[_0x2316c4(0x1a2)](_0x4c15cc['id'])&&_0x4c15cc[_0x2316c4(0x233)][_0x2316c4(0x105)]===this[_0x2316c4(0x1f5)][_0x2316c4(0x105)]&&this['_refreshCollabCursors']();}));}[_0x2c15ac(0x2be)](){const _0x29a281=_0x2c15ac;this[_0x29a281(0x21a)](_0x55d348(this[_0x29a281(0x1f5)][_0x29a281(0x1d2)]['onTransformChange$'])[_0x29a281(0x134)](_0x504d85(_0x147c4d=>_0x147c4d[_0x29a281(0xeb)]===_0x208c0a[_0x29a281(0xe4)]),_0x50e948(0x10))[_0x29a281(0x2a7)](()=>{const _0x2ea406=_0x29a281;this[_0x2ea406(0x2b3)]();}));}};we=Mi([Z(0x1,_0x4ac5cb(_0x53890c)),Z(0x2,_0x4ac5cb(H)),Z(0x3,_0x339cdd),Z(0x4,_0x4ac5cb(_0x380233))],we);const wi=0x1,Pi=1.5;class Li extends _0x548c4b{constructor(_0xc2e697,_0x4210fa){const _0x50428e=_0x2c15ac;super(_0xc2e697,_0x4210fa),_(this,_0x50428e(0x1ee)),_(this,_0x50428e(0xe7),!0x1),_(this,'_range'),_(this,_0x50428e(0x261),''),_(this,_0x50428e(0x1d6),_0x50428e(0x1d8)),_(this,_0x50428e(0x1ea)),(_0x4210fa&&this['setShapeProps'](_0x4210fa),this[_0x50428e(0x10d)][_0x50428e(0x122)](()=>this[_0x50428e(0xc9)]({'hovered':!0x0})),this[_0x50428e(0x2a6)][_0x50428e(0x122)](()=>this[_0x50428e(0xc9)]({'hovered':!0x1})));}[_0x2c15ac(0xc9)](_0xbb9652){const _0x12accb=_0x2c15ac;var _0x5ad5d5,_0x567ad5,_0x37e9e3,_0x471912,_0x597131,_0x15acbd;this[_0x12accb(0x1ee)]=(_0x5ad5d5=_0xbb9652[_0x12accb(0x22f)])!=null?_0x5ad5d5:this[_0x12accb(0x1ee)],this[_0x12accb(0xe7)]=(_0x567ad5=_0xbb9652[_0x12accb(0x11a)])!=null?_0x567ad5:this[_0x12accb(0xe7)],this['_range']=(_0x37e9e3=_0xbb9652['range'])!=null?_0x37e9e3:this['_range'],this['_name']=(_0x471912=_0xbb9652['name'])!=null?_0x471912:this['_name'],this['_labelPosition']=(_0x597131=_0xbb9652[_0x12accb(0x2b9)])!=null?_0x597131:this[_0x12accb(0x1d6)],this[_0x12accb(0x1ea)]=(_0x15acbd=_0xbb9652[_0x12accb(0x277)])!=null?_0x15acbd:this[_0x12accb(0x1ea)],this[_0x12accb(0x236)]({'width':_0xbb9652[_0x12accb(0xdf)],'height':_0xbb9652[_0x12accb(0x106)]});}[_0x2c15ac(0x225)](_0x54e506){const _0x1c3562=_0x2c15ac,{row:_0x50607b,column:_0x349bbc}=_0x54e506;if(_0x50607b>=this['_range']['startRow']&&_0x50607b<=this[_0x1c3562(0x214)][_0x1c3562(0x2b7)]&&_0x349bbc>=this[_0x1c3562(0x214)][_0x1c3562(0xf9)]&&_0x349bbc<=this[_0x1c3562(0x214)]['endColumn']){this[_0x1c3562(0xc9)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x2c15ac(0x137)](_0x549cef){return!0x1;}['_draw'](_0x491c2a){const _0x1d0ef5=_0x2c15ac;_0x4100fd[_0x1d0ef5(0x217)](_0x491c2a,{'width':this[_0x1d0ef5(0xdf)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x1d0ef5(0x1ee)],'evented':!0x1,'fill':this[_0x1d0ef5(0x1ea)]}),this[_0x1d0ef5(0xe7)]&&(_0x491c2a[_0x1d0ef5(0x29c)](),_0x491c2a[_0x1d0ef5(0x1b5)](0x1,0x0,0x0,0x1,this[_0x1d0ef5(0xdf)],this[_0x1d0ef5(0x1d6)]===_0x1d0ef5(0x11d)?0x0:-0x14),he['drawWith'](_0x491c2a,{'text':this[_0x1d0ef5(0x261)],'color':this[_0x1d0ef5(0x1ee)]}),_0x491c2a[_0x1d0ef5(0x276)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x3b553a,_0x1e1d72,_0x159986,_0x881b56)=>{const _0xd1b3c7=_0x2c15ac;for(var _0x3536e9=_0x881b56>0x1?void 0x0:_0x881b56?Ai(_0x1e1d72,_0x159986):_0x1e1d72,_0x5f5320=_0x3b553a[_0xd1b3c7(0x215)]-0x1,_0x462d15;_0x5f5320>=0x0;_0x5f5320--)(_0x462d15=_0x3b553a[_0x5f5320])&&(_0x3536e9=_0x462d15(_0x3536e9)||_0x3536e9);return _0x3536e9;},ve=(_0x2fd205,_0x2da107)=>(_0x43a92c,_0x2aca5b)=>_0x2da107(_0x43a92c,_0x2aca5b,_0x2fd205);const $i=0x1389;let Pe=class extends _0x3ead01{constructor(_0x1336ad,_0x5928b4,_0x1fe785,_0x31aa4b){const _0x1a45e2=_0x2c15ac;super(),_(this,'_cursors',new Set()),_(this,_0x1a45e2(0x20f),null),(this[_0x1a45e2(0x1f5)]=_0x1336ad,this[_0x1a45e2(0x125)]=_0x5928b4,this[_0x1a45e2(0x2bc)]=_0x1fe785,this[_0x1a45e2(0xb4)]=_0x31aa4b,this['_init']());}['_init'](){const _0x4892a8=_0x2c15ac;this[_0x4892a8(0x125)][_0x4892a8(0x17c)][_0x4892a8(0x134)](_0x5b56fa(this['dispose$']),_0x5be835(_0x397bd5=>{const _0x521b59=_0x4892a8;if(_0x397bd5){const _0x46819c=_0x397bd5[_0x521b59(0x199)];return _0x475cfb(this['_collabCursorController'][_0x521b59(0x2b4)](this['_context']['unitId']),this[_0x521b59(0xb4)][_0x521b59(0x256)])[_0x521b59(0x134)](_0x2fe3e7(([_0x3d3d48,_0x13ddd2])=>{const _0xfba120=new Map();return _0x3d3d48['forEach']((_0x5b09c9,_0x3e3f7d)=>{const _0x1d08ff=_0x41a1;if(_0x5b09c9[_0x1d08ff(0x239)]===_0x46819c){const _0x3c7a4b={..._0x5b09c9};_0x3c7a4b[_0x1d08ff(0x22f)]=this[_0x1d08ff(0xb4)]['getColorFromTheme'](_0x5b09c9[_0x1d08ff(0x22f)]),_0xfba120[_0x1d08ff(0x143)](_0x3e3f7d,_0x3c7a4b);}}),{'skeleton':_0x397bd5,'cursors':_0xfba120};}));}return _0xdbbc18({'skeleton':null,'cursors':new Map()});}))[_0x4892a8(0x2a7)](({skeleton:_0x48a9e8,cursors:_0x10ef91})=>{const _0x1d102a=_0x4892a8;this[_0x1d102a(0x15b)](),_0x48a9e8&&this[_0x1d102a(0x127)](_0x48a9e8,_0x10ef91);}),this[_0x4892a8(0x125)][_0x4892a8(0x17c)][_0x4892a8(0x2a7)](_0x433213=>{if(_0x433213==null)return;const {skeleton:_0xcf084b}=_0x433213,{scene:_0xb49ab4}=this['_context'];_0xb49ab4['onPointerMove$']['subscribeEvent'](_0x1a3845(_0x1fb371=>{const _0x31701c=_0x41a1;var _0x55937d,_0x52885c;const {offsetX:_0x1bbc25,offsetY:_0x4edf52}=_0x1fb371,{x:_0xdedd02,y:_0x70bb3d}=_0xb49ab4[_0x31701c(0x2a4)](_0x137d2e[_0x31701c(0xb5)]([_0x1bbc25,_0x4edf52])),{scaleX:_0x36e332,scaleY:_0x2b5186}=_0xb49ab4[_0x31701c(0x18b)](),_0x5ae137=_0xb49ab4[_0x31701c(0x29a)](_0x4f263e[_0x31701c(0xe2)]),_0x3c22f4=_0xb49ab4[_0x31701c(0x118)](_0x137d2e[_0x31701c(0xb5)]([_0xdedd02,_0x70bb3d]),_0x5ae137),_0x54ae87=_0xcf084b[_0x31701c(0x273)](_0x1bbc25,_0x4edf52,_0x36e332,_0x2b5186,_0x3c22f4);((_0x55937d=this[_0x31701c(0x20f)])==null?void 0x0:_0x55937d[_0x31701c(0x15d)])===_0x54ae87[_0x31701c(0x15d)]&&((_0x52885c=this['_lastPointer'])==null?void 0x0:_0x52885c[_0x31701c(0x161)])===_0x54ae87[_0x31701c(0x161)]||this[_0x31701c(0x178)][_0x31701c(0x121)](_0x8bf809=>{const _0x5a760a=_0x31701c;_0x8bf809[_0x5a760a(0x225)](_0x54ae87);});},0x64));});}['_updateCollabCursors'](_0x44a796,_0x32e988){const _0x364350=_0x2c15ac;var _0x4124db;const _0x416da8=(_0x4124db=this['_sheetSkeletonManagerService'][_0x364350(0x1b0)]())==null?void 0x0:_0x4124db[_0x364350(0x1d9)];if(!_0x416da8)return;const _0x3b4205=this[_0x364350(0xdd)]();if(!_0x3b4205)return;this[_0x364350(0x178)][_0x364350(0x121)](_0x255f42=>{_0x255f42['makeDirty']();});const {scene:_0x4f0475}=_0x3b4205,_0x5eba56=xi(Array[_0x364350(0x1c0)](_0x32e988[_0x364350(0xc8)]()))[_0x364350(0xf4)](_0x12cc8d=>{const _0x534065=_0x364350,{color:_0xaaf0d,range:_0x3cbdcd,name:_0x4292f7,selection:_0x51690e,sheetID:_0x3e2f65}=_0x12cc8d,{startColumn:_0x5e1c57,startRow:_0x2526ac,endColumn:_0x1cf264,endRow:_0x34ada4}=_0x3cbdcd,_0x5d672a=_0x149a54(_0x2526ac,_0x5e1c57,_0x4f0475,_0x416da8),_0xdf7e6f=_0x149a54(_0x34ada4,_0x1cf264,_0x4f0475,_0x416da8),{columnHeaderHeightAndMarginTop:_0x447e61}=_0x416da8,{startX:_0x55ad64,startY:_0x4725a9}=_0x5d672a,{endX:_0x470a44,endY:_0x2566fe}=_0xdf7e6f,_0x53cf86=_0x470a44-_0x55ad64,_0x231693=_0x2566fe-_0x4725a9,_0x9992e8={'labelPosition':_0x4725a9-_0x447e61>=ee?_0x534065(0x1d8):_0x534065(0x11d),'sheetID':_0x3e2f65,'range':_0x3cbdcd,'color':_0xaaf0d,'name':_0x4292f7,'selection':_0x51690e,'left':_0x55ad64,'top':_0x4725a9,'width':_0x53cf86,'height':_0x231693,'evented':!0x1,'zIndex':$i};return new Li(_0x4292f7,_0x9992e8);});_0x4f0475[_0x364350(0x1d0)](_0x5eba56,wi),this[_0x364350(0x178)]=new Set(_0x5eba56);}[_0x2c15ac(0x15b)](){const _0x3d26c9=_0x2c15ac;var _0x25be32;(_0x25be32=this[_0x3d26c9(0x178)])==null||_0x25be32[_0x3d26c9(0x121)](_0x38069c=>_0x38069c[_0x3d26c9(0x22e)]());}[_0x2c15ac(0xdd)](){const _0x4e54e7=_0x2c15ac;return _0x2c17fa(this['_context'][_0x4e54e7(0x2b1)],this['_context']);}};Pe=yi([ve(0x1,_0x4ac5cb(_0x46f29c)),ve(0x2,_0x4ac5cb(H)),ve(0x3,_0x4ac5cb(_0x380233))],Pe);function xi(_0x8f60ba){const _0xde54a4=_0x2c15ac,_0x24177f=new Map();return _0x8f60ba['forEach'](_0x28b40c=>{const _0x169fbc=_0x41a1;if(_0x24177f[_0x169fbc(0x1b9)](_0x28b40c['selection'])){const _0x22dcfc=_0x24177f[_0x169fbc(0x13f)](_0x28b40c['selection']);_0x22dcfc[_0x169fbc(0xd7)]+=',\x20'+_0x28b40c[_0x169fbc(0xd7)];}else _0x24177f[_0x169fbc(0x143)](_0x28b40c[_0x169fbc(0xf8)],_0x28b40c);}),Array['from'](_0x24177f[_0xde54a4(0xc8)]());}var v=function(){const _0x63f05e=_0x2c15ac;return v=Object[_0x63f05e(0x108)]||function(_0x1cf6c6){const _0x30b4ec=_0x63f05e;for(var _0x3141df,_0x31fb08=0x1,_0x5ee496=arguments[_0x30b4ec(0x215)];_0x31fb08<_0x5ee496;_0x31fb08++){_0x3141df=arguments[_0x31fb08];for(var _0x2f39a7 in _0x3141df)Object[_0x30b4ec(0x283)][_0x30b4ec(0x147)]['call'](_0x3141df,_0x2f39a7)&&(_0x1cf6c6[_0x2f39a7]=_0x3141df[_0x2f39a7]);}return _0x1cf6c6;},v[_0x63f05e(0x224)](this,arguments);},Bi=function(_0x2f0585,_0x33dc31){const _0x288706=_0x2c15ac;var _0x2f48f8={};for(var _0x43e595 in _0x2f0585)Object[_0x288706(0x283)][_0x288706(0x147)][_0x288706(0x241)](_0x2f0585,_0x43e595)&&_0x33dc31[_0x288706(0x1fc)](_0x43e595)<0x0&&(_0x2f48f8[_0x43e595]=_0x2f0585[_0x43e595]);if(_0x2f0585!=null&&typeof Object[_0x288706(0x16a)]==_0x288706(0x29d)){for(var _0x54e55b=0x0,_0x43e595=Object[_0x288706(0x16a)](_0x2f0585);_0x54e55b<_0x43e595[_0x288706(0x215)];_0x54e55b++)_0x33dc31['indexOf'](_0x43e595[_0x54e55b])<0x0&&Object[_0x288706(0x283)][_0x288706(0x267)][_0x288706(0x241)](_0x2f0585,_0x43e595[_0x54e55b])&&(_0x2f48f8[_0x43e595[_0x54e55b]]=_0x2f0585[_0x43e595[_0x54e55b]]);}return _0x2f48f8;},je=_0x3b02ea(function(_0x94f65c,_0x5e9f68){const _0x5bb2f5=_0x2c15ac;var _0x2f8a17=_0x94f65c[_0x5bb2f5(0x1e2)],_0x21b805=_0x94f65c['id'],_0x29849f=_0x94f65c['className'],_0x529b7a=_0x94f65c[_0x5bb2f5(0x155)],_0xf7e098=Bi(_0x94f65c,[_0x5bb2f5(0x1e2),'id',_0x5bb2f5(0x29f),_0x5bb2f5(0x155)]),_0x33b511=_0x5bb2f5(0x12c)[_0x5bb2f5(0x1ef)](_0x21b805,'\x20')[_0x5bb2f5(0x1ef)](_0x29849f||'')[_0x5bb2f5(0x1d5)](),_0x8233f=_0x39d5b3('_'['concat'](ji()));return Rt(_0x2f8a17,''['concat'](_0x21b805),{'defIds':_0x2f8a17[_0x5bb2f5(0xf7)],'idSuffix':_0x8233f[_0x5bb2f5(0x293)]},v({'ref':_0x5e9f68,'className':_0x33b511},_0xf7e098),_0x529b7a);});function Rt(_0x20338b,_0x56b93c,_0x5769de,_0x11782e,_0x2c56b8){const _0x455bf0=_0x2c15ac;return _0x27de02(_0x20338b['tag'],v(v({'key':_0x56b93c},ki(_0x20338b,_0x5769de,_0x2c56b8)),_0x11782e),(Hi(_0x20338b,_0x5769de)[_0x455bf0(0x1c7)]||[])[_0x455bf0(0xf4)](function(_0x3af9c8,_0x2856d8){const _0x2bef7c=_0x455bf0;return Rt(_0x3af9c8,''[_0x2bef7c(0x1ef)](_0x56b93c,'-')[_0x2bef7c(0x1ef)](_0x20338b['tag'],'-')[_0x2bef7c(0x1ef)](_0x2856d8),_0x5769de,void 0x0,_0x2c56b8);}));}function ki(_0xc5fc92,_0x67103f,_0x3448c8){const _0x23ffae=_0x2c15ac;var _0x496dc9=v({},_0xc5fc92[_0x23ffae(0x2b0)]);_0x3448c8!=null&&_0x3448c8[_0x23ffae(0x221)]&&_0x496dc9[_0x23ffae(0x181)]===_0x23ffae(0x221)&&(_0x496dc9[_0x23ffae(0x181)]=_0x3448c8[_0x23ffae(0x221)]),_0xc5fc92['tag']===_0x23ffae(0xfb)&&_0x496dc9['id']&&(_0x496dc9['id']=_0x496dc9['id']+_0x67103f[_0x23ffae(0x27f)]),Object[_0x23ffae(0x255)](_0x496dc9)['forEach'](function(_0x21faed){const _0x387ff0=_0x23ffae;var _0x3d208a=_0x21faed[0x0],_0x44609e=_0x21faed[0x1];_0x3d208a===_0x387ff0(0xfb)&&typeof _0x44609e==_0x387ff0(0xe8)&&(_0x496dc9[_0x3d208a]=_0x44609e[_0x387ff0(0xbc)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x67103f[_0x387ff0(0x27f)],')')));});var _0x4d923d=_0x67103f['defIds'];return!_0x4d923d||_0x4d923d[_0x23ffae(0x215)]===0x0||(_0xc5fc92['tag']==='use'&&_0x496dc9[_0x23ffae(0xc3)]&&(_0x496dc9[_0x23ffae(0xc3)]=_0x496dc9[_0x23ffae(0xc3)]+_0x67103f[_0x23ffae(0x27f)]),Object[_0x23ffae(0x255)](_0x496dc9)[_0x23ffae(0x121)](function(_0x37635b){const _0x3cb79b=_0x23ffae;var _0x5e3873=_0x37635b[0x0],_0x42c7ac=_0x37635b[0x1];typeof _0x42c7ac==_0x3cb79b(0xe8)&&(_0x496dc9[_0x5e3873]=_0x42c7ac[_0x3cb79b(0xbc)](/url\(#(.*)\)/,_0x3cb79b(0x141)[_0x3cb79b(0x1ef)](_0x67103f['idSuffix'],')')));})),_0x496dc9;}function Hi(_0x3a00dd,_0x5ef9ed){const _0x2cda19=_0x2c15ac;var _0x3bbc8a,_0x59f089=_0x5ef9ed[_0x2cda19(0xf7)];return!_0x59f089||_0x59f089[_0x2cda19(0x215)]===0x0?_0x3a00dd:_0x3a00dd[_0x2cda19(0x113)]===_0x2cda19(0x10a)&&(!((_0x3bbc8a=_0x3a00dd[_0x2cda19(0x1c7)])===null||_0x3bbc8a===void 0x0)&&_0x3bbc8a[_0x2cda19(0x215)])?v(v({},_0x3a00dd),{'children':_0x3a00dd['children'][_0x2cda19(0xf4)](function(_0x7ac421){const _0x488219=_0x2cda19;return typeof _0x7ac421[_0x488219(0x2b0)]['id']==_0x488219(0xe8)&&_0x59f089&&_0x59f089['includes'](_0x7ac421[_0x488219(0x2b0)]['id'])?v(v({},_0x7ac421),{'attrs':v(v({},_0x7ac421[_0x488219(0x2b0)]),{'id':_0x7ac421['attrs']['id']+_0x5ef9ed[_0x488219(0x27f)]})}):_0x7ac421;})}):_0x3a00dd;}function ji(){const _0x1a8fbf=_0x2c15ac;return Math['random']()[_0x1a8fbf(0x1a5)](0x24)[_0x1a8fbf(0x1e7)](0x2,0x8);}je[_0x2c15ac(0xbe)]=_0x2c15ac(0x251);var Yi={'tag':'svg','attrs':{'xmlns':_0x2c15ac(0x151),'fill':_0x2c15ac(0x271),'viewBox':_0x2c15ac(0x287),'width':_0x2c15ac(0x1fb),'height':_0x2c15ac(0x1fb)},'children':[{'tag':'g','attrs':{'clipPath':_0x2c15ac(0x165)},'children':[{'tag':_0x2c15ac(0x170),'attrs':{'stroke':_0x2c15ac(0x1aa),'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':_0x2c15ac(0x2a2),'strokeLinejoin':_0x2c15ac(0x2a2),'strokeWidth':1.2}}]},{'tag':_0x2c15ac(0x10a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2c15ac(0x149)},'children':[{'tag':_0x2c15ac(0x170),'attrs':{'fill':_0x2c15ac(0x140),'d':_0x2c15ac(0x204)}}]}]}],'defIds':[_0x2c15ac(0x149)]},Dt=_0x3b02ea(function(_0x395f79,_0x118a4d){const _0x4ae631=_0x2c15ac;return _0x27de02(je,Object['assign']({},_0x395f79,{'id':_0x4ae631(0x220),'ref':_0x118a4d,'icon':Yi}));});Dt[_0x2c15ac(0xbe)]=_0x2c15ac(0x25b);var Fi={'tag':_0x2c15ac(0x1b2),'attrs':{'xmlns':_0x2c15ac(0x151),'fill':_0x2c15ac(0x271),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x2c15ac(0x1fb)},'children':[{'tag':'g','attrs':{'clipPath':_0x2c15ac(0xd9)},'children':[{'tag':'path','attrs':{'stroke':_0x2c15ac(0x1aa),'d':_0x2c15ac(0x169),'strokeLinecap':_0x2c15ac(0x2a2),'strokeLinejoin':_0x2c15ac(0x2a2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2c15ac(0x12a),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x2c15ac(0x140),'d':_0x2c15ac(0x204),'transform':_0x2c15ac(0x142)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x3b02ea(function(_0x3fc411,_0x4b9142){const _0x2709b7=_0x2c15ac;return _0x27de02(je,Object[_0x2709b7(0x108)]({},_0x3fc411,{'id':_0x2709b7(0xdc),'ref':_0x4b9142,'icon':Fi}));});Nt[_0x2c15ac(0xbe)]=_0x2c15ac(0xd0);function Wi(_0x2ba3b3){const _0xda8768=_0x2c15ac;switch(_0x2ba3b3){case _0xb16102[_0xda8768(0x126)]:return _0xda8768(0x1f2);case _0xb16102[_0xda8768(0xc2)]:return _0xda8768(0x2c1);case _0xb16102[_0xda8768(0x26c)]:return _0xda8768(0x28d);case _0xb16102[_0xda8768(0x249)]:return _0xda8768(0x223);case _0xb16102[_0xda8768(0x13d)]:case _0xb16102[_0xda8768(0x184)]:return _0xda8768(0x23f);case _0xb16102[_0xda8768(0x157)]:case _0xb16102[_0xda8768(0x191)]:return'collabStatus.synced';}}function Vi(_0x4c407d){const _0x28da3c=_0x2c15ac,{status$:_0xd1cdd6}=_0x4c407d,_0x36d681=_0x17e35c(_0xd1cdd6,_0xb16102['NOT_COLLAB']),_0x2d44dc=_0x463d97(_0x407cea),_0x1d6a2e=_0x463d97(_0x26d8c2),_0x42b9e3=_0x36d681!==_0xb16102['OFFLINE'],_0x225fdc=_0x2d44dc['t'](Wi(_0x36d681)),_0xbbabc2=_0x42b9e3?_0x1298f5(Nt,{}):_0x1298f5(Dt,{}),_0xb3472a=_0xf7cadd(()=>{const _0x1b5ce4=_0x41a1;_0x42b9e3||_0x1d6a2e[_0x1b5ce4(0x146)]();},[_0x42b9e3,_0x1d6a2e]);function _0x23c369(){const _0x1345a4=_0x41a1;return _0x5f4503('div',{'className':_0x1345a4(0x1d7),'onClick':_0xb3472a,'children':[_0x1298f5('div',{'className':_0x281aab(_0x1345a4(0x117),{'univer-text-green-500':_0x42b9e3,'univer-text-red-500':!_0x42b9e3}),'children':_0xbbabc2}),_0x1298f5('div',{'className':_0x1345a4(0x1df),'children':_0x225fdc})]});}return _0x42b9e3?_0x23c369():_0x1298f5(_0x199b5b,{'title':_0x2d44dc['t'](_0x28da3c(0x148)),'children':_0x23c369()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x4b1384,_0x4041ca,_0x2f5944,_0x1c41ea)=>{for(var _0x3353ac=_0x1c41ea>0x1?void 0x0:_0x1c41ea?Xi(_0x4041ca,_0x2f5944):_0x4041ca,_0x1863fe=_0x4b1384['length']-0x1,_0x38ce56;_0x1863fe>=0x0;_0x1863fe--)(_0x38ce56=_0x4b1384[_0x1863fe])&&(_0x3353ac=_0x38ce56(_0x3353ac)||_0x3353ac);return _0x3353ac;},Q=(_0x258a4a,_0x19366b)=>(_0x15db56,_0x294db3)=>_0x19366b(_0x15db56,_0x294db3,_0x258a4a);let te=class extends _0x4c53e2{constructor(_0x5c6133,_0x150958,_0x4281c4,_0x20592b){const _0x218f5c=_0x2c15ac;super(),_(this,_0x218f5c(0x176),new _0xa09dbb(_0xb16102['NOT_COLLAB'])),(this[_0x218f5c(0x15a)]=_0x5c6133,this['_injector']=_0x150958,this[_0x218f5c(0x272)]=_0x4281c4,this['_uiPartsService']=_0x20592b,this['_initStatusComponent'](),this[_0x218f5c(0xb7)]());}[_0x2c15ac(0xb7)](){const _0x13eacd=_0x2c15ac;this[_0x13eacd(0x21a)](this['_univerInstanceService'][_0x13eacd(0x292)][_0x13eacd(0x134)](_0xf26a44(()=>{const _0xd1f16d=_0x13eacd,_0x2def7a=this[_0xd1f16d(0x15a)][_0xd1f16d(0x281)]();return _0x2def7a?this[_0xd1f16d(0x272)][_0xd1f16d(0x20a)](_0x2def7a[_0xd1f16d(0xcf)]()):_0xdbbc18(null);}),_0xf26a44(_0x156d3e=>_0x156d3e?_0x156d3e[_0x13eacd(0x2a1)]:_0xdbbc18(_0xb16102[_0x13eacd(0x249)])))[_0x13eacd(0x2a7)](_0x472769=>{const _0x2d838a=_0x13eacd;this[_0x2d838a(0x176)][_0x2d838a(0xc7)](_0x472769);}));}[_0x2c15ac(0x162)](){const _0x5c3ced=_0x2c15ac;this[_0x5c3ced(0x21a)](this[_0x5c3ced(0xda)]['registerComponent'](_0x2b34a5['HEADER_MENU'],()=>_0x138a74(Ki({'status$':this['_status$'][_0x5c3ced(0x1c8)]()}),this[_0x5c3ced(0xe1)])));}};te=Gi([Q(0x0,_0x2950a1),Q(0x1,_0x4ac5cb(_0x21a3dc)),Q(0x2,_0x4ac5cb(_0x14b3a4)),Q(0x3,_0x5417e0)],te);function Ki(_0x110459){const {status$:_0x3f854e}=_0x110459;return function(){return _0x1298f5(Vi,{'status$':_0x3f854e});};}var zi=Object[_0x2c15ac(0x222)],Ji=(_0x359b44,_0x507b52,_0x1de803,_0x255b0b)=>{const _0x2f1956=_0x2c15ac;for(var _0x11cea3=_0x255b0b>0x1?void 0x0:_0x255b0b?zi(_0x507b52,_0x1de803):_0x507b52,_0xa87655=_0x359b44[_0x2f1956(0x215)]-0x1,_0x3360d5;_0xa87655>=0x0;_0xa87655--)(_0x3360d5=_0x359b44[_0xa87655])&&(_0x11cea3=_0x3360d5(_0x11cea3)||_0x11cea3);return _0x11cea3;},B=(_0x1e6f5a,_0x49893e)=>(_0x20cac4,_0x515a31)=>_0x49893e(_0x20cac4,_0x515a31,_0x1e6f5a);let se=class extends _0x4c53e2{constructor(_0x1ea214,_0x3612d3,_0x19d188,_0x418f9a,_0x12b734,_0x27dee2){const _0x1c989c=_0x2c15ac;super(),this['_beforeCloseService']=_0x1ea214,this[_0x1c989c(0x2a0)]=_0x3612d3,this[_0x1c989c(0x1bc)]=_0x19d188,this[_0x1c989c(0x274)]=_0x418f9a,this[_0x1c989c(0x1cc)]=_0x12b734,this['_localeService']=_0x27dee2,this[_0x1c989c(0x1a3)](),this[_0x1c989c(0xfd)]();}['_setupBeforeClosingHandler'](){const _0x4ce10b=_0x2c15ac;this[_0x4ce10b(0x21a)](this['_beforeCloseService'][_0x4ce10b(0xff)](()=>{const _0x42bccc=_0x4ce10b;if(this[_0x42bccc(0x2a0)][_0x42bccc(0xf0)]['size'])return this[_0x42bccc(0x12d)]['t'](_0x42bccc(0x246));}));}[_0x2c15ac(0xfd)](){const _0x1317ef=_0x2c15ac;this[_0x1317ef(0x21a)](this[_0x1317ef(0x1bc)][_0x1317ef(0x227)][_0x1317ef(0x2a7)](_0x544cdc=>{const _0x3548f0=_0x1317ef;_0x544cdc['id']===_0x4b6966[_0x3548f0(0xd6)]&&this[_0x3548f0(0x274)][_0x3548f0(0x242)]({'type':_0x52999d['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x544cdc['id']===_0x4b6966['CLOSE_ROOM']&&this[_0x3548f0(0x274)][_0x3548f0(0x242)]({'type':_0x52999d['Warning'],'content':this[_0x3548f0(0x12d)]['t'](_0x3548f0(0x192))}),_0x544cdc['id']===_0x4b6966[_0x3548f0(0x2ac)]&&this[_0x3548f0(0x1cc)][_0x3548f0(0x242)]({'title':this['_localeService']['t'](_0x3548f0(0xd3)),'content':this[_0x3548f0(0x12d)]['t'](_0x3548f0(0xfc)),'type':_0x3548f0(0x1af),'duration':0x0}),_0x544cdc['id']===_0x4b6966[_0x3548f0(0xc2)]&&this['_messageService'][_0x3548f0(0x242)]({'type':_0x52999d[_0x3548f0(0x208)],'content':this[_0x3548f0(0x12d)]['t'](_0x3548f0(0x192))+'('+_0x544cdc[_0x3548f0(0x15f)]+')'}),_0x544cdc['id']===_0x4b6966['JOIN_ROOM_FAILED']&&this[_0x3548f0(0x274)]['show']({'type':_0x52999d[_0x3548f0(0x1b3)],'content':this[_0x3548f0(0x12d)]['t'](_0x544cdc[_0x3548f0(0x15f)]||'')}),_0x544cdc['id']===_0x4b6966[_0x3548f0(0x10b)]&&this['_messageService'][_0x3548f0(0x242)]({'type':_0x52999d[_0x3548f0(0x1b3)],'content':this['_localeService']['t'](_0x3548f0(0x262))}),_0x544cdc['id']===_0x4b6966[_0x3548f0(0x1c3)]&&this[_0x3548f0(0x274)][_0x3548f0(0x242)]({'type':_0x52999d[_0x3548f0(0x208)],'content':this[_0x3548f0(0x12d)]['t']('session.connection-failed')}),_0x544cdc['id']===_0x4b6966['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x3548f0(0x274)][_0x3548f0(0x242)]({'type':_0x52999d[_0x3548f0(0x208)],'content':this[_0x3548f0(0x12d)]['t'](_0x3548f0(0x183))});}));}};se=Ji([B(0x0,_0x481b17),B(0x1,_0x183521),B(0x2,_0x4ac5cb(_0x20c989)),B(0x3,_0x44bb72),B(0x4,_0x2b61bd),B(0x5,_0x4ac5cb(_0x407cea))],se);const Zi=_0x2c15ac(0x163),et={},Ut=_0x30f31f(_0x2c15ac(0x1f4));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x2debe1,_0xca2608,_0x2cf813,_0x3106e0)=>{for(var _0x349e15=_0x3106e0>0x1?void 0x0:_0x3106e0?Qi(_0xca2608,_0x2cf813):_0xca2608,_0x550136=_0x2debe1['length']-0x1,_0x264583;_0x550136>=0x0;_0x550136--)(_0x264583=_0x2debe1[_0x550136])&&(_0x349e15=_0x264583(_0x349e15)||_0x349e15);return _0x349e15;},G=(_0x484208,_0x246ff5)=>(_0x50aae3,_0xe5f2f)=>_0x246ff5(_0x50aae3,_0xe5f2f,_0x484208);let ie=class extends _0x3ead01{constructor(_0x118005,_0x33e3e8,_0x3459f4,_0x1c5cd0,_0x1297e3){const _0x1c756a=_0x2c15ac;super(),this[_0x1c756a(0x107)]=_0x118005,this['_logService']=_0x33e3e8,this['_commandService']=_0x3459f4,this[_0x1c756a(0x119)]=_0x1c5cd0,_0x1297e3?_0x1297e3==null||_0x1297e3['whenReady']()[_0x1c756a(0xb8)](()=>this[_0x1c756a(0x16c)]()):(this['_logService']['debug']('[CollaborationDataLoaderController]',_0x1c756a(0x205)),this[_0x1c756a(0x16c)]());}async['_init'](){const _0x158204=_0x2c15ac,_0x53fe14=this[_0x158204(0x107)][_0x158204(0x27d)](_0x158204(0x2b1)),_0x207c8f=this[_0x158204(0x107)][_0x158204(0x27d)](_0x158204(0xeb)),_0x1a6a63=this[_0x158204(0x107)]['getParam']('subunit');if(!_0x53fe14||!_0x207c8f){this[_0x158204(0x130)]['debug']('[CollaborationDataLoaderController]',_0x158204(0x278));return;}const _0x898220=await this[_0x158204(0x119)][_0x158204(0x11e)](_0x53fe14,Number(_0x207c8f),_0x1a6a63);_0x898220&&_0x898220 instanceof _0x29f169&&this[_0x158204(0x22b)](_0x898220);}async[_0x2c15ac(0x22b)](_0x3213c1){const _0x4aa2b7=_0x2c15ac;await this['_updateSubUnitFromURLParams'](_0x3213c1),_0x3213c1[_0x4aa2b7(0x23c)][_0x4aa2b7(0x134)](_0x2e32fd(this[_0x4aa2b7(0x1e9)]))[_0x4aa2b7(0x2a7)](_0x950e28=>{_0x950e28&&this['_updateURLWithCurrentState'](_0x950e28);}),this[_0x4aa2b7(0x107)][_0x4aa2b7(0x1e1)][_0x4aa2b7(0x134)](_0x2e32fd(this['dispose$']))[_0x4aa2b7(0x2a7)](()=>this[_0x4aa2b7(0x1f7)](_0x3213c1));}[_0x2c15ac(0x1a9)](_0x4878ec,_0x1f1680=!0x1){const _0x1396a0=_0x2c15ac,_0x3d771a=this['_urlService']['getParam']('subunit');_0x4878ec['getSheetId']()!==_0x3d771a&&this[_0x1396a0(0x107)][_0x1396a0(0x1b4)](_0x1396a0(0x1cd),_0x4878ec[_0x1396a0(0x219)](),_0x1f1680);}async[_0x2c15ac(0x1f7)](_0x5d5703){const _0x559c18=_0x2c15ac;var _0x48c286;const _0x4488ee=this[_0x559c18(0x107)][_0x559c18(0x27d)](_0x559c18(0x1cd));if(!_0x4488ee||!_0x5d5703[_0x559c18(0x1d1)](_0x4488ee)){const _0x54e6e5=_0x5d5703['getUnhiddenWorksheets']()[0x0],_0x230cbc=_0x5d5703[_0x559c18(0x1d1)](_0x54e6e5);if(!_0x230cbc)return;this[_0x559c18(0x1a9)](_0x230cbc,!0x0),await this[_0x559c18(0x209)][_0x559c18(0x11c)](_0x3e3030['id'],{'unitId':_0x5d5703[_0x559c18(0xcf)](),'subUnitId':_0x54e6e5});return;}((_0x48c286=_0x5d5703[_0x559c18(0xb9)]())==null?void 0x0:_0x48c286[_0x559c18(0x219)]())!==_0x4488ee&&await this[_0x559c18(0x209)]['executeCommand'](_0x3e3030['id'],{'unitId':_0x5d5703[_0x559c18(0xcf)](),'subUnitId':_0x4488ee});}};ie=qi([G(0x0,Ut),G(0x1,_0xcfc1e3),G(0x2,_0x339cdd),G(0x3,_0x4ac5cb(_0x9e95d3)),G(0x4,_0x51f5a4(_0x3dfb0b))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x5c0745,_0x6c890a,_0x431b22,_0x16110f)=>{const _0x1ced53=_0x2c15ac;for(var _0x385bb5=_0x16110f>0x1?void 0x0:_0x16110f?en(_0x6c890a,_0x431b22):_0x6c890a,_0x51eb58=_0x5c0745[_0x1ced53(0x215)]-0x1,_0x4702a3;_0x51eb58>=0x0;_0x51eb58--)(_0x4702a3=_0x5c0745[_0x51eb58])&&(_0x385bb5=_0x4702a3(_0x385bb5)||_0x385bb5);return _0x385bb5;},pe=(_0x417766,_0x4b51ba)=>(_0x3e88f1,_0x4ceb38)=>_0x4b51ba(_0x3e88f1,_0x4ceb38,_0x417766);let ne=class{constructor(_0x2a27b5,_0x6aa07b,_0x5e71b4){const _0x245870=_0x2c15ac;this[_0x245870(0xe1)]=_0x2a27b5,this['_transformService']=_0x6aa07b,this['_renderManagerService']=_0x5e71b4;}[_0x2c15ac(0x109)](_0x509c75){const _0x4d9e37=_0x2c15ac;this['_transformUndoRedoStack'](_0x509c75),this[_0x4d9e37(0x1dc)](_0x509c75);}[_0x2c15ac(0x194)](_0x213f69){const _0x3758eb=_0x2c15ac,{unitID:_0x4735a3}=_0x213f69,_0x1a947b=this['_renderManagerService'][_0x3758eb(0x112)](_0x4735a3)[_0x3758eb(0x172)](_0x43115d),{redoCache:_0x499101}=_0x1a947b[_0x3758eb(0x1e4)]();if(_0x499101[_0x3758eb(0x215)]===0x0)return _0x213f69;let _0x1b023f=_0xa1e94[_0x3758eb(0x29e)](_0x213f69[_0x3758eb(0x133)][0x0]);for(let _0x5734f2=0x0;_0x5734f2<_0x499101[_0x3758eb(0x215)];_0x5734f2++){const _0x470f02={'id':_0x3758eb(0x25f),'params':{..._0x499101[_0x5734f2]}},_0x41b08f=this['_transformService'][_0x3758eb(0x240)](_0x1b023f,_0x470f02,!0x1);if(_0x50d149(_0x41b08f))throw _0x41b08f['error'];_0x1b023f=_0x41b08f[_0x3758eb(0x14f)];}return{..._0xa1e94['deepClone'](_0x213f69),'mutations':[_0x1b023f]};}['_transformUndoRedoStack'](_0x5d2609){const _0x29bac1=_0x2c15ac,{unitID:_0x12b323}=_0x5d2609,_0x4164e9=this[_0x29bac1(0x250)]['getRenderById'](_0x12b323)[_0x29bac1(0x172)](_0x43115d),{undoCache:_0x5a123c,redoCache:_0x2ec481}=_0x4164e9[_0x29bac1(0x1e4)]();if(_0x5a123c['length']===0x0||_0x2ec481[_0x29bac1(0x215)]===0x0)return;const _0x1e6797=[],_0x5b8b23=[];let _0x35f004=_0xa1e94[_0x29bac1(0x29e)](_0x5d2609['mutations'][0x0]),_0x41401e=_0xa1e94[_0x29bac1(0x29e)](_0x5d2609[_0x29bac1(0x133)][0x0]);for(let _0x50df9e=_0x5a123c[_0x29bac1(0x215)]-0x1;_0x50df9e>=0x0;_0x50df9e--){const _0x13b8e6={'id':_0x29bac1(0x25f),'params':{..._0x5a123c[_0x50df9e]}},_0xeeb0d={'id':_0x29bac1(0x25f),'params':{..._0x2ec481[_0x50df9e]}},_0x4d666d=this[_0x29bac1(0x138)][_0x29bac1(0x240)](_0x35f004,_0x13b8e6,!0x1),_0x1b9402=this['_transformService']['transformMutation'](_0x41401e,_0xeeb0d,!0x1);if(_0x50d149(_0x4d666d))throw _0x4d666d[_0x29bac1(0x1af)];if(_0x50d149(_0x1b9402))throw _0x1b9402[_0x29bac1(0x1af)];_0x1e6797['unshift'](_0x4d666d[_0x29bac1(0xec)]['params']),_0x5b8b23[_0x29bac1(0x2ab)](_0x1b9402[_0x29bac1(0xec)][_0x29bac1(0x233)]),_0x35f004=_0x4d666d[_0x29bac1(0x14f)],_0x41401e=_0x1b9402['m1Prime'];}_0x4164e9[_0x29bac1(0x265)]({'undoCache':_0x1e6797,'redoCache':_0x5b8b23});}[_0x2c15ac(0x1dc)](_0x405c4a){const _0x33123f=_0x2c15ac,{unitID:_0xf7a560}=_0x405c4a,_0x48c5b9=this[_0x33123f(0x250)][_0x33123f(0x112)](_0xf7a560)[_0x33123f(0x172)](_0x43115d),_0x49cb9a=_0x48c5b9[_0x33123f(0x264)]();if(_0x49cb9a==null)return;const _0x4f35e1=[{'id':_0x33123f(0x25f),'params':{'unitId':_0x405c4a[_0x33123f(0x26e)],'actions':null,'textRanges':[_0x49cb9a]}}],_0x369126=this[_0x33123f(0x138)][_0x33123f(0x211)](_0x405c4a,_0x4f35e1);if(!_0x16beb7(_0x369126))throw _0x369126['error'];const _0x34b678=_0x369126[_0x33123f(0xec)][0x0][_0x33123f(0x233)][_0x33123f(0x103)];Array[_0x33123f(0xcb)](_0x34b678)&&_0x34b678['length']&&_0x48c5b9['setActiveRange'](_0x34b678[0x0]);}};ne=tn([pe(0x0,_0x4ac5cb(_0x21a3dc)),pe(0x1,_0x3ee570),pe(0x2,_0x214824)],ne);var sn=Object[_0x2c15ac(0x222)],nn=(_0x5068a7,_0x2a159c,_0x149510,_0x41ed55)=>{const _0x25281e=_0x2c15ac;for(var _0x402a93=_0x41ed55>0x1?void 0x0:_0x41ed55?sn(_0x2a159c,_0x149510):_0x2a159c,_0x176f08=_0x5068a7[_0x25281e(0x215)]-0x1,_0x13c745;_0x176f08>=0x0;_0x176f08--)(_0x13c745=_0x5068a7[_0x176f08])&&(_0x402a93=_0x13c745(_0x402a93)||_0x402a93);return _0x402a93;},Ce=(_0x2c59f6,_0x271249)=>(_0x2cb1bb,_0x8f22c)=>_0x271249(_0x2cb1bb,_0x8f22c,_0x2c59f6);let re=class{constructor(_0x79be56,_0x588f26,_0x217816){const _0xbd3029=_0x2c15ac;this['_injector']=_0x79be56,this[_0xbd3029(0x138)]=_0x588f26,this['_docStateChangeManagerService']=_0x217816;}[_0x2c15ac(0x197)](_0xe23fb2){const _0x3694b6=_0x2c15ac;this[_0x3694b6(0x17a)](_0xe23fb2);}[_0x2c15ac(0x194)](_0x46ce29){const _0x4f8406=_0x2c15ac,{unitID:_0x42ce10}=_0x46ce29,{collaboration:_0x1f1856}=this[_0x4f8406(0x2ae)][_0x4f8406(0x1a4)](_0x42ce10);if(_0x1f1856[_0x4f8406(0x215)]===0x0)return _0x46ce29;let _0x3528f0=_0xa1e94[_0x4f8406(0x29e)](_0x46ce29['mutations'][0x0]);for(let _0x3ade58=0x0;_0x3ade58<_0x1f1856[_0x4f8406(0x215)];_0x3ade58++){const _0x38837e={'id':_0x4f8406(0x25f),'params':{'unitId':_0x1f1856[_0x3ade58][_0x4f8406(0x105)],..._0x1f1856[_0x3ade58][_0x4f8406(0x195)]}},_0x44a740=this['_transformService'][_0x4f8406(0x240)](_0x3528f0,_0x38837e,!0x1);if(_0x50d149(_0x44a740))throw _0x44a740[_0x4f8406(0x1af)];_0x3528f0=_0x44a740[_0x4f8406(0x14f)];}return{..._0xa1e94['deepClone'](_0x46ce29),'mutations':[_0x3528f0]};}[_0x2c15ac(0x17a)](_0x3407d6){const _0x31ad16=_0x2c15ac,{unitID:_0x16a26c}=_0x3407d6,{history:_0x24d77b,collaboration:_0x49a20b}=this[_0x31ad16(0x2ae)][_0x31ad16(0x1a4)](_0x16a26c);if(_0x24d77b[_0x31ad16(0x215)]===0x0&&_0x49a20b['length']===0x0)return;const _0x1cbce9=[],_0xd47837=[];let _0x2a6f50=_0xa1e94[_0x31ad16(0x29e)](_0x3407d6[_0x31ad16(0x133)][0x0]),_0x245a54=_0xa1e94[_0x31ad16(0x29e)](_0x3407d6[_0x31ad16(0x133)][0x0]);for(let _0xf33ffc=_0x24d77b[_0x31ad16(0x215)]-0x1;_0xf33ffc>=0x0;_0xf33ffc--){const _0x113647={'id':_0x31ad16(0x25f),'params':{'unitId':_0x24d77b[_0xf33ffc][_0x31ad16(0x105)],..._0x24d77b[_0xf33ffc][_0x31ad16(0x23b)]}},_0x419ebc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24d77b[_0xf33ffc]['unitId'],..._0x24d77b[_0xf33ffc]['redoState']}},_0x45d306=this[_0x31ad16(0x138)]['transformMutation'](_0x2a6f50,_0x113647,!0x1),_0x58200b=this[_0x31ad16(0x138)][_0x31ad16(0x240)](_0x245a54,_0x419ebc,!0x1);if(_0x50d149(_0x45d306))throw _0x45d306[_0x31ad16(0x1af)];if(_0x50d149(_0x58200b))throw _0x58200b['error'];_0x1cbce9[_0x31ad16(0x2ab)]({..._0x24d77b[_0xf33ffc],'undoState':_0x45d306[_0x31ad16(0xec)]['params'],'redoState':_0x58200b[_0x31ad16(0xec)][_0x31ad16(0x233)]}),_0x2a6f50=_0x45d306[_0x31ad16(0x14f)],_0x245a54=_0x58200b[_0x31ad16(0x14f)];}_0x2a6f50=_0xa1e94['deepClone'](_0x3407d6[_0x31ad16(0x133)][0x0]),_0x245a54=_0xa1e94[_0x31ad16(0x29e)](_0x3407d6[_0x31ad16(0x133)][0x0]);for(let _0x2e2a51=_0x49a20b['length']-0x1;_0x2e2a51>=0x0;_0x2e2a51--){const _0x131ea9={'id':_0x31ad16(0x25f),'params':{'unitId':_0x49a20b[_0x2e2a51][_0x31ad16(0x105)],..._0x49a20b[_0x2e2a51][_0x31ad16(0x23b)]}},_0x1a4e41={'id':_0x31ad16(0x25f),'params':{'unitId':_0x49a20b[_0x2e2a51][_0x31ad16(0x105)],..._0x49a20b[_0x2e2a51][_0x31ad16(0x195)]}},_0x55ee70=this['_transformService'][_0x31ad16(0x240)](_0x2a6f50,_0x131ea9,!0x1),_0x4af85d=this[_0x31ad16(0x138)][_0x31ad16(0x240)](_0x245a54,_0x1a4e41,!0x1);if(_0x50d149(_0x55ee70))throw _0x55ee70[_0x31ad16(0x1af)];if(_0x50d149(_0x4af85d))throw _0x4af85d[_0x31ad16(0x1af)];_0xd47837['unshift']({..._0x49a20b[_0x2e2a51],'undoState':_0x55ee70[_0x31ad16(0xec)]['params'],'redoState':_0x4af85d[_0x31ad16(0xec)][_0x31ad16(0x233)]}),_0x2a6f50=_0x55ee70[_0x31ad16(0x14f)],_0x245a54=_0x4af85d['m1Prime'];}this[_0x31ad16(0x2ae)][_0x31ad16(0x235)](_0x16a26c,{'history':_0x1cbce9,'collaboration':_0xd47837});}};re=nn([Ce(0x0,_0x4ac5cb(_0x21a3dc)),Ce(0x1,_0x3ee570),Ce(0x2,_0x4ac5cb(_0xf90476))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0xe06aff,_0x2a2285,_0x3fef8e,_0x523539)=>{for(var _0x537c68=_0x523539>0x1?void 0x0:_0x523539?rn(_0x2a2285,_0x3fef8e):_0x2a2285,_0x5d9deb=_0xe06aff['length']-0x1,_0x52b588;_0x5d9deb>=0x0;_0x5d9deb--)(_0x52b588=_0xe06aff[_0x5d9deb])&&(_0x537c68=_0x52b588(_0x537c68)||_0x537c68);return _0x537c68;},tt=(_0x110315,_0x14f5c1)=>(_0x10aa43,_0x4bcdb2)=>_0x14f5c1(_0x10aa43,_0x4bcdb2,_0x110315);let oe=class{constructor(_0x21624e,_0x4bff70){const _0x238146=_0x2c15ac;this['_injector']=_0x21624e,this[_0x238146(0x138)]=_0x4bff70;}[_0x2c15ac(0x1ec)](_0x5d813d){const _0x1dda3e=_0x2c15ac;var _0x6eb2d9;const _0x3c5530=this[_0x1dda3e(0xe1)][_0x1dda3e(0x13f)](_0x436b2c),_0x9ff91e=(_0x6eb2d9=_0x3c5530[_0x1dda3e(0x2b5)]())!=null?_0x6eb2d9:[];if(_0x9ff91e['length']===0x0)return;const _0x2de5be=_0x5d813d['unitID'],_0xc5e6fb=[{'id':_0x1dda3e(0x25f),'params':{'unitId':_0x2de5be,'actions':null,'textRanges':_0x9ff91e}}],_0x306881=this[_0x1dda3e(0x138)][_0x1dda3e(0x211)](_0x5d813d,_0xc5e6fb);if(!_0x16beb7(_0x306881))throw _0x306881['error'];const _0x304fb6=_0x306881['m2Prime'][0x0][_0x1dda3e(0x233)][_0x1dda3e(0x103)];Array[_0x1dda3e(0xcb)](_0x304fb6)&&_0x304fb6['length']&&_0x3c5530['replaceDocRanges'](_0x304fb6,{'unitId':_0x2de5be,'subUnitId':_0x2de5be},!0x1);}};oe=on([tt(0x0,_0x4ac5cb(_0x21a3dc)),tt(0x1,_0x3ee570)],oe);var an=Object[_0x2c15ac(0x222)],cn=(_0x2fd42c,_0x9ce212,_0x25e89e,_0x2ae685)=>{const _0xc564cc=_0x2c15ac;for(var _0x3835a5=_0x2ae685>0x1?void 0x0:_0x2ae685?an(_0x9ce212,_0x25e89e):_0x9ce212,_0x3b523=_0x2fd42c[_0xc564cc(0x215)]-0x1,_0x1efdf6;_0x3b523>=0x0;_0x3b523--)(_0x1efdf6=_0x2fd42c[_0x3b523])&&(_0x3835a5=_0x1efdf6(_0x3835a5)||_0x3835a5);return _0x3835a5;},U=(_0x393009,_0x5b4e90)=>(_0x5f50e1,_0xba8234)=>_0x5b4e90(_0x5f50e1,_0xba8234,_0x393009);let ae=class extends _0x4c53e2{constructor(_0x42f4b3,_0x1c21d2,_0x1cd73b,_0x430a88,_0x5d71ff,_0x55700e,_0x3ed326,_0x3d8e55){const _0x343f8f=_0x2c15ac;super(),_(this,_0x343f8f(0x176),new _0xa09dbb(_0xb16102[_0x343f8f(0x249)])),(this['_docStateChangeManagerService']=_0x42f4b3,this[_0x343f8f(0x272)]=_0x1c21d2,this[_0x343f8f(0x28c)]=_0x1cd73b,this[_0x343f8f(0x198)]=_0x430a88,this[_0x343f8f(0x196)]=_0x5d71ff,this[_0x343f8f(0x14c)]=_0x55700e,this[_0x343f8f(0x274)]=_0x3ed326,this['_localeService']=_0x3d8e55,this[_0x343f8f(0x24d)]());}[_0x2c15ac(0x24d)](){const _0x2ed08a=_0x2c15ac;this['disposeWithMe'](this[_0x2ed08a(0x272)]['entityInit$'][_0x2ed08a(0x2a7)](_0x28a039=>{const _0x4f5891=_0x2ed08a,_0xbc3519=this[_0x4f5891(0x2ae)][_0x4f5891(0x23e)][_0x4f5891(0x2a7)](_0xb340cb=>{if(_0xb340cb==null)return;const {unitId:_0x557bff,redoState:_0xab5487,commandId:_0x598db4}=_0xb340cb;if(_0x557bff!==_0x28a039['unitID'])return;const _0x13cbb0={'id':_0x598db4,'type':_0x4343ad['MUTATION'],'params':{'unitId':_0x557bff,'actions':_0xab5487['actions'],'textRanges':null}};_0x28a039['onLocalMutation'](_0x13cbb0);});if(_0x28a039[_0x4f5891(0x21a)](_0xbc3519),_0x28a039 instanceof _0x2c2c07){const _0x2b110c={'onTransformIME':_0x5e2962=>this[_0x4f5891(0x28c)][_0x4f5891(0x109)](_0x5e2962),'onTransformState':_0x38f559=>this['_docTransformStateCacheService']['transformStateCache'](_0x38f559),'onTransformSelections':_0x3d27aa=>this['_docTransformSelectionsService'][_0x4f5891(0x1ec)](_0x3d27aa),'onSyncEditingCollabCursor':_0x5ab185=>this[_0x4f5891(0x14c)][_0x4f5891(0x1ff)](_0x5ab185),'onTransformRemoteChangesetByIMECache':_0x528648=>this[_0x4f5891(0x28c)][_0x4f5891(0x194)](_0x528648),'onTransformRemoteChangesetByStateCache':_0x394d6f=>this['_docTransformStateCacheService'][_0x4f5891(0x194)](_0x394d6f)};_0x28a039[_0x4f5891(0xea)](_0x2b110c);}}));}};ae=cn([U(0x0,_0x4ac5cb(_0xf90476)),U(0x1,_0x4ac5cb(_0x14b3a4)),U(0x2,_0x4ac5cb(ne)),U(0x3,_0x4ac5cb(re)),U(0x4,_0x4ac5cb(oe)),U(0x5,_0x4ac5cb(He)),U(0x6,_0x44bb72),U(0x7,_0x4ac5cb(_0x407cea))],ae);var ln=Object[_0x2c15ac(0x222)],_n=(_0xcc8913,_0x341b16,_0x56bea6,_0x59eb05)=>{const _0x105269=_0x2c15ac;for(var _0x2bbb63=_0x59eb05>0x1?void 0x0:_0x59eb05?ln(_0x341b16,_0x56bea6):_0x341b16,_0x3baa07=_0xcc8913[_0x105269(0x215)]-0x1,_0x1eb654;_0x3baa07>=0x0;_0x3baa07--)(_0x1eb654=_0xcc8913[_0x3baa07])&&(_0x2bbb63=_0x1eb654(_0x2bbb63)||_0x2bbb63);return _0x2bbb63;},Ee=(_0x557c44,_0x34c8f9)=>(_0x3eca46,_0x340cb1)=>_0x34c8f9(_0x3eca46,_0x340cb1,_0x557c44);let Le=class extends _0x4c53e2{constructor(_0x4e1140,_0x1ea62b,_0x499982){const _0x32e0b0=_0x2c15ac;super(),_(this,'_cachedData',new Map()),_(this,_0x32e0b0(0x1c2),new Map()),_(this,'_disabled',!0x1),(this[_0x32e0b0(0xde)]=_0x4e1140,this[_0x32e0b0(0x179)]=_0x1ea62b,this[_0x32e0b0(0x12f)]=_0x499982);}['disableLocalCache'](){const _0x90a739=_0x2c15ac;this[_0x90a739(0xc1)]=!0x0;}[_0x2c15ac(0x259)](){const _0x4bd739=_0x2c15ac;this[_0x4bd739(0xc1)]=!0x1;}get[_0x2c15ac(0xf0)](){const _0x7a36c2=_0x2c15ac;return this[_0x7a36c2(0x1c2)];}[_0x2c15ac(0x22e)](){const _0x1394cc=_0x2c15ac;this[_0x1394cc(0x243)]()[_0x1394cc(0xb8)](()=>super[_0x1394cc(0x22e)]());}async[_0x2c15ac(0x20e)](_0x134469){const _0x54e0d3=_0x2c15ac;return this[_0x54e0d3(0xc1)]?null:this[_0x54e0d3(0x179)][_0x54e0d3(0x15e)](_0x743ebc(_0x134469));}async[_0x2c15ac(0x258)](_0x35585f,_0x2acdfd){const _0x166a65=_0x2c15ac;return!!this[_0x166a65(0x179)][_0x166a65(0x270)](_0x35585f,_0x2acdfd);}[_0x2c15ac(0x158)](_0x40f49a,_0x1407e3,_0x14685d,_0x468295){const _0x33e342=_0x2c15ac,_0x14250b=this['_revisionService'][_0x33e342(0x28e)](_0x40f49a);this[_0x33e342(0x114)][_0x33e342(0x143)](_0x40f49a,{'unitID':_0x40f49a,'type':_0x1407e3,'awaitingChangeset':_0x14685d,'mutations':_0x468295,'rev':_0x14250b}),this[_0x33e342(0x1c2)][_0x33e342(0x1b9)](_0x40f49a)||this['_scheduleSaving'](_0x40f49a);}[_0x2c15ac(0x1de)](_0x439b6f){const _0x36ce5a=_0x2c15ac,_0xdae6c8=this[_0x36ce5a(0x22d)]();_0xdae6c8===0x0?this[_0x36ce5a(0x20c)](_0x439b6f):this[_0x36ce5a(0x1c2)][_0x36ce5a(0x143)](_0x439b6f,setTimeout(()=>this[_0x36ce5a(0x20c)](_0x439b6f),_0xdae6c8));}[_0x2c15ac(0x22d)](){const _0x510ea8=_0x2c15ac;var _0x6513d;return(_0x6513d=this['_configService'][_0x510ea8(0x1fe)](_0x5815dc))!=null?_0x6513d:_0x4116b5;}[_0x2c15ac(0x20c)](_0x13db52){const _0x2ea5e8=_0x2c15ac,_0x98f997=this[_0x2ea5e8(0x1c2)][_0x2ea5e8(0x13f)](_0x13db52);return _0x98f997!==void 0x0&&window['clearTimeout'](_0x98f997),this[_0x2ea5e8(0x179)][_0x2ea5e8(0x270)](_0x743ebc(_0x13db52),this[_0x2ea5e8(0x114)][_0x2ea5e8(0x13f)](_0x13db52))['then'](()=>this[_0x2ea5e8(0x1c2)][_0x2ea5e8(0x25d)](_0x13db52));}async[_0x2c15ac(0x243)](){const _0x461d0c=_0x2c15ac,_0x5aecdd=[];this['_saveTaskMap'][_0x461d0c(0x121)]((_0x25390e,_0x4d8b7e)=>{const _0x5448b8=_0x461d0c;window[_0x5448b8(0x120)](_0x25390e),_0x5aecdd['push'](this[_0x5448b8(0x20c)](_0x4d8b7e)[_0x5448b8(0xb8)](()=>{const _0x333445=_0x5448b8;this[_0x333445(0x1c2)][_0x333445(0x25d)](_0x4d8b7e);}));}),await Promise['all'](_0x5aecdd);}};Le=_n([Ee(0x0,_0x16807e),Ee(0x1,_0x2e8b06),Ee(0x2,_0x4ac5cb(_0x41c078))],Le);class hn extends _0x3ead01{constructor(){const _0x5692e0=_0x2c15ac;super(),_(this,'urlChange$'),this[_0x5692e0(0x1e1)]=_0x399cc6(window,_0x5692e0(0x19f))[_0x5692e0(0x134)](_0x2e32fd(this[_0x5692e0(0x1e9)]),_0x4ea927(0x1),_0x523d5e(void 0x0));}[_0x2c15ac(0x1b4)](_0x2f62fb,_0x1fedea,_0x39992e=!0x1){const _0x161f93=_0x2c15ac,_0x233782=new URL(window[_0x161f93(0x14a)][_0x161f93(0xf3)]);_0x233782['searchParams'][_0x161f93(0x143)](_0x2f62fb,_0x1fedea),_0x39992e?window[_0x161f93(0xc5)][_0x161f93(0x188)]('','',_0x233782[_0x161f93(0x1a5)]()):window[_0x161f93(0xc5)][_0x161f93(0x263)]('','',_0x233782[_0x161f93(0x1a5)]());}[_0x2c15ac(0x1e3)](_0x2dfad6,_0x43d5ea=!0x1){const _0x24c063=_0x2c15ac,_0x59ddc3=new URL(window[_0x24c063(0x14a)][_0x24c063(0xf3)]);_0x59ddc3[_0x24c063(0x17e)][_0x24c063(0x25d)](_0x2dfad6),_0x43d5ea?window[_0x24c063(0xc5)][_0x24c063(0x188)]('','',_0x59ddc3[_0x24c063(0x1a5)]()):window['history']['pushState']('','',_0x59ddc3[_0x24c063(0x1a5)]());}['getParam'](_0x4f2659){const _0x3d5e20=_0x2c15ac;var _0x56fd54;return(_0x56fd54=new URL(window['location']['href'])[_0x3d5e20(0x17e)][_0x3d5e20(0x13f)](_0x4f2659))!=null?_0x56fd54:void 0x0;}}var un=Object[_0x2c15ac(0x193)],dn=Object[_0x2c15ac(0x222)],fn=(_0x2aa328,_0x4c9132,_0x1e6263)=>_0x4c9132 in _0x2aa328?un(_0x2aa328,_0x4c9132,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e6263}):_0x2aa328[_0x4c9132]=_0x1e6263,Sn=(_0x574ba8,_0x3ad502,_0x264905,_0x1faaf8)=>{const _0x2e8f02=_0x2c15ac;for(var _0x1fe6d6=_0x1faaf8>0x1?void 0x0:_0x1faaf8?dn(_0x3ad502,_0x264905):_0x3ad502,_0x1532e0=_0x574ba8[_0x2e8f02(0x215)]-0x1,_0x31548c;_0x1532e0>=0x0;_0x1532e0--)(_0x31548c=_0x574ba8[_0x1532e0])&&(_0x1fe6d6=_0x31548c(_0x1fe6d6)||_0x1fe6d6);return _0x1fe6d6;},Oe=(_0x3364eb,_0x5e23a2)=>(_0x4a8ce8,_0x1c8d40)=>_0x5e23a2(_0x4a8ce8,_0x1c8d40,_0x3364eb),mn=(_0x4cb022,_0x169bf3,_0x20aeea)=>fn(_0x4cb022,_0x169bf3+'',_0x20aeea);const In=_0x2c15ac(0x232);let Ae=class extends _0x444aab{constructor(_0x18f334=et,_0x15948c,_0xe20790,_0x313591){const _0x19fc6e=_0x2c15ac;super(),this[_0x19fc6e(0x247)]=_0x18f334,this[_0x19fc6e(0x250)]=_0x15948c,this['_injector']=_0xe20790,this['_configService']=_0x313591;const {..._0x2fc585}=_0x5bcbe9({},et,this[_0x19fc6e(0x247)]);this[_0x19fc6e(0xde)]['setConfig'](Zi,_0x2fc585);}[_0x2c15ac(0x1c6)](){const _0x42ef2a=_0x2c15ac;this[_0x42ef2a(0x202)](),this[_0x42ef2a(0x2b6)]();}[_0x2c15ac(0x299)](){const _0x2b55f5=_0x2c15ac;this[_0x2b55f5(0x16e)]();}['_registerDependencies'](){const _0x540470=_0x2c15ac;var _0x12bc60;const _0x2c87c4=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1ff0a9,{'useClass':_0x60fda1}],[_0x183521,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x3785b5(this[_0x540470(0xe1)],_0x536b1f(_0x2c87c4,(_0x12bc60=this[_0x540470(0x247)])==null?void 0x0:_0x12bc60['override']));}[_0x2c15ac(0x16e)](){const _0x2a7707=_0x2c15ac;this['disposeWithMe'](this['_renderManagerService'][_0x2a7707(0x290)](_0x13ff01[_0x2a7707(0x135)],[we])),this[_0x2a7707(0x21a)](this[_0x2a7707(0x250)]['registerRenderModule'](_0x13ff01[_0x2a7707(0x19c)],[Pe]));}[_0x2c15ac(0x2b6)](){const _0x1563a1=_0x2c15ac;_0x4682c0(this[_0x1563a1(0xe1)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x2c15ac(0xfe),In),Ae=Sn([_0x5cc4a2(_0x25c718),Oe(0x1,_0x214824),Oe(0x2,_0x4ac5cb(_0x21a3dc)),Oe(0x3,_0x16807e)],Ae);var gn=Object[_0x2c15ac(0x222)],vn=(_0x339db5,_0x1f0c26,_0x1dd80d,_0x588b6d)=>{const _0x30222e=_0x2c15ac;for(var _0x3c8780=_0x588b6d>0x1?void 0x0:_0x588b6d?gn(_0x1f0c26,_0x1dd80d):_0x1f0c26,_0xb856c0=_0x339db5[_0x30222e(0x215)]-0x1,_0x541f5e;_0xb856c0>=0x0;_0xb856c0--)(_0x541f5e=_0x339db5[_0xb856c0])&&(_0x3c8780=_0x541f5e(_0x3c8780)||_0x3c8780);return _0x3c8780;},K=(_0x19af0e,_0x4228c9)=>(_0x2061d5,_0x59a40e)=>_0x4228c9(_0x2061d5,_0x59a40e,_0x19af0e);let st=class extends _0x3bee96{constructor(_0x1fa76e,_0x28ca75,_0x276f23,_0x47cb96,_0x249c90){super(_0x1fa76e,_0x28ca75,_0x276f23,_0x47cb96,_0x249c90);}async[_0x2c15ac(0x266)](_0x147832){const _0x330659=_0x2c15ac,_0x2c069a=await this[_0x330659(0x296)](),_0x4a515e=this[_0x330659(0xd2)](_0x147832,_0x2c069a);return this[_0x330659(0x1ac)](_0x4a515e);}[_0x2c15ac(0xd2)](_0x4c3bb4,_0x2f7072){const _0x598096=_0x2c15ac,_0x539f2c=typeof window>'u'?new URL(_0x4c3bb4):new URL(_0x4c3bb4,window[_0x598096(0x14a)][_0x598096(0x1f0)]);_0x539f2c[_0x598096(0x17e)][_0x598096(0x143)](_0x598096(0x159),_0x2f7072);const _0x2bfc68=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x598096(0x14a)][_0x598096(0x28b)]);return _0x2bfc68['get'](_0x598096(0x168))&&_0x539f2c[_0x598096(0x17e)][_0x598096(0x143)](_0x598096(0x168),_0x2bfc68['get'](_0x598096(0x168))),_0x539f2c[_0x598096(0x1a5)]();}async['_getSessionTicket'](){const _0x426ebc=_0x2c15ac;var _0x42a3a4,_0x215608,_0x1de9f6;const _0x57485a=this[_0x426ebc(0xde)]['getConfig'](_0x159709),_0x4c4ea0=(_0x42a3a4=_0x57485a==null?void 0x0:_0x57485a['wsSessionTicketUrl'])!=null?_0x42a3a4:_0x17e497;return(_0x1de9f6=(_0x215608=(await this[_0x426ebc(0x190)][_0x426ebc(0x13f)](_0x4c4ea0,{'headers':{'Content-Type':_0x426ebc(0x2af)}}))[_0x426ebc(0x1ba)])==null?void 0x0:_0x215608['ticket'])!=null?_0x1de9f6:'';}};st=vn([K(0x0,_0x4ac5cb(_0x21a3dc)),K(0x1,_0x4ac5cb(_0x4e09b8)),K(0x2,_0x16807e),K(0x3,_0xcfc1e3),K(0x4,_0x34d4ce)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x4c53e2{constructor(){const _0x386bdc=_0x2c15ac;super(),_(this,'_id',_0x3db1b7()),_(this,_0x386bdc(0x1a7),new Set()),_(this,_0x386bdc(0xf1),new Map()),_(this,_0x386bdc(0x18f),null),_(this,_0x386bdc(0x1db),new Map()),_(this,'_unitStatus',new Map()),this[_0x386bdc(0x16c)]();}['dispose'](){const _0x3f94e8=_0x2c15ac;super['dispose'](),this[_0x3f94e8(0x1db)]['forEach']((_0x648111,_0x58d604)=>this[_0x3f94e8(0x254)](_0x58d604)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2c15ac(0x21c)](_0x4a7968){const _0x3b2f4b=_0x2c15ac;return this[_0x3b2f4b(0x289)](_0x4a7968)[_0x3b2f4b(0x134)](_0x3193b3());}[_0x2c15ac(0x13e)](_0x1dbf8f){const _0x3cdb46=_0x2c15ac;this[_0x3cdb46(0x1a7)][_0x3cdb46(0x1a1)]===0x0&&this[_0x3cdb46(0x226)](),this['_selfUnitIDs'][_0x3cdb46(0xb6)](_0x1dbf8f),this[_0x3cdb46(0x2a8)]({'type':0x0,'memberID':this[_0x3cdb46(0x21b)],'unitIDs':[_0x1dbf8f],'isForwarded':!0x1});}[_0x2c15ac(0x206)](_0x41cb7b){const _0x100a3a=_0x2c15ac;this[_0x100a3a(0x1a7)][_0x100a3a(0x25d)](_0x41cb7b),this[_0x100a3a(0x1a7)][_0x100a3a(0x1a1)]===0x0&&this['_heartbeatTimer']&&window[_0x100a3a(0x16b)](this[_0x100a3a(0x18f)]);}[_0x2c15ac(0x16c)](){const _0xc07939=_0x2c15ac;this[_0xc07939(0x21a)](_0xf5a323(_0x399cc6(window,_0xc07939(0x2a9))['subscribe'](_0x1d5937=>{const _0x441c61=_0xc07939;if(_0x1d5937[_0x441c61(0x1ca)]!==nt||!_0x1d5937[_0x441c61(0xd8)])return;const _0x8da568=JSON[_0x441c61(0x23d)](_0x1d5937['newValue']);this['_handleEvent'](_0x8da568);}))),window[_0xc07939(0x24a)](_0xc07939(0x177),()=>this[_0xc07939(0x2a8)]({'type':0x1,'memberID':this[_0xc07939(0x21b)],'unitIDs':Array[_0xc07939(0x1c0)](this[_0xc07939(0x1a7)])}));}[_0x2c15ac(0x27c)](_0x18324a){const _0x53c475=_0x2c15ac;switch(_0x18324a['type']){case 0x0:this[_0x53c475(0x26d)](_0x18324a);break;case 0x1:this[_0x53c475(0x173)](_0x18324a);break;case 0x2:this[_0x53c475(0x11b)](_0x18324a);break;}}[_0x2c15ac(0x26d)](_0x1ffadf){const _0x1761dd=_0x2c15ac,{unitIDs:_0x47b1fa,memberID:_0x42d99f,isForwarded:_0x48312d}=_0x1ffadf;_0x47b1fa[_0x1761dd(0x121)](_0x1ea1ce=>{const _0x215586=_0x1761dd;if(!_0x48312d&&this[_0x215586(0xf1)][_0x215586(0x1b9)](_0x1ea1ce)&&this[_0x215586(0x289)](_0x1ea1ce)[_0x215586(0xc7)](_0x14039a['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x215586(0x1b9)](_0x1ea1ce)||!this[_0x215586(0xf1)]['get'](_0x1ea1ce)[_0x215586(0x1b9)](_0x42d99f)){const _0x3a07a8=this[_0x215586(0xf1)][_0x215586(0x13f)](_0x1ea1ce)||new Set();_0x3a07a8[_0x215586(0xb6)](_0x42d99f),this['_unitOnClients']['set'](_0x1ea1ce,_0x3a07a8),this[_0x215586(0x187)](_0x42d99f);}}),_0x48312d||this[_0x1761dd(0x2a8)]({'type':0x0,'memberID':this[_0x1761dd(0x21b)],'unitIDs':[...this[_0x1761dd(0x1a7)]],'isForwarded':!0x0});}[_0x2c15ac(0x187)](_0x3550e0){const _0x15f97b=_0x2c15ac;this[_0x15f97b(0x254)](_0x3550e0);const _0x1f2ce6=window[_0x15f97b(0x185)](()=>{const _0xbf86ea=_0x15f97b;this[_0xbf86ea(0xf1)][_0xbf86ea(0x121)](_0xc385af=>{const _0x419f5a=_0xbf86ea;_0xc385af[_0x419f5a(0x25d)](_0x3550e0);});},it*0x2);this[_0x15f97b(0x1db)][_0x15f97b(0x143)](_0x3550e0,_0x1f2ce6);}['_removeClearOtherTimer'](_0x1f8a99){const _0x51fda7=_0x2c15ac;if(this[_0x51fda7(0x1db)][_0x51fda7(0x1b9)](_0x1f8a99)){const _0x5a8133=this['_clearOtherTimers']['get'](_0x1f8a99);_0x5a8133&&window[_0x51fda7(0x120)](_0x5a8133),this['_clearOtherTimers'][_0x51fda7(0x143)](_0x1f8a99,null);}}[_0x2c15ac(0x173)](_0x5e2a9d){const _0x365fe1=_0x2c15ac,{memberID:_0x42430b,unitIDs:_0x26c624}=_0x5e2a9d;_0x26c624['forEach'](_0x4c3193=>{const _0x44024b=_0x41a1;var _0x1c5afe;const _0x5b730a=this['_unitOnClients'][_0x44024b(0x13f)](_0x4c3193);_0x5b730a&&(_0x5b730a[_0x44024b(0x25d)](_0x42430b),(_0x1c5afe=this[_0x44024b(0x289)](_0x4c3193))==null||_0x1c5afe[_0x44024b(0xc7)](_0x5b730a['size']===0x0?_0x14039a[_0x44024b(0x1e6)]:_0x14039a[_0x44024b(0xbb)]));}),this[_0x365fe1(0x254)](_0x42430b);}['_handleHeartbeatEvent'](_0x298ff0){const _0x5d81ae=_0x2c15ac;this[_0x5d81ae(0x187)](_0x298ff0[_0x5d81ae(0x128)]);}[_0x2c15ac(0x2a8)](_0x329086){const _0x533b83=_0x2c15ac;localStorage[_0x533b83(0x270)](nt,JSON[_0x533b83(0x1ae)](_0x329086));}[_0x2c15ac(0x226)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x512b02=_0x41a1;this[_0x512b02(0x2a8)]({'type':0x2,'memberID':this[_0x512b02(0x21b)]});},it);}[_0x2c15ac(0x289)](_0x9f3d3){const _0x1c5a3f=_0x2c15ac;return this[_0x1c5a3f(0x216)][_0x1c5a3f(0x1b9)](_0x9f3d3)||this[_0x1c5a3f(0x216)][_0x1c5a3f(0x143)](_0x9f3d3,new _0xa09dbb(_0x14039a[_0x1c5a3f(0x1e6)])),this['_unitStatus']['get'](_0x9f3d3);}}var Mt=(_0x95d4b8=>(_0x95d4b8[_0x95d4b8[_0x2c15ac(0x10f)]=0x0]='UNDEFINED',_0x95d4b8[_0x95d4b8['OK']=0x1]='OK',_0x95d4b8[_0x95d4b8[_0x2c15ac(0x15c)]=0x2]=_0x2c15ac(0x15c),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x2ac)]=0x3]=_0x2c15ac(0x2ac),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x19d)]=0x4]=_0x2c15ac(0x19d),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x228)]=0x5]='UNAUTHENTICATED',_0x95d4b8[_0x95d4b8[_0x2c15ac(0x203)]=0x6]=_0x2c15ac(0x203),_0x95d4b8[_0x95d4b8[_0x2c15ac(0xba)]=0x7]=_0x2c15ac(0xba),_0x95d4b8[_0x95d4b8[_0x2c15ac(0xc6)]=0x8]=_0x2c15ac(0xc6),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x12b)]=0x9]=_0x2c15ac(0x12b),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x288)]=0xa]='LOGIN_FAILED',_0x95d4b8[_0x95d4b8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2c15ac(0x297),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x244)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x95d4b8[_0x95d4b8['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x2c15ac(0x175),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x182)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x95d4b8[_0x95d4b8[_0x2c15ac(0x23a)]=0x1b59]=_0x2c15ac(0x23a),_0x95d4b8[_0x95d4b8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x95d4b8[_0x95d4b8[_0x2c15ac(0x144)]=0x1b5b]=_0x2c15ac(0x144),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x213)]=0x1b5c]=_0x2c15ac(0x213),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x2bf)]=0x1b5d]=_0x2c15ac(0x2bf),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x238)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x95d4b8[_0x95d4b8[_0x2c15ac(0x212)]=0x2329]=_0x2c15ac(0x212),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x101)]=0x232a]=_0x2c15ac(0x101),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x284)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x95d4b8[_0x95d4b8['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2c15ac(0x171),_0x95d4b8[_0x95d4b8['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x95d4b8[_0x95d4b8[_0x2c15ac(0x25e)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x95d4b8[_0x95d4b8['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2c15ac(0x21f),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x164)]=0x2713]=_0x2c15ac(0x164),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x26b)]=0x2714]=_0x2c15ac(0x26b),_0x95d4b8[_0x95d4b8[_0x2c15ac(0xcd)]=0x271a]=_0x2c15ac(0xcd),_0x95d4b8[_0x95d4b8['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2c15ac(0x115),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x24e)]=0x271c]=_0x2c15ac(0x24e),_0x95d4b8[_0x95d4b8['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2c15ac(0x25c),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x2c0)]=0x271e]=_0x2c15ac(0x2c0),_0x95d4b8[_0x95d4b8['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2c15ac(0x19a),_0x95d4b8[_0x95d4b8['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2c15ac(0x1f1),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x123)]=0x2ee1]=_0x2c15ac(0x123),_0x95d4b8[_0x95d4b8['INVALID_INVITE_CODE']=0x2ee2]=_0x2c15ac(0x1f8),_0x95d4b8[_0x95d4b8[_0x2c15ac(0xe3)]=0x2ee3]=_0x2c15ac(0xe3),_0x95d4b8[_0x95d4b8['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2c15ac(0xe5),_0x95d4b8[_0x95d4b8[_0x2c15ac(0x201)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x95d4b8[_0x95d4b8[_0x2c15ac(0x1fd)]=0x32c9]=_0x2c15ac(0x1fd),_0x95d4b8[_0x95d4b8['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2c15ac(0x24b),_0x95d4b8[_0x95d4b8[_0x2c15ac(0xf2)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x95d4b8[_0x95d4b8[_0x2c15ac(0x1b8)]=-0x1]='UNRECOGNIZED',_0x95d4b8))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x249982,_0x17d960,_0x24bd29,_0x4c9e34)=>{const _0x36732c=_0x2c15ac;for(var _0x2909d1=_0x4c9e34>0x1?void 0x0:_0x4c9e34?pn(_0x17d960,_0x24bd29):_0x17d960,_0x18b40d=_0x249982[_0x36732c(0x215)]-0x1,_0x3094b1;_0x18b40d>=0x0;_0x18b40d--)(_0x3094b1=_0x249982[_0x18b40d])&&(_0x2909d1=_0x3094b1(_0x2909d1)||_0x2909d1);return _0x2909d1;},be=(_0x36b80c,_0x38023f)=>(_0x5081ee,_0x5bde32)=>_0x38023f(_0x5081ee,_0x5bde32,_0x36b80c);let rt=class extends _0x4c53e2{constructor(_0x3e0d99,_0x5112c6,_0x549f07){const _0x146b84=_0x2c15ac;super(),this[_0x146b84(0x1cf)]=_0x3e0d99,this[_0x146b84(0x190)]=_0x5112c6,this[_0x146b84(0xde)]=_0x549f07;}async['runOnServer'](_0x273e88,_0x3d0bfa,_0x4430fa,..._0x39f10d){const _0x4c0fb2=_0x2c15ac;var _0x3a45e4,_0x484894,_0x105a9a,_0x6da5c0;const _0x3869cc=this[_0x4c0fb2(0x1cf)][_0x4c0fb2(0x281)]();if(!_0x3869cc)throw new Error(_0x4c0fb2(0xd5));const _0x2080c0=((_0x3a45e4=this[_0x4c0fb2(0xde)][_0x4c0fb2(0x1fe)](_0x4b54e4))!=null?_0x3a45e4:_0x708992)+'/'+_0x273e88+_0x4c0fb2(0x13b)+_0x3d0bfa,_0x354464=new URL(window[_0x4c0fb2(0x14a)][_0x4c0fb2(0xf3)]),_0x2f5e95={'scriptId':_0x273e88,'runId':(_0x484894=_0x354464[_0x4c0fb2(0x17e)][_0x4c0fb2(0x13f)]('runId'))!=null?_0x484894:'','function':_0x3d0bfa,'unitId':_0x3869cc[_0x4c0fb2(0xcf)](),'argsOfFunction':JSON[_0x4c0fb2(0x1ae)](_0x39f10d),'invokeId':(_0x105a9a=_0x4430fa[_0x4c0fb2(0x1ad)])!=null?_0x105a9a:'','executionId':(_0x6da5c0=_0x4430fa[_0x4c0fb2(0x1dd)])!=null?_0x6da5c0:''};try{const _0x1f2aa3=await this[_0x4c0fb2(0x190)][_0x4c0fb2(0x1b7)](_0x2080c0,{'body':_0x2f5e95});return _0x1f2aa3['body'][_0x4c0fb2(0x1af)]&&_0x1f2aa3[_0x4c0fb2(0x1ba)][_0x4c0fb2(0x1af)]['code']!==Mt['OK']?_0x4c0fb2(0xc4):_0x1f2aa3[_0x4c0fb2(0x1ba)][_0x4c0fb2(0x131)];}catch{return _0x4c0fb2(0xc4);}}};rt=Cn([be(0x0,_0x2950a1),be(0x1,_0x4ac5cb(_0x4e09b8)),be(0x2,_0x16807e)],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 _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 +1 @@
1
- const _0x1ff942=_0x2a0c;(function(_0x2f6fa1,_0x559399){const _0x54f547=_0x2a0c,_0x222ffb=_0x2f6fa1();while(!![]){try{const _0x51d935=parseInt(_0x54f547(0x1ac))/0x1+-parseInt(_0x54f547(0x1b1))/0x2*(-parseInt(_0x54f547(0x1a7))/0x3)+-parseInt(_0x54f547(0x1b3))/0x4*(-parseInt(_0x54f547(0x1b5))/0x5)+-parseInt(_0x54f547(0x1b7))/0x6+parseInt(_0x54f547(0x1bb))/0x7*(-parseInt(_0x54f547(0x1bc))/0x8)+parseInt(_0x54f547(0x1ad))/0x9+-parseInt(_0x54f547(0x1ba))/0xa;if(_0x51d935===_0x559399)break;else _0x222ffb['push'](_0x222ffb['shift']());}catch(_0x1d72cd){_0x222ffb['push'](_0x222ffb['shift']());}}}(_0x4ce7,0x7302e));const e={'collab-client':{'tooltip':{'reconnect':_0x1ff942(0x1b6)}},'collabStatus':{'fetchMiss':_0x1ff942(0x1aa),'conflict':'Edit\x20conflicts','notCollab':_0x1ff942(0x1be),'synced':_0x1ff942(0x1ab),'syncing':_0x1ff942(0x1b0),'offline':_0x1ff942(0x1b2)},'session':{'connection-failed':_0x1ff942(0x1b9),'will-retry':_0x1ff942(0x1a8),'room-full':_0x1ff942(0x1bd),'collaboration-timeout':_0x1ff942(0x1b8)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x1ff942(0x1b4)},'permission':{'title':_0x1ff942(0x1af),'content':_0x1ff942(0x1a9)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x1ff942(0x1ae)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x2a0c(_0x1a2916,_0x3682e0){const _0x4ce7c2=_0x4ce7();return _0x2a0c=function(_0x2a0cd5,_0x431eb5){_0x2a0cd5=_0x2a0cd5-0x1a7;let _0x518a22=_0x4ce7c2[_0x2a0cd5];return _0x518a22;},_0x2a0c(_0x1a2916,_0x3682e0);}function _0x4ce7(){const _0x5e8e93=['Connection\x20failed,\x20please\x20check\x20your\x20network.','7943270NEOkLa','7ublGad','4331704NDDqYD','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','24YiwEWw','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','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...','Synced','220149DuAIlT','3527856UgiHep','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','Syncing...','156118pYjqaF','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','12uPYudB','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.','1355385qHxFWx','Click\x20to\x20Reconnect','1457760AJmqdo','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x4ce7=function(){return _0x5e8e93;};return _0x4ce7();}export{e as default};
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 +1 @@
1
- const _0x3e4d61=_0x278c;(function(_0x14cf21,_0x1ae48c){const _0x337336=_0x278c,_0x43dae2=_0x14cf21();while(!![]){try{const _0xda622a=parseInt(_0x337336(0x14e))/0x1*(-parseInt(_0x337336(0x149))/0x2)+parseInt(_0x337336(0x14f))/0x3*(-parseInt(_0x337336(0x146))/0x4)+parseInt(_0x337336(0x13d))/0x5*(parseInt(_0x337336(0x13b))/0x6)+-parseInt(_0x337336(0x139))/0x7+parseInt(_0x337336(0x145))/0x8*(parseInt(_0x337336(0x141))/0x9)+-parseInt(_0x337336(0x13c))/0xa+parseInt(_0x337336(0x14a))/0xb;if(_0xda622a===_0x1ae48c)break;else _0x43dae2['push'](_0x43dae2['shift']());}catch(_0x1b662e){_0x43dae2['push'](_0x43dae2['shift']());}}}(_0x5dce,0xa11b8));const o={'collab-client':{'tooltip':{'reconnect':_0x3e4d61(0x144)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x3e4d61(0x13a),'notCollab':_0x3e4d61(0x14d),'synced':_0x3e4d61(0x13f),'syncing':_0x3e4d61(0x137),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x3e4d61(0x148),'will-retry':_0x3e4d61(0x142),'room-full':_0x3e4d61(0x13e),'collaboration-timeout':_0x3e4d61(0x143)},'conflict':{'title':_0x3e4d61(0x140),'content':_0x3e4d61(0x138)},'permission':{'title':_0x3e4d61(0x147),'content':_0x3e4d61(0x14c)},'collaboration':{'single-unit':{'warning':_0x3e4d61(0x14b)},'closeRoom':_0x3e4d61(0x150)},'auth':{'needGotoLoginAlert':_0x3e4d61(0x136)}};function _0x5dce(){const _0x4fa004=['7297164wUSkMI','تداخل\x20ویرایش','82878jieEHn','3918880kkSBoH','295rSZIwp','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','همگام\x20سازی','تداخل\x20همکاری','18WvyuKj','اتصال\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کنید','4004968xidakS','7256oIfmfC','خطای\x20اعتبارسنجی','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','60922NGKeLR','10681748nwjcMQ','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','پرونده\x20محلی','19OFKcni','189kQTIsy','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','در\x20حال\x20همگام\x20سازی...','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'];_0x5dce=function(){return _0x4fa004;};return _0x5dce();}function _0x278c(_0x34ba42,_0x5c6cfd){const _0x5dce97=_0x5dce();return _0x278c=function(_0x278cb4,_0x175fb3){_0x278cb4=_0x278cb4-0x136;let _0x45cb21=_0x5dce97[_0x278cb4];return _0x45cb21;},_0x278c(_0x34ba42,_0x5c6cfd);}export{o as default};
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};