@univerjs-pro/collaboration-client-ui 0.10.3-experimental.20250812-b4b6f1a → 0.10.3-nightly.202508150623
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x39c5(_0x703a98,_0x411ee3){const _0x49805a=_0x4980();return _0x39c5=function(_0x39c547,_0x291b12){_0x39c547=_0x39c547-0x113;let _0x1f3b64=_0x49805a[_0x39c547];return _0x1f3b64;},_0x39c5(_0x703a98,_0x411ee3);}function _0x4980(){const _0x1ea7cb=['color','split','transform','setActiveRange','4093268TOPzQd','defineProperty','_range','getUnitId','_handleJoinEvent','UniverProCollaborationClientUi','Disposable','getSheetId','LICENSE_EXPORT_SIZE_EXCEEDED','SYNCED','createElement','setTimeout','Warning','type','INVITE_CODE_ALREADY_BOUND','white','_localStorageService','_collabCursorState$','hovered','_handleLeaveEvent','YUUMI_AI_RUN_FAILED','SUBMIT_CHANGESET_TIMEOUT','memberID','YUUMI_CONNECTOR_URL_NOT_FOUND','range','collabStatus.syncing','_id','YUUMI_TABLE_NOT_FOUND_IN_UNIT','concat','off-line-icon','116178lFHMKk','DocCollaborationEntity','@univerjs/sheets-ui','isArray','handleInsertRangeMoveDown','useDependency','UniverRpc','@univerjs-pro/collaboration','then','_backgroundColor','_scene','generateRandomId','translate(.97)','IUniverInstanceService','debug','_initStatusComponent','ColorKit','getConfig','forEach','undoState','_transformPreviousActiveRange','min','BrowserCollaborationSocketService','_shapes','toString','_removeClearOtherTimer','_notificationService','init','_saveCache','_initEntityListener','Inject','merge','text','addObject','forwardRef','drawWith','ranges','UNIVER_SHEET','NOT_FOUND','ACTIVE_UNIT_EVENT_CHANNEL','_eventUnsubscribe','function','getStateCache','eventID','height','RECT','_roomMembers$','TEXT_RANGE_LAYER_INDEX','beginPath','1em','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_URL_COL_OUT_OF_RANGE','CollaborationSocketService','@univerjs/rpc','dispose$','size','next','DataLoaderService','prototype','triggerDblclick','WebBrowserSingleActiveUnitService','UniverDocsUi','UPDATE_CURSOR','CollaborationEvent','show','error','transformSelections','_cursorShapes','PY_RUNTIME_SCRIPT_ERROR','replaceState','delete','YUUMI_UNABLE_LOAD_URL','tag','@univerjs/engine-render','getMergeData','_handleHeartbeatEvent','trim','ALREADY_EXISTS','complete','9wlKhit','combineLatest','_collaborationController','assignAColorForMemberID','entityInit$','SNAPSHOT_INVALID_SNAPSHOT','getCurrentUnitForType','disposeUnit','green.600','124958ZVIGJr','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','code','390MHHNmd','UNRECOGNIZED','column','use','EffectRefRangId','getMember','with','isTransformMutationFailure','executeCommand','Unknown\x20user','_send','round','UNAUTHENTICATED','MessageType','clipPath','substring','isTransformMutationsWithChangesetSuccess','arc','_selfUnitIDs','RemoteUniscriptService','_updateURLWithCurrentState','APPLY_NON_SEQUENTIAL_REVISION','defs','collab-text-anchor-','NodePositionConvertToRectRange','startsWith','react','handleIRemoveRow','DOC_RANGE_TYPE','_refreshCollabCursors','MOBILE_VERIFY_CODE_MISMATCH','getTypeOfUnitAdded$','unitId','resize','USER_NOT_INVITED_CODE','getUniverSheetInstance','collaboration.closeRoom','IRenderManagerService','_collaborationUIEventService','ONLINE','OTHER_CLIENT_EDITING','_registerDependencies','editingUnit','_startDocCollabCursor','getOwnPropertySymbols','_logService','_clearOtherTimers','LocaleService','saveImage','top','YUUMI_RATE_OVER_LIMIT','10bGyWhO','RxDisposable','selection','createSocket','add','getSkeleton','_renderManagerService','Error','_getAnchorBounding','_uiPartsService','fromEvent','actions','HTTPService','IImageIoService','_colorIndex','has','OnLineIcon','UNDEFINED','source','addEventListener','UniverDrawing','redoState','_docSyncEditingCollabCursorService','INVITE_CODE_HAS_BEEN_UES','_removeCollabCursors','_dataLoaderService','collab-text-range-','_hideTimer','APPLY_PERMISSION_DENIED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverNetwork','DocIMEInputManagerService','updateOfflineData','deepClone','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','fill','_getSessionTicket','unitID','evenodd','_status$','IUIPartsService','_online','HEADER_MENU','subscribeEvent','_httpService','onMouseMove','_textBubble','engine','mapTo','mask','sheetId','href','PERMISSION_DENIED','session.connection-failed','application/json','univer-mr-2\x20univer-flex\x20univer-text-xl','backgroundColor','row','getOffsetConfig','_docTransformStateCacheService','_onRefRangeChange','from','transformIMECache','getRangePointData','getFocusedUnit','SheetCollabCursorShape','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','Shape','result','_getMergeRange','INVITE_CODE_REQUIRED','_docTransformIMECacheService','random','_colorAssignService','SOCKET_FAILED_RETRY','CollaborationController','transformStateCache','UniverUi','RegularPolygon','dispose','uni.network.url-service','Tooltip','handleIRemoveCol','endRow','_cursor','debounceTime','_cursors','handleDeleteRangeMoveLeft','_docSkeleton','setShapeProps','purple.300','hasOwnProperty','_document','_render','_onCursorDelete','UniverDocs','serializeRangeWithSheet','data','_updateLocalCursor','idSuffix','exhaustSavingTask','whenReady','labelPosition','LICENSE_DISTRO_REJECTED','_collabSessionService','collaboration.single-unit.warning','_heartbeatTimer','INVALID_ARGUMENT','_drawRectRange','SetWorksheetActivateCommand','contains','endColumn','newValue','touchDependencies','doc.mutation.rich-text-editing','onCommandExecuted','_urlService','flatMap','sheetID','subunit','_setupSubUnitSync','runId','useObservable','includes','_univerInstanceService','body','...','[RemoteUniscriptService]:\x20no\x20focused\x20unit','xlink:href','_anchorDot','width','_draw','displayName','red.300','stringify','map','toStringTag','currentTheme$','fillText','SOCKET_FAILED','_getSheetObject','runOnServer','jiqing.500','Module','event$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','closePath','UnitStatus','ILogService','propertyIsEnumerable','getLocalCacheKey','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','toRgbString','2431665ZMnbvV','setItem','m2Prime','extend','getVpScrollXYInfoByPosToVp','_drawAnchor','getOwnPropertyDescriptor','permission.title','M0\x200H16V16H0z','apply','createIdentifier','collab-rect-range-','RichTextEditingMutation','url(#$1','popstate','NO_OTHER_CLIENTS_EDITING','_entities','_memberService','transformRemoteChangeset','getColor','INTERNAL_ERROR','current','mutations','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_localeService','getCellPositionByOffset','231uBwpwu','_transformUndoRedoStack','invokeId','_lastPointer','cursorInfo$','pushState','onPointerMove$','post','blue.400','handleInsertRow','debounce','addObjects','RevisionService','WebURLService','MoveRangeCommandId','length','getUnitStatus$','0\x200\x2016\x2016','jsx','MemberService','InsertColCommandId','Tools','setInterval','clearInterval','@univerjs/design','syncEditingCollabCursor','InsertRangeMoveDownCommandId','onPointerEnter$','getParam','rxjs/operators','setUndoRedoMutationParamsCache','_handleEvent','_registerRenderDependencies','http://www.w3.org/2000/svg','DocSelectionManagerService','CLOSE_ROOM','10186808dplBAW','USERS_LEAVE','_labelPosition','_transformService','NodePositionConvertToCursor','getCurrent','CollaborationSessionService','exports','replaceDocRanges','FromArray','asObservable','registerRenderModule','_disabled','LICENSE_MAX_UNITS_EXCEEDED','getRelativeToViewportCoord','get','_color','_name','UniverSheets','getValue','_docTransformSelectionsService','registerRefRange','_init','getUndoRedoMutationParamsCache','[CollaborationDataLoaderController]','APPLY_REJECT','wsSessionTicketUrl','_initResize','bottom','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CollaborationStatus','TOO_MANY_REQUESTS','YUUMI_ALL_TABLES_IS_INVALID','unit','history','saveTaskMap','shareReplay','unsubscribe','svg','ILocalCacheService','isEditing','_ensureSubject','rxjs','_session','_hovered','textRanges','getCollabCursors$','yellow.400','startColumn','DependentOn','collab-client.tooltip.reconnect','_saveTaskMap','colorChannel1','black','IMessageService','findNodePositionByCharIndex','url(#on-line-icon_clip0_910_349)','_sheetSkeletonManagerService','urlChange$','_unitStatus','values','handleMoveRange','SetDocZoomRatioOperation','SheetSkeletonManagerService','children','218940eQUhVY','SessionStatus','div','ThemeService','LICENSE_IMPORT_SIZE_EXCEEDED','transformMutation','Workbook','pluginName','defIds','FETCH_MISS','SHEET_VIEWPORT_KEY','IRemoteInstanceService','CollaborationUIEventId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','toDisposable','Failed','_scheduleHeartbeat','hide','Injector','useCallback','filter','@univerjs/drawing','_updateSubUnitFromURLParams','font','collaboration-client.offline-data-not-saved','_startSheetCollabCursor','getActiveSheet','OTHER_CLIENTS_EDITING','UniverSheetsUi','DocStateChangeManagerService','docStateChange$','location','_setupBeforeClosingHandler','replace','_scheduleClearOtherTimer','createInstance','focused$','getMemberID','APPLY_DUPLICATED','m1Prime','some','CONNECTOR_DATA_TOO_LARGE','_getScale','ITransformService','unshift','getActiveRange','TRANSFORM_CHANGE_OBSERVABLE_TYPE','sessionTicket','call','getTypeOfUnitDisposed$','pipe','SNAPSHOT_HAS_BEEN_REMOVED','CONFLICT','subscribe','_drawTextRange','mergeOverrideWithDependencies','setConfig','_cachedData','registerComponent','_commandService','SetTextSelectionsOperation','collabCursorState$','measureText','setParam','_onCursorUpdate','_collabCursorController','name','disableLocalCache','RemoveRowCommandId','ENSURE_SNAPSHOT_EXECUTION','lineTo','onStarting','takeUntil','string','storage','path','_themeService','LOCAL_CACHE_INTERVAL','_getSaveTimeout','clsx','max','MOBILE_HAS_BEEN_BOUND','_entityInit$','removeParam','addHandlerCallback','distinctUntilChanged','TEXT','_injector','APPLY_REVISION_CONFILICT','InsertRowCommandId','getViewport','_docSkeletonManagerService','_docStateChangeManagerService','_initDependencies','@univerjs/network','EMAIL_HAS_BEEN_BOUND','collabStatus.conflict','_docClipboardService','NOT_COLLAB','IConfigService','_hover','clearTimeout','_cursorInfo$','assign','icon','set','getAncestorScale','currentSkeleton$','searchParams','onPointerLeave$','UniverProCollaborationClient','disposeWithMe','@univerjs/docs','Optional','DeleteRangeMoveLeftCommandId','fillRule','BehaviorSubject','_handleHover','@univerjs/core','DesktopCollaborationStatusDisplayController','ICommandService','requireSession','@univerjs/docs-ui','url(#off-line-icon_clip0_910_343)','origin','off-line-icon_clip0_910_343','setAlpha','WECHAT_HAS_BEEN_BOUND','_toggleOnline','indexOf','startRow','currentColor','loadOfflineData','isActive','OffLineIcon','_refRangeService','handleInsertRangeMoveRight','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','save','DeleteRangeMoveUpCommandId','onLocalMutation','@univerjs/sheets','cursorInfo','getCoordByCell','CHANGESET_REVISION_CONFILICT','restore','none','getRenderById','attrs','_createSocketURL','on-line-icon_clip0_910_349','_beforeCloseService','_anchor','_initEvent','push','IURLService','on-line-icon','symbol','getDocRanges','DocSkeletonManagerService','COLORS','DEFAULT_WS_SESSION_TICKET_URL','_toggleOffline','handleInsertCol','enableLocalCache','Plugin','switchMap','COMPLETION_FINISHED','UniverCollaborationClientUIPlugin','_configService','roomMembers','SetSelectionsOperation','_instanceService','OFFLINE','send','/run/','UniverDesign','UNIVER_DOC','INVALID_INVITE_CODE','_updateCollabCursors','UniverInstanceType','connectInjector','fillStyle','getColorFromTheme','onRendered','_unitOnClients','_messageService','params','collabStatus.offline','key','_localCacheService','react/jsx-runtime','EMAIL_VERIFY_CODE_MISMATCH','CollaborationDataLoaderController','saveOfflineData','IDocClipboardService','SheetsSelectionsService','44022OFgNNZ','_initStatusListener','all','_imageIoService','onTransformChange$','JOIN_ROOM_FAILED','imageSourceType','_context','Rect','_assignedColors','Rectangle','LOGIN_FAILED','className'];_0x4980=function(){return _0x1ea7cb;};return _0x4980();}(function(_0x59fd7f,_0x5c6961){const _0x2bac4b=_0x39c5,_0x257687=_0x59fd7f();while(!![]){try{const _0x34cb43=-parseInt(_0x2bac4b(0x300))/0x1*(parseInt(_0x2bac4b(0x336))/0x2)+-parseInt(_0x2bac4b(0x2a8))/0x3+parseInt(_0x2bac4b(0x28a))/0x4+parseInt(_0x2bac4b(0x135))/0x5+parseInt(_0x2bac4b(0x1b4))/0x6*(parseInt(_0x2bac4b(0x14f))/0x7)+parseInt(_0x2bac4b(0x173))/0x8*(-parseInt(_0x2bac4b(0x2f7))/0x9)+parseInt(_0x2bac4b(0x303))/0xa*(parseInt(_0x2bac4b(0x279))/0xb);if(_0x34cb43===_0x5c6961)break;else _0x257687['push'](_0x257687['shift']());}catch(_0x416fc5){_0x257687['push'](_0x257687['shift']());}}}(_0x4980,0xe3ca7),function(_0xfb10e,_0x17f0d2){const _0x2014c5=_0x39c5;typeof exports=='object'&&typeof module<'u'?_0x17f0d2(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x2014c5(0x2d1)&&define['amd']?define([_0x2014c5(0x17a),_0x2014c5(0x273),'@univerjs-pro/collaboration-client',_0x2014c5(0x22a),'@univerjs/ui','rxjs',_0x2014c5(0x167),_0x2014c5(0x31d),_0x2014c5(0x2dd),_0x2014c5(0x241),_0x2014c5(0x2f1),_0x2014c5(0x212),_0x2014c5(0x22e),_0x2014c5(0x1c9),_0x2014c5(0x2af),_0x2014c5(0x224),'@univerjs/engine-formula',_0x2014c5(0x16c),_0x2014c5(0x2aa)],_0x17f0d2):(_0xfb10e=typeof globalThis<'u'?globalThis:_0xfb10e||self,_0x17f0d2(_0xfb10e[_0x2014c5(0x28f)]={},_0xfb10e['React'],_0xfb10e[_0x2014c5(0x222)],_0xfb10e['UniverCore'],_0xfb10e[_0x2014c5(0x383)],_0xfb10e[_0x2014c5(0x19d)],_0xfb10e[_0x2014c5(0x264)],_0xfb10e['React'],_0xfb10e[_0x2014c5(0x2ae)],_0xfb10e[_0x2014c5(0x185)],_0xfb10e['UniverEngineRender'],_0xfb10e[_0x2014c5(0x354)],_0xfb10e[_0x2014c5(0x2e5)],_0xfb10e[_0x2014c5(0x34a)],_0xfb10e['UniverProCollaboration'],_0xfb10e[_0x2014c5(0x395)],_0xfb10e['UniverEngineFormula'],_0xfb10e['rxjs']['operators'],_0xfb10e[_0x2014c5(0x1d0)]));}(this,function(_0x218781,_0x5536b0,_0x2600cf,_0x5e3300,_0x48ab34,_0x50b64e,_0x244ea9,_0x3146b7,_0x2f8e17,_0x101dc9,_0x1b825c,_0x5771f5,_0x1b316e,_0xc83503,_0x4384c1,_0x3a8334,_0x5aa429,_0x3987d5,_0x1b0390){'use strict';const _0x41a185=_0x39c5;var _0x11631e=Object['defineProperty'],_0x1c4428=(_0x7b6af,_0x4c04f0,_0x1e3dec)=>_0x4c04f0 in _0x7b6af?_0x11631e(_0x7b6af,_0x4c04f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e3dec}):_0x7b6af[_0x4c04f0]=_0x1e3dec,_0x528ae5=(_0x469425,_0x5413c4,_0x28feac)=>_0x1c4428(_0x469425,typeof _0x5413c4!=_0x41a185(0x251)?_0x5413c4+'':_0x5413c4,_0x28feac),_0x1525d3=function(){const _0x41d2c9=_0x41a185;return _0x1525d3=Object[_0x41d2c9(0x21b)]||function(_0x492e41){const _0x44d486=_0x41d2c9;for(var _0x272de9,_0x48aeb6=0x1,_0xd28e50=arguments[_0x44d486(0x15e)];_0x48aeb6<_0xd28e50;_0x48aeb6++){_0x272de9=arguments[_0x48aeb6];for(var _0x1f6ecf in _0x272de9)Object['prototype'][_0x44d486(0x391)][_0x44d486(0x1e4)](_0x272de9,_0x1f6ecf)&&(_0x492e41[_0x1f6ecf]=_0x272de9[_0x1f6ecf]);}return _0x492e41;},_0x1525d3[_0x41d2c9(0x13e)](this,arguments);},_0x1366b=function(_0x3cc3b7,_0x15a958){const _0x256ab9=_0x41a185;var _0x434ca4={};for(var _0x86ecec in _0x3cc3b7)Object[_0x256ab9(0x2e2)][_0x256ab9(0x391)][_0x256ab9(0x1e4)](_0x3cc3b7,_0x86ecec)&&_0x15a958[_0x256ab9(0x235)](_0x86ecec)<0x0&&(_0x434ca4[_0x86ecec]=_0x3cc3b7[_0x86ecec]);if(_0x3cc3b7!=null&&typeof Object[_0x256ab9(0x32f)]==_0x256ab9(0x2d1)){for(var _0x527287=0x0,_0x86ecec=Object['getOwnPropertySymbols'](_0x3cc3b7);_0x527287<_0x86ecec[_0x256ab9(0x15e)];_0x527287++)_0x15a958[_0x256ab9(0x235)](_0x86ecec[_0x527287])<0x0&&Object[_0x256ab9(0x2e2)][_0x256ab9(0x131)]['call'](_0x3cc3b7,_0x86ecec[_0x527287])&&(_0x434ca4[_0x86ecec[_0x527287]]=_0x3cc3b7[_0x86ecec[_0x527287]]);}return _0x434ca4;},_0x146f6c=_0x3146b7['forwardRef'](function(_0x44adda,_0x5c4d50){const _0x25352e=_0x41a185;var _0x1efeaa=_0x44adda[_0x25352e(0x21c)],_0x1a5839=_0x44adda['id'],_0x472620=_0x44adda[_0x25352e(0x285)],_0x4bf3aa=_0x44adda['extend'],_0x57545b=_0x1366b(_0x44adda,[_0x25352e(0x21c),'id','className',_0x25352e(0x138)]),_0x590c22='univerjs-icon\x20univerjs-icon-'[_0x25352e(0x2a6)](_0x1a5839,'\x20')[_0x25352e(0x2a6)](_0x472620||'')[_0x25352e(0x2f4)](),_0x58a350=_0x3146b7['useRef']('_'[_0x25352e(0x2a6)](_0x3665c3()));return _0xdc07d0(_0x1efeaa,''[_0x25352e(0x2a6)](_0x1a5839),{'defIds':_0x1efeaa['defIds'],'idSuffix':_0x58a350[_0x25352e(0x14a)]},_0x1525d3({'ref':_0x5c4d50,'className':_0x590c22},_0x57545b),_0x4bf3aa);});function _0xdc07d0(_0x489d9e,_0x4eb817,_0x163b0e,_0x11551b,_0x3cab57){const _0x152849=_0x41a185;return _0x3146b7[_0x152849(0x294)](_0x489d9e[_0x152849(0x2f0)],_0x1525d3(_0x1525d3({'key':_0x4eb817},_0x516c78(_0x489d9e,_0x163b0e,_0x3cab57)),_0x11551b),(_0x1ac1cd(_0x489d9e,_0x163b0e)[_0x152849(0x1b3)]||[])[_0x152849(0x123)](function(_0x1fbb8c,_0x3abffe){const _0x18d1a8=_0x152849;return _0xdc07d0(_0x1fbb8c,''[_0x18d1a8(0x2a6)](_0x4eb817,'-')['concat'](_0x489d9e['tag'],'-')[_0x18d1a8(0x2a6)](_0x3abffe),_0x163b0e,void 0x0,_0x3cab57);}));}function _0x516c78(_0x4ff139,_0x10a05e,_0x5571b2){const _0x36beec=_0x41a185;var _0x9fea7=_0x1525d3({},_0x4ff139[_0x36beec(0x248)]);_0x5571b2!=null&&_0x5571b2[_0x36beec(0x1a7)]&&_0x9fea7[_0x36beec(0x359)]===_0x36beec(0x1a7)&&(_0x9fea7[_0x36beec(0x359)]=_0x5571b2['colorChannel1']),_0x4ff139[_0x36beec(0x2f0)]===_0x36beec(0x367)&&_0x9fea7['id']&&(_0x9fea7['id']=_0x9fea7['id']+_0x10a05e[_0x36beec(0x399)]),Object['entries'](_0x9fea7)[_0x36beec(0x2ba)](function(_0x3c6ca9){const _0x69ac4f=_0x36beec;var _0x2e108a=_0x3c6ca9[0x0],_0x105d4c=_0x3c6ca9[0x1];_0x2e108a===_0x69ac4f(0x367)&&typeof _0x105d4c==_0x69ac4f(0x1fd)&&(_0x9fea7[_0x2e108a]=_0x105d4c[_0x69ac4f(0x1d5)](/url\(#(.*)\)/,_0x69ac4f(0x142)[_0x69ac4f(0x2a6)](_0x10a05e[_0x69ac4f(0x399)],')')));});var _0x3f4264=_0x10a05e[_0x36beec(0x1bc)];return!_0x3f4264||_0x3f4264[_0x36beec(0x15e)]===0x0||(_0x4ff139['tag']===_0x36beec(0x306)&&_0x9fea7['xlink:href']&&(_0x9fea7[_0x36beec(0x11c)]=_0x9fea7[_0x36beec(0x11c)]+_0x10a05e['idSuffix']),Object['entries'](_0x9fea7)[_0x36beec(0x2ba)](function(_0x287a95){const _0xd3b229=_0x36beec;var _0x25fa78=_0x287a95[0x0],_0x54a79e=_0x287a95[0x1];typeof _0x54a79e=='string'&&(_0x9fea7[_0x25fa78]=_0x54a79e[_0xd3b229(0x1d5)](/url\(#(.*)\)/,'url(#$1'[_0xd3b229(0x2a6)](_0x10a05e[_0xd3b229(0x399)],')')));})),_0x9fea7;}function _0x1ac1cd(_0x22b75,_0x3d941a){const _0x56301b=_0x41a185;var _0x253b38,_0x950b95=_0x3d941a['defIds'];return!_0x950b95||_0x950b95[_0x56301b(0x15e)]===0x0?_0x22b75:_0x22b75['tag']===_0x56301b(0x319)&&(!((_0x253b38=_0x22b75[_0x56301b(0x1b3)])===null||_0x253b38===void 0x0)&&_0x253b38[_0x56301b(0x15e)])?_0x1525d3(_0x1525d3({},_0x22b75),{'children':_0x22b75[_0x56301b(0x1b3)][_0x56301b(0x123)](function(_0x4dae45){const _0x5dd4a3=_0x56301b;return typeof _0x4dae45[_0x5dd4a3(0x248)]['id']==_0x5dd4a3(0x1fd)&&_0x950b95&&_0x950b95[_0x5dd4a3(0x117)](_0x4dae45[_0x5dd4a3(0x248)]['id'])?_0x1525d3(_0x1525d3({},_0x4dae45),{'attrs':_0x1525d3(_0x1525d3({},_0x4dae45[_0x5dd4a3(0x248)]),{'id':_0x4dae45[_0x5dd4a3(0x248)]['id']+_0x3d941a[_0x5dd4a3(0x399)]})}):_0x4dae45;})}):_0x22b75;}function _0x3665c3(){const _0x3a10a3=_0x41a185;return Math[_0x3a10a3(0x37e)]()[_0x3a10a3(0x2c0)](0x24)[_0x3a10a3(0x312)](0x2,0x8);}_0x146f6c[_0x41a185(0x120)]='UniverIcon';var _0x24587d={'tag':_0x41a185(0x199),'attrs':{'xmlns':_0x41a185(0x170),'fill':'none','viewBox':_0x41a185(0x160),'width':_0x41a185(0x2d9),'height':_0x41a185(0x2d9)},'children':[{'tag':'g','attrs':{'clipPath':_0x41a185(0x22f)},'children':[{'tag':_0x41a185(0x1ff),'attrs':{'stroke':_0x41a185(0x237),'d':_0x41a185(0x358),'strokeLinecap':_0x41a185(0x30e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x41a185(0x319),'attrs':{},'children':[{'tag':_0x41a185(0x311),'attrs':{'id':_0x41a185(0x231)},'children':[{'tag':'path','attrs':{'fill':_0x41a185(0x299),'d':_0x41a185(0x13d)}}]}]}],'defIds':[_0x41a185(0x231)]},_0xf3e0b2=_0x3146b7[_0x41a185(0x2ca)](function(_0x4785a2,_0x2a523c){const _0x21b4a1=_0x41a185;return _0x3146b7[_0x21b4a1(0x294)](_0x146f6c,Object[_0x21b4a1(0x21b)]({},_0x4785a2,{'id':_0x21b4a1(0x2a7),'ref':_0x2a523c,'icon':_0x24587d}));});_0xf3e0b2[_0x41a185(0x120)]=_0x41a185(0x23a);var _0x2a8e7f={'tag':_0x41a185(0x199),'attrs':{'xmlns':_0x41a185(0x170),'fill':_0x41a185(0x246),'viewBox':'0\x200\x2017\x2016','width':_0x41a185(0x2d9),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x41a185(0x1ab)},'children':[{'tag':_0x41a185(0x1ff),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x41a185(0x30e),'strokeLinejoin':_0x41a185(0x30e),'strokeWidth':1.2}}]},{'tag':_0x41a185(0x319),'attrs':{},'children':[{'tag':_0x41a185(0x311),'attrs':{'id':_0x41a185(0x24a)},'children':[{'tag':_0x41a185(0x1ff),'attrs':{'fill':'white','d':_0x41a185(0x13d),'transform':_0x41a185(0x2b4)}}]}]}],'defIds':[_0x41a185(0x24a)]},_0x2e5f75=_0x3146b7['forwardRef'](function(_0x3b0d28,_0x3f66fd){const _0x383f24=_0x41a185;return _0x3146b7[_0x383f24(0x294)](_0x146f6c,Object['assign']({},_0x3b0d28,{'id':_0x383f24(0x250),'ref':_0x3f66fd,'icon':_0x2a8e7f}));});_0x2e5f75['displayName']=_0x41a185(0x346);function _0x2057fc(_0x488815){const _0x547079=_0x41a185;switch(_0x488815){case _0x2600cf[_0x547079(0x191)][_0x547079(0x261)]:return _0x547079(0x270);case _0x2600cf['CollaborationStatus'][_0x547079(0x1e8)]:return _0x547079(0x214);case _0x2600cf[_0x547079(0x191)][_0x547079(0x1bd)]:return'collabStatus.fetchMiss';case _0x2600cf[_0x547079(0x191)][_0x547079(0x216)]:return'collabStatus.notCollab';case _0x2600cf[_0x547079(0x191)]['AWAITING']:case _0x2600cf['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x547079(0x2a3);case _0x2600cf[_0x547079(0x191)][_0x547079(0x293)]:case _0x2600cf[_0x547079(0x191)]['PENDING']:return'collabStatus.synced';}}function _0x4cb787(_0x5269bf){const _0x282759=_0x41a185,{status$:_0x461e1e}=_0x5269bf,_0x595309=_0x48ab34[_0x282759(0x116)](_0x461e1e,_0x2600cf['CollaborationStatus'][_0x282759(0x216)]),_0x4266ab=_0x48ab34[_0x282759(0x2ad)](_0x5e3300['LocaleService']),_0x39c333=_0x48ab34[_0x282759(0x2ad)](_0x2600cf[_0x282759(0x179)]),_0x47ec3d=_0x595309!==_0x2600cf[_0x282759(0x191)][_0x282759(0x261)],_0x9baa35=_0x4266ab['t'](_0x2057fc(_0x595309)),_0xf2f3bb=_0x47ec3d?_0x5536b0['jsx'](_0x2e5f75,{}):_0x5536b0['jsx'](_0xf3e0b2,{}),_0x240d67=_0x3146b7[_0x282759(0x1c7)](()=>{_0x47ec3d||_0x39c333['reconnect']();},[_0x47ec3d,_0x39c333]);function _0x44d337(){const _0xce0166=_0x282759;return _0x5536b0['jsxs'](_0xce0166(0x1b6),{'className':'univer-flex\x20univer-items-center','onClick':_0x240d67,'children':[_0x5536b0[_0xce0166(0x161)](_0xce0166(0x1b6),{'className':_0x244ea9[_0xce0166(0x203)](_0xce0166(0x36d),{'univer-text-green-500':_0x47ec3d,'univer-text-red-500':!_0x47ec3d}),'children':_0xf2f3bb}),_0x5536b0[_0xce0166(0x161)](_0xce0166(0x1b6),{'className':_0xce0166(0x301),'children':_0x9baa35})]});}return _0x47ec3d?_0x44d337():_0x5536b0[_0x282759(0x161)](_0x244ea9[_0x282759(0x387)],{'title':_0x4266ab['t'](_0x282759(0x1a5)),'children':_0x44d337()});}var _0x2ed400=Object[_0x41a185(0x13b)],_0x52272e=(_0x48116b,_0xfd8363,_0x5dc18a,_0x3adcd2)=>{for(var _0x4f331e=_0x3adcd2>0x1?void 0x0:_0x3adcd2?_0x2ed400(_0xfd8363,_0x5dc18a):_0xfd8363,_0x4ea714=_0x48116b['length']-0x1,_0x1f0484;_0x4ea714>=0x0;_0x4ea714--)(_0x1f0484=_0x48116b[_0x4ea714])&&(_0x4f331e=_0x1f0484(_0x4f331e)||_0x4f331e);return _0x4f331e;},_0xfb8d56=(_0x3f1738,_0x4a52c8)=>(_0x50de1b,_0xa9999b)=>_0x4a52c8(_0x50de1b,_0xa9999b,_0x3f1738);_0x218781['DesktopCollaborationStatusDisplayController']=class extends _0x5e3300[_0x41a185(0x290)]{constructor(_0x173e2e,_0x6a2e96,_0x361d25,_0x34c541){const _0x2fd43b=_0x41a185;super(),_0x528ae5(this,_0x2fd43b(0x35d),new _0x50b64e[(_0x2fd43b(0x228))](_0x2600cf[_0x2fd43b(0x191)]['NOT_COLLAB'])),(this[_0x2fd43b(0x118)]=_0x173e2e,this[_0x2fd43b(0x20b)]=_0x6a2e96,this[_0x2fd43b(0x2f9)]=_0x361d25,this[_0x2fd43b(0x33f)]=_0x34c541,this['_initStatusComponent'](),this[_0x2fd43b(0x27a)]());}[_0x41a185(0x27a)](){const _0x17cdd1=_0x41a185;this[_0x17cdd1(0x223)](this[_0x17cdd1(0x118)][_0x17cdd1(0x1d8)][_0x17cdd1(0x1e6)](_0x50b64e[_0x17cdd1(0x25a)](()=>{const _0x589c8c=_0x17cdd1,_0x4afb88=this['_univerInstanceService'][_0x589c8c(0x376)]();return _0x4afb88?this[_0x589c8c(0x2f9)]['getCollabEntity$'](_0x4afb88[_0x589c8c(0x28d)]()):_0x50b64e['of'](null);}),_0x50b64e[_0x17cdd1(0x25a)](_0xe49d8b=>_0xe49d8b?_0xe49d8b['status$']:_0x50b64e['of'](_0x2600cf[_0x17cdd1(0x191)][_0x17cdd1(0x216)])))[_0x17cdd1(0x1e9)](_0x58cf47=>{this['_status$']['next'](_0x58cf47);}));}[_0x41a185(0x2b7)](){const _0x11ac1f=_0x41a185;this['disposeWithMe'](this[_0x11ac1f(0x33f)][_0x11ac1f(0x1ee)](_0x48ab34['BuiltInUIPart'][_0x11ac1f(0x360)],()=>_0x48ab34[_0x11ac1f(0x269)](_0x1ce05b({'status$':this[_0x11ac1f(0x35d)][_0x11ac1f(0x17d)]()}),this['_injector'])));}},_0x218781['DesktopCollaborationStatusDisplayController']=_0x52272e([_0xfb8d56(0x0,_0x5e3300[_0x41a185(0x2b5)]),_0xfb8d56(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0xfb8d56(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x381)])),_0xfb8d56(0x3,_0x48ab34[_0x41a185(0x35e)])],_0x218781[_0x41a185(0x22b)]);function _0x1ce05b(_0x34615c){const {status$:_0x336105}=_0x34615c;return function(){const _0x444786=_0x39c5;return _0x5536b0[_0x444786(0x161)](_0x4cb787,{'status$':_0x336105});};}const _0x48a0eb=_0x5e3300[_0x41a185(0x13f)](_0x41a185(0x386));var _0x5bab6f=Object[_0x41a185(0x13b)],_0x56e5ec=(_0x1b5e41,_0x54b5a8,_0x16afa6,_0x1a53b5)=>{const _0x223ca9=_0x41a185;for(var _0x4f844a=_0x1a53b5>0x1?void 0x0:_0x1a53b5?_0x5bab6f(_0x54b5a8,_0x16afa6):_0x54b5a8,_0x2bbb9b=_0x1b5e41[_0x223ca9(0x15e)]-0x1,_0x360012;_0x2bbb9b>=0x0;_0x2bbb9b--)(_0x360012=_0x1b5e41[_0x2bbb9b])&&(_0x4f844a=_0x360012(_0x4f844a)||_0x4f844a);return _0x4f844a;},_0x2cfcdb=(_0x299aa2,_0x1a057c)=>(_0x2fba3b,_0x41c06c)=>_0x1a057c(_0x2fba3b,_0x41c06c,_0x299aa2);_0x218781[_0x41a185(0x275)]=class extends _0x5e3300['RxDisposable']{constructor(_0x29652d,_0x4d2f87,_0x9bf52b,_0x1f98a2,_0x3ca21c){const _0x3720ac=_0x41a185;super(),this[_0x3720ac(0x3aa)]=_0x29652d,this[_0x3720ac(0x330)]=_0x4d2f87,this[_0x3720ac(0x1ef)]=_0x9bf52b,this[_0x3720ac(0x34f)]=_0x1f98a2,_0x3ca21c?_0x3ca21c==null||_0x3ca21c[_0x3720ac(0x39b)]()[_0x3720ac(0x2b0)](()=>this[_0x3720ac(0x189)]()):(this[_0x3720ac(0x330)][_0x3720ac(0x2b6)](_0x3720ac(0x18b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3720ac(0x189)]());}async['_init'](){const _0x26b163=_0x41a185,_0x1d5208=this['_urlService'][_0x26b163(0x16b)](_0x26b163(0x194)),_0x186baa=this[_0x26b163(0x3aa)][_0x26b163(0x16b)](_0x26b163(0x297)),_0x17b814=this[_0x26b163(0x3aa)][_0x26b163(0x16b)](_0x26b163(0x113));if(!_0x1d5208||!_0x186baa){this[_0x26b163(0x330)]['debug']('[CollaborationDataLoaderController]',_0x26b163(0x190));return;}const _0x4e7577=await this[_0x26b163(0x34f)]['loadUnit'](_0x1d5208,Number(_0x186baa),_0x17b814);_0x4e7577&&_0x4e7577 instanceof _0x5e3300[_0x26b163(0x1ba)]&&this[_0x26b163(0x114)](_0x4e7577);}async['_setupSubUnitSync'](_0x404fd9){const _0x18d42d=_0x41a185;await this[_0x18d42d(0x1ca)](_0x404fd9),_0x404fd9['activeSheet$'][_0x18d42d(0x1e6)](_0x50b64e[_0x18d42d(0x1fc)](this[_0x18d42d(0x2de)]))[_0x18d42d(0x1e9)](_0x468611=>{_0x468611&&this['_updateURLWithCurrentState'](_0x468611);}),this[_0x18d42d(0x3aa)][_0x18d42d(0x1ad)][_0x18d42d(0x1e6)](_0x50b64e[_0x18d42d(0x1fc)](this['dispose$']))[_0x18d42d(0x1e9)](()=>this['_updateSubUnitFromURLParams'](_0x404fd9));}[_0x41a185(0x317)](_0xcbc860,_0x221a86=!0x1){const _0x4d230a=_0x41a185,_0x329180=this['_urlService']['getParam'](_0x4d230a(0x113));_0xcbc860[_0x4d230a(0x291)]()!==_0x329180&&this[_0x4d230a(0x3aa)][_0x4d230a(0x1f3)](_0x4d230a(0x113),_0xcbc860[_0x4d230a(0x291)](),_0x221a86);}async[_0x41a185(0x1ca)](_0x1ec93b){const _0x550f81=_0x41a185;var _0x22e5a0;const _0x5e6fba=this[_0x550f81(0x3aa)][_0x550f81(0x16b)](_0x550f81(0x113));if(!_0x5e6fba||!_0x1ec93b['getSheetBySheetId'](_0x5e6fba)){const _0x277d93=_0x1ec93b['getUnhiddenWorksheets']()[0x0],_0x343297=_0x1ec93b['getSheetBySheetId'](_0x277d93);if(!_0x343297)return;this[_0x550f81(0x317)](_0x343297,!0x0),await this['_commandService']['executeCommand'](_0x101dc9[_0x550f81(0x3a3)]['id'],{'unitId':_0x1ec93b[_0x550f81(0x28d)](),'subUnitId':_0x277d93});return;}((_0x22e5a0=_0x1ec93b[_0x550f81(0x1ce)]())==null?void 0x0:_0x22e5a0[_0x550f81(0x291)]())!==_0x5e6fba&&await this[_0x550f81(0x1ef)][_0x550f81(0x30b)](_0x101dc9[_0x550f81(0x3a3)]['id'],{'unitId':_0x1ec93b[_0x550f81(0x28d)](),'subUnitId':_0x5e6fba});}},_0x218781['CollaborationDataLoaderController']=_0x56e5ec([_0x2cfcdb(0x0,_0x48a0eb),_0x2cfcdb(0x1,_0x5e3300['ILogService']),_0x2cfcdb(0x2,_0x5e3300[_0x41a185(0x22c)]),_0x2cfcdb(0x3,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x2e1)])),_0x2cfcdb(0x4,_0x5e3300[_0x41a185(0x225)](_0x2f8e17[_0x41a185(0x1bf)]))],_0x218781[_0x41a185(0x275)]);var _0x21fd32=Object[_0x41a185(0x13b)],_0x16736e=(_0x44cd3f,_0x235db7,_0x5dd57e,_0x32ca39)=>{for(var _0x50229a=_0x32ca39>0x1?void 0x0:_0x32ca39?_0x21fd32(_0x235db7,_0x5dd57e):_0x235db7,_0x1e341e=_0x44cd3f['length']-0x1,_0x1f0502;_0x1e341e>=0x0;_0x1e341e--)(_0x1f0502=_0x44cd3f[_0x1e341e])&&(_0x50229a=_0x1f0502(_0x50229a)||_0x50229a);return _0x50229a;},_0x432b9d=(_0x160484,_0x288d7e)=>(_0x30da2d,_0x1f28ca)=>_0x288d7e(_0x30da2d,_0x1f28ca,_0x160484);let _0x282384=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x514dc9,_0x388bf2){const _0x4d0f1b=_0x41a185;super(),this[_0x4d0f1b(0x215)]=_0x514dc9,this['_imageIoService']=_0x388bf2,this[_0x4d0f1b(0x189)]();}[_0x41a185(0x189)](){const _0x5433d7=_0x41a185,_0x46252c=this;this[_0x5433d7(0x223)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x1c45f7=>{const _0x334b25=_0x5433d7,_0x5defc6=await _0x46252c[_0x334b25(0x27c)][_0x334b25(0x333)](_0x1c45f7);return _0x5defc6?{'source':_0x5defc6[_0x334b25(0x348)],'imageSourceType':_0x5defc6[_0x334b25(0x27f)]}:null;}}));}};_0x282384=_0x16736e([_0x432b9d(0x0,_0x1b316e[_0x41a185(0x277)]),_0x432b9d(0x1,_0xc83503[_0x41a185(0x343)])],_0x282384);const _0x58ce6f=[_0x41a185(0x390),_0x41a185(0x12a),_0x41a185(0x2ff),_0x41a185(0x121),_0x41a185(0x157),_0x41a185(0x1a2)];class _0xc0d63f extends _0x5e3300[_0x41a185(0x290)]{constructor(){const _0x28dca1=_0x41a185;super(...arguments),_0x528ae5(this,_0x28dca1(0x282),new Map()),_0x528ae5(this,'_colorIndex',0x0);}[_0x41a185(0x2fa)](_0x13d34d){const _0x5614e3=_0x41a185;if(this[_0x5614e3(0x282)][_0x5614e3(0x345)](_0x13d34d))return this[_0x5614e3(0x282)][_0x5614e3(0x182)](_0x13d34d);const _0x184fc4=_0x58ce6f[this['_colorIndex']];return this[_0x5614e3(0x344)]=(this['_colorIndex']+0x1)%_0x58ce6f[_0x5614e3(0x15e)],this[_0x5614e3(0x282)][_0x5614e3(0x21d)](_0x13d34d,_0x184fc4),_0x184fc4;}}function _0x3ffd36(_0x582957){const _0x243fd2=_0x41a185;let _0x11b965='';for(const _0x570f38 of _0x582957){const {startOffset:_0x222f63,endOffset:_0x37f53d,isActive:_0x3ffed7,rangeType:_0x1b3e7b,segmentId:_0x2fc253,segmentPage:_0x3a510d}=_0x570f38;_0x11b965[_0x243fd2(0x15e)]&&(_0x11b965+=','),_0x11b965+=_0x222f63+':'+_0x37f53d+':'+(_0x3ffed7?'1':'0')+':'+_0x1b3e7b+':'+_0x2fc253+':'+_0x3a510d;}return _0x11b965;}function _0x87d182(_0x138616){const _0x2d4e94=_0x41a185,_0x22c471=_0x138616[_0x2d4e94(0x287)](','),_0x325615=[];for(const _0x2ffa4c of _0x22c471){const [_0x22ff3f,_0x400c35,_0x3b08f8,_0x4d65fa,_0x32380f,_0x3e1faa]=_0x2ffa4c[_0x2d4e94(0x287)](':');_0x325615['push']({'startOffset':Number(_0x22ff3f),'endOffset':Number(_0x400c35),'collapsed':_0x22ff3f===_0x400c35,'isActive':_0x3b08f8==='1','rangeType':_0x4d65fa===_0x5e3300[_0x2d4e94(0x31f)][_0x2d4e94(0x20a)]?_0x5e3300[_0x2d4e94(0x31f)][_0x2d4e94(0x20a)]:_0x5e3300['DOC_RANGE_TYPE'][_0x2d4e94(0x2d5)],'segmentId':typeof _0x32380f==_0x2d4e94(0x1fd)?String(_0x32380f):'','segmentPage':Number(_0x3e1faa!=null?_0x3e1faa:-0x1)});}return _0x325615[_0x2d4e94(0x1dc)](_0xc34d27=>_0xc34d27[_0x2d4e94(0x239)])||(_0x325615[0x0][_0x2d4e94(0x239)]=!0x0),_0x325615;}class _0xa68806 extends _0x5e3300[_0x41a185(0x337)]{constructor(){const _0x33d8f6=_0x41a185;super(...arguments),_0x528ae5(this,_0x33d8f6(0x29b),new _0x50b64e[(_0x33d8f6(0x228))](null)),_0x528ae5(this,_0x33d8f6(0x1f1),this['_collabCursorState$'][_0x33d8f6(0x17d)]());}[_0x41a185(0x168)](_0x1daab5){const _0x3339ed=_0x41a185,{unitID:_0x203d5a,memberID:_0x29e67,textRanges:_0x5817d3}=_0x1daab5,_0x4b596f=_0x3ffd36(_0x5817d3);if(_0x4b596f==='')return;const _0x1fe76a={'unitID':_0x203d5a,'memberID':_0x29e67,'selection':_0x4b596f};this['_collabCursorState$'][_0x3339ed(0x2e0)](_0x1fe76a);}}var _0x573b07=Object[_0x41a185(0x13b)],_0x2bae9f=(_0x55da5b,_0x825df2,_0x1a8a4f,_0x2da851)=>{const _0x471ab6=_0x41a185;for(var _0x9b09a8=_0x2da851>0x1?void 0x0:_0x2da851?_0x573b07(_0x825df2,_0x1a8a4f):_0x825df2,_0x6e9952=_0x55da5b[_0x471ab6(0x15e)]-0x1,_0x203ed3;_0x6e9952>=0x0;_0x6e9952--)(_0x203ed3=_0x55da5b[_0x6e9952])&&(_0x9b09a8=_0x203ed3(_0x9b09a8)||_0x9b09a8);return _0x9b09a8;},_0x3d5c12=(_0x54ecce,_0x5ad027)=>(_0x444fdb,_0x2000f7)=>_0x5ad027(_0x444fdb,_0x2000f7,_0x54ecce);const _0x275a8d=0x12c,_0x57d848=0x64;let _0x2ef3a8=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x25bd14,_0x30a6d8,_0xa90456,_0x14fbe2,_0x5674dc,_0x44d6ab,_0x142ef7,_0x517c57,_0x72a5b5){const _0x7b9ad=_0x41a185;super(),_0x528ae5(this,_0x7b9ad(0x35f),!0x1),_0x528ae5(this,'_init',!0x1),_0x528ae5(this,_0x7b9ad(0x21a),new _0x50b64e[(_0x7b9ad(0x228))](new Map())),_0x528ae5(this,_0x7b9ad(0x153),this[_0x7b9ad(0x21a)]['asObservable']()),_0x528ae5(this,_0x7b9ad(0x2d6),new _0x50b64e['BehaviorSubject']([])),_0x528ae5(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x50b64e[_0x7b9ad(0x38b)](_0x275a8d))),_0x528ae5(this,'_updateLocalCursor',_0x5e3300[_0x7b9ad(0x159)](_0x338c2f=>{const _0x25436b=_0x7b9ad,_0x553465={'eventID':_0x4384c1['CollaborationEvent'][_0x25436b(0x2e6)],'data':{'unitID':this[_0x25436b(0x35b)],'memberID':this['_session'][_0x25436b(0x1d9)](),'selection':_0x3ffd36(_0x338c2f)}};this[_0x25436b(0x19e)][_0x25436b(0x262)](_0x553465,this['unitID']);},_0x57d848)),(this[_0x7b9ad(0x35b)]=_0x25bd14,this[_0x7b9ad(0x19e)]=_0x30a6d8,this[_0x7b9ad(0x20b)]=_0xa90456,this['_colorAssignService']=_0x14fbe2,this[_0x7b9ad(0x146)]=_0x5674dc,this['_syncEditingCollabCursorService']=_0x44d6ab,this[_0x7b9ad(0x176)]=_0x142ef7,this[_0x7b9ad(0x118)]=_0x517c57,this['_commandService']=_0x72a5b5);}get['cursorInfo'](){const _0x5cd0c7=_0x41a185;return this[_0x5cd0c7(0x21a)][_0x5cd0c7(0x186)]();}get[_0x41a185(0x25e)](){const _0x245dfe=_0x41a185;return this['_roomMembers$'][_0x245dfe(0x186)]();}[_0x41a185(0x385)](){const _0x556722=_0x41a185;super['dispose'](),this[_0x556722(0x21a)][_0x556722(0x2e0)](new Map()),this[_0x556722(0x21a)][_0x556722(0x2f6)](),this[_0x556722(0x2d6)][_0x556722(0x2e0)]([]),this[_0x556722(0x2d6)][_0x556722(0x2f6)]();}[_0x41a185(0x2c3)](){const _0x56bd86=_0x41a185;this[_0x56bd86(0x189)]||(this[_0x56bd86(0x189)]=!0x0,this[_0x56bd86(0x19e)]['sessionStatus$'][_0x56bd86(0x1e6)](_0x50b64e[_0x56bd86(0x1fc)](this[_0x56bd86(0x2de)]))[_0x56bd86(0x1e9)](_0x12c3e2=>{const _0x2b057e=_0x56bd86;_0x12c3e2===_0x2600cf[_0x2b057e(0x1b5)][_0x2b057e(0x32a)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x56bd86(0x19e)][_0x56bd86(0x12c)][_0x56bd86(0x1e6)](_0x50b64e[_0x56bd86(0x1fc)](this['dispose$']))[_0x56bd86(0x1e9)](_0x6bb761=>{const _0x5df52c=_0x56bd86,_0x3d8805=_0x6bb761[_0x5df52c(0x2d3)];_0x3d8805===_0x4384c1[_0x5df52c(0x2e7)][_0x5df52c(0x2e6)]&&this[_0x5df52c(0x1f4)](_0x6bb761),_0x3d8805===_0x4384c1[_0x5df52c(0x2e7)][_0x5df52c(0x174)]&&this[_0x5df52c(0x394)](_0x6bb761);}),this[_0x56bd86(0x223)](this[_0x56bd86(0x1ef)][_0x56bd86(0x3a9)](_0x2d4135=>{const _0x489af3=_0x56bd86,_0x530fb0=_0x2d4135[_0x489af3(0x26f)];_0x530fb0!=null&&this['_online']&&_0x2d4135['id']===_0x3a8334[_0x489af3(0x1f0)]['id']&&_0x530fb0['unitId']===this[_0x489af3(0x35b)]&&_0x530fb0[_0x489af3(0x19b)]===!0x1&&_0x530fb0[_0x489af3(0x2cc)][_0x489af3(0x15e)]>0x0&&this[_0x489af3(0x398)](_0x530fb0[_0x489af3(0x2cc)]);})),this['_syncEditingCollabCursorService'][_0x56bd86(0x1f1)][_0x56bd86(0x1e6)](_0x50b64e[_0x56bd86(0x1fc)](this[_0x56bd86(0x2de)]))[_0x56bd86(0x1e9)](_0x591963=>{const _0x1257f3=_0x56bd86;if((_0x591963==null?void 0x0:_0x591963[_0x1257f3(0x35b)])!==this[_0x1257f3(0x35b)])return;const _0x259de2={'eventID':_0x4384c1['CollaborationEvent'][_0x1257f3(0x2e6)],'data':_0x591963};this['_onCursorUpdate'](_0x259de2);}),this['disposeWithMe'](this[_0x56bd86(0x1ef)][_0x56bd86(0x3a9)](_0x139af5=>{const _0x3ff3b9=_0x56bd86;if(_0x139af5[_0x3ff3b9(0x26f)]==null)return;const _0x1924e4=_0x139af5[_0x3ff3b9(0x26f)];if(_0x139af5['id']!==_0x3a8334[_0x3ff3b9(0x141)]['id']||_0x1924e4[_0x3ff3b9(0x323)]!==this['unitID'])return;const _0x51b1e7={'id':_0x3ff3b9(0x3a8),'params':_0x1924e4},_0x26eab2=this[_0x3ff3b9(0x242)];for(const [_0x54a311,_0x4e08bd]of _0x26eab2){const _0x254ece={'id':_0x3ff3b9(0x3a8),'params':{'unitId':this[_0x3ff3b9(0x35b)],'actions':null,'textRanges':_0x4e08bd[_0x3ff3b9(0x2cc)]}},_0x3f55a5=this['_transformService'][_0x3ff3b9(0x1b9)](_0x51b1e7,_0x254ece,!0x1);if(_0x4384c1['isTransformMutationFailure'](_0x3f55a5))throw _0x3f55a5[_0x3ff3b9(0x2e9)];_0x26eab2[_0x3ff3b9(0x21d)](_0x54a311,{..._0x4e08bd,'ranges':_0x3f55a5[_0x3ff3b9(0x137)][_0x3ff3b9(0x26f)][_0x3ff3b9(0x1a0)]});}queueMicrotask(()=>{const _0x13ecad=_0x3ff3b9;this[_0x13ecad(0x21a)]['next'](_0x26eab2);});})));}[_0x41a185(0x1f4)](_0x565d42){const _0x5d9375=_0x41a185;var _0x5499e3,_0x278c79;const {memberID:_0xac4222,selection:_0x1e0b7f}=_0x565d42['data'],_0x2d008f=_0x87d182(_0x1e0b7f),_0x5900ab=(_0x278c79=(_0x5499e3=this[_0x5d9375(0x146)]['getMember'](this[_0x5d9375(0x35b)],_0xac4222))==null?void 0x0:_0x5499e3[_0x5d9375(0x1f6)])!=null?_0x278c79:_0x5d9375(0x30c),_0x42b6ae={'color':this[_0x5d9375(0x37f)][_0x5d9375(0x2fa)](_0xac4222),'name':_0x5900ab,'ranges':_0x2d008f},_0xe0aa00=this[_0x5d9375(0x242)];_0xe0aa00[_0x5d9375(0x21d)](_0xac4222,_0x42b6ae),this[_0x5d9375(0x21a)]['next'](_0xe0aa00);}[_0x41a185(0x394)](_0x4020a5){const _0x32bdf8=_0x41a185,{memberID:_0x58a8a5}=_0x4020a5[_0x32bdf8(0x397)],_0x24829d=this[_0x32bdf8(0x242)];_0x24829d[_0x32bdf8(0x2ee)](_0x58a8a5),this[_0x32bdf8(0x21a)][_0x32bdf8(0x2e0)](_0x24829d);}['_toggleOnline'](){const _0x5cd3d3=_0x41a185;var _0x19fc32;if(this[_0x5cd3d3(0x35f)]=!0x0,((_0x19fc32=this[_0x5cd3d3(0x118)][_0x5cd3d3(0x376)]())==null?void 0x0:_0x19fc32[_0x5cd3d3(0x28d)]())!==this[_0x5cd3d3(0x35b)])return;const _0x5c3243=this[_0x5cd3d3(0x20b)][_0x5cd3d3(0x182)](_0x3a8334[_0x5cd3d3(0x171)])[_0x5cd3d3(0x252)]();Array[_0x5cd3d3(0x2ab)](_0x5c3243)&&_0x5c3243[_0x5cd3d3(0x15e)]>0x0&&this[_0x5cd3d3(0x398)](_0x5c3243);}[_0x41a185(0x256)](){const _0x16d0a7=_0x41a185;this[_0x16d0a7(0x35f)]=!0x1;}};_0x2ef3a8=_0x2bae9f([_0x3d5c12(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x3d5c12(0x3,_0x5e3300[_0x41a185(0x2c6)](_0xc0d63f)),_0x3d5c12(0x4,_0x5e3300['Inject'](_0x2600cf[_0x41a185(0x162)])),_0x3d5c12(0x5,_0x5e3300['Inject'](_0xa68806)),_0x3d5c12(0x6,_0x4384c1[_0x41a185(0x1df)]),_0x3d5c12(0x7,_0x5e3300[_0x41a185(0x2b5)]),_0x3d5c12(0x8,_0x5e3300[_0x41a185(0x22c)])],_0x2ef3a8);var _0x402f88=Object[_0x41a185(0x13b)],_0x3a793=(_0x352090,_0x199cad,_0x5e390f,_0x4397bf)=>{const _0x409593=_0x41a185;for(var _0x5def69=_0x4397bf>0x1?void 0x0:_0x4397bf?_0x402f88(_0x199cad,_0x5e390f):_0x199cad,_0x24431c=_0x352090[_0x409593(0x15e)]-0x1,_0x170566;_0x24431c>=0x0;_0x24431c--)(_0x170566=_0x352090[_0x24431c])&&(_0x5def69=_0x170566(_0x5def69)||_0x5def69);return _0x5def69;},_0x354548=(_0x489aee,_0x5b854d)=>(_0x45b3e5,_0x222362)=>_0x5b854d(_0x45b3e5,_0x222362,_0x489aee);const _0x200180=0x12c,_0x57474d=0x64,_0x28324f=()=>{let _0x1a591e=[],_0x54e451=!0x1;return _0x3555de=>{const _0x228243=_0x39c5;_0x1a591e[_0x228243(0x24e)](_0x3555de),_0x54e451||(_0x54e451=!0x0,setTimeout(()=>{_0x1a591e['forEach'](_0x169ba5=>_0x169ba5()),_0x1a591e=[],_0x54e451=!0x1;}));};};let _0x4fce6c=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x5aeaad,_0x58e920,_0x291448,_0x43901b,_0x26e0b6,_0x7bd806,_0x5c038a,_0x2e0a41){const _0xdc9731=_0x41a185;super(),_0x528ae5(this,'_online',!0x1),_0x528ae5(this,_0xdc9731(0x189),!0x1),_0x528ae5(this,_0xdc9731(0x21a),new _0x50b64e[(_0xdc9731(0x228))](new Map())),_0x528ae5(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x528ae5(this,_0xdc9731(0x2d6),new _0x50b64e[(_0xdc9731(0x228))]([])),_0x528ae5(this,'roomMembers$',this['_roomMembers$'][_0xdc9731(0x1e6)](_0x50b64e[_0xdc9731(0x38b)](_0x200180))),_0x528ae5(this,_0xdc9731(0x398),_0x5e3300[_0xdc9731(0x159)]((_0x37e819,_0x58d633)=>{const _0x140349=_0xdc9731,_0x428a3e={'eventID':_0x4384c1[_0x140349(0x2e7)][_0x140349(0x2e6)],'data':{'unitID':this[_0x140349(0x35b)],'memberID':this[_0x140349(0x19e)][_0x140349(0x1d9)](),'selection':_0x5aa429[_0x140349(0x396)](_0x37e819,_0x58d633['range'])}};this[_0x140349(0x19e)][_0x140349(0x262)](_0x428a3e,this[_0x140349(0x35b)]);},_0x57474d)),(this[_0xdc9731(0x35b)]=_0x5aeaad,this[_0xdc9731(0x19e)]=_0x58e920,this[_0xdc9731(0x20b)]=_0x291448,this[_0xdc9731(0x37f)]=_0x43901b,this[_0xdc9731(0x146)]=_0x26e0b6,this['_univerInstanceService']=_0x7bd806,this[_0xdc9731(0x1ef)]=_0x5c038a,this[_0xdc9731(0x23b)]=_0x2e0a41);}get[_0x41a185(0x242)](){return this['_cursorInfo$']['getValue']();}get[_0x41a185(0x25e)](){const _0x1a2bbf=_0x41a185;return this[_0x1a2bbf(0x2d6)]['getValue']();}[_0x41a185(0x385)](){const _0xe308b2=_0x41a185;super[_0xe308b2(0x385)](),this[_0xe308b2(0x21a)][_0xe308b2(0x2e0)](new Map()),this[_0xe308b2(0x21a)][_0xe308b2(0x2f6)](),this[_0xe308b2(0x2d6)][_0xe308b2(0x2e0)]([]),this[_0xe308b2(0x2d6)][_0xe308b2(0x2f6)]();}[_0x41a185(0x2c3)](){const _0x28c568=_0x41a185;this[_0x28c568(0x189)]||(this[_0x28c568(0x189)]=!0x0,this['_session']['sessionStatus$'][_0x28c568(0x1e6)](_0x50b64e[_0x28c568(0x1fc)](this[_0x28c568(0x2de)]))['subscribe'](_0x217880=>{const _0x345dd4=_0x28c568;_0x217880===_0x2600cf[_0x345dd4(0x1b5)]['ONLINE']?this[_0x345dd4(0x234)]():this[_0x345dd4(0x256)]();}),this[_0x28c568(0x19e)]['event$'][_0x28c568(0x1e6)](_0x50b64e[_0x28c568(0x1fc)](this[_0x28c568(0x2de)]))[_0x28c568(0x1e9)](_0x5dbd04=>{const _0x138c60=_0x28c568,_0x3edcce=_0x5dbd04[_0x138c60(0x2d3)];_0x3edcce===_0x4384c1[_0x138c60(0x2e7)][_0x138c60(0x2e6)]&&this['_onCursorUpdate'](_0x5dbd04),_0x3edcce===_0x4384c1[_0x138c60(0x2e7)][_0x138c60(0x174)]&&this[_0x138c60(0x394)](_0x5dbd04);}),this[_0x28c568(0x372)](),this[_0x28c568(0x223)](this[_0x28c568(0x1ef)][_0x28c568(0x3a9)](_0x2c0120=>{const _0x1fb9c8=_0x28c568;if(this['_online']&&_0x2c0120['id']===_0x101dc9[_0x1fb9c8(0x25f)]['id']&&_0x2c0120[_0x1fb9c8(0x26f)]['unitId']===this[_0x1fb9c8(0x35b)]){const _0x13d848=_0x2c0120[_0x1fb9c8(0x26f)];this[_0x1fb9c8(0x398)](_0x13d848['subUnitId'],_0x13d848['selections'][0x0]);}})));}[_0x41a185(0x1f4)](_0x2d4899){const _0x28e4a2=_0x41a185;var _0x600d5f,_0x115025;const {memberID:_0x5a2d1b,selection:_0x4ec7cd}=_0x2d4899[_0x28e4a2(0x397)],{sheetName:_0x124cf0,range:_0x4a5e9e}=_0x5aa429['deserializeRangeWithSheet'](_0x4ec7cd),_0x3b374a={'name':(_0x115025=(_0x600d5f=this[_0x28e4a2(0x146)][_0x28e4a2(0x308)](this[_0x28e4a2(0x35b)],_0x5a2d1b))==null?void 0x0:_0x600d5f[_0x28e4a2(0x1f6)])!=null?_0x115025:'Unknown\x20user','range':this[_0x28e4a2(0x37b)](_0x124cf0,_0x4a5e9e),'sheetID':_0x124cf0,'color':this[_0x28e4a2(0x37f)]['assignAColorForMemberID'](_0x5a2d1b),'selection':_0x4ec7cd},_0x52f6aa=this[_0x28e4a2(0x242)];_0x52f6aa[_0x28e4a2(0x21d)](_0x5a2d1b,_0x3b374a),this[_0x28e4a2(0x21a)][_0x28e4a2(0x2e0)](_0x52f6aa);}[_0x41a185(0x394)](_0x5b857c){const _0xe38b34=_0x41a185,{memberID:_0x3797f9}=_0x5b857c[_0xe38b34(0x397)],_0x1a7f06=this[_0xe38b34(0x242)];_0x1a7f06[_0xe38b34(0x2ee)](_0x3797f9),this[_0xe38b34(0x21a)][_0xe38b34(0x2e0)](_0x1a7f06);}[_0x41a185(0x37b)](_0x212979,_0x26c49a){const _0x7857b0=_0x41a185;var _0xb5195e,_0xcf3404;const _0x2ddad1=(_0xcf3404=(_0xb5195e=this[_0x7857b0(0x118)][_0x7857b0(0x326)](this[_0x7857b0(0x35b)]))==null?void 0x0:_0xb5195e['getSheetBySheetId'](_0x212979))==null?void 0x0:_0xcf3404[_0x7857b0(0x2f2)]();return(_0x2ddad1==null?void 0x0:_0x2ddad1['find'](_0x27fa93=>_0x5e3300[_0x7857b0(0x283)][_0x7857b0(0x3a4)](_0x27fa93,_0x26c49a)))||_0x26c49a;}[_0x41a185(0x372)](){const _0x42c5ae=_0x41a185,_0x2f8c42=new _0x5e3300['DisposableCollection'](),_0x2ccf39=_0x28324f(),_0x49ce47=()=>{const _0xd824c3=_0x39c5;_0x2f8c42[_0xd824c3(0x385)]();const _0x3c5c8f=(_0x4ba870,_0x4d9ed7,_0x175ddd,_0x3cb7c3)=>{const _0x3a6c92=_0xd824c3;let _0x1f9b07=[];switch(_0x4ba870['id']){case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x226)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x38d)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x23f)]:{_0x1f9b07=_0x101dc9['handleDeleteRangeMoveUp'](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x163)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x257)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9['EffectRefRangId'][_0x3a6c92(0x169)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x2ac)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)]['InsertRangeMoveRightCommandId']:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x23c)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9['EffectRefRangId'][_0x3a6c92(0x20d)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x158)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x15d)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x1b0)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9['EffectRefRangId']['RemoveColCommandId']:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x388)](_0x4ba870,_0x3cb7c3);break;}case _0x101dc9[_0x3a6c92(0x307)][_0x3a6c92(0x1f8)]:{_0x1f9b07=_0x101dc9[_0x3a6c92(0x31e)](_0x4ba870,_0x3cb7c3);break;}}const _0x18577a=_0x101dc9['runRefRangeMutations'](_0x1f9b07,_0x3cb7c3),_0x33d0a0=this[_0x3a6c92(0x242)]['get'](_0x4d9ed7);if(_0x33d0a0&&_0x18577a){const _0x29e9a3={..._0x33d0a0,'range':_0x18577a};this['cursorInfo'][_0x3a6c92(0x21d)](_0x4d9ed7,_0x29e9a3),_0x2ccf39(()=>{const _0x234667=_0x3a6c92,_0x4cf24b=this['_refRangeService'][_0x234667(0x188)](_0x18577a,_0x19014a=>(_0x4cf24b[_0x234667(0x385)](),_0x3c5c8f(_0x19014a,_0x4d9ed7,_0x175ddd,_0x18577a)));_0x2f8c42['add'](_0x4cf24b);});}return{'redos':[],'undos':[]};};this[_0xd824c3(0x242)][_0xd824c3(0x2ba)]((_0x3f09e5,_0x5400d9)=>{const _0xf33726=_0xd824c3,{range:_0x28d5ae,sheetID:_0x434eae}=_0x3f09e5,_0x112f83=this[_0xf33726(0x23b)][_0xf33726(0x188)](_0x28d5ae,_0x4a4b97=>(_0x112f83[_0xf33726(0x385)](),_0x3c5c8f(_0x4a4b97,_0x5400d9,_0x434eae,_0x28d5ae)));_0x2f8c42['add'](_0x112f83);});};this['disposeWithMe'](_0x5e3300[_0x42c5ae(0x1c2)](this[_0x42c5ae(0x21a)][_0x42c5ae(0x1e9)](()=>{_0x49ce47();})));}['_toggleOnline'](){const _0x3bcd9a=_0x41a185;var _0x5482e7,_0x2358c3;if(this['_online']=!0x0,((_0x5482e7=this[_0x3bcd9a(0x118)][_0x3bcd9a(0x376)]())==null?void 0x0:_0x5482e7[_0x3bcd9a(0x28d)]())!==this[_0x3bcd9a(0x35b)])return;const _0x44f1b7=(_0x2358c3=this[_0x3bcd9a(0x20b)][_0x3bcd9a(0x182)](_0x101dc9[_0x3bcd9a(0x278)])['getCurrentSelections']())==null?void 0x0:_0x2358c3[0x0],_0x456519=this[_0x3bcd9a(0x118)][_0x3bcd9a(0x2fd)](_0x5e3300[_0x3bcd9a(0x268)]['UNIVER_SHEET'])[_0x3bcd9a(0x1ce)]();_0x44f1b7&&_0x456519&&this[_0x3bcd9a(0x398)](_0x456519[_0x3bcd9a(0x291)](),_0x44f1b7);}[_0x41a185(0x256)](){const _0xa744a8=_0x41a185;this[_0xa744a8(0x35f)]=!0x1;}};_0x4fce6c=_0x3a793([_0x354548(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x354548(0x3,_0x5e3300[_0x41a185(0x2c6)](_0xc0d63f)),_0x354548(0x4,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x162)])),_0x354548(0x5,_0x5e3300[_0x41a185(0x2b5)]),_0x354548(0x6,_0x5e3300[_0x41a185(0x22c)]),_0x354548(0x7,_0x5e3300['Inject'](_0x101dc9['RefRangeService']))],_0x4fce6c);var _0x5d2fbe=Object[_0x41a185(0x13b)],_0x5077b0=(_0x4ad502,_0x795432,_0x4e5803,_0x1a1c57)=>{const _0x29f6aa=_0x41a185;for(var _0x1e3653=_0x1a1c57>0x1?void 0x0:_0x1a1c57?_0x5d2fbe(_0x795432,_0x4e5803):_0x795432,_0x4bbc2e=_0x4ad502[_0x29f6aa(0x15e)]-0x1,_0x2e7bec;_0x4bbc2e>=0x0;_0x4bbc2e--)(_0x2e7bec=_0x4ad502[_0x4bbc2e])&&(_0x1e3653=_0x2e7bec(_0x1e3653)||_0x1e3653);return _0x1e3653;},_0x1aa2e5=(_0x4a9fba,_0x547fbc)=>(_0xae0f23,_0x275a62)=>_0x547fbc(_0xae0f23,_0x275a62,_0x4a9fba);let _0x17492c=class extends _0x5e3300['RxDisposable']{constructor(_0x8ea94e,_0x57494b,_0x38c0b5){const _0x2c3de3=_0x41a185;super(),_0x528ae5(this,'_entities',new Map()),_0x528ae5(this,_0x2c3de3(0x206),new _0x50b64e['Subject']()),(this[_0x2c3de3(0x118)]=_0x8ea94e,this[_0x2c3de3(0x20b)]=_0x57494b,this['_collabSessionService']=_0x38c0b5,this[_0x2c3de3(0x189)]());}[_0x41a185(0x385)](){const _0x398775=_0x41a185;super[_0x398775(0x385)](),this[_0x398775(0x206)]['complete'](),this[_0x398775(0x145)][_0x398775(0x2ba)](_0x3b6309=>_0x3b6309[_0x398775(0x385)]());}[_0x41a185(0x1a1)](_0x228196){const _0xa16c4e=_0x41a185;return this['_entities']['has'](_0x228196)?this[_0xa16c4e(0x145)][_0xa16c4e(0x182)](_0x228196)[_0xa16c4e(0x153)]:this[_0xa16c4e(0x206)][_0xa16c4e(0x1e6)](_0x50b64e[_0xa16c4e(0x1c8)](_0x63e516=>_0x63e516['unitID']===_0x228196),_0x50b64e[_0xa16c4e(0x25a)](_0x19f13c=>_0x19f13c[_0xa16c4e(0x153)]));}[_0x41a185(0x189)](){const _0xf94fe6=_0x41a185;this[_0xf94fe6(0x118)][_0xf94fe6(0x322)](_0x5e3300[_0xf94fe6(0x268)][_0xf94fe6(0x2cd)])[_0xf94fe6(0x1e6)](_0x50b64e[_0xf94fe6(0x1fc)](this[_0xf94fe6(0x2de)]))[_0xf94fe6(0x1e9)](async _0x57a720=>{const _0x101473=_0xf94fe6,_0x3755be=_0x57a720[_0x101473(0x28d)](),_0x479d99=await this[_0x101473(0x1cd)](_0x3755be);this[_0x101473(0x206)]['next'](_0x479d99),this[_0x101473(0x145)]['set'](_0x3755be,_0x479d99);}),this[_0xf94fe6(0x118)][_0xf94fe6(0x322)](_0x5e3300[_0xf94fe6(0x268)][_0xf94fe6(0x265)])[_0xf94fe6(0x1e6)](_0x50b64e[_0xf94fe6(0x1fc)](this[_0xf94fe6(0x2de)]))['pipe'](_0x50b64e[_0xf94fe6(0x1c8)](_0x35e67e=>!_0x35e67e[_0xf94fe6(0x28d)]()[_0xf94fe6(0x31c)]('__')))[_0xf94fe6(0x1e9)](async _0x2af2e7=>{const _0xd1d674=_0xf94fe6,_0x670c5b=_0x2af2e7[_0xd1d674(0x28d)](),_0x31010e=await this[_0xd1d674(0x32e)](_0x670c5b);this['_entityInit$'][_0xd1d674(0x2e0)](_0x31010e),this[_0xd1d674(0x145)][_0xd1d674(0x21d)](_0x670c5b,_0x31010e);}),_0x50b64e[_0xf94fe6(0x2c7)](this[_0xf94fe6(0x118)]['getTypeOfUnitDisposed$'](_0x5e3300[_0xf94fe6(0x268)]['UNIVER_DOC']),this[_0xf94fe6(0x118)][_0xf94fe6(0x1e5)](_0x5e3300[_0xf94fe6(0x268)][_0xf94fe6(0x2cd)]))[_0xf94fe6(0x1e6)](_0x50b64e[_0xf94fe6(0x1fc)](this[_0xf94fe6(0x2de)]))[_0xf94fe6(0x1e9)](_0x57c3c8=>{const _0xbbfcbc=_0xf94fe6,_0x3236d9=_0x57c3c8[_0xbbfcbc(0x28d)](),_0x3ebb8d=this['_entities'][_0xbbfcbc(0x182)](_0x3236d9);_0x3ebb8d&&(_0x3ebb8d[_0xbbfcbc(0x385)](),this[_0xbbfcbc(0x145)][_0xbbfcbc(0x2ee)](_0x3236d9));});}async[_0x41a185(0x1cd)](_0x1bf7f2){const _0x4a8d45=_0x41a185,_0x111636=await this[_0x4a8d45(0x39e)][_0x4a8d45(0x22d)](_0x1bf7f2),_0x28f935=this[_0x4a8d45(0x20b)][_0x4a8d45(0x1d7)](_0x4fce6c,_0x1bf7f2,_0x111636);return _0x28f935[_0x4a8d45(0x2c3)](),_0x28f935;}async['_startDocCollabCursor'](_0x47ff84){const _0x3383f7=_0x41a185,_0x390b5e=await this[_0x3383f7(0x39e)][_0x3383f7(0x22d)](_0x47ff84),_0x42a994=this[_0x3383f7(0x20b)][_0x3383f7(0x1d7)](_0x2ef3a8,_0x47ff84,_0x390b5e);return _0x42a994[_0x3383f7(0x2c3)](),_0x42a994;}};_0x17492c=_0x5077b0([_0x1aa2e5(0x0,_0x5e3300[_0x41a185(0x2b5)]),_0x1aa2e5(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x1aa2e5(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x179)]))],_0x17492c);const _0x352025=0x14,_0x27975c=0xc8,_0x47d14b=0x4,_0x1a9088=0x5;function _0x7bf8f1(_0x11a885,_0x58618b){const _0x551b8c=_0x41a185;let {radius:_0x5b6031,width:_0xc60436,height:_0x21f7ae}=_0x58618b;_0x5b6031=_0x5b6031!=null?_0x5b6031:0x0,_0xc60436=_0xc60436!=null?_0xc60436:0x1e,_0x21f7ae=_0x21f7ae!=null?_0x21f7ae:0x1e;let _0xc04b50=0x0,_0x39e0b1=0x0,_0x1958d8=0x0;_0xc04b50=_0x39e0b1=_0x1958d8=Math[_0x551b8c(0x2bd)](_0x5b6031,_0xc60436/0x2,_0x21f7ae/0x2),_0x11a885[_0x551b8c(0x2d8)](),_0x11a885['moveTo'](_0xc04b50,0x0),_0x11a885['lineTo'](_0xc60436-_0x39e0b1,0x0),_0x11a885[_0x551b8c(0x314)](_0xc60436-_0x39e0b1,_0x39e0b1,_0x39e0b1,Math['PI']*0x3/0x2,0x0,!0x1),_0x11a885[_0x551b8c(0x1fa)](_0xc60436,_0x21f7ae-_0x1958d8),_0x11a885['arc'](_0xc60436-_0x1958d8,_0x21f7ae-_0x1958d8,_0x1958d8,0x0,Math['PI']/0x2,!0x1),_0x11a885[_0x551b8c(0x1fa)](0x0,_0x21f7ae),_0x11a885[_0x551b8c(0x1fa)](0x0,_0xc04b50),_0x11a885[_0x551b8c(0x314)](_0xc04b50,_0xc04b50,_0xc04b50,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x11a885[_0x551b8c(0x12e)](),_0x58618b['fill']&&(_0x11a885[_0x551b8c(0x23e)](),_0x11a885[_0x551b8c(0x26a)]=_0x58618b[_0x551b8c(0x359)],_0x58618b[_0x551b8c(0x227)]===_0x551b8c(0x35c)?_0x11a885[_0x551b8c(0x359)](_0x551b8c(0x35c)):_0x11a885[_0x551b8c(0x359)](),_0x11a885[_0x551b8c(0x245)]());}class _0x128905 extends _0x1b825c[_0x41a185(0x379)]{constructor(_0x1ed0da,_0x2598f9){const _0x518785=_0x41a185;super(_0x1ed0da,_0x2598f9),_0x528ae5(this,'color'),_0x528ae5(this,_0x518785(0x2c8)),(this['color']=_0x2598f9==null?void 0x0:_0x2598f9[_0x518785(0x286)],this[_0x518785(0x2c8)]=_0x2598f9==null?void 0x0:_0x2598f9[_0x518785(0x2c8)]);}static[_0x41a185(0x2cb)](_0x1d73e3,_0x451e35){const _0x54136b=_0x41a185,{text:_0x2eb0b7,color:_0x5dc7d7}=_0x451e35;_0x1d73e3[_0x54136b(0x23e)](),_0x1d73e3[_0x54136b(0x1cb)]=_0x54136b(0x353);const _0x2c3fad=_0x1d73e3[_0x54136b(0x1f2)](_0x2eb0b7)[_0x54136b(0x11e)],_0xd9e4eb=Math[_0x54136b(0x2bd)](_0x2c3fad+0x2*_0x47d14b,_0x27975c);_0x7bf8f1(_0x1d73e3,{'height':_0x352025,'radius':0x4,'width':_0xd9e4eb,'fill':_0x5dc7d7}),_0x1d73e3[_0x54136b(0x26a)]='#FFF';const _0x5b82ac=_0x47d14b,_0xff464=_0x352025-_0x1a9088,_0x272aa0=_0x27975c-0x2*_0x47d14b;if(_0x2c3fad>_0x272aa0){let _0x519bbf='',_0x247499=0x0;for(const _0x3746b0 of _0x2eb0b7){const _0x240f2a=_0x1d73e3[_0x54136b(0x1f2)](_0x3746b0)[_0x54136b(0x11e)];if(_0x247499+_0x240f2a<=_0x272aa0-_0x1d73e3['measureText'](_0x54136b(0x11a))[_0x54136b(0x11e)])_0x519bbf+=_0x3746b0,_0x247499+=_0x240f2a;else{_0x519bbf+=_0x54136b(0x11a);break;}}_0x1d73e3[_0x54136b(0x126)](_0x519bbf,_0x5b82ac,_0xff464);}else _0x1d73e3[_0x54136b(0x126)](_0x2eb0b7,_0x5b82ac,_0xff464);_0x1d73e3['restore']();}[_0x41a185(0x11f)](_0x78ffb1){_0x128905['drawWith'](_0x78ffb1,this);}}const _0xa11a8e=_0x41a185(0x31a),_0x28715d=_0x41a185(0x350),_0x2fad1b=_0x41a185(0x140),_0xaf64a0=0x6,_0x1f02cc=1.5,_0x32de74=0x4,_0x552c09=1.5,_0x56cd5b='rgba(255,\x20255,\x20255,\x200.01)';class _0x1f61e7{constructor(_0xfe6a09,_0x30d031,_0x152251,_0x2bcf79){const _0x1e1ff2=_0x41a185;_0x528ae5(this,'_shapes',[]),_0x528ae5(this,_0x1e1ff2(0x24c),null),_0x528ae5(this,'_textBubble',null),_0x528ae5(this,_0x1e1ff2(0x11d),null),_0x528ae5(this,'_hideTimer',null),_0x528ae5(this,'_eventUnsubscribe',null),(this['_cursor']=_0xfe6a09,this[_0x1e1ff2(0x2b2)]=_0x30d031,this[_0x1e1ff2(0x38e)]=_0x152251,this[_0x1e1ff2(0x392)]=_0x2bcf79,this[_0x1e1ff2(0x393)]());}set[_0x41a185(0x218)](_0x55ca80){const _0x62d28c=_0x41a185;_0x55ca80?(this[_0x62d28c(0x11d)]&&this[_0x62d28c(0x11d)][_0x62d28c(0x1c5)](),this['_textBubble']&&this[_0x62d28c(0x364)][_0x62d28c(0x2e8)]()):(this[_0x62d28c(0x11d)]&&this[_0x62d28c(0x11d)][_0x62d28c(0x2e8)](),this[_0x62d28c(0x364)]&&this[_0x62d28c(0x364)][_0x62d28c(0x1c5)]());}[_0x41a185(0x385)](){const _0x4635f9=_0x41a185;for(const _0x4e7fd2 of this[_0x4635f9(0x2bf)])_0x4e7fd2[_0x4635f9(0x385)]();this[_0x4635f9(0x364)]&&this[_0x4635f9(0x364)][_0x4635f9(0x385)](),this[_0x4635f9(0x11d)]&&this[_0x4635f9(0x11d)][_0x4635f9(0x385)](),this[_0x4635f9(0x24c)]&&this['_anchor']['dispose'](),this[_0x4635f9(0x2d0)]&&this[_0x4635f9(0x2d0)]();}[_0x41a185(0x393)](){const _0x145342=_0x41a185;var _0x109d6a;const {_docSkeleton:_0x26d9af,_document:_0x1ddb69}=this,{color:_0x4bfc24,name:_0x531523,ranges:_0x57849f}=this[_0x145342(0x38a)],_0x3d0824=_0x1ddb69[_0x145342(0x370)](),{docsLeft:_0x1b7a0f,docsTop:_0x152b1f}=_0x3d0824,_0x4c1d0f=new _0x1b316e[(_0x145342(0x177))](_0x3d0824,_0x26d9af);for(const {startOffset:_0x2533a4,endOffset:_0x50db23,rangeType:_0x478b30,segmentId:_0x2a33d3,segmentPage:_0x1638e6,collapsed:_0x44a467,isActive:_0x597e61}of _0x57849f){const _0x579d4c=_0x26d9af[_0x145342(0x1aa)](_0x2533a4,!0x0,_0x2a33d3,_0x1638e6);let _0x4653e0=_0x26d9af['findNodePositionByCharIndex'](_0x50db23,!0x0,_0x2a33d3,_0x1638e6);if(_0x4653e0==null&&(_0x4653e0=_0x26d9af[_0x145342(0x1aa)](_0x50db23-0x1,!0x1,_0x2a33d3,_0x1638e6)),_0x597e61){const {contentBoxPointGroup:_0x212531}=_0x4c1d0f[_0x145342(0x375)](_0x4653e0,_0x4653e0);if(_0x212531[_0x145342(0x15e)]===0x0)continue;this[_0x145342(0x13a)](_0x4bfc24,_0x212531,_0x1b7a0f,_0x152b1f,_0x531523),this[_0x145342(0x2d0)]=this[_0x145342(0x229)]();}if(_0x579d4c&&_0x4653e0){if(_0x478b30===_0x5e3300[_0x145342(0x31f)][_0x145342(0x2d5)]){const _0x2f12ca=new _0x1b316e[(_0x145342(0x31b))](_0x3d0824,_0x26d9af),{pointGroup:_0x4fa3b4}=(_0x109d6a=_0x2f12ca[_0x145342(0x375)](_0x579d4c,_0x4653e0))!=null?_0x109d6a:{};if(_0x4fa3b4==null||_0x4fa3b4[_0x145342(0x15e)]===0x0)continue;this[_0x145342(0x3a2)](_0x4bfc24,_0x4fa3b4,_0x1b7a0f,_0x152b1f);}else{if(!_0x44a467){const {borderBoxPointGroup:_0x48abe8}=_0x4c1d0f[_0x145342(0x375)](_0x579d4c,_0x4653e0);if(_0x48abe8[_0x145342(0x15e)]===0x0)continue;this['_drawTextRange'](_0x4bfc24,_0x48abe8,_0x1b7a0f,_0x152b1f);}}}}}['_drawAnchor'](_0x59f788,_0x6d2a6,_0x5a5480,_0x49f7ee,_0x37e6fe){const _0x494309=_0x41a185,_0x24108f=this[_0x494309(0x33e)](_0x6d2a6),{left:_0x558537,top:_0x5f9656,height:_0x2e7780}=_0x24108f,_0xdb1085=this[_0x494309(0x1de)](),_0x572ee3=_0x552c09/_0xdb1085,_0xd70d=new _0x1b825c[(_0x494309(0x281))](_0xa11a8e+_0x5e3300[_0x494309(0x2b3)](_0xaf64a0),{'left':_0x558537+_0x5a5480-_0x572ee3,'top':_0x5f9656+_0x49f7ee,'height':_0x2e7780,'width':_0x1f02cc,'fill':_0x59f788||_0x1b825c[_0x494309(0x148)](_0x5e3300[_0x494309(0x254)][_0x494309(0x1a8)],0x0),'strokeWidth':_0x572ee3,'stroke':_0x56cd5b,'evented':!0x0});this[_0x494309(0x24c)]=_0xd70d,this[_0x494309(0x2b2)][_0x494309(0x2c9)](_0xd70d,_0x1b316e[_0x494309(0x2d7)]);const _0x3c8f7c=new _0x1b825c['Rect'](_0xa11a8e+_0x5e3300[_0x494309(0x2b3)](_0xaf64a0),{'left':_0x558537+_0x5a5480-_0x572ee3,'top':_0x5f9656+_0x49f7ee-_0x32de74/0x2,'height':_0x32de74,'width':_0x32de74,'fill':_0x59f788||_0x1b825c['getColor'](_0x5e3300[_0x494309(0x254)][_0x494309(0x1a8)],0x0),'strokeWidth':0x0,'stroke':_0x59f788||_0x1b825c[_0x494309(0x148)](_0x5e3300['COLORS']['black'],0x0),'evented':!0x1});this[_0x494309(0x11d)]=_0x3c8f7c,this[_0x494309(0x2b2)][_0x494309(0x2c9)](_0x3c8f7c,_0x1b316e[_0x494309(0x2d7)]);const _0x514018=new _0x128905(_0xa11a8e+_0x5e3300['generateRandomId'](_0xaf64a0),{'left':_0x558537+_0x5a5480-_0x572ee3,'top':_0x5f9656+_0x49f7ee-_0x352025,'text':_0x37e6fe,'color':_0x59f788});this[_0x494309(0x364)]=_0x514018,this[_0x494309(0x2b2)]['addObject'](_0x514018,_0x1b316e[_0x494309(0x2d7)]),this['_hover']=!0x1;}[_0x41a185(0x229)](){const _0x1e6265=_0x41a185,_0x115d62=this[_0x1e6265(0x24c)][_0x1e6265(0x16a)][_0x1e6265(0x361)](()=>{const _0x2768c6=_0x1e6265;this[_0x2768c6(0x218)]=!0x0;}),_0x34f040=this[_0x1e6265(0x24c)][_0x1e6265(0x221)][_0x1e6265(0x361)](()=>{const _0x4eceb9=_0x1e6265;this[_0x4eceb9(0x351)]&&clearTimeout(this[_0x4eceb9(0x351)]),this[_0x4eceb9(0x351)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1ca0cc=_0x1e6265;_0x115d62[_0x1ca0cc(0x198)](),_0x34f040[_0x1ca0cc(0x198)]();};}[_0x41a185(0x1ea)](_0x5b3f45,_0x480127,_0x185f78,_0xe7241){const _0x5ca5c8=_0x41a185,_0x2addf7=new _0x5e3300[(_0x5ca5c8(0x2b8))](_0x5b3f45)[_0x5ca5c8(0x232)](0.2)[_0x5ca5c8(0x134)](),_0x429967=new _0x1b825c[(_0x5ca5c8(0x384))](_0x28715d+_0x5e3300[_0x5ca5c8(0x2b3)](_0xaf64a0),{'pointsGroup':_0x480127,'fill':_0x2addf7||_0x1b825c[_0x5ca5c8(0x148)](_0x5e3300['COLORS'][_0x5ca5c8(0x1a8)],0.2),'left':_0x185f78,'top':_0xe7241,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x429967),this['_scene']['addObject'](_0x429967,_0x1b316e[_0x5ca5c8(0x2d7)]);}[_0x41a185(0x3a2)](_0x2633d9,_0x72e547,_0x489d15,_0x1043ec){const _0x10ce93=_0x41a185,_0x47f0ba=new _0x5e3300['ColorKit'](_0x2633d9)[_0x10ce93(0x232)](0.2)[_0x10ce93(0x134)](),_0x5cf574=new _0x1b825c['RegularPolygon'](_0x2fad1b+_0x5e3300['generateRandomId'](_0xaf64a0),{'pointsGroup':_0x72e547,'fill':_0x47f0ba||_0x1b825c[_0x10ce93(0x148)](_0x5e3300['COLORS']['black'],0.2),'left':_0x489d15,'top':_0x1043ec,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x10ce93(0x2bf)]['push'](_0x5cf574),this[_0x10ce93(0x2b2)][_0x10ce93(0x2c9)](_0x5cf574,_0x1b316e[_0x10ce93(0x2d7)]);}[_0x41a185(0x33e)](_0x30636e){const _0x45b767=_0x30636e[0x0],_0x5e009f=_0x45b767[0x0],_0xf522d4=_0x45b767[0x2],{x:_0x166667,y:_0x13df5e}=_0x5e009f,{x:_0x245b78,y:_0x1b6496}=_0xf522d4;return{'left':_0x166667,'top':_0x13df5e,'width':_0x245b78-_0x166667,'height':_0x1b6496-_0x13df5e};}[_0x41a185(0x1de)](){const _0x42ed7b=_0x41a185,{scaleX:_0x2ed10e,scaleY:_0x440ad5}=this['_scene']['getAncestorScale']();return Math[_0x42ed7b(0x204)](_0x2ed10e,_0x440ad5);}}var _0x46ccf9=Object[_0x41a185(0x13b)],_0x568611=(_0x121b3e,_0x401077,_0x57b9e8,_0x413f01)=>{for(var _0x1add8b=_0x413f01>0x1?void 0x0:_0x413f01?_0x46ccf9(_0x401077,_0x57b9e8):_0x401077,_0x61228c=_0x121b3e['length']-0x1,_0x134cb4;_0x61228c>=0x0;_0x61228c--)(_0x134cb4=_0x121b3e[_0x61228c])&&(_0x1add8b=_0x134cb4(_0x1add8b)||_0x1add8b);return _0x1add8b;},_0x26e182=(_0x97936b,_0x32ddab)=>(_0x258b4d,_0xb58d93)=>_0x32ddab(_0x258b4d,_0xb58d93,_0x97936b);let _0x54fb8b=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x392916,_0x29bb8f,_0x5e1b8b,_0x561d36,_0x924c67){const _0x372ab6=_0x41a185;super(),_0x528ae5(this,_0x372ab6(0x2eb),[]),_0x528ae5(this,_0x372ab6(0x38c),[]),(this['_context']=_0x392916,this[_0x372ab6(0x20f)]=_0x29bb8f,this[_0x372ab6(0x1f5)]=_0x5e1b8b,this[_0x372ab6(0x1ef)]=_0x561d36,this[_0x372ab6(0x200)]=_0x924c67,this['_init']());}['_init'](){const _0x1bb58d=_0x41a185,_0x25baf7=this[_0x1bb58d(0x280)]['unitId'],_0x336743=this[_0x1bb58d(0x20f)];this[_0x1bb58d(0x223)](_0x50b64e[_0x1bb58d(0x2f8)]([this[_0x1bb58d(0x1f5)]['getCollabCursors$'](_0x25baf7),this[_0x1bb58d(0x200)][_0x1bb58d(0x125)]])['pipe'](_0x3987d5[_0x1bb58d(0x123)](([_0x4876d1,_0x419b1a])=>({'skeleton':_0x336743[_0x1bb58d(0x33b)](),'cursors':[..._0x4876d1['values']()][_0x1bb58d(0x3ab)](_0x283c78=>({..._0x283c78,'color':this[_0x1bb58d(0x200)][_0x1bb58d(0x26b)](_0x283c78[_0x1bb58d(0x286)])}))})))[_0x1bb58d(0x1e9)](_0x1e23b5=>{const _0x52c7ab=_0x1bb58d;if(this['_removeCollabCursors'](),_0x1e23b5){const {skeleton:_0x37a49d,cursors:_0x4e9548}=_0x1e23b5;this[_0x52c7ab(0x267)](_0x37a49d,_0x4e9548);}})),this[_0x1bb58d(0x18e)](),this['_initCommandExecutedListener']();}[_0x41a185(0x267)](_0x10f738,_0x3c4c16){const _0x177ede=_0x41a185,{scene:_0x5f0388,mainComponent:_0x233b65}=this[_0x177ede(0x280)],_0x1da102=_0x3c4c16['map'](_0xaad94c=>new _0x1f61e7(_0xaad94c,_0x5f0388,_0x10f738,_0x233b65));this['_cursorShapes']=_0x1da102,this[_0x177ede(0x38c)]=_0x3c4c16;}[_0x41a185(0x320)](){const _0x198ea3=_0x41a185;this[_0x198ea3(0x34e)]();const {scene:_0x296f26,mainComponent:_0xe27f82}=this[_0x198ea3(0x280)],_0x34f2f9=this[_0x198ea3(0x20f)][_0x198ea3(0x33b)](),_0x3b807c=this[_0x198ea3(0x38c)][_0x198ea3(0x123)](_0x1de0d3=>new _0x1f61e7(_0x1de0d3,_0x296f26,_0x34f2f9,_0xe27f82));this['_cursorShapes']=_0x3b807c;}['_removeCollabCursors'](){const _0x3aceff=_0x41a185;this[_0x3aceff(0x2eb)]['forEach'](_0x75b7af=>_0x75b7af['dispose']()),this[_0x3aceff(0x2eb)]=[];}['_initCommandExecutedListener'](){const _0x436f26=_0x41a185,_0x3923df=[_0x1b316e[_0x436f26(0x1b1)]['id']];this['disposeWithMe'](this[_0x436f26(0x1ef)]['onCommandExecuted'](_0x41ea6b=>{const _0x2fb507=_0x436f26;_0x3923df[_0x2fb507(0x117)](_0x41ea6b['id'])&&_0x41ea6b[_0x2fb507(0x26f)][_0x2fb507(0x323)]===this['_context'][_0x2fb507(0x323)]&&this[_0x2fb507(0x320)]();}));}[_0x41a185(0x18e)](){const _0x52a273=_0x41a185;this['disposeWithMe'](_0x5e3300['fromEventSubject'](this[_0x52a273(0x280)][_0x52a273(0x365)][_0x52a273(0x27d)])[_0x52a273(0x1e6)](_0x3987d5[_0x52a273(0x1c8)](_0x1abab6=>_0x1abab6[_0x52a273(0x297)]===_0x1b825c[_0x52a273(0x1e2)][_0x52a273(0x324)]),_0x3987d5['throttleTime'](0x10))[_0x52a273(0x1e9)](()=>{this['_refreshCollabCursors']();}));}};_0x54fb8b=_0x568611([_0x26e182(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x3a8334[_0x41a185(0x253)])),_0x26e182(0x2,_0x5e3300['Inject'](_0x17492c)),_0x26e182(0x3,_0x5e3300['ICommandService']),_0x26e182(0x4,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1b7)]))],_0x54fb8b);const _0x580f25=0x1,_0x2d51ac=1.5;class _0x2a41ec extends _0x1b825c[_0x41a185(0x379)]{constructor(_0x14b45a,_0x234cab){const _0x4c2301=_0x41a185;super(_0x14b45a,_0x234cab),_0x528ae5(this,_0x4c2301(0x183)),_0x528ae5(this,_0x4c2301(0x19f),!0x1),_0x528ae5(this,_0x4c2301(0x28c)),_0x528ae5(this,'_name',''),_0x528ae5(this,_0x4c2301(0x175),_0x4c2301(0x334)),_0x528ae5(this,_0x4c2301(0x2b1)),(_0x234cab&&this['setShapeProps'](_0x234cab),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4c2301(0x221)]['subscribeEvent'](()=>this[_0x4c2301(0x38f)]({'hovered':!0x1})));}[_0x41a185(0x38f)](_0x3ed06c){const _0xcb5b17=_0x41a185;var _0x4cf1df,_0x337cf1,_0x3a4865,_0xfaba42,_0x5c48ce,_0x3c3f0e;this[_0xcb5b17(0x183)]=(_0x4cf1df=_0x3ed06c[_0xcb5b17(0x286)])!=null?_0x4cf1df:this[_0xcb5b17(0x183)],this[_0xcb5b17(0x19f)]=(_0x337cf1=_0x3ed06c[_0xcb5b17(0x29c)])!=null?_0x337cf1:this[_0xcb5b17(0x19f)],this[_0xcb5b17(0x28c)]=(_0x3a4865=_0x3ed06c[_0xcb5b17(0x2a2)])!=null?_0x3a4865:this[_0xcb5b17(0x28c)],this[_0xcb5b17(0x184)]=(_0xfaba42=_0x3ed06c[_0xcb5b17(0x1f6)])!=null?_0xfaba42:this[_0xcb5b17(0x184)],this['_labelPosition']=(_0x5c48ce=_0x3ed06c[_0xcb5b17(0x39c)])!=null?_0x5c48ce:this[_0xcb5b17(0x175)],this[_0xcb5b17(0x2b1)]=(_0x3c3f0e=_0x3ed06c[_0xcb5b17(0x36e)])!=null?_0x3c3f0e:this['_backgroundColor'],this['transformByState']({'width':_0x3ed06c[_0xcb5b17(0x11e)],'height':_0x3ed06c[_0xcb5b17(0x2d4)]});}[_0x41a185(0x363)](_0xd90b62){const _0x1ba14b=_0x41a185,{row:_0x59486d,column:_0x5466aa}=_0xd90b62;if(_0x59486d>=this[_0x1ba14b(0x28c)][_0x1ba14b(0x236)]&&_0x59486d<=this['_range'][_0x1ba14b(0x389)]&&_0x5466aa>=this[_0x1ba14b(0x28c)][_0x1ba14b(0x1a3)]&&_0x5466aa<=this[_0x1ba14b(0x28c)][_0x1ba14b(0x3a5)]){this[_0x1ba14b(0x38f)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x41a185(0x2e3)](_0x53ae7a){return!0x1;}[_0x41a185(0x11f)](_0x41b7df){const _0x64d9f4=_0x41a185;_0x1b825c[_0x64d9f4(0x281)][_0x64d9f4(0x2cb)](_0x41b7df,{'width':this[_0x64d9f4(0x11e)],'height':this[_0x64d9f4(0x2d4)],'strokeWidth':_0x2d51ac,'stroke':this[_0x64d9f4(0x183)],'evented':!0x1,'fill':this[_0x64d9f4(0x2b1)]}),this[_0x64d9f4(0x19f)]&&(_0x41b7df[_0x64d9f4(0x23e)](),_0x41b7df[_0x64d9f4(0x288)](0x1,0x0,0x0,0x1,this[_0x64d9f4(0x11e)],this[_0x64d9f4(0x175)]===_0x64d9f4(0x18f)?0x0:-_0x352025),_0x128905[_0x64d9f4(0x2cb)](_0x41b7df,{'text':this[_0x64d9f4(0x184)],'color':this[_0x64d9f4(0x183)]}),_0x41b7df[_0x64d9f4(0x245)]());}}var _0x23d890=Object[_0x41a185(0x13b)],_0x38884e=(_0x355cfa,_0x518982,_0x3355d3,_0x57e44e)=>{for(var _0x5c7653=_0x57e44e>0x1?void 0x0:_0x57e44e?_0x23d890(_0x518982,_0x3355d3):_0x518982,_0x2bf5e9=_0x355cfa['length']-0x1,_0x1abfb1;_0x2bf5e9>=0x0;_0x2bf5e9--)(_0x1abfb1=_0x355cfa[_0x2bf5e9])&&(_0x5c7653=_0x1abfb1(_0x5c7653)||_0x5c7653);return _0x5c7653;},_0x3ae049=(_0x22e5fd,_0x55eb8f)=>(_0x54f5fb,_0x51ad5d)=>_0x55eb8f(_0x54f5fb,_0x51ad5d,_0x22e5fd);const _0x20ed03=0x1389;let _0x1d9dc1=class extends _0x5e3300[_0x41a185(0x337)]{constructor(_0x4a99c6,_0x2eb338,_0x4882fe,_0x9ec04f){const _0x87b54a=_0x41a185;super(),_0x528ae5(this,_0x87b54a(0x38c),new Set()),_0x528ae5(this,_0x87b54a(0x152),null),(this[_0x87b54a(0x280)]=_0x4a99c6,this['_sheetSkeletonManagerService']=_0x2eb338,this['_collabCursorController']=_0x4882fe,this[_0x87b54a(0x200)]=_0x9ec04f,this[_0x87b54a(0x189)]());}[_0x41a185(0x189)](){const _0x380740=_0x41a185;this[_0x380740(0x1ac)][_0x380740(0x21f)][_0x380740(0x1e6)](_0x3987d5['takeUntil'](this['dispose$']),_0x3987d5[_0x380740(0x25a)](_0xda2748=>{const _0x244477=_0x380740;if(_0xda2748){const _0x2674de=_0xda2748[_0x244477(0x368)];return _0x50b64e[_0x244477(0x2f8)](this[_0x244477(0x1f5)][_0x244477(0x1a1)](this[_0x244477(0x280)][_0x244477(0x323)]),this['_themeService'][_0x244477(0x125)])[_0x244477(0x1e6)](_0x3987d5[_0x244477(0x123)](([_0x16aea6,_0x56b927])=>{const _0x3f36f6=_0x244477,_0x19dad1=new Map();return _0x16aea6[_0x3f36f6(0x2ba)]((_0x20555f,_0x2e368d)=>{const _0x3a4e61=_0x3f36f6;if(_0x20555f[_0x3a4e61(0x3ac)]===_0x2674de){const _0x18c975={..._0x20555f};_0x18c975[_0x3a4e61(0x286)]=this[_0x3a4e61(0x200)][_0x3a4e61(0x26b)](_0x20555f[_0x3a4e61(0x286)]),_0x19dad1[_0x3a4e61(0x21d)](_0x2e368d,_0x18c975);}}),{'skeleton':_0xda2748,'cursors':_0x19dad1};}));}return _0x50b64e['of']({'skeleton':null,'cursors':new Map()});}))[_0x380740(0x1e9)](({skeleton:_0x557034,cursors:_0x106f1e})=>{this['_removeCollabCursors'](),_0x557034&&this['_updateCollabCursors'](_0x557034,_0x106f1e);}),this[_0x380740(0x1ac)][_0x380740(0x21f)][_0x380740(0x1e9)](_0x347feb=>{const _0x1d2285=_0x380740;if(_0x347feb==null)return;const {skeleton:_0x18ef68}=_0x347feb,{scene:_0x171f74}=this['_context'];_0x171f74[_0x1d2285(0x155)][_0x1d2285(0x361)](_0x5e3300['debounce'](_0x54a86c=>{const _0x2553a8=_0x1d2285;var _0x4cafe5,_0x348973;const {offsetX:_0x3f5d87,offsetY:_0x2c5e51}=_0x54a86c,{x:_0x48170c,y:_0x4dfc41}=_0x171f74[_0x2553a8(0x181)](_0x1b825c['Vector2'][_0x2553a8(0x17c)]([_0x3f5d87,_0x2c5e51])),{scaleX:_0x249ffe,scaleY:_0x400bcc}=_0x171f74[_0x2553a8(0x21e)](),_0x6fecb7=_0x171f74[_0x2553a8(0x20e)](_0x1b825c[_0x2553a8(0x1be)]['VIEW_MAIN']),_0x19f595=_0x171f74[_0x2553a8(0x139)](_0x1b825c['Vector2'][_0x2553a8(0x17c)]([_0x48170c,_0x4dfc41]),_0x6fecb7),_0x48b069=_0x18ef68[_0x2553a8(0x14e)](_0x3f5d87,_0x2c5e51,_0x249ffe,_0x400bcc,_0x19f595);((_0x4cafe5=this[_0x2553a8(0x152)])==null?void 0x0:_0x4cafe5[_0x2553a8(0x305)])===_0x48b069[_0x2553a8(0x305)]&&((_0x348973=this['_lastPointer'])==null?void 0x0:_0x348973[_0x2553a8(0x36f)])===_0x48b069['row']||this[_0x2553a8(0x38c)]['forEach'](_0x5e25a8=>{const _0x3aadfb=_0x2553a8;_0x5e25a8[_0x3aadfb(0x363)](_0x48b069);});},0x64));});}[_0x41a185(0x267)](_0x465782,_0x412150){const _0x12cda4=_0x41a185;var _0x4a7682;const _0x161142=(_0x4a7682=this[_0x12cda4(0x1ac)][_0x12cda4(0x178)]())==null?void 0x0:_0x4a7682['skeleton'];if(!_0x161142)return;const _0x13aeb0=this[_0x12cda4(0x128)]();if(!_0x13aeb0)return;this['_cursors'][_0x12cda4(0x2ba)](_0x28e280=>{_0x28e280['makeDirty']();});const {scene:_0x3a235c}=_0x13aeb0,_0x56ce42=_0x51e374(Array[_0x12cda4(0x373)](_0x412150[_0x12cda4(0x1af)]()))['map'](_0x487da8=>{const _0x1bbd0a=_0x12cda4,{color:_0x29eae5,range:_0x4e88bb,name:_0x2d7712,selection:_0x127c94,sheetID:_0x6711fd}=_0x487da8,{startColumn:_0x2352db,startRow:_0x20ae30,endColumn:_0x5eb936,endRow:_0x3621c5}=_0x4e88bb,_0x540f50=_0x1b0390[_0x1bbd0a(0x243)](_0x20ae30,_0x2352db,_0x3a235c,_0x161142),_0x1a5bc6=_0x1b0390[_0x1bbd0a(0x243)](_0x3621c5,_0x5eb936,_0x3a235c,_0x161142),{columnHeaderHeightAndMarginTop:_0x489a84}=_0x161142,{startX:_0x1411b3,startY:_0x9ce280}=_0x540f50,{endX:_0x3ba285,endY:_0xdf85ed}=_0x1a5bc6,_0x242ca9=_0x3ba285-_0x1411b3,_0x2c3f21=_0xdf85ed-_0x9ce280,_0x11e728={'labelPosition':_0x9ce280-_0x489a84>=_0x352025?'top':_0x1bbd0a(0x18f),'sheetID':_0x6711fd,'range':_0x4e88bb,'color':_0x29eae5,'name':_0x2d7712,'selection':_0x127c94,'left':_0x1411b3,'top':_0x9ce280,'width':_0x242ca9,'height':_0x2c3f21,'evented':!0x1,'zIndex':_0x20ed03};return new _0x2a41ec(_0x2d7712,_0x11e728);});_0x3a235c[_0x12cda4(0x15a)](_0x56ce42,_0x580f25),this[_0x12cda4(0x38c)]=new Set(_0x56ce42);}[_0x41a185(0x34e)](){const _0x327984=_0x41a185;var _0x52d12d;(_0x52d12d=this[_0x327984(0x38c)])==null||_0x52d12d[_0x327984(0x2ba)](_0x333256=>_0x333256[_0x327984(0x385)]());}[_0x41a185(0x128)](){const _0x3f90a7=_0x41a185;return _0x1b0390['getSheetObject'](this[_0x3f90a7(0x280)][_0x3f90a7(0x194)],this[_0x3f90a7(0x280)]);}};_0x1d9dc1=_0x38884e([_0x3ae049(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x1b0390[_0x41a185(0x1b2)])),_0x3ae049(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x17492c)),_0x3ae049(0x3,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1b7)]))],_0x1d9dc1);function _0x51e374(_0x161b15){const _0x540846=_0x41a185,_0x2bd12d=new Map();return _0x161b15[_0x540846(0x2ba)](_0x2d0492=>{const _0x5f4d87=_0x540846;if(_0x2bd12d[_0x5f4d87(0x345)](_0x2d0492[_0x5f4d87(0x338)])){const _0x2f2889=_0x2bd12d['get'](_0x2d0492[_0x5f4d87(0x338)]);_0x2f2889[_0x5f4d87(0x1f6)]+=',\x20'+_0x2d0492['name'];}else _0x2bd12d['set'](_0x2d0492[_0x5f4d87(0x338)],_0x2d0492);}),Array[_0x540846(0x373)](_0x2bd12d[_0x540846(0x1af)]());}var _0x3a77d5=Object[_0x41a185(0x13b)],_0x1d35c2=(_0x4f51c6,_0x4d7db7,_0x3b18ea,_0x55f0be)=>{const _0x11d727=_0x41a185;for(var _0x2db5c7=_0x55f0be>0x1?void 0x0:_0x55f0be?_0x3a77d5(_0x4d7db7,_0x3b18ea):_0x4d7db7,_0x566c77=_0x4f51c6[_0x11d727(0x15e)]-0x1,_0x1f6168;_0x566c77>=0x0;_0x566c77--)(_0x1f6168=_0x4f51c6[_0x566c77])&&(_0x2db5c7=_0x1f6168(_0x2db5c7)||_0x2db5c7);return _0x2db5c7;},_0x5d9663=(_0x4bd8b1,_0x10dd8f)=>(_0x57276b,_0xdcf5f7)=>_0x10dd8f(_0x57276b,_0xdcf5f7,_0x4bd8b1);let _0x3b66a5=class extends _0x5e3300['Disposable']{constructor(_0x3d5f50,_0x52bbad,_0x3015d2,_0x3419e7,_0x23619f,_0x20dd39){const _0x4aaceb=_0x41a185;super(),this[_0x4aaceb(0x24b)]=_0x3d5f50,this[_0x4aaceb(0x272)]=_0x52bbad,this[_0x4aaceb(0x329)]=_0x3015d2,this[_0x4aaceb(0x26e)]=_0x3419e7,this[_0x4aaceb(0x2c2)]=_0x23619f,this['_localeService']=_0x20dd39,this[_0x4aaceb(0x1d4)](),this[_0x4aaceb(0x24d)]();}[_0x41a185(0x1d4)](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x17d3a8=_0x39c5;if(this[_0x17d3a8(0x272)][_0x17d3a8(0x196)][_0x17d3a8(0x2df)])return this[_0x17d3a8(0x14d)]['t'](_0x17d3a8(0x1cc));}));}[_0x41a185(0x24d)](){const _0x4454c4=_0x41a185;this[_0x4454c4(0x223)](this['_collaborationUIEventService'][_0x4454c4(0x12c)]['subscribe'](_0x1595f9=>{const _0xac2ccf=_0x4454c4;_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x32b)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9[_0xac2ccf(0x310)]['Warning'],'content':this[_0xac2ccf(0x14d)]['t'](_0xac2ccf(0x39f))}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x172)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9[_0xac2ccf(0x310)]['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x36a)]&&this[_0xac2ccf(0x2c2)][_0xac2ccf(0x2e8)]({'title':this[_0xac2ccf(0x14d)]['t'](_0xac2ccf(0x13c)),'content':this[_0xac2ccf(0x14d)]['t']('permission.content'),'type':_0xac2ccf(0x2e9),'duration':0x0}),_0x1595f9['id']===_0x2600cf['CollaborationUIEventId'][_0xac2ccf(0x1e8)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9[_0xac2ccf(0x310)][_0xac2ccf(0x33d)],'content':this['_localeService']['t'](_0xac2ccf(0x327))+'('+_0x1595f9[_0xac2ccf(0x397)]+')'}),_0x1595f9['id']===_0x2600cf['CollaborationUIEventId'][_0xac2ccf(0x27e)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9['MessageType'][_0xac2ccf(0x296)],'content':this[_0xac2ccf(0x14d)]['t'](_0x1595f9[_0xac2ccf(0x397)]||'')}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x380)]&&this[_0xac2ccf(0x26e)]['show']({'type':_0x244ea9[_0xac2ccf(0x310)]['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x127)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9['MessageType'][_0xac2ccf(0x33d)],'content':this[_0xac2ccf(0x14d)]['t'](_0xac2ccf(0x36b))}),_0x1595f9['id']===_0x2600cf[_0xac2ccf(0x1c0)][_0xac2ccf(0x29f)]&&this[_0xac2ccf(0x26e)][_0xac2ccf(0x2e8)]({'type':_0x244ea9['MessageType'][_0xac2ccf(0x33d)],'content':this[_0xac2ccf(0x14d)]['t']('session.collaboration-timeout')});}));}};_0x3b66a5=_0x1d35c2([_0x5d9663(0x0,_0x48ab34['IBeforeCloseService']),_0x5d9663(0x1,_0x2600cf['ILocalCacheService']),_0x5d9663(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf['CollaborationUIEventService'])),_0x5d9663(0x3,_0x48ab34[_0x41a185(0x1a9)]),_0x5d9663(0x4,_0x48ab34['INotificationService']),_0x5d9663(0x5,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x332)]))],_0x3b66a5);const _0x4b6e86='collaboration-client-ui.config',_0x1fb5ee={};var _0x3be7c3=Object[_0x41a185(0x13b)],_0x10a3fa=(_0x55cac1,_0x5c0cea,_0x4b4652,_0x167cbb)=>{const _0x1acf17=_0x41a185;for(var _0x12d0e2=_0x167cbb>0x1?void 0x0:_0x167cbb?_0x3be7c3(_0x5c0cea,_0x4b4652):_0x5c0cea,_0x252c9e=_0x55cac1[_0x1acf17(0x15e)]-0x1,_0x4ddf13;_0x252c9e>=0x0;_0x252c9e--)(_0x4ddf13=_0x55cac1[_0x252c9e])&&(_0x12d0e2=_0x4ddf13(_0x12d0e2)||_0x12d0e2);return _0x12d0e2;},_0x3a8e9b=(_0x4f0bc9,_0x497322)=>(_0x4378a1,_0xdf3270)=>_0x497322(_0x4378a1,_0xdf3270,_0x4f0bc9);let _0x12b6aa=class{constructor(_0x2c49f1,_0xbbadda){this['_transformService']=_0x2c49f1,this['_renderManagerService']=_0xbbadda;}[_0x41a185(0x374)](_0x4a9c1c){const _0x28ee69=_0x41a185;this[_0x28ee69(0x150)](_0x4a9c1c),this[_0x28ee69(0x2bc)](_0x4a9c1c);}[_0x41a185(0x147)](_0x36a4ba){const _0x4bcb17=_0x41a185,{unitID:_0x36b187}=_0x36a4ba,_0x282d52=this[_0x4bcb17(0x33c)][_0x4bcb17(0x247)](_0x36b187)[_0x4bcb17(0x309)](_0x1b316e[_0x4bcb17(0x355)]),{redoCache:_0x2ee152}=_0x282d52[_0x4bcb17(0x18a)]();if(_0x2ee152['length']===0x0)return _0x36a4ba;let _0x23b314=_0x5e3300[_0x4bcb17(0x164)][_0x4bcb17(0x357)](_0x36a4ba[_0x4bcb17(0x14b)][0x0]);for(let _0xc9ced7=0x0;_0xc9ced7<_0x2ee152[_0x4bcb17(0x15e)];_0xc9ced7++){const _0x55205c={'id':_0x4bcb17(0x3a8),'params':{..._0x2ee152[_0xc9ced7]}},_0x4a2eaf=this[_0x4bcb17(0x176)][_0x4bcb17(0x1b9)](_0x23b314,_0x55205c,!0x1);if(_0x4384c1[_0x4bcb17(0x30a)](_0x4a2eaf))throw _0x4a2eaf[_0x4bcb17(0x2e9)];_0x23b314=_0x4a2eaf[_0x4bcb17(0x1db)];}return{..._0x5e3300[_0x4bcb17(0x164)]['deepClone'](_0x36a4ba),'mutations':[_0x23b314]};}['_transformUndoRedoStack'](_0x35edce){const _0x21baa6=_0x41a185,{unitID:_0x7ffb4f}=_0x35edce,_0x2ba60c=this[_0x21baa6(0x33c)][_0x21baa6(0x247)](_0x7ffb4f)['with'](_0x1b316e[_0x21baa6(0x355)]),{undoCache:_0x529a10,redoCache:_0x27b3de}=_0x2ba60c[_0x21baa6(0x18a)]();if(_0x529a10[_0x21baa6(0x15e)]===0x0||_0x27b3de[_0x21baa6(0x15e)]===0x0)return;const _0x276b2a=[],_0xb90e26=[];let _0x359506=_0x5e3300[_0x21baa6(0x164)][_0x21baa6(0x357)](_0x35edce[_0x21baa6(0x14b)][0x0]),_0x40a339=_0x5e3300[_0x21baa6(0x164)][_0x21baa6(0x357)](_0x35edce['mutations'][0x0]);for(let _0xdcbe23=_0x529a10[_0x21baa6(0x15e)]-0x1;_0xdcbe23>=0x0;_0xdcbe23--){const _0x1875a7={'id':'doc.mutation.rich-text-editing','params':{..._0x529a10[_0xdcbe23]}},_0x23c26b={'id':'doc.mutation.rich-text-editing','params':{..._0x27b3de[_0xdcbe23]}},_0x43beb1=this[_0x21baa6(0x176)]['transformMutation'](_0x359506,_0x1875a7,!0x1),_0x276f10=this[_0x21baa6(0x176)]['transformMutation'](_0x40a339,_0x23c26b,!0x1);if(_0x4384c1[_0x21baa6(0x30a)](_0x43beb1))throw _0x43beb1[_0x21baa6(0x2e9)];if(_0x4384c1['isTransformMutationFailure'](_0x276f10))throw _0x276f10[_0x21baa6(0x2e9)];_0x276b2a[_0x21baa6(0x1e0)](_0x43beb1['m2Prime'][_0x21baa6(0x26f)]),_0xb90e26[_0x21baa6(0x1e0)](_0x276f10[_0x21baa6(0x137)]['params']),_0x359506=_0x43beb1[_0x21baa6(0x1db)],_0x40a339=_0x276f10[_0x21baa6(0x1db)];}_0x2ba60c[_0x21baa6(0x16d)]({'undoCache':_0x276b2a,'redoCache':_0xb90e26});}['_transformPreviousActiveRange'](_0x444b6f){const _0x3a5bd3=_0x41a185,{unitID:_0x5751c4}=_0x444b6f,_0x260e6b=this[_0x3a5bd3(0x33c)]['getRenderById'](_0x5751c4)['with'](_0x1b316e['DocIMEInputManagerService']),_0x45722c=_0x260e6b[_0x3a5bd3(0x1e1)]();if(_0x45722c==null)return;const _0x18d977=[{'id':_0x3a5bd3(0x3a8),'params':{'unitId':_0x444b6f[_0x3a5bd3(0x35b)],'actions':null,'textRanges':[_0x45722c]}}],_0x53162a=this[_0x3a5bd3(0x176)]['transformMutationsWithChangeset'](_0x444b6f,_0x18d977);if(!_0x4384c1[_0x3a5bd3(0x313)](_0x53162a))throw _0x53162a[_0x3a5bd3(0x2e9)];const _0x2e799f=_0x53162a[_0x3a5bd3(0x137)][0x0][_0x3a5bd3(0x26f)][_0x3a5bd3(0x1a0)];Array['isArray'](_0x2e799f)&&_0x2e799f[_0x3a5bd3(0x15e)]&&_0x260e6b[_0x3a5bd3(0x289)](_0x2e799f[0x0]);}};_0x12b6aa=_0x10a3fa([_0x3a8e9b(0x0,_0x4384c1[_0x41a185(0x1df)]),_0x3a8e9b(0x1,_0x1b825c[_0x41a185(0x328)])],_0x12b6aa);var _0x49fa75=Object[_0x41a185(0x13b)],_0x5d18e9=(_0x18400c,_0x3d7b33,_0x2c3771,_0x3fd66c)=>{const _0x425061=_0x41a185;for(var _0x2577f5=_0x3fd66c>0x1?void 0x0:_0x3fd66c?_0x49fa75(_0x3d7b33,_0x2c3771):_0x3d7b33,_0xae966=_0x18400c[_0x425061(0x15e)]-0x1,_0x277e8e;_0xae966>=0x0;_0xae966--)(_0x277e8e=_0x18400c[_0xae966])&&(_0x2577f5=_0x277e8e(_0x2577f5)||_0x2577f5);return _0x2577f5;},_0x405da9=(_0x49cbe9,_0x45b29b)=>(_0x45498e,_0x2ef852)=>_0x45b29b(_0x45498e,_0x2ef852,_0x49cbe9);let _0x24cfdc=class{constructor(_0x17435c,_0x579c98,_0x4c7664){const _0x4f34fe=_0x41a185;this[_0x4f34fe(0x20b)]=_0x17435c,this[_0x4f34fe(0x176)]=_0x579c98,this[_0x4f34fe(0x210)]=_0x4c7664;}[_0x41a185(0x382)](_0x15796e){this['_transformHistoryAndStateStack'](_0x15796e);}['transformRemoteChangeset'](_0x46ead0){const _0x339f8a=_0x41a185,{unitID:_0x97356}=_0x46ead0,{collaboration:_0x16cf77}=this[_0x339f8a(0x210)][_0x339f8a(0x2d2)](_0x97356);if(_0x16cf77[_0x339f8a(0x15e)]===0x0)return _0x46ead0;let _0x665534=_0x5e3300[_0x339f8a(0x164)][_0x339f8a(0x357)](_0x46ead0[_0x339f8a(0x14b)][0x0]);for(let _0x303671=0x0;_0x303671<_0x16cf77['length'];_0x303671++){const _0x77e338={'id':_0x339f8a(0x3a8),'params':{'unitId':_0x16cf77[_0x303671]['unitId'],..._0x16cf77[_0x303671][_0x339f8a(0x34b)]}},_0x2d86ac=this['_transformService'][_0x339f8a(0x1b9)](_0x665534,_0x77e338,!0x1);if(_0x4384c1[_0x339f8a(0x30a)](_0x2d86ac))throw _0x2d86ac['error'];_0x665534=_0x2d86ac['m1Prime'];}return{..._0x5e3300[_0x339f8a(0x164)]['deepClone'](_0x46ead0),'mutations':[_0x665534]};}['_transformHistoryAndStateStack'](_0x26d7c5){const _0x35825f=_0x41a185,{unitID:_0x59abc4}=_0x26d7c5,{history:_0x43314f,collaboration:_0x719c3}=this[_0x35825f(0x210)][_0x35825f(0x2d2)](_0x59abc4);if(_0x43314f[_0x35825f(0x15e)]===0x0&&_0x719c3[_0x35825f(0x15e)]===0x0)return;const _0x4f622c=[],_0x5d2531=[];let _0x5832a8=_0x5e3300['Tools'][_0x35825f(0x357)](_0x26d7c5[_0x35825f(0x14b)][0x0]),_0x53b5a1=_0x5e3300['Tools']['deepClone'](_0x26d7c5[_0x35825f(0x14b)][0x0]);for(let _0x5a1ba8=_0x43314f['length']-0x1;_0x5a1ba8>=0x0;_0x5a1ba8--){const _0x2a0b1f={'id':_0x35825f(0x3a8),'params':{'unitId':_0x43314f[_0x5a1ba8][_0x35825f(0x323)],..._0x43314f[_0x5a1ba8]['undoState']}},_0x38b77a={'id':_0x35825f(0x3a8),'params':{'unitId':_0x43314f[_0x5a1ba8]['unitId'],..._0x43314f[_0x5a1ba8][_0x35825f(0x34b)]}},_0x3e3df3=this[_0x35825f(0x176)][_0x35825f(0x1b9)](_0x5832a8,_0x2a0b1f,!0x1),_0x157467=this[_0x35825f(0x176)][_0x35825f(0x1b9)](_0x53b5a1,_0x38b77a,!0x1);if(_0x4384c1[_0x35825f(0x30a)](_0x3e3df3))throw _0x3e3df3[_0x35825f(0x2e9)];if(_0x4384c1['isTransformMutationFailure'](_0x157467))throw _0x157467[_0x35825f(0x2e9)];_0x4f622c['unshift']({..._0x43314f[_0x5a1ba8],'undoState':_0x3e3df3['m2Prime']['params'],'redoState':_0x157467[_0x35825f(0x137)][_0x35825f(0x26f)]}),_0x5832a8=_0x3e3df3[_0x35825f(0x1db)],_0x53b5a1=_0x157467[_0x35825f(0x1db)];}_0x5832a8=_0x5e3300[_0x35825f(0x164)][_0x35825f(0x357)](_0x26d7c5['mutations'][0x0]),_0x53b5a1=_0x5e3300[_0x35825f(0x164)][_0x35825f(0x357)](_0x26d7c5[_0x35825f(0x14b)][0x0]);for(let _0xe6aa82=_0x719c3[_0x35825f(0x15e)]-0x1;_0xe6aa82>=0x0;_0xe6aa82--){const _0x59a862={'id':_0x35825f(0x3a8),'params':{'unitId':_0x719c3[_0xe6aa82][_0x35825f(0x323)],..._0x719c3[_0xe6aa82][_0x35825f(0x2bb)]}},_0x401e40={'id':_0x35825f(0x3a8),'params':{'unitId':_0x719c3[_0xe6aa82][_0x35825f(0x323)],..._0x719c3[_0xe6aa82][_0x35825f(0x34b)]}},_0x233ecc=this[_0x35825f(0x176)][_0x35825f(0x1b9)](_0x5832a8,_0x59a862,!0x1),_0x3251ca=this['_transformService']['transformMutation'](_0x53b5a1,_0x401e40,!0x1);if(_0x4384c1['isTransformMutationFailure'](_0x233ecc))throw _0x233ecc[_0x35825f(0x2e9)];if(_0x4384c1['isTransformMutationFailure'](_0x3251ca))throw _0x3251ca[_0x35825f(0x2e9)];_0x5d2531[_0x35825f(0x1e0)]({..._0x719c3[_0xe6aa82],'undoState':_0x233ecc[_0x35825f(0x137)][_0x35825f(0x26f)],'redoState':_0x3251ca[_0x35825f(0x137)][_0x35825f(0x26f)]}),_0x5832a8=_0x233ecc[_0x35825f(0x1db)],_0x53b5a1=_0x3251ca[_0x35825f(0x1db)];}this[_0x35825f(0x210)]['setStateCache'](_0x59abc4,{'history':_0x4f622c,'collaboration':_0x5d2531});}};_0x24cfdc=_0x5d18e9([_0x405da9(0x0,_0x5e3300['Inject'](_0x5e3300[_0x41a185(0x1c6)])),_0x405da9(0x1,_0x4384c1['ITransformService']),_0x405da9(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x1b316e[_0x41a185(0x1d1)]))],_0x24cfdc);var _0xdc0b10=Object['getOwnPropertyDescriptor'],_0x4be71e=(_0xfdb84d,_0x44bedb,_0x14110c,_0x56832a)=>{const _0x2cfcfb=_0x41a185;for(var _0x534788=_0x56832a>0x1?void 0x0:_0x56832a?_0xdc0b10(_0x44bedb,_0x14110c):_0x44bedb,_0x5ba1fc=_0xfdb84d[_0x2cfcfb(0x15e)]-0x1,_0x4894fd;_0x5ba1fc>=0x0;_0x5ba1fc--)(_0x4894fd=_0xfdb84d[_0x5ba1fc])&&(_0x534788=_0x4894fd(_0x534788)||_0x534788);return _0x534788;},_0x7ab9c3=(_0x49be84,_0x23a768)=>(_0x2b2484,_0x200da7)=>_0x23a768(_0x2b2484,_0x200da7,_0x49be84);let _0x4c6035=class{constructor(_0x4ab6c9,_0x2221de){const _0x43067a=_0x41a185;this[_0x43067a(0x20b)]=_0x4ab6c9,this[_0x43067a(0x176)]=_0x2221de;}[_0x41a185(0x2ea)](_0xfc2715){const _0x525ce5=_0x41a185;var _0x3973be;const _0x466775=this[_0x525ce5(0x20b)][_0x525ce5(0x182)](_0x3a8334[_0x525ce5(0x171)]),_0x4038e4=(_0x3973be=_0x466775[_0x525ce5(0x252)]())!=null?_0x3973be:[];if(_0x4038e4['length']===0x0)return;const _0x30c548=_0xfc2715[_0x525ce5(0x35b)],_0x2f273a=[{'id':_0x525ce5(0x3a8),'params':{'unitId':_0x30c548,'actions':null,'textRanges':_0x4038e4}}],_0xc7e8cd=this[_0x525ce5(0x176)]['transformMutationsWithChangeset'](_0xfc2715,_0x2f273a);if(!_0x4384c1[_0x525ce5(0x313)](_0xc7e8cd))throw _0xc7e8cd['error'];const _0x453d15=_0xc7e8cd[_0x525ce5(0x137)][0x0][_0x525ce5(0x26f)][_0x525ce5(0x1a0)];Array[_0x525ce5(0x2ab)](_0x453d15)&&_0x453d15['length']&&_0x466775[_0x525ce5(0x17b)](_0x453d15,{'unitId':_0x30c548,'subUnitId':_0x30c548},!0x1);}};_0x4c6035=_0x4be71e([_0x7ab9c3(0x0,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x7ab9c3(0x1,_0x4384c1[_0x41a185(0x1df)])],_0x4c6035);var _0x5827b6=Object[_0x41a185(0x13b)],_0x2ec861=(_0x2d5cde,_0x5addc8,_0x3455a9,_0x1f83b0)=>{const _0x284f52=_0x41a185;for(var _0x2cb71b=_0x1f83b0>0x1?void 0x0:_0x1f83b0?_0x5827b6(_0x5addc8,_0x3455a9):_0x5addc8,_0x4ecb54=_0x2d5cde[_0x284f52(0x15e)]-0x1,_0x519489;_0x4ecb54>=0x0;_0x4ecb54--)(_0x519489=_0x2d5cde[_0x4ecb54])&&(_0x2cb71b=_0x519489(_0x2cb71b)||_0x2cb71b);return _0x2cb71b;},_0x271806=(_0x39e8b7,_0x4d28e8)=>(_0x27b85b,_0x204c0d)=>_0x4d28e8(_0x27b85b,_0x204c0d,_0x39e8b7);let _0x216e6e=class extends _0x5e3300[_0x41a185(0x290)]{constructor(_0x5c5db8,_0x2cb1a5,_0x472323,_0x4e0f23,_0x3ff93f,_0x7a8e9d,_0x57e145,_0x1f8a79){const _0x16f0bc=_0x41a185;super(),_0x528ae5(this,_0x16f0bc(0x35d),new _0x50b64e[(_0x16f0bc(0x228))](_0x2600cf[_0x16f0bc(0x191)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x5c5db8,this[_0x16f0bc(0x2f9)]=_0x2cb1a5,this[_0x16f0bc(0x37d)]=_0x472323,this[_0x16f0bc(0x371)]=_0x4e0f23,this[_0x16f0bc(0x187)]=_0x3ff93f,this[_0x16f0bc(0x34c)]=_0x7a8e9d,this[_0x16f0bc(0x26e)]=_0x57e145,this[_0x16f0bc(0x14d)]=_0x1f8a79,this[_0x16f0bc(0x2c5)]());}[_0x41a185(0x2c5)](){const _0x5b01b5=_0x41a185;this[_0x5b01b5(0x223)](this[_0x5b01b5(0x2f9)][_0x5b01b5(0x2fb)][_0x5b01b5(0x1e9)](_0x13fa28=>{const _0x1e15e5=_0x5b01b5,_0x17fd66=this[_0x1e15e5(0x210)][_0x1e15e5(0x1d2)][_0x1e15e5(0x1e9)](_0x383c2d=>{const _0x55491a=_0x1e15e5;if(_0x383c2d==null)return;const {unitId:_0x58474b,redoState:_0x438ddf,commandId:_0x4adacb}=_0x383c2d;if(_0x58474b!==_0x13fa28[_0x55491a(0x35b)])return;const _0x5e36fc={'id':_0x4adacb,'type':_0x5e3300['CommandType']['MUTATION'],'params':{'unitId':_0x58474b,'actions':_0x438ddf[_0x55491a(0x341)],'textRanges':null}};_0x13fa28[_0x55491a(0x240)](_0x5e36fc);});if(_0x13fa28[_0x1e15e5(0x223)](_0x17fd66),_0x13fa28 instanceof _0x2600cf[_0x1e15e5(0x2a9)]){const _0x5a95c4={'onTransformIME':_0x3a0344=>this[_0x1e15e5(0x37d)][_0x1e15e5(0x374)](_0x3a0344),'onTransformState':_0x54a564=>this['_docTransformStateCacheService'][_0x1e15e5(0x382)](_0x54a564),'onTransformSelections':_0x14e3f0=>this[_0x1e15e5(0x187)][_0x1e15e5(0x2ea)](_0x14e3f0),'onSyncEditingCollabCursor':_0x498194=>this[_0x1e15e5(0x34c)][_0x1e15e5(0x168)](_0x498194),'onTransformRemoteChangesetByIMECache':_0x375038=>this[_0x1e15e5(0x37d)][_0x1e15e5(0x147)](_0x375038),'onTransformRemoteChangesetByStateCache':_0x4e21d1=>this[_0x1e15e5(0x371)]['transformRemoteChangeset'](_0x4e21d1)};_0x13fa28[_0x1e15e5(0x208)](_0x5a95c4);}}));}};_0x216e6e=_0x2ec861([_0x271806(0x0,_0x5e3300[_0x41a185(0x2c6)](_0x1b316e['DocStateChangeManagerService'])),_0x271806(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x2600cf[_0x41a185(0x381)])),_0x271806(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x12b6aa)),_0x271806(0x3,_0x5e3300[_0x41a185(0x2c6)](_0x24cfdc)),_0x271806(0x4,_0x5e3300['Inject'](_0x4c6035)),_0x271806(0x5,_0x5e3300['Inject'](_0xa68806)),_0x271806(0x6,_0x48ab34[_0x41a185(0x1a9)]),_0x271806(0x7,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x332)]))],_0x216e6e);var _0x3b11ed=Object[_0x41a185(0x13b)],_0x4810a6=(_0x234a2d,_0x2c6061,_0x25bc1b,_0x1143df)=>{const _0x479575=_0x41a185;for(var _0x205f1c=_0x1143df>0x1?void 0x0:_0x1143df?_0x3b11ed(_0x2c6061,_0x25bc1b):_0x2c6061,_0x15e6de=_0x234a2d[_0x479575(0x15e)]-0x1,_0xf265a5;_0x15e6de>=0x0;_0x15e6de--)(_0xf265a5=_0x234a2d[_0x15e6de])&&(_0x205f1c=_0xf265a5(_0x205f1c)||_0x205f1c);return _0x205f1c;},_0x3e623e=(_0x370b14,_0x477852)=>(_0x4d293e,_0x53b18a)=>_0x477852(_0x4d293e,_0x53b18a,_0x370b14);let _0x189146=class extends _0x5e3300['Disposable']{constructor(_0x286962,_0x55e1d2,_0xb45f1){const _0x12a438=_0x41a185;super(),_0x528ae5(this,'_cachedData',new Map()),_0x528ae5(this,_0x12a438(0x1a6),new Map()),_0x528ae5(this,_0x12a438(0x17f),!0x1),(this[_0x12a438(0x25d)]=_0x286962,this[_0x12a438(0x29a)]=_0x55e1d2,this['_revisionService']=_0xb45f1);}[_0x41a185(0x1f7)](){const _0x2918dc=_0x41a185;this[_0x2918dc(0x17f)]=!0x0;}[_0x41a185(0x258)](){this['_disabled']=!0x1;}get[_0x41a185(0x196)](){const _0x312dd8=_0x41a185;return this[_0x312dd8(0x1a6)];}[_0x41a185(0x385)](){const _0x413b4a=_0x41a185;this[_0x413b4a(0x39a)]()[_0x413b4a(0x2b0)](()=>super['dispose']());}async[_0x41a185(0x238)](_0x541174){const _0x241357=_0x41a185;return this[_0x241357(0x17f)]?null:this[_0x241357(0x29a)]['getItem'](_0x2600cf['getLocalCacheKey'](_0x541174));}async[_0x41a185(0x276)](_0x1f89b6,_0x4410c9){const _0x366707=_0x41a185;return!!this[_0x366707(0x29a)]['setItem'](_0x1f89b6,_0x4410c9);}[_0x41a185(0x356)](_0x54c5be,_0xc4785f,_0x2106e4,_0xfd5deb){const _0x559a01=_0x41a185,_0x110d23=this['_revisionService']['getCurrentRevOfUnit'](_0x54c5be);this['_cachedData'][_0x559a01(0x21d)](_0x54c5be,{'unitID':_0x54c5be,'type':_0xc4785f,'awaitingChangeset':_0x2106e4,'mutations':_0xfd5deb,'rev':_0x110d23}),this[_0x559a01(0x1a6)]['has'](_0x54c5be)||this['_scheduleSaving'](_0x54c5be);}['_scheduleSaving'](_0x51a5e2){const _0x3d0121=_0x41a185,_0x30fa90=this[_0x3d0121(0x202)]();_0x30fa90===0x0?this['_saveCache'](_0x51a5e2):this['_saveTaskMap'][_0x3d0121(0x21d)](_0x51a5e2,setTimeout(()=>this[_0x3d0121(0x2c4)](_0x51a5e2),_0x30fa90));}[_0x41a185(0x202)](){const _0x21481a=_0x41a185;var _0x14f526;return(_0x14f526=this[_0x21481a(0x25d)][_0x21481a(0x2b9)](_0x2600cf['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x14f526:_0x2600cf[_0x21481a(0x201)];}[_0x41a185(0x2c4)](_0x4382f5){const _0x1d1af8=_0x41a185,_0x3b702b=this[_0x1d1af8(0x1a6)][_0x1d1af8(0x182)](_0x4382f5);return _0x3b702b!==void 0x0&&window[_0x1d1af8(0x219)](_0x3b702b),this['_localStorageService'][_0x1d1af8(0x136)](_0x2600cf[_0x1d1af8(0x132)](_0x4382f5),this[_0x1d1af8(0x1ed)]['get'](_0x4382f5))[_0x1d1af8(0x2b0)](()=>this[_0x1d1af8(0x1a6)][_0x1d1af8(0x2ee)](_0x4382f5));}async[_0x41a185(0x39a)](){const _0x23b45a=_0x41a185,_0x337699=[];this[_0x23b45a(0x1a6)][_0x23b45a(0x2ba)]((_0x49d5e5,_0x291504)=>{const _0xcc572f=_0x23b45a;window['clearTimeout'](_0x49d5e5),_0x337699['push'](this[_0xcc572f(0x2c4)](_0x291504)[_0xcc572f(0x2b0)](()=>{const _0x583a8d=_0xcc572f;this[_0x583a8d(0x1a6)][_0x583a8d(0x2ee)](_0x291504);}));}),await Promise[_0x23b45a(0x27b)](_0x337699);}};_0x189146=_0x4810a6([_0x3e623e(0x0,_0x5e3300[_0x41a185(0x217)]),_0x3e623e(0x1,_0x5e3300['ILocalStorageService']),_0x3e623e(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x4384c1[_0x41a185(0x15b)]))],_0x189146);class _0x325c93 extends _0x5e3300[_0x41a185(0x337)]{constructor(){const _0x368b60=_0x41a185;super(),_0x528ae5(this,'urlChange$'),this[_0x368b60(0x1ad)]=_0x50b64e['fromEvent'](window,_0x368b60(0x143))[_0x368b60(0x1e6)](_0x50b64e[_0x368b60(0x1fc)](this[_0x368b60(0x2de)]),_0x50b64e[_0x368b60(0x197)](0x1),_0x50b64e[_0x368b60(0x366)](void 0x0));}['setParam'](_0xd528b3,_0x1b3a4a,_0x474074=!0x1){const _0x58e0b0=_0x41a185,_0x6fcbd7=new URL(window[_0x58e0b0(0x1d3)][_0x58e0b0(0x369)]);_0x6fcbd7[_0x58e0b0(0x220)][_0x58e0b0(0x21d)](_0xd528b3,_0x1b3a4a),_0x474074?window[_0x58e0b0(0x195)][_0x58e0b0(0x2ed)]('','',_0x6fcbd7[_0x58e0b0(0x2c0)]()):window['history'][_0x58e0b0(0x154)]('','',_0x6fcbd7['toString']());}[_0x41a185(0x207)](_0x1729d3,_0x40359b=!0x1){const _0x1f9048=_0x41a185,_0x42a696=new URL(window[_0x1f9048(0x1d3)][_0x1f9048(0x369)]);_0x42a696[_0x1f9048(0x220)][_0x1f9048(0x2ee)](_0x1729d3),_0x40359b?window[_0x1f9048(0x195)][_0x1f9048(0x2ed)]('','',_0x42a696['toString']()):window[_0x1f9048(0x195)][_0x1f9048(0x154)]('','',_0x42a696[_0x1f9048(0x2c0)]());}[_0x41a185(0x16b)](_0x216298){const _0x99f14f=_0x41a185;var _0x3e706c;return(_0x3e706c=new URL(window[_0x99f14f(0x1d3)][_0x99f14f(0x369)])[_0x99f14f(0x220)][_0x99f14f(0x182)](_0x216298))!=null?_0x3e706c:void 0x0;}}var _0x211859=Object[_0x41a185(0x28b)],_0x21fd79=Object[_0x41a185(0x13b)],_0x134bf8=(_0x5210f2,_0x216055,_0x1627d4)=>_0x216055 in _0x5210f2?_0x211859(_0x5210f2,_0x216055,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1627d4}):_0x5210f2[_0x216055]=_0x1627d4,_0x61d69b=(_0x3e59f4,_0x2cde00,_0x4179e2,_0x33e2c5)=>{const _0x64e92e=_0x41a185;for(var _0x2f5a23=_0x33e2c5>0x1?void 0x0:_0x33e2c5?_0x21fd79(_0x2cde00,_0x4179e2):_0x2cde00,_0x2da053=_0x3e59f4[_0x64e92e(0x15e)]-0x1,_0x19730a;_0x2da053>=0x0;_0x2da053--)(_0x19730a=_0x3e59f4[_0x2da053])&&(_0x2f5a23=_0x19730a(_0x2f5a23)||_0x2f5a23);return _0x2f5a23;},_0x24cc65=(_0x111957,_0xa7f27d)=>(_0x5a490a,_0x18b9e9)=>_0xa7f27d(_0x5a490a,_0x18b9e9,_0x111957),_0x46d61f=(_0x5129fc,_0x1e913f,_0x21fa19)=>_0x134bf8(_0x5129fc,_0x1e913f+'',_0x21fa19);const _0x142c54=_0x41a185(0x23d);_0x218781[_0x41a185(0x25c)]=class extends _0x5e3300[_0x41a185(0x259)]{constructor(_0x164309=_0x1fb5ee,_0x8dd459,_0x3cbbbd,_0x1e2db6){const _0x5a9228=_0x41a185;super(),this['_config']=_0x164309,this[_0x5a9228(0x33c)]=_0x8dd459,this[_0x5a9228(0x20b)]=_0x3cbbbd,this['_configService']=_0x1e2db6;const {..._0x246871}=_0x5e3300['merge']({},_0x1fb5ee,this['_config']);this[_0x5a9228(0x25d)][_0x5a9228(0x1ec)](_0x4b6e86,_0x246871);}[_0x41a185(0x1fb)](){const _0x230ae3=_0x41a185;this[_0x230ae3(0x32c)](),this[_0x230ae3(0x211)]();}[_0x41a185(0x26c)](){const _0x43098d=_0x41a185;this[_0x43098d(0x16f)]();}[_0x41a185(0x32c)](){const _0x2bbda2=_0x41a185;var _0x576478;const _0x25ad4c=[[_0xc0d63f],[_0x4c6035],[_0x12b6aa],[_0x24cfdc],[_0xa68806],[_0x48a0eb,{'useClass':_0x325c93}],[_0x5771f5['ISocketService'],{'useClass':_0x5771f5['WebSocketService']}],[_0x2600cf[_0x2bbda2(0x19a)],{'useClass':_0x189146}],[_0x218781[_0x2bbda2(0x22b)]],[_0x216e6e],[_0x3b66a5],[_0x17492c],[_0x282384],[_0x218781['CollaborationDataLoaderController']]];_0x5e3300['registerDependencies'](this['_injector'],_0x5e3300[_0x2bbda2(0x1eb)](_0x25ad4c,(_0x576478=this['_config'])==null?void 0x0:_0x576478['override']));}[_0x41a185(0x16f)](){const _0x26cb58=_0x41a185;this[_0x26cb58(0x223)](this[_0x26cb58(0x33c)][_0x26cb58(0x17e)](_0x5e3300[_0x26cb58(0x268)]['UNIVER_DOC'],[_0x54fb8b])),this[_0x26cb58(0x223)](this[_0x26cb58(0x33c)]['registerRenderModule'](_0x5e3300[_0x26cb58(0x268)][_0x26cb58(0x2cd)],[_0x1d9dc1]));}['_initDependencies'](){const _0x8cefac=_0x41a185;_0x5e3300[_0x8cefac(0x3a7)](this['_injector'],[[_0x17492c],[_0x218781['DesktopCollaborationStatusDisplayController']],[_0x216e6e],[_0x3b66a5],[_0x218781[_0x8cefac(0x275)]]]);}},_0x46d61f(_0x218781[_0x41a185(0x25c)],_0x41a185(0x1bb),_0x142c54),_0x218781['UniverCollaborationClientUIPlugin']=_0x61d69b([_0x5e3300[_0x41a185(0x1a4)](_0x2600cf['UniverCollaborationClientPlugin']),_0x24cc65(0x1,_0x1b825c[_0x41a185(0x328)]),_0x24cc65(0x2,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300[_0x41a185(0x1c6)])),_0x24cc65(0x3,_0x5e3300[_0x41a185(0x217)])],_0x218781[_0x41a185(0x25c)]);var _0x305af9=Object['getOwnPropertyDescriptor'],_0x7bc798=(_0x5135a9,_0x55ce91,_0x3f6ca0,_0x3667f2)=>{const _0x2f3b91=_0x41a185;for(var _0x52a653=_0x3667f2>0x1?void 0x0:_0x3667f2?_0x305af9(_0x55ce91,_0x3f6ca0):_0x55ce91,_0x4df388=_0x5135a9[_0x2f3b91(0x15e)]-0x1,_0x592570;_0x4df388>=0x0;_0x4df388--)(_0x592570=_0x5135a9[_0x4df388])&&(_0x52a653=_0x592570(_0x52a653)||_0x52a653);return _0x52a653;},_0x1d29fa=(_0x2d66f9,_0x129154)=>(_0xa3d1cb,_0x45253c)=>_0x129154(_0xa3d1cb,_0x45253c,_0x2d66f9);_0x218781[_0x41a185(0x2be)]=class extends _0x2600cf[_0x41a185(0x2dc)]{constructor(_0x39f608,_0x459f15,_0x52f0ed,_0x3407e7,_0xa7ef66){super(_0x39f608,_0x459f15,_0x52f0ed,_0x3407e7,_0xa7ef66);}async[_0x41a185(0x339)](_0x5d2714){const _0x3c38bf=_0x41a185,_0x1e49e9=await this[_0x3c38bf(0x35a)](),_0x2291b6=this['_createSocketURL'](_0x5d2714,_0x1e49e9);return this['_doCreateSocket'](_0x2291b6);}[_0x41a185(0x249)](_0x2c1ae1,_0x393864){const _0x140e8a=_0x41a185,_0x2c71db=typeof window>'u'?new URL(_0x2c1ae1):new URL(_0x2c1ae1,window['location'][_0x140e8a(0x230)]);_0x2c71db[_0x140e8a(0x220)][_0x140e8a(0x21d)](_0x140e8a(0x1e3),_0x393864);const _0x2bdc03=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x140e8a(0x1d3)]['search']);return _0x2bdc03[_0x140e8a(0x182)](_0x140e8a(0x115))&&_0x2c71db[_0x140e8a(0x220)][_0x140e8a(0x21d)](_0x140e8a(0x115),_0x2bdc03[_0x140e8a(0x182)](_0x140e8a(0x115))),_0x2c71db[_0x140e8a(0x2c0)]();}async[_0x41a185(0x35a)](){const _0x3f083f=_0x41a185;var _0x5d9faa,_0xeed749,_0x468cca;const _0x44da9a=this['_configService'][_0x3f083f(0x2b9)](_0x2600cf[_0x3f083f(0x133)]),_0x5b34c3=(_0x5d9faa=_0x44da9a==null?void 0x0:_0x44da9a[_0x3f083f(0x18d)])!=null?_0x5d9faa:_0x2600cf[_0x3f083f(0x255)];return(_0x468cca=(_0xeed749=(await this['_httpService'][_0x3f083f(0x182)](_0x5b34c3,{'headers':{'Content-Type':_0x3f083f(0x36c)}}))[_0x3f083f(0x119)])==null?void 0x0:_0xeed749['ticket'])!=null?_0x468cca:'';}},_0x218781[_0x41a185(0x2be)]=_0x7bc798([_0x1d29fa(0x0,_0x5e3300[_0x41a185(0x2c6)](_0x5e3300['Injector'])),_0x1d29fa(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5771f5[_0x41a185(0x342)])),_0x1d29fa(0x2,_0x5e3300['IConfigService']),_0x1d29fa(0x3,_0x5e3300[_0x41a185(0x130)]),_0x1d29fa(0x4,_0x4384c1['ISnapshotServerService'])],_0x218781[_0x41a185(0x2be)]);var _0x22b361=(_0x4a0e5a=>(_0x4a0e5a[_0x4a0e5a[_0x41a185(0x347)]=0x0]='UNDEFINED',_0x4a0e5a[_0x4a0e5a['OK']=0x1]='OK',_0x4a0e5a[_0x4a0e5a['INTERNAL_ERROR']=0x2]=_0x41a185(0x149),_0x4a0e5a[_0x4a0e5a['PERMISSION_DENIED']=0x3]=_0x41a185(0x36a),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2ce)]=0x4]=_0x41a185(0x2ce),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x30f)]=0x5]=_0x41a185(0x30f),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2f5)]=0x6]=_0x41a185(0x2f5),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x3a1)]=0x7]=_0x41a185(0x3a1),_0x4a0e5a[_0x4a0e5a['TOO_MANY_REQUESTS']=0x8]=_0x41a185(0x192),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x25b)]=0x9]=_0x41a185(0x25b),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x284)]=0xa]=_0x41a185(0x284),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x321)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4a0e5a[_0x4a0e5a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x274)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1c1)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x244)]=0x1389]=_0x41a185(0x244),_0x4a0e5a[_0x4a0e5a['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x41a185(0x2fc),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1e7)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1f9)]=0x1773]=_0x41a185(0x1f9),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x18c)]=0x1b59]=_0x41a185(0x18c),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x318)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x20c)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x352)]=0x1b5c]=_0x41a185(0x352),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1da)]=0x1b5d]=_0x41a185(0x1da),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1dd)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x180)]=0x2329]=_0x41a185(0x180),_0x4a0e5a[_0x4a0e5a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x1b8)]=0x232b]=_0x41a185(0x1b8),_0x4a0e5a[_0x4a0e5a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x41a185(0x292),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x39d)]=0x232d]=_0x41a185(0x39d),_0x4a0e5a[_0x4a0e5a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x41a185(0x2ef),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2db)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x335)]=0x2713]=_0x41a185(0x335),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2da)]=0x2714]=_0x41a185(0x2da),_0x4a0e5a[_0x4a0e5a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4a0e5a[_0x4a0e5a['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2a5)]=0x271c]=_0x41a185(0x2a5),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x193)]=0x271d]=_0x41a185(0x193),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x378)]=0x271e]=_0x41a185(0x378),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x29e)]=0x271f]=_0x41a185(0x29e),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2a1)]=0x2720]=_0x41a185(0x2a1),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x2ec)]=0x2af9]=_0x41a185(0x2ec),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x34d)]=0x2ee1]=_0x41a185(0x34d),_0x4a0e5a[_0x4a0e5a['INVALID_INVITE_CODE']=0x2ee2]=_0x41a185(0x266),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x37c)]=0x2ee3]=_0x41a185(0x37c),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x325)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4a0e5a[_0x4a0e5a[_0x41a185(0x298)]=0x2ee5]=_0x41a185(0x298),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x233)]=0x32c9]=_0x41a185(0x233),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x205)]=0x32ca]=_0x41a185(0x205),_0x4a0e5a[_0x4a0e5a['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x41a185(0x213),_0x4a0e5a[_0x4a0e5a[_0x41a185(0x304)]=-0x1]='UNRECOGNIZED',_0x4a0e5a))(_0x22b361||{}),_0x231e84=Object[_0x41a185(0x13b)],_0x2c6b4c=(_0x1bbcbe,_0x598719,_0x23b2b7,_0x328407)=>{const _0x4e7cbc=_0x41a185;for(var _0x4829e0=_0x328407>0x1?void 0x0:_0x328407?_0x231e84(_0x598719,_0x23b2b7):_0x598719,_0xbe471e=_0x1bbcbe[_0x4e7cbc(0x15e)]-0x1,_0x29ad36;_0xbe471e>=0x0;_0xbe471e--)(_0x29ad36=_0x1bbcbe[_0xbe471e])&&(_0x4829e0=_0x29ad36(_0x4829e0)||_0x4829e0);return _0x4829e0;},_0x3ce525=(_0x501755,_0x2ff53a)=>(_0x516216,_0x145e7c)=>_0x2ff53a(_0x516216,_0x145e7c,_0x501755);_0x218781[_0x41a185(0x316)]=class extends _0x5e3300[_0x41a185(0x290)]{constructor(_0x294f4b,_0xc473b4,_0x2f9b96){const _0x62036c=_0x41a185;super(),this[_0x62036c(0x260)]=_0x294f4b,this[_0x62036c(0x362)]=_0xc473b4,this['_configService']=_0x2f9b96;}async[_0x41a185(0x129)](_0x3494ef,_0x1aadd9,_0x351640,..._0x25db27){const _0x27226e=_0x41a185;var _0xd3f9a1,_0x3be72a,_0x1b2f6b,_0xf15ac;const _0x2b21e0=this[_0x27226e(0x260)][_0x27226e(0x376)]();if(!_0x2b21e0)throw new Error(_0x27226e(0x11b));const _0x49fc03=((_0xd3f9a1=this[_0x27226e(0x25d)]['getConfig'](_0x2600cf[_0x27226e(0x14c)]))!=null?_0xd3f9a1:_0x2600cf[_0x27226e(0x12d)])+'/'+_0x3494ef+_0x27226e(0x263)+_0x1aadd9,_0x54a82b=new URL(window[_0x27226e(0x1d3)][_0x27226e(0x369)]),_0x1206fb={'scriptId':_0x3494ef,'runId':(_0x3be72a=_0x54a82b['searchParams']['get'](_0x27226e(0x115)))!=null?_0x3be72a:'','function':_0x1aadd9,'unitId':_0x2b21e0[_0x27226e(0x28d)](),'argsOfFunction':JSON[_0x27226e(0x122)](_0x25db27),'invokeId':(_0x1b2f6b=_0x351640[_0x27226e(0x151)])!=null?_0x1b2f6b:'','executionId':(_0xf15ac=_0x351640['executionId'])!=null?_0xf15ac:''};try{const _0x55d9a3=await this['_httpService'][_0x27226e(0x156)](_0x49fc03,{'body':_0x1206fb});return _0x55d9a3[_0x27226e(0x119)][_0x27226e(0x2e9)]&&_0x55d9a3[_0x27226e(0x119)][_0x27226e(0x2e9)][_0x27226e(0x302)]!==_0x22b361['OK']?_0x27226e(0x1c3):_0x55d9a3[_0x27226e(0x119)][_0x27226e(0x37a)];}catch{return _0x27226e(0x1c3);}}},_0x218781[_0x41a185(0x316)]=_0x2c6b4c([_0x3ce525(0x0,_0x5e3300['IUniverInstanceService']),_0x3ce525(0x1,_0x5e3300[_0x41a185(0x2c6)](_0x5771f5[_0x41a185(0x342)])),_0x3ce525(0x2,_0x5e3300[_0x41a185(0x217)])],_0x218781[_0x41a185(0x316)]);const _0x565a14=0x7530,_0x2ab163=_0x41a185(0x2cf);class _0xc18a05 extends _0x5e3300[_0x41a185(0x290)]{constructor(){const _0x4bc1f5=_0x41a185;super(),_0x528ae5(this,'_id',_0x5e3300['generateRandomId']()),_0x528ae5(this,'_selfUnitIDs',new Set()),_0x528ae5(this,'_unitOnClients',new Map()),_0x528ae5(this,'_heartbeatTimer',null),_0x528ae5(this,_0x4bc1f5(0x331),new Map()),_0x528ae5(this,_0x4bc1f5(0x1ae),new Map()),this['_init']();}[_0x41a185(0x385)](){const _0x2ecede=_0x41a185;super[_0x2ecede(0x385)](),this[_0x2ecede(0x331)][_0x2ecede(0x2ba)]((_0x32e710,_0x6dce88)=>this[_0x2ecede(0x2c1)](_0x6dce88)),this['_heartbeatTimer']&&window[_0x2ecede(0x166)](this[_0x2ecede(0x3a0)]);}[_0x41a185(0x15f)](_0x3ccee3){const _0x3f77c5=_0x41a185;return this[_0x3f77c5(0x19c)](_0x3ccee3)[_0x3f77c5(0x1e6)](_0x50b64e[_0x3f77c5(0x209)]());}[_0x41a185(0x32d)](_0x3f184b){const _0x48394e=_0x41a185;this[_0x48394e(0x315)][_0x48394e(0x2df)]===0x0&&this[_0x48394e(0x1c4)](),this['_selfUnitIDs']['add'](_0x3f184b),this[_0x48394e(0x30d)]({'type':0x0,'memberID':this[_0x48394e(0x2a4)],'unitIDs':[_0x3f184b],'isForwarded':!0x1});}[_0x41a185(0x2fe)](_0x15a4f9){const _0x5844ed=_0x41a185;this[_0x5844ed(0x315)][_0x5844ed(0x2ee)](_0x15a4f9),this[_0x5844ed(0x315)][_0x5844ed(0x2df)]===0x0&&this[_0x5844ed(0x3a0)]&&window[_0x5844ed(0x166)](this[_0x5844ed(0x3a0)]);}[_0x41a185(0x189)](){const _0x2d62a6=_0x41a185;this[_0x2d62a6(0x223)](_0x5e3300[_0x2d62a6(0x1c2)](_0x50b64e[_0x2d62a6(0x340)](window,_0x2d62a6(0x1fe))[_0x2d62a6(0x1e9)](_0x1efe90=>{const _0x2c0792=_0x2d62a6;if(_0x1efe90[_0x2c0792(0x271)]!==_0x2ab163||!_0x1efe90[_0x2c0792(0x3a6)])return;const _0x4b44e2=JSON['parse'](_0x1efe90[_0x2c0792(0x3a6)]);this[_0x2c0792(0x16e)](_0x4b44e2);}))),window[_0x2d62a6(0x349)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x2d62a6(0x2a4)],'unitIDs':Array[_0x2d62a6(0x373)](this[_0x2d62a6(0x315)])}));}[_0x41a185(0x16e)](_0x4be764){const _0x50a64c=_0x41a185;switch(_0x4be764[_0x50a64c(0x297)]){case 0x0:this[_0x50a64c(0x28e)](_0x4be764);break;case 0x1:this[_0x50a64c(0x29d)](_0x4be764);break;case 0x2:this[_0x50a64c(0x2f3)](_0x4be764);break;}}[_0x41a185(0x28e)](_0x29b160){const _0x4a7f24=_0x41a185,{unitIDs:_0x39a63f,memberID:_0x1873f7,isForwarded:_0x4e6fc8}=_0x29b160;_0x39a63f[_0x4a7f24(0x2ba)](_0x4077a3=>{const _0x54d34f=_0x4a7f24;if(!_0x4e6fc8&&this[_0x54d34f(0x26d)][_0x54d34f(0x345)](_0x4077a3)&&this[_0x54d34f(0x19c)](_0x4077a3)[_0x54d34f(0x2e0)](_0x2600cf[_0x54d34f(0x12f)][_0x54d34f(0x1cf)]),!this[_0x54d34f(0x26d)][_0x54d34f(0x345)](_0x4077a3)||!this['_unitOnClients']['get'](_0x4077a3)[_0x54d34f(0x345)](_0x1873f7)){const _0x2f961d=this['_unitOnClients']['get'](_0x4077a3)||new Set();_0x2f961d[_0x54d34f(0x33a)](_0x1873f7),this[_0x54d34f(0x26d)]['set'](_0x4077a3,_0x2f961d),this[_0x54d34f(0x1d6)](_0x1873f7);}}),_0x4e6fc8||this['_send']({'type':0x0,'memberID':this[_0x4a7f24(0x2a4)],'unitIDs':[...this[_0x4a7f24(0x315)]],'isForwarded':!0x0});}[_0x41a185(0x1d6)](_0x12b7e8){const _0x36cdc4=_0x41a185;this[_0x36cdc4(0x2c1)](_0x12b7e8);const _0x56f446=window[_0x36cdc4(0x295)](()=>{const _0x2a18fc=_0x36cdc4;this['_unitOnClients'][_0x2a18fc(0x2ba)](_0x47729c=>{const _0x32947e=_0x2a18fc;_0x47729c[_0x32947e(0x2ee)](_0x12b7e8);});},_0x565a14*0x2);this[_0x36cdc4(0x331)]['set'](_0x12b7e8,_0x56f446);}[_0x41a185(0x2c1)](_0x5ee66d){const _0x8dc61a=_0x41a185;if(this['_clearOtherTimers'][_0x8dc61a(0x345)](_0x5ee66d)){const _0x5a35d8=this['_clearOtherTimers']['get'](_0x5ee66d);_0x5a35d8&&window[_0x8dc61a(0x219)](_0x5a35d8),this['_clearOtherTimers'][_0x8dc61a(0x21d)](_0x5ee66d,null);}}['_handleLeaveEvent'](_0x42acd9){const _0x3b615d=_0x41a185,{memberID:_0xd1ab32,unitIDs:_0x1b1761}=_0x42acd9;_0x1b1761[_0x3b615d(0x2ba)](_0x2a377b=>{const _0x5308c0=_0x3b615d;var _0x2545e1;const _0x3b6305=this[_0x5308c0(0x26d)]['get'](_0x2a377b);_0x3b6305&&(_0x3b6305[_0x5308c0(0x2ee)](_0xd1ab32),(_0x2545e1=this[_0x5308c0(0x19c)](_0x2a377b))==null||_0x2545e1[_0x5308c0(0x2e0)](_0x3b6305['size']===0x0?_0x2600cf[_0x5308c0(0x12f)][_0x5308c0(0x144)]:_0x2600cf[_0x5308c0(0x12f)][_0x5308c0(0x1cf)]));}),this[_0x3b615d(0x2c1)](_0xd1ab32);}['_handleHeartbeatEvent'](_0x4fb648){const _0x1a1944=_0x41a185;this['_scheduleClearOtherTimer'](_0x4fb648[_0x1a1944(0x2a0)]);}[_0x41a185(0x30d)](_0x537548){const _0x3e99b3=_0x41a185;localStorage[_0x3e99b3(0x136)](_0x2ab163,JSON[_0x3e99b3(0x122)](_0x537548));}[_0x41a185(0x1c4)](){const _0x373ade=_0x41a185;this['_heartbeatTimer']=window[_0x373ade(0x165)](()=>{const _0x4d4906=_0x373ade;this[_0x4d4906(0x30d)]({'type':0x2,'memberID':this[_0x4d4906(0x2a4)]});},_0x565a14);}[_0x41a185(0x19c)](_0x46a580){const _0x37e463=_0x41a185;return this['_unitStatus'][_0x37e463(0x345)](_0x46a580)||this['_unitStatus']['set'](_0x46a580,new _0x50b64e[(_0x37e463(0x228))](_0x2600cf[_0x37e463(0x12f)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x37e463(0x1ae)][_0x37e463(0x182)](_0x46a580);}}_0x218781[_0x41a185(0x24f)]=_0x48a0eb,_0x218781[_0x41a185(0x377)]=_0x2a41ec,_0x218781[_0x41a185(0x2e4)]=_0xc18a05,_0x218781[_0x41a185(0x15c)]=_0x325c93,Object[_0x41a185(0x28b)](_0x218781,Symbol[_0x41a185(0x124)],{'value':_0x41a185(0x12b)});}));
|
|
1
|
+
function _0x9579(_0x1e9359,_0x47c1d9){const _0xd0c0cb=_0xd0c0();return _0x9579=function(_0x9579bf,_0x27841a){_0x9579bf=_0x9579bf-0xbb;let _0x27c2fa=_0xd0c0cb[_0x9579bf];return _0x27c2fa;},_0x9579(_0x1e9359,_0x47c1d9);}(function(_0x123480,_0x14f74d){const _0x19727d=_0x9579,_0x530988=_0x123480();while(!![]){try{const _0x3cc83c=-parseInt(_0x19727d(0x328))/0x1+parseInt(_0x19727d(0xf5))/0x2*(-parseInt(_0x19727d(0x32e))/0x3)+parseInt(_0x19727d(0x13e))/0x4*(-parseInt(_0x19727d(0x35b))/0x5)+-parseInt(_0x19727d(0x2bf))/0x6+parseInt(_0x19727d(0x34d))/0x7+-parseInt(_0x19727d(0x285))/0x8+parseInt(_0x19727d(0x2c8))/0x9;if(_0x3cc83c===_0x14f74d)break;else _0x530988['push'](_0x530988['shift']());}catch(_0xbf15bb){_0x530988['push'](_0x530988['shift']());}}}(_0xd0c0,0x75445),function(_0x5df5f7,_0x13d916){const _0x1b4f3e=_0x9579;typeof exports=='object'&&typeof module<'u'?_0x13d916(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x1b4f3e(0x11b)&&define['amd']?define([_0x1b4f3e(0x337),_0x1b4f3e(0x2b0),_0x1b4f3e(0x2f9),_0x1b4f3e(0x247),'@univerjs/ui',_0x1b4f3e(0x1e8),_0x1b4f3e(0x1b1),_0x1b4f3e(0x292),_0x1b4f3e(0x298),_0x1b4f3e(0x151),_0x1b4f3e(0x1af),'@univerjs/network',_0x1b4f3e(0xd7),_0x1b4f3e(0x23c),_0x1b4f3e(0x118),_0x1b4f3e(0x29e),'@univerjs/engine-formula','rxjs/operators','@univerjs/sheets-ui'],_0x13d916):(_0x5df5f7=typeof globalThis<'u'?globalThis:_0x5df5f7||self,_0x13d916(_0x5df5f7[_0x1b4f3e(0x175)]={},_0x5df5f7[_0x1b4f3e(0x203)],_0x5df5f7[_0x1b4f3e(0x105)],_0x5df5f7[_0x1b4f3e(0x12a)],_0x5df5f7[_0x1b4f3e(0xfe)],_0x5df5f7[_0x1b4f3e(0x1e8)],_0x5df5f7[_0x1b4f3e(0x249)],_0x5df5f7[_0x1b4f3e(0x203)],_0x5df5f7['UniverRpc'],_0x5df5f7['UniverSheets'],_0x5df5f7['UniverEngineRender'],_0x5df5f7[_0x1b4f3e(0x2ad)],_0x5df5f7[_0x1b4f3e(0x2a5)],_0x5df5f7[_0x1b4f3e(0x1cc)],_0x5df5f7[_0x1b4f3e(0x153)],_0x5df5f7[_0x1b4f3e(0x1b6)],_0x5df5f7[_0x1b4f3e(0x1c2)],_0x5df5f7[_0x1b4f3e(0x1e8)][_0x1b4f3e(0xdf)],_0x5df5f7[_0x1b4f3e(0x1c8)]));}(this,function(_0xd8ff59,_0x435cc4,_0x3120ea,_0x4de4d0,_0xd67382,_0x38f1b1,_0x6f7708,_0x3a5f35,_0x2ffd65,_0x583b4c,_0x14c15e,_0x4ac185,_0x7f4e56,_0x3b33c8,_0xcf4b95,_0x455bfa,_0xd8f82c,_0x45d309,_0x255745){'use strict';const _0x30e32e=_0x9579;var _0x390809=Object[_0x30e32e(0xe2)],_0x1e8ebc=(_0x502a13,_0xa91700,_0x5c728c)=>_0xa91700 in _0x502a13?_0x390809(_0x502a13,_0xa91700,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c728c}):_0x502a13[_0xa91700]=_0x5c728c,_0x5444ab=(_0x18b4b9,_0x54af1f,_0x3026e1)=>_0x1e8ebc(_0x18b4b9,typeof _0x54af1f!=_0x30e32e(0x32b)?_0x54af1f+'':_0x54af1f,_0x3026e1),_0x575764=function(){const _0x15b889=_0x30e32e;return _0x575764=Object[_0x15b889(0x187)]||function(_0x86b6f0){const _0x4b90da=_0x15b889;for(var _0x5a245a,_0x22f023=0x1,_0x74753f=arguments['length'];_0x22f023<_0x74753f;_0x22f023++){_0x5a245a=arguments[_0x22f023];for(var _0x408144 in _0x5a245a)Object[_0x4b90da(0x255)]['hasOwnProperty']['call'](_0x5a245a,_0x408144)&&(_0x86b6f0[_0x408144]=_0x5a245a[_0x408144]);}return _0x86b6f0;},_0x575764[_0x15b889(0x134)](this,arguments);},_0x1c4139=function(_0x2f6760,_0x52f0ed){const _0x4e24aa=_0x30e32e;var _0x4aa5b1={};for(var _0x1158a7 in _0x2f6760)Object[_0x4e24aa(0x255)][_0x4e24aa(0x2d5)][_0x4e24aa(0x1c5)](_0x2f6760,_0x1158a7)&&_0x52f0ed['indexOf'](_0x1158a7)<0x0&&(_0x4aa5b1[_0x1158a7]=_0x2f6760[_0x1158a7]);if(_0x2f6760!=null&&typeof Object[_0x4e24aa(0x24b)]==_0x4e24aa(0x11b)){for(var _0x1f96cc=0x0,_0x1158a7=Object[_0x4e24aa(0x24b)](_0x2f6760);_0x1f96cc<_0x1158a7[_0x4e24aa(0x1fa)];_0x1f96cc++)_0x52f0ed[_0x4e24aa(0x1ff)](_0x1158a7[_0x1f96cc])<0x0&&Object[_0x4e24aa(0x255)][_0x4e24aa(0x121)][_0x4e24aa(0x1c5)](_0x2f6760,_0x1158a7[_0x1f96cc])&&(_0x4aa5b1[_0x1158a7[_0x1f96cc]]=_0x2f6760[_0x1158a7[_0x1f96cc]]);}return _0x4aa5b1;},_0x3a138d=_0x3a5f35['forwardRef'](function(_0x134722,_0x2a5a42){const _0x5d6e52=_0x30e32e;var _0x32325e=_0x134722[_0x5d6e52(0x1fc)],_0x42b5aa=_0x134722['id'],_0x1e185f=_0x134722[_0x5d6e52(0xff)],_0x4991db=_0x134722[_0x5d6e52(0x2da)],_0x45fee6=_0x1c4139(_0x134722,[_0x5d6e52(0x1fc),'id',_0x5d6e52(0xff),_0x5d6e52(0x2da)]),_0x285308=_0x5d6e52(0x26c)[_0x5d6e52(0xc9)](_0x42b5aa,'\x20')[_0x5d6e52(0xc9)](_0x1e185f||'')[_0x5d6e52(0x138)](),_0x3955b9=_0x3a5f35[_0x5d6e52(0x164)]('_'['concat'](_0xa26a7e()));return _0x26cd3c(_0x32325e,''[_0x5d6e52(0xc9)](_0x42b5aa),{'defIds':_0x32325e['defIds'],'idSuffix':_0x3955b9[_0x5d6e52(0x18a)]},_0x575764({'ref':_0x2a5a42,'className':_0x285308},_0x45fee6),_0x4991db);});function _0x26cd3c(_0x1c9e7b,_0x54020f,_0x5ee64b,_0x2be6ca,_0x36fff0){const _0x56b4b3=_0x30e32e;return _0x3a5f35['createElement'](_0x1c9e7b['tag'],_0x575764(_0x575764({'key':_0x54020f},_0x33b6e1(_0x1c9e7b,_0x5ee64b,_0x36fff0)),_0x2be6ca),(_0x4c9b2b(_0x1c9e7b,_0x5ee64b)[_0x56b4b3(0x1be)]||[])[_0x56b4b3(0x21f)](function(_0x5d63a1,_0x2808dd){const _0x438689=_0x56b4b3;return _0x26cd3c(_0x5d63a1,''['concat'](_0x54020f,'-')[_0x438689(0xc9)](_0x1c9e7b['tag'],'-')[_0x438689(0xc9)](_0x2808dd),_0x5ee64b,void 0x0,_0x36fff0);}));}function _0x33b6e1(_0x2fba24,_0x59267e,_0x2a3941){const _0x198cad=_0x30e32e;var _0x3673db=_0x575764({},_0x2fba24[_0x198cad(0x35f)]);_0x2a3941!=null&&_0x2a3941[_0x198cad(0x308)]&&_0x3673db[_0x198cad(0x349)]==='colorChannel1'&&(_0x3673db[_0x198cad(0x349)]=_0x2a3941[_0x198cad(0x308)]),_0x2fba24['tag']===_0x198cad(0x11c)&&_0x3673db['id']&&(_0x3673db['id']=_0x3673db['id']+_0x59267e[_0x198cad(0x26f)]),Object[_0x198cad(0x18f)](_0x3673db)[_0x198cad(0x265)](function(_0x2ec3de){const _0x57a105=_0x198cad;var _0x5c2d2c=_0x2ec3de[0x0],_0x52012a=_0x2ec3de[0x1];_0x5c2d2c===_0x57a105(0x11c)&&typeof _0x52012a==_0x57a105(0x19a)&&(_0x3673db[_0x5c2d2c]=_0x52012a[_0x57a105(0x2b8)](/url\(#(.*)\)/,_0x57a105(0x20f)[_0x57a105(0xc9)](_0x59267e[_0x57a105(0x26f)],')')));});var _0x1e7f3e=_0x59267e[_0x198cad(0x296)];return!_0x1e7f3e||_0x1e7f3e[_0x198cad(0x1fa)]===0x0||(_0x2fba24[_0x198cad(0x2ea)]===_0x198cad(0x26b)&&_0x3673db[_0x198cad(0x184)]&&(_0x3673db[_0x198cad(0x184)]=_0x3673db['xlink:href']+_0x59267e[_0x198cad(0x26f)]),Object[_0x198cad(0x18f)](_0x3673db)[_0x198cad(0x265)](function(_0x2ec4d4){const _0x3c76ff=_0x198cad;var _0x501143=_0x2ec4d4[0x0],_0x257bd6=_0x2ec4d4[0x1];typeof _0x257bd6==_0x3c76ff(0x19a)&&(_0x3673db[_0x501143]=_0x257bd6[_0x3c76ff(0x2b8)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x59267e[_0x3c76ff(0x26f)],')')));})),_0x3673db;}function _0x4c9b2b(_0x18f2f9,_0x3bf8dc){const _0x1b7d36=_0x30e32e;var _0x1d2ca0,_0x49b4ce=_0x3bf8dc[_0x1b7d36(0x296)];return!_0x49b4ce||_0x49b4ce[_0x1b7d36(0x1fa)]===0x0?_0x18f2f9:_0x18f2f9['tag']===_0x1b7d36(0x322)&&(!((_0x1d2ca0=_0x18f2f9['children'])===null||_0x1d2ca0===void 0x0)&&_0x1d2ca0[_0x1b7d36(0x1fa)])?_0x575764(_0x575764({},_0x18f2f9),{'children':_0x18f2f9['children'][_0x1b7d36(0x21f)](function(_0x15ac54){const _0x522f1b=_0x1b7d36;return typeof _0x15ac54['attrs']['id']==_0x522f1b(0x19a)&&_0x49b4ce&&_0x49b4ce[_0x522f1b(0x202)](_0x15ac54['attrs']['id'])?_0x575764(_0x575764({},_0x15ac54),{'attrs':_0x575764(_0x575764({},_0x15ac54[_0x522f1b(0x35f)]),{'id':_0x15ac54['attrs']['id']+_0x3bf8dc[_0x522f1b(0x26f)]})}):_0x15ac54;})}):_0x18f2f9;}function _0xa26a7e(){const _0x156046=_0x30e32e;return Math[_0x156046(0x2ef)]()[_0x156046(0x2e8)](0x24)[_0x156046(0x359)](0x2,0x8);}_0x3a138d[_0x30e32e(0x2dd)]=_0x30e32e(0x215);var _0x35c4cd={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x30e32e(0x179),'width':_0x30e32e(0x211),'height':_0x30e32e(0x211)},'children':[{'tag':'g','attrs':{'clipPath':_0x30e32e(0x256)},'children':[{'tag':_0x30e32e(0x158),'attrs':{'stroke':_0x30e32e(0x13c),'d':_0x30e32e(0x18b),'strokeLinecap':_0x30e32e(0x22e),'strokeLinejoin':_0x30e32e(0x22e),'strokeWidth':1.2}}]},{'tag':_0x30e32e(0x322),'attrs':{},'children':[{'tag':_0x30e32e(0x35d),'attrs':{'id':_0x30e32e(0x2f2)},'children':[{'tag':_0x30e32e(0x158),'attrs':{'fill':_0x30e32e(0xec),'d':_0x30e32e(0x357)}}]}]}],'defIds':[_0x30e32e(0x2f2)]},_0x1052dc=_0x3a5f35[_0x30e32e(0x2d6)](function(_0x5b8bf9,_0x1f5fb9){const _0x337b7d=_0x30e32e;return _0x3a5f35[_0x337b7d(0x2c1)](_0x3a138d,Object[_0x337b7d(0x187)]({},_0x5b8bf9,{'id':_0x337b7d(0x20a),'ref':_0x1f5fb9,'icon':_0x35c4cd}));});_0x1052dc[_0x30e32e(0x2dd)]=_0x30e32e(0x1a3);var _0x4c78e0={'tag':_0x30e32e(0x198),'attrs':{'xmlns':_0x30e32e(0x11a),'fill':'none','viewBox':_0x30e32e(0x353),'width':_0x30e32e(0x211),'height':_0x30e32e(0x211)},'children':[{'tag':'g','attrs':{'clipPath':_0x30e32e(0x23a)},'children':[{'tag':_0x30e32e(0x158),'attrs':{'stroke':_0x30e32e(0x13c),'d':_0x30e32e(0x2af),'strokeLinecap':_0x30e32e(0x22e),'strokeLinejoin':_0x30e32e(0x22e),'strokeWidth':1.2}}]},{'tag':_0x30e32e(0x322),'attrs':{},'children':[{'tag':_0x30e32e(0x35d),'attrs':{'id':_0x30e32e(0x2b4)},'children':[{'tag':_0x30e32e(0x158),'attrs':{'fill':_0x30e32e(0xec),'d':_0x30e32e(0x357),'transform':_0x30e32e(0x12c)}}]}]}],'defIds':[_0x30e32e(0x2b4)]},_0x16587a=_0x3a5f35[_0x30e32e(0x2d6)](function(_0x652351,_0x4f1bde){const _0x43a9b8=_0x30e32e;return _0x3a5f35[_0x43a9b8(0x2c1)](_0x3a138d,Object[_0x43a9b8(0x187)]({},_0x652351,{'id':_0x43a9b8(0x2a4),'ref':_0x4f1bde,'icon':_0x4c78e0}));});_0x16587a[_0x30e32e(0x2dd)]=_0x30e32e(0x2e9);function _0x2c7142(_0x35384e){const _0x423a93=_0x30e32e;switch(_0x35384e){case _0x3120ea[_0x423a93(0xd8)][_0x423a93(0x35c)]:return _0x423a93(0x27b);case _0x3120ea[_0x423a93(0xd8)][_0x423a93(0x11e)]:return _0x423a93(0x140);case _0x3120ea[_0x423a93(0xd8)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x3120ea[_0x423a93(0xd8)][_0x423a93(0x13b)]:return _0x423a93(0x2f0);case _0x3120ea['CollaborationStatus'][_0x423a93(0x15e)]:case _0x3120ea[_0x423a93(0xd8)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x3120ea[_0x423a93(0xd8)][_0x423a93(0x10a)]:case _0x3120ea[_0x423a93(0xd8)][_0x423a93(0x1b4)]:return _0x423a93(0x33a);}}function _0x32cfb5(_0x391087){const _0x45ef81=_0x30e32e,{status$:_0x160e77}=_0x391087,_0x1e25fe=_0xd67382[_0x45ef81(0x12f)](_0x160e77,_0x3120ea[_0x45ef81(0xd8)]['NOT_COLLAB']),_0x15786f=_0xd67382[_0x45ef81(0x34a)](_0x4de4d0[_0x45ef81(0x20d)]),_0x4c1cfa=_0xd67382[_0x45ef81(0x34a)](_0x3120ea[_0x45ef81(0x1a1)]),_0x53f6f3=_0x1e25fe!==_0x3120ea[_0x45ef81(0xd8)]['OFFLINE'],_0x512183=_0x15786f['t'](_0x2c7142(_0x1e25fe)),_0x1b1061=_0x53f6f3?_0x435cc4[_0x45ef81(0xe5)](_0x16587a,{}):_0x435cc4['jsx'](_0x1052dc,{}),_0x1a15a9=_0x3a5f35['useCallback'](()=>{const _0x18b65a=_0x45ef81;_0x53f6f3||_0x4c1cfa[_0x18b65a(0x2fa)]();},[_0x53f6f3,_0x4c1cfa]);function _0x56e1c6(){const _0x8da30b=_0x45ef81;return _0x435cc4[_0x8da30b(0x31e)](_0x8da30b(0x1aa),{'className':_0x8da30b(0x113),'onClick':_0x1a15a9,'children':[_0x435cc4[_0x8da30b(0xe5)]('div',{'className':_0x6f7708['clsx'](_0x8da30b(0x229),{'univer-text-green-500':_0x53f6f3,'univer-text-red-500':!_0x53f6f3}),'children':_0x1b1061}),_0x435cc4[_0x8da30b(0xe5)](_0x8da30b(0x1aa),{'className':_0x8da30b(0x19f),'children':_0x512183})]});}return _0x53f6f3?_0x56e1c6():_0x435cc4[_0x45ef81(0xe5)](_0x6f7708[_0x45ef81(0x2c4)],{'title':_0x15786f['t']('collab-client.tooltip.reconnect'),'children':_0x56e1c6()});}var _0xee56de=Object[_0x30e32e(0x307)],_0x164122=(_0x1fa68d,_0x2ce3b8,_0x239b6a,_0x2be576)=>{for(var _0x334e9d=_0x2be576>0x1?void 0x0:_0x2be576?_0xee56de(_0x2ce3b8,_0x239b6a):_0x2ce3b8,_0x12d627=_0x1fa68d['length']-0x1,_0x9906f2;_0x12d627>=0x0;_0x12d627--)(_0x9906f2=_0x1fa68d[_0x12d627])&&(_0x334e9d=_0x9906f2(_0x334e9d)||_0x334e9d);return _0x334e9d;},_0x59d53c=(_0x57cef8,_0x552d73)=>(_0x2b0056,_0x3376f7)=>_0x552d73(_0x2b0056,_0x3376f7,_0x57cef8);_0xd8ff59[_0x30e32e(0x2bb)]=class extends _0x4de4d0[_0x30e32e(0x238)]{constructor(_0x213df7,_0x1bf883,_0x53efc8,_0x4588ba){const _0x56b3da=_0x30e32e;super(),_0x5444ab(this,'_status$',new _0x38f1b1[(_0x56b3da(0x339))](_0x3120ea[_0x56b3da(0xd8)][_0x56b3da(0x13b)])),(this[_0x56b3da(0x2ae)]=_0x213df7,this[_0x56b3da(0x305)]=_0x1bf883,this['_collaborationController']=_0x53efc8,this[_0x56b3da(0x330)]=_0x4588ba,this[_0x56b3da(0x1bd)](),this[_0x56b3da(0x1c9)]());}[_0x30e32e(0x1c9)](){const _0x3d0044=_0x30e32e;this[_0x3d0044(0x222)](this[_0x3d0044(0x2ae)][_0x3d0044(0x1ae)]['pipe'](_0x38f1b1[_0x3d0044(0x23b)](()=>{const _0x6e7f7c=_0x3d0044,_0x8b9640=this[_0x6e7f7c(0x2ae)][_0x6e7f7c(0x119)]();return _0x8b9640?this[_0x6e7f7c(0x206)]['getCollabEntity$'](_0x8b9640[_0x6e7f7c(0x2a6)]()):_0x38f1b1['of'](null);}),_0x38f1b1[_0x3d0044(0x23b)](_0x1a100b=>_0x1a100b?_0x1a100b[_0x3d0044(0x2ce)]:_0x38f1b1['of'](_0x3120ea[_0x3d0044(0xd8)]['NOT_COLLAB'])))[_0x3d0044(0x15c)](_0x456df5=>{const _0x504965=_0x3d0044;this[_0x504965(0x1de)][_0x504965(0x241)](_0x456df5);}));}[_0x30e32e(0x1bd)](){const _0xba6106=_0x30e32e;this[_0xba6106(0x222)](this[_0xba6106(0x330)][_0xba6106(0x149)](_0xd67382[_0xba6106(0xee)][_0xba6106(0x261)],()=>_0xd67382[_0xba6106(0x1e1)](_0x41e9b5({'status$':this[_0xba6106(0x1de)]['asObservable']()}),this[_0xba6106(0x305)])));}},_0xd8ff59[_0x30e32e(0x2bb)]=_0x164122([_0x59d53c(0x0,_0x4de4d0[_0x30e32e(0x268)]),_0x59d53c(0x1,_0x4de4d0[_0x30e32e(0x231)](_0x4de4d0['Injector'])),_0x59d53c(0x2,_0x4de4d0[_0x30e32e(0x231)](_0x3120ea[_0x30e32e(0x14b)])),_0x59d53c(0x3,_0xd67382['IUIPartsService'])],_0xd8ff59[_0x30e32e(0x2bb)]);function _0x41e9b5(_0x5d269a){const {status$:_0x531528}=_0x5d269a;return function(){const _0x27801d=_0x9579;return _0x435cc4[_0x27801d(0xe5)](_0x32cfb5,{'status$':_0x531528});};}const _0x5b0d62=_0x4de4d0[_0x30e32e(0x334)](_0x30e32e(0x2f1));var _0x1d5902=Object[_0x30e32e(0x307)],_0x14deaf=(_0x53f1f7,_0x5589d8,_0x594b98,_0x134548)=>{const _0x4d092b=_0x30e32e;for(var _0xa92287=_0x134548>0x1?void 0x0:_0x134548?_0x1d5902(_0x5589d8,_0x594b98):_0x5589d8,_0x32e0ad=_0x53f1f7[_0x4d092b(0x1fa)]-0x1,_0x4c322e;_0x32e0ad>=0x0;_0x32e0ad--)(_0x4c322e=_0x53f1f7[_0x32e0ad])&&(_0xa92287=_0x4c322e(_0xa92287)||_0xa92287);return _0xa92287;},_0x135df0=(_0x3ee8e0,_0x274043)=>(_0x48813a,_0x2a3b7a)=>_0x274043(_0x48813a,_0x2a3b7a,_0x3ee8e0);_0xd8ff59[_0x30e32e(0x2be)]=class extends _0x4de4d0[_0x30e32e(0x18c)]{constructor(_0x1e3f0e,_0x5a30ac,_0x1769c6,_0x5008a1,_0x21b152){const _0x507a42=_0x30e32e;super(),this[_0x507a42(0x1d3)]=_0x1e3f0e,this[_0x507a42(0x1b9)]=_0x5a30ac,this[_0x507a42(0x30d)]=_0x1769c6,this['_dataLoaderService']=_0x5008a1,_0x21b152?_0x21b152==null||_0x21b152[_0x507a42(0x14c)]()[_0x507a42(0x291)](()=>this[_0x507a42(0x315)]()):(this[_0x507a42(0x1b9)]['debug'](_0x507a42(0x354),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x507a42(0x315)]());}async[_0x30e32e(0x315)](){const _0x5c90ef=_0x30e32e,_0x5a5a67=this[_0x5c90ef(0x1d3)]['getParam']('unit'),_0x471426=this['_urlService'][_0x5c90ef(0x12d)]('type'),_0x502b44=this[_0x5c90ef(0x1d3)]['getParam']('subunit');if(!_0x5a5a67||!_0x471426){this[_0x5c90ef(0x1b9)]['debug'](_0x5c90ef(0x354),_0x5c90ef(0x131));return;}const _0x3f530d=await this[_0x5c90ef(0xc1)][_0x5c90ef(0x358)](_0x5a5a67,Number(_0x471426),_0x502b44);_0x3f530d&&_0x3f530d instanceof _0x4de4d0[_0x5c90ef(0x2cd)]&&this[_0x5c90ef(0x257)](_0x3f530d);}async['_setupSubUnitSync'](_0x126166){const _0x36357c=_0x30e32e;await this[_0x36357c(0xbd)](_0x126166),_0x126166[_0x36357c(0x321)]['pipe'](_0x38f1b1[_0x36357c(0x277)](this[_0x36357c(0x34e)]))['subscribe'](_0x2788dc=>{_0x2788dc&&this['_updateURLWithCurrentState'](_0x2788dc);}),this[_0x36357c(0x1d3)][_0x36357c(0x21d)][_0x36357c(0x320)](_0x38f1b1[_0x36357c(0x277)](this[_0x36357c(0x34e)]))[_0x36357c(0x15c)](()=>this[_0x36357c(0xbd)](_0x126166));}[_0x30e32e(0x16d)](_0x3c9a03,_0xc2b336=!0x1){const _0x139e7e=_0x30e32e,_0x1dacaf=this[_0x139e7e(0x1d3)][_0x139e7e(0x12d)](_0x139e7e(0xeb));_0x3c9a03[_0x139e7e(0x2ba)]()!==_0x1dacaf&&this['_urlService'][_0x139e7e(0x235)](_0x139e7e(0xeb),_0x3c9a03[_0x139e7e(0x2ba)](),_0xc2b336);}async[_0x30e32e(0xbd)](_0x5c01fd){const _0x321bd9=_0x30e32e;var _0x372128;const _0x41bd7=this[_0x321bd9(0x1d3)]['getParam'](_0x321bd9(0xeb));if(!_0x41bd7||!_0x5c01fd[_0x321bd9(0x10e)](_0x41bd7)){const _0x3d0e04=_0x5c01fd[_0x321bd9(0x225)]()[0x0],_0x59de48=_0x5c01fd[_0x321bd9(0x10e)](_0x3d0e04);if(!_0x59de48)return;this[_0x321bd9(0x16d)](_0x59de48,!0x0),await this['_commandService'][_0x321bd9(0x2dc)](_0x583b4c['SetWorksheetActivateCommand']['id'],{'unitId':_0x5c01fd[_0x321bd9(0x2a6)](),'subUnitId':_0x3d0e04});return;}((_0x372128=_0x5c01fd[_0x321bd9(0x273)]())==null?void 0x0:_0x372128[_0x321bd9(0x2ba)]())!==_0x41bd7&&await this[_0x321bd9(0x30d)][_0x321bd9(0x2dc)](_0x583b4c[_0x321bd9(0x108)]['id'],{'unitId':_0x5c01fd['getUnitId'](),'subUnitId':_0x41bd7});}},_0xd8ff59['CollaborationDataLoaderController']=_0x14deaf([_0x135df0(0x0,_0x5b0d62),_0x135df0(0x1,_0x4de4d0['ILogService']),_0x135df0(0x2,_0x4de4d0[_0x30e32e(0x362)]),_0x135df0(0x3,_0x4de4d0[_0x30e32e(0x231)](_0x3120ea[_0x30e32e(0x154)])),_0x135df0(0x4,_0x4de4d0[_0x30e32e(0x26e)](_0x2ffd65[_0x30e32e(0x207)]))],_0xd8ff59[_0x30e32e(0x2be)]);var _0x5efa44=Object['getOwnPropertyDescriptor'],_0x1711d0=(_0x414092,_0x1b8878,_0x329eb9,_0x115826)=>{const _0x284550=_0x30e32e;for(var _0x513838=_0x115826>0x1?void 0x0:_0x115826?_0x5efa44(_0x1b8878,_0x329eb9):_0x1b8878,_0x4b5004=_0x414092[_0x284550(0x1fa)]-0x1,_0x2c25b5;_0x4b5004>=0x0;_0x4b5004--)(_0x2c25b5=_0x414092[_0x4b5004])&&(_0x513838=_0x2c25b5(_0x513838)||_0x513838);return _0x513838;},_0x46bfa3=(_0xba1f85,_0x193665)=>(_0x4333f3,_0x4e7166)=>_0x193665(_0x4333f3,_0x4e7166,_0xba1f85);let _0x2e2308=class extends _0x4de4d0[_0x30e32e(0x18c)]{constructor(_0xda4535,_0x3e728f){const _0x4f03d6=_0x30e32e;super(),this[_0x4f03d6(0x31b)]=_0xda4535,this['_imageIoService']=_0x3e728f,this[_0x4f03d6(0x315)]();}[_0x30e32e(0x315)](){const _0x4fc1c1=_0x30e32e,_0x59355c=this;this[_0x4fc1c1(0x222)](this[_0x4fc1c1(0x31b)]['addClipboardHook']({'onBeforePasteImage':async _0x22fa79=>{const _0x5afce4=_0x4fc1c1,_0x516ba8=await _0x59355c[_0x5afce4(0x1da)]['saveImage'](_0x22fa79);return _0x516ba8?{'source':_0x516ba8[_0x5afce4(0x1f0)],'imageSourceType':_0x516ba8[_0x5afce4(0x333)]}:null;}}));}};_0x2e2308=_0x1711d0([_0x46bfa3(0x0,_0x7f4e56['IDocClipboardService']),_0x46bfa3(0x1,_0x3b33c8[_0x30e32e(0x128)])],_0x2e2308);const _0x330189=[_0x30e32e(0x14e),_0x30e32e(0x316),_0x30e32e(0x168),_0x30e32e(0x103),_0x30e32e(0x2ab),_0x30e32e(0x22f)];class _0x395d90 extends _0x4de4d0[_0x30e32e(0x238)]{constructor(){const _0x6ce7=_0x30e32e;super(...arguments),_0x5444ab(this,_0x6ce7(0x1f5),new Map()),_0x5444ab(this,'_colorIndex',0x0);}[_0x30e32e(0xf1)](_0x31916e){const _0x19ee93=_0x30e32e;if(this[_0x19ee93(0x1f5)][_0x19ee93(0xe8)](_0x31916e))return this[_0x19ee93(0x1f5)][_0x19ee93(0x259)](_0x31916e);const _0x95f6e1=_0x330189[this[_0x19ee93(0x2e3)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x330189[_0x19ee93(0x1fa)],this[_0x19ee93(0x1f5)][_0x19ee93(0x201)](_0x31916e,_0x95f6e1),_0x95f6e1;}}function _0x4ea8af(_0x5a4f6b){const _0x339ea9=_0x30e32e;let _0x4995da='';for(const _0x2b08a9 of _0x5a4f6b){const {startOffset:_0xf9dbdb,endOffset:_0x32efd9,isActive:_0x9b449f,rangeType:_0x5431a8,segmentId:_0x429080,segmentPage:_0x43ada8}=_0x2b08a9;_0x4995da[_0x339ea9(0x1fa)]&&(_0x4995da+=','),_0x4995da+=_0xf9dbdb+':'+_0x32efd9+':'+(_0x9b449f?'1':'0')+':'+_0x5431a8+':'+_0x429080+':'+_0x43ada8;}return _0x4995da;}function _0x332956(_0x4f68ec){const _0x164de9=_0x30e32e,_0xc05c2b=_0x4f68ec[_0x164de9(0x16c)](','),_0x31d203=[];for(const _0x25e412 of _0xc05c2b){const [_0x488e59,_0x52c2df,_0x5226b3,_0xd4e85b,_0x16ea1c,_0x4efb5d]=_0x25e412['split'](':');_0x31d203[_0x164de9(0x209)]({'startOffset':Number(_0x488e59),'endOffset':Number(_0x52c2df),'collapsed':_0x488e59===_0x52c2df,'isActive':_0x5226b3==='1','rangeType':_0xd4e85b===_0x4de4d0[_0x164de9(0x2d9)][_0x164de9(0xd1)]?_0x4de4d0[_0x164de9(0x2d9)][_0x164de9(0xd1)]:_0x4de4d0['DOC_RANGE_TYPE'][_0x164de9(0x1f2)],'segmentId':typeof _0x16ea1c==_0x164de9(0x19a)?String(_0x16ea1c):'','segmentPage':Number(_0x4efb5d!=null?_0x4efb5d:-0x1)});}return _0x31d203[_0x164de9(0xcd)](_0x29f42e=>_0x29f42e[_0x164de9(0x262)])||(_0x31d203[0x0][_0x164de9(0x262)]=!0x0),_0x31d203;}class _0x304aed extends _0x4de4d0[_0x30e32e(0x18c)]{constructor(){const _0x3fce07=_0x30e32e;super(...arguments),_0x5444ab(this,_0x3fce07(0x288),new _0x38f1b1[(_0x3fce07(0x339))](null)),_0x5444ab(this,'collabCursorState$',this['_collabCursorState$'][_0x3fce07(0x2d7)]());}[_0x30e32e(0x188)](_0x173f27){const _0x57554a=_0x30e32e,{unitID:_0xf69501,memberID:_0x4b19f9,textRanges:_0x241d76}=_0x173f27,_0x1922de=_0x4ea8af(_0x241d76);if(_0x1922de==='')return;const _0x320303={'unitID':_0xf69501,'memberID':_0x4b19f9,'selection':_0x1922de};this[_0x57554a(0x288)][_0x57554a(0x241)](_0x320303);}}var _0x3af5c4=Object[_0x30e32e(0x307)],_0x1b6d37=(_0x4def81,_0x43d942,_0x11d897,_0x502f91)=>{const _0x2bd1ca=_0x30e32e;for(var _0xd5fb1f=_0x502f91>0x1?void 0x0:_0x502f91?_0x3af5c4(_0x43d942,_0x11d897):_0x43d942,_0x39fc39=_0x4def81[_0x2bd1ca(0x1fa)]-0x1,_0x1a9f50;_0x39fc39>=0x0;_0x39fc39--)(_0x1a9f50=_0x4def81[_0x39fc39])&&(_0xd5fb1f=_0x1a9f50(_0xd5fb1f)||_0xd5fb1f);return _0xd5fb1f;},_0x28ecae=(_0xab5ba5,_0x5f1dde)=>(_0x31c98c,_0x20b94f)=>_0x5f1dde(_0x31c98c,_0x20b94f,_0xab5ba5);const _0x3d90c2=0x12c,_0x5ef73f=0x64;let _0x354ed2=class extends _0x4de4d0[_0x30e32e(0x18c)]{constructor(_0x1e3b44,_0x34acaa,_0x1dc69b,_0xe5ea76,_0x50ef15,_0x15d862,_0x45c822,_0x4d518a,_0x418896){const _0x3cbf96=_0x30e32e;super(),_0x5444ab(this,_0x3cbf96(0x2fc),!0x1),_0x5444ab(this,_0x3cbf96(0x315),!0x1),_0x5444ab(this,_0x3cbf96(0x282),new _0x38f1b1[(_0x3cbf96(0x339))](new Map())),_0x5444ab(this,_0x3cbf96(0x159),this['_cursorInfo$'][_0x3cbf96(0x2d7)]()),_0x5444ab(this,_0x3cbf96(0x2c0),new _0x38f1b1['BehaviorSubject']([])),_0x5444ab(this,'roomMembers$',this[_0x3cbf96(0x2c0)][_0x3cbf96(0x320)](_0x38f1b1['debounceTime'](_0x3d90c2))),_0x5444ab(this,_0x3cbf96(0x13a),_0x4de4d0[_0x3cbf96(0x1d4)](_0x51e1d1=>{const _0x1e86f3=_0x3cbf96,_0x30b6b8={'eventID':_0xcf4b95[_0x1e86f3(0x130)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1e86f3(0x224)],'memberID':this[_0x1e86f3(0x1a7)]['getMemberID'](),'selection':_0x4ea8af(_0x51e1d1)}};this[_0x1e86f3(0x1a7)][_0x1e86f3(0x33e)](_0x30b6b8,this['unitID']);},_0x5ef73f)),(this[_0x3cbf96(0x224)]=_0x1e3b44,this[_0x3cbf96(0x1a7)]=_0x34acaa,this[_0x3cbf96(0x305)]=_0x1dc69b,this[_0x3cbf96(0xf8)]=_0xe5ea76,this[_0x3cbf96(0x34f)]=_0x50ef15,this[_0x3cbf96(0x30b)]=_0x15d862,this[_0x3cbf96(0x14d)]=_0x45c822,this[_0x3cbf96(0x2ae)]=_0x4d518a,this[_0x3cbf96(0x30d)]=_0x418896);}get['cursorInfo'](){const _0x1e7edb=_0x30e32e;return this['_cursorInfo$'][_0x1e7edb(0x272)]();}get[_0x30e32e(0x28d)](){const _0x1ad9b3=_0x30e32e;return this[_0x1ad9b3(0x2c0)][_0x1ad9b3(0x272)]();}['dispose'](){const _0x12d352=_0x30e32e;super[_0x12d352(0x327)](),this[_0x12d352(0x282)][_0x12d352(0x241)](new Map()),this['_cursorInfo$'][_0x12d352(0x178)](),this['_roomMembers$'][_0x12d352(0x241)]([]),this[_0x12d352(0x2c0)]['complete']();}['init'](){const _0x37d18f=_0x30e32e;this[_0x37d18f(0x315)]||(this['_init']=!0x0,this[_0x37d18f(0x1a7)][_0x37d18f(0x332)][_0x37d18f(0x320)](_0x38f1b1[_0x37d18f(0x277)](this[_0x37d18f(0x34e)]))[_0x37d18f(0x15c)](_0x39e92d=>{const _0x109ba4=_0x37d18f;_0x39e92d===_0x3120ea[_0x109ba4(0x21a)][_0x109ba4(0x2ed)]?this[_0x109ba4(0x125)]():this['_toggleOffline']();}),this[_0x37d18f(0x1a7)]['event$'][_0x37d18f(0x320)](_0x38f1b1[_0x37d18f(0x277)](this[_0x37d18f(0x34e)]))[_0x37d18f(0x15c)](_0x47d663=>{const _0x388b7f=_0x37d18f,_0x1760e9=_0x47d663[_0x388b7f(0x221)];_0x1760e9===_0xcf4b95[_0x388b7f(0x130)][_0x388b7f(0x101)]&&this[_0x388b7f(0x19c)](_0x47d663),_0x1760e9===_0xcf4b95['CollaborationEvent']['USERS_LEAVE']&&this[_0x388b7f(0x25e)](_0x47d663);}),this[_0x37d18f(0x222)](this['_commandService'][_0x37d18f(0x2df)](_0x213f9a=>{const _0x53f6e2=_0x37d18f,_0x5a0ea2=_0x213f9a[_0x53f6e2(0x317)];_0x5a0ea2!=null&&this['_online']&&_0x213f9a['id']===_0x455bfa[_0x53f6e2(0x208)]['id']&&_0x5a0ea2[_0x53f6e2(0x20c)]===this[_0x53f6e2(0x224)]&&_0x5a0ea2[_0x53f6e2(0x1e4)]===!0x1&&_0x5a0ea2['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x5a0ea2[_0x53f6e2(0x1f1)]);})),this[_0x37d18f(0x30b)][_0x37d18f(0x169)]['pipe'](_0x38f1b1['takeUntil'](this['dispose$']))[_0x37d18f(0x15c)](_0x420a3e=>{const _0x59b0fa=_0x37d18f;if((_0x420a3e==null?void 0x0:_0x420a3e[_0x59b0fa(0x224)])!==this['unitID'])return;const _0x37e2c5={'eventID':_0xcf4b95[_0x59b0fa(0x130)][_0x59b0fa(0x101)],'data':_0x420a3e};this['_onCursorUpdate'](_0x37e2c5);}),this[_0x37d18f(0x222)](this[_0x37d18f(0x30d)][_0x37d18f(0x2df)](_0x19f935=>{const _0x28ed10=_0x37d18f;if(_0x19f935[_0x28ed10(0x317)]==null)return;const _0x5bb9ff=_0x19f935['params'];if(_0x19f935['id']!==_0x455bfa[_0x28ed10(0x193)]['id']||_0x5bb9ff['unitId']!==this[_0x28ed10(0x224)])return;const _0x49ac6b={'id':_0x28ed10(0x12e),'params':_0x5bb9ff},_0x2f08db=this[_0x28ed10(0x2aa)];for(const [_0xd8836c,_0x243b92]of _0x2f08db){const _0x81c393={'id':_0x28ed10(0x12e),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x243b92[_0x28ed10(0x1f1)]}},_0x194818=this[_0x28ed10(0x14d)][_0x28ed10(0x127)](_0x49ac6b,_0x81c393,!0x1);if(_0xcf4b95[_0x28ed10(0x177)](_0x194818))throw _0x194818['error'];_0x2f08db[_0x28ed10(0x201)](_0xd8836c,{..._0x243b92,'ranges':_0x194818['m2Prime']['params'][_0x28ed10(0x23f)]});}queueMicrotask(()=>{const _0x1b079d=_0x28ed10;this[_0x1b079d(0x282)][_0x1b079d(0x241)](_0x2f08db);});})));}[_0x30e32e(0x19c)](_0x85e2bc){const _0x5f24ad=_0x30e32e;var _0x55aad2,_0x36187c;const {memberID:_0x5a95b2,selection:_0x5469fe}=_0x85e2bc[_0x5f24ad(0x1ac)],_0x25642f=_0x332956(_0x5469fe),_0x2b84a5=(_0x36187c=(_0x55aad2=this[_0x5f24ad(0x34f)][_0x5f24ad(0x185)](this[_0x5f24ad(0x224)],_0x5a95b2))==null?void 0x0:_0x55aad2[_0x5f24ad(0x102)])!=null?_0x36187c:_0x5f24ad(0x24d),_0x268ccc={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x5a95b2),'name':_0x2b84a5,'ranges':_0x25642f},_0x286ef9=this[_0x5f24ad(0x2aa)];_0x286ef9['set'](_0x5a95b2,_0x268ccc),this[_0x5f24ad(0x282)][_0x5f24ad(0x241)](_0x286ef9);}[_0x30e32e(0x25e)](_0x555b8d){const _0x404c01=_0x30e32e,{memberID:_0x365c43}=_0x555b8d[_0x404c01(0x1ac)],_0x2aea9a=this[_0x404c01(0x2aa)];_0x2aea9a[_0x404c01(0xd3)](_0x365c43),this[_0x404c01(0x282)][_0x404c01(0x241)](_0x2aea9a);}[_0x30e32e(0x125)](){const _0x344611=_0x30e32e;var _0x29d47d;if(this[_0x344611(0x2fc)]=!0x0,((_0x29d47d=this['_univerInstanceService'][_0x344611(0x119)]())==null?void 0x0:_0x29d47d['getUnitId']())!==this['unitID'])return;const _0x384654=this['_injector'][_0x344611(0x259)](_0x455bfa[_0x344611(0x242)])[_0x344611(0x33c)]();Array['isArray'](_0x384654)&&_0x384654[_0x344611(0x1fa)]>0x0&&this[_0x344611(0x13a)](_0x384654);}[_0x30e32e(0xda)](){this['_online']=!0x1;}};_0x354ed2=_0x1b6d37([_0x28ecae(0x2,_0x4de4d0[_0x30e32e(0x231)](_0x4de4d0[_0x30e32e(0x214)])),_0x28ecae(0x3,_0x4de4d0[_0x30e32e(0x231)](_0x395d90)),_0x28ecae(0x4,_0x4de4d0[_0x30e32e(0x231)](_0x3120ea[_0x30e32e(0x22b)])),_0x28ecae(0x5,_0x4de4d0[_0x30e32e(0x231)](_0x304aed)),_0x28ecae(0x6,_0xcf4b95[_0x30e32e(0x1d6)]),_0x28ecae(0x7,_0x4de4d0[_0x30e32e(0x268)]),_0x28ecae(0x8,_0x4de4d0['ICommandService'])],_0x354ed2);var _0x8624b1=Object[_0x30e32e(0x307)],_0x5b9ca8=(_0x5c0cfe,_0x41f011,_0x288b5c,_0x4149c6)=>{const _0x381cf7=_0x30e32e;for(var _0x576c15=_0x4149c6>0x1?void 0x0:_0x4149c6?_0x8624b1(_0x41f011,_0x288b5c):_0x41f011,_0x49225c=_0x5c0cfe[_0x381cf7(0x1fa)]-0x1,_0x29b076;_0x49225c>=0x0;_0x49225c--)(_0x29b076=_0x5c0cfe[_0x49225c])&&(_0x576c15=_0x29b076(_0x576c15)||_0x576c15);return _0x576c15;},_0x5280a1=(_0x37fdf8,_0x2ee768)=>(_0x280235,_0x548518)=>_0x2ee768(_0x280235,_0x548518,_0x37fdf8);const _0x26a187=0x12c,_0x4bab6f=0x64,_0xa5e46d=()=>{let _0x191930=[],_0x260de3=!0x1;return _0x1d33ce=>{_0x191930['push'](_0x1d33ce),_0x260de3||(_0x260de3=!0x0,setTimeout(()=>{const _0x4fc4e6=_0x9579;_0x191930[_0x4fc4e6(0x265)](_0x37382f=>_0x37382f()),_0x191930=[],_0x260de3=!0x1;}));};};let _0x27973f=class extends _0x4de4d0[_0x30e32e(0x18c)]{constructor(_0x19df8a,_0x8c8172,_0x42a0e1,_0x591d65,_0x3ffc4f,_0x1025ac,_0x4a85c3,_0x8d8af){const _0x2a2900=_0x30e32e;super(),_0x5444ab(this,'_online',!0x1),_0x5444ab(this,_0x2a2900(0x315),!0x1),_0x5444ab(this,'_cursorInfo$',new _0x38f1b1[(_0x2a2900(0x339))](new Map())),_0x5444ab(this,'cursorInfo$',this[_0x2a2900(0x282)]['asObservable']()),_0x5444ab(this,'_roomMembers$',new _0x38f1b1[(_0x2a2900(0x339))]([])),_0x5444ab(this,_0x2a2900(0xef),this[_0x2a2900(0x2c0)][_0x2a2900(0x320)](_0x38f1b1[_0x2a2900(0xd5)](_0x26a187))),_0x5444ab(this,'_updateLocalCursor',_0x4de4d0[_0x2a2900(0x1d4)]((_0x238ec4,_0x26f701)=>{const _0x14d4ec=_0x2a2900,_0x3f518d={'eventID':_0xcf4b95[_0x14d4ec(0x130)][_0x14d4ec(0x101)],'data':{'unitID':this[_0x14d4ec(0x224)],'memberID':this[_0x14d4ec(0x1a7)][_0x14d4ec(0x286)](),'selection':_0xd8f82c[_0x14d4ec(0x1ed)](_0x238ec4,_0x26f701['range'])}};this[_0x14d4ec(0x1a7)][_0x14d4ec(0x33e)](_0x3f518d,this[_0x14d4ec(0x224)]);},_0x4bab6f)),(this[_0x2a2900(0x224)]=_0x19df8a,this[_0x2a2900(0x1a7)]=_0x8c8172,this[_0x2a2900(0x305)]=_0x42a0e1,this['_colorAssignService']=_0x591d65,this[_0x2a2900(0x34f)]=_0x3ffc4f,this[_0x2a2900(0x2ae)]=_0x1025ac,this[_0x2a2900(0x30d)]=_0x4a85c3,this['_refRangeService']=_0x8d8af);}get[_0x30e32e(0x2aa)](){const _0x355cbe=_0x30e32e;return this[_0x355cbe(0x282)][_0x355cbe(0x272)]();}get[_0x30e32e(0x28d)](){const _0xbdaba=_0x30e32e;return this[_0xbdaba(0x2c0)][_0xbdaba(0x272)]();}[_0x30e32e(0x327)](){const _0x546723=_0x30e32e;super[_0x546723(0x327)](),this[_0x546723(0x282)][_0x546723(0x241)](new Map()),this[_0x546723(0x282)][_0x546723(0x178)](),this[_0x546723(0x2c0)]['next']([]),this[_0x546723(0x2c0)]['complete']();}[_0x30e32e(0x17a)](){const _0x1be048=_0x30e32e;this[_0x1be048(0x315)]||(this[_0x1be048(0x315)]=!0x0,this[_0x1be048(0x1a7)][_0x1be048(0x332)][_0x1be048(0x320)](_0x38f1b1[_0x1be048(0x277)](this[_0x1be048(0x34e)]))[_0x1be048(0x15c)](_0x34fdc2=>{const _0x32c598=_0x1be048;_0x34fdc2===_0x3120ea[_0x32c598(0x21a)][_0x32c598(0x2ed)]?this['_toggleOnline']():this[_0x32c598(0xda)]();}),this[_0x1be048(0x1a7)][_0x1be048(0x21c)]['pipe'](_0x38f1b1[_0x1be048(0x277)](this[_0x1be048(0x34e)]))[_0x1be048(0x15c)](_0x2992e3=>{const _0x549d14=_0x1be048,_0x8ce8b4=_0x2992e3[_0x549d14(0x221)];_0x8ce8b4===_0xcf4b95['CollaborationEvent'][_0x549d14(0x101)]&&this[_0x549d14(0x19c)](_0x2992e3),_0x8ce8b4===_0xcf4b95['CollaborationEvent'][_0x549d14(0x312)]&&this[_0x549d14(0x25e)](_0x2992e3);}),this[_0x1be048(0x32c)](),this['disposeWithMe'](this[_0x1be048(0x30d)][_0x1be048(0x2df)](_0x303ff8=>{const _0x410049=_0x1be048;if(this[_0x410049(0x2fc)]&&_0x303ff8['id']===_0x583b4c[_0x410049(0xcb)]['id']&&_0x303ff8[_0x410049(0x317)][_0x410049(0x20c)]===this[_0x410049(0x224)]){const _0x4d20b8=_0x303ff8[_0x410049(0x317)];this['_updateLocalCursor'](_0x4d20b8[_0x410049(0x356)],_0x4d20b8[_0x410049(0x243)][0x0]);}})));}[_0x30e32e(0x19c)](_0x4d62cf){const _0x30da33=_0x30e32e;var _0x2032b7,_0x2998c6;const {memberID:_0x307b47,selection:_0x5aff46}=_0x4d62cf[_0x30da33(0x1ac)],{sheetName:_0x394c5b,range:_0x336960}=_0xd8f82c[_0x30da33(0x303)](_0x5aff46),_0x55328e={'name':(_0x2998c6=(_0x2032b7=this[_0x30da33(0x34f)][_0x30da33(0x185)](this[_0x30da33(0x224)],_0x307b47))==null?void 0x0:_0x2032b7['name'])!=null?_0x2998c6:_0x30da33(0x24d),'range':this[_0x30da33(0x117)](_0x394c5b,_0x336960),'sheetID':_0x394c5b,'color':this[_0x30da33(0xf8)][_0x30da33(0xf1)](_0x307b47),'selection':_0x5aff46},_0x5446b3=this[_0x30da33(0x2aa)];_0x5446b3['set'](_0x307b47,_0x55328e),this[_0x30da33(0x282)][_0x30da33(0x241)](_0x5446b3);}['_onCursorDelete'](_0x5b99cc){const _0x1dc218=_0x30e32e,{memberID:_0x21e53d}=_0x5b99cc['data'],_0x5bd6a5=this[_0x1dc218(0x2aa)];_0x5bd6a5[_0x1dc218(0xd3)](_0x21e53d),this['_cursorInfo$'][_0x1dc218(0x241)](_0x5bd6a5);}[_0x30e32e(0x117)](_0x3188e4,_0xd41569){const _0x2f7506=_0x30e32e;var _0x3197b9,_0x45dc72;const _0x2679ea=(_0x45dc72=(_0x3197b9=this[_0x2f7506(0x2ae)][_0x2f7506(0x25d)](this[_0x2f7506(0x224)]))==null?void 0x0:_0x3197b9[_0x2f7506(0x10e)](_0x3188e4))==null?void 0x0:_0x45dc72[_0x2f7506(0x1d0)]();return(_0x2679ea==null?void 0x0:_0x2679ea[_0x2f7506(0x1bc)](_0x3def64=>_0x4de4d0[_0x2f7506(0x2e4)]['contains'](_0x3def64,_0xd41569)))||_0xd41569;}['_onRefRangeChange'](){const _0x1777a9=_0x30e32e,_0x5f0aad=new _0x4de4d0[(_0x1777a9(0xea))](),_0x42e5b2=_0xa5e46d(),_0x588dbc=()=>{const _0x200c85=_0x1777a9;_0x5f0aad[_0x200c85(0x327)]();const _0x3fe3c9=(_0x104668,_0x16a2f4,_0x195279,_0x553858)=>{const _0x4a9ba7=_0x200c85;let _0x1b5fda=[];switch(_0x104668['id']){case _0x583b4c['EffectRefRangId'][_0x4a9ba7(0x2ca)]:{_0x1b5fda=_0x583b4c[_0x4a9ba7(0x13f)](_0x104668,_0x553858);break;}case _0x583b4c[_0x4a9ba7(0x126)][_0x4a9ba7(0x301)]:{_0x1b5fda=_0x583b4c[_0x4a9ba7(0x31c)](_0x104668,_0x553858);break;}case _0x583b4c[_0x4a9ba7(0x126)][_0x4a9ba7(0x302)]:{_0x1b5fda=_0x583b4c[_0x4a9ba7(0x16f)](_0x104668,_0x553858);break;}case _0x583b4c[_0x4a9ba7(0x126)][_0x4a9ba7(0x186)]:{_0x1b5fda=_0x583b4c[_0x4a9ba7(0x2ff)](_0x104668,_0x553858);break;}case _0x583b4c[_0x4a9ba7(0x126)][_0x4a9ba7(0x2f8)]:{_0x1b5fda=_0x583b4c['handleInsertRangeMoveRight'](_0x104668,_0x553858);break;}case _0x583b4c[_0x4a9ba7(0x126)][_0x4a9ba7(0x17f)]:{_0x1b5fda=_0x583b4c[_0x4a9ba7(0xbc)](_0x104668,_0x553858);break;}case _0x583b4c[_0x4a9ba7(0x126)][_0x4a9ba7(0xc3)]:{_0x1b5fda=_0x583b4c[_0x4a9ba7(0xdc)](_0x104668,_0x553858);break;}case _0x583b4c[_0x4a9ba7(0x126)][_0x4a9ba7(0x236)]:{_0x1b5fda=_0x583b4c['handleIRemoveCol'](_0x104668,_0x553858);break;}case _0x583b4c['EffectRefRangId'][_0x4a9ba7(0x112)]:{_0x1b5fda=_0x583b4c[_0x4a9ba7(0x1c7)](_0x104668,_0x553858);break;}}const _0x44490d=_0x583b4c[_0x4a9ba7(0x33b)](_0x1b5fda,_0x553858),_0x1964b4=this[_0x4a9ba7(0x2aa)]['get'](_0x16a2f4);if(_0x1964b4&&_0x44490d){const _0x217e4b={..._0x1964b4,'range':_0x44490d};this[_0x4a9ba7(0x2aa)][_0x4a9ba7(0x201)](_0x16a2f4,_0x217e4b),_0x42e5b2(()=>{const _0x1577ac=_0x4a9ba7,_0x3e59d4=this[_0x1577ac(0x15f)][_0x1577ac(0x287)](_0x44490d,_0x4fa838=>(_0x3e59d4['dispose'](),_0x3fe3c9(_0x4fa838,_0x16a2f4,_0x195279,_0x44490d)));_0x5f0aad[_0x1577ac(0x2e0)](_0x3e59d4);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x200c85(0x265)]((_0x575585,_0x10522a)=>{const _0x8e2528=_0x200c85,{range:_0x3b0913,sheetID:_0x4cd6e3}=_0x575585,_0x293e10=this[_0x8e2528(0x15f)][_0x8e2528(0x287)](_0x3b0913,_0x32a26d=>(_0x293e10[_0x8e2528(0x327)](),_0x3fe3c9(_0x32a26d,_0x10522a,_0x4cd6e3,_0x3b0913)));_0x5f0aad[_0x8e2528(0x2e0)](_0x293e10);});};this['disposeWithMe'](_0x4de4d0['toDisposable'](this[_0x1777a9(0x282)][_0x1777a9(0x15c)](()=>{_0x588dbc();})));}[_0x30e32e(0x125)](){const _0x4a93c9=_0x30e32e;var _0x26050e,_0x348733;if(this[_0x4a93c9(0x2fc)]=!0x0,((_0x26050e=this[_0x4a93c9(0x2ae)][_0x4a93c9(0x119)]())==null?void 0x0:_0x26050e[_0x4a93c9(0x2a6)]())!==this[_0x4a93c9(0x224)])return;const _0x2ef372=(_0x348733=this[_0x4a93c9(0x305)][_0x4a93c9(0x259)](_0x583b4c[_0x4a93c9(0x104)])['getCurrentSelections']())==null?void 0x0:_0x348733[0x0],_0x19596a=this[_0x4a93c9(0x2ae)]['getCurrentUnitForType'](_0x4de4d0[_0x4a93c9(0x1b5)][_0x4a93c9(0x324)])[_0x4a93c9(0x273)]();_0x2ef372&&_0x19596a&&this[_0x4a93c9(0x13a)](_0x19596a[_0x4a93c9(0x2ba)](),_0x2ef372);}[_0x30e32e(0xda)](){this['_online']=!0x1;}};_0x27973f=_0x5b9ca8([_0x5280a1(0x2,_0x4de4d0[_0x30e32e(0x231)](_0x4de4d0[_0x30e32e(0x214)])),_0x5280a1(0x3,_0x4de4d0['Inject'](_0x395d90)),_0x5280a1(0x4,_0x4de4d0[_0x30e32e(0x231)](_0x3120ea['MemberService'])),_0x5280a1(0x5,_0x4de4d0[_0x30e32e(0x268)]),_0x5280a1(0x6,_0x4de4d0[_0x30e32e(0x362)]),_0x5280a1(0x7,_0x4de4d0['Inject'](_0x583b4c[_0x30e32e(0x228)]))],_0x27973f);var _0x11fca1=Object[_0x30e32e(0x307)],_0x3744af=(_0xed7394,_0x4bcc1e,_0x1fe1c4,_0x34c01e)=>{for(var _0x32a6ce=_0x34c01e>0x1?void 0x0:_0x34c01e?_0x11fca1(_0x4bcc1e,_0x1fe1c4):_0x4bcc1e,_0x110bf2=_0xed7394['length']-0x1,_0x4fe704;_0x110bf2>=0x0;_0x110bf2--)(_0x4fe704=_0xed7394[_0x110bf2])&&(_0x32a6ce=_0x4fe704(_0x32a6ce)||_0x32a6ce);return _0x32a6ce;},_0x45a3d8=(_0x42cdfd,_0xdd35d6)=>(_0x1976ae,_0x4dd471)=>_0xdd35d6(_0x1976ae,_0x4dd471,_0x42cdfd);let _0x37c68c=class extends _0x4de4d0[_0x30e32e(0x18c)]{constructor(_0x4abb30,_0x1a84a5,_0x1f7f14){const _0x2d2256=_0x30e32e;super(),_0x5444ab(this,_0x2d2256(0x344),new Map()),_0x5444ab(this,_0x2d2256(0x369),new _0x38f1b1[(_0x2d2256(0x1e9))]()),(this[_0x2d2256(0x2ae)]=_0x4abb30,this['_injector']=_0x1a84a5,this['_collabSessionService']=_0x1f7f14,this[_0x2d2256(0x315)]());}[_0x30e32e(0x327)](){const _0x31c020=_0x30e32e;super[_0x31c020(0x327)](),this[_0x31c020(0x369)][_0x31c020(0x178)](),this[_0x31c020(0x344)][_0x31c020(0x265)](_0x2c1dc6=>_0x2c1dc6['dispose']());}[_0x30e32e(0x10b)](_0x201e77){const _0x3046a3=_0x30e32e;return this[_0x3046a3(0x344)][_0x3046a3(0xe8)](_0x201e77)?this[_0x3046a3(0x344)]['get'](_0x201e77)[_0x3046a3(0x159)]:this[_0x3046a3(0x369)]['pipe'](_0x38f1b1[_0x3046a3(0x2cb)](_0xb267b4=>_0xb267b4[_0x3046a3(0x224)]===_0x201e77),_0x38f1b1['switchMap'](_0x24f8ea=>_0x24f8ea[_0x3046a3(0x159)]));}[_0x30e32e(0x315)](){const _0x2432e1=_0x30e32e;this['_univerInstanceService'][_0x2432e1(0x2c5)](_0x4de4d0[_0x2432e1(0x1b5)][_0x2432e1(0x324)])[_0x2432e1(0x320)](_0x38f1b1[_0x2432e1(0x277)](this[_0x2432e1(0x34e)]))[_0x2432e1(0x15c)](async _0x1e7e62=>{const _0x44316a=_0x2432e1,_0x20b5f1=_0x1e7e62[_0x44316a(0x2a6)](),_0x2ec493=await this['_startSheetCollabCursor'](_0x20b5f1);this[_0x44316a(0x369)][_0x44316a(0x241)](_0x2ec493),this[_0x44316a(0x344)][_0x44316a(0x201)](_0x20b5f1,_0x2ec493);}),this['_univerInstanceService'][_0x2432e1(0x2c5)](_0x4de4d0['UniverInstanceType'][_0x2432e1(0x2b7)])[_0x2432e1(0x320)](_0x38f1b1[_0x2432e1(0x277)](this[_0x2432e1(0x34e)]))['pipe'](_0x38f1b1[_0x2432e1(0x2cb)](_0x447596=>!_0x447596[_0x2432e1(0x2a6)]()['startsWith']('__')))[_0x2432e1(0x15c)](async _0x1cc93c=>{const _0x16a39a=_0x2432e1,_0x1273d8=_0x1cc93c[_0x16a39a(0x2a6)](),_0x44ac45=await this[_0x16a39a(0x13d)](_0x1273d8);this[_0x16a39a(0x369)][_0x16a39a(0x241)](_0x44ac45),this[_0x16a39a(0x344)][_0x16a39a(0x201)](_0x1273d8,_0x44ac45);}),_0x38f1b1[_0x2432e1(0x25c)](this[_0x2432e1(0x2ae)][_0x2432e1(0x17b)](_0x4de4d0[_0x2432e1(0x1b5)][_0x2432e1(0x2b7)]),this[_0x2432e1(0x2ae)][_0x2432e1(0x17b)](_0x4de4d0[_0x2432e1(0x1b5)]['UNIVER_SHEET']))[_0x2432e1(0x320)](_0x38f1b1[_0x2432e1(0x277)](this[_0x2432e1(0x34e)]))[_0x2432e1(0x15c)](_0x40aa0d=>{const _0x2703f0=_0x2432e1,_0x2a3ff9=_0x40aa0d[_0x2703f0(0x2a6)](),_0x11adc6=this[_0x2703f0(0x344)][_0x2703f0(0x259)](_0x2a3ff9);_0x11adc6&&(_0x11adc6[_0x2703f0(0x327)](),this[_0x2703f0(0x344)][_0x2703f0(0xd3)](_0x2a3ff9));});}async[_0x30e32e(0x1d5)](_0x44345d){const _0x319588=_0x30e32e,_0x4dfabf=await this[_0x319588(0x2e6)][_0x319588(0x365)](_0x44345d),_0x79b17a=this['_injector'][_0x319588(0x1f9)](_0x27973f,_0x44345d,_0x4dfabf);return _0x79b17a[_0x319588(0x17a)](),_0x79b17a;}async['_startDocCollabCursor'](_0x309689){const _0x388792=_0x30e32e,_0x58a0c5=await this[_0x388792(0x2e6)][_0x388792(0x365)](_0x309689),_0xcafafc=this[_0x388792(0x305)][_0x388792(0x1f9)](_0x354ed2,_0x309689,_0x58a0c5);return _0xcafafc[_0x388792(0x17a)](),_0xcafafc;}};_0x37c68c=_0x3744af([_0x45a3d8(0x0,_0x4de4d0[_0x30e32e(0x268)]),_0x45a3d8(0x1,_0x4de4d0[_0x30e32e(0x231)](_0x4de4d0[_0x30e32e(0x214)])),_0x45a3d8(0x2,_0x4de4d0[_0x30e32e(0x231)](_0x3120ea[_0x30e32e(0x1a1)]))],_0x37c68c);const _0x101827=0x14,_0x25f60f=0xc8,_0x118712=0x4,_0x2985a0=0x5;function _0x310522(_0x2954aa,_0x3e914d){const _0x3a0b5b=_0x30e32e;let {radius:_0x1e3682,width:_0x4c85fa,height:_0x4a2abf}=_0x3e914d;_0x1e3682=_0x1e3682!=null?_0x1e3682:0x0,_0x4c85fa=_0x4c85fa!=null?_0x4c85fa:0x1e,_0x4a2abf=_0x4a2abf!=null?_0x4a2abf:0x1e;let _0x26e523=0x0,_0x444a42=0x0,_0x48575b=0x0;_0x26e523=_0x444a42=_0x48575b=Math[_0x3a0b5b(0x2b6)](_0x1e3682,_0x4c85fa/0x2,_0x4a2abf/0x2),_0x2954aa[_0x3a0b5b(0x237)](),_0x2954aa[_0x3a0b5b(0x290)](_0x26e523,0x0),_0x2954aa[_0x3a0b5b(0x157)](_0x4c85fa-_0x444a42,0x0),_0x2954aa[_0x3a0b5b(0xe1)](_0x4c85fa-_0x444a42,_0x444a42,_0x444a42,Math['PI']*0x3/0x2,0x0,!0x1),_0x2954aa[_0x3a0b5b(0x157)](_0x4c85fa,_0x4a2abf-_0x48575b),_0x2954aa[_0x3a0b5b(0xe1)](_0x4c85fa-_0x48575b,_0x4a2abf-_0x48575b,_0x48575b,0x0,Math['PI']/0x2,!0x1),_0x2954aa[_0x3a0b5b(0x157)](0x0,_0x4a2abf),_0x2954aa['lineTo'](0x0,_0x26e523),_0x2954aa[_0x3a0b5b(0xe1)](_0x26e523,_0x26e523,_0x26e523,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2954aa[_0x3a0b5b(0x1c3)](),_0x3e914d[_0x3a0b5b(0x349)]&&(_0x2954aa[_0x3a0b5b(0x1f8)](),_0x2954aa['fillStyle']=_0x3e914d[_0x3a0b5b(0x349)],_0x3e914d[_0x3a0b5b(0xfb)]===_0x3a0b5b(0xf6)?_0x2954aa[_0x3a0b5b(0x349)]('evenodd'):_0x2954aa[_0x3a0b5b(0x349)](),_0x2954aa[_0x3a0b5b(0x368)]());}class _0x123b5f extends _0x14c15e[_0x30e32e(0x1a4)]{constructor(_0x8a774a,_0x2b43b6){const _0x208021=_0x30e32e;super(_0x8a774a,_0x2b43b6),_0x5444ab(this,_0x208021(0x352)),_0x5444ab(this,_0x208021(0x16b)),(this[_0x208021(0x352)]=_0x2b43b6==null?void 0x0:_0x2b43b6[_0x208021(0x352)],this[_0x208021(0x16b)]=_0x2b43b6==null?void 0x0:_0x2b43b6['text']);}static['drawWith'](_0x3d3790,_0x936421){const _0x58e4d7=_0x30e32e,{text:_0x441a1f,color:_0x25c8cd}=_0x936421;_0x3d3790[_0x58e4d7(0x1f8)](),_0x3d3790[_0x58e4d7(0x14a)]=_0x58e4d7(0x150);const _0x939a6b=_0x3d3790['measureText'](_0x441a1f)['width'],_0x5ca591=Math[_0x58e4d7(0x2b6)](_0x939a6b+0x2*_0x118712,_0x25f60f);_0x310522(_0x3d3790,{'height':_0x101827,'radius':0x4,'width':_0x5ca591,'fill':_0x25c8cd}),_0x3d3790[_0x58e4d7(0x2ec)]=_0x58e4d7(0x289);const _0x3a22d0=_0x118712,_0x18c90f=_0x101827-_0x2985a0,_0x31a574=_0x25f60f-0x2*_0x118712;if(_0x939a6b>_0x31a574){let _0x11c0c='',_0x4bb05c=0x0;for(const _0x2ef747 of _0x441a1f){const _0x35ba59=_0x3d3790[_0x58e4d7(0x111)](_0x2ef747)[_0x58e4d7(0x1a9)];if(_0x4bb05c+_0x35ba59<=_0x31a574-_0x3d3790['measureText'](_0x58e4d7(0x240))['width'])_0x11c0c+=_0x2ef747,_0x4bb05c+=_0x35ba59;else{_0x11c0c+=_0x58e4d7(0x240);break;}}_0x3d3790[_0x58e4d7(0x29b)](_0x11c0c,_0x3a22d0,_0x18c90f);}else _0x3d3790[_0x58e4d7(0x29b)](_0x441a1f,_0x3a22d0,_0x18c90f);_0x3d3790['restore']();}[_0x30e32e(0x239)](_0x170043){const _0x3845ce=_0x30e32e;_0x123b5f[_0x3845ce(0xc0)](_0x170043,this);}}const _0xe1cae2=_0x30e32e(0x2d2),_0x54f6d9=_0x30e32e(0xbb),_0x1d03da=_0x30e32e(0x132),_0xf9d8d4=0x6,_0x24ea7e=1.5,_0x192578=0x4,_0x4b11a3=1.5,_0x276910=_0x30e32e(0x25b);class _0x9ce4c4{constructor(_0x1f0c6f,_0x23e522,_0x2d4962,_0x49f006){const _0x5ac26c=_0x30e32e;_0x5444ab(this,_0x5ac26c(0x1a8),[]),_0x5444ab(this,_0x5ac26c(0xfc),null),_0x5444ab(this,'_textBubble',null),_0x5444ab(this,'_anchorDot',null),_0x5444ab(this,'_hideTimer',null),_0x5444ab(this,_0x5ac26c(0x1dd),null),(this[_0x5ac26c(0x15a)]=_0x1f0c6f,this[_0x5ac26c(0x2e5)]=_0x23e522,this[_0x5ac26c(0x20e)]=_0x2d4962,this[_0x5ac26c(0xd2)]=_0x49f006,this[_0x5ac26c(0x2b2)]());}set[_0x30e32e(0x2b3)](_0x313488){const _0x512bb6=_0x30e32e;_0x313488?(this[_0x512bb6(0x2cf)]&&this[_0x512bb6(0x2cf)][_0x512bb6(0x30a)](),this[_0x512bb6(0x200)]&&this['_textBubble'][_0x512bb6(0xf2)]()):(this[_0x512bb6(0x2cf)]&&this[_0x512bb6(0x2cf)][_0x512bb6(0xf2)](),this[_0x512bb6(0x200)]&&this[_0x512bb6(0x200)][_0x512bb6(0x30a)]());}[_0x30e32e(0x327)](){const _0xa6e43a=_0x30e32e;for(const _0x347307 of this[_0xa6e43a(0x1a8)])_0x347307[_0xa6e43a(0x327)]();this['_textBubble']&&this[_0xa6e43a(0x200)][_0xa6e43a(0x327)](),this[_0xa6e43a(0x2cf)]&&this[_0xa6e43a(0x2cf)][_0xa6e43a(0x327)](),this[_0xa6e43a(0xfc)]&&this[_0xa6e43a(0xfc)][_0xa6e43a(0x327)](),this[_0xa6e43a(0x1dd)]&&this[_0xa6e43a(0x1dd)]();}[_0x30e32e(0x2b2)](){const _0x19a395=_0x30e32e;var _0x2edb3f;const {_docSkeleton:_0xe9e18f,_document:_0x27ee6b}=this,{color:_0x4f1348,name:_0xcf722d,ranges:_0x546b28}=this[_0x19a395(0x15a)],_0x2fbb3a=_0x27ee6b[_0x19a395(0x24c)](),{docsLeft:_0x183fa0,docsTop:_0xb22ae}=_0x2fbb3a,_0x21bfdc=new _0x7f4e56['NodePositionConvertToCursor'](_0x2fbb3a,_0xe9e18f);for(const {startOffset:_0x124686,endOffset:_0x117578,rangeType:_0xb611bd,segmentId:_0xce1a0,segmentPage:_0x57d702,collapsed:_0x5901e4,isActive:_0xcc4959}of _0x546b28){const _0x2f5da9=_0xe9e18f[_0x19a395(0x33d)](_0x124686,!0x0,_0xce1a0,_0x57d702);let _0x2043aa=_0xe9e18f[_0x19a395(0x33d)](_0x117578,!0x0,_0xce1a0,_0x57d702);if(_0x2043aa==null&&(_0x2043aa=_0xe9e18f['findNodePositionByCharIndex'](_0x117578-0x1,!0x1,_0xce1a0,_0x57d702)),_0xcc4959){const {contentBoxPointGroup:_0x2f251f}=_0x21bfdc[_0x19a395(0x2f6)](_0x2043aa,_0x2043aa);if(_0x2f251f[_0x19a395(0x1fa)]===0x0)continue;this['_drawAnchor'](_0x4f1348,_0x2f251f,_0x183fa0,_0xb22ae,_0xcf722d),this[_0x19a395(0x1dd)]=this['_handleHover']();}if(_0x2f5da9&&_0x2043aa){if(_0xb611bd===_0x4de4d0[_0x19a395(0x2d9)][_0x19a395(0x1f2)]){const _0x42c5da=new _0x7f4e56[(_0x19a395(0x263))](_0x2fbb3a,_0xe9e18f),{pointGroup:_0x4cd72c}=(_0x2edb3f=_0x42c5da[_0x19a395(0x2f6)](_0x2f5da9,_0x2043aa))!=null?_0x2edb3f:{};if(_0x4cd72c==null||_0x4cd72c[_0x19a395(0x1fa)]===0x0)continue;this[_0x19a395(0x19d)](_0x4f1348,_0x4cd72c,_0x183fa0,_0xb22ae);}else{if(!_0x5901e4){const {borderBoxPointGroup:_0x152979}=_0x21bfdc[_0x19a395(0x2f6)](_0x2f5da9,_0x2043aa);if(_0x152979[_0x19a395(0x1fa)]===0x0)continue;this[_0x19a395(0x331)](_0x4f1348,_0x152979,_0x183fa0,_0xb22ae);}}}}}[_0x30e32e(0x2bd)](_0x2d8b9d,_0x1886c8,_0xce19ad,_0x10dcca,_0x383820){const _0x46e003=_0x30e32e,_0x281f29=this[_0x46e003(0x2f4)](_0x1886c8),{left:_0x5893be,top:_0x10f8aa,height:_0x45e3dd}=_0x281f29,_0x28eb4d=this[_0x46e003(0x15b)](),_0x57642c=_0x4b11a3/_0x28eb4d,_0x4a48e0=new _0x14c15e[(_0x46e003(0x2d3))](_0xe1cae2+_0x4de4d0[_0x46e003(0xdb)](_0xf9d8d4),{'left':_0x5893be+_0xce19ad-_0x57642c,'top':_0x10f8aa+_0x10dcca,'height':_0x45e3dd,'width':_0x24ea7e,'fill':_0x2d8b9d||_0x14c15e['getColor'](_0x4de4d0[_0x46e003(0x16e)]['black'],0x0),'strokeWidth':_0x57642c,'stroke':_0x276910,'evented':!0x0});this[_0x46e003(0xfc)]=_0x4a48e0,this[_0x46e003(0x2e5)][_0x46e003(0x163)](_0x4a48e0,_0x7f4e56['TEXT_RANGE_LAYER_INDEX']);const _0x2c9913=new _0x14c15e['Rect'](_0xe1cae2+_0x4de4d0[_0x46e003(0xdb)](_0xf9d8d4),{'left':_0x5893be+_0xce19ad-_0x57642c,'top':_0x10f8aa+_0x10dcca-_0x192578/0x2,'height':_0x192578,'width':_0x192578,'fill':_0x2d8b9d||_0x14c15e[_0x46e003(0x21b)](_0x4de4d0['COLORS'][_0x46e003(0x141)],0x0),'strokeWidth':0x0,'stroke':_0x2d8b9d||_0x14c15e[_0x46e003(0x21b)](_0x4de4d0[_0x46e003(0x16e)][_0x46e003(0x141)],0x0),'evented':!0x1});this[_0x46e003(0x2cf)]=_0x2c9913,this[_0x46e003(0x2e5)][_0x46e003(0x163)](_0x2c9913,_0x7f4e56[_0x46e003(0x32d)]);const _0x3b1516=new _0x123b5f(_0xe1cae2+_0x4de4d0[_0x46e003(0xdb)](_0xf9d8d4),{'left':_0x5893be+_0xce19ad-_0x57642c,'top':_0x10f8aa+_0x10dcca-_0x101827,'text':_0x383820,'color':_0x2d8b9d});this[_0x46e003(0x200)]=_0x3b1516,this[_0x46e003(0x2e5)][_0x46e003(0x163)](_0x3b1516,_0x7f4e56[_0x46e003(0x32d)]),this[_0x46e003(0x2b3)]=!0x1;}[_0x30e32e(0x122)](){const _0x48beeb=_0x30e32e,_0x57bcd0=this[_0x48beeb(0xfc)]['onPointerEnter$'][_0x48beeb(0x2bc)](()=>{this['_hover']=!0x0;}),_0x3be849=this[_0x48beeb(0xfc)]['onPointerLeave$'][_0x48beeb(0x2bc)](()=>{const _0x9cfbf9=_0x48beeb;this[_0x9cfbf9(0x234)]&&clearTimeout(this[_0x9cfbf9(0x234)]),this[_0x9cfbf9(0x234)]=setTimeout(()=>{const _0x24dec8=_0x9cfbf9;this[_0x24dec8(0x2b3)]=!0x1;},0x7d0);});return()=>{const _0x460912=_0x48beeb;_0x57bcd0[_0x460912(0x22d)](),_0x3be849[_0x460912(0x22d)]();};}['_drawTextRange'](_0x52f90a,_0x4d0509,_0x30d27d,_0x369c0){const _0x327743=_0x30e32e,_0x25e1ea=new _0x4de4d0[(_0x327743(0x2b1))](_0x52f90a)[_0x327743(0x325)](0.2)[_0x327743(0x171)](),_0x2e88db=new _0x14c15e[(_0x327743(0x336))](_0x54f6d9+_0x4de4d0[_0x327743(0xdb)](_0xf9d8d4),{'pointsGroup':_0x4d0509,'fill':_0x25e1ea||_0x14c15e[_0x327743(0x21b)](_0x4de4d0[_0x327743(0x16e)][_0x327743(0x141)],0.2),'left':_0x30d27d,'top':_0x369c0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x327743(0x1a8)][_0x327743(0x209)](_0x2e88db),this[_0x327743(0x2e5)][_0x327743(0x163)](_0x2e88db,_0x7f4e56[_0x327743(0x32d)]);}[_0x30e32e(0x19d)](_0x2e03ca,_0x566374,_0x4f4ee7,_0x367f3b){const _0x49bfa1=_0x30e32e,_0x18a8e0=new _0x4de4d0[(_0x49bfa1(0x2b1))](_0x2e03ca)[_0x49bfa1(0x325)](0.2)[_0x49bfa1(0x171)](),_0x502207=new _0x14c15e[(_0x49bfa1(0x336))](_0x1d03da+_0x4de4d0['generateRandomId'](_0xf9d8d4),{'pointsGroup':_0x566374,'fill':_0x18a8e0||_0x14c15e['getColor'](_0x4de4d0['COLORS'][_0x49bfa1(0x141)],0.2),'left':_0x4f4ee7,'top':_0x367f3b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x49bfa1(0x1a8)][_0x49bfa1(0x209)](_0x502207),this[_0x49bfa1(0x2e5)]['addObject'](_0x502207,_0x7f4e56[_0x49bfa1(0x32d)]);}[_0x30e32e(0x2f4)](_0x5b0ad7){const _0x372296=_0x5b0ad7[0x0],_0x42b2fe=_0x372296[0x0],_0x11e1d6=_0x372296[0x2],{x:_0x2cba6f,y:_0x97a6e3}=_0x42b2fe,{x:_0x3dafa1,y:_0x475e0e}=_0x11e1d6;return{'left':_0x2cba6f,'top':_0x97a6e3,'width':_0x3dafa1-_0x2cba6f,'height':_0x475e0e-_0x97a6e3};}[_0x30e32e(0x15b)](){const _0x2581c2=_0x30e32e,{scaleX:_0x27d10e,scaleY:_0x244220}=this[_0x2581c2(0x2e5)][_0x2581c2(0x213)]();return Math[_0x2581c2(0xc7)](_0x27d10e,_0x244220);}}var _0x4c1bb6=Object[_0x30e32e(0x307)],_0x56fe10=(_0x37df00,_0x37a70a,_0x54f9e5,_0x2ff332)=>{const _0x51878b=_0x30e32e;for(var _0x2f6ff4=_0x2ff332>0x1?void 0x0:_0x2ff332?_0x4c1bb6(_0x37a70a,_0x54f9e5):_0x37a70a,_0x3428b1=_0x37df00[_0x51878b(0x1fa)]-0x1,_0x10904c;_0x3428b1>=0x0;_0x3428b1--)(_0x10904c=_0x37df00[_0x3428b1])&&(_0x2f6ff4=_0x10904c(_0x2f6ff4)||_0x2f6ff4);return _0x2f6ff4;},_0xeb6ed6=(_0x3016a8,_0x1b4707)=>(_0x4a66b9,_0x2ee21b)=>_0x1b4707(_0x4a66b9,_0x2ee21b,_0x3016a8);let _0x3fb2ff=class extends _0x4de4d0[_0x30e32e(0x18c)]{constructor(_0x4338d3,_0x90207a,_0x12bb31,_0x4ac30c,_0x5b172b){const _0x28bd4e=_0x30e32e;super(),_0x5444ab(this,_0x28bd4e(0x204),[]),_0x5444ab(this,'_cursors',[]),(this[_0x28bd4e(0xc8)]=_0x4338d3,this[_0x28bd4e(0x22c)]=_0x90207a,this[_0x28bd4e(0x23e)]=_0x12bb31,this[_0x28bd4e(0x30d)]=_0x4ac30c,this['_themeService']=_0x5b172b,this[_0x28bd4e(0x315)]());}[_0x30e32e(0x315)](){const _0x1c133d=_0x30e32e,_0x3ae007=this[_0x1c133d(0xc8)][_0x1c133d(0x20c)],_0x48bde2=this[_0x1c133d(0x22c)];this[_0x1c133d(0x222)](_0x38f1b1[_0x1c133d(0x340)]([this['_collabCursorController']['getCollabCursors$'](_0x3ae007),this[_0x1c133d(0x114)][_0x1c133d(0x2cc)]])[_0x1c133d(0x320)](_0x45d309[_0x1c133d(0x21f)](([_0x37e762,_0xcd5eba])=>({'skeleton':_0x48bde2[_0x1c133d(0x281)](),'cursors':[..._0x37e762[_0x1c133d(0x1e0)]()][_0x1c133d(0x14f)](_0x335b7c=>({..._0x335b7c,'color':this[_0x1c133d(0x114)]['getColorFromTheme'](_0x335b7c[_0x1c133d(0x352)])}))})))[_0x1c133d(0x15c)](_0x1adfc6=>{const _0x21aa71=_0x1c133d;if(this[_0x21aa71(0x36b)](),_0x1adfc6){const {skeleton:_0x2c4fb7,cursors:_0x4f6bdb}=_0x1adfc6;this[_0x21aa71(0x1c1)](_0x2c4fb7,_0x4f6bdb);}})),this[_0x1c133d(0x146)](),this[_0x1c133d(0x10f)]();}['_updateCollabCursors'](_0x51fde2,_0x5e1a1e){const _0x210502=_0x30e32e,{scene:_0x4ae3de,mainComponent:_0x4a7845}=this[_0x210502(0xc8)],_0x5d607d=_0x5e1a1e[_0x210502(0x21f)](_0x2adf67=>new _0x9ce4c4(_0x2adf67,_0x4ae3de,_0x51fde2,_0x4a7845));this[_0x210502(0x204)]=_0x5d607d,this[_0x210502(0x216)]=_0x5e1a1e;}[_0x30e32e(0x22a)](){const _0x4b3d9c=_0x30e32e;this['_removeCollabCursors']();const {scene:_0x2fd06d,mainComponent:_0x34a56a}=this[_0x4b3d9c(0xc8)],_0x2c5f1a=this[_0x4b3d9c(0x22c)][_0x4b3d9c(0x281)](),_0x2bf116=this[_0x4b3d9c(0x216)]['map'](_0x2685c5=>new _0x9ce4c4(_0x2685c5,_0x2fd06d,_0x2c5f1a,_0x34a56a));this[_0x4b3d9c(0x204)]=_0x2bf116;}[_0x30e32e(0x36b)](){const _0x355613=_0x30e32e;this[_0x355613(0x204)]['forEach'](_0x2fd7a8=>_0x2fd7a8['dispose']()),this[_0x355613(0x204)]=[];}[_0x30e32e(0x10f)](){const _0x361221=_0x30e32e,_0x30386f=[_0x7f4e56['SetDocZoomRatioOperation']['id']];this[_0x361221(0x222)](this[_0x361221(0x30d)][_0x361221(0x2df)](_0x4c3d71=>{const _0x3efd5e=_0x361221;_0x30386f[_0x3efd5e(0x202)](_0x4c3d71['id'])&&_0x4c3d71[_0x3efd5e(0x317)][_0x3efd5e(0x20c)]===this[_0x3efd5e(0xc8)][_0x3efd5e(0x20c)]&&this[_0x3efd5e(0x22a)]();}));}[_0x30e32e(0x146)](){const _0x5b704a=_0x30e32e;this[_0x5b704a(0x222)](_0x4de4d0['fromEventSubject'](this[_0x5b704a(0xc8)]['engine']['onTransformChange$'])[_0x5b704a(0x320)](_0x45d309[_0x5b704a(0x2cb)](_0x528f40=>_0x528f40[_0x5b704a(0x2a3)]===_0x14c15e[_0x5b704a(0x311)][_0x5b704a(0x195)]),_0x45d309['throttleTime'](0x10))[_0x5b704a(0x15c)](()=>{const _0x39df1a=_0x5b704a;this[_0x39df1a(0x22a)]();}));}};_0x3fb2ff=_0x56fe10([_0xeb6ed6(0x1,_0x4de4d0['Inject'](_0x455bfa[_0x30e32e(0x1e6)])),_0xeb6ed6(0x2,_0x4de4d0[_0x30e32e(0x231)](_0x37c68c)),_0xeb6ed6(0x3,_0x4de4d0[_0x30e32e(0x362)]),_0xeb6ed6(0x4,_0x4de4d0[_0x30e32e(0x231)](_0x4de4d0[_0x30e32e(0x218)]))],_0x3fb2ff);const _0xbba047=0x1,_0x494bed=1.5;class _0xc3bbf5 extends _0x14c15e[_0x30e32e(0x1a4)]{constructor(_0x1ca419,_0x121c54){const _0x160daf=_0x30e32e;super(_0x1ca419,_0x121c54),_0x5444ab(this,_0x160daf(0x180)),_0x5444ab(this,_0x160daf(0x172),!0x1),_0x5444ab(this,'_range'),_0x5444ab(this,'_name',''),_0x5444ab(this,'_labelPosition',_0x160daf(0x2f5)),_0x5444ab(this,_0x160daf(0x295)),(_0x121c54&&this['setShapeProps'](_0x121c54),this[_0x160daf(0x194)][_0x160daf(0x2bc)](()=>this[_0x160daf(0x366)]({'hovered':!0x0})),this['onPointerLeave$'][_0x160daf(0x2bc)](()=>this[_0x160daf(0x366)]({'hovered':!0x1})));}[_0x30e32e(0x366)](_0x43a3a5){const _0x145ca0=_0x30e32e;var _0x538bb4,_0x2bdcf4,_0x5af318,_0x10fa79,_0x44a727,_0x5bbdaf;this['_color']=(_0x538bb4=_0x43a3a5[_0x145ca0(0x352)])!=null?_0x538bb4:this['_color'],this['_hovered']=(_0x2bdcf4=_0x43a3a5['hovered'])!=null?_0x2bdcf4:this['_hovered'],this[_0x145ca0(0x18d)]=(_0x5af318=_0x43a3a5['range'])!=null?_0x5af318:this[_0x145ca0(0x18d)],this[_0x145ca0(0x283)]=(_0x10fa79=_0x43a3a5[_0x145ca0(0x102)])!=null?_0x10fa79:this['_name'],this[_0x145ca0(0xce)]=(_0x44a727=_0x43a3a5[_0x145ca0(0x160)])!=null?_0x44a727:this[_0x145ca0(0xce)],this['_backgroundColor']=(_0x5bbdaf=_0x43a3a5[_0x145ca0(0x280)])!=null?_0x5bbdaf:this[_0x145ca0(0x295)],this[_0x145ca0(0xe3)]({'width':_0x43a3a5[_0x145ca0(0x1a9)],'height':_0x43a3a5[_0x145ca0(0x24e)]});}[_0x30e32e(0x346)](_0x2e984a){const _0x37db90=_0x30e32e,{row:_0x5e44a6,column:_0x57c6cc}=_0x2e984a;if(_0x5e44a6>=this[_0x37db90(0x18d)][_0x37db90(0x2fb)]&&_0x5e44a6<=this['_range']['endRow']&&_0x57c6cc>=this['_range'][_0x37db90(0x29d)]&&_0x57c6cc<=this['_range'][_0x37db90(0x299)]){this[_0x37db90(0x366)]({'hovered':!0x0});return;}this[_0x37db90(0x366)]({'hovered':!0x1});}[_0x30e32e(0x310)](_0x3a71a3){return!0x1;}[_0x30e32e(0x239)](_0x4c3d74){const _0xe85524=_0x30e32e;_0x14c15e[_0xe85524(0x2d3)][_0xe85524(0xc0)](_0x4c3d74,{'width':this['width'],'height':this['height'],'strokeWidth':_0x494bed,'stroke':this[_0xe85524(0x180)],'evented':!0x1,'fill':this[_0xe85524(0x295)]}),this[_0xe85524(0x172)]&&(_0x4c3d74[_0xe85524(0x1f8)](),_0x4c3d74[_0xe85524(0x284)](0x1,0x0,0x0,0x1,this['width'],this[_0xe85524(0xce)]===_0xe85524(0x167)?0x0:-_0x101827),_0x123b5f['drawWith'](_0x4c3d74,{'text':this['_name'],'color':this['_color']}),_0x4c3d74[_0xe85524(0x368)]());}}var _0x5118e0=Object[_0x30e32e(0x307)],_0x5d46d9=(_0x470413,_0x16e9f3,_0xe51c04,_0x45e9b1)=>{const _0xe48dcb=_0x30e32e;for(var _0xb2106b=_0x45e9b1>0x1?void 0x0:_0x45e9b1?_0x5118e0(_0x16e9f3,_0xe51c04):_0x16e9f3,_0x2bcb41=_0x470413[_0xe48dcb(0x1fa)]-0x1,_0x58353a;_0x2bcb41>=0x0;_0x2bcb41--)(_0x58353a=_0x470413[_0x2bcb41])&&(_0xb2106b=_0x58353a(_0xb2106b)||_0xb2106b);return _0xb2106b;},_0x104e13=(_0x463adc,_0x5816d9)=>(_0x4cefbb,_0x406edf)=>_0x5816d9(_0x4cefbb,_0x406edf,_0x463adc);const _0x1ce4f3=0x1389;let _0x19beff=class extends _0x4de4d0[_0x30e32e(0x18c)]{constructor(_0x5af791,_0x492cf2,_0x49cf26,_0x518620){const _0x1682c8=_0x30e32e;super(),_0x5444ab(this,'_cursors',new Set()),_0x5444ab(this,'_lastPointer',null),(this[_0x1682c8(0xc8)]=_0x5af791,this[_0x1682c8(0x34b)]=_0x492cf2,this['_collabCursorController']=_0x49cf26,this[_0x1682c8(0x114)]=_0x518620,this[_0x1682c8(0x315)]());}[_0x30e32e(0x315)](){const _0x16d68a=_0x30e32e;this[_0x16d68a(0x34b)][_0x16d68a(0x166)][_0x16d68a(0x320)](_0x45d309['takeUntil'](this[_0x16d68a(0x34e)]),_0x45d309['switchMap'](_0x3f35d3=>{const _0x5cb066=_0x16d68a;if(_0x3f35d3){const _0x301a5f=_0x3f35d3[_0x5cb066(0x254)];return _0x38f1b1[_0x5cb066(0x340)](this[_0x5cb066(0x23e)]['getCollabCursors$'](this['_context'][_0x5cb066(0x20c)]),this[_0x5cb066(0x114)][_0x5cb066(0x2cc)])[_0x5cb066(0x320)](_0x45d309['map'](([_0x5396c9,_0x25e14f])=>{const _0x45640e=_0x5cb066,_0x1bb370=new Map();return _0x5396c9[_0x45640e(0x265)]((_0x3a8a55,_0x5e7b7d)=>{const _0x508673=_0x45640e;if(_0x3a8a55[_0x508673(0xd6)]===_0x301a5f){const _0x445820={..._0x3a8a55};_0x445820[_0x508673(0x352)]=this[_0x508673(0x114)]['getColorFromTheme'](_0x3a8a55[_0x508673(0x352)]),_0x1bb370['set'](_0x5e7b7d,_0x445820);}}),{'skeleton':_0x3f35d3,'cursors':_0x1bb370};}));}return _0x38f1b1['of']({'skeleton':null,'cursors':new Map()});}))[_0x16d68a(0x15c)](({skeleton:_0x335a0f,cursors:_0x2fb6ea})=>{const _0x1923c0=_0x16d68a;this[_0x1923c0(0x36b)](),_0x335a0f&&this[_0x1923c0(0x1c1)](_0x335a0f,_0x2fb6ea);}),this[_0x16d68a(0x34b)]['currentSkeleton$'][_0x16d68a(0x15c)](_0x4b7e6f=>{const _0x16a67d=_0x16d68a;if(_0x4b7e6f==null)return;const {skeleton:_0x354e33}=_0x4b7e6f,{scene:_0x4fc742}=this['_context'];_0x4fc742[_0x16a67d(0x2e7)][_0x16a67d(0x2bc)](_0x4de4d0[_0x16a67d(0x1d4)](_0x230c94=>{const _0x17703c=_0x16a67d;var _0x470ac8,_0x5f5944;const {offsetX:_0x519599,offsetY:_0x303be5}=_0x230c94,{x:_0x30a02a,y:_0x496475}=_0x4fc742[_0x17703c(0x142)](_0x14c15e[_0x17703c(0x30c)][_0x17703c(0x28b)]([_0x519599,_0x303be5])),{scaleX:_0x568831,scaleY:_0x21436f}=_0x4fc742[_0x17703c(0x213)](),_0x2460b2=_0x4fc742[_0x17703c(0x1ee)](_0x14c15e[_0x17703c(0x34c)]['VIEW_MAIN']),_0xaa5888=_0x4fc742[_0x17703c(0x115)](_0x14c15e['Vector2'][_0x17703c(0x28b)]([_0x30a02a,_0x496475]),_0x2460b2),_0xbbb3f5=_0x354e33[_0x17703c(0x223)](_0x519599,_0x303be5,_0x568831,_0x21436f,_0xaa5888);((_0x470ac8=this[_0x17703c(0x2c3)])==null?void 0x0:_0x470ac8[_0x17703c(0xc6)])===_0xbbb3f5['column']&&((_0x5f5944=this['_lastPointer'])==null?void 0x0:_0x5f5944[_0x17703c(0x246)])===_0xbbb3f5[_0x17703c(0x246)]||this[_0x17703c(0x216)][_0x17703c(0x265)](_0x560d89=>{const _0x21f2a0=_0x17703c;_0x560d89[_0x21f2a0(0x346)](_0xbbb3f5);});},0x64));});}[_0x30e32e(0x1c1)](_0x45d358,_0x46e6a4){const _0x1107b7=_0x30e32e;var _0x1e098a;const _0x2e0785=(_0x1e098a=this[_0x1107b7(0x34b)]['getCurrent']())==null?void 0x0:_0x1e098a[_0x1107b7(0x173)];if(!_0x2e0785)return;const _0x50a671=this[_0x1107b7(0x258)]();if(!_0x50a671)return;this[_0x1107b7(0x216)][_0x1107b7(0x265)](_0x58b4d8=>{const _0x551ce2=_0x1107b7;_0x58b4d8[_0x551ce2(0x278)]();});const {scene:_0x1162af}=_0x50a671,_0x5581b5=_0x2f3b58(Array[_0x1107b7(0x364)](_0x46e6a4[_0x1107b7(0x1e0)]()))[_0x1107b7(0x21f)](_0x2718c0=>{const _0x443ba2=_0x1107b7,{color:_0x574653,range:_0x4819df,name:_0xc708c1,selection:_0x248459,sheetID:_0x593a10}=_0x2718c0,{startColumn:_0x453152,startRow:_0xa2e823,endColumn:_0x12561,endRow:_0xd180fa}=_0x4819df,_0x228924=_0x255745['getCoordByCell'](_0xa2e823,_0x453152,_0x1162af,_0x2e0785),_0x301acb=_0x255745[_0x443ba2(0x2c9)](_0xd180fa,_0x12561,_0x1162af,_0x2e0785),{columnHeaderHeightAndMarginTop:_0x5bd32a}=_0x2e0785,{startX:_0x3ece31,startY:_0xa759f7}=_0x228924,{endX:_0x2fd26e,endY:_0x193098}=_0x301acb,_0x3e2ef8=_0x2fd26e-_0x3ece31,_0x1a9ecd=_0x193098-_0xa759f7,_0x513db8={'labelPosition':_0xa759f7-_0x5bd32a>=_0x101827?'top':_0x443ba2(0x167),'sheetID':_0x593a10,'range':_0x4819df,'color':_0x574653,'name':_0xc708c1,'selection':_0x248459,'left':_0x3ece31,'top':_0xa759f7,'width':_0x3e2ef8,'height':_0x1a9ecd,'evented':!0x1,'zIndex':_0x1ce4f3};return new _0xc3bbf5(_0xc708c1,_0x513db8);});_0x1162af[_0x1107b7(0x2ac)](_0x5581b5,_0xbba047),this['_cursors']=new Set(_0x5581b5);}[_0x30e32e(0x36b)](){const _0x4c8df0=_0x30e32e;var _0x290601;(_0x290601=this['_cursors'])==null||_0x290601['forEach'](_0x2731cf=>_0x2731cf[_0x4c8df0(0x327)]());}[_0x30e32e(0x258)](){const _0x23a531=_0x30e32e;return _0x255745[_0x23a531(0x2c2)](this[_0x23a531(0xc8)][_0x23a531(0x2c6)],this[_0x23a531(0xc8)]);}};_0x19beff=_0x5d46d9([_0x104e13(0x1,_0x4de4d0['Inject'](_0x255745[_0x30e32e(0x329)])),_0x104e13(0x2,_0x4de4d0[_0x30e32e(0x231)](_0x37c68c)),_0x104e13(0x3,_0x4de4d0[_0x30e32e(0x231)](_0x4de4d0[_0x30e32e(0x218)]))],_0x19beff);function _0x2f3b58(_0x574ff4){const _0x10b139=_0x30e32e,_0xb150e9=new Map();return _0x574ff4[_0x10b139(0x265)](_0x4effe5=>{const _0xdfd695=_0x10b139;if(_0xb150e9[_0xdfd695(0xe8)](_0x4effe5[_0xdfd695(0x1f6)])){const _0x57bc80=_0xb150e9[_0xdfd695(0x259)](_0x4effe5[_0xdfd695(0x1f6)]);_0x57bc80[_0xdfd695(0x102)]+=',\x20'+_0x4effe5['name'];}else _0xb150e9[_0xdfd695(0x201)](_0x4effe5[_0xdfd695(0x1f6)],_0x4effe5);}),Array['from'](_0xb150e9[_0x10b139(0x1e0)]());}var _0x1add67=Object[_0x30e32e(0x307)],_0x12bd1a=(_0x594221,_0xfd6e74,_0x5bef70,_0x138276)=>{for(var _0xf8c8a0=_0x138276>0x1?void 0x0:_0x138276?_0x1add67(_0xfd6e74,_0x5bef70):_0xfd6e74,_0x378454=_0x594221['length']-0x1,_0x117acb;_0x378454>=0x0;_0x378454--)(_0x117acb=_0x594221[_0x378454])&&(_0xf8c8a0=_0x117acb(_0xf8c8a0)||_0xf8c8a0);return _0xf8c8a0;},_0x36fbf8=(_0xc291d3,_0x2a77ad)=>(_0x9b3e3f,_0x4595eb)=>_0x2a77ad(_0x9b3e3f,_0x4595eb,_0xc291d3);let _0xd22f95=class extends _0x4de4d0['Disposable']{constructor(_0x13c414,_0x33d425,_0x5692ed,_0x474c63,_0xe94a00,_0x16c1a5){const _0x28a96f=_0x30e32e;super(),this[_0x28a96f(0x205)]=_0x13c414,this[_0x28a96f(0x1b3)]=_0x33d425,this['_collaborationUIEventService']=_0x5692ed,this[_0x28a96f(0x20b)]=_0x474c63,this['_notificationService']=_0xe94a00,this[_0x28a96f(0xe0)]=_0x16c1a5,this[_0x28a96f(0x29f)](),this[_0x28a96f(0x170)]();}[_0x30e32e(0x29f)](){const _0x390982=_0x30e32e;this[_0x390982(0x222)](this[_0x390982(0x205)][_0x390982(0x17e)](()=>{const _0x1a56eb=_0x390982;if(this['_localCacheService']['saveTaskMap'][_0x1a56eb(0x29a)])return this[_0x1a56eb(0xe0)]['t'](_0x1a56eb(0x25f));}));}[_0x30e32e(0x170)](){const _0x315073=_0x30e32e;this[_0x315073(0x222)](this[_0x315073(0xd4)][_0x315073(0x21c)][_0x315073(0x15c)](_0x23627c=>{const _0x18940b=_0x315073;_0x23627c['id']===_0x3120ea[_0x18940b(0x1f4)][_0x18940b(0x1cb)]&&this[_0x18940b(0x20b)]['show']({'type':_0x6f7708[_0x18940b(0x270)][_0x18940b(0x264)],'content':this[_0x18940b(0xe0)]['t']('collaboration.single-unit.warning')}),_0x23627c['id']===_0x3120ea['CollaborationUIEventId'][_0x18940b(0x21e)]&&this[_0x18940b(0x20b)][_0x18940b(0xf2)]({'type':_0x6f7708[_0x18940b(0x270)][_0x18940b(0x264)],'content':this[_0x18940b(0xe0)]['t']('collaboration.closeRoom')}),_0x23627c['id']===_0x3120ea['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x18940b(0x1bf)][_0x18940b(0xf2)]({'title':this[_0x18940b(0xe0)]['t'](_0x18940b(0x36c)),'content':this[_0x18940b(0xe0)]['t']('permission.content'),'type':'error','duration':0x0}),_0x23627c['id']===_0x3120ea[_0x18940b(0x1f4)][_0x18940b(0x11e)]&&this[_0x18940b(0x20b)]['show']({'type':_0x6f7708[_0x18940b(0x270)][_0x18940b(0x293)],'content':this[_0x18940b(0xe0)]['t'](_0x18940b(0x1db))+'('+_0x23627c[_0x18940b(0x1ac)]+')'}),_0x23627c['id']===_0x3120ea[_0x18940b(0x1f4)]['JOIN_ROOM_FAILED']&&this[_0x18940b(0x20b)][_0x18940b(0xf2)]({'type':_0x6f7708[_0x18940b(0x270)][_0x18940b(0x264)],'content':this[_0x18940b(0xe0)]['t'](_0x23627c[_0x18940b(0x1ac)]||'')}),_0x23627c['id']===_0x3120ea[_0x18940b(0x1f4)][_0x18940b(0x1cd)]&&this[_0x18940b(0x20b)][_0x18940b(0xf2)]({'type':_0x6f7708[_0x18940b(0x270)][_0x18940b(0x264)],'content':this[_0x18940b(0xe0)]['t'](_0x18940b(0x2fe))}),_0x23627c['id']===_0x3120ea[_0x18940b(0x1f4)]['SOCKET_FAILED']&&this['_messageService'][_0x18940b(0xf2)]({'type':_0x6f7708['MessageType']['Error'],'content':this[_0x18940b(0xe0)]['t'](_0x18940b(0xf4))}),_0x23627c['id']===_0x3120ea[_0x18940b(0x1f4)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x18940b(0xf2)]({'type':_0x6f7708[_0x18940b(0x270)]['Error'],'content':this[_0x18940b(0xe0)]['t'](_0x18940b(0x1ca))});}));}};_0xd22f95=_0x12bd1a([_0x36fbf8(0x0,_0xd67382['IBeforeCloseService']),_0x36fbf8(0x1,_0x3120ea['ILocalCacheService']),_0x36fbf8(0x2,_0x4de4d0[_0x30e32e(0x231)](_0x3120ea[_0x30e32e(0x123)])),_0x36fbf8(0x3,_0xd67382[_0x30e32e(0x2fd)]),_0x36fbf8(0x4,_0xd67382[_0x30e32e(0x1ab)]),_0x36fbf8(0x5,_0x4de4d0[_0x30e32e(0x231)](_0x4de4d0['LocaleService']))],_0xd22f95);const _0x4321f6=_0x30e32e(0x2b5),_0x177fba={};var _0x7efc19=Object[_0x30e32e(0x307)],_0x3e7e65=(_0x22c5fe,_0x32854e,_0x4c0729,_0x268635)=>{const _0x536158=_0x30e32e;for(var _0x7e21fd=_0x268635>0x1?void 0x0:_0x268635?_0x7efc19(_0x32854e,_0x4c0729):_0x32854e,_0x2c5ea0=_0x22c5fe[_0x536158(0x1fa)]-0x1,_0x128e3c;_0x2c5ea0>=0x0;_0x2c5ea0--)(_0x128e3c=_0x22c5fe[_0x2c5ea0])&&(_0x7e21fd=_0x128e3c(_0x7e21fd)||_0x7e21fd);return _0x7e21fd;},_0x18a69f=(_0x319804,_0x4d9af5)=>(_0x59b2e2,_0x1c52d0)=>_0x4d9af5(_0x59b2e2,_0x1c52d0,_0x319804);let _0x40dcc7=class{constructor(_0x25531d,_0x160cb4){const _0x4196ab=_0x30e32e;this[_0x4196ab(0x14d)]=_0x25531d,this['_renderManagerService']=_0x160cb4;}[_0x30e32e(0x314)](_0x2e7cb6){const _0x29ee34=_0x30e32e;this['_transformUndoRedoStack'](_0x2e7cb6),this[_0x29ee34(0x313)](_0x2e7cb6);}[_0x30e32e(0x10c)](_0x4c3d10){const _0x9802ae=_0x30e32e,{unitID:_0x5009d2}=_0x4c3d10,_0x44a143=this[_0x9802ae(0x192)][_0x9802ae(0x2d1)](_0x5009d2)[_0x9802ae(0x1b2)](_0x7f4e56[_0x9802ae(0x106)]),{redoCache:_0x2d9b3e}=_0x44a143['getUndoRedoMutationParamsCache']();if(_0x2d9b3e[_0x9802ae(0x1fa)]===0x0)return _0x4c3d10;let _0x4b8f34=_0x4de4d0[_0x9802ae(0x143)][_0x9802ae(0x18e)](_0x4c3d10[_0x9802ae(0x1b0)][0x0]);for(let _0x5e01d7=0x0;_0x5e01d7<_0x2d9b3e['length'];_0x5e01d7++){const _0x49ace7={'id':_0x9802ae(0x12e),'params':{..._0x2d9b3e[_0x5e01d7]}},_0x273c71=this[_0x9802ae(0x14d)]['transformMutation'](_0x4b8f34,_0x49ace7,!0x1);if(_0xcf4b95[_0x9802ae(0x177)](_0x273c71))throw _0x273c71[_0x9802ae(0x109)];_0x4b8f34=_0x273c71[_0x9802ae(0x250)];}return{..._0x4de4d0['Tools'][_0x9802ae(0x18e)](_0x4c3d10),'mutations':[_0x4b8f34]};}[_0x30e32e(0x363)](_0x4e77ac){const _0x25ceb8=_0x30e32e,{unitID:_0x4b796f}=_0x4e77ac,_0x28dd96=this[_0x25ceb8(0x192)]['getRenderById'](_0x4b796f)[_0x25ceb8(0x1b2)](_0x7f4e56[_0x25ceb8(0x106)]),{undoCache:_0x210aa3,redoCache:_0x4cc032}=_0x28dd96[_0x25ceb8(0x120)]();if(_0x210aa3[_0x25ceb8(0x1fa)]===0x0||_0x4cc032[_0x25ceb8(0x1fa)]===0x0)return;const _0x367e37=[],_0x5134d2=[];let _0x27746d=_0x4de4d0[_0x25ceb8(0x143)][_0x25ceb8(0x18e)](_0x4e77ac[_0x25ceb8(0x1b0)][0x0]),_0x44f489=_0x4de4d0[_0x25ceb8(0x143)]['deepClone'](_0x4e77ac[_0x25ceb8(0x1b0)][0x0]);for(let _0x2619d8=_0x210aa3[_0x25ceb8(0x1fa)]-0x1;_0x2619d8>=0x0;_0x2619d8--){const _0x127d6c={'id':_0x25ceb8(0x12e),'params':{..._0x210aa3[_0x2619d8]}},_0x3f1e4d={'id':_0x25ceb8(0x12e),'params':{..._0x4cc032[_0x2619d8]}},_0x18dba4=this['_transformService'][_0x25ceb8(0x127)](_0x27746d,_0x127d6c,!0x1),_0x50d46d=this['_transformService']['transformMutation'](_0x44f489,_0x3f1e4d,!0x1);if(_0xcf4b95[_0x25ceb8(0x177)](_0x18dba4))throw _0x18dba4[_0x25ceb8(0x109)];if(_0xcf4b95[_0x25ceb8(0x177)](_0x50d46d))throw _0x50d46d['error'];_0x367e37[_0x25ceb8(0x1a5)](_0x18dba4['m2Prime'][_0x25ceb8(0x317)]),_0x5134d2[_0x25ceb8(0x1a5)](_0x50d46d[_0x25ceb8(0x244)][_0x25ceb8(0x317)]),_0x27746d=_0x18dba4[_0x25ceb8(0x250)],_0x44f489=_0x50d46d[_0x25ceb8(0x250)];}_0x28dd96[_0x25ceb8(0x27a)]({'undoCache':_0x367e37,'redoCache':_0x5134d2});}[_0x30e32e(0x313)](_0x3ea182){const _0x1eee6f=_0x30e32e,{unitID:_0x566b38}=_0x3ea182,_0x1ebba9=this[_0x1eee6f(0x192)]['getRenderById'](_0x566b38)[_0x1eee6f(0x1b2)](_0x7f4e56[_0x1eee6f(0x106)]),_0x4f5a7f=_0x1ebba9[_0x1eee6f(0x271)]();if(_0x4f5a7f==null)return;const _0x5d6c72=[{'id':_0x1eee6f(0x12e),'params':{'unitId':_0x3ea182[_0x1eee6f(0x224)],'actions':null,'textRanges':[_0x4f5a7f]}}],_0xd74afa=this['_transformService'][_0x1eee6f(0xf9)](_0x3ea182,_0x5d6c72);if(!_0xcf4b95[_0x1eee6f(0xf0)](_0xd74afa))throw _0xd74afa[_0x1eee6f(0x109)];const _0x14c278=_0xd74afa[_0x1eee6f(0x244)][0x0]['params']['textRanges'];Array[_0x1eee6f(0xed)](_0x14c278)&&_0x14c278[_0x1eee6f(0x1fa)]&&_0x1ebba9[_0x1eee6f(0x190)](_0x14c278[0x0]);}};_0x40dcc7=_0x3e7e65([_0x18a69f(0x0,_0xcf4b95['ITransformService']),_0x18a69f(0x1,_0x14c15e[_0x30e32e(0x1fb)])],_0x40dcc7);var _0xd155d=Object[_0x30e32e(0x307)],_0x1526fa=(_0x148cc7,_0x483546,_0x5dbc3d,_0x4524f4)=>{const _0x35cfd2=_0x30e32e;for(var _0x373be6=_0x4524f4>0x1?void 0x0:_0x4524f4?_0xd155d(_0x483546,_0x5dbc3d):_0x483546,_0x2be6af=_0x148cc7[_0x35cfd2(0x1fa)]-0x1,_0x28e5d4;_0x2be6af>=0x0;_0x2be6af--)(_0x28e5d4=_0x148cc7[_0x2be6af])&&(_0x373be6=_0x28e5d4(_0x373be6)||_0x373be6);return _0x373be6;},_0x230e1f=(_0xc05cf6,_0x362662)=>(_0x52d22b,_0x1040f5)=>_0x362662(_0x52d22b,_0x1040f5,_0xc05cf6);let _0x586ee6=class{constructor(_0x568182,_0x5cb004,_0x366c72){const _0x1ee16f=_0x30e32e;this[_0x1ee16f(0x305)]=_0x568182,this[_0x1ee16f(0x14d)]=_0x5cb004,this[_0x1ee16f(0xc2)]=_0x366c72;}[_0x30e32e(0x137)](_0x181f3a){const _0x6cbcbe=_0x30e32e;this[_0x6cbcbe(0x31f)](_0x181f3a);}[_0x30e32e(0x10c)](_0x1f2508){const _0x4bb510=_0x30e32e,{unitID:_0x344cf4}=_0x1f2508,{collaboration:_0x53aa44}=this[_0x4bb510(0xc2)][_0x4bb510(0x27f)](_0x344cf4);if(_0x53aa44[_0x4bb510(0x1fa)]===0x0)return _0x1f2508;let _0x1e3315=_0x4de4d0[_0x4bb510(0x143)][_0x4bb510(0x18e)](_0x1f2508[_0x4bb510(0x1b0)][0x0]);for(let _0xf3313a=0x0;_0xf3313a<_0x53aa44['length'];_0xf3313a++){const _0x3874bd={'id':_0x4bb510(0x12e),'params':{'unitId':_0x53aa44[_0xf3313a][_0x4bb510(0x20c)],..._0x53aa44[_0xf3313a]['redoState']}},_0x4812ec=this[_0x4bb510(0x14d)]['transformMutation'](_0x1e3315,_0x3874bd,!0x1);if(_0xcf4b95[_0x4bb510(0x177)](_0x4812ec))throw _0x4812ec['error'];_0x1e3315=_0x4812ec['m1Prime'];}return{..._0x4de4d0['Tools'][_0x4bb510(0x18e)](_0x1f2508),'mutations':[_0x1e3315]};}['_transformHistoryAndStateStack'](_0x450e39){const _0x5a4a03=_0x30e32e,{unitID:_0x447800}=_0x450e39,{history:_0x8b0120,collaboration:_0x517d2f}=this[_0x5a4a03(0xc2)][_0x5a4a03(0x27f)](_0x447800);if(_0x8b0120[_0x5a4a03(0x1fa)]===0x0&&_0x517d2f[_0x5a4a03(0x1fa)]===0x0)return;const _0x5045ee=[],_0x48beff=[];let _0x14a0c5=_0x4de4d0[_0x5a4a03(0x143)][_0x5a4a03(0x18e)](_0x450e39[_0x5a4a03(0x1b0)][0x0]),_0x32663c=_0x4de4d0[_0x5a4a03(0x143)][_0x5a4a03(0x18e)](_0x450e39[_0x5a4a03(0x1b0)][0x0]);for(let _0x5cab19=_0x8b0120[_0x5a4a03(0x1fa)]-0x1;_0x5cab19>=0x0;_0x5cab19--){const _0x4d3e45={'id':_0x5a4a03(0x12e),'params':{'unitId':_0x8b0120[_0x5cab19][_0x5a4a03(0x20c)],..._0x8b0120[_0x5cab19][_0x5a4a03(0x338)]}},_0x5221d5={'id':_0x5a4a03(0x12e),'params':{'unitId':_0x8b0120[_0x5cab19][_0x5a4a03(0x20c)],..._0x8b0120[_0x5cab19][_0x5a4a03(0x2a9)]}},_0x4ab800=this['_transformService'][_0x5a4a03(0x127)](_0x14a0c5,_0x4d3e45,!0x1),_0x24ebc5=this[_0x5a4a03(0x14d)][_0x5a4a03(0x127)](_0x32663c,_0x5221d5,!0x1);if(_0xcf4b95[_0x5a4a03(0x177)](_0x4ab800))throw _0x4ab800[_0x5a4a03(0x109)];if(_0xcf4b95['isTransformMutationFailure'](_0x24ebc5))throw _0x24ebc5[_0x5a4a03(0x109)];_0x5045ee[_0x5a4a03(0x1a5)]({..._0x8b0120[_0x5cab19],'undoState':_0x4ab800['m2Prime'][_0x5a4a03(0x317)],'redoState':_0x24ebc5[_0x5a4a03(0x244)][_0x5a4a03(0x317)]}),_0x14a0c5=_0x4ab800[_0x5a4a03(0x250)],_0x32663c=_0x24ebc5[_0x5a4a03(0x250)];}_0x14a0c5=_0x4de4d0['Tools'][_0x5a4a03(0x18e)](_0x450e39[_0x5a4a03(0x1b0)][0x0]),_0x32663c=_0x4de4d0[_0x5a4a03(0x143)][_0x5a4a03(0x18e)](_0x450e39[_0x5a4a03(0x1b0)][0x0]);for(let _0x1b1a0d=_0x517d2f['length']-0x1;_0x1b1a0d>=0x0;_0x1b1a0d--){const _0x329f7c={'id':_0x5a4a03(0x12e),'params':{'unitId':_0x517d2f[_0x1b1a0d][_0x5a4a03(0x20c)],..._0x517d2f[_0x1b1a0d][_0x5a4a03(0x338)]}},_0x840e9c={'id':_0x5a4a03(0x12e),'params':{'unitId':_0x517d2f[_0x1b1a0d][_0x5a4a03(0x20c)],..._0x517d2f[_0x1b1a0d]['redoState']}},_0x3edb07=this[_0x5a4a03(0x14d)][_0x5a4a03(0x127)](_0x14a0c5,_0x329f7c,!0x1),_0x16610d=this[_0x5a4a03(0x14d)][_0x5a4a03(0x127)](_0x32663c,_0x840e9c,!0x1);if(_0xcf4b95['isTransformMutationFailure'](_0x3edb07))throw _0x3edb07[_0x5a4a03(0x109)];if(_0xcf4b95['isTransformMutationFailure'](_0x16610d))throw _0x16610d[_0x5a4a03(0x109)];_0x48beff[_0x5a4a03(0x1a5)]({..._0x517d2f[_0x1b1a0d],'undoState':_0x3edb07[_0x5a4a03(0x244)][_0x5a4a03(0x317)],'redoState':_0x16610d['m2Prime'][_0x5a4a03(0x317)]}),_0x14a0c5=_0x3edb07[_0x5a4a03(0x250)],_0x32663c=_0x16610d[_0x5a4a03(0x250)];}this[_0x5a4a03(0xc2)]['setStateCache'](_0x447800,{'history':_0x5045ee,'collaboration':_0x48beff});}};_0x586ee6=_0x1526fa([_0x230e1f(0x0,_0x4de4d0[_0x30e32e(0x231)](_0x4de4d0[_0x30e32e(0x214)])),_0x230e1f(0x1,_0xcf4b95[_0x30e32e(0x1d6)]),_0x230e1f(0x2,_0x4de4d0[_0x30e32e(0x231)](_0x7f4e56['DocStateChangeManagerService']))],_0x586ee6);var _0x3f6d1a=Object[_0x30e32e(0x307)],_0x34cc2f=(_0x2e86f3,_0x20c84e,_0x390085,_0x17ac35)=>{const _0x25ba10=_0x30e32e;for(var _0x49fa6d=_0x17ac35>0x1?void 0x0:_0x17ac35?_0x3f6d1a(_0x20c84e,_0x390085):_0x20c84e,_0x1d1381=_0x2e86f3[_0x25ba10(0x1fa)]-0x1,_0x211798;_0x1d1381>=0x0;_0x1d1381--)(_0x211798=_0x2e86f3[_0x1d1381])&&(_0x49fa6d=_0x211798(_0x49fa6d)||_0x49fa6d);return _0x49fa6d;},_0x3bbbdd=(_0xb449d,_0xfa3392)=>(_0x7115e,_0x2d8f83)=>_0xfa3392(_0x7115e,_0x2d8f83,_0xb449d);let _0x3d3f77=class{constructor(_0x51d92e,_0x375cbf){const _0x2af26f=_0x30e32e;this[_0x2af26f(0x305)]=_0x51d92e,this['_transformService']=_0x375cbf;}['transformSelections'](_0x3181fb){const _0x4d7c2d=_0x30e32e;var _0x228ee3;const _0x492de7=this[_0x4d7c2d(0x305)][_0x4d7c2d(0x259)](_0x455bfa[_0x4d7c2d(0x242)]),_0x1ed49e=(_0x228ee3=_0x492de7[_0x4d7c2d(0x33c)]())!=null?_0x228ee3:[];if(_0x1ed49e['length']===0x0)return;const _0x3b4b58=_0x3181fb[_0x4d7c2d(0x224)],_0x3521c2=[{'id':_0x4d7c2d(0x12e),'params':{'unitId':_0x3b4b58,'actions':null,'textRanges':_0x1ed49e}}],_0x4af027=this[_0x4d7c2d(0x14d)]['transformMutationsWithChangeset'](_0x3181fb,_0x3521c2);if(!_0xcf4b95[_0x4d7c2d(0xf0)](_0x4af027))throw _0x4af027[_0x4d7c2d(0x109)];const _0x366e0c=_0x4af027['m2Prime'][0x0][_0x4d7c2d(0x317)]['textRanges'];Array['isArray'](_0x366e0c)&&_0x366e0c[_0x4d7c2d(0x1fa)]&&_0x492de7[_0x4d7c2d(0x144)](_0x366e0c,{'unitId':_0x3b4b58,'subUnitId':_0x3b4b58},!0x1);}};_0x3d3f77=_0x34cc2f([_0x3bbbdd(0x0,_0x4de4d0[_0x30e32e(0x231)](_0x4de4d0[_0x30e32e(0x214)])),_0x3bbbdd(0x1,_0xcf4b95[_0x30e32e(0x1d6)])],_0x3d3f77);var _0x25f1a2=Object['getOwnPropertyDescriptor'],_0xab21fb=(_0x377887,_0x1e93a4,_0x52adaa,_0x21c537)=>{for(var _0x558206=_0x21c537>0x1?void 0x0:_0x21c537?_0x25f1a2(_0x1e93a4,_0x52adaa):_0x1e93a4,_0x2316dd=_0x377887['length']-0x1,_0x4c2b22;_0x2316dd>=0x0;_0x2316dd--)(_0x4c2b22=_0x377887[_0x2316dd])&&(_0x558206=_0x4c2b22(_0x558206)||_0x558206);return _0x558206;},_0x200662=(_0x177060,_0x158603)=>(_0x5925a1,_0x10fa2f)=>_0x158603(_0x5925a1,_0x10fa2f,_0x177060);let _0x4d1a0d=class extends _0x4de4d0[_0x30e32e(0x238)]{constructor(_0x45efee,_0x560418,_0x11a7e4,_0x831ba9,_0x4cbe26,_0x1dd91e,_0x4506a6,_0x25d7cd){const _0x2553ca=_0x30e32e;super(),_0x5444ab(this,'_status$',new _0x38f1b1['BehaviorSubject'](_0x3120ea[_0x2553ca(0xd8)][_0x2553ca(0x13b)])),(this[_0x2553ca(0xc2)]=_0x45efee,this[_0x2553ca(0x206)]=_0x560418,this[_0x2553ca(0xe6)]=_0x11a7e4,this[_0x2553ca(0x2e2)]=_0x831ba9,this[_0x2553ca(0x1c6)]=_0x4cbe26,this['_docSyncEditingCollabCursorService']=_0x1dd91e,this[_0x2553ca(0x20b)]=_0x4506a6,this[_0x2553ca(0xe0)]=_0x25d7cd,this[_0x2553ca(0x2d0)]());}['_initEntityListener'](){const _0x450de0=_0x30e32e;this['disposeWithMe'](this[_0x450de0(0x206)]['entityInit$'][_0x450de0(0x15c)](_0x11ba5b=>{const _0x198310=_0x450de0,_0x4ffd5b=this['_docStateChangeManagerService'][_0x198310(0x274)][_0x198310(0x15c)](_0x422548=>{const _0xbd2f9c=_0x198310;if(_0x422548==null)return;const {unitId:_0x58aa87,redoState:_0x367830,commandId:_0x290bcf}=_0x422548;if(_0x58aa87!==_0x11ba5b[_0xbd2f9c(0x224)])return;const _0x385cf7={'id':_0x290bcf,'type':_0x4de4d0[_0xbd2f9c(0x2f7)][_0xbd2f9c(0x1bb)],'params':{'unitId':_0x58aa87,'actions':_0x367830[_0xbd2f9c(0x107)],'textRanges':null}};_0x11ba5b[_0xbd2f9c(0x165)](_0x385cf7);});if(_0x11ba5b[_0x198310(0x222)](_0x4ffd5b),_0x11ba5b instanceof _0x3120ea[_0x198310(0xcf)]){const _0x2b73c3={'onTransformIME':_0x62f999=>this[_0x198310(0xe6)][_0x198310(0x314)](_0x62f999),'onTransformState':_0x12fdd3=>this['_docTransformStateCacheService']['transformStateCache'](_0x12fdd3),'onTransformSelections':_0x3bdf12=>this[_0x198310(0x1c6)]['transformSelections'](_0x3bdf12),'onSyncEditingCollabCursor':_0x381bd0=>this[_0x198310(0x1d9)][_0x198310(0x188)](_0x381bd0),'onTransformRemoteChangesetByIMECache':_0x534a61=>this[_0x198310(0xe6)][_0x198310(0x10c)](_0x534a61),'onTransformRemoteChangesetByStateCache':_0x344682=>this[_0x198310(0x2e2)][_0x198310(0x10c)](_0x344682)};_0x11ba5b[_0x198310(0x19b)](_0x2b73c3);}}));}};_0x4d1a0d=_0xab21fb([_0x200662(0x0,_0x4de4d0[_0x30e32e(0x231)](_0x7f4e56[_0x30e32e(0x152)])),_0x200662(0x1,_0x4de4d0[_0x30e32e(0x231)](_0x3120ea[_0x30e32e(0x14b)])),_0x200662(0x2,_0x4de4d0['Inject'](_0x40dcc7)),_0x200662(0x3,_0x4de4d0[_0x30e32e(0x231)](_0x586ee6)),_0x200662(0x4,_0x4de4d0[_0x30e32e(0x231)](_0x3d3f77)),_0x200662(0x5,_0x4de4d0[_0x30e32e(0x231)](_0x304aed)),_0x200662(0x6,_0xd67382[_0x30e32e(0x2fd)]),_0x200662(0x7,_0x4de4d0[_0x30e32e(0x231)](_0x4de4d0[_0x30e32e(0x20d)]))],_0x4d1a0d);var _0x2c8303=Object['getOwnPropertyDescriptor'],_0x382e97=(_0x19c79f,_0x50c8b1,_0x5b189a,_0x51cea6)=>{const _0x150791=_0x30e32e;for(var _0x138604=_0x51cea6>0x1?void 0x0:_0x51cea6?_0x2c8303(_0x50c8b1,_0x5b189a):_0x50c8b1,_0xae5a93=_0x19c79f[_0x150791(0x1fa)]-0x1,_0x3ec14a;_0xae5a93>=0x0;_0xae5a93--)(_0x3ec14a=_0x19c79f[_0xae5a93])&&(_0x138604=_0x3ec14a(_0x138604)||_0x138604);return _0x138604;},_0x7cba6d=(_0xb072b2,_0x34da93)=>(_0x539e6a,_0xa1e93f)=>_0x34da93(_0x539e6a,_0xa1e93f,_0xb072b2);let _0x1179ee=class extends _0x4de4d0[_0x30e32e(0x238)]{constructor(_0x18373e,_0x3b8ccd,_0x2c8309){const _0x1e2d3f=_0x30e32e;super(),_0x5444ab(this,'_cachedData',new Map()),_0x5444ab(this,_0x1e2d3f(0x2eb),new Map()),_0x5444ab(this,_0x1e2d3f(0x1a0),!0x1),(this['_configService']=_0x18373e,this[_0x1e2d3f(0xe9)]=_0x3b8ccd,this[_0x1e2d3f(0x32f)]=_0x2c8309);}['disableLocalCache'](){const _0xd03c46=_0x30e32e;this[_0xd03c46(0x1a0)]=!0x0;}['enableLocalCache'](){const _0x4130bf=_0x30e32e;this[_0x4130bf(0x1a0)]=!0x1;}get[_0x30e32e(0x1e5)](){const _0x1ad1b2=_0x30e32e;return this[_0x1ad1b2(0x2eb)];}[_0x30e32e(0x327)](){const _0x19d217=_0x30e32e;this[_0x19d217(0x139)]()[_0x19d217(0x291)](()=>super['dispose']());}async[_0x30e32e(0x248)](_0x308ee2){const _0x554b16=_0x30e32e;return this[_0x554b16(0x1a0)]?null:this[_0x554b16(0xe9)][_0x554b16(0x145)](_0x3120ea[_0x554b16(0x212)](_0x308ee2));}async[_0x30e32e(0x275)](_0x1e1d74,_0x272b12){return!!this['_localStorageService']['setItem'](_0x1e1d74,_0x272b12);}[_0x30e32e(0x1ba)](_0x306d5a,_0x26bd1c,_0x583825,_0x269ee1){const _0x5adaa9=_0x30e32e,_0x3f7733=this['_revisionService']['getCurrentRevOfUnit'](_0x306d5a);this[_0x5adaa9(0x24a)][_0x5adaa9(0x201)](_0x306d5a,{'unitID':_0x306d5a,'type':_0x26bd1c,'awaitingChangeset':_0x583825,'mutations':_0x269ee1,'rev':_0x3f7733}),this['_saveTaskMap'][_0x5adaa9(0xe8)](_0x306d5a)||this[_0x5adaa9(0x191)](_0x306d5a);}[_0x30e32e(0x191)](_0x4830f7){const _0x1df6f4=_0x30e32e,_0x27e436=this[_0x1df6f4(0x251)]();_0x27e436===0x0?this[_0x1df6f4(0x28e)](_0x4830f7):this[_0x1df6f4(0x2eb)][_0x1df6f4(0x201)](_0x4830f7,setTimeout(()=>this[_0x1df6f4(0x28e)](_0x4830f7),_0x27e436));}[_0x30e32e(0x251)](){const _0x23384b=_0x30e32e;var _0x14e9bb;return(_0x14e9bb=this['_configService'][_0x23384b(0x232)](_0x3120ea[_0x23384b(0x351)]))!=null?_0x14e9bb:_0x3120ea[_0x23384b(0x1ea)];}[_0x30e32e(0x28e)](_0x252457){const _0xdaa8b4=_0x30e32e,_0x4b7b46=this['_saveTaskMap'][_0xdaa8b4(0x259)](_0x252457);return _0x4b7b46!==void 0x0&&window[_0xdaa8b4(0x1f7)](_0x4b7b46),this[_0xdaa8b4(0xe9)][_0xdaa8b4(0x135)](_0x3120ea[_0xdaa8b4(0x212)](_0x252457),this[_0xdaa8b4(0x24a)][_0xdaa8b4(0x259)](_0x252457))[_0xdaa8b4(0x291)](()=>this[_0xdaa8b4(0x2eb)][_0xdaa8b4(0xd3)](_0x252457));}async['exhaustSavingTask'](){const _0x23cc03=_0x30e32e,_0x27d721=[];this[_0x23cc03(0x2eb)][_0x23cc03(0x265)]((_0x5f3b43,_0x1fe716)=>{const _0x427e69=_0x23cc03;window['clearTimeout'](_0x5f3b43),_0x27d721[_0x427e69(0x209)](this[_0x427e69(0x28e)](_0x1fe716)[_0x427e69(0x291)](()=>{const _0x2dd22b=_0x427e69;this[_0x2dd22b(0x2eb)][_0x2dd22b(0xd3)](_0x1fe716);}));}),await Promise[_0x23cc03(0x2c7)](_0x27d721);}};_0x1179ee=_0x382e97([_0x7cba6d(0x0,_0x4de4d0[_0x30e32e(0x335)]),_0x7cba6d(0x1,_0x4de4d0[_0x30e32e(0xc5)]),_0x7cba6d(0x2,_0x4de4d0['Inject'](_0xcf4b95[_0x30e32e(0x110)]))],_0x1179ee);class _0x6716e2 extends _0x4de4d0[_0x30e32e(0x18c)]{constructor(){const _0x5689eb=_0x30e32e;super(),_0x5444ab(this,_0x5689eb(0x21d)),this[_0x5689eb(0x21d)]=_0x38f1b1[_0x5689eb(0x36a)](window,_0x5689eb(0x30e))[_0x5689eb(0x320)](_0x38f1b1[_0x5689eb(0x277)](this[_0x5689eb(0x34e)]),_0x38f1b1[_0x5689eb(0x1df)](0x1),_0x38f1b1[_0x5689eb(0x300)](void 0x0));}[_0x30e32e(0x235)](_0x200bd0,_0x46d2b9,_0x28c803=!0x1){const _0x32d558=_0x30e32e,_0x361d13=new URL(window['location']['href']);_0x361d13[_0x32d558(0x19e)][_0x32d558(0x201)](_0x200bd0,_0x46d2b9),_0x28c803?window['history']['replaceState']('','',_0x361d13[_0x32d558(0x2e8)]()):window['history']['pushState']('','',_0x361d13[_0x32d558(0x2e8)]());}[_0x30e32e(0x28f)](_0x5587e8,_0x2f2d8b=!0x1){const _0x1a769d=_0x30e32e,_0xbe5335=new URL(window[_0x1a769d(0x32a)][_0x1a769d(0x1fe)]);_0xbe5335['searchParams'][_0x1a769d(0xd3)](_0x5587e8),_0x2f2d8b?window['history'][_0x1a769d(0x29c)]('','',_0xbe5335[_0x1a769d(0x2e8)]()):window[_0x1a769d(0x136)][_0x1a769d(0x2f3)]('','',_0xbe5335[_0x1a769d(0x2e8)]());}[_0x30e32e(0x12d)](_0x5e4b7c){const _0x3b5170=_0x30e32e;var _0x2f6988;return(_0x2f6988=new URL(window['location']['href'])[_0x3b5170(0x19e)][_0x3b5170(0x259)](_0x5e4b7c))!=null?_0x2f6988:void 0x0;}}var _0x4c31f7=Object[_0x30e32e(0xe2)],_0x4ddd87=Object[_0x30e32e(0x307)],_0x33a095=(_0x3db435,_0x11a187,_0x33f270)=>_0x11a187 in _0x3db435?_0x4c31f7(_0x3db435,_0x11a187,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33f270}):_0x3db435[_0x11a187]=_0x33f270,_0x4798a8=(_0x17ab25,_0x4c3805,_0xd46ce0,_0x2a9617)=>{const _0x168dc5=_0x30e32e;for(var _0x5ae98a=_0x2a9617>0x1?void 0x0:_0x2a9617?_0x4ddd87(_0x4c3805,_0xd46ce0):_0x4c3805,_0x42aba4=_0x17ab25[_0x168dc5(0x1fa)]-0x1,_0x1eaac2;_0x42aba4>=0x0;_0x42aba4--)(_0x1eaac2=_0x17ab25[_0x42aba4])&&(_0x5ae98a=_0x1eaac2(_0x5ae98a)||_0x5ae98a);return _0x5ae98a;},_0x246157=(_0x1c5f02,_0x55b513)=>(_0xc438b8,_0x4bf30)=>_0x55b513(_0xc438b8,_0x4bf30,_0x1c5f02),_0x30e8d9=(_0x32e7b4,_0x19d160,_0x512663)=>_0x33a095(_0x32e7b4,_0x19d160+'',_0x512663);const _0x16a63b=_0x30e32e(0x2a0);_0xd8ff59[_0x30e32e(0x1fd)]=class extends _0x4de4d0[_0x30e32e(0xd0)]{constructor(_0xd0e938=_0x177fba,_0x177674,_0x45ea91,_0x4cb152){const _0x250bc6=_0x30e32e;super(),this['_config']=_0xd0e938,this[_0x250bc6(0x192)]=_0x177674,this[_0x250bc6(0x305)]=_0x45ea91,this['_configService']=_0x4cb152;const {..._0x4f3268}=_0x4de4d0[_0x250bc6(0x25c)]({},_0x177fba,this[_0x250bc6(0x11d)]);this[_0x250bc6(0x269)][_0x250bc6(0x28a)](_0x4321f6,_0x4f3268);}[_0x30e32e(0x1e7)](){const _0x11ee09=_0x30e32e;this[_0x11ee09(0x133)](),this[_0x11ee09(0x196)]();}[_0x30e32e(0x12b)](){const _0x2e1204=_0x30e32e;this[_0x2e1204(0x1e3)]();}[_0x30e32e(0x133)](){const _0x10604a=_0x30e32e;var _0x78f0c9;const _0x2d82ab=[[_0x395d90],[_0x3d3f77],[_0x40dcc7],[_0x586ee6],[_0x304aed],[_0x5b0d62,{'useClass':_0x6716e2}],[_0x4ac185[_0x10604a(0x35e)],{'useClass':_0x4ac185[_0x10604a(0x1a2)]}],[_0x3120ea[_0x10604a(0x267)],{'useClass':_0x1179ee}],[_0xd8ff59[_0x10604a(0x2bb)]],[_0x4d1a0d],[_0xd22f95],[_0x37c68c],[_0x2e2308],[_0xd8ff59['CollaborationDataLoaderController']]];_0x4de4d0[_0x10604a(0xd9)](this[_0x10604a(0x305)],_0x4de4d0[_0x10604a(0x260)](_0x2d82ab,(_0x78f0c9=this['_config'])==null?void 0x0:_0x78f0c9['override']));}[_0x30e32e(0x1e3)](){const _0x33a726=_0x30e32e;this[_0x33a726(0x222)](this[_0x33a726(0x192)]['registerRenderModule'](_0x4de4d0[_0x33a726(0x1b5)]['UNIVER_DOC'],[_0x3fb2ff])),this[_0x33a726(0x222)](this[_0x33a726(0x192)][_0x33a726(0x25a)](_0x4de4d0[_0x33a726(0x1b5)][_0x33a726(0x324)],[_0x19beff]));}['_initDependencies'](){const _0x2eebcf=_0x30e32e;_0x4de4d0['touchDependencies'](this['_injector'],[[_0x37c68c],[_0xd8ff59[_0x2eebcf(0x2bb)]],[_0x4d1a0d],[_0xd22f95],[_0xd8ff59[_0x2eebcf(0x2be)]]]);}},_0x30e8d9(_0xd8ff59[_0x30e32e(0x1fd)],_0x30e32e(0x176),_0x16a63b),_0xd8ff59[_0x30e32e(0x1fd)]=_0x4798a8([_0x4de4d0[_0x30e32e(0x35a)](_0x3120ea[_0x30e32e(0x100)]),_0x246157(0x1,_0x14c15e['IRenderManagerService']),_0x246157(0x2,_0x4de4d0['Inject'](_0x4de4d0[_0x30e32e(0x214)])),_0x246157(0x3,_0x4de4d0[_0x30e32e(0x335)])],_0xd8ff59[_0x30e32e(0x1fd)]);var _0x275d6b=Object['getOwnPropertyDescriptor'],_0x4232b6=(_0x47dede,_0x20e3af,_0x26952,_0x1d8378)=>{const _0x3d9ebb=_0x30e32e;for(var _0x21e79a=_0x1d8378>0x1?void 0x0:_0x1d8378?_0x275d6b(_0x20e3af,_0x26952):_0x20e3af,_0x2d60dc=_0x47dede[_0x3d9ebb(0x1fa)]-0x1,_0x226d6a;_0x2d60dc>=0x0;_0x2d60dc--)(_0x226d6a=_0x47dede[_0x2d60dc])&&(_0x21e79a=_0x226d6a(_0x21e79a)||_0x21e79a);return _0x21e79a;},_0x4269b6=(_0x48aef9,_0x196fa1)=>(_0x1bdb42,_0x41f91c)=>_0x196fa1(_0x1bdb42,_0x41f91c,_0x48aef9);_0xd8ff59[_0x30e32e(0x2a7)]=class extends _0x3120ea[_0x30e32e(0x27e)]{constructor(_0x100f7c,_0x545012,_0x410dc7,_0x30f296,_0x25fdd1){super(_0x100f7c,_0x545012,_0x410dc7,_0x30f296,_0x25fdd1);}async[_0x30e32e(0xf7)](_0x339d8c){const _0x5ce17c=_0x30e32e,_0xdd8f41=await this[_0x5ce17c(0x343)](),_0x1407b8=this[_0x5ce17c(0x11f)](_0x339d8c,_0xdd8f41);return this['_doCreateSocket'](_0x1407b8);}[_0x30e32e(0x11f)](_0x4365c9,_0x207ebb){const _0x507b4a=_0x30e32e,_0x1f2454=typeof window>'u'?new URL(_0x4365c9):new URL(_0x4365c9,window[_0x507b4a(0x32a)][_0x507b4a(0x297)]);_0x1f2454['searchParams'][_0x507b4a(0x201)](_0x507b4a(0x217),_0x207ebb);const _0x5a6344=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x507b4a(0x32a)][_0x507b4a(0x129)]);return _0x5a6344[_0x507b4a(0x259)](_0x507b4a(0x2a2))&&_0x1f2454['searchParams'][_0x507b4a(0x201)]('runId',_0x5a6344[_0x507b4a(0x259)](_0x507b4a(0x2a2))),_0x1f2454[_0x507b4a(0x2e8)]();}async[_0x30e32e(0x343)](){const _0x36a1f6=_0x30e32e;var _0x15b098,_0x144831,_0x94d9e1;const _0x1c06da=this['_configService'][_0x36a1f6(0x232)](_0x3120ea[_0x36a1f6(0x116)]),_0x4f8a29=(_0x15b098=_0x1c06da==null?void 0x0:_0x1c06da[_0x36a1f6(0x360)])!=null?_0x15b098:_0x3120ea[_0x36a1f6(0x10d)];return(_0x94d9e1=(_0x144831=(await this[_0x36a1f6(0x1d2)][_0x36a1f6(0x259)](_0x4f8a29,{'headers':{'Content-Type':_0x36a1f6(0x27d)}}))['body'])==null?void 0x0:_0x144831[_0x36a1f6(0xc4)])!=null?_0x94d9e1:'';}},_0xd8ff59['BrowserCollaborationSocketService']=_0x4232b6([_0x4269b6(0x0,_0x4de4d0['Inject'](_0x4de4d0['Injector'])),_0x4269b6(0x1,_0x4de4d0[_0x30e32e(0x231)](_0x4ac185[_0x30e32e(0x189)])),_0x4269b6(0x2,_0x4de4d0[_0x30e32e(0x335)]),_0x4269b6(0x3,_0x4de4d0[_0x30e32e(0x30f)]),_0x4269b6(0x4,_0xcf4b95[_0x30e32e(0x345)])],_0xd8ff59['BrowserCollaborationSocketService']);var _0x48a4a2=(_0x4cb484=>(_0x4cb484[_0x4cb484[_0x30e32e(0x276)]=0x0]=_0x30e32e(0x276),_0x4cb484[_0x4cb484['OK']=0x1]='OK',_0x4cb484[_0x4cb484[_0x30e32e(0x31a)]=0x2]=_0x30e32e(0x31a),_0x4cb484[_0x4cb484[_0x30e32e(0x2b9)]=0x3]='PERMISSION_DENIED',_0x4cb484[_0x4cb484[_0x30e32e(0x1d8)]=0x4]=_0x30e32e(0x1d8),_0x4cb484[_0x4cb484[_0x30e32e(0x31d)]=0x5]=_0x30e32e(0x31d),_0x4cb484[_0x4cb484[_0x30e32e(0x17c)]=0x6]=_0x30e32e(0x17c),_0x4cb484[_0x4cb484[_0x30e32e(0x266)]=0x7]='INVALID_ARGUMENT',_0x4cb484[_0x4cb484[_0x30e32e(0xbe)]=0x8]=_0x30e32e(0xbe),_0x4cb484[_0x4cb484['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x4cb484[_0x4cb484['LOGIN_FAILED']=0xa]=_0x30e32e(0x183),_0x4cb484[_0x4cb484[_0x30e32e(0x174)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4cb484[_0x4cb484['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4cb484[_0x4cb484['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x4cb484[_0x4cb484[_0x30e32e(0x350)]=0xe]=_0x30e32e(0x350),_0x4cb484[_0x4cb484[_0x30e32e(0x161)]=0x1389]=_0x30e32e(0x161),_0x4cb484[_0x4cb484[_0x30e32e(0x1cf)]=0x1771]=_0x30e32e(0x1cf),_0x4cb484[_0x4cb484[_0x30e32e(0x2d8)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4cb484[_0x4cb484[_0x30e32e(0x342)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4cb484[_0x4cb484[_0x30e32e(0x1f3)]=0x1b59]=_0x30e32e(0x1f3),_0x4cb484[_0x4cb484[_0x30e32e(0x15d)]=0x1b5a]=_0x30e32e(0x15d),_0x4cb484[_0x4cb484['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x30e32e(0x306),_0x4cb484[_0x4cb484[_0x30e32e(0x2db)]=0x1b5c]=_0x30e32e(0x2db),_0x4cb484[_0x4cb484['APPLY_DUPLICATED']=0x1b5d]=_0x30e32e(0x1ad),_0x4cb484[_0x4cb484[_0x30e32e(0x1ce)]=0x1f41]=_0x30e32e(0x1ce),_0x4cb484[_0x4cb484[_0x30e32e(0x361)]=0x2329]=_0x30e32e(0x361),_0x4cb484[_0x4cb484['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x30e32e(0x155),_0x4cb484[_0x4cb484[_0x30e32e(0x245)]=0x232b]=_0x30e32e(0x245),_0x4cb484[_0x4cb484[_0x30e32e(0x326)]=0x232c]=_0x30e32e(0x326),_0x4cb484[_0x4cb484['LICENSE_DISTRO_REJECTED']=0x232d]=_0x30e32e(0x148),_0x4cb484[_0x4cb484['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x30e32e(0x23d),_0x4cb484[_0x4cb484[_0x30e32e(0x227)]=0x2712]=_0x30e32e(0x227),_0x4cb484[_0x4cb484[_0x30e32e(0xe4)]=0x2713]=_0x30e32e(0xe4),_0x4cb484[_0x4cb484[_0x30e32e(0x2a1)]=0x2714]=_0x30e32e(0x2a1),_0x4cb484[_0x4cb484[_0x30e32e(0x1ef)]=0x271a]=_0x30e32e(0x1ef),_0x4cb484[_0x4cb484[_0x30e32e(0x1c4)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4cb484[_0x4cb484[_0x30e32e(0x355)]=0x271c]=_0x30e32e(0x355),_0x4cb484[_0x4cb484[_0x30e32e(0x294)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4cb484[_0x4cb484['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4cb484[_0x4cb484[_0x30e32e(0x309)]=0x271f]=_0x30e32e(0x309),_0x4cb484[_0x4cb484['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x30e32e(0xbf),_0x4cb484[_0x4cb484[_0x30e32e(0x1d7)]=0x2af9]=_0x30e32e(0x1d7),_0x4cb484[_0x4cb484[_0x30e32e(0x253)]=0x2ee1]=_0x30e32e(0x253),_0x4cb484[_0x4cb484['INVALID_INVITE_CODE']=0x2ee2]=_0x30e32e(0xfa),_0x4cb484[_0x4cb484[_0x30e32e(0x27c)]=0x2ee3]=_0x30e32e(0x27c),_0x4cb484[_0x4cb484[_0x30e32e(0x1b8)]=0x2ee4]=_0x30e32e(0x1b8),_0x4cb484[_0x4cb484[_0x30e32e(0x2d4)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4cb484[_0x4cb484['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x30e32e(0x226),_0x4cb484[_0x4cb484[_0x30e32e(0x318)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4cb484[_0x4cb484[_0x30e32e(0x26d)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4cb484[_0x4cb484[_0x30e32e(0x341)]=-0x1]=_0x30e32e(0x341),_0x4cb484))(_0x48a4a2||{}),_0x205644=Object[_0x30e32e(0x307)],_0x214204=(_0xeb9f70,_0x16afd7,_0x32879c,_0x3a9dee)=>{for(var _0x5cfc3d=_0x3a9dee>0x1?void 0x0:_0x3a9dee?_0x205644(_0x16afd7,_0x32879c):_0x16afd7,_0x416d80=_0xeb9f70['length']-0x1,_0x406452;_0x416d80>=0x0;_0x416d80--)(_0x406452=_0xeb9f70[_0x416d80])&&(_0x5cfc3d=_0x406452(_0x5cfc3d)||_0x5cfc3d);return _0x5cfc3d;},_0x380f38=(_0x49a5d1,_0x3259f8)=>(_0x691c21,_0x2b17bf)=>_0x3259f8(_0x691c21,_0x2b17bf,_0x49a5d1);_0xd8ff59[_0x30e32e(0x24f)]=class extends _0x4de4d0[_0x30e32e(0x238)]{constructor(_0x24f1f7,_0x2b7180,_0x3682cf){const _0x24fb8f=_0x30e32e;super(),this[_0x24fb8f(0x347)]=_0x24f1f7,this[_0x24fb8f(0x1d2)]=_0x2b7180,this[_0x24fb8f(0x269)]=_0x3682cf;}async[_0x30e32e(0xdd)](_0x904289,_0x5b2dd5,_0x5b9ea7,..._0x4ca314){const _0x49d57b=_0x30e32e;var _0x570aab,_0x4d1cde,_0x7093c1,_0x518c82;const _0x222bb3=this['_instanceService'][_0x49d57b(0x119)]();if(!_0x222bb3)throw new Error(_0x49d57b(0x210));const _0x19a856=((_0x570aab=this[_0x49d57b(0x269)][_0x49d57b(0x232)](_0x3120ea['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x570aab:_0x3120ea[_0x49d57b(0x17d)])+'/'+_0x904289+'/run/'+_0x5b2dd5,_0x180332=new URL(window[_0x49d57b(0x32a)]['href']),_0x42ba89={'scriptId':_0x904289,'runId':(_0x4d1cde=_0x180332[_0x49d57b(0x19e)]['get']('runId'))!=null?_0x4d1cde:'','function':_0x5b2dd5,'unitId':_0x222bb3[_0x49d57b(0x2a6)](),'argsOfFunction':JSON['stringify'](_0x4ca314),'invokeId':(_0x7093c1=_0x5b9ea7['invokeId'])!=null?_0x7093c1:'','executionId':(_0x518c82=_0x5b9ea7[_0x49d57b(0x2e1)])!=null?_0x518c82:''};try{const _0x54f600=await this[_0x49d57b(0x1d2)][_0x49d57b(0x147)](_0x19a856,{'body':_0x42ba89});return _0x54f600[_0x49d57b(0xde)][_0x49d57b(0x109)]&&_0x54f600[_0x49d57b(0xde)][_0x49d57b(0x109)][_0x49d57b(0x230)]!==_0x48a4a2['OK']?_0x49d57b(0x1a6):_0x54f600[_0x49d57b(0xde)][_0x49d57b(0x162)];}catch{return'Failed';}}},_0xd8ff59[_0x30e32e(0x24f)]=_0x214204([_0x380f38(0x0,_0x4de4d0[_0x30e32e(0x268)]),_0x380f38(0x1,_0x4de4d0[_0x30e32e(0x231)](_0x4ac185[_0x30e32e(0x189)])),_0x380f38(0x2,_0x4de4d0[_0x30e32e(0x335)])],_0xd8ff59[_0x30e32e(0x24f)]);const _0x4a695f=0x7530,_0x1acc57=_0x30e32e(0x219);class _0x100a07 extends _0x4de4d0[_0x30e32e(0x238)]{constructor(){const _0x286ff7=_0x30e32e;super(),_0x5444ab(this,'_id',_0x4de4d0['generateRandomId']()),_0x5444ab(this,_0x286ff7(0x233),new Set()),_0x5444ab(this,_0x286ff7(0x1ec),new Map()),_0x5444ab(this,_0x286ff7(0x197),null),_0x5444ab(this,_0x286ff7(0x323),new Map()),_0x5444ab(this,'_unitStatus',new Map()),this[_0x286ff7(0x315)]();}[_0x30e32e(0x327)](){const _0xe2c51a=_0x30e32e;super[_0xe2c51a(0x327)](),this[_0xe2c51a(0x323)][_0xe2c51a(0x265)]((_0x55e84e,_0x580e7c)=>this[_0xe2c51a(0x304)](_0x580e7c)),this[_0xe2c51a(0x197)]&&window['clearInterval'](this[_0xe2c51a(0x197)]);}[_0x30e32e(0x181)](_0x27b522){const _0x1427cb=_0x30e32e;return this[_0x1427cb(0x1c0)](_0x27b522)['pipe'](_0x38f1b1[_0x1427cb(0x279)]());}[_0x30e32e(0xcc)](_0x5d4159){const _0x272058=_0x30e32e;this[_0x272058(0x233)][_0x272058(0x29a)]===0x0&&this[_0x272058(0xe7)](),this[_0x272058(0x233)][_0x272058(0x2e0)](_0x5d4159),this[_0x272058(0x124)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5d4159],'isForwarded':!0x1});}['disposeUnit'](_0x17f249){const _0x5180c9=_0x30e32e;this['_selfUnitIDs']['delete'](_0x17f249),this['_selfUnitIDs'][_0x5180c9(0x29a)]===0x0&&this[_0x5180c9(0x197)]&&window[_0x5180c9(0x1b7)](this[_0x5180c9(0x197)]);}[_0x30e32e(0x315)](){const _0x599cf9=_0x30e32e;this[_0x599cf9(0x222)](_0x4de4d0['toDisposable'](_0x38f1b1[_0x599cf9(0x36a)](window,_0x599cf9(0x1e2))[_0x599cf9(0x15c)](_0x21d59a=>{const _0x57a03c=_0x599cf9;if(_0x21d59a[_0x57a03c(0x1d1)]!==_0x1acc57||!_0x21d59a['newValue'])return;const _0x1b7b08=JSON[_0x57a03c(0x182)](_0x21d59a[_0x57a03c(0x156)]);this['_handleEvent'](_0x1b7b08);}))),window[_0x599cf9(0x367)]('unload',()=>this[_0x599cf9(0x124)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x599cf9(0x233)])}));}[_0x30e32e(0x199)](_0x357447){const _0x24129d=_0x30e32e;switch(_0x357447[_0x24129d(0x2a3)]){case 0x0:this[_0x24129d(0x28c)](_0x357447);break;case 0x1:this[_0x24129d(0x348)](_0x357447);break;case 0x2:this['_handleHeartbeatEvent'](_0x357447);break;}}[_0x30e32e(0x28c)](_0x43bb78){const _0x26368f=_0x30e32e,{unitIDs:_0x79366d,memberID:_0x4a1ac7,isForwarded:_0x32b9f8}=_0x43bb78;_0x79366d[_0x26368f(0x265)](_0x79a83f=>{const _0x3f4465=_0x26368f;if(!_0x32b9f8&&this[_0x3f4465(0x1ec)]['has'](_0x79a83f)&&this[_0x3f4465(0x1c0)](_0x79a83f)['next'](_0x3120ea[_0x3f4465(0x26a)][_0x3f4465(0x33f)]),!this[_0x3f4465(0x1ec)]['has'](_0x79a83f)||!this[_0x3f4465(0x1ec)][_0x3f4465(0x259)](_0x79a83f)['has'](_0x4a1ac7)){const _0x23c9ac=this['_unitOnClients']['get'](_0x79a83f)||new Set();_0x23c9ac[_0x3f4465(0x2e0)](_0x4a1ac7),this[_0x3f4465(0x1ec)][_0x3f4465(0x201)](_0x79a83f,_0x23c9ac),this[_0x3f4465(0xca)](_0x4a1ac7);}}),_0x32b9f8||this[_0x26368f(0x124)]({'type':0x0,'memberID':this[_0x26368f(0x16a)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5f4e32){const _0x300a98=_0x30e32e;this[_0x300a98(0x304)](_0x5f4e32);const _0x48a6e1=window['setTimeout'](()=>{const _0x458477=_0x300a98;this['_unitOnClients'][_0x458477(0x265)](_0x4f32e9=>{const _0x28d4d1=_0x458477;_0x4f32e9[_0x28d4d1(0xd3)](_0x5f4e32);});},_0x4a695f*0x2);this[_0x300a98(0x323)][_0x300a98(0x201)](_0x5f4e32,_0x48a6e1);}['_removeClearOtherTimer'](_0x2eeaec){const _0x554213=_0x30e32e;if(this[_0x554213(0x323)][_0x554213(0xe8)](_0x2eeaec)){const _0x4b3921=this[_0x554213(0x323)]['get'](_0x2eeaec);_0x4b3921&&window[_0x554213(0x1f7)](_0x4b3921),this[_0x554213(0x323)][_0x554213(0x201)](_0x2eeaec,null);}}[_0x30e32e(0x348)](_0x54ea22){const _0x4071f9=_0x30e32e,{memberID:_0x47c8e5,unitIDs:_0x1ad608}=_0x54ea22;_0x1ad608[_0x4071f9(0x265)](_0x58b455=>{const _0x597fcb=_0x4071f9;var _0x1e784b;const _0x2049c7=this['_unitOnClients'][_0x597fcb(0x259)](_0x58b455);_0x2049c7&&(_0x2049c7['delete'](_0x47c8e5),(_0x1e784b=this[_0x597fcb(0x1c0)](_0x58b455))==null||_0x1e784b[_0x597fcb(0x241)](_0x2049c7[_0x597fcb(0x29a)]===0x0?_0x3120ea[_0x597fcb(0x26a)][_0x597fcb(0x319)]:_0x3120ea['UnitStatus'][_0x597fcb(0x33f)]));}),this[_0x4071f9(0x304)](_0x47c8e5);}[_0x30e32e(0x220)](_0x3c4749){const _0x439922=_0x30e32e;this[_0x439922(0xca)](_0x3c4749[_0x439922(0x2ee)]);}['_send'](_0xe8e017){const _0x6ad4b3=_0x30e32e;localStorage['setItem'](_0x1acc57,JSON[_0x6ad4b3(0xfd)](_0xe8e017));}[_0x30e32e(0xe7)](){const _0x327f7f=_0x30e32e;this[_0x327f7f(0x197)]=window['setInterval'](()=>{const _0x23b273=_0x327f7f;this[_0x23b273(0x124)]({'type':0x2,'memberID':this[_0x23b273(0x16a)]});},_0x4a695f);}[_0x30e32e(0x1c0)](_0x2a62fa){const _0x2985ac=_0x30e32e;return this[_0x2985ac(0x2a8)][_0x2985ac(0xe8)](_0x2a62fa)||this[_0x2985ac(0x2a8)][_0x2985ac(0x201)](_0x2a62fa,new _0x38f1b1[(_0x2985ac(0x339))](_0x3120ea[_0x2985ac(0x26a)][_0x2985ac(0x319)])),this[_0x2985ac(0x2a8)][_0x2985ac(0x259)](_0x2a62fa);}}_0xd8ff59[_0x30e32e(0xf3)]=_0x5b0d62,_0xd8ff59[_0x30e32e(0x1eb)]=_0xc3bbf5,_0xd8ff59[_0x30e32e(0x252)]=_0x100a07,_0xd8ff59[_0x30e32e(0x1dc)]=_0x6716e2,Object['defineProperty'](_0xd8ff59,Symbol[_0x30e32e(0x2de)],{'value':'Module'});}));function _0xd0c0(){const _0x492b9a=['docStateChange$','saveOfflineData','UNDEFINED','takeUntil','makeDirty','distinctUntilChanged','setUndoRedoMutationParamsCache','collabStatus.offline','INVITE_CODE_REQUIRED','application/json','CollaborationSocketService','getStateCache','backgroundColor','getSkeleton','_cursorInfo$','_name','transform','6228040ElLkbE','getMemberID','registerRefRange','_collabCursorState$','#FFF','setConfig','FromArray','_handleJoinEvent','roomMembers','_saveCache','removeParam','moveTo','then','react','Error','YUUMI_ALL_TABLES_IS_INVALID','_backgroundColor','defIds','origin','@univerjs/rpc','endColumn','size','fillText','replaceState','startColumn','@univerjs/docs','_setupBeforeClosingHandler','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','YUUMI_SUBSCRIPTION_NOT_FOUND','runId','type','on-line-icon','UniverDocsUi','getUnitId','BrowserCollaborationSocketService','_unitStatus','redoState','cursorInfo','blue.400','addObjects','UniverNetwork','_univerInstanceService','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','react/jsx-runtime','ColorKit','_render','_hover','on-line-icon_clip0_910_349','collaboration-client-ui.config','min','UNIVER_DOC','replace','PERMISSION_DENIED','getSheetId','DesktopCollaborationStatusDisplayController','subscribeEvent','_drawAnchor','CollaborationDataLoaderController','4797588RVkYmz','_roomMembers$','createElement','getSheetObject','_lastPointer','Tooltip','getTypeOfUnitAdded$','unit','all','27518958OxzFDb','getCoordByCell','DeleteRangeMoveLeftCommandId','filter','currentTheme$','Workbook','status$','_anchorDot','_initEntityListener','getRenderById','collab-text-anchor-','Rect','INVITE_CODE_ALREADY_BOUND','hasOwnProperty','forwardRef','asObservable','SNAPSHOT_HAS_BEEN_REMOVED','DOC_RANGE_TYPE','extend','APPLY_PERMISSION_DENIED','executeCommand','displayName','toStringTag','onCommandExecuted','add','executionId','_docTransformStateCacheService','_colorIndex','Rectangle','_scene','_collabSessionService','onPointerMove$','toString','OnLineIcon','tag','_saveTaskMap','fillStyle','ONLINE','memberID','random','collabStatus.notCollab','uni.network.url-service','off-line-icon_clip0_910_343','pushState','_getAnchorBounding','top','getRangePointData','CommandType','InsertRangeMoveRightCommandId','@univerjs-pro/collaboration-client','reconnect','startRow','_online','IMessageService','session.will-retry','handleInsertRangeMoveDown','mapTo','DeleteRangeMoveUpCommandId','InsertColCommandId','deserializeRangeWithSheet','_removeClearOtherTimer','_injector','APPLY_REVISION_CONFILICT','getOwnPropertyDescriptor','colorChannel1','YUUMI_AI_RUN_FAILED','hide','_syncEditingCollabCursorService','Vector2','_commandService','popstate','ILogService','triggerDblclick','TRANSFORM_CHANGE_OBSERVABLE_TYPE','USERS_LEAVE','_transformPreviousActiveRange','transformIMECache','_init','jiqing.500','params','MOBILE_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','INTERNAL_ERROR','_docClipboardService','handleDeleteRangeMoveUp','UNAUTHENTICATED','jsxs','_transformHistoryAndStateStack','pipe','activeSheet$','defs','_clearOtherTimers','UNIVER_SHEET','setAlpha','LICENSE_EXPORT_SIZE_EXCEEDED','dispose','560027pvkqwu','SheetSkeletonManagerService','location','symbol','_onRefRangeChange','TEXT_RANGE_LAYER_INDEX','3LvnXYp','_revisionService','_uiPartsService','_drawTextRange','sessionStatus$','imageSourceType','createIdentifier','IConfigService','RegularPolygon','exports','undoState','BehaviorSubject','collabStatus.synced','runRefRangeMutations','getDocRanges','findNodePositionByCharIndex','send','OTHER_CLIENTS_EDITING','combineLatest','UNRECOGNIZED','ENSURE_SNAPSHOT_EXECUTION','_getSessionTicket','_entities','ISnapshotServerService','onMouseMove','_instanceService','_handleLeaveEvent','fill','useDependency','_sheetSkeletonManagerService','SHEET_VIEWPORT_KEY','4697714fIoEep','dispose$','_memberService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LOCAL_CACHE_INTERVAL_KEY','color','0\x200\x2017\x2016','[CollaborationDataLoaderController]','YUUMI_TABLE_NOT_FOUND_IN_UNIT','subUnitId','M0\x200H16V16H0z','loadUnit','substring','DependentOn','386085LXLcmj','OFFLINE','clipPath','ISocketService','attrs','wsSessionTicketUrl','LICENSE_MAX_UNITS_EXCEEDED','ICommandService','_transformUndoRedoStack','from','requireSession','setShapeProps','addEventListener','restore','_entityInit$','fromEvent','_removeCollabCursors','permission.title','collab-text-range-','handleInsertRow','_updateSubUnitFromURLParams','TOO_MANY_REQUESTS','YUUMI_CONNECTOR_URL_NOT_FOUND','drawWith','_dataLoaderService','_docStateChangeManagerService','MoveRangeCommandId','ticket','ILocalStorageService','column','max','_context','concat','_scheduleClearOtherTimer','SetSelectionsOperation','editingUnit','some','_labelPosition','DocCollaborationEntity','Plugin','TEXT','_document','delete','_collaborationUIEventService','debounceTime','sheetID','@univerjs/docs-ui','CollaborationStatus','registerDependencies','_toggleOffline','generateRandomId','handleMoveRange','runOnServer','body','operators','_localeService','arc','defineProperty','transformByState','YUUMI_RATE_OVER_LIMIT','jsx','_docTransformIMECacheService','_scheduleHeartbeat','has','_localStorageService','DisposableCollection','subunit','white','isArray','BuiltInUIPart','roomMembers$','isTransformMutationsWithChangesetSuccess','assignAColorForMemberID','show','IURLService','session.connection-failed','1757316WuCFVI','evenodd','createSocket','_colorAssignService','transformMutationsWithChangeset','INVALID_INVITE_CODE','fillRule','_anchor','stringify','UniverUi','className','UniverCollaborationClientPlugin','UPDATE_CURSOR','name','red.300','SheetsSelectionsService','UniverProCollaborationClient','DocIMEInputManagerService','actions','SetWorksheetActivateCommand','error','SYNCED','getCollabCursors$','transformRemoteChangeset','DEFAULT_WS_SESSION_TICKET_URL','getSheetBySheetId','_initCommandExecutedListener','RevisionService','measureText','RemoveRowCommandId','univer-flex\x20univer-items-center','_themeService','getVpScrollXYInfoByPosToVp','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_getMergeRange','@univerjs-pro/collaboration','getFocusedUnit','http://www.w3.org/2000/svg','function','mask','_config','CONFLICT','_createSocketURL','getUndoRedoMutationParamsCache','propertyIsEnumerable','_handleHover','CollaborationUIEventService','_send','_toggleOnline','EffectRefRangId','transformMutation','IImageIoService','search','UniverCore','onRendered','translate(.97)','getParam','doc.mutation.rich-text-editing','useObservable','CollaborationEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collab-rect-range-','_registerDependencies','apply','setItem','history','transformStateCache','trim','exhaustSavingTask','_updateLocalCursor','NOT_COLLAB','currentColor','_startDocCollabCursor','12GgBtwi','handleDeleteRangeMoveLeft','collabStatus.conflict','black','getRelativeToViewportCoord','Tools','replaceDocRanges','getItem','_initResize','post','LICENSE_DISTRO_REJECTED','registerComponent','font','CollaborationController','whenReady','_transformService','purple.300','flatMap','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','@univerjs/sheets','DocStateChangeManagerService','UniverProCollaboration','DataLoaderService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','newValue','lineTo','path','cursorInfo$','_cursor','_getScale','subscribe','APPLY_NON_SEQUENTIAL_REVISION','AWAITING','_refRangeService','labelPosition','CHANGESET_REVISION_CONFILICT','result','addObject','useRef','onLocalMutation','currentSkeleton$','bottom','green.600','collabCursorState$','_id','text','split','_updateURLWithCurrentState','COLORS','handleInsertCol','_initEvent','toRgbString','_hovered','skeleton','MOBILE_VERIFY_CODE_MISMATCH','UniverProCollaborationClientUi','pluginName','isTransformMutationFailure','complete','0\x200\x2016\x2016','init','getTypeOfUnitDisposed$','ALREADY_EXISTS','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','registerBeforeClose','InsertRowCommandId','_color','getUnitStatus$','parse','LOGIN_FAILED','xlink:href','getMember','InsertRangeMoveDownCommandId','assign','syncEditingCollabCursor','HTTPService','current','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','RxDisposable','_range','deepClone','entries','setActiveRange','_scheduleSaving','_renderManagerService','RichTextEditingMutation','onPointerEnter$','resize','_initDependencies','_heartbeatTimer','svg','_handleEvent','string','addHandlerCallback','_onCursorUpdate','_drawRectRange','searchParams','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_disabled','CollaborationSessionService','WebSocketService','OffLineIcon','Shape','unshift','Failed','_session','_shapes','width','div','INotificationService','data','APPLY_DUPLICATED','focused$','@univerjs/engine-render','mutations','@univerjs/design','with','_localCacheService','PENDING','UniverInstanceType','UniverDocs','clearInterval','USER_NOT_INVITED_CODE','_logService','updateOfflineData','MUTATION','find','_initStatusComponent','children','_notificationService','_ensureSubject','_updateCollabCursors','UniverEngineFormula','closePath','YUUMI_ASYNCIO_CANCELLED','call','_docTransformSelectionsService','handleIRemoveRow','UniverSheetsUi','_initStatusListener','session.collaboration-timeout','OTHER_CLIENT_EDITING','UniverDrawing','SOCKET_FAILED_RETRY','CONNECTOR_DATA_TOO_LARGE','SNAPSHOT_INVALID_SNAPSHOT','getMergeData','key','_httpService','_urlService','debounce','_startSheetCollabCursor','ITransformService','PY_RUNTIME_SCRIPT_ERROR','NOT_FOUND','_docSyncEditingCollabCursorService','_imageIoService','collaboration.closeRoom','WebURLService','_eventUnsubscribe','_status$','shareReplay','values','connectInjector','storage','_registerRenderDependencies','isEditing','saveTaskMap','DocSkeletonManagerService','onStarting','rxjs','Subject','LOCAL_CACHE_INTERVAL','SheetCollabCursorShape','_unitOnClients','serializeRangeWithSheet','getViewport','YUUMI_NO_CUBOID_FOR_QUESTION','source','ranges','RECT','APPLY_REJECT','CollaborationUIEventId','_assignedColors','selection','clearTimeout','save','createInstance','length','IRenderManagerService','icon','UniverCollaborationClientUIPlugin','href','indexOf','_textBubble','set','includes','React','_cursorShapes','_beforeCloseService','_collaborationController','IRemoteInstanceService','SetTextSelectionsOperation','push','off-line-icon','_messageService','unitId','LocaleService','_docSkeleton','url(#$1','[RemoteUniscriptService]:\x20no\x20focused\x20unit','1em','getLocalCacheKey','getAncestorScale','Injector','UniverIcon','_cursors','sessionTicket','ThemeService','ACTIVE_UNIT_EVENT_CHANNEL','SessionStatus','getColor','event$','urlChange$','CLOSE_ROOM','map','_handleHeartbeatEvent','eventID','disposeWithMe','getCellPositionByOffset','unitID','getUnhiddenWorksheets','WECHAT_HAS_BEEN_BOUND','YUUMI_URL_COL_OUT_OF_RANGE','RefRangeService','univer-mr-2\x20univer-flex\x20univer-text-xl','_refreshCollabCursors','MemberService','_docSkeletonManagerService','unsubscribe','round','yellow.400','code','Inject','getConfig','_selfUnitIDs','_hideTimer','setParam','RemoveColCommandId','beginPath','Disposable','_draw','url(#on-line-icon_clip0_910_349)','switchMap','@univerjs/drawing','YUUMI_UNABLE_LOAD_URL','_collabCursorController','textRanges','...','next','DocSelectionManagerService','selections','m2Prime','LICENSE_IMPORT_SIZE_EXCEEDED','row','@univerjs/core','loadOfflineData','UniverDesign','_cachedData','getOwnPropertySymbols','getOffsetConfig','Unknown\x20user','height','RemoteUniscriptService','m1Prime','_getSaveTimeout','WebBrowserSingleActiveUnitService','INVITE_CODE_HAS_BEEN_UES','sheetId','prototype','url(#off-line-icon_clip0_910_343)','_setupSubUnitSync','_getSheetObject','get','registerRenderModule','rgba(255,\x20255,\x20255,\x200.01)','merge','getUniverSheetInstance','_onCursorDelete','collaboration-client.offline-data-not-saved','mergeOverrideWithDependencies','HEADER_MENU','isActive','NodePositionConvertToRectRange','Warning','forEach','INVALID_ARGUMENT','ILocalCacheService','IUniverInstanceService','_configService','UnitStatus','use','univerjs-icon\x20univerjs-icon-','EMAIL_HAS_BEEN_BOUND','Optional','idSuffix','MessageType','getActiveRange','getValue','getActiveSheet'];_0xd0c0=function(){return _0x492b9a;};return _0xd0c0();}
|