@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504201606 → 0.6.10-nightly.202504221607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x8a45ae=_0x4d6b;(function(_0x3be569,_0x504546){const _0x5e2474=_0x4d6b,_0x5680e2=_0x3be569();while(!![]){try{const _0x3681b5=parseInt(_0x5e2474(0x221))/0x1+parseInt(_0x5e2474(0x188))/0x2*(parseInt(_0x5e2474(0x201))/0x3)+-parseInt(_0x5e2474(0xd3))/0x4*(-parseInt(_0x5e2474(0x20c))/0x5)+-parseInt(_0x5e2474(0x223))/0x6+-parseInt(_0x5e2474(0x174))/0x7*(-parseInt(_0x5e2474(0x146))/0x8)+parseInt(_0x5e2474(0x17a))/0x9*(parseInt(_0x5e2474(0x10a))/0xa)+-parseInt(_0x5e2474(0x1b4))/0xb;if(_0x3681b5===_0x504546)break;else _0x5680e2['push'](_0x5680e2['shift']());}catch(_0x559d80){_0x5680e2['push'](_0x5680e2['shift']());}}}(_0x1fbc,0xf35de));var Bt=Object['defineProperty'],kt=(_0x4aec21,_0x570c91,_0x578d1e)=>_0x570c91 in _0x4aec21?Bt(_0x4aec21,_0x570c91,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x578d1e}):_0x4aec21[_0x570c91]=_0x578d1e,_=(_0x1cc341,_0x216494,_0x458550)=>kt(_0x1cc341,typeof _0x216494!=_0x8a45ae(0x196)?_0x216494+'':_0x216494,_0x458550);import{MemberService as _0x9d3188,SessionStatus as _0x56bd0b,CollaborationSessionService as _0x104c61,CollaborationStatus as _0x460ca5,CollaborationController as _0x932fa4,ILocalCacheService as _0x135604,CollaborationUIEventService as _0x568b91,CollaborationUIEventId as _0x3e4eb5,DataLoaderService as _0x41f9b8,DocCollaborationEntity as _0x450601,getLocalCacheKey as _0x7e3bae,LOCAL_CACHE_INTERVAL as _0xc29c80,LOCAL_CACHE_INTERVAL_KEY as _0x4b9d1b,UniverCollaborationClientPlugin as _0xccc148,CollaborationSocketService as _0x525153,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x38daa0,DEFAULT_WS_SESSION_TICKET_URL as _0x37551d,UnitStatus as _0x1f3ed9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3f6d9a,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x58c253}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4ddb4d,Disposable as _0xa082c6,DOC_RANGE_TYPE as _0x4a069e,Inject as _0x2b29b5,Injector as _0x2e7518,IUniverInstanceService as _0x4f4b20,ICommandService as _0x5a6621,debounce as _0x2bf093,Rectangle as _0x4297d6,DisposableCollection as _0x3438ea,toDisposable as _0x2bea03,UniverInstanceType as _0x5e7335,Tools as _0x481080,COLORS as _0x4b49be,ColorKit as _0x482e95,ThemeService as _0x53e720,fromEventSubject as _0x2f1e16,LocaleService as _0x37d948,createIdentifier as _0x196305,ILogService as _0x51df1a,Optional as _0x45f2a6,Workbook as _0x4a032c,CommandType as _0x5232af,IConfigService as _0x1e088a,ILocalStorageService as _0x2cd436,DependentOn as _0x7b066b,Plugin as _0x4a13b9,merge as _0x3aa292,registerDependencies as _0x2a50b9,mergeOverrideWithDependencies as _0x2a2089,touchDependencies as _0x12a5a3,generateRandomId as _0x241725}from'@univerjs/core';import{Shape as _0x5e33e7,Rect as _0x1b3054,getColor as _0x1540b8,RegularPolygon as _0x22e4ca,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x925224,Vector2 as _0x1c2129,SHEET_VIEWPORT_KEY as _0x15116e,IRenderManagerService as _0x21e07d}from'@univerjs/engine-render';import{ISocketService as _0x7242ab,WebSocketService as _0x209a8c,HTTPService as _0x7c70a1}from'@univerjs/network';import{IDocClipboardService as _0x3a2049,NodePositionConvertToCursor as _0x227645,NodePositionConvertToRectRange as _0x1a65a4,TEXT_RANGE_LAYER_INDEX as _0x415268,SetDocZoomRatioOperation as _0x21410b,DocIMEInputManagerService as _0x1ea070,DocStateChangeManagerService as _0x283fa4}from'@univerjs/docs-ui';import{IImageIoService as _0x9fd4c5}from'@univerjs/drawing';import{BehaviorSubject as _0x20d1b4,debounceTime as _0x574bea,takeUntil as _0x250db3,Subject as _0x8d9445,filter as _0x454c7f,switchMap as _0x10c81f,merge as _0x292438,combineLatest as _0x5c90b1,of as _0x159153,fromEvent as _0x19cc2d,shareReplay as _0xdae981,mapTo as _0x5e7255,distinctUntilChanged as _0x314756}from'rxjs';import{SetTextSelectionsOperation as _0x524fb4,RichTextEditingMutation as _0x596ced,DocSelectionManagerService as _0x31e6a8,DocSkeletonManagerService as _0x2ff5f4}from'@univerjs/docs';import{ITransformService as _0x5fd2c6,CollaborationEvent as _0x4dee8a,isTransformMutationFailure as _0xffda3b,isTransformMutationsWithChangesetSuccess as _0xbc10d8,RevisionService as _0xbdef,ISnapshotServerService as _0x1fb2dd}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x14c48c,serializeRangeWithSheet as _0x19f414}from'@univerjs/engine-formula';import{RefRangeService as _0x34e6fd,SetSelectionsOperation as _0x10c8da,SheetsSelectionsService as _0x34a40e,EffectRefRangId as _0x406901,handleIRemoveRow as _0x423803,handleIRemoveCol as _0x4e9c55,handleMoveRange as _0x5e8159,handleInsertRow as _0x3f91d8,handleInsertRangeMoveRight as _0x4b02d7,handleInsertRangeMoveDown as _0x5a4a6f,handleInsertCol as _0x516cb6,handleDeleteRangeMoveUp as _0x5dc2fb,handleDeleteRangeMoveLeft as _0x4c3566,runRefRangeMutations as _0x34b845,SetWorksheetActivateCommand as _0x4366dd}from'@univerjs/sheets';import{map as _0x2df5e8,filter as _0x338f7d,throttleTime as _0x28d5e2,takeUntil as _0x18f518,switchMap as _0x32fc0f}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3d7376,getCoordByCell as _0x178719,getSheetObject as _0x3281c2}from'@univerjs/sheets-ui';import{jsx as _0x19dadc,jsxs as _0xc44abd}from'react/jsx-runtime';import{useObservable as _0x239d2c,useDependency as _0x4d4de0,IUIPartsService as _0x52e0e9,BuiltInUIPart as _0x8d4548,connectInjector as _0x44db3b,IBeforeCloseService as _0x2310aa,IMessageService as _0x1aa895,INotificationService as _0x4f7f0b}from'@univerjs/ui';import{clsx as _0x125861,Tooltip as _0x433c34,MessageType as _0x827df8}from'@univerjs/design';import{forwardRef as _0x42ccd7,useRef as _0xeece5b,createElement as _0x35d3d1,useCallback as _0x3df9d3}from'react';import{IRemoteInstanceService as _0x290c89}from'@univerjs/rpc';var li=Object[_0x8a45ae(0x122)],_i=(_0x1bdaad,_0x5022b2,_0x7e96a1,_0x1be1dc)=>{const _0x59f57c=_0x8a45ae;for(var _0x4bf062=_0x1be1dc>0x1?void 0x0:_0x1be1dc?li(_0x5022b2,_0x7e96a1):_0x5022b2,_0x353f59=_0x1bdaad[_0x59f57c(0x13d)]-0x1,_0x4ce889;_0x353f59>=0x0;_0x353f59--)(_0x4ce889=_0x1bdaad[_0x353f59])&&(_0x4bf062=_0x4ce889(_0x4bf062)||_0x4bf062);return _0x4bf062;},Qe=(_0x3902b5,_0x324a21)=>(_0x396a9c,_0x2f27d9)=>_0x324a21(_0x396a9c,_0x2f27d9,_0x3902b5);let Ue=class extends _0x4ddb4d{constructor(_0x386a44,_0x50cbd5){const _0x1ba063=_0x8a45ae;super(),this['_docClipboardService']=_0x386a44,this[_0x1ba063(0x286)]=_0x50cbd5,this[_0x1ba063(0x1a3)]();}[_0x8a45ae(0x1a3)](){const _0x104235=_0x8a45ae,_0x32f387=this;this['disposeWithMe'](this[_0x104235(0xf8)][_0x104235(0x222)]({'onBeforePasteImage':async _0x657c50=>{const _0x54a0fb=_0x104235,_0x26dfba=await _0x32f387[_0x54a0fb(0x286)]['saveImage'](_0x657c50);return _0x26dfba?{'source':_0x26dfba['source'],'imageSourceType':_0x26dfba['imageSourceType']}:null;}}));}};Ue=_i([Qe(0x0,_0x3a2049),Qe(0x1,_0x9fd4c5)],Ue);const qe=[_0x8a45ae(0x159),_0x8a45ae(0xa3),'verdancy600','red300','blue400',_0x8a45ae(0x210)];function _0x1fbc(){const _0x23c78f=['_document','url(#$1','OnLineSingle','_initEntityListener','_textBubble','session.connection-failed','_refreshCollabCursors','xlink:href','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','size','m2Prime','name','_scheduleHeartbeat','univer-offline','loadUnit','CLOSE_ROOM','roomMembers$','USER_NOT_INVITED_CODE','random','collabStatus.fetchMiss','clipPath','transformStateCache','dispose','_transformHistoryAndStateStack','whenReady','_logService','location','LICENSE_IMPORT_SIZE_EXCEEDED','INTERNAL_ERROR','m1Prime','SOCKET_FAILED','getUndoRedoMutationParamsCache','unload','FromArray','_saveTaskMap','_eventUnsubscribe','collabStatus.synced','doc.mutation.rich-text-editing','Error','startsWith','contains','CHANGESET_REVISION_CONFILICT','transformRemoteChangeset','USERS_LEAVE','_unitStatus','_initEvent','column','sheetID','3yELuMD','range','_themeService','type','runId','eventID','pipe','_render','_updateCollabCursors','_selfUnitIDs','tag','65OcoWXj','univer-flex\x20univer-items-center','defIds','collaboration.single-unit.warning','gold400','_handleHeartbeatEvent','registerRenderModule','init','executionId','INVITE_CODE_REQUIRED','_handleEvent','APPLY_NON_SEQUENTIAL_REVISION','1em','DeleteRangeMoveLeftCommandId','row','off-line-single_clip0_910_343','search','_draw','getRenderById','override','onlineStatusIcon','82053YvQBRP','addClipboardHook','1661946OXGabA','makeDirty','skeleton','width','transformByState','_createSocketURL','searchParams','currentTheme$','labelPosition','_initDependencies','_localeService','onLocalMutation','_setupBeforeClosingHandler','permission.title','_saveCache','_colorAssignService','getRangePointData','_getScale','prototype','setInterval','PERMISSION_DENIED','collabStatus.conflict','attrs','redoState','UNIVER_SHEET','UNRECOGNIZED','getUnitId','_sheetSkeletonManagerService','storage','memberID','parse','isActive','[RemoteUniscriptService]:\x20no\x20focused\x20unit','roomMembers','color','_startSheetCollabCursor','_uiPartsService','hide','MOBILE_HAS_BEEN_BOUND','defineProperty','_assignedColors','send','then','getCurrentSelections','getStateCache','has','_cursorShapes','updateOfflineData','_removeCollabCursors','univerjs-icon\x20univerjs-icon-','_hover','_lastPointer','resize','split','_getSessionTicket','PY_RUNTIME_SCRIPT_ERROR','M0\x200H16V16H0z','unit','history','collaboration-client-ui.config','setTimeout','_collaborationUIEventService','_refRangeService','_name','ONLINE','setParam','getMergeData','findNodePositionByCharIndex','_anchor','result','concat','_anchorDot','triggerDblclick','bottom','fillText','SYNCED','toString','transformMutation','_clearOtherTimers','saveTaskMap','get','NO_OTHER_CLIENTS_EDITING','defs','subscribe','on-line-single_clip0_910_349','_cursor','RemoveRowCommandId','Warning','_disabled','_scheduleSaving','_docSkeleton','getCollabCursors$','_getSaveTimeout','UniverIcon','disposeUnit','saveOfflineData','add','arc','function','_imageIoService','with','YUUMI_SUBSCRIPTION_NOT_FOUND','replace','addObjects','setStateCache','MUTATION','UPDATE_CURSOR','asObservable','unshift','save','toRgbString','COMPLETION_FINISHED','off-line-single','getCellPositionByOffset','reconnect','OFFLINE','univer-online','includes','_doCreateSocket','moveTo','trim','UNAUTHENTICATED','ranges','YUUMI_NO_CUBOID_FOR_QUESTION','complete','addEventListener','_renderManagerService','setAlpha','_collaborationController','show','_docTransformStateCacheService','_updateLocalCursor','jiqing500','_transformUndoRedoStack','_color','some','getMember','getSheetId','SUBMIT_CHANGESET_TIMEOUT','className','_setupSubUnitSync','_initStatusListener','isArray','string','_initStatusComponent','cursorInfo','APPLY_REJECT','UNIVER_DOC','_syncEditingCollabCursorService','translate(.97)','textRanges','getAncestorScale','_colorIndex','assign','_dataLoaderService','SOCKET_FAILED_RETRY','extend','pushState','forEach','enableLocalCache','startRow','_shapes','top','find','exhaustSavingTask','entries','_docTransformSelectionsService','LICENSE_MAX_UNITS_EXCEEDED','clearInterval','OTHER_CLIENTS_EDITING','YUUMI_ASYNCIO_CANCELLED','onlineStatus','_startDocCollabCursor','disposeWithMe','_httpService','apply','setActiveRange','collabStatus.syncing','_commandService','indexOf','315396gLZJhv','_backgroundColor','onCommandExecuted','APPLY_PERMISSION_DENIED','disableLocalCache','collaboration.closeRoom','getViewport','_unitOnClients','#FFF','transformIMECache','status$','#fff','transformSelections','push','displayName','_entityInit$','div','href','_onCursorDelete','data','registerComponent','_drawRectRange','collab-text-anchor-','pluginName','SNAPSHOT_HAS_BEEN_REMOVED','_docSkeletonManagerService','...','cursorInfo$','collabCursorState$','_collabCursorState$','0\x200\x2016\x2016','setItem','params','_messageService','body','collab-text-range-','_entities','_docClipboardService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getSkeleton','children','dispose$','_cursorInfo$','_range','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getCollabEntity$','onRendered','getParam','_status$','height','_config','_online','stringify','loadOfflineData','RECT','10pdKzEr','_initCommandExecutedListener','collab-rect-range-','_initResize','lineTo','setShapeProps','_injector','getOwnPropertySymbols','drawWith','INVALID_ARGUMENT','_heartbeatTimer','unitId','CONNECTOR_DATA_TOO_LARGE','RemoveColCommandId','_id','_docStateChangeManagerService','selections','_memberService','_getSheetObject','UNDEFINED','fillRule','mutations','0\x200\x2017\x2016','YUUMI_RATE_OVER_LIMIT','getOwnPropertyDescriptor','currentSkeleton$','NOT_FOUND','getConfig','unitID','fillStyle','rgba(255,\x20255,\x20255,\x200.01)','getTypeOfUnitAdded$','newValue','_configService','_handleHover','addHandlerCallback','getSheetBySheetId','DeleteRangeMoveUpCommandId','_context','_scene','LICENSE_EXPORT_SIZE_EXCEEDED','_revisionService','_updateURLWithCurrentState','replaceDocRanges','univer-online-status-title','OTHER_CLIENT_EDITING','JOIN_ROOM_FAILED','subUnitId','hovered','min','undoState','length','replaceState','application/json','engine','_scheduleClearOtherTimer','NOT_COLLAB','_collabCursorController','assignAColorForMemberID','selection','177112KcZyBA','ENSURE_SNAPSHOT_EXECUTION','transformMutationsWithChangeset','idSuffix','_updateSubUnitFromURLParams','_notificationService','_roomMembers$','sessionTicket','INVALID_INVITE_CODE','onPointerEnter$','subunit','measureText','setConfig','_transformService','getItem','registerRefRange','delete','getActiveSheet','from','purple300','backgroundColor','next','url(#off-line-single_clip0_910_343)','font','key','_docSyncEditingCollabCursorService','round','FETCH_MISS','none','_cursors','CONFLICT','createInstance','flatMap','getValue','text','Unknown\x20user','propertyIsEnumerable','_send','_onRefRangeChange','_removeClearOtherTimer','_getMergeRange','colorChannel1','_drawTextRange','event$','univer-online-status-icon','ticket','301VhFdIP','_collabSessionService','INVITE_CODE_ALREADY_BOUND','post','_localCacheService','getVpScrollXYInfoByPosToVp','7192863HQelaF','getUnitStatus$','getFocusedUnit','black','mask','wsSessionTicketUrl','_docTransformIMECacheService','LICENSE_DISTRO_REJECTED','fill','endRow','debug','_handleJoinEvent','WECHAT_HAS_BEEN_BOUND','offline','2924794JwSAOP','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','svg','permission.content','_cachedData','YUUMI_URL_COL_OUT_OF_RANGE','onMouseMove','evenodd','INVITE_CODE_HAS_BEEN_UES','online','activeSheet$','_handleLeaveEvent','_hovered','subscribeEvent','symbol','addObject','urlChange$','_session','_instanceService','deepClone','path','_univerInstanceService','set','getActiveRange','session.collaboration-timeout','generateRandomId','registerBeforeClose','_init','_onCursorUpdate','_registerDependencies','_toggleOffline','getDocRanges','restore','use','current','APPLY_DUPLICATED','TEXT','clearTimeout','ALREADY_EXISTS','_transformPreviousActiveRange','_localStorageService','_ensureSubject','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getOffsetConfig','33515350wDtuxw','unsubscribe','PENDING','setUndoRedoMutationParamsCache','onStarting','_labelPosition','getUnhiddenWorksheets','icon','code','error','url(#on-line-single_clip0_910_349)','docStateChange$','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','requireSession','syncEditingCollabCursor','getMemberID','/run/','values','OffLineSingle','_hideTimer','onlineStatusTitle','collaboration-client.offline-data-not-saved','LOGIN_FAILED','map','_urlService','_toggleOnline','endColumn','sheetId','onTransformChange$'];_0x1fbc=function(){return _0x23c78f;};return _0x1fbc();}class He extends _0xa082c6{constructor(){const _0x26d786=_0x8a45ae;super(...arguments),_(this,_0x26d786(0x24b),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x4d3ba8){const _0x1cfc6f=_0x8a45ae;if(this[_0x1cfc6f(0x24b)]['has'](_0x4d3ba8))return this[_0x1cfc6f(0x24b)]['get'](_0x4d3ba8);const _0x94544f=qe[this[_0x1cfc6f(0xb7)]];return this[_0x1cfc6f(0xb7)]=(this[_0x1cfc6f(0xb7)]+0x1)%qe[_0x1cfc6f(0x13d)],this[_0x1cfc6f(0x24b)]['set'](_0x4d3ba8,_0x94544f),_0x94544f;}}function Dt(_0x51b2e5){const _0x4ae380=_0x8a45ae;let _0xc5b03b='';for(const _0x17db7d of _0x51b2e5){const {startOffset:_0x28a3f8,endOffset:_0x3de6bd,isActive:_0x33ec1c,rangeType:_0x211674,segmentId:_0x90a1a9,segmentPage:_0x180771}=_0x17db7d;_0xc5b03b[_0x4ae380(0x13d)]&&(_0xc5b03b+=','),_0xc5b03b+=_0x28a3f8+':'+_0x3de6bd+':'+(_0x33ec1c?'1':'0')+':'+_0x211674+':'+_0x90a1a9+':'+_0x180771;}return _0xc5b03b;}function hi(_0x51eaac){const _0xc2195e=_0x8a45ae,_0x1f6cae=_0x51eaac['split'](','),_0x33d8ad=[];for(const _0x3a7c85 of _0x1f6cae){const [_0x56af15,_0x3080ba,_0x133ed1,_0xf0b270,_0x4a5006,_0x2caf4b]=_0x3a7c85[_0xc2195e(0x258)](':');_0x33d8ad[_0xc2195e(0xe0)]({'startOffset':Number(_0x56af15),'endOffset':Number(_0x3080ba),'collapsed':_0x56af15===_0x3080ba,'isActive':_0x133ed1==='1','rangeType':_0xf0b270===_0x4a069e[_0xc2195e(0x1ac)]?_0x4a069e[_0xc2195e(0x1ac)]:_0x4a069e['RECT'],'segmentId':typeof _0x4a5006==_0xc2195e(0xae)?String(_0x4a5006):'','segmentPage':Number(_0x2caf4b!=null?_0x2caf4b:-0x1)});}return _0x33d8ad[_0xc2195e(0xa6)](_0x100089=>_0x100089['isActive'])||(_0x33d8ad[0x0][_0xc2195e(0x242)]=!0x0),_0x33d8ad;}class je extends _0x4ddb4d{constructor(){const _0x123084=_0x8a45ae;super(...arguments),_(this,_0x123084(0xf0),new _0x20d1b4(null)),_(this,_0x123084(0xef),this[_0x123084(0xf0)][_0x123084(0x28e)]());}[_0x8a45ae(0x1c2)](_0x3258ee){const _0x2f8fa0=_0x8a45ae,{unitID:_0x26600d,memberID:_0x3bbfbd,textRanges:_0x1e1587}=_0x3258ee,_0x52a84d=Dt(_0x1e1587);if(_0x52a84d==='')return;const _0x41c3dc={'unitID':_0x26600d,'memberID':_0x3bbfbd,'selection':_0x52a84d};this[_0x2f8fa0(0xf0)]['next'](_0x41c3dc);}}var ui=Object[_0x8a45ae(0x122)],di=(_0x35b173,_0x32b6ae,_0x990e72,_0x5cc5e5)=>{const _0x28603a=_0x8a45ae;for(var _0x5c932b=_0x5cc5e5>0x1?void 0x0:_0x5cc5e5?ui(_0x32b6ae,_0x990e72):_0x32b6ae,_0x18ae89=_0x35b173[_0x28603a(0x13d)]-0x1,_0x170e29;_0x18ae89>=0x0;_0x18ae89--)(_0x170e29=_0x35b173[_0x18ae89])&&(_0x5c932b=_0x170e29(_0x5c932b)||_0x5c932b);return _0x5c932b;},w=(_0x14e1b4,_0x330d8c)=>(_0x137f61,_0x2cea1a)=>_0x330d8c(_0x137f61,_0x2cea1a,_0x14e1b4);const fi=0x12c,Si=0x64;let Me=class extends _0x4ddb4d{constructor(_0x2f5f38,_0x3dcf11,_0x18c699,_0x3d38ef,_0x3ab6f7,_0xffe0bb,_0x103d92,_0x4b18ec,_0x3eba80){const _0x8649e7=_0x8a45ae;super(),_(this,_0x8649e7(0x106),!0x1),_(this,_0x8649e7(0x1a3),!0x1),_(this,_0x8649e7(0xfd),new _0x20d1b4(new Map())),_(this,_0x8649e7(0xee),this[_0x8649e7(0xfd)][_0x8649e7(0x28e)]()),_(this,_0x8649e7(0x14c),new _0x20d1b4([])),_(this,_0x8649e7(0x1e1),this['_roomMembers$'][_0x8649e7(0x207)](_0x574bea(fi))),_(this,_0x8649e7(0xa2),_0x2bf093(_0x1cb80d=>{const _0x1869a5=_0x8649e7,_0x439887={'eventID':_0x4dee8a[_0x1869a5(0x28d)],'data':{'unitID':this[_0x1869a5(0x126)],'memberID':this[_0x1869a5(0x199)][_0x1869a5(0x1c3)](),'selection':Dt(_0x1cb80d)}};this[_0x1869a5(0x199)][_0x1869a5(0x24c)](_0x439887,this[_0x1869a5(0x126)]);},Si)),(this[_0x8649e7(0x126)]=_0x2f5f38,this[_0x8649e7(0x199)]=_0x3dcf11,this[_0x8649e7(0x110)]=_0x18c699,this[_0x8649e7(0x232)]=_0x3d38ef,this[_0x8649e7(0x11b)]=_0x3ab6f7,this[_0x8649e7(0xb3)]=_0xffe0bb,this[_0x8649e7(0x153)]=_0x103d92,this[_0x8649e7(0x19d)]=_0x4b18ec,this['_commandService']=_0x3eba80);}get[_0x8a45ae(0xb0)](){const _0x2a83f1=_0x8a45ae;return this[_0x2a83f1(0xfd)][_0x2a83f1(0x167)]();}get[_0x8a45ae(0x244)](){const _0x25bc8f=_0x8a45ae;return this[_0x25bc8f(0x14c)][_0x25bc8f(0x167)]();}[_0x8a45ae(0x1e7)](){const _0x2035e1=_0x8a45ae;super['dispose'](),this[_0x2035e1(0xfd)]['next'](new Map()),this[_0x2035e1(0xfd)][_0x2035e1(0x29f)](),this['_roomMembers$']['next']([]),this[_0x2035e1(0x14c)][_0x2035e1(0x29f)]();}['init'](){const _0x6bcfdf=_0x8a45ae;this[_0x6bcfdf(0x1a3)]||(this[_0x6bcfdf(0x1a3)]=!0x0,this[_0x6bcfdf(0x199)]['sessionStatus$'][_0x6bcfdf(0x207)](_0x250db3(this['dispose$']))['subscribe'](_0x520ba1=>{const _0x15203d=_0x6bcfdf;_0x520ba1===_0x56bd0b[_0x15203d(0x263)]?this[_0x15203d(0x1cd)]():this[_0x15203d(0x1a6)]();}),this['_session'][_0x6bcfdf(0x171)][_0x6bcfdf(0x207)](_0x250db3(this[_0x6bcfdf(0xfc)]))[_0x6bcfdf(0x276)](_0x15419b=>{const _0x51ca4c=_0x6bcfdf,_0x436603=_0x15419b[_0x51ca4c(0x206)];_0x436603===_0x4dee8a[_0x51ca4c(0x28d)]&&this['_onCursorUpdate'](_0x15419b),_0x436603===_0x4dee8a[_0x51ca4c(0x1fc)]&&this[_0x51ca4c(0xe5)](_0x15419b);}),this[_0x6bcfdf(0xcc)](this[_0x6bcfdf(0xd1)][_0x6bcfdf(0xd5)](_0x5f1af3=>{const _0x2bf312=_0x6bcfdf,_0x118ef4=_0x5f1af3[_0x2bf312(0xf3)];_0x118ef4!=null&&this[_0x2bf312(0x106)]&&_0x5f1af3['id']===_0x524fb4['id']&&_0x118ef4[_0x2bf312(0x115)]===this[_0x2bf312(0x126)]&&_0x118ef4['isEditing']===!0x1&&_0x118ef4[_0x2bf312(0x29d)]['length']>0x0&&this[_0x2bf312(0xa2)](_0x118ef4[_0x2bf312(0x29d)]);})),this['_syncEditingCollabCursorService'][_0x6bcfdf(0xef)]['pipe'](_0x250db3(this[_0x6bcfdf(0xfc)]))['subscribe'](_0x4946ae=>{const _0x192c6f=_0x6bcfdf;if((_0x4946ae==null?void 0x0:_0x4946ae[_0x192c6f(0x126)])!==this[_0x192c6f(0x126)])return;const _0x241ea9={'eventID':_0x4dee8a[_0x192c6f(0x28d)],'data':_0x4946ae};this['_onCursorUpdate'](_0x241ea9);}),this[_0x6bcfdf(0xcc)](this[_0x6bcfdf(0xd1)][_0x6bcfdf(0xd5)](_0x25b592=>{const _0x8a83e1=_0x6bcfdf;if(_0x25b592['params']==null)return;const _0xb1d020=_0x25b592[_0x8a83e1(0xf3)];if(_0x25b592['id']!==_0x596ced['id']||_0xb1d020[_0x8a83e1(0x115)]!==this['unitID'])return;const _0x9830b7={'id':'doc.mutation.rich-text-editing','params':_0xb1d020},_0x4b9087=this['cursorInfo'];for(const [_0x14572f,_0x2a44a4]of _0x4b9087){const _0x1affb9={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x8a83e1(0x126)],'actions':null,'textRanges':_0x2a44a4[_0x8a83e1(0x29d)]}},_0x720a48=this[_0x8a83e1(0x153)]['transformMutation'](_0x9830b7,_0x1affb9,!0x1);if(_0xffda3b(_0x720a48))throw _0x720a48[_0x8a83e1(0x1bd)];_0x4b9087[_0x8a83e1(0x19e)](_0x14572f,{..._0x2a44a4,'ranges':_0x720a48['m2Prime']['params'][_0x8a83e1(0xb5)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x4b9087);});})));}[_0x8a45ae(0x1a4)](_0x6530f5){const _0x536ceb=_0x8a45ae;var _0x158f9c,_0x5f0b99;const {memberID:_0x3ac5ff,selection:_0x103891}=_0x6530f5[_0x536ceb(0xe6)],_0x5740e6=hi(_0x103891),_0x5ec63f=(_0x5f0b99=(_0x158f9c=this[_0x536ceb(0x11b)][_0x536ceb(0xa7)](this[_0x536ceb(0x126)],_0x3ac5ff))==null?void 0x0:_0x158f9c['name'])!=null?_0x5f0b99:_0x536ceb(0x169),_0x23b194={'color':this['_colorAssignService'][_0x536ceb(0x144)](_0x3ac5ff),'name':_0x5ec63f,'ranges':_0x5740e6},_0xe982e4=this[_0x536ceb(0xb0)];_0xe982e4['set'](_0x3ac5ff,_0x23b194),this[_0x536ceb(0xfd)][_0x536ceb(0x15b)](_0xe982e4);}[_0x8a45ae(0xe5)](_0x4037a3){const _0x2a3eef=_0x8a45ae,{memberID:_0x27c2da}=_0x4037a3[_0x2a3eef(0xe6)],_0x21e99f=this['cursorInfo'];_0x21e99f[_0x2a3eef(0x156)](_0x27c2da),this[_0x2a3eef(0xfd)][_0x2a3eef(0x15b)](_0x21e99f);}[_0x8a45ae(0x1cd)](){const _0x3f31a5=_0x8a45ae;var _0x5de7bf;if(this[_0x3f31a5(0x106)]=!0x0,((_0x5de7bf=this[_0x3f31a5(0x19d)]['getFocusedUnit']())==null?void 0x0:_0x5de7bf['getUnitId']())!==this[_0x3f31a5(0x126)])return;const _0x39e617=this[_0x3f31a5(0x110)][_0x3f31a5(0x273)](_0x31e6a8)[_0x3f31a5(0x1a7)]();Array[_0x3f31a5(0xad)](_0x39e617)&&_0x39e617[_0x3f31a5(0x13d)]>0x0&&this[_0x3f31a5(0xa2)](_0x39e617);}[_0x8a45ae(0x1a6)](){const _0x17dafc=_0x8a45ae;this[_0x17dafc(0x106)]=!0x1;}};Me=di([w(0x2,_0x2b29b5(_0x2e7518)),w(0x3,_0x2b29b5(He)),w(0x4,_0x2b29b5(_0x9d3188)),w(0x5,_0x2b29b5(je)),w(0x6,_0x5fd2c6),w(0x7,_0x4f4b20),w(0x8,_0x5a6621)],Me);var mi=Object[_0x8a45ae(0x122)],gi=(_0x2625e3,_0x347793,_0x57c1f2,_0x1c05c9)=>{const _0x354f7b=_0x8a45ae;for(var _0xbee798=_0x1c05c9>0x1?void 0x0:_0x1c05c9?mi(_0x347793,_0x57c1f2):_0x347793,_0x2266ac=_0x2625e3[_0x354f7b(0x13d)]-0x1,_0x292de9;_0x2266ac>=0x0;_0x2266ac--)(_0x292de9=_0x2625e3[_0x2266ac])&&(_0xbee798=_0x292de9(_0xbee798)||_0xbee798);return _0xbee798;},x=(_0xd82b68,_0x3667eb)=>(_0x551aaf,_0xd313c1)=>_0x3667eb(_0x551aaf,_0xd313c1,_0xd82b68);const vi=0x12c,Ii=0x64,pi=()=>{let _0x288bba=[],_0x5120d8=!0x1;return _0x2df10c=>{const _0x220f3b=_0x4d6b;_0x288bba[_0x220f3b(0xe0)](_0x2df10c),_0x5120d8||(_0x5120d8=!0x0,setTimeout(()=>{const _0x221e79=_0x220f3b;_0x288bba[_0x221e79(0xbd)](_0x298a65=>_0x298a65()),_0x288bba=[],_0x5120d8=!0x1;}));};};let Pe=class extends _0x4ddb4d{constructor(_0x1ea0e8,_0x14f00e,_0x2ea4a3,_0x3e7ebf,_0xd746fc,_0x5d5381,_0x241dbd,_0x5a9743){const _0x17b132=_0x8a45ae;super(),_(this,_0x17b132(0x106),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x20d1b4(new Map())),_(this,_0x17b132(0xee),this['_cursorInfo$'][_0x17b132(0x28e)]()),_(this,_0x17b132(0x14c),new _0x20d1b4([])),_(this,_0x17b132(0x1e1),this[_0x17b132(0x14c)][_0x17b132(0x207)](_0x574bea(vi))),_(this,_0x17b132(0xa2),_0x2bf093((_0x3e451a,_0x331c3e)=>{const _0xe26bbe=_0x17b132,_0x406e68={'eventID':_0x4dee8a[_0xe26bbe(0x28d)],'data':{'unitID':this[_0xe26bbe(0x126)],'memberID':this['_session'][_0xe26bbe(0x1c3)](),'selection':_0x19f414(_0x3e451a,_0x331c3e['range'])}};this['_session'][_0xe26bbe(0x24c)](_0x406e68,this['unitID']);},Ii)),(this[_0x17b132(0x126)]=_0x1ea0e8,this[_0x17b132(0x199)]=_0x14f00e,this[_0x17b132(0x110)]=_0x2ea4a3,this[_0x17b132(0x232)]=_0x3e7ebf,this['_memberService']=_0xd746fc,this[_0x17b132(0x19d)]=_0x5d5381,this[_0x17b132(0xd1)]=_0x241dbd,this[_0x17b132(0x261)]=_0x5a9743);}get['cursorInfo'](){const _0x3949df=_0x8a45ae;return this['_cursorInfo$'][_0x3949df(0x167)]();}get[_0x8a45ae(0x244)](){return this['_roomMembers$']['getValue']();}[_0x8a45ae(0x1e7)](){const _0x3d0a65=_0x8a45ae;super['dispose'](),this[_0x3d0a65(0xfd)][_0x3d0a65(0x15b)](new Map()),this[_0x3d0a65(0xfd)][_0x3d0a65(0x29f)](),this['_roomMembers$'][_0x3d0a65(0x15b)]([]),this[_0x3d0a65(0x14c)][_0x3d0a65(0x29f)]();}[_0x8a45ae(0x213)](){const _0x2511d8=_0x8a45ae;this[_0x2511d8(0x1a3)]||(this['_init']=!0x0,this[_0x2511d8(0x199)]['sessionStatus$'][_0x2511d8(0x207)](_0x250db3(this[_0x2511d8(0xfc)]))['subscribe'](_0x173884=>{const _0x24e57c=_0x2511d8;_0x173884===_0x56bd0b[_0x24e57c(0x263)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x2511d8(0x171)][_0x2511d8(0x207)](_0x250db3(this[_0x2511d8(0xfc)]))[_0x2511d8(0x276)](_0x3158da=>{const _0x4a86d0=_0x2511d8,_0x2ad6f6=_0x3158da['eventID'];_0x2ad6f6===_0x4dee8a['UPDATE_CURSOR']&&this[_0x4a86d0(0x1a4)](_0x3158da),_0x2ad6f6===_0x4dee8a['USERS_LEAVE']&&this[_0x4a86d0(0xe5)](_0x3158da);}),this[_0x2511d8(0x16c)](),this[_0x2511d8(0xcc)](this['_commandService']['onCommandExecuted'](_0x341066=>{const _0x2ac88d=_0x2511d8;if(this['_online']&&_0x341066['id']===_0x10c8da['id']&&_0x341066['params']['unitId']===this['unitID']){const _0x381e4a=_0x341066['params'];this[_0x2ac88d(0xa2)](_0x381e4a[_0x2ac88d(0x139)],_0x381e4a[_0x2ac88d(0x11a)][0x0]);}})));}[_0x8a45ae(0x1a4)](_0x16c604){const _0x4de181=_0x8a45ae;var _0x43a7c6,_0x5be298;const {memberID:_0x2ec9d8,selection:_0x3d1e14}=_0x16c604[_0x4de181(0xe6)],{sheetName:_0x2fa304,range:_0x4c2fc4}=_0x14c48c(_0x3d1e14),_0x4932b3={'name':(_0x5be298=(_0x43a7c6=this[_0x4de181(0x11b)][_0x4de181(0xa7)](this['unitID'],_0x2ec9d8))==null?void 0x0:_0x43a7c6[_0x4de181(0x1dc)])!=null?_0x5be298:'Unknown\x20user','range':this[_0x4de181(0x16e)](_0x2fa304,_0x4c2fc4),'sheetID':_0x2fa304,'color':this['_colorAssignService'][_0x4de181(0x144)](_0x2ec9d8),'selection':_0x3d1e14},_0x1318f6=this[_0x4de181(0xb0)];_0x1318f6['set'](_0x2ec9d8,_0x4932b3),this[_0x4de181(0xfd)][_0x4de181(0x15b)](_0x1318f6);}['_onCursorDelete'](_0xe9875e){const _0xc66793=_0x8a45ae,{memberID:_0x5ea742}=_0xe9875e['data'],_0x357090=this[_0xc66793(0xb0)];_0x357090[_0xc66793(0x156)](_0x5ea742),this['_cursorInfo$'][_0xc66793(0x15b)](_0x357090);}[_0x8a45ae(0x16e)](_0x438529,_0x1c03ba){const _0x2f0b6c=_0x8a45ae;var _0xe47f02,_0x1297ba;const _0x57f5c8=(_0x1297ba=(_0xe47f02=this[_0x2f0b6c(0x19d)]['getUniverSheetInstance'](this[_0x2f0b6c(0x126)]))==null?void 0x0:_0xe47f02[_0x2f0b6c(0x12e)](_0x438529))==null?void 0x0:_0x1297ba[_0x2f0b6c(0x265)]();return(_0x57f5c8==null?void 0x0:_0x57f5c8[_0x2f0b6c(0xc2)](_0x2944f9=>_0x4297d6[_0x2f0b6c(0x1f9)](_0x2944f9,_0x1c03ba)))||_0x1c03ba;}[_0x8a45ae(0x16c)](){const _0x3783ca=_0x8a45ae,_0x3b3f8d=new _0x3438ea(),_0x2a7e0b=pi(),_0x5f2b94=()=>{const _0x376033=_0x4d6b;_0x3b3f8d[_0x376033(0x1e7)]();const _0x3b8574=(_0x5f3915,_0x2a2678,_0x2d4cb6,_0x3a129c)=>{const _0x1668b2=_0x376033;let _0x2c8dc0=[];switch(_0x5f3915['id']){case _0x406901[_0x1668b2(0x219)]:{_0x2c8dc0=_0x4c3566(_0x5f3915,_0x3a129c);break;}case _0x406901[_0x1668b2(0x12f)]:{_0x2c8dc0=_0x5dc2fb(_0x5f3915,_0x3a129c);break;}case _0x406901['InsertColCommandId']:{_0x2c8dc0=_0x516cb6(_0x5f3915,_0x3a129c);break;}case _0x406901['InsertRangeMoveDownCommandId']:{_0x2c8dc0=_0x5a4a6f(_0x5f3915,_0x3a129c);break;}case _0x406901['InsertRangeMoveRightCommandId']:{_0x2c8dc0=_0x4b02d7(_0x5f3915,_0x3a129c);break;}case _0x406901['InsertRowCommandId']:{_0x2c8dc0=_0x3f91d8(_0x5f3915,_0x3a129c);break;}case _0x406901['MoveRangeCommandId']:{_0x2c8dc0=_0x5e8159(_0x5f3915,_0x3a129c);break;}case _0x406901[_0x1668b2(0x117)]:{_0x2c8dc0=_0x4e9c55(_0x5f3915,_0x3a129c);break;}case _0x406901[_0x1668b2(0x279)]:{_0x2c8dc0=_0x423803(_0x5f3915,_0x3a129c);break;}}const _0x566caa=_0x34b845(_0x2c8dc0,_0x3a129c),_0xadf98e=this['cursorInfo'][_0x1668b2(0x273)](_0x2a2678);if(_0xadf98e&&_0x566caa){const _0x35853c={..._0xadf98e,'range':_0x566caa};this[_0x1668b2(0xb0)][_0x1668b2(0x19e)](_0x2a2678,_0x35853c),_0x2a7e0b(()=>{const _0x3d057e=_0x1668b2,_0x35e5bd=this['_refRangeService'][_0x3d057e(0x155)](_0x566caa,_0x47c98a=>(_0x35e5bd[_0x3d057e(0x1e7)](),_0x3b8574(_0x47c98a,_0x2a2678,_0x2d4cb6,_0x566caa)));_0x3b3f8d[_0x3d057e(0x283)](_0x35e5bd);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x376033(0xbd)]((_0x1ff4f5,_0x27246b)=>{const _0x153de9=_0x376033,{range:_0x28efb6,sheetID:_0x1829d1}=_0x1ff4f5,_0x463c02=this[_0x153de9(0x261)]['registerRefRange'](_0x28efb6,_0x299772=>(_0x463c02[_0x153de9(0x1e7)](),_0x3b8574(_0x299772,_0x27246b,_0x1829d1,_0x28efb6)));_0x3b3f8d[_0x153de9(0x283)](_0x463c02);});};this[_0x3783ca(0xcc)](_0x2bea03(this[_0x3783ca(0xfd)][_0x3783ca(0x276)](()=>{_0x5f2b94();})));}[_0x8a45ae(0x1cd)](){const _0x4c1ddc=_0x8a45ae;var _0x4a840b,_0x194548;if(this[_0x4c1ddc(0x106)]=!0x0,((_0x4a840b=this[_0x4c1ddc(0x19d)][_0x4c1ddc(0x17c)]())==null?void 0x0:_0x4a840b[_0x4c1ddc(0x23d)]())!==this[_0x4c1ddc(0x126)])return;const _0x36192b=(_0x194548=this[_0x4c1ddc(0x110)][_0x4c1ddc(0x273)](_0x34a40e)[_0x4c1ddc(0x24e)]())==null?void 0x0:_0x194548[0x0],_0x128c69=this[_0x4c1ddc(0x19d)]['getCurrentUnitForType'](_0x5e7335[_0x4c1ddc(0x23b)])[_0x4c1ddc(0x157)]();_0x36192b&&_0x128c69&&this[_0x4c1ddc(0xa2)](_0x128c69[_0x4c1ddc(0xa8)](),_0x36192b);}[_0x8a45ae(0x1a6)](){const _0x123227=_0x8a45ae;this[_0x123227(0x106)]=!0x1;}};Pe=gi([x(0x2,_0x2b29b5(_0x2e7518)),x(0x3,_0x2b29b5(He)),x(0x4,_0x2b29b5(_0x9d3188)),x(0x5,_0x4f4b20),x(0x6,_0x5a6621),x(0x7,_0x2b29b5(_0x34e6fd))],Pe);var Ci=Object[_0x8a45ae(0x122)],Ei=(_0x1959cc,_0x5bb7fc,_0xe9cdb2,_0x3e7e9e)=>{for(var _0x24d1de=_0x3e7e9e>0x1?void 0x0:_0x3e7e9e?Ci(_0x5bb7fc,_0xe9cdb2):_0x5bb7fc,_0x4240ca=_0x1959cc['length']-0x1,_0x3d6b71;_0x4240ca>=0x0;_0x4240ca--)(_0x3d6b71=_0x1959cc[_0x4240ca])&&(_0x24d1de=_0x3d6b71(_0x24d1de)||_0x24d1de);return _0x24d1de;},me=(_0x57353a,_0xa1b136)=>(_0x2d6059,_0x325aaa)=>_0xa1b136(_0x2d6059,_0x325aaa,_0x57353a);let H=class extends _0x4ddb4d{constructor(_0x575f35,_0x2f547c,_0x5c1726){const _0x2898dd=_0x8a45ae;super(),_(this,_0x2898dd(0xf7),new Map()),_(this,_0x2898dd(0xe2),new _0x8d9445()),(this[_0x2898dd(0x19d)]=_0x575f35,this[_0x2898dd(0x110)]=_0x2f547c,this[_0x2898dd(0x175)]=_0x5c1726,this[_0x2898dd(0x1a3)]());}[_0x8a45ae(0x1e7)](){const _0x4ade7=_0x8a45ae;super[_0x4ade7(0x1e7)](),this[_0x4ade7(0xe2)]['complete'](),this[_0x4ade7(0xf7)]['forEach'](_0x53e7ca=>_0x53e7ca['dispose']());}[_0x8a45ae(0x27e)](_0x74c0c1){const _0x3bf3b5=_0x8a45ae;return this[_0x3bf3b5(0xf7)][_0x3bf3b5(0x250)](_0x74c0c1)?this[_0x3bf3b5(0xf7)][_0x3bf3b5(0x273)](_0x74c0c1)[_0x3bf3b5(0xee)]:this['_entityInit$'][_0x3bf3b5(0x207)](_0x454c7f(_0x55e50d=>_0x55e50d[_0x3bf3b5(0x126)]===_0x74c0c1),_0x10c81f(_0x31680c=>_0x31680c[_0x3bf3b5(0xee)]));}[_0x8a45ae(0x1a3)](){const _0x5737a0=_0x8a45ae;this[_0x5737a0(0x19d)][_0x5737a0(0x129)](_0x5e7335[_0x5737a0(0x23b)])['pipe'](_0x250db3(this[_0x5737a0(0xfc)]))['subscribe'](async _0x15e280=>{const _0x312bfc=_0x5737a0,_0x2c2015=_0x15e280[_0x312bfc(0x23d)](),_0xd2530b=await this[_0x312bfc(0x246)](_0x2c2015);this[_0x312bfc(0xe2)][_0x312bfc(0x15b)](_0xd2530b),this[_0x312bfc(0xf7)][_0x312bfc(0x19e)](_0x2c2015,_0xd2530b);}),this[_0x5737a0(0x19d)][_0x5737a0(0x129)](_0x5e7335['UNIVER_DOC'])[_0x5737a0(0x207)](_0x250db3(this[_0x5737a0(0xfc)]))[_0x5737a0(0x207)](_0x454c7f(_0x440482=>!_0x440482[_0x5737a0(0x23d)]()[_0x5737a0(0x1f8)]('__')))[_0x5737a0(0x276)](async _0x345488=>{const _0x57a5fd=_0x5737a0,_0x1bf854=_0x345488['getUnitId'](),_0x1d1d80=await this[_0x57a5fd(0xcb)](_0x1bf854);this[_0x57a5fd(0xe2)][_0x57a5fd(0x15b)](_0x1d1d80),this[_0x57a5fd(0xf7)][_0x57a5fd(0x19e)](_0x1bf854,_0x1d1d80);}),_0x292438(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5e7335[_0x5737a0(0xb2)]),this[_0x5737a0(0x19d)]['getTypeOfUnitDisposed$'](_0x5e7335[_0x5737a0(0x23b)]))[_0x5737a0(0x207)](_0x250db3(this['dispose$']))[_0x5737a0(0x276)](_0x1a8e4c=>{const _0x51bbc6=_0x5737a0,_0x2916b2=_0x1a8e4c[_0x51bbc6(0x23d)](),_0x3d6c57=this[_0x51bbc6(0xf7)][_0x51bbc6(0x273)](_0x2916b2);_0x3d6c57&&(_0x3d6c57['dispose'](),this[_0x51bbc6(0xf7)][_0x51bbc6(0x156)](_0x2916b2));});}async[_0x8a45ae(0x246)](_0x58dd46){const _0x1f0d7b=_0x8a45ae,_0xfff06d=await this[_0x1f0d7b(0x175)][_0x1f0d7b(0x1c1)](_0x58dd46),_0x4a07c7=this[_0x1f0d7b(0x110)][_0x1f0d7b(0x165)](Pe,_0x58dd46,_0xfff06d);return _0x4a07c7[_0x1f0d7b(0x213)](),_0x4a07c7;}async[_0x8a45ae(0xcb)](_0x371da5){const _0x16be2d=_0x8a45ae,_0x73daf0=await this[_0x16be2d(0x175)]['requireSession'](_0x371da5),_0xab237b=this[_0x16be2d(0x110)]['createInstance'](Me,_0x371da5,_0x73daf0);return _0xab237b['init'](),_0xab237b;}};H=Ei([me(0x0,_0x4f4b20),me(0x1,_0x2b29b5(_0x2e7518)),me(0x2,_0x2b29b5(_0x104c61))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x8398ec,_0x1a196b){const _0x362a63=_0x8a45ae;let {radius:_0x209a25,width:_0x24addb,height:_0x2fd8f4}=_0x1a196b;_0x209a25=_0x209a25!=null?_0x209a25:0x0,_0x24addb=_0x24addb!=null?_0x24addb:0x1e,_0x2fd8f4=_0x2fd8f4!=null?_0x2fd8f4:0x1e;let _0x1d0524=0x0,_0x124bbe=0x0,_0x146045=0x0;_0x1d0524=_0x124bbe=_0x146045=Math[_0x362a63(0x13b)](_0x209a25,_0x24addb/0x2,_0x2fd8f4/0x2),_0x8398ec['beginPath'](),_0x8398ec[_0x362a63(0x29a)](_0x1d0524,0x0),_0x8398ec[_0x362a63(0x10e)](_0x24addb-_0x124bbe,0x0),_0x8398ec['arc'](_0x24addb-_0x124bbe,_0x124bbe,_0x124bbe,Math['PI']*0x3/0x2,0x0,!0x1),_0x8398ec[_0x362a63(0x10e)](_0x24addb,_0x2fd8f4-_0x146045),_0x8398ec[_0x362a63(0x284)](_0x24addb-_0x146045,_0x2fd8f4-_0x146045,_0x146045,0x0,Math['PI']/0x2,!0x1),_0x8398ec['lineTo'](0x0,_0x2fd8f4),_0x8398ec['lineTo'](0x0,_0x1d0524),_0x8398ec[_0x362a63(0x284)](_0x1d0524,_0x1d0524,_0x1d0524,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8398ec['closePath'](),_0x1a196b[_0x362a63(0x182)]&&(_0x8398ec[_0x362a63(0x290)](),_0x8398ec['fillStyle']=_0x1a196b[_0x362a63(0x182)],_0x1a196b[_0x362a63(0x11e)]===_0x362a63(0x18f)?_0x8398ec[_0x362a63(0x182)](_0x362a63(0x18f)):_0x8398ec[_0x362a63(0x182)](),_0x8398ec[_0x362a63(0x1a8)]());}class ue extends _0x5e33e7{constructor(_0x4e4437,_0x32499e){const _0x5ec42a=_0x8a45ae;super(_0x4e4437,_0x32499e),_(this,_0x5ec42a(0x245)),_(this,_0x5ec42a(0x168)),(this[_0x5ec42a(0x245)]=_0x32499e==null?void 0x0:_0x32499e['color'],this['text']=_0x32499e==null?void 0x0:_0x32499e[_0x5ec42a(0x168)]);}static[_0x8a45ae(0x112)](_0x470ae6,_0x17dee4){const _0x490b4c=_0x8a45ae,{text:_0x310017,color:_0x5303ba}=_0x17dee4;_0x470ae6['save'](),_0x470ae6[_0x490b4c(0x15d)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1e4508=_0x470ae6['measureText'](_0x310017)[_0x490b4c(0x226)],_0x156eb0=Math['min'](_0x1e4508+0x2*ge,et);Oi(_0x470ae6,{'height':te,'radius':0x4,'width':_0x156eb0,'fill':_0x5303ba}),_0x470ae6[_0x490b4c(0x127)]=_0x490b4c(0xdb);const _0x373e9c=ge,_0x4a99df=te-bi,_0x14532a=et-0x2*ge;if(_0x1e4508>_0x14532a){let _0x20a4b9='',_0x132412=0x0;for(const _0x37f472 of _0x310017){const _0x1a8ea3=_0x470ae6[_0x490b4c(0x151)](_0x37f472)[_0x490b4c(0x226)];if(_0x132412+_0x1a8ea3<=_0x14532a-_0x470ae6[_0x490b4c(0x151)](_0x490b4c(0xed))[_0x490b4c(0x226)])_0x20a4b9+=_0x37f472,_0x132412+=_0x1a8ea3;else{_0x20a4b9+=_0x490b4c(0xed);break;}}_0x470ae6['fillText'](_0x20a4b9,_0x373e9c,_0x4a99df);}else _0x470ae6[_0x490b4c(0x26d)](_0x310017,_0x373e9c,_0x4a99df);_0x470ae6[_0x490b4c(0x1a8)]();}['_draw'](_0x3ddf57){const _0x7bb4c7=_0x8a45ae;ue[_0x7bb4c7(0x112)](_0x3ddf57,this);}}const ve=_0x8a45ae(0xe9),Ti=_0x8a45ae(0xf6),Ri=_0x8a45ae(0x10c),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x8a45ae(0x128);class tt{constructor(_0x1b627a,_0xad1094,_0x5d91d7,_0x5a0113){const _0x44d7a9=_0x8a45ae;_(this,_0x44d7a9(0xc0),[]),_(this,_0x44d7a9(0x267),null),_(this,_0x44d7a9(0x1d5),null),_(this,_0x44d7a9(0x26a),null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this[_0x44d7a9(0x278)]=_0x1b627a,this[_0x44d7a9(0x131)]=_0xad1094,this[_0x44d7a9(0x27d)]=_0x5d91d7,this[_0x44d7a9(0x1d1)]=_0x5a0113,this[_0x44d7a9(0x208)]());}set[_0x8a45ae(0x255)](_0x5b0a4e){const _0xe65c19=_0x8a45ae;_0x5b0a4e?(this[_0xe65c19(0x26a)]&&this[_0xe65c19(0x26a)][_0xe65c19(0x248)](),this[_0xe65c19(0x1d5)]&&this[_0xe65c19(0x1d5)][_0xe65c19(0xa0)]()):(this[_0xe65c19(0x26a)]&&this[_0xe65c19(0x26a)][_0xe65c19(0xa0)](),this[_0xe65c19(0x1d5)]&&this['_textBubble'][_0xe65c19(0x248)]());}['dispose'](){const _0x35ee00=_0x8a45ae;for(const _0x3bb2f3 of this[_0x35ee00(0xc0)])_0x3bb2f3[_0x35ee00(0x1e7)]();this[_0x35ee00(0x1d5)]&&this[_0x35ee00(0x1d5)][_0x35ee00(0x1e7)](),this[_0x35ee00(0x26a)]&&this['_anchorDot'][_0x35ee00(0x1e7)](),this[_0x35ee00(0x267)]&&this[_0x35ee00(0x267)]['dispose'](),this[_0x35ee00(0x1f4)]&&this[_0x35ee00(0x1f4)]();}[_0x8a45ae(0x208)](){const _0x157463=_0x8a45ae;var _0x2a9de9;const {_docSkeleton:_0x1f3b94,_document:_0x31eca0}=this,{color:_0x412fe7,name:_0x4ae581,ranges:_0x33555f}=this[_0x157463(0x278)],_0x3ad16a=_0x31eca0[_0x157463(0x1b3)](),{docsLeft:_0x583de6,docsTop:_0x5a68bb}=_0x3ad16a,_0x155e29=new _0x227645(_0x3ad16a,_0x1f3b94);for(const {startOffset:_0x3b935d,endOffset:_0x584874,rangeType:_0x2855b7,segmentId:_0x2efe75,segmentPage:_0x447aa0,collapsed:_0x48f0f8,isActive:_0x2e8740}of _0x33555f){const _0x5c2e5f=_0x1f3b94[_0x157463(0x266)](_0x3b935d,!0x0,_0x2efe75,_0x447aa0);let _0x21050a=_0x1f3b94['findNodePositionByCharIndex'](_0x584874,!0x0,_0x2efe75,_0x447aa0);if(_0x21050a==null&&(_0x21050a=_0x1f3b94[_0x157463(0x266)](_0x584874-0x1,!0x1,_0x2efe75,_0x447aa0)),_0x2e8740){const {contentBoxPointGroup:_0x55373f}=_0x155e29[_0x157463(0x233)](_0x21050a,_0x21050a);if(_0x55373f[_0x157463(0x13d)]===0x0)continue;this['_drawAnchor'](_0x412fe7,_0x55373f,_0x583de6,_0x5a68bb,_0x4ae581),this['_eventUnsubscribe']=this[_0x157463(0x12c)]();}if(_0x5c2e5f&&_0x21050a){if(_0x2855b7===_0x4a069e[_0x157463(0x109)]){const _0x313a1c=new _0x1a65a4(_0x3ad16a,_0x1f3b94),{pointGroup:_0x1cd62e}=(_0x2a9de9=_0x313a1c[_0x157463(0x233)](_0x5c2e5f,_0x21050a))!=null?_0x2a9de9:{};if(_0x1cd62e==null||_0x1cd62e['length']===0x0)continue;this[_0x157463(0xe8)](_0x412fe7,_0x1cd62e,_0x583de6,_0x5a68bb);}else{if(!_0x48f0f8){const {borderBoxPointGroup:_0x4b2ecf}=_0x155e29[_0x157463(0x233)](_0x5c2e5f,_0x21050a);if(_0x4b2ecf[_0x157463(0x13d)]===0x0)continue;this[_0x157463(0x170)](_0x412fe7,_0x4b2ecf,_0x583de6,_0x5a68bb);}}}}}['_drawAnchor'](_0x7d2e91,_0x561323,_0xbda41,_0x45ca1a,_0x144352){const _0x1729b8=_0x8a45ae,_0x4019ac=this['_getAnchorBounding'](_0x561323),{left:_0x473a5d,top:_0x26f44e,height:_0x36998e}=_0x4019ac,_0x458157=this[_0x1729b8(0x234)](),_0x23ca49=Ni/_0x458157,_0x40de5b=new _0x1b3054(ve+_0x481080[_0x1729b8(0x1a1)](X),{'left':_0x473a5d+_0xbda41-_0x23ca49,'top':_0x26f44e+_0x45ca1a,'height':_0x36998e,'width':Di,'fill':_0x7d2e91||_0x1540b8(_0x4b49be[_0x1729b8(0x17d)],0x0),'strokeWidth':_0x23ca49,'stroke':Ui,'evented':!0x0});this[_0x1729b8(0x267)]=_0x40de5b,this['_scene'][_0x1729b8(0x197)](_0x40de5b,_0x415268);const _0x4db11b=new _0x1b3054(ve+_0x481080[_0x1729b8(0x1a1)](X),{'left':_0x473a5d+_0xbda41-_0x23ca49,'top':_0x26f44e+_0x45ca1a-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x7d2e91||_0x1540b8(_0x4b49be[_0x1729b8(0x17d)],0x0),'strokeWidth':0x0,'stroke':_0x7d2e91||_0x1540b8(_0x4b49be[_0x1729b8(0x17d)],0x0),'evented':!0x1});this['_anchorDot']=_0x4db11b,this['_scene'][_0x1729b8(0x197)](_0x4db11b,_0x415268);const _0x55cba2=new ue(ve+_0x481080[_0x1729b8(0x1a1)](X),{'left':_0x473a5d+_0xbda41-_0x23ca49,'top':_0x26f44e+_0x45ca1a-te,'text':_0x144352,'color':_0x7d2e91});this['_textBubble']=_0x55cba2,this['_scene'][_0x1729b8(0x197)](_0x55cba2,_0x415268),this['_hover']=!0x1;}[_0x8a45ae(0x12c)](){const _0x3ac901=_0x8a45ae,_0x3d76e6=this[_0x3ac901(0x267)][_0x3ac901(0x14f)][_0x3ac901(0x195)](()=>{this['_hover']=!0x0;}),_0x2c8737=this[_0x3ac901(0x267)]['onPointerLeave$'][_0x3ac901(0x195)](()=>{const _0x1dc366=_0x3ac901;this[_0x1dc366(0x1c7)]&&clearTimeout(this[_0x1dc366(0x1c7)]),this[_0x1dc366(0x1c7)]=setTimeout(()=>{const _0x10a5b8=_0x1dc366;this[_0x10a5b8(0x255)]=!0x1;},0x7d0);});return()=>{const _0x5f4aaa=_0x3ac901;_0x3d76e6['unsubscribe'](),_0x2c8737[_0x5f4aaa(0x1b5)]();};}['_drawTextRange'](_0x53cda0,_0x4d0070,_0x43085e,_0x2cc476){const _0x48b339=_0x8a45ae,_0x28ec4f=new _0x482e95(_0x53cda0)['setAlpha'](0.2)[_0x48b339(0x291)](),_0x1a643a=new _0x22e4ca(Ti+_0x481080['generateRandomId'](X),{'pointsGroup':_0x4d0070,'fill':_0x28ec4f||_0x1540b8(_0x4b49be[_0x48b339(0x17d)],0.2),'left':_0x43085e,'top':_0x2cc476,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x48b339(0xc0)][_0x48b339(0xe0)](_0x1a643a),this[_0x48b339(0x131)][_0x48b339(0x197)](_0x1a643a,_0x415268);}[_0x8a45ae(0xe8)](_0x109bac,_0xe4da35,_0x51cdc5,_0x5eeac8){const _0x5e98f8=_0x8a45ae,_0x188e83=new _0x482e95(_0x109bac)[_0x5e98f8(0x9e)](0.2)[_0x5e98f8(0x291)](),_0x2cbaf5=new _0x22e4ca(Ri+_0x481080[_0x5e98f8(0x1a1)](X),{'pointsGroup':_0xe4da35,'fill':_0x188e83||_0x1540b8(_0x4b49be[_0x5e98f8(0x17d)],0.2),'left':_0x51cdc5,'top':_0x5eeac8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5e98f8(0xc0)][_0x5e98f8(0xe0)](_0x2cbaf5),this[_0x5e98f8(0x131)][_0x5e98f8(0x197)](_0x2cbaf5,_0x415268);}['_getAnchorBounding'](_0x2be99e){const _0x5850be=_0x2be99e[0x0],_0xd936e4=_0x5850be[0x0],_0x2c9085=_0x5850be[0x2],{x:_0xb77ece,y:_0x56ca8b}=_0xd936e4,{x:_0xd43d17,y:_0x592288}=_0x2c9085;return{'left':_0xb77ece,'top':_0x56ca8b,'width':_0xd43d17-_0xb77ece,'height':_0x592288-_0x56ca8b};}[_0x8a45ae(0x234)](){const _0x38d52e=_0x8a45ae,{scaleX:_0x573ec4,scaleY:_0x3c40f1}=this[_0x38d52e(0x131)][_0x38d52e(0xb6)]();return Math['max'](_0x573ec4,_0x3c40f1);}}var Mi=Object[_0x8a45ae(0x122)],Pi=(_0x482a45,_0x10b088,_0x22551c,_0x3594d0)=>{const _0xf3317e=_0x8a45ae;for(var _0x4df6b7=_0x3594d0>0x1?void 0x0:_0x3594d0?Mi(_0x10b088,_0x22551c):_0x10b088,_0x449039=_0x482a45[_0xf3317e(0x13d)]-0x1,_0x118104;_0x449039>=0x0;_0x449039--)(_0x118104=_0x482a45[_0x449039])&&(_0x4df6b7=_0x118104(_0x4df6b7)||_0x4df6b7);return _0x4df6b7;},Q=(_0x32ae5c,_0x342c88)=>(_0x1c86ee,_0x4b58dd)=>_0x342c88(_0x1c86ee,_0x4b58dd,_0x32ae5c);let we=class extends _0x4ddb4d{constructor(_0x39cf84,_0x47402c,_0x90ed2d,_0x34ed69,_0xb4b1af){const _0x535453=_0x8a45ae;super(),_(this,'_cursorShapes',[]),_(this,_0x535453(0x163),[]),(this['_context']=_0x39cf84,this[_0x535453(0xec)]=_0x47402c,this[_0x535453(0x143)]=_0x90ed2d,this[_0x535453(0xd1)]=_0x34ed69,this[_0x535453(0x203)]=_0xb4b1af,this[_0x535453(0x1a3)]());}[_0x8a45ae(0x1a3)](){const _0x4f0b43=_0x8a45ae,_0x169d6c=this[_0x4f0b43(0x130)]['unitId'],_0x30fec5=this[_0x4f0b43(0xec)];this[_0x4f0b43(0xcc)](_0x5c90b1([this[_0x4f0b43(0x143)][_0x4f0b43(0x27e)](_0x169d6c),this[_0x4f0b43(0x203)]['currentTheme$']])['pipe'](_0x2df5e8(([_0x339bdc,_0x165419])=>({'skeleton':_0x30fec5[_0x4f0b43(0xfa)](),'cursors':[..._0x339bdc['values']()][_0x4f0b43(0x166)](_0x51a0a8=>({..._0x51a0a8,'color':_0x165419[_0x51a0a8['color']]}))})))[_0x4f0b43(0x276)](_0x3db690=>{const _0x2235c5=_0x4f0b43;if(this[_0x2235c5(0x253)](),_0x3db690){const {skeleton:_0x3e580b,cursors:_0x55dddf}=_0x3db690;this[_0x2235c5(0x209)](_0x3e580b,_0x55dddf);}})),this[_0x4f0b43(0x10d)](),this['_initCommandExecutedListener']();}[_0x8a45ae(0x209)](_0x19bf1e,_0x30ba13){const _0x40e762=_0x8a45ae,{scene:_0x2afa69,mainComponent:_0x28864d}=this['_context'],_0x39eb3d=_0x30ba13[_0x40e762(0x1cb)](_0x1ba590=>new tt(_0x1ba590,_0x2afa69,_0x19bf1e,_0x28864d));this[_0x40e762(0x251)]=_0x39eb3d,this['_cursors']=_0x30ba13;}[_0x8a45ae(0x1d7)](){const _0xc45696=_0x8a45ae;this[_0xc45696(0x253)]();const {scene:_0x9da994,mainComponent:_0xb11619}=this[_0xc45696(0x130)],_0x5b51d2=this['_docSkeletonManagerService'][_0xc45696(0xfa)](),_0x9d9407=this[_0xc45696(0x163)]['map'](_0x1d0301=>new tt(_0x1d0301,_0x9da994,_0x5b51d2,_0xb11619));this[_0xc45696(0x251)]=_0x9d9407;}['_removeCollabCursors'](){const _0x107afd=_0x8a45ae;this[_0x107afd(0x251)][_0x107afd(0xbd)](_0x3a8c69=>_0x3a8c69['dispose']()),this[_0x107afd(0x251)]=[];}[_0x8a45ae(0x10b)](){const _0x5db6b6=_0x8a45ae,_0x2c04e1=[_0x21410b['id']];this[_0x5db6b6(0xcc)](this[_0x5db6b6(0xd1)][_0x5db6b6(0xd5)](_0x2f0582=>{const _0x440063=_0x5db6b6;_0x2c04e1[_0x440063(0x298)](_0x2f0582['id'])&&_0x2f0582[_0x440063(0xf3)]['unitId']===this[_0x440063(0x130)][_0x440063(0x115)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x18ea43=_0x8a45ae;this[_0x18ea43(0xcc)](_0x2f1e16(this['_context'][_0x18ea43(0x140)][_0x18ea43(0x1d0)])['pipe'](_0x338f7d(_0x50b45f=>_0x50b45f[_0x18ea43(0x204)]===_0x925224[_0x18ea43(0x257)]),_0x28d5e2(0x10))[_0x18ea43(0x276)](()=>{const _0x16f021=_0x18ea43;this[_0x16f021(0x1d7)]();}));}};we=Pi([Q(0x1,_0x2b29b5(_0x2ff5f4)),Q(0x2,_0x2b29b5(H)),Q(0x3,_0x5a6621),Q(0x4,_0x2b29b5(_0x53e720))],we);const wi=0x1,Li=1.5;function _0x4d6b(_0x3b5196,_0x267c8f){const _0x1fbc51=_0x1fbc();return _0x4d6b=function(_0x4d6bff,_0x55e736){_0x4d6bff=_0x4d6bff-0x9c;let _0x2730f4=_0x1fbc51[_0x4d6bff];return _0x2730f4;},_0x4d6b(_0x3b5196,_0x267c8f);}class Ai extends _0x5e33e7{constructor(_0x38a73c,_0x567517){const _0x26850c=_0x8a45ae;super(_0x38a73c,_0x567517),_(this,_0x26850c(0xa5)),_(this,'_hovered',!0x1),_(this,_0x26850c(0xfe)),_(this,'_name',''),_(this,_0x26850c(0x1b9),_0x26850c(0xc1)),_(this,'_backgroundColor'),(_0x567517&&this['setShapeProps'](_0x567517),this[_0x26850c(0x14f)][_0x26850c(0x195)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x26850c(0x195)](()=>this[_0x26850c(0x10f)]({'hovered':!0x1})));}[_0x8a45ae(0x10f)](_0x2455da){const _0x1917c9=_0x8a45ae;var _0x12c528,_0x23df0e,_0xd4f644,_0x44d688,_0x21b140,_0xf7d756;this['_color']=(_0x12c528=_0x2455da['color'])!=null?_0x12c528:this['_color'],this['_hovered']=(_0x23df0e=_0x2455da[_0x1917c9(0x13a)])!=null?_0x23df0e:this[_0x1917c9(0x194)],this['_range']=(_0xd4f644=_0x2455da[_0x1917c9(0x202)])!=null?_0xd4f644:this[_0x1917c9(0xfe)],this[_0x1917c9(0x262)]=(_0x44d688=_0x2455da[_0x1917c9(0x1dc)])!=null?_0x44d688:this['_name'],this[_0x1917c9(0x1b9)]=(_0x21b140=_0x2455da[_0x1917c9(0x22b)])!=null?_0x21b140:this[_0x1917c9(0x1b9)],this[_0x1917c9(0xd4)]=(_0xf7d756=_0x2455da[_0x1917c9(0x15a)])!=null?_0xf7d756:this[_0x1917c9(0xd4)],this[_0x1917c9(0x227)]({'width':_0x2455da[_0x1917c9(0x226)],'height':_0x2455da['height']});}['onMouseMove'](_0x37cf8a){const _0x516b12=_0x8a45ae,{row:_0x4c9b20,column:_0x50595b}=_0x37cf8a;if(_0x4c9b20>=this['_range'][_0x516b12(0xbf)]&&_0x4c9b20<=this[_0x516b12(0xfe)][_0x516b12(0x183)]&&_0x50595b>=this['_range']['startColumn']&&_0x50595b<=this['_range'][_0x516b12(0x1ce)]){this[_0x516b12(0x10f)]({'hovered':!0x0});return;}this[_0x516b12(0x10f)]({'hovered':!0x1});}[_0x8a45ae(0x26b)](_0x199a2e){return!0x1;}[_0x8a45ae(0x21d)](_0x5e2e43){const _0x295d86=_0x8a45ae;_0x1b3054[_0x295d86(0x112)](_0x5e2e43,{'width':this[_0x295d86(0x226)],'height':this[_0x295d86(0x104)],'strokeWidth':Li,'stroke':this[_0x295d86(0xa5)],'evented':!0x1,'fill':this[_0x295d86(0xd4)]}),this[_0x295d86(0x194)]&&(_0x5e2e43[_0x295d86(0x290)](),_0x5e2e43['transform'](0x1,0x0,0x0,0x1,this[_0x295d86(0x226)],this[_0x295d86(0x1b9)]===_0x295d86(0x26c)?0x0:-0x14),ue[_0x295d86(0x112)](_0x5e2e43,{'text':this[_0x295d86(0x262)],'color':this[_0x295d86(0xa5)]}),_0x5e2e43['restore']());}}var yi=Object[_0x8a45ae(0x122)],$i=(_0x1abed2,_0x3334f3,_0x3df349,_0x23ad2a)=>{const _0x93b61a=_0x8a45ae;for(var _0x2881a0=_0x23ad2a>0x1?void 0x0:_0x23ad2a?yi(_0x3334f3,_0x3df349):_0x3334f3,_0x638376=_0x1abed2[_0x93b61a(0x13d)]-0x1,_0x4714eb;_0x638376>=0x0;_0x638376--)(_0x4714eb=_0x1abed2[_0x638376])&&(_0x2881a0=_0x4714eb(_0x2881a0)||_0x2881a0);return _0x2881a0;},pe=(_0x398abe,_0x11753d)=>(_0x51146b,_0x32e6a0)=>_0x11753d(_0x51146b,_0x32e6a0,_0x398abe);const xi=0x1389;let Le=class extends _0x4ddb4d{constructor(_0x23bda6,_0x488eb0,_0x446b56,_0x2a0cd8){const _0x3e3703=_0x8a45ae;super(),_(this,_0x3e3703(0x163),new Set()),_(this,_0x3e3703(0x256),null),(this[_0x3e3703(0x130)]=_0x23bda6,this[_0x3e3703(0x23e)]=_0x488eb0,this['_collabCursorController']=_0x446b56,this['_themeService']=_0x2a0cd8,this[_0x3e3703(0x1a3)]());}[_0x8a45ae(0x1a3)](){const _0x1c841a=_0x8a45ae;this[_0x1c841a(0x23e)][_0x1c841a(0x123)][_0x1c841a(0x207)](_0x18f518(this['dispose$']),_0x32fc0f(_0x4fb031=>{const _0x4823aa=_0x1c841a;if(_0x4fb031){const _0x12e89d=_0x4fb031[_0x4823aa(0x1cf)];return _0x5c90b1(this[_0x4823aa(0x143)][_0x4823aa(0x27e)](this['_context'][_0x4823aa(0x115)]),this[_0x4823aa(0x203)][_0x4823aa(0x22a)])[_0x4823aa(0x207)](_0x2df5e8(([_0x453c71,_0x36acdb])=>{const _0xf7766e=_0x4823aa,_0x282bc8=new Map();return _0x453c71[_0xf7766e(0xbd)]((_0x1cec65,_0xb5049d)=>{const _0x5073d3=_0xf7766e;if(_0x1cec65[_0x5073d3(0x200)]===_0x12e89d){const _0x121172={..._0x1cec65};_0x121172['color']=_0x36acdb[_0x1cec65[_0x5073d3(0x245)]],_0x282bc8[_0x5073d3(0x19e)](_0xb5049d,_0x121172);}}),{'skeleton':_0x4fb031,'cursors':_0x282bc8};}));}return _0x159153({'skeleton':null,'cursors':new Map()});}))[_0x1c841a(0x276)](({skeleton:_0x12479f,cursors:_0x140e17})=>{const _0x57b8c3=_0x1c841a;this[_0x57b8c3(0x253)](),_0x12479f&&this[_0x57b8c3(0x209)](_0x12479f,_0x140e17);}),this[_0x1c841a(0x23e)][_0x1c841a(0x123)]['subscribe'](_0x225c69=>{if(_0x225c69==null)return;const {skeleton:_0x37563a}=_0x225c69,{scene:_0x166231}=this['_context'];_0x166231['onPointerMove$']['subscribeEvent'](_0x2bf093(_0x24b7e6=>{const _0x16ffcd=_0x4d6b;var _0x20a004,_0x221185;const {offsetX:_0x5eff57,offsetY:_0x3a0c07}=_0x24b7e6,{x:_0x43b6a3,y:_0x3f7ca0}=_0x166231['getRelativeToViewportCoord'](_0x1c2129[_0x16ffcd(0x1f2)]([_0x5eff57,_0x3a0c07])),{scaleX:_0xdd2ed8,scaleY:_0x357f53}=_0x166231[_0x16ffcd(0xb6)](),_0x3375d5=_0x166231[_0x16ffcd(0xd9)](_0x15116e['VIEW_MAIN']),_0x538cd4=_0x166231[_0x16ffcd(0x179)](_0x1c2129[_0x16ffcd(0x1f2)]([_0x43b6a3,_0x3f7ca0]),_0x3375d5),_0x1ffdbe=_0x37563a[_0x16ffcd(0x294)](_0x5eff57,_0x3a0c07,_0xdd2ed8,_0x357f53,_0x538cd4);((_0x20a004=this[_0x16ffcd(0x256)])==null?void 0x0:_0x20a004['column'])===_0x1ffdbe[_0x16ffcd(0x1ff)]&&((_0x221185=this['_lastPointer'])==null?void 0x0:_0x221185[_0x16ffcd(0x21a)])===_0x1ffdbe[_0x16ffcd(0x21a)]||this[_0x16ffcd(0x163)][_0x16ffcd(0xbd)](_0xeda791=>{const _0x9e847c=_0x16ffcd;_0xeda791[_0x9e847c(0x18e)](_0x1ffdbe);});},0x64));});}[_0x8a45ae(0x209)](_0x4ae2db,_0x458755){const _0x299aea=_0x8a45ae;var _0x584aac;const _0x2fff15=(_0x584aac=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x584aac[_0x299aea(0x225)];if(!_0x2fff15)return;const _0x5c883b=this[_0x299aea(0x11c)]();if(!_0x5c883b)return;this[_0x299aea(0x163)]['forEach'](_0x27242b=>{const _0x343c3d=_0x299aea;_0x27242b[_0x343c3d(0x224)]();});const {scene:_0x4fa96c}=_0x5c883b,_0x4352d2=Bi(Array['from'](_0x458755[_0x299aea(0x1c5)]()))[_0x299aea(0x1cb)](_0x341738=>{const _0x2c1edc=_0x299aea,{color:_0x190799,range:_0x4be79a,name:_0x2dcbf4,selection:_0x185b43,sheetID:_0x517901}=_0x341738,{startColumn:_0x31b868,startRow:_0x11133a,endColumn:_0x3e71f2,endRow:_0x561ed3}=_0x4be79a,_0x5c2ab0=_0x178719(_0x11133a,_0x31b868,_0x4fa96c,_0x2fff15),_0x372756=_0x178719(_0x561ed3,_0x3e71f2,_0x4fa96c,_0x2fff15),{columnHeaderHeightAndMarginTop:_0x458e70}=_0x2fff15,{startX:_0x3f9132,startY:_0x3f562c}=_0x5c2ab0,{endX:_0x140843,endY:_0x19adff}=_0x372756,_0x89bb71=_0x140843-_0x3f9132,_0x3a2418=_0x19adff-_0x3f562c,_0x349230={'labelPosition':_0x3f562c-_0x458e70>=te?_0x2c1edc(0xc1):'bottom','sheetID':_0x517901,'range':_0x4be79a,'color':_0x190799,'name':_0x2dcbf4,'selection':_0x185b43,'left':_0x3f9132,'top':_0x3f562c,'width':_0x89bb71,'height':_0x3a2418,'evented':!0x1,'zIndex':xi};return new Ai(_0x2dcbf4,_0x349230);});_0x4fa96c[_0x299aea(0x28a)](_0x4352d2,wi),this[_0x299aea(0x163)]=new Set(_0x4352d2);}[_0x8a45ae(0x253)](){const _0x42fa1a=_0x8a45ae;var _0x29bda4;(_0x29bda4=this[_0x42fa1a(0x163)])==null||_0x29bda4[_0x42fa1a(0xbd)](_0x3220c3=>_0x3220c3['dispose']());}['_getSheetObject'](){const _0x5a3cf8=_0x8a45ae;return _0x3281c2(this['_context'][_0x5a3cf8(0x25c)],this['_context']);}};Le=$i([pe(0x1,_0x2b29b5(_0x3d7376)),pe(0x2,_0x2b29b5(H)),pe(0x3,_0x2b29b5(_0x53e720))],Le);function Bi(_0x276d2a){const _0x383b62=_0x8a45ae,_0x3b6d01=new Map();return _0x276d2a[_0x383b62(0xbd)](_0x1911a7=>{const _0x5e12eb=_0x383b62;if(_0x3b6d01[_0x5e12eb(0x250)](_0x1911a7[_0x5e12eb(0x145)])){const _0x5e0a32=_0x3b6d01['get'](_0x1911a7['selection']);_0x5e0a32['name']+=',\x20'+_0x1911a7[_0x5e12eb(0x1dc)];}else _0x3b6d01[_0x5e12eb(0x19e)](_0x1911a7[_0x5e12eb(0x145)],_0x1911a7);}),Array[_0x383b62(0x158)](_0x3b6d01[_0x383b62(0x1c5)]());}var I=function(){const _0x149d33=_0x8a45ae;return I=Object[_0x149d33(0xb8)]||function(_0x5b87a8){const _0x3b6467=_0x149d33;for(var _0x2168b7,_0x3bc7c3=0x1,_0x487bfc=arguments[_0x3b6467(0x13d)];_0x3bc7c3<_0x487bfc;_0x3bc7c3++){_0x2168b7=arguments[_0x3bc7c3];for(var _0x6b6463 in _0x2168b7)Object[_0x3b6467(0x235)]['hasOwnProperty']['call'](_0x2168b7,_0x6b6463)&&(_0x5b87a8[_0x6b6463]=_0x2168b7[_0x6b6463]);}return _0x5b87a8;},I[_0x149d33(0xce)](this,arguments);},ki=function(_0x400d1a,_0x43884f){const _0x554454=_0x8a45ae;var _0x5e593a={};for(var _0x56b6e8 in _0x400d1a)Object[_0x554454(0x235)]['hasOwnProperty']['call'](_0x400d1a,_0x56b6e8)&&_0x43884f[_0x554454(0xd2)](_0x56b6e8)<0x0&&(_0x5e593a[_0x56b6e8]=_0x400d1a[_0x56b6e8]);if(_0x400d1a!=null&&typeof Object[_0x554454(0x111)]==_0x554454(0x285)){for(var _0x20595c=0x0,_0x56b6e8=Object['getOwnPropertySymbols'](_0x400d1a);_0x20595c<_0x56b6e8[_0x554454(0x13d)];_0x20595c++)_0x43884f[_0x554454(0xd2)](_0x56b6e8[_0x20595c])<0x0&&Object[_0x554454(0x235)][_0x554454(0x16a)]['call'](_0x400d1a,_0x56b6e8[_0x20595c])&&(_0x5e593a[_0x56b6e8[_0x20595c]]=_0x400d1a[_0x56b6e8[_0x20595c]]);}return _0x5e593a;},We=_0x42ccd7(function(_0x53e777,_0x4ba2b6){const _0x1fbb9e=_0x8a45ae;var _0x36f810=_0x53e777[_0x1fbb9e(0x1bb)],_0x1f165b=_0x53e777['id'],_0xc10480=_0x53e777[_0x1fbb9e(0xaa)],_0x2dc9ee=_0x53e777[_0x1fbb9e(0xbb)],_0x40e01a=ki(_0x53e777,[_0x1fbb9e(0x1bb),'id',_0x1fbb9e(0xaa),'extend']),_0x5c6850=_0x1fbb9e(0x254)['concat'](_0x1f165b,'\x20')[_0x1fbb9e(0x269)](_0xc10480||'')[_0x1fbb9e(0x29b)](),_0x356f3b=_0xeece5b('_'['concat'](Wi()));return Nt(_0x36f810,''[_0x1fbb9e(0x269)](_0x1f165b),{'defIds':_0x36f810['defIds'],'idSuffix':_0x356f3b[_0x1fbb9e(0x1aa)]},I({'ref':_0x4ba2b6,'className':_0x5c6850},_0x40e01a),_0x2dc9ee);});function Nt(_0x57d6f6,_0x3209c2,_0x3eca14,_0xe97f92,_0x44a44a){const _0x599475=_0x8a45ae;return _0x35d3d1(_0x57d6f6[_0x599475(0x20b)],I(I({'key':_0x3209c2},Hi(_0x57d6f6,_0x3eca14,_0x44a44a)),_0xe97f92),(ji(_0x57d6f6,_0x3eca14)[_0x599475(0xfb)]||[])[_0x599475(0x1cb)](function(_0x50f4fd,_0x563a33){const _0x41106d=_0x599475;return Nt(_0x50f4fd,''[_0x41106d(0x269)](_0x3209c2,'-')[_0x41106d(0x269)](_0x57d6f6[_0x41106d(0x20b)],'-')[_0x41106d(0x269)](_0x563a33),_0x3eca14,void 0x0,_0x44a44a);}));}function Hi(_0x31b56a,_0x1fb202,_0x59ffb1){const _0x43e20c=_0x8a45ae;var _0x214b85=I({},_0x31b56a['attrs']);_0x59ffb1!=null&&_0x59ffb1[_0x43e20c(0x16f)]&&_0x214b85[_0x43e20c(0x182)]==='colorChannel1'&&(_0x214b85['fill']=_0x59ffb1[_0x43e20c(0x16f)]),_0x31b56a[_0x43e20c(0x20b)]===_0x43e20c(0x17e)&&_0x214b85['id']&&(_0x214b85['id']=_0x214b85['id']+_0x1fb202[_0x43e20c(0x149)]),Object['entries'](_0x214b85)['forEach'](function(_0x2ff29e){const _0x17010e=_0x43e20c;var _0x1b19ae=_0x2ff29e[0x0],_0x406b6b=_0x2ff29e[0x1];_0x1b19ae===_0x17010e(0x17e)&&typeof _0x406b6b==_0x17010e(0xae)&&(_0x214b85[_0x1b19ae]=_0x406b6b['replace'](/url\(#(.*)\)/,_0x17010e(0x1d2)['concat'](_0x1fb202['idSuffix'],')')));});var _0x314c5a=_0x1fb202[_0x43e20c(0x20e)];return!_0x314c5a||_0x314c5a['length']===0x0||(_0x31b56a[_0x43e20c(0x20b)]===_0x43e20c(0x1a9)&&_0x214b85[_0x43e20c(0x1d8)]&&(_0x214b85['xlink:href']=_0x214b85['xlink:href']+_0x1fb202[_0x43e20c(0x149)]),Object[_0x43e20c(0xc4)](_0x214b85)[_0x43e20c(0xbd)](function(_0xbb6d1a){const _0x596199=_0x43e20c;var _0x5566c6=_0xbb6d1a[0x0],_0x5a5bd5=_0xbb6d1a[0x1];typeof _0x5a5bd5==_0x596199(0xae)&&(_0x214b85[_0x5566c6]=_0x5a5bd5[_0x596199(0x289)](/url\(#(.*)\)/,_0x596199(0x1d2)[_0x596199(0x269)](_0x1fb202['idSuffix'],')')));})),_0x214b85;}function ji(_0x38a32c,_0x88cfb4){const _0x318bf9=_0x8a45ae;var _0x27afbc,_0x2615a1=_0x88cfb4[_0x318bf9(0x20e)];return!_0x2615a1||_0x2615a1['length']===0x0?_0x38a32c:_0x38a32c[_0x318bf9(0x20b)]===_0x318bf9(0x275)&&(!((_0x27afbc=_0x38a32c[_0x318bf9(0xfb)])===null||_0x27afbc===void 0x0)&&_0x27afbc[_0x318bf9(0x13d)])?I(I({},_0x38a32c),{'children':_0x38a32c[_0x318bf9(0xfb)][_0x318bf9(0x1cb)](function(_0x40a40e){const _0xe239dd=_0x318bf9;return typeof _0x40a40e[_0xe239dd(0x239)]['id']=='string'&&_0x2615a1&&_0x2615a1['indexOf'](_0x40a40e[_0xe239dd(0x239)]['id'])>-0x1?I(I({},_0x40a40e),{'attrs':I(I({},_0x40a40e[_0xe239dd(0x239)]),{'id':_0x40a40e['attrs']['id']+_0x88cfb4['idSuffix']})}):_0x40a40e;})}):_0x38a32c;}function Wi(){const _0x554a10=_0x8a45ae;return Math[_0x554a10(0x1e3)]()[_0x554a10(0x26f)](0x24)['substring'](0x2,0x8);}We[_0x8a45ae(0xe1)]=_0x8a45ae(0x280);var Fi={'tag':_0x8a45ae(0x18a),'attrs':{'fill':_0x8a45ae(0x162),'viewBox':_0x8a45ae(0xf1),'width':_0x8a45ae(0x218),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x8a45ae(0x15c)},'children':[{'tag':_0x8a45ae(0x19c),'attrs':{'stroke':'currentColor','d':_0x8a45ae(0x1c0),'strokeLinecap':_0x8a45ae(0x160),'strokeLinejoin':_0x8a45ae(0x160),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x8a45ae(0x1e5),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x8a45ae(0xde),'d':_0x8a45ae(0x25b)}}]}]}],'defIds':[_0x8a45ae(0x21b)]},Ut=_0x42ccd7(function(_0x18dd2a,_0x1109d2){const _0x3fed60=_0x8a45ae;return _0x35d3d1(We,Object[_0x3fed60(0xb8)]({},_0x18dd2a,{'id':_0x3fed60(0x293),'ref':_0x1109d2,'icon':Fi}));});Ut['displayName']=_0x8a45ae(0x1c6);var Yi={'tag':_0x8a45ae(0x18a),'attrs':{'fill':'none','viewBox':_0x8a45ae(0x120),'width':_0x8a45ae(0x218),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x8a45ae(0x1be)},'children':[{'tag':_0x8a45ae(0x19c),'attrs':{'stroke':'currentColor','d':_0x8a45ae(0x1d9),'strokeLinecap':_0x8a45ae(0x160),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x8a45ae(0x275),'attrs':{},'children':[{'tag':_0x8a45ae(0x1e5),'attrs':{'id':_0x8a45ae(0x277)},'children':[{'tag':_0x8a45ae(0x19c),'attrs':{'fill':'#fff','d':_0x8a45ae(0x25b),'transform':_0x8a45ae(0xb4)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Mt=_0x42ccd7(function(_0xdb7ff7,_0x1a11c0){const _0x23b3db=_0x8a45ae;return _0x35d3d1(We,Object[_0x23b3db(0xb8)]({},_0xdb7ff7,{'id':'on-line-single','ref':_0x1a11c0,'icon':Yi}));});Mt[_0x8a45ae(0xe1)]=_0x8a45ae(0x1d3);const Vi=_0x8a45ae(0x172),Xi=_0x8a45ae(0x136),Gi='univer-online-status',Ki=_0x8a45ae(0x297),zi=_0x8a45ae(0x1de),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x1a37ab){const _0x12acc2=_0x8a45ae;switch(_0x1a37ab){case _0x460ca5[_0x12acc2(0x296)]:return'collabStatus.offline';case _0x460ca5[_0x12acc2(0x164)]:return _0x12acc2(0x238);case _0x460ca5[_0x12acc2(0x161)]:return _0x12acc2(0x1e4);case _0x460ca5[_0x12acc2(0x142)]:return'collabStatus.notCollab';case _0x460ca5['AWAITING']:case _0x460ca5['AWAITING_WITH_PENDING']:return _0x12acc2(0xd0);case _0x460ca5[_0x12acc2(0x26e)]:case _0x460ca5[_0x12acc2(0x1b6)]:return _0x12acc2(0x1f5);}}function Zi(_0x266d32){const _0x147bb3=_0x8a45ae,{status$:_0x35c22d}=_0x266d32,_0x31c153=_0x239d2c(_0x35c22d,_0x460ca5[_0x147bb3(0x142)]),_0x3d6529=_0x4d4de0(_0x37d948),_0x5e8185=_0x4d4de0(_0x104c61),_0x832732=_0x31c153!==_0x460ca5['OFFLINE'],_0x3bb41e=_0x3d6529['t'](Ji(_0x31c153)),_0x4b67e6=_0x125861(G[_0x147bb3(0xca)],{[G[_0x147bb3(0x191)]]:_0x832732,[G[_0x147bb3(0x187)]]:!_0x832732}),_0x1dd92b=_0x832732?_0x19dadc(Mt,{}):_0x19dadc(Ut,{}),_0x4c8826=_0x3df9d3(()=>{const _0x1e7ad0=_0x147bb3;_0x832732||_0x5e8185[_0x1e7ad0(0x295)]();},[_0x832732,_0x5e8185]);function _0x2b30c1(){const _0x3e5ef4=_0x147bb3;return _0xc44abd(_0x3e5ef4(0xe3),{'className':_0x125861(_0x4b67e6,_0x3e5ef4(0x20d)),'onClick':_0x4c8826,'children':[_0x19dadc('div',{'className':G[_0x3e5ef4(0x220)],'children':_0x1dd92b}),_0x19dadc(_0x3e5ef4(0xe3),{'className':G[_0x3e5ef4(0x1c8)],'children':_0x3bb41e})]});}return _0x832732?_0x2b30c1():_0x19dadc(_0x433c34,{'title':_0x3d6529['t']('collab-client.tooltip.reconnect'),'children':_0x2b30c1()});}var Qi=Object[_0x8a45ae(0x122)],qi=(_0x57e2d2,_0x420560,_0x572f99,_0x759a09)=>{const _0x3e8a6c=_0x8a45ae;for(var _0x3d321f=_0x759a09>0x1?void 0x0:_0x759a09?Qi(_0x420560,_0x572f99):_0x420560,_0x2be8b9=_0x57e2d2[_0x3e8a6c(0x13d)]-0x1,_0x5460a1;_0x2be8b9>=0x0;_0x2be8b9--)(_0x5460a1=_0x57e2d2[_0x2be8b9])&&(_0x3d321f=_0x5460a1(_0x3d321f)||_0x3d321f);return _0x3d321f;},q=(_0x539140,_0x145fd9)=>(_0x3a7678,_0x24de7c)=>_0x145fd9(_0x3a7678,_0x24de7c,_0x539140);let se=class extends _0xa082c6{constructor(_0x970054,_0x38562c,_0x411b0f,_0x12b464){const _0x3d15d3=_0x8a45ae;super(),_(this,'_status$',new _0x20d1b4(_0x460ca5[_0x3d15d3(0x142)])),(this[_0x3d15d3(0x19d)]=_0x970054,this[_0x3d15d3(0x110)]=_0x38562c,this[_0x3d15d3(0x9f)]=_0x411b0f,this[_0x3d15d3(0x247)]=_0x12b464,this[_0x3d15d3(0xaf)](),this[_0x3d15d3(0xac)]());}[_0x8a45ae(0xac)](){const _0x177acc=_0x8a45ae;this[_0x177acc(0xcc)](this[_0x177acc(0x19d)]['focused$']['pipe'](_0x10c81f(()=>{const _0x5b0a87=_0x177acc,_0x471948=this[_0x5b0a87(0x19d)][_0x5b0a87(0x17c)]();return _0x471948?this['_collaborationController'][_0x5b0a87(0x100)](_0x471948['getUnitId']()):_0x159153(null);}),_0x10c81f(_0x2c1155=>_0x2c1155?_0x2c1155[_0x177acc(0xdd)]:_0x159153(_0x460ca5[_0x177acc(0x142)])))[_0x177acc(0x276)](_0x4b112a=>{const _0x370460=_0x177acc;this[_0x370460(0x103)][_0x370460(0x15b)](_0x4b112a);}));}['_initStatusComponent'](){const _0x47e0a6=_0x8a45ae;this[_0x47e0a6(0xcc)](this[_0x47e0a6(0x247)][_0x47e0a6(0xe7)](_0x8d4548['HEADER_MENU'],()=>_0x44db3b(en({'status$':this[_0x47e0a6(0x103)]['asObservable']()}),this[_0x47e0a6(0x110)])));}};se=qi([q(0x0,_0x4f4b20),q(0x1,_0x2b29b5(_0x2e7518)),q(0x2,_0x2b29b5(_0x932fa4)),q(0x3,_0x52e0e9)],se);function en(_0x5e1f8c){const {status$:_0x2f885c}=_0x5e1f8c;return function(){return _0x19dadc(Zi,{'status$':_0x2f885c});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x1b4254,_0x5f0cc4,_0x3d5c0b,_0x101fbc)=>{const _0x51688e=_0x8a45ae;for(var _0x47ffc1=_0x101fbc>0x1?void 0x0:_0x101fbc?tn(_0x5f0cc4,_0x3d5c0b):_0x5f0cc4,_0x365290=_0x1b4254[_0x51688e(0x13d)]-0x1,_0x522353;_0x365290>=0x0;_0x365290--)(_0x522353=_0x1b4254[_0x365290])&&(_0x47ffc1=_0x522353(_0x47ffc1)||_0x47ffc1);return _0x47ffc1;},B=(_0x74636a,_0x3fbfad)=>(_0x178eae,_0x3e76fe)=>_0x3fbfad(_0x178eae,_0x3e76fe,_0x74636a);let ie=class extends _0xa082c6{constructor(_0x1198c0,_0xce23dd,_0xb72f4a,_0x1ab49a,_0x2f8abf,_0x2f0893){const _0xe3c478=_0x8a45ae;super(),this['_beforeCloseService']=_0x1198c0,this[_0xe3c478(0x178)]=_0xce23dd,this['_collaborationUIEventService']=_0xb72f4a,this[_0xe3c478(0xf4)]=_0x1ab49a,this[_0xe3c478(0x14b)]=_0x2f8abf,this['_localeService']=_0x2f0893,this[_0xe3c478(0x22f)](),this[_0xe3c478(0x1fe)]();}['_setupBeforeClosingHandler'](){const _0x43a646=_0x8a45ae;this[_0x43a646(0xcc)](this['_beforeCloseService'][_0x43a646(0x1a2)](()=>{const _0x1cff96=_0x43a646;if(this['_localCacheService']['saveTaskMap'][_0x1cff96(0x1da)])return this[_0x1cff96(0x22d)]['t'](_0x1cff96(0x1c9));}));}['_initEvent'](){const _0x111fa6=_0x8a45ae;this['disposeWithMe'](this[_0x111fa6(0x260)][_0x111fa6(0x171)][_0x111fa6(0x276)](_0x49870c=>{const _0x59a28f=_0x111fa6;_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x137)]&&this['_messageService'][_0x59a28f(0xa0)]({'type':_0x827df8[_0x59a28f(0x27a)],'content':this[_0x59a28f(0x22d)]['t'](_0x59a28f(0x20f))}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x1e0)]&&this[_0x59a28f(0xf4)]['show']({'type':_0x827df8[_0x59a28f(0x27a)],'content':this[_0x59a28f(0x22d)]['t'](_0x59a28f(0xd8))}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x237)]&&this[_0x59a28f(0x14b)][_0x59a28f(0xa0)]({'title':this['_localeService']['t'](_0x59a28f(0x230)),'content':this['_localeService']['t'](_0x59a28f(0x18b)),'type':_0x59a28f(0x1bd),'duration':0x0}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x164)]&&this[_0x59a28f(0xf4)][_0x59a28f(0xa0)]({'type':_0x827df8[_0x59a28f(0x1f7)],'content':this[_0x59a28f(0x22d)]['t']('collaboration.closeRoom')+'('+_0x49870c[_0x59a28f(0xe6)]+')'}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x138)]&&this[_0x59a28f(0xf4)]['show']({'type':_0x827df8[_0x59a28f(0x27a)],'content':this['_localeService']['t'](_0x49870c[_0x59a28f(0xe6)]||'')}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0xba)]&&this[_0x59a28f(0xf4)][_0x59a28f(0xa0)]({'type':_0x827df8[_0x59a28f(0x27a)],'content':this[_0x59a28f(0x22d)]['t']('session.will-retry')}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x1ef)]&&this[_0x59a28f(0xf4)]['show']({'type':_0x827df8[_0x59a28f(0x1f7)],'content':this[_0x59a28f(0x22d)]['t'](_0x59a28f(0x1d6))}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0xa9)]&&this[_0x59a28f(0xf4)][_0x59a28f(0xa0)]({'type':_0x827df8[_0x59a28f(0x1f7)],'content':this['_localeService']['t'](_0x59a28f(0x1a0))});}));}};ie=sn([B(0x0,_0x2310aa),B(0x1,_0x135604),B(0x2,_0x2b29b5(_0x568b91)),B(0x3,_0x1aa895),B(0x4,_0x4f7f0b),B(0x5,_0x2b29b5(_0x37d948))],ie);const nn=_0x8a45ae(0x25e),st={},Pt=_0x196305('uni.network.url-service');var rn=Object[_0x8a45ae(0x122)],on=(_0xf0bd12,_0x6ace14,_0x319588,_0x695511)=>{for(var _0x86619f=_0x695511>0x1?void 0x0:_0x695511?rn(_0x6ace14,_0x319588):_0x6ace14,_0x37f7c4=_0xf0bd12['length']-0x1,_0x34e370;_0x37f7c4>=0x0;_0x37f7c4--)(_0x34e370=_0xf0bd12[_0x37f7c4])&&(_0x86619f=_0x34e370(_0x86619f)||_0x86619f);return _0x86619f;},K=(_0x1eacf0,_0x43c1fe)=>(_0x3bed08,_0x297bb3)=>_0x43c1fe(_0x3bed08,_0x297bb3,_0x1eacf0);let ne=class extends _0x4ddb4d{constructor(_0x23565f,_0x23dca1,_0x2e3a94,_0x4e550c,_0x44b690){const _0x55d98b=_0x8a45ae;super(),this[_0x55d98b(0x1cc)]=_0x23565f,this[_0x55d98b(0x1ea)]=_0x23dca1,this[_0x55d98b(0xd1)]=_0x2e3a94,this[_0x55d98b(0xb9)]=_0x4e550c,_0x44b690?_0x44b690==null||_0x44b690[_0x55d98b(0x1e9)]()[_0x55d98b(0x24d)](()=>this[_0x55d98b(0x1a3)]()):(this[_0x55d98b(0x1ea)][_0x55d98b(0x184)]('[CollaborationDataLoaderController]',_0x55d98b(0x1b2)),this[_0x55d98b(0x1a3)]());}async[_0x8a45ae(0x1a3)](){const _0x5d0008=_0x8a45ae,_0x1b7c5d=this[_0x5d0008(0x1cc)]['getParam'](_0x5d0008(0x25c)),_0x74f263=this[_0x5d0008(0x1cc)][_0x5d0008(0x102)]('type'),_0x3e9ae6=this[_0x5d0008(0x1cc)][_0x5d0008(0x102)]('subunit');if(!_0x1b7c5d||!_0x74f263){this['_logService'][_0x5d0008(0x184)]('[CollaborationDataLoaderController]',_0x5d0008(0xff));return;}const _0x4d67c8=await this['_dataLoaderService'][_0x5d0008(0x1df)](_0x1b7c5d,Number(_0x74f263),_0x3e9ae6);_0x4d67c8&&_0x4d67c8 instanceof _0x4a032c&&this[_0x5d0008(0xab)](_0x4d67c8);}async[_0x8a45ae(0xab)](_0x409122){const _0xa0cac6=_0x8a45ae;await this[_0xa0cac6(0x14a)](_0x409122),_0x409122[_0xa0cac6(0x192)][_0xa0cac6(0x207)](_0x250db3(this[_0xa0cac6(0xfc)]))['subscribe'](_0x91d779=>{_0x91d779&&this['_updateURLWithCurrentState'](_0x91d779);}),this['_urlService'][_0xa0cac6(0x198)][_0xa0cac6(0x207)](_0x250db3(this[_0xa0cac6(0xfc)]))['subscribe'](()=>this[_0xa0cac6(0x14a)](_0x409122));}[_0x8a45ae(0x134)](_0x38db16,_0x262dd2=!0x1){const _0x51ae9a=_0x8a45ae,_0x4af4b2=this[_0x51ae9a(0x1cc)][_0x51ae9a(0x102)](_0x51ae9a(0x150));_0x38db16[_0x51ae9a(0xa8)]()!==_0x4af4b2&&this['_urlService']['setParam']('subunit',_0x38db16['getSheetId'](),_0x262dd2);}async[_0x8a45ae(0x14a)](_0x4c3cf2){const _0x1b09e8=_0x8a45ae;var _0xba1595;const _0xbc9c55=this[_0x1b09e8(0x1cc)][_0x1b09e8(0x102)](_0x1b09e8(0x150));if(!_0xbc9c55||!_0x4c3cf2[_0x1b09e8(0x12e)](_0xbc9c55)){const _0x1e1b0b=_0x4c3cf2[_0x1b09e8(0x1ba)]()[0x0],_0x3e4246=_0x4c3cf2[_0x1b09e8(0x12e)](_0x1e1b0b);if(!_0x3e4246)return;this[_0x1b09e8(0x134)](_0x3e4246,!0x0),await this[_0x1b09e8(0xd1)]['executeCommand'](_0x4366dd['id'],{'unitId':_0x4c3cf2['getUnitId'](),'subUnitId':_0x1e1b0b});return;}((_0xba1595=_0x4c3cf2[_0x1b09e8(0x157)]())==null?void 0x0:_0xba1595[_0x1b09e8(0xa8)]())!==_0xbc9c55&&await this['_commandService']['executeCommand'](_0x4366dd['id'],{'unitId':_0x4c3cf2[_0x1b09e8(0x23d)](),'subUnitId':_0xbc9c55});}};ne=on([K(0x0,Pt),K(0x1,_0x51df1a),K(0x2,_0x5a6621),K(0x3,_0x2b29b5(_0x41f9b8)),K(0x4,_0x45f2a6(_0x290c89))],ne);var an=Object[_0x8a45ae(0x122)],cn=(_0x13a053,_0x59a691,_0x5b88fa,_0x207317)=>{for(var _0x228dc8=_0x207317>0x1?void 0x0:_0x207317?an(_0x59a691,_0x5b88fa):_0x59a691,_0x472432=_0x13a053['length']-0x1,_0x21864f;_0x472432>=0x0;_0x472432--)(_0x21864f=_0x13a053[_0x472432])&&(_0x228dc8=_0x21864f(_0x228dc8)||_0x228dc8);return _0x228dc8;},Ce=(_0x173cc7,_0x1d19f8)=>(_0x56e3b8,_0x451cfe)=>_0x1d19f8(_0x56e3b8,_0x451cfe,_0x173cc7);let re=class{constructor(_0x1383ae,_0x5011c4,_0x233441){const _0x576469=_0x8a45ae;this[_0x576469(0x110)]=_0x1383ae,this[_0x576469(0x153)]=_0x5011c4,this[_0x576469(0x9d)]=_0x233441;}[_0x8a45ae(0xdc)](_0x44038b){const _0x46b309=_0x8a45ae;this[_0x46b309(0xa4)](_0x44038b),this[_0x46b309(0x1af)](_0x44038b);}['transformRemoteChangeset'](_0x392454){const _0x5ed6f0=_0x8a45ae,{unitID:_0x5a656d}=_0x392454,_0x43ca07=this['_renderManagerService']['getRenderById'](_0x5a656d)['with'](_0x1ea070),{redoCache:_0x5ce988}=_0x43ca07['getUndoRedoMutationParamsCache']();if(_0x5ce988['length']===0x0)return _0x392454;let _0x5003c7=_0x481080[_0x5ed6f0(0x19b)](_0x392454['mutations'][0x0]);for(let _0x526129=0x0;_0x526129<_0x5ce988['length'];_0x526129++){const _0x5f1db8={'id':_0x5ed6f0(0x1f6),'params':{..._0x5ce988[_0x526129]}},_0x5212a1=this['_transformService'][_0x5ed6f0(0x270)](_0x5003c7,_0x5f1db8,!0x1);if(_0xffda3b(_0x5212a1))throw _0x5212a1[_0x5ed6f0(0x1bd)];_0x5003c7=_0x5212a1[_0x5ed6f0(0x1ee)];}return{..._0x481080['deepClone'](_0x392454),'mutations':[_0x5003c7]};}[_0x8a45ae(0xa4)](_0x1ca9aa){const _0x1eb3e0=_0x8a45ae,{unitID:_0x47650a}=_0x1ca9aa,_0x49144d=this[_0x1eb3e0(0x9d)]['getRenderById'](_0x47650a)[_0x1eb3e0(0x287)](_0x1ea070),{undoCache:_0x39d77f,redoCache:_0x555b73}=_0x49144d[_0x1eb3e0(0x1f0)]();if(_0x39d77f['length']===0x0||_0x555b73[_0x1eb3e0(0x13d)]===0x0)return;const _0x75a16b=[],_0x9d06e=[];let _0x29a25a=_0x481080[_0x1eb3e0(0x19b)](_0x1ca9aa[_0x1eb3e0(0x11f)][0x0]),_0x12f112=_0x481080[_0x1eb3e0(0x19b)](_0x1ca9aa['mutations'][0x0]);for(let _0x3c883b=_0x39d77f['length']-0x1;_0x3c883b>=0x0;_0x3c883b--){const _0x367061={'id':_0x1eb3e0(0x1f6),'params':{..._0x39d77f[_0x3c883b]}},_0xf44d76={'id':'doc.mutation.rich-text-editing','params':{..._0x555b73[_0x3c883b]}},_0x79649d=this['_transformService'][_0x1eb3e0(0x270)](_0x29a25a,_0x367061,!0x1),_0x42a1d9=this[_0x1eb3e0(0x153)][_0x1eb3e0(0x270)](_0x12f112,_0xf44d76,!0x1);if(_0xffda3b(_0x79649d))throw _0x79649d[_0x1eb3e0(0x1bd)];if(_0xffda3b(_0x42a1d9))throw _0x42a1d9[_0x1eb3e0(0x1bd)];_0x75a16b[_0x1eb3e0(0x28f)](_0x79649d[_0x1eb3e0(0x1db)][_0x1eb3e0(0xf3)]),_0x9d06e[_0x1eb3e0(0x28f)](_0x42a1d9[_0x1eb3e0(0x1db)]['params']),_0x29a25a=_0x79649d[_0x1eb3e0(0x1ee)],_0x12f112=_0x42a1d9[_0x1eb3e0(0x1ee)];}_0x49144d[_0x1eb3e0(0x1b7)]({'undoCache':_0x75a16b,'redoCache':_0x9d06e});}[_0x8a45ae(0x1af)](_0xa94ba7){const _0x1a35a8=_0x8a45ae,{unitID:_0x4bd54c}=_0xa94ba7,_0x4f829c=this[_0x1a35a8(0x9d)][_0x1a35a8(0x21e)](_0x4bd54c)[_0x1a35a8(0x287)](_0x1ea070),_0x366a55=_0x4f829c[_0x1a35a8(0x19f)]();if(_0x366a55==null)return;const _0x2fdd8c=[{'id':_0x1a35a8(0x1f6),'params':{'unitId':_0xa94ba7[_0x1a35a8(0x126)],'actions':null,'textRanges':[_0x366a55]}}],_0x193ab2=this[_0x1a35a8(0x153)][_0x1a35a8(0x148)](_0xa94ba7,_0x2fdd8c);if(!_0xbc10d8(_0x193ab2))throw _0x193ab2[_0x1a35a8(0x1bd)];const _0x4adef6=_0x193ab2[_0x1a35a8(0x1db)][0x0][_0x1a35a8(0xf3)][_0x1a35a8(0xb5)];Array[_0x1a35a8(0xad)](_0x4adef6)&&_0x4adef6['length']&&_0x4f829c[_0x1a35a8(0xcf)](_0x4adef6[0x0]);}};re=cn([Ce(0x0,_0x2b29b5(_0x2e7518)),Ce(0x1,_0x5fd2c6),Ce(0x2,_0x21e07d)],re);var ln=Object[_0x8a45ae(0x122)],_n=(_0x3f7d67,_0x32130e,_0x2765f6,_0x21e88e)=>{for(var _0x4aaae9=_0x21e88e>0x1?void 0x0:_0x21e88e?ln(_0x32130e,_0x2765f6):_0x32130e,_0x40129b=_0x3f7d67['length']-0x1,_0x1c66d1;_0x40129b>=0x0;_0x40129b--)(_0x1c66d1=_0x3f7d67[_0x40129b])&&(_0x4aaae9=_0x1c66d1(_0x4aaae9)||_0x4aaae9);return _0x4aaae9;},Ee=(_0x94f56f,_0x228a23)=>(_0x156bee,_0x2c824e)=>_0x228a23(_0x156bee,_0x2c824e,_0x94f56f);let oe=class{constructor(_0x48d5d1,_0x23de8b,_0x468bac){const _0x6a80b8=_0x8a45ae;this[_0x6a80b8(0x110)]=_0x48d5d1,this['_transformService']=_0x23de8b,this[_0x6a80b8(0x119)]=_0x468bac;}[_0x8a45ae(0x1e6)](_0x40c85b){this['_transformHistoryAndStateStack'](_0x40c85b);}[_0x8a45ae(0x1fb)](_0x157a8f){const _0x493339=_0x8a45ae,{unitID:_0x487473}=_0x157a8f,{collaboration:_0x4ac27c}=this[_0x493339(0x119)]['getStateCache'](_0x487473);if(_0x4ac27c[_0x493339(0x13d)]===0x0)return _0x157a8f;let _0x49450d=_0x481080['deepClone'](_0x157a8f['mutations'][0x0]);for(let _0x270973=0x0;_0x270973<_0x4ac27c[_0x493339(0x13d)];_0x270973++){const _0x2bb16e={'id':_0x493339(0x1f6),'params':{'unitId':_0x4ac27c[_0x270973]['unitId'],..._0x4ac27c[_0x270973][_0x493339(0x23a)]}},_0x2e4e24=this[_0x493339(0x153)][_0x493339(0x270)](_0x49450d,_0x2bb16e,!0x1);if(_0xffda3b(_0x2e4e24))throw _0x2e4e24[_0x493339(0x1bd)];_0x49450d=_0x2e4e24[_0x493339(0x1ee)];}return{..._0x481080['deepClone'](_0x157a8f),'mutations':[_0x49450d]};}[_0x8a45ae(0x1e8)](_0x3bd2b4){const _0x55fbe1=_0x8a45ae,{unitID:_0x1b6781}=_0x3bd2b4,{history:_0xa5172b,collaboration:_0xf355e4}=this[_0x55fbe1(0x119)][_0x55fbe1(0x24f)](_0x1b6781);if(_0xa5172b['length']===0x0&&_0xf355e4[_0x55fbe1(0x13d)]===0x0)return;const _0x3d8401=[],_0x23ef7c=[];let _0x2a46ac=_0x481080[_0x55fbe1(0x19b)](_0x3bd2b4[_0x55fbe1(0x11f)][0x0]),_0x30288f=_0x481080[_0x55fbe1(0x19b)](_0x3bd2b4[_0x55fbe1(0x11f)][0x0]);for(let _0x51112b=_0xa5172b[_0x55fbe1(0x13d)]-0x1;_0x51112b>=0x0;_0x51112b--){const _0x57b4e2={'id':_0x55fbe1(0x1f6),'params':{'unitId':_0xa5172b[_0x51112b][_0x55fbe1(0x115)],..._0xa5172b[_0x51112b][_0x55fbe1(0x13c)]}},_0x183314={'id':_0x55fbe1(0x1f6),'params':{'unitId':_0xa5172b[_0x51112b][_0x55fbe1(0x115)],..._0xa5172b[_0x51112b][_0x55fbe1(0x23a)]}},_0x2c4a8f=this[_0x55fbe1(0x153)][_0x55fbe1(0x270)](_0x2a46ac,_0x57b4e2,!0x1),_0x2070b8=this[_0x55fbe1(0x153)][_0x55fbe1(0x270)](_0x30288f,_0x183314,!0x1);if(_0xffda3b(_0x2c4a8f))throw _0x2c4a8f[_0x55fbe1(0x1bd)];if(_0xffda3b(_0x2070b8))throw _0x2070b8[_0x55fbe1(0x1bd)];_0x3d8401[_0x55fbe1(0x28f)]({..._0xa5172b[_0x51112b],'undoState':_0x2c4a8f['m2Prime'][_0x55fbe1(0xf3)],'redoState':_0x2070b8['m2Prime'][_0x55fbe1(0xf3)]}),_0x2a46ac=_0x2c4a8f[_0x55fbe1(0x1ee)],_0x30288f=_0x2070b8['m1Prime'];}_0x2a46ac=_0x481080[_0x55fbe1(0x19b)](_0x3bd2b4[_0x55fbe1(0x11f)][0x0]),_0x30288f=_0x481080[_0x55fbe1(0x19b)](_0x3bd2b4[_0x55fbe1(0x11f)][0x0]);for(let _0x11ad39=_0xf355e4[_0x55fbe1(0x13d)]-0x1;_0x11ad39>=0x0;_0x11ad39--){const _0x248bb0={'id':_0x55fbe1(0x1f6),'params':{'unitId':_0xf355e4[_0x11ad39][_0x55fbe1(0x115)],..._0xf355e4[_0x11ad39][_0x55fbe1(0x13c)]}},_0x392be7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf355e4[_0x11ad39][_0x55fbe1(0x115)],..._0xf355e4[_0x11ad39]['redoState']}},_0x172846=this[_0x55fbe1(0x153)][_0x55fbe1(0x270)](_0x2a46ac,_0x248bb0,!0x1),_0x5545a0=this[_0x55fbe1(0x153)][_0x55fbe1(0x270)](_0x30288f,_0x392be7,!0x1);if(_0xffda3b(_0x172846))throw _0x172846[_0x55fbe1(0x1bd)];if(_0xffda3b(_0x5545a0))throw _0x5545a0['error'];_0x23ef7c[_0x55fbe1(0x28f)]({..._0xf355e4[_0x11ad39],'undoState':_0x172846[_0x55fbe1(0x1db)][_0x55fbe1(0xf3)],'redoState':_0x5545a0[_0x55fbe1(0x1db)][_0x55fbe1(0xf3)]}),_0x2a46ac=_0x172846[_0x55fbe1(0x1ee)],_0x30288f=_0x5545a0[_0x55fbe1(0x1ee)];}this[_0x55fbe1(0x119)][_0x55fbe1(0x28b)](_0x1b6781,{'history':_0x3d8401,'collaboration':_0x23ef7c});}};oe=_n([Ee(0x0,_0x2b29b5(_0x2e7518)),Ee(0x1,_0x5fd2c6),Ee(0x2,_0x2b29b5(_0x283fa4))],oe);var hn=Object[_0x8a45ae(0x122)],un=(_0x417a0d,_0x3ded56,_0x1a7220,_0x4cd064)=>{const _0x34f15b=_0x8a45ae;for(var _0x355a3c=_0x4cd064>0x1?void 0x0:_0x4cd064?hn(_0x3ded56,_0x1a7220):_0x3ded56,_0x5d9a06=_0x417a0d[_0x34f15b(0x13d)]-0x1,_0x1395fb;_0x5d9a06>=0x0;_0x5d9a06--)(_0x1395fb=_0x417a0d[_0x5d9a06])&&(_0x355a3c=_0x1395fb(_0x355a3c)||_0x355a3c);return _0x355a3c;},it=(_0x483bc5,_0x228211)=>(_0x25adb9,_0x48c410)=>_0x228211(_0x25adb9,_0x48c410,_0x483bc5);let ae=class{constructor(_0x3d07af,_0x43c88b){const _0x18889f=_0x8a45ae;this[_0x18889f(0x110)]=_0x3d07af,this[_0x18889f(0x153)]=_0x43c88b;}['transformSelections'](_0x5ae0b6){const _0x58bed4=_0x8a45ae;var _0x110c30;const _0x3de4b3=this[_0x58bed4(0x110)][_0x58bed4(0x273)](_0x31e6a8),_0x5505d4=(_0x110c30=_0x3de4b3[_0x58bed4(0x1a7)]())!=null?_0x110c30:[];if(_0x5505d4['length']===0x0)return;const _0x2f7447=_0x5ae0b6[_0x58bed4(0x126)],_0x4cd1dd=[{'id':_0x58bed4(0x1f6),'params':{'unitId':_0x2f7447,'actions':null,'textRanges':_0x5505d4}}],_0xbd2647=this[_0x58bed4(0x153)][_0x58bed4(0x148)](_0x5ae0b6,_0x4cd1dd);if(!_0xbc10d8(_0xbd2647))throw _0xbd2647[_0x58bed4(0x1bd)];const _0x39c5a8=_0xbd2647[_0x58bed4(0x1db)][0x0][_0x58bed4(0xf3)][_0x58bed4(0xb5)];Array[_0x58bed4(0xad)](_0x39c5a8)&&_0x39c5a8[_0x58bed4(0x13d)]&&_0x3de4b3[_0x58bed4(0x135)](_0x39c5a8,{'unitId':_0x2f7447,'subUnitId':_0x2f7447},!0x1);}};ae=un([it(0x0,_0x2b29b5(_0x2e7518)),it(0x1,_0x5fd2c6)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x37fcd5,_0x1b4fe6,_0x20e1e4,_0x18cd16)=>{for(var _0x33b7fa=_0x18cd16>0x1?void 0x0:_0x18cd16?dn(_0x1b4fe6,_0x20e1e4):_0x1b4fe6,_0x3fcf25=_0x37fcd5['length']-0x1,_0x4ad776;_0x3fcf25>=0x0;_0x3fcf25--)(_0x4ad776=_0x37fcd5[_0x3fcf25])&&(_0x33b7fa=_0x4ad776(_0x33b7fa)||_0x33b7fa);return _0x33b7fa;},U=(_0x1d0c4a,_0x1a2a33)=>(_0x5875f9,_0x2d36ab)=>_0x1a2a33(_0x5875f9,_0x2d36ab,_0x1d0c4a);let ce=class extends _0xa082c6{constructor(_0x5bd4e5,_0x3f492e,_0x2f5705,_0x4fed66,_0x423b7d,_0x52f1da,_0x44b5f4,_0x12f7b6){const _0x2764de=_0x8a45ae;super(),_(this,'_status$',new _0x20d1b4(_0x460ca5[_0x2764de(0x142)])),(this[_0x2764de(0x119)]=_0x5bd4e5,this[_0x2764de(0x9f)]=_0x3f492e,this[_0x2764de(0x180)]=_0x2f5705,this['_docTransformStateCacheService']=_0x4fed66,this['_docTransformSelectionsService']=_0x423b7d,this[_0x2764de(0x15f)]=_0x52f1da,this[_0x2764de(0xf4)]=_0x44b5f4,this['_localeService']=_0x12f7b6,this[_0x2764de(0x1d4)]());}[_0x8a45ae(0x1d4)](){const _0x28ae2c=_0x8a45ae;this['disposeWithMe'](this['_collaborationController']['entityInit$'][_0x28ae2c(0x276)](_0x495b39=>{const _0x1095a3=_0x28ae2c,_0x2d9d30=this[_0x1095a3(0x119)][_0x1095a3(0x1bf)][_0x1095a3(0x276)](_0xfbc022=>{const _0x21210d=_0x1095a3;if(_0xfbc022==null)return;const {unitId:_0x14e735,redoState:_0x2beac7,commandId:_0x1e53bb}=_0xfbc022;if(_0x14e735!==_0x495b39[_0x21210d(0x126)])return;const _0x3d0302={'id':_0x1e53bb,'type':_0x5232af[_0x21210d(0x28c)],'params':{'unitId':_0x14e735,'actions':_0x2beac7['actions'],'textRanges':null}};_0x495b39[_0x21210d(0x22e)](_0x3d0302);});if(_0x495b39[_0x1095a3(0xcc)](_0x2d9d30),_0x495b39 instanceof _0x450601){const _0x2c417e={'onTransformIME':_0x303726=>this[_0x1095a3(0x180)][_0x1095a3(0xdc)](_0x303726),'onTransformState':_0x16f501=>this['_docTransformStateCacheService']['transformStateCache'](_0x16f501),'onTransformSelections':_0x5339f0=>this[_0x1095a3(0xc5)][_0x1095a3(0xdf)](_0x5339f0),'onSyncEditingCollabCursor':_0x5bfc3e=>this[_0x1095a3(0x15f)]['syncEditingCollabCursor'](_0x5bfc3e),'onTransformRemoteChangesetByIMECache':_0x536b9a=>this[_0x1095a3(0x180)][_0x1095a3(0x1fb)](_0x536b9a),'onTransformRemoteChangesetByStateCache':_0x413e81=>this[_0x1095a3(0xa1)][_0x1095a3(0x1fb)](_0x413e81)};_0x495b39[_0x1095a3(0x12d)](_0x2c417e);}}));}};ce=fn([U(0x0,_0x2b29b5(_0x283fa4)),U(0x1,_0x2b29b5(_0x932fa4)),U(0x2,_0x2b29b5(re)),U(0x3,_0x2b29b5(oe)),U(0x4,_0x2b29b5(ae)),U(0x5,_0x2b29b5(je)),U(0x6,_0x1aa895),U(0x7,_0x2b29b5(_0x37d948))],ce);var Sn=Object[_0x8a45ae(0x122)],mn=(_0x593c9e,_0x438cae,_0x10758b,_0x1c2e46)=>{for(var _0x15c230=_0x1c2e46>0x1?void 0x0:_0x1c2e46?Sn(_0x438cae,_0x10758b):_0x438cae,_0x52141c=_0x593c9e['length']-0x1,_0x2533f7;_0x52141c>=0x0;_0x52141c--)(_0x2533f7=_0x593c9e[_0x52141c])&&(_0x15c230=_0x2533f7(_0x15c230)||_0x15c230);return _0x15c230;},be=(_0x4c6563,_0x4eda50)=>(_0x1ce62e,_0x5ceba4)=>_0x4eda50(_0x1ce62e,_0x5ceba4,_0x4c6563);let Ae=class extends _0xa082c6{constructor(_0x416aa5,_0x30de7c,_0x4f9498){const _0x3d9936=_0x8a45ae;super(),_(this,_0x3d9936(0x18c),new Map()),_(this,_0x3d9936(0x1f3),new Map()),_(this,'_disabled',!0x1),(this[_0x3d9936(0x12b)]=_0x416aa5,this[_0x3d9936(0x1b0)]=_0x30de7c,this[_0x3d9936(0x133)]=_0x4f9498);}[_0x8a45ae(0xd7)](){const _0x46ee73=_0x8a45ae;this[_0x46ee73(0x27b)]=!0x0;}[_0x8a45ae(0xbe)](){this['_disabled']=!0x1;}get[_0x8a45ae(0x272)](){const _0x2e448f=_0x8a45ae;return this[_0x2e448f(0x1f3)];}[_0x8a45ae(0x1e7)](){const _0x34e8de=_0x8a45ae;this[_0x34e8de(0xc3)]()['then'](()=>super[_0x34e8de(0x1e7)]());}async[_0x8a45ae(0x108)](_0x1f8480){const _0x23a69e=_0x8a45ae;return this[_0x23a69e(0x27b)]?null:this['_localStorageService'][_0x23a69e(0x154)](_0x7e3bae(_0x1f8480));}async[_0x8a45ae(0x282)](_0x18f5d6,_0x19ecff){const _0x1f9bc4=_0x8a45ae;return!!this[_0x1f9bc4(0x1b0)]['setItem'](_0x18f5d6,_0x19ecff);}[_0x8a45ae(0x252)](_0x2067db,_0x372e92,_0x4c6ce2,_0x47ab8c){const _0x83b2cb=_0x8a45ae,_0x53635e=this['_revisionService']['getCurrentRevOfUnit'](_0x2067db);this[_0x83b2cb(0x18c)][_0x83b2cb(0x19e)](_0x2067db,{'unitID':_0x2067db,'type':_0x372e92,'awaitingChangeset':_0x4c6ce2,'mutations':_0x47ab8c,'rev':_0x53635e}),this['_saveTaskMap'][_0x83b2cb(0x250)](_0x2067db)||this['_scheduleSaving'](_0x2067db);}[_0x8a45ae(0x27c)](_0x505c0f){const _0x50885e=_0x8a45ae,_0x1abd98=this[_0x50885e(0x27f)]();_0x1abd98===0x0?this['_saveCache'](_0x505c0f):this[_0x50885e(0x1f3)][_0x50885e(0x19e)](_0x505c0f,setTimeout(()=>this[_0x50885e(0x231)](_0x505c0f),_0x1abd98));}['_getSaveTimeout'](){const _0x4cbf62=_0x8a45ae;var _0x51ba6e;return(_0x51ba6e=this[_0x4cbf62(0x12b)][_0x4cbf62(0x125)](_0x4b9d1b))!=null?_0x51ba6e:_0xc29c80;}[_0x8a45ae(0x231)](_0x138f07){const _0x1ce5e7=_0x8a45ae,_0x402ec5=this['_saveTaskMap'][_0x1ce5e7(0x273)](_0x138f07);return _0x402ec5!==void 0x0&&window[_0x1ce5e7(0x1ad)](_0x402ec5),this[_0x1ce5e7(0x1b0)]['setItem'](_0x7e3bae(_0x138f07),this[_0x1ce5e7(0x18c)][_0x1ce5e7(0x273)](_0x138f07))['then'](()=>this[_0x1ce5e7(0x1f3)][_0x1ce5e7(0x156)](_0x138f07));}async[_0x8a45ae(0xc3)](){const _0x54f7a8=_0x8a45ae,_0xdfcb7d=[];this[_0x54f7a8(0x1f3)]['forEach']((_0x1c3e94,_0x43168d)=>{const _0x109a67=_0x54f7a8;window['clearTimeout'](_0x1c3e94),_0xdfcb7d[_0x109a67(0xe0)](this[_0x109a67(0x231)](_0x43168d)[_0x109a67(0x24d)](()=>{const _0x52886c=_0x109a67;this['_saveTaskMap'][_0x52886c(0x156)](_0x43168d);}));}),await Promise['all'](_0xdfcb7d);}};Ae=mn([be(0x0,_0x1e088a),be(0x1,_0x2cd436),be(0x2,_0x2b29b5(_0xbdef))],Ae);class gn extends _0x4ddb4d{constructor(){const _0x5669f3=_0x8a45ae;super(),_(this,_0x5669f3(0x198)),this[_0x5669f3(0x198)]=_0x19cc2d(window,'popstate')[_0x5669f3(0x207)](_0x250db3(this[_0x5669f3(0xfc)]),_0xdae981(0x1),_0x5e7255(void 0x0));}[_0x8a45ae(0x264)](_0x317b89,_0x24686e,_0x5a43e2=!0x1){const _0x1b4c3c=_0x8a45ae,_0x563f9a=new URL(window['location']['href']);_0x563f9a['searchParams'][_0x1b4c3c(0x19e)](_0x317b89,_0x24686e),_0x5a43e2?window[_0x1b4c3c(0x25d)][_0x1b4c3c(0x13e)]('','',_0x563f9a[_0x1b4c3c(0x26f)]()):window['history'][_0x1b4c3c(0xbc)]('','',_0x563f9a[_0x1b4c3c(0x26f)]());}['removeParam'](_0x42a461,_0x3f60bd=!0x1){const _0x24db72=_0x8a45ae,_0x336a38=new URL(window[_0x24db72(0x1eb)][_0x24db72(0xe4)]);_0x336a38[_0x24db72(0x229)][_0x24db72(0x156)](_0x42a461),_0x3f60bd?window[_0x24db72(0x25d)][_0x24db72(0x13e)]('','',_0x336a38[_0x24db72(0x26f)]()):window['history'][_0x24db72(0xbc)]('','',_0x336a38[_0x24db72(0x26f)]());}[_0x8a45ae(0x102)](_0x5e37b3){const _0x20a2de=_0x8a45ae;var _0x3abc96;return(_0x3abc96=new URL(window[_0x20a2de(0x1eb)][_0x20a2de(0xe4)])[_0x20a2de(0x229)]['get'](_0x5e37b3))!=null?_0x3abc96:void 0x0;}}var vn=Object[_0x8a45ae(0x24a)],In=Object[_0x8a45ae(0x122)],pn=(_0x46389a,_0x12574c,_0x5628c2)=>_0x12574c in _0x46389a?vn(_0x46389a,_0x12574c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5628c2}):_0x46389a[_0x12574c]=_0x5628c2,Cn=(_0x255c9a,_0x62d7e4,_0x767996,_0x1d0c0c)=>{const _0x19a189=_0x8a45ae;for(var _0x23e25c=_0x1d0c0c>0x1?void 0x0:_0x1d0c0c?In(_0x62d7e4,_0x767996):_0x62d7e4,_0x50b125=_0x255c9a[_0x19a189(0x13d)]-0x1,_0x328b5b;_0x50b125>=0x0;_0x50b125--)(_0x328b5b=_0x255c9a[_0x50b125])&&(_0x23e25c=_0x328b5b(_0x23e25c)||_0x23e25c);return _0x23e25c;},Oe=(_0x3cd52c,_0x573b4b)=>(_0x33a459,_0x351e51)=>_0x573b4b(_0x33a459,_0x351e51,_0x3cd52c),En=(_0x30b5e3,_0x4b0bce,_0x2aef34)=>pn(_0x30b5e3,_0x4b0bce+'',_0x2aef34);const bn=_0x8a45ae(0xf9);let ye=class extends _0x4a13b9{constructor(_0x1f5314=st,_0x5266b9,_0x1220b9,_0x377913){const _0x1138a0=_0x8a45ae;super(),this[_0x1138a0(0x105)]=_0x1f5314,this[_0x1138a0(0x9d)]=_0x5266b9,this['_injector']=_0x1220b9,this[_0x1138a0(0x12b)]=_0x377913;const {..._0x15ee6d}=_0x3aa292({},st,this[_0x1138a0(0x105)]);this['_configService'][_0x1138a0(0x152)](nn,_0x15ee6d);}[_0x8a45ae(0x1b8)](){const _0x2804fa=_0x8a45ae;this[_0x2804fa(0x1a5)](),this[_0x2804fa(0x22c)]();}[_0x8a45ae(0x101)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x11741a=_0x8a45ae;var _0x5acd3e;const _0x32bc90=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x7242ab,{'useClass':_0x209a8c}],[_0x135604,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x2a50b9(this[_0x11741a(0x110)],_0x2a2089(_0x32bc90,(_0x5acd3e=this[_0x11741a(0x105)])==null?void 0x0:_0x5acd3e[_0x11741a(0x21f)]));}['_registerRenderDependencies'](){const _0x581fd8=_0x8a45ae;this[_0x581fd8(0xcc)](this['_renderManagerService'][_0x581fd8(0x212)](_0x5e7335['UNIVER_DOC'],[we])),this[_0x581fd8(0xcc)](this[_0x581fd8(0x9d)][_0x581fd8(0x212)](_0x5e7335[_0x581fd8(0x23b)],[Le]));}[_0x8a45ae(0x22c)](){_0x12a5a3(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x8a45ae(0xea),bn),ye=Cn([_0x7b066b(_0xccc148),Oe(0x1,_0x21e07d),Oe(0x2,_0x2b29b5(_0x2e7518)),Oe(0x3,_0x1e088a)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0x5589e3,_0x2d8989,_0x2dca2f,_0x26a0bc)=>{for(var _0x9008dc=_0x26a0bc>0x1?void 0x0:_0x26a0bc?On(_0x2d8989,_0x2dca2f):_0x2d8989,_0x14078a=_0x5589e3['length']-0x1,_0x5074f2;_0x14078a>=0x0;_0x14078a--)(_0x5074f2=_0x5589e3[_0x14078a])&&(_0x9008dc=_0x5074f2(_0x9008dc)||_0x9008dc);return _0x9008dc;},z=(_0x2688ee,_0x369431)=>(_0x460e8d,_0x4511df)=>_0x369431(_0x460e8d,_0x4511df,_0x2688ee);let nt=class extends _0x525153{constructor(_0xec4d8,_0x19cc92,_0x28d326,_0x30104e,_0x4b56a9){super(_0xec4d8,_0x19cc92,_0x28d326,_0x30104e,_0x4b56a9);}async['createSocket'](_0x374dac){const _0x3ba9e6=_0x8a45ae,_0x69481d=await this[_0x3ba9e6(0x259)](),_0x47553c=this[_0x3ba9e6(0x228)](_0x374dac,_0x69481d);return this[_0x3ba9e6(0x299)](_0x47553c);}[_0x8a45ae(0x228)](_0x43e602,_0x11d8f7){const _0x50ef68=_0x8a45ae,_0x34c1ff=typeof window>'u'?new URL(_0x43e602):new URL(_0x43e602,window[_0x50ef68(0x1eb)]['origin']);_0x34c1ff['searchParams'][_0x50ef68(0x19e)](_0x50ef68(0x14d),_0x11d8f7);const _0x52e814=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50ef68(0x1eb)][_0x50ef68(0x21c)]);return _0x52e814['get'](_0x50ef68(0x205))&&_0x34c1ff['searchParams']['set'](_0x50ef68(0x205),_0x52e814['get'](_0x50ef68(0x205))),_0x34c1ff['toString']();}async[_0x8a45ae(0x259)](){const _0x58c4ca=_0x8a45ae;var _0x2e78cf,_0x164450,_0x4fff78;const _0x1ac099=this[_0x58c4ca(0x12b)][_0x58c4ca(0x125)](_0x38daa0),_0x1bea34=(_0x2e78cf=_0x1ac099==null?void 0x0:_0x1ac099[_0x58c4ca(0x17f)])!=null?_0x2e78cf:_0x37551d;return(_0x4fff78=(_0x164450=(await this[_0x58c4ca(0xcd)]['get'](_0x1bea34,{'headers':{'Content-Type':_0x58c4ca(0x13f)}}))[_0x58c4ca(0xf5)])==null?void 0x0:_0x164450[_0x58c4ca(0x173)])!=null?_0x4fff78:'';}};nt=Tn([z(0x0,_0x2b29b5(_0x2e7518)),z(0x1,_0x2b29b5(_0x7c70a1)),z(0x2,_0x1e088a),z(0x3,_0x51df1a),z(0x4,_0x1fb2dd)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0xa082c6{constructor(){const _0x2e8a5a=_0x8a45ae;super(),_(this,'_id',_0x241725()),_(this,_0x2e8a5a(0x20a),new Set()),_(this,_0x2e8a5a(0xda),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x2e8a5a(0x271),new Map()),_(this,_0x2e8a5a(0x1fd),new Map()),this['_init']();}[_0x8a45ae(0x1e7)](){const _0x3c9316=_0x8a45ae;super['dispose'](),this['_clearOtherTimers'][_0x3c9316(0xbd)]((_0x1bcc0b,_0x8cee11)=>this[_0x3c9316(0x16d)](_0x8cee11)),this['_heartbeatTimer']&&window[_0x3c9316(0xc7)](this[_0x3c9316(0x114)]);}[_0x8a45ae(0x17b)](_0x421eb4){const _0x8fab82=_0x8a45ae;return this[_0x8fab82(0x1b1)](_0x421eb4)[_0x8fab82(0x207)](_0x314756());}['editingUnit'](_0xaa8c2b){const _0x304051=_0x8a45ae;this[_0x304051(0x20a)]['size']===0x0&&this[_0x304051(0x1dd)](),this['_selfUnitIDs'][_0x304051(0x283)](_0xaa8c2b),this[_0x304051(0x16b)]({'type':0x0,'memberID':this[_0x304051(0x118)],'unitIDs':[_0xaa8c2b],'isForwarded':!0x1});}[_0x8a45ae(0x281)](_0x4699f2){const _0x1392fc=_0x8a45ae;this[_0x1392fc(0x20a)][_0x1392fc(0x156)](_0x4699f2),this[_0x1392fc(0x20a)][_0x1392fc(0x1da)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x1392fc(0x114)]);}[_0x8a45ae(0x1a3)](){const _0x5d4eb9=_0x8a45ae;this['disposeWithMe'](_0x2bea03(_0x19cc2d(window,_0x5d4eb9(0x23f))['subscribe'](_0x127d0e=>{const _0xdaf8ba=_0x5d4eb9;if(_0x127d0e[_0xdaf8ba(0x15e)]!==ot||!_0x127d0e[_0xdaf8ba(0x12a)])return;const _0x150655=JSON[_0xdaf8ba(0x241)](_0x127d0e[_0xdaf8ba(0x12a)]);this[_0xdaf8ba(0x216)](_0x150655);}))),window[_0x5d4eb9(0x9c)](_0x5d4eb9(0x1f1),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x5d4eb9(0x20a)])}));}['_handleEvent'](_0x17809f){const _0x4610d3=_0x8a45ae;switch(_0x17809f[_0x4610d3(0x204)]){case 0x0:this['_handleJoinEvent'](_0x17809f);break;case 0x1:this[_0x4610d3(0x193)](_0x17809f);break;case 0x2:this[_0x4610d3(0x211)](_0x17809f);break;}}[_0x8a45ae(0x185)](_0x310ad3){const _0x467b08=_0x8a45ae,{unitIDs:_0x1942f9,memberID:_0x4ea489,isForwarded:_0x34026c}=_0x310ad3;_0x1942f9[_0x467b08(0xbd)](_0x451cec=>{const _0x1dc45d=_0x467b08;if(!_0x34026c&&this[_0x1dc45d(0xda)][_0x1dc45d(0x250)](_0x451cec)&&this[_0x1dc45d(0x1b1)](_0x451cec)[_0x1dc45d(0x15b)](_0x1f3ed9[_0x1dc45d(0xc8)]),!this[_0x1dc45d(0xda)]['has'](_0x451cec)||!this['_unitOnClients']['get'](_0x451cec)[_0x1dc45d(0x250)](_0x4ea489)){const _0x49a241=this[_0x1dc45d(0xda)][_0x1dc45d(0x273)](_0x451cec)||new Set();_0x49a241['add'](_0x4ea489),this['_unitOnClients']['set'](_0x451cec,_0x49a241),this['_scheduleClearOtherTimer'](_0x4ea489);}}),_0x34026c||this[_0x467b08(0x16b)]({'type':0x0,'memberID':this[_0x467b08(0x118)],'unitIDs':[...this[_0x467b08(0x20a)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x177c82){const _0x27fc8f=_0x8a45ae;this['_removeClearOtherTimer'](_0x177c82);const _0x2d0be1=window[_0x27fc8f(0x25f)](()=>{const _0x583689=_0x27fc8f;this[_0x583689(0xda)][_0x583689(0xbd)](_0x346433=>{const _0x45df87=_0x583689;_0x346433[_0x45df87(0x156)](_0x177c82);});},rt*0x2);this[_0x27fc8f(0x271)][_0x27fc8f(0x19e)](_0x177c82,_0x2d0be1);}[_0x8a45ae(0x16d)](_0x343454){const _0x47133b=_0x8a45ae;if(this[_0x47133b(0x271)][_0x47133b(0x250)](_0x343454)){const _0x1b94db=this[_0x47133b(0x271)][_0x47133b(0x273)](_0x343454);_0x1b94db&&window[_0x47133b(0x1ad)](_0x1b94db),this[_0x47133b(0x271)][_0x47133b(0x19e)](_0x343454,null);}}['_handleLeaveEvent'](_0xa84875){const _0x4e2f32=_0x8a45ae,{memberID:_0x5b3557,unitIDs:_0x595695}=_0xa84875;_0x595695[_0x4e2f32(0xbd)](_0x5a4210=>{const _0x256a42=_0x4e2f32;var _0x2697a1;const _0x586db9=this['_unitOnClients'][_0x256a42(0x273)](_0x5a4210);_0x586db9&&(_0x586db9[_0x256a42(0x156)](_0x5b3557),(_0x2697a1=this['_ensureSubject'](_0x5a4210))==null||_0x2697a1[_0x256a42(0x15b)](_0x586db9[_0x256a42(0x1da)]===0x0?_0x1f3ed9[_0x256a42(0x274)]:_0x1f3ed9['OTHER_CLIENTS_EDITING']));}),this[_0x4e2f32(0x16d)](_0x5b3557);}[_0x8a45ae(0x211)](_0x54f899){const _0x81b71=_0x8a45ae;this[_0x81b71(0x141)](_0x54f899[_0x81b71(0x240)]);}['_send'](_0x3890d5){const _0x24acee=_0x8a45ae;localStorage[_0x24acee(0xf2)](ot,JSON[_0x24acee(0x107)](_0x3890d5));}[_0x8a45ae(0x1dd)](){const _0x5b63c1=_0x8a45ae;this['_heartbeatTimer']=window[_0x5b63c1(0x236)](()=>{const _0x1a4d13=_0x5b63c1;this[_0x1a4d13(0x16b)]({'type':0x2,'memberID':this['_id']});},rt);}['_ensureSubject'](_0x1cb2c2){const _0x429f06=_0x8a45ae;return this[_0x429f06(0x1fd)][_0x429f06(0x250)](_0x1cb2c2)||this[_0x429f06(0x1fd)][_0x429f06(0x19e)](_0x1cb2c2,new _0x20d1b4(_0x1f3ed9[_0x429f06(0x274)])),this[_0x429f06(0x1fd)]['get'](_0x1cb2c2);}}var wt=(_0xd3bd85=>(_0xd3bd85[_0xd3bd85['UNDEFINED']=0x0]=_0x8a45ae(0x11d),_0xd3bd85[_0xd3bd85['OK']=0x1]='OK',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1ed)]=0x2]='INTERNAL_ERROR',_0xd3bd85[_0xd3bd85['PERMISSION_DENIED']=0x3]=_0x8a45ae(0x237),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x124)]=0x4]=_0x8a45ae(0x124),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x29c)]=0x5]=_0x8a45ae(0x29c),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1ae)]=0x6]='ALREADY_EXISTS',_0xd3bd85[_0xd3bd85['INVALID_ARGUMENT']=0x7]=_0x8a45ae(0x113),_0xd3bd85[_0xd3bd85['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0xd3bd85[_0xd3bd85['COMPLETION_FINISHED']=0x9]=_0x8a45ae(0x292),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1ca)]=0xa]=_0x8a45ae(0x1ca),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1fa)]=0x1389]=_0x8a45ae(0x1fa),_0xd3bd85[_0xd3bd85['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xd3bd85[_0xd3bd85[_0x8a45ae(0xeb)]=0x1772]=_0x8a45ae(0xeb),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x147)]=0x1773]=_0x8a45ae(0x147),_0xd3bd85[_0xd3bd85['APPLY_REJECT']=0x1b59]=_0x8a45ae(0xb1),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x217)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xd3bd85[_0xd3bd85['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0xd3bd85[_0xd3bd85[_0x8a45ae(0xd6)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1ab)]=0x1b5d]='APPLY_DUPLICATED',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x116)]=0x1f41]=_0x8a45ae(0x116),_0xd3bd85[_0xd3bd85[_0x8a45ae(0xc6)]=0x2329]=_0x8a45ae(0xc6),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x189)]=0x232a]=_0x8a45ae(0x189),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1ec)]=0x232b]=_0x8a45ae(0x1ec),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x132)]=0x232c]=_0x8a45ae(0x132),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x181)]=0x232d]=_0x8a45ae(0x181),_0xd3bd85[_0xd3bd85['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x18d)]=0x2712]=_0x8a45ae(0x18d),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x121)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x288)]=0x2714]=_0x8a45ae(0x288),_0xd3bd85[_0xd3bd85['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x8a45ae(0x29e),_0xd3bd85[_0xd3bd85[_0x8a45ae(0xc9)]=0x271b]=_0x8a45ae(0xc9),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x25a)]=0x2af9]=_0x8a45ae(0x25a),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x190)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xd3bd85[_0xd3bd85['INVALID_INVITE_CODE']=0x2ee2]=_0x8a45ae(0x14e),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x215)]=0x2ee3]=_0x8a45ae(0x215),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1e2)]=0x2ee4]=_0x8a45ae(0x1e2),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x176)]=0x2ee5]=_0x8a45ae(0x176),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x186)]=0x32c9]=_0x8a45ae(0x186),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x249)]=0x32ca]=_0x8a45ae(0x249),_0xd3bd85[_0xd3bd85['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x23c)]=-0x1]=_0x8a45ae(0x23c),_0xd3bd85))(wt||{}),Rn=Object[_0x8a45ae(0x122)],Dn=(_0x13161c,_0x2bd8dc,_0x5e9148,_0x3b4169)=>{const _0x478153=_0x8a45ae;for(var _0x4f99b5=_0x3b4169>0x1?void 0x0:_0x3b4169?Rn(_0x2bd8dc,_0x5e9148):_0x2bd8dc,_0x34f091=_0x13161c[_0x478153(0x13d)]-0x1,_0x19cf52;_0x34f091>=0x0;_0x34f091--)(_0x19cf52=_0x13161c[_0x34f091])&&(_0x4f99b5=_0x19cf52(_0x4f99b5)||_0x4f99b5);return _0x4f99b5;},Te=(_0x4a3f79,_0x442ffc)=>(_0x29060e,_0x2f8a99)=>_0x442ffc(_0x29060e,_0x2f8a99,_0x4a3f79);let at=class extends _0xa082c6{constructor(_0x108148,_0x415b71,_0x1a8fab){const _0x11e8d5=_0x8a45ae;super(),this[_0x11e8d5(0x19a)]=_0x108148,this['_httpService']=_0x415b71,this[_0x11e8d5(0x12b)]=_0x1a8fab;}async['runOnServer'](_0x105e45,_0x574ff1,_0x722579,..._0x2ef44f){const _0x306fd6=_0x8a45ae;var _0x3e692e,_0x4758b8,_0x5cb5ed,_0x18e39d;const _0x4a392c=this[_0x306fd6(0x19a)][_0x306fd6(0x17c)]();if(!_0x4a392c)throw new Error(_0x306fd6(0x243));const _0x430d0d=((_0x3e692e=this['_configService'][_0x306fd6(0x125)](_0x3f6d9a))!=null?_0x3e692e:_0x58c253)+'/'+_0x105e45+_0x306fd6(0x1c4)+_0x574ff1,_0x1f9bc9=new URL(window[_0x306fd6(0x1eb)][_0x306fd6(0xe4)]),_0x5a48fb={'scriptId':_0x105e45,'runId':(_0x4758b8=_0x1f9bc9[_0x306fd6(0x229)][_0x306fd6(0x273)](_0x306fd6(0x205)))!=null?_0x4758b8:'','function':_0x574ff1,'unitId':_0x4a392c[_0x306fd6(0x23d)](),'argsOfFunction':JSON[_0x306fd6(0x107)](_0x2ef44f),'invokeId':(_0x5cb5ed=_0x722579['invokeId'])!=null?_0x5cb5ed:'','executionId':(_0x18e39d=_0x722579[_0x306fd6(0x214)])!=null?_0x18e39d:''};try{const _0x4797b2=await this['_httpService'][_0x306fd6(0x177)](_0x430d0d,{'body':_0x5a48fb});return _0x4797b2[_0x306fd6(0xf5)]['error']&&_0x4797b2[_0x306fd6(0xf5)]['error'][_0x306fd6(0x1bc)]!==wt['OK']?'Failed':_0x4797b2[_0x306fd6(0xf5)][_0x306fd6(0x268)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x4f4b20),Te(0x1,_0x2b29b5(_0x7c70a1)),Te(0x2,_0x1e088a)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
|
1
|
+
const _0x86a805=_0x4594;(function(_0x451c2e,_0x58ed4d){const _0x2e0fae=_0x4594,_0x54b286=_0x451c2e();while(!![]){try{const _0x235149=-parseInt(_0x2e0fae(0x1f2))/0x1*(parseInt(_0x2e0fae(0x373))/0x2)+-parseInt(_0x2e0fae(0x196))/0x3*(parseInt(_0x2e0fae(0x2de))/0x4)+-parseInt(_0x2e0fae(0x215))/0x5+-parseInt(_0x2e0fae(0x1c2))/0x6*(-parseInt(_0x2e0fae(0x2ec))/0x7)+parseInt(_0x2e0fae(0x259))/0x8*(-parseInt(_0x2e0fae(0x306))/0x9)+-parseInt(_0x2e0fae(0x252))/0xa+parseInt(_0x2e0fae(0x22c))/0xb*(parseInt(_0x2e0fae(0x213))/0xc);if(_0x235149===_0x58ed4d)break;else _0x54b286['push'](_0x54b286['shift']());}catch(_0x39f0cf){_0x54b286['push'](_0x54b286['shift']());}}}(_0x1d15,0x6b9ae));var Bt=Object[_0x86a805(0x33d)],kt=(_0x4353a7,_0x4a732d,_0x1e92d2)=>_0x4a732d in _0x4353a7?Bt(_0x4353a7,_0x4a732d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e92d2}):_0x4353a7[_0x4a732d]=_0x1e92d2,_=(_0xa18c14,_0xbfd991,_0x20bf12)=>kt(_0xa18c14,typeof _0xbfd991!=_0x86a805(0x178)?_0xbfd991+'':_0xbfd991,_0x20bf12);import{MemberService as _0x4254e9,SessionStatus as _0x48c2ef,CollaborationSessionService as _0x1c0a48,CollaborationStatus as _0x185889,CollaborationController as _0x1c5104,ILocalCacheService as _0x2f93fc,CollaborationUIEventService as _0x1237de,CollaborationUIEventId as _0x57be84,DataLoaderService as _0x31df32,DocCollaborationEntity as _0x5706ec,getLocalCacheKey as _0x3362f8,LOCAL_CACHE_INTERVAL as _0x2cc217,LOCAL_CACHE_INTERVAL_KEY as _0x1160db,UniverCollaborationClientPlugin as _0x3ae7ce,CollaborationSocketService as _0xc74cd5,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x33a672,DEFAULT_WS_SESSION_TICKET_URL as _0x2702ba,UnitStatus as _0x8c34b9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1374d1,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x113642}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0xb123e2,Disposable as _0x413335,DOC_RANGE_TYPE as _0x30e768,Inject as _0x545293,Injector as _0xd016db,IUniverInstanceService as _0x3b4d53,ICommandService as _0x27119f,debounce as _0x395ecb,Rectangle as _0x4392ad,DisposableCollection as _0x377b6b,toDisposable as _0x571cee,UniverInstanceType as _0x5e1ff3,Tools as _0x168ff4,COLORS as _0x26d279,ColorKit as _0x2e19d1,ThemeService as _0x1eaa15,fromEventSubject as _0x580ec3,LocaleService as _0x31b4bf,createIdentifier as _0x571548,ILogService as _0x1439a0,Optional as _0x3026a9,Workbook as _0x1038c2,CommandType as _0x29bf00,IConfigService as _0x48306b,ILocalStorageService as _0x3734d1,DependentOn as _0x49e5b2,Plugin as _0x51a27e,merge as _0x27f3ab,registerDependencies as _0x541539,mergeOverrideWithDependencies as _0x2c8e86,touchDependencies as _0xd5aa2e,generateRandomId as _0x49a986}from'@univerjs/core';import{Shape as _0x48deee,Rect as _0x48588e,getColor as _0xf39730,RegularPolygon as _0x59edba,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x295533,Vector2 as _0x5c22fd,SHEET_VIEWPORT_KEY as _0x1bde1a,IRenderManagerService as _0x293f75}from'@univerjs/engine-render';import{ISocketService as _0x97dc22,WebSocketService as _0x49dc8d,HTTPService as _0x231e97}from'@univerjs/network';import{IDocClipboardService as _0x2c8b74,NodePositionConvertToCursor as _0x3d8185,NodePositionConvertToRectRange as _0x6af631,TEXT_RANGE_LAYER_INDEX as _0x2b96c7,SetDocZoomRatioOperation as _0x24bb32,DocIMEInputManagerService as _0x34b76a,DocStateChangeManagerService as _0x54f7c6}from'@univerjs/docs-ui';import{IImageIoService as _0x165249}from'@univerjs/drawing';function _0x1d15(){const _0x49adcc=['event$','getActiveRange','getItem','_univerInstanceService','editingUnit','setTimeout','PERMISSION_DENIED','_collabSessionService','tag','session.will-retry','collab-rect-range-','currentColor','subscribe','11534633EANlyC','HEADER_MENU','_getSessionTicket','translate(.97)','show','_initResize','arc','_memberService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getUnitId','_anchor','eventID','LICENSE_IMPORT_SIZE_EXCEEDED','getMemberID','mutations','_toggleOffline','m1Prime','requireSession','random','setActiveRange','_transformPreviousActiveRange','unshift','_instanceService','NOT_COLLAB','round','wsSessionTicketUrl','collabCursorState$','unitID','transformRemoteChangeset','CONFLICT','disableLocalCache','_entities','_updateLocalCursor','find','measureText','on-line-single_clip0_910_349','/run/','APPLY_PERMISSION_DENIED','2354450aVlHkt','_initStatusComponent','_drawTextRange','then','replace','OnLineSingle','_removeCollabCursors','325912TWrAgN','assign','JOIN_ROOM_FAILED','idSuffix','_transformUndoRedoStack','transformMutationsWithChangeset','UNDEFINED','has','column','_handleLeaveEvent','_renderManagerService','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','unsubscribe','_context','hasOwnProperty','syncEditingCollabCursor','LICENSE_DISTRO_REJECTED','sheetID','_handleHeartbeatEvent','APPLY_DUPLICATED','_logService','_document','_getSaveTimeout','getUnitStatus$','getCollabEntity$','getCollabCursors$','OTHER_CLIENT_EDITING','_collaborationUIEventService','_registerRenderDependencies','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','invokeId','M0\x200H16V16H0z','_docStateChangeManagerService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','collabStatus.offline','_color','_beforeCloseService','clearInterval','_localCacheService','collabStatus.synced','NOT_FOUND','fill','_removeClearOtherTimer','ranges','_shapes','_registerDependencies','_lastPointer','addObject','dispose$','_toggleOnline','_eventUnsubscribe','selection','_refreshCollabCursors','USER_NOT_INVITED_CODE','OffLineSingle','url(#off-line-single_clip0_910_343)','transformIMECache','collab-client.tooltip.reconnect','_docTransformStateCacheService','UNIVER_SHEET','hovered','_clearOtherTimers','onPointerLeave$','_setupSubUnitSync','disposeWithMe','createSocket','status$','transform','application/json','_scheduleSaving','_render','init','_cachedData','range','createInstance','univer-online-status-icon','UNIVER_DOC','subunit','INVALID_ARGUMENT','getConfig','MUTATION','_doCreateSocket','_status$','setShapeProps','SYNCED','engine','...','1em','focused$','WECHAT_HAS_BEEN_BOUND','YUUMI_URL_COL_OUT_OF_RANGE','_id','roomMembers','_updateSubUnitFromURLParams','_roomMembers$','startRow','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','flatMap','registerRefRange','substring','univer-online-status','redoState','_unitStatus','_initStatusListener','current','_localeService','YUUMI_NO_CUBOID_FOR_QUESTION','activeSheet$','getDocRanges','_backgroundColor','_initDependencies','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docSkeletonManagerService','source','bottom','height','reconnect','_anchorDot','runId','permission.content','textRanges','drawWith','_notificationService','get','setItem','_initEvent','defs','Error','_colorAssignService','url(#$1','CONNECTOR_DATA_TOO_LARGE','startColumn','INTERNAL_ERROR','8OsJFwe','pushState','uni.network.url-service','_collabCursorState$','COMPLETION_FINISHED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_refRangeService','cursorInfo$','forEach','entries','YUUMI_ASYNCIO_CANCELLED','_dataLoaderService','row','attrs','14NBpPyS','_heartbeatTimer','name','NO_OTHER_CLIENTS_EDITING','InsertRangeMoveDownCommandId','className','getUndoRedoMutationParamsCache','INVITE_CODE_ALREADY_BOUND','CHANGESET_REVISION_CONFILICT','addHandlerCallback','asObservable','getCellPositionByOffset','path','0\x200\x2017\x2016','offline','getViewport','whenReady','pluginName','with','collaboration-client.offline-data-not-saved','subscribeEvent','_themeService','unit','length','addObjects','triggerDblclick','54gkxMDV','_docSyncEditingCollabCursorService','setParam','type','SNAPSHOT_HAS_BEEN_REMOVED','lineTo','sheetId','SOCKET_FAILED_RETRY','getValue','loadOfflineData','svg','verdancy600','_init','_handleJoinEvent','currentTheme$','clipPath','push','_saveCache','getTypeOfUnitDisposed$','onTransformChange$','UNRECOGNIZED','APPLY_REVISION_CONFILICT','_sheetSkeletonManagerService','searchParams','setStateCache','red300','override','_updateCollabCursors','registerBeforeClose','_drawAnchor','newValue','registerRenderModule','OFFLINE','TEXT','values','_scheduleHeartbeat','hide','function','purple300','prototype','gold400','DeleteRangeMoveLeftCommandId','_unitOnClients','_injector','#FFF','AWAITING_WITH_PENDING','undoState','DeleteRangeMoveUpCommandId','generateRandomId','unitId','data','session.collaboration-timeout','APPLY_NON_SEQUENTIAL_REVISION','subUnitId','dispose','defineProperty','_labelPosition','_scene','getMember','_entityInit$','_config','univer-online-status-title','collabStatus.syncing','getRenderById','_initCommandExecutedListener','InsertRangeMoveRightCommandId','params','updateOfflineData','getTypeOfUnitAdded$','complete','PENDING','ONLINE','call','MoveRangeCommandId','getCurrentSelections','_textBubble','delete','apply','string','text','_messageService','sessionTicket','color','RECT','transformMutation','getSheetBySheetId','getSheetId','displayName','indexOf','collabStatus.conflict','_online','YUUMI_UNABLE_LOAD_URL','getUniverSheetInstance','_initEntityListener','add','ACTIVE_UNIT_EVENT_CHANNEL','session.connection-failed','replaceState','enableLocalCache','univer-flex\x20univer-items-center','_saveTaskMap','error','toString','parse','off-line-single','_getSheetObject','defIds','storage','_transformService','18014azRkHR','evenodd','_docClipboardService','SOCKET_FAILED','_startSheetCollabCursor','LICENSE_EXPORT_SIZE_EXCEEDED','next','getOwnPropertyDescriptor','collaboration.closeRoom','_range','cursorInfo','_collaborationController','contains','symbol','_docSkeleton','CLOSE_ROOM','YUUMI_SUBSCRIPTION_NOT_FOUND','saveOfflineData','EMAIL_HAS_BEEN_BOUND','OTHER_CLIENTS_EDITING','FETCH_MISS','_onCursorUpdate','fillStyle','top','ENSURE_SNAPSHOT_EXECUTION','location','getFocusedUnit','doc.mutation.rich-text-editing','_createSocketURL','trim','getActiveSheet','AWAITING','_setupBeforeClosingHandler','getRangePointData','_onRefRangeChange','InsertColCommandId','_hovered','memberID','ALREADY_EXISTS','_syncEditingCollabCursorService','onRendered','toRgbString','MOBILE_HAS_BEEN_BOUND','412974dciMOr','sessionStatus$','assignAColorForMemberID','executeCommand','save','propertyIsEnumerable','transformSelections','setAlpha','_docTransformIMECacheService','UPDATE_CURSOR','Unknown\x20user','off-line-single_clip0_910_343','set','deepClone','_cursor','split','_cursors','isEditing','_transformHistoryAndStateStack','setUndoRedoMutationParamsCache','isArray','_httpService','imageSourceType','_handleEvent','_cursorShapes','children','findNodePositionByCharIndex','_selfUnitIDs','_name','mask','_commandService','stringify','rgba(255,\x20255,\x20255,\x200.01)','history','_assignedColors','makeDirty','SNAPSHOT_INVALID_SNAPSHOT','_cursorInfo$','debug','resize','univerjs-icon\x20univerjs-icon-','LICENSE_MAX_UNITS_EXCEEDED','_urlService','colorChannel1','671418uoRYGy','TOO_MANY_REQUESTS','Failed','onPointerEnter$','0\x200\x2016\x2016','PY_RUNTIME_SCRIPT_ERROR','on-line-single','currentSkeleton$','replaceDocRanges','addClipboardHook','_startDocCollabCursor','_draw','collab-text-range-','restore','_hideTimer','div','getRelativeToViewportCoord','popstate','_scheduleClearOtherTimer','online','selections','map','INVALID_INVITE_CODE','endColumn','_uiPartsService','univer-offline','black','_localStorageService','LOGIN_FAILED','_hover','href','getParam','onStarting','code','urlChange$','extend','_drawRectRange','_docTransformSelectionsService','result','_handleHover','entityInit$','body','_onCursorDelete','[CollaborationDataLoaderController]','INVITE_CODE_REQUIRED','_disabled','_getAnchorBounding','_configService','4ermkCj','m2Prime','saveTaskMap','width','_send','VIEW_MAIN','#fff','getStateCache','onCommandExecuted','getMergeData','collaboration.single-unit.warning','removeParam','getOwnPropertySymbols','_updateURLWithCurrentState','YUUMI_RATE_OVER_LIMIT','blue400','APPLY_REJECT','onMouseMove','USERS_LEAVE','pipe','concat','closePath','_revisionService','send','use','url(#on-line-single_clip0_910_349)','getAncestorScale','_session','clearTimeout','_ensureSubject','fillText','isActive','Warning','12ypUDgg','size','202180SJUPUR','origin','UniverIcon','backgroundColor','RemoveColCommandId','from','collab-text-anchor-','disposeUnit','icon','getSkeleton'];_0x1d15=function(){return _0x49adcc;};return _0x1d15();}import{BehaviorSubject as _0x5bcfa8,debounceTime as _0xd328d8,takeUntil as _0x51fbbc,Subject as _0x2fbe72,filter as _0x5c1e9b,switchMap as _0x385b28,merge as _0x3bf1a6,combineLatest as _0xf7d9e2,of as _0x2404b0,fromEvent as _0x1185c0,shareReplay as _0x39811f,mapTo as _0x1cbba8,distinctUntilChanged as _0x410251}from'rxjs';import{SetTextSelectionsOperation as _0x17ffb8,RichTextEditingMutation as _0x1fd37e,DocSelectionManagerService as _0x40410e,DocSkeletonManagerService as _0x35d61b}from'@univerjs/docs';import{ITransformService as _0x5241f1,CollaborationEvent as _0x36fd87,isTransformMutationFailure as _0x503208,isTransformMutationsWithChangesetSuccess as _0x13d2b8,RevisionService as _0x1f48b9,ISnapshotServerService as _0x4fc4d8}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x96a6cf,serializeRangeWithSheet as _0x2aa332}from'@univerjs/engine-formula';import{RefRangeService as _0x4d8f62,SetSelectionsOperation as _0x2c0c3d,SheetsSelectionsService as _0x5885ee,EffectRefRangId as _0x4b2a35,handleIRemoveRow as _0x45de1d,handleIRemoveCol as _0x213a7d,handleMoveRange as _0x223707,handleInsertRow as _0x51d76c,handleInsertRangeMoveRight as _0x3c3473,handleInsertRangeMoveDown as _0x4b1610,handleInsertCol as _0x4d102b,handleDeleteRangeMoveUp as _0x1b2a2b,handleDeleteRangeMoveLeft as _0x551093,runRefRangeMutations as _0x50ffee,SetWorksheetActivateCommand as _0x2e0678}from'@univerjs/sheets';import{map as _0x169f56,filter as _0xc45b71,throttleTime as _0x325872,takeUntil as _0x567084,switchMap as _0x5d3754}from'rxjs/operators';import{SheetSkeletonManagerService as _0x17ce2b,getCoordByCell as _0x365e27,getSheetObject as _0x4dd264}from'@univerjs/sheets-ui';import{jsx as _0x2a7306,jsxs as _0x3c0c6a}from'react/jsx-runtime';import{useObservable as _0x52d375,useDependency as _0x3ced37,IUIPartsService as _0x13c01c,BuiltInUIPart as _0x4d1246,connectInjector as _0x105aa6,IBeforeCloseService as _0x422070,IMessageService as _0x21bd27,INotificationService as _0x59f9b4}from'@univerjs/ui';import{clsx as _0x530cb9,Tooltip as _0x67b36c,MessageType as _0x2baf77}from'@univerjs/design';import{forwardRef as _0x372972,useRef as _0xfd6f42,createElement as _0x5678ba,useCallback as _0x127ea7}from'react';import{IRemoteInstanceService as _0x58ce1d}from'@univerjs/rpc';var li=Object[_0x86a805(0x172)],_i=(_0x21a8cc,_0x632f18,_0x5c0052,_0x3f5173)=>{const _0x32a696=_0x86a805;for(var _0x4ba3df=_0x3f5173>0x1?void 0x0:_0x3f5173?li(_0x632f18,_0x5c0052):_0x632f18,_0x5cbcd1=_0x21a8cc[_0x32a696(0x303)]-0x1,_0x127cc1;_0x5cbcd1>=0x0;_0x5cbcd1--)(_0x127cc1=_0x21a8cc[_0x5cbcd1])&&(_0x4ba3df=_0x127cc1(_0x4ba3df)||_0x4ba3df);return _0x4ba3df;},Qe=(_0x4cd2e4,_0x473781)=>(_0x1e39a6,_0x1b0673)=>_0x473781(_0x1e39a6,_0x1b0673,_0x4cd2e4);let Ue=class extends _0xb123e2{constructor(_0x157b18,_0x3c071d){const _0x2e2f87=_0x86a805;super(),this[_0x2e2f87(0x375)]=_0x157b18,this['_imageIoService']=_0x3c071d,this[_0x2e2f87(0x312)]();}[_0x86a805(0x312)](){const _0x398e00=_0x86a805,_0x4fddee=this;this[_0x398e00(0x299)](this['_docClipboardService'][_0x398e00(0x1cb)]({'onBeforePasteImage':async _0x3a145d=>{const _0x550896=_0x398e00,_0x416a95=await _0x4fddee['_imageIoService']['saveImage'](_0x3a145d);return _0x416a95?{'source':_0x416a95[_0x550896(0x2ca)],'imageSourceType':_0x416a95[_0x550896(0x1ac)]}:null;}}));}};Ue=_i([Qe(0x0,_0x2c8b74),Qe(0x1,_0x165249)],Ue);const qe=[_0x86a805(0x32c),'jiqing500',_0x86a805(0x311),_0x86a805(0x31f),_0x86a805(0x201),_0x86a805(0x32e)];class He extends _0x413335{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x5d6695){const _0x57db5e=_0x86a805;if(this[_0x57db5e(0x1b8)][_0x57db5e(0x260)](_0x5d6695))return this[_0x57db5e(0x1b8)][_0x57db5e(0x2d4)](_0x5d6695);const _0x2e844c=qe[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%qe[_0x57db5e(0x303)],this[_0x57db5e(0x1b8)][_0x57db5e(0x1a2)](_0x5d6695,_0x2e844c),_0x2e844c;}}function Dt(_0x4c8539){const _0x3cdbf0=_0x86a805;let _0x2da0e0='';for(const _0x10680e of _0x4c8539){const {startOffset:_0xf2781a,endOffset:_0x1bb13e,isActive:_0x1161a3,rangeType:_0x1a81c3,segmentId:_0x55740d,segmentPage:_0x860b96}=_0x10680e;_0x2da0e0[_0x3cdbf0(0x303)]&&(_0x2da0e0+=','),_0x2da0e0+=_0xf2781a+':'+_0x1bb13e+':'+(_0x1161a3?'1':'0')+':'+_0x1a81c3+':'+_0x55740d+':'+_0x860b96;}return _0x2da0e0;}function hi(_0xdbbd84){const _0x1aef30=_0x86a805,_0x4ddb11=_0xdbbd84[_0x1aef30(0x1a5)](','),_0x4e2fd4=[];for(const _0x287986 of _0x4ddb11){const [_0xd2d732,_0x302e20,_0x48a87f,_0x1b2d66,_0x45a9e9,_0x236e88]=_0x287986[_0x1aef30(0x1a5)](':');_0x4e2fd4[_0x1aef30(0x316)]({'startOffset':Number(_0xd2d732),'endOffset':Number(_0x302e20),'collapsed':_0xd2d732===_0x302e20,'isActive':_0x48a87f==='1','rangeType':_0x1b2d66===_0x30e768[_0x1aef30(0x327)]?_0x30e768[_0x1aef30(0x327)]:_0x30e768[_0x1aef30(0x359)],'segmentId':typeof _0x45a9e9==_0x1aef30(0x354)?String(_0x45a9e9):'','segmentPage':Number(_0x236e88!=null?_0x236e88:-0x1)});}return _0x4e2fd4['some'](_0x2f77e5=>_0x2f77e5['isActive'])||(_0x4e2fd4[0x0][_0x1aef30(0x211)]=!0x0),_0x4e2fd4;}class je extends _0xb123e2{constructor(){const _0x4d5fb0=_0x86a805;super(...arguments),_(this,_0x4d5fb0(0x2e1),new _0x5bcfa8(null)),_(this,'collabCursorState$',this[_0x4d5fb0(0x2e1)][_0x4d5fb0(0x2f6)]());}[_0x86a805(0x268)](_0x5aea63){const _0x32b4a4=_0x86a805,{unitID:_0x2d9141,memberID:_0x4712a3,textRanges:_0x54824b}=_0x5aea63,_0x3df2ce=Dt(_0x54824b);if(_0x3df2ce==='')return;const _0x1e8219={'unitID':_0x2d9141,'memberID':_0x4712a3,'selection':_0x3df2ce};this['_collabCursorState$'][_0x32b4a4(0x171)](_0x1e8219);}}function _0x4594(_0x36a2a0,_0x369d17){const _0x1d154a=_0x1d15();return _0x4594=function(_0x4594ec,_0x317c29){_0x4594ec=_0x4594ec-0x171;let _0x4ad5d9=_0x1d154a[_0x4594ec];return _0x4ad5d9;},_0x4594(_0x36a2a0,_0x369d17);}var ui=Object[_0x86a805(0x172)],di=(_0x33a824,_0x1e0972,_0x20994b,_0x378e73)=>{const _0x5150d9=_0x86a805;for(var _0x35ff5a=_0x378e73>0x1?void 0x0:_0x378e73?ui(_0x1e0972,_0x20994b):_0x1e0972,_0x572042=_0x33a824[_0x5150d9(0x303)]-0x1,_0xc15de0;_0x572042>=0x0;_0x572042--)(_0xc15de0=_0x33a824[_0x572042])&&(_0x35ff5a=_0xc15de0(_0x35ff5a)||_0x35ff5a);return _0x35ff5a;},w=(_0x5061f5,_0x4802ac)=>(_0x270db7,_0x36aff6)=>_0x4802ac(_0x270db7,_0x36aff6,_0x5061f5);const fi=0x12c,Si=0x64;let Me=class extends _0xb123e2{constructor(_0x47f57f,_0x1d436d,_0x265ba9,_0x357a16,_0x12258c,_0x112c77,_0x4d2b56,_0x5a9a19,_0xd16403){const _0x255bc7=_0x86a805;super(),_(this,_0x255bc7(0x360),!0x1),_(this,_0x255bc7(0x312),!0x1),_(this,'_cursorInfo$',new _0x5bcfa8(new Map())),_(this,_0x255bc7(0x2e5),this[_0x255bc7(0x1bb)][_0x255bc7(0x2f6)]()),_(this,_0x255bc7(0x2b7),new _0x5bcfa8([])),_(this,'roomMembers$',this['_roomMembers$']['pipe'](_0xd328d8(fi))),_(this,_0x255bc7(0x24c),_0x395ecb(_0x40a329=>{const _0x582bdf=_0x255bc7,_0x413cc7={'eventID':_0x36fd87[_0x582bdf(0x19f)],'data':{'unitID':this['unitID'],'memberID':this[_0x582bdf(0x20d)][_0x582bdf(0x239)](),'selection':Dt(_0x40a329)}};this['_session'][_0x582bdf(0x209)](_0x413cc7,this[_0x582bdf(0x247)]);},Si)),(this['unitID']=_0x47f57f,this[_0x255bc7(0x20d)]=_0x1d436d,this[_0x255bc7(0x331)]=_0x265ba9,this[_0x255bc7(0x2d9)]=_0x357a16,this[_0x255bc7(0x233)]=_0x12258c,this[_0x255bc7(0x192)]=_0x112c77,this[_0x255bc7(0x372)]=_0x4d2b56,this[_0x255bc7(0x222)]=_0x5a9a19,this[_0x255bc7(0x1b4)]=_0xd16403);}get['cursorInfo'](){const _0x10cdc2=_0x86a805;return this[_0x10cdc2(0x1bb)][_0x10cdc2(0x30e)]();}get[_0x86a805(0x2b5)](){return this['_roomMembers$']['getValue']();}[_0x86a805(0x33c)](){const _0xf0627d=_0x86a805;super[_0xf0627d(0x33c)](),this[_0xf0627d(0x1bb)]['next'](new Map()),this['_cursorInfo$'][_0xf0627d(0x34b)](),this['_roomMembers$']['next']([]),this[_0xf0627d(0x2b7)][_0xf0627d(0x34b)]();}[_0x86a805(0x2a0)](){const _0x47cf1f=_0x86a805;this[_0x47cf1f(0x312)]||(this[_0x47cf1f(0x312)]=!0x0,this[_0x47cf1f(0x20d)][_0x47cf1f(0x197)][_0x47cf1f(0x205)](_0x51fbbc(this[_0x47cf1f(0x289)]))[_0x47cf1f(0x22b)](_0x2ef5f0=>{const _0x337a30=_0x47cf1f;_0x2ef5f0===_0x48c2ef[_0x337a30(0x34d)]?this[_0x337a30(0x28a)]():this[_0x337a30(0x23b)]();}),this[_0x47cf1f(0x20d)][_0x47cf1f(0x21f)][_0x47cf1f(0x205)](_0x51fbbc(this[_0x47cf1f(0x289)]))['subscribe'](_0x170026=>{const _0x5ad3dc=_0x47cf1f,_0x2d74ad=_0x170026[_0x5ad3dc(0x237)];_0x2d74ad===_0x36fd87[_0x5ad3dc(0x19f)]&&this[_0x5ad3dc(0x180)](_0x170026),_0x2d74ad===_0x36fd87[_0x5ad3dc(0x204)]&&this[_0x5ad3dc(0x1ec)](_0x170026);}),this['disposeWithMe'](this[_0x47cf1f(0x1b4)][_0x47cf1f(0x1fa)](_0x531f2a=>{const _0x3cf526=_0x47cf1f,_0x14b105=_0x531f2a[_0x3cf526(0x348)];_0x14b105!=null&&this['_online']&&_0x531f2a['id']===_0x17ffb8['id']&&_0x14b105[_0x3cf526(0x337)]===this[_0x3cf526(0x247)]&&_0x14b105[_0x3cf526(0x1a7)]===!0x1&&_0x14b105['ranges']['length']>0x0&&this[_0x3cf526(0x24c)](_0x14b105[_0x3cf526(0x284)]);})),this[_0x47cf1f(0x192)][_0x47cf1f(0x246)]['pipe'](_0x51fbbc(this[_0x47cf1f(0x289)]))[_0x47cf1f(0x22b)](_0x32bb44=>{const _0x1e0e32=_0x47cf1f;if((_0x32bb44==null?void 0x0:_0x32bb44[_0x1e0e32(0x247)])!==this[_0x1e0e32(0x247)])return;const _0xad9198={'eventID':_0x36fd87[_0x1e0e32(0x19f)],'data':_0x32bb44};this[_0x1e0e32(0x180)](_0xad9198);}),this[_0x47cf1f(0x299)](this[_0x47cf1f(0x1b4)]['onCommandExecuted'](_0x22d449=>{const _0x1a5d1f=_0x47cf1f;if(_0x22d449[_0x1a5d1f(0x348)]==null)return;const _0x18b165=_0x22d449[_0x1a5d1f(0x348)];if(_0x22d449['id']!==_0x1fd37e['id']||_0x18b165[_0x1a5d1f(0x337)]!==this[_0x1a5d1f(0x247)])return;const _0x445b6d={'id':_0x1a5d1f(0x186),'params':_0x18b165},_0x5ccada=this[_0x1a5d1f(0x175)];for(const [_0x5e5e7a,_0x54a34a]of _0x5ccada){const _0x976f71={'id':_0x1a5d1f(0x186),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x54a34a[_0x1a5d1f(0x284)]}},_0x3ab5eb=this['_transformService'][_0x1a5d1f(0x35a)](_0x445b6d,_0x976f71,!0x1);if(_0x503208(_0x3ab5eb))throw _0x3ab5eb['error'];_0x5ccada[_0x1a5d1f(0x1a2)](_0x5e5e7a,{..._0x54a34a,'ranges':_0x3ab5eb[_0x1a5d1f(0x1f3)][_0x1a5d1f(0x348)][_0x1a5d1f(0x2d1)]});}queueMicrotask(()=>{const _0x59adad=_0x1a5d1f;this[_0x59adad(0x1bb)][_0x59adad(0x171)](_0x5ccada);});})));}[_0x86a805(0x180)](_0x321389){const _0x363874=_0x86a805;var _0x8a987e,_0x263c4b;const {memberID:_0x30184d,selection:_0x527d83}=_0x321389[_0x363874(0x338)],_0x3b15ff=hi(_0x527d83),_0x645559=(_0x263c4b=(_0x8a987e=this['_memberService'][_0x363874(0x340)](this[_0x363874(0x247)],_0x30184d))==null?void 0x0:_0x8a987e['name'])!=null?_0x263c4b:_0x363874(0x1a0),_0x277bd2={'color':this[_0x363874(0x2d9)][_0x363874(0x198)](_0x30184d),'name':_0x645559,'ranges':_0x3b15ff},_0x237263=this[_0x363874(0x175)];_0x237263[_0x363874(0x1a2)](_0x30184d,_0x277bd2),this[_0x363874(0x1bb)][_0x363874(0x171)](_0x237263);}[_0x86a805(0x1ec)](_0x5444b7){const _0xbfadde=_0x86a805,{memberID:_0x200034}=_0x5444b7[_0xbfadde(0x338)],_0x4feeb9=this['cursorInfo'];_0x4feeb9['delete'](_0x200034),this['_cursorInfo$']['next'](_0x4feeb9);}[_0x86a805(0x28a)](){const _0x1df035=_0x86a805;var _0x394504;if(this['_online']=!0x0,((_0x394504=this[_0x1df035(0x222)][_0x1df035(0x185)]())==null?void 0x0:_0x394504['getUnitId']())!==this[_0x1df035(0x247)])return;const _0x3e76c9=this[_0x1df035(0x331)][_0x1df035(0x2d4)](_0x40410e)[_0x1df035(0x2c5)]();Array[_0x1df035(0x1aa)](_0x3e76c9)&&_0x3e76c9['length']>0x0&&this[_0x1df035(0x24c)](_0x3e76c9);}[_0x86a805(0x23b)](){const _0x2f36bb=_0x86a805;this[_0x2f36bb(0x360)]=!0x1;}};Me=di([w(0x2,_0x545293(_0xd016db)),w(0x3,_0x545293(He)),w(0x4,_0x545293(_0x4254e9)),w(0x5,_0x545293(je)),w(0x6,_0x5241f1),w(0x7,_0x3b4d53),w(0x8,_0x27119f)],Me);var mi=Object[_0x86a805(0x172)],gi=(_0x216856,_0x485649,_0x4e002f,_0x425be4)=>{for(var _0x575cc0=_0x425be4>0x1?void 0x0:_0x425be4?mi(_0x485649,_0x4e002f):_0x485649,_0x2f29ed=_0x216856['length']-0x1,_0xcdeeef;_0x2f29ed>=0x0;_0x2f29ed--)(_0xcdeeef=_0x216856[_0x2f29ed])&&(_0x575cc0=_0xcdeeef(_0x575cc0)||_0x575cc0);return _0x575cc0;},x=(_0x4fb645,_0x1c20a9)=>(_0x51d6a0,_0xb65a9e)=>_0x1c20a9(_0x51d6a0,_0xb65a9e,_0x4fb645);const vi=0x12c,Ii=0x64,pi=()=>{let _0x2d6466=[],_0x593569=!0x1;return _0x3e4592=>{const _0x20ca5a=_0x4594;_0x2d6466[_0x20ca5a(0x316)](_0x3e4592),_0x593569||(_0x593569=!0x0,setTimeout(()=>{const _0x1a2185=_0x20ca5a;_0x2d6466[_0x1a2185(0x2e6)](_0x420c8a=>_0x420c8a()),_0x2d6466=[],_0x593569=!0x1;}));};};let Pe=class extends _0xb123e2{constructor(_0x47c695,_0x3ce1f7,_0x16a97b,_0x54a6d1,_0x5810d3,_0x41670d,_0x531345,_0x273a5d){const _0x4791f2=_0x86a805;super(),_(this,'_online',!0x1),_(this,_0x4791f2(0x312),!0x1),_(this,_0x4791f2(0x1bb),new _0x5bcfa8(new Map())),_(this,_0x4791f2(0x2e5),this['_cursorInfo$']['asObservable']()),_(this,_0x4791f2(0x2b7),new _0x5bcfa8([])),_(this,'roomMembers$',this['_roomMembers$'][_0x4791f2(0x205)](_0xd328d8(vi))),_(this,_0x4791f2(0x24c),_0x395ecb((_0x4bec14,_0x488a17)=>{const _0x330351=_0x4791f2,_0x568616={'eventID':_0x36fd87[_0x330351(0x19f)],'data':{'unitID':this['unitID'],'memberID':this[_0x330351(0x20d)]['getMemberID'](),'selection':_0x2aa332(_0x4bec14,_0x488a17[_0x330351(0x2a2)])}};this[_0x330351(0x20d)][_0x330351(0x209)](_0x568616,this['unitID']);},Ii)),(this[_0x4791f2(0x247)]=_0x47c695,this['_session']=_0x3ce1f7,this[_0x4791f2(0x331)]=_0x16a97b,this[_0x4791f2(0x2d9)]=_0x54a6d1,this[_0x4791f2(0x233)]=_0x5810d3,this[_0x4791f2(0x222)]=_0x41670d,this[_0x4791f2(0x1b4)]=_0x531345,this['_refRangeService']=_0x273a5d);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x86a805(0x2b5)](){const _0x47f37e=_0x86a805;return this[_0x47f37e(0x2b7)][_0x47f37e(0x30e)]();}[_0x86a805(0x33c)](){const _0x4f7aeb=_0x86a805;super['dispose'](),this[_0x4f7aeb(0x1bb)][_0x4f7aeb(0x171)](new Map()),this[_0x4f7aeb(0x1bb)][_0x4f7aeb(0x34b)](),this[_0x4f7aeb(0x2b7)][_0x4f7aeb(0x171)]([]),this[_0x4f7aeb(0x2b7)]['complete']();}[_0x86a805(0x2a0)](){const _0x11ca76=_0x86a805;this['_init']||(this[_0x11ca76(0x312)]=!0x0,this[_0x11ca76(0x20d)][_0x11ca76(0x197)][_0x11ca76(0x205)](_0x51fbbc(this['dispose$']))['subscribe'](_0x46fdb1=>{const _0x5b5370=_0x11ca76;_0x46fdb1===_0x48c2ef[_0x5b5370(0x34d)]?this[_0x5b5370(0x28a)]():this['_toggleOffline']();}),this[_0x11ca76(0x20d)][_0x11ca76(0x21f)][_0x11ca76(0x205)](_0x51fbbc(this['dispose$']))[_0x11ca76(0x22b)](_0x528094=>{const _0x25873b=_0x11ca76,_0x4f2fe8=_0x528094[_0x25873b(0x237)];_0x4f2fe8===_0x36fd87['UPDATE_CURSOR']&&this[_0x25873b(0x180)](_0x528094),_0x4f2fe8===_0x36fd87['USERS_LEAVE']&&this['_onCursorDelete'](_0x528094);}),this[_0x11ca76(0x18d)](),this[_0x11ca76(0x299)](this[_0x11ca76(0x1b4)]['onCommandExecuted'](_0x3184e8=>{const _0x1d5e1c=_0x11ca76;if(this['_online']&&_0x3184e8['id']===_0x2c0c3d['id']&&_0x3184e8[_0x1d5e1c(0x348)][_0x1d5e1c(0x337)]===this[_0x1d5e1c(0x247)]){const _0x284c25=_0x3184e8[_0x1d5e1c(0x348)];this[_0x1d5e1c(0x24c)](_0x284c25[_0x1d5e1c(0x33b)],_0x284c25[_0x1d5e1c(0x1d6)][0x0]);}})));}['_onCursorUpdate'](_0x293bbd){const _0x52785e=_0x86a805;var _0x116008,_0x31af44;const {memberID:_0x2edaaa,selection:_0x5353d6}=_0x293bbd[_0x52785e(0x338)],{sheetName:_0x38fa1e,range:_0x416f13}=_0x96a6cf(_0x5353d6),_0x5b384f={'name':(_0x31af44=(_0x116008=this[_0x52785e(0x233)][_0x52785e(0x340)](this[_0x52785e(0x247)],_0x2edaaa))==null?void 0x0:_0x116008[_0x52785e(0x2ee)])!=null?_0x31af44:_0x52785e(0x1a0),'range':this['_getMergeRange'](_0x38fa1e,_0x416f13),'sheetID':_0x38fa1e,'color':this[_0x52785e(0x2d9)][_0x52785e(0x198)](_0x2edaaa),'selection':_0x5353d6},_0x187d79=this[_0x52785e(0x175)];_0x187d79[_0x52785e(0x1a2)](_0x2edaaa,_0x5b384f),this[_0x52785e(0x1bb)]['next'](_0x187d79);}[_0x86a805(0x1ec)](_0x103d93){const _0x1854b6=_0x86a805,{memberID:_0x98abaf}=_0x103d93[_0x1854b6(0x338)],_0x1ec608=this[_0x1854b6(0x175)];_0x1ec608['delete'](_0x98abaf),this[_0x1854b6(0x1bb)][_0x1854b6(0x171)](_0x1ec608);}['_getMergeRange'](_0x395deb,_0x1b0d6c){const _0xa62275=_0x86a805;var _0x179c46,_0x225130;const _0x16adbc=(_0x225130=(_0x179c46=this['_univerInstanceService'][_0xa62275(0x362)](this[_0xa62275(0x247)]))==null?void 0x0:_0x179c46[_0xa62275(0x35b)](_0x395deb))==null?void 0x0:_0x225130[_0xa62275(0x1fb)]();return(_0x16adbc==null?void 0x0:_0x16adbc[_0xa62275(0x24d)](_0x4f0620=>_0x4392ad[_0xa62275(0x177)](_0x4f0620,_0x1b0d6c)))||_0x1b0d6c;}[_0x86a805(0x18d)](){const _0x14d2bd=_0x86a805,_0x2e0b25=new _0x377b6b(),_0x1257aa=pi(),_0x717766=()=>{const _0x25edd1=_0x4594;_0x2e0b25[_0x25edd1(0x33c)]();const _0x20d4e1=(_0x46fa08,_0xcdcd50,_0x3c6709,_0x16403a)=>{const _0x455e3c=_0x25edd1;let _0x327ee1=[];switch(_0x46fa08['id']){case _0x4b2a35[_0x455e3c(0x32f)]:{_0x327ee1=_0x551093(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x335)]:{_0x327ee1=_0x1b2a2b(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x18e)]:{_0x327ee1=_0x4d102b(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x2f0)]:{_0x327ee1=_0x4b1610(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x347)]:{_0x327ee1=_0x3c3473(_0x46fa08,_0x16403a);break;}case _0x4b2a35['InsertRowCommandId']:{_0x327ee1=_0x51d76c(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x34f)]:{_0x327ee1=_0x223707(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x219)]:{_0x327ee1=_0x213a7d(_0x46fa08,_0x16403a);break;}case _0x4b2a35['RemoveRowCommandId']:{_0x327ee1=_0x45de1d(_0x46fa08,_0x16403a);break;}}const _0x53fba6=_0x50ffee(_0x327ee1,_0x16403a),_0x3486e9=this[_0x455e3c(0x175)][_0x455e3c(0x2d4)](_0xcdcd50);if(_0x3486e9&&_0x53fba6){const _0x4b1545={..._0x3486e9,'range':_0x53fba6};this[_0x455e3c(0x175)][_0x455e3c(0x1a2)](_0xcdcd50,_0x4b1545),_0x1257aa(()=>{const _0x3f4df4=_0x455e3c,_0x2a1ae4=this[_0x3f4df4(0x2e4)][_0x3f4df4(0x2bb)](_0x53fba6,_0x4ac7b3=>(_0x2a1ae4[_0x3f4df4(0x33c)](),_0x20d4e1(_0x4ac7b3,_0xcdcd50,_0x3c6709,_0x53fba6)));_0x2e0b25['add'](_0x2a1ae4);});}return{'redos':[],'undos':[]};};this[_0x25edd1(0x175)][_0x25edd1(0x2e6)]((_0x631332,_0x213685)=>{const _0x24b1ce=_0x25edd1,{range:_0x5d30e8,sheetID:_0x294091}=_0x631332,_0x41699a=this['_refRangeService']['registerRefRange'](_0x5d30e8,_0xd137e6=>(_0x41699a[_0x24b1ce(0x33c)](),_0x20d4e1(_0xd137e6,_0x213685,_0x294091,_0x5d30e8)));_0x2e0b25[_0x24b1ce(0x364)](_0x41699a);});};this[_0x14d2bd(0x299)](_0x571cee(this[_0x14d2bd(0x1bb)][_0x14d2bd(0x22b)](()=>{_0x717766();})));}[_0x86a805(0x28a)](){const _0x1444f7=_0x86a805;var _0x210c75,_0x46b402;if(this[_0x1444f7(0x360)]=!0x0,((_0x210c75=this[_0x1444f7(0x222)]['getFocusedUnit']())==null?void 0x0:_0x210c75[_0x1444f7(0x235)]())!==this['unitID'])return;const _0x11a52e=(_0x46b402=this[_0x1444f7(0x331)][_0x1444f7(0x2d4)](_0x5885ee)[_0x1444f7(0x350)]())==null?void 0x0:_0x46b402[0x0],_0x4bae30=this[_0x1444f7(0x222)]['getCurrentUnitForType'](_0x5e1ff3[_0x1444f7(0x294)])[_0x1444f7(0x189)]();_0x11a52e&&_0x4bae30&&this[_0x1444f7(0x24c)](_0x4bae30[_0x1444f7(0x35c)](),_0x11a52e);}[_0x86a805(0x23b)](){const _0x2bf877=_0x86a805;this[_0x2bf877(0x360)]=!0x1;}};Pe=gi([x(0x2,_0x545293(_0xd016db)),x(0x3,_0x545293(He)),x(0x4,_0x545293(_0x4254e9)),x(0x5,_0x3b4d53),x(0x6,_0x27119f),x(0x7,_0x545293(_0x4d8f62))],Pe);var Ci=Object[_0x86a805(0x172)],Ei=(_0x380bb7,_0x4475de,_0x300367,_0x10b763)=>{const _0x1076a7=_0x86a805;for(var _0x2c932b=_0x10b763>0x1?void 0x0:_0x10b763?Ci(_0x4475de,_0x300367):_0x4475de,_0x8abdf6=_0x380bb7[_0x1076a7(0x303)]-0x1,_0x3d59d9;_0x8abdf6>=0x0;_0x8abdf6--)(_0x3d59d9=_0x380bb7[_0x8abdf6])&&(_0x2c932b=_0x3d59d9(_0x2c932b)||_0x2c932b);return _0x2c932b;},me=(_0x142eee,_0x353c02)=>(_0x2d9f37,_0x3fd9b1)=>_0x353c02(_0x2d9f37,_0x3fd9b1,_0x142eee);let H=class extends _0xb123e2{constructor(_0x2a60e5,_0x2f191c,_0x4945be){const _0x4b0e7b=_0x86a805;super(),_(this,_0x4b0e7b(0x24b),new Map()),_(this,'_entityInit$',new _0x2fbe72()),(this[_0x4b0e7b(0x222)]=_0x2a60e5,this[_0x4b0e7b(0x331)]=_0x2f191c,this['_collabSessionService']=_0x4945be,this[_0x4b0e7b(0x312)]());}[_0x86a805(0x33c)](){const _0x530d93=_0x86a805;super[_0x530d93(0x33c)](),this[_0x530d93(0x341)][_0x530d93(0x34b)](),this[_0x530d93(0x24b)][_0x530d93(0x2e6)](_0x720607=>_0x720607[_0x530d93(0x33c)]());}[_0x86a805(0x272)](_0x24aa5e){const _0x68083e=_0x86a805;return this[_0x68083e(0x24b)][_0x68083e(0x260)](_0x24aa5e)?this[_0x68083e(0x24b)]['get'](_0x24aa5e)[_0x68083e(0x2e5)]:this[_0x68083e(0x341)][_0x68083e(0x205)](_0x5c1e9b(_0x400caf=>_0x400caf[_0x68083e(0x247)]===_0x24aa5e),_0x385b28(_0x446b00=>_0x446b00[_0x68083e(0x2e5)]));}[_0x86a805(0x312)](){const _0x3343cb=_0x86a805;this[_0x3343cb(0x222)]['getTypeOfUnitAdded$'](_0x5e1ff3[_0x3343cb(0x294)])[_0x3343cb(0x205)](_0x51fbbc(this[_0x3343cb(0x289)]))[_0x3343cb(0x22b)](async _0x4ad054=>{const _0x39fc12=_0x3343cb,_0x48ebe7=_0x4ad054[_0x39fc12(0x235)](),_0x184dd8=await this[_0x39fc12(0x377)](_0x48ebe7);this['_entityInit$'][_0x39fc12(0x171)](_0x184dd8),this[_0x39fc12(0x24b)][_0x39fc12(0x1a2)](_0x48ebe7,_0x184dd8);}),this[_0x3343cb(0x222)][_0x3343cb(0x34a)](_0x5e1ff3[_0x3343cb(0x2a5)])[_0x3343cb(0x205)](_0x51fbbc(this['dispose$']))[_0x3343cb(0x205)](_0x5c1e9b(_0x9bf53e=>!_0x9bf53e[_0x3343cb(0x235)]()['startsWith']('__')))[_0x3343cb(0x22b)](async _0x3c03d8=>{const _0x5de1bd=_0x3343cb,_0x3b48a6=_0x3c03d8[_0x5de1bd(0x235)](),_0x40eeba=await this[_0x5de1bd(0x1cc)](_0x3b48a6);this[_0x5de1bd(0x341)][_0x5de1bd(0x171)](_0x40eeba),this['_entities'][_0x5de1bd(0x1a2)](_0x3b48a6,_0x40eeba);}),_0x3bf1a6(this[_0x3343cb(0x222)][_0x3343cb(0x318)](_0x5e1ff3[_0x3343cb(0x2a5)]),this[_0x3343cb(0x222)][_0x3343cb(0x318)](_0x5e1ff3[_0x3343cb(0x294)]))[_0x3343cb(0x205)](_0x51fbbc(this[_0x3343cb(0x289)]))[_0x3343cb(0x22b)](_0x3c2677=>{const _0x5d531c=_0x3343cb,_0x7c554b=_0x3c2677[_0x5d531c(0x235)](),_0x1603d9=this['_entities']['get'](_0x7c554b);_0x1603d9&&(_0x1603d9[_0x5d531c(0x33c)](),this['_entities'][_0x5d531c(0x352)](_0x7c554b));});}async[_0x86a805(0x377)](_0x40fe62){const _0x3ded99=_0x86a805,_0x22e372=await this[_0x3ded99(0x226)]['requireSession'](_0x40fe62),_0x1c9540=this[_0x3ded99(0x331)][_0x3ded99(0x2a3)](Pe,_0x40fe62,_0x22e372);return _0x1c9540[_0x3ded99(0x2a0)](),_0x1c9540;}async[_0x86a805(0x1cc)](_0x640db){const _0x2f5fc4=_0x86a805,_0x47aa7c=await this['_collabSessionService'][_0x2f5fc4(0x23d)](_0x640db),_0x11cc35=this['_injector']['createInstance'](Me,_0x640db,_0x47aa7c);return _0x11cc35[_0x2f5fc4(0x2a0)](),_0x11cc35;}};H=Ei([me(0x0,_0x3b4d53),me(0x1,_0x545293(_0xd016db)),me(0x2,_0x545293(_0x1c0a48))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x1006dc,_0x262e57){const _0x1f60d1=_0x86a805;let {radius:_0x4fa7bd,width:_0x17716d,height:_0x2d90ed}=_0x262e57;_0x4fa7bd=_0x4fa7bd!=null?_0x4fa7bd:0x0,_0x17716d=_0x17716d!=null?_0x17716d:0x1e,_0x2d90ed=_0x2d90ed!=null?_0x2d90ed:0x1e;let _0x1f9f02=0x0,_0x2ac328=0x0,_0x4fdc93=0x0;_0x1f9f02=_0x2ac328=_0x4fdc93=Math['min'](_0x4fa7bd,_0x17716d/0x2,_0x2d90ed/0x2),_0x1006dc['beginPath'](),_0x1006dc['moveTo'](_0x1f9f02,0x0),_0x1006dc['lineTo'](_0x17716d-_0x2ac328,0x0),_0x1006dc[_0x1f60d1(0x232)](_0x17716d-_0x2ac328,_0x2ac328,_0x2ac328,Math['PI']*0x3/0x2,0x0,!0x1),_0x1006dc[_0x1f60d1(0x30b)](_0x17716d,_0x2d90ed-_0x4fdc93),_0x1006dc[_0x1f60d1(0x232)](_0x17716d-_0x4fdc93,_0x2d90ed-_0x4fdc93,_0x4fdc93,0x0,Math['PI']/0x2,!0x1),_0x1006dc[_0x1f60d1(0x30b)](0x0,_0x2d90ed),_0x1006dc['lineTo'](0x0,_0x1f9f02),_0x1006dc[_0x1f60d1(0x232)](_0x1f9f02,_0x1f9f02,_0x1f9f02,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1006dc[_0x1f60d1(0x207)](),_0x262e57['fill']&&(_0x1006dc[_0x1f60d1(0x19a)](),_0x1006dc[_0x1f60d1(0x181)]=_0x262e57[_0x1f60d1(0x282)],_0x262e57['fillRule']===_0x1f60d1(0x374)?_0x1006dc[_0x1f60d1(0x282)](_0x1f60d1(0x374)):_0x1006dc[_0x1f60d1(0x282)](),_0x1006dc[_0x1f60d1(0x1cf)]());}class ue extends _0x48deee{constructor(_0xb46ef2,_0x322c11){const _0x39d576=_0x86a805;super(_0xb46ef2,_0x322c11),_(this,'color'),_(this,'text'),(this[_0x39d576(0x358)]=_0x322c11==null?void 0x0:_0x322c11[_0x39d576(0x358)],this[_0x39d576(0x355)]=_0x322c11==null?void 0x0:_0x322c11['text']);}static['drawWith'](_0xeb3d02,_0x5a5e1f){const _0x2a3f0b=_0x86a805,{text:_0x561cba,color:_0x39b0f9}=_0x5a5e1f;_0xeb3d02['save'](),_0xeb3d02['font']=_0x2a3f0b(0x27a);const _0x4c92b4=_0xeb3d02[_0x2a3f0b(0x24e)](_0x561cba)['width'],_0x310c1b=Math['min'](_0x4c92b4+0x2*ge,et);Oi(_0xeb3d02,{'height':te,'radius':0x4,'width':_0x310c1b,'fill':_0x39b0f9}),_0xeb3d02[_0x2a3f0b(0x181)]=_0x2a3f0b(0x332);const _0x4cacd6=ge,_0x3f37f2=te-bi,_0x20d894=et-0x2*ge;if(_0x4c92b4>_0x20d894){let _0x5eb43c='',_0x5b00d3=0x0;for(const _0x150fe of _0x561cba){const _0x18b1dd=_0xeb3d02['measureText'](_0x150fe)[_0x2a3f0b(0x1f5)];if(_0x5b00d3+_0x18b1dd<=_0x20d894-_0xeb3d02[_0x2a3f0b(0x24e)]('...')[_0x2a3f0b(0x1f5)])_0x5eb43c+=_0x150fe,_0x5b00d3+=_0x18b1dd;else{_0x5eb43c+=_0x2a3f0b(0x2af);break;}}_0xeb3d02[_0x2a3f0b(0x210)](_0x5eb43c,_0x4cacd6,_0x3f37f2);}else _0xeb3d02[_0x2a3f0b(0x210)](_0x561cba,_0x4cacd6,_0x3f37f2);_0xeb3d02[_0x2a3f0b(0x1cf)]();}[_0x86a805(0x1cd)](_0x370150){const _0x29d066=_0x86a805;ue[_0x29d066(0x2d2)](_0x370150,this);}}const ve=_0x86a805(0x21b),Ti=_0x86a805(0x1ce),Ri=_0x86a805(0x229),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x86a805(0x1b6);class tt{constructor(_0x3f2e8b,_0x177ceb,_0x28d4a8,_0x5d40a1){const _0x176d20=_0x86a805;_(this,_0x176d20(0x285),[]),_(this,_0x176d20(0x236),null),_(this,'_textBubble',null),_(this,_0x176d20(0x2ce),null),_(this,_0x176d20(0x1d0),null),_(this,_0x176d20(0x28b),null),(this['_cursor']=_0x3f2e8b,this[_0x176d20(0x33f)]=_0x177ceb,this[_0x176d20(0x179)]=_0x28d4a8,this[_0x176d20(0x26e)]=_0x5d40a1,this[_0x176d20(0x29f)]());}set[_0x86a805(0x1df)](_0x1cb5db){const _0x285e38=_0x86a805;_0x1cb5db?(this['_anchorDot']&&this[_0x285e38(0x2ce)][_0x285e38(0x32a)](),this[_0x285e38(0x351)]&&this[_0x285e38(0x351)][_0x285e38(0x230)]()):(this[_0x285e38(0x2ce)]&&this['_anchorDot'][_0x285e38(0x230)](),this[_0x285e38(0x351)]&&this[_0x285e38(0x351)][_0x285e38(0x32a)]());}[_0x86a805(0x33c)](){const _0x4813c7=_0x86a805;for(const _0x3771be of this[_0x4813c7(0x285)])_0x3771be['dispose']();this[_0x4813c7(0x351)]&&this[_0x4813c7(0x351)][_0x4813c7(0x33c)](),this[_0x4813c7(0x2ce)]&&this[_0x4813c7(0x2ce)]['dispose'](),this[_0x4813c7(0x236)]&&this[_0x4813c7(0x236)][_0x4813c7(0x33c)](),this[_0x4813c7(0x28b)]&&this['_eventUnsubscribe']();}['_render'](){const _0x403cc9=_0x86a805;var _0x1b5d61;const {_docSkeleton:_0x35730d,_document:_0x4a642a}=this,{color:_0x3f8137,name:_0x5c7599,ranges:_0x215112}=this[_0x403cc9(0x1a4)],_0x16aba2=_0x4a642a['getOffsetConfig'](),{docsLeft:_0x1b088e,docsTop:_0x5202de}=_0x16aba2,_0x585f60=new _0x3d8185(_0x16aba2,_0x35730d);for(const {startOffset:_0x2c9610,endOffset:_0x27faaf,rangeType:_0x2cde13,segmentId:_0x1a05ff,segmentPage:_0x3503ce,collapsed:_0x3e8c3e,isActive:_0x5e7d5a}of _0x215112){const _0x5511c7=_0x35730d[_0x403cc9(0x1b0)](_0x2c9610,!0x0,_0x1a05ff,_0x3503ce);let _0x132fce=_0x35730d[_0x403cc9(0x1b0)](_0x27faaf,!0x0,_0x1a05ff,_0x3503ce);if(_0x132fce==null&&(_0x132fce=_0x35730d[_0x403cc9(0x1b0)](_0x27faaf-0x1,!0x1,_0x1a05ff,_0x3503ce)),_0x5e7d5a){const {contentBoxPointGroup:_0x1a7235}=_0x585f60[_0x403cc9(0x18c)](_0x132fce,_0x132fce);if(_0x1a7235[_0x403cc9(0x303)]===0x0)continue;this[_0x403cc9(0x323)](_0x3f8137,_0x1a7235,_0x1b088e,_0x5202de,_0x5c7599),this['_eventUnsubscribe']=this[_0x403cc9(0x1e9)]();}if(_0x5511c7&&_0x132fce){if(_0x2cde13===_0x30e768[_0x403cc9(0x359)]){const _0x23dd93=new _0x6af631(_0x16aba2,_0x35730d),{pointGroup:_0x229f26}=(_0x1b5d61=_0x23dd93[_0x403cc9(0x18c)](_0x5511c7,_0x132fce))!=null?_0x1b5d61:{};if(_0x229f26==null||_0x229f26[_0x403cc9(0x303)]===0x0)continue;this['_drawRectRange'](_0x3f8137,_0x229f26,_0x1b088e,_0x5202de);}else{if(!_0x3e8c3e){const {borderBoxPointGroup:_0x39b086}=_0x585f60[_0x403cc9(0x18c)](_0x5511c7,_0x132fce);if(_0x39b086[_0x403cc9(0x303)]===0x0)continue;this[_0x403cc9(0x254)](_0x3f8137,_0x39b086,_0x1b088e,_0x5202de);}}}}}['_drawAnchor'](_0x2db713,_0x1656e1,_0x5e35e4,_0x52229a,_0x18dcb1){const _0x3ec788=_0x86a805,_0x3d30fd=this[_0x3ec788(0x1f0)](_0x1656e1),{left:_0x387169,top:_0x5c916d,height:_0x53dab0}=_0x3d30fd,_0x6cd159=this['_getScale'](),_0x57688d=Ni/_0x6cd159,_0x3761ee=new _0x48588e(ve+_0x168ff4['generateRandomId'](X),{'left':_0x387169+_0x5e35e4-_0x57688d,'top':_0x5c916d+_0x52229a,'height':_0x53dab0,'width':Di,'fill':_0x2db713||_0xf39730(_0x26d279[_0x3ec788(0x1dc)],0x0),'strokeWidth':_0x57688d,'stroke':Ui,'evented':!0x0});this[_0x3ec788(0x236)]=_0x3761ee,this[_0x3ec788(0x33f)][_0x3ec788(0x288)](_0x3761ee,_0x2b96c7);const _0x22ce82=new _0x48588e(ve+_0x168ff4['generateRandomId'](X),{'left':_0x387169+_0x5e35e4-_0x57688d,'top':_0x5c916d+_0x52229a-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x2db713||_0xf39730(_0x26d279['black'],0x0),'strokeWidth':0x0,'stroke':_0x2db713||_0xf39730(_0x26d279['black'],0x0),'evented':!0x1});this[_0x3ec788(0x2ce)]=_0x22ce82,this[_0x3ec788(0x33f)][_0x3ec788(0x288)](_0x22ce82,_0x2b96c7);const _0x1d6036=new ue(ve+_0x168ff4['generateRandomId'](X),{'left':_0x387169+_0x5e35e4-_0x57688d,'top':_0x5c916d+_0x52229a-te,'text':_0x18dcb1,'color':_0x2db713});this[_0x3ec788(0x351)]=_0x1d6036,this[_0x3ec788(0x33f)][_0x3ec788(0x288)](_0x1d6036,_0x2b96c7),this[_0x3ec788(0x1df)]=!0x1;}[_0x86a805(0x1e9)](){const _0xb6fd2a=_0x86a805,_0x5a61f4=this['_anchor'][_0xb6fd2a(0x1c5)][_0xb6fd2a(0x300)](()=>{const _0x42c483=_0xb6fd2a;this[_0x42c483(0x1df)]=!0x0;}),_0x1ac0ee=this[_0xb6fd2a(0x236)][_0xb6fd2a(0x297)][_0xb6fd2a(0x300)](()=>{const _0x4a1172=_0xb6fd2a;this[_0x4a1172(0x1d0)]&&clearTimeout(this[_0x4a1172(0x1d0)]),this[_0x4a1172(0x1d0)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1bb645=_0xb6fd2a;_0x5a61f4[_0x1bb645(0x265)](),_0x1ac0ee['unsubscribe']();};}[_0x86a805(0x254)](_0x2c3dc5,_0x38767d,_0xdc4493,_0x51f754){const _0x578671=_0x86a805,_0x349db7=new _0x2e19d1(_0x2c3dc5)[_0x578671(0x19d)](0.2)[_0x578671(0x194)](),_0x2dea44=new _0x59edba(Ti+_0x168ff4[_0x578671(0x336)](X),{'pointsGroup':_0x38767d,'fill':_0x349db7||_0xf39730(_0x26d279['black'],0.2),'left':_0xdc4493,'top':_0x51f754,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x578671(0x285)]['push'](_0x2dea44),this[_0x578671(0x33f)]['addObject'](_0x2dea44,_0x2b96c7);}[_0x86a805(0x1e6)](_0x42bcf1,_0xee8416,_0x9ad03c,_0x343f2b){const _0x533b4e=_0x86a805,_0x269fc4=new _0x2e19d1(_0x42bcf1)['setAlpha'](0.2)['toRgbString'](),_0x38031c=new _0x59edba(Ri+_0x168ff4[_0x533b4e(0x336)](X),{'pointsGroup':_0xee8416,'fill':_0x269fc4||_0xf39730(_0x26d279[_0x533b4e(0x1dc)],0.2),'left':_0x9ad03c,'top':_0x343f2b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x533b4e(0x285)]['push'](_0x38031c),this[_0x533b4e(0x33f)][_0x533b4e(0x288)](_0x38031c,_0x2b96c7);}['_getAnchorBounding'](_0x365a77){const _0x55ceb3=_0x365a77[0x0],_0x4fa87d=_0x55ceb3[0x0],_0x408f13=_0x55ceb3[0x2],{x:_0x314377,y:_0xaa8702}=_0x4fa87d,{x:_0x37baf0,y:_0x225055}=_0x408f13;return{'left':_0x314377,'top':_0xaa8702,'width':_0x37baf0-_0x314377,'height':_0x225055-_0xaa8702};}['_getScale'](){const _0x3bdcc9=_0x86a805,{scaleX:_0x103e6d,scaleY:_0xa43be1}=this[_0x3bdcc9(0x33f)][_0x3bdcc9(0x20c)]();return Math['max'](_0x103e6d,_0xa43be1);}}var Mi=Object[_0x86a805(0x172)],Pi=(_0x4c9865,_0x5371b9,_0x49b69b,_0x19c65a)=>{const _0x4feee5=_0x86a805;for(var _0x1d93df=_0x19c65a>0x1?void 0x0:_0x19c65a?Mi(_0x5371b9,_0x49b69b):_0x5371b9,_0x196bdd=_0x4c9865[_0x4feee5(0x303)]-0x1,_0x3d0384;_0x196bdd>=0x0;_0x196bdd--)(_0x3d0384=_0x4c9865[_0x196bdd])&&(_0x1d93df=_0x3d0384(_0x1d93df)||_0x1d93df);return _0x1d93df;},Q=(_0x3ac3ba,_0x497d76)=>(_0x3f076b,_0x407b53)=>_0x497d76(_0x3f076b,_0x407b53,_0x3ac3ba);let we=class extends _0xb123e2{constructor(_0x2f8707,_0xc510d1,_0x5a6258,_0xb63668,_0x390a1f){const _0x3a30ef=_0x86a805;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this['_context']=_0x2f8707,this[_0x3a30ef(0x2c9)]=_0xc510d1,this['_collabCursorController']=_0x5a6258,this[_0x3a30ef(0x1b4)]=_0xb63668,this[_0x3a30ef(0x301)]=_0x390a1f,this[_0x3a30ef(0x312)]());}[_0x86a805(0x312)](){const _0x548066=_0x86a805,_0x4eda1d=this['_context'][_0x548066(0x337)],_0xcedc6c=this[_0x548066(0x2c9)];this[_0x548066(0x299)](_0xf7d9e2([this['_collabCursorController'][_0x548066(0x272)](_0x4eda1d),this['_themeService'][_0x548066(0x314)]])['pipe'](_0x169f56(([_0x2d040b,_0x2db129])=>({'skeleton':_0xcedc6c[_0x548066(0x21e)](),'cursors':[..._0x2d040b[_0x548066(0x328)]()][_0x548066(0x2ba)](_0x5a6024=>({..._0x5a6024,'color':_0x2db129[_0x5a6024[_0x548066(0x358)]]}))})))[_0x548066(0x22b)](_0x54c78b=>{const _0x4ca56d=_0x548066;if(this['_removeCollabCursors'](),_0x54c78b){const {skeleton:_0x4da14c,cursors:_0x48eacc}=_0x54c78b;this[_0x4ca56d(0x321)](_0x4da14c,_0x48eacc);}})),this[_0x548066(0x231)](),this['_initCommandExecutedListener']();}[_0x86a805(0x321)](_0x8e2a72,_0x339cf){const _0x594ab3=_0x86a805,{scene:_0x2a5a7d,mainComponent:_0x1364a8}=this[_0x594ab3(0x266)],_0x543b7b=_0x339cf[_0x594ab3(0x1d7)](_0x1d7d58=>new tt(_0x1d7d58,_0x2a5a7d,_0x8e2a72,_0x1364a8));this[_0x594ab3(0x1ae)]=_0x543b7b,this[_0x594ab3(0x1a6)]=_0x339cf;}[_0x86a805(0x28d)](){const _0xe7cf9a=_0x86a805;this[_0xe7cf9a(0x258)]();const {scene:_0x5a1918,mainComponent:_0x41c462}=this[_0xe7cf9a(0x266)],_0x3436b6=this[_0xe7cf9a(0x2c9)][_0xe7cf9a(0x21e)](),_0x1ca6e5=this[_0xe7cf9a(0x1a6)]['map'](_0x3de932=>new tt(_0x3de932,_0x5a1918,_0x3436b6,_0x41c462));this[_0xe7cf9a(0x1ae)]=_0x1ca6e5;}[_0x86a805(0x258)](){const _0x187971=_0x86a805;this[_0x187971(0x1ae)]['forEach'](_0x5b4a48=>_0x5b4a48['dispose']()),this[_0x187971(0x1ae)]=[];}[_0x86a805(0x346)](){const _0x35e07a=_0x86a805,_0x4156ab=[_0x24bb32['id']];this[_0x35e07a(0x299)](this[_0x35e07a(0x1b4)]['onCommandExecuted'](_0x185b1a=>{const _0x3daa72=_0x35e07a;_0x4156ab['includes'](_0x185b1a['id'])&&_0x185b1a[_0x3daa72(0x348)][_0x3daa72(0x337)]===this['_context'][_0x3daa72(0x337)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x46813a=_0x86a805;this[_0x46813a(0x299)](_0x580ec3(this['_context'][_0x46813a(0x2ae)][_0x46813a(0x319)])[_0x46813a(0x205)](_0xc45b71(_0x521d52=>_0x521d52[_0x46813a(0x309)]===_0x295533[_0x46813a(0x1bd)]),_0x325872(0x10))[_0x46813a(0x22b)](()=>{const _0x40b90e=_0x46813a;this[_0x40b90e(0x28d)]();}));}};we=Pi([Q(0x1,_0x545293(_0x35d61b)),Q(0x2,_0x545293(H)),Q(0x3,_0x27119f),Q(0x4,_0x545293(_0x1eaa15))],we);const wi=0x1,Li=1.5;class Ai extends _0x48deee{constructor(_0x2e3951,_0x29f069){const _0x251f2a=_0x86a805;super(_0x2e3951,_0x29f069),_(this,_0x251f2a(0x27c)),_(this,_0x251f2a(0x18f),!0x1),_(this,_0x251f2a(0x174)),_(this,'_name',''),_(this,_0x251f2a(0x33e),'top'),_(this,_0x251f2a(0x2c6)),(_0x29f069&&this['setShapeProps'](_0x29f069),this[_0x251f2a(0x1c5)][_0x251f2a(0x300)](()=>this[_0x251f2a(0x2ac)]({'hovered':!0x0})),this[_0x251f2a(0x297)][_0x251f2a(0x300)](()=>this[_0x251f2a(0x2ac)]({'hovered':!0x1})));}[_0x86a805(0x2ac)](_0x4cc6da){const _0x2497c0=_0x86a805;var _0x4335eb,_0x2138af,_0x1b62b5,_0x4ffd78,_0x2279e3,_0x235c73;this[_0x2497c0(0x27c)]=(_0x4335eb=_0x4cc6da[_0x2497c0(0x358)])!=null?_0x4335eb:this[_0x2497c0(0x27c)],this[_0x2497c0(0x18f)]=(_0x2138af=_0x4cc6da[_0x2497c0(0x295)])!=null?_0x2138af:this[_0x2497c0(0x18f)],this[_0x2497c0(0x174)]=(_0x1b62b5=_0x4cc6da[_0x2497c0(0x2a2)])!=null?_0x1b62b5:this['_range'],this[_0x2497c0(0x1b2)]=(_0x4ffd78=_0x4cc6da[_0x2497c0(0x2ee)])!=null?_0x4ffd78:this[_0x2497c0(0x1b2)],this[_0x2497c0(0x33e)]=(_0x2279e3=_0x4cc6da['labelPosition'])!=null?_0x2279e3:this[_0x2497c0(0x33e)],this[_0x2497c0(0x2c6)]=(_0x235c73=_0x4cc6da[_0x2497c0(0x218)])!=null?_0x235c73:this[_0x2497c0(0x2c6)],this['transformByState']({'width':_0x4cc6da[_0x2497c0(0x1f5)],'height':_0x4cc6da['height']});}[_0x86a805(0x203)](_0x3bfec2){const _0x3fc224=_0x86a805,{row:_0x1fb728,column:_0x48cc14}=_0x3bfec2;if(_0x1fb728>=this[_0x3fc224(0x174)][_0x3fc224(0x2b8)]&&_0x1fb728<=this['_range']['endRow']&&_0x48cc14>=this[_0x3fc224(0x174)][_0x3fc224(0x2dc)]&&_0x48cc14<=this[_0x3fc224(0x174)][_0x3fc224(0x1d9)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3fc224(0x2ac)]({'hovered':!0x1});}[_0x86a805(0x305)](_0x5b6f5a){return!0x1;}[_0x86a805(0x1cd)](_0x59dc80){const _0x7b8e6=_0x86a805;_0x48588e[_0x7b8e6(0x2d2)](_0x59dc80,{'width':this[_0x7b8e6(0x1f5)],'height':this[_0x7b8e6(0x2cc)],'strokeWidth':Li,'stroke':this[_0x7b8e6(0x27c)],'evented':!0x1,'fill':this[_0x7b8e6(0x2c6)]}),this[_0x7b8e6(0x18f)]&&(_0x59dc80[_0x7b8e6(0x19a)](),_0x59dc80[_0x7b8e6(0x29c)](0x1,0x0,0x0,0x1,this[_0x7b8e6(0x1f5)],this[_0x7b8e6(0x33e)]==='bottom'?0x0:-0x14),ue[_0x7b8e6(0x2d2)](_0x59dc80,{'text':this[_0x7b8e6(0x1b2)],'color':this[_0x7b8e6(0x27c)]}),_0x59dc80[_0x7b8e6(0x1cf)]());}}var yi=Object[_0x86a805(0x172)],$i=(_0x4fd9fe,_0x4a3ac4,_0x161946,_0x3c8a5f)=>{const _0x1515d3=_0x86a805;for(var _0x37a296=_0x3c8a5f>0x1?void 0x0:_0x3c8a5f?yi(_0x4a3ac4,_0x161946):_0x4a3ac4,_0x421f18=_0x4fd9fe[_0x1515d3(0x303)]-0x1,_0x42e890;_0x421f18>=0x0;_0x421f18--)(_0x42e890=_0x4fd9fe[_0x421f18])&&(_0x37a296=_0x42e890(_0x37a296)||_0x37a296);return _0x37a296;},pe=(_0x332d19,_0x14428d)=>(_0x21bd4a,_0x5efab7)=>_0x14428d(_0x21bd4a,_0x5efab7,_0x332d19);const xi=0x1389;let Le=class extends _0xb123e2{constructor(_0x22594f,_0x5e5e45,_0xf4ac46,_0x2fa2c3){const _0x4adf17=_0x86a805;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this['_context']=_0x22594f,this[_0x4adf17(0x31c)]=_0x5e5e45,this['_collabCursorController']=_0xf4ac46,this[_0x4adf17(0x301)]=_0x2fa2c3,this[_0x4adf17(0x312)]());}[_0x86a805(0x312)](){const _0x2fd0f6=_0x86a805;this[_0x2fd0f6(0x31c)][_0x2fd0f6(0x1c9)][_0x2fd0f6(0x205)](_0x567084(this[_0x2fd0f6(0x289)]),_0x5d3754(_0x1b51cf=>{const _0x2925c2=_0x2fd0f6;if(_0x1b51cf){const _0x4e63ca=_0x1b51cf[_0x2925c2(0x30c)];return _0xf7d9e2(this['_collabCursorController'][_0x2925c2(0x272)](this[_0x2925c2(0x266)][_0x2925c2(0x337)]),this[_0x2925c2(0x301)][_0x2925c2(0x314)])[_0x2925c2(0x205)](_0x169f56(([_0x423b50,_0x416fc8])=>{const _0x49a816=_0x2925c2,_0x433202=new Map();return _0x423b50[_0x49a816(0x2e6)]((_0x4e1840,_0xea9507)=>{const _0x5aa997=_0x49a816;if(_0x4e1840[_0x5aa997(0x26a)]===_0x4e63ca){const _0x421d5b={..._0x4e1840};_0x421d5b[_0x5aa997(0x358)]=_0x416fc8[_0x4e1840['color']],_0x433202[_0x5aa997(0x1a2)](_0xea9507,_0x421d5b);}}),{'skeleton':_0x1b51cf,'cursors':_0x433202};}));}return _0x2404b0({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x476b61,cursors:_0x392230})=>{const _0x525620=_0x2fd0f6;this[_0x525620(0x258)](),_0x476b61&&this['_updateCollabCursors'](_0x476b61,_0x392230);}),this[_0x2fd0f6(0x31c)][_0x2fd0f6(0x1c9)][_0x2fd0f6(0x22b)](_0x3391bd=>{const _0xb1c974=_0x2fd0f6;if(_0x3391bd==null)return;const {skeleton:_0x4ea409}=_0x3391bd,{scene:_0x38d2d3}=this[_0xb1c974(0x266)];_0x38d2d3['onPointerMove$']['subscribeEvent'](_0x395ecb(_0x3b3a02=>{const _0x1c8740=_0xb1c974;var _0x42bb82,_0x1bc7b4;const {offsetX:_0x5dd936,offsetY:_0x4dc56c}=_0x3b3a02,{x:_0x1752ec,y:_0x4e0591}=_0x38d2d3[_0x1c8740(0x1d2)](_0x5c22fd['FromArray']([_0x5dd936,_0x4dc56c])),{scaleX:_0x1c5d6f,scaleY:_0x2b036b}=_0x38d2d3[_0x1c8740(0x20c)](),_0x4b71cf=_0x38d2d3[_0x1c8740(0x2fb)](_0x1bde1a[_0x1c8740(0x1f7)]),_0x15e683=_0x38d2d3['getVpScrollXYInfoByPosToVp'](_0x5c22fd['FromArray']([_0x1752ec,_0x4e0591]),_0x4b71cf),_0x2f884f=_0x4ea409[_0x1c8740(0x2f7)](_0x5dd936,_0x4dc56c,_0x1c5d6f,_0x2b036b,_0x15e683);((_0x42bb82=this[_0x1c8740(0x287)])==null?void 0x0:_0x42bb82[_0x1c8740(0x261)])===_0x2f884f[_0x1c8740(0x261)]&&((_0x1bc7b4=this[_0x1c8740(0x287)])==null?void 0x0:_0x1bc7b4[_0x1c8740(0x2ea)])===_0x2f884f[_0x1c8740(0x2ea)]||this['_cursors'][_0x1c8740(0x2e6)](_0x350fcd=>{_0x350fcd['onMouseMove'](_0x2f884f);});},0x64));});}[_0x86a805(0x321)](_0x12be0e,_0xfd588d){const _0x4c1b04=_0x86a805;var _0x5f9d97;const _0x495029=(_0x5f9d97=this[_0x4c1b04(0x31c)]['getCurrent']())==null?void 0x0:_0x5f9d97['skeleton'];if(!_0x495029)return;const _0x121b4f=this[_0x4c1b04(0x36f)]();if(!_0x121b4f)return;this['_cursors'][_0x4c1b04(0x2e6)](_0x56c7e8=>{const _0x560017=_0x4c1b04;_0x56c7e8[_0x560017(0x1b9)]();});const {scene:_0x14ec79}=_0x121b4f,_0x963bd5=Bi(Array[_0x4c1b04(0x21a)](_0xfd588d[_0x4c1b04(0x328)]()))['map'](_0x1d275c=>{const _0x55a7c3=_0x4c1b04,{color:_0x2ae754,range:_0x2d3910,name:_0x31ca9b,selection:_0xc0aad5,sheetID:_0x59d43b}=_0x1d275c,{startColumn:_0x35e946,startRow:_0x11e288,endColumn:_0x51dd81,endRow:_0x3978a6}=_0x2d3910,_0x286cd8=_0x365e27(_0x11e288,_0x35e946,_0x14ec79,_0x495029),_0x4b0133=_0x365e27(_0x3978a6,_0x51dd81,_0x14ec79,_0x495029),{columnHeaderHeightAndMarginTop:_0x4f99e4}=_0x495029,{startX:_0x2768a5,startY:_0x28b70a}=_0x286cd8,{endX:_0x55aada,endY:_0x192d5a}=_0x4b0133,_0x57ec3e=_0x55aada-_0x2768a5,_0x397ef4=_0x192d5a-_0x28b70a,_0x2f862c={'labelPosition':_0x28b70a-_0x4f99e4>=te?_0x55a7c3(0x182):_0x55a7c3(0x2cb),'sheetID':_0x59d43b,'range':_0x2d3910,'color':_0x2ae754,'name':_0x31ca9b,'selection':_0xc0aad5,'left':_0x2768a5,'top':_0x28b70a,'width':_0x57ec3e,'height':_0x397ef4,'evented':!0x1,'zIndex':xi};return new Ai(_0x31ca9b,_0x2f862c);});_0x14ec79[_0x4c1b04(0x304)](_0x963bd5,wi),this[_0x4c1b04(0x1a6)]=new Set(_0x963bd5);}[_0x86a805(0x258)](){const _0x3539e8=_0x86a805;var _0x30eb2b;(_0x30eb2b=this[_0x3539e8(0x1a6)])==null||_0x30eb2b['forEach'](_0x41e071=>_0x41e071['dispose']());}[_0x86a805(0x36f)](){const _0x320436=_0x86a805;return _0x4dd264(this['_context'][_0x320436(0x302)],this[_0x320436(0x266)]);}};Le=$i([pe(0x1,_0x545293(_0x17ce2b)),pe(0x2,_0x545293(H)),pe(0x3,_0x545293(_0x1eaa15))],Le);function Bi(_0x2c7c8b){const _0x526e4d=_0x86a805,_0x3197a8=new Map();return _0x2c7c8b[_0x526e4d(0x2e6)](_0x1b0a1d=>{const _0x565e43=_0x526e4d;if(_0x3197a8[_0x565e43(0x260)](_0x1b0a1d[_0x565e43(0x28c)])){const _0x376a30=_0x3197a8['get'](_0x1b0a1d['selection']);_0x376a30[_0x565e43(0x2ee)]+=',\x20'+_0x1b0a1d['name'];}else _0x3197a8[_0x565e43(0x1a2)](_0x1b0a1d[_0x565e43(0x28c)],_0x1b0a1d);}),Array['from'](_0x3197a8[_0x526e4d(0x328)]());}var I=function(){const _0x529da8=_0x86a805;return I=Object[_0x529da8(0x25a)]||function(_0x128e2f){const _0x51d488=_0x529da8;for(var _0x248700,_0x35b47f=0x1,_0x1c9ace=arguments[_0x51d488(0x303)];_0x35b47f<_0x1c9ace;_0x35b47f++){_0x248700=arguments[_0x35b47f];for(var _0x3e8507 in _0x248700)Object['prototype']['hasOwnProperty']['call'](_0x248700,_0x3e8507)&&(_0x128e2f[_0x3e8507]=_0x248700[_0x3e8507]);}return _0x128e2f;},I[_0x529da8(0x353)](this,arguments);},ki=function(_0x241dde,_0x4d3020){const _0x4793af=_0x86a805;var _0x329a98={};for(var _0x15e1b6 in _0x241dde)Object[_0x4793af(0x32d)][_0x4793af(0x267)]['call'](_0x241dde,_0x15e1b6)&&_0x4d3020[_0x4793af(0x35e)](_0x15e1b6)<0x0&&(_0x329a98[_0x15e1b6]=_0x241dde[_0x15e1b6]);if(_0x241dde!=null&&typeof Object[_0x4793af(0x1fe)]==_0x4793af(0x32b)){for(var _0x4e295e=0x0,_0x15e1b6=Object[_0x4793af(0x1fe)](_0x241dde);_0x4e295e<_0x15e1b6[_0x4793af(0x303)];_0x4e295e++)_0x4d3020[_0x4793af(0x35e)](_0x15e1b6[_0x4e295e])<0x0&&Object[_0x4793af(0x32d)][_0x4793af(0x19b)][_0x4793af(0x34e)](_0x241dde,_0x15e1b6[_0x4e295e])&&(_0x329a98[_0x15e1b6[_0x4e295e]]=_0x241dde[_0x15e1b6[_0x4e295e]]);}return _0x329a98;},We=_0x372972(function(_0x236493,_0x2c6978){const _0x4a84b7=_0x86a805;var _0x22cba9=_0x236493[_0x4a84b7(0x21d)],_0x39f667=_0x236493['id'],_0x364293=_0x236493[_0x4a84b7(0x2f1)],_0x188602=_0x236493[_0x4a84b7(0x1e5)],_0x13cab2=ki(_0x236493,['icon','id','className',_0x4a84b7(0x1e5)]),_0x25a807=_0x4a84b7(0x1be)[_0x4a84b7(0x206)](_0x39f667,'\x20')[_0x4a84b7(0x206)](_0x364293||'')[_0x4a84b7(0x188)](),_0x47f1f3=_0xfd6f42('_'[_0x4a84b7(0x206)](Wi()));return Nt(_0x22cba9,''[_0x4a84b7(0x206)](_0x39f667),{'defIds':_0x22cba9['defIds'],'idSuffix':_0x47f1f3[_0x4a84b7(0x2c1)]},I({'ref':_0x2c6978,'className':_0x25a807},_0x13cab2),_0x188602);});function Nt(_0x3f0785,_0x352796,_0x4a0765,_0x56ea7e,_0x1bcbb7){const _0x2e7630=_0x86a805;return _0x5678ba(_0x3f0785[_0x2e7630(0x227)],I(I({'key':_0x352796},Hi(_0x3f0785,_0x4a0765,_0x1bcbb7)),_0x56ea7e),(ji(_0x3f0785,_0x4a0765)[_0x2e7630(0x1af)]||[])[_0x2e7630(0x1d7)](function(_0x3fc92d,_0x415cb2){const _0x23fca2=_0x2e7630;return Nt(_0x3fc92d,''[_0x23fca2(0x206)](_0x352796,'-')[_0x23fca2(0x206)](_0x3f0785[_0x23fca2(0x227)],'-')[_0x23fca2(0x206)](_0x415cb2),_0x4a0765,void 0x0,_0x1bcbb7);}));}function Hi(_0x5e6489,_0x1b1e62,_0x3cf9c1){const _0x375721=_0x86a805;var _0x362359=I({},_0x5e6489['attrs']);_0x3cf9c1!=null&&_0x3cf9c1['colorChannel1']&&_0x362359[_0x375721(0x282)]==='colorChannel1'&&(_0x362359[_0x375721(0x282)]=_0x3cf9c1[_0x375721(0x1c1)]),_0x5e6489[_0x375721(0x227)]===_0x375721(0x1b3)&&_0x362359['id']&&(_0x362359['id']=_0x362359['id']+_0x1b1e62[_0x375721(0x25c)]),Object[_0x375721(0x2e7)](_0x362359)[_0x375721(0x2e6)](function(_0x190a7c){const _0x2fa4f8=_0x375721;var _0x461443=_0x190a7c[0x0],_0x382707=_0x190a7c[0x1];_0x461443===_0x2fa4f8(0x1b3)&&typeof _0x382707=='string'&&(_0x362359[_0x461443]=_0x382707[_0x2fa4f8(0x256)](/url\(#(.*)\)/,_0x2fa4f8(0x2da)[_0x2fa4f8(0x206)](_0x1b1e62[_0x2fa4f8(0x25c)],')')));});var _0x10728b=_0x1b1e62[_0x375721(0x370)];return!_0x10728b||_0x10728b['length']===0x0||(_0x5e6489[_0x375721(0x227)]===_0x375721(0x20a)&&_0x362359['xlink:href']&&(_0x362359['xlink:href']=_0x362359['xlink:href']+_0x1b1e62[_0x375721(0x25c)]),Object['entries'](_0x362359)['forEach'](function(_0x1afb46){const _0x229c68=_0x375721;var _0x57d5f6=_0x1afb46[0x0],_0x3479a5=_0x1afb46[0x1];typeof _0x3479a5=='string'&&(_0x362359[_0x57d5f6]=_0x3479a5[_0x229c68(0x256)](/url\(#(.*)\)/,_0x229c68(0x2da)['concat'](_0x1b1e62[_0x229c68(0x25c)],')')));})),_0x362359;}function ji(_0x3aa88c,_0x4afb2e){const _0x13bab8=_0x86a805;var _0x3a0334,_0xacbd87=_0x4afb2e[_0x13bab8(0x370)];return!_0xacbd87||_0xacbd87[_0x13bab8(0x303)]===0x0?_0x3aa88c:_0x3aa88c[_0x13bab8(0x227)]==='defs'&&(!((_0x3a0334=_0x3aa88c['children'])===null||_0x3a0334===void 0x0)&&_0x3a0334[_0x13bab8(0x303)])?I(I({},_0x3aa88c),{'children':_0x3aa88c['children']['map'](function(_0x25c6c7){const _0x56ef56=_0x13bab8;return typeof _0x25c6c7[_0x56ef56(0x2eb)]['id']==_0x56ef56(0x354)&&_0xacbd87&&_0xacbd87['indexOf'](_0x25c6c7[_0x56ef56(0x2eb)]['id'])>-0x1?I(I({},_0x25c6c7),{'attrs':I(I({},_0x25c6c7[_0x56ef56(0x2eb)]),{'id':_0x25c6c7[_0x56ef56(0x2eb)]['id']+_0x4afb2e[_0x56ef56(0x25c)]})}):_0x25c6c7;})}):_0x3aa88c;}function Wi(){const _0x1261c6=_0x86a805;return Math[_0x1261c6(0x23e)]()[_0x1261c6(0x36c)](0x24)[_0x1261c6(0x2bc)](0x2,0x8);}We[_0x86a805(0x35d)]=_0x86a805(0x217);var Fi={'tag':_0x86a805(0x310),'attrs':{'fill':'none','viewBox':_0x86a805(0x1c6),'width':_0x86a805(0x2b0),'height':_0x86a805(0x2b0)},'children':[{'tag':'g','attrs':{'clipPath':_0x86a805(0x290)},'children':[{'tag':_0x86a805(0x2f8),'attrs':{'stroke':_0x86a805(0x22a),'d':_0x86a805(0x264),'strokeLinecap':_0x86a805(0x244),'strokeLinejoin':_0x86a805(0x244),'strokeWidth':1.2}}]},{'tag':_0x86a805(0x2d7),'attrs':{},'children':[{'tag':_0x86a805(0x315),'attrs':{'id':_0x86a805(0x1a1)},'children':[{'tag':'path','attrs':{'fill':_0x86a805(0x1f8),'d':_0x86a805(0x278)}}]}]}],'defIds':[_0x86a805(0x1a1)]},Ut=_0x372972(function(_0x4ad6fc,_0x15178e){const _0x549ccc=_0x86a805;return _0x5678ba(We,Object[_0x549ccc(0x25a)]({},_0x4ad6fc,{'id':_0x549ccc(0x36e),'ref':_0x15178e,'icon':Fi}));});Ut[_0x86a805(0x35d)]=_0x86a805(0x28f);var Yi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x86a805(0x2f9),'width':_0x86a805(0x2b0),'height':_0x86a805(0x2b0)},'children':[{'tag':'g','attrs':{'clipPath':_0x86a805(0x20b)},'children':[{'tag':_0x86a805(0x2f8),'attrs':{'stroke':_0x86a805(0x22a),'d':_0x86a805(0x276),'strokeLinecap':_0x86a805(0x244),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x86a805(0x2d7),'attrs':{},'children':[{'tag':_0x86a805(0x315),'attrs':{'id':_0x86a805(0x24f)},'children':[{'tag':'path','attrs':{'fill':_0x86a805(0x1f8),'d':'M0\x200H16V16H0z','transform':_0x86a805(0x22f)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Mt=_0x372972(function(_0x23e67d,_0x452aec){const _0x37c230=_0x86a805;return _0x5678ba(We,Object[_0x37c230(0x25a)]({},_0x23e67d,{'id':_0x37c230(0x1c8),'ref':_0x452aec,'icon':Yi}));});Mt[_0x86a805(0x35d)]=_0x86a805(0x257);const Vi=_0x86a805(0x2a4),Xi=_0x86a805(0x343),Gi=_0x86a805(0x2bd),Ki='univer-online',zi=_0x86a805(0x1db),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0xd6891c){const _0x59589e=_0x86a805;switch(_0xd6891c){case _0x185889[_0x59589e(0x326)]:return _0x59589e(0x27b);case _0x185889[_0x59589e(0x249)]:return _0x59589e(0x35f);case _0x185889[_0x59589e(0x17f)]:return'collabStatus.fetchMiss';case _0x185889[_0x59589e(0x243)]:return'collabStatus.notCollab';case _0x185889[_0x59589e(0x18a)]:case _0x185889[_0x59589e(0x333)]:return _0x59589e(0x344);case _0x185889[_0x59589e(0x2ad)]:case _0x185889[_0x59589e(0x34c)]:return _0x59589e(0x280);}}function Zi(_0x15162b){const _0x29ba98=_0x86a805,{status$:_0x7c36f4}=_0x15162b,_0x492165=_0x52d375(_0x7c36f4,_0x185889['NOT_COLLAB']),_0x434eed=_0x3ced37(_0x31b4bf),_0x46aa99=_0x3ced37(_0x1c0a48),_0x12def6=_0x492165!==_0x185889[_0x29ba98(0x326)],_0x484b94=_0x434eed['t'](Ji(_0x492165)),_0x2b1fd6=_0x530cb9(G['onlineStatus'],{[G[_0x29ba98(0x1d5)]]:_0x12def6,[G[_0x29ba98(0x2fa)]]:!_0x12def6}),_0x116ab2=_0x12def6?_0x2a7306(Mt,{}):_0x2a7306(Ut,{}),_0x4c37f1=_0x127ea7(()=>{const _0x5e0f04=_0x29ba98;_0x12def6||_0x46aa99[_0x5e0f04(0x2cd)]();},[_0x12def6,_0x46aa99]);function _0x421684(){const _0x18c603=_0x29ba98;return _0x3c0c6a(_0x18c603(0x1d1),{'className':_0x530cb9(_0x2b1fd6,_0x18c603(0x369)),'onClick':_0x4c37f1,'children':[_0x2a7306(_0x18c603(0x1d1),{'className':G['onlineStatusIcon'],'children':_0x116ab2}),_0x2a7306(_0x18c603(0x1d1),{'className':G['onlineStatusTitle'],'children':_0x484b94})]});}return _0x12def6?_0x421684():_0x2a7306(_0x67b36c,{'title':_0x434eed['t'](_0x29ba98(0x292)),'children':_0x421684()});}var Qi=Object[_0x86a805(0x172)],qi=(_0x39c624,_0x380cb6,_0x2abc8f,_0xd92ac8)=>{for(var _0x36e69f=_0xd92ac8>0x1?void 0x0:_0xd92ac8?Qi(_0x380cb6,_0x2abc8f):_0x380cb6,_0x5f3a2d=_0x39c624['length']-0x1,_0x287a19;_0x5f3a2d>=0x0;_0x5f3a2d--)(_0x287a19=_0x39c624[_0x5f3a2d])&&(_0x36e69f=_0x287a19(_0x36e69f)||_0x36e69f);return _0x36e69f;},q=(_0xb821c3,_0x414ea8)=>(_0x400ab8,_0x53327b)=>_0x414ea8(_0x400ab8,_0x53327b,_0xb821c3);let se=class extends _0x413335{constructor(_0x7a506c,_0x51230c,_0x322568,_0x184ded){const _0xf0769b=_0x86a805;super(),_(this,_0xf0769b(0x2ab),new _0x5bcfa8(_0x185889[_0xf0769b(0x243)])),(this[_0xf0769b(0x222)]=_0x7a506c,this[_0xf0769b(0x331)]=_0x51230c,this['_collaborationController']=_0x322568,this[_0xf0769b(0x1da)]=_0x184ded,this[_0xf0769b(0x253)](),this[_0xf0769b(0x2c0)]());}[_0x86a805(0x2c0)](){const _0x4ea1d3=_0x86a805;this[_0x4ea1d3(0x299)](this[_0x4ea1d3(0x222)][_0x4ea1d3(0x2b1)]['pipe'](_0x385b28(()=>{const _0x47a11f=_0x4ea1d3,_0x2c70bd=this[_0x47a11f(0x222)][_0x47a11f(0x185)]();return _0x2c70bd?this['_collaborationController'][_0x47a11f(0x271)](_0x2c70bd['getUnitId']()):_0x2404b0(null);}),_0x385b28(_0x36739a=>_0x36739a?_0x36739a[_0x4ea1d3(0x29b)]:_0x2404b0(_0x185889['NOT_COLLAB'])))[_0x4ea1d3(0x22b)](_0x5255e2=>{const _0x37cf25=_0x4ea1d3;this[_0x37cf25(0x2ab)][_0x37cf25(0x171)](_0x5255e2);}));}['_initStatusComponent'](){const _0x1aa26e=_0x86a805;this[_0x1aa26e(0x299)](this['_uiPartsService']['registerComponent'](_0x4d1246[_0x1aa26e(0x22d)],()=>_0x105aa6(en({'status$':this[_0x1aa26e(0x2ab)][_0x1aa26e(0x2f6)]()}),this[_0x1aa26e(0x331)])));}};se=qi([q(0x0,_0x3b4d53),q(0x1,_0x545293(_0xd016db)),q(0x2,_0x545293(_0x1c5104)),q(0x3,_0x13c01c)],se);function en(_0xf0d530){const {status$:_0x3b6ac0}=_0xf0d530;return function(){return _0x2a7306(Zi,{'status$':_0x3b6ac0});};}var tn=Object[_0x86a805(0x172)],sn=(_0x2364e3,_0xe5e299,_0x53747e,_0x31d354)=>{for(var _0x5029c1=_0x31d354>0x1?void 0x0:_0x31d354?tn(_0xe5e299,_0x53747e):_0xe5e299,_0x448bdc=_0x2364e3['length']-0x1,_0x516728;_0x448bdc>=0x0;_0x448bdc--)(_0x516728=_0x2364e3[_0x448bdc])&&(_0x5029c1=_0x516728(_0x5029c1)||_0x5029c1);return _0x5029c1;},B=(_0x5d51b9,_0x192866)=>(_0x383316,_0x576972)=>_0x192866(_0x383316,_0x576972,_0x5d51b9);let ie=class extends _0x413335{constructor(_0x20a2f1,_0x4d70c9,_0x25c9d6,_0x3d27a3,_0x1d001b,_0x2e872e){const _0xe4d6aa=_0x86a805;super(),this[_0xe4d6aa(0x27d)]=_0x20a2f1,this['_localCacheService']=_0x4d70c9,this[_0xe4d6aa(0x274)]=_0x25c9d6,this[_0xe4d6aa(0x356)]=_0x3d27a3,this[_0xe4d6aa(0x2d3)]=_0x1d001b,this[_0xe4d6aa(0x2c2)]=_0x2e872e,this[_0xe4d6aa(0x18b)](),this[_0xe4d6aa(0x2d6)]();}[_0x86a805(0x18b)](){const _0x1d4642=_0x86a805;this['disposeWithMe'](this[_0x1d4642(0x27d)][_0x1d4642(0x322)](()=>{const _0x29e252=_0x1d4642;if(this[_0x29e252(0x27f)][_0x29e252(0x1f4)][_0x29e252(0x214)])return this['_localeService']['t'](_0x29e252(0x2ff));}));}[_0x86a805(0x2d6)](){const _0x5c44b0=_0x86a805;this['disposeWithMe'](this[_0x5c44b0(0x274)][_0x5c44b0(0x21f)][_0x5c44b0(0x22b)](_0x1b3c31=>{const _0x14e667=_0x5c44b0;_0x1b3c31['id']===_0x57be84[_0x14e667(0x273)]&&this[_0x14e667(0x356)]['show']({'type':_0x2baf77[_0x14e667(0x212)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x1fc))}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x17a)]&&this[_0x14e667(0x356)][_0x14e667(0x230)]({'type':_0x2baf77[_0x14e667(0x212)],'content':this['_localeService']['t'](_0x14e667(0x173))}),_0x1b3c31['id']===_0x57be84['PERMISSION_DENIED']&&this[_0x14e667(0x2d3)][_0x14e667(0x230)]({'title':this[_0x14e667(0x2c2)]['t']('permission.title'),'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x2d0)),'type':_0x14e667(0x36b),'duration':0x0}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x249)]&&this['_messageService']['show']({'type':_0x2baf77[_0x14e667(0x2d8)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x173))+'('+_0x1b3c31[_0x14e667(0x338)]+')'}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x25b)]&&this['_messageService']['show']({'type':_0x2baf77[_0x14e667(0x212)],'content':this[_0x14e667(0x2c2)]['t'](_0x1b3c31['data']||'')}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x30d)]&&this[_0x14e667(0x356)][_0x14e667(0x230)]({'type':_0x2baf77[_0x14e667(0x212)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x228))}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x376)]&&this[_0x14e667(0x356)]['show']({'type':_0x2baf77[_0x14e667(0x2d8)],'content':this['_localeService']['t'](_0x14e667(0x366))}),_0x1b3c31['id']===_0x57be84['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x14e667(0x230)]({'type':_0x2baf77[_0x14e667(0x2d8)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x339))});}));}};ie=sn([B(0x0,_0x422070),B(0x1,_0x2f93fc),B(0x2,_0x545293(_0x1237de)),B(0x3,_0x21bd27),B(0x4,_0x59f9b4),B(0x5,_0x545293(_0x31b4bf))],ie);const nn='collaboration-client-ui.config',st={},Pt=_0x571548(_0x86a805(0x2e0));var rn=Object[_0x86a805(0x172)],on=(_0x14a6a6,_0x5baf31,_0x78296e,_0x4a4397)=>{for(var _0x350998=_0x4a4397>0x1?void 0x0:_0x4a4397?rn(_0x5baf31,_0x78296e):_0x5baf31,_0x2e1cd1=_0x14a6a6['length']-0x1,_0x31b05b;_0x2e1cd1>=0x0;_0x2e1cd1--)(_0x31b05b=_0x14a6a6[_0x2e1cd1])&&(_0x350998=_0x31b05b(_0x350998)||_0x350998);return _0x350998;},K=(_0x2d91bb,_0x36fb48)=>(_0x181129,_0xab8bac)=>_0x36fb48(_0x181129,_0xab8bac,_0x2d91bb);let ne=class extends _0xb123e2{constructor(_0x255731,_0x1dcf77,_0x194851,_0x4133d9,_0x318d2c){const _0x1162db=_0x86a805;super(),this[_0x1162db(0x1c0)]=_0x255731,this['_logService']=_0x1dcf77,this['_commandService']=_0x194851,this[_0x1162db(0x2e9)]=_0x4133d9,_0x318d2c?_0x318d2c==null||_0x318d2c[_0x1162db(0x2fc)]()[_0x1162db(0x255)](()=>this[_0x1162db(0x312)]()):(this[_0x1162db(0x26d)][_0x1162db(0x1bc)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x86a805(0x312)](){const _0x261bb5=_0x86a805,_0x57fcea=this[_0x261bb5(0x1c0)][_0x261bb5(0x1e1)]('unit'),_0x39aadf=this[_0x261bb5(0x1c0)][_0x261bb5(0x1e1)](_0x261bb5(0x309)),_0x52cae6=this['_urlService'][_0x261bb5(0x1e1)](_0x261bb5(0x2a6));if(!_0x57fcea||!_0x39aadf){this[_0x261bb5(0x26d)][_0x261bb5(0x1bc)](_0x261bb5(0x1ed),_0x261bb5(0x2c8));return;}const _0x3c8505=await this[_0x261bb5(0x2e9)]['loadUnit'](_0x57fcea,Number(_0x39aadf),_0x52cae6);_0x3c8505&&_0x3c8505 instanceof _0x1038c2&&this[_0x261bb5(0x298)](_0x3c8505);}async['_setupSubUnitSync'](_0x2ffc59){const _0x3b632d=_0x86a805;await this['_updateSubUnitFromURLParams'](_0x2ffc59),_0x2ffc59[_0x3b632d(0x2c4)][_0x3b632d(0x205)](_0x51fbbc(this[_0x3b632d(0x289)]))[_0x3b632d(0x22b)](_0x42e675=>{const _0x535067=_0x3b632d;_0x42e675&&this[_0x535067(0x1ff)](_0x42e675);}),this['_urlService'][_0x3b632d(0x1e4)][_0x3b632d(0x205)](_0x51fbbc(this[_0x3b632d(0x289)]))[_0x3b632d(0x22b)](()=>this[_0x3b632d(0x2b6)](_0x2ffc59));}[_0x86a805(0x1ff)](_0x357cad,_0x1c972a=!0x1){const _0x233e99=_0x86a805,_0x2330cf=this['_urlService'][_0x233e99(0x1e1)]('subunit');_0x357cad['getSheetId']()!==_0x2330cf&&this[_0x233e99(0x1c0)][_0x233e99(0x308)](_0x233e99(0x2a6),_0x357cad[_0x233e99(0x35c)](),_0x1c972a);}async[_0x86a805(0x2b6)](_0x36dbac){const _0x3e2427=_0x86a805;var _0x2bcb94;const _0x27dd55=this['_urlService'][_0x3e2427(0x1e1)](_0x3e2427(0x2a6));if(!_0x27dd55||!_0x36dbac[_0x3e2427(0x35b)](_0x27dd55)){const _0x3036e6=_0x36dbac['getUnhiddenWorksheets']()[0x0],_0x38b08c=_0x36dbac[_0x3e2427(0x35b)](_0x3036e6);if(!_0x38b08c)return;this[_0x3e2427(0x1ff)](_0x38b08c,!0x0),await this['_commandService']['executeCommand'](_0x2e0678['id'],{'unitId':_0x36dbac[_0x3e2427(0x235)](),'subUnitId':_0x3036e6});return;}((_0x2bcb94=_0x36dbac[_0x3e2427(0x189)]())==null?void 0x0:_0x2bcb94['getSheetId']())!==_0x27dd55&&await this['_commandService'][_0x3e2427(0x199)](_0x2e0678['id'],{'unitId':_0x36dbac[_0x3e2427(0x235)](),'subUnitId':_0x27dd55});}};ne=on([K(0x0,Pt),K(0x1,_0x1439a0),K(0x2,_0x27119f),K(0x3,_0x545293(_0x31df32)),K(0x4,_0x3026a9(_0x58ce1d))],ne);var an=Object[_0x86a805(0x172)],cn=(_0x22f8d0,_0x1c6087,_0x190fd5,_0x36df66)=>{const _0x3c0aad=_0x86a805;for(var _0xd13f47=_0x36df66>0x1?void 0x0:_0x36df66?an(_0x1c6087,_0x190fd5):_0x1c6087,_0x270d8a=_0x22f8d0[_0x3c0aad(0x303)]-0x1,_0x5943ec;_0x270d8a>=0x0;_0x270d8a--)(_0x5943ec=_0x22f8d0[_0x270d8a])&&(_0xd13f47=_0x5943ec(_0xd13f47)||_0xd13f47);return _0xd13f47;},Ce=(_0x363c06,_0x19b6ee)=>(_0x40935a,_0x878895)=>_0x19b6ee(_0x40935a,_0x878895,_0x363c06);let re=class{constructor(_0x55f3f9,_0x4d7cc8,_0xb2640d){const _0x551014=_0x86a805;this[_0x551014(0x331)]=_0x55f3f9,this[_0x551014(0x372)]=_0x4d7cc8,this[_0x551014(0x263)]=_0xb2640d;}[_0x86a805(0x291)](_0x420f94){const _0x3736ae=_0x86a805;this[_0x3736ae(0x25d)](_0x420f94),this[_0x3736ae(0x240)](_0x420f94);}['transformRemoteChangeset'](_0x4e0717){const _0x2d6779=_0x86a805,{unitID:_0x44ddd5}=_0x4e0717,_0x10c37b=this[_0x2d6779(0x263)][_0x2d6779(0x345)](_0x44ddd5)[_0x2d6779(0x2fe)](_0x34b76a),{redoCache:_0x4ac394}=_0x10c37b['getUndoRedoMutationParamsCache']();if(_0x4ac394[_0x2d6779(0x303)]===0x0)return _0x4e0717;let _0x382d79=_0x168ff4['deepClone'](_0x4e0717[_0x2d6779(0x23a)][0x0]);for(let _0x2b5f84=0x0;_0x2b5f84<_0x4ac394[_0x2d6779(0x303)];_0x2b5f84++){const _0x474782={'id':'doc.mutation.rich-text-editing','params':{..._0x4ac394[_0x2b5f84]}},_0x496082=this[_0x2d6779(0x372)]['transformMutation'](_0x382d79,_0x474782,!0x1);if(_0x503208(_0x496082))throw _0x496082[_0x2d6779(0x36b)];_0x382d79=_0x496082['m1Prime'];}return{..._0x168ff4[_0x2d6779(0x1a3)](_0x4e0717),'mutations':[_0x382d79]};}[_0x86a805(0x25d)](_0x412fa){const _0x1351f9=_0x86a805,{unitID:_0x3407f4}=_0x412fa,_0x5c4452=this[_0x1351f9(0x263)][_0x1351f9(0x345)](_0x3407f4)[_0x1351f9(0x2fe)](_0x34b76a),{undoCache:_0x2b526a,redoCache:_0x548f61}=_0x5c4452[_0x1351f9(0x2f2)]();if(_0x2b526a[_0x1351f9(0x303)]===0x0||_0x548f61[_0x1351f9(0x303)]===0x0)return;const _0x416ae3=[],_0xc451c5=[];let _0x22db6b=_0x168ff4[_0x1351f9(0x1a3)](_0x412fa[_0x1351f9(0x23a)][0x0]),_0x1dfafc=_0x168ff4[_0x1351f9(0x1a3)](_0x412fa['mutations'][0x0]);for(let _0x1418f5=_0x2b526a[_0x1351f9(0x303)]-0x1;_0x1418f5>=0x0;_0x1418f5--){const _0x4700f6={'id':_0x1351f9(0x186),'params':{..._0x2b526a[_0x1418f5]}},_0xc9bbc1={'id':_0x1351f9(0x186),'params':{..._0x548f61[_0x1418f5]}},_0x4199c3=this[_0x1351f9(0x372)][_0x1351f9(0x35a)](_0x22db6b,_0x4700f6,!0x1),_0x5452e7=this[_0x1351f9(0x372)][_0x1351f9(0x35a)](_0x1dfafc,_0xc9bbc1,!0x1);if(_0x503208(_0x4199c3))throw _0x4199c3['error'];if(_0x503208(_0x5452e7))throw _0x5452e7[_0x1351f9(0x36b)];_0x416ae3[_0x1351f9(0x241)](_0x4199c3['m2Prime'][_0x1351f9(0x348)]),_0xc451c5[_0x1351f9(0x241)](_0x5452e7[_0x1351f9(0x1f3)][_0x1351f9(0x348)]),_0x22db6b=_0x4199c3[_0x1351f9(0x23c)],_0x1dfafc=_0x5452e7[_0x1351f9(0x23c)];}_0x5c4452[_0x1351f9(0x1a9)]({'undoCache':_0x416ae3,'redoCache':_0xc451c5});}[_0x86a805(0x240)](_0x59bf6e){const _0x559605=_0x86a805,{unitID:_0x93429b}=_0x59bf6e,_0x522363=this[_0x559605(0x263)][_0x559605(0x345)](_0x93429b)[_0x559605(0x2fe)](_0x34b76a),_0x48b570=_0x522363[_0x559605(0x220)]();if(_0x48b570==null)return;const _0x3a227a=[{'id':_0x559605(0x186),'params':{'unitId':_0x59bf6e[_0x559605(0x247)],'actions':null,'textRanges':[_0x48b570]}}],_0x707133=this['_transformService'][_0x559605(0x25e)](_0x59bf6e,_0x3a227a);if(!_0x13d2b8(_0x707133))throw _0x707133[_0x559605(0x36b)];const _0x27d3de=_0x707133[_0x559605(0x1f3)][0x0]['params']['textRanges'];Array[_0x559605(0x1aa)](_0x27d3de)&&_0x27d3de['length']&&_0x522363[_0x559605(0x23f)](_0x27d3de[0x0]);}};re=cn([Ce(0x0,_0x545293(_0xd016db)),Ce(0x1,_0x5241f1),Ce(0x2,_0x293f75)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x2346ad,_0x3a9e22,_0x519fc0,_0x4cd39a)=>{for(var _0x55b88a=_0x4cd39a>0x1?void 0x0:_0x4cd39a?ln(_0x3a9e22,_0x519fc0):_0x3a9e22,_0x25b293=_0x2346ad['length']-0x1,_0x178ad6;_0x25b293>=0x0;_0x25b293--)(_0x178ad6=_0x2346ad[_0x25b293])&&(_0x55b88a=_0x178ad6(_0x55b88a)||_0x55b88a);return _0x55b88a;},Ee=(_0x225bab,_0x5e1f50)=>(_0x5da721,_0xaed28c)=>_0x5e1f50(_0x5da721,_0xaed28c,_0x225bab);let oe=class{constructor(_0x337c8f,_0x30038d,_0x319c0f){const _0x65e8f7=_0x86a805;this['_injector']=_0x337c8f,this[_0x65e8f7(0x372)]=_0x30038d,this[_0x65e8f7(0x279)]=_0x319c0f;}['transformStateCache'](_0x5ac017){this['_transformHistoryAndStateStack'](_0x5ac017);}['transformRemoteChangeset'](_0x17e7e6){const _0x57b2d4=_0x86a805,{unitID:_0x29d180}=_0x17e7e6,{collaboration:_0x320d1e}=this[_0x57b2d4(0x279)]['getStateCache'](_0x29d180);if(_0x320d1e[_0x57b2d4(0x303)]===0x0)return _0x17e7e6;let _0x3081f1=_0x168ff4['deepClone'](_0x17e7e6[_0x57b2d4(0x23a)][0x0]);for(let _0x2815ab=0x0;_0x2815ab<_0x320d1e[_0x57b2d4(0x303)];_0x2815ab++){const _0x908df5={'id':_0x57b2d4(0x186),'params':{'unitId':_0x320d1e[_0x2815ab]['unitId'],..._0x320d1e[_0x2815ab][_0x57b2d4(0x2be)]}},_0x11dc47=this['_transformService'][_0x57b2d4(0x35a)](_0x3081f1,_0x908df5,!0x1);if(_0x503208(_0x11dc47))throw _0x11dc47['error'];_0x3081f1=_0x11dc47[_0x57b2d4(0x23c)];}return{..._0x168ff4[_0x57b2d4(0x1a3)](_0x17e7e6),'mutations':[_0x3081f1]};}[_0x86a805(0x1a8)](_0x174ab7){const _0x38cc2b=_0x86a805,{unitID:_0x4ea13b}=_0x174ab7,{history:_0x1346ce,collaboration:_0x16e9f3}=this[_0x38cc2b(0x279)][_0x38cc2b(0x1f9)](_0x4ea13b);if(_0x1346ce[_0x38cc2b(0x303)]===0x0&&_0x16e9f3[_0x38cc2b(0x303)]===0x0)return;const _0x505681=[],_0x37fea4=[];let _0x1281cc=_0x168ff4['deepClone'](_0x174ab7['mutations'][0x0]),_0x332bc7=_0x168ff4[_0x38cc2b(0x1a3)](_0x174ab7[_0x38cc2b(0x23a)][0x0]);for(let _0x55caa2=_0x1346ce[_0x38cc2b(0x303)]-0x1;_0x55caa2>=0x0;_0x55caa2--){const _0x4bacbe={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1346ce[_0x55caa2][_0x38cc2b(0x337)],..._0x1346ce[_0x55caa2][_0x38cc2b(0x334)]}},_0x185b03={'id':_0x38cc2b(0x186),'params':{'unitId':_0x1346ce[_0x55caa2]['unitId'],..._0x1346ce[_0x55caa2][_0x38cc2b(0x2be)]}},_0x7486e1=this[_0x38cc2b(0x372)]['transformMutation'](_0x1281cc,_0x4bacbe,!0x1),_0x107637=this[_0x38cc2b(0x372)][_0x38cc2b(0x35a)](_0x332bc7,_0x185b03,!0x1);if(_0x503208(_0x7486e1))throw _0x7486e1[_0x38cc2b(0x36b)];if(_0x503208(_0x107637))throw _0x107637[_0x38cc2b(0x36b)];_0x505681[_0x38cc2b(0x241)]({..._0x1346ce[_0x55caa2],'undoState':_0x7486e1['m2Prime'][_0x38cc2b(0x348)],'redoState':_0x107637[_0x38cc2b(0x1f3)]['params']}),_0x1281cc=_0x7486e1[_0x38cc2b(0x23c)],_0x332bc7=_0x107637[_0x38cc2b(0x23c)];}_0x1281cc=_0x168ff4[_0x38cc2b(0x1a3)](_0x174ab7[_0x38cc2b(0x23a)][0x0]),_0x332bc7=_0x168ff4['deepClone'](_0x174ab7[_0x38cc2b(0x23a)][0x0]);for(let _0x4cd5ba=_0x16e9f3['length']-0x1;_0x4cd5ba>=0x0;_0x4cd5ba--){const _0x195874={'id':_0x38cc2b(0x186),'params':{'unitId':_0x16e9f3[_0x4cd5ba][_0x38cc2b(0x337)],..._0x16e9f3[_0x4cd5ba][_0x38cc2b(0x334)]}},_0x5981c4={'id':_0x38cc2b(0x186),'params':{'unitId':_0x16e9f3[_0x4cd5ba]['unitId'],..._0x16e9f3[_0x4cd5ba][_0x38cc2b(0x2be)]}},_0x2c50a5=this[_0x38cc2b(0x372)][_0x38cc2b(0x35a)](_0x1281cc,_0x195874,!0x1),_0x3a4970=this[_0x38cc2b(0x372)][_0x38cc2b(0x35a)](_0x332bc7,_0x5981c4,!0x1);if(_0x503208(_0x2c50a5))throw _0x2c50a5[_0x38cc2b(0x36b)];if(_0x503208(_0x3a4970))throw _0x3a4970[_0x38cc2b(0x36b)];_0x37fea4[_0x38cc2b(0x241)]({..._0x16e9f3[_0x4cd5ba],'undoState':_0x2c50a5[_0x38cc2b(0x1f3)][_0x38cc2b(0x348)],'redoState':_0x3a4970[_0x38cc2b(0x1f3)][_0x38cc2b(0x348)]}),_0x1281cc=_0x2c50a5[_0x38cc2b(0x23c)],_0x332bc7=_0x3a4970[_0x38cc2b(0x23c)];}this[_0x38cc2b(0x279)][_0x38cc2b(0x31e)](_0x4ea13b,{'history':_0x505681,'collaboration':_0x37fea4});}};oe=_n([Ee(0x0,_0x545293(_0xd016db)),Ee(0x1,_0x5241f1),Ee(0x2,_0x545293(_0x54f7c6))],oe);var hn=Object[_0x86a805(0x172)],un=(_0x19d94b,_0xc3f12e,_0x108a2c,_0x30d64a)=>{const _0x46b05a=_0x86a805;for(var _0x194da4=_0x30d64a>0x1?void 0x0:_0x30d64a?hn(_0xc3f12e,_0x108a2c):_0xc3f12e,_0x588181=_0x19d94b[_0x46b05a(0x303)]-0x1,_0x4c84bf;_0x588181>=0x0;_0x588181--)(_0x4c84bf=_0x19d94b[_0x588181])&&(_0x194da4=_0x4c84bf(_0x194da4)||_0x194da4);return _0x194da4;},it=(_0x333c05,_0x1246e8)=>(_0x54f103,_0x4416de)=>_0x1246e8(_0x54f103,_0x4416de,_0x333c05);let ae=class{constructor(_0x17197b,_0x479868){const _0x2453ae=_0x86a805;this['_injector']=_0x17197b,this[_0x2453ae(0x372)]=_0x479868;}['transformSelections'](_0x3e1de0){const _0x29a717=_0x86a805;var _0x5798fa;const _0x12f734=this[_0x29a717(0x331)][_0x29a717(0x2d4)](_0x40410e),_0x19fab5=(_0x5798fa=_0x12f734[_0x29a717(0x2c5)]())!=null?_0x5798fa:[];if(_0x19fab5[_0x29a717(0x303)]===0x0)return;const _0x4c6245=_0x3e1de0[_0x29a717(0x247)],_0xb71500=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4c6245,'actions':null,'textRanges':_0x19fab5}}],_0x153b3c=this[_0x29a717(0x372)][_0x29a717(0x25e)](_0x3e1de0,_0xb71500);if(!_0x13d2b8(_0x153b3c))throw _0x153b3c['error'];const _0x4ed9b1=_0x153b3c[_0x29a717(0x1f3)][0x0][_0x29a717(0x348)][_0x29a717(0x2d1)];Array[_0x29a717(0x1aa)](_0x4ed9b1)&&_0x4ed9b1[_0x29a717(0x303)]&&_0x12f734[_0x29a717(0x1ca)](_0x4ed9b1,{'unitId':_0x4c6245,'subUnitId':_0x4c6245},!0x1);}};ae=un([it(0x0,_0x545293(_0xd016db)),it(0x1,_0x5241f1)],ae);var dn=Object[_0x86a805(0x172)],fn=(_0x5ea118,_0x223737,_0x1f4345,_0x55a6d2)=>{for(var _0x35ef06=_0x55a6d2>0x1?void 0x0:_0x55a6d2?dn(_0x223737,_0x1f4345):_0x223737,_0x3796d4=_0x5ea118['length']-0x1,_0x5ce27e;_0x3796d4>=0x0;_0x3796d4--)(_0x5ce27e=_0x5ea118[_0x3796d4])&&(_0x35ef06=_0x5ce27e(_0x35ef06)||_0x35ef06);return _0x35ef06;},U=(_0x1c6fa7,_0x39bad3)=>(_0x5eaec9,_0x394ea9)=>_0x39bad3(_0x5eaec9,_0x394ea9,_0x1c6fa7);let ce=class extends _0x413335{constructor(_0x41668a,_0x499e41,_0x4cbe02,_0x923491,_0x4b90c9,_0x256688,_0xb09132,_0x13b1f){const _0x15768d=_0x86a805;super(),_(this,_0x15768d(0x2ab),new _0x5bcfa8(_0x185889[_0x15768d(0x243)])),(this['_docStateChangeManagerService']=_0x41668a,this[_0x15768d(0x176)]=_0x499e41,this[_0x15768d(0x19e)]=_0x4cbe02,this[_0x15768d(0x293)]=_0x923491,this[_0x15768d(0x1e7)]=_0x4b90c9,this[_0x15768d(0x307)]=_0x256688,this[_0x15768d(0x356)]=_0xb09132,this['_localeService']=_0x13b1f,this[_0x15768d(0x363)]());}['_initEntityListener'](){const _0x38cb2e=_0x86a805;this[_0x38cb2e(0x299)](this[_0x38cb2e(0x176)][_0x38cb2e(0x1ea)][_0x38cb2e(0x22b)](_0x1f9f46=>{const _0x13ebbe=_0x38cb2e,_0x5163e4=this[_0x13ebbe(0x279)]['docStateChange$'][_0x13ebbe(0x22b)](_0x2d4c9e=>{const _0x3edd20=_0x13ebbe;if(_0x2d4c9e==null)return;const {unitId:_0x543c88,redoState:_0x183cd8,commandId:_0x2ac796}=_0x2d4c9e;if(_0x543c88!==_0x1f9f46[_0x3edd20(0x247)])return;const _0x56cf2a={'id':_0x2ac796,'type':_0x29bf00[_0x3edd20(0x2a9)],'params':{'unitId':_0x543c88,'actions':_0x183cd8['actions'],'textRanges':null}};_0x1f9f46['onLocalMutation'](_0x56cf2a);});if(_0x1f9f46[_0x13ebbe(0x299)](_0x5163e4),_0x1f9f46 instanceof _0x5706ec){const _0x1b1273={'onTransformIME':_0xac648a=>this['_docTransformIMECacheService'][_0x13ebbe(0x291)](_0xac648a),'onTransformState':_0xb50c68=>this[_0x13ebbe(0x293)]['transformStateCache'](_0xb50c68),'onTransformSelections':_0x58d24a=>this[_0x13ebbe(0x1e7)][_0x13ebbe(0x19c)](_0x58d24a),'onSyncEditingCollabCursor':_0x5ec3d5=>this['_docSyncEditingCollabCursorService'][_0x13ebbe(0x268)](_0x5ec3d5),'onTransformRemoteChangesetByIMECache':_0x2809d9=>this[_0x13ebbe(0x19e)][_0x13ebbe(0x248)](_0x2809d9),'onTransformRemoteChangesetByStateCache':_0x36f761=>this[_0x13ebbe(0x293)]['transformRemoteChangeset'](_0x36f761)};_0x1f9f46[_0x13ebbe(0x2f5)](_0x1b1273);}}));}};ce=fn([U(0x0,_0x545293(_0x54f7c6)),U(0x1,_0x545293(_0x1c5104)),U(0x2,_0x545293(re)),U(0x3,_0x545293(oe)),U(0x4,_0x545293(ae)),U(0x5,_0x545293(je)),U(0x6,_0x21bd27),U(0x7,_0x545293(_0x31b4bf))],ce);var Sn=Object[_0x86a805(0x172)],mn=(_0x55f1ea,_0x54a8d8,_0x32cd83,_0x4a1fe7)=>{const _0x415e75=_0x86a805;for(var _0x34153a=_0x4a1fe7>0x1?void 0x0:_0x4a1fe7?Sn(_0x54a8d8,_0x32cd83):_0x54a8d8,_0x281bcf=_0x55f1ea[_0x415e75(0x303)]-0x1,_0x465bde;_0x281bcf>=0x0;_0x281bcf--)(_0x465bde=_0x55f1ea[_0x281bcf])&&(_0x34153a=_0x465bde(_0x34153a)||_0x34153a);return _0x34153a;},be=(_0x470019,_0x456978)=>(_0x2195d0,_0x4f3f8e)=>_0x456978(_0x2195d0,_0x4f3f8e,_0x470019);let Ae=class extends _0x413335{constructor(_0x4f4f76,_0xfee3bc,_0x4625e0){const _0x111fdc=_0x86a805;super(),_(this,_0x111fdc(0x2a1),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x111fdc(0x1ef),!0x1),(this[_0x111fdc(0x1f1)]=_0x4f4f76,this[_0x111fdc(0x1dd)]=_0xfee3bc,this[_0x111fdc(0x208)]=_0x4625e0);}[_0x86a805(0x24a)](){const _0x3a79f2=_0x86a805;this[_0x3a79f2(0x1ef)]=!0x0;}[_0x86a805(0x368)](){const _0x43113b=_0x86a805;this[_0x43113b(0x1ef)]=!0x1;}get[_0x86a805(0x1f4)](){return this['_saveTaskMap'];}[_0x86a805(0x33c)](){const _0x5b0968=_0x86a805;this['exhaustSavingTask']()[_0x5b0968(0x255)](()=>super[_0x5b0968(0x33c)]());}async[_0x86a805(0x30f)](_0x3c2d95){const _0x80126e=_0x86a805;return this[_0x80126e(0x1ef)]?null:this[_0x80126e(0x1dd)][_0x80126e(0x221)](_0x3362f8(_0x3c2d95));}async[_0x86a805(0x17c)](_0x39bfb5,_0x53b4c4){const _0x4dca77=_0x86a805;return!!this[_0x4dca77(0x1dd)][_0x4dca77(0x2d5)](_0x39bfb5,_0x53b4c4);}[_0x86a805(0x349)](_0x268d52,_0x3cd645,_0x49c08e,_0x2befd4){const _0x47d6f9=_0x86a805,_0x11e031=this[_0x47d6f9(0x208)]['getCurrentRevOfUnit'](_0x268d52);this['_cachedData'][_0x47d6f9(0x1a2)](_0x268d52,{'unitID':_0x268d52,'type':_0x3cd645,'awaitingChangeset':_0x49c08e,'mutations':_0x2befd4,'rev':_0x11e031}),this[_0x47d6f9(0x36a)]['has'](_0x268d52)||this[_0x47d6f9(0x29e)](_0x268d52);}[_0x86a805(0x29e)](_0x56f433){const _0x15efa5=_0x86a805,_0x4b32c3=this[_0x15efa5(0x26f)]();_0x4b32c3===0x0?this[_0x15efa5(0x317)](_0x56f433):this[_0x15efa5(0x36a)][_0x15efa5(0x1a2)](_0x56f433,setTimeout(()=>this['_saveCache'](_0x56f433),_0x4b32c3));}[_0x86a805(0x26f)](){const _0x4934ac=_0x86a805;var _0x2d95a9;return(_0x2d95a9=this[_0x4934ac(0x1f1)][_0x4934ac(0x2a8)](_0x1160db))!=null?_0x2d95a9:_0x2cc217;}['_saveCache'](_0x2d66c9){const _0x325c98=_0x86a805,_0xb79314=this[_0x325c98(0x36a)][_0x325c98(0x2d4)](_0x2d66c9);return _0xb79314!==void 0x0&&window['clearTimeout'](_0xb79314),this[_0x325c98(0x1dd)]['setItem'](_0x3362f8(_0x2d66c9),this['_cachedData'][_0x325c98(0x2d4)](_0x2d66c9))[_0x325c98(0x255)](()=>this['_saveTaskMap']['delete'](_0x2d66c9));}async['exhaustSavingTask'](){const _0x42bbd7=_0x86a805,_0x3926fc=[];this['_saveTaskMap'][_0x42bbd7(0x2e6)]((_0x235b5f,_0xd35aa1)=>{const _0x5763a7=_0x42bbd7;window[_0x5763a7(0x20e)](_0x235b5f),_0x3926fc[_0x5763a7(0x316)](this[_0x5763a7(0x317)](_0xd35aa1)[_0x5763a7(0x255)](()=>{const _0x231c2c=_0x5763a7;this['_saveTaskMap'][_0x231c2c(0x352)](_0xd35aa1);}));}),await Promise['all'](_0x3926fc);}};Ae=mn([be(0x0,_0x48306b),be(0x1,_0x3734d1),be(0x2,_0x545293(_0x1f48b9))],Ae);class gn extends _0xb123e2{constructor(){const _0x2c672c=_0x86a805;super(),_(this,_0x2c672c(0x1e4)),this[_0x2c672c(0x1e4)]=_0x1185c0(window,_0x2c672c(0x1d3))[_0x2c672c(0x205)](_0x51fbbc(this[_0x2c672c(0x289)]),_0x39811f(0x1),_0x1cbba8(void 0x0));}['setParam'](_0xe2ab86,_0x3ae419,_0x34e004=!0x1){const _0x1591f5=_0x86a805,_0x2d3cc9=new URL(window[_0x1591f5(0x184)][_0x1591f5(0x1e0)]);_0x2d3cc9[_0x1591f5(0x31d)][_0x1591f5(0x1a2)](_0xe2ab86,_0x3ae419),_0x34e004?window[_0x1591f5(0x1b7)][_0x1591f5(0x367)]('','',_0x2d3cc9[_0x1591f5(0x36c)]()):window[_0x1591f5(0x1b7)][_0x1591f5(0x2df)]('','',_0x2d3cc9[_0x1591f5(0x36c)]());}[_0x86a805(0x1fd)](_0x257497,_0x5eaa45=!0x1){const _0x4fd2e2=_0x86a805,_0x3dfacc=new URL(window[_0x4fd2e2(0x184)][_0x4fd2e2(0x1e0)]);_0x3dfacc['searchParams'][_0x4fd2e2(0x352)](_0x257497),_0x5eaa45?window[_0x4fd2e2(0x1b7)]['replaceState']('','',_0x3dfacc[_0x4fd2e2(0x36c)]()):window['history'][_0x4fd2e2(0x2df)]('','',_0x3dfacc[_0x4fd2e2(0x36c)]());}['getParam'](_0x5ce2cb){const _0x47fb2b=_0x86a805;var _0xbbf82f;return(_0xbbf82f=new URL(window[_0x47fb2b(0x184)][_0x47fb2b(0x1e0)])['searchParams']['get'](_0x5ce2cb))!=null?_0xbbf82f:void 0x0;}}var vn=Object[_0x86a805(0x33d)],In=Object[_0x86a805(0x172)],pn=(_0x3cdfdc,_0x44050f,_0x38c05c)=>_0x44050f in _0x3cdfdc?vn(_0x3cdfdc,_0x44050f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38c05c}):_0x3cdfdc[_0x44050f]=_0x38c05c,Cn=(_0xef4751,_0x4c6a4a,_0x281db9,_0x50cb1e)=>{const _0x42dc08=_0x86a805;for(var _0x5196bd=_0x50cb1e>0x1?void 0x0:_0x50cb1e?In(_0x4c6a4a,_0x281db9):_0x4c6a4a,_0x300ba5=_0xef4751[_0x42dc08(0x303)]-0x1,_0x5e8f3b;_0x300ba5>=0x0;_0x300ba5--)(_0x5e8f3b=_0xef4751[_0x300ba5])&&(_0x5196bd=_0x5e8f3b(_0x5196bd)||_0x5196bd);return _0x5196bd;},Oe=(_0x1aecd9,_0x29d53f)=>(_0x5064ac,_0x264a2b)=>_0x29d53f(_0x5064ac,_0x264a2b,_0x1aecd9),En=(_0x59feb9,_0x1d332f,_0x3e9b3b)=>pn(_0x59feb9,_0x1d332f+'',_0x3e9b3b);const bn=_0x86a805(0x234);let ye=class extends _0x51a27e{constructor(_0xb28c99=st,_0x2f052e,_0x398c40,_0x782210){const _0x377246=_0x86a805;super(),this[_0x377246(0x342)]=_0xb28c99,this[_0x377246(0x263)]=_0x2f052e,this[_0x377246(0x331)]=_0x398c40,this[_0x377246(0x1f1)]=_0x782210;const {..._0x2b97f4}=_0x27f3ab({},st,this[_0x377246(0x342)]);this[_0x377246(0x1f1)]['setConfig'](nn,_0x2b97f4);}[_0x86a805(0x1e2)](){const _0x335bf7=_0x86a805;this[_0x335bf7(0x286)](),this[_0x335bf7(0x2c7)]();}[_0x86a805(0x193)](){const _0x45c9a8=_0x86a805;this[_0x45c9a8(0x275)]();}['_registerDependencies'](){const _0xf67fbc=_0x86a805;var _0x23aa82;const _0x28c54f=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x97dc22,{'useClass':_0x49dc8d}],[_0x2f93fc,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x541539(this[_0xf67fbc(0x331)],_0x2c8e86(_0x28c54f,(_0x23aa82=this[_0xf67fbc(0x342)])==null?void 0x0:_0x23aa82[_0xf67fbc(0x320)]));}[_0x86a805(0x275)](){const _0x1338c5=_0x86a805;this[_0x1338c5(0x299)](this['_renderManagerService'][_0x1338c5(0x325)](_0x5e1ff3[_0x1338c5(0x2a5)],[we])),this['disposeWithMe'](this[_0x1338c5(0x263)][_0x1338c5(0x325)](_0x5e1ff3[_0x1338c5(0x294)],[Le]));}[_0x86a805(0x2c7)](){const _0x171fd1=_0x86a805;_0xd5aa2e(this[_0x171fd1(0x331)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x86a805(0x2fd),bn),ye=Cn([_0x49e5b2(_0x3ae7ce),Oe(0x1,_0x293f75),Oe(0x2,_0x545293(_0xd016db)),Oe(0x3,_0x48306b)],ye);var On=Object[_0x86a805(0x172)],Tn=(_0x416d4a,_0x39ff37,_0x660220,_0x36e12c)=>{const _0x56c4b5=_0x86a805;for(var _0x342e6b=_0x36e12c>0x1?void 0x0:_0x36e12c?On(_0x39ff37,_0x660220):_0x39ff37,_0x4fb7ca=_0x416d4a[_0x56c4b5(0x303)]-0x1,_0x29f33a;_0x4fb7ca>=0x0;_0x4fb7ca--)(_0x29f33a=_0x416d4a[_0x4fb7ca])&&(_0x342e6b=_0x29f33a(_0x342e6b)||_0x342e6b);return _0x342e6b;},z=(_0x2d60ce,_0x5b68d2)=>(_0x27f4f6,_0x4af57a)=>_0x5b68d2(_0x27f4f6,_0x4af57a,_0x2d60ce);let nt=class extends _0xc74cd5{constructor(_0x474877,_0x541704,_0x3616ad,_0x213b98,_0x38955b){super(_0x474877,_0x541704,_0x3616ad,_0x213b98,_0x38955b);}async[_0x86a805(0x29a)](_0x599d1a){const _0x1782b8=_0x86a805,_0x1a45c9=await this[_0x1782b8(0x22e)](),_0x148aa6=this[_0x1782b8(0x187)](_0x599d1a,_0x1a45c9);return this[_0x1782b8(0x2aa)](_0x148aa6);}[_0x86a805(0x187)](_0x3e7fb0,_0x4e6de2){const _0x245ad4=_0x86a805,_0x42b07a=typeof window>'u'?new URL(_0x3e7fb0):new URL(_0x3e7fb0,window[_0x245ad4(0x184)][_0x245ad4(0x216)]);_0x42b07a[_0x245ad4(0x31d)][_0x245ad4(0x1a2)](_0x245ad4(0x357),_0x4e6de2);const _0x1cc65a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x245ad4(0x184)]['search']);return _0x1cc65a[_0x245ad4(0x2d4)](_0x245ad4(0x2cf))&&_0x42b07a['searchParams'][_0x245ad4(0x1a2)](_0x245ad4(0x2cf),_0x1cc65a[_0x245ad4(0x2d4)](_0x245ad4(0x2cf))),_0x42b07a['toString']();}async[_0x86a805(0x22e)](){const _0x57632d=_0x86a805;var _0x12c9ec,_0x12a7c3,_0x1dd204;const _0x26a9c9=this[_0x57632d(0x1f1)][_0x57632d(0x2a8)](_0x33a672),_0xd72acf=(_0x12c9ec=_0x26a9c9==null?void 0x0:_0x26a9c9[_0x57632d(0x245)])!=null?_0x12c9ec:_0x2702ba;return(_0x1dd204=(_0x12a7c3=(await this[_0x57632d(0x1ab)][_0x57632d(0x2d4)](_0xd72acf,{'headers':{'Content-Type':_0x57632d(0x29d)}}))[_0x57632d(0x1eb)])==null?void 0x0:_0x12a7c3['ticket'])!=null?_0x1dd204:'';}};nt=Tn([z(0x0,_0x545293(_0xd016db)),z(0x1,_0x545293(_0x231e97)),z(0x2,_0x48306b),z(0x3,_0x1439a0),z(0x4,_0x4fc4d8)],nt);const rt=0x7530,ot=_0x86a805(0x365);class Gn extends _0x413335{constructor(){const _0x454e23=_0x86a805;super(),_(this,_0x454e23(0x2b4),_0x49a986()),_(this,'_selfUnitIDs',new Set()),_(this,_0x454e23(0x330),new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x454e23(0x312)]();}[_0x86a805(0x33c)](){const _0x253c47=_0x86a805;super[_0x253c47(0x33c)](),this[_0x253c47(0x296)][_0x253c47(0x2e6)]((_0x171435,_0x2f7de4)=>this['_removeClearOtherTimer'](_0x2f7de4)),this['_heartbeatTimer']&&window[_0x253c47(0x27e)](this['_heartbeatTimer']);}[_0x86a805(0x270)](_0x5172ee){const _0x37b6b8=_0x86a805;return this[_0x37b6b8(0x20f)](_0x5172ee)[_0x37b6b8(0x205)](_0x410251());}[_0x86a805(0x223)](_0x2f47a1){const _0x44116e=_0x86a805;this['_selfUnitIDs'][_0x44116e(0x214)]===0x0&&this[_0x44116e(0x329)](),this['_selfUnitIDs'][_0x44116e(0x364)](_0x2f47a1),this[_0x44116e(0x1f6)]({'type':0x0,'memberID':this[_0x44116e(0x2b4)],'unitIDs':[_0x2f47a1],'isForwarded':!0x1});}[_0x86a805(0x21c)](_0x146c4f){const _0x2d324e=_0x86a805;this[_0x2d324e(0x1b1)][_0x2d324e(0x352)](_0x146c4f),this[_0x2d324e(0x1b1)][_0x2d324e(0x214)]===0x0&&this[_0x2d324e(0x2ed)]&&window[_0x2d324e(0x27e)](this[_0x2d324e(0x2ed)]);}['_init'](){const _0x1e81da=_0x86a805;this[_0x1e81da(0x299)](_0x571cee(_0x1185c0(window,_0x1e81da(0x371))[_0x1e81da(0x22b)](_0xa5a9bd=>{const _0x85f1d3=_0x1e81da;if(_0xa5a9bd['key']!==ot||!_0xa5a9bd[_0x85f1d3(0x324)])return;const _0x4f3eee=JSON[_0x85f1d3(0x36d)](_0xa5a9bd[_0x85f1d3(0x324)]);this[_0x85f1d3(0x1ad)](_0x4f3eee);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x1e81da(0x2b4)],'unitIDs':Array[_0x1e81da(0x21a)](this['_selfUnitIDs'])}));}[_0x86a805(0x1ad)](_0x2debdd){const _0xe256de=_0x86a805;switch(_0x2debdd[_0xe256de(0x309)]){case 0x0:this[_0xe256de(0x313)](_0x2debdd);break;case 0x1:this[_0xe256de(0x262)](_0x2debdd);break;case 0x2:this[_0xe256de(0x26b)](_0x2debdd);break;}}[_0x86a805(0x313)](_0x10dd60){const _0x56d526=_0x86a805,{unitIDs:_0x509bf0,memberID:_0x1a90a6,isForwarded:_0x29feb0}=_0x10dd60;_0x509bf0[_0x56d526(0x2e6)](_0x315cec=>{const _0x27297b=_0x56d526;if(!_0x29feb0&&this[_0x27297b(0x330)][_0x27297b(0x260)](_0x315cec)&&this[_0x27297b(0x20f)](_0x315cec)[_0x27297b(0x171)](_0x8c34b9[_0x27297b(0x17e)]),!this[_0x27297b(0x330)][_0x27297b(0x260)](_0x315cec)||!this[_0x27297b(0x330)][_0x27297b(0x2d4)](_0x315cec)['has'](_0x1a90a6)){const _0x53e60b=this[_0x27297b(0x330)][_0x27297b(0x2d4)](_0x315cec)||new Set();_0x53e60b[_0x27297b(0x364)](_0x1a90a6),this['_unitOnClients'][_0x27297b(0x1a2)](_0x315cec,_0x53e60b),this['_scheduleClearOtherTimer'](_0x1a90a6);}}),_0x29feb0||this[_0x56d526(0x1f6)]({'type':0x0,'memberID':this[_0x56d526(0x2b4)],'unitIDs':[...this[_0x56d526(0x1b1)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xf1d3fb){const _0xc50108=_0x86a805;this['_removeClearOtherTimer'](_0xf1d3fb);const _0xc4fbea=window[_0xc50108(0x224)](()=>{const _0x509f62=_0xc50108;this[_0x509f62(0x330)]['forEach'](_0x315fa6=>{const _0x4de53e=_0x509f62;_0x315fa6[_0x4de53e(0x352)](_0xf1d3fb);});},rt*0x2);this['_clearOtherTimers'][_0xc50108(0x1a2)](_0xf1d3fb,_0xc4fbea);}['_removeClearOtherTimer'](_0x5abbe5){const _0x433b9b=_0x86a805;if(this['_clearOtherTimers'][_0x433b9b(0x260)](_0x5abbe5)){const _0x131afb=this[_0x433b9b(0x296)][_0x433b9b(0x2d4)](_0x5abbe5);_0x131afb&&window[_0x433b9b(0x20e)](_0x131afb),this[_0x433b9b(0x296)][_0x433b9b(0x1a2)](_0x5abbe5,null);}}[_0x86a805(0x262)](_0x1be373){const _0x2f1973=_0x86a805,{memberID:_0x329889,unitIDs:_0x5bb777}=_0x1be373;_0x5bb777['forEach'](_0x3dcd4c=>{const _0x4cfbf8=_0x4594;var _0x288c18;const _0x1c2ef5=this[_0x4cfbf8(0x330)][_0x4cfbf8(0x2d4)](_0x3dcd4c);_0x1c2ef5&&(_0x1c2ef5[_0x4cfbf8(0x352)](_0x329889),(_0x288c18=this[_0x4cfbf8(0x20f)](_0x3dcd4c))==null||_0x288c18[_0x4cfbf8(0x171)](_0x1c2ef5[_0x4cfbf8(0x214)]===0x0?_0x8c34b9[_0x4cfbf8(0x2ef)]:_0x8c34b9[_0x4cfbf8(0x17e)]));}),this[_0x2f1973(0x283)](_0x329889);}[_0x86a805(0x26b)](_0x5e748d){const _0x2761ed=_0x86a805;this[_0x2761ed(0x1d4)](_0x5e748d[_0x2761ed(0x190)]);}[_0x86a805(0x1f6)](_0x35c680){const _0x542d3c=_0x86a805;localStorage[_0x542d3c(0x2d5)](ot,JSON[_0x542d3c(0x1b5)](_0x35c680));}[_0x86a805(0x329)](){const _0x6a2e4a=_0x86a805;this[_0x6a2e4a(0x2ed)]=window['setInterval'](()=>{const _0x3eb4d1=_0x6a2e4a;this[_0x3eb4d1(0x1f6)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x86a805(0x20f)](_0x18170f){const _0x46bc03=_0x86a805;return this[_0x46bc03(0x2bf)][_0x46bc03(0x260)](_0x18170f)||this[_0x46bc03(0x2bf)][_0x46bc03(0x1a2)](_0x18170f,new _0x5bcfa8(_0x8c34b9[_0x46bc03(0x2ef)])),this[_0x46bc03(0x2bf)][_0x46bc03(0x2d4)](_0x18170f);}}var wt=(_0x41bc37=>(_0x41bc37[_0x41bc37[_0x86a805(0x25f)]=0x0]=_0x86a805(0x25f),_0x41bc37[_0x41bc37['OK']=0x1]='OK',_0x41bc37[_0x41bc37['INTERNAL_ERROR']=0x2]=_0x86a805(0x2dd),_0x41bc37[_0x41bc37[_0x86a805(0x225)]=0x3]=_0x86a805(0x225),_0x41bc37[_0x41bc37[_0x86a805(0x281)]=0x4]='NOT_FOUND',_0x41bc37[_0x41bc37['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x41bc37[_0x41bc37[_0x86a805(0x191)]=0x6]='ALREADY_EXISTS',_0x41bc37[_0x41bc37[_0x86a805(0x2a7)]=0x7]=_0x86a805(0x2a7),_0x41bc37[_0x41bc37[_0x86a805(0x1c3)]=0x8]='TOO_MANY_REQUESTS',_0x41bc37[_0x41bc37[_0x86a805(0x2e2)]=0x9]='COMPLETION_FINISHED',_0x41bc37[_0x41bc37[_0x86a805(0x1de)]=0xa]='LOGIN_FAILED',_0x41bc37[_0x41bc37[_0x86a805(0x2f4)]=0x1389]=_0x86a805(0x2f4),_0x41bc37[_0x41bc37[_0x86a805(0x1ba)]=0x1771]=_0x86a805(0x1ba),_0x41bc37[_0x41bc37[_0x86a805(0x30a)]=0x1772]=_0x86a805(0x30a),_0x41bc37[_0x41bc37[_0x86a805(0x183)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x41bc37[_0x41bc37[_0x86a805(0x202)]=0x1b59]=_0x86a805(0x202),_0x41bc37[_0x41bc37[_0x86a805(0x33a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x41bc37[_0x41bc37['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x86a805(0x31b),_0x41bc37[_0x41bc37[_0x86a805(0x251)]=0x1b5c]=_0x86a805(0x251),_0x41bc37[_0x41bc37[_0x86a805(0x26c)]=0x1b5d]=_0x86a805(0x26c),_0x41bc37[_0x41bc37[_0x86a805(0x2db)]=0x1f41]=_0x86a805(0x2db),_0x41bc37[_0x41bc37[_0x86a805(0x1bf)]=0x2329]=_0x86a805(0x1bf),_0x41bc37[_0x41bc37[_0x86a805(0x2b9)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x41bc37[_0x41bc37[_0x86a805(0x238)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x41bc37[_0x41bc37['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x86a805(0x378),_0x41bc37[_0x41bc37[_0x86a805(0x269)]=0x232d]=_0x86a805(0x269),_0x41bc37[_0x41bc37['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x86a805(0x361),_0x41bc37[_0x41bc37[_0x86a805(0x2b3)]=0x2712]=_0x86a805(0x2b3),_0x41bc37[_0x41bc37[_0x86a805(0x200)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x41bc37[_0x41bc37[_0x86a805(0x17b)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x41bc37[_0x41bc37['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x86a805(0x2c3),_0x41bc37[_0x41bc37[_0x86a805(0x2e8)]=0x271b]=_0x86a805(0x2e8),_0x41bc37[_0x41bc37['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x86a805(0x1c7),_0x41bc37[_0x41bc37['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x41bc37[_0x41bc37['INVALID_INVITE_CODE']=0x2ee2]=_0x86a805(0x1d8),_0x41bc37[_0x41bc37[_0x86a805(0x1ee)]=0x2ee3]=_0x86a805(0x1ee),_0x41bc37[_0x41bc37[_0x86a805(0x28e)]=0x2ee4]=_0x86a805(0x28e),_0x41bc37[_0x41bc37[_0x86a805(0x2f3)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x41bc37[_0x41bc37[_0x86a805(0x2b2)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x41bc37[_0x41bc37[_0x86a805(0x195)]=0x32ca]=_0x86a805(0x195),_0x41bc37[_0x41bc37[_0x86a805(0x17d)]=0x32cb]=_0x86a805(0x17d),_0x41bc37[_0x41bc37[_0x86a805(0x31a)]=-0x1]=_0x86a805(0x31a),_0x41bc37))(wt||{}),Rn=Object[_0x86a805(0x172)],Dn=(_0x2e4640,_0x681c0a,_0x1ce60b,_0x38de26)=>{for(var _0x150d9e=_0x38de26>0x1?void 0x0:_0x38de26?Rn(_0x681c0a,_0x1ce60b):_0x681c0a,_0x846531=_0x2e4640['length']-0x1,_0x148e53;_0x846531>=0x0;_0x846531--)(_0x148e53=_0x2e4640[_0x846531])&&(_0x150d9e=_0x148e53(_0x150d9e)||_0x150d9e);return _0x150d9e;},Te=(_0x509c6c,_0x3e9b4d)=>(_0x396c19,_0x216839)=>_0x3e9b4d(_0x396c19,_0x216839,_0x509c6c);let at=class extends _0x413335{constructor(_0x1e0c6d,_0x48b2f9,_0x40412c){const _0x795eb3=_0x86a805;super(),this[_0x795eb3(0x242)]=_0x1e0c6d,this[_0x795eb3(0x1ab)]=_0x48b2f9,this[_0x795eb3(0x1f1)]=_0x40412c;}async['runOnServer'](_0x1638ea,_0x37c08a,_0x36d594,..._0x2a1b69){const _0x908254=_0x86a805;var _0x4985a8,_0x24e4c3,_0x3d6e5b,_0x386d7e;const _0x1ffe56=this[_0x908254(0x242)][_0x908254(0x185)]();if(!_0x1ffe56)throw new Error(_0x908254(0x2e3));const _0xfdac0b=((_0x4985a8=this[_0x908254(0x1f1)]['getConfig'](_0x1374d1))!=null?_0x4985a8:_0x113642)+'/'+_0x1638ea+_0x908254(0x250)+_0x37c08a,_0x737f5=new URL(window[_0x908254(0x184)]['href']),_0x87fbc2={'scriptId':_0x1638ea,'runId':(_0x24e4c3=_0x737f5['searchParams']['get'](_0x908254(0x2cf)))!=null?_0x24e4c3:'','function':_0x37c08a,'unitId':_0x1ffe56[_0x908254(0x235)](),'argsOfFunction':JSON[_0x908254(0x1b5)](_0x2a1b69),'invokeId':(_0x3d6e5b=_0x36d594[_0x908254(0x277)])!=null?_0x3d6e5b:'','executionId':(_0x386d7e=_0x36d594['executionId'])!=null?_0x386d7e:''};try{const _0xa3f308=await this[_0x908254(0x1ab)]['post'](_0xfdac0b,{'body':_0x87fbc2});return _0xa3f308[_0x908254(0x1eb)][_0x908254(0x36b)]&&_0xa3f308[_0x908254(0x1eb)][_0x908254(0x36b)][_0x908254(0x1e3)]!==wt['OK']?_0x908254(0x1c4):_0xa3f308[_0x908254(0x1eb)][_0x908254(0x1e8)];}catch{return _0x908254(0x1c4);}}};at=Dn([Te(0x0,_0x3b4d53),Te(0x1,_0x545293(_0x231e97)),Te(0x2,_0x48306b)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt 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 _0x519bfd=_0x5d30;(function(_0x20cee7,_0x1da0b7){const _0x435d71=_0x5d30,_0x3ace2f=_0x20cee7();while(!![]){try{const _0x65e55b=-parseInt(_0x435d71(0x10b))/0x1+-parseInt(_0x435d71(0x106))/0x2*(parseInt(_0x435d71(0x114))/0x3)+-parseInt(_0x435d71(0x101))/0x4*(parseInt(_0x435d71(0x102))/0x5)+-parseInt(_0x435d71(0x10c))/0x6*(-parseInt(_0x435d71(0xfd))/0x7)+-parseInt(_0x435d71(0xff))/0x8*(-parseInt(_0x435d71(0xfc))/0x9)+-parseInt(_0x435d71(0x10f))/0xa*(-parseInt(_0x435d71(0x10a))/0xb)+-parseInt(_0x435d71(0xfe))/0xc*(-parseInt(_0x435d71(0x10e))/0xd);if(_0x65e55b===_0x1da0b7)break;else _0x3ace2f['push'](_0x3ace2f['shift']());}catch(_0x20ea77){_0x3ace2f['push'](_0x3ace2f['shift']());}}}(_0x4889,0x207a7));const e={'collab-client':{'tooltip':{'reconnect':_0x519bfd(0x113)}},'collabStatus':{'fetchMiss':_0x519bfd(0x10d),'conflict':_0x519bfd(0x115),'notCollab':'Local\x20file','synced':_0x519bfd(0x105),'syncing':'Syncing...','offline':_0x519bfd(0x109)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x519bfd(0x112),'room-full':_0x519bfd(0x111),'collaboration-timeout':_0x519bfd(0x110)},'conflict':{'title':_0x519bfd(0x108),'content':_0x519bfd(0x104)},'permission':{'title':_0x519bfd(0x107),'content':_0x519bfd(0x103)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x519bfd(0x100)}};export{e as default};function _0x5d30(_0x33bcdd,_0x1ee4c8){const _0x488926=_0x4889();return _0x5d30=function(_0x5d3043,_0x2393aa){_0x5d3043=_0x5d3043-0xfc;let _0x57a553=_0x488926[_0x5d3043];return _0x57a553;},_0x5d30(_0x33bcdd,_0x1ee4c8);}function _0x4889(){const _0xcb8a3a=['429008zIJHcS','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','14548vzXJTv','235CmHFSY','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','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.','Synced','50042UvCHVk','Authentication\x20Error','Collaboration\x20Conflict','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','374YdobHO','50836ONDYJK','355920Pgspvx','Syncing\x20server\x20data...','336401Gqmohn','31750NUIYtw','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Click\x20to\x20Reconnect','27uKTnfZ','Edit\x20conflicts','9GdQJqw','28endzts','84wRCNTU'];_0x4889=function(){return _0xcb8a3a;};return _0x4889();}
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x3ba7ef=_0x47c4;function _0x47c4(_0x8666ab,_0x59600a){const _0x17d049=_0x17d0();return _0x47c4=function(_0x47c434,_0x101856){_0x47c434=_0x47c434-0x100;let _0x590df7=_0x17d049[_0x47c434];return _0x590df7;},_0x47c4(_0x8666ab,_0x59600a);}function _0x17d0(){const _0x36150f=['همگام\x20سازی','تداخل\x20همکاری','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','1020085miKyyS','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','6794235CBppSI','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','خطای\x20اعتبارسنجی','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','39492ITwotg','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','211528iolykx','تداخل\x20ویرایش','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','754251TDmfYV','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','83256JFElZu','پرونده\x20محلی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','6THGTkb','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','622282TAdOni','203tHAsXE'];_0x17d0=function(){return _0x36150f;};return _0x17d0();}(function(_0x3bcc41,_0x12cf8a){const _0x50d4ee=_0x47c4,_0x352f8e=_0x3bcc41();while(!![]){try{const _0x7c766f=parseInt(_0x50d4ee(0x10b))/0x1+-parseInt(_0x50d4ee(0x117))/0x2+parseInt(_0x50d4ee(0x110))/0x3+-parseInt(_0x50d4ee(0x10d))/0x4+-parseInt(_0x50d4ee(0x104))/0x5*(parseInt(_0x50d4ee(0x115))/0x6)+parseInt(_0x50d4ee(0x100))/0x7*(-parseInt(_0x50d4ee(0x112))/0x8)+parseInt(_0x50d4ee(0x106))/0x9;if(_0x7c766f===_0x12cf8a)break;else _0x352f8e['push'](_0x352f8e['shift']());}catch(_0x3fa6e9){_0x352f8e['push'](_0x352f8e['shift']());}}}(_0x17d0,0x2af6d));const o={'collab-client':{'tooltip':{'reconnect':_0x3ba7ef(0x10a)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x3ba7ef(0x10e),'notCollab':_0x3ba7ef(0x113),'synced':_0x3ba7ef(0x101),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x3ba7ef(0x108)},'session':{'connection-failed':_0x3ba7ef(0x103),'will-retry':_0x3ba7ef(0x107),'room-full':_0x3ba7ef(0x10f),'collaboration-timeout':_0x3ba7ef(0x111)},'conflict':{'title':_0x3ba7ef(0x102),'content':_0x3ba7ef(0x10c)},'permission':{'title':_0x3ba7ef(0x109),'content':_0x3ba7ef(0x105)},'collaboration':{'single-unit':{'warning':_0x3ba7ef(0x114)},'closeRoom':_0x3ba7ef(0x116)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
|