@univerjs-pro/collaboration-client-ui 0.10.2 → 0.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/index.d.ts +5 -5
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1bfb(_0x4d2536,_0x3ac9aa){const _0x3f6bbe=_0x3f6b();return _0x1bfb=function(_0x1bfbd8,_0x56e38b){_0x1bfbd8=_0x1bfbd8-0x6f;let _0x59e79f=_0x3f6bbe[_0x1bfbd8];return _0x59e79f;},_0x1bfb(_0x4d2536,_0x3ac9aa);}function _0x3f6b(){const _0x5a7927=['_heartbeatTimer','IRenderManagerService','onMouseMove','_cursors','application/json','clipPath','_uiPartsService','_imageIoService','getFocusedUnit','getParam','6986084QulsrP','purple.300','YUUMI_UNABLE_LOAD_URL','xlink:href','CollaborationDataLoaderController','setAlpha','connectInjector','getOffsetConfig','getTypeOfUnitAdded$','unitId','IMessageService','UniverDocs','_setupSubUnitSync','off-line-icon','combineLatest','assign','DependentOn','white','_drawTextRange','className','getCurrentRevOfUnit','setActiveRange','length','RemoveColCommandId','transformRemoteChangeset','452990qEaveG','DeleteRangeMoveUpCommandId','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UNDEFINED','SUBMIT_CHANGESET_TIMEOUT','_onCursorUpdate','useRef','MOBILE_VERIFY_CODE_MISMATCH','_setupBeforeClosingHandler','UNAUTHENTICATED','_saveCache','distinctUntilChanged','currentColor','hasOwnProperty','_getAnchorBounding','_refRangeService','_scheduleClearOtherTimer','getUnitId','eventID','_ensureSubject','collaboration.closeRoom','_getScale','collabStatus.notCollab','stringify','function','EMAIL_VERIFY_CODE_MISMATCH','INTERNAL_ERROR','Subject','_eventUnsubscribe','idSuffix','collaboration-client-ui.config','_initEvent','searchParams','EffectRefRangId','UniverEngineRender','transformByState','USER_NOT_INVITED_CODE','height','Unknown\x20user','onLocalMutation','setStateCache','row','IConfigService','has','arc','symbol','TEXT_RANGE_LAYER_INDEX','Shape','_render','_dataLoaderService','_createSocketURL','restore','DocStateChangeManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','green.600','CONNECTOR_DATA_TOO_LARGE','colorChannel1','ThemeService','transform','_config','entries','startColumn','substring','UniverInstanceType','_removeClearOtherTimer','_online','_anchorDot','_cursor','DEFAULT_WS_SESSION_TICKET_URL','_localeService','ranges','transformMutation','APPLY_DUPLICATED','SOCKET_FAILED','_docSkeletonManagerService','DeleteRangeMoveLeftCommandId','saveImage','react','addHandlerCallback','addObject','push','_id','handleIRemoveCol','registerDependencies','post','UniverProCollaboration','concat','resize','selection','registerRefRange','origin','transformStateCache','params','isArray','some','icon','map','getDocRanges','random','unload','show','ISocketService','EMAIL_HAS_BEEN_BOUND','getValue','currentSkeleton$','UniverCore','CollaborationUIEventService','getTypeOfUnitDisposed$','newValue','collaboration-client.offline-data-not-saved','debug','@univerjs/docs','0\x200\x2017\x2016','YUUMI_ALL_TABLES_IS_INVALID','getViewport','@univerjs/design','handleDeleteRangeMoveUp','PY_RUNTIME_SCRIPT_ERROR','_collabCursorState$','replaceState','FromArray','WebSocketService','CLOSE_ROOM','_drawAnchor','_revisionService','call','fillRule','deepClone','round','session.will-retry','handleDeleteRangeMoveLeft','subscribeEvent','_transformUndoRedoStack','filter','INVALID_ARGUMENT','handleInsertRangeMoveRight','getMemberID','MessageType','collabStatus.synced','NOT_FOUND','DisposableCollection','_initResize','min','_shapes','jsxs','width','_scheduleHeartbeat','_sheetSkeletonManagerService','_docTransformSelectionsService','Optional','NodePositionConvertToRectRange','column','translate(.97)','Tools','handleInsertCol','@univerjs/docs-ui','measureText','m1Prime','endRow','createElement','off-line-icon_clip0_910_343','Injector','MemberService','toStringTag','urlChange$','SetWorksheetActivateCommand','_range','UniverNetwork','_onCursorDelete','loadOfflineData','unitID','LICENSE_DISTRO_REJECTED','memberID','_init','clearInterval','loadUnit','collabStatus.offline','getCollabCursors$','React','setConfig','status$','@univerjs-pro/collaboration','lineTo','_registerRenderDependencies','yellow.400','set','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_onRefRangeChange','whenReady','displayName','disposeUnit','session.connection-failed','Failed','isActive','Workbook','type','_localCacheService','getRangePointData','code','rxjs','extend','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onRendered','SessionStatus','_transformPreviousActiveRange','shareReplay','_hideTimer','size','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_collabCursorController','updateOfflineData','_toggleOffline','getUndoRedoMutationParamsCache','HTTPService','actions','DocCollaborationEntity','session.collaboration-timeout','operators','hovered','collab-rect-range-','sessionStatus$','activeSheet$','YUUMI_SUBSCRIPTION_NOT_FOUND','hide','UniverDesign','_injector','CollaborationStatus','focused$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collabCursorState$','send','onTransformChange$','LocaleService','RemoteUniscriptService','pushState','LOCAL_CACHE_INTERVAL_KEY','5132166zTyhZU','syncEditingCollabCursor','jsx','UNIVER_DOC','INVALID_INVITE_CODE','_anchor','tag','_transformHistoryAndStateStack','children','OffLineIcon','_getSheetObject','sheetID','UniverRpc','forEach','drawWith','FETCH_MISS','getOwnPropertyDescriptor','Rectangle','_urlService','debounce','replaceDocRanges','registerBeforeClose','IUniverInstanceService','SNAPSHOT_INVALID_SNAPSHOT','mask','dispose','295416ILuSmT','DOC_RANGE_TYPE','saveOfflineData','use','rgba(255,\x20255,\x20255,\x200.01)','SheetSkeletonManagerService','color','handleInsertRangeMoveDown','executionId','unsubscribe','_getMergeRange','attrs','body','RefRangeService','_session','_refreshCollabCursors','subscribe','triggerDblclick','invokeId','values','setShapeProps','CommandType','_toggleOnline','SheetCollabCursorShape','Warning','@univerjs/ui','CONFLICT','SNAPSHOT_HAS_BEEN_REMOVED','#FFF','entityInit$','_textBubble','_beforeCloseService','fillText','defs','_unitStatus','/run/','BuiltInUIPart','_commandService','save','BrowserCollaborationSocketService','get','history','16194216CJQZnH','none','_removeCollabCursors','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','data','ACTIVE_UNIT_EVENT_CHANNEL','OnLineIcon','skeleton','defIds','createIdentifier','handleMoveRange','YUUMI_AI_RUN_FAILED','ONLINE','_configService','getOwnPropertySymbols','indexOf','Error','_initStatusComponent','moveTo','SOCKET_FAILED_RETRY','RemoveRowCommandId','url(#off-line-icon_clip0_910_343)','redoState','backgroundColor','complete','OTHER_CLIENT_EDITING','RevisionService','MOBILE_HAS_BEEN_BOUND','_clearOtherTimers','@univerjs/sheets','CollaborationUIEventId','_localStorageService','RxDisposable','_messageService','getColor','WECHAT_HAS_BEEN_BOUND','UniverDocsUi','_status$','disposeWithMe','url(#on-line-icon_clip0_910_349)','ColorKit','name','from','MUTATION','_assignedColors','string','SetTextSelectionsOperation','_updateLocalCursor','_collaborationUIEventService','getSheetId','find','_themeService','UPDATE_CURSOR','black','APPLY_REJECT','_colorAssignService','href','div','collabStatus.syncing','collabStatus.fetchMiss','with','NOT_COLLAB','COMPLETION_FINISHED','IUIPartsService','PERMISSION_DENIED','toDisposable','runId','roomMembers$','_docSkeleton','_docTransformStateCacheService','_updateURLWithCurrentState','setUndoRedoMutationParamsCache','univerjs-icon\x20univerjs-icon-','setParam','getSkeleton','APPLY_PERMISSION_DENIED','startRow','undoState','YUUMI_NO_CUBOID_FOR_QUESTION','APPLY_REVISION_CONFILICT','search','Module','result','VIEW_MAIN','_registerDependencies','collab-text-range-','prototype','INVITE_CODE_REQUIRED','closePath','YUUMI_ASYNCIO_CANCELLED','_selfUnitIDs','merge','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_scheduleSaving','takeUntil','clearTimeout','trim','_initCommandExecutedListener','svg','error','currentTheme$','_memberService','text','_hovered','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','on-line-icon','getConfig','DesktopCollaborationStatusDisplayController','transformSelections','_draw','on-line-icon_clip0_910_349','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','fromEventSubject','transformIMECache','asObservable','_handleLeaveEvent','mapTo','getVpScrollXYInfoByPosToVp','assignAColorForMemberID','getSheetObject','getColorFromTheme','CollaborationSessionService','_docStateChangeManagerService','Disposable','_getSessionTicket','enableLocalCache','getLocalCacheKey','beginPath','next','isTransformMutationsWithChangesetSuccess','ICommandService','onPointerMove$','doc.mutation.rich-text-editing','ILocalCacheService','Vector2','collab-client.tooltip.reconnect','removeParam','url(#$1','_renderManagerService','setItem','UnitStatus','generateRandomId','_scene','CollaborationController','Rect','CHANGESET_REVISION_CONFILICT','popstate','deserializeRangeWithSheet','range','toString','APPLY_NON_SEQUENTIAL_REVISION','add','replace','_unitOnClients','_collaborationController','_initStatusListener','LOGIN_FAILED','setTimeout','object','m2Prime','flatMap','OTHER_CLIENTS_EDITING','_notificationService','toRgbString','mutations','max','UniverProCollaborationClient','sessionTicket','addEventListener','SYNCED','_lastPointer','USERS_LEAVE','_handleEvent','jiqing.500','@univerjs/engine-formula','then','_handleHover','propertyIsEnumerable','_hover','INVITE_CODE_ALREADY_BOUND','pipe','...','_syncEditingCollabCursorService','_roomMembers$','source','textRanges','imageSourceType','YUUMI_URL_COL_OUT_OF_RANGE','_docTransformIMECacheService','UniverIcon','bottom','@univerjs/network','cursorInfo$','switchMap','InsertColCommandId','unshift','font','UNIVER_SHEET','getMember','INVITE_CODE_HAS_BEEN_UES','IDocClipboardService','_handleJoinEvent','_startSheetCollabCursor','DocIMEInputManagerService','_disabled','ILocalStorageService','@univerjs/sheets-ui','DocSelectionManagerService','pluginName','event$','Inject','_cursorInfo$','fill','_docClipboardService','_httpService','_collabSessionService','UNRECOGNIZED','sheetId','collab-text-anchor-','parse','red.300','LICENSE_EXPORT_SIZE_EXCEEDED','_send','onPointerEnter$','getAncestorScale','executeCommand','wsSessionTicketUrl','COLORS','Tooltip','_docSyncEditingCollabCursorService','storage','editingUnit','_labelPosition','subunit','registerRenderModule','registerComponent','includes','getSheetBySheetId','_colorIndex','createInstance','onCommandExecuted','onStarting','isTransformMutationFailure','engine','@univerjs-pro/collaboration-client','TEXT','_color','[CollaborationDataLoaderController]','setInterval','RichTextEditingMutation','BehaviorSubject','IBeforeCloseService','RegularPolygon','UniverCollaborationClientUIPlugin','_entityInit$','_initEntityListener','InsertRowCommandId','evenodd','getUniverSheetInstance','path','INotificationService','LICENSE_MAX_UNITS_EXCEEDED','react/jsx-runtime','location','_handleHeartbeatEvent','ITransformService','dispose$','ILogService','_cachedData','getCoordByCell','findNodePositionByCharIndex','cursorInfo','exhaustSavingTask','_backgroundColor','_saveTaskMap','override','_transformService','top','defineProperty','_name','_getSaveTimeout','1em','RECT','getUnhiddenWorksheets','1016920rWrqBt','ALREADY_EXISTS','YUUMI_TABLE_NOT_FOUND_IN_UNIT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','ENSURE_SNAPSHOT_EXECUTION','debounceTime','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','fromEvent','forwardRef','isEditing','_univerInstanceService','_initDependencies','DocSkeletonManagerService','getUnitStatus$','makeDirty','_context','UniverDrawing','@univerjs/engine-render','key','getActiveSheet','getActiveRange','ticket','exports','contains','useDependency','rxjs/operators','NO_OTHER_CLIENTS_EDITING','fillStyle','addObjects','createSocket','unit','getStateCache','TOO_MANY_REQUESTS','requireSession','_logService','_cursorShapes','delete','M0\x200H16V16H0z','CollaborationEvent','_entities','_updateCollabCursors','_instanceService','2246516jhRHDd','IURLService','InsertRangeMoveRightCommandId','SHEET_VIEWPORT_KEY','YUUMI_RATE_OVER_LIMIT','init','permission.title','useCallback','roomMembers','5UCVhAl'];_0x3f6b=function(){return _0x5a7927;};return _0x3f6b();}(function(_0x47674f,_0x53209b){const _0x3ae961=_0x1bfb,_0x431aa7=_0x47674f();while(!![]){try{const _0x8b4571=parseInt(_0x3ae961(0x213))/0x1+-parseInt(_0x3ae961(0x1bc))/0x2+-parseInt(_0x3ae961(0x76))/0x3+-parseInt(_0x3ae961(0x1e6))/0x4*(-parseInt(_0x3ae961(0x1ef))/0x5)+-parseInt(_0x3ae961(0x300))/0x6+-parseInt(_0x3ae961(0x1fa))/0x7+parseInt(_0x3ae961(0xa0))/0x8;if(_0x8b4571===_0x53209b)break;else _0x431aa7['push'](_0x431aa7['shift']());}catch(_0x15268e){_0x431aa7['push'](_0x431aa7['shift']());}}}(_0x3f6b,0x8d41f),function(_0x330c26,_0x51112a){const _0x14ece9=_0x1bfb;typeof exports==_0x14ece9(0x13e)&&typeof module<'u'?_0x51112a(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x14ece9(0x22b)&&define['amd']?define([_0x14ece9(0x1d2),_0x14ece9(0x194),'@univerjs/core',_0x14ece9(0x1cd),_0x14ece9(0x15f),_0x14ece9(0x2af),'@univerjs/drawing',_0x14ece9(0x2db),_0x14ece9(0x2c9),_0x14ece9(0x283),_0x14ece9(0x14e),_0x14ece9(0xbd),_0x14ece9(0x1d5),_0x14ece9(0x16e),_0x14ece9(0x1a6),_0x14ece9(0x8f),_0x14ece9(0x287),_0x14ece9(0x261),'@univerjs/rpc'],_0x51112a):(_0x330c26=typeof globalThis<'u'?globalThis:_0x330c26||self,_0x51112a(_0x330c26['UniverProCollaborationClientUi']={},_0x330c26[_0x14ece9(0x146)],_0x330c26[_0x14ece9(0x27d)],_0x330c26[_0x14ece9(0x235)],_0x330c26[_0x14ece9(0x2bb)],_0x330c26[_0x14ece9(0xc4)],_0x330c26[_0x14ece9(0x1cc)],_0x330c26[_0x14ece9(0x2db)],_0x330c26[_0x14ece9(0x269)],_0x330c26[_0x14ece9(0x205)],_0x330c26['UniverEngineFormula'],_0x330c26['UniverSheets'],_0x330c26[_0x14ece9(0x2db)][_0x14ece9(0x2ed)],_0x330c26['UniverSheetsUi'],_0x330c26[_0x14ece9(0x2c6)],_0x330c26['UniverUi'],_0x330c26[_0x14ece9(0x2f4)],_0x330c26[_0x14ece9(0x2c6)],_0x330c26[_0x14ece9(0x30c)]));}(this,function(_0x4e590a,_0x4d8e7c,_0x3c1804,_0x214f70,_0x3ceccb,_0x4aced0,_0x218659,_0x23318b,_0x4b9b03,_0x3c10b0,_0x5f241f,_0x441e63,_0x46a0e3,_0x476013,_0x508896,_0xb7c596,_0x2e0a42,_0x264b32,_0x9f1645){'use strict';const _0x2a4230=_0x1bfb;var _0x380276=Object[_0x2a4230(0x1b6)],_0x1c82e5=(_0x15d054,_0x236b24,_0x1c9404)=>_0x236b24 in _0x15d054?_0x380276(_0x15d054,_0x236b24,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c9404}):_0x15d054[_0x236b24]=_0x1c9404,_0x275745=(_0x1bed32,_0x492827,_0x10bca9)=>_0x1c82e5(_0x1bed32,typeof _0x492827!=_0x2a4230(0x240)?_0x492827+'':_0x492827,_0x10bca9),_0x3d403f=Object['getOwnPropertyDescriptor'],_0x1fe922=(_0x5553a3,_0x5e7d42,_0x558daa,_0x109cf6)=>{const _0xc8ea23=_0x2a4230;for(var _0x17b5dd=_0x109cf6>0x1?void 0x0:_0x109cf6?_0x3d403f(_0x5e7d42,_0x558daa):_0x5e7d42,_0x44928a=_0x5553a3[_0xc8ea23(0x210)]-0x1,_0x1f6e35;_0x44928a>=0x0;_0x44928a--)(_0x1f6e35=_0x5553a3[_0x44928a])&&(_0x17b5dd=_0x1f6e35(_0x17b5dd)||_0x17b5dd);return _0x17b5dd;},_0x5ad8e6=(_0x12c773,_0x40f69f)=>(_0xe3e779,_0x53db87)=>_0x40f69f(_0xe3e779,_0x53db87,_0x12c773);let _0x34b7fc=class extends _0x3c1804['RxDisposable']{constructor(_0x16105d,_0x2bf1a2){const _0x37d369=_0x2a4230;super(),this[_0x37d369(0x175)]=_0x16105d,this[_0x37d369(0x1f7)]=_0x2bf1a2,this[_0x37d369(0x2c1)]();}['_init'](){const _0x43380d=_0x2a4230,_0x3092ee=this;this[_0x43380d(0xc6)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x5dbdde=>{const _0x5c014f=_0x43380d,_0x11312f=await _0x3092ee[_0x5c014f(0x1f7)][_0x5c014f(0x260)](_0x5dbdde);return _0x11312f?{'source':_0x11312f[_0x5c014f(0x158)],'imageSourceType':_0x11312f[_0x5c014f(0x15a)]}:null;}}));}};_0x34b7fc=_0x1fe922([_0x5ad8e6(0x0,_0x4aced0[_0x2a4230(0x168)]),_0x5ad8e6(0x1,_0x218659['IImageIoService'])],_0x34b7fc);const _0x5d0736=[_0x2a4230(0x1fb),_0x2a4230(0x14d),_0x2a4230(0x24a),_0x2a4230(0x17c),'blue.400',_0x2a4230(0x2cc)];class _0x7baa89 extends _0x3c1804[_0x2a4230(0x11b)]{constructor(){const _0x5358ee=_0x2a4230;super(...arguments),_0x275745(this,_0x5358ee(0xcc),new Map()),_0x275745(this,_0x5358ee(0x18e),0x0);}[_0x2a4230(0x116)](_0x590c55){const _0x38326a=_0x2a4230;if(this[_0x38326a(0xcc)]['has'](_0x590c55))return this[_0x38326a(0xcc)]['get'](_0x590c55);const _0x15b059=_0x5d0736[this['_colorIndex']];return this[_0x38326a(0x18e)]=(this[_0x38326a(0x18e)]+0x1)%_0x5d0736[_0x38326a(0x210)],this[_0x38326a(0xcc)][_0x38326a(0x2cd)](_0x590c55,_0x15b059),_0x15b059;}}function _0x16b563(_0x125c96){const _0x68dc4c=_0x2a4230;let _0x3f2d17='';for(const _0x96525b of _0x125c96){const {startOffset:_0x4a32e5,endOffset:_0x5086b0,isActive:_0x33d863,rangeType:_0x2eeac8,segmentId:_0xe46ddf,segmentPage:_0x910b4d}=_0x96525b;_0x3f2d17[_0x68dc4c(0x210)]&&(_0x3f2d17+=','),_0x3f2d17+=_0x4a32e5+':'+_0x5086b0+':'+(_0x33d863?'1':'0')+':'+_0x2eeac8+':'+_0xe46ddf+':'+_0x910b4d;}return _0x3f2d17;}function _0x2357db(_0xd96c48){const _0x325e9c=_0x2a4230,_0x34d425=_0xd96c48['split'](','),_0x464a68=[];for(const _0x37bf30 of _0x34d425){const [_0x232a32,_0x447c5f,_0x2fdf8f,_0x370c83,_0x4e62d1,_0x2bcdc7]=_0x37bf30['split'](':');_0x464a68[_0x325e9c(0x264)]({'startOffset':Number(_0x232a32),'endOffset':Number(_0x447c5f),'collapsed':_0x232a32===_0x447c5f,'isActive':_0x2fdf8f==='1','rangeType':_0x370c83===_0x3c1804[_0x325e9c(0x77)][_0x325e9c(0x195)]?_0x3c1804[_0x325e9c(0x77)][_0x325e9c(0x195)]:_0x3c1804[_0x325e9c(0x77)][_0x325e9c(0x1ba)],'segmentId':typeof _0x4e62d1==_0x325e9c(0xcd)?String(_0x4e62d1):'','segmentPage':Number(_0x2bcdc7!=null?_0x2bcdc7:-0x1)});}return _0x464a68[_0x325e9c(0x272)](_0x556dc1=>_0x556dc1[_0x325e9c(0x2d5)])||(_0x464a68[0x0][_0x325e9c(0x2d5)]=!0x0),_0x464a68;}class _0x149923 extends _0x3c1804[_0x2a4230(0xc0)]{constructor(){const _0x421fc4=_0x2a4230;super(...arguments),_0x275745(this,'_collabCursorState$',new _0x23318b[(_0x421fc4(0x19a))](null)),_0x275745(this,_0x421fc4(0x2f9),this[_0x421fc4(0x28a)][_0x421fc4(0x112)]());}[_0x2a4230(0x301)](_0x1a0b5b){const _0x26a70f=_0x2a4230,{unitID:_0x3314c9,memberID:_0x3671f5,textRanges:_0x176b10}=_0x1a0b5b,_0x16b09c=_0x16b563(_0x176b10);if(_0x16b09c==='')return;const _0x295e34={'unitID':_0x3314c9,'memberID':_0x3671f5,'selection':_0x16b09c};this[_0x26a70f(0x28a)][_0x26a70f(0x120)](_0x295e34);}}var _0x4d7bdb=Object[_0x2a4230(0x310)],_0x309cb6=(_0x191df8,_0x3d7ed,_0x58ca6a,_0x5c3fea)=>{const _0x586a4d=_0x2a4230;for(var _0x256c72=_0x5c3fea>0x1?void 0x0:_0x5c3fea?_0x4d7bdb(_0x3d7ed,_0x58ca6a):_0x3d7ed,_0x503230=_0x191df8[_0x586a4d(0x210)]-0x1,_0xe4bf9f;_0x503230>=0x0;_0x503230--)(_0xe4bf9f=_0x191df8[_0x503230])&&(_0x256c72=_0xe4bf9f(_0x256c72)||_0x256c72);return _0x256c72;},_0x5def13=(_0x288c71,_0x54703b)=>(_0x251096,_0x418cfb)=>_0x54703b(_0x251096,_0x418cfb,_0x288c71);const _0x8abd4f=0x12c,_0xd996b=0x64;let _0xe43420=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x64fe76,_0x5fd131,_0x1b7b1d,_0x3283e6,_0x1723de,_0x33b8d4,_0x4490f2,_0x27cbae,_0x280b4f){const _0x35210a=_0x2a4230;super(),_0x275745(this,_0x35210a(0x255),!0x1),_0x275745(this,_0x35210a(0x2c1),!0x1),_0x275745(this,_0x35210a(0x173),new _0x23318b[(_0x35210a(0x19a))](new Map())),_0x275745(this,_0x35210a(0x160),this[_0x35210a(0x173)][_0x35210a(0x112)]()),_0x275745(this,_0x35210a(0x157),new _0x23318b[(_0x35210a(0x19a))]([])),_0x275745(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x23318b[_0x35210a(0x1c1)](_0x8abd4f))),_0x275745(this,'_updateLocalCursor',_0x3c1804[_0x35210a(0x6f)](_0x4152e2=>{const _0xde52e=_0x35210a,_0x2c51f8={'eventID':_0x4b9b03['CollaborationEvent'][_0xde52e(0xd4)],'data':{'unitID':this[_0xde52e(0x2be)],'memberID':this[_0xde52e(0x84)][_0xde52e(0x29c)](),'selection':_0x16b563(_0x4152e2)}};this[_0xde52e(0x84)][_0xde52e(0x2fa)](_0x2c51f8,this[_0xde52e(0x2be)]);},_0xd996b)),(this['unitID']=_0x64fe76,this[_0x35210a(0x84)]=_0x5fd131,this[_0x35210a(0x2f5)]=_0x1b7b1d,this[_0x35210a(0xd7)]=_0x3283e6,this[_0x35210a(0x105)]=_0x1723de,this[_0x35210a(0x156)]=_0x33b8d4,this[_0x35210a(0x1b4)]=_0x4490f2,this[_0x35210a(0x1c6)]=_0x27cbae,this['_commandService']=_0x280b4f);}get[_0x2a4230(0x1af)](){const _0x5f17e3=_0x2a4230;return this[_0x5f17e3(0x173)][_0x5f17e3(0x27b)]();}get[_0x2a4230(0x1ee)](){return this['_roomMembers$']['getValue']();}[_0x2a4230(0x75)](){const _0x5839ab=_0x2a4230;super[_0x5839ab(0x75)](),this[_0x5839ab(0x173)][_0x5839ab(0x120)](new Map()),this[_0x5839ab(0x173)][_0x5839ab(0xb8)](),this['_roomMembers$']['next']([]),this[_0x5839ab(0x157)][_0x5839ab(0xb8)]();}[_0x2a4230(0x1eb)](){const _0x9dbda5=_0x2a4230;this[_0x9dbda5(0x2c1)]||(this[_0x9dbda5(0x2c1)]=!0x0,this[_0x9dbda5(0x84)][_0x9dbda5(0x2f0)][_0x9dbda5(0x154)](_0x23318b['takeUntil'](this['dispose$']))[_0x9dbda5(0x86)](_0x448df7=>{const _0x213078=_0x9dbda5;_0x448df7===_0x4d8e7c[_0x213078(0x2df)][_0x213078(0xac)]?this[_0x213078(0x8c)]():this['_toggleOffline']();}),this['_session'][_0x9dbda5(0x171)][_0x9dbda5(0x154)](_0x23318b[_0x9dbda5(0xfe)](this[_0x9dbda5(0x1aa)]))[_0x9dbda5(0x86)](_0x20eb96=>{const _0xd029e1=_0x9dbda5,_0x17a134=_0x20eb96[_0xd029e1(0x225)];_0x17a134===_0x4b9b03[_0xd029e1(0x1e2)][_0xd029e1(0xd4)]&&this['_onCursorUpdate'](_0x20eb96),_0x17a134===_0x4b9b03[_0xd029e1(0x1e2)]['USERS_LEAVE']&&this[_0xd029e1(0x2bc)](_0x20eb96);}),this[_0x9dbda5(0xc6)](this[_0x9dbda5(0x9b)][_0x9dbda5(0x190)](_0x2674b0=>{const _0x188ee6=_0x9dbda5,_0x366938=_0x2674b0[_0x188ee6(0x270)];_0x366938!=null&&this[_0x188ee6(0x255)]&&_0x2674b0['id']===_0x3c10b0[_0x188ee6(0xce)]['id']&&_0x366938['unitId']===this['unitID']&&_0x366938[_0x188ee6(0x1c5)]===!0x1&&_0x366938[_0x188ee6(0x25a)][_0x188ee6(0x210)]>0x0&&this['_updateLocalCursor'](_0x366938[_0x188ee6(0x25a)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x9dbda5(0x154)](_0x23318b[_0x9dbda5(0xfe)](this['dispose$']))[_0x9dbda5(0x86)](_0x4a7b77=>{const _0x4191b6=_0x9dbda5;if((_0x4a7b77==null?void 0x0:_0x4a7b77[_0x4191b6(0x2be)])!==this[_0x4191b6(0x2be)])return;const _0x389cc2={'eventID':_0x4b9b03[_0x4191b6(0x1e2)][_0x4191b6(0xd4)],'data':_0x4a7b77};this[_0x4191b6(0x218)](_0x389cc2);}),this['disposeWithMe'](this[_0x9dbda5(0x9b)][_0x9dbda5(0x190)](_0x767cf7=>{const _0x597b79=_0x9dbda5;if(_0x767cf7[_0x597b79(0x270)]==null)return;const _0x4c8bd6=_0x767cf7['params'];if(_0x767cf7['id']!==_0x3c10b0[_0x597b79(0x199)]['id']||_0x4c8bd6[_0x597b79(0x203)]!==this['unitID'])return;const _0x3277c3={'id':_0x597b79(0x124),'params':_0x4c8bd6},_0x2115a5=this['cursorInfo'];for(const [_0x1952a5,_0x147dd1]of _0x2115a5){const _0x27c339={'id':_0x597b79(0x124),'params':{'unitId':this[_0x597b79(0x2be)],'actions':null,'textRanges':_0x147dd1[_0x597b79(0x25a)]}},_0x248729=this[_0x597b79(0x1b4)][_0x597b79(0x25b)](_0x3277c3,_0x27c339,!0x1);if(_0x4b9b03[_0x597b79(0x192)](_0x248729))throw _0x248729['error'];_0x2115a5[_0x597b79(0x2cd)](_0x1952a5,{..._0x147dd1,'ranges':_0x248729['m2Prime'][_0x597b79(0x270)][_0x597b79(0x159)]});}queueMicrotask(()=>{const _0x410eba=_0x597b79;this[_0x410eba(0x173)][_0x410eba(0x120)](_0x2115a5);});})));}['_onCursorUpdate'](_0x1af999){const _0x1c1be0=_0x2a4230;var _0x4eb9c3,_0x5d328c;const {memberID:_0x162b4d,selection:_0x418822}=_0x1af999[_0x1c1be0(0xa4)],_0x57d696=_0x2357db(_0x418822),_0x466e9c=(_0x5d328c=(_0x4eb9c3=this[_0x1c1be0(0x105)][_0x1c1be0(0x166)](this[_0x1c1be0(0x2be)],_0x162b4d))==null?void 0x0:_0x4eb9c3[_0x1c1be0(0xc9)])!=null?_0x5d328c:_0x1c1be0(0x239),_0x16f604={'color':this[_0x1c1be0(0xd7)][_0x1c1be0(0x116)](_0x162b4d),'name':_0x466e9c,'ranges':_0x57d696},_0x86def6=this[_0x1c1be0(0x1af)];_0x86def6['set'](_0x162b4d,_0x16f604),this[_0x1c1be0(0x173)][_0x1c1be0(0x120)](_0x86def6);}[_0x2a4230(0x2bc)](_0x11f519){const _0x5dc8c1=_0x2a4230,{memberID:_0x21d0c8}=_0x11f519[_0x5dc8c1(0xa4)],_0x312cbe=this[_0x5dc8c1(0x1af)];_0x312cbe[_0x5dc8c1(0x1e0)](_0x21d0c8),this[_0x5dc8c1(0x173)][_0x5dc8c1(0x120)](_0x312cbe);}['_toggleOnline'](){const _0x59cc9d=_0x2a4230;var _0x16c87c;if(this[_0x59cc9d(0x255)]=!0x0,((_0x16c87c=this['_univerInstanceService'][_0x59cc9d(0x1f8)]())==null?void 0x0:_0x16c87c['getUnitId']())!==this[_0x59cc9d(0x2be)])return;const _0x271c9e=this[_0x59cc9d(0x2f5)][_0x59cc9d(0x9e)](_0x3c10b0[_0x59cc9d(0x16f)])[_0x59cc9d(0x275)]();Array[_0x59cc9d(0x271)](_0x271c9e)&&_0x271c9e[_0x59cc9d(0x210)]>0x0&&this[_0x59cc9d(0xcf)](_0x271c9e);}[_0x2a4230(0x2e7)](){this['_online']=!0x1;}};_0xe43420=_0x309cb6([_0x5def13(0x2,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0x5def13(0x3,_0x3c1804[_0x2a4230(0x172)](_0x7baa89)),_0x5def13(0x4,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x2b6)])),_0x5def13(0x5,_0x3c1804[_0x2a4230(0x172)](_0x149923)),_0x5def13(0x6,_0x4b9b03[_0x2a4230(0x1a9)]),_0x5def13(0x7,_0x3c1804[_0x2a4230(0x72)]),_0x5def13(0x8,_0x3c1804[_0x2a4230(0x122)])],_0xe43420);var _0x2a39ea=Object['getOwnPropertyDescriptor'],_0x209e9f=(_0x122f81,_0x3d4769,_0x22732a,_0x2f7fe8)=>{for(var _0x569ccb=_0x2f7fe8>0x1?void 0x0:_0x2f7fe8?_0x2a39ea(_0x3d4769,_0x22732a):_0x3d4769,_0x3fd904=_0x122f81['length']-0x1,_0x285981;_0x3fd904>=0x0;_0x3fd904--)(_0x285981=_0x122f81[_0x3fd904])&&(_0x569ccb=_0x285981(_0x569ccb)||_0x569ccb);return _0x569ccb;},_0x6eef53=(_0x4d68da,_0x374d4b)=>(_0x4398cb,_0x3075c8)=>_0x374d4b(_0x4398cb,_0x3075c8,_0x4d68da);const _0x1acebf=0x12c,_0x21d725=0x64,_0x52d308=()=>{let _0x3ce80c=[],_0x4087e4=!0x1;return _0x2e92ce=>{const _0x2eee88=_0x1bfb;_0x3ce80c[_0x2eee88(0x264)](_0x2e92ce),_0x4087e4||(_0x4087e4=!0x0,setTimeout(()=>{_0x3ce80c['forEach'](_0x7314b4=>_0x7314b4()),_0x3ce80c=[],_0x4087e4=!0x1;}));};};let _0x3b49f4=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x11cdcd,_0x251285,_0xe2752f,_0x15e388,_0x3c013c,_0x13342c,_0x3366cb,_0x417020){const _0x39cc7c=_0x2a4230;super(),_0x275745(this,_0x39cc7c(0x255),!0x1),_0x275745(this,'_init',!0x1),_0x275745(this,_0x39cc7c(0x173),new _0x23318b[(_0x39cc7c(0x19a))](new Map())),_0x275745(this,'cursorInfo$',this[_0x39cc7c(0x173)][_0x39cc7c(0x112)]()),_0x275745(this,'_roomMembers$',new _0x23318b[(_0x39cc7c(0x19a))]([])),_0x275745(this,_0x39cc7c(0xe3),this[_0x39cc7c(0x157)][_0x39cc7c(0x154)](_0x23318b[_0x39cc7c(0x1c1)](_0x1acebf))),_0x275745(this,'_updateLocalCursor',_0x3c1804['debounce']((_0xc4ab2f,_0x5129da)=>{const _0xa372ad=_0x39cc7c,_0x3d3c7b={'eventID':_0x4b9b03[_0xa372ad(0x1e2)][_0xa372ad(0xd4)],'data':{'unitID':this['unitID'],'memberID':this[_0xa372ad(0x84)][_0xa372ad(0x29c)](),'selection':_0x5f241f['serializeRangeWithSheet'](_0xc4ab2f,_0x5129da[_0xa372ad(0x134)])}};this[_0xa372ad(0x84)][_0xa372ad(0x2fa)](_0x3d3c7b,this[_0xa372ad(0x2be)]);},_0x21d725)),(this[_0x39cc7c(0x2be)]=_0x11cdcd,this['_session']=_0x251285,this['_injector']=_0xe2752f,this[_0x39cc7c(0xd7)]=_0x15e388,this['_memberService']=_0x3c013c,this['_univerInstanceService']=_0x13342c,this[_0x39cc7c(0x9b)]=_0x3366cb,this[_0x39cc7c(0x222)]=_0x417020);}get[_0x2a4230(0x1af)](){return this['_cursorInfo$']['getValue']();}get[_0x2a4230(0x1ee)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0xb355cb=_0x2a4230;super[_0xb355cb(0x75)](),this[_0xb355cb(0x173)][_0xb355cb(0x120)](new Map()),this[_0xb355cb(0x173)][_0xb355cb(0xb8)](),this[_0xb355cb(0x157)][_0xb355cb(0x120)]([]),this['_roomMembers$'][_0xb355cb(0xb8)]();}['init'](){const _0x40aa7e=_0x2a4230;this[_0x40aa7e(0x2c1)]||(this[_0x40aa7e(0x2c1)]=!0x0,this[_0x40aa7e(0x84)][_0x40aa7e(0x2f0)]['pipe'](_0x23318b[_0x40aa7e(0xfe)](this[_0x40aa7e(0x1aa)]))[_0x40aa7e(0x86)](_0x3fa38e=>{const _0x274179=_0x40aa7e;_0x3fa38e===_0x4d8e7c['SessionStatus'][_0x274179(0xac)]?this[_0x274179(0x8c)]():this['_toggleOffline']();}),this[_0x40aa7e(0x84)][_0x40aa7e(0x171)][_0x40aa7e(0x154)](_0x23318b[_0x40aa7e(0xfe)](this[_0x40aa7e(0x1aa)]))[_0x40aa7e(0x86)](_0x1415d4=>{const _0xcc6b68=_0x40aa7e,_0x589bf5=_0x1415d4[_0xcc6b68(0x225)];_0x589bf5===_0x4b9b03[_0xcc6b68(0x1e2)][_0xcc6b68(0xd4)]&&this[_0xcc6b68(0x218)](_0x1415d4),_0x589bf5===_0x4b9b03[_0xcc6b68(0x1e2)][_0xcc6b68(0x14b)]&&this[_0xcc6b68(0x2bc)](_0x1415d4);}),this[_0x40aa7e(0x2cf)](),this[_0x40aa7e(0xc6)](this['_commandService']['onCommandExecuted'](_0xde272e=>{const _0x298582=_0x40aa7e;if(this['_online']&&_0xde272e['id']===_0x441e63['SetSelectionsOperation']['id']&&_0xde272e[_0x298582(0x270)][_0x298582(0x203)]===this[_0x298582(0x2be)]){const _0x1ae982=_0xde272e[_0x298582(0x270)];this[_0x298582(0xcf)](_0x1ae982['subUnitId'],_0x1ae982['selections'][0x0]);}})));}[_0x2a4230(0x218)](_0x12a612){const _0x27f0d2=_0x2a4230;var _0x2517bf,_0x5163e9;const {memberID:_0x3d2549,selection:_0x41ec11}=_0x12a612[_0x27f0d2(0xa4)],{sheetName:_0x167449,range:_0x486725}=_0x5f241f[_0x27f0d2(0x133)](_0x41ec11),_0x40cc5c={'name':(_0x5163e9=(_0x2517bf=this['_memberService']['getMember'](this[_0x27f0d2(0x2be)],_0x3d2549))==null?void 0x0:_0x2517bf['name'])!=null?_0x5163e9:_0x27f0d2(0x239),'range':this[_0x27f0d2(0x80)](_0x167449,_0x486725),'sheetID':_0x167449,'color':this['_colorAssignService'][_0x27f0d2(0x116)](_0x3d2549),'selection':_0x41ec11},_0x56f44b=this[_0x27f0d2(0x1af)];_0x56f44b['set'](_0x3d2549,_0x40cc5c),this[_0x27f0d2(0x173)][_0x27f0d2(0x120)](_0x56f44b);}[_0x2a4230(0x2bc)](_0x177a4b){const _0x2abb3b=_0x2a4230,{memberID:_0x5db0b9}=_0x177a4b['data'],_0x35d5fe=this[_0x2abb3b(0x1af)];_0x35d5fe['delete'](_0x5db0b9),this['_cursorInfo$'][_0x2abb3b(0x120)](_0x35d5fe);}[_0x2a4230(0x80)](_0x2cb537,_0x3a1623){const _0x18c111=_0x2a4230;var _0xe2869c,_0x279ccc;const _0x4cede3=(_0x279ccc=(_0xe2869c=this[_0x18c111(0x1c6)][_0x18c111(0x1a2)](this[_0x18c111(0x2be)]))==null?void 0x0:_0xe2869c[_0x18c111(0x18d)](_0x2cb537))==null?void 0x0:_0x279ccc['getMergeData']();return(_0x4cede3==null?void 0x0:_0x4cede3[_0x18c111(0xd2)](_0x49bc1a=>_0x3c1804[_0x18c111(0x311)][_0x18c111(0x1d3)](_0x49bc1a,_0x3a1623)))||_0x3a1623;}[_0x2a4230(0x2cf)](){const _0xa019fc=_0x2a4230,_0x28c2a4=new _0x3c1804[(_0xa019fc(0x2a0))](),_0x2a16e7=_0x52d308(),_0x3f03f6=()=>{const _0x183398=_0xa019fc;_0x28c2a4[_0x183398(0x75)]();const _0x21f6e5=(_0x341224,_0x10081f,_0x2d4086,_0x2eee98)=>{const _0x116381=_0x183398;let _0x2a1f89=[];switch(_0x341224['id']){case _0x441e63['EffectRefRangId'][_0x116381(0x25f)]:{_0x2a1f89=_0x441e63[_0x116381(0x296)](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId'][_0x116381(0x214)]:{_0x2a1f89=_0x441e63[_0x116381(0x288)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0x162)]:{_0x2a1f89=_0x441e63[_0x116381(0x2ae)](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x2a1f89=_0x441e63[_0x116381(0x7d)](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId'][_0x116381(0x1e8)]:{_0x2a1f89=_0x441e63[_0x116381(0x29b)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0x1a0)]:{_0x2a1f89=_0x441e63['handleInsertRow'](_0x341224,_0x2eee98);break;}case _0x441e63['EffectRefRangId']['MoveRangeCommandId']:{_0x2a1f89=_0x441e63[_0x116381(0xaa)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0x211)]:{_0x2a1f89=_0x441e63[_0x116381(0x266)](_0x341224,_0x2eee98);break;}case _0x441e63[_0x116381(0x234)][_0x116381(0xb4)]:{_0x2a1f89=_0x441e63['handleIRemoveRow'](_0x341224,_0x2eee98);break;}}const _0x5152cd=_0x441e63['runRefRangeMutations'](_0x2a1f89,_0x2eee98),_0x43b44a=this['cursorInfo'][_0x116381(0x9e)](_0x10081f);if(_0x43b44a&&_0x5152cd){const _0x479b91={..._0x43b44a,'range':_0x5152cd};this[_0x116381(0x1af)]['set'](_0x10081f,_0x479b91),_0x2a16e7(()=>{const _0x17a931=_0x116381,_0x463983=this['_refRangeService']['registerRefRange'](_0x5152cd,_0x295c18=>(_0x463983['dispose'](),_0x21f6e5(_0x295c18,_0x10081f,_0x2d4086,_0x5152cd)));_0x28c2a4[_0x17a931(0x137)](_0x463983);});}return{'redos':[],'undos':[]};};this[_0x183398(0x1af)][_0x183398(0x30d)]((_0xea0cf4,_0x202583)=>{const _0x39e2d2=_0x183398,{range:_0x308a16,sheetID:_0x59ebbb}=_0xea0cf4,_0x19760d=this[_0x39e2d2(0x222)][_0x39e2d2(0x26d)](_0x308a16,_0x248713=>(_0x19760d[_0x39e2d2(0x75)](),_0x21f6e5(_0x248713,_0x202583,_0x59ebbb,_0x308a16)));_0x28c2a4[_0x39e2d2(0x137)](_0x19760d);});};this[_0xa019fc(0xc6)](_0x3c1804[_0xa019fc(0xe1)](this[_0xa019fc(0x173)][_0xa019fc(0x86)](()=>{_0x3f03f6();})));}[_0x2a4230(0x8c)](){const _0x6daa77=_0x2a4230;var _0x149784,_0x190bba;if(this[_0x6daa77(0x255)]=!0x0,((_0x149784=this[_0x6daa77(0x1c6)][_0x6daa77(0x1f8)]())==null?void 0x0:_0x149784[_0x6daa77(0x224)]())!==this[_0x6daa77(0x2be)])return;const _0x2ec9c9=(_0x190bba=this['_injector']['get'](_0x441e63['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x190bba[0x0],_0xa3730b=this['_univerInstanceService']['getCurrentUnitForType'](_0x3c1804[_0x6daa77(0x253)]['UNIVER_SHEET'])[_0x6daa77(0x1cf)]();_0x2ec9c9&&_0xa3730b&&this[_0x6daa77(0xcf)](_0xa3730b[_0x6daa77(0xd1)](),_0x2ec9c9);}[_0x2a4230(0x2e7)](){this['_online']=!0x1;}};_0x3b49f4=_0x209e9f([_0x6eef53(0x2,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0x6eef53(0x3,_0x3c1804['Inject'](_0x7baa89)),_0x6eef53(0x4,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x2b6)])),_0x6eef53(0x5,_0x3c1804['IUniverInstanceService']),_0x6eef53(0x6,_0x3c1804['ICommandService']),_0x6eef53(0x7,_0x3c1804[_0x2a4230(0x172)](_0x441e63[_0x2a4230(0x83)]))],_0x3b49f4);var _0x374931=Object[_0x2a4230(0x310)],_0xa8e2db=(_0x25cd54,_0x17de9a,_0x138d22,_0x37f122)=>{for(var _0x4432ed=_0x37f122>0x1?void 0x0:_0x37f122?_0x374931(_0x17de9a,_0x138d22):_0x17de9a,_0x297e47=_0x25cd54['length']-0x1,_0x34f680;_0x297e47>=0x0;_0x297e47--)(_0x34f680=_0x25cd54[_0x297e47])&&(_0x4432ed=_0x34f680(_0x4432ed)||_0x4432ed);return _0x4432ed;},_0x5b6c99=(_0x838315,_0x59662f)=>(_0x3bceb3,_0x112391)=>_0x59662f(_0x3bceb3,_0x112391,_0x838315);let _0x120278=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x9f51e2,_0x4f8047,_0x583da1){const _0x41d699=_0x2a4230;super(),_0x275745(this,'_entities',new Map()),_0x275745(this,_0x41d699(0x19e),new _0x23318b[(_0x41d699(0x22e))]()),(this[_0x41d699(0x1c6)]=_0x9f51e2,this[_0x41d699(0x2f5)]=_0x4f8047,this['_collabSessionService']=_0x583da1,this[_0x41d699(0x2c1)]());}[_0x2a4230(0x75)](){const _0x2ad6f5=_0x2a4230;super[_0x2ad6f5(0x75)](),this['_entityInit$'][_0x2ad6f5(0xb8)](),this[_0x2ad6f5(0x1e3)][_0x2ad6f5(0x30d)](_0x373ab7=>_0x373ab7[_0x2ad6f5(0x75)]());}[_0x2a4230(0x2c5)](_0x52c4ac){const _0x235674=_0x2a4230;return this[_0x235674(0x1e3)][_0x235674(0x23e)](_0x52c4ac)?this[_0x235674(0x1e3)]['get'](_0x52c4ac)[_0x235674(0x160)]:this[_0x235674(0x19e)][_0x235674(0x154)](_0x23318b[_0x235674(0x299)](_0x2d9715=>_0x2d9715[_0x235674(0x2be)]===_0x52c4ac),_0x23318b[_0x235674(0x161)](_0x256e60=>_0x256e60['cursorInfo$']));}[_0x2a4230(0x2c1)](){const _0x4e56c7=_0x2a4230;this[_0x4e56c7(0x1c6)][_0x4e56c7(0x202)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x165)])[_0x4e56c7(0x154)](_0x23318b[_0x4e56c7(0xfe)](this[_0x4e56c7(0x1aa)]))['subscribe'](async _0x217d31=>{const _0x36198a=_0x4e56c7,_0x59ce08=_0x217d31[_0x36198a(0x224)](),_0x24256b=await this[_0x36198a(0x16a)](_0x59ce08);this[_0x36198a(0x19e)]['next'](_0x24256b),this[_0x36198a(0x1e3)][_0x36198a(0x2cd)](_0x59ce08,_0x24256b);}),this[_0x4e56c7(0x1c6)][_0x4e56c7(0x202)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x303)])[_0x4e56c7(0x154)](_0x23318b['takeUntil'](this['dispose$']))[_0x4e56c7(0x154)](_0x23318b[_0x4e56c7(0x299)](_0x2ea437=>!_0x2ea437[_0x4e56c7(0x224)]()['startsWith']('__')))[_0x4e56c7(0x86)](async _0x4c906b=>{const _0x5f0547=_0x4e56c7,_0x47c08d=_0x4c906b['getUnitId'](),_0x4c6f83=await this['_startDocCollabCursor'](_0x47c08d);this[_0x5f0547(0x19e)][_0x5f0547(0x120)](_0x4c6f83),this['_entities'][_0x5f0547(0x2cd)](_0x47c08d,_0x4c6f83);}),_0x23318b[_0x4e56c7(0xfb)](this[_0x4e56c7(0x1c6)][_0x4e56c7(0x27f)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x303)]),this[_0x4e56c7(0x1c6)][_0x4e56c7(0x27f)](_0x3c1804[_0x4e56c7(0x253)][_0x4e56c7(0x165)]))['pipe'](_0x23318b['takeUntil'](this[_0x4e56c7(0x1aa)]))[_0x4e56c7(0x86)](_0x4c595e=>{const _0x374b57=_0x4e56c7,_0x2405c8=_0x4c595e[_0x374b57(0x224)](),_0xa0eaa6=this[_0x374b57(0x1e3)]['get'](_0x2405c8);_0xa0eaa6&&(_0xa0eaa6[_0x374b57(0x75)](),this[_0x374b57(0x1e3)][_0x374b57(0x1e0)](_0x2405c8));});}async[_0x2a4230(0x16a)](_0x22be76){const _0x57092d=_0x2a4230,_0x311917=await this['_collabSessionService'][_0x57092d(0x1dd)](_0x22be76),_0x19b50a=this[_0x57092d(0x2f5)][_0x57092d(0x18f)](_0x3b49f4,_0x22be76,_0x311917);return _0x19b50a[_0x57092d(0x1eb)](),_0x19b50a;}async['_startDocCollabCursor'](_0x427681){const _0x4ef5cd=_0x2a4230,_0x5862f8=await this[_0x4ef5cd(0x177)][_0x4ef5cd(0x1dd)](_0x427681),_0x2a92cb=this[_0x4ef5cd(0x2f5)][_0x4ef5cd(0x18f)](_0xe43420,_0x427681,_0x5862f8);return _0x2a92cb[_0x4ef5cd(0x1eb)](),_0x2a92cb;}};_0x120278=_0xa8e2db([_0x5b6c99(0x0,_0x3c1804[_0x2a4230(0x72)]),_0x5b6c99(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0x5b6c99(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x119)]))],_0x120278);const _0xfc8153=0x14,_0x51fabc=0xc8,_0x3451a1=0x4,_0x12a43c=0x5;function _0x18b18c(_0x19ea8f,_0x4b111b){const _0x5b542b=_0x2a4230;let {radius:_0x400b01,width:_0x551ee2,height:_0xb128ac}=_0x4b111b;_0x400b01=_0x400b01!=null?_0x400b01:0x0,_0x551ee2=_0x551ee2!=null?_0x551ee2:0x1e,_0xb128ac=_0xb128ac!=null?_0xb128ac:0x1e;let _0x412233=0x0,_0x575ffc=0x0,_0x12a4c3=0x0;_0x412233=_0x575ffc=_0x12a4c3=Math[_0x5b542b(0x2a2)](_0x400b01,_0x551ee2/0x2,_0xb128ac/0x2),_0x19ea8f[_0x5b542b(0x11f)](),_0x19ea8f[_0x5b542b(0xb2)](_0x412233,0x0),_0x19ea8f[_0x5b542b(0x2ca)](_0x551ee2-_0x575ffc,0x0),_0x19ea8f[_0x5b542b(0x23f)](_0x551ee2-_0x575ffc,_0x575ffc,_0x575ffc,Math['PI']*0x3/0x2,0x0,!0x1),_0x19ea8f[_0x5b542b(0x2ca)](_0x551ee2,_0xb128ac-_0x12a4c3),_0x19ea8f[_0x5b542b(0x23f)](_0x551ee2-_0x12a4c3,_0xb128ac-_0x12a4c3,_0x12a4c3,0x0,Math['PI']/0x2,!0x1),_0x19ea8f[_0x5b542b(0x2ca)](0x0,_0xb128ac),_0x19ea8f[_0x5b542b(0x2ca)](0x0,_0x412233),_0x19ea8f['arc'](_0x412233,_0x412233,_0x412233,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x19ea8f[_0x5b542b(0xf8)](),_0x4b111b['fill']&&(_0x19ea8f[_0x5b542b(0x9c)](),_0x19ea8f[_0x5b542b(0x1d7)]=_0x4b111b['fill'],_0x4b111b[_0x5b542b(0x292)]===_0x5b542b(0x1a1)?_0x19ea8f[_0x5b542b(0x174)](_0x5b542b(0x1a1)):_0x19ea8f[_0x5b542b(0x174)](),_0x19ea8f[_0x5b542b(0x246)]());}class _0x49c000 extends _0x214f70[_0x2a4230(0x242)]{constructor(_0xdb6f63,_0xdc2041){const _0x45a891=_0x2a4230;super(_0xdb6f63,_0xdc2041),_0x275745(this,_0x45a891(0x7c)),_0x275745(this,_0x45a891(0x106)),(this['color']=_0xdc2041==null?void 0x0:_0xdc2041[_0x45a891(0x7c)],this[_0x45a891(0x106)]=_0xdc2041==null?void 0x0:_0xdc2041[_0x45a891(0x106)]);}static[_0x2a4230(0x30e)](_0x5703f6,_0x574eb9){const _0xd517b0=_0x2a4230,{text:_0x1da70a,color:_0x4682c6}=_0x574eb9;_0x5703f6['save'](),_0x5703f6[_0xd517b0(0x164)]=_0xd517b0(0xa3);const _0x32cfbf=_0x5703f6[_0xd517b0(0x2b0)](_0x1da70a)['width'],_0x253707=Math[_0xd517b0(0x2a2)](_0x32cfbf+0x2*_0x3451a1,_0x51fabc);_0x18b18c(_0x5703f6,{'height':_0xfc8153,'radius':0x4,'width':_0x253707,'fill':_0x4682c6}),_0x5703f6[_0xd517b0(0x1d7)]=_0xd517b0(0x92);const _0x527db4=_0x3451a1,_0x2e75e2=_0xfc8153-_0x12a43c,_0x54592b=_0x51fabc-0x2*_0x3451a1;if(_0x32cfbf>_0x54592b){let _0x4e97e0='',_0x1cc19e=0x0;for(const _0x30b071 of _0x1da70a){const _0x3d6f1d=_0x5703f6[_0xd517b0(0x2b0)](_0x30b071)[_0xd517b0(0x2a5)];if(_0x1cc19e+_0x3d6f1d<=_0x54592b-_0x5703f6[_0xd517b0(0x2b0)](_0xd517b0(0x155))[_0xd517b0(0x2a5)])_0x4e97e0+=_0x30b071,_0x1cc19e+=_0x3d6f1d;else{_0x4e97e0+=_0xd517b0(0x155);break;}}_0x5703f6[_0xd517b0(0x96)](_0x4e97e0,_0x527db4,_0x2e75e2);}else _0x5703f6['fillText'](_0x1da70a,_0x527db4,_0x2e75e2);_0x5703f6[_0xd517b0(0x246)]();}[_0x2a4230(0x10d)](_0x139a14){const _0xe0bce5=_0x2a4230;_0x49c000[_0xe0bce5(0x30e)](_0x139a14,this);}}const _0x4246ea=_0x2a4230(0x17a),_0x59d2ca=_0x2a4230(0xf5),_0x28663b=_0x2a4230(0x2ef),_0x1cab94=0x6,_0x45dd66=1.5,_0x1def78=0x4,_0x1fbb32=1.5,_0x155ab8=_0x2a4230(0x7a);class _0x1af15c{constructor(_0x486bc4,_0x385a2e,_0x4cbb4b,_0x4ba366){const _0x5185e0=_0x2a4230;_0x275745(this,_0x5185e0(0x2a3),[]),_0x275745(this,_0x5185e0(0x305),null),_0x275745(this,_0x5185e0(0x94),null),_0x275745(this,'_anchorDot',null),_0x275745(this,_0x5185e0(0x2e2),null),_0x275745(this,_0x5185e0(0x22f),null),(this[_0x5185e0(0x257)]=_0x486bc4,this[_0x5185e0(0x12e)]=_0x385a2e,this[_0x5185e0(0xe4)]=_0x4cbb4b,this['_document']=_0x4ba366,this['_render']());}set[_0x2a4230(0x152)](_0x2751e7){const _0x5d21c5=_0x2a4230;_0x2751e7?(this[_0x5d21c5(0x256)]&&this[_0x5d21c5(0x256)]['hide'](),this[_0x5d21c5(0x94)]&&this['_textBubble'][_0x5d21c5(0x278)]()):(this['_anchorDot']&&this[_0x5d21c5(0x256)][_0x5d21c5(0x278)](),this[_0x5d21c5(0x94)]&&this['_textBubble'][_0x5d21c5(0x2f3)]());}[_0x2a4230(0x75)](){const _0x165a89=_0x2a4230;for(const _0x4f3973 of this['_shapes'])_0x4f3973['dispose']();this[_0x165a89(0x94)]&&this[_0x165a89(0x94)][_0x165a89(0x75)](),this[_0x165a89(0x256)]&&this[_0x165a89(0x256)]['dispose'](),this['_anchor']&&this[_0x165a89(0x305)]['dispose'](),this[_0x165a89(0x22f)]&&this[_0x165a89(0x22f)]();}[_0x2a4230(0x243)](){const _0x3ad07d=_0x2a4230;var _0x26b581;const {_docSkeleton:_0x1fbd00,_document:_0x432c4a}=this,{color:_0x20578d,name:_0x453b6c,ranges:_0xd5eb09}=this['_cursor'],_0x9066b0=_0x432c4a[_0x3ad07d(0x201)](),{docsLeft:_0x2a4f59,docsTop:_0x35ee1c}=_0x9066b0,_0x42278b=new _0x4aced0['NodePositionConvertToCursor'](_0x9066b0,_0x1fbd00);for(const {startOffset:_0x5ea81a,endOffset:_0x5e2f72,rangeType:_0x133b36,segmentId:_0x3fd846,segmentPage:_0x57709d,collapsed:_0x1aa0d7,isActive:_0x4f674e}of _0xd5eb09){const _0x1443db=_0x1fbd00[_0x3ad07d(0x1ae)](_0x5ea81a,!0x0,_0x3fd846,_0x57709d);let _0x1d363f=_0x1fbd00[_0x3ad07d(0x1ae)](_0x5e2f72,!0x0,_0x3fd846,_0x57709d);if(_0x1d363f==null&&(_0x1d363f=_0x1fbd00[_0x3ad07d(0x1ae)](_0x5e2f72-0x1,!0x1,_0x3fd846,_0x57709d)),_0x4f674e){const {contentBoxPointGroup:_0x3970c7}=_0x42278b[_0x3ad07d(0x2d9)](_0x1d363f,_0x1d363f);if(_0x3970c7[_0x3ad07d(0x210)]===0x0)continue;this[_0x3ad07d(0x28f)](_0x20578d,_0x3970c7,_0x2a4f59,_0x35ee1c,_0x453b6c),this['_eventUnsubscribe']=this[_0x3ad07d(0x150)]();}if(_0x1443db&&_0x1d363f){if(_0x133b36===_0x3c1804['DOC_RANGE_TYPE']['RECT']){const _0x25cacf=new _0x4aced0[(_0x3ad07d(0x2aa))](_0x9066b0,_0x1fbd00),{pointGroup:_0x42668e}=(_0x26b581=_0x25cacf[_0x3ad07d(0x2d9)](_0x1443db,_0x1d363f))!=null?_0x26b581:{};if(_0x42668e==null||_0x42668e[_0x3ad07d(0x210)]===0x0)continue;this['_drawRectRange'](_0x20578d,_0x42668e,_0x2a4f59,_0x35ee1c);}else{if(!_0x1aa0d7){const {borderBoxPointGroup:_0x376493}=_0x42278b[_0x3ad07d(0x2d9)](_0x1443db,_0x1d363f);if(_0x376493[_0x3ad07d(0x210)]===0x0)continue;this['_drawTextRange'](_0x20578d,_0x376493,_0x2a4f59,_0x35ee1c);}}}}}[_0x2a4230(0x28f)](_0x359374,_0x295fef,_0x25c13a,_0x453b01,_0x4eaa67){const _0x5f3b6b=_0x2a4230,_0x2f95c8=this[_0x5f3b6b(0x221)](_0x295fef),{left:_0x3e53fb,top:_0x289382,height:_0x846b41}=_0x2f95c8,_0x2e3382=this[_0x5f3b6b(0x228)](),_0x134e17=_0x1fbb32/_0x2e3382,_0x25114c=new _0x214f70[(_0x5f3b6b(0x130))](_0x4246ea+_0x3c1804['generateRandomId'](_0x1cab94),{'left':_0x3e53fb+_0x25c13a-_0x134e17,'top':_0x289382+_0x453b01,'height':_0x846b41,'width':_0x45dd66,'fill':_0x359374||_0x214f70[_0x5f3b6b(0xc2)](_0x3c1804[_0x5f3b6b(0x183)]['black'],0x0),'strokeWidth':_0x134e17,'stroke':_0x155ab8,'evented':!0x0});this['_anchor']=_0x25114c,this['_scene'][_0x5f3b6b(0x263)](_0x25114c,_0x4aced0[_0x5f3b6b(0x241)]);const _0x36fd91=new _0x214f70['Rect'](_0x4246ea+_0x3c1804[_0x5f3b6b(0x12d)](_0x1cab94),{'left':_0x3e53fb+_0x25c13a-_0x134e17,'top':_0x289382+_0x453b01-_0x1def78/0x2,'height':_0x1def78,'width':_0x1def78,'fill':_0x359374||_0x214f70['getColor'](_0x3c1804[_0x5f3b6b(0x183)][_0x5f3b6b(0xd5)],0x0),'strokeWidth':0x0,'stroke':_0x359374||_0x214f70[_0x5f3b6b(0xc2)](_0x3c1804[_0x5f3b6b(0x183)][_0x5f3b6b(0xd5)],0x0),'evented':!0x1});this[_0x5f3b6b(0x256)]=_0x36fd91,this['_scene'][_0x5f3b6b(0x263)](_0x36fd91,_0x4aced0[_0x5f3b6b(0x241)]);const _0x5e27c4=new _0x49c000(_0x4246ea+_0x3c1804[_0x5f3b6b(0x12d)](_0x1cab94),{'left':_0x3e53fb+_0x25c13a-_0x134e17,'top':_0x289382+_0x453b01-_0xfc8153,'text':_0x4eaa67,'color':_0x359374});this[_0x5f3b6b(0x94)]=_0x5e27c4,this[_0x5f3b6b(0x12e)][_0x5f3b6b(0x263)](_0x5e27c4,_0x4aced0[_0x5f3b6b(0x241)]),this[_0x5f3b6b(0x152)]=!0x1;}[_0x2a4230(0x150)](){const _0x510165=_0x2a4230,_0x148dc0=this[_0x510165(0x305)][_0x510165(0x17f)]['subscribeEvent'](()=>{const _0x297798=_0x510165;this[_0x297798(0x152)]=!0x0;}),_0x5181ec=this[_0x510165(0x305)]['onPointerLeave$'][_0x510165(0x297)](()=>{const _0x22258b=_0x510165;this['_hideTimer']&&clearTimeout(this[_0x22258b(0x2e2)]),this['_hideTimer']=setTimeout(()=>{const _0x130bbb=_0x22258b;this[_0x130bbb(0x152)]=!0x1;},0x7d0);});return()=>{const _0x3edb74=_0x510165;_0x148dc0[_0x3edb74(0x7f)](),_0x5181ec[_0x3edb74(0x7f)]();};}[_0x2a4230(0x20c)](_0x54b466,_0x26b1c5,_0x4d29af,_0x5b686d){const _0x35e534=_0x2a4230,_0xcb7772=new _0x3c1804[(_0x35e534(0xc8))](_0x54b466)[_0x35e534(0x1ff)](0.2)[_0x35e534(0x143)](),_0x216698=new _0x214f70[(_0x35e534(0x19c))](_0x59d2ca+_0x3c1804['generateRandomId'](_0x1cab94),{'pointsGroup':_0x26b1c5,'fill':_0xcb7772||_0x214f70[_0x35e534(0xc2)](_0x3c1804[_0x35e534(0x183)][_0x35e534(0xd5)],0.2),'left':_0x4d29af,'top':_0x5b686d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x35e534(0x264)](_0x216698),this['_scene'][_0x35e534(0x263)](_0x216698,_0x4aced0[_0x35e534(0x241)]);}['_drawRectRange'](_0x5be2dd,_0x53cdff,_0x1c5560,_0x3cc537){const _0xb002a1=_0x2a4230,_0x5b40ea=new _0x3c1804[(_0xb002a1(0xc8))](_0x5be2dd)[_0xb002a1(0x1ff)](0.2)['toRgbString'](),_0x4b26bc=new _0x214f70[(_0xb002a1(0x19c))](_0x28663b+_0x3c1804[_0xb002a1(0x12d)](_0x1cab94),{'pointsGroup':_0x53cdff,'fill':_0x5b40ea||_0x214f70[_0xb002a1(0xc2)](_0x3c1804[_0xb002a1(0x183)][_0xb002a1(0xd5)],0.2),'left':_0x1c5560,'top':_0x3cc537,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xb002a1(0x2a3)][_0xb002a1(0x264)](_0x4b26bc),this[_0xb002a1(0x12e)][_0xb002a1(0x263)](_0x4b26bc,_0x4aced0[_0xb002a1(0x241)]);}[_0x2a4230(0x221)](_0x2eac69){const _0x280cc2=_0x2eac69[0x0],_0x30b0de=_0x280cc2[0x0],_0x58e336=_0x280cc2[0x2],{x:_0x5309b5,y:_0x1b88e5}=_0x30b0de,{x:_0x18c7c4,y:_0x2df576}=_0x58e336;return{'left':_0x5309b5,'top':_0x1b88e5,'width':_0x18c7c4-_0x5309b5,'height':_0x2df576-_0x1b88e5};}['_getScale'](){const _0x3e61e7=_0x2a4230,{scaleX:_0x3123b8,scaleY:_0x495f3d}=this['_scene'][_0x3e61e7(0x180)]();return Math[_0x3e61e7(0x145)](_0x3123b8,_0x495f3d);}}var _0x7b9f27=Object[_0x2a4230(0x310)],_0x239aad=(_0x409e8c,_0x578abe,_0x2a848b,_0x14307c)=>{const _0x57991=_0x2a4230;for(var _0x2c06aa=_0x14307c>0x1?void 0x0:_0x14307c?_0x7b9f27(_0x578abe,_0x2a848b):_0x578abe,_0x3b2e5c=_0x409e8c[_0x57991(0x210)]-0x1,_0x1128d8;_0x3b2e5c>=0x0;_0x3b2e5c--)(_0x1128d8=_0x409e8c[_0x3b2e5c])&&(_0x2c06aa=_0x1128d8(_0x2c06aa)||_0x2c06aa);return _0x2c06aa;},_0x36a65f=(_0x39b179,_0x191e6c)=>(_0xc564f1,_0x21f014)=>_0x191e6c(_0xc564f1,_0x21f014,_0x39b179);let _0x5eb364=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x417f66,_0x433ae9,_0x51a664,_0x15b693,_0x1c75a5){const _0x238827=_0x2a4230;super(),_0x275745(this,'_cursorShapes',[]),_0x275745(this,_0x238827(0x1f3),[]),(this[_0x238827(0x1cb)]=_0x417f66,this[_0x238827(0x25e)]=_0x433ae9,this[_0x238827(0x2e5)]=_0x51a664,this['_commandService']=_0x15b693,this[_0x238827(0xd3)]=_0x1c75a5,this[_0x238827(0x2c1)]());}[_0x2a4230(0x2c1)](){const _0x235804=_0x2a4230,_0x1d763c=this[_0x235804(0x1cb)]['unitId'],_0x14fc00=this[_0x235804(0x25e)];this['disposeWithMe'](_0x23318b['combineLatest']([this[_0x235804(0x2e5)][_0x235804(0x2c5)](_0x1d763c),this[_0x235804(0xd3)][_0x235804(0x104)]])['pipe'](_0x46a0e3['map'](([_0x5c9844,_0x457cd5])=>({'skeleton':_0x14fc00['getSkeleton'](),'cursors':[..._0x5c9844[_0x235804(0x89)]()][_0x235804(0x140)](_0x12665c=>({..._0x12665c,'color':this['_themeService'][_0x235804(0x118)](_0x12665c[_0x235804(0x7c)])}))})))[_0x235804(0x86)](_0x4aa1a9=>{const _0x557802=_0x235804;if(this[_0x557802(0xa2)](),_0x4aa1a9){const {skeleton:_0xbc45d8,cursors:_0x5af445}=_0x4aa1a9;this[_0x557802(0x1e4)](_0xbc45d8,_0x5af445);}})),this[_0x235804(0x2a1)](),this['_initCommandExecutedListener']();}[_0x2a4230(0x1e4)](_0x966920,_0x1ed703){const _0xaaae=_0x2a4230,{scene:_0x35c4a1,mainComponent:_0x4808ee}=this[_0xaaae(0x1cb)],_0x532aed=_0x1ed703[_0xaaae(0x274)](_0x4b4f4c=>new _0x1af15c(_0x4b4f4c,_0x35c4a1,_0x966920,_0x4808ee));this[_0xaaae(0x1df)]=_0x532aed,this['_cursors']=_0x1ed703;}[_0x2a4230(0x85)](){const _0x20ae75=_0x2a4230;this['_removeCollabCursors']();const {scene:_0x3a233d,mainComponent:_0x405985}=this[_0x20ae75(0x1cb)],_0x439faf=this[_0x20ae75(0x25e)][_0x20ae75(0xea)](),_0x4e6c19=this[_0x20ae75(0x1f3)]['map'](_0x531c98=>new _0x1af15c(_0x531c98,_0x3a233d,_0x439faf,_0x405985));this[_0x20ae75(0x1df)]=_0x4e6c19;}['_removeCollabCursors'](){const _0x150f3b=_0x2a4230;this[_0x150f3b(0x1df)][_0x150f3b(0x30d)](_0x39a583=>_0x39a583['dispose']()),this['_cursorShapes']=[];}[_0x2a4230(0x101)](){const _0x87459d=_0x2a4230,_0x7a789=[_0x4aced0['SetDocZoomRatioOperation']['id']];this[_0x87459d(0xc6)](this[_0x87459d(0x9b)][_0x87459d(0x190)](_0x123f98=>{const _0x5bdd73=_0x87459d;_0x7a789[_0x5bdd73(0x18c)](_0x123f98['id'])&&_0x123f98['params']['unitId']===this['_context'][_0x5bdd73(0x203)]&&this[_0x5bdd73(0x85)]();}));}['_initResize'](){const _0x59ddba=_0x2a4230;this[_0x59ddba(0xc6)](_0x3c1804[_0x59ddba(0x110)](this[_0x59ddba(0x1cb)][_0x59ddba(0x193)][_0x59ddba(0x2fb)])[_0x59ddba(0x154)](_0x46a0e3[_0x59ddba(0x299)](_0x50a60a=>_0x50a60a[_0x59ddba(0x2d7)]===_0x214f70['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x59ddba(0x26b)]),_0x46a0e3['throttleTime'](0x10))[_0x59ddba(0x86)](()=>{const _0x2bc337=_0x59ddba;this[_0x2bc337(0x85)]();}));}};_0x5eb364=_0x239aad([_0x36a65f(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3c10b0[_0x2a4230(0x1c8)])),_0x36a65f(0x2,_0x3c1804[_0x2a4230(0x172)](_0x120278)),_0x36a65f(0x3,_0x3c1804['ICommandService']),_0x36a65f(0x4,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x24d)]))],_0x5eb364);const _0x17721a=0x1,_0x4bc1b3=1.5;class _0xfe2e0a extends _0x214f70[_0x2a4230(0x242)]{constructor(_0x1e790a,_0x5ee2ca){const _0x2524bc=_0x2a4230;super(_0x1e790a,_0x5ee2ca),_0x275745(this,'_color'),_0x275745(this,_0x2524bc(0x107),!0x1),_0x275745(this,'_range'),_0x275745(this,_0x2524bc(0x1b7),''),_0x275745(this,_0x2524bc(0x188),_0x2524bc(0x1b5)),_0x275745(this,_0x2524bc(0x1b1)),(_0x5ee2ca&&this[_0x2524bc(0x8a)](_0x5ee2ca),this[_0x2524bc(0x17f)][_0x2524bc(0x297)](()=>this[_0x2524bc(0x8a)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2524bc(0x297)](()=>this[_0x2524bc(0x8a)]({'hovered':!0x1})));}[_0x2a4230(0x8a)](_0x38e02f){const _0x345340=_0x2a4230;var _0x349f55,_0x37645c,_0x187c53,_0x166042,_0xc0fb4a,_0x5574ae;this[_0x345340(0x196)]=(_0x349f55=_0x38e02f[_0x345340(0x7c)])!=null?_0x349f55:this['_color'],this[_0x345340(0x107)]=(_0x37645c=_0x38e02f[_0x345340(0x2ee)])!=null?_0x37645c:this['_hovered'],this['_range']=(_0x187c53=_0x38e02f[_0x345340(0x134)])!=null?_0x187c53:this[_0x345340(0x2ba)],this[_0x345340(0x1b7)]=(_0x166042=_0x38e02f[_0x345340(0xc9)])!=null?_0x166042:this['_name'],this['_labelPosition']=(_0xc0fb4a=_0x38e02f['labelPosition'])!=null?_0xc0fb4a:this['_labelPosition'],this[_0x345340(0x1b1)]=(_0x5574ae=_0x38e02f[_0x345340(0xb7)])!=null?_0x5574ae:this[_0x345340(0x1b1)],this[_0x345340(0x236)]({'width':_0x38e02f[_0x345340(0x2a5)],'height':_0x38e02f[_0x345340(0x238)]});}[_0x2a4230(0x1f2)](_0x4d76fa){const _0x5b3883=_0x2a4230,{row:_0x508918,column:_0x23d122}=_0x4d76fa;if(_0x508918>=this[_0x5b3883(0x2ba)][_0x5b3883(0xec)]&&_0x508918<=this[_0x5b3883(0x2ba)][_0x5b3883(0x2b2)]&&_0x23d122>=this[_0x5b3883(0x2ba)][_0x5b3883(0x251)]&&_0x23d122<=this[_0x5b3883(0x2ba)]['endColumn']){this[_0x5b3883(0x8a)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x2a4230(0x87)](_0x57d02b){return!0x1;}[_0x2a4230(0x10d)](_0x4304fd){const _0x3ea1c7=_0x2a4230;_0x214f70[_0x3ea1c7(0x130)][_0x3ea1c7(0x30e)](_0x4304fd,{'width':this['width'],'height':this[_0x3ea1c7(0x238)],'strokeWidth':_0x4bc1b3,'stroke':this[_0x3ea1c7(0x196)],'evented':!0x1,'fill':this[_0x3ea1c7(0x1b1)]}),this['_hovered']&&(_0x4304fd[_0x3ea1c7(0x9c)](),_0x4304fd[_0x3ea1c7(0x24e)](0x1,0x0,0x0,0x1,this[_0x3ea1c7(0x2a5)],this[_0x3ea1c7(0x188)]===_0x3ea1c7(0x15e)?0x0:-_0xfc8153),_0x49c000[_0x3ea1c7(0x30e)](_0x4304fd,{'text':this[_0x3ea1c7(0x1b7)],'color':this[_0x3ea1c7(0x196)]}),_0x4304fd[_0x3ea1c7(0x246)]());}}var _0x5e65ad=Object[_0x2a4230(0x310)],_0x4a1d02=(_0x223946,_0x11b22a,_0x352d97,_0x114b3f)=>{const _0x57b473=_0x2a4230;for(var _0x48d361=_0x114b3f>0x1?void 0x0:_0x114b3f?_0x5e65ad(_0x11b22a,_0x352d97):_0x11b22a,_0x6e05ff=_0x223946[_0x57b473(0x210)]-0x1,_0x532a83;_0x6e05ff>=0x0;_0x6e05ff--)(_0x532a83=_0x223946[_0x6e05ff])&&(_0x48d361=_0x532a83(_0x48d361)||_0x48d361);return _0x48d361;},_0x33ed27=(_0x5f4494,_0x2a3dd1)=>(_0x232ba7,_0x27e3a2)=>_0x2a3dd1(_0x232ba7,_0x27e3a2,_0x5f4494);const _0x261855=0x1389;let _0x1f6d7b=class extends _0x3c1804['RxDisposable']{constructor(_0x55ec91,_0x1469c1,_0x4e3c64,_0x56c84d){const _0x483d5a=_0x2a4230;super(),_0x275745(this,_0x483d5a(0x1f3),new Set()),_0x275745(this,_0x483d5a(0x14a),null),(this[_0x483d5a(0x1cb)]=_0x55ec91,this[_0x483d5a(0x2a7)]=_0x1469c1,this[_0x483d5a(0x2e5)]=_0x4e3c64,this['_themeService']=_0x56c84d,this[_0x483d5a(0x2c1)]());}[_0x2a4230(0x2c1)](){const _0x3fc94e=_0x2a4230;this[_0x3fc94e(0x2a7)]['currentSkeleton$']['pipe'](_0x46a0e3['takeUntil'](this['dispose$']),_0x46a0e3[_0x3fc94e(0x161)](_0xcfc373=>{const _0x4ed379=_0x3fc94e;if(_0xcfc373){const _0xa457c2=_0xcfc373[_0x4ed379(0x179)];return _0x23318b[_0x4ed379(0x208)](this[_0x4ed379(0x2e5)][_0x4ed379(0x2c5)](this[_0x4ed379(0x1cb)][_0x4ed379(0x203)]),this[_0x4ed379(0xd3)]['currentTheme$'])[_0x4ed379(0x154)](_0x46a0e3[_0x4ed379(0x274)](([_0x431aeb,_0x8d99fb])=>{const _0x4acf2e=_0x4ed379,_0x335a9d=new Map();return _0x431aeb[_0x4acf2e(0x30d)]((_0x28def4,_0x5537cd)=>{const _0x5883b=_0x4acf2e;if(_0x28def4[_0x5883b(0x30b)]===_0xa457c2){const _0x405c36={..._0x28def4};_0x405c36['color']=this[_0x5883b(0xd3)][_0x5883b(0x118)](_0x28def4[_0x5883b(0x7c)]),_0x335a9d[_0x5883b(0x2cd)](_0x5537cd,_0x405c36);}}),{'skeleton':_0xcfc373,'cursors':_0x335a9d};}));}return _0x23318b['of']({'skeleton':null,'cursors':new Map()});}))[_0x3fc94e(0x86)](({skeleton:_0x510fff,cursors:_0x42e0dd})=>{const _0x5ecd2a=_0x3fc94e;this[_0x5ecd2a(0xa2)](),_0x510fff&&this['_updateCollabCursors'](_0x510fff,_0x42e0dd);}),this[_0x3fc94e(0x2a7)][_0x3fc94e(0x27c)][_0x3fc94e(0x86)](_0x1971d2=>{const _0x45794c=_0x3fc94e;if(_0x1971d2==null)return;const {skeleton:_0x38e4d2}=_0x1971d2,{scene:_0x1d5642}=this[_0x45794c(0x1cb)];_0x1d5642[_0x45794c(0x123)][_0x45794c(0x297)](_0x3c1804[_0x45794c(0x6f)](_0xc12db8=>{const _0x16ef0d=_0x45794c;var _0x1cedb0,_0x14e154;const {offsetX:_0xf21346,offsetY:_0x5dac26}=_0xc12db8,{x:_0x517510,y:_0x4f56b1}=_0x1d5642['getRelativeToViewportCoord'](_0x214f70['Vector2']['FromArray']([_0xf21346,_0x5dac26])),{scaleX:_0x84d840,scaleY:_0xdebce0}=_0x1d5642[_0x16ef0d(0x180)](),_0xb95bc4=_0x1d5642[_0x16ef0d(0x286)](_0x214f70[_0x16ef0d(0x1e9)][_0x16ef0d(0xf3)]),_0x395681=_0x1d5642[_0x16ef0d(0x115)](_0x214f70[_0x16ef0d(0x126)][_0x16ef0d(0x28c)]([_0x517510,_0x4f56b1]),_0xb95bc4),_0x1b4197=_0x38e4d2['getCellPositionByOffset'](_0xf21346,_0x5dac26,_0x84d840,_0xdebce0,_0x395681);((_0x1cedb0=this[_0x16ef0d(0x14a)])==null?void 0x0:_0x1cedb0[_0x16ef0d(0x2ab)])===_0x1b4197[_0x16ef0d(0x2ab)]&&((_0x14e154=this[_0x16ef0d(0x14a)])==null?void 0x0:_0x14e154[_0x16ef0d(0x23c)])===_0x1b4197[_0x16ef0d(0x23c)]||this[_0x16ef0d(0x1f3)][_0x16ef0d(0x30d)](_0x44c845=>{_0x44c845['onMouseMove'](_0x1b4197);});},0x64));});}['_updateCollabCursors'](_0x9147b7,_0x21fd6b){const _0x2172ba=_0x2a4230;var _0x2b4561;const _0x3f3af8=(_0x2b4561=this[_0x2172ba(0x2a7)]['getCurrent']())==null?void 0x0:_0x2b4561[_0x2172ba(0xa7)];if(!_0x3f3af8)return;const _0x59126a=this[_0x2172ba(0x30a)]();if(!_0x59126a)return;this[_0x2172ba(0x1f3)]['forEach'](_0x5a56c0=>{const _0x4434f8=_0x2172ba;_0x5a56c0[_0x4434f8(0x1ca)]();});const {scene:_0x8fc02d}=_0x59126a,_0x2753c8=_0x3c6a46(Array[_0x2172ba(0xca)](_0x21fd6b['values']()))[_0x2172ba(0x274)](_0x2dc6a6=>{const _0x3ec7a1=_0x2172ba,{color:_0x403110,range:_0x2fefda,name:_0x66428a,selection:_0x49d3bc,sheetID:_0x130d49}=_0x2dc6a6,{startColumn:_0x36f25a,startRow:_0x2431ef,endColumn:_0x43dbb3,endRow:_0x19120d}=_0x2fefda,_0x31d0cd=_0x476013[_0x3ec7a1(0x1ad)](_0x2431ef,_0x36f25a,_0x8fc02d,_0x3f3af8),_0x56efb3=_0x476013[_0x3ec7a1(0x1ad)](_0x19120d,_0x43dbb3,_0x8fc02d,_0x3f3af8),{columnHeaderHeightAndMarginTop:_0x5ac9f3}=_0x3f3af8,{startX:_0x3167b0,startY:_0x43a0f7}=_0x31d0cd,{endX:_0x501c87,endY:_0x4e42c8}=_0x56efb3,_0x4cf7b9=_0x501c87-_0x3167b0,_0xb411ca=_0x4e42c8-_0x43a0f7,_0x1c5dee={'labelPosition':_0x43a0f7-_0x5ac9f3>=_0xfc8153?_0x3ec7a1(0x1b5):_0x3ec7a1(0x15e),'sheetID':_0x130d49,'range':_0x2fefda,'color':_0x403110,'name':_0x66428a,'selection':_0x49d3bc,'left':_0x3167b0,'top':_0x43a0f7,'width':_0x4cf7b9,'height':_0xb411ca,'evented':!0x1,'zIndex':_0x261855};return new _0xfe2e0a(_0x66428a,_0x1c5dee);});_0x8fc02d[_0x2172ba(0x1d8)](_0x2753c8,_0x17721a),this['_cursors']=new Set(_0x2753c8);}[_0x2a4230(0xa2)](){const _0x1df685=_0x2a4230;var _0x28962d;(_0x28962d=this[_0x1df685(0x1f3)])==null||_0x28962d[_0x1df685(0x30d)](_0x4417f5=>_0x4417f5[_0x1df685(0x75)]());}[_0x2a4230(0x30a)](){const _0x15ce0c=_0x2a4230;return _0x476013[_0x15ce0c(0x117)](this['_context']['unit'],this[_0x15ce0c(0x1cb)]);}};_0x1f6d7b=_0x4a1d02([_0x33ed27(0x1,_0x3c1804[_0x2a4230(0x172)](_0x476013[_0x2a4230(0x7b)])),_0x33ed27(0x2,_0x3c1804[_0x2a4230(0x172)](_0x120278)),_0x33ed27(0x3,_0x3c1804['Inject'](_0x3c1804[_0x2a4230(0x24d)]))],_0x1f6d7b);function _0x3c6a46(_0x91f0b2){const _0x174bfb=_0x2a4230,_0xe641e4=new Map();return _0x91f0b2[_0x174bfb(0x30d)](_0x1bb60b=>{const _0x1b4701=_0x174bfb;if(_0xe641e4['has'](_0x1bb60b['selection'])){const _0x253b90=_0xe641e4[_0x1b4701(0x9e)](_0x1bb60b[_0x1b4701(0x26c)]);_0x253b90[_0x1b4701(0xc9)]+=',\x20'+_0x1bb60b['name'];}else _0xe641e4[_0x1b4701(0x2cd)](_0x1bb60b[_0x1b4701(0x26c)],_0x1bb60b);}),Array[_0x174bfb(0xca)](_0xe641e4['values']());}var _0x35d1e5=function(){const _0x2bc8dc=_0x2a4230;return _0x35d1e5=Object[_0x2bc8dc(0x209)]||function(_0x25c54f){const _0x52e0cb=_0x2bc8dc;for(var _0x57186e,_0x1cacf4=0x1,_0x47c164=arguments[_0x52e0cb(0x210)];_0x1cacf4<_0x47c164;_0x1cacf4++){_0x57186e=arguments[_0x1cacf4];for(var _0x34d59d in _0x57186e)Object[_0x52e0cb(0xf6)][_0x52e0cb(0x220)][_0x52e0cb(0x291)](_0x57186e,_0x34d59d)&&(_0x25c54f[_0x34d59d]=_0x57186e[_0x34d59d]);}return _0x25c54f;},_0x35d1e5['apply'](this,arguments);},_0x38a142=function(_0x55027c,_0xc739fd){const _0x889e08=_0x2a4230;var _0x23c07f={};for(var _0x351dfa in _0x55027c)Object[_0x889e08(0xf6)]['hasOwnProperty'][_0x889e08(0x291)](_0x55027c,_0x351dfa)&&_0xc739fd[_0x889e08(0xaf)](_0x351dfa)<0x0&&(_0x23c07f[_0x351dfa]=_0x55027c[_0x351dfa]);if(_0x55027c!=null&&typeof Object[_0x889e08(0xae)]==_0x889e08(0x22b)){for(var _0x1d50a5=0x0,_0x351dfa=Object[_0x889e08(0xae)](_0x55027c);_0x1d50a5<_0x351dfa[_0x889e08(0x210)];_0x1d50a5++)_0xc739fd[_0x889e08(0xaf)](_0x351dfa[_0x1d50a5])<0x0&&Object['prototype'][_0x889e08(0x151)][_0x889e08(0x291)](_0x55027c,_0x351dfa[_0x1d50a5])&&(_0x23c07f[_0x351dfa[_0x1d50a5]]=_0x55027c[_0x351dfa[_0x1d50a5]]);}return _0x23c07f;},_0x3aa54e=_0x264b32[_0x2a4230(0x1c4)](function(_0x4907d1,_0x26a963){const _0x4ba1bd=_0x2a4230;var _0x203fc5=_0x4907d1[_0x4ba1bd(0x273)],_0x4c034c=_0x4907d1['id'],_0xe9dba0=_0x4907d1['className'],_0x3862c4=_0x4907d1[_0x4ba1bd(0x2dc)],_0x3b49da=_0x38a142(_0x4907d1,[_0x4ba1bd(0x273),'id',_0x4ba1bd(0x20d),_0x4ba1bd(0x2dc)]),_0x1de701=_0x4ba1bd(0xe8)['concat'](_0x4c034c,'\x20')[_0x4ba1bd(0x26a)](_0xe9dba0||'')[_0x4ba1bd(0x100)](),_0x38be57=_0x264b32[_0x4ba1bd(0x219)]('_'[_0x4ba1bd(0x26a)](_0x33899b()));return _0x214c91(_0x203fc5,''['concat'](_0x4c034c),{'defIds':_0x203fc5['defIds'],'idSuffix':_0x38be57['current']},_0x35d1e5({'ref':_0x26a963,'className':_0x1de701},_0x3b49da),_0x3862c4);});function _0x214c91(_0x34ab7f,_0x12983c,_0x514bd3,_0x575a76,_0x10935c){const _0x8724da=_0x2a4230;return _0x264b32[_0x8724da(0x2b3)](_0x34ab7f[_0x8724da(0x306)],_0x35d1e5(_0x35d1e5({'key':_0x12983c},_0x434d3e(_0x34ab7f,_0x514bd3,_0x10935c)),_0x575a76),(_0x25cf0d(_0x34ab7f,_0x514bd3)[_0x8724da(0x308)]||[])['map'](function(_0x1dab6c,_0x4d3402){const _0x421b1c=_0x8724da;return _0x214c91(_0x1dab6c,''[_0x421b1c(0x26a)](_0x12983c,'-')['concat'](_0x34ab7f['tag'],'-')['concat'](_0x4d3402),_0x514bd3,void 0x0,_0x10935c);}));}function _0x434d3e(_0x33bbac,_0x2bb4a4,_0xa6bc9){const _0x432c22=_0x2a4230;var _0x2960cf=_0x35d1e5({},_0x33bbac['attrs']);_0xa6bc9!=null&&_0xa6bc9['colorChannel1']&&_0x2960cf['fill']===_0x432c22(0x24c)&&(_0x2960cf[_0x432c22(0x174)]=_0xa6bc9[_0x432c22(0x24c)]),_0x33bbac['tag']==='mask'&&_0x2960cf['id']&&(_0x2960cf['id']=_0x2960cf['id']+_0x2bb4a4['idSuffix']),Object['entries'](_0x2960cf)[_0x432c22(0x30d)](function(_0xe5f836){const _0x3011f9=_0x432c22;var _0xbbe367=_0xe5f836[0x0],_0x59d618=_0xe5f836[0x1];_0xbbe367===_0x3011f9(0x74)&&typeof _0x59d618=='string'&&(_0x2960cf[_0xbbe367]=_0x59d618[_0x3011f9(0x138)](/url\(#(.*)\)/,'url(#$1'[_0x3011f9(0x26a)](_0x2bb4a4[_0x3011f9(0x230)],')')));});var _0x20db6e=_0x2bb4a4[_0x432c22(0xa8)];return!_0x20db6e||_0x20db6e[_0x432c22(0x210)]===0x0||(_0x33bbac[_0x432c22(0x306)]===_0x432c22(0x79)&&_0x2960cf[_0x432c22(0x1fd)]&&(_0x2960cf[_0x432c22(0x1fd)]=_0x2960cf['xlink:href']+_0x2bb4a4[_0x432c22(0x230)]),Object[_0x432c22(0x250)](_0x2960cf)[_0x432c22(0x30d)](function(_0x485374){const _0x1de4d9=_0x432c22;var _0x1df814=_0x485374[0x0],_0x2e0f67=_0x485374[0x1];typeof _0x2e0f67==_0x1de4d9(0xcd)&&(_0x2960cf[_0x1df814]=_0x2e0f67[_0x1de4d9(0x138)](/url\(#(.*)\)/,_0x1de4d9(0x129)['concat'](_0x2bb4a4['idSuffix'],')')));})),_0x2960cf;}function _0x25cf0d(_0x43605a,_0x39d720){const _0x14cbec=_0x2a4230;var _0x36e350,_0x2f9eed=_0x39d720['defIds'];return!_0x2f9eed||_0x2f9eed[_0x14cbec(0x210)]===0x0?_0x43605a:_0x43605a['tag']===_0x14cbec(0x97)&&(!((_0x36e350=_0x43605a[_0x14cbec(0x308)])===null||_0x36e350===void 0x0)&&_0x36e350[_0x14cbec(0x210)])?_0x35d1e5(_0x35d1e5({},_0x43605a),{'children':_0x43605a['children'][_0x14cbec(0x274)](function(_0x4938d0){const _0x3c8bd6=_0x14cbec;return typeof _0x4938d0[_0x3c8bd6(0x81)]['id']==_0x3c8bd6(0xcd)&&_0x2f9eed&&_0x2f9eed[_0x3c8bd6(0x18c)](_0x4938d0[_0x3c8bd6(0x81)]['id'])?_0x35d1e5(_0x35d1e5({},_0x4938d0),{'attrs':_0x35d1e5(_0x35d1e5({},_0x4938d0[_0x3c8bd6(0x81)]),{'id':_0x4938d0[_0x3c8bd6(0x81)]['id']+_0x39d720[_0x3c8bd6(0x230)]})}):_0x4938d0;})}):_0x43605a;}function _0x33899b(){const _0x5061a3=_0x2a4230;return Math[_0x5061a3(0x276)]()['toString'](0x24)[_0x5061a3(0x252)](0x2,0x8);}_0x3aa54e[_0x2a4230(0x2d1)]=_0x2a4230(0x15d);var _0x585497={'tag':_0x2a4230(0x102),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2a4230(0xa1),'viewBox':'0\x200\x2016\x2016','width':_0x2a4230(0x1b9),'height':_0x2a4230(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4230(0xb5)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'stroke':_0x2a4230(0x21f),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2a4230(0x294),'strokeLinejoin':_0x2a4230(0x294),'strokeWidth':1.2}}]},{'tag':_0x2a4230(0x97),'attrs':{},'children':[{'tag':_0x2a4230(0x1f5),'attrs':{'id':_0x2a4230(0x2b4)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'fill':_0x2a4230(0x20b),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x2a4230(0x2b4)]},_0x281cb6=_0x264b32['forwardRef'](function(_0x42772f,_0x19a6d4){const _0x2921a5=_0x2a4230;return _0x264b32[_0x2921a5(0x2b3)](_0x3aa54e,Object[_0x2921a5(0x209)]({},_0x42772f,{'id':_0x2921a5(0x207),'ref':_0x19a6d4,'icon':_0x585497}));});_0x281cb6[_0x2a4230(0x2d1)]=_0x2a4230(0x309);var _0x12121e={'tag':_0x2a4230(0x102),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2a4230(0xa1),'viewBox':_0x2a4230(0x284),'width':_0x2a4230(0x1b9),'height':_0x2a4230(0x1b9)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4230(0xc7)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'stroke':_0x2a4230(0x21f),'d':_0x2a4230(0x108),'strokeLinecap':_0x2a4230(0x294),'strokeLinejoin':_0x2a4230(0x294),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2a4230(0x10e)},'children':[{'tag':_0x2a4230(0x1a3),'attrs':{'fill':'white','d':_0x2a4230(0x1e1),'transform':_0x2a4230(0x2ac)}}]}]}],'defIds':[_0x2a4230(0x10e)]},_0x4a27e6=_0x264b32[_0x2a4230(0x1c4)](function(_0x5f0a89,_0x3b061e){const _0x434a3c=_0x2a4230;return _0x264b32[_0x434a3c(0x2b3)](_0x3aa54e,Object[_0x434a3c(0x209)]({},_0x5f0a89,{'id':_0x434a3c(0x109),'ref':_0x3b061e,'icon':_0x12121e}));});_0x4a27e6[_0x2a4230(0x2d1)]=_0x2a4230(0xa6);function _0x3514f5(_0xa6343b){const _0xea6084=_0x2a4230;switch(_0xa6343b){case _0x4d8e7c[_0xea6084(0x2f6)]['OFFLINE']:return _0xea6084(0x2c4);case _0x4d8e7c['CollaborationStatus'][_0xea6084(0x90)]:return'collabStatus.conflict';case _0x4d8e7c[_0xea6084(0x2f6)][_0xea6084(0x30f)]:return _0xea6084(0xdb);case _0x4d8e7c[_0xea6084(0x2f6)]['NOT_COLLAB']:return _0xea6084(0x229);case _0x4d8e7c[_0xea6084(0x2f6)]['AWAITING']:case _0x4d8e7c[_0xea6084(0x2f6)]['AWAITING_WITH_PENDING']:return _0xea6084(0xda);case _0x4d8e7c[_0xea6084(0x2f6)][_0xea6084(0x149)]:case _0x4d8e7c[_0xea6084(0x2f6)]['PENDING']:return _0xea6084(0x29e);}}function _0x53356e(_0x369fa0){const _0x134ca2=_0x2a4230,{status$:_0x3a4d2c}=_0x369fa0,_0x14ec24=_0xb7c596['useObservable'](_0x3a4d2c,_0x4d8e7c[_0x134ca2(0x2f6)]['NOT_COLLAB']),_0xcfad2d=_0xb7c596[_0x134ca2(0x1d4)](_0x3c1804[_0x134ca2(0x2fc)]),_0x4de713=_0xb7c596[_0x134ca2(0x1d4)](_0x4d8e7c[_0x134ca2(0x119)]),_0x38c915=_0x14ec24!==_0x4d8e7c[_0x134ca2(0x2f6)]['OFFLINE'],_0x4a722e=_0xcfad2d['t'](_0x3514f5(_0x14ec24)),_0x2842d9=_0x38c915?_0x508896['jsx'](_0x4a27e6,{}):_0x508896[_0x134ca2(0x302)](_0x281cb6,{}),_0x154b86=_0x264b32[_0x134ca2(0x1ed)](()=>{_0x38c915||_0x4de713['reconnect']();},[_0x38c915,_0x4de713]);function _0x3784ee(){const _0x35e666=_0x134ca2;return _0x508896[_0x35e666(0x2a4)](_0x35e666(0xd9),{'className':'univer-flex\x20univer-items-center','onClick':_0x154b86,'children':[_0x508896['jsx']('div',{'className':_0x2e0a42['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x38c915,'univer-text-red-500':!_0x38c915}),'children':_0x2842d9}),_0x508896[_0x35e666(0x302)](_0x35e666(0xd9),{'className':_0x35e666(0x215),'children':_0x4a722e})]});}return _0x38c915?_0x3784ee():_0x508896[_0x134ca2(0x302)](_0x2e0a42[_0x134ca2(0x184)],{'title':_0xcfad2d['t'](_0x134ca2(0x127)),'children':_0x3784ee()});}var _0x267bdb=Object[_0x2a4230(0x310)],_0x3e1a15=(_0x1724bb,_0x40baae,_0x467fbc,_0x1213d8)=>{for(var _0x526952=_0x1213d8>0x1?void 0x0:_0x1213d8?_0x267bdb(_0x40baae,_0x467fbc):_0x40baae,_0x4cd1ce=_0x1724bb['length']-0x1,_0x54f95c;_0x4cd1ce>=0x0;_0x4cd1ce--)(_0x54f95c=_0x1724bb[_0x4cd1ce])&&(_0x526952=_0x54f95c(_0x526952)||_0x526952);return _0x526952;},_0x152d53=(_0x585a2c,_0x45a067)=>(_0x1c16b1,_0x5ce727)=>_0x45a067(_0x1c16b1,_0x5ce727,_0x585a2c);_0x4e590a[_0x2a4230(0x10b)]=class extends _0x3c1804[_0x2a4230(0x11b)]{constructor(_0x22ae6e,_0x25a307,_0x5a4c3f,_0xc390f6){const _0x1d072a=_0x2a4230;super(),_0x275745(this,_0x1d072a(0xc5),new _0x23318b[(_0x1d072a(0x19a))](_0x4d8e7c['CollaborationStatus']['NOT_COLLAB'])),(this[_0x1d072a(0x1c6)]=_0x22ae6e,this[_0x1d072a(0x2f5)]=_0x25a307,this[_0x1d072a(0x13a)]=_0x5a4c3f,this[_0x1d072a(0x1f6)]=_0xc390f6,this[_0x1d072a(0xb1)](),this['_initStatusListener']());}[_0x2a4230(0x13b)](){const _0x2309de=_0x2a4230;this[_0x2309de(0xc6)](this[_0x2309de(0x1c6)][_0x2309de(0x2f7)][_0x2309de(0x154)](_0x23318b[_0x2309de(0x161)](()=>{const _0x13c5c3=_0x2309de,_0x4714f5=this['_univerInstanceService'][_0x13c5c3(0x1f8)]();return _0x4714f5?this[_0x13c5c3(0x13a)]['getCollabEntity$'](_0x4714f5['getUnitId']()):_0x23318b['of'](null);}),_0x23318b[_0x2309de(0x161)](_0x494d6d=>_0x494d6d?_0x494d6d[_0x2309de(0x2c8)]:_0x23318b['of'](_0x4d8e7c[_0x2309de(0x2f6)][_0x2309de(0xdd)])))[_0x2309de(0x86)](_0x1c4a49=>{const _0x502525=_0x2309de;this[_0x502525(0xc5)][_0x502525(0x120)](_0x1c4a49);}));}['_initStatusComponent'](){const _0x2f4347=_0x2a4230;this[_0x2f4347(0xc6)](this[_0x2f4347(0x1f6)][_0x2f4347(0x18b)](_0xb7c596[_0x2f4347(0x9a)]['HEADER_MENU'],()=>_0xb7c596[_0x2f4347(0x200)](_0x2fe208({'status$':this[_0x2f4347(0xc5)]['asObservable']()}),this[_0x2f4347(0x2f5)])));}},_0x4e590a[_0x2a4230(0x10b)]=_0x3e1a15([_0x152d53(0x0,_0x3c1804[_0x2a4230(0x72)]),_0x152d53(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x152d53(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x12f)])),_0x152d53(0x3,_0xb7c596[_0x2a4230(0xdf)])],_0x4e590a[_0x2a4230(0x10b)]);function _0x2fe208(_0x13fb13){const {status$:_0x3afb71}=_0x13fb13;return function(){const _0x2a8c6d=_0x1bfb;return _0x508896[_0x2a8c6d(0x302)](_0x53356e,{'status$':_0x3afb71});};}var _0x1862ad=Object[_0x2a4230(0x310)],_0x2854c6=(_0x593041,_0xe13d3c,_0x5a539e,_0x37aab1)=>{for(var _0x5b8b4f=_0x37aab1>0x1?void 0x0:_0x37aab1?_0x1862ad(_0xe13d3c,_0x5a539e):_0xe13d3c,_0x1f1e64=_0x593041['length']-0x1,_0x3e90c5;_0x1f1e64>=0x0;_0x1f1e64--)(_0x3e90c5=_0x593041[_0x1f1e64])&&(_0x5b8b4f=_0x3e90c5(_0x5b8b4f)||_0x5b8b4f);return _0x5b8b4f;},_0x42d1e5=(_0x2ce331,_0x18de0b)=>(_0x20e3e9,_0x2292a8)=>_0x18de0b(_0x20e3e9,_0x2292a8,_0x2ce331);let _0x5be03f=class extends _0x3c1804[_0x2a4230(0x11b)]{constructor(_0xfe6cb9,_0x158f54,_0x5d7737,_0x1bcd47,_0x598924,_0x5b2ea3){const _0x13481b=_0x2a4230;super(),this[_0x13481b(0x95)]=_0xfe6cb9,this[_0x13481b(0x2d8)]=_0x158f54,this[_0x13481b(0xd0)]=_0x5d7737,this[_0x13481b(0xc1)]=_0x1bcd47,this[_0x13481b(0x142)]=_0x598924,this[_0x13481b(0x259)]=_0x5b2ea3,this[_0x13481b(0x21b)](),this[_0x13481b(0x232)]();}[_0x2a4230(0x21b)](){const _0x3433fc=_0x2a4230;this['disposeWithMe'](this[_0x3433fc(0x95)][_0x3433fc(0x71)](()=>{const _0x200caa=_0x3433fc;if(this[_0x200caa(0x2d8)]['saveTaskMap'][_0x200caa(0x2e3)])return this['_localeService']['t'](_0x200caa(0x281));}));}[_0x2a4230(0x232)](){const _0x1cccaf=_0x2a4230;this[_0x1cccaf(0xc6)](this[_0x1cccaf(0xd0)][_0x1cccaf(0x171)][_0x1cccaf(0x86)](_0x285e4b=>{const _0x580c8e=_0x1cccaf;_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0xb9)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42['MessageType']['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x285e4b['id']===_0x4d8e7c[_0x580c8e(0xbe)][_0x580c8e(0x28e)]&&this['_messageService'][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)][_0x580c8e(0x8e)],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x227))}),_0x285e4b['id']===_0x4d8e7c[_0x580c8e(0xbe)][_0x580c8e(0xe0)]&&this['_notificationService'][_0x580c8e(0x278)]({'title':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x1ec)),'content':this[_0x580c8e(0x259)]['t']('permission.content'),'type':'error','duration':0x0}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0x90)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)]['Error'],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x227))+'('+_0x285e4b[_0x580c8e(0xa4)]+')'}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)][_0x580c8e(0x8e)],'content':this[_0x580c8e(0x259)]['t'](_0x285e4b[_0x580c8e(0xa4)]||'')}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0xb3)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42['MessageType']['Warning'],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x295))}),_0x285e4b['id']===_0x4d8e7c[_0x580c8e(0xbe)][_0x580c8e(0x25d)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)]['Error'],'content':this[_0x580c8e(0x259)]['t'](_0x580c8e(0x2d3))}),_0x285e4b['id']===_0x4d8e7c['CollaborationUIEventId'][_0x580c8e(0x217)]&&this[_0x580c8e(0xc1)][_0x580c8e(0x278)]({'type':_0x2e0a42[_0x580c8e(0x29d)][_0x580c8e(0xb0)],'content':this['_localeService']['t'](_0x580c8e(0x2ec))});}));}};_0x5be03f=_0x2854c6([_0x42d1e5(0x0,_0xb7c596[_0x2a4230(0x19b)]),_0x42d1e5(0x1,_0x4d8e7c[_0x2a4230(0x125)]),_0x42d1e5(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x27e)])),_0x42d1e5(0x3,_0xb7c596[_0x2a4230(0x204)]),_0x42d1e5(0x4,_0xb7c596[_0x2a4230(0x1a4)]),_0x42d1e5(0x5,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2fc)]))],_0x5be03f);const _0x5b970e=_0x2a4230(0x231),_0x3a187b={},_0x56d03c=_0x3c1804[_0x2a4230(0xa9)]('uni.network.url-service');var _0x27ab41=Object['getOwnPropertyDescriptor'],_0x384d80=(_0x22eaad,_0x4da01b,_0x3cbc9a,_0x4e71d1)=>{const _0x5506d2=_0x2a4230;for(var _0x1e58f1=_0x4e71d1>0x1?void 0x0:_0x4e71d1?_0x27ab41(_0x4da01b,_0x3cbc9a):_0x4da01b,_0x53ad5e=_0x22eaad[_0x5506d2(0x210)]-0x1,_0xe77745;_0x53ad5e>=0x0;_0x53ad5e--)(_0xe77745=_0x22eaad[_0x53ad5e])&&(_0x1e58f1=_0xe77745(_0x1e58f1)||_0x1e58f1);return _0x1e58f1;},_0xe0f450=(_0x3653ec,_0x36aade)=>(_0x521563,_0x304c3f)=>_0x36aade(_0x521563,_0x304c3f,_0x3653ec);_0x4e590a[_0x2a4230(0x1fe)]=class extends _0x3c1804[_0x2a4230(0xc0)]{constructor(_0x29fd9b,_0x36b1fd,_0x36307b,_0x1cd40b,_0xa6d70a){const _0x3e3e57=_0x2a4230;super(),this[_0x3e3e57(0x312)]=_0x29fd9b,this[_0x3e3e57(0x1de)]=_0x36b1fd,this['_commandService']=_0x36307b,this[_0x3e3e57(0x244)]=_0x1cd40b,_0xa6d70a?_0xa6d70a==null||_0xa6d70a[_0x3e3e57(0x2d0)]()[_0x3e3e57(0x14f)](()=>this[_0x3e3e57(0x2c1)]()):(this['_logService'][_0x3e3e57(0x282)](_0x3e3e57(0x197),_0x3e3e57(0x2ce)),this['_init']());}async[_0x2a4230(0x2c1)](){const _0x47a562=_0x2a4230,_0x4a5c30=this['_urlService'][_0x47a562(0x1f9)](_0x47a562(0x1da)),_0x4722ae=this['_urlService'][_0x47a562(0x1f9)](_0x47a562(0x2d7)),_0x161a72=this[_0x47a562(0x312)][_0x47a562(0x1f9)](_0x47a562(0x189));if(!_0x4a5c30||!_0x4722ae){this['_logService'][_0x47a562(0x282)](_0x47a562(0x197),_0x47a562(0x249));return;}const _0x348233=await this['_dataLoaderService'][_0x47a562(0x2c3)](_0x4a5c30,Number(_0x4722ae),_0x161a72);_0x348233&&_0x348233 instanceof _0x3c1804[_0x47a562(0x2d6)]&&this['_setupSubUnitSync'](_0x348233);}async[_0x2a4230(0x206)](_0x3f2043){const _0xc9ff06=_0x2a4230;await this['_updateSubUnitFromURLParams'](_0x3f2043),_0x3f2043[_0xc9ff06(0x2f1)][_0xc9ff06(0x154)](_0x23318b[_0xc9ff06(0xfe)](this[_0xc9ff06(0x1aa)]))[_0xc9ff06(0x86)](_0x2e6389=>{const _0x200e63=_0xc9ff06;_0x2e6389&&this[_0x200e63(0xe6)](_0x2e6389);}),this[_0xc9ff06(0x312)][_0xc9ff06(0x2b8)]['pipe'](_0x23318b['takeUntil'](this[_0xc9ff06(0x1aa)]))[_0xc9ff06(0x86)](()=>this['_updateSubUnitFromURLParams'](_0x3f2043));}[_0x2a4230(0xe6)](_0x866f8e,_0x78a825=!0x1){const _0x10b3e0=_0x2a4230,_0x2cb10e=this[_0x10b3e0(0x312)][_0x10b3e0(0x1f9)](_0x10b3e0(0x189));_0x866f8e[_0x10b3e0(0xd1)]()!==_0x2cb10e&&this[_0x10b3e0(0x312)][_0x10b3e0(0xe9)](_0x10b3e0(0x189),_0x866f8e[_0x10b3e0(0xd1)](),_0x78a825);}async['_updateSubUnitFromURLParams'](_0x29c59a){const _0x2cf03e=_0x2a4230;var _0x5bbf3f;const _0x3fadc2=this[_0x2cf03e(0x312)][_0x2cf03e(0x1f9)](_0x2cf03e(0x189));if(!_0x3fadc2||!_0x29c59a[_0x2cf03e(0x18d)](_0x3fadc2)){const _0x566cf9=_0x29c59a[_0x2cf03e(0x1bb)]()[0x0],_0x3b478c=_0x29c59a[_0x2cf03e(0x18d)](_0x566cf9);if(!_0x3b478c)return;this['_updateURLWithCurrentState'](_0x3b478c,!0x0),await this['_commandService'][_0x2cf03e(0x181)](_0x441e63[_0x2cf03e(0x2b9)]['id'],{'unitId':_0x29c59a[_0x2cf03e(0x224)](),'subUnitId':_0x566cf9});return;}((_0x5bbf3f=_0x29c59a[_0x2cf03e(0x1cf)]())==null?void 0x0:_0x5bbf3f[_0x2cf03e(0xd1)]())!==_0x3fadc2&&await this[_0x2cf03e(0x9b)][_0x2cf03e(0x181)](_0x441e63['SetWorksheetActivateCommand']['id'],{'unitId':_0x29c59a[_0x2cf03e(0x224)](),'subUnitId':_0x3fadc2});}},_0x4e590a[_0x2a4230(0x1fe)]=_0x384d80([_0xe0f450(0x0,_0x56d03c),_0xe0f450(0x1,_0x3c1804['ILogService']),_0xe0f450(0x2,_0x3c1804[_0x2a4230(0x122)]),_0xe0f450(0x3,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c['DataLoaderService'])),_0xe0f450(0x4,_0x3c1804[_0x2a4230(0x2a9)](_0x9f1645['IRemoteInstanceService']))],_0x4e590a[_0x2a4230(0x1fe)]);var _0x4e5591=Object[_0x2a4230(0x310)],_0x102740=(_0x5c5730,_0x289487,_0x5bcc6e,_0x2f309e)=>{const _0x4a8b03=_0x2a4230;for(var _0x14a413=_0x2f309e>0x1?void 0x0:_0x2f309e?_0x4e5591(_0x289487,_0x5bcc6e):_0x289487,_0x529bc2=_0x5c5730[_0x4a8b03(0x210)]-0x1,_0x1b50f9;_0x529bc2>=0x0;_0x529bc2--)(_0x1b50f9=_0x5c5730[_0x529bc2])&&(_0x14a413=_0x1b50f9(_0x14a413)||_0x14a413);return _0x14a413;},_0x4222c4=(_0x432623,_0x4576ad)=>(_0x53c7cc,_0x456dd4)=>_0x4576ad(_0x53c7cc,_0x456dd4,_0x432623);let _0x291d78=class{constructor(_0x2100fa,_0x51e649){const _0x133f39=_0x2a4230;this['_transformService']=_0x2100fa,this[_0x133f39(0x12a)]=_0x51e649;}[_0x2a4230(0x111)](_0x4db1bf){const _0x24787e=_0x2a4230;this[_0x24787e(0x298)](_0x4db1bf),this[_0x24787e(0x2e0)](_0x4db1bf);}[_0x2a4230(0x212)](_0x2ea209){const _0x42f6f6=_0x2a4230,{unitID:_0x318ed1}=_0x2ea209,_0x10fd8f=this[_0x42f6f6(0x12a)]['getRenderById'](_0x318ed1)[_0x42f6f6(0xdc)](_0x4aced0[_0x42f6f6(0x16b)]),{redoCache:_0x44e83b}=_0x10fd8f['getUndoRedoMutationParamsCache']();if(_0x44e83b[_0x42f6f6(0x210)]===0x0)return _0x2ea209;let _0x10721a=_0x3c1804[_0x42f6f6(0x2ad)]['deepClone'](_0x2ea209[_0x42f6f6(0x144)][0x0]);for(let _0x42d2bd=0x0;_0x42d2bd<_0x44e83b['length'];_0x42d2bd++){const _0x3d4577={'id':_0x42f6f6(0x124),'params':{..._0x44e83b[_0x42d2bd]}},_0x106083=this[_0x42f6f6(0x1b4)]['transformMutation'](_0x10721a,_0x3d4577,!0x1);if(_0x4b9b03[_0x42f6f6(0x192)](_0x106083))throw _0x106083[_0x42f6f6(0x103)];_0x10721a=_0x106083[_0x42f6f6(0x2b1)];}return{..._0x3c1804[_0x42f6f6(0x2ad)]['deepClone'](_0x2ea209),'mutations':[_0x10721a]};}[_0x2a4230(0x298)](_0x2db7ff){const _0x15d71a=_0x2a4230,{unitID:_0x31744c}=_0x2db7ff,_0x5dc95d=this[_0x15d71a(0x12a)]['getRenderById'](_0x31744c)[_0x15d71a(0xdc)](_0x4aced0[_0x15d71a(0x16b)]),{undoCache:_0x27ee2e,redoCache:_0x2af9a7}=_0x5dc95d[_0x15d71a(0x2e8)]();if(_0x27ee2e['length']===0x0||_0x2af9a7['length']===0x0)return;const _0x379bc3=[],_0x204c31=[];let _0x15e510=_0x3c1804['Tools'][_0x15d71a(0x293)](_0x2db7ff[_0x15d71a(0x144)][0x0]),_0x4487df=_0x3c1804[_0x15d71a(0x2ad)][_0x15d71a(0x293)](_0x2db7ff['mutations'][0x0]);for(let _0x4c1653=_0x27ee2e['length']-0x1;_0x4c1653>=0x0;_0x4c1653--){const _0x4a3d0f={'id':_0x15d71a(0x124),'params':{..._0x27ee2e[_0x4c1653]}},_0x49720c={'id':'doc.mutation.rich-text-editing','params':{..._0x2af9a7[_0x4c1653]}},_0x3242fe=this[_0x15d71a(0x1b4)]['transformMutation'](_0x15e510,_0x4a3d0f,!0x1),_0x113632=this[_0x15d71a(0x1b4)]['transformMutation'](_0x4487df,_0x49720c,!0x1);if(_0x4b9b03[_0x15d71a(0x192)](_0x3242fe))throw _0x3242fe[_0x15d71a(0x103)];if(_0x4b9b03['isTransformMutationFailure'](_0x113632))throw _0x113632[_0x15d71a(0x103)];_0x379bc3['unshift'](_0x3242fe[_0x15d71a(0x13f)][_0x15d71a(0x270)]),_0x204c31['unshift'](_0x113632[_0x15d71a(0x13f)][_0x15d71a(0x270)]),_0x15e510=_0x3242fe[_0x15d71a(0x2b1)],_0x4487df=_0x113632[_0x15d71a(0x2b1)];}_0x5dc95d[_0x15d71a(0xe7)]({'undoCache':_0x379bc3,'redoCache':_0x204c31});}[_0x2a4230(0x2e0)](_0x1a00d2){const _0x516edc=_0x2a4230,{unitID:_0x3b0c1a}=_0x1a00d2,_0x4a0ac4=this[_0x516edc(0x12a)]['getRenderById'](_0x3b0c1a)[_0x516edc(0xdc)](_0x4aced0[_0x516edc(0x16b)]),_0x23afc6=_0x4a0ac4[_0x516edc(0x1d0)]();if(_0x23afc6==null)return;const _0xa796dc=[{'id':_0x516edc(0x124),'params':{'unitId':_0x1a00d2[_0x516edc(0x2be)],'actions':null,'textRanges':[_0x23afc6]}}],_0x558d67=this['_transformService']['transformMutationsWithChangeset'](_0x1a00d2,_0xa796dc);if(!_0x4b9b03['isTransformMutationsWithChangesetSuccess'](_0x558d67))throw _0x558d67[_0x516edc(0x103)];const _0x44f39e=_0x558d67[_0x516edc(0x13f)][0x0][_0x516edc(0x270)][_0x516edc(0x159)];Array[_0x516edc(0x271)](_0x44f39e)&&_0x44f39e[_0x516edc(0x210)]&&_0x4a0ac4[_0x516edc(0x20f)](_0x44f39e[0x0]);}};_0x291d78=_0x102740([_0x4222c4(0x0,_0x4b9b03[_0x2a4230(0x1a9)]),_0x4222c4(0x1,_0x214f70[_0x2a4230(0x1f1)])],_0x291d78);var _0x645181=Object['getOwnPropertyDescriptor'],_0x33cbc1=(_0x6b3f06,_0x42550b,_0x56bb8c,_0x329cf7)=>{const _0x4c76c1=_0x2a4230;for(var _0x5e6086=_0x329cf7>0x1?void 0x0:_0x329cf7?_0x645181(_0x42550b,_0x56bb8c):_0x42550b,_0x1c9737=_0x6b3f06[_0x4c76c1(0x210)]-0x1,_0xdb3377;_0x1c9737>=0x0;_0x1c9737--)(_0xdb3377=_0x6b3f06[_0x1c9737])&&(_0x5e6086=_0xdb3377(_0x5e6086)||_0x5e6086);return _0x5e6086;},_0xe057d=(_0x3961c8,_0x2b2934)=>(_0x3accc0,_0x5e752f)=>_0x2b2934(_0x3accc0,_0x5e752f,_0x3961c8);let _0x234507=class{constructor(_0x23896b,_0x3b5791,_0xda143a){const _0x2d740b=_0x2a4230;this[_0x2d740b(0x2f5)]=_0x23896b,this['_transformService']=_0x3b5791,this[_0x2d740b(0x11a)]=_0xda143a;}[_0x2a4230(0x26f)](_0x89ba9a){this['_transformHistoryAndStateStack'](_0x89ba9a);}[_0x2a4230(0x212)](_0x42d0ba){const _0x4bacd7=_0x2a4230,{unitID:_0x1a72b4}=_0x42d0ba,{collaboration:_0x29839a}=this[_0x4bacd7(0x11a)]['getStateCache'](_0x1a72b4);if(_0x29839a[_0x4bacd7(0x210)]===0x0)return _0x42d0ba;let _0x144027=_0x3c1804[_0x4bacd7(0x2ad)][_0x4bacd7(0x293)](_0x42d0ba[_0x4bacd7(0x144)][0x0]);for(let _0x3167a8=0x0;_0x3167a8<_0x29839a[_0x4bacd7(0x210)];_0x3167a8++){const _0x517000={'id':_0x4bacd7(0x124),'params':{'unitId':_0x29839a[_0x3167a8][_0x4bacd7(0x203)],..._0x29839a[_0x3167a8]['redoState']}},_0x133cdf=this['_transformService'][_0x4bacd7(0x25b)](_0x144027,_0x517000,!0x1);if(_0x4b9b03[_0x4bacd7(0x192)](_0x133cdf))throw _0x133cdf[_0x4bacd7(0x103)];_0x144027=_0x133cdf[_0x4bacd7(0x2b1)];}return{..._0x3c1804[_0x4bacd7(0x2ad)]['deepClone'](_0x42d0ba),'mutations':[_0x144027]};}[_0x2a4230(0x307)](_0x2db74f){const _0x373cb6=_0x2a4230,{unitID:_0x5b899c}=_0x2db74f,{history:_0x462174,collaboration:_0x29f0ee}=this[_0x373cb6(0x11a)][_0x373cb6(0x1db)](_0x5b899c);if(_0x462174[_0x373cb6(0x210)]===0x0&&_0x29f0ee[_0x373cb6(0x210)]===0x0)return;const _0x3abe27=[],_0x38ecfe=[];let _0x49a7f1=_0x3c1804[_0x373cb6(0x2ad)][_0x373cb6(0x293)](_0x2db74f['mutations'][0x0]),_0x45f137=_0x3c1804['Tools'][_0x373cb6(0x293)](_0x2db74f[_0x373cb6(0x144)][0x0]);for(let _0x2b67ac=_0x462174['length']-0x1;_0x2b67ac>=0x0;_0x2b67ac--){const _0xf1b99e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x462174[_0x2b67ac][_0x373cb6(0x203)],..._0x462174[_0x2b67ac][_0x373cb6(0xed)]}},_0x33ae02={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x462174[_0x2b67ac][_0x373cb6(0x203)],..._0x462174[_0x2b67ac][_0x373cb6(0xb6)]}},_0x420a87=this[_0x373cb6(0x1b4)]['transformMutation'](_0x49a7f1,_0xf1b99e,!0x1),_0x4ae316=this[_0x373cb6(0x1b4)][_0x373cb6(0x25b)](_0x45f137,_0x33ae02,!0x1);if(_0x4b9b03[_0x373cb6(0x192)](_0x420a87))throw _0x420a87[_0x373cb6(0x103)];if(_0x4b9b03[_0x373cb6(0x192)](_0x4ae316))throw _0x4ae316[_0x373cb6(0x103)];_0x3abe27['unshift']({..._0x462174[_0x2b67ac],'undoState':_0x420a87[_0x373cb6(0x13f)][_0x373cb6(0x270)],'redoState':_0x4ae316['m2Prime'][_0x373cb6(0x270)]}),_0x49a7f1=_0x420a87[_0x373cb6(0x2b1)],_0x45f137=_0x4ae316['m1Prime'];}_0x49a7f1=_0x3c1804[_0x373cb6(0x2ad)]['deepClone'](_0x2db74f[_0x373cb6(0x144)][0x0]),_0x45f137=_0x3c1804[_0x373cb6(0x2ad)][_0x373cb6(0x293)](_0x2db74f[_0x373cb6(0x144)][0x0]);for(let _0x317777=_0x29f0ee[_0x373cb6(0x210)]-0x1;_0x317777>=0x0;_0x317777--){const _0x5319f8={'id':_0x373cb6(0x124),'params':{'unitId':_0x29f0ee[_0x317777]['unitId'],..._0x29f0ee[_0x317777]['undoState']}},_0x147509={'id':_0x373cb6(0x124),'params':{'unitId':_0x29f0ee[_0x317777]['unitId'],..._0x29f0ee[_0x317777][_0x373cb6(0xb6)]}},_0x4050d3=this[_0x373cb6(0x1b4)][_0x373cb6(0x25b)](_0x49a7f1,_0x5319f8,!0x1),_0x3defcc=this['_transformService'][_0x373cb6(0x25b)](_0x45f137,_0x147509,!0x1);if(_0x4b9b03[_0x373cb6(0x192)](_0x4050d3))throw _0x4050d3['error'];if(_0x4b9b03['isTransformMutationFailure'](_0x3defcc))throw _0x3defcc['error'];_0x38ecfe[_0x373cb6(0x163)]({..._0x29f0ee[_0x317777],'undoState':_0x4050d3[_0x373cb6(0x13f)][_0x373cb6(0x270)],'redoState':_0x3defcc['m2Prime'][_0x373cb6(0x270)]}),_0x49a7f1=_0x4050d3[_0x373cb6(0x2b1)],_0x45f137=_0x3defcc[_0x373cb6(0x2b1)];}this[_0x373cb6(0x11a)][_0x373cb6(0x23b)](_0x5b899c,{'history':_0x3abe27,'collaboration':_0x38ecfe});}};_0x234507=_0x33cbc1([_0xe057d(0x0,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2b5)])),_0xe057d(0x1,_0x4b9b03[_0x2a4230(0x1a9)]),_0xe057d(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4aced0['DocStateChangeManagerService']))],_0x234507);var _0x89c548=Object['getOwnPropertyDescriptor'],_0x1f6356=(_0x41d403,_0x4e5e27,_0x45b7de,_0x4a9bf6)=>{const _0x317e91=_0x2a4230;for(var _0x2cd5a6=_0x4a9bf6>0x1?void 0x0:_0x4a9bf6?_0x89c548(_0x4e5e27,_0x45b7de):_0x4e5e27,_0x420aa9=_0x41d403[_0x317e91(0x210)]-0x1,_0x4aa5df;_0x420aa9>=0x0;_0x420aa9--)(_0x4aa5df=_0x41d403[_0x420aa9])&&(_0x2cd5a6=_0x4aa5df(_0x2cd5a6)||_0x2cd5a6);return _0x2cd5a6;},_0x67c924=(_0x4e2078,_0x462861)=>(_0x50fe42,_0x4a0c43)=>_0x462861(_0x50fe42,_0x4a0c43,_0x4e2078);let _0x52d2d4=class{constructor(_0x1d5f88,_0x49a189){const _0xb7272f=_0x2a4230;this[_0xb7272f(0x2f5)]=_0x1d5f88,this[_0xb7272f(0x1b4)]=_0x49a189;}['transformSelections'](_0xfc43f6){const _0x52db3d=_0x2a4230;var _0x9b89c3;const _0x519ba3=this[_0x52db3d(0x2f5)]['get'](_0x3c10b0['DocSelectionManagerService']),_0x129e76=(_0x9b89c3=_0x519ba3['getDocRanges']())!=null?_0x9b89c3:[];if(_0x129e76[_0x52db3d(0x210)]===0x0)return;const _0x2a5894=_0xfc43f6[_0x52db3d(0x2be)],_0x42e949=[{'id':_0x52db3d(0x124),'params':{'unitId':_0x2a5894,'actions':null,'textRanges':_0x129e76}}],_0x110473=this['_transformService']['transformMutationsWithChangeset'](_0xfc43f6,_0x42e949);if(!_0x4b9b03[_0x52db3d(0x121)](_0x110473))throw _0x110473[_0x52db3d(0x103)];const _0x3de66d=_0x110473[_0x52db3d(0x13f)][0x0][_0x52db3d(0x270)][_0x52db3d(0x159)];Array[_0x52db3d(0x271)](_0x3de66d)&&_0x3de66d[_0x52db3d(0x210)]&&_0x519ba3[_0x52db3d(0x70)](_0x3de66d,{'unitId':_0x2a5894,'subUnitId':_0x2a5894},!0x1);}};_0x52d2d4=_0x1f6356([_0x67c924(0x0,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x67c924(0x1,_0x4b9b03[_0x2a4230(0x1a9)])],_0x52d2d4);var _0x2d3df1=Object['getOwnPropertyDescriptor'],_0x5a6468=(_0x2536c3,_0x1aea9b,_0x31a2f4,_0x186dba)=>{const _0x3eb843=_0x2a4230;for(var _0x288b35=_0x186dba>0x1?void 0x0:_0x186dba?_0x2d3df1(_0x1aea9b,_0x31a2f4):_0x1aea9b,_0x5925e6=_0x2536c3[_0x3eb843(0x210)]-0x1,_0x5e0be2;_0x5925e6>=0x0;_0x5925e6--)(_0x5e0be2=_0x2536c3[_0x5925e6])&&(_0x288b35=_0x5e0be2(_0x288b35)||_0x288b35);return _0x288b35;},_0x5ddcad=(_0x29aac3,_0x2fbd05)=>(_0xc0f0a5,_0x3cee07)=>_0x2fbd05(_0xc0f0a5,_0x3cee07,_0x29aac3);let _0x4eac55=class extends _0x3c1804['Disposable']{constructor(_0x559481,_0x4602,_0x5de09a,_0x32a202,_0x1dafa4,_0x2a00a0,_0x2c5cbd,_0x5acd98){const _0xd2f2b=_0x2a4230;super(),_0x275745(this,_0xd2f2b(0xc5),new _0x23318b[(_0xd2f2b(0x19a))](_0x4d8e7c[_0xd2f2b(0x2f6)][_0xd2f2b(0xdd)])),(this[_0xd2f2b(0x11a)]=_0x559481,this[_0xd2f2b(0x13a)]=_0x4602,this['_docTransformIMECacheService']=_0x5de09a,this[_0xd2f2b(0xe5)]=_0x32a202,this[_0xd2f2b(0x2a8)]=_0x1dafa4,this[_0xd2f2b(0x185)]=_0x2a00a0,this[_0xd2f2b(0xc1)]=_0x2c5cbd,this[_0xd2f2b(0x259)]=_0x5acd98,this[_0xd2f2b(0x19f)]());}['_initEntityListener'](){const _0x2d7eba=_0x2a4230;this[_0x2d7eba(0xc6)](this[_0x2d7eba(0x13a)][_0x2d7eba(0x93)]['subscribe'](_0x2ff8bd=>{const _0x3064d5=_0x2d7eba,_0x46abd0=this[_0x3064d5(0x11a)]['docStateChange$'][_0x3064d5(0x86)](_0x82e7ad=>{const _0x259902=_0x3064d5;if(_0x82e7ad==null)return;const {unitId:_0x53d5fd,redoState:_0x498a6c,commandId:_0x1caf3b}=_0x82e7ad;if(_0x53d5fd!==_0x2ff8bd[_0x259902(0x2be)])return;const _0x59f7e0={'id':_0x1caf3b,'type':_0x3c1804[_0x259902(0x8b)][_0x259902(0xcb)],'params':{'unitId':_0x53d5fd,'actions':_0x498a6c[_0x259902(0x2ea)],'textRanges':null}};_0x2ff8bd[_0x259902(0x23a)](_0x59f7e0);});if(_0x2ff8bd['disposeWithMe'](_0x46abd0),_0x2ff8bd instanceof _0x4d8e7c[_0x3064d5(0x2eb)]){const _0x22558a={'onTransformIME':_0x5c4c=>this[_0x3064d5(0x15c)]['transformIMECache'](_0x5c4c),'onTransformState':_0x4a4474=>this[_0x3064d5(0xe5)][_0x3064d5(0x26f)](_0x4a4474),'onTransformSelections':_0x582153=>this[_0x3064d5(0x2a8)][_0x3064d5(0x10c)](_0x582153),'onSyncEditingCollabCursor':_0x24aacf=>this[_0x3064d5(0x185)][_0x3064d5(0x301)](_0x24aacf),'onTransformRemoteChangesetByIMECache':_0x45fd7b=>this[_0x3064d5(0x15c)][_0x3064d5(0x212)](_0x45fd7b),'onTransformRemoteChangesetByStateCache':_0x2f7dc5=>this[_0x3064d5(0xe5)][_0x3064d5(0x212)](_0x2f7dc5)};_0x2ff8bd[_0x3064d5(0x262)](_0x22558a);}}));}};_0x4eac55=_0x5a6468([_0x5ddcad(0x0,_0x3c1804[_0x2a4230(0x172)](_0x4aced0[_0x2a4230(0x247)])),_0x5ddcad(0x1,_0x3c1804[_0x2a4230(0x172)](_0x4d8e7c[_0x2a4230(0x12f)])),_0x5ddcad(0x2,_0x3c1804['Inject'](_0x291d78)),_0x5ddcad(0x3,_0x3c1804['Inject'](_0x234507)),_0x5ddcad(0x4,_0x3c1804['Inject'](_0x52d2d4)),_0x5ddcad(0x5,_0x3c1804['Inject'](_0x149923)),_0x5ddcad(0x6,_0xb7c596[_0x2a4230(0x204)]),_0x5ddcad(0x7,_0x3c1804[_0x2a4230(0x172)](_0x3c1804[_0x2a4230(0x2fc)]))],_0x4eac55);var _0x3197aa=Object[_0x2a4230(0x310)],_0x599b5e=(_0x1d920c,_0x2c9b9c,_0x2f735d,_0x111914)=>{for(var _0x1465fc=_0x111914>0x1?void 0x0:_0x111914?_0x3197aa(_0x2c9b9c,_0x2f735d):_0x2c9b9c,_0x3788d3=_0x1d920c['length']-0x1,_0x107bb5;_0x3788d3>=0x0;_0x3788d3--)(_0x107bb5=_0x1d920c[_0x3788d3])&&(_0x1465fc=_0x107bb5(_0x1465fc)||_0x1465fc);return _0x1465fc;},_0x583c4b=(_0x40195a,_0x347cb8)=>(_0x1557e6,_0x28f0de)=>_0x347cb8(_0x1557e6,_0x28f0de,_0x40195a);let _0x3b652d=class extends _0x3c1804[_0x2a4230(0x11b)]{constructor(_0x27b376,_0x432946,_0x119d36){const _0x1b7935=_0x2a4230;super(),_0x275745(this,_0x1b7935(0x1ac),new Map()),_0x275745(this,_0x1b7935(0x1b2),new Map()),_0x275745(this,'_disabled',!0x1),(this['_configService']=_0x27b376,this[_0x1b7935(0xbf)]=_0x432946,this[_0x1b7935(0x290)]=_0x119d36);}['disableLocalCache'](){const _0x1cb916=_0x2a4230;this[_0x1cb916(0x16c)]=!0x0;}[_0x2a4230(0x11d)](){const _0x51ceed=_0x2a4230;this[_0x51ceed(0x16c)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0xd36ccc=_0x2a4230;this[_0xd36ccc(0x1b0)]()[_0xd36ccc(0x14f)](()=>super[_0xd36ccc(0x75)]());}async[_0x2a4230(0x2bd)](_0x41499a){const _0x5ab1dd=_0x2a4230;return this[_0x5ab1dd(0x16c)]?null:this[_0x5ab1dd(0xbf)]['getItem'](_0x4d8e7c[_0x5ab1dd(0x11e)](_0x41499a));}async[_0x2a4230(0x78)](_0x187128,_0x3fa472){const _0x39b722=_0x2a4230;return!!this[_0x39b722(0xbf)][_0x39b722(0x12b)](_0x187128,_0x3fa472);}[_0x2a4230(0x2e6)](_0x4dd887,_0x1abf14,_0x49ee85,_0x15f7fd){const _0x5547dd=_0x2a4230,_0x1f9b84=this['_revisionService'][_0x5547dd(0x20e)](_0x4dd887);this[_0x5547dd(0x1ac)][_0x5547dd(0x2cd)](_0x4dd887,{'unitID':_0x4dd887,'type':_0x1abf14,'awaitingChangeset':_0x49ee85,'mutations':_0x15f7fd,'rev':_0x1f9b84}),this[_0x5547dd(0x1b2)][_0x5547dd(0x23e)](_0x4dd887)||this[_0x5547dd(0xfd)](_0x4dd887);}[_0x2a4230(0xfd)](_0x1a1662){const _0x3fbede=_0x2a4230,_0xeef60e=this[_0x3fbede(0x1b8)]();_0xeef60e===0x0?this['_saveCache'](_0x1a1662):this[_0x3fbede(0x1b2)][_0x3fbede(0x2cd)](_0x1a1662,setTimeout(()=>this['_saveCache'](_0x1a1662),_0xeef60e));}[_0x2a4230(0x1b8)](){const _0x14bf57=_0x2a4230;var _0x1617a8;return(_0x1617a8=this[_0x14bf57(0xad)][_0x14bf57(0x10a)](_0x4d8e7c[_0x14bf57(0x2ff)]))!=null?_0x1617a8:_0x4d8e7c['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x3a98d4){const _0x1d8c93=_0x2a4230,_0xfdbc0a=this['_saveTaskMap'][_0x1d8c93(0x9e)](_0x3a98d4);return _0xfdbc0a!==void 0x0&&window[_0x1d8c93(0xff)](_0xfdbc0a),this[_0x1d8c93(0xbf)]['setItem'](_0x4d8e7c[_0x1d8c93(0x11e)](_0x3a98d4),this['_cachedData'][_0x1d8c93(0x9e)](_0x3a98d4))[_0x1d8c93(0x14f)](()=>this[_0x1d8c93(0x1b2)][_0x1d8c93(0x1e0)](_0x3a98d4));}async[_0x2a4230(0x1b0)](){const _0x4149a0=_0x2a4230,_0x1db28c=[];this[_0x4149a0(0x1b2)][_0x4149a0(0x30d)]((_0x5457d2,_0x53997b)=>{const _0x1566f7=_0x4149a0;window[_0x1566f7(0xff)](_0x5457d2),_0x1db28c['push'](this[_0x1566f7(0x21d)](_0x53997b)[_0x1566f7(0x14f)](()=>{const _0x2954ba=_0x1566f7;this[_0x2954ba(0x1b2)][_0x2954ba(0x1e0)](_0x53997b);}));}),await Promise['all'](_0x1db28c);}};_0x3b652d=_0x599b5e([_0x583c4b(0x0,_0x3c1804[_0x2a4230(0x23d)]),_0x583c4b(0x1,_0x3c1804[_0x2a4230(0x16d)]),_0x583c4b(0x2,_0x3c1804[_0x2a4230(0x172)](_0x4b9b03[_0x2a4230(0xba)]))],_0x3b652d);class _0x50a82d extends _0x3c1804[_0x2a4230(0xc0)]{constructor(){const _0x23ea13=_0x2a4230;super(),_0x275745(this,_0x23ea13(0x2b8)),this[_0x23ea13(0x2b8)]=_0x23318b[_0x23ea13(0x1c3)](window,_0x23ea13(0x132))['pipe'](_0x23318b[_0x23ea13(0xfe)](this['dispose$']),_0x23318b[_0x23ea13(0x2e1)](0x1),_0x23318b[_0x23ea13(0x114)](void 0x0));}['setParam'](_0x32986a,_0x3d6091,_0x10dd8e=!0x1){const _0x2dfbd7=_0x2a4230,_0x19f199=new URL(window['location']['href']);_0x19f199[_0x2dfbd7(0x233)]['set'](_0x32986a,_0x3d6091),_0x10dd8e?window[_0x2dfbd7(0x9f)][_0x2dfbd7(0x28b)]('','',_0x19f199[_0x2dfbd7(0x135)]()):window[_0x2dfbd7(0x9f)]['pushState']('','',_0x19f199[_0x2dfbd7(0x135)]());}[_0x2a4230(0x128)](_0x9179c5,_0x530fb4=!0x1){const _0x158d7a=_0x2a4230,_0x3f092=new URL(window[_0x158d7a(0x1a7)]['href']);_0x3f092['searchParams'][_0x158d7a(0x1e0)](_0x9179c5),_0x530fb4?window[_0x158d7a(0x9f)]['replaceState']('','',_0x3f092[_0x158d7a(0x135)]()):window['history'][_0x158d7a(0x2fe)]('','',_0x3f092[_0x158d7a(0x135)]());}[_0x2a4230(0x1f9)](_0x3c23d2){const _0x498890=_0x2a4230;var _0x430266;return(_0x430266=new URL(window[_0x498890(0x1a7)][_0x498890(0xd8)])[_0x498890(0x233)][_0x498890(0x9e)](_0x3c23d2))!=null?_0x430266:void 0x0;}}var _0x1473bd=Object[_0x2a4230(0x1b6)],_0x2f61b0=Object[_0x2a4230(0x310)],_0x3295c6=(_0x414cd7,_0x507629,_0x2ced58)=>_0x507629 in _0x414cd7?_0x1473bd(_0x414cd7,_0x507629,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ced58}):_0x414cd7[_0x507629]=_0x2ced58,_0x39ddfa=(_0x7daa9c,_0x1c980f,_0x39d0c7,_0x5d38c2)=>{for(var _0x566f26=_0x5d38c2>0x1?void 0x0:_0x5d38c2?_0x2f61b0(_0x1c980f,_0x39d0c7):_0x1c980f,_0x8ea48b=_0x7daa9c['length']-0x1,_0xa10d12;_0x8ea48b>=0x0;_0x8ea48b--)(_0xa10d12=_0x7daa9c[_0x8ea48b])&&(_0x566f26=_0xa10d12(_0x566f26)||_0x566f26);return _0x566f26;},_0x2920db=(_0x301313,_0x1cc36a)=>(_0x336717,_0x591ae1)=>_0x1cc36a(_0x336717,_0x591ae1,_0x301313),_0xa93bb0=(_0x187089,_0x24352a,_0x225c04)=>_0x3295c6(_0x187089,_0x24352a+'',_0x225c04);const _0x383fdc=_0x2a4230(0x2e4);_0x4e590a['UniverCollaborationClientUIPlugin']=class extends _0x3c1804['Plugin']{constructor(_0x346e3e=_0x3a187b,_0x34fc35,_0x2bfe00,_0x5ded75){const _0x207415=_0x2a4230;super(),this['_config']=_0x346e3e,this[_0x207415(0x12a)]=_0x34fc35,this[_0x207415(0x2f5)]=_0x2bfe00,this['_configService']=_0x5ded75;const {..._0x51f7d6}=_0x3c1804['merge']({},_0x3a187b,this[_0x207415(0x24f)]);this[_0x207415(0xad)][_0x207415(0x2c7)](_0x5b970e,_0x51f7d6);}[_0x2a4230(0x191)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2a4230(0x2de)](){this['_registerRenderDependencies']();}[_0x2a4230(0xf4)](){const _0x4420c5=_0x2a4230;var _0x502e0;const _0xc3b002=[[_0x7baa89],[_0x52d2d4],[_0x291d78],[_0x234507],[_0x149923],[_0x56d03c,{'useClass':_0x50a82d}],[_0x3ceccb[_0x4420c5(0x279)],{'useClass':_0x3ceccb[_0x4420c5(0x28d)]}],[_0x4d8e7c['ILocalCacheService'],{'useClass':_0x3b652d}],[_0x4e590a[_0x4420c5(0x10b)]],[_0x4eac55],[_0x5be03f],[_0x120278],[_0x34b7fc],[_0x4e590a[_0x4420c5(0x1fe)]]];_0x3c1804[_0x4420c5(0x267)](this[_0x4420c5(0x2f5)],_0x3c1804['mergeOverrideWithDependencies'](_0xc3b002,(_0x502e0=this[_0x4420c5(0x24f)])==null?void 0x0:_0x502e0[_0x4420c5(0x1b3)]));}[_0x2a4230(0x2cb)](){const _0x4c5383=_0x2a4230;this[_0x4c5383(0xc6)](this[_0x4c5383(0x12a)][_0x4c5383(0x18a)](_0x3c1804[_0x4c5383(0x253)]['UNIVER_DOC'],[_0x5eb364])),this[_0x4c5383(0xc6)](this[_0x4c5383(0x12a)][_0x4c5383(0x18a)](_0x3c1804['UniverInstanceType'][_0x4c5383(0x165)],[_0x1f6d7b]));}[_0x2a4230(0x1c7)](){const _0x3ec9f4=_0x2a4230;_0x3c1804['touchDependencies'](this[_0x3ec9f4(0x2f5)],[[_0x120278],[_0x4e590a[_0x3ec9f4(0x10b)]],[_0x4eac55],[_0x5be03f],[_0x4e590a[_0x3ec9f4(0x1fe)]]]);}},_0xa93bb0(_0x4e590a[_0x2a4230(0x19d)],_0x2a4230(0x170),_0x383fdc),_0x4e590a[_0x2a4230(0x19d)]=_0x39ddfa([_0x3c1804[_0x2a4230(0x20a)](_0x4d8e7c['UniverCollaborationClientPlugin']),_0x2920db(0x1,_0x214f70[_0x2a4230(0x1f1)]),_0x2920db(0x2,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x2920db(0x3,_0x3c1804[_0x2a4230(0x23d)])],_0x4e590a[_0x2a4230(0x19d)]);var _0x2fb126=Object[_0x2a4230(0x310)],_0x350a73=(_0x4cbed8,_0x39c830,_0x208bf2,_0x26b023)=>{const _0x4b29dc=_0x2a4230;for(var _0x112e9b=_0x26b023>0x1?void 0x0:_0x26b023?_0x2fb126(_0x39c830,_0x208bf2):_0x39c830,_0x3773c3=_0x4cbed8[_0x4b29dc(0x210)]-0x1,_0xd3d7e1;_0x3773c3>=0x0;_0x3773c3--)(_0xd3d7e1=_0x4cbed8[_0x3773c3])&&(_0x112e9b=_0xd3d7e1(_0x112e9b)||_0x112e9b);return _0x112e9b;},_0x1626ef=(_0x5a6515,_0x3b4506)=>(_0x1ecaaf,_0x4dfce2)=>_0x3b4506(_0x1ecaaf,_0x4dfce2,_0x5a6515);_0x4e590a[_0x2a4230(0x9d)]=class extends _0x4d8e7c['CollaborationSocketService']{constructor(_0x53b4d2,_0x4b341e,_0x4a4d71,_0x2ab77d,_0x3cce89){super(_0x53b4d2,_0x4b341e,_0x4a4d71,_0x2ab77d,_0x3cce89);}async[_0x2a4230(0x1d9)](_0x555400){const _0x4295d6=_0x2a4230,_0x671a0a=await this['_getSessionTicket'](),_0x4e2bfa=this[_0x4295d6(0x245)](_0x555400,_0x671a0a);return this['_doCreateSocket'](_0x4e2bfa);}[_0x2a4230(0x245)](_0xc577c0,_0x11f213){const _0x319919=_0x2a4230,_0x53a6f0=typeof window>'u'?new URL(_0xc577c0):new URL(_0xc577c0,window[_0x319919(0x1a7)][_0x319919(0x26e)]);_0x53a6f0['searchParams'][_0x319919(0x2cd)](_0x319919(0x147),_0x11f213);const _0x5a0886=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x319919(0x1a7)][_0x319919(0xf0)]);return _0x5a0886[_0x319919(0x9e)](_0x319919(0xe2))&&_0x53a6f0[_0x319919(0x233)][_0x319919(0x2cd)](_0x319919(0xe2),_0x5a0886[_0x319919(0x9e)](_0x319919(0xe2))),_0x53a6f0[_0x319919(0x135)]();}async[_0x2a4230(0x11c)](){const _0x5792f3=_0x2a4230;var _0xb57c36,_0x8456a7,_0x5dcdc3;const _0x4184f0=this[_0x5792f3(0xad)][_0x5792f3(0x10a)](_0x4d8e7c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x34b9b4=(_0xb57c36=_0x4184f0==null?void 0x0:_0x4184f0[_0x5792f3(0x182)])!=null?_0xb57c36:_0x4d8e7c[_0x5792f3(0x258)];return(_0x5dcdc3=(_0x8456a7=(await this[_0x5792f3(0x176)][_0x5792f3(0x9e)](_0x34b9b4,{'headers':{'Content-Type':_0x5792f3(0x1f4)}}))['body'])==null?void 0x0:_0x8456a7[_0x5792f3(0x1d1)])!=null?_0x5dcdc3:'';}},_0x4e590a['BrowserCollaborationSocketService']=_0x350a73([_0x1626ef(0x0,_0x3c1804[_0x2a4230(0x172)](_0x3c1804['Injector'])),_0x1626ef(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3ceccb[_0x2a4230(0x2e9)])),_0x1626ef(0x2,_0x3c1804[_0x2a4230(0x23d)]),_0x1626ef(0x3,_0x3c1804[_0x2a4230(0x1ab)]),_0x1626ef(0x4,_0x4b9b03['ISnapshotServerService'])],_0x4e590a[_0x2a4230(0x9d)]);const _0x461d63=0x7530,_0xd734cb=_0x2a4230(0xa5);class _0x33492f extends _0x3c1804[_0x2a4230(0x11b)]{constructor(){const _0x247a22=_0x2a4230;super(),_0x275745(this,_0x247a22(0x265),_0x3c1804[_0x247a22(0x12d)]()),_0x275745(this,_0x247a22(0xfa),new Set()),_0x275745(this,_0x247a22(0x139),new Map()),_0x275745(this,_0x247a22(0x1f0),null),_0x275745(this,_0x247a22(0xbc),new Map()),_0x275745(this,_0x247a22(0x98),new Map()),this['_init']();}[_0x2a4230(0x75)](){const _0x246c04=_0x2a4230;super[_0x246c04(0x75)](),this['_clearOtherTimers'][_0x246c04(0x30d)]((_0x56c57d,_0x148f7f)=>this['_removeClearOtherTimer'](_0x148f7f)),this[_0x246c04(0x1f0)]&&window[_0x246c04(0x2c2)](this['_heartbeatTimer']);}[_0x2a4230(0x1c9)](_0x519d9c){const _0x257767=_0x2a4230;return this[_0x257767(0x226)](_0x519d9c)['pipe'](_0x23318b[_0x257767(0x21e)]());}[_0x2a4230(0x187)](_0x132cbd){const _0xcaeb5e=_0x2a4230;this[_0xcaeb5e(0xfa)][_0xcaeb5e(0x2e3)]===0x0&&this['_scheduleHeartbeat'](),this[_0xcaeb5e(0xfa)]['add'](_0x132cbd),this[_0xcaeb5e(0x17e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x132cbd],'isForwarded':!0x1});}[_0x2a4230(0x2d2)](_0x2c282c){const _0xe20de4=_0x2a4230;this['_selfUnitIDs'][_0xe20de4(0x1e0)](_0x2c282c),this[_0xe20de4(0xfa)]['size']===0x0&&this[_0xe20de4(0x1f0)]&&window[_0xe20de4(0x2c2)](this[_0xe20de4(0x1f0)]);}[_0x2a4230(0x2c1)](){const _0x1618e5=_0x2a4230;this['disposeWithMe'](_0x3c1804[_0x1618e5(0xe1)](_0x23318b[_0x1618e5(0x1c3)](window,_0x1618e5(0x186))[_0x1618e5(0x86)](_0x37727d=>{const _0x12ead9=_0x1618e5;if(_0x37727d[_0x12ead9(0x1ce)]!==_0xd734cb||!_0x37727d[_0x12ead9(0x280)])return;const _0x535c9d=JSON[_0x12ead9(0x17b)](_0x37727d[_0x12ead9(0x280)]);this[_0x12ead9(0x14c)](_0x535c9d);}))),window[_0x1618e5(0x148)](_0x1618e5(0x277),()=>this[_0x1618e5(0x17e)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x1618e5(0xfa)])}));}[_0x2a4230(0x14c)](_0x3bc93e){const _0x4365ee=_0x2a4230;switch(_0x3bc93e[_0x4365ee(0x2d7)]){case 0x0:this[_0x4365ee(0x169)](_0x3bc93e);break;case 0x1:this[_0x4365ee(0x113)](_0x3bc93e);break;case 0x2:this[_0x4365ee(0x1a8)](_0x3bc93e);break;}}[_0x2a4230(0x169)](_0x5451ec){const _0x3c99f6=_0x2a4230,{unitIDs:_0x5b9daa,memberID:_0x1e1ee5,isForwarded:_0x43d55e}=_0x5451ec;_0x5b9daa['forEach'](_0x52da0c=>{const _0x12a1f0=_0x1bfb;if(!_0x43d55e&&this[_0x12a1f0(0x139)][_0x12a1f0(0x23e)](_0x52da0c)&&this[_0x12a1f0(0x226)](_0x52da0c)['next'](_0x4d8e7c[_0x12a1f0(0x12c)][_0x12a1f0(0x141)]),!this['_unitOnClients'][_0x12a1f0(0x23e)](_0x52da0c)||!this[_0x12a1f0(0x139)][_0x12a1f0(0x9e)](_0x52da0c)[_0x12a1f0(0x23e)](_0x1e1ee5)){const _0x4c4cb5=this[_0x12a1f0(0x139)]['get'](_0x52da0c)||new Set();_0x4c4cb5[_0x12a1f0(0x137)](_0x1e1ee5),this[_0x12a1f0(0x139)]['set'](_0x52da0c,_0x4c4cb5),this[_0x12a1f0(0x223)](_0x1e1ee5);}}),_0x43d55e||this[_0x3c99f6(0x17e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2a4230(0x223)](_0x53ab4c){const _0x57df08=_0x2a4230;this[_0x57df08(0x254)](_0x53ab4c);const _0x32ea93=window[_0x57df08(0x13d)](()=>{const _0x59765f=_0x57df08;this['_unitOnClients'][_0x59765f(0x30d)](_0x1155a9=>{const _0x5e0215=_0x59765f;_0x1155a9[_0x5e0215(0x1e0)](_0x53ab4c);});},_0x461d63*0x2);this[_0x57df08(0xbc)][_0x57df08(0x2cd)](_0x53ab4c,_0x32ea93);}[_0x2a4230(0x254)](_0xa4ce39){const _0x406773=_0x2a4230;if(this[_0x406773(0xbc)]['has'](_0xa4ce39)){const _0x1bac57=this[_0x406773(0xbc)][_0x406773(0x9e)](_0xa4ce39);_0x1bac57&&window['clearTimeout'](_0x1bac57),this['_clearOtherTimers'][_0x406773(0x2cd)](_0xa4ce39,null);}}[_0x2a4230(0x113)](_0x30e8c3){const _0x5745fe=_0x2a4230,{memberID:_0x2d14e4,unitIDs:_0x1b678e}=_0x30e8c3;_0x1b678e['forEach'](_0x4ba272=>{const _0x46999d=_0x1bfb;var _0x5f385a;const _0x11b7b7=this['_unitOnClients'][_0x46999d(0x9e)](_0x4ba272);_0x11b7b7&&(_0x11b7b7['delete'](_0x2d14e4),(_0x5f385a=this['_ensureSubject'](_0x4ba272))==null||_0x5f385a[_0x46999d(0x120)](_0x11b7b7[_0x46999d(0x2e3)]===0x0?_0x4d8e7c['UnitStatus'][_0x46999d(0x1d6)]:_0x4d8e7c[_0x46999d(0x12c)]['OTHER_CLIENTS_EDITING']));}),this[_0x5745fe(0x254)](_0x2d14e4);}[_0x2a4230(0x1a8)](_0x17c916){const _0x553fd3=_0x2a4230;this[_0x553fd3(0x223)](_0x17c916[_0x553fd3(0x2c0)]);}['_send'](_0x5e8f8d){const _0x28fc6f=_0x2a4230;localStorage[_0x28fc6f(0x12b)](_0xd734cb,JSON[_0x28fc6f(0x22a)](_0x5e8f8d));}[_0x2a4230(0x2a6)](){const _0xd8cd16=_0x2a4230;this['_heartbeatTimer']=window[_0xd8cd16(0x198)](()=>{const _0x9dbcdb=_0xd8cd16;this[_0x9dbcdb(0x17e)]({'type':0x2,'memberID':this['_id']});},_0x461d63);}['_ensureSubject'](_0x2c2072){const _0x3d4db8=_0x2a4230;return this[_0x3d4db8(0x98)][_0x3d4db8(0x23e)](_0x2c2072)||this[_0x3d4db8(0x98)][_0x3d4db8(0x2cd)](_0x2c2072,new _0x23318b['BehaviorSubject'](_0x4d8e7c[_0x3d4db8(0x12c)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3d4db8(0x98)][_0x3d4db8(0x9e)](_0x2c2072);}}var _0x37a998=(_0x41bd73=>(_0x41bd73[_0x41bd73['UNDEFINED']=0x0]=_0x2a4230(0x216),_0x41bd73[_0x41bd73['OK']=0x1]='OK',_0x41bd73[_0x41bd73[_0x2a4230(0x22d)]=0x2]='INTERNAL_ERROR',_0x41bd73[_0x41bd73['PERMISSION_DENIED']=0x3]=_0x2a4230(0xe0),_0x41bd73[_0x41bd73[_0x2a4230(0x29f)]=0x4]=_0x2a4230(0x29f),_0x41bd73[_0x41bd73[_0x2a4230(0x21c)]=0x5]='UNAUTHENTICATED',_0x41bd73[_0x41bd73[_0x2a4230(0x1bd)]=0x6]=_0x2a4230(0x1bd),_0x41bd73[_0x41bd73[_0x2a4230(0x29a)]=0x7]=_0x2a4230(0x29a),_0x41bd73[_0x41bd73[_0x2a4230(0x1dc)]=0x8]=_0x2a4230(0x1dc),_0x41bd73[_0x41bd73[_0x2a4230(0xde)]=0x9]=_0x2a4230(0xde),_0x41bd73[_0x41bd73[_0x2a4230(0x13c)]=0xa]=_0x2a4230(0x13c),_0x41bd73[_0x41bd73[_0x2a4230(0x21a)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x41bd73[_0x41bd73[_0x2a4230(0x2dd)]=0xc]=_0x2a4230(0x2dd),_0x41bd73[_0x41bd73['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x2a4230(0x22c),_0x41bd73[_0x41bd73[_0x2a4230(0x1c2)]=0xe]=_0x2a4230(0x1c2),_0x41bd73[_0x41bd73['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2a4230(0x131),_0x41bd73[_0x41bd73[_0x2a4230(0x73)]=0x1771]=_0x2a4230(0x73),_0x41bd73[_0x41bd73[_0x2a4230(0x91)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x41bd73[_0x41bd73[_0x2a4230(0x1c0)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x41bd73[_0x41bd73[_0x2a4230(0xd6)]=0x1b59]='APPLY_REJECT',_0x41bd73[_0x41bd73[_0x2a4230(0x136)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x41bd73[_0x41bd73[_0x2a4230(0xef)]=0x1b5b]=_0x2a4230(0xef),_0x41bd73[_0x41bd73[_0x2a4230(0xeb)]=0x1b5c]=_0x2a4230(0xeb),_0x41bd73[_0x41bd73[_0x2a4230(0x25c)]=0x1b5d]=_0x2a4230(0x25c),_0x41bd73[_0x41bd73[_0x2a4230(0x24b)]=0x1f41]=_0x2a4230(0x24b),_0x41bd73[_0x41bd73[_0x2a4230(0x1a5)]=0x2329]=_0x2a4230(0x1a5),_0x41bd73[_0x41bd73[_0x2a4230(0xfc)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x41bd73[_0x41bd73[_0x2a4230(0x248)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x41bd73[_0x41bd73[_0x2a4230(0x17d)]=0x232c]=_0x2a4230(0x17d),_0x41bd73[_0x41bd73[_0x2a4230(0x2bf)]=0x232d]=_0x2a4230(0x2bf),_0x41bd73[_0x41bd73[_0x2a4230(0x1fc)]=0x2711]=_0x2a4230(0x1fc),_0x41bd73[_0x41bd73[_0x2a4230(0x15b)]=0x2712]=_0x2a4230(0x15b),_0x41bd73[_0x41bd73[_0x2a4230(0x1ea)]=0x2713]=_0x2a4230(0x1ea),_0x41bd73[_0x41bd73[_0x2a4230(0x2f2)]=0x2714]=_0x2a4230(0x2f2),_0x41bd73[_0x41bd73[_0x2a4230(0xee)]=0x271a]=_0x2a4230(0xee),_0x41bd73[_0x41bd73[_0x2a4230(0xf9)]=0x271b]=_0x2a4230(0xf9),_0x41bd73[_0x41bd73[_0x2a4230(0x1be)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x41bd73[_0x41bd73[_0x2a4230(0x285)]=0x271d]=_0x2a4230(0x285),_0x41bd73[_0x41bd73[_0x2a4230(0x10f)]=0x271e]=_0x2a4230(0x10f),_0x41bd73[_0x41bd73[_0x2a4230(0xab)]=0x271f]=_0x2a4230(0xab),_0x41bd73[_0x41bd73['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x41bd73[_0x41bd73['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2a4230(0x289),_0x41bd73[_0x41bd73[_0x2a4230(0x167)]=0x2ee1]=_0x2a4230(0x167),_0x41bd73[_0x41bd73[_0x2a4230(0x304)]=0x2ee2]='INVALID_INVITE_CODE',_0x41bd73[_0x41bd73[_0x2a4230(0xf7)]=0x2ee3]=_0x2a4230(0xf7),_0x41bd73[_0x41bd73[_0x2a4230(0x237)]=0x2ee4]=_0x2a4230(0x237),_0x41bd73[_0x41bd73['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2a4230(0x153),_0x41bd73[_0x41bd73[_0x2a4230(0xc3)]=0x32c9]=_0x2a4230(0xc3),_0x41bd73[_0x41bd73[_0x2a4230(0xbb)]=0x32ca]=_0x2a4230(0xbb),_0x41bd73[_0x41bd73['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2a4230(0x27a),_0x41bd73[_0x41bd73[_0x2a4230(0x178)]=-0x1]=_0x2a4230(0x178),_0x41bd73))(_0x37a998||{}),_0x5606fe=Object['getOwnPropertyDescriptor'],_0x425895=(_0x3fbc88,_0x103504,_0x57ea1b,_0x44c08f)=>{const _0x3cb200=_0x2a4230;for(var _0x23c0a8=_0x44c08f>0x1?void 0x0:_0x44c08f?_0x5606fe(_0x103504,_0x57ea1b):_0x103504,_0x594e63=_0x3fbc88[_0x3cb200(0x210)]-0x1,_0x363050;_0x594e63>=0x0;_0x594e63--)(_0x363050=_0x3fbc88[_0x594e63])&&(_0x23c0a8=_0x363050(_0x23c0a8)||_0x23c0a8);return _0x23c0a8;},_0x2ad9b9=(_0x56aae2,_0x12b543)=>(_0x33ef77,_0x3a52b9)=>_0x12b543(_0x33ef77,_0x3a52b9,_0x56aae2);_0x4e590a[_0x2a4230(0x2fd)]=class extends _0x3c1804['Disposable']{constructor(_0x155676,_0x4b39bd,_0x510036){const _0x14f416=_0x2a4230;super(),this[_0x14f416(0x1e5)]=_0x155676,this[_0x14f416(0x176)]=_0x4b39bd,this['_configService']=_0x510036;}async['runOnServer'](_0xad879a,_0x1a6d91,_0x320a9d,..._0x4f5d50){const _0x526b73=_0x2a4230;var _0x33d074,_0x1d27dd,_0x2e1877,_0x461656;const _0x2f19d5=this[_0x526b73(0x1e5)][_0x526b73(0x1f8)]();if(!_0x2f19d5)throw new Error(_0x526b73(0x2f8));const _0x2ab6bb=((_0x33d074=this[_0x526b73(0xad)]['getConfig'](_0x4d8e7c[_0x526b73(0x1bf)]))!=null?_0x33d074:_0x4d8e7c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0xad879a+_0x526b73(0x99)+_0x1a6d91,_0x493d80=new URL(window[_0x526b73(0x1a7)][_0x526b73(0xd8)]),_0x226fcb={'scriptId':_0xad879a,'runId':(_0x1d27dd=_0x493d80['searchParams'][_0x526b73(0x9e)](_0x526b73(0xe2)))!=null?_0x1d27dd:'','function':_0x1a6d91,'unitId':_0x2f19d5[_0x526b73(0x224)](),'argsOfFunction':JSON[_0x526b73(0x22a)](_0x4f5d50),'invokeId':(_0x2e1877=_0x320a9d[_0x526b73(0x88)])!=null?_0x2e1877:'','executionId':(_0x461656=_0x320a9d[_0x526b73(0x7e)])!=null?_0x461656:''};try{const _0x899da5=await this[_0x526b73(0x176)][_0x526b73(0x268)](_0x2ab6bb,{'body':_0x226fcb});return _0x899da5[_0x526b73(0x82)][_0x526b73(0x103)]&&_0x899da5[_0x526b73(0x82)]['error'][_0x526b73(0x2da)]!==_0x37a998['OK']?_0x526b73(0x2d4):_0x899da5[_0x526b73(0x82)][_0x526b73(0xf2)];}catch{return _0x526b73(0x2d4);}}},_0x4e590a['RemoteUniscriptService']=_0x425895([_0x2ad9b9(0x0,_0x3c1804[_0x2a4230(0x72)]),_0x2ad9b9(0x1,_0x3c1804[_0x2a4230(0x172)](_0x3ceccb['HTTPService'])),_0x2ad9b9(0x2,_0x3c1804['IConfigService'])],_0x4e590a[_0x2a4230(0x2fd)]),_0x4e590a[_0x2a4230(0x1e7)]=_0x56d03c,_0x4e590a[_0x2a4230(0x8d)]=_0xfe2e0a,_0x4e590a['WebBrowserSingleActiveUnitService']=_0x33492f,_0x4e590a['WebURLService']=_0x50a82d,Object[_0x2a4230(0x1b6)](_0x4e590a,Symbol[_0x2a4230(0x2b7)],{'value':_0x2a4230(0xf1)});}));
|
|
1
|
+
function _0xda92(_0x35fc26,_0x5eaee2){const _0x20084d=_0x2008();return _0xda92=function(_0xda921,_0x3ffda2){_0xda921=_0xda921-0xdc;let _0x434235=_0x20084d[_0xda921];return _0x434235;},_0xda92(_0x35fc26,_0x5eaee2);}function _0x2008(){const _0x3a0ac2=['INTERNAL_ERROR','jsx','unshift','shareReplay','_urlService','path','from','_collabCursorController','_labelPosition','YUUMI_AI_RUN_FAILED','Injector','YUUMI_RATE_OVER_LIMIT','handleInsertRow','setAlpha','_transformUndoRedoStack','url(#off-line-icon_clip0_910_343)','transformMutation','_transformHistoryAndStateStack','getUndoRedoMutationParamsCache','getMemberID','runRefRangeMutations','OTHER_CLIENTS_EDITING','useRef','_hideTimer','string','next','_uiPartsService','IUIPartsService','SNAPSHOT_HAS_BEEN_REMOVED','setItem','LOCAL_CACHE_INTERVAL','_docStateChangeManagerService','focused$','params','saveImage','7436331wvbOZC','_getMergeRange','TOO_MANY_REQUESTS','get','blue.400','closePath','editingUnit','mutations','_messageService','send','_initEvent','Failed','_removeClearOtherTimer','UniverRpc','idSuffix','beginPath','cursorInfo$','_anchorDot','MOBILE_HAS_BEEN_BOUND','_heartbeatTimer','RichTextEditingMutation','handleIRemoveCol','SheetSkeletonManagerService','_injector','ILogService','_saveCache','searchParams','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collaboration.closeRoom','_startDocCollabCursor','white','_cursorShapes','disableLocalCache','_session','NO_OTHER_CLIENTS_EDITING','LocaleService','has','currentSkeleton$','startRow','getMergeData','DeleteRangeMoveUpCommandId','defs','onStarting','exports','doc.mutation.rich-text-editing','handleMoveRange','_initResize','_name','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_docTransformSelectionsService','0\x200\x2016\x2016','getAncestorScale','_localCacheService','isEditing','DesktopCollaborationStatusDisplayController','toDisposable','mergeOverrideWithDependencies','CollaborationStatus','_initStatusComponent','PERMISSION_DENIED','YUUMI_ALL_TABLES_IS_INVALID','set','_textBubble','map','ThemeService','CollaborationUIEventId','DOC_RANGE_TYPE','_drawAnchor','exhaustSavingTask','_removeCollabCursors','icon','_status$','DeleteRangeMoveLeftCommandId','setShapeProps','handleIRemoveRow','_logService','hide','random','getColorFromTheme','_initCommandExecutedListener','_cursors','UNIVER_SHEET','removeParam','subunit','_initEntityListener','children','text','LICENSE_EXPORT_SIZE_EXCEEDED','1em','DocCollaborationEntity','getUnitId','getActiveSheet','forEach','addObject','5898135hNVqFG','toRgbString','docStateChange$','IUniverInstanceService','status$','CLOSE_ROOM','subscribeEvent','_localStorageService','bottom','transformIMECache','collabStatus.synced','ColorKit','APPLY_PERMISSION_DENIED','OFFLINE','SessionStatus','Optional','1160148svPwXZ','unload','UniverSheetsUi','off-line-icon_clip0_910_343','YUUMI_TABLE_NOT_FOUND_IN_UNIT','symbol','getMember','_scene','BuiltInUIPart','location','@univerjs/drawing','_eventUnsubscribe','runOnServer','on-line-icon','Vector2','amd','getValue','combineLatest','runId','getCurrentUnitForType','stringify','SHEET_VIEWPORT_KEY','_themeService','FromArray','code','getSheetBySheetId','COLORS','RemoteUniscriptService','Subject','RefRangeService','IRemoteInstanceService','RxDisposable','JOIN_ROOM_FAILED','APPLY_DUPLICATED','collab-text-range-','onLocalMutation','0\x200\x2017\x2016','complete','activeSheet$','popstate','session.collaboration-timeout','font','http://www.w3.org/2000/svg','addObjects','UniverInstanceType','DocIMEInputManagerService','getViewport','_color','toString','UniverCore','CollaborationEvent','_configService','div','className','backgroundColor','Inject','getRangePointData','row','colorChannel1','width','filter','serializeRangeWithSheet','_online','isTransformMutationsWithChangesetSuccess','SetTextSelectionsOperation','onTransformChange$','addEventListener','values','transformStateCache','UNDEFINED','distinctUntilChanged','ENSURE_SNAPSHOT_EXECUTION','DisposableCollection','range','unitId','_id','collabStatus.syncing','getSheetObject','ILocalStorageService','@univerjs/design','YUUMI_URL_COL_OUT_OF_RANGE','USERS_LEAVE','_getScale','NodePositionConvertToRectRange','_univerInstanceService','WECHAT_HAS_BEEN_BOUND','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','save','BehaviorSubject','transformRemoteChangeset','onMouseMove','rxjs','pluginName','getDocRanges','_clearOtherTimers','collabStatus.fetchMiss','SheetsSelectionsService','_docTransformStateCacheService','registerRefRange','defIds','size','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','syncEditingCollabCursor','[CollaborationDataLoaderController]','LICENSE_IMPORT_SIZE_EXCEEDED','RemoveColCommandId','DependentOn','useDependency','UniverUi','roomMembers$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','handleInsertCol','collabStatus.offline','selection','_registerRenderDependencies','_refRangeService','deepClone','_commandService','drawWith','_handleHeartbeatEvent','_collabSessionService','unit','_toggleOnline','MessageType','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','contains','INVALID_ARGUMENT','permission.title','234704NPyHix','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','fillRule','_ensureSubject','subscribe','permission.content','setTimeout','undoState','_revisionService','SOCKET_FAILED','name','getOwnPropertyDescriptor','AWAITING_WITH_PENDING','_beforeCloseService','restore','@univerjs/ui','HEADER_MENU','transform','handleDeleteRangeMoveUp','_transformPreviousActiveRange','createSocket','MemberService','operators','_getSaveTimeout','ITransformService','OffLineIcon','object','getColor','init','handleDeleteRangeMoveLeft','_anchor','startColumn','moveTo','UniverProCollaborationClientUi','EMAIL_HAS_BEEN_BOUND','_context','RegularPolygon','onPointerEnter$','hasOwnProperty','ICommandService','history','LICENSE_MAX_UNITS_EXCEEDED','measureText','Plugin','split','startsWith','endColumn','INVITE_CODE_REQUIRED','isActive','_updateLocalCursor','_sheetSkeletonManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','_transformService','sessionTicket','lineTo','HTTPService','OTHER_CLIENT_EDITING','InsertRangeMoveDownCommandId','IConfigService','_send','setConfig','...','url(#$1','SetSelectionsOperation','replace','_docSkeletonManagerService','RevisionService','trim','all','urlChange$','href','propertyIsEnumerable','UniverEngineRender','univer-flex\x20univer-items-center','body','4366XPzjyA','COMPLETION_FINISHED','getActiveRange','@univerjs-pro/collaboration-client','_cursorInfo$','getTypeOfUnitAdded$','executeCommand','height','m1Prime','mask','loadOfflineData','ticket','min','executionId','CONNECTOR_DATA_TOO_LARGE','react/jsx-runtime','clsx','collabStatus.notCollab','switchMap','react','_lastPointer','redoState','_docSyncEditingCollabCursorService','length','_docSkeleton','evenodd','EffectRefRangId','YUUMI_UNABLE_LOAD_URL','debounce','jiqing.500','error','getOffsetConfig','delete','Error','InsertColCommandId','getParam','displayName','APPLY_REVISION_CONFILICT','_updateURLWithCurrentState','_entityInit$','transformByState','ISnapshotServerService','fill','Shape','EMAIL_VERIFY_CODE_MISMATCH','UniverSheets','key','_scheduleHeartbeat','registerRenderModule','NOT_COLLAB','saveTaskMap','requireSession','1791600ykPduy','_disabled','IDocClipboardService','memberID','CollaborationController','UNRECOGNIZED','AWAITING','hovered','column','jsxs','USER_NOT_INVITED_CODE','type','_hovered','_hover','_createSocketURL','uni.network.url-service','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','imageSourceType','Disposable','clipPath','YUUMI_ASYNCIO_CANCELLED','CONFLICT','data','current','url(#on-line-icon_clip0_910_349)','_setupSubUnitSync','_getSheetObject','engine','fillStyle','IRenderManagerService','application/json','_config','_render','_saveTaskMap','dispose','sessionStatus$','getCoordByCell','getFocusedUnit','concat','_dataLoaderService','ONLINE','UniverCollaborationClientUIPlugin','use','pushState','onPointerMove$','TEXT_RANGE_LAYER_INDEX','UniverDrawing','call','getRelativeToViewportCoord','dispose$','storage','VIEW_MAIN','_refreshCollabCursors','origin','tag','setUndoRedoMutationParamsCache','handleInsertRangeMoveDown','apply','onPointerLeave$','BrowserCollaborationSocketService','ranges','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_startSheetCollabCursor','getUniverSheetInstance','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','setStateCache','on-line-icon_clip0_910_349','disposeWithMe','Tooltip','_handleLeaveEvent','_entities','black','fillText','7MPsJwm','InsertRowCommandId','INVALID_INVITE_CODE','_scheduleClearOtherTimer','@univerjs/engine-formula','_unitOnClients','WebURLService','attrs','session.will-retry','ACTIVE_UNIT_EVENT_CHANNEL','_cursor','CHANGESET_REVISION_CONFILICT','transformSelections','add','OnLineIcon','React','UNIVER_DOC','setInterval','prototype','subUnitId','none','UNAUTHENTICATED','deserializeRangeWithSheet','_colorIndex','getOwnPropertySymbols','getSheetId','indexOf','DocSelectionManagerService','IImageIoService','MOBILE_VERIFY_CODE_MISMATCH','_backgroundColor','assignAColorForMemberID','_collaborationUIEventService','cursorInfo','ALREADY_EXISTS','_range','unitID','_cachedData','setActiveRange','_unitStatus','search','PENDING','_updateSubUnitFromURLParams','event$','collaboration-client-ui.config','setParam','_onCursorDelete','loadUnit','_docClipboardService','session.connection-failed','merge','yellow.400','includes','extend','3817036guInkF','color','CommandType','Workbook','InsertRangeMoveRightCommandId','entries','/run/','addHandlerCallback','Rect','newValue','svg','createInstance','roomMembers','IMessageService','forwardRef','_draw','useCallback','getRenderById','takeUntil','getCurrentSelections','red.300','asObservable','Unknown\x20user','isTransformMutationFailure','DocSkeletonManagerService','_drawTextRange','_handleEvent','YUUMI_CONNECTOR_URL_NOT_FOUND','getConfig','UniverDesign','APPLY_NON_SEQUENTIAL_REVISION','@univerjs/rpc','currentTheme$','assign','round','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','skeleton','INVITE_CODE_ALREADY_BOUND','with','Rectangle','UniverDocsUi','clearTimeout','INVITE_CODE_HAS_BEEN_UES','wsSessionTicketUrl','show','_instanceService','LOGIN_FAILED','_getAnchorBounding','debounceTime','collab-text-anchor-','push','WebBrowserSingleActiveUnitService','M0\x200H16V16H0z','isArray','generateRandomId','getTypeOfUnitDisposed$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_updateCollabCursors','SheetCollabCursorShape','_onCursorUpdate','_roomMembers$','_httpService','xlink:href','_assignedColors','TEXT','_doCreateSocket','getLocalCacheKey','getStateCache','touchDependencies','UniverProCollaboration','SetDocZoomRatioOperation','registerBeforeClose','univer-mr-2\x20univer-flex\x20univer-text-xl','getCurrent','some','then','Tools','createElement','univerjs-icon\x20univerjs-icon-','DEFAULT_WS_SESSION_TICKET_URL','LICENSE_DISTRO_REJECTED','@univerjs/core','enableLocalCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','SetWorksheetActivateCommand','debug','_drawRectRange','ILocalCacheService','UnitStatus','collabCursorState$','parse','CollaborationSocketService','NOT_FOUND','_colorAssignService','_initDependencies','fromEvent','getCellPositionByOffset','CollaborationDataLoaderController','Warning','_localeService','_collaborationController','_handleHover','currentColor','@univerjs/sheets','getSkeleton','_document','YUUMI_NO_CUBOID_FOR_QUESTION','SYNCED','UPDATE_CURSOR','_shapes','#FFF','entityInit$','_handleJoinEvent','_toggleOffline','getCollabCursors$','IBeforeCloseService','arc','_selfUnitIDs','_notificationService','_syncEditingCollabCursorService','defineProperty','onCommandExecuted','invokeId','find','_imageIoService','sheetId','_scheduleSaving','_collabCursorState$','sheetID','pipe','_init','IURLService','DocStateChangeManagerService','function','_renderManagerService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_docTransformIMECacheService','@univerjs/docs','173OVtVVp','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','APPLY_REJECT','PY_RUNTIME_SCRIPT_ERROR','RemoveRowCommandId','m2Prime','_memberService'];_0x2008=function(){return _0x3a0ac2;};return _0x2008();}(function(_0x3b11df,_0x1ab639){const _0x374ced=_0xda92,_0x3a715f=_0x3b11df();while(!![]){try{const _0x5c5d4e=parseInt(_0x374ced(0x1e0))/0x1*(parseInt(_0x374ced(0x343))/0x2)+-parseInt(_0x374ced(0x278))/0x3+-parseInt(_0x374ced(0x156))/0x4+parseInt(_0x374ced(0x268))/0x5+-parseInt(_0x374ced(0x377))/0x6+-parseInt(_0x374ced(0x120))/0x7*(parseInt(_0x374ced(0x2f8))/0x8)+parseInt(_0x374ced(0x20a))/0x9;if(_0x5c5d4e===_0x1ab639)break;else _0x3a715f['push'](_0x3a715f['shift']());}catch(_0x2d8853){_0x3a715f['push'](_0x3a715f['shift']());}}}(_0x2008,0xae788),function(_0x3c753d,_0x5e1564){const _0x303dd7=_0xda92;typeof exports==_0x303dd7(0x312)&&typeof module<'u'?_0x5e1564(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x303dd7(0x1db)&&define[_0x303dd7(0x287)]?define([_0x303dd7(0x235),_0x303dd7(0x352),_0x303dd7(0x346),_0x303dd7(0x1a7),_0x303dd7(0x307),_0x303dd7(0x2d3),_0x303dd7(0x2c7),_0x303dd7(0x356),_0x303dd7(0x175),_0x303dd7(0x1bd),'@univerjs/engine-render','@univerjs/network','@univerjs/docs-ui',_0x303dd7(0x282),'@univerjs-pro/collaboration',_0x303dd7(0x1df),_0x303dd7(0x124),'rxjs/operators','@univerjs/sheets-ui'],_0x5e1564):(_0x3c753d=typeof globalThis<'u'?globalThis:_0x3c753d||self,_0x5e1564(_0x3c753d[_0x303dd7(0x319)]={},_0x3c753d[_0x303dd7(0x12f)],_0x3c753d['UniverProCollaborationClient'],_0x3c753d[_0x303dd7(0x2a9)],_0x3c753d[_0x303dd7(0x2e4)],_0x3c753d[_0x303dd7(0x2d3)],_0x3c753d[_0x303dd7(0x173)],_0x3c753d[_0x303dd7(0x12f)],_0x3c753d[_0x303dd7(0x217)],_0x3c753d[_0x303dd7(0x370)],_0x3c753d[_0x303dd7(0x340)],_0x3c753d['UniverNetwork'],_0x3c753d[_0x303dd7(0x17e)],_0x3c753d[_0x303dd7(0x105)],_0x3c753d[_0x303dd7(0x19b)],_0x3c753d['UniverDocs'],_0x3c753d['UniverEngineFormula'],_0x3c753d[_0x303dd7(0x2d3)][_0x303dd7(0x30e)],_0x3c753d[_0x303dd7(0x27a)]));}(this,function(_0x8c9c05,_0x437d0f,_0x207d2b,_0x3ed267,_0x1a0cb9,_0x1c33ab,_0x8cae8d,_0xfc65f,_0x5f5dff,_0x28ec48,_0x83c5a7,_0xbddb2a,_0x351b83,_0x338f7d,_0x585638,_0x556999,_0x45b3d4,_0x24ffba,_0x2cf434){'use strict';const _0x3bd006=_0xda92;var _0x5d4135=Object[_0x3bd006(0x1ce)],_0x38f8c8=(_0x37e3bc,_0x8577c0,_0x2760e3)=>_0x8577c0 in _0x37e3bc?_0x5d4135(_0x37e3bc,_0x8577c0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2760e3}):_0x37e3bc[_0x8577c0]=_0x2760e3,_0x4e10dd=(_0x39d1ec,_0x16b9d5,_0x282b38)=>_0x38f8c8(_0x39d1ec,typeof _0x16b9d5!=_0x3bd006(0x27d)?_0x16b9d5+'':_0x16b9d5,_0x282b38),_0x214552=function(){const _0xbd3cd3=_0x3bd006;return _0x214552=Object['assign']||function(_0x1cd1fb){const _0xe9cddf=_0xda92;for(var _0x2dfc4c,_0x4a425f=0x1,_0x116315=arguments[_0xe9cddf(0x35a)];_0x4a425f<_0x116315;_0x4a425f++){_0x2dfc4c=arguments[_0x4a425f];for(var _0x2ecf5d in _0x2dfc4c)Object[_0xe9cddf(0x132)]['hasOwnProperty']['call'](_0x2dfc4c,_0x2ecf5d)&&(_0x1cd1fb[_0x2ecf5d]=_0x2dfc4c[_0x2ecf5d]);}return _0x1cd1fb;},_0x214552[_0xbd3cd3(0x110)](this,arguments);},_0x5ceda6=function(_0x3fe1ac,_0x5014a0){const _0x596221=_0x3bd006;var _0x4d96fe={};for(var _0x5d12b3 in _0x3fe1ac)Object[_0x596221(0x132)][_0x596221(0x31e)][_0x596221(0x106)](_0x3fe1ac,_0x5d12b3)&&_0x5014a0[_0x596221(0x13a)](_0x5d12b3)<0x0&&(_0x4d96fe[_0x5d12b3]=_0x3fe1ac[_0x5d12b3]);if(_0x3fe1ac!=null&&typeof Object[_0x596221(0x138)]=='function'){for(var _0x2c5fef=0x0,_0x5d12b3=Object[_0x596221(0x138)](_0x3fe1ac);_0x2c5fef<_0x5d12b3[_0x596221(0x35a)];_0x2c5fef++)_0x5014a0[_0x596221(0x13a)](_0x5d12b3[_0x2c5fef])<0x0&&Object['prototype'][_0x596221(0x33f)][_0x596221(0x106)](_0x3fe1ac,_0x5d12b3[_0x2c5fef])&&(_0x4d96fe[_0x5d12b3[_0x2c5fef]]=_0x3fe1ac[_0x5d12b3[_0x2c5fef]]);}return _0x4d96fe;},_0x5b9a51=_0xfc65f[_0x3bd006(0x164)](function(_0x3fb10f,_0x190517){const _0x235ca4=_0x3bd006;var _0x5275d9=_0x3fb10f[_0x235ca4(0x250)],_0x4e7991=_0x3fb10f['id'],_0x34f314=_0x3fb10f[_0x235ca4(0x2ad)],_0x26c22c=_0x3fb10f[_0x235ca4(0x155)],_0x4a6e46=_0x5ceda6(_0x3fb10f,[_0x235ca4(0x250),'id',_0x235ca4(0x2ad),_0x235ca4(0x155)]),_0xfb1166=_0x235ca4(0x1a4)['concat'](_0x4e7991,'\x20')[_0x235ca4(0xfd)](_0x34f314||'')[_0x235ca4(0x33b)](),_0x3674b3=_0xfc65f[_0x235ca4(0x1fd)]('_'[_0x235ca4(0xfd)](_0x11ae17()));return _0x200c16(_0x5275d9,''[_0x235ca4(0xfd)](_0x4e7991),{'defIds':_0x5275d9[_0x235ca4(0x2db)],'idSuffix':_0x3674b3[_0x235ca4(0xee)]},_0x214552({'ref':_0x190517,'className':_0xfb1166},_0x4a6e46),_0x26c22c);});function _0x200c16(_0x41dd2b,_0x204b99,_0x2fa269,_0x1b6900,_0x2e829a){const _0x14f6d8=_0x3bd006;return _0xfc65f[_0x14f6d8(0x1a3)](_0x41dd2b[_0x14f6d8(0x10d)],_0x214552(_0x214552({'key':_0x204b99},_0xb562a2(_0x41dd2b,_0x2fa269,_0x2e829a)),_0x1b6900),(_0x3c0f6e(_0x41dd2b,_0x2fa269)[_0x14f6d8(0x25f)]||[])[_0x14f6d8(0x249)](function(_0x460a55,_0x1eb995){const _0x297aa7=_0x14f6d8;return _0x200c16(_0x460a55,''['concat'](_0x204b99,'-')[_0x297aa7(0xfd)](_0x41dd2b[_0x297aa7(0x10d)],'-')[_0x297aa7(0xfd)](_0x1eb995),_0x2fa269,void 0x0,_0x2e829a);}));}function _0xb562a2(_0x42f630,_0x5467fc,_0x541bd2){const _0x367d83=_0x3bd006;var _0x1a35cf=_0x214552({},_0x42f630['attrs']);_0x541bd2!=null&&_0x541bd2[_0x367d83(0x2b2)]&&_0x1a35cf[_0x367d83(0x36d)]==='colorChannel1'&&(_0x1a35cf[_0x367d83(0x36d)]=_0x541bd2[_0x367d83(0x2b2)]),_0x42f630[_0x367d83(0x10d)]==='mask'&&_0x1a35cf['id']&&(_0x1a35cf['id']=_0x1a35cf['id']+_0x5467fc['idSuffix']),Object[_0x367d83(0x15b)](_0x1a35cf)[_0x367d83(0x266)](function(_0x4801a9){const _0x10b132=_0x367d83;var _0x4946fc=_0x4801a9[0x0],_0x31b735=_0x4801a9[0x1];_0x4946fc===_0x10b132(0x34c)&&typeof _0x31b735=='string'&&(_0x1a35cf[_0x4946fc]=_0x31b735[_0x10b132(0x338)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x5467fc[_0x10b132(0x218)],')')));});var _0x3f1561=_0x5467fc[_0x367d83(0x2db)];return!_0x3f1561||_0x3f1561[_0x367d83(0x35a)]===0x0||(_0x42f630['tag']===_0x367d83(0x101)&&_0x1a35cf[_0x367d83(0x194)]&&(_0x1a35cf[_0x367d83(0x194)]=_0x1a35cf[_0x367d83(0x194)]+_0x5467fc[_0x367d83(0x218)]),Object[_0x367d83(0x15b)](_0x1a35cf)[_0x367d83(0x266)](function(_0x14499d){const _0x4b1ef0=_0x367d83;var _0x24daa6=_0x14499d[0x0],_0x1baecb=_0x14499d[0x1];typeof _0x1baecb==_0x4b1ef0(0x1ff)&&(_0x1a35cf[_0x24daa6]=_0x1baecb[_0x4b1ef0(0x338)](/url\(#(.*)\)/,_0x4b1ef0(0x336)[_0x4b1ef0(0xfd)](_0x5467fc[_0x4b1ef0(0x218)],')')));})),_0x1a35cf;}function _0x3c0f6e(_0x5aa229,_0x5d0046){const _0x221f2a=_0x3bd006;var _0x1307ec,_0x52281d=_0x5d0046[_0x221f2a(0x2db)];return!_0x52281d||_0x52281d[_0x221f2a(0x35a)]===0x0?_0x5aa229:_0x5aa229[_0x221f2a(0x10d)]===_0x221f2a(0x233)&&(!((_0x1307ec=_0x5aa229[_0x221f2a(0x25f)])===null||_0x1307ec===void 0x0)&&_0x1307ec[_0x221f2a(0x35a)])?_0x214552(_0x214552({},_0x5aa229),{'children':_0x5aa229[_0x221f2a(0x25f)][_0x221f2a(0x249)](function(_0x58adaa){const _0x34812c=_0x221f2a;return typeof _0x58adaa['attrs']['id']=='string'&&_0x52281d&&_0x52281d[_0x34812c(0x154)](_0x58adaa[_0x34812c(0x127)]['id'])?_0x214552(_0x214552({},_0x58adaa),{'attrs':_0x214552(_0x214552({},_0x58adaa['attrs']),{'id':_0x58adaa['attrs']['id']+_0x5d0046['idSuffix']})}):_0x58adaa;})}):_0x5aa229;}function _0x11ae17(){const _0x54386b=_0x3bd006;return Math[_0x54386b(0x257)]()[_0x54386b(0x2a8)](0x24)['substring'](0x2,0x8);}_0x5b9a51[_0x3bd006(0x367)]='UniverIcon';var _0x4cc44d={'tag':_0x3bd006(0x160),'attrs':{'xmlns':_0x3bd006(0x2a2),'fill':'none','viewBox':_0x3bd006(0x23c),'width':_0x3bd006(0x262),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3bd006(0x1f6)},'children':[{'tag':_0x3bd006(0x1ec),'attrs':{'stroke':'currentColor','d':_0x3bd006(0x2f9),'strokeLinecap':'round','strokeLinejoin':_0x3bd006(0x178),'strokeWidth':1.2}}]},{'tag':_0x3bd006(0x233),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3bd006(0x27b)},'children':[{'tag':_0x3bd006(0x1ec),'attrs':{'fill':_0x3bd006(0x228),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3bd006(0x27b)]},_0x46b9c9=_0xfc65f[_0x3bd006(0x164)](function(_0x3f6494,_0x393da6){const _0x44ff8b=_0x3bd006;return _0xfc65f[_0x44ff8b(0x1a3)](_0x5b9a51,Object[_0x44ff8b(0x177)]({},_0x3f6494,{'id':'off-line-icon','ref':_0x393da6,'icon':_0x4cc44d}));});_0x46b9c9['displayName']=_0x3bd006(0x311);var _0x2f551d={'tag':_0x3bd006(0x160),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3bd006(0x134),'viewBox':_0x3bd006(0x29c),'width':_0x3bd006(0x262),'height':_0x3bd006(0x262)},'children':[{'tag':'g','attrs':{'clipPath':_0x3bd006(0xef)},'children':[{'tag':_0x3bd006(0x1ec),'attrs':{'stroke':_0x3bd006(0x1bc),'d':_0x3bd006(0xe7),'strokeLinecap':_0x3bd006(0x178),'strokeLinejoin':_0x3bd006(0x178),'strokeWidth':1.2}}]},{'tag':_0x3bd006(0x233),'attrs':{},'children':[{'tag':_0x3bd006(0xea),'attrs':{'id':_0x3bd006(0x119)},'children':[{'tag':_0x3bd006(0x1ec),'attrs':{'fill':_0x3bd006(0x228),'d':_0x3bd006(0x18a),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3bd006(0x119)]},_0x41d853=_0xfc65f[_0x3bd006(0x164)](function(_0x2d0430,_0x5bb301){const _0x4db6b4=_0x3bd006;return _0xfc65f[_0x4db6b4(0x1a3)](_0x5b9a51,Object[_0x4db6b4(0x177)]({},_0x2d0430,{'id':_0x4db6b4(0x285),'ref':_0x5bb301,'icon':_0x2f551d}));});_0x41d853['displayName']=_0x3bd006(0x12e);function _0x46bf8f(_0x109ed7){const _0x34c4ef=_0x3bd006;switch(_0x109ed7){case _0x207d2b[_0x34c4ef(0x243)][_0x34c4ef(0x275)]:return _0x34c4ef(0x2e8);case _0x207d2b['CollaborationStatus']['CONFLICT']:return'collabStatus.conflict';case _0x207d2b['CollaborationStatus']['FETCH_MISS']:return _0x34c4ef(0x2d7);case _0x207d2b[_0x34c4ef(0x243)]['NOT_COLLAB']:return _0x34c4ef(0x354);case _0x207d2b[_0x34c4ef(0x243)][_0x34c4ef(0xdd)]:case _0x207d2b[_0x34c4ef(0x243)][_0x34c4ef(0x304)]:return _0x34c4ef(0x2c4);case _0x207d2b[_0x34c4ef(0x243)][_0x34c4ef(0x1c1)]:case _0x207d2b[_0x34c4ef(0x243)][_0x34c4ef(0x149)]:return _0x34c4ef(0x272);}}function _0x4308c9(_0x166619){const _0x574def=_0x3bd006,{status$:_0x54c36c}=_0x166619,_0x30ca4e=_0x1a0cb9['useObservable'](_0x54c36c,_0x207d2b[_0x574def(0x243)][_0x574def(0x374)]),_0x53eaab=_0x1a0cb9[_0x574def(0x2e3)](_0x3ed267[_0x574def(0x22d)]),_0x37eaf9=_0x1a0cb9['useDependency'](_0x207d2b['CollaborationSessionService']),_0x3cd615=_0x30ca4e!==_0x207d2b[_0x574def(0x243)]['OFFLINE'],_0x3540c0=_0x53eaab['t'](_0x46bf8f(_0x30ca4e)),_0x383d58=_0x3cd615?_0x437d0f['jsx'](_0x41d853,{}):_0x437d0f[_0x574def(0x1e8)](_0x46b9c9,{}),_0x33235d=_0xfc65f[_0x574def(0x166)](()=>{_0x3cd615||_0x37eaf9['reconnect']();},[_0x3cd615,_0x37eaf9]);function _0x158e66(){const _0x376727=_0x574def;return _0x437d0f[_0x376727(0xe0)](_0x376727(0x2ac),{'className':_0x376727(0x341),'onClick':_0x33235d,'children':[_0x437d0f[_0x376727(0x1e8)](_0x376727(0x2ac),{'className':_0x8cae8d[_0x376727(0x353)](_0x376727(0x19e),{'univer-text-green-500':_0x3cd615,'univer-text-red-500':!_0x3cd615}),'children':_0x383d58}),_0x437d0f['jsx'](_0x376727(0x2ac),{'className':_0x376727(0x1e1),'children':_0x3540c0})]});}return _0x3cd615?_0x158e66():_0x437d0f[_0x574def(0x1e8)](_0x8cae8d[_0x574def(0x11b)],{'title':_0x53eaab['t']('collab-client.tooltip.reconnect'),'children':_0x158e66()});}var _0xbac2ed=Object['getOwnPropertyDescriptor'],_0x260678=(_0x334763,_0x591c51,_0x2ae551,_0x92fcfd)=>{const _0x5c9626=_0x3bd006;for(var _0x3af2df=_0x92fcfd>0x1?void 0x0:_0x92fcfd?_0xbac2ed(_0x591c51,_0x2ae551):_0x591c51,_0x4e727b=_0x334763[_0x5c9626(0x35a)]-0x1,_0x17b417;_0x4e727b>=0x0;_0x4e727b--)(_0x17b417=_0x334763[_0x4e727b])&&(_0x3af2df=_0x17b417(_0x3af2df)||_0x3af2df);return _0x3af2df;},_0x2a9a0d=(_0x170bff,_0x38a06e)=>(_0x486963,_0x24a948)=>_0x38a06e(_0x486963,_0x24a948,_0x170bff);_0x8c9c05[_0x3bd006(0x240)]=class extends _0x3ed267[_0x3bd006(0xe9)]{constructor(_0xdadc34,_0x224bde,_0x250a66,_0x312f65){const _0x416eed=_0x3bd006;super(),_0x4e10dd(this,_0x416eed(0x251),new _0x1c33ab['BehaviorSubject'](_0x207d2b[_0x416eed(0x243)][_0x416eed(0x374)])),(this[_0x416eed(0x2cc)]=_0xdadc34,this['_injector']=_0x224bde,this[_0x416eed(0x1ba)]=_0x250a66,this[_0x416eed(0x201)]=_0x312f65,this[_0x416eed(0x244)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x3bd21b=_0x3bd006;this[_0x3bd21b(0x11a)](this['_univerInstanceService'][_0x3bd21b(0x207)][_0x3bd21b(0x1d7)](_0x1c33ab[_0x3bd21b(0x355)](()=>{const _0x49c53a=_0x3bd21b,_0x5821a6=this[_0x49c53a(0x2cc)]['getFocusedUnit']();return _0x5821a6?this[_0x49c53a(0x1ba)]['getCollabEntity$'](_0x5821a6[_0x49c53a(0x264)]()):_0x1c33ab['of'](null);}),_0x1c33ab[_0x3bd21b(0x355)](_0x20c183=>_0x20c183?_0x20c183[_0x3bd21b(0x26c)]:_0x1c33ab['of'](_0x207d2b['CollaborationStatus'][_0x3bd21b(0x374)])))['subscribe'](_0x363700=>{const _0x4a847d=_0x3bd21b;this['_status$'][_0x4a847d(0x200)](_0x363700);}));}['_initStatusComponent'](){const _0x4790d3=_0x3bd006;this[_0x4790d3(0x11a)](this[_0x4790d3(0x201)]['registerComponent'](_0x1a0cb9[_0x4790d3(0x280)][_0x4790d3(0x308)],()=>_0x1a0cb9['connectInjector'](_0x13f147({'status$':this[_0x4790d3(0x251)]['asObservable']()}),this[_0x4790d3(0x221)])));}},_0x8c9c05[_0x3bd006(0x240)]=_0x260678([_0x2a9a0d(0x0,_0x3ed267[_0x3bd006(0x26b)]),_0x2a9a0d(0x1,_0x3ed267[_0x3bd006(0x2af)](_0x3ed267[_0x3bd006(0x1f1)])),_0x2a9a0d(0x2,_0x3ed267[_0x3bd006(0x2af)](_0x207d2b[_0x3bd006(0x37b)])),_0x2a9a0d(0x3,_0x1a0cb9[_0x3bd006(0x202)])],_0x8c9c05[_0x3bd006(0x240)]);function _0x13f147(_0x37ed48){const {status$:_0x1f5ef9}=_0x37ed48;return function(){const _0x42c83d=_0xda92;return _0x437d0f[_0x42c83d(0x1e8)](_0x4308c9,{'status$':_0x1f5ef9});};}const _0x5a7e26=_0x3ed267['createIdentifier'](_0x3bd006(0xe6));var _0xd0a0ce=Object['getOwnPropertyDescriptor'],_0x22c34d=(_0x5a83f8,_0x183c48,_0x125fd4,_0x4c4c37)=>{const _0x58a2b2=_0x3bd006;for(var _0x5c728c=_0x4c4c37>0x1?void 0x0:_0x4c4c37?_0xd0a0ce(_0x183c48,_0x125fd4):_0x183c48,_0x591c1a=_0x5a83f8[_0x58a2b2(0x35a)]-0x1,_0x1ca4cc;_0x591c1a>=0x0;_0x591c1a--)(_0x1ca4cc=_0x5a83f8[_0x591c1a])&&(_0x5c728c=_0x1ca4cc(_0x5c728c)||_0x5c728c);return _0x5c728c;},_0x2797a8=(_0x2a9a8e,_0xc494f9)=>(_0x3ae049,_0x4fb2c6)=>_0xc494f9(_0x3ae049,_0x4fb2c6,_0x2a9a8e);_0x8c9c05[_0x3bd006(0x1b7)]=class extends _0x3ed267[_0x3bd006(0x297)]{constructor(_0x19f1c3,_0x15d001,_0x245f6f,_0x55dbd5,_0x4a90d3){const _0xec31dc=_0x3bd006;super(),this[_0xec31dc(0x1eb)]=_0x19f1c3,this[_0xec31dc(0x255)]=_0x15d001,this['_commandService']=_0x245f6f,this[_0xec31dc(0xfe)]=_0x55dbd5,_0x4a90d3?_0x4a90d3==null||_0x4a90d3['whenReady']()[_0xec31dc(0x1a1)](()=>this[_0xec31dc(0x1d8)]()):(this[_0xec31dc(0x255)]['debug'](_0xec31dc(0x2df),_0xec31dc(0x117)),this[_0xec31dc(0x1d8)]());}async[_0x3bd006(0x1d8)](){const _0x5b2c3e=_0x3bd006,_0x5ccf7d=this[_0x5b2c3e(0x1eb)][_0x5b2c3e(0x366)](_0x5b2c3e(0x2f1)),_0x5d7cdb=this['_urlService'][_0x5b2c3e(0x366)](_0x5b2c3e(0xe2)),_0x1468eb=this['_urlService'][_0x5b2c3e(0x366)](_0x5b2c3e(0x25d));if(!_0x5ccf7d||!_0x5d7cdb){this[_0x5b2c3e(0x255)][_0x5b2c3e(0x1ab)]('[CollaborationDataLoaderController]',_0x5b2c3e(0x225));return;}const _0x5c5bca=await this[_0x5b2c3e(0xfe)][_0x5b2c3e(0x14f)](_0x5ccf7d,Number(_0x5d7cdb),_0x1468eb);_0x5c5bca&&_0x5c5bca instanceof _0x3ed267[_0x5b2c3e(0x159)]&&this[_0x5b2c3e(0xf0)](_0x5c5bca);}async[_0x3bd006(0xf0)](_0x72fd87){const _0x215823=_0x3bd006;await this[_0x215823(0x14a)](_0x72fd87),_0x72fd87[_0x215823(0x29e)][_0x215823(0x1d7)](_0x1c33ab[_0x215823(0x168)](this[_0x215823(0x108)]))[_0x215823(0x2fc)](_0x510f1f=>{const _0x2c57d7=_0x215823;_0x510f1f&&this[_0x2c57d7(0x369)](_0x510f1f);}),this['_urlService'][_0x215823(0x33d)][_0x215823(0x1d7)](_0x1c33ab[_0x215823(0x168)](this[_0x215823(0x108)]))[_0x215823(0x2fc)](()=>this['_updateSubUnitFromURLParams'](_0x72fd87));}[_0x3bd006(0x369)](_0x441d5a,_0x5bd77a=!0x1){const _0x3e8fea=_0x3bd006,_0x511c9d=this[_0x3e8fea(0x1eb)][_0x3e8fea(0x366)](_0x3e8fea(0x25d));_0x441d5a[_0x3e8fea(0x139)]()!==_0x511c9d&&this[_0x3e8fea(0x1eb)][_0x3e8fea(0x14d)](_0x3e8fea(0x25d),_0x441d5a[_0x3e8fea(0x139)](),_0x5bd77a);}async[_0x3bd006(0x14a)](_0x53400e){const _0x247784=_0x3bd006;var _0x483c06;const _0x44330f=this['_urlService'][_0x247784(0x366)](_0x247784(0x25d));if(!_0x44330f||!_0x53400e[_0x247784(0x291)](_0x44330f)){const _0x522e14=_0x53400e['getUnhiddenWorksheets']()[0x0],_0x39d829=_0x53400e[_0x247784(0x291)](_0x522e14);if(!_0x39d829)return;this[_0x247784(0x369)](_0x39d829,!0x0),await this[_0x247784(0x2ed)]['executeCommand'](_0x28ec48[_0x247784(0x1aa)]['id'],{'unitId':_0x53400e[_0x247784(0x264)](),'subUnitId':_0x522e14});return;}((_0x483c06=_0x53400e[_0x247784(0x265)]())==null?void 0x0:_0x483c06[_0x247784(0x139)]())!==_0x44330f&&await this[_0x247784(0x2ed)][_0x247784(0x349)](_0x28ec48[_0x247784(0x1aa)]['id'],{'unitId':_0x53400e[_0x247784(0x264)](),'subUnitId':_0x44330f});}},_0x8c9c05[_0x3bd006(0x1b7)]=_0x22c34d([_0x2797a8(0x0,_0x5a7e26),_0x2797a8(0x1,_0x3ed267['ILogService']),_0x2797a8(0x2,_0x3ed267[_0x3bd006(0x31f)]),_0x2797a8(0x3,_0x3ed267[_0x3bd006(0x2af)](_0x207d2b['DataLoaderService'])),_0x2797a8(0x4,_0x3ed267[_0x3bd006(0x277)](_0x5f5dff[_0x3bd006(0x296)]))],_0x8c9c05[_0x3bd006(0x1b7)]);var _0x239e50=Object[_0x3bd006(0x303)],_0x229e51=(_0x496083,_0x4bb2ca,_0x3b75bf,_0x17bc05)=>{const _0x3b5d9a=_0x3bd006;for(var _0x2d8abe=_0x17bc05>0x1?void 0x0:_0x17bc05?_0x239e50(_0x4bb2ca,_0x3b75bf):_0x4bb2ca,_0x28b581=_0x496083[_0x3b5d9a(0x35a)]-0x1,_0x198ae1;_0x28b581>=0x0;_0x28b581--)(_0x198ae1=_0x496083[_0x28b581])&&(_0x2d8abe=_0x198ae1(_0x2d8abe)||_0x2d8abe);return _0x2d8abe;},_0x200510=(_0x1da93a,_0x1d5361)=>(_0x323c87,_0x51342f)=>_0x1d5361(_0x323c87,_0x51342f,_0x1da93a);let _0xc0cc2b=class extends _0x3ed267['RxDisposable']{constructor(_0x1f32aa,_0x5cf696){const _0x5351af=_0x3bd006;super(),this[_0x5351af(0x150)]=_0x1f32aa,this['_imageIoService']=_0x5cf696,this['_init']();}[_0x3bd006(0x1d8)](){const _0x1d4e28=_0x3bd006,_0x7924fe=this;this[_0x1d4e28(0x11a)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0xeb8fd3=>{const _0x38ae78=_0x1d4e28,_0x4b22be=await _0x7924fe[_0x38ae78(0x1d2)][_0x38ae78(0x209)](_0xeb8fd3);return _0x4b22be?{'source':_0x4b22be['source'],'imageSourceType':_0x4b22be[_0x38ae78(0xe8)]}:null;}}));}};_0xc0cc2b=_0x229e51([_0x200510(0x0,_0x351b83[_0x3bd006(0x379)]),_0x200510(0x1,_0x338f7d[_0x3bd006(0x13c)])],_0xc0cc2b);const _0x70d944=['purple.300',_0x3bd006(0x360),'green.600',_0x3bd006(0x16a),_0x3bd006(0x20e),_0x3bd006(0x153)];class _0x55e3bb extends _0x3ed267[_0x3bd006(0xe9)]{constructor(){const _0x7b51ea=_0x3bd006;super(...arguments),_0x4e10dd(this,_0x7b51ea(0x195),new Map()),_0x4e10dd(this,'_colorIndex',0x0);}[_0x3bd006(0x13f)](_0x1f2aca){const _0x43806=_0x3bd006;if(this['_assignedColors']['has'](_0x1f2aca))return this['_assignedColors'][_0x43806(0x20d)](_0x1f2aca);const _0x24c0df=_0x70d944[this[_0x43806(0x137)]];return this[_0x43806(0x137)]=(this[_0x43806(0x137)]+0x1)%_0x70d944['length'],this['_assignedColors'][_0x43806(0x247)](_0x1f2aca,_0x24c0df),_0x24c0df;}}function _0x53fd57(_0x139dde){const _0x15bf21=_0x3bd006;let _0x8158c='';for(const _0x314c34 of _0x139dde){const {startOffset:_0x1b8b65,endOffset:_0x45bb16,isActive:_0x5d4b92,rangeType:_0x218ebc,segmentId:_0x4cef33,segmentPage:_0x323470}=_0x314c34;_0x8158c[_0x15bf21(0x35a)]&&(_0x8158c+=','),_0x8158c+=_0x1b8b65+':'+_0x45bb16+':'+(_0x5d4b92?'1':'0')+':'+_0x218ebc+':'+_0x4cef33+':'+_0x323470;}return _0x8158c;}function _0x344c58(_0x13c180){const _0x5c8422=_0x3bd006,_0x1c1c96=_0x13c180['split'](','),_0x5e55e9=[];for(const _0x28518e of _0x1c1c96){const [_0x1f1c87,_0x45bfc1,_0x496514,_0x282c42,_0x52f0d4,_0x623c2]=_0x28518e[_0x5c8422(0x324)](':');_0x5e55e9[_0x5c8422(0x188)]({'startOffset':Number(_0x1f1c87),'endOffset':Number(_0x45bfc1),'collapsed':_0x1f1c87===_0x45bfc1,'isActive':_0x496514==='1','rangeType':_0x282c42===_0x3ed267['DOC_RANGE_TYPE'][_0x5c8422(0x196)]?_0x3ed267[_0x5c8422(0x24c)][_0x5c8422(0x196)]:_0x3ed267[_0x5c8422(0x24c)]['RECT'],'segmentId':typeof _0x52f0d4==_0x5c8422(0x1ff)?String(_0x52f0d4):'','segmentPage':Number(_0x623c2!=null?_0x623c2:-0x1)});}return _0x5e55e9[_0x5c8422(0x1a0)](_0x3862db=>_0x3862db[_0x5c8422(0x328)])||(_0x5e55e9[0x0][_0x5c8422(0x328)]=!0x0),_0x5e55e9;}class _0x2b068f extends _0x3ed267['RxDisposable']{constructor(){const _0x3bb10c=_0x3bd006;super(...arguments),_0x4e10dd(this,_0x3bb10c(0x1d5),new _0x1c33ab[(_0x3bb10c(0x2d0))](null)),_0x4e10dd(this,'collabCursorState$',this[_0x3bb10c(0x1d5)][_0x3bb10c(0x16b)]());}['syncEditingCollabCursor'](_0x3bb128){const _0x3a7b20=_0x3bd006,{unitID:_0x4d8410,memberID:_0x3c472c,textRanges:_0x904bd0}=_0x3bb128,_0x34474c=_0x53fd57(_0x904bd0);if(_0x34474c==='')return;const _0xb1f2a8={'unitID':_0x4d8410,'memberID':_0x3c472c,'selection':_0x34474c};this[_0x3a7b20(0x1d5)][_0x3a7b20(0x200)](_0xb1f2a8);}}var _0x2a9d0b=Object['getOwnPropertyDescriptor'],_0x1bd272=(_0x2626f4,_0x2cfdfc,_0x5fe9b8,_0xfbe3)=>{const _0x232f8c=_0x3bd006;for(var _0x24bfd3=_0xfbe3>0x1?void 0x0:_0xfbe3?_0x2a9d0b(_0x2cfdfc,_0x5fe9b8):_0x2cfdfc,_0x20e32c=_0x2626f4[_0x232f8c(0x35a)]-0x1,_0x7a29db;_0x20e32c>=0x0;_0x20e32c--)(_0x7a29db=_0x2626f4[_0x20e32c])&&(_0x24bfd3=_0x7a29db(_0x24bfd3)||_0x24bfd3);return _0x24bfd3;},_0x299c94=(_0x596edc,_0x2a6e9e)=>(_0x274598,_0x4c2095)=>_0x2a6e9e(_0x274598,_0x4c2095,_0x596edc);const _0x195536=0x12c,_0x444331=0x64;let _0x85cba4=class extends _0x3ed267[_0x3bd006(0x297)]{constructor(_0x50a993,_0x569252,_0xe36580,_0x5d14a9,_0x3304c2,_0x246221,_0x49c094,_0x2ab74d,_0x1ee8dd){const _0x1c630d=_0x3bd006;super(),_0x4e10dd(this,_0x1c630d(0x2b6),!0x1),_0x4e10dd(this,_0x1c630d(0x1d8),!0x1),_0x4e10dd(this,_0x1c630d(0x347),new _0x1c33ab['BehaviorSubject'](new Map())),_0x4e10dd(this,_0x1c630d(0x21a),this[_0x1c630d(0x347)][_0x1c630d(0x16b)]()),_0x4e10dd(this,_0x1c630d(0x192),new _0x1c33ab[(_0x1c630d(0x2d0))]([])),_0x4e10dd(this,_0x1c630d(0x2e5),this[_0x1c630d(0x192)][_0x1c630d(0x1d7)](_0x1c33ab['debounceTime'](_0x195536))),_0x4e10dd(this,_0x1c630d(0x329),_0x3ed267[_0x1c630d(0x35f)](_0x18eb92=>{const _0x16b050=_0x1c630d,_0x46da56={'eventID':_0x585638[_0x16b050(0x2aa)][_0x16b050(0x1c2)],'data':{'unitID':this['unitID'],'memberID':this[_0x16b050(0x22b)][_0x16b050(0x1fa)](),'selection':_0x53fd57(_0x18eb92)}};this[_0x16b050(0x22b)][_0x16b050(0x213)](_0x46da56,this[_0x16b050(0x144)]);},_0x444331)),(this['unitID']=_0x50a993,this[_0x1c630d(0x22b)]=_0x569252,this[_0x1c630d(0x221)]=_0xe36580,this['_colorAssignService']=_0x5d14a9,this[_0x1c630d(0x1e6)]=_0x3304c2,this[_0x1c630d(0x1cd)]=_0x246221,this['_transformService']=_0x49c094,this[_0x1c630d(0x2cc)]=_0x2ab74d,this[_0x1c630d(0x2ed)]=_0x1ee8dd);}get[_0x3bd006(0x141)](){return this['_cursorInfo$']['getValue']();}get[_0x3bd006(0x162)](){const _0x4eb90a=_0x3bd006;return this['_roomMembers$'][_0x4eb90a(0x288)]();}['dispose'](){const _0x578d66=_0x3bd006;super[_0x578d66(0xf9)](),this['_cursorInfo$'][_0x578d66(0x200)](new Map()),this[_0x578d66(0x347)][_0x578d66(0x29d)](),this[_0x578d66(0x192)]['next']([]),this[_0x578d66(0x192)][_0x578d66(0x29d)]();}[_0x3bd006(0x314)](){const _0x2189c9=_0x3bd006;this[_0x2189c9(0x1d8)]||(this[_0x2189c9(0x1d8)]=!0x0,this[_0x2189c9(0x22b)][_0x2189c9(0xfa)][_0x2189c9(0x1d7)](_0x1c33ab[_0x2189c9(0x168)](this[_0x2189c9(0x108)]))['subscribe'](_0x5caccb=>{const _0x207363=_0x2189c9;_0x5caccb===_0x207d2b['SessionStatus'][_0x207363(0xff)]?this['_toggleOnline']():this[_0x207363(0x1c7)]();}),this[_0x2189c9(0x22b)][_0x2189c9(0x14b)][_0x2189c9(0x1d7)](_0x1c33ab[_0x2189c9(0x168)](this[_0x2189c9(0x108)]))[_0x2189c9(0x2fc)](_0x3f3532=>{const _0x1e756a=_0x2189c9,_0x1b45b4=_0x3f3532['eventID'];_0x1b45b4===_0x585638[_0x1e756a(0x2aa)][_0x1e756a(0x1c2)]&&this[_0x1e756a(0x191)](_0x3f3532),_0x1b45b4===_0x585638['CollaborationEvent'][_0x1e756a(0x2c9)]&&this['_onCursorDelete'](_0x3f3532);}),this[_0x2189c9(0x11a)](this[_0x2189c9(0x2ed)][_0x2189c9(0x1cf)](_0x5d7a9d=>{const _0x2319cb=_0x2189c9,_0x469c22=_0x5d7a9d[_0x2319cb(0x208)];_0x469c22!=null&&this[_0x2319cb(0x2b6)]&&_0x5d7a9d['id']===_0x556999[_0x2319cb(0x2b8)]['id']&&_0x469c22['unitId']===this['unitID']&&_0x469c22[_0x2319cb(0x23f)]===!0x1&&_0x469c22[_0x2319cb(0x113)][_0x2319cb(0x35a)]>0x0&&this['_updateLocalCursor'](_0x469c22[_0x2319cb(0x113)]);})),this['_syncEditingCollabCursorService'][_0x2189c9(0x1af)]['pipe'](_0x1c33ab[_0x2189c9(0x168)](this[_0x2189c9(0x108)]))[_0x2189c9(0x2fc)](_0x2af388=>{const _0x368126=_0x2189c9;if((_0x2af388==null?void 0x0:_0x2af388[_0x368126(0x144)])!==this['unitID'])return;const _0x2a5777={'eventID':_0x585638['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x2af388};this['_onCursorUpdate'](_0x2a5777);}),this['disposeWithMe'](this[_0x2189c9(0x2ed)]['onCommandExecuted'](_0x5804c2=>{const _0x10869a=_0x2189c9;if(_0x5804c2['params']==null)return;const _0x1e5f7f=_0x5804c2[_0x10869a(0x208)];if(_0x5804c2['id']!==_0x556999[_0x10869a(0x21e)]['id']||_0x1e5f7f[_0x10869a(0x2c2)]!==this['unitID'])return;const _0x5b9169={'id':_0x10869a(0x236),'params':_0x1e5f7f},_0x23021f=this[_0x10869a(0x141)];for(const [_0x5c0735,_0x1d9fcf]of _0x23021f){const _0x1e8aec={'id':_0x10869a(0x236),'params':{'unitId':this[_0x10869a(0x144)],'actions':null,'textRanges':_0x1d9fcf[_0x10869a(0x113)]}},_0x199669=this[_0x10869a(0x32c)][_0x10869a(0x1f7)](_0x5b9169,_0x1e8aec,!0x1);if(_0x585638[_0x10869a(0x16d)](_0x199669))throw _0x199669[_0x10869a(0x361)];_0x23021f[_0x10869a(0x247)](_0x5c0735,{..._0x1d9fcf,'ranges':_0x199669[_0x10869a(0x1e5)][_0x10869a(0x208)]['textRanges']});}queueMicrotask(()=>{const _0x44e220=_0x10869a;this[_0x44e220(0x347)]['next'](_0x23021f);});})));}[_0x3bd006(0x191)](_0x47e965){const _0x33b4b7=_0x3bd006;var _0x109a18,_0x351266;const {memberID:_0x439ea3,selection:_0x5354f1}=_0x47e965[_0x33b4b7(0xed)],_0x4e5ce6=_0x344c58(_0x5354f1),_0x3cb222=(_0x351266=(_0x109a18=this[_0x33b4b7(0x1e6)]['getMember'](this['unitID'],_0x439ea3))==null?void 0x0:_0x109a18[_0x33b4b7(0x302)])!=null?_0x351266:_0x33b4b7(0x16c),_0x270bd2={'color':this[_0x33b4b7(0x1b3)][_0x33b4b7(0x13f)](_0x439ea3),'name':_0x3cb222,'ranges':_0x4e5ce6},_0x19eefa=this[_0x33b4b7(0x141)];_0x19eefa['set'](_0x439ea3,_0x270bd2),this[_0x33b4b7(0x347)]['next'](_0x19eefa);}['_onCursorDelete'](_0x3ea86c){const _0x44bbde=_0x3bd006,{memberID:_0x18ebb2}=_0x3ea86c[_0x44bbde(0xed)],_0x315077=this['cursorInfo'];_0x315077[_0x44bbde(0x363)](_0x18ebb2),this[_0x44bbde(0x347)]['next'](_0x315077);}[_0x3bd006(0x2f2)](){const _0x2ea623=_0x3bd006;var _0xf545b2;if(this['_online']=!0x0,((_0xf545b2=this[_0x2ea623(0x2cc)][_0x2ea623(0xfc)]())==null?void 0x0:_0xf545b2['getUnitId']())!==this[_0x2ea623(0x144)])return;const _0x2b2c5c=this[_0x2ea623(0x221)][_0x2ea623(0x20d)](_0x556999[_0x2ea623(0x13b)])[_0x2ea623(0x2d5)]();Array[_0x2ea623(0x18b)](_0x2b2c5c)&&_0x2b2c5c[_0x2ea623(0x35a)]>0x0&&this[_0x2ea623(0x329)](_0x2b2c5c);}[_0x3bd006(0x1c7)](){const _0x49f8b8=_0x3bd006;this[_0x49f8b8(0x2b6)]=!0x1;}};_0x85cba4=_0x1bd272([_0x299c94(0x2,_0x3ed267['Inject'](_0x3ed267['Injector'])),_0x299c94(0x3,_0x3ed267[_0x3bd006(0x2af)](_0x55e3bb)),_0x299c94(0x4,_0x3ed267[_0x3bd006(0x2af)](_0x207d2b[_0x3bd006(0x30d)])),_0x299c94(0x5,_0x3ed267[_0x3bd006(0x2af)](_0x2b068f)),_0x299c94(0x6,_0x585638[_0x3bd006(0x310)]),_0x299c94(0x7,_0x3ed267['IUniverInstanceService']),_0x299c94(0x8,_0x3ed267['ICommandService'])],_0x85cba4);var _0x2d580b=Object[_0x3bd006(0x303)],_0x11e129=(_0xea4a15,_0xcd5499,_0x4ddd86,_0x3c919d)=>{const _0x2a0ed4=_0x3bd006;for(var _0x6c6ed8=_0x3c919d>0x1?void 0x0:_0x3c919d?_0x2d580b(_0xcd5499,_0x4ddd86):_0xcd5499,_0x4d9727=_0xea4a15[_0x2a0ed4(0x35a)]-0x1,_0xe16898;_0x4d9727>=0x0;_0x4d9727--)(_0xe16898=_0xea4a15[_0x4d9727])&&(_0x6c6ed8=_0xe16898(_0x6c6ed8)||_0x6c6ed8);return _0x6c6ed8;},_0x10a720=(_0x122e82,_0xe15e29)=>(_0x6e9e5a,_0x5246c8)=>_0xe15e29(_0x6e9e5a,_0x5246c8,_0x122e82);const _0x111125=0x12c,_0x37501b=0x64,_0x543348=()=>{let _0x5eda51=[],_0x2a76e0=!0x1;return _0x354cf1=>{_0x5eda51['push'](_0x354cf1),_0x2a76e0||(_0x2a76e0=!0x0,setTimeout(()=>{const _0x57e0a0=_0xda92;_0x5eda51[_0x57e0a0(0x266)](_0x49f7a2=>_0x49f7a2()),_0x5eda51=[],_0x2a76e0=!0x1;}));};};let _0x15b8d=class extends _0x3ed267[_0x3bd006(0x297)]{constructor(_0x2563c3,_0x461d39,_0x2d2013,_0x5d2dbd,_0x1f8f36,_0x174bad,_0x213582,_0x467aee){const _0x56cdfa=_0x3bd006;super(),_0x4e10dd(this,_0x56cdfa(0x2b6),!0x1),_0x4e10dd(this,_0x56cdfa(0x1d8),!0x1),_0x4e10dd(this,'_cursorInfo$',new _0x1c33ab['BehaviorSubject'](new Map())),_0x4e10dd(this,'cursorInfo$',this[_0x56cdfa(0x347)]['asObservable']()),_0x4e10dd(this,'_roomMembers$',new _0x1c33ab[(_0x56cdfa(0x2d0))]([])),_0x4e10dd(this,'roomMembers$',this[_0x56cdfa(0x192)][_0x56cdfa(0x1d7)](_0x1c33ab[_0x56cdfa(0x186)](_0x111125))),_0x4e10dd(this,'_updateLocalCursor',_0x3ed267[_0x56cdfa(0x35f)]((_0x3304a0,_0x16c212)=>{const _0xb09fd8=_0x56cdfa,_0x4f93c7={'eventID':_0x585638[_0xb09fd8(0x2aa)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xb09fd8(0x144)],'memberID':this['_session']['getMemberID'](),'selection':_0x45b3d4[_0xb09fd8(0x2b5)](_0x3304a0,_0x16c212[_0xb09fd8(0x2c1)])}};this[_0xb09fd8(0x22b)][_0xb09fd8(0x213)](_0x4f93c7,this[_0xb09fd8(0x144)]);},_0x37501b)),(this[_0x56cdfa(0x144)]=_0x2563c3,this[_0x56cdfa(0x22b)]=_0x461d39,this[_0x56cdfa(0x221)]=_0x2d2013,this['_colorAssignService']=_0x5d2dbd,this[_0x56cdfa(0x1e6)]=_0x1f8f36,this[_0x56cdfa(0x2cc)]=_0x174bad,this['_commandService']=_0x213582,this['_refRangeService']=_0x467aee);}get[_0x3bd006(0x141)](){const _0x55193e=_0x3bd006;return this[_0x55193e(0x347)][_0x55193e(0x288)]();}get[_0x3bd006(0x162)](){const _0x5ee898=_0x3bd006;return this['_roomMembers$'][_0x5ee898(0x288)]();}[_0x3bd006(0xf9)](){const _0x39733e=_0x3bd006;super[_0x39733e(0xf9)](),this[_0x39733e(0x347)][_0x39733e(0x200)](new Map()),this[_0x39733e(0x347)][_0x39733e(0x29d)](),this[_0x39733e(0x192)][_0x39733e(0x200)]([]),this['_roomMembers$'][_0x39733e(0x29d)]();}[_0x3bd006(0x314)](){const _0x4433c2=_0x3bd006;this[_0x4433c2(0x1d8)]||(this[_0x4433c2(0x1d8)]=!0x0,this[_0x4433c2(0x22b)][_0x4433c2(0xfa)][_0x4433c2(0x1d7)](_0x1c33ab[_0x4433c2(0x168)](this[_0x4433c2(0x108)]))[_0x4433c2(0x2fc)](_0x1754c9=>{const _0x485065=_0x4433c2;_0x1754c9===_0x207d2b[_0x485065(0x276)]['ONLINE']?this[_0x485065(0x2f2)]():this['_toggleOffline']();}),this['_session'][_0x4433c2(0x14b)][_0x4433c2(0x1d7)](_0x1c33ab[_0x4433c2(0x168)](this[_0x4433c2(0x108)]))[_0x4433c2(0x2fc)](_0xfcbcbf=>{const _0x4f7b75=_0x4433c2,_0x2c7522=_0xfcbcbf['eventID'];_0x2c7522===_0x585638['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x4f7b75(0x191)](_0xfcbcbf),_0x2c7522===_0x585638[_0x4f7b75(0x2aa)][_0x4f7b75(0x2c9)]&&this[_0x4f7b75(0x14e)](_0xfcbcbf);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x4433c2(0x2ed)][_0x4433c2(0x1cf)](_0x37442b=>{const _0x2666c0=_0x4433c2;if(this[_0x2666c0(0x2b6)]&&_0x37442b['id']===_0x28ec48[_0x2666c0(0x337)]['id']&&_0x37442b[_0x2666c0(0x208)][_0x2666c0(0x2c2)]===this[_0x2666c0(0x144)]){const _0x1cd1c3=_0x37442b[_0x2666c0(0x208)];this[_0x2666c0(0x329)](_0x1cd1c3[_0x2666c0(0x133)],_0x1cd1c3['selections'][0x0]);}})));}[_0x3bd006(0x191)](_0x3f1961){const _0x488234=_0x3bd006;var _0x92f652,_0x21f079;const {memberID:_0x6a4082,selection:_0x23793c}=_0x3f1961[_0x488234(0xed)],{sheetName:_0x1538c5,range:_0x251068}=_0x45b3d4[_0x488234(0x136)](_0x23793c),_0x344415={'name':(_0x21f079=(_0x92f652=this['_memberService'][_0x488234(0x27e)](this[_0x488234(0x144)],_0x6a4082))==null?void 0x0:_0x92f652[_0x488234(0x302)])!=null?_0x21f079:_0x488234(0x16c),'range':this[_0x488234(0x20b)](_0x1538c5,_0x251068),'sheetID':_0x1538c5,'color':this[_0x488234(0x1b3)]['assignAColorForMemberID'](_0x6a4082),'selection':_0x23793c},_0x4f6cdc=this[_0x488234(0x141)];_0x4f6cdc[_0x488234(0x247)](_0x6a4082,_0x344415),this['_cursorInfo$'][_0x488234(0x200)](_0x4f6cdc);}[_0x3bd006(0x14e)](_0x352ad0){const _0x1fee95=_0x3bd006,{memberID:_0x14f4e2}=_0x352ad0['data'],_0x4bcb55=this[_0x1fee95(0x141)];_0x4bcb55['delete'](_0x14f4e2),this[_0x1fee95(0x347)][_0x1fee95(0x200)](_0x4bcb55);}['_getMergeRange'](_0x316182,_0x5d0279){const _0x19c718=_0x3bd006;var _0x4d3951,_0x580c36;const _0x9a4bcc=(_0x580c36=(_0x4d3951=this[_0x19c718(0x2cc)][_0x19c718(0x116)](this['unitID']))==null?void 0x0:_0x4d3951[_0x19c718(0x291)](_0x316182))==null?void 0x0:_0x580c36[_0x19c718(0x231)]();return(_0x9a4bcc==null?void 0x0:_0x9a4bcc[_0x19c718(0x1d1)](_0x1024d1=>_0x3ed267[_0x19c718(0x17d)][_0x19c718(0x2f5)](_0x1024d1,_0x5d0279)))||_0x5d0279;}['_onRefRangeChange'](){const _0x4ec3d2=_0x3bd006,_0x1200a3=new _0x3ed267[(_0x4ec3d2(0x2c0))](),_0x908e0=_0x543348(),_0x3bcda8=()=>{const _0x58938a=_0x4ec3d2;_0x1200a3[_0x58938a(0xf9)]();const _0x35ad76=(_0x1ea0b6,_0x159c55,_0x38ab35,_0x49aca8)=>{const _0x29ddfe=_0x58938a;let _0x5b3d42=[];switch(_0x1ea0b6['id']){case _0x28ec48['EffectRefRangId'][_0x29ddfe(0x252)]:{_0x5b3d42=_0x28ec48[_0x29ddfe(0x315)](_0x1ea0b6,_0x49aca8);break;}case _0x28ec48[_0x29ddfe(0x35d)][_0x29ddfe(0x232)]:{_0x5b3d42=_0x28ec48[_0x29ddfe(0x30a)](_0x1ea0b6,_0x49aca8);break;}case _0x28ec48[_0x29ddfe(0x35d)][_0x29ddfe(0x365)]:{_0x5b3d42=_0x28ec48[_0x29ddfe(0x2e7)](_0x1ea0b6,_0x49aca8);break;}case _0x28ec48[_0x29ddfe(0x35d)][_0x29ddfe(0x331)]:{_0x5b3d42=_0x28ec48[_0x29ddfe(0x10f)](_0x1ea0b6,_0x49aca8);break;}case _0x28ec48[_0x29ddfe(0x35d)][_0x29ddfe(0x15a)]:{_0x5b3d42=_0x28ec48['handleInsertRangeMoveRight'](_0x1ea0b6,_0x49aca8);break;}case _0x28ec48['EffectRefRangId'][_0x29ddfe(0x121)]:{_0x5b3d42=_0x28ec48[_0x29ddfe(0x1f3)](_0x1ea0b6,_0x49aca8);break;}case _0x28ec48[_0x29ddfe(0x35d)]['MoveRangeCommandId']:{_0x5b3d42=_0x28ec48[_0x29ddfe(0x237)](_0x1ea0b6,_0x49aca8);break;}case _0x28ec48[_0x29ddfe(0x35d)][_0x29ddfe(0x2e1)]:{_0x5b3d42=_0x28ec48[_0x29ddfe(0x21f)](_0x1ea0b6,_0x49aca8);break;}case _0x28ec48[_0x29ddfe(0x35d)][_0x29ddfe(0x1e4)]:{_0x5b3d42=_0x28ec48[_0x29ddfe(0x254)](_0x1ea0b6,_0x49aca8);break;}}const _0x44fc0d=_0x28ec48[_0x29ddfe(0x1fb)](_0x5b3d42,_0x49aca8),_0x2bc512=this[_0x29ddfe(0x141)][_0x29ddfe(0x20d)](_0x159c55);if(_0x2bc512&&_0x44fc0d){const _0xf08c05={..._0x2bc512,'range':_0x44fc0d};this[_0x29ddfe(0x141)][_0x29ddfe(0x247)](_0x159c55,_0xf08c05),_0x908e0(()=>{const _0x2e325b=_0x29ddfe,_0x20e8e2=this['_refRangeService'][_0x2e325b(0x2da)](_0x44fc0d,_0x59b33c=>(_0x20e8e2['dispose'](),_0x35ad76(_0x59b33c,_0x159c55,_0x38ab35,_0x44fc0d)));_0x1200a3[_0x2e325b(0x12d)](_0x20e8e2);});}return{'redos':[],'undos':[]};};this[_0x58938a(0x141)][_0x58938a(0x266)]((_0x342a8f,_0x2040dd)=>{const _0x321f7f=_0x58938a,{range:_0x130977,sheetID:_0x33d79f}=_0x342a8f,_0x33245a=this[_0x321f7f(0x2eb)][_0x321f7f(0x2da)](_0x130977,_0xf98729=>(_0x33245a[_0x321f7f(0xf9)](),_0x35ad76(_0xf98729,_0x2040dd,_0x33d79f,_0x130977)));_0x1200a3[_0x321f7f(0x12d)](_0x33245a);});};this[_0x4ec3d2(0x11a)](_0x3ed267[_0x4ec3d2(0x241)](this[_0x4ec3d2(0x347)][_0x4ec3d2(0x2fc)](()=>{_0x3bcda8();})));}[_0x3bd006(0x2f2)](){const _0x29bb4a=_0x3bd006;var _0x19a1c6,_0x1a8d68;if(this[_0x29bb4a(0x2b6)]=!0x0,((_0x19a1c6=this[_0x29bb4a(0x2cc)]['getFocusedUnit']())==null?void 0x0:_0x19a1c6['getUnitId']())!==this[_0x29bb4a(0x144)])return;const _0xda3500=(_0x1a8d68=this[_0x29bb4a(0x221)]['get'](_0x28ec48[_0x29bb4a(0x2d8)])[_0x29bb4a(0x169)]())==null?void 0x0:_0x1a8d68[0x0],_0x4ed810=this[_0x29bb4a(0x2cc)][_0x29bb4a(0x28b)](_0x3ed267[_0x29bb4a(0x2a4)][_0x29bb4a(0x25b)])[_0x29bb4a(0x265)]();_0xda3500&&_0x4ed810&&this[_0x29bb4a(0x329)](_0x4ed810[_0x29bb4a(0x139)](),_0xda3500);}[_0x3bd006(0x1c7)](){this['_online']=!0x1;}};_0x15b8d=_0x11e129([_0x10a720(0x2,_0x3ed267[_0x3bd006(0x2af)](_0x3ed267[_0x3bd006(0x1f1)])),_0x10a720(0x3,_0x3ed267[_0x3bd006(0x2af)](_0x55e3bb)),_0x10a720(0x4,_0x3ed267[_0x3bd006(0x2af)](_0x207d2b['MemberService'])),_0x10a720(0x5,_0x3ed267['IUniverInstanceService']),_0x10a720(0x6,_0x3ed267['ICommandService']),_0x10a720(0x7,_0x3ed267[_0x3bd006(0x2af)](_0x28ec48[_0x3bd006(0x295)]))],_0x15b8d);var _0x1dcc3c=Object['getOwnPropertyDescriptor'],_0x2ac946=(_0x43a6e4,_0x477c7a,_0x124db7,_0x44f471)=>{const _0x3d8081=_0x3bd006;for(var _0x52883d=_0x44f471>0x1?void 0x0:_0x44f471?_0x1dcc3c(_0x477c7a,_0x124db7):_0x477c7a,_0x5cf792=_0x43a6e4[_0x3d8081(0x35a)]-0x1,_0x84bc36;_0x5cf792>=0x0;_0x5cf792--)(_0x84bc36=_0x43a6e4[_0x5cf792])&&(_0x52883d=_0x84bc36(_0x52883d)||_0x52883d);return _0x52883d;},_0x530339=(_0x1a7fd7,_0x3f5552)=>(_0x1d517c,_0x4ff61d)=>_0x3f5552(_0x1d517c,_0x4ff61d,_0x1a7fd7);let _0x2ea14f=class extends _0x3ed267[_0x3bd006(0x297)]{constructor(_0x13f4a9,_0x42e779,_0x57f9bd){const _0x5899d5=_0x3bd006;super(),_0x4e10dd(this,_0x5899d5(0x11d),new Map()),_0x4e10dd(this,_0x5899d5(0x36a),new _0x1c33ab[(_0x5899d5(0x294))]()),(this['_univerInstanceService']=_0x13f4a9,this[_0x5899d5(0x221)]=_0x42e779,this[_0x5899d5(0x2f0)]=_0x57f9bd,this['_init']());}[_0x3bd006(0xf9)](){const _0x12b652=_0x3bd006;super[_0x12b652(0xf9)](),this['_entityInit$'][_0x12b652(0x29d)](),this[_0x12b652(0x11d)][_0x12b652(0x266)](_0x5977fa=>_0x5977fa[_0x12b652(0xf9)]());}[_0x3bd006(0x1c8)](_0x519ac3){const _0x25c42c=_0x3bd006;return this['_entities']['has'](_0x519ac3)?this['_entities'][_0x25c42c(0x20d)](_0x519ac3)[_0x25c42c(0x21a)]:this['_entityInit$'][_0x25c42c(0x1d7)](_0x1c33ab[_0x25c42c(0x2b4)](_0x57bab8=>_0x57bab8['unitID']===_0x519ac3),_0x1c33ab[_0x25c42c(0x355)](_0x206c66=>_0x206c66[_0x25c42c(0x21a)]));}['_init'](){const _0x267ac1=_0x3bd006;this[_0x267ac1(0x2cc)][_0x267ac1(0x348)](_0x3ed267[_0x267ac1(0x2a4)][_0x267ac1(0x25b)])['pipe'](_0x1c33ab[_0x267ac1(0x168)](this[_0x267ac1(0x108)]))['subscribe'](async _0x12aae0=>{const _0x54216a=_0x267ac1,_0x237cec=_0x12aae0[_0x54216a(0x264)](),_0x16b753=await this[_0x54216a(0x115)](_0x237cec);this['_entityInit$']['next'](_0x16b753),this[_0x54216a(0x11d)][_0x54216a(0x247)](_0x237cec,_0x16b753);}),this[_0x267ac1(0x2cc)][_0x267ac1(0x348)](_0x3ed267[_0x267ac1(0x2a4)][_0x267ac1(0x130)])[_0x267ac1(0x1d7)](_0x1c33ab[_0x267ac1(0x168)](this[_0x267ac1(0x108)]))[_0x267ac1(0x1d7)](_0x1c33ab[_0x267ac1(0x2b4)](_0x4a59fe=>!_0x4a59fe['getUnitId']()[_0x267ac1(0x325)]('__')))['subscribe'](async _0x1aeb0e=>{const _0x212934=_0x267ac1,_0x2670e4=_0x1aeb0e['getUnitId'](),_0x207f7f=await this[_0x212934(0x227)](_0x2670e4);this[_0x212934(0x36a)][_0x212934(0x200)](_0x207f7f),this[_0x212934(0x11d)][_0x212934(0x247)](_0x2670e4,_0x207f7f);}),_0x1c33ab[_0x267ac1(0x152)](this[_0x267ac1(0x2cc)][_0x267ac1(0x18d)](_0x3ed267[_0x267ac1(0x2a4)]['UNIVER_DOC']),this[_0x267ac1(0x2cc)][_0x267ac1(0x18d)](_0x3ed267['UniverInstanceType'][_0x267ac1(0x25b)]))[_0x267ac1(0x1d7)](_0x1c33ab[_0x267ac1(0x168)](this[_0x267ac1(0x108)]))[_0x267ac1(0x2fc)](_0x4e7fbb=>{const _0x10ba07=_0x267ac1,_0x3cffe2=_0x4e7fbb[_0x10ba07(0x264)](),_0x4907df=this[_0x10ba07(0x11d)][_0x10ba07(0x20d)](_0x3cffe2);_0x4907df&&(_0x4907df['dispose'](),this[_0x10ba07(0x11d)]['delete'](_0x3cffe2));});}async[_0x3bd006(0x115)](_0x3a8eeb){const _0x2898e8=_0x3bd006,_0x403248=await this[_0x2898e8(0x2f0)][_0x2898e8(0x376)](_0x3a8eeb),_0x2ab31a=this[_0x2898e8(0x221)][_0x2898e8(0x161)](_0x15b8d,_0x3a8eeb,_0x403248);return _0x2ab31a['init'](),_0x2ab31a;}async[_0x3bd006(0x227)](_0xbdffc5){const _0x100105=_0x3bd006,_0x4b1f0a=await this['_collabSessionService'][_0x100105(0x376)](_0xbdffc5),_0x59b7d5=this[_0x100105(0x221)]['createInstance'](_0x85cba4,_0xbdffc5,_0x4b1f0a);return _0x59b7d5['init'](),_0x59b7d5;}};_0x2ea14f=_0x2ac946([_0x530339(0x0,_0x3ed267['IUniverInstanceService']),_0x530339(0x1,_0x3ed267[_0x3bd006(0x2af)](_0x3ed267['Injector'])),_0x530339(0x2,_0x3ed267['Inject'](_0x207d2b['CollaborationSessionService']))],_0x2ea14f);const _0x1ba8ec=0x14,_0x2aa486=0xc8,_0x386af3=0x4,_0xb2cdca=0x5;function _0x4a805a(_0xae23f9,_0x4e8e76){const _0x40e71c=_0x3bd006;let {radius:_0x330ea8,width:_0xc7cc48,height:_0x1423cb}=_0x4e8e76;_0x330ea8=_0x330ea8!=null?_0x330ea8:0x0,_0xc7cc48=_0xc7cc48!=null?_0xc7cc48:0x1e,_0x1423cb=_0x1423cb!=null?_0x1423cb:0x1e;let _0x3dc8eb=0x0,_0x39aa6b=0x0,_0x3c9842=0x0;_0x3dc8eb=_0x39aa6b=_0x3c9842=Math[_0x40e71c(0x34f)](_0x330ea8,_0xc7cc48/0x2,_0x1423cb/0x2),_0xae23f9[_0x40e71c(0x219)](),_0xae23f9[_0x40e71c(0x318)](_0x3dc8eb,0x0),_0xae23f9[_0x40e71c(0x32e)](_0xc7cc48-_0x39aa6b,0x0),_0xae23f9[_0x40e71c(0x1ca)](_0xc7cc48-_0x39aa6b,_0x39aa6b,_0x39aa6b,Math['PI']*0x3/0x2,0x0,!0x1),_0xae23f9[_0x40e71c(0x32e)](_0xc7cc48,_0x1423cb-_0x3c9842),_0xae23f9['arc'](_0xc7cc48-_0x3c9842,_0x1423cb-_0x3c9842,_0x3c9842,0x0,Math['PI']/0x2,!0x1),_0xae23f9[_0x40e71c(0x32e)](0x0,_0x1423cb),_0xae23f9['lineTo'](0x0,_0x3dc8eb),_0xae23f9[_0x40e71c(0x1ca)](_0x3dc8eb,_0x3dc8eb,_0x3dc8eb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xae23f9[_0x40e71c(0x20f)](),_0x4e8e76['fill']&&(_0xae23f9[_0x40e71c(0x2cf)](),_0xae23f9[_0x40e71c(0xf3)]=_0x4e8e76[_0x40e71c(0x36d)],_0x4e8e76[_0x40e71c(0x2fa)]===_0x40e71c(0x35c)?_0xae23f9[_0x40e71c(0x36d)]('evenodd'):_0xae23f9[_0x40e71c(0x36d)](),_0xae23f9['restore']());}class _0x36e54f extends _0x83c5a7[_0x3bd006(0x36e)]{constructor(_0x211bac,_0xaaccbb){const _0x438636=_0x3bd006;super(_0x211bac,_0xaaccbb),_0x4e10dd(this,_0x438636(0x157)),_0x4e10dd(this,_0x438636(0x260)),(this[_0x438636(0x157)]=_0xaaccbb==null?void 0x0:_0xaaccbb[_0x438636(0x157)],this[_0x438636(0x260)]=_0xaaccbb==null?void 0x0:_0xaaccbb['text']);}static[_0x3bd006(0x2ee)](_0x15a1f9,_0x515c8d){const _0x203853=_0x3bd006,{text:_0x330601,color:_0x9144df}=_0x515c8d;_0x15a1f9['save'](),_0x15a1f9[_0x203853(0x2a1)]=_0x203853(0x114);const _0x9ce6f3=_0x15a1f9[_0x203853(0x322)](_0x330601)['width'],_0x59023a=Math['min'](_0x9ce6f3+0x2*_0x386af3,_0x2aa486);_0x4a805a(_0x15a1f9,{'height':_0x1ba8ec,'radius':0x4,'width':_0x59023a,'fill':_0x9144df}),_0x15a1f9[_0x203853(0xf3)]=_0x203853(0x1c4);const _0x4bdbc8=_0x386af3,_0x49b7d6=_0x1ba8ec-_0xb2cdca,_0x5bcb4d=_0x2aa486-0x2*_0x386af3;if(_0x9ce6f3>_0x5bcb4d){let _0x10cc2c='',_0x579493=0x0;for(const _0x1b403d of _0x330601){const _0x589e97=_0x15a1f9['measureText'](_0x1b403d)['width'];if(_0x579493+_0x589e97<=_0x5bcb4d-_0x15a1f9[_0x203853(0x322)](_0x203853(0x335))[_0x203853(0x2b3)])_0x10cc2c+=_0x1b403d,_0x579493+=_0x589e97;else{_0x10cc2c+='...';break;}}_0x15a1f9[_0x203853(0x11f)](_0x10cc2c,_0x4bdbc8,_0x49b7d6);}else _0x15a1f9[_0x203853(0x11f)](_0x330601,_0x4bdbc8,_0x49b7d6);_0x15a1f9[_0x203853(0x306)]();}[_0x3bd006(0x165)](_0x5d02c7){const _0xaf32a4=_0x3bd006;_0x36e54f[_0xaf32a4(0x2ee)](_0x5d02c7,this);}}const _0x1ac39f=_0x3bd006(0x187),_0x351e3d=_0x3bd006(0x29a),_0x18e2f8='collab-rect-range-',_0x1cf13e=0x6,_0x59f987=1.5,_0x1a4e86=0x4,_0x12201d=1.5,_0x11d3c5='rgba(255,\x20255,\x20255,\x200.01)';class _0x45c878{constructor(_0x5922a1,_0x40ee7f,_0x82aa4d,_0x1bb5c4){const _0x4a3553=_0x3bd006;_0x4e10dd(this,_0x4a3553(0x1c3),[]),_0x4e10dd(this,_0x4a3553(0x316),null),_0x4e10dd(this,'_textBubble',null),_0x4e10dd(this,_0x4a3553(0x21b),null),_0x4e10dd(this,'_hideTimer',null),_0x4e10dd(this,_0x4a3553(0x283),null),(this['_cursor']=_0x5922a1,this[_0x4a3553(0x27f)]=_0x40ee7f,this[_0x4a3553(0x35b)]=_0x82aa4d,this[_0x4a3553(0x1bf)]=_0x1bb5c4,this['_render']());}set[_0x3bd006(0xe4)](_0x3aa6d8){const _0x1609cc=_0x3bd006;_0x3aa6d8?(this[_0x1609cc(0x21b)]&&this[_0x1609cc(0x21b)][_0x1609cc(0x256)](),this['_textBubble']&&this[_0x1609cc(0x248)]['show']()):(this[_0x1609cc(0x21b)]&&this[_0x1609cc(0x21b)][_0x1609cc(0x182)](),this[_0x1609cc(0x248)]&&this['_textBubble'][_0x1609cc(0x256)]());}[_0x3bd006(0xf9)](){const _0x3874c0=_0x3bd006;for(const _0xfe24cc of this[_0x3874c0(0x1c3)])_0xfe24cc['dispose']();this[_0x3874c0(0x248)]&&this[_0x3874c0(0x248)]['dispose'](),this[_0x3874c0(0x21b)]&&this[_0x3874c0(0x21b)]['dispose'](),this[_0x3874c0(0x316)]&&this[_0x3874c0(0x316)]['dispose'](),this[_0x3874c0(0x283)]&&this['_eventUnsubscribe']();}[_0x3bd006(0xf7)](){const _0xde7e17=_0x3bd006;var _0xca7615;const {_docSkeleton:_0x27fe7a,_document:_0x487913}=this,{color:_0x1ea4f5,name:_0xc583af,ranges:_0x5350aa}=this[_0xde7e17(0x12a)],_0x35ec05=_0x487913[_0xde7e17(0x362)](),{docsLeft:_0x17ac63,docsTop:_0x5cf6b7}=_0x35ec05,_0x397812=new _0x351b83['NodePositionConvertToCursor'](_0x35ec05,_0x27fe7a);for(const {startOffset:_0x1cd97a,endOffset:_0x273453,rangeType:_0x3751cd,segmentId:_0x500a67,segmentPage:_0xe6691f,collapsed:_0x4e608a,isActive:_0x4e540e}of _0x5350aa){const _0x31c7ef=_0x27fe7a['findNodePositionByCharIndex'](_0x1cd97a,!0x0,_0x500a67,_0xe6691f);let _0x1b54bf=_0x27fe7a['findNodePositionByCharIndex'](_0x273453,!0x0,_0x500a67,_0xe6691f);if(_0x1b54bf==null&&(_0x1b54bf=_0x27fe7a['findNodePositionByCharIndex'](_0x273453-0x1,!0x1,_0x500a67,_0xe6691f)),_0x4e540e){const {contentBoxPointGroup:_0xfb5dff}=_0x397812[_0xde7e17(0x2b0)](_0x1b54bf,_0x1b54bf);if(_0xfb5dff[_0xde7e17(0x35a)]===0x0)continue;this[_0xde7e17(0x24d)](_0x1ea4f5,_0xfb5dff,_0x17ac63,_0x5cf6b7,_0xc583af),this[_0xde7e17(0x283)]=this['_handleHover']();}if(_0x31c7ef&&_0x1b54bf){if(_0x3751cd===_0x3ed267[_0xde7e17(0x24c)]['RECT']){const _0x223a0d=new _0x351b83[(_0xde7e17(0x2cb))](_0x35ec05,_0x27fe7a),{pointGroup:_0x4a5115}=(_0xca7615=_0x223a0d['getRangePointData'](_0x31c7ef,_0x1b54bf))!=null?_0xca7615:{};if(_0x4a5115==null||_0x4a5115[_0xde7e17(0x35a)]===0x0)continue;this[_0xde7e17(0x1ac)](_0x1ea4f5,_0x4a5115,_0x17ac63,_0x5cf6b7);}else{if(!_0x4e608a){const {borderBoxPointGroup:_0x16b0e6}=_0x397812[_0xde7e17(0x2b0)](_0x31c7ef,_0x1b54bf);if(_0x16b0e6[_0xde7e17(0x35a)]===0x0)continue;this[_0xde7e17(0x16f)](_0x1ea4f5,_0x16b0e6,_0x17ac63,_0x5cf6b7);}}}}}[_0x3bd006(0x24d)](_0x46e7af,_0x3c5560,_0x1ac7bc,_0x349c45,_0x3867a2){const _0x77c767=_0x3bd006,_0x4a1af9=this[_0x77c767(0x185)](_0x3c5560),{left:_0x2ccd0a,top:_0x354d28,height:_0x21c79c}=_0x4a1af9,_0x5ba263=this[_0x77c767(0x2ca)](),_0x53cedd=_0x12201d/_0x5ba263,_0x15c4f2=new _0x83c5a7['Rect'](_0x1ac39f+_0x3ed267['generateRandomId'](_0x1cf13e),{'left':_0x2ccd0a+_0x1ac7bc-_0x53cedd,'top':_0x354d28+_0x349c45,'height':_0x21c79c,'width':_0x59f987,'fill':_0x46e7af||_0x83c5a7['getColor'](_0x3ed267['COLORS'][_0x77c767(0x11e)],0x0),'strokeWidth':_0x53cedd,'stroke':_0x11d3c5,'evented':!0x0});this[_0x77c767(0x316)]=_0x15c4f2,this[_0x77c767(0x27f)][_0x77c767(0x267)](_0x15c4f2,_0x351b83[_0x77c767(0x104)]);const _0x6698e8=new _0x83c5a7['Rect'](_0x1ac39f+_0x3ed267['generateRandomId'](_0x1cf13e),{'left':_0x2ccd0a+_0x1ac7bc-_0x53cedd,'top':_0x354d28+_0x349c45-_0x1a4e86/0x2,'height':_0x1a4e86,'width':_0x1a4e86,'fill':_0x46e7af||_0x83c5a7[_0x77c767(0x313)](_0x3ed267[_0x77c767(0x292)][_0x77c767(0x11e)],0x0),'strokeWidth':0x0,'stroke':_0x46e7af||_0x83c5a7[_0x77c767(0x313)](_0x3ed267['COLORS']['black'],0x0),'evented':!0x1});this[_0x77c767(0x21b)]=_0x6698e8,this[_0x77c767(0x27f)][_0x77c767(0x267)](_0x6698e8,_0x351b83['TEXT_RANGE_LAYER_INDEX']);const _0x1bc3c0=new _0x36e54f(_0x1ac39f+_0x3ed267[_0x77c767(0x18c)](_0x1cf13e),{'left':_0x2ccd0a+_0x1ac7bc-_0x53cedd,'top':_0x354d28+_0x349c45-_0x1ba8ec,'text':_0x3867a2,'color':_0x46e7af});this[_0x77c767(0x248)]=_0x1bc3c0,this[_0x77c767(0x27f)][_0x77c767(0x267)](_0x1bc3c0,_0x351b83[_0x77c767(0x104)]),this['_hover']=!0x1;}[_0x3bd006(0x1bb)](){const _0x11a8f1=_0x3bd006,_0x14a786=this[_0x11a8f1(0x316)][_0x11a8f1(0x31d)][_0x11a8f1(0x26e)](()=>{const _0x43d7b4=_0x11a8f1;this[_0x43d7b4(0xe4)]=!0x0;}),_0x4ec34d=this[_0x11a8f1(0x316)][_0x11a8f1(0x111)]['subscribeEvent'](()=>{const _0x2ca8f5=_0x11a8f1;this[_0x2ca8f5(0x1fe)]&&clearTimeout(this['_hideTimer']),this[_0x2ca8f5(0x1fe)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x14a786['unsubscribe'](),_0x4ec34d['unsubscribe']();};}[_0x3bd006(0x16f)](_0x2de1fe,_0x27c7b2,_0x23d14e,_0x202aa9){const _0x58c42c=_0x3bd006,_0x341ad8=new _0x3ed267[(_0x58c42c(0x273))](_0x2de1fe)[_0x58c42c(0x1f4)](0.2)[_0x58c42c(0x269)](),_0x229c1d=new _0x83c5a7[(_0x58c42c(0x31c))](_0x351e3d+_0x3ed267[_0x58c42c(0x18c)](_0x1cf13e),{'pointsGroup':_0x27c7b2,'fill':_0x341ad8||_0x83c5a7[_0x58c42c(0x313)](_0x3ed267['COLORS'][_0x58c42c(0x11e)],0.2),'left':_0x23d14e,'top':_0x202aa9,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x229c1d),this[_0x58c42c(0x27f)]['addObject'](_0x229c1d,_0x351b83[_0x58c42c(0x104)]);}[_0x3bd006(0x1ac)](_0x487215,_0xf63f02,_0x4709a1,_0x442032){const _0x357c48=_0x3bd006,_0x1e1ef1=new _0x3ed267['ColorKit'](_0x487215)[_0x357c48(0x1f4)](0.2)['toRgbString'](),_0x31c07e=new _0x83c5a7[(_0x357c48(0x31c))](_0x18e2f8+_0x3ed267[_0x357c48(0x18c)](_0x1cf13e),{'pointsGroup':_0xf63f02,'fill':_0x1e1ef1||_0x83c5a7[_0x357c48(0x313)](_0x3ed267[_0x357c48(0x292)][_0x357c48(0x11e)],0.2),'left':_0x4709a1,'top':_0x442032,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x357c48(0x188)](_0x31c07e),this['_scene']['addObject'](_0x31c07e,_0x351b83['TEXT_RANGE_LAYER_INDEX']);}[_0x3bd006(0x185)](_0x11eb61){const _0xfcf569=_0x11eb61[0x0],_0x20fa06=_0xfcf569[0x0],_0x22fc8a=_0xfcf569[0x2],{x:_0x345675,y:_0x540fa4}=_0x20fa06,{x:_0x1360f9,y:_0x463040}=_0x22fc8a;return{'left':_0x345675,'top':_0x540fa4,'width':_0x1360f9-_0x345675,'height':_0x463040-_0x540fa4};}[_0x3bd006(0x2ca)](){const _0x2a9d60=_0x3bd006,{scaleX:_0x50dac8,scaleY:_0x4b14d9}=this[_0x2a9d60(0x27f)][_0x2a9d60(0x23d)]();return Math['max'](_0x50dac8,_0x4b14d9);}}var _0x56f330=Object[_0x3bd006(0x303)],_0x352713=(_0xbdcb25,_0x2bc983,_0x18828e,_0x146f45)=>{const _0x3dccd0=_0x3bd006;for(var _0x584aad=_0x146f45>0x1?void 0x0:_0x146f45?_0x56f330(_0x2bc983,_0x18828e):_0x2bc983,_0x2de495=_0xbdcb25[_0x3dccd0(0x35a)]-0x1,_0x529ab6;_0x2de495>=0x0;_0x2de495--)(_0x529ab6=_0xbdcb25[_0x2de495])&&(_0x584aad=_0x529ab6(_0x584aad)||_0x584aad);return _0x584aad;},_0x268e5c=(_0x353e05,_0x152d94)=>(_0x3abb2b,_0x3838da)=>_0x152d94(_0x3abb2b,_0x3838da,_0x353e05);let _0x5cd99a=class extends _0x3ed267[_0x3bd006(0x297)]{constructor(_0x99a2e,_0x41d4e2,_0x4db60e,_0x468ca6,_0x53ff46){const _0x29247c=_0x3bd006;super(),_0x4e10dd(this,_0x29247c(0x229),[]),_0x4e10dd(this,'_cursors',[]),(this['_context']=_0x99a2e,this[_0x29247c(0x339)]=_0x41d4e2,this['_collabCursorController']=_0x4db60e,this[_0x29247c(0x2ed)]=_0x468ca6,this[_0x29247c(0x28e)]=_0x53ff46,this['_init']());}['_init'](){const _0x231e04=_0x3bd006,_0x5251aa=this[_0x231e04(0x31b)][_0x231e04(0x2c2)],_0x55c161=this['_docSkeletonManagerService'];this[_0x231e04(0x11a)](_0x1c33ab[_0x231e04(0x289)]([this[_0x231e04(0x1ee)][_0x231e04(0x1c8)](_0x5251aa),this[_0x231e04(0x28e)]['currentTheme$']])['pipe'](_0x24ffba[_0x231e04(0x249)](([_0x4cda0a,_0x1bede6])=>({'skeleton':_0x55c161['getSkeleton'](),'cursors':[..._0x4cda0a[_0x231e04(0x2bb)]()]['flatMap'](_0x37b469=>({..._0x37b469,'color':this['_themeService']['getColorFromTheme'](_0x37b469[_0x231e04(0x157)])}))})))['subscribe'](_0x33fb1e=>{const _0x1fb95f=_0x231e04;if(this[_0x1fb95f(0x24f)](),_0x33fb1e){const {skeleton:_0x59970a,cursors:_0x38040a}=_0x33fb1e;this[_0x1fb95f(0x18f)](_0x59970a,_0x38040a);}})),this[_0x231e04(0x238)](),this[_0x231e04(0x259)]();}[_0x3bd006(0x18f)](_0x22b30e,_0x441d0e){const _0x25e771=_0x3bd006,{scene:_0x5e1035,mainComponent:_0x365494}=this[_0x25e771(0x31b)],_0x5acd5e=_0x441d0e[_0x25e771(0x249)](_0xa7ca51=>new _0x45c878(_0xa7ca51,_0x5e1035,_0x22b30e,_0x365494));this[_0x25e771(0x229)]=_0x5acd5e,this[_0x25e771(0x25a)]=_0x441d0e;}['_refreshCollabCursors'](){const _0xe3edec=_0x3bd006;this[_0xe3edec(0x24f)]();const {scene:_0x56c57f,mainComponent:_0x3c3084}=this[_0xe3edec(0x31b)],_0x450a98=this[_0xe3edec(0x339)][_0xe3edec(0x1be)](),_0x4b1e5e=this[_0xe3edec(0x25a)][_0xe3edec(0x249)](_0x234e40=>new _0x45c878(_0x234e40,_0x56c57f,_0x450a98,_0x3c3084));this[_0xe3edec(0x229)]=_0x4b1e5e;}[_0x3bd006(0x24f)](){const _0x545a76=_0x3bd006;this[_0x545a76(0x229)][_0x545a76(0x266)](_0x5e5442=>_0x5e5442['dispose']()),this[_0x545a76(0x229)]=[];}[_0x3bd006(0x259)](){const _0x504fec=_0x3bd006,_0x4e388a=[_0x351b83[_0x504fec(0x19c)]['id']];this[_0x504fec(0x11a)](this[_0x504fec(0x2ed)][_0x504fec(0x1cf)](_0x17ac48=>{const _0xa85162=_0x504fec;_0x4e388a[_0xa85162(0x154)](_0x17ac48['id'])&&_0x17ac48[_0xa85162(0x208)][_0xa85162(0x2c2)]===this[_0xa85162(0x31b)]['unitId']&&this[_0xa85162(0x10b)]();}));}['_initResize'](){const _0x116c84=_0x3bd006;this[_0x116c84(0x11a)](_0x3ed267['fromEventSubject'](this[_0x116c84(0x31b)][_0x116c84(0xf2)][_0x116c84(0x2b9)])[_0x116c84(0x1d7)](_0x24ffba[_0x116c84(0x2b4)](_0x52eef7=>_0x52eef7[_0x116c84(0xe2)]===_0x83c5a7['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x24ffba['throttleTime'](0x10))[_0x116c84(0x2fc)](()=>{const _0x3cb701=_0x116c84;this[_0x3cb701(0x10b)]();}));}};_0x5cd99a=_0x352713([_0x268e5c(0x1,_0x3ed267['Inject'](_0x556999[_0x3bd006(0x16e)])),_0x268e5c(0x2,_0x3ed267['Inject'](_0x2ea14f)),_0x268e5c(0x3,_0x3ed267['ICommandService']),_0x268e5c(0x4,_0x3ed267['Inject'](_0x3ed267[_0x3bd006(0x24a)]))],_0x5cd99a);const _0x4cd3df=0x1,_0x4df1f0=1.5;class _0x3c11ea extends _0x83c5a7[_0x3bd006(0x36e)]{constructor(_0x785112,_0x589c5e){const _0x3226e7=_0x3bd006;super(_0x785112,_0x589c5e),_0x4e10dd(this,'_color'),_0x4e10dd(this,_0x3226e7(0xe3),!0x1),_0x4e10dd(this,_0x3226e7(0x143)),_0x4e10dd(this,_0x3226e7(0x239),''),_0x4e10dd(this,'_labelPosition','top'),_0x4e10dd(this,_0x3226e7(0x13e)),(_0x589c5e&&this[_0x3226e7(0x253)](_0x589c5e),this[_0x3226e7(0x31d)][_0x3226e7(0x26e)](()=>this[_0x3226e7(0x253)]({'hovered':!0x0})),this[_0x3226e7(0x111)]['subscribeEvent'](()=>this[_0x3226e7(0x253)]({'hovered':!0x1})));}[_0x3bd006(0x253)](_0x2275b7){const _0x36fa50=_0x3bd006;var _0x5add99,_0x1e8f7d,_0xef2b81,_0x553dda,_0x363b86,_0x169f38;this['_color']=(_0x5add99=_0x2275b7[_0x36fa50(0x157)])!=null?_0x5add99:this[_0x36fa50(0x2a7)],this[_0x36fa50(0xe3)]=(_0x1e8f7d=_0x2275b7[_0x36fa50(0xde)])!=null?_0x1e8f7d:this[_0x36fa50(0xe3)],this[_0x36fa50(0x143)]=(_0xef2b81=_0x2275b7[_0x36fa50(0x2c1)])!=null?_0xef2b81:this[_0x36fa50(0x143)],this[_0x36fa50(0x239)]=(_0x553dda=_0x2275b7[_0x36fa50(0x302)])!=null?_0x553dda:this[_0x36fa50(0x239)],this['_labelPosition']=(_0x363b86=_0x2275b7['labelPosition'])!=null?_0x363b86:this[_0x36fa50(0x1ef)],this[_0x36fa50(0x13e)]=(_0x169f38=_0x2275b7[_0x36fa50(0x2ae)])!=null?_0x169f38:this[_0x36fa50(0x13e)],this[_0x36fa50(0x36b)]({'width':_0x2275b7[_0x36fa50(0x2b3)],'height':_0x2275b7[_0x36fa50(0x34a)]});}[_0x3bd006(0x2d2)](_0x15977d){const _0x2739d1=_0x3bd006,{row:_0x151af5,column:_0x544214}=_0x15977d;if(_0x151af5>=this[_0x2739d1(0x143)][_0x2739d1(0x230)]&&_0x151af5<=this[_0x2739d1(0x143)]['endRow']&&_0x544214>=this[_0x2739d1(0x143)][_0x2739d1(0x317)]&&_0x544214<=this[_0x2739d1(0x143)][_0x2739d1(0x326)]){this[_0x2739d1(0x253)]({'hovered':!0x0});return;}this[_0x2739d1(0x253)]({'hovered':!0x1});}['triggerDblclick'](_0x304743){return!0x1;}['_draw'](_0x18ee87){const _0x461b4e=_0x3bd006;_0x83c5a7[_0x461b4e(0x15e)][_0x461b4e(0x2ee)](_0x18ee87,{'width':this[_0x461b4e(0x2b3)],'height':this[_0x461b4e(0x34a)],'strokeWidth':_0x4df1f0,'stroke':this[_0x461b4e(0x2a7)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x18ee87[_0x461b4e(0x2cf)](),_0x18ee87[_0x461b4e(0x309)](0x1,0x0,0x0,0x1,this[_0x461b4e(0x2b3)],this[_0x461b4e(0x1ef)]===_0x461b4e(0x270)?0x0:-_0x1ba8ec),_0x36e54f[_0x461b4e(0x2ee)](_0x18ee87,{'text':this[_0x461b4e(0x239)],'color':this[_0x461b4e(0x2a7)]}),_0x18ee87[_0x461b4e(0x306)]());}}var _0x268555=Object[_0x3bd006(0x303)],_0x226e9e=(_0x26c7ac,_0x3de1bf,_0x1c1008,_0xe57d96)=>{for(var _0x6d60c4=_0xe57d96>0x1?void 0x0:_0xe57d96?_0x268555(_0x3de1bf,_0x1c1008):_0x3de1bf,_0x1d40e7=_0x26c7ac['length']-0x1,_0x1d41f3;_0x1d40e7>=0x0;_0x1d40e7--)(_0x1d41f3=_0x26c7ac[_0x1d40e7])&&(_0x6d60c4=_0x1d41f3(_0x6d60c4)||_0x6d60c4);return _0x6d60c4;},_0x499585=(_0x98de60,_0x1ffc8e)=>(_0x5ba840,_0x2ce211)=>_0x1ffc8e(_0x5ba840,_0x2ce211,_0x98de60);const _0xa4dd60=0x1389;let _0x1e60a1=class extends _0x3ed267[_0x3bd006(0x297)]{constructor(_0x46fc22,_0x3da785,_0x701d61,_0x5d72d0){const _0x572460=_0x3bd006;super(),_0x4e10dd(this,_0x572460(0x25a),new Set()),_0x4e10dd(this,_0x572460(0x357),null),(this[_0x572460(0x31b)]=_0x46fc22,this['_sheetSkeletonManagerService']=_0x3da785,this[_0x572460(0x1ee)]=_0x701d61,this[_0x572460(0x28e)]=_0x5d72d0,this[_0x572460(0x1d8)]());}[_0x3bd006(0x1d8)](){const _0x396218=_0x3bd006;this[_0x396218(0x32a)][_0x396218(0x22f)][_0x396218(0x1d7)](_0x24ffba[_0x396218(0x168)](this[_0x396218(0x108)]),_0x24ffba['switchMap'](_0x374241=>{const _0x40961a=_0x396218;if(_0x374241){const _0x5bf3b2=_0x374241[_0x40961a(0x1d3)];return _0x1c33ab['combineLatest'](this[_0x40961a(0x1ee)][_0x40961a(0x1c8)](this[_0x40961a(0x31b)]['unitId']),this[_0x40961a(0x28e)][_0x40961a(0x176)])[_0x40961a(0x1d7)](_0x24ffba['map'](([_0x596b35,_0x412b34])=>{const _0x13d475=_0x40961a,_0x8b28ce=new Map();return _0x596b35[_0x13d475(0x266)]((_0x455098,_0x257fbf)=>{const _0x3fde4b=_0x13d475;if(_0x455098[_0x3fde4b(0x1d6)]===_0x5bf3b2){const _0x48fb57={..._0x455098};_0x48fb57[_0x3fde4b(0x157)]=this['_themeService'][_0x3fde4b(0x258)](_0x455098['color']),_0x8b28ce['set'](_0x257fbf,_0x48fb57);}}),{'skeleton':_0x374241,'cursors':_0x8b28ce};}));}return _0x1c33ab['of']({'skeleton':null,'cursors':new Map()});}))[_0x396218(0x2fc)](({skeleton:_0x512afc,cursors:_0x35e5e0})=>{this['_removeCollabCursors'](),_0x512afc&&this['_updateCollabCursors'](_0x512afc,_0x35e5e0);}),this[_0x396218(0x32a)][_0x396218(0x22f)][_0x396218(0x2fc)](_0x2b2a55=>{const _0x271bee=_0x396218;if(_0x2b2a55==null)return;const {skeleton:_0x4436d2}=_0x2b2a55,{scene:_0x1ac6fe}=this[_0x271bee(0x31b)];_0x1ac6fe[_0x271bee(0x103)][_0x271bee(0x26e)](_0x3ed267[_0x271bee(0x35f)](_0x80e683=>{const _0x49d2f9=_0x271bee;var _0x4bbfdd,_0x93ba31;const {offsetX:_0x231bd0,offsetY:_0x368332}=_0x80e683,{x:_0x156714,y:_0x4761b6}=_0x1ac6fe[_0x49d2f9(0x107)](_0x83c5a7[_0x49d2f9(0x286)][_0x49d2f9(0x28f)]([_0x231bd0,_0x368332])),{scaleX:_0x136164,scaleY:_0x560524}=_0x1ac6fe[_0x49d2f9(0x23d)](),_0x11a8a4=_0x1ac6fe[_0x49d2f9(0x2a6)](_0x83c5a7[_0x49d2f9(0x28d)][_0x49d2f9(0x10a)]),_0x16a9e7=_0x1ac6fe['getVpScrollXYInfoByPosToVp'](_0x83c5a7[_0x49d2f9(0x286)][_0x49d2f9(0x28f)]([_0x156714,_0x4761b6]),_0x11a8a4),_0xd564c1=_0x4436d2[_0x49d2f9(0x1b6)](_0x231bd0,_0x368332,_0x136164,_0x560524,_0x16a9e7);((_0x4bbfdd=this[_0x49d2f9(0x357)])==null?void 0x0:_0x4bbfdd[_0x49d2f9(0xdf)])===_0xd564c1[_0x49d2f9(0xdf)]&&((_0x93ba31=this[_0x49d2f9(0x357)])==null?void 0x0:_0x93ba31[_0x49d2f9(0x2b1)])===_0xd564c1[_0x49d2f9(0x2b1)]||this[_0x49d2f9(0x25a)]['forEach'](_0x50b4a5=>{const _0x2cc35e=_0x49d2f9;_0x50b4a5[_0x2cc35e(0x2d2)](_0xd564c1);});},0x64));});}[_0x3bd006(0x18f)](_0x129c7c,_0x4720e4){const _0xa93781=_0x3bd006;var _0x596007;const _0x3be8bd=(_0x596007=this[_0xa93781(0x32a)][_0xa93781(0x19f)]())==null?void 0x0:_0x596007[_0xa93781(0x17a)];if(!_0x3be8bd)return;const _0x434e8c=this[_0xa93781(0xf1)]();if(!_0x434e8c)return;this[_0xa93781(0x25a)][_0xa93781(0x266)](_0x16d766=>{_0x16d766['makeDirty']();});const {scene:_0x3427c8}=_0x434e8c,_0xda8c3e=_0x3f51d5(Array[_0xa93781(0x1ed)](_0x4720e4[_0xa93781(0x2bb)]()))[_0xa93781(0x249)](_0x567e2c=>{const _0x1a96dd=_0xa93781,{color:_0x5897c1,range:_0x5a94aa,name:_0x6cc5d1,selection:_0x267632,sheetID:_0x4454dc}=_0x567e2c,{startColumn:_0x55e0e6,startRow:_0x28d989,endColumn:_0x3c8bbb,endRow:_0x13c942}=_0x5a94aa,_0x503333=_0x2cf434[_0x1a96dd(0xfb)](_0x28d989,_0x55e0e6,_0x3427c8,_0x3be8bd),_0xf90c55=_0x2cf434[_0x1a96dd(0xfb)](_0x13c942,_0x3c8bbb,_0x3427c8,_0x3be8bd),{columnHeaderHeightAndMarginTop:_0x58aa5a}=_0x3be8bd,{startX:_0x29c80d,startY:_0x314f4e}=_0x503333,{endX:_0x17ed0d,endY:_0xa341ba}=_0xf90c55,_0x14d0ed=_0x17ed0d-_0x29c80d,_0x428b96=_0xa341ba-_0x314f4e,_0x415612={'labelPosition':_0x314f4e-_0x58aa5a>=_0x1ba8ec?'top':_0x1a96dd(0x270),'sheetID':_0x4454dc,'range':_0x5a94aa,'color':_0x5897c1,'name':_0x6cc5d1,'selection':_0x267632,'left':_0x29c80d,'top':_0x314f4e,'width':_0x14d0ed,'height':_0x428b96,'evented':!0x1,'zIndex':_0xa4dd60};return new _0x3c11ea(_0x6cc5d1,_0x415612);});_0x3427c8[_0xa93781(0x2a3)](_0xda8c3e,_0x4cd3df),this['_cursors']=new Set(_0xda8c3e);}[_0x3bd006(0x24f)](){const _0x5673ef=_0x3bd006;var _0x15a03e;(_0x15a03e=this['_cursors'])==null||_0x15a03e['forEach'](_0x23dcac=>_0x23dcac[_0x5673ef(0xf9)]());}[_0x3bd006(0xf1)](){const _0x9d4389=_0x3bd006;return _0x2cf434[_0x9d4389(0x2c5)](this[_0x9d4389(0x31b)][_0x9d4389(0x2f1)],this[_0x9d4389(0x31b)]);}};_0x1e60a1=_0x226e9e([_0x499585(0x1,_0x3ed267[_0x3bd006(0x2af)](_0x2cf434[_0x3bd006(0x220)])),_0x499585(0x2,_0x3ed267[_0x3bd006(0x2af)](_0x2ea14f)),_0x499585(0x3,_0x3ed267['Inject'](_0x3ed267['ThemeService']))],_0x1e60a1);function _0x3f51d5(_0x1e6d70){const _0xb3f58f=_0x3bd006,_0x2c9f60=new Map();return _0x1e6d70[_0xb3f58f(0x266)](_0x5da64a=>{const _0x524ca6=_0xb3f58f;if(_0x2c9f60[_0x524ca6(0x22e)](_0x5da64a['selection'])){const _0x2f1533=_0x2c9f60[_0x524ca6(0x20d)](_0x5da64a['selection']);_0x2f1533[_0x524ca6(0x302)]+=',\x20'+_0x5da64a[_0x524ca6(0x302)];}else _0x2c9f60[_0x524ca6(0x247)](_0x5da64a[_0x524ca6(0x2e9)],_0x5da64a);}),Array[_0xb3f58f(0x1ed)](_0x2c9f60[_0xb3f58f(0x2bb)]());}var _0x509803=Object['getOwnPropertyDescriptor'],_0x29e933=(_0x56bcec,_0x27bc6b,_0x5a08e2,_0x435df4)=>{const _0x4b0d5f=_0x3bd006;for(var _0x2946e8=_0x435df4>0x1?void 0x0:_0x435df4?_0x509803(_0x27bc6b,_0x5a08e2):_0x27bc6b,_0x37a50b=_0x56bcec[_0x4b0d5f(0x35a)]-0x1,_0x5681e4;_0x37a50b>=0x0;_0x37a50b--)(_0x5681e4=_0x56bcec[_0x37a50b])&&(_0x2946e8=_0x5681e4(_0x2946e8)||_0x2946e8);return _0x2946e8;},_0x3c702f=(_0x28f0fd,_0x43740c)=>(_0x3d9f34,_0x5a7d0a)=>_0x43740c(_0x3d9f34,_0x5a7d0a,_0x28f0fd);let _0x267ee7=class extends _0x3ed267[_0x3bd006(0xe9)]{constructor(_0x970f80,_0x18985e,_0x218e85,_0xaf49b6,_0x5bebec,_0x20d2ff){const _0x417495=_0x3bd006;super(),this['_beforeCloseService']=_0x970f80,this[_0x417495(0x23e)]=_0x18985e,this[_0x417495(0x140)]=_0x218e85,this[_0x417495(0x212)]=_0xaf49b6,this[_0x417495(0x1cc)]=_0x5bebec,this[_0x417495(0x1b9)]=_0x20d2ff,this['_setupBeforeClosingHandler'](),this[_0x417495(0x214)]();}['_setupBeforeClosingHandler'](){const _0x3d53b3=_0x3bd006;this[_0x3d53b3(0x11a)](this[_0x3d53b3(0x305)][_0x3d53b3(0x19d)](()=>{const _0x2abf58=_0x3d53b3;if(this[_0x2abf58(0x23e)][_0x2abf58(0x375)]['size'])return this[_0x2abf58(0x1b9)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x3bd006(0x214)](){const _0x19c7a8=_0x3bd006;this['disposeWithMe'](this[_0x19c7a8(0x140)]['event$']['subscribe'](_0x257e8f=>{const _0x50d4d2=_0x19c7a8;_0x257e8f['id']===_0x207d2b[_0x50d4d2(0x24b)][_0x50d4d2(0x330)]&&this[_0x50d4d2(0x212)][_0x50d4d2(0x182)]({'type':_0x8cae8d['MessageType'][_0x50d4d2(0x1b8)],'content':this[_0x50d4d2(0x1b9)]['t']('collaboration.single-unit.warning')}),_0x257e8f['id']===_0x207d2b[_0x50d4d2(0x24b)][_0x50d4d2(0x26d)]&&this[_0x50d4d2(0x212)][_0x50d4d2(0x182)]({'type':_0x8cae8d[_0x50d4d2(0x2f3)][_0x50d4d2(0x1b8)],'content':this[_0x50d4d2(0x1b9)]['t'](_0x50d4d2(0x226))}),_0x257e8f['id']===_0x207d2b[_0x50d4d2(0x24b)][_0x50d4d2(0x245)]&&this[_0x50d4d2(0x1cc)][_0x50d4d2(0x182)]({'title':this[_0x50d4d2(0x1b9)]['t'](_0x50d4d2(0x2f7)),'content':this[_0x50d4d2(0x1b9)]['t'](_0x50d4d2(0x2fd)),'type':_0x50d4d2(0x361),'duration':0x0}),_0x257e8f['id']===_0x207d2b[_0x50d4d2(0x24b)][_0x50d4d2(0xec)]&&this[_0x50d4d2(0x212)][_0x50d4d2(0x182)]({'type':_0x8cae8d[_0x50d4d2(0x2f3)][_0x50d4d2(0x364)],'content':this['_localeService']['t'](_0x50d4d2(0x226))+'('+_0x257e8f[_0x50d4d2(0xed)]+')'}),_0x257e8f['id']===_0x207d2b['CollaborationUIEventId'][_0x50d4d2(0x298)]&&this[_0x50d4d2(0x212)][_0x50d4d2(0x182)]({'type':_0x8cae8d[_0x50d4d2(0x2f3)][_0x50d4d2(0x1b8)],'content':this[_0x50d4d2(0x1b9)]['t'](_0x257e8f[_0x50d4d2(0xed)]||'')}),_0x257e8f['id']===_0x207d2b['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x8cae8d[_0x50d4d2(0x2f3)][_0x50d4d2(0x1b8)],'content':this[_0x50d4d2(0x1b9)]['t'](_0x50d4d2(0x128))}),_0x257e8f['id']===_0x207d2b[_0x50d4d2(0x24b)][_0x50d4d2(0x301)]&&this['_messageService']['show']({'type':_0x8cae8d[_0x50d4d2(0x2f3)]['Error'],'content':this[_0x50d4d2(0x1b9)]['t'](_0x50d4d2(0x151))}),_0x257e8f['id']===_0x207d2b[_0x50d4d2(0x24b)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x50d4d2(0x212)][_0x50d4d2(0x182)]({'type':_0x8cae8d[_0x50d4d2(0x2f3)]['Error'],'content':this[_0x50d4d2(0x1b9)]['t'](_0x50d4d2(0x2a0))});}));}};_0x267ee7=_0x29e933([_0x3c702f(0x0,_0x1a0cb9[_0x3bd006(0x1c9)]),_0x3c702f(0x1,_0x207d2b[_0x3bd006(0x1ad)]),_0x3c702f(0x2,_0x3ed267['Inject'](_0x207d2b['CollaborationUIEventService'])),_0x3c702f(0x3,_0x1a0cb9[_0x3bd006(0x163)]),_0x3c702f(0x4,_0x1a0cb9['INotificationService']),_0x3c702f(0x5,_0x3ed267[_0x3bd006(0x2af)](_0x3ed267[_0x3bd006(0x22d)]))],_0x267ee7);const _0x403e0c=_0x3bd006(0x14c),_0x442aeb={};var _0x420ad5=Object[_0x3bd006(0x303)],_0x440379=(_0x25e74d,_0x2db9cc,_0x7bbc9b,_0x592876)=>{const _0x222bb3=_0x3bd006;for(var _0x3c3337=_0x592876>0x1?void 0x0:_0x592876?_0x420ad5(_0x2db9cc,_0x7bbc9b):_0x2db9cc,_0x5eaa05=_0x25e74d[_0x222bb3(0x35a)]-0x1,_0x8ab212;_0x5eaa05>=0x0;_0x5eaa05--)(_0x8ab212=_0x25e74d[_0x5eaa05])&&(_0x3c3337=_0x8ab212(_0x3c3337)||_0x3c3337);return _0x3c3337;},_0x4bce0e=(_0x16c921,_0x4ba6fc)=>(_0x38d32a,_0x3d1d8e)=>_0x4ba6fc(_0x38d32a,_0x3d1d8e,_0x16c921);let _0x20e323=class{constructor(_0x498139,_0x41700f){const _0x39ed60=_0x3bd006;this[_0x39ed60(0x32c)]=_0x498139,this[_0x39ed60(0x1dc)]=_0x41700f;}[_0x3bd006(0x271)](_0x178120){const _0x5d7bc9=_0x3bd006;this[_0x5d7bc9(0x1f5)](_0x178120),this[_0x5d7bc9(0x30b)](_0x178120);}[_0x3bd006(0x2d1)](_0x45a908){const _0x1de2c0=_0x3bd006,{unitID:_0x5df018}=_0x45a908,_0x130d03=this[_0x1de2c0(0x1dc)]['getRenderById'](_0x5df018)['with'](_0x351b83[_0x1de2c0(0x2a5)]),{redoCache:_0x14932c}=_0x130d03[_0x1de2c0(0x1f9)]();if(_0x14932c[_0x1de2c0(0x35a)]===0x0)return _0x45a908;let _0x1eb61c=_0x3ed267[_0x1de2c0(0x1a2)][_0x1de2c0(0x2ec)](_0x45a908[_0x1de2c0(0x211)][0x0]);for(let _0x4be1a2=0x0;_0x4be1a2<_0x14932c[_0x1de2c0(0x35a)];_0x4be1a2++){const _0x588330={'id':_0x1de2c0(0x236),'params':{..._0x14932c[_0x4be1a2]}},_0x3f72c1=this[_0x1de2c0(0x32c)]['transformMutation'](_0x1eb61c,_0x588330,!0x1);if(_0x585638[_0x1de2c0(0x16d)](_0x3f72c1))throw _0x3f72c1['error'];_0x1eb61c=_0x3f72c1[_0x1de2c0(0x34b)];}return{..._0x3ed267[_0x1de2c0(0x1a2)][_0x1de2c0(0x2ec)](_0x45a908),'mutations':[_0x1eb61c]};}['_transformUndoRedoStack'](_0x213f5a){const _0x15ee7d=_0x3bd006,{unitID:_0x1f8ecd}=_0x213f5a,_0x510cc3=this[_0x15ee7d(0x1dc)][_0x15ee7d(0x167)](_0x1f8ecd)[_0x15ee7d(0x17c)](_0x351b83[_0x15ee7d(0x2a5)]),{undoCache:_0x4e819b,redoCache:_0x33a5fb}=_0x510cc3[_0x15ee7d(0x1f9)]();if(_0x4e819b[_0x15ee7d(0x35a)]===0x0||_0x33a5fb[_0x15ee7d(0x35a)]===0x0)return;const _0x4f8e0b=[],_0x259e91=[];let _0xe4433f=_0x3ed267[_0x15ee7d(0x1a2)][_0x15ee7d(0x2ec)](_0x213f5a['mutations'][0x0]),_0x352368=_0x3ed267['Tools'][_0x15ee7d(0x2ec)](_0x213f5a['mutations'][0x0]);for(let _0x4d1944=_0x4e819b['length']-0x1;_0x4d1944>=0x0;_0x4d1944--){const _0x48d64f={'id':_0x15ee7d(0x236),'params':{..._0x4e819b[_0x4d1944]}},_0x908784={'id':_0x15ee7d(0x236),'params':{..._0x33a5fb[_0x4d1944]}},_0x1d1402=this[_0x15ee7d(0x32c)]['transformMutation'](_0xe4433f,_0x48d64f,!0x1),_0x5614b1=this[_0x15ee7d(0x32c)][_0x15ee7d(0x1f7)](_0x352368,_0x908784,!0x1);if(_0x585638[_0x15ee7d(0x16d)](_0x1d1402))throw _0x1d1402[_0x15ee7d(0x361)];if(_0x585638[_0x15ee7d(0x16d)](_0x5614b1))throw _0x5614b1['error'];_0x4f8e0b[_0x15ee7d(0x1e9)](_0x1d1402[_0x15ee7d(0x1e5)][_0x15ee7d(0x208)]),_0x259e91['unshift'](_0x5614b1['m2Prime'][_0x15ee7d(0x208)]),_0xe4433f=_0x1d1402[_0x15ee7d(0x34b)],_0x352368=_0x5614b1['m1Prime'];}_0x510cc3[_0x15ee7d(0x10e)]({'undoCache':_0x4f8e0b,'redoCache':_0x259e91});}[_0x3bd006(0x30b)](_0x2cf237){const _0x472ba7=_0x3bd006,{unitID:_0x518f15}=_0x2cf237,_0x46b167=this[_0x472ba7(0x1dc)]['getRenderById'](_0x518f15)[_0x472ba7(0x17c)](_0x351b83[_0x472ba7(0x2a5)]),_0xe31697=_0x46b167[_0x472ba7(0x345)]();if(_0xe31697==null)return;const _0x53d87e=[{'id':_0x472ba7(0x236),'params':{'unitId':_0x2cf237[_0x472ba7(0x144)],'actions':null,'textRanges':[_0xe31697]}}],_0x4312cb=this[_0x472ba7(0x32c)]['transformMutationsWithChangeset'](_0x2cf237,_0x53d87e);if(!_0x585638[_0x472ba7(0x2b7)](_0x4312cb))throw _0x4312cb[_0x472ba7(0x361)];const _0x50d37b=_0x4312cb['m2Prime'][0x0][_0x472ba7(0x208)]['textRanges'];Array[_0x472ba7(0x18b)](_0x50d37b)&&_0x50d37b[_0x472ba7(0x35a)]&&_0x46b167[_0x472ba7(0x146)](_0x50d37b[0x0]);}};_0x20e323=_0x440379([_0x4bce0e(0x0,_0x585638[_0x3bd006(0x310)]),_0x4bce0e(0x1,_0x83c5a7[_0x3bd006(0xf4)])],_0x20e323);var _0x14a63b=Object[_0x3bd006(0x303)],_0xea58ad=(_0x2b75d3,_0x492990,_0x57f573,_0x6517dc)=>{const _0x21c2ce=_0x3bd006;for(var _0x3d435a=_0x6517dc>0x1?void 0x0:_0x6517dc?_0x14a63b(_0x492990,_0x57f573):_0x492990,_0x5076b9=_0x2b75d3[_0x21c2ce(0x35a)]-0x1,_0x58935c;_0x5076b9>=0x0;_0x5076b9--)(_0x58935c=_0x2b75d3[_0x5076b9])&&(_0x3d435a=_0x58935c(_0x3d435a)||_0x3d435a);return _0x3d435a;},_0x529b03=(_0x290a5a,_0x2ffdde)=>(_0x263d58,_0x1d6839)=>_0x2ffdde(_0x263d58,_0x1d6839,_0x290a5a);let _0x5e5ec5=class{constructor(_0x443d03,_0x1327bc,_0x526d74){const _0x50cdc1=_0x3bd006;this[_0x50cdc1(0x221)]=_0x443d03,this[_0x50cdc1(0x32c)]=_0x1327bc,this[_0x50cdc1(0x206)]=_0x526d74;}[_0x3bd006(0x2bc)](_0x10186b){const _0x5d97cf=_0x3bd006;this[_0x5d97cf(0x1f8)](_0x10186b);}['transformRemoteChangeset'](_0x2c5523){const _0x2bf0e7=_0x3bd006,{unitID:_0x5a592d}=_0x2c5523,{collaboration:_0x182aa1}=this[_0x2bf0e7(0x206)][_0x2bf0e7(0x199)](_0x5a592d);if(_0x182aa1[_0x2bf0e7(0x35a)]===0x0)return _0x2c5523;let _0x3d22fe=_0x3ed267[_0x2bf0e7(0x1a2)][_0x2bf0e7(0x2ec)](_0x2c5523[_0x2bf0e7(0x211)][0x0]);for(let _0xab7d58=0x0;_0xab7d58<_0x182aa1['length'];_0xab7d58++){const _0x163b2d={'id':_0x2bf0e7(0x236),'params':{'unitId':_0x182aa1[_0xab7d58][_0x2bf0e7(0x2c2)],..._0x182aa1[_0xab7d58][_0x2bf0e7(0x358)]}},_0x1efb4a=this[_0x2bf0e7(0x32c)][_0x2bf0e7(0x1f7)](_0x3d22fe,_0x163b2d,!0x1);if(_0x585638['isTransformMutationFailure'](_0x1efb4a))throw _0x1efb4a['error'];_0x3d22fe=_0x1efb4a[_0x2bf0e7(0x34b)];}return{..._0x3ed267[_0x2bf0e7(0x1a2)][_0x2bf0e7(0x2ec)](_0x2c5523),'mutations':[_0x3d22fe]};}['_transformHistoryAndStateStack'](_0x228132){const _0x145b0a=_0x3bd006,{unitID:_0x23c06d}=_0x228132,{history:_0x33868f,collaboration:_0x4ee0f2}=this['_docStateChangeManagerService'][_0x145b0a(0x199)](_0x23c06d);if(_0x33868f[_0x145b0a(0x35a)]===0x0&&_0x4ee0f2['length']===0x0)return;const _0x107f44=[],_0x590c76=[];let _0x668e73=_0x3ed267['Tools'][_0x145b0a(0x2ec)](_0x228132['mutations'][0x0]),_0x34dab8=_0x3ed267[_0x145b0a(0x1a2)][_0x145b0a(0x2ec)](_0x228132[_0x145b0a(0x211)][0x0]);for(let _0x182b6c=_0x33868f[_0x145b0a(0x35a)]-0x1;_0x182b6c>=0x0;_0x182b6c--){const _0x146431={'id':_0x145b0a(0x236),'params':{'unitId':_0x33868f[_0x182b6c]['unitId'],..._0x33868f[_0x182b6c][_0x145b0a(0x2ff)]}},_0xfc37e6={'id':_0x145b0a(0x236),'params':{'unitId':_0x33868f[_0x182b6c][_0x145b0a(0x2c2)],..._0x33868f[_0x182b6c][_0x145b0a(0x358)]}},_0x3a0685=this[_0x145b0a(0x32c)][_0x145b0a(0x1f7)](_0x668e73,_0x146431,!0x1),_0x424b06=this[_0x145b0a(0x32c)][_0x145b0a(0x1f7)](_0x34dab8,_0xfc37e6,!0x1);if(_0x585638[_0x145b0a(0x16d)](_0x3a0685))throw _0x3a0685[_0x145b0a(0x361)];if(_0x585638[_0x145b0a(0x16d)](_0x424b06))throw _0x424b06['error'];_0x107f44['unshift']({..._0x33868f[_0x182b6c],'undoState':_0x3a0685['m2Prime']['params'],'redoState':_0x424b06[_0x145b0a(0x1e5)]['params']}),_0x668e73=_0x3a0685[_0x145b0a(0x34b)],_0x34dab8=_0x424b06['m1Prime'];}_0x668e73=_0x3ed267[_0x145b0a(0x1a2)][_0x145b0a(0x2ec)](_0x228132[_0x145b0a(0x211)][0x0]),_0x34dab8=_0x3ed267['Tools']['deepClone'](_0x228132[_0x145b0a(0x211)][0x0]);for(let _0x22c790=_0x4ee0f2[_0x145b0a(0x35a)]-0x1;_0x22c790>=0x0;_0x22c790--){const _0x258692={'id':_0x145b0a(0x236),'params':{'unitId':_0x4ee0f2[_0x22c790]['unitId'],..._0x4ee0f2[_0x22c790][_0x145b0a(0x2ff)]}},_0x10758d={'id':_0x145b0a(0x236),'params':{'unitId':_0x4ee0f2[_0x22c790][_0x145b0a(0x2c2)],..._0x4ee0f2[_0x22c790][_0x145b0a(0x358)]}},_0x14e043=this['_transformService']['transformMutation'](_0x668e73,_0x258692,!0x1),_0x49200f=this[_0x145b0a(0x32c)][_0x145b0a(0x1f7)](_0x34dab8,_0x10758d,!0x1);if(_0x585638[_0x145b0a(0x16d)](_0x14e043))throw _0x14e043[_0x145b0a(0x361)];if(_0x585638[_0x145b0a(0x16d)](_0x49200f))throw _0x49200f['error'];_0x590c76[_0x145b0a(0x1e9)]({..._0x4ee0f2[_0x22c790],'undoState':_0x14e043[_0x145b0a(0x1e5)][_0x145b0a(0x208)],'redoState':_0x49200f['m2Prime'][_0x145b0a(0x208)]}),_0x668e73=_0x14e043[_0x145b0a(0x34b)],_0x34dab8=_0x49200f[_0x145b0a(0x34b)];}this[_0x145b0a(0x206)][_0x145b0a(0x118)](_0x23c06d,{'history':_0x107f44,'collaboration':_0x590c76});}};_0x5e5ec5=_0xea58ad([_0x529b03(0x0,_0x3ed267[_0x3bd006(0x2af)](_0x3ed267[_0x3bd006(0x1f1)])),_0x529b03(0x1,_0x585638[_0x3bd006(0x310)]),_0x529b03(0x2,_0x3ed267[_0x3bd006(0x2af)](_0x351b83[_0x3bd006(0x1da)]))],_0x5e5ec5);var _0x21aaf8=Object[_0x3bd006(0x303)],_0xb270af=(_0x892d85,_0x1ce7b0,_0x4ebcbf,_0x22f73c)=>{const _0x1efa83=_0x3bd006;for(var _0x5e6a16=_0x22f73c>0x1?void 0x0:_0x22f73c?_0x21aaf8(_0x1ce7b0,_0x4ebcbf):_0x1ce7b0,_0x32ced8=_0x892d85[_0x1efa83(0x35a)]-0x1,_0x35cca7;_0x32ced8>=0x0;_0x32ced8--)(_0x35cca7=_0x892d85[_0x32ced8])&&(_0x5e6a16=_0x35cca7(_0x5e6a16)||_0x5e6a16);return _0x5e6a16;},_0x204f84=(_0x165fd1,_0x2d576a)=>(_0x250626,_0x2f4a39)=>_0x2d576a(_0x250626,_0x2f4a39,_0x165fd1);let _0xec3be6=class{constructor(_0x133da2,_0x2b6ede){const _0x537fc5=_0x3bd006;this[_0x537fc5(0x221)]=_0x133da2,this[_0x537fc5(0x32c)]=_0x2b6ede;}['transformSelections'](_0x4ad9aa){const _0x385ec3=_0x3bd006;var _0x4e39e1;const _0x6772e4=this[_0x385ec3(0x221)][_0x385ec3(0x20d)](_0x556999['DocSelectionManagerService']),_0x20ad1e=(_0x4e39e1=_0x6772e4[_0x385ec3(0x2d5)]())!=null?_0x4e39e1:[];if(_0x20ad1e[_0x385ec3(0x35a)]===0x0)return;const _0x3b7491=_0x4ad9aa[_0x385ec3(0x144)],_0x320bb8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b7491,'actions':null,'textRanges':_0x20ad1e}}],_0x500251=this[_0x385ec3(0x32c)]['transformMutationsWithChangeset'](_0x4ad9aa,_0x320bb8);if(!_0x585638[_0x385ec3(0x2b7)](_0x500251))throw _0x500251[_0x385ec3(0x361)];const _0x3734a7=_0x500251[_0x385ec3(0x1e5)][0x0]['params']['textRanges'];Array['isArray'](_0x3734a7)&&_0x3734a7[_0x385ec3(0x35a)]&&_0x6772e4['replaceDocRanges'](_0x3734a7,{'unitId':_0x3b7491,'subUnitId':_0x3b7491},!0x1);}};_0xec3be6=_0xb270af([_0x204f84(0x0,_0x3ed267[_0x3bd006(0x2af)](_0x3ed267[_0x3bd006(0x1f1)])),_0x204f84(0x1,_0x585638[_0x3bd006(0x310)])],_0xec3be6);var _0x16b686=Object[_0x3bd006(0x303)],_0x2214d4=(_0x187b14,_0x356665,_0x2e750e,_0x43c5f7)=>{for(var _0x1321ac=_0x43c5f7>0x1?void 0x0:_0x43c5f7?_0x16b686(_0x356665,_0x2e750e):_0x356665,_0x33449a=_0x187b14['length']-0x1,_0x5b8263;_0x33449a>=0x0;_0x33449a--)(_0x5b8263=_0x187b14[_0x33449a])&&(_0x1321ac=_0x5b8263(_0x1321ac)||_0x1321ac);return _0x1321ac;},_0x38cbf5=(_0x2f0951,_0x308d7a)=>(_0x3b14fe,_0x5b2f84)=>_0x308d7a(_0x3b14fe,_0x5b2f84,_0x2f0951);let _0x2af404=class extends _0x3ed267[_0x3bd006(0xe9)]{constructor(_0x3e8022,_0xec1adc,_0x1cb362,_0x709822,_0x583647,_0x31df31,_0x181730,_0x29f5c5){const _0x4826fe=_0x3bd006;super(),_0x4e10dd(this,_0x4826fe(0x251),new _0x1c33ab[(_0x4826fe(0x2d0))](_0x207d2b[_0x4826fe(0x243)][_0x4826fe(0x374)])),(this['_docStateChangeManagerService']=_0x3e8022,this['_collaborationController']=_0xec1adc,this[_0x4826fe(0x1de)]=_0x1cb362,this[_0x4826fe(0x2d9)]=_0x709822,this[_0x4826fe(0x23b)]=_0x583647,this['_docSyncEditingCollabCursorService']=_0x31df31,this[_0x4826fe(0x212)]=_0x181730,this[_0x4826fe(0x1b9)]=_0x29f5c5,this[_0x4826fe(0x25e)]());}[_0x3bd006(0x25e)](){const _0x4ff97f=_0x3bd006;this[_0x4ff97f(0x11a)](this['_collaborationController'][_0x4ff97f(0x1c5)][_0x4ff97f(0x2fc)](_0x20ffae=>{const _0xb5908e=_0x4ff97f,_0x3b4675=this['_docStateChangeManagerService'][_0xb5908e(0x26a)][_0xb5908e(0x2fc)](_0x599a47=>{const _0x4562b3=_0xb5908e;if(_0x599a47==null)return;const {unitId:_0x40aab9,redoState:_0x30e9c6,commandId:_0x9be6be}=_0x599a47;if(_0x40aab9!==_0x20ffae[_0x4562b3(0x144)])return;const _0x4d949a={'id':_0x9be6be,'type':_0x3ed267[_0x4562b3(0x158)]['MUTATION'],'params':{'unitId':_0x40aab9,'actions':_0x30e9c6['actions'],'textRanges':null}};_0x20ffae[_0x4562b3(0x29b)](_0x4d949a);});if(_0x20ffae[_0xb5908e(0x11a)](_0x3b4675),_0x20ffae instanceof _0x207d2b[_0xb5908e(0x263)]){const _0x1055ec={'onTransformIME':_0x303dcc=>this['_docTransformIMECacheService'][_0xb5908e(0x271)](_0x303dcc),'onTransformState':_0x2efb8d=>this[_0xb5908e(0x2d9)]['transformStateCache'](_0x2efb8d),'onTransformSelections':_0x2a388d=>this['_docTransformSelectionsService'][_0xb5908e(0x12c)](_0x2a388d),'onSyncEditingCollabCursor':_0xd4df4b=>this[_0xb5908e(0x359)][_0xb5908e(0x2de)](_0xd4df4b),'onTransformRemoteChangesetByIMECache':_0x3ae732=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x3ae732),'onTransformRemoteChangesetByStateCache':_0x56dae8=>this['_docTransformStateCacheService'][_0xb5908e(0x2d1)](_0x56dae8)};_0x20ffae[_0xb5908e(0x15d)](_0x1055ec);}}));}};_0x2af404=_0x2214d4([_0x38cbf5(0x0,_0x3ed267[_0x3bd006(0x2af)](_0x351b83[_0x3bd006(0x1da)])),_0x38cbf5(0x1,_0x3ed267[_0x3bd006(0x2af)](_0x207d2b[_0x3bd006(0x37b)])),_0x38cbf5(0x2,_0x3ed267[_0x3bd006(0x2af)](_0x20e323)),_0x38cbf5(0x3,_0x3ed267['Inject'](_0x5e5ec5)),_0x38cbf5(0x4,_0x3ed267[_0x3bd006(0x2af)](_0xec3be6)),_0x38cbf5(0x5,_0x3ed267[_0x3bd006(0x2af)](_0x2b068f)),_0x38cbf5(0x6,_0x1a0cb9['IMessageService']),_0x38cbf5(0x7,_0x3ed267[_0x3bd006(0x2af)](_0x3ed267[_0x3bd006(0x22d)]))],_0x2af404);var _0x30d31b=Object['getOwnPropertyDescriptor'],_0x36abd6=(_0x33d1fb,_0x3b760b,_0x2688d8,_0x468746)=>{const _0x2913d9=_0x3bd006;for(var _0x240031=_0x468746>0x1?void 0x0:_0x468746?_0x30d31b(_0x3b760b,_0x2688d8):_0x3b760b,_0x18d81b=_0x33d1fb[_0x2913d9(0x35a)]-0x1,_0x4150be;_0x18d81b>=0x0;_0x18d81b--)(_0x4150be=_0x33d1fb[_0x18d81b])&&(_0x240031=_0x4150be(_0x240031)||_0x240031);return _0x240031;},_0x4ef94b=(_0x5616bd,_0x52f105)=>(_0x4b2ff7,_0x324045)=>_0x52f105(_0x4b2ff7,_0x324045,_0x5616bd);let _0x4b0338=class extends _0x3ed267[_0x3bd006(0xe9)]{constructor(_0x4bce7e,_0x1155e9,_0x7d36eb){const _0x1b5379=_0x3bd006;super(),_0x4e10dd(this,_0x1b5379(0x145),new Map()),_0x4e10dd(this,_0x1b5379(0xf8),new Map()),_0x4e10dd(this,_0x1b5379(0x378),!0x1),(this[_0x1b5379(0x2ab)]=_0x4bce7e,this[_0x1b5379(0x26f)]=_0x1155e9,this[_0x1b5379(0x300)]=_0x7d36eb);}[_0x3bd006(0x22a)](){const _0x2b278b=_0x3bd006;this[_0x2b278b(0x378)]=!0x0;}[_0x3bd006(0x1a8)](){const _0x6c05fe=_0x3bd006;this[_0x6c05fe(0x378)]=!0x1;}get[_0x3bd006(0x375)](){const _0x5a1c6a=_0x3bd006;return this[_0x5a1c6a(0xf8)];}[_0x3bd006(0xf9)](){const _0x21e796=_0x3bd006;this[_0x21e796(0x24e)]()[_0x21e796(0x1a1)](()=>super['dispose']());}async[_0x3bd006(0x34d)](_0x107bff){const _0x4828d3=_0x3bd006;return this[_0x4828d3(0x378)]?null:this['_localStorageService']['getItem'](_0x207d2b[_0x4828d3(0x198)](_0x107bff));}async['saveOfflineData'](_0x1de191,_0x194b26){const _0x2877d7=_0x3bd006;return!!this[_0x2877d7(0x26f)][_0x2877d7(0x204)](_0x1de191,_0x194b26);}['updateOfflineData'](_0x549f97,_0x42e58c,_0x26ef4f,_0x23b814){const _0x558f8f=_0x3bd006,_0x93aa7b=this[_0x558f8f(0x300)]['getCurrentRevOfUnit'](_0x549f97);this[_0x558f8f(0x145)]['set'](_0x549f97,{'unitID':_0x549f97,'type':_0x42e58c,'awaitingChangeset':_0x26ef4f,'mutations':_0x23b814,'rev':_0x93aa7b}),this['_saveTaskMap'][_0x558f8f(0x22e)](_0x549f97)||this[_0x558f8f(0x1d4)](_0x549f97);}[_0x3bd006(0x1d4)](_0x5c716e){const _0x1f50be=_0x3bd006,_0x5d96d4=this[_0x1f50be(0x30f)]();_0x5d96d4===0x0?this[_0x1f50be(0x223)](_0x5c716e):this[_0x1f50be(0xf8)]['set'](_0x5c716e,setTimeout(()=>this[_0x1f50be(0x223)](_0x5c716e),_0x5d96d4));}[_0x3bd006(0x30f)](){const _0x374f1c=_0x3bd006;var _0x569e48;return(_0x569e48=this[_0x374f1c(0x2ab)][_0x374f1c(0x172)](_0x207d2b['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x569e48:_0x207d2b[_0x374f1c(0x205)];}[_0x3bd006(0x223)](_0x5e89b1){const _0x2303c5=_0x3bd006,_0x391c50=this['_saveTaskMap'][_0x2303c5(0x20d)](_0x5e89b1);return _0x391c50!==void 0x0&&window[_0x2303c5(0x17f)](_0x391c50),this[_0x2303c5(0x26f)]['setItem'](_0x207d2b['getLocalCacheKey'](_0x5e89b1),this[_0x2303c5(0x145)][_0x2303c5(0x20d)](_0x5e89b1))[_0x2303c5(0x1a1)](()=>this['_saveTaskMap'][_0x2303c5(0x363)](_0x5e89b1));}async[_0x3bd006(0x24e)](){const _0x8057c4=_0x3bd006,_0x2a4cad=[];this['_saveTaskMap'][_0x8057c4(0x266)]((_0x1c02f0,_0x2c00ef)=>{const _0x2c2f5e=_0x8057c4;window[_0x2c2f5e(0x17f)](_0x1c02f0),_0x2a4cad['push'](this[_0x2c2f5e(0x223)](_0x2c00ef)[_0x2c2f5e(0x1a1)](()=>{const _0x5ebda0=_0x2c2f5e;this[_0x5ebda0(0xf8)][_0x5ebda0(0x363)](_0x2c00ef);}));}),await Promise[_0x8057c4(0x33c)](_0x2a4cad);}};_0x4b0338=_0x36abd6([_0x4ef94b(0x0,_0x3ed267['IConfigService']),_0x4ef94b(0x1,_0x3ed267[_0x3bd006(0x2c6)]),_0x4ef94b(0x2,_0x3ed267['Inject'](_0x585638[_0x3bd006(0x33a)]))],_0x4b0338);class _0x306590 extends _0x3ed267[_0x3bd006(0x297)]{constructor(){const _0x52350a=_0x3bd006;super(),_0x4e10dd(this,_0x52350a(0x33d)),this[_0x52350a(0x33d)]=_0x1c33ab[_0x52350a(0x1b5)](window,_0x52350a(0x29f))[_0x52350a(0x1d7)](_0x1c33ab[_0x52350a(0x168)](this['dispose$']),_0x1c33ab[_0x52350a(0x1ea)](0x1),_0x1c33ab['mapTo'](void 0x0));}['setParam'](_0x36e2a7,_0x2e2716,_0x323871=!0x1){const _0x37e71b=_0x3bd006,_0x4f7696=new URL(window[_0x37e71b(0x281)][_0x37e71b(0x33e)]);_0x4f7696[_0x37e71b(0x224)][_0x37e71b(0x247)](_0x36e2a7,_0x2e2716),_0x323871?window['history']['replaceState']('','',_0x4f7696[_0x37e71b(0x2a8)]()):window[_0x37e71b(0x320)][_0x37e71b(0x102)]('','',_0x4f7696[_0x37e71b(0x2a8)]());}[_0x3bd006(0x25c)](_0x574aa9,_0x75e348=!0x1){const _0x24fc66=_0x3bd006,_0x4d2a07=new URL(window[_0x24fc66(0x281)][_0x24fc66(0x33e)]);_0x4d2a07[_0x24fc66(0x224)][_0x24fc66(0x363)](_0x574aa9),_0x75e348?window[_0x24fc66(0x320)]['replaceState']('','',_0x4d2a07['toString']()):window[_0x24fc66(0x320)][_0x24fc66(0x102)]('','',_0x4d2a07[_0x24fc66(0x2a8)]());}[_0x3bd006(0x366)](_0x422e2d){const _0x5d0401=_0x3bd006;var _0x1f7288;return(_0x1f7288=new URL(window[_0x5d0401(0x281)][_0x5d0401(0x33e)])['searchParams']['get'](_0x422e2d))!=null?_0x1f7288:void 0x0;}}var _0x5ce957=Object[_0x3bd006(0x1ce)],_0x16a1c9=Object[_0x3bd006(0x303)],_0x4f0f3e=(_0x3eae22,_0x31c245,_0x2e7aa6)=>_0x31c245 in _0x3eae22?_0x5ce957(_0x3eae22,_0x31c245,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e7aa6}):_0x3eae22[_0x31c245]=_0x2e7aa6,_0x29fa5f=(_0x7f8412,_0x38f08d,_0x5893cd,_0x2149aa)=>{for(var _0x90f840=_0x2149aa>0x1?void 0x0:_0x2149aa?_0x16a1c9(_0x38f08d,_0x5893cd):_0x38f08d,_0x5c389f=_0x7f8412['length']-0x1,_0x5bbbf4;_0x5c389f>=0x0;_0x5c389f--)(_0x5bbbf4=_0x7f8412[_0x5c389f])&&(_0x90f840=_0x5bbbf4(_0x90f840)||_0x90f840);return _0x90f840;},_0x306b57=(_0x3d7998,_0x1ed735)=>(_0xce2e3b,_0x52e6b3)=>_0x1ed735(_0xce2e3b,_0x52e6b3,_0x3d7998),_0x24bde0=(_0x5adfc4,_0xd8d6cb,_0x1185c0)=>_0x4f0f3e(_0x5adfc4,_0xd8d6cb+'',_0x1185c0);const _0x50f952=_0x3bd006(0x179);_0x8c9c05[_0x3bd006(0x100)]=class extends _0x3ed267[_0x3bd006(0x323)]{constructor(_0x3f4d8d=_0x442aeb,_0x31e082,_0x20eaea,_0x3068ab){const _0x4f860f=_0x3bd006;super(),this[_0x4f860f(0xf6)]=_0x3f4d8d,this[_0x4f860f(0x1dc)]=_0x31e082,this[_0x4f860f(0x221)]=_0x20eaea,this[_0x4f860f(0x2ab)]=_0x3068ab;const {..._0x3e2f0d}=_0x3ed267[_0x4f860f(0x152)]({},_0x442aeb,this[_0x4f860f(0xf6)]);this[_0x4f860f(0x2ab)][_0x4f860f(0x334)](_0x403e0c,_0x3e2f0d);}[_0x3bd006(0x234)](){const _0x293ba4=_0x3bd006;this['_registerDependencies'](),this[_0x293ba4(0x1b4)]();}['onRendered'](){const _0x4eea11=_0x3bd006;this[_0x4eea11(0x2ea)]();}['_registerDependencies'](){const _0x5b7c3d=_0x3bd006;var _0x199b33;const _0x5eb9c2=[[_0x55e3bb],[_0xec3be6],[_0x20e323],[_0x5e5ec5],[_0x2b068f],[_0x5a7e26,{'useClass':_0x306590}],[_0xbddb2a['ISocketService'],{'useClass':_0xbddb2a['WebSocketService']}],[_0x207d2b[_0x5b7c3d(0x1ad)],{'useClass':_0x4b0338}],[_0x8c9c05[_0x5b7c3d(0x240)]],[_0x2af404],[_0x267ee7],[_0x2ea14f],[_0xc0cc2b],[_0x8c9c05[_0x5b7c3d(0x1b7)]]];_0x3ed267['registerDependencies'](this[_0x5b7c3d(0x221)],_0x3ed267[_0x5b7c3d(0x242)](_0x5eb9c2,(_0x199b33=this['_config'])==null?void 0x0:_0x199b33['override']));}[_0x3bd006(0x2ea)](){const _0x468103=_0x3bd006;this[_0x468103(0x11a)](this['_renderManagerService'][_0x468103(0x373)](_0x3ed267[_0x468103(0x2a4)]['UNIVER_DOC'],[_0x5cd99a])),this['disposeWithMe'](this[_0x468103(0x1dc)][_0x468103(0x373)](_0x3ed267[_0x468103(0x2a4)][_0x468103(0x25b)],[_0x1e60a1]));}[_0x3bd006(0x1b4)](){const _0x370839=_0x3bd006;_0x3ed267[_0x370839(0x19a)](this[_0x370839(0x221)],[[_0x2ea14f],[_0x8c9c05[_0x370839(0x240)]],[_0x2af404],[_0x267ee7],[_0x8c9c05['CollaborationDataLoaderController']]]);}},_0x24bde0(_0x8c9c05[_0x3bd006(0x100)],_0x3bd006(0x2d4),_0x50f952),_0x8c9c05[_0x3bd006(0x100)]=_0x29fa5f([_0x3ed267[_0x3bd006(0x2e2)](_0x207d2b['UniverCollaborationClientPlugin']),_0x306b57(0x1,_0x83c5a7[_0x3bd006(0xf4)]),_0x306b57(0x2,_0x3ed267[_0x3bd006(0x2af)](_0x3ed267[_0x3bd006(0x1f1)])),_0x306b57(0x3,_0x3ed267[_0x3bd006(0x332)])],_0x8c9c05[_0x3bd006(0x100)]);var _0x2130c3=Object[_0x3bd006(0x303)],_0x52c886=(_0x426053,_0x99a9ef,_0x5906ce,_0x45b3fa)=>{for(var _0x5ddc23=_0x45b3fa>0x1?void 0x0:_0x45b3fa?_0x2130c3(_0x99a9ef,_0x5906ce):_0x99a9ef,_0x32b709=_0x426053['length']-0x1,_0x3dbfb2;_0x32b709>=0x0;_0x32b709--)(_0x3dbfb2=_0x426053[_0x32b709])&&(_0x5ddc23=_0x3dbfb2(_0x5ddc23)||_0x5ddc23);return _0x5ddc23;},_0x4917f5=(_0x3071f2,_0x9d8142)=>(_0x5a8e2d,_0x37866c)=>_0x9d8142(_0x5a8e2d,_0x37866c,_0x3071f2);_0x8c9c05[_0x3bd006(0x112)]=class extends _0x207d2b[_0x3bd006(0x1b1)]{constructor(_0x16ce75,_0x2dfeff,_0x37b31a,_0x141da3,_0x21ce47){super(_0x16ce75,_0x2dfeff,_0x37b31a,_0x141da3,_0x21ce47);}async[_0x3bd006(0x30c)](_0x392d76){const _0x4ab298=_0x3bd006,_0x13bb7b=await this['_getSessionTicket'](),_0x36e929=this[_0x4ab298(0xe5)](_0x392d76,_0x13bb7b);return this[_0x4ab298(0x197)](_0x36e929);}[_0x3bd006(0xe5)](_0x2d978a,_0x3d79c3){const _0x23e5cb=_0x3bd006,_0x1f12a1=typeof window>'u'?new URL(_0x2d978a):new URL(_0x2d978a,window['location'][_0x23e5cb(0x10c)]);_0x1f12a1['searchParams'][_0x23e5cb(0x247)](_0x23e5cb(0x32d),_0x3d79c3);const _0x2d10fb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x23e5cb(0x281)][_0x23e5cb(0x148)]);return _0x2d10fb[_0x23e5cb(0x20d)]('runId')&&_0x1f12a1[_0x23e5cb(0x224)][_0x23e5cb(0x247)](_0x23e5cb(0x28a),_0x2d10fb['get']('runId')),_0x1f12a1[_0x23e5cb(0x2a8)]();}async['_getSessionTicket'](){const _0x4ddb58=_0x3bd006;var _0xc8fb71,_0x26fd4c,_0x35afb7;const _0xc6910a=this['_configService'][_0x4ddb58(0x172)](_0x207d2b[_0x4ddb58(0x2dd)]),_0x1a5df0=(_0xc8fb71=_0xc6910a==null?void 0x0:_0xc6910a[_0x4ddb58(0x181)])!=null?_0xc8fb71:_0x207d2b[_0x4ddb58(0x1a5)];return(_0x35afb7=(_0x26fd4c=(await this[_0x4ddb58(0x193)][_0x4ddb58(0x20d)](_0x1a5df0,{'headers':{'Content-Type':_0x4ddb58(0xf5)}}))[_0x4ddb58(0x342)])==null?void 0x0:_0x26fd4c[_0x4ddb58(0x34e)])!=null?_0x35afb7:'';}},_0x8c9c05[_0x3bd006(0x112)]=_0x52c886([_0x4917f5(0x0,_0x3ed267[_0x3bd006(0x2af)](_0x3ed267['Injector'])),_0x4917f5(0x1,_0x3ed267[_0x3bd006(0x2af)](_0xbddb2a[_0x3bd006(0x32f)])),_0x4917f5(0x2,_0x3ed267['IConfigService']),_0x4917f5(0x3,_0x3ed267[_0x3bd006(0x222)]),_0x4917f5(0x4,_0x585638[_0x3bd006(0x36c)])],_0x8c9c05['BrowserCollaborationSocketService']);var _0x321434=(_0x1348ca=>(_0x1348ca[_0x1348ca[_0x3bd006(0x2bd)]=0x0]=_0x3bd006(0x2bd),_0x1348ca[_0x1348ca['OK']=0x1]='OK',_0x1348ca[_0x1348ca[_0x3bd006(0x1e7)]=0x2]=_0x3bd006(0x1e7),_0x1348ca[_0x1348ca[_0x3bd006(0x245)]=0x3]=_0x3bd006(0x245),_0x1348ca[_0x1348ca[_0x3bd006(0x1b2)]=0x4]='NOT_FOUND',_0x1348ca[_0x1348ca[_0x3bd006(0x135)]=0x5]=_0x3bd006(0x135),_0x1348ca[_0x1348ca[_0x3bd006(0x142)]=0x6]=_0x3bd006(0x142),_0x1348ca[_0x1348ca[_0x3bd006(0x2f6)]=0x7]=_0x3bd006(0x2f6),_0x1348ca[_0x1348ca[_0x3bd006(0x20c)]=0x8]=_0x3bd006(0x20c),_0x1348ca[_0x1348ca[_0x3bd006(0x344)]=0x9]=_0x3bd006(0x344),_0x1348ca[_0x1348ca[_0x3bd006(0x184)]=0xa]=_0x3bd006(0x184),_0x1348ca[_0x1348ca[_0x3bd006(0x13d)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1348ca[_0x1348ca[_0x3bd006(0x2ce)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1348ca[_0x1348ca[_0x3bd006(0x36f)]=0xd]=_0x3bd006(0x36f),_0x1348ca[_0x1348ca[_0x3bd006(0x1dd)]=0xe]=_0x3bd006(0x1dd),_0x1348ca[_0x1348ca[_0x3bd006(0x12b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1348ca[_0x1348ca['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1348ca[_0x1348ca[_0x3bd006(0x203)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1348ca[_0x1348ca[_0x3bd006(0x2bf)]=0x1773]=_0x3bd006(0x2bf),_0x1348ca[_0x1348ca[_0x3bd006(0x1e2)]=0x1b59]=_0x3bd006(0x1e2),_0x1348ca[_0x1348ca[_0x3bd006(0x174)]=0x1b5a]=_0x3bd006(0x174),_0x1348ca[_0x1348ca[_0x3bd006(0x368)]=0x1b5b]=_0x3bd006(0x368),_0x1348ca[_0x1348ca[_0x3bd006(0x274)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1348ca[_0x1348ca[_0x3bd006(0x299)]=0x1b5d]=_0x3bd006(0x299),_0x1348ca[_0x1348ca[_0x3bd006(0x351)]=0x1f41]=_0x3bd006(0x351),_0x1348ca[_0x1348ca[_0x3bd006(0x321)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1348ca[_0x1348ca[_0x3bd006(0x2e6)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1348ca[_0x1348ca[_0x3bd006(0x2e0)]=0x232b]=_0x3bd006(0x2e0),_0x1348ca[_0x1348ca[_0x3bd006(0x261)]=0x232c]=_0x3bd006(0x261),_0x1348ca[_0x1348ca['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3bd006(0x1a6),_0x1348ca[_0x1348ca[_0x3bd006(0x35e)]=0x2711]=_0x3bd006(0x35e),_0x1348ca[_0x1348ca[_0x3bd006(0x2c8)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1348ca[_0x1348ca[_0x3bd006(0x1f2)]=0x2713]=_0x3bd006(0x1f2),_0x1348ca[_0x1348ca[_0x3bd006(0x32b)]=0x2714]=_0x3bd006(0x32b),_0x1348ca[_0x1348ca[_0x3bd006(0x1c0)]=0x271a]=_0x3bd006(0x1c0),_0x1348ca[_0x1348ca[_0x3bd006(0xeb)]=0x271b]=_0x3bd006(0xeb),_0x1348ca[_0x1348ca[_0x3bd006(0x27c)]=0x271c]=_0x3bd006(0x27c),_0x1348ca[_0x1348ca[_0x3bd006(0x246)]=0x271d]=_0x3bd006(0x246),_0x1348ca[_0x1348ca[_0x3bd006(0x1a9)]=0x271e]=_0x3bd006(0x1a9),_0x1348ca[_0x1348ca[_0x3bd006(0x1f0)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1348ca[_0x1348ca['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3bd006(0x171),_0x1348ca[_0x1348ca['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x3bd006(0x1e3),_0x1348ca[_0x1348ca['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3bd006(0x180),_0x1348ca[_0x1348ca[_0x3bd006(0x122)]=0x2ee2]=_0x3bd006(0x122),_0x1348ca[_0x1348ca[_0x3bd006(0x327)]=0x2ee3]=_0x3bd006(0x327),_0x1348ca[_0x1348ca[_0x3bd006(0xe1)]=0x2ee4]=_0x3bd006(0xe1),_0x1348ca[_0x1348ca[_0x3bd006(0x17b)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1348ca[_0x1348ca[_0x3bd006(0x2cd)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1348ca[_0x1348ca[_0x3bd006(0x21c)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1348ca[_0x1348ca['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x3bd006(0x31a),_0x1348ca[_0x1348ca[_0x3bd006(0xdc)]=-0x1]=_0x3bd006(0xdc),_0x1348ca))(_0x321434||{}),_0x44ee51=Object[_0x3bd006(0x303)],_0x346bc0=(_0x512cb8,_0x387499,_0x71b9b2,_0x508a19)=>{const _0x2d6866=_0x3bd006;for(var _0x98834c=_0x508a19>0x1?void 0x0:_0x508a19?_0x44ee51(_0x387499,_0x71b9b2):_0x387499,_0x3db645=_0x512cb8[_0x2d6866(0x35a)]-0x1,_0x5f32cc;_0x3db645>=0x0;_0x3db645--)(_0x5f32cc=_0x512cb8[_0x3db645])&&(_0x98834c=_0x5f32cc(_0x98834c)||_0x98834c);return _0x98834c;},_0x1cb9ac=(_0x35ca37,_0xd8525a)=>(_0x46403a,_0x21b7f7)=>_0xd8525a(_0x46403a,_0x21b7f7,_0x35ca37);_0x8c9c05[_0x3bd006(0x293)]=class extends _0x3ed267[_0x3bd006(0xe9)]{constructor(_0x536c69,_0x187ba2,_0x50dba7){const _0xe250d2=_0x3bd006;super(),this[_0xe250d2(0x183)]=_0x536c69,this[_0xe250d2(0x193)]=_0x187ba2,this['_configService']=_0x50dba7;}async[_0x3bd006(0x284)](_0x49ba58,_0xf0a848,_0x300a93,..._0x122248){const _0x3af5d8=_0x3bd006;var _0x2b7201,_0x363830,_0x21a1a9,_0x519059;const _0x5b375e=this[_0x3af5d8(0x183)]['getFocusedUnit']();if(!_0x5b375e)throw new Error(_0x3af5d8(0x23a));const _0xdb5e17=((_0x2b7201=this['_configService'][_0x3af5d8(0x172)](_0x207d2b[_0x3af5d8(0x2f4)]))!=null?_0x2b7201:_0x207d2b[_0x3af5d8(0x18e)])+'/'+_0x49ba58+_0x3af5d8(0x15c)+_0xf0a848,_0x40dab1=new URL(window['location']['href']),_0x431c68={'scriptId':_0x49ba58,'runId':(_0x363830=_0x40dab1[_0x3af5d8(0x224)][_0x3af5d8(0x20d)](_0x3af5d8(0x28a)))!=null?_0x363830:'','function':_0xf0a848,'unitId':_0x5b375e[_0x3af5d8(0x264)](),'argsOfFunction':JSON[_0x3af5d8(0x28c)](_0x122248),'invokeId':(_0x21a1a9=_0x300a93[_0x3af5d8(0x1d0)])!=null?_0x21a1a9:'','executionId':(_0x519059=_0x300a93[_0x3af5d8(0x350)])!=null?_0x519059:''};try{const _0x20d3f3=await this[_0x3af5d8(0x193)]['post'](_0xdb5e17,{'body':_0x431c68});return _0x20d3f3[_0x3af5d8(0x342)]['error']&&_0x20d3f3['body'][_0x3af5d8(0x361)][_0x3af5d8(0x290)]!==_0x321434['OK']?_0x3af5d8(0x215):_0x20d3f3['body']['result'];}catch{return _0x3af5d8(0x215);}}},_0x8c9c05[_0x3bd006(0x293)]=_0x346bc0([_0x1cb9ac(0x0,_0x3ed267[_0x3bd006(0x26b)]),_0x1cb9ac(0x1,_0x3ed267[_0x3bd006(0x2af)](_0xbddb2a[_0x3bd006(0x32f)])),_0x1cb9ac(0x2,_0x3ed267[_0x3bd006(0x332)])],_0x8c9c05[_0x3bd006(0x293)]);const _0x2f7fea=0x7530,_0x208220=_0x3bd006(0x129);class _0x2062bb extends _0x3ed267[_0x3bd006(0xe9)]{constructor(){const _0x2e8132=_0x3bd006;super(),_0x4e10dd(this,_0x2e8132(0x2c3),_0x3ed267[_0x2e8132(0x18c)]()),_0x4e10dd(this,_0x2e8132(0x1cb),new Set()),_0x4e10dd(this,_0x2e8132(0x125),new Map()),_0x4e10dd(this,_0x2e8132(0x21d),null),_0x4e10dd(this,_0x2e8132(0x2d6),new Map()),_0x4e10dd(this,_0x2e8132(0x147),new Map()),this['_init']();}['dispose'](){const _0x2b498b=_0x3bd006;super['dispose'](),this[_0x2b498b(0x2d6)][_0x2b498b(0x266)]((_0x2cbb75,_0x98601f)=>this[_0x2b498b(0x216)](_0x98601f)),this[_0x2b498b(0x21d)]&&window['clearInterval'](this[_0x2b498b(0x21d)]);}['getUnitStatus$'](_0x32398f){const _0x4e9049=_0x3bd006;return this[_0x4e9049(0x2fb)](_0x32398f)['pipe'](_0x1c33ab[_0x4e9049(0x2be)]());}[_0x3bd006(0x210)](_0x1bb880){const _0x20f86c=_0x3bd006;this[_0x20f86c(0x1cb)][_0x20f86c(0x2dc)]===0x0&&this[_0x20f86c(0x372)](),this[_0x20f86c(0x1cb)]['add'](_0x1bb880),this[_0x20f86c(0x333)]({'type':0x0,'memberID':this[_0x20f86c(0x2c3)],'unitIDs':[_0x1bb880],'isForwarded':!0x1});}['disposeUnit'](_0x459a06){const _0x3ca53a=_0x3bd006;this[_0x3ca53a(0x1cb)]['delete'](_0x459a06),this[_0x3ca53a(0x1cb)][_0x3ca53a(0x2dc)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x3bd006(0x1d8)](){const _0x4f9a1c=_0x3bd006;this[_0x4f9a1c(0x11a)](_0x3ed267[_0x4f9a1c(0x241)](_0x1c33ab['fromEvent'](window,_0x4f9a1c(0x109))[_0x4f9a1c(0x2fc)](_0x362d0c=>{const _0x28f37e=_0x4f9a1c;if(_0x362d0c[_0x28f37e(0x371)]!==_0x208220||!_0x362d0c[_0x28f37e(0x15f)])return;const _0x44e0f4=JSON[_0x28f37e(0x1b0)](_0x362d0c['newValue']);this[_0x28f37e(0x170)](_0x44e0f4);}))),window[_0x4f9a1c(0x2ba)](_0x4f9a1c(0x279),()=>this['_send']({'type':0x1,'memberID':this[_0x4f9a1c(0x2c3)],'unitIDs':Array[_0x4f9a1c(0x1ed)](this[_0x4f9a1c(0x1cb)])}));}[_0x3bd006(0x170)](_0x2252ae){const _0x1900d6=_0x3bd006;switch(_0x2252ae[_0x1900d6(0xe2)]){case 0x0:this[_0x1900d6(0x1c6)](_0x2252ae);break;case 0x1:this[_0x1900d6(0x11c)](_0x2252ae);break;case 0x2:this[_0x1900d6(0x2ef)](_0x2252ae);break;}}[_0x3bd006(0x1c6)](_0x281b1d){const _0x4a0100=_0x3bd006,{unitIDs:_0x37e210,memberID:_0x45c58a,isForwarded:_0x1a63bb}=_0x281b1d;_0x37e210['forEach'](_0x21782d=>{const _0x5d778e=_0xda92;if(!_0x1a63bb&&this['_unitOnClients'][_0x5d778e(0x22e)](_0x21782d)&&this['_ensureSubject'](_0x21782d)['next'](_0x207d2b[_0x5d778e(0x1ae)][_0x5d778e(0x1fc)]),!this[_0x5d778e(0x125)][_0x5d778e(0x22e)](_0x21782d)||!this[_0x5d778e(0x125)][_0x5d778e(0x20d)](_0x21782d)[_0x5d778e(0x22e)](_0x45c58a)){const _0x19679b=this[_0x5d778e(0x125)][_0x5d778e(0x20d)](_0x21782d)||new Set();_0x19679b[_0x5d778e(0x12d)](_0x45c58a),this[_0x5d778e(0x125)][_0x5d778e(0x247)](_0x21782d,_0x19679b),this[_0x5d778e(0x123)](_0x45c58a);}}),_0x1a63bb||this[_0x4a0100(0x333)]({'type':0x0,'memberID':this[_0x4a0100(0x2c3)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x427408){const _0xe2b20f=_0x3bd006;this['_removeClearOtherTimer'](_0x427408);const _0x3ff8a4=window[_0xe2b20f(0x2fe)](()=>{const _0x1c2022=_0xe2b20f;this[_0x1c2022(0x125)][_0x1c2022(0x266)](_0x41debc=>{_0x41debc['delete'](_0x427408);});},_0x2f7fea*0x2);this[_0xe2b20f(0x2d6)][_0xe2b20f(0x247)](_0x427408,_0x3ff8a4);}[_0x3bd006(0x216)](_0x435136){const _0x38b069=_0x3bd006;if(this[_0x38b069(0x2d6)][_0x38b069(0x22e)](_0x435136)){const _0x2eb06e=this['_clearOtherTimers'][_0x38b069(0x20d)](_0x435136);_0x2eb06e&&window[_0x38b069(0x17f)](_0x2eb06e),this[_0x38b069(0x2d6)][_0x38b069(0x247)](_0x435136,null);}}[_0x3bd006(0x11c)](_0x16ec21){const _0x4ecd2e=_0x3bd006,{memberID:_0x1c0f21,unitIDs:_0x30209e}=_0x16ec21;_0x30209e[_0x4ecd2e(0x266)](_0x27ecb3=>{const _0x29bae4=_0x4ecd2e;var _0x3b4476;const _0x5130f6=this['_unitOnClients'][_0x29bae4(0x20d)](_0x27ecb3);_0x5130f6&&(_0x5130f6['delete'](_0x1c0f21),(_0x3b4476=this['_ensureSubject'](_0x27ecb3))==null||_0x3b4476[_0x29bae4(0x200)](_0x5130f6[_0x29bae4(0x2dc)]===0x0?_0x207d2b[_0x29bae4(0x1ae)][_0x29bae4(0x22c)]:_0x207d2b[_0x29bae4(0x1ae)][_0x29bae4(0x1fc)]));}),this[_0x4ecd2e(0x216)](_0x1c0f21);}[_0x3bd006(0x2ef)](_0x351cf4){const _0x3e2164=_0x3bd006;this[_0x3e2164(0x123)](_0x351cf4[_0x3e2164(0x37a)]);}[_0x3bd006(0x333)](_0x35f712){const _0x45a8e3=_0x3bd006;localStorage[_0x45a8e3(0x204)](_0x208220,JSON[_0x45a8e3(0x28c)](_0x35f712));}[_0x3bd006(0x372)](){const _0x19c43d=_0x3bd006;this[_0x19c43d(0x21d)]=window[_0x19c43d(0x131)](()=>{const _0x58f91a=_0x19c43d;this[_0x58f91a(0x333)]({'type':0x2,'memberID':this[_0x58f91a(0x2c3)]});},_0x2f7fea);}['_ensureSubject'](_0x4f932e){const _0x32e752=_0x3bd006;return this['_unitStatus'][_0x32e752(0x22e)](_0x4f932e)||this[_0x32e752(0x147)][_0x32e752(0x247)](_0x4f932e,new _0x1c33ab['BehaviorSubject'](_0x207d2b[_0x32e752(0x1ae)][_0x32e752(0x22c)])),this[_0x32e752(0x147)][_0x32e752(0x20d)](_0x4f932e);}}_0x8c9c05[_0x3bd006(0x1d9)]=_0x5a7e26,_0x8c9c05[_0x3bd006(0x190)]=_0x3c11ea,_0x8c9c05[_0x3bd006(0x189)]=_0x2062bb,_0x8c9c05[_0x3bd006(0x126)]=_0x306590,Object['defineProperty'](_0x8c9c05,Symbol['toStringTag'],{'value':'Module'});}));
|