@univerjs-pro/collaboration-client-ui 0.6.2 → 0.6.3-nightly.202503051607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3339d5=_0x587f;(function(_0x15a19e,_0xf06337){const _0x183a74=_0x587f,_0xb09226=_0x15a19e();while(!![]){try{const _0x38e3c9=parseInt(_0x183a74(0x126))/0x1+parseInt(_0x183a74(0x1a6))/0x2*(-parseInt(_0x183a74(0xe1))/0x3)+parseInt(_0x183a74(0xc1))/0x4+-parseInt(_0x183a74(0x241))/0x5+-parseInt(_0x183a74(0x1be))/0x6+parseInt(_0x183a74(0xf6))/0x7+parseInt(_0x183a74(0x19f))/0x8;if(_0x38e3c9===_0xf06337)break;else _0xb09226['push'](_0xb09226['shift']());}catch(_0x3d3538){_0xb09226['push'](_0xb09226['shift']());}}}(_0x414c,0xc62eb));var kt=Object[_0x3339d5(0x102)],Bt=(_0x353da2,_0x4ec6af,_0x5443a1)=>_0x4ec6af in _0x353da2?kt(_0x353da2,_0x4ec6af,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5443a1}):_0x353da2[_0x4ec6af]=_0x5443a1,h=(_0x4c2b6d,_0x5090b3,_0x3c9607)=>Bt(_0x4c2b6d,typeof _0x5090b3!='symbol'?_0x5090b3+'':_0x5090b3,_0x3c9607);import{MemberService as _0x433a68,SessionStatus as _0x2d1dd8,CollaborationSessionService as _0x212484,CollaborationStatus as _0x41f6d3,CollaborationController as _0x2a81e4,ILocalCacheService as _0x3bff1c,CollaborationUIEventService as _0x67f5fc,CollaborationUIEventId as _0x265463,DataLoaderService as _0x49491c,DocCollaborationEntity as _0x5ebf78,getLocalCacheKey as _0x3ea19b,LOCAL_CACHE_INTERVAL as _0x57c8e3,LOCAL_CACHE_INTERVAL_KEY as _0x421815,UniverCollaborationClientPlugin as _0x21de00,CollaborationSocketService as _0x449592,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x510817,DEFAULT_WS_SESSION_TICKET_URL as _0x220565,UnitStatus as _0x27a9b0,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x26174b,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4aa098}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x560405,Disposable as _0x2bd1d4,DOC_RANGE_TYPE as _0x30e664,Inject as _0x482cd6,Injector as _0x3c7991,IUniverInstanceService as _0x4b01c1,ICommandService as _0x4514f4,debounce as _0x4d3bad,Rectangle as _0x3d7f1b,DisposableCollection as _0x3f5349,toDisposable as _0x12fcb9,UniverInstanceType as _0x3fe5fd,Tools as _0x44d009,COLORS as _0x220bae,ColorKit as _0x3b232c,ThemeService as _0x3afe55,fromEventSubject as _0x497e49,LocaleService as _0x5497a5,createIdentifier as _0x2a5f17,ILogService as _0x4d7927,Optional as _0x3d7ff8,Workbook as _0x587ddd,CommandType as _0x13761c,IConfigService as _0x449af2,ILocalStorageService as _0x5017ac,DependentOn as _0x1917f6,Plugin as _0x92c45,merge as _0x219969,registerDependencies as _0x4f1a3f,mergeOverrideWithDependencies as _0x7fa595,touchDependencies as _0x4b86e1,generateRandomId as _0x1eae00}from'@univerjs/core';import{Shape as _0x15a83f,Rect as _0x4b981c,getColor as _0x2e2eef,RegularPolygon as _0xa367a7,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xd4f0f0,Vector2 as _0x4ea2cd,SHEET_VIEWPORT_KEY as _0x59b954,IRenderManagerService as _0x1d30b1}from'@univerjs/engine-render';import{ISocketService as _0x5bb4bb,WebSocketService as _0x39824d,HTTPService as _0x577891}from'@univerjs/network';import{IDocClipboardService as _0x4f9c70,NodePositionConvertToCursor as _0x1de406,NodePositionConvertToRectRange as _0x413958,TEXT_RANGE_LAYER_INDEX as _0x1f3793,SetDocZoomRatioOperation as _0x24ceeb,DocIMEInputManagerService as _0x340d1f,DocStateChangeManagerService as _0x1d3dda}from'@univerjs/docs-ui';import{IImageIoService as _0x4d3129}from'@univerjs/drawing';import{BehaviorSubject as _0x2a8032,debounceTime as _0x43bed1,takeUntil as _0x535f62,Subject as _0x12f9d1,filter as _0x3c6f92,switchMap as _0x493419,merge as _0x493055,combineLatest as _0x12e470,of as _0x46a1eb,fromEvent as _0x4b29d5,shareReplay as _0x188ffe,mapTo as _0x2b8fca,distinctUntilChanged as _0x459010}from'rxjs';import{SetTextSelectionsOperation as _0x3d0e26,RichTextEditingMutation as _0x1ccc48,DocSelectionManagerService as _0x5a4d54,DocSkeletonManagerService as _0x4b21f1}from'@univerjs/docs';import{ITransformService as _0x4fdee5,CollaborationEvent as _0x2558b2,isTransformMutationFailure as _0x300d8c,isTransformMutationsWithChangesetSuccess as _0x4c6bf8,RevisionService as _0x174477,ISnapshotServerService as _0x231dc3}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x122fc0,serializeRangeWithSheet as _0x37a7fe}from'@univerjs/engine-formula';import{RefRangeService as _0x1f5a4c,SetSelectionsOperation as _0x5cb96c,SheetsSelectionsService as _0x537fa8,EffectRefRangId as _0x391a0c,handleIRemoveRow as _0x35b3fb,handleIRemoveCol as _0x17365a,handleMoveRange as _0x221d35,handleInsertRow as _0x48ddf8,handleInsertRangeMoveRight as _0x31528e,handleInsertRangeMoveDown as _0x5225b6,handleInsertCol as _0x3f4bdd,handleDeleteRangeMoveUp as _0x34af19,handleDeleteRangeMoveLeft as _0x45ba43,runRefRangeMutations as _0x3a7a88,SetWorksheetActivateCommand as _0x2fe2a3}from'@univerjs/sheets';import{map as _0x28fd14,filter as _0x2bfcd1,throttleTime as _0xcf782a,takeUntil as _0x48338a,switchMap as _0x34d2e9}from'rxjs/operators';import{SheetSkeletonManagerService as _0x35c5fe,getCoordByCell as _0x365891,getSheetObject as _0x742b9b}from'@univerjs/sheets-ui';import{jsx as _0x2f3542,jsxs as _0x120244}from'react/jsx-runtime';import{useObservable as _0x4cb4ae,useDependency as _0x2b548a,IUIPartsService as _0x25df11,BuiltInUIPart as _0x3f1d44,connectInjector as _0x52732,IBeforeCloseService as _0x506cd9,IMessageService as _0x4b68b1,INotificationService as _0x142dbc}from'@univerjs/ui';import{clsx as _0x15b967,Tooltip as _0x10b901,MessageType as _0xa98450}from'@univerjs/design';function _0x414c(){const _0x30b5cb=['_shapes','CLOSE_ROOM','session.connection-failed','url(#on-line-single_clip0_910_349)','push','_drawRectRange','InsertRowCommandId','createInstance','getUnitStatus$','row','_handleEvent','stringify','NO_OTHER_CLIENTS_EDITING','onCommandExecuted','NOT_FOUND','textRanges','toString','transformMutation','OTHER_CLIENTS_EDITING','subscribeEvent','_drawTextRange','restore','column','SOCKET_FAILED','_getScale','className','origin','collab-client.tooltip.reconnect','#fff','loadUnit','Error','Unknown\x20user','collab-rect-range-','_initEvent','_config','storage','INTERNAL_ERROR','popstate','height','roomMembers$','svg','transformIMECache','getFocusedUnit','focused$','clearTimeout','univerjs-icon\x20univerjs-icon-','APPLY_DUPLICATED','registerRenderModule','OFFLINE','transformByState','disposeWithMe','skeleton','propertyIsEnumerable','from','_color','complete','disposeUnit','univer-flex\x20univer-items-center','_cursorShapes','APPLY_REVISION_CONFILICT','_selfUnitIDs','hovered','m1Prime','RECT','send','with','newValue','bottom','getTypeOfUnitDisposed$','getStateCache','colorChannel1','univer-online-status-icon','getUndoRedoMutationParamsCache','getCurrentSelections','_anchor','_docTransformStateCacheService','onlineStatus','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','_httpService','_onCursorDelete','_initStatusListener','labelPosition','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_removeCollabCursors','fillText','findNodePositionByCharIndex','length','cursorInfo','measureText','icon','AWAITING','syncEditingCollabCursor','CHANGESET_REVISION_CONFILICT','_localeService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','call','_docSkeleton','getUnitId','transformSelections','_anchorDot','_context','getSheetId','verdancy600','univer-online','_document','eventID','url(#$1','executeCommand','4975800opbJev','[CollaborationDataLoaderController]','_initResize','_getSaveTimeout','roomMembers','session.will-retry','UNIVER_SHEET','m2Prime','jiqing500','getOwnPropertySymbols','_hovered','_registerDependencies','getMergeData','addObject','_refreshCollabCursors','engine','trim','SOCKET_FAILED_RETRY','_localCacheService','collabCursorState$','_localStorageService','_hover','clearInterval','runId','YUUMI_SUBSCRIPTION_NOT_FOUND','path','startColumn','substring','docStateChange$','override','_getSheetObject','DeleteRangeMoveUpCommandId','unitID','hide','collabStatus.synced','saveImage','saveOfflineData','_refRangeService','getUniverSheetInstance','editingUnit','_render','_notificationService','all','_toggleOffline','OTHER_CLIENT_EDITING','_transformPreviousActiveRange','_instanceService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','SNAPSHOT_INVALID_SNAPSHOT','collabStatus.fetchMiss','xlink:href','onlineStatusTitle','dispose','PERMISSION_DENIED','_collaborationController','evenodd','runOnServer','get','unit','entityInit$','_transformService','_transformHistoryAndStateStack','invokeId','_hideTimer','online','currentTheme$','UNDEFINED','getCurrentRevOfUnit','fillRule','selection','offline','onTransformChange$','string','use','_setupBeforeClosingHandler','black','sessionStatus$','saveTaskMap','range','unitId','_saveCache','_initCommandExecutedListener','mask','setInterval','permission.content','prototype','show','undoState','post','APPLY_NON_SEQUENTIAL_REVISION','clipPath','UNAUTHENTICATED','_scene','collaboration-client.offline-data-not-saved','tag','univer-online-status','YUUMI_RATE_OVER_LIMIT','ticket','_textBubble','collabStatus.notCollab','_registerRenderDependencies','M0\x200H16V16H0z','updateOfflineData','_colorIndex','_setupSubUnitSync','_imageIoService','getActiveSheet','InsertRangeMoveRightCommandId','OnLineSingle','onPointerEnter$','code','setAlpha','moveTo','_updateURLWithCurrentState','CONFLICT','#FFF','width','_assignedColors','_disabled','assignAColorForMemberID','_cursors','_backgroundColor','urlChange$','NOT_COLLAB','subunit','_docTransformIMECacheService','_scheduleClearOtherTimer','263796NkuTrW','APPLY_REJECT','_startSheetCollabCursor','setUndoRedoMutationParamsCache','actions','_removeClearOtherTimer','APPLY_PERMISSION_DENIED','SUBMIT_CHANGESET_TIMEOUT','_updateCollabCursors','unsubscribe','_handleHover','event$','_collabSessionService','_cursor','idSuffix','forEach','_getMergeRange','_docSkeletonManagerService','transformMutationsWithChangeset','MUTATION','isEditing','getOwnPropertyDescriptor','getParam','add','selections','univer-online-status-title','MoveRangeCommandId','memberID','div','triggerDblclick','getDocRanges','_getAnchorBounding','135UwnHxX','_messageService','_handleHeartbeatEvent','has','_commandService','location','UniverIcon','closePath','unload','setTimeout','createSocket','_saveTaskMap','_collaborationUIEventService','fillStyle','pipe','error','getRenderById','_handleJoinEvent','_status$','_onCursorUpdate','VIEW_MAIN','3367966BZQGlM','min','_memberService','params','_docClipboardService','_injector','next','top','_init','1em','fill','currentSkeleton$','defineProperty','data','univer-offline','_ensureSubject','beginPath','_createSocketURL','UNIVER_DOC','getCollabEntity$','key','collabStatus.offline','LICENSE_DISTRO_REJECTED','collaboration.single-unit.warning','requireSession','_toggleOnline','getItem','_getSessionTicket','_sheetSkeletonManagerService','save','AWAITING_WITH_PENDING','InsertColCommandId','type','random','defIds','values','UNRECOGNIZED','_roomMembers$','generateRandomId','searchParams','concat','_range','body','doc.mutation.rich-text-editing','name','subUnitId','_online','resize','1495971AkzGIj','_urlService','subscribe','_configService','color','/run/','onMouseMove','_eventUnsubscribe','result','then','ALREADY_EXISTS','font','_docStateChangeManagerService','_labelPosition','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSkeleton','parse','cursorInfo$','addObjects','pushState','ENSURE_SNAPSHOT_EXECUTION','_handleLeaveEvent','LICENSE_IMPORT_SIZE_EXCEEDED','rgba(255,\x20255,\x20255,\x200.01)','LICENSE_MAX_UNITS_EXCEEDED','flatMap','_id','getSheetBySheetId','debug','_initEntityListener','sheetID','getCurrent','CONNECTOR_DATA_TOO_LARGE','_scheduleHeartbeat','_startDocCollabCursor','_initDependencies','_updateSubUnitFromURLParams','entries','PY_RUNTIME_SCRIPT_ERROR','_draw','endRow','on-line-single_clip0_910_349','JOIN_ROOM_FAILED','collabStatus.syncing','lineTo','_beforeCloseService','sheetId','href','USERS_LEAVE','_unitOnClients','_entityInit$','registerBeforeClose','enableLocalCache','transformStateCache','application/json','apply','hasOwnProperty','_cursorInfo$','DeleteRangeMoveLeftCommandId','round','toRgbString','executionId','map','getConfig','SYNCED','LICENSE_EXPORT_SIZE_EXCEEDED','history','OffLineSingle','_clearOtherTimers','source','_colorAssignService','some','on-line-single','asObservable','_onRefRangeChange','attrs','UPDATE_CURSOR','registerRefRange','children','disableLocalCache','displayName','contains','RemoveColCommandId','0\x200\x2016\x2016','collab-text-anchor-','mutations','backgroundColor','_scheduleSaving','uni.network.url-service','replaceState','_revisionService','getRangePointData','setConfig','init','getAncestorScale','TEXT','onPointerLeave$','setParam','set','getTypeOfUnitAdded$','defs','[RemoteUniscriptService]:\x20no\x20focused\x20unit','onlineStatusIcon','_docTransformSelectionsService','_collabCursorController','redoState','size','_collabCursorState$','isArray','_dataLoaderService','COMPLETION_FINISHED','indexOf','_transformUndoRedoStack','replace','arc','endColumn','getValue','_themeService','YUUMI_UNABLE_LOAD_URL','delete','extend','11886456jZgvwH','currentColor','deepClone','_univerInstanceService','purple300','_cachedData','addHandlerCallback','34350FyrGXZ','Warning','addClipboardHook','text','_logService','_initStatusComponent','whenReady','_syncEditingCollabCursorService','...','ONLINE','dispose$','_lastPointer','getCollabCursors$','_name','transformRemoteChangeset','_session','drawWith','onStarting','off-line-single','setShapeProps','startsWith','isActive','_send','_renderManagerService','5694450UuIXkw','collabStatus.conflict','removeParam','INVALID_ARGUMENT','_entities','current','collaboration.closeRoom','search','registerComponent','_doCreateSocket','getMemberID','collab-text-range-','PENDING','unshift','SNAPSHOT_HAS_BEEN_REMOVED','assign','setItem','_heartbeatTimer','_unitStatus','_updateLocalCursor','FromArray','YUUMI_URL_COL_OUT_OF_RANGE','ranges'];_0x414c=function(){return _0x30b5cb;};return _0x414c();}import{forwardRef as _0x3649c0,useRef as _0x1d45fc,createElement as _0x8a5a6d,useCallback as _0x1a2357}from'react';import{IRemoteInstanceService as _0x3cab73}from'@univerjs/rpc';var li=Object[_0x3339d5(0xd6)],hi=(_0xd79004,_0x21859d,_0x56b87a,_0x33387e)=>{const _0x8230e=_0x3339d5;for(var _0x5051e9=_0x33387e>0x1?void 0x0:_0x33387e?li(_0x21859d,_0x56b87a):_0x21859d,_0x3b7c8e=_0xd79004[_0x8230e(0x22b)]-0x1,_0x42444f;_0x3b7c8e>=0x0;_0x3b7c8e--)(_0x42444f=_0xd79004[_0x3b7c8e])&&(_0x5051e9=_0x42444f(_0x5051e9)||_0x5051e9);return _0x5051e9;},qe=(_0x473363,_0xda0a57)=>(_0x17ba0d,_0x34b8af)=>_0xda0a57(_0x17ba0d,_0x34b8af,_0x473363);let Me=class extends _0x560405{constructor(_0x4fa64b,_0x20eeb){const _0x23f53f=_0x3339d5;super(),this[_0x23f53f(0xfa)]=_0x4fa64b,this[_0x23f53f(0xab)]=_0x20eeb,this[_0x23f53f(0xfe)]();}[_0x3339d5(0xfe)](){const _0x562b14=_0x3339d5,_0x94c657=this;this[_0x562b14(0x207)](this[_0x562b14(0xfa)][_0x562b14(0x1a8)]({'onBeforePasteImage':async _0x4c188d=>{const _0x25371d=_0x562b14,_0x2edf05=await _0x94c657['_imageIoService'][_0x25371d(0x264)](_0x4c188d);return _0x2edf05?{'source':_0x2edf05[_0x25371d(0x16b)],'imageSourceType':_0x2edf05['imageSourceType']}:null;}}));}};Me=hi([qe(0x0,_0x4f9c70),qe(0x1,_0x4d3129)],Me);const Qe=[_0x3339d5(0x1a3),_0x3339d5(0x249),_0x3339d5(0x23b),'red300','blue400','gold400'];class He extends _0x2bd1d4{constructor(){const _0x18a7a3=_0x3339d5;super(...arguments),h(this,_0x18a7a3(0xb7),new Map()),h(this,_0x18a7a3(0xa9),0x0);}[_0x3339d5(0xb9)](_0xf4cb4a){const _0x27d8da=_0x3339d5;if(this[_0x27d8da(0xb7)][_0x27d8da(0xe4)](_0xf4cb4a))return this[_0x27d8da(0xb7)][_0x27d8da(0x27a)](_0xf4cb4a);const _0x56aa9c=Qe[this[_0x27d8da(0xa9)]];return this['_colorIndex']=(this[_0x27d8da(0xa9)]+0x1)%Qe['length'],this[_0x27d8da(0xb7)]['set'](_0xf4cb4a,_0x56aa9c),_0x56aa9c;}}function Dt(_0x42e575){const _0xb9e93c=_0x3339d5;let _0x2fcbfd='';for(const _0x411b09 of _0x42e575){const {startOffset:_0x25b37c,endOffset:_0x3f0af1,isActive:_0x3ae70a,rangeType:_0x406d25,segmentId:_0x1e051d,segmentPage:_0x1992d}=_0x411b09;_0x2fcbfd[_0xb9e93c(0x22b)]&&(_0x2fcbfd+=','),_0x2fcbfd+=_0x25b37c+':'+_0x3f0af1+':'+(_0x3ae70a?'1':'0')+':'+_0x406d25+':'+_0x1e051d+':'+_0x1992d;}return _0x2fcbfd;}function _i(_0x270b16){const _0x4f0667=_0x3339d5,_0x3fcd59=_0x270b16['split'](','),_0x2f4424=[];for(const _0x5d0c5d of _0x3fcd59){const [_0x2e0388,_0x490099,_0x1494a6,_0x27861a,_0x1ac4e1,_0x1d9e73]=_0x5d0c5d['split'](':');_0x2f4424['push']({'startOffset':Number(_0x2e0388),'endOffset':Number(_0x490099),'collapsed':_0x2e0388===_0x490099,'isActive':_0x1494a6==='1','rangeType':_0x27861a===_0x30e664[_0x4f0667(0x185)]?_0x30e664[_0x4f0667(0x185)]:_0x30e664[_0x4f0667(0x214)],'segmentId':typeof _0x1ac4e1==_0x4f0667(0x289)?String(_0x1ac4e1):'','segmentPage':Number(_0x1d9e73!=null?_0x1d9e73:-0x1)});}return _0x2f4424[_0x4f0667(0x16d)](_0x27e1e4=>_0x27e1e4['isActive'])||(_0x2f4424[0x0][_0x4f0667(0x1bb)]=!0x0),_0x2f4424;}class je extends _0x560405{constructor(){const _0x3fabc9=_0x3339d5;super(...arguments),h(this,_0x3fabc9(0x191),new _0x2a8032(null)),h(this,_0x3fabc9(0x254),this[_0x3fabc9(0x191)][_0x3fabc9(0x16f)]());}[_0x3339d5(0x230)](_0x575d69){const _0x4fca1f=_0x3339d5,{unitID:_0x4091f5,memberID:_0x58af83,textRanges:_0x277f68}=_0x575d69,_0x18b16b=Dt(_0x277f68);if(_0x18b16b==='')return;const _0x9fc8e0={'unitID':_0x4091f5,'memberID':_0x58af83,'selection':_0x18b16b};this[_0x4fca1f(0x191)]['next'](_0x9fc8e0);}}var ui=Object[_0x3339d5(0xd6)],di=(_0x108aeb,_0x2d5697,_0x2ebe0e,_0x39379c)=>{const _0xe22e0=_0x3339d5;for(var _0x381a9c=_0x39379c>0x1?void 0x0:_0x39379c?ui(_0x2d5697,_0x2ebe0e):_0x2d5697,_0x16579b=_0x108aeb[_0xe22e0(0x22b)]-0x1,_0x57acb0;_0x16579b>=0x0;_0x16579b--)(_0x57acb0=_0x108aeb[_0x16579b])&&(_0x381a9c=_0x57acb0(_0x381a9c)||_0x381a9c);return _0x381a9c;},U=(_0x169161,_0x2a3ddc)=>(_0x154c7b,_0x3a4d42)=>_0x2a3ddc(_0x154c7b,_0x3a4d42,_0x169161);const fi=0x12c,Si=0x64;let Ne=class extends _0x560405{constructor(_0x1c8cab,_0x1bd95,_0x3e7862,_0x177d19,_0x49fbfe,_0xb9a7e4,_0x900648,_0x169adc,_0x2f6c49){const _0x23b0ec=_0x3339d5;super(),h(this,_0x23b0ec(0x124),!0x1),h(this,_0x23b0ec(0xfe),!0x1),h(this,'_cursorInfo$',new _0x2a8032(new Map())),h(this,_0x23b0ec(0x137),this[_0x23b0ec(0x15f)][_0x23b0ec(0x16f)]()),h(this,_0x23b0ec(0x11b),new _0x2a8032([])),h(this,'roomMembers$',this[_0x23b0ec(0x11b)][_0x23b0ec(0xef)](_0x43bed1(fi))),h(this,_0x23b0ec(0x1d1),_0x4d3bad(_0x15d9a1=>{const _0x341886=_0x23b0ec,_0x5886e3={'eventID':_0x2558b2[_0x341886(0x172)],'data':{'unitID':this[_0x341886(0x261)],'memberID':this['_session']['getMemberID'](),'selection':Dt(_0x15d9a1)}};this['_session'][_0x341886(0x215)](_0x5886e3,this[_0x341886(0x261)]);},Si)),(this['unitID']=_0x1c8cab,this['_session']=_0x1bd95,this[_0x23b0ec(0xfb)]=_0x3e7862,this[_0x23b0ec(0x16c)]=_0x177d19,this[_0x23b0ec(0xf8)]=_0x49fbfe,this[_0x23b0ec(0x1ad)]=_0xb9a7e4,this['_transformService']=_0x900648,this['_univerInstanceService']=_0x169adc,this['_commandService']=_0x2f6c49);}get[_0x3339d5(0x22c)](){const _0x1adaea=_0x3339d5;return this[_0x1adaea(0x15f)][_0x1adaea(0x19a)]();}get['roomMembers'](){const _0x484b72=_0x3339d5;return this[_0x484b72(0x11b)]['getValue']();}[_0x3339d5(0x275)](){const _0x44a74b=_0x3339d5;super[_0x44a74b(0x275)](),this[_0x44a74b(0x15f)][_0x44a74b(0xfc)](new Map()),this[_0x44a74b(0x15f)]['complete'](),this[_0x44a74b(0x11b)]['next']([]),this['_roomMembers$']['complete']();}['init'](){const _0x3f7fd1=_0x3339d5;this[_0x3f7fd1(0xfe)]||(this[_0x3f7fd1(0xfe)]=!0x0,this[_0x3f7fd1(0x1b5)][_0x3f7fd1(0x28d)][_0x3f7fd1(0xef)](_0x535f62(this['dispose$']))['subscribe'](_0x4f6681=>{const _0x1a4de7=_0x3f7fd1;_0x4f6681===_0x2d1dd8[_0x1a4de7(0x1af)]?this['_toggleOnline']():this[_0x1a4de7(0x26c)]();}),this['_session'][_0x3f7fd1(0xcc)][_0x3f7fd1(0xef)](_0x535f62(this['dispose$']))[_0x3f7fd1(0x128)](_0x3742d=>{const _0x3090f9=_0x3f7fd1,_0x3154d2=_0x3742d['eventID'];_0x3154d2===_0x2558b2['UPDATE_CURSOR']&&this[_0x3090f9(0xf4)](_0x3742d),_0x3154d2===_0x2558b2['USERS_LEAVE']&&this[_0x3090f9(0x224)](_0x3742d);}),this[_0x3f7fd1(0x207)](this[_0x3f7fd1(0xe5)][_0x3f7fd1(0x1e2)](_0xda6587=>{const _0x11cd7c=_0x3f7fd1,_0x52d0fb=_0xda6587[_0x11cd7c(0xf9)];_0x52d0fb!=null&&this[_0x11cd7c(0x124)]&&_0xda6587['id']===_0x3d0e26['id']&&_0x52d0fb[_0x11cd7c(0x290)]===this[_0x11cd7c(0x261)]&&_0x52d0fb[_0x11cd7c(0xd5)]===!0x1&&_0x52d0fb[_0x11cd7c(0x1d4)][_0x11cd7c(0x22b)]>0x0&&this[_0x11cd7c(0x1d1)](_0x52d0fb[_0x11cd7c(0x1d4)]);})),this[_0x3f7fd1(0x1ad)][_0x3f7fd1(0x254)][_0x3f7fd1(0xef)](_0x535f62(this['dispose$']))[_0x3f7fd1(0x128)](_0x67cdfa=>{const _0x4d1263=_0x3f7fd1;if((_0x67cdfa==null?void 0x0:_0x67cdfa[_0x4d1263(0x261)])!==this[_0x4d1263(0x261)])return;const _0x3b3e64={'eventID':_0x2558b2[_0x4d1263(0x172)],'data':_0x67cdfa};this[_0x4d1263(0xf4)](_0x3b3e64);}),this['disposeWithMe'](this[_0x3f7fd1(0xe5)][_0x3f7fd1(0x1e2)](_0x405259=>{const _0x54962a=_0x3f7fd1;if(_0x405259['params']==null)return;const _0x10552d=_0x405259[_0x54962a(0xf9)];if(_0x405259['id']!==_0x1ccc48['id']||_0x10552d[_0x54962a(0x290)]!==this[_0x54962a(0x261)])return;const _0x365c15={'id':_0x54962a(0x121),'params':_0x10552d},_0x5b23d7=this['cursorInfo'];for(const [_0x5087af,_0x4f357f]of _0x5b23d7){const _0x36a9fd={'id':_0x54962a(0x121),'params':{'unitId':this[_0x54962a(0x261)],'actions':null,'textRanges':_0x4f357f['ranges']}},_0x1a6b3a=this['_transformService'][_0x54962a(0x1e6)](_0x365c15,_0x36a9fd,!0x1);if(_0x300d8c(_0x1a6b3a))throw _0x1a6b3a[_0x54962a(0xf0)];_0x5b23d7[_0x54962a(0x188)](_0x5087af,{..._0x4f357f,'ranges':_0x1a6b3a[_0x54962a(0x248)][_0x54962a(0xf9)]['textRanges']});}queueMicrotask(()=>{const _0x148c10=_0x54962a;this['_cursorInfo$'][_0x148c10(0xfc)](_0x5b23d7);});})));}[_0x3339d5(0xf4)](_0xbfcf18){const _0x2cb94b=_0x3339d5;var _0x1dbbad,_0x63ab6c;const {memberID:_0x2b1232,selection:_0x26322b}=_0xbfcf18['data'],_0x27a31c=_i(_0x26322b),_0x4dc837=(_0x63ab6c=(_0x1dbbad=this[_0x2cb94b(0xf8)]['getMember'](this[_0x2cb94b(0x261)],_0x2b1232))==null?void 0x0:_0x1dbbad[_0x2cb94b(0x122)])!=null?_0x63ab6c:_0x2cb94b(0x1f4),_0x2b045d={'color':this[_0x2cb94b(0x16c)][_0x2cb94b(0xb9)](_0x2b1232),'name':_0x4dc837,'ranges':_0x27a31c},_0x56ca7c=this[_0x2cb94b(0x22c)];_0x56ca7c[_0x2cb94b(0x188)](_0x2b1232,_0x2b045d),this[_0x2cb94b(0x15f)][_0x2cb94b(0xfc)](_0x56ca7c);}['_onCursorDelete'](_0x595ae4){const _0x32040b=_0x3339d5,{memberID:_0x52abf3}=_0x595ae4[_0x32040b(0x103)],_0x33226f=this[_0x32040b(0x22c)];_0x33226f[_0x32040b(0x19d)](_0x52abf3),this[_0x32040b(0x15f)][_0x32040b(0xfc)](_0x33226f);}[_0x3339d5(0x10f)](){const _0x523aaa=_0x3339d5;var _0x111c10;if(this[_0x523aaa(0x124)]=!0x0,((_0x111c10=this[_0x523aaa(0x1a2)][_0x523aaa(0x1ff)]())==null?void 0x0:_0x111c10['getUnitId']())!==this[_0x523aaa(0x261)])return;const _0x3ac476=this[_0x523aaa(0xfb)][_0x523aaa(0x27a)](_0x5a4d54)[_0x523aaa(0xdf)]();Array[_0x523aaa(0x192)](_0x3ac476)&&_0x3ac476[_0x523aaa(0x22b)]>0x0&&this[_0x523aaa(0x1d1)](_0x3ac476);}[_0x3339d5(0x26c)](){const _0x4acd0c=_0x3339d5;this[_0x4acd0c(0x124)]=!0x1;}};Ne=di([U(0x2,_0x482cd6(_0x3c7991)),U(0x3,_0x482cd6(He)),U(0x4,_0x482cd6(_0x433a68)),U(0x5,_0x482cd6(je)),U(0x6,_0x4fdee5),U(0x7,_0x4b01c1),U(0x8,_0x4514f4)],Ne);var mi=Object[_0x3339d5(0xd6)],gi=(_0x1ffa8b,_0x381ca0,_0x4712e6,_0x3071cd)=>{for(var _0x1a9229=_0x3071cd>0x1?void 0x0:_0x3071cd?mi(_0x381ca0,_0x4712e6):_0x381ca0,_0x154646=_0x1ffa8b['length']-0x1,_0x42053b;_0x154646>=0x0;_0x154646--)(_0x42053b=_0x1ffa8b[_0x154646])&&(_0x1a9229=_0x42053b(_0x1a9229)||_0x1a9229);return _0x1a9229;},x=(_0x2f4c3d,_0x263933)=>(_0x15f5bd,_0x250ecc)=>_0x263933(_0x15f5bd,_0x250ecc,_0x2f4c3d);const vi=0x12c,Ii=0x64,pi=()=>{let _0x54ef17=[],_0x4e4482=!0x1;return _0x2e1c2a=>{const _0x51a763=_0x587f;_0x54ef17[_0x51a763(0x1d9)](_0x2e1c2a),_0x4e4482||(_0x4e4482=!0x0,setTimeout(()=>{const _0x20d084=_0x51a763;_0x54ef17[_0x20d084(0xd0)](_0x459e31=>_0x459e31()),_0x54ef17=[],_0x4e4482=!0x1;}));};};let we=class extends _0x560405{constructor(_0x4935b8,_0x670c8f,_0x329eb6,_0x3379cb,_0x94e10c,_0x59413c,_0x21de18,_0x296d78){const _0x2be48a=_0x3339d5;super(),h(this,_0x2be48a(0x124),!0x1),h(this,_0x2be48a(0xfe),!0x1),h(this,_0x2be48a(0x15f),new _0x2a8032(new Map())),h(this,_0x2be48a(0x137),this[_0x2be48a(0x15f)]['asObservable']()),h(this,_0x2be48a(0x11b),new _0x2a8032([])),h(this,_0x2be48a(0x1fc),this[_0x2be48a(0x11b)][_0x2be48a(0xef)](_0x43bed1(vi))),h(this,_0x2be48a(0x1d1),_0x4d3bad((_0x379a51,_0x34f536)=>{const _0x1bff48=_0x2be48a,_0x50ba00={'eventID':_0x2558b2[_0x1bff48(0x172)],'data':{'unitID':this[_0x1bff48(0x261)],'memberID':this[_0x1bff48(0x1b5)][_0x1bff48(0x1c8)](),'selection':_0x37a7fe(_0x379a51,_0x34f536[_0x1bff48(0x28f)])}};this[_0x1bff48(0x1b5)][_0x1bff48(0x215)](_0x50ba00,this[_0x1bff48(0x261)]);},Ii)),(this[_0x2be48a(0x261)]=_0x4935b8,this[_0x2be48a(0x1b5)]=_0x670c8f,this['_injector']=_0x329eb6,this[_0x2be48a(0x16c)]=_0x3379cb,this['_memberService']=_0x94e10c,this[_0x2be48a(0x1a2)]=_0x59413c,this['_commandService']=_0x21de18,this[_0x2be48a(0x266)]=_0x296d78);}get[_0x3339d5(0x22c)](){const _0x39495d=_0x3339d5;return this[_0x39495d(0x15f)][_0x39495d(0x19a)]();}get[_0x3339d5(0x245)](){const _0x2cdb22=_0x3339d5;return this['_roomMembers$'][_0x2cdb22(0x19a)]();}[_0x3339d5(0x275)](){const _0x503cbe=_0x3339d5;super['dispose'](),this[_0x503cbe(0x15f)][_0x503cbe(0xfc)](new Map()),this[_0x503cbe(0x15f)]['complete'](),this[_0x503cbe(0x11b)]['next']([]),this[_0x503cbe(0x11b)][_0x503cbe(0x20c)]();}[_0x3339d5(0x183)](){const _0x519b84=_0x3339d5;this[_0x519b84(0xfe)]||(this['_init']=!0x0,this[_0x519b84(0x1b5)][_0x519b84(0x28d)][_0x519b84(0xef)](_0x535f62(this['dispose$']))[_0x519b84(0x128)](_0x3e1aa7=>{const _0x4f8048=_0x519b84;_0x3e1aa7===_0x2d1dd8['ONLINE']?this[_0x4f8048(0x10f)]():this['_toggleOffline']();}),this[_0x519b84(0x1b5)]['event$'][_0x519b84(0xef)](_0x535f62(this[_0x519b84(0x1b0)]))[_0x519b84(0x128)](_0x6f01c5=>{const _0x208915=_0x519b84,_0x284aaf=_0x6f01c5[_0x208915(0x23e)];_0x284aaf===_0x2558b2[_0x208915(0x172)]&&this[_0x208915(0xf4)](_0x6f01c5),_0x284aaf===_0x2558b2[_0x208915(0x156)]&&this[_0x208915(0x224)](_0x6f01c5);}),this[_0x519b84(0x170)](),this[_0x519b84(0x207)](this['_commandService'][_0x519b84(0x1e2)](_0x1a47b7=>{const _0x5bda53=_0x519b84;if(this[_0x5bda53(0x124)]&&_0x1a47b7['id']===_0x5cb96c['id']&&_0x1a47b7[_0x5bda53(0xf9)][_0x5bda53(0x290)]===this[_0x5bda53(0x261)]){const _0x54c037=_0x1a47b7['params'];this[_0x5bda53(0x1d1)](_0x54c037[_0x5bda53(0x123)],_0x54c037[_0x5bda53(0xd9)][0x0]);}})));}[_0x3339d5(0xf4)](_0x380580){const _0x1ed5af=_0x3339d5;var _0x3ba7b4,_0x575981;const {memberID:_0x45f8c6,selection:_0x32fe87}=_0x380580[_0x1ed5af(0x103)],{sheetName:_0x35d9df,range:_0x1b1497}=_0x122fc0(_0x32fe87),_0x594b0d={'name':(_0x575981=(_0x3ba7b4=this[_0x1ed5af(0xf8)]['getMember'](this['unitID'],_0x45f8c6))==null?void 0x0:_0x3ba7b4[_0x1ed5af(0x122)])!=null?_0x575981:_0x1ed5af(0x1f4),'range':this[_0x1ed5af(0xd1)](_0x35d9df,_0x1b1497),'sheetID':_0x35d9df,'color':this[_0x1ed5af(0x16c)][_0x1ed5af(0xb9)](_0x45f8c6),'selection':_0x32fe87},_0x242410=this[_0x1ed5af(0x22c)];_0x242410[_0x1ed5af(0x188)](_0x45f8c6,_0x594b0d),this['_cursorInfo$'][_0x1ed5af(0xfc)](_0x242410);}[_0x3339d5(0x224)](_0x107547){const _0x4c6850=_0x3339d5,{memberID:_0x3b3510}=_0x107547[_0x4c6850(0x103)],_0x4482a4=this[_0x4c6850(0x22c)];_0x4482a4[_0x4c6850(0x19d)](_0x3b3510),this[_0x4c6850(0x15f)]['next'](_0x4482a4);}['_getMergeRange'](_0x42a402,_0x99610e){const _0x108d80=_0x3339d5;var _0x33bcdd,_0x366d09;const _0x3a8115=(_0x366d09=(_0x33bcdd=this[_0x108d80(0x1a2)][_0x108d80(0x267)](this[_0x108d80(0x261)]))==null?void 0x0:_0x33bcdd['getSheetBySheetId'](_0x42a402))==null?void 0x0:_0x366d09[_0x108d80(0x24d)]();return(_0x3a8115==null?void 0x0:_0x3a8115['find'](_0x4c4cf6=>_0x3d7f1b[_0x108d80(0x177)](_0x4c4cf6,_0x99610e)))||_0x99610e;}[_0x3339d5(0x170)](){const _0x168c65=_0x3339d5,_0x55c5cd=new _0x3f5349(),_0x5e3d8f=pi(),_0x48236f=()=>{const _0x5ef537=_0x587f;_0x55c5cd[_0x5ef537(0x275)]();const _0x459928=(_0x22bdd1,_0x2b4d03,_0x49378d,_0x210ae4)=>{const _0x1749af=_0x5ef537;let _0x597a2a=[];switch(_0x22bdd1['id']){case _0x391a0c[_0x1749af(0x160)]:{_0x597a2a=_0x45ba43(_0x22bdd1,_0x210ae4);break;}case _0x391a0c[_0x1749af(0x260)]:{_0x597a2a=_0x34af19(_0x22bdd1,_0x210ae4);break;}case _0x391a0c[_0x1749af(0x115)]:{_0x597a2a=_0x3f4bdd(_0x22bdd1,_0x210ae4);break;}case _0x391a0c['InsertRangeMoveDownCommandId']:{_0x597a2a=_0x5225b6(_0x22bdd1,_0x210ae4);break;}case _0x391a0c[_0x1749af(0xad)]:{_0x597a2a=_0x31528e(_0x22bdd1,_0x210ae4);break;}case _0x391a0c[_0x1749af(0x1db)]:{_0x597a2a=_0x48ddf8(_0x22bdd1,_0x210ae4);break;}case _0x391a0c[_0x1749af(0xdb)]:{_0x597a2a=_0x221d35(_0x22bdd1,_0x210ae4);break;}case _0x391a0c[_0x1749af(0x178)]:{_0x597a2a=_0x17365a(_0x22bdd1,_0x210ae4);break;}case _0x391a0c['RemoveRowCommandId']:{_0x597a2a=_0x35b3fb(_0x22bdd1,_0x210ae4);break;}}const _0x3f29af=_0x3a7a88(_0x597a2a,_0x210ae4),_0x32d6c8=this[_0x1749af(0x22c)][_0x1749af(0x27a)](_0x2b4d03);if(_0x32d6c8&&_0x3f29af){const _0x45ba34={..._0x32d6c8,'range':_0x3f29af};this[_0x1749af(0x22c)][_0x1749af(0x188)](_0x2b4d03,_0x45ba34),_0x5e3d8f(()=>{const _0x11638f=_0x1749af,_0x532360=this[_0x11638f(0x266)][_0x11638f(0x173)](_0x3f29af,_0x3d2ac4=>(_0x532360[_0x11638f(0x275)](),_0x459928(_0x3d2ac4,_0x2b4d03,_0x49378d,_0x3f29af)));_0x55c5cd[_0x11638f(0xd8)](_0x532360);});}return{'redos':[],'undos':[]};};this[_0x5ef537(0x22c)][_0x5ef537(0xd0)]((_0x1da4e4,_0x268d28)=>{const _0xabb08d=_0x5ef537,{range:_0x25ebcd,sheetID:_0x2c8993}=_0x1da4e4,_0x1ced2a=this[_0xabb08d(0x266)]['registerRefRange'](_0x25ebcd,_0xc1938d=>(_0x1ced2a[_0xabb08d(0x275)](),_0x459928(_0xc1938d,_0x268d28,_0x2c8993,_0x25ebcd)));_0x55c5cd[_0xabb08d(0xd8)](_0x1ced2a);});};this[_0x168c65(0x207)](_0x12fcb9(this[_0x168c65(0x15f)][_0x168c65(0x128)](()=>{_0x48236f();})));}[_0x3339d5(0x10f)](){const _0x2db657=_0x3339d5;var _0x882cd9,_0xb8d6d1;if(this[_0x2db657(0x124)]=!0x0,((_0x882cd9=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x882cd9[_0x2db657(0x236)]())!==this[_0x2db657(0x261)])return;const _0x3aeef9=(_0xb8d6d1=this['_injector'][_0x2db657(0x27a)](_0x537fa8)[_0x2db657(0x21e)]())==null?void 0x0:_0xb8d6d1[0x0],_0xc0143f=this['_univerInstanceService']['getCurrentUnitForType'](_0x3fe5fd[_0x2db657(0x247)])[_0x2db657(0xac)]();_0x3aeef9&&_0xc0143f&&this[_0x2db657(0x1d1)](_0xc0143f[_0x2db657(0x23a)](),_0x3aeef9);}[_0x3339d5(0x26c)](){this['_online']=!0x1;}};we=gi([x(0x2,_0x482cd6(_0x3c7991)),x(0x3,_0x482cd6(He)),x(0x4,_0x482cd6(_0x433a68)),x(0x5,_0x4b01c1),x(0x6,_0x4514f4),x(0x7,_0x482cd6(_0x1f5a4c))],we);var Ci=Object['getOwnPropertyDescriptor'],bi=(_0x505355,_0x59ef4d,_0x39fa28,_0x2d9aa8)=>{const _0x54658e=_0x3339d5;for(var _0x30e3a2=_0x2d9aa8>0x1?void 0x0:_0x2d9aa8?Ci(_0x59ef4d,_0x39fa28):_0x59ef4d,_0x5b45f2=_0x505355[_0x54658e(0x22b)]-0x1,_0x524279;_0x5b45f2>=0x0;_0x5b45f2--)(_0x524279=_0x505355[_0x5b45f2])&&(_0x30e3a2=_0x524279(_0x30e3a2)||_0x30e3a2);return _0x30e3a2;},me=(_0x2eba5e,_0x932cee)=>(_0x10eda4,_0x44b0c8)=>_0x932cee(_0x10eda4,_0x44b0c8,_0x2eba5e);let H=class extends _0x560405{constructor(_0x2c22e0,_0x2c4f32,_0x5a3c70){const _0x18f95d=_0x3339d5;super(),h(this,_0x18f95d(0x1c2),new Map()),h(this,_0x18f95d(0x158),new _0x12f9d1()),(this[_0x18f95d(0x1a2)]=_0x2c22e0,this['_injector']=_0x2c4f32,this[_0x18f95d(0xcd)]=_0x5a3c70,this[_0x18f95d(0xfe)]());}[_0x3339d5(0x275)](){const _0x4f61bc=_0x3339d5;super[_0x4f61bc(0x275)](),this[_0x4f61bc(0x158)][_0x4f61bc(0x20c)](),this['_entities'][_0x4f61bc(0xd0)](_0x2b5cb0=>_0x2b5cb0[_0x4f61bc(0x275)]());}[_0x3339d5(0x1b2)](_0x3a4b68){const _0x1f2e19=_0x3339d5;return this[_0x1f2e19(0x1c2)][_0x1f2e19(0xe4)](_0x3a4b68)?this['_entities'][_0x1f2e19(0x27a)](_0x3a4b68)['cursorInfo$']:this[_0x1f2e19(0x158)]['pipe'](_0x3c6f92(_0x594f2e=>_0x594f2e[_0x1f2e19(0x261)]===_0x3a4b68),_0x493419(_0x191603=>_0x191603[_0x1f2e19(0x137)]));}[_0x3339d5(0xfe)](){const _0xb08a7c=_0x3339d5;this[_0xb08a7c(0x1a2)][_0xb08a7c(0x189)](_0x3fe5fd[_0xb08a7c(0x247)])[_0xb08a7c(0xef)](_0x535f62(this[_0xb08a7c(0x1b0)]))[_0xb08a7c(0x128)](async _0x3cf48c=>{const _0x557b2b=_0xb08a7c,_0x43882d=_0x3cf48c[_0x557b2b(0x236)](),_0x4afe8f=await this[_0x557b2b(0xc3)](_0x43882d);this[_0x557b2b(0x158)][_0x557b2b(0xfc)](_0x4afe8f),this[_0x557b2b(0x1c2)][_0x557b2b(0x188)](_0x43882d,_0x4afe8f);}),this[_0xb08a7c(0x1a2)][_0xb08a7c(0x189)](_0x3fe5fd[_0xb08a7c(0x108)])[_0xb08a7c(0xef)](_0x535f62(this[_0xb08a7c(0x1b0)]))['pipe'](_0x3c6f92(_0x295612=>!_0x295612[_0xb08a7c(0x236)]()[_0xb08a7c(0x1ba)]('__')))[_0xb08a7c(0x128)](async _0x50686b=>{const _0x4f2742=_0xb08a7c,_0x2472e3=_0x50686b[_0x4f2742(0x236)](),_0x26feac=await this[_0x4f2742(0x148)](_0x2472e3);this[_0x4f2742(0x158)][_0x4f2742(0xfc)](_0x26feac),this[_0x4f2742(0x1c2)]['set'](_0x2472e3,_0x26feac);}),_0x493055(this[_0xb08a7c(0x1a2)][_0xb08a7c(0x219)](_0x3fe5fd['UNIVER_DOC']),this[_0xb08a7c(0x1a2)][_0xb08a7c(0x219)](_0x3fe5fd[_0xb08a7c(0x247)]))[_0xb08a7c(0xef)](_0x535f62(this['dispose$']))[_0xb08a7c(0x128)](_0x18c0cb=>{const _0x3372ed=_0xb08a7c,_0x16161b=_0x18c0cb[_0x3372ed(0x236)](),_0x374e32=this['_entities'][_0x3372ed(0x27a)](_0x16161b);_0x374e32&&(_0x374e32['dispose'](),this[_0x3372ed(0x1c2)][_0x3372ed(0x19d)](_0x16161b));});}async[_0x3339d5(0xc3)](_0x2ed82f){const _0x4dff92=_0x3339d5,_0xa19d9a=await this[_0x4dff92(0xcd)]['requireSession'](_0x2ed82f),_0x5ef09d=this[_0x4dff92(0xfb)][_0x4dff92(0x1dc)](we,_0x2ed82f,_0xa19d9a);return _0x5ef09d['init'](),_0x5ef09d;}async[_0x3339d5(0x148)](_0x4be027){const _0x2766f9=_0x3339d5,_0x3f4552=await this['_collabSessionService'][_0x2766f9(0x10e)](_0x4be027),_0x430c5c=this['_injector'][_0x2766f9(0x1dc)](Ne,_0x4be027,_0x3f4552);return _0x430c5c[_0x2766f9(0x183)](),_0x430c5c;}};H=bi([me(0x0,_0x4b01c1),me(0x1,_0x482cd6(_0x3c7991)),me(0x2,_0x482cd6(_0x212484))],H);const te=0x14,et=0xc8,ge=0x4,Ei=0x5;function Oi(_0x262242,_0x163a70){const _0xe73c8d=_0x3339d5;let {radius:_0x1b6578,width:_0x3b5fcd,height:_0x24a6ac}=_0x163a70;_0x1b6578=_0x1b6578!=null?_0x1b6578:0x0,_0x3b5fcd=_0x3b5fcd!=null?_0x3b5fcd:0x1e,_0x24a6ac=_0x24a6ac!=null?_0x24a6ac:0x1e;let _0x3f53f9=0x0,_0x20ed9b=0x0,_0x23da12=0x0;_0x3f53f9=_0x20ed9b=_0x23da12=Math[_0xe73c8d(0xf7)](_0x1b6578,_0x3b5fcd/0x2,_0x24a6ac/0x2),_0x262242[_0xe73c8d(0x106)](),_0x262242[_0xe73c8d(0xb2)](_0x3f53f9,0x0),_0x262242[_0xe73c8d(0x152)](_0x3b5fcd-_0x20ed9b,0x0),_0x262242[_0xe73c8d(0x198)](_0x3b5fcd-_0x20ed9b,_0x20ed9b,_0x20ed9b,Math['PI']*0x3/0x2,0x0,!0x1),_0x262242[_0xe73c8d(0x152)](_0x3b5fcd,_0x24a6ac-_0x23da12),_0x262242['arc'](_0x3b5fcd-_0x23da12,_0x24a6ac-_0x23da12,_0x23da12,0x0,Math['PI']/0x2,!0x1),_0x262242['lineTo'](0x0,_0x24a6ac),_0x262242[_0xe73c8d(0x152)](0x0,_0x3f53f9),_0x262242['arc'](_0x3f53f9,_0x3f53f9,_0x3f53f9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x262242[_0xe73c8d(0xe8)](),_0x163a70[_0xe73c8d(0x100)]&&(_0x262242[_0xe73c8d(0x113)](),_0x262242[_0xe73c8d(0xee)]=_0x163a70[_0xe73c8d(0x100)],_0x163a70[_0xe73c8d(0x285)]===_0xe73c8d(0x278)?_0x262242['fill'](_0xe73c8d(0x278)):_0x262242[_0xe73c8d(0x100)](),_0x262242[_0xe73c8d(0x1ea)]());}class ue extends _0x15a83f{constructor(_0x1cdd74,_0x14f725){const _0x53e56e=_0x3339d5;super(_0x1cdd74,_0x14f725),h(this,_0x53e56e(0x12a)),h(this,_0x53e56e(0x1a9)),(this['color']=_0x14f725==null?void 0x0:_0x14f725[_0x53e56e(0x12a)],this['text']=_0x14f725==null?void 0x0:_0x14f725[_0x53e56e(0x1a9)]);}static['drawWith'](_0x26404b,_0x5e5ea8){const _0x3db308=_0x3339d5,{text:_0x279791,color:_0x180a1c}=_0x5e5ea8;_0x26404b[_0x3db308(0x113)](),_0x26404b[_0x3db308(0x131)]=_0x3db308(0x270);const _0x4cfaef=_0x26404b[_0x3db308(0x22d)](_0x279791)[_0x3db308(0xb6)],_0x379a1e=Math['min'](_0x4cfaef+0x2*ge,et);Oi(_0x26404b,{'height':te,'radius':0x4,'width':_0x379a1e,'fill':_0x180a1c}),_0x26404b[_0x3db308(0xee)]=_0x3db308(0xb5);const _0x53225c=ge,_0x442a74=te-Ei,_0x99f790=et-0x2*ge;if(_0x4cfaef>_0x99f790){let _0x3de7be='',_0x5ca893=0x0;for(const _0x2123dd of _0x279791){const _0x3c8157=_0x26404b[_0x3db308(0x22d)](_0x2123dd)[_0x3db308(0xb6)];if(_0x5ca893+_0x3c8157<=_0x99f790-_0x26404b[_0x3db308(0x22d)]('...')[_0x3db308(0xb6)])_0x3de7be+=_0x2123dd,_0x5ca893+=_0x3c8157;else{_0x3de7be+=_0x3db308(0x1ae);break;}}_0x26404b[_0x3db308(0x229)](_0x3de7be,_0x53225c,_0x442a74);}else _0x26404b[_0x3db308(0x229)](_0x279791,_0x53225c,_0x442a74);_0x26404b[_0x3db308(0x1ea)]();}[_0x3339d5(0x14d)](_0x5b6cd3){ue['drawWith'](_0x5b6cd3,this);}}const ve=_0x3339d5(0x17a),Ti=_0x3339d5(0x1c9),Ri=_0x3339d5(0x1f5),V=0x6,Di=1.5,Ie=0x4,Pi=1.5,Mi=_0x3339d5(0x13d);class tt{constructor(_0x12e727,_0xc2dd9e,_0x5bee17,_0x2aaf14){const _0x2bfc7f=_0x3339d5;h(this,_0x2bfc7f(0x1d5),[]),h(this,_0x2bfc7f(0x21f),null),h(this,'_textBubble',null),h(this,_0x2bfc7f(0x238),null),h(this,_0x2bfc7f(0x280),null),h(this,'_eventUnsubscribe',null),(this[_0x2bfc7f(0xce)]=_0x12e727,this[_0x2bfc7f(0x29d)]=_0xc2dd9e,this[_0x2bfc7f(0x235)]=_0x5bee17,this[_0x2bfc7f(0x23d)]=_0x2aaf14,this[_0x2bfc7f(0x269)]());}set['_hover'](_0x5da514){const _0x21db8e=_0x3339d5;_0x5da514?(this[_0x21db8e(0x238)]&&this[_0x21db8e(0x238)][_0x21db8e(0x262)](),this[_0x21db8e(0xa4)]&&this['_textBubble'][_0x21db8e(0x297)]()):(this[_0x21db8e(0x238)]&&this['_anchorDot'][_0x21db8e(0x297)](),this[_0x21db8e(0xa4)]&&this[_0x21db8e(0xa4)][_0x21db8e(0x262)]());}['dispose'](){const _0x2a8760=_0x3339d5;for(const _0x5171a9 of this[_0x2a8760(0x1d5)])_0x5171a9['dispose']();this[_0x2a8760(0xa4)]&&this[_0x2a8760(0xa4)]['dispose'](),this[_0x2a8760(0x238)]&&this[_0x2a8760(0x238)]['dispose'](),this[_0x2a8760(0x21f)]&&this[_0x2a8760(0x21f)]['dispose'](),this[_0x2a8760(0x12d)]&&this[_0x2a8760(0x12d)]();}[_0x3339d5(0x269)](){const _0x3a67ad=_0x3339d5;var _0x8f69;const {_docSkeleton:_0x2221f3,_document:_0x4d7173}=this,{color:_0x4f5d3e,name:_0x57d722,ranges:_0x53e335}=this[_0x3a67ad(0xce)],_0x1c236c=_0x4d7173['getOffsetConfig'](),{docsLeft:_0x912645,docsTop:_0x50d2e5}=_0x1c236c,_0x2ab258=new _0x1de406(_0x1c236c,_0x2221f3);for(const {startOffset:_0x12ac67,endOffset:_0x52a912,rangeType:_0x459c7a,segmentId:_0x171cdc,segmentPage:_0x530270,collapsed:_0x10f525,isActive:_0x22a37d}of _0x53e335){const _0x3bf031=_0x2221f3[_0x3a67ad(0x22a)](_0x12ac67,!0x0,_0x171cdc,_0x530270);let _0x1e6a77=_0x2221f3[_0x3a67ad(0x22a)](_0x52a912,!0x0,_0x171cdc,_0x530270);if(_0x1e6a77==null&&(_0x1e6a77=_0x2221f3[_0x3a67ad(0x22a)](_0x52a912-0x1,!0x1,_0x171cdc,_0x530270)),_0x22a37d){const {contentBoxPointGroup:_0x39944d}=_0x2ab258[_0x3a67ad(0x181)](_0x1e6a77,_0x1e6a77);if(_0x39944d[_0x3a67ad(0x22b)]===0x0)continue;this['_drawAnchor'](_0x4f5d3e,_0x39944d,_0x912645,_0x50d2e5,_0x57d722),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x3bf031&&_0x1e6a77){if(_0x459c7a===_0x30e664[_0x3a67ad(0x214)]){const _0x198bb5=new _0x413958(_0x1c236c,_0x2221f3),{pointGroup:_0x24c502}=(_0x8f69=_0x198bb5['getRangePointData'](_0x3bf031,_0x1e6a77))!=null?_0x8f69:{};if(_0x24c502==null||_0x24c502['length']===0x0)continue;this[_0x3a67ad(0x1da)](_0x4f5d3e,_0x24c502,_0x912645,_0x50d2e5);}else{if(!_0x10f525){const {borderBoxPointGroup:_0x17f8f5}=_0x2ab258[_0x3a67ad(0x181)](_0x3bf031,_0x1e6a77);if(_0x17f8f5[_0x3a67ad(0x22b)]===0x0)continue;this['_drawTextRange'](_0x4f5d3e,_0x17f8f5,_0x912645,_0x50d2e5);}}}}}['_drawAnchor'](_0x242a0f,_0x231536,_0x48baa9,_0x3f5747,_0x5cb6f4){const _0x4c67c6=_0x3339d5,_0x23a84f=this[_0x4c67c6(0xe0)](_0x231536),{left:_0x324ae4,top:_0x19c55d,height:_0xfc181b}=_0x23a84f,_0x2d279d=this['_getScale'](),_0x1ea22c=Pi/_0x2d279d,_0x262375=new _0x4b981c(ve+_0x44d009[_0x4c67c6(0x11c)](V),{'left':_0x324ae4+_0x48baa9-_0x1ea22c,'top':_0x19c55d+_0x3f5747,'height':_0xfc181b,'width':Di,'fill':_0x242a0f||_0x2e2eef(_0x220bae[_0x4c67c6(0x28c)],0x0),'strokeWidth':_0x1ea22c,'stroke':Mi,'evented':!0x0});this['_anchor']=_0x262375,this[_0x4c67c6(0x29d)]['addObject'](_0x262375,_0x1f3793);const _0x3ff1b6=new _0x4b981c(ve+_0x44d009[_0x4c67c6(0x11c)](V),{'left':_0x324ae4+_0x48baa9-_0x1ea22c,'top':_0x19c55d+_0x3f5747-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x242a0f||_0x2e2eef(_0x220bae[_0x4c67c6(0x28c)],0x0),'strokeWidth':0x0,'stroke':_0x242a0f||_0x2e2eef(_0x220bae['black'],0x0),'evented':!0x1});this[_0x4c67c6(0x238)]=_0x3ff1b6,this[_0x4c67c6(0x29d)][_0x4c67c6(0x24e)](_0x3ff1b6,_0x1f3793);const _0xe2f43b=new ue(ve+_0x44d009[_0x4c67c6(0x11c)](V),{'left':_0x324ae4+_0x48baa9-_0x1ea22c,'top':_0x19c55d+_0x3f5747-te,'text':_0x5cb6f4,'color':_0x242a0f});this[_0x4c67c6(0xa4)]=_0xe2f43b,this[_0x4c67c6(0x29d)]['addObject'](_0xe2f43b,_0x1f3793),this[_0x4c67c6(0x256)]=!0x1;}[_0x3339d5(0xcb)](){const _0x2020f0=_0x3339d5,_0x41ee0e=this['_anchor'][_0x2020f0(0xaf)][_0x2020f0(0x1e8)](()=>{const _0x166955=_0x2020f0;this[_0x166955(0x256)]=!0x0;}),_0x1452e6=this[_0x2020f0(0x21f)][_0x2020f0(0x186)][_0x2020f0(0x1e8)](()=>{const _0x590459=_0x2020f0;this[_0x590459(0x280)]&&clearTimeout(this[_0x590459(0x280)]),this[_0x590459(0x280)]=setTimeout(()=>{const _0x3e07ea=_0x590459;this[_0x3e07ea(0x256)]=!0x1;},0x7d0);});return()=>{const _0x516a50=_0x2020f0;_0x41ee0e[_0x516a50(0xca)](),_0x1452e6[_0x516a50(0xca)]();};}[_0x3339d5(0x1e9)](_0x3c8bc9,_0x17c39a,_0x35a7a0,_0x1a8275){const _0x262fca=_0x3339d5,_0x5abbf2=new _0x3b232c(_0x3c8bc9)[_0x262fca(0xb1)](0.2)[_0x262fca(0x162)](),_0x407981=new _0xa367a7(Ti+_0x44d009[_0x262fca(0x11c)](V),{'pointsGroup':_0x17c39a,'fill':_0x5abbf2||_0x2e2eef(_0x220bae[_0x262fca(0x28c)],0.2),'left':_0x35a7a0,'top':_0x1a8275,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x262fca(0x1d9)](_0x407981),this[_0x262fca(0x29d)][_0x262fca(0x24e)](_0x407981,_0x1f3793);}[_0x3339d5(0x1da)](_0x3ca5b6,_0x504fb3,_0xb58e5a,_0x545cad){const _0x1054d8=_0x3339d5,_0x375271=new _0x3b232c(_0x3ca5b6)[_0x1054d8(0xb1)](0.2)[_0x1054d8(0x162)](),_0x1e058a=new _0xa367a7(Ri+_0x44d009[_0x1054d8(0x11c)](V),{'pointsGroup':_0x504fb3,'fill':_0x375271||_0x2e2eef(_0x220bae[_0x1054d8(0x28c)],0.2),'left':_0xb58e5a,'top':_0x545cad,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1054d8(0x1d5)]['push'](_0x1e058a),this[_0x1054d8(0x29d)][_0x1054d8(0x24e)](_0x1e058a,_0x1f3793);}['_getAnchorBounding'](_0x4c7f58){const _0x31f42a=_0x4c7f58[0x0],_0xb78fcf=_0x31f42a[0x0],_0x8f29cb=_0x31f42a[0x2],{x:_0x1dacc5,y:_0x41f4ee}=_0xb78fcf,{x:_0x1d448c,y:_0x2cab85}=_0x8f29cb;return{'left':_0x1dacc5,'top':_0x41f4ee,'width':_0x1d448c-_0x1dacc5,'height':_0x2cab85-_0x41f4ee};}[_0x3339d5(0x1ed)](){const _0x3d739e=_0x3339d5,{scaleX:_0x4fb0e5,scaleY:_0x16d8e6}=this[_0x3d739e(0x29d)][_0x3d739e(0x184)]();return Math['max'](_0x4fb0e5,_0x16d8e6);}}var Ni=Object[_0x3339d5(0xd6)],wi=(_0x53b503,_0xb86ac,_0x5d50cf,_0x1d6480)=>{for(var _0x5d4247=_0x1d6480>0x1?void 0x0:_0x1d6480?Ni(_0xb86ac,_0x5d50cf):_0xb86ac,_0x562db6=_0x53b503['length']-0x1,_0x3d3746;_0x562db6>=0x0;_0x562db6--)(_0x3d3746=_0x53b503[_0x562db6])&&(_0x5d4247=_0x3d3746(_0x5d4247)||_0x5d4247);return _0x5d4247;},q=(_0x27eceb,_0x18dbe9)=>(_0x41aff0,_0x257dfb)=>_0x18dbe9(_0x41aff0,_0x257dfb,_0x27eceb);let Ue=class extends _0x560405{constructor(_0x7bead4,_0x68db75,_0x3d4fed,_0x550c6d,_0x2000c4){const _0x2e9e39=_0x3339d5;super(),h(this,_0x2e9e39(0x20f),[]),h(this,'_cursors',[]),(this['_context']=_0x7bead4,this[_0x2e9e39(0xd2)]=_0x68db75,this[_0x2e9e39(0x18e)]=_0x3d4fed,this[_0x2e9e39(0xe5)]=_0x550c6d,this['_themeService']=_0x2000c4,this[_0x2e9e39(0xfe)]());}[_0x3339d5(0xfe)](){const _0x54d57d=_0x3339d5,_0xbdab17=this[_0x54d57d(0x239)][_0x54d57d(0x290)],_0x2d98bd=this[_0x54d57d(0xd2)];this['disposeWithMe'](_0x12e470([this['_collabCursorController']['getCollabCursors$'](_0xbdab17),this['_themeService'][_0x54d57d(0x282)]])[_0x54d57d(0xef)](_0x28fd14(([_0x5d5dad,_0x4c634f])=>({'skeleton':_0x2d98bd[_0x54d57d(0x135)](),'cursors':[..._0x5d5dad['values']()][_0x54d57d(0x13f)](_0x1947e3=>({..._0x1947e3,'color':_0x4c634f[_0x1947e3[_0x54d57d(0x12a)]]}))})))[_0x54d57d(0x128)](_0x1b1aab=>{const _0x30da44=_0x54d57d;if(this['_removeCollabCursors'](),_0x1b1aab){const {skeleton:_0x5b1e8c,cursors:_0x9ef9a4}=_0x1b1aab;this[_0x30da44(0xc9)](_0x5b1e8c,_0x9ef9a4);}})),this['_initResize'](),this[_0x54d57d(0x292)]();}['_updateCollabCursors'](_0x2e90a5,_0x57e45d){const _0x2c01c2=_0x3339d5,{scene:_0x55ecc7,mainComponent:_0x25583d}=this[_0x2c01c2(0x239)],_0x435b01=_0x57e45d[_0x2c01c2(0x164)](_0x578834=>new tt(_0x578834,_0x55ecc7,_0x2e90a5,_0x25583d));this[_0x2c01c2(0x20f)]=_0x435b01,this[_0x2c01c2(0xba)]=_0x57e45d;}[_0x3339d5(0x24f)](){const _0x4028bf=_0x3339d5;this[_0x4028bf(0x228)]();const {scene:_0x3fae0f,mainComponent:_0x106e76}=this[_0x4028bf(0x239)],_0x2c56d9=this[_0x4028bf(0xd2)]['getSkeleton'](),_0x4f3b15=this[_0x4028bf(0xba)][_0x4028bf(0x164)](_0xa76367=>new tt(_0xa76367,_0x3fae0f,_0x2c56d9,_0x106e76));this[_0x4028bf(0x20f)]=_0x4f3b15;}[_0x3339d5(0x228)](){const _0x4ae828=_0x3339d5;this[_0x4ae828(0x20f)]['forEach'](_0x4988a0=>_0x4988a0[_0x4ae828(0x275)]()),this['_cursorShapes']=[];}[_0x3339d5(0x292)](){const _0x26eb83=_0x3339d5,_0x5c24df=[_0x24ceeb['id']];this[_0x26eb83(0x207)](this[_0x26eb83(0xe5)][_0x26eb83(0x1e2)](_0x4822a3=>{const _0x9ce1c2=_0x26eb83;_0x5c24df['includes'](_0x4822a3['id'])&&_0x4822a3[_0x9ce1c2(0xf9)][_0x9ce1c2(0x290)]===this[_0x9ce1c2(0x239)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x3339d5(0x243)](){const _0x28e835=_0x3339d5;this[_0x28e835(0x207)](_0x497e49(this[_0x28e835(0x239)][_0x28e835(0x250)][_0x28e835(0x288)])[_0x28e835(0xef)](_0x2bfcd1(_0x35ce2a=>_0x35ce2a['type']===_0xd4f0f0[_0x28e835(0x125)]),_0xcf782a(0x10))[_0x28e835(0x128)](()=>{this['_refreshCollabCursors']();}));}};Ue=wi([q(0x1,_0x482cd6(_0x4b21f1)),q(0x2,_0x482cd6(H)),q(0x3,_0x4514f4),q(0x4,_0x482cd6(_0x3afe55))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x15a83f{constructor(_0x31435c,_0x1b6e2e){const _0x1a4083=_0x3339d5;super(_0x31435c,_0x1b6e2e),h(this,_0x1a4083(0x20b)),h(this,_0x1a4083(0x24b),!0x1),h(this,_0x1a4083(0x11f)),h(this,'_name',''),h(this,_0x1a4083(0x133),_0x1a4083(0xfd)),h(this,_0x1a4083(0xbb)),(_0x1b6e2e&&this[_0x1a4083(0x1b9)](_0x1b6e2e),this[_0x1a4083(0xaf)][_0x1a4083(0x1e8)](()=>this[_0x1a4083(0x1b9)]({'hovered':!0x0})),this[_0x1a4083(0x186)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3e3675){const _0x3d09e9=_0x3339d5;var _0x53de59,_0x2b0275,_0xc69647,_0x210524,_0x31ca26,_0x1d1fb2;this[_0x3d09e9(0x20b)]=(_0x53de59=_0x3e3675['color'])!=null?_0x53de59:this['_color'],this[_0x3d09e9(0x24b)]=(_0x2b0275=_0x3e3675[_0x3d09e9(0x212)])!=null?_0x2b0275:this['_hovered'],this[_0x3d09e9(0x11f)]=(_0xc69647=_0x3e3675[_0x3d09e9(0x28f)])!=null?_0xc69647:this[_0x3d09e9(0x11f)],this['_name']=(_0x210524=_0x3e3675[_0x3d09e9(0x122)])!=null?_0x210524:this[_0x3d09e9(0x1b3)],this[_0x3d09e9(0x133)]=(_0x31ca26=_0x3e3675[_0x3d09e9(0x226)])!=null?_0x31ca26:this['_labelPosition'],this[_0x3d09e9(0xbb)]=(_0x1d1fb2=_0x3e3675[_0x3d09e9(0x17c)])!=null?_0x1d1fb2:this['_backgroundColor'],this[_0x3d09e9(0x206)]({'width':_0x3e3675[_0x3d09e9(0xb6)],'height':_0x3e3675['height']});}[_0x3339d5(0x12c)](_0x45cd0e){const _0x49a5cd=_0x3339d5,{row:_0x2fb44a,column:_0x1845af}=_0x45cd0e;if(_0x2fb44a>=this[_0x49a5cd(0x11f)]['startRow']&&_0x2fb44a<=this[_0x49a5cd(0x11f)][_0x49a5cd(0x14e)]&&_0x1845af>=this['_range'][_0x49a5cd(0x25b)]&&_0x1845af<=this[_0x49a5cd(0x11f)][_0x49a5cd(0x199)]){this[_0x49a5cd(0x1b9)]({'hovered':!0x0});return;}this[_0x49a5cd(0x1b9)]({'hovered':!0x1});}[_0x3339d5(0xde)](_0x2ca4f0){return!0x1;}['_draw'](_0x32b159){const _0x582b68=_0x3339d5;_0x4b981c[_0x582b68(0x1b6)](_0x32b159,{'width':this['width'],'height':this[_0x582b68(0x1fb)],'strokeWidth':Li,'stroke':this[_0x582b68(0x20b)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x32b159[_0x582b68(0x113)](),_0x32b159['transform'](0x1,0x0,0x0,0x1,this[_0x582b68(0xb6)],this['_labelPosition']===_0x582b68(0x218)?0x0:-0x14),ue[_0x582b68(0x1b6)](_0x32b159,{'text':this[_0x582b68(0x1b3)],'color':this['_color']}),_0x32b159[_0x582b68(0x1ea)]());}}var yi=Object[_0x3339d5(0xd6)],$i=(_0x49d92c,_0x55458a,_0x19589c,_0x34c472)=>{const _0x195ced=_0x3339d5;for(var _0x1cf7a8=_0x34c472>0x1?void 0x0:_0x34c472?yi(_0x55458a,_0x19589c):_0x55458a,_0x25b0d4=_0x49d92c[_0x195ced(0x22b)]-0x1,_0x250050;_0x25b0d4>=0x0;_0x25b0d4--)(_0x250050=_0x49d92c[_0x25b0d4])&&(_0x1cf7a8=_0x250050(_0x1cf7a8)||_0x1cf7a8);return _0x1cf7a8;},pe=(_0x5614ed,_0x1a8fd5)=>(_0x43dcaf,_0x55f20e)=>_0x1a8fd5(_0x43dcaf,_0x55f20e,_0x5614ed);const xi=0x1389;let Le=class extends _0x560405{constructor(_0x1b4f7f,_0x3a47a3,_0x46c8c2,_0x12b02e){const _0xaa57e2=_0x3339d5;super(),h(this,_0xaa57e2(0xba),new Set()),h(this,'_lastPointer',null),(this['_context']=_0x1b4f7f,this[_0xaa57e2(0x112)]=_0x3a47a3,this[_0xaa57e2(0x18e)]=_0x46c8c2,this[_0xaa57e2(0x19b)]=_0x12b02e,this[_0xaa57e2(0xfe)]());}[_0x3339d5(0xfe)](){const _0x1aebca=_0x3339d5;this['_sheetSkeletonManagerService'][_0x1aebca(0x101)][_0x1aebca(0xef)](_0x48338a(this['dispose$']),_0x34d2e9(_0x1b01d8=>{const _0x3c1933=_0x1aebca;if(_0x1b01d8){const _0x4fcc1d=_0x1b01d8[_0x3c1933(0x154)];return _0x12e470(this[_0x3c1933(0x18e)][_0x3c1933(0x1b2)](this[_0x3c1933(0x239)][_0x3c1933(0x290)]),this['_themeService']['currentTheme$'])[_0x3c1933(0xef)](_0x28fd14(([_0x1912a8,_0x3b706d])=>{const _0x5a7195=new Map();return _0x1912a8['forEach']((_0x58869f,_0x336622)=>{const _0x4abb1c=_0x587f;if(_0x58869f[_0x4abb1c(0x144)]===_0x4fcc1d){const _0x42a4c0={..._0x58869f};_0x42a4c0['color']=_0x3b706d[_0x58869f[_0x4abb1c(0x12a)]],_0x5a7195[_0x4abb1c(0x188)](_0x336622,_0x42a4c0);}}),{'skeleton':_0x1b01d8,'cursors':_0x5a7195};}));}return _0x46a1eb({'skeleton':null,'cursors':new Map()});}))[_0x1aebca(0x128)](({skeleton:_0x1d8c14,cursors:_0x3f7b01})=>{const _0x23c049=_0x1aebca;this[_0x23c049(0x228)](),_0x1d8c14&&this[_0x23c049(0xc9)](_0x1d8c14,_0x3f7b01);}),this[_0x1aebca(0x112)]['currentSkeleton$'][_0x1aebca(0x128)](_0x7cbd61=>{const _0x2fd7ff=_0x1aebca;if(_0x7cbd61==null)return;const {skeleton:_0x188db8}=_0x7cbd61,{scene:_0x30041c}=this['_context'];_0x30041c['onPointerMove$'][_0x2fd7ff(0x1e8)](_0x4d3bad(_0x363c19=>{const _0x3604b6=_0x2fd7ff;var _0x27789d,_0x2ffeaa;const {offsetX:_0x4ab4d6,offsetY:_0x1b85d3}=_0x363c19,{x:_0x52c312,y:_0x2219da}=_0x30041c['getRelativeToViewportCoord'](_0x4ea2cd['FromArray']([_0x4ab4d6,_0x1b85d3])),{scaleX:_0x2b0f5b,scaleY:_0x4f1c0e}=_0x30041c[_0x3604b6(0x184)](),_0xe9064b=_0x30041c['getViewport'](_0x59b954[_0x3604b6(0xf5)]),_0x480069=_0x30041c['getVpScrollXYInfoByPosToVp'](_0x4ea2cd[_0x3604b6(0x1d2)]([_0x52c312,_0x2219da]),_0xe9064b),_0x37a974=_0x188db8['getCellPositionByOffset'](_0x4ab4d6,_0x1b85d3,_0x2b0f5b,_0x4f1c0e,_0x480069);((_0x27789d=this[_0x3604b6(0x1b1)])==null?void 0x0:_0x27789d[_0x3604b6(0x1eb)])===_0x37a974[_0x3604b6(0x1eb)]&&((_0x2ffeaa=this[_0x3604b6(0x1b1)])==null?void 0x0:_0x2ffeaa[_0x3604b6(0x1de)])===_0x37a974[_0x3604b6(0x1de)]||this[_0x3604b6(0xba)][_0x3604b6(0xd0)](_0x5821ca=>{_0x5821ca['onMouseMove'](_0x37a974);});},0x64));});}['_updateCollabCursors'](_0x570ac7,_0x54e188){const _0x990a7d=_0x3339d5;var _0x1f9f39;const _0x341a8d=(_0x1f9f39=this['_sheetSkeletonManagerService'][_0x990a7d(0x145)]())==null?void 0x0:_0x1f9f39[_0x990a7d(0x208)];if(!_0x341a8d)return;const _0x3f0b84=this[_0x990a7d(0x25f)]();if(!_0x3f0b84)return;this[_0x990a7d(0xba)]['forEach'](_0x22e51c=>{_0x22e51c['makeDirty']();});const {scene:_0x587e8b}=_0x3f0b84,_0x429947=ki(Array['from'](_0x54e188[_0x990a7d(0x119)]()))[_0x990a7d(0x164)](_0x4f8d72=>{const {color:_0x152998,range:_0x5303d6,name:_0x115c17,selection:_0x48c23c,sheetID:_0x44f843}=_0x4f8d72,{startColumn:_0x392bac,startRow:_0x12d9d8,endColumn:_0x408295,endRow:_0x3e7fb4}=_0x5303d6,_0x286e62=_0x365891(_0x12d9d8,_0x392bac,_0x587e8b,_0x341a8d),_0x2fd9b4=_0x365891(_0x3e7fb4,_0x408295,_0x587e8b,_0x341a8d),{columnHeaderHeightAndMarginTop:_0xf0aeb7}=_0x341a8d,{startX:_0x4cb4af,startY:_0x3ab5fa}=_0x286e62,{endX:_0x5962cd,endY:_0x4fde8a}=_0x2fd9b4,_0xcb198b=_0x5962cd-_0x4cb4af,_0x17627a=_0x4fde8a-_0x3ab5fa,_0x381cbd={'labelPosition':_0x3ab5fa-_0xf0aeb7>=te?'top':'bottom','sheetID':_0x44f843,'range':_0x5303d6,'color':_0x152998,'name':_0x115c17,'selection':_0x48c23c,'left':_0x4cb4af,'top':_0x3ab5fa,'width':_0xcb198b,'height':_0x17627a,'evented':!0x1,'zIndex':xi};return new Ai(_0x115c17,_0x381cbd);});_0x587e8b[_0x990a7d(0x138)](_0x429947,Ui),this[_0x990a7d(0xba)]=new Set(_0x429947);}['_removeCollabCursors'](){const _0xd2de7e=_0x3339d5;var _0x48e05;(_0x48e05=this[_0xd2de7e(0xba)])==null||_0x48e05[_0xd2de7e(0xd0)](_0x2405a6=>_0x2405a6['dispose']());}[_0x3339d5(0x25f)](){const _0x221100=_0x3339d5;return _0x742b9b(this[_0x221100(0x239)][_0x221100(0x27b)],this['_context']);}};Le=$i([pe(0x1,_0x482cd6(_0x35c5fe)),pe(0x2,_0x482cd6(H)),pe(0x3,_0x482cd6(_0x3afe55))],Le);function ki(_0x253b71){const _0x9d3690=_0x3339d5,_0x21582c=new Map();return _0x253b71[_0x9d3690(0xd0)](_0x594089=>{const _0x39983f=_0x9d3690;if(_0x21582c['has'](_0x594089['selection'])){const _0x4449bf=_0x21582c[_0x39983f(0x27a)](_0x594089[_0x39983f(0x286)]);_0x4449bf[_0x39983f(0x122)]+=',\x20'+_0x594089['name'];}else _0x21582c[_0x39983f(0x188)](_0x594089['selection'],_0x594089);}),Array['from'](_0x21582c[_0x9d3690(0x119)]());}var I=function(){const _0x84a141=_0x3339d5;return I=Object['assign']||function(_0x23d71a){const _0x9d4e46=_0x587f;for(var _0x2d594f,_0x289120=0x1,_0x1a03ef=arguments[_0x9d4e46(0x22b)];_0x289120<_0x1a03ef;_0x289120++){_0x2d594f=arguments[_0x289120];for(var _0x4531c5 in _0x2d594f)Object[_0x9d4e46(0x296)][_0x9d4e46(0x15e)][_0x9d4e46(0x234)](_0x2d594f,_0x4531c5)&&(_0x23d71a[_0x4531c5]=_0x2d594f[_0x4531c5]);}return _0x23d71a;},I[_0x84a141(0x15d)](this,arguments);},Bi=function(_0x5431df,_0x34d904){const _0x2a6faf=_0x3339d5;var _0x221c04={};for(var _0x183f0e in _0x5431df)Object[_0x2a6faf(0x296)]['hasOwnProperty'][_0x2a6faf(0x234)](_0x5431df,_0x183f0e)&&_0x34d904[_0x2a6faf(0x195)](_0x183f0e)<0x0&&(_0x221c04[_0x183f0e]=_0x5431df[_0x183f0e]);if(_0x5431df!=null&&typeof Object[_0x2a6faf(0x24a)]=='function'){for(var _0x17b9de=0x0,_0x183f0e=Object[_0x2a6faf(0x24a)](_0x5431df);_0x17b9de<_0x183f0e[_0x2a6faf(0x22b)];_0x17b9de++)_0x34d904[_0x2a6faf(0x195)](_0x183f0e[_0x17b9de])<0x0&&Object['prototype'][_0x2a6faf(0x209)][_0x2a6faf(0x234)](_0x5431df,_0x183f0e[_0x17b9de])&&(_0x221c04[_0x183f0e[_0x17b9de]]=_0x5431df[_0x183f0e[_0x17b9de]]);}return _0x221c04;},We=_0x3649c0(function(_0x17d842,_0x52be8e){const _0x1712da=_0x3339d5;var _0x2e653e=_0x17d842[_0x1712da(0x22e)],_0x5164eb=_0x17d842['id'],_0x8482d6=_0x17d842['className'],_0x179cc0=_0x17d842[_0x1712da(0x19e)],_0x1fd063=Bi(_0x17d842,['icon','id',_0x1712da(0x1ee),_0x1712da(0x19e)]),_0x3c1385=_0x1712da(0x202)[_0x1712da(0x11e)](_0x5164eb,'\x20')[_0x1712da(0x11e)](_0x8482d6||'')[_0x1712da(0x251)](),_0x57c543=_0x1d45fc('_'['concat'](Wi()));return Pt(_0x2e653e,''[_0x1712da(0x11e)](_0x5164eb),{'defIds':_0x2e653e[_0x1712da(0x118)],'idSuffix':_0x57c543[_0x1712da(0x1c3)]},I({'ref':_0x52be8e,'className':_0x3c1385},_0x1fd063),_0x179cc0);});function Pt(_0x50747e,_0x11e203,_0x1886d5,_0x2262a2,_0x5ddb0d){const _0x30a9b4=_0x3339d5;return _0x8a5a6d(_0x50747e[_0x30a9b4(0xa0)],I(I({'key':_0x11e203},Hi(_0x50747e,_0x1886d5,_0x5ddb0d)),_0x2262a2),(ji(_0x50747e,_0x1886d5)[_0x30a9b4(0x174)]||[])[_0x30a9b4(0x164)](function(_0x1bf80b,_0x501f9f){const _0x55500c=_0x30a9b4;return Pt(_0x1bf80b,''[_0x55500c(0x11e)](_0x11e203,'-')[_0x55500c(0x11e)](_0x50747e['tag'],'-')[_0x55500c(0x11e)](_0x501f9f),_0x1886d5,void 0x0,_0x5ddb0d);}));}function Hi(_0x2f0fc7,_0x5a6e17,_0x4555a3){const _0x10fa08=_0x3339d5;var _0x2b3a1c=I({},_0x2f0fc7[_0x10fa08(0x171)]);_0x4555a3!=null&&_0x4555a3[_0x10fa08(0x21b)]&&_0x2b3a1c[_0x10fa08(0x100)]===_0x10fa08(0x21b)&&(_0x2b3a1c[_0x10fa08(0x100)]=_0x4555a3[_0x10fa08(0x21b)]),_0x2f0fc7['tag']===_0x10fa08(0x293)&&_0x2b3a1c['id']&&(_0x2b3a1c['id']=_0x2b3a1c['id']+_0x5a6e17[_0x10fa08(0xcf)]),Object[_0x10fa08(0x14b)](_0x2b3a1c)[_0x10fa08(0xd0)](function(_0x2d5ac5){const _0x4e3860=_0x10fa08;var _0x180888=_0x2d5ac5[0x0],_0x1a10d9=_0x2d5ac5[0x1];_0x180888===_0x4e3860(0x293)&&typeof _0x1a10d9=='string'&&(_0x2b3a1c[_0x180888]=_0x1a10d9[_0x4e3860(0x197)](/url\(#(.*)\)/,_0x4e3860(0x23f)['concat'](_0x5a6e17[_0x4e3860(0xcf)],')')));});var _0xf96287=_0x5a6e17[_0x10fa08(0x118)];return!_0xf96287||_0xf96287[_0x10fa08(0x22b)]===0x0||(_0x2f0fc7[_0x10fa08(0xa0)]===_0x10fa08(0x28a)&&_0x2b3a1c[_0x10fa08(0x273)]&&(_0x2b3a1c[_0x10fa08(0x273)]=_0x2b3a1c['xlink:href']+_0x5a6e17[_0x10fa08(0xcf)]),Object[_0x10fa08(0x14b)](_0x2b3a1c)['forEach'](function(_0x168a1f){const _0x3a271e=_0x10fa08;var _0x3aa21a=_0x168a1f[0x0],_0x56f342=_0x168a1f[0x1];typeof _0x56f342==_0x3a271e(0x289)&&(_0x2b3a1c[_0x3aa21a]=_0x56f342[_0x3a271e(0x197)](/url\(#(.*)\)/,_0x3a271e(0x23f)[_0x3a271e(0x11e)](_0x5a6e17[_0x3a271e(0xcf)],')')));})),_0x2b3a1c;}function ji(_0x24a94d,_0x18a807){const _0x4966df=_0x3339d5;var _0x275df0,_0x2c4013=_0x18a807[_0x4966df(0x118)];return!_0x2c4013||_0x2c4013[_0x4966df(0x22b)]===0x0?_0x24a94d:_0x24a94d[_0x4966df(0xa0)]===_0x4966df(0x18a)&&(!((_0x275df0=_0x24a94d[_0x4966df(0x174)])===null||_0x275df0===void 0x0)&&_0x275df0[_0x4966df(0x22b)])?I(I({},_0x24a94d),{'children':_0x24a94d[_0x4966df(0x174)][_0x4966df(0x164)](function(_0x133186){const _0x31c5bf=_0x4966df;return typeof _0x133186['attrs']['id']==_0x31c5bf(0x289)&&_0x2c4013&&_0x2c4013['indexOf'](_0x133186[_0x31c5bf(0x171)]['id'])>-0x1?I(I({},_0x133186),{'attrs':I(I({},_0x133186[_0x31c5bf(0x171)]),{'id':_0x133186[_0x31c5bf(0x171)]['id']+_0x18a807[_0x31c5bf(0xcf)]})}):_0x133186;})}):_0x24a94d;}function Wi(){const _0x2281e9=_0x3339d5;return Math[_0x2281e9(0x117)]()[_0x2281e9(0x1e5)](0x24)[_0x2281e9(0x25c)](0x2,0x8);}We[_0x3339d5(0x176)]=_0x3339d5(0xe7);var Fi={'tag':_0x3339d5(0x1fd),'attrs':{'fill':'none','viewBox':_0x3339d5(0x179),'width':_0x3339d5(0xff),'height':_0x3339d5(0xff)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x3339d5(0x25a),'attrs':{'stroke':_0x3339d5(0x1a0),'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':_0x3339d5(0x161),'strokeLinejoin':_0x3339d5(0x161),'strokeWidth':1.2}}]},{'tag':_0x3339d5(0x18a),'attrs':{},'children':[{'tag':_0x3339d5(0x29b),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x3339d5(0x1f1),'d':_0x3339d5(0xa7)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0x3649c0(function(_0xeecfda,_0x1d49d2){const _0x8cfc36=_0x3339d5;return _0x8a5a6d(We,Object[_0x8cfc36(0x1cd)]({},_0xeecfda,{'id':_0x8cfc36(0x1b8),'ref':_0x1d49d2,'icon':Fi}));});Mt[_0x3339d5(0x176)]=_0x3339d5(0x169);var Yi={'tag':_0x3339d5(0x1fd),'attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x3339d5(0xff),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3339d5(0x1d8)},'children':[{'tag':_0x3339d5(0x25a),'attrs':{'stroke':_0x3339d5(0x1a0),'d':_0x3339d5(0x222),'strokeLinecap':_0x3339d5(0x161),'strokeLinejoin':_0x3339d5(0x161),'strokeWidth':1.2}}]},{'tag':_0x3339d5(0x18a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x3339d5(0x14f)]},Nt=_0x3649c0(function(_0x28e83a,_0x12fda8){const _0xd252bc=_0x3339d5;return _0x8a5a6d(We,Object['assign']({},_0x28e83a,{'id':_0xd252bc(0x16e),'ref':_0x12fda8,'icon':Yi}));});Nt['displayName']=_0x3339d5(0xae);const Xi=_0x3339d5(0x21c),Vi=_0x3339d5(0xda),Gi=_0x3339d5(0xa1),Ki=_0x3339d5(0x23c),zi=_0x3339d5(0x104),G={'onlineStatusIcon':Xi,'onlineStatusTitle':Vi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x30f006){const _0x33e129=_0x3339d5;switch(_0x30f006){case _0x41f6d3[_0x33e129(0x205)]:return _0x33e129(0x10b);case _0x41f6d3['CONFLICT']:return _0x33e129(0x1bf);case _0x41f6d3['FETCH_MISS']:return _0x33e129(0x272);case _0x41f6d3[_0x33e129(0xbd)]:return _0x33e129(0xa5);case _0x41f6d3[_0x33e129(0x22f)]:case _0x41f6d3[_0x33e129(0x114)]:return _0x33e129(0x151);case _0x41f6d3[_0x33e129(0x166)]:case _0x41f6d3[_0x33e129(0x1ca)]:return _0x33e129(0x263);}}function Zi(_0x3cd688){const _0x4349a1=_0x3339d5,{status$:_0x2d1eb5}=_0x3cd688,_0x257537=_0x4cb4ae(_0x2d1eb5,_0x41f6d3[_0x4349a1(0xbd)]),_0x4a90d0=_0x2b548a(_0x5497a5),_0x58349c=_0x2b548a(_0x212484),_0x12dc12=_0x257537!==_0x41f6d3[_0x4349a1(0x205)],_0x24c179=_0x4a90d0['t'](Ji(_0x257537)),_0xa66956=_0x15b967(G[_0x4349a1(0x221)],{[G[_0x4349a1(0x281)]]:_0x12dc12,[G[_0x4349a1(0x287)]]:!_0x12dc12}),_0x24c004=_0x12dc12?_0x2f3542(Nt,{}):_0x2f3542(Mt,{}),_0x3e4f0f=_0x1a2357(()=>{_0x12dc12||_0x58349c['reconnect']();},[_0x12dc12,_0x58349c]);function _0x538514(){const _0x58df0f=_0x4349a1;return _0x120244(_0x58df0f(0xdd),{'className':_0x15b967(_0xa66956,_0x58df0f(0x20e)),'onClick':_0x3e4f0f,'children':[_0x2f3542(_0x58df0f(0xdd),{'className':G[_0x58df0f(0x18c)],'children':_0x24c004}),_0x2f3542('div',{'className':G[_0x58df0f(0x274)],'children':_0x24c179})]});}return _0x12dc12?_0x538514():_0x2f3542(_0x10b901,{'title':_0x4a90d0['t'](_0x4349a1(0x1f0)),'children':_0x538514()});}var qi=Object[_0x3339d5(0xd6)],Qi=(_0x24ea19,_0x4f74a1,_0x4cab64,_0x51f25e)=>{const _0xf078cf=_0x3339d5;for(var _0x461364=_0x51f25e>0x1?void 0x0:_0x51f25e?qi(_0x4f74a1,_0x4cab64):_0x4f74a1,_0x228b50=_0x24ea19[_0xf078cf(0x22b)]-0x1,_0x1738d5;_0x228b50>=0x0;_0x228b50--)(_0x1738d5=_0x24ea19[_0x228b50])&&(_0x461364=_0x1738d5(_0x461364)||_0x461364);return _0x461364;},Q=(_0x16f952,_0x324e76)=>(_0x128830,_0x3463aa)=>_0x324e76(_0x128830,_0x3463aa,_0x16f952);let se=class extends _0x2bd1d4{constructor(_0x221e5a,_0x5b0345,_0x4c3113,_0x4d5fa5){const _0x4d9cb0=_0x3339d5;super(),h(this,_0x4d9cb0(0xf3),new _0x2a8032(_0x41f6d3[_0x4d9cb0(0xbd)])),(this['_univerInstanceService']=_0x221e5a,this[_0x4d9cb0(0xfb)]=_0x5b0345,this[_0x4d9cb0(0x277)]=_0x4c3113,this['_uiPartsService']=_0x4d5fa5,this[_0x4d9cb0(0x1ab)](),this[_0x4d9cb0(0x225)]());}[_0x3339d5(0x225)](){const _0x5afcc0=_0x3339d5;this[_0x5afcc0(0x207)](this[_0x5afcc0(0x1a2)][_0x5afcc0(0x200)][_0x5afcc0(0xef)](_0x493419(()=>{const _0xfab9e8=_0x5afcc0,_0x2a3288=this[_0xfab9e8(0x1a2)]['getFocusedUnit']();return _0x2a3288?this[_0xfab9e8(0x277)][_0xfab9e8(0x109)](_0x2a3288['getUnitId']()):_0x46a1eb(null);}),_0x493419(_0x3d856b=>_0x3d856b?_0x3d856b['status$']:_0x46a1eb(_0x41f6d3[_0x5afcc0(0xbd)])))[_0x5afcc0(0x128)](_0x507340=>{const _0x3e5ad1=_0x5afcc0;this[_0x3e5ad1(0xf3)][_0x3e5ad1(0xfc)](_0x507340);}));}[_0x3339d5(0x1ab)](){const _0x127371=_0x3339d5;this['disposeWithMe'](this['_uiPartsService'][_0x127371(0x1c6)](_0x3f1d44['HEADER_MENU'],()=>_0x52732(en({'status$':this[_0x127371(0xf3)][_0x127371(0x16f)]()}),this[_0x127371(0xfb)])));}};se=Qi([Q(0x0,_0x4b01c1),Q(0x1,_0x482cd6(_0x3c7991)),Q(0x2,_0x482cd6(_0x2a81e4)),Q(0x3,_0x25df11)],se);function en(_0x54cdcf){const {status$:_0x40f988}=_0x54cdcf;return function(){return _0x2f3542(Zi,{'status$':_0x40f988});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x58f9d5,_0x22f122,_0x4c73a3,_0x3614d8)=>{const _0x336b23=_0x3339d5;for(var _0x2b5565=_0x3614d8>0x1?void 0x0:_0x3614d8?tn(_0x22f122,_0x4c73a3):_0x22f122,_0x1a382a=_0x58f9d5[_0x336b23(0x22b)]-0x1,_0x3f31ec;_0x1a382a>=0x0;_0x1a382a--)(_0x3f31ec=_0x58f9d5[_0x1a382a])&&(_0x2b5565=_0x3f31ec(_0x2b5565)||_0x2b5565);return _0x2b5565;},k=(_0xeb134d,_0x18517a)=>(_0x117f08,_0x18ef06)=>_0x18517a(_0x117f08,_0x18ef06,_0xeb134d);let ie=class extends _0x2bd1d4{constructor(_0x5be753,_0x2f5572,_0x3f8a13,_0x5cbf9e,_0x5a300f,_0xbf83df){const _0x1608de=_0x3339d5;super(),this['_beforeCloseService']=_0x5be753,this[_0x1608de(0x253)]=_0x2f5572,this[_0x1608de(0xed)]=_0x3f8a13,this[_0x1608de(0xe2)]=_0x5cbf9e,this['_notificationService']=_0x5a300f,this['_localeService']=_0xbf83df,this[_0x1608de(0x28b)](),this['_initEvent']();}[_0x3339d5(0x28b)](){const _0x29585e=_0x3339d5;this[_0x29585e(0x207)](this[_0x29585e(0x153)][_0x29585e(0x159)](()=>{const _0x51d217=_0x29585e;if(this[_0x51d217(0x253)][_0x51d217(0x28e)][_0x51d217(0x190)])return this[_0x51d217(0x232)]['t'](_0x51d217(0x9f));}));}[_0x3339d5(0x1f6)](){const _0x134dcc=_0x3339d5;this[_0x134dcc(0x207)](this['_collaborationUIEventService'][_0x134dcc(0xcc)][_0x134dcc(0x128)](_0x18b969=>{const _0x1107df=_0x134dcc;_0x18b969['id']===_0x265463[_0x1107df(0x26d)]&&this[_0x1107df(0xe2)][_0x1107df(0x297)]({'type':_0xa98450[_0x1107df(0x1a7)],'content':this[_0x1107df(0x232)]['t'](_0x1107df(0x10d))}),_0x18b969['id']===_0x265463[_0x1107df(0x1d6)]&&this[_0x1107df(0xe2)][_0x1107df(0x297)]({'type':_0xa98450[_0x1107df(0x1a7)],'content':this[_0x1107df(0x232)]['t'](_0x1107df(0x1c4))}),_0x18b969['id']===_0x265463['PERMISSION_DENIED']&&this[_0x1107df(0x26a)][_0x1107df(0x297)]({'title':this[_0x1107df(0x232)]['t']('permission.title'),'content':this['_localeService']['t'](_0x1107df(0x295)),'type':_0x1107df(0xf0),'duration':0x0}),_0x18b969['id']===_0x265463[_0x1107df(0xb4)]&&this[_0x1107df(0xe2)][_0x1107df(0x297)]({'type':_0xa98450[_0x1107df(0x1f3)],'content':this['_localeService']['t'](_0x1107df(0x1c4))+'('+_0x18b969[_0x1107df(0x103)]+')'}),_0x18b969['id']===_0x265463[_0x1107df(0x150)]&&this[_0x1107df(0xe2)][_0x1107df(0x297)]({'type':_0xa98450[_0x1107df(0x1a7)],'content':this[_0x1107df(0x232)]['t'](_0x18b969[_0x1107df(0x103)]||'')}),_0x18b969['id']===_0x265463[_0x1107df(0x252)]&&this[_0x1107df(0xe2)][_0x1107df(0x297)]({'type':_0xa98450[_0x1107df(0x1a7)],'content':this[_0x1107df(0x232)]['t'](_0x1107df(0x246))}),_0x18b969['id']===_0x265463[_0x1107df(0x1ec)]&&this[_0x1107df(0xe2)][_0x1107df(0x297)]({'type':_0xa98450['Error'],'content':this[_0x1107df(0x232)]['t'](_0x1107df(0x1d7))}),_0x18b969['id']===_0x265463[_0x1107df(0xc8)]&&this['_messageService']['show']({'type':_0xa98450[_0x1107df(0x1f3)],'content':this[_0x1107df(0x232)]['t']('session.collaboration-timeout')});}));}};ie=sn([k(0x0,_0x506cd9),k(0x1,_0x3bff1c),k(0x2,_0x482cd6(_0x67f5fc)),k(0x3,_0x4b68b1),k(0x4,_0x142dbc),k(0x5,_0x482cd6(_0x5497a5))],ie);const nn='collaboration-client-ui.config',st={},wt=_0x2a5f17(_0x3339d5(0x17e));var rn=Object[_0x3339d5(0xd6)],on=(_0x2384de,_0x5fd9e9,_0x4e4c52,_0x5b6cc4)=>{const _0x75c377=_0x3339d5;for(var _0x5b91d8=_0x5b6cc4>0x1?void 0x0:_0x5b6cc4?rn(_0x5fd9e9,_0x4e4c52):_0x5fd9e9,_0x1450a4=_0x2384de[_0x75c377(0x22b)]-0x1,_0x3ec1cc;_0x1450a4>=0x0;_0x1450a4--)(_0x3ec1cc=_0x2384de[_0x1450a4])&&(_0x5b91d8=_0x3ec1cc(_0x5b91d8)||_0x5b91d8);return _0x5b91d8;},K=(_0x52810b,_0x5b5e8c)=>(_0x171140,_0x4c99b2)=>_0x5b5e8c(_0x171140,_0x4c99b2,_0x52810b);let ne=class extends _0x560405{constructor(_0x21f2d5,_0x250725,_0x4f126f,_0x751721,_0xe34f20){const _0xf94ec=_0x3339d5;super(),this[_0xf94ec(0x127)]=_0x21f2d5,this[_0xf94ec(0x1aa)]=_0x250725,this['_commandService']=_0x4f126f,this['_dataLoaderService']=_0x751721,_0xe34f20?_0xe34f20==null||_0xe34f20[_0xf94ec(0x1ac)]()['then'](()=>this[_0xf94ec(0xfe)]()):(this[_0xf94ec(0x1aa)]['debug'](_0xf94ec(0x242),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xf94ec(0xfe)]());}async[_0x3339d5(0xfe)](){const _0x11334f=_0x3339d5,_0x373176=this[_0x11334f(0x127)]['getParam'](_0x11334f(0x27b)),_0x1539ef=this['_urlService'][_0x11334f(0xd7)](_0x11334f(0x116)),_0x5b4ba7=this['_urlService'][_0x11334f(0xd7)](_0x11334f(0xbe));if(!_0x373176||!_0x1539ef){this[_0x11334f(0x1aa)][_0x11334f(0x142)](_0x11334f(0x242),_0x11334f(0x227));return;}const _0x13edec=await this[_0x11334f(0x193)][_0x11334f(0x1f2)](_0x373176,Number(_0x1539ef),_0x5b4ba7);_0x13edec&&_0x13edec instanceof _0x587ddd&&this[_0x11334f(0xaa)](_0x13edec);}async['_setupSubUnitSync'](_0x12a61f){const _0x287f0d=_0x3339d5;await this[_0x287f0d(0x14a)](_0x12a61f),_0x12a61f['activeSheet$'][_0x287f0d(0xef)](_0x535f62(this['dispose$']))[_0x287f0d(0x128)](_0x56c63b=>{const _0x52bee0=_0x287f0d;_0x56c63b&&this[_0x52bee0(0xb3)](_0x56c63b);}),this[_0x287f0d(0x127)][_0x287f0d(0xbc)][_0x287f0d(0xef)](_0x535f62(this[_0x287f0d(0x1b0)]))[_0x287f0d(0x128)](()=>this[_0x287f0d(0x14a)](_0x12a61f));}[_0x3339d5(0xb3)](_0x2b7e75,_0x533743=!0x1){const _0x497ec5=_0x3339d5,_0x39dafc=this['_urlService'][_0x497ec5(0xd7)]('subunit');_0x2b7e75[_0x497ec5(0x23a)]()!==_0x39dafc&&this[_0x497ec5(0x127)]['setParam'](_0x497ec5(0xbe),_0x2b7e75[_0x497ec5(0x23a)](),_0x533743);}async[_0x3339d5(0x14a)](_0x4bed20){const _0x59e028=_0x3339d5;var _0x355552;const _0x2188ac=this[_0x59e028(0x127)]['getParam'](_0x59e028(0xbe));if(!_0x2188ac||!_0x4bed20[_0x59e028(0x141)](_0x2188ac)){const _0x175657=_0x4bed20['getUnhiddenWorksheets']()[0x0],_0x2b46b7=_0x4bed20[_0x59e028(0x141)](_0x175657);if(!_0x2b46b7)return;this[_0x59e028(0xb3)](_0x2b46b7,!0x0),await this[_0x59e028(0xe5)]['executeCommand'](_0x2fe2a3['id'],{'unitId':_0x4bed20[_0x59e028(0x236)](),'subUnitId':_0x175657});return;}((_0x355552=_0x4bed20[_0x59e028(0xac)]())==null?void 0x0:_0x355552[_0x59e028(0x23a)]())!==_0x2188ac&&await this[_0x59e028(0xe5)][_0x59e028(0x240)](_0x2fe2a3['id'],{'unitId':_0x4bed20[_0x59e028(0x236)](),'subUnitId':_0x2188ac});}};ne=on([K(0x0,wt),K(0x1,_0x4d7927),K(0x2,_0x4514f4),K(0x3,_0x482cd6(_0x49491c)),K(0x4,_0x3d7ff8(_0x3cab73))],ne);var an=Object[_0x3339d5(0xd6)],cn=(_0x4828e7,_0x31087e,_0x2867a7,_0x523ed0)=>{const _0x2ae9ee=_0x3339d5;for(var _0x3b20e1=_0x523ed0>0x1?void 0x0:_0x523ed0?an(_0x31087e,_0x2867a7):_0x31087e,_0x5d6c11=_0x4828e7[_0x2ae9ee(0x22b)]-0x1,_0x507d96;_0x5d6c11>=0x0;_0x5d6c11--)(_0x507d96=_0x4828e7[_0x5d6c11])&&(_0x3b20e1=_0x507d96(_0x3b20e1)||_0x3b20e1);return _0x3b20e1;},Ce=(_0x340297,_0x1efe5e)=>(_0x57c028,_0x3a8870)=>_0x1efe5e(_0x57c028,_0x3a8870,_0x340297);let re=class{constructor(_0x85e891,_0x35445c,_0x4cfce2){const _0x43ca5e=_0x3339d5;this[_0x43ca5e(0xfb)]=_0x85e891,this['_transformService']=_0x35445c,this['_renderManagerService']=_0x4cfce2;}[_0x3339d5(0x1fe)](_0x16c0e9){const _0x5d6c73=_0x3339d5;this[_0x5d6c73(0x196)](_0x16c0e9),this[_0x5d6c73(0x26e)](_0x16c0e9);}['transformRemoteChangeset'](_0x15bc2e){const _0x10bc3b=_0x3339d5,{unitID:_0x2a1123}=_0x15bc2e,_0x4e4f99=this[_0x10bc3b(0x1bd)][_0x10bc3b(0xf1)](_0x2a1123)['with'](_0x340d1f),{redoCache:_0x196204}=_0x4e4f99[_0x10bc3b(0x21d)]();if(_0x196204[_0x10bc3b(0x22b)]===0x0)return _0x15bc2e;let _0x3aca92=_0x44d009['deepClone'](_0x15bc2e[_0x10bc3b(0x17b)][0x0]);for(let _0x3cb192=0x0;_0x3cb192<_0x196204[_0x10bc3b(0x22b)];_0x3cb192++){const _0xecfd29={'id':_0x10bc3b(0x121),'params':{..._0x196204[_0x3cb192]}},_0x745ce2=this[_0x10bc3b(0x27d)][_0x10bc3b(0x1e6)](_0x3aca92,_0xecfd29,!0x1);if(_0x300d8c(_0x745ce2))throw _0x745ce2[_0x10bc3b(0xf0)];_0x3aca92=_0x745ce2['m1Prime'];}return{..._0x44d009[_0x10bc3b(0x1a1)](_0x15bc2e),'mutations':[_0x3aca92]};}[_0x3339d5(0x196)](_0x5c24a8){const _0x4bf08b=_0x3339d5,{unitID:_0x523794}=_0x5c24a8,_0x1130cc=this[_0x4bf08b(0x1bd)][_0x4bf08b(0xf1)](_0x523794)['with'](_0x340d1f),{undoCache:_0x54fcff,redoCache:_0x8c3243}=_0x1130cc['getUndoRedoMutationParamsCache']();if(_0x54fcff[_0x4bf08b(0x22b)]===0x0||_0x8c3243[_0x4bf08b(0x22b)]===0x0)return;const _0xd2bc78=[],_0x91724f=[];let _0x40240c=_0x44d009['deepClone'](_0x5c24a8['mutations'][0x0]),_0x4aa796=_0x44d009[_0x4bf08b(0x1a1)](_0x5c24a8[_0x4bf08b(0x17b)][0x0]);for(let _0x3e730d=_0x54fcff[_0x4bf08b(0x22b)]-0x1;_0x3e730d>=0x0;_0x3e730d--){const _0x4350cb={'id':_0x4bf08b(0x121),'params':{..._0x54fcff[_0x3e730d]}},_0x2225a4={'id':'doc.mutation.rich-text-editing','params':{..._0x8c3243[_0x3e730d]}},_0x355222=this[_0x4bf08b(0x27d)]['transformMutation'](_0x40240c,_0x4350cb,!0x1),_0x2c1dbf=this[_0x4bf08b(0x27d)][_0x4bf08b(0x1e6)](_0x4aa796,_0x2225a4,!0x1);if(_0x300d8c(_0x355222))throw _0x355222['error'];if(_0x300d8c(_0x2c1dbf))throw _0x2c1dbf[_0x4bf08b(0xf0)];_0xd2bc78['unshift'](_0x355222[_0x4bf08b(0x248)][_0x4bf08b(0xf9)]),_0x91724f[_0x4bf08b(0x1cb)](_0x2c1dbf[_0x4bf08b(0x248)]['params']),_0x40240c=_0x355222[_0x4bf08b(0x213)],_0x4aa796=_0x2c1dbf[_0x4bf08b(0x213)];}_0x1130cc[_0x4bf08b(0xc4)]({'undoCache':_0xd2bc78,'redoCache':_0x91724f});}[_0x3339d5(0x26e)](_0x1b024e){const _0x4bd9ea=_0x3339d5,{unitID:_0x5b5567}=_0x1b024e,_0x2af9a8=this[_0x4bd9ea(0x1bd)]['getRenderById'](_0x5b5567)[_0x4bd9ea(0x216)](_0x340d1f),_0x5e279a=_0x2af9a8['getActiveRange']();if(_0x5e279a==null)return;const _0x5f53ad=[{'id':_0x4bd9ea(0x121),'params':{'unitId':_0x1b024e[_0x4bd9ea(0x261)],'actions':null,'textRanges':[_0x5e279a]}}],_0x5207fc=this[_0x4bd9ea(0x27d)][_0x4bd9ea(0xd3)](_0x1b024e,_0x5f53ad);if(!_0x4c6bf8(_0x5207fc))throw _0x5207fc[_0x4bd9ea(0xf0)];const _0x4d7b3a=_0x5207fc[_0x4bd9ea(0x248)][0x0][_0x4bd9ea(0xf9)][_0x4bd9ea(0x1e4)];Array[_0x4bd9ea(0x192)](_0x4d7b3a)&&_0x4d7b3a[_0x4bd9ea(0x22b)]&&_0x2af9a8['setActiveRange'](_0x4d7b3a[0x0]);}};re=cn([Ce(0x0,_0x482cd6(_0x3c7991)),Ce(0x1,_0x4fdee5),Ce(0x2,_0x1d30b1)],re);var ln=Object[_0x3339d5(0xd6)],hn=(_0x58617f,_0x3a545a,_0x43061e,_0x49a060)=>{for(var _0xf2405f=_0x49a060>0x1?void 0x0:_0x49a060?ln(_0x3a545a,_0x43061e):_0x3a545a,_0x28dc8d=_0x58617f['length']-0x1,_0x558fa5;_0x28dc8d>=0x0;_0x28dc8d--)(_0x558fa5=_0x58617f[_0x28dc8d])&&(_0xf2405f=_0x558fa5(_0xf2405f)||_0xf2405f);return _0xf2405f;},be=(_0x4711c2,_0x19ed80)=>(_0x4a15dc,_0x407584)=>_0x19ed80(_0x4a15dc,_0x407584,_0x4711c2);let oe=class{constructor(_0x6c2ec5,_0x4a1a85,_0x1f3571){const _0x5db8f8=_0x3339d5;this['_injector']=_0x6c2ec5,this[_0x5db8f8(0x27d)]=_0x4a1a85,this[_0x5db8f8(0x132)]=_0x1f3571;}[_0x3339d5(0x15b)](_0xf25340){const _0xc77ef2=_0x3339d5;this[_0xc77ef2(0x27e)](_0xf25340);}[_0x3339d5(0x1b4)](_0x3346f1){const _0x3df029=_0x3339d5,{unitID:_0xc48682}=_0x3346f1,{collaboration:_0x1ce0a8}=this[_0x3df029(0x132)][_0x3df029(0x21a)](_0xc48682);if(_0x1ce0a8['length']===0x0)return _0x3346f1;let _0x259bb1=_0x44d009[_0x3df029(0x1a1)](_0x3346f1[_0x3df029(0x17b)][0x0]);for(let _0x1ee595=0x0;_0x1ee595<_0x1ce0a8[_0x3df029(0x22b)];_0x1ee595++){const _0x3fe8ad={'id':_0x3df029(0x121),'params':{'unitId':_0x1ce0a8[_0x1ee595][_0x3df029(0x290)],..._0x1ce0a8[_0x1ee595]['redoState']}},_0x1b5b0e=this[_0x3df029(0x27d)]['transformMutation'](_0x259bb1,_0x3fe8ad,!0x1);if(_0x300d8c(_0x1b5b0e))throw _0x1b5b0e[_0x3df029(0xf0)];_0x259bb1=_0x1b5b0e[_0x3df029(0x213)];}return{..._0x44d009['deepClone'](_0x3346f1),'mutations':[_0x259bb1]};}[_0x3339d5(0x27e)](_0x49aa08){const _0x3c68f9=_0x3339d5,{unitID:_0x14b3a2}=_0x49aa08,{history:_0x317fe7,collaboration:_0x363ec4}=this['_docStateChangeManagerService']['getStateCache'](_0x14b3a2);if(_0x317fe7[_0x3c68f9(0x22b)]===0x0&&_0x363ec4[_0x3c68f9(0x22b)]===0x0)return;const _0x3065ae=[],_0x3e77cc=[];let _0xd6ec10=_0x44d009[_0x3c68f9(0x1a1)](_0x49aa08[_0x3c68f9(0x17b)][0x0]),_0x384aee=_0x44d009[_0x3c68f9(0x1a1)](_0x49aa08[_0x3c68f9(0x17b)][0x0]);for(let _0x906e6d=_0x317fe7[_0x3c68f9(0x22b)]-0x1;_0x906e6d>=0x0;_0x906e6d--){const _0x334446={'id':_0x3c68f9(0x121),'params':{'unitId':_0x317fe7[_0x906e6d][_0x3c68f9(0x290)],..._0x317fe7[_0x906e6d][_0x3c68f9(0x298)]}},_0x413646={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x317fe7[_0x906e6d][_0x3c68f9(0x290)],..._0x317fe7[_0x906e6d][_0x3c68f9(0x18f)]}},_0x53f071=this[_0x3c68f9(0x27d)][_0x3c68f9(0x1e6)](_0xd6ec10,_0x334446,!0x1),_0xc3d99d=this['_transformService']['transformMutation'](_0x384aee,_0x413646,!0x1);if(_0x300d8c(_0x53f071))throw _0x53f071[_0x3c68f9(0xf0)];if(_0x300d8c(_0xc3d99d))throw _0xc3d99d['error'];_0x3065ae[_0x3c68f9(0x1cb)]({..._0x317fe7[_0x906e6d],'undoState':_0x53f071['m2Prime'][_0x3c68f9(0xf9)],'redoState':_0xc3d99d[_0x3c68f9(0x248)][_0x3c68f9(0xf9)]}),_0xd6ec10=_0x53f071[_0x3c68f9(0x213)],_0x384aee=_0xc3d99d['m1Prime'];}_0xd6ec10=_0x44d009['deepClone'](_0x49aa08['mutations'][0x0]),_0x384aee=_0x44d009[_0x3c68f9(0x1a1)](_0x49aa08[_0x3c68f9(0x17b)][0x0]);for(let _0x546bcb=_0x363ec4['length']-0x1;_0x546bcb>=0x0;_0x546bcb--){const _0x41f4b9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x363ec4[_0x546bcb]['unitId'],..._0x363ec4[_0x546bcb]['undoState']}},_0x52ddb3={'id':_0x3c68f9(0x121),'params':{'unitId':_0x363ec4[_0x546bcb][_0x3c68f9(0x290)],..._0x363ec4[_0x546bcb]['redoState']}},_0x118d45=this['_transformService']['transformMutation'](_0xd6ec10,_0x41f4b9,!0x1),_0x49ff81=this[_0x3c68f9(0x27d)][_0x3c68f9(0x1e6)](_0x384aee,_0x52ddb3,!0x1);if(_0x300d8c(_0x118d45))throw _0x118d45['error'];if(_0x300d8c(_0x49ff81))throw _0x49ff81['error'];_0x3e77cc['unshift']({..._0x363ec4[_0x546bcb],'undoState':_0x118d45[_0x3c68f9(0x248)][_0x3c68f9(0xf9)],'redoState':_0x49ff81[_0x3c68f9(0x248)][_0x3c68f9(0xf9)]}),_0xd6ec10=_0x118d45[_0x3c68f9(0x213)],_0x384aee=_0x49ff81[_0x3c68f9(0x213)];}this['_docStateChangeManagerService']['setStateCache'](_0x14b3a2,{'history':_0x3065ae,'collaboration':_0x3e77cc});}};oe=hn([be(0x0,_0x482cd6(_0x3c7991)),be(0x1,_0x4fdee5),be(0x2,_0x482cd6(_0x1d3dda))],oe);var _n=Object[_0x3339d5(0xd6)],un=(_0x34e19a,_0x2f0012,_0x5d4513,_0x15cfdd)=>{const _0x5b1eb4=_0x3339d5;for(var _0xa3c4fe=_0x15cfdd>0x1?void 0x0:_0x15cfdd?_n(_0x2f0012,_0x5d4513):_0x2f0012,_0x56dfca=_0x34e19a[_0x5b1eb4(0x22b)]-0x1,_0x41c848;_0x56dfca>=0x0;_0x56dfca--)(_0x41c848=_0x34e19a[_0x56dfca])&&(_0xa3c4fe=_0x41c848(_0xa3c4fe)||_0xa3c4fe);return _0xa3c4fe;},it=(_0x30730b,_0x14145c)=>(_0x3ea699,_0x540eff)=>_0x14145c(_0x3ea699,_0x540eff,_0x30730b);function _0x587f(_0x195f81,_0x388bcd){const _0x414c73=_0x414c();return _0x587f=function(_0x587f54,_0x5dad12){_0x587f54=_0x587f54-0x9f;let _0x4e6d0d=_0x414c73[_0x587f54];return _0x4e6d0d;},_0x587f(_0x195f81,_0x388bcd);}let ae=class{constructor(_0x56d4d5,_0x1f7903){const _0x428bdd=_0x3339d5;this[_0x428bdd(0xfb)]=_0x56d4d5,this[_0x428bdd(0x27d)]=_0x1f7903;}[_0x3339d5(0x237)](_0x449ecc){const _0x45c97f=_0x3339d5;var _0x10feca;const _0x56ed0a=this[_0x45c97f(0xfb)][_0x45c97f(0x27a)](_0x5a4d54),_0x31cbe4=(_0x10feca=_0x56ed0a['getDocRanges']())!=null?_0x10feca:[];if(_0x31cbe4[_0x45c97f(0x22b)]===0x0)return;const _0x4a119a=_0x449ecc[_0x45c97f(0x261)],_0x5e91d2=[{'id':_0x45c97f(0x121),'params':{'unitId':_0x4a119a,'actions':null,'textRanges':_0x31cbe4}}],_0x4d984f=this[_0x45c97f(0x27d)][_0x45c97f(0xd3)](_0x449ecc,_0x5e91d2);if(!_0x4c6bf8(_0x4d984f))throw _0x4d984f[_0x45c97f(0xf0)];const _0x1c83e2=_0x4d984f['m2Prime'][0x0][_0x45c97f(0xf9)][_0x45c97f(0x1e4)];Array[_0x45c97f(0x192)](_0x1c83e2)&&_0x1c83e2[_0x45c97f(0x22b)]&&_0x56ed0a['replaceDocRanges'](_0x1c83e2,{'unitId':_0x4a119a,'subUnitId':_0x4a119a},!0x1);}};ae=un([it(0x0,_0x482cd6(_0x3c7991)),it(0x1,_0x4fdee5)],ae);var dn=Object[_0x3339d5(0xd6)],fn=(_0x4da4e1,_0x50931b,_0x5c01f6,_0x429b46)=>{const _0x318aa4=_0x3339d5;for(var _0x5245ec=_0x429b46>0x1?void 0x0:_0x429b46?dn(_0x50931b,_0x5c01f6):_0x50931b,_0x45c351=_0x4da4e1[_0x318aa4(0x22b)]-0x1,_0x507c2c;_0x45c351>=0x0;_0x45c351--)(_0x507c2c=_0x4da4e1[_0x45c351])&&(_0x5245ec=_0x507c2c(_0x5245ec)||_0x5245ec);return _0x5245ec;},M=(_0x4e3099,_0x544da7)=>(_0x5054df,_0x11a874)=>_0x544da7(_0x5054df,_0x11a874,_0x4e3099);let ce=class extends _0x2bd1d4{constructor(_0x5ce60b,_0x42d74e,_0x573627,_0x8b49b2,_0x48c5b2,_0x2dc140,_0x5affed,_0x5dbc90){const _0x2368ef=_0x3339d5;super(),h(this,'_status$',new _0x2a8032(_0x41f6d3[_0x2368ef(0xbd)])),(this[_0x2368ef(0x132)]=_0x5ce60b,this[_0x2368ef(0x277)]=_0x42d74e,this[_0x2368ef(0xbf)]=_0x573627,this['_docTransformStateCacheService']=_0x8b49b2,this[_0x2368ef(0x18d)]=_0x48c5b2,this['_docSyncEditingCollabCursorService']=_0x2dc140,this['_messageService']=_0x5affed,this[_0x2368ef(0x232)]=_0x5dbc90,this['_initEntityListener']());}[_0x3339d5(0x143)](){const _0x2c0a4c=_0x3339d5;this[_0x2c0a4c(0x207)](this[_0x2c0a4c(0x277)][_0x2c0a4c(0x27c)][_0x2c0a4c(0x128)](_0xcdbe64=>{const _0x21a6a8=_0x2c0a4c,_0x4212f0=this[_0x21a6a8(0x132)][_0x21a6a8(0x25d)][_0x21a6a8(0x128)](_0x32398e=>{const _0x3f457b=_0x21a6a8;if(_0x32398e==null)return;const {unitId:_0x199c54,redoState:_0x6a053c,commandId:_0x148ab0}=_0x32398e;if(_0x199c54!==_0xcdbe64['unitID'])return;const _0x487b4b={'id':_0x148ab0,'type':_0x13761c[_0x3f457b(0xd4)],'params':{'unitId':_0x199c54,'actions':_0x6a053c[_0x3f457b(0xc5)],'textRanges':null}};_0xcdbe64['onLocalMutation'](_0x487b4b);});if(_0xcdbe64[_0x21a6a8(0x207)](_0x4212f0),_0xcdbe64 instanceof _0x5ebf78){const _0x2809a2={'onTransformIME':_0x7b16ac=>this[_0x21a6a8(0xbf)][_0x21a6a8(0x1fe)](_0x7b16ac),'onTransformState':_0x2b7f7c=>this[_0x21a6a8(0x220)][_0x21a6a8(0x15b)](_0x2b7f7c),'onTransformSelections':_0x537f94=>this[_0x21a6a8(0x18d)]['transformSelections'](_0x537f94),'onSyncEditingCollabCursor':_0x3e5828=>this['_docSyncEditingCollabCursorService'][_0x21a6a8(0x230)](_0x3e5828),'onTransformRemoteChangesetByIMECache':_0x50b939=>this[_0x21a6a8(0xbf)][_0x21a6a8(0x1b4)](_0x50b939),'onTransformRemoteChangesetByStateCache':_0x822aa7=>this[_0x21a6a8(0x220)][_0x21a6a8(0x1b4)](_0x822aa7)};_0xcdbe64[_0x21a6a8(0x1a5)](_0x2809a2);}}));}};ce=fn([M(0x0,_0x482cd6(_0x1d3dda)),M(0x1,_0x482cd6(_0x2a81e4)),M(0x2,_0x482cd6(re)),M(0x3,_0x482cd6(oe)),M(0x4,_0x482cd6(ae)),M(0x5,_0x482cd6(je)),M(0x6,_0x4b68b1),M(0x7,_0x482cd6(_0x5497a5))],ce);var Sn=Object[_0x3339d5(0xd6)],mn=(_0x285674,_0x34a966,_0x24ddc0,_0x2f7dbc)=>{for(var _0x3f1d9d=_0x2f7dbc>0x1?void 0x0:_0x2f7dbc?Sn(_0x34a966,_0x24ddc0):_0x34a966,_0x5143d7=_0x285674['length']-0x1,_0x95b73f;_0x5143d7>=0x0;_0x5143d7--)(_0x95b73f=_0x285674[_0x5143d7])&&(_0x3f1d9d=_0x95b73f(_0x3f1d9d)||_0x3f1d9d);return _0x3f1d9d;},Ee=(_0x49c88e,_0x30e75b)=>(_0x5ad021,_0x540286)=>_0x30e75b(_0x5ad021,_0x540286,_0x49c88e);let Ae=class extends _0x2bd1d4{constructor(_0x3204f7,_0x42675c,_0x14b791){const _0x29e399=_0x3339d5;super(),h(this,_0x29e399(0x1a4),new Map()),h(this,_0x29e399(0xec),new Map()),h(this,_0x29e399(0xb8),!0x1),(this[_0x29e399(0x129)]=_0x3204f7,this[_0x29e399(0x255)]=_0x42675c,this[_0x29e399(0x180)]=_0x14b791);}[_0x3339d5(0x175)](){this['_disabled']=!0x0;}[_0x3339d5(0x15a)](){const _0x346b1a=_0x3339d5;this[_0x346b1a(0xb8)]=!0x1;}get['saveTaskMap'](){const _0x458e9a=_0x3339d5;return this[_0x458e9a(0xec)];}[_0x3339d5(0x275)](){const _0x3478d7=_0x3339d5;this['exhaustSavingTask']()['then'](()=>super[_0x3478d7(0x275)]());}async['loadOfflineData'](_0x427795){const _0xf140e0=_0x3339d5;return this[_0xf140e0(0xb8)]?null:this[_0xf140e0(0x255)][_0xf140e0(0x110)](_0x3ea19b(_0x427795));}async[_0x3339d5(0x265)](_0x1ecc08,_0xb15aaa){const _0x1f20d6=_0x3339d5;return!!this[_0x1f20d6(0x255)][_0x1f20d6(0x1ce)](_0x1ecc08,_0xb15aaa);}[_0x3339d5(0xa8)](_0x30e895,_0x347ad7,_0x14ab21,_0x305ac4){const _0x3a8351=_0x3339d5,_0x45f724=this['_revisionService'][_0x3a8351(0x284)](_0x30e895);this[_0x3a8351(0x1a4)]['set'](_0x30e895,{'unitID':_0x30e895,'type':_0x347ad7,'awaitingChangeset':_0x14ab21,'mutations':_0x305ac4,'rev':_0x45f724}),this[_0x3a8351(0xec)][_0x3a8351(0xe4)](_0x30e895)||this[_0x3a8351(0x17d)](_0x30e895);}[_0x3339d5(0x17d)](_0x545bd2){const _0xd03a27=_0x3339d5,_0x22171f=this[_0xd03a27(0x244)]();_0x22171f===0x0?this[_0xd03a27(0x291)](_0x545bd2):this[_0xd03a27(0xec)]['set'](_0x545bd2,setTimeout(()=>this['_saveCache'](_0x545bd2),_0x22171f));}[_0x3339d5(0x244)](){const _0x54aeba=_0x3339d5;var _0x4f2484;return(_0x4f2484=this['_configService'][_0x54aeba(0x165)](_0x421815))!=null?_0x4f2484:_0x57c8e3;}[_0x3339d5(0x291)](_0x1a250a){const _0x182138=_0x3339d5,_0xdc0033=this[_0x182138(0xec)][_0x182138(0x27a)](_0x1a250a);return _0xdc0033!==void 0x0&&window[_0x182138(0x201)](_0xdc0033),this['_localStorageService'][_0x182138(0x1ce)](_0x3ea19b(_0x1a250a),this[_0x182138(0x1a4)][_0x182138(0x27a)](_0x1a250a))[_0x182138(0x12f)](()=>this['_saveTaskMap'][_0x182138(0x19d)](_0x1a250a));}async['exhaustSavingTask'](){const _0x1f4d1f=_0x3339d5,_0x4e8928=[];this[_0x1f4d1f(0xec)]['forEach']((_0x32ae69,_0x54df89)=>{const _0x52e8e4=_0x1f4d1f;window[_0x52e8e4(0x201)](_0x32ae69),_0x4e8928['push'](this[_0x52e8e4(0x291)](_0x54df89)[_0x52e8e4(0x12f)](()=>{const _0x460587=_0x52e8e4;this[_0x460587(0xec)][_0x460587(0x19d)](_0x54df89);}));}),await Promise[_0x1f4d1f(0x26b)](_0x4e8928);}};Ae=mn([Ee(0x0,_0x449af2),Ee(0x1,_0x5017ac),Ee(0x2,_0x482cd6(_0x174477))],Ae);class gn extends _0x560405{constructor(){const _0x13f85f=_0x3339d5;super(),h(this,_0x13f85f(0xbc)),this[_0x13f85f(0xbc)]=_0x4b29d5(window,_0x13f85f(0x1fa))[_0x13f85f(0xef)](_0x535f62(this[_0x13f85f(0x1b0)]),_0x188ffe(0x1),_0x2b8fca(void 0x0));}[_0x3339d5(0x187)](_0x36ddb7,_0x56b4c4,_0x4b631a=!0x1){const _0x3056b9=_0x3339d5,_0x483047=new URL(window['location']['href']);_0x483047[_0x3056b9(0x11d)][_0x3056b9(0x188)](_0x36ddb7,_0x56b4c4),_0x4b631a?window[_0x3056b9(0x168)][_0x3056b9(0x17f)]('','',_0x483047['toString']()):window[_0x3056b9(0x168)][_0x3056b9(0x139)]('','',_0x483047[_0x3056b9(0x1e5)]());}[_0x3339d5(0x1c0)](_0x22c96f,_0x588b4a=!0x1){const _0x164a1d=_0x3339d5,_0x2f9380=new URL(window[_0x164a1d(0xe6)][_0x164a1d(0x155)]);_0x2f9380[_0x164a1d(0x11d)]['delete'](_0x22c96f),_0x588b4a?window[_0x164a1d(0x168)][_0x164a1d(0x17f)]('','',_0x2f9380[_0x164a1d(0x1e5)]()):window['history'][_0x164a1d(0x139)]('','',_0x2f9380[_0x164a1d(0x1e5)]());}[_0x3339d5(0xd7)](_0x182cd5){const _0x53f8d0=_0x3339d5;var _0x543f49;return(_0x543f49=new URL(window[_0x53f8d0(0xe6)][_0x53f8d0(0x155)])[_0x53f8d0(0x11d)][_0x53f8d0(0x27a)](_0x182cd5))!=null?_0x543f49:void 0x0;}}var vn=Object[_0x3339d5(0x102)],In=Object[_0x3339d5(0xd6)],pn=(_0x69aa80,_0x2541e,_0x3a5ed3)=>_0x2541e in _0x69aa80?vn(_0x69aa80,_0x2541e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a5ed3}):_0x69aa80[_0x2541e]=_0x3a5ed3,Cn=(_0x482cd7,_0x5cc856,_0x3b308e,_0x2f1761)=>{const _0x5111f8=_0x3339d5;for(var _0x2bd32a=_0x2f1761>0x1?void 0x0:_0x2f1761?In(_0x5cc856,_0x3b308e):_0x5cc856,_0x3adf86=_0x482cd7[_0x5111f8(0x22b)]-0x1,_0x55572d;_0x3adf86>=0x0;_0x3adf86--)(_0x55572d=_0x482cd7[_0x3adf86])&&(_0x2bd32a=_0x55572d(_0x2bd32a)||_0x2bd32a);return _0x2bd32a;},Oe=(_0x4a0954,_0x1ecad0)=>(_0xab5397,_0x1e532b)=>_0x1ecad0(_0xab5397,_0x1e532b,_0x4a0954),bn=(_0x242899,_0x334d34,_0x46ab1e)=>pn(_0x242899,_0x334d34+'',_0x46ab1e);const En=_0x3339d5(0x233);let ye=class extends _0x92c45{constructor(_0x23bfb2=st,_0x587771,_0x4014ed,_0x114148){const _0x193aa7=_0x3339d5;super(),this[_0x193aa7(0x1f7)]=_0x23bfb2,this[_0x193aa7(0x1bd)]=_0x587771,this['_injector']=_0x4014ed,this[_0x193aa7(0x129)]=_0x114148;const {..._0x465657}=_0x219969({},st,this[_0x193aa7(0x1f7)]);this['_configService'][_0x193aa7(0x182)](nn,_0x465657);}[_0x3339d5(0x1b7)](){const _0xfd7fd1=_0x3339d5;this['_registerDependencies'](),this[_0xfd7fd1(0x149)]();}['onRendered'](){const _0x329f10=_0x3339d5;this[_0x329f10(0xa6)]();}[_0x3339d5(0x24c)](){const _0x2165bd=_0x3339d5;var _0x5af498;const _0x4f588e=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x5bb4bb,{'useClass':_0x39824d}],[_0x3bff1c,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x4f1a3f(this[_0x2165bd(0xfb)],_0x7fa595(_0x4f588e,(_0x5af498=this['_config'])==null?void 0x0:_0x5af498[_0x2165bd(0x25e)]));}['_registerRenderDependencies'](){const _0x2e127f=_0x3339d5;this['disposeWithMe'](this[_0x2e127f(0x1bd)][_0x2e127f(0x204)](_0x3fe5fd[_0x2e127f(0x108)],[Ue])),this['disposeWithMe'](this['_renderManagerService'][_0x2e127f(0x204)](_0x3fe5fd['UNIVER_SHEET'],[Le]));}[_0x3339d5(0x149)](){_0x4b86e1(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};bn(ye,'pluginName',En),ye=Cn([_0x1917f6(_0x21de00),Oe(0x1,_0x1d30b1),Oe(0x2,_0x482cd6(_0x3c7991)),Oe(0x3,_0x449af2)],ye);var On=Object[_0x3339d5(0xd6)],Tn=(_0xb62ac1,_0x38aa9d,_0x28ca33,_0x52e9b7)=>{const _0x46c967=_0x3339d5;for(var _0x11e527=_0x52e9b7>0x1?void 0x0:_0x52e9b7?On(_0x38aa9d,_0x28ca33):_0x38aa9d,_0x5b55f6=_0xb62ac1[_0x46c967(0x22b)]-0x1,_0x4b7249;_0x5b55f6>=0x0;_0x5b55f6--)(_0x4b7249=_0xb62ac1[_0x5b55f6])&&(_0x11e527=_0x4b7249(_0x11e527)||_0x11e527);return _0x11e527;},z=(_0x455b70,_0x2b03d0)=>(_0x1986ee,_0x1a3416)=>_0x2b03d0(_0x1986ee,_0x1a3416,_0x455b70);let nt=class extends _0x449592{constructor(_0x596ab8,_0x46d1be,_0x379252,_0x1a72e7,_0x5a3f34){super(_0x596ab8,_0x46d1be,_0x379252,_0x1a72e7,_0x5a3f34);}async[_0x3339d5(0xeb)](_0x22c77d){const _0x1b3e15=_0x3339d5,_0x572ad2=await this[_0x1b3e15(0x111)](),_0x49e884=this['_createSocketURL'](_0x22c77d,_0x572ad2);return this[_0x1b3e15(0x1c7)](_0x49e884);}[_0x3339d5(0x107)](_0x3af894,_0x32d743){const _0x1b14dd=_0x3339d5,_0x156717=typeof window>'u'?new URL(_0x3af894):new URL(_0x3af894,window[_0x1b14dd(0xe6)][_0x1b14dd(0x1ef)]);_0x156717['searchParams']['set']('sessionTicket',_0x32d743);const _0x19d242=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x1b14dd(0x1c5)]);return _0x19d242[_0x1b14dd(0x27a)](_0x1b14dd(0x258))&&_0x156717['searchParams'][_0x1b14dd(0x188)](_0x1b14dd(0x258),_0x19d242[_0x1b14dd(0x27a)](_0x1b14dd(0x258))),_0x156717[_0x1b14dd(0x1e5)]();}async['_getSessionTicket'](){const _0xc87834=_0x3339d5;var _0x32afc4,_0x4d4fd1,_0x1f19d3;const _0x682e79=this['_configService'][_0xc87834(0x165)](_0x510817),_0x3ecf54=(_0x32afc4=_0x682e79==null?void 0x0:_0x682e79['wsSessionTicketUrl'])!=null?_0x32afc4:_0x220565;return(_0x1f19d3=(_0x4d4fd1=(await this[_0xc87834(0x223)][_0xc87834(0x27a)](_0x3ecf54,{'headers':{'Content-Type':_0xc87834(0x15c)}}))[_0xc87834(0x120)])==null?void 0x0:_0x4d4fd1[_0xc87834(0xa3)])!=null?_0x1f19d3:'';}};nt=Tn([z(0x0,_0x482cd6(_0x3c7991)),z(0x1,_0x482cd6(_0x577891)),z(0x2,_0x449af2),z(0x3,_0x4d7927),z(0x4,_0x231dc3)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0x2bd1d4{constructor(){const _0x4ffadb=_0x3339d5;super(),h(this,'_id',_0x1eae00()),h(this,_0x4ffadb(0x211),new Set()),h(this,_0x4ffadb(0x157),new Map()),h(this,_0x4ffadb(0x1cf),null),h(this,_0x4ffadb(0x16a),new Map()),h(this,'_unitStatus',new Map()),this['_init']();}['dispose'](){const _0x5415b1=_0x3339d5;super['dispose'](),this[_0x5415b1(0x16a)][_0x5415b1(0xd0)]((_0x2ac996,_0x277b81)=>this['_removeClearOtherTimer'](_0x277b81)),this[_0x5415b1(0x1cf)]&&window[_0x5415b1(0x257)](this[_0x5415b1(0x1cf)]);}[_0x3339d5(0x1dd)](_0x553db2){const _0x375a75=_0x3339d5;return this['_ensureSubject'](_0x553db2)[_0x375a75(0xef)](_0x459010());}[_0x3339d5(0x268)](_0x20744e){const _0x15527f=_0x3339d5;this[_0x15527f(0x211)][_0x15527f(0x190)]===0x0&&this[_0x15527f(0x147)](),this[_0x15527f(0x211)][_0x15527f(0xd8)](_0x20744e),this[_0x15527f(0x1bc)]({'type':0x0,'memberID':this[_0x15527f(0x140)],'unitIDs':[_0x20744e],'isForwarded':!0x1});}[_0x3339d5(0x20d)](_0x510105){const _0x287ca2=_0x3339d5;this['_selfUnitIDs']['delete'](_0x510105),this[_0x287ca2(0x211)][_0x287ca2(0x190)]===0x0&&this[_0x287ca2(0x1cf)]&&window[_0x287ca2(0x257)](this[_0x287ca2(0x1cf)]);}['_init'](){const _0x1b76e9=_0x3339d5;this['disposeWithMe'](_0x12fcb9(_0x4b29d5(window,_0x1b76e9(0x1f8))['subscribe'](_0x5e23b0=>{const _0x31617d=_0x1b76e9;if(_0x5e23b0[_0x31617d(0x10a)]!==ot||!_0x5e23b0[_0x31617d(0x217)])return;const _0x18c3f4=JSON[_0x31617d(0x136)](_0x5e23b0[_0x31617d(0x217)]);this[_0x31617d(0x1df)](_0x18c3f4);}))),window['addEventListener'](_0x1b76e9(0xe9),()=>this[_0x1b76e9(0x1bc)]({'type':0x1,'memberID':this[_0x1b76e9(0x140)],'unitIDs':Array[_0x1b76e9(0x20a)](this[_0x1b76e9(0x211)])}));}[_0x3339d5(0x1df)](_0x151711){const _0x315904=_0x3339d5;switch(_0x151711[_0x315904(0x116)]){case 0x0:this[_0x315904(0xf2)](_0x151711);break;case 0x1:this[_0x315904(0x13b)](_0x151711);break;case 0x2:this[_0x315904(0xe3)](_0x151711);break;}}[_0x3339d5(0xf2)](_0x5c0005){const _0x30d6cd=_0x3339d5,{unitIDs:_0x5c4d76,memberID:_0x2152f9,isForwarded:_0x271e9e}=_0x5c0005;_0x5c4d76[_0x30d6cd(0xd0)](_0x42caf1=>{const _0x72768b=_0x30d6cd;if(!_0x271e9e&&this[_0x72768b(0x157)]['has'](_0x42caf1)&&this[_0x72768b(0x105)](_0x42caf1)[_0x72768b(0xfc)](_0x27a9b0['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x72768b(0xe4)](_0x42caf1)||!this['_unitOnClients'][_0x72768b(0x27a)](_0x42caf1)[_0x72768b(0xe4)](_0x2152f9)){const _0x2d3a5b=this[_0x72768b(0x157)]['get'](_0x42caf1)||new Set();_0x2d3a5b[_0x72768b(0xd8)](_0x2152f9),this[_0x72768b(0x157)]['set'](_0x42caf1,_0x2d3a5b),this['_scheduleClearOtherTimer'](_0x2152f9);}}),_0x271e9e||this[_0x30d6cd(0x1bc)]({'type':0x0,'memberID':this[_0x30d6cd(0x140)],'unitIDs':[...this[_0x30d6cd(0x211)]],'isForwarded':!0x0});}[_0x3339d5(0xc0)](_0x2ba3fc){const _0x4f9547=_0x3339d5;this[_0x4f9547(0xc6)](_0x2ba3fc);const _0x48f98d=window[_0x4f9547(0xea)](()=>{const _0x50b17a=_0x4f9547;this['_unitOnClients'][_0x50b17a(0xd0)](_0x421ff1=>{const _0x556b91=_0x50b17a;_0x421ff1[_0x556b91(0x19d)](_0x2ba3fc);});},rt*0x2);this[_0x4f9547(0x16a)][_0x4f9547(0x188)](_0x2ba3fc,_0x48f98d);}[_0x3339d5(0xc6)](_0x5846ae){const _0x33ef4f=_0x3339d5;if(this[_0x33ef4f(0x16a)][_0x33ef4f(0xe4)](_0x5846ae)){const _0x18bb2c=this[_0x33ef4f(0x16a)][_0x33ef4f(0x27a)](_0x5846ae);_0x18bb2c&&window[_0x33ef4f(0x201)](_0x18bb2c),this[_0x33ef4f(0x16a)][_0x33ef4f(0x188)](_0x5846ae,null);}}[_0x3339d5(0x13b)](_0x52a8d0){const _0x34fd70=_0x3339d5,{memberID:_0x4bc72b,unitIDs:_0x3437e9}=_0x52a8d0;_0x3437e9[_0x34fd70(0xd0)](_0x46ffd0=>{const _0x1c25bd=_0x34fd70;var _0x286481;const _0x12a9dc=this[_0x1c25bd(0x157)][_0x1c25bd(0x27a)](_0x46ffd0);_0x12a9dc&&(_0x12a9dc[_0x1c25bd(0x19d)](_0x4bc72b),(_0x286481=this[_0x1c25bd(0x105)](_0x46ffd0))==null||_0x286481[_0x1c25bd(0xfc)](_0x12a9dc[_0x1c25bd(0x190)]===0x0?_0x27a9b0['NO_OTHER_CLIENTS_EDITING']:_0x27a9b0[_0x1c25bd(0x1e7)]));}),this['_removeClearOtherTimer'](_0x4bc72b);}[_0x3339d5(0xe3)](_0x1b83bb){const _0x1c5ada=_0x3339d5;this[_0x1c5ada(0xc0)](_0x1b83bb[_0x1c5ada(0xdc)]);}['_send'](_0x502188){const _0x4b576c=_0x3339d5;localStorage['setItem'](ot,JSON[_0x4b576c(0x1e0)](_0x502188));}[_0x3339d5(0x147)](){const _0x5c8546=_0x3339d5;this[_0x5c8546(0x1cf)]=window[_0x5c8546(0x294)](()=>{const _0x12ef22=_0x5c8546;this['_send']({'type':0x2,'memberID':this[_0x12ef22(0x140)]});},rt);}['_ensureSubject'](_0x5cafc8){const _0x4fc3fe=_0x3339d5;return this[_0x4fc3fe(0x1d0)]['has'](_0x5cafc8)||this[_0x4fc3fe(0x1d0)]['set'](_0x5cafc8,new _0x2a8032(_0x27a9b0[_0x4fc3fe(0x1e1)])),this[_0x4fc3fe(0x1d0)][_0x4fc3fe(0x27a)](_0x5cafc8);}}var Ut=(_0x379d79=>(_0x379d79[_0x379d79[_0x3339d5(0x283)]=0x0]=_0x3339d5(0x283),_0x379d79[_0x379d79['OK']=0x1]='OK',_0x379d79[_0x379d79[_0x3339d5(0x1f9)]=0x2]='INTERNAL_ERROR',_0x379d79[_0x379d79[_0x3339d5(0x276)]=0x3]=_0x3339d5(0x276),_0x379d79[_0x379d79[_0x3339d5(0x1e3)]=0x4]=_0x3339d5(0x1e3),_0x379d79[_0x379d79[_0x3339d5(0x29c)]=0x5]=_0x3339d5(0x29c),_0x379d79[_0x379d79[_0x3339d5(0x130)]=0x6]=_0x3339d5(0x130),_0x379d79[_0x379d79[_0x3339d5(0x1c1)]=0x7]=_0x3339d5(0x1c1),_0x379d79[_0x379d79['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x379d79[_0x379d79[_0x3339d5(0x194)]=0x9]=_0x3339d5(0x194),_0x379d79[_0x379d79[_0x3339d5(0x231)]=0x1389]=_0x3339d5(0x231),_0x379d79[_0x379d79[_0x3339d5(0x271)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x379d79[_0x379d79[_0x3339d5(0x1cc)]=0x1772]=_0x3339d5(0x1cc),_0x379d79[_0x379d79[_0x3339d5(0x13a)]=0x1773]=_0x3339d5(0x13a),_0x379d79[_0x379d79[_0x3339d5(0xc2)]=0x1b59]=_0x3339d5(0xc2),_0x379d79[_0x379d79[_0x3339d5(0x29a)]=0x1b5a]=_0x3339d5(0x29a),_0x379d79[_0x379d79['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3339d5(0x210),_0x379d79[_0x379d79[_0x3339d5(0xc7)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x379d79[_0x379d79[_0x3339d5(0x203)]=0x1b5d]=_0x3339d5(0x203),_0x379d79[_0x379d79[_0x3339d5(0x146)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x379d79[_0x379d79[_0x3339d5(0x13e)]=0x2329]=_0x3339d5(0x13e),_0x379d79[_0x379d79[_0x3339d5(0x134)]=0x232a]=_0x3339d5(0x134),_0x379d79[_0x379d79['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3339d5(0x13c),_0x379d79[_0x379d79[_0x3339d5(0x167)]=0x232c]=_0x3339d5(0x167),_0x379d79[_0x379d79['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3339d5(0x10c),_0x379d79[_0x379d79[_0x3339d5(0x19c)]=0x2711]=_0x3339d5(0x19c),_0x379d79[_0x379d79[_0x3339d5(0x1d3)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x379d79[_0x379d79[_0x3339d5(0xa2)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x379d79[_0x379d79[_0x3339d5(0x259)]=0x2714]=_0x3339d5(0x259),_0x379d79[_0x379d79[_0x3339d5(0x14c)]=0x2af9]=_0x3339d5(0x14c),_0x379d79[_0x379d79[_0x3339d5(0x11a)]=-0x1]=_0x3339d5(0x11a),_0x379d79))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x4964d3,_0x1a97d5,_0x5869a6,_0x551e27)=>{for(var _0x361a6a=_0x551e27>0x1?void 0x0:_0x551e27?Rn(_0x1a97d5,_0x5869a6):_0x1a97d5,_0x2d3447=_0x4964d3['length']-0x1,_0xa3d884;_0x2d3447>=0x0;_0x2d3447--)(_0xa3d884=_0x4964d3[_0x2d3447])&&(_0x361a6a=_0xa3d884(_0x361a6a)||_0x361a6a);return _0x361a6a;},Te=(_0x3f1a9d,_0x103a4a)=>(_0x5cf44d,_0x4b5f5d)=>_0x103a4a(_0x5cf44d,_0x4b5f5d,_0x3f1a9d);let at=class extends _0x2bd1d4{constructor(_0x4293bc,_0x5ee093,_0x92c2e2){const _0x36e744=_0x3339d5;super(),this[_0x36e744(0x26f)]=_0x4293bc,this[_0x36e744(0x223)]=_0x5ee093,this[_0x36e744(0x129)]=_0x92c2e2;}async[_0x3339d5(0x279)](_0x990d19,_0x10bd0c,_0x150a7d,..._0xd3202d){const _0x2b01bd=_0x3339d5;var _0x2a295b,_0x37fccd,_0x59270d,_0xba2bc4;const _0x3776b3=this[_0x2b01bd(0x26f)]['getFocusedUnit']();if(!_0x3776b3)throw new Error(_0x2b01bd(0x18b));const _0x32ceee=((_0x2a295b=this[_0x2b01bd(0x129)]['getConfig'](_0x26174b))!=null?_0x2a295b:_0x4aa098)+'/'+_0x990d19+_0x2b01bd(0x12b)+_0x10bd0c,_0x44eaa6=new URL(window['location'][_0x2b01bd(0x155)]),_0x22f9ef={'scriptId':_0x990d19,'runId':(_0x37fccd=_0x44eaa6[_0x2b01bd(0x11d)][_0x2b01bd(0x27a)](_0x2b01bd(0x258)))!=null?_0x37fccd:'','function':_0x10bd0c,'unitId':_0x3776b3[_0x2b01bd(0x236)](),'argsOfFunction':JSON['stringify'](_0xd3202d),'invokeId':(_0x59270d=_0x150a7d[_0x2b01bd(0x27f)])!=null?_0x59270d:'','executionId':(_0xba2bc4=_0x150a7d[_0x2b01bd(0x163)])!=null?_0xba2bc4:''};try{const _0x1d5a90=await this[_0x2b01bd(0x223)][_0x2b01bd(0x299)](_0x32ceee,{'body':_0x22f9ef});return _0x1d5a90[_0x2b01bd(0x120)][_0x2b01bd(0xf0)]&&_0x1d5a90['body'][_0x2b01bd(0xf0)][_0x2b01bd(0xb0)]!==Ut['OK']?'Failed':_0x1d5a90[_0x2b01bd(0x120)][_0x2b01bd(0x12e)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x4b01c1),Te(0x1,_0x482cd6(_0x577891)),Te(0x2,_0x449af2)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
|
1
|
+
const _0x379cf2=_0xad73;(function(_0x10e1dc,_0x7e01c5){const _0x152f88=_0xad73,_0x361de1=_0x10e1dc();while(!![]){try{const _0x2304b6=parseInt(_0x152f88(0x18f))/0x1+parseInt(_0x152f88(0xb1))/0x2+-parseInt(_0x152f88(0xfc))/0x3*(parseInt(_0x152f88(0x152))/0x4)+-parseInt(_0x152f88(0x1d6))/0x5*(-parseInt(_0x152f88(0x1a5))/0x6)+-parseInt(_0x152f88(0xa3))/0x7*(parseInt(_0x152f88(0x205))/0x8)+parseInt(_0x152f88(0x296))/0x9*(-parseInt(_0x152f88(0x132))/0xa)+parseInt(_0x152f88(0x24b))/0xb*(-parseInt(_0x152f88(0x141))/0xc);if(_0x2304b6===_0x7e01c5)break;else _0x361de1['push'](_0x361de1['shift']());}catch(_0x35ffd8){_0x361de1['push'](_0x361de1['shift']());}}}(_0x4663,0xe92f8));var kt=Object[_0x379cf2(0x1e3)],Bt=(_0x192f6c,_0x249ea0,_0x3d425b)=>_0x249ea0 in _0x192f6c?kt(_0x192f6c,_0x249ea0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d425b}):_0x192f6c[_0x249ea0]=_0x3d425b,h=(_0x577ec1,_0x15691a,_0x368ff5)=>Bt(_0x577ec1,typeof _0x15691a!='symbol'?_0x15691a+'':_0x15691a,_0x368ff5);import{MemberService as _0x4836a9,SessionStatus as _0x206c1b,CollaborationSessionService as _0x1ea135,CollaborationStatus as _0x4d27e0,CollaborationController as _0x501824,ILocalCacheService as _0x2d7ad5,CollaborationUIEventService as _0x42a0e4,CollaborationUIEventId as _0x3bedaa,DataLoaderService as _0x1cd7b8,DocCollaborationEntity as _0xbdcbb2,getLocalCacheKey as _0x523664,LOCAL_CACHE_INTERVAL as _0x6a1502,LOCAL_CACHE_INTERVAL_KEY as _0x1918ce,UniverCollaborationClientPlugin as _0xb81a48,CollaborationSocketService as _0x51e325,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x41cacd,DEFAULT_WS_SESSION_TICKET_URL as _0x3450b8,UnitStatus as _0x197afb,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4102d1,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x12c45b}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x44a5f4,Disposable as _0x395c47,DOC_RANGE_TYPE as _0x1225c4,Inject as _0x4cfb35,Injector as _0x4e3c79,IUniverInstanceService as _0x3fdd3f,ICommandService as _0xa728e,debounce as _0x35b3b0,Rectangle as _0x9f554c,DisposableCollection as _0x5c15b7,toDisposable as _0x4811df,UniverInstanceType as _0x327af0,Tools as _0x35019f,COLORS as _0x8286bb,ColorKit as _0x462557,ThemeService as _0x5809b4,fromEventSubject as _0x148f7b,LocaleService as _0x49529a,createIdentifier as _0x201f16,ILogService as _0x429436,Optional as _0x259b41,Workbook as _0x1ce281,CommandType as _0x4c8ae4,IConfigService as _0x3c1517,ILocalStorageService as _0x180ec8,DependentOn as _0x41c801,Plugin as _0x403ad6,merge as _0x1a8ad2,registerDependencies as _0x2a61d3,mergeOverrideWithDependencies as _0x29a79c,touchDependencies as _0x794ae6,generateRandomId as _0x3f4748}from'@univerjs/core';import{Shape as _0x3361dd,Rect as _0x5d9542,getColor as _0x2798d6,RegularPolygon as _0x51a010,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xadd50c,Vector2 as _0x3b2723,SHEET_VIEWPORT_KEY as _0x1841b7,IRenderManagerService as _0x3500a0}from'@univerjs/engine-render';import{ISocketService as _0x20c65b,WebSocketService as _0x426136,HTTPService as _0x2705a6}from'@univerjs/network';import{IDocClipboardService as _0x2d0efb,NodePositionConvertToCursor as _0x29f0d0,NodePositionConvertToRectRange as _0x1228d1,TEXT_RANGE_LAYER_INDEX as _0xad9f9b,SetDocZoomRatioOperation as _0x13d035,DocIMEInputManagerService as _0x23ea0f,DocStateChangeManagerService as _0x536483}from'@univerjs/docs-ui';import{IImageIoService as _0x5c2347}from'@univerjs/drawing';import{BehaviorSubject as _0xd7100c,debounceTime as _0x1d02db,takeUntil as _0x15f16c,Subject as _0x2cf871,filter as _0x55d351,switchMap as _0x9f7d0,merge as _0x3881a3,combineLatest as _0x6c7006,of as _0x3f0fd1,fromEvent as _0x2c0245,shareReplay as _0x59944a,mapTo as _0x33dbc0,distinctUntilChanged as _0x41c622}from'rxjs';import{SetTextSelectionsOperation as _0x2194a6,RichTextEditingMutation as _0x4fe395,DocSelectionManagerService as _0x1782e4,DocSkeletonManagerService as _0x4bd848}from'@univerjs/docs';import{ITransformService as _0x207b47,CollaborationEvent as _0x3a1d42,isTransformMutationFailure as _0x2af618,isTransformMutationsWithChangesetSuccess as _0x40c95a,RevisionService as _0x5a521e,ISnapshotServerService as _0x5e0359}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x6115f5,serializeRangeWithSheet as _0x4a3175}from'@univerjs/engine-formula';import{RefRangeService as _0x3e6ca5,SetSelectionsOperation as _0x41d913,SheetsSelectionsService as _0x26d006,EffectRefRangId as _0xea11ff,handleIRemoveRow as _0x483d1b,handleIRemoveCol as _0x8565e9,handleMoveRange as _0xc1c60e,handleInsertRow as _0x41739d,handleInsertRangeMoveRight as _0x3e6305,handleInsertRangeMoveDown as _0x4d0f03,handleInsertCol as _0x528ce2,handleDeleteRangeMoveUp as _0x5cebed,handleDeleteRangeMoveLeft as _0x4e4e51,runRefRangeMutations as _0x2d044b,SetWorksheetActivateCommand as _0x159dd8}from'@univerjs/sheets';import{map as _0x1a2991,filter as _0x95bcb,throttleTime as _0x3e5a8a,takeUntil as _0x6c4945,switchMap as _0x213661}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1dae05,getCoordByCell as _0x3dc229,getSheetObject as _0x19a24c}from'@univerjs/sheets-ui';import{jsx as _0x55d99f,jsxs as _0x194ad0}from'react/jsx-runtime';import{useObservable as _0x503bde,useDependency as _0x3d68c3,IUIPartsService as _0x481fa2,BuiltInUIPart as _0x564db5,connectInjector as _0x3b26a6,IBeforeCloseService as _0x4f3929,IMessageService as _0x9fafa5,INotificationService as _0x17e69f}from'@univerjs/ui';import{clsx as _0x7ea2d5,Tooltip as _0x35287c,MessageType as _0x2ddf25}from'@univerjs/design';import{forwardRef as _0x1dc725,useRef as _0x1ae812,createElement as _0x21aa83,useCallback as _0x9d77bb}from'react';import{IRemoteInstanceService as _0x6accb9}from'@univerjs/rpc';var li=Object[_0x379cf2(0x23f)],hi=(_0x5b93c7,_0x972633,_0x34b8c1,_0x428eb8)=>{const _0x4e945c=_0x379cf2;for(var _0x5d702a=_0x428eb8>0x1?void 0x0:_0x428eb8?li(_0x972633,_0x34b8c1):_0x972633,_0x5445a5=_0x5b93c7[_0x4e945c(0x15e)]-0x1,_0x2f201e;_0x5445a5>=0x0;_0x5445a5--)(_0x2f201e=_0x5b93c7[_0x5445a5])&&(_0x5d702a=_0x2f201e(_0x5d702a)||_0x5d702a);return _0x5d702a;},qe=(_0x27caf5,_0x535cfe)=>(_0x213be8,_0x2c505e)=>_0x535cfe(_0x213be8,_0x2c505e,_0x27caf5);let Me=class extends _0x44a5f4{constructor(_0x342bc7,_0x529921){const _0x3a0d43=_0x379cf2;super(),this[_0x3a0d43(0x266)]=_0x342bc7,this[_0x3a0d43(0xc5)]=_0x529921,this['_init']();}[_0x379cf2(0xfe)](){const _0x521a67=_0x379cf2,_0x2ae09f=this;this['disposeWithMe'](this[_0x521a67(0x266)][_0x521a67(0x175)]({'onBeforePasteImage':async _0x4d476c=>{const _0x5e5664=_0x521a67,_0x442abe=await _0x2ae09f[_0x5e5664(0xc5)][_0x5e5664(0xf1)](_0x4d476c);return _0x442abe?{'source':_0x442abe[_0x5e5664(0x1e4)],'imageSourceType':_0x442abe[_0x5e5664(0x1e2)]}:null;}}));}};Me=hi([qe(0x0,_0x2d0efb),qe(0x1,_0x5c2347)],Me);const Qe=[_0x379cf2(0x214),_0x379cf2(0x1a9),_0x379cf2(0x119),_0x379cf2(0x1eb),'blue400',_0x379cf2(0x9f)];class He extends _0x395c47{constructor(){const _0x11851d=_0x379cf2;super(...arguments),h(this,_0x11851d(0x1e0),new Map()),h(this,_0x11851d(0xac),0x0);}[_0x379cf2(0xd9)](_0x20e6aa){const _0x46a477=_0x379cf2;if(this[_0x46a477(0x1e0)][_0x46a477(0x223)](_0x20e6aa))return this[_0x46a477(0x1e0)][_0x46a477(0x106)](_0x20e6aa);const _0x447105=Qe[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%Qe[_0x46a477(0x15e)],this['_assignedColors'][_0x46a477(0x14c)](_0x20e6aa,_0x447105),_0x447105;}}function Dt(_0x176227){const _0x3349c9=_0x379cf2;let _0x524509='';for(const _0x4eb34c of _0x176227){const {startOffset:_0x27f1a8,endOffset:_0x40a0b8,isActive:_0x5bc116,rangeType:_0x5e3a90,segmentId:_0x4f68d9,segmentPage:_0x533e96}=_0x4eb34c;_0x524509[_0x3349c9(0x15e)]&&(_0x524509+=','),_0x524509+=_0x27f1a8+':'+_0x40a0b8+':'+(_0x5bc116?'1':'0')+':'+_0x5e3a90+':'+_0x4f68d9+':'+_0x533e96;}return _0x524509;}function _i(_0x19bc74){const _0x22678f=_0x379cf2,_0x4fd474=_0x19bc74['split'](','),_0x1f2b56=[];for(const _0x3eec6f of _0x4fd474){const [_0x3cdefc,_0x71b5b9,_0x327c50,_0x1adcb2,_0x2b77ae,_0xc1d36c]=_0x3eec6f[_0x22678f(0x1f9)](':');_0x1f2b56[_0x22678f(0x14f)]({'startOffset':Number(_0x3cdefc),'endOffset':Number(_0x71b5b9),'collapsed':_0x3cdefc===_0x71b5b9,'isActive':_0x327c50==='1','rangeType':_0x1adcb2===_0x1225c4[_0x22678f(0x18e)]?_0x1225c4[_0x22678f(0x18e)]:_0x1225c4[_0x22678f(0x25a)],'segmentId':typeof _0x2b77ae==_0x22678f(0xb7)?String(_0x2b77ae):'','segmentPage':Number(_0xc1d36c!=null?_0xc1d36c:-0x1)});}return _0x1f2b56['some'](_0x4d1492=>_0x4d1492[_0x22678f(0x1ee)])||(_0x1f2b56[0x0][_0x22678f(0x1ee)]=!0x0),_0x1f2b56;}class je extends _0x44a5f4{constructor(){const _0x368305=_0x379cf2;super(...arguments),h(this,'_collabCursorState$',new _0xd7100c(null)),h(this,_0x368305(0x12a),this[_0x368305(0x20b)]['asObservable']());}['syncEditingCollabCursor'](_0x29a63f){const _0x5ec81c=_0x379cf2,{unitID:_0x34a941,memberID:_0x5d138e,textRanges:_0x5bc9e9}=_0x29a63f,_0x5f09de=Dt(_0x5bc9e9);if(_0x5f09de==='')return;const _0xeada72={'unitID':_0x34a941,'memberID':_0x5d138e,'selection':_0x5f09de};this['_collabCursorState$'][_0x5ec81c(0x207)](_0xeada72);}}var ui=Object[_0x379cf2(0x23f)],di=(_0xb318ef,_0x3c5089,_0x13afc9,_0x489d6e)=>{const _0x5f2953=_0x379cf2;for(var _0x2dc70f=_0x489d6e>0x1?void 0x0:_0x489d6e?ui(_0x3c5089,_0x13afc9):_0x3c5089,_0x1b811e=_0xb318ef[_0x5f2953(0x15e)]-0x1,_0x890212;_0x1b811e>=0x0;_0x1b811e--)(_0x890212=_0xb318ef[_0x1b811e])&&(_0x2dc70f=_0x890212(_0x2dc70f)||_0x2dc70f);return _0x2dc70f;},U=(_0x5c0af0,_0x4a078e)=>(_0x379820,_0x32d7f2)=>_0x4a078e(_0x379820,_0x32d7f2,_0x5c0af0);const fi=0x12c,Si=0x64;let Ne=class extends _0x44a5f4{constructor(_0x435871,_0x4edf9e,_0x5d6712,_0xc5135d,_0x4a77ad,_0x2a7b76,_0x4428cf,_0x1ceae0,_0x223890){const _0x58e9d3=_0x379cf2;super(),h(this,_0x58e9d3(0x9c),!0x1),h(this,_0x58e9d3(0xfe),!0x1),h(this,_0x58e9d3(0x182),new _0xd7100c(new Map())),h(this,_0x58e9d3(0x165),this['_cursorInfo$'][_0x58e9d3(0x27f)]()),h(this,_0x58e9d3(0x1ad),new _0xd7100c([])),h(this,'roomMembers$',this['_roomMembers$'][_0x58e9d3(0x112)](_0x1d02db(fi))),h(this,_0x58e9d3(0x1e7),_0x35b3b0(_0x429d2b=>{const _0x113760=_0x58e9d3,_0x534fd1={'eventID':_0x3a1d42[_0x113760(0xdb)],'data':{'unitID':this['unitID'],'memberID':this[_0x113760(0x208)][_0x113760(0x284)](),'selection':Dt(_0x429d2b)}};this['_session']['send'](_0x534fd1,this[_0x113760(0x1e1)]);},Si)),(this[_0x58e9d3(0x1e1)]=_0x435871,this[_0x58e9d3(0x208)]=_0x4edf9e,this[_0x58e9d3(0x99)]=_0x5d6712,this[_0x58e9d3(0x259)]=_0xc5135d,this[_0x58e9d3(0xb6)]=_0x4a77ad,this[_0x58e9d3(0x168)]=_0x2a7b76,this[_0x58e9d3(0xb8)]=_0x4428cf,this[_0x58e9d3(0x10e)]=_0x1ceae0,this['_commandService']=_0x223890);}get[_0x379cf2(0x269)](){const _0x1210b3=_0x379cf2;return this[_0x1210b3(0x182)][_0x1210b3(0x228)]();}get[_0x379cf2(0xda)](){const _0x232746=_0x379cf2;return this[_0x232746(0x1ad)][_0x232746(0x228)]();}[_0x379cf2(0x15c)](){const _0x269922=_0x379cf2;super[_0x269922(0x15c)](),this[_0x269922(0x182)][_0x269922(0x207)](new Map()),this[_0x269922(0x182)][_0x269922(0x121)](),this[_0x269922(0x1ad)][_0x269922(0x207)]([]),this[_0x269922(0x1ad)]['complete']();}['init'](){const _0x20d02e=_0x379cf2;this[_0x20d02e(0xfe)]||(this[_0x20d02e(0xfe)]=!0x0,this['_session']['sessionStatus$'][_0x20d02e(0x112)](_0x15f16c(this['dispose$']))['subscribe'](_0xbddfb1=>{const _0x290004=_0x20d02e;_0xbddfb1===_0x206c1b[_0x290004(0xc4)]?this[_0x290004(0x252)]():this[_0x290004(0x17c)]();}),this[_0x20d02e(0x208)][_0x20d02e(0x1dc)]['pipe'](_0x15f16c(this[_0x20d02e(0x265)]))['subscribe'](_0x2c3bbc=>{const _0x564cdd=_0x20d02e,_0x53e331=_0x2c3bbc[_0x564cdd(0x24e)];_0x53e331===_0x3a1d42[_0x564cdd(0xdb)]&&this[_0x564cdd(0x225)](_0x2c3bbc),_0x53e331===_0x3a1d42[_0x564cdd(0xc3)]&&this[_0x564cdd(0x18c)](_0x2c3bbc);}),this[_0x20d02e(0x1ac)](this[_0x20d02e(0xf3)]['onCommandExecuted'](_0x220e59=>{const _0x298ebf=_0x20d02e,_0x20b508=_0x220e59[_0x298ebf(0x113)];_0x20b508!=null&&this[_0x298ebf(0x9c)]&&_0x220e59['id']===_0x2194a6['id']&&_0x20b508[_0x298ebf(0x23d)]===this['unitID']&&_0x20b508[_0x298ebf(0x11b)]===!0x1&&_0x20b508[_0x298ebf(0x236)][_0x298ebf(0x15e)]>0x0&&this[_0x298ebf(0x1e7)](_0x20b508['ranges']);})),this[_0x20d02e(0x168)]['collabCursorState$']['pipe'](_0x15f16c(this[_0x20d02e(0x265)]))[_0x20d02e(0x10f)](_0x31463b=>{const _0xac1678=_0x20d02e;if((_0x31463b==null?void 0x0:_0x31463b[_0xac1678(0x1e1)])!==this[_0xac1678(0x1e1)])return;const _0x4dc089={'eventID':_0x3a1d42[_0xac1678(0xdb)],'data':_0x31463b};this[_0xac1678(0x225)](_0x4dc089);}),this[_0x20d02e(0x1ac)](this[_0x20d02e(0xf3)]['onCommandExecuted'](_0x17ef08=>{const _0xa7f9d1=_0x20d02e;if(_0x17ef08[_0xa7f9d1(0x113)]==null)return;const _0x5d834a=_0x17ef08['params'];if(_0x17ef08['id']!==_0x4fe395['id']||_0x5d834a['unitId']!==this[_0xa7f9d1(0x1e1)])return;const _0x20a62d={'id':_0xa7f9d1(0x25d),'params':_0x5d834a},_0x8a6a27=this[_0xa7f9d1(0x269)];for(const [_0xbb2353,_0xf927fc]of _0x8a6a27){const _0x30b408={'id':_0xa7f9d1(0x25d),'params':{'unitId':this[_0xa7f9d1(0x1e1)],'actions':null,'textRanges':_0xf927fc[_0xa7f9d1(0x236)]}},_0x565f6a=this[_0xa7f9d1(0xb8)][_0xa7f9d1(0x288)](_0x20a62d,_0x30b408,!0x1);if(_0x2af618(_0x565f6a))throw _0x565f6a[_0xa7f9d1(0x23b)];_0x8a6a27[_0xa7f9d1(0x14c)](_0xbb2353,{..._0xf927fc,'ranges':_0x565f6a[_0xa7f9d1(0x1cf)][_0xa7f9d1(0x113)][_0xa7f9d1(0x176)]});}queueMicrotask(()=>{const _0x562015=_0xa7f9d1;this[_0x562015(0x182)]['next'](_0x8a6a27);});})));}[_0x379cf2(0x225)](_0x1c7c83){const _0x5e3de0=_0x379cf2;var _0x12227f,_0x414ba4;const {memberID:_0x3bf8d8,selection:_0xc5f56e}=_0x1c7c83[_0x5e3de0(0x1c3)],_0x1b0d87=_i(_0xc5f56e),_0x316551=(_0x414ba4=(_0x12227f=this['_memberService'][_0x5e3de0(0xb2)](this[_0x5e3de0(0x1e1)],_0x3bf8d8))==null?void 0x0:_0x12227f['name'])!=null?_0x414ba4:_0x5e3de0(0x243),_0x1eb4b0={'color':this[_0x5e3de0(0x259)]['assignAColorForMemberID'](_0x3bf8d8),'name':_0x316551,'ranges':_0x1b0d87},_0x4ddd5a=this['cursorInfo'];_0x4ddd5a[_0x5e3de0(0x14c)](_0x3bf8d8,_0x1eb4b0),this[_0x5e3de0(0x182)]['next'](_0x4ddd5a);}['_onCursorDelete'](_0x2568d2){const _0x11cda7=_0x379cf2,{memberID:_0x1a4c90}=_0x2568d2['data'],_0x34c1d9=this[_0x11cda7(0x269)];_0x34c1d9[_0x11cda7(0x17e)](_0x1a4c90),this[_0x11cda7(0x182)]['next'](_0x34c1d9);}[_0x379cf2(0x252)](){const _0x18f405=_0x379cf2;var _0x20628b;if(this[_0x18f405(0x9c)]=!0x0,((_0x20628b=this[_0x18f405(0x10e)][_0x18f405(0x1ce)]())==null?void 0x0:_0x20628b[_0x18f405(0x1a8)]())!==this[_0x18f405(0x1e1)])return;const _0x42ef6d=this[_0x18f405(0x99)][_0x18f405(0x106)](_0x1782e4)['getDocRanges']();Array[_0x18f405(0x281)](_0x42ef6d)&&_0x42ef6d[_0x18f405(0x15e)]>0x0&&this[_0x18f405(0x1e7)](_0x42ef6d);}[_0x379cf2(0x17c)](){const _0x3ffd71=_0x379cf2;this[_0x3ffd71(0x9c)]=!0x1;}};Ne=di([U(0x2,_0x4cfb35(_0x4e3c79)),U(0x3,_0x4cfb35(He)),U(0x4,_0x4cfb35(_0x4836a9)),U(0x5,_0x4cfb35(je)),U(0x6,_0x207b47),U(0x7,_0x3fdd3f),U(0x8,_0xa728e)],Ne);var mi=Object['getOwnPropertyDescriptor'],gi=(_0x1ebae2,_0x2228a7,_0x38b746,_0x2e66c3)=>{for(var _0x1efa92=_0x2e66c3>0x1?void 0x0:_0x2e66c3?mi(_0x2228a7,_0x38b746):_0x2228a7,_0x53ae34=_0x1ebae2['length']-0x1,_0x40da98;_0x53ae34>=0x0;_0x53ae34--)(_0x40da98=_0x1ebae2[_0x53ae34])&&(_0x1efa92=_0x40da98(_0x1efa92)||_0x1efa92);return _0x1efa92;},x=(_0x44941d,_0x365277)=>(_0x513a22,_0x239692)=>_0x365277(_0x513a22,_0x239692,_0x44941d);const vi=0x12c,Ii=0x64,pi=()=>{let _0x57ce8f=[],_0x495e0a=!0x1;return _0x3cf9e4=>{_0x57ce8f['push'](_0x3cf9e4),_0x495e0a||(_0x495e0a=!0x0,setTimeout(()=>{const _0x590cc7=_0xad73;_0x57ce8f[_0x590cc7(0x16b)](_0x3f9f91=>_0x3f9f91()),_0x57ce8f=[],_0x495e0a=!0x1;}));};};let we=class extends _0x44a5f4{constructor(_0x3bda74,_0x38dbd7,_0x8b27ce,_0x11eab6,_0x15e493,_0x396356,_0x38a1e0,_0x5b415f){const _0x514053=_0x379cf2;super(),h(this,_0x514053(0x9c),!0x1),h(this,_0x514053(0xfe),!0x1),h(this,_0x514053(0x182),new _0xd7100c(new Map())),h(this,'cursorInfo$',this[_0x514053(0x182)]['asObservable']()),h(this,_0x514053(0x1ad),new _0xd7100c([])),h(this,'roomMembers$',this[_0x514053(0x1ad)][_0x514053(0x112)](_0x1d02db(vi))),h(this,_0x514053(0x1e7),_0x35b3b0((_0x41cb12,_0x56007a)=>{const _0xb82f21=_0x514053,_0xad097e={'eventID':_0x3a1d42[_0xb82f21(0xdb)],'data':{'unitID':this[_0xb82f21(0x1e1)],'memberID':this[_0xb82f21(0x208)]['getMemberID'](),'selection':_0x4a3175(_0x41cb12,_0x56007a[_0xb82f21(0x23e)])}};this[_0xb82f21(0x208)][_0xb82f21(0x19c)](_0xad097e,this['unitID']);},Ii)),(this[_0x514053(0x1e1)]=_0x3bda74,this[_0x514053(0x208)]=_0x38dbd7,this[_0x514053(0x99)]=_0x8b27ce,this['_colorAssignService']=_0x11eab6,this[_0x514053(0xb6)]=_0x15e493,this[_0x514053(0x10e)]=_0x396356,this[_0x514053(0xf3)]=_0x38a1e0,this[_0x514053(0xe2)]=_0x5b415f);}get['cursorInfo'](){const _0x41c62f=_0x379cf2;return this[_0x41c62f(0x182)][_0x41c62f(0x228)]();}get[_0x379cf2(0xda)](){const _0x3ec821=_0x379cf2;return this[_0x3ec821(0x1ad)][_0x3ec821(0x228)]();}[_0x379cf2(0x15c)](){const _0xe1a2e4=_0x379cf2;super[_0xe1a2e4(0x15c)](),this[_0xe1a2e4(0x182)][_0xe1a2e4(0x207)](new Map()),this[_0xe1a2e4(0x182)]['complete'](),this[_0xe1a2e4(0x1ad)][_0xe1a2e4(0x207)]([]),this[_0xe1a2e4(0x1ad)][_0xe1a2e4(0x121)]();}[_0x379cf2(0x22a)](){const _0x480a4c=_0x379cf2;this[_0x480a4c(0xfe)]||(this[_0x480a4c(0xfe)]=!0x0,this[_0x480a4c(0x208)][_0x480a4c(0x203)]['pipe'](_0x15f16c(this[_0x480a4c(0x265)]))[_0x480a4c(0x10f)](_0x1242e5=>{const _0x3ca0e4=_0x480a4c;_0x1242e5===_0x206c1b[_0x3ca0e4(0xc4)]?this[_0x3ca0e4(0x252)]():this[_0x3ca0e4(0x17c)]();}),this[_0x480a4c(0x208)][_0x480a4c(0x1dc)][_0x480a4c(0x112)](_0x15f16c(this['dispose$']))['subscribe'](_0x571cd5=>{const _0x310435=_0x480a4c,_0x27d089=_0x571cd5[_0x310435(0x24e)];_0x27d089===_0x3a1d42[_0x310435(0xdb)]&&this[_0x310435(0x225)](_0x571cd5),_0x27d089===_0x3a1d42['USERS_LEAVE']&&this[_0x310435(0x18c)](_0x571cd5);}),this[_0x480a4c(0x1c2)](),this[_0x480a4c(0x1ac)](this[_0x480a4c(0xf3)]['onCommandExecuted'](_0x136b4b=>{const _0x4b775e=_0x480a4c;if(this[_0x4b775e(0x9c)]&&_0x136b4b['id']===_0x41d913['id']&&_0x136b4b['params'][_0x4b775e(0x23d)]===this[_0x4b775e(0x1e1)]){const _0x5b768e=_0x136b4b[_0x4b775e(0x113)];this[_0x4b775e(0x1e7)](_0x5b768e[_0x4b775e(0xdd)],_0x5b768e[_0x4b775e(0x25c)][0x0]);}})));}[_0x379cf2(0x225)](_0x41e3c3){const _0x6e8b6a=_0x379cf2;var _0x1b2294,_0x2c13f;const {memberID:_0x256b3f,selection:_0x6c09d4}=_0x41e3c3[_0x6e8b6a(0x1c3)],{sheetName:_0x38063b,range:_0x1a4e4e}=_0x6115f5(_0x6c09d4),_0xd63672={'name':(_0x2c13f=(_0x1b2294=this[_0x6e8b6a(0xb6)][_0x6e8b6a(0xb2)](this[_0x6e8b6a(0x1e1)],_0x256b3f))==null?void 0x0:_0x1b2294[_0x6e8b6a(0x224)])!=null?_0x2c13f:'Unknown\x20user','range':this[_0x6e8b6a(0x162)](_0x38063b,_0x1a4e4e),'sheetID':_0x38063b,'color':this[_0x6e8b6a(0x259)][_0x6e8b6a(0xd9)](_0x256b3f),'selection':_0x6c09d4},_0x36e8e3=this[_0x6e8b6a(0x269)];_0x36e8e3[_0x6e8b6a(0x14c)](_0x256b3f,_0xd63672),this[_0x6e8b6a(0x182)][_0x6e8b6a(0x207)](_0x36e8e3);}[_0x379cf2(0x18c)](_0x532c6d){const _0x861f58=_0x379cf2,{memberID:_0x342ed0}=_0x532c6d[_0x861f58(0x1c3)],_0x3228e5=this[_0x861f58(0x269)];_0x3228e5[_0x861f58(0x17e)](_0x342ed0),this[_0x861f58(0x182)][_0x861f58(0x207)](_0x3228e5);}['_getMergeRange'](_0x24ba4f,_0x2bb2f0){const _0x990a4f=_0x379cf2;var _0x126db5,_0x54a3e6;const _0x1f3350=(_0x54a3e6=(_0x126db5=this[_0x990a4f(0x10e)][_0x990a4f(0x134)](this[_0x990a4f(0x1e1)]))==null?void 0x0:_0x126db5[_0x990a4f(0x128)](_0x24ba4f))==null?void 0x0:_0x54a3e6[_0x990a4f(0x187)]();return(_0x1f3350==null?void 0x0:_0x1f3350['find'](_0x59c9a0=>_0x9f554c[_0x990a4f(0x216)](_0x59c9a0,_0x2bb2f0)))||_0x2bb2f0;}[_0x379cf2(0x1c2)](){const _0xb2e2ee=_0x379cf2,_0x226057=new _0x5c15b7(),_0x2c6782=pi(),_0x5d0867=()=>{const _0x55f02a=_0xad73;_0x226057['dispose']();const _0x32da8c=(_0x291da9,_0x5d93b9,_0x44dff2,_0x2fca65)=>{const _0x78fcb4=_0xad73;let _0x499530=[];switch(_0x291da9['id']){case _0xea11ff[_0x78fcb4(0xbf)]:{_0x499530=_0x4e4e51(_0x291da9,_0x2fca65);break;}case _0xea11ff['DeleteRangeMoveUpCommandId']:{_0x499530=_0x5cebed(_0x291da9,_0x2fca65);break;}case _0xea11ff['InsertColCommandId']:{_0x499530=_0x528ce2(_0x291da9,_0x2fca65);break;}case _0xea11ff[_0x78fcb4(0x244)]:{_0x499530=_0x4d0f03(_0x291da9,_0x2fca65);break;}case _0xea11ff[_0x78fcb4(0xe5)]:{_0x499530=_0x3e6305(_0x291da9,_0x2fca65);break;}case _0xea11ff['InsertRowCommandId']:{_0x499530=_0x41739d(_0x291da9,_0x2fca65);break;}case _0xea11ff[_0x78fcb4(0x15b)]:{_0x499530=_0xc1c60e(_0x291da9,_0x2fca65);break;}case _0xea11ff[_0x78fcb4(0x136)]:{_0x499530=_0x8565e9(_0x291da9,_0x2fca65);break;}case _0xea11ff[_0x78fcb4(0xd0)]:{_0x499530=_0x483d1b(_0x291da9,_0x2fca65);break;}}const _0x5765f3=_0x2d044b(_0x499530,_0x2fca65),_0x3f7994=this[_0x78fcb4(0x269)][_0x78fcb4(0x106)](_0x5d93b9);if(_0x3f7994&&_0x5765f3){const _0x3820f5={..._0x3f7994,'range':_0x5765f3};this['cursorInfo']['set'](_0x5d93b9,_0x3820f5),_0x2c6782(()=>{const _0x1f474f=_0x78fcb4,_0x1f36a4=this[_0x1f474f(0xe2)][_0x1f474f(0x28d)](_0x5765f3,_0x3b827b=>(_0x1f36a4['dispose'](),_0x32da8c(_0x3b827b,_0x5d93b9,_0x44dff2,_0x5765f3)));_0x226057[_0x1f474f(0x195)](_0x1f36a4);});}return{'redos':[],'undos':[]};};this[_0x55f02a(0x269)][_0x55f02a(0x16b)]((_0x156b93,_0xc9ac94)=>{const _0x24d5f7=_0x55f02a,{range:_0x4b132e,sheetID:_0x1eea0e}=_0x156b93,_0x161c35=this[_0x24d5f7(0xe2)][_0x24d5f7(0x28d)](_0x4b132e,_0x4f8c35=>(_0x161c35[_0x24d5f7(0x15c)](),_0x32da8c(_0x4f8c35,_0xc9ac94,_0x1eea0e,_0x4b132e)));_0x226057[_0x24d5f7(0x195)](_0x161c35);});};this['disposeWithMe'](_0x4811df(this[_0xb2e2ee(0x182)][_0xb2e2ee(0x10f)](()=>{_0x5d0867();})));}[_0x379cf2(0x252)](){const _0x4ed261=_0x379cf2;var _0x3bcf70,_0x454279;if(this['_online']=!0x0,((_0x3bcf70=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x3bcf70[_0x4ed261(0x1a8)]())!==this[_0x4ed261(0x1e1)])return;const _0x12244=(_0x454279=this[_0x4ed261(0x99)][_0x4ed261(0x106)](_0x26d006)[_0x4ed261(0x276)]())==null?void 0x0:_0x454279[0x0],_0x480c9a=this['_univerInstanceService'][_0x4ed261(0x18a)](_0x327af0['UNIVER_SHEET'])[_0x4ed261(0x1b9)]();_0x12244&&_0x480c9a&&this['_updateLocalCursor'](_0x480c9a['getSheetId'](),_0x12244);}[_0x379cf2(0x17c)](){const _0x2660c8=_0x379cf2;this[_0x2660c8(0x9c)]=!0x1;}};we=gi([x(0x2,_0x4cfb35(_0x4e3c79)),x(0x3,_0x4cfb35(He)),x(0x4,_0x4cfb35(_0x4836a9)),x(0x5,_0x3fdd3f),x(0x6,_0xa728e),x(0x7,_0x4cfb35(_0x3e6ca5))],we);var Ci=Object[_0x379cf2(0x23f)],bi=(_0xaa9c0c,_0x10c372,_0x446399,_0x91bdd5)=>{const _0x1a0e0b=_0x379cf2;for(var _0x705a05=_0x91bdd5>0x1?void 0x0:_0x91bdd5?Ci(_0x10c372,_0x446399):_0x10c372,_0x4ca94d=_0xaa9c0c[_0x1a0e0b(0x15e)]-0x1,_0x43d76a;_0x4ca94d>=0x0;_0x4ca94d--)(_0x43d76a=_0xaa9c0c[_0x4ca94d])&&(_0x705a05=_0x43d76a(_0x705a05)||_0x705a05);return _0x705a05;},me=(_0x914f00,_0x826340)=>(_0x2dc9af,_0x56aa61)=>_0x826340(_0x2dc9af,_0x56aa61,_0x914f00);let H=class extends _0x44a5f4{constructor(_0x2cae3e,_0x3728d9,_0x279611){const _0x578967=_0x379cf2;super(),h(this,_0x578967(0xe9),new Map()),h(this,_0x578967(0x23c),new _0x2cf871()),(this[_0x578967(0x10e)]=_0x2cae3e,this[_0x578967(0x99)]=_0x3728d9,this[_0x578967(0x13b)]=_0x279611,this[_0x578967(0xfe)]());}[_0x379cf2(0x15c)](){const _0x5a74b1=_0x379cf2;super[_0x5a74b1(0x15c)](),this[_0x5a74b1(0x23c)][_0x5a74b1(0x121)](),this[_0x5a74b1(0xe9)]['forEach'](_0x1ea90a=>_0x1ea90a['dispose']());}[_0x379cf2(0x100)](_0x13aac7){const _0x5da1c8=_0x379cf2;return this[_0x5da1c8(0xe9)][_0x5da1c8(0x223)](_0x13aac7)?this[_0x5da1c8(0xe9)][_0x5da1c8(0x106)](_0x13aac7)[_0x5da1c8(0x165)]:this[_0x5da1c8(0x23c)][_0x5da1c8(0x112)](_0x55d351(_0x3fe76f=>_0x3fe76f[_0x5da1c8(0x1e1)]===_0x13aac7),_0x9f7d0(_0x419b07=>_0x419b07[_0x5da1c8(0x165)]));}[_0x379cf2(0xfe)](){const _0x4f90f9=_0x379cf2;this[_0x4f90f9(0x10e)]['getTypeOfUnitAdded$'](_0x327af0[_0x4f90f9(0x1fa)])[_0x4f90f9(0x112)](_0x15f16c(this[_0x4f90f9(0x265)]))[_0x4f90f9(0x10f)](async _0x3ea83a=>{const _0x100863=_0x4f90f9,_0x1788bf=_0x3ea83a[_0x100863(0x1a8)](),_0x262ac4=await this[_0x100863(0x22c)](_0x1788bf);this[_0x100863(0x23c)]['next'](_0x262ac4),this[_0x100863(0xe9)]['set'](_0x1788bf,_0x262ac4);}),this[_0x4f90f9(0x10e)][_0x4f90f9(0xd7)](_0x327af0['UNIVER_DOC'])['pipe'](_0x15f16c(this[_0x4f90f9(0x265)]))[_0x4f90f9(0x112)](_0x55d351(_0x40c33b=>!_0x40c33b[_0x4f90f9(0x1a8)]()[_0x4f90f9(0x9a)]('__')))[_0x4f90f9(0x10f)](async _0x4723ec=>{const _0x44b9ce=_0x4f90f9,_0x92928d=_0x4723ec[_0x44b9ce(0x1a8)](),_0x1ac4df=await this[_0x44b9ce(0x1ba)](_0x92928d);this[_0x44b9ce(0x23c)][_0x44b9ce(0x207)](_0x1ac4df),this[_0x44b9ce(0xe9)][_0x44b9ce(0x14c)](_0x92928d,_0x1ac4df);}),_0x3881a3(this['_univerInstanceService'][_0x4f90f9(0x275)](_0x327af0[_0x4f90f9(0x268)]),this[_0x4f90f9(0x10e)][_0x4f90f9(0x275)](_0x327af0[_0x4f90f9(0x1fa)]))[_0x4f90f9(0x112)](_0x15f16c(this[_0x4f90f9(0x265)]))[_0x4f90f9(0x10f)](_0x29ffa1=>{const _0x3f3d2d=_0x4f90f9,_0x59308f=_0x29ffa1[_0x3f3d2d(0x1a8)](),_0x284f42=this[_0x3f3d2d(0xe9)]['get'](_0x59308f);_0x284f42&&(_0x284f42[_0x3f3d2d(0x15c)](),this[_0x3f3d2d(0xe9)]['delete'](_0x59308f));});}async['_startSheetCollabCursor'](_0x3906bd){const _0x32931d=_0x379cf2,_0x5bcb69=await this[_0x32931d(0x13b)]['requireSession'](_0x3906bd),_0x4c194a=this[_0x32931d(0x99)][_0x32931d(0x282)](we,_0x3906bd,_0x5bcb69);return _0x4c194a['init'](),_0x4c194a;}async[_0x379cf2(0x1ba)](_0xfc6987){const _0x425c04=_0x379cf2,_0x1e6d7d=await this[_0x425c04(0x13b)][_0x425c04(0x26a)](_0xfc6987),_0x5bef05=this[_0x425c04(0x99)][_0x425c04(0x282)](Ne,_0xfc6987,_0x1e6d7d);return _0x5bef05[_0x425c04(0x22a)](),_0x5bef05;}};H=bi([me(0x0,_0x3fdd3f),me(0x1,_0x4cfb35(_0x4e3c79)),me(0x2,_0x4cfb35(_0x1ea135))],H);const te=0x14,et=0xc8,ge=0x4,Ei=0x5;function Oi(_0x309ee0,_0x685f82){const _0x5a3221=_0x379cf2;let {radius:_0x27ef05,width:_0x45fc4c,height:_0x50cc4a}=_0x685f82;_0x27ef05=_0x27ef05!=null?_0x27ef05:0x0,_0x45fc4c=_0x45fc4c!=null?_0x45fc4c:0x1e,_0x50cc4a=_0x50cc4a!=null?_0x50cc4a:0x1e;let _0x247ff0=0x0,_0x3ab4fd=0x0,_0x3ac20a=0x0;_0x247ff0=_0x3ab4fd=_0x3ac20a=Math[_0x5a3221(0x197)](_0x27ef05,_0x45fc4c/0x2,_0x50cc4a/0x2),_0x309ee0[_0x5a3221(0xe8)](),_0x309ee0['moveTo'](_0x247ff0,0x0),_0x309ee0[_0x5a3221(0x1bc)](_0x45fc4c-_0x3ab4fd,0x0),_0x309ee0[_0x5a3221(0x14b)](_0x45fc4c-_0x3ab4fd,_0x3ab4fd,_0x3ab4fd,Math['PI']*0x3/0x2,0x0,!0x1),_0x309ee0[_0x5a3221(0x1bc)](_0x45fc4c,_0x50cc4a-_0x3ac20a),_0x309ee0['arc'](_0x45fc4c-_0x3ac20a,_0x50cc4a-_0x3ac20a,_0x3ac20a,0x0,Math['PI']/0x2,!0x1),_0x309ee0[_0x5a3221(0x1bc)](0x0,_0x50cc4a),_0x309ee0[_0x5a3221(0x1bc)](0x0,_0x247ff0),_0x309ee0[_0x5a3221(0x14b)](_0x247ff0,_0x247ff0,_0x247ff0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x309ee0[_0x5a3221(0xa7)](),_0x685f82[_0x5a3221(0x256)]&&(_0x309ee0['save'](),_0x309ee0[_0x5a3221(0x1b1)]=_0x685f82[_0x5a3221(0x256)],_0x685f82[_0x5a3221(0xcf)]===_0x5a3221(0xf9)?_0x309ee0['fill']('evenodd'):_0x309ee0[_0x5a3221(0x256)](),_0x309ee0[_0x5a3221(0x213)]());}class ue extends _0x3361dd{constructor(_0x287fbc,_0x565196){const _0x3df435=_0x379cf2;super(_0x287fbc,_0x565196),h(this,_0x3df435(0x178)),h(this,'text'),(this['color']=_0x565196==null?void 0x0:_0x565196[_0x3df435(0x178)],this[_0x3df435(0xf8)]=_0x565196==null?void 0x0:_0x565196[_0x3df435(0xf8)]);}static[_0x379cf2(0x12d)](_0x13574c,_0x281f9d){const _0x4a25a4=_0x379cf2,{text:_0x12ed0b,color:_0x2a9fb8}=_0x281f9d;_0x13574c[_0x4a25a4(0x1d7)](),_0x13574c['font']=_0x4a25a4(0xf4);const _0x45cd6e=_0x13574c['measureText'](_0x12ed0b)[_0x4a25a4(0x170)],_0x1afa13=Math['min'](_0x45cd6e+0x2*ge,et);Oi(_0x13574c,{'height':te,'radius':0x4,'width':_0x1afa13,'fill':_0x2a9fb8}),_0x13574c[_0x4a25a4(0x1b1)]=_0x4a25a4(0x1a0);const _0x1283b8=ge,_0x55fcbc=te-Ei,_0x2c1bd7=et-0x2*ge;if(_0x45cd6e>_0x2c1bd7){let _0x5aa5a7='',_0x2ab0f6=0x0;for(const _0x71d45c of _0x12ed0b){const _0x4c6e61=_0x13574c['measureText'](_0x71d45c)['width'];if(_0x2ab0f6+_0x4c6e61<=_0x2c1bd7-_0x13574c[_0x4a25a4(0x1d1)](_0x4a25a4(0x249))[_0x4a25a4(0x170)])_0x5aa5a7+=_0x71d45c,_0x2ab0f6+=_0x4c6e61;else{_0x5aa5a7+=_0x4a25a4(0x249);break;}}_0x13574c[_0x4a25a4(0x1a7)](_0x5aa5a7,_0x1283b8,_0x55fcbc);}else _0x13574c[_0x4a25a4(0x1a7)](_0x12ed0b,_0x1283b8,_0x55fcbc);_0x13574c[_0x4a25a4(0x213)]();}[_0x379cf2(0xe0)](_0x478ba1){const _0x3ae95f=_0x379cf2;ue[_0x3ae95f(0x12d)](_0x478ba1,this);}}const ve=_0x379cf2(0x25b),Ti=_0x379cf2(0x16d),Ri=_0x379cf2(0x129),V=0x6,Di=1.5,Ie=0x4,Pi=1.5,Mi=_0x379cf2(0xa5);class tt{constructor(_0x1ec9de,_0x44233e,_0x21f163,_0x39720b){const _0x54bd9e=_0x379cf2;h(this,_0x54bd9e(0xad),[]),h(this,_0x54bd9e(0x1f7),null),h(this,_0x54bd9e(0x9d),null),h(this,'_anchorDot',null),h(this,_0x54bd9e(0x26d),null),h(this,_0x54bd9e(0x1a2),null),(this['_cursor']=_0x1ec9de,this[_0x54bd9e(0x163)]=_0x44233e,this[_0x54bd9e(0x283)]=_0x21f163,this[_0x54bd9e(0x261)]=_0x39720b,this[_0x54bd9e(0xc7)]());}set[_0x379cf2(0x253)](_0xbd5894){const _0x346b10=_0x379cf2;_0xbd5894?(this[_0x346b10(0x298)]&&this[_0x346b10(0x298)][_0x346b10(0x1c9)](),this[_0x346b10(0x9d)]&&this['_textBubble'][_0x346b10(0x247)]()):(this[_0x346b10(0x298)]&&this[_0x346b10(0x298)][_0x346b10(0x247)](),this[_0x346b10(0x9d)]&&this[_0x346b10(0x9d)]['hide']());}[_0x379cf2(0x15c)](){const _0x2f855e=_0x379cf2;for(const _0x56573f of this[_0x2f855e(0xad)])_0x56573f[_0x2f855e(0x15c)]();this[_0x2f855e(0x9d)]&&this[_0x2f855e(0x9d)][_0x2f855e(0x15c)](),this['_anchorDot']&&this[_0x2f855e(0x298)][_0x2f855e(0x15c)](),this['_anchor']&&this[_0x2f855e(0x1f7)]['dispose'](),this[_0x2f855e(0x1a2)]&&this['_eventUnsubscribe']();}[_0x379cf2(0xc7)](){const _0x54efa6=_0x379cf2;var _0x5ed15a;const {_docSkeleton:_0x4bbb67,_document:_0x3dafd3}=this,{color:_0x440b44,name:_0x471dcf,ranges:_0x69651b}=this['_cursor'],_0x3f2106=_0x3dafd3[_0x54efa6(0x16a)](),{docsLeft:_0x37b0d0,docsTop:_0x34bbd0}=_0x3f2106,_0x418c64=new _0x29f0d0(_0x3f2106,_0x4bbb67);for(const {startOffset:_0x228d59,endOffset:_0x35ff05,rangeType:_0x5d3b5e,segmentId:_0x14c36b,segmentPage:_0x37dc55,collapsed:_0x57a296,isActive:_0x18280f}of _0x69651b){const _0x592e0b=_0x4bbb67['findNodePositionByCharIndex'](_0x228d59,!0x0,_0x14c36b,_0x37dc55);let _0x51d2ad=_0x4bbb67[_0x54efa6(0x166)](_0x35ff05,!0x0,_0x14c36b,_0x37dc55);if(_0x51d2ad==null&&(_0x51d2ad=_0x4bbb67[_0x54efa6(0x166)](_0x35ff05-0x1,!0x1,_0x14c36b,_0x37dc55)),_0x18280f){const {contentBoxPointGroup:_0x4b8f8a}=_0x418c64[_0x54efa6(0x297)](_0x51d2ad,_0x51d2ad);if(_0x4b8f8a[_0x54efa6(0x15e)]===0x0)continue;this[_0x54efa6(0x257)](_0x440b44,_0x4b8f8a,_0x37b0d0,_0x34bbd0,_0x471dcf),this[_0x54efa6(0x1a2)]=this[_0x54efa6(0x13a)]();}if(_0x592e0b&&_0x51d2ad){if(_0x5d3b5e===_0x1225c4[_0x54efa6(0x25a)]){const _0x220300=new _0x1228d1(_0x3f2106,_0x4bbb67),{pointGroup:_0x328e31}=(_0x5ed15a=_0x220300[_0x54efa6(0x297)](_0x592e0b,_0x51d2ad))!=null?_0x5ed15a:{};if(_0x328e31==null||_0x328e31[_0x54efa6(0x15e)]===0x0)continue;this[_0x54efa6(0x20c)](_0x440b44,_0x328e31,_0x37b0d0,_0x34bbd0);}else{if(!_0x57a296){const {borderBoxPointGroup:_0x198a4e}=_0x418c64[_0x54efa6(0x297)](_0x592e0b,_0x51d2ad);if(_0x198a4e['length']===0x0)continue;this[_0x54efa6(0x198)](_0x440b44,_0x198a4e,_0x37b0d0,_0x34bbd0);}}}}}[_0x379cf2(0x257)](_0x10cf0d,_0x2cb666,_0x34c648,_0x48b433,_0x395d3c){const _0x1d1164=_0x379cf2,_0x43e6d4=this['_getAnchorBounding'](_0x2cb666),{left:_0x213289,top:_0x5dc357,height:_0x1409eb}=_0x43e6d4,_0x192cfd=this[_0x1d1164(0x174)](),_0x56261f=Pi/_0x192cfd,_0x1c1613=new _0x5d9542(ve+_0x35019f['generateRandomId'](V),{'left':_0x213289+_0x34c648-_0x56261f,'top':_0x5dc357+_0x48b433,'height':_0x1409eb,'width':Di,'fill':_0x10cf0d||_0x2798d6(_0x8286bb[_0x1d1164(0x179)],0x0),'strokeWidth':_0x56261f,'stroke':Mi,'evented':!0x0});this[_0x1d1164(0x1f7)]=_0x1c1613,this[_0x1d1164(0x163)][_0x1d1164(0x262)](_0x1c1613,_0xad9f9b);const _0x46ebbe=new _0x5d9542(ve+_0x35019f['generateRandomId'](V),{'left':_0x213289+_0x34c648-_0x56261f,'top':_0x5dc357+_0x48b433-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x10cf0d||_0x2798d6(_0x8286bb[_0x1d1164(0x179)],0x0),'strokeWidth':0x0,'stroke':_0x10cf0d||_0x2798d6(_0x8286bb[_0x1d1164(0x179)],0x0),'evented':!0x1});this[_0x1d1164(0x298)]=_0x46ebbe,this[_0x1d1164(0x163)][_0x1d1164(0x262)](_0x46ebbe,_0xad9f9b);const _0x3f41fc=new ue(ve+_0x35019f[_0x1d1164(0x26b)](V),{'left':_0x213289+_0x34c648-_0x56261f,'top':_0x5dc357+_0x48b433-te,'text':_0x395d3c,'color':_0x10cf0d});this[_0x1d1164(0x9d)]=_0x3f41fc,this[_0x1d1164(0x163)][_0x1d1164(0x262)](_0x3f41fc,_0xad9f9b),this[_0x1d1164(0x253)]=!0x1;}[_0x379cf2(0x13a)](){const _0x239382=_0x379cf2,_0x14eac0=this[_0x239382(0x1f7)][_0x239382(0xe4)][_0x239382(0x221)](()=>{const _0x4c82ac=_0x239382;this[_0x4c82ac(0x253)]=!0x0;}),_0x2ad264=this[_0x239382(0x1f7)][_0x239382(0x11f)][_0x239382(0x221)](()=>{const _0x4a056a=_0x239382;this[_0x4a056a(0x26d)]&&clearTimeout(this[_0x4a056a(0x26d)]),this[_0x4a056a(0x26d)]=setTimeout(()=>{const _0xe71e5b=_0x4a056a;this[_0xe71e5b(0x253)]=!0x1;},0x7d0);});return()=>{const _0x288010=_0x239382;_0x14eac0[_0x288010(0x103)](),_0x2ad264[_0x288010(0x103)]();};}[_0x379cf2(0x198)](_0x5e5f4e,_0x37b674,_0x2a0310,_0x40b1bb){const _0x523db8=_0x379cf2,_0x1ffb04=new _0x462557(_0x5e5f4e)[_0x523db8(0x144)](0.2)[_0x523db8(0x1ff)](),_0x1bcf39=new _0x51a010(Ti+_0x35019f[_0x523db8(0x26b)](V),{'pointsGroup':_0x37b674,'fill':_0x1ffb04||_0x2798d6(_0x8286bb[_0x523db8(0x179)],0.2),'left':_0x2a0310,'top':_0x40b1bb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x523db8(0xad)][_0x523db8(0x14f)](_0x1bcf39),this['_scene']['addObject'](_0x1bcf39,_0xad9f9b);}[_0x379cf2(0x20c)](_0x13a45d,_0x2f7e48,_0x50c3ad,_0x4b7f36){const _0x3e2b9a=_0x379cf2,_0x51d63b=new _0x462557(_0x13a45d)[_0x3e2b9a(0x144)](0.2)[_0x3e2b9a(0x1ff)](),_0x1a480d=new _0x51a010(Ri+_0x35019f[_0x3e2b9a(0x26b)](V),{'pointsGroup':_0x2f7e48,'fill':_0x51d63b||_0x2798d6(_0x8286bb[_0x3e2b9a(0x179)],0.2),'left':_0x50c3ad,'top':_0x4b7f36,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3e2b9a(0xad)][_0x3e2b9a(0x14f)](_0x1a480d),this[_0x3e2b9a(0x163)][_0x3e2b9a(0x262)](_0x1a480d,_0xad9f9b);}[_0x379cf2(0x11e)](_0x4de917){const _0x3b97ec=_0x4de917[0x0],_0x1f2a3c=_0x3b97ec[0x0],_0x1b7c13=_0x3b97ec[0x2],{x:_0x4be726,y:_0x5cd2b2}=_0x1f2a3c,{x:_0x3edbee,y:_0x39b34c}=_0x1b7c13;return{'left':_0x4be726,'top':_0x5cd2b2,'width':_0x3edbee-_0x4be726,'height':_0x39b34c-_0x5cd2b2};}['_getScale'](){const _0x357e78=_0x379cf2,{scaleX:_0x22dcc0,scaleY:_0x580645}=this[_0x357e78(0x163)][_0x357e78(0x239)]();return Math[_0x357e78(0x251)](_0x22dcc0,_0x580645);}}var Ni=Object[_0x379cf2(0x23f)],wi=(_0x2a0b6e,_0x40e61b,_0x24296b,_0x338e24)=>{const _0x1cedd2=_0x379cf2;for(var _0x17279e=_0x338e24>0x1?void 0x0:_0x338e24?Ni(_0x40e61b,_0x24296b):_0x40e61b,_0x26d027=_0x2a0b6e[_0x1cedd2(0x15e)]-0x1,_0xafbd14;_0x26d027>=0x0;_0x26d027--)(_0xafbd14=_0x2a0b6e[_0x26d027])&&(_0x17279e=_0xafbd14(_0x17279e)||_0x17279e);return _0x17279e;},q=(_0x258e5a,_0x177107)=>(_0xe4aae9,_0x593b05)=>_0x177107(_0xe4aae9,_0x593b05,_0x258e5a);let Ue=class extends _0x44a5f4{constructor(_0x4097eb,_0x13d600,_0x1f1c62,_0x3baa29,_0x2395a9){const _0x3b4d82=_0x379cf2;super(),h(this,_0x3b4d82(0x145),[]),h(this,'_cursors',[]),(this[_0x3b4d82(0xef)]=_0x4097eb,this[_0x3b4d82(0x142)]=_0x13d600,this[_0x3b4d82(0x202)]=_0x1f1c62,this[_0x3b4d82(0xf3)]=_0x3baa29,this[_0x3b4d82(0x123)]=_0x2395a9,this[_0x3b4d82(0xfe)]());}[_0x379cf2(0xfe)](){const _0x1dfacd=_0x379cf2,_0x362884=this[_0x1dfacd(0xef)]['unitId'],_0x40128d=this[_0x1dfacd(0x142)];this[_0x1dfacd(0x1ac)](_0x6c7006([this['_collabCursorController'][_0x1dfacd(0x100)](_0x362884),this['_themeService'][_0x1dfacd(0xcc)]])[_0x1dfacd(0x112)](_0x1a2991(([_0x221c89,_0x6691d1])=>({'skeleton':_0x40128d['getSkeleton'](),'cursors':[..._0x221c89[_0x1dfacd(0x164)]()][_0x1dfacd(0x155)](_0x2ee0c7=>({..._0x2ee0c7,'color':_0x6691d1[_0x2ee0c7[_0x1dfacd(0x178)]]}))})))[_0x1dfacd(0x10f)](_0x22c5ee=>{const _0x207bcd=_0x1dfacd;if(this[_0x207bcd(0x217)](),_0x22c5ee){const {skeleton:_0x268762,cursors:_0x3f3eed}=_0x22c5ee;this['_updateCollabCursors'](_0x268762,_0x3f3eed);}})),this[_0x1dfacd(0x135)](),this[_0x1dfacd(0x104)]();}['_updateCollabCursors'](_0x17e079,_0x1dc93b){const _0x59160c=_0x379cf2,{scene:_0x4e6a36,mainComponent:_0xb7e101}=this['_context'],_0x2edc67=_0x1dc93b[_0x59160c(0xaf)](_0x40248d=>new tt(_0x40248d,_0x4e6a36,_0x17e079,_0xb7e101));this['_cursorShapes']=_0x2edc67,this['_cursors']=_0x1dc93b;}[_0x379cf2(0x1bd)](){const _0x278abb=_0x379cf2;this[_0x278abb(0x217)]();const {scene:_0x3773f9,mainComponent:_0x1feba1}=this[_0x278abb(0xef)],_0x4d83f4=this[_0x278abb(0x142)][_0x278abb(0x28a)](),_0x1d18b3=this[_0x278abb(0x1a4)]['map'](_0x15515d=>new tt(_0x15515d,_0x3773f9,_0x4d83f4,_0x1feba1));this['_cursorShapes']=_0x1d18b3;}['_removeCollabCursors'](){const _0x3a4129=_0x379cf2;this[_0x3a4129(0x145)][_0x3a4129(0x16b)](_0x1ba12a=>_0x1ba12a[_0x3a4129(0x15c)]()),this['_cursorShapes']=[];}[_0x379cf2(0x104)](){const _0xc21dcb=_0x379cf2,_0x7fb109=[_0x13d035['id']];this[_0xc21dcb(0x1ac)](this['_commandService'][_0xc21dcb(0x1c1)](_0x12725f=>{const _0x547a58=_0xc21dcb;_0x7fb109[_0x547a58(0x159)](_0x12725f['id'])&&_0x12725f[_0x547a58(0x113)]['unitId']===this[_0x547a58(0xef)][_0x547a58(0x23d)]&&this['_refreshCollabCursors']();}));}[_0x379cf2(0x135)](){const _0x5d08a7=_0x379cf2;this[_0x5d08a7(0x1ac)](_0x148f7b(this[_0x5d08a7(0xef)]['engine'][_0x5d08a7(0x21b)])['pipe'](_0x95bcb(_0x2f71e8=>_0x2f71e8[_0x5d08a7(0x1f6)]===_0xadd50c[_0x5d08a7(0xb3)]),_0x3e5a8a(0x10))[_0x5d08a7(0x10f)](()=>{const _0x586d07=_0x5d08a7;this[_0x586d07(0x1bd)]();}));}};Ue=wi([q(0x1,_0x4cfb35(_0x4bd848)),q(0x2,_0x4cfb35(H)),q(0x3,_0xa728e),q(0x4,_0x4cfb35(_0x5809b4))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x3361dd{constructor(_0x681b6f,_0x8c96dd){const _0x50b917=_0x379cf2;super(_0x681b6f,_0x8c96dd),h(this,_0x50b917(0x1d4)),h(this,_0x50b917(0x1b2),!0x1),h(this,_0x50b917(0x140)),h(this,'_name',''),h(this,_0x50b917(0x1ec),_0x50b917(0x1dd)),h(this,_0x50b917(0x27a)),(_0x8c96dd&&this['setShapeProps'](_0x8c96dd),this[_0x50b917(0xe4)][_0x50b917(0x221)](()=>this[_0x50b917(0xd8)]({'hovered':!0x0})),this['onPointerLeave$'][_0x50b917(0x221)](()=>this[_0x50b917(0xd8)]({'hovered':!0x1})));}['setShapeProps'](_0x55e039){const _0x9127e8=_0x379cf2;var _0x1b10b3,_0x3b6edb,_0x51b7ec,_0x52da81,_0x173584,_0x260c22;this[_0x9127e8(0x1d4)]=(_0x1b10b3=_0x55e039[_0x9127e8(0x178)])!=null?_0x1b10b3:this['_color'],this[_0x9127e8(0x1b2)]=(_0x3b6edb=_0x55e039[_0x9127e8(0x1f0)])!=null?_0x3b6edb:this[_0x9127e8(0x1b2)],this[_0x9127e8(0x140)]=(_0x51b7ec=_0x55e039[_0x9127e8(0x23e)])!=null?_0x51b7ec:this[_0x9127e8(0x140)],this[_0x9127e8(0xd3)]=(_0x52da81=_0x55e039[_0x9127e8(0x224)])!=null?_0x52da81:this[_0x9127e8(0xd3)],this[_0x9127e8(0x1ec)]=(_0x173584=_0x55e039[_0x9127e8(0x101)])!=null?_0x173584:this[_0x9127e8(0x1ec)],this[_0x9127e8(0x27a)]=(_0x260c22=_0x55e039[_0x9127e8(0x292)])!=null?_0x260c22:this['_backgroundColor'],this['transformByState']({'width':_0x55e039[_0x9127e8(0x170)],'height':_0x55e039[_0x9127e8(0x1f1)]});}[_0x379cf2(0x11d)](_0x551d76){const _0x5b5778=_0x379cf2,{row:_0x5473c8,column:_0x47467}=_0x551d76;if(_0x5473c8>=this['_range'][_0x5b5778(0x126)]&&_0x5473c8<=this[_0x5b5778(0x140)][_0x5b5778(0x289)]&&_0x47467>=this[_0x5b5778(0x140)][_0x5b5778(0x21f)]&&_0x47467<=this[_0x5b5778(0x140)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x379cf2(0x1f2)](_0x1766fa){return!0x1;}[_0x379cf2(0xe0)](_0x10fb58){const _0x2960e5=_0x379cf2;_0x5d9542['drawWith'](_0x10fb58,{'width':this[_0x2960e5(0x170)],'height':this[_0x2960e5(0x1f1)],'strokeWidth':Li,'stroke':this[_0x2960e5(0x1d4)],'evented':!0x1,'fill':this[_0x2960e5(0x27a)]}),this[_0x2960e5(0x1b2)]&&(_0x10fb58[_0x2960e5(0x1d7)](),_0x10fb58[_0x2960e5(0x20d)](0x1,0x0,0x0,0x1,this[_0x2960e5(0x170)],this['_labelPosition']===_0x2960e5(0x1df)?0x0:-0x14),ue[_0x2960e5(0x12d)](_0x10fb58,{'text':this[_0x2960e5(0xd3)],'color':this[_0x2960e5(0x1d4)]}),_0x10fb58[_0x2960e5(0x213)]());}}var yi=Object[_0x379cf2(0x23f)],$i=(_0xd38481,_0x341ad6,_0x27099f,_0x29f5d3)=>{for(var _0x44cfce=_0x29f5d3>0x1?void 0x0:_0x29f5d3?yi(_0x341ad6,_0x27099f):_0x341ad6,_0x2b613b=_0xd38481['length']-0x1,_0x3e9e83;_0x2b613b>=0x0;_0x2b613b--)(_0x3e9e83=_0xd38481[_0x2b613b])&&(_0x44cfce=_0x3e9e83(_0x44cfce)||_0x44cfce);return _0x44cfce;},pe=(_0x317efb,_0x1d3c98)=>(_0x4a1098,_0x4b25c8)=>_0x1d3c98(_0x4a1098,_0x4b25c8,_0x317efb);const xi=0x1389;let Le=class extends _0x44a5f4{constructor(_0x61722,_0x7809a,_0x2dc326,_0x7e9cc9){const _0x4cb4c8=_0x379cf2;super(),h(this,_0x4cb4c8(0x1a4),new Set()),h(this,_0x4cb4c8(0x120),null),(this[_0x4cb4c8(0xef)]=_0x61722,this[_0x4cb4c8(0x105)]=_0x7809a,this[_0x4cb4c8(0x202)]=_0x2dc326,this[_0x4cb4c8(0x123)]=_0x7e9cc9,this[_0x4cb4c8(0xfe)]());}[_0x379cf2(0xfe)](){const _0x5adb4d=_0x379cf2;this[_0x5adb4d(0x105)][_0x5adb4d(0x110)]['pipe'](_0x6c4945(this[_0x5adb4d(0x265)]),_0x213661(_0x5b50e6=>{const _0x3f3875=_0x5adb4d;if(_0x5b50e6){const _0x570771=_0x5b50e6[_0x3f3875(0x230)];return _0x6c7006(this[_0x3f3875(0x202)]['getCollabCursors$'](this[_0x3f3875(0xef)][_0x3f3875(0x23d)]),this[_0x3f3875(0x123)]['currentTheme$'])[_0x3f3875(0x112)](_0x1a2991(([_0x5744a5,_0x4d12cf])=>{const _0x5a7d39=_0x3f3875,_0x2eb40b=new Map();return _0x5744a5[_0x5a7d39(0x16b)]((_0x513b54,_0x528e61)=>{const _0x43abf2=_0x5a7d39;if(_0x513b54[_0x43abf2(0x125)]===_0x570771){const _0x58149d={..._0x513b54};_0x58149d['color']=_0x4d12cf[_0x513b54[_0x43abf2(0x178)]],_0x2eb40b[_0x43abf2(0x14c)](_0x528e61,_0x58149d);}}),{'skeleton':_0x5b50e6,'cursors':_0x2eb40b};}));}return _0x3f0fd1({'skeleton':null,'cursors':new Map()});}))[_0x5adb4d(0x10f)](({skeleton:_0x372e89,cursors:_0x43386c})=>{const _0x482f03=_0x5adb4d;this[_0x482f03(0x217)](),_0x372e89&&this[_0x482f03(0xb5)](_0x372e89,_0x43386c);}),this[_0x5adb4d(0x105)]['currentSkeleton$'][_0x5adb4d(0x10f)](_0x200cc0=>{const _0xa14bd8=_0x5adb4d;if(_0x200cc0==null)return;const {skeleton:_0x26069e}=_0x200cc0,{scene:_0x89ef09}=this['_context'];_0x89ef09['onPointerMove$'][_0xa14bd8(0x221)](_0x35b3b0(_0x118d09=>{const _0x320e3d=_0xa14bd8;var _0x47e9a5,_0x192fae;const {offsetX:_0xa11e06,offsetY:_0x131a50}=_0x118d09,{x:_0x325584,y:_0xbba202}=_0x89ef09['getRelativeToViewportCoord'](_0x3b2723[_0x320e3d(0x17a)]([_0xa11e06,_0x131a50])),{scaleX:_0x113f57,scaleY:_0x24f3f5}=_0x89ef09[_0x320e3d(0x239)](),_0x2af3ea=_0x89ef09[_0x320e3d(0x1c7)](_0x1841b7[_0x320e3d(0xff)]),_0x12552c=_0x89ef09[_0x320e3d(0x24f)](_0x3b2723['FromArray']([_0x325584,_0xbba202]),_0x2af3ea),_0x26f61e=_0x26069e[_0x320e3d(0x1af)](_0xa11e06,_0x131a50,_0x113f57,_0x24f3f5,_0x12552c);((_0x47e9a5=this[_0x320e3d(0x120)])==null?void 0x0:_0x47e9a5[_0x320e3d(0x27b)])===_0x26f61e[_0x320e3d(0x27b)]&&((_0x192fae=this[_0x320e3d(0x120)])==null?void 0x0:_0x192fae[_0x320e3d(0x219)])===_0x26f61e[_0x320e3d(0x219)]||this['_cursors'][_0x320e3d(0x16b)](_0x4736e0=>{_0x4736e0['onMouseMove'](_0x26f61e);});},0x64));});}['_updateCollabCursors'](_0x58c79c,_0x1d7fe8){const _0x4062d3=_0x379cf2;var _0x5b8da4;const _0x1e0a1b=(_0x5b8da4=this[_0x4062d3(0x105)][_0x4062d3(0x210)]())==null?void 0x0:_0x5b8da4['skeleton'];if(!_0x1e0a1b)return;const _0x50261d=this[_0x4062d3(0x26e)]();if(!_0x50261d)return;this['_cursors']['forEach'](_0x2be311=>{const _0x2279ac=_0x4062d3;_0x2be311[_0x2279ac(0x139)]();});const {scene:_0x48051e}=_0x50261d,_0x2f7067=ki(Array[_0x4062d3(0x19d)](_0x1d7fe8[_0x4062d3(0x164)]()))[_0x4062d3(0xaf)](_0x4eab67=>{const _0x1ea1e9=_0x4062d3,{color:_0x4d5eac,range:_0x57f502,name:_0x1e7c86,selection:_0x2ab40a,sheetID:_0x14f55b}=_0x4eab67,{startColumn:_0x3ba929,startRow:_0x3948dc,endColumn:_0x98d216,endRow:_0x1455e4}=_0x57f502,_0x6772fe=_0x3dc229(_0x3948dc,_0x3ba929,_0x48051e,_0x1e0a1b),_0x19ff92=_0x3dc229(_0x1455e4,_0x98d216,_0x48051e,_0x1e0a1b),{columnHeaderHeightAndMarginTop:_0x4185d7}=_0x1e0a1b,{startX:_0x29e52e,startY:_0x3c969e}=_0x6772fe,{endX:_0xec8305,endY:_0x2266f5}=_0x19ff92,_0x1d2a0b=_0xec8305-_0x29e52e,_0x36e04f=_0x2266f5-_0x3c969e,_0x483a0a={'labelPosition':_0x3c969e-_0x4185d7>=te?_0x1ea1e9(0x1dd):_0x1ea1e9(0x1df),'sheetID':_0x14f55b,'range':_0x57f502,'color':_0x4d5eac,'name':_0x1e7c86,'selection':_0x2ab40a,'left':_0x29e52e,'top':_0x3c969e,'width':_0x1d2a0b,'height':_0x36e04f,'evented':!0x1,'zIndex':xi};return new Ai(_0x1e7c86,_0x483a0a);});_0x48051e['addObjects'](_0x2f7067,Ui),this[_0x4062d3(0x1a4)]=new Set(_0x2f7067);}[_0x379cf2(0x217)](){const _0x44a2f0=_0x379cf2;var _0x533646;(_0x533646=this[_0x44a2f0(0x1a4)])==null||_0x533646['forEach'](_0x251a41=>_0x251a41[_0x44a2f0(0x15c)]());}['_getSheetObject'](){const _0x506084=_0x379cf2;return _0x19a24c(this[_0x506084(0xef)]['unit'],this[_0x506084(0xef)]);}};Le=$i([pe(0x1,_0x4cfb35(_0x1dae05)),pe(0x2,_0x4cfb35(H)),pe(0x3,_0x4cfb35(_0x5809b4))],Le);function ki(_0x18e1ef){const _0x3ae5d7=_0x379cf2,_0x5b5b03=new Map();return _0x18e1ef[_0x3ae5d7(0x16b)](_0x3d736a=>{const _0x48facb=_0x3ae5d7;if(_0x5b5b03[_0x48facb(0x223)](_0x3d736a[_0x48facb(0x24a)])){const _0xe224fa=_0x5b5b03[_0x48facb(0x106)](_0x3d736a[_0x48facb(0x24a)]);_0xe224fa[_0x48facb(0x224)]+=',\x20'+_0x3d736a[_0x48facb(0x224)];}else _0x5b5b03[_0x48facb(0x14c)](_0x3d736a[_0x48facb(0x24a)],_0x3d736a);}),Array[_0x3ae5d7(0x19d)](_0x5b5b03[_0x3ae5d7(0x164)]());}var I=function(){const _0x3cd4f9=_0x379cf2;return I=Object[_0x3cd4f9(0x15f)]||function(_0x5c7151){const _0x358839=_0x3cd4f9;for(var _0x5e3eb2,_0x5ac2ce=0x1,_0x54e34e=arguments[_0x358839(0x15e)];_0x5ac2ce<_0x54e34e;_0x5ac2ce++){_0x5e3eb2=arguments[_0x5ac2ce];for(var _0x3e7757 in _0x5e3eb2)Object[_0x358839(0x25f)][_0x358839(0x1ef)][_0x358839(0x14d)](_0x5e3eb2,_0x3e7757)&&(_0x5c7151[_0x3e7757]=_0x5e3eb2[_0x3e7757]);}return _0x5c7151;},I['apply'](this,arguments);},Bi=function(_0x4a0c46,_0xe50120){const _0x4db316=_0x379cf2;var _0xe6136e={};for(var _0x597ad8 in _0x4a0c46)Object['prototype'][_0x4db316(0x1ef)][_0x4db316(0x14d)](_0x4a0c46,_0x597ad8)&&_0xe50120[_0x4db316(0x270)](_0x597ad8)<0x0&&(_0xe6136e[_0x597ad8]=_0x4a0c46[_0x597ad8]);if(_0x4a0c46!=null&&typeof Object[_0x4db316(0x138)]==_0x4db316(0x11a)){for(var _0x4b9788=0x0,_0x597ad8=Object[_0x4db316(0x138)](_0x4a0c46);_0x4b9788<_0x597ad8[_0x4db316(0x15e)];_0x4b9788++)_0xe50120[_0x4db316(0x270)](_0x597ad8[_0x4b9788])<0x0&&Object[_0x4db316(0x25f)][_0x4db316(0x1e6)]['call'](_0x4a0c46,_0x597ad8[_0x4b9788])&&(_0xe6136e[_0x597ad8[_0x4b9788]]=_0x4a0c46[_0x597ad8[_0x4b9788]]);}return _0xe6136e;},We=_0x1dc725(function(_0x9e6622,_0x45371b){const _0x1c575b=_0x379cf2;var _0x362b9b=_0x9e6622[_0x1c575b(0x1fd)],_0x91f262=_0x9e6622['id'],_0x214f67=_0x9e6622['className'],_0x52f000=_0x9e6622[_0x1c575b(0x237)],_0x59ae85=Bi(_0x9e6622,[_0x1c575b(0x1fd),'id',_0x1c575b(0xe3),_0x1c575b(0x237)]),_0x9fb00c=_0x1c575b(0xab)['concat'](_0x91f262,'\x20')[_0x1c575b(0x122)](_0x214f67||'')[_0x1c575b(0x153)](),_0x4646f0=_0x1ae812('_'['concat'](Wi()));return Pt(_0x362b9b,''[_0x1c575b(0x122)](_0x91f262),{'defIds':_0x362b9b[_0x1c575b(0x15a)],'idSuffix':_0x4646f0[_0x1c575b(0x133)]},I({'ref':_0x45371b,'className':_0x9fb00c},_0x59ae85),_0x52f000);});function Pt(_0x5a0f8a,_0x16e454,_0x448266,_0x521f87,_0x1cc5a4){const _0xe1d786=_0x379cf2;return _0x21aa83(_0x5a0f8a['tag'],I(I({'key':_0x16e454},Hi(_0x5a0f8a,_0x448266,_0x1cc5a4)),_0x521f87),(ji(_0x5a0f8a,_0x448266)[_0xe1d786(0x28b)]||[])[_0xe1d786(0xaf)](function(_0x402cde,_0x13e1bd){const _0x8b1412=_0xe1d786;return Pt(_0x402cde,''[_0x8b1412(0x122)](_0x16e454,'-')[_0x8b1412(0x122)](_0x5a0f8a[_0x8b1412(0x143)],'-')[_0x8b1412(0x122)](_0x13e1bd),_0x448266,void 0x0,_0x1cc5a4);}));}function Hi(_0x2ee099,_0x4ad4fa,_0x4c7821){const _0x2bd6c6=_0x379cf2;var _0x54dca9=I({},_0x2ee099[_0x2bd6c6(0x294)]);_0x4c7821!=null&&_0x4c7821[_0x2bd6c6(0xf7)]&&_0x54dca9[_0x2bd6c6(0x256)]===_0x2bd6c6(0xf7)&&(_0x54dca9['fill']=_0x4c7821[_0x2bd6c6(0xf7)]),_0x2ee099['tag']==='mask'&&_0x54dca9['id']&&(_0x54dca9['id']=_0x54dca9['id']+_0x4ad4fa[_0x2bd6c6(0x291)]),Object[_0x2bd6c6(0xe1)](_0x54dca9)[_0x2bd6c6(0x16b)](function(_0x4e569e){const _0x1197f6=_0x2bd6c6;var _0x47747f=_0x4e569e[0x0],_0xe20cb6=_0x4e569e[0x1];_0x47747f===_0x1197f6(0x186)&&typeof _0xe20cb6==_0x1197f6(0xb7)&&(_0x54dca9[_0x47747f]=_0xe20cb6[_0x1197f6(0xa1)](/url\(#(.*)\)/,_0x1197f6(0xdc)[_0x1197f6(0x122)](_0x4ad4fa[_0x1197f6(0x291)],')')));});var _0x5f45fb=_0x4ad4fa[_0x2bd6c6(0x15a)];return!_0x5f45fb||_0x5f45fb[_0x2bd6c6(0x15e)]===0x0||(_0x2ee099[_0x2bd6c6(0x143)]===_0x2bd6c6(0x255)&&_0x54dca9[_0x2bd6c6(0x9e)]&&(_0x54dca9['xlink:href']=_0x54dca9[_0x2bd6c6(0x9e)]+_0x4ad4fa[_0x2bd6c6(0x291)]),Object['entries'](_0x54dca9)[_0x2bd6c6(0x16b)](function(_0x1dc862){const _0x16e495=_0x2bd6c6;var _0xa0c947=_0x1dc862[0x0],_0x44856d=_0x1dc862[0x1];typeof _0x44856d=='string'&&(_0x54dca9[_0xa0c947]=_0x44856d[_0x16e495(0xa1)](/url\(#(.*)\)/,_0x16e495(0xdc)['concat'](_0x4ad4fa[_0x16e495(0x291)],')')));})),_0x54dca9;}function ji(_0x3027f3,_0x50634b){const _0x5ee8d1=_0x379cf2;var _0x208bc2,_0x47c22c=_0x50634b[_0x5ee8d1(0x15a)];return!_0x47c22c||_0x47c22c[_0x5ee8d1(0x15e)]===0x0?_0x3027f3:_0x3027f3[_0x5ee8d1(0x143)]===_0x5ee8d1(0xb4)&&(!((_0x208bc2=_0x3027f3[_0x5ee8d1(0x28b)])===null||_0x208bc2===void 0x0)&&_0x208bc2[_0x5ee8d1(0x15e)])?I(I({},_0x3027f3),{'children':_0x3027f3[_0x5ee8d1(0x28b)][_0x5ee8d1(0xaf)](function(_0x1a6fb9){const _0x1a217a=_0x5ee8d1;return typeof _0x1a6fb9['attrs']['id']==_0x1a217a(0xb7)&&_0x47c22c&&_0x47c22c[_0x1a217a(0x270)](_0x1a6fb9['attrs']['id'])>-0x1?I(I({},_0x1a6fb9),{'attrs':I(I({},_0x1a6fb9[_0x1a217a(0x294)]),{'id':_0x1a6fb9['attrs']['id']+_0x50634b[_0x1a217a(0x291)]})}):_0x1a6fb9;})}):_0x3027f3;}function Wi(){const _0x4b626c=_0x379cf2;return Math[_0x4b626c(0x16f)]()[_0x4b626c(0x191)](0x24)['substring'](0x2,0x8);}We[_0x379cf2(0x1b0)]=_0x379cf2(0x1fb);var Fi={'tag':'svg','attrs':{'fill':_0x379cf2(0x1fe),'viewBox':_0x379cf2(0x1b3),'width':_0x379cf2(0x27d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x379cf2(0xd4),'attrs':{'stroke':_0x379cf2(0x212),'d':_0x379cf2(0x263),'strokeLinecap':'round','strokeLinejoin':_0x379cf2(0xee),'strokeWidth':1.2}}]},{'tag':_0x379cf2(0xb4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x379cf2(0x16c)},'children':[{'tag':_0x379cf2(0xd4),'attrs':{'fill':'#fff','d':_0x379cf2(0x1ca)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0x1dc725(function(_0x3b357a,_0x5806e5){const _0x227ee3=_0x379cf2;return _0x21aa83(We,Object[_0x227ee3(0x15f)]({},_0x3b357a,{'id':'off-line-single','ref':_0x5806e5,'icon':Fi}));});Mt['displayName']=_0x379cf2(0x117);var Yi={'tag':_0x379cf2(0x229),'attrs':{'fill':_0x379cf2(0x1fe),'viewBox':_0x379cf2(0x147),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x379cf2(0x1c6)},'children':[{'tag':_0x379cf2(0xd4),'attrs':{'stroke':_0x379cf2(0x212),'d':_0x379cf2(0x226),'strokeLinecap':_0x379cf2(0xee),'strokeLinejoin':_0x379cf2(0xee),'strokeWidth':1.2}}]},{'tag':_0x379cf2(0xb4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x379cf2(0x21a)},'children':[{'tag':_0x379cf2(0xd4),'attrs':{'fill':_0x379cf2(0xed),'d':_0x379cf2(0x1ca),'transform':_0x379cf2(0x18b)}}]}]}],'defIds':[_0x379cf2(0x21a)]},Nt=_0x1dc725(function(_0x2b859c,_0x558fb1){const _0x209900=_0x379cf2;return _0x21aa83(We,Object[_0x209900(0x15f)]({},_0x2b859c,{'id':_0x209900(0xc2),'ref':_0x558fb1,'icon':Yi}));});Nt[_0x379cf2(0x1b0)]=_0x379cf2(0x264);const Xi=_0x379cf2(0x1e9),Vi=_0x379cf2(0x161),Gi=_0x379cf2(0xe6),Ki=_0x379cf2(0x20e),zi=_0x379cf2(0x171),G={'onlineStatusIcon':Xi,'onlineStatusTitle':Vi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x3002d2){const _0x3ef36b=_0x379cf2;switch(_0x3002d2){case _0x4d27e0[_0x3ef36b(0x267)]:return _0x3ef36b(0xa0);case _0x4d27e0['CONFLICT']:return'collabStatus.conflict';case _0x4d27e0['FETCH_MISS']:return _0x3ef36b(0x1b5);case _0x4d27e0[_0x3ef36b(0x211)]:return _0x3ef36b(0x1b6);case _0x4d27e0['AWAITING']:case _0x4d27e0[_0x3ef36b(0x127)]:return'collabStatus.syncing';case _0x4d27e0[_0x3ef36b(0xf5)]:case _0x4d27e0[_0x3ef36b(0x137)]:return _0x3ef36b(0x1ed);}}function Zi(_0x411c39){const _0x1a57ff=_0x379cf2,{status$:_0x4141f6}=_0x411c39,_0x4b59a4=_0x503bde(_0x4141f6,_0x4d27e0[_0x1a57ff(0x211)]),_0x166d32=_0x3d68c3(_0x49529a),_0x34977d=_0x3d68c3(_0x1ea135),_0x3a3f17=_0x4b59a4!==_0x4d27e0[_0x1a57ff(0x267)],_0x51971e=_0x166d32['t'](Ji(_0x4b59a4)),_0xdd0ec0=_0x7ea2d5(G['onlineStatus'],{[G['online']]:_0x3a3f17,[G[_0x1a57ff(0xc8)]]:!_0x3a3f17}),_0x19f728=_0x3a3f17?_0x55d99f(Nt,{}):_0x55d99f(Mt,{}),_0x445533=_0x9d77bb(()=>{const _0x30435c=_0x1a57ff;_0x3a3f17||_0x34977d[_0x30435c(0x192)]();},[_0x3a3f17,_0x34977d]);function _0x375e48(){const _0x15b0f0=_0x1a57ff;return _0x194ad0(_0x15b0f0(0x290),{'className':_0x7ea2d5(_0xdd0ec0,_0x15b0f0(0x17f)),'onClick':_0x445533,'children':[_0x55d99f('div',{'className':G[_0x15b0f0(0x108)],'children':_0x19f728}),_0x55d99f('div',{'className':G[_0x15b0f0(0xbb)],'children':_0x51971e})]});}return _0x3a3f17?_0x375e48():_0x55d99f(_0x35287c,{'title':_0x166d32['t']('collab-client.tooltip.reconnect'),'children':_0x375e48()});}var qi=Object[_0x379cf2(0x23f)],Qi=(_0x5ca35d,_0x3c042f,_0xfa22b1,_0x408950)=>{const _0x1a5747=_0x379cf2;for(var _0x191bb4=_0x408950>0x1?void 0x0:_0x408950?qi(_0x3c042f,_0xfa22b1):_0x3c042f,_0xa1e051=_0x5ca35d[_0x1a5747(0x15e)]-0x1,_0x28c2b9;_0xa1e051>=0x0;_0xa1e051--)(_0x28c2b9=_0x5ca35d[_0xa1e051])&&(_0x191bb4=_0x28c2b9(_0x191bb4)||_0x191bb4);return _0x191bb4;},Q=(_0x3f56e8,_0x15b0df)=>(_0x325d71,_0x1c530c)=>_0x15b0df(_0x325d71,_0x1c530c,_0x3f56e8);let se=class extends _0x395c47{constructor(_0x12c5ed,_0x17bc31,_0x33abfd,_0x227899){const _0x210a4a=_0x379cf2;super(),h(this,'_status$',new _0xd7100c(_0x4d27e0[_0x210a4a(0x211)])),(this[_0x210a4a(0x10e)]=_0x12c5ed,this[_0x210a4a(0x99)]=_0x17bc31,this[_0x210a4a(0x111)]=_0x33abfd,this[_0x210a4a(0xd2)]=_0x227899,this[_0x210a4a(0x293)](),this[_0x210a4a(0xba)]());}['_initStatusListener'](){const _0x233f35=_0x379cf2;this[_0x233f35(0x1ac)](this[_0x233f35(0x10e)][_0x233f35(0xeb)]['pipe'](_0x9f7d0(()=>{const _0x2c2951=_0x233f35,_0x5d8f32=this[_0x2c2951(0x10e)]['getFocusedUnit']();return _0x5d8f32?this[_0x2c2951(0x111)][_0x2c2951(0x1ea)](_0x5d8f32[_0x2c2951(0x1a8)]()):_0x3f0fd1(null);}),_0x9f7d0(_0x384852=>_0x384852?_0x384852['status$']:_0x3f0fd1(_0x4d27e0[_0x233f35(0x211)])))[_0x233f35(0x10f)](_0x2a797e=>{this['_status$']['next'](_0x2a797e);}));}[_0x379cf2(0x293)](){const _0x2b4905=_0x379cf2;this[_0x2b4905(0x1ac)](this['_uiPartsService'][_0x2b4905(0x184)](_0x564db5['HEADER_MENU'],()=>_0x3b26a6(en({'status$':this[_0x2b4905(0xcb)][_0x2b4905(0x27f)]()}),this['_injector'])));}};se=Qi([Q(0x0,_0x3fdd3f),Q(0x1,_0x4cfb35(_0x4e3c79)),Q(0x2,_0x4cfb35(_0x501824)),Q(0x3,_0x481fa2)],se);function en(_0x47ab16){const {status$:_0x475161}=_0x47ab16;return function(){return _0x55d99f(Zi,{'status$':_0x475161});};}var tn=Object[_0x379cf2(0x23f)],sn=(_0x5a0c0d,_0x230c21,_0x28fd0c,_0x5c2faf)=>{const _0x2b6cca=_0x379cf2;for(var _0x1cdd7b=_0x5c2faf>0x1?void 0x0:_0x5c2faf?tn(_0x230c21,_0x28fd0c):_0x230c21,_0x51d94b=_0x5a0c0d[_0x2b6cca(0x15e)]-0x1,_0x2b6cbe;_0x51d94b>=0x0;_0x51d94b--)(_0x2b6cbe=_0x5a0c0d[_0x51d94b])&&(_0x1cdd7b=_0x2b6cbe(_0x1cdd7b)||_0x1cdd7b);return _0x1cdd7b;},k=(_0x5762e6,_0x43bd0e)=>(_0x3650b5,_0x189d85)=>_0x43bd0e(_0x3650b5,_0x189d85,_0x5762e6);let ie=class extends _0x395c47{constructor(_0x26e13a,_0x1cf1b1,_0x4b7518,_0x362700,_0x342559,_0xa6ba44){const _0x15f712=_0x379cf2;super(),this['_beforeCloseService']=_0x26e13a,this[_0x15f712(0x14a)]=_0x1cf1b1,this[_0x15f712(0x1bb)]=_0x4b7518,this[_0x15f712(0x1f4)]=_0x362700,this[_0x15f712(0xbe)]=_0x342559,this['_localeService']=_0xa6ba44,this[_0x15f712(0x13f)](),this[_0x15f712(0x12c)]();}[_0x379cf2(0x13f)](){const _0x506b78=_0x379cf2;this[_0x506b78(0x1ac)](this[_0x506b78(0x9b)][_0x506b78(0xc9)](()=>{const _0xde548b=_0x506b78;if(this['_localCacheService']['saveTaskMap'][_0xde548b(0xbd)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x2c9d93=_0x379cf2;this[_0x2c9d93(0x1ac)](this[_0x2c9d93(0x1bb)][_0x2c9d93(0x1dc)][_0x2c9d93(0x10f)](_0x81c5fb=>{const _0x337eeb=_0x2c9d93;_0x81c5fb['id']===_0x3bedaa[_0x337eeb(0xdf)]&&this[_0x337eeb(0x1f4)]['show']({'type':_0x2ddf25[_0x337eeb(0x151)],'content':this[_0x337eeb(0x149)]['t'](_0x337eeb(0x189))}),_0x81c5fb['id']===_0x3bedaa[_0x337eeb(0x130)]&&this[_0x337eeb(0x1f4)]['show']({'type':_0x2ddf25[_0x337eeb(0x151)],'content':this['_localeService']['t'](_0x337eeb(0xa6))}),_0x81c5fb['id']===_0x3bedaa[_0x337eeb(0x1cb)]&&this[_0x337eeb(0xbe)]['show']({'title':this[_0x337eeb(0x149)]['t']('permission.title'),'content':this[_0x337eeb(0x149)]['t'](_0x337eeb(0x172)),'type':'error','duration':0x0}),_0x81c5fb['id']===_0x3bedaa[_0x337eeb(0x10c)]&&this[_0x337eeb(0x1f4)][_0x337eeb(0x247)]({'type':_0x2ddf25[_0x337eeb(0x19b)],'content':this[_0x337eeb(0x149)]['t'](_0x337eeb(0xa6))+'('+_0x81c5fb[_0x337eeb(0x1c3)]+')'}),_0x81c5fb['id']===_0x3bedaa[_0x337eeb(0x180)]&&this[_0x337eeb(0x1f4)]['show']({'type':_0x2ddf25['Warning'],'content':this[_0x337eeb(0x149)]['t'](_0x81c5fb[_0x337eeb(0x1c3)]||'')}),_0x81c5fb['id']===_0x3bedaa[_0x337eeb(0x233)]&&this['_messageService'][_0x337eeb(0x247)]({'type':_0x2ddf25[_0x337eeb(0x151)],'content':this['_localeService']['t'](_0x337eeb(0xf2))}),_0x81c5fb['id']===_0x3bedaa[_0x337eeb(0x1b4)]&&this[_0x337eeb(0x1f4)]['show']({'type':_0x2ddf25[_0x337eeb(0x19b)],'content':this[_0x337eeb(0x149)]['t'](_0x337eeb(0x173))}),_0x81c5fb['id']===_0x3bedaa[_0x337eeb(0x209)]&&this[_0x337eeb(0x1f4)]['show']({'type':_0x2ddf25[_0x337eeb(0x19b)],'content':this['_localeService']['t'](_0x337eeb(0x146))});}));}};ie=sn([k(0x0,_0x4f3929),k(0x1,_0x2d7ad5),k(0x2,_0x4cfb35(_0x42a0e4)),k(0x3,_0x9fafa5),k(0x4,_0x17e69f),k(0x5,_0x4cfb35(_0x49529a))],ie);const nn=_0x379cf2(0x1aa),st={},wt=_0x201f16(_0x379cf2(0x131));var rn=Object[_0x379cf2(0x23f)],on=(_0x4451c5,_0x89e3a4,_0x55da91,_0x39e3eb)=>{const _0xb20e5a=_0x379cf2;for(var _0x173ea6=_0x39e3eb>0x1?void 0x0:_0x39e3eb?rn(_0x89e3a4,_0x55da91):_0x89e3a4,_0x7cdb70=_0x4451c5[_0xb20e5a(0x15e)]-0x1,_0x3667b2;_0x7cdb70>=0x0;_0x7cdb70--)(_0x3667b2=_0x4451c5[_0x7cdb70])&&(_0x173ea6=_0x3667b2(_0x173ea6)||_0x173ea6);return _0x173ea6;},K=(_0x2bcc82,_0x43a620)=>(_0x5c52cd,_0x5c24ee)=>_0x43a620(_0x5c52cd,_0x5c24ee,_0x2bcc82);let ne=class extends _0x44a5f4{constructor(_0x16d328,_0x1b929d,_0xd7ccc7,_0x244c03,_0x6f595b){const _0x4cb9fc=_0x379cf2;super(),this['_urlService']=_0x16d328,this['_logService']=_0x1b929d,this[_0x4cb9fc(0xf3)]=_0xd7ccc7,this['_dataLoaderService']=_0x244c03,_0x6f595b?_0x6f595b==null||_0x6f595b[_0x4cb9fc(0x238)]()['then'](()=>this[_0x4cb9fc(0xfe)]()):(this['_logService'][_0x4cb9fc(0x158)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x4cb9fc(0xfe)]());}async[_0x379cf2(0xfe)](){const _0x5aaa15=_0x379cf2,_0x50f1dd=this[_0x5aaa15(0x280)][_0x5aaa15(0x154)]('unit'),_0x55ffa3=this['_urlService'][_0x5aaa15(0x154)]('type'),_0x36b505=this[_0x5aaa15(0x280)]['getParam'](_0x5aaa15(0x22e));if(!_0x50f1dd||!_0x55ffa3){this[_0x5aaa15(0x160)][_0x5aaa15(0x158)](_0x5aaa15(0x286),_0x5aaa15(0x1d9));return;}const _0x66cac8=await this[_0x5aaa15(0x278)][_0x5aaa15(0x17d)](_0x50f1dd,Number(_0x55ffa3),_0x36b505);_0x66cac8&&_0x66cac8 instanceof _0x1ce281&&this[_0x5aaa15(0x148)](_0x66cac8);}async[_0x379cf2(0x148)](_0x24f01d){const _0x56018e=_0x379cf2;await this[_0x56018e(0xa4)](_0x24f01d),_0x24f01d[_0x56018e(0x1b8)][_0x56018e(0x112)](_0x15f16c(this['dispose$']))[_0x56018e(0x10f)](_0x70d431=>{_0x70d431&&this['_updateURLWithCurrentState'](_0x70d431);}),this[_0x56018e(0x280)]['urlChange$'][_0x56018e(0x112)](_0x15f16c(this[_0x56018e(0x265)]))[_0x56018e(0x10f)](()=>this[_0x56018e(0xa4)](_0x24f01d));}[_0x379cf2(0x248)](_0x17b40d,_0x43dbfa=!0x1){const _0x4fd8e2=_0x379cf2,_0x2de09f=this[_0x4fd8e2(0x280)][_0x4fd8e2(0x154)](_0x4fd8e2(0x22e));_0x17b40d[_0x4fd8e2(0x12f)]()!==_0x2de09f&&this[_0x4fd8e2(0x280)][_0x4fd8e2(0x26f)](_0x4fd8e2(0x22e),_0x17b40d['getSheetId'](),_0x43dbfa);}async[_0x379cf2(0xa4)](_0x18dc8e){const _0x3e56fa=_0x379cf2;var _0x44389e;const _0xdad5de=this[_0x3e56fa(0x280)]['getParam']('subunit');if(!_0xdad5de||!_0x18dc8e[_0x3e56fa(0x128)](_0xdad5de)){const _0x15427c=_0x18dc8e['getUnhiddenWorksheets']()[0x0],_0x1a85e2=_0x18dc8e[_0x3e56fa(0x128)](_0x15427c);if(!_0x1a85e2)return;this[_0x3e56fa(0x248)](_0x1a85e2,!0x0),await this['_commandService'][_0x3e56fa(0x241)](_0x159dd8['id'],{'unitId':_0x18dc8e[_0x3e56fa(0x1a8)](),'subUnitId':_0x15427c});return;}((_0x44389e=_0x18dc8e['getActiveSheet']())==null?void 0x0:_0x44389e[_0x3e56fa(0x12f)]())!==_0xdad5de&&await this[_0x3e56fa(0xf3)][_0x3e56fa(0x241)](_0x159dd8['id'],{'unitId':_0x18dc8e[_0x3e56fa(0x1a8)](),'subUnitId':_0xdad5de});}};ne=on([K(0x0,wt),K(0x1,_0x429436),K(0x2,_0xa728e),K(0x3,_0x4cfb35(_0x1cd7b8)),K(0x4,_0x259b41(_0x6accb9))],ne);var an=Object[_0x379cf2(0x23f)],cn=(_0x5d980f,_0x402269,_0x1f8bcb,_0x25aa9b)=>{for(var _0x372870=_0x25aa9b>0x1?void 0x0:_0x25aa9b?an(_0x402269,_0x1f8bcb):_0x402269,_0x1863a9=_0x5d980f['length']-0x1,_0x1b8fb6;_0x1863a9>=0x0;_0x1863a9--)(_0x1b8fb6=_0x5d980f[_0x1863a9])&&(_0x372870=_0x1b8fb6(_0x372870)||_0x372870);return _0x372870;},Ce=(_0x257db9,_0x24d3d8)=>(_0x35862a,_0x8d6751)=>_0x24d3d8(_0x35862a,_0x8d6751,_0x257db9);let re=class{constructor(_0x3d2d77,_0x59c68e,_0x47a410){const _0x5c635d=_0x379cf2;this[_0x5c635d(0x99)]=_0x3d2d77,this['_transformService']=_0x59c68e,this[_0x5c635d(0x1db)]=_0x47a410;}[_0x379cf2(0x194)](_0xddea23){const _0x2f0fb3=_0x379cf2;this[_0x2f0fb3(0x1cc)](_0xddea23),this[_0x2f0fb3(0x28f)](_0xddea23);}['transformRemoteChangeset'](_0x22c27b){const _0x46ce28=_0x379cf2,{unitID:_0xc8212}=_0x22c27b,_0x4ce2fc=this[_0x46ce28(0x1db)]['getRenderById'](_0xc8212)[_0x46ce28(0x1a6)](_0x23ea0f),{redoCache:_0x2d703b}=_0x4ce2fc['getUndoRedoMutationParamsCache']();if(_0x2d703b[_0x46ce28(0x15e)]===0x0)return _0x22c27b;let _0x2053e5=_0x35019f[_0x46ce28(0x11c)](_0x22c27b['mutations'][0x0]);for(let _0x94137c=0x0;_0x94137c<_0x2d703b['length'];_0x94137c++){const _0x5eb5d6={'id':_0x46ce28(0x25d),'params':{..._0x2d703b[_0x94137c]}},_0x38efe1=this[_0x46ce28(0xb8)]['transformMutation'](_0x2053e5,_0x5eb5d6,!0x1);if(_0x2af618(_0x38efe1))throw _0x38efe1[_0x46ce28(0x23b)];_0x2053e5=_0x38efe1[_0x46ce28(0x235)];}return{..._0x35019f[_0x46ce28(0x11c)](_0x22c27b),'mutations':[_0x2053e5]};}[_0x379cf2(0x1cc)](_0x5b6046){const _0xe93397=_0x379cf2,{unitID:_0x15216c}=_0x5b6046,_0x2c2293=this[_0xe93397(0x1db)][_0xe93397(0x1b7)](_0x15216c)[_0xe93397(0x1a6)](_0x23ea0f),{undoCache:_0x3dd27c,redoCache:_0x41091d}=_0x2c2293[_0xe93397(0x12b)]();if(_0x3dd27c['length']===0x0||_0x41091d[_0xe93397(0x15e)]===0x0)return;const _0x41c655=[],_0xc0d938=[];let _0x11d39a=_0x35019f['deepClone'](_0x5b6046[_0xe93397(0x114)][0x0]),_0x85ba4f=_0x35019f['deepClone'](_0x5b6046['mutations'][0x0]);for(let _0x23ce1f=_0x3dd27c[_0xe93397(0x15e)]-0x1;_0x23ce1f>=0x0;_0x23ce1f--){const _0x4060b6={'id':'doc.mutation.rich-text-editing','params':{..._0x3dd27c[_0x23ce1f]}},_0x5ac381={'id':_0xe93397(0x25d),'params':{..._0x41091d[_0x23ce1f]}},_0x434504=this['_transformService'][_0xe93397(0x288)](_0x11d39a,_0x4060b6,!0x1),_0x4c925b=this[_0xe93397(0xb8)][_0xe93397(0x288)](_0x85ba4f,_0x5ac381,!0x1);if(_0x2af618(_0x434504))throw _0x434504[_0xe93397(0x23b)];if(_0x2af618(_0x4c925b))throw _0x4c925b[_0xe93397(0x23b)];_0x41c655[_0xe93397(0x13e)](_0x434504[_0xe93397(0x1cf)][_0xe93397(0x113)]),_0xc0d938[_0xe93397(0x13e)](_0x4c925b[_0xe93397(0x1cf)]['params']),_0x11d39a=_0x434504[_0xe93397(0x235)],_0x85ba4f=_0x4c925b[_0xe93397(0x235)];}_0x2c2293['setUndoRedoMutationParamsCache']({'undoCache':_0x41c655,'redoCache':_0xc0d938});}[_0x379cf2(0x28f)](_0xf67e64){const _0x52c929=_0x379cf2,{unitID:_0x1870dd}=_0xf67e64,_0x64e0c9=this[_0x52c929(0x1db)]['getRenderById'](_0x1870dd)[_0x52c929(0x1a6)](_0x23ea0f),_0x323bf4=_0x64e0c9[_0x52c929(0xcd)]();if(_0x323bf4==null)return;const _0x77394d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf67e64[_0x52c929(0x1e1)],'actions':null,'textRanges':[_0x323bf4]}}],_0x4362c6=this[_0x52c929(0xb8)][_0x52c929(0x201)](_0xf67e64,_0x77394d);if(!_0x40c95a(_0x4362c6))throw _0x4362c6['error'];const _0x6a36b0=_0x4362c6[_0x52c929(0x1cf)][0x0]['params'][_0x52c929(0x176)];Array['isArray'](_0x6a36b0)&&_0x6a36b0['length']&&_0x64e0c9[_0x52c929(0xae)](_0x6a36b0[0x0]);}};re=cn([Ce(0x0,_0x4cfb35(_0x4e3c79)),Ce(0x1,_0x207b47),Ce(0x2,_0x3500a0)],re);var ln=Object[_0x379cf2(0x23f)],hn=(_0x4019be,_0x5bd7b1,_0x1f962d,_0x42c6e9)=>{for(var _0x42cf98=_0x42c6e9>0x1?void 0x0:_0x42c6e9?ln(_0x5bd7b1,_0x1f962d):_0x5bd7b1,_0x25fda8=_0x4019be['length']-0x1,_0x383f3e;_0x25fda8>=0x0;_0x25fda8--)(_0x383f3e=_0x4019be[_0x25fda8])&&(_0x42cf98=_0x383f3e(_0x42cf98)||_0x42cf98);return _0x42cf98;},be=(_0x396143,_0x3efccc)=>(_0x5c82cd,_0x314ca8)=>_0x3efccc(_0x5c82cd,_0x314ca8,_0x396143);let oe=class{constructor(_0x5c25b4,_0x2944da,_0x676736){const _0xccb585=_0x379cf2;this['_injector']=_0x5c25b4,this[_0xccb585(0xb8)]=_0x2944da,this[_0xccb585(0x245)]=_0x676736;}[_0x379cf2(0x23a)](_0x353207){const _0x14000c=_0x379cf2;this[_0x14000c(0x14e)](_0x353207);}[_0x379cf2(0x254)](_0x2eb31e){const _0x570d42=_0x379cf2,{unitID:_0x2adef6}=_0x2eb31e,{collaboration:_0x346f5b}=this[_0x570d42(0x245)]['getStateCache'](_0x2adef6);if(_0x346f5b[_0x570d42(0x15e)]===0x0)return _0x2eb31e;let _0x411180=_0x35019f[_0x570d42(0x11c)](_0x2eb31e[_0x570d42(0x114)][0x0]);for(let _0xfdad52=0x0;_0xfdad52<_0x346f5b[_0x570d42(0x15e)];_0xfdad52++){const _0x209c6c={'id':_0x570d42(0x25d),'params':{'unitId':_0x346f5b[_0xfdad52]['unitId'],..._0x346f5b[_0xfdad52][_0x570d42(0x124)]}},_0x46357f=this['_transformService'][_0x570d42(0x288)](_0x411180,_0x209c6c,!0x1);if(_0x2af618(_0x46357f))throw _0x46357f[_0x570d42(0x23b)];_0x411180=_0x46357f[_0x570d42(0x235)];}return{..._0x35019f[_0x570d42(0x11c)](_0x2eb31e),'mutations':[_0x411180]};}[_0x379cf2(0x14e)](_0x44a698){const _0x3ec70d=_0x379cf2,{unitID:_0x5b4999}=_0x44a698,{history:_0x12544f,collaboration:_0xa4cbd9}=this[_0x3ec70d(0x245)][_0x3ec70d(0x25e)](_0x5b4999);if(_0x12544f[_0x3ec70d(0x15e)]===0x0&&_0xa4cbd9[_0x3ec70d(0x15e)]===0x0)return;const _0x311646=[],_0x2d0b15=[];let _0xda16d0=_0x35019f[_0x3ec70d(0x11c)](_0x44a698['mutations'][0x0]),_0x1bb975=_0x35019f[_0x3ec70d(0x11c)](_0x44a698['mutations'][0x0]);for(let _0x135107=_0x12544f[_0x3ec70d(0x15e)]-0x1;_0x135107>=0x0;_0x135107--){const _0x39e550={'id':_0x3ec70d(0x25d),'params':{'unitId':_0x12544f[_0x135107][_0x3ec70d(0x23d)],..._0x12544f[_0x135107][_0x3ec70d(0x21d)]}},_0x48381a={'id':_0x3ec70d(0x25d),'params':{'unitId':_0x12544f[_0x135107][_0x3ec70d(0x23d)],..._0x12544f[_0x135107][_0x3ec70d(0x124)]}},_0x27f372=this['_transformService'][_0x3ec70d(0x288)](_0xda16d0,_0x39e550,!0x1),_0x2f1dcc=this[_0x3ec70d(0xb8)]['transformMutation'](_0x1bb975,_0x48381a,!0x1);if(_0x2af618(_0x27f372))throw _0x27f372[_0x3ec70d(0x23b)];if(_0x2af618(_0x2f1dcc))throw _0x2f1dcc['error'];_0x311646[_0x3ec70d(0x13e)]({..._0x12544f[_0x135107],'undoState':_0x27f372[_0x3ec70d(0x1cf)][_0x3ec70d(0x113)],'redoState':_0x2f1dcc[_0x3ec70d(0x1cf)][_0x3ec70d(0x113)]}),_0xda16d0=_0x27f372[_0x3ec70d(0x235)],_0x1bb975=_0x2f1dcc[_0x3ec70d(0x235)];}_0xda16d0=_0x35019f[_0x3ec70d(0x11c)](_0x44a698['mutations'][0x0]),_0x1bb975=_0x35019f[_0x3ec70d(0x11c)](_0x44a698['mutations'][0x0]);for(let _0x2e84fb=_0xa4cbd9[_0x3ec70d(0x15e)]-0x1;_0x2e84fb>=0x0;_0x2e84fb--){const _0x1fd93f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xa4cbd9[_0x2e84fb][_0x3ec70d(0x23d)],..._0xa4cbd9[_0x2e84fb][_0x3ec70d(0x21d)]}},_0x1f76f2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xa4cbd9[_0x2e84fb][_0x3ec70d(0x23d)],..._0xa4cbd9[_0x2e84fb][_0x3ec70d(0x124)]}},_0x16c0eb=this[_0x3ec70d(0xb8)]['transformMutation'](_0xda16d0,_0x1fd93f,!0x1),_0xbb70af=this[_0x3ec70d(0xb8)][_0x3ec70d(0x288)](_0x1bb975,_0x1f76f2,!0x1);if(_0x2af618(_0x16c0eb))throw _0x16c0eb[_0x3ec70d(0x23b)];if(_0x2af618(_0xbb70af))throw _0xbb70af[_0x3ec70d(0x23b)];_0x2d0b15[_0x3ec70d(0x13e)]({..._0xa4cbd9[_0x2e84fb],'undoState':_0x16c0eb[_0x3ec70d(0x1cf)][_0x3ec70d(0x113)],'redoState':_0xbb70af['m2Prime'][_0x3ec70d(0x113)]}),_0xda16d0=_0x16c0eb[_0x3ec70d(0x235)],_0x1bb975=_0xbb70af[_0x3ec70d(0x235)];}this[_0x3ec70d(0x245)][_0x3ec70d(0x218)](_0x5b4999,{'history':_0x311646,'collaboration':_0x2d0b15});}};oe=hn([be(0x0,_0x4cfb35(_0x4e3c79)),be(0x1,_0x207b47),be(0x2,_0x4cfb35(_0x536483))],oe);var _n=Object[_0x379cf2(0x23f)],un=(_0x2cbc6b,_0xe4bcee,_0x2e5f0e,_0x2eb47e)=>{const _0x177a3a=_0x379cf2;for(var _0x82ad5f=_0x2eb47e>0x1?void 0x0:_0x2eb47e?_n(_0xe4bcee,_0x2e5f0e):_0xe4bcee,_0x5b6296=_0x2cbc6b[_0x177a3a(0x15e)]-0x1,_0x4559d2;_0x5b6296>=0x0;_0x5b6296--)(_0x4559d2=_0x2cbc6b[_0x5b6296])&&(_0x82ad5f=_0x4559d2(_0x82ad5f)||_0x82ad5f);return _0x82ad5f;},it=(_0x9d53e6,_0x5dc7d9)=>(_0xe0506,_0x40a6ea)=>_0x5dc7d9(_0xe0506,_0x40a6ea,_0x9d53e6);let ae=class{constructor(_0x28d526,_0x38c9b4){const _0x4a9893=_0x379cf2;this[_0x4a9893(0x99)]=_0x28d526,this[_0x4a9893(0xb8)]=_0x38c9b4;}[_0x379cf2(0x115)](_0x25dfe9){const _0x315e22=_0x379cf2;var _0x203900;const _0x16b75a=this[_0x315e22(0x99)][_0x315e22(0x106)](_0x1782e4),_0x2903ba=(_0x203900=_0x16b75a['getDocRanges']())!=null?_0x203900:[];if(_0x2903ba['length']===0x0)return;const _0x35eed6=_0x25dfe9[_0x315e22(0x1e1)],_0x24ce1f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x35eed6,'actions':null,'textRanges':_0x2903ba}}],_0x46db74=this[_0x315e22(0xb8)][_0x315e22(0x201)](_0x25dfe9,_0x24ce1f);if(!_0x40c95a(_0x46db74))throw _0x46db74[_0x315e22(0x23b)];const _0x125a02=_0x46db74[_0x315e22(0x1cf)][0x0][_0x315e22(0x113)][_0x315e22(0x176)];Array[_0x315e22(0x281)](_0x125a02)&&_0x125a02['length']&&_0x16b75a[_0x315e22(0x19f)](_0x125a02,{'unitId':_0x35eed6,'subUnitId':_0x35eed6},!0x1);}};ae=un([it(0x0,_0x4cfb35(_0x4e3c79)),it(0x1,_0x207b47)],ae);function _0xad73(_0x12d95e,_0x229279){const _0x4663e5=_0x4663();return _0xad73=function(_0xad737c,_0x5cf8c9){_0xad737c=_0xad737c-0x99;let _0x127c67=_0x4663e5[_0xad737c];return _0x127c67;},_0xad73(_0x12d95e,_0x229279);}var dn=Object[_0x379cf2(0x23f)],fn=(_0x25a345,_0x3b7fab,_0x4fbd9d,_0x1c3c6a)=>{for(var _0x14dd72=_0x1c3c6a>0x1?void 0x0:_0x1c3c6a?dn(_0x3b7fab,_0x4fbd9d):_0x3b7fab,_0x2fd2ba=_0x25a345['length']-0x1,_0x4b3839;_0x2fd2ba>=0x0;_0x2fd2ba--)(_0x4b3839=_0x25a345[_0x2fd2ba])&&(_0x14dd72=_0x4b3839(_0x14dd72)||_0x14dd72);return _0x14dd72;},M=(_0x24c080,_0x5de926)=>(_0x247aa8,_0x16a3bb)=>_0x5de926(_0x247aa8,_0x16a3bb,_0x24c080);let ce=class extends _0x395c47{constructor(_0x59fef0,_0x459f45,_0xbc4719,_0x20fca9,_0x592ac9,_0x4e3540,_0x9d4678,_0x288567){const _0xb551d5=_0x379cf2;super(),h(this,'_status$',new _0xd7100c(_0x4d27e0['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x59fef0,this['_collaborationController']=_0x459f45,this[_0xb551d5(0x20f)]=_0xbc4719,this['_docTransformStateCacheService']=_0x20fca9,this['_docTransformSelectionsService']=_0x592ac9,this[_0xb551d5(0x1f3)]=_0x4e3540,this[_0xb551d5(0x1f4)]=_0x9d4678,this[_0xb551d5(0x149)]=_0x288567,this['_initEntityListener']());}['_initEntityListener'](){const _0x184635=_0x379cf2;this[_0x184635(0x1ac)](this[_0x184635(0x111)]['entityInit$'][_0x184635(0x10f)](_0x549052=>{const _0x592b04=_0x184635,_0x148704=this[_0x592b04(0x245)][_0x592b04(0x10a)][_0x592b04(0x10f)](_0xcbf947=>{const _0x3f46b2=_0x592b04;if(_0xcbf947==null)return;const {unitId:_0x3a60a2,redoState:_0x5a61c8,commandId:_0x55f6cc}=_0xcbf947;if(_0x3a60a2!==_0x549052['unitID'])return;const _0x3a47b1={'id':_0x55f6cc,'type':_0x4c8ae4['MUTATION'],'params':{'unitId':_0x3a60a2,'actions':_0x5a61c8[_0x3f46b2(0x1f5)],'textRanges':null}};_0x549052[_0x3f46b2(0x222)](_0x3a47b1);});if(_0x549052['disposeWithMe'](_0x148704),_0x549052 instanceof _0xbdcbb2){const _0x466068={'onTransformIME':_0x2eafa8=>this['_docTransformIMECacheService'][_0x592b04(0x194)](_0x2eafa8),'onTransformState':_0xec8e64=>this['_docTransformStateCacheService'][_0x592b04(0x23a)](_0xec8e64),'onTransformSelections':_0x313791=>this[_0x592b04(0xf0)][_0x592b04(0x115)](_0x313791),'onSyncEditingCollabCursor':_0x372ebd=>this['_docSyncEditingCollabCursorService'][_0x592b04(0xfb)](_0x372ebd),'onTransformRemoteChangesetByIMECache':_0x80e722=>this['_docTransformIMECacheService'][_0x592b04(0x254)](_0x80e722),'onTransformRemoteChangesetByStateCache':_0x2dc488=>this['_docTransformStateCacheService'][_0x592b04(0x254)](_0x2dc488)};_0x549052[_0x592b04(0x22f)](_0x466068);}}));}};ce=fn([M(0x0,_0x4cfb35(_0x536483)),M(0x1,_0x4cfb35(_0x501824)),M(0x2,_0x4cfb35(re)),M(0x3,_0x4cfb35(oe)),M(0x4,_0x4cfb35(ae)),M(0x5,_0x4cfb35(je)),M(0x6,_0x9fafa5),M(0x7,_0x4cfb35(_0x49529a))],ce);var Sn=Object[_0x379cf2(0x23f)],mn=(_0xa7b19a,_0x42127,_0x568110,_0x5e0e59)=>{const _0x101acd=_0x379cf2;for(var _0x54146b=_0x5e0e59>0x1?void 0x0:_0x5e0e59?Sn(_0x42127,_0x568110):_0x42127,_0x460782=_0xa7b19a[_0x101acd(0x15e)]-0x1,_0xaf1045;_0x460782>=0x0;_0x460782--)(_0xaf1045=_0xa7b19a[_0x460782])&&(_0x54146b=_0xaf1045(_0x54146b)||_0x54146b);return _0x54146b;},Ee=(_0x58b39c,_0x4c3ee7)=>(_0x18ce32,_0x3e6d28)=>_0x4c3ee7(_0x18ce32,_0x3e6d28,_0x58b39c);let Ae=class extends _0x395c47{constructor(_0x4170f1,_0x4e4403,_0x1a7ab5){const _0x17f599=_0x379cf2;super(),h(this,'_cachedData',new Map()),h(this,'_saveTaskMap',new Map()),h(this,'_disabled',!0x1),(this[_0x17f599(0x1e5)]=_0x4170f1,this['_localStorageService']=_0x4e4403,this['_revisionService']=_0x1a7ab5);}[_0x379cf2(0x1c8)](){const _0x17a8ef=_0x379cf2;this[_0x17a8ef(0x193)]=!0x0;}[_0x379cf2(0xb9)](){this['_disabled']=!0x1;}get[_0x379cf2(0x1ae)](){const _0x3348f5=_0x379cf2;return this[_0x3348f5(0x1e8)];}[_0x379cf2(0x15c)](){const _0x4cc2ec=_0x379cf2;this[_0x4cc2ec(0x20a)]()[_0x4cc2ec(0x272)](()=>super['dispose']());}async[_0x379cf2(0xb0)](_0x38433c){const _0x474f18=_0x379cf2;return this[_0x474f18(0x193)]?null:this[_0x474f18(0xc1)]['getItem'](_0x523664(_0x38433c));}async[_0x379cf2(0x21c)](_0x360f55,_0xa7e0e8){const _0x53c7c2=_0x379cf2;return!!this[_0x53c7c2(0xc1)][_0x53c7c2(0x28c)](_0x360f55,_0xa7e0e8);}['updateOfflineData'](_0x57f915,_0x5ced79,_0x21e0c7,_0xe58e0d){const _0x238694=_0x379cf2,_0x40765f=this['_revisionService']['getCurrentRevOfUnit'](_0x57f915);this[_0x238694(0xd5)][_0x238694(0x14c)](_0x57f915,{'unitID':_0x57f915,'type':_0x5ced79,'awaitingChangeset':_0x21e0c7,'mutations':_0xe58e0d,'rev':_0x40765f}),this[_0x238694(0x1e8)]['has'](_0x57f915)||this['_scheduleSaving'](_0x57f915);}['_scheduleSaving'](_0x50aee9){const _0xdd82fa=_0x379cf2,_0x500db0=this[_0xdd82fa(0x287)]();_0x500db0===0x0?this[_0xdd82fa(0x277)](_0x50aee9):this['_saveTaskMap'][_0xdd82fa(0x14c)](_0x50aee9,setTimeout(()=>this[_0xdd82fa(0x277)](_0x50aee9),_0x500db0));}[_0x379cf2(0x287)](){const _0x3ee81d=_0x379cf2;var _0x431135;return(_0x431135=this[_0x3ee81d(0x1e5)]['getConfig'](_0x1918ce))!=null?_0x431135:_0x6a1502;}[_0x379cf2(0x277)](_0x40738d){const _0x376f43=_0x379cf2,_0xe51584=this[_0x376f43(0x1e8)]['get'](_0x40738d);return _0xe51584!==void 0x0&&window[_0x376f43(0x13c)](_0xe51584),this[_0x376f43(0xc1)][_0x376f43(0x28c)](_0x523664(_0x40738d),this[_0x376f43(0xd5)][_0x376f43(0x106)](_0x40738d))[_0x376f43(0x272)](()=>this[_0x376f43(0x1e8)][_0x376f43(0x17e)](_0x40738d));}async[_0x379cf2(0x20a)](){const _0x4e6303=_0x379cf2,_0x5a899d=[];this[_0x4e6303(0x1e8)][_0x4e6303(0x16b)]((_0x3355fc,_0x3d2afa)=>{const _0x5e9dae=_0x4e6303;window['clearTimeout'](_0x3355fc),_0x5a899d[_0x5e9dae(0x14f)](this[_0x5e9dae(0x277)](_0x3d2afa)[_0x5e9dae(0x272)](()=>{const _0x13a090=_0x5e9dae;this[_0x13a090(0x1e8)][_0x13a090(0x17e)](_0x3d2afa);}));}),await Promise[_0x4e6303(0x1ab)](_0x5a899d);}};Ae=mn([Ee(0x0,_0x3c1517),Ee(0x1,_0x180ec8),Ee(0x2,_0x4cfb35(_0x5a521e))],Ae);class gn extends _0x44a5f4{constructor(){const _0x5a798c=_0x379cf2;super(),h(this,_0x5a798c(0xca)),this[_0x5a798c(0xca)]=_0x2c0245(window,_0x5a798c(0xd1))['pipe'](_0x15f16c(this[_0x5a798c(0x265)]),_0x59944a(0x1),_0x33dbc0(void 0x0));}[_0x379cf2(0x26f)](_0x207d13,_0x52c3fb,_0x3902de=!0x1){const _0x4838a2=_0x379cf2,_0x20d149=new URL(window[_0x4838a2(0x231)][_0x4838a2(0x1d0)]);_0x20d149['searchParams'][_0x4838a2(0x14c)](_0x207d13,_0x52c3fb),_0x3902de?window[_0x4838a2(0x206)][_0x4838a2(0x183)]('','',_0x20d149[_0x4838a2(0x191)]()):window[_0x4838a2(0x206)]['pushState']('','',_0x20d149['toString']());}[_0x379cf2(0x118)](_0x766958,_0xe2b834=!0x1){const _0x10aea1=_0x379cf2,_0xa2af2f=new URL(window[_0x10aea1(0x231)][_0x10aea1(0x1d0)]);_0xa2af2f[_0x10aea1(0x28e)]['delete'](_0x766958),_0xe2b834?window['history']['replaceState']('','',_0xa2af2f[_0x10aea1(0x191)]()):window[_0x10aea1(0x206)][_0x10aea1(0x185)]('','',_0xa2af2f[_0x10aea1(0x191)]());}[_0x379cf2(0x154)](_0x3e1bce){const _0x29cabc=_0x379cf2;var _0x5ec059;return(_0x5ec059=new URL(window[_0x29cabc(0x231)][_0x29cabc(0x1d0)])['searchParams'][_0x29cabc(0x106)](_0x3e1bce))!=null?_0x5ec059:void 0x0;}}var vn=Object[_0x379cf2(0x1e3)],In=Object[_0x379cf2(0x23f)],pn=(_0x2f8519,_0x47bdff,_0x238331)=>_0x47bdff in _0x2f8519?vn(_0x2f8519,_0x47bdff,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x238331}):_0x2f8519[_0x47bdff]=_0x238331,Cn=(_0x17268c,_0xfb004c,_0xbe54fa,_0x2412a3)=>{const _0x59284a=_0x379cf2;for(var _0x236aa9=_0x2412a3>0x1?void 0x0:_0x2412a3?In(_0xfb004c,_0xbe54fa):_0xfb004c,_0x2633c3=_0x17268c[_0x59284a(0x15e)]-0x1,_0x4d98da;_0x2633c3>=0x0;_0x2633c3--)(_0x4d98da=_0x17268c[_0x2633c3])&&(_0x236aa9=_0x4d98da(_0x236aa9)||_0x236aa9);return _0x236aa9;},Oe=(_0x18d77c,_0x1cc4d4)=>(_0x46b477,_0x2e2a89)=>_0x1cc4d4(_0x46b477,_0x2e2a89,_0x18d77c),bn=(_0x56b5e4,_0xed2ba9,_0x5ae159)=>pn(_0x56b5e4,_0xed2ba9+'',_0x5ae159);const En=_0x379cf2(0x22b);let ye=class extends _0x403ad6{constructor(_0x547f7e=st,_0x4b3798,_0x575ae6,_0x12b1d2){const _0x4b6e00=_0x379cf2;super(),this[_0x4b6e00(0x1c4)]=_0x547f7e,this[_0x4b6e00(0x1db)]=_0x4b3798,this['_injector']=_0x575ae6,this[_0x4b6e00(0x1e5)]=_0x12b1d2;const {..._0x3a43a1}=_0x1a8ad2({},st,this[_0x4b6e00(0x1c4)]);this[_0x4b6e00(0x1e5)][_0x4b6e00(0x167)](nn,_0x3a43a1);}[_0x379cf2(0x157)](){const _0x38c652=_0x379cf2;this['_registerDependencies'](),this[_0x38c652(0x295)]();}[_0x379cf2(0x285)](){const _0x5f104b=_0x379cf2;this[_0x5f104b(0xc6)]();}['_registerDependencies'](){const _0x361946=_0x379cf2;var _0x5d6741;const _0x16f0be=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x20c65b,{'useClass':_0x426136}],[_0x2d7ad5,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x2a61d3(this['_injector'],_0x29a79c(_0x16f0be,(_0x5d6741=this[_0x361946(0x1c4)])==null?void 0x0:_0x5d6741['override']));}['_registerRenderDependencies'](){const _0x58fb3c=_0x379cf2;this[_0x58fb3c(0x1ac)](this[_0x58fb3c(0x1db)][_0x58fb3c(0x188)](_0x327af0[_0x58fb3c(0x268)],[Ue])),this[_0x58fb3c(0x1ac)](this[_0x58fb3c(0x1db)][_0x58fb3c(0x188)](_0x327af0[_0x58fb3c(0x1fa)],[Le]));}[_0x379cf2(0x295)](){const _0x35a556=_0x379cf2;_0x794ae6(this[_0x35a556(0x99)],[[H],[se],[ce],[ie],[ne]]);}};bn(ye,_0x379cf2(0x279),En),ye=Cn([_0x41c801(_0xb81a48),Oe(0x1,_0x3500a0),Oe(0x2,_0x4cfb35(_0x4e3c79)),Oe(0x3,_0x3c1517)],ye);function _0x4663(){const _0x544307=['href','measureText','runId','memberID','_color','YUUMI_SUBSCRIPTION_NOT_FOUND','15dOfbrY','save','_send','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','origin','_renderManagerService','event$','top','parse','bottom','_assignedColors','unitID','imageSourceType','defineProperty','source','_configService','propertyIsEnumerable','_updateLocalCursor','_saveTaskMap','univer-online-status-icon','getCollabEntity$','red300','_labelPosition','collabStatus.synced','isActive','hasOwnProperty','hovered','height','triggerDblclick','_docSyncEditingCollabCursorService','_messageService','actions','type','_anchor','OTHER_CLIENTS_EDITING','split','UNIVER_SHEET','UniverIcon','_scheduleClearOtherTimer','icon','none','toRgbString','executionId','transformMutationsWithChangeset','_collabCursorController','sessionStatus$','APPLY_REVISION_CONFILICT','1034296vJfEyM','history','next','_session','SUBMIT_CHANGESET_TIMEOUT','exhaustSavingTask','_collabCursorState$','_drawRectRange','transform','univer-online','_docTransformIMECacheService','getCurrent','NOT_COLLAB','currentColor','restore','purple300','APPLY_NON_SEQUENTIAL_REVISION','contains','_removeCollabCursors','setStateCache','row','on-line-single_clip0_910_349','onTransformChange$','saveOfflineData','undoState','newValue','startColumn','_handleEvent','subscribeEvent','onLocalMutation','has','name','_onCursorUpdate','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','UNDEFINED','getValue','svg','init','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_startSheetCollabCursor','_scheduleHeartbeat','subunit','addHandlerCallback','sheetId','location','INTERNAL_ERROR','SOCKET_FAILED_RETRY','APPLY_DUPLICATED','m1Prime','ranges','extend','whenReady','getAncestorScale','transformStateCache','error','_entityInit$','unitId','range','getOwnPropertyDescriptor','LICENSE_EXPORT_SIZE_EXCEEDED','executeCommand','disposeUnit','Unknown\x20user','InsertRangeMoveDownCommandId','_docStateChangeManagerService','search','show','_updateURLWithCurrentState','...','selection','22Urzflt','TOO_MANY_REQUESTS','body','eventID','getVpScrollXYInfoByPosToVp','storage','max','_toggleOnline','_hover','transformRemoteChangeset','use','fill','_drawAnchor','_unitStatus','_colorAssignService','RECT','collab-text-anchor-','selections','doc.mutation.rich-text-editing','getStateCache','prototype','addEventListener','_document','addObject','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','OnLineSingle','dispose$','_docClipboardService','OFFLINE','UNIVER_DOC','cursorInfo','requireSession','generateRandomId','NOT_FOUND','_hideTimer','_getSheetObject','setParam','indexOf','runOnServer','then','result','_unitOnClients','getTypeOfUnitDisposed$','getCurrentSelections','_saveCache','_dataLoaderService','pluginName','_backgroundColor','column','UNAUTHENTICATED','1em','CHANGESET_REVISION_CONFILICT','asObservable','_urlService','isArray','createInstance','_docSkeleton','getMemberID','onRendered','[CollaborationDataLoaderController]','_getSaveTimeout','transformMutation','endRow','getSkeleton','children','setItem','registerRefRange','searchParams','_transformPreviousActiveRange','div','idSuffix','backgroundColor','_initStatusComponent','attrs','_initDependencies','32004FjXDOm','getRangePointData','_anchorDot','_injector','startsWith','_beforeCloseService','_online','_textBubble','xlink:href','gold400','collabStatus.offline','replace','[RemoteUniscriptService]:\x20no\x20focused\x20unit','7WrWhFd','_updateSubUnitFromURLParams','rgba(255,\x20255,\x20255,\x200.01)','collaboration.closeRoom','closePath','/run/','post','YUUMI_URL_COL_OUT_OF_RANGE','univerjs-icon\x20univerjs-icon-','_colorIndex','_shapes','setActiveRange','map','loadOfflineData','3337446dIFmdG','getMember','resize','defs','_updateCollabCursors','_memberService','string','_transformService','enableLocalCache','_initStatusListener','onlineStatusTitle','_instanceService','size','_notificationService','DeleteRangeMoveLeftCommandId','Failed','_localStorageService','on-line-single','USERS_LEAVE','ONLINE','_imageIoService','_registerRenderDependencies','_render','offline','registerBeforeClose','urlChange$','_status$','currentTheme$','getActiveRange','SNAPSHOT_HAS_BEEN_REMOVED','fillRule','RemoveRowCommandId','popstate','_uiPartsService','_name','path','_cachedData','stringify','getTypeOfUnitAdded$','setShapeProps','assignAColorForMemberID','roomMembers','UPDATE_CURSOR','url(#$1','subUnitId','_selfUnitIDs','OTHER_CLIENT_EDITING','_draw','entries','_refRangeService','className','onPointerEnter$','InsertRangeMoveRightCommandId','univer-online-status','YUUMI_RATE_OVER_LIMIT','beginPath','_entities','_httpService','focused$','UNRECOGNIZED','#fff','round','_context','_docTransformSelectionsService','saveImage','session.will-retry','_commandService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','SYNCED','APPLY_REJECT','colorChannel1','text','evenodd','getConfig','syncEditingCollabCursor','2670942YeCziM','clearInterval','_init','VIEW_MAIN','getCollabCursors$','labelPosition','_id','unsubscribe','_initCommandExecutedListener','_sheetSkeletonManagerService','get','_ensureSubject','onlineStatusIcon','_createSocketURL','docStateChange$','ACTIVE_UNIT_EVENT_CHANNEL','CONFLICT','_handleLeaveEvent','_univerInstanceService','subscribe','currentSkeleton$','_collaborationController','pipe','params','mutations','transformSelections','invokeId','OffLineSingle','removeParam','verdancy600','function','isEditing','deepClone','onMouseMove','_getAnchorBounding','onPointerLeave$','_lastPointer','complete','concat','_themeService','redoState','sheetID','startRow','AWAITING_WITH_PENDING','getSheetBySheetId','collab-rect-range-','collabCursorState$','getUndoRedoMutationParamsCache','_initEvent','drawWith','getUnitStatus$','getSheetId','CLOSE_ROOM','uni.network.url-service','4760RjfkqM','current','getUniverSheetInstance','_initResize','RemoveColCommandId','PENDING','getOwnPropertySymbols','makeDirty','_handleHover','_collabSessionService','clearTimeout','_removeClearOtherTimer','unshift','_setupBeforeClosingHandler','_range','9619512FSdIcF','_docSkeletonManagerService','tag','setAlpha','_cursorShapes','session.collaboration-timeout','0\x200\x2017\x2016','_setupSubUnitSync','_localeService','_localCacheService','arc','set','call','_transformHistoryAndStateStack','push','CONNECTOR_DATA_TOO_LARGE','Warning','4XFNyDX','trim','getParam','flatMap','SNAPSHOT_INVALID_SNAPSHOT','onStarting','debug','includes','defIds','MoveRangeCommandId','dispose','YUUMI_UNABLE_LOAD_URL','length','assign','_logService','univer-online-status-title','_getMergeRange','_scene','values','cursorInfo$','findNodePositionByCharIndex','setConfig','_syncEditingCollabCursorService','_handleJoinEvent','getOffsetConfig','forEach','off-line-single_clip0_910_343','collab-text-range-','editingUnit','random','width','univer-offline','permission.content','session.connection-failed','_getScale','addClipboardHook','textRanges','LICENSE_DISTRO_REJECTED','color','black','FromArray','ENSURE_SNAPSHOT_EXECUTION','_toggleOffline','loadUnit','delete','univer-flex\x20univer-items-center','JOIN_ROOM_FAILED','_heartbeatTimer','_cursorInfo$','replaceState','registerComponent','pushState','mask','getMergeData','registerRenderModule','collaboration.single-unit.warning','getCurrentUnitForType','translate(.97)','_onCursorDelete','INVALID_ARGUMENT','TEXT','1715400pAJLNr','wsSessionTicketUrl','toString','reconnect','_disabled','transformIMECache','add','_getSessionTicket','min','_drawTextRange','ALREADY_EXISTS','unload','Error','send','from','LICENSE_MAX_UNITS_EXCEEDED','replaceDocRanges','#FFF','COMPLETION_FINISHED','_eventUnsubscribe','LICENSE_IMPORT_SIZE_EXCEEDED','_cursors','3773028titZPi','with','fillText','getUnitId','jiqing500','collaboration-client-ui.config','all','disposeWithMe','_roomMembers$','saveTaskMap','getCellPositionByOffset','displayName','fillStyle','_hovered','0\x200\x2016\x2016','SOCKET_FAILED','collabStatus.fetchMiss','collabStatus.notCollab','getRenderById','activeSheet$','getActiveSheet','_startDocCollabCursor','_collaborationUIEventService','lineTo','_refreshCollabCursors','_handleHeartbeatEvent','NO_OTHER_CLIENTS_EDITING','_clearOtherTimers','onCommandExecuted','_onRefRangeChange','data','_config','APPLY_PERMISSION_DENIED','url(#on-line-single_clip0_910_349)','getViewport','disableLocalCache','hide','M0\x200H16V16H0z','PERMISSION_DENIED','_transformUndoRedoStack','setInterval','getFocusedUnit','m2Prime'];_0x4663=function(){return _0x544307;};return _0x4663();}var On=Object[_0x379cf2(0x23f)],Tn=(_0x4f3c38,_0x47a6b7,_0x16d416,_0x581c3c)=>{const _0x389447=_0x379cf2;for(var _0x565115=_0x581c3c>0x1?void 0x0:_0x581c3c?On(_0x47a6b7,_0x16d416):_0x47a6b7,_0x3cea62=_0x4f3c38[_0x389447(0x15e)]-0x1,_0x173960;_0x3cea62>=0x0;_0x3cea62--)(_0x173960=_0x4f3c38[_0x3cea62])&&(_0x565115=_0x173960(_0x565115)||_0x565115);return _0x565115;},z=(_0x314785,_0x5cae5)=>(_0x4812bf,_0x2e6cef)=>_0x5cae5(_0x4812bf,_0x2e6cef,_0x314785);let nt=class extends _0x51e325{constructor(_0x5a808d,_0xfba7d4,_0x234bd3,_0x4c671e,_0x31a8ec){super(_0x5a808d,_0xfba7d4,_0x234bd3,_0x4c671e,_0x31a8ec);}async['createSocket'](_0x54763b){const _0x459e32=_0x379cf2,_0x1ecc0b=await this[_0x459e32(0x196)](),_0xc29bdc=this['_createSocketURL'](_0x54763b,_0x1ecc0b);return this['_doCreateSocket'](_0xc29bdc);}[_0x379cf2(0x109)](_0x345375,_0x131b2c){const _0x22b94d=_0x379cf2,_0x2c6be5=typeof window>'u'?new URL(_0x345375):new URL(_0x345375,window[_0x22b94d(0x231)][_0x22b94d(0x1da)]);_0x2c6be5[_0x22b94d(0x28e)][_0x22b94d(0x14c)]('sessionTicket',_0x131b2c);const _0xefa14d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x22b94d(0x231)][_0x22b94d(0x246)]);return _0xefa14d[_0x22b94d(0x106)]('runId')&&_0x2c6be5[_0x22b94d(0x28e)]['set'](_0x22b94d(0x1d2),_0xefa14d[_0x22b94d(0x106)](_0x22b94d(0x1d2))),_0x2c6be5['toString']();}async[_0x379cf2(0x196)](){const _0x476d1a=_0x379cf2;var _0x2cda0a,_0x4467b8,_0x351384;const _0x4695c5=this['_configService'][_0x476d1a(0xfa)](_0x41cacd),_0xb00186=(_0x2cda0a=_0x4695c5==null?void 0x0:_0x4695c5[_0x476d1a(0x190)])!=null?_0x2cda0a:_0x3450b8;return(_0x351384=(_0x4467b8=(await this[_0x476d1a(0xea)][_0x476d1a(0x106)](_0xb00186,{'headers':{'Content-Type':'application/json'}}))[_0x476d1a(0x24d)])==null?void 0x0:_0x4467b8['ticket'])!=null?_0x351384:'';}};nt=Tn([z(0x0,_0x4cfb35(_0x4e3c79)),z(0x1,_0x4cfb35(_0x2705a6)),z(0x2,_0x3c1517),z(0x3,_0x429436),z(0x4,_0x5e0359)],nt);const rt=0x7530,ot=_0x379cf2(0x10b);class Gn extends _0x395c47{constructor(){const _0x101bc3=_0x379cf2;super(),h(this,_0x101bc3(0x102),_0x3f4748()),h(this,_0x101bc3(0xde),new Set()),h(this,_0x101bc3(0x274),new Map()),h(this,'_heartbeatTimer',null),h(this,_0x101bc3(0x1c0),new Map()),h(this,'_unitStatus',new Map()),this[_0x101bc3(0xfe)]();}[_0x379cf2(0x15c)](){const _0x5b4fd3=_0x379cf2;super[_0x5b4fd3(0x15c)](),this[_0x5b4fd3(0x1c0)][_0x5b4fd3(0x16b)]((_0x493c47,_0x283a50)=>this[_0x5b4fd3(0x13d)](_0x283a50)),this[_0x5b4fd3(0x181)]&&window['clearInterval'](this[_0x5b4fd3(0x181)]);}[_0x379cf2(0x12e)](_0x4cdb95){const _0x5c681f=_0x379cf2;return this[_0x5c681f(0x107)](_0x4cdb95)[_0x5c681f(0x112)](_0x41c622());}[_0x379cf2(0x16e)](_0x4ff76e){const _0x4b0150=_0x379cf2;this[_0x4b0150(0xde)][_0x4b0150(0xbd)]===0x0&&this[_0x4b0150(0x22d)](),this[_0x4b0150(0xde)][_0x4b0150(0x195)](_0x4ff76e),this[_0x4b0150(0x1d8)]({'type':0x0,'memberID':this[_0x4b0150(0x102)],'unitIDs':[_0x4ff76e],'isForwarded':!0x1});}[_0x379cf2(0x242)](_0x3927dd){const _0x105d79=_0x379cf2;this[_0x105d79(0xde)][_0x105d79(0x17e)](_0x3927dd),this[_0x105d79(0xde)][_0x105d79(0xbd)]===0x0&&this[_0x105d79(0x181)]&&window[_0x105d79(0xfd)](this[_0x105d79(0x181)]);}[_0x379cf2(0xfe)](){const _0x5cc63a=_0x379cf2;this[_0x5cc63a(0x1ac)](_0x4811df(_0x2c0245(window,_0x5cc63a(0x250))[_0x5cc63a(0x10f)](_0x4b9a66=>{const _0x40b71a=_0x5cc63a;if(_0x4b9a66['key']!==ot||!_0x4b9a66[_0x40b71a(0x21e)])return;const _0x3463eb=JSON[_0x40b71a(0x1de)](_0x4b9a66[_0x40b71a(0x21e)]);this[_0x40b71a(0x220)](_0x3463eb);}))),window[_0x5cc63a(0x260)](_0x5cc63a(0x19a),()=>this[_0x5cc63a(0x1d8)]({'type':0x1,'memberID':this[_0x5cc63a(0x102)],'unitIDs':Array['from'](this[_0x5cc63a(0xde)])}));}['_handleEvent'](_0x5dc9de){const _0x20f67d=_0x379cf2;switch(_0x5dc9de[_0x20f67d(0x1f6)]){case 0x0:this[_0x20f67d(0x169)](_0x5dc9de);break;case 0x1:this[_0x20f67d(0x10d)](_0x5dc9de);break;case 0x2:this[_0x20f67d(0x1be)](_0x5dc9de);break;}}[_0x379cf2(0x169)](_0x226706){const _0x341e68=_0x379cf2,{unitIDs:_0x485d0c,memberID:_0x524016,isForwarded:_0x4801e0}=_0x226706;_0x485d0c[_0x341e68(0x16b)](_0x28a537=>{const _0x211efe=_0x341e68;if(!_0x4801e0&&this[_0x211efe(0x274)][_0x211efe(0x223)](_0x28a537)&&this['_ensureSubject'](_0x28a537)[_0x211efe(0x207)](_0x197afb[_0x211efe(0x1f8)]),!this['_unitOnClients'][_0x211efe(0x223)](_0x28a537)||!this['_unitOnClients']['get'](_0x28a537)[_0x211efe(0x223)](_0x524016)){const _0x55b953=this[_0x211efe(0x274)]['get'](_0x28a537)||new Set();_0x55b953[_0x211efe(0x195)](_0x524016),this['_unitOnClients'][_0x211efe(0x14c)](_0x28a537,_0x55b953),this['_scheduleClearOtherTimer'](_0x524016);}}),_0x4801e0||this['_send']({'type':0x0,'memberID':this[_0x341e68(0x102)],'unitIDs':[...this[_0x341e68(0xde)]],'isForwarded':!0x0});}[_0x379cf2(0x1fc)](_0x57c8b7){const _0x1beed4=_0x379cf2;this['_removeClearOtherTimer'](_0x57c8b7);const _0x309737=window['setTimeout'](()=>{const _0x4b6830=_0xad73;this[_0x4b6830(0x274)][_0x4b6830(0x16b)](_0x5a9290=>{const _0x505803=_0x4b6830;_0x5a9290[_0x505803(0x17e)](_0x57c8b7);});},rt*0x2);this[_0x1beed4(0x1c0)]['set'](_0x57c8b7,_0x309737);}[_0x379cf2(0x13d)](_0xc20f38){const _0x4beb5d=_0x379cf2;if(this['_clearOtherTimers'][_0x4beb5d(0x223)](_0xc20f38)){const _0x30c103=this[_0x4beb5d(0x1c0)][_0x4beb5d(0x106)](_0xc20f38);_0x30c103&&window[_0x4beb5d(0x13c)](_0x30c103),this['_clearOtherTimers'][_0x4beb5d(0x14c)](_0xc20f38,null);}}[_0x379cf2(0x10d)](_0x57b32c){const _0x3fa908=_0x379cf2,{memberID:_0x81f4a5,unitIDs:_0x66e0af}=_0x57b32c;_0x66e0af[_0x3fa908(0x16b)](_0x48e597=>{const _0x333479=_0x3fa908;var _0x4db583;const _0x42f0c5=this[_0x333479(0x274)][_0x333479(0x106)](_0x48e597);_0x42f0c5&&(_0x42f0c5[_0x333479(0x17e)](_0x81f4a5),(_0x4db583=this[_0x333479(0x107)](_0x48e597))==null||_0x4db583['next'](_0x42f0c5[_0x333479(0xbd)]===0x0?_0x197afb[_0x333479(0x1bf)]:_0x197afb['OTHER_CLIENTS_EDITING']));}),this[_0x3fa908(0x13d)](_0x81f4a5);}[_0x379cf2(0x1be)](_0x566d1b){const _0x1206fa=_0x379cf2;this[_0x1206fa(0x1fc)](_0x566d1b[_0x1206fa(0x1d3)]);}['_send'](_0x3d6e49){localStorage['setItem'](ot,JSON['stringify'](_0x3d6e49));}[_0x379cf2(0x22d)](){const _0x24939e=_0x379cf2;this['_heartbeatTimer']=window[_0x24939e(0x1cd)](()=>{const _0x496382=_0x24939e;this['_send']({'type':0x2,'memberID':this[_0x496382(0x102)]});},rt);}[_0x379cf2(0x107)](_0x1f11db){const _0x3c6b8d=_0x379cf2;return this['_unitStatus'][_0x3c6b8d(0x223)](_0x1f11db)||this[_0x3c6b8d(0x258)][_0x3c6b8d(0x14c)](_0x1f11db,new _0xd7100c(_0x197afb[_0x3c6b8d(0x1bf)])),this[_0x3c6b8d(0x258)][_0x3c6b8d(0x106)](_0x1f11db);}}var Ut=(_0x148f00=>(_0x148f00[_0x148f00['UNDEFINED']=0x0]=_0x379cf2(0x227),_0x148f00[_0x148f00['OK']=0x1]='OK',_0x148f00[_0x148f00[_0x379cf2(0x232)]=0x2]=_0x379cf2(0x232),_0x148f00[_0x148f00[_0x379cf2(0x1cb)]=0x3]=_0x379cf2(0x1cb),_0x148f00[_0x148f00[_0x379cf2(0x26c)]=0x4]=_0x379cf2(0x26c),_0x148f00[_0x148f00['UNAUTHENTICATED']=0x5]=_0x379cf2(0x27c),_0x148f00[_0x148f00[_0x379cf2(0x199)]=0x6]=_0x379cf2(0x199),_0x148f00[_0x148f00[_0x379cf2(0x18d)]=0x7]=_0x379cf2(0x18d),_0x148f00[_0x148f00['TOO_MANY_REQUESTS']=0x8]=_0x379cf2(0x24c),_0x148f00[_0x148f00['COMPLETION_FINISHED']=0x9]=_0x379cf2(0x1a1),_0x148f00[_0x148f00[_0x379cf2(0x27e)]=0x1389]=_0x379cf2(0x27e),_0x148f00[_0x148f00[_0x379cf2(0x156)]=0x1771]=_0x379cf2(0x156),_0x148f00[_0x148f00['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x379cf2(0xce),_0x148f00[_0x148f00[_0x379cf2(0x17b)]=0x1773]=_0x379cf2(0x17b),_0x148f00[_0x148f00[_0x379cf2(0xf6)]=0x1b59]=_0x379cf2(0xf6),_0x148f00[_0x148f00[_0x379cf2(0x215)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x148f00[_0x148f00[_0x379cf2(0x204)]=0x1b5b]=_0x379cf2(0x204),_0x148f00[_0x148f00[_0x379cf2(0x1c5)]=0x1b5c]=_0x379cf2(0x1c5),_0x148f00[_0x148f00[_0x379cf2(0x234)]=0x1b5d]=_0x379cf2(0x234),_0x148f00[_0x148f00[_0x379cf2(0x150)]=0x1f41]=_0x379cf2(0x150),_0x148f00[_0x148f00[_0x379cf2(0x19e)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x148f00[_0x148f00['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x148f00[_0x148f00[_0x379cf2(0x1a3)]=0x232b]=_0x379cf2(0x1a3),_0x148f00[_0x148f00[_0x379cf2(0x240)]=0x232c]=_0x379cf2(0x240),_0x148f00[_0x148f00['LICENSE_DISTRO_REJECTED']=0x232d]=_0x379cf2(0x177),_0x148f00[_0x148f00[_0x379cf2(0x15d)]=0x2711]=_0x379cf2(0x15d),_0x148f00[_0x148f00[_0x379cf2(0xaa)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x148f00[_0x148f00[_0x379cf2(0xe7)]=0x2713]=_0x379cf2(0xe7),_0x148f00[_0x148f00['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x379cf2(0x1d5),_0x148f00[_0x148f00['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x148f00[_0x148f00[_0x379cf2(0xec)]=-0x1]=_0x379cf2(0xec),_0x148f00))(Ut||{}),Rn=Object[_0x379cf2(0x23f)],Dn=(_0xea3db8,_0x5d9ffc,_0x4761b5,_0x2483a7)=>{const _0x366fb8=_0x379cf2;for(var _0x4f1c71=_0x2483a7>0x1?void 0x0:_0x2483a7?Rn(_0x5d9ffc,_0x4761b5):_0x5d9ffc,_0x587aff=_0xea3db8[_0x366fb8(0x15e)]-0x1,_0x35a611;_0x587aff>=0x0;_0x587aff--)(_0x35a611=_0xea3db8[_0x587aff])&&(_0x4f1c71=_0x35a611(_0x4f1c71)||_0x4f1c71);return _0x4f1c71;},Te=(_0x5b08c8,_0x596b32)=>(_0x2b0250,_0x1b2246)=>_0x596b32(_0x2b0250,_0x1b2246,_0x5b08c8);let at=class extends _0x395c47{constructor(_0x151268,_0xa4588a,_0x55c3c3){const _0x5dd58c=_0x379cf2;super(),this['_instanceService']=_0x151268,this[_0x5dd58c(0xea)]=_0xa4588a,this[_0x5dd58c(0x1e5)]=_0x55c3c3;}async[_0x379cf2(0x271)](_0x55adb5,_0x320a4f,_0x58377c,..._0x1d0748){const _0x47a6aa=_0x379cf2;var _0x59225f,_0xc8c2af,_0x20e1b2,_0x1ed805;const _0x251d08=this[_0x47a6aa(0xbc)][_0x47a6aa(0x1ce)]();if(!_0x251d08)throw new Error(_0x47a6aa(0xa2));const _0xa72474=((_0x59225f=this[_0x47a6aa(0x1e5)][_0x47a6aa(0xfa)](_0x4102d1))!=null?_0x59225f:_0x12c45b)+'/'+_0x55adb5+_0x47a6aa(0xa8)+_0x320a4f,_0x1ffc99=new URL(window[_0x47a6aa(0x231)][_0x47a6aa(0x1d0)]),_0x1422b0={'scriptId':_0x55adb5,'runId':(_0xc8c2af=_0x1ffc99[_0x47a6aa(0x28e)][_0x47a6aa(0x106)](_0x47a6aa(0x1d2)))!=null?_0xc8c2af:'','function':_0x320a4f,'unitId':_0x251d08[_0x47a6aa(0x1a8)](),'argsOfFunction':JSON[_0x47a6aa(0xd6)](_0x1d0748),'invokeId':(_0x20e1b2=_0x58377c[_0x47a6aa(0x116)])!=null?_0x20e1b2:'','executionId':(_0x1ed805=_0x58377c[_0x47a6aa(0x200)])!=null?_0x1ed805:''};try{const _0x35e56e=await this[_0x47a6aa(0xea)][_0x47a6aa(0xa9)](_0xa72474,{'body':_0x1422b0});return _0x35e56e[_0x47a6aa(0x24d)][_0x47a6aa(0x23b)]&&_0x35e56e[_0x47a6aa(0x24d)][_0x47a6aa(0x23b)]['code']!==Ut['OK']?'Failed':_0x35e56e[_0x47a6aa(0x24d)][_0x47a6aa(0x273)];}catch{return _0x47a6aa(0xc0);}}};at=Dn([Te(0x0,_0x3fdd3f),Te(0x1,_0x4cfb35(_0x2705a6)),Te(0x2,_0x3c1517)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5827e7=_0x108d;(function(_0x4f6a93,_0xf3ebd5){const _0x126642=_0x108d,_0x4425a1=_0x4f6a93();while(!![]){try{const _0x3ca26b=parseInt(_0x126642(0x191))/0x1*(-parseInt(_0x126642(0x197))/0x2)+parseInt(_0x126642(0x195))/0x3*(parseInt(_0x126642(0x192))/0x4)+-parseInt(_0x126642(0x19d))/0x5*(parseInt(_0x126642(0x193))/0x6)+-parseInt(_0x126642(0x189))/0x7*(-parseInt(_0x126642(0x190))/0x8)+parseInt(_0x126642(0x198))/0x9+-parseInt(_0x126642(0x185))/0xa*(-parseInt(_0x126642(0x199))/0xb)+-parseInt(_0x126642(0x188))/0xc*(parseInt(_0x126642(0x184))/0xd);if(_0x3ca26b===_0xf3ebd5)break;else _0x4425a1['push'](_0x4425a1['shift']());}catch(_0x53925a){_0x4425a1['push'](_0x4425a1['shift']());}}}(_0x14ca,0x2bafa));function _0x14ca(){const _0x5c9c0b=['1iCaPOh','224964fXPNll','93834IDhPzY','Syncing...','3VTHrGM','Syncing\x20server\x20data...','93198fpzdFp','2932848yTjiBN','499367sTOanD','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','Synced','20dzGZvR','13xruaEN','10GJxYKy','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','3487812ofORsS','14UUwDyu','Collaboration\x20Conflict','Click\x20to\x20Reconnect','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','Authentication\x20Error','Connection\x20failed,\x20please\x20check\x20your\x20network.','604936JzeqIJ'];_0x14ca=function(){return _0x5c9c0b;};return _0x14ca();}function _0x108d(_0x5f5475,_0x42f045){const _0x14cade=_0x14ca();return _0x108d=function(_0x108d75,_0x49fa4f){_0x108d75=_0x108d75-0x184;let _0x3fb5c3=_0x14cade[_0x108d75];return _0x3fb5c3;},_0x108d(_0x5f5475,_0x42f045);}const e={'collab-client':{'tooltip':{'reconnect':_0x5827e7(0x18b)}},'collabStatus':{'fetchMiss':_0x5827e7(0x196),'conflict':_0x5827e7(0x19b),'notCollab':_0x5827e7(0x18d),'synced':_0x5827e7(0x19c),'syncing':_0x5827e7(0x194),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x5827e7(0x18f),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x5827e7(0x18c)},'conflict':{'title':_0x5827e7(0x18a),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x5827e7(0x18e),'content':_0x5827e7(0x187)},'collaboration':{'single-unit':{'warning':_0x5827e7(0x19a)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x5827e7(0x186)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x358a10=_0x23ec;(function(_0x246fb5,_0x2a190f){const _0x53c36b=_0x23ec,_0x1a7b22=_0x246fb5();while(!![]){try{const _0x587df8=parseInt(_0x53c36b(0x78))/0x1*(-parseInt(_0x53c36b(0x6f))/0x2)+-parseInt(_0x53c36b(0x70))/0x3+-parseInt(_0x53c36b(0x77))/0x4*(parseInt(_0x53c36b(0x6a))/0x5)+-parseInt(_0x53c36b(0x7a))/0x6+-parseInt(_0x53c36b(0x7f))/0x7*(-parseInt(_0x53c36b(0x74))/0x8)+parseInt(_0x53c36b(0x68))/0x9*(parseInt(_0x53c36b(0x76))/0xa)+-parseInt(_0x53c36b(0x75))/0xb*(-parseInt(_0x53c36b(0x6d))/0xc);if(_0x587df8===_0x2a190f)break;else _0x1a7b22['push'](_0x1a7b22['shift']());}catch(_0x193c39){_0x1a7b22['push'](_0x1a7b22['shift']());}}}(_0x2709,0x1c8ee));function _0x23ec(_0x37ac7f,_0x4210a0){const _0x2709a7=_0x2709();return _0x23ec=function(_0x23ecca,_0xfb4662){_0x23ecca=_0x23ecca-0x67;let _0x175b85=_0x2709a7[_0x23ecca];return _0x175b85;},_0x23ec(_0x37ac7f,_0x4210a0);}function _0x2709(){const _0x76dbd0=['سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','تداخل\x20همکاری','900VHzmza','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','2ZTsfxE','356382QUfQuN','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','تداخل\x20ویرایش','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','905392LXdybX','71137ewCJLk','12730DIxALN','361988FmwZrw','226694XGOLrK','خطای\x20اعتبارسنجی','1394226oLTsKO','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','7cvTFYm','همگام\x20سازی','1323xrXMxx','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','5TClDaf'];_0x2709=function(){return _0x76dbd0;};return _0x2709();}const o={'collab-client':{'tooltip':{'reconnect':_0x358a10(0x7c)}},'collabStatus':{'fetchMiss':_0x358a10(0x7e),'conflict':_0x358a10(0x72),'notCollab':'پرونده\x20محلی','synced':_0x358a10(0x67),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x358a10(0x7b)},'session':{'connection-failed':_0x358a10(0x6e),'will-retry':_0x358a10(0x69),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x358a10(0x6b)},'conflict':{'title':_0x358a10(0x6c),'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':_0x358a10(0x79),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x358a10(0x73)},'closeRoom':_0x358a10(0x7d)},'auth':{'needGotoLoginAlert':_0x358a10(0x71)}};export{o as default};
|