@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504271606 → 0.6.10-nightly.202504281607

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5d5c(){const _0x1f1e17=['clearInterval','_saveCache','NodePositionConvertToRectRange','_online','round','popstate','_entityInit$','_selfUnitIDs','ONLINE','NodePositionConvertToCursor','_id','IConfigService','Disposable','_createSocketURL','removeParam','UniverIcon','YUUMI_SUBSCRIPTION_NOT_FOUND','getMergeData','distinctUntilChanged','fillStyle','isActive','switchMap','_color','univer-flex\x20univer-mr-2\x20univer-text-[20px]','_onCursorUpdate','_drawAnchor','IMessageService','executeCommand','transform','saveOfflineData','eventID','1922740vhOkGH','_collaborationUIEventService','LICENSE_IMPORT_SIZE_EXCEEDED','APPLY_REVISION_CONFILICT','subunit','ITransformService','handleDeleteRangeMoveLeft','dispose','verdancy600','getUnitId','ColorKit','use','PY_RUNTIME_SCRIPT_ERROR','428113bEhgSs','_docStateChangeManagerService','event$','NO_OTHER_CLIENTS_EDITING','currentSkeleton$','sessionStatus$','onMouseMove','setParam','_syncEditingCollabCursorService','Vector2','touchDependencies','UniverDocs','_handleHover','random','SNAPSHOT_INVALID_SNAPSHOT','disposeWithMe','getParam','dispose$','blue400','TEXT_RANGE_LAYER_INDEX','_startDocCollabCursor','hasOwnProperty','collabStatus.fetchMiss','column','delete','ThemeService','_collabCursorState$','ENSURE_SNAPSHOT_EXECUTION','data','width','show','saveTaskMap','endColumn','DocSelectionManagerService','colorChannel1','4NAVHBp','runId','createSocket','_getSessionTicket','undoState','@univerjs/sheets-ui','key','ALREADY_EXISTS','merge','DeleteRangeMoveUpCommandId','...','onPointerEnter$','apply','isArray','INVALID_INVITE_CODE','_shapes','0\x200\x2016\x2016','getViewport','top','_handleHeartbeatEvent','attrs','_roomMembers$','Optional','error','throttleTime','lineTo','react','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','includes','mapTo','_docTransformStateCacheService','disableLocalCache','@univerjs/docs','onTransformChange$','Error','getRangePointData','_registerDependencies','getLocalCacheKey','runOnServer','call','collabStatus.conflict','url(#on-line-single_clip0_910_349)','collab-text-anchor-','collabStatus.notCollab','#fff','makeDirty','_collabCursorController','setShapeProps','_range','useObservable','_getAnchorBounding','_handleLeaveEvent','unit','APPLY_REJECT','on-line-single_clip0_910_349','_docSkeletonManagerService','range','resize','CollaborationSessionService','IImageIoService','_handleEvent','result','handleDeleteRangeMoveUp','@univerjs/docs-ui','findNodePositionByCharIndex','SOCKET_FAILED','_entities','UniverProCollaboration','_colorAssignService','assign','SUBMIT_CHANGESET_TIMEOUT','getSkeleton','black','_cursorShapes','RemoveRowCommandId','ranges','parse','pushState','saveImage','transformSelections','DeleteRangeMoveLeftCommandId','_scheduleSaving','CollaborationSocketService','roomMembers$','text','APPLY_NON_SEQUENTIAL_REVISION','TOO_MANY_REQUESTS','UniverSheets','fromEvent','_doCreateSocket','cursorInfo','code','evenodd','with','cursorInfo$','ISocketService','arc','Shape','purple300','VIEW_MAIN','EffectRefRangId','collaboration-client.offline-data-not-saved','UniverDesign','red300','getUndoRedoMutationParamsCache','exhaustSavingTask','clipPath','urlChange$','tag','1389432zoNqHD','from','collabStatus.synced','DocIMEInputManagerService','@univerjs-pro/collaboration','CollaborationController','jiqing500','className','INotificationService','split','whenReady','currentTheme$','OTHER_CLIENT_EDITING','CollaborationUIEventId','_scene','_init','clearTimeout','FETCH_MISS','addClipboardHook','_collabSessionService','redoState','send','LOCAL_CACHE_INTERVAL','origin','useDependency','_transformHistoryAndStateStack','373825bMgMdB','IURLService','operators','SNAPSHOT_HAS_BEEN_REMOVED','_eventUnsubscribe','_getMergeRange','prototype','registerBeforeClose','getValue','univerjs-icon\x20univerjs-icon-','LOCAL_CACHE_INTERVAL_KEY','_localCacheService','_setupSubUnitSync','handleInsertRangeMoveRight','_anchorDot','transformStateCache','FromArray','_scheduleHeartbeat','color','addObject','uni.network.url-service','setTimeout','takeUntil','_initEvent','displayName','103144vhNTxc','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','defineProperty','xlink:href','setAlpha','_commandService','enableLocalCache','session.connection-failed','registerRefRange','getCollabCursors$','getUniverSheetInstance','post','UniverEngineRender','storage','LICENSE_MAX_UNITS_EXCEEDED','_draw','YUUMI_UNABLE_LOAD_URL','wsSessionTicketUrl','SetSelectionsOperation','_httpService','getCoordByCell','_imageIoService','icon','replaceState','Subject','@univerjs/engine-formula','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','setActiveRange','_messageService','_anchor','_drawRectRange','min','complete','_onRefRangeChange','values','_drawTextRange','reconnect','collaboration.closeRoom','name','getRelativeToViewportCoord','_send','trim','_urlService','_localeService','getCurrentUnitForType','_memberService','@univerjs/network','OTHER_CLIENTS_EDITING','fill','UniverInstanceType','getItem','_updateURLWithCurrentState','backgroundColor','CollaborationEvent','RefRangeService','RichTextEditingMutation','_initDependencies','m2Prime','_onCursorDelete','@univerjs/engine-render','_toggleOffline','_getSaveTimeout','LOGIN_FAILED','_startSheetCollabCursor','save','assignAColorForMemberID','YUUMI_NO_CUBOID_FOR_QUESTION','_handleJoinEvent','location','handleIRemoveRow','jsx','forwardRef','ICommandService','history','M0\x200H16V16H0z','setInterval','_logService','RemoveColCommandId','InsertRangeMoveRightCommandId','_unitStatus','clsx','entries','toDisposable','getActiveSheet','getCollabEntity$','forEach','CollaborationStatus','url(#$1','react/jsx-runtime','Rect','_toggleOnline','UNAUTHENTICATED','add','DisposableCollection','USERS_LEAVE','next','getSheetBySheetId','CollaborationUIEventService','replaceDocRanges','_docClipboardService','setStateCache','UniverSheetsUi','_lastPointer','_docSkeleton','getColor','mergeOverrideWithDependencies','@univerjs/sheets','textRanges','DocSkeletonManagerService','_dataLoaderService','APPLY_PERMISSION_DENIED','UniverProCollaborationClientUi','_updateLocalCursor','getMemberID','collab-text-range-','MemberService','PENDING','collabCursorState$','_clearOtherTimers','bottom','AWAITING_WITH_PENDING','@univerjs/rpc','COMPLETION_FINISHED','_injector','_textBubble','_cursorInfo$','combineLatest','IBeforeCloseService','DataLoaderService','_localStorageService','EMAIL_HAS_BEEN_BOUND','UniverProCollaborationClient','defs','_context','entityInit$','gold400','m1Prime','_getScale','getStateCache','svg','ILogService','function','JOIN_ROOM_FAILED','_hovered','HTTPService','UniverCollaborationClientPlugin','transformMutation','UPDATE_CURSOR','transformRemoteChangeset','size','_registerRenderDependencies','exports','NOT_COLLAB','_sheetSkeletonManagerService','BrowserCollaborationSocketService','BehaviorSubject','transformByState','concat','TEXT','UNIVER_DOC','fillText','@univerjs/design','handleInsertCol','status$','debounce','getSheetId','unshift','CONNECTOR_DATA_TOO_LARGE','deserializeRangeWithSheet','disposeUnit','_setupBeforeClosingHandler','_refRangeService','_renderManagerService','_docTransformIMECacheService','_removeClearOtherTimer','createElement','InsertColCommandId','handleMoveRange','sessionTicket','selection','none','serializeRangeWithSheet','_univerInstanceService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SHEET_VIEWPORT_KEY','mask','length','1em','INVITE_CODE_HAS_BEEN_UES','rxjs','collabStatus.offline','INVALID_ARGUMENT','session.collaboration-timeout','set','substring','newValue','COLORS','init','replace','SheetSkeletonManagerService','_render','getAncestorScale','Inject','OFFLINE','DocStateChangeManagerService','RemoteUniscriptService','UniverNetwork','collaboration-client-ui.config','getRenderById','_updateSubUnitFromURLParams','isEditing','getSheetObject','_transformService','translate(.97)','isTransformMutationFailure','INTERNAL_ERROR','DesktopCollaborationStatusDisplayController','RegularPolygon','_hideTimer','map','connectInjector','pipe','getConfig','_notificationService','generateRandomId','transformMutationsWithChangeset','_labelPosition','row','rxjs/operators','IUIPartsService','font','IUniverInstanceService','div','addEventListener','onStarting','loadOfflineData','UniverCollaborationClientUIPlugin','YUUMI_RATE_OVER_LIMIT','getCurrentRevOfUnit','getFocusedUnit','focused$','moveTo','LICENSE_EXPORT_SIZE_EXCEEDED','_scheduleClearOtherTimer','setItem','subscribe','_backgroundColor','ISnapshotServerService','onPointerLeave$','RECT','isTransformMutationsWithChangesetSuccess','Warning','requireSession','unsubscribe','_instanceService','string','_initCommandExecutedListener','_saveTaskMap','all','DocCollaborationEntity','endRow','search','toStringTag','_collaborationController','body','href','MUTATION','80562HEOFUq','filter','_status$','_initResize','toString','restore','height','subUnitId','IRemoteInstanceService','hovered','getMember','DOC_RANGE_TYPE','DEFAULT_WS_SESSION_TICKET_URL','unitID','_config','InsertRangeMoveDownCommandId','handleInsertRangeMoveDown','MessageType','CONFLICT','Failed','univer-text-red-500','UniverDrawing','getActiveRange','addObjects','path','SetTextSelectionsOperation','executionId','labelPosition','WECHAT_HAS_BEEN_BOUND','_cachedData','_name','drawWith','debounceTime','fillRule','loadUnit','onCommandExecuted','imageSourceType','onLocalMutation','getTypeOfUnitAdded$','NOT_FOUND','_refreshCollabCursors','startColumn','INVITE_CODE_REQUIRED','React','UNRECOGNIZED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','extend','jsxs','push','updateOfflineData','WebBrowserSingleActiveUnitService','SOCKET_FAILED_RETRY','params','_revisionService','_uiPartsService','propertyIsEnumerable','_cursors','getDocRanges','unload','currentColor','Tools','transformIMECache','_ensureSubject','permission.content','registerDependencies','4528836HhFcCx','_updateCollabCursors','[RemoteUniscriptService]:\x20no\x20focused\x20unit','some','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','CollaborationStatusDisplay','UNIVER_SHEET','_cursor','indexOf','_beforeCloseService','deepClone','univer-text-green-500','_initEntityListener','@univerjs-pro/collaboration-client','CHANGESET_REVISION_CONFILICT','asObservable','Unknown\x20user','Rectangle','defIds','doc.mutation.rich-text-editing','getOwnPropertySymbols','_docSyncEditingCollabCursorService','skeleton','getCellPositionByOffset','stringify','handleInsertRow','UniverCore','ILocalCacheService','LocaleService','_assignedColors','IRenderManagerService','idSuffix','getCurrent','SessionStatus','UniverRpc','engine','_colorIndex','has','_heartbeatTimer','debug','_hover','UniverDocsUi','_session','SheetCollabCursorShape','OffLineSingle','collab-rect-range-','setUndoRedoMutationParamsCache','type','selections','WebURLService','_initStatusListener','rgba(255,\x20255,\x20255,\x200.01)','collab-client.tooltip.reconnect','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','getOwnPropertyDescriptor','/run/','UnitStatus','handleIRemoveCol','SYNCED','getCurrentSelections','searchParams','YUUMI_ASYNCIO_CANCELLED','_themeService','get','2ZmZGFv','useRef','children','syncEditingCollabCursor','MoveRangeCommandId','mutations','then','CollaborationDataLoaderController','_configService','_disabled','_document','_docTransformSelectionsService','RxDisposable','unitId','getOffsetConfig','editingUnit','startsWith','USER_NOT_INVITED_CODE','override','docStateChange$','@univerjs/core','onRendered','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','off-line-single','session.will-retry','Injector','sheetId','source','activeSheet$','ACTIVE_UNIT_EVENT_CHANNEL','hide','_removeCollabCursors','_getSheetObject','_unitOnClients','subscribeEvent','YUUMI_URL_COL_OUT_OF_RANGE','shareReplay','getUnhiddenWorksheets','INVITE_CODE_ALREADY_BOUND','@univerjs/ui','contains','current','TRANSFORM_CHANGE_OBSERVABLE_TYPE','createInstance','off-line-single_clip0_910_343'];_0x5d5c=function(){return _0x1f1e17;};return _0x5d5c();}function _0x3a65(_0xc9614c,_0x5cf596){const _0x5d5ccf=_0x5d5c();return _0x3a65=function(_0x3a65ca,_0x25b91a){_0x3a65ca=_0x3a65ca-0x124;let _0x45cc05=_0x5d5ccf[_0x3a65ca];return _0x45cc05;},_0x3a65(_0xc9614c,_0x5cf596);}(function(_0x5adace,_0x337436){const _0x2dd88c=_0x3a65,_0x16254d=_0x5adace();while(!![]){try{const _0x59ca8a=parseInt(_0x2dd88c(0x2c7))/0x1*(-parseInt(_0x2dd88c(0x1c4))/0x2)+parseInt(_0x2dd88c(0x143))/0x3*(-parseInt(_0x2dd88c(0x240))/0x4)+parseInt(_0x2dd88c(0x210))/0x5+-parseInt(_0x2dd88c(0x2ad))/0x6+parseInt(_0x2dd88c(0x21d))/0x7+parseInt(_0x2dd88c(0x2e0))/0x8+parseInt(_0x2dd88c(0x184))/0x9;if(_0x59ca8a===_0x337436)break;else _0x16254d['push'](_0x16254d['shift']());}catch(_0x4b6065){_0x16254d['push'](_0x16254d['shift']());}}}(_0x5d5c,0x50751),function(_0xe0bc82,_0x848fa2){const _0x213f63=_0x3a65;typeof exports=='object'&&typeof module<'u'?_0x848fa2(exports,require(_0x213f63(0x191)),require(_0x213f63(0x1d8)),require('@univerjs/engine-render'),require(_0x213f63(0x30e)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x213f63(0x39d)),require(_0x213f63(0x260)),require(_0x213f63(0x2b1)),require(_0x213f63(0x2f9)),require(_0x213f63(0x34a)),require('rxjs/operators'),require(_0x213f63(0x245)),require(_0x213f63(0x338)),require(_0x213f63(0x1eb)),require(_0x213f63(0x381)),require(_0x213f63(0x25a)),require(_0x213f63(0x359))):typeof define=='function'&&define['amd']?define([_0x213f63(0x377),_0x213f63(0x191),_0x213f63(0x1d8),_0x213f63(0x31b),_0x213f63(0x30e),_0x213f63(0x27f),'@univerjs/drawing',_0x213f63(0x39d),'@univerjs/docs','@univerjs-pro/collaboration','@univerjs/engine-formula',_0x213f63(0x34a),_0x213f63(0x3c4),_0x213f63(0x245),_0x213f63(0x338),_0x213f63(0x1eb),_0x213f63(0x381),'react',_0x213f63(0x359)],_0x848fa2):(_0xe0bc82=typeof globalThis<'u'?globalThis:_0xe0bc82||self,_0x848fa2(_0xe0bc82[_0x213f63(0x34f)]={},_0xe0bc82[_0x213f63(0x363)],_0xe0bc82[_0x213f63(0x19e)],_0xe0bc82[_0x213f63(0x2ec)],_0xe0bc82[_0x213f63(0x3ae)],_0xe0bc82[_0x213f63(0x1ad)],_0xe0bc82[_0x213f63(0x158)],_0xe0bc82[_0x213f63(0x39d)],_0xe0bc82[_0x213f63(0x228)],_0xe0bc82[_0x213f63(0x283)],_0xe0bc82['UniverEngineFormula'],_0xe0bc82[_0x213f63(0x297)],_0xe0bc82[_0x213f63(0x39d)][_0x213f63(0x2c9)],_0xe0bc82[_0x213f63(0x345)],_0xe0bc82[_0x213f63(0x16e)],_0xe0bc82['UniverUi'],_0xe0bc82[_0x213f63(0x2a6)],_0xe0bc82[_0x213f63(0x16e)],_0xe0bc82[_0x213f63(0x1a6)]));}(this,function(_0x116d7d,_0x2b9205,_0x57425f,_0x29da64,_0x117380,_0x29ac66,_0x3d438d,_0x3883f8,_0x141165,_0x3529a2,_0x356844,_0x4ddade,_0x4b14ca,_0x3bd0fb,_0x46722a,_0x9ae5c8,_0x1fb7c0,_0x5889c3,_0x42d988){'use strict';const _0x1405a7=_0x3a65;var _0x38336e=Object[_0x1405a7(0x2e2)],_0x50bd87=(_0x579dab,_0x3fef4e,_0x544457)=>_0x3fef4e in _0x579dab?_0x38336e(_0x579dab,_0x3fef4e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x544457}):_0x579dab[_0x3fef4e]=_0x544457,_0xc11de6=(_0x49ce75,_0xd9a723,_0x183052)=>_0x50bd87(_0x49ce75,typeof _0xd9a723!='symbol'?_0xd9a723+'':_0xd9a723,_0x183052),_0x332c26=Object[_0x1405a7(0x1ba)],_0xbdd4f0=(_0x5995f8,_0x587b54,_0x2fbceb,_0x51b14e)=>{const _0x2ce5b3=_0x1405a7;for(var _0x154230=_0x51b14e>0x1?void 0x0:_0x51b14e?_0x332c26(_0x587b54,_0x2fbceb):_0x587b54,_0xbb680=_0x5995f8[_0x2ce5b3(0x39a)]-0x1,_0x4a5a53;_0xbb680>=0x0;_0xbb680--)(_0x4a5a53=_0x5995f8[_0xbb680])&&(_0x154230=_0x4a5a53(_0x154230)||_0x154230);return _0x154230;},_0x1ff545=(_0x57eb0c,_0x555d1c)=>(_0x438aa9,_0x4a3be4)=>_0x555d1c(_0x438aa9,_0x4a3be4,_0x57eb0c);let _0xc1baa1=class extends _0x57425f[_0x1405a7(0x1d0)]{constructor(_0x3d0926,_0xd6dcfc){const _0x17ea08=_0x1405a7;super(),this[_0x17ea08(0x343)]=_0x3d0926,this[_0x17ea08(0x2f5)]=_0xd6dcfc,this[_0x17ea08(0x2bc)]();}[_0x1405a7(0x2bc)](){const _0x12519b=_0x1405a7,_0x5677f9=this;this[_0x12519b(0x22c)](this[_0x12519b(0x343)][_0x12519b(0x2bf)]({'onBeforePasteImage':async _0x33d67e=>{const _0x5e3888=_0x12519b,_0x20666b=await _0x5677f9['_imageIoService'][_0x5e3888(0x28e)](_0x33d67e);return _0x20666b?{'source':_0x20666b[_0x5e3888(0x1df)],'imageSourceType':_0x20666b[_0x5e3888(0x167)]}:null;}}));}};_0xc1baa1=_0xbdd4f0([_0x1ff545(0x0,_0x29ac66['IDocClipboardService']),_0x1ff545(0x1,_0x3d438d[_0x1405a7(0x27b)])],_0xc1baa1);const _0x4b605d=[_0x1405a7(0x2a2),_0x1405a7(0x2b3),_0x1405a7(0x218),_0x1405a7(0x2a7),_0x1405a7(0x22f),_0x1405a7(0x367)];class _0x1a366c extends _0x57425f[_0x1405a7(0x1fd)]{constructor(){const _0x4e1410=_0x1405a7;super(...arguments),_0xc11de6(this,_0x4e1410(0x1a1),new Map()),_0xc11de6(this,_0x4e1410(0x1a8),0x0);}['assignAColorForMemberID'](_0x867496){const _0x521f9a=_0x1405a7;if(this[_0x521f9a(0x1a1)][_0x521f9a(0x1a9)](_0x867496))return this[_0x521f9a(0x1a1)][_0x521f9a(0x1c3)](_0x867496);const _0x553696=_0x4b605d[this[_0x521f9a(0x1a8)]];return this[_0x521f9a(0x1a8)]=(this[_0x521f9a(0x1a8)]+0x1)%_0x4b605d[_0x521f9a(0x39a)],this[_0x521f9a(0x1a1)][_0x521f9a(0x3a1)](_0x867496,_0x553696),_0x553696;}}function _0xe98a40(_0x408da6){const _0x5ad410=_0x1405a7;let _0x16db65='';for(const _0x930cd6 of _0x408da6){const {startOffset:_0x33e907,endOffset:_0x3829dc,isActive:_0x284b0b,rangeType:_0xf6d76a,segmentId:_0x2eb029,segmentPage:_0x2c393c}=_0x930cd6;_0x16db65[_0x5ad410(0x39a)]&&(_0x16db65+=','),_0x16db65+=_0x33e907+':'+_0x3829dc+':'+(_0x284b0b?'1':'0')+':'+_0xf6d76a+':'+_0x2eb029+':'+_0x2c393c;}return _0x16db65;}function _0x423b0a(_0x34cb23){const _0x3507b3=_0x1405a7,_0x1fd5af=_0x34cb23[_0x3507b3(0x2b6)](','),_0x1b5452=[];for(const _0x2b0e21 of _0x1fd5af){const [_0x45c30a,_0x56ca88,_0x3c839d,_0x20cb0d,_0x4b4a0e,_0x1d04f0]=_0x2b0e21['split'](':');_0x1b5452['push']({'startOffset':Number(_0x45c30a),'endOffset':Number(_0x56ca88),'collapsed':_0x45c30a===_0x56ca88,'isActive':_0x3c839d==='1','rangeType':_0x20cb0d===_0x57425f[_0x3507b3(0x14e)][_0x3507b3(0x37e)]?_0x57425f[_0x3507b3(0x14e)][_0x3507b3(0x37e)]:_0x57425f[_0x3507b3(0x14e)][_0x3507b3(0x131)],'segmentId':typeof _0x4b4a0e==_0x3507b3(0x137)?String(_0x4b4a0e):'','segmentPage':Number(_0x1d04f0!=null?_0x1d04f0:-0x1)});}return _0x1b5452[_0x3507b3(0x187)](_0xc5e417=>_0xc5e417[_0x3507b3(0x205)])||(_0x1b5452[0x0][_0x3507b3(0x205)]=!0x0),_0x1b5452;}class _0x3353d2 extends _0x57425f[_0x1405a7(0x1d0)]{constructor(){const _0xb351e=_0x1405a7;super(...arguments),_0xc11de6(this,_0xb351e(0x237),new _0x3883f8[(_0xb351e(0x37b))](null)),_0xc11de6(this,_0xb351e(0x355),this[_0xb351e(0x237)][_0xb351e(0x193)]());}[_0x1405a7(0x1c7)](_0x51ef4e){const _0x171df0=_0x1405a7,{unitID:_0x2a2228,memberID:_0x5c5884,textRanges:_0x2835bc}=_0x51ef4e,_0x18c352=_0xe98a40(_0x2835bc);if(_0x18c352==='')return;const _0xad9a45={'unitID':_0x2a2228,'memberID':_0x5c5884,'selection':_0x18c352};this['_collabCursorState$'][_0x171df0(0x33f)](_0xad9a45);}}var _0x2760d3=Object[_0x1405a7(0x1ba)],_0x47c08e=(_0x25869b,_0x43f87f,_0x12ae62,_0x1adcfb)=>{const _0x5f2644=_0x1405a7;for(var _0x1c53d1=_0x1adcfb>0x1?void 0x0:_0x1adcfb?_0x2760d3(_0x43f87f,_0x12ae62):_0x43f87f,_0x4d348b=_0x25869b[_0x5f2644(0x39a)]-0x1,_0x1d6dce;_0x4d348b>=0x0;_0x4d348b--)(_0x1d6dce=_0x25869b[_0x4d348b])&&(_0x1c53d1=_0x1d6dce(_0x1c53d1)||_0x1c53d1);return _0x1c53d1;},_0x31b475=(_0x34d5e7,_0x4183b8)=>(_0x3157da,_0x194413)=>_0x4183b8(_0x3157da,_0x194413,_0x34d5e7);const _0x2bd010=0x12c,_0x2a3948=0x64;let _0x43629f=class extends _0x57425f['RxDisposable']{constructor(_0x33b0a3,_0x28a98e,_0xb49318,_0x2dab5c,_0x14e80f,_0x5c9321,_0x596cc0,_0x44e1c1,_0x41ccb2){const _0xafcb9e=_0x1405a7;super(),_0xc11de6(this,_0xafcb9e(0x1f4),!0x1),_0xc11de6(this,'_init',!0x1),_0xc11de6(this,_0xafcb9e(0x35d),new _0x3883f8[(_0xafcb9e(0x37b))](new Map())),_0xc11de6(this,_0xafcb9e(0x29e),this[_0xafcb9e(0x35d)][_0xafcb9e(0x193)]()),_0xc11de6(this,_0xafcb9e(0x255),new _0x3883f8['BehaviorSubject']([])),_0xc11de6(this,_0xafcb9e(0x293),this['_roomMembers$'][_0xafcb9e(0x3bd)](_0x3883f8[_0xafcb9e(0x163)](_0x2bd010))),_0xc11de6(this,_0xafcb9e(0x350),_0x57425f[_0xafcb9e(0x384)](_0x3188a6=>{const _0x569bef=_0xafcb9e,_0x4244cb={'eventID':_0x3529a2[_0x569bef(0x315)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x569bef(0x150)],'memberID':this['_session'][_0x569bef(0x351)](),'selection':_0xe98a40(_0x3188a6)}};this['_session'][_0x569bef(0x2c2)](_0x4244cb,this[_0x569bef(0x150)]);},_0x2a3948)),(this['unitID']=_0x33b0a3,this[_0xafcb9e(0x1ae)]=_0x28a98e,this['_injector']=_0xb49318,this[_0xafcb9e(0x284)]=_0x2dab5c,this['_memberService']=_0x14e80f,this[_0xafcb9e(0x225)]=_0x5c9321,this[_0xafcb9e(0x3b4)]=_0x596cc0,this[_0xafcb9e(0x396)]=_0x44e1c1,this[_0xafcb9e(0x2e5)]=_0x41ccb2);}get[_0x1405a7(0x29a)](){const _0x3fb98e=_0x1405a7;return this[_0x3fb98e(0x35d)]['getValue']();}get['roomMembers'](){const _0x4f5628=_0x1405a7;return this['_roomMembers$'][_0x4f5628(0x2cf)]();}[_0x1405a7(0x217)](){const _0x1749f8=_0x1405a7;super['dispose'](),this[_0x1749f8(0x35d)][_0x1749f8(0x33f)](new Map()),this[_0x1749f8(0x35d)][_0x1749f8(0x300)](),this[_0x1749f8(0x255)][_0x1749f8(0x33f)]([]),this[_0x1749f8(0x255)]['complete']();}[_0x1405a7(0x3a5)](){const _0x327794=_0x1405a7;this[_0x327794(0x2bc)]||(this[_0x327794(0x2bc)]=!0x0,this[_0x327794(0x1ae)][_0x327794(0x222)]['pipe'](_0x3883f8[_0x327794(0x2dd)](this[_0x327794(0x22e)]))[_0x327794(0x12d)](_0x2b4f25=>{const _0x413ae7=_0x327794;_0x2b4f25===_0x2b9205['SessionStatus'][_0x413ae7(0x1f9)]?this[_0x413ae7(0x33a)]():this[_0x413ae7(0x31c)]();}),this[_0x327794(0x1ae)]['event$']['pipe'](_0x3883f8[_0x327794(0x2dd)](this[_0x327794(0x22e)]))[_0x327794(0x12d)](_0x3aa013=>{const _0x15376b=_0x327794,_0x3c05fd=_0x3aa013[_0x15376b(0x20f)];_0x3c05fd===_0x3529a2[_0x15376b(0x315)][_0x15376b(0x373)]&&this[_0x15376b(0x209)](_0x3aa013),_0x3c05fd===_0x3529a2[_0x15376b(0x315)]['USERS_LEAVE']&&this[_0x15376b(0x31a)](_0x3aa013);}),this[_0x327794(0x22c)](this[_0x327794(0x2e5)][_0x327794(0x166)](_0x5adce3=>{const _0x4e6b0d=_0x327794,_0x2d5a61=_0x5adce3[_0x4e6b0d(0x177)];_0x2d5a61!=null&&this['_online']&&_0x5adce3['id']===_0x141165[_0x4e6b0d(0x15c)]['id']&&_0x2d5a61[_0x4e6b0d(0x1d1)]===this[_0x4e6b0d(0x150)]&&_0x2d5a61[_0x4e6b0d(0x3b2)]===!0x1&&_0x2d5a61[_0x4e6b0d(0x28b)][_0x4e6b0d(0x39a)]>0x0&&this[_0x4e6b0d(0x350)](_0x2d5a61['ranges']);})),this['_syncEditingCollabCursorService'][_0x327794(0x355)]['pipe'](_0x3883f8[_0x327794(0x2dd)](this[_0x327794(0x22e)]))[_0x327794(0x12d)](_0x1b694b=>{const _0x4d9909=_0x327794;if((_0x1b694b==null?void 0x0:_0x1b694b[_0x4d9909(0x150)])!==this[_0x4d9909(0x150)])return;const _0x1bb170={'eventID':_0x3529a2[_0x4d9909(0x315)][_0x4d9909(0x373)],'data':_0x1b694b};this[_0x4d9909(0x209)](_0x1bb170);}),this[_0x327794(0x22c)](this[_0x327794(0x2e5)][_0x327794(0x166)](_0x3417f4=>{const _0x2b7bb6=_0x327794;if(_0x3417f4['params']==null)return;const _0xfaa84f=_0x3417f4[_0x2b7bb6(0x177)];if(_0x3417f4['id']!==_0x141165[_0x2b7bb6(0x317)]['id']||_0xfaa84f[_0x2b7bb6(0x1d1)]!==this['unitID'])return;const _0x5092e5={'id':_0x2b7bb6(0x197),'params':_0xfaa84f},_0x109c19=this['cursorInfo'];for(const [_0x494b2b,_0xf5716b]of _0x109c19){const _0x4fe97e={'id':_0x2b7bb6(0x197),'params':{'unitId':this[_0x2b7bb6(0x150)],'actions':null,'textRanges':_0xf5716b[_0x2b7bb6(0x28b)]}},_0x22411d=this[_0x2b7bb6(0x3b4)][_0x2b7bb6(0x372)](_0x5092e5,_0x4fe97e,!0x1);if(_0x3529a2['isTransformMutationFailure'](_0x22411d))throw _0x22411d[_0x2b7bb6(0x257)];_0x109c19[_0x2b7bb6(0x3a1)](_0x494b2b,{..._0xf5716b,'ranges':_0x22411d[_0x2b7bb6(0x319)][_0x2b7bb6(0x177)][_0x2b7bb6(0x34b)]});}queueMicrotask(()=>{const _0x1481ff=_0x2b7bb6;this[_0x1481ff(0x35d)][_0x1481ff(0x33f)](_0x109c19);});})));}[_0x1405a7(0x209)](_0x510caf){const _0xfa886e=_0x1405a7;var _0x1fb3d8,_0x34a640;const {memberID:_0x41ae6d,selection:_0x505d9d}=_0x510caf[_0xfa886e(0x239)],_0x42e1aa=_0x423b0a(_0x505d9d),_0x32fb0a=(_0x34a640=(_0x1fb3d8=this[_0xfa886e(0x30d)][_0xfa886e(0x14d)](this[_0xfa886e(0x150)],_0x41ae6d))==null?void 0x0:_0x1fb3d8[_0xfa886e(0x306)])!=null?_0x34a640:_0xfa886e(0x194),_0x376523={'color':this[_0xfa886e(0x284)][_0xfa886e(0x321)](_0x41ae6d),'name':_0x32fb0a,'ranges':_0x42e1aa},_0x18b550=this[_0xfa886e(0x29a)];_0x18b550[_0xfa886e(0x3a1)](_0x41ae6d,_0x376523),this[_0xfa886e(0x35d)][_0xfa886e(0x33f)](_0x18b550);}[_0x1405a7(0x31a)](_0x2a3adf){const _0x516c39=_0x1405a7,{memberID:_0xb2acd}=_0x2a3adf['data'],_0x5736b=this['cursorInfo'];_0x5736b[_0x516c39(0x235)](_0xb2acd),this['_cursorInfo$'][_0x516c39(0x33f)](_0x5736b);}[_0x1405a7(0x33a)](){const _0x1d183a=_0x1405a7;var _0x525dc5;if(this['_online']=!0x0,((_0x525dc5=this[_0x1d183a(0x396)][_0x1d183a(0x127)]())==null?void 0x0:_0x525dc5[_0x1d183a(0x219)]())!==this[_0x1d183a(0x150)])return;const _0x15fef5=this[_0x1d183a(0x35b)][_0x1d183a(0x1c3)](_0x141165[_0x1d183a(0x23e)])[_0x1d183a(0x17c)]();Array[_0x1d183a(0x24d)](_0x15fef5)&&_0x15fef5[_0x1d183a(0x39a)]>0x0&&this[_0x1d183a(0x350)](_0x15fef5);}[_0x1405a7(0x31c)](){const _0x5aae77=_0x1405a7;this[_0x5aae77(0x1f4)]=!0x1;}};_0x43629f=_0x47c08e([_0x31b475(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x57425f[_0x1405a7(0x1dd)])),_0x31b475(0x3,_0x57425f[_0x1405a7(0x3aa)](_0x1a366c)),_0x31b475(0x4,_0x57425f['Inject'](_0x2b9205[_0x1405a7(0x353)])),_0x31b475(0x5,_0x57425f[_0x1405a7(0x3aa)](_0x3353d2)),_0x31b475(0x6,_0x3529a2[_0x1405a7(0x215)]),_0x31b475(0x7,_0x57425f[_0x1405a7(0x3c7)]),_0x31b475(0x8,_0x57425f['ICommandService'])],_0x43629f);var _0x61c4d5=Object[_0x1405a7(0x1ba)],_0x50e7f6=(_0x392465,_0xf2b504,_0x471096,_0x443c5f)=>{const _0x1275e0=_0x1405a7;for(var _0x397ed9=_0x443c5f>0x1?void 0x0:_0x443c5f?_0x61c4d5(_0xf2b504,_0x471096):_0xf2b504,_0x29bab6=_0x392465[_0x1275e0(0x39a)]-0x1,_0x17b91a;_0x29bab6>=0x0;_0x29bab6--)(_0x17b91a=_0x392465[_0x29bab6])&&(_0x397ed9=_0x17b91a(_0x397ed9)||_0x397ed9);return _0x397ed9;},_0xbda838=(_0x116244,_0x3d6511)=>(_0x5c4e45,_0x5ca571)=>_0x3d6511(_0x5c4e45,_0x5ca571,_0x116244);const _0x4cccd9=0x12c,_0x213cfc=0x64,_0x3c43fb=()=>{let _0x3d25ec=[],_0x34cf51=!0x1;return _0x390120=>{_0x3d25ec['push'](_0x390120),_0x34cf51||(_0x34cf51=!0x0,setTimeout(()=>{const _0x1ab7d3=_0x3a65;_0x3d25ec[_0x1ab7d3(0x335)](_0x5beb79=>_0x5beb79()),_0x3d25ec=[],_0x34cf51=!0x1;}));};};let _0x4dab01=class extends _0x57425f[_0x1405a7(0x1d0)]{constructor(_0x568781,_0x1c370f,_0x4d0ead,_0x52d48f,_0x4ed15a,_0x2efee0,_0x57b974,_0x4a1ace){const _0x4eb3f4=_0x1405a7;super(),_0xc11de6(this,_0x4eb3f4(0x1f4),!0x1),_0xc11de6(this,_0x4eb3f4(0x2bc),!0x1),_0xc11de6(this,_0x4eb3f4(0x35d),new _0x3883f8['BehaviorSubject'](new Map())),_0xc11de6(this,_0x4eb3f4(0x29e),this[_0x4eb3f4(0x35d)]['asObservable']()),_0xc11de6(this,_0x4eb3f4(0x255),new _0x3883f8['BehaviorSubject']([])),_0xc11de6(this,_0x4eb3f4(0x293),this[_0x4eb3f4(0x255)][_0x4eb3f4(0x3bd)](_0x3883f8['debounceTime'](_0x4cccd9))),_0xc11de6(this,'_updateLocalCursor',_0x57425f['debounce']((_0x3c89b7,_0x3300ca)=>{const _0x52aa71=_0x4eb3f4,_0x4e1bbc={'eventID':_0x3529a2[_0x52aa71(0x315)][_0x52aa71(0x373)],'data':{'unitID':this[_0x52aa71(0x150)],'memberID':this['_session'][_0x52aa71(0x351)](),'selection':_0x356844[_0x52aa71(0x395)](_0x3c89b7,_0x3300ca['range'])}};this[_0x52aa71(0x1ae)][_0x52aa71(0x2c2)](_0x4e1bbc,this[_0x52aa71(0x150)]);},_0x213cfc)),(this[_0x4eb3f4(0x150)]=_0x568781,this[_0x4eb3f4(0x1ae)]=_0x1c370f,this[_0x4eb3f4(0x35b)]=_0x4d0ead,this[_0x4eb3f4(0x284)]=_0x52d48f,this['_memberService']=_0x4ed15a,this[_0x4eb3f4(0x396)]=_0x2efee0,this[_0x4eb3f4(0x2e5)]=_0x57b974,this['_refRangeService']=_0x4a1ace);}get['cursorInfo'](){const _0x4c6d69=_0x1405a7;return this[_0x4c6d69(0x35d)][_0x4c6d69(0x2cf)]();}get['roomMembers'](){const _0x19345e=_0x1405a7;return this[_0x19345e(0x255)][_0x19345e(0x2cf)]();}[_0x1405a7(0x217)](){const _0x19a3fc=_0x1405a7;super[_0x19a3fc(0x217)](),this[_0x19a3fc(0x35d)]['next'](new Map()),this[_0x19a3fc(0x35d)][_0x19a3fc(0x300)](),this[_0x19a3fc(0x255)][_0x19a3fc(0x33f)]([]),this[_0x19a3fc(0x255)]['complete']();}[_0x1405a7(0x3a5)](){const _0x40930a=_0x1405a7;this[_0x40930a(0x2bc)]||(this[_0x40930a(0x2bc)]=!0x0,this[_0x40930a(0x1ae)][_0x40930a(0x222)][_0x40930a(0x3bd)](_0x3883f8[_0x40930a(0x2dd)](this[_0x40930a(0x22e)]))[_0x40930a(0x12d)](_0x148a7d=>{const _0x328fc5=_0x40930a;_0x148a7d===_0x2b9205[_0x328fc5(0x1a5)][_0x328fc5(0x1f9)]?this[_0x328fc5(0x33a)]():this[_0x328fc5(0x31c)]();}),this[_0x40930a(0x1ae)][_0x40930a(0x21f)][_0x40930a(0x3bd)](_0x3883f8['takeUntil'](this[_0x40930a(0x22e)]))[_0x40930a(0x12d)](_0x96fb16=>{const _0x2daea2=_0x40930a,_0x11149e=_0x96fb16[_0x2daea2(0x20f)];_0x11149e===_0x3529a2[_0x2daea2(0x315)][_0x2daea2(0x373)]&&this[_0x2daea2(0x209)](_0x96fb16),_0x11149e===_0x3529a2[_0x2daea2(0x315)][_0x2daea2(0x33e)]&&this[_0x2daea2(0x31a)](_0x96fb16);}),this[_0x40930a(0x301)](),this['disposeWithMe'](this[_0x40930a(0x2e5)][_0x40930a(0x166)](_0x221ec0=>{const _0x7617a=_0x40930a;if(this[_0x7617a(0x1f4)]&&_0x221ec0['id']===_0x4ddade[_0x7617a(0x2f2)]['id']&&_0x221ec0['params'][_0x7617a(0x1d1)]===this[_0x7617a(0x150)]){const _0x373fcf=_0x221ec0[_0x7617a(0x177)];this[_0x7617a(0x350)](_0x373fcf[_0x7617a(0x14a)],_0x373fcf[_0x7617a(0x1b4)][0x0]);}})));}[_0x1405a7(0x209)](_0x3b5a9c){const _0x47b9e4=_0x1405a7;var _0x96a5a8,_0x265694;const {memberID:_0xdf65ef,selection:_0x2af4d9}=_0x3b5a9c[_0x47b9e4(0x239)],{sheetName:_0x9a5885,range:_0x1d1321}=_0x356844[_0x47b9e4(0x388)](_0x2af4d9),_0x539fdc={'name':(_0x265694=(_0x96a5a8=this[_0x47b9e4(0x30d)]['getMember'](this[_0x47b9e4(0x150)],_0xdf65ef))==null?void 0x0:_0x96a5a8['name'])!=null?_0x265694:_0x47b9e4(0x194),'range':this[_0x47b9e4(0x2cc)](_0x9a5885,_0x1d1321),'sheetID':_0x9a5885,'color':this[_0x47b9e4(0x284)][_0x47b9e4(0x321)](_0xdf65ef),'selection':_0x2af4d9},_0x267ff=this['cursorInfo'];_0x267ff['set'](_0xdf65ef,_0x539fdc),this[_0x47b9e4(0x35d)]['next'](_0x267ff);}[_0x1405a7(0x31a)](_0x52fab6){const _0x201686=_0x1405a7,{memberID:_0x329c94}=_0x52fab6[_0x201686(0x239)],_0x3e0a0c=this['cursorInfo'];_0x3e0a0c[_0x201686(0x235)](_0x329c94),this[_0x201686(0x35d)][_0x201686(0x33f)](_0x3e0a0c);}['_getMergeRange'](_0x2ebfda,_0x1df335){const _0x28b861=_0x1405a7;var _0x25aeb6,_0x57007c;const _0x47a27b=(_0x57007c=(_0x25aeb6=this[_0x28b861(0x396)][_0x28b861(0x2ea)](this[_0x28b861(0x150)]))==null?void 0x0:_0x25aeb6[_0x28b861(0x340)](_0x2ebfda))==null?void 0x0:_0x57007c[_0x28b861(0x202)]();return(_0x47a27b==null?void 0x0:_0x47a27b['find'](_0x432b34=>_0x57425f[_0x28b861(0x195)][_0x28b861(0x1ec)](_0x432b34,_0x1df335)))||_0x1df335;}['_onRefRangeChange'](){const _0x253f98=_0x1405a7,_0x5aeb4a=new _0x57425f[(_0x253f98(0x33d))](),_0x4c58db=_0x3c43fb(),_0x3ad7a6=()=>{const _0x47a8d9=_0x253f98;_0x5aeb4a[_0x47a8d9(0x217)]();const _0x425e5f=(_0x11d230,_0x2d49b2,_0x16b835,_0x1ab119)=>{const _0x10fdb2=_0x47a8d9;let _0x85bd8=[];switch(_0x11d230['id']){case _0x4ddade[_0x10fdb2(0x2a4)][_0x10fdb2(0x290)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x216)](_0x11d230,_0x1ab119);break;}case _0x4ddade['EffectRefRangId'][_0x10fdb2(0x249)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x27e)](_0x11d230,_0x1ab119);break;}case _0x4ddade[_0x10fdb2(0x2a4)][_0x10fdb2(0x390)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x382)](_0x11d230,_0x1ab119);break;}case _0x4ddade[_0x10fdb2(0x2a4)][_0x10fdb2(0x152)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x153)](_0x11d230,_0x1ab119);break;}case _0x4ddade[_0x10fdb2(0x2a4)][_0x10fdb2(0x32e)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x2d4)](_0x11d230,_0x1ab119);break;}case _0x4ddade['EffectRefRangId']['InsertRowCommandId']:{_0x85bd8=_0x4ddade[_0x10fdb2(0x19d)](_0x11d230,_0x1ab119);break;}case _0x4ddade[_0x10fdb2(0x2a4)][_0x10fdb2(0x1c8)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x391)](_0x11d230,_0x1ab119);break;}case _0x4ddade[_0x10fdb2(0x2a4)][_0x10fdb2(0x32d)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x1bd)](_0x11d230,_0x1ab119);break;}case _0x4ddade['EffectRefRangId'][_0x10fdb2(0x28a)]:{_0x85bd8=_0x4ddade[_0x10fdb2(0x325)](_0x11d230,_0x1ab119);break;}}const _0x6199dd=_0x4ddade['runRefRangeMutations'](_0x85bd8,_0x1ab119),_0x4e3d1a=this[_0x10fdb2(0x29a)]['get'](_0x2d49b2);if(_0x4e3d1a&&_0x6199dd){const _0x5515cd={..._0x4e3d1a,'range':_0x6199dd};this[_0x10fdb2(0x29a)]['set'](_0x2d49b2,_0x5515cd),_0x4c58db(()=>{const _0x3eb1a8=_0x10fdb2,_0x27cbd1=this[_0x3eb1a8(0x38b)]['registerRefRange'](_0x6199dd,_0x205afd=>(_0x27cbd1['dispose'](),_0x425e5f(_0x205afd,_0x2d49b2,_0x16b835,_0x6199dd)));_0x5aeb4a[_0x3eb1a8(0x33c)](_0x27cbd1);});}return{'redos':[],'undos':[]};};this[_0x47a8d9(0x29a)]['forEach']((_0xf47dd,_0x4997ef)=>{const _0x590cf7=_0x47a8d9,{range:_0x45e206,sheetID:_0x48f6ee}=_0xf47dd,_0x12a517=this['_refRangeService'][_0x590cf7(0x2e8)](_0x45e206,_0x3f44e8=>(_0x12a517[_0x590cf7(0x217)](),_0x425e5f(_0x3f44e8,_0x4997ef,_0x48f6ee,_0x45e206)));_0x5aeb4a[_0x590cf7(0x33c)](_0x12a517);});};this[_0x253f98(0x22c)](_0x57425f[_0x253f98(0x332)](this[_0x253f98(0x35d)][_0x253f98(0x12d)](()=>{_0x3ad7a6();})));}[_0x1405a7(0x33a)](){const _0x18c19a=_0x1405a7;var _0x1086ea,_0x34ce62;if(this['_online']=!0x0,((_0x1086ea=this[_0x18c19a(0x396)][_0x18c19a(0x127)]())==null?void 0x0:_0x1086ea[_0x18c19a(0x219)]())!==this[_0x18c19a(0x150)])return;const _0x1304b5=(_0x34ce62=this[_0x18c19a(0x35b)][_0x18c19a(0x1c3)](_0x4ddade['SheetsSelectionsService'])[_0x18c19a(0x1bf)]())==null?void 0x0:_0x34ce62[0x0],_0x530a4b=this[_0x18c19a(0x396)][_0x18c19a(0x30c)](_0x57425f[_0x18c19a(0x311)]['UNIVER_SHEET'])[_0x18c19a(0x333)]();_0x1304b5&&_0x530a4b&&this[_0x18c19a(0x350)](_0x530a4b[_0x18c19a(0x385)](),_0x1304b5);}[_0x1405a7(0x31c)](){const _0x29d0b5=_0x1405a7;this[_0x29d0b5(0x1f4)]=!0x1;}};_0x4dab01=_0x50e7f6([_0xbda838(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x57425f[_0x1405a7(0x1dd)])),_0xbda838(0x3,_0x57425f[_0x1405a7(0x3aa)](_0x1a366c)),_0xbda838(0x4,_0x57425f[_0x1405a7(0x3aa)](_0x2b9205[_0x1405a7(0x353)])),_0xbda838(0x5,_0x57425f[_0x1405a7(0x3c7)]),_0xbda838(0x6,_0x57425f[_0x1405a7(0x328)]),_0xbda838(0x7,_0x57425f['Inject'](_0x4ddade[_0x1405a7(0x316)]))],_0x4dab01);var _0x5a7aac=Object[_0x1405a7(0x1ba)],_0x128175=(_0x14bdf8,_0x17a86a,_0x290b1f,_0x2c3d1d)=>{const _0x21dbc6=_0x1405a7;for(var _0xb815e8=_0x2c3d1d>0x1?void 0x0:_0x2c3d1d?_0x5a7aac(_0x17a86a,_0x290b1f):_0x17a86a,_0x94def4=_0x14bdf8[_0x21dbc6(0x39a)]-0x1,_0x3b0182;_0x94def4>=0x0;_0x94def4--)(_0x3b0182=_0x14bdf8[_0x94def4])&&(_0xb815e8=_0x3b0182(_0xb815e8)||_0xb815e8);return _0xb815e8;},_0x24cf1e=(_0x2c703e,_0x1bd352)=>(_0x39fd5d,_0x28c276)=>_0x1bd352(_0x39fd5d,_0x28c276,_0x2c703e);let _0x3b8e9b=class extends _0x57425f[_0x1405a7(0x1d0)]{constructor(_0x5ee255,_0x32ffa8,_0x559829){const _0x4dac74=_0x1405a7;super(),_0xc11de6(this,_0x4dac74(0x282),new Map()),_0xc11de6(this,_0x4dac74(0x1f7),new _0x3883f8[(_0x4dac74(0x2f8))]()),(this[_0x4dac74(0x396)]=_0x5ee255,this[_0x4dac74(0x35b)]=_0x32ffa8,this[_0x4dac74(0x2c0)]=_0x559829,this[_0x4dac74(0x2bc)]());}[_0x1405a7(0x217)](){const _0x477dc1=_0x1405a7;super[_0x477dc1(0x217)](),this['_entityInit$']['complete'](),this[_0x477dc1(0x282)][_0x477dc1(0x335)](_0x10371d=>_0x10371d['dispose']());}['getCollabCursors$'](_0x2e5f80){const _0x4d4e0f=_0x1405a7;return this[_0x4d4e0f(0x282)][_0x4d4e0f(0x1a9)](_0x2e5f80)?this['_entities'][_0x4d4e0f(0x1c3)](_0x2e5f80)[_0x4d4e0f(0x29e)]:this[_0x4d4e0f(0x1f7)]['pipe'](_0x3883f8[_0x4d4e0f(0x144)](_0x233493=>_0x233493[_0x4d4e0f(0x150)]===_0x2e5f80),_0x3883f8['switchMap'](_0x481fd1=>_0x481fd1[_0x4d4e0f(0x29e)]));}[_0x1405a7(0x2bc)](){const _0x2c81e9=_0x1405a7;this[_0x2c81e9(0x396)][_0x2c81e9(0x169)](_0x57425f['UniverInstanceType'][_0x2c81e9(0x18a)])[_0x2c81e9(0x3bd)](_0x3883f8[_0x2c81e9(0x2dd)](this['dispose$']))[_0x2c81e9(0x12d)](async _0x32ae12=>{const _0x3f0506=_0x2c81e9,_0xbc669d=_0x32ae12['getUnitId'](),_0x56b6b4=await this[_0x3f0506(0x31f)](_0xbc669d);this['_entityInit$'][_0x3f0506(0x33f)](_0x56b6b4),this[_0x3f0506(0x282)][_0x3f0506(0x3a1)](_0xbc669d,_0x56b6b4);}),this[_0x2c81e9(0x396)]['getTypeOfUnitAdded$'](_0x57425f[_0x2c81e9(0x311)][_0x2c81e9(0x37f)])['pipe'](_0x3883f8[_0x2c81e9(0x2dd)](this[_0x2c81e9(0x22e)]))[_0x2c81e9(0x3bd)](_0x3883f8[_0x2c81e9(0x144)](_0x8665d0=>!_0x8665d0[_0x2c81e9(0x219)]()[_0x2c81e9(0x1d4)]('__')))[_0x2c81e9(0x12d)](async _0x535923=>{const _0x2a9916=_0x2c81e9,_0x136d58=_0x535923[_0x2a9916(0x219)](),_0x59c610=await this[_0x2a9916(0x231)](_0x136d58);this[_0x2a9916(0x1f7)][_0x2a9916(0x33f)](_0x59c610),this[_0x2a9916(0x282)][_0x2a9916(0x3a1)](_0x136d58,_0x59c610);}),_0x3883f8['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x57425f['UniverInstanceType']['UNIVER_DOC']),this[_0x2c81e9(0x396)]['getTypeOfUnitDisposed$'](_0x57425f[_0x2c81e9(0x311)]['UNIVER_SHEET']))['pipe'](_0x3883f8[_0x2c81e9(0x2dd)](this['dispose$']))[_0x2c81e9(0x12d)](_0x3be029=>{const _0x16976c=_0x2c81e9,_0x16aa5f=_0x3be029[_0x16976c(0x219)](),_0x17bc5b=this[_0x16976c(0x282)][_0x16976c(0x1c3)](_0x16aa5f);_0x17bc5b&&(_0x17bc5b['dispose'](),this[_0x16976c(0x282)][_0x16976c(0x235)](_0x16aa5f));});}async[_0x1405a7(0x31f)](_0x4add82){const _0x591cfd=_0x1405a7,_0x5e227d=await this[_0x591cfd(0x2c0)]['requireSession'](_0x4add82),_0x2e5cf7=this[_0x591cfd(0x35b)][_0x591cfd(0x1ef)](_0x4dab01,_0x4add82,_0x5e227d);return _0x2e5cf7[_0x591cfd(0x3a5)](),_0x2e5cf7;}async['_startDocCollabCursor'](_0x3f9a84){const _0x2ca2df=_0x1405a7,_0x457fa1=await this['_collabSessionService'][_0x2ca2df(0x134)](_0x3f9a84),_0x17939d=this[_0x2ca2df(0x35b)]['createInstance'](_0x43629f,_0x3f9a84,_0x457fa1);return _0x17939d['init'](),_0x17939d;}};_0x3b8e9b=_0x128175([_0x24cf1e(0x0,_0x57425f[_0x1405a7(0x3c7)]),_0x24cf1e(0x1,_0x57425f['Inject'](_0x57425f[_0x1405a7(0x1dd)])),_0x24cf1e(0x2,_0x57425f['Inject'](_0x2b9205[_0x1405a7(0x27a)]))],_0x3b8e9b);const _0x4276c8=0x14,_0x36b675=0xc8,_0x434809=0x4,_0x24d7b2=0x5;function _0x3cb1f7(_0x1c8481,_0x4ce01f){const _0x32a4d3=_0x1405a7;let {radius:_0x1b18d8,width:_0x4f25cf,height:_0x1ff166}=_0x4ce01f;_0x1b18d8=_0x1b18d8!=null?_0x1b18d8:0x0,_0x4f25cf=_0x4f25cf!=null?_0x4f25cf:0x1e,_0x1ff166=_0x1ff166!=null?_0x1ff166:0x1e;let _0x25e11d=0x0,_0x148bc5=0x0,_0x1e42ed=0x0;_0x25e11d=_0x148bc5=_0x1e42ed=Math[_0x32a4d3(0x2ff)](_0x1b18d8,_0x4f25cf/0x2,_0x1ff166/0x2),_0x1c8481['beginPath'](),_0x1c8481[_0x32a4d3(0x129)](_0x25e11d,0x0),_0x1c8481[_0x32a4d3(0x259)](_0x4f25cf-_0x148bc5,0x0),_0x1c8481[_0x32a4d3(0x2a0)](_0x4f25cf-_0x148bc5,_0x148bc5,_0x148bc5,Math['PI']*0x3/0x2,0x0,!0x1),_0x1c8481['lineTo'](_0x4f25cf,_0x1ff166-_0x1e42ed),_0x1c8481[_0x32a4d3(0x2a0)](_0x4f25cf-_0x1e42ed,_0x1ff166-_0x1e42ed,_0x1e42ed,0x0,Math['PI']/0x2,!0x1),_0x1c8481[_0x32a4d3(0x259)](0x0,_0x1ff166),_0x1c8481['lineTo'](0x0,_0x25e11d),_0x1c8481['arc'](_0x25e11d,_0x25e11d,_0x25e11d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1c8481['closePath'](),_0x4ce01f[_0x32a4d3(0x310)]&&(_0x1c8481['save'](),_0x1c8481[_0x32a4d3(0x204)]=_0x4ce01f[_0x32a4d3(0x310)],_0x4ce01f[_0x32a4d3(0x164)]===_0x32a4d3(0x29c)?_0x1c8481['fill'](_0x32a4d3(0x29c)):_0x1c8481[_0x32a4d3(0x310)](),_0x1c8481[_0x32a4d3(0x148)]());}class _0x100091 extends _0x29da64[_0x1405a7(0x2a1)]{constructor(_0x35bd68,_0x6002){const _0x2d28b2=_0x1405a7;super(_0x35bd68,_0x6002),_0xc11de6(this,_0x2d28b2(0x2d9)),_0xc11de6(this,_0x2d28b2(0x294)),(this[_0x2d28b2(0x2d9)]=_0x6002==null?void 0x0:_0x6002['color'],this[_0x2d28b2(0x294)]=_0x6002==null?void 0x0:_0x6002['text']);}static[_0x1405a7(0x162)](_0x13220f,_0x190760){const _0x4f0c48=_0x1405a7,{text:_0x3c3cb4,color:_0x39c285}=_0x190760;_0x13220f[_0x4f0c48(0x320)](),_0x13220f[_0x4f0c48(0x3c6)]=_0x4f0c48(0x1da);const _0x7d7fbb=_0x13220f['measureText'](_0x3c3cb4)['width'],_0xbf13fc=Math[_0x4f0c48(0x2ff)](_0x7d7fbb+0x2*_0x434809,_0x36b675);_0x3cb1f7(_0x13220f,{'height':_0x4276c8,'radius':0x4,'width':_0xbf13fc,'fill':_0x39c285}),_0x13220f['fillStyle']='#FFF';const _0x4803be=_0x434809,_0x344c59=_0x4276c8-_0x24d7b2,_0x3d7ead=_0x36b675-0x2*_0x434809;if(_0x7d7fbb>_0x3d7ead){let _0x14be21='',_0x39513b=0x0;for(const _0x5ef375 of _0x3c3cb4){const _0xab18fe=_0x13220f['measureText'](_0x5ef375)['width'];if(_0x39513b+_0xab18fe<=_0x3d7ead-_0x13220f['measureText'](_0x4f0c48(0x24a))[_0x4f0c48(0x23a)])_0x14be21+=_0x5ef375,_0x39513b+=_0xab18fe;else{_0x14be21+=_0x4f0c48(0x24a);break;}}_0x13220f['fillText'](_0x14be21,_0x4803be,_0x344c59);}else _0x13220f[_0x4f0c48(0x380)](_0x3c3cb4,_0x4803be,_0x344c59);_0x13220f[_0x4f0c48(0x148)]();}[_0x1405a7(0x2ef)](_0x5a438c){const _0x4350b9=_0x1405a7;_0x100091[_0x4350b9(0x162)](_0x5a438c,this);}}const _0x5358e3=_0x1405a7(0x26a),_0x29c8ce=_0x1405a7(0x352),_0x52c3d7=_0x1405a7(0x1b1),_0x10a006=0x6,_0x44a629=1.5,_0x425d51=0x4,_0x160e77=1.5,_0x27af09=_0x1405a7(0x1b7);class _0x583714{constructor(_0x2efc6d,_0x5ade2e,_0x20958a,_0x2cca7c){const _0xa83b83=_0x1405a7;_0xc11de6(this,_0xa83b83(0x24f),[]),_0xc11de6(this,_0xa83b83(0x2fd),null),_0xc11de6(this,_0xa83b83(0x35c),null),_0xc11de6(this,_0xa83b83(0x2d5),null),_0xc11de6(this,'_hideTimer',null),_0xc11de6(this,_0xa83b83(0x2cb),null),(this[_0xa83b83(0x18b)]=_0x2efc6d,this[_0xa83b83(0x2bb)]=_0x5ade2e,this[_0xa83b83(0x347)]=_0x20958a,this[_0xa83b83(0x1ce)]=_0x2cca7c,this[_0xa83b83(0x3a8)]());}set[_0x1405a7(0x1ac)](_0x48ef77){const _0x6bb774=_0x1405a7;_0x48ef77?(this[_0x6bb774(0x2d5)]&&this[_0x6bb774(0x2d5)][_0x6bb774(0x1e2)](),this[_0x6bb774(0x35c)]&&this['_textBubble'][_0x6bb774(0x23b)]()):(this[_0x6bb774(0x2d5)]&&this[_0x6bb774(0x2d5)][_0x6bb774(0x23b)](),this[_0x6bb774(0x35c)]&&this[_0x6bb774(0x35c)][_0x6bb774(0x1e2)]());}[_0x1405a7(0x217)](){const _0x387adc=_0x1405a7;for(const _0x7bddce of this['_shapes'])_0x7bddce['dispose']();this[_0x387adc(0x35c)]&&this[_0x387adc(0x35c)]['dispose'](),this[_0x387adc(0x2d5)]&&this['_anchorDot'][_0x387adc(0x217)](),this[_0x387adc(0x2fd)]&&this[_0x387adc(0x2fd)][_0x387adc(0x217)](),this[_0x387adc(0x2cb)]&&this['_eventUnsubscribe']();}[_0x1405a7(0x3a8)](){const _0x4e8f0e=_0x1405a7;var _0x3da112;const {_docSkeleton:_0x138575,_document:_0x302526}=this,{color:_0x5e5b37,name:_0x35c255,ranges:_0x19d72a}=this[_0x4e8f0e(0x18b)],_0x2938b1=_0x302526[_0x4e8f0e(0x1d2)](),{docsLeft:_0x5bc506,docsTop:_0x2c8e25}=_0x2938b1,_0x19a213=new _0x29ac66[(_0x4e8f0e(0x1fa))](_0x2938b1,_0x138575);for(const {startOffset:_0x5a4ef6,endOffset:_0x220c50,rangeType:_0x278884,segmentId:_0x5aa1a0,segmentPage:_0x4389da,collapsed:_0x47487e,isActive:_0x7de9de}of _0x19d72a){const _0x4595f4=_0x138575[_0x4e8f0e(0x280)](_0x5a4ef6,!0x0,_0x5aa1a0,_0x4389da);let _0x15bec1=_0x138575[_0x4e8f0e(0x280)](_0x220c50,!0x0,_0x5aa1a0,_0x4389da);if(_0x15bec1==null&&(_0x15bec1=_0x138575[_0x4e8f0e(0x280)](_0x220c50-0x1,!0x1,_0x5aa1a0,_0x4389da)),_0x7de9de){const {contentBoxPointGroup:_0x20dee0}=_0x19a213['getRangePointData'](_0x15bec1,_0x15bec1);if(_0x20dee0[_0x4e8f0e(0x39a)]===0x0)continue;this[_0x4e8f0e(0x20a)](_0x5e5b37,_0x20dee0,_0x5bc506,_0x2c8e25,_0x35c255),this['_eventUnsubscribe']=this[_0x4e8f0e(0x229)]();}if(_0x4595f4&&_0x15bec1){if(_0x278884===_0x57425f[_0x4e8f0e(0x14e)][_0x4e8f0e(0x131)]){const _0x1a1698=new _0x29ac66[(_0x4e8f0e(0x1f3))](_0x2938b1,_0x138575),{pointGroup:_0x28d800}=(_0x3da112=_0x1a1698[_0x4e8f0e(0x263)](_0x4595f4,_0x15bec1))!=null?_0x3da112:{};if(_0x28d800==null||_0x28d800[_0x4e8f0e(0x39a)]===0x0)continue;this[_0x4e8f0e(0x2fe)](_0x5e5b37,_0x28d800,_0x5bc506,_0x2c8e25);}else{if(!_0x47487e){const {borderBoxPointGroup:_0x1f1877}=_0x19a213['getRangePointData'](_0x4595f4,_0x15bec1);if(_0x1f1877['length']===0x0)continue;this[_0x4e8f0e(0x303)](_0x5e5b37,_0x1f1877,_0x5bc506,_0x2c8e25);}}}}}[_0x1405a7(0x20a)](_0x3bdef2,_0x264b18,_0x20a910,_0x186be2,_0x224a50){const _0x1fa93d=_0x1405a7,_0x28183f=this[_0x1fa93d(0x272)](_0x264b18),{left:_0x27f3a2,top:_0x79c44a,height:_0x403f1e}=_0x28183f,_0x3a56c5=this[_0x1fa93d(0x369)](),_0x34eb6f=_0x160e77/_0x3a56c5,_0x5bb87b=new _0x29da64[(_0x1fa93d(0x339))](_0x5358e3+_0x57425f[_0x1fa93d(0x17f)][_0x1fa93d(0x3c0)](_0x10a006),{'left':_0x27f3a2+_0x20a910-_0x34eb6f,'top':_0x79c44a+_0x186be2,'height':_0x403f1e,'width':_0x44a629,'fill':_0x3bdef2||_0x29da64[_0x1fa93d(0x348)](_0x57425f[_0x1fa93d(0x3a4)]['black'],0x0),'strokeWidth':_0x34eb6f,'stroke':_0x27af09,'evented':!0x0});this[_0x1fa93d(0x2fd)]=_0x5bb87b,this[_0x1fa93d(0x2bb)][_0x1fa93d(0x2da)](_0x5bb87b,_0x29ac66[_0x1fa93d(0x230)]);const _0x52b443=new _0x29da64[(_0x1fa93d(0x339))](_0x5358e3+_0x57425f[_0x1fa93d(0x17f)][_0x1fa93d(0x3c0)](_0x10a006),{'left':_0x27f3a2+_0x20a910-_0x34eb6f,'top':_0x79c44a+_0x186be2-_0x425d51/0x2,'height':_0x425d51,'width':_0x425d51,'fill':_0x3bdef2||_0x29da64[_0x1fa93d(0x348)](_0x57425f[_0x1fa93d(0x3a4)][_0x1fa93d(0x288)],0x0),'strokeWidth':0x0,'stroke':_0x3bdef2||_0x29da64[_0x1fa93d(0x348)](_0x57425f[_0x1fa93d(0x3a4)][_0x1fa93d(0x288)],0x0),'evented':!0x1});this[_0x1fa93d(0x2d5)]=_0x52b443,this[_0x1fa93d(0x2bb)][_0x1fa93d(0x2da)](_0x52b443,_0x29ac66[_0x1fa93d(0x230)]);const _0x1309dd=new _0x100091(_0x5358e3+_0x57425f['Tools'][_0x1fa93d(0x3c0)](_0x10a006),{'left':_0x27f3a2+_0x20a910-_0x34eb6f,'top':_0x79c44a+_0x186be2-_0x4276c8,'text':_0x224a50,'color':_0x3bdef2});this['_textBubble']=_0x1309dd,this[_0x1fa93d(0x2bb)]['addObject'](_0x1309dd,_0x29ac66[_0x1fa93d(0x230)]),this[_0x1fa93d(0x1ac)]=!0x1;}['_handleHover'](){const _0x2a22c2=_0x1405a7,_0x5f2c7a=this[_0x2a22c2(0x2fd)][_0x2a22c2(0x24b)][_0x2a22c2(0x1e6)](()=>{const _0x302666=_0x2a22c2;this[_0x302666(0x1ac)]=!0x0;}),_0x1045e1=this[_0x2a22c2(0x2fd)][_0x2a22c2(0x130)][_0x2a22c2(0x1e6)](()=>{const _0x27d2a4=_0x2a22c2;this['_hideTimer']&&clearTimeout(this[_0x27d2a4(0x3ba)]),this['_hideTimer']=setTimeout(()=>{const _0x3f90d5=_0x27d2a4;this[_0x3f90d5(0x1ac)]=!0x1;},0x7d0);});return()=>{const _0xcf973b=_0x2a22c2;_0x5f2c7a[_0xcf973b(0x135)](),_0x1045e1[_0xcf973b(0x135)]();};}[_0x1405a7(0x303)](_0x490400,_0x29bd20,_0x51178d,_0x25b7a3){const _0x23ab54=_0x1405a7,_0x1bfc5b=new _0x57425f[(_0x23ab54(0x21a))](_0x490400)[_0x23ab54(0x2e4)](0.2)['toRgbString'](),_0xf8257f=new _0x29da64['RegularPolygon'](_0x29c8ce+_0x57425f['Tools']['generateRandomId'](_0x10a006),{'pointsGroup':_0x29bd20,'fill':_0x1bfc5b||_0x29da64[_0x23ab54(0x348)](_0x57425f[_0x23ab54(0x3a4)]['black'],0.2),'left':_0x51178d,'top':_0x25b7a3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x23ab54(0x24f)][_0x23ab54(0x173)](_0xf8257f),this[_0x23ab54(0x2bb)][_0x23ab54(0x2da)](_0xf8257f,_0x29ac66[_0x23ab54(0x230)]);}[_0x1405a7(0x2fe)](_0x4d16f4,_0x274800,_0x18c03c,_0x4b504d){const _0x49a3a8=_0x1405a7,_0x3b4d1d=new _0x57425f['ColorKit'](_0x4d16f4)[_0x49a3a8(0x2e4)](0.2)['toRgbString'](),_0x57a0c6=new _0x29da64[(_0x49a3a8(0x3b9))](_0x52c3d7+_0x57425f['Tools'][_0x49a3a8(0x3c0)](_0x10a006),{'pointsGroup':_0x274800,'fill':_0x3b4d1d||_0x29da64[_0x49a3a8(0x348)](_0x57425f[_0x49a3a8(0x3a4)][_0x49a3a8(0x288)],0.2),'left':_0x18c03c,'top':_0x4b504d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x49a3a8(0x24f)][_0x49a3a8(0x173)](_0x57a0c6),this[_0x49a3a8(0x2bb)][_0x49a3a8(0x2da)](_0x57a0c6,_0x29ac66['TEXT_RANGE_LAYER_INDEX']);}[_0x1405a7(0x272)](_0x42f281){const _0x3e2239=_0x42f281[0x0],_0x555621=_0x3e2239[0x0],_0xdc903d=_0x3e2239[0x2],{x:_0x405ccc,y:_0x7d2604}=_0x555621,{x:_0x4e50a4,y:_0x2e7528}=_0xdc903d;return{'left':_0x405ccc,'top':_0x7d2604,'width':_0x4e50a4-_0x405ccc,'height':_0x2e7528-_0x7d2604};}['_getScale'](){const _0x55ad2a=_0x1405a7,{scaleX:_0x529aff,scaleY:_0x5d5802}=this[_0x55ad2a(0x2bb)][_0x55ad2a(0x3a9)]();return Math['max'](_0x529aff,_0x5d5802);}}var _0x28728e=Object['getOwnPropertyDescriptor'],_0xcf456=(_0xa44b6a,_0x2afb37,_0x1c3a0b,_0x380c07)=>{const _0x5857b6=_0x1405a7;for(var _0xdee304=_0x380c07>0x1?void 0x0:_0x380c07?_0x28728e(_0x2afb37,_0x1c3a0b):_0x2afb37,_0x139a65=_0xa44b6a[_0x5857b6(0x39a)]-0x1,_0xc1bbb6;_0x139a65>=0x0;_0x139a65--)(_0xc1bbb6=_0xa44b6a[_0x139a65])&&(_0xdee304=_0xc1bbb6(_0xdee304)||_0xdee304);return _0xdee304;},_0x350ee4=(_0x581bf4,_0x1cbd0f)=>(_0x27692f,_0x530928)=>_0x1cbd0f(_0x27692f,_0x530928,_0x581bf4);let _0x4bcef5=class extends _0x57425f[_0x1405a7(0x1d0)]{constructor(_0x36ce8a,_0x2d1a32,_0x2a664b,_0x283895,_0x28c4f2){const _0x4a11ad=_0x1405a7;super(),_0xc11de6(this,_0x4a11ad(0x289),[]),_0xc11de6(this,_0x4a11ad(0x17b),[]),(this['_context']=_0x36ce8a,this[_0x4a11ad(0x277)]=_0x2d1a32,this[_0x4a11ad(0x26e)]=_0x2a664b,this['_commandService']=_0x283895,this['_themeService']=_0x28c4f2,this[_0x4a11ad(0x2bc)]());}[_0x1405a7(0x2bc)](){const _0xf1cadd=_0x1405a7,_0x5158f7=this[_0xf1cadd(0x365)][_0xf1cadd(0x1d1)],_0xb35862=this[_0xf1cadd(0x277)];this[_0xf1cadd(0x22c)](_0x3883f8['combineLatest']([this[_0xf1cadd(0x26e)][_0xf1cadd(0x2e9)](_0x5158f7),this[_0xf1cadd(0x1c2)][_0xf1cadd(0x2b8)]])[_0xf1cadd(0x3bd)](_0x4b14ca[_0xf1cadd(0x3bb)](([_0x2f545d,_0x4d2f50])=>({'skeleton':_0xb35862[_0xf1cadd(0x287)](),'cursors':[..._0x2f545d[_0xf1cadd(0x302)]()]['flatMap'](_0x2b2827=>({..._0x2b2827,'color':_0x4d2f50[_0x2b2827['color']]}))})))[_0xf1cadd(0x12d)](_0x2340f8=>{const _0x5d29d5=_0xf1cadd;if(this[_0x5d29d5(0x1e3)](),_0x2340f8){const {skeleton:_0x421c67,cursors:_0x440416}=_0x2340f8;this[_0x5d29d5(0x185)](_0x421c67,_0x440416);}})),this[_0xf1cadd(0x146)](),this[_0xf1cadd(0x138)]();}[_0x1405a7(0x185)](_0x553228,_0x28872f){const _0x239d73=_0x1405a7,{scene:_0x5c2b82,mainComponent:_0x4394c9}=this[_0x239d73(0x365)],_0x10c2c6=_0x28872f[_0x239d73(0x3bb)](_0x52cc00=>new _0x583714(_0x52cc00,_0x5c2b82,_0x553228,_0x4394c9));this[_0x239d73(0x289)]=_0x10c2c6,this[_0x239d73(0x17b)]=_0x28872f;}['_refreshCollabCursors'](){const _0x255f78=_0x1405a7;this[_0x255f78(0x1e3)]();const {scene:_0x426268,mainComponent:_0x5d020a}=this[_0x255f78(0x365)],_0x561ee8=this[_0x255f78(0x277)][_0x255f78(0x287)](),_0x5ee463=this[_0x255f78(0x17b)][_0x255f78(0x3bb)](_0xa00212=>new _0x583714(_0xa00212,_0x426268,_0x561ee8,_0x5d020a));this[_0x255f78(0x289)]=_0x5ee463;}[_0x1405a7(0x1e3)](){const _0x3adaf1=_0x1405a7;this[_0x3adaf1(0x289)][_0x3adaf1(0x335)](_0xc7d79f=>_0xc7d79f['dispose']()),this[_0x3adaf1(0x289)]=[];}[_0x1405a7(0x138)](){const _0x1f1bc8=_0x1405a7,_0x3e3746=[_0x29ac66['SetDocZoomRatioOperation']['id']];this[_0x1f1bc8(0x22c)](this[_0x1f1bc8(0x2e5)]['onCommandExecuted'](_0x2e39a2=>{const _0x41f20f=_0x1f1bc8;_0x3e3746[_0x41f20f(0x25c)](_0x2e39a2['id'])&&_0x2e39a2['params']['unitId']===this[_0x41f20f(0x365)][_0x41f20f(0x1d1)]&&this[_0x41f20f(0x16b)]();}));}[_0x1405a7(0x146)](){const _0x5509f6=_0x1405a7;this[_0x5509f6(0x22c)](_0x57425f['fromEventSubject'](this[_0x5509f6(0x365)][_0x5509f6(0x1a7)][_0x5509f6(0x261)])['pipe'](_0x4b14ca['filter'](_0x5a0c40=>_0x5a0c40[_0x5509f6(0x1b3)]===_0x29da64[_0x5509f6(0x1ee)][_0x5509f6(0x279)]),_0x4b14ca[_0x5509f6(0x258)](0x10))[_0x5509f6(0x12d)](()=>{const _0x5c06d1=_0x5509f6;this[_0x5c06d1(0x16b)]();}));}};_0x4bcef5=_0xcf456([_0x350ee4(0x1,_0x57425f[_0x1405a7(0x3aa)](_0x141165[_0x1405a7(0x34c)])),_0x350ee4(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x3b8e9b)),_0x350ee4(0x3,_0x57425f[_0x1405a7(0x328)]),_0x350ee4(0x4,_0x57425f[_0x1405a7(0x3aa)](_0x57425f[_0x1405a7(0x236)]))],_0x4bcef5);const _0x21e465=0x1,_0x4f245f=1.5;class _0x5fa9c6 extends _0x29da64['Shape']{constructor(_0x39b8f4,_0x5c1799){const _0x1cc066=_0x1405a7;super(_0x39b8f4,_0x5c1799),_0xc11de6(this,_0x1cc066(0x207)),_0xc11de6(this,_0x1cc066(0x36f),!0x1),_0xc11de6(this,_0x1cc066(0x270)),_0xc11de6(this,_0x1cc066(0x161),''),_0xc11de6(this,_0x1cc066(0x3c2),'top'),_0xc11de6(this,_0x1cc066(0x12e)),(_0x5c1799&&this[_0x1cc066(0x26f)](_0x5c1799),this[_0x1cc066(0x24b)][_0x1cc066(0x1e6)](()=>this[_0x1cc066(0x26f)]({'hovered':!0x0})),this[_0x1cc066(0x130)][_0x1cc066(0x1e6)](()=>this[_0x1cc066(0x26f)]({'hovered':!0x1})));}['setShapeProps'](_0x3d3425){const _0x552707=_0x1405a7;var _0x41c90e,_0x1dea89,_0x5a6b3e,_0x4fb14d,_0x4d6cbf,_0x27d9b4;this[_0x552707(0x207)]=(_0x41c90e=_0x3d3425[_0x552707(0x2d9)])!=null?_0x41c90e:this[_0x552707(0x207)],this[_0x552707(0x36f)]=(_0x1dea89=_0x3d3425[_0x552707(0x14c)])!=null?_0x1dea89:this['_hovered'],this[_0x552707(0x270)]=(_0x5a6b3e=_0x3d3425[_0x552707(0x278)])!=null?_0x5a6b3e:this[_0x552707(0x270)],this[_0x552707(0x161)]=(_0x4fb14d=_0x3d3425['name'])!=null?_0x4fb14d:this[_0x552707(0x161)],this['_labelPosition']=(_0x4d6cbf=_0x3d3425[_0x552707(0x15e)])!=null?_0x4d6cbf:this[_0x552707(0x3c2)],this[_0x552707(0x12e)]=(_0x27d9b4=_0x3d3425[_0x552707(0x314)])!=null?_0x27d9b4:this[_0x552707(0x12e)],this[_0x552707(0x37c)]({'width':_0x3d3425['width'],'height':_0x3d3425[_0x552707(0x149)]});}[_0x1405a7(0x223)](_0x596f20){const _0x2de2f6=_0x1405a7,{row:_0x8c914d,column:_0x1dd00f}=_0x596f20;if(_0x8c914d>=this[_0x2de2f6(0x270)]['startRow']&&_0x8c914d<=this[_0x2de2f6(0x270)][_0x2de2f6(0x13c)]&&_0x1dd00f>=this[_0x2de2f6(0x270)][_0x2de2f6(0x16c)]&&_0x1dd00f<=this[_0x2de2f6(0x270)][_0x2de2f6(0x23d)]){this[_0x2de2f6(0x26f)]({'hovered':!0x0});return;}this[_0x2de2f6(0x26f)]({'hovered':!0x1});}['triggerDblclick'](_0x3fd342){return!0x1;}[_0x1405a7(0x2ef)](_0x41f1b1){const _0x167498=_0x1405a7;_0x29da64['Rect']['drawWith'](_0x41f1b1,{'width':this[_0x167498(0x23a)],'height':this[_0x167498(0x149)],'strokeWidth':_0x4f245f,'stroke':this[_0x167498(0x207)],'evented':!0x1,'fill':this[_0x167498(0x12e)]}),this['_hovered']&&(_0x41f1b1['save'](),_0x41f1b1[_0x167498(0x20d)](0x1,0x0,0x0,0x1,this[_0x167498(0x23a)],this['_labelPosition']===_0x167498(0x357)?0x0:-0x14),_0x100091[_0x167498(0x162)](_0x41f1b1,{'text':this[_0x167498(0x161)],'color':this['_color']}),_0x41f1b1[_0x167498(0x148)]());}}var _0x176f79=Object[_0x1405a7(0x1ba)],_0x4eaf77=(_0x2bfcb3,_0x5cd5f4,_0x34c3b7,_0x53100a)=>{const _0x3d8f90=_0x1405a7;for(var _0x3cc357=_0x53100a>0x1?void 0x0:_0x53100a?_0x176f79(_0x5cd5f4,_0x34c3b7):_0x5cd5f4,_0x3d69a1=_0x2bfcb3[_0x3d8f90(0x39a)]-0x1,_0x545755;_0x3d69a1>=0x0;_0x3d69a1--)(_0x545755=_0x2bfcb3[_0x3d69a1])&&(_0x3cc357=_0x545755(_0x3cc357)||_0x3cc357);return _0x3cc357;},_0x1669d3=(_0x36daa5,_0x309dc2)=>(_0x4f0c45,_0x599331)=>_0x309dc2(_0x4f0c45,_0x599331,_0x36daa5);const _0x4fd776=0x1389;let _0x16a77a=class extends _0x57425f[_0x1405a7(0x1d0)]{constructor(_0x41a1cd,_0x28b16d,_0x44064c,_0x3f2873){const _0x99f61d=_0x1405a7;super(),_0xc11de6(this,_0x99f61d(0x17b),new Set()),_0xc11de6(this,_0x99f61d(0x346),null),(this[_0x99f61d(0x365)]=_0x41a1cd,this[_0x99f61d(0x379)]=_0x28b16d,this['_collabCursorController']=_0x44064c,this['_themeService']=_0x3f2873,this[_0x99f61d(0x2bc)]());}[_0x1405a7(0x2bc)](){const _0x504a8c=_0x1405a7;this[_0x504a8c(0x379)][_0x504a8c(0x221)][_0x504a8c(0x3bd)](_0x4b14ca[_0x504a8c(0x2dd)](this[_0x504a8c(0x22e)]),_0x4b14ca[_0x504a8c(0x206)](_0x220ce0=>{const _0xd4a922=_0x504a8c;if(_0x220ce0){const _0x3abf6e=_0x220ce0[_0xd4a922(0x1de)];return _0x3883f8[_0xd4a922(0x35e)](this[_0xd4a922(0x26e)][_0xd4a922(0x2e9)](this[_0xd4a922(0x365)][_0xd4a922(0x1d1)]),this[_0xd4a922(0x1c2)]['currentTheme$'])[_0xd4a922(0x3bd)](_0x4b14ca[_0xd4a922(0x3bb)](([_0x3e5c43,_0x116c3a])=>{const _0x2b518c=_0xd4a922,_0x3e3d17=new Map();return _0x3e5c43[_0x2b518c(0x335)]((_0x18f0af,_0x164ae)=>{const _0x3d7d5d=_0x2b518c;if(_0x18f0af['sheetID']===_0x3abf6e){const _0x55b71b={..._0x18f0af};_0x55b71b[_0x3d7d5d(0x2d9)]=_0x116c3a[_0x18f0af[_0x3d7d5d(0x2d9)]],_0x3e3d17['set'](_0x164ae,_0x55b71b);}}),{'skeleton':_0x220ce0,'cursors':_0x3e3d17};}));}return _0x3883f8['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x54650a,cursors:_0x494926})=>{const _0x3825e4=_0x504a8c;this[_0x3825e4(0x1e3)](),_0x54650a&&this[_0x3825e4(0x185)](_0x54650a,_0x494926);}),this[_0x504a8c(0x379)][_0x504a8c(0x221)]['subscribe'](_0x32eb0e=>{const _0x37817d=_0x504a8c;if(_0x32eb0e==null)return;const {skeleton:_0x1da956}=_0x32eb0e,{scene:_0x3fdd4c}=this[_0x37817d(0x365)];_0x3fdd4c['onPointerMove$'][_0x37817d(0x1e6)](_0x57425f[_0x37817d(0x384)](_0x4f3973=>{const _0x11d11b=_0x37817d;var _0x2c30a8,_0x4d2f5c;const {offsetX:_0x56e2c7,offsetY:_0x46b2e8}=_0x4f3973,{x:_0x165fff,y:_0x56fd7e}=_0x3fdd4c[_0x11d11b(0x307)](_0x29da64[_0x11d11b(0x226)][_0x11d11b(0x2d7)]([_0x56e2c7,_0x46b2e8])),{scaleX:_0x15500f,scaleY:_0x2d9a71}=_0x3fdd4c[_0x11d11b(0x3a9)](),_0x5829aa=_0x3fdd4c[_0x11d11b(0x251)](_0x29da64[_0x11d11b(0x398)][_0x11d11b(0x2a3)]),_0x19e4ca=_0x3fdd4c['getVpScrollXYInfoByPosToVp'](_0x29da64[_0x11d11b(0x226)][_0x11d11b(0x2d7)]([_0x165fff,_0x56fd7e]),_0x5829aa),_0x2ec326=_0x1da956[_0x11d11b(0x19b)](_0x56e2c7,_0x46b2e8,_0x15500f,_0x2d9a71,_0x19e4ca);((_0x2c30a8=this['_lastPointer'])==null?void 0x0:_0x2c30a8[_0x11d11b(0x234)])===_0x2ec326[_0x11d11b(0x234)]&&((_0x4d2f5c=this[_0x11d11b(0x346)])==null?void 0x0:_0x4d2f5c[_0x11d11b(0x3c3)])===_0x2ec326[_0x11d11b(0x3c3)]||this[_0x11d11b(0x17b)][_0x11d11b(0x335)](_0x30a651=>{_0x30a651['onMouseMove'](_0x2ec326);});},0x64));});}[_0x1405a7(0x185)](_0x2a7730,_0x19712f){const _0x31fd49=_0x1405a7;var _0x381cac;const _0x547930=(_0x381cac=this['_sheetSkeletonManagerService'][_0x31fd49(0x1a4)]())==null?void 0x0:_0x381cac[_0x31fd49(0x19a)];if(!_0x547930)return;const _0x5f2921=this['_getSheetObject']();if(!_0x5f2921)return;this[_0x31fd49(0x17b)][_0x31fd49(0x335)](_0x33b446=>{const _0x52e476=_0x31fd49;_0x33b446[_0x52e476(0x26d)]();});const {scene:_0x11fc5e}=_0x5f2921,_0x5e8bbf=_0x3ae3c8(Array[_0x31fd49(0x2ae)](_0x19712f['values']()))[_0x31fd49(0x3bb)](_0x3f64b4=>{const _0x329fd6=_0x31fd49,{color:_0x599f07,range:_0x383128,name:_0x4fa7af,selection:_0xa0b356,sheetID:_0x2e45ad}=_0x3f64b4,{startColumn:_0x578756,startRow:_0x254cab,endColumn:_0x4b466f,endRow:_0x41b28c}=_0x383128,_0x3eea72=_0x3bd0fb[_0x329fd6(0x2f4)](_0x254cab,_0x578756,_0x11fc5e,_0x547930),_0xa8d9dc=_0x3bd0fb[_0x329fd6(0x2f4)](_0x41b28c,_0x4b466f,_0x11fc5e,_0x547930),{columnHeaderHeightAndMarginTop:_0x2660f8}=_0x547930,{startX:_0x4a6aad,startY:_0x270370}=_0x3eea72,{endX:_0x5c1e39,endY:_0x34cea8}=_0xa8d9dc,_0x404165=_0x5c1e39-_0x4a6aad,_0xf50ca8=_0x34cea8-_0x270370,_0x18ebb9={'labelPosition':_0x270370-_0x2660f8>=_0x4276c8?_0x329fd6(0x252):'bottom','sheetID':_0x2e45ad,'range':_0x383128,'color':_0x599f07,'name':_0x4fa7af,'selection':_0xa0b356,'left':_0x4a6aad,'top':_0x270370,'width':_0x404165,'height':_0xf50ca8,'evented':!0x1,'zIndex':_0x4fd776};return new _0x5fa9c6(_0x4fa7af,_0x18ebb9);});_0x11fc5e[_0x31fd49(0x15a)](_0x5e8bbf,_0x21e465),this[_0x31fd49(0x17b)]=new Set(_0x5e8bbf);}[_0x1405a7(0x1e3)](){const _0x46b005=_0x1405a7;var _0x57ae33;(_0x57ae33=this[_0x46b005(0x17b)])==null||_0x57ae33[_0x46b005(0x335)](_0x5ad78f=>_0x5ad78f[_0x46b005(0x217)]());}[_0x1405a7(0x1e4)](){const _0x305893=_0x1405a7;return _0x3bd0fb[_0x305893(0x3b3)](this[_0x305893(0x365)]['unit'],this[_0x305893(0x365)]);}};_0x16a77a=_0x4eaf77([_0x1669d3(0x1,_0x57425f[_0x1405a7(0x3aa)](_0x3bd0fb[_0x1405a7(0x3a7)])),_0x1669d3(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x3b8e9b)),_0x1669d3(0x3,_0x57425f['Inject'](_0x57425f[_0x1405a7(0x236)]))],_0x16a77a);function _0x3ae3c8(_0x23c39c){const _0x5727f9=_0x1405a7,_0x3f4913=new Map();return _0x23c39c[_0x5727f9(0x335)](_0x2a5b79=>{const _0x4344c4=_0x5727f9;if(_0x3f4913['has'](_0x2a5b79[_0x4344c4(0x393)])){const _0x38efb9=_0x3f4913[_0x4344c4(0x1c3)](_0x2a5b79[_0x4344c4(0x393)]);_0x38efb9['name']+=',\x20'+_0x2a5b79[_0x4344c4(0x306)];}else _0x3f4913[_0x4344c4(0x3a1)](_0x2a5b79[_0x4344c4(0x393)],_0x2a5b79);}),Array[_0x5727f9(0x2ae)](_0x3f4913['values']());}var _0x17a228=function(){const _0xdd6a6=_0x1405a7;return _0x17a228=Object[_0xdd6a6(0x285)]||function(_0x3639a2){const _0x595b0f=_0xdd6a6;for(var _0x1eb953,_0x112a0a=0x1,_0x5534b5=arguments[_0x595b0f(0x39a)];_0x112a0a<_0x5534b5;_0x112a0a++){_0x1eb953=arguments[_0x112a0a];for(var _0x1ef78b in _0x1eb953)Object[_0x595b0f(0x2cd)][_0x595b0f(0x232)][_0x595b0f(0x267)](_0x1eb953,_0x1ef78b)&&(_0x3639a2[_0x1ef78b]=_0x1eb953[_0x1ef78b]);}return _0x3639a2;},_0x17a228[_0xdd6a6(0x24c)](this,arguments);},_0x3459c8=function(_0xea4e16,_0x8df2a4){const _0x3ef63d=_0x1405a7;var _0x48dfe6={};for(var _0x2a6c6a in _0xea4e16)Object[_0x3ef63d(0x2cd)][_0x3ef63d(0x232)][_0x3ef63d(0x267)](_0xea4e16,_0x2a6c6a)&&_0x8df2a4[_0x3ef63d(0x18c)](_0x2a6c6a)<0x0&&(_0x48dfe6[_0x2a6c6a]=_0xea4e16[_0x2a6c6a]);if(_0xea4e16!=null&&typeof Object[_0x3ef63d(0x198)]==_0x3ef63d(0x36d)){for(var _0x27461e=0x0,_0x2a6c6a=Object[_0x3ef63d(0x198)](_0xea4e16);_0x27461e<_0x2a6c6a[_0x3ef63d(0x39a)];_0x27461e++)_0x8df2a4['indexOf'](_0x2a6c6a[_0x27461e])<0x0&&Object['prototype'][_0x3ef63d(0x17a)][_0x3ef63d(0x267)](_0xea4e16,_0x2a6c6a[_0x27461e])&&(_0x48dfe6[_0x2a6c6a[_0x27461e]]=_0xea4e16[_0x2a6c6a[_0x27461e]]);}return _0x48dfe6;},_0x7a1d70=_0x5889c3[_0x1405a7(0x327)](function(_0x3e0678,_0x4f6f42){const _0x2429fa=_0x1405a7;var _0x1e0cfb=_0x3e0678[_0x2429fa(0x2f6)],_0x410aad=_0x3e0678['id'],_0x5dcb3d=_0x3e0678['className'],_0x4c9ffd=_0x3e0678[_0x2429fa(0x171)],_0x13a321=_0x3459c8(_0x3e0678,[_0x2429fa(0x2f6),'id',_0x2429fa(0x2b4),_0x2429fa(0x171)]),_0x51376c=_0x2429fa(0x2d0)[_0x2429fa(0x37d)](_0x410aad,'\x20')[_0x2429fa(0x37d)](_0x5dcb3d||'')[_0x2429fa(0x309)](),_0x55b923=_0x5889c3[_0x2429fa(0x1c5)]('_'[_0x2429fa(0x37d)](_0x161cbf()));return _0x175125(_0x1e0cfb,''[_0x2429fa(0x37d)](_0x410aad),{'defIds':_0x1e0cfb['defIds'],'idSuffix':_0x55b923[_0x2429fa(0x1ed)]},_0x17a228({'ref':_0x4f6f42,'className':_0x51376c},_0x13a321),_0x4c9ffd);});function _0x175125(_0x25bf41,_0x56ea8b,_0x1a32ea,_0x5dc13d,_0x4b5c60){const _0x460462=_0x1405a7;return _0x5889c3[_0x460462(0x38f)](_0x25bf41['tag'],_0x17a228(_0x17a228({'key':_0x56ea8b},_0x58ce61(_0x25bf41,_0x1a32ea,_0x4b5c60)),_0x5dc13d),(_0x26b039(_0x25bf41,_0x1a32ea)[_0x460462(0x1c6)]||[])['map'](function(_0x2a699b,_0x3bdae2){const _0x209f36=_0x460462;return _0x175125(_0x2a699b,''[_0x209f36(0x37d)](_0x56ea8b,'-')['concat'](_0x25bf41[_0x209f36(0x2ac)],'-')['concat'](_0x3bdae2),_0x1a32ea,void 0x0,_0x4b5c60);}));}function _0x58ce61(_0x3c9cb2,_0x23199d,_0xdee328){const _0x3c9d78=_0x1405a7;var _0x1d7d78=_0x17a228({},_0x3c9cb2['attrs']);_0xdee328!=null&&_0xdee328[_0x3c9d78(0x23f)]&&_0x1d7d78[_0x3c9d78(0x310)]===_0x3c9d78(0x23f)&&(_0x1d7d78[_0x3c9d78(0x310)]=_0xdee328[_0x3c9d78(0x23f)]),_0x3c9cb2[_0x3c9d78(0x2ac)]==='mask'&&_0x1d7d78['id']&&(_0x1d7d78['id']=_0x1d7d78['id']+_0x23199d[_0x3c9d78(0x1a3)]),Object['entries'](_0x1d7d78)[_0x3c9d78(0x335)](function(_0x406ba4){const _0x49dcc9=_0x3c9d78;var _0x320048=_0x406ba4[0x0],_0x4f481a=_0x406ba4[0x1];_0x320048===_0x49dcc9(0x399)&&typeof _0x4f481a==_0x49dcc9(0x137)&&(_0x1d7d78[_0x320048]=_0x4f481a['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x23199d['idSuffix'],')')));});var _0x51f4f1=_0x23199d[_0x3c9d78(0x196)];return!_0x51f4f1||_0x51f4f1['length']===0x0||(_0x3c9cb2[_0x3c9d78(0x2ac)]===_0x3c9d78(0x21b)&&_0x1d7d78[_0x3c9d78(0x2e3)]&&(_0x1d7d78[_0x3c9d78(0x2e3)]=_0x1d7d78[_0x3c9d78(0x2e3)]+_0x23199d['idSuffix']),Object[_0x3c9d78(0x331)](_0x1d7d78)[_0x3c9d78(0x335)](function(_0x5c3c3f){const _0x3ee766=_0x3c9d78;var _0x37faff=_0x5c3c3f[0x0],_0x3fb4e3=_0x5c3c3f[0x1];typeof _0x3fb4e3==_0x3ee766(0x137)&&(_0x1d7d78[_0x37faff]=_0x3fb4e3[_0x3ee766(0x3a6)](/url\(#(.*)\)/,_0x3ee766(0x337)['concat'](_0x23199d['idSuffix'],')')));})),_0x1d7d78;}function _0x26b039(_0x5eead3,_0x3f6bda){const _0x108e9e=_0x1405a7;var _0x14a683,_0x1ed6cb=_0x3f6bda['defIds'];return!_0x1ed6cb||_0x1ed6cb[_0x108e9e(0x39a)]===0x0?_0x5eead3:_0x5eead3['tag']===_0x108e9e(0x364)&&(!((_0x14a683=_0x5eead3[_0x108e9e(0x1c6)])===null||_0x14a683===void 0x0)&&_0x14a683[_0x108e9e(0x39a)])?_0x17a228(_0x17a228({},_0x5eead3),{'children':_0x5eead3['children'][_0x108e9e(0x3bb)](function(_0x5a4387){const _0x1ea09c=_0x108e9e;return typeof _0x5a4387['attrs']['id']==_0x1ea09c(0x137)&&_0x1ed6cb&&_0x1ed6cb[_0x1ea09c(0x18c)](_0x5a4387[_0x1ea09c(0x254)]['id'])>-0x1?_0x17a228(_0x17a228({},_0x5a4387),{'attrs':_0x17a228(_0x17a228({},_0x5a4387[_0x1ea09c(0x254)]),{'id':_0x5a4387['attrs']['id']+_0x3f6bda[_0x1ea09c(0x1a3)]})}):_0x5a4387;})}):_0x5eead3;}function _0x161cbf(){const _0x2a2ffa=_0x1405a7;return Math[_0x2a2ffa(0x22a)]()[_0x2a2ffa(0x147)](0x24)[_0x2a2ffa(0x3a2)](0x2,0x8);}_0x7a1d70[_0x1405a7(0x2df)]=_0x1405a7(0x200);var _0x2d584b={'tag':_0x1405a7(0x36b),'attrs':{'fill':_0x1405a7(0x394),'viewBox':_0x1405a7(0x250),'width':_0x1405a7(0x39b),'height':_0x1405a7(0x39b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x1405a7(0x17e),'d':_0x1405a7(0x188),'strokeLinecap':'round','strokeLinejoin':_0x1405a7(0x1f5),'strokeWidth':1.2}}]},{'tag':_0x1405a7(0x364),'attrs':{},'children':[{'tag':_0x1405a7(0x2aa),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x1405a7(0x15b),'attrs':{'fill':_0x1405a7(0x26c),'d':_0x1405a7(0x32a)}}]}]}],'defIds':[_0x1405a7(0x1f0)]},_0x201d27=_0x5889c3[_0x1405a7(0x327)](function(_0x19a59f,_0x3fb363){const _0x29ddb2=_0x1405a7;return _0x5889c3[_0x29ddb2(0x38f)](_0x7a1d70,Object[_0x29ddb2(0x285)]({},_0x19a59f,{'id':_0x29ddb2(0x1db),'ref':_0x3fb363,'icon':_0x2d584b}));});_0x201d27['displayName']=_0x1405a7(0x1b0);var _0x5b0b90={'tag':_0x1405a7(0x36b),'attrs':{'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x1405a7(0x39b),'height':_0x1405a7(0x39b)},'children':[{'tag':'g','attrs':{'clipPath':_0x1405a7(0x269)},'children':[{'tag':_0x1405a7(0x15b),'attrs':{'stroke':'currentColor','d':_0x1405a7(0x1b9),'strokeLinecap':_0x1405a7(0x1f5),'strokeLinejoin':_0x1405a7(0x1f5),'strokeWidth':1.2}}]},{'tag':_0x1405a7(0x364),'attrs':{},'children':[{'tag':_0x1405a7(0x2aa),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x1405a7(0x15b),'attrs':{'fill':_0x1405a7(0x26c),'d':'M0\x200H16V16H0z','transform':_0x1405a7(0x3b5)}}]}]}],'defIds':[_0x1405a7(0x276)]},_0x258b64=_0x5889c3[_0x1405a7(0x327)](function(_0x1cf4ab,_0x4cebfa){const _0x378086=_0x1405a7;return _0x5889c3[_0x378086(0x38f)](_0x7a1d70,Object['assign']({},_0x1cf4ab,{'id':'on-line-single','ref':_0x4cebfa,'icon':_0x5b0b90}));});_0x258b64[_0x1405a7(0x2df)]='OnLineSingle';function _0xb887e6(_0x1e0ae2){const _0x38193a=_0x1405a7;switch(_0x1e0ae2){case _0x2b9205[_0x38193a(0x336)][_0x38193a(0x3ab)]:return _0x38193a(0x39e);case _0x2b9205[_0x38193a(0x336)]['CONFLICT']:return _0x38193a(0x268);case _0x2b9205[_0x38193a(0x336)][_0x38193a(0x2be)]:return _0x38193a(0x233);case _0x2b9205[_0x38193a(0x336)]['NOT_COLLAB']:return _0x38193a(0x26b);case _0x2b9205[_0x38193a(0x336)]['AWAITING']:case _0x2b9205[_0x38193a(0x336)][_0x38193a(0x358)]:return'collabStatus.syncing';case _0x2b9205['CollaborationStatus'][_0x38193a(0x1be)]:case _0x2b9205[_0x38193a(0x336)][_0x38193a(0x354)]:return _0x38193a(0x2af);}}function _0x554786(_0x3ec524){const _0x1a7c2a=_0x1405a7,{status$:_0x4336c8}=_0x3ec524,_0x2020d3=_0x9ae5c8[_0x1a7c2a(0x271)](_0x4336c8,_0x2b9205[_0x1a7c2a(0x336)][_0x1a7c2a(0x378)]),_0xcd5915=_0x9ae5c8[_0x1a7c2a(0x2c5)](_0x57425f[_0x1a7c2a(0x1a0)]),_0xfbdffd=_0x9ae5c8[_0x1a7c2a(0x2c5)](_0x2b9205[_0x1a7c2a(0x27a)]),_0x19997f=_0x2020d3!==_0x2b9205[_0x1a7c2a(0x336)][_0x1a7c2a(0x3ab)],_0x39a79a=_0xcd5915['t'](_0xb887e6(_0x2020d3)),_0x47f67e=_0x19997f?_0x46722a['jsx'](_0x258b64,{}):_0x46722a[_0x1a7c2a(0x326)](_0x201d27,{}),_0x23eeed=_0x5889c3['useCallback'](()=>{const _0x1d647c=_0x1a7c2a;_0x19997f||_0xfbdffd[_0x1d647c(0x304)]();},[_0x19997f,_0xfbdffd]);function _0x56286e(){const _0x2c68b8=_0x1a7c2a;return _0x46722a[_0x2c68b8(0x172)](_0x2c68b8(0x3c8),{'className':'univer-flex\x20univer-items-center','onClick':_0x23eeed,'children':[_0x46722a[_0x2c68b8(0x326)](_0x2c68b8(0x3c8),{'className':_0x1fb7c0[_0x2c68b8(0x330)](_0x2c68b8(0x208),_0x19997f?_0x2c68b8(0x18f):_0x2c68b8(0x157)),'children':_0x47f67e}),_0x46722a['jsx'](_0x2c68b8(0x3c8),{'className':_0x2c68b8(0x2e1),'children':_0x39a79a})]});}return _0x19997f?_0x56286e():_0x46722a[_0x1a7c2a(0x326)](_0x1fb7c0['Tooltip'],{'title':_0xcd5915['t'](_0x1a7c2a(0x1b8)),'children':_0x56286e()});}var _0x2ad142=Object[_0x1405a7(0x1ba)],_0x5c385f=(_0x399bba,_0x36a03e,_0x418274,_0x2e6f6)=>{const _0x4b8100=_0x1405a7;for(var _0x232ce2=_0x2e6f6>0x1?void 0x0:_0x2e6f6?_0x2ad142(_0x36a03e,_0x418274):_0x36a03e,_0x3b52a0=_0x399bba[_0x4b8100(0x39a)]-0x1,_0x4cda6c;_0x3b52a0>=0x0;_0x3b52a0--)(_0x4cda6c=_0x399bba[_0x3b52a0])&&(_0x232ce2=_0x4cda6c(_0x232ce2)||_0x232ce2);return _0x232ce2;},_0x4db492=(_0x55a306,_0x5e8970)=>(_0x3e7710,_0x2d13b1)=>_0x5e8970(_0x3e7710,_0x2d13b1,_0x55a306);_0x116d7d['DesktopCollaborationStatusDisplayController']=class extends _0x57425f[_0x1405a7(0x1fd)]{constructor(_0x35bd0b,_0x291dcd,_0x49c971,_0x50e703){const _0x56c17e=_0x1405a7;super(),_0xc11de6(this,_0x56c17e(0x145),new _0x3883f8['BehaviorSubject'](_0x2b9205[_0x56c17e(0x336)]['NOT_COLLAB'])),(this[_0x56c17e(0x396)]=_0x35bd0b,this[_0x56c17e(0x35b)]=_0x291dcd,this[_0x56c17e(0x13f)]=_0x49c971,this[_0x56c17e(0x179)]=_0x50e703,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x1405a7(0x1b6)](){const _0x314554=_0x1405a7;this[_0x314554(0x22c)](this[_0x314554(0x396)][_0x314554(0x128)]['pipe'](_0x3883f8[_0x314554(0x206)](()=>{const _0x4177f0=_0x314554,_0x250581=this[_0x4177f0(0x396)][_0x4177f0(0x127)]();return _0x250581?this[_0x4177f0(0x13f)][_0x4177f0(0x334)](_0x250581['getUnitId']()):_0x3883f8['of'](null);}),_0x3883f8[_0x314554(0x206)](_0x40a41a=>_0x40a41a?_0x40a41a[_0x314554(0x383)]:_0x3883f8['of'](_0x2b9205[_0x314554(0x336)][_0x314554(0x378)])))['subscribe'](_0x113c19=>{const _0x85d7bc=_0x314554;this['_status$'][_0x85d7bc(0x33f)](_0x113c19);}));}['_initStatusComponent'](){const _0x21d342=_0x1405a7;this[_0x21d342(0x22c)](this[_0x21d342(0x179)]['registerComponent'](_0x9ae5c8['BuiltInUIPart']['HEADER_MENU'],()=>_0x9ae5c8[_0x21d342(0x3bc)](_0x14a880({'status$':this[_0x21d342(0x145)][_0x21d342(0x193)]()}),this['_injector'])));}},_0x116d7d[_0x1405a7(0x3b8)]=_0x5c385f([_0x4db492(0x0,_0x57425f[_0x1405a7(0x3c7)]),_0x4db492(0x1,_0x57425f['Inject'](_0x57425f[_0x1405a7(0x1dd)])),_0x4db492(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x2b9205[_0x1405a7(0x2b2)])),_0x4db492(0x3,_0x9ae5c8[_0x1405a7(0x3c5)])],_0x116d7d[_0x1405a7(0x3b8)]);function _0x14a880(_0x26224b){const {status$:_0xf44669}=_0x26224b;return function(){const _0x2f1b83=_0x3a65;return _0x46722a[_0x2f1b83(0x326)](_0x554786,{'status$':_0xf44669});};}var _0x47afb5=Object[_0x1405a7(0x1ba)],_0x1f92ed=(_0x1418c5,_0x16d03d,_0x882574,_0x5e23d5)=>{const _0x5f3343=_0x1405a7;for(var _0x511f3c=_0x5e23d5>0x1?void 0x0:_0x5e23d5?_0x47afb5(_0x16d03d,_0x882574):_0x16d03d,_0x31327b=_0x1418c5[_0x5f3343(0x39a)]-0x1,_0x3d931c;_0x31327b>=0x0;_0x31327b--)(_0x3d931c=_0x1418c5[_0x31327b])&&(_0x511f3c=_0x3d931c(_0x511f3c)||_0x511f3c);return _0x511f3c;},_0x415d6a=(_0x55d9c8,_0x56143f)=>(_0xccfa59,_0x329368)=>_0x56143f(_0xccfa59,_0x329368,_0x55d9c8);let _0x3d88ff=class extends _0x57425f[_0x1405a7(0x1fd)]{constructor(_0x419e54,_0x39d347,_0x151386,_0x3a2085,_0x473d47,_0x42a469){const _0x2629c3=_0x1405a7;super(),this['_beforeCloseService']=_0x419e54,this[_0x2629c3(0x2d2)]=_0x39d347,this[_0x2629c3(0x211)]=_0x151386,this['_messageService']=_0x3a2085,this[_0x2629c3(0x3bf)]=_0x473d47,this[_0x2629c3(0x30b)]=_0x42a469,this[_0x2629c3(0x38a)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x4add11=_0x1405a7;this[_0x4add11(0x22c)](this[_0x4add11(0x18d)][_0x4add11(0x2ce)](()=>{const _0x20e21a=_0x4add11;if(this['_localCacheService'][_0x20e21a(0x23c)][_0x20e21a(0x375)])return this[_0x20e21a(0x30b)]['t'](_0x20e21a(0x2a5));}));}[_0x1405a7(0x2de)](){const _0x3ad4f7=_0x1405a7;this[_0x3ad4f7(0x22c)](this['_collaborationUIEventService'][_0x3ad4f7(0x21f)]['subscribe'](_0x17e8c1=>{const _0x2d9080=_0x3ad4f7;_0x17e8c1['id']===_0x2b9205[_0x2d9080(0x2ba)][_0x2d9080(0x2b9)]&&this[_0x2d9080(0x2fc)][_0x2d9080(0x23b)]({'type':_0x1fb7c0[_0x2d9080(0x154)][_0x2d9080(0x133)],'content':this[_0x2d9080(0x30b)]['t']('collaboration.single-unit.warning')}),_0x17e8c1['id']===_0x2b9205[_0x2d9080(0x2ba)]['CLOSE_ROOM']&&this[_0x2d9080(0x2fc)][_0x2d9080(0x23b)]({'type':_0x1fb7c0[_0x2d9080(0x154)]['Warning'],'content':this[_0x2d9080(0x30b)]['t'](_0x2d9080(0x305))}),_0x17e8c1['id']===_0x2b9205['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService'][_0x2d9080(0x23b)]({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t'](_0x2d9080(0x182)),'type':'error','duration':0x0}),_0x17e8c1['id']===_0x2b9205[_0x2d9080(0x2ba)][_0x2d9080(0x155)]&&this['_messageService'][_0x2d9080(0x23b)]({'type':_0x1fb7c0[_0x2d9080(0x154)][_0x2d9080(0x262)],'content':this[_0x2d9080(0x30b)]['t']('collaboration.closeRoom')+'('+_0x17e8c1[_0x2d9080(0x239)]+')'}),_0x17e8c1['id']===_0x2b9205[_0x2d9080(0x2ba)][_0x2d9080(0x36e)]&&this[_0x2d9080(0x2fc)][_0x2d9080(0x23b)]({'type':_0x1fb7c0[_0x2d9080(0x154)][_0x2d9080(0x133)],'content':this[_0x2d9080(0x30b)]['t'](_0x17e8c1['data']||'')}),_0x17e8c1['id']===_0x2b9205[_0x2d9080(0x2ba)][_0x2d9080(0x176)]&&this[_0x2d9080(0x2fc)][_0x2d9080(0x23b)]({'type':_0x1fb7c0['MessageType']['Warning'],'content':this['_localeService']['t'](_0x2d9080(0x1dc))}),_0x17e8c1['id']===_0x2b9205[_0x2d9080(0x2ba)][_0x2d9080(0x281)]&&this[_0x2d9080(0x2fc)][_0x2d9080(0x23b)]({'type':_0x1fb7c0['MessageType'][_0x2d9080(0x262)],'content':this[_0x2d9080(0x30b)]['t'](_0x2d9080(0x2e7))}),_0x17e8c1['id']===_0x2b9205[_0x2d9080(0x2ba)][_0x2d9080(0x286)]&&this[_0x2d9080(0x2fc)]['show']({'type':_0x1fb7c0[_0x2d9080(0x154)][_0x2d9080(0x262)],'content':this[_0x2d9080(0x30b)]['t'](_0x2d9080(0x3a0))});}));}};_0x3d88ff=_0x1f92ed([_0x415d6a(0x0,_0x9ae5c8[_0x1405a7(0x35f)]),_0x415d6a(0x1,_0x2b9205['ILocalCacheService']),_0x415d6a(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x2b9205[_0x1405a7(0x341)])),_0x415d6a(0x3,_0x9ae5c8[_0x1405a7(0x20b)]),_0x415d6a(0x4,_0x9ae5c8[_0x1405a7(0x2b5)]),_0x415d6a(0x5,_0x57425f['Inject'](_0x57425f['LocaleService']))],_0x3d88ff);const _0x22e680=_0x1405a7(0x3af),_0x5db327={},_0x1234c7=_0x57425f['createIdentifier'](_0x1405a7(0x2db));var _0x4e1108=Object[_0x1405a7(0x1ba)],_0x527ee2=(_0x14c86c,_0x55eaf4,_0x3755ff,_0x3e465b)=>{for(var _0x1377d2=_0x3e465b>0x1?void 0x0:_0x3e465b?_0x4e1108(_0x55eaf4,_0x3755ff):_0x55eaf4,_0xe17b7a=_0x14c86c['length']-0x1,_0xb86bf4;_0xe17b7a>=0x0;_0xe17b7a--)(_0xb86bf4=_0x14c86c[_0xe17b7a])&&(_0x1377d2=_0xb86bf4(_0x1377d2)||_0x1377d2);return _0x1377d2;},_0x40f633=(_0x2555f7,_0x36e2c0)=>(_0x41369f,_0x210783)=>_0x36e2c0(_0x41369f,_0x210783,_0x2555f7);_0x116d7d[_0x1405a7(0x1cb)]=class extends _0x57425f['RxDisposable']{constructor(_0x3091e4,_0x1c2bfd,_0xf7f4e2,_0x1d40c2,_0x29177a){const _0x26fd4f=_0x1405a7;super(),this[_0x26fd4f(0x30a)]=_0x3091e4,this['_logService']=_0x1c2bfd,this[_0x26fd4f(0x2e5)]=_0xf7f4e2,this[_0x26fd4f(0x34d)]=_0x1d40c2,_0x29177a?_0x29177a==null||_0x29177a[_0x26fd4f(0x2b7)]()['then'](()=>this[_0x26fd4f(0x2bc)]()):(this[_0x26fd4f(0x32c)][_0x26fd4f(0x1ab)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x5e119a=_0x1405a7,_0xdcdbe0=this['_urlService'][_0x5e119a(0x22d)](_0x5e119a(0x274)),_0x54a262=this[_0x5e119a(0x30a)]['getParam']('type'),_0x6ff30b=this[_0x5e119a(0x30a)][_0x5e119a(0x22d)](_0x5e119a(0x214));if(!_0xdcdbe0||!_0x54a262){this[_0x5e119a(0x32c)][_0x5e119a(0x1ab)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x347c85=await this[_0x5e119a(0x34d)][_0x5e119a(0x165)](_0xdcdbe0,Number(_0x54a262),_0x6ff30b);_0x347c85&&_0x347c85 instanceof _0x57425f['Workbook']&&this[_0x5e119a(0x2d3)](_0x347c85);}async[_0x1405a7(0x2d3)](_0x2243e7){const _0x176da0=_0x1405a7;await this['_updateSubUnitFromURLParams'](_0x2243e7),_0x2243e7[_0x176da0(0x1e0)][_0x176da0(0x3bd)](_0x3883f8[_0x176da0(0x2dd)](this[_0x176da0(0x22e)]))[_0x176da0(0x12d)](_0x11db90=>{const _0x172f29=_0x176da0;_0x11db90&&this[_0x172f29(0x313)](_0x11db90);}),this['_urlService'][_0x176da0(0x2ab)][_0x176da0(0x3bd)](_0x3883f8[_0x176da0(0x2dd)](this[_0x176da0(0x22e)]))['subscribe'](()=>this[_0x176da0(0x3b1)](_0x2243e7));}[_0x1405a7(0x313)](_0x21348f,_0x1491a0=!0x1){const _0x4e66ca=_0x1405a7,_0x196052=this[_0x4e66ca(0x30a)][_0x4e66ca(0x22d)](_0x4e66ca(0x214));_0x21348f['getSheetId']()!==_0x196052&&this[_0x4e66ca(0x30a)]['setParam'](_0x4e66ca(0x214),_0x21348f[_0x4e66ca(0x385)](),_0x1491a0);}async[_0x1405a7(0x3b1)](_0x3bda96){const _0xb475c6=_0x1405a7;var _0x3a76fc;const _0x5a5197=this[_0xb475c6(0x30a)]['getParam'](_0xb475c6(0x214));if(!_0x5a5197||!_0x3bda96[_0xb475c6(0x340)](_0x5a5197)){const _0x3133e9=_0x3bda96[_0xb475c6(0x1e9)]()[0x0],_0x2695c4=_0x3bda96['getSheetBySheetId'](_0x3133e9);if(!_0x2695c4)return;this[_0xb475c6(0x313)](_0x2695c4,!0x0),await this[_0xb475c6(0x2e5)][_0xb475c6(0x20c)](_0x4ddade['SetWorksheetActivateCommand']['id'],{'unitId':_0x3bda96[_0xb475c6(0x219)](),'subUnitId':_0x3133e9});return;}((_0x3a76fc=_0x3bda96[_0xb475c6(0x333)]())==null?void 0x0:_0x3a76fc[_0xb475c6(0x385)]())!==_0x5a5197&&await this[_0xb475c6(0x2e5)][_0xb475c6(0x20c)](_0x4ddade['SetWorksheetActivateCommand']['id'],{'unitId':_0x3bda96['getUnitId'](),'subUnitId':_0x5a5197});}},_0x116d7d[_0x1405a7(0x1cb)]=_0x527ee2([_0x40f633(0x0,_0x1234c7),_0x40f633(0x1,_0x57425f[_0x1405a7(0x36c)]),_0x40f633(0x2,_0x57425f[_0x1405a7(0x328)]),_0x40f633(0x3,_0x57425f['Inject'](_0x2b9205[_0x1405a7(0x360)])),_0x40f633(0x4,_0x57425f[_0x1405a7(0x256)](_0x42d988[_0x1405a7(0x14b)]))],_0x116d7d[_0x1405a7(0x1cb)]);var _0x3bb4f8=Object[_0x1405a7(0x1ba)],_0x3da787=(_0x5caccb,_0x1fbf48,_0x39ea74,_0x4c67bf)=>{for(var _0x2a6c5d=_0x4c67bf>0x1?void 0x0:_0x4c67bf?_0x3bb4f8(_0x1fbf48,_0x39ea74):_0x1fbf48,_0x4cdddd=_0x5caccb['length']-0x1,_0x30cf56;_0x4cdddd>=0x0;_0x4cdddd--)(_0x30cf56=_0x5caccb[_0x4cdddd])&&(_0x2a6c5d=_0x30cf56(_0x2a6c5d)||_0x2a6c5d);return _0x2a6c5d;},_0x3b3485=(_0x4245e2,_0x6130e0)=>(_0x1374e5,_0x4a0c6f)=>_0x6130e0(_0x1374e5,_0x4a0c6f,_0x4245e2);let _0x44314b=class{constructor(_0x171ace,_0x3afe83,_0x50279a){const _0x4827de=_0x1405a7;this[_0x4827de(0x35b)]=_0x171ace,this[_0x4827de(0x3b4)]=_0x3afe83,this['_renderManagerService']=_0x50279a;}['transformIMECache'](_0x5aaec2){this['_transformUndoRedoStack'](_0x5aaec2),this['_transformPreviousActiveRange'](_0x5aaec2);}[_0x1405a7(0x374)](_0x1ffc83){const _0x1c4065=_0x1405a7,{unitID:_0x5c3a9d}=_0x1ffc83,_0x2d3eb1=this['_renderManagerService']['getRenderById'](_0x5c3a9d)[_0x1c4065(0x29d)](_0x29ac66[_0x1c4065(0x2b0)]),{redoCache:_0x958298}=_0x2d3eb1['getUndoRedoMutationParamsCache']();if(_0x958298[_0x1c4065(0x39a)]===0x0)return _0x1ffc83;let _0x221147=_0x57425f[_0x1c4065(0x17f)][_0x1c4065(0x18e)](_0x1ffc83[_0x1c4065(0x1c9)][0x0]);for(let _0x38800a=0x0;_0x38800a<_0x958298[_0x1c4065(0x39a)];_0x38800a++){const _0x2496e7={'id':'doc.mutation.rich-text-editing','params':{..._0x958298[_0x38800a]}},_0x55f1f1=this['_transformService'][_0x1c4065(0x372)](_0x221147,_0x2496e7,!0x1);if(_0x3529a2[_0x1c4065(0x3b6)](_0x55f1f1))throw _0x55f1f1[_0x1c4065(0x257)];_0x221147=_0x55f1f1['m1Prime'];}return{..._0x57425f[_0x1c4065(0x17f)][_0x1c4065(0x18e)](_0x1ffc83),'mutations':[_0x221147]};}['_transformUndoRedoStack'](_0x40d7c9){const _0x58fb81=_0x1405a7,{unitID:_0x4a0ffd}=_0x40d7c9,_0x26886e=this[_0x58fb81(0x38c)][_0x58fb81(0x3b0)](_0x4a0ffd)['with'](_0x29ac66[_0x58fb81(0x2b0)]),{undoCache:_0x529dec,redoCache:_0x2c927d}=_0x26886e[_0x58fb81(0x2a8)]();if(_0x529dec[_0x58fb81(0x39a)]===0x0||_0x2c927d['length']===0x0)return;const _0x57243d=[],_0x5c008c=[];let _0x4c48a4=_0x57425f['Tools']['deepClone'](_0x40d7c9['mutations'][0x0]),_0x9dfdb3=_0x57425f[_0x58fb81(0x17f)][_0x58fb81(0x18e)](_0x40d7c9['mutations'][0x0]);for(let _0x9d7a93=_0x529dec[_0x58fb81(0x39a)]-0x1;_0x9d7a93>=0x0;_0x9d7a93--){const _0x365f5e={'id':_0x58fb81(0x197),'params':{..._0x529dec[_0x9d7a93]}},_0x30c98b={'id':_0x58fb81(0x197),'params':{..._0x2c927d[_0x9d7a93]}},_0x5f2b6a=this[_0x58fb81(0x3b4)][_0x58fb81(0x372)](_0x4c48a4,_0x365f5e,!0x1),_0x31994b=this[_0x58fb81(0x3b4)][_0x58fb81(0x372)](_0x9dfdb3,_0x30c98b,!0x1);if(_0x3529a2[_0x58fb81(0x3b6)](_0x5f2b6a))throw _0x5f2b6a['error'];if(_0x3529a2['isTransformMutationFailure'](_0x31994b))throw _0x31994b[_0x58fb81(0x257)];_0x57243d[_0x58fb81(0x386)](_0x5f2b6a[_0x58fb81(0x319)]['params']),_0x5c008c[_0x58fb81(0x386)](_0x31994b[_0x58fb81(0x319)][_0x58fb81(0x177)]),_0x4c48a4=_0x5f2b6a['m1Prime'],_0x9dfdb3=_0x31994b['m1Prime'];}_0x26886e[_0x58fb81(0x1b2)]({'undoCache':_0x57243d,'redoCache':_0x5c008c});}['_transformPreviousActiveRange'](_0x328bf0){const _0x139d81=_0x1405a7,{unitID:_0x142d21}=_0x328bf0,_0x5a93f9=this[_0x139d81(0x38c)]['getRenderById'](_0x142d21)['with'](_0x29ac66[_0x139d81(0x2b0)]),_0x363976=_0x5a93f9[_0x139d81(0x159)]();if(_0x363976==null)return;const _0x59f5d2=[{'id':_0x139d81(0x197),'params':{'unitId':_0x328bf0[_0x139d81(0x150)],'actions':null,'textRanges':[_0x363976]}}],_0x307f8c=this[_0x139d81(0x3b4)][_0x139d81(0x3c1)](_0x328bf0,_0x59f5d2);if(!_0x3529a2['isTransformMutationsWithChangesetSuccess'](_0x307f8c))throw _0x307f8c['error'];const _0x2b1dfb=_0x307f8c[_0x139d81(0x319)][0x0][_0x139d81(0x177)][_0x139d81(0x34b)];Array[_0x139d81(0x24d)](_0x2b1dfb)&&_0x2b1dfb['length']&&_0x5a93f9[_0x139d81(0x2fb)](_0x2b1dfb[0x0]);}};_0x44314b=_0x3da787([_0x3b3485(0x0,_0x57425f[_0x1405a7(0x3aa)](_0x57425f[_0x1405a7(0x1dd)])),_0x3b3485(0x1,_0x3529a2[_0x1405a7(0x215)]),_0x3b3485(0x2,_0x29da64[_0x1405a7(0x1a2)])],_0x44314b);var _0x14d592=Object[_0x1405a7(0x1ba)],_0x2be6f9=(_0x4764b2,_0x4bbcc3,_0x4d6938,_0x549f40)=>{const _0x45de25=_0x1405a7;for(var _0x5169a4=_0x549f40>0x1?void 0x0:_0x549f40?_0x14d592(_0x4bbcc3,_0x4d6938):_0x4bbcc3,_0x4ab0df=_0x4764b2[_0x45de25(0x39a)]-0x1,_0x35b665;_0x4ab0df>=0x0;_0x4ab0df--)(_0x35b665=_0x4764b2[_0x4ab0df])&&(_0x5169a4=_0x35b665(_0x5169a4)||_0x5169a4);return _0x5169a4;},_0x242b3a=(_0x4c85af,_0x428ce3)=>(_0x1f9a4e,_0x4b1376)=>_0x428ce3(_0x1f9a4e,_0x4b1376,_0x4c85af);let _0x355a81=class{constructor(_0x537c7d,_0x2ac97a,_0xc2dfb){const _0xbedaf4=_0x1405a7;this[_0xbedaf4(0x35b)]=_0x537c7d,this[_0xbedaf4(0x3b4)]=_0x2ac97a,this[_0xbedaf4(0x21e)]=_0xc2dfb;}[_0x1405a7(0x2d6)](_0x59a285){const _0x251e79=_0x1405a7;this[_0x251e79(0x2c6)](_0x59a285);}[_0x1405a7(0x374)](_0x3cb6ab){const _0x24d15d=_0x1405a7,{unitID:_0x4f98bf}=_0x3cb6ab,{collaboration:_0x2a817c}=this[_0x24d15d(0x21e)][_0x24d15d(0x36a)](_0x4f98bf);if(_0x2a817c[_0x24d15d(0x39a)]===0x0)return _0x3cb6ab;let _0x3c7a87=_0x57425f[_0x24d15d(0x17f)][_0x24d15d(0x18e)](_0x3cb6ab[_0x24d15d(0x1c9)][0x0]);for(let _0x669161=0x0;_0x669161<_0x2a817c['length'];_0x669161++){const _0x38a062={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2a817c[_0x669161][_0x24d15d(0x1d1)],..._0x2a817c[_0x669161]['redoState']}},_0x1d995c=this[_0x24d15d(0x3b4)][_0x24d15d(0x372)](_0x3c7a87,_0x38a062,!0x1);if(_0x3529a2['isTransformMutationFailure'](_0x1d995c))throw _0x1d995c['error'];_0x3c7a87=_0x1d995c[_0x24d15d(0x368)];}return{..._0x57425f[_0x24d15d(0x17f)][_0x24d15d(0x18e)](_0x3cb6ab),'mutations':[_0x3c7a87]};}['_transformHistoryAndStateStack'](_0xca3a8b){const _0x261ed4=_0x1405a7,{unitID:_0x49e68b}=_0xca3a8b,{history:_0x19740e,collaboration:_0x35a1d9}=this['_docStateChangeManagerService'][_0x261ed4(0x36a)](_0x49e68b);if(_0x19740e[_0x261ed4(0x39a)]===0x0&&_0x35a1d9[_0x261ed4(0x39a)]===0x0)return;const _0x19ae41=[],_0x2c8e0c=[];let _0x2eabcb=_0x57425f[_0x261ed4(0x17f)][_0x261ed4(0x18e)](_0xca3a8b['mutations'][0x0]),_0x5275dd=_0x57425f['Tools'][_0x261ed4(0x18e)](_0xca3a8b[_0x261ed4(0x1c9)][0x0]);for(let _0x591155=_0x19740e[_0x261ed4(0x39a)]-0x1;_0x591155>=0x0;_0x591155--){const _0x10273a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x19740e[_0x591155][_0x261ed4(0x1d1)],..._0x19740e[_0x591155][_0x261ed4(0x244)]}},_0x576ad9={'id':_0x261ed4(0x197),'params':{'unitId':_0x19740e[_0x591155][_0x261ed4(0x1d1)],..._0x19740e[_0x591155][_0x261ed4(0x2c1)]}},_0xe5f0fb=this[_0x261ed4(0x3b4)][_0x261ed4(0x372)](_0x2eabcb,_0x10273a,!0x1),_0x3ccb3f=this['_transformService'][_0x261ed4(0x372)](_0x5275dd,_0x576ad9,!0x1);if(_0x3529a2['isTransformMutationFailure'](_0xe5f0fb))throw _0xe5f0fb[_0x261ed4(0x257)];if(_0x3529a2[_0x261ed4(0x3b6)](_0x3ccb3f))throw _0x3ccb3f[_0x261ed4(0x257)];_0x19ae41[_0x261ed4(0x386)]({..._0x19740e[_0x591155],'undoState':_0xe5f0fb[_0x261ed4(0x319)]['params'],'redoState':_0x3ccb3f[_0x261ed4(0x319)][_0x261ed4(0x177)]}),_0x2eabcb=_0xe5f0fb['m1Prime'],_0x5275dd=_0x3ccb3f['m1Prime'];}_0x2eabcb=_0x57425f['Tools'][_0x261ed4(0x18e)](_0xca3a8b[_0x261ed4(0x1c9)][0x0]),_0x5275dd=_0x57425f[_0x261ed4(0x17f)][_0x261ed4(0x18e)](_0xca3a8b[_0x261ed4(0x1c9)][0x0]);for(let _0x1ef03f=_0x35a1d9['length']-0x1;_0x1ef03f>=0x0;_0x1ef03f--){const _0x3ed5a7={'id':_0x261ed4(0x197),'params':{'unitId':_0x35a1d9[_0x1ef03f]['unitId'],..._0x35a1d9[_0x1ef03f][_0x261ed4(0x244)]}},_0x44a25e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x35a1d9[_0x1ef03f][_0x261ed4(0x1d1)],..._0x35a1d9[_0x1ef03f][_0x261ed4(0x2c1)]}},_0x19d360=this[_0x261ed4(0x3b4)]['transformMutation'](_0x2eabcb,_0x3ed5a7,!0x1),_0x1a5cb5=this['_transformService']['transformMutation'](_0x5275dd,_0x44a25e,!0x1);if(_0x3529a2[_0x261ed4(0x3b6)](_0x19d360))throw _0x19d360[_0x261ed4(0x257)];if(_0x3529a2[_0x261ed4(0x3b6)](_0x1a5cb5))throw _0x1a5cb5['error'];_0x2c8e0c[_0x261ed4(0x386)]({..._0x35a1d9[_0x1ef03f],'undoState':_0x19d360[_0x261ed4(0x319)][_0x261ed4(0x177)],'redoState':_0x1a5cb5[_0x261ed4(0x319)]['params']}),_0x2eabcb=_0x19d360[_0x261ed4(0x368)],_0x5275dd=_0x1a5cb5[_0x261ed4(0x368)];}this[_0x261ed4(0x21e)][_0x261ed4(0x344)](_0x49e68b,{'history':_0x19ae41,'collaboration':_0x2c8e0c});}};_0x355a81=_0x2be6f9([_0x242b3a(0x0,_0x57425f['Inject'](_0x57425f[_0x1405a7(0x1dd)])),_0x242b3a(0x1,_0x3529a2[_0x1405a7(0x215)]),_0x242b3a(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x29ac66[_0x1405a7(0x3ac)]))],_0x355a81);var _0x5360c7=Object[_0x1405a7(0x1ba)],_0x39d175=(_0x4c192b,_0xa0a108,_0x37a055,_0x8801de)=>{const _0x2a3571=_0x1405a7;for(var _0xaa4fdd=_0x8801de>0x1?void 0x0:_0x8801de?_0x5360c7(_0xa0a108,_0x37a055):_0xa0a108,_0x5061a9=_0x4c192b[_0x2a3571(0x39a)]-0x1,_0x431120;_0x5061a9>=0x0;_0x5061a9--)(_0x431120=_0x4c192b[_0x5061a9])&&(_0xaa4fdd=_0x431120(_0xaa4fdd)||_0xaa4fdd);return _0xaa4fdd;},_0x257ba2=(_0x6884b6,_0x23f248)=>(_0x3b93af,_0x251ee6)=>_0x23f248(_0x3b93af,_0x251ee6,_0x6884b6);let _0x96573a=class{constructor(_0x4b98fc,_0x2bf76f){const _0x53cacb=_0x1405a7;this[_0x53cacb(0x35b)]=_0x4b98fc,this[_0x53cacb(0x3b4)]=_0x2bf76f;}[_0x1405a7(0x28f)](_0x49c018){const _0x256c8d=_0x1405a7;var _0x2d0ea1;const _0x100a79=this[_0x256c8d(0x35b)][_0x256c8d(0x1c3)](_0x141165['DocSelectionManagerService']),_0x3e0ad8=(_0x2d0ea1=_0x100a79[_0x256c8d(0x17c)]())!=null?_0x2d0ea1:[];if(_0x3e0ad8['length']===0x0)return;const _0x2e1872=_0x49c018[_0x256c8d(0x150)],_0x1e2ecd=[{'id':_0x256c8d(0x197),'params':{'unitId':_0x2e1872,'actions':null,'textRanges':_0x3e0ad8}}],_0x34543e=this[_0x256c8d(0x3b4)]['transformMutationsWithChangeset'](_0x49c018,_0x1e2ecd);if(!_0x3529a2[_0x256c8d(0x132)](_0x34543e))throw _0x34543e['error'];const _0x2f1eb1=_0x34543e[_0x256c8d(0x319)][0x0][_0x256c8d(0x177)][_0x256c8d(0x34b)];Array[_0x256c8d(0x24d)](_0x2f1eb1)&&_0x2f1eb1[_0x256c8d(0x39a)]&&_0x100a79[_0x256c8d(0x342)](_0x2f1eb1,{'unitId':_0x2e1872,'subUnitId':_0x2e1872},!0x1);}};_0x96573a=_0x39d175([_0x257ba2(0x0,_0x57425f['Inject'](_0x57425f[_0x1405a7(0x1dd)])),_0x257ba2(0x1,_0x3529a2[_0x1405a7(0x215)])],_0x96573a);var _0x52e652=Object['getOwnPropertyDescriptor'],_0x20264e=(_0x35f89c,_0x133d8e,_0x6ed7e4,_0x2770cc)=>{const _0x558bbb=_0x1405a7;for(var _0xc7c48=_0x2770cc>0x1?void 0x0:_0x2770cc?_0x52e652(_0x133d8e,_0x6ed7e4):_0x133d8e,_0x141993=_0x35f89c[_0x558bbb(0x39a)]-0x1,_0x25bb0d;_0x141993>=0x0;_0x141993--)(_0x25bb0d=_0x35f89c[_0x141993])&&(_0xc7c48=_0x25bb0d(_0xc7c48)||_0xc7c48);return _0xc7c48;},_0x4f47b4=(_0x456755,_0x43a693)=>(_0x4861cc,_0x3a523c)=>_0x43a693(_0x4861cc,_0x3a523c,_0x456755);let _0x55e398=class extends _0x57425f[_0x1405a7(0x1fd)]{constructor(_0x2d96e5,_0x1d7d54,_0x17ef76,_0x513b62,_0x7128c1,_0x446ad9,_0x346553,_0x26db70){const _0x568ab9=_0x1405a7;super(),_0xc11de6(this,_0x568ab9(0x145),new _0x3883f8['BehaviorSubject'](_0x2b9205[_0x568ab9(0x336)][_0x568ab9(0x378)])),(this[_0x568ab9(0x21e)]=_0x2d96e5,this[_0x568ab9(0x13f)]=_0x1d7d54,this[_0x568ab9(0x38d)]=_0x17ef76,this[_0x568ab9(0x25e)]=_0x513b62,this[_0x568ab9(0x1cf)]=_0x7128c1,this[_0x568ab9(0x199)]=_0x446ad9,this[_0x568ab9(0x2fc)]=_0x346553,this[_0x568ab9(0x30b)]=_0x26db70,this[_0x568ab9(0x190)]());}[_0x1405a7(0x190)](){const _0x19537e=_0x1405a7;this[_0x19537e(0x22c)](this[_0x19537e(0x13f)][_0x19537e(0x366)][_0x19537e(0x12d)](_0x234803=>{const _0x532f01=_0x19537e,_0x315546=this[_0x532f01(0x21e)][_0x532f01(0x1d7)][_0x532f01(0x12d)](_0x4c747f=>{const _0x4eebb5=_0x532f01;if(_0x4c747f==null)return;const {unitId:_0x25d153,redoState:_0x221399,commandId:_0x1df152}=_0x4c747f;if(_0x25d153!==_0x234803[_0x4eebb5(0x150)])return;const _0x127245={'id':_0x1df152,'type':_0x57425f['CommandType'][_0x4eebb5(0x142)],'params':{'unitId':_0x25d153,'actions':_0x221399['actions'],'textRanges':null}};_0x234803[_0x4eebb5(0x168)](_0x127245);});if(_0x234803[_0x532f01(0x22c)](_0x315546),_0x234803 instanceof _0x2b9205[_0x532f01(0x13b)]){const _0x5cd85b={'onTransformIME':_0x56af3f=>this[_0x532f01(0x38d)][_0x532f01(0x180)](_0x56af3f),'onTransformState':_0x137600=>this['_docTransformStateCacheService']['transformStateCache'](_0x137600),'onTransformSelections':_0x83b9ae=>this['_docTransformSelectionsService'][_0x532f01(0x28f)](_0x83b9ae),'onSyncEditingCollabCursor':_0x3ad028=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x3ad028),'onTransformRemoteChangesetByIMECache':_0x917a73=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x917a73),'onTransformRemoteChangesetByStateCache':_0x58ce59=>this[_0x532f01(0x25e)][_0x532f01(0x374)](_0x58ce59)};_0x234803['addHandlerCallback'](_0x5cd85b);}}));}};_0x55e398=_0x20264e([_0x4f47b4(0x0,_0x57425f['Inject'](_0x29ac66['DocStateChangeManagerService'])),_0x4f47b4(0x1,_0x57425f['Inject'](_0x2b9205[_0x1405a7(0x2b2)])),_0x4f47b4(0x2,_0x57425f[_0x1405a7(0x3aa)](_0x44314b)),_0x4f47b4(0x3,_0x57425f[_0x1405a7(0x3aa)](_0x355a81)),_0x4f47b4(0x4,_0x57425f[_0x1405a7(0x3aa)](_0x96573a)),_0x4f47b4(0x5,_0x57425f[_0x1405a7(0x3aa)](_0x3353d2)),_0x4f47b4(0x6,_0x9ae5c8[_0x1405a7(0x20b)]),_0x4f47b4(0x7,_0x57425f['Inject'](_0x57425f[_0x1405a7(0x1a0)]))],_0x55e398);var _0x41ee7d=Object[_0x1405a7(0x1ba)],_0x142702=(_0x464144,_0x9a055e,_0x1369c8,_0x54e47f)=>{const _0x4aa872=_0x1405a7;for(var _0x188a79=_0x54e47f>0x1?void 0x0:_0x54e47f?_0x41ee7d(_0x9a055e,_0x1369c8):_0x9a055e,_0x5c994b=_0x464144[_0x4aa872(0x39a)]-0x1,_0x151bd5;_0x5c994b>=0x0;_0x5c994b--)(_0x151bd5=_0x464144[_0x5c994b])&&(_0x188a79=_0x151bd5(_0x188a79)||_0x188a79);return _0x188a79;},_0xc6f6e1=(_0x5ac949,_0x82539e)=>(_0x3f9682,_0x1a3761)=>_0x82539e(_0x3f9682,_0x1a3761,_0x5ac949);let _0x2ffbf3=class extends _0x57425f[_0x1405a7(0x1fd)]{constructor(_0x246d9b,_0x410746,_0x2f58cd){const _0x1c7e81=_0x1405a7;super(),_0xc11de6(this,_0x1c7e81(0x160),new Map()),_0xc11de6(this,_0x1c7e81(0x139),new Map()),_0xc11de6(this,'_disabled',!0x1),(this[_0x1c7e81(0x1cc)]=_0x246d9b,this[_0x1c7e81(0x361)]=_0x410746,this[_0x1c7e81(0x178)]=_0x2f58cd);}[_0x1405a7(0x25f)](){const _0x3adb70=_0x1405a7;this[_0x3adb70(0x1cd)]=!0x0;}[_0x1405a7(0x2e6)](){this['_disabled']=!0x1;}get[_0x1405a7(0x23c)](){const _0x2123be=_0x1405a7;return this[_0x2123be(0x139)];}[_0x1405a7(0x217)](){const _0x58a409=_0x1405a7;this[_0x58a409(0x2a9)]()[_0x58a409(0x1ca)](()=>super['dispose']());}async[_0x1405a7(0x3cb)](_0x38d146){const _0x4855ab=_0x1405a7;return this[_0x4855ab(0x1cd)]?null:this[_0x4855ab(0x361)][_0x4855ab(0x312)](_0x2b9205['getLocalCacheKey'](_0x38d146));}async[_0x1405a7(0x20e)](_0x380065,_0x343793){const _0x360a19=_0x1405a7;return!!this[_0x360a19(0x361)][_0x360a19(0x12c)](_0x380065,_0x343793);}[_0x1405a7(0x174)](_0x117b84,_0x5c2e7d,_0x31df71,_0x2de5c6){const _0x4001d2=_0x1405a7,_0x21fffe=this['_revisionService'][_0x4001d2(0x126)](_0x117b84);this[_0x4001d2(0x160)][_0x4001d2(0x3a1)](_0x117b84,{'unitID':_0x117b84,'type':_0x5c2e7d,'awaitingChangeset':_0x31df71,'mutations':_0x2de5c6,'rev':_0x21fffe}),this[_0x4001d2(0x139)][_0x4001d2(0x1a9)](_0x117b84)||this[_0x4001d2(0x291)](_0x117b84);}[_0x1405a7(0x291)](_0x30099a){const _0x5f3467=_0x1405a7,_0x2a2a89=this[_0x5f3467(0x31d)]();_0x2a2a89===0x0?this[_0x5f3467(0x1f2)](_0x30099a):this[_0x5f3467(0x139)][_0x5f3467(0x3a1)](_0x30099a,setTimeout(()=>this['_saveCache'](_0x30099a),_0x2a2a89));}['_getSaveTimeout'](){const _0x22b9a0=_0x1405a7;var _0x24a0bc;return(_0x24a0bc=this[_0x22b9a0(0x1cc)]['getConfig'](_0x2b9205[_0x22b9a0(0x2d1)]))!=null?_0x24a0bc:_0x2b9205[_0x22b9a0(0x2c3)];}['_saveCache'](_0x4f0bef){const _0x578fec=_0x1405a7,_0x37cae8=this[_0x578fec(0x139)]['get'](_0x4f0bef);return _0x37cae8!==void 0x0&&window[_0x578fec(0x2bd)](_0x37cae8),this[_0x578fec(0x361)]['setItem'](_0x2b9205[_0x578fec(0x265)](_0x4f0bef),this[_0x578fec(0x160)][_0x578fec(0x1c3)](_0x4f0bef))[_0x578fec(0x1ca)](()=>this[_0x578fec(0x139)][_0x578fec(0x235)](_0x4f0bef));}async['exhaustSavingTask'](){const _0x52853e=_0x1405a7,_0x3bc0d0=[];this[_0x52853e(0x139)][_0x52853e(0x335)]((_0x8bc437,_0x5271c2)=>{const _0x50155f=_0x52853e;window['clearTimeout'](_0x8bc437),_0x3bc0d0[_0x50155f(0x173)](this['_saveCache'](_0x5271c2)[_0x50155f(0x1ca)](()=>{const _0x4db5bb=_0x50155f;this[_0x4db5bb(0x139)]['delete'](_0x5271c2);}));}),await Promise[_0x52853e(0x13a)](_0x3bc0d0);}};_0x2ffbf3=_0x142702([_0xc6f6e1(0x0,_0x57425f[_0x1405a7(0x1fc)]),_0xc6f6e1(0x1,_0x57425f['ILocalStorageService']),_0xc6f6e1(0x2,_0x57425f['Inject'](_0x3529a2['RevisionService']))],_0x2ffbf3);class _0x5abb13 extends _0x57425f[_0x1405a7(0x1d0)]{constructor(){const _0x1c58d5=_0x1405a7;super(),_0xc11de6(this,_0x1c58d5(0x2ab)),this[_0x1c58d5(0x2ab)]=_0x3883f8[_0x1c58d5(0x298)](window,_0x1c58d5(0x1f6))['pipe'](_0x3883f8[_0x1c58d5(0x2dd)](this[_0x1c58d5(0x22e)]),_0x3883f8[_0x1c58d5(0x1e8)](0x1),_0x3883f8[_0x1c58d5(0x25d)](void 0x0));}[_0x1405a7(0x224)](_0x2380d1,_0x40d4db,_0x1888b2=!0x1){const _0x2229ff=_0x1405a7,_0x48c551=new URL(window[_0x2229ff(0x324)][_0x2229ff(0x141)]);_0x48c551[_0x2229ff(0x1c0)][_0x2229ff(0x3a1)](_0x2380d1,_0x40d4db),_0x1888b2?window['history']['replaceState']('','',_0x48c551[_0x2229ff(0x147)]()):window[_0x2229ff(0x329)][_0x2229ff(0x28d)]('','',_0x48c551[_0x2229ff(0x147)]());}[_0x1405a7(0x1ff)](_0xc39bcc,_0x429494=!0x1){const _0x1a2ca2=_0x1405a7,_0x3d3587=new URL(window[_0x1a2ca2(0x324)][_0x1a2ca2(0x141)]);_0x3d3587['searchParams'][_0x1a2ca2(0x235)](_0xc39bcc),_0x429494?window['history'][_0x1a2ca2(0x2f7)]('','',_0x3d3587[_0x1a2ca2(0x147)]()):window[_0x1a2ca2(0x329)][_0x1a2ca2(0x28d)]('','',_0x3d3587[_0x1a2ca2(0x147)]());}[_0x1405a7(0x22d)](_0x215673){const _0x3361d4=_0x1405a7;var _0x50da7a;return(_0x50da7a=new URL(window[_0x3361d4(0x324)]['href'])['searchParams'][_0x3361d4(0x1c3)](_0x215673))!=null?_0x50da7a:void 0x0;}}var _0x334341=Object[_0x1405a7(0x2e2)],_0x2b16be=Object['getOwnPropertyDescriptor'],_0xc10b8e=(_0x1f9425,_0x175b84,_0x21a827)=>_0x175b84 in _0x1f9425?_0x334341(_0x1f9425,_0x175b84,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21a827}):_0x1f9425[_0x175b84]=_0x21a827,_0x22b793=(_0x42dbdb,_0x30d7f5,_0x283f22,_0x5a3295)=>{const _0x4ec240=_0x1405a7;for(var _0x4bc3df=_0x5a3295>0x1?void 0x0:_0x5a3295?_0x2b16be(_0x30d7f5,_0x283f22):_0x30d7f5,_0x3ce109=_0x42dbdb[_0x4ec240(0x39a)]-0x1,_0x44650a;_0x3ce109>=0x0;_0x3ce109--)(_0x44650a=_0x42dbdb[_0x3ce109])&&(_0x4bc3df=_0x44650a(_0x4bc3df)||_0x4bc3df);return _0x4bc3df;},_0x4b20d8=(_0x41e73f,_0xe2ec21)=>(_0x1b6db4,_0x5dc5e9)=>_0xe2ec21(_0x1b6db4,_0x5dc5e9,_0x41e73f),_0x37f46f=(_0x27867b,_0x52a333,_0x87ddd6)=>_0xc10b8e(_0x27867b,_0x52a333+'',_0x87ddd6);const _0x568737=_0x1405a7(0x2fa);_0x116d7d['UniverCollaborationClientUIPlugin']=class extends _0x57425f['Plugin']{constructor(_0x3fc4a9=_0x5db327,_0x1d253e,_0x133703,_0x24a985){const _0x28d8c4=_0x1405a7;super(),this[_0x28d8c4(0x151)]=_0x3fc4a9,this[_0x28d8c4(0x38c)]=_0x1d253e,this[_0x28d8c4(0x35b)]=_0x133703,this[_0x28d8c4(0x1cc)]=_0x24a985;const {..._0x4f92e6}=_0x57425f[_0x28d8c4(0x248)]({},_0x5db327,this[_0x28d8c4(0x151)]);this[_0x28d8c4(0x1cc)]['setConfig'](_0x22e680,_0x4f92e6);}[_0x1405a7(0x3ca)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x1405a7(0x1d9)](){this['_registerRenderDependencies']();}[_0x1405a7(0x264)](){const _0x42f7de=_0x1405a7;var _0x1d1fac;const _0x441b9e=[[_0x1a366c],[_0x96573a],[_0x44314b],[_0x355a81],[_0x3353d2],[_0x1234c7,{'useClass':_0x5abb13}],[_0x117380[_0x42f7de(0x29f)],{'useClass':_0x117380['WebSocketService']}],[_0x2b9205[_0x42f7de(0x19f)],{'useClass':_0x2ffbf3}],[_0x116d7d[_0x42f7de(0x3b8)]],[_0x55e398],[_0x3d88ff],[_0x3b8e9b],[_0xc1baa1],[_0x116d7d[_0x42f7de(0x1cb)]]];_0x57425f[_0x42f7de(0x183)](this['_injector'],_0x57425f[_0x42f7de(0x349)](_0x441b9e,(_0x1d1fac=this[_0x42f7de(0x151)])==null?void 0x0:_0x1d1fac[_0x42f7de(0x1d6)]));}[_0x1405a7(0x376)](){const _0x298b6c=_0x1405a7;this[_0x298b6c(0x22c)](this['_renderManagerService']['registerRenderModule'](_0x57425f['UniverInstanceType'][_0x298b6c(0x37f)],[_0x4bcef5])),this['disposeWithMe'](this[_0x298b6c(0x38c)]['registerRenderModule'](_0x57425f[_0x298b6c(0x311)][_0x298b6c(0x18a)],[_0x16a77a]));}[_0x1405a7(0x318)](){const _0x45f0e3=_0x1405a7;_0x57425f[_0x45f0e3(0x227)](this[_0x45f0e3(0x35b)],[[_0x3b8e9b],[_0x116d7d['DesktopCollaborationStatusDisplayController']],[_0x55e398],[_0x3d88ff],[_0x116d7d[_0x45f0e3(0x1cb)]]]);}},_0x37f46f(_0x116d7d[_0x1405a7(0x124)],'pluginName',_0x568737),_0x116d7d[_0x1405a7(0x124)]=_0x22b793([_0x57425f['DependentOn'](_0x2b9205[_0x1405a7(0x371)]),_0x4b20d8(0x1,_0x29da64[_0x1405a7(0x1a2)]),_0x4b20d8(0x2,_0x57425f['Inject'](_0x57425f[_0x1405a7(0x1dd)])),_0x4b20d8(0x3,_0x57425f['IConfigService'])],_0x116d7d[_0x1405a7(0x124)]);var _0x5d387d=Object['getOwnPropertyDescriptor'],_0x4c54c2=(_0x41fd2b,_0x2b0ca6,_0x54fd0b,_0x508064)=>{const _0x385e2b=_0x1405a7;for(var _0x599f8c=_0x508064>0x1?void 0x0:_0x508064?_0x5d387d(_0x2b0ca6,_0x54fd0b):_0x2b0ca6,_0x4cf4e4=_0x41fd2b[_0x385e2b(0x39a)]-0x1,_0x4f0e39;_0x4cf4e4>=0x0;_0x4cf4e4--)(_0x4f0e39=_0x41fd2b[_0x4cf4e4])&&(_0x599f8c=_0x4f0e39(_0x599f8c)||_0x599f8c);return _0x599f8c;},_0xde9b6f=(_0x99a3d5,_0x2ef37e)=>(_0x88cddc,_0x47f44c)=>_0x2ef37e(_0x88cddc,_0x47f44c,_0x99a3d5);_0x116d7d[_0x1405a7(0x37a)]=class extends _0x2b9205[_0x1405a7(0x292)]{constructor(_0x2cba76,_0x35c3fd,_0x24a93d,_0x401934,_0x42e0fd){super(_0x2cba76,_0x35c3fd,_0x24a93d,_0x401934,_0x42e0fd);}async[_0x1405a7(0x242)](_0x227af2){const _0x4fcad4=_0x1405a7,_0x3b9c12=await this[_0x4fcad4(0x243)](),_0x343287=this[_0x4fcad4(0x1fe)](_0x227af2,_0x3b9c12);return this[_0x4fcad4(0x299)](_0x343287);}['_createSocketURL'](_0x59e8ac,_0x57b967){const _0x1bcb33=_0x1405a7,_0x270706=typeof window>'u'?new URL(_0x59e8ac):new URL(_0x59e8ac,window['location'][_0x1bcb33(0x2c4)]);_0x270706[_0x1bcb33(0x1c0)][_0x1bcb33(0x3a1)](_0x1bcb33(0x392),_0x57b967);const _0x315b19=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x1bcb33(0x13d)]);return _0x315b19[_0x1bcb33(0x1c3)]('runId')&&_0x270706[_0x1bcb33(0x1c0)][_0x1bcb33(0x3a1)](_0x1bcb33(0x241),_0x315b19[_0x1bcb33(0x1c3)](_0x1bcb33(0x241))),_0x270706[_0x1bcb33(0x147)]();}async[_0x1405a7(0x243)](){const _0xa0b31=_0x1405a7;var _0x19927a,_0x4b867b,_0x338f0c;const _0x45724d=this[_0xa0b31(0x1cc)][_0xa0b31(0x3be)](_0x2b9205[_0xa0b31(0x25b)]),_0xa01a80=(_0x19927a=_0x45724d==null?void 0x0:_0x45724d[_0xa0b31(0x2f1)])!=null?_0x19927a:_0x2b9205[_0xa0b31(0x14f)];return(_0x338f0c=(_0x4b867b=(await this[_0xa0b31(0x2f3)]['get'](_0xa01a80,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x4b867b['ticket'])!=null?_0x338f0c:'';}},_0x116d7d[_0x1405a7(0x37a)]=_0x4c54c2([_0xde9b6f(0x0,_0x57425f[_0x1405a7(0x3aa)](_0x57425f['Injector'])),_0xde9b6f(0x1,_0x57425f[_0x1405a7(0x3aa)](_0x117380[_0x1405a7(0x370)])),_0xde9b6f(0x2,_0x57425f[_0x1405a7(0x1fc)]),_0xde9b6f(0x3,_0x57425f[_0x1405a7(0x36c)]),_0xde9b6f(0x4,_0x3529a2[_0x1405a7(0x12f)])],_0x116d7d[_0x1405a7(0x37a)]);const _0x12483a=0x7530,_0x184406=_0x1405a7(0x1e1);class _0x29882d extends _0x57425f[_0x1405a7(0x1fd)]{constructor(){const _0x44c220=_0x1405a7;super(),_0xc11de6(this,'_id',_0x57425f['generateRandomId']()),_0xc11de6(this,_0x44c220(0x1f8),new Set()),_0xc11de6(this,'_unitOnClients',new Map()),_0xc11de6(this,_0x44c220(0x1aa),null),_0xc11de6(this,'_clearOtherTimers',new Map()),_0xc11de6(this,_0x44c220(0x32f),new Map()),this[_0x44c220(0x2bc)]();}['dispose'](){const _0x4e612c=_0x1405a7;super[_0x4e612c(0x217)](),this[_0x4e612c(0x356)][_0x4e612c(0x335)]((_0x5f4d82,_0x5e29a9)=>this[_0x4e612c(0x38e)](_0x5e29a9)),this[_0x4e612c(0x1aa)]&&window['clearInterval'](this['_heartbeatTimer']);}['getUnitStatus$'](_0x5944a3){const _0x481e3f=_0x1405a7;return this['_ensureSubject'](_0x5944a3)[_0x481e3f(0x3bd)](_0x3883f8[_0x481e3f(0x203)]());}[_0x1405a7(0x1d3)](_0x59bbf6){const _0x40b33a=_0x1405a7;this['_selfUnitIDs'][_0x40b33a(0x375)]===0x0&&this['_scheduleHeartbeat'](),this[_0x40b33a(0x1f8)][_0x40b33a(0x33c)](_0x59bbf6),this[_0x40b33a(0x308)]({'type':0x0,'memberID':this[_0x40b33a(0x1fb)],'unitIDs':[_0x59bbf6],'isForwarded':!0x1});}[_0x1405a7(0x389)](_0x394e6d){const _0x1b84ca=_0x1405a7;this[_0x1b84ca(0x1f8)][_0x1b84ca(0x235)](_0x394e6d),this[_0x1b84ca(0x1f8)][_0x1b84ca(0x375)]===0x0&&this[_0x1b84ca(0x1aa)]&&window[_0x1b84ca(0x1f1)](this[_0x1b84ca(0x1aa)]);}[_0x1405a7(0x2bc)](){const _0x2e5051=_0x1405a7;this[_0x2e5051(0x22c)](_0x57425f[_0x2e5051(0x332)](_0x3883f8[_0x2e5051(0x298)](window,_0x2e5051(0x2ed))[_0x2e5051(0x12d)](_0x3cd8b5=>{const _0x38e409=_0x2e5051;if(_0x3cd8b5[_0x38e409(0x246)]!==_0x184406||!_0x3cd8b5[_0x38e409(0x3a3)])return;const _0x1e9768=JSON[_0x38e409(0x28c)](_0x3cd8b5[_0x38e409(0x3a3)]);this[_0x38e409(0x27c)](_0x1e9768);}))),window[_0x2e5051(0x3c9)](_0x2e5051(0x17d),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x2e5051(0x1f8)])}));}[_0x1405a7(0x27c)](_0x323d9a){const _0x288cf6=_0x1405a7;switch(_0x323d9a['type']){case 0x0:this['_handleJoinEvent'](_0x323d9a);break;case 0x1:this[_0x288cf6(0x273)](_0x323d9a);break;case 0x2:this[_0x288cf6(0x253)](_0x323d9a);break;}}[_0x1405a7(0x323)](_0x72e04d){const _0x4f02bb=_0x1405a7,{unitIDs:_0x1f143d,memberID:_0x49e39e,isForwarded:_0x4d3ced}=_0x72e04d;_0x1f143d['forEach'](_0x503c55=>{const _0x236174=_0x3a65;if(!_0x4d3ced&&this['_unitOnClients'][_0x236174(0x1a9)](_0x503c55)&&this[_0x236174(0x181)](_0x503c55)[_0x236174(0x33f)](_0x2b9205[_0x236174(0x1bc)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x503c55)||!this[_0x236174(0x1e5)][_0x236174(0x1c3)](_0x503c55)[_0x236174(0x1a9)](_0x49e39e)){const _0x460d97=this[_0x236174(0x1e5)][_0x236174(0x1c3)](_0x503c55)||new Set();_0x460d97[_0x236174(0x33c)](_0x49e39e),this['_unitOnClients'][_0x236174(0x3a1)](_0x503c55,_0x460d97),this[_0x236174(0x12b)](_0x49e39e);}}),_0x4d3ced||this[_0x4f02bb(0x308)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4f02bb(0x1f8)]],'isForwarded':!0x0});}[_0x1405a7(0x12b)](_0x17482a){const _0x3d029e=_0x1405a7;this[_0x3d029e(0x38e)](_0x17482a);const _0x1fb10e=window[_0x3d029e(0x2dc)](()=>{const _0x46547e=_0x3d029e;this[_0x46547e(0x1e5)][_0x46547e(0x335)](_0x2b0f84=>{const _0x13b6cd=_0x46547e;_0x2b0f84[_0x13b6cd(0x235)](_0x17482a);});},_0x12483a*0x2);this['_clearOtherTimers']['set'](_0x17482a,_0x1fb10e);}[_0x1405a7(0x38e)](_0x1176c2){const _0x38b729=_0x1405a7;if(this[_0x38b729(0x356)][_0x38b729(0x1a9)](_0x1176c2)){const _0x129332=this[_0x38b729(0x356)][_0x38b729(0x1c3)](_0x1176c2);_0x129332&&window['clearTimeout'](_0x129332),this[_0x38b729(0x356)][_0x38b729(0x3a1)](_0x1176c2,null);}}[_0x1405a7(0x273)](_0x36ac36){const _0x223f3a=_0x1405a7,{memberID:_0x211fbc,unitIDs:_0x4034fc}=_0x36ac36;_0x4034fc[_0x223f3a(0x335)](_0x8a9a3a=>{const _0x540326=_0x223f3a;var _0x58bab4;const _0x2ca047=this[_0x540326(0x1e5)][_0x540326(0x1c3)](_0x8a9a3a);_0x2ca047&&(_0x2ca047[_0x540326(0x235)](_0x211fbc),(_0x58bab4=this[_0x540326(0x181)](_0x8a9a3a))==null||_0x58bab4[_0x540326(0x33f)](_0x2ca047[_0x540326(0x375)]===0x0?_0x2b9205[_0x540326(0x1bc)]['NO_OTHER_CLIENTS_EDITING']:_0x2b9205[_0x540326(0x1bc)][_0x540326(0x30f)]));}),this[_0x223f3a(0x38e)](_0x211fbc);}[_0x1405a7(0x253)](_0x26ff41){const _0x14e4d8=_0x1405a7;this[_0x14e4d8(0x12b)](_0x26ff41['memberID']);}['_send'](_0x512abf){const _0x1a54eb=_0x1405a7;localStorage[_0x1a54eb(0x12c)](_0x184406,JSON['stringify'](_0x512abf));}[_0x1405a7(0x2d8)](){const _0x1bbaad=_0x1405a7;this[_0x1bbaad(0x1aa)]=window[_0x1bbaad(0x32b)](()=>{const _0x341ec7=_0x1bbaad;this[_0x341ec7(0x308)]({'type':0x2,'memberID':this[_0x341ec7(0x1fb)]});},_0x12483a);}[_0x1405a7(0x181)](_0x2297fb){const _0x14bb2c=_0x1405a7;return this['_unitStatus']['has'](_0x2297fb)||this[_0x14bb2c(0x32f)]['set'](_0x2297fb,new _0x3883f8[(_0x14bb2c(0x37b))](_0x2b9205[_0x14bb2c(0x1bc)][_0x14bb2c(0x220)])),this[_0x14bb2c(0x32f)][_0x14bb2c(0x1c3)](_0x2297fb);}}var _0x4e459f=(_0xfaf089=>(_0xfaf089[_0xfaf089['UNDEFINED']=0x0]='UNDEFINED',_0xfaf089[_0xfaf089['OK']=0x1]='OK',_0xfaf089[_0xfaf089[_0x1405a7(0x3b7)]=0x2]=_0x1405a7(0x3b7),_0xfaf089[_0xfaf089['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0xfaf089[_0xfaf089[_0x1405a7(0x16a)]=0x4]=_0x1405a7(0x16a),_0xfaf089[_0xfaf089[_0x1405a7(0x33b)]=0x5]=_0x1405a7(0x33b),_0xfaf089[_0xfaf089['ALREADY_EXISTS']=0x6]=_0x1405a7(0x247),_0xfaf089[_0xfaf089['INVALID_ARGUMENT']=0x7]=_0x1405a7(0x39f),_0xfaf089[_0xfaf089[_0x1405a7(0x296)]=0x8]=_0x1405a7(0x296),_0xfaf089[_0xfaf089['COMPLETION_FINISHED']=0x9]=_0x1405a7(0x35a),_0xfaf089[_0xfaf089['LOGIN_FAILED']=0xa]=_0x1405a7(0x31e),_0xfaf089[_0xfaf089[_0x1405a7(0x192)]=0x1389]=_0x1405a7(0x192),_0xfaf089[_0xfaf089[_0x1405a7(0x22b)]=0x1771]=_0x1405a7(0x22b),_0xfaf089[_0xfaf089[_0x1405a7(0x2ca)]=0x1772]=_0x1405a7(0x2ca),_0xfaf089[_0xfaf089[_0x1405a7(0x238)]=0x1773]=_0x1405a7(0x238),_0xfaf089[_0xfaf089[_0x1405a7(0x275)]=0x1b59]=_0x1405a7(0x275),_0xfaf089[_0xfaf089[_0x1405a7(0x295)]=0x1b5a]=_0x1405a7(0x295),_0xfaf089[_0xfaf089[_0x1405a7(0x213)]=0x1b5b]=_0x1405a7(0x213),_0xfaf089[_0xfaf089[_0x1405a7(0x34e)]=0x1b5c]=_0x1405a7(0x34e),_0xfaf089[_0xfaf089['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0xfaf089[_0xfaf089[_0x1405a7(0x387)]=0x1f41]=_0x1405a7(0x387),_0xfaf089[_0xfaf089[_0x1405a7(0x2ee)]=0x2329]=_0x1405a7(0x2ee),_0xfaf089[_0xfaf089[_0x1405a7(0x170)]=0x232a]=_0x1405a7(0x170),_0xfaf089[_0xfaf089[_0x1405a7(0x212)]=0x232b]=_0x1405a7(0x212),_0xfaf089[_0xfaf089[_0x1405a7(0x12a)]=0x232c]=_0x1405a7(0x12a),_0xfaf089[_0xfaf089['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xfaf089[_0xfaf089[_0x1405a7(0x2f0)]=0x2711]=_0x1405a7(0x2f0),_0xfaf089[_0xfaf089[_0x1405a7(0x1e7)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xfaf089[_0xfaf089[_0x1405a7(0x125)]=0x2713]=_0x1405a7(0x125),_0xfaf089[_0xfaf089[_0x1405a7(0x201)]=0x2714]=_0x1405a7(0x201),_0xfaf089[_0xfaf089[_0x1405a7(0x322)]=0x271a]=_0x1405a7(0x322),_0xfaf089[_0xfaf089['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x1405a7(0x1c1),_0xfaf089[_0xfaf089[_0x1405a7(0x21c)]=0x2af9]=_0x1405a7(0x21c),_0xfaf089[_0xfaf089[_0x1405a7(0x39c)]=0x2ee1]=_0x1405a7(0x39c),_0xfaf089[_0xfaf089[_0x1405a7(0x24e)]=0x2ee2]=_0x1405a7(0x24e),_0xfaf089[_0xfaf089[_0x1405a7(0x16d)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xfaf089[_0xfaf089[_0x1405a7(0x1d5)]=0x2ee4]=_0x1405a7(0x1d5),_0xfaf089[_0xfaf089[_0x1405a7(0x1ea)]=0x2ee5]=_0x1405a7(0x1ea),_0xfaf089[_0xfaf089[_0x1405a7(0x15f)]=0x32c9]=_0x1405a7(0x15f),_0xfaf089[_0xfaf089['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xfaf089[_0xfaf089[_0x1405a7(0x362)]=0x32cb]=_0x1405a7(0x362),_0xfaf089[_0xfaf089[_0x1405a7(0x16f)]=-0x1]='UNRECOGNIZED',_0xfaf089))(_0x4e459f||{}),_0x5500a8=Object[_0x1405a7(0x1ba)],_0xc52bbb=(_0x2fbb80,_0x5b2a0c,_0x2f371d,_0x18990c)=>{const _0x8dd984=_0x1405a7;for(var _0x206dd1=_0x18990c>0x1?void 0x0:_0x18990c?_0x5500a8(_0x5b2a0c,_0x2f371d):_0x5b2a0c,_0x3c2bfb=_0x2fbb80[_0x8dd984(0x39a)]-0x1,_0x15ce0d;_0x3c2bfb>=0x0;_0x3c2bfb--)(_0x15ce0d=_0x2fbb80[_0x3c2bfb])&&(_0x206dd1=_0x15ce0d(_0x206dd1)||_0x206dd1);return _0x206dd1;},_0xf226fe=(_0x1b77cb,_0x748e76)=>(_0x55645d,_0x19e337)=>_0x748e76(_0x55645d,_0x19e337,_0x1b77cb);_0x116d7d['RemoteUniscriptService']=class extends _0x57425f[_0x1405a7(0x1fd)]{constructor(_0x3468ae,_0x5226f3,_0x558bf2){const _0x3d39d6=_0x1405a7;super(),this[_0x3d39d6(0x136)]=_0x3468ae,this[_0x3d39d6(0x2f3)]=_0x5226f3,this[_0x3d39d6(0x1cc)]=_0x558bf2;}async[_0x1405a7(0x266)](_0x2386e3,_0x989599,_0x4a040b,..._0x1ce510){const _0x52ec13=_0x1405a7;var _0x2c6808,_0x81d3db,_0x2a13b8,_0x270660;const _0x52bda5=this[_0x52ec13(0x136)][_0x52ec13(0x127)]();if(!_0x52bda5)throw new Error(_0x52ec13(0x186));const _0x597790=((_0x2c6808=this[_0x52ec13(0x1cc)][_0x52ec13(0x3be)](_0x2b9205['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x2c6808:_0x2b9205[_0x52ec13(0x397)])+'/'+_0x2386e3+_0x52ec13(0x1bb)+_0x989599,_0x9d63d6=new URL(window[_0x52ec13(0x324)][_0x52ec13(0x141)]),_0x24f2bd={'scriptId':_0x2386e3,'runId':(_0x81d3db=_0x9d63d6['searchParams'][_0x52ec13(0x1c3)](_0x52ec13(0x241)))!=null?_0x81d3db:'','function':_0x989599,'unitId':_0x52bda5['getUnitId'](),'argsOfFunction':JSON[_0x52ec13(0x19c)](_0x1ce510),'invokeId':(_0x2a13b8=_0x4a040b['invokeId'])!=null?_0x2a13b8:'','executionId':(_0x270660=_0x4a040b[_0x52ec13(0x15d)])!=null?_0x270660:''};try{const _0x586a47=await this[_0x52ec13(0x2f3)][_0x52ec13(0x2eb)](_0x597790,{'body':_0x24f2bd});return _0x586a47['body'][_0x52ec13(0x257)]&&_0x586a47[_0x52ec13(0x140)]['error'][_0x52ec13(0x29b)]!==_0x4e459f['OK']?_0x52ec13(0x156):_0x586a47[_0x52ec13(0x140)][_0x52ec13(0x27d)];}catch{return _0x52ec13(0x156);}}},_0x116d7d[_0x1405a7(0x3ad)]=_0xc52bbb([_0xf226fe(0x0,_0x57425f[_0x1405a7(0x3c7)]),_0xf226fe(0x1,_0x57425f[_0x1405a7(0x3aa)](_0x117380['HTTPService'])),_0xf226fe(0x2,_0x57425f[_0x1405a7(0x1fc)])],_0x116d7d[_0x1405a7(0x3ad)]),_0x116d7d[_0x1405a7(0x189)]=_0x554786,_0x116d7d[_0x1405a7(0x2c8)]=_0x1234c7,_0x116d7d[_0x1405a7(0x1af)]=_0x5fa9c6,_0x116d7d[_0x1405a7(0x175)]=_0x29882d,_0x116d7d[_0x1405a7(0x1b5)]=_0x5abb13,Object[_0x1405a7(0x2e2)](_0x116d7d,Symbol[_0x1405a7(0x13e)],{'value':'Module'});}));
1
+ function _0x4484(){const _0x32f221=['width','BehaviorSubject','addObjects','startsWith','RemoteUniscriptService','onMouseMove','DisposableCollection','HEADER_MENU','enableLocalCache','DocSkeletonManagerService','cursorInfo$','debounce','_injector','useObservable','NOT_FOUND','ONLINE','UniverNetwork','cursorInfo','subunit','_unitOnClients','_colorIndex','handleIRemoveRow','getUnitStatus$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','length','clearTimeout','ICommandService','has','Inject','getMember','_status$','location','pipe','0\x200\x2017\x2016','RefRangeService','add','UniverUi','handleMoveRange','onCommandExecuted','handleDeleteRangeMoveUp','_getMergeRange','toRgbString','roomMembers$','row','SheetSkeletonManagerService','/run/','UNDEFINED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_range','UNIVER_SHEET','_context','getUnhiddenWorksheets','fillRule','_memberService','loadOfflineData','114nXYXIs','collabStatus.synced','font','lineTo','dispose$','executionId','getRenderById','MUTATION','MoveRangeCommandId','DocCollaborationEntity','_beforeCloseService','COLORS','set','@univerjs/network','SYNCED','onStarting','url(#$1','_unitStatus','DataLoaderService','setInterval','ranges','idSuffix','deserializeRangeWithSheet','getParam','wsSessionTicketUrl','getColor','IURLService','setUndoRedoMutationParamsCache','92468KEIVEq','source','_roomMembers$','fromEvent','_uiPartsService','transformMutationsWithChangeset','getRelativeToViewportCoord','_docSkeletonManagerService','_handleJoinEvent','VIEW_MAIN','imageSourceType','toDisposable','_logService','SetWorksheetActivateCommand','_cachedData','hasOwnProperty','_document','collab-text-anchor-','transformIMECache','getConfig','setTimeout','black','executeCommand','subscribeEvent','all','subUnitId','_render','OTHER_CLIENTS_EDITING','YUUMI_ASYNCIO_CANCELLED','onPointerLeave$','_clearOtherTimers','currentTheme$','getVpScrollXYInfoByPosToVp','redoState','prototype','_hovered','evenodd','push','color','_scheduleHeartbeat','_handleEvent','xlink:href','from','_scheduleClearOtherTimer','getItem','_entities','IUniverInstanceService','none','_scheduleSaving','17322elKeHX','Module','saveImage','UNRECOGNIZED','stringify','handleInsertRangeMoveRight','addObject','univer-flex\x20univer-mr-2\x20univer-text-[20px]','UniverCollaborationClientUIPlugin','isTransformMutationsWithChangesetSuccess','disposeWithMe','_onRefRangeChange','_urlService','Disposable','INVITE_CODE_HAS_BEEN_UES','getOffsetConfig','doc.mutation.rich-text-editing','origin','requireSession','touchDependencies','Rect','actions','map','APPLY_NON_SEQUENTIAL_REVISION','_disabled','collabStatus.offline','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_SUBSCRIPTION_NOT_FOUND','body','generateRandomId','Workbook','UnitStatus','NO_OTHER_CLIENTS_EDITING','ITransformService','_selfUnitIDs','_colorAssignService','useDependency','currentColor','UPDATE_CURSOR','engine','debug','search','_init','react','CollaborationUIEventService','amd','_initResize','m2Prime','object','ENSURE_SNAPSHOT_EXECUTION','reconnect','triggerDblclick','_docSkeleton','textRanges','_labelPosition','getSheetId','_httpService','post','_updateURLWithCurrentState','SetDocZoomRatioOperation','displayName','_anchorDot','getCollabEntity$','USERS_LEAVE','transformSelections','_eventUnsubscribe','MessageType','endColumn','height','backgroundColor','asObservable','rxjs/operators','values','useCallback','_transformService','transformMutation','registerComponent','toStringTag','then','_hideTimer','SNAPSHOT_INVALID_SNAPSHOT','CommandType','fillText','_transformUndoRedoStack','CONFLICT','_removeCollabCursors','OFFLINE','range','some','_doCreateSocket','addEventListener','TOO_MANY_REQUESTS','_docTransformSelectionsService','ILocalCacheService','size','_getAnchorBounding','forwardRef','operators','YUUMI_UNABLE_LOAD_URL','_revisionService','entries','OffLineSingle','setStateCache','InsertRangeMoveDownCommandId','rxjs','history','_localStorageService','_draw','_cursorShapes','getSheetObject','parse','_syncEditingCollabCursorService','hovered','SUBMIT_CHANGESET_TIMEOUT','_docSyncEditingCollabCursorService','8Dljvut','event$','createInstance','sheetID','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Rectangle','_shapes','MOBILE_HAS_BEEN_BOUND','LocaleService','CHANGESET_REVISION_CONFILICT','string','href','getValue','isActive','DOC_RANGE_TYPE','on-line-single_clip0_910_349','PENDING','path','23874004FLNCvL','@univerjs-pro/collaboration-client','entityInit$','isTransformMutationFailure','sessionTicket','MemberService','IMessageService','_collaborationUIEventService','handleInsertRangeMoveDown','pluginName','focused$','_hover','5322250haYfOJ','_docTransformIMECacheService','collaboration.single-unit.warning','@univerjs/sheets','indexOf','Tools','WebURLService','unload','UNAUTHENTICATED','INVALID_ARGUMENT','addHandlerCallback','_themeService','LICENSE_MAX_UNITS_EXCEEDED','labelPosition','PERMISSION_DENIED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','purple300','with','collab-rect-range-','replace','getOwnPropertySymbols','ISocketService','1em','YUUMI_NO_CUBOID_FOR_QUESTION','_collaborationController','INVALID_INVITE_CODE','WECHAT_HAS_BEEN_BOUND','selection','@univerjs/sheets-ui','getRangePointData','getMergeData','YUUMI_RATE_OVER_LIMIT','IConfigService','onLocalMutation','_backgroundColor','_configService','handleInsertCol','_collabCursorState$','Injector','exhaustSavingTask','APPLY_PERMISSION_DENIED','name','INotificationService','updateOfflineData','_updateSubUnitFromURLParams','IBeforeCloseService','restore','split','_initEntityListener','IDocClipboardService','switchMap','function','UniverProCollaborationClientUi','_drawTextRange','_dataLoaderService','serializeRangeWithSheet','useRef','collabStatus.fetchMiss','tag','delete','result','UniverDesign','getMemberID','getCurrentSelections','_online','getActiveRange','setAlpha','getUnitId','@univerjs/drawing','_refreshCollabCursors','params','SNAPSHOT_HAS_BEEN_REMOVED','UniverEngineFormula','debounceTime','@univerjs/ui','_setupBeforeClosingHandler','#fff','DeleteRangeMoveUpCommandId','uni.network.url-service','409908BHUGHA','_messageService','_initStatusComponent','setActiveRange','url(#off-line-single_clip0_910_343)','Vector2','getCoordByCell','contains','_sheetSkeletonManagerService','merge','_saveTaskMap','DesktopCollaborationStatusDisplayController','371421WHMAyb','getCellPositionByOffset','IImageIoService','CollaborationSessionService','Unknown\x20user','SessionStatus','INVITE_CODE_ALREADY_BOUND','createSocket','jsx','hide','find','symbol','_updateLocalCursor','_getScale','_transformPreviousActiveRange','currentSkeleton$','FromArray','_renderManagerService','PY_RUNTIME_SCRIPT_ERROR','filter','_univerInstanceService','getCurrentUnitForType','BrowserCollaborationSocketService','_docTransformStateCacheService','LOGIN_FAILED','_session','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','application/json','_handleHover','assign','next','call','closePath','TEXT','_name','CollaborationSocketService','init','collabCursorState$','setParam','deepClone','@univerjs/engine-formula','unitID','@univerjs/rpc','collabStatus.notCollab','_startSheetCollabCursor','_ensureSubject','startRow','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','m1Prime','defIds','Subject','addClipboardHook','UniverSheetsUi','_createSocketURL','SOCKET_FAILED','current','beginPath','collabStatus.conflict','disposeUnit','mergeOverrideWithDependencies','CollaborationStatusDisplay','makeDirty','93HIjQiU','@univerjs/engine-render','_saveCache','RegularPolygon','ALREADY_EXISTS','LICENSE_DISTRO_REJECTED','UniverDrawing','_initDependencies','findNodePositionByCharIndex','measureText','_registerRenderDependencies','_config','[CollaborationDataLoaderController]','_onCursorUpdate','text','RichTextEditingMutation','_updateCollabCursors','CLOSE_ROOM','OnLineSingle','SheetCollabCursorShape','throttleTime','CollaborationUIEventId','0\x200\x2016\x2016','_cursors','getLocalCacheKey','RECT','jiqing500','DocIMEInputManagerService','isArray','_drawRectRange','replaceState','@univerjs/design','_commandService','transformByState','_entityInit$','concat','get','133aUJhUq','code','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','ILogService','TEXT_RANGE_LAYER_INDEX','Warning','clipPath','IUIPartsService','_initStatusListener','_lastPointer','apply','Shape','bottom','override','_notificationService','Optional','_collabCursorController','SOCKET_FAILED_RETRY','use','@univerjs/docs','CollaborationStatus','getCollabCursors$','UNIVER_DOC','Plugin','react/jsx-runtime','onPointerEnter$','EMAIL_HAS_BEEN_BOUND','arc','APPLY_REJECT','ThemeService','attrs','_docStateChangeManagerService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','off-line-single_clip0_910_343','@univerjs/docs-ui','NodePositionConvertToRectRange','getFocusedUnit','_collabSessionService','unsubscribe','getOwnPropertyDescriptor','getUniverSheetInstance','getUndoRedoMutationParamsCache','getStateCache','subscribe','moveTo','_id','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','verdancy600','trim','children','APPLY_DUPLICATED','svg','@univerjs-pro/collaboration','CollaborationEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','memberID','show','_localeService','getAncestorScale','APPLY_REVISION_CONFILICT','collaboration.closeRoom','_removeClearOtherTimer','_instanceService','_startDocCollabCursor','complete','fill','setShapeProps','InsertRangeMoveRightCommandId','defs','univer-text-green-500','_heartbeatTimer','React','onPointerMove$','_initCommandExecutedListener','DeleteRangeMoveLeftCommandId','round','_toggleOnline','EffectRefRangId','exports','div','fillStyle','column','SHEET_VIEWPORT_KEY','red300','_textBubble','_onCursorDelete','LOCAL_CACHE_INTERVAL','extend','_docClipboardService','eventID','dispose','syncEditingCollabCursor','_scene','_send','mutations','searchParams','takeUntil','getViewport','CollaborationController','key','transformStateCache','mask','_initEvent','5223985AbcQFx','Failed','getTypeOfUnitAdded$','whenReady','drawWith','_localCacheService','runId','_handleHeartbeatEvent','unitId','undoState','...','_cursorInfo$','M0\x200H16V16H0z','registerRefRange','UniverInstanceType','editingUnit','startColumn','clsx','_cursor','createElement','getSheetBySheetId','_imageIoService','invokeId','#FFF','save','SheetsSelectionsService','getSkeleton','_anchor','SetSelectionsOperation','getCurrent','registerRenderModule','_assignedColors','toString','newValue','data','off-line-single','error','DocSelectionManagerService','sheetId','type','permission.content','defineProperty','HTTPService','_getSessionTicket','registerDependencies','UniverProCollaborationClient','CollaborationDataLoaderController','assignAColorForMemberID','getDocRanges','unshift','ColorKit','send','DocStateChangeManagerService','RxDisposable','collabStatus.syncing','_toggleOffline','INTERNAL_ERROR','jsxs','Error','removeParam','UniverIcon','ticket','_refRangeService','className','UniverSheets','setItem','getTypeOfUnitDisposed$','NOT_COLLAB','OTHER_CLIENT_EDITING','LICENSE_IMPORT_SIZE_EXCEEDED','UniverCollaborationClientPlugin','transformRemoteChangeset','combineLatest','onRendered','_drawAnchor','clearInterval','forEach','COMPLETION_FINISHED','popstate','_color','min'];_0x4484=function(){return _0x32f221;};return _0x4484();}function _0x2cf8(_0x55d905,_0x347698){const _0x448437=_0x4484();return _0x2cf8=function(_0x2cf82b,_0xfe26ab){_0x2cf82b=_0x2cf82b-0xba;let _0x50a46e=_0x448437[_0x2cf82b];return _0x50a46e;},_0x2cf8(_0x55d905,_0x347698);}(function(_0x1e7a56,_0x56daeb){const _0x2d4b06=_0x2cf8,_0x229b7=_0x1e7a56();while(!![]){try{const _0x343b55=-parseInt(_0x2d4b06(0x30a))/0x1*(-parseInt(_0x2d4b06(0xcb))/0x2)+-parseInt(_0x2d4b06(0x1f6))/0x3*(parseInt(_0x2d4b06(0x326))/0x4)+-parseInt(_0x2d4b06(0x282))/0x5+-parseInt(_0x2d4b06(0x1ab))/0x6*(parseInt(_0x2d4b06(0x21b))/0x7)+parseInt(_0x2d4b06(0x13e))/0x8*(parseInt(_0x2d4b06(0x1b7))/0x9)+parseInt(_0x2d4b06(0x15c))/0xa+parseInt(_0x2d4b06(0x150))/0xb;if(_0x343b55===_0x56daeb)break;else _0x229b7['push'](_0x229b7['shift']());}catch(_0x1211d2){_0x229b7['push'](_0x229b7['shift']());}}}(_0x4484,0xa4002),function(_0x2647f6,_0x3e2265){const _0x33ef6d=_0x2cf8;typeof exports==_0x33ef6d(0xfb)&&typeof module<'u'?_0x3e2265(exports,require(_0x33ef6d(0x151)),require('@univerjs/core'),require(_0x33ef6d(0x1f7)),require(_0x33ef6d(0x317)),require(_0x33ef6d(0x23d)),require(_0x33ef6d(0x1a0)),require(_0x33ef6d(0x133)),require(_0x33ef6d(0x22e)),require(_0x33ef6d(0x24f)),require('@univerjs/engine-formula'),require(_0x33ef6d(0x15f)),require(_0x33ef6d(0x112)),require(_0x33ef6d(0x178)),require(_0x33ef6d(0x233)),require(_0x33ef6d(0x1a6)),require(_0x33ef6d(0x215)),require(_0x33ef6d(0xf6)),require(_0x33ef6d(0x1e2))):typeof define==_0x33ef6d(0x18f)&&define[_0x33ef6d(0xf8)]?define([_0x33ef6d(0x269),_0x33ef6d(0x151),'@univerjs/core','@univerjs/engine-render',_0x33ef6d(0x317),'@univerjs/docs-ui',_0x33ef6d(0x1a0),_0x33ef6d(0x133),_0x33ef6d(0x22e),_0x33ef6d(0x24f),_0x33ef6d(0x1e0),_0x33ef6d(0x15f),_0x33ef6d(0x112),_0x33ef6d(0x178),_0x33ef6d(0x233),'@univerjs/ui',_0x33ef6d(0x215),'react',_0x33ef6d(0x1e2)],_0x3e2265):(_0x2647f6=typeof globalThis<'u'?globalThis:_0x2647f6||self,_0x3e2265(_0x2647f6[_0x33ef6d(0x190)]={},_0x2647f6[_0x33ef6d(0x2af)],_0x2647f6['UniverCore'],_0x2647f6['UniverEngineRender'],_0x2647f6[_0x33ef6d(0x2e3)],_0x2647f6['UniverDocsUi'],_0x2647f6[_0x33ef6d(0x1fc)],_0x2647f6['rxjs'],_0x2647f6['UniverDocs'],_0x2647f6['UniverProCollaboration'],_0x2647f6[_0x33ef6d(0x1a4)],_0x2647f6[_0x33ef6d(0x2c2)],_0x2647f6['rxjs'][_0x33ef6d(0x12c)],_0x2647f6[_0x33ef6d(0x1ec)],_0x2647f6[_0x33ef6d(0x262)],_0x2647f6[_0x33ef6d(0x2f7)],_0x2647f6[_0x33ef6d(0x199)],_0x2647f6['React'],_0x2647f6['UniverRpc']));}(this,function(_0x1db428,_0x175918,_0x404026,_0x112353,_0x2ffc80,_0x2bec5e,_0x43a187,_0x4a3af0,_0x121a01,_0x503ae1,_0xe7f79b,_0x431058,_0x59a115,_0x954753,_0x59c8dc,_0x4ebc0a,_0x62b316,_0x3ac11,_0x554860){'use strict';const _0x195f34=_0x2cf8;var _0x5adb5c=Object['defineProperty'],_0x5cedca=(_0x577243,_0xc04592,_0x5c4c29)=>_0xc04592 in _0x577243?_0x5adb5c(_0x577243,_0xc04592,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c4c29}):_0x577243[_0xc04592]=_0x5c4c29,_0x2f983b=(_0x343b27,_0x1867d6,_0x29288d)=>_0x5cedca(_0x343b27,typeof _0x1867d6!=_0x195f34(0x1c2)?_0x1867d6+'':_0x1867d6,_0x29288d),_0x4d3eb7=Object[_0x195f34(0x242)],_0x7698c9=(_0x375869,_0x385fc0,_0x45cfb7,_0x3e1a7e)=>{const _0x1615ea=_0x195f34;for(var _0x33bc9e=_0x3e1a7e>0x1?void 0x0:_0x3e1a7e?_0x4d3eb7(_0x385fc0,_0x45cfb7):_0x385fc0,_0x1edbca=_0x375869[_0x1615ea(0x2eb)]-0x1,_0xe2a86e;_0x1edbca>=0x0;_0x1edbca--)(_0xe2a86e=_0x375869[_0x1edbca])&&(_0x33bc9e=_0xe2a86e(_0x33bc9e)||_0x33bc9e);return _0x33bc9e;},_0x3539e=(_0x357731,_0x10a6d2)=>(_0x437dcd,_0x108c49)=>_0x10a6d2(_0x437dcd,_0x108c49,_0x357731);let _0x562bc4=class extends _0x404026[_0x195f34(0x2b7)]{constructor(_0x53288f,_0x5b5b08){const _0x177e34=_0x195f34;super(),this[_0x177e34(0x273)]=_0x53288f,this['_imageIoService']=_0x5b5b08,this[_0x177e34(0xf5)]();}['_init'](){const _0x404bd6=_0x195f34,_0x27b4ad=this;this[_0x404bd6(0xd5)](this['_docClipboardService'][_0x404bd6(0x1eb)]({'onBeforePasteImage':async _0x4c728e=>{const _0xc607cd=_0x404bd6,_0x3999a9=await _0x27b4ad[_0xc607cd(0x297)][_0xc607cd(0xcd)](_0x4c728e);return _0x3999a9?{'source':_0x3999a9[_0xc607cd(0x327)],'imageSourceType':_0x3999a9[_0xc607cd(0x330)]}:null;}}));}};_0x562bc4=_0x7698c9([_0x3539e(0x0,_0x2bec5e[_0x195f34(0x18d)]),_0x3539e(0x1,_0x43a187[_0x195f34(0x1b9)])],_0x562bc4);const _0x2083b0=[_0x195f34(0x16c),_0x195f34(0x210),_0x195f34(0x24a),_0x195f34(0x26e),'blue400','gold400'];class _0x2d40ec extends _0x404026[_0x195f34(0xd8)]{constructor(){const _0x31ef7e=_0x195f34;super(...arguments),_0x2f983b(this,_0x31ef7e(0x2a1),new Map()),_0x2f983b(this,'_colorIndex',0x0);}[_0x195f34(0x2b1)](_0x48b2e9){const _0xc18875=_0x195f34;if(this[_0xc18875(0x2a1)][_0xc18875(0x2ee)](_0x48b2e9))return this[_0xc18875(0x2a1)][_0xc18875(0x21a)](_0x48b2e9);const _0x51c355=_0x2083b0[this[_0xc18875(0x2e7)]];return this[_0xc18875(0x2e7)]=(this[_0xc18875(0x2e7)]+0x1)%_0x2083b0[_0xc18875(0x2eb)],this[_0xc18875(0x2a1)][_0xc18875(0x316)](_0x48b2e9,_0x51c355),_0x51c355;}}function _0x2b5484(_0x47f212){const _0x438b64=_0x195f34;let _0x71e054='';for(const _0x1225df of _0x47f212){const {startOffset:_0x30e5a8,endOffset:_0x3e41c7,isActive:_0x1bec83,rangeType:_0x491754,segmentId:_0x173b84,segmentPage:_0x23eb6e}=_0x1225df;_0x71e054[_0x438b64(0x2eb)]&&(_0x71e054+=','),_0x71e054+=_0x30e5a8+':'+_0x3e41c7+':'+(_0x1bec83?'1':'0')+':'+_0x491754+':'+_0x173b84+':'+_0x23eb6e;}return _0x71e054;}function _0x36d8db(_0x291901){const _0x2983f7=_0x195f34,_0x47ed66=_0x291901[_0x2983f7(0x18b)](','),_0x2cdb3b=[];for(const _0x17e760 of _0x47ed66){const [_0x194374,_0x4a9a1c,_0x3774e6,_0x1cbc2e,_0x451865,_0x3fa5e0]=_0x17e760[_0x2983f7(0x18b)](':');_0x2cdb3b['push']({'startOffset':Number(_0x194374),'endOffset':Number(_0x4a9a1c),'collapsed':_0x194374===_0x4a9a1c,'isActive':_0x3774e6==='1','rangeType':_0x1cbc2e===_0x404026[_0x2983f7(0x14c)]['TEXT']?_0x404026[_0x2983f7(0x14c)][_0x2983f7(0x1d9)]:_0x404026[_0x2983f7(0x14c)][_0x2983f7(0x20f)],'segmentId':typeof _0x451865==_0x2983f7(0x148)?String(_0x451865):'','segmentPage':Number(_0x3fa5e0!=null?_0x3fa5e0:-0x1)});}return _0x2cdb3b[_0x2983f7(0x123)](_0x29a408=>_0x29a408[_0x2983f7(0x14b)])||(_0x2cdb3b[0x0]['isActive']=!0x0),_0x2cdb3b;}class _0x320f00 extends _0x404026['RxDisposable']{constructor(){const _0x2fca44=_0x195f34;super(...arguments),_0x2f983b(this,'_collabCursorState$',new _0x4a3af0[(_0x2fca44(0x2d4))](null)),_0x2f983b(this,_0x2fca44(0x1dd),this[_0x2fca44(0x181)]['asObservable']());}['syncEditingCollabCursor'](_0x187843){const _0x59d576=_0x195f34,{unitID:_0x3332a6,memberID:_0x27dab4,textRanges:_0x409869}=_0x187843,_0x1fe034=_0x2b5484(_0x409869);if(_0x1fe034==='')return;const _0x28f1c1={'unitID':_0x3332a6,'memberID':_0x27dab4,'selection':_0x1fe034};this[_0x59d576(0x181)]['next'](_0x28f1c1);}}var _0x12e041=Object[_0x195f34(0x242)],_0x57b9f7=(_0x4b574a,_0x3cffb4,_0x3257a0,_0x1de101)=>{const _0x132374=_0x195f34;for(var _0x165889=_0x1de101>0x1?void 0x0:_0x1de101?_0x12e041(_0x3cffb4,_0x3257a0):_0x3cffb4,_0x48a387=_0x4b574a[_0x132374(0x2eb)]-0x1,_0x44d1e0;_0x48a387>=0x0;_0x48a387--)(_0x44d1e0=_0x4b574a[_0x48a387])&&(_0x165889=_0x44d1e0(_0x165889)||_0x165889);return _0x165889;},_0xa0054=(_0xfbebeb,_0x2fa641)=>(_0x8b5759,_0x1bc9fb)=>_0x2fa641(_0x8b5759,_0x1bc9fb,_0xfbebeb);const _0x3c5b34=0x12c,_0x1514c8=0x64;let _0x366001=class extends _0x404026[_0x195f34(0x2b7)]{constructor(_0x3692b3,_0x586b71,_0x28ee91,_0xea0bf4,_0x5d3f2f,_0x44e62c,_0x2c27ac,_0x33fb11,_0x52a0f8){const _0x59cd5c=_0x195f34;super(),_0x2f983b(this,_0x59cd5c(0x19c),!0x1),_0x2f983b(this,'_init',!0x1),_0x2f983b(this,_0x59cd5c(0x28d),new _0x4a3af0[(_0x59cd5c(0x2d4))](new Map())),_0x2f983b(this,_0x59cd5c(0x2dd),this[_0x59cd5c(0x28d)][_0x59cd5c(0x111)]()),_0x2f983b(this,_0x59cd5c(0x328),new _0x4a3af0['BehaviorSubject']([])),_0x2f983b(this,'roomMembers$',this['_roomMembers$'][_0x59cd5c(0x2f3)](_0x4a3af0['debounceTime'](_0x3c5b34))),_0x2f983b(this,_0x59cd5c(0x1c3),_0x404026[_0x59cd5c(0x2de)](_0x350a2f=>{const _0x2e3b80=_0x59cd5c,_0xd14c6f={'eventID':_0x503ae1['CollaborationEvent'][_0x2e3b80(0xf1)],'data':{'unitID':this[_0x2e3b80(0x1e1)],'memberID':this[_0x2e3b80(0x1d0)][_0x2e3b80(0x19a)](),'selection':_0x2b5484(_0x350a2f)}};this['_session'][_0x2e3b80(0x2b5)](_0xd14c6f,this[_0x2e3b80(0x1e1)]);},_0x1514c8)),(this[_0x59cd5c(0x1e1)]=_0x3692b3,this['_session']=_0x586b71,this[_0x59cd5c(0x2df)]=_0x28ee91,this[_0x59cd5c(0xee)]=_0xea0bf4,this['_memberService']=_0x5d3f2f,this[_0x59cd5c(0x13a)]=_0x44e62c,this[_0x59cd5c(0x115)]=_0x2c27ac,this['_univerInstanceService']=_0x33fb11,this['_commandService']=_0x52a0f8);}get[_0x195f34(0x2e4)](){const _0x3c145b=_0x195f34;return this[_0x3c145b(0x28d)][_0x3c145b(0x14a)]();}get['roomMembers'](){const _0x3addc8=_0x195f34;return this[_0x3addc8(0x328)]['getValue']();}[_0x195f34(0x275)](){const _0x1ce6ac=_0x195f34;super[_0x1ce6ac(0x275)](),this[_0x1ce6ac(0x28d)][_0x1ce6ac(0x1d6)](new Map()),this[_0x1ce6ac(0x28d)][_0x1ce6ac(0x25b)](),this[_0x1ce6ac(0x328)][_0x1ce6ac(0x1d6)]([]),this[_0x1ce6ac(0x328)][_0x1ce6ac(0x25b)]();}[_0x195f34(0x1dc)](){const _0x704740=_0x195f34;this[_0x704740(0xf5)]||(this[_0x704740(0xf5)]=!0x0,this[_0x704740(0x1d0)]['sessionStatus$']['pipe'](_0x4a3af0[_0x704740(0x27b)](this[_0x704740(0x30e)]))['subscribe'](_0x1d121d=>{const _0x1b8961=_0x704740;_0x1d121d===_0x175918[_0x1b8961(0x1bc)][_0x1b8961(0x2e2)]?this[_0x1b8961(0x267)]():this[_0x1b8961(0x2b9)]();}),this[_0x704740(0x1d0)][_0x704740(0x13f)][_0x704740(0x2f3)](_0x4a3af0['takeUntil'](this['dispose$']))['subscribe'](_0x4bede6=>{const _0x37bac4=_0x704740,_0x41e232=_0x4bede6[_0x37bac4(0x274)];_0x41e232===_0x503ae1[_0x37bac4(0x250)]['UPDATE_CURSOR']&&this[_0x37bac4(0x203)](_0x4bede6),_0x41e232===_0x503ae1[_0x37bac4(0x250)][_0x37bac4(0x10a)]&&this[_0x37bac4(0x270)](_0x4bede6);}),this['disposeWithMe'](this[_0x704740(0x216)][_0x704740(0x2f9)](_0x1d9afa=>{const _0x2f4181=_0x704740,_0x43b45b=_0x1d9afa['params'];_0x43b45b!=null&&this[_0x2f4181(0x19c)]&&_0x1d9afa['id']===_0x121a01['SetTextSelectionsOperation']['id']&&_0x43b45b[_0x2f4181(0x28a)]===this[_0x2f4181(0x1e1)]&&_0x43b45b['isEditing']===!0x1&&_0x43b45b[_0x2f4181(0x31e)][_0x2f4181(0x2eb)]>0x0&&this[_0x2f4181(0x1c3)](_0x43b45b[_0x2f4181(0x31e)]);})),this[_0x704740(0x13a)][_0x704740(0x1dd)][_0x704740(0x2f3)](_0x4a3af0[_0x704740(0x27b)](this['dispose$']))[_0x704740(0x246)](_0x56ee3c=>{const _0x5ae7a0=_0x704740;if((_0x56ee3c==null?void 0x0:_0x56ee3c[_0x5ae7a0(0x1e1)])!==this[_0x5ae7a0(0x1e1)])return;const _0x2bf8e3={'eventID':_0x503ae1[_0x5ae7a0(0x250)][_0x5ae7a0(0xf1)],'data':_0x56ee3c};this[_0x5ae7a0(0x203)](_0x2bf8e3);}),this[_0x704740(0xd5)](this['_commandService']['onCommandExecuted'](_0x3018cc=>{const _0x184aec=_0x704740;if(_0x3018cc[_0x184aec(0x1a2)]==null)return;const _0x537331=_0x3018cc[_0x184aec(0x1a2)];if(_0x3018cc['id']!==_0x121a01[_0x184aec(0x205)]['id']||_0x537331[_0x184aec(0x28a)]!==this['unitID'])return;const _0x2cd022={'id':_0x184aec(0xdb),'params':_0x537331},_0x578926=this['cursorInfo'];for(const [_0x3a42b7,_0xb2182a]of _0x578926){const _0x2c88ab={'id':_0x184aec(0xdb),'params':{'unitId':this[_0x184aec(0x1e1)],'actions':null,'textRanges':_0xb2182a['ranges']}},_0x227cbd=this[_0x184aec(0x115)][_0x184aec(0x116)](_0x2cd022,_0x2c88ab,!0x1);if(_0x503ae1['isTransformMutationFailure'](_0x227cbd))throw _0x227cbd[_0x184aec(0x2a6)];_0x578926[_0x184aec(0x316)](_0x3a42b7,{..._0xb2182a,'ranges':_0x227cbd[_0x184aec(0xfa)][_0x184aec(0x1a2)][_0x184aec(0x100)]});}queueMicrotask(()=>{const _0x49f1ca=_0x184aec;this['_cursorInfo$'][_0x49f1ca(0x1d6)](_0x578926);});})));}[_0x195f34(0x203)](_0x56dc0c){const _0x58676e=_0x195f34;var _0x3440c5,_0x39fca3;const {memberID:_0x39fc36,selection:_0xe1352a}=_0x56dc0c[_0x58676e(0x2a4)],_0x3b3b9c=_0x36d8db(_0xe1352a),_0x56d645=(_0x39fca3=(_0x3440c5=this[_0x58676e(0x308)][_0x58676e(0x2f0)](this[_0x58676e(0x1e1)],_0x39fc36))==null?void 0x0:_0x3440c5[_0x58676e(0x185)])!=null?_0x39fca3:_0x58676e(0x1bb),_0x1c2aca={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x39fc36),'name':_0x56d645,'ranges':_0x3b3b9c},_0xe86839=this[_0x58676e(0x2e4)];_0xe86839[_0x58676e(0x316)](_0x39fc36,_0x1c2aca),this['_cursorInfo$'][_0x58676e(0x1d6)](_0xe86839);}[_0x195f34(0x270)](_0xdc3c5e){const _0xfa313d=_0x195f34,{memberID:_0x302736}=_0xdc3c5e[_0xfa313d(0x2a4)],_0x5c56a9=this[_0xfa313d(0x2e4)];_0x5c56a9['delete'](_0x302736),this['_cursorInfo$']['next'](_0x5c56a9);}['_toggleOnline'](){const _0x9b8acf=_0x195f34;var _0x4f53f4;if(this[_0x9b8acf(0x19c)]=!0x0,((_0x4f53f4=this[_0x9b8acf(0x1cb)]['getFocusedUnit']())==null?void 0x0:_0x4f53f4['getUnitId']())!==this[_0x9b8acf(0x1e1)])return;const _0xbfa07d=this['_injector'][_0x9b8acf(0x21a)](_0x121a01[_0x9b8acf(0x2a7)])[_0x9b8acf(0x2b2)]();Array['isArray'](_0xbfa07d)&&_0xbfa07d[_0x9b8acf(0x2eb)]>0x0&&this['_updateLocalCursor'](_0xbfa07d);}[_0x195f34(0x2b9)](){const _0x585cdb=_0x195f34;this[_0x585cdb(0x19c)]=!0x1;}};_0x366001=_0x57b9f7([_0xa0054(0x2,_0x404026[_0x195f34(0x2ef)](_0x404026['Injector'])),_0xa0054(0x3,_0x404026[_0x195f34(0x2ef)](_0x2d40ec)),_0xa0054(0x4,_0x404026[_0x195f34(0x2ef)](_0x175918[_0x195f34(0x155)])),_0xa0054(0x5,_0x404026[_0x195f34(0x2ef)](_0x320f00)),_0xa0054(0x6,_0x503ae1[_0x195f34(0xec)]),_0xa0054(0x7,_0x404026[_0x195f34(0xc8)]),_0xa0054(0x8,_0x404026[_0x195f34(0x2ed)])],_0x366001);var _0x1bdcf5=Object[_0x195f34(0x242)],_0x500d45=(_0x14bc6,_0x36d9f3,_0x5bb0ce,_0x210ef7)=>{const _0x10f6e6=_0x195f34;for(var _0x5f2012=_0x210ef7>0x1?void 0x0:_0x210ef7?_0x1bdcf5(_0x36d9f3,_0x5bb0ce):_0x36d9f3,_0x25f759=_0x14bc6[_0x10f6e6(0x2eb)]-0x1,_0x509f97;_0x25f759>=0x0;_0x25f759--)(_0x509f97=_0x14bc6[_0x25f759])&&(_0x5f2012=_0x509f97(_0x5f2012)||_0x5f2012);return _0x5f2012;},_0x592a58=(_0x552a8e,_0x1c7543)=>(_0x5607b9,_0x1ad010)=>_0x1c7543(_0x5607b9,_0x1ad010,_0x552a8e);const _0x214ced=0x12c,_0x28c7a9=0x64,_0x49d51f=()=>{let _0x4e82fb=[],_0x254f2e=!0x1;return _0x1aaf13=>{_0x4e82fb['push'](_0x1aaf13),_0x254f2e||(_0x254f2e=!0x0,setTimeout(()=>{const _0x32a1ac=_0x2cf8;_0x4e82fb[_0x32a1ac(0x2ce)](_0x2bff11=>_0x2bff11()),_0x4e82fb=[],_0x254f2e=!0x1;}));};};let _0x523efd=class extends _0x404026['RxDisposable']{constructor(_0x4fb58d,_0x59d38f,_0x2be742,_0x1e61bd,_0x1ffac0,_0x560567,_0x366694,_0x36e9ac){const _0x5c6901=_0x195f34;super(),_0x2f983b(this,'_online',!0x1),_0x2f983b(this,'_init',!0x1),_0x2f983b(this,_0x5c6901(0x28d),new _0x4a3af0[(_0x5c6901(0x2d4))](new Map())),_0x2f983b(this,_0x5c6901(0x2dd),this[_0x5c6901(0x28d)][_0x5c6901(0x111)]()),_0x2f983b(this,'_roomMembers$',new _0x4a3af0[(_0x5c6901(0x2d4))]([])),_0x2f983b(this,_0x5c6901(0x2fd),this[_0x5c6901(0x328)][_0x5c6901(0x2f3)](_0x4a3af0[_0x5c6901(0x1a5)](_0x214ced))),_0x2f983b(this,_0x5c6901(0x1c3),_0x404026[_0x5c6901(0x2de)]((_0x56a200,_0x23df53)=>{const _0x32566a=_0x5c6901,_0x6d1c67={'eventID':_0x503ae1[_0x32566a(0x250)][_0x32566a(0xf1)],'data':{'unitID':this[_0x32566a(0x1e1)],'memberID':this[_0x32566a(0x1d0)][_0x32566a(0x19a)](),'selection':_0xe7f79b[_0x32566a(0x193)](_0x56a200,_0x23df53[_0x32566a(0x122)])}};this[_0x32566a(0x1d0)][_0x32566a(0x2b5)](_0x6d1c67,this[_0x32566a(0x1e1)]);},_0x28c7a9)),(this['unitID']=_0x4fb58d,this['_session']=_0x59d38f,this['_injector']=_0x2be742,this[_0x5c6901(0xee)]=_0x1e61bd,this['_memberService']=_0x1ffac0,this[_0x5c6901(0x1cb)]=_0x560567,this[_0x5c6901(0x216)]=_0x366694,this[_0x5c6901(0x2c0)]=_0x36e9ac);}get['cursorInfo'](){const _0x433370=_0x195f34;return this[_0x433370(0x28d)][_0x433370(0x14a)]();}get['roomMembers'](){const _0x82948d=_0x195f34;return this['_roomMembers$'][_0x82948d(0x14a)]();}['dispose'](){const _0x4fda44=_0x195f34;super[_0x4fda44(0x275)](),this[_0x4fda44(0x28d)][_0x4fda44(0x1d6)](new Map()),this[_0x4fda44(0x28d)][_0x4fda44(0x25b)](),this[_0x4fda44(0x328)][_0x4fda44(0x1d6)]([]),this['_roomMembers$']['complete']();}[_0x195f34(0x1dc)](){const _0x4d4581=_0x195f34;this[_0x4d4581(0xf5)]||(this[_0x4d4581(0xf5)]=!0x0,this[_0x4d4581(0x1d0)]['sessionStatus$'][_0x4d4581(0x2f3)](_0x4a3af0[_0x4d4581(0x27b)](this['dispose$']))[_0x4d4581(0x246)](_0x46112a=>{const _0x4dbcc4=_0x4d4581;_0x46112a===_0x175918[_0x4dbcc4(0x1bc)][_0x4dbcc4(0x2e2)]?this[_0x4dbcc4(0x267)]():this[_0x4dbcc4(0x2b9)]();}),this['_session']['event$'][_0x4d4581(0x2f3)](_0x4a3af0[_0x4d4581(0x27b)](this[_0x4d4581(0x30e)]))[_0x4d4581(0x246)](_0x4f2ebe=>{const _0x4da34c=_0x4d4581,_0x4a134a=_0x4f2ebe['eventID'];_0x4a134a===_0x503ae1['CollaborationEvent'][_0x4da34c(0xf1)]&&this[_0x4da34c(0x203)](_0x4f2ebe),_0x4a134a===_0x503ae1[_0x4da34c(0x250)][_0x4da34c(0x10a)]&&this[_0x4da34c(0x270)](_0x4f2ebe);}),this[_0x4d4581(0xd6)](),this[_0x4d4581(0xd5)](this[_0x4d4581(0x216)][_0x4d4581(0x2f9)](_0x2f7ded=>{const _0xa4a2af=_0x4d4581;if(this[_0xa4a2af(0x19c)]&&_0x2f7ded['id']===_0x431058[_0xa4a2af(0x29e)]['id']&&_0x2f7ded['params'][_0xa4a2af(0x28a)]===this[_0xa4a2af(0x1e1)]){const _0x224499=_0x2f7ded[_0xa4a2af(0x1a2)];this['_updateLocalCursor'](_0x224499[_0xa4a2af(0x33f)],_0x224499['selections'][0x0]);}})));}['_onCursorUpdate'](_0x1f977d){const _0x7beafe=_0x195f34;var _0x5548b5,_0x2a473c;const {memberID:_0x5347e1,selection:_0x86440e}=_0x1f977d['data'],{sheetName:_0x250dc6,range:_0x252035}=_0xe7f79b[_0x7beafe(0x320)](_0x86440e),_0x573775={'name':(_0x2a473c=(_0x5548b5=this['_memberService']['getMember'](this['unitID'],_0x5347e1))==null?void 0x0:_0x5548b5[_0x7beafe(0x185)])!=null?_0x2a473c:'Unknown\x20user','range':this[_0x7beafe(0x2fb)](_0x250dc6,_0x252035),'sheetID':_0x250dc6,'color':this[_0x7beafe(0xee)][_0x7beafe(0x2b1)](_0x5347e1),'selection':_0x86440e},_0x267aee=this[_0x7beafe(0x2e4)];_0x267aee[_0x7beafe(0x316)](_0x5347e1,_0x573775),this[_0x7beafe(0x28d)][_0x7beafe(0x1d6)](_0x267aee);}['_onCursorDelete'](_0x39757b){const _0x412f3e=_0x195f34,{memberID:_0x1c0440}=_0x39757b['data'],_0x37bac6=this[_0x412f3e(0x2e4)];_0x37bac6[_0x412f3e(0x197)](_0x1c0440),this[_0x412f3e(0x28d)][_0x412f3e(0x1d6)](_0x37bac6);}[_0x195f34(0x2fb)](_0x5f5984,_0x300c6d){const _0x509385=_0x195f34;var _0x51af8e,_0x32cead;const _0x40ffb0=(_0x32cead=(_0x51af8e=this['_univerInstanceService'][_0x509385(0x243)](this[_0x509385(0x1e1)]))==null?void 0x0:_0x51af8e[_0x509385(0x296)](_0x5f5984))==null?void 0x0:_0x32cead[_0x509385(0x17a)]();return(_0x40ffb0==null?void 0x0:_0x40ffb0[_0x509385(0x1c1)](_0x5491a0=>_0x404026[_0x509385(0x143)][_0x509385(0x1b2)](_0x5491a0,_0x300c6d)))||_0x300c6d;}['_onRefRangeChange'](){const _0x4b387a=_0x195f34,_0x53c166=new _0x404026[(_0x4b387a(0x2d9))](),_0x2acb7e=_0x49d51f(),_0x470d0d=()=>{const _0x10c11c=_0x4b387a;_0x53c166[_0x10c11c(0x275)]();const _0x134efd=(_0x1e117a,_0x27f301,_0x558906,_0x2cdb50)=>{const _0x54a928=_0x10c11c;let _0x14c3b8=[];switch(_0x1e117a['id']){case _0x431058[_0x54a928(0x268)][_0x54a928(0x265)]:{_0x14c3b8=_0x431058['handleDeleteRangeMoveLeft'](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)][_0x54a928(0x1a9)]:{_0x14c3b8=_0x431058[_0x54a928(0x2fa)](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)]['InsertColCommandId']:{_0x14c3b8=_0x431058[_0x54a928(0x180)](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)][_0x54a928(0x132)]:{_0x14c3b8=_0x431058[_0x54a928(0x158)](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)][_0x54a928(0x25e)]:{_0x14c3b8=_0x431058[_0x54a928(0xd0)](_0x1e117a,_0x2cdb50);break;}case _0x431058['EffectRefRangId']['InsertRowCommandId']:{_0x14c3b8=_0x431058['handleInsertRow'](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)][_0x54a928(0x312)]:{_0x14c3b8=_0x431058[_0x54a928(0x2f8)](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)]['RemoveColCommandId']:{_0x14c3b8=_0x431058['handleIRemoveCol'](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)]['RemoveRowCommandId']:{_0x14c3b8=_0x431058[_0x54a928(0x2e8)](_0x1e117a,_0x2cdb50);break;}}const _0xa5a427=_0x431058['runRefRangeMutations'](_0x14c3b8,_0x2cdb50),_0x47daf5=this[_0x54a928(0x2e4)][_0x54a928(0x21a)](_0x27f301);if(_0x47daf5&&_0xa5a427){const _0x2bd6fb={..._0x47daf5,'range':_0xa5a427};this[_0x54a928(0x2e4)]['set'](_0x27f301,_0x2bd6fb),_0x2acb7e(()=>{const _0x3ab31d=_0x54a928,_0x34bf48=this[_0x3ab31d(0x2c0)][_0x3ab31d(0x28f)](_0xa5a427,_0x46aedc=>(_0x34bf48[_0x3ab31d(0x275)](),_0x134efd(_0x46aedc,_0x27f301,_0x558906,_0xa5a427)));_0x53c166[_0x3ab31d(0x2f6)](_0x34bf48);});}return{'redos':[],'undos':[]};};this[_0x10c11c(0x2e4)]['forEach']((_0x318370,_0x58c604)=>{const _0x3acbec=_0x10c11c,{range:_0x4f7731,sheetID:_0x34d25e}=_0x318370,_0x375b8f=this[_0x3acbec(0x2c0)][_0x3acbec(0x28f)](_0x4f7731,_0x5b1da4=>(_0x375b8f[_0x3acbec(0x275)](),_0x134efd(_0x5b1da4,_0x58c604,_0x34d25e,_0x4f7731)));_0x53c166[_0x3acbec(0x2f6)](_0x375b8f);});};this[_0x4b387a(0xd5)](_0x404026['toDisposable'](this[_0x4b387a(0x28d)][_0x4b387a(0x246)](()=>{_0x470d0d();})));}[_0x195f34(0x267)](){const _0x535091=_0x195f34;var _0x35dfc1,_0x3919c;if(this[_0x535091(0x19c)]=!0x0,((_0x35dfc1=this['_univerInstanceService'][_0x535091(0x23f)]())==null?void 0x0:_0x35dfc1[_0x535091(0x19f)]())!==this['unitID'])return;const _0x3dd9b9=(_0x3919c=this[_0x535091(0x2df)][_0x535091(0x21a)](_0x431058[_0x535091(0x29b)])[_0x535091(0x19b)]())==null?void 0x0:_0x3919c[0x0],_0x5b01fc=this[_0x535091(0x1cb)][_0x535091(0x1cc)](_0x404026[_0x535091(0x290)][_0x535091(0x304)])['getActiveSheet']();_0x3dd9b9&&_0x5b01fc&&this[_0x535091(0x1c3)](_0x5b01fc[_0x535091(0x102)](),_0x3dd9b9);}['_toggleOffline'](){const _0x159f63=_0x195f34;this[_0x159f63(0x19c)]=!0x1;}};_0x523efd=_0x500d45([_0x592a58(0x2,_0x404026[_0x195f34(0x2ef)](_0x404026['Injector'])),_0x592a58(0x3,_0x404026['Inject'](_0x2d40ec)),_0x592a58(0x4,_0x404026['Inject'](_0x175918[_0x195f34(0x155)])),_0x592a58(0x5,_0x404026[_0x195f34(0xc8)]),_0x592a58(0x6,_0x404026[_0x195f34(0x2ed)]),_0x592a58(0x7,_0x404026['Inject'](_0x431058[_0x195f34(0x2f5)]))],_0x523efd);var _0x499650=Object['getOwnPropertyDescriptor'],_0x70fa28=(_0x1fa0b2,_0x23bb29,_0xa76936,_0x3a5b18)=>{const _0x3520a7=_0x195f34;for(var _0x799083=_0x3a5b18>0x1?void 0x0:_0x3a5b18?_0x499650(_0x23bb29,_0xa76936):_0x23bb29,_0x369155=_0x1fa0b2[_0x3520a7(0x2eb)]-0x1,_0x5c167b;_0x369155>=0x0;_0x369155--)(_0x5c167b=_0x1fa0b2[_0x369155])&&(_0x799083=_0x5c167b(_0x799083)||_0x799083);return _0x799083;},_0x1a7139=(_0x46b429,_0x210ea6)=>(_0x56af88,_0x2d3069)=>_0x210ea6(_0x56af88,_0x2d3069,_0x46b429);let _0x38d523=class extends _0x404026['RxDisposable']{constructor(_0x1b1648,_0x3995d0,_0x520cba){const _0x51d437=_0x195f34;super(),_0x2f983b(this,_0x51d437(0xc7),new Map()),_0x2f983b(this,_0x51d437(0x218),new _0x4a3af0[(_0x51d437(0x1ea))]()),(this['_univerInstanceService']=_0x1b1648,this['_injector']=_0x3995d0,this['_collabSessionService']=_0x520cba,this[_0x51d437(0xf5)]());}['dispose'](){const _0x3c2b55=_0x195f34;super['dispose'](),this[_0x3c2b55(0x218)][_0x3c2b55(0x25b)](),this[_0x3c2b55(0xc7)]['forEach'](_0x16979d=>_0x16979d['dispose']());}['getCollabCursors$'](_0xa6d8b3){const _0x58e482=_0x195f34;return this[_0x58e482(0xc7)][_0x58e482(0x2ee)](_0xa6d8b3)?this['_entities'][_0x58e482(0x21a)](_0xa6d8b3)['cursorInfo$']:this[_0x58e482(0x218)][_0x58e482(0x2f3)](_0x4a3af0[_0x58e482(0x1ca)](_0x115bdd=>_0x115bdd[_0x58e482(0x1e1)]===_0xa6d8b3),_0x4a3af0[_0x58e482(0x18e)](_0x10a090=>_0x10a090[_0x58e482(0x2dd)]));}[_0x195f34(0xf5)](){const _0x4ab66d=_0x195f34;this[_0x4ab66d(0x1cb)]['getTypeOfUnitAdded$'](_0x404026[_0x4ab66d(0x290)][_0x4ab66d(0x304)])['pipe'](_0x4a3af0[_0x4ab66d(0x27b)](this[_0x4ab66d(0x30e)]))[_0x4ab66d(0x246)](async _0x564b76=>{const _0x2a4df7=_0x4ab66d,_0x139bab=_0x564b76[_0x2a4df7(0x19f)](),_0x41b4a3=await this[_0x2a4df7(0x1e4)](_0x139bab);this[_0x2a4df7(0x218)][_0x2a4df7(0x1d6)](_0x41b4a3),this['_entities'][_0x2a4df7(0x316)](_0x139bab,_0x41b4a3);}),this[_0x4ab66d(0x1cb)][_0x4ab66d(0x284)](_0x404026['UniverInstanceType'][_0x4ab66d(0x231)])[_0x4ab66d(0x2f3)](_0x4a3af0[_0x4ab66d(0x27b)](this[_0x4ab66d(0x30e)]))[_0x4ab66d(0x2f3)](_0x4a3af0[_0x4ab66d(0x1ca)](_0x23e940=>!_0x23e940[_0x4ab66d(0x19f)]()[_0x4ab66d(0x2d6)]('__')))[_0x4ab66d(0x246)](async _0x982596=>{const _0x28c983=_0x4ab66d,_0x484e54=_0x982596[_0x28c983(0x19f)](),_0x33f1fc=await this[_0x28c983(0x25a)](_0x484e54);this[_0x28c983(0x218)][_0x28c983(0x1d6)](_0x33f1fc),this[_0x28c983(0xc7)][_0x28c983(0x316)](_0x484e54,_0x33f1fc);}),_0x4a3af0[_0x4ab66d(0x1b4)](this[_0x4ab66d(0x1cb)][_0x4ab66d(0x2c4)](_0x404026[_0x4ab66d(0x290)][_0x4ab66d(0x231)]),this[_0x4ab66d(0x1cb)][_0x4ab66d(0x2c4)](_0x404026[_0x4ab66d(0x290)][_0x4ab66d(0x304)]))[_0x4ab66d(0x2f3)](_0x4a3af0[_0x4ab66d(0x27b)](this[_0x4ab66d(0x30e)]))['subscribe'](_0x51ddb0=>{const _0x9b7cdf=_0x4ab66d,_0x1d76c4=_0x51ddb0['getUnitId'](),_0x4bc84c=this['_entities'][_0x9b7cdf(0x21a)](_0x1d76c4);_0x4bc84c&&(_0x4bc84c[_0x9b7cdf(0x275)](),this[_0x9b7cdf(0xc7)][_0x9b7cdf(0x197)](_0x1d76c4));});}async['_startSheetCollabCursor'](_0x4c1528){const _0x2a13dd=_0x195f34,_0x3fd7af=await this[_0x2a13dd(0x240)][_0x2a13dd(0xdd)](_0x4c1528),_0x28f86a=this[_0x2a13dd(0x2df)][_0x2a13dd(0x140)](_0x523efd,_0x4c1528,_0x3fd7af);return _0x28f86a[_0x2a13dd(0x1dc)](),_0x28f86a;}async['_startDocCollabCursor'](_0x5defe9){const _0x598d14=_0x195f34,_0x46f080=await this['_collabSessionService'][_0x598d14(0xdd)](_0x5defe9),_0x3c1edc=this[_0x598d14(0x2df)]['createInstance'](_0x366001,_0x5defe9,_0x46f080);return _0x3c1edc['init'](),_0x3c1edc;}};_0x38d523=_0x70fa28([_0x1a7139(0x0,_0x404026[_0x195f34(0xc8)]),_0x1a7139(0x1,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x1a7139(0x2,_0x404026[_0x195f34(0x2ef)](_0x175918[_0x195f34(0x1ba)]))],_0x38d523);const _0x1e54db=0x14,_0x2067ed=0xc8,_0x4fbfa1=0x4,_0x37cbef=0x5;function _0x1a3e3e(_0xc326de,_0x418eac){const _0xee2bd1=_0x195f34;let {radius:_0x222e5b,width:_0x114cbe,height:_0x44b1ef}=_0x418eac;_0x222e5b=_0x222e5b!=null?_0x222e5b:0x0,_0x114cbe=_0x114cbe!=null?_0x114cbe:0x1e,_0x44b1ef=_0x44b1ef!=null?_0x44b1ef:0x1e;let _0x475381=0x0,_0x40ea8c=0x0,_0x223928=0x0;_0x475381=_0x40ea8c=_0x223928=Math[_0xee2bd1(0x2d2)](_0x222e5b,_0x114cbe/0x2,_0x44b1ef/0x2),_0xc326de[_0xee2bd1(0x1f0)](),_0xc326de[_0xee2bd1(0x247)](_0x475381,0x0),_0xc326de[_0xee2bd1(0x30d)](_0x114cbe-_0x40ea8c,0x0),_0xc326de[_0xee2bd1(0x236)](_0x114cbe-_0x40ea8c,_0x40ea8c,_0x40ea8c,Math['PI']*0x3/0x2,0x0,!0x1),_0xc326de[_0xee2bd1(0x30d)](_0x114cbe,_0x44b1ef-_0x223928),_0xc326de[_0xee2bd1(0x236)](_0x114cbe-_0x223928,_0x44b1ef-_0x223928,_0x223928,0x0,Math['PI']/0x2,!0x1),_0xc326de[_0xee2bd1(0x30d)](0x0,_0x44b1ef),_0xc326de[_0xee2bd1(0x30d)](0x0,_0x475381),_0xc326de[_0xee2bd1(0x236)](_0x475381,_0x475381,_0x475381,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xc326de[_0xee2bd1(0x1d8)](),_0x418eac[_0xee2bd1(0x25c)]&&(_0xc326de[_0xee2bd1(0x29a)](),_0xc326de[_0xee2bd1(0x26b)]=_0x418eac[_0xee2bd1(0x25c)],_0x418eac[_0xee2bd1(0x307)]===_0xee2bd1(0xbe)?_0xc326de[_0xee2bd1(0x25c)]('evenodd'):_0xc326de[_0xee2bd1(0x25c)](),_0xc326de[_0xee2bd1(0x18a)]());}class _0x30b135 extends _0x112353[_0x195f34(0x226)]{constructor(_0x3247df,_0x37a5eb){const _0x5d0f87=_0x195f34;super(_0x3247df,_0x37a5eb),_0x2f983b(this,'color'),_0x2f983b(this,_0x5d0f87(0x204)),(this[_0x5d0f87(0xc0)]=_0x37a5eb==null?void 0x0:_0x37a5eb[_0x5d0f87(0xc0)],this[_0x5d0f87(0x204)]=_0x37a5eb==null?void 0x0:_0x37a5eb['text']);}static[_0x195f34(0x286)](_0x12db14,_0x563249){const _0x2040ca=_0x195f34,{text:_0x2f38c9,color:_0x38836a}=_0x563249;_0x12db14[_0x2040ca(0x29a)](),_0x12db14[_0x2040ca(0x30c)]=_0x2040ca(0x302);const _0x4ba751=_0x12db14[_0x2040ca(0x1ff)](_0x2f38c9)[_0x2040ca(0x2d3)],_0x9207df=Math['min'](_0x4ba751+0x2*_0x4fbfa1,_0x2067ed);_0x1a3e3e(_0x12db14,{'height':_0x1e54db,'radius':0x4,'width':_0x9207df,'fill':_0x38836a}),_0x12db14['fillStyle']=_0x2040ca(0x299);const _0x258693=_0x4fbfa1,_0xec5d10=_0x1e54db-_0x37cbef,_0x1ecd55=_0x2067ed-0x2*_0x4fbfa1;if(_0x4ba751>_0x1ecd55){let _0x4a4794='',_0x27f7e1=0x0;for(const _0x5bc3a5 of _0x2f38c9){const _0x48c3ad=_0x12db14['measureText'](_0x5bc3a5)[_0x2040ca(0x2d3)];if(_0x27f7e1+_0x48c3ad<=_0x1ecd55-_0x12db14[_0x2040ca(0x1ff)](_0x2040ca(0x28c))[_0x2040ca(0x2d3)])_0x4a4794+=_0x5bc3a5,_0x27f7e1+=_0x48c3ad;else{_0x4a4794+=_0x2040ca(0x28c);break;}}_0x12db14[_0x2040ca(0x11d)](_0x4a4794,_0x258693,_0xec5d10);}else _0x12db14['fillText'](_0x2f38c9,_0x258693,_0xec5d10);_0x12db14['restore']();}['_draw'](_0x2c7158){const _0x38514d=_0x195f34;_0x30b135[_0x38514d(0x286)](_0x2c7158,this);}}const _0x1754a8=_0x195f34(0x337),_0x184dc6='collab-text-range-',_0xeb5606=_0x195f34(0x16e),_0x530ee4=0x6,_0x173172=1.5,_0x35aa66=0x4,_0x4fdf29=1.5,_0x42e95c='rgba(255,\x20255,\x20255,\x200.01)';class _0x5c484e{constructor(_0x588293,_0x12ea96,_0xbc3ce0,_0x3c9b58){const _0x1ad889=_0x195f34;_0x2f983b(this,_0x1ad889(0x144),[]),_0x2f983b(this,_0x1ad889(0x29d),null),_0x2f983b(this,_0x1ad889(0x26f),null),_0x2f983b(this,_0x1ad889(0x108),null),_0x2f983b(this,_0x1ad889(0x11a),null),_0x2f983b(this,'_eventUnsubscribe',null),(this[_0x1ad889(0x294)]=_0x588293,this[_0x1ad889(0x277)]=_0x12ea96,this[_0x1ad889(0xff)]=_0xbc3ce0,this[_0x1ad889(0x336)]=_0x3c9b58,this[_0x1ad889(0x340)]());}set[_0x195f34(0x15b)](_0x56950c){const _0x8ce5b9=_0x195f34;_0x56950c?(this[_0x8ce5b9(0x108)]&&this[_0x8ce5b9(0x108)][_0x8ce5b9(0x1c0)](),this[_0x8ce5b9(0x26f)]&&this[_0x8ce5b9(0x26f)][_0x8ce5b9(0x253)]()):(this['_anchorDot']&&this[_0x8ce5b9(0x108)][_0x8ce5b9(0x253)](),this[_0x8ce5b9(0x26f)]&&this[_0x8ce5b9(0x26f)]['hide']());}[_0x195f34(0x275)](){const _0xadf099=_0x195f34;for(const _0x45b820 of this[_0xadf099(0x144)])_0x45b820[_0xadf099(0x275)]();this['_textBubble']&&this[_0xadf099(0x26f)][_0xadf099(0x275)](),this[_0xadf099(0x108)]&&this[_0xadf099(0x108)][_0xadf099(0x275)](),this['_anchor']&&this[_0xadf099(0x29d)][_0xadf099(0x275)](),this[_0xadf099(0x10c)]&&this[_0xadf099(0x10c)]();}[_0x195f34(0x340)](){const _0x12ab1e=_0x195f34;var _0x3862f5;const {_docSkeleton:_0x2bb60a,_document:_0x45cbd3}=this,{color:_0xed35f8,name:_0x4ff468,ranges:_0x15c753}=this['_cursor'],_0x8ad896=_0x45cbd3[_0x12ab1e(0xda)](),{docsLeft:_0x4394fc,docsTop:_0x540087}=_0x8ad896,_0x3810bc=new _0x2bec5e['NodePositionConvertToCursor'](_0x8ad896,_0x2bb60a);for(const {startOffset:_0x194c5f,endOffset:_0x2b8b0c,rangeType:_0x8f2be0,segmentId:_0x586308,segmentPage:_0x2ba62f,collapsed:_0x42260e,isActive:_0x593f43}of _0x15c753){const _0x1585ed=_0x2bb60a[_0x12ab1e(0x1fe)](_0x194c5f,!0x0,_0x586308,_0x2ba62f);let _0x36cf79=_0x2bb60a[_0x12ab1e(0x1fe)](_0x2b8b0c,!0x0,_0x586308,_0x2ba62f);if(_0x36cf79==null&&(_0x36cf79=_0x2bb60a['findNodePositionByCharIndex'](_0x2b8b0c-0x1,!0x1,_0x586308,_0x2ba62f)),_0x593f43){const {contentBoxPointGroup:_0x158662}=_0x3810bc[_0x12ab1e(0x179)](_0x36cf79,_0x36cf79);if(_0x158662[_0x12ab1e(0x2eb)]===0x0)continue;this[_0x12ab1e(0x2cc)](_0xed35f8,_0x158662,_0x4394fc,_0x540087,_0x4ff468),this['_eventUnsubscribe']=this[_0x12ab1e(0x1d4)]();}if(_0x1585ed&&_0x36cf79){if(_0x8f2be0===_0x404026['DOC_RANGE_TYPE'][_0x12ab1e(0x20f)]){const _0x50b8ef=new _0x2bec5e[(_0x12ab1e(0x23e))](_0x8ad896,_0x2bb60a),{pointGroup:_0x462ef5}=(_0x3862f5=_0x50b8ef[_0x12ab1e(0x179)](_0x1585ed,_0x36cf79))!=null?_0x3862f5:{};if(_0x462ef5==null||_0x462ef5['length']===0x0)continue;this[_0x12ab1e(0x213)](_0xed35f8,_0x462ef5,_0x4394fc,_0x540087);}else{if(!_0x42260e){const {borderBoxPointGroup:_0x302fc8}=_0x3810bc[_0x12ab1e(0x179)](_0x1585ed,_0x36cf79);if(_0x302fc8[_0x12ab1e(0x2eb)]===0x0)continue;this[_0x12ab1e(0x191)](_0xed35f8,_0x302fc8,_0x4394fc,_0x540087);}}}}}[_0x195f34(0x2cc)](_0x1809db,_0x1fe759,_0x1c7f51,_0x53f158,_0x223cc2){const _0x590896=_0x195f34,_0x3f8bb9=this[_0x590896(0x12a)](_0x1fe759),{left:_0x1fd7d6,top:_0x1ab06a,height:_0x4ba885}=_0x3f8bb9,_0x2f44a4=this[_0x590896(0x1c4)](),_0x51a3b2=_0x4fdf29/_0x2f44a4,_0x5a16ff=new _0x112353['Rect'](_0x1754a8+_0x404026[_0x590896(0x161)][_0x590896(0xe8)](_0x530ee4),{'left':_0x1fd7d6+_0x1c7f51-_0x51a3b2,'top':_0x1ab06a+_0x53f158,'height':_0x4ba885,'width':_0x173172,'fill':_0x1809db||_0x112353['getColor'](_0x404026[_0x590896(0x315)][_0x590896(0x33b)],0x0),'strokeWidth':_0x51a3b2,'stroke':_0x42e95c,'evented':!0x0});this[_0x590896(0x29d)]=_0x5a16ff,this[_0x590896(0x277)][_0x590896(0xd1)](_0x5a16ff,_0x2bec5e[_0x590896(0x21f)]);const _0x3610d1=new _0x112353[(_0x590896(0xdf))](_0x1754a8+_0x404026[_0x590896(0x161)]['generateRandomId'](_0x530ee4),{'left':_0x1fd7d6+_0x1c7f51-_0x51a3b2,'top':_0x1ab06a+_0x53f158-_0x35aa66/0x2,'height':_0x35aa66,'width':_0x35aa66,'fill':_0x1809db||_0x112353[_0x590896(0x323)](_0x404026[_0x590896(0x315)][_0x590896(0x33b)],0x0),'strokeWidth':0x0,'stroke':_0x1809db||_0x112353[_0x590896(0x323)](_0x404026[_0x590896(0x315)][_0x590896(0x33b)],0x0),'evented':!0x1});this[_0x590896(0x108)]=_0x3610d1,this[_0x590896(0x277)][_0x590896(0xd1)](_0x3610d1,_0x2bec5e['TEXT_RANGE_LAYER_INDEX']);const _0x3995b5=new _0x30b135(_0x1754a8+_0x404026['Tools'][_0x590896(0xe8)](_0x530ee4),{'left':_0x1fd7d6+_0x1c7f51-_0x51a3b2,'top':_0x1ab06a+_0x53f158-_0x1e54db,'text':_0x223cc2,'color':_0x1809db});this['_textBubble']=_0x3995b5,this[_0x590896(0x277)][_0x590896(0xd1)](_0x3995b5,_0x2bec5e[_0x590896(0x21f)]),this['_hover']=!0x1;}[_0x195f34(0x1d4)](){const _0x1fe39b=_0x195f34,_0x541e74=this[_0x1fe39b(0x29d)][_0x1fe39b(0x234)][_0x1fe39b(0x33d)](()=>{const _0x49b394=_0x1fe39b;this[_0x49b394(0x15b)]=!0x0;}),_0x3a9454=this[_0x1fe39b(0x29d)][_0x1fe39b(0x343)][_0x1fe39b(0x33d)](()=>{const _0x4ef988=_0x1fe39b;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x4ef988(0x11a)]=setTimeout(()=>{const _0x427e31=_0x4ef988;this[_0x427e31(0x15b)]=!0x1;},0x7d0);});return()=>{const _0xf8238=_0x1fe39b;_0x541e74[_0xf8238(0x241)](),_0x3a9454['unsubscribe']();};}['_drawTextRange'](_0x1cae7d,_0x1bcc6a,_0x3fea06,_0x3fd7f2){const _0x4337ce=_0x195f34,_0x9a743d=new _0x404026[(_0x4337ce(0x2b4))](_0x1cae7d)[_0x4337ce(0x19e)](0.2)[_0x4337ce(0x2fc)](),_0x1d2ec6=new _0x112353[(_0x4337ce(0x1f9))](_0x184dc6+_0x404026[_0x4337ce(0x161)][_0x4337ce(0xe8)](_0x530ee4),{'pointsGroup':_0x1bcc6a,'fill':_0x9a743d||_0x112353[_0x4337ce(0x323)](_0x404026[_0x4337ce(0x315)][_0x4337ce(0x33b)],0.2),'left':_0x3fea06,'top':_0x3fd7f2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x1d2ec6),this[_0x4337ce(0x277)][_0x4337ce(0xd1)](_0x1d2ec6,_0x2bec5e[_0x4337ce(0x21f)]);}[_0x195f34(0x213)](_0xedae96,_0x29e649,_0x5e774d,_0x237431){const _0x81dd9a=_0x195f34,_0x15c8e1=new _0x404026[(_0x81dd9a(0x2b4))](_0xedae96)[_0x81dd9a(0x19e)](0.2)[_0x81dd9a(0x2fc)](),_0x2d71af=new _0x112353[(_0x81dd9a(0x1f9))](_0xeb5606+_0x404026[_0x81dd9a(0x161)]['generateRandomId'](_0x530ee4),{'pointsGroup':_0x29e649,'fill':_0x15c8e1||_0x112353[_0x81dd9a(0x323)](_0x404026[_0x81dd9a(0x315)][_0x81dd9a(0x33b)],0.2),'left':_0x5e774d,'top':_0x237431,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x81dd9a(0xbf)](_0x2d71af),this['_scene']['addObject'](_0x2d71af,_0x2bec5e[_0x81dd9a(0x21f)]);}['_getAnchorBounding'](_0x234f8b){const _0x27078b=_0x234f8b[0x0],_0x43ce3b=_0x27078b[0x0],_0x59daeb=_0x27078b[0x2],{x:_0x556393,y:_0x4fb881}=_0x43ce3b,{x:_0x19d469,y:_0x5d91d7}=_0x59daeb;return{'left':_0x556393,'top':_0x4fb881,'width':_0x19d469-_0x556393,'height':_0x5d91d7-_0x4fb881};}[_0x195f34(0x1c4)](){const _0x577e39=_0x195f34,{scaleX:_0x4a781c,scaleY:_0x51be2a}=this[_0x577e39(0x277)][_0x577e39(0x255)]();return Math['max'](_0x4a781c,_0x51be2a);}}var _0x318d39=Object[_0x195f34(0x242)],_0x1b6eb=(_0x3e941c,_0x16a075,_0x31a495,_0x36efe4)=>{const _0x164701=_0x195f34;for(var _0x1064b1=_0x36efe4>0x1?void 0x0:_0x36efe4?_0x318d39(_0x16a075,_0x31a495):_0x16a075,_0x43b419=_0x3e941c[_0x164701(0x2eb)]-0x1,_0x3c5999;_0x43b419>=0x0;_0x43b419--)(_0x3c5999=_0x3e941c[_0x43b419])&&(_0x1064b1=_0x3c5999(_0x1064b1)||_0x1064b1);return _0x1064b1;},_0x32e4ff=(_0x2bcde0,_0x253885)=>(_0x2269f9,_0x70eda8)=>_0x253885(_0x2269f9,_0x70eda8,_0x2bcde0);let _0xedb427=class extends _0x404026[_0x195f34(0x2b7)]{constructor(_0x5a0ee8,_0x4915a6,_0x39ddf5,_0x439ca7,_0x3a8a05){const _0x53f3af=_0x195f34;super(),_0x2f983b(this,_0x53f3af(0x137),[]),_0x2f983b(this,_0x53f3af(0x20d),[]),(this['_context']=_0x5a0ee8,this[_0x53f3af(0x32d)]=_0x4915a6,this['_collabCursorController']=_0x39ddf5,this['_commandService']=_0x439ca7,this['_themeService']=_0x3a8a05,this[_0x53f3af(0xf5)]());}[_0x195f34(0xf5)](){const _0xedb892=_0x195f34,_0x16f6cb=this[_0xedb892(0x305)][_0xedb892(0x28a)],_0x2d890f=this[_0xedb892(0x32d)];this[_0xedb892(0xd5)](_0x4a3af0[_0xedb892(0x2ca)]([this['_collabCursorController'][_0xedb892(0x230)](_0x16f6cb),this['_themeService'][_0xedb892(0x345)]])[_0xedb892(0x2f3)](_0x59a115[_0xedb892(0xe1)](([_0x1b684e,_0xa64fbb])=>({'skeleton':_0x2d890f[_0xedb892(0x29c)](),'cursors':[..._0x1b684e[_0xedb892(0x113)]()]['flatMap'](_0x52ac1d=>({..._0x52ac1d,'color':_0xa64fbb[_0x52ac1d[_0xedb892(0xc0)]]}))})))[_0xedb892(0x246)](_0x22ec94=>{const _0x6d274a=_0xedb892;if(this[_0x6d274a(0x120)](),_0x22ec94){const {skeleton:_0x3ef1a3,cursors:_0x2a2a67}=_0x22ec94;this[_0x6d274a(0x206)](_0x3ef1a3,_0x2a2a67);}})),this[_0xedb892(0xf9)](),this[_0xedb892(0x264)]();}[_0x195f34(0x206)](_0x352b1a,_0x5dd731){const _0x27096b=_0x195f34,{scene:_0x30a871,mainComponent:_0x32b663}=this['_context'],_0x4ef4b1=_0x5dd731[_0x27096b(0xe1)](_0x1b0006=>new _0x5c484e(_0x1b0006,_0x30a871,_0x352b1a,_0x32b663));this[_0x27096b(0x137)]=_0x4ef4b1,this[_0x27096b(0x20d)]=_0x5dd731;}[_0x195f34(0x1a1)](){const _0x13978d=_0x195f34;this[_0x13978d(0x120)]();const {scene:_0x3f5055,mainComponent:_0x5aa993}=this[_0x13978d(0x305)],_0x118601=this['_docSkeletonManagerService'][_0x13978d(0x29c)](),_0x466a8a=this[_0x13978d(0x20d)][_0x13978d(0xe1)](_0x37d975=>new _0x5c484e(_0x37d975,_0x3f5055,_0x118601,_0x5aa993));this[_0x13978d(0x137)]=_0x466a8a;}[_0x195f34(0x120)](){const _0x4a5729=_0x195f34;this[_0x4a5729(0x137)]['forEach'](_0x5c340f=>_0x5c340f[_0x4a5729(0x275)]()),this[_0x4a5729(0x137)]=[];}['_initCommandExecutedListener'](){const _0x1eb141=_0x195f34,_0x3fe6d7=[_0x2bec5e[_0x1eb141(0x106)]['id']];this['disposeWithMe'](this[_0x1eb141(0x216)]['onCommandExecuted'](_0x18b6b0=>{const _0x18551a=_0x1eb141;_0x3fe6d7['includes'](_0x18b6b0['id'])&&_0x18b6b0[_0x18551a(0x1a2)][_0x18551a(0x28a)]===this['_context'][_0x18551a(0x28a)]&&this['_refreshCollabCursors']();}));}[_0x195f34(0xf9)](){const _0x13f955=_0x195f34;this[_0x13f955(0xd5)](_0x404026['fromEventSubject'](this[_0x13f955(0x305)][_0x13f955(0xf2)]['onTransformChange$'])['pipe'](_0x59a115['filter'](_0x1e2682=>_0x1e2682['type']===_0x112353[_0x13f955(0x142)]['resize']),_0x59a115[_0x13f955(0x20a)](0x10))[_0x13f955(0x246)](()=>{const _0x48bbbf=_0x13f955;this[_0x48bbbf(0x1a1)]();}));}};_0xedb427=_0x1b6eb([_0x32e4ff(0x1,_0x404026['Inject'](_0x121a01[_0x195f34(0x2dc)])),_0x32e4ff(0x2,_0x404026['Inject'](_0x38d523)),_0x32e4ff(0x3,_0x404026[_0x195f34(0x2ed)]),_0x32e4ff(0x4,_0x404026['Inject'](_0x404026['ThemeService']))],_0xedb427);const _0x2fde45=0x1,_0x4d34dc=1.5;class _0x3796fc extends _0x112353[_0x195f34(0x226)]{constructor(_0x3a224f,_0x19d42b){const _0x27f1d3=_0x195f34;super(_0x3a224f,_0x19d42b),_0x2f983b(this,_0x27f1d3(0x2d1)),_0x2f983b(this,_0x27f1d3(0xbd),!0x1),_0x2f983b(this,_0x27f1d3(0x303)),_0x2f983b(this,_0x27f1d3(0x1da),''),_0x2f983b(this,_0x27f1d3(0x101),'top'),_0x2f983b(this,_0x27f1d3(0x17e)),(_0x19d42b&&this['setShapeProps'](_0x19d42b),this[_0x27f1d3(0x234)][_0x27f1d3(0x33d)](()=>this[_0x27f1d3(0x25d)]({'hovered':!0x0})),this[_0x27f1d3(0x343)]['subscribeEvent'](()=>this[_0x27f1d3(0x25d)]({'hovered':!0x1})));}['setShapeProps'](_0x42b1b1){const _0x346f0f=_0x195f34;var _0x1b23e5,_0x11dae5,_0x31f622,_0x42a253,_0x1ab572,_0x19a8fc;this[_0x346f0f(0x2d1)]=(_0x1b23e5=_0x42b1b1[_0x346f0f(0xc0)])!=null?_0x1b23e5:this['_color'],this[_0x346f0f(0xbd)]=(_0x11dae5=_0x42b1b1[_0x346f0f(0x13b)])!=null?_0x11dae5:this[_0x346f0f(0xbd)],this['_range']=(_0x31f622=_0x42b1b1[_0x346f0f(0x122)])!=null?_0x31f622:this['_range'],this[_0x346f0f(0x1da)]=(_0x42a253=_0x42b1b1['name'])!=null?_0x42a253:this[_0x346f0f(0x1da)],this['_labelPosition']=(_0x1ab572=_0x42b1b1[_0x346f0f(0x169)])!=null?_0x1ab572:this[_0x346f0f(0x101)],this[_0x346f0f(0x17e)]=(_0x19a8fc=_0x42b1b1[_0x346f0f(0x110)])!=null?_0x19a8fc:this[_0x346f0f(0x17e)],this[_0x346f0f(0x217)]({'width':_0x42b1b1[_0x346f0f(0x2d3)],'height':_0x42b1b1[_0x346f0f(0x10f)]});}[_0x195f34(0x2d8)](_0x351e58){const _0x4d2fd1=_0x195f34,{row:_0x3d453c,column:_0x1133c5}=_0x351e58;if(_0x3d453c>=this[_0x4d2fd1(0x303)][_0x4d2fd1(0x1e6)]&&_0x3d453c<=this[_0x4d2fd1(0x303)]['endRow']&&_0x1133c5>=this[_0x4d2fd1(0x303)][_0x4d2fd1(0x292)]&&_0x1133c5<=this[_0x4d2fd1(0x303)][_0x4d2fd1(0x10e)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4d2fd1(0x25d)]({'hovered':!0x1});}[_0x195f34(0xfe)](_0x2e87aa){return!0x1;}[_0x195f34(0x136)](_0x4cd8e0){const _0x16c0e5=_0x195f34;_0x112353[_0x16c0e5(0xdf)]['drawWith'](_0x4cd8e0,{'width':this['width'],'height':this[_0x16c0e5(0x10f)],'strokeWidth':_0x4d34dc,'stroke':this[_0x16c0e5(0x2d1)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x16c0e5(0xbd)]&&(_0x4cd8e0[_0x16c0e5(0x29a)](),_0x4cd8e0['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x16c0e5(0x101)]===_0x16c0e5(0x227)?0x0:-0x14),_0x30b135[_0x16c0e5(0x286)](_0x4cd8e0,{'text':this[_0x16c0e5(0x1da)],'color':this['_color']}),_0x4cd8e0[_0x16c0e5(0x18a)]());}}var _0x5d511e=Object[_0x195f34(0x242)],_0x576b01=(_0x21e18d,_0x4d48c9,_0x1282b9,_0xdb67ff)=>{for(var _0x8f4e9d=_0xdb67ff>0x1?void 0x0:_0xdb67ff?_0x5d511e(_0x4d48c9,_0x1282b9):_0x4d48c9,_0x14c987=_0x21e18d['length']-0x1,_0x13e72a;_0x14c987>=0x0;_0x14c987--)(_0x13e72a=_0x21e18d[_0x14c987])&&(_0x8f4e9d=_0x13e72a(_0x8f4e9d)||_0x8f4e9d);return _0x8f4e9d;},_0x2dd67e=(_0x37b617,_0x5a488e)=>(_0x246874,_0x6b0e3a)=>_0x5a488e(_0x246874,_0x6b0e3a,_0x37b617);const _0x57c28a=0x1389;let _0x933b32=class extends _0x404026[_0x195f34(0x2b7)]{constructor(_0x152ad2,_0x287968,_0x1208a8,_0x12d68a){const _0x43a0b5=_0x195f34;super(),_0x2f983b(this,'_cursors',new Set()),_0x2f983b(this,_0x43a0b5(0x224),null),(this['_context']=_0x152ad2,this[_0x43a0b5(0x1b3)]=_0x287968,this['_collabCursorController']=_0x1208a8,this[_0x43a0b5(0x167)]=_0x12d68a,this[_0x43a0b5(0xf5)]());}[_0x195f34(0xf5)](){const _0xd6ee31=_0x195f34;this[_0xd6ee31(0x1b3)][_0xd6ee31(0x1c6)][_0xd6ee31(0x2f3)](_0x59a115['takeUntil'](this[_0xd6ee31(0x30e)]),_0x59a115['switchMap'](_0x501edd=>{const _0x276328=_0xd6ee31;if(_0x501edd){const _0x2570b0=_0x501edd[_0x276328(0x2a8)];return _0x4a3af0[_0x276328(0x2ca)](this[_0x276328(0x22b)][_0x276328(0x230)](this[_0x276328(0x305)]['unitId']),this[_0x276328(0x167)][_0x276328(0x345)])['pipe'](_0x59a115['map'](([_0x2905c6,_0x5d748d])=>{const _0x1b95b3=new Map();return _0x2905c6['forEach']((_0x3309c6,_0x43bde8)=>{const _0x52b9f4=_0x2cf8;if(_0x3309c6[_0x52b9f4(0x141)]===_0x2570b0){const _0x63bb8f={..._0x3309c6};_0x63bb8f[_0x52b9f4(0xc0)]=_0x5d748d[_0x3309c6[_0x52b9f4(0xc0)]],_0x1b95b3[_0x52b9f4(0x316)](_0x43bde8,_0x63bb8f);}}),{'skeleton':_0x501edd,'cursors':_0x1b95b3};}));}return _0x4a3af0['of']({'skeleton':null,'cursors':new Map()});}))[_0xd6ee31(0x246)](({skeleton:_0x6998dd,cursors:_0x3d5d70})=>{this['_removeCollabCursors'](),_0x6998dd&&this['_updateCollabCursors'](_0x6998dd,_0x3d5d70);}),this[_0xd6ee31(0x1b3)]['currentSkeleton$'][_0xd6ee31(0x246)](_0x2d13ce=>{const _0x3f42cd=_0xd6ee31;if(_0x2d13ce==null)return;const {skeleton:_0x5289a5}=_0x2d13ce,{scene:_0x59e860}=this[_0x3f42cd(0x305)];_0x59e860[_0x3f42cd(0x263)][_0x3f42cd(0x33d)](_0x404026[_0x3f42cd(0x2de)](_0x20a62d=>{const _0x501b13=_0x3f42cd;var _0x536ea0,_0x59a045;const {offsetX:_0xe19196,offsetY:_0x260284}=_0x20a62d,{x:_0x4e5176,y:_0x368fd3}=_0x59e860[_0x501b13(0x32c)](_0x112353['Vector2'][_0x501b13(0x1c7)]([_0xe19196,_0x260284])),{scaleX:_0x56f294,scaleY:_0x1a4669}=_0x59e860[_0x501b13(0x255)](),_0x2042db=_0x59e860[_0x501b13(0x27c)](_0x112353[_0x501b13(0x26d)][_0x501b13(0x32f)]),_0x543100=_0x59e860[_0x501b13(0xba)](_0x112353[_0x501b13(0x1b0)][_0x501b13(0x1c7)]([_0x4e5176,_0x368fd3]),_0x2042db),_0x210f83=_0x5289a5[_0x501b13(0x1b8)](_0xe19196,_0x260284,_0x56f294,_0x1a4669,_0x543100);((_0x536ea0=this[_0x501b13(0x224)])==null?void 0x0:_0x536ea0[_0x501b13(0x26c)])===_0x210f83['column']&&((_0x59a045=this[_0x501b13(0x224)])==null?void 0x0:_0x59a045[_0x501b13(0x2fe)])===_0x210f83[_0x501b13(0x2fe)]||this[_0x501b13(0x20d)][_0x501b13(0x2ce)](_0x447fc5=>{const _0x2da9a5=_0x501b13;_0x447fc5[_0x2da9a5(0x2d8)](_0x210f83);});},0x64));});}[_0x195f34(0x206)](_0x208bcb,_0x2dc580){const _0x23a0f8=_0x195f34;var _0x3ebadf;const _0x3319bb=(_0x3ebadf=this[_0x23a0f8(0x1b3)][_0x23a0f8(0x29f)]())==null?void 0x0:_0x3ebadf['skeleton'];if(!_0x3319bb)return;const _0x31b7f8=this['_getSheetObject']();if(!_0x31b7f8)return;this['_cursors']['forEach'](_0x1109d5=>{const _0x17120b=_0x23a0f8;_0x1109d5[_0x17120b(0x1f5)]();});const {scene:_0x36182f}=_0x31b7f8,_0x47da43=_0x42d0a1(Array[_0x23a0f8(0xc4)](_0x2dc580[_0x23a0f8(0x113)]()))['map'](_0x595d28=>{const _0xcade8a=_0x23a0f8,{color:_0x4b13bd,range:_0x4d8665,name:_0x407f92,selection:_0x43aa27,sheetID:_0x4ff332}=_0x595d28,{startColumn:_0x14ed34,startRow:_0x133408,endColumn:_0x1befde,endRow:_0x1c35ca}=_0x4d8665,_0x3fb8cd=_0x954753[_0xcade8a(0x1b1)](_0x133408,_0x14ed34,_0x36182f,_0x3319bb),_0x55f4a6=_0x954753[_0xcade8a(0x1b1)](_0x1c35ca,_0x1befde,_0x36182f,_0x3319bb),{columnHeaderHeightAndMarginTop:_0x2d6169}=_0x3319bb,{startX:_0x3f62b2,startY:_0x4f967f}=_0x3fb8cd,{endX:_0x3ffae2,endY:_0x57e047}=_0x55f4a6,_0x1ed0fe=_0x3ffae2-_0x3f62b2,_0x8400f4=_0x57e047-_0x4f967f,_0x334e37={'labelPosition':_0x4f967f-_0x2d6169>=_0x1e54db?'top':'bottom','sheetID':_0x4ff332,'range':_0x4d8665,'color':_0x4b13bd,'name':_0x407f92,'selection':_0x43aa27,'left':_0x3f62b2,'top':_0x4f967f,'width':_0x1ed0fe,'height':_0x8400f4,'evented':!0x1,'zIndex':_0x57c28a};return new _0x3796fc(_0x407f92,_0x334e37);});_0x36182f[_0x23a0f8(0x2d5)](_0x47da43,_0x2fde45),this['_cursors']=new Set(_0x47da43);}['_removeCollabCursors'](){const _0x2baf0c=_0x195f34;var _0xb3cfd3;(_0xb3cfd3=this[_0x2baf0c(0x20d)])==null||_0xb3cfd3[_0x2baf0c(0x2ce)](_0x2cc661=>_0x2cc661[_0x2baf0c(0x275)]());}['_getSheetObject'](){const _0x572aad=_0x195f34;return _0x954753[_0x572aad(0x138)](this[_0x572aad(0x305)]['unit'],this['_context']);}};_0x933b32=_0x576b01([_0x2dd67e(0x1,_0x404026[_0x195f34(0x2ef)](_0x954753[_0x195f34(0x2ff)])),_0x2dd67e(0x2,_0x404026[_0x195f34(0x2ef)](_0x38d523)),_0x2dd67e(0x3,_0x404026['Inject'](_0x404026[_0x195f34(0x238)]))],_0x933b32);function _0x42d0a1(_0x49eb65){const _0x440c7a=_0x195f34,_0x2dd866=new Map();return _0x49eb65['forEach'](_0x52e502=>{const _0x494c1a=_0x2cf8;if(_0x2dd866[_0x494c1a(0x2ee)](_0x52e502[_0x494c1a(0x177)])){const _0x3f1bdc=_0x2dd866[_0x494c1a(0x21a)](_0x52e502[_0x494c1a(0x177)]);_0x3f1bdc[_0x494c1a(0x185)]+=',\x20'+_0x52e502[_0x494c1a(0x185)];}else _0x2dd866[_0x494c1a(0x316)](_0x52e502['selection'],_0x52e502);}),Array['from'](_0x2dd866[_0x440c7a(0x113)]());}var _0x3e01c6=function(){const _0x528236=_0x195f34;return _0x3e01c6=Object[_0x528236(0x1d5)]||function(_0x17b77f){const _0x386bf9=_0x528236;for(var _0x2e875d,_0x29992a=0x1,_0x5d0b44=arguments['length'];_0x29992a<_0x5d0b44;_0x29992a++){_0x2e875d=arguments[_0x29992a];for(var _0x2e07a0 in _0x2e875d)Object[_0x386bf9(0xbc)][_0x386bf9(0x335)][_0x386bf9(0x1d7)](_0x2e875d,_0x2e07a0)&&(_0x17b77f[_0x2e07a0]=_0x2e875d[_0x2e07a0]);}return _0x17b77f;},_0x3e01c6[_0x528236(0x225)](this,arguments);},_0x4f253f=function(_0x1bfc31,_0x270efe){const _0x43029d=_0x195f34;var _0x297beb={};for(var _0x3c773e in _0x1bfc31)Object[_0x43029d(0xbc)][_0x43029d(0x335)][_0x43029d(0x1d7)](_0x1bfc31,_0x3c773e)&&_0x270efe[_0x43029d(0x160)](_0x3c773e)<0x0&&(_0x297beb[_0x3c773e]=_0x1bfc31[_0x3c773e]);if(_0x1bfc31!=null&&typeof Object[_0x43029d(0x170)]==_0x43029d(0x18f)){for(var _0x292550=0x0,_0x3c773e=Object['getOwnPropertySymbols'](_0x1bfc31);_0x292550<_0x3c773e[_0x43029d(0x2eb)];_0x292550++)_0x270efe['indexOf'](_0x3c773e[_0x292550])<0x0&&Object[_0x43029d(0xbc)]['propertyIsEnumerable']['call'](_0x1bfc31,_0x3c773e[_0x292550])&&(_0x297beb[_0x3c773e[_0x292550]]=_0x1bfc31[_0x3c773e[_0x292550]]);}return _0x297beb;},_0x32663e=_0x3ac11['forwardRef'](function(_0x5bc7d4,_0x4e62a7){const _0x5053ca=_0x195f34;var _0x3c5e04=_0x5bc7d4['icon'],_0x14840d=_0x5bc7d4['id'],_0x450d20=_0x5bc7d4[_0x5053ca(0x2c1)],_0x591443=_0x5bc7d4[_0x5053ca(0x272)],_0x529eaf=_0x4f253f(_0x5bc7d4,['icon','id',_0x5053ca(0x2c1),_0x5053ca(0x272)]),_0x4a9f47='univerjs-icon\x20univerjs-icon-'[_0x5053ca(0x219)](_0x14840d,'\x20')[_0x5053ca(0x219)](_0x450d20||'')[_0x5053ca(0x24b)](),_0x18a13e=_0x3ac11[_0x5053ca(0x194)]('_'[_0x5053ca(0x219)](_0x1be95a()));return _0x36abaf(_0x3c5e04,''['concat'](_0x14840d),{'defIds':_0x3c5e04['defIds'],'idSuffix':_0x18a13e[_0x5053ca(0x1ef)]},_0x3e01c6({'ref':_0x4e62a7,'className':_0x4a9f47},_0x529eaf),_0x591443);});function _0x36abaf(_0x5d8dc0,_0x268e71,_0x328b86,_0x40948a,_0x5bd9f8){const _0x1db7ab=_0x195f34;return _0x3ac11[_0x1db7ab(0x295)](_0x5d8dc0[_0x1db7ab(0x196)],_0x3e01c6(_0x3e01c6({'key':_0x268e71},_0x5dd30f(_0x5d8dc0,_0x328b86,_0x5bd9f8)),_0x40948a),(_0x197273(_0x5d8dc0,_0x328b86)[_0x1db7ab(0x24c)]||[])['map'](function(_0x355f4d,_0x35879c){const _0x46e621=_0x1db7ab;return _0x36abaf(_0x355f4d,''[_0x46e621(0x219)](_0x268e71,'-')[_0x46e621(0x219)](_0x5d8dc0[_0x46e621(0x196)],'-')[_0x46e621(0x219)](_0x35879c),_0x328b86,void 0x0,_0x5bd9f8);}));}function _0x5dd30f(_0x10922a,_0x309c48,_0x1dc490){const _0x58f5f6=_0x195f34;var _0x2146ba=_0x3e01c6({},_0x10922a[_0x58f5f6(0x239)]);_0x1dc490!=null&&_0x1dc490['colorChannel1']&&_0x2146ba[_0x58f5f6(0x25c)]==='colorChannel1'&&(_0x2146ba[_0x58f5f6(0x25c)]=_0x1dc490['colorChannel1']),_0x10922a['tag']===_0x58f5f6(0x280)&&_0x2146ba['id']&&(_0x2146ba['id']=_0x2146ba['id']+_0x309c48['idSuffix']),Object[_0x58f5f6(0x12f)](_0x2146ba)[_0x58f5f6(0x2ce)](function(_0x5b2f16){const _0xe92e7e=_0x58f5f6;var _0x4057f6=_0x5b2f16[0x0],_0x277a1e=_0x5b2f16[0x1];_0x4057f6===_0xe92e7e(0x280)&&typeof _0x277a1e==_0xe92e7e(0x148)&&(_0x2146ba[_0x4057f6]=_0x277a1e[_0xe92e7e(0x16f)](/url\(#(.*)\)/,_0xe92e7e(0x31a)[_0xe92e7e(0x219)](_0x309c48['idSuffix'],')')));});var _0x1aec5c=_0x309c48['defIds'];return!_0x1aec5c||_0x1aec5c[_0x58f5f6(0x2eb)]===0x0||(_0x10922a[_0x58f5f6(0x196)]===_0x58f5f6(0x22d)&&_0x2146ba[_0x58f5f6(0xc3)]&&(_0x2146ba[_0x58f5f6(0xc3)]=_0x2146ba[_0x58f5f6(0xc3)]+_0x309c48[_0x58f5f6(0x31f)]),Object[_0x58f5f6(0x12f)](_0x2146ba)[_0x58f5f6(0x2ce)](function(_0x584a71){const _0x2be8ab=_0x58f5f6;var _0x2441ee=_0x584a71[0x0],_0x4c1db8=_0x584a71[0x1];typeof _0x4c1db8==_0x2be8ab(0x148)&&(_0x2146ba[_0x2441ee]=_0x4c1db8[_0x2be8ab(0x16f)](/url\(#(.*)\)/,_0x2be8ab(0x31a)[_0x2be8ab(0x219)](_0x309c48['idSuffix'],')')));})),_0x2146ba;}function _0x197273(_0x46168e,_0x3a4edf){const _0x541a74=_0x195f34;var _0x443a9c,_0x118636=_0x3a4edf[_0x541a74(0x1e9)];return!_0x118636||_0x118636['length']===0x0?_0x46168e:_0x46168e[_0x541a74(0x196)]===_0x541a74(0x25f)&&(!((_0x443a9c=_0x46168e[_0x541a74(0x24c)])===null||_0x443a9c===void 0x0)&&_0x443a9c[_0x541a74(0x2eb)])?_0x3e01c6(_0x3e01c6({},_0x46168e),{'children':_0x46168e[_0x541a74(0x24c)]['map'](function(_0x4af67f){const _0x2454ae=_0x541a74;return typeof _0x4af67f[_0x2454ae(0x239)]['id']==_0x2454ae(0x148)&&_0x118636&&_0x118636[_0x2454ae(0x160)](_0x4af67f[_0x2454ae(0x239)]['id'])>-0x1?_0x3e01c6(_0x3e01c6({},_0x4af67f),{'attrs':_0x3e01c6(_0x3e01c6({},_0x4af67f['attrs']),{'id':_0x4af67f['attrs']['id']+_0x3a4edf[_0x2454ae(0x31f)]})}):_0x4af67f;})}):_0x46168e;}function _0x1be95a(){const _0x1dce32=_0x195f34;return Math['random']()[_0x1dce32(0x2a2)](0x24)['substring'](0x2,0x8);}_0x32663e['displayName']=_0x195f34(0x2be);var _0xd2d90f={'tag':_0x195f34(0x24e),'attrs':{'fill':_0x195f34(0xc9),'viewBox':_0x195f34(0x20c),'width':_0x195f34(0x172),'height':_0x195f34(0x172)},'children':[{'tag':'g','attrs':{'clipPath':_0x195f34(0x1af)},'children':[{'tag':_0x195f34(0x14f),'attrs':{'stroke':_0x195f34(0xf0),'d':_0x195f34(0x21d),'strokeLinecap':_0x195f34(0x266),'strokeLinejoin':_0x195f34(0x266),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x195f34(0x221),'attrs':{'id':_0x195f34(0x23c)},'children':[{'tag':_0x195f34(0x14f),'attrs':{'fill':_0x195f34(0x1a8),'d':_0x195f34(0x28e)}}]}]}],'defIds':[_0x195f34(0x23c)]},_0x4d3929=_0x3ac11[_0x195f34(0x12b)](function(_0x270441,_0x4d9138){const _0x406aa7=_0x195f34;return _0x3ac11['createElement'](_0x32663e,Object[_0x406aa7(0x1d5)]({},_0x270441,{'id':_0x406aa7(0x2a5),'ref':_0x4d9138,'icon':_0xd2d90f}));});_0x4d3929[_0x195f34(0x107)]=_0x195f34(0x130);var _0x2adcd3={'tag':_0x195f34(0x24e),'attrs':{'fill':_0x195f34(0xc9),'viewBox':_0x195f34(0x2f4),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x195f34(0x14f),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x195f34(0x266),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x195f34(0x25f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x195f34(0x14f),'attrs':{'fill':_0x195f34(0x1a8),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x195f34(0x14d)]},_0x50e2ac=_0x3ac11[_0x195f34(0x12b)](function(_0x1d07ca,_0x44f9e2){const _0x4b69d2=_0x195f34;return _0x3ac11['createElement'](_0x32663e,Object[_0x4b69d2(0x1d5)]({},_0x1d07ca,{'id':'on-line-single','ref':_0x44f9e2,'icon':_0x2adcd3}));});_0x50e2ac['displayName']=_0x195f34(0x208);function _0xfd15ef(_0x578d92){const _0x24870f=_0x195f34;switch(_0x578d92){case _0x175918[_0x24870f(0x22f)][_0x24870f(0x121)]:return _0x24870f(0xe4);case _0x175918[_0x24870f(0x22f)][_0x24870f(0x11f)]:return _0x24870f(0x1f1);case _0x175918['CollaborationStatus']['FETCH_MISS']:return _0x24870f(0x195);case _0x175918[_0x24870f(0x22f)][_0x24870f(0x2c5)]:return _0x24870f(0x1e3);case _0x175918[_0x24870f(0x22f)]['AWAITING']:case _0x175918[_0x24870f(0x22f)]['AWAITING_WITH_PENDING']:return _0x24870f(0x2b8);case _0x175918[_0x24870f(0x22f)][_0x24870f(0x318)]:case _0x175918[_0x24870f(0x22f)][_0x24870f(0x14e)]:return _0x24870f(0x30b);}}function _0x5c1945(_0xc4c9ad){const _0x11c756=_0x195f34,{status$:_0x2d57f2}=_0xc4c9ad,_0x58a0f0=_0x4ebc0a[_0x11c756(0x2e0)](_0x2d57f2,_0x175918[_0x11c756(0x22f)][_0x11c756(0x2c5)]),_0x46a249=_0x4ebc0a[_0x11c756(0xef)](_0x404026[_0x11c756(0x146)]),_0x155631=_0x4ebc0a[_0x11c756(0xef)](_0x175918[_0x11c756(0x1ba)]),_0x53446a=_0x58a0f0!==_0x175918[_0x11c756(0x22f)][_0x11c756(0x121)],_0x454db0=_0x46a249['t'](_0xfd15ef(_0x58a0f0)),_0x222363=_0x53446a?_0x59c8dc[_0x11c756(0x1bf)](_0x50e2ac,{}):_0x59c8dc['jsx'](_0x4d3929,{}),_0x303f69=_0x3ac11[_0x11c756(0x114)](()=>{const _0x58f7a4=_0x11c756;_0x53446a||_0x155631[_0x58f7a4(0xfd)]();},[_0x53446a,_0x155631]);function _0x100685(){const _0x376a9f=_0x11c756;return _0x59c8dc[_0x376a9f(0x2bb)](_0x376a9f(0x26a),{'className':'univer-flex\x20univer-items-center','onClick':_0x303f69,'children':[_0x59c8dc[_0x376a9f(0x1bf)](_0x376a9f(0x26a),{'className':_0x62b316[_0x376a9f(0x293)](_0x376a9f(0xd2),_0x53446a?_0x376a9f(0x260):'univer-text-red-500'),'children':_0x222363}),_0x59c8dc[_0x376a9f(0x1bf)](_0x376a9f(0x26a),{'className':_0x376a9f(0x1d2),'children':_0x454db0})]});}return _0x53446a?_0x100685():_0x59c8dc[_0x11c756(0x1bf)](_0x62b316['Tooltip'],{'title':_0x46a249['t']('collab-client.tooltip.reconnect'),'children':_0x100685()});}var _0x5ea0f1=Object['getOwnPropertyDescriptor'],_0x16ea35=(_0x31fd78,_0x2dc403,_0x4c73f8,_0x497a82)=>{const _0x409252=_0x195f34;for(var _0x2b0052=_0x497a82>0x1?void 0x0:_0x497a82?_0x5ea0f1(_0x2dc403,_0x4c73f8):_0x2dc403,_0x4ef6f2=_0x31fd78[_0x409252(0x2eb)]-0x1,_0x1fb001;_0x4ef6f2>=0x0;_0x4ef6f2--)(_0x1fb001=_0x31fd78[_0x4ef6f2])&&(_0x2b0052=_0x1fb001(_0x2b0052)||_0x2b0052);return _0x2b0052;},_0x5ab59f=(_0x30924b,_0x12c432)=>(_0x1d7ff9,_0x51c062)=>_0x12c432(_0x1d7ff9,_0x51c062,_0x30924b);_0x1db428['DesktopCollaborationStatusDisplayController']=class extends _0x404026[_0x195f34(0xd8)]{constructor(_0x5d99ff,_0x27c85c,_0x5173af,_0x5c2cec){const _0x1f3a2d=_0x195f34;super(),_0x2f983b(this,_0x1f3a2d(0x2f1),new _0x4a3af0['BehaviorSubject'](_0x175918[_0x1f3a2d(0x22f)][_0x1f3a2d(0x2c5)])),(this[_0x1f3a2d(0x1cb)]=_0x5d99ff,this[_0x1f3a2d(0x2df)]=_0x27c85c,this['_collaborationController']=_0x5173af,this[_0x1f3a2d(0x32a)]=_0x5c2cec,this['_initStatusComponent'](),this[_0x1f3a2d(0x223)]());}[_0x195f34(0x223)](){const _0x24b8ea=_0x195f34;this['disposeWithMe'](this[_0x24b8ea(0x1cb)][_0x24b8ea(0x15a)]['pipe'](_0x4a3af0[_0x24b8ea(0x18e)](()=>{const _0x42ce8d=_0x24b8ea,_0x2d6941=this[_0x42ce8d(0x1cb)]['getFocusedUnit']();return _0x2d6941?this[_0x42ce8d(0x174)][_0x42ce8d(0x109)](_0x2d6941[_0x42ce8d(0x19f)]()):_0x4a3af0['of'](null);}),_0x4a3af0[_0x24b8ea(0x18e)](_0x4c1b6a=>_0x4c1b6a?_0x4c1b6a['status$']:_0x4a3af0['of'](_0x175918[_0x24b8ea(0x22f)][_0x24b8ea(0x2c5)])))['subscribe'](_0x422788=>{const _0x3521f2=_0x24b8ea;this[_0x3521f2(0x2f1)]['next'](_0x422788);}));}[_0x195f34(0x1ad)](){const _0x574236=_0x195f34;this[_0x574236(0xd5)](this[_0x574236(0x32a)][_0x574236(0x117)](_0x4ebc0a['BuiltInUIPart'][_0x574236(0x2da)],()=>_0x4ebc0a['connectInjector'](_0x4c92e4({'status$':this[_0x574236(0x2f1)][_0x574236(0x111)]()}),this['_injector'])));}},_0x1db428[_0x195f34(0x1b6)]=_0x16ea35([_0x5ab59f(0x0,_0x404026['IUniverInstanceService']),_0x5ab59f(0x1,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x5ab59f(0x2,_0x404026[_0x195f34(0x2ef)](_0x175918[_0x195f34(0x27d)])),_0x5ab59f(0x3,_0x4ebc0a[_0x195f34(0x222)])],_0x1db428['DesktopCollaborationStatusDisplayController']);function _0x4c92e4(_0x4209d6){const {status$:_0x35e131}=_0x4209d6;return function(){const _0x398299=_0x2cf8;return _0x59c8dc[_0x398299(0x1bf)](_0x5c1945,{'status$':_0x35e131});};}var _0x140c2f=Object[_0x195f34(0x242)],_0x3c056f=(_0x15fb9a,_0x142fe5,_0x350841,_0x5b9107)=>{const _0xab75e5=_0x195f34;for(var _0x1e8054=_0x5b9107>0x1?void 0x0:_0x5b9107?_0x140c2f(_0x142fe5,_0x350841):_0x142fe5,_0x1a5899=_0x15fb9a[_0xab75e5(0x2eb)]-0x1,_0x18a93d;_0x1a5899>=0x0;_0x1a5899--)(_0x18a93d=_0x15fb9a[_0x1a5899])&&(_0x1e8054=_0x18a93d(_0x1e8054)||_0x1e8054);return _0x1e8054;},_0x220097=(_0x176643,_0x1ad3f0)=>(_0x24dd99,_0x45cb7e)=>_0x1ad3f0(_0x24dd99,_0x45cb7e,_0x176643);let _0x214987=class extends _0x404026['Disposable']{constructor(_0x17d552,_0x3d78fc,_0x14af99,_0x265323,_0x5050c8,_0x48eaee){const _0x439da6=_0x195f34;super(),this[_0x439da6(0x314)]=_0x17d552,this[_0x439da6(0x287)]=_0x3d78fc,this['_collaborationUIEventService']=_0x14af99,this['_messageService']=_0x265323,this[_0x439da6(0x229)]=_0x5050c8,this['_localeService']=_0x48eaee,this[_0x439da6(0x1a7)](),this[_0x439da6(0x281)]();}[_0x195f34(0x1a7)](){const _0x52e590=_0x195f34;this[_0x52e590(0xd5)](this[_0x52e590(0x314)]['registerBeforeClose'](()=>{const _0xd2fb0e=_0x52e590;if(this[_0xd2fb0e(0x287)]['saveTaskMap'][_0xd2fb0e(0x129)])return this[_0xd2fb0e(0x254)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x43f8be=_0x195f34;this[_0x43f8be(0xd5)](this[_0x43f8be(0x157)][_0x43f8be(0x13f)][_0x43f8be(0x246)](_0x39b105=>{const _0x39ffdb=_0x43f8be;_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x2c6)]&&this[_0x39ffdb(0x1ac)][_0x39ffdb(0x253)]({'type':_0x62b316[_0x39ffdb(0x10d)][_0x39ffdb(0x220)],'content':this['_localeService']['t'](_0x39ffdb(0x15e))}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x207)]&&this['_messageService'][_0x39ffdb(0x253)]({'type':_0x62b316[_0x39ffdb(0x10d)][_0x39ffdb(0x220)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)]['PERMISSION_DENIED']&&this[_0x39ffdb(0x229)][_0x39ffdb(0x253)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x39ffdb(0x254)]['t'](_0x39ffdb(0x2aa)),'type':_0x39ffdb(0x2a6),'duration':0x0}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x11f)]&&this[_0x39ffdb(0x1ac)][_0x39ffdb(0x253)]({'type':_0x62b316['MessageType'][_0x39ffdb(0x2bc)],'content':this['_localeService']['t'](_0x39ffdb(0x257))+'('+_0x39b105[_0x39ffdb(0x2a4)]+')'}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)]['JOIN_ROOM_FAILED']&&this[_0x39ffdb(0x1ac)][_0x39ffdb(0x253)]({'type':_0x62b316['MessageType'][_0x39ffdb(0x220)],'content':this['_localeService']['t'](_0x39b105[_0x39ffdb(0x2a4)]||'')}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x22c)]&&this[_0x39ffdb(0x1ac)]['show']({'type':_0x62b316[_0x39ffdb(0x10d)]['Warning'],'content':this[_0x39ffdb(0x254)]['t']('session.will-retry')}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x1ee)]&&this[_0x39ffdb(0x1ac)]['show']({'type':_0x62b316[_0x39ffdb(0x10d)][_0x39ffdb(0x2bc)],'content':this[_0x39ffdb(0x254)]['t']('session.connection-failed')}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x13c)]&&this[_0x39ffdb(0x1ac)][_0x39ffdb(0x253)]({'type':_0x62b316[_0x39ffdb(0x10d)][_0x39ffdb(0x2bc)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x214987=_0x3c056f([_0x220097(0x0,_0x4ebc0a[_0x195f34(0x189)]),_0x220097(0x1,_0x175918[_0x195f34(0x128)]),_0x220097(0x2,_0x404026['Inject'](_0x175918[_0x195f34(0xf7)])),_0x220097(0x3,_0x4ebc0a[_0x195f34(0x156)]),_0x220097(0x4,_0x4ebc0a[_0x195f34(0x186)]),_0x220097(0x5,_0x404026[_0x195f34(0x2ef)](_0x404026['LocaleService']))],_0x214987);const _0xc59c41='collaboration-client-ui.config',_0x5849fd={},_0x2332d6=_0x404026['createIdentifier'](_0x195f34(0x1aa));var _0x19dc26=Object[_0x195f34(0x242)],_0x663384=(_0x63aa1e,_0x3950d0,_0x25ec18,_0x315c11)=>{const _0x1c7028=_0x195f34;for(var _0x473cb2=_0x315c11>0x1?void 0x0:_0x315c11?_0x19dc26(_0x3950d0,_0x25ec18):_0x3950d0,_0x288955=_0x63aa1e[_0x1c7028(0x2eb)]-0x1,_0x4e411a;_0x288955>=0x0;_0x288955--)(_0x4e411a=_0x63aa1e[_0x288955])&&(_0x473cb2=_0x4e411a(_0x473cb2)||_0x473cb2);return _0x473cb2;},_0xd8b454=(_0x591f9e,_0x1cf081)=>(_0x3ebdbf,_0x591d77)=>_0x1cf081(_0x3ebdbf,_0x591d77,_0x591f9e);_0x1db428[_0x195f34(0x2b0)]=class extends _0x404026[_0x195f34(0x2b7)]{constructor(_0x42d609,_0x511b06,_0x206780,_0x427015,_0x2ec56b){const _0x472122=_0x195f34;super(),this[_0x472122(0xd7)]=_0x42d609,this[_0x472122(0x332)]=_0x511b06,this[_0x472122(0x216)]=_0x206780,this[_0x472122(0x192)]=_0x427015,_0x2ec56b?_0x2ec56b==null||_0x2ec56b[_0x472122(0x285)]()[_0x472122(0x119)](()=>this[_0x472122(0xf5)]()):(this['_logService'][_0x472122(0xf3)](_0x472122(0x202),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x472122(0xf5)]());}async[_0x195f34(0xf5)](){const _0x95d174=_0x195f34,_0x45d744=this['_urlService'][_0x95d174(0x321)]('unit'),_0x2e6da9=this[_0x95d174(0xd7)][_0x95d174(0x321)](_0x95d174(0x2a9)),_0x4dd8f8=this[_0x95d174(0xd7)][_0x95d174(0x321)](_0x95d174(0x2e5));if(!_0x45d744||!_0x2e6da9){this['_logService'][_0x95d174(0xf3)](_0x95d174(0x202),_0x95d174(0x1e7));return;}const _0x373ea6=await this[_0x95d174(0x192)]['loadUnit'](_0x45d744,Number(_0x2e6da9),_0x4dd8f8);_0x373ea6&&_0x373ea6 instanceof _0x404026[_0x95d174(0xe9)]&&this['_setupSubUnitSync'](_0x373ea6);}async['_setupSubUnitSync'](_0x5365b9){const _0xc8172f=_0x195f34;await this[_0xc8172f(0x188)](_0x5365b9),_0x5365b9['activeSheet$'][_0xc8172f(0x2f3)](_0x4a3af0['takeUntil'](this[_0xc8172f(0x30e)]))[_0xc8172f(0x246)](_0x7ae4b0=>{_0x7ae4b0&&this['_updateURLWithCurrentState'](_0x7ae4b0);}),this[_0xc8172f(0xd7)]['urlChange$'][_0xc8172f(0x2f3)](_0x4a3af0[_0xc8172f(0x27b)](this[_0xc8172f(0x30e)]))[_0xc8172f(0x246)](()=>this[_0xc8172f(0x188)](_0x5365b9));}[_0x195f34(0x105)](_0x3983f6,_0x15fd74=!0x1){const _0x3f960d=_0x195f34,_0x16d308=this[_0x3f960d(0xd7)][_0x3f960d(0x321)]('subunit');_0x3983f6[_0x3f960d(0x102)]()!==_0x16d308&&this[_0x3f960d(0xd7)][_0x3f960d(0x1de)]('subunit',_0x3983f6[_0x3f960d(0x102)](),_0x15fd74);}async[_0x195f34(0x188)](_0x1382f7){const _0x2e08f6=_0x195f34;var _0x338fa0;const _0x4a2f4e=this[_0x2e08f6(0xd7)][_0x2e08f6(0x321)]('subunit');if(!_0x4a2f4e||!_0x1382f7[_0x2e08f6(0x296)](_0x4a2f4e)){const _0x1d8180=_0x1382f7[_0x2e08f6(0x306)]()[0x0],_0x2f2356=_0x1382f7[_0x2e08f6(0x296)](_0x1d8180);if(!_0x2f2356)return;this[_0x2e08f6(0x105)](_0x2f2356,!0x0),await this[_0x2e08f6(0x216)][_0x2e08f6(0x33c)](_0x431058[_0x2e08f6(0x333)]['id'],{'unitId':_0x1382f7['getUnitId'](),'subUnitId':_0x1d8180});return;}((_0x338fa0=_0x1382f7['getActiveSheet']())==null?void 0x0:_0x338fa0[_0x2e08f6(0x102)]())!==_0x4a2f4e&&await this[_0x2e08f6(0x216)][_0x2e08f6(0x33c)](_0x431058[_0x2e08f6(0x333)]['id'],{'unitId':_0x1382f7[_0x2e08f6(0x19f)](),'subUnitId':_0x4a2f4e});}},_0x1db428[_0x195f34(0x2b0)]=_0x663384([_0xd8b454(0x0,_0x2332d6),_0xd8b454(0x1,_0x404026[_0x195f34(0x21e)]),_0xd8b454(0x2,_0x404026[_0x195f34(0x2ed)]),_0xd8b454(0x3,_0x404026[_0x195f34(0x2ef)](_0x175918[_0x195f34(0x31c)])),_0xd8b454(0x4,_0x404026[_0x195f34(0x22a)](_0x554860['IRemoteInstanceService']))],_0x1db428['CollaborationDataLoaderController']);var _0x165128=Object[_0x195f34(0x242)],_0x2a6dab=(_0xafcfe2,_0x127b7e,_0x19c66b,_0x3a9825)=>{const _0x2229c1=_0x195f34;for(var _0x436c1a=_0x3a9825>0x1?void 0x0:_0x3a9825?_0x165128(_0x127b7e,_0x19c66b):_0x127b7e,_0x52b22d=_0xafcfe2[_0x2229c1(0x2eb)]-0x1,_0x3bf1e2;_0x52b22d>=0x0;_0x52b22d--)(_0x3bf1e2=_0xafcfe2[_0x52b22d])&&(_0x436c1a=_0x3bf1e2(_0x436c1a)||_0x436c1a);return _0x436c1a;},_0x30ea1b=(_0x38fe24,_0x13c47f)=>(_0x16ce49,_0x4aadfb)=>_0x13c47f(_0x16ce49,_0x4aadfb,_0x38fe24);let _0x30d443=class{constructor(_0x4dde13,_0x49cfb9,_0x48cfb2){const _0x2b632a=_0x195f34;this[_0x2b632a(0x2df)]=_0x4dde13,this['_transformService']=_0x49cfb9,this[_0x2b632a(0x1c8)]=_0x48cfb2;}[_0x195f34(0x338)](_0x39273f){const _0x4d6bc4=_0x195f34;this['_transformUndoRedoStack'](_0x39273f),this[_0x4d6bc4(0x1c5)](_0x39273f);}[_0x195f34(0x2c9)](_0x184ab3){const _0x19e3fc=_0x195f34,{unitID:_0x2384f3}=_0x184ab3,_0x312c86=this[_0x19e3fc(0x1c8)][_0x19e3fc(0x310)](_0x2384f3)[_0x19e3fc(0x16d)](_0x2bec5e[_0x19e3fc(0x211)]),{redoCache:_0x1190b4}=_0x312c86[_0x19e3fc(0x244)]();if(_0x1190b4[_0x19e3fc(0x2eb)]===0x0)return _0x184ab3;let _0x4ac18e=_0x404026['Tools']['deepClone'](_0x184ab3[_0x19e3fc(0x279)][0x0]);for(let _0x3df29c=0x0;_0x3df29c<_0x1190b4[_0x19e3fc(0x2eb)];_0x3df29c++){const _0x3dbdc2={'id':_0x19e3fc(0xdb),'params':{..._0x1190b4[_0x3df29c]}},_0x48cb2f=this['_transformService']['transformMutation'](_0x4ac18e,_0x3dbdc2,!0x1);if(_0x503ae1['isTransformMutationFailure'](_0x48cb2f))throw _0x48cb2f['error'];_0x4ac18e=_0x48cb2f['m1Prime'];}return{..._0x404026[_0x19e3fc(0x161)][_0x19e3fc(0x1df)](_0x184ab3),'mutations':[_0x4ac18e]};}[_0x195f34(0x11e)](_0x4b6e70){const _0x224fda=_0x195f34,{unitID:_0x129293}=_0x4b6e70,_0x162ae5=this[_0x224fda(0x1c8)][_0x224fda(0x310)](_0x129293)[_0x224fda(0x16d)](_0x2bec5e[_0x224fda(0x211)]),{undoCache:_0x39ff04,redoCache:_0x5a00f3}=_0x162ae5['getUndoRedoMutationParamsCache']();if(_0x39ff04['length']===0x0||_0x5a00f3[_0x224fda(0x2eb)]===0x0)return;const _0x4e6ab7=[],_0x2e12e9=[];let _0xb9074a=_0x404026[_0x224fda(0x161)][_0x224fda(0x1df)](_0x4b6e70[_0x224fda(0x279)][0x0]),_0x5572b9=_0x404026['Tools'][_0x224fda(0x1df)](_0x4b6e70[_0x224fda(0x279)][0x0]);for(let _0x593303=_0x39ff04[_0x224fda(0x2eb)]-0x1;_0x593303>=0x0;_0x593303--){const _0x304af8={'id':_0x224fda(0xdb),'params':{..._0x39ff04[_0x593303]}},_0x1a1064={'id':'doc.mutation.rich-text-editing','params':{..._0x5a00f3[_0x593303]}},_0x2316ce=this['_transformService'][_0x224fda(0x116)](_0xb9074a,_0x304af8,!0x1),_0x41f5a7=this['_transformService'][_0x224fda(0x116)](_0x5572b9,_0x1a1064,!0x1);if(_0x503ae1['isTransformMutationFailure'](_0x2316ce))throw _0x2316ce[_0x224fda(0x2a6)];if(_0x503ae1['isTransformMutationFailure'](_0x41f5a7))throw _0x41f5a7[_0x224fda(0x2a6)];_0x4e6ab7[_0x224fda(0x2b3)](_0x2316ce['m2Prime'][_0x224fda(0x1a2)]),_0x2e12e9[_0x224fda(0x2b3)](_0x41f5a7[_0x224fda(0xfa)][_0x224fda(0x1a2)]),_0xb9074a=_0x2316ce[_0x224fda(0x1e8)],_0x5572b9=_0x41f5a7['m1Prime'];}_0x162ae5[_0x224fda(0x325)]({'undoCache':_0x4e6ab7,'redoCache':_0x2e12e9});}[_0x195f34(0x1c5)](_0x3aed40){const _0x537a0e=_0x195f34,{unitID:_0x4185a1}=_0x3aed40,_0x1543e0=this[_0x537a0e(0x1c8)][_0x537a0e(0x310)](_0x4185a1)[_0x537a0e(0x16d)](_0x2bec5e['DocIMEInputManagerService']),_0x3824cf=_0x1543e0[_0x537a0e(0x19d)]();if(_0x3824cf==null)return;const _0x33ad4c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3aed40['unitID'],'actions':null,'textRanges':[_0x3824cf]}}],_0x3e8010=this['_transformService']['transformMutationsWithChangeset'](_0x3aed40,_0x33ad4c);if(!_0x503ae1['isTransformMutationsWithChangesetSuccess'](_0x3e8010))throw _0x3e8010['error'];const _0x4de12c=_0x3e8010[_0x537a0e(0xfa)][0x0]['params'][_0x537a0e(0x100)];Array[_0x537a0e(0x212)](_0x4de12c)&&_0x4de12c[_0x537a0e(0x2eb)]&&_0x1543e0[_0x537a0e(0x1ae)](_0x4de12c[0x0]);}};_0x30d443=_0x2a6dab([_0x30ea1b(0x0,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x30ea1b(0x1,_0x503ae1[_0x195f34(0xec)]),_0x30ea1b(0x2,_0x112353['IRenderManagerService'])],_0x30d443);var _0x158b4a=Object[_0x195f34(0x242)],_0x3c5015=(_0x3f80ca,_0x37316f,_0x863305,_0x48c180)=>{const _0x471379=_0x195f34;for(var _0x449414=_0x48c180>0x1?void 0x0:_0x48c180?_0x158b4a(_0x37316f,_0x863305):_0x37316f,_0x50876e=_0x3f80ca[_0x471379(0x2eb)]-0x1,_0x54ca17;_0x50876e>=0x0;_0x50876e--)(_0x54ca17=_0x3f80ca[_0x50876e])&&(_0x449414=_0x54ca17(_0x449414)||_0x449414);return _0x449414;},_0x1cfc60=(_0x4e819b,_0x1e3986)=>(_0x2c0020,_0x12f3a7)=>_0x1e3986(_0x2c0020,_0x12f3a7,_0x4e819b);let _0x255dbb=class{constructor(_0xdec696,_0x1e5f05,_0x2c26ab){const _0x339faa=_0x195f34;this[_0x339faa(0x2df)]=_0xdec696,this[_0x339faa(0x115)]=_0x1e5f05,this['_docStateChangeManagerService']=_0x2c26ab;}['transformStateCache'](_0x50fdce){this['_transformHistoryAndStateStack'](_0x50fdce);}[_0x195f34(0x2c9)](_0x578257){const _0x360297=_0x195f34,{unitID:_0x39eda5}=_0x578257,{collaboration:_0x18122b}=this[_0x360297(0x23a)][_0x360297(0x245)](_0x39eda5);if(_0x18122b['length']===0x0)return _0x578257;let _0x2fcf10=_0x404026['Tools'][_0x360297(0x1df)](_0x578257['mutations'][0x0]);for(let _0x3a2b7b=0x0;_0x3a2b7b<_0x18122b[_0x360297(0x2eb)];_0x3a2b7b++){const _0x37993f={'id':_0x360297(0xdb),'params':{'unitId':_0x18122b[_0x3a2b7b][_0x360297(0x28a)],..._0x18122b[_0x3a2b7b][_0x360297(0xbb)]}},_0x5e09a7=this[_0x360297(0x115)][_0x360297(0x116)](_0x2fcf10,_0x37993f,!0x1);if(_0x503ae1[_0x360297(0x153)](_0x5e09a7))throw _0x5e09a7[_0x360297(0x2a6)];_0x2fcf10=_0x5e09a7[_0x360297(0x1e8)];}return{..._0x404026[_0x360297(0x161)][_0x360297(0x1df)](_0x578257),'mutations':[_0x2fcf10]};}['_transformHistoryAndStateStack'](_0x18dae3){const _0x24d19d=_0x195f34,{unitID:_0x313576}=_0x18dae3,{history:_0x235e42,collaboration:_0x7b7730}=this[_0x24d19d(0x23a)][_0x24d19d(0x245)](_0x313576);if(_0x235e42[_0x24d19d(0x2eb)]===0x0&&_0x7b7730[_0x24d19d(0x2eb)]===0x0)return;const _0x3d5562=[],_0x1af350=[];let _0x1a02bb=_0x404026[_0x24d19d(0x161)]['deepClone'](_0x18dae3[_0x24d19d(0x279)][0x0]),_0x286d37=_0x404026[_0x24d19d(0x161)][_0x24d19d(0x1df)](_0x18dae3[_0x24d19d(0x279)][0x0]);for(let _0x372007=_0x235e42['length']-0x1;_0x372007>=0x0;_0x372007--){const _0x364637={'id':_0x24d19d(0xdb),'params':{'unitId':_0x235e42[_0x372007][_0x24d19d(0x28a)],..._0x235e42[_0x372007]['undoState']}},_0x3f1f53={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x235e42[_0x372007][_0x24d19d(0x28a)],..._0x235e42[_0x372007][_0x24d19d(0xbb)]}},_0xc7da42=this[_0x24d19d(0x115)]['transformMutation'](_0x1a02bb,_0x364637,!0x1),_0x474a0c=this[_0x24d19d(0x115)]['transformMutation'](_0x286d37,_0x3f1f53,!0x1);if(_0x503ae1[_0x24d19d(0x153)](_0xc7da42))throw _0xc7da42[_0x24d19d(0x2a6)];if(_0x503ae1[_0x24d19d(0x153)](_0x474a0c))throw _0x474a0c[_0x24d19d(0x2a6)];_0x3d5562['unshift']({..._0x235e42[_0x372007],'undoState':_0xc7da42['m2Prime'][_0x24d19d(0x1a2)],'redoState':_0x474a0c[_0x24d19d(0xfa)][_0x24d19d(0x1a2)]}),_0x1a02bb=_0xc7da42[_0x24d19d(0x1e8)],_0x286d37=_0x474a0c[_0x24d19d(0x1e8)];}_0x1a02bb=_0x404026[_0x24d19d(0x161)][_0x24d19d(0x1df)](_0x18dae3['mutations'][0x0]),_0x286d37=_0x404026['Tools'][_0x24d19d(0x1df)](_0x18dae3[_0x24d19d(0x279)][0x0]);for(let _0x29b1df=_0x7b7730[_0x24d19d(0x2eb)]-0x1;_0x29b1df>=0x0;_0x29b1df--){const _0x43c5d2={'id':_0x24d19d(0xdb),'params':{'unitId':_0x7b7730[_0x29b1df][_0x24d19d(0x28a)],..._0x7b7730[_0x29b1df][_0x24d19d(0x28b)]}},_0x332c6b={'id':_0x24d19d(0xdb),'params':{'unitId':_0x7b7730[_0x29b1df][_0x24d19d(0x28a)],..._0x7b7730[_0x29b1df][_0x24d19d(0xbb)]}},_0x11e478=this[_0x24d19d(0x115)][_0x24d19d(0x116)](_0x1a02bb,_0x43c5d2,!0x1),_0x4a28c0=this['_transformService'][_0x24d19d(0x116)](_0x286d37,_0x332c6b,!0x1);if(_0x503ae1[_0x24d19d(0x153)](_0x11e478))throw _0x11e478['error'];if(_0x503ae1[_0x24d19d(0x153)](_0x4a28c0))throw _0x4a28c0[_0x24d19d(0x2a6)];_0x1af350[_0x24d19d(0x2b3)]({..._0x7b7730[_0x29b1df],'undoState':_0x11e478['m2Prime']['params'],'redoState':_0x4a28c0[_0x24d19d(0xfa)][_0x24d19d(0x1a2)]}),_0x1a02bb=_0x11e478[_0x24d19d(0x1e8)],_0x286d37=_0x4a28c0[_0x24d19d(0x1e8)];}this['_docStateChangeManagerService'][_0x24d19d(0x131)](_0x313576,{'history':_0x3d5562,'collaboration':_0x1af350});}};_0x255dbb=_0x3c5015([_0x1cfc60(0x0,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x1cfc60(0x1,_0x503ae1[_0x195f34(0xec)]),_0x1cfc60(0x2,_0x404026[_0x195f34(0x2ef)](_0x2bec5e['DocStateChangeManagerService']))],_0x255dbb);var _0x85deda=Object['getOwnPropertyDescriptor'],_0x4d087d=(_0x2ea8c9,_0x5079ec,_0x52ed23,_0x558696)=>{const _0x2994ad=_0x195f34;for(var _0x2cabf1=_0x558696>0x1?void 0x0:_0x558696?_0x85deda(_0x5079ec,_0x52ed23):_0x5079ec,_0x3186a2=_0x2ea8c9[_0x2994ad(0x2eb)]-0x1,_0x476fe5;_0x3186a2>=0x0;_0x3186a2--)(_0x476fe5=_0x2ea8c9[_0x3186a2])&&(_0x2cabf1=_0x476fe5(_0x2cabf1)||_0x2cabf1);return _0x2cabf1;},_0xde3d6f=(_0x4f362c,_0x13dbcc)=>(_0x4b55c3,_0x4f0449)=>_0x13dbcc(_0x4b55c3,_0x4f0449,_0x4f362c);let _0x517f69=class{constructor(_0x4db7c7,_0x2305e2){const _0x668bb7=_0x195f34;this[_0x668bb7(0x2df)]=_0x4db7c7,this[_0x668bb7(0x115)]=_0x2305e2;}[_0x195f34(0x10b)](_0x36dd66){const _0x481025=_0x195f34;var _0x5cec89;const _0x15c38f=this[_0x481025(0x2df)][_0x481025(0x21a)](_0x121a01[_0x481025(0x2a7)]),_0x46efa8=(_0x5cec89=_0x15c38f['getDocRanges']())!=null?_0x5cec89:[];if(_0x46efa8[_0x481025(0x2eb)]===0x0)return;const _0x4d43fc=_0x36dd66[_0x481025(0x1e1)],_0x1cdaa3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d43fc,'actions':null,'textRanges':_0x46efa8}}],_0x40f15b=this['_transformService'][_0x481025(0x32b)](_0x36dd66,_0x1cdaa3);if(!_0x503ae1[_0x481025(0xd4)](_0x40f15b))throw _0x40f15b['error'];const _0x1e70b1=_0x40f15b[_0x481025(0xfa)][0x0][_0x481025(0x1a2)][_0x481025(0x100)];Array[_0x481025(0x212)](_0x1e70b1)&&_0x1e70b1['length']&&_0x15c38f['replaceDocRanges'](_0x1e70b1,{'unitId':_0x4d43fc,'subUnitId':_0x4d43fc},!0x1);}};_0x517f69=_0x4d087d([_0xde3d6f(0x0,_0x404026[_0x195f34(0x2ef)](_0x404026['Injector'])),_0xde3d6f(0x1,_0x503ae1[_0x195f34(0xec)])],_0x517f69);var _0x2e797f=Object[_0x195f34(0x242)],_0x282e0d=(_0x1b7e79,_0x27fa75,_0x576709,_0x161326)=>{for(var _0x29c3d4=_0x161326>0x1?void 0x0:_0x161326?_0x2e797f(_0x27fa75,_0x576709):_0x27fa75,_0x4eda12=_0x1b7e79['length']-0x1,_0x1c3f50;_0x4eda12>=0x0;_0x4eda12--)(_0x1c3f50=_0x1b7e79[_0x4eda12])&&(_0x29c3d4=_0x1c3f50(_0x29c3d4)||_0x29c3d4);return _0x29c3d4;},_0x47ac35=(_0x5a269f,_0xce9545)=>(_0x3ba685,_0x3128d6)=>_0xce9545(_0x3ba685,_0x3128d6,_0x5a269f);let _0x2e89f1=class extends _0x404026[_0x195f34(0xd8)]{constructor(_0x975e8b,_0x2a8ae3,_0x548c20,_0x2f01b1,_0x3a2e9f,_0x5b3bd7,_0x5ba729,_0x5a6b68){const _0xa04029=_0x195f34;super(),_0x2f983b(this,_0xa04029(0x2f1),new _0x4a3af0[(_0xa04029(0x2d4))](_0x175918[_0xa04029(0x22f)][_0xa04029(0x2c5)])),(this[_0xa04029(0x23a)]=_0x975e8b,this[_0xa04029(0x174)]=_0x2a8ae3,this[_0xa04029(0x15d)]=_0x548c20,this[_0xa04029(0x1ce)]=_0x2f01b1,this[_0xa04029(0x127)]=_0x3a2e9f,this[_0xa04029(0x13d)]=_0x5b3bd7,this[_0xa04029(0x1ac)]=_0x5ba729,this['_localeService']=_0x5a6b68,this[_0xa04029(0x18c)]());}[_0x195f34(0x18c)](){const _0x55a4ed=_0x195f34;this[_0x55a4ed(0xd5)](this[_0x55a4ed(0x174)][_0x55a4ed(0x152)]['subscribe'](_0x3698ba=>{const _0x515006=_0x55a4ed,_0x1ea4b8=this[_0x515006(0x23a)]['docStateChange$'][_0x515006(0x246)](_0x4cb400=>{const _0x514cad=_0x515006;if(_0x4cb400==null)return;const {unitId:_0x4921a7,redoState:_0x3507a3,commandId:_0x4fa70a}=_0x4cb400;if(_0x4921a7!==_0x3698ba[_0x514cad(0x1e1)])return;const _0x3d51b3={'id':_0x4fa70a,'type':_0x404026[_0x514cad(0x11c)][_0x514cad(0x311)],'params':{'unitId':_0x4921a7,'actions':_0x3507a3[_0x514cad(0xe0)],'textRanges':null}};_0x3698ba[_0x514cad(0x17d)](_0x3d51b3);});if(_0x3698ba[_0x515006(0xd5)](_0x1ea4b8),_0x3698ba instanceof _0x175918[_0x515006(0x313)]){const _0x39e4f2={'onTransformIME':_0x9dc758=>this['_docTransformIMECacheService'][_0x515006(0x338)](_0x9dc758),'onTransformState':_0x4a82e0=>this[_0x515006(0x1ce)][_0x515006(0x27f)](_0x4a82e0),'onTransformSelections':_0x4ccaed=>this[_0x515006(0x127)]['transformSelections'](_0x4ccaed),'onSyncEditingCollabCursor':_0x3b5606=>this[_0x515006(0x13d)][_0x515006(0x276)](_0x3b5606),'onTransformRemoteChangesetByIMECache':_0x3e2a5f=>this[_0x515006(0x15d)][_0x515006(0x2c9)](_0x3e2a5f),'onTransformRemoteChangesetByStateCache':_0x1d7972=>this['_docTransformStateCacheService'][_0x515006(0x2c9)](_0x1d7972)};_0x3698ba[_0x515006(0x166)](_0x39e4f2);}}));}};_0x2e89f1=_0x282e0d([_0x47ac35(0x0,_0x404026['Inject'](_0x2bec5e[_0x195f34(0x2b6)])),_0x47ac35(0x1,_0x404026[_0x195f34(0x2ef)](_0x175918[_0x195f34(0x27d)])),_0x47ac35(0x2,_0x404026[_0x195f34(0x2ef)](_0x30d443)),_0x47ac35(0x3,_0x404026[_0x195f34(0x2ef)](_0x255dbb)),_0x47ac35(0x4,_0x404026[_0x195f34(0x2ef)](_0x517f69)),_0x47ac35(0x5,_0x404026['Inject'](_0x320f00)),_0x47ac35(0x6,_0x4ebc0a[_0x195f34(0x156)]),_0x47ac35(0x7,_0x404026['Inject'](_0x404026[_0x195f34(0x146)]))],_0x2e89f1);var _0x49697f=Object[_0x195f34(0x242)],_0x3bba02=(_0x849a6d,_0x1d5e8b,_0x2f12ad,_0x4b9641)=>{const _0x5b1f0b=_0x195f34;for(var _0x19b45a=_0x4b9641>0x1?void 0x0:_0x4b9641?_0x49697f(_0x1d5e8b,_0x2f12ad):_0x1d5e8b,_0x526289=_0x849a6d[_0x5b1f0b(0x2eb)]-0x1,_0x4a4c81;_0x526289>=0x0;_0x526289--)(_0x4a4c81=_0x849a6d[_0x526289])&&(_0x19b45a=_0x4a4c81(_0x19b45a)||_0x19b45a);return _0x19b45a;},_0x38f3d2=(_0x13ba26,_0x325572)=>(_0x303655,_0xc605d5)=>_0x325572(_0x303655,_0xc605d5,_0x13ba26);let _0x3e2297=class extends _0x404026[_0x195f34(0xd8)]{constructor(_0x1b0f48,_0x27ae4d,_0x59718c){const _0x2916dd=_0x195f34;super(),_0x2f983b(this,_0x2916dd(0x334),new Map()),_0x2f983b(this,_0x2916dd(0x1b5),new Map()),_0x2f983b(this,'_disabled',!0x1),(this[_0x2916dd(0x17f)]=_0x1b0f48,this[_0x2916dd(0x135)]=_0x27ae4d,this[_0x2916dd(0x12e)]=_0x59718c);}['disableLocalCache'](){const _0x5808cd=_0x195f34;this[_0x5808cd(0xe3)]=!0x0;}[_0x195f34(0x2db)](){const _0x36c9d6=_0x195f34;this[_0x36c9d6(0xe3)]=!0x1;}get['saveTaskMap'](){const _0x6f1b9e=_0x195f34;return this[_0x6f1b9e(0x1b5)];}['dispose'](){const _0x1479ce=_0x195f34;this[_0x1479ce(0x183)]()[_0x1479ce(0x119)](()=>super[_0x1479ce(0x275)]());}async[_0x195f34(0x309)](_0xafbecf){const _0x1b04bf=_0x195f34;return this['_disabled']?null:this[_0x1b04bf(0x135)][_0x1b04bf(0xc6)](_0x175918[_0x1b04bf(0x20e)](_0xafbecf));}async['saveOfflineData'](_0x69d9d5,_0x21d9dc){const _0xbf52a0=_0x195f34;return!!this[_0xbf52a0(0x135)][_0xbf52a0(0x2c3)](_0x69d9d5,_0x21d9dc);}[_0x195f34(0x187)](_0x861624,_0x1a9f4d,_0x4e40ac,_0x49362){const _0x32bb25=_0x195f34,_0x399d5b=this[_0x32bb25(0x12e)]['getCurrentRevOfUnit'](_0x861624);this[_0x32bb25(0x334)][_0x32bb25(0x316)](_0x861624,{'unitID':_0x861624,'type':_0x1a9f4d,'awaitingChangeset':_0x4e40ac,'mutations':_0x49362,'rev':_0x399d5b}),this[_0x32bb25(0x1b5)][_0x32bb25(0x2ee)](_0x861624)||this[_0x32bb25(0xca)](_0x861624);}[_0x195f34(0xca)](_0x2173af){const _0x164d4a=_0x195f34,_0x523a5e=this['_getSaveTimeout']();_0x523a5e===0x0?this[_0x164d4a(0x1f8)](_0x2173af):this['_saveTaskMap'][_0x164d4a(0x316)](_0x2173af,setTimeout(()=>this[_0x164d4a(0x1f8)](_0x2173af),_0x523a5e));}['_getSaveTimeout'](){const _0xe57316=_0x195f34;var _0x944142;return(_0x944142=this['_configService'][_0xe57316(0x339)](_0x175918['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x944142:_0x175918[_0xe57316(0x271)];}[_0x195f34(0x1f8)](_0x395874){const _0xbcb32e=_0x195f34,_0x177812=this[_0xbcb32e(0x1b5)][_0xbcb32e(0x21a)](_0x395874);return _0x177812!==void 0x0&&window['clearTimeout'](_0x177812),this['_localStorageService']['setItem'](_0x175918[_0xbcb32e(0x20e)](_0x395874),this[_0xbcb32e(0x334)][_0xbcb32e(0x21a)](_0x395874))['then'](()=>this[_0xbcb32e(0x1b5)]['delete'](_0x395874));}async['exhaustSavingTask'](){const _0x563998=_0x195f34,_0xe2c311=[];this[_0x563998(0x1b5)][_0x563998(0x2ce)]((_0x477add,_0xc87b52)=>{const _0x556359=_0x563998;window['clearTimeout'](_0x477add),_0xe2c311[_0x556359(0xbf)](this[_0x556359(0x1f8)](_0xc87b52)[_0x556359(0x119)](()=>{const _0x5c8743=_0x556359;this['_saveTaskMap'][_0x5c8743(0x197)](_0xc87b52);}));}),await Promise[_0x563998(0x33e)](_0xe2c311);}};_0x3e2297=_0x3bba02([_0x38f3d2(0x0,_0x404026[_0x195f34(0x17c)]),_0x38f3d2(0x1,_0x404026['ILocalStorageService']),_0x38f3d2(0x2,_0x404026[_0x195f34(0x2ef)](_0x503ae1['RevisionService']))],_0x3e2297);class _0x536e16 extends _0x404026['RxDisposable']{constructor(){const _0x425fe7=_0x195f34;super(),_0x2f983b(this,'urlChange$'),this['urlChange$']=_0x4a3af0['fromEvent'](window,_0x425fe7(0x2d0))[_0x425fe7(0x2f3)](_0x4a3af0[_0x425fe7(0x27b)](this['dispose$']),_0x4a3af0['shareReplay'](0x1),_0x4a3af0['mapTo'](void 0x0));}[_0x195f34(0x1de)](_0xf2d9ab,_0x2acc9a,_0x14b279=!0x1){const _0x1cd58a=_0x195f34,_0x517248=new URL(window[_0x1cd58a(0x2f2)]['href']);_0x517248['searchParams'][_0x1cd58a(0x316)](_0xf2d9ab,_0x2acc9a),_0x14b279?window[_0x1cd58a(0x134)][_0x1cd58a(0x214)]('','',_0x517248[_0x1cd58a(0x2a2)]()):window[_0x1cd58a(0x134)]['pushState']('','',_0x517248[_0x1cd58a(0x2a2)]());}[_0x195f34(0x2bd)](_0x4910fc,_0x314d16=!0x1){const _0x117539=_0x195f34,_0xc41c20=new URL(window[_0x117539(0x2f2)][_0x117539(0x149)]);_0xc41c20['searchParams'][_0x117539(0x197)](_0x4910fc),_0x314d16?window[_0x117539(0x134)][_0x117539(0x214)]('','',_0xc41c20[_0x117539(0x2a2)]()):window['history']['pushState']('','',_0xc41c20[_0x117539(0x2a2)]());}[_0x195f34(0x321)](_0x593232){const _0x11c9a2=_0x195f34;var _0x57622a;return(_0x57622a=new URL(window[_0x11c9a2(0x2f2)][_0x11c9a2(0x149)])[_0x11c9a2(0x27a)][_0x11c9a2(0x21a)](_0x593232))!=null?_0x57622a:void 0x0;}}var _0x1c46a5=Object[_0x195f34(0x2ab)],_0x3ac2e8=Object[_0x195f34(0x242)],_0x32310c=(_0x5f492e,_0xe64eae,_0x2c0665)=>_0xe64eae in _0x5f492e?_0x1c46a5(_0x5f492e,_0xe64eae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c0665}):_0x5f492e[_0xe64eae]=_0x2c0665,_0x37b5d8=(_0x4cdfc2,_0x2218ae,_0x449237,_0x30881f)=>{const _0x5e908e=_0x195f34;for(var _0x39d011=_0x30881f>0x1?void 0x0:_0x30881f?_0x3ac2e8(_0x2218ae,_0x449237):_0x2218ae,_0x37e445=_0x4cdfc2[_0x5e908e(0x2eb)]-0x1,_0x58f394;_0x37e445>=0x0;_0x37e445--)(_0x58f394=_0x4cdfc2[_0x37e445])&&(_0x39d011=_0x58f394(_0x39d011)||_0x39d011);return _0x39d011;},_0x331665=(_0x3fc2a3,_0x13a20c)=>(_0x4586c8,_0x5ee981)=>_0x13a20c(_0x4586c8,_0x5ee981,_0x3fc2a3),_0x53ee28=(_0x2fd383,_0x3aec92,_0x51f1ef)=>_0x32310c(_0x2fd383,_0x3aec92+'',_0x51f1ef);const _0x26aa95=_0x195f34(0x1d1);_0x1db428[_0x195f34(0xd3)]=class extends _0x404026[_0x195f34(0x232)]{constructor(_0x5c9a15=_0x5849fd,_0x12ff22,_0x3c5507,_0xe76ccd){const _0x49a10d=_0x195f34;super(),this[_0x49a10d(0x201)]=_0x5c9a15,this['_renderManagerService']=_0x12ff22,this[_0x49a10d(0x2df)]=_0x3c5507,this['_configService']=_0xe76ccd;const {..._0x4fc708}=_0x404026[_0x49a10d(0x1b4)]({},_0x5849fd,this[_0x49a10d(0x201)]);this[_0x49a10d(0x17f)]['setConfig'](_0xc59c41,_0x4fc708);}[_0x195f34(0x319)](){const _0x3e1f84=_0x195f34;this['_registerDependencies'](),this[_0x3e1f84(0x1fd)]();}[_0x195f34(0x2cb)](){const _0x518152=_0x195f34;this[_0x518152(0x200)]();}['_registerDependencies'](){const _0x594be2=_0x195f34;var _0x565f58;const _0x4041ff=[[_0x2d40ec],[_0x517f69],[_0x30d443],[_0x255dbb],[_0x320f00],[_0x2332d6,{'useClass':_0x536e16}],[_0x2ffc80[_0x594be2(0x171)],{'useClass':_0x2ffc80['WebSocketService']}],[_0x175918[_0x594be2(0x128)],{'useClass':_0x3e2297}],[_0x1db428[_0x594be2(0x1b6)]],[_0x2e89f1],[_0x214987],[_0x38d523],[_0x562bc4],[_0x1db428[_0x594be2(0x2b0)]]];_0x404026[_0x594be2(0x2ae)](this[_0x594be2(0x2df)],_0x404026[_0x594be2(0x1f3)](_0x4041ff,(_0x565f58=this[_0x594be2(0x201)])==null?void 0x0:_0x565f58[_0x594be2(0x228)]));}['_registerRenderDependencies'](){const _0x232cb8=_0x195f34;this['disposeWithMe'](this[_0x232cb8(0x1c8)][_0x232cb8(0x2a0)](_0x404026[_0x232cb8(0x290)]['UNIVER_DOC'],[_0xedb427])),this['disposeWithMe'](this['_renderManagerService'][_0x232cb8(0x2a0)](_0x404026[_0x232cb8(0x290)]['UNIVER_SHEET'],[_0x933b32]));}[_0x195f34(0x1fd)](){const _0x3c8464=_0x195f34;_0x404026[_0x3c8464(0xde)](this[_0x3c8464(0x2df)],[[_0x38d523],[_0x1db428['DesktopCollaborationStatusDisplayController']],[_0x2e89f1],[_0x214987],[_0x1db428[_0x3c8464(0x2b0)]]]);}},_0x53ee28(_0x1db428[_0x195f34(0xd3)],_0x195f34(0x159),_0x26aa95),_0x1db428[_0x195f34(0xd3)]=_0x37b5d8([_0x404026['DependentOn'](_0x175918[_0x195f34(0x2c8)]),_0x331665(0x1,_0x112353['IRenderManagerService']),_0x331665(0x2,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x331665(0x3,_0x404026[_0x195f34(0x17c)])],_0x1db428['UniverCollaborationClientUIPlugin']);var _0x20298f=Object[_0x195f34(0x242)],_0x3c3e48=(_0x4eb1f7,_0x446e26,_0x2da2c4,_0x27df15)=>{const _0x18094b=_0x195f34;for(var _0x51b72b=_0x27df15>0x1?void 0x0:_0x27df15?_0x20298f(_0x446e26,_0x2da2c4):_0x446e26,_0x581fc9=_0x4eb1f7[_0x18094b(0x2eb)]-0x1,_0x2763fa;_0x581fc9>=0x0;_0x581fc9--)(_0x2763fa=_0x4eb1f7[_0x581fc9])&&(_0x51b72b=_0x2763fa(_0x51b72b)||_0x51b72b);return _0x51b72b;},_0x19e7a6=(_0x385dba,_0x190f67)=>(_0x3c798b,_0x3b431a)=>_0x190f67(_0x3c798b,_0x3b431a,_0x385dba);_0x1db428['BrowserCollaborationSocketService']=class extends _0x175918[_0x195f34(0x1db)]{constructor(_0x32e2a3,_0x2935dc,_0x47f999,_0x2bfeba,_0x14c692){super(_0x32e2a3,_0x2935dc,_0x47f999,_0x2bfeba,_0x14c692);}async[_0x195f34(0x1be)](_0x50ce3d){const _0x791144=_0x195f34,_0x4f3180=await this[_0x791144(0x2ad)](),_0x46fdc9=this[_0x791144(0x1ed)](_0x50ce3d,_0x4f3180);return this[_0x791144(0x124)](_0x46fdc9);}[_0x195f34(0x1ed)](_0x2eafc9,_0x1c09a5){const _0x297a94=_0x195f34,_0x15e49c=typeof window>'u'?new URL(_0x2eafc9):new URL(_0x2eafc9,window[_0x297a94(0x2f2)][_0x297a94(0xdc)]);_0x15e49c['searchParams'][_0x297a94(0x316)](_0x297a94(0x154),_0x1c09a5);const _0x10a1f9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x297a94(0x2f2)][_0x297a94(0xf4)]);return _0x10a1f9[_0x297a94(0x21a)](_0x297a94(0x288))&&_0x15e49c[_0x297a94(0x27a)][_0x297a94(0x316)](_0x297a94(0x288),_0x10a1f9[_0x297a94(0x21a)](_0x297a94(0x288))),_0x15e49c[_0x297a94(0x2a2)]();}async[_0x195f34(0x2ad)](){const _0x4e1016=_0x195f34;var _0xd32d6d,_0x35f1e6,_0x361a9b;const _0x437160=this[_0x4e1016(0x17f)][_0x4e1016(0x339)](_0x175918[_0x4e1016(0x16b)]),_0x94d4d7=(_0xd32d6d=_0x437160==null?void 0x0:_0x437160[_0x4e1016(0x322)])!=null?_0xd32d6d:_0x175918['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x361a9b=(_0x35f1e6=(await this['_httpService'][_0x4e1016(0x21a)](_0x94d4d7,{'headers':{'Content-Type':_0x4e1016(0x1d3)}}))['body'])==null?void 0x0:_0x35f1e6[_0x4e1016(0x2bf)])!=null?_0x361a9b:'';}},_0x1db428['BrowserCollaborationSocketService']=_0x3c3e48([_0x19e7a6(0x0,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x19e7a6(0x1,_0x404026['Inject'](_0x2ffc80['HTTPService'])),_0x19e7a6(0x2,_0x404026[_0x195f34(0x17c)]),_0x19e7a6(0x3,_0x404026[_0x195f34(0x21e)]),_0x19e7a6(0x4,_0x503ae1['ISnapshotServerService'])],_0x1db428[_0x195f34(0x1cd)]);const _0x15a497=0x7530,_0x73d210='ACTIVE_UNIT_EVENT_CHANNEL';class _0x2192a2 extends _0x404026['Disposable']{constructor(){const _0x36d3e9=_0x195f34;super(),_0x2f983b(this,_0x36d3e9(0x248),_0x404026['generateRandomId']()),_0x2f983b(this,_0x36d3e9(0xed),new Set()),_0x2f983b(this,_0x36d3e9(0x2e6),new Map()),_0x2f983b(this,_0x36d3e9(0x261),null),_0x2f983b(this,'_clearOtherTimers',new Map()),_0x2f983b(this,_0x36d3e9(0x31b),new Map()),this['_init']();}[_0x195f34(0x275)](){const _0x252934=_0x195f34;super[_0x252934(0x275)](),this[_0x252934(0x344)][_0x252934(0x2ce)]((_0x3be573,_0xb8778e)=>this[_0x252934(0x258)](_0xb8778e)),this[_0x252934(0x261)]&&window[_0x252934(0x2cd)](this[_0x252934(0x261)]);}[_0x195f34(0x2e9)](_0x1bbe05){const _0x472ac3=_0x195f34;return this[_0x472ac3(0x1e5)](_0x1bbe05)[_0x472ac3(0x2f3)](_0x4a3af0['distinctUntilChanged']());}[_0x195f34(0x291)](_0x5de3cd){const _0xfa38ff=_0x195f34;this[_0xfa38ff(0xed)][_0xfa38ff(0x129)]===0x0&&this[_0xfa38ff(0xc1)](),this['_selfUnitIDs'][_0xfa38ff(0x2f6)](_0x5de3cd),this['_send']({'type':0x0,'memberID':this[_0xfa38ff(0x248)],'unitIDs':[_0x5de3cd],'isForwarded':!0x1});}[_0x195f34(0x1f2)](_0x325719){const _0x11ca12=_0x195f34;this[_0x11ca12(0xed)][_0x11ca12(0x197)](_0x325719),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x11ca12(0x2cd)](this[_0x11ca12(0x261)]);}[_0x195f34(0xf5)](){const _0x3b397c=_0x195f34;this[_0x3b397c(0xd5)](_0x404026[_0x3b397c(0x331)](_0x4a3af0[_0x3b397c(0x329)](window,'storage')[_0x3b397c(0x246)](_0x373c7c=>{const _0x1d65a9=_0x3b397c;if(_0x373c7c[_0x1d65a9(0x27e)]!==_0x73d210||!_0x373c7c[_0x1d65a9(0x2a3)])return;const _0x39157f=JSON[_0x1d65a9(0x139)](_0x373c7c[_0x1d65a9(0x2a3)]);this['_handleEvent'](_0x39157f);}))),window[_0x3b397c(0x125)](_0x3b397c(0x163),()=>this[_0x3b397c(0x278)]({'type':0x1,'memberID':this[_0x3b397c(0x248)],'unitIDs':Array[_0x3b397c(0xc4)](this[_0x3b397c(0xed)])}));}[_0x195f34(0xc2)](_0x41084e){const _0x196218=_0x195f34;switch(_0x41084e[_0x196218(0x2a9)]){case 0x0:this[_0x196218(0x32e)](_0x41084e);break;case 0x1:this['_handleLeaveEvent'](_0x41084e);break;case 0x2:this['_handleHeartbeatEvent'](_0x41084e);break;}}['_handleJoinEvent'](_0x4e6e2c){const _0x1f1021=_0x195f34,{unitIDs:_0x53035b,memberID:_0x41b0ab,isForwarded:_0xf91e5a}=_0x4e6e2c;_0x53035b['forEach'](_0x29da6c=>{const _0x13ad33=_0x2cf8;if(!_0xf91e5a&&this[_0x13ad33(0x2e6)]['has'](_0x29da6c)&&this[_0x13ad33(0x1e5)](_0x29da6c)['next'](_0x175918['UnitStatus'][_0x13ad33(0x341)]),!this[_0x13ad33(0x2e6)]['has'](_0x29da6c)||!this['_unitOnClients']['get'](_0x29da6c)['has'](_0x41b0ab)){const _0x3a3959=this['_unitOnClients'][_0x13ad33(0x21a)](_0x29da6c)||new Set();_0x3a3959['add'](_0x41b0ab),this['_unitOnClients'][_0x13ad33(0x316)](_0x29da6c,_0x3a3959),this[_0x13ad33(0xc5)](_0x41b0ab);}}),_0xf91e5a||this[_0x1f1021(0x278)]({'type':0x0,'memberID':this[_0x1f1021(0x248)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x195f34(0xc5)](_0x463dd6){const _0x4190a8=_0x195f34;this['_removeClearOtherTimer'](_0x463dd6);const _0x6c5386=window[_0x4190a8(0x33a)](()=>{const _0x1db7a3=_0x4190a8;this[_0x1db7a3(0x2e6)][_0x1db7a3(0x2ce)](_0x3b9f9f=>{const _0x455733=_0x1db7a3;_0x3b9f9f[_0x455733(0x197)](_0x463dd6);});},_0x15a497*0x2);this[_0x4190a8(0x344)][_0x4190a8(0x316)](_0x463dd6,_0x6c5386);}[_0x195f34(0x258)](_0x455ab3){const _0x2fcf14=_0x195f34;if(this[_0x2fcf14(0x344)][_0x2fcf14(0x2ee)](_0x455ab3)){const _0x5d3e86=this[_0x2fcf14(0x344)][_0x2fcf14(0x21a)](_0x455ab3);_0x5d3e86&&window[_0x2fcf14(0x2ec)](_0x5d3e86),this[_0x2fcf14(0x344)][_0x2fcf14(0x316)](_0x455ab3,null);}}['_handleLeaveEvent'](_0x20f050){const _0x48cbbd=_0x195f34,{memberID:_0x2ea20f,unitIDs:_0x27ff18}=_0x20f050;_0x27ff18['forEach'](_0x52d102=>{const _0x2eec79=_0x2cf8;var _0x4af005;const _0x1db6a6=this['_unitOnClients'][_0x2eec79(0x21a)](_0x52d102);_0x1db6a6&&(_0x1db6a6['delete'](_0x2ea20f),(_0x4af005=this[_0x2eec79(0x1e5)](_0x52d102))==null||_0x4af005['next'](_0x1db6a6[_0x2eec79(0x129)]===0x0?_0x175918['UnitStatus'][_0x2eec79(0xeb)]:_0x175918[_0x2eec79(0xea)]['OTHER_CLIENTS_EDITING']));}),this[_0x48cbbd(0x258)](_0x2ea20f);}[_0x195f34(0x289)](_0xafef7d){const _0x5079e1=_0x195f34;this[_0x5079e1(0xc5)](_0xafef7d[_0x5079e1(0x252)]);}[_0x195f34(0x278)](_0x3b9ece){const _0x279928=_0x195f34;localStorage[_0x279928(0x2c3)](_0x73d210,JSON[_0x279928(0xcf)](_0x3b9ece));}['_scheduleHeartbeat'](){const _0x4cc0a3=_0x195f34;this['_heartbeatTimer']=window[_0x4cc0a3(0x31d)](()=>{const _0x283364=_0x4cc0a3;this[_0x283364(0x278)]({'type':0x2,'memberID':this[_0x283364(0x248)]});},_0x15a497);}['_ensureSubject'](_0x4ecd86){const _0x63fe12=_0x195f34;return this['_unitStatus'][_0x63fe12(0x2ee)](_0x4ecd86)||this[_0x63fe12(0x31b)][_0x63fe12(0x316)](_0x4ecd86,new _0x4a3af0[(_0x63fe12(0x2d4))](_0x175918[_0x63fe12(0xea)][_0x63fe12(0xeb)])),this['_unitStatus'][_0x63fe12(0x21a)](_0x4ecd86);}}var _0x3c28c0=(_0x17e3b5=>(_0x17e3b5[_0x17e3b5[_0x195f34(0x301)]=0x0]=_0x195f34(0x301),_0x17e3b5[_0x17e3b5['OK']=0x1]='OK',_0x17e3b5[_0x17e3b5[_0x195f34(0x2ba)]=0x2]=_0x195f34(0x2ba),_0x17e3b5[_0x17e3b5[_0x195f34(0x16a)]=0x3]=_0x195f34(0x16a),_0x17e3b5[_0x17e3b5[_0x195f34(0x2e1)]=0x4]=_0x195f34(0x2e1),_0x17e3b5[_0x17e3b5[_0x195f34(0x164)]=0x5]='UNAUTHENTICATED',_0x17e3b5[_0x17e3b5[_0x195f34(0x1fa)]=0x6]=_0x195f34(0x1fa),_0x17e3b5[_0x17e3b5[_0x195f34(0x165)]=0x7]=_0x195f34(0x165),_0x17e3b5[_0x17e3b5[_0x195f34(0x126)]=0x8]=_0x195f34(0x126),_0x17e3b5[_0x17e3b5[_0x195f34(0x2cf)]=0x9]=_0x195f34(0x2cf),_0x17e3b5[_0x17e3b5[_0x195f34(0x1cf)]=0xa]=_0x195f34(0x1cf),_0x17e3b5[_0x17e3b5[_0x195f34(0x147)]=0x1389]=_0x195f34(0x147),_0x17e3b5[_0x17e3b5[_0x195f34(0x11b)]=0x1771]=_0x195f34(0x11b),_0x17e3b5[_0x17e3b5[_0x195f34(0x1a3)]=0x1772]=_0x195f34(0x1a3),_0x17e3b5[_0x17e3b5['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x195f34(0xfc),_0x17e3b5[_0x17e3b5['APPLY_REJECT']=0x1b59]=_0x195f34(0x237),_0x17e3b5[_0x17e3b5[_0x195f34(0xe2)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x17e3b5[_0x17e3b5[_0x195f34(0x256)]=0x1b5b]=_0x195f34(0x256),_0x17e3b5[_0x17e3b5[_0x195f34(0x184)]=0x1b5c]=_0x195f34(0x184),_0x17e3b5[_0x17e3b5[_0x195f34(0x24d)]=0x1b5d]=_0x195f34(0x24d),_0x17e3b5[_0x17e3b5['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x17e3b5[_0x17e3b5[_0x195f34(0x168)]=0x2329]=_0x195f34(0x168),_0x17e3b5[_0x17e3b5['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x195f34(0x249),_0x17e3b5[_0x17e3b5[_0x195f34(0x2c7)]=0x232b]=_0x195f34(0x2c7),_0x17e3b5[_0x17e3b5['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x17e3b5[_0x17e3b5[_0x195f34(0x1fb)]=0x232d]=_0x195f34(0x1fb),_0x17e3b5[_0x17e3b5[_0x195f34(0x12d)]=0x2711]=_0x195f34(0x12d),_0x17e3b5[_0x17e3b5[_0x195f34(0xe5)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x17e3b5[_0x17e3b5[_0x195f34(0x17b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x17e3b5[_0x17e3b5[_0x195f34(0xe6)]=0x2714]=_0x195f34(0xe6),_0x17e3b5[_0x17e3b5[_0x195f34(0x173)]=0x271a]=_0x195f34(0x173),_0x17e3b5[_0x17e3b5[_0x195f34(0x342)]=0x271b]=_0x195f34(0x342),_0x17e3b5[_0x17e3b5[_0x195f34(0x1c9)]=0x2af9]=_0x195f34(0x1c9),_0x17e3b5[_0x17e3b5[_0x195f34(0xd9)]=0x2ee1]=_0x195f34(0xd9),_0x17e3b5[_0x17e3b5[_0x195f34(0x175)]=0x2ee2]=_0x195f34(0x175),_0x17e3b5[_0x17e3b5['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x17e3b5[_0x17e3b5['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x17e3b5[_0x17e3b5[_0x195f34(0x1bd)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x17e3b5[_0x17e3b5['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x195f34(0x176),_0x17e3b5[_0x17e3b5['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x195f34(0x145),_0x17e3b5[_0x17e3b5[_0x195f34(0x235)]=0x32cb]=_0x195f34(0x235),_0x17e3b5[_0x17e3b5[_0x195f34(0xce)]=-0x1]='UNRECOGNIZED',_0x17e3b5))(_0x3c28c0||{}),_0x1c72ca=Object[_0x195f34(0x242)],_0xe3483f=(_0x2fff05,_0xba9196,_0x4debed,_0x542289)=>{const _0x1600f7=_0x195f34;for(var _0x207e8b=_0x542289>0x1?void 0x0:_0x542289?_0x1c72ca(_0xba9196,_0x4debed):_0xba9196,_0x583800=_0x2fff05[_0x1600f7(0x2eb)]-0x1,_0x30d62b;_0x583800>=0x0;_0x583800--)(_0x30d62b=_0x2fff05[_0x583800])&&(_0x207e8b=_0x30d62b(_0x207e8b)||_0x207e8b);return _0x207e8b;},_0x2c6bb0=(_0x26e858,_0x1336f6)=>(_0x36af81,_0x25239d)=>_0x1336f6(_0x36af81,_0x25239d,_0x26e858);_0x1db428[_0x195f34(0x2d7)]=class extends _0x404026[_0x195f34(0xd8)]{constructor(_0x59e010,_0x5f23e2,_0x5052f1){const _0x6fece9=_0x195f34;super(),this[_0x6fece9(0x259)]=_0x59e010,this[_0x6fece9(0x103)]=_0x5f23e2,this[_0x6fece9(0x17f)]=_0x5052f1;}async['runOnServer'](_0x24fd1c,_0x244748,_0x5de324,..._0x3a120a){const _0x4f76f6=_0x195f34;var _0x3fd8a8,_0x461eaf,_0x27ac12,_0x54e3dd;const _0x4d91a7=this[_0x4f76f6(0x259)][_0x4f76f6(0x23f)]();if(!_0x4d91a7)throw new Error(_0x4f76f6(0x23b));const _0x583737=((_0x3fd8a8=this[_0x4f76f6(0x17f)][_0x4f76f6(0x339)](_0x175918[_0x4f76f6(0x251)]))!=null?_0x3fd8a8:_0x175918[_0x4f76f6(0x2ea)])+'/'+_0x24fd1c+_0x4f76f6(0x300)+_0x244748,_0x156b67=new URL(window[_0x4f76f6(0x2f2)][_0x4f76f6(0x149)]),_0x5c8110={'scriptId':_0x24fd1c,'runId':(_0x461eaf=_0x156b67['searchParams'][_0x4f76f6(0x21a)]('runId'))!=null?_0x461eaf:'','function':_0x244748,'unitId':_0x4d91a7[_0x4f76f6(0x19f)](),'argsOfFunction':JSON[_0x4f76f6(0xcf)](_0x3a120a),'invokeId':(_0x27ac12=_0x5de324[_0x4f76f6(0x298)])!=null?_0x27ac12:'','executionId':(_0x54e3dd=_0x5de324[_0x4f76f6(0x30f)])!=null?_0x54e3dd:''};try{const _0x36388b=await this[_0x4f76f6(0x103)][_0x4f76f6(0x104)](_0x583737,{'body':_0x5c8110});return _0x36388b[_0x4f76f6(0xe7)][_0x4f76f6(0x2a6)]&&_0x36388b['body'][_0x4f76f6(0x2a6)][_0x4f76f6(0x21c)]!==_0x3c28c0['OK']?_0x4f76f6(0x283):_0x36388b[_0x4f76f6(0xe7)][_0x4f76f6(0x198)];}catch{return _0x4f76f6(0x283);}}},_0x1db428[_0x195f34(0x2d7)]=_0xe3483f([_0x2c6bb0(0x0,_0x404026[_0x195f34(0xc8)]),_0x2c6bb0(0x1,_0x404026[_0x195f34(0x2ef)](_0x2ffc80[_0x195f34(0x2ac)])),_0x2c6bb0(0x2,_0x404026['IConfigService'])],_0x1db428[_0x195f34(0x2d7)]),_0x1db428[_0x195f34(0x1f4)]=_0x5c1945,_0x1db428[_0x195f34(0x324)]=_0x2332d6,_0x1db428[_0x195f34(0x209)]=_0x3796fc,_0x1db428['WebBrowserSingleActiveUnitService']=_0x2192a2,_0x1db428[_0x195f34(0x162)]=_0x536e16,Object[_0x195f34(0x2ab)](_0x1db428,Symbol[_0x195f34(0x118)],{'value':_0x195f34(0xcc)});}));