@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506091607 → 0.8.0-nightly.202506111607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xc513(_0x5d3d6a,_0x2f52d8){const _0x474964=_0x4749();return _0xc513=function(_0xc51387,_0xdb79ce){_0xc51387=_0xc51387-0x118;let _0x1b0697=_0x474964[_0xc51387];return _0x1b0697;},_0xc513(_0x5d3d6a,_0x2f52d8);}function _0x4749(){const _0x4865e6=['random','LocaleService','pushState','saveOfflineData','INotificationService','hasOwnProperty','UPDATE_CURSOR','_drawTextRange','on-line-icon','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Unknown\x20user','restore','color','LICENSE_DISTRO_REJECTED','forwardRef','subscribe','UniverDrawing','collab-text-range-','width','defs','icon','getCoordByCell','_color','Module','AWAITING_WITH_PENDING','_shapes','from','url(#on-line-icon_clip0_910_349)','handleInsertRangeMoveDown','_instanceService','_cursorInfo$','amd','fromEventSubject','_scene','registerBeforeClose','subUnitId','_collabCursorState$','unit','_scheduleClearOtherTimer','updateOfflineData','memberID','RemoteUniscriptService','registerDependencies','storage','CONNECTOR_DATA_TOO_LARGE','set','RichTextEditingMutation','startsWith','UniverDesign','div','collaboration.closeRoom','height','registerRefRange','currentTheme$','_collaborationController','map','getRenderById','roomMembers$','UniverProCollaborationClient','getCollabCursors$','replace','getCellPositionByOffset','split','UniverProCollaborationClientUi','getDocRanges','_initResize','_disabled','values','NOT_COLLAB','AWAITING','yellow.400','m1Prime','InsertRangeMoveDownCommandId','DeleteRangeMoveLeftCommandId','getUnhiddenWorksheets','_logService','@univerjs/sheets-ui','_renderManagerService','onPointerMove$','_transformUndoRedoStack','_session','name','_colorAssignService','generateRandomId','DEFAULT_WS_SESSION_TICKET_URL','ticket','collaboration-client-ui.config','attrs','_docTransformStateCacheService','send','_updateSubUnitFromURLParams','isActive','next','complete','UniverInstanceType','_sheetSkeletonManagerService','MessageType','url(#$1','drawWith','urlChange$','IRemoteInstanceService','setActiveRange','2588568KwxVaZ','IURLService','RefRangeService','translate(.97)','setItem','unitId','UnitStatus','getUnitId','InsertRangeMoveRightCommandId','UniverUi','IConfigService','_httpService','_removeCollabCursors','RevisionService','href','getSkeleton','getFocusedUnit','collabStatus.fetchMiss','syncEditingCollabCursor','UniverCore','Subject','SOCKET_FAILED_RETRY','deepClone','handleIRemoveRow','React','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collab-client.tooltip.reconnect','1em','#FFF','fillText','ILocalCacheService','INVITE_CODE_HAS_BEEN_UES','ENSURE_SNAPSHOT_EXECUTION','DependentOn','m2Prime','searchParams','onCommandExecuted','find','JOIN_ROOM_FAILED','current','jiqing.500','SetSelectionsOperation','DisposableCollection','DocCollaborationEntity','_registerRenderDependencies','_urlService','wsSessionTicketUrl','COMPLETION_FINISHED','_render','_eventUnsubscribe','CollaborationUIEventId','FETCH_MISS','@univerjs-pro/collaboration-client','unload','delete','@univerjs/drawing','_docSkeletonManagerService','YUUMI_ASYNCIO_CANCELLED','_startDocCollabCursor','getSheetObject','undoState','_onRefRangeChange','RemoveRowCommandId','subunit','_onCursorUpdate','combineLatest','createElement','indexOf','_refRangeService','2779445jcnssk','addEventListener','round','flatMap','_send','_name','roomMembers','collab-rect-range-','_initStatusListener','_imageIoService','debounce','fill','_transformHistoryAndStateStack','handleInsertCol','LICENSE_MAX_UNITS_EXCEEDED','addObjects','IBeforeCloseService','pluginName','column','transform','takeUntil','getValue','onPointerEnter$','@univerjs-pro/collaboration','params','isArray','USER_NOT_INVITED_CODE','toRgbString','deserializeRangeWithSheet','DeleteRangeMoveUpCommandId','substring','COLORS','exhaustSavingTask','UniverCollaborationClientUIPlugin','sheetID','Injector','path','CollaborationDataLoaderController','createInstance','Disposable','_clearOtherTimers','9297430OlKRfu','NOT_FOUND','_dataLoaderService','body','entries','currentColor','@univerjs/rpc','function','replaceDocRanges','YUUMI_UNABLE_LOAD_URL','_messageService','_notificationService','11362kyEfSY','_getSheetObject','YUUMI_ALL_TABLES_IS_INVALID','isEditing','requireSession','IImageIoService','xlink:href','getMember','fillStyle','executeCommand','CollaborationEvent','847KkalEJ','asObservable','EffectRefRangId','evenodd','red.300','getOwnPropertySymbols','text','saveTaskMap','LICENSE_IMPORT_SIZE_EXCEEDED','_docStateChangeManagerService','endColumn','UNAUTHENTICATED','UNRECOGNIZED','Rectangle','MOBILE_HAS_BEEN_BOUND','_injector','YUUMI_SUBSCRIPTION_NOT_FOUND','_docTransformIMECacheService','getViewport','hide','clearTimeout','_setupSubUnitSync','getMergeData','ITransformService','cursorInfo$','FromArray','show','collabStatus.offline','purple.300','_ensureSubject','application/json','currentSkeleton$','serializeRangeWithSheet','[CollaborationDataLoaderController]','EMAIL_HAS_BEEN_BOUND','history','48UUuAvj','mask','UNIVER_SHEET','error','NodePositionConvertToCursor','_hovered','loadUnit','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','override','CommandType','_localeService','handleIRemoveCol','APPLY_NON_SEQUENTIAL_REVISION','_scheduleHeartbeat','setUndoRedoMutationParamsCache','doc.mutation.rich-text-editing','BehaviorSubject','ThemeService','max','has','LOCAL_CACHE_INTERVAL','DocIMEInputManagerService','permission.content','...','debounceTime','APPLY_REVISION_CONFILICT','_collabSessionService','_init','_anchorDot','IMessageService','removeParam','@univerjs/engine-formula','@univerjs/core','PERMISSION_DENIED','measureText','APPLY_DUPLICATED','off-line-icon_clip0_910_343','call','UniverSheets','ISocketService','ALREADY_EXISTS','ILocalStorageService','disposeWithMe','shareReplay','mutations','SNAPSHOT_HAS_BEEN_REMOVED','_backgroundColor','react','_saveTaskMap','tag','setStateCache','WebURLService','LOCAL_CACHE_INTERVAL_KEY','NO_OTHER_CLIENTS_EDITING','add','string','getLocalCacheKey','LICENSE_EXPORT_SIZE_EXCEEDED','_selfUnitIDs','_range','APPLY_REJECT','onMouseMove','transformStateCache','transformMutation','DataLoaderService','startColumn','Error','CollaborationUIEventService','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','fromEvent','transformByState','_hideTimer','collab-text-anchor-','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','newValue','_collaborationUIEventService','rgba(255,\x20255,\x20255,\x200.01)','getColor','18QpCKDO','handleDeleteRangeMoveUp','_saveCache','colorChannel1','_docSyncEditingCollabCursorService','_toggleOnline','setInterval','getVpScrollXYInfoByPosToVp','_drawAnchor','collabStatus.notCollab','handleInsertRangeMoveRight','Vector2','602032xhzGmS','getParam','Plugin','addHandlerCallback','min','_toggleOffline','OTHER_CLIENTS_EDITING','OnLineIcon','setParam','_draw','_handleHover','_refreshCollabCursors','MemberService','font','IRenderManagerService','SOCKET_FAILED','_colorIndex','_updateCollabCursors','INVALID_ARGUMENT','children','length','black','getTypeOfUnitAdded$','throttleTime','DocSelectionManagerService','on-line-icon_clip0_910_349','connectInjector','_initEntityListener','DocStateChangeManagerService','dispose','9LgMNWB','svg','getOffsetConfig','getCurrentSelections','_themeService','@univerjs/ui','data','0\x200\x2016\x2016','with','_transformPreviousActiveRange','collabStatus.synced','popstate','defIds','unitID','contains','UNIVER_DOC','redoState','getRangePointData','MoveRangeCommandId','extend','_initCommandExecutedListener','YUUMI_AI_RUN_FAILED','TEXT_RANGE_LAYER_INDEX','bottom','_univerInstanceService','setAlpha','_assignedColors','parse','save','univerjs-icon\x20univerjs-icon-','rxjs/operators','_removeClearOtherTimer','_textBubble','@univerjs/docs','UniverSheetsUi','univer-flex\x20univer-items-center','_entityInit$','M0\x200H16V16H0z','clipPath','_createSocketURL','toDisposable','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','reconnect','jsxs','editingUnit','stringify','ILogService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Failed','collabCursorState$','RegularPolygon','transformMutationsWithChangeset','displayName','key','subscribeEvent','transformIMECache','getActiveRange','isTransformMutationsWithChangesetSuccess','filter','TRANSFORM_CHANGE_OBSERVABLE_TYPE','YUUMI_RATE_OVER_LIMIT','_updateLocalCursor','Warning','SessionStatus','debug','_syncEditingCollabCursorService','_labelPosition','whenReady','Inject','registerRenderModule','init','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','SYNCED','UniverIcon','Workbook','docStateChange$','ColorKit','UniverEngineRender','closePath','unshift','getMemberID','_getSessionTicket','assign','concat','getCurrentUnitForType','collaboration.single-unit.warning','ICommandService','_getScale','useRef','HTTPService','25994QdJTCp','push','_context','Shape','IUniverInstanceService','hovered','blue.400','idSuffix','setTimeout','_beforeCloseService','_cursorShapes','selections','setShapeProps','sheetId','ACTIVE_UNIT_EVENT_CHANNEL','operators','all','_roomMembers$','sessionTicket','APPLY_PERMISSION_DENIED','SheetsSelectionsService','TOO_MANY_REQUESTS','green.600','post','WebBrowserSingleActiveUnitService','getConfig','dispose$','BrowserCollaborationSocketService','getUniverSheetInstance','_handleJoinEvent','object','touchDependencies','runId','assignAColorForMemberID','textRanges','apply','react/jsx-runtime','YUUMI_TABLE_NOT_FOUND_IN_UNIT','result','pipe','getSheetId','_commandService','INVITE_CODE_ALREADY_BOUND','addClipboardHook','_unitStatus','UniverCollaborationClientPlugin','getActiveSheet','handleDeleteRangeMoveLeft','USERS_LEAVE','_docClipboardService','DesktopCollaborationStatusDisplayController','then','_handleHeartbeatEvent','@univerjs/engine-render','getItem','_id','onTransformChange$','skeleton','DOC_RANGE_TYPE','onLocalMutation','_memberService','_drawRectRange','top','loadOfflineData','_revisionService','includes','INTERNAL_ERROR','getUnitStatus$','_uiPartsService','UNDEFINED','_startSheetCollabCursor','onPointerLeave$','labelPosition','CollaborationController','startRow','engine','type','transformSelections','uni.network.url-service','search','_entities','_cursor','propertyIsEnumerable','origin','none','_configService','arc','_localCacheService','@univerjs/sheets','activeSheet$','_heartbeatTimer','SetWorksheetActivateCommand','_registerDependencies','_localStorageService','_anchor','source','selection','_online','defineProperty','ONLINE','VIEW_MAIN','Rect','executionId','_updateURLWithCurrentState','_docTransformSelectionsService','PENDING','runRefRangeMutations','ranges','prototype','_handleEvent','PY_RUNTIME_SCRIPT_ERROR','getStateCache','@univerjs/docs-ui','lineTo','Optional','range','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','createIdentifier','size','RECT','_setupBeforeClosingHandler','forEach','makeDirty','merge','collabStatus.conflict','jsx','event$','focused$','HEADER_MENU','handleMoveRange','CollaborationStatus','IUIPartsService','eventID','cursorInfo','InsertRowCommandId','imageSourceType','switchMap','trim','location','UniverRpc','runOnServer','replaceState','unsubscribe','_cachedData','_cursors','_getAnchorBounding','CollaborationSessionService','Tooltip','getOwnPropertyDescriptor','_config','addObject','_getSaveTimeout','_hover','transformRemoteChangeset','YUUMI_NO_CUBOID_FOR_QUESTION','_transformService','WebSocketService','get','_getMergeRange','SHEET_VIEWPORT_KEY','beginPath','url(#off-line-icon_clip0_910_343)','YUUMI_URL_COL_OUT_OF_RANGE','mergeOverrideWithDependencies','useDependency','INVALID_INVITE_CODE','Tools','_unitOnClients','_status$','session.will-retry','_initStatusComponent','_scheduleSaving','_collabCursorController','getSheetBySheetId','white','UniverProCollaboration','rxjs','_onCursorDelete','_doCreateSocket','clearInterval','RxDisposable','_initEvent','toString','isTransformMutationFailure','findNodePositionByCharIndex','clsx','onRendered'];_0x4749=function(){return _0x4865e6;};return _0x4749();}(function(_0x3bedb0,_0x21fc1d){const _0x119428=_0xc513,_0x554bf1=_0x3bedb0();while(!![]){try{const _0x469e56=parseInt(_0x119428(0x209))/0x1+-parseInt(_0x119428(0x3a4))/0x2*(parseInt(_0x119428(0x184))/0x3)+parseInt(_0x119428(0x32a))/0x4+parseInt(_0x119428(0x36f))/0x5+-parseInt(_0x119428(0x136))/0x6*(parseInt(_0x119428(0x3af))/0x7)+parseInt(_0x119428(0x190))/0x8+parseInt(_0x119428(0x1ae))/0x9*(-parseInt(_0x119428(0x398))/0xa);if(_0x469e56===_0x21fc1d)break;else _0x554bf1['push'](_0x554bf1['shift']());}catch(_0x5a51d7){_0x554bf1['push'](_0x554bf1['shift']());}}}(_0x4749,0x52e1a),function(_0x29f418,_0x1f293f){const _0x125c76=_0xc513;typeof exports==_0x125c76(0x227)&&typeof module<'u'?_0x1f293f(exports,require(_0x125c76(0x35e)),require(_0x125c76(0x156)),require(_0x125c76(0x23e)),require('@univerjs/network'),require(_0x125c76(0x279)),require(_0x125c76(0x361)),require(_0x125c76(0x2b9)),require(_0x125c76(0x1cf)),require(_0x125c76(0x386)),require(_0x125c76(0x155)),require(_0x125c76(0x261)),require(_0x125c76(0x1cc)),require('@univerjs/sheets-ui'),require(_0x125c76(0x22d)),require(_0x125c76(0x1b3)),require('@univerjs/design'),require(_0x125c76(0x165)),require('@univerjs/rpc')):typeof define==_0x125c76(0x39f)&&define[_0x125c76(0x2e3)]?define(['exports','@univerjs-pro/collaboration-client',_0x125c76(0x156),_0x125c76(0x23e),'@univerjs/network','@univerjs/docs-ui',_0x125c76(0x361),_0x125c76(0x2b9),_0x125c76(0x1cf),_0x125c76(0x386),'@univerjs/engine-formula',_0x125c76(0x261),'rxjs/operators',_0x125c76(0x310),_0x125c76(0x22d),_0x125c76(0x1b3),'@univerjs/design',_0x125c76(0x165),_0x125c76(0x39e)],_0x1f293f):(_0x29f418=typeof globalThis<'u'?globalThis:_0x29f418||self,_0x1f293f(_0x29f418[_0x125c76(0x303)]={},_0x29f418[_0x125c76(0x2fe)],_0x29f418[_0x125c76(0x33d)],_0x29f418[_0x125c76(0x1fc)],_0x29f418['UniverNetwork'],_0x29f418['UniverDocsUi'],_0x29f418[_0x125c76(0x2d4)],_0x29f418['rxjs'],_0x29f418['UniverDocs'],_0x29f418[_0x125c76(0x2b8)],_0x29f418['UniverEngineFormula'],_0x29f418[_0x125c76(0x15c)],_0x29f418[_0x125c76(0x2b9)][_0x125c76(0x218)],_0x29f418[_0x125c76(0x1d0)],_0x29f418[_0x125c76(0x342)],_0x29f418[_0x125c76(0x333)],_0x29f418[_0x125c76(0x2f4)],_0x29f418[_0x125c76(0x342)],_0x29f418[_0x125c76(0x294)]));}(this,function(_0x1364d3,_0x35d81a,_0x2b43e1,_0x4f9ef0,_0x519894,_0x15c8af,_0x44b6f9,_0x5ad77d,_0x854483,_0x4bbdfc,_0x56bea2,_0x575825,_0x3660b6,_0x562559,_0x356bea,_0x2d250c,_0xac66fe,_0x5544c5,_0x3716d4){'use strict';const _0x2e363d=_0xc513;var _0x4e67e1=Object[_0x2e363d(0x26b)],_0x1371fe=(_0x44c0d3,_0x188c57,_0x34a392)=>_0x188c57 in _0x44c0d3?_0x4e67e1(_0x44c0d3,_0x188c57,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34a392}):_0x44c0d3[_0x188c57]=_0x34a392,_0x1b73a5=(_0x1ee6f3,_0x455272,_0x242d6e)=>_0x1371fe(_0x1ee6f3,typeof _0x455272!='symbol'?_0x455272+'':_0x455272,_0x242d6e),_0x27b18a=Object[_0x2e363d(0x29d)],_0x323db9=(_0x33719c,_0x12f893,_0xf313c8,_0x33c774)=>{const _0x17cc1a=_0x2e363d;for(var _0x1c061c=_0x33c774>0x1?void 0x0:_0x33c774?_0x27b18a(_0x12f893,_0xf313c8):_0x12f893,_0x5f3697=_0x33719c[_0x17cc1a(0x1a4)]-0x1,_0x589614;_0x5f3697>=0x0;_0x5f3697--)(_0x589614=_0x33719c[_0x5f3697])&&(_0x1c061c=_0x589614(_0x1c061c)||_0x1c061c);return _0x1c061c;},_0xcf392a=(_0x485201,_0x3df1d4)=>(_0x1ce5c4,_0x35e07a)=>_0x3df1d4(_0x1ce5c4,_0x35e07a,_0x485201);let _0x41c5dd=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0x2ac1d1,_0x2ab629){const _0x9d47f9=_0x2e363d;super(),this[_0x9d47f9(0x23a)]=_0x2ac1d1,this[_0x9d47f9(0x378)]=_0x2ab629,this[_0x9d47f9(0x151)]();}[_0x2e363d(0x151)](){const _0x4d521f=_0x2e363d,_0x3a586a=this;this[_0x4d521f(0x160)](this[_0x4d521f(0x23a)][_0x4d521f(0x234)]({'onBeforePasteImage':async _0xd257a7=>{const _0x4907cf=_0x4d521f,_0x37f3a0=await _0x3a586a['_imageIoService']['saveImage'](_0xd257a7);return _0x37f3a0?{'source':_0x37f3a0[_0x4907cf(0x268)],'imageSourceType':_0x37f3a0[_0x4907cf(0x290)]}:null;}}));}};_0x41c5dd=_0x323db9([_0xcf392a(0x0,_0x15c8af['IDocClipboardService']),_0xcf392a(0x1,_0x44b6f9[_0x2e363d(0x3a9)])],_0x41c5dd);const _0xd199bd=[_0x2e363d(0x12e),_0x2e363d(0x352),_0x2e363d(0x21f),_0x2e363d(0x3b3),_0x2e363d(0x20f),_0x2e363d(0x30a)];class _0x5daa50 extends _0x2b43e1[_0x2e363d(0x396)]{constructor(){super(...arguments),_0x1b73a5(this,'_assignedColors',new Map()),_0x1b73a5(this,'_colorIndex',0x0);}[_0x2e363d(0x22a)](_0x356ceb){const _0x400ede=_0x2e363d;if(this['_assignedColors'][_0x400ede(0x149)](_0x356ceb))return this[_0x400ede(0x1c8)]['get'](_0x356ceb);const _0x30fbb8=_0xd199bd[this['_colorIndex']];return this[_0x400ede(0x1a0)]=(this[_0x400ede(0x1a0)]+0x1)%_0xd199bd[_0x400ede(0x1a4)],this[_0x400ede(0x1c8)][_0x400ede(0x2f1)](_0x356ceb,_0x30fbb8),_0x30fbb8;}}function _0xf16511(_0x44fbfe){const _0x251ae2=_0x2e363d;let _0x5c83a9='';for(const _0x493f7c of _0x44fbfe){const {startOffset:_0x157efb,endOffset:_0x5683b9,isActive:_0x12c492,rangeType:_0x5bc9a4,segmentId:_0x1677ab,segmentPage:_0x220b0b}=_0x493f7c;_0x5c83a9[_0x251ae2(0x1a4)]&&(_0x5c83a9+=','),_0x5c83a9+=_0x157efb+':'+_0x5683b9+':'+(_0x12c492?'1':'0')+':'+_0x5bc9a4+':'+_0x1677ab+':'+_0x220b0b;}return _0x5c83a9;}function _0x214e4d(_0x178633){const _0x2832fe=_0x2e363d,_0x4fa487=_0x178633[_0x2832fe(0x302)](','),_0x4592fc=[];for(const _0x20cc44 of _0x4fa487){const [_0x281370,_0x11b66f,_0x54a148,_0x2fed48,_0x4a596f,_0x4c2fea]=_0x20cc44[_0x2832fe(0x302)](':');_0x4592fc[_0x2832fe(0x20a)]({'startOffset':Number(_0x281370),'endOffset':Number(_0x11b66f),'collapsed':_0x281370===_0x11b66f,'isActive':_0x54a148==='1','rangeType':_0x2fed48===_0x2b43e1[_0x2832fe(0x243)]['TEXT']?_0x2b43e1['DOC_RANGE_TYPE']['TEXT']:_0x2b43e1['DOC_RANGE_TYPE'][_0x2832fe(0x280)],'segmentId':typeof _0x4a596f==_0x2832fe(0x16d)?String(_0x4a596f):'','segmentPage':Number(_0x4c2fea!=null?_0x4c2fea:-0x1)});}return _0x4592fc['some'](_0x56c747=>_0x56c747[_0x2832fe(0x31f)])||(_0x4592fc[0x0]['isActive']=!0x0),_0x4592fc;}class _0x5eda65 extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(){const _0x3bccc3=_0x2e363d;super(...arguments),_0x1b73a5(this,_0x3bccc3(0x2e8),new _0x5ad77d[(_0x3bccc3(0x146))](null)),_0x1b73a5(this,_0x3bccc3(0x1e0),this['_collabCursorState$'][_0x3bccc3(0x3b0)]());}[_0x2e363d(0x33c)](_0x5487d1){const _0xe0f37e=_0x2e363d,{unitID:_0x240282,memberID:_0x1840aa,textRanges:_0x58f4ee}=_0x5487d1,_0x4476a9=_0xf16511(_0x58f4ee);if(_0x4476a9==='')return;const _0x5a034f={'unitID':_0x240282,'memberID':_0x1840aa,'selection':_0x4476a9};this[_0xe0f37e(0x2e8)]['next'](_0x5a034f);}}var _0x2533e8=Object['getOwnPropertyDescriptor'],_0x7f5cbc=(_0x564b2b,_0x1e7ca2,_0x5bf062,_0x170829)=>{const _0x597ffc=_0x2e363d;for(var _0x49cd97=_0x170829>0x1?void 0x0:_0x170829?_0x2533e8(_0x1e7ca2,_0x5bf062):_0x1e7ca2,_0x56728f=_0x564b2b[_0x597ffc(0x1a4)]-0x1,_0x58a824;_0x56728f>=0x0;_0x56728f--)(_0x58a824=_0x564b2b[_0x56728f])&&(_0x49cd97=_0x58a824(_0x49cd97)||_0x49cd97);return _0x49cd97;},_0x5e7054=(_0x2dfee7,_0xd14701)=>(_0x15debb,_0x5cd975)=>_0xd14701(_0x15debb,_0x5cd975,_0x2dfee7);const _0x199ee1=0x12c,_0x19dd5f=0x64;let _0x490396=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0xd6b79a,_0x1534b2,_0x23e832,_0x47b510,_0x573d03,_0x3d6790,_0x53c0d4,_0x4b4d1c,_0x8bdece){const _0x4a3c3b=_0x2e363d;super(),_0x1b73a5(this,_0x4a3c3b(0x26a),!0x1),_0x1b73a5(this,_0x4a3c3b(0x151),!0x1),_0x1b73a5(this,_0x4a3c3b(0x2e2),new _0x5ad77d['BehaviorSubject'](new Map())),_0x1b73a5(this,_0x4a3c3b(0x12a),this['_cursorInfo$'][_0x4a3c3b(0x3b0)]()),_0x1b73a5(this,_0x4a3c3b(0x21a),new _0x5ad77d[(_0x4a3c3b(0x146))]([])),_0x1b73a5(this,_0x4a3c3b(0x2fd),this[_0x4a3c3b(0x21a)][_0x4a3c3b(0x230)](_0x5ad77d[_0x4a3c3b(0x14e)](_0x199ee1))),_0x1b73a5(this,_0x4a3c3b(0x1ec),_0x2b43e1[_0x4a3c3b(0x379)](_0x1be959=>{const _0x55527=_0x4a3c3b,_0x24b25c={'eventID':_0x4bbdfc[_0x55527(0x3ae)][_0x55527(0x2ca)],'data':{'unitID':this['unitID'],'memberID':this[_0x55527(0x314)][_0x55527(0x1ff)](),'selection':_0xf16511(_0x1be959)}};this[_0x55527(0x314)][_0x55527(0x31d)](_0x24b25c,this[_0x55527(0x1bb)]);},_0x19dd5f)),(this[_0x4a3c3b(0x1bb)]=_0xd6b79a,this[_0x4a3c3b(0x314)]=_0x1534b2,this[_0x4a3c3b(0x121)]=_0x23e832,this['_colorAssignService']=_0x47b510,this[_0x4a3c3b(0x245)]=_0x573d03,this[_0x4a3c3b(0x1f0)]=_0x3d6790,this['_transformService']=_0x53c0d4,this[_0x4a3c3b(0x1c6)]=_0x4b4d1c,this[_0x4a3c3b(0x232)]=_0x8bdece);}get['cursorInfo'](){const _0x404d7d=_0x2e363d;return this[_0x404d7d(0x2e2)][_0x404d7d(0x384)]();}get[_0x2e363d(0x375)](){const _0x21d2be=_0x2e363d;return this[_0x21d2be(0x21a)][_0x21d2be(0x384)]();}[_0x2e363d(0x1ad)](){const _0x14f2d7=_0x2e363d;super[_0x14f2d7(0x1ad)](),this['_cursorInfo$'][_0x14f2d7(0x320)](new Map()),this[_0x14f2d7(0x2e2)][_0x14f2d7(0x321)](),this[_0x14f2d7(0x21a)][_0x14f2d7(0x320)]([]),this[_0x14f2d7(0x21a)][_0x14f2d7(0x321)]();}[_0x2e363d(0x1f5)](){const _0x4bafa7=_0x2e363d;this[_0x4bafa7(0x151)]||(this['_init']=!0x0,this[_0x4bafa7(0x314)]['sessionStatus$'][_0x4bafa7(0x230)](_0x5ad77d[_0x4bafa7(0x383)](this[_0x4bafa7(0x223)]))[_0x4bafa7(0x2d3)](_0x57c7ef=>{const _0x319b94=_0x4bafa7;_0x57c7ef===_0x35d81a[_0x319b94(0x1ee)][_0x319b94(0x26c)]?this[_0x319b94(0x189)]():this[_0x319b94(0x195)]();}),this[_0x4bafa7(0x314)][_0x4bafa7(0x287)][_0x4bafa7(0x230)](_0x5ad77d[_0x4bafa7(0x383)](this['dispose$']))['subscribe'](_0x208f42=>{const _0x451f31=_0x4bafa7,_0x114609=_0x208f42[_0x451f31(0x28d)];_0x114609===_0x4bbdfc['CollaborationEvent'][_0x451f31(0x2ca)]&&this['_onCursorUpdate'](_0x208f42),_0x114609===_0x4bbdfc[_0x451f31(0x3ae)][_0x451f31(0x239)]&&this[_0x451f31(0x2ba)](_0x208f42);}),this['disposeWithMe'](this[_0x4bafa7(0x232)][_0x4bafa7(0x34e)](_0x4391d6=>{const _0x5b7a52=_0x4bafa7,_0x332346=_0x4391d6[_0x5b7a52(0x387)];_0x332346!=null&&this[_0x5b7a52(0x26a)]&&_0x4391d6['id']===_0x854483['SetTextSelectionsOperation']['id']&&_0x332346[_0x5b7a52(0x32f)]===this[_0x5b7a52(0x1bb)]&&_0x332346[_0x5b7a52(0x3a7)]===!0x1&&_0x332346[_0x5b7a52(0x274)][_0x5b7a52(0x1a4)]>0x0&&this['_updateLocalCursor'](_0x332346[_0x5b7a52(0x274)]);})),this[_0x4bafa7(0x1f0)][_0x4bafa7(0x1e0)]['pipe'](_0x5ad77d[_0x4bafa7(0x383)](this[_0x4bafa7(0x223)]))[_0x4bafa7(0x2d3)](_0xc9d1f6=>{const _0x3cc263=_0x4bafa7;if((_0xc9d1f6==null?void 0x0:_0xc9d1f6[_0x3cc263(0x1bb)])!==this[_0x3cc263(0x1bb)])return;const _0x49cf21={'eventID':_0x4bbdfc[_0x3cc263(0x3ae)][_0x3cc263(0x2ca)],'data':_0xc9d1f6};this[_0x3cc263(0x36a)](_0x49cf21);}),this['disposeWithMe'](this[_0x4bafa7(0x232)]['onCommandExecuted'](_0x384b13=>{const _0xb20d3a=_0x4bafa7;if(_0x384b13[_0xb20d3a(0x387)]==null)return;const _0x5549be=_0x384b13[_0xb20d3a(0x387)];if(_0x384b13['id']!==_0x854483[_0xb20d3a(0x2f2)]['id']||_0x5549be[_0xb20d3a(0x32f)]!==this[_0xb20d3a(0x1bb)])return;const _0x3067d8={'id':_0xb20d3a(0x145),'params':_0x5549be},_0x2168b8=this[_0xb20d3a(0x28e)];for(const [_0x4176c8,_0x434d78]of _0x2168b8){const _0x2ccab1={'id':_0xb20d3a(0x145),'params':{'unitId':this[_0xb20d3a(0x1bb)],'actions':null,'textRanges':_0x434d78[_0xb20d3a(0x274)]}},_0x3d727a=this['_transformService'][_0xb20d3a(0x175)](_0x3067d8,_0x2ccab1,!0x1);if(_0x4bbdfc[_0xb20d3a(0x2c0)](_0x3d727a))throw _0x3d727a[_0xb20d3a(0x139)];_0x2168b8['set'](_0x4176c8,{..._0x434d78,'ranges':_0x3d727a[_0xb20d3a(0x34c)]['params'][_0xb20d3a(0x22b)]});}queueMicrotask(()=>{const _0x25dcdb=_0xb20d3a;this[_0x25dcdb(0x2e2)]['next'](_0x2168b8);});})));}['_onCursorUpdate'](_0x3140cb){const _0x2253a4=_0x2e363d;var _0x59fd6b,_0x2230d9;const {memberID:_0x5f86f2,selection:_0x59fa42}=_0x3140cb[_0x2253a4(0x1b4)],_0x3b5fb3=_0x214e4d(_0x59fa42),_0xb2f89f=(_0x2230d9=(_0x59fd6b=this['_memberService']['getMember'](this[_0x2253a4(0x1bb)],_0x5f86f2))==null?void 0x0:_0x59fd6b[_0x2253a4(0x315)])!=null?_0x2230d9:_0x2253a4(0x2ce),_0x29d36c={'color':this[_0x2253a4(0x316)][_0x2253a4(0x22a)](_0x5f86f2),'name':_0xb2f89f,'ranges':_0x3b5fb3},_0x42c146=this[_0x2253a4(0x28e)];_0x42c146['set'](_0x5f86f2,_0x29d36c),this[_0x2253a4(0x2e2)][_0x2253a4(0x320)](_0x42c146);}[_0x2e363d(0x2ba)](_0x3193f0){const _0x1501ab=_0x2e363d,{memberID:_0x14de63}=_0x3193f0[_0x1501ab(0x1b4)],_0x320202=this[_0x1501ab(0x28e)];_0x320202[_0x1501ab(0x360)](_0x14de63),this[_0x1501ab(0x2e2)][_0x1501ab(0x320)](_0x320202);}[_0x2e363d(0x189)](){const _0x2375ad=_0x2e363d;var _0xe02e86;if(this[_0x2375ad(0x26a)]=!0x0,((_0xe02e86=this[_0x2375ad(0x1c6)][_0x2375ad(0x33a)]())==null?void 0x0:_0xe02e86[_0x2375ad(0x331)]())!==this['unitID'])return;const _0x5b7b55=this[_0x2375ad(0x121)][_0x2375ad(0x2a6)](_0x854483[_0x2375ad(0x1a8)])['getDocRanges']();Array['isArray'](_0x5b7b55)&&_0x5b7b55[_0x2375ad(0x1a4)]>0x0&&this[_0x2375ad(0x1ec)](_0x5b7b55);}[_0x2e363d(0x195)](){const _0xde9d0f=_0x2e363d;this[_0xde9d0f(0x26a)]=!0x1;}};_0x490396=_0x7f5cbc([_0x5e7054(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0x5e7054(0x3,_0x2b43e1[_0x2e363d(0x1f3)](_0x5daa50)),_0x5e7054(0x4,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x19c)])),_0x5e7054(0x5,_0x2b43e1['Inject'](_0x5eda65)),_0x5e7054(0x6,_0x4bbdfc['ITransformService']),_0x5e7054(0x7,_0x2b43e1[_0x2e363d(0x20d)]),_0x5e7054(0x8,_0x2b43e1[_0x2e363d(0x205)])],_0x490396);var _0x1167fe=Object['getOwnPropertyDescriptor'],_0x460e73=(_0x5718e7,_0xfc86d3,_0x1a1ddb,_0x70da8e)=>{for(var _0x4fe304=_0x70da8e>0x1?void 0x0:_0x70da8e?_0x1167fe(_0xfc86d3,_0x1a1ddb):_0xfc86d3,_0x11c6ae=_0x5718e7['length']-0x1,_0x372913;_0x11c6ae>=0x0;_0x11c6ae--)(_0x372913=_0x5718e7[_0x11c6ae])&&(_0x4fe304=_0x372913(_0x4fe304)||_0x4fe304);return _0x4fe304;},_0x3dc5f8=(_0xa20470,_0x540306)=>(_0x194ce7,_0x25513a)=>_0x540306(_0x194ce7,_0x25513a,_0xa20470);const _0x4e3c86=0x12c,_0x1b4f1b=0x64,_0x9ec85d=()=>{let _0x1daeba=[],_0x524697=!0x1;return _0xd78fb9=>{const _0x1bd6dc=_0xc513;_0x1daeba[_0x1bd6dc(0x20a)](_0xd78fb9),_0x524697||(_0x524697=!0x0,setTimeout(()=>{const _0x29f152=_0x1bd6dc;_0x1daeba[_0x29f152(0x282)](_0x37111e=>_0x37111e()),_0x1daeba=[],_0x524697=!0x1;}));};};let _0x2d0b44=class extends _0x2b43e1['RxDisposable']{constructor(_0x2a75c7,_0x1fec3e,_0x2ca818,_0x58531c,_0x3caf3d,_0x12f2fe,_0x18f477,_0x2634da){const _0x5c0ed5=_0x2e363d;super(),_0x1b73a5(this,'_online',!0x1),_0x1b73a5(this,_0x5c0ed5(0x151),!0x1),_0x1b73a5(this,_0x5c0ed5(0x2e2),new _0x5ad77d['BehaviorSubject'](new Map())),_0x1b73a5(this,_0x5c0ed5(0x12a),this['_cursorInfo$'][_0x5c0ed5(0x3b0)]()),_0x1b73a5(this,_0x5c0ed5(0x21a),new _0x5ad77d['BehaviorSubject']([])),_0x1b73a5(this,_0x5c0ed5(0x2fd),this['_roomMembers$']['pipe'](_0x5ad77d['debounceTime'](_0x4e3c86))),_0x1b73a5(this,'_updateLocalCursor',_0x2b43e1[_0x5c0ed5(0x379)]((_0x3c0d7d,_0xbbab02)=>{const _0xe3f27a=_0x5c0ed5,_0x1142ad={'eventID':_0x4bbdfc[_0xe3f27a(0x3ae)][_0xe3f27a(0x2ca)],'data':{'unitID':this[_0xe3f27a(0x1bb)],'memberID':this[_0xe3f27a(0x314)][_0xe3f27a(0x1ff)](),'selection':_0x56bea2[_0xe3f27a(0x132)](_0x3c0d7d,_0xbbab02[_0xe3f27a(0x27c)])}};this[_0xe3f27a(0x314)][_0xe3f27a(0x31d)](_0x1142ad,this['unitID']);},_0x1b4f1b)),(this[_0x5c0ed5(0x1bb)]=_0x2a75c7,this[_0x5c0ed5(0x314)]=_0x1fec3e,this[_0x5c0ed5(0x121)]=_0x2ca818,this['_colorAssignService']=_0x58531c,this[_0x5c0ed5(0x245)]=_0x3caf3d,this['_univerInstanceService']=_0x12f2fe,this[_0x5c0ed5(0x232)]=_0x18f477,this['_refRangeService']=_0x2634da);}get[_0x2e363d(0x28e)](){const _0x18d841=_0x2e363d;return this[_0x18d841(0x2e2)][_0x18d841(0x384)]();}get[_0x2e363d(0x375)](){const _0x311318=_0x2e363d;return this['_roomMembers$'][_0x311318(0x384)]();}[_0x2e363d(0x1ad)](){const _0x21e0ab=_0x2e363d;super[_0x21e0ab(0x1ad)](),this[_0x21e0ab(0x2e2)][_0x21e0ab(0x320)](new Map()),this[_0x21e0ab(0x2e2)]['complete'](),this[_0x21e0ab(0x21a)]['next']([]),this[_0x21e0ab(0x21a)][_0x21e0ab(0x321)]();}['init'](){const _0x3cceb9=_0x2e363d;this[_0x3cceb9(0x151)]||(this[_0x3cceb9(0x151)]=!0x0,this[_0x3cceb9(0x314)]['sessionStatus$'][_0x3cceb9(0x230)](_0x5ad77d[_0x3cceb9(0x383)](this['dispose$']))[_0x3cceb9(0x2d3)](_0x55d70d=>{const _0x4c502f=_0x3cceb9;_0x55d70d===_0x35d81a[_0x4c502f(0x1ee)]['ONLINE']?this[_0x4c502f(0x189)]():this[_0x4c502f(0x195)]();}),this[_0x3cceb9(0x314)][_0x3cceb9(0x287)][_0x3cceb9(0x230)](_0x5ad77d[_0x3cceb9(0x383)](this[_0x3cceb9(0x223)]))[_0x3cceb9(0x2d3)](_0x2f0831=>{const _0x2d641d=_0x3cceb9,_0x1c1ece=_0x2f0831[_0x2d641d(0x28d)];_0x1c1ece===_0x4bbdfc['CollaborationEvent'][_0x2d641d(0x2ca)]&&this[_0x2d641d(0x36a)](_0x2f0831),_0x1c1ece===_0x4bbdfc[_0x2d641d(0x3ae)][_0x2d641d(0x239)]&&this[_0x2d641d(0x2ba)](_0x2f0831);}),this[_0x3cceb9(0x367)](),this[_0x3cceb9(0x160)](this['_commandService'][_0x3cceb9(0x34e)](_0x21f354=>{const _0x5a8bab=_0x3cceb9;if(this[_0x5a8bab(0x26a)]&&_0x21f354['id']===_0x575825[_0x5a8bab(0x353)]['id']&&_0x21f354[_0x5a8bab(0x387)][_0x5a8bab(0x32f)]===this[_0x5a8bab(0x1bb)]){const _0x32359e=_0x21f354[_0x5a8bab(0x387)];this[_0x5a8bab(0x1ec)](_0x32359e[_0x5a8bab(0x2e7)],_0x32359e[_0x5a8bab(0x214)][0x0]);}})));}[_0x2e363d(0x36a)](_0x257ede){const _0x400937=_0x2e363d;var _0x74be1c,_0x1aec55;const {memberID:_0x1b7ea7,selection:_0x237f0c}=_0x257ede[_0x400937(0x1b4)],{sheetName:_0x55378c,range:_0x2eac24}=_0x56bea2[_0x400937(0x38b)](_0x237f0c),_0x5eee0b={'name':(_0x1aec55=(_0x74be1c=this[_0x400937(0x245)][_0x400937(0x3ab)](this['unitID'],_0x1b7ea7))==null?void 0x0:_0x74be1c[_0x400937(0x315)])!=null?_0x1aec55:_0x400937(0x2ce),'range':this[_0x400937(0x2a7)](_0x55378c,_0x2eac24),'sheetID':_0x55378c,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1b7ea7),'selection':_0x237f0c},_0x15cd9b=this['cursorInfo'];_0x15cd9b[_0x400937(0x2f1)](_0x1b7ea7,_0x5eee0b),this[_0x400937(0x2e2)][_0x400937(0x320)](_0x15cd9b);}[_0x2e363d(0x2ba)](_0x567695){const _0x424023=_0x2e363d,{memberID:_0x41dd0d}=_0x567695[_0x424023(0x1b4)],_0x4cc677=this[_0x424023(0x28e)];_0x4cc677[_0x424023(0x360)](_0x41dd0d),this[_0x424023(0x2e2)]['next'](_0x4cc677);}[_0x2e363d(0x2a7)](_0xf077a,_0x50e6bf){const _0x5ca47b=_0x2e363d;var _0x35c2e2,_0x592c02;const _0x2f2b98=(_0x592c02=(_0x35c2e2=this[_0x5ca47b(0x1c6)][_0x5ca47b(0x225)](this[_0x5ca47b(0x1bb)]))==null?void 0x0:_0x35c2e2[_0x5ca47b(0x2b6)](_0xf077a))==null?void 0x0:_0x592c02[_0x5ca47b(0x128)]();return(_0x2f2b98==null?void 0x0:_0x2f2b98[_0x5ca47b(0x34f)](_0x4ee602=>_0x2b43e1[_0x5ca47b(0x11f)][_0x5ca47b(0x1bc)](_0x4ee602,_0x50e6bf)))||_0x50e6bf;}['_onRefRangeChange'](){const _0x1d5494=_0x2e363d,_0x3075d5=new _0x2b43e1[(_0x1d5494(0x354))](),_0x51fab9=_0x9ec85d(),_0x482cde=()=>{const _0x1b84dd=_0x1d5494;_0x3075d5[_0x1b84dd(0x1ad)]();const _0x97b13f=(_0x20ac01,_0xb94916,_0x2efbfa,_0x5a999a)=>{const _0x3d3b6b=_0x1b84dd;let _0x37d253=[];switch(_0x20ac01['id']){case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x30d)]:{_0x37d253=_0x575825[_0x3d3b6b(0x238)](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x38c)]:{_0x37d253=_0x575825[_0x3d3b6b(0x185)](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)]['InsertColCommandId']:{_0x37d253=_0x575825[_0x3d3b6b(0x37c)](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x30c)]:{_0x37d253=_0x575825[_0x3d3b6b(0x2e0)](_0x20ac01,_0x5a999a);break;}case _0x575825['EffectRefRangId'][_0x3d3b6b(0x332)]:{_0x37d253=_0x575825[_0x3d3b6b(0x18e)](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x28f)]:{_0x37d253=_0x575825['handleInsertRow'](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x1c0)]:{_0x37d253=_0x575825[_0x3d3b6b(0x28a)](_0x20ac01,_0x5a999a);break;}case _0x575825['EffectRefRangId']['RemoveColCommandId']:{_0x37d253=_0x575825[_0x3d3b6b(0x141)](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x368)]:{_0x37d253=_0x575825[_0x3d3b6b(0x341)](_0x20ac01,_0x5a999a);break;}}const _0x8cea33=_0x575825[_0x3d3b6b(0x273)](_0x37d253,_0x5a999a),_0x1af9ad=this[_0x3d3b6b(0x28e)]['get'](_0xb94916);if(_0x1af9ad&&_0x8cea33){const _0x484e4d={..._0x1af9ad,'range':_0x8cea33};this[_0x3d3b6b(0x28e)][_0x3d3b6b(0x2f1)](_0xb94916,_0x484e4d),_0x51fab9(()=>{const _0x14ea2e=_0x3d3b6b,_0x574c07=this['_refRangeService'][_0x14ea2e(0x2f8)](_0x8cea33,_0x49046b=>(_0x574c07[_0x14ea2e(0x1ad)](),_0x97b13f(_0x49046b,_0xb94916,_0x2efbfa,_0x8cea33)));_0x3075d5[_0x14ea2e(0x16c)](_0x574c07);});}return{'redos':[],'undos':[]};};this[_0x1b84dd(0x28e)]['forEach']((_0x1f22df,_0x118d19)=>{const _0x753c34=_0x1b84dd,{range:_0x1145a7,sheetID:_0xf18bd6}=_0x1f22df,_0x5376b0=this[_0x753c34(0x36e)][_0x753c34(0x2f8)](_0x1145a7,_0xda90d2=>(_0x5376b0[_0x753c34(0x1ad)](),_0x97b13f(_0xda90d2,_0x118d19,_0xf18bd6,_0x1145a7)));_0x3075d5['add'](_0x5376b0);});};this[_0x1d5494(0x160)](_0x2b43e1[_0x1d5494(0x1d6)](this[_0x1d5494(0x2e2)][_0x1d5494(0x2d3)](()=>{_0x482cde();})));}[_0x2e363d(0x189)](){const _0x5c06c1=_0x2e363d;var _0x44420e,_0x360704;if(this[_0x5c06c1(0x26a)]=!0x0,((_0x44420e=this[_0x5c06c1(0x1c6)][_0x5c06c1(0x33a)]())==null?void 0x0:_0x44420e[_0x5c06c1(0x331)]())!==this[_0x5c06c1(0x1bb)])return;const _0x1c530c=(_0x360704=this[_0x5c06c1(0x121)][_0x5c06c1(0x2a6)](_0x575825[_0x5c06c1(0x21d)])[_0x5c06c1(0x1b1)]())==null?void 0x0:_0x360704[0x0],_0x3e309a=this[_0x5c06c1(0x1c6)][_0x5c06c1(0x203)](_0x2b43e1[_0x5c06c1(0x322)][_0x5c06c1(0x138)])['getActiveSheet']();_0x1c530c&&_0x3e309a&&this[_0x5c06c1(0x1ec)](_0x3e309a[_0x5c06c1(0x231)](),_0x1c530c);}[_0x2e363d(0x195)](){const _0x23dd72=_0x2e363d;this[_0x23dd72(0x26a)]=!0x1;}};_0x2d0b44=_0x460e73([_0x3dc5f8(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0x3dc5f8(0x3,_0x2b43e1[_0x2e363d(0x1f3)](_0x5daa50)),_0x3dc5f8(0x4,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x19c)])),_0x3dc5f8(0x5,_0x2b43e1[_0x2e363d(0x20d)]),_0x3dc5f8(0x6,_0x2b43e1[_0x2e363d(0x205)]),_0x3dc5f8(0x7,_0x2b43e1['Inject'](_0x575825[_0x2e363d(0x32c)]))],_0x2d0b44);var _0x4cad61=Object[_0x2e363d(0x29d)],_0x5acd0a=(_0x48a38a,_0x57665b,_0x18024d,_0x2421a2)=>{const _0x1b711d=_0x2e363d;for(var _0x2f490c=_0x2421a2>0x1?void 0x0:_0x2421a2?_0x4cad61(_0x57665b,_0x18024d):_0x57665b,_0x520d3b=_0x48a38a[_0x1b711d(0x1a4)]-0x1,_0x785e3a;_0x520d3b>=0x0;_0x520d3b--)(_0x785e3a=_0x48a38a[_0x520d3b])&&(_0x2f490c=_0x785e3a(_0x2f490c)||_0x2f490c);return _0x2f490c;},_0x5e1288=(_0x2428c6,_0x185ea8)=>(_0x4d7a57,_0x9085b)=>_0x185ea8(_0x4d7a57,_0x9085b,_0x2428c6);let _0x5a14bf=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0x47ab91,_0x2c6f43,_0x4adb88){const _0x3cc129=_0x2e363d;super(),_0x1b73a5(this,_0x3cc129(0x259),new Map()),_0x1b73a5(this,_0x3cc129(0x1d2),new _0x5ad77d[(_0x3cc129(0x33e))]()),(this[_0x3cc129(0x1c6)]=_0x47ab91,this[_0x3cc129(0x121)]=_0x2c6f43,this[_0x3cc129(0x150)]=_0x4adb88,this['_init']());}[_0x2e363d(0x1ad)](){const _0x58e58b=_0x2e363d;super['dispose'](),this[_0x58e58b(0x1d2)][_0x58e58b(0x321)](),this['_entities'][_0x58e58b(0x282)](_0x2a690e=>_0x2a690e[_0x58e58b(0x1ad)]());}[_0x2e363d(0x2ff)](_0x13962f){const _0x8428f8=_0x2e363d;return this[_0x8428f8(0x259)][_0x8428f8(0x149)](_0x13962f)?this[_0x8428f8(0x259)][_0x8428f8(0x2a6)](_0x13962f)[_0x8428f8(0x12a)]:this[_0x8428f8(0x1d2)][_0x8428f8(0x230)](_0x5ad77d[_0x8428f8(0x1e9)](_0x572ae5=>_0x572ae5[_0x8428f8(0x1bb)]===_0x13962f),_0x5ad77d['switchMap'](_0x1ff9eb=>_0x1ff9eb['cursorInfo$']));}[_0x2e363d(0x151)](){const _0x5c6027=_0x2e363d;this[_0x5c6027(0x1c6)]['getTypeOfUnitAdded$'](_0x2b43e1[_0x5c6027(0x322)][_0x5c6027(0x138)])['pipe'](_0x5ad77d[_0x5c6027(0x383)](this[_0x5c6027(0x223)]))[_0x5c6027(0x2d3)](async _0x47223d=>{const _0x269b6f=_0x5c6027,_0xffb748=_0x47223d[_0x269b6f(0x331)](),_0x220c7c=await this[_0x269b6f(0x24f)](_0xffb748);this[_0x269b6f(0x1d2)]['next'](_0x220c7c),this[_0x269b6f(0x259)][_0x269b6f(0x2f1)](_0xffb748,_0x220c7c);}),this[_0x5c6027(0x1c6)][_0x5c6027(0x1a6)](_0x2b43e1['UniverInstanceType'][_0x5c6027(0x1bd)])[_0x5c6027(0x230)](_0x5ad77d[_0x5c6027(0x383)](this['dispose$']))[_0x5c6027(0x230)](_0x5ad77d[_0x5c6027(0x1e9)](_0x21cbb8=>!_0x21cbb8['getUnitId']()[_0x5c6027(0x2f3)]('__')))[_0x5c6027(0x2d3)](async _0x185da1=>{const _0x1fafe8=_0x5c6027,_0x4dc626=_0x185da1[_0x1fafe8(0x331)](),_0x36bb90=await this[_0x1fafe8(0x364)](_0x4dc626);this[_0x1fafe8(0x1d2)]['next'](_0x36bb90),this[_0x1fafe8(0x259)][_0x1fafe8(0x2f1)](_0x4dc626,_0x36bb90);}),_0x5ad77d[_0x5c6027(0x284)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2b43e1['UniverInstanceType']['UNIVER_DOC']),this[_0x5c6027(0x1c6)]['getTypeOfUnitDisposed$'](_0x2b43e1[_0x5c6027(0x322)][_0x5c6027(0x138)]))[_0x5c6027(0x230)](_0x5ad77d[_0x5c6027(0x383)](this[_0x5c6027(0x223)]))[_0x5c6027(0x2d3)](_0xf229aa=>{const _0x1f8305=_0x5c6027,_0x461340=_0xf229aa['getUnitId'](),_0x30078d=this[_0x1f8305(0x259)][_0x1f8305(0x2a6)](_0x461340);_0x30078d&&(_0x30078d['dispose'](),this[_0x1f8305(0x259)][_0x1f8305(0x360)](_0x461340));});}async[_0x2e363d(0x24f)](_0x276a1c){const _0x1f09e3=_0x2e363d,_0x3ee97c=await this[_0x1f09e3(0x150)]['requireSession'](_0x276a1c),_0x1448cf=this[_0x1f09e3(0x121)][_0x1f09e3(0x395)](_0x2d0b44,_0x276a1c,_0x3ee97c);return _0x1448cf[_0x1f09e3(0x1f5)](),_0x1448cf;}async['_startDocCollabCursor'](_0x5c5bf3){const _0x1dd44d=_0x2e363d,_0x27b1ee=await this['_collabSessionService'][_0x1dd44d(0x3a8)](_0x5c5bf3),_0x2489f4=this[_0x1dd44d(0x121)]['createInstance'](_0x490396,_0x5c5bf3,_0x27b1ee);return _0x2489f4[_0x1dd44d(0x1f5)](),_0x2489f4;}};_0x5a14bf=_0x5acd0a([_0x5e1288(0x0,_0x2b43e1['IUniverInstanceService']),_0x5e1288(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0x5e1288(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x29b)]))],_0x5a14bf);const _0x50df79=0x14,_0xd7a649=0xc8,_0x40af53=0x4,_0x10d041=0x5;function _0x221761(_0x3b7576,_0x5c4bb5){const _0x1aef22=_0x2e363d;let {radius:_0x3867b2,width:_0x3904a2,height:_0x3d6e66}=_0x5c4bb5;_0x3867b2=_0x3867b2!=null?_0x3867b2:0x0,_0x3904a2=_0x3904a2!=null?_0x3904a2:0x1e,_0x3d6e66=_0x3d6e66!=null?_0x3d6e66:0x1e;let _0x4c32b6=0x0,_0xfb8b2b=0x0,_0x1b51a8=0x0;_0x4c32b6=_0xfb8b2b=_0x1b51a8=Math[_0x1aef22(0x194)](_0x3867b2,_0x3904a2/0x2,_0x3d6e66/0x2),_0x3b7576[_0x1aef22(0x2a9)](),_0x3b7576['moveTo'](_0x4c32b6,0x0),_0x3b7576['lineTo'](_0x3904a2-_0xfb8b2b,0x0),_0x3b7576[_0x1aef22(0x25f)](_0x3904a2-_0xfb8b2b,_0xfb8b2b,_0xfb8b2b,Math['PI']*0x3/0x2,0x0,!0x1),_0x3b7576['lineTo'](_0x3904a2,_0x3d6e66-_0x1b51a8),_0x3b7576['arc'](_0x3904a2-_0x1b51a8,_0x3d6e66-_0x1b51a8,_0x1b51a8,0x0,Math['PI']/0x2,!0x1),_0x3b7576[_0x1aef22(0x27a)](0x0,_0x3d6e66),_0x3b7576[_0x1aef22(0x27a)](0x0,_0x4c32b6),_0x3b7576[_0x1aef22(0x25f)](_0x4c32b6,_0x4c32b6,_0x4c32b6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3b7576[_0x1aef22(0x1fd)](),_0x5c4bb5[_0x1aef22(0x37a)]&&(_0x3b7576[_0x1aef22(0x1ca)](),_0x3b7576[_0x1aef22(0x3ac)]=_0x5c4bb5[_0x1aef22(0x37a)],_0x5c4bb5['fillRule']===_0x1aef22(0x3b2)?_0x3b7576[_0x1aef22(0x37a)](_0x1aef22(0x3b2)):_0x3b7576[_0x1aef22(0x37a)](),_0x3b7576[_0x1aef22(0x2cf)]());}class _0x547561 extends _0x4f9ef0[_0x2e363d(0x20c)]{constructor(_0x1e36ac,_0x19db4f){const _0x4bbb3b=_0x2e363d;super(_0x1e36ac,_0x19db4f),_0x1b73a5(this,_0x4bbb3b(0x2d0)),_0x1b73a5(this,_0x4bbb3b(0x118)),(this['color']=_0x19db4f==null?void 0x0:_0x19db4f[_0x4bbb3b(0x2d0)],this[_0x4bbb3b(0x118)]=_0x19db4f==null?void 0x0:_0x19db4f[_0x4bbb3b(0x118)]);}static[_0x2e363d(0x326)](_0x5256cd,_0x2d42f2){const _0x4fbf6d=_0x2e363d,{text:_0x33f1d3,color:_0x5cc03b}=_0x2d42f2;_0x5256cd['save'](),_0x5256cd[_0x4fbf6d(0x19d)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4ff5ce=_0x5256cd[_0x4fbf6d(0x158)](_0x33f1d3)[_0x4fbf6d(0x2d6)],_0x36f6ff=Math['min'](_0x4ff5ce+0x2*_0x40af53,_0xd7a649);_0x221761(_0x5256cd,{'height':_0x50df79,'radius':0x4,'width':_0x36f6ff,'fill':_0x5cc03b}),_0x5256cd['fillStyle']=_0x4fbf6d(0x346);const _0x1c0933=_0x40af53,_0x2e27bb=_0x50df79-_0x10d041,_0x19148c=_0xd7a649-0x2*_0x40af53;if(_0x4ff5ce>_0x19148c){let _0xf53998='',_0x1a0c83=0x0;for(const _0x38252c of _0x33f1d3){const _0x1de577=_0x5256cd[_0x4fbf6d(0x158)](_0x38252c)[_0x4fbf6d(0x2d6)];if(_0x1a0c83+_0x1de577<=_0x19148c-_0x5256cd[_0x4fbf6d(0x158)](_0x4fbf6d(0x14d))['width'])_0xf53998+=_0x38252c,_0x1a0c83+=_0x1de577;else{_0xf53998+=_0x4fbf6d(0x14d);break;}}_0x5256cd['fillText'](_0xf53998,_0x1c0933,_0x2e27bb);}else _0x5256cd[_0x4fbf6d(0x347)](_0x33f1d3,_0x1c0933,_0x2e27bb);_0x5256cd[_0x4fbf6d(0x2cf)]();}[_0x2e363d(0x199)](_0x379b43){const _0x5e9393=_0x2e363d;_0x547561[_0x5e9393(0x326)](_0x379b43,this);}}const _0x2a01fa=_0x2e363d(0x17e),_0x427fab=_0x2e363d(0x2d5),_0x140a6d=_0x2e363d(0x376),_0x953881=0x6,_0x3d4630=1.5,_0x163a70=0x4,_0x2426ae=1.5,_0x5bb8ec=_0x2e363d(0x182);class _0xd1d4f9{constructor(_0x307c53,_0x573e82,_0x2850e3,_0x4830de){const _0xcf139a=_0x2e363d;_0x1b73a5(this,'_shapes',[]),_0x1b73a5(this,_0xcf139a(0x267),null),_0x1b73a5(this,_0xcf139a(0x1ce),null),_0x1b73a5(this,'_anchorDot',null),_0x1b73a5(this,_0xcf139a(0x17d),null),_0x1b73a5(this,_0xcf139a(0x35b),null),(this[_0xcf139a(0x25a)]=_0x307c53,this['_scene']=_0x573e82,this['_docSkeleton']=_0x2850e3,this['_document']=_0x4830de,this[_0xcf139a(0x35a)]());}set[_0x2e363d(0x2a1)](_0x5ce528){const _0x1aa211=_0x2e363d;_0x5ce528?(this[_0x1aa211(0x152)]&&this[_0x1aa211(0x152)][_0x1aa211(0x125)](),this['_textBubble']&&this[_0x1aa211(0x1ce)][_0x1aa211(0x12c)]()):(this[_0x1aa211(0x152)]&&this[_0x1aa211(0x152)][_0x1aa211(0x12c)](),this[_0x1aa211(0x1ce)]&&this[_0x1aa211(0x1ce)][_0x1aa211(0x125)]());}[_0x2e363d(0x1ad)](){const _0x30c0fe=_0x2e363d;for(const _0x266261 of this[_0x30c0fe(0x2dd)])_0x266261[_0x30c0fe(0x1ad)]();this[_0x30c0fe(0x1ce)]&&this[_0x30c0fe(0x1ce)][_0x30c0fe(0x1ad)](),this[_0x30c0fe(0x152)]&&this[_0x30c0fe(0x152)]['dispose'](),this['_anchor']&&this['_anchor'][_0x30c0fe(0x1ad)](),this[_0x30c0fe(0x35b)]&&this['_eventUnsubscribe']();}['_render'](){const _0xd6396=_0x2e363d;var _0x3f48fe;const {_docSkeleton:_0x3aace5,_document:_0x52d8a5}=this,{color:_0x1911d5,name:_0x4ccd13,ranges:_0x179a6b}=this['_cursor'],_0x2845dc=_0x52d8a5[_0xd6396(0x1b0)](),{docsLeft:_0x2c6eaf,docsTop:_0x1cc9c8}=_0x2845dc,_0x5f30e6=new _0x15c8af[(_0xd6396(0x13a))](_0x2845dc,_0x3aace5);for(const {startOffset:_0xca47cd,endOffset:_0x4d969e,rangeType:_0x2c1891,segmentId:_0x431f01,segmentPage:_0x24245e,collapsed:_0x2f4cbc,isActive:_0x586b17}of _0x179a6b){const _0x17234c=_0x3aace5[_0xd6396(0x2c1)](_0xca47cd,!0x0,_0x431f01,_0x24245e);let _0xffad36=_0x3aace5[_0xd6396(0x2c1)](_0x4d969e,!0x0,_0x431f01,_0x24245e);if(_0xffad36==null&&(_0xffad36=_0x3aace5['findNodePositionByCharIndex'](_0x4d969e-0x1,!0x1,_0x431f01,_0x24245e)),_0x586b17){const {contentBoxPointGroup:_0x11c5a0}=_0x5f30e6['getRangePointData'](_0xffad36,_0xffad36);if(_0x11c5a0[_0xd6396(0x1a4)]===0x0)continue;this['_drawAnchor'](_0x1911d5,_0x11c5a0,_0x2c6eaf,_0x1cc9c8,_0x4ccd13),this[_0xd6396(0x35b)]=this['_handleHover']();}if(_0x17234c&&_0xffad36){if(_0x2c1891===_0x2b43e1['DOC_RANGE_TYPE'][_0xd6396(0x280)]){const _0x2f51fd=new _0x15c8af['NodePositionConvertToRectRange'](_0x2845dc,_0x3aace5),{pointGroup:_0x536869}=(_0x3f48fe=_0x2f51fd[_0xd6396(0x1bf)](_0x17234c,_0xffad36))!=null?_0x3f48fe:{};if(_0x536869==null||_0x536869['length']===0x0)continue;this[_0xd6396(0x246)](_0x1911d5,_0x536869,_0x2c6eaf,_0x1cc9c8);}else{if(!_0x2f4cbc){const {borderBoxPointGroup:_0x5a5ac7}=_0x5f30e6[_0xd6396(0x1bf)](_0x17234c,_0xffad36);if(_0x5a5ac7[_0xd6396(0x1a4)]===0x0)continue;this[_0xd6396(0x2cb)](_0x1911d5,_0x5a5ac7,_0x2c6eaf,_0x1cc9c8);}}}}}[_0x2e363d(0x18c)](_0x9379a9,_0x41ce60,_0x25841c,_0x28ed82,_0x3a3f17){const _0x1e7b9a=_0x2e363d,_0x9d260a=this['_getAnchorBounding'](_0x41ce60),{left:_0x39a96f,top:_0x4e43d1,height:_0x3527d0}=_0x9d260a,_0x31d7b7=this[_0x1e7b9a(0x206)](),_0x3c057b=_0x2426ae/_0x31d7b7,_0x203337=new _0x4f9ef0[(_0x1e7b9a(0x26e))](_0x2a01fa+_0x2b43e1['Tools']['generateRandomId'](_0x953881),{'left':_0x39a96f+_0x25841c-_0x3c057b,'top':_0x4e43d1+_0x28ed82,'height':_0x3527d0,'width':_0x3d4630,'fill':_0x9379a9||_0x4f9ef0[_0x1e7b9a(0x183)](_0x2b43e1[_0x1e7b9a(0x38e)][_0x1e7b9a(0x1a5)],0x0),'strokeWidth':_0x3c057b,'stroke':_0x5bb8ec,'evented':!0x0});this[_0x1e7b9a(0x267)]=_0x203337,this['_scene']['addObject'](_0x203337,_0x15c8af[_0x1e7b9a(0x1c4)]);const _0x587dde=new _0x4f9ef0[(_0x1e7b9a(0x26e))](_0x2a01fa+_0x2b43e1[_0x1e7b9a(0x2af)][_0x1e7b9a(0x317)](_0x953881),{'left':_0x39a96f+_0x25841c-_0x3c057b,'top':_0x4e43d1+_0x28ed82-_0x163a70/0x2,'height':_0x163a70,'width':_0x163a70,'fill':_0x9379a9||_0x4f9ef0[_0x1e7b9a(0x183)](_0x2b43e1[_0x1e7b9a(0x38e)][_0x1e7b9a(0x1a5)],0x0),'strokeWidth':0x0,'stroke':_0x9379a9||_0x4f9ef0[_0x1e7b9a(0x183)](_0x2b43e1[_0x1e7b9a(0x38e)]['black'],0x0),'evented':!0x1});this[_0x1e7b9a(0x152)]=_0x587dde,this[_0x1e7b9a(0x2e5)][_0x1e7b9a(0x29f)](_0x587dde,_0x15c8af[_0x1e7b9a(0x1c4)]);const _0x171f45=new _0x547561(_0x2a01fa+_0x2b43e1['Tools']['generateRandomId'](_0x953881),{'left':_0x39a96f+_0x25841c-_0x3c057b,'top':_0x4e43d1+_0x28ed82-_0x50df79,'text':_0x3a3f17,'color':_0x9379a9});this[_0x1e7b9a(0x1ce)]=_0x171f45,this[_0x1e7b9a(0x2e5)]['addObject'](_0x171f45,_0x15c8af[_0x1e7b9a(0x1c4)]),this['_hover']=!0x1;}[_0x2e363d(0x19a)](){const _0x12b5dc=_0x2e363d,_0x637846=this[_0x12b5dc(0x267)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x3cedd6=this[_0x12b5dc(0x267)][_0x12b5dc(0x250)][_0x12b5dc(0x1e5)](()=>{const _0x2ee98c=_0x12b5dc;this[_0x2ee98c(0x17d)]&&clearTimeout(this['_hideTimer']),this[_0x2ee98c(0x17d)]=setTimeout(()=>{const _0x1ec6c3=_0x2ee98c;this[_0x1ec6c3(0x2a1)]=!0x1;},0x7d0);});return()=>{const _0x21bfed=_0x12b5dc;_0x637846[_0x21bfed(0x297)](),_0x3cedd6[_0x21bfed(0x297)]();};}['_drawTextRange'](_0x5c60d8,_0x5a1734,_0x4ea2c7,_0x3423f8){const _0x398532=_0x2e363d,_0x4738d1=new _0x2b43e1[(_0x398532(0x1fb))](_0x5c60d8)[_0x398532(0x1c7)](0.2)[_0x398532(0x38a)](),_0x1ecd9f=new _0x4f9ef0[(_0x398532(0x1e1))](_0x427fab+_0x2b43e1[_0x398532(0x2af)][_0x398532(0x317)](_0x953881),{'pointsGroup':_0x5a1734,'fill':_0x4738d1||_0x4f9ef0[_0x398532(0x183)](_0x2b43e1[_0x398532(0x38e)]['black'],0.2),'left':_0x4ea2c7,'top':_0x3423f8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x398532(0x2dd)][_0x398532(0x20a)](_0x1ecd9f),this[_0x398532(0x2e5)][_0x398532(0x29f)](_0x1ecd9f,_0x15c8af[_0x398532(0x1c4)]);}[_0x2e363d(0x246)](_0x1d83a7,_0x9b500,_0x228950,_0x504da0){const _0x3b376d=_0x2e363d,_0x5ef2f3=new _0x2b43e1[(_0x3b376d(0x1fb))](_0x1d83a7)[_0x3b376d(0x1c7)](0.2)[_0x3b376d(0x38a)](),_0x2aaf7e=new _0x4f9ef0[(_0x3b376d(0x1e1))](_0x140a6d+_0x2b43e1[_0x3b376d(0x2af)]['generateRandomId'](_0x953881),{'pointsGroup':_0x9b500,'fill':_0x5ef2f3||_0x4f9ef0['getColor'](_0x2b43e1[_0x3b376d(0x38e)]['black'],0.2),'left':_0x228950,'top':_0x504da0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3b376d(0x2dd)]['push'](_0x2aaf7e),this[_0x3b376d(0x2e5)][_0x3b376d(0x29f)](_0x2aaf7e,_0x15c8af['TEXT_RANGE_LAYER_INDEX']);}[_0x2e363d(0x29a)](_0x49b366){const _0x2a64f3=_0x49b366[0x0],_0xf13da0=_0x2a64f3[0x0],_0x49575b=_0x2a64f3[0x2],{x:_0x263d97,y:_0x329318}=_0xf13da0,{x:_0x5b313e,y:_0x52b076}=_0x49575b;return{'left':_0x263d97,'top':_0x329318,'width':_0x5b313e-_0x263d97,'height':_0x52b076-_0x329318};}['_getScale'](){const _0x38b63c=_0x2e363d,{scaleX:_0x5f0f75,scaleY:_0x4e4e3b}=this[_0x38b63c(0x2e5)]['getAncestorScale']();return Math[_0x38b63c(0x148)](_0x5f0f75,_0x4e4e3b);}}var _0x5eabd5=Object[_0x2e363d(0x29d)],_0x279619=(_0x5ab519,_0xe2c711,_0x163476,_0x5ef6c2)=>{const _0x97d8d=_0x2e363d;for(var _0x3d3ef5=_0x5ef6c2>0x1?void 0x0:_0x5ef6c2?_0x5eabd5(_0xe2c711,_0x163476):_0xe2c711,_0x53c8d9=_0x5ab519[_0x97d8d(0x1a4)]-0x1,_0x5e26d0;_0x53c8d9>=0x0;_0x53c8d9--)(_0x5e26d0=_0x5ab519[_0x53c8d9])&&(_0x3d3ef5=_0x5e26d0(_0x3d3ef5)||_0x3d3ef5);return _0x3d3ef5;},_0x35192e=(_0x139ade,_0x2b34d9)=>(_0x5e1869,_0x1ca83a)=>_0x2b34d9(_0x5e1869,_0x1ca83a,_0x139ade);let _0x38ac90=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0xa46055,_0x557d33,_0x29c004,_0x1bca9b,_0x2e30f2){const _0x543e46=_0x2e363d;super(),_0x1b73a5(this,_0x543e46(0x213),[]),_0x1b73a5(this,_0x543e46(0x299),[]),(this[_0x543e46(0x20b)]=_0xa46055,this[_0x543e46(0x362)]=_0x557d33,this['_collabCursorController']=_0x29c004,this[_0x543e46(0x232)]=_0x1bca9b,this[_0x543e46(0x1b2)]=_0x2e30f2,this['_init']());}[_0x2e363d(0x151)](){const _0x1a830c=_0x2e363d,_0xc298be=this['_context'][_0x1a830c(0x32f)],_0x1022af=this[_0x1a830c(0x362)];this['disposeWithMe'](_0x5ad77d[_0x1a830c(0x36b)]([this[_0x1a830c(0x2b5)][_0x1a830c(0x2ff)](_0xc298be),this['_themeService'][_0x1a830c(0x2f9)]])[_0x1a830c(0x230)](_0x3660b6['map'](([_0x5c438d,_0x40f852])=>({'skeleton':_0x1022af[_0x1a830c(0x339)](),'cursors':[..._0x5c438d[_0x1a830c(0x307)]()][_0x1a830c(0x372)](_0x5bb274=>({..._0x5bb274,'color':this[_0x1a830c(0x1b2)]['getColorFromTheme'](_0x5bb274[_0x1a830c(0x2d0)])}))})))[_0x1a830c(0x2d3)](_0x12d0bc=>{const _0x3e2c0e=_0x1a830c;if(this[_0x3e2c0e(0x336)](),_0x12d0bc){const {skeleton:_0x3c81db,cursors:_0x30ae53}=_0x12d0bc;this[_0x3e2c0e(0x1a1)](_0x3c81db,_0x30ae53);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x2e363d(0x1a1)](_0x2fdc6e,_0x56985d){const _0x46a3b7=_0x2e363d,{scene:_0x5a143a,mainComponent:_0x2d97ea}=this[_0x46a3b7(0x20b)],_0x683508=_0x56985d[_0x46a3b7(0x2fb)](_0x24f235=>new _0xd1d4f9(_0x24f235,_0x5a143a,_0x2fdc6e,_0x2d97ea));this[_0x46a3b7(0x213)]=_0x683508,this['_cursors']=_0x56985d;}['_refreshCollabCursors'](){const _0x218dbc=_0x2e363d;this[_0x218dbc(0x336)]();const {scene:_0x41155c,mainComponent:_0x2216f5}=this[_0x218dbc(0x20b)],_0x1827f5=this[_0x218dbc(0x362)]['getSkeleton'](),_0x3b644f=this['_cursors'][_0x218dbc(0x2fb)](_0x3d0ff2=>new _0xd1d4f9(_0x3d0ff2,_0x41155c,_0x1827f5,_0x2216f5));this[_0x218dbc(0x213)]=_0x3b644f;}[_0x2e363d(0x336)](){const _0x3d6be7=_0x2e363d;this['_cursorShapes'][_0x3d6be7(0x282)](_0x37ead0=>_0x37ead0[_0x3d6be7(0x1ad)]()),this[_0x3d6be7(0x213)]=[];}[_0x2e363d(0x1c2)](){const _0x2ff467=_0x2e363d,_0x39e6db=[_0x15c8af['SetDocZoomRatioOperation']['id']];this[_0x2ff467(0x160)](this[_0x2ff467(0x232)][_0x2ff467(0x34e)](_0x5a8fc1=>{const _0x13f2ab=_0x2ff467;_0x39e6db[_0x13f2ab(0x24a)](_0x5a8fc1['id'])&&_0x5a8fc1[_0x13f2ab(0x387)][_0x13f2ab(0x32f)]===this[_0x13f2ab(0x20b)][_0x13f2ab(0x32f)]&&this['_refreshCollabCursors']();}));}[_0x2e363d(0x305)](){const _0x3489d4=_0x2e363d;this['disposeWithMe'](_0x2b43e1[_0x3489d4(0x2e4)](this['_context'][_0x3489d4(0x254)][_0x3489d4(0x241)])['pipe'](_0x3660b6[_0x3489d4(0x1e9)](_0x439059=>_0x439059[_0x3489d4(0x255)]===_0x4f9ef0[_0x3489d4(0x1ea)]['resize']),_0x3660b6[_0x3489d4(0x1a7)](0x10))[_0x3489d4(0x2d3)](()=>{const _0x5b3849=_0x3489d4;this[_0x5b3849(0x19b)]();}));}};_0x38ac90=_0x279619([_0x35192e(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x854483['DocSkeletonManagerService'])),_0x35192e(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x5a14bf)),_0x35192e(0x3,_0x2b43e1[_0x2e363d(0x205)]),_0x35192e(0x4,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x147)]))],_0x38ac90);const _0x23ccfa=0x1,_0x538bab=1.5;class _0x1366a1 extends _0x4f9ef0[_0x2e363d(0x20c)]{constructor(_0x24dedc,_0x3d8b64){const _0x4b9104=_0x2e363d;super(_0x24dedc,_0x3d8b64),_0x1b73a5(this,_0x4b9104(0x2da)),_0x1b73a5(this,_0x4b9104(0x13b),!0x1),_0x1b73a5(this,_0x4b9104(0x171)),_0x1b73a5(this,'_name',''),_0x1b73a5(this,_0x4b9104(0x1f1),_0x4b9104(0x247)),_0x1b73a5(this,'_backgroundColor'),(_0x3d8b64&&this[_0x4b9104(0x215)](_0x3d8b64),this[_0x4b9104(0x385)][_0x4b9104(0x1e5)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x4b9104(0x1e5)](()=>this[_0x4b9104(0x215)]({'hovered':!0x1})));}[_0x2e363d(0x215)](_0x223a21){const _0x2379db=_0x2e363d;var _0x36ffd3,_0x170d11,_0x52d560,_0x54c04a,_0x53896c,_0x10cdc8;this['_color']=(_0x36ffd3=_0x223a21[_0x2379db(0x2d0)])!=null?_0x36ffd3:this[_0x2379db(0x2da)],this['_hovered']=(_0x170d11=_0x223a21[_0x2379db(0x20e)])!=null?_0x170d11:this['_hovered'],this[_0x2379db(0x171)]=(_0x52d560=_0x223a21[_0x2379db(0x27c)])!=null?_0x52d560:this[_0x2379db(0x171)],this[_0x2379db(0x374)]=(_0x54c04a=_0x223a21[_0x2379db(0x315)])!=null?_0x54c04a:this[_0x2379db(0x374)],this[_0x2379db(0x1f1)]=(_0x53896c=_0x223a21[_0x2379db(0x251)])!=null?_0x53896c:this[_0x2379db(0x1f1)],this['_backgroundColor']=(_0x10cdc8=_0x223a21['backgroundColor'])!=null?_0x10cdc8:this[_0x2379db(0x164)],this[_0x2379db(0x17c)]({'width':_0x223a21['width'],'height':_0x223a21[_0x2379db(0x2f7)]});}[_0x2e363d(0x173)](_0xa31cfb){const _0x4eca90=_0x2e363d,{row:_0x281158,column:_0x364058}=_0xa31cfb;if(_0x281158>=this['_range'][_0x4eca90(0x253)]&&_0x281158<=this[_0x4eca90(0x171)]['endRow']&&_0x364058>=this[_0x4eca90(0x171)][_0x4eca90(0x177)]&&_0x364058<=this[_0x4eca90(0x171)][_0x4eca90(0x11c)]){this[_0x4eca90(0x215)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x360b07){return!0x1;}['_draw'](_0x123407){const _0x2c358b=_0x2e363d;_0x4f9ef0[_0x2c358b(0x26e)][_0x2c358b(0x326)](_0x123407,{'width':this[_0x2c358b(0x2d6)],'height':this[_0x2c358b(0x2f7)],'strokeWidth':_0x538bab,'stroke':this[_0x2c358b(0x2da)],'evented':!0x1,'fill':this[_0x2c358b(0x164)]}),this[_0x2c358b(0x13b)]&&(_0x123407[_0x2c358b(0x1ca)](),_0x123407[_0x2c358b(0x382)](0x1,0x0,0x0,0x1,this[_0x2c358b(0x2d6)],this[_0x2c358b(0x1f1)]===_0x2c358b(0x1c5)?0x0:-0x14),_0x547561[_0x2c358b(0x326)](_0x123407,{'text':this[_0x2c358b(0x374)],'color':this['_color']}),_0x123407[_0x2c358b(0x2cf)]());}}var _0x41b200=Object[_0x2e363d(0x29d)],_0x499e85=(_0x53bdfd,_0x56691c,_0x51caf1,_0x231ede)=>{const _0x4bd6aa=_0x2e363d;for(var _0x1457f1=_0x231ede>0x1?void 0x0:_0x231ede?_0x41b200(_0x56691c,_0x51caf1):_0x56691c,_0xe12bb8=_0x53bdfd[_0x4bd6aa(0x1a4)]-0x1,_0x25f8e7;_0xe12bb8>=0x0;_0xe12bb8--)(_0x25f8e7=_0x53bdfd[_0xe12bb8])&&(_0x1457f1=_0x25f8e7(_0x1457f1)||_0x1457f1);return _0x1457f1;},_0x578752=(_0xce4104,_0x4dc6f5)=>(_0x498516,_0x4d01f4)=>_0x4dc6f5(_0x498516,_0x4d01f4,_0xce4104);const _0x370f59=0x1389;let _0x5242c8=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0x1ebff7,_0x4415e9,_0x532052,_0x465c82){const _0x7dbed3=_0x2e363d;super(),_0x1b73a5(this,_0x7dbed3(0x299),new Set()),_0x1b73a5(this,'_lastPointer',null),(this[_0x7dbed3(0x20b)]=_0x1ebff7,this['_sheetSkeletonManagerService']=_0x4415e9,this[_0x7dbed3(0x2b5)]=_0x532052,this['_themeService']=_0x465c82,this[_0x7dbed3(0x151)]());}[_0x2e363d(0x151)](){const _0x56746e=_0x2e363d;this[_0x56746e(0x323)][_0x56746e(0x131)][_0x56746e(0x230)](_0x3660b6['takeUntil'](this['dispose$']),_0x3660b6[_0x56746e(0x291)](_0x289c2d=>{const _0x3a7b7c=_0x56746e;if(_0x289c2d){const _0x34ecec=_0x289c2d[_0x3a7b7c(0x216)];return _0x5ad77d[_0x3a7b7c(0x36b)](this[_0x3a7b7c(0x2b5)][_0x3a7b7c(0x2ff)](this['_context'][_0x3a7b7c(0x32f)]),this[_0x3a7b7c(0x1b2)][_0x3a7b7c(0x2f9)])[_0x3a7b7c(0x230)](_0x3660b6[_0x3a7b7c(0x2fb)](([_0x15d24e,_0x25f106])=>{const _0x380d93=_0x3a7b7c,_0x17144a=new Map();return _0x15d24e[_0x380d93(0x282)]((_0x4f8e58,_0x111c37)=>{const _0x5c304e=_0x380d93;if(_0x4f8e58[_0x5c304e(0x391)]===_0x34ecec){const _0x466310={..._0x4f8e58};_0x466310[_0x5c304e(0x2d0)]=this[_0x5c304e(0x1b2)]['getColorFromTheme'](_0x4f8e58[_0x5c304e(0x2d0)]),_0x17144a[_0x5c304e(0x2f1)](_0x111c37,_0x466310);}}),{'skeleton':_0x289c2d,'cursors':_0x17144a};}));}return _0x5ad77d['of']({'skeleton':null,'cursors':new Map()});}))[_0x56746e(0x2d3)](({skeleton:_0x500c22,cursors:_0x3c9833})=>{const _0x3bf517=_0x56746e;this['_removeCollabCursors'](),_0x500c22&&this[_0x3bf517(0x1a1)](_0x500c22,_0x3c9833);}),this[_0x56746e(0x323)][_0x56746e(0x131)]['subscribe'](_0x5d33bf=>{const _0x457521=_0x56746e;if(_0x5d33bf==null)return;const {skeleton:_0x624d8a}=_0x5d33bf,{scene:_0x1786d6}=this['_context'];_0x1786d6[_0x457521(0x312)]['subscribeEvent'](_0x2b43e1[_0x457521(0x379)](_0x3e94af=>{const _0x34b612=_0x457521;var _0x3cd362,_0x13c9f5;const {offsetX:_0x423008,offsetY:_0x1cdbf0}=_0x3e94af,{x:_0x2073f3,y:_0x589813}=_0x1786d6['getRelativeToViewportCoord'](_0x4f9ef0[_0x34b612(0x18f)]['FromArray']([_0x423008,_0x1cdbf0])),{scaleX:_0xff9716,scaleY:_0x3161c1}=_0x1786d6['getAncestorScale'](),_0x5afe71=_0x1786d6[_0x34b612(0x124)](_0x4f9ef0[_0x34b612(0x2a8)][_0x34b612(0x26d)]),_0x2d18f0=_0x1786d6[_0x34b612(0x18b)](_0x4f9ef0['Vector2'][_0x34b612(0x12b)]([_0x2073f3,_0x589813]),_0x5afe71),_0x142459=_0x624d8a[_0x34b612(0x301)](_0x423008,_0x1cdbf0,_0xff9716,_0x3161c1,_0x2d18f0);((_0x3cd362=this['_lastPointer'])==null?void 0x0:_0x3cd362[_0x34b612(0x381)])===_0x142459[_0x34b612(0x381)]&&((_0x13c9f5=this['_lastPointer'])==null?void 0x0:_0x13c9f5['row'])===_0x142459['row']||this[_0x34b612(0x299)][_0x34b612(0x282)](_0x36e0aa=>{const _0x604cee=_0x34b612;_0x36e0aa[_0x604cee(0x173)](_0x142459);});},0x64));});}['_updateCollabCursors'](_0x32a7d6,_0x1408fe){const _0x4a6271=_0x2e363d;var _0x3bdb3c;const _0x32e70a=(_0x3bdb3c=this[_0x4a6271(0x323)]['getCurrent']())==null?void 0x0:_0x3bdb3c[_0x4a6271(0x242)];if(!_0x32e70a)return;const _0x2eb454=this[_0x4a6271(0x3a5)]();if(!_0x2eb454)return;this[_0x4a6271(0x299)][_0x4a6271(0x282)](_0x34158f=>{const _0x190cdf=_0x4a6271;_0x34158f[_0x190cdf(0x283)]();});const {scene:_0x20a078}=_0x2eb454,_0x27663a=_0x3a59bd(Array[_0x4a6271(0x2de)](_0x1408fe[_0x4a6271(0x307)]()))[_0x4a6271(0x2fb)](_0x4bcf1e=>{const _0x3afdc7=_0x4a6271,{color:_0xc42066,range:_0x14e99b,name:_0x3d3ff0,selection:_0x22a620,sheetID:_0xef617c}=_0x4bcf1e,{startColumn:_0x3a4d74,startRow:_0x57530b,endColumn:_0x2fe2d6,endRow:_0x4d7637}=_0x14e99b,_0x4cd387=_0x562559[_0x3afdc7(0x2d9)](_0x57530b,_0x3a4d74,_0x20a078,_0x32e70a),_0x21d830=_0x562559['getCoordByCell'](_0x4d7637,_0x2fe2d6,_0x20a078,_0x32e70a),{columnHeaderHeightAndMarginTop:_0x1c23b4}=_0x32e70a,{startX:_0x17da2b,startY:_0xa2bb9c}=_0x4cd387,{endX:_0x120aea,endY:_0x26cda9}=_0x21d830,_0x1d76e5=_0x120aea-_0x17da2b,_0x17f6c0=_0x26cda9-_0xa2bb9c,_0x362628={'labelPosition':_0xa2bb9c-_0x1c23b4>=_0x50df79?_0x3afdc7(0x247):_0x3afdc7(0x1c5),'sheetID':_0xef617c,'range':_0x14e99b,'color':_0xc42066,'name':_0x3d3ff0,'selection':_0x22a620,'left':_0x17da2b,'top':_0xa2bb9c,'width':_0x1d76e5,'height':_0x17f6c0,'evented':!0x1,'zIndex':_0x370f59};return new _0x1366a1(_0x3d3ff0,_0x362628);});_0x20a078[_0x4a6271(0x37e)](_0x27663a,_0x23ccfa),this[_0x4a6271(0x299)]=new Set(_0x27663a);}[_0x2e363d(0x336)](){const _0x1cce82=_0x2e363d;var _0x890576;(_0x890576=this[_0x1cce82(0x299)])==null||_0x890576['forEach'](_0x31d91c=>_0x31d91c[_0x1cce82(0x1ad)]());}['_getSheetObject'](){const _0x555f8b=_0x2e363d;return _0x562559[_0x555f8b(0x365)](this['_context']['unit'],this[_0x555f8b(0x20b)]);}};_0x5242c8=_0x499e85([_0x578752(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x562559['SheetSkeletonManagerService'])),_0x578752(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x5a14bf)),_0x578752(0x3,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x147)]))],_0x5242c8);function _0x3a59bd(_0x4f7d78){const _0x390787=_0x2e363d,_0x13e8e5=new Map();return _0x4f7d78[_0x390787(0x282)](_0x227359=>{const _0x470e59=_0x390787;if(_0x13e8e5['has'](_0x227359[_0x470e59(0x269)])){const _0x184cb8=_0x13e8e5['get'](_0x227359[_0x470e59(0x269)]);_0x184cb8['name']+=',\x20'+_0x227359[_0x470e59(0x315)];}else _0x13e8e5[_0x470e59(0x2f1)](_0x227359[_0x470e59(0x269)],_0x227359);}),Array[_0x390787(0x2de)](_0x13e8e5[_0x390787(0x307)]());}var _0x32b919=function(){const _0x3157fb=_0x2e363d;return _0x32b919=Object[_0x3157fb(0x201)]||function(_0x482264){const _0x16d954=_0x3157fb;for(var _0x3024dd,_0x35ac31=0x1,_0x5cffe1=arguments[_0x16d954(0x1a4)];_0x35ac31<_0x5cffe1;_0x35ac31++){_0x3024dd=arguments[_0x35ac31];for(var _0x5f4241 in _0x3024dd)Object['prototype'][_0x16d954(0x2c9)][_0x16d954(0x15b)](_0x3024dd,_0x5f4241)&&(_0x482264[_0x5f4241]=_0x3024dd[_0x5f4241]);}return _0x482264;},_0x32b919[_0x3157fb(0x22c)](this,arguments);},_0x3ff4bd=function(_0x36c520,_0x4a8e5a){const _0x2d01af=_0x2e363d;var _0x34cfbf={};for(var _0x1d7288 in _0x36c520)Object[_0x2d01af(0x275)][_0x2d01af(0x2c9)][_0x2d01af(0x15b)](_0x36c520,_0x1d7288)&&_0x4a8e5a[_0x2d01af(0x36d)](_0x1d7288)<0x0&&(_0x34cfbf[_0x1d7288]=_0x36c520[_0x1d7288]);if(_0x36c520!=null&&typeof Object['getOwnPropertySymbols']==_0x2d01af(0x39f)){for(var _0x52e389=0x0,_0x1d7288=Object[_0x2d01af(0x3b4)](_0x36c520);_0x52e389<_0x1d7288[_0x2d01af(0x1a4)];_0x52e389++)_0x4a8e5a[_0x2d01af(0x36d)](_0x1d7288[_0x52e389])<0x0&&Object[_0x2d01af(0x275)][_0x2d01af(0x25b)][_0x2d01af(0x15b)](_0x36c520,_0x1d7288[_0x52e389])&&(_0x34cfbf[_0x1d7288[_0x52e389]]=_0x36c520[_0x1d7288[_0x52e389]]);}return _0x34cfbf;},_0x2559b5=_0x5544c5[_0x2e363d(0x2d2)](function(_0x28e5e8,_0x513890){const _0xe55e1c=_0x2e363d;var _0x4f3c86=_0x28e5e8[_0xe55e1c(0x2d8)],_0x1028f3=_0x28e5e8['id'],_0x1e2b8c=_0x28e5e8['className'],_0x369ab5=_0x28e5e8[_0xe55e1c(0x1c1)],_0x171589=_0x3ff4bd(_0x28e5e8,[_0xe55e1c(0x2d8),'id','className',_0xe55e1c(0x1c1)]),_0xa4a77d=_0xe55e1c(0x1cb)[_0xe55e1c(0x202)](_0x1028f3,'\x20')['concat'](_0x1e2b8c||'')[_0xe55e1c(0x292)](),_0x266984=_0x5544c5[_0xe55e1c(0x207)]('_'[_0xe55e1c(0x202)](_0x46bb04()));return _0x1156a0(_0x4f3c86,''['concat'](_0x1028f3),{'defIds':_0x4f3c86[_0xe55e1c(0x1ba)],'idSuffix':_0x266984[_0xe55e1c(0x351)]},_0x32b919({'ref':_0x513890,'className':_0xa4a77d},_0x171589),_0x369ab5);});function _0x1156a0(_0xa93a9b,_0x3eb8f4,_0x79a562,_0x32f4c1,_0x34e068){const _0x40b1e4=_0x2e363d;return _0x5544c5[_0x40b1e4(0x36c)](_0xa93a9b[_0x40b1e4(0x167)],_0x32b919(_0x32b919({'key':_0x3eb8f4},_0x1f31ab(_0xa93a9b,_0x79a562,_0x34e068)),_0x32f4c1),(_0x350116(_0xa93a9b,_0x79a562)[_0x40b1e4(0x1a3)]||[])[_0x40b1e4(0x2fb)](function(_0x59a0c2,_0x517ba5){const _0xefc77c=_0x40b1e4;return _0x1156a0(_0x59a0c2,''[_0xefc77c(0x202)](_0x3eb8f4,'-')[_0xefc77c(0x202)](_0xa93a9b['tag'],'-')['concat'](_0x517ba5),_0x79a562,void 0x0,_0x34e068);}));}function _0x1f31ab(_0x48ee97,_0x1e4e85,_0x30e86a){const _0x4d7f03=_0x2e363d;var _0x3b1997=_0x32b919({},_0x48ee97[_0x4d7f03(0x31b)]);_0x30e86a!=null&&_0x30e86a[_0x4d7f03(0x187)]&&_0x3b1997['fill']===_0x4d7f03(0x187)&&(_0x3b1997[_0x4d7f03(0x37a)]=_0x30e86a['colorChannel1']),_0x48ee97[_0x4d7f03(0x167)]===_0x4d7f03(0x137)&&_0x3b1997['id']&&(_0x3b1997['id']=_0x3b1997['id']+_0x1e4e85[_0x4d7f03(0x210)]),Object[_0x4d7f03(0x39c)](_0x3b1997)[_0x4d7f03(0x282)](function(_0x1bc19d){const _0x4b9f17=_0x4d7f03;var _0x9de787=_0x1bc19d[0x0],_0x5be96a=_0x1bc19d[0x1];_0x9de787===_0x4b9f17(0x137)&&typeof _0x5be96a=='string'&&(_0x3b1997[_0x9de787]=_0x5be96a['replace'](/url\(#(.*)\)/,_0x4b9f17(0x325)[_0x4b9f17(0x202)](_0x1e4e85[_0x4b9f17(0x210)],')')));});var _0x2909c9=_0x1e4e85[_0x4d7f03(0x1ba)];return!_0x2909c9||_0x2909c9[_0x4d7f03(0x1a4)]===0x0||(_0x48ee97[_0x4d7f03(0x167)]==='use'&&_0x3b1997[_0x4d7f03(0x3aa)]&&(_0x3b1997['xlink:href']=_0x3b1997['xlink:href']+_0x1e4e85['idSuffix']),Object[_0x4d7f03(0x39c)](_0x3b1997)[_0x4d7f03(0x282)](function(_0x55cf5f){const _0x1fc37c=_0x4d7f03;var _0x428d32=_0x55cf5f[0x0],_0x277a7c=_0x55cf5f[0x1];typeof _0x277a7c=='string'&&(_0x3b1997[_0x428d32]=_0x277a7c[_0x1fc37c(0x300)](/url\(#(.*)\)/,_0x1fc37c(0x325)[_0x1fc37c(0x202)](_0x1e4e85[_0x1fc37c(0x210)],')')));})),_0x3b1997;}function _0x350116(_0x32e882,_0x1ed6f9){const _0x161fcb=_0x2e363d;var _0x5a59b7,_0x535bb3=_0x1ed6f9[_0x161fcb(0x1ba)];return!_0x535bb3||_0x535bb3[_0x161fcb(0x1a4)]===0x0?_0x32e882:_0x32e882[_0x161fcb(0x167)]===_0x161fcb(0x2d7)&&(!((_0x5a59b7=_0x32e882[_0x161fcb(0x1a3)])===null||_0x5a59b7===void 0x0)&&_0x5a59b7[_0x161fcb(0x1a4)])?_0x32b919(_0x32b919({},_0x32e882),{'children':_0x32e882['children']['map'](function(_0x4e384a){const _0xdefd62=_0x161fcb;return typeof _0x4e384a[_0xdefd62(0x31b)]['id']=='string'&&_0x535bb3&&_0x535bb3[_0xdefd62(0x24a)](_0x4e384a[_0xdefd62(0x31b)]['id'])?_0x32b919(_0x32b919({},_0x4e384a),{'attrs':_0x32b919(_0x32b919({},_0x4e384a['attrs']),{'id':_0x4e384a[_0xdefd62(0x31b)]['id']+_0x1ed6f9[_0xdefd62(0x210)]})}):_0x4e384a;})}):_0x32e882;}function _0x46bb04(){const _0x2a4540=_0x2e363d;return Math[_0x2a4540(0x2c4)]()[_0x2a4540(0x2bf)](0x24)[_0x2a4540(0x38d)](0x2,0x8);}_0x2559b5[_0x2e363d(0x1e3)]=_0x2e363d(0x1f8);var _0x28b628={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2e363d(0x25d),'viewBox':_0x2e363d(0x1b5),'width':_0x2e363d(0x345),'height':_0x2e363d(0x345)},'children':[{'tag':'g','attrs':{'clipPath':_0x2e363d(0x2aa)},'children':[{'tag':_0x2e363d(0x393),'attrs':{'stroke':_0x2e363d(0x39d),'d':_0x2e363d(0x1f6),'strokeLinecap':_0x2e363d(0x371),'strokeLinejoin':_0x2e363d(0x371),'strokeWidth':1.2}}]},{'tag':_0x2e363d(0x2d7),'attrs':{},'children':[{'tag':_0x2e363d(0x1d4),'attrs':{'id':_0x2e363d(0x15a)},'children':[{'tag':'path','attrs':{'fill':_0x2e363d(0x2b7),'d':_0x2e363d(0x1d3)}}]}]}],'defIds':[_0x2e363d(0x15a)]},_0x3f87a1=_0x5544c5[_0x2e363d(0x2d2)](function(_0x261d03,_0x3e9050){const _0x19c9f1=_0x2e363d;return _0x5544c5[_0x19c9f1(0x36c)](_0x2559b5,Object[_0x19c9f1(0x201)]({},_0x261d03,{'id':'off-line-icon','ref':_0x3e9050,'icon':_0x28b628}));});_0x3f87a1[_0x2e363d(0x1e3)]='OffLineIcon';var _0x3121d7={'tag':_0x2e363d(0x1af),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2e363d(0x25d),'viewBox':'0\x200\x2017\x2016','width':_0x2e363d(0x345),'height':_0x2e363d(0x345)},'children':[{'tag':'g','attrs':{'clipPath':_0x2e363d(0x2df)},'children':[{'tag':_0x2e363d(0x393),'attrs':{'stroke':_0x2e363d(0x39d),'d':_0x2e363d(0x17a),'strokeLinecap':'round','strokeLinejoin':_0x2e363d(0x371),'strokeWidth':1.2}}]},{'tag':_0x2e363d(0x2d7),'attrs':{},'children':[{'tag':_0x2e363d(0x1d4),'attrs':{'id':_0x2e363d(0x1a9)},'children':[{'tag':_0x2e363d(0x393),'attrs':{'fill':_0x2e363d(0x2b7),'d':_0x2e363d(0x1d3),'transform':_0x2e363d(0x32d)}}]}]}],'defIds':[_0x2e363d(0x1a9)]},_0x3e3cad=_0x5544c5['forwardRef'](function(_0x4e699e,_0xc3491d){const _0x10829c=_0x2e363d;return _0x5544c5[_0x10829c(0x36c)](_0x2559b5,Object[_0x10829c(0x201)]({},_0x4e699e,{'id':_0x10829c(0x2cc),'ref':_0xc3491d,'icon':_0x3121d7}));});_0x3e3cad[_0x2e363d(0x1e3)]=_0x2e363d(0x197);function _0x15b312(_0x5de95e){const _0x166997=_0x2e363d;switch(_0x5de95e){case _0x35d81a[_0x166997(0x28b)]['OFFLINE']:return _0x166997(0x12d);case _0x35d81a[_0x166997(0x28b)]['CONFLICT']:return _0x166997(0x285);case _0x35d81a[_0x166997(0x28b)][_0x166997(0x35d)]:return _0x166997(0x33b);case _0x35d81a['CollaborationStatus'][_0x166997(0x308)]:return _0x166997(0x18d);case _0x35d81a[_0x166997(0x28b)][_0x166997(0x309)]:case _0x35d81a['CollaborationStatus'][_0x166997(0x2dc)]:return'collabStatus.syncing';case _0x35d81a[_0x166997(0x28b)][_0x166997(0x1f7)]:case _0x35d81a[_0x166997(0x28b)][_0x166997(0x272)]:return _0x166997(0x1b8);}}function _0x58e3df(_0xa8da75){const _0x4eec7e=_0x2e363d,{status$:_0x3b51d2}=_0xa8da75,_0x33b253=_0x2d250c['useObservable'](_0x3b51d2,_0x35d81a[_0x4eec7e(0x28b)][_0x4eec7e(0x308)]),_0x3bdc2a=_0x2d250c[_0x4eec7e(0x2ad)](_0x2b43e1['LocaleService']),_0x4c60ff=_0x2d250c[_0x4eec7e(0x2ad)](_0x35d81a[_0x4eec7e(0x29b)]),_0xe8a38a=_0x33b253!==_0x35d81a[_0x4eec7e(0x28b)]['OFFLINE'],_0x34e570=_0x3bdc2a['t'](_0x15b312(_0x33b253)),_0x2d8093=_0xe8a38a?_0x356bea[_0x4eec7e(0x286)](_0x3e3cad,{}):_0x356bea['jsx'](_0x3f87a1,{}),_0x51d645=_0x5544c5['useCallback'](()=>{const _0x34ff0c=_0x4eec7e;_0xe8a38a||_0x4c60ff[_0x34ff0c(0x1d9)]();},[_0xe8a38a,_0x4c60ff]);function _0x4396a0(){const _0x48a597=_0x4eec7e;return _0x356bea[_0x48a597(0x1da)]('div',{'className':_0x48a597(0x1d1),'onClick':_0x51d645,'children':[_0x356bea['jsx']('div',{'className':_0xac66fe[_0x48a597(0x2c2)]('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0xe8a38a,'univer-text-red-500':!_0xe8a38a}),'children':_0x2d8093}),_0x356bea[_0x48a597(0x286)](_0x48a597(0x2f5),{'className':_0x48a597(0x27d),'children':_0x34e570})]});}return _0xe8a38a?_0x4396a0():_0x356bea['jsx'](_0xac66fe[_0x4eec7e(0x29c)],{'title':_0x3bdc2a['t'](_0x4eec7e(0x344)),'children':_0x4396a0()});}var _0x50b0ac=Object['getOwnPropertyDescriptor'],_0x273172=(_0x1aa4a0,_0x34c750,_0x34cac3,_0x535ff9)=>{const _0x420949=_0x2e363d;for(var _0x125d93=_0x535ff9>0x1?void 0x0:_0x535ff9?_0x50b0ac(_0x34c750,_0x34cac3):_0x34c750,_0x3ff6c9=_0x1aa4a0[_0x420949(0x1a4)]-0x1,_0xa82ae3;_0x3ff6c9>=0x0;_0x3ff6c9--)(_0xa82ae3=_0x1aa4a0[_0x3ff6c9])&&(_0x125d93=_0xa82ae3(_0x125d93)||_0x125d93);return _0x125d93;},_0x3fcb72=(_0x1c66b7,_0x583716)=>(_0x30ae15,_0x173fb3)=>_0x583716(_0x30ae15,_0x173fb3,_0x1c66b7);_0x1364d3[_0x2e363d(0x23b)]=class extends _0x2b43e1[_0x2e363d(0x396)]{constructor(_0x30986f,_0x34777a,_0x23334d,_0x565e69){const _0x19a064=_0x2e363d;super(),_0x1b73a5(this,'_status$',new _0x5ad77d[(_0x19a064(0x146))](_0x35d81a[_0x19a064(0x28b)][_0x19a064(0x308)])),(this[_0x19a064(0x1c6)]=_0x30986f,this[_0x19a064(0x121)]=_0x34777a,this[_0x19a064(0x2fa)]=_0x23334d,this[_0x19a064(0x24d)]=_0x565e69,this[_0x19a064(0x2b3)](),this[_0x19a064(0x377)]());}['_initStatusListener'](){const _0x1f5e8f=_0x2e363d;this[_0x1f5e8f(0x160)](this[_0x1f5e8f(0x1c6)][_0x1f5e8f(0x288)][_0x1f5e8f(0x230)](_0x5ad77d[_0x1f5e8f(0x291)](()=>{const _0x539eb2=_0x1f5e8f,_0x8d3f49=this[_0x539eb2(0x1c6)][_0x539eb2(0x33a)]();return _0x8d3f49?this[_0x539eb2(0x2fa)]['getCollabEntity$'](_0x8d3f49[_0x539eb2(0x331)]()):_0x5ad77d['of'](null);}),_0x5ad77d[_0x1f5e8f(0x291)](_0x171c81=>_0x171c81?_0x171c81['status$']:_0x5ad77d['of'](_0x35d81a['CollaborationStatus'][_0x1f5e8f(0x308)])))['subscribe'](_0x2de5a8=>{const _0x3e4c25=_0x1f5e8f;this[_0x3e4c25(0x2b1)][_0x3e4c25(0x320)](_0x2de5a8);}));}[_0x2e363d(0x2b3)](){const _0x2320a0=_0x2e363d;this[_0x2320a0(0x160)](this['_uiPartsService']['registerComponent'](_0x2d250c['BuiltInUIPart'][_0x2320a0(0x289)],()=>_0x2d250c[_0x2320a0(0x1aa)](_0x251708({'status$':this[_0x2320a0(0x2b1)][_0x2320a0(0x3b0)]()}),this[_0x2320a0(0x121)])));}},_0x1364d3[_0x2e363d(0x23b)]=_0x273172([_0x3fcb72(0x0,_0x2b43e1['IUniverInstanceService']),_0x3fcb72(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0x3fcb72(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x252)])),_0x3fcb72(0x3,_0x2d250c[_0x2e363d(0x28c)])],_0x1364d3['DesktopCollaborationStatusDisplayController']);function _0x251708(_0x37290b){const {status$:_0xa78e5}=_0x37290b;return function(){const _0x58f27a=_0xc513;return _0x356bea[_0x58f27a(0x286)](_0x58e3df,{'status$':_0xa78e5});};}var _0x5bb69b=Object[_0x2e363d(0x29d)],_0x13c1ed=(_0x23f978,_0xc56a86,_0x3d21db,_0x6c17e7)=>{for(var _0x37a3f0=_0x6c17e7>0x1?void 0x0:_0x6c17e7?_0x5bb69b(_0xc56a86,_0x3d21db):_0xc56a86,_0x1a78c8=_0x23f978['length']-0x1,_0x128dc5;_0x1a78c8>=0x0;_0x1a78c8--)(_0x128dc5=_0x23f978[_0x1a78c8])&&(_0x37a3f0=_0x128dc5(_0x37a3f0)||_0x37a3f0);return _0x37a3f0;},_0x539b15=(_0x5c198b,_0x504c69)=>(_0x4bf268,_0x25812b)=>_0x504c69(_0x4bf268,_0x25812b,_0x5c198b);let _0x817f88=class extends _0x2b43e1[_0x2e363d(0x396)]{constructor(_0x344bad,_0x346952,_0x3d149a,_0x5b8c13,_0x1a763e,_0x16a522){const _0x597f18=_0x2e363d;super(),this[_0x597f18(0x212)]=_0x344bad,this[_0x597f18(0x260)]=_0x346952,this[_0x597f18(0x181)]=_0x3d149a,this[_0x597f18(0x3a2)]=_0x5b8c13,this[_0x597f18(0x3a3)]=_0x1a763e,this['_localeService']=_0x16a522,this[_0x597f18(0x281)](),this[_0x597f18(0x2be)]();}[_0x2e363d(0x281)](){const _0x44b8e9=_0x2e363d;this[_0x44b8e9(0x160)](this[_0x44b8e9(0x212)][_0x44b8e9(0x2e6)](()=>{const _0x32d51d=_0x44b8e9;if(this[_0x32d51d(0x260)][_0x32d51d(0x119)][_0x32d51d(0x27f)])return this[_0x32d51d(0x140)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x2e363d(0x2be)](){const _0x480929=_0x2e363d;this[_0x480929(0x160)](this[_0x480929(0x181)]['event$']['subscribe'](_0x4c2a42=>{const _0x171c3d=_0x480929;_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)]['OTHER_CLIENT_EDITING']&&this[_0x171c3d(0x3a2)][_0x171c3d(0x12c)]({'type':_0xac66fe[_0x171c3d(0x324)][_0x171c3d(0x1ed)],'content':this[_0x171c3d(0x140)]['t'](_0x171c3d(0x204))}),_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)]['CLOSE_ROOM']&&this['_messageService'][_0x171c3d(0x12c)]({'type':_0xac66fe[_0x171c3d(0x324)][_0x171c3d(0x1ed)],'content':this[_0x171c3d(0x140)]['t'](_0x171c3d(0x2f6))}),_0x4c2a42['id']===_0x35d81a['CollaborationUIEventId'][_0x171c3d(0x157)]&&this[_0x171c3d(0x3a3)][_0x171c3d(0x12c)]({'title':this[_0x171c3d(0x140)]['t']('permission.title'),'content':this['_localeService']['t'](_0x171c3d(0x14c)),'type':'error','duration':0x0}),_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)]['CONFLICT']&&this['_messageService'][_0x171c3d(0x12c)]({'type':_0xac66fe[_0x171c3d(0x324)][_0x171c3d(0x178)],'content':this[_0x171c3d(0x140)]['t'](_0x171c3d(0x2f6))+'('+_0x4c2a42[_0x171c3d(0x1b4)]+')'}),_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)][_0x171c3d(0x350)]&&this[_0x171c3d(0x3a2)][_0x171c3d(0x12c)]({'type':_0xac66fe[_0x171c3d(0x324)][_0x171c3d(0x1ed)],'content':this[_0x171c3d(0x140)]['t'](_0x4c2a42[_0x171c3d(0x1b4)]||'')}),_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)][_0x171c3d(0x33f)]&&this[_0x171c3d(0x3a2)][_0x171c3d(0x12c)]({'type':_0xac66fe['MessageType'][_0x171c3d(0x1ed)],'content':this[_0x171c3d(0x140)]['t'](_0x171c3d(0x2b2))}),_0x4c2a42['id']===_0x35d81a['CollaborationUIEventId'][_0x171c3d(0x19f)]&&this['_messageService']['show']({'type':_0xac66fe[_0x171c3d(0x324)]['Error'],'content':this['_localeService']['t']('session.connection-failed')}),_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x171c3d(0x12c)]({'type':_0xac66fe[_0x171c3d(0x324)][_0x171c3d(0x178)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x817f88=_0x13c1ed([_0x539b15(0x0,_0x2d250c[_0x2e363d(0x37f)]),_0x539b15(0x1,_0x35d81a[_0x2e363d(0x348)]),_0x539b15(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x179)])),_0x539b15(0x3,_0x2d250c[_0x2e363d(0x153)]),_0x539b15(0x4,_0x2d250c[_0x2e363d(0x2c8)]),_0x539b15(0x5,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x2c5)]))],_0x817f88);const _0x5094dd=_0x2e363d(0x31a),_0x3cf9e4={},_0x4b6a35=_0x2b43e1[_0x2e363d(0x27e)](_0x2e363d(0x257));var _0x1b14b7=Object[_0x2e363d(0x29d)],_0x19aa9a=(_0x4fca0f,_0x314a86,_0x2115e2,_0x3da59b)=>{const _0x113534=_0x2e363d;for(var _0x1f7e50=_0x3da59b>0x1?void 0x0:_0x3da59b?_0x1b14b7(_0x314a86,_0x2115e2):_0x314a86,_0x45ec40=_0x4fca0f[_0x113534(0x1a4)]-0x1,_0x56235a;_0x45ec40>=0x0;_0x45ec40--)(_0x56235a=_0x4fca0f[_0x45ec40])&&(_0x1f7e50=_0x56235a(_0x1f7e50)||_0x1f7e50);return _0x1f7e50;},_0x418d35=(_0x1326a8,_0x223526)=>(_0x2f8845,_0x4810ba)=>_0x223526(_0x2f8845,_0x4810ba,_0x1326a8);_0x1364d3[_0x2e363d(0x394)]=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0x5ecb6d,_0x403cf6,_0x2e9ce0,_0x16ea19,_0x1b830d){const _0x4111aa=_0x2e363d;super(),this[_0x4111aa(0x357)]=_0x5ecb6d,this[_0x4111aa(0x30f)]=_0x403cf6,this[_0x4111aa(0x232)]=_0x2e9ce0,this[_0x4111aa(0x39a)]=_0x16ea19,_0x1b830d?_0x1b830d==null||_0x1b830d[_0x4111aa(0x1f2)]()['then'](()=>this[_0x4111aa(0x151)]()):(this[_0x4111aa(0x30f)][_0x4111aa(0x1ef)](_0x4111aa(0x133),_0x4111aa(0x13d)),this[_0x4111aa(0x151)]());}async[_0x2e363d(0x151)](){const _0x3966bc=_0x2e363d,_0xd5b664=this[_0x3966bc(0x357)][_0x3966bc(0x191)](_0x3966bc(0x2e9)),_0x252af8=this[_0x3966bc(0x357)][_0x3966bc(0x191)](_0x3966bc(0x255)),_0x11ac5d=this['_urlService'][_0x3966bc(0x191)](_0x3966bc(0x369));if(!_0xd5b664||!_0x252af8){this[_0x3966bc(0x30f)][_0x3966bc(0x1ef)](_0x3966bc(0x133),_0x3966bc(0x17f));return;}const _0x41e4d5=await this[_0x3966bc(0x39a)][_0x3966bc(0x13c)](_0xd5b664,Number(_0x252af8),_0x11ac5d);_0x41e4d5&&_0x41e4d5 instanceof _0x2b43e1[_0x3966bc(0x1f9)]&&this[_0x3966bc(0x127)](_0x41e4d5);}async[_0x2e363d(0x127)](_0x59e505){const _0x501d60=_0x2e363d;await this['_updateSubUnitFromURLParams'](_0x59e505),_0x59e505[_0x501d60(0x262)][_0x501d60(0x230)](_0x5ad77d[_0x501d60(0x383)](this[_0x501d60(0x223)]))[_0x501d60(0x2d3)](_0x29b24e=>{_0x29b24e&&this['_updateURLWithCurrentState'](_0x29b24e);}),this['_urlService'][_0x501d60(0x327)][_0x501d60(0x230)](_0x5ad77d[_0x501d60(0x383)](this[_0x501d60(0x223)]))[_0x501d60(0x2d3)](()=>this[_0x501d60(0x31e)](_0x59e505));}[_0x2e363d(0x270)](_0x36be7f,_0x17d232=!0x1){const _0x43b3a8=_0x2e363d,_0x1463a3=this[_0x43b3a8(0x357)][_0x43b3a8(0x191)](_0x43b3a8(0x369));_0x36be7f['getSheetId']()!==_0x1463a3&&this[_0x43b3a8(0x357)][_0x43b3a8(0x198)](_0x43b3a8(0x369),_0x36be7f[_0x43b3a8(0x231)](),_0x17d232);}async['_updateSubUnitFromURLParams'](_0x2c70e9){const _0x5e49d6=_0x2e363d;var _0x587099;const _0x417f78=this[_0x5e49d6(0x357)][_0x5e49d6(0x191)](_0x5e49d6(0x369));if(!_0x417f78||!_0x2c70e9[_0x5e49d6(0x2b6)](_0x417f78)){const _0x5c74eb=_0x2c70e9[_0x5e49d6(0x30e)]()[0x0],_0x19c658=_0x2c70e9[_0x5e49d6(0x2b6)](_0x5c74eb);if(!_0x19c658)return;this[_0x5e49d6(0x270)](_0x19c658,!0x0),await this[_0x5e49d6(0x232)][_0x5e49d6(0x3ad)](_0x575825[_0x5e49d6(0x264)]['id'],{'unitId':_0x2c70e9[_0x5e49d6(0x331)](),'subUnitId':_0x5c74eb});return;}((_0x587099=_0x2c70e9[_0x5e49d6(0x237)]())==null?void 0x0:_0x587099[_0x5e49d6(0x231)]())!==_0x417f78&&await this[_0x5e49d6(0x232)][_0x5e49d6(0x3ad)](_0x575825[_0x5e49d6(0x264)]['id'],{'unitId':_0x2c70e9['getUnitId'](),'subUnitId':_0x417f78});}},_0x1364d3['CollaborationDataLoaderController']=_0x19aa9a([_0x418d35(0x0,_0x4b6a35),_0x418d35(0x1,_0x2b43e1[_0x2e363d(0x1dd)]),_0x418d35(0x2,_0x2b43e1['ICommandService']),_0x418d35(0x3,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x176)])),_0x418d35(0x4,_0x2b43e1[_0x2e363d(0x27b)](_0x3716d4[_0x2e363d(0x328)]))],_0x1364d3[_0x2e363d(0x394)]);var _0x2e5bbe=Object[_0x2e363d(0x29d)],_0x301717=(_0x12fcf9,_0x15ca15,_0x2aaeaf,_0x1d81b1)=>{const _0x15f00f=_0x2e363d;for(var _0x2e2db=_0x1d81b1>0x1?void 0x0:_0x1d81b1?_0x2e5bbe(_0x15ca15,_0x2aaeaf):_0x15ca15,_0x475425=_0x12fcf9[_0x15f00f(0x1a4)]-0x1,_0x5b7eae;_0x475425>=0x0;_0x475425--)(_0x5b7eae=_0x12fcf9[_0x475425])&&(_0x2e2db=_0x5b7eae(_0x2e2db)||_0x2e2db);return _0x2e2db;},_0x1f9433=(_0x190713,_0x317382)=>(_0x2968c9,_0x2218d8)=>_0x317382(_0x2968c9,_0x2218d8,_0x190713);let _0x417996=class{constructor(_0x5b6912,_0x560e96,_0x4b9c6f){this['_injector']=_0x5b6912,this['_transformService']=_0x560e96,this['_renderManagerService']=_0x4b9c6f;}[_0x2e363d(0x1e6)](_0x58e430){const _0x198088=_0x2e363d;this[_0x198088(0x313)](_0x58e430),this[_0x198088(0x1b7)](_0x58e430);}['transformRemoteChangeset'](_0x5d7ca3){const _0x4fc219=_0x2e363d,{unitID:_0x2d16f8}=_0x5d7ca3,_0x278946=this[_0x4fc219(0x311)][_0x4fc219(0x2fc)](_0x2d16f8)[_0x4fc219(0x1b6)](_0x15c8af[_0x4fc219(0x14b)]),{redoCache:_0x3e5f80}=_0x278946['getUndoRedoMutationParamsCache']();if(_0x3e5f80[_0x4fc219(0x1a4)]===0x0)return _0x5d7ca3;let _0x3be1b8=_0x2b43e1[_0x4fc219(0x2af)][_0x4fc219(0x340)](_0x5d7ca3['mutations'][0x0]);for(let _0x5f2e26=0x0;_0x5f2e26<_0x3e5f80[_0x4fc219(0x1a4)];_0x5f2e26++){const _0x18ec2f={'id':_0x4fc219(0x145),'params':{..._0x3e5f80[_0x5f2e26]}},_0x3ae186=this['_transformService'][_0x4fc219(0x175)](_0x3be1b8,_0x18ec2f,!0x1);if(_0x4bbdfc[_0x4fc219(0x2c0)](_0x3ae186))throw _0x3ae186[_0x4fc219(0x139)];_0x3be1b8=_0x3ae186[_0x4fc219(0x30b)];}return{..._0x2b43e1[_0x4fc219(0x2af)][_0x4fc219(0x340)](_0x5d7ca3),'mutations':[_0x3be1b8]};}['_transformUndoRedoStack'](_0x289fba){const _0x3d7c69=_0x2e363d,{unitID:_0x234f6a}=_0x289fba,_0x16fade=this[_0x3d7c69(0x311)][_0x3d7c69(0x2fc)](_0x234f6a)['with'](_0x15c8af['DocIMEInputManagerService']),{undoCache:_0x1291a2,redoCache:_0x19abff}=_0x16fade['getUndoRedoMutationParamsCache']();if(_0x1291a2[_0x3d7c69(0x1a4)]===0x0||_0x19abff[_0x3d7c69(0x1a4)]===0x0)return;const _0x37cd87=[],_0x7ff3b1=[];let _0x53ba67=_0x2b43e1['Tools']['deepClone'](_0x289fba['mutations'][0x0]),_0x336170=_0x2b43e1[_0x3d7c69(0x2af)][_0x3d7c69(0x340)](_0x289fba[_0x3d7c69(0x162)][0x0]);for(let _0x166a1d=_0x1291a2[_0x3d7c69(0x1a4)]-0x1;_0x166a1d>=0x0;_0x166a1d--){const _0x1ed11c={'id':_0x3d7c69(0x145),'params':{..._0x1291a2[_0x166a1d]}},_0x500687={'id':_0x3d7c69(0x145),'params':{..._0x19abff[_0x166a1d]}},_0x3c2604=this[_0x3d7c69(0x2a4)][_0x3d7c69(0x175)](_0x53ba67,_0x1ed11c,!0x1),_0x201262=this[_0x3d7c69(0x2a4)][_0x3d7c69(0x175)](_0x336170,_0x500687,!0x1);if(_0x4bbdfc[_0x3d7c69(0x2c0)](_0x3c2604))throw _0x3c2604[_0x3d7c69(0x139)];if(_0x4bbdfc[_0x3d7c69(0x2c0)](_0x201262))throw _0x201262[_0x3d7c69(0x139)];_0x37cd87['unshift'](_0x3c2604['m2Prime'][_0x3d7c69(0x387)]),_0x7ff3b1['unshift'](_0x201262[_0x3d7c69(0x34c)]['params']),_0x53ba67=_0x3c2604['m1Prime'],_0x336170=_0x201262[_0x3d7c69(0x30b)];}_0x16fade[_0x3d7c69(0x144)]({'undoCache':_0x37cd87,'redoCache':_0x7ff3b1});}[_0x2e363d(0x1b7)](_0x2de74e){const _0x55b684=_0x2e363d,{unitID:_0x30bf04}=_0x2de74e,_0x10145d=this['_renderManagerService'][_0x55b684(0x2fc)](_0x30bf04)['with'](_0x15c8af[_0x55b684(0x14b)]),_0x2b4633=_0x10145d[_0x55b684(0x1e7)]();if(_0x2b4633==null)return;const _0xe3cd5a=[{'id':_0x55b684(0x145),'params':{'unitId':_0x2de74e[_0x55b684(0x1bb)],'actions':null,'textRanges':[_0x2b4633]}}],_0x6e60b7=this[_0x55b684(0x2a4)][_0x55b684(0x1e2)](_0x2de74e,_0xe3cd5a);if(!_0x4bbdfc['isTransformMutationsWithChangesetSuccess'](_0x6e60b7))throw _0x6e60b7[_0x55b684(0x139)];const _0x539130=_0x6e60b7['m2Prime'][0x0][_0x55b684(0x387)][_0x55b684(0x22b)];Array[_0x55b684(0x388)](_0x539130)&&_0x539130['length']&&_0x10145d[_0x55b684(0x329)](_0x539130[0x0]);}};_0x417996=_0x301717([_0x1f9433(0x0,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0x1f9433(0x1,_0x4bbdfc[_0x2e363d(0x129)]),_0x1f9433(0x2,_0x4f9ef0[_0x2e363d(0x19e)])],_0x417996);var _0x5a34a5=Object[_0x2e363d(0x29d)],_0x306e2f=(_0x331a85,_0x317f5d,_0x31964c,_0xa2b0c1)=>{for(var _0xe9e518=_0xa2b0c1>0x1?void 0x0:_0xa2b0c1?_0x5a34a5(_0x317f5d,_0x31964c):_0x317f5d,_0x3270ee=_0x331a85['length']-0x1,_0x164a38;_0x3270ee>=0x0;_0x3270ee--)(_0x164a38=_0x331a85[_0x3270ee])&&(_0xe9e518=_0x164a38(_0xe9e518)||_0xe9e518);return _0xe9e518;},_0x7d546c=(_0x1dae00,_0x1d78e5)=>(_0x450c06,_0x3fd723)=>_0x1d78e5(_0x450c06,_0x3fd723,_0x1dae00);let _0x4dbe37=class{constructor(_0x2dd2d7,_0x56d2c2,_0x57de39){const _0xa5de24=_0x2e363d;this[_0xa5de24(0x121)]=_0x2dd2d7,this[_0xa5de24(0x2a4)]=_0x56d2c2,this[_0xa5de24(0x11b)]=_0x57de39;}[_0x2e363d(0x174)](_0x4b39ed){const _0x195ffc=_0x2e363d;this[_0x195ffc(0x37b)](_0x4b39ed);}[_0x2e363d(0x2a2)](_0x40a68f){const _0x3b1878=_0x2e363d,{unitID:_0x7c3ce8}=_0x40a68f,{collaboration:_0x43ad40}=this[_0x3b1878(0x11b)][_0x3b1878(0x278)](_0x7c3ce8);if(_0x43ad40[_0x3b1878(0x1a4)]===0x0)return _0x40a68f;let _0xf6f1cf=_0x2b43e1[_0x3b1878(0x2af)][_0x3b1878(0x340)](_0x40a68f['mutations'][0x0]);for(let _0x221aa6=0x0;_0x221aa6<_0x43ad40[_0x3b1878(0x1a4)];_0x221aa6++){const _0x48a4a1={'id':_0x3b1878(0x145),'params':{'unitId':_0x43ad40[_0x221aa6]['unitId'],..._0x43ad40[_0x221aa6][_0x3b1878(0x1be)]}},_0x1da643=this[_0x3b1878(0x2a4)][_0x3b1878(0x175)](_0xf6f1cf,_0x48a4a1,!0x1);if(_0x4bbdfc[_0x3b1878(0x2c0)](_0x1da643))throw _0x1da643[_0x3b1878(0x139)];_0xf6f1cf=_0x1da643['m1Prime'];}return{..._0x2b43e1[_0x3b1878(0x2af)][_0x3b1878(0x340)](_0x40a68f),'mutations':[_0xf6f1cf]};}[_0x2e363d(0x37b)](_0x294f58){const _0x4b91e3=_0x2e363d,{unitID:_0x3db1d8}=_0x294f58,{history:_0x41ffda,collaboration:_0x5b8aad}=this['_docStateChangeManagerService'][_0x4b91e3(0x278)](_0x3db1d8);if(_0x41ffda['length']===0x0&&_0x5b8aad[_0x4b91e3(0x1a4)]===0x0)return;const _0x55de71=[],_0x140563=[];let _0x3b323a=_0x2b43e1['Tools'][_0x4b91e3(0x340)](_0x294f58[_0x4b91e3(0x162)][0x0]),_0x38a79b=_0x2b43e1[_0x4b91e3(0x2af)]['deepClone'](_0x294f58[_0x4b91e3(0x162)][0x0]);for(let _0x25f312=_0x41ffda[_0x4b91e3(0x1a4)]-0x1;_0x25f312>=0x0;_0x25f312--){const _0x45ed15={'id':_0x4b91e3(0x145),'params':{'unitId':_0x41ffda[_0x25f312][_0x4b91e3(0x32f)],..._0x41ffda[_0x25f312][_0x4b91e3(0x366)]}},_0x33387d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x41ffda[_0x25f312]['unitId'],..._0x41ffda[_0x25f312]['redoState']}},_0x59864d=this[_0x4b91e3(0x2a4)][_0x4b91e3(0x175)](_0x3b323a,_0x45ed15,!0x1),_0x6082f0=this[_0x4b91e3(0x2a4)][_0x4b91e3(0x175)](_0x38a79b,_0x33387d,!0x1);if(_0x4bbdfc[_0x4b91e3(0x2c0)](_0x59864d))throw _0x59864d[_0x4b91e3(0x139)];if(_0x4bbdfc[_0x4b91e3(0x2c0)](_0x6082f0))throw _0x6082f0[_0x4b91e3(0x139)];_0x55de71[_0x4b91e3(0x1fe)]({..._0x41ffda[_0x25f312],'undoState':_0x59864d[_0x4b91e3(0x34c)][_0x4b91e3(0x387)],'redoState':_0x6082f0['m2Prime'][_0x4b91e3(0x387)]}),_0x3b323a=_0x59864d[_0x4b91e3(0x30b)],_0x38a79b=_0x6082f0[_0x4b91e3(0x30b)];}_0x3b323a=_0x2b43e1[_0x4b91e3(0x2af)][_0x4b91e3(0x340)](_0x294f58[_0x4b91e3(0x162)][0x0]),_0x38a79b=_0x2b43e1[_0x4b91e3(0x2af)][_0x4b91e3(0x340)](_0x294f58[_0x4b91e3(0x162)][0x0]);for(let _0x3eefc3=_0x5b8aad['length']-0x1;_0x3eefc3>=0x0;_0x3eefc3--){const _0xd3ab88={'id':_0x4b91e3(0x145),'params':{'unitId':_0x5b8aad[_0x3eefc3][_0x4b91e3(0x32f)],..._0x5b8aad[_0x3eefc3][_0x4b91e3(0x366)]}},_0x5d0cb5={'id':_0x4b91e3(0x145),'params':{'unitId':_0x5b8aad[_0x3eefc3]['unitId'],..._0x5b8aad[_0x3eefc3][_0x4b91e3(0x1be)]}},_0x583921=this[_0x4b91e3(0x2a4)][_0x4b91e3(0x175)](_0x3b323a,_0xd3ab88,!0x1),_0x528c15=this[_0x4b91e3(0x2a4)][_0x4b91e3(0x175)](_0x38a79b,_0x5d0cb5,!0x1);if(_0x4bbdfc[_0x4b91e3(0x2c0)](_0x583921))throw _0x583921[_0x4b91e3(0x139)];if(_0x4bbdfc[_0x4b91e3(0x2c0)](_0x528c15))throw _0x528c15[_0x4b91e3(0x139)];_0x140563[_0x4b91e3(0x1fe)]({..._0x5b8aad[_0x3eefc3],'undoState':_0x583921[_0x4b91e3(0x34c)]['params'],'redoState':_0x528c15[_0x4b91e3(0x34c)]['params']}),_0x3b323a=_0x583921['m1Prime'],_0x38a79b=_0x528c15['m1Prime'];}this[_0x4b91e3(0x11b)][_0x4b91e3(0x168)](_0x3db1d8,{'history':_0x55de71,'collaboration':_0x140563});}};_0x4dbe37=_0x306e2f([_0x7d546c(0x0,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1['Injector'])),_0x7d546c(0x1,_0x4bbdfc[_0x2e363d(0x129)]),_0x7d546c(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x15c8af[_0x2e363d(0x1ac)]))],_0x4dbe37);var _0x16c2a7=Object[_0x2e363d(0x29d)],_0x5026e6=(_0x2ab1c1,_0x4e662c,_0xa137dc,_0x30d3d1)=>{const _0x1d2152=_0x2e363d;for(var _0x1cca31=_0x30d3d1>0x1?void 0x0:_0x30d3d1?_0x16c2a7(_0x4e662c,_0xa137dc):_0x4e662c,_0x188a25=_0x2ab1c1[_0x1d2152(0x1a4)]-0x1,_0x3d8b92;_0x188a25>=0x0;_0x188a25--)(_0x3d8b92=_0x2ab1c1[_0x188a25])&&(_0x1cca31=_0x3d8b92(_0x1cca31)||_0x1cca31);return _0x1cca31;},_0x238b5c=(_0x3d0229,_0x2b26c5)=>(_0x2d426f,_0x136525)=>_0x2b26c5(_0x2d426f,_0x136525,_0x3d0229);let _0x326498=class{constructor(_0x38caec,_0x2f0564){const _0x3caf13=_0x2e363d;this[_0x3caf13(0x121)]=_0x38caec,this[_0x3caf13(0x2a4)]=_0x2f0564;}['transformSelections'](_0x58ef89){const _0x15dd25=_0x2e363d;var _0x54a2f4;const _0x25b64d=this[_0x15dd25(0x121)][_0x15dd25(0x2a6)](_0x854483[_0x15dd25(0x1a8)]),_0x524599=(_0x54a2f4=_0x25b64d[_0x15dd25(0x304)]())!=null?_0x54a2f4:[];if(_0x524599[_0x15dd25(0x1a4)]===0x0)return;const _0x51197e=_0x58ef89[_0x15dd25(0x1bb)],_0x250910=[{'id':_0x15dd25(0x145),'params':{'unitId':_0x51197e,'actions':null,'textRanges':_0x524599}}],_0x6d6af9=this[_0x15dd25(0x2a4)][_0x15dd25(0x1e2)](_0x58ef89,_0x250910);if(!_0x4bbdfc[_0x15dd25(0x1e8)](_0x6d6af9))throw _0x6d6af9['error'];const _0x430a9d=_0x6d6af9['m2Prime'][0x0][_0x15dd25(0x387)][_0x15dd25(0x22b)];Array[_0x15dd25(0x388)](_0x430a9d)&&_0x430a9d[_0x15dd25(0x1a4)]&&_0x25b64d[_0x15dd25(0x3a0)](_0x430a9d,{'unitId':_0x51197e,'subUnitId':_0x51197e},!0x1);}};_0x326498=_0x5026e6([_0x238b5c(0x0,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1['Injector'])),_0x238b5c(0x1,_0x4bbdfc[_0x2e363d(0x129)])],_0x326498);var _0x6ca962=Object[_0x2e363d(0x29d)],_0x51d2fc=(_0x248591,_0x544be8,_0x4930f6,_0x3788b6)=>{const _0x5cf628=_0x2e363d;for(var _0xe4141a=_0x3788b6>0x1?void 0x0:_0x3788b6?_0x6ca962(_0x544be8,_0x4930f6):_0x544be8,_0x399dfc=_0x248591[_0x5cf628(0x1a4)]-0x1,_0x1b4782;_0x399dfc>=0x0;_0x399dfc--)(_0x1b4782=_0x248591[_0x399dfc])&&(_0xe4141a=_0x1b4782(_0xe4141a)||_0xe4141a);return _0xe4141a;},_0x11a89e=(_0x1dd6f2,_0x38b7ba)=>(_0x34e4c8,_0x52b481)=>_0x38b7ba(_0x34e4c8,_0x52b481,_0x1dd6f2);let _0x443ad7=class extends _0x2b43e1['Disposable']{constructor(_0x3b9438,_0x4b36c5,_0x248fe2,_0x45ea25,_0x3753af,_0x5ef1a8,_0x3fa4ef,_0x302fda){const _0x5800b4=_0x2e363d;super(),_0x1b73a5(this,_0x5800b4(0x2b1),new _0x5ad77d[(_0x5800b4(0x146))](_0x35d81a[_0x5800b4(0x28b)][_0x5800b4(0x308)])),(this[_0x5800b4(0x11b)]=_0x3b9438,this[_0x5800b4(0x2fa)]=_0x4b36c5,this[_0x5800b4(0x123)]=_0x248fe2,this[_0x5800b4(0x31c)]=_0x45ea25,this[_0x5800b4(0x271)]=_0x3753af,this[_0x5800b4(0x188)]=_0x5ef1a8,this[_0x5800b4(0x3a2)]=_0x3fa4ef,this[_0x5800b4(0x140)]=_0x302fda,this['_initEntityListener']());}[_0x2e363d(0x1ab)](){const _0x8ab804=_0x2e363d;this[_0x8ab804(0x160)](this['_collaborationController']['entityInit$'][_0x8ab804(0x2d3)](_0x228747=>{const _0x5a8322=_0x8ab804,_0x40fc3a=this[_0x5a8322(0x11b)][_0x5a8322(0x1fa)][_0x5a8322(0x2d3)](_0x53c89b=>{const _0x192654=_0x5a8322;if(_0x53c89b==null)return;const {unitId:_0x55fcac,redoState:_0x5e0c19,commandId:_0x3049b7}=_0x53c89b;if(_0x55fcac!==_0x228747[_0x192654(0x1bb)])return;const _0x3917c4={'id':_0x3049b7,'type':_0x2b43e1[_0x192654(0x13f)]['MUTATION'],'params':{'unitId':_0x55fcac,'actions':_0x5e0c19['actions'],'textRanges':null}};_0x228747[_0x192654(0x244)](_0x3917c4);});if(_0x228747[_0x5a8322(0x160)](_0x40fc3a),_0x228747 instanceof _0x35d81a[_0x5a8322(0x355)]){const _0x32df32={'onTransformIME':_0x5137eb=>this[_0x5a8322(0x123)][_0x5a8322(0x1e6)](_0x5137eb),'onTransformState':_0x41a718=>this[_0x5a8322(0x31c)][_0x5a8322(0x174)](_0x41a718),'onTransformSelections':_0x1e810f=>this[_0x5a8322(0x271)][_0x5a8322(0x256)](_0x1e810f),'onSyncEditingCollabCursor':_0x4a9f4b=>this['_docSyncEditingCollabCursorService'][_0x5a8322(0x33c)](_0x4a9f4b),'onTransformRemoteChangesetByIMECache':_0x2c3829=>this['_docTransformIMECacheService'][_0x5a8322(0x2a2)](_0x2c3829),'onTransformRemoteChangesetByStateCache':_0x2ebec0=>this[_0x5a8322(0x31c)][_0x5a8322(0x2a2)](_0x2ebec0)};_0x228747[_0x5a8322(0x193)](_0x32df32);}}));}};_0x443ad7=_0x51d2fc([_0x11a89e(0x0,_0x2b43e1[_0x2e363d(0x1f3)](_0x15c8af['DocStateChangeManagerService'])),_0x11a89e(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x252)])),_0x11a89e(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x417996)),_0x11a89e(0x3,_0x2b43e1[_0x2e363d(0x1f3)](_0x4dbe37)),_0x11a89e(0x4,_0x2b43e1['Inject'](_0x326498)),_0x11a89e(0x5,_0x2b43e1['Inject'](_0x5eda65)),_0x11a89e(0x6,_0x2d250c[_0x2e363d(0x153)]),_0x11a89e(0x7,_0x2b43e1['Inject'](_0x2b43e1[_0x2e363d(0x2c5)]))],_0x443ad7);var _0x91b78=Object['getOwnPropertyDescriptor'],_0x23b014=(_0x5b88a0,_0x57c9e6,_0x467a75,_0x322c8a)=>{const _0x2c09c3=_0x2e363d;for(var _0x51302f=_0x322c8a>0x1?void 0x0:_0x322c8a?_0x91b78(_0x57c9e6,_0x467a75):_0x57c9e6,_0x3a4f30=_0x5b88a0[_0x2c09c3(0x1a4)]-0x1,_0x754c1d;_0x3a4f30>=0x0;_0x3a4f30--)(_0x754c1d=_0x5b88a0[_0x3a4f30])&&(_0x51302f=_0x754c1d(_0x51302f)||_0x51302f);return _0x51302f;},_0x3880e4=(_0x460857,_0x95e71c)=>(_0xbfab9e,_0x534c64)=>_0x95e71c(_0xbfab9e,_0x534c64,_0x460857);let _0x2c6462=class extends _0x2b43e1[_0x2e363d(0x396)]{constructor(_0x5bbba6,_0x3f424f,_0xd6c95d){const _0xf8e666=_0x2e363d;super(),_0x1b73a5(this,'_cachedData',new Map()),_0x1b73a5(this,_0xf8e666(0x166),new Map()),_0x1b73a5(this,'_disabled',!0x1),(this['_configService']=_0x5bbba6,this[_0xf8e666(0x266)]=_0x3f424f,this['_revisionService']=_0xd6c95d);}['disableLocalCache'](){const _0x484d84=_0x2e363d;this[_0x484d84(0x306)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x2e363d(0x119)](){const _0x20aeca=_0x2e363d;return this[_0x20aeca(0x166)];}[_0x2e363d(0x1ad)](){const _0x9f1494=_0x2e363d;this[_0x9f1494(0x38f)]()[_0x9f1494(0x23c)](()=>super['dispose']());}async[_0x2e363d(0x248)](_0xab23f7){const _0x50c723=_0x2e363d;return this[_0x50c723(0x306)]?null:this[_0x50c723(0x266)][_0x50c723(0x23f)](_0x35d81a[_0x50c723(0x16e)](_0xab23f7));}async[_0x2e363d(0x2c7)](_0x4989d6,_0x141b63){const _0x23ab38=_0x2e363d;return!!this[_0x23ab38(0x266)]['setItem'](_0x4989d6,_0x141b63);}[_0x2e363d(0x2eb)](_0x5b9f0e,_0x49e88a,_0x33ff5e,_0x153177){const _0x19cf82=_0x2e363d,_0x5bf8fd=this[_0x19cf82(0x249)]['getCurrentRevOfUnit'](_0x5b9f0e);this[_0x19cf82(0x298)][_0x19cf82(0x2f1)](_0x5b9f0e,{'unitID':_0x5b9f0e,'type':_0x49e88a,'awaitingChangeset':_0x33ff5e,'mutations':_0x153177,'rev':_0x5bf8fd}),this[_0x19cf82(0x166)]['has'](_0x5b9f0e)||this[_0x19cf82(0x2b4)](_0x5b9f0e);}[_0x2e363d(0x2b4)](_0x2db181){const _0xcff047=_0x2e363d,_0x28739a=this[_0xcff047(0x2a0)]();_0x28739a===0x0?this[_0xcff047(0x186)](_0x2db181):this['_saveTaskMap']['set'](_0x2db181,setTimeout(()=>this[_0xcff047(0x186)](_0x2db181),_0x28739a));}[_0x2e363d(0x2a0)](){const _0x1c7cb3=_0x2e363d;var _0x2f600b;return(_0x2f600b=this[_0x1c7cb3(0x25e)][_0x1c7cb3(0x222)](_0x35d81a[_0x1c7cb3(0x16a)]))!=null?_0x2f600b:_0x35d81a[_0x1c7cb3(0x14a)];}[_0x2e363d(0x186)](_0x4b9abf){const _0x34584e=_0x2e363d,_0x1216f5=this['_saveTaskMap'][_0x34584e(0x2a6)](_0x4b9abf);return _0x1216f5!==void 0x0&&window[_0x34584e(0x126)](_0x1216f5),this[_0x34584e(0x266)][_0x34584e(0x32e)](_0x35d81a[_0x34584e(0x16e)](_0x4b9abf),this[_0x34584e(0x298)][_0x34584e(0x2a6)](_0x4b9abf))[_0x34584e(0x23c)](()=>this[_0x34584e(0x166)][_0x34584e(0x360)](_0x4b9abf));}async['exhaustSavingTask'](){const _0x4c9a7d=_0x2e363d,_0x121738=[];this[_0x4c9a7d(0x166)][_0x4c9a7d(0x282)]((_0x479c24,_0x4fdf7a)=>{const _0x4d688b=_0x4c9a7d;window[_0x4d688b(0x126)](_0x479c24),_0x121738[_0x4d688b(0x20a)](this[_0x4d688b(0x186)](_0x4fdf7a)[_0x4d688b(0x23c)](()=>{const _0x1c1631=_0x4d688b;this[_0x1c1631(0x166)][_0x1c1631(0x360)](_0x4fdf7a);}));}),await Promise[_0x4c9a7d(0x219)](_0x121738);}};_0x2c6462=_0x23b014([_0x3880e4(0x0,_0x2b43e1['IConfigService']),_0x3880e4(0x1,_0x2b43e1[_0x2e363d(0x15f)]),_0x3880e4(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x4bbdfc[_0x2e363d(0x337)]))],_0x2c6462);class _0x3576f9 extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(){const _0x2ecb14=_0x2e363d;super(),_0x1b73a5(this,_0x2ecb14(0x327)),this[_0x2ecb14(0x327)]=_0x5ad77d[_0x2ecb14(0x17b)](window,_0x2ecb14(0x1b9))[_0x2ecb14(0x230)](_0x5ad77d[_0x2ecb14(0x383)](this[_0x2ecb14(0x223)]),_0x5ad77d[_0x2ecb14(0x161)](0x1),_0x5ad77d['mapTo'](void 0x0));}['setParam'](_0x5c7f22,_0x23fd3e,_0x5daabc=!0x1){const _0x278afb=_0x2e363d,_0x552e85=new URL(window[_0x278afb(0x293)][_0x278afb(0x338)]);_0x552e85[_0x278afb(0x34d)]['set'](_0x5c7f22,_0x23fd3e),_0x5daabc?window[_0x278afb(0x135)][_0x278afb(0x296)]('','',_0x552e85[_0x278afb(0x2bf)]()):window['history'][_0x278afb(0x2c6)]('','',_0x552e85['toString']());}[_0x2e363d(0x154)](_0x5eae8a,_0x581148=!0x1){const _0x430cc1=_0x2e363d,_0x1db9bc=new URL(window['location'][_0x430cc1(0x338)]);_0x1db9bc[_0x430cc1(0x34d)]['delete'](_0x5eae8a),_0x581148?window['history'][_0x430cc1(0x296)]('','',_0x1db9bc[_0x430cc1(0x2bf)]()):window[_0x430cc1(0x135)]['pushState']('','',_0x1db9bc[_0x430cc1(0x2bf)]());}[_0x2e363d(0x191)](_0x28078e){const _0xc190f2=_0x2e363d;var _0x1039a7;return(_0x1039a7=new URL(window['location'][_0xc190f2(0x338)])['searchParams']['get'](_0x28078e))!=null?_0x1039a7:void 0x0;}}var _0xdb85f1=Object[_0x2e363d(0x26b)],_0xe7e635=Object[_0x2e363d(0x29d)],_0x376fae=(_0x52493a,_0x12e692,_0x1a4dd7)=>_0x12e692 in _0x52493a?_0xdb85f1(_0x52493a,_0x12e692,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a4dd7}):_0x52493a[_0x12e692]=_0x1a4dd7,_0x1f2bd3=(_0x11979c,_0x170e3c,_0x501b01,_0x18342a)=>{const _0x7d0279=_0x2e363d;for(var _0x6e3f61=_0x18342a>0x1?void 0x0:_0x18342a?_0xe7e635(_0x170e3c,_0x501b01):_0x170e3c,_0x5a3c52=_0x11979c[_0x7d0279(0x1a4)]-0x1,_0x415341;_0x5a3c52>=0x0;_0x5a3c52--)(_0x415341=_0x11979c[_0x5a3c52])&&(_0x6e3f61=_0x415341(_0x6e3f61)||_0x6e3f61);return _0x6e3f61;},_0x4e0fa5=(_0x152e80,_0xa0430b)=>(_0x3297eb,_0x5a8087)=>_0xa0430b(_0x3297eb,_0x5a8087,_0x152e80),_0x3d53d6=(_0x2d7c6c,_0x535c3b,_0x222d6f)=>_0x376fae(_0x2d7c6c,_0x535c3b+'',_0x222d6f);const _0x3f8f45='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x1364d3[_0x2e363d(0x390)]=class extends _0x2b43e1[_0x2e363d(0x192)]{constructor(_0x18e667=_0x3cf9e4,_0x2bebba,_0x291513,_0x454544){const _0x282cf5=_0x2e363d;super(),this[_0x282cf5(0x29e)]=_0x18e667,this['_renderManagerService']=_0x2bebba,this[_0x282cf5(0x121)]=_0x291513,this['_configService']=_0x454544;const {..._0x26e5cf}=_0x2b43e1[_0x282cf5(0x284)]({},_0x3cf9e4,this[_0x282cf5(0x29e)]);this[_0x282cf5(0x25e)]['setConfig'](_0x5094dd,_0x26e5cf);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2e363d(0x2c3)](){const _0x848649=_0x2e363d;this[_0x848649(0x356)]();}[_0x2e363d(0x265)](){const _0x21c648=_0x2e363d;var _0x48821a;const _0x178e4e=[[_0x5daa50],[_0x326498],[_0x417996],[_0x4dbe37],[_0x5eda65],[_0x4b6a35,{'useClass':_0x3576f9}],[_0x519894[_0x21c648(0x15d)],{'useClass':_0x519894[_0x21c648(0x2a5)]}],[_0x35d81a['ILocalCacheService'],{'useClass':_0x2c6462}],[_0x1364d3[_0x21c648(0x23b)]],[_0x443ad7],[_0x817f88],[_0x5a14bf],[_0x41c5dd],[_0x1364d3[_0x21c648(0x394)]]];_0x2b43e1[_0x21c648(0x2ee)](this[_0x21c648(0x121)],_0x2b43e1[_0x21c648(0x2ac)](_0x178e4e,(_0x48821a=this[_0x21c648(0x29e)])==null?void 0x0:_0x48821a[_0x21c648(0x13e)]));}[_0x2e363d(0x356)](){const _0x52ef0c=_0x2e363d;this[_0x52ef0c(0x160)](this['_renderManagerService'][_0x52ef0c(0x1f4)](_0x2b43e1[_0x52ef0c(0x322)][_0x52ef0c(0x1bd)],[_0x38ac90])),this[_0x52ef0c(0x160)](this[_0x52ef0c(0x311)][_0x52ef0c(0x1f4)](_0x2b43e1[_0x52ef0c(0x322)][_0x52ef0c(0x138)],[_0x5242c8]));}['_initDependencies'](){const _0x3ccf1b=_0x2e363d;_0x2b43e1[_0x3ccf1b(0x228)](this[_0x3ccf1b(0x121)],[[_0x5a14bf],[_0x1364d3[_0x3ccf1b(0x23b)]],[_0x443ad7],[_0x817f88],[_0x1364d3[_0x3ccf1b(0x394)]]]);}},_0x3d53d6(_0x1364d3[_0x2e363d(0x390)],_0x2e363d(0x380),_0x3f8f45),_0x1364d3[_0x2e363d(0x390)]=_0x1f2bd3([_0x2b43e1[_0x2e363d(0x34b)](_0x35d81a[_0x2e363d(0x236)]),_0x4e0fa5(0x1,_0x4f9ef0[_0x2e363d(0x19e)]),_0x4e0fa5(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1['Injector'])),_0x4e0fa5(0x3,_0x2b43e1[_0x2e363d(0x334)])],_0x1364d3['UniverCollaborationClientUIPlugin']);var _0x4e96e1=Object[_0x2e363d(0x29d)],_0x14cd10=(_0x2cbec8,_0xa5b2a0,_0x43b4b5,_0x4a5336)=>{const _0x3adb10=_0x2e363d;for(var _0x293b44=_0x4a5336>0x1?void 0x0:_0x4a5336?_0x4e96e1(_0xa5b2a0,_0x43b4b5):_0xa5b2a0,_0x3326f5=_0x2cbec8[_0x3adb10(0x1a4)]-0x1,_0x13a30e;_0x3326f5>=0x0;_0x3326f5--)(_0x13a30e=_0x2cbec8[_0x3326f5])&&(_0x293b44=_0x13a30e(_0x293b44)||_0x293b44);return _0x293b44;},_0xae5226=(_0x5eabd3,_0x3553b4)=>(_0x27fc72,_0x5ebe63)=>_0x3553b4(_0x27fc72,_0x5ebe63,_0x5eabd3);_0x1364d3[_0x2e363d(0x224)]=class extends _0x35d81a['CollaborationSocketService']{constructor(_0x37a42a,_0x4858d0,_0x15fe57,_0x45f54c,_0x3b866e){super(_0x37a42a,_0x4858d0,_0x15fe57,_0x45f54c,_0x3b866e);}async['createSocket'](_0x8b8355){const _0x345623=_0x2e363d,_0x44abfb=await this[_0x345623(0x200)](),_0x57182f=this[_0x345623(0x1d5)](_0x8b8355,_0x44abfb);return this[_0x345623(0x2bb)](_0x57182f);}[_0x2e363d(0x1d5)](_0x23c27c,_0x460996){const _0x3bfc08=_0x2e363d,_0x2b076e=typeof window>'u'?new URL(_0x23c27c):new URL(_0x23c27c,window[_0x3bfc08(0x293)][_0x3bfc08(0x25c)]);_0x2b076e[_0x3bfc08(0x34d)][_0x3bfc08(0x2f1)](_0x3bfc08(0x21b),_0x460996);const _0x340682=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3bfc08(0x258)]);return _0x340682[_0x3bfc08(0x2a6)](_0x3bfc08(0x229))&&_0x2b076e[_0x3bfc08(0x34d)][_0x3bfc08(0x2f1)]('runId',_0x340682[_0x3bfc08(0x2a6)](_0x3bfc08(0x229))),_0x2b076e[_0x3bfc08(0x2bf)]();}async[_0x2e363d(0x200)](){const _0x26302f=_0x2e363d;var _0x597881,_0x2c5ded,_0x5920ed;const _0x40b978=this[_0x26302f(0x25e)][_0x26302f(0x222)](_0x35d81a[_0x26302f(0x2cd)]),_0x45393a=(_0x597881=_0x40b978==null?void 0x0:_0x40b978[_0x26302f(0x358)])!=null?_0x597881:_0x35d81a[_0x26302f(0x318)];return(_0x5920ed=(_0x2c5ded=(await this['_httpService'][_0x26302f(0x2a6)](_0x45393a,{'headers':{'Content-Type':_0x26302f(0x130)}}))[_0x26302f(0x39b)])==null?void 0x0:_0x2c5ded[_0x26302f(0x319)])!=null?_0x5920ed:'';}},_0x1364d3[_0x2e363d(0x224)]=_0x14cd10([_0xae5226(0x0,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0xae5226(0x1,_0x2b43e1['Inject'](_0x519894[_0x2e363d(0x208)])),_0xae5226(0x2,_0x2b43e1[_0x2e363d(0x334)]),_0xae5226(0x3,_0x2b43e1[_0x2e363d(0x1dd)]),_0xae5226(0x4,_0x4bbdfc['ISnapshotServerService'])],_0x1364d3[_0x2e363d(0x224)]);const _0x8fdf59=0x7530,_0x51ea71=_0x2e363d(0x217);class _0x1b25be extends _0x2b43e1[_0x2e363d(0x396)]{constructor(){const _0x1ea439=_0x2e363d;super(),_0x1b73a5(this,_0x1ea439(0x240),_0x2b43e1[_0x1ea439(0x317)]()),_0x1b73a5(this,_0x1ea439(0x170),new Set()),_0x1b73a5(this,_0x1ea439(0x2b0),new Map()),_0x1b73a5(this,'_heartbeatTimer',null),_0x1b73a5(this,_0x1ea439(0x397),new Map()),_0x1b73a5(this,_0x1ea439(0x235),new Map()),this[_0x1ea439(0x151)]();}[_0x2e363d(0x1ad)](){const _0x2a3a6c=_0x2e363d;super[_0x2a3a6c(0x1ad)](),this[_0x2a3a6c(0x397)][_0x2a3a6c(0x282)]((_0x453e5c,_0x4f9057)=>this['_removeClearOtherTimer'](_0x4f9057)),this[_0x2a3a6c(0x263)]&&window[_0x2a3a6c(0x2bc)](this[_0x2a3a6c(0x263)]);}[_0x2e363d(0x24c)](_0x37f9bd){const _0x7ee4e4=_0x2e363d;return this[_0x7ee4e4(0x12f)](_0x37f9bd)[_0x7ee4e4(0x230)](_0x5ad77d['distinctUntilChanged']());}[_0x2e363d(0x1db)](_0x4b260a){const _0x352031=_0x2e363d;this[_0x352031(0x170)][_0x352031(0x27f)]===0x0&&this[_0x352031(0x143)](),this[_0x352031(0x170)]['add'](_0x4b260a),this[_0x352031(0x373)]({'type':0x0,'memberID':this[_0x352031(0x240)],'unitIDs':[_0x4b260a],'isForwarded':!0x1});}['disposeUnit'](_0x4c5abc){const _0x3eee80=_0x2e363d;this[_0x3eee80(0x170)][_0x3eee80(0x360)](_0x4c5abc),this[_0x3eee80(0x170)]['size']===0x0&&this[_0x3eee80(0x263)]&&window['clearInterval'](this[_0x3eee80(0x263)]);}[_0x2e363d(0x151)](){const _0x5567a4=_0x2e363d;this[_0x5567a4(0x160)](_0x2b43e1[_0x5567a4(0x1d6)](_0x5ad77d[_0x5567a4(0x17b)](window,_0x5567a4(0x2ef))['subscribe'](_0x3055ad=>{const _0x5b437f=_0x5567a4;if(_0x3055ad[_0x5b437f(0x1e4)]!==_0x51ea71||!_0x3055ad[_0x5b437f(0x180)])return;const _0x236a55=JSON[_0x5b437f(0x1c9)](_0x3055ad[_0x5b437f(0x180)]);this[_0x5b437f(0x276)](_0x236a55);}))),window[_0x5567a4(0x370)](_0x5567a4(0x35f),()=>this['_send']({'type':0x1,'memberID':this[_0x5567a4(0x240)],'unitIDs':Array[_0x5567a4(0x2de)](this[_0x5567a4(0x170)])}));}[_0x2e363d(0x276)](_0x1f509b){const _0x67624=_0x2e363d;switch(_0x1f509b[_0x67624(0x255)]){case 0x0:this[_0x67624(0x226)](_0x1f509b);break;case 0x1:this['_handleLeaveEvent'](_0x1f509b);break;case 0x2:this[_0x67624(0x23d)](_0x1f509b);break;}}['_handleJoinEvent'](_0x496164){const _0x2bf025=_0x2e363d,{unitIDs:_0x9f0b54,memberID:_0x2ae9a9,isForwarded:_0x5a9a3e}=_0x496164;_0x9f0b54[_0x2bf025(0x282)](_0x72d675=>{const _0x1c2796=_0x2bf025;if(!_0x5a9a3e&&this[_0x1c2796(0x2b0)][_0x1c2796(0x149)](_0x72d675)&&this['_ensureSubject'](_0x72d675)[_0x1c2796(0x320)](_0x35d81a['UnitStatus'][_0x1c2796(0x196)]),!this[_0x1c2796(0x2b0)][_0x1c2796(0x149)](_0x72d675)||!this[_0x1c2796(0x2b0)][_0x1c2796(0x2a6)](_0x72d675)[_0x1c2796(0x149)](_0x2ae9a9)){const _0x9afe9b=this[_0x1c2796(0x2b0)]['get'](_0x72d675)||new Set();_0x9afe9b[_0x1c2796(0x16c)](_0x2ae9a9),this['_unitOnClients'][_0x1c2796(0x2f1)](_0x72d675,_0x9afe9b),this['_scheduleClearOtherTimer'](_0x2ae9a9);}}),_0x5a9a3e||this[_0x2bf025(0x373)]({'type':0x0,'memberID':this[_0x2bf025(0x240)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2e363d(0x2ea)](_0xede20f){const _0x5766e9=_0x2e363d;this[_0x5766e9(0x1cd)](_0xede20f);const _0xe552a4=window[_0x5766e9(0x211)](()=>{const _0x49c169=_0x5766e9;this[_0x49c169(0x2b0)][_0x49c169(0x282)](_0x5b24ce=>{const _0x597082=_0x49c169;_0x5b24ce[_0x597082(0x360)](_0xede20f);});},_0x8fdf59*0x2);this[_0x5766e9(0x397)][_0x5766e9(0x2f1)](_0xede20f,_0xe552a4);}['_removeClearOtherTimer'](_0x5e4b33){const _0x2956fd=_0x2e363d;if(this[_0x2956fd(0x397)][_0x2956fd(0x149)](_0x5e4b33)){const _0x298bc8=this[_0x2956fd(0x397)][_0x2956fd(0x2a6)](_0x5e4b33);_0x298bc8&&window['clearTimeout'](_0x298bc8),this['_clearOtherTimers']['set'](_0x5e4b33,null);}}['_handleLeaveEvent'](_0xcbb6d9){const {memberID:_0x2a77df,unitIDs:_0x286789}=_0xcbb6d9;_0x286789['forEach'](_0x293b0c=>{const _0x5de589=_0xc513;var _0x39e51f;const _0x2c56a9=this['_unitOnClients'][_0x5de589(0x2a6)](_0x293b0c);_0x2c56a9&&(_0x2c56a9[_0x5de589(0x360)](_0x2a77df),(_0x39e51f=this[_0x5de589(0x12f)](_0x293b0c))==null||_0x39e51f[_0x5de589(0x320)](_0x2c56a9[_0x5de589(0x27f)]===0x0?_0x35d81a[_0x5de589(0x330)][_0x5de589(0x16b)]:_0x35d81a['UnitStatus'][_0x5de589(0x196)]));}),this['_removeClearOtherTimer'](_0x2a77df);}[_0x2e363d(0x23d)](_0x44d17c){const _0x879663=_0x2e363d;this['_scheduleClearOtherTimer'](_0x44d17c[_0x879663(0x2ec)]);}['_send'](_0x4b822f){const _0x5b64d2=_0x2e363d;localStorage['setItem'](_0x51ea71,JSON[_0x5b64d2(0x1dc)](_0x4b822f));}[_0x2e363d(0x143)](){const _0xb65e87=_0x2e363d;this[_0xb65e87(0x263)]=window[_0xb65e87(0x18a)](()=>{const _0x5451b0=_0xb65e87;this[_0x5451b0(0x373)]({'type':0x2,'memberID':this['_id']});},_0x8fdf59);}[_0x2e363d(0x12f)](_0x47c3a7){const _0x3718c7=_0x2e363d;return this['_unitStatus'][_0x3718c7(0x149)](_0x47c3a7)||this[_0x3718c7(0x235)][_0x3718c7(0x2f1)](_0x47c3a7,new _0x5ad77d['BehaviorSubject'](_0x35d81a[_0x3718c7(0x330)][_0x3718c7(0x16b)])),this[_0x3718c7(0x235)][_0x3718c7(0x2a6)](_0x47c3a7);}}var _0x1c5b79=(_0x3b9636=>(_0x3b9636[_0x3b9636['UNDEFINED']=0x0]=_0x2e363d(0x24e),_0x3b9636[_0x3b9636['OK']=0x1]='OK',_0x3b9636[_0x3b9636[_0x2e363d(0x24b)]=0x2]=_0x2e363d(0x24b),_0x3b9636[_0x3b9636[_0x2e363d(0x157)]=0x3]=_0x2e363d(0x157),_0x3b9636[_0x3b9636[_0x2e363d(0x399)]=0x4]='NOT_FOUND',_0x3b9636[_0x3b9636[_0x2e363d(0x11d)]=0x5]=_0x2e363d(0x11d),_0x3b9636[_0x3b9636['ALREADY_EXISTS']=0x6]=_0x2e363d(0x15e),_0x3b9636[_0x3b9636[_0x2e363d(0x1a2)]=0x7]='INVALID_ARGUMENT',_0x3b9636[_0x3b9636[_0x2e363d(0x21e)]=0x8]='TOO_MANY_REQUESTS',_0x3b9636[_0x3b9636['COMPLETION_FINISHED']=0x9]=_0x2e363d(0x359),_0x3b9636[_0x3b9636['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x3b9636[_0x3b9636['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3b9636[_0x3b9636[_0x2e363d(0x1d8)]=0x1771]=_0x2e363d(0x1d8),_0x3b9636[_0x3b9636[_0x2e363d(0x163)]=0x1772]=_0x2e363d(0x163),_0x3b9636[_0x3b9636[_0x2e363d(0x34a)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3b9636[_0x3b9636[_0x2e363d(0x172)]=0x1b59]=_0x2e363d(0x172),_0x3b9636[_0x3b9636[_0x2e363d(0x142)]=0x1b5a]=_0x2e363d(0x142),_0x3b9636[_0x3b9636['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2e363d(0x14f),_0x3b9636[_0x3b9636[_0x2e363d(0x21c)]=0x1b5c]=_0x2e363d(0x21c),_0x3b9636[_0x3b9636[_0x2e363d(0x159)]=0x1b5d]=_0x2e363d(0x159),_0x3b9636[_0x3b9636[_0x2e363d(0x2f0)]=0x1f41]=_0x2e363d(0x2f0),_0x3b9636[_0x3b9636[_0x2e363d(0x37d)]=0x2329]=_0x2e363d(0x37d),_0x3b9636[_0x3b9636['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3b9636[_0x3b9636[_0x2e363d(0x11a)]=0x232b]=_0x2e363d(0x11a),_0x3b9636[_0x3b9636[_0x2e363d(0x16f)]=0x232c]=_0x2e363d(0x16f),_0x3b9636[_0x3b9636['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2e363d(0x2d1),_0x3b9636[_0x3b9636[_0x2e363d(0x3a1)]=0x2711]=_0x2e363d(0x3a1),_0x3b9636[_0x3b9636[_0x2e363d(0x2ab)]=0x2712]=_0x2e363d(0x2ab),_0x3b9636[_0x3b9636[_0x2e363d(0x1eb)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3b9636[_0x3b9636[_0x2e363d(0x122)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3b9636[_0x3b9636[_0x2e363d(0x2a3)]=0x271a]=_0x2e363d(0x2a3),_0x3b9636[_0x3b9636['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2e363d(0x363),_0x3b9636[_0x3b9636[_0x2e363d(0x22e)]=0x271c]=_0x2e363d(0x22e),_0x3b9636[_0x3b9636['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2e363d(0x3a6),_0x3b9636[_0x3b9636[_0x2e363d(0x1d7)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3b9636[_0x3b9636['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2e363d(0x1c3),_0x3b9636[_0x3b9636['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2e363d(0x277),_0x3b9636[_0x3b9636[_0x2e363d(0x349)]=0x2ee1]=_0x2e363d(0x349),_0x3b9636[_0x3b9636[_0x2e363d(0x2ae)]=0x2ee2]='INVALID_INVITE_CODE',_0x3b9636[_0x3b9636['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x3b9636[_0x3b9636[_0x2e363d(0x389)]=0x2ee4]=_0x2e363d(0x389),_0x3b9636[_0x3b9636[_0x2e363d(0x233)]=0x2ee5]=_0x2e363d(0x233),_0x3b9636[_0x3b9636['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3b9636[_0x3b9636[_0x2e363d(0x120)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3b9636[_0x3b9636['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2e363d(0x134),_0x3b9636[_0x3b9636[_0x2e363d(0x11e)]=-0x1]=_0x2e363d(0x11e),_0x3b9636))(_0x1c5b79||{}),_0x19f36c=Object[_0x2e363d(0x29d)],_0x419bad=(_0x6e4c4,_0x2c5fea,_0x232efe,_0x833795)=>{for(var _0x208928=_0x833795>0x1?void 0x0:_0x833795?_0x19f36c(_0x2c5fea,_0x232efe):_0x2c5fea,_0x3b9efc=_0x6e4c4['length']-0x1,_0x12db70;_0x3b9efc>=0x0;_0x3b9efc--)(_0x12db70=_0x6e4c4[_0x3b9efc])&&(_0x208928=_0x12db70(_0x208928)||_0x208928);return _0x208928;},_0x4c6e10=(_0x181bf0,_0x4192f7)=>(_0x51453e,_0x1386c4)=>_0x4192f7(_0x51453e,_0x1386c4,_0x181bf0);_0x1364d3[_0x2e363d(0x2ed)]=class extends _0x2b43e1[_0x2e363d(0x396)]{constructor(_0x33c7fa,_0x3e20bb,_0x124985){const _0x448a92=_0x2e363d;super(),this[_0x448a92(0x2e1)]=_0x33c7fa,this[_0x448a92(0x335)]=_0x3e20bb,this[_0x448a92(0x25e)]=_0x124985;}async[_0x2e363d(0x295)](_0x16c49f,_0x34c33a,_0x143541,..._0x286a71){const _0x5af7=_0x2e363d;var _0x59b373,_0x3b979e,_0x342ded,_0x31e20f;const _0x26f00a=this[_0x5af7(0x2e1)][_0x5af7(0x33a)]();if(!_0x26f00a)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2f57eb=((_0x59b373=this[_0x5af7(0x25e)][_0x5af7(0x222)](_0x35d81a[_0x5af7(0x1de)]))!=null?_0x59b373:_0x35d81a[_0x5af7(0x343)])+'/'+_0x16c49f+'/run/'+_0x34c33a,_0x1b2146=new URL(window[_0x5af7(0x293)][_0x5af7(0x338)]),_0x2046fb={'scriptId':_0x16c49f,'runId':(_0x3b979e=_0x1b2146[_0x5af7(0x34d)][_0x5af7(0x2a6)](_0x5af7(0x229)))!=null?_0x3b979e:'','function':_0x34c33a,'unitId':_0x26f00a['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x286a71),'invokeId':(_0x342ded=_0x143541['invokeId'])!=null?_0x342ded:'','executionId':(_0x31e20f=_0x143541[_0x5af7(0x26f)])!=null?_0x31e20f:''};try{const _0x1c5239=await this[_0x5af7(0x335)][_0x5af7(0x220)](_0x2f57eb,{'body':_0x2046fb});return _0x1c5239[_0x5af7(0x39b)][_0x5af7(0x139)]&&_0x1c5239['body']['error']['code']!==_0x1c5b79['OK']?_0x5af7(0x1df):_0x1c5239[_0x5af7(0x39b)][_0x5af7(0x22f)];}catch{return _0x5af7(0x1df);}}},_0x1364d3[_0x2e363d(0x2ed)]=_0x419bad([_0x4c6e10(0x0,_0x2b43e1['IUniverInstanceService']),_0x4c6e10(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x519894[_0x2e363d(0x208)])),_0x4c6e10(0x2,_0x2b43e1[_0x2e363d(0x334)])],_0x1364d3[_0x2e363d(0x2ed)]),_0x1364d3['CollaborationStatusDisplay']=_0x58e3df,_0x1364d3[_0x2e363d(0x32b)]=_0x4b6a35,_0x1364d3['SheetCollabCursorShape']=_0x1366a1,_0x1364d3[_0x2e363d(0x221)]=_0x1b25be,_0x1364d3[_0x2e363d(0x169)]=_0x3576f9,Object[_0x2e363d(0x26b)](_0x1364d3,Symbol['toStringTag'],{'value':_0x2e363d(0x2db)});}));
|
|
1
|
+
(function(_0x125f85,_0x4a3a5a){const _0x48d32b=_0x3464,_0x10457c=_0x125f85();while(!![]){try{const _0x332fba=parseInt(_0x48d32b(0x315))/0x1*(parseInt(_0x48d32b(0x259))/0x2)+-parseInt(_0x48d32b(0x1f1))/0x3+parseInt(_0x48d32b(0x20b))/0x4+-parseInt(_0x48d32b(0x1fc))/0x5*(-parseInt(_0x48d32b(0x1df))/0x6)+parseInt(_0x48d32b(0x448))/0x7+parseInt(_0x48d32b(0x2af))/0x8+parseInt(_0x48d32b(0x21f))/0x9*(-parseInt(_0x48d32b(0x34c))/0xa);if(_0x332fba===_0x4a3a5a)break;else _0x10457c['push'](_0x10457c['shift']());}catch(_0x55731b){_0x10457c['push'](_0x10457c['shift']());}}}(_0x3d7f,0x53cd2),function(_0x478224,_0x86795a){const _0x51f3e5=_0x3464;typeof exports==_0x51f3e5(0x34e)&&typeof module<'u'?_0x86795a(exports,require(_0x51f3e5(0x3d8)),require(_0x51f3e5(0x1cb)),require(_0x51f3e5(0x279)),require(_0x51f3e5(0x310)),require(_0x51f3e5(0x35c)),require('@univerjs/drawing'),require(_0x51f3e5(0x3b0)),require('@univerjs/docs'),require(_0x51f3e5(0x351)),require(_0x51f3e5(0x247)),require(_0x51f3e5(0x331)),require(_0x51f3e5(0x25a)),require(_0x51f3e5(0x2bd)),require('react/jsx-runtime'),require(_0x51f3e5(0x1f9)),require(_0x51f3e5(0x2e1)),require(_0x51f3e5(0x1fb)),require(_0x51f3e5(0x44d))):typeof define==_0x51f3e5(0x301)&&define[_0x51f3e5(0x1d1)]?define([_0x51f3e5(0x457),_0x51f3e5(0x3d8),_0x51f3e5(0x1cb),_0x51f3e5(0x279),_0x51f3e5(0x310),_0x51f3e5(0x35c),_0x51f3e5(0x360),'rxjs',_0x51f3e5(0x23a),_0x51f3e5(0x351),_0x51f3e5(0x247),_0x51f3e5(0x331),_0x51f3e5(0x25a),_0x51f3e5(0x2bd),_0x51f3e5(0x33f),'@univerjs/ui',_0x51f3e5(0x2e1),_0x51f3e5(0x1fb),_0x51f3e5(0x44d)],_0x86795a):(_0x478224=typeof globalThis<'u'?globalThis:_0x478224||self,_0x86795a(_0x478224[_0x51f3e5(0x261)]={},_0x478224[_0x51f3e5(0x444)],_0x478224[_0x51f3e5(0x1dd)],_0x478224['UniverEngineRender'],_0x478224['UniverNetwork'],_0x478224['UniverDocsUi'],_0x478224['UniverDrawing'],_0x478224[_0x51f3e5(0x3b0)],_0x478224[_0x51f3e5(0x3e3)],_0x478224[_0x51f3e5(0x2a5)],_0x478224['UniverEngineFormula'],_0x478224[_0x51f3e5(0x283)],_0x478224['rxjs']['operators'],_0x478224[_0x51f3e5(0x2a7)],_0x478224[_0x51f3e5(0x273)],_0x478224[_0x51f3e5(0x3a0)],_0x478224[_0x51f3e5(0x2ce)],_0x478224[_0x51f3e5(0x273)],_0x478224[_0x51f3e5(0x42f)]));}(this,function(_0x4cf9f1,_0x51ae97,_0x23cfa0,_0x188338,_0x99d8d6,_0x27e66a,_0x3ef818,_0x1425de,_0x3bc28d,_0x46d1ab,_0x1ef071,_0x28fbd1,_0x209049,_0x270a77,_0x561a21,_0x30ac71,_0x306647,_0x5c9659,_0x154a8a){'use strict';const _0xf94d15=_0x3464;var _0x41f11c=Object['defineProperty'],_0x72ead0=(_0x7dfb98,_0x3d5321,_0xc91231)=>_0x3d5321 in _0x7dfb98?_0x41f11c(_0x7dfb98,_0x3d5321,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc91231}):_0x7dfb98[_0x3d5321]=_0xc91231,_0x6a5a04=(_0x3f6eed,_0x309b3d,_0x31cf8e)=>_0x72ead0(_0x3f6eed,typeof _0x309b3d!=_0xf94d15(0x348)?_0x309b3d+'':_0x309b3d,_0x31cf8e),_0x2d329e=Object['getOwnPropertyDescriptor'],_0x11a73e=(_0x2bb6a3,_0x557e45,_0x410f3f,_0x4bf477)=>{const _0x1aea61=_0xf94d15;for(var _0x2977e4=_0x4bf477>0x1?void 0x0:_0x4bf477?_0x2d329e(_0x557e45,_0x410f3f):_0x557e45,_0x22c1a3=_0x2bb6a3[_0x1aea61(0x354)]-0x1,_0x498c0b;_0x22c1a3>=0x0;_0x22c1a3--)(_0x498c0b=_0x2bb6a3[_0x22c1a3])&&(_0x2977e4=_0x498c0b(_0x2977e4)||_0x2977e4);return _0x2977e4;},_0x1f82a7=(_0x49352e,_0x353f72)=>(_0x599062,_0x3bd3e8)=>_0x353f72(_0x599062,_0x3bd3e8,_0x49352e);let _0x34fb25=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x287546,_0x1f02e4){const _0x57646d=_0xf94d15;super(),this[_0x57646d(0x208)]=_0x287546,this['_imageIoService']=_0x1f02e4,this[_0x57646d(0x32b)]();}[_0xf94d15(0x32b)](){const _0x5e9ca9=_0xf94d15,_0x399a83=this;this['disposeWithMe'](this[_0x5e9ca9(0x208)]['addClipboardHook']({'onBeforePasteImage':async _0x41a02c=>{const _0x56b1a3=_0x5e9ca9,_0x4338b3=await _0x399a83[_0x56b1a3(0x418)][_0x56b1a3(0x379)](_0x41a02c);return _0x4338b3?{'source':_0x4338b3[_0x56b1a3(0x29c)],'imageSourceType':_0x4338b3[_0x56b1a3(0x330)]}:null;}}));}};_0x34fb25=_0x11a73e([_0x1f82a7(0x0,_0x27e66a[_0xf94d15(0x302)]),_0x1f82a7(0x1,_0x3ef818[_0xf94d15(0x2b1)])],_0x34fb25);const _0x1b153d=[_0xf94d15(0x41a),_0xf94d15(0x311),_0xf94d15(0x2ab),_0xf94d15(0x447),_0xf94d15(0x43c),_0xf94d15(0x440)];class _0x78b02d extends _0x23cfa0[_0xf94d15(0x3da)]{constructor(){const _0x51ccae=_0xf94d15;super(...arguments),_0x6a5a04(this,_0x51ccae(0x213),new Map()),_0x6a5a04(this,'_colorIndex',0x0);}[_0xf94d15(0x280)](_0x4539ff){const _0x59d6fa=_0xf94d15;if(this['_assignedColors'][_0x59d6fa(0x3a2)](_0x4539ff))return this['_assignedColors'][_0x59d6fa(0x417)](_0x4539ff);const _0x455edb=_0x1b153d[this[_0x59d6fa(0x35b)]];return this[_0x59d6fa(0x35b)]=(this['_colorIndex']+0x1)%_0x1b153d[_0x59d6fa(0x354)],this[_0x59d6fa(0x213)]['set'](_0x4539ff,_0x455edb),_0x455edb;}}function _0x2487c9(_0x18daa4){const _0x3d7e10=_0xf94d15;let _0x4114dd='';for(const _0x28f4de of _0x18daa4){const {startOffset:_0x393f03,endOffset:_0x53250e,isActive:_0x2464f2,rangeType:_0x56ec66,segmentId:_0x165e3b,segmentPage:_0x1f16c4}=_0x28f4de;_0x4114dd[_0x3d7e10(0x354)]&&(_0x4114dd+=','),_0x4114dd+=_0x393f03+':'+_0x53250e+':'+(_0x2464f2?'1':'0')+':'+_0x56ec66+':'+_0x165e3b+':'+_0x1f16c4;}return _0x4114dd;}function _0x4eef5e(_0x46656a){const _0x625147=_0xf94d15,_0x583690=_0x46656a['split'](','),_0x183b3a=[];for(const _0x4b2070 of _0x583690){const [_0x155860,_0x24a2ed,_0x3354dd,_0x1ad351,_0x3dadbd,_0x251740]=_0x4b2070[_0x625147(0x438)](':');_0x183b3a['push']({'startOffset':Number(_0x155860),'endOffset':Number(_0x24a2ed),'collapsed':_0x155860===_0x24a2ed,'isActive':_0x3354dd==='1','rangeType':_0x1ad351===_0x23cfa0['DOC_RANGE_TYPE'][_0x625147(0x3e6)]?_0x23cfa0[_0x625147(0x26b)][_0x625147(0x3e6)]:_0x23cfa0[_0x625147(0x26b)][_0x625147(0x456)],'segmentId':typeof _0x3dadbd==_0x625147(0x230)?String(_0x3dadbd):'','segmentPage':Number(_0x251740!=null?_0x251740:-0x1)});}return _0x183b3a['some'](_0x5d071b=>_0x5d071b[_0x625147(0x392)])||(_0x183b3a[0x0][_0x625147(0x392)]=!0x0),_0x183b3a;}class _0x47f3a0 extends _0x23cfa0['RxDisposable']{constructor(){const _0x1c0088=_0xf94d15;super(...arguments),_0x6a5a04(this,'_collabCursorState$',new _0x1425de[(_0x1c0088(0x41c))](null)),_0x6a5a04(this,'collabCursorState$',this[_0x1c0088(0x2fa)][_0x1c0088(0x27c)]());}[_0xf94d15(0x35e)](_0x42b10b){const _0x5946fb=_0xf94d15,{unitID:_0x3a009f,memberID:_0x569b2c,textRanges:_0x12421}=_0x42b10b,_0x4fabd1=_0x2487c9(_0x12421);if(_0x4fabd1==='')return;const _0x5ac587={'unitID':_0x3a009f,'memberID':_0x569b2c,'selection':_0x4fabd1};this[_0x5946fb(0x2fa)][_0x5946fb(0x3d9)](_0x5ac587);}}var _0x406aad=Object[_0xf94d15(0x1e6)],_0x346119=(_0x57f122,_0x483377,_0x44a6a7,_0xbbbff6)=>{const _0x1040da=_0xf94d15;for(var _0x23b1f3=_0xbbbff6>0x1?void 0x0:_0xbbbff6?_0x406aad(_0x483377,_0x44a6a7):_0x483377,_0x504b22=_0x57f122[_0x1040da(0x354)]-0x1,_0x1efaf3;_0x504b22>=0x0;_0x504b22--)(_0x1efaf3=_0x57f122[_0x504b22])&&(_0x23b1f3=_0x1efaf3(_0x23b1f3)||_0x23b1f3);return _0x23b1f3;},_0x541ae8=(_0x5bfb60,_0x4988a6)=>(_0x5063f0,_0x45639d)=>_0x4988a6(_0x5063f0,_0x45639d,_0x5bfb60);const _0x1baf7c=0x12c,_0x5c3af7=0x64;let _0x233c95=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x2af58a,_0x34e74c,_0x59c80d,_0xb5e8eb,_0x56b919,_0x21bc6c,_0x1eafe0,_0x4ea1b8,_0x3688b6){const _0x443c3b=_0xf94d15;super(),_0x6a5a04(this,_0x443c3b(0x365),!0x1),_0x6a5a04(this,_0x443c3b(0x32b),!0x1),_0x6a5a04(this,_0x443c3b(0x381),new _0x1425de[(_0x443c3b(0x41c))](new Map())),_0x6a5a04(this,_0x443c3b(0x27a),this[_0x443c3b(0x381)][_0x443c3b(0x27c)]()),_0x6a5a04(this,_0x443c3b(0x27e),new _0x1425de['BehaviorSubject']([])),_0x6a5a04(this,_0x443c3b(0x377),this[_0x443c3b(0x27e)]['pipe'](_0x1425de[_0x443c3b(0x40c)](_0x1baf7c))),_0x6a5a04(this,_0x443c3b(0x2ed),_0x23cfa0[_0x443c3b(0x24d)](_0x47920f=>{const _0x4f5f04=_0x443c3b,_0xb927a3={'eventID':_0x46d1ab[_0x4f5f04(0x452)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x2487c9(_0x47920f)}};this[_0x4f5f04(0x36d)]['send'](_0xb927a3,this[_0x4f5f04(0x2de)]);},_0x5c3af7)),(this[_0x443c3b(0x2de)]=_0x2af58a,this[_0x443c3b(0x36d)]=_0x34e74c,this[_0x443c3b(0x443)]=_0x59c80d,this['_colorAssignService']=_0xb5e8eb,this['_memberService']=_0x56b919,this['_syncEditingCollabCursorService']=_0x21bc6c,this[_0x443c3b(0x40d)]=_0x1eafe0,this[_0x443c3b(0x30c)]=_0x4ea1b8,this['_commandService']=_0x3688b6);}get['cursorInfo'](){const _0x263b38=_0xf94d15;return this[_0x263b38(0x381)][_0x263b38(0x389)]();}get['roomMembers'](){const _0x3ee497=_0xf94d15;return this[_0x3ee497(0x27e)][_0x3ee497(0x389)]();}[_0xf94d15(0x38a)](){const _0x507a94=_0xf94d15;super[_0x507a94(0x38a)](),this[_0x507a94(0x381)][_0x507a94(0x3d9)](new Map()),this[_0x507a94(0x381)][_0x507a94(0x2a6)](),this[_0x507a94(0x27e)][_0x507a94(0x3d9)]([]),this[_0x507a94(0x27e)][_0x507a94(0x2a6)]();}[_0xf94d15(0x1f3)](){const _0x158b43=_0xf94d15;this['_init']||(this[_0x158b43(0x32b)]=!0x0,this['_session'][_0x158b43(0x1ca)][_0x158b43(0x41e)](_0x1425de[_0x158b43(0x3e4)](this[_0x158b43(0x391)]))[_0x158b43(0x2a8)](_0x3ed690=>{const _0x494615=_0x158b43;_0x3ed690===_0x51ae97[_0x494615(0x1da)]['ONLINE']?this[_0x494615(0x299)]():this[_0x494615(0x251)]();}),this[_0x158b43(0x36d)]['event$']['pipe'](_0x1425de[_0x158b43(0x3e4)](this[_0x158b43(0x391)]))[_0x158b43(0x2a8)](_0x55c5d1=>{const _0x23b667=_0x158b43,_0x55711d=_0x55c5d1[_0x23b667(0x262)];_0x55711d===_0x46d1ab[_0x23b667(0x452)]['UPDATE_CURSOR']&&this[_0x23b667(0x295)](_0x55c5d1),_0x55711d===_0x46d1ab['CollaborationEvent']['USERS_LEAVE']&&this[_0x23b667(0x421)](_0x55c5d1);}),this[_0x158b43(0x340)](this[_0x158b43(0x1cd)]['onCommandExecuted'](_0x12d3fb=>{const _0x542fcc=_0x158b43,_0x3d152c=_0x12d3fb[_0x542fcc(0x41f)];_0x3d152c!=null&&this['_online']&&_0x12d3fb['id']===_0x3bc28d[_0x542fcc(0x339)]['id']&&_0x3d152c[_0x542fcc(0x2b0)]===this[_0x542fcc(0x2de)]&&_0x3d152c[_0x542fcc(0x1d7)]===!0x1&&_0x3d152c[_0x542fcc(0x32a)][_0x542fcc(0x354)]>0x0&&this['_updateLocalCursor'](_0x3d152c[_0x542fcc(0x32a)]);})),this[_0x158b43(0x453)][_0x158b43(0x33d)][_0x158b43(0x41e)](_0x1425de[_0x158b43(0x3e4)](this['dispose$']))[_0x158b43(0x2a8)](_0x80e8b0=>{const _0x581efa=_0x158b43;if((_0x80e8b0==null?void 0x0:_0x80e8b0['unitID'])!==this[_0x581efa(0x2de)])return;const _0x1ad25b={'eventID':_0x46d1ab['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x80e8b0};this['_onCursorUpdate'](_0x1ad25b);}),this[_0x158b43(0x340)](this[_0x158b43(0x1cd)][_0x158b43(0x43e)](_0x29b6b1=>{const _0x47fb74=_0x158b43;if(_0x29b6b1[_0x47fb74(0x41f)]==null)return;const _0x5b4512=_0x29b6b1[_0x47fb74(0x41f)];if(_0x29b6b1['id']!==_0x3bc28d[_0x47fb74(0x3fd)]['id']||_0x5b4512['unitId']!==this[_0x47fb74(0x2de)])return;const _0x5e700e={'id':_0x47fb74(0x33b),'params':_0x5b4512},_0x22fdc7=this['cursorInfo'];for(const [_0x4543d1,_0x46926f]of _0x22fdc7){const _0x1a82b9={'id':_0x47fb74(0x33b),'params':{'unitId':this[_0x47fb74(0x2de)],'actions':null,'textRanges':_0x46926f['ranges']}},_0x5b1110=this[_0x47fb74(0x40d)][_0x47fb74(0x238)](_0x5e700e,_0x1a82b9,!0x1);if(_0x46d1ab['isTransformMutationFailure'](_0x5b1110))throw _0x5b1110[_0x47fb74(0x393)];_0x22fdc7['set'](_0x4543d1,{..._0x46926f,'ranges':_0x5b1110[_0x47fb74(0x246)][_0x47fb74(0x41f)][_0x47fb74(0x426)]});}queueMicrotask(()=>{const _0x29c4c8=_0x47fb74;this[_0x29c4c8(0x381)]['next'](_0x22fdc7);});})));}[_0xf94d15(0x295)](_0x6d6413){const _0x1e8403=_0xf94d15;var _0x1689d3,_0x17e49e;const {memberID:_0xf93ffe,selection:_0x43652f}=_0x6d6413[_0x1e8403(0x316)],_0x1f22c2=_0x4eef5e(_0x43652f),_0x56e3cd=(_0x17e49e=(_0x1689d3=this[_0x1e8403(0x31e)][_0x1e8403(0x222)](this[_0x1e8403(0x2de)],_0xf93ffe))==null?void 0x0:_0x1689d3['name'])!=null?_0x17e49e:_0x1e8403(0x2e8),_0x15f08c={'color':this[_0x1e8403(0x432)][_0x1e8403(0x280)](_0xf93ffe),'name':_0x56e3cd,'ranges':_0x1f22c2},_0x2e45c7=this[_0x1e8403(0x1f2)];_0x2e45c7[_0x1e8403(0x429)](_0xf93ffe,_0x15f08c),this[_0x1e8403(0x381)][_0x1e8403(0x3d9)](_0x2e45c7);}[_0xf94d15(0x421)](_0x3541ee){const _0x24d450=_0xf94d15,{memberID:_0x5a652d}=_0x3541ee[_0x24d450(0x316)],_0x215255=this[_0x24d450(0x1f2)];_0x215255[_0x24d450(0x2e7)](_0x5a652d),this[_0x24d450(0x381)]['next'](_0x215255);}[_0xf94d15(0x299)](){const _0x386649=_0xf94d15;var _0x6f3092;if(this[_0x386649(0x365)]=!0x0,((_0x6f3092=this[_0x386649(0x30c)][_0x386649(0x200)]())==null?void 0x0:_0x6f3092['getUnitId']())!==this[_0x386649(0x2de)])return;const _0x47e020=this[_0x386649(0x443)][_0x386649(0x417)](_0x3bc28d['DocSelectionManagerService'])[_0x386649(0x3c1)]();Array[_0x386649(0x2c7)](_0x47e020)&&_0x47e020['length']>0x0&&this['_updateLocalCursor'](_0x47e020);}[_0xf94d15(0x251)](){const _0x5156f1=_0xf94d15;this[_0x5156f1(0x365)]=!0x1;}};_0x233c95=_0x346119([_0x541ae8(0x2,_0x23cfa0['Inject'](_0x23cfa0[_0xf94d15(0x1e4)])),_0x541ae8(0x3,_0x23cfa0['Inject'](_0x78b02d)),_0x541ae8(0x4,_0x23cfa0['Inject'](_0x51ae97[_0xf94d15(0x1f7)])),_0x541ae8(0x5,_0x23cfa0[_0xf94d15(0x24b)](_0x47f3a0)),_0x541ae8(0x6,_0x46d1ab[_0xf94d15(0x420)]),_0x541ae8(0x7,_0x23cfa0[_0xf94d15(0x1e2)]),_0x541ae8(0x8,_0x23cfa0['ICommandService'])],_0x233c95);var _0x471e52=Object['getOwnPropertyDescriptor'],_0x580c93=(_0x3aa0df,_0x488fe1,_0x521b34,_0x23dd94)=>{const _0x3fd074=_0xf94d15;for(var _0x29aece=_0x23dd94>0x1?void 0x0:_0x23dd94?_0x471e52(_0x488fe1,_0x521b34):_0x488fe1,_0x46305b=_0x3aa0df[_0x3fd074(0x354)]-0x1,_0x5a1018;_0x46305b>=0x0;_0x46305b--)(_0x5a1018=_0x3aa0df[_0x46305b])&&(_0x29aece=_0x5a1018(_0x29aece)||_0x29aece);return _0x29aece;},_0x5bff3b=(_0xc9ea2a,_0x3f83bc)=>(_0x493045,_0x289a52)=>_0x3f83bc(_0x493045,_0x289a52,_0xc9ea2a);const _0x337fd6=0x12c,_0x3e9e08=0x64,_0x4450b7=()=>{let _0x566a99=[],_0x204bb4=!0x1;return _0x280157=>{_0x566a99['push'](_0x280157),_0x204bb4||(_0x204bb4=!0x0,setTimeout(()=>{_0x566a99['forEach'](_0x535ab8=>_0x535ab8()),_0x566a99=[],_0x204bb4=!0x1;}));};};let _0x33f836=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x5bd581,_0x105f8c,_0x44eca2,_0x272e73,_0x13e53e,_0x3bfcfa,_0xb96d4d,_0x2634a4){const _0x65fcda=_0xf94d15;super(),_0x6a5a04(this,_0x65fcda(0x365),!0x1),_0x6a5a04(this,_0x65fcda(0x32b),!0x1),_0x6a5a04(this,_0x65fcda(0x381),new _0x1425de['BehaviorSubject'](new Map())),_0x6a5a04(this,_0x65fcda(0x27a),this[_0x65fcda(0x381)][_0x65fcda(0x27c)]()),_0x6a5a04(this,_0x65fcda(0x27e),new _0x1425de['BehaviorSubject']([])),_0x6a5a04(this,'roomMembers$',this[_0x65fcda(0x27e)][_0x65fcda(0x41e)](_0x1425de[_0x65fcda(0x40c)](_0x337fd6))),_0x6a5a04(this,_0x65fcda(0x2ed),_0x23cfa0['debounce']((_0x414acd,_0x5c9577)=>{const _0x5a91f7=_0x65fcda,_0x110534={'eventID':_0x46d1ab[_0x5a91f7(0x452)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x5a91f7(0x36d)][_0x5a91f7(0x394)](),'selection':_0x1ef071[_0x5a91f7(0x3c8)](_0x414acd,_0x5c9577[_0x5a91f7(0x225)])}};this[_0x5a91f7(0x36d)][_0x5a91f7(0x25d)](_0x110534,this[_0x5a91f7(0x2de)]);},_0x3e9e08)),(this[_0x65fcda(0x2de)]=_0x5bd581,this[_0x65fcda(0x36d)]=_0x105f8c,this[_0x65fcda(0x443)]=_0x44eca2,this['_colorAssignService']=_0x272e73,this[_0x65fcda(0x31e)]=_0x13e53e,this['_univerInstanceService']=_0x3bfcfa,this['_commandService']=_0xb96d4d,this[_0x65fcda(0x419)]=_0x2634a4);}get[_0xf94d15(0x1f2)](){const _0x419084=_0xf94d15;return this[_0x419084(0x381)][_0x419084(0x389)]();}get[_0xf94d15(0x224)](){const _0x31f1a8=_0xf94d15;return this['_roomMembers$'][_0x31f1a8(0x389)]();}[_0xf94d15(0x38a)](){const _0x4740ce=_0xf94d15;super[_0x4740ce(0x38a)](),this[_0x4740ce(0x381)][_0x4740ce(0x3d9)](new Map()),this[_0x4740ce(0x381)][_0x4740ce(0x2a6)](),this[_0x4740ce(0x27e)]['next']([]),this['_roomMembers$']['complete']();}[_0xf94d15(0x1f3)](){const _0x53528e=_0xf94d15;this[_0x53528e(0x32b)]||(this['_init']=!0x0,this[_0x53528e(0x36d)][_0x53528e(0x1ca)]['pipe'](_0x1425de[_0x53528e(0x3e4)](this['dispose$']))[_0x53528e(0x2a8)](_0x16554b=>{const _0x56ae97=_0x53528e;_0x16554b===_0x51ae97['SessionStatus'][_0x56ae97(0x2f4)]?this[_0x56ae97(0x299)]():this[_0x56ae97(0x251)]();}),this[_0x53528e(0x36d)][_0x53528e(0x2dc)][_0x53528e(0x41e)](_0x1425de['takeUntil'](this['dispose$']))[_0x53528e(0x2a8)](_0xca0e7a=>{const _0x4f8070=_0x53528e,_0x31becf=_0xca0e7a['eventID'];_0x31becf===_0x46d1ab[_0x4f8070(0x452)][_0x4f8070(0x304)]&&this[_0x4f8070(0x295)](_0xca0e7a),_0x31becf===_0x46d1ab['CollaborationEvent'][_0x4f8070(0x34f)]&&this[_0x4f8070(0x421)](_0xca0e7a);}),this[_0x53528e(0x2d6)](),this['disposeWithMe'](this[_0x53528e(0x1cd)]['onCommandExecuted'](_0x2a375d=>{const _0x3f6a0f=_0x53528e;if(this['_online']&&_0x2a375d['id']===_0x28fbd1[_0x3f6a0f(0x3c4)]['id']&&_0x2a375d[_0x3f6a0f(0x41f)][_0x3f6a0f(0x2b0)]===this[_0x3f6a0f(0x2de)]){const _0x5b0606=_0x2a375d[_0x3f6a0f(0x41f)];this['_updateLocalCursor'](_0x5b0606[_0x3f6a0f(0x249)],_0x5b0606[_0x3f6a0f(0x28e)][0x0]);}})));}[_0xf94d15(0x295)](_0x5e9a1a){const _0x3054b8=_0xf94d15;var _0x50b61f,_0xd5bc48;const {memberID:_0x3da700,selection:_0x19e2d6}=_0x5e9a1a[_0x3054b8(0x316)],{sheetName:_0x53138c,range:_0x268079}=_0x1ef071[_0x3054b8(0x1e1)](_0x19e2d6),_0xcb4826={'name':(_0xd5bc48=(_0x50b61f=this['_memberService'][_0x3054b8(0x222)](this['unitID'],_0x3da700))==null?void 0x0:_0x50b61f['name'])!=null?_0xd5bc48:_0x3054b8(0x2e8),'range':this[_0x3054b8(0x220)](_0x53138c,_0x268079),'sheetID':_0x53138c,'color':this[_0x3054b8(0x432)][_0x3054b8(0x280)](_0x3da700),'selection':_0x19e2d6},_0x257d3e=this[_0x3054b8(0x1f2)];_0x257d3e[_0x3054b8(0x429)](_0x3da700,_0xcb4826),this[_0x3054b8(0x381)][_0x3054b8(0x3d9)](_0x257d3e);}[_0xf94d15(0x421)](_0x22c441){const _0x4f71b6=_0xf94d15,{memberID:_0x555166}=_0x22c441['data'],_0x5daa8b=this[_0x4f71b6(0x1f2)];_0x5daa8b[_0x4f71b6(0x2e7)](_0x555166),this[_0x4f71b6(0x381)][_0x4f71b6(0x3d9)](_0x5daa8b);}[_0xf94d15(0x220)](_0x1bff2c,_0x5be98e){const _0x25c690=_0xf94d15;var _0x171afd,_0x11d9eb;const _0x7ae6d8=(_0x11d9eb=(_0x171afd=this['_univerInstanceService'][_0x25c690(0x300)](this['unitID']))==null?void 0x0:_0x171afd[_0x25c690(0x44c)](_0x1bff2c))==null?void 0x0:_0x11d9eb['getMergeData']();return(_0x7ae6d8==null?void 0x0:_0x7ae6d8['find'](_0x406ff5=>_0x23cfa0[_0x25c690(0x423)][_0x25c690(0x2e3)](_0x406ff5,_0x5be98e)))||_0x5be98e;}[_0xf94d15(0x2d6)](){const _0x4c990e=_0xf94d15,_0x261375=new _0x23cfa0['DisposableCollection'](),_0x566b14=_0x4450b7(),_0x571e6d=()=>{const _0x86d7a6=_0x3464;_0x261375[_0x86d7a6(0x38a)]();const _0xfe56d=(_0x42fd66,_0x2f2fc6,_0x376954,_0x1e64c0)=>{const _0xb8020b=_0x86d7a6;let _0x476019=[];switch(_0x42fd66['id']){case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x410)]:{_0x476019=_0x28fbd1[_0xb8020b(0x2a4)](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x2ca)]:{_0x476019=_0x28fbd1['handleDeleteRangeMoveUp'](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1['EffectRefRangId']['InsertColCommandId']:{_0x476019=_0x28fbd1[_0xb8020b(0x243)](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x476019=_0x28fbd1[_0xb8020b(0x38d)](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x3db)]:{_0x476019=_0x28fbd1['handleInsertRangeMoveRight'](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x2f6)]:{_0x476019=_0x28fbd1[_0xb8020b(0x29f)](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x37d)]:{_0x476019=_0x28fbd1['handleMoveRange'](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)][_0xb8020b(0x202)]:{_0x476019=_0x28fbd1[_0xb8020b(0x363)](_0x42fd66,_0x1e64c0);break;}case _0x28fbd1[_0xb8020b(0x1ea)]['RemoveRowCommandId']:{_0x476019=_0x28fbd1[_0xb8020b(0x24c)](_0x42fd66,_0x1e64c0);break;}}const _0x567e43=_0x28fbd1[_0xb8020b(0x2f2)](_0x476019,_0x1e64c0),_0x4d252e=this[_0xb8020b(0x1f2)]['get'](_0x2f2fc6);if(_0x4d252e&&_0x567e43){const _0x1ae8dd={..._0x4d252e,'range':_0x567e43};this[_0xb8020b(0x1f2)][_0xb8020b(0x429)](_0x2f2fc6,_0x1ae8dd),_0x566b14(()=>{const _0x85b908=_0xb8020b,_0x119ee5=this[_0x85b908(0x419)]['registerRefRange'](_0x567e43,_0x513b0e=>(_0x119ee5['dispose'](),_0xfe56d(_0x513b0e,_0x2f2fc6,_0x376954,_0x567e43)));_0x261375[_0x85b908(0x241)](_0x119ee5);});}return{'redos':[],'undos':[]};};this[_0x86d7a6(0x1f2)][_0x86d7a6(0x403)]((_0xbba185,_0x1c7dad)=>{const _0x58718b=_0x86d7a6,{range:_0x2004b4,sheetID:_0x21cfb2}=_0xbba185,_0x3fd7bf=this[_0x58718b(0x419)][_0x58718b(0x328)](_0x2004b4,_0x412948=>(_0x3fd7bf[_0x58718b(0x38a)](),_0xfe56d(_0x412948,_0x1c7dad,_0x21cfb2,_0x2004b4)));_0x261375['add'](_0x3fd7bf);});};this[_0x4c990e(0x340)](_0x23cfa0[_0x4c990e(0x357)](this['_cursorInfo$'][_0x4c990e(0x2a8)](()=>{_0x571e6d();})));}[_0xf94d15(0x299)](){const _0xeb8452=_0xf94d15;var _0x952fe0,_0x4931da;if(this[_0xeb8452(0x365)]=!0x0,((_0x952fe0=this['_univerInstanceService'][_0xeb8452(0x200)]())==null?void 0x0:_0x952fe0['getUnitId']())!==this['unitID'])return;const _0x2f9e7f=(_0x4931da=this[_0xeb8452(0x443)][_0xeb8452(0x417)](_0x28fbd1[_0xeb8452(0x332)])[_0xeb8452(0x3bd)]())==null?void 0x0:_0x4931da[0x0],_0x1ea31b=this[_0xeb8452(0x30c)][_0xeb8452(0x43b)](_0x23cfa0[_0xeb8452(0x40e)]['UNIVER_SHEET'])[_0xeb8452(0x37a)]();_0x2f9e7f&&_0x1ea31b&&this['_updateLocalCursor'](_0x1ea31b[_0xeb8452(0x2c8)](),_0x2f9e7f);}[_0xf94d15(0x251)](){const _0x5bc3c7=_0xf94d15;this[_0x5bc3c7(0x365)]=!0x1;}};_0x33f836=_0x580c93([_0x5bff3b(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0['Injector'])),_0x5bff3b(0x3,_0x23cfa0['Inject'](_0x78b02d)),_0x5bff3b(0x4,_0x23cfa0['Inject'](_0x51ae97[_0xf94d15(0x1f7)])),_0x5bff3b(0x5,_0x23cfa0['IUniverInstanceService']),_0x5bff3b(0x6,_0x23cfa0[_0xf94d15(0x1e7)]),_0x5bff3b(0x7,_0x23cfa0[_0xf94d15(0x24b)](_0x28fbd1['RefRangeService']))],_0x33f836);var _0x1f9eb7=Object[_0xf94d15(0x1e6)],_0x741a0=(_0x1b9b39,_0xa6c936,_0x52c03d,_0x4ffc03)=>{for(var _0x460e65=_0x4ffc03>0x1?void 0x0:_0x4ffc03?_0x1f9eb7(_0xa6c936,_0x52c03d):_0xa6c936,_0x463b94=_0x1b9b39['length']-0x1,_0x3e7844;_0x463b94>=0x0;_0x463b94--)(_0x3e7844=_0x1b9b39[_0x463b94])&&(_0x460e65=_0x3e7844(_0x460e65)||_0x460e65);return _0x460e65;},_0x37c6f8=(_0x547673,_0x5a47fb)=>(_0x5cb99d,_0xd8abd7)=>_0x5a47fb(_0x5cb99d,_0xd8abd7,_0x547673);let _0x25f318=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x94a0ed,_0xe3439d,_0x5a042a){const _0x40af46=_0xf94d15;super(),_0x6a5a04(this,'_entities',new Map()),_0x6a5a04(this,_0x40af46(0x233),new _0x1425de[(_0x40af46(0x375))]()),(this[_0x40af46(0x30c)]=_0x94a0ed,this[_0x40af46(0x443)]=_0xe3439d,this[_0x40af46(0x3b5)]=_0x5a042a,this['_init']());}[_0xf94d15(0x38a)](){const _0x518206=_0xf94d15;super[_0x518206(0x38a)](),this[_0x518206(0x233)]['complete'](),this[_0x518206(0x3b6)][_0x518206(0x403)](_0x1ece90=>_0x1ece90[_0x518206(0x38a)]());}[_0xf94d15(0x287)](_0x3f3aaf){const _0x4a572c=_0xf94d15;return this[_0x4a572c(0x3b6)]['has'](_0x3f3aaf)?this[_0x4a572c(0x3b6)][_0x4a572c(0x417)](_0x3f3aaf)[_0x4a572c(0x27a)]:this[_0x4a572c(0x233)][_0x4a572c(0x41e)](_0x1425de[_0x4a572c(0x3f6)](_0x23a91e=>_0x23a91e[_0x4a572c(0x2de)]===_0x3f3aaf),_0x1425de['switchMap'](_0x56ff43=>_0x56ff43[_0x4a572c(0x27a)]));}['_init'](){const _0x3ef10d=_0xf94d15;this[_0x3ef10d(0x30c)][_0x3ef10d(0x25f)](_0x23cfa0[_0x3ef10d(0x40e)][_0x3ef10d(0x272)])[_0x3ef10d(0x41e)](_0x1425de[_0x3ef10d(0x3e4)](this[_0x3ef10d(0x391)]))[_0x3ef10d(0x2a8)](async _0xafe91c=>{const _0xb86d18=_0x3ef10d,_0x53d2dc=_0xafe91c[_0xb86d18(0x289)](),_0x3b43ba=await this[_0xb86d18(0x3e8)](_0x53d2dc);this[_0xb86d18(0x233)]['next'](_0x3b43ba),this['_entities'][_0xb86d18(0x429)](_0x53d2dc,_0x3b43ba);}),this[_0x3ef10d(0x30c)][_0x3ef10d(0x25f)](_0x23cfa0[_0x3ef10d(0x40e)]['UNIVER_DOC'])[_0x3ef10d(0x41e)](_0x1425de[_0x3ef10d(0x3e4)](this['dispose$']))['pipe'](_0x1425de['filter'](_0x2654da=>!_0x2654da[_0x3ef10d(0x289)]()[_0x3ef10d(0x42c)]('__')))[_0x3ef10d(0x2a8)](async _0x182b47=>{const _0x61c289=_0x3ef10d,_0x324433=_0x182b47[_0x61c289(0x289)](),_0x2657b4=await this[_0x61c289(0x44a)](_0x324433);this[_0x61c289(0x233)][_0x61c289(0x3d9)](_0x2657b4),this[_0x61c289(0x3b6)][_0x61c289(0x429)](_0x324433,_0x2657b4);}),_0x1425de['merge'](this['_univerInstanceService'][_0x3ef10d(0x3dc)](_0x23cfa0[_0x3ef10d(0x40e)][_0x3ef10d(0x2ea)]),this[_0x3ef10d(0x30c)]['getTypeOfUnitDisposed$'](_0x23cfa0['UniverInstanceType'][_0x3ef10d(0x272)]))['pipe'](_0x1425de['takeUntil'](this[_0x3ef10d(0x391)]))[_0x3ef10d(0x2a8)](_0x2f79f1=>{const _0x5e801e=_0x3ef10d,_0x3f58b6=_0x2f79f1[_0x5e801e(0x289)](),_0x2fa8f1=this['_entities'][_0x5e801e(0x417)](_0x3f58b6);_0x2fa8f1&&(_0x2fa8f1[_0x5e801e(0x38a)](),this[_0x5e801e(0x3b6)][_0x5e801e(0x2e7)](_0x3f58b6));});}async[_0xf94d15(0x3e8)](_0x1fc008){const _0x3e0d2f=_0xf94d15,_0x45d03f=await this[_0x3e0d2f(0x3b5)][_0x3e0d2f(0x235)](_0x1fc008),_0x209baa=this['_injector'][_0x3e0d2f(0x3b1)](_0x33f836,_0x1fc008,_0x45d03f);return _0x209baa['init'](),_0x209baa;}async[_0xf94d15(0x44a)](_0x2991f8){const _0x9fb1af=_0xf94d15,_0x2a1418=await this['_collabSessionService'][_0x9fb1af(0x235)](_0x2991f8),_0x40f9b5=this[_0x9fb1af(0x443)]['createInstance'](_0x233c95,_0x2991f8,_0x2a1418);return _0x40f9b5['init'](),_0x40f9b5;}};_0x25f318=_0x741a0([_0x37c6f8(0x0,_0x23cfa0[_0xf94d15(0x1e2)]),_0x37c6f8(0x1,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x1e4)])),_0x37c6f8(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x51ae97[_0xf94d15(0x290)]))],_0x25f318);const _0x1f4157=0x14,_0x45b288=0xc8,_0x41c6c8=0x4,_0x148599=0x5;function _0x25eedc(_0x3a693c,_0x36851c){const _0x1d09a6=_0xf94d15;let {radius:_0x3c8276,width:_0x4887ad,height:_0x3a2951}=_0x36851c;_0x3c8276=_0x3c8276!=null?_0x3c8276:0x0,_0x4887ad=_0x4887ad!=null?_0x4887ad:0x1e,_0x3a2951=_0x3a2951!=null?_0x3a2951:0x1e;let _0x1fa135=0x0,_0x56886b=0x0,_0x135e54=0x0;_0x1fa135=_0x56886b=_0x135e54=Math[_0x1d09a6(0x3a3)](_0x3c8276,_0x4887ad/0x2,_0x3a2951/0x2),_0x3a693c['beginPath'](),_0x3a693c[_0x1d09a6(0x278)](_0x1fa135,0x0),_0x3a693c[_0x1d09a6(0x237)](_0x4887ad-_0x56886b,0x0),_0x3a693c[_0x1d09a6(0x342)](_0x4887ad-_0x56886b,_0x56886b,_0x56886b,Math['PI']*0x3/0x2,0x0,!0x1),_0x3a693c[_0x1d09a6(0x237)](_0x4887ad,_0x3a2951-_0x135e54),_0x3a693c[_0x1d09a6(0x342)](_0x4887ad-_0x135e54,_0x3a2951-_0x135e54,_0x135e54,0x0,Math['PI']/0x2,!0x1),_0x3a693c[_0x1d09a6(0x237)](0x0,_0x3a2951),_0x3a693c[_0x1d09a6(0x237)](0x0,_0x1fa135),_0x3a693c[_0x1d09a6(0x342)](_0x1fa135,_0x1fa135,_0x1fa135,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3a693c[_0x1d09a6(0x321)](),_0x36851c[_0x1d09a6(0x44f)]&&(_0x3a693c['save'](),_0x3a693c['fillStyle']=_0x36851c['fill'],_0x36851c[_0x1d09a6(0x3fe)]==='evenodd'?_0x3a693c[_0x1d09a6(0x44f)]('evenodd'):_0x3a693c[_0x1d09a6(0x44f)](),_0x3a693c[_0x1d09a6(0x2e9)]());}class _0xecd232 extends _0x188338[_0xf94d15(0x35f)]{constructor(_0x223cf5,_0x22d82b){const _0x24e115=_0xf94d15;super(_0x223cf5,_0x22d82b),_0x6a5a04(this,_0x24e115(0x3c5)),_0x6a5a04(this,_0x24e115(0x269)),(this['color']=_0x22d82b==null?void 0x0:_0x22d82b['color'],this['text']=_0x22d82b==null?void 0x0:_0x22d82b[_0x24e115(0x269)]);}static[_0xf94d15(0x2cc)](_0x187364,_0x48980a){const _0x5f4597=_0xf94d15,{text:_0xd3e9cb,color:_0x1f3a8e}=_0x48980a;_0x187364['save'](),_0x187364['font']=_0x5f4597(0x3a5);const _0x5b62f7=_0x187364['measureText'](_0xd3e9cb)[_0x5f4597(0x253)],_0x4a48ae=Math[_0x5f4597(0x3a3)](_0x5b62f7+0x2*_0x41c6c8,_0x45b288);_0x25eedc(_0x187364,{'height':_0x1f4157,'radius':0x4,'width':_0x4a48ae,'fill':_0x1f3a8e}),_0x187364[_0x5f4597(0x2eb)]=_0x5f4597(0x3af);const _0x1a2623=_0x41c6c8,_0x55b623=_0x1f4157-_0x148599,_0x51cfca=_0x45b288-0x2*_0x41c6c8;if(_0x5b62f7>_0x51cfca){let _0x2c59fd='',_0x1d12c6=0x0;for(const _0xa54bb4 of _0xd3e9cb){const _0x46d05c=_0x187364[_0x5f4597(0x32e)](_0xa54bb4)[_0x5f4597(0x253)];if(_0x1d12c6+_0x46d05c<=_0x51cfca-_0x187364[_0x5f4597(0x32e)](_0x5f4597(0x2c3))[_0x5f4597(0x253)])_0x2c59fd+=_0xa54bb4,_0x1d12c6+=_0x46d05c;else{_0x2c59fd+=_0x5f4597(0x2c3);break;}}_0x187364[_0x5f4597(0x2ef)](_0x2c59fd,_0x1a2623,_0x55b623);}else _0x187364[_0x5f4597(0x2ef)](_0xd3e9cb,_0x1a2623,_0x55b623);_0x187364['restore']();}['_draw'](_0x2c7fb0){const _0x5601a8=_0xf94d15;_0xecd232[_0x5601a8(0x2cc)](_0x2c7fb0,this);}}const _0x4e0bd1=_0xf94d15(0x298),_0x1a4fed='collab-text-range-',_0x1a9971=_0xf94d15(0x3b4),_0x159b71=0x6,_0x322e75=1.5,_0x5a4397=0x4,_0x524ec0=1.5,_0x158bc8=_0xf94d15(0x271);class _0x1fb9e2{constructor(_0x470c7f,_0x3a49ba,_0x18397e,_0x39bc3a){const _0x5380c3=_0xf94d15;_0x6a5a04(this,'_shapes',[]),_0x6a5a04(this,_0x5380c3(0x24f),null),_0x6a5a04(this,_0x5380c3(0x1db),null),_0x6a5a04(this,_0x5380c3(0x42d),null),_0x6a5a04(this,_0x5380c3(0x26a),null),_0x6a5a04(this,_0x5380c3(0x2fd),null),(this['_cursor']=_0x470c7f,this[_0x5380c3(0x373)]=_0x3a49ba,this[_0x5380c3(0x2b2)]=_0x18397e,this[_0x5380c3(0x404)]=_0x39bc3a,this[_0x5380c3(0x308)]());}set[_0xf94d15(0x3c6)](_0x1aed78){const _0x1f28c2=_0xf94d15;_0x1aed78?(this['_anchorDot']&&this['_anchorDot'][_0x1f28c2(0x380)](),this[_0x1f28c2(0x1db)]&&this[_0x1f28c2(0x1db)][_0x1f28c2(0x358)]()):(this[_0x1f28c2(0x42d)]&&this[_0x1f28c2(0x42d)][_0x1f28c2(0x358)](),this['_textBubble']&&this['_textBubble'][_0x1f28c2(0x380)]());}[_0xf94d15(0x38a)](){const _0x3ae447=_0xf94d15;for(const _0x4cef29 of this[_0x3ae447(0x217)])_0x4cef29['dispose']();this[_0x3ae447(0x1db)]&&this['_textBubble'][_0x3ae447(0x38a)](),this[_0x3ae447(0x42d)]&&this[_0x3ae447(0x42d)][_0x3ae447(0x38a)](),this[_0x3ae447(0x24f)]&&this[_0x3ae447(0x24f)][_0x3ae447(0x38a)](),this['_eventUnsubscribe']&&this[_0x3ae447(0x2fd)]();}[_0xf94d15(0x308)](){const _0x3e4159=_0xf94d15;var _0x1d735f;const {_docSkeleton:_0xe79ce,_document:_0x26e264}=this,{color:_0x169af4,name:_0x4a32a0,ranges:_0x147fe3}=this[_0x3e4159(0x2d9)],_0x1c2b4c=_0x26e264[_0x3e4159(0x33e)](),{docsLeft:_0x1f1e91,docsTop:_0x7d6c3a}=_0x1c2b4c,_0x5f200b=new _0x27e66a[(_0x3e4159(0x445))](_0x1c2b4c,_0xe79ce);for(const {startOffset:_0x1759fd,endOffset:_0x61d842,rangeType:_0x57c390,segmentId:_0x4110de,segmentPage:_0x38b9d3,collapsed:_0x3f02e3,isActive:_0x4aedae}of _0x147fe3){const _0x2cc1ae=_0xe79ce[_0x3e4159(0x24a)](_0x1759fd,!0x0,_0x4110de,_0x38b9d3);let _0x3e5d86=_0xe79ce[_0x3e4159(0x24a)](_0x61d842,!0x0,_0x4110de,_0x38b9d3);if(_0x3e5d86==null&&(_0x3e5d86=_0xe79ce[_0x3e4159(0x24a)](_0x61d842-0x1,!0x1,_0x4110de,_0x38b9d3)),_0x4aedae){const {contentBoxPointGroup:_0x5459f4}=_0x5f200b[_0x3e4159(0x36e)](_0x3e5d86,_0x3e5d86);if(_0x5459f4[_0x3e4159(0x354)]===0x0)continue;this['_drawAnchor'](_0x169af4,_0x5459f4,_0x1f1e91,_0x7d6c3a,_0x4a32a0),this[_0x3e4159(0x2fd)]=this['_handleHover']();}if(_0x2cc1ae&&_0x3e5d86){if(_0x57c390===_0x23cfa0[_0x3e4159(0x26b)][_0x3e4159(0x456)]){const _0x40c239=new _0x27e66a[(_0x3e4159(0x1f6))](_0x1c2b4c,_0xe79ce),{pointGroup:_0x1be639}=(_0x1d735f=_0x40c239[_0x3e4159(0x36e)](_0x2cc1ae,_0x3e5d86))!=null?_0x1d735f:{};if(_0x1be639==null||_0x1be639[_0x3e4159(0x354)]===0x0)continue;this[_0x3e4159(0x306)](_0x169af4,_0x1be639,_0x1f1e91,_0x7d6c3a);}else{if(!_0x3f02e3){const {borderBoxPointGroup:_0x5aff83}=_0x5f200b[_0x3e4159(0x36e)](_0x2cc1ae,_0x3e5d86);if(_0x5aff83[_0x3e4159(0x354)]===0x0)continue;this[_0x3e4159(0x333)](_0x169af4,_0x5aff83,_0x1f1e91,_0x7d6c3a);}}}}}[_0xf94d15(0x25e)](_0x31e46c,_0x15c0b7,_0x22a981,_0x5d003f,_0x53604d){const _0x4c64ba=_0xf94d15,_0x49b47c=this['_getAnchorBounding'](_0x15c0b7),{left:_0xd84be6,top:_0x55e8eb,height:_0x2624c9}=_0x49b47c,_0x140aad=this['_getScale'](),_0x1ed493=_0x524ec0/_0x140aad,_0x2c3b86=new _0x188338[(_0x4c64ba(0x232))](_0x4e0bd1+_0x23cfa0[_0x4c64ba(0x292)][_0x4c64ba(0x1d0)](_0x159b71),{'left':_0xd84be6+_0x22a981-_0x1ed493,'top':_0x55e8eb+_0x5d003f,'height':_0x2624c9,'width':_0x322e75,'fill':_0x31e46c||_0x188338[_0x4c64ba(0x2c0)](_0x23cfa0[_0x4c64ba(0x346)][_0x4c64ba(0x326)],0x0),'strokeWidth':_0x1ed493,'stroke':_0x158bc8,'evented':!0x0});this[_0x4c64ba(0x24f)]=_0x2c3b86,this[_0x4c64ba(0x373)][_0x4c64ba(0x282)](_0x2c3b86,_0x27e66a[_0x4c64ba(0x3d7)]);const _0x1a432b=new _0x188338['Rect'](_0x4e0bd1+_0x23cfa0['Tools'][_0x4c64ba(0x1d0)](_0x159b71),{'left':_0xd84be6+_0x22a981-_0x1ed493,'top':_0x55e8eb+_0x5d003f-_0x5a4397/0x2,'height':_0x5a4397,'width':_0x5a4397,'fill':_0x31e46c||_0x188338[_0x4c64ba(0x2c0)](_0x23cfa0[_0x4c64ba(0x346)][_0x4c64ba(0x326)],0x0),'strokeWidth':0x0,'stroke':_0x31e46c||_0x188338[_0x4c64ba(0x2c0)](_0x23cfa0[_0x4c64ba(0x346)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x1a432b,this[_0x4c64ba(0x373)]['addObject'](_0x1a432b,_0x27e66a[_0x4c64ba(0x3d7)]);const _0x13acb4=new _0xecd232(_0x4e0bd1+_0x23cfa0['Tools'][_0x4c64ba(0x1d0)](_0x159b71),{'left':_0xd84be6+_0x22a981-_0x1ed493,'top':_0x55e8eb+_0x5d003f-_0x1f4157,'text':_0x53604d,'color':_0x31e46c});this[_0x4c64ba(0x1db)]=_0x13acb4,this[_0x4c64ba(0x373)][_0x4c64ba(0x282)](_0x13acb4,_0x27e66a[_0x4c64ba(0x3d7)]),this['_hover']=!0x1;}[_0xf94d15(0x353)](){const _0x2f0d97=_0xf94d15,_0x3a4b50=this[_0x2f0d97(0x24f)][_0x2f0d97(0x42a)][_0x2f0d97(0x36b)](()=>{const _0x24c731=_0x2f0d97;this[_0x24c731(0x3c6)]=!0x0;}),_0x546f3e=this[_0x2f0d97(0x24f)][_0x2f0d97(0x434)][_0x2f0d97(0x36b)](()=>{const _0x114369=_0x2f0d97;this[_0x114369(0x26a)]&&clearTimeout(this['_hideTimer']),this[_0x114369(0x26a)]=setTimeout(()=>{const _0x30110c=_0x114369;this[_0x30110c(0x3c6)]=!0x1;},0x7d0);});return()=>{const _0x34b7fc=_0x2f0d97;_0x3a4b50[_0x34b7fc(0x2e0)](),_0x546f3e['unsubscribe']();};}['_drawTextRange'](_0x4c2338,_0x5b839b,_0x567092,_0x3b5320){const _0x116d89=_0xf94d15,_0x453c5d=new _0x23cfa0['ColorKit'](_0x4c2338)['setAlpha'](0.2)[_0x116d89(0x37b)](),_0x3d74ad=new _0x188338[(_0x116d89(0x3ff))](_0x1a4fed+_0x23cfa0[_0x116d89(0x292)]['generateRandomId'](_0x159b71),{'pointsGroup':_0x5b839b,'fill':_0x453c5d||_0x188338[_0x116d89(0x2c0)](_0x23cfa0[_0x116d89(0x346)][_0x116d89(0x326)],0.2),'left':_0x567092,'top':_0x3b5320,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x116d89(0x217)][_0x116d89(0x3f2)](_0x3d74ad),this['_scene'][_0x116d89(0x282)](_0x3d74ad,_0x27e66a[_0x116d89(0x3d7)]);}[_0xf94d15(0x306)](_0x125046,_0x44ea59,_0x34732d,_0x34810a){const _0x3c26b=_0xf94d15,_0x2cdd71=new _0x23cfa0[(_0x3c26b(0x374))](_0x125046)['setAlpha'](0.2)['toRgbString'](),_0xb39310=new _0x188338['RegularPolygon'](_0x1a9971+_0x23cfa0[_0x3c26b(0x292)][_0x3c26b(0x1d0)](_0x159b71),{'pointsGroup':_0x44ea59,'fill':_0x2cdd71||_0x188338[_0x3c26b(0x2c0)](_0x23cfa0['COLORS'][_0x3c26b(0x326)],0.2),'left':_0x34732d,'top':_0x34810a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c26b(0x217)][_0x3c26b(0x3f2)](_0xb39310),this[_0x3c26b(0x373)]['addObject'](_0xb39310,_0x27e66a[_0x3c26b(0x3d7)]);}['_getAnchorBounding'](_0x51eb7b){const _0x47798c=_0x51eb7b[0x0],_0x1cd65f=_0x47798c[0x0],_0x2ac5ca=_0x47798c[0x2],{x:_0x24be0b,y:_0x369d4d}=_0x1cd65f,{x:_0x3bbf73,y:_0x3c80f3}=_0x2ac5ca;return{'left':_0x24be0b,'top':_0x369d4d,'width':_0x3bbf73-_0x24be0b,'height':_0x3c80f3-_0x369d4d};}[_0xf94d15(0x398)](){const _0x2dfc90=_0xf94d15,{scaleX:_0x2821af,scaleY:_0x44a808}=this[_0x2dfc90(0x373)][_0x2dfc90(0x1ee)]();return Math[_0x2dfc90(0x3cc)](_0x2821af,_0x44a808);}}var _0x4cdce1=Object[_0xf94d15(0x1e6)],_0x404b2e=(_0x3b82c6,_0x58576a,_0x4c2632,_0x8aab46)=>{const _0x5e727b=_0xf94d15;for(var _0x52d9e7=_0x8aab46>0x1?void 0x0:_0x8aab46?_0x4cdce1(_0x58576a,_0x4c2632):_0x58576a,_0x105a51=_0x3b82c6[_0x5e727b(0x354)]-0x1,_0x2b8a16;_0x105a51>=0x0;_0x105a51--)(_0x2b8a16=_0x3b82c6[_0x105a51])&&(_0x52d9e7=_0x2b8a16(_0x52d9e7)||_0x52d9e7);return _0x52d9e7;},_0x54c413=(_0x3d1290,_0x337afd)=>(_0x5d1596,_0x4ef8b6)=>_0x337afd(_0x5d1596,_0x4ef8b6,_0x3d1290);let _0x2cdf34=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x5895ec,_0x16dfb8,_0x59ef41,_0x5c656a,_0x22354c){const _0x3e07b0=_0xf94d15;super(),_0x6a5a04(this,_0x3e07b0(0x3cf),[]),_0x6a5a04(this,_0x3e07b0(0x1d3),[]),(this[_0x3e07b0(0x26c)]=_0x5895ec,this[_0x3e07b0(0x21b)]=_0x16dfb8,this[_0x3e07b0(0x428)]=_0x59ef41,this['_commandService']=_0x5c656a,this[_0x3e07b0(0x3e9)]=_0x22354c,this[_0x3e07b0(0x32b)]());}['_init'](){const _0x30bbac=_0xf94d15,_0x4126ca=this[_0x30bbac(0x26c)]['unitId'],_0x3f30ea=this[_0x30bbac(0x21b)];this[_0x30bbac(0x340)](_0x1425de['combineLatest']([this[_0x30bbac(0x428)][_0x30bbac(0x287)](_0x4126ca),this[_0x30bbac(0x3e9)][_0x30bbac(0x368)]])[_0x30bbac(0x41e)](_0x209049[_0x30bbac(0x2c9)](([_0x3b0ce0,_0x491391])=>({'skeleton':_0x3f30ea[_0x30bbac(0x256)](),'cursors':[..._0x3b0ce0[_0x30bbac(0x2cb)]()][_0x30bbac(0x305)](_0x22b647=>({..._0x22b647,'color':this[_0x30bbac(0x3e9)][_0x30bbac(0x355)](_0x22b647[_0x30bbac(0x3c5)])}))})))[_0x30bbac(0x2a8)](_0x923b88=>{const _0xad3a6f=_0x30bbac;if(this[_0xad3a6f(0x252)](),_0x923b88){const {skeleton:_0x36d95a,cursors:_0x4349ff}=_0x923b88;this[_0xad3a6f(0x3df)](_0x36d95a,_0x4349ff);}})),this[_0x30bbac(0x24e)](),this[_0x30bbac(0x406)]();}[_0xf94d15(0x3df)](_0x5ea4ed,_0x1dcdba){const _0x2086bc=_0xf94d15,{scene:_0xaa52e8,mainComponent:_0x3ac5d0}=this[_0x2086bc(0x26c)],_0x5113d4=_0x1dcdba[_0x2086bc(0x2c9)](_0x577ba9=>new _0x1fb9e2(_0x577ba9,_0xaa52e8,_0x5ea4ed,_0x3ac5d0));this['_cursorShapes']=_0x5113d4,this['_cursors']=_0x1dcdba;}['_refreshCollabCursors'](){const _0x29345d=_0xf94d15;this[_0x29345d(0x252)]();const {scene:_0x482b2d,mainComponent:_0x289c27}=this['_context'],_0xbe612a=this[_0x29345d(0x21b)][_0x29345d(0x256)](),_0x4223a9=this[_0x29345d(0x1d3)]['map'](_0x1e5130=>new _0x1fb9e2(_0x1e5130,_0x482b2d,_0xbe612a,_0x289c27));this[_0x29345d(0x3cf)]=_0x4223a9;}['_removeCollabCursors'](){const _0x41f21f=_0xf94d15;this[_0x41f21f(0x3cf)][_0x41f21f(0x403)](_0x36d722=>_0x36d722[_0x41f21f(0x38a)]()),this[_0x41f21f(0x3cf)]=[];}[_0xf94d15(0x406)](){const _0x16cb1e=_0xf94d15,_0xe2ba60=[_0x27e66a[_0x16cb1e(0x352)]['id']];this[_0x16cb1e(0x340)](this[_0x16cb1e(0x1cd)][_0x16cb1e(0x43e)](_0x48cc44=>{const _0x33618e=_0x16cb1e;_0xe2ba60[_0x33618e(0x36f)](_0x48cc44['id'])&&_0x48cc44[_0x33618e(0x41f)][_0x33618e(0x2b0)]===this[_0x33618e(0x26c)][_0x33618e(0x2b0)]&&this[_0x33618e(0x37f)]();}));}['_initResize'](){const _0x30b182=_0xf94d15;this[_0x30b182(0x340)](_0x23cfa0[_0x30b182(0x3c2)](this[_0x30b182(0x26c)]['engine'][_0x30b182(0x204)])[_0x30b182(0x41e)](_0x209049[_0x30b182(0x3f6)](_0x49844c=>_0x49844c['type']===_0x188338['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x209049[_0x30b182(0x32d)](0x10))[_0x30b182(0x2a8)](()=>{this['_refreshCollabCursors']();}));}};_0x2cdf34=_0x404b2e([_0x54c413(0x1,_0x23cfa0[_0xf94d15(0x24b)](_0x3bc28d['DocSkeletonManagerService'])),_0x54c413(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x25f318)),_0x54c413(0x3,_0x23cfa0[_0xf94d15(0x1e7)]),_0x54c413(0x4,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0['ThemeService']))],_0x2cdf34);const _0x18c963=0x1,_0x43d030=1.5;class _0xc78d6d extends _0x188338['Shape']{constructor(_0x45f962,_0x443167){const _0x491350=_0xf94d15;super(_0x45f962,_0x443167),_0x6a5a04(this,_0x491350(0x397)),_0x6a5a04(this,_0x491350(0x409),!0x1),_0x6a5a04(this,_0x491350(0x437)),_0x6a5a04(this,_0x491350(0x3a8),''),_0x6a5a04(this,_0x491350(0x39b),_0x491350(0x1fe)),_0x6a5a04(this,'_backgroundColor'),(_0x443167&&this[_0x491350(0x30e)](_0x443167),this[_0x491350(0x42a)][_0x491350(0x36b)](()=>this[_0x491350(0x30e)]({'hovered':!0x0})),this[_0x491350(0x434)][_0x491350(0x36b)](()=>this[_0x491350(0x30e)]({'hovered':!0x1})));}[_0xf94d15(0x30e)](_0x32b2b0){const _0x52ad3a=_0xf94d15;var _0x5734a7,_0x584a87,_0x329346,_0x247ebe,_0x5060aa,_0x2b5b11;this[_0x52ad3a(0x397)]=(_0x5734a7=_0x32b2b0[_0x52ad3a(0x3c5)])!=null?_0x5734a7:this[_0x52ad3a(0x397)],this[_0x52ad3a(0x409)]=(_0x584a87=_0x32b2b0['hovered'])!=null?_0x584a87:this['_hovered'],this[_0x52ad3a(0x437)]=(_0x329346=_0x32b2b0['range'])!=null?_0x329346:this['_range'],this[_0x52ad3a(0x3a8)]=(_0x247ebe=_0x32b2b0[_0x52ad3a(0x320)])!=null?_0x247ebe:this[_0x52ad3a(0x3a8)],this['_labelPosition']=(_0x5060aa=_0x32b2b0[_0x52ad3a(0x343)])!=null?_0x5060aa:this[_0x52ad3a(0x39b)],this[_0x52ad3a(0x1cc)]=(_0x2b5b11=_0x32b2b0[_0x52ad3a(0x205)])!=null?_0x2b5b11:this[_0x52ad3a(0x1cc)],this['transformByState']({'width':_0x32b2b0['width'],'height':_0x32b2b0[_0x52ad3a(0x3ed)]});}['onMouseMove'](_0x5300a1){const _0x3880b2=_0xf94d15,{row:_0xeab663,column:_0x354853}=_0x5300a1;if(_0xeab663>=this[_0x3880b2(0x437)][_0x3880b2(0x1e0)]&&_0xeab663<=this['_range']['endRow']&&_0x354853>=this[_0x3880b2(0x437)][_0x3880b2(0x2a1)]&&_0x354853<=this['_range']['endColumn']){this[_0x3880b2(0x30e)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x49897b){return!0x1;}[_0xf94d15(0x286)](_0x4b05f1){const _0x57644f=_0xf94d15;_0x188338[_0x57644f(0x232)][_0x57644f(0x2cc)](_0x4b05f1,{'width':this[_0x57644f(0x253)],'height':this[_0x57644f(0x3ed)],'strokeWidth':_0x43d030,'stroke':this[_0x57644f(0x397)],'evented':!0x1,'fill':this[_0x57644f(0x1cc)]}),this[_0x57644f(0x409)]&&(_0x4b05f1[_0x57644f(0x1cf)](),_0x4b05f1[_0x57644f(0x2ee)](0x1,0x0,0x0,0x1,this['width'],this[_0x57644f(0x39b)]==='bottom'?0x0:-0x14),_0xecd232[_0x57644f(0x2cc)](_0x4b05f1,{'text':this[_0x57644f(0x3a8)],'color':this[_0x57644f(0x397)]}),_0x4b05f1['restore']());}}var _0x19305e=Object[_0xf94d15(0x1e6)],_0x17d1cb=(_0x2f0598,_0x24a2cd,_0x47a20b,_0x38abbd)=>{for(var _0x116a86=_0x38abbd>0x1?void 0x0:_0x38abbd?_0x19305e(_0x24a2cd,_0x47a20b):_0x24a2cd,_0x5a4b72=_0x2f0598['length']-0x1,_0x45b8a4;_0x5a4b72>=0x0;_0x5a4b72--)(_0x45b8a4=_0x2f0598[_0x5a4b72])&&(_0x116a86=_0x45b8a4(_0x116a86)||_0x116a86);return _0x116a86;},_0x4e06da=(_0x29681e,_0x26273f)=>(_0x2b0f2f,_0x4ea98d)=>_0x26273f(_0x2b0f2f,_0x4ea98d,_0x29681e);const _0x1459d4=0x1389;let _0x52df86=class extends _0x23cfa0[_0xf94d15(0x341)]{constructor(_0x33870b,_0x39b44b,_0x2ce899,_0x405d46){const _0x2f7e50=_0xf94d15;super(),_0x6a5a04(this,_0x2f7e50(0x1d3),new Set()),_0x6a5a04(this,_0x2f7e50(0x3aa),null),(this[_0x2f7e50(0x26c)]=_0x33870b,this[_0x2f7e50(0x3e1)]=_0x39b44b,this[_0x2f7e50(0x428)]=_0x2ce899,this[_0x2f7e50(0x3e9)]=_0x405d46,this['_init']());}[_0xf94d15(0x32b)](){const _0x319b9e=_0xf94d15;this['_sheetSkeletonManagerService'][_0x319b9e(0x356)][_0x319b9e(0x41e)](_0x209049[_0x319b9e(0x3e4)](this['dispose$']),_0x209049[_0x319b9e(0x31f)](_0x1664bc=>{const _0x3cf3a1=_0x319b9e;if(_0x1664bc){const _0x51c4be=_0x1664bc[_0x3cf3a1(0x3d1)];return _0x1425de[_0x3cf3a1(0x242)](this[_0x3cf3a1(0x428)]['getCollabCursors$'](this[_0x3cf3a1(0x26c)][_0x3cf3a1(0x2b0)]),this[_0x3cf3a1(0x3e9)][_0x3cf3a1(0x368)])['pipe'](_0x209049[_0x3cf3a1(0x2c9)](([_0xdd719c,_0x3e229a])=>{const _0x3f4174=_0x3cf3a1,_0x1af66c=new Map();return _0xdd719c[_0x3f4174(0x403)]((_0x3b93dd,_0xe94e25)=>{const _0x54a86f=_0x3f4174;if(_0x3b93dd[_0x54a86f(0x335)]===_0x51c4be){const _0x35eef5={..._0x3b93dd};_0x35eef5[_0x54a86f(0x3c5)]=this['_themeService'][_0x54a86f(0x355)](_0x3b93dd['color']),_0x1af66c[_0x54a86f(0x429)](_0xe94e25,_0x35eef5);}}),{'skeleton':_0x1664bc,'cursors':_0x1af66c};}));}return _0x1425de['of']({'skeleton':null,'cursors':new Map()});}))[_0x319b9e(0x2a8)](({skeleton:_0x2c9884,cursors:_0x245a31})=>{const _0x54daaf=_0x319b9e;this[_0x54daaf(0x252)](),_0x2c9884&&this[_0x54daaf(0x3df)](_0x2c9884,_0x245a31);}),this[_0x319b9e(0x3e1)]['currentSkeleton$'][_0x319b9e(0x2a8)](_0x22ef2c=>{const _0x51e597=_0x319b9e;if(_0x22ef2c==null)return;const {skeleton:_0x1c4d0c}=_0x22ef2c,{scene:_0x26c5f1}=this[_0x51e597(0x26c)];_0x26c5f1[_0x51e597(0x3d6)][_0x51e597(0x36b)](_0x23cfa0[_0x51e597(0x24d)](_0x12fa83=>{const _0x28242f=_0x51e597;var _0x36e479,_0x26c567;const {offsetX:_0xdd4a1,offsetY:_0x34bc7a}=_0x12fa83,{x:_0x4c28bb,y:_0x53e367}=_0x26c5f1['getRelativeToViewportCoord'](_0x188338[_0x28242f(0x3ef)]['FromArray']([_0xdd4a1,_0x34bc7a])),{scaleX:_0x291fe3,scaleY:_0x2e3abb}=_0x26c5f1['getAncestorScale'](),_0x4a0419=_0x26c5f1[_0x28242f(0x33a)](_0x188338[_0x28242f(0x28a)]['VIEW_MAIN']),_0x41f126=_0x26c5f1[_0x28242f(0x2a9)](_0x188338[_0x28242f(0x3ef)][_0x28242f(0x21e)]([_0x4c28bb,_0x53e367]),_0x4a0419),_0x5e08cd=_0x1c4d0c[_0x28242f(0x2b3)](_0xdd4a1,_0x34bc7a,_0x291fe3,_0x2e3abb,_0x41f126);((_0x36e479=this[_0x28242f(0x3aa)])==null?void 0x0:_0x36e479['column'])===_0x5e08cd[_0x28242f(0x2d5)]&&((_0x26c567=this[_0x28242f(0x3aa)])==null?void 0x0:_0x26c567[_0x28242f(0x383)])===_0x5e08cd[_0x28242f(0x383)]||this[_0x28242f(0x1d3)]['forEach'](_0x484f83=>{const _0x59f5f4=_0x28242f;_0x484f83[_0x59f5f4(0x206)](_0x5e08cd);});},0x64));});}[_0xf94d15(0x3df)](_0x40f333,_0x1d090d){const _0x4bf322=_0xf94d15;var _0x3efc7f;const _0x31cad4=(_0x3efc7f=this[_0x4bf322(0x3e1)][_0x4bf322(0x3ce)]())==null?void 0x0:_0x3efc7f[_0x4bf322(0x3ca)];if(!_0x31cad4)return;const _0x21fba0=this[_0x4bf322(0x324)]();if(!_0x21fba0)return;this[_0x4bf322(0x1d3)][_0x4bf322(0x403)](_0x2227b8=>{const _0xd25706=_0x4bf322;_0x2227b8[_0xd25706(0x34b)]();});const {scene:_0x4d3eb6}=_0x21fba0,_0x50ad3d=_0x125353(Array[_0x4bf322(0x2d0)](_0x1d090d[_0x4bf322(0x2cb)]()))[_0x4bf322(0x2c9)](_0x1ceb38=>{const _0x5f4b87=_0x4bf322,{color:_0x114f67,range:_0x3d503c,name:_0x4ceca5,selection:_0x58a6e5,sheetID:_0x7ceef7}=_0x1ceb38,{startColumn:_0x565063,startRow:_0x149634,endColumn:_0x364f62,endRow:_0x28003c}=_0x3d503c,_0xab949b=_0x270a77[_0x5f4b87(0x35d)](_0x149634,_0x565063,_0x4d3eb6,_0x31cad4),_0x45d1ea=_0x270a77['getCoordByCell'](_0x28003c,_0x364f62,_0x4d3eb6,_0x31cad4),{columnHeaderHeightAndMarginTop:_0x231624}=_0x31cad4,{startX:_0x4f3fa0,startY:_0x29fb16}=_0xab949b,{endX:_0x98c5b1,endY:_0x1dbb12}=_0x45d1ea,_0x1f23b5=_0x98c5b1-_0x4f3fa0,_0x5b678b=_0x1dbb12-_0x29fb16,_0x2b226d={'labelPosition':_0x29fb16-_0x231624>=_0x1f4157?'top':_0x5f4b87(0x454),'sheetID':_0x7ceef7,'range':_0x3d503c,'color':_0x114f67,'name':_0x4ceca5,'selection':_0x58a6e5,'left':_0x4f3fa0,'top':_0x29fb16,'width':_0x1f23b5,'height':_0x5b678b,'evented':!0x1,'zIndex':_0x1459d4};return new _0xc78d6d(_0x4ceca5,_0x2b226d);});_0x4d3eb6[_0x4bf322(0x210)](_0x50ad3d,_0x18c963),this[_0x4bf322(0x1d3)]=new Set(_0x50ad3d);}[_0xf94d15(0x252)](){const _0x3f7d88=_0xf94d15;var _0x3decf5;(_0x3decf5=this[_0x3f7d88(0x1d3)])==null||_0x3decf5[_0x3f7d88(0x403)](_0x62825a=>_0x62825a[_0x3f7d88(0x38a)]());}[_0xf94d15(0x324)](){const _0x2c7833=_0xf94d15;return _0x270a77['getSheetObject'](this[_0x2c7833(0x26c)]['unit'],this['_context']);}};_0x52df86=_0x17d1cb([_0x4e06da(0x1,_0x23cfa0[_0xf94d15(0x24b)](_0x270a77[_0xf94d15(0x2ad)])),_0x4e06da(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x25f318)),_0x4e06da(0x3,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x3be)]))],_0x52df86);function _0x125353(_0xfd6f08){const _0x3b5fb1=_0xf94d15,_0x3a6e38=new Map();return _0xfd6f08['forEach'](_0x5d10c2=>{const _0x2b2d4d=_0x3464;if(_0x3a6e38[_0x2b2d4d(0x3a2)](_0x5d10c2['selection'])){const _0x43ff14=_0x3a6e38[_0x2b2d4d(0x417)](_0x5d10c2[_0x2b2d4d(0x37e)]);_0x43ff14[_0x2b2d4d(0x320)]+=',\x20'+_0x5d10c2[_0x2b2d4d(0x320)];}else _0x3a6e38[_0x2b2d4d(0x429)](_0x5d10c2['selection'],_0x5d10c2);}),Array[_0x3b5fb1(0x2d0)](_0x3a6e38[_0x3b5fb1(0x2cb)]());}var _0x583c7e=function(){const _0x50a864=_0xf94d15;return _0x583c7e=Object[_0x50a864(0x267)]||function(_0x32c16c){const _0x524a5c=_0x50a864;for(var _0x5e3e50,_0xec1648=0x1,_0x5b0a81=arguments['length'];_0xec1648<_0x5b0a81;_0xec1648++){_0x5e3e50=arguments[_0xec1648];for(var _0x2bf859 in _0x5e3e50)Object[_0x524a5c(0x376)][_0x524a5c(0x413)]['call'](_0x5e3e50,_0x2bf859)&&(_0x32c16c[_0x2bf859]=_0x5e3e50[_0x2bf859]);}return _0x32c16c;},_0x583c7e[_0x50a864(0x362)](this,arguments);},_0x53520e=function(_0x4e7a62,_0x52a7ad){const _0x360d69=_0xf94d15;var _0x30c017={};for(var _0x394c22 in _0x4e7a62)Object['prototype'][_0x360d69(0x413)][_0x360d69(0x1d6)](_0x4e7a62,_0x394c22)&&_0x52a7ad['indexOf'](_0x394c22)<0x0&&(_0x30c017[_0x394c22]=_0x4e7a62[_0x394c22]);if(_0x4e7a62!=null&&typeof Object[_0x360d69(0x254)]==_0x360d69(0x301)){for(var _0x2becbf=0x0,_0x394c22=Object[_0x360d69(0x254)](_0x4e7a62);_0x2becbf<_0x394c22[_0x360d69(0x354)];_0x2becbf++)_0x52a7ad['indexOf'](_0x394c22[_0x2becbf])<0x0&&Object[_0x360d69(0x376)][_0x360d69(0x3f3)]['call'](_0x4e7a62,_0x394c22[_0x2becbf])&&(_0x30c017[_0x394c22[_0x2becbf]]=_0x4e7a62[_0x394c22[_0x2becbf]]);}return _0x30c017;},_0x2fefef=_0x5c9659[_0xf94d15(0x35a)](function(_0x123ab7,_0x1ad9e1){const _0x356905=_0xf94d15;var _0x2f6353=_0x123ab7[_0x356905(0x25c)],_0x2f85af=_0x123ab7['id'],_0x7502e=_0x123ab7[_0x356905(0x2b4)],_0x38c11c=_0x123ab7['extend'],_0x5c04fa=_0x53520e(_0x123ab7,[_0x356905(0x25c),'id','className',_0x356905(0x2c4)]),_0x17b13d=_0x356905(0x21a)[_0x356905(0x344)](_0x2f85af,'\x20')[_0x356905(0x344)](_0x7502e||'')[_0x356905(0x40a)](),_0x95e816=_0x5c9659[_0x356905(0x337)]('_'['concat'](_0x518d95()));return _0x458c67(_0x2f6353,''['concat'](_0x2f85af),{'defIds':_0x2f6353['defIds'],'idSuffix':_0x95e816['current']},_0x583c7e({'ref':_0x1ad9e1,'className':_0x17b13d},_0x5c04fa),_0x38c11c);});function _0x458c67(_0x4aaef4,_0x566bff,_0x3572a2,_0x82c970,_0x5926b2){const _0x28560b=_0xf94d15;return _0x5c9659[_0x28560b(0x3ad)](_0x4aaef4[_0x28560b(0x203)],_0x583c7e(_0x583c7e({'key':_0x566bff},_0xfe14ea(_0x4aaef4,_0x3572a2,_0x5926b2)),_0x82c970),(_0x3d670a(_0x4aaef4,_0x3572a2)['children']||[])[_0x28560b(0x2c9)](function(_0x3ab1ad,_0x39ee3c){const _0x5f1af1=_0x28560b;return _0x458c67(_0x3ab1ad,''[_0x5f1af1(0x344)](_0x566bff,'-')[_0x5f1af1(0x344)](_0x4aaef4[_0x5f1af1(0x203)],'-')[_0x5f1af1(0x344)](_0x39ee3c),_0x3572a2,void 0x0,_0x5926b2);}));}function _0xfe14ea(_0xe1cb0,_0x6a961c,_0x3d8222){const _0x50615d=_0xf94d15;var _0x54db4c=_0x583c7e({},_0xe1cb0[_0x50615d(0x3eb)]);_0x3d8222!=null&&_0x3d8222['colorChannel1']&&_0x54db4c[_0x50615d(0x44f)]===_0x50615d(0x3b3)&&(_0x54db4c[_0x50615d(0x44f)]=_0x3d8222[_0x50615d(0x3b3)]),_0xe1cb0[_0x50615d(0x203)]==='mask'&&_0x54db4c['id']&&(_0x54db4c['id']=_0x54db4c['id']+_0x6a961c[_0x50615d(0x281)]),Object[_0x50615d(0x44b)](_0x54db4c)[_0x50615d(0x403)](function(_0x416d2e){const _0x153ee3=_0x50615d;var _0x4fe5b9=_0x416d2e[0x0],_0x453ea2=_0x416d2e[0x1];_0x4fe5b9===_0x153ee3(0x239)&&typeof _0x453ea2==_0x153ee3(0x230)&&(_0x54db4c[_0x4fe5b9]=_0x453ea2[_0x153ee3(0x3a7)](/url\(#(.*)\)/,_0x153ee3(0x1eb)[_0x153ee3(0x344)](_0x6a961c['idSuffix'],')')));});var _0x4bb5c0=_0x6a961c[_0x50615d(0x2c1)];return!_0x4bb5c0||_0x4bb5c0[_0x50615d(0x354)]===0x0||(_0xe1cb0[_0x50615d(0x203)]==='use'&&_0x54db4c[_0x50615d(0x3a9)]&&(_0x54db4c[_0x50615d(0x3a9)]=_0x54db4c[_0x50615d(0x3a9)]+_0x6a961c[_0x50615d(0x281)]),Object[_0x50615d(0x44b)](_0x54db4c)['forEach'](function(_0x161ff3){const _0x5c0983=_0x50615d;var _0xc0850e=_0x161ff3[0x0],_0x9c8957=_0x161ff3[0x1];typeof _0x9c8957==_0x5c0983(0x230)&&(_0x54db4c[_0xc0850e]=_0x9c8957[_0x5c0983(0x3a7)](/url\(#(.*)\)/,_0x5c0983(0x1eb)[_0x5c0983(0x344)](_0x6a961c[_0x5c0983(0x281)],')')));})),_0x54db4c;}function _0x3d670a(_0x3569e3,_0xff54d8){const _0x3fa596=_0xf94d15;var _0x3a334d,_0x5f22f5=_0xff54d8[_0x3fa596(0x2c1)];return!_0x5f22f5||_0x5f22f5['length']===0x0?_0x3569e3:_0x3569e3[_0x3fa596(0x203)]===_0x3fa596(0x33c)&&(!((_0x3a334d=_0x3569e3['children'])===null||_0x3a334d===void 0x0)&&_0x3a334d[_0x3fa596(0x354)])?_0x583c7e(_0x583c7e({},_0x3569e3),{'children':_0x3569e3[_0x3fa596(0x23b)][_0x3fa596(0x2c9)](function(_0x3eea02){const _0x3331d3=_0x3fa596;return typeof _0x3eea02[_0x3331d3(0x3eb)]['id']=='string'&&_0x5f22f5&&_0x5f22f5[_0x3331d3(0x36f)](_0x3eea02[_0x3331d3(0x3eb)]['id'])?_0x583c7e(_0x583c7e({},_0x3eea02),{'attrs':_0x583c7e(_0x583c7e({},_0x3eea02[_0x3331d3(0x3eb)]),{'id':_0x3eea02[_0x3331d3(0x3eb)]['id']+_0xff54d8[_0x3331d3(0x281)]})}):_0x3eea02;})}):_0x3569e3;}function _0x518d95(){const _0x24840d=_0xf94d15;return Math[_0x24840d(0x3f9)]()[_0x24840d(0x29b)](0x24)[_0x24840d(0x1e8)](0x2,0x8);}_0x2fefef['displayName']=_0xf94d15(0x30d);var _0x1a66ea={'tag':'svg','attrs':{'xmlns':_0xf94d15(0x284),'fill':_0xf94d15(0x1ef),'viewBox':_0xf94d15(0x248),'width':'1em','height':_0xf94d15(0x3d0)},'children':[{'tag':'g','attrs':{'clipPath':_0xf94d15(0x427)},'children':[{'tag':_0xf94d15(0x412),'attrs':{'stroke':_0xf94d15(0x407),'d':_0xf94d15(0x2ec),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xf94d15(0x33c),'attrs':{},'children':[{'tag':_0xf94d15(0x1d9),'attrs':{'id':_0xf94d15(0x2bf)},'children':[{'tag':_0xf94d15(0x412),'attrs':{'fill':_0xf94d15(0x236),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xf94d15(0x2bf)]},_0x5619c8=_0x5c9659[_0xf94d15(0x35a)](function(_0x405195,_0xc4a747){const _0x3ce182=_0xf94d15;return _0x5c9659[_0x3ce182(0x3ad)](_0x2fefef,Object[_0x3ce182(0x267)]({},_0x405195,{'id':'off-line-icon','ref':_0xc4a747,'icon':_0x1a66ea}));});_0x5619c8[_0xf94d15(0x3f4)]='OffLineIcon';var _0x9acae7={'tag':_0xf94d15(0x22a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xf94d15(0x1ef),'viewBox':_0xf94d15(0x458),'width':_0xf94d15(0x3d0),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xf94d15(0x369)},'children':[{'tag':_0xf94d15(0x412),'attrs':{'stroke':_0xf94d15(0x407),'d':_0xf94d15(0x38c),'strokeLinecap':_0xf94d15(0x3d3),'strokeLinejoin':_0xf94d15(0x3d3),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0xf94d15(0x412),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0xf94d15(0x3ee)}}]}]}],'defIds':[_0xf94d15(0x37c)]},_0x59910e=_0x5c9659[_0xf94d15(0x35a)](function(_0x22f919,_0x141b48){const _0x2a7dbd=_0xf94d15;return _0x5c9659[_0x2a7dbd(0x3ad)](_0x2fefef,Object[_0x2a7dbd(0x267)]({},_0x22f919,{'id':_0x2a7dbd(0x359),'ref':_0x141b48,'icon':_0x9acae7}));});_0x59910e[_0xf94d15(0x3f4)]=_0xf94d15(0x40f);function _0x10cca3(_0x9b94e1){const _0x82ab13=_0xf94d15;switch(_0x9b94e1){case _0x51ae97[_0x82ab13(0x29a)][_0x82ab13(0x431)]:return _0x82ab13(0x2f1);case _0x51ae97['CollaborationStatus'][_0x82ab13(0x2f0)]:return'collabStatus.conflict';case _0x51ae97['CollaborationStatus'][_0x82ab13(0x44e)]:return'collabStatus.fetchMiss';case _0x51ae97[_0x82ab13(0x29a)][_0x82ab13(0x390)]:return _0x82ab13(0x250);case _0x51ae97[_0x82ab13(0x29a)][_0x82ab13(0x22b)]:case _0x51ae97[_0x82ab13(0x29a)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x51ae97[_0x82ab13(0x29a)][_0x82ab13(0x3b7)]:case _0x51ae97[_0x82ab13(0x29a)][_0x82ab13(0x2d2)]:return'collabStatus.synced';}}function _0x2e9e93(_0x3f17fc){const _0x46a52f=_0xf94d15,{status$:_0x127d63}=_0x3f17fc,_0x3bf810=_0x30ac71['useObservable'](_0x127d63,_0x51ae97['CollaborationStatus'][_0x46a52f(0x390)]),_0x12a675=_0x30ac71[_0x46a52f(0x388)](_0x23cfa0['LocaleService']),_0x92a82f=_0x30ac71[_0x46a52f(0x388)](_0x51ae97['CollaborationSessionService']),_0x41b17c=_0x3bf810!==_0x51ae97['CollaborationStatus'][_0x46a52f(0x431)],_0x500c43=_0x12a675['t'](_0x10cca3(_0x3bf810)),_0x2be410=_0x41b17c?_0x561a21[_0x46a52f(0x3ea)](_0x59910e,{}):_0x561a21[_0x46a52f(0x3ea)](_0x5619c8,{}),_0x8d876f=_0x5c9659['useCallback'](()=>{const _0x449aaf=_0x46a52f;_0x41b17c||_0x92a82f[_0x449aaf(0x2e5)]();},[_0x41b17c,_0x92a82f]);function _0x274c73(){const _0x5f4c60=_0x46a52f;return _0x561a21[_0x5f4c60(0x313)](_0x5f4c60(0x3f8),{'className':_0x5f4c60(0x433),'onClick':_0x8d876f,'children':[_0x561a21[_0x5f4c60(0x3ea)](_0x5f4c60(0x3f8),{'className':_0x306647[_0x5f4c60(0x323)](_0x5f4c60(0x36c),{'univer-text-green-500':_0x41b17c,'univer-text-red-500':!_0x41b17c}),'children':_0x2be410}),_0x561a21[_0x5f4c60(0x3ea)](_0x5f4c60(0x3f8),{'className':_0x5f4c60(0x2aa),'children':_0x500c43})]});}return _0x41b17c?_0x274c73():_0x561a21['jsx'](_0x306647[_0x46a52f(0x215)],{'title':_0x12a675['t'](_0x46a52f(0x1de)),'children':_0x274c73()});}var _0x40ceb2=Object[_0xf94d15(0x1e6)],_0x1472d7=(_0x3cdb47,_0xe87add,_0x3f6f03,_0x1bbd96)=>{for(var _0x33bf18=_0x1bbd96>0x1?void 0x0:_0x1bbd96?_0x40ceb2(_0xe87add,_0x3f6f03):_0xe87add,_0x38beb4=_0x3cdb47['length']-0x1,_0x10816e;_0x38beb4>=0x0;_0x38beb4--)(_0x10816e=_0x3cdb47[_0x38beb4])&&(_0x33bf18=_0x10816e(_0x33bf18)||_0x33bf18);return _0x33bf18;},_0x139792=(_0x2ec350,_0x370504)=>(_0x3732a3,_0x1f3075)=>_0x370504(_0x3732a3,_0x1f3075,_0x2ec350);_0x4cf9f1['DesktopCollaborationStatusDisplayController']=class extends _0x23cfa0[_0xf94d15(0x3da)]{constructor(_0xd609b5,_0x308ffc,_0x4a01c5,_0x15590b){const _0x69da9e=_0xf94d15;super(),_0x6a5a04(this,'_status$',new _0x1425de[(_0x69da9e(0x41c))](_0x51ae97[_0x69da9e(0x29a)]['NOT_COLLAB'])),(this[_0x69da9e(0x30c)]=_0xd609b5,this[_0x69da9e(0x443)]=_0x308ffc,this[_0x69da9e(0x2a3)]=_0x4a01c5,this[_0x69da9e(0x2d4)]=_0x15590b,this['_initStatusComponent'](),this['_initStatusListener']());}[_0xf94d15(0x318)](){const _0x12f556=_0xf94d15;this[_0x12f556(0x340)](this[_0x12f556(0x30c)][_0x12f556(0x276)]['pipe'](_0x1425de['switchMap'](()=>{const _0x337996=_0x12f556,_0x206751=this['_univerInstanceService'][_0x337996(0x200)]();return _0x206751?this[_0x337996(0x2a3)]['getCollabEntity$'](_0x206751['getUnitId']()):_0x1425de['of'](null);}),_0x1425de['switchMap'](_0x558e24=>_0x558e24?_0x558e24[_0x12f556(0x425)]:_0x1425de['of'](_0x51ae97[_0x12f556(0x29a)][_0x12f556(0x390)])))[_0x12f556(0x2a8)](_0x3a542c=>{const _0x12152c=_0x12f556;this[_0x12152c(0x3c0)]['next'](_0x3a542c);}));}[_0xf94d15(0x277)](){const _0x38603a=_0xf94d15;this[_0x38603a(0x340)](this[_0x38603a(0x2d4)][_0x38603a(0x39c)](_0x30ac71['BuiltInUIPart'][_0x38603a(0x451)],()=>_0x30ac71[_0x38603a(0x364)](_0x28a571({'status$':this[_0x38603a(0x3c0)][_0x38603a(0x27c)]()}),this[_0x38603a(0x443)])));}},_0x4cf9f1[_0xf94d15(0x2d7)]=_0x1472d7([_0x139792(0x0,_0x23cfa0[_0xf94d15(0x1e2)]),_0x139792(0x1,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x1e4)])),_0x139792(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x51ae97[_0xf94d15(0x29d)])),_0x139792(0x3,_0x30ac71[_0xf94d15(0x400)])],_0x4cf9f1[_0xf94d15(0x2d7)]);function _0x28a571(_0x2e39c4){const {status$:_0x13961c}=_0x2e39c4;return function(){const _0x1de963=_0x3464;return _0x561a21[_0x1de963(0x3ea)](_0x2e9e93,{'status$':_0x13961c});};}var _0x4dcd49=Object[_0xf94d15(0x1e6)],_0x389a6d=(_0x15b53c,_0x24b926,_0x58a32d,_0x9c531)=>{for(var _0x17dedb=_0x9c531>0x1?void 0x0:_0x9c531?_0x4dcd49(_0x24b926,_0x58a32d):_0x24b926,_0xd3fecc=_0x15b53c['length']-0x1,_0x599114;_0xd3fecc>=0x0;_0xd3fecc--)(_0x599114=_0x15b53c[_0xd3fecc])&&(_0x17dedb=_0x599114(_0x17dedb)||_0x17dedb);return _0x17dedb;},_0x155c50=(_0x388d65,_0x15253f)=>(_0x3e586a,_0x2d4c4b)=>_0x15253f(_0x3e586a,_0x2d4c4b,_0x388d65);let _0x322e8c=class extends _0x23cfa0[_0xf94d15(0x3da)]{constructor(_0x1fd2b7,_0x35262b,_0x5a962f,_0x5a668a,_0x1e9048,_0x1d8b52){const _0x4037d7=_0xf94d15;super(),this['_beforeCloseService']=_0x1fd2b7,this[_0x4037d7(0x3d5)]=_0x35262b,this[_0x4037d7(0x2d8)]=_0x5a962f,this[_0x4037d7(0x1f5)]=_0x5a668a,this[_0x4037d7(0x3bf)]=_0x1e9048,this[_0x4037d7(0x1fd)]=_0x1d8b52,this[_0x4037d7(0x395)](),this[_0x4037d7(0x291)]();}[_0xf94d15(0x395)](){const _0x45fc13=_0xf94d15;this['disposeWithMe'](this[_0x45fc13(0x30b)][_0x45fc13(0x265)](()=>{const _0x2b8844=_0x45fc13;if(this[_0x2b8844(0x3d5)][_0x2b8844(0x2cf)][_0x2b8844(0x2f8)])return this[_0x2b8844(0x1fd)]['t'](_0x2b8844(0x2ba));}));}[_0xf94d15(0x291)](){const _0x145835=_0xf94d15;this[_0x145835(0x340)](this[_0x145835(0x2d8)][_0x145835(0x2dc)]['subscribe'](_0x181425=>{const _0x1bfd99=_0x145835;_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x3cd)]&&this[_0x1bfd99(0x1f5)]['show']({'type':_0x306647[_0x1bfd99(0x27f)][_0x1bfd99(0x2db)],'content':this['_localeService']['t'](_0x1bfd99(0x1ce))}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x26d)]&&this[_0x1bfd99(0x1f5)][_0x1bfd99(0x358)]({'type':_0x306647[_0x1bfd99(0x27f)][_0x1bfd99(0x2db)],'content':this[_0x1bfd99(0x1fd)]['t'](_0x1bfd99(0x3fb))}),_0x181425['id']===_0x51ae97['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService'][_0x1bfd99(0x358)]({'title':this[_0x1bfd99(0x1fd)]['t'](_0x1bfd99(0x2c5)),'content':this['_localeService']['t'](_0x1bfd99(0x442)),'type':_0x1bfd99(0x393),'duration':0x0}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x2f0)]&&this[_0x1bfd99(0x1f5)][_0x1bfd99(0x358)]({'type':_0x306647['MessageType']['Error'],'content':this[_0x1bfd99(0x1fd)]['t'](_0x1bfd99(0x3fb))+'('+_0x181425[_0x1bfd99(0x316)]+')'}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x2b6)]&&this['_messageService'][_0x1bfd99(0x358)]({'type':_0x306647['MessageType'][_0x1bfd99(0x2db)],'content':this['_localeService']['t'](_0x181425[_0x1bfd99(0x316)]||'')}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x2b9)]&&this['_messageService'][_0x1bfd99(0x358)]({'type':_0x306647[_0x1bfd99(0x27f)]['Warning'],'content':this[_0x1bfd99(0x1fd)]['t'](_0x1bfd99(0x371))}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x370)]&&this[_0x1bfd99(0x1f5)][_0x1bfd99(0x358)]({'type':_0x306647[_0x1bfd99(0x27f)]['Error'],'content':this[_0x1bfd99(0x1fd)]['t']('session.connection-failed')}),_0x181425['id']===_0x51ae97[_0x1bfd99(0x2be)][_0x1bfd99(0x367)]&&this['_messageService'][_0x1bfd99(0x358)]({'type':_0x306647[_0x1bfd99(0x27f)][_0x1bfd99(0x1f4)],'content':this[_0x1bfd99(0x1fd)]['t'](_0x1bfd99(0x2ac))});}));}};_0x322e8c=_0x389a6d([_0x155c50(0x0,_0x30ac71['IBeforeCloseService']),_0x155c50(0x1,_0x51ae97[_0xf94d15(0x214)]),_0x155c50(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x51ae97['CollaborationUIEventService'])),_0x155c50(0x3,_0x30ac71['IMessageService']),_0x155c50(0x4,_0x30ac71['INotificationService']),_0x155c50(0x5,_0x23cfa0['Inject'](_0x23cfa0[_0xf94d15(0x41b)]))],_0x322e8c);const _0x1ae88d='collaboration-client-ui.config',_0x16cbb7={},_0x307def=_0x23cfa0['createIdentifier'](_0xf94d15(0x378));var _0x1e8bc1=Object[_0xf94d15(0x1e6)],_0x4cfb6c=(_0x108aa6,_0x550866,_0x1cb024,_0x1f551d)=>{const _0x564dba=_0xf94d15;for(var _0x5c95ab=_0x1f551d>0x1?void 0x0:_0x1f551d?_0x1e8bc1(_0x550866,_0x1cb024):_0x550866,_0x4525ac=_0x108aa6[_0x564dba(0x354)]-0x1,_0x4f9ed8;_0x4525ac>=0x0;_0x4525ac--)(_0x4f9ed8=_0x108aa6[_0x4525ac])&&(_0x5c95ab=_0x4f9ed8(_0x5c95ab)||_0x5c95ab);return _0x5c95ab;},_0x165c3e=(_0x4ea75a,_0x36ef66)=>(_0x1f83b7,_0x1e65ef)=>_0x36ef66(_0x1f83b7,_0x1e65ef,_0x4ea75a);_0x4cf9f1['CollaborationDataLoaderController']=class extends _0x23cfa0['RxDisposable']{constructor(_0x372698,_0x2cafe3,_0x5cee29,_0x2a4c48,_0x47052b){const _0x1b14af=_0xf94d15;super(),this[_0x1b14af(0x2b7)]=_0x372698,this[_0x1b14af(0x3d4)]=_0x2cafe3,this[_0x1b14af(0x1cd)]=_0x5cee29,this[_0x1b14af(0x31d)]=_0x2a4c48,_0x47052b?_0x47052b==null||_0x47052b[_0x1b14af(0x2ae)]()[_0x1b14af(0x31a)](()=>this[_0x1b14af(0x32b)]()):(this['_logService']['debug'](_0x1b14af(0x29e),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x3274ee=_0xf94d15,_0x574afa=this[_0x3274ee(0x2b7)][_0x3274ee(0x3ae)]('unit'),_0x2a4f92=this[_0x3274ee(0x2b7)]['getParam']('type'),_0x3c65c2=this[_0x3274ee(0x2b7)][_0x3274ee(0x3ae)](_0x3274ee(0x1ff));if(!_0x574afa||!_0x2a4f92){this['_logService']['debug'](_0x3274ee(0x29e),_0x3274ee(0x2fb));return;}const _0x187686=await this[_0x3274ee(0x31d)]['loadUnit'](_0x574afa,Number(_0x2a4f92),_0x3c65c2);_0x187686&&_0x187686 instanceof _0x23cfa0[_0x3274ee(0x2da)]&&this[_0x3274ee(0x3f5)](_0x187686);}async['_setupSubUnitSync'](_0x14bf30){const _0x3db290=_0xf94d15;await this[_0x3db290(0x227)](_0x14bf30),_0x14bf30[_0x3db290(0x2b8)][_0x3db290(0x41e)](_0x1425de['takeUntil'](this[_0x3db290(0x391)]))['subscribe'](_0x1ea9ec=>{_0x1ea9ec&&this['_updateURLWithCurrentState'](_0x1ea9ec);}),this[_0x3db290(0x2b7)][_0x3db290(0x3ba)][_0x3db290(0x41e)](_0x1425de[_0x3db290(0x3e4)](this[_0x3db290(0x391)]))['subscribe'](()=>this[_0x3db290(0x227)](_0x14bf30));}[_0xf94d15(0x21d)](_0x459a55,_0x5b000e=!0x1){const _0x163ef0=_0xf94d15,_0x3b5dcf=this[_0x163ef0(0x2b7)][_0x163ef0(0x3ae)](_0x163ef0(0x1ff));_0x459a55['getSheetId']()!==_0x3b5dcf&&this['_urlService']['setParam'](_0x163ef0(0x1ff),_0x459a55[_0x163ef0(0x2c8)](),_0x5b000e);}async[_0xf94d15(0x227)](_0x478c0b){const _0x538a6c=_0xf94d15;var _0x430038;const _0x3417bc=this[_0x538a6c(0x2b7)][_0x538a6c(0x3ae)](_0x538a6c(0x1ff));if(!_0x3417bc||!_0x478c0b[_0x538a6c(0x44c)](_0x3417bc)){const _0x3e858c=_0x478c0b['getUnhiddenWorksheets']()[0x0],_0x3145ce=_0x478c0b[_0x538a6c(0x44c)](_0x3e858c);if(!_0x3145ce)return;this[_0x538a6c(0x21d)](_0x3145ce,!0x0),await this[_0x538a6c(0x1cd)][_0x538a6c(0x234)](_0x28fbd1['SetWorksheetActivateCommand']['id'],{'unitId':_0x478c0b[_0x538a6c(0x289)](),'subUnitId':_0x3e858c});return;}((_0x430038=_0x478c0b[_0x538a6c(0x37a)]())==null?void 0x0:_0x430038[_0x538a6c(0x2c8)]())!==_0x3417bc&&await this[_0x538a6c(0x1cd)]['executeCommand'](_0x28fbd1[_0x538a6c(0x1d2)]['id'],{'unitId':_0x478c0b['getUnitId'](),'subUnitId':_0x3417bc});}},_0x4cf9f1[_0xf94d15(0x338)]=_0x4cfb6c([_0x165c3e(0x0,_0x307def),_0x165c3e(0x1,_0x23cfa0[_0xf94d15(0x245)]),_0x165c3e(0x2,_0x23cfa0[_0xf94d15(0x1e7)]),_0x165c3e(0x3,_0x23cfa0['Inject'](_0x51ae97[_0xf94d15(0x439)])),_0x165c3e(0x4,_0x23cfa0[_0xf94d15(0x275)](_0x154a8a[_0xf94d15(0x2f7)]))],_0x4cf9f1[_0xf94d15(0x338)]);var _0x4816da=Object['getOwnPropertyDescriptor'],_0x159fda=(_0x9d146a,_0x5cec33,_0x50e753,_0x159743)=>{const _0x429643=_0xf94d15;for(var _0x3fd686=_0x159743>0x1?void 0x0:_0x159743?_0x4816da(_0x5cec33,_0x50e753):_0x5cec33,_0x1b2073=_0x9d146a[_0x429643(0x354)]-0x1,_0x4291c8;_0x1b2073>=0x0;_0x1b2073--)(_0x4291c8=_0x9d146a[_0x1b2073])&&(_0x3fd686=_0x4291c8(_0x3fd686)||_0x3fd686);return _0x3fd686;},_0x527490=(_0x4221f6,_0xb3d0cf)=>(_0x2c9533,_0x3c236b)=>_0xb3d0cf(_0x2c9533,_0x3c236b,_0x4221f6);let _0x2701d5=class{constructor(_0x38b273,_0x2a9fac,_0x24e4cb){const _0x5e0fa4=_0xf94d15;this['_injector']=_0x38b273,this[_0x5e0fa4(0x40d)]=_0x2a9fac,this[_0x5e0fa4(0x441)]=_0x24e4cb;}[_0xf94d15(0x3b2)](_0x4000d6){const _0x21c07a=_0xf94d15;this[_0x21c07a(0x28c)](_0x4000d6),this[_0x21c07a(0x1e3)](_0x4000d6);}[_0xf94d15(0x285)](_0x264cc3){const _0xba0330=_0xf94d15,{unitID:_0x164d51}=_0x264cc3,_0x94ae5d=this[_0xba0330(0x441)][_0xba0330(0x1d5)](_0x164d51)[_0xba0330(0x2e6)](_0x27e66a['DocIMEInputManagerService']),{redoCache:_0x17283d}=_0x94ae5d[_0xba0330(0x361)]();if(_0x17283d['length']===0x0)return _0x264cc3;let _0x2d9bd2=_0x23cfa0['Tools'][_0xba0330(0x28d)](_0x264cc3[_0xba0330(0x218)][0x0]);for(let _0x42f78c=0x0;_0x42f78c<_0x17283d[_0xba0330(0x354)];_0x42f78c++){const _0x409068={'id':_0xba0330(0x33b),'params':{..._0x17283d[_0x42f78c]}},_0x29e5f6=this['_transformService'][_0xba0330(0x238)](_0x2d9bd2,_0x409068,!0x1);if(_0x46d1ab['isTransformMutationFailure'](_0x29e5f6))throw _0x29e5f6[_0xba0330(0x393)];_0x2d9bd2=_0x29e5f6['m1Prime'];}return{..._0x23cfa0[_0xba0330(0x292)][_0xba0330(0x28d)](_0x264cc3),'mutations':[_0x2d9bd2]};}[_0xf94d15(0x28c)](_0x1f6754){const _0x46b389=_0xf94d15,{unitID:_0x57cd1e}=_0x1f6754,_0x2c483d=this[_0x46b389(0x441)]['getRenderById'](_0x57cd1e)[_0x46b389(0x2e6)](_0x27e66a['DocIMEInputManagerService']),{undoCache:_0x4bced1,redoCache:_0x28837a}=_0x2c483d[_0x46b389(0x361)]();if(_0x4bced1[_0x46b389(0x354)]===0x0||_0x28837a['length']===0x0)return;const _0x3efd78=[],_0x16ccf0=[];let _0x12155c=_0x23cfa0['Tools'][_0x46b389(0x28d)](_0x1f6754[_0x46b389(0x218)][0x0]),_0x56475c=_0x23cfa0[_0x46b389(0x292)][_0x46b389(0x28d)](_0x1f6754['mutations'][0x0]);for(let _0x16604a=_0x4bced1[_0x46b389(0x354)]-0x1;_0x16604a>=0x0;_0x16604a--){const _0x5e5e42={'id':'doc.mutation.rich-text-editing','params':{..._0x4bced1[_0x16604a]}},_0x4fda6e={'id':_0x46b389(0x33b),'params':{..._0x28837a[_0x16604a]}},_0x38ef12=this['_transformService'][_0x46b389(0x238)](_0x12155c,_0x5e5e42,!0x1),_0x2cecfa=this[_0x46b389(0x40d)][_0x46b389(0x238)](_0x56475c,_0x4fda6e,!0x1);if(_0x46d1ab[_0x46b389(0x274)](_0x38ef12))throw _0x38ef12[_0x46b389(0x393)];if(_0x46d1ab['isTransformMutationFailure'](_0x2cecfa))throw _0x2cecfa['error'];_0x3efd78[_0x46b389(0x23d)](_0x38ef12['m2Prime'][_0x46b389(0x41f)]),_0x16ccf0[_0x46b389(0x23d)](_0x2cecfa[_0x46b389(0x246)][_0x46b389(0x41f)]),_0x12155c=_0x38ef12[_0x46b389(0x3a1)],_0x56475c=_0x2cecfa[_0x46b389(0x3a1)];}_0x2c483d[_0x46b389(0x3fa)]({'undoCache':_0x3efd78,'redoCache':_0x16ccf0});}['_transformPreviousActiveRange'](_0x19dc64){const _0x34d12b=_0xf94d15,{unitID:_0x290336}=_0x19dc64,_0x17828e=this[_0x34d12b(0x441)]['getRenderById'](_0x290336)[_0x34d12b(0x2e6)](_0x27e66a['DocIMEInputManagerService']),_0x28a717=_0x17828e[_0x34d12b(0x3ab)]();if(_0x28a717==null)return;const _0x3ba826=[{'id':_0x34d12b(0x33b),'params':{'unitId':_0x19dc64['unitID'],'actions':null,'textRanges':[_0x28a717]}}],_0x2fd7b9=this['_transformService']['transformMutationsWithChangeset'](_0x19dc64,_0x3ba826);if(!_0x46d1ab[_0x34d12b(0x329)](_0x2fd7b9))throw _0x2fd7b9[_0x34d12b(0x393)];const _0x59b275=_0x2fd7b9[_0x34d12b(0x246)][0x0][_0x34d12b(0x41f)][_0x34d12b(0x426)];Array[_0x34d12b(0x2c7)](_0x59b275)&&_0x59b275['length']&&_0x17828e['setActiveRange'](_0x59b275[0x0]);}};_0x2701d5=_0x159fda([_0x527490(0x0,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x1e4)])),_0x527490(0x1,_0x46d1ab[_0xf94d15(0x420)]),_0x527490(0x2,_0x188338[_0xf94d15(0x20e)])],_0x2701d5);var _0x39f317=Object['getOwnPropertyDescriptor'],_0x4792f5=(_0xf89f20,_0x58987b,_0x25aa0a,_0x4e1f61)=>{const _0x2796cb=_0xf94d15;for(var _0x33d3a4=_0x4e1f61>0x1?void 0x0:_0x4e1f61?_0x39f317(_0x58987b,_0x25aa0a):_0x58987b,_0x4acf1d=_0xf89f20[_0x2796cb(0x354)]-0x1,_0x577ad2;_0x4acf1d>=0x0;_0x4acf1d--)(_0x577ad2=_0xf89f20[_0x4acf1d])&&(_0x33d3a4=_0x577ad2(_0x33d3a4)||_0x33d3a4);return _0x33d3a4;},_0x2e690a=(_0x2e3581,_0x4510d0)=>(_0x27690a,_0x699640)=>_0x4510d0(_0x27690a,_0x699640,_0x2e3581);let _0x1fdefc=class{constructor(_0x2b9b64,_0x5ab722,_0x486abb){const _0x1061dc=_0xf94d15;this['_injector']=_0x2b9b64,this[_0x1061dc(0x40d)]=_0x5ab722,this[_0x1061dc(0x216)]=_0x486abb;}[_0xf94d15(0x32c)](_0x3a7bd8){const _0x186eaa=_0xf94d15;this[_0x186eaa(0x3f7)](_0x3a7bd8);}[_0xf94d15(0x285)](_0x1d9bb8){const _0x459914=_0xf94d15,{unitID:_0x23ce38}=_0x1d9bb8,{collaboration:_0x3b127a}=this[_0x459914(0x216)][_0x459914(0x41d)](_0x23ce38);if(_0x3b127a[_0x459914(0x354)]===0x0)return _0x1d9bb8;let _0x15d67c=_0x23cfa0['Tools'][_0x459914(0x28d)](_0x1d9bb8[_0x459914(0x218)][0x0]);for(let _0x49aacb=0x0;_0x49aacb<_0x3b127a['length'];_0x49aacb++){const _0x42c806={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b127a[_0x49aacb]['unitId'],..._0x3b127a[_0x49aacb][_0x459914(0x2dd)]}},_0x2808f2=this[_0x459914(0x40d)][_0x459914(0x238)](_0x15d67c,_0x42c806,!0x1);if(_0x46d1ab[_0x459914(0x274)](_0x2808f2))throw _0x2808f2['error'];_0x15d67c=_0x2808f2['m1Prime'];}return{..._0x23cfa0[_0x459914(0x292)][_0x459914(0x28d)](_0x1d9bb8),'mutations':[_0x15d67c]};}[_0xf94d15(0x3f7)](_0x24a8b8){const _0x4a5b9f=_0xf94d15,{unitID:_0x903dc8}=_0x24a8b8,{history:_0x54ae2d,collaboration:_0x53bf94}=this[_0x4a5b9f(0x216)][_0x4a5b9f(0x41d)](_0x903dc8);if(_0x54ae2d[_0x4a5b9f(0x354)]===0x0&&_0x53bf94['length']===0x0)return;const _0x6e24e8=[],_0x2d2eca=[];let _0x204d33=_0x23cfa0['Tools'][_0x4a5b9f(0x28d)](_0x24a8b8[_0x4a5b9f(0x218)][0x0]),_0x5f176b=_0x23cfa0['Tools'][_0x4a5b9f(0x28d)](_0x24a8b8[_0x4a5b9f(0x218)][0x0]);for(let _0x321de0=_0x54ae2d[_0x4a5b9f(0x354)]-0x1;_0x321de0>=0x0;_0x321de0--){const _0x2a0246={'id':_0x4a5b9f(0x33b),'params':{'unitId':_0x54ae2d[_0x321de0][_0x4a5b9f(0x2b0)],..._0x54ae2d[_0x321de0][_0x4a5b9f(0x34a)]}},_0x1c325e={'id':_0x4a5b9f(0x33b),'params':{'unitId':_0x54ae2d[_0x321de0]['unitId'],..._0x54ae2d[_0x321de0][_0x4a5b9f(0x2dd)]}},_0x52cfb7=this[_0x4a5b9f(0x40d)][_0x4a5b9f(0x238)](_0x204d33,_0x2a0246,!0x1),_0x5ce5ae=this[_0x4a5b9f(0x40d)][_0x4a5b9f(0x238)](_0x5f176b,_0x1c325e,!0x1);if(_0x46d1ab[_0x4a5b9f(0x274)](_0x52cfb7))throw _0x52cfb7['error'];if(_0x46d1ab[_0x4a5b9f(0x274)](_0x5ce5ae))throw _0x5ce5ae[_0x4a5b9f(0x393)];_0x6e24e8['unshift']({..._0x54ae2d[_0x321de0],'undoState':_0x52cfb7[_0x4a5b9f(0x246)][_0x4a5b9f(0x41f)],'redoState':_0x5ce5ae[_0x4a5b9f(0x246)]['params']}),_0x204d33=_0x52cfb7[_0x4a5b9f(0x3a1)],_0x5f176b=_0x5ce5ae[_0x4a5b9f(0x3a1)];}_0x204d33=_0x23cfa0['Tools'][_0x4a5b9f(0x28d)](_0x24a8b8[_0x4a5b9f(0x218)][0x0]),_0x5f176b=_0x23cfa0[_0x4a5b9f(0x292)][_0x4a5b9f(0x28d)](_0x24a8b8[_0x4a5b9f(0x218)][0x0]);for(let _0x15d85d=_0x53bf94['length']-0x1;_0x15d85d>=0x0;_0x15d85d--){const _0x315bae={'id':_0x4a5b9f(0x33b),'params':{'unitId':_0x53bf94[_0x15d85d][_0x4a5b9f(0x2b0)],..._0x53bf94[_0x15d85d][_0x4a5b9f(0x34a)]}},_0x2996b7={'id':_0x4a5b9f(0x33b),'params':{'unitId':_0x53bf94[_0x15d85d]['unitId'],..._0x53bf94[_0x15d85d][_0x4a5b9f(0x2dd)]}},_0x7946e9=this[_0x4a5b9f(0x40d)][_0x4a5b9f(0x238)](_0x204d33,_0x315bae,!0x1),_0x163f32=this[_0x4a5b9f(0x40d)][_0x4a5b9f(0x238)](_0x5f176b,_0x2996b7,!0x1);if(_0x46d1ab[_0x4a5b9f(0x274)](_0x7946e9))throw _0x7946e9[_0x4a5b9f(0x393)];if(_0x46d1ab[_0x4a5b9f(0x274)](_0x163f32))throw _0x163f32['error'];_0x2d2eca['unshift']({..._0x53bf94[_0x15d85d],'undoState':_0x7946e9[_0x4a5b9f(0x246)][_0x4a5b9f(0x41f)],'redoState':_0x163f32[_0x4a5b9f(0x246)][_0x4a5b9f(0x41f)]}),_0x204d33=_0x7946e9[_0x4a5b9f(0x3a1)],_0x5f176b=_0x163f32[_0x4a5b9f(0x3a1)];}this['_docStateChangeManagerService'][_0x4a5b9f(0x1dc)](_0x903dc8,{'history':_0x6e24e8,'collaboration':_0x2d2eca});}};_0x1fdefc=_0x4792f5([_0x2e690a(0x0,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x1e4)])),_0x2e690a(0x1,_0x46d1ab['ITransformService']),_0x2e690a(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x27e66a['DocStateChangeManagerService']))],_0x1fdefc);var _0x1b7ba1=Object[_0xf94d15(0x1e6)],_0x328533=(_0x80f7d6,_0x3b1b35,_0x5a8361,_0x2678dd)=>{const _0x382eec=_0xf94d15;for(var _0x333d68=_0x2678dd>0x1?void 0x0:_0x2678dd?_0x1b7ba1(_0x3b1b35,_0x5a8361):_0x3b1b35,_0x193eaa=_0x80f7d6[_0x382eec(0x354)]-0x1,_0x21abbe;_0x193eaa>=0x0;_0x193eaa--)(_0x21abbe=_0x80f7d6[_0x193eaa])&&(_0x333d68=_0x21abbe(_0x333d68)||_0x333d68);return _0x333d68;},_0x21e168=(_0x1b8d0a,_0x38f5dc)=>(_0x2835af,_0x3d61e1)=>_0x38f5dc(_0x2835af,_0x3d61e1,_0x1b8d0a);let _0x382263=class{constructor(_0x38eb47,_0x40e8de){const _0x3c8d88=_0xf94d15;this['_injector']=_0x38eb47,this[_0x3c8d88(0x40d)]=_0x40e8de;}[_0xf94d15(0x32f)](_0x3e87f4){const _0x51f545=_0xf94d15;var _0x397c98;const _0x3facfb=this['_injector'][_0x51f545(0x417)](_0x3bc28d[_0x51f545(0x211)]),_0x56eb7d=(_0x397c98=_0x3facfb['getDocRanges']())!=null?_0x397c98:[];if(_0x56eb7d['length']===0x0)return;const _0x4d108c=_0x3e87f4[_0x51f545(0x2de)],_0x5b66ac=[{'id':_0x51f545(0x33b),'params':{'unitId':_0x4d108c,'actions':null,'textRanges':_0x56eb7d}}],_0x34ec12=this['_transformService'][_0x51f545(0x20a)](_0x3e87f4,_0x5b66ac);if(!_0x46d1ab[_0x51f545(0x329)](_0x34ec12))throw _0x34ec12['error'];const _0x373f66=_0x34ec12[_0x51f545(0x246)][0x0]['params'][_0x51f545(0x426)];Array[_0x51f545(0x2c7)](_0x373f66)&&_0x373f66[_0x51f545(0x354)]&&_0x3facfb['replaceDocRanges'](_0x373f66,{'unitId':_0x4d108c,'subUnitId':_0x4d108c},!0x1);}};_0x382263=_0x328533([_0x21e168(0x0,_0x23cfa0['Inject'](_0x23cfa0[_0xf94d15(0x1e4)])),_0x21e168(0x1,_0x46d1ab[_0xf94d15(0x420)])],_0x382263);var _0x4b1031=Object[_0xf94d15(0x1e6)],_0x5c5688=(_0x20f55e,_0x3ce5e2,_0x34d910,_0x49b70f)=>{const _0x2b84a3=_0xf94d15;for(var _0x3fe50d=_0x49b70f>0x1?void 0x0:_0x49b70f?_0x4b1031(_0x3ce5e2,_0x34d910):_0x3ce5e2,_0x857f25=_0x20f55e[_0x2b84a3(0x354)]-0x1,_0x3fc861;_0x857f25>=0x0;_0x857f25--)(_0x3fc861=_0x20f55e[_0x857f25])&&(_0x3fe50d=_0x3fc861(_0x3fe50d)||_0x3fe50d);return _0x3fe50d;},_0x840ff9=(_0x34a391,_0x465ebf)=>(_0x314bc7,_0x290256)=>_0x465ebf(_0x314bc7,_0x290256,_0x34a391);let _0x16862c=class extends _0x23cfa0['Disposable']{constructor(_0x42d4b2,_0x45f6b9,_0x513b41,_0x50286d,_0x38c073,_0x28c9ce,_0x55bb3d,_0x4e7d0f){const _0x1135f5=_0xf94d15;super(),_0x6a5a04(this,_0x1135f5(0x3c0),new _0x1425de[(_0x1135f5(0x41c))](_0x51ae97['CollaborationStatus']['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x42d4b2,this[_0x1135f5(0x2a3)]=_0x45f6b9,this[_0x1135f5(0x26f)]=_0x513b41,this[_0x1135f5(0x20f)]=_0x50286d,this[_0x1135f5(0x22d)]=_0x38c073,this['_docSyncEditingCollabCursorService']=_0x28c9ce,this[_0x1135f5(0x1f5)]=_0x55bb3d,this[_0x1135f5(0x1fd)]=_0x4e7d0f,this[_0x1135f5(0x209)]());}[_0xf94d15(0x209)](){const _0x2df144=_0xf94d15;this[_0x2df144(0x340)](this[_0x2df144(0x2a3)][_0x2df144(0x436)][_0x2df144(0x2a8)](_0x4bb661=>{const _0xb93b44=_0x2df144,_0x20b718=this[_0xb93b44(0x216)]['docStateChange$']['subscribe'](_0x2d5776=>{const _0x2f9bd6=_0xb93b44;if(_0x2d5776==null)return;const {unitId:_0x5035fe,redoState:_0x277dd4,commandId:_0x43e7a7}=_0x2d5776;if(_0x5035fe!==_0x4bb661[_0x2f9bd6(0x2de)])return;const _0x162e93={'id':_0x43e7a7,'type':_0x23cfa0[_0x2f9bd6(0x325)]['MUTATION'],'params':{'unitId':_0x5035fe,'actions':_0x277dd4[_0x2f9bd6(0x3b9)],'textRanges':null}};_0x4bb661['onLocalMutation'](_0x162e93);});if(_0x4bb661[_0xb93b44(0x340)](_0x20b718),_0x4bb661 instanceof _0x51ae97['DocCollaborationEntity']){const _0x564821={'onTransformIME':_0x3237d1=>this[_0xb93b44(0x26f)][_0xb93b44(0x3b2)](_0x3237d1),'onTransformState':_0x50a99a=>this[_0xb93b44(0x20f)][_0xb93b44(0x32c)](_0x50a99a),'onTransformSelections':_0x5729d7=>this[_0xb93b44(0x22d)]['transformSelections'](_0x5729d7),'onSyncEditingCollabCursor':_0x8fae11=>this[_0xb93b44(0x39f)][_0xb93b44(0x35e)](_0x8fae11),'onTransformRemoteChangesetByIMECache':_0x22eb7d=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x22eb7d),'onTransformRemoteChangesetByStateCache':_0x42528c=>this[_0xb93b44(0x20f)]['transformRemoteChangeset'](_0x42528c)};_0x4bb661[_0xb93b44(0x408)](_0x564821);}}));}};_0x16862c=_0x5c5688([_0x840ff9(0x0,_0x23cfa0['Inject'](_0x27e66a[_0xf94d15(0x2c6)])),_0x840ff9(0x1,_0x23cfa0['Inject'](_0x51ae97[_0xf94d15(0x29d)])),_0x840ff9(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x2701d5)),_0x840ff9(0x3,_0x23cfa0[_0xf94d15(0x24b)](_0x1fdefc)),_0x840ff9(0x4,_0x23cfa0[_0xf94d15(0x24b)](_0x382263)),_0x840ff9(0x5,_0x23cfa0[_0xf94d15(0x24b)](_0x47f3a0)),_0x840ff9(0x6,_0x30ac71['IMessageService']),_0x840ff9(0x7,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0['LocaleService']))],_0x16862c);var _0x4709cf=Object[_0xf94d15(0x1e6)],_0x126641=(_0x43da4f,_0x26a36f,_0x52084d,_0x3412a5)=>{for(var _0x96dc3f=_0x3412a5>0x1?void 0x0:_0x3412a5?_0x4709cf(_0x26a36f,_0x52084d):_0x26a36f,_0x3fae67=_0x43da4f['length']-0x1,_0x15b711;_0x3fae67>=0x0;_0x3fae67--)(_0x15b711=_0x43da4f[_0x3fae67])&&(_0x96dc3f=_0x15b711(_0x96dc3f)||_0x96dc3f);return _0x96dc3f;},_0x36759e=(_0x36f161,_0x332dea)=>(_0x11f016,_0x98721a)=>_0x332dea(_0x11f016,_0x98721a,_0x36f161);let _0x54dd19=class extends _0x23cfa0[_0xf94d15(0x3da)]{constructor(_0x4ac714,_0x4971d1,_0x3d1905){const _0x420e6e=_0xf94d15;super(),_0x6a5a04(this,_0x420e6e(0x3bc),new Map()),_0x6a5a04(this,_0x420e6e(0x314),new Map()),_0x6a5a04(this,'_disabled',!0x1),(this['_configService']=_0x4ac714,this['_localStorageService']=_0x4971d1,this['_revisionService']=_0x3d1905);}['disableLocalCache'](){const _0x4f1c97=_0xf94d15;this[_0x4f1c97(0x2d1)]=!0x0;}[_0xf94d15(0x2df)](){const _0x1b503c=_0xf94d15;this[_0x1b503c(0x2d1)]=!0x1;}get['saveTaskMap'](){const _0x4c05a7=_0xf94d15;return this[_0x4c05a7(0x314)];}['dispose'](){const _0x22b959=_0xf94d15;this[_0x22b959(0x385)]()[_0x22b959(0x31a)](()=>super[_0x22b959(0x38a)]());}async[_0xf94d15(0x2f5)](_0x3e20d5){const _0x4c1ee0=_0xf94d15;return this[_0x4c1ee0(0x2d1)]?null:this[_0x4c1ee0(0x293)][_0x4c1ee0(0x219)](_0x51ae97[_0x4c1ee0(0x382)](_0x3e20d5));}async[_0xf94d15(0x2bc)](_0x4ac79d,_0x2da92b){const _0x89f01c=_0xf94d15;return!!this[_0x89f01c(0x293)][_0x89f01c(0x3c9)](_0x4ac79d,_0x2da92b);}[_0xf94d15(0x3d2)](_0x882285,_0x5c7f74,_0x5a9ba9,_0x3c298d){const _0x464338=_0xf94d15,_0x4e44c8=this[_0x464338(0x1f0)][_0x464338(0x372)](_0x882285);this[_0x464338(0x3bc)][_0x464338(0x429)](_0x882285,{'unitID':_0x882285,'type':_0x5c7f74,'awaitingChangeset':_0x5a9ba9,'mutations':_0x3c298d,'rev':_0x4e44c8}),this['_saveTaskMap'][_0x464338(0x3a2)](_0x882285)||this[_0x464338(0x43f)](_0x882285);}[_0xf94d15(0x43f)](_0x1564fe){const _0x204901=_0xf94d15,_0x193cc8=this['_getSaveTimeout']();_0x193cc8===0x0?this['_saveCache'](_0x1564fe):this[_0x204901(0x314)][_0x204901(0x429)](_0x1564fe,setTimeout(()=>this[_0x204901(0x387)](_0x1564fe),_0x193cc8));}[_0xf94d15(0x207)](){const _0x4fa624=_0xf94d15;var _0x42dc1b;return(_0x42dc1b=this[_0x4fa624(0x20c)][_0x4fa624(0x255)](_0x51ae97['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x42dc1b:_0x51ae97['LOCAL_CACHE_INTERVAL'];}[_0xf94d15(0x387)](_0x33a777){const _0x197bc9=_0xf94d15,_0x5827f8=this['_saveTaskMap']['get'](_0x33a777);return _0x5827f8!==void 0x0&&window[_0x197bc9(0x266)](_0x5827f8),this['_localStorageService'][_0x197bc9(0x3c9)](_0x51ae97['getLocalCacheKey'](_0x33a777),this['_cachedData'][_0x197bc9(0x417)](_0x33a777))[_0x197bc9(0x31a)](()=>this[_0x197bc9(0x314)][_0x197bc9(0x2e7)](_0x33a777));}async[_0xf94d15(0x385)](){const _0x85ccb4=_0xf94d15,_0x4da8dd=[];this[_0x85ccb4(0x314)]['forEach']((_0x21bf70,_0x41566c)=>{const _0x3cc7da=_0x85ccb4;window['clearTimeout'](_0x21bf70),_0x4da8dd[_0x3cc7da(0x3f2)](this['_saveCache'](_0x41566c)['then'](()=>{const _0x2280d0=_0x3cc7da;this[_0x2280d0(0x314)]['delete'](_0x41566c);}));}),await Promise['all'](_0x4da8dd);}};_0x54dd19=_0x126641([_0x36759e(0x0,_0x23cfa0[_0xf94d15(0x231)]),_0x36759e(0x1,_0x23cfa0[_0xf94d15(0x2cd)]),_0x36759e(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x46d1ab[_0xf94d15(0x226)]))],_0x54dd19);class _0x69d05e extends _0x23cfa0[_0xf94d15(0x341)]{constructor(){const _0x42b27a=_0xf94d15;super(),_0x6a5a04(this,'urlChange$'),this[_0x42b27a(0x3ba)]=_0x1425de[_0x42b27a(0x455)](window,_0x42b27a(0x2a2))[_0x42b27a(0x41e)](_0x1425de['takeUntil'](this[_0x42b27a(0x391)]),_0x1425de[_0x42b27a(0x2f3)](0x1),_0x1425de['mapTo'](void 0x0));}[_0xf94d15(0x3fc)](_0x3ea0a3,_0x2dcc49,_0x37a4d0=!0x1){const _0x1322a5=_0xf94d15,_0x436d06=new URL(window[_0x1322a5(0x3dd)][_0x1322a5(0x3e5)]);_0x436d06[_0x1322a5(0x347)][_0x1322a5(0x429)](_0x3ea0a3,_0x2dcc49),_0x37a4d0?window[_0x1322a5(0x405)][_0x1322a5(0x2fc)]('','',_0x436d06[_0x1322a5(0x29b)]()):window[_0x1322a5(0x405)]['pushState']('','',_0x436d06['toString']());}['removeParam'](_0xc825f6,_0xb0ee08=!0x1){const _0x850c1=_0xf94d15,_0x7ac8f5=new URL(window[_0x850c1(0x3dd)]['href']);_0x7ac8f5[_0x850c1(0x347)][_0x850c1(0x2e7)](_0xc825f6),_0xb0ee08?window['history'][_0x850c1(0x2fc)]('','',_0x7ac8f5[_0x850c1(0x29b)]()):window[_0x850c1(0x405)][_0x850c1(0x39e)]('','',_0x7ac8f5['toString']());}[_0xf94d15(0x3ae)](_0x173653){const _0x472d00=_0xf94d15;var _0x22afe9;return(_0x22afe9=new URL(window[_0x472d00(0x3dd)][_0x472d00(0x3e5)])[_0x472d00(0x347)]['get'](_0x173653))!=null?_0x22afe9:void 0x0;}}var _0x5419a9=Object[_0xf94d15(0x20d)],_0x388939=Object['getOwnPropertyDescriptor'],_0x5dd2d5=(_0x168951,_0x5783ba,_0x595324)=>_0x5783ba in _0x168951?_0x5419a9(_0x168951,_0x5783ba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x595324}):_0x168951[_0x5783ba]=_0x595324,_0x94d1b=(_0x55e9d7,_0x2fcb00,_0x107819,_0x2e7047)=>{const _0x162131=_0xf94d15;for(var _0x15de3e=_0x2e7047>0x1?void 0x0:_0x2e7047?_0x388939(_0x2fcb00,_0x107819):_0x2fcb00,_0x3bc168=_0x55e9d7[_0x162131(0x354)]-0x1,_0x49be34;_0x3bc168>=0x0;_0x3bc168--)(_0x49be34=_0x55e9d7[_0x3bc168])&&(_0x15de3e=_0x49be34(_0x15de3e)||_0x15de3e);return _0x15de3e;},_0x58e405=(_0x3372c8,_0x3023d5)=>(_0x3207d1,_0x15b760)=>_0x3023d5(_0x3207d1,_0x15b760,_0x3372c8),_0xbce476=(_0x54626e,_0x2f4482,_0x133bf9)=>_0x5dd2d5(_0x54626e,_0x2f4482+'',_0x133bf9);const _0x4bee47=_0xf94d15(0x244);_0x4cf9f1[_0xf94d15(0x30f)]=class extends _0x23cfa0[_0xf94d15(0x319)]{constructor(_0x44f4b6=_0x16cbb7,_0x57e908,_0x1eeb6f,_0x4baa77){const _0x565ad5=_0xf94d15;super(),this[_0x565ad5(0x23c)]=_0x44f4b6,this[_0x565ad5(0x441)]=_0x57e908,this['_injector']=_0x1eeb6f,this[_0x565ad5(0x20c)]=_0x4baa77;const {..._0x4e19f6}=_0x23cfa0[_0x565ad5(0x23e)]({},_0x16cbb7,this[_0x565ad5(0x23c)]);this[_0x565ad5(0x20c)][_0x565ad5(0x43d)](_0x1ae88d,_0x4e19f6);}[_0xf94d15(0x22f)](){const _0xf32c4a=_0xf94d15;this[_0xf32c4a(0x40b)](),this[_0xf32c4a(0x312)]();}[_0xf94d15(0x27b)](){const _0x45ad23=_0xf94d15;this[_0x45ad23(0x30a)]();}['_registerDependencies'](){const _0x57ac34=_0xf94d15;var _0x339e24;const _0x2f0964=[[_0x78b02d],[_0x382263],[_0x2701d5],[_0x1fdefc],[_0x47f3a0],[_0x307def,{'useClass':_0x69d05e}],[_0x99d8d6[_0x57ac34(0x240)],{'useClass':_0x99d8d6['WebSocketService']}],[_0x51ae97[_0x57ac34(0x214)],{'useClass':_0x54dd19}],[_0x4cf9f1[_0x57ac34(0x2d7)]],[_0x16862c],[_0x322e8c],[_0x25f318],[_0x34fb25],[_0x4cf9f1[_0x57ac34(0x338)]]];_0x23cfa0[_0x57ac34(0x1ed)](this[_0x57ac34(0x443)],_0x23cfa0[_0x57ac34(0x322)](_0x2f0964,(_0x339e24=this['_config'])==null?void 0x0:_0x339e24['override']));}[_0xf94d15(0x30a)](){const _0x3009b7=_0xf94d15;this[_0x3009b7(0x340)](this[_0x3009b7(0x441)][_0x3009b7(0x288)](_0x23cfa0[_0x3009b7(0x40e)][_0x3009b7(0x2ea)],[_0x2cdf34])),this['disposeWithMe'](this[_0x3009b7(0x441)][_0x3009b7(0x288)](_0x23cfa0[_0x3009b7(0x40e)][_0x3009b7(0x272)],[_0x52df86]));}[_0xf94d15(0x312)](){const _0x280041=_0xf94d15;_0x23cfa0[_0x280041(0x1c8)](this['_injector'],[[_0x25f318],[_0x4cf9f1[_0x280041(0x2d7)]],[_0x16862c],[_0x322e8c],[_0x4cf9f1['CollaborationDataLoaderController']]]);}},_0xbce476(_0x4cf9f1[_0xf94d15(0x30f)],_0xf94d15(0x309),_0x4bee47),_0x4cf9f1[_0xf94d15(0x30f)]=_0x94d1b([_0x23cfa0[_0xf94d15(0x350)](_0x51ae97[_0xf94d15(0x21c)]),_0x58e405(0x1,_0x188338[_0xf94d15(0x20e)]),_0x58e405(0x2,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0['Injector'])),_0x58e405(0x3,_0x23cfa0[_0xf94d15(0x231)])],_0x4cf9f1['UniverCollaborationClientUIPlugin']);var _0x4ca1b1=Object[_0xf94d15(0x1e6)],_0x47dbb2=(_0x4a0272,_0x500eba,_0x1e2e73,_0x5d63bc)=>{const _0x199d2f=_0xf94d15;for(var _0x1c9c81=_0x5d63bc>0x1?void 0x0:_0x5d63bc?_0x4ca1b1(_0x500eba,_0x1e2e73):_0x500eba,_0x30d287=_0x4a0272[_0x199d2f(0x354)]-0x1,_0xf808c9;_0x30d287>=0x0;_0x30d287--)(_0xf808c9=_0x4a0272[_0x30d287])&&(_0x1c9c81=_0xf808c9(_0x1c9c81)||_0x1c9c81);return _0x1c9c81;},_0x5dc473=(_0x46d602,_0x1404b9)=>(_0x27cb2a,_0x487ff3)=>_0x1404b9(_0x27cb2a,_0x487ff3,_0x46d602);_0x4cf9f1[_0xf94d15(0x449)]=class extends _0x51ae97['CollaborationSocketService']{constructor(_0x1f98c4,_0x462486,_0x4f36cc,_0x451f40,_0x35234c){super(_0x1f98c4,_0x462486,_0x4f36cc,_0x451f40,_0x35234c);}async['createSocket'](_0xf676cf){const _0x825020=_0xf94d15,_0x58d09f=await this['_getSessionTicket'](),_0x52f92a=this[_0x825020(0x399)](_0xf676cf,_0x58d09f);return this['_doCreateSocket'](_0x52f92a);}[_0xf94d15(0x399)](_0x1e5178,_0x1f564f){const _0x3b87b2=_0xf94d15,_0x17d7d9=typeof window>'u'?new URL(_0x1e5178):new URL(_0x1e5178,window[_0x3b87b2(0x3dd)][_0x3b87b2(0x1e5)]);_0x17d7d9[_0x3b87b2(0x347)][_0x3b87b2(0x429)](_0x3b87b2(0x201),_0x1f564f);const _0x264d19=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x264d19[_0x3b87b2(0x417)](_0x3b87b2(0x349))&&_0x17d7d9[_0x3b87b2(0x347)]['set']('runId',_0x264d19[_0x3b87b2(0x417)](_0x3b87b2(0x349))),_0x17d7d9[_0x3b87b2(0x29b)]();}async[_0xf94d15(0x294)](){const _0x5a1f6f=_0xf94d15;var _0x59f290,_0x29dc02,_0x35b7b4;const _0x4c26e3=this[_0x5a1f6f(0x20c)][_0x5a1f6f(0x255)](_0x51ae97[_0x5a1f6f(0x3ec)]),_0x43c886=(_0x59f290=_0x4c26e3==null?void 0x0:_0x4c26e3[_0x5a1f6f(0x268)])!=null?_0x59f290:_0x51ae97['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x35b7b4=(_0x29dc02=(await this[_0x5a1f6f(0x36a)]['get'](_0x43c886,{'headers':{'Content-Type':'application/json'}}))[_0x5a1f6f(0x2b5)])==null?void 0x0:_0x29dc02[_0x5a1f6f(0x38f)])!=null?_0x35b7b4:'';}},_0x4cf9f1['BrowserCollaborationSocketService']=_0x47dbb2([_0x5dc473(0x0,_0x23cfa0[_0xf94d15(0x24b)](_0x23cfa0[_0xf94d15(0x1e4)])),_0x5dc473(0x1,_0x23cfa0['Inject'](_0x99d8d6[_0xf94d15(0x401)])),_0x5dc473(0x2,_0x23cfa0[_0xf94d15(0x231)]),_0x5dc473(0x3,_0x23cfa0[_0xf94d15(0x245)]),_0x5dc473(0x4,_0x46d1ab[_0xf94d15(0x39a)])],_0x4cf9f1[_0xf94d15(0x449)]);const _0x364734=0x7530,_0x2bbc4c=_0xf94d15(0x221);class _0xce475 extends _0x23cfa0['Disposable']{constructor(){const _0x50ddfd=_0xf94d15;super(),_0x6a5a04(this,_0x50ddfd(0x459),_0x23cfa0[_0x50ddfd(0x1d0)]()),_0x6a5a04(this,_0x50ddfd(0x3f1),new Set()),_0x6a5a04(this,_0x50ddfd(0x45a),new Map()),_0x6a5a04(this,_0x50ddfd(0x1d4),null),_0x6a5a04(this,'_clearOtherTimers',new Map()),_0x6a5a04(this,_0x50ddfd(0x3f0),new Map()),this[_0x50ddfd(0x32b)]();}['dispose'](){const _0x4f1543=_0xf94d15;super[_0x4f1543(0x38a)](),this[_0x4f1543(0x26e)][_0x4f1543(0x403)]((_0xb95a08,_0x1cae45)=>this[_0x4f1543(0x3b8)](_0x1cae45)),this[_0x4f1543(0x1d4)]&&window[_0x4f1543(0x307)](this['_heartbeatTimer']);}[_0xf94d15(0x2f9)](_0x2df92d){const _0x1477c4=_0xf94d15;return this[_0x1477c4(0x1d8)](_0x2df92d)[_0x1477c4(0x41e)](_0x1425de[_0x1477c4(0x414)]());}['editingUnit'](_0x212d1f){const _0x5f3d5d=_0xf94d15;this[_0x5f3d5d(0x3f1)]['size']===0x0&&this[_0x5f3d5d(0x27d)](),this['_selfUnitIDs'][_0x5f3d5d(0x241)](_0x212d1f),this[_0x5f3d5d(0x396)]({'type':0x0,'memberID':this[_0x5f3d5d(0x459)],'unitIDs':[_0x212d1f],'isForwarded':!0x1});}[_0xf94d15(0x422)](_0x519e6e){const _0x1540fa=_0xf94d15;this[_0x1540fa(0x3f1)][_0x1540fa(0x2e7)](_0x519e6e),this[_0x1540fa(0x3f1)][_0x1540fa(0x2f8)]===0x0&&this[_0x1540fa(0x1d4)]&&window['clearInterval'](this[_0x1540fa(0x1d4)]);}[_0xf94d15(0x32b)](){const _0x2baa44=_0xf94d15;this[_0x2baa44(0x340)](_0x23cfa0[_0x2baa44(0x357)](_0x1425de[_0x2baa44(0x455)](window,'storage')[_0x2baa44(0x2a8)](_0x2bd9ba=>{const _0x4324f0=_0x2baa44;if(_0x2bd9ba[_0x4324f0(0x1f8)]!==_0x2bbc4c||!_0x2bd9ba[_0x4324f0(0x25b)])return;const _0x129d94=JSON[_0x4324f0(0x411)](_0x2bd9ba[_0x4324f0(0x25b)]);this['_handleEvent'](_0x129d94);}))),window[_0x2baa44(0x1e9)]('unload',()=>this[_0x2baa44(0x396)]({'type':0x1,'memberID':this[_0x2baa44(0x459)],'unitIDs':Array[_0x2baa44(0x2d0)](this['_selfUnitIDs'])}));}[_0xf94d15(0x31c)](_0x117cf0){const _0x326ca3=_0xf94d15;switch(_0x117cf0[_0x326ca3(0x3de)]){case 0x0:this[_0x326ca3(0x2fe)](_0x117cf0);break;case 0x1:this[_0x326ca3(0x3bb)](_0x117cf0);break;case 0x2:this[_0x326ca3(0x2e4)](_0x117cf0);break;}}[_0xf94d15(0x2fe)](_0x4f82fc){const _0x3b0bc8=_0xf94d15,{unitIDs:_0x3e37ca,memberID:_0x4e598d,isForwarded:_0x564b64}=_0x4f82fc;_0x3e37ca['forEach'](_0x4a74d2=>{const _0x75bc5f=_0x3464;if(!_0x564b64&&this[_0x75bc5f(0x45a)]['has'](_0x4a74d2)&&this['_ensureSubject'](_0x4a74d2)[_0x75bc5f(0x3d9)](_0x51ae97[_0x75bc5f(0x424)]['OTHER_CLIENTS_EDITING']),!this[_0x75bc5f(0x45a)][_0x75bc5f(0x3a2)](_0x4a74d2)||!this[_0x75bc5f(0x45a)][_0x75bc5f(0x417)](_0x4a74d2)[_0x75bc5f(0x3a2)](_0x4e598d)){const _0x18f0db=this[_0x75bc5f(0x45a)]['get'](_0x4a74d2)||new Set();_0x18f0db[_0x75bc5f(0x241)](_0x4e598d),this[_0x75bc5f(0x45a)]['set'](_0x4a74d2,_0x18f0db),this[_0x75bc5f(0x22c)](_0x4e598d);}}),_0x564b64||this[_0x3b0bc8(0x396)]({'type':0x0,'memberID':this[_0x3b0bc8(0x459)],'unitIDs':[...this[_0x3b0bc8(0x3f1)]],'isForwarded':!0x0});}[_0xf94d15(0x22c)](_0x3d045c){const _0x12bde7=_0xf94d15;this[_0x12bde7(0x3b8)](_0x3d045c);const _0x58db51=window['setTimeout'](()=>{const _0x5a7bda=_0x12bde7;this[_0x5a7bda(0x45a)][_0x5a7bda(0x403)](_0x45a9a0=>{_0x45a9a0['delete'](_0x3d045c);});},_0x364734*0x2);this[_0x12bde7(0x26e)][_0x12bde7(0x429)](_0x3d045c,_0x58db51);}['_removeClearOtherTimer'](_0xe80954){const _0x54b109=_0xf94d15;if(this['_clearOtherTimers'][_0x54b109(0x3a2)](_0xe80954)){const _0x58ca10=this[_0x54b109(0x26e)][_0x54b109(0x417)](_0xe80954);_0x58ca10&&window['clearTimeout'](_0x58ca10),this[_0x54b109(0x26e)][_0x54b109(0x429)](_0xe80954,null);}}[_0xf94d15(0x3bb)](_0x591dc2){const _0x44a09d=_0xf94d15,{memberID:_0x64913b,unitIDs:_0x3c75dd}=_0x591dc2;_0x3c75dd[_0x44a09d(0x403)](_0x12db6d=>{const _0x2cd176=_0x44a09d;var _0x28a8e4;const _0x10f8dc=this[_0x2cd176(0x45a)][_0x2cd176(0x417)](_0x12db6d);_0x10f8dc&&(_0x10f8dc[_0x2cd176(0x2e7)](_0x64913b),(_0x28a8e4=this[_0x2cd176(0x1d8)](_0x12db6d))==null||_0x28a8e4[_0x2cd176(0x3d9)](_0x10f8dc[_0x2cd176(0x2f8)]===0x0?_0x51ae97[_0x2cd176(0x424)][_0x2cd176(0x257)]:_0x51ae97['UnitStatus'][_0x2cd176(0x3cb)]));}),this[_0x44a09d(0x3b8)](_0x64913b);}['_handleHeartbeatEvent'](_0x48a95e){const _0x1aecca=_0xf94d15;this['_scheduleClearOtherTimer'](_0x48a95e[_0x1aecca(0x258)]);}[_0xf94d15(0x396)](_0xca34b1){const _0x1eb39c=_0xf94d15;localStorage[_0x1eb39c(0x3c9)](_0x2bbc4c,JSON[_0x1eb39c(0x1c9)](_0xca34b1));}[_0xf94d15(0x27d)](){const _0x19208d=_0xf94d15;this[_0x19208d(0x1d4)]=window['setInterval'](()=>{const _0xbff4a1=_0x19208d;this[_0xbff4a1(0x396)]({'type':0x2,'memberID':this[_0xbff4a1(0x459)]});},_0x364734);}[_0xf94d15(0x1d8)](_0x3117d2){const _0x4bc5e3=_0xf94d15;return this[_0x4bc5e3(0x3f0)][_0x4bc5e3(0x3a2)](_0x3117d2)||this[_0x4bc5e3(0x3f0)]['set'](_0x3117d2,new _0x1425de[(_0x4bc5e3(0x41c))](_0x51ae97[_0x4bc5e3(0x424)][_0x4bc5e3(0x257)])),this['_unitStatus'][_0x4bc5e3(0x417)](_0x3117d2);}}var _0x40abde=(_0x36a50b=>(_0x36a50b[_0x36a50b['UNDEFINED']=0x0]='UNDEFINED',_0x36a50b[_0x36a50b['OK']=0x1]='OK',_0x36a50b[_0x36a50b[_0xf94d15(0x296)]=0x2]=_0xf94d15(0x296),_0x36a50b[_0x36a50b[_0xf94d15(0x317)]=0x3]='PERMISSION_DENIED',_0x36a50b[_0x36a50b[_0xf94d15(0x264)]=0x4]='NOT_FOUND',_0x36a50b[_0x36a50b['UNAUTHENTICATED']=0x5]=_0xf94d15(0x3e0),_0x36a50b[_0x36a50b[_0xf94d15(0x327)]=0x6]=_0xf94d15(0x327),_0x36a50b[_0x36a50b['INVALID_ARGUMENT']=0x7]=_0xf94d15(0x229),_0x36a50b[_0x36a50b['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x36a50b[_0x36a50b[_0xf94d15(0x297)]=0x9]=_0xf94d15(0x297),_0x36a50b[_0x36a50b[_0xf94d15(0x39d)]=0xa]=_0xf94d15(0x39d),_0x36a50b[_0x36a50b[_0xf94d15(0x3a6)]=0x1389]=_0xf94d15(0x3a6),_0x36a50b[_0x36a50b['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x36a50b[_0x36a50b[_0xf94d15(0x28f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x36a50b[_0x36a50b[_0xf94d15(0x3e2)]=0x1773]=_0xf94d15(0x3e2),_0x36a50b[_0x36a50b[_0xf94d15(0x2e2)]=0x1b59]=_0xf94d15(0x2e2),_0x36a50b[_0x36a50b[_0xf94d15(0x3c7)]=0x1b5a]=_0xf94d15(0x3c7),_0x36a50b[_0x36a50b[_0xf94d15(0x38b)]=0x1b5b]=_0xf94d15(0x38b),_0x36a50b[_0x36a50b[_0xf94d15(0x260)]=0x1b5c]=_0xf94d15(0x260),_0x36a50b[_0x36a50b[_0xf94d15(0x42b)]=0x1b5d]=_0xf94d15(0x42b),_0x36a50b[_0x36a50b[_0xf94d15(0x1ec)]=0x1f41]=_0xf94d15(0x1ec),_0x36a50b[_0x36a50b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xf94d15(0x31b),_0x36a50b[_0x36a50b[_0xf94d15(0x3c3)]=0x232a]=_0xf94d15(0x3c3),_0x36a50b[_0x36a50b[_0xf94d15(0x2ff)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x36a50b[_0x36a50b[_0xf94d15(0x1fa)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x36a50b[_0x36a50b[_0xf94d15(0x22e)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x36a50b[_0x36a50b[_0xf94d15(0x263)]=0x2711]=_0xf94d15(0x263),_0x36a50b[_0x36a50b['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x36a50b[_0x36a50b['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x36a50b[_0x36a50b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xf94d15(0x386),_0x36a50b[_0x36a50b[_0xf94d15(0x3e7)]=0x271a]=_0xf94d15(0x3e7),_0x36a50b[_0x36a50b[_0xf94d15(0x3a4)]=0x271b]=_0xf94d15(0x3a4),_0x36a50b[_0x36a50b[_0xf94d15(0x270)]=0x271c]=_0xf94d15(0x270),_0x36a50b[_0x36a50b[_0xf94d15(0x334)]=0x271d]=_0xf94d15(0x334),_0x36a50b[_0x36a50b[_0xf94d15(0x430)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x36a50b[_0x36a50b[_0xf94d15(0x43a)]=0x271f]=_0xf94d15(0x43a),_0x36a50b[_0x36a50b[_0xf94d15(0x2a0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x36a50b[_0x36a50b['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xf94d15(0x345),_0x36a50b[_0x36a50b[_0xf94d15(0x38e)]=0x2ee2]=_0xf94d15(0x38e),_0x36a50b[_0x36a50b[_0xf94d15(0x402)]=0x2ee3]=_0xf94d15(0x402),_0x36a50b[_0x36a50b[_0xf94d15(0x384)]=0x2ee4]=_0xf94d15(0x384),_0x36a50b[_0x36a50b[_0xf94d15(0x28b)]=0x2ee5]=_0xf94d15(0x28b),_0x36a50b[_0x36a50b[_0xf94d15(0x3ac)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x36a50b[_0x36a50b[_0xf94d15(0x450)]=0x32ca]=_0xf94d15(0x450),_0x36a50b[_0x36a50b[_0xf94d15(0x2c2)]=0x32cb]=_0xf94d15(0x2c2),_0x36a50b[_0x36a50b[_0xf94d15(0x212)]=-0x1]=_0xf94d15(0x212),_0x36a50b))(_0x40abde||{}),_0x3a9ef0=Object[_0xf94d15(0x1e6)],_0x2f3b87=(_0x1152db,_0x4ff8fe,_0x106fc3,_0x4fb2c6)=>{const _0x1401fe=_0xf94d15;for(var _0x57f5c7=_0x4fb2c6>0x1?void 0x0:_0x4fb2c6?_0x3a9ef0(_0x4ff8fe,_0x106fc3):_0x4ff8fe,_0x271ab1=_0x1152db[_0x1401fe(0x354)]-0x1,_0x3b5778;_0x271ab1>=0x0;_0x271ab1--)(_0x3b5778=_0x1152db[_0x271ab1])&&(_0x57f5c7=_0x3b5778(_0x57f5c7)||_0x57f5c7);return _0x57f5c7;},_0x556b18=(_0x10de97,_0x220614)=>(_0x2208c2,_0x4763ff)=>_0x220614(_0x2208c2,_0x4763ff,_0x10de97);_0x4cf9f1['RemoteUniscriptService']=class extends _0x23cfa0[_0xf94d15(0x3da)]{constructor(_0x285e74,_0x18e9ef,_0x2f325c){const _0x3413e8=_0xf94d15;super(),this[_0x3413e8(0x228)]=_0x285e74,this['_httpService']=_0x18e9ef,this[_0x3413e8(0x20c)]=_0x2f325c;}async[_0xf94d15(0x366)](_0x41e3e0,_0x29ec8e,_0x140a9c,..._0x2880a7){const _0x273bf7=_0xf94d15;var _0x4ec788,_0x31df69,_0x1b031f,_0x51a221;const _0x332b6b=this[_0x273bf7(0x228)][_0x273bf7(0x200)]();if(!_0x332b6b)throw new Error(_0x273bf7(0x303));const _0x500537=((_0x4ec788=this['_configService'][_0x273bf7(0x255)](_0x51ae97[_0x273bf7(0x2d3)]))!=null?_0x4ec788:_0x51ae97[_0x273bf7(0x416)])+'/'+_0x41e3e0+'/run/'+_0x29ec8e,_0x25b799=new URL(window[_0x273bf7(0x3dd)]['href']),_0xf18e5d={'scriptId':_0x41e3e0,'runId':(_0x31df69=_0x25b799[_0x273bf7(0x347)][_0x273bf7(0x417)](_0x273bf7(0x349)))!=null?_0x31df69:'','function':_0x29ec8e,'unitId':_0x332b6b[_0x273bf7(0x289)](),'argsOfFunction':JSON[_0x273bf7(0x1c9)](_0x2880a7),'invokeId':(_0x1b031f=_0x140a9c[_0x273bf7(0x415)])!=null?_0x1b031f:'','executionId':(_0x51a221=_0x140a9c[_0x273bf7(0x34d)])!=null?_0x51a221:''};try{const _0xb9699d=await this[_0x273bf7(0x36a)][_0x273bf7(0x336)](_0x500537,{'body':_0xf18e5d});return _0xb9699d['body'][_0x273bf7(0x393)]&&_0xb9699d[_0x273bf7(0x2b5)]['error']['code']!==_0x40abde['OK']?'Failed':_0xb9699d[_0x273bf7(0x2b5)][_0x273bf7(0x2bb)];}catch{return'Failed';}}},_0x4cf9f1[_0xf94d15(0x23f)]=_0x2f3b87([_0x556b18(0x0,_0x23cfa0[_0xf94d15(0x1e2)]),_0x556b18(0x1,_0x23cfa0['Inject'](_0x99d8d6[_0xf94d15(0x401)])),_0x556b18(0x2,_0x23cfa0[_0xf94d15(0x231)])],_0x4cf9f1['RemoteUniscriptService']),_0x4cf9f1[_0xf94d15(0x435)]=_0x2e9e93,_0x4cf9f1[_0xf94d15(0x42e)]=_0x307def,_0x4cf9f1['SheetCollabCursorShape']=_0xc78d6d,_0x4cf9f1[_0xf94d15(0x446)]=_0xce475,_0x4cf9f1[_0xf94d15(0x223)]=_0x69d05e,Object['defineProperty'](_0x4cf9f1,Symbol['toStringTag'],{'value':'Module'});}));function _0x3464(_0x1731ae,_0x47ebbc){const _0x3d7fc1=_0x3d7f();return _0x3464=function(_0x34648b,_0x315fea){_0x34648b=_0x34648b-0x1c8;let _0x5bdf11=_0x3d7fc1[_0x34648b];return _0x5bdf11;},_0x3464(_0x1731ae,_0x47ebbc);}function _0x3d7f(){const _0xbf78a7=['dispose$','isActive','error','getMemberID','_setupBeforeClosingHandler','_send','_color','_getScale','_createSocketURL','ISnapshotServerService','_labelPosition','registerComponent','LOGIN_FAILED','pushState','_docSyncEditingCollabCursorService','UniverUi','m1Prime','has','min','YUUMI_ASYNCIO_CANCELLED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','CHANGESET_REVISION_CONFILICT','replace','_name','xlink:href','_lastPointer','getActiveRange','WECHAT_HAS_BEEN_BOUND','createElement','getParam','#FFF','rxjs','createInstance','transformIMECache','colorChannel1','collab-rect-range-','_collabSessionService','_entities','SYNCED','_removeClearOtherTimer','actions','urlChange$','_handleLeaveEvent','_cachedData','getCurrentSelections','ThemeService','_notificationService','_status$','getDocRanges','fromEventSubject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SetSelectionsOperation','color','_hover','APPLY_NON_SEQUENTIAL_REVISION','serializeRangeWithSheet','setItem','skeleton','OTHER_CLIENTS_EDITING','max','OTHER_CLIENT_EDITING','getCurrent','_cursorShapes','1em','sheetId','updateOfflineData','round','_logService','_localCacheService','onPointerMove$','TEXT_RANGE_LAYER_INDEX','@univerjs-pro/collaboration-client','next','Disposable','InsertRangeMoveRightCommandId','getTypeOfUnitDisposed$','location','type','_updateCollabCursors','UNAUTHENTICATED','_sheetSkeletonManagerService','ENSURE_SNAPSHOT_EXECUTION','UniverDocs','takeUntil','href','TEXT','YUUMI_NO_CUBOID_FOR_QUESTION','_startSheetCollabCursor','_themeService','jsx','attrs','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','height','translate(.97)','Vector2','_unitStatus','_selfUnitIDs','push','propertyIsEnumerable','displayName','_setupSubUnitSync','filter','_transformHistoryAndStateStack','div','random','setUndoRedoMutationParamsCache','collaboration.closeRoom','setParam','RichTextEditingMutation','fillRule','RegularPolygon','IUIPartsService','HTTPService','INVITE_CODE_REQUIRED','forEach','_document','history','_initCommandExecutedListener','currentColor','addHandlerCallback','_hovered','trim','_registerDependencies','debounceTime','_transformService','UniverInstanceType','OnLineIcon','DeleteRangeMoveLeftCommandId','parse','path','hasOwnProperty','distinctUntilChanged','invokeId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','get','_imageIoService','_refRangeService','purple.300','LocaleService','BehaviorSubject','getStateCache','pipe','params','ITransformService','_onCursorDelete','disposeUnit','Rectangle','UnitStatus','status$','textRanges','url(#off-line-icon_clip0_910_343)','_collabCursorController','set','onPointerEnter$','APPLY_DUPLICATED','startsWith','_anchorDot','IURLService','UniverRpc','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','OFFLINE','_colorAssignService','univer-flex\x20univer-items-center','onPointerLeave$','CollaborationStatusDisplay','entityInit$','_range','split','DataLoaderService','YUUMI_AI_RUN_FAILED','getCurrentUnitForType','blue.400','setConfig','onCommandExecuted','_scheduleSaving','yellow.400','_renderManagerService','permission.content','_injector','UniverProCollaborationClient','NodePositionConvertToCursor','WebBrowserSingleActiveUnitService','red.300','821261StzRCM','BrowserCollaborationSocketService','_startDocCollabCursor','entries','getSheetBySheetId','@univerjs/rpc','FETCH_MISS','fill','MOBILE_HAS_BEEN_BOUND','HEADER_MENU','CollaborationEvent','_syncEditingCollabCursorService','bottom','fromEvent','RECT','exports','0\x200\x2017\x2016','_id','_unitOnClients','touchDependencies','stringify','sessionStatus$','@univerjs/core','_backgroundColor','_commandService','collaboration.single-unit.warning','save','generateRandomId','amd','SetWorksheetActivateCommand','_cursors','_heartbeatTimer','getRenderById','call','isEditing','_ensureSubject','clipPath','SessionStatus','_textBubble','setStateCache','UniverCore','collab-client.tooltip.reconnect','30ImsddR','startRow','deserializeRangeWithSheet','IUniverInstanceService','_transformPreviousActiveRange','Injector','origin','getOwnPropertyDescriptor','ICommandService','substring','addEventListener','EffectRefRangId','url(#$1','CONNECTOR_DATA_TOO_LARGE','registerDependencies','getAncestorScale','none','_revisionService','1679109GCkdrF','cursorInfo','init','Error','_messageService','NodePositionConvertToRectRange','MemberService','key','@univerjs/ui','LICENSE_EXPORT_SIZE_EXCEEDED','react','468890nqRthU','_localeService','top','subunit','getFocusedUnit','sessionTicket','RemoveColCommandId','tag','onTransformChange$','backgroundColor','onMouseMove','_getSaveTimeout','_docClipboardService','_initEntityListener','transformMutationsWithChangeset','347924HyVhnm','_configService','defineProperty','IRenderManagerService','_docTransformStateCacheService','addObjects','DocSelectionManagerService','UNRECOGNIZED','_assignedColors','ILocalCacheService','Tooltip','_docStateChangeManagerService','_shapes','mutations','getItem','univerjs-icon\x20univerjs-icon-','_docSkeletonManagerService','UniverCollaborationClientPlugin','_updateURLWithCurrentState','FromArray','468KuzXPy','_getMergeRange','ACTIVE_UNIT_EVENT_CHANNEL','getMember','WebURLService','roomMembers','range','RevisionService','_updateSubUnitFromURLParams','_instanceService','INVALID_ARGUMENT','svg','AWAITING','_scheduleClearOtherTimer','_docTransformSelectionsService','LICENSE_DISTRO_REJECTED','onStarting','string','IConfigService','Rect','_entityInit$','executeCommand','requireSession','white','lineTo','transformMutation','mask','@univerjs/docs','children','_config','unshift','merge','RemoteUniscriptService','ISocketService','add','combineLatest','handleInsertCol','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ILogService','m2Prime','@univerjs/engine-formula','0\x200\x2016\x2016','subUnitId','findNodePositionByCharIndex','Inject','handleIRemoveRow','debounce','_initResize','_anchor','collabStatus.notCollab','_toggleOffline','_removeCollabCursors','width','getOwnPropertySymbols','getConfig','getSkeleton','NO_OTHER_CLIENTS_EDITING','memberID','20vxhqZR','rxjs/operators','newValue','icon','send','_drawAnchor','getTypeOfUnitAdded$','APPLY_PERMISSION_DENIED','UniverProCollaborationClientUi','eventID','YUUMI_UNABLE_LOAD_URL','NOT_FOUND','registerBeforeClose','clearTimeout','assign','wsSessionTicketUrl','text','_hideTimer','DOC_RANGE_TYPE','_context','CLOSE_ROOM','_clearOtherTimers','_docTransformIMECacheService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','rgba(255,\x20255,\x20255,\x200.01)','UNIVER_SHEET','React','isTransformMutationFailure','Optional','focused$','_initStatusComponent','moveTo','@univerjs/engine-render','cursorInfo$','onRendered','asObservable','_scheduleHeartbeat','_roomMembers$','MessageType','assignAColorForMemberID','idSuffix','addObject','UniverSheets','http://www.w3.org/2000/svg','transformRemoteChangeset','_draw','getCollabCursors$','registerRenderModule','getUnitId','SHEET_VIEWPORT_KEY','INVITE_CODE_ALREADY_BOUND','_transformUndoRedoStack','deepClone','selections','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationSessionService','_initEvent','Tools','_localStorageService','_getSessionTicket','_onCursorUpdate','INTERNAL_ERROR','COMPLETION_FINISHED','collab-text-anchor-','_toggleOnline','CollaborationStatus','toString','source','CollaborationController','[CollaborationDataLoaderController]','handleInsertRow','PY_RUNTIME_SCRIPT_ERROR','startColumn','popstate','_collaborationController','handleDeleteRangeMoveLeft','UniverProCollaboration','complete','UniverSheetsUi','subscribe','getVpScrollXYInfoByPosToVp','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','green.600','session.collaboration-timeout','SheetSkeletonManagerService','whenReady','4301528mYmzqV','unitId','IImageIoService','_docSkeleton','getCellPositionByOffset','className','body','JOIN_ROOM_FAILED','_urlService','activeSheet$','SOCKET_FAILED_RETRY','collaboration-client.offline-data-not-saved','result','saveOfflineData','@univerjs/sheets-ui','CollaborationUIEventId','off-line-icon_clip0_910_343','getColor','defIds','EMAIL_HAS_BEEN_BOUND','...','extend','permission.title','DocStateChangeManagerService','isArray','getSheetId','map','DeleteRangeMoveUpCommandId','values','drawWith','ILocalStorageService','UniverDesign','saveTaskMap','from','_disabled','PENDING','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_uiPartsService','column','_onRefRangeChange','DesktopCollaborationStatusDisplayController','_collaborationUIEventService','_cursor','Workbook','Warning','event$','redoState','unitID','enableLocalCache','unsubscribe','@univerjs/design','APPLY_REJECT','contains','_handleHeartbeatEvent','reconnect','with','delete','Unknown\x20user','restore','UNIVER_DOC','fillStyle','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','_updateLocalCursor','transform','fillText','CONFLICT','collabStatus.offline','runRefRangeMutations','shareReplay','ONLINE','loadOfflineData','InsertRowCommandId','IRemoteInstanceService','size','getUnitStatus$','_collabCursorState$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','replaceState','_eventUnsubscribe','_handleJoinEvent','LICENSE_IMPORT_SIZE_EXCEEDED','getUniverSheetInstance','function','IDocClipboardService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UPDATE_CURSOR','flatMap','_drawRectRange','clearInterval','_render','pluginName','_registerRenderDependencies','_beforeCloseService','_univerInstanceService','UniverIcon','setShapeProps','UniverCollaborationClientUIPlugin','@univerjs/network','jiqing.500','_initDependencies','jsxs','_saveTaskMap','22148ZuyTBH','data','PERMISSION_DENIED','_initStatusListener','Plugin','then','LICENSE_MAX_UNITS_EXCEEDED','_handleEvent','_dataLoaderService','_memberService','switchMap','name','closePath','mergeOverrideWithDependencies','clsx','_getSheetObject','CommandType','black','ALREADY_EXISTS','registerRefRange','isTransformMutationsWithChangesetSuccess','ranges','_init','transformStateCache','throttleTime','measureText','transformSelections','imageSourceType','@univerjs/sheets','SheetsSelectionsService','_drawTextRange','YUUMI_ALL_TABLES_IS_INVALID','sheetID','post','useRef','CollaborationDataLoaderController','SetTextSelectionsOperation','getViewport','doc.mutation.rich-text-editing','defs','collabCursorState$','getOffsetConfig','react/jsx-runtime','disposeWithMe','RxDisposable','arc','labelPosition','concat','INVITE_CODE_HAS_BEEN_UES','COLORS','searchParams','symbol','runId','undoState','makeDirty','101810PPBtMk','executionId','object','USERS_LEAVE','DependentOn','@univerjs-pro/collaboration','SetDocZoomRatioOperation','_handleHover','length','getColorFromTheme','currentSkeleton$','toDisposable','show','on-line-icon','forwardRef','_colorIndex','@univerjs/docs-ui','getCoordByCell','syncEditingCollabCursor','Shape','@univerjs/drawing','getUndoRedoMutationParamsCache','apply','handleIRemoveCol','connectInjector','_online','runOnServer','SUBMIT_CHANGESET_TIMEOUT','currentTheme$','url(#on-line-icon_clip0_910_349)','_httpService','subscribeEvent','univer-mr-2\x20univer-flex\x20univer-text-xl','_session','getRangePointData','includes','SOCKET_FAILED','session.will-retry','getCurrentRevOfUnit','_scene','ColorKit','Subject','prototype','roomMembers$','uni.network.url-service','saveImage','getActiveSheet','toRgbString','on-line-icon_clip0_910_349','MoveRangeCommandId','selection','_refreshCollabCursors','hide','_cursorInfo$','getLocalCacheKey','row','USER_NOT_INVITED_CODE','exhaustSavingTask','YUUMI_SUBSCRIPTION_NOT_FOUND','_saveCache','useDependency','getValue','dispose','APPLY_REVISION_CONFILICT','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','handleInsertRangeMoveDown','INVALID_INVITE_CODE','ticket','NOT_COLLAB'];_0x3d7f=function(){return _0xbf78a7;};return _0x3d7f();}
|