@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202504301607 → 0.7.0-nightly.202505021607
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 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x38bc(){const _0x54c8d8=['actions','values','_saveCache','ThemeService','Injector','sessionTicket','toStringTag','OnLineSingle','measureText','name','USER_NOT_INVITED_CODE','_online','has','CollaborationDataLoaderController','@univerjs-pro/collaboration','Disposable','@univerjs/engine-render','event$','_updateLocalCursor','AWAITING','useCallback','subUnitId','subscribe','_startDocCollabCursor','transformIMECache','_initStatusListener','on-line-single_clip0_910_349','_toggleOnline','error','RECT','IUniverInstanceService','string','triggerDblclick','Vector2','ILocalStorageService','fillText','cursorInfo$','_collaborationController','clearTimeout','IMessageService','COMPLETION_FINISHED','getRelativeToViewportCoord','_handleHeartbeatEvent','Subject','_refRangeService','forEach','onRendered','clearInterval','_uiPartsService','saveOfflineData','uni.network.url-service','IURLService','getActiveRange','UniverRpc','FETCH_MISS','DocSelectionManagerService','roomMembers','univer-text-green-500','@univerjs/network','transformStateCache','combineLatest','push','MOBILE_HAS_BEEN_BOUND','font','jsxs','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','_commandService','_cursorShapes','_localStorageService','BrowserCollaborationSocketService','enableLocalCache','MemberService','sessionStatus$','_saveTaskMap','permission.title','2552zPxldv','UniverProCollaborationClientUi','currentTheme$','memberID','_getAnchorBounding','selections','getUniverSheetInstance','exports','RemoveColCommandId','rgba(255,\x20255,\x20255,\x200.01)','_docStateChangeManagerService','_status$','650vtiymG','IDocClipboardService','defIds','storage','UniverCollaborationClientUIPlugin','_httpService','Inject','DeleteRangeMoveLeftCommandId','getSkeleton','LICENSE_EXPORT_SIZE_EXCEEDED','params','popstate','APPLY_REJECT','_hovered','unshift','setItem','UniverEngineRender','FromArray','RegularPolygon','min','takeUntil','disableLocalCache','getSheetObject','call','m2Prime','NodePositionConvertToRectRange','0\x200\x2016\x2016','send','pluginName','_removeCollabCursors','with','registerDependencies','LOGIN_FAILED','getUnhiddenWorksheets','generateRandomId','get','Workbook','startColumn','fromEvent','BehaviorSubject','activeSheet$','MoveRangeCommandId','collabStatus.fetchMiss','object','SOCKET_FAILED_RETRY','Rect','collabStatus.conflict','mask','arc','data','ILocalCacheService','none','handleInsertCol','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getSheetId','collab-text-range-','LOCAL_CACHE_INTERVAL','verdancy600','isEditing','DEFAULT_WS_SESSION_TICKET_URL','_scene','entries','CONFLICT','createInstance','getMemberID','unsubscribe','1em','_scheduleClearOtherTimer','lineTo','location','getUndoRedoMutationParamsCache','entityInit$','DocIMEInputManagerService','USERS_LEAVE','getOwnPropertySymbols','forwardRef','debounce','ISocketService','_handleEvent','doc.mutation.rich-text-editing','text','currentColor','_getSessionTicket','Shape','JOIN_ROOM_FAILED','SetDocZoomRatioOperation','ISnapshotServerService','_onCursorDelete','onLocalMutation','trim','dispose$','_name','_cursorInfo$','OffLineSingle','jsx','rxjs','_eventUnsubscribe','backgroundColor','children','_collabCursorState$','asObservable','debug','TEXT_RANGE_LAYER_INDEX','setConfig','requireSession','@univerjs/design','CollaborationStatusDisplay','_onRefRangeChange','addObject','red300','pushState','clipPath','_drawAnchor','_session','getRangePointData','UNRECOGNIZED','ALREADY_EXISTS','onPointerEnter$','textRanges','UniverInstanceType','width','_backgroundColor','_renderManagerService','_drawRectRange','CollaborationController','body','subunit','RxDisposable','onMouseMove','CONNECTOR_DATA_TOO_LARGE','setShapeProps','CollaborationSessionService','executionId','_docSkeletonManagerService','_hover','...','_color','WebURLService','onPointerLeave$','collabStatus.synced','_imageIoService','collaboration.single-unit.warning','complete','_range','loadUnit','purple300','_colorIndex','debounceTime','handleInsertRangeMoveRight','unload','isTransformMutationsWithChangesetSuccess','createIdentifier','override','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','_textBubble','transform','_disabled','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','AWAITING_WITH_PENDING','distinctUntilChanged','getUnitId','assignAColorForMemberID','DependentOn','_roomMembers$','replaceDocRanges','316tIVvzQ','createElement','ENSURE_SNAPSHOT_EXECUTION','merge','getOwnPropertyDescriptor','parse','@univerjs/core','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SUBMIT_CHANGESET_TIMEOUT','NodePositionConvertToCursor','_clearOtherTimers','then','LICENSE_DISTRO_REJECTED','collab-rect-range-','round','_docClipboardService','getUnitStatus$','_anchor','_removeClearOtherTimer','drawWith','_transformHistoryAndStateStack','imageSourceType','@univerjs/engine-formula','icon','transformMutationsWithChangeset','getValue','handleInsertRangeMoveDown','jiqing500','onCommandExecuted','CommandType','stringify','_unitOnClients','DesktopCollaborationStatusDisplayController','_updateSubUnitFromURLParams','EffectRefRangId','_localeService','WECHAT_HAS_BEEN_BOUND','APPLY_REVISION_CONFILICT','UniverEngineFormula','EMAIL_HAS_BEEN_BOUND','_labelPosition','findNodePositionByCharIndex','TEXT','svg','OTHER_CLIENTS_EDITING','saveTaskMap','unitID','LICENSE_MAX_UNITS_EXCEEDED','setUndoRedoMutationParamsCache','_handleLeaveEvent','collabStatus.notCollab','getActiveSheet','_univerInstanceService','@univerjs-pro/collaboration-client','code','SessionStatus','_shapes','3346932MrriGV','ColorKit','_revisionService','_getSheetObject','searchParams','UPDATE_CURSOR','_createSocketURL','_docTransformIMECacheService','NOT_FOUND','all','9147523oApFLM','replace','@univerjs/docs-ui','YUUMI_URL_COL_OUT_OF_RANGE','toString','InsertColCommandId','6tYcMva','CollaborationSocketService','_cachedData','setAlpha','url(#$1','OTHER_CLIENT_EDITING','_scheduleSaving','split','getColor','wsSessionTicketUrl','Unknown\x20user','UNIVER_SHEET','startsWith','idSuffix','shareReplay','unit','reconnect','selection','evenodd','key','_context','getConfig','redoState','m1Prime','registerRefRange','from','defineProperty','_initStatusComponent','SNAPSHOT_INVALID_SNAPSHOT','skeleton','InsertRangeMoveRightCommandId','UnitStatus','_collabSessionService','random','onStarting','fillRule','operators','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','transformRemoteChangeset','registerBeforeClose','set','UniverCollaborationClientPlugin','_anchorDot','tag','Plugin','type','exhaustSavingTask','on-line-single','DocStateChangeManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','INVITE_CODE_ALREADY_BOUND','UniverProCollaboration','_setupBeforeClosingHandler','_doCreateSocket','WebSocketService','getAncestorScale','_hideTimer','href','length','beginPath','_selfUnitIDs','_getSaveTimeout','dispose','240234mkOqMy','/run/','fillStyle','session.will-retry','UniverDocsUi','UNDEFINED','_registerRenderDependencies','_refreshCollabCursors','show','ticket','_lastPointer','_send','current','black','find','_entityInit$','univer-flex\x20univer-items-center','gold400','YUUMI_NO_CUBOID_FOR_QUESTION','removeParam','_draw','UniverDocs','UniverProCollaborationClient','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_transformService','getItem','_toggleOffline','addClipboardHook','registerComponent','Tools','some','toRgbString','getMergeData','collabCursorState$','endColumn','TOO_MANY_REQUESTS','syncEditingCollabCursor','NOT_COLLAB','assign','12vFhZHQ','NO_OTHER_CLIENTS_EDITING','fill','useDependency','_setupSubUnitSync','DOC_RANGE_TYPE','#FFF','UNAUTHENTICATED','colorChannel1','filter','31345SCXSBW','_instanceService','CollaborationUIEventId','path','moveTo','_config','replaceState','SheetSkeletonManagerService','APPLY_PERMISSION_DENIED','_memberService','Optional','addObjects','delete','424533CLpNqG','UNIVER_DOC','_docSyncEditingCollabCursorService','IConfigService','getLocalCacheKey','IImageIoService','function','_syncEditingCollabCursorService','_cursors','onTransformChange$','_initCommandExecutedListener','CHANGESET_REVISION_CONFILICT','_id','@univerjs/drawing','getDocRanges','map','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','RevisionService','UniverDesign','rxjs/operators','@univerjs/sheets','runId','indexOf','@univerjs/sheets-ui','_notificationService','displayName','saveImage','SHEET_VIEWPORT_KEY','DocSkeletonManagerService','COLORS','[CollaborationDataLoaderController]','resize','getMember','subscribeEvent','mapTo','isTransformMutationFailure','_messageService','translate(.97)','off-line-single_clip0_910_343','_sheetSkeletonManagerService','status$','defs','search','contains','_drawTextRange','createSocket','WebBrowserSingleActiveUnitService','handleDeleteRangeMoveUp','mergeOverrideWithDependencies','_configService','pipe','range','propertyIsEnumerable','roomMembers$','_heartbeatTimer','cursorInfo','UniverCore','hide','APPLY_NON_SEQUENTIAL_REVISION','color','_render','session.connection-failed','substring','attrs','CollaborationStatus','BuiltInUIPart','_colorAssignService','result','_initEntityListener','concat','row','getParam','prototype','getCollabEntity$','useObservable','DeleteRangeMoveUpCommandId','_handleHover','collabStatus.syncing','_dataLoaderService','_unitStatus','_urlService','_initEvent','touchDependencies','@univerjs/docs','RichTextEditingMutation','max','bottom','collaboration-client.offline-data-not-saved','hasOwnProperty','0\x200\x2017\x2016','_startSheetCollabCursor','getFocusedUnit','INVALID_INVITE_CODE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','YUUMI_UNABLE_LOAD_URL','react/jsx-runtime','getCurrent','_entities','collaboration.closeRoom','_collaborationUIEventService','_updateCollabCursors','react','unitId','closePath','_injector','UniverDrawing','extend','ranges','toDisposable','getRenderById','DataLoaderService','ICommandService','size','Module','_assignedColors','setParam','_ensureSubject','startRow','post','addEventListener','_onCursorUpdate','_cursor','YUUMI_RATE_OVER_LIMIT','SetSelectionsOperation','@univerjs/ui','_document','MessageType','INVITE_CODE_REQUIRED','ITransformService','LOCAL_CACHE_INTERVAL_KEY','connectInjector','init','apply','_themeService','top','getSheetBySheetId','YUUMI_SUBSCRIPTION_NOT_FOUND','transformMutation','_transformPreviousActiveRange','INVITE_CODE_HAS_BEEN_UES','SYNCED','registerRenderModule','executeCommand','history','SetTextSelectionsOperation','column','transformSelections','mutations','DocCollaborationEntity','IRenderManagerService','switchMap','SNAPSHOT_HAS_BEEN_REMOVED','RemoteUniscriptService','isArray','M0\x200H16V16H0z','123210dueLKP','_handleJoinEvent','transformByState','_collabCursorController','fromEventSubject','PY_RUNTIME_SCRIPT_ERROR','getCoordByCell','SOCKET_FAILED','_getScale','INotificationService','eventID','isActive','add','className','Warning','_localCacheService','collabStatus.offline','_docTransformSelectionsService','getOffsetConfig','save','getTypeOfUnitDisposed$','disposeWithMe','deepClone','endRow','setInterval','updateOfflineData','next','CLOSE_ROOM','YUUMI_ASYNCIO_CANCELLED','_docTransformStateCacheService','HTTPService','_updateURLWithCurrentState','UniverNetwork','9919bHNPfr','PENDING','_init','setTimeout','_logService','_registerDependencies','CollaborationEvent','handleIRemoveCol','div','LocaleService','getCollabCursors$','urlChange$','SetWorksheetActivateCommand','height','INTERNAL_ERROR','getTypeOfUnitAdded$','undoState','newValue','ONLINE','handleMoveRange','origin','_initDependencies','Failed','Error','amd','#fff','DisposableCollection','PERMISSION_DENIED','ILogService'];_0x38bc=function(){return _0x54c8d8;};return _0x38bc();}function _0x201c(_0x34c66a,_0x4c540f){const _0x38bc05=_0x38bc();return _0x201c=function(_0x201ce9,_0x331559){_0x201ce9=_0x201ce9-0x79;let _0x2fdd8d=_0x38bc05[_0x201ce9];return _0x2fdd8d;},_0x201c(_0x34c66a,_0x4c540f);}(function(_0x83e1ea,_0x291b4e){const _0x453799=_0x201c,_0x249f5e=_0x83e1ea();while(!![]){try{const _0x44fbb3=-parseInt(_0x453799(0x2f3))/0x1+parseInt(_0x453799(0x2b4))/0x2*(-parseInt(_0x453799(0x96))/0x3)+parseInt(_0x453799(0x26b))/0x4*(parseInt(_0x453799(0x89))/0x5)+-parseInt(_0x453799(0x2a4))/0x6+-parseInt(_0x453799(0x152))/0x7*(parseInt(_0x453799(0x1ba))/0x8)+-parseInt(_0x453799(0x131))/0x9*(-parseInt(_0x453799(0x1c6))/0xa)+-parseInt(_0x453799(0x2ae))/0xb*(-parseInt(_0x453799(0x7f))/0xc);if(_0x44fbb3===_0x291b4e)break;else _0x249f5e['push'](_0x249f5e['shift']());}catch(_0x951f6a){_0x249f5e['push'](_0x249f5e['shift']());}}}(_0x38bc,0x84582),function(_0x218fe6,_0x320991){const _0x2b77fc=_0x201c;typeof exports==_0x2b77fc(0x1f1)&&typeof module<'u'?_0x320991(exports,require(_0x2b77fc(0x2a0)),require(_0x2b77fc(0x271)),require(_0x2b77fc(0x17f)),require('@univerjs/network'),require(_0x2b77fc(0x2b0)),require(_0x2b77fc(0xa3)),require(_0x2b77fc(0x225)),require(_0x2b77fc(0xe9)),require(_0x2b77fc(0x17d)),require(_0x2b77fc(0x281)),require(_0x2b77fc(0xaa)),require(_0x2b77fc(0xa9)),require(_0x2b77fc(0xad)),require('react/jsx-runtime'),require('@univerjs/ui'),require(_0x2b77fc(0x22f)),require(_0x2b77fc(0xfb)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x2b77fc(0x16a)]?define([_0x2b77fc(0x1c1),_0x2b77fc(0x2a0),_0x2b77fc(0x271),_0x2b77fc(0x17f),_0x2b77fc(0x1a9),'@univerjs/docs-ui',_0x2b77fc(0xa3),_0x2b77fc(0x225),_0x2b77fc(0xe9),_0x2b77fc(0x17d),'@univerjs/engine-formula',_0x2b77fc(0xaa),_0x2b77fc(0xa9),'@univerjs/sheets-ui',_0x2b77fc(0xf5),_0x2b77fc(0x112),_0x2b77fc(0x22f),_0x2b77fc(0xfb),'@univerjs/rpc'],_0x320991):(_0x218fe6=typeof globalThis<'u'?globalThis:_0x218fe6||self,_0x320991(_0x218fe6[_0x2b77fc(0x1bb)]={},_0x218fe6[_0x2b77fc(0x309)],_0x218fe6[_0x2b77fc(0xce)],_0x218fe6[_0x2b77fc(0x1d6)],_0x218fe6[_0x2b77fc(0x151)],_0x218fe6[_0x2b77fc(0x2f7)],_0x218fe6[_0x2b77fc(0xff)],_0x218fe6[_0x2b77fc(0x225)],_0x218fe6[_0x2b77fc(0x308)],_0x218fe6[_0x2b77fc(0x2e7)],_0x218fe6[_0x2b77fc(0x291)],_0x218fe6['UniverSheets'],_0x218fe6[_0x2b77fc(0x225)][_0x2b77fc(0x2d8)],_0x218fe6['UniverSheetsUi'],_0x218fe6['React'],_0x218fe6['UniverUi'],_0x218fe6[_0x2b77fc(0xa8)],_0x218fe6['React'],_0x218fe6[_0x2b77fc(0x1a4)]));}(this,function(_0x3bccaa,_0x1102c8,_0x3207a9,_0x2e888c,_0x283bfb,_0xcfa6df,_0x23a064,_0xd000e2,_0xca2427,_0x3e7a87,_0x9b4b,_0x4a8ed5,_0x3314d0,_0x5f0a59,_0x23e649,_0x38cf24,_0x28722d,_0x470d28,_0x5c4095){'use strict';const _0x258f24=_0x201c;var _0x763ecc=Object[_0x258f24(0x2ce)],_0x4f3fb8=(_0x5f33de,_0x2a050f,_0x297d59)=>_0x2a050f in _0x5f33de?_0x763ecc(_0x5f33de,_0x2a050f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x297d59}):_0x5f33de[_0x2a050f]=_0x297d59,_0x1a27fd=(_0x327e6b,_0x11344c,_0x4ec528)=>_0x4f3fb8(_0x327e6b,typeof _0x11344c!='symbol'?_0x11344c+'':_0x11344c,_0x4ec528),_0x22d69c=Object[_0x258f24(0x26f)],_0x38088b=(_0xf8d3bd,_0x210256,_0x5c92bc,_0x484ffc)=>{for(var _0x2f17a3=_0x484ffc>0x1?void 0x0:_0x484ffc?_0x22d69c(_0x210256,_0x5c92bc):_0x210256,_0x28f5b5=_0xf8d3bd['length']-0x1,_0x11fbd4;_0x28f5b5>=0x0;_0x28f5b5--)(_0x11fbd4=_0xf8d3bd[_0x28f5b5])&&(_0x2f17a3=_0x11fbd4(_0x2f17a3)||_0x2f17a3);return _0x2f17a3;},_0x5899fa=(_0x2481c8,_0x1946f2)=>(_0x2d484,_0x400b5c)=>_0x1946f2(_0x2d484,_0x400b5c,_0x2481c8);let _0xa670a2=class extends _0x3207a9[_0x258f24(0x245)]{constructor(_0x73d625,_0x33d1ad){const _0x395a30=_0x258f24;super(),this[_0x395a30(0x27a)]=_0x73d625,this[_0x395a30(0x252)]=_0x33d1ad,this[_0x395a30(0x154)]();}[_0x258f24(0x154)](){const _0x453f94=_0x258f24,_0x5afc8d=this;this['disposeWithMe'](this[_0x453f94(0x27a)][_0x453f94(0x30e)]({'onBeforePasteImage':async _0x12d975=>{const _0x10a219=_0x453f94,_0x5eb3c7=await _0x5afc8d[_0x10a219(0x252)][_0x10a219(0xb0)](_0x12d975);return _0x5eb3c7?{'source':_0x5eb3c7['source'],'imageSourceType':_0x5eb3c7[_0x10a219(0x280)]}:null;}}));}};_0xa670a2=_0x38088b([_0x5899fa(0x0,_0xcfa6df[_0x258f24(0x1c7)]),_0x5899fa(0x1,_0x23a064[_0x258f24(0x9b)])],_0xa670a2);const _0x3b6e78=[_0x258f24(0x257),_0x258f24(0x286),_0x258f24(0x1ff),_0x258f24(0x233),'blue400',_0x258f24(0x304)];class _0x3ec850 extends _0x3207a9[_0x258f24(0x17e)]{constructor(){const _0x7805a8=_0x258f24;super(...arguments),_0x1a27fd(this,_0x7805a8(0x108),new Map()),_0x1a27fd(this,'_colorIndex',0x0);}[_0x258f24(0x267)](_0x14059a){const _0x3fe2b4=_0x258f24;if(this[_0x3fe2b4(0x108)][_0x3fe2b4(0x17b)](_0x14059a))return this['_assignedColors'][_0x3fe2b4(0x1e9)](_0x14059a);const _0x390785=_0x3b6e78[this['_colorIndex']];return this[_0x3fe2b4(0x258)]=(this['_colorIndex']+0x1)%_0x3b6e78[_0x3fe2b4(0x2ee)],this['_assignedColors']['set'](_0x14059a,_0x390785),_0x390785;}}function _0xe11a78(_0x3b6466){const _0x21fe8b=_0x258f24;let _0x249836='';for(const _0x480e78 of _0x3b6466){const {startOffset:_0x2d186a,endOffset:_0x260447,isActive:_0x3053e9,rangeType:_0x46020a,segmentId:_0x1950b3,segmentPage:_0x52fd34}=_0x480e78;_0x249836[_0x21fe8b(0x2ee)]&&(_0x249836+=','),_0x249836+=_0x2d186a+':'+_0x260447+':'+(_0x3053e9?'1':'0')+':'+_0x46020a+':'+_0x1950b3+':'+_0x52fd34;}return _0x249836;}function _0x4e7a22(_0x4ebb5b){const _0x1d8f1f=_0x258f24,_0x31379f=_0x4ebb5b['split'](','),_0xa7d50e=[];for(const _0x125454 of _0x31379f){const [_0x26af9c,_0x1329b0,_0x2609c1,_0x104155,_0x428979,_0x18693b]=_0x125454[_0x1d8f1f(0x2bb)](':');_0xa7d50e[_0x1d8f1f(0x1ac)]({'startOffset':Number(_0x26af9c),'endOffset':Number(_0x1329b0),'collapsed':_0x26af9c===_0x1329b0,'isActive':_0x2609c1==='1','rangeType':_0x104155===_0x3207a9[_0x1d8f1f(0x84)]['TEXT']?_0x3207a9[_0x1d8f1f(0x84)][_0x1d8f1f(0x295)]:_0x3207a9[_0x1d8f1f(0x84)]['RECT'],'segmentId':typeof _0x428979==_0x1d8f1f(0x18e)?String(_0x428979):'','segmentPage':Number(_0x18693b!=null?_0x18693b:-0x1)});}return _0xa7d50e[_0x1d8f1f(0x311)](_0x128cfb=>_0x128cfb['isActive'])||(_0xa7d50e[0x0][_0x1d8f1f(0x13c)]=!0x0),_0xa7d50e;}class _0x2062f0 extends _0x3207a9[_0x258f24(0x245)]{constructor(){const _0x35ef7b=_0x258f24;super(...arguments),_0x1a27fd(this,_0x35ef7b(0x229),new _0xd000e2[(_0x35ef7b(0x1ed))](null)),_0x1a27fd(this,_0x35ef7b(0x79),this[_0x35ef7b(0x229)][_0x35ef7b(0x22a)]());}[_0x258f24(0x7c)](_0x4386e9){const _0x5952bf=_0x258f24,{unitID:_0x11b2f8,memberID:_0x517b9a,textRanges:_0x3d9501}=_0x4386e9,_0x2a4a4c=_0xe11a78(_0x3d9501);if(_0x2a4a4c==='')return;const _0x5b98d4={'unitID':_0x11b2f8,'memberID':_0x517b9a,'selection':_0x2a4a4c};this[_0x5952bf(0x229)][_0x5952bf(0x14b)](_0x5b98d4);}}var _0x59e7b1=Object['getOwnPropertyDescriptor'],_0x312adb=(_0x2bf310,_0x2cef19,_0xf9e406,_0x5c4285)=>{for(var _0x3577c6=_0x5c4285>0x1?void 0x0:_0x5c4285?_0x59e7b1(_0x2cef19,_0xf9e406):_0x2cef19,_0x7df7d8=_0x2bf310['length']-0x1,_0x11356b;_0x7df7d8>=0x0;_0x7df7d8--)(_0x11356b=_0x2bf310[_0x7df7d8])&&(_0x3577c6=_0x11356b(_0x3577c6)||_0x3577c6);return _0x3577c6;},_0xf0ae3e=(_0x3ac3d5,_0x1587dc)=>(_0x1545ab,_0x16375c)=>_0x1587dc(_0x1545ab,_0x16375c,_0x3ac3d5);const _0x4ebfd1=0x12c,_0x4d94a9=0x64;let _0x5cb765=class extends _0x3207a9['RxDisposable']{constructor(_0x711277,_0x317d12,_0xf4f684,_0x3feec3,_0x35d2cc,_0xbef5d3,_0x426093,_0x164c70,_0x33b46c){const _0x330509=_0x258f24;super(),_0x1a27fd(this,_0x330509(0x17a),!0x1),_0x1a27fd(this,_0x330509(0x154),!0x1),_0x1a27fd(this,_0x330509(0x222),new _0xd000e2[(_0x330509(0x1ed))](new Map())),_0x1a27fd(this,_0x330509(0x193),this[_0x330509(0x222)]['asObservable']()),_0x1a27fd(this,_0x330509(0x269),new _0xd000e2[(_0x330509(0x1ed))]([])),_0x1a27fd(this,_0x330509(0xcb),this[_0x330509(0x269)]['pipe'](_0xd000e2[_0x330509(0x259)](_0x4ebfd1))),_0x1a27fd(this,_0x330509(0x181),_0x3207a9['debounce'](_0x433749=>{const _0x57407f=_0x330509,_0x52465e={'eventID':_0x3e7a87[_0x57407f(0x158)][_0x57407f(0x2a9)],'data':{'unitID':this[_0x57407f(0x299)],'memberID':this[_0x57407f(0x237)][_0x57407f(0x206)](),'selection':_0xe11a78(_0x433749)}};this[_0x57407f(0x237)][_0x57407f(0x1e1)](_0x52465e,this['unitID']);},_0x4d94a9)),(this[_0x330509(0x299)]=_0x711277,this[_0x330509(0x237)]=_0x317d12,this['_injector']=_0xf4f684,this[_0x330509(0xd8)]=_0x3feec3,this[_0x330509(0x92)]=_0x35d2cc,this[_0x330509(0x9d)]=_0xbef5d3,this[_0x330509(0x30b)]=_0x426093,this[_0x330509(0x29f)]=_0x164c70,this[_0x330509(0x1b1)]=_0x33b46c);}get[_0x258f24(0xcd)](){const _0xd228de=_0x258f24;return this[_0xd228de(0x222)][_0xd228de(0x284)]();}get[_0x258f24(0x1a7)](){const _0x34f1b1=_0x258f24;return this[_0x34f1b1(0x269)][_0x34f1b1(0x284)]();}[_0x258f24(0x2f2)](){const _0x3168a3=_0x258f24;super[_0x3168a3(0x2f2)](),this[_0x3168a3(0x222)][_0x3168a3(0x14b)](new Map()),this['_cursorInfo$']['complete'](),this[_0x3168a3(0x269)][_0x3168a3(0x14b)]([]),this[_0x3168a3(0x269)]['complete']();}[_0x258f24(0x119)](){const _0x13c80e=_0x258f24;this['_init']||(this['_init']=!0x0,this[_0x13c80e(0x237)][_0x13c80e(0x1b7)]['pipe'](_0xd000e2[_0x13c80e(0x1da)](this['dispose$']))['subscribe'](_0x2143f9=>{const _0x3e6573=_0x13c80e;_0x2143f9===_0x1102c8[_0x3e6573(0x2a2)][_0x3e6573(0x164)]?this[_0x3e6573(0x18a)]():this[_0x3e6573(0x30d)]();}),this['_session']['event$']['pipe'](_0xd000e2[_0x13c80e(0x1da)](this[_0x13c80e(0x220)]))[_0x13c80e(0x185)](_0x372999=>{const _0x179e78=_0x13c80e,_0x250ddd=_0x372999[_0x179e78(0x13b)];_0x250ddd===_0x3e7a87[_0x179e78(0x158)][_0x179e78(0x2a9)]&&this[_0x179e78(0x10e)](_0x372999),_0x250ddd===_0x3e7a87[_0x179e78(0x158)]['USERS_LEAVE']&&this[_0x179e78(0x21d)](_0x372999);}),this[_0x13c80e(0x146)](this[_0x13c80e(0x1b1)][_0x13c80e(0x287)](_0x1c82c6=>{const _0x1294f7=_0x13c80e,_0x12c0eb=_0x1c82c6['params'];_0x12c0eb!=null&&this['_online']&&_0x1c82c6['id']===_0xca2427[_0x1294f7(0x126)]['id']&&_0x12c0eb[_0x1294f7(0xfc)]===this[_0x1294f7(0x299)]&&_0x12c0eb[_0x1294f7(0x200)]===!0x1&&_0x12c0eb[_0x1294f7(0x101)]['length']>0x0&&this['_updateLocalCursor'](_0x12c0eb['ranges']);})),this[_0x13c80e(0x9d)][_0x13c80e(0x79)][_0x13c80e(0xc8)](_0xd000e2['takeUntil'](this['dispose$']))[_0x13c80e(0x185)](_0x137920=>{const _0x11a247=_0x13c80e;if((_0x137920==null?void 0x0:_0x137920[_0x11a247(0x299)])!==this[_0x11a247(0x299)])return;const _0x57a46a={'eventID':_0x3e7a87[_0x11a247(0x158)][_0x11a247(0x2a9)],'data':_0x137920};this['_onCursorUpdate'](_0x57a46a);}),this[_0x13c80e(0x146)](this[_0x13c80e(0x1b1)]['onCommandExecuted'](_0x4015c7=>{const _0x1840f3=_0x13c80e;if(_0x4015c7[_0x1840f3(0x1d0)]==null)return;const _0x388c00=_0x4015c7[_0x1840f3(0x1d0)];if(_0x4015c7['id']!==_0xca2427[_0x1840f3(0xea)]['id']||_0x388c00[_0x1840f3(0xfc)]!==this[_0x1840f3(0x299)])return;const _0x4587a6={'id':_0x1840f3(0x215),'params':_0x388c00},_0x3f8693=this[_0x1840f3(0xcd)];for(const [_0x3d85bb,_0x518538]of _0x3f8693){const _0x4735d1={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x1840f3(0x299)],'actions':null,'textRanges':_0x518538['ranges']}},_0xed4246=this[_0x1840f3(0x30b)][_0x1840f3(0x11f)](_0x4587a6,_0x4735d1,!0x1);if(_0x3e7a87['isTransformMutationFailure'](_0xed4246))throw _0xed4246['error'];_0x3f8693[_0x1840f3(0x2dc)](_0x3d85bb,{..._0x518538,'ranges':_0xed4246['m2Prime']['params']['textRanges']});}queueMicrotask(()=>{const _0xf68a1f=_0x1840f3;this[_0xf68a1f(0x222)][_0xf68a1f(0x14b)](_0x3f8693);});})));}['_onCursorUpdate'](_0x3677f0){const _0x49f187=_0x258f24;var _0x3e7e4f,_0x166937;const {memberID:_0x30fa1b,selection:_0x42c657}=_0x3677f0['data'],_0x4ca996=_0x4e7a22(_0x42c657),_0x3d52bd=(_0x166937=(_0x3e7e4f=this['_memberService'][_0x49f187(0xb6)](this[_0x49f187(0x299)],_0x30fa1b))==null?void 0x0:_0x3e7e4f['name'])!=null?_0x166937:_0x49f187(0x2be),_0x2c7d3d={'color':this['_colorAssignService'][_0x49f187(0x267)](_0x30fa1b),'name':_0x3d52bd,'ranges':_0x4ca996},_0x3e6e03=this[_0x49f187(0xcd)];_0x3e6e03[_0x49f187(0x2dc)](_0x30fa1b,_0x2c7d3d),this[_0x49f187(0x222)]['next'](_0x3e6e03);}[_0x258f24(0x21d)](_0x44ed0f){const _0x435203=_0x258f24,{memberID:_0x178941}=_0x44ed0f['data'],_0x1c4e00=this[_0x435203(0xcd)];_0x1c4e00[_0x435203(0x95)](_0x178941),this[_0x435203(0x222)][_0x435203(0x14b)](_0x1c4e00);}[_0x258f24(0x18a)](){const _0x57612c=_0x258f24;var _0x26dc61;if(this[_0x57612c(0x17a)]=!0x0,((_0x26dc61=this[_0x57612c(0x29f)]['getFocusedUnit']())==null?void 0x0:_0x26dc61[_0x57612c(0x266)]())!==this[_0x57612c(0x299)])return;const _0x6866c7=this[_0x57612c(0xfe)][_0x57612c(0x1e9)](_0xca2427[_0x57612c(0x1a6)])[_0x57612c(0xa4)]();Array[_0x57612c(0x12f)](_0x6866c7)&&_0x6866c7[_0x57612c(0x2ee)]>0x0&&this[_0x57612c(0x181)](_0x6866c7);}[_0x258f24(0x30d)](){const _0x5846bc=_0x258f24;this[_0x5846bc(0x17a)]=!0x1;}};_0x5cb765=_0x312adb([_0xf0ae3e(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x173)])),_0xf0ae3e(0x3,_0x3207a9[_0x258f24(0x1cc)](_0x3ec850)),_0xf0ae3e(0x4,_0x3207a9['Inject'](_0x1102c8['MemberService'])),_0xf0ae3e(0x5,_0x3207a9[_0x258f24(0x1cc)](_0x2062f0)),_0xf0ae3e(0x6,_0x3e7a87[_0x258f24(0x116)]),_0xf0ae3e(0x7,_0x3207a9[_0x258f24(0x18d)]),_0xf0ae3e(0x8,_0x3207a9[_0x258f24(0x105)])],_0x5cb765);var _0x2989c3=Object['getOwnPropertyDescriptor'],_0x6a5ed4=(_0x9e6480,_0x4d4d5f,_0x38a73e,_0x293721)=>{const _0x111a86=_0x258f24;for(var _0x4370f5=_0x293721>0x1?void 0x0:_0x293721?_0x2989c3(_0x4d4d5f,_0x38a73e):_0x4d4d5f,_0xe288dc=_0x9e6480[_0x111a86(0x2ee)]-0x1,_0x5c07f7;_0xe288dc>=0x0;_0xe288dc--)(_0x5c07f7=_0x9e6480[_0xe288dc])&&(_0x4370f5=_0x5c07f7(_0x4370f5)||_0x4370f5);return _0x4370f5;},_0x6c7efd=(_0x53817c,_0x4b4958)=>(_0x2bd926,_0x1526c2)=>_0x4b4958(_0x2bd926,_0x1526c2,_0x53817c);const _0x3feed0=0x12c,_0x1a97ae=0x64,_0x30df03=()=>{let _0x1d961d=[],_0x4ec67c=!0x1;return _0x1b6dd6=>{_0x1d961d['push'](_0x1b6dd6),_0x4ec67c||(_0x4ec67c=!0x0,setTimeout(()=>{const _0x295ccf=_0x201c;_0x1d961d[_0x295ccf(0x19c)](_0x2973b6=>_0x2973b6()),_0x1d961d=[],_0x4ec67c=!0x1;}));};};let _0x4bfd5a=class extends _0x3207a9[_0x258f24(0x245)]{constructor(_0x296a28,_0x573b14,_0x45d3d5,_0x51501e,_0x2e0df8,_0x2ab1b2,_0x3a4a3e,_0x2df3a3){const _0x3f3833=_0x258f24;super(),_0x1a27fd(this,'_online',!0x1),_0x1a27fd(this,_0x3f3833(0x154),!0x1),_0x1a27fd(this,_0x3f3833(0x222),new _0xd000e2['BehaviorSubject'](new Map())),_0x1a27fd(this,_0x3f3833(0x193),this['_cursorInfo$'][_0x3f3833(0x22a)]()),_0x1a27fd(this,_0x3f3833(0x269),new _0xd000e2[(_0x3f3833(0x1ed))]([])),_0x1a27fd(this,_0x3f3833(0xcb),this[_0x3f3833(0x269)][_0x3f3833(0xc8)](_0xd000e2['debounceTime'](_0x3feed0))),_0x1a27fd(this,_0x3f3833(0x181),_0x3207a9[_0x3f3833(0x212)]((_0x13bc86,_0x2f3026)=>{const _0x2135ff=_0x3f3833,_0x26abdf={'eventID':_0x3e7a87[_0x2135ff(0x158)][_0x2135ff(0x2a9)],'data':{'unitID':this['unitID'],'memberID':this[_0x2135ff(0x237)][_0x2135ff(0x206)](),'selection':_0x9b4b['serializeRangeWithSheet'](_0x13bc86,_0x2f3026[_0x2135ff(0xc9)])}};this[_0x2135ff(0x237)]['send'](_0x26abdf,this[_0x2135ff(0x299)]);},_0x1a97ae)),(this[_0x3f3833(0x299)]=_0x296a28,this['_session']=_0x573b14,this['_injector']=_0x45d3d5,this[_0x3f3833(0xd8)]=_0x51501e,this['_memberService']=_0x2e0df8,this[_0x3f3833(0x29f)]=_0x2ab1b2,this['_commandService']=_0x3a4a3e,this[_0x3f3833(0x19b)]=_0x2df3a3);}get['cursorInfo'](){const _0x5ea1a3=_0x258f24;return this[_0x5ea1a3(0x222)][_0x5ea1a3(0x284)]();}get[_0x258f24(0x1a7)](){const _0x3ad712=_0x258f24;return this[_0x3ad712(0x269)][_0x3ad712(0x284)]();}['dispose'](){const _0x28d31d=_0x258f24;super[_0x28d31d(0x2f2)](),this[_0x28d31d(0x222)][_0x28d31d(0x14b)](new Map()),this[_0x28d31d(0x222)][_0x28d31d(0x254)](),this['_roomMembers$'][_0x28d31d(0x14b)]([]),this[_0x28d31d(0x269)]['complete']();}[_0x258f24(0x119)](){const _0x337dd8=_0x258f24;this['_init']||(this['_init']=!0x0,this[_0x337dd8(0x237)][_0x337dd8(0x1b7)]['pipe'](_0xd000e2['takeUntil'](this['dispose$']))[_0x337dd8(0x185)](_0x124fe9=>{const _0x53d0c5=_0x337dd8;_0x124fe9===_0x1102c8['SessionStatus'][_0x53d0c5(0x164)]?this[_0x53d0c5(0x18a)]():this[_0x53d0c5(0x30d)]();}),this[_0x337dd8(0x237)][_0x337dd8(0x180)]['pipe'](_0xd000e2['takeUntil'](this[_0x337dd8(0x220)]))[_0x337dd8(0x185)](_0x3dd0ee=>{const _0x584df2=_0x337dd8,_0x2d3f3e=_0x3dd0ee[_0x584df2(0x13b)];_0x2d3f3e===_0x3e7a87[_0x584df2(0x158)][_0x584df2(0x2a9)]&&this[_0x584df2(0x10e)](_0x3dd0ee),_0x2d3f3e===_0x3e7a87[_0x584df2(0x158)][_0x584df2(0x20f)]&&this[_0x584df2(0x21d)](_0x3dd0ee);}),this[_0x337dd8(0x231)](),this[_0x337dd8(0x146)](this['_commandService'][_0x337dd8(0x287)](_0x2f1f64=>{const _0x3aed56=_0x337dd8;if(this[_0x3aed56(0x17a)]&&_0x2f1f64['id']===_0x4a8ed5[_0x3aed56(0x111)]['id']&&_0x2f1f64[_0x3aed56(0x1d0)][_0x3aed56(0xfc)]===this[_0x3aed56(0x299)]){const _0x3a77f9=_0x2f1f64['params'];this[_0x3aed56(0x181)](_0x3a77f9[_0x3aed56(0x184)],_0x3a77f9[_0x3aed56(0x1bf)][0x0]);}})));}[_0x258f24(0x10e)](_0x38bd4e){const _0x57b7e4=_0x258f24;var _0x3921f7,_0x521616;const {memberID:_0x828fec,selection:_0x42f64a}=_0x38bd4e[_0x57b7e4(0x1f7)],{sheetName:_0x227b73,range:_0xf55069}=_0x9b4b['deserializeRangeWithSheet'](_0x42f64a),_0x480bfc={'name':(_0x521616=(_0x3921f7=this[_0x57b7e4(0x92)][_0x57b7e4(0xb6)](this[_0x57b7e4(0x299)],_0x828fec))==null?void 0x0:_0x3921f7[_0x57b7e4(0x178)])!=null?_0x521616:_0x57b7e4(0x2be),'range':this['_getMergeRange'](_0x227b73,_0xf55069),'sheetID':_0x227b73,'color':this['_colorAssignService'][_0x57b7e4(0x267)](_0x828fec),'selection':_0x42f64a},_0x19c27b=this[_0x57b7e4(0xcd)];_0x19c27b['set'](_0x828fec,_0x480bfc),this[_0x57b7e4(0x222)][_0x57b7e4(0x14b)](_0x19c27b);}['_onCursorDelete'](_0x66dd4b){const _0x43c164=_0x258f24,{memberID:_0x458e7f}=_0x66dd4b[_0x43c164(0x1f7)],_0x443c31=this[_0x43c164(0xcd)];_0x443c31[_0x43c164(0x95)](_0x458e7f),this['_cursorInfo$'][_0x43c164(0x14b)](_0x443c31);}['_getMergeRange'](_0x7d4835,_0xa7cab7){const _0x5a476b=_0x258f24;var _0x5457ef,_0x544834;const _0x37a488=(_0x544834=(_0x5457ef=this[_0x5a476b(0x29f)][_0x5a476b(0x1c0)](this['unitID']))==null?void 0x0:_0x5457ef[_0x5a476b(0x11d)](_0x7d4835))==null?void 0x0:_0x544834[_0x5a476b(0x313)]();return(_0x37a488==null?void 0x0:_0x37a488[_0x5a476b(0x301)](_0x560452=>_0x3207a9['Rectangle'][_0x5a476b(0xc1)](_0x560452,_0xa7cab7)))||_0xa7cab7;}['_onRefRangeChange'](){const _0x2a875c=_0x258f24,_0xdcdc55=new _0x3207a9[(_0x2a875c(0x16c))](),_0x381fde=_0x30df03(),_0x6de332=()=>{const _0x34b2f2=_0x2a875c;_0xdcdc55[_0x34b2f2(0x2f2)]();const _0x192a95=(_0x1fd4d9,_0x563152,_0x2d1bb0,_0x732b25)=>{const _0xeda894=_0x34b2f2;let _0x30ea7d=[];switch(_0x1fd4d9['id']){case _0x4a8ed5['EffectRefRangId'][_0xeda894(0x1cd)]:{_0x30ea7d=_0x4a8ed5['handleDeleteRangeMoveLeft'](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5[_0xeda894(0x28d)][_0xeda894(0xe1)]:{_0x30ea7d=_0x4a8ed5[_0xeda894(0xc5)](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5[_0xeda894(0x28d)][_0xeda894(0x2b3)]:{_0x30ea7d=_0x4a8ed5[_0xeda894(0x1fa)](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5[_0xeda894(0x28d)]['InsertRangeMoveDownCommandId']:{_0x30ea7d=_0x4a8ed5[_0xeda894(0x285)](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5[_0xeda894(0x28d)][_0xeda894(0x2d2)]:{_0x30ea7d=_0x4a8ed5[_0xeda894(0x25a)](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5['EffectRefRangId']['InsertRowCommandId']:{_0x30ea7d=_0x4a8ed5['handleInsertRow'](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5[_0xeda894(0x28d)][_0xeda894(0x1ef)]:{_0x30ea7d=_0x4a8ed5[_0xeda894(0x165)](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5[_0xeda894(0x28d)][_0xeda894(0x1c2)]:{_0x30ea7d=_0x4a8ed5[_0xeda894(0x159)](_0x1fd4d9,_0x732b25);break;}case _0x4a8ed5[_0xeda894(0x28d)]['RemoveRowCommandId']:{_0x30ea7d=_0x4a8ed5['handleIRemoveRow'](_0x1fd4d9,_0x732b25);break;}}const _0x50cb43=_0x4a8ed5['runRefRangeMutations'](_0x30ea7d,_0x732b25),_0x14f19a=this[_0xeda894(0xcd)][_0xeda894(0x1e9)](_0x563152);if(_0x14f19a&&_0x50cb43){const _0x304438={..._0x14f19a,'range':_0x50cb43};this[_0xeda894(0xcd)][_0xeda894(0x2dc)](_0x563152,_0x304438),_0x381fde(()=>{const _0x2f86a2=_0xeda894,_0x5d5a19=this[_0x2f86a2(0x19b)]['registerRefRange'](_0x50cb43,_0x5c4678=>(_0x5d5a19[_0x2f86a2(0x2f2)](),_0x192a95(_0x5c4678,_0x563152,_0x2d1bb0,_0x50cb43)));_0xdcdc55[_0x2f86a2(0x13d)](_0x5d5a19);});}return{'redos':[],'undos':[]};};this[_0x34b2f2(0xcd)]['forEach']((_0x1ac2a4,_0x3594fe)=>{const _0x121707=_0x34b2f2,{range:_0x1f6e34,sheetID:_0x4c715c}=_0x1ac2a4,_0x371ed9=this[_0x121707(0x19b)][_0x121707(0x2cc)](_0x1f6e34,_0x59e75f=>(_0x371ed9['dispose'](),_0x192a95(_0x59e75f,_0x3594fe,_0x4c715c,_0x1f6e34)));_0xdcdc55[_0x121707(0x13d)](_0x371ed9);});};this[_0x2a875c(0x146)](_0x3207a9[_0x2a875c(0x102)](this[_0x2a875c(0x222)][_0x2a875c(0x185)](()=>{_0x6de332();})));}[_0x258f24(0x18a)](){const _0x2d14f5=_0x258f24;var _0x4b407c,_0xed2537;if(this[_0x2d14f5(0x17a)]=!0x0,((_0x4b407c=this[_0x2d14f5(0x29f)][_0x2d14f5(0xf1)]())==null?void 0x0:_0x4b407c[_0x2d14f5(0x266)]())!==this['unitID'])return;const _0x62f0a=(_0xed2537=this[_0x2d14f5(0xfe)][_0x2d14f5(0x1e9)](_0x4a8ed5['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0xed2537[0x0],_0x1e756d=this['_univerInstanceService']['getCurrentUnitForType'](_0x3207a9[_0x2d14f5(0x23d)][_0x2d14f5(0x2bf)])[_0x2d14f5(0x29e)]();_0x62f0a&&_0x1e756d&&this[_0x2d14f5(0x181)](_0x1e756d['getSheetId'](),_0x62f0a);}['_toggleOffline'](){const _0x1b4467=_0x258f24;this[_0x1b4467(0x17a)]=!0x1;}};_0x4bfd5a=_0x6a5ed4([_0x6c7efd(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x173)])),_0x6c7efd(0x3,_0x3207a9['Inject'](_0x3ec850)),_0x6c7efd(0x4,_0x3207a9[_0x258f24(0x1cc)](_0x1102c8[_0x258f24(0x1b6)])),_0x6c7efd(0x5,_0x3207a9['IUniverInstanceService']),_0x6c7efd(0x6,_0x3207a9[_0x258f24(0x105)]),_0x6c7efd(0x7,_0x3207a9[_0x258f24(0x1cc)](_0x4a8ed5['RefRangeService']))],_0x4bfd5a);var _0x4c7629=Object[_0x258f24(0x26f)],_0x4e75cb=(_0x4228c4,_0x3062a1,_0x51bd5a,_0x20f2eb)=>{const _0x15d5aa=_0x258f24;for(var _0x17713f=_0x20f2eb>0x1?void 0x0:_0x20f2eb?_0x4c7629(_0x3062a1,_0x51bd5a):_0x3062a1,_0x4c62a9=_0x4228c4[_0x15d5aa(0x2ee)]-0x1,_0x36f1c1;_0x4c62a9>=0x0;_0x4c62a9--)(_0x36f1c1=_0x4228c4[_0x4c62a9])&&(_0x17713f=_0x36f1c1(_0x17713f)||_0x17713f);return _0x17713f;},_0x13dbbf=(_0x3fdd65,_0x2e2368)=>(_0x316d1f,_0x5d6d35)=>_0x2e2368(_0x316d1f,_0x5d6d35,_0x3fdd65);let _0x35f21e=class extends _0x3207a9[_0x258f24(0x245)]{constructor(_0x555c32,_0x5cd9e5,_0xb80efd){const _0x379b85=_0x258f24;super(),_0x1a27fd(this,_0x379b85(0xf7),new Map()),_0x1a27fd(this,'_entityInit$',new _0xd000e2[(_0x379b85(0x19a))]()),(this['_univerInstanceService']=_0x555c32,this['_injector']=_0x5cd9e5,this[_0x379b85(0x2d4)]=_0xb80efd,this['_init']());}[_0x258f24(0x2f2)](){const _0xe161ee=_0x258f24;super[_0xe161ee(0x2f2)](),this['_entityInit$']['complete'](),this[_0xe161ee(0xf7)][_0xe161ee(0x19c)](_0x436934=>_0x436934[_0xe161ee(0x2f2)]());}['getCollabCursors$'](_0xb80d69){const _0x2cdf8b=_0x258f24;return this[_0x2cdf8b(0xf7)][_0x2cdf8b(0x17b)](_0xb80d69)?this[_0x2cdf8b(0xf7)][_0x2cdf8b(0x1e9)](_0xb80d69)[_0x2cdf8b(0x193)]:this[_0x2cdf8b(0x302)]['pipe'](_0xd000e2[_0x2cdf8b(0x88)](_0x46be3c=>_0x46be3c[_0x2cdf8b(0x299)]===_0xb80d69),_0xd000e2[_0x2cdf8b(0x12c)](_0x1f30a3=>_0x1f30a3[_0x2cdf8b(0x193)]));}[_0x258f24(0x154)](){const _0xe806ab=_0x258f24;this[_0xe806ab(0x29f)]['getTypeOfUnitAdded$'](_0x3207a9[_0xe806ab(0x23d)][_0xe806ab(0x2bf)])[_0xe806ab(0xc8)](_0xd000e2[_0xe806ab(0x1da)](this['dispose$']))['subscribe'](async _0x54162a=>{const _0x5a4947=_0xe806ab,_0x358c91=_0x54162a[_0x5a4947(0x266)](),_0x329865=await this[_0x5a4947(0xf0)](_0x358c91);this[_0x5a4947(0x302)][_0x5a4947(0x14b)](_0x329865),this[_0x5a4947(0xf7)][_0x5a4947(0x2dc)](_0x358c91,_0x329865);}),this[_0xe806ab(0x29f)][_0xe806ab(0x161)](_0x3207a9[_0xe806ab(0x23d)][_0xe806ab(0x97)])[_0xe806ab(0xc8)](_0xd000e2[_0xe806ab(0x1da)](this['dispose$']))['pipe'](_0xd000e2[_0xe806ab(0x88)](_0xfd68e=>!_0xfd68e[_0xe806ab(0x266)]()[_0xe806ab(0x2c0)]('__')))[_0xe806ab(0x185)](async _0x5b642b=>{const _0x44ff07=_0xe806ab,_0xeddd0=_0x5b642b[_0x44ff07(0x266)](),_0x2fcba4=await this['_startDocCollabCursor'](_0xeddd0);this['_entityInit$']['next'](_0x2fcba4),this['_entities'][_0x44ff07(0x2dc)](_0xeddd0,_0x2fcba4);}),_0xd000e2[_0xe806ab(0x26e)](this['_univerInstanceService'][_0xe806ab(0x145)](_0x3207a9[_0xe806ab(0x23d)][_0xe806ab(0x97)]),this[_0xe806ab(0x29f)][_0xe806ab(0x145)](_0x3207a9[_0xe806ab(0x23d)][_0xe806ab(0x2bf)]))[_0xe806ab(0xc8)](_0xd000e2[_0xe806ab(0x1da)](this[_0xe806ab(0x220)]))[_0xe806ab(0x185)](_0x390c27=>{const _0x19b3a9=_0xe806ab,_0x322297=_0x390c27[_0x19b3a9(0x266)](),_0x485246=this['_entities'][_0x19b3a9(0x1e9)](_0x322297);_0x485246&&(_0x485246['dispose'](),this['_entities'][_0x19b3a9(0x95)](_0x322297));});}async['_startSheetCollabCursor'](_0x5c97dd){const _0x4a8a2b=_0x258f24,_0x6e07bf=await this['_collabSessionService'][_0x4a8a2b(0x22e)](_0x5c97dd),_0x5769a6=this[_0x4a8a2b(0xfe)][_0x4a8a2b(0x205)](_0x4bfd5a,_0x5c97dd,_0x6e07bf);return _0x5769a6['init'](),_0x5769a6;}async[_0x258f24(0x186)](_0x250691){const _0x19a435=_0x258f24,_0x55ef77=await this[_0x19a435(0x2d4)][_0x19a435(0x22e)](_0x250691),_0xad136c=this['_injector'][_0x19a435(0x205)](_0x5cb765,_0x250691,_0x55ef77);return _0xad136c[_0x19a435(0x119)](),_0xad136c;}};_0x35f21e=_0x4e75cb([_0x13dbbf(0x0,_0x3207a9[_0x258f24(0x18d)]),_0x13dbbf(0x1,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x173)])),_0x13dbbf(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x1102c8[_0x258f24(0x249)]))],_0x35f21e);const _0x172baf=0x14,_0x211678=0xc8,_0x3ddd43=0x4,_0x5f55bf=0x5;function _0x3b98b3(_0x47023f,_0x35ede7){const _0x5e94e1=_0x258f24;let {radius:_0x442bfa,width:_0x115647,height:_0x110446}=_0x35ede7;_0x442bfa=_0x442bfa!=null?_0x442bfa:0x0,_0x115647=_0x115647!=null?_0x115647:0x1e,_0x110446=_0x110446!=null?_0x110446:0x1e;let _0x4d1b5e=0x0,_0xb89d83=0x0,_0x29755c=0x0;_0x4d1b5e=_0xb89d83=_0x29755c=Math[_0x5e94e1(0x1d9)](_0x442bfa,_0x115647/0x2,_0x110446/0x2),_0x47023f[_0x5e94e1(0x2ef)](),_0x47023f[_0x5e94e1(0x8d)](_0x4d1b5e,0x0),_0x47023f[_0x5e94e1(0x20a)](_0x115647-_0xb89d83,0x0),_0x47023f[_0x5e94e1(0x1f6)](_0x115647-_0xb89d83,_0xb89d83,_0xb89d83,Math['PI']*0x3/0x2,0x0,!0x1),_0x47023f[_0x5e94e1(0x20a)](_0x115647,_0x110446-_0x29755c),_0x47023f['arc'](_0x115647-_0x29755c,_0x110446-_0x29755c,_0x29755c,0x0,Math['PI']/0x2,!0x1),_0x47023f[_0x5e94e1(0x20a)](0x0,_0x110446),_0x47023f['lineTo'](0x0,_0x4d1b5e),_0x47023f[_0x5e94e1(0x1f6)](_0x4d1b5e,_0x4d1b5e,_0x4d1b5e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x47023f[_0x5e94e1(0xfd)](),_0x35ede7['fill']&&(_0x47023f['save'](),_0x47023f['fillStyle']=_0x35ede7[_0x5e94e1(0x81)],_0x35ede7[_0x5e94e1(0x2d7)]===_0x5e94e1(0x2c6)?_0x47023f[_0x5e94e1(0x81)](_0x5e94e1(0x2c6)):_0x47023f[_0x5e94e1(0x81)](),_0x47023f['restore']());}class _0x45a747 extends _0x2e888c[_0x258f24(0x219)]{constructor(_0x3de4da,_0x463e19){const _0x11ac79=_0x258f24;super(_0x3de4da,_0x463e19),_0x1a27fd(this,_0x11ac79(0xd1)),_0x1a27fd(this,_0x11ac79(0x216)),(this[_0x11ac79(0xd1)]=_0x463e19==null?void 0x0:_0x463e19['color'],this['text']=_0x463e19==null?void 0x0:_0x463e19[_0x11ac79(0x216)]);}static[_0x258f24(0x27e)](_0x8504a0,_0x3db03f){const _0x1f1717=_0x258f24,{text:_0x3e6e46,color:_0x4761eb}=_0x3db03f;_0x8504a0[_0x1f1717(0x144)](),_0x8504a0[_0x1f1717(0x1ae)]=_0x1f1717(0x2d9);const _0x47c608=_0x8504a0[_0x1f1717(0x177)](_0x3e6e46)['width'],_0x2a4374=Math[_0x1f1717(0x1d9)](_0x47c608+0x2*_0x3ddd43,_0x211678);_0x3b98b3(_0x8504a0,{'height':_0x172baf,'radius':0x4,'width':_0x2a4374,'fill':_0x4761eb}),_0x8504a0[_0x1f1717(0x2f5)]=_0x1f1717(0x85);const _0x558feb=_0x3ddd43,_0x42cff0=_0x172baf-_0x5f55bf,_0x895a81=_0x211678-0x2*_0x3ddd43;if(_0x47c608>_0x895a81){let _0x3af34c='',_0xfd07f=0x0;for(const _0x5cc5f1 of _0x3e6e46){const _0x56e3fc=_0x8504a0['measureText'](_0x5cc5f1)[_0x1f1717(0x23e)];if(_0xfd07f+_0x56e3fc<=_0x895a81-_0x8504a0['measureText']('...')[_0x1f1717(0x23e)])_0x3af34c+=_0x5cc5f1,_0xfd07f+=_0x56e3fc;else{_0x3af34c+=_0x1f1717(0x24d);break;}}_0x8504a0[_0x1f1717(0x192)](_0x3af34c,_0x558feb,_0x42cff0);}else _0x8504a0[_0x1f1717(0x192)](_0x3e6e46,_0x558feb,_0x42cff0);_0x8504a0['restore']();}[_0x258f24(0x307)](_0x2866bb){const _0x20fd41=_0x258f24;_0x45a747[_0x20fd41(0x27e)](_0x2866bb,this);}}const _0x37e56b='collab-text-anchor-',_0x582634=_0x258f24(0x1fd),_0x5c36e3=_0x258f24(0x278),_0xdef561=0x6,_0x5168c4=1.5,_0x3f2cb9=0x4,_0x1549b5=1.5,_0x1cee30=_0x258f24(0x1c3);class _0x113192{constructor(_0x4525e7,_0x135fba,_0x2edb9f,_0x34226a){const _0x14fc5d=_0x258f24;_0x1a27fd(this,_0x14fc5d(0x2a3),[]),_0x1a27fd(this,_0x14fc5d(0x27c),null),_0x1a27fd(this,_0x14fc5d(0x260),null),_0x1a27fd(this,_0x14fc5d(0x2de),null),_0x1a27fd(this,_0x14fc5d(0x2ec),null),_0x1a27fd(this,_0x14fc5d(0x226),null),(this[_0x14fc5d(0x10f)]=_0x4525e7,this[_0x14fc5d(0x202)]=_0x135fba,this['_docSkeleton']=_0x2edb9f,this[_0x14fc5d(0x113)]=_0x34226a,this[_0x14fc5d(0xd2)]());}set[_0x258f24(0x24c)](_0x2145a5){const _0x307ddd=_0x258f24;_0x2145a5?(this[_0x307ddd(0x2de)]&&this[_0x307ddd(0x2de)][_0x307ddd(0xcf)](),this['_textBubble']&&this[_0x307ddd(0x260)]['show']()):(this['_anchorDot']&&this[_0x307ddd(0x2de)][_0x307ddd(0x2fb)](),this[_0x307ddd(0x260)]&&this[_0x307ddd(0x260)][_0x307ddd(0xcf)]());}[_0x258f24(0x2f2)](){const _0x3111f2=_0x258f24;for(const _0x4b0c84 of this[_0x3111f2(0x2a3)])_0x4b0c84[_0x3111f2(0x2f2)]();this['_textBubble']&&this[_0x3111f2(0x260)]['dispose'](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this[_0x3111f2(0x27c)]&&this[_0x3111f2(0x27c)][_0x3111f2(0x2f2)](),this[_0x3111f2(0x226)]&&this[_0x3111f2(0x226)]();}[_0x258f24(0xd2)](){const _0x524d73=_0x258f24;var _0x322e00;const {_docSkeleton:_0x114fd5,_document:_0x5ba5db}=this,{color:_0x3d1100,name:_0xff0e3,ranges:_0x3b9b99}=this[_0x524d73(0x10f)],_0x8f51b=_0x5ba5db[_0x524d73(0x143)](),{docsLeft:_0xb59485,docsTop:_0x446435}=_0x8f51b,_0x69a5c7=new _0xcfa6df[(_0x524d73(0x274))](_0x8f51b,_0x114fd5);for(const {startOffset:_0x3edf5f,endOffset:_0x1c0062,rangeType:_0x1aff9c,segmentId:_0x47b992,segmentPage:_0x34d016,collapsed:_0xfa3ebd,isActive:_0x30dd43}of _0x3b9b99){const _0x2a9b7c=_0x114fd5[_0x524d73(0x294)](_0x3edf5f,!0x0,_0x47b992,_0x34d016);let _0x3f673a=_0x114fd5[_0x524d73(0x294)](_0x1c0062,!0x0,_0x47b992,_0x34d016);if(_0x3f673a==null&&(_0x3f673a=_0x114fd5[_0x524d73(0x294)](_0x1c0062-0x1,!0x1,_0x47b992,_0x34d016)),_0x30dd43){const {contentBoxPointGroup:_0x2d8d03}=_0x69a5c7[_0x524d73(0x238)](_0x3f673a,_0x3f673a);if(_0x2d8d03['length']===0x0)continue;this['_drawAnchor'](_0x3d1100,_0x2d8d03,_0xb59485,_0x446435,_0xff0e3),this['_eventUnsubscribe']=this[_0x524d73(0xe2)]();}if(_0x2a9b7c&&_0x3f673a){if(_0x1aff9c===_0x3207a9[_0x524d73(0x84)][_0x524d73(0x18c)]){const _0x4ab443=new _0xcfa6df[(_0x524d73(0x1df))](_0x8f51b,_0x114fd5),{pointGroup:_0x2b4548}=(_0x322e00=_0x4ab443[_0x524d73(0x238)](_0x2a9b7c,_0x3f673a))!=null?_0x322e00:{};if(_0x2b4548==null||_0x2b4548[_0x524d73(0x2ee)]===0x0)continue;this[_0x524d73(0x241)](_0x3d1100,_0x2b4548,_0xb59485,_0x446435);}else{if(!_0xfa3ebd){const {borderBoxPointGroup:_0x3f54a5}=_0x69a5c7[_0x524d73(0x238)](_0x2a9b7c,_0x3f673a);if(_0x3f54a5[_0x524d73(0x2ee)]===0x0)continue;this[_0x524d73(0xc2)](_0x3d1100,_0x3f54a5,_0xb59485,_0x446435);}}}}}[_0x258f24(0x236)](_0x5dd348,_0x588c3c,_0x182fc4,_0x47fecb,_0x26a432){const _0x51483d=_0x258f24,_0x10191e=this[_0x51483d(0x1be)](_0x588c3c),{left:_0x1b9899,top:_0x40e2f2,height:_0x241895}=_0x10191e,_0x59c064=this['_getScale'](),_0x37cc80=_0x1549b5/_0x59c064,_0x37972d=new _0x2e888c[(_0x51483d(0x1f3))](_0x37e56b+_0x3207a9[_0x51483d(0x310)][_0x51483d(0x1e8)](_0xdef561),{'left':_0x1b9899+_0x182fc4-_0x37cc80,'top':_0x40e2f2+_0x47fecb,'height':_0x241895,'width':_0x5168c4,'fill':_0x5dd348||_0x2e888c[_0x51483d(0x2bc)](_0x3207a9['COLORS'][_0x51483d(0x300)],0x0),'strokeWidth':_0x37cc80,'stroke':_0x1cee30,'evented':!0x0});this[_0x51483d(0x27c)]=_0x37972d,this[_0x51483d(0x202)]['addObject'](_0x37972d,_0xcfa6df[_0x51483d(0x22c)]);const _0x4329f7=new _0x2e888c[(_0x51483d(0x1f3))](_0x37e56b+_0x3207a9[_0x51483d(0x310)][_0x51483d(0x1e8)](_0xdef561),{'left':_0x1b9899+_0x182fc4-_0x37cc80,'top':_0x40e2f2+_0x47fecb-_0x3f2cb9/0x2,'height':_0x3f2cb9,'width':_0x3f2cb9,'fill':_0x5dd348||_0x2e888c[_0x51483d(0x2bc)](_0x3207a9[_0x51483d(0xb3)][_0x51483d(0x300)],0x0),'strokeWidth':0x0,'stroke':_0x5dd348||_0x2e888c['getColor'](_0x3207a9[_0x51483d(0xb3)][_0x51483d(0x300)],0x0),'evented':!0x1});this[_0x51483d(0x2de)]=_0x4329f7,this[_0x51483d(0x202)][_0x51483d(0x232)](_0x4329f7,_0xcfa6df[_0x51483d(0x22c)]);const _0x16dc50=new _0x45a747(_0x37e56b+_0x3207a9[_0x51483d(0x310)][_0x51483d(0x1e8)](_0xdef561),{'left':_0x1b9899+_0x182fc4-_0x37cc80,'top':_0x40e2f2+_0x47fecb-_0x172baf,'text':_0x26a432,'color':_0x5dd348});this['_textBubble']=_0x16dc50,this['_scene'][_0x51483d(0x232)](_0x16dc50,_0xcfa6df[_0x51483d(0x22c)]),this['_hover']=!0x1;}['_handleHover'](){const _0x5820bc=_0x258f24,_0x5a6b45=this[_0x5820bc(0x27c)][_0x5820bc(0x23b)]['subscribeEvent'](()=>{const _0x21d3f6=_0x5820bc;this[_0x21d3f6(0x24c)]=!0x0;}),_0x3ded21=this['_anchor'][_0x5820bc(0x250)][_0x5820bc(0xb7)](()=>{const _0x47f558=_0x5820bc;this[_0x47f558(0x2ec)]&&clearTimeout(this[_0x47f558(0x2ec)]),this[_0x47f558(0x2ec)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x57a4d9=_0x5820bc;_0x5a6b45[_0x57a4d9(0x207)](),_0x3ded21['unsubscribe']();};}[_0x258f24(0xc2)](_0x341c63,_0x27c550,_0x3594b7,_0x537bb5){const _0x133390=_0x258f24,_0x1d2564=new _0x3207a9['ColorKit'](_0x341c63)[_0x133390(0x2b7)](0.2)['toRgbString'](),_0x3bb9a2=new _0x2e888c[(_0x133390(0x1d8))](_0x582634+_0x3207a9[_0x133390(0x310)]['generateRandomId'](_0xdef561),{'pointsGroup':_0x27c550,'fill':_0x1d2564||_0x2e888c[_0x133390(0x2bc)](_0x3207a9['COLORS'][_0x133390(0x300)],0.2),'left':_0x3594b7,'top':_0x537bb5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x133390(0x2a3)][_0x133390(0x1ac)](_0x3bb9a2),this[_0x133390(0x202)]['addObject'](_0x3bb9a2,_0xcfa6df[_0x133390(0x22c)]);}[_0x258f24(0x241)](_0x349ce8,_0x1c1296,_0x150002,_0x30d1f1){const _0x59698f=_0x258f24,_0x5091a9=new _0x3207a9[(_0x59698f(0x2a5))](_0x349ce8)[_0x59698f(0x2b7)](0.2)[_0x59698f(0x312)](),_0x5f5884=new _0x2e888c['RegularPolygon'](_0x5c36e3+_0x3207a9[_0x59698f(0x310)]['generateRandomId'](_0xdef561),{'pointsGroup':_0x1c1296,'fill':_0x5091a9||_0x2e888c[_0x59698f(0x2bc)](_0x3207a9['COLORS'][_0x59698f(0x300)],0.2),'left':_0x150002,'top':_0x30d1f1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x59698f(0x2a3)][_0x59698f(0x1ac)](_0x5f5884),this[_0x59698f(0x202)]['addObject'](_0x5f5884,_0xcfa6df['TEXT_RANGE_LAYER_INDEX']);}[_0x258f24(0x1be)](_0x5e2bbe){const _0x3bbd09=_0x5e2bbe[0x0],_0x5c2235=_0x3bbd09[0x0],_0x4899d8=_0x3bbd09[0x2],{x:_0x4b3a65,y:_0x508bb6}=_0x5c2235,{x:_0x1bfcf6,y:_0x1d2c79}=_0x4899d8;return{'left':_0x4b3a65,'top':_0x508bb6,'width':_0x1bfcf6-_0x4b3a65,'height':_0x1d2c79-_0x508bb6};}[_0x258f24(0x139)](){const _0x2bcb6b=_0x258f24,{scaleX:_0x45eb5c,scaleY:_0x2a8098}=this[_0x2bcb6b(0x202)][_0x2bcb6b(0x2eb)]();return Math[_0x2bcb6b(0xeb)](_0x45eb5c,_0x2a8098);}}var _0x288b35=Object[_0x258f24(0x26f)],_0x415408=(_0x240b0f,_0x3f749f,_0x50d159,_0x3527be)=>{for(var _0x177512=_0x3527be>0x1?void 0x0:_0x3527be?_0x288b35(_0x3f749f,_0x50d159):_0x3f749f,_0x34aab3=_0x240b0f['length']-0x1,_0x5d917f;_0x34aab3>=0x0;_0x34aab3--)(_0x5d917f=_0x240b0f[_0x34aab3])&&(_0x177512=_0x5d917f(_0x177512)||_0x177512);return _0x177512;},_0x670455=(_0x54a8a3,_0x369d5c)=>(_0x7e928,_0x2a49f5)=>_0x369d5c(_0x7e928,_0x2a49f5,_0x54a8a3);let _0x137949=class extends _0x3207a9[_0x258f24(0x245)]{constructor(_0x3c67e6,_0x317901,_0x5a928f,_0x2d35cf,_0x4cc0e1){const _0x3770b1=_0x258f24;super(),_0x1a27fd(this,'_cursorShapes',[]),_0x1a27fd(this,'_cursors',[]),(this[_0x3770b1(0x2c8)]=_0x3c67e6,this[_0x3770b1(0x24b)]=_0x317901,this[_0x3770b1(0x134)]=_0x5a928f,this['_commandService']=_0x2d35cf,this[_0x3770b1(0x11b)]=_0x4cc0e1,this[_0x3770b1(0x154)]());}['_init'](){const _0x1eaa8e=_0x258f24,_0x4048fe=this[_0x1eaa8e(0x2c8)][_0x1eaa8e(0xfc)],_0x3d7a82=this[_0x1eaa8e(0x24b)];this[_0x1eaa8e(0x146)](_0xd000e2[_0x1eaa8e(0x1ab)]([this[_0x1eaa8e(0x134)][_0x1eaa8e(0x15c)](_0x4048fe),this['_themeService'][_0x1eaa8e(0x1bc)]])['pipe'](_0x3314d0[_0x1eaa8e(0xa5)](([_0x2e8e65,_0x8d3e0])=>({'skeleton':_0x3d7a82['getSkeleton'](),'cursors':[..._0x2e8e65['values']()]['flatMap'](_0x3601bf=>({..._0x3601bf,'color':_0x8d3e0[_0x3601bf[_0x1eaa8e(0xd1)]]}))})))['subscribe'](_0x58790e=>{const _0x5e5f50=_0x1eaa8e;if(this[_0x5e5f50(0x1e3)](),_0x58790e){const {skeleton:_0xf781d0,cursors:_0xd57b11}=_0x58790e;this['_updateCollabCursors'](_0xf781d0,_0xd57b11);}})),this['_initResize'](),this[_0x1eaa8e(0xa0)]();}[_0x258f24(0xfa)](_0x211aa8,_0x5cd4d3){const _0x389e8e=_0x258f24,{scene:_0x19eee0,mainComponent:_0x26eaaf}=this[_0x389e8e(0x2c8)],_0x37eaa5=_0x5cd4d3[_0x389e8e(0xa5)](_0x191c3c=>new _0x113192(_0x191c3c,_0x19eee0,_0x211aa8,_0x26eaaf));this[_0x389e8e(0x1b2)]=_0x37eaa5,this['_cursors']=_0x5cd4d3;}[_0x258f24(0x2fa)](){const _0x55dc01=_0x258f24;this[_0x55dc01(0x1e3)]();const {scene:_0x1a4138,mainComponent:_0x4f42d3}=this[_0x55dc01(0x2c8)],_0x2c98ad=this[_0x55dc01(0x24b)][_0x55dc01(0x1ce)](),_0x23d61e=this[_0x55dc01(0x9e)][_0x55dc01(0xa5)](_0x43fe08=>new _0x113192(_0x43fe08,_0x1a4138,_0x2c98ad,_0x4f42d3));this[_0x55dc01(0x1b2)]=_0x23d61e;}[_0x258f24(0x1e3)](){const _0x48eada=_0x258f24;this[_0x48eada(0x1b2)][_0x48eada(0x19c)](_0x44255b=>_0x44255b[_0x48eada(0x2f2)]()),this['_cursorShapes']=[];}[_0x258f24(0xa0)](){const _0x58f2aa=_0x258f24,_0x2685b1=[_0xcfa6df[_0x58f2aa(0x21b)]['id']];this[_0x58f2aa(0x146)](this['_commandService'][_0x58f2aa(0x287)](_0x476fb5=>{const _0x56af37=_0x58f2aa;_0x2685b1['includes'](_0x476fb5['id'])&&_0x476fb5[_0x56af37(0x1d0)][_0x56af37(0xfc)]===this[_0x56af37(0x2c8)][_0x56af37(0xfc)]&&this[_0x56af37(0x2fa)]();}));}['_initResize'](){const _0x265038=_0x258f24;this[_0x265038(0x146)](_0x3207a9[_0x265038(0x135)](this[_0x265038(0x2c8)]['engine'][_0x265038(0x9f)])[_0x265038(0xc8)](_0x3314d0[_0x265038(0x88)](_0x41fb07=>_0x41fb07[_0x265038(0x2e1)]===_0x2e888c[_0x265038(0x30a)][_0x265038(0xb5)]),_0x3314d0['throttleTime'](0x10))[_0x265038(0x185)](()=>{const _0x46f642=_0x265038;this[_0x46f642(0x2fa)]();}));}};_0x137949=_0x415408([_0x670455(0x1,_0x3207a9[_0x258f24(0x1cc)](_0xca2427[_0x258f24(0xb2)])),_0x670455(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x35f21e)),_0x670455(0x3,_0x3207a9[_0x258f24(0x105)]),_0x670455(0x4,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x172)]))],_0x137949);const _0x1d56bd=0x1,_0x40d5ed=1.5;class _0x395e33 extends _0x2e888c[_0x258f24(0x219)]{constructor(_0x14322c,_0x5c065e){const _0x29e07d=_0x258f24;super(_0x14322c,_0x5c065e),_0x1a27fd(this,_0x29e07d(0x24e)),_0x1a27fd(this,_0x29e07d(0x1d3),!0x1),_0x1a27fd(this,_0x29e07d(0x255)),_0x1a27fd(this,_0x29e07d(0x221),''),_0x1a27fd(this,_0x29e07d(0x293),_0x29e07d(0x11c)),_0x1a27fd(this,_0x29e07d(0x23f)),(_0x5c065e&&this[_0x29e07d(0x248)](_0x5c065e),this['onPointerEnter$'][_0x29e07d(0xb7)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x29e07d(0x250)][_0x29e07d(0xb7)](()=>this[_0x29e07d(0x248)]({'hovered':!0x1})));}[_0x258f24(0x248)](_0x4a7ed2){const _0x2feda2=_0x258f24;var _0x495ed4,_0x4218e9,_0x3917bc,_0xeed890,_0x1f2e41,_0x29cf6d;this[_0x2feda2(0x24e)]=(_0x495ed4=_0x4a7ed2[_0x2feda2(0xd1)])!=null?_0x495ed4:this['_color'],this[_0x2feda2(0x1d3)]=(_0x4218e9=_0x4a7ed2['hovered'])!=null?_0x4218e9:this[_0x2feda2(0x1d3)],this[_0x2feda2(0x255)]=(_0x3917bc=_0x4a7ed2[_0x2feda2(0xc9)])!=null?_0x3917bc:this[_0x2feda2(0x255)],this[_0x2feda2(0x221)]=(_0xeed890=_0x4a7ed2[_0x2feda2(0x178)])!=null?_0xeed890:this[_0x2feda2(0x221)],this[_0x2feda2(0x293)]=(_0x1f2e41=_0x4a7ed2['labelPosition'])!=null?_0x1f2e41:this[_0x2feda2(0x293)],this[_0x2feda2(0x23f)]=(_0x29cf6d=_0x4a7ed2[_0x2feda2(0x227)])!=null?_0x29cf6d:this[_0x2feda2(0x23f)],this[_0x2feda2(0x133)]({'width':_0x4a7ed2[_0x2feda2(0x23e)],'height':_0x4a7ed2[_0x2feda2(0x15f)]});}[_0x258f24(0x246)](_0x1b22b5){const _0x461d93=_0x258f24,{row:_0x402c59,column:_0x6a87dd}=_0x1b22b5;if(_0x402c59>=this[_0x461d93(0x255)][_0x461d93(0x10b)]&&_0x402c59<=this[_0x461d93(0x255)][_0x461d93(0x148)]&&_0x6a87dd>=this[_0x461d93(0x255)][_0x461d93(0x1eb)]&&_0x6a87dd<=this[_0x461d93(0x255)][_0x461d93(0x7a)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x461d93(0x248)]({'hovered':!0x1});}[_0x258f24(0x18f)](_0x503743){return!0x1;}[_0x258f24(0x307)](_0x4d26ea){const _0x2010a6=_0x258f24;_0x2e888c[_0x2010a6(0x1f3)][_0x2010a6(0x27e)](_0x4d26ea,{'width':this[_0x2010a6(0x23e)],'height':this[_0x2010a6(0x15f)],'strokeWidth':_0x40d5ed,'stroke':this[_0x2010a6(0x24e)],'evented':!0x1,'fill':this[_0x2010a6(0x23f)]}),this['_hovered']&&(_0x4d26ea[_0x2010a6(0x144)](),_0x4d26ea[_0x2010a6(0x261)](0x1,0x0,0x0,0x1,this[_0x2010a6(0x23e)],this[_0x2010a6(0x293)]===_0x2010a6(0xec)?0x0:-0x14),_0x45a747['drawWith'](_0x4d26ea,{'text':this[_0x2010a6(0x221)],'color':this[_0x2010a6(0x24e)]}),_0x4d26ea['restore']());}}var _0x57a2bf=Object['getOwnPropertyDescriptor'],_0x2c145b=(_0x303d74,_0x18105a,_0x2d740c,_0x1ee099)=>{const _0x38c432=_0x258f24;for(var _0x4a9ab8=_0x1ee099>0x1?void 0x0:_0x1ee099?_0x57a2bf(_0x18105a,_0x2d740c):_0x18105a,_0x148e42=_0x303d74[_0x38c432(0x2ee)]-0x1,_0x228760;_0x148e42>=0x0;_0x148e42--)(_0x228760=_0x303d74[_0x148e42])&&(_0x4a9ab8=_0x228760(_0x4a9ab8)||_0x4a9ab8);return _0x4a9ab8;},_0x1132da=(_0x492dbb,_0x25688a)=>(_0x20f624,_0x31e0ea)=>_0x25688a(_0x20f624,_0x31e0ea,_0x492dbb);const _0x2c6e6f=0x1389;let _0x445646=class extends _0x3207a9[_0x258f24(0x245)]{constructor(_0x5d3be3,_0x3cfe0b,_0xf85e08,_0x597b99){const _0xe277d=_0x258f24;super(),_0x1a27fd(this,'_cursors',new Set()),_0x1a27fd(this,_0xe277d(0x2fd),null),(this[_0xe277d(0x2c8)]=_0x5d3be3,this[_0xe277d(0xbd)]=_0x3cfe0b,this['_collabCursorController']=_0xf85e08,this['_themeService']=_0x597b99,this[_0xe277d(0x154)]());}[_0x258f24(0x154)](){const _0x51e4ed=_0x258f24;this[_0x51e4ed(0xbd)]['currentSkeleton$'][_0x51e4ed(0xc8)](_0x3314d0[_0x51e4ed(0x1da)](this['dispose$']),_0x3314d0[_0x51e4ed(0x12c)](_0x3237bd=>{const _0x77d9d8=_0x51e4ed;if(_0x3237bd){const _0x14d0ee=_0x3237bd['sheetId'];return _0xd000e2[_0x77d9d8(0x1ab)](this['_collabCursorController'][_0x77d9d8(0x15c)](this[_0x77d9d8(0x2c8)][_0x77d9d8(0xfc)]),this[_0x77d9d8(0x11b)][_0x77d9d8(0x1bc)])[_0x77d9d8(0xc8)](_0x3314d0[_0x77d9d8(0xa5)](([_0x268997,_0x6fa1c3])=>{const _0x33db1b=new Map();return _0x268997['forEach']((_0x128710,_0x150a2d)=>{const _0x449437=_0x201c;if(_0x128710['sheetID']===_0x14d0ee){const _0x39d6f4={..._0x128710};_0x39d6f4[_0x449437(0xd1)]=_0x6fa1c3[_0x128710[_0x449437(0xd1)]],_0x33db1b['set'](_0x150a2d,_0x39d6f4);}}),{'skeleton':_0x3237bd,'cursors':_0x33db1b};}));}return _0xd000e2['of']({'skeleton':null,'cursors':new Map()});}))[_0x51e4ed(0x185)](({skeleton:_0x41a6ac,cursors:_0x33b1d7})=>{const _0x1f3ce0=_0x51e4ed;this[_0x1f3ce0(0x1e3)](),_0x41a6ac&&this[_0x1f3ce0(0xfa)](_0x41a6ac,_0x33b1d7);}),this[_0x51e4ed(0xbd)]['currentSkeleton$'][_0x51e4ed(0x185)](_0x441979=>{const _0xbc19c5=_0x51e4ed;if(_0x441979==null)return;const {skeleton:_0xd93ac}=_0x441979,{scene:_0x2e0c7c}=this[_0xbc19c5(0x2c8)];_0x2e0c7c['onPointerMove$'][_0xbc19c5(0xb7)](_0x3207a9[_0xbc19c5(0x212)](_0x3dec9b=>{const _0x2329f1=_0xbc19c5;var _0x51c5d5,_0xf403a4;const {offsetX:_0x1641d2,offsetY:_0x4b8fad}=_0x3dec9b,{x:_0x203939,y:_0x536f54}=_0x2e0c7c[_0x2329f1(0x198)](_0x2e888c[_0x2329f1(0x190)][_0x2329f1(0x1d7)]([_0x1641d2,_0x4b8fad])),{scaleX:_0x42b7a2,scaleY:_0x2b88b1}=_0x2e0c7c[_0x2329f1(0x2eb)](),_0x5c12fd=_0x2e0c7c['getViewport'](_0x2e888c[_0x2329f1(0xb1)]['VIEW_MAIN']),_0x29b69a=_0x2e0c7c['getVpScrollXYInfoByPosToVp'](_0x2e888c[_0x2329f1(0x190)][_0x2329f1(0x1d7)]([_0x203939,_0x536f54]),_0x5c12fd),_0x2dd371=_0xd93ac['getCellPositionByOffset'](_0x1641d2,_0x4b8fad,_0x42b7a2,_0x2b88b1,_0x29b69a);((_0x51c5d5=this[_0x2329f1(0x2fd)])==null?void 0x0:_0x51c5d5[_0x2329f1(0x127)])===_0x2dd371['column']&&((_0xf403a4=this[_0x2329f1(0x2fd)])==null?void 0x0:_0xf403a4[_0x2329f1(0xdc)])===_0x2dd371[_0x2329f1(0xdc)]||this[_0x2329f1(0x9e)][_0x2329f1(0x19c)](_0x57ff88=>{const _0x38dda5=_0x2329f1;_0x57ff88[_0x38dda5(0x246)](_0x2dd371);});},0x64));});}[_0x258f24(0xfa)](_0x2fb26c,_0xc7093f){const _0x3a5334=_0x258f24;var _0x3eddb9;const _0x3e3e9d=(_0x3eddb9=this[_0x3a5334(0xbd)][_0x3a5334(0xf6)]())==null?void 0x0:_0x3eddb9[_0x3a5334(0x2d1)];if(!_0x3e3e9d)return;const _0x4b0f82=this[_0x3a5334(0x2a7)]();if(!_0x4b0f82)return;this[_0x3a5334(0x9e)]['forEach'](_0x63b653=>{_0x63b653['makeDirty']();});const {scene:_0x3a5c69}=_0x4b0f82,_0x294df4=_0x37e7e0(Array[_0x3a5334(0x2cd)](_0xc7093f['values']()))['map'](_0x4dd545=>{const _0x220178=_0x3a5334,{color:_0x21ec15,range:_0x52caf7,name:_0x1b9584,selection:_0x40d835,sheetID:_0x3e250f}=_0x4dd545,{startColumn:_0x4e0035,startRow:_0x3e515b,endColumn:_0x29209c,endRow:_0x4a5c3c}=_0x52caf7,_0x9a81d7=_0x5f0a59[_0x220178(0x137)](_0x3e515b,_0x4e0035,_0x3a5c69,_0x3e3e9d),_0x5701e7=_0x5f0a59[_0x220178(0x137)](_0x4a5c3c,_0x29209c,_0x3a5c69,_0x3e3e9d),{columnHeaderHeightAndMarginTop:_0x20c916}=_0x3e3e9d,{startX:_0x4bfafb,startY:_0x2c78b6}=_0x9a81d7,{endX:_0x957e4d,endY:_0x5198a1}=_0x5701e7,_0x57924b=_0x957e4d-_0x4bfafb,_0x41f4f5=_0x5198a1-_0x2c78b6,_0x3b0b9c={'labelPosition':_0x2c78b6-_0x20c916>=_0x172baf?_0x220178(0x11c):'bottom','sheetID':_0x3e250f,'range':_0x52caf7,'color':_0x21ec15,'name':_0x1b9584,'selection':_0x40d835,'left':_0x4bfafb,'top':_0x2c78b6,'width':_0x57924b,'height':_0x41f4f5,'evented':!0x1,'zIndex':_0x2c6e6f};return new _0x395e33(_0x1b9584,_0x3b0b9c);});_0x3a5c69[_0x3a5334(0x94)](_0x294df4,_0x1d56bd),this['_cursors']=new Set(_0x294df4);}[_0x258f24(0x1e3)](){const _0x10bdc9=_0x258f24;var _0x1ea043;(_0x1ea043=this[_0x10bdc9(0x9e)])==null||_0x1ea043[_0x10bdc9(0x19c)](_0x329a95=>_0x329a95[_0x10bdc9(0x2f2)]());}[_0x258f24(0x2a7)](){const _0x393faa=_0x258f24;return _0x5f0a59[_0x393faa(0x1dc)](this['_context'][_0x393faa(0x2c3)],this[_0x393faa(0x2c8)]);}};_0x445646=_0x2c145b([_0x1132da(0x1,_0x3207a9['Inject'](_0x5f0a59[_0x258f24(0x90)])),_0x1132da(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x35f21e)),_0x1132da(0x3,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9['ThemeService']))],_0x445646);function _0x37e7e0(_0x2c9df0){const _0x9ff6e1=_0x258f24,_0x53ceaf=new Map();return _0x2c9df0['forEach'](_0x990ccc=>{const _0x151895=_0x201c;if(_0x53ceaf[_0x151895(0x17b)](_0x990ccc['selection'])){const _0x158f18=_0x53ceaf[_0x151895(0x1e9)](_0x990ccc[_0x151895(0x2c5)]);_0x158f18[_0x151895(0x178)]+=',\x20'+_0x990ccc[_0x151895(0x178)];}else _0x53ceaf['set'](_0x990ccc[_0x151895(0x2c5)],_0x990ccc);}),Array[_0x9ff6e1(0x2cd)](_0x53ceaf[_0x9ff6e1(0x170)]());}var _0x1eba68=function(){const _0x113a2a=_0x258f24;return _0x1eba68=Object[_0x113a2a(0x7e)]||function(_0x5d8523){const _0x1e708c=_0x113a2a;for(var _0x4e97b5,_0xba49b1=0x1,_0x2915a9=arguments[_0x1e708c(0x2ee)];_0xba49b1<_0x2915a9;_0xba49b1++){_0x4e97b5=arguments[_0xba49b1];for(var _0x362d8d in _0x4e97b5)Object[_0x1e708c(0xde)][_0x1e708c(0xee)]['call'](_0x4e97b5,_0x362d8d)&&(_0x5d8523[_0x362d8d]=_0x4e97b5[_0x362d8d]);}return _0x5d8523;},_0x1eba68[_0x113a2a(0x11a)](this,arguments);},_0x17233f=function(_0x281f67,_0x41f137){const _0x12260e=_0x258f24;var _0x29bd12={};for(var _0x31f803 in _0x281f67)Object[_0x12260e(0xde)][_0x12260e(0xee)][_0x12260e(0x1dd)](_0x281f67,_0x31f803)&&_0x41f137[_0x12260e(0xac)](_0x31f803)<0x0&&(_0x29bd12[_0x31f803]=_0x281f67[_0x31f803]);if(_0x281f67!=null&&typeof Object[_0x12260e(0x210)]==_0x12260e(0x9c)){for(var _0x2e2c93=0x0,_0x31f803=Object[_0x12260e(0x210)](_0x281f67);_0x2e2c93<_0x31f803['length'];_0x2e2c93++)_0x41f137[_0x12260e(0xac)](_0x31f803[_0x2e2c93])<0x0&&Object['prototype'][_0x12260e(0xca)][_0x12260e(0x1dd)](_0x281f67,_0x31f803[_0x2e2c93])&&(_0x29bd12[_0x31f803[_0x2e2c93]]=_0x281f67[_0x31f803[_0x2e2c93]]);}return _0x29bd12;},_0x4f9a87=_0x470d28[_0x258f24(0x211)](function(_0x389803,_0x23a66c){const _0x133d88=_0x258f24;var _0x4fe8ef=_0x389803['icon'],_0x41a358=_0x389803['id'],_0x4b35ba=_0x389803[_0x133d88(0x13e)],_0x3cc4c3=_0x389803[_0x133d88(0x100)],_0x3ac4c9=_0x17233f(_0x389803,[_0x133d88(0x282),'id',_0x133d88(0x13e),_0x133d88(0x100)]),_0x597b65='univerjs-icon\x20univerjs-icon-'['concat'](_0x41a358,'\x20')['concat'](_0x4b35ba||'')[_0x133d88(0x21f)](),_0x3b46d7=_0x470d28['useRef']('_'[_0x133d88(0xdb)](_0x4863c3()));return _0x403c11(_0x4fe8ef,''[_0x133d88(0xdb)](_0x41a358),{'defIds':_0x4fe8ef[_0x133d88(0x1c8)],'idSuffix':_0x3b46d7[_0x133d88(0x2ff)]},_0x1eba68({'ref':_0x23a66c,'className':_0x597b65},_0x3ac4c9),_0x3cc4c3);});function _0x403c11(_0x33108e,_0x5685a8,_0x596ee3,_0xcee1b7,_0x502e41){const _0x7e99b0=_0x258f24;return _0x470d28[_0x7e99b0(0x26c)](_0x33108e['tag'],_0x1eba68(_0x1eba68({'key':_0x5685a8},_0x15d5b4(_0x33108e,_0x596ee3,_0x502e41)),_0xcee1b7),(_0xf73f9c(_0x33108e,_0x596ee3)[_0x7e99b0(0x228)]||[])[_0x7e99b0(0xa5)](function(_0x3ba632,_0x1db7ae){const _0x40e06f=_0x7e99b0;return _0x403c11(_0x3ba632,''['concat'](_0x5685a8,'-')[_0x40e06f(0xdb)](_0x33108e[_0x40e06f(0x2df)],'-')[_0x40e06f(0xdb)](_0x1db7ae),_0x596ee3,void 0x0,_0x502e41);}));}function _0x15d5b4(_0x2f1ec0,_0x29c3f1,_0x196145){const _0x3d8dc5=_0x258f24;var _0xc074b5=_0x1eba68({},_0x2f1ec0['attrs']);_0x196145!=null&&_0x196145[_0x3d8dc5(0x87)]&&_0xc074b5[_0x3d8dc5(0x81)]===_0x3d8dc5(0x87)&&(_0xc074b5[_0x3d8dc5(0x81)]=_0x196145['colorChannel1']),_0x2f1ec0[_0x3d8dc5(0x2df)]==='mask'&&_0xc074b5['id']&&(_0xc074b5['id']=_0xc074b5['id']+_0x29c3f1[_0x3d8dc5(0x2c1)]),Object[_0x3d8dc5(0x203)](_0xc074b5)[_0x3d8dc5(0x19c)](function(_0x297661){const _0x1228bd=_0x3d8dc5;var _0x30a899=_0x297661[0x0],_0xa6a8e3=_0x297661[0x1];_0x30a899===_0x1228bd(0x1f5)&&typeof _0xa6a8e3==_0x1228bd(0x18e)&&(_0xc074b5[_0x30a899]=_0xa6a8e3['replace'](/url\(#(.*)\)/,_0x1228bd(0x2b8)['concat'](_0x29c3f1['idSuffix'],')')));});var _0x26ac70=_0x29c3f1[_0x3d8dc5(0x1c8)];return!_0x26ac70||_0x26ac70[_0x3d8dc5(0x2ee)]===0x0||(_0x2f1ec0[_0x3d8dc5(0x2df)]==='use'&&_0xc074b5['xlink:href']&&(_0xc074b5['xlink:href']=_0xc074b5['xlink:href']+_0x29c3f1['idSuffix']),Object['entries'](_0xc074b5)[_0x3d8dc5(0x19c)](function(_0x4d277e){const _0x2378db=_0x3d8dc5;var _0xd189e5=_0x4d277e[0x0],_0x352549=_0x4d277e[0x1];typeof _0x352549==_0x2378db(0x18e)&&(_0xc074b5[_0xd189e5]=_0x352549[_0x2378db(0x2af)](/url\(#(.*)\)/,'url(#$1'[_0x2378db(0xdb)](_0x29c3f1[_0x2378db(0x2c1)],')')));})),_0xc074b5;}function _0xf73f9c(_0x1a42ee,_0x11fc7c){const _0x2d2c92=_0x258f24;var _0x23e3c5,_0x56fc10=_0x11fc7c[_0x2d2c92(0x1c8)];return!_0x56fc10||_0x56fc10[_0x2d2c92(0x2ee)]===0x0?_0x1a42ee:_0x1a42ee[_0x2d2c92(0x2df)]==='defs'&&(!((_0x23e3c5=_0x1a42ee[_0x2d2c92(0x228)])===null||_0x23e3c5===void 0x0)&&_0x23e3c5[_0x2d2c92(0x2ee)])?_0x1eba68(_0x1eba68({},_0x1a42ee),{'children':_0x1a42ee['children']['map'](function(_0x2414a2){const _0xf02bd0=_0x2d2c92;return typeof _0x2414a2[_0xf02bd0(0xd5)]['id']==_0xf02bd0(0x18e)&&_0x56fc10&&_0x56fc10['indexOf'](_0x2414a2[_0xf02bd0(0xd5)]['id'])>-0x1?_0x1eba68(_0x1eba68({},_0x2414a2),{'attrs':_0x1eba68(_0x1eba68({},_0x2414a2[_0xf02bd0(0xd5)]),{'id':_0x2414a2[_0xf02bd0(0xd5)]['id']+_0x11fc7c['idSuffix']})}):_0x2414a2;})}):_0x1a42ee;}function _0x4863c3(){const _0x1971e8=_0x258f24;return Math[_0x1971e8(0x2d5)]()[_0x1971e8(0x2b2)](0x24)[_0x1971e8(0xd4)](0x2,0x8);}_0x4f9a87[_0x258f24(0xaf)]='UniverIcon';var _0x1f84b8={'tag':_0x258f24(0x296),'attrs':{'fill':_0x258f24(0x1f9),'viewBox':_0x258f24(0x1e0),'width':_0x258f24(0x208),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x258f24(0x8c),'attrs':{'stroke':'currentColor','d':_0x258f24(0x25f),'strokeLinecap':_0x258f24(0x279),'strokeLinejoin':_0x258f24(0x279),'strokeWidth':1.2}}]},{'tag':_0x258f24(0xbf),'attrs':{},'children':[{'tag':_0x258f24(0x235),'attrs':{'id':_0x258f24(0xbc)},'children':[{'tag':_0x258f24(0x8c),'attrs':{'fill':_0x258f24(0x16b),'d':_0x258f24(0x130)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x5e9b56=_0x470d28[_0x258f24(0x211)](function(_0x2c4dc3,_0x31b835){const _0x56a2b8=_0x258f24;return _0x470d28[_0x56a2b8(0x26c)](_0x4f9a87,Object[_0x56a2b8(0x7e)]({},_0x2c4dc3,{'id':'off-line-single','ref':_0x31b835,'icon':_0x1f84b8}));});_0x5e9b56[_0x258f24(0xaf)]=_0x258f24(0x223);var _0x894c88={'tag':_0x258f24(0x296),'attrs':{'fill':_0x258f24(0x1f9),'viewBox':_0x258f24(0xef),'width':_0x258f24(0x208),'height':_0x258f24(0x208)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x258f24(0x8c),'attrs':{'stroke':_0x258f24(0x217),'d':_0x258f24(0x1b0),'strokeLinecap':_0x258f24(0x279),'strokeLinejoin':_0x258f24(0x279),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x258f24(0x235),'attrs':{'id':_0x258f24(0x189)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x258f24(0xbb)}}]}]}],'defIds':[_0x258f24(0x189)]},_0x29b3d7=_0x470d28['forwardRef'](function(_0x3a9414,_0x56c484){const _0x491691=_0x258f24;return _0x470d28[_0x491691(0x26c)](_0x4f9a87,Object[_0x491691(0x7e)]({},_0x3a9414,{'id':_0x491691(0x2e3),'ref':_0x56c484,'icon':_0x894c88}));});_0x29b3d7[_0x258f24(0xaf)]=_0x258f24(0x176);function _0x3f6f79(_0x554618){const _0x578892=_0x258f24;switch(_0x554618){case _0x1102c8[_0x578892(0xd6)]['OFFLINE']:return _0x578892(0x141);case _0x1102c8['CollaborationStatus'][_0x578892(0x204)]:return _0x578892(0x1f4);case _0x1102c8[_0x578892(0xd6)][_0x578892(0x1a5)]:return _0x578892(0x1f0);case _0x1102c8['CollaborationStatus']['NOT_COLLAB']:return _0x578892(0x29d);case _0x1102c8['CollaborationStatus'][_0x578892(0x182)]:case _0x1102c8[_0x578892(0xd6)][_0x578892(0x264)]:return _0x578892(0xe3);case _0x1102c8[_0x578892(0xd6)][_0x578892(0x122)]:case _0x1102c8['CollaborationStatus'][_0x578892(0x153)]:return _0x578892(0x251);}}function _0x113c68(_0x537bc3){const _0x1bd37b=_0x258f24,{status$:_0x2cee91}=_0x537bc3,_0x1ea84c=_0x38cf24[_0x1bd37b(0xe0)](_0x2cee91,_0x1102c8['CollaborationStatus'][_0x1bd37b(0x7d)]),_0x43066d=_0x38cf24[_0x1bd37b(0x82)](_0x3207a9[_0x1bd37b(0x15b)]),_0x5aa69a=_0x38cf24['useDependency'](_0x1102c8['CollaborationSessionService']),_0x53f849=_0x1ea84c!==_0x1102c8[_0x1bd37b(0xd6)]['OFFLINE'],_0x5cac3c=_0x43066d['t'](_0x3f6f79(_0x1ea84c)),_0x325850=_0x53f849?_0x23e649[_0x1bd37b(0x224)](_0x29b3d7,{}):_0x23e649[_0x1bd37b(0x224)](_0x5e9b56,{}),_0x28f664=_0x470d28[_0x1bd37b(0x183)](()=>{const _0x10e3c7=_0x1bd37b;_0x53f849||_0x5aa69a[_0x10e3c7(0x2c4)]();},[_0x53f849,_0x5aa69a]);function _0x7e4829(){const _0xc1874=_0x1bd37b;return _0x23e649[_0xc1874(0x1af)](_0xc1874(0x15a),{'className':_0xc1874(0x303),'onClick':_0x28f664,'children':[_0x23e649['jsx'](_0xc1874(0x15a),{'className':_0x28722d['clsx']('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x53f849?_0xc1874(0x1a8):'univer-text-red-500'),'children':_0x325850}),_0x23e649[_0xc1874(0x224)](_0xc1874(0x15a),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x5cac3c})]});}return _0x53f849?_0x7e4829():_0x23e649[_0x1bd37b(0x224)](_0x28722d['Tooltip'],{'title':_0x43066d['t']('collab-client.tooltip.reconnect'),'children':_0x7e4829()});}var _0x5acc5f=Object[_0x258f24(0x26f)],_0x23acfb=(_0x1d9c1d,_0x36cb08,_0xf110a0,_0x2c3d80)=>{const _0x3b6ba2=_0x258f24;for(var _0x573b74=_0x2c3d80>0x1?void 0x0:_0x2c3d80?_0x5acc5f(_0x36cb08,_0xf110a0):_0x36cb08,_0x3c69f3=_0x1d9c1d[_0x3b6ba2(0x2ee)]-0x1,_0x3751af;_0x3c69f3>=0x0;_0x3c69f3--)(_0x3751af=_0x1d9c1d[_0x3c69f3])&&(_0x573b74=_0x3751af(_0x573b74)||_0x573b74);return _0x573b74;},_0xc4acb1=(_0xaf14c7,_0x4b24ea)=>(_0x355e58,_0x3a4c6f)=>_0x4b24ea(_0x355e58,_0x3a4c6f,_0xaf14c7);_0x3bccaa[_0x258f24(0x28b)]=class extends _0x3207a9[_0x258f24(0x17e)]{constructor(_0x5f176b,_0x3021b5,_0x1cb3ce,_0xcdb13b){const _0x2c15f3=_0x258f24;super(),_0x1a27fd(this,_0x2c15f3(0x1c5),new _0xd000e2[(_0x2c15f3(0x1ed))](_0x1102c8['CollaborationStatus'][_0x2c15f3(0x7d)])),(this['_univerInstanceService']=_0x5f176b,this[_0x2c15f3(0xfe)]=_0x3021b5,this[_0x2c15f3(0x194)]=_0x1cb3ce,this[_0x2c15f3(0x19f)]=_0xcdb13b,this[_0x2c15f3(0x2cf)](),this['_initStatusListener']());}[_0x258f24(0x188)](){const _0x269d64=_0x258f24;this[_0x269d64(0x146)](this[_0x269d64(0x29f)]['focused$'][_0x269d64(0xc8)](_0xd000e2[_0x269d64(0x12c)](()=>{const _0x13d2d6=_0x269d64,_0xec94a6=this['_univerInstanceService'][_0x13d2d6(0xf1)]();return _0xec94a6?this[_0x13d2d6(0x194)][_0x13d2d6(0xdf)](_0xec94a6[_0x13d2d6(0x266)]()):_0xd000e2['of'](null);}),_0xd000e2[_0x269d64(0x12c)](_0x3b2c2b=>_0x3b2c2b?_0x3b2c2b[_0x269d64(0xbe)]:_0xd000e2['of'](_0x1102c8[_0x269d64(0xd6)][_0x269d64(0x7d)])))[_0x269d64(0x185)](_0xa6bdcf=>{const _0x3af3f1=_0x269d64;this[_0x3af3f1(0x1c5)][_0x3af3f1(0x14b)](_0xa6bdcf);}));}[_0x258f24(0x2cf)](){const _0x169732=_0x258f24;this[_0x169732(0x146)](this['_uiPartsService'][_0x169732(0x30f)](_0x38cf24[_0x169732(0xd7)]['HEADER_MENU'],()=>_0x38cf24[_0x169732(0x118)](_0x439de4({'status$':this[_0x169732(0x1c5)]['asObservable']()}),this[_0x169732(0xfe)])));}},_0x3bccaa[_0x258f24(0x28b)]=_0x23acfb([_0xc4acb1(0x0,_0x3207a9[_0x258f24(0x18d)]),_0xc4acb1(0x1,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9['Injector'])),_0xc4acb1(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x1102c8[_0x258f24(0x242)])),_0xc4acb1(0x3,_0x38cf24['IUIPartsService'])],_0x3bccaa[_0x258f24(0x28b)]);function _0x439de4(_0x2131ee){const {status$:_0x401156}=_0x2131ee;return function(){const _0x42efe3=_0x201c;return _0x23e649[_0x42efe3(0x224)](_0x113c68,{'status$':_0x401156});};}var _0x22290f=Object[_0x258f24(0x26f)],_0x472811=(_0x202292,_0x24d6ba,_0x166da4,_0x582540)=>{const _0x1db8f3=_0x258f24;for(var _0xe25dee=_0x582540>0x1?void 0x0:_0x582540?_0x22290f(_0x24d6ba,_0x166da4):_0x24d6ba,_0x4d4139=_0x202292[_0x1db8f3(0x2ee)]-0x1,_0x30fb6c;_0x4d4139>=0x0;_0x4d4139--)(_0x30fb6c=_0x202292[_0x4d4139])&&(_0xe25dee=_0x30fb6c(_0xe25dee)||_0xe25dee);return _0xe25dee;},_0x16d826=(_0x1a6480,_0x37c96c)=>(_0x4f2949,_0x51d569)=>_0x37c96c(_0x4f2949,_0x51d569,_0x1a6480);let _0x22d051=class extends _0x3207a9[_0x258f24(0x17e)]{constructor(_0x457a99,_0x453dd9,_0x3964a2,_0x2b4233,_0x54e119,_0x357fed){const _0x196217=_0x258f24;super(),this['_beforeCloseService']=_0x457a99,this[_0x196217(0x140)]=_0x453dd9,this['_collaborationUIEventService']=_0x3964a2,this['_messageService']=_0x2b4233,this['_notificationService']=_0x54e119,this[_0x196217(0x28e)]=_0x357fed,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x258f24(0x2e8)](){const _0xce8506=_0x258f24;this[_0xce8506(0x146)](this['_beforeCloseService'][_0xce8506(0x2db)](()=>{const _0xa2a3af=_0xce8506;if(this[_0xa2a3af(0x140)][_0xa2a3af(0x298)][_0xa2a3af(0x106)])return this[_0xa2a3af(0x28e)]['t'](_0xa2a3af(0xed));}));}[_0x258f24(0xe7)](){const _0x3a6776=_0x258f24;this[_0x3a6776(0x146)](this[_0x3a6776(0xf9)][_0x3a6776(0x180)][_0x3a6776(0x185)](_0x2db256=>{const _0x59bbbc=_0x3a6776;_0x2db256['id']===_0x1102c8[_0x59bbbc(0x8b)][_0x59bbbc(0x2b9)]&&this[_0x59bbbc(0xba)][_0x59bbbc(0x2fb)]({'type':_0x28722d['MessageType'][_0x59bbbc(0x13f)],'content':this[_0x59bbbc(0x28e)]['t'](_0x59bbbc(0x253))}),_0x2db256['id']===_0x1102c8[_0x59bbbc(0x8b)][_0x59bbbc(0x14c)]&&this['_messageService'][_0x59bbbc(0x2fb)]({'type':_0x28722d[_0x59bbbc(0x114)][_0x59bbbc(0x13f)],'content':this[_0x59bbbc(0x28e)]['t'](_0x59bbbc(0xf8))}),_0x2db256['id']===_0x1102c8[_0x59bbbc(0x8b)][_0x59bbbc(0x16d)]&&this[_0x59bbbc(0xae)][_0x59bbbc(0x2fb)]({'title':this[_0x59bbbc(0x28e)]['t'](_0x59bbbc(0x1b9)),'content':this[_0x59bbbc(0x28e)]['t']('permission.content'),'type':_0x59bbbc(0x18b),'duration':0x0}),_0x2db256['id']===_0x1102c8[_0x59bbbc(0x8b)][_0x59bbbc(0x204)]&&this[_0x59bbbc(0xba)][_0x59bbbc(0x2fb)]({'type':_0x28722d[_0x59bbbc(0x114)]['Error'],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x2db256[_0x59bbbc(0x1f7)]+')'}),_0x2db256['id']===_0x1102c8['CollaborationUIEventId'][_0x59bbbc(0x21a)]&&this[_0x59bbbc(0xba)][_0x59bbbc(0x2fb)]({'type':_0x28722d[_0x59bbbc(0x114)]['Warning'],'content':this[_0x59bbbc(0x28e)]['t'](_0x2db256[_0x59bbbc(0x1f7)]||'')}),_0x2db256['id']===_0x1102c8[_0x59bbbc(0x8b)][_0x59bbbc(0x1f2)]&&this[_0x59bbbc(0xba)][_0x59bbbc(0x2fb)]({'type':_0x28722d[_0x59bbbc(0x114)]['Warning'],'content':this[_0x59bbbc(0x28e)]['t'](_0x59bbbc(0x2f6))}),_0x2db256['id']===_0x1102c8[_0x59bbbc(0x8b)][_0x59bbbc(0x138)]&&this[_0x59bbbc(0xba)][_0x59bbbc(0x2fb)]({'type':_0x28722d[_0x59bbbc(0x114)][_0x59bbbc(0x169)],'content':this['_localeService']['t'](_0x59bbbc(0xd3))}),_0x2db256['id']===_0x1102c8['CollaborationUIEventId'][_0x59bbbc(0x273)]&&this['_messageService'][_0x59bbbc(0x2fb)]({'type':_0x28722d['MessageType'][_0x59bbbc(0x169)],'content':this[_0x59bbbc(0x28e)]['t']('session.collaboration-timeout')});}));}};_0x22d051=_0x472811([_0x16d826(0x0,_0x38cf24['IBeforeCloseService']),_0x16d826(0x1,_0x1102c8[_0x258f24(0x1f8)]),_0x16d826(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x1102c8['CollaborationUIEventService'])),_0x16d826(0x3,_0x38cf24[_0x258f24(0x196)]),_0x16d826(0x4,_0x38cf24[_0x258f24(0x13a)]),_0x16d826(0x5,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x15b)]))],_0x22d051);const _0x130095='collaboration-client-ui.config',_0x2a9b11={},_0x3a5050=_0x3207a9[_0x258f24(0x25d)](_0x258f24(0x1a1));var _0xda1f4c=Object[_0x258f24(0x26f)],_0x2d4a63=(_0x3e41c9,_0x43e399,_0x5b7f72,_0x54d795)=>{const _0x264e7c=_0x258f24;for(var _0x3f649e=_0x54d795>0x1?void 0x0:_0x54d795?_0xda1f4c(_0x43e399,_0x5b7f72):_0x43e399,_0x4904a2=_0x3e41c9[_0x264e7c(0x2ee)]-0x1,_0x178720;_0x4904a2>=0x0;_0x4904a2--)(_0x178720=_0x3e41c9[_0x4904a2])&&(_0x3f649e=_0x178720(_0x3f649e)||_0x3f649e);return _0x3f649e;},_0xc974de=(_0x57637d,_0x5baa8a)=>(_0x45c283,_0x46b4e9)=>_0x5baa8a(_0x45c283,_0x46b4e9,_0x57637d);_0x3bccaa[_0x258f24(0x17c)]=class extends _0x3207a9[_0x258f24(0x245)]{constructor(_0x269048,_0x9c500d,_0x2e3b05,_0xc91f0e,_0xda6289){const _0x1e7fad=_0x258f24;super(),this['_urlService']=_0x269048,this[_0x1e7fad(0x156)]=_0x9c500d,this[_0x1e7fad(0x1b1)]=_0x2e3b05,this[_0x1e7fad(0xe4)]=_0xc91f0e,_0xda6289?_0xda6289==null||_0xda6289['whenReady']()[_0x1e7fad(0x276)](()=>this[_0x1e7fad(0x154)]()):(this[_0x1e7fad(0x156)][_0x1e7fad(0x22b)](_0x1e7fad(0xb4),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x258f24(0x154)](){const _0x4a88f8=_0x258f24,_0x1794a5=this[_0x4a88f8(0xe6)][_0x4a88f8(0xdd)](_0x4a88f8(0x2c3)),_0x273a73=this[_0x4a88f8(0xe6)][_0x4a88f8(0xdd)](_0x4a88f8(0x2e1)),_0x4ba190=this[_0x4a88f8(0xe6)]['getParam']('subunit');if(!_0x1794a5||!_0x273a73){this['_logService'][_0x4a88f8(0x22b)](_0x4a88f8(0xb4),_0x4a88f8(0xf3));return;}const _0x137a3d=await this[_0x4a88f8(0xe4)][_0x4a88f8(0x256)](_0x1794a5,Number(_0x273a73),_0x4ba190);_0x137a3d&&_0x137a3d instanceof _0x3207a9[_0x4a88f8(0x1ea)]&&this['_setupSubUnitSync'](_0x137a3d);}async[_0x258f24(0x83)](_0x407a7a){const _0x3376a6=_0x258f24;await this[_0x3376a6(0x28c)](_0x407a7a),_0x407a7a[_0x3376a6(0x1ee)][_0x3376a6(0xc8)](_0xd000e2[_0x3376a6(0x1da)](this[_0x3376a6(0x220)]))[_0x3376a6(0x185)](_0x37586a=>{const _0x1c17eb=_0x3376a6;_0x37586a&&this[_0x1c17eb(0x150)](_0x37586a);}),this[_0x3376a6(0xe6)][_0x3376a6(0x15d)][_0x3376a6(0xc8)](_0xd000e2[_0x3376a6(0x1da)](this[_0x3376a6(0x220)]))[_0x3376a6(0x185)](()=>this[_0x3376a6(0x28c)](_0x407a7a));}[_0x258f24(0x150)](_0x492987,_0x1e3891=!0x1){const _0x1e6426=_0x258f24,_0x645346=this[_0x1e6426(0xe6)][_0x1e6426(0xdd)](_0x1e6426(0x244));_0x492987[_0x1e6426(0x1fc)]()!==_0x645346&&this[_0x1e6426(0xe6)][_0x1e6426(0x109)](_0x1e6426(0x244),_0x492987[_0x1e6426(0x1fc)](),_0x1e3891);}async['_updateSubUnitFromURLParams'](_0x4b36c6){const _0x5325aa=_0x258f24;var _0x5086de;const _0x3fe76d=this['_urlService'][_0x5325aa(0xdd)](_0x5325aa(0x244));if(!_0x3fe76d||!_0x4b36c6[_0x5325aa(0x11d)](_0x3fe76d)){const _0x12ce52=_0x4b36c6[_0x5325aa(0x1e7)]()[0x0],_0x6e68a0=_0x4b36c6[_0x5325aa(0x11d)](_0x12ce52);if(!_0x6e68a0)return;this[_0x5325aa(0x150)](_0x6e68a0,!0x0),await this[_0x5325aa(0x1b1)][_0x5325aa(0x124)](_0x4a8ed5[_0x5325aa(0x15e)]['id'],{'unitId':_0x4b36c6['getUnitId'](),'subUnitId':_0x12ce52});return;}((_0x5086de=_0x4b36c6['getActiveSheet']())==null?void 0x0:_0x5086de[_0x5325aa(0x1fc)]())!==_0x3fe76d&&await this[_0x5325aa(0x1b1)][_0x5325aa(0x124)](_0x4a8ed5[_0x5325aa(0x15e)]['id'],{'unitId':_0x4b36c6[_0x5325aa(0x266)](),'subUnitId':_0x3fe76d});}},_0x3bccaa[_0x258f24(0x17c)]=_0x2d4a63([_0xc974de(0x0,_0x3a5050),_0xc974de(0x1,_0x3207a9[_0x258f24(0x16e)]),_0xc974de(0x2,_0x3207a9[_0x258f24(0x105)]),_0xc974de(0x3,_0x3207a9[_0x258f24(0x1cc)](_0x1102c8[_0x258f24(0x104)])),_0xc974de(0x4,_0x3207a9[_0x258f24(0x93)](_0x5c4095['IRemoteInstanceService']))],_0x3bccaa[_0x258f24(0x17c)]);var _0x5bf778=Object[_0x258f24(0x26f)],_0x2c52cb=(_0x41ebae,_0x57a98f,_0xcf95ad,_0x278142)=>{for(var _0x502696=_0x278142>0x1?void 0x0:_0x278142?_0x5bf778(_0x57a98f,_0xcf95ad):_0x57a98f,_0x2e23d8=_0x41ebae['length']-0x1,_0x3016c1;_0x2e23d8>=0x0;_0x2e23d8--)(_0x3016c1=_0x41ebae[_0x2e23d8])&&(_0x502696=_0x3016c1(_0x502696)||_0x502696);return _0x502696;},_0x143230=(_0x33808e,_0x240b42)=>(_0x5daffa,_0x46361b)=>_0x240b42(_0x5daffa,_0x46361b,_0x33808e);let _0x264a79=class{constructor(_0x301c8b,_0x16a2ed,_0xc8370a){const _0x234409=_0x258f24;this['_injector']=_0x301c8b,this[_0x234409(0x30b)]=_0x16a2ed,this[_0x234409(0x240)]=_0xc8370a;}[_0x258f24(0x187)](_0x1154fe){const _0x4aeaef=_0x258f24;this['_transformUndoRedoStack'](_0x1154fe),this[_0x4aeaef(0x120)](_0x1154fe);}[_0x258f24(0x2da)](_0x57f839){const _0x4c9ac6=_0x258f24,{unitID:_0x1ba62e}=_0x57f839,_0x3f2489=this['_renderManagerService'][_0x4c9ac6(0x103)](_0x1ba62e)[_0x4c9ac6(0x1e4)](_0xcfa6df['DocIMEInputManagerService']),{redoCache:_0x47741e}=_0x3f2489[_0x4c9ac6(0x20c)]();if(_0x47741e['length']===0x0)return _0x57f839;let _0xeed11a=_0x3207a9[_0x4c9ac6(0x310)][_0x4c9ac6(0x147)](_0x57f839[_0x4c9ac6(0x129)][0x0]);for(let _0x178696=0x0;_0x178696<_0x47741e[_0x4c9ac6(0x2ee)];_0x178696++){const _0x3de1ba={'id':_0x4c9ac6(0x215),'params':{..._0x47741e[_0x178696]}},_0x2fb369=this['_transformService'][_0x4c9ac6(0x11f)](_0xeed11a,_0x3de1ba,!0x1);if(_0x3e7a87[_0x4c9ac6(0xb9)](_0x2fb369))throw _0x2fb369['error'];_0xeed11a=_0x2fb369[_0x4c9ac6(0x2cb)];}return{..._0x3207a9[_0x4c9ac6(0x310)][_0x4c9ac6(0x147)](_0x57f839),'mutations':[_0xeed11a]};}['_transformUndoRedoStack'](_0x2d5819){const _0x15d443=_0x258f24,{unitID:_0x8973d2}=_0x2d5819,_0x48c7b6=this[_0x15d443(0x240)][_0x15d443(0x103)](_0x8973d2)[_0x15d443(0x1e4)](_0xcfa6df[_0x15d443(0x20e)]),{undoCache:_0x1f64ed,redoCache:_0x25f588}=_0x48c7b6['getUndoRedoMutationParamsCache']();if(_0x1f64ed[_0x15d443(0x2ee)]===0x0||_0x25f588[_0x15d443(0x2ee)]===0x0)return;const _0x1aaa34=[],_0x3628f9=[];let _0x353932=_0x3207a9[_0x15d443(0x310)][_0x15d443(0x147)](_0x2d5819['mutations'][0x0]),_0x19bab1=_0x3207a9['Tools'][_0x15d443(0x147)](_0x2d5819['mutations'][0x0]);for(let _0x246c2f=_0x1f64ed['length']-0x1;_0x246c2f>=0x0;_0x246c2f--){const _0xb85ac9={'id':_0x15d443(0x215),'params':{..._0x1f64ed[_0x246c2f]}},_0x48d270={'id':_0x15d443(0x215),'params':{..._0x25f588[_0x246c2f]}},_0x3338ba=this[_0x15d443(0x30b)][_0x15d443(0x11f)](_0x353932,_0xb85ac9,!0x1),_0xe7f354=this[_0x15d443(0x30b)]['transformMutation'](_0x19bab1,_0x48d270,!0x1);if(_0x3e7a87['isTransformMutationFailure'](_0x3338ba))throw _0x3338ba[_0x15d443(0x18b)];if(_0x3e7a87[_0x15d443(0xb9)](_0xe7f354))throw _0xe7f354['error'];_0x1aaa34[_0x15d443(0x1d4)](_0x3338ba[_0x15d443(0x1de)]['params']),_0x3628f9[_0x15d443(0x1d4)](_0xe7f354[_0x15d443(0x1de)][_0x15d443(0x1d0)]),_0x353932=_0x3338ba[_0x15d443(0x2cb)],_0x19bab1=_0xe7f354[_0x15d443(0x2cb)];}_0x48c7b6[_0x15d443(0x29b)]({'undoCache':_0x1aaa34,'redoCache':_0x3628f9});}[_0x258f24(0x120)](_0x5761b9){const _0x4b2c48=_0x258f24,{unitID:_0x582f76}=_0x5761b9,_0x272839=this[_0x4b2c48(0x240)]['getRenderById'](_0x582f76)[_0x4b2c48(0x1e4)](_0xcfa6df[_0x4b2c48(0x20e)]),_0x1f4121=_0x272839[_0x4b2c48(0x1a3)]();if(_0x1f4121==null)return;const _0x5e0317=[{'id':_0x4b2c48(0x215),'params':{'unitId':_0x5761b9[_0x4b2c48(0x299)],'actions':null,'textRanges':[_0x1f4121]}}],_0x3317f9=this['_transformService'][_0x4b2c48(0x283)](_0x5761b9,_0x5e0317);if(!_0x3e7a87[_0x4b2c48(0x25c)](_0x3317f9))throw _0x3317f9[_0x4b2c48(0x18b)];const _0x28595e=_0x3317f9[_0x4b2c48(0x1de)][0x0]['params'][_0x4b2c48(0x23c)];Array['isArray'](_0x28595e)&&_0x28595e[_0x4b2c48(0x2ee)]&&_0x272839['setActiveRange'](_0x28595e[0x0]);}};_0x264a79=_0x2c52cb([_0x143230(0x0,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9['Injector'])),_0x143230(0x1,_0x3e7a87[_0x258f24(0x116)]),_0x143230(0x2,_0x2e888c[_0x258f24(0x12b)])],_0x264a79);var _0x469603=Object[_0x258f24(0x26f)],_0x12042a=(_0x3280ae,_0x328887,_0x3baf99,_0x96a4bf)=>{const _0x2150a2=_0x258f24;for(var _0x590150=_0x96a4bf>0x1?void 0x0:_0x96a4bf?_0x469603(_0x328887,_0x3baf99):_0x328887,_0x32e246=_0x3280ae[_0x2150a2(0x2ee)]-0x1,_0x55539f;_0x32e246>=0x0;_0x32e246--)(_0x55539f=_0x3280ae[_0x32e246])&&(_0x590150=_0x55539f(_0x590150)||_0x590150);return _0x590150;},_0x5ca7eb=(_0x16e4f6,_0x2348b2)=>(_0x327155,_0x11e3be)=>_0x2348b2(_0x327155,_0x11e3be,_0x16e4f6);let _0x52344d=class{constructor(_0x363c58,_0x37861c,_0x5eaa89){const _0x18ed50=_0x258f24;this[_0x18ed50(0xfe)]=_0x363c58,this[_0x18ed50(0x30b)]=_0x37861c,this[_0x18ed50(0x1c4)]=_0x5eaa89;}[_0x258f24(0x1aa)](_0x272c72){const _0x27d20c=_0x258f24;this[_0x27d20c(0x27f)](_0x272c72);}[_0x258f24(0x2da)](_0x418e38){const _0x121316=_0x258f24,{unitID:_0x3b4f93}=_0x418e38,{collaboration:_0x3b2c63}=this[_0x121316(0x1c4)]['getStateCache'](_0x3b4f93);if(_0x3b2c63[_0x121316(0x2ee)]===0x0)return _0x418e38;let _0x3bcfd2=_0x3207a9['Tools'][_0x121316(0x147)](_0x418e38[_0x121316(0x129)][0x0]);for(let _0x172276=0x0;_0x172276<_0x3b2c63[_0x121316(0x2ee)];_0x172276++){const _0x3d9e0b={'id':_0x121316(0x215),'params':{'unitId':_0x3b2c63[_0x172276][_0x121316(0xfc)],..._0x3b2c63[_0x172276]['redoState']}},_0x379225=this[_0x121316(0x30b)][_0x121316(0x11f)](_0x3bcfd2,_0x3d9e0b,!0x1);if(_0x3e7a87[_0x121316(0xb9)](_0x379225))throw _0x379225['error'];_0x3bcfd2=_0x379225[_0x121316(0x2cb)];}return{..._0x3207a9[_0x121316(0x310)]['deepClone'](_0x418e38),'mutations':[_0x3bcfd2]};}['_transformHistoryAndStateStack'](_0x23ba97){const _0x1d91cc=_0x258f24,{unitID:_0x20caef}=_0x23ba97,{history:_0xab3b70,collaboration:_0x41986c}=this['_docStateChangeManagerService']['getStateCache'](_0x20caef);if(_0xab3b70['length']===0x0&&_0x41986c[_0x1d91cc(0x2ee)]===0x0)return;const _0x4d5eac=[],_0x33c45b=[];let _0x4b7dd4=_0x3207a9[_0x1d91cc(0x310)][_0x1d91cc(0x147)](_0x23ba97[_0x1d91cc(0x129)][0x0]),_0x24dfea=_0x3207a9[_0x1d91cc(0x310)]['deepClone'](_0x23ba97[_0x1d91cc(0x129)][0x0]);for(let _0x33b0bd=_0xab3b70[_0x1d91cc(0x2ee)]-0x1;_0x33b0bd>=0x0;_0x33b0bd--){const _0x19c229={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xab3b70[_0x33b0bd]['unitId'],..._0xab3b70[_0x33b0bd][_0x1d91cc(0x162)]}},_0x258473={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xab3b70[_0x33b0bd]['unitId'],..._0xab3b70[_0x33b0bd][_0x1d91cc(0x2ca)]}},_0x6f0aeb=this['_transformService'][_0x1d91cc(0x11f)](_0x4b7dd4,_0x19c229,!0x1),_0x4d9536=this['_transformService']['transformMutation'](_0x24dfea,_0x258473,!0x1);if(_0x3e7a87[_0x1d91cc(0xb9)](_0x6f0aeb))throw _0x6f0aeb[_0x1d91cc(0x18b)];if(_0x3e7a87[_0x1d91cc(0xb9)](_0x4d9536))throw _0x4d9536[_0x1d91cc(0x18b)];_0x4d5eac[_0x1d91cc(0x1d4)]({..._0xab3b70[_0x33b0bd],'undoState':_0x6f0aeb['m2Prime'][_0x1d91cc(0x1d0)],'redoState':_0x4d9536[_0x1d91cc(0x1de)][_0x1d91cc(0x1d0)]}),_0x4b7dd4=_0x6f0aeb[_0x1d91cc(0x2cb)],_0x24dfea=_0x4d9536[_0x1d91cc(0x2cb)];}_0x4b7dd4=_0x3207a9[_0x1d91cc(0x310)][_0x1d91cc(0x147)](_0x23ba97[_0x1d91cc(0x129)][0x0]),_0x24dfea=_0x3207a9['Tools'][_0x1d91cc(0x147)](_0x23ba97[_0x1d91cc(0x129)][0x0]);for(let _0x42a87e=_0x41986c[_0x1d91cc(0x2ee)]-0x1;_0x42a87e>=0x0;_0x42a87e--){const _0x398d6d={'id':_0x1d91cc(0x215),'params':{'unitId':_0x41986c[_0x42a87e]['unitId'],..._0x41986c[_0x42a87e][_0x1d91cc(0x162)]}},_0x433d72={'id':_0x1d91cc(0x215),'params':{'unitId':_0x41986c[_0x42a87e][_0x1d91cc(0xfc)],..._0x41986c[_0x42a87e][_0x1d91cc(0x2ca)]}},_0x5e705b=this['_transformService']['transformMutation'](_0x4b7dd4,_0x398d6d,!0x1),_0x494f51=this[_0x1d91cc(0x30b)][_0x1d91cc(0x11f)](_0x24dfea,_0x433d72,!0x1);if(_0x3e7a87[_0x1d91cc(0xb9)](_0x5e705b))throw _0x5e705b[_0x1d91cc(0x18b)];if(_0x3e7a87[_0x1d91cc(0xb9)](_0x494f51))throw _0x494f51[_0x1d91cc(0x18b)];_0x33c45b[_0x1d91cc(0x1d4)]({..._0x41986c[_0x42a87e],'undoState':_0x5e705b['m2Prime'][_0x1d91cc(0x1d0)],'redoState':_0x494f51[_0x1d91cc(0x1de)][_0x1d91cc(0x1d0)]}),_0x4b7dd4=_0x5e705b[_0x1d91cc(0x2cb)],_0x24dfea=_0x494f51['m1Prime'];}this[_0x1d91cc(0x1c4)]['setStateCache'](_0x20caef,{'history':_0x4d5eac,'collaboration':_0x33c45b});}};_0x52344d=_0x12042a([_0x5ca7eb(0x0,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x173)])),_0x5ca7eb(0x1,_0x3e7a87['ITransformService']),_0x5ca7eb(0x2,_0x3207a9['Inject'](_0xcfa6df[_0x258f24(0x2e4)]))],_0x52344d);var _0x288a70=Object[_0x258f24(0x26f)],_0x4d9958=(_0x65fd1d,_0x446e67,_0x4e4a61,_0x493a85)=>{for(var _0x10c42e=_0x493a85>0x1?void 0x0:_0x493a85?_0x288a70(_0x446e67,_0x4e4a61):_0x446e67,_0x1a982d=_0x65fd1d['length']-0x1,_0x3c605c;_0x1a982d>=0x0;_0x1a982d--)(_0x3c605c=_0x65fd1d[_0x1a982d])&&(_0x10c42e=_0x3c605c(_0x10c42e)||_0x10c42e);return _0x10c42e;},_0x5bd03e=(_0x937470,_0x29fae0)=>(_0x36d421,_0x4961cc)=>_0x29fae0(_0x36d421,_0x4961cc,_0x937470);let _0x2f2133=class{constructor(_0x31194d,_0x4b14d6){const _0x3d3ab5=_0x258f24;this[_0x3d3ab5(0xfe)]=_0x31194d,this[_0x3d3ab5(0x30b)]=_0x4b14d6;}[_0x258f24(0x128)](_0x50fe32){const _0x3058e4=_0x258f24;var _0x4bea57;const _0x268fde=this[_0x3058e4(0xfe)]['get'](_0xca2427[_0x3058e4(0x1a6)]),_0x377394=(_0x4bea57=_0x268fde[_0x3058e4(0xa4)]())!=null?_0x4bea57:[];if(_0x377394['length']===0x0)return;const _0x56e7b3=_0x50fe32[_0x3058e4(0x299)],_0x3793bb=[{'id':_0x3058e4(0x215),'params':{'unitId':_0x56e7b3,'actions':null,'textRanges':_0x377394}}],_0x38e40a=this[_0x3058e4(0x30b)][_0x3058e4(0x283)](_0x50fe32,_0x3793bb);if(!_0x3e7a87[_0x3058e4(0x25c)](_0x38e40a))throw _0x38e40a[_0x3058e4(0x18b)];const _0x556e1a=_0x38e40a['m2Prime'][0x0][_0x3058e4(0x1d0)]['textRanges'];Array[_0x3058e4(0x12f)](_0x556e1a)&&_0x556e1a[_0x3058e4(0x2ee)]&&_0x268fde[_0x3058e4(0x26a)](_0x556e1a,{'unitId':_0x56e7b3,'subUnitId':_0x56e7b3},!0x1);}};_0x2f2133=_0x4d9958([_0x5bd03e(0x0,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x173)])),_0x5bd03e(0x1,_0x3e7a87['ITransformService'])],_0x2f2133);var _0x5dc4cf=Object[_0x258f24(0x26f)],_0x4136ee=(_0x591e67,_0x484269,_0x332b37,_0xbe7ae8)=>{const _0x57b824=_0x258f24;for(var _0xb1a3fa=_0xbe7ae8>0x1?void 0x0:_0xbe7ae8?_0x5dc4cf(_0x484269,_0x332b37):_0x484269,_0xd8c438=_0x591e67[_0x57b824(0x2ee)]-0x1,_0xc95ec6;_0xd8c438>=0x0;_0xd8c438--)(_0xc95ec6=_0x591e67[_0xd8c438])&&(_0xb1a3fa=_0xc95ec6(_0xb1a3fa)||_0xb1a3fa);return _0xb1a3fa;},_0x23c2ea=(_0x19d888,_0xc58678)=>(_0x187ea6,_0x5532fb)=>_0xc58678(_0x187ea6,_0x5532fb,_0x19d888);let _0x5193dd=class extends _0x3207a9[_0x258f24(0x17e)]{constructor(_0x4aae51,_0x1034ff,_0x4afb43,_0x37ee32,_0x423aaf,_0x5df48c,_0x401f52,_0x5e6efc){const _0x1b43d2=_0x258f24;super(),_0x1a27fd(this,_0x1b43d2(0x1c5),new _0xd000e2[(_0x1b43d2(0x1ed))](_0x1102c8['CollaborationStatus']['NOT_COLLAB'])),(this[_0x1b43d2(0x1c4)]=_0x4aae51,this[_0x1b43d2(0x194)]=_0x1034ff,this['_docTransformIMECacheService']=_0x4afb43,this[_0x1b43d2(0x14e)]=_0x37ee32,this[_0x1b43d2(0x142)]=_0x423aaf,this[_0x1b43d2(0x98)]=_0x5df48c,this[_0x1b43d2(0xba)]=_0x401f52,this['_localeService']=_0x5e6efc,this[_0x1b43d2(0xda)]());}[_0x258f24(0xda)](){const _0x54834f=_0x258f24;this['disposeWithMe'](this[_0x54834f(0x194)][_0x54834f(0x20d)]['subscribe'](_0x715a44=>{const _0x16c892=_0x54834f,_0x2b8014=this[_0x16c892(0x1c4)]['docStateChange$'][_0x16c892(0x185)](_0x354870=>{const _0x2a7c38=_0x16c892;if(_0x354870==null)return;const {unitId:_0x2a9b6a,redoState:_0x1ab200,commandId:_0x5c6935}=_0x354870;if(_0x2a9b6a!==_0x715a44['unitID'])return;const _0x8c6881={'id':_0x5c6935,'type':_0x3207a9[_0x2a7c38(0x288)]['MUTATION'],'params':{'unitId':_0x2a9b6a,'actions':_0x1ab200[_0x2a7c38(0x16f)],'textRanges':null}};_0x715a44[_0x2a7c38(0x21e)](_0x8c6881);});if(_0x715a44[_0x16c892(0x146)](_0x2b8014),_0x715a44 instanceof _0x1102c8[_0x16c892(0x12a)]){const _0x35e113={'onTransformIME':_0x5b44c0=>this[_0x16c892(0x2ab)][_0x16c892(0x187)](_0x5b44c0),'onTransformState':_0xe32db0=>this[_0x16c892(0x14e)]['transformStateCache'](_0xe32db0),'onTransformSelections':_0x835beb=>this[_0x16c892(0x142)][_0x16c892(0x128)](_0x835beb),'onSyncEditingCollabCursor':_0x6172b4=>this[_0x16c892(0x98)][_0x16c892(0x7c)](_0x6172b4),'onTransformRemoteChangesetByIMECache':_0xcdcb50=>this[_0x16c892(0x2ab)]['transformRemoteChangeset'](_0xcdcb50),'onTransformRemoteChangesetByStateCache':_0x3c4658=>this['_docTransformStateCacheService'][_0x16c892(0x2da)](_0x3c4658)};_0x715a44['addHandlerCallback'](_0x35e113);}}));}};_0x5193dd=_0x4136ee([_0x23c2ea(0x0,_0x3207a9[_0x258f24(0x1cc)](_0xcfa6df[_0x258f24(0x2e4)])),_0x23c2ea(0x1,_0x3207a9[_0x258f24(0x1cc)](_0x1102c8['CollaborationController'])),_0x23c2ea(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x264a79)),_0x23c2ea(0x3,_0x3207a9[_0x258f24(0x1cc)](_0x52344d)),_0x23c2ea(0x4,_0x3207a9[_0x258f24(0x1cc)](_0x2f2133)),_0x23c2ea(0x5,_0x3207a9[_0x258f24(0x1cc)](_0x2062f0)),_0x23c2ea(0x6,_0x38cf24[_0x258f24(0x196)]),_0x23c2ea(0x7,_0x3207a9['Inject'](_0x3207a9[_0x258f24(0x15b)]))],_0x5193dd);var _0x5318cc=Object['getOwnPropertyDescriptor'],_0x327216=(_0x50d335,_0x29a9a4,_0x1f9dfd,_0x13b024)=>{for(var _0x5ca995=_0x13b024>0x1?void 0x0:_0x13b024?_0x5318cc(_0x29a9a4,_0x1f9dfd):_0x29a9a4,_0x332ba2=_0x50d335['length']-0x1,_0x2a0c5f;_0x332ba2>=0x0;_0x332ba2--)(_0x2a0c5f=_0x50d335[_0x332ba2])&&(_0x5ca995=_0x2a0c5f(_0x5ca995)||_0x5ca995);return _0x5ca995;},_0x20f252=(_0x5c641a,_0x2ddcfd)=>(_0x4807f4,_0x1c0fe9)=>_0x2ddcfd(_0x4807f4,_0x1c0fe9,_0x5c641a);let _0x1f8ab8=class extends _0x3207a9[_0x258f24(0x17e)]{constructor(_0x276877,_0x36ba8f,_0x150e58){const _0x464021=_0x258f24;super(),_0x1a27fd(this,_0x464021(0x2b6),new Map()),_0x1a27fd(this,'_saveTaskMap',new Map()),_0x1a27fd(this,_0x464021(0x262),!0x1),(this[_0x464021(0xc7)]=_0x276877,this[_0x464021(0x1b3)]=_0x36ba8f,this[_0x464021(0x2a6)]=_0x150e58);}[_0x258f24(0x1db)](){this['_disabled']=!0x0;}[_0x258f24(0x1b5)](){const _0x5d82ec=_0x258f24;this[_0x5d82ec(0x262)]=!0x1;}get[_0x258f24(0x298)](){const _0x400727=_0x258f24;return this[_0x400727(0x1b8)];}[_0x258f24(0x2f2)](){const _0x352bdd=_0x258f24;this['exhaustSavingTask']()[_0x352bdd(0x276)](()=>super[_0x352bdd(0x2f2)]());}async['loadOfflineData'](_0x313cbc){const _0x2d29fc=_0x258f24;return this[_0x2d29fc(0x262)]?null:this[_0x2d29fc(0x1b3)][_0x2d29fc(0x30c)](_0x1102c8[_0x2d29fc(0x9a)](_0x313cbc));}async[_0x258f24(0x1a0)](_0x397e8a,_0x3afea5){const _0x161d22=_0x258f24;return!!this[_0x161d22(0x1b3)][_0x161d22(0x1d5)](_0x397e8a,_0x3afea5);}[_0x258f24(0x14a)](_0x3f760d,_0xd626eb,_0xc366da,_0x4c02b0){const _0x8bc7f4=_0x258f24,_0x5376b6=this[_0x8bc7f4(0x2a6)]['getCurrentRevOfUnit'](_0x3f760d);this[_0x8bc7f4(0x2b6)]['set'](_0x3f760d,{'unitID':_0x3f760d,'type':_0xd626eb,'awaitingChangeset':_0xc366da,'mutations':_0x4c02b0,'rev':_0x5376b6}),this[_0x8bc7f4(0x1b8)][_0x8bc7f4(0x17b)](_0x3f760d)||this[_0x8bc7f4(0x2ba)](_0x3f760d);}[_0x258f24(0x2ba)](_0x2d3e43){const _0x173290=_0x258f24,_0x3c8988=this[_0x173290(0x2f1)]();_0x3c8988===0x0?this[_0x173290(0x171)](_0x2d3e43):this['_saveTaskMap'][_0x173290(0x2dc)](_0x2d3e43,setTimeout(()=>this[_0x173290(0x171)](_0x2d3e43),_0x3c8988));}[_0x258f24(0x2f1)](){const _0xe47f9c=_0x258f24;var _0x4fa808;return(_0x4fa808=this[_0xe47f9c(0xc7)][_0xe47f9c(0x2c9)](_0x1102c8[_0xe47f9c(0x117)]))!=null?_0x4fa808:_0x1102c8[_0xe47f9c(0x1fe)];}[_0x258f24(0x171)](_0x50f0da){const _0x3e85de=_0x258f24,_0x1bb11f=this[_0x3e85de(0x1b8)][_0x3e85de(0x1e9)](_0x50f0da);return _0x1bb11f!==void 0x0&&window[_0x3e85de(0x195)](_0x1bb11f),this[_0x3e85de(0x1b3)][_0x3e85de(0x1d5)](_0x1102c8[_0x3e85de(0x9a)](_0x50f0da),this[_0x3e85de(0x2b6)][_0x3e85de(0x1e9)](_0x50f0da))['then'](()=>this[_0x3e85de(0x1b8)][_0x3e85de(0x95)](_0x50f0da));}async[_0x258f24(0x2e2)](){const _0x6292c=_0x258f24,_0x49fb7f=[];this[_0x6292c(0x1b8)][_0x6292c(0x19c)]((_0x2c8ff7,_0x3cdfde)=>{const _0x31a630=_0x6292c;window[_0x31a630(0x195)](_0x2c8ff7),_0x49fb7f[_0x31a630(0x1ac)](this[_0x31a630(0x171)](_0x3cdfde)[_0x31a630(0x276)](()=>{const _0x3d01ce=_0x31a630;this[_0x3d01ce(0x1b8)][_0x3d01ce(0x95)](_0x3cdfde);}));}),await Promise[_0x6292c(0x2ad)](_0x49fb7f);}};_0x1f8ab8=_0x327216([_0x20f252(0x0,_0x3207a9[_0x258f24(0x99)]),_0x20f252(0x1,_0x3207a9[_0x258f24(0x191)]),_0x20f252(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x3e7a87[_0x258f24(0xa7)]))],_0x1f8ab8);class _0x4c1e75 extends _0x3207a9['RxDisposable']{constructor(){const _0xd015d6=_0x258f24;super(),_0x1a27fd(this,'urlChange$'),this['urlChange$']=_0xd000e2[_0xd015d6(0x1ec)](window,_0xd015d6(0x1d1))[_0xd015d6(0xc8)](_0xd000e2[_0xd015d6(0x1da)](this['dispose$']),_0xd000e2[_0xd015d6(0x2c2)](0x1),_0xd000e2[_0xd015d6(0xb8)](void 0x0));}[_0x258f24(0x109)](_0x5e4667,_0x30121a,_0x8cf141=!0x1){const _0x15edae=_0x258f24,_0x548883=new URL(window[_0x15edae(0x20b)][_0x15edae(0x2ed)]);_0x548883[_0x15edae(0x2a8)]['set'](_0x5e4667,_0x30121a),_0x8cf141?window[_0x15edae(0x125)][_0x15edae(0x8f)]('','',_0x548883['toString']()):window[_0x15edae(0x125)][_0x15edae(0x234)]('','',_0x548883[_0x15edae(0x2b2)]());}[_0x258f24(0x306)](_0x336896,_0x255264=!0x1){const _0x3a8aab=_0x258f24,_0x438298=new URL(window[_0x3a8aab(0x20b)][_0x3a8aab(0x2ed)]);_0x438298[_0x3a8aab(0x2a8)][_0x3a8aab(0x95)](_0x336896),_0x255264?window[_0x3a8aab(0x125)][_0x3a8aab(0x8f)]('','',_0x438298[_0x3a8aab(0x2b2)]()):window[_0x3a8aab(0x125)][_0x3a8aab(0x234)]('','',_0x438298['toString']());}[_0x258f24(0xdd)](_0x3ac3a8){const _0x5265ea=_0x258f24;var _0x3cc719;return(_0x3cc719=new URL(window['location'][_0x5265ea(0x2ed)])[_0x5265ea(0x2a8)][_0x5265ea(0x1e9)](_0x3ac3a8))!=null?_0x3cc719:void 0x0;}}var _0x1d230d=Object[_0x258f24(0x2ce)],_0x9dd83b=Object[_0x258f24(0x26f)],_0x423b78=(_0x5cc75f,_0xa68dbf,_0x26621d)=>_0xa68dbf in _0x5cc75f?_0x1d230d(_0x5cc75f,_0xa68dbf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x26621d}):_0x5cc75f[_0xa68dbf]=_0x26621d,_0x2bafe6=(_0x196a67,_0x4d4679,_0x95e3b7,_0x57373e)=>{const _0x11e8aa=_0x258f24;for(var _0x5cbd97=_0x57373e>0x1?void 0x0:_0x57373e?_0x9dd83b(_0x4d4679,_0x95e3b7):_0x4d4679,_0x2ca97f=_0x196a67[_0x11e8aa(0x2ee)]-0x1,_0xc5bbdc;_0x2ca97f>=0x0;_0x2ca97f--)(_0xc5bbdc=_0x196a67[_0x2ca97f])&&(_0x5cbd97=_0xc5bbdc(_0x5cbd97)||_0x5cbd97);return _0x5cbd97;},_0x2c03ab=(_0x32f55e,_0x412be7)=>(_0x40695e,_0x332bd9)=>_0x412be7(_0x40695e,_0x332bd9,_0x32f55e),_0xbcbeed=(_0x375416,_0x43010f,_0x340885)=>_0x423b78(_0x375416,_0x43010f+'',_0x340885);const _0x5c5ff8='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3bccaa[_0x258f24(0x1ca)]=class extends _0x3207a9[_0x258f24(0x2e0)]{constructor(_0x52cdc1=_0x2a9b11,_0x8cfb6e,_0x5b3974,_0x55794d){const _0x258d85=_0x258f24;super(),this['_config']=_0x52cdc1,this[_0x258d85(0x240)]=_0x8cfb6e,this['_injector']=_0x5b3974,this['_configService']=_0x55794d;const {..._0x3b9f86}=_0x3207a9[_0x258d85(0x26e)]({},_0x2a9b11,this[_0x258d85(0x8e)]);this[_0x258d85(0xc7)][_0x258d85(0x22d)](_0x130095,_0x3b9f86);}[_0x258f24(0x2d6)](){const _0xf49ad9=_0x258f24;this[_0xf49ad9(0x157)](),this['_initDependencies']();}[_0x258f24(0x19d)](){const _0x31d3a9=_0x258f24;this[_0x31d3a9(0x2f9)]();}['_registerDependencies'](){const _0x1f129c=_0x258f24;var _0x2b3c21;const _0x4af2dd=[[_0x3ec850],[_0x2f2133],[_0x264a79],[_0x52344d],[_0x2062f0],[_0x3a5050,{'useClass':_0x4c1e75}],[_0x283bfb[_0x1f129c(0x213)],{'useClass':_0x283bfb[_0x1f129c(0x2ea)]}],[_0x1102c8[_0x1f129c(0x1f8)],{'useClass':_0x1f8ab8}],[_0x3bccaa[_0x1f129c(0x28b)]],[_0x5193dd],[_0x22d051],[_0x35f21e],[_0xa670a2],[_0x3bccaa[_0x1f129c(0x17c)]]];_0x3207a9[_0x1f129c(0x1e5)](this['_injector'],_0x3207a9[_0x1f129c(0xc6)](_0x4af2dd,(_0x2b3c21=this['_config'])==null?void 0x0:_0x2b3c21[_0x1f129c(0x25e)]));}[_0x258f24(0x2f9)](){const _0x2133ae=_0x258f24;this[_0x2133ae(0x146)](this[_0x2133ae(0x240)][_0x2133ae(0x123)](_0x3207a9['UniverInstanceType'][_0x2133ae(0x97)],[_0x137949])),this[_0x2133ae(0x146)](this[_0x2133ae(0x240)]['registerRenderModule'](_0x3207a9[_0x2133ae(0x23d)]['UNIVER_SHEET'],[_0x445646]));}[_0x258f24(0x167)](){const _0x15eace=_0x258f24;_0x3207a9[_0x15eace(0xe8)](this['_injector'],[[_0x35f21e],[_0x3bccaa[_0x15eace(0x28b)]],[_0x5193dd],[_0x22d051],[_0x3bccaa[_0x15eace(0x17c)]]]);}},_0xbcbeed(_0x3bccaa[_0x258f24(0x1ca)],_0x258f24(0x1e2),_0x5c5ff8),_0x3bccaa['UniverCollaborationClientUIPlugin']=_0x2bafe6([_0x3207a9[_0x258f24(0x268)](_0x1102c8[_0x258f24(0x2dd)]),_0x2c03ab(0x1,_0x2e888c['IRenderManagerService']),_0x2c03ab(0x2,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9['Injector'])),_0x2c03ab(0x3,_0x3207a9[_0x258f24(0x99)])],_0x3bccaa['UniverCollaborationClientUIPlugin']);var _0x3d5bfd=Object[_0x258f24(0x26f)],_0x5b7c99=(_0x148474,_0x476549,_0x5e9b94,_0x2eca11)=>{const _0x27a46f=_0x258f24;for(var _0x11d176=_0x2eca11>0x1?void 0x0:_0x2eca11?_0x3d5bfd(_0x476549,_0x5e9b94):_0x476549,_0x40ac19=_0x148474[_0x27a46f(0x2ee)]-0x1,_0x203f8f;_0x40ac19>=0x0;_0x40ac19--)(_0x203f8f=_0x148474[_0x40ac19])&&(_0x11d176=_0x203f8f(_0x11d176)||_0x11d176);return _0x11d176;},_0x2f8e8d=(_0x47567e,_0x4eac69)=>(_0x8d19a5,_0x197e3f)=>_0x4eac69(_0x8d19a5,_0x197e3f,_0x47567e);_0x3bccaa[_0x258f24(0x1b4)]=class extends _0x1102c8[_0x258f24(0x2b5)]{constructor(_0x597418,_0x4a0abf,_0x370b12,_0x17e9c7,_0x303f52){super(_0x597418,_0x4a0abf,_0x370b12,_0x17e9c7,_0x303f52);}async[_0x258f24(0xc3)](_0x551c74){const _0x4fbd6e=_0x258f24,_0x33c201=await this[_0x4fbd6e(0x218)](),_0x563009=this[_0x4fbd6e(0x2aa)](_0x551c74,_0x33c201);return this[_0x4fbd6e(0x2e9)](_0x563009);}[_0x258f24(0x2aa)](_0x1ec9c8,_0x1926ae){const _0x199853=_0x258f24,_0x20fd8d=typeof window>'u'?new URL(_0x1ec9c8):new URL(_0x1ec9c8,window[_0x199853(0x20b)][_0x199853(0x166)]);_0x20fd8d[_0x199853(0x2a8)][_0x199853(0x2dc)](_0x199853(0x174),_0x1926ae);const _0x17bbc5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x199853(0xc0)]);return _0x17bbc5[_0x199853(0x1e9)](_0x199853(0xab))&&_0x20fd8d[_0x199853(0x2a8)]['set']('runId',_0x17bbc5[_0x199853(0x1e9)](_0x199853(0xab))),_0x20fd8d['toString']();}async[_0x258f24(0x218)](){const _0x42e6db=_0x258f24;var _0x50dcfe,_0x15abdc,_0x3aa864;const _0x517581=this[_0x42e6db(0xc7)][_0x42e6db(0x2c9)](_0x1102c8[_0x42e6db(0xa6)]),_0x2b10bf=(_0x50dcfe=_0x517581==null?void 0x0:_0x517581[_0x42e6db(0x2bd)])!=null?_0x50dcfe:_0x1102c8[_0x42e6db(0x201)];return(_0x3aa864=(_0x15abdc=(await this[_0x42e6db(0x1cb)][_0x42e6db(0x1e9)](_0x2b10bf,{'headers':{'Content-Type':'application/json'}}))[_0x42e6db(0x243)])==null?void 0x0:_0x15abdc[_0x42e6db(0x2fc)])!=null?_0x3aa864:'';}},_0x3bccaa[_0x258f24(0x1b4)]=_0x5b7c99([_0x2f8e8d(0x0,_0x3207a9[_0x258f24(0x1cc)](_0x3207a9[_0x258f24(0x173)])),_0x2f8e8d(0x1,_0x3207a9[_0x258f24(0x1cc)](_0x283bfb[_0x258f24(0x14f)])),_0x2f8e8d(0x2,_0x3207a9[_0x258f24(0x99)]),_0x2f8e8d(0x3,_0x3207a9['ILogService']),_0x2f8e8d(0x4,_0x3e7a87[_0x258f24(0x21c)])],_0x3bccaa[_0x258f24(0x1b4)]);const _0x158be3=0x7530,_0x453907='ACTIVE_UNIT_EVENT_CHANNEL';class _0x33d2e9 extends _0x3207a9[_0x258f24(0x17e)]{constructor(){const _0x3eea07=_0x258f24;super(),_0x1a27fd(this,_0x3eea07(0xa2),_0x3207a9[_0x3eea07(0x1e8)]()),_0x1a27fd(this,_0x3eea07(0x2f0),new Set()),_0x1a27fd(this,_0x3eea07(0x28a),new Map()),_0x1a27fd(this,_0x3eea07(0xcc),null),_0x1a27fd(this,'_clearOtherTimers',new Map()),_0x1a27fd(this,'_unitStatus',new Map()),this[_0x3eea07(0x154)]();}[_0x258f24(0x2f2)](){const _0x1f09e9=_0x258f24;super[_0x1f09e9(0x2f2)](),this[_0x1f09e9(0x275)]['forEach']((_0x42e45f,_0x54cffa)=>this[_0x1f09e9(0x27d)](_0x54cffa)),this[_0x1f09e9(0xcc)]&&window[_0x1f09e9(0x19e)](this[_0x1f09e9(0xcc)]);}[_0x258f24(0x27b)](_0x386316){const _0xda66f9=_0x258f24;return this[_0xda66f9(0x10a)](_0x386316)[_0xda66f9(0xc8)](_0xd000e2[_0xda66f9(0x265)]());}['editingUnit'](_0x2144e9){const _0x3ebdf1=_0x258f24;this[_0x3ebdf1(0x2f0)][_0x3ebdf1(0x106)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x3ebdf1(0x13d)](_0x2144e9),this[_0x3ebdf1(0x2fe)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2144e9],'isForwarded':!0x1});}['disposeUnit'](_0x2153a9){const _0x220236=_0x258f24;this['_selfUnitIDs'][_0x220236(0x95)](_0x2153a9),this[_0x220236(0x2f0)]['size']===0x0&&this[_0x220236(0xcc)]&&window[_0x220236(0x19e)](this[_0x220236(0xcc)]);}[_0x258f24(0x154)](){const _0x7635c=_0x258f24;this[_0x7635c(0x146)](_0x3207a9['toDisposable'](_0xd000e2['fromEvent'](window,_0x7635c(0x1c9))[_0x7635c(0x185)](_0x25f555=>{const _0x38ffb6=_0x7635c;if(_0x25f555[_0x38ffb6(0x2c7)]!==_0x453907||!_0x25f555[_0x38ffb6(0x163)])return;const _0x5c2113=JSON[_0x38ffb6(0x270)](_0x25f555[_0x38ffb6(0x163)]);this[_0x38ffb6(0x214)](_0x5c2113);}))),window[_0x7635c(0x10d)](_0x7635c(0x25b),()=>this[_0x7635c(0x2fe)]({'type':0x1,'memberID':this[_0x7635c(0xa2)],'unitIDs':Array[_0x7635c(0x2cd)](this[_0x7635c(0x2f0)])}));}[_0x258f24(0x214)](_0x2387b6){const _0x460b06=_0x258f24;switch(_0x2387b6[_0x460b06(0x2e1)]){case 0x0:this[_0x460b06(0x132)](_0x2387b6);break;case 0x1:this[_0x460b06(0x29c)](_0x2387b6);break;case 0x2:this['_handleHeartbeatEvent'](_0x2387b6);break;}}[_0x258f24(0x132)](_0x2ec25e){const _0x5127e8=_0x258f24,{unitIDs:_0x2ff53e,memberID:_0x2fd49f,isForwarded:_0x500c9a}=_0x2ec25e;_0x2ff53e[_0x5127e8(0x19c)](_0x44ddd9=>{const _0x9edcbb=_0x5127e8;if(!_0x500c9a&&this[_0x9edcbb(0x28a)]['has'](_0x44ddd9)&&this[_0x9edcbb(0x10a)](_0x44ddd9)[_0x9edcbb(0x14b)](_0x1102c8['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x9edcbb(0x28a)][_0x9edcbb(0x17b)](_0x44ddd9)||!this[_0x9edcbb(0x28a)][_0x9edcbb(0x1e9)](_0x44ddd9)[_0x9edcbb(0x17b)](_0x2fd49f)){const _0x3d8656=this[_0x9edcbb(0x28a)][_0x9edcbb(0x1e9)](_0x44ddd9)||new Set();_0x3d8656['add'](_0x2fd49f),this[_0x9edcbb(0x28a)]['set'](_0x44ddd9,_0x3d8656),this[_0x9edcbb(0x209)](_0x2fd49f);}}),_0x500c9a||this[_0x5127e8(0x2fe)]({'type':0x0,'memberID':this[_0x5127e8(0xa2)],'unitIDs':[...this[_0x5127e8(0x2f0)]],'isForwarded':!0x0});}[_0x258f24(0x209)](_0x2d908a){const _0x1792c6=_0x258f24;this[_0x1792c6(0x27d)](_0x2d908a);const _0x39e8c4=window[_0x1792c6(0x155)](()=>{const _0x408c17=_0x1792c6;this[_0x408c17(0x28a)][_0x408c17(0x19c)](_0x22df0c=>{const _0x2c5bad=_0x408c17;_0x22df0c[_0x2c5bad(0x95)](_0x2d908a);});},_0x158be3*0x2);this['_clearOtherTimers'][_0x1792c6(0x2dc)](_0x2d908a,_0x39e8c4);}[_0x258f24(0x27d)](_0x9f2fa6){const _0x5a0843=_0x258f24;if(this[_0x5a0843(0x275)][_0x5a0843(0x17b)](_0x9f2fa6)){const _0x9d7b2d=this[_0x5a0843(0x275)]['get'](_0x9f2fa6);_0x9d7b2d&&window[_0x5a0843(0x195)](_0x9d7b2d),this[_0x5a0843(0x275)][_0x5a0843(0x2dc)](_0x9f2fa6,null);}}[_0x258f24(0x29c)](_0x41d4d6){const _0x5150ea=_0x258f24,{memberID:_0x3568e6,unitIDs:_0x100773}=_0x41d4d6;_0x100773[_0x5150ea(0x19c)](_0x1f592a=>{const _0x35583c=_0x5150ea;var _0x25eb83;const _0x16b6e8=this[_0x35583c(0x28a)][_0x35583c(0x1e9)](_0x1f592a);_0x16b6e8&&(_0x16b6e8[_0x35583c(0x95)](_0x3568e6),(_0x25eb83=this[_0x35583c(0x10a)](_0x1f592a))==null||_0x25eb83['next'](_0x16b6e8[_0x35583c(0x106)]===0x0?_0x1102c8[_0x35583c(0x2d3)][_0x35583c(0x80)]:_0x1102c8[_0x35583c(0x2d3)][_0x35583c(0x297)]));}),this[_0x5150ea(0x27d)](_0x3568e6);}[_0x258f24(0x199)](_0x485f1e){const _0x52050e=_0x258f24;this[_0x52050e(0x209)](_0x485f1e[_0x52050e(0x1bd)]);}[_0x258f24(0x2fe)](_0x4c940e){const _0x8a659b=_0x258f24;localStorage[_0x8a659b(0x1d5)](_0x453907,JSON[_0x8a659b(0x289)](_0x4c940e));}['_scheduleHeartbeat'](){const _0x18a72f=_0x258f24;this[_0x18a72f(0xcc)]=window[_0x18a72f(0x149)](()=>{const _0x3c1dd1=_0x18a72f;this[_0x3c1dd1(0x2fe)]({'type':0x2,'memberID':this['_id']});},_0x158be3);}['_ensureSubject'](_0x2a2555){const _0x28e25b=_0x258f24;return this[_0x28e25b(0xe5)][_0x28e25b(0x17b)](_0x2a2555)||this[_0x28e25b(0xe5)][_0x28e25b(0x2dc)](_0x2a2555,new _0xd000e2[(_0x28e25b(0x1ed))](_0x1102c8[_0x28e25b(0x2d3)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x28e25b(0xe5)][_0x28e25b(0x1e9)](_0x2a2555);}}var _0x31b563=(_0x28b4cd=>(_0x28b4cd[_0x28b4cd[_0x258f24(0x2f8)]=0x0]=_0x258f24(0x2f8),_0x28b4cd[_0x28b4cd['OK']=0x1]='OK',_0x28b4cd[_0x28b4cd[_0x258f24(0x160)]=0x2]='INTERNAL_ERROR',_0x28b4cd[_0x28b4cd[_0x258f24(0x16d)]=0x3]=_0x258f24(0x16d),_0x28b4cd[_0x28b4cd[_0x258f24(0x2ac)]=0x4]=_0x258f24(0x2ac),_0x28b4cd[_0x28b4cd[_0x258f24(0x86)]=0x5]=_0x258f24(0x86),_0x28b4cd[_0x28b4cd[_0x258f24(0x23a)]=0x6]=_0x258f24(0x23a),_0x28b4cd[_0x28b4cd['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x28b4cd[_0x28b4cd[_0x258f24(0x7b)]=0x8]=_0x258f24(0x7b),_0x28b4cd[_0x28b4cd['COMPLETION_FINISHED']=0x9]=_0x258f24(0x197),_0x28b4cd[_0x28b4cd[_0x258f24(0x1e6)]=0xa]=_0x258f24(0x1e6),_0x28b4cd[_0x28b4cd[_0x258f24(0xa1)]=0x1389]=_0x258f24(0xa1),_0x28b4cd[_0x28b4cd[_0x258f24(0x2d0)]=0x1771]=_0x258f24(0x2d0),_0x28b4cd[_0x28b4cd['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x258f24(0x12d),_0x28b4cd[_0x28b4cd[_0x258f24(0x26d)]=0x1773]=_0x258f24(0x26d),_0x28b4cd[_0x28b4cd['APPLY_REJECT']=0x1b59]=_0x258f24(0x1d2),_0x28b4cd[_0x28b4cd[_0x258f24(0xd0)]=0x1b5a]=_0x258f24(0xd0),_0x28b4cd[_0x28b4cd[_0x258f24(0x290)]=0x1b5b]=_0x258f24(0x290),_0x28b4cd[_0x28b4cd[_0x258f24(0x91)]=0x1b5c]=_0x258f24(0x91),_0x28b4cd[_0x28b4cd['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x28b4cd[_0x28b4cd[_0x258f24(0x247)]=0x1f41]=_0x258f24(0x247),_0x28b4cd[_0x28b4cd[_0x258f24(0x29a)]=0x2329]=_0x258f24(0x29a),_0x28b4cd[_0x28b4cd[_0x258f24(0x272)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x28b4cd[_0x28b4cd[_0x258f24(0x2e5)]=0x232b]=_0x258f24(0x2e5),_0x28b4cd[_0x28b4cd[_0x258f24(0x1cf)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x28b4cd[_0x28b4cd[_0x258f24(0x277)]=0x232d]=_0x258f24(0x277),_0x28b4cd[_0x28b4cd[_0x258f24(0xf4)]=0x2711]=_0x258f24(0xf4),_0x28b4cd[_0x28b4cd[_0x258f24(0x2b1)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x28b4cd[_0x28b4cd['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x258f24(0x110),_0x28b4cd[_0x28b4cd[_0x258f24(0x11e)]=0x2714]=_0x258f24(0x11e),_0x28b4cd[_0x28b4cd[_0x258f24(0x305)]=0x271a]=_0x258f24(0x305),_0x28b4cd[_0x28b4cd['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x258f24(0x14d),_0x28b4cd[_0x28b4cd[_0x258f24(0x136)]=0x2af9]=_0x258f24(0x136),_0x28b4cd[_0x28b4cd['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x258f24(0x121),_0x28b4cd[_0x28b4cd['INVALID_INVITE_CODE']=0x2ee2]=_0x258f24(0xf2),_0x28b4cd[_0x28b4cd[_0x258f24(0x115)]=0x2ee3]=_0x258f24(0x115),_0x28b4cd[_0x28b4cd[_0x258f24(0x179)]=0x2ee4]=_0x258f24(0x179),_0x28b4cd[_0x28b4cd[_0x258f24(0x2e6)]=0x2ee5]=_0x258f24(0x2e6),_0x28b4cd[_0x28b4cd['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x258f24(0x28f),_0x28b4cd[_0x28b4cd[_0x258f24(0x1ad)]=0x32ca]=_0x258f24(0x1ad),_0x28b4cd[_0x28b4cd[_0x258f24(0x292)]=0x32cb]=_0x258f24(0x292),_0x28b4cd[_0x28b4cd['UNRECOGNIZED']=-0x1]=_0x258f24(0x239),_0x28b4cd))(_0x31b563||{}),_0x417cd8=Object[_0x258f24(0x26f)],_0x384027=(_0x15af9c,_0x4eabd4,_0x5dc956,_0x46dc18)=>{const _0x49cc83=_0x258f24;for(var _0x13e90f=_0x46dc18>0x1?void 0x0:_0x46dc18?_0x417cd8(_0x4eabd4,_0x5dc956):_0x4eabd4,_0x1ce585=_0x15af9c[_0x49cc83(0x2ee)]-0x1,_0x18e5ec;_0x1ce585>=0x0;_0x1ce585--)(_0x18e5ec=_0x15af9c[_0x1ce585])&&(_0x13e90f=_0x18e5ec(_0x13e90f)||_0x13e90f);return _0x13e90f;},_0x4f4403=(_0x54cb56,_0x170d2d)=>(_0x42cd1b,_0x9ae93b)=>_0x170d2d(_0x42cd1b,_0x9ae93b,_0x54cb56);_0x3bccaa[_0x258f24(0x12e)]=class extends _0x3207a9[_0x258f24(0x17e)]{constructor(_0x543adb,_0x438dad,_0x512054){const _0xb402fd=_0x258f24;super(),this['_instanceService']=_0x543adb,this[_0xb402fd(0x1cb)]=_0x438dad,this['_configService']=_0x512054;}async['runOnServer'](_0x56a834,_0x458ecf,_0x120704,..._0x639af3){const _0x27d423=_0x258f24;var _0x45a8a0,_0x239142,_0x2928e3,_0x2dd67d;const _0x5d7770=this[_0x27d423(0x8a)]['getFocusedUnit']();if(!_0x5d7770)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x48d171=((_0x45a8a0=this[_0x27d423(0xc7)][_0x27d423(0x2c9)](_0x1102c8[_0x27d423(0x1fb)]))!=null?_0x45a8a0:_0x1102c8[_0x27d423(0x263)])+'/'+_0x56a834+_0x27d423(0x2f4)+_0x458ecf,_0x265a8f=new URL(window[_0x27d423(0x20b)]['href']),_0x1ab8ee={'scriptId':_0x56a834,'runId':(_0x239142=_0x265a8f[_0x27d423(0x2a8)][_0x27d423(0x1e9)](_0x27d423(0xab)))!=null?_0x239142:'','function':_0x458ecf,'unitId':_0x5d7770[_0x27d423(0x266)](),'argsOfFunction':JSON[_0x27d423(0x289)](_0x639af3),'invokeId':(_0x2928e3=_0x120704['invokeId'])!=null?_0x2928e3:'','executionId':(_0x2dd67d=_0x120704[_0x27d423(0x24a)])!=null?_0x2dd67d:''};try{const _0x4286af=await this[_0x27d423(0x1cb)][_0x27d423(0x10c)](_0x48d171,{'body':_0x1ab8ee});return _0x4286af[_0x27d423(0x243)][_0x27d423(0x18b)]&&_0x4286af[_0x27d423(0x243)][_0x27d423(0x18b)][_0x27d423(0x2a1)]!==_0x31b563['OK']?_0x27d423(0x168):_0x4286af[_0x27d423(0x243)][_0x27d423(0xd9)];}catch{return _0x27d423(0x168);}}},_0x3bccaa[_0x258f24(0x12e)]=_0x384027([_0x4f4403(0x0,_0x3207a9[_0x258f24(0x18d)]),_0x4f4403(0x1,_0x3207a9[_0x258f24(0x1cc)](_0x283bfb[_0x258f24(0x14f)])),_0x4f4403(0x2,_0x3207a9[_0x258f24(0x99)])],_0x3bccaa['RemoteUniscriptService']),_0x3bccaa[_0x258f24(0x230)]=_0x113c68,_0x3bccaa[_0x258f24(0x1a2)]=_0x3a5050,_0x3bccaa['SheetCollabCursorShape']=_0x395e33,_0x3bccaa[_0x258f24(0xc4)]=_0x33d2e9,_0x3bccaa[_0x258f24(0x24f)]=_0x4c1e75,Object[_0x258f24(0x2ce)](_0x3bccaa,Symbol[_0x258f24(0x175)],{'value':_0x258f24(0x107)});}));
|
|
1
|
+
function _0x377c(_0x4f2a9e,_0x211c44){const _0x448d27=_0x448d();return _0x377c=function(_0x377cff,_0x1db19b){_0x377cff=_0x377cff-0x9a;let _0x38703b=_0x448d27[_0x377cff];return _0x38703b;},_0x377c(_0x4f2a9e,_0x211c44);}function _0x448d(){const _0x23f7dc=['unitId','TRANSFORM_CHANGE_OBSERVABLE_TYPE','popstate','PY_RUNTIME_SCRIPT_ERROR','getCurrentSelections','drawWith','CollaborationUIEventId','session.will-retry','IUniverInstanceService','_onRefRangeChange','_updateSubUnitFromURLParams','_initResize','NodePositionConvertToRectRange','OTHER_CLIENT_EDITING','mergeOverrideWithDependencies','UniverIcon','children','xlink:href','getCellPositionByOffset','engine','apply','serializeRangeWithSheet','_hovered','Tools','onCommandExecuted','debug','_range','LICENSE_EXPORT_SIZE_EXCEEDED','name','NOT_COLLAB','setAlpha','_docTransformSelectionsService','BrowserCollaborationSocketService','handleDeleteRangeMoveUp','CollaborationSessionService','_setupSubUnitSync','_handleLeaveEvent','assign','_transformHistoryAndStateStack','SOCKET_FAILED','_getSheetObject','LICENSE_IMPORT_SIZE_EXCEEDED','forwardRef','IDocClipboardService','BehaviorSubject','deepClone','trim','_revisionService','_startDocCollabCursor','_init','storage','arc','_cursorInfo$','LOCAL_CACHE_INTERVAL','getFocusedUnit','_heartbeatTimer','_messageService','symbol','amd','transformMutation','max','USER_NOT_INVITED_CODE','fromEvent','resize','APPLY_REJECT','CollaborationEvent','location','_saveCache','RichTextEditingMutation','UniverEngineFormula','_drawAnchor','NO_OTHER_CLIENTS_EDITING','skeleton','_onCursorDelete','ILocalCacheService','executeCommand','UniverDocs','Error','_removeClearOtherTimer','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','INVITE_CODE_HAS_BEEN_UES','getMemberID','roomMembers','fromEventSubject','takeUntil','_anchorDot','_entityInit$','_initStatusListener','defineProperty','UniverCollaborationClientPlugin','UPDATE_CURSOR','setTimeout','fillRule','attrs','_initCommandExecutedListener','APPLY_NON_SEQUENTIAL_REVISION','univer-flex\x20univer-mr-2\x20univer-text-[20px]','isEditing','DOC_RANGE_TYPE','saveTaskMap','toRgbString','currentTheme$','_onCursorUpdate','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','override','VIEW_MAIN','isArray','UniverSheetsUi','transformMutationsWithChangeset','_scene','react/jsx-runtime','row','handleInsertRow','OFFLINE','transformIMECache','DeleteRangeMoveUpCommandId','lineTo','EMAIL_HAS_BEEN_BOUND','searchParams','color','CollaborationSocketService','_saveTaskMap','_online','transformStateCache','RxDisposable','DependentOn','ONLINE','YUUMI_SUBSCRIPTION_NOT_FOUND','_session','runOnServer','get','_docSkeletonManagerService','AWAITING','startColumn','TEXT_RANGE_LAYER_INDEX','setInterval','clipPath','getColor','_logService','DocSelectionManagerService','UNDEFINED','_docTransformStateCacheService','DeleteRangeMoveLeftCommandId','getConfig','_instanceService','subUnitId','collaboration.closeRoom','rxjs/operators','UniverDrawing','5283230MlIWUI','_updateURLWithCurrentState','_initStatusComponent','@univerjs/ui','/run/','idSuffix','getActiveRange','DataLoaderService','ranges','SOCKET_FAILED_RETRY','onRendered','_docTransformIMECacheService','svg','actions','RECT','roomMembers$','_localStorageService','APPLY_PERMISSION_DENIED','textRanges','WECHAT_HAS_BEEN_BOUND','string','Shape','_entities','_injector','UniverEngineRender','complete','subunit','@univerjs/rpc','extend','YUUMI_ASYNCIO_CANCELLED','univer-text-red-500','unit','@univerjs/docs-ui','handleInsertRangeMoveDown','_themeService','registerBeforeClose','OTHER_CLIENTS_EDITING','then','redoState','getCollabCursors$','saveImage','_createSocketURL','_httpService','Rectangle','from','imageSourceType','clearTimeout','entries','_initDependencies','toString','_handleHover','dispose','collaboration-client-ui.config','blue400','_getSaveTimeout','setShapeProps','round','merge','_notificationService','ACTIVE_UNIT_EVENT_CHANNEL','Vector2','loadOfflineData','IMessageService','UniverProCollaborationClientUi','getCurrentUnitForType','INTERNAL_ERROR','syncEditingCollabCursor','#fff','replace','status$','_uiPartsService','getItem','defs','setUndoRedoMutationParamsCache','WebURLService','ThemeService','ALREADY_EXISTS','_transformService','filter','@univerjs/drawing','cursorInfo','getSkeleton','addObjects','key','transformRemoteChangeset','prototype','runId','switchMap','jiqing500','MoveRangeCommandId','SNAPSHOT_INVALID_SNAPSHOT','saveOfflineData','1wsyClB','addHandlerCallback','INVITE_CODE_REQUIRED','addClipboardHook','sheetID','verdancy600','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','clsx','with','type','_updateCollabCursors','_textBubble','409486zRkQMU','Rect','CollaborationStatusDisplay','CollaborationController','length','_cursors','InsertColCommandId','getRangePointData','UniverNetwork','colorChannel1','eventID','RegularPolygon','TEXT','COLORS','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','UNIVER_SHEET','onLocalMutation','_unitOnClients','bottom','tag','map','registerRefRange','combineLatest','exhaustSavingTask','_transformUndoRedoStack','collab-text-range-','LOCAL_CACHE_INTERVAL_KEY','INVITE_CODE_ALREADY_BOUND','CollaborationDataLoaderController','_refreshCollabCursors','setConfig','pluginName','includes','0\x200\x2017\x2016','_collabSessionService','debounce','Injector','_assignedColors','generateRandomId','ColorKit','hide','all','RefRangeService','executionId','InsertRangeMoveDownCommandId','newValue','OnLineSingle','INVALID_INVITE_CODE','some','_send','_urlService','handleInsertCol','_hideTimer','collabStatus.offline','doc.mutation.rich-text-editing','current','_scheduleSaving','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','closePath','univer-text-green-500','_getScale','_docSyncEditingCollabCursorService','indexOf','pipe','split','next','_document','createElement','isTransformMutationFailure','_scheduleHeartbeat','parse','off-line-single','send','_memberService','@univerjs/design','fill','_name','BuiltInUIPart','getDocRanges','Workbook','_registerRenderDependencies','SHEET_VIEWPORT_KEY','save','5agIsxu','CONFLICT','_beforeCloseService','focused$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_collabCursorState$','data','fillStyle','mapTo','@univerjs-pro/collaboration-client','column','CONNECTOR_DATA_TOO_LARGE','_cachedData','_ensureSubject','range','SetSelectionsOperation','uni.network.url-service','getViewport','getRenderById','docStateChange$','INVALID_ARGUMENT','SNAPSHOT_HAS_BEEN_REMOVED','ITransformService','LICENSE_DISTRO_REJECTED','requireSession','getMember','icon','react','throttleTime','IBeforeCloseService','_collabCursorController','@univerjs/docs','_commandService','params','M0\x200H16V16H0z','EffectRefRangId','runRefRangeMutations','_setupBeforeClosingHandler','_scheduleClearOtherTimer','_handleJoinEvent','_config','ticket','_labelPosition','displayName','sessionStatus$','url(#$1','_render','YUUMI_NO_CUBOID_FOR_QUESTION','_id','_colorIndex','_toggleOnline','getTypeOfUnitAdded$','add','reconnect','forEach','replaceState','getVpScrollXYInfoByPosToVp','selection','_syncEditingCollabCursorService','@univerjs/network','91084HzPLoj','gold400','_cursorShapes','ILocalStorageService','1674225wEYvry','_clearOtherTimers','distinctUntilChanged','jsx','[CollaborationDataLoaderController]','_doCreateSocket','size','getLocalCacheKey','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','permission.title','disposeWithMe','text','UniverUi','MOBILE_HAS_BEEN_BOUND','unsubscribe','_localCacheService','translate(.97)','getValue','_draw','_docClipboardService','evenodd','_renderManagerService','_removeCollabCursors','hovered','collab-rect-range-','isActive','univer-flex\x20univer-items-center','endColumn','_anchor','_configService','JOIN_ROOM_FAILED','FromArray','selections','YUUMI_ALL_TABLES_IS_INVALID','useDependency','React','createSocket','Tooltip','handleMoveRange','_handleHeartbeatEvent','CommandType','_docSkeleton','CollaborationUIEventService','_dataLoaderService','values','findNodePositionByCharIndex','RemoteUniscriptService','IUIPartsService','COMPLETION_FINISHED','pushState','HEADER_MENU','PERMISSION_DENIED','_initEvent','Module','collabStatus.notCollab','error','getSheetBySheetId','subscribe','getOwnPropertySymbols','SheetsSelectionsService','path','whenReady','SessionStatus','updateOfflineData','_colorAssignService','LOGIN_FAILED','operators','onMouseMove','DocIMEInputManagerService','assignAColorForMemberID','rxjs','concat','[RemoteUniscriptService]:\x20no\x20focused\x20unit','Inject','debounceTime','NodePositionConvertToCursor','fillText','black','object','getAncestorScale','code','1em','_localeService','@univerjs-pro/collaboration','show','_unitStatus','_status$','ISocketService','init','off-line-single_clip0_910_343','_transformPreviousActiveRange','UNIVER_DOC','propertyIsEnumerable','addObject','getCollabEntity$','url(#off-line-single_clip0_910_343)','InsertRowCommandId','getParam','_toggleOffline','DocStateChangeManagerService','collaboration-client.offline-data-not-saved','_refRangeService','USERS_LEAVE','history','DocSkeletonManagerService','clearInterval','_collaborationUIEventService','Warning','backgroundColor','IRenderManagerService','YUUMI_AI_RUN_FAILED','SheetCollabCursorShape','IConfigService','createInstance','_univerInstanceService','MemberService','has','restore','_initEntityListener','onPointerMove$','_getSessionTicket','push','UniverCore','makeDirty','getOffsetConfig','_color','...','@univerjs/sheets','width','_docStateChangeManagerService','getMergeData','getStateCache','UnitStatus','SheetSkeletonManagerService','YUUMI_RATE_OVER_LIMIT','DesktopCollaborationStatusDisplayController','call','getCurrent','delete','getOwnPropertyDescriptor','getUndoRedoMutationParamsCache','unshift','cursorInfo$','_roomMembers$','@univerjs/engine-formula','_startSheetCollabCursor','m2Prime','ENSURE_SNAPSHOT_EXECUTION','RevisionService','getUnitId','getSheetId','beginPath','CollaborationStatus','SetDocZoomRatioOperation','registerDependencies','sheetId','className','0\x200\x2016\x2016','collabStatus.synced','MessageType','_collaborationController','univerjs-icon\x20univerjs-icon-','_registerDependencies','triggerDblclick','ISnapshotServerService','collabCursorState$','202839HfqwGN','YUUMI_UNABLE_LOAD_URL','on-line-single','useObservable','createIdentifier','ICommandService','onTransformChange$','_lastPointer','min','getActiveSheet','source','_selfUnitIDs','post','undoState','WebSocketService','NOT_FOUND','div','defIds','currentSkeleton$','toDisposable','contains','_drawTextRange','measureText','substring','onPointerLeave$','Subject','urlChange$','LICENSE_MAX_UNITS_EXCEEDED','SUBMIT_CHANGESET_TIMEOUT','_drawRectRange','onPointerEnter$','_hover','currentColor','setItem','_eventUnsubscribe','m1Prime','transformSelections','labelPosition','mutations','_handleEvent','subscribeEvent','INotificationService','_sheetSkeletonManagerService','url(#on-line-single_clip0_910_349)','APPLY_DUPLICATED','sessionTicket','entityInit$','YUUMI_URL_COL_OUT_OF_RANGE','HTTPService','Unknown\x20user','LocaleService','@univerjs/sheets-ui','_imageIoService','collab-client.tooltip.reconnect','enableLocalCache','dispose$','mask','body','UniverCollaborationClientUIPlugin','collabStatus.syncing','none','getCurrentRevOfUnit','_context','Failed','unitID','_backgroundColor','event$','55480SXzyCK','isTransformMutationsWithChangesetSuccess','154JHWNJN','stringify','@univerjs/core','href','IURLService','asObservable','Disposable','UNAUTHENTICATED','loadUnit','on-line-single_clip0_910_349','_getAnchorBounding','ILogService','shareReplay','UniverInstanceType','UNRECOGNIZED','_updateLocalCursor','_disabled','_cursor','_shapes','UniverRpc','jsxs','SYNCED','set','102354ADxQdR'];_0x448d=function(){return _0x23f7dc;};return _0x448d();}(function(_0x15269c,_0x278045){const _0x308b5b=_0x377c,_0x2029d5=_0x15269c();while(!![]){try{const _0x12335a=-parseInt(_0x308b5b(0x312))/0x1*(parseInt(_0x308b5b(0x31e))/0x2)+-parseInt(_0x308b5b(0x1c4))/0x3+-parseInt(_0x308b5b(0x11a))/0x4*(parseInt(_0x308b5b(0xde))/0x5)+parseInt(_0x308b5b(0x220))/0x6+parseInt(_0x308b5b(0x209))/0x7*(parseInt(_0x308b5b(0x207))/0x8)+-parseInt(_0x308b5b(0x11e))/0x9+parseInt(_0x308b5b(0x2b6))/0xa;if(_0x12335a===_0x278045)break;else _0x2029d5['push'](_0x2029d5['shift']());}catch(_0x2ee2db){_0x2029d5['push'](_0x2029d5['shift']());}}}(_0x448d,0x34ee0),function(_0xe43092,_0x3f8cdd){const _0x55e112=_0x377c;typeof exports==_0x55e112(0x16c)&&typeof module<'u'?_0x3f8cdd(exports,require(_0x55e112(0xe7)),require('@univerjs/core'),require('@univerjs/engine-render'),require(_0x55e112(0x119)),require(_0x55e112(0x2d6)),require('@univerjs/drawing'),require(_0x55e112(0x164)),require(_0x55e112(0xfd)),require(_0x55e112(0x171)),require(_0x55e112(0x1ae)),require(_0x55e112(0x19d)),require(_0x55e112(0x2b4)),require(_0x55e112(0x1f7)),require('react/jsx-runtime'),require(_0x55e112(0x2b9)),require(_0x55e112(0xd5)),require('react'),require(_0x55e112(0x2d1))):typeof define=='function'&&define[_0x55e112(0x25b)]?define(['exports',_0x55e112(0xe7),_0x55e112(0x20b),'@univerjs/engine-render',_0x55e112(0x119),_0x55e112(0x2d6),_0x55e112(0x305),'rxjs',_0x55e112(0xfd),_0x55e112(0x171),_0x55e112(0x1ae),_0x55e112(0x19d),_0x55e112(0x2b4),_0x55e112(0x1f7),_0x55e112(0x28f),_0x55e112(0x2b9),_0x55e112(0xd5),_0x55e112(0xf9),_0x55e112(0x2d1)],_0x3f8cdd):(_0xe43092=typeof globalThis<'u'?globalThis:_0xe43092||self,_0x3f8cdd(_0xe43092[_0x55e112(0x2f5)]={},_0xe43092['UniverProCollaborationClient'],_0xe43092[_0x55e112(0x198)],_0xe43092[_0x55e112(0x2ce)],_0xe43092[_0x55e112(0x326)],_0xe43092['UniverDocsUi'],_0xe43092[_0x55e112(0x2b5)],_0xe43092[_0x55e112(0x164)],_0xe43092[_0x55e112(0x26d)],_0xe43092['UniverProCollaboration'],_0xe43092[_0x55e112(0x266)],_0xe43092['UniverSheets'],_0xe43092['rxjs'][_0x55e112(0x160)],_0xe43092[_0x55e112(0x28c)],_0xe43092[_0x55e112(0x141)],_0xe43092[_0x55e112(0x12a)],_0xe43092['UniverDesign'],_0xe43092['React'],_0xe43092[_0x55e112(0x21c)]));}(this,function(_0x4b0a9d,_0x144b9c,_0x5e3496,_0x8bdac5,_0x4656bc,_0xc6f069,_0x5810ce,_0x40ed3d,_0x2415d7,_0x4251b3,_0x4c4d7e,_0x57834c,_0x46a2d7,_0x2d5f4e,_0x24ac85,_0x4dbd51,_0x13f7dc,_0x29a331,_0xc09291){'use strict';const _0x1b0c82=_0x377c;var _0x208f76=Object['defineProperty'],_0x11808b=(_0x1d6844,_0x213707,_0x203a44)=>_0x213707 in _0x1d6844?_0x208f76(_0x1d6844,_0x213707,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x203a44}):_0x1d6844[_0x213707]=_0x203a44,_0x5be2b7=(_0x91cfc,_0x3a2b5b,_0x2ad34b)=>_0x11808b(_0x91cfc,typeof _0x3a2b5b!=_0x1b0c82(0x25a)?_0x3a2b5b+'':_0x3a2b5b,_0x2ad34b),_0x3ba8b8=Object[_0x1b0c82(0x1a9)],_0x51a522=(_0x52eff7,_0x265250,_0x3bac01,_0x38ae66)=>{const _0x13007c=_0x1b0c82;for(var _0x740450=_0x38ae66>0x1?void 0x0:_0x38ae66?_0x3ba8b8(_0x265250,_0x3bac01):_0x265250,_0x391951=_0x52eff7[_0x13007c(0x322)]-0x1,_0x34021b;_0x391951>=0x0;_0x391951--)(_0x34021b=_0x52eff7[_0x391951])&&(_0x740450=_0x34021b(_0x740450)||_0x740450);return _0x740450;},_0x107fdc=(_0x1b2f53,_0x4002fe)=>(_0x365fb7,_0x2de618)=>_0x4002fe(_0x365fb7,_0x2de618,_0x1b2f53);let _0x59a980=class extends _0x5e3496[_0x1b0c82(0x29d)]{constructor(_0x376125,_0x31a627){const _0x4bef90=_0x1b0c82;super(),this['_docClipboardService']=_0x376125,this[_0x4bef90(0x1f8)]=_0x31a627,this[_0x4bef90(0x252)]();}[_0x1b0c82(0x252)](){const _0x2849df=_0x1b0c82,_0xdb1994=this;this[_0x2849df(0x128)](this[_0x2849df(0x131)][_0x2849df(0x315)]({'onBeforePasteImage':async _0x14dd93=>{const _0x37f868=_0x2849df,_0x56ac4e=await _0xdb1994[_0x37f868(0x1f8)][_0x37f868(0x2de)](_0x14dd93);return _0x56ac4e?{'source':_0x56ac4e[_0x37f868(0x1ce)],'imageSourceType':_0x56ac4e[_0x37f868(0x2e3)]}:null;}}));}};_0x59a980=_0x51a522([_0x107fdc(0x0,_0xc6f069[_0x1b0c82(0x24c)]),_0x107fdc(0x1,_0x5810ce['IImageIoService'])],_0x59a980);const _0x480b23=['purple300',_0x1b0c82(0x30e),_0x1b0c82(0x317),'red300',_0x1b0c82(0x2eb),_0x1b0c82(0x11b)];class _0x1d0933 extends _0x5e3496[_0x1b0c82(0x20f)]{constructor(){const _0x33f037=_0x1b0c82;super(...arguments),_0x5be2b7(this,_0x33f037(0xb0),new Map()),_0x5be2b7(this,_0x33f037(0x10f),0x0);}[_0x1b0c82(0x163)](_0x337243){const _0x1e7336=_0x1b0c82;if(this[_0x1e7336(0xb0)][_0x1e7336(0x192)](_0x337243))return this[_0x1e7336(0xb0)][_0x1e7336(0x2a3)](_0x337243);const _0x40999c=_0x480b23[this[_0x1e7336(0x10f)]];return this[_0x1e7336(0x10f)]=(this[_0x1e7336(0x10f)]+0x1)%_0x480b23['length'],this['_assignedColors'][_0x1e7336(0x21f)](_0x337243,_0x40999c),_0x40999c;}}function _0x10f1e6(_0x619f27){const _0x20240f=_0x1b0c82;let _0x57eeb0='';for(const _0x4e5b4b of _0x619f27){const {startOffset:_0x2dab33,endOffset:_0x505b0d,isActive:_0x1e8788,rangeType:_0x3f934d,segmentId:_0x2a150d,segmentPage:_0x4c2c17}=_0x4e5b4b;_0x57eeb0[_0x20240f(0x322)]&&(_0x57eeb0+=','),_0x57eeb0+=_0x2dab33+':'+_0x505b0d+':'+(_0x1e8788?'1':'0')+':'+_0x3f934d+':'+_0x2a150d+':'+_0x4c2c17;}return _0x57eeb0;}function _0x3635e5(_0x205f00){const _0x48000d=_0x1b0c82,_0x102fef=_0x205f00[_0x48000d(0xcb)](','),_0x2e35df=[];for(const _0x2fbcf2 of _0x102fef){const [_0x2b0b2a,_0x45a6e7,_0x4462f4,_0x21ae15,_0x546bc7,_0x83a8fe]=_0x2fbcf2[_0x48000d(0xcb)](':');_0x2e35df[_0x48000d(0x197)]({'startOffset':Number(_0x2b0b2a),'endOffset':Number(_0x45a6e7),'collapsed':_0x2b0b2a===_0x45a6e7,'isActive':_0x4462f4==='1','rangeType':_0x21ae15===_0x5e3496[_0x48000d(0x283)]['TEXT']?_0x5e3496['DOC_RANGE_TYPE'][_0x48000d(0x32a)]:_0x5e3496['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x546bc7==_0x48000d(0x2ca)?String(_0x546bc7):'','segmentPage':Number(_0x83a8fe!=null?_0x83a8fe:-0x1)});}return _0x2e35df[_0x48000d(0xbb)](_0x49a4ad=>_0x49a4ad['isActive'])||(_0x2e35df[0x0][_0x48000d(0x137)]=!0x0),_0x2e35df;}class _0x238d27 extends _0x5e3496[_0x1b0c82(0x29d)]{constructor(){const _0x261901=_0x1b0c82;super(...arguments),_0x5be2b7(this,_0x261901(0xe3),new _0x40ed3d[(_0x261901(0x24d))](null)),_0x5be2b7(this,_0x261901(0x1c3),this[_0x261901(0xe3)][_0x261901(0x20e)]());}[_0x1b0c82(0x2f8)](_0x1e0e74){const _0x4bf252=_0x1b0c82,{unitID:_0x28e236,memberID:_0x2ae84a,textRanges:_0x39186c}=_0x1e0e74,_0xab2b4=_0x10f1e6(_0x39186c);if(_0xab2b4==='')return;const _0x85be00={'unitID':_0x28e236,'memberID':_0x2ae84a,'selection':_0xab2b4};this[_0x4bf252(0xe3)][_0x4bf252(0xcc)](_0x85be00);}}var _0x4c45cf=Object['getOwnPropertyDescriptor'],_0x140f30=(_0x2dc719,_0x3c0051,_0x3b2781,_0x1b8f73)=>{const _0x3a0df7=_0x1b0c82;for(var _0x1b523d=_0x1b8f73>0x1?void 0x0:_0x1b8f73?_0x4c45cf(_0x3c0051,_0x3b2781):_0x3c0051,_0x514fd4=_0x2dc719[_0x3a0df7(0x322)]-0x1,_0x2daf9b;_0x514fd4>=0x0;_0x514fd4--)(_0x2daf9b=_0x2dc719[_0x514fd4])&&(_0x1b523d=_0x2daf9b(_0x1b523d)||_0x1b523d);return _0x1b523d;},_0x31243a=(_0x4408fa,_0x458eb1)=>(_0x5dcb8e,_0x5bfa94)=>_0x458eb1(_0x5dcb8e,_0x5bfa94,_0x4408fa);const _0xd424ba=0x12c,_0x453929=0x64;let _0x2a3fd4=class extends _0x5e3496[_0x1b0c82(0x29d)]{constructor(_0x43c9f0,_0x214f1d,_0x46ba9b,_0x5c038d,_0x23c647,_0x44b76b,_0x287ef3,_0x173eb2,_0x1c9569){const _0x33818a=_0x1b0c82;super(),_0x5be2b7(this,_0x33818a(0x29b),!0x1),_0x5be2b7(this,_0x33818a(0x252),!0x1),_0x5be2b7(this,_0x33818a(0x255),new _0x40ed3d[(_0x33818a(0x24d))](new Map())),_0x5be2b7(this,_0x33818a(0x1ac),this[_0x33818a(0x255)][_0x33818a(0x20e)]()),_0x5be2b7(this,_0x33818a(0x1ad),new _0x40ed3d[(_0x33818a(0x24d))]([])),_0x5be2b7(this,_0x33818a(0x2c5),this[_0x33818a(0x1ad)][_0x33818a(0xca)](_0x40ed3d[_0x33818a(0x168)](_0xd424ba))),_0x5be2b7(this,_0x33818a(0x218),_0x5e3496[_0x33818a(0xae)](_0x35bc3c=>{const _0x1e9cdd=_0x33818a,_0x26c887={'eventID':_0x4251b3[_0x1e9cdd(0x262)][_0x1e9cdd(0x27b)],'data':{'unitID':this['unitID'],'memberID':this[_0x1e9cdd(0x2a1)][_0x1e9cdd(0x272)](),'selection':_0x10f1e6(_0x35bc3c)}};this[_0x1e9cdd(0x2a1)][_0x1e9cdd(0xd3)](_0x26c887,this[_0x1e9cdd(0x204)]);},_0x453929)),(this[_0x33818a(0x204)]=_0x43c9f0,this[_0x33818a(0x2a1)]=_0x214f1d,this[_0x33818a(0x2cd)]=_0x46ba9b,this['_colorAssignService']=_0x5c038d,this[_0x33818a(0xd4)]=_0x23c647,this[_0x33818a(0x118)]=_0x44b76b,this[_0x33818a(0x303)]=_0x287ef3,this[_0x33818a(0x190)]=_0x173eb2,this[_0x33818a(0xfe)]=_0x1c9569);}get[_0x1b0c82(0x306)](){const _0x1b1204=_0x1b0c82;return this[_0x1b1204(0x255)][_0x1b1204(0x12f)]();}get[_0x1b0c82(0x273)](){const _0x4e675f=_0x1b0c82;return this[_0x4e675f(0x1ad)][_0x4e675f(0x12f)]();}[_0x1b0c82(0x2e9)](){const _0x7439e2=_0x1b0c82;super['dispose'](),this[_0x7439e2(0x255)][_0x7439e2(0xcc)](new Map()),this[_0x7439e2(0x255)][_0x7439e2(0x2cf)](),this['_roomMembers$']['next']([]),this[_0x7439e2(0x1ad)][_0x7439e2(0x2cf)]();}[_0x1b0c82(0x176)](){const _0x3db4b8=_0x1b0c82;this[_0x3db4b8(0x252)]||(this[_0x3db4b8(0x252)]=!0x0,this[_0x3db4b8(0x2a1)][_0x3db4b8(0x10a)][_0x3db4b8(0xca)](_0x40ed3d['takeUntil'](this['dispose$']))[_0x3db4b8(0x157)](_0xe55e1d=>{const _0x146689=_0x3db4b8;_0xe55e1d===_0x144b9c['SessionStatus'][_0x146689(0x29f)]?this[_0x146689(0x110)]():this['_toggleOffline']();}),this[_0x3db4b8(0x2a1)][_0x3db4b8(0x206)][_0x3db4b8(0xca)](_0x40ed3d[_0x3db4b8(0x275)](this[_0x3db4b8(0x1fb)]))['subscribe'](_0x1b9648=>{const _0x5f23fc=_0x3db4b8,_0x119f63=_0x1b9648[_0x5f23fc(0x328)];_0x119f63===_0x4251b3[_0x5f23fc(0x262)][_0x5f23fc(0x27b)]&&this[_0x5f23fc(0x287)](_0x1b9648),_0x119f63===_0x4251b3[_0x5f23fc(0x262)]['USERS_LEAVE']&&this[_0x5f23fc(0x26a)](_0x1b9648);}),this[_0x3db4b8(0x128)](this[_0x3db4b8(0xfe)][_0x3db4b8(0x239)](_0x5645ba=>{const _0x2eac8e=_0x3db4b8,_0x57cdc8=_0x5645ba[_0x2eac8e(0xff)];_0x57cdc8!=null&&this[_0x2eac8e(0x29b)]&&_0x5645ba['id']===_0x2415d7['SetTextSelectionsOperation']['id']&&_0x57cdc8[_0x2eac8e(0x221)]===this[_0x2eac8e(0x204)]&&_0x57cdc8[_0x2eac8e(0x282)]===!0x1&&_0x57cdc8[_0x2eac8e(0x2be)][_0x2eac8e(0x322)]>0x0&&this[_0x2eac8e(0x218)](_0x57cdc8['ranges']);})),this[_0x3db4b8(0x118)]['collabCursorState$'][_0x3db4b8(0xca)](_0x40ed3d['takeUntil'](this[_0x3db4b8(0x1fb)]))[_0x3db4b8(0x157)](_0x556d53=>{const _0x3500d6=_0x3db4b8;if((_0x556d53==null?void 0x0:_0x556d53[_0x3500d6(0x204)])!==this[_0x3500d6(0x204)])return;const _0x3ad2bf={'eventID':_0x4251b3[_0x3500d6(0x262)][_0x3500d6(0x27b)],'data':_0x556d53};this['_onCursorUpdate'](_0x3ad2bf);}),this[_0x3db4b8(0x128)](this[_0x3db4b8(0xfe)][_0x3db4b8(0x239)](_0x1bfbf1=>{const _0x5e2635=_0x3db4b8;if(_0x1bfbf1[_0x5e2635(0xff)]==null)return;const _0x118082=_0x1bfbf1[_0x5e2635(0xff)];if(_0x1bfbf1['id']!==_0x2415d7[_0x5e2635(0x265)]['id']||_0x118082[_0x5e2635(0x221)]!==this[_0x5e2635(0x204)])return;const _0x3c72be={'id':_0x5e2635(0xc1),'params':_0x118082},_0x22d8a7=this[_0x5e2635(0x306)];for(const [_0x23ecea,_0x5aa7c3]of _0x22d8a7){const _0x2a9121={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5e2635(0x204)],'actions':null,'textRanges':_0x5aa7c3[_0x5e2635(0x2be)]}},_0xd65c1c=this[_0x5e2635(0x303)][_0x5e2635(0x25c)](_0x3c72be,_0x2a9121,!0x1);if(_0x4251b3[_0x5e2635(0xcf)](_0xd65c1c))throw _0xd65c1c[_0x5e2635(0x155)];_0x22d8a7['set'](_0x23ecea,{..._0x5aa7c3,'ranges':_0xd65c1c[_0x5e2635(0x1b0)][_0x5e2635(0xff)][_0x5e2635(0x2c8)]});}queueMicrotask(()=>{const _0x4d661c=_0x5e2635;this[_0x4d661c(0x255)][_0x4d661c(0xcc)](_0x22d8a7);});})));}[_0x1b0c82(0x287)](_0x20229a){const _0x49fb2c=_0x1b0c82;var _0x211f5d,_0x39f13f;const {memberID:_0xfa6712,selection:_0x21e0ee}=_0x20229a[_0x49fb2c(0xe4)],_0x4aa538=_0x3635e5(_0x21e0ee),_0x2a2ee8=(_0x39f13f=(_0x211f5d=this[_0x49fb2c(0xd4)][_0x49fb2c(0xf7)](this[_0x49fb2c(0x204)],_0xfa6712))==null?void 0x0:_0x211f5d[_0x49fb2c(0x23d)])!=null?_0x39f13f:_0x49fb2c(0x1f5),_0xd2ab22={'color':this['_colorAssignService']['assignAColorForMemberID'](_0xfa6712),'name':_0x2a2ee8,'ranges':_0x4aa538},_0x37460c=this[_0x49fb2c(0x306)];_0x37460c[_0x49fb2c(0x21f)](_0xfa6712,_0xd2ab22),this[_0x49fb2c(0x255)]['next'](_0x37460c);}[_0x1b0c82(0x26a)](_0x5713ce){const _0x4f3fc2=_0x1b0c82,{memberID:_0x5aade7}=_0x5713ce[_0x4f3fc2(0xe4)],_0x5541f9=this[_0x4f3fc2(0x306)];_0x5541f9[_0x4f3fc2(0x1a8)](_0x5aade7),this[_0x4f3fc2(0x255)][_0x4f3fc2(0xcc)](_0x5541f9);}[_0x1b0c82(0x110)](){const _0x92d6cc=_0x1b0c82;var _0x1e1a6c;if(this[_0x92d6cc(0x29b)]=!0x0,((_0x1e1a6c=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1e1a6c[_0x92d6cc(0x1b3)]())!==this[_0x92d6cc(0x204)])return;const _0x428832=this[_0x92d6cc(0x2cd)]['get'](_0x2415d7[_0x92d6cc(0x2ac)])[_0x92d6cc(0xd9)]();Array[_0x92d6cc(0x28b)](_0x428832)&&_0x428832[_0x92d6cc(0x322)]>0x0&&this['_updateLocalCursor'](_0x428832);}[_0x1b0c82(0x180)](){const _0x218aaa=_0x1b0c82;this[_0x218aaa(0x29b)]=!0x1;}};_0x2a3fd4=_0x140f30([_0x31243a(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0xaf)])),_0x31243a(0x3,_0x5e3496[_0x1b0c82(0x167)](_0x1d0933)),_0x31243a(0x4,_0x5e3496[_0x1b0c82(0x167)](_0x144b9c[_0x1b0c82(0x191)])),_0x31243a(0x5,_0x5e3496[_0x1b0c82(0x167)](_0x238d27)),_0x31243a(0x6,_0x4251b3[_0x1b0c82(0xf4)]),_0x31243a(0x7,_0x5e3496[_0x1b0c82(0x229)]),_0x31243a(0x8,_0x5e3496[_0x1b0c82(0x1c9)])],_0x2a3fd4);var _0x24e963=Object[_0x1b0c82(0x1a9)],_0x26089e=(_0x78484f,_0x31d954,_0x49c0ea,_0x15d5ef)=>{const _0x60d1b2=_0x1b0c82;for(var _0x3840a0=_0x15d5ef>0x1?void 0x0:_0x15d5ef?_0x24e963(_0x31d954,_0x49c0ea):_0x31d954,_0x1bbff8=_0x78484f[_0x60d1b2(0x322)]-0x1,_0x1655b2;_0x1bbff8>=0x0;_0x1bbff8--)(_0x1655b2=_0x78484f[_0x1bbff8])&&(_0x3840a0=_0x1655b2(_0x3840a0)||_0x3840a0);return _0x3840a0;},_0x1198f3=(_0x58fea7,_0x393b33)=>(_0x1422e9,_0x1c6751)=>_0x393b33(_0x1422e9,_0x1c6751,_0x58fea7);const _0x2ad051=0x12c,_0x11ad09=0x64,_0x59e375=()=>{let _0x402393=[],_0x4e6169=!0x1;return _0x962f68=>{const _0xbc9616=_0x377c;_0x402393[_0xbc9616(0x197)](_0x962f68),_0x4e6169||(_0x4e6169=!0x0,setTimeout(()=>{_0x402393['forEach'](_0x2df1a5=>_0x2df1a5()),_0x402393=[],_0x4e6169=!0x1;}));};};let _0x205f36=class extends _0x5e3496[_0x1b0c82(0x29d)]{constructor(_0x28105c,_0x403630,_0x34b567,_0x130a02,_0x49a182,_0x189bf8,_0x3021c0,_0x29cc09){const _0xfaaf79=_0x1b0c82;super(),_0x5be2b7(this,'_online',!0x1),_0x5be2b7(this,'_init',!0x1),_0x5be2b7(this,_0xfaaf79(0x255),new _0x40ed3d[(_0xfaaf79(0x24d))](new Map())),_0x5be2b7(this,_0xfaaf79(0x1ac),this['_cursorInfo$'][_0xfaaf79(0x20e)]()),_0x5be2b7(this,_0xfaaf79(0x1ad),new _0x40ed3d[(_0xfaaf79(0x24d))]([])),_0x5be2b7(this,'roomMembers$',this[_0xfaaf79(0x1ad)][_0xfaaf79(0xca)](_0x40ed3d[_0xfaaf79(0x168)](_0x2ad051))),_0x5be2b7(this,_0xfaaf79(0x218),_0x5e3496['debounce']((_0x353f80,_0x44b87e)=>{const _0x7edc24=_0xfaaf79,_0x663c6d={'eventID':_0x4251b3[_0x7edc24(0x262)][_0x7edc24(0x27b)],'data':{'unitID':this[_0x7edc24(0x204)],'memberID':this[_0x7edc24(0x2a1)][_0x7edc24(0x272)](),'selection':_0x4c4d7e[_0x7edc24(0x236)](_0x353f80,_0x44b87e[_0x7edc24(0xec)])}};this['_session'][_0x7edc24(0xd3)](_0x663c6d,this[_0x7edc24(0x204)]);},_0x11ad09)),(this[_0xfaaf79(0x204)]=_0x28105c,this[_0xfaaf79(0x2a1)]=_0x403630,this[_0xfaaf79(0x2cd)]=_0x34b567,this[_0xfaaf79(0x15e)]=_0x130a02,this[_0xfaaf79(0xd4)]=_0x49a182,this[_0xfaaf79(0x190)]=_0x189bf8,this['_commandService']=_0x3021c0,this[_0xfaaf79(0x183)]=_0x29cc09);}get['cursorInfo'](){const _0xb8160f=_0x1b0c82;return this[_0xb8160f(0x255)][_0xb8160f(0x12f)]();}get[_0x1b0c82(0x273)](){const _0x2052d7=_0x1b0c82;return this[_0x2052d7(0x1ad)][_0x2052d7(0x12f)]();}['dispose'](){const _0x1fbb19=_0x1b0c82;super[_0x1fbb19(0x2e9)](),this['_cursorInfo$'][_0x1fbb19(0xcc)](new Map()),this[_0x1fbb19(0x255)][_0x1fbb19(0x2cf)](),this[_0x1fbb19(0x1ad)][_0x1fbb19(0xcc)]([]),this[_0x1fbb19(0x1ad)][_0x1fbb19(0x2cf)]();}[_0x1b0c82(0x176)](){const _0xdb269c=_0x1b0c82;this[_0xdb269c(0x252)]||(this['_init']=!0x0,this[_0xdb269c(0x2a1)][_0xdb269c(0x10a)][_0xdb269c(0xca)](_0x40ed3d[_0xdb269c(0x275)](this[_0xdb269c(0x1fb)]))[_0xdb269c(0x157)](_0x8cbfbd=>{const _0x417edd=_0xdb269c;_0x8cbfbd===_0x144b9c[_0x417edd(0x15c)][_0x417edd(0x29f)]?this[_0x417edd(0x110)]():this['_toggleOffline']();}),this[_0xdb269c(0x2a1)][_0xdb269c(0x206)][_0xdb269c(0xca)](_0x40ed3d[_0xdb269c(0x275)](this[_0xdb269c(0x1fb)]))['subscribe'](_0x5aa42a=>{const _0x2ec0e0=_0xdb269c,_0x5d4c24=_0x5aa42a[_0x2ec0e0(0x328)];_0x5d4c24===_0x4251b3[_0x2ec0e0(0x262)][_0x2ec0e0(0x27b)]&&this[_0x2ec0e0(0x287)](_0x5aa42a),_0x5d4c24===_0x4251b3[_0x2ec0e0(0x262)][_0x2ec0e0(0x184)]&&this['_onCursorDelete'](_0x5aa42a);}),this[_0xdb269c(0x22a)](),this[_0xdb269c(0x128)](this[_0xdb269c(0xfe)]['onCommandExecuted'](_0x338efe=>{const _0x35e4b4=_0xdb269c;if(this['_online']&&_0x338efe['id']===_0x57834c[_0x35e4b4(0xed)]['id']&&_0x338efe[_0x35e4b4(0xff)][_0x35e4b4(0x221)]===this[_0x35e4b4(0x204)]){const _0x4c9662=_0x338efe[_0x35e4b4(0xff)];this[_0x35e4b4(0x218)](_0x4c9662[_0x35e4b4(0x2b2)],_0x4c9662[_0x35e4b4(0x13e)][0x0]);}})));}[_0x1b0c82(0x287)](_0x2b2bb6){const _0xc1b154=_0x1b0c82;var _0x2cfbc7,_0x1c04c4;const {memberID:_0x33d21a,selection:_0x2324b8}=_0x2b2bb6[_0xc1b154(0xe4)],{sheetName:_0x21ba45,range:_0x46f644}=_0x4c4d7e['deserializeRangeWithSheet'](_0x2324b8),_0x181aed={'name':(_0x1c04c4=(_0x2cfbc7=this['_memberService'][_0xc1b154(0xf7)](this['unitID'],_0x33d21a))==null?void 0x0:_0x2cfbc7[_0xc1b154(0x23d)])!=null?_0x1c04c4:_0xc1b154(0x1f5),'range':this['_getMergeRange'](_0x21ba45,_0x46f644),'sheetID':_0x21ba45,'color':this[_0xc1b154(0x15e)]['assignAColorForMemberID'](_0x33d21a),'selection':_0x2324b8},_0x211228=this[_0xc1b154(0x306)];_0x211228[_0xc1b154(0x21f)](_0x33d21a,_0x181aed),this[_0xc1b154(0x255)][_0xc1b154(0xcc)](_0x211228);}[_0x1b0c82(0x26a)](_0x46547d){const _0x46b768=_0x1b0c82,{memberID:_0x24b8b6}=_0x46547d[_0x46b768(0xe4)],_0x4a62bf=this[_0x46b768(0x306)];_0x4a62bf[_0x46b768(0x1a8)](_0x24b8b6),this[_0x46b768(0x255)][_0x46b768(0xcc)](_0x4a62bf);}['_getMergeRange'](_0xa94052,_0x1d841a){const _0x33a7e1=_0x1b0c82;var _0x3dab1c,_0x1bdc98;const _0x2d38d3=(_0x1bdc98=(_0x3dab1c=this[_0x33a7e1(0x190)]['getUniverSheetInstance'](this[_0x33a7e1(0x204)]))==null?void 0x0:_0x3dab1c['getSheetBySheetId'](_0xa94052))==null?void 0x0:_0x1bdc98[_0x33a7e1(0x1a0)]();return(_0x2d38d3==null?void 0x0:_0x2d38d3['find'](_0x2aaf01=>_0x5e3496[_0x33a7e1(0x2e1)][_0x33a7e1(0x1d8)](_0x2aaf01,_0x1d841a)))||_0x1d841a;}[_0x1b0c82(0x22a)](){const _0x46235e=_0x1b0c82,_0x45bd55=new _0x5e3496['DisposableCollection'](),_0x48ee5c=_0x59e375(),_0x5cb1dd=()=>{const _0x3afde1=_0x377c;_0x45bd55[_0x3afde1(0x2e9)]();const _0x323862=(_0xf61310,_0x559b8c,_0x15be99,_0x1e90c8)=>{const _0x32d15b=_0x3afde1;let _0x5afd4d=[];switch(_0xf61310['id']){case _0x57834c[_0x32d15b(0x101)][_0x32d15b(0x2af)]:{_0x5afd4d=_0x57834c['handleDeleteRangeMoveLeft'](_0xf61310,_0x1e90c8);break;}case _0x57834c[_0x32d15b(0x101)][_0x32d15b(0x294)]:{_0x5afd4d=_0x57834c[_0x32d15b(0x242)](_0xf61310,_0x1e90c8);break;}case _0x57834c['EffectRefRangId'][_0x32d15b(0x324)]:{_0x5afd4d=_0x57834c[_0x32d15b(0xbe)](_0xf61310,_0x1e90c8);break;}case _0x57834c[_0x32d15b(0x101)][_0x32d15b(0xb7)]:{_0x5afd4d=_0x57834c[_0x32d15b(0x2d7)](_0xf61310,_0x1e90c8);break;}case _0x57834c['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x5afd4d=_0x57834c['handleInsertRangeMoveRight'](_0xf61310,_0x1e90c8);break;}case _0x57834c[_0x32d15b(0x101)][_0x32d15b(0x17e)]:{_0x5afd4d=_0x57834c[_0x32d15b(0x291)](_0xf61310,_0x1e90c8);break;}case _0x57834c[_0x32d15b(0x101)][_0x32d15b(0x30f)]:{_0x5afd4d=_0x57834c[_0x32d15b(0x144)](_0xf61310,_0x1e90c8);break;}case _0x57834c['EffectRefRangId']['RemoveColCommandId']:{_0x5afd4d=_0x57834c['handleIRemoveCol'](_0xf61310,_0x1e90c8);break;}case _0x57834c[_0x32d15b(0x101)]['RemoveRowCommandId']:{_0x5afd4d=_0x57834c['handleIRemoveRow'](_0xf61310,_0x1e90c8);break;}}const _0x1f2257=_0x57834c[_0x32d15b(0x102)](_0x5afd4d,_0x1e90c8),_0x378fe6=this[_0x32d15b(0x306)][_0x32d15b(0x2a3)](_0x559b8c);if(_0x378fe6&&_0x1f2257){const _0x59cce4={..._0x378fe6,'range':_0x1f2257};this['cursorInfo'][_0x32d15b(0x21f)](_0x559b8c,_0x59cce4),_0x48ee5c(()=>{const _0x3fcb46=_0x32d15b,_0x1f8cef=this['_refRangeService']['registerRefRange'](_0x1f2257,_0x2aa20e=>(_0x1f8cef[_0x3fcb46(0x2e9)](),_0x323862(_0x2aa20e,_0x559b8c,_0x15be99,_0x1f2257)));_0x45bd55[_0x3fcb46(0x112)](_0x1f8cef);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x3afde1(0x114)]((_0x1acdd7,_0x3a5189)=>{const _0x50ec09=_0x3afde1,{range:_0xd04bc,sheetID:_0x568545}=_0x1acdd7,_0x7d403d=this[_0x50ec09(0x183)][_0x50ec09(0xa0)](_0xd04bc,_0xdb8cf9=>(_0x7d403d[_0x50ec09(0x2e9)](),_0x323862(_0xdb8cf9,_0x3a5189,_0x568545,_0xd04bc)));_0x45bd55['add'](_0x7d403d);});};this[_0x46235e(0x128)](_0x5e3496[_0x46235e(0x1d7)](this[_0x46235e(0x255)][_0x46235e(0x157)](()=>{_0x5cb1dd();})));}[_0x1b0c82(0x110)](){const _0xff3232=_0x1b0c82;var _0x11afae,_0x52c5ae;if(this[_0xff3232(0x29b)]=!0x0,((_0x11afae=this[_0xff3232(0x190)]['getFocusedUnit']())==null?void 0x0:_0x11afae['getUnitId']())!==this['unitID'])return;const _0x9df7a6=(_0x52c5ae=this[_0xff3232(0x2cd)][_0xff3232(0x2a3)](_0x57834c[_0xff3232(0x159)])[_0xff3232(0x225)]())==null?void 0x0:_0x52c5ae[0x0],_0x2a6ed=this['_univerInstanceService'][_0xff3232(0x2f6)](_0x5e3496[_0xff3232(0x216)][_0xff3232(0x9a)])['getActiveSheet']();_0x9df7a6&&_0x2a6ed&&this[_0xff3232(0x218)](_0x2a6ed[_0xff3232(0x1b4)](),_0x9df7a6);}[_0x1b0c82(0x180)](){const _0x106381=_0x1b0c82;this[_0x106381(0x29b)]=!0x1;}};_0x205f36=_0x26089e([_0x1198f3(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0xaf)])),_0x1198f3(0x3,_0x5e3496[_0x1b0c82(0x167)](_0x1d0933)),_0x1198f3(0x4,_0x5e3496[_0x1b0c82(0x167)](_0x144b9c[_0x1b0c82(0x191)])),_0x1198f3(0x5,_0x5e3496[_0x1b0c82(0x229)]),_0x1198f3(0x6,_0x5e3496[_0x1b0c82(0x1c9)]),_0x1198f3(0x7,_0x5e3496[_0x1b0c82(0x167)](_0x57834c[_0x1b0c82(0xb5)]))],_0x205f36);var _0x16a815=Object[_0x1b0c82(0x1a9)],_0x265ff5=(_0x3175a6,_0x526ac7,_0x2a9730,_0x3ee387)=>{const _0x2cf667=_0x1b0c82;for(var _0x185ac9=_0x3ee387>0x1?void 0x0:_0x3ee387?_0x16a815(_0x526ac7,_0x2a9730):_0x526ac7,_0x7d1fc2=_0x3175a6[_0x2cf667(0x322)]-0x1,_0x331feb;_0x7d1fc2>=0x0;_0x7d1fc2--)(_0x331feb=_0x3175a6[_0x7d1fc2])&&(_0x185ac9=_0x331feb(_0x185ac9)||_0x185ac9);return _0x185ac9;},_0x1eec7a=(_0x25cdbd,_0xd5f326)=>(_0x56de8b,_0x480a97)=>_0xd5f326(_0x56de8b,_0x480a97,_0x25cdbd);let _0x58d03e=class extends _0x5e3496['RxDisposable']{constructor(_0x12f2b7,_0x26f9a4,_0x4ae262){const _0x525e5a=_0x1b0c82;super(),_0x5be2b7(this,_0x525e5a(0x2cc),new Map()),_0x5be2b7(this,_0x525e5a(0x277),new _0x40ed3d[(_0x525e5a(0x1dd))]()),(this[_0x525e5a(0x190)]=_0x12f2b7,this['_injector']=_0x26f9a4,this[_0x525e5a(0xad)]=_0x4ae262,this['_init']());}[_0x1b0c82(0x2e9)](){const _0x49eba6=_0x1b0c82;super['dispose'](),this[_0x49eba6(0x277)][_0x49eba6(0x2cf)](),this[_0x49eba6(0x2cc)]['forEach'](_0x14ed77=>_0x14ed77[_0x49eba6(0x2e9)]());}[_0x1b0c82(0x2dd)](_0x50d697){const _0x204de5=_0x1b0c82;return this['_entities'][_0x204de5(0x192)](_0x50d697)?this['_entities'][_0x204de5(0x2a3)](_0x50d697)[_0x204de5(0x1ac)]:this[_0x204de5(0x277)][_0x204de5(0xca)](_0x40ed3d[_0x204de5(0x304)](_0x4d8820=>_0x4d8820['unitID']===_0x50d697),_0x40ed3d[_0x204de5(0x30d)](_0x1937a0=>_0x1937a0[_0x204de5(0x1ac)]));}[_0x1b0c82(0x252)](){const _0xecf5f9=_0x1b0c82;this[_0xecf5f9(0x190)][_0xecf5f9(0x111)](_0x5e3496[_0xecf5f9(0x216)][_0xecf5f9(0x9a)])[_0xecf5f9(0xca)](_0x40ed3d[_0xecf5f9(0x275)](this[_0xecf5f9(0x1fb)]))['subscribe'](async _0x570b14=>{const _0x1011fe=_0xecf5f9,_0x5a661a=_0x570b14[_0x1011fe(0x1b3)](),_0x5e035e=await this[_0x1011fe(0x1af)](_0x5a661a);this[_0x1011fe(0x277)][_0x1011fe(0xcc)](_0x5e035e),this[_0x1011fe(0x2cc)][_0x1011fe(0x21f)](_0x5a661a,_0x5e035e);}),this[_0xecf5f9(0x190)]['getTypeOfUnitAdded$'](_0x5e3496[_0xecf5f9(0x216)][_0xecf5f9(0x179)])['pipe'](_0x40ed3d['takeUntil'](this[_0xecf5f9(0x1fb)]))[_0xecf5f9(0xca)](_0x40ed3d[_0xecf5f9(0x304)](_0x1486be=>!_0x1486be[_0xecf5f9(0x1b3)]()['startsWith']('__')))['subscribe'](async _0xda96c8=>{const _0x9c80bc=_0xecf5f9,_0x23e395=_0xda96c8[_0x9c80bc(0x1b3)](),_0x5d85be=await this[_0x9c80bc(0x251)](_0x23e395);this[_0x9c80bc(0x277)][_0x9c80bc(0xcc)](_0x5d85be),this[_0x9c80bc(0x2cc)][_0x9c80bc(0x21f)](_0x23e395,_0x5d85be);}),_0x40ed3d[_0xecf5f9(0x2ef)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5e3496[_0xecf5f9(0x216)][_0xecf5f9(0x179)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5e3496[_0xecf5f9(0x216)][_0xecf5f9(0x9a)]))[_0xecf5f9(0xca)](_0x40ed3d[_0xecf5f9(0x275)](this['dispose$']))[_0xecf5f9(0x157)](_0x5a6c3e=>{const _0x4911fa=_0xecf5f9,_0x248bd6=_0x5a6c3e[_0x4911fa(0x1b3)](),_0x19c93f=this[_0x4911fa(0x2cc)][_0x4911fa(0x2a3)](_0x248bd6);_0x19c93f&&(_0x19c93f[_0x4911fa(0x2e9)](),this[_0x4911fa(0x2cc)]['delete'](_0x248bd6));});}async[_0x1b0c82(0x1af)](_0x5efbe6){const _0x2da945=_0x1b0c82,_0x30f2da=await this[_0x2da945(0xad)][_0x2da945(0xf6)](_0x5efbe6),_0xac8f0e=this[_0x2da945(0x2cd)][_0x2da945(0x18f)](_0x205f36,_0x5efbe6,_0x30f2da);return _0xac8f0e[_0x2da945(0x176)](),_0xac8f0e;}async[_0x1b0c82(0x251)](_0x2ae76b){const _0x32c31b=_0x1b0c82,_0x5d2a8c=await this[_0x32c31b(0xad)][_0x32c31b(0xf6)](_0x2ae76b),_0x48cc38=this[_0x32c31b(0x2cd)][_0x32c31b(0x18f)](_0x2a3fd4,_0x2ae76b,_0x5d2a8c);return _0x48cc38[_0x32c31b(0x176)](),_0x48cc38;}};_0x58d03e=_0x265ff5([_0x1eec7a(0x0,_0x5e3496[_0x1b0c82(0x229)]),_0x1eec7a(0x1,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0xaf)])),_0x1eec7a(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x144b9c[_0x1b0c82(0x243)]))],_0x58d03e);const _0x59fb3c=0x14,_0x48ecd3=0xc8,_0x4d89b0=0x4,_0x48bcde=0x5;function _0x97cf2f(_0x56c9bf,_0x57d348){const _0x47825b=_0x1b0c82;let {radius:_0x3a4d20,width:_0x3869ea,height:_0x26ad0f}=_0x57d348;_0x3a4d20=_0x3a4d20!=null?_0x3a4d20:0x0,_0x3869ea=_0x3869ea!=null?_0x3869ea:0x1e,_0x26ad0f=_0x26ad0f!=null?_0x26ad0f:0x1e;let _0x59ff25=0x0,_0x260458=0x0,_0x1f408b=0x0;_0x59ff25=_0x260458=_0x1f408b=Math[_0x47825b(0x1cc)](_0x3a4d20,_0x3869ea/0x2,_0x26ad0f/0x2),_0x56c9bf[_0x47825b(0x1b5)](),_0x56c9bf['moveTo'](_0x59ff25,0x0),_0x56c9bf[_0x47825b(0x295)](_0x3869ea-_0x260458,0x0),_0x56c9bf['arc'](_0x3869ea-_0x260458,_0x260458,_0x260458,Math['PI']*0x3/0x2,0x0,!0x1),_0x56c9bf[_0x47825b(0x295)](_0x3869ea,_0x26ad0f-_0x1f408b),_0x56c9bf[_0x47825b(0x254)](_0x3869ea-_0x1f408b,_0x26ad0f-_0x1f408b,_0x1f408b,0x0,Math['PI']/0x2,!0x1),_0x56c9bf[_0x47825b(0x295)](0x0,_0x26ad0f),_0x56c9bf[_0x47825b(0x295)](0x0,_0x59ff25),_0x56c9bf[_0x47825b(0x254)](_0x59ff25,_0x59ff25,_0x59ff25,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x56c9bf[_0x47825b(0xc5)](),_0x57d348[_0x47825b(0xd6)]&&(_0x56c9bf[_0x47825b(0xdd)](),_0x56c9bf[_0x47825b(0xe5)]=_0x57d348['fill'],_0x57d348[_0x47825b(0x27d)]==='evenodd'?_0x56c9bf[_0x47825b(0xd6)](_0x47825b(0x132)):_0x56c9bf['fill'](),_0x56c9bf['restore']());}class _0x3b18c9 extends _0x8bdac5['Shape']{constructor(_0x143ce2,_0x211cf1){const _0x1742b8=_0x1b0c82;super(_0x143ce2,_0x211cf1),_0x5be2b7(this,'color'),_0x5be2b7(this,_0x1742b8(0x129)),(this[_0x1742b8(0x298)]=_0x211cf1==null?void 0x0:_0x211cf1[_0x1742b8(0x298)],this[_0x1742b8(0x129)]=_0x211cf1==null?void 0x0:_0x211cf1[_0x1742b8(0x129)]);}static[_0x1b0c82(0x226)](_0x14315e,_0x5a8cc8){const _0x5ccbc7=_0x1b0c82,{text:_0x17e511,color:_0x41c6a7}=_0x5a8cc8;_0x14315e[_0x5ccbc7(0xdd)](),_0x14315e['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3cf56b=_0x14315e[_0x5ccbc7(0x1da)](_0x17e511)['width'],_0x1fcd6d=Math[_0x5ccbc7(0x1cc)](_0x3cf56b+0x2*_0x4d89b0,_0x48ecd3);_0x97cf2f(_0x14315e,{'height':_0x59fb3c,'radius':0x4,'width':_0x1fcd6d,'fill':_0x41c6a7}),_0x14315e[_0x5ccbc7(0xe5)]='#FFF';const _0x29504a=_0x4d89b0,_0x5e0144=_0x59fb3c-_0x48bcde,_0x4edb08=_0x48ecd3-0x2*_0x4d89b0;if(_0x3cf56b>_0x4edb08){let _0x5f36c6='',_0x527153=0x0;for(const _0x51185 of _0x17e511){const _0x3b0c1e=_0x14315e[_0x5ccbc7(0x1da)](_0x51185)[_0x5ccbc7(0x19e)];if(_0x527153+_0x3b0c1e<=_0x4edb08-_0x14315e[_0x5ccbc7(0x1da)](_0x5ccbc7(0x19c))[_0x5ccbc7(0x19e)])_0x5f36c6+=_0x51185,_0x527153+=_0x3b0c1e;else{_0x5f36c6+=_0x5ccbc7(0x19c);break;}}_0x14315e[_0x5ccbc7(0x16a)](_0x5f36c6,_0x29504a,_0x5e0144);}else _0x14315e[_0x5ccbc7(0x16a)](_0x17e511,_0x29504a,_0x5e0144);_0x14315e[_0x5ccbc7(0x193)]();}[_0x1b0c82(0x130)](_0x2d8b4c){_0x3b18c9['drawWith'](_0x2d8b4c,this);}}const _0x186823='collab-text-anchor-',_0x4ee81d=_0x1b0c82(0xa4),_0x12bce9=_0x1b0c82(0x136),_0x2363cf=0x6,_0x594b19=1.5,_0x469139=0x4,_0x12c046=1.5,_0x1e6d74='rgba(255,\x20255,\x20255,\x200.01)';class _0x230c7c{constructor(_0x4ea9d0,_0x5cd942,_0x262ba5,_0x166621){const _0x56ad31=_0x1b0c82;_0x5be2b7(this,_0x56ad31(0x21b),[]),_0x5be2b7(this,_0x56ad31(0x13a),null),_0x5be2b7(this,_0x56ad31(0x31d),null),_0x5be2b7(this,_0x56ad31(0x276),null),_0x5be2b7(this,'_hideTimer',null),_0x5be2b7(this,'_eventUnsubscribe',null),(this[_0x56ad31(0x21a)]=_0x4ea9d0,this['_scene']=_0x5cd942,this[_0x56ad31(0x147)]=_0x262ba5,this[_0x56ad31(0xcd)]=_0x166621,this[_0x56ad31(0x10c)]());}set['_hover'](_0x437835){const _0x2042a4=_0x1b0c82;_0x437835?(this[_0x2042a4(0x276)]&&this['_anchorDot'][_0x2042a4(0xb3)](),this[_0x2042a4(0x31d)]&&this[_0x2042a4(0x31d)]['show']()):(this[_0x2042a4(0x276)]&&this[_0x2042a4(0x276)][_0x2042a4(0x172)](),this[_0x2042a4(0x31d)]&&this['_textBubble'][_0x2042a4(0xb3)]());}[_0x1b0c82(0x2e9)](){const _0x386762=_0x1b0c82;for(const _0x311c9d of this['_shapes'])_0x311c9d['dispose']();this[_0x386762(0x31d)]&&this[_0x386762(0x31d)][_0x386762(0x2e9)](),this[_0x386762(0x276)]&&this[_0x386762(0x276)][_0x386762(0x2e9)](),this[_0x386762(0x13a)]&&this[_0x386762(0x13a)][_0x386762(0x2e9)](),this['_eventUnsubscribe']&&this[_0x386762(0x1e6)]();}[_0x1b0c82(0x10c)](){const _0x329406=_0x1b0c82;var _0x2bc02f;const {_docSkeleton:_0xc9b35d,_document:_0x1d0123}=this,{color:_0x4b4012,name:_0x30bfc4,ranges:_0x25ebdb}=this[_0x329406(0x21a)],_0x1ef8f8=_0x1d0123[_0x329406(0x19a)](),{docsLeft:_0x3d0ce1,docsTop:_0x39dd7e}=_0x1ef8f8,_0x528775=new _0xc6f069[(_0x329406(0x169))](_0x1ef8f8,_0xc9b35d);for(const {startOffset:_0x3e5cea,endOffset:_0x470cfc,rangeType:_0x1d696b,segmentId:_0x1e08bf,segmentPage:_0x3f965e,collapsed:_0xe490b5,isActive:_0x379567}of _0x25ebdb){const _0x55d071=_0xc9b35d[_0x329406(0x14b)](_0x3e5cea,!0x0,_0x1e08bf,_0x3f965e);let _0x531703=_0xc9b35d[_0x329406(0x14b)](_0x470cfc,!0x0,_0x1e08bf,_0x3f965e);if(_0x531703==null&&(_0x531703=_0xc9b35d[_0x329406(0x14b)](_0x470cfc-0x1,!0x1,_0x1e08bf,_0x3f965e)),_0x379567){const {contentBoxPointGroup:_0x10f8df}=_0x528775[_0x329406(0x325)](_0x531703,_0x531703);if(_0x10f8df[_0x329406(0x322)]===0x0)continue;this[_0x329406(0x267)](_0x4b4012,_0x10f8df,_0x3d0ce1,_0x39dd7e,_0x30bfc4),this['_eventUnsubscribe']=this[_0x329406(0x2e8)]();}if(_0x55d071&&_0x531703){if(_0x1d696b===_0x5e3496[_0x329406(0x283)][_0x329406(0x2c4)]){const _0x49a547=new _0xc6f069[(_0x329406(0x22d))](_0x1ef8f8,_0xc9b35d),{pointGroup:_0x42a446}=(_0x2bc02f=_0x49a547[_0x329406(0x325)](_0x55d071,_0x531703))!=null?_0x2bc02f:{};if(_0x42a446==null||_0x42a446[_0x329406(0x322)]===0x0)continue;this[_0x329406(0x1e1)](_0x4b4012,_0x42a446,_0x3d0ce1,_0x39dd7e);}else{if(!_0xe490b5){const {borderBoxPointGroup:_0x25a7b7}=_0x528775[_0x329406(0x325)](_0x55d071,_0x531703);if(_0x25a7b7[_0x329406(0x322)]===0x0)continue;this[_0x329406(0x1d9)](_0x4b4012,_0x25a7b7,_0x3d0ce1,_0x39dd7e);}}}}}['_drawAnchor'](_0x48d4a1,_0xe0df40,_0xbf9a35,_0x2f43c6,_0x436e80){const _0x3155d3=_0x1b0c82,_0x5993b9=this[_0x3155d3(0x213)](_0xe0df40),{left:_0x46fb23,top:_0x5bc446,height:_0x34beb5}=_0x5993b9,_0x497e5d=this[_0x3155d3(0xc7)](),_0x189655=_0x12c046/_0x497e5d,_0x285967=new _0x8bdac5['Rect'](_0x186823+_0x5e3496['Tools'][_0x3155d3(0xb1)](_0x2363cf),{'left':_0x46fb23+_0xbf9a35-_0x189655,'top':_0x5bc446+_0x2f43c6,'height':_0x34beb5,'width':_0x594b19,'fill':_0x48d4a1||_0x8bdac5[_0x3155d3(0x2aa)](_0x5e3496[_0x3155d3(0x32b)][_0x3155d3(0x16b)],0x0),'strokeWidth':_0x189655,'stroke':_0x1e6d74,'evented':!0x0});this[_0x3155d3(0x13a)]=_0x285967,this['_scene'][_0x3155d3(0x17b)](_0x285967,_0xc6f069['TEXT_RANGE_LAYER_INDEX']);const _0x16401b=new _0x8bdac5[(_0x3155d3(0x31f))](_0x186823+_0x5e3496[_0x3155d3(0x238)][_0x3155d3(0xb1)](_0x2363cf),{'left':_0x46fb23+_0xbf9a35-_0x189655,'top':_0x5bc446+_0x2f43c6-_0x469139/0x2,'height':_0x469139,'width':_0x469139,'fill':_0x48d4a1||_0x8bdac5[_0x3155d3(0x2aa)](_0x5e3496[_0x3155d3(0x32b)][_0x3155d3(0x16b)],0x0),'strokeWidth':0x0,'stroke':_0x48d4a1||_0x8bdac5[_0x3155d3(0x2aa)](_0x5e3496['COLORS']['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x16401b,this[_0x3155d3(0x28e)][_0x3155d3(0x17b)](_0x16401b,_0xc6f069['TEXT_RANGE_LAYER_INDEX']);const _0x408672=new _0x3b18c9(_0x186823+_0x5e3496[_0x3155d3(0x238)][_0x3155d3(0xb1)](_0x2363cf),{'left':_0x46fb23+_0xbf9a35-_0x189655,'top':_0x5bc446+_0x2f43c6-_0x59fb3c,'text':_0x436e80,'color':_0x48d4a1});this['_textBubble']=_0x408672,this[_0x3155d3(0x28e)]['addObject'](_0x408672,_0xc6f069[_0x3155d3(0x2a7)]),this['_hover']=!0x1;}[_0x1b0c82(0x2e8)](){const _0x1d2a82=_0x1b0c82,_0x53a4d9=this['_anchor'][_0x1d2a82(0x1e2)]['subscribeEvent'](()=>{const _0x25f3e8=_0x1d2a82;this[_0x25f3e8(0x1e3)]=!0x0;}),_0x40fd74=this[_0x1d2a82(0x13a)][_0x1d2a82(0x1dc)]['subscribeEvent'](()=>{const _0x3be091=_0x1d2a82;this[_0x3be091(0xbf)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x35394a=_0x3be091;this[_0x35394a(0x1e3)]=!0x1;},0x7d0);});return()=>{const _0x4c55c1=_0x1d2a82;_0x53a4d9[_0x4c55c1(0x12c)](),_0x40fd74[_0x4c55c1(0x12c)]();};}['_drawTextRange'](_0x1ec867,_0x15e3e1,_0x143138,_0x5199c5){const _0x218c1e=_0x1b0c82,_0xd3cbaf=new _0x5e3496[(_0x218c1e(0xb2))](_0x1ec867)[_0x218c1e(0x23f)](0.2)[_0x218c1e(0x285)](),_0x48c2e5=new _0x8bdac5[(_0x218c1e(0x329))](_0x4ee81d+_0x5e3496['Tools']['generateRandomId'](_0x2363cf),{'pointsGroup':_0x15e3e1,'fill':_0xd3cbaf||_0x8bdac5[_0x218c1e(0x2aa)](_0x5e3496[_0x218c1e(0x32b)]['black'],0.2),'left':_0x143138,'top':_0x5199c5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x218c1e(0x21b)][_0x218c1e(0x197)](_0x48c2e5),this['_scene'][_0x218c1e(0x17b)](_0x48c2e5,_0xc6f069[_0x218c1e(0x2a7)]);}[_0x1b0c82(0x1e1)](_0x35eefe,_0x4bef3a,_0x29bc39,_0x3a08f3){const _0x2a8b18=_0x1b0c82,_0x11f0e9=new _0x5e3496['ColorKit'](_0x35eefe)[_0x2a8b18(0x23f)](0.2)['toRgbString'](),_0x4c3f05=new _0x8bdac5['RegularPolygon'](_0x12bce9+_0x5e3496[_0x2a8b18(0x238)][_0x2a8b18(0xb1)](_0x2363cf),{'pointsGroup':_0x4bef3a,'fill':_0x11f0e9||_0x8bdac5[_0x2a8b18(0x2aa)](_0x5e3496[_0x2a8b18(0x32b)][_0x2a8b18(0x16b)],0.2),'left':_0x29bc39,'top':_0x3a08f3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2a8b18(0x21b)][_0x2a8b18(0x197)](_0x4c3f05),this['_scene'][_0x2a8b18(0x17b)](_0x4c3f05,_0xc6f069[_0x2a8b18(0x2a7)]);}[_0x1b0c82(0x213)](_0x235998){const _0x5b0217=_0x235998[0x0],_0x2dd54f=_0x5b0217[0x0],_0x3bd476=_0x5b0217[0x2],{x:_0x5b60e7,y:_0x5c350f}=_0x2dd54f,{x:_0x1d2b14,y:_0x57aa42}=_0x3bd476;return{'left':_0x5b60e7,'top':_0x5c350f,'width':_0x1d2b14-_0x5b60e7,'height':_0x57aa42-_0x5c350f};}[_0x1b0c82(0xc7)](){const _0x5cf44a=_0x1b0c82,{scaleX:_0x913df3,scaleY:_0x3ec9e3}=this['_scene'][_0x5cf44a(0x16d)]();return Math[_0x5cf44a(0x25d)](_0x913df3,_0x3ec9e3);}}var _0x1d1889=Object[_0x1b0c82(0x1a9)],_0x17e9c1=(_0xde3138,_0x11d55b,_0x52a4c7,_0x3f2750)=>{const _0x2a8b43=_0x1b0c82;for(var _0x5bfd4f=_0x3f2750>0x1?void 0x0:_0x3f2750?_0x1d1889(_0x11d55b,_0x52a4c7):_0x11d55b,_0x30128d=_0xde3138[_0x2a8b43(0x322)]-0x1,_0x5dd8b7;_0x30128d>=0x0;_0x30128d--)(_0x5dd8b7=_0xde3138[_0x30128d])&&(_0x5bfd4f=_0x5dd8b7(_0x5bfd4f)||_0x5bfd4f);return _0x5bfd4f;},_0x7411ca=(_0x505ba3,_0x37c6a0)=>(_0x392964,_0x3d4464)=>_0x37c6a0(_0x392964,_0x3d4464,_0x505ba3);let _0x5ba2b4=class extends _0x5e3496[_0x1b0c82(0x29d)]{constructor(_0x4d3378,_0x484821,_0x5b8281,_0x1a0751,_0x556b7c){const _0x9e2cba=_0x1b0c82;super(),_0x5be2b7(this,_0x9e2cba(0x11c),[]),_0x5be2b7(this,_0x9e2cba(0x323),[]),(this['_context']=_0x4d3378,this['_docSkeletonManagerService']=_0x484821,this[_0x9e2cba(0xfc)]=_0x5b8281,this[_0x9e2cba(0xfe)]=_0x1a0751,this['_themeService']=_0x556b7c,this[_0x9e2cba(0x252)]());}[_0x1b0c82(0x252)](){const _0x29fd72=_0x1b0c82,_0x5716d1=this[_0x29fd72(0x202)][_0x29fd72(0x221)],_0x55a07a=this[_0x29fd72(0x2a4)];this[_0x29fd72(0x128)](_0x40ed3d[_0x29fd72(0xa1)]([this[_0x29fd72(0xfc)][_0x29fd72(0x2dd)](_0x5716d1),this[_0x29fd72(0x2d8)]['currentTheme$']])[_0x29fd72(0xca)](_0x46a2d7[_0x29fd72(0x9f)](([_0x31376e,_0x2490a5])=>({'skeleton':_0x55a07a[_0x29fd72(0x307)](),'cursors':[..._0x31376e[_0x29fd72(0x14a)]()]['flatMap'](_0x14b681=>({..._0x14b681,'color':_0x2490a5[_0x14b681[_0x29fd72(0x298)]]}))})))[_0x29fd72(0x157)](_0x13b808=>{const _0xf0dcc8=_0x29fd72;if(this[_0xf0dcc8(0x134)](),_0x13b808){const {skeleton:_0x1f3f70,cursors:_0x1e62d0}=_0x13b808;this['_updateCollabCursors'](_0x1f3f70,_0x1e62d0);}})),this[_0x29fd72(0x22c)](),this[_0x29fd72(0x27f)]();}['_updateCollabCursors'](_0x50db78,_0x382d6e){const _0x369557=_0x1b0c82,{scene:_0x32feba,mainComponent:_0x3be779}=this[_0x369557(0x202)],_0x9e6517=_0x382d6e[_0x369557(0x9f)](_0x317a47=>new _0x230c7c(_0x317a47,_0x32feba,_0x50db78,_0x3be779));this[_0x369557(0x11c)]=_0x9e6517,this[_0x369557(0x323)]=_0x382d6e;}[_0x1b0c82(0xa8)](){const _0x2489ce=_0x1b0c82;this[_0x2489ce(0x134)]();const {scene:_0x3ee3e7,mainComponent:_0x1d312f}=this['_context'],_0x59bfd2=this[_0x2489ce(0x2a4)][_0x2489ce(0x307)](),_0x2371ac=this['_cursors'][_0x2489ce(0x9f)](_0x29db39=>new _0x230c7c(_0x29db39,_0x3ee3e7,_0x59bfd2,_0x1d312f));this[_0x2489ce(0x11c)]=_0x2371ac;}[_0x1b0c82(0x134)](){const _0x45aa80=_0x1b0c82;this[_0x45aa80(0x11c)][_0x45aa80(0x114)](_0x2ec1bc=>_0x2ec1bc[_0x45aa80(0x2e9)]()),this['_cursorShapes']=[];}[_0x1b0c82(0x27f)](){const _0x41df65=_0x1b0c82,_0x3e5c39=[_0xc6f069[_0x41df65(0x1b7)]['id']];this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x25fb80=>{const _0x5e6df6=_0x41df65;_0x3e5c39[_0x5e6df6(0xab)](_0x25fb80['id'])&&_0x25fb80['params'][_0x5e6df6(0x221)]===this['_context'][_0x5e6df6(0x221)]&&this[_0x5e6df6(0xa8)]();}));}[_0x1b0c82(0x22c)](){const _0x3eaffc=_0x1b0c82;this[_0x3eaffc(0x128)](_0x5e3496[_0x3eaffc(0x274)](this[_0x3eaffc(0x202)][_0x3eaffc(0x234)][_0x3eaffc(0x1ca)])[_0x3eaffc(0xca)](_0x46a2d7[_0x3eaffc(0x304)](_0x267841=>_0x267841[_0x3eaffc(0x31b)]===_0x8bdac5[_0x3eaffc(0x222)][_0x3eaffc(0x260)]),_0x46a2d7[_0x3eaffc(0xfa)](0x10))[_0x3eaffc(0x157)](()=>{const _0x57795b=_0x3eaffc;this[_0x57795b(0xa8)]();}));}};_0x5ba2b4=_0x17e9c1([_0x7411ca(0x1,_0x5e3496[_0x1b0c82(0x167)](_0x2415d7[_0x1b0c82(0x186)])),_0x7411ca(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x58d03e)),_0x7411ca(0x3,_0x5e3496[_0x1b0c82(0x1c9)]),_0x7411ca(0x4,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0x301)]))],_0x5ba2b4);const _0x3a65ca=0x1,_0x3cd9ac=1.5;class _0x4b093e extends _0x8bdac5[_0x1b0c82(0x2cb)]{constructor(_0x1c7064,_0x2e2234){const _0x19500c=_0x1b0c82;super(_0x1c7064,_0x2e2234),_0x5be2b7(this,_0x19500c(0x19b)),_0x5be2b7(this,_0x19500c(0x237),!0x1),_0x5be2b7(this,'_range'),_0x5be2b7(this,_0x19500c(0xd7),''),_0x5be2b7(this,_0x19500c(0x108),'top'),_0x5be2b7(this,_0x19500c(0x205)),(_0x2e2234&&this['setShapeProps'](_0x2e2234),this[_0x19500c(0x1e2)][_0x19500c(0x1ec)](()=>this[_0x19500c(0x2ed)]({'hovered':!0x0})),this[_0x19500c(0x1dc)][_0x19500c(0x1ec)](()=>this[_0x19500c(0x2ed)]({'hovered':!0x1})));}[_0x1b0c82(0x2ed)](_0x16e27a){const _0x1ce60b=_0x1b0c82;var _0x1ed285,_0x357e32,_0x3e06a3,_0x1f98d3,_0x3c36b8,_0x3da540;this['_color']=(_0x1ed285=_0x16e27a[_0x1ce60b(0x298)])!=null?_0x1ed285:this[_0x1ce60b(0x19b)],this[_0x1ce60b(0x237)]=(_0x357e32=_0x16e27a[_0x1ce60b(0x135)])!=null?_0x357e32:this[_0x1ce60b(0x237)],this[_0x1ce60b(0x23b)]=(_0x3e06a3=_0x16e27a[_0x1ce60b(0xec)])!=null?_0x3e06a3:this[_0x1ce60b(0x23b)],this[_0x1ce60b(0xd7)]=(_0x1f98d3=_0x16e27a[_0x1ce60b(0x23d)])!=null?_0x1f98d3:this[_0x1ce60b(0xd7)],this[_0x1ce60b(0x108)]=(_0x3c36b8=_0x16e27a[_0x1ce60b(0x1e9)])!=null?_0x3c36b8:this[_0x1ce60b(0x108)],this['_backgroundColor']=(_0x3da540=_0x16e27a[_0x1ce60b(0x18a)])!=null?_0x3da540:this[_0x1ce60b(0x205)],this['transformByState']({'width':_0x16e27a[_0x1ce60b(0x19e)],'height':_0x16e27a['height']});}[_0x1b0c82(0x161)](_0xdf7b7d){const _0x1c0f68=_0x1b0c82,{row:_0x20ef47,column:_0x43a124}=_0xdf7b7d;if(_0x20ef47>=this['_range']['startRow']&&_0x20ef47<=this[_0x1c0f68(0x23b)]['endRow']&&_0x43a124>=this[_0x1c0f68(0x23b)][_0x1c0f68(0x2a6)]&&_0x43a124<=this['_range'][_0x1c0f68(0x139)]){this[_0x1c0f68(0x2ed)]({'hovered':!0x0});return;}this[_0x1c0f68(0x2ed)]({'hovered':!0x1});}[_0x1b0c82(0x1c1)](_0xee3882){return!0x1;}[_0x1b0c82(0x130)](_0x499c41){const _0x24a6b7=_0x1b0c82;_0x8bdac5[_0x24a6b7(0x31f)][_0x24a6b7(0x226)](_0x499c41,{'width':this['width'],'height':this['height'],'strokeWidth':_0x3cd9ac,'stroke':this[_0x24a6b7(0x19b)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x24a6b7(0x237)]&&(_0x499c41[_0x24a6b7(0xdd)](),_0x499c41['transform'](0x1,0x0,0x0,0x1,this[_0x24a6b7(0x19e)],this['_labelPosition']===_0x24a6b7(0x9d)?0x0:-0x14),_0x3b18c9[_0x24a6b7(0x226)](_0x499c41,{'text':this[_0x24a6b7(0xd7)],'color':this[_0x24a6b7(0x19b)]}),_0x499c41[_0x24a6b7(0x193)]());}}var _0x591943=Object[_0x1b0c82(0x1a9)],_0x152a09=(_0x2415af,_0x408084,_0x316f09,_0x4d7603)=>{const _0x214fce=_0x1b0c82;for(var _0x1edcdb=_0x4d7603>0x1?void 0x0:_0x4d7603?_0x591943(_0x408084,_0x316f09):_0x408084,_0x44d579=_0x2415af[_0x214fce(0x322)]-0x1,_0x1c1df5;_0x44d579>=0x0;_0x44d579--)(_0x1c1df5=_0x2415af[_0x44d579])&&(_0x1edcdb=_0x1c1df5(_0x1edcdb)||_0x1edcdb);return _0x1edcdb;},_0x46f24d=(_0x15b282,_0x1ed562)=>(_0x155b58,_0x4323ef)=>_0x1ed562(_0x155b58,_0x4323ef,_0x15b282);const _0x355d2b=0x1389;let _0x3ff433=class extends _0x5e3496[_0x1b0c82(0x29d)]{constructor(_0x540747,_0x50d7d5,_0x1130c1,_0x111e6d){const _0x54ad18=_0x1b0c82;super(),_0x5be2b7(this,'_cursors',new Set()),_0x5be2b7(this,_0x54ad18(0x1cb),null),(this[_0x54ad18(0x202)]=_0x540747,this[_0x54ad18(0x1ee)]=_0x50d7d5,this[_0x54ad18(0xfc)]=_0x1130c1,this[_0x54ad18(0x2d8)]=_0x111e6d,this[_0x54ad18(0x252)]());}['_init'](){const _0x530b2a=_0x1b0c82;this[_0x530b2a(0x1ee)][_0x530b2a(0x1d6)]['pipe'](_0x46a2d7[_0x530b2a(0x275)](this['dispose$']),_0x46a2d7[_0x530b2a(0x30d)](_0x2d9813=>{const _0x3727e2=_0x530b2a;if(_0x2d9813){const _0x3bdec8=_0x2d9813[_0x3727e2(0x1b9)];return _0x40ed3d['combineLatest'](this[_0x3727e2(0xfc)][_0x3727e2(0x2dd)](this[_0x3727e2(0x202)][_0x3727e2(0x221)]),this[_0x3727e2(0x2d8)][_0x3727e2(0x286)])[_0x3727e2(0xca)](_0x46a2d7[_0x3727e2(0x9f)](([_0xd5b7f1,_0x4b442d])=>{const _0x2b5402=new Map();return _0xd5b7f1['forEach']((_0xa05841,_0x1f7994)=>{const _0x395ab0=_0x377c;if(_0xa05841[_0x395ab0(0x316)]===_0x3bdec8){const _0x165e65={..._0xa05841};_0x165e65[_0x395ab0(0x298)]=_0x4b442d[_0xa05841[_0x395ab0(0x298)]],_0x2b5402[_0x395ab0(0x21f)](_0x1f7994,_0x165e65);}}),{'skeleton':_0x2d9813,'cursors':_0x2b5402};}));}return _0x40ed3d['of']({'skeleton':null,'cursors':new Map()});}))[_0x530b2a(0x157)](({skeleton:_0x1af363,cursors:_0x315e33})=>{const _0x29ef67=_0x530b2a;this[_0x29ef67(0x134)](),_0x1af363&&this[_0x29ef67(0x31c)](_0x1af363,_0x315e33);}),this['_sheetSkeletonManagerService'][_0x530b2a(0x1d6)][_0x530b2a(0x157)](_0x482663=>{const _0x2f1eaa=_0x530b2a;if(_0x482663==null)return;const {skeleton:_0x2a91dd}=_0x482663,{scene:_0x217617}=this[_0x2f1eaa(0x202)];_0x217617[_0x2f1eaa(0x195)][_0x2f1eaa(0x1ec)](_0x5e3496[_0x2f1eaa(0xae)](_0xb38c5b=>{const _0x2b1939=_0x2f1eaa;var _0x4831b8,_0x472178;const {offsetX:_0x2df8bc,offsetY:_0x391aaf}=_0xb38c5b,{x:_0x1e2355,y:_0x3ceece}=_0x217617['getRelativeToViewportCoord'](_0x8bdac5[_0x2b1939(0x2f2)][_0x2b1939(0x13d)]([_0x2df8bc,_0x391aaf])),{scaleX:_0x55e490,scaleY:_0x530e29}=_0x217617[_0x2b1939(0x16d)](),_0x496215=_0x217617[_0x2b1939(0xef)](_0x8bdac5[_0x2b1939(0xdc)][_0x2b1939(0x28a)]),_0x36d907=_0x217617[_0x2b1939(0x116)](_0x8bdac5[_0x2b1939(0x2f2)]['FromArray']([_0x1e2355,_0x3ceece]),_0x496215),_0x273a55=_0x2a91dd[_0x2b1939(0x233)](_0x2df8bc,_0x391aaf,_0x55e490,_0x530e29,_0x36d907);((_0x4831b8=this['_lastPointer'])==null?void 0x0:_0x4831b8[_0x2b1939(0xe8)])===_0x273a55['column']&&((_0x472178=this[_0x2b1939(0x1cb)])==null?void 0x0:_0x472178[_0x2b1939(0x290)])===_0x273a55['row']||this[_0x2b1939(0x323)][_0x2b1939(0x114)](_0x225332=>{const _0x4f0d1e=_0x2b1939;_0x225332[_0x4f0d1e(0x161)](_0x273a55);});},0x64));});}[_0x1b0c82(0x31c)](_0x12e092,_0x3d3489){const _0x35e620=_0x1b0c82;var _0x4e14c1;const _0x58ef61=(_0x4e14c1=this[_0x35e620(0x1ee)][_0x35e620(0x1a7)]())==null?void 0x0:_0x4e14c1[_0x35e620(0x269)];if(!_0x58ef61)return;const _0xecee69=this[_0x35e620(0x249)]();if(!_0xecee69)return;this[_0x35e620(0x323)][_0x35e620(0x114)](_0x557e96=>{const _0x48c425=_0x35e620;_0x557e96[_0x48c425(0x199)]();});const {scene:_0x4dd7b5}=_0xecee69,_0x5ca6d3=_0x580d0a(Array[_0x35e620(0x2e2)](_0x3d3489['values']()))[_0x35e620(0x9f)](_0xdd8ffd=>{const _0x365d0d=_0x35e620,{color:_0x5aea0c,range:_0x2b9b0d,name:_0x5b650f,selection:_0x95ec9a,sheetID:_0xd3f37f}=_0xdd8ffd,{startColumn:_0x11a97b,startRow:_0x3977cd,endColumn:_0x42ab5d,endRow:_0x56879a}=_0x2b9b0d,_0x224cfb=_0x2d5f4e['getCoordByCell'](_0x3977cd,_0x11a97b,_0x4dd7b5,_0x58ef61),_0x55d592=_0x2d5f4e['getCoordByCell'](_0x56879a,_0x42ab5d,_0x4dd7b5,_0x58ef61),{columnHeaderHeightAndMarginTop:_0x5d3673}=_0x58ef61,{startX:_0x1b5273,startY:_0x46c2db}=_0x224cfb,{endX:_0x26169a,endY:_0x10c603}=_0x55d592,_0x3948e4=_0x26169a-_0x1b5273,_0x2bfcaf=_0x10c603-_0x46c2db,_0x553581={'labelPosition':_0x46c2db-_0x5d3673>=_0x59fb3c?'top':_0x365d0d(0x9d),'sheetID':_0xd3f37f,'range':_0x2b9b0d,'color':_0x5aea0c,'name':_0x5b650f,'selection':_0x95ec9a,'left':_0x1b5273,'top':_0x46c2db,'width':_0x3948e4,'height':_0x2bfcaf,'evented':!0x1,'zIndex':_0x355d2b};return new _0x4b093e(_0x5b650f,_0x553581);});_0x4dd7b5[_0x35e620(0x308)](_0x5ca6d3,_0x3a65ca),this['_cursors']=new Set(_0x5ca6d3);}[_0x1b0c82(0x134)](){const _0x5b7ecd=_0x1b0c82;var _0x1570e3;(_0x1570e3=this['_cursors'])==null||_0x1570e3[_0x5b7ecd(0x114)](_0x38ba55=>_0x38ba55[_0x5b7ecd(0x2e9)]());}['_getSheetObject'](){const _0x445f55=_0x1b0c82;return _0x2d5f4e['getSheetObject'](this[_0x445f55(0x202)][_0x445f55(0x2d5)],this[_0x445f55(0x202)]);}};_0x3ff433=_0x152a09([_0x46f24d(0x1,_0x5e3496[_0x1b0c82(0x167)](_0x2d5f4e[_0x1b0c82(0x1a3)])),_0x46f24d(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x58d03e)),_0x46f24d(0x3,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496['ThemeService']))],_0x3ff433);function _0x580d0a(_0x16d3ec){const _0x1349cf=_0x1b0c82,_0x30f951=new Map();return _0x16d3ec[_0x1349cf(0x114)](_0x219143=>{const _0xafd25d=_0x1349cf;if(_0x30f951[_0xafd25d(0x192)](_0x219143['selection'])){const _0x56c1fe=_0x30f951[_0xafd25d(0x2a3)](_0x219143[_0xafd25d(0x117)]);_0x56c1fe[_0xafd25d(0x23d)]+=',\x20'+_0x219143[_0xafd25d(0x23d)];}else _0x30f951[_0xafd25d(0x21f)](_0x219143['selection'],_0x219143);}),Array[_0x1349cf(0x2e2)](_0x30f951[_0x1349cf(0x14a)]());}var _0x7d617b=function(){const _0x3c62a6=_0x1b0c82;return _0x7d617b=Object[_0x3c62a6(0x246)]||function(_0x4afd6b){const _0x4e3d96=_0x3c62a6;for(var _0x29c383,_0x402e8f=0x1,_0x2ebc56=arguments['length'];_0x402e8f<_0x2ebc56;_0x402e8f++){_0x29c383=arguments[_0x402e8f];for(var _0x596a50 in _0x29c383)Object[_0x4e3d96(0x30b)]['hasOwnProperty'][_0x4e3d96(0x1a6)](_0x29c383,_0x596a50)&&(_0x4afd6b[_0x596a50]=_0x29c383[_0x596a50]);}return _0x4afd6b;},_0x7d617b[_0x3c62a6(0x235)](this,arguments);},_0x5bf698=function(_0x3f9e67,_0x267982){const _0x387657=_0x1b0c82;var _0x4c287e={};for(var _0x50341b in _0x3f9e67)Object[_0x387657(0x30b)]['hasOwnProperty'][_0x387657(0x1a6)](_0x3f9e67,_0x50341b)&&_0x267982['indexOf'](_0x50341b)<0x0&&(_0x4c287e[_0x50341b]=_0x3f9e67[_0x50341b]);if(_0x3f9e67!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x59face=0x0,_0x50341b=Object[_0x387657(0x158)](_0x3f9e67);_0x59face<_0x50341b[_0x387657(0x322)];_0x59face++)_0x267982[_0x387657(0xc9)](_0x50341b[_0x59face])<0x0&&Object[_0x387657(0x30b)][_0x387657(0x17a)][_0x387657(0x1a6)](_0x3f9e67,_0x50341b[_0x59face])&&(_0x4c287e[_0x50341b[_0x59face]]=_0x3f9e67[_0x50341b[_0x59face]]);}return _0x4c287e;},_0x38c24f=_0x29a331[_0x1b0c82(0x24b)](function(_0x2b168d,_0x17b38d){const _0x33ac31=_0x1b0c82;var _0x113a8c=_0x2b168d[_0x33ac31(0xf8)],_0x5b1a0c=_0x2b168d['id'],_0x5245ca=_0x2b168d[_0x33ac31(0x1ba)],_0x448df1=_0x2b168d[_0x33ac31(0x2d2)],_0x4def9e=_0x5bf698(_0x2b168d,[_0x33ac31(0xf8),'id',_0x33ac31(0x1ba),_0x33ac31(0x2d2)]),_0x2f2f92=_0x33ac31(0x1bf)[_0x33ac31(0x165)](_0x5b1a0c,'\x20')[_0x33ac31(0x165)](_0x5245ca||'')[_0x33ac31(0x24f)](),_0x5aa246=_0x29a331['useRef']('_'[_0x33ac31(0x165)](_0x21c1a7()));return _0x2ea30d(_0x113a8c,''[_0x33ac31(0x165)](_0x5b1a0c),{'defIds':_0x113a8c[_0x33ac31(0x1d5)],'idSuffix':_0x5aa246[_0x33ac31(0xc2)]},_0x7d617b({'ref':_0x17b38d,'className':_0x2f2f92},_0x4def9e),_0x448df1);});function _0x2ea30d(_0x27ee58,_0x5212fd,_0x4de89e,_0x48b046,_0x2f445d){const _0x1c474a=_0x1b0c82;return _0x29a331[_0x1c474a(0xce)](_0x27ee58['tag'],_0x7d617b(_0x7d617b({'key':_0x5212fd},_0x2b161a(_0x27ee58,_0x4de89e,_0x2f445d)),_0x48b046),(_0x483160(_0x27ee58,_0x4de89e)[_0x1c474a(0x231)]||[])[_0x1c474a(0x9f)](function(_0x21d650,_0x120e33){const _0x282cfe=_0x1c474a;return _0x2ea30d(_0x21d650,''[_0x282cfe(0x165)](_0x5212fd,'-')['concat'](_0x27ee58['tag'],'-')[_0x282cfe(0x165)](_0x120e33),_0x4de89e,void 0x0,_0x2f445d);}));}function _0x2b161a(_0xc12572,_0x81de57,_0x322351){const _0x13e4d6=_0x1b0c82;var _0x399297=_0x7d617b({},_0xc12572[_0x13e4d6(0x27e)]);_0x322351!=null&&_0x322351[_0x13e4d6(0x327)]&&_0x399297['fill']===_0x13e4d6(0x327)&&(_0x399297['fill']=_0x322351[_0x13e4d6(0x327)]),_0xc12572[_0x13e4d6(0x9e)]==='mask'&&_0x399297['id']&&(_0x399297['id']=_0x399297['id']+_0x81de57[_0x13e4d6(0x2bb)]),Object[_0x13e4d6(0x2e5)](_0x399297)['forEach'](function(_0x54b45d){const _0x478cd6=_0x13e4d6;var _0x14c2ed=_0x54b45d[0x0],_0x2cdc7e=_0x54b45d[0x1];_0x14c2ed===_0x478cd6(0x1fc)&&typeof _0x2cdc7e==_0x478cd6(0x2ca)&&(_0x399297[_0x14c2ed]=_0x2cdc7e['replace'](/url\(#(.*)\)/,_0x478cd6(0x10b)['concat'](_0x81de57[_0x478cd6(0x2bb)],')')));});var _0x356b71=_0x81de57['defIds'];return!_0x356b71||_0x356b71[_0x13e4d6(0x322)]===0x0||(_0xc12572[_0x13e4d6(0x9e)]==='use'&&_0x399297[_0x13e4d6(0x232)]&&(_0x399297[_0x13e4d6(0x232)]=_0x399297[_0x13e4d6(0x232)]+_0x81de57[_0x13e4d6(0x2bb)]),Object[_0x13e4d6(0x2e5)](_0x399297)[_0x13e4d6(0x114)](function(_0x2f0471){const _0xe00f49=_0x13e4d6;var _0x276f54=_0x2f0471[0x0],_0x5d44ca=_0x2f0471[0x1];typeof _0x5d44ca=='string'&&(_0x399297[_0x276f54]=_0x5d44ca[_0xe00f49(0x2fa)](/url\(#(.*)\)/,_0xe00f49(0x10b)['concat'](_0x81de57['idSuffix'],')')));})),_0x399297;}function _0x483160(_0x2dab01,_0x48801a){const _0x47f90e=_0x1b0c82;var _0x3beab4,_0x40e7ad=_0x48801a['defIds'];return!_0x40e7ad||_0x40e7ad[_0x47f90e(0x322)]===0x0?_0x2dab01:_0x2dab01[_0x47f90e(0x9e)]==='defs'&&(!((_0x3beab4=_0x2dab01[_0x47f90e(0x231)])===null||_0x3beab4===void 0x0)&&_0x3beab4[_0x47f90e(0x322)])?_0x7d617b(_0x7d617b({},_0x2dab01),{'children':_0x2dab01[_0x47f90e(0x231)][_0x47f90e(0x9f)](function(_0x8ab7a1){const _0x4d682d=_0x47f90e;return typeof _0x8ab7a1[_0x4d682d(0x27e)]['id']==_0x4d682d(0x2ca)&&_0x40e7ad&&_0x40e7ad['indexOf'](_0x8ab7a1['attrs']['id'])>-0x1?_0x7d617b(_0x7d617b({},_0x8ab7a1),{'attrs':_0x7d617b(_0x7d617b({},_0x8ab7a1[_0x4d682d(0x27e)]),{'id':_0x8ab7a1[_0x4d682d(0x27e)]['id']+_0x48801a['idSuffix']})}):_0x8ab7a1;})}):_0x2dab01;}function _0x21c1a7(){const _0x56159a=_0x1b0c82;return Math['random']()['toString'](0x24)[_0x56159a(0x1db)](0x2,0x8);}_0x38c24f[_0x1b0c82(0x109)]=_0x1b0c82(0x230);var _0x45dc87={'tag':_0x1b0c82(0x2c2),'attrs':{'fill':'none','viewBox':_0x1b0c82(0x1bb),'width':_0x1b0c82(0x16f),'height':_0x1b0c82(0x16f)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b0c82(0x17d)},'children':[{'tag':_0x1b0c82(0x15a),'attrs':{'stroke':_0x1b0c82(0x1e4),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1b0c82(0x2ee),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1b0c82(0x2a9),'attrs':{'id':_0x1b0c82(0x177)},'children':[{'tag':_0x1b0c82(0x15a),'attrs':{'fill':_0x1b0c82(0x2f9),'d':_0x1b0c82(0x100)}}]}]}],'defIds':[_0x1b0c82(0x177)]},_0x42faa7=_0x29a331[_0x1b0c82(0x24b)](function(_0x2b8cca,_0x3af2a0){const _0x17fc7b=_0x1b0c82;return _0x29a331[_0x17fc7b(0xce)](_0x38c24f,Object['assign']({},_0x2b8cca,{'id':_0x17fc7b(0xd2),'ref':_0x3af2a0,'icon':_0x45dc87}));});_0x42faa7[_0x1b0c82(0x109)]='OffLineSingle';var _0xec9f9a={'tag':_0x1b0c82(0x2c2),'attrs':{'fill':_0x1b0c82(0x200),'viewBox':_0x1b0c82(0xac),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1b0c82(0x1ef)},'children':[{'tag':_0x1b0c82(0x15a),'attrs':{'stroke':_0x1b0c82(0x1e4),'d':_0x1b0c82(0x32c),'strokeLinecap':_0x1b0c82(0x2ee),'strokeLinejoin':_0x1b0c82(0x2ee),'strokeWidth':1.2}}]},{'tag':_0x1b0c82(0x2fe),'attrs':{},'children':[{'tag':_0x1b0c82(0x2a9),'attrs':{'id':_0x1b0c82(0x212)},'children':[{'tag':_0x1b0c82(0x15a),'attrs':{'fill':_0x1b0c82(0x2f9),'d':_0x1b0c82(0x100),'transform':_0x1b0c82(0x12e)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x330988=_0x29a331[_0x1b0c82(0x24b)](function(_0x3b3c7f,_0x26fff8){const _0xfdfea0=_0x1b0c82;return _0x29a331[_0xfdfea0(0xce)](_0x38c24f,Object[_0xfdfea0(0x246)]({},_0x3b3c7f,{'id':_0xfdfea0(0x1c6),'ref':_0x26fff8,'icon':_0xec9f9a}));});_0x330988[_0x1b0c82(0x109)]=_0x1b0c82(0xb9);function _0x4c98ef(_0x1f788f){const _0x158107=_0x1b0c82;switch(_0x1f788f){case _0x144b9c[_0x158107(0x1b6)][_0x158107(0x292)]:return _0x158107(0xc0);case _0x144b9c[_0x158107(0x1b6)][_0x158107(0xdf)]:return'collabStatus.conflict';case _0x144b9c['CollaborationStatus']['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x144b9c['CollaborationStatus'][_0x158107(0x23e)]:return _0x158107(0x154);case _0x144b9c[_0x158107(0x1b6)][_0x158107(0x2a5)]:case _0x144b9c['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x158107(0x1ff);case _0x144b9c[_0x158107(0x1b6)][_0x158107(0x21e)]:case _0x144b9c[_0x158107(0x1b6)]['PENDING']:return _0x158107(0x1bc);}}function _0xf90619(_0x4760fd){const _0x1d6ad6=_0x1b0c82,{status$:_0x1bc518}=_0x4760fd,_0x1460a1=_0x4dbd51[_0x1d6ad6(0x1c7)](_0x1bc518,_0x144b9c[_0x1d6ad6(0x1b6)][_0x1d6ad6(0x23e)]),_0x4a5ca2=_0x4dbd51[_0x1d6ad6(0x140)](_0x5e3496['LocaleService']),_0x4d6018=_0x4dbd51[_0x1d6ad6(0x140)](_0x144b9c[_0x1d6ad6(0x243)]),_0x39effa=_0x1460a1!==_0x144b9c[_0x1d6ad6(0x1b6)][_0x1d6ad6(0x292)],_0x28da80=_0x4a5ca2['t'](_0x4c98ef(_0x1460a1)),_0x39fa8d=_0x39effa?_0x24ac85[_0x1d6ad6(0x121)](_0x330988,{}):_0x24ac85['jsx'](_0x42faa7,{}),_0x21cb2c=_0x29a331['useCallback'](()=>{const _0x2d5214=_0x1d6ad6;_0x39effa||_0x4d6018[_0x2d5214(0x113)]();},[_0x39effa,_0x4d6018]);function _0x1e69e7(){const _0x4ceebe=_0x1d6ad6;return _0x24ac85[_0x4ceebe(0x21d)](_0x4ceebe(0x1d4),{'className':_0x4ceebe(0x138),'onClick':_0x21cb2c,'children':[_0x24ac85[_0x4ceebe(0x121)]('div',{'className':_0x13f7dc[_0x4ceebe(0x319)](_0x4ceebe(0x281),_0x39effa?_0x4ceebe(0xc6):_0x4ceebe(0x2d4)),'children':_0x39fa8d}),_0x24ac85[_0x4ceebe(0x121)](_0x4ceebe(0x1d4),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x28da80})]});}return _0x39effa?_0x1e69e7():_0x24ac85['jsx'](_0x13f7dc[_0x1d6ad6(0x143)],{'title':_0x4a5ca2['t'](_0x1d6ad6(0x1f9)),'children':_0x1e69e7()});}var _0x39423f=Object['getOwnPropertyDescriptor'],_0x45223c=(_0x3d272a,_0x28d3e9,_0x5f3de2,_0x32c4fd)=>{const _0x2d31d2=_0x1b0c82;for(var _0x172435=_0x32c4fd>0x1?void 0x0:_0x32c4fd?_0x39423f(_0x28d3e9,_0x5f3de2):_0x28d3e9,_0x560df3=_0x3d272a[_0x2d31d2(0x322)]-0x1,_0x39fb08;_0x560df3>=0x0;_0x560df3--)(_0x39fb08=_0x3d272a[_0x560df3])&&(_0x172435=_0x39fb08(_0x172435)||_0x172435);return _0x172435;},_0x506002=(_0x10d7f3,_0x319609)=>(_0x90e72b,_0x47b89f)=>_0x319609(_0x90e72b,_0x47b89f,_0x10d7f3);_0x4b0a9d[_0x1b0c82(0x1a5)]=class extends _0x5e3496[_0x1b0c82(0x20f)]{constructor(_0x3f0e56,_0x4ddf00,_0x17b292,_0x5bb4fb){const _0x223e73=_0x1b0c82;super(),_0x5be2b7(this,_0x223e73(0x174),new _0x40ed3d['BehaviorSubject'](_0x144b9c['CollaborationStatus']['NOT_COLLAB'])),(this[_0x223e73(0x190)]=_0x3f0e56,this['_injector']=_0x4ddf00,this[_0x223e73(0x1be)]=_0x17b292,this[_0x223e73(0x2fc)]=_0x5bb4fb,this[_0x223e73(0x2b8)](),this[_0x223e73(0x278)]());}[_0x1b0c82(0x278)](){const _0x262e8e=_0x1b0c82;this[_0x262e8e(0x128)](this[_0x262e8e(0x190)][_0x262e8e(0xe1)][_0x262e8e(0xca)](_0x40ed3d[_0x262e8e(0x30d)](()=>{const _0x367647=_0x262e8e,_0x12bc8e=this[_0x367647(0x190)]['getFocusedUnit']();return _0x12bc8e?this[_0x367647(0x1be)][_0x367647(0x17c)](_0x12bc8e[_0x367647(0x1b3)]()):_0x40ed3d['of'](null);}),_0x40ed3d['switchMap'](_0x21055c=>_0x21055c?_0x21055c[_0x262e8e(0x2fb)]:_0x40ed3d['of'](_0x144b9c['CollaborationStatus'][_0x262e8e(0x23e)])))[_0x262e8e(0x157)](_0x4548b8=>{const _0x25ca5b=_0x262e8e;this[_0x25ca5b(0x174)][_0x25ca5b(0xcc)](_0x4548b8);}));}[_0x1b0c82(0x2b8)](){const _0x7569=_0x1b0c82;this[_0x7569(0x128)](this[_0x7569(0x2fc)]['registerComponent'](_0x4dbd51[_0x7569(0xd8)][_0x7569(0x150)],()=>_0x4dbd51['connectInjector'](_0x245396({'status$':this[_0x7569(0x174)][_0x7569(0x20e)]()}),this['_injector'])));}},_0x4b0a9d[_0x1b0c82(0x1a5)]=_0x45223c([_0x506002(0x0,_0x5e3496[_0x1b0c82(0x229)]),_0x506002(0x1,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0xaf)])),_0x506002(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x144b9c[_0x1b0c82(0x321)])),_0x506002(0x3,_0x4dbd51[_0x1b0c82(0x14d)])],_0x4b0a9d[_0x1b0c82(0x1a5)]);function _0x245396(_0x327ae0){const {status$:_0x5de6f5}=_0x327ae0;return function(){return _0x24ac85['jsx'](_0xf90619,{'status$':_0x5de6f5});};}var _0x45cfef=Object['getOwnPropertyDescriptor'],_0x372809=(_0x158796,_0x48894a,_0x40a6c4,_0x28754b)=>{const _0x22fdb4=_0x1b0c82;for(var _0x41a6b7=_0x28754b>0x1?void 0x0:_0x28754b?_0x45cfef(_0x48894a,_0x40a6c4):_0x48894a,_0x7cd08d=_0x158796[_0x22fdb4(0x322)]-0x1,_0x3595cf;_0x7cd08d>=0x0;_0x7cd08d--)(_0x3595cf=_0x158796[_0x7cd08d])&&(_0x41a6b7=_0x3595cf(_0x41a6b7)||_0x41a6b7);return _0x41a6b7;},_0x335d45=(_0x535974,_0x1db4a3)=>(_0xfa0995,_0x128c95)=>_0x1db4a3(_0xfa0995,_0x128c95,_0x535974);let _0x16ae9b=class extends _0x5e3496['Disposable']{constructor(_0x617fbe,_0x416080,_0x217f7d,_0x288cf6,_0x28355a,_0x449839){const _0x250a4a=_0x1b0c82;super(),this[_0x250a4a(0xe0)]=_0x617fbe,this[_0x250a4a(0x12d)]=_0x416080,this[_0x250a4a(0x188)]=_0x217f7d,this['_messageService']=_0x288cf6,this[_0x250a4a(0x2f0)]=_0x28355a,this[_0x250a4a(0x170)]=_0x449839,this[_0x250a4a(0x103)](),this[_0x250a4a(0x152)]();}[_0x1b0c82(0x103)](){const _0x1baf99=_0x1b0c82;this[_0x1baf99(0x128)](this[_0x1baf99(0xe0)][_0x1baf99(0x2d9)](()=>{const _0x2df4b4=_0x1baf99;if(this[_0x2df4b4(0x12d)][_0x2df4b4(0x284)][_0x2df4b4(0x124)])return this['_localeService']['t'](_0x2df4b4(0x182));}));}['_initEvent'](){const _0x4532fa=_0x1b0c82;this['disposeWithMe'](this['_collaborationUIEventService'][_0x4532fa(0x206)][_0x4532fa(0x157)](_0x3acdf7=>{const _0x31e2de=_0x4532fa;_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)][_0x31e2de(0x22e)]&&this[_0x31e2de(0x259)][_0x31e2de(0x172)]({'type':_0x13f7dc[_0x31e2de(0x1bd)][_0x31e2de(0x189)],'content':this[_0x31e2de(0x170)]['t']('collaboration.single-unit.warning')}),_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)]['CLOSE_ROOM']&&this[_0x31e2de(0x259)]['show']({'type':_0x13f7dc[_0x31e2de(0x1bd)]['Warning'],'content':this[_0x31e2de(0x170)]['t'](_0x31e2de(0x2b3))}),_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)]['PERMISSION_DENIED']&&this[_0x31e2de(0x2f0)][_0x31e2de(0x172)]({'title':this[_0x31e2de(0x170)]['t'](_0x31e2de(0x127)),'content':this[_0x31e2de(0x170)]['t']('permission.content'),'type':_0x31e2de(0x155),'duration':0x0}),_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)][_0x31e2de(0xdf)]&&this[_0x31e2de(0x259)][_0x31e2de(0x172)]({'type':_0x13f7dc[_0x31e2de(0x1bd)][_0x31e2de(0x26e)],'content':this[_0x31e2de(0x170)]['t'](_0x31e2de(0x2b3))+'('+_0x3acdf7['data']+')'}),_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)][_0x31e2de(0x13c)]&&this[_0x31e2de(0x259)]['show']({'type':_0x13f7dc['MessageType']['Warning'],'content':this['_localeService']['t'](_0x3acdf7[_0x31e2de(0xe4)]||'')}),_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)][_0x31e2de(0x2bf)]&&this['_messageService'][_0x31e2de(0x172)]({'type':_0x13f7dc['MessageType'][_0x31e2de(0x189)],'content':this[_0x31e2de(0x170)]['t'](_0x31e2de(0x228))}),_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)][_0x31e2de(0x248)]&&this[_0x31e2de(0x259)][_0x31e2de(0x172)]({'type':_0x13f7dc[_0x31e2de(0x1bd)][_0x31e2de(0x26e)],'content':this[_0x31e2de(0x170)]['t']('session.connection-failed')}),_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)][_0x31e2de(0x1e0)]&&this[_0x31e2de(0x259)][_0x31e2de(0x172)]({'type':_0x13f7dc['MessageType'][_0x31e2de(0x26e)],'content':this[_0x31e2de(0x170)]['t']('session.collaboration-timeout')});}));}};_0x16ae9b=_0x372809([_0x335d45(0x0,_0x4dbd51[_0x1b0c82(0xfb)]),_0x335d45(0x1,_0x144b9c[_0x1b0c82(0x26b)]),_0x335d45(0x2,_0x5e3496['Inject'](_0x144b9c[_0x1b0c82(0x148)])),_0x335d45(0x3,_0x4dbd51[_0x1b0c82(0x2f4)]),_0x335d45(0x4,_0x4dbd51[_0x1b0c82(0x1ed)]),_0x335d45(0x5,_0x5e3496['Inject'](_0x5e3496['LocaleService']))],_0x16ae9b);const _0x10ee4b=_0x1b0c82(0x2ea),_0x11285b={},_0x3d7732=_0x5e3496[_0x1b0c82(0x1c8)](_0x1b0c82(0xee));var _0x23a7b8=Object[_0x1b0c82(0x1a9)],_0x3092e6=(_0x4603b2,_0x27f31b,_0xe37ece,_0x30723d)=>{const _0x4ad3e5=_0x1b0c82;for(var _0x1b4f30=_0x30723d>0x1?void 0x0:_0x30723d?_0x23a7b8(_0x27f31b,_0xe37ece):_0x27f31b,_0xa88635=_0x4603b2[_0x4ad3e5(0x322)]-0x1,_0x5ca8da;_0xa88635>=0x0;_0xa88635--)(_0x5ca8da=_0x4603b2[_0xa88635])&&(_0x1b4f30=_0x5ca8da(_0x1b4f30)||_0x1b4f30);return _0x1b4f30;},_0x5b5cb3=(_0x3b1896,_0x214c3d)=>(_0x63db48,_0x3ffc86)=>_0x214c3d(_0x63db48,_0x3ffc86,_0x3b1896);_0x4b0a9d[_0x1b0c82(0xa7)]=class extends _0x5e3496['RxDisposable']{constructor(_0x193bb1,_0x5a6714,_0x442eb2,_0x27272c,_0x116747){const _0x2de00d=_0x1b0c82;super(),this[_0x2de00d(0xbd)]=_0x193bb1,this[_0x2de00d(0x2ab)]=_0x5a6714,this[_0x2de00d(0xfe)]=_0x442eb2,this['_dataLoaderService']=_0x27272c,_0x116747?_0x116747==null||_0x116747[_0x2de00d(0x15b)]()[_0x2de00d(0x2db)](()=>this[_0x2de00d(0x252)]()):(this['_logService'][_0x2de00d(0x23a)](_0x2de00d(0x122),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2de00d(0x252)]());}async[_0x1b0c82(0x252)](){const _0xd17c16=_0x1b0c82,_0x51b70a=this[_0xd17c16(0xbd)]['getParam'](_0xd17c16(0x2d5)),_0x2e184a=this[_0xd17c16(0xbd)][_0xd17c16(0x17f)](_0xd17c16(0x31b)),_0x3795eb=this[_0xd17c16(0xbd)][_0xd17c16(0x17f)](_0xd17c16(0x2d0));if(!_0x51b70a||!_0x2e184a){this[_0xd17c16(0x2ab)][_0xd17c16(0x23a)](_0xd17c16(0x122),_0xd17c16(0x270));return;}const _0xff2bf5=await this[_0xd17c16(0x149)][_0xd17c16(0x211)](_0x51b70a,Number(_0x2e184a),_0x3795eb);_0xff2bf5&&_0xff2bf5 instanceof _0x5e3496[_0xd17c16(0xda)]&&this[_0xd17c16(0x244)](_0xff2bf5);}async[_0x1b0c82(0x244)](_0x31a2cf){const _0x59908b=_0x1b0c82;await this['_updateSubUnitFromURLParams'](_0x31a2cf),_0x31a2cf['activeSheet$'][_0x59908b(0xca)](_0x40ed3d[_0x59908b(0x275)](this['dispose$']))[_0x59908b(0x157)](_0x3c37b5=>{const _0x30ec0f=_0x59908b;_0x3c37b5&&this[_0x30ec0f(0x2b7)](_0x3c37b5);}),this[_0x59908b(0xbd)][_0x59908b(0x1de)]['pipe'](_0x40ed3d[_0x59908b(0x275)](this[_0x59908b(0x1fb)]))[_0x59908b(0x157)](()=>this[_0x59908b(0x22b)](_0x31a2cf));}['_updateURLWithCurrentState'](_0x51c9c7,_0x2b5af0=!0x1){const _0x56bce2=_0x1b0c82,_0x1bb1e8=this[_0x56bce2(0xbd)][_0x56bce2(0x17f)](_0x56bce2(0x2d0));_0x51c9c7['getSheetId']()!==_0x1bb1e8&&this['_urlService']['setParam'](_0x56bce2(0x2d0),_0x51c9c7[_0x56bce2(0x1b4)](),_0x2b5af0);}async[_0x1b0c82(0x22b)](_0x3d9da2){const _0x16622c=_0x1b0c82;var _0x4792da;const _0x5ca911=this['_urlService'][_0x16622c(0x17f)](_0x16622c(0x2d0));if(!_0x5ca911||!_0x3d9da2['getSheetBySheetId'](_0x5ca911)){const _0x38d6eb=_0x3d9da2['getUnhiddenWorksheets']()[0x0],_0x5426c1=_0x3d9da2[_0x16622c(0x156)](_0x38d6eb);if(!_0x5426c1)return;this['_updateURLWithCurrentState'](_0x5426c1,!0x0),await this[_0x16622c(0xfe)][_0x16622c(0x26c)](_0x57834c['SetWorksheetActivateCommand']['id'],{'unitId':_0x3d9da2[_0x16622c(0x1b3)](),'subUnitId':_0x38d6eb});return;}((_0x4792da=_0x3d9da2[_0x16622c(0x1cd)]())==null?void 0x0:_0x4792da[_0x16622c(0x1b4)]())!==_0x5ca911&&await this['_commandService'][_0x16622c(0x26c)](_0x57834c['SetWorksheetActivateCommand']['id'],{'unitId':_0x3d9da2[_0x16622c(0x1b3)](),'subUnitId':_0x5ca911});}},_0x4b0a9d[_0x1b0c82(0xa7)]=_0x3092e6([_0x5b5cb3(0x0,_0x3d7732),_0x5b5cb3(0x1,_0x5e3496[_0x1b0c82(0x214)]),_0x5b5cb3(0x2,_0x5e3496[_0x1b0c82(0x1c9)]),_0x5b5cb3(0x3,_0x5e3496[_0x1b0c82(0x167)](_0x144b9c[_0x1b0c82(0x2bd)])),_0x5b5cb3(0x4,_0x5e3496['Optional'](_0xc09291['IRemoteInstanceService']))],_0x4b0a9d[_0x1b0c82(0xa7)]);var _0x398ecb=Object[_0x1b0c82(0x1a9)],_0x11d0ad=(_0x7ec36d,_0x12e7d5,_0x5666ef,_0x1e283c)=>{for(var _0x2e4ee8=_0x1e283c>0x1?void 0x0:_0x1e283c?_0x398ecb(_0x12e7d5,_0x5666ef):_0x12e7d5,_0x442b5d=_0x7ec36d['length']-0x1,_0x5354e1;_0x442b5d>=0x0;_0x442b5d--)(_0x5354e1=_0x7ec36d[_0x442b5d])&&(_0x2e4ee8=_0x5354e1(_0x2e4ee8)||_0x2e4ee8);return _0x2e4ee8;},_0x186843=(_0x4df11c,_0x224bff)=>(_0x3f4804,_0x51d92b)=>_0x224bff(_0x3f4804,_0x51d92b,_0x4df11c);let _0x58d15e=class{constructor(_0x5560b2,_0x4d38ac,_0x392aa1){const _0x26cc2c=_0x1b0c82;this['_injector']=_0x5560b2,this[_0x26cc2c(0x303)]=_0x4d38ac,this[_0x26cc2c(0x133)]=_0x392aa1;}[_0x1b0c82(0x293)](_0x347f3a){const _0x17c894=_0x1b0c82;this[_0x17c894(0xa3)](_0x347f3a),this['_transformPreviousActiveRange'](_0x347f3a);}[_0x1b0c82(0x30a)](_0x3ebd76){const _0x43c8ed=_0x1b0c82,{unitID:_0x2a2cbe}=_0x3ebd76,_0x91bcd7=this[_0x43c8ed(0x133)][_0x43c8ed(0xf0)](_0x2a2cbe)[_0x43c8ed(0x31a)](_0xc6f069[_0x43c8ed(0x162)]),{redoCache:_0x4f0d99}=_0x91bcd7[_0x43c8ed(0x1aa)]();if(_0x4f0d99['length']===0x0)return _0x3ebd76;let _0x59f854=_0x5e3496['Tools']['deepClone'](_0x3ebd76[_0x43c8ed(0x1ea)][0x0]);for(let _0x162460=0x0;_0x162460<_0x4f0d99[_0x43c8ed(0x322)];_0x162460++){const _0x3e275c={'id':'doc.mutation.rich-text-editing','params':{..._0x4f0d99[_0x162460]}},_0x230f7e=this[_0x43c8ed(0x303)]['transformMutation'](_0x59f854,_0x3e275c,!0x1);if(_0x4251b3[_0x43c8ed(0xcf)](_0x230f7e))throw _0x230f7e[_0x43c8ed(0x155)];_0x59f854=_0x230f7e[_0x43c8ed(0x1e7)];}return{..._0x5e3496['Tools'][_0x43c8ed(0x24e)](_0x3ebd76),'mutations':[_0x59f854]};}['_transformUndoRedoStack'](_0x2e0694){const _0x45642a=_0x1b0c82,{unitID:_0x22c0f3}=_0x2e0694,_0x298d05=this['_renderManagerService'][_0x45642a(0xf0)](_0x22c0f3)[_0x45642a(0x31a)](_0xc6f069[_0x45642a(0x162)]),{undoCache:_0x222baf,redoCache:_0x11a2a0}=_0x298d05[_0x45642a(0x1aa)]();if(_0x222baf[_0x45642a(0x322)]===0x0||_0x11a2a0[_0x45642a(0x322)]===0x0)return;const _0x3a64c0=[],_0x2a0db1=[];let _0x4bb737=_0x5e3496[_0x45642a(0x238)][_0x45642a(0x24e)](_0x2e0694[_0x45642a(0x1ea)][0x0]),_0xd9f803=_0x5e3496['Tools']['deepClone'](_0x2e0694[_0x45642a(0x1ea)][0x0]);for(let _0xf0516f=_0x222baf[_0x45642a(0x322)]-0x1;_0xf0516f>=0x0;_0xf0516f--){const _0x8efacf={'id':'doc.mutation.rich-text-editing','params':{..._0x222baf[_0xf0516f]}},_0x2b0675={'id':_0x45642a(0xc1),'params':{..._0x11a2a0[_0xf0516f]}},_0x41ef98=this[_0x45642a(0x303)]['transformMutation'](_0x4bb737,_0x8efacf,!0x1),_0x40922a=this[_0x45642a(0x303)]['transformMutation'](_0xd9f803,_0x2b0675,!0x1);if(_0x4251b3[_0x45642a(0xcf)](_0x41ef98))throw _0x41ef98[_0x45642a(0x155)];if(_0x4251b3[_0x45642a(0xcf)](_0x40922a))throw _0x40922a['error'];_0x3a64c0[_0x45642a(0x1ab)](_0x41ef98[_0x45642a(0x1b0)][_0x45642a(0xff)]),_0x2a0db1[_0x45642a(0x1ab)](_0x40922a[_0x45642a(0x1b0)][_0x45642a(0xff)]),_0x4bb737=_0x41ef98['m1Prime'],_0xd9f803=_0x40922a[_0x45642a(0x1e7)];}_0x298d05[_0x45642a(0x2ff)]({'undoCache':_0x3a64c0,'redoCache':_0x2a0db1});}[_0x1b0c82(0x178)](_0xfdb835){const _0x410f03=_0x1b0c82,{unitID:_0x23220b}=_0xfdb835,_0x1cf77b=this[_0x410f03(0x133)][_0x410f03(0xf0)](_0x23220b)['with'](_0xc6f069[_0x410f03(0x162)]),_0x2362fc=_0x1cf77b[_0x410f03(0x2bc)]();if(_0x2362fc==null)return;const _0x238002=[{'id':_0x410f03(0xc1),'params':{'unitId':_0xfdb835['unitID'],'actions':null,'textRanges':[_0x2362fc]}}],_0x279a30=this[_0x410f03(0x303)][_0x410f03(0x28d)](_0xfdb835,_0x238002);if(!_0x4251b3[_0x410f03(0x208)](_0x279a30))throw _0x279a30['error'];const _0x2636cf=_0x279a30['m2Prime'][0x0][_0x410f03(0xff)][_0x410f03(0x2c8)];Array['isArray'](_0x2636cf)&&_0x2636cf[_0x410f03(0x322)]&&_0x1cf77b['setActiveRange'](_0x2636cf[0x0]);}};_0x58d15e=_0x11d0ad([_0x186843(0x0,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0xaf)])),_0x186843(0x1,_0x4251b3['ITransformService']),_0x186843(0x2,_0x8bdac5[_0x1b0c82(0x18b)])],_0x58d15e);var _0x5e0e4b=Object[_0x1b0c82(0x1a9)],_0x1f2be5=(_0x51f0f5,_0x4abbd3,_0x5786f2,_0x1f4de3)=>{for(var _0x135ded=_0x1f4de3>0x1?void 0x0:_0x1f4de3?_0x5e0e4b(_0x4abbd3,_0x5786f2):_0x4abbd3,_0x30645f=_0x51f0f5['length']-0x1,_0x1ea267;_0x30645f>=0x0;_0x30645f--)(_0x1ea267=_0x51f0f5[_0x30645f])&&(_0x135ded=_0x1ea267(_0x135ded)||_0x135ded);return _0x135ded;},_0xfc39ba=(_0xdc5e53,_0x42396b)=>(_0x1d59be,_0x171c29)=>_0x42396b(_0x1d59be,_0x171c29,_0xdc5e53);let _0x4cba12=class{constructor(_0x3bb633,_0x12b18d,_0x34bbca){const _0x80483c=_0x1b0c82;this[_0x80483c(0x2cd)]=_0x3bb633,this[_0x80483c(0x303)]=_0x12b18d,this['_docStateChangeManagerService']=_0x34bbca;}[_0x1b0c82(0x29c)](_0x5bf461){const _0x47bee3=_0x1b0c82;this[_0x47bee3(0x247)](_0x5bf461);}[_0x1b0c82(0x30a)](_0x5235e7){const _0xcc9e90=_0x1b0c82,{unitID:_0x508df7}=_0x5235e7,{collaboration:_0x5885e9}=this['_docStateChangeManagerService'][_0xcc9e90(0x1a1)](_0x508df7);if(_0x5885e9[_0xcc9e90(0x322)]===0x0)return _0x5235e7;let _0x170195=_0x5e3496[_0xcc9e90(0x238)]['deepClone'](_0x5235e7[_0xcc9e90(0x1ea)][0x0]);for(let _0xd637a8=0x0;_0xd637a8<_0x5885e9[_0xcc9e90(0x322)];_0xd637a8++){const _0x4150ef={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5885e9[_0xd637a8][_0xcc9e90(0x221)],..._0x5885e9[_0xd637a8][_0xcc9e90(0x2dc)]}},_0x1a88ba=this['_transformService']['transformMutation'](_0x170195,_0x4150ef,!0x1);if(_0x4251b3[_0xcc9e90(0xcf)](_0x1a88ba))throw _0x1a88ba[_0xcc9e90(0x155)];_0x170195=_0x1a88ba[_0xcc9e90(0x1e7)];}return{..._0x5e3496[_0xcc9e90(0x238)][_0xcc9e90(0x24e)](_0x5235e7),'mutations':[_0x170195]};}[_0x1b0c82(0x247)](_0x933018){const _0x59b2bd=_0x1b0c82,{unitID:_0x50b778}=_0x933018,{history:_0x438576,collaboration:_0x1d176f}=this['_docStateChangeManagerService'][_0x59b2bd(0x1a1)](_0x50b778);if(_0x438576[_0x59b2bd(0x322)]===0x0&&_0x1d176f[_0x59b2bd(0x322)]===0x0)return;const _0x141894=[],_0xa84ef=[];let _0x8d0e71=_0x5e3496[_0x59b2bd(0x238)][_0x59b2bd(0x24e)](_0x933018[_0x59b2bd(0x1ea)][0x0]),_0x3c48a8=_0x5e3496['Tools'][_0x59b2bd(0x24e)](_0x933018[_0x59b2bd(0x1ea)][0x0]);for(let _0x32c33b=_0x438576[_0x59b2bd(0x322)]-0x1;_0x32c33b>=0x0;_0x32c33b--){const _0x2c074e={'id':_0x59b2bd(0xc1),'params':{'unitId':_0x438576[_0x32c33b][_0x59b2bd(0x221)],..._0x438576[_0x32c33b]['undoState']}},_0x4c196a={'id':_0x59b2bd(0xc1),'params':{'unitId':_0x438576[_0x32c33b]['unitId'],..._0x438576[_0x32c33b][_0x59b2bd(0x2dc)]}},_0x93c827=this[_0x59b2bd(0x303)]['transformMutation'](_0x8d0e71,_0x2c074e,!0x1),_0x1293fe=this[_0x59b2bd(0x303)][_0x59b2bd(0x25c)](_0x3c48a8,_0x4c196a,!0x1);if(_0x4251b3['isTransformMutationFailure'](_0x93c827))throw _0x93c827[_0x59b2bd(0x155)];if(_0x4251b3[_0x59b2bd(0xcf)](_0x1293fe))throw _0x1293fe[_0x59b2bd(0x155)];_0x141894[_0x59b2bd(0x1ab)]({..._0x438576[_0x32c33b],'undoState':_0x93c827[_0x59b2bd(0x1b0)][_0x59b2bd(0xff)],'redoState':_0x1293fe[_0x59b2bd(0x1b0)][_0x59b2bd(0xff)]}),_0x8d0e71=_0x93c827[_0x59b2bd(0x1e7)],_0x3c48a8=_0x1293fe[_0x59b2bd(0x1e7)];}_0x8d0e71=_0x5e3496[_0x59b2bd(0x238)][_0x59b2bd(0x24e)](_0x933018['mutations'][0x0]),_0x3c48a8=_0x5e3496[_0x59b2bd(0x238)][_0x59b2bd(0x24e)](_0x933018[_0x59b2bd(0x1ea)][0x0]);for(let _0x245635=_0x1d176f['length']-0x1;_0x245635>=0x0;_0x245635--){const _0x50781d={'id':_0x59b2bd(0xc1),'params':{'unitId':_0x1d176f[_0x245635][_0x59b2bd(0x221)],..._0x1d176f[_0x245635][_0x59b2bd(0x1d1)]}},_0x211b30={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d176f[_0x245635]['unitId'],..._0x1d176f[_0x245635][_0x59b2bd(0x2dc)]}},_0x6831d5=this[_0x59b2bd(0x303)]['transformMutation'](_0x8d0e71,_0x50781d,!0x1),_0x2834f4=this[_0x59b2bd(0x303)]['transformMutation'](_0x3c48a8,_0x211b30,!0x1);if(_0x4251b3[_0x59b2bd(0xcf)](_0x6831d5))throw _0x6831d5[_0x59b2bd(0x155)];if(_0x4251b3[_0x59b2bd(0xcf)](_0x2834f4))throw _0x2834f4[_0x59b2bd(0x155)];_0xa84ef[_0x59b2bd(0x1ab)]({..._0x1d176f[_0x245635],'undoState':_0x6831d5[_0x59b2bd(0x1b0)][_0x59b2bd(0xff)],'redoState':_0x2834f4[_0x59b2bd(0x1b0)][_0x59b2bd(0xff)]}),_0x8d0e71=_0x6831d5['m1Prime'],_0x3c48a8=_0x2834f4[_0x59b2bd(0x1e7)];}this['_docStateChangeManagerService']['setStateCache'](_0x50b778,{'history':_0x141894,'collaboration':_0xa84ef});}};_0x4cba12=_0x1f2be5([_0xfc39ba(0x0,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496['Injector'])),_0xfc39ba(0x1,_0x4251b3[_0x1b0c82(0xf4)]),_0xfc39ba(0x2,_0x5e3496[_0x1b0c82(0x167)](_0xc6f069[_0x1b0c82(0x181)]))],_0x4cba12);var _0x5b0368=Object[_0x1b0c82(0x1a9)],_0xb6ad6e=(_0x428384,_0x1160c3,_0x2d7d8b,_0x582bb1)=>{const _0x3125ac=_0x1b0c82;for(var _0x22299b=_0x582bb1>0x1?void 0x0:_0x582bb1?_0x5b0368(_0x1160c3,_0x2d7d8b):_0x1160c3,_0x5e7e63=_0x428384[_0x3125ac(0x322)]-0x1,_0x4b0a0d;_0x5e7e63>=0x0;_0x5e7e63--)(_0x4b0a0d=_0x428384[_0x5e7e63])&&(_0x22299b=_0x4b0a0d(_0x22299b)||_0x22299b);return _0x22299b;},_0x5f16bd=(_0x1b9768,_0xedf036)=>(_0x413d8a,_0x4c915b)=>_0xedf036(_0x413d8a,_0x4c915b,_0x1b9768);let _0x1b375d=class{constructor(_0x26be0a,_0xce1b28){const _0x3bcdcd=_0x1b0c82;this[_0x3bcdcd(0x2cd)]=_0x26be0a,this[_0x3bcdcd(0x303)]=_0xce1b28;}[_0x1b0c82(0x1e8)](_0x52d47f){const _0x32d9f1=_0x1b0c82;var _0x537117;const _0x3166aa=this[_0x32d9f1(0x2cd)]['get'](_0x2415d7[_0x32d9f1(0x2ac)]),_0x41092e=(_0x537117=_0x3166aa[_0x32d9f1(0xd9)]())!=null?_0x537117:[];if(_0x41092e[_0x32d9f1(0x322)]===0x0)return;const _0x5aa18a=_0x52d47f[_0x32d9f1(0x204)],_0x2b80e3=[{'id':_0x32d9f1(0xc1),'params':{'unitId':_0x5aa18a,'actions':null,'textRanges':_0x41092e}}],_0x2658b9=this[_0x32d9f1(0x303)][_0x32d9f1(0x28d)](_0x52d47f,_0x2b80e3);if(!_0x4251b3[_0x32d9f1(0x208)](_0x2658b9))throw _0x2658b9[_0x32d9f1(0x155)];const _0x370dff=_0x2658b9[_0x32d9f1(0x1b0)][0x0][_0x32d9f1(0xff)][_0x32d9f1(0x2c8)];Array[_0x32d9f1(0x28b)](_0x370dff)&&_0x370dff['length']&&_0x3166aa['replaceDocRanges'](_0x370dff,{'unitId':_0x5aa18a,'subUnitId':_0x5aa18a},!0x1);}};_0x1b375d=_0xb6ad6e([_0x5f16bd(0x0,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496['Injector'])),_0x5f16bd(0x1,_0x4251b3[_0x1b0c82(0xf4)])],_0x1b375d);var _0x2050cc=Object[_0x1b0c82(0x1a9)],_0x59f4f1=(_0x2ae555,_0x26cb40,_0x2a3fda,_0x296b3f)=>{const _0x3f634f=_0x1b0c82;for(var _0x4a69f3=_0x296b3f>0x1?void 0x0:_0x296b3f?_0x2050cc(_0x26cb40,_0x2a3fda):_0x26cb40,_0x577bb9=_0x2ae555[_0x3f634f(0x322)]-0x1,_0x229b42;_0x577bb9>=0x0;_0x577bb9--)(_0x229b42=_0x2ae555[_0x577bb9])&&(_0x4a69f3=_0x229b42(_0x4a69f3)||_0x4a69f3);return _0x4a69f3;},_0x2ed7f7=(_0x4d5f77,_0x2baa19)=>(_0x5ed52c,_0x2b3e57)=>_0x2baa19(_0x5ed52c,_0x2b3e57,_0x4d5f77);let _0x350ffb=class extends _0x5e3496[_0x1b0c82(0x20f)]{constructor(_0x1b3da1,_0x5eb323,_0x2abbea,_0x5dede4,_0x205531,_0x38448e,_0x1db64e,_0x3f11a6){const _0x59de83=_0x1b0c82;super(),_0x5be2b7(this,'_status$',new _0x40ed3d[(_0x59de83(0x24d))](_0x144b9c['CollaborationStatus'][_0x59de83(0x23e)])),(this[_0x59de83(0x19f)]=_0x1b3da1,this[_0x59de83(0x1be)]=_0x5eb323,this[_0x59de83(0x2c1)]=_0x2abbea,this['_docTransformStateCacheService']=_0x5dede4,this[_0x59de83(0x240)]=_0x205531,this['_docSyncEditingCollabCursorService']=_0x38448e,this[_0x59de83(0x259)]=_0x1db64e,this[_0x59de83(0x170)]=_0x3f11a6,this['_initEntityListener']());}[_0x1b0c82(0x194)](){const _0x5d936e=_0x1b0c82;this[_0x5d936e(0x128)](this[_0x5d936e(0x1be)][_0x5d936e(0x1f2)][_0x5d936e(0x157)](_0x25d527=>{const _0x4dea86=_0x5d936e,_0x14061a=this[_0x4dea86(0x19f)][_0x4dea86(0xf1)][_0x4dea86(0x157)](_0x227d0d=>{const _0x2e1f33=_0x4dea86;if(_0x227d0d==null)return;const {unitId:_0x1343ec,redoState:_0xffb0b3,commandId:_0x32c691}=_0x227d0d;if(_0x1343ec!==_0x25d527[_0x2e1f33(0x204)])return;const _0x4ad435={'id':_0x32c691,'type':_0x5e3496[_0x2e1f33(0x146)]['MUTATION'],'params':{'unitId':_0x1343ec,'actions':_0xffb0b3[_0x2e1f33(0x2c3)],'textRanges':null}};_0x25d527[_0x2e1f33(0x9b)](_0x4ad435);});if(_0x25d527['disposeWithMe'](_0x14061a),_0x25d527 instanceof _0x144b9c['DocCollaborationEntity']){const _0x4b25b3={'onTransformIME':_0xfbfe34=>this['_docTransformIMECacheService'][_0x4dea86(0x293)](_0xfbfe34),'onTransformState':_0x4ecfe0=>this[_0x4dea86(0x2ae)][_0x4dea86(0x29c)](_0x4ecfe0),'onTransformSelections':_0x1377c0=>this[_0x4dea86(0x240)][_0x4dea86(0x1e8)](_0x1377c0),'onSyncEditingCollabCursor':_0xe81388=>this[_0x4dea86(0xc8)][_0x4dea86(0x2f8)](_0xe81388),'onTransformRemoteChangesetByIMECache':_0x9b2650=>this[_0x4dea86(0x2c1)]['transformRemoteChangeset'](_0x9b2650),'onTransformRemoteChangesetByStateCache':_0x1e972d=>this[_0x4dea86(0x2ae)][_0x4dea86(0x30a)](_0x1e972d)};_0x25d527[_0x4dea86(0x313)](_0x4b25b3);}}));}};_0x350ffb=_0x59f4f1([_0x2ed7f7(0x0,_0x5e3496[_0x1b0c82(0x167)](_0xc6f069[_0x1b0c82(0x181)])),_0x2ed7f7(0x1,_0x5e3496[_0x1b0c82(0x167)](_0x144b9c[_0x1b0c82(0x321)])),_0x2ed7f7(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x58d15e)),_0x2ed7f7(0x3,_0x5e3496[_0x1b0c82(0x167)](_0x4cba12)),_0x2ed7f7(0x4,_0x5e3496['Inject'](_0x1b375d)),_0x2ed7f7(0x5,_0x5e3496[_0x1b0c82(0x167)](_0x238d27)),_0x2ed7f7(0x6,_0x4dbd51[_0x1b0c82(0x2f4)]),_0x2ed7f7(0x7,_0x5e3496['Inject'](_0x5e3496[_0x1b0c82(0x1f6)]))],_0x350ffb);var _0x2dd25c=Object[_0x1b0c82(0x1a9)],_0x1331b3=(_0x4cddbf,_0x1e2217,_0x287887,_0x4c43a2)=>{const _0x1c89ae=_0x1b0c82;for(var _0x8ec8c0=_0x4c43a2>0x1?void 0x0:_0x4c43a2?_0x2dd25c(_0x1e2217,_0x287887):_0x1e2217,_0x57a797=_0x4cddbf[_0x1c89ae(0x322)]-0x1,_0x232296;_0x57a797>=0x0;_0x57a797--)(_0x232296=_0x4cddbf[_0x57a797])&&(_0x8ec8c0=_0x232296(_0x8ec8c0)||_0x8ec8c0);return _0x8ec8c0;},_0x3d4e8e=(_0x4ad5f9,_0x11f8fd)=>(_0x4a2afb,_0xd93804)=>_0x11f8fd(_0x4a2afb,_0xd93804,_0x4ad5f9);let _0x16c28c=class extends _0x5e3496[_0x1b0c82(0x20f)]{constructor(_0x22d4bb,_0x374909,_0x2dc4e5){const _0x2394c0=_0x1b0c82;super(),_0x5be2b7(this,_0x2394c0(0xea),new Map()),_0x5be2b7(this,_0x2394c0(0x29a),new Map()),_0x5be2b7(this,_0x2394c0(0x219),!0x1),(this['_configService']=_0x22d4bb,this[_0x2394c0(0x2c6)]=_0x374909,this[_0x2394c0(0x250)]=_0x2dc4e5);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x1b0c82(0x1fa)](){const _0x2e799e=_0x1b0c82;this[_0x2e799e(0x219)]=!0x1;}get[_0x1b0c82(0x284)](){const _0x2191b0=_0x1b0c82;return this[_0x2191b0(0x29a)];}[_0x1b0c82(0x2e9)](){const _0xe648c8=_0x1b0c82;this[_0xe648c8(0xa2)]()['then'](()=>super['dispose']());}async[_0x1b0c82(0x2f3)](_0x18aa8c){const _0x3bbc01=_0x1b0c82;return this[_0x3bbc01(0x219)]?null:this['_localStorageService'][_0x3bbc01(0x2fd)](_0x144b9c[_0x3bbc01(0x125)](_0x18aa8c));}async[_0x1b0c82(0x311)](_0x7fbcd1,_0x3bc5ef){const _0x5dc48f=_0x1b0c82;return!!this[_0x5dc48f(0x2c6)][_0x5dc48f(0x1e5)](_0x7fbcd1,_0x3bc5ef);}[_0x1b0c82(0x15d)](_0x504bb2,_0x5e07a5,_0x38a7f0,_0x2eedf7){const _0x2e8ad0=_0x1b0c82,_0xef28ba=this[_0x2e8ad0(0x250)][_0x2e8ad0(0x201)](_0x504bb2);this[_0x2e8ad0(0xea)][_0x2e8ad0(0x21f)](_0x504bb2,{'unitID':_0x504bb2,'type':_0x5e07a5,'awaitingChangeset':_0x38a7f0,'mutations':_0x2eedf7,'rev':_0xef28ba}),this[_0x2e8ad0(0x29a)][_0x2e8ad0(0x192)](_0x504bb2)||this['_scheduleSaving'](_0x504bb2);}[_0x1b0c82(0xc3)](_0x54b872){const _0x5c9c8c=_0x1b0c82,_0x55b914=this['_getSaveTimeout']();_0x55b914===0x0?this['_saveCache'](_0x54b872):this[_0x5c9c8c(0x29a)][_0x5c9c8c(0x21f)](_0x54b872,setTimeout(()=>this[_0x5c9c8c(0x264)](_0x54b872),_0x55b914));}[_0x1b0c82(0x2ec)](){const _0x2b812b=_0x1b0c82;var _0x1a8eb6;return(_0x1a8eb6=this[_0x2b812b(0x13b)][_0x2b812b(0x2b0)](_0x144b9c[_0x2b812b(0xa5)]))!=null?_0x1a8eb6:_0x144b9c[_0x2b812b(0x256)];}['_saveCache'](_0x52ad7e){const _0x358c21=_0x1b0c82,_0x51af57=this[_0x358c21(0x29a)][_0x358c21(0x2a3)](_0x52ad7e);return _0x51af57!==void 0x0&&window[_0x358c21(0x2e4)](_0x51af57),this[_0x358c21(0x2c6)][_0x358c21(0x1e5)](_0x144b9c[_0x358c21(0x125)](_0x52ad7e),this[_0x358c21(0xea)][_0x358c21(0x2a3)](_0x52ad7e))[_0x358c21(0x2db)](()=>this[_0x358c21(0x29a)][_0x358c21(0x1a8)](_0x52ad7e));}async['exhaustSavingTask'](){const _0x48f249=_0x1b0c82,_0x1a5b83=[];this['_saveTaskMap'][_0x48f249(0x114)]((_0x54041d,_0x5144ab)=>{const _0x3f2fc5=_0x48f249;window[_0x3f2fc5(0x2e4)](_0x54041d),_0x1a5b83[_0x3f2fc5(0x197)](this[_0x3f2fc5(0x264)](_0x5144ab)[_0x3f2fc5(0x2db)](()=>{const _0x5f9c64=_0x3f2fc5;this[_0x5f9c64(0x29a)]['delete'](_0x5144ab);}));}),await Promise[_0x48f249(0xb4)](_0x1a5b83);}};_0x16c28c=_0x1331b3([_0x3d4e8e(0x0,_0x5e3496['IConfigService']),_0x3d4e8e(0x1,_0x5e3496[_0x1b0c82(0x11d)]),_0x3d4e8e(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x4251b3[_0x1b0c82(0x1b2)]))],_0x16c28c);class _0x351f64 extends _0x5e3496['RxDisposable']{constructor(){const _0x1def14=_0x1b0c82;super(),_0x5be2b7(this,_0x1def14(0x1de)),this[_0x1def14(0x1de)]=_0x40ed3d[_0x1def14(0x25f)](window,_0x1def14(0x223))[_0x1def14(0xca)](_0x40ed3d['takeUntil'](this[_0x1def14(0x1fb)]),_0x40ed3d[_0x1def14(0x215)](0x1),_0x40ed3d[_0x1def14(0xe6)](void 0x0));}['setParam'](_0x100773,_0x14e82d,_0x387997=!0x1){const _0x9964a0=_0x1b0c82,_0x2dc61c=new URL(window['location'][_0x9964a0(0x20c)]);_0x2dc61c[_0x9964a0(0x297)][_0x9964a0(0x21f)](_0x100773,_0x14e82d),_0x387997?window[_0x9964a0(0x185)]['replaceState']('','',_0x2dc61c[_0x9964a0(0x2e7)]()):window[_0x9964a0(0x185)][_0x9964a0(0x14f)]('','',_0x2dc61c[_0x9964a0(0x2e7)]());}['removeParam'](_0x5912c4,_0x44140c=!0x1){const _0x428aa1=_0x1b0c82,_0x40e33d=new URL(window['location']['href']);_0x40e33d[_0x428aa1(0x297)]['delete'](_0x5912c4),_0x44140c?window['history'][_0x428aa1(0x115)]('','',_0x40e33d[_0x428aa1(0x2e7)]()):window[_0x428aa1(0x185)][_0x428aa1(0x14f)]('','',_0x40e33d['toString']());}[_0x1b0c82(0x17f)](_0x123343){const _0x4d933b=_0x1b0c82;var _0x24a4d3;return(_0x24a4d3=new URL(window[_0x4d933b(0x263)][_0x4d933b(0x20c)])[_0x4d933b(0x297)][_0x4d933b(0x2a3)](_0x123343))!=null?_0x24a4d3:void 0x0;}}var _0x241136=Object[_0x1b0c82(0x279)],_0x41599d=Object[_0x1b0c82(0x1a9)],_0x19e5dd=(_0x2652b2,_0x6e786,_0x278752)=>_0x6e786 in _0x2652b2?_0x241136(_0x2652b2,_0x6e786,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x278752}):_0x2652b2[_0x6e786]=_0x278752,_0x304310=(_0x5ef3c1,_0x361e41,_0x977431,_0x24ccb4)=>{const _0x3aa9ba=_0x1b0c82;for(var _0x491dc6=_0x24ccb4>0x1?void 0x0:_0x24ccb4?_0x41599d(_0x361e41,_0x977431):_0x361e41,_0x123b4a=_0x5ef3c1[_0x3aa9ba(0x322)]-0x1,_0x3e0ce6;_0x123b4a>=0x0;_0x123b4a--)(_0x3e0ce6=_0x5ef3c1[_0x123b4a])&&(_0x491dc6=_0x3e0ce6(_0x491dc6)||_0x491dc6);return _0x491dc6;},_0x43cfa2=(_0x5a4e91,_0x2ab294)=>(_0x175cb5,_0x39edd5)=>_0x2ab294(_0x175cb5,_0x39edd5,_0x5a4e91),_0x109484=(_0x4ffeb4,_0x58dbdc,_0xf9333b)=>_0x19e5dd(_0x4ffeb4,_0x58dbdc+'',_0xf9333b);const _0x245067=_0x1b0c82(0x288);_0x4b0a9d['UniverCollaborationClientUIPlugin']=class extends _0x5e3496['Plugin']{constructor(_0x5bd4a7=_0x11285b,_0x486d3f,_0x573c73,_0x3c39aa){const _0x282930=_0x1b0c82;super(),this[_0x282930(0x106)]=_0x5bd4a7,this[_0x282930(0x133)]=_0x486d3f,this[_0x282930(0x2cd)]=_0x573c73,this[_0x282930(0x13b)]=_0x3c39aa;const {..._0x24592c}=_0x5e3496['merge']({},_0x11285b,this[_0x282930(0x106)]);this[_0x282930(0x13b)][_0x282930(0xa9)](_0x10ee4b,_0x24592c);}['onStarting'](){const _0x5511b2=_0x1b0c82;this[_0x5511b2(0x1c0)](),this[_0x5511b2(0x2e6)]();}[_0x1b0c82(0x2c0)](){const _0x5957b1=_0x1b0c82;this[_0x5957b1(0xdb)]();}[_0x1b0c82(0x1c0)](){const _0x39c9b9=_0x1b0c82;var _0x2bc33c;const _0x1e41dc=[[_0x1d0933],[_0x1b375d],[_0x58d15e],[_0x4cba12],[_0x238d27],[_0x3d7732,{'useClass':_0x351f64}],[_0x4656bc[_0x39c9b9(0x175)],{'useClass':_0x4656bc[_0x39c9b9(0x1d2)]}],[_0x144b9c[_0x39c9b9(0x26b)],{'useClass':_0x16c28c}],[_0x4b0a9d[_0x39c9b9(0x1a5)]],[_0x350ffb],[_0x16ae9b],[_0x58d03e],[_0x59a980],[_0x4b0a9d['CollaborationDataLoaderController']]];_0x5e3496[_0x39c9b9(0x1b8)](this[_0x39c9b9(0x2cd)],_0x5e3496[_0x39c9b9(0x22f)](_0x1e41dc,(_0x2bc33c=this['_config'])==null?void 0x0:_0x2bc33c[_0x39c9b9(0x289)]));}[_0x1b0c82(0xdb)](){const _0x2f1863=_0x1b0c82;this[_0x2f1863(0x128)](this['_renderManagerService']['registerRenderModule'](_0x5e3496[_0x2f1863(0x216)][_0x2f1863(0x179)],[_0x5ba2b4])),this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x5e3496['UniverInstanceType'][_0x2f1863(0x9a)],[_0x3ff433]));}['_initDependencies'](){const _0x58a84c=_0x1b0c82;_0x5e3496['touchDependencies'](this[_0x58a84c(0x2cd)],[[_0x58d03e],[_0x4b0a9d[_0x58a84c(0x1a5)]],[_0x350ffb],[_0x16ae9b],[_0x4b0a9d[_0x58a84c(0xa7)]]]);}},_0x109484(_0x4b0a9d['UniverCollaborationClientUIPlugin'],_0x1b0c82(0xaa),_0x245067),_0x4b0a9d[_0x1b0c82(0x1fe)]=_0x304310([_0x5e3496[_0x1b0c82(0x29e)](_0x144b9c[_0x1b0c82(0x27a)]),_0x43cfa2(0x1,_0x8bdac5[_0x1b0c82(0x18b)]),_0x43cfa2(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0xaf)])),_0x43cfa2(0x3,_0x5e3496[_0x1b0c82(0x18e)])],_0x4b0a9d['UniverCollaborationClientUIPlugin']);var _0x3acbcb=Object['getOwnPropertyDescriptor'],_0x45f61e=(_0x56bf3d,_0x1e3ceb,_0x1d34d8,_0x4c8ecf)=>{const _0x6ffd8b=_0x1b0c82;for(var _0xd7dcb6=_0x4c8ecf>0x1?void 0x0:_0x4c8ecf?_0x3acbcb(_0x1e3ceb,_0x1d34d8):_0x1e3ceb,_0x4c1386=_0x56bf3d[_0x6ffd8b(0x322)]-0x1,_0x40ca2b;_0x4c1386>=0x0;_0x4c1386--)(_0x40ca2b=_0x56bf3d[_0x4c1386])&&(_0xd7dcb6=_0x40ca2b(_0xd7dcb6)||_0xd7dcb6);return _0xd7dcb6;},_0x12ef4c=(_0x50a594,_0x45099f)=>(_0x58d04e,_0x1a597a)=>_0x45099f(_0x58d04e,_0x1a597a,_0x50a594);_0x4b0a9d[_0x1b0c82(0x241)]=class extends _0x144b9c[_0x1b0c82(0x299)]{constructor(_0x299e63,_0x105644,_0x2bc1ab,_0x3e5922,_0x4c3ee1){super(_0x299e63,_0x105644,_0x2bc1ab,_0x3e5922,_0x4c3ee1);}async[_0x1b0c82(0x142)](_0x3efed4){const _0x34c6bf=_0x1b0c82,_0x57ca3a=await this[_0x34c6bf(0x196)](),_0x320cf3=this[_0x34c6bf(0x2df)](_0x3efed4,_0x57ca3a);return this[_0x34c6bf(0x123)](_0x320cf3);}[_0x1b0c82(0x2df)](_0x53e52f,_0x3b960a){const _0xbed7d4=_0x1b0c82,_0xc5b94e=typeof window>'u'?new URL(_0x53e52f):new URL(_0x53e52f,window['location']['origin']);_0xc5b94e['searchParams'][_0xbed7d4(0x21f)](_0xbed7d4(0x1f1),_0x3b960a);const _0x4a2c60=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xbed7d4(0x263)]['search']);return _0x4a2c60['get']('runId')&&_0xc5b94e[_0xbed7d4(0x297)][_0xbed7d4(0x21f)](_0xbed7d4(0x30c),_0x4a2c60['get']('runId')),_0xc5b94e['toString']();}async[_0x1b0c82(0x196)](){const _0x19f05c=_0x1b0c82;var _0x190f48,_0x4942fb,_0x2e4e59;const _0x3d7b75=this[_0x19f05c(0x13b)][_0x19f05c(0x2b0)](_0x144b9c[_0x19f05c(0x318)]),_0x20f255=(_0x190f48=_0x3d7b75==null?void 0x0:_0x3d7b75['wsSessionTicketUrl'])!=null?_0x190f48:_0x144b9c['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x2e4e59=(_0x4942fb=(await this['_httpService'][_0x19f05c(0x2a3)](_0x20f255,{'headers':{'Content-Type':'application/json'}}))[_0x19f05c(0x1fd)])==null?void 0x0:_0x4942fb[_0x19f05c(0x107)])!=null?_0x2e4e59:'';}},_0x4b0a9d[_0x1b0c82(0x241)]=_0x45f61e([_0x12ef4c(0x0,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0xaf)])),_0x12ef4c(0x1,_0x5e3496[_0x1b0c82(0x167)](_0x4656bc[_0x1b0c82(0x1f4)])),_0x12ef4c(0x2,_0x5e3496['IConfigService']),_0x12ef4c(0x3,_0x5e3496[_0x1b0c82(0x214)]),_0x12ef4c(0x4,_0x4251b3[_0x1b0c82(0x1c2)])],_0x4b0a9d['BrowserCollaborationSocketService']);const _0x578967=0x7530,_0x58515f=_0x1b0c82(0x2f1);class _0x1ee898 extends _0x5e3496[_0x1b0c82(0x20f)]{constructor(){const _0x1e0f61=_0x1b0c82;super(),_0x5be2b7(this,_0x1e0f61(0x10e),_0x5e3496[_0x1e0f61(0xb1)]()),_0x5be2b7(this,_0x1e0f61(0x1cf),new Set()),_0x5be2b7(this,_0x1e0f61(0x9c),new Map()),_0x5be2b7(this,_0x1e0f61(0x258),null),_0x5be2b7(this,_0x1e0f61(0x11f),new Map()),_0x5be2b7(this,_0x1e0f61(0x173),new Map()),this[_0x1e0f61(0x252)]();}[_0x1b0c82(0x2e9)](){const _0x29d747=_0x1b0c82;super[_0x29d747(0x2e9)](),this[_0x29d747(0x11f)][_0x29d747(0x114)]((_0x336933,_0xfb69ce)=>this['_removeClearOtherTimer'](_0xfb69ce)),this[_0x29d747(0x258)]&&window['clearInterval'](this[_0x29d747(0x258)]);}['getUnitStatus$'](_0x194f62){const _0x403c27=_0x1b0c82;return this[_0x403c27(0xeb)](_0x194f62)[_0x403c27(0xca)](_0x40ed3d[_0x403c27(0x120)]());}['editingUnit'](_0x3fe40f){const _0x1196cd=_0x1b0c82;this[_0x1196cd(0x1cf)][_0x1196cd(0x124)]===0x0&&this[_0x1196cd(0xd0)](),this[_0x1196cd(0x1cf)][_0x1196cd(0x112)](_0x3fe40f),this[_0x1196cd(0xbc)]({'type':0x0,'memberID':this[_0x1196cd(0x10e)],'unitIDs':[_0x3fe40f],'isForwarded':!0x1});}['disposeUnit'](_0x42a714){const _0x3dd1af=_0x1b0c82;this[_0x3dd1af(0x1cf)][_0x3dd1af(0x1a8)](_0x42a714),this[_0x3dd1af(0x1cf)][_0x3dd1af(0x124)]===0x0&&this[_0x3dd1af(0x258)]&&window[_0x3dd1af(0x187)](this[_0x3dd1af(0x258)]);}['_init'](){const _0x2cdd0b=_0x1b0c82;this[_0x2cdd0b(0x128)](_0x5e3496[_0x2cdd0b(0x1d7)](_0x40ed3d[_0x2cdd0b(0x25f)](window,_0x2cdd0b(0x253))[_0x2cdd0b(0x157)](_0x176913=>{const _0x4458c9=_0x2cdd0b;if(_0x176913[_0x4458c9(0x309)]!==_0x58515f||!_0x176913['newValue'])return;const _0x2c154e=JSON[_0x4458c9(0xd1)](_0x176913[_0x4458c9(0xb8)]);this[_0x4458c9(0x1eb)](_0x2c154e);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x2cdd0b(0x10e)],'unitIDs':Array[_0x2cdd0b(0x2e2)](this['_selfUnitIDs'])}));}[_0x1b0c82(0x1eb)](_0x3f5c67){const _0x496b0b=_0x1b0c82;switch(_0x3f5c67['type']){case 0x0:this[_0x496b0b(0x105)](_0x3f5c67);break;case 0x1:this[_0x496b0b(0x245)](_0x3f5c67);break;case 0x2:this[_0x496b0b(0x145)](_0x3f5c67);break;}}['_handleJoinEvent'](_0x45c18b){const _0x4708a1=_0x1b0c82,{unitIDs:_0x15bf9c,memberID:_0x48efb0,isForwarded:_0x99771f}=_0x45c18b;_0x15bf9c[_0x4708a1(0x114)](_0x11cbb2=>{const _0x249db5=_0x4708a1;if(!_0x99771f&&this['_unitOnClients'][_0x249db5(0x192)](_0x11cbb2)&&this[_0x249db5(0xeb)](_0x11cbb2)[_0x249db5(0xcc)](_0x144b9c['UnitStatus'][_0x249db5(0x2da)]),!this[_0x249db5(0x9c)][_0x249db5(0x192)](_0x11cbb2)||!this[_0x249db5(0x9c)][_0x249db5(0x2a3)](_0x11cbb2)[_0x249db5(0x192)](_0x48efb0)){const _0xea62d8=this[_0x249db5(0x9c)][_0x249db5(0x2a3)](_0x11cbb2)||new Set();_0xea62d8[_0x249db5(0x112)](_0x48efb0),this[_0x249db5(0x9c)][_0x249db5(0x21f)](_0x11cbb2,_0xea62d8),this[_0x249db5(0x104)](_0x48efb0);}}),_0x99771f||this[_0x4708a1(0xbc)]({'type':0x0,'memberID':this[_0x4708a1(0x10e)],'unitIDs':[...this[_0x4708a1(0x1cf)]],'isForwarded':!0x0});}[_0x1b0c82(0x104)](_0x930065){const _0x12761e=_0x1b0c82;this[_0x12761e(0x26f)](_0x930065);const _0x136e87=window[_0x12761e(0x27c)](()=>{const _0x43db94=_0x12761e;this[_0x43db94(0x9c)][_0x43db94(0x114)](_0x13927e=>{const _0x2ce02e=_0x43db94;_0x13927e[_0x2ce02e(0x1a8)](_0x930065);});},_0x578967*0x2);this[_0x12761e(0x11f)][_0x12761e(0x21f)](_0x930065,_0x136e87);}['_removeClearOtherTimer'](_0x3de9fd){const _0xc61b49=_0x1b0c82;if(this[_0xc61b49(0x11f)]['has'](_0x3de9fd)){const _0x3cc475=this[_0xc61b49(0x11f)][_0xc61b49(0x2a3)](_0x3de9fd);_0x3cc475&&window[_0xc61b49(0x2e4)](_0x3cc475),this[_0xc61b49(0x11f)][_0xc61b49(0x21f)](_0x3de9fd,null);}}[_0x1b0c82(0x245)](_0xa21435){const _0x42a1cf=_0x1b0c82,{memberID:_0x25f6a6,unitIDs:_0x222003}=_0xa21435;_0x222003[_0x42a1cf(0x114)](_0x147eba=>{const _0x4db0a6=_0x42a1cf;var _0x117725;const _0x4dbbeb=this[_0x4db0a6(0x9c)][_0x4db0a6(0x2a3)](_0x147eba);_0x4dbbeb&&(_0x4dbbeb[_0x4db0a6(0x1a8)](_0x25f6a6),(_0x117725=this['_ensureSubject'](_0x147eba))==null||_0x117725[_0x4db0a6(0xcc)](_0x4dbbeb[_0x4db0a6(0x124)]===0x0?_0x144b9c[_0x4db0a6(0x1a2)][_0x4db0a6(0x268)]:_0x144b9c['UnitStatus'][_0x4db0a6(0x2da)]));}),this[_0x42a1cf(0x26f)](_0x25f6a6);}['_handleHeartbeatEvent'](_0x322d26){const _0x4a56b2=_0x1b0c82;this[_0x4a56b2(0x104)](_0x322d26['memberID']);}[_0x1b0c82(0xbc)](_0x132dca){const _0x2b13ed=_0x1b0c82;localStorage[_0x2b13ed(0x1e5)](_0x58515f,JSON[_0x2b13ed(0x20a)](_0x132dca));}[_0x1b0c82(0xd0)](){const _0x3c531e=_0x1b0c82;this['_heartbeatTimer']=window[_0x3c531e(0x2a8)](()=>{const _0x3b56a6=_0x3c531e;this[_0x3b56a6(0xbc)]({'type':0x2,'memberID':this[_0x3b56a6(0x10e)]});},_0x578967);}[_0x1b0c82(0xeb)](_0x26009c){const _0x3176d8=_0x1b0c82;return this[_0x3176d8(0x173)]['has'](_0x26009c)||this['_unitStatus'][_0x3176d8(0x21f)](_0x26009c,new _0x40ed3d[(_0x3176d8(0x24d))](_0x144b9c[_0x3176d8(0x1a2)][_0x3176d8(0x268)])),this[_0x3176d8(0x173)]['get'](_0x26009c);}}var _0x2e777a=(_0x5946cd=>(_0x5946cd[_0x5946cd[_0x1b0c82(0x2ad)]=0x0]='UNDEFINED',_0x5946cd[_0x5946cd['OK']=0x1]='OK',_0x5946cd[_0x5946cd[_0x1b0c82(0x2f7)]=0x2]=_0x1b0c82(0x2f7),_0x5946cd[_0x5946cd[_0x1b0c82(0x151)]=0x3]='PERMISSION_DENIED',_0x5946cd[_0x5946cd[_0x1b0c82(0x1d3)]=0x4]='NOT_FOUND',_0x5946cd[_0x5946cd[_0x1b0c82(0x210)]=0x5]='UNAUTHENTICATED',_0x5946cd[_0x5946cd[_0x1b0c82(0x302)]=0x6]=_0x1b0c82(0x302),_0x5946cd[_0x5946cd[_0x1b0c82(0xf2)]=0x7]='INVALID_ARGUMENT',_0x5946cd[_0x5946cd['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x5946cd[_0x5946cd[_0x1b0c82(0x14e)]=0x9]=_0x1b0c82(0x14e),_0x5946cd[_0x5946cd['LOGIN_FAILED']=0xa]=_0x1b0c82(0x15f),_0x5946cd[_0x5946cd['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5946cd[_0x5946cd[_0x1b0c82(0x310)]=0x1771]=_0x1b0c82(0x310),_0x5946cd[_0x5946cd[_0x1b0c82(0xf3)]=0x1772]=_0x1b0c82(0xf3),_0x5946cd[_0x5946cd[_0x1b0c82(0x1b1)]=0x1773]=_0x1b0c82(0x1b1),_0x5946cd[_0x5946cd[_0x1b0c82(0x261)]=0x1b59]=_0x1b0c82(0x261),_0x5946cd[_0x5946cd[_0x1b0c82(0x280)]=0x1b5a]=_0x1b0c82(0x280),_0x5946cd[_0x5946cd['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5946cd[_0x5946cd[_0x1b0c82(0x2c7)]=0x1b5c]=_0x1b0c82(0x2c7),_0x5946cd[_0x5946cd['APPLY_DUPLICATED']=0x1b5d]=_0x1b0c82(0x1f0),_0x5946cd[_0x5946cd[_0x1b0c82(0xe9)]=0x1f41]=_0x1b0c82(0xe9),_0x5946cd[_0x5946cd[_0x1b0c82(0x1df)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5946cd[_0x5946cd[_0x1b0c82(0x126)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5946cd[_0x5946cd[_0x1b0c82(0x24a)]=0x232b]=_0x1b0c82(0x24a),_0x5946cd[_0x5946cd[_0x1b0c82(0x23c)]=0x232c]=_0x1b0c82(0x23c),_0x5946cd[_0x5946cd[_0x1b0c82(0xf5)]=0x232d]=_0x1b0c82(0xf5),_0x5946cd[_0x5946cd[_0x1b0c82(0x1c5)]=0x2711]=_0x1b0c82(0x1c5),_0x5946cd[_0x5946cd[_0x1b0c82(0x1f3)]=0x2712]=_0x1b0c82(0x1f3),_0x5946cd[_0x5946cd[_0x1b0c82(0x1a4)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5946cd[_0x5946cd[_0x1b0c82(0x2a0)]=0x2714]=_0x1b0c82(0x2a0),_0x5946cd[_0x5946cd['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1b0c82(0x10d),_0x5946cd[_0x5946cd[_0x1b0c82(0x2d3)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5946cd[_0x5946cd['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5946cd[_0x5946cd[_0x1b0c82(0x13f)]=0x271d]=_0x1b0c82(0x13f),_0x5946cd[_0x5946cd[_0x1b0c82(0xe2)]=0x271e]=_0x1b0c82(0xe2),_0x5946cd[_0x5946cd[_0x1b0c82(0x18c)]=0x271f]=_0x1b0c82(0x18c),_0x5946cd[_0x5946cd['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1b0c82(0x224),_0x5946cd[_0x5946cd[_0x1b0c82(0x271)]=0x2ee1]=_0x1b0c82(0x271),_0x5946cd[_0x5946cd[_0x1b0c82(0xba)]=0x2ee2]=_0x1b0c82(0xba),_0x5946cd[_0x5946cd[_0x1b0c82(0x314)]=0x2ee3]=_0x1b0c82(0x314),_0x5946cd[_0x5946cd[_0x1b0c82(0x25e)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5946cd[_0x5946cd[_0x1b0c82(0xa6)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5946cd[_0x5946cd[_0x1b0c82(0x2c9)]=0x32c9]=_0x1b0c82(0x2c9),_0x5946cd[_0x5946cd[_0x1b0c82(0x12b)]=0x32ca]=_0x1b0c82(0x12b),_0x5946cd[_0x5946cd[_0x1b0c82(0x296)]=0x32cb]=_0x1b0c82(0x296),_0x5946cd[_0x5946cd[_0x1b0c82(0x217)]=-0x1]=_0x1b0c82(0x217),_0x5946cd))(_0x2e777a||{}),_0x5b0a74=Object[_0x1b0c82(0x1a9)],_0x4e7a78=(_0x5d4b7d,_0xd3836,_0x1c39e6,_0x1ecf59)=>{for(var _0x5bd4bd=_0x1ecf59>0x1?void 0x0:_0x1ecf59?_0x5b0a74(_0xd3836,_0x1c39e6):_0xd3836,_0x2e7278=_0x5d4b7d['length']-0x1,_0x21abe2;_0x2e7278>=0x0;_0x2e7278--)(_0x21abe2=_0x5d4b7d[_0x2e7278])&&(_0x5bd4bd=_0x21abe2(_0x5bd4bd)||_0x5bd4bd);return _0x5bd4bd;},_0x9a9890=(_0x2f9570,_0x2ec5c8)=>(_0x3916fe,_0x330d5f)=>_0x2ec5c8(_0x3916fe,_0x330d5f,_0x2f9570);_0x4b0a9d[_0x1b0c82(0x14c)]=class extends _0x5e3496['Disposable']{constructor(_0x102645,_0x68b106,_0x35d305){const _0xcb4264=_0x1b0c82;super(),this[_0xcb4264(0x2b1)]=_0x102645,this[_0xcb4264(0x2e0)]=_0x68b106,this[_0xcb4264(0x13b)]=_0x35d305;}async[_0x1b0c82(0x2a2)](_0x3a8a6b,_0x8260ea,_0xfbd108,..._0x411bb5){const _0xd005fb=_0x1b0c82;var _0x236671,_0x11303b,_0x5372a4,_0x44495f;const _0x56b76c=this[_0xd005fb(0x2b1)][_0xd005fb(0x257)]();if(!_0x56b76c)throw new Error(_0xd005fb(0x166));const _0x52b153=((_0x236671=this[_0xd005fb(0x13b)][_0xd005fb(0x2b0)](_0x144b9c[_0xd005fb(0xc4)]))!=null?_0x236671:_0x144b9c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x3a8a6b+_0xd005fb(0x2ba)+_0x8260ea,_0x5b1a9a=new URL(window[_0xd005fb(0x263)][_0xd005fb(0x20c)]),_0x1cba9b={'scriptId':_0x3a8a6b,'runId':(_0x11303b=_0x5b1a9a['searchParams'][_0xd005fb(0x2a3)](_0xd005fb(0x30c)))!=null?_0x11303b:'','function':_0x8260ea,'unitId':_0x56b76c[_0xd005fb(0x1b3)](),'argsOfFunction':JSON[_0xd005fb(0x20a)](_0x411bb5),'invokeId':(_0x5372a4=_0xfbd108['invokeId'])!=null?_0x5372a4:'','executionId':(_0x44495f=_0xfbd108[_0xd005fb(0xb6)])!=null?_0x44495f:''};try{const _0x42f6d8=await this[_0xd005fb(0x2e0)][_0xd005fb(0x1d0)](_0x52b153,{'body':_0x1cba9b});return _0x42f6d8[_0xd005fb(0x1fd)][_0xd005fb(0x155)]&&_0x42f6d8['body'][_0xd005fb(0x155)][_0xd005fb(0x16e)]!==_0x2e777a['OK']?_0xd005fb(0x203):_0x42f6d8[_0xd005fb(0x1fd)]['result'];}catch{return _0xd005fb(0x203);}}},_0x4b0a9d[_0x1b0c82(0x14c)]=_0x4e7a78([_0x9a9890(0x0,_0x5e3496['IUniverInstanceService']),_0x9a9890(0x1,_0x5e3496['Inject'](_0x4656bc['HTTPService'])),_0x9a9890(0x2,_0x5e3496[_0x1b0c82(0x18e)])],_0x4b0a9d[_0x1b0c82(0x14c)]),_0x4b0a9d[_0x1b0c82(0x320)]=_0xf90619,_0x4b0a9d[_0x1b0c82(0x20d)]=_0x3d7732,_0x4b0a9d[_0x1b0c82(0x18d)]=_0x4b093e,_0x4b0a9d['WebBrowserSingleActiveUnitService']=_0x1ee898,_0x4b0a9d[_0x1b0c82(0x300)]=_0x351f64,Object[_0x1b0c82(0x279)](_0x4b0a9d,Symbol['toStringTag'],{'value':_0x1b0c82(0x153)});}));
|