@univerjs-pro/collaboration-client-ui 0.10.9 → 0.10.10-experimental.20251010-3f807c5
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 +18 -18
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2a3e(_0x23fb8f,_0x21d2b3){const _0x41d674=_0x41d6();return _0x2a3e=function(_0x2a3ea5,_0x142473){_0x2a3ea5=_0x2a3ea5-0x114;let _0x52acb3=_0x41d674[_0x2a3ea5];return _0x52acb3;},_0x2a3e(_0x23fb8f,_0x21d2b3);}function _0x41d6(){const _0x491d51=['getDocRanges','SNAPSHOT_HAS_BEEN_REMOVED','subUnitId','collaboration-client.offline-data-not-saved','resize','_configService','indexOf','_shapes','_ensureSubject','addEventListener','url(#$1','IBeforeCloseService','flatMap','getLocalCacheKey','IConfigService','loadUnit','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initStatusListener','isTransformMutationFailure','m2Prime','WECHAT_HAS_BEEN_BOUND','@univerjs/ui','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onRefRangeChange','permission.content','OTHER_CLIENTS_EDITING','_range','UNIVER_DOC','getMergeData','IDocClipboardService','closePath','Unknown\x20user','location','shareReplay','takeUntil','entries','_localCacheService','entityInit$','IUniverInstanceService','_handleHover','exhaustSavingTask','onPointerLeave$','getMemberID','_context','_updateSubUnitFromURLParams','getCurrentUnitForType','_cursor','collabCursorState$','pushState','onRendered','assignAColorForMemberID','Shape','off-line-icon_clip0_910_343','...','pluginName','split','newValue','next','BuiltInUIPart','unit','InsertColCommandId','clearTimeout','_transformPreviousActiveRange','INVITE_CODE_REQUIRED','distinctUntilChanged','CommandType','_onCursorUpdate','urlChange$','61767FKLZUl','26433CbmnKh','_labelPosition','current','Failed','getUnitId','searchParams','registerRefRange','green.600','useObservable','_initEvent','editingUnit','APPLY_DUPLICATED','Vector2','m1Prime','_commandService','hide','loadOfflineData','call','_injector','push','_backgroundColor','SetDocZoomRatioOperation','SNAPSHOT_INVALID_SNAPSHOT','_draw','subscribe','getValue','UniverCore','_saveCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','undoState','activeSheet$','_registerDependencies','COMPLETION_FINISHED','_localStorageService','UNRECOGNIZED','onPointerEnter$','getConfig','map','parse','_unitStatus','setConfig','RECT','INVALID_ARGUMENT','_drawAnchor','symbol','_setupSubUnitSync','_onCursorDelete','blue.400','makeDirty','prototype','UniverNetwork','UniverSheetsUi','_revisionService','_doCreateSocket','apply','EffectRefRangId','UPDATE_CURSOR','4552709ZDISzx','setStateCache','sessionStatus$','getOwnPropertyDescriptor','3101960PEFNRX','selection','CollaborationSessionService','collabStatus.fetchMiss','11CHxZFh','_status$','NodePositionConvertToRectRange','_collabCursorController','filter','displayName','FromArray','getSkeleton','_httpService','MOBILE_HAS_BEEN_BOUND','getItem','href','1em','setInterval','ISocketService','getColorFromTheme','_cursors','replace','_startSheetCollabCursor','addHandlerCallback','color','OTHER_CLIENT_EDITING','_cursorInfo$','_drawRectRange','PERMISSION_DENIED','collab-text-anchor-','endColumn','CollaborationUIEventId','MoveRangeCommandId','collabStatus.syncing','xlink:href','triggerDblclick','on-line-icon_clip0_910_349','div','SheetCollabCursorShape','_getSaveTimeout','pipe','WebSocketService','IImageIoService','@univerjs/engine-render','getParam','getCellPositionByOffset','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_updateLocalCursor','_univerInstanceService','session.will-retry','collabStatus.notCollab','_beforeCloseService','svg','_hideTimer','_instanceService','YUUMI_ALL_TABLES_IS_INVALID','onLocalMutation','body','_selfUnitIDs','isTransformMutationsWithChangesetSuccess','enableLocalCache','mutations','_initStatusComponent','_colorAssignService','fill','1526736tlKOvn','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','onCommandExecuted','_handleLeaveEvent','measureText','LICENSE_DISTRO_REJECTED','MemberService','values','ColorKit','_id','_sheetSkeletonManagerService','has','UniverDrawing','whenReady','APPLY_REVISION_CONFILICT','eventID','delete','_registerRenderDependencies','_notificationService','DEFAULT_WS_SESSION_TICKET_URL','saveOfflineData','findNodePositionByCharIndex','getCollabCursors$','startColumn','propertyIsEnumerable','Inject','UniverProCollaborationClient','round','getUndoRedoMutationParamsCache','invokeId','registerBeforeClose','rgba(255,\x20255,\x20255,\x200.01)','handleIRemoveCol','IURLService','createSocket','LOGIN_FAILED','colorChannel1','ThemeService','Rectangle','YUUMI_UNABLE_LOAD_URL','DisposableCollection','ALREADY_EXISTS','OnLineIcon','LICENSE_EXPORT_SIZE_EXCEEDED','MOBILE_VERIFY_CODE_MISMATCH','transform','JOIN_ROOM_FAILED','height','getSheetId','code','collab-rect-range-','getMember','dispose$','setAlpha','generateRandomId','_docTransformIMECacheService','transformStateCache','_collabCursorState$','Disposable','onPointerMove$','UniverSheets','Optional','_renderManagerService','save','PENDING','imageSourceType','_entities','font','_anchorDot','disposeUnit','handleIRemoveRow','fillText','Tools','runOnServer','memberID','react/jsx-runtime','CONFLICT','DOC_RANGE_TYPE','purple.300','getUnhiddenWorksheets','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LOCAL_CACHE_INTERVAL_KEY','_anchor','_online','UniverCollaborationClientUIPlugin','getStateCache','UniverProCollaboration','SessionStatus','red.300','5WvRNiu','getOwnPropertySymbols','setUndoRedoMutationParamsCache','/run/','_scheduleHeartbeat','TOO_MANY_REQUESTS','LICENSE_IMPORT_SIZE_EXCEEDED','_hover','disableLocalCache','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_unitOnClients','collabStatus.synced','APPLY_PERMISSION_DENIED','APPLY_NON_SEQUENTIAL_REVISION','_document','SYNCED','INotificationService','arc','_imageIoService','CollaborationSocketService','NOT_FOUND','unload','IMessageService','@univerjs-pro/collaboration','UniverDesign','LICENSE_MAX_UNITS_EXCEEDED','roomMembers$','CONNECTOR_DATA_TOO_LARGE','_session','DesktopCollaborationStatusDisplayController','transformByState','DocIMEInputManagerService','DocSelectionManagerService','drawWith','_memberService','BehaviorSubject','_startDocCollabCursor','_roomMembers$','@univerjs/sheets','set','_config','roomMembers','_toggleOnline','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_drawTextRange','Warning','_toggleOffline','forwardRef','USERS_LEAVE','className','_docSyncEditingCollabCursorService','post','cursorInfo$','@univerjs/core','InsertRangeMoveRightCommandId','_docSkeletonManagerService','getViewport','_getAnchorBounding','status$','8cstyrW','cursorInfo','moveTo','_dataLoaderService','add','UniverDocsUi','subunit','white','_eventUnsubscribe','serializeRangeWithSheet','ENSURE_SNAPSHOT_EXECUTION','result','_clearOtherTimers','clipPath','DocCollaborationEntity','_initDependencies','getFocusedUnit','_lastPointer','_transformHistoryAndStateStack','isEditing','yellow.400','UNAUTHENTICATED','UniverRpc','combineLatest','_docTransformStateCacheService','YUUMI_AI_RUN_FAILED','CHANGESET_REVISION_CONFILICT','contains','fromEventSubject','transformMutationsWithChangeset','_docTransformSelectionsService','_init','CollaborationStatus','SheetsSelectionsService','getActiveRange','useCallback','currentColor','SetTextSelectionsOperation','startsWith','MUTATION','Injector','DocStateChangeManagerService','_docClipboardService','_scheduleClearOtherTimer','univer-mr-2\x20univer-flex\x20univer-text-xl','Error','asObservable','operators','unitID','http://www.w3.org/2000/svg','_initEntityListener','length','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getScale','getRenderById','toStringTag','defIds','_disabled','@univerjs-pro/collaboration-client','BrowserCollaborationSocketService','path','redoState','syncEditingCollabCursor','getSheetObject','transformSelections','transformMutation','InsertRangeMoveDownCommandId','InsertRowCommandId','_syncEditingCollabCursorService','_handleEvent','children','runId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','trim','setParam','replaceDocRanges','getSheetBySheetId','defineProperty','key','extend','_collabSessionService','_send','jsx','switchMap','evenodd','defs','_refreshCollabCursors','_scene','handleMoveRange','deepClone','black','from','setShapeProps','min','type','Rect','connectInjector','_textBubble','NO_OTHER_CLIENTS_EDITING','_color','WebBrowserSingleActiveUnitService','YUUMI_URL_COL_OUT_OF_RANGE','UniverUi','handleDeleteRangeMoveUp','init','focused$','addObject','_getMergeRange','all','univerjs-icon\x20univerjs-icon-','fromEvent','collabStatus.conflict','range','_hovered','unshift','_docSkeleton','UniverCollaborationClientPlugin','[CollaborationDataLoaderController]','COLORS','random','getCurrent','_render','sessionTicket','useDependency','collab-client.tooltip.reconnect','_removeClearOtherTimer','permission.title','debounceTime','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','size','ITransformService','SHEET_VIEWPORT_KEY','UNIVER_SHEET','setItem','ticket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','startRow','row','_colorIndex','disposeWithMe','_urlService','DependentOn','text','INTERNAL_ERROR','getCoordByCell','UNDEFINED','saveTaskMap','UnitStatus','touchDependencies','DeleteRangeMoveLeftCommandId','_getSessionTicket','ONLINE','idSuffix','function','IUIPartsService','column','bottom','CollaborationDataLoaderController','removeParam','univer-flex\x20univer-items-center','2098284aRtVVw','#FFF','getColor','_uiPartsService','session.collaboration-timeout','top','Tooltip','UniverEngineFormula','656YqJQJb','UniverDocs','_refRangeService','unsubscribe','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','0\x200\x2017\x2016','includes','createIdentifier','handleDeleteRangeMoveLeft','23362KwJUoP','complete','show','_name','substring','EMAIL_VERIFY_CODE_MISMATCH','toDisposable','assign','_removeCollabCursors','icon','executionId','replaceState','ILocalStorageService','ILocalCacheService','some','TEXT_RANGE_LAYER_INDEX','registerRenderModule','throttleTime','registerDependencies','textRanges','@univerjs/docs-ui','_messageService','sheetID','INVITE_CODE_ALREADY_BOUND','_handleJoinEvent','SheetSkeletonManagerService','tag','clearInterval','history','_initCommandExecutedListener','_handleHeartbeatEvent','find','_saveTaskMap','_updateURLWithCurrentState','UniverEngineRender','_setupBeforeClosingHandler','PY_RUNTIME_SCRIPT_ERROR','with','rxjs','@univerjs/rpc','@univerjs/design','concat','isActive','_scheduleSaving','jiqing.500','UniverInstanceType','NOT_COLLAB','docStateChange$','params','error','lineTo','send','react','_logService','toString','registerComponent','YUUMI_NO_CUBOID_FOR_QUESTION','addClipboardHook','string','event$','ISnapshotServerService','currentSkeleton$','backgroundColor','none','getAncestorScale','debounce','getTypeOfUnitAdded$','UniverProCollaborationClientUi','_themeService','FETCH_MISS','_getSheetObject','createElement','isArray','YUUMI_RATE_OVER_LIMIT','getRangePointData','M0\x200H16V16H0z','popstate','deserializeRangeWithSheet','LOCAL_CACHE_INTERVAL','merge','MessageType','selections','subscribeEvent','YUUMI_CONNECTOR_URL_NOT_FOUND','unitId','_transformService','forEach','requireSession','restore','HTTPService','VIEW_MAIN','_docStateChangeManagerService','ranges','React','currentTheme$','_heartbeatTimer','RichTextEditingMutation','beginPath','get','hovered','collaboration.closeRoom','addObjects','doc.mutation.rich-text-editing','_transformUndoRedoStack','ACTIVE_UNIT_EVENT_CHANNEL','INVITE_CODE_HAS_BEEN_UES','handleInsertRow','LocaleService','_updateCollabCursors','_localeService','_assignedColors','RemoteUniscriptService','setTimeout','_collaborationController','SetWorksheetActivateCommand','collab-text-range-','data','name','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','IRenderManagerService','wsSessionTicketUrl','setActiveRange','RxDisposable','@univerjs/docs','SOCKET_FAILED_RETRY','updateOfflineData','_cursorShapes','ICommandService','@univerjs/network','_cachedData','executeCommand','origin','CollaborationEvent','getCurrentRevOfUnit','dispose','TEXT','stringify','transformRemoteChangeset','fillStyle','APPLY_REJECT','EMAIL_HAS_BEEN_BOUND','RemoveColCommandId','CollaborationController','attrs','mask','runRefRangeMutations','width','createInstance','34FJCJYn','then','YUUMI_ASYNCIO_CANCELLED','OFFLINE','translate(.97)','INVALID_INVITE_CODE','Module','_entityInit$','endRow','handleInsertRangeMoveRight'];_0x41d6=function(){return _0x491d51;};return _0x41d6();}(function(_0x3c69a1,_0x5852c1){const _0x470c21=_0x2a3e,_0x42be29=_0x3c69a1();while(!![]){try{const _0x41b144=parseInt(_0x470c21(0x30c))/0x1*(parseInt(_0x470c21(0x278))/0x2)+-parseInt(_0x470c21(0x35b))/0x3*(parseInt(_0x470c21(0x1c7))/0x4)+-parseInt(_0x470c21(0x18c))/0x5*(parseInt(_0x470c21(0x133))/0x6)+parseInt(_0x470c21(0x394))/0x7+-parseInt(_0x470c21(0x26f))/0x8*(parseInt(_0x470c21(0x35a))/0x9)+parseInt(_0x470c21(0x398))/0xa+parseInt(_0x470c21(0x39c))/0xb*(-parseInt(_0x470c21(0x267))/0xc);if(_0x41b144===_0x5852c1)break;else _0x42be29['push'](_0x42be29['shift']());}catch(_0x33cc03){_0x42be29['push'](_0x42be29['shift']());}}}(_0x41d6,0x54f84),function(_0x2f74cc,_0x4cec56){const _0x3762fe=_0x2a3e;typeof exports=='object'&&typeof module<'u'?_0x4cec56(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=='function'&&define['amd']?define(['exports',_0x3762fe(0x17e),_0x3762fe(0x201),_0x3762fe(0x1c1),_0x3762fe(0x32b),_0x3762fe(0x29e),_0x3762fe(0x2a0),_0x3762fe(0x2ac),_0x3762fe(0x29f),_0x3762fe(0x1b2),_0x3762fe(0x11d),_0x3762fe(0x2f8),_0x3762fe(0x28c),'@univerjs/drawing',_0x3762fe(0x1a3),_0x3762fe(0x2f3),'@univerjs/engine-formula','rxjs/operators','@univerjs/sheets-ui'],_0x4cec56):(_0x2f74cc=typeof globalThis<'u'?globalThis:_0x2f74cc||self,_0x4cec56(_0x2f74cc[_0x3762fe(0x2bb)]={},_0x2f74cc[_0x3762fe(0x2d5)],_0x2f74cc[_0x3762fe(0x14d)],_0x2f74cc[_0x3762fe(0x375)],_0x2f74cc[_0x3762fe(0x22d)],_0x2f74cc['rxjs'],_0x2f74cc[_0x3762fe(0x1a4)],_0x2f74cc[_0x3762fe(0x2d5)],_0x2f74cc[_0x3762fe(0x1dd)],_0x2f74cc[_0x3762fe(0x16f)],_0x2f74cc[_0x3762fe(0x29a)],_0x2f74cc[_0x3762fe(0x38d)],_0x2f74cc[_0x3762fe(0x1cc)],_0x2f74cc[_0x3762fe(0x13f)],_0x2f74cc[_0x3762fe(0x189)],_0x2f74cc[_0x3762fe(0x270)],_0x2f74cc[_0x3762fe(0x26e)],_0x2f74cc[_0x3762fe(0x29e)][_0x3762fe(0x1f6)],_0x2f74cc[_0x3762fe(0x38e)]));}(this,function(_0x2fd8ae,_0xfc1913,_0x33f364,_0x2b709b,_0x24d176,_0x3052c2,_0x238d53,_0x429c21,_0x2d0390,_0x52298f,_0x45a576,_0x3092c3,_0x5e00f9,_0xe88a8c,_0x13c520,_0x136824,_0x4c94b6,_0x2698e1,_0x3bd105){'use strict';const _0x360c99=_0x2a3e;var _0x58e69a=Object['defineProperty'],_0xc0a38b=(_0x147b47,_0x56a3f5,_0x5c4989)=>_0x56a3f5 in _0x147b47?_0x58e69a(_0x147b47,_0x56a3f5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c4989}):_0x147b47[_0x56a3f5]=_0x5c4989,_0x2197b9=(_0x2d52e8,_0x274a5b,_0x11829a)=>_0xc0a38b(_0x2d52e8,typeof _0x274a5b!=_0x360c99(0x387)?_0x274a5b+'':_0x274a5b,_0x11829a),_0x177906=function(){const _0x387bce=_0x360c99;return _0x177906=Object[_0x387bce(0x27f)]||function(_0x595f6d){const _0x3c8434=_0x387bce;for(var _0x431724,_0xa0161f=0x1,_0x2c0f19=arguments['length'];_0xa0161f<_0x2c0f19;_0xa0161f++){_0x431724=arguments[_0xa0161f];for(var _0x2ddd5d in _0x431724)Object[_0x3c8434(0x38c)]['hasOwnProperty'][_0x3c8434(0x36c)](_0x431724,_0x2ddd5d)&&(_0x595f6d[_0x2ddd5d]=_0x431724[_0x2ddd5d]);}return _0x595f6d;},_0x177906[_0x387bce(0x391)](this,arguments);},_0x5f2abf=function(_0x5b3e87,_0xe4a8b){const _0x7dcb32=_0x360c99;var _0x4dee9b={};for(var _0x35153a in _0x5b3e87)Object[_0x7dcb32(0x38c)]['hasOwnProperty']['call'](_0x5b3e87,_0x35153a)&&_0xe4a8b[_0x7dcb32(0x31c)](_0x35153a)<0x0&&(_0x4dee9b[_0x35153a]=_0x5b3e87[_0x35153a]);if(_0x5b3e87!=null&&typeof Object[_0x7dcb32(0x18d)]==_0x7dcb32(0x260)){for(var _0x1a67ca=0x0,_0x35153a=Object[_0x7dcb32(0x18d)](_0x5b3e87);_0x1a67ca<_0x35153a[_0x7dcb32(0x1fa)];_0x1a67ca++)_0xe4a8b[_0x7dcb32(0x31c)](_0x35153a[_0x1a67ca])<0x0&&Object[_0x7dcb32(0x38c)][_0x7dcb32(0x14b)][_0x7dcb32(0x36c)](_0x5b3e87,_0x35153a[_0x1a67ca])&&(_0x4dee9b[_0x35153a[_0x1a67ca]]=_0x5b3e87[_0x35153a[_0x1a67ca]]);}return _0x4dee9b;},_0xd8baad=_0x429c21['forwardRef'](function(_0x421d73,_0x5e542b){const _0x5b427f=_0x360c99;var _0xc952c8=_0x421d73['icon'],_0x447890=_0x421d73['id'],_0x364e21=_0x421d73[_0x5b427f(0x1bd)],_0x17b057=_0x421d73[_0x5b427f(0x216)],_0x55d8dd=_0x5f2abf(_0x421d73,[_0x5b427f(0x281),'id',_0x5b427f(0x1bd),_0x5b427f(0x216)]),_0x42ef4b=_0x5b427f(0x234)[_0x5b427f(0x2a1)](_0x447890,'\x20')['concat'](_0x364e21||'')[_0x5b427f(0x210)](),_0x3a8532=_0x429c21['useRef']('_'[_0x5b427f(0x2a1)](_0x4e09ba()));return _0x100c97(_0xc952c8,''[_0x5b427f(0x2a1)](_0x447890),{'defIds':_0xc952c8[_0x5b427f(0x1ff)],'idSuffix':_0x3a8532[_0x5b427f(0x35d)]},_0x177906({'ref':_0x5e542b,'className':_0x42ef4b},_0x55d8dd),_0x17b057);});function _0x100c97(_0x2617ab,_0x3f3b7a,_0x3d8ebd,_0xcc857,_0x1592c4){const _0x57885e=_0x360c99;return _0x429c21['createElement'](_0x2617ab[_0x57885e(0x292)],_0x177906(_0x177906({'key':_0x3f3b7a},_0x42e6d3(_0x2617ab,_0x3d8ebd,_0x1592c4)),_0xcc857),(_0x5d3b45(_0x2617ab,_0x3d8ebd)[_0x57885e(0x20d)]||[])['map'](function(_0xfd0184,_0x5b9c64){const _0x21e31f=_0x57885e;return _0x100c97(_0xfd0184,''[_0x21e31f(0x2a1)](_0x3f3b7a,'-')[_0x21e31f(0x2a1)](_0x2617ab[_0x21e31f(0x292)],'-')[_0x21e31f(0x2a1)](_0x5b9c64),_0x3d8ebd,void 0x0,_0x1592c4);}));}function _0x42e6d3(_0x110268,_0x5796d4,_0x4eda1c){const _0x2ec5fd=_0x360c99;var _0x3aefe1=_0x177906({},_0x110268[_0x2ec5fd(0x307)]);_0x4eda1c!=null&&_0x4eda1c[_0x2ec5fd(0x157)]&&_0x3aefe1[_0x2ec5fd(0x132)]===_0x2ec5fd(0x157)&&(_0x3aefe1[_0x2ec5fd(0x132)]=_0x4eda1c[_0x2ec5fd(0x157)]),_0x110268[_0x2ec5fd(0x292)]===_0x2ec5fd(0x308)&&_0x3aefe1['id']&&(_0x3aefe1['id']=_0x3aefe1['id']+_0x5796d4[_0x2ec5fd(0x25f)]),Object[_0x2ec5fd(0x339)](_0x3aefe1)['forEach'](function(_0x338370){const _0x41ecd3=_0x2ec5fd;var _0x2a7cfb=_0x338370[0x0],_0x21e868=_0x338370[0x1];_0x2a7cfb===_0x41ecd3(0x308)&&typeof _0x21e868=='string'&&(_0x3aefe1[_0x2a7cfb]=_0x21e868[_0x41ecd3(0x3ad)](/url\(#(.*)\)/,_0x41ecd3(0x320)[_0x41ecd3(0x2a1)](_0x5796d4['idSuffix'],')')));});var _0x1488ae=_0x5796d4[_0x2ec5fd(0x1ff)];return!_0x1488ae||_0x1488ae[_0x2ec5fd(0x1fa)]===0x0||(_0x110268[_0x2ec5fd(0x292)]==='use'&&_0x3aefe1['xlink:href']&&(_0x3aefe1[_0x2ec5fd(0x114)]=_0x3aefe1[_0x2ec5fd(0x114)]+_0x5796d4[_0x2ec5fd(0x25f)]),Object['entries'](_0x3aefe1)['forEach'](function(_0xad10f5){const _0x2ecec8=_0x2ec5fd;var _0x5020d4=_0xad10f5[0x0],_0x54db65=_0xad10f5[0x1];typeof _0x54db65==_0x2ecec8(0x2b2)&&(_0x3aefe1[_0x5020d4]=_0x54db65[_0x2ecec8(0x3ad)](/url\(#(.*)\)/,_0x2ecec8(0x320)['concat'](_0x5796d4[_0x2ecec8(0x25f)],')')));})),_0x3aefe1;}function _0x5d3b45(_0x51bd0a,_0x31a3e8){const _0x1f2934=_0x360c99;var _0x39e899,_0x5114eb=_0x31a3e8[_0x1f2934(0x1ff)];return!_0x5114eb||_0x5114eb['length']===0x0?_0x51bd0a:_0x51bd0a[_0x1f2934(0x292)]==='defs'&&(!((_0x39e899=_0x51bd0a[_0x1f2934(0x20d)])===null||_0x39e899===void 0x0)&&_0x39e899[_0x1f2934(0x1fa)])?_0x177906(_0x177906({},_0x51bd0a),{'children':_0x51bd0a[_0x1f2934(0x20d)][_0x1f2934(0x380)](function(_0x1cd947){const _0x649235=_0x1f2934;return typeof _0x1cd947['attrs']['id']==_0x649235(0x2b2)&&_0x5114eb&&_0x5114eb[_0x649235(0x275)](_0x1cd947[_0x649235(0x307)]['id'])?_0x177906(_0x177906({},_0x1cd947),{'attrs':_0x177906(_0x177906({},_0x1cd947['attrs']),{'id':_0x1cd947['attrs']['id']+_0x31a3e8[_0x649235(0x25f)]})}):_0x1cd947;})}):_0x51bd0a;}function _0x4e09ba(){const _0x5075eb=_0x360c99;return Math[_0x5075eb(0x23e)]()[_0x5075eb(0x2ae)](0x24)[_0x5075eb(0x27c)](0x2,0x8);}_0xd8baad[_0x360c99(0x3a1)]='UniverIcon';var _0x3f4d17={'tag':_0x360c99(0x126),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x360c99(0x2b7),'viewBox':'0\x200\x2016\x2016','width':_0x360c99(0x3a8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x360c99(0x1eb),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x360c99(0x14e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x360c99(0x34a)},'children':[{'tag':_0x360c99(0x203),'attrs':{'fill':_0x360c99(0x1ce),'d':_0x360c99(0x2c3)}}]}]}],'defIds':[_0x360c99(0x34a)]},_0x251d33=_0x429c21[_0x360c99(0x1bb)](function(_0x5eac2e,_0x49d0a9){const _0x51f221=_0x360c99;return _0x429c21[_0x51f221(0x2bf)](_0xd8baad,Object[_0x51f221(0x27f)]({},_0x5eac2e,{'id':'off-line-icon','ref':_0x49d0a9,'icon':_0x3f4d17}));});_0x251d33[_0x360c99(0x3a1)]='OffLineIcon';var _0x545994={'tag':_0x360c99(0x126),'attrs':{'xmlns':_0x360c99(0x1f8),'fill':_0x360c99(0x2b7),'viewBox':_0x360c99(0x274),'width':_0x360c99(0x3a8),'height':_0x360c99(0x3a8)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x360c99(0x203),'attrs':{'stroke':_0x360c99(0x1eb),'d':_0x360c99(0x273),'strokeLinecap':_0x360c99(0x14e),'strokeLinejoin':_0x360c99(0x14e),'strokeWidth':1.2}}]},{'tag':_0x360c99(0x21c),'attrs':{},'children':[{'tag':_0x360c99(0x1d4),'attrs':{'id':_0x360c99(0x116)},'children':[{'tag':_0x360c99(0x203),'attrs':{'fill':_0x360c99(0x1ce),'d':'M0\x200H16V16H0z','transform':_0x360c99(0x310)}}]}]}],'defIds':[_0x360c99(0x116)]},_0x582e7a=_0x429c21['forwardRef'](function(_0xba816d,_0x24dd79){const _0x4c19c8=_0x360c99;return _0x429c21['createElement'](_0xd8baad,Object[_0x4c19c8(0x27f)]({},_0xba816d,{'id':'on-line-icon','ref':_0x24dd79,'icon':_0x545994}));});_0x582e7a[_0x360c99(0x3a1)]=_0x360c99(0x15d);function _0x4af773(_0x6dd662){const _0x378d5e=_0x360c99;switch(_0x6dd662){case _0x33f364[_0x378d5e(0x1e7)][_0x378d5e(0x30f)]:return'collabStatus.offline';case _0x33f364[_0x378d5e(0x1e7)][_0x378d5e(0x17f)]:return _0x378d5e(0x236);case _0x33f364['CollaborationStatus'][_0x378d5e(0x2bd)]:return _0x378d5e(0x39b);case _0x33f364[_0x378d5e(0x1e7)]['NOT_COLLAB']:return _0x378d5e(0x124);case _0x33f364[_0x378d5e(0x1e7)]['AWAITING']:case _0x33f364[_0x378d5e(0x1e7)]['AWAITING_WITH_PENDING']:return _0x378d5e(0x3b9);case _0x33f364[_0x378d5e(0x1e7)][_0x378d5e(0x19b)]:case _0x33f364[_0x378d5e(0x1e7)][_0x378d5e(0x173)]:return _0x378d5e(0x197);}}function _0x404f63(_0x28bbb2){const _0x2e298f=_0x360c99,{status$:_0x5c9c9a}=_0x28bbb2,_0x22fcde=_0x24d176[_0x2e298f(0x363)](_0x5c9c9a,_0x33f364['CollaborationStatus']['NOT_COLLAB']),_0x1b6be5=_0x24d176[_0x2e298f(0x242)](_0x2b709b[_0x2e298f(0x2e3)]),_0x1e1957=_0x24d176[_0x2e298f(0x242)](_0x33f364['CollaborationSessionService']),_0x55983f=_0x22fcde!==_0x33f364[_0x2e298f(0x1e7)][_0x2e298f(0x30f)],_0x331cd2=_0x1b6be5['t'](_0x4af773(_0x22fcde)),_0x3ff8f6=_0x55983f?_0xfc1913['jsx'](_0x582e7a,{}):_0xfc1913[_0x2e298f(0x219)](_0x251d33,{}),_0x1833aa=_0x429c21[_0x2e298f(0x1ea)](()=>{_0x55983f||_0x1e1957['reconnect']();},[_0x55983f,_0x1e1957]);function _0x5ec271(){const _0x4314ba=_0x2e298f;return _0xfc1913['jsxs'](_0x4314ba(0x117),{'className':_0x4314ba(0x266),'onClick':_0x1833aa,'children':[_0xfc1913['jsx'](_0x4314ba(0x117),{'className':_0x238d53['clsx'](_0x4314ba(0x1f3),{'univer-text-green-500':_0x55983f,'univer-text-red-500':!_0x55983f}),'children':_0x3ff8f6}),_0xfc1913[_0x4314ba(0x219)](_0x4314ba(0x117),{'className':_0x4314ba(0x195),'children':_0x331cd2})]});}return _0x55983f?_0x5ec271():_0xfc1913[_0x2e298f(0x219)](_0x238d53[_0x2e298f(0x26d)],{'title':_0x1b6be5['t'](_0x2e298f(0x243)),'children':_0x5ec271()});}var _0x3c40c5=Object[_0x360c99(0x397)],_0x59b143=(_0x1fc627,_0x5a6a73,_0x32a137,_0x588e9a)=>{const _0x2a6639=_0x360c99;for(var _0x32bb87=_0x588e9a>0x1?void 0x0:_0x588e9a?_0x3c40c5(_0x5a6a73,_0x32a137):_0x5a6a73,_0x290505=_0x1fc627[_0x2a6639(0x1fa)]-0x1,_0x52524e;_0x290505>=0x0;_0x290505--)(_0x52524e=_0x1fc627[_0x290505])&&(_0x32bb87=_0x52524e(_0x32bb87)||_0x32bb87);return _0x32bb87;},_0x440704=(_0xdd385,_0x401ded)=>(_0x12652d,_0x24d97e)=>_0x401ded(_0x12652d,_0x24d97e,_0xdd385);_0x2fd8ae['DesktopCollaborationStatusDisplayController']=class extends _0x2b709b[_0x360c99(0x16d)]{constructor(_0x522564,_0x58efa4,_0x4059bc,_0x4fa4f8){const _0x509eef=_0x360c99;super(),_0x2197b9(this,_0x509eef(0x39d),new _0x3052c2['BehaviorSubject'](_0x33f364[_0x509eef(0x1e7)]['NOT_COLLAB'])),(this[_0x509eef(0x122)]=_0x522564,this[_0x509eef(0x36d)]=_0x58efa4,this[_0x509eef(0x2e9)]=_0x4059bc,this[_0x509eef(0x26a)]=_0x4fa4f8,this[_0x509eef(0x130)](),this['_initStatusListener']());}[_0x360c99(0x327)](){const _0xc43733=_0x360c99;this[_0xc43733(0x252)](this[_0xc43733(0x122)][_0xc43733(0x230)][_0xc43733(0x11a)](_0x3052c2[_0xc43733(0x21a)](()=>{const _0xa96059=_0xc43733,_0x55e1e1=this[_0xa96059(0x122)][_0xa96059(0x1d7)]();return _0x55e1e1?this['_collaborationController']['getCollabEntity$'](_0x55e1e1[_0xa96059(0x35f)]()):_0x3052c2['of'](null);}),_0x3052c2[_0xc43733(0x21a)](_0x171ab9=>_0x171ab9?_0x171ab9[_0xc43733(0x1c6)]:_0x3052c2['of'](_0x33f364[_0xc43733(0x1e7)][_0xc43733(0x2a6)])))[_0xc43733(0x373)](_0x2fded5=>{const _0x3248e0=_0xc43733;this['_status$'][_0x3248e0(0x34f)](_0x2fded5);}));}[_0x360c99(0x130)](){const _0x570aeb=_0x360c99;this[_0x570aeb(0x252)](this[_0x570aeb(0x26a)][_0x570aeb(0x2af)](_0x24d176[_0x570aeb(0x350)]['HEADER_MENU'],()=>_0x24d176[_0x570aeb(0x227)](_0x590eb5({'status$':this[_0x570aeb(0x39d)][_0x570aeb(0x1f5)]()}),this[_0x570aeb(0x36d)])));}},_0x2fd8ae['DesktopCollaborationStatusDisplayController']=_0x59b143([_0x440704(0x0,_0x2b709b[_0x360c99(0x33c)]),_0x440704(0x1,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x440704(0x2,_0x2b709b['Inject'](_0x33f364[_0x360c99(0x306)])),_0x440704(0x3,_0x24d176[_0x360c99(0x261)])],_0x2fd8ae[_0x360c99(0x1a9)]);function _0x590eb5(_0x61a457){const {status$:_0x2b8692}=_0x61a457;return function(){const _0x26e6ad=_0x2a3e;return _0xfc1913[_0x26e6ad(0x219)](_0x404f63,{'status$':_0x2b8692});};}const _0x52e083=_0x2b709b[_0x360c99(0x276)]('uni.network.url-service');var _0x226ff4=Object[_0x360c99(0x397)],_0x9388a2=(_0x215e1e,_0x1be34f,_0x3251fd,_0x3cd6d7)=>{for(var _0x8687e4=_0x3cd6d7>0x1?void 0x0:_0x3cd6d7?_0x226ff4(_0x1be34f,_0x3251fd):_0x1be34f,_0x310c03=_0x215e1e['length']-0x1,_0x3420da;_0x310c03>=0x0;_0x310c03--)(_0x3420da=_0x215e1e[_0x310c03])&&(_0x8687e4=_0x3420da(_0x8687e4)||_0x8687e4);return _0x8687e4;},_0x24d5ad=(_0x3d1b87,_0x116840)=>(_0x582d92,_0x9f724)=>_0x116840(_0x582d92,_0x9f724,_0x3d1b87);_0x2fd8ae[_0x360c99(0x264)]=class extends _0x2b709b[_0x360c99(0x2f2)]{constructor(_0x15d758,_0x327ffe,_0x15eb89,_0x48d71a,_0x1a7b13){const _0x2b7977=_0x360c99;super(),this[_0x2b7977(0x253)]=_0x15d758,this[_0x2b7977(0x2ad)]=_0x327ffe,this[_0x2b7977(0x369)]=_0x15eb89,this[_0x2b7977(0x1ca)]=_0x48d71a,_0x1a7b13?_0x1a7b13==null||_0x1a7b13[_0x2b7977(0x140)]()[_0x2b7977(0x30d)](()=>this[_0x2b7977(0x1e6)]()):(this[_0x2b7977(0x2ad)]['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x360c99(0x1e6)](){const _0x559cb7=_0x360c99,_0x575f4a=this[_0x559cb7(0x253)][_0x559cb7(0x11e)](_0x559cb7(0x351)),_0x5f1175=this[_0x559cb7(0x253)][_0x559cb7(0x11e)](_0x559cb7(0x225)),_0x119468=this[_0x559cb7(0x253)][_0x559cb7(0x11e)](_0x559cb7(0x1cd));if(!_0x575f4a||!_0x5f1175){this[_0x559cb7(0x2ad)]['debug'](_0x559cb7(0x23c),_0x559cb7(0x1fb));return;}const _0x549cf3=await this[_0x559cb7(0x1ca)][_0x559cb7(0x325)](_0x575f4a,Number(_0x5f1175),_0x119468);_0x549cf3&&_0x549cf3 instanceof _0x2b709b['Workbook']&&this[_0x559cb7(0x388)](_0x549cf3);}async[_0x360c99(0x388)](_0x4f0b3c){const _0x51e69f=_0x360c99;await this[_0x51e69f(0x342)](_0x4f0b3c),_0x4f0b3c[_0x51e69f(0x379)][_0x51e69f(0x11a)](_0x3052c2[_0x51e69f(0x338)](this[_0x51e69f(0x167)]))[_0x51e69f(0x373)](_0x1b1f8c=>{const _0x5e9bbf=_0x51e69f;_0x1b1f8c&&this[_0x5e9bbf(0x299)](_0x1b1f8c);}),this[_0x51e69f(0x253)]['urlChange$'][_0x51e69f(0x11a)](_0x3052c2[_0x51e69f(0x338)](this[_0x51e69f(0x167)]))[_0x51e69f(0x373)](()=>this[_0x51e69f(0x342)](_0x4f0b3c));}['_updateURLWithCurrentState'](_0x4172a6,_0x4c7ded=!0x1){const _0x4f10a0=_0x360c99,_0x1218d6=this['_urlService'][_0x4f10a0(0x11e)](_0x4f10a0(0x1cd));_0x4172a6[_0x4f10a0(0x163)]()!==_0x1218d6&&this[_0x4f10a0(0x253)][_0x4f10a0(0x211)](_0x4f10a0(0x1cd),_0x4172a6[_0x4f10a0(0x163)](),_0x4c7ded);}async[_0x360c99(0x342)](_0x5bb2c4){const _0x415c3f=_0x360c99;var _0x5cb361;const _0x798a8d=this['_urlService']['getParam'](_0x415c3f(0x1cd));if(!_0x798a8d||!_0x5bb2c4[_0x415c3f(0x213)](_0x798a8d)){const _0x40b487=_0x5bb2c4[_0x415c3f(0x182)]()[0x0],_0x561c96=_0x5bb2c4[_0x415c3f(0x213)](_0x40b487);if(!_0x561c96)return;this[_0x415c3f(0x299)](_0x561c96,!0x0),await this['_commandService'][_0x415c3f(0x2fa)](_0x52298f[_0x415c3f(0x2ea)]['id'],{'unitId':_0x5bb2c4[_0x415c3f(0x35f)](),'subUnitId':_0x40b487});return;}((_0x5cb361=_0x5bb2c4['getActiveSheet']())==null?void 0x0:_0x5cb361[_0x415c3f(0x163)]())!==_0x798a8d&&await this[_0x415c3f(0x369)]['executeCommand'](_0x52298f[_0x415c3f(0x2ea)]['id'],{'unitId':_0x5bb2c4[_0x415c3f(0x35f)](),'subUnitId':_0x798a8d});}},_0x2fd8ae[_0x360c99(0x264)]=_0x9388a2([_0x24d5ad(0x0,_0x52e083),_0x24d5ad(0x1,_0x2b709b['ILogService']),_0x24d5ad(0x2,_0x2b709b[_0x360c99(0x2f7)]),_0x24d5ad(0x3,_0x2b709b[_0x360c99(0x14c)](_0x33f364['DataLoaderService'])),_0x24d5ad(0x4,_0x2b709b[_0x360c99(0x170)](_0x2d0390['IRemoteInstanceService']))],_0x2fd8ae[_0x360c99(0x264)]);var _0x3aca32=Object[_0x360c99(0x397)],_0x51a5fb=(_0x59b0ca,_0x917fc,_0x328c4b,_0x143310)=>{for(var _0x35b805=_0x143310>0x1?void 0x0:_0x143310?_0x3aca32(_0x917fc,_0x328c4b):_0x917fc,_0x23f5ff=_0x59b0ca['length']-0x1,_0x59a28e;_0x23f5ff>=0x0;_0x23f5ff--)(_0x59a28e=_0x59b0ca[_0x23f5ff])&&(_0x35b805=_0x59a28e(_0x35b805)||_0x35b805);return _0x35b805;},_0x1b70a7=(_0x4c7d6f,_0x21d881)=>(_0x29f739,_0x1ec9c3)=>_0x21d881(_0x29f739,_0x1ec9c3,_0x4c7d6f);let _0xe9be34=class extends _0x2b709b['RxDisposable']{constructor(_0x44b56a,_0x27ade7){const _0x3a34d4=_0x360c99;super(),this[_0x3a34d4(0x1f1)]=_0x44b56a,this[_0x3a34d4(0x19e)]=_0x27ade7,this[_0x3a34d4(0x1e6)]();}[_0x360c99(0x1e6)](){const _0x323f58=_0x360c99,_0x5e0ab1=this;this[_0x323f58(0x252)](this[_0x323f58(0x1f1)][_0x323f58(0x2b1)]({'onBeforePasteImage':async _0x2511a6=>{const _0x253da8=_0x323f58,_0x1a11da=await _0x5e0ab1[_0x253da8(0x19e)]['saveImage'](_0x2511a6);return _0x1a11da?{'source':_0x1a11da['source'],'imageSourceType':_0x1a11da[_0x253da8(0x174)]}:null;}}));}};_0xe9be34=_0x51a5fb([_0x1b70a7(0x0,_0x5e00f9[_0x360c99(0x333)]),_0x1b70a7(0x1,_0xe88a8c[_0x360c99(0x11c)])],_0xe9be34);const _0x4b65fb=[_0x360c99(0x181),_0x360c99(0x2a4),_0x360c99(0x362),_0x360c99(0x18b),_0x360c99(0x38a),_0x360c99(0x1db)];class _0xe4ed4e extends _0x2b709b[_0x360c99(0x16d)]{constructor(){const _0x546ec5=_0x360c99;super(...arguments),_0x2197b9(this,_0x546ec5(0x2e6),new Map()),_0x2197b9(this,_0x546ec5(0x251),0x0);}[_0x360c99(0x348)](_0x355827){const _0x3b3335=_0x360c99;if(this[_0x3b3335(0x2e6)]['has'](_0x355827))return this[_0x3b3335(0x2e6)][_0x3b3335(0x2da)](_0x355827);const _0x30f28a=_0x4b65fb[this['_colorIndex']];return this['_colorIndex']=(this[_0x3b3335(0x251)]+0x1)%_0x4b65fb[_0x3b3335(0x1fa)],this[_0x3b3335(0x2e6)][_0x3b3335(0x1b3)](_0x355827,_0x30f28a),_0x30f28a;}}function _0x5b0648(_0x531ff8){const _0x261f08=_0x360c99;let _0x37f418='';for(const _0x2f8682 of _0x531ff8){const {startOffset:_0x507c64,endOffset:_0x4311f7,isActive:_0xc414b7,rangeType:_0x314600,segmentId:_0x3ddac1,segmentPage:_0x17f25e}=_0x2f8682;_0x37f418[_0x261f08(0x1fa)]&&(_0x37f418+=','),_0x37f418+=_0x507c64+':'+_0x4311f7+':'+(_0xc414b7?'1':'0')+':'+_0x314600+':'+_0x3ddac1+':'+_0x17f25e;}return _0x37f418;}function _0x24f4e8(_0xbf5726){const _0xbef2a1=_0x360c99,_0x44d871=_0xbf5726['split'](','),_0x233b3f=[];for(const _0x18038f of _0x44d871){const [_0x3e953e,_0x1d778f,_0x2ae558,_0x546541,_0x11183e,_0x340462]=_0x18038f[_0xbef2a1(0x34d)](':');_0x233b3f[_0xbef2a1(0x36e)]({'startOffset':Number(_0x3e953e),'endOffset':Number(_0x1d778f),'collapsed':_0x3e953e===_0x1d778f,'isActive':_0x2ae558==='1','rangeType':_0x546541===_0x2b709b[_0xbef2a1(0x180)][_0xbef2a1(0x2ff)]?_0x2b709b['DOC_RANGE_TYPE'][_0xbef2a1(0x2ff)]:_0x2b709b['DOC_RANGE_TYPE'][_0xbef2a1(0x384)],'segmentId':typeof _0x11183e==_0xbef2a1(0x2b2)?String(_0x11183e):'','segmentPage':Number(_0x340462!=null?_0x340462:-0x1)});}return _0x233b3f[_0xbef2a1(0x286)](_0x16bb77=>_0x16bb77[_0xbef2a1(0x2a2)])||(_0x233b3f[0x0][_0xbef2a1(0x2a2)]=!0x0),_0x233b3f;}class _0x314824 extends _0x2b709b[_0x360c99(0x2f2)]{constructor(){const _0x16473b=_0x360c99;super(...arguments),_0x2197b9(this,_0x16473b(0x16c),new _0x3052c2[(_0x16473b(0x1af))](null)),_0x2197b9(this,_0x16473b(0x345),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x281aea){const _0x3fead3=_0x360c99,{unitID:_0x5366fb,memberID:_0x503df2,textRanges:_0x46d09c}=_0x281aea,_0x3fd1bf=_0x5b0648(_0x46d09c);if(_0x3fd1bf==='')return;const _0xa93a72={'unitID':_0x5366fb,'memberID':_0x503df2,'selection':_0x3fd1bf};this['_collabCursorState$'][_0x3fead3(0x34f)](_0xa93a72);}}var _0x4b0105=Object[_0x360c99(0x397)],_0x1f0dc8=(_0xee9547,_0x223743,_0x38beed,_0x70d857)=>{for(var _0x131904=_0x70d857>0x1?void 0x0:_0x70d857?_0x4b0105(_0x223743,_0x38beed):_0x223743,_0x25e2a1=_0xee9547['length']-0x1,_0x322cfb;_0x25e2a1>=0x0;_0x25e2a1--)(_0x322cfb=_0xee9547[_0x25e2a1])&&(_0x131904=_0x322cfb(_0x131904)||_0x131904);return _0x131904;},_0x34e023=(_0x5c0006,_0x206eee)=>(_0x837e2b,_0x739045)=>_0x206eee(_0x837e2b,_0x739045,_0x5c0006);const _0x53be8a=0x12c,_0xbfb85c=0x64;let _0x3f8cee=class extends _0x2b709b[_0x360c99(0x2f2)]{constructor(_0x56858e,_0x3e03e8,_0x5e741a,_0x50b23c,_0x37c45c,_0x5d5ec7,_0x41ed98,_0x5cca68,_0x42a2d0){const _0x2745ee=_0x360c99;super(),_0x2197b9(this,_0x2745ee(0x186),!0x1),_0x2197b9(this,_0x2745ee(0x1e6),!0x1),_0x2197b9(this,_0x2745ee(0x3b2),new _0x3052c2[(_0x2745ee(0x1af))](new Map())),_0x2197b9(this,_0x2745ee(0x1c0),this[_0x2745ee(0x3b2)][_0x2745ee(0x1f5)]()),_0x2197b9(this,_0x2745ee(0x1b1),new _0x3052c2[(_0x2745ee(0x1af))]([])),_0x2197b9(this,_0x2745ee(0x1a6),this[_0x2745ee(0x1b1)][_0x2745ee(0x11a)](_0x3052c2[_0x2745ee(0x246)](_0x53be8a))),_0x2197b9(this,_0x2745ee(0x121),_0x2b709b['debounce'](_0x11fb4a=>{const _0xc646ac=_0x2745ee,_0x17502a={'eventID':_0x13c520[_0xc646ac(0x2fc)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xc646ac(0x1f7)],'memberID':this[_0xc646ac(0x1a8)][_0xc646ac(0x340)](),'selection':_0x5b0648(_0x11fb4a)}};this[_0xc646ac(0x1a8)][_0xc646ac(0x2ab)](_0x17502a,this['unitID']);},_0xbfb85c)),(this[_0x2745ee(0x1f7)]=_0x56858e,this[_0x2745ee(0x1a8)]=_0x3e03e8,this[_0x2745ee(0x36d)]=_0x5e741a,this['_colorAssignService']=_0x50b23c,this[_0x2745ee(0x1ae)]=_0x37c45c,this[_0x2745ee(0x20b)]=_0x5d5ec7,this['_transformService']=_0x41ed98,this[_0x2745ee(0x122)]=_0x5cca68,this['_commandService']=_0x42a2d0);}get[_0x360c99(0x1c8)](){const _0x385983=_0x360c99;return this[_0x385983(0x3b2)][_0x385983(0x374)]();}get[_0x360c99(0x1b5)](){const _0x5e7afa=_0x360c99;return this[_0x5e7afa(0x1b1)]['getValue']();}[_0x360c99(0x2fe)](){const _0x4b254c=_0x360c99;super[_0x4b254c(0x2fe)](),this[_0x4b254c(0x3b2)][_0x4b254c(0x34f)](new Map()),this[_0x4b254c(0x3b2)]['complete'](),this[_0x4b254c(0x1b1)][_0x4b254c(0x34f)]([]),this[_0x4b254c(0x1b1)][_0x4b254c(0x279)]();}[_0x360c99(0x22f)](){const _0x9c9870=_0x360c99;this[_0x9c9870(0x1e6)]||(this['_init']=!0x0,this['_session'][_0x9c9870(0x396)][_0x9c9870(0x11a)](_0x3052c2['takeUntil'](this[_0x9c9870(0x167)]))[_0x9c9870(0x373)](_0x267b12=>{const _0x57e849=_0x9c9870;_0x267b12===_0x33f364[_0x57e849(0x18a)]['ONLINE']?this[_0x57e849(0x1b6)]():this['_toggleOffline']();}),this[_0x9c9870(0x1a8)]['event$'][_0x9c9870(0x11a)](_0x3052c2[_0x9c9870(0x338)](this[_0x9c9870(0x167)]))[_0x9c9870(0x373)](_0x4570bb=>{const _0x31a50b=_0x9c9870,_0x1ec7b0=_0x4570bb[_0x31a50b(0x142)];_0x1ec7b0===_0x13c520[_0x31a50b(0x2fc)]['UPDATE_CURSOR']&&this[_0x31a50b(0x358)](_0x4570bb),_0x1ec7b0===_0x13c520['CollaborationEvent'][_0x31a50b(0x1bc)]&&this[_0x31a50b(0x389)](_0x4570bb);}),this[_0x9c9870(0x252)](this[_0x9c9870(0x369)]['onCommandExecuted'](_0x4b3a87=>{const _0x42c82d=_0x9c9870,_0x243113=_0x4b3a87[_0x42c82d(0x2a8)];_0x243113!=null&&this[_0x42c82d(0x186)]&&_0x4b3a87['id']===_0x136824[_0x42c82d(0x1ec)]['id']&&_0x243113['unitId']===this[_0x42c82d(0x1f7)]&&_0x243113[_0x42c82d(0x1da)]===!0x1&&_0x243113['ranges'][_0x42c82d(0x1fa)]>0x0&&this[_0x42c82d(0x121)](_0x243113['ranges']);})),this[_0x9c9870(0x20b)][_0x9c9870(0x345)][_0x9c9870(0x11a)](_0x3052c2[_0x9c9870(0x338)](this[_0x9c9870(0x167)]))[_0x9c9870(0x373)](_0x54f269=>{const _0x57169d=_0x9c9870;if((_0x54f269==null?void 0x0:_0x54f269[_0x57169d(0x1f7)])!==this['unitID'])return;const _0x1c7fe8={'eventID':_0x13c520[_0x57169d(0x2fc)][_0x57169d(0x393)],'data':_0x54f269};this[_0x57169d(0x358)](_0x1c7fe8);}),this[_0x9c9870(0x252)](this[_0x9c9870(0x369)][_0x9c9870(0x135)](_0x34a9fd=>{const _0x48d7c9=_0x9c9870;if(_0x34a9fd[_0x48d7c9(0x2a8)]==null)return;const _0x7f8303=_0x34a9fd['params'];if(_0x34a9fd['id']!==_0x136824[_0x48d7c9(0x2d8)]['id']||_0x7f8303[_0x48d7c9(0x2cc)]!==this['unitID'])return;const _0x1253f5={'id':_0x48d7c9(0x2de),'params':_0x7f8303},_0xeb9779=this[_0x48d7c9(0x1c8)];for(const [_0x472098,_0x566f69]of _0xeb9779){const _0x7f39d3={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x566f69[_0x48d7c9(0x2d4)]}},_0x2a6f5b=this['_transformService'][_0x48d7c9(0x208)](_0x1253f5,_0x7f39d3,!0x1);if(_0x13c520['isTransformMutationFailure'](_0x2a6f5b))throw _0x2a6f5b[_0x48d7c9(0x2a9)];_0xeb9779[_0x48d7c9(0x1b3)](_0x472098,{..._0x566f69,'ranges':_0x2a6f5b['m2Prime'][_0x48d7c9(0x2a8)][_0x48d7c9(0x28b)]});}queueMicrotask(()=>{const _0x4abe44=_0x48d7c9;this['_cursorInfo$'][_0x4abe44(0x34f)](_0xeb9779);});})));}[_0x360c99(0x358)](_0x488679){const _0x20a1f6=_0x360c99;var _0x4addde,_0x40e660;const {memberID:_0x3050e0,selection:_0x119842}=_0x488679[_0x20a1f6(0x2ec)],_0x63f6c9=_0x24f4e8(_0x119842),_0x520cf6=(_0x40e660=(_0x4addde=this[_0x20a1f6(0x1ae)][_0x20a1f6(0x166)](this['unitID'],_0x3050e0))==null?void 0x0:_0x4addde['name'])!=null?_0x40e660:_0x20a1f6(0x335),_0x3b4e97={'color':this[_0x20a1f6(0x131)][_0x20a1f6(0x348)](_0x3050e0),'name':_0x520cf6,'ranges':_0x63f6c9},_0x737c05=this[_0x20a1f6(0x1c8)];_0x737c05[_0x20a1f6(0x1b3)](_0x3050e0,_0x3b4e97),this['_cursorInfo$'][_0x20a1f6(0x34f)](_0x737c05);}[_0x360c99(0x389)](_0x92be0b){const _0x5d2f76=_0x360c99,{memberID:_0x590c0b}=_0x92be0b[_0x5d2f76(0x2ec)],_0xf40e0c=this[_0x5d2f76(0x1c8)];_0xf40e0c[_0x5d2f76(0x143)](_0x590c0b),this[_0x5d2f76(0x3b2)][_0x5d2f76(0x34f)](_0xf40e0c);}[_0x360c99(0x1b6)](){const _0x5535aa=_0x360c99;var _0x3f0ca3;if(this[_0x5535aa(0x186)]=!0x0,((_0x3f0ca3=this['_univerInstanceService'][_0x5535aa(0x1d7)]())==null?void 0x0:_0x3f0ca3[_0x5535aa(0x35f)]())!==this[_0x5535aa(0x1f7)])return;const _0x1e01b3=this[_0x5535aa(0x36d)][_0x5535aa(0x2da)](_0x136824[_0x5535aa(0x1ac)])[_0x5535aa(0x316)]();Array[_0x5535aa(0x2c0)](_0x1e01b3)&&_0x1e01b3[_0x5535aa(0x1fa)]>0x0&&this[_0x5535aa(0x121)](_0x1e01b3);}[_0x360c99(0x1ba)](){const _0x97905c=_0x360c99;this[_0x97905c(0x186)]=!0x1;}};_0x3f8cee=_0x1f0dc8([_0x34e023(0x2,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x34e023(0x3,_0x2b709b[_0x360c99(0x14c)](_0xe4ed4e)),_0x34e023(0x4,_0x2b709b[_0x360c99(0x14c)](_0x33f364[_0x360c99(0x139)])),_0x34e023(0x5,_0x2b709b[_0x360c99(0x14c)](_0x314824)),_0x34e023(0x6,_0x13c520[_0x360c99(0x249)]),_0x34e023(0x7,_0x2b709b[_0x360c99(0x33c)]),_0x34e023(0x8,_0x2b709b['ICommandService'])],_0x3f8cee);var _0x2b7695=Object[_0x360c99(0x397)],_0x2dd8eb=(_0x2dfeaf,_0x424a5c,_0x4c0f8a,_0x35be0c)=>{const _0x4f0a22=_0x360c99;for(var _0xfeafbe=_0x35be0c>0x1?void 0x0:_0x35be0c?_0x2b7695(_0x424a5c,_0x4c0f8a):_0x424a5c,_0x322357=_0x2dfeaf[_0x4f0a22(0x1fa)]-0x1,_0x6f829d;_0x322357>=0x0;_0x322357--)(_0x6f829d=_0x2dfeaf[_0x322357])&&(_0xfeafbe=_0x6f829d(_0xfeafbe)||_0xfeafbe);return _0xfeafbe;},_0x538134=(_0x151eb3,_0x38099c)=>(_0x5dd2b9,_0x1e1fb3)=>_0x38099c(_0x5dd2b9,_0x1e1fb3,_0x151eb3);const _0x139d86=0x12c,_0x2daf18=0x64,_0x4bc158=()=>{let _0x2fa8e4=[],_0x54e6af=!0x1;return _0x25bb47=>{_0x2fa8e4['push'](_0x25bb47),_0x54e6af||(_0x54e6af=!0x0,setTimeout(()=>{const _0x21211b=_0x2a3e;_0x2fa8e4[_0x21211b(0x2ce)](_0x1bca0d=>_0x1bca0d()),_0x2fa8e4=[],_0x54e6af=!0x1;}));};};let _0x1f0937=class extends _0x2b709b[_0x360c99(0x2f2)]{constructor(_0x39629d,_0x4e50ef,_0x46cf85,_0x5c25f0,_0x6a4662,_0x493f8c,_0x179cb2,_0x55a4c3){const _0x53947c=_0x360c99;super(),_0x2197b9(this,_0x53947c(0x186),!0x1),_0x2197b9(this,_0x53947c(0x1e6),!0x1),_0x2197b9(this,_0x53947c(0x3b2),new _0x3052c2[(_0x53947c(0x1af))](new Map())),_0x2197b9(this,_0x53947c(0x1c0),this[_0x53947c(0x3b2)]['asObservable']()),_0x2197b9(this,'_roomMembers$',new _0x3052c2['BehaviorSubject']([])),_0x2197b9(this,_0x53947c(0x1a6),this[_0x53947c(0x1b1)][_0x53947c(0x11a)](_0x3052c2[_0x53947c(0x246)](_0x139d86))),_0x2197b9(this,_0x53947c(0x121),_0x2b709b[_0x53947c(0x2b9)]((_0x572796,_0x39aa6d)=>{const _0x5d7dd6=_0x53947c,_0x1a6b0f={'eventID':_0x13c520[_0x5d7dd6(0x2fc)][_0x5d7dd6(0x393)],'data':{'unitID':this['unitID'],'memberID':this[_0x5d7dd6(0x1a8)][_0x5d7dd6(0x340)](),'selection':_0x4c94b6[_0x5d7dd6(0x1d0)](_0x572796,_0x39aa6d['range'])}};this[_0x5d7dd6(0x1a8)][_0x5d7dd6(0x2ab)](_0x1a6b0f,this[_0x5d7dd6(0x1f7)]);},_0x2daf18)),(this[_0x53947c(0x1f7)]=_0x39629d,this[_0x53947c(0x1a8)]=_0x4e50ef,this[_0x53947c(0x36d)]=_0x46cf85,this[_0x53947c(0x131)]=_0x5c25f0,this[_0x53947c(0x1ae)]=_0x6a4662,this[_0x53947c(0x122)]=_0x493f8c,this['_commandService']=_0x179cb2,this['_refRangeService']=_0x55a4c3);}get[_0x360c99(0x1c8)](){const _0x16cd8f=_0x360c99;return this[_0x16cd8f(0x3b2)][_0x16cd8f(0x374)]();}get[_0x360c99(0x1b5)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x71302c=_0x360c99;super['dispose'](),this['_cursorInfo$'][_0x71302c(0x34f)](new Map()),this['_cursorInfo$'][_0x71302c(0x279)](),this[_0x71302c(0x1b1)][_0x71302c(0x34f)]([]),this[_0x71302c(0x1b1)]['complete']();}[_0x360c99(0x22f)](){const _0x218970=_0x360c99;this['_init']||(this[_0x218970(0x1e6)]=!0x0,this[_0x218970(0x1a8)]['sessionStatus$'][_0x218970(0x11a)](_0x3052c2[_0x218970(0x338)](this[_0x218970(0x167)]))['subscribe'](_0x4394d1=>{const _0x3e1f84=_0x218970;_0x4394d1===_0x33f364[_0x3e1f84(0x18a)][_0x3e1f84(0x25e)]?this[_0x3e1f84(0x1b6)]():this[_0x3e1f84(0x1ba)]();}),this[_0x218970(0x1a8)]['event$'][_0x218970(0x11a)](_0x3052c2[_0x218970(0x338)](this['dispose$']))['subscribe'](_0x1b73a1=>{const _0x1b1654=_0x218970,_0x31ade8=_0x1b73a1[_0x1b1654(0x142)];_0x31ade8===_0x13c520[_0x1b1654(0x2fc)][_0x1b1654(0x393)]&&this[_0x1b1654(0x358)](_0x1b73a1),_0x31ade8===_0x13c520[_0x1b1654(0x2fc)][_0x1b1654(0x1bc)]&&this[_0x1b1654(0x389)](_0x1b73a1);}),this[_0x218970(0x32d)](),this[_0x218970(0x252)](this[_0x218970(0x369)]['onCommandExecuted'](_0x226cb1=>{const _0x5e84be=_0x218970;if(this[_0x5e84be(0x186)]&&_0x226cb1['id']===_0x52298f['SetSelectionsOperation']['id']&&_0x226cb1[_0x5e84be(0x2a8)]['unitId']===this[_0x5e84be(0x1f7)]){const _0x79aa24=_0x226cb1[_0x5e84be(0x2a8)];this['_updateLocalCursor'](_0x79aa24[_0x5e84be(0x318)],_0x79aa24[_0x5e84be(0x2c9)][0x0]);}})));}['_onCursorUpdate'](_0x2aefd9){const _0x421982=_0x360c99;var _0x48c763,_0x44dc99;const {memberID:_0x2af0bd,selection:_0xa8683e}=_0x2aefd9[_0x421982(0x2ec)],{sheetName:_0x1fcdf5,range:_0x2c174c}=_0x4c94b6[_0x421982(0x2c5)](_0xa8683e),_0x51a621={'name':(_0x44dc99=(_0x48c763=this[_0x421982(0x1ae)][_0x421982(0x166)](this[_0x421982(0x1f7)],_0x2af0bd))==null?void 0x0:_0x48c763['name'])!=null?_0x44dc99:'Unknown\x20user','range':this[_0x421982(0x232)](_0x1fcdf5,_0x2c174c),'sheetID':_0x1fcdf5,'color':this['_colorAssignService'][_0x421982(0x348)](_0x2af0bd),'selection':_0xa8683e},_0xf9575d=this['cursorInfo'];_0xf9575d[_0x421982(0x1b3)](_0x2af0bd,_0x51a621),this[_0x421982(0x3b2)][_0x421982(0x34f)](_0xf9575d);}[_0x360c99(0x389)](_0x498497){const _0x227e36=_0x360c99,{memberID:_0x3cf714}=_0x498497[_0x227e36(0x2ec)],_0x2a619b=this['cursorInfo'];_0x2a619b['delete'](_0x3cf714),this[_0x227e36(0x3b2)]['next'](_0x2a619b);}[_0x360c99(0x232)](_0x1b9b12,_0x4b6fe9){const _0x40c89f=_0x360c99;var _0x2e7ab1,_0x263878;const _0x21e84f=(_0x263878=(_0x2e7ab1=this[_0x40c89f(0x122)]['getUniverSheetInstance'](this[_0x40c89f(0x1f7)]))==null?void 0x0:_0x2e7ab1['getSheetBySheetId'](_0x1b9b12))==null?void 0x0:_0x263878[_0x40c89f(0x332)]();return(_0x21e84f==null?void 0x0:_0x21e84f[_0x40c89f(0x297)](_0x1cd4ff=>_0x2b709b[_0x40c89f(0x159)][_0x40c89f(0x1e2)](_0x1cd4ff,_0x4b6fe9)))||_0x4b6fe9;}[_0x360c99(0x32d)](){const _0x38eb99=_0x360c99,_0x4e3738=new _0x2b709b[(_0x38eb99(0x15b))](),_0x509da8=_0x4bc158(),_0x6ae952=()=>{const _0x475d49=_0x38eb99;_0x4e3738[_0x475d49(0x2fe)]();const _0x528976=(_0x4cf4f3,_0xa40c5f,_0x433241,_0x5ddbdc)=>{const _0x385951=_0x475d49;let _0x430d0f=[];switch(_0x4cf4f3['id']){case _0x52298f[_0x385951(0x392)][_0x385951(0x25c)]:{_0x430d0f=_0x52298f[_0x385951(0x277)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)]['DeleteRangeMoveUpCommandId']:{_0x430d0f=_0x52298f[_0x385951(0x22e)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)][_0x385951(0x352)]:{_0x430d0f=_0x52298f['handleInsertCol'](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)][_0x385951(0x209)]:{_0x430d0f=_0x52298f['handleInsertRangeMoveDown'](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)][_0x385951(0x1c2)]:{_0x430d0f=_0x52298f[_0x385951(0x315)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)][_0x385951(0x20a)]:{_0x430d0f=_0x52298f[_0x385951(0x2e2)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f['EffectRefRangId'][_0x385951(0x3b8)]:{_0x430d0f=_0x52298f[_0x385951(0x21f)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f[_0x385951(0x392)][_0x385951(0x305)]:{_0x430d0f=_0x52298f[_0x385951(0x153)](_0x4cf4f3,_0x5ddbdc);break;}case _0x52298f['EffectRefRangId']['RemoveRowCommandId']:{_0x430d0f=_0x52298f[_0x385951(0x179)](_0x4cf4f3,_0x5ddbdc);break;}}const _0x1ea462=_0x52298f[_0x385951(0x309)](_0x430d0f,_0x5ddbdc),_0x1577cf=this['cursorInfo'][_0x385951(0x2da)](_0xa40c5f);if(_0x1577cf&&_0x1ea462){const _0x28cefc={..._0x1577cf,'range':_0x1ea462};this[_0x385951(0x1c8)][_0x385951(0x1b3)](_0xa40c5f,_0x28cefc),_0x509da8(()=>{const _0xbdb00f=_0x385951,_0x59a1be=this['_refRangeService'][_0xbdb00f(0x361)](_0x1ea462,_0x72b53a=>(_0x59a1be[_0xbdb00f(0x2fe)](),_0x528976(_0x72b53a,_0xa40c5f,_0x433241,_0x1ea462)));_0x4e3738[_0xbdb00f(0x1cb)](_0x59a1be);});}return{'redos':[],'undos':[]};};this[_0x475d49(0x1c8)][_0x475d49(0x2ce)]((_0x154f41,_0x65a859)=>{const _0x4612a7=_0x475d49,{range:_0x5e1d4a,sheetID:_0x557e49}=_0x154f41,_0xd41817=this[_0x4612a7(0x271)][_0x4612a7(0x361)](_0x5e1d4a,_0x24af01=>(_0xd41817['dispose'](),_0x528976(_0x24af01,_0x65a859,_0x557e49,_0x5e1d4a)));_0x4e3738['add'](_0xd41817);});};this[_0x38eb99(0x252)](_0x2b709b[_0x38eb99(0x27e)](this[_0x38eb99(0x3b2)][_0x38eb99(0x373)](()=>{_0x6ae952();})));}['_toggleOnline'](){const _0x3a7b21=_0x360c99;var _0x37fbb1,_0x2981c8;if(this[_0x3a7b21(0x186)]=!0x0,((_0x37fbb1=this[_0x3a7b21(0x122)]['getFocusedUnit']())==null?void 0x0:_0x37fbb1[_0x3a7b21(0x35f)]())!==this['unitID'])return;const _0x675175=(_0x2981c8=this[_0x3a7b21(0x36d)]['get'](_0x52298f[_0x3a7b21(0x1e8)])['getCurrentSelections']())==null?void 0x0:_0x2981c8[0x0],_0x1fc7b1=this[_0x3a7b21(0x122)][_0x3a7b21(0x343)](_0x2b709b[_0x3a7b21(0x2a5)]['UNIVER_SHEET'])['getActiveSheet']();_0x675175&&_0x1fc7b1&&this[_0x3a7b21(0x121)](_0x1fc7b1[_0x3a7b21(0x163)](),_0x675175);}[_0x360c99(0x1ba)](){const _0x1efd23=_0x360c99;this[_0x1efd23(0x186)]=!0x1;}};_0x1f0937=_0x2dd8eb([_0x538134(0x2,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x538134(0x3,_0x2b709b[_0x360c99(0x14c)](_0xe4ed4e)),_0x538134(0x4,_0x2b709b[_0x360c99(0x14c)](_0x33f364[_0x360c99(0x139)])),_0x538134(0x5,_0x2b709b[_0x360c99(0x33c)]),_0x538134(0x6,_0x2b709b[_0x360c99(0x2f7)]),_0x538134(0x7,_0x2b709b[_0x360c99(0x14c)](_0x52298f['RefRangeService']))],_0x1f0937);var _0x4af34c=Object[_0x360c99(0x397)],_0x1c48e1=(_0xf9ad60,_0xad18c,_0x5271a0,_0x2c8db8)=>{const _0x33c696=_0x360c99;for(var _0x440d97=_0x2c8db8>0x1?void 0x0:_0x2c8db8?_0x4af34c(_0xad18c,_0x5271a0):_0xad18c,_0x35738a=_0xf9ad60[_0x33c696(0x1fa)]-0x1,_0x206e44;_0x35738a>=0x0;_0x35738a--)(_0x206e44=_0xf9ad60[_0x35738a])&&(_0x440d97=_0x206e44(_0x440d97)||_0x440d97);return _0x440d97;},_0x1b0a8a=(_0x21fa0f,_0x5ec38c)=>(_0xbb0283,_0x3e360c)=>_0x5ec38c(_0xbb0283,_0x3e360c,_0x21fa0f);let _0x29df5e=class extends _0x2b709b['RxDisposable']{constructor(_0x201612,_0x1cd059,_0x149d2c){const _0x2d87b3=_0x360c99;super(),_0x2197b9(this,_0x2d87b3(0x175),new Map()),_0x2197b9(this,_0x2d87b3(0x313),new _0x3052c2['Subject']()),(this[_0x2d87b3(0x122)]=_0x201612,this[_0x2d87b3(0x36d)]=_0x1cd059,this['_collabSessionService']=_0x149d2c,this[_0x2d87b3(0x1e6)]());}['dispose'](){const _0x1c3b65=_0x360c99;super[_0x1c3b65(0x2fe)](),this['_entityInit$'][_0x1c3b65(0x279)](),this['_entities'][_0x1c3b65(0x2ce)](_0x27cd8a=>_0x27cd8a[_0x1c3b65(0x2fe)]());}['getCollabCursors$'](_0x411ad5){const _0x31426f=_0x360c99;return this[_0x31426f(0x175)][_0x31426f(0x13e)](_0x411ad5)?this['_entities'][_0x31426f(0x2da)](_0x411ad5)[_0x31426f(0x1c0)]:this[_0x31426f(0x313)][_0x31426f(0x11a)](_0x3052c2['filter'](_0x37d98e=>_0x37d98e[_0x31426f(0x1f7)]===_0x411ad5),_0x3052c2[_0x31426f(0x21a)](_0x3b336d=>_0x3b336d[_0x31426f(0x1c0)]));}[_0x360c99(0x1e6)](){const _0x46715d=_0x360c99;this[_0x46715d(0x122)][_0x46715d(0x2ba)](_0x2b709b[_0x46715d(0x2a5)][_0x46715d(0x24b)])[_0x46715d(0x11a)](_0x3052c2[_0x46715d(0x338)](this['dispose$']))[_0x46715d(0x373)](async _0x217f76=>{const _0x13ec4b=_0x46715d,_0x4eb40a=_0x217f76['getUnitId'](),_0x55c4e2=await this[_0x13ec4b(0x3ae)](_0x4eb40a);this[_0x13ec4b(0x313)][_0x13ec4b(0x34f)](_0x55c4e2),this['_entities'][_0x13ec4b(0x1b3)](_0x4eb40a,_0x55c4e2);}),this[_0x46715d(0x122)][_0x46715d(0x2ba)](_0x2b709b['UniverInstanceType'][_0x46715d(0x331)])['pipe'](_0x3052c2[_0x46715d(0x338)](this[_0x46715d(0x167)]))[_0x46715d(0x11a)](_0x3052c2[_0x46715d(0x3a0)](_0x4ece4f=>!_0x4ece4f[_0x46715d(0x35f)]()[_0x46715d(0x1ed)]('__')))[_0x46715d(0x373)](async _0x3a3d24=>{const _0x3eecfe=_0x46715d,_0x2e0405=_0x3a3d24[_0x3eecfe(0x35f)](),_0x51a71c=await this[_0x3eecfe(0x1b0)](_0x2e0405);this[_0x3eecfe(0x313)][_0x3eecfe(0x34f)](_0x51a71c),this[_0x3eecfe(0x175)][_0x3eecfe(0x1b3)](_0x2e0405,_0x51a71c);}),_0x3052c2[_0x46715d(0x2c7)](this[_0x46715d(0x122)]['getTypeOfUnitDisposed$'](_0x2b709b['UniverInstanceType']['UNIVER_DOC']),this[_0x46715d(0x122)]['getTypeOfUnitDisposed$'](_0x2b709b['UniverInstanceType'][_0x46715d(0x24b)]))[_0x46715d(0x11a)](_0x3052c2[_0x46715d(0x338)](this['dispose$']))['subscribe'](_0x2e1b2d=>{const _0x341e6e=_0x46715d,_0x4cd932=_0x2e1b2d[_0x341e6e(0x35f)](),_0x437165=this['_entities'][_0x341e6e(0x2da)](_0x4cd932);_0x437165&&(_0x437165[_0x341e6e(0x2fe)](),this[_0x341e6e(0x175)][_0x341e6e(0x143)](_0x4cd932));});}async['_startSheetCollabCursor'](_0x14d174){const _0x3ba845=_0x360c99,_0x4236ba=await this[_0x3ba845(0x217)][_0x3ba845(0x2cf)](_0x14d174),_0x23afb0=this[_0x3ba845(0x36d)][_0x3ba845(0x30b)](_0x1f0937,_0x14d174,_0x4236ba);return _0x23afb0['init'](),_0x23afb0;}async[_0x360c99(0x1b0)](_0x5319ab){const _0x285529=_0x360c99,_0x2d29af=await this[_0x285529(0x217)][_0x285529(0x2cf)](_0x5319ab),_0x36eadd=this['_injector']['createInstance'](_0x3f8cee,_0x5319ab,_0x2d29af);return _0x36eadd['init'](),_0x36eadd;}};_0x29df5e=_0x1c48e1([_0x1b0a8a(0x0,_0x2b709b[_0x360c99(0x33c)]),_0x1b0a8a(0x1,_0x2b709b[_0x360c99(0x14c)](_0x2b709b['Injector'])),_0x1b0a8a(0x2,_0x2b709b['Inject'](_0x33f364[_0x360c99(0x39a)]))],_0x29df5e);const _0x4469c1=0x14,_0x24f6c6=0xc8,_0x2ad6b9=0x4,_0xd2fe1e=0x5;function _0xacbd05(_0x478b65,_0x118d4d){const _0x1e4bed=_0x360c99;let {radius:_0x5f0937,width:_0x3d513c,height:_0x4e30ad}=_0x118d4d;_0x5f0937=_0x5f0937!=null?_0x5f0937:0x0,_0x3d513c=_0x3d513c!=null?_0x3d513c:0x1e,_0x4e30ad=_0x4e30ad!=null?_0x4e30ad:0x1e;let _0x10b256=0x0,_0x55ab2d=0x0,_0xf21bdc=0x0;_0x10b256=_0x55ab2d=_0xf21bdc=Math[_0x1e4bed(0x224)](_0x5f0937,_0x3d513c/0x2,_0x4e30ad/0x2),_0x478b65[_0x1e4bed(0x2d9)](),_0x478b65[_0x1e4bed(0x1c9)](_0x10b256,0x0),_0x478b65[_0x1e4bed(0x2aa)](_0x3d513c-_0x55ab2d,0x0),_0x478b65[_0x1e4bed(0x19d)](_0x3d513c-_0x55ab2d,_0x55ab2d,_0x55ab2d,Math['PI']*0x3/0x2,0x0,!0x1),_0x478b65[_0x1e4bed(0x2aa)](_0x3d513c,_0x4e30ad-_0xf21bdc),_0x478b65['arc'](_0x3d513c-_0xf21bdc,_0x4e30ad-_0xf21bdc,_0xf21bdc,0x0,Math['PI']/0x2,!0x1),_0x478b65[_0x1e4bed(0x2aa)](0x0,_0x4e30ad),_0x478b65[_0x1e4bed(0x2aa)](0x0,_0x10b256),_0x478b65[_0x1e4bed(0x19d)](_0x10b256,_0x10b256,_0x10b256,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x478b65[_0x1e4bed(0x334)](),_0x118d4d[_0x1e4bed(0x132)]&&(_0x478b65[_0x1e4bed(0x172)](),_0x478b65[_0x1e4bed(0x302)]=_0x118d4d[_0x1e4bed(0x132)],_0x118d4d['fillRule']==='evenodd'?_0x478b65['fill'](_0x1e4bed(0x21b)):_0x478b65['fill'](),_0x478b65[_0x1e4bed(0x2d0)]());}class _0x568687 extends _0x45a576[_0x360c99(0x349)]{constructor(_0xac1e43,_0x3dbcec){const _0x4df42d=_0x360c99;super(_0xac1e43,_0x3dbcec),_0x2197b9(this,_0x4df42d(0x3b0)),_0x2197b9(this,_0x4df42d(0x255)),(this[_0x4df42d(0x3b0)]=_0x3dbcec==null?void 0x0:_0x3dbcec['color'],this[_0x4df42d(0x255)]=_0x3dbcec==null?void 0x0:_0x3dbcec['text']);}static['drawWith'](_0x53f620,_0x3cb716){const _0x4c9a45=_0x360c99,{text:_0x57b2c3,color:_0x5396c9}=_0x3cb716;_0x53f620[_0x4c9a45(0x172)](),_0x53f620[_0x4c9a45(0x176)]=_0x4c9a45(0x1b7);const _0x2668c5=_0x53f620[_0x4c9a45(0x137)](_0x57b2c3)[_0x4c9a45(0x30a)],_0x3da77f=Math[_0x4c9a45(0x224)](_0x2668c5+0x2*_0x2ad6b9,_0x24f6c6);_0xacbd05(_0x53f620,{'height':_0x4469c1,'radius':0x4,'width':_0x3da77f,'fill':_0x5396c9}),_0x53f620[_0x4c9a45(0x302)]=_0x4c9a45(0x268);const _0x5a9183=_0x2ad6b9,_0xf14004=_0x4469c1-_0xd2fe1e,_0x11c866=_0x24f6c6-0x2*_0x2ad6b9;if(_0x2668c5>_0x11c866){let _0x7e55fd='',_0x114427=0x0;for(const _0x113e81 of _0x57b2c3){const _0x375480=_0x53f620['measureText'](_0x113e81)[_0x4c9a45(0x30a)];if(_0x114427+_0x375480<=_0x11c866-_0x53f620[_0x4c9a45(0x137)](_0x4c9a45(0x34b))[_0x4c9a45(0x30a)])_0x7e55fd+=_0x113e81,_0x114427+=_0x375480;else{_0x7e55fd+=_0x4c9a45(0x34b);break;}}_0x53f620['fillText'](_0x7e55fd,_0x5a9183,_0xf14004);}else _0x53f620[_0x4c9a45(0x17a)](_0x57b2c3,_0x5a9183,_0xf14004);_0x53f620['restore']();}[_0x360c99(0x372)](_0x5eaba7){const _0xaa004d=_0x360c99;_0x568687[_0xaa004d(0x1ad)](_0x5eaba7,this);}}const _0x241436=_0x360c99(0x3b5),_0x585b5f=_0x360c99(0x2eb),_0x11b0dc=_0x360c99(0x165),_0x25808=0x6,_0x400016=1.5,_0x1a9687=0x4,_0x17748a=1.5,_0x230e44=_0x360c99(0x152);class _0x3beb1d{constructor(_0x25aa15,_0x2d1263,_0x5ee6db,_0xc2cbcb){const _0x365dad=_0x360c99;_0x2197b9(this,_0x365dad(0x31d),[]),_0x2197b9(this,'_anchor',null),_0x2197b9(this,_0x365dad(0x228),null),_0x2197b9(this,_0x365dad(0x177),null),_0x2197b9(this,_0x365dad(0x127),null),_0x2197b9(this,_0x365dad(0x1cf),null),(this[_0x365dad(0x344)]=_0x25aa15,this['_scene']=_0x2d1263,this[_0x365dad(0x23a)]=_0x5ee6db,this[_0x365dad(0x19a)]=_0xc2cbcb,this[_0x365dad(0x240)]());}set[_0x360c99(0x193)](_0x32bbc7){const _0x344fbd=_0x360c99;_0x32bbc7?(this[_0x344fbd(0x177)]&&this[_0x344fbd(0x177)][_0x344fbd(0x36a)](),this[_0x344fbd(0x228)]&&this[_0x344fbd(0x228)]['show']()):(this[_0x344fbd(0x177)]&&this[_0x344fbd(0x177)]['show'](),this[_0x344fbd(0x228)]&&this[_0x344fbd(0x228)][_0x344fbd(0x36a)]());}[_0x360c99(0x2fe)](){const _0x4cf0a0=_0x360c99;for(const _0x16d9bb of this[_0x4cf0a0(0x31d)])_0x16d9bb[_0x4cf0a0(0x2fe)]();this['_textBubble']&&this['_textBubble'][_0x4cf0a0(0x2fe)](),this[_0x4cf0a0(0x177)]&&this[_0x4cf0a0(0x177)][_0x4cf0a0(0x2fe)](),this[_0x4cf0a0(0x185)]&&this[_0x4cf0a0(0x185)][_0x4cf0a0(0x2fe)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x360c99(0x240)](){const _0x1109ae=_0x360c99;var _0x3ad15a;const {_docSkeleton:_0xaf6cd2,_document:_0x1a7e5f}=this,{color:_0x38fd89,name:_0x457c6a,ranges:_0x1ad233}=this[_0x1109ae(0x344)],_0x2854f1=_0x1a7e5f['getOffsetConfig'](),{docsLeft:_0x24e3c6,docsTop:_0x525e6f}=_0x2854f1,_0x582fb1=new _0x5e00f9['NodePositionConvertToCursor'](_0x2854f1,_0xaf6cd2);for(const {startOffset:_0x78284f,endOffset:_0x4220c1,rangeType:_0x2c5850,segmentId:_0x8f900,segmentPage:_0x64bbcd,collapsed:_0x19b3d3,isActive:_0x30d4eb}of _0x1ad233){const _0x25a541=_0xaf6cd2[_0x1109ae(0x148)](_0x78284f,!0x0,_0x8f900,_0x64bbcd);let _0xe6bea6=_0xaf6cd2[_0x1109ae(0x148)](_0x4220c1,!0x0,_0x8f900,_0x64bbcd);if(_0xe6bea6==null&&(_0xe6bea6=_0xaf6cd2[_0x1109ae(0x148)](_0x4220c1-0x1,!0x1,_0x8f900,_0x64bbcd)),_0x30d4eb){const {contentBoxPointGroup:_0x1f51c7}=_0x582fb1[_0x1109ae(0x2c2)](_0xe6bea6,_0xe6bea6);if(_0x1f51c7[_0x1109ae(0x1fa)]===0x0)continue;this[_0x1109ae(0x386)](_0x38fd89,_0x1f51c7,_0x24e3c6,_0x525e6f,_0x457c6a),this[_0x1109ae(0x1cf)]=this[_0x1109ae(0x33d)]();}if(_0x25a541&&_0xe6bea6){if(_0x2c5850===_0x2b709b[_0x1109ae(0x180)][_0x1109ae(0x384)]){const _0x328acd=new _0x5e00f9[(_0x1109ae(0x39e))](_0x2854f1,_0xaf6cd2),{pointGroup:_0x41b388}=(_0x3ad15a=_0x328acd[_0x1109ae(0x2c2)](_0x25a541,_0xe6bea6))!=null?_0x3ad15a:{};if(_0x41b388==null||_0x41b388[_0x1109ae(0x1fa)]===0x0)continue;this[_0x1109ae(0x3b3)](_0x38fd89,_0x41b388,_0x24e3c6,_0x525e6f);}else{if(!_0x19b3d3){const {borderBoxPointGroup:_0x1d1275}=_0x582fb1[_0x1109ae(0x2c2)](_0x25a541,_0xe6bea6);if(_0x1d1275[_0x1109ae(0x1fa)]===0x0)continue;this['_drawTextRange'](_0x38fd89,_0x1d1275,_0x24e3c6,_0x525e6f);}}}}}[_0x360c99(0x386)](_0x5803f4,_0x1487e9,_0x27d8f5,_0x25bd88,_0x3069ec){const _0x15d714=_0x360c99,_0x4c465f=this[_0x15d714(0x1c5)](_0x1487e9),{left:_0x5558cf,top:_0x5986c8,height:_0x2bcf15}=_0x4c465f,_0x4bd7f6=this[_0x15d714(0x1fc)](),_0x350622=_0x17748a/_0x4bd7f6,_0x2a9fc8=new _0x45a576[(_0x15d714(0x226))](_0x241436+_0x2b709b[_0x15d714(0x169)](_0x25808),{'left':_0x5558cf+_0x27d8f5-_0x350622,'top':_0x5986c8+_0x25bd88,'height':_0x2bcf15,'width':_0x400016,'fill':_0x5803f4||_0x45a576['getColor'](_0x2b709b[_0x15d714(0x23d)][_0x15d714(0x221)],0x0),'strokeWidth':_0x350622,'stroke':_0x230e44,'evented':!0x0});this[_0x15d714(0x185)]=_0x2a9fc8,this[_0x15d714(0x21e)][_0x15d714(0x231)](_0x2a9fc8,_0x5e00f9[_0x15d714(0x287)]);const _0x3feb08=new _0x45a576[(_0x15d714(0x226))](_0x241436+_0x2b709b[_0x15d714(0x169)](_0x25808),{'left':_0x5558cf+_0x27d8f5-_0x350622,'top':_0x5986c8+_0x25bd88-_0x1a9687/0x2,'height':_0x1a9687,'width':_0x1a9687,'fill':_0x5803f4||_0x45a576[_0x15d714(0x269)](_0x2b709b[_0x15d714(0x23d)][_0x15d714(0x221)],0x0),'strokeWidth':0x0,'stroke':_0x5803f4||_0x45a576[_0x15d714(0x269)](_0x2b709b[_0x15d714(0x23d)]['black'],0x0),'evented':!0x1});this[_0x15d714(0x177)]=_0x3feb08,this[_0x15d714(0x21e)][_0x15d714(0x231)](_0x3feb08,_0x5e00f9['TEXT_RANGE_LAYER_INDEX']);const _0x17821f=new _0x568687(_0x241436+_0x2b709b[_0x15d714(0x169)](_0x25808),{'left':_0x5558cf+_0x27d8f5-_0x350622,'top':_0x5986c8+_0x25bd88-_0x4469c1,'text':_0x3069ec,'color':_0x5803f4});this[_0x15d714(0x228)]=_0x17821f,this[_0x15d714(0x21e)][_0x15d714(0x231)](_0x17821f,_0x5e00f9['TEXT_RANGE_LAYER_INDEX']),this[_0x15d714(0x193)]=!0x1;}['_handleHover'](){const _0x54507c=_0x360c99,_0x181b6a=this['_anchor'][_0x54507c(0x37e)][_0x54507c(0x2ca)](()=>{const _0x3651a5=_0x54507c;this[_0x3651a5(0x193)]=!0x0;}),_0x57e157=this[_0x54507c(0x185)][_0x54507c(0x33f)][_0x54507c(0x2ca)](()=>{const _0x22e579=_0x54507c;this[_0x22e579(0x127)]&&clearTimeout(this[_0x22e579(0x127)]),this[_0x22e579(0x127)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3550b5=_0x54507c;_0x181b6a[_0x3550b5(0x272)](),_0x57e157['unsubscribe']();};}[_0x360c99(0x1b8)](_0x12ecd9,_0x4b5674,_0x16f10d,_0x4f717a){const _0x4903ac=_0x360c99,_0x145235=new _0x2b709b[(_0x4903ac(0x13b))](_0x12ecd9)['setAlpha'](0.2)['toRgbString'](),_0x17a57f=new _0x45a576['RegularPolygon'](_0x585b5f+_0x2b709b['generateRandomId'](_0x25808),{'pointsGroup':_0x4b5674,'fill':_0x145235||_0x45a576[_0x4903ac(0x269)](_0x2b709b['COLORS'][_0x4903ac(0x221)],0.2),'left':_0x16f10d,'top':_0x4f717a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4903ac(0x31d)][_0x4903ac(0x36e)](_0x17a57f),this[_0x4903ac(0x21e)][_0x4903ac(0x231)](_0x17a57f,_0x5e00f9['TEXT_RANGE_LAYER_INDEX']);}[_0x360c99(0x3b3)](_0x4b3767,_0x22199f,_0x4e2799,_0x5e0123){const _0x32cfc3=_0x360c99,_0x46a0dc=new _0x2b709b[(_0x32cfc3(0x13b))](_0x4b3767)[_0x32cfc3(0x168)](0.2)['toRgbString'](),_0x5befa3=new _0x45a576['RegularPolygon'](_0x11b0dc+_0x2b709b['generateRandomId'](_0x25808),{'pointsGroup':_0x22199f,'fill':_0x46a0dc||_0x45a576[_0x32cfc3(0x269)](_0x2b709b[_0x32cfc3(0x23d)][_0x32cfc3(0x221)],0.2),'left':_0x4e2799,'top':_0x5e0123,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x32cfc3(0x31d)][_0x32cfc3(0x36e)](_0x5befa3),this[_0x32cfc3(0x21e)]['addObject'](_0x5befa3,_0x5e00f9[_0x32cfc3(0x287)]);}[_0x360c99(0x1c5)](_0x3268c9){const _0x553af6=_0x3268c9[0x0],_0x11ce4c=_0x553af6[0x0],_0x553bd2=_0x553af6[0x2],{x:_0x346e4a,y:_0x441dd1}=_0x11ce4c,{x:_0x2cc57a,y:_0x4298f1}=_0x553bd2;return{'left':_0x346e4a,'top':_0x441dd1,'width':_0x2cc57a-_0x346e4a,'height':_0x4298f1-_0x441dd1};}['_getScale'](){const _0x17db0f=_0x360c99,{scaleX:_0x291789,scaleY:_0x1f00c8}=this[_0x17db0f(0x21e)][_0x17db0f(0x2b8)]();return Math['max'](_0x291789,_0x1f00c8);}}var _0x1fa192=Object[_0x360c99(0x397)],_0x5b55cd=(_0x5d64ca,_0x3800ac,_0x1e7584,_0xec46ae)=>{const _0x287fe8=_0x360c99;for(var _0x3eb35f=_0xec46ae>0x1?void 0x0:_0xec46ae?_0x1fa192(_0x3800ac,_0x1e7584):_0x3800ac,_0xaf7754=_0x5d64ca[_0x287fe8(0x1fa)]-0x1,_0x20a17b;_0xaf7754>=0x0;_0xaf7754--)(_0x20a17b=_0x5d64ca[_0xaf7754])&&(_0x3eb35f=_0x20a17b(_0x3eb35f)||_0x3eb35f);return _0x3eb35f;},_0x873145=(_0x21de43,_0x3a3225)=>(_0x23cc3d,_0x1e8c39)=>_0x3a3225(_0x23cc3d,_0x1e8c39,_0x21de43);let _0x4f058a=class extends _0x2b709b[_0x360c99(0x2f2)]{constructor(_0x4659d7,_0x44d15f,_0x106f9d,_0x401eb8,_0x5bb6d2){const _0x30e5e9=_0x360c99;super(),_0x2197b9(this,'_cursorShapes',[]),_0x2197b9(this,_0x30e5e9(0x3ac),[]),(this[_0x30e5e9(0x341)]=_0x4659d7,this[_0x30e5e9(0x1c3)]=_0x44d15f,this[_0x30e5e9(0x39f)]=_0x106f9d,this['_commandService']=_0x401eb8,this[_0x30e5e9(0x2bc)]=_0x5bb6d2,this[_0x30e5e9(0x1e6)]());}[_0x360c99(0x1e6)](){const _0xb815a0=_0x360c99,_0x23ae71=this['_context'][_0xb815a0(0x2cc)],_0x2ac6f1=this[_0xb815a0(0x1c3)];this[_0xb815a0(0x252)](_0x3052c2[_0xb815a0(0x1de)]([this[_0xb815a0(0x39f)][_0xb815a0(0x149)](_0x23ae71),this[_0xb815a0(0x2bc)][_0xb815a0(0x2d6)]])['pipe'](_0x2698e1['map'](([_0x4d9670,_0x37601d])=>({'skeleton':_0x2ac6f1[_0xb815a0(0x3a3)](),'cursors':[..._0x4d9670[_0xb815a0(0x13a)]()][_0xb815a0(0x322)](_0x726da=>({..._0x726da,'color':this[_0xb815a0(0x2bc)]['getColorFromTheme'](_0x726da[_0xb815a0(0x3b0)])}))})))[_0xb815a0(0x373)](_0xc17bc2=>{const _0x1caff0=_0xb815a0;if(this[_0x1caff0(0x280)](),_0xc17bc2){const {skeleton:_0x1fb9f7,cursors:_0x3e09c2}=_0xc17bc2;this[_0x1caff0(0x2e4)](_0x1fb9f7,_0x3e09c2);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x360c99(0x2e4)](_0x388672,_0xf41523){const _0x7079af=_0x360c99,{scene:_0x54358e,mainComponent:_0x28baa7}=this['_context'],_0x575d12=_0xf41523['map'](_0x3352c4=>new _0x3beb1d(_0x3352c4,_0x54358e,_0x388672,_0x28baa7));this[_0x7079af(0x2f6)]=_0x575d12,this[_0x7079af(0x3ac)]=_0xf41523;}[_0x360c99(0x21d)](){const _0x18ab6a=_0x360c99;this[_0x18ab6a(0x280)]();const {scene:_0x580537,mainComponent:_0x35c901}=this[_0x18ab6a(0x341)],_0x1193c6=this[_0x18ab6a(0x1c3)][_0x18ab6a(0x3a3)](),_0x37130a=this[_0x18ab6a(0x3ac)][_0x18ab6a(0x380)](_0x325742=>new _0x3beb1d(_0x325742,_0x580537,_0x1193c6,_0x35c901));this['_cursorShapes']=_0x37130a;}[_0x360c99(0x280)](){const _0x1d1409=_0x360c99;this['_cursorShapes'][_0x1d1409(0x2ce)](_0x1f17cb=>_0x1f17cb['dispose']()),this[_0x1d1409(0x2f6)]=[];}[_0x360c99(0x295)](){const _0x52fea7=_0x360c99,_0x2bcf8f=[_0x5e00f9[_0x52fea7(0x370)]['id']];this['disposeWithMe'](this[_0x52fea7(0x369)][_0x52fea7(0x135)](_0xe5089c=>{const _0x4281d6=_0x52fea7;_0x2bcf8f[_0x4281d6(0x275)](_0xe5089c['id'])&&_0xe5089c['params'][_0x4281d6(0x2cc)]===this['_context'][_0x4281d6(0x2cc)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x2a45cd=_0x360c99;this[_0x2a45cd(0x252)](_0x2b709b[_0x2a45cd(0x1e3)](this['_context']['engine']['onTransformChange$'])[_0x2a45cd(0x11a)](_0x2698e1['filter'](_0x5d65e4=>_0x5d65e4['type']===_0x45a576[_0x2a45cd(0x326)][_0x2a45cd(0x31a)]),_0x2698e1[_0x2a45cd(0x289)](0x10))[_0x2a45cd(0x373)](()=>{const _0x25723d=_0x2a45cd;this[_0x25723d(0x21d)]();}));}};_0x4f058a=_0x5b55cd([_0x873145(0x1,_0x2b709b[_0x360c99(0x14c)](_0x136824['DocSkeletonManagerService'])),_0x873145(0x2,_0x2b709b[_0x360c99(0x14c)](_0x29df5e)),_0x873145(0x3,_0x2b709b[_0x360c99(0x2f7)]),_0x873145(0x4,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x158)]))],_0x4f058a);const _0x461bd1=0x1,_0x3c4366=1.5;class _0x34aaa3 extends _0x45a576['Shape']{constructor(_0x1b0d35,_0x43fa26){const _0x79fd04=_0x360c99;super(_0x1b0d35,_0x43fa26),_0x2197b9(this,_0x79fd04(0x22a)),_0x2197b9(this,_0x79fd04(0x238),!0x1),_0x2197b9(this,_0x79fd04(0x330)),_0x2197b9(this,'_name',''),_0x2197b9(this,'_labelPosition',_0x79fd04(0x26c)),_0x2197b9(this,'_backgroundColor'),(_0x43fa26&&this['setShapeProps'](_0x43fa26),this[_0x79fd04(0x37e)][_0x79fd04(0x2ca)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x79fd04(0x2ca)](()=>this[_0x79fd04(0x223)]({'hovered':!0x1})));}['setShapeProps'](_0x43eea8){const _0x531403=_0x360c99;var _0x246652,_0x163b29,_0x482349,_0x34f7c6,_0x469ad3,_0x2eb560;this[_0x531403(0x22a)]=(_0x246652=_0x43eea8[_0x531403(0x3b0)])!=null?_0x246652:this[_0x531403(0x22a)],this[_0x531403(0x238)]=(_0x163b29=_0x43eea8[_0x531403(0x2db)])!=null?_0x163b29:this[_0x531403(0x238)],this[_0x531403(0x330)]=(_0x482349=_0x43eea8[_0x531403(0x237)])!=null?_0x482349:this[_0x531403(0x330)],this[_0x531403(0x27b)]=(_0x34f7c6=_0x43eea8[_0x531403(0x2ed)])!=null?_0x34f7c6:this[_0x531403(0x27b)],this[_0x531403(0x35c)]=(_0x469ad3=_0x43eea8['labelPosition'])!=null?_0x469ad3:this[_0x531403(0x35c)],this['_backgroundColor']=(_0x2eb560=_0x43eea8[_0x531403(0x2b6)])!=null?_0x2eb560:this[_0x531403(0x36f)],this[_0x531403(0x1aa)]({'width':_0x43eea8[_0x531403(0x30a)],'height':_0x43eea8['height']});}['onMouseMove'](_0x34696b){const _0x1d0108=_0x360c99,{row:_0x237eff,column:_0x343b19}=_0x34696b;if(_0x237eff>=this['_range'][_0x1d0108(0x24f)]&&_0x237eff<=this[_0x1d0108(0x330)][_0x1d0108(0x314)]&&_0x343b19>=this[_0x1d0108(0x330)][_0x1d0108(0x14a)]&&_0x343b19<=this[_0x1d0108(0x330)][_0x1d0108(0x3b6)]){this[_0x1d0108(0x223)]({'hovered':!0x0});return;}this[_0x1d0108(0x223)]({'hovered':!0x1});}[_0x360c99(0x115)](_0x2e4268){return!0x1;}[_0x360c99(0x372)](_0x24e177){const _0x338fda=_0x360c99;_0x45a576['Rect'][_0x338fda(0x1ad)](_0x24e177,{'width':this[_0x338fda(0x30a)],'height':this[_0x338fda(0x162)],'strokeWidth':_0x3c4366,'stroke':this[_0x338fda(0x22a)],'evented':!0x1,'fill':this[_0x338fda(0x36f)]}),this[_0x338fda(0x238)]&&(_0x24e177[_0x338fda(0x172)](),_0x24e177[_0x338fda(0x160)](0x1,0x0,0x0,0x1,this[_0x338fda(0x30a)],this[_0x338fda(0x35c)]==='bottom'?0x0:-_0x4469c1),_0x568687[_0x338fda(0x1ad)](_0x24e177,{'text':this[_0x338fda(0x27b)],'color':this['_color']}),_0x24e177['restore']());}}var _0x56fae1=Object[_0x360c99(0x397)],_0x3d2cbb=(_0xaf18ce,_0x56d330,_0x3df714,_0x9327a3)=>{const _0x5a152c=_0x360c99;for(var _0x79f3b2=_0x9327a3>0x1?void 0x0:_0x9327a3?_0x56fae1(_0x56d330,_0x3df714):_0x56d330,_0x512ff5=_0xaf18ce[_0x5a152c(0x1fa)]-0x1,_0x18fb9a;_0x512ff5>=0x0;_0x512ff5--)(_0x18fb9a=_0xaf18ce[_0x512ff5])&&(_0x79f3b2=_0x18fb9a(_0x79f3b2)||_0x79f3b2);return _0x79f3b2;},_0x223292=(_0x59c8fb,_0x388c2a)=>(_0x2867d3,_0x1b4d0)=>_0x388c2a(_0x2867d3,_0x1b4d0,_0x59c8fb);const _0x42a70a=0x1389;let _0x2d56c6=class extends _0x2b709b['RxDisposable']{constructor(_0x28f191,_0xfa7f93,_0x353511,_0x195386){const _0x33584e=_0x360c99;super(),_0x2197b9(this,'_cursors',new Set()),_0x2197b9(this,_0x33584e(0x1d8),null),(this[_0x33584e(0x341)]=_0x28f191,this[_0x33584e(0x13d)]=_0xfa7f93,this['_collabCursorController']=_0x353511,this[_0x33584e(0x2bc)]=_0x195386,this[_0x33584e(0x1e6)]());}['_init'](){const _0x5b14ce=_0x360c99;this[_0x5b14ce(0x13d)][_0x5b14ce(0x2b5)]['pipe'](_0x2698e1['takeUntil'](this[_0x5b14ce(0x167)]),_0x2698e1[_0x5b14ce(0x21a)](_0x1a07ee=>{const _0x3e956f=_0x5b14ce;if(_0x1a07ee){const _0x1541d9=_0x1a07ee['sheetId'];return _0x3052c2[_0x3e956f(0x1de)](this[_0x3e956f(0x39f)][_0x3e956f(0x149)](this[_0x3e956f(0x341)]['unitId']),this[_0x3e956f(0x2bc)][_0x3e956f(0x2d6)])[_0x3e956f(0x11a)](_0x2698e1[_0x3e956f(0x380)](([_0x687101,_0x1bee54])=>{const _0x1691c5=new Map();return _0x687101['forEach']((_0x17729f,_0x13ce01)=>{const _0x5b81eb=_0x2a3e;if(_0x17729f[_0x5b81eb(0x28e)]===_0x1541d9){const _0x541641={..._0x17729f};_0x541641[_0x5b81eb(0x3b0)]=this[_0x5b81eb(0x2bc)][_0x5b81eb(0x3ab)](_0x17729f[_0x5b81eb(0x3b0)]),_0x1691c5[_0x5b81eb(0x1b3)](_0x13ce01,_0x541641);}}),{'skeleton':_0x1a07ee,'cursors':_0x1691c5};}));}return _0x3052c2['of']({'skeleton':null,'cursors':new Map()});}))[_0x5b14ce(0x373)](({skeleton:_0x571bc6,cursors:_0x2c3bb5})=>{const _0x4dd214=_0x5b14ce;this[_0x4dd214(0x280)](),_0x571bc6&&this[_0x4dd214(0x2e4)](_0x571bc6,_0x2c3bb5);}),this[_0x5b14ce(0x13d)][_0x5b14ce(0x2b5)][_0x5b14ce(0x373)](_0x372abe=>{const _0x59b699=_0x5b14ce;if(_0x372abe==null)return;const {skeleton:_0x4d5771}=_0x372abe,{scene:_0x2be16a}=this[_0x59b699(0x341)];_0x2be16a[_0x59b699(0x16e)][_0x59b699(0x2ca)](_0x2b709b['debounce'](_0xf3ba98=>{const _0x2e0750=_0x59b699;var _0x4d2719,_0x167340;const {offsetX:_0x565438,offsetY:_0x5e60e4}=_0xf3ba98,{x:_0x2dbd9c,y:_0x1bef81}=_0x2be16a['getRelativeToViewportCoord'](_0x45a576[_0x2e0750(0x367)][_0x2e0750(0x3a2)]([_0x565438,_0x5e60e4])),{scaleX:_0x43d954,scaleY:_0x115041}=_0x2be16a[_0x2e0750(0x2b8)](),_0x1f5fc5=_0x2be16a[_0x2e0750(0x1c4)](_0x45a576[_0x2e0750(0x24a)][_0x2e0750(0x2d2)]),_0x55908e=_0x2be16a['getVpScrollXYInfoByPosToVp'](_0x45a576[_0x2e0750(0x367)][_0x2e0750(0x3a2)]([_0x2dbd9c,_0x1bef81]),_0x1f5fc5),_0x39df02=_0x4d5771[_0x2e0750(0x11f)](_0x565438,_0x5e60e4,_0x43d954,_0x115041,_0x55908e);((_0x4d2719=this[_0x2e0750(0x1d8)])==null?void 0x0:_0x4d2719[_0x2e0750(0x262)])===_0x39df02[_0x2e0750(0x262)]&&((_0x167340=this[_0x2e0750(0x1d8)])==null?void 0x0:_0x167340[_0x2e0750(0x250)])===_0x39df02[_0x2e0750(0x250)]||this[_0x2e0750(0x3ac)][_0x2e0750(0x2ce)](_0x4cadff=>{_0x4cadff['onMouseMove'](_0x39df02);});},0x64));});}[_0x360c99(0x2e4)](_0xbde488,_0x5bf412){const _0x5012ff=_0x360c99;var _0x3831fd;const _0x4494a6=(_0x3831fd=this[_0x5012ff(0x13d)][_0x5012ff(0x23f)]())==null?void 0x0:_0x3831fd['skeleton'];if(!_0x4494a6)return;const _0x2e7fbd=this[_0x5012ff(0x2be)]();if(!_0x2e7fbd)return;this[_0x5012ff(0x3ac)][_0x5012ff(0x2ce)](_0x32c831=>{const _0x76a71d=_0x5012ff;_0x32c831[_0x76a71d(0x38b)]();});const {scene:_0x13232b}=_0x2e7fbd,_0x5e8412=_0x3d257f(Array[_0x5012ff(0x222)](_0x5bf412['values']()))[_0x5012ff(0x380)](_0x43578b=>{const _0x177d75=_0x5012ff,{color:_0x32e1d9,range:_0x3295e1,name:_0x5c9c4f,selection:_0x59d432,sheetID:_0x498cfd}=_0x43578b,{startColumn:_0x3ec03c,startRow:_0x3e8720,endColumn:_0x227e40,endRow:_0x1f353b}=_0x3295e1,_0x46a5f8=_0x3bd105[_0x177d75(0x257)](_0x3e8720,_0x3ec03c,_0x13232b,_0x4494a6),_0x1e4968=_0x3bd105[_0x177d75(0x257)](_0x1f353b,_0x227e40,_0x13232b,_0x4494a6),{columnHeaderHeightAndMarginTop:_0x4e075d}=_0x4494a6,{startX:_0x58e13b,startY:_0x16d900}=_0x46a5f8,{endX:_0x1654a8,endY:_0x433657}=_0x1e4968,_0x4e62c8=_0x1654a8-_0x58e13b,_0x135f33=_0x433657-_0x16d900,_0x1b922c={'labelPosition':_0x16d900-_0x4e075d>=_0x4469c1?_0x177d75(0x26c):_0x177d75(0x263),'sheetID':_0x498cfd,'range':_0x3295e1,'color':_0x32e1d9,'name':_0x5c9c4f,'selection':_0x59d432,'left':_0x58e13b,'top':_0x16d900,'width':_0x4e62c8,'height':_0x135f33,'evented':!0x1,'zIndex':_0x42a70a};return new _0x34aaa3(_0x5c9c4f,_0x1b922c);});_0x13232b[_0x5012ff(0x2dd)](_0x5e8412,_0x461bd1),this['_cursors']=new Set(_0x5e8412);}['_removeCollabCursors'](){const _0x21937a=_0x360c99;var _0x46a6c3;(_0x46a6c3=this[_0x21937a(0x3ac)])==null||_0x46a6c3[_0x21937a(0x2ce)](_0x1f0c26=>_0x1f0c26[_0x21937a(0x2fe)]());}[_0x360c99(0x2be)](){const _0x4aa374=_0x360c99;return _0x3bd105[_0x4aa374(0x206)](this[_0x4aa374(0x341)][_0x4aa374(0x351)],this[_0x4aa374(0x341)]);}};_0x2d56c6=_0x3d2cbb([_0x223292(0x1,_0x2b709b[_0x360c99(0x14c)](_0x3bd105[_0x360c99(0x291)])),_0x223292(0x2,_0x2b709b[_0x360c99(0x14c)](_0x29df5e)),_0x223292(0x3,_0x2b709b[_0x360c99(0x14c)](_0x2b709b['ThemeService']))],_0x2d56c6);function _0x3d257f(_0x518c3b){const _0x2c611e=_0x360c99,_0x3844b4=new Map();return _0x518c3b['forEach'](_0xe98517=>{const _0x42ec7c=_0x2a3e;if(_0x3844b4[_0x42ec7c(0x13e)](_0xe98517[_0x42ec7c(0x399)])){const _0x4a6c9f=_0x3844b4[_0x42ec7c(0x2da)](_0xe98517[_0x42ec7c(0x399)]);_0x4a6c9f[_0x42ec7c(0x2ed)]+=',\x20'+_0xe98517[_0x42ec7c(0x2ed)];}else _0x3844b4[_0x42ec7c(0x1b3)](_0xe98517[_0x42ec7c(0x399)],_0xe98517);}),Array['from'](_0x3844b4[_0x2c611e(0x13a)]());}var _0x484d8a=Object[_0x360c99(0x397)],_0x22f0fc=(_0x2c64fb,_0x4e9d43,_0x33bc6d,_0x2d2277)=>{for(var _0x21a8ba=_0x2d2277>0x1?void 0x0:_0x2d2277?_0x484d8a(_0x4e9d43,_0x33bc6d):_0x4e9d43,_0x3262e7=_0x2c64fb['length']-0x1,_0x2cf08a;_0x3262e7>=0x0;_0x3262e7--)(_0x2cf08a=_0x2c64fb[_0x3262e7])&&(_0x21a8ba=_0x2cf08a(_0x21a8ba)||_0x21a8ba);return _0x21a8ba;},_0xa7a49a=(_0x6a753,_0x3fa759)=>(_0x4e2964,_0x245d70)=>_0x3fa759(_0x4e2964,_0x245d70,_0x6a753);let _0x329f6a=class extends _0x2b709b[_0x360c99(0x16d)]{constructor(_0x291de7,_0x16f00c,_0xbf866c,_0x2c016c,_0x2a56bc,_0x27e85c){const _0x434022=_0x360c99;super(),this[_0x434022(0x125)]=_0x291de7,this['_localCacheService']=_0x16f00c,this['_collaborationUIEventService']=_0xbf866c,this[_0x434022(0x28d)]=_0x2c016c,this[_0x434022(0x145)]=_0x2a56bc,this[_0x434022(0x2e5)]=_0x27e85c,this[_0x434022(0x29b)](),this[_0x434022(0x364)]();}[_0x360c99(0x29b)](){const _0x47eb1f=_0x360c99;this[_0x47eb1f(0x252)](this[_0x47eb1f(0x125)][_0x47eb1f(0x151)](()=>{const _0xda212a=_0x47eb1f;if(this[_0xda212a(0x33a)]['saveTaskMap'][_0xda212a(0x248)])return this[_0xda212a(0x2e5)]['t'](_0xda212a(0x319));}));}[_0x360c99(0x364)](){const _0x373090=_0x360c99;this['disposeWithMe'](this['_collaborationUIEventService'][_0x373090(0x2b3)]['subscribe'](_0x85c9ae=>{const _0x30e2da=_0x373090;_0x85c9ae['id']===_0x33f364['CollaborationUIEventId'][_0x30e2da(0x3b1)]&&this[_0x30e2da(0x28d)]['show']({'type':_0x238d53[_0x30e2da(0x2c8)][_0x30e2da(0x1b9)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x85c9ae['id']===_0x33f364['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x30e2da(0x28d)][_0x30e2da(0x27a)]({'type':_0x238d53[_0x30e2da(0x2c8)][_0x30e2da(0x1b9)],'content':this[_0x30e2da(0x2e5)]['t'](_0x30e2da(0x2dc))}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)][_0x30e2da(0x3b4)]&&this['_notificationService'][_0x30e2da(0x27a)]({'title':this[_0x30e2da(0x2e5)]['t'](_0x30e2da(0x245)),'content':this['_localeService']['t'](_0x30e2da(0x32e)),'type':'error','duration':0x0}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)][_0x30e2da(0x17f)]&&this['_messageService'][_0x30e2da(0x27a)]({'type':_0x238d53[_0x30e2da(0x2c8)]['Error'],'content':this[_0x30e2da(0x2e5)]['t']('collaboration.closeRoom')+'('+_0x85c9ae['data']+')'}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)][_0x30e2da(0x161)]&&this[_0x30e2da(0x28d)][_0x30e2da(0x27a)]({'type':_0x238d53['MessageType'][_0x30e2da(0x1b9)],'content':this[_0x30e2da(0x2e5)]['t'](_0x85c9ae['data']||'')}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)][_0x30e2da(0x2f4)]&&this[_0x30e2da(0x28d)][_0x30e2da(0x27a)]({'type':_0x238d53[_0x30e2da(0x2c8)]['Warning'],'content':this[_0x30e2da(0x2e5)]['t'](_0x30e2da(0x123))}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)]['SOCKET_FAILED']&&this[_0x30e2da(0x28d)]['show']({'type':_0x238d53[_0x30e2da(0x2c8)][_0x30e2da(0x1f4)],'content':this['_localeService']['t']('session.connection-failed')}),_0x85c9ae['id']===_0x33f364[_0x30e2da(0x3b7)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x30e2da(0x28d)]['show']({'type':_0x238d53[_0x30e2da(0x2c8)]['Error'],'content':this[_0x30e2da(0x2e5)]['t'](_0x30e2da(0x26b))});}));}};_0x329f6a=_0x22f0fc([_0xa7a49a(0x0,_0x24d176[_0x360c99(0x321)]),_0xa7a49a(0x1,_0x33f364['ILocalCacheService']),_0xa7a49a(0x2,_0x2b709b[_0x360c99(0x14c)](_0x33f364['CollaborationUIEventService'])),_0xa7a49a(0x3,_0x24d176[_0x360c99(0x1a2)]),_0xa7a49a(0x4,_0x24d176[_0x360c99(0x19c)]),_0xa7a49a(0x5,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x2e3)]))],_0x329f6a);const _0x1823a5='collaboration-client-ui.config',_0xa0e94={};var _0x29fc8d=Object[_0x360c99(0x397)],_0x13792e=(_0x379901,_0x5a614b,_0x3e7273,_0x1ea6a6)=>{const _0x540022=_0x360c99;for(var _0x1cf5f9=_0x1ea6a6>0x1?void 0x0:_0x1ea6a6?_0x29fc8d(_0x5a614b,_0x3e7273):_0x5a614b,_0x2417fc=_0x379901[_0x540022(0x1fa)]-0x1,_0x576259;_0x2417fc>=0x0;_0x2417fc--)(_0x576259=_0x379901[_0x2417fc])&&(_0x1cf5f9=_0x576259(_0x1cf5f9)||_0x1cf5f9);return _0x1cf5f9;},_0x5394cd=(_0x17004c,_0x2aa365)=>(_0x220322,_0x214f67)=>_0x2aa365(_0x220322,_0x214f67,_0x17004c);let _0x23f606=class{constructor(_0x449d4b,_0x94cfa0){const _0x234ac8=_0x360c99;this[_0x234ac8(0x2cd)]=_0x449d4b,this[_0x234ac8(0x171)]=_0x94cfa0;}['transformIMECache'](_0x698dd5){const _0x528ade=_0x360c99;this[_0x528ade(0x2df)](_0x698dd5),this['_transformPreviousActiveRange'](_0x698dd5);}[_0x360c99(0x301)](_0x345cba){const _0x10fb25=_0x360c99,{unitID:_0x3f4cb2}=_0x345cba,_0xd34273=this[_0x10fb25(0x171)]['getRenderById'](_0x3f4cb2)[_0x10fb25(0x29d)](_0x5e00f9[_0x10fb25(0x1ab)]),{redoCache:_0x2628ad}=_0xd34273['getUndoRedoMutationParamsCache']();if(_0x2628ad['length']===0x0)return _0x345cba;let _0x24ebb9=_0x2b709b[_0x10fb25(0x17b)][_0x10fb25(0x220)](_0x345cba[_0x10fb25(0x12f)][0x0]);for(let _0x24b5b9=0x0;_0x24b5b9<_0x2628ad[_0x10fb25(0x1fa)];_0x24b5b9++){const _0x2d40de={'id':'doc.mutation.rich-text-editing','params':{..._0x2628ad[_0x24b5b9]}},_0x2917f0=this[_0x10fb25(0x2cd)][_0x10fb25(0x208)](_0x24ebb9,_0x2d40de,!0x1);if(_0x13c520[_0x10fb25(0x328)](_0x2917f0))throw _0x2917f0[_0x10fb25(0x2a9)];_0x24ebb9=_0x2917f0['m1Prime'];}return{..._0x2b709b['Tools'][_0x10fb25(0x220)](_0x345cba),'mutations':[_0x24ebb9]};}[_0x360c99(0x2df)](_0x4d6108){const _0x115ed2=_0x360c99,{unitID:_0x3b60d6}=_0x4d6108,_0x365bb2=this[_0x115ed2(0x171)][_0x115ed2(0x1fd)](_0x3b60d6)[_0x115ed2(0x29d)](_0x5e00f9[_0x115ed2(0x1ab)]),{undoCache:_0x5b0552,redoCache:_0x316c16}=_0x365bb2[_0x115ed2(0x14f)]();if(_0x5b0552[_0x115ed2(0x1fa)]===0x0||_0x316c16[_0x115ed2(0x1fa)]===0x0)return;const _0x1022ce=[],_0x4298de=[];let _0xa3c121=_0x2b709b['Tools'][_0x115ed2(0x220)](_0x4d6108[_0x115ed2(0x12f)][0x0]),_0x3d171c=_0x2b709b[_0x115ed2(0x17b)][_0x115ed2(0x220)](_0x4d6108[_0x115ed2(0x12f)][0x0]);for(let _0x4369fa=_0x5b0552['length']-0x1;_0x4369fa>=0x0;_0x4369fa--){const _0x1e87b8={'id':'doc.mutation.rich-text-editing','params':{..._0x5b0552[_0x4369fa]}},_0xfcc7e={'id':_0x115ed2(0x2de),'params':{..._0x316c16[_0x4369fa]}},_0x118bb8=this[_0x115ed2(0x2cd)]['transformMutation'](_0xa3c121,_0x1e87b8,!0x1),_0x411f7f=this[_0x115ed2(0x2cd)][_0x115ed2(0x208)](_0x3d171c,_0xfcc7e,!0x1);if(_0x13c520['isTransformMutationFailure'](_0x118bb8))throw _0x118bb8[_0x115ed2(0x2a9)];if(_0x13c520[_0x115ed2(0x328)](_0x411f7f))throw _0x411f7f[_0x115ed2(0x2a9)];_0x1022ce[_0x115ed2(0x239)](_0x118bb8['m2Prime'][_0x115ed2(0x2a8)]),_0x4298de[_0x115ed2(0x239)](_0x411f7f[_0x115ed2(0x329)][_0x115ed2(0x2a8)]),_0xa3c121=_0x118bb8[_0x115ed2(0x368)],_0x3d171c=_0x411f7f[_0x115ed2(0x368)];}_0x365bb2[_0x115ed2(0x18e)]({'undoCache':_0x1022ce,'redoCache':_0x4298de});}[_0x360c99(0x354)](_0x3aa278){const _0x2166b7=_0x360c99,{unitID:_0x277c50}=_0x3aa278,_0x42e7e9=this[_0x2166b7(0x171)]['getRenderById'](_0x277c50)[_0x2166b7(0x29d)](_0x5e00f9[_0x2166b7(0x1ab)]),_0x3ad05a=_0x42e7e9[_0x2166b7(0x1e9)]();if(_0x3ad05a==null)return;const _0x25e5dc=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3aa278['unitID'],'actions':null,'textRanges':[_0x3ad05a]}}],_0x3059ec=this[_0x2166b7(0x2cd)][_0x2166b7(0x1e4)](_0x3aa278,_0x25e5dc);if(!_0x13c520[_0x2166b7(0x12d)](_0x3059ec))throw _0x3059ec[_0x2166b7(0x2a9)];const _0xeb809d=_0x3059ec[_0x2166b7(0x329)][0x0][_0x2166b7(0x2a8)][_0x2166b7(0x28b)];Array['isArray'](_0xeb809d)&&_0xeb809d[_0x2166b7(0x1fa)]&&_0x42e7e9[_0x2166b7(0x2f1)](_0xeb809d[0x0]);}};_0x23f606=_0x13792e([_0x5394cd(0x0,_0x13c520[_0x360c99(0x249)]),_0x5394cd(0x1,_0x45a576[_0x360c99(0x2ef)])],_0x23f606);var _0xbe5847=Object[_0x360c99(0x397)],_0x31110b=(_0x339738,_0x5e1ba4,_0x31519b,_0x45ff3c)=>{const _0x287d06=_0x360c99;for(var _0x1a12be=_0x45ff3c>0x1?void 0x0:_0x45ff3c?_0xbe5847(_0x5e1ba4,_0x31519b):_0x5e1ba4,_0x227c3e=_0x339738[_0x287d06(0x1fa)]-0x1,_0x175eca;_0x227c3e>=0x0;_0x227c3e--)(_0x175eca=_0x339738[_0x227c3e])&&(_0x1a12be=_0x175eca(_0x1a12be)||_0x1a12be);return _0x1a12be;},_0x626e10=(_0x29a056,_0x5543ae)=>(_0x372994,_0x205572)=>_0x5543ae(_0x372994,_0x205572,_0x29a056);let _0x18c4d9=class{constructor(_0x356ea2,_0x413812,_0x23337d){const _0x3bcfc1=_0x360c99;this[_0x3bcfc1(0x36d)]=_0x356ea2,this['_transformService']=_0x413812,this['_docStateChangeManagerService']=_0x23337d;}['transformStateCache'](_0x52ccd9){const _0x39602b=_0x360c99;this[_0x39602b(0x1d9)](_0x52ccd9);}[_0x360c99(0x301)](_0x9ebbfc){const _0x3d0f98=_0x360c99,{unitID:_0x246c03}=_0x9ebbfc,{collaboration:_0x304f4a}=this['_docStateChangeManagerService'][_0x3d0f98(0x188)](_0x246c03);if(_0x304f4a[_0x3d0f98(0x1fa)]===0x0)return _0x9ebbfc;let _0x3e624d=_0x2b709b[_0x3d0f98(0x17b)][_0x3d0f98(0x220)](_0x9ebbfc['mutations'][0x0]);for(let _0x5862a8=0x0;_0x5862a8<_0x304f4a[_0x3d0f98(0x1fa)];_0x5862a8++){const _0x2dc01f={'id':_0x3d0f98(0x2de),'params':{'unitId':_0x304f4a[_0x5862a8]['unitId'],..._0x304f4a[_0x5862a8][_0x3d0f98(0x204)]}},_0x20de2e=this[_0x3d0f98(0x2cd)]['transformMutation'](_0x3e624d,_0x2dc01f,!0x1);if(_0x13c520[_0x3d0f98(0x328)](_0x20de2e))throw _0x20de2e[_0x3d0f98(0x2a9)];_0x3e624d=_0x20de2e[_0x3d0f98(0x368)];}return{..._0x2b709b[_0x3d0f98(0x17b)]['deepClone'](_0x9ebbfc),'mutations':[_0x3e624d]};}[_0x360c99(0x1d9)](_0x362a0c){const _0x75aa81=_0x360c99,{unitID:_0x5e19ac}=_0x362a0c,{history:_0x37ca8f,collaboration:_0x5d97af}=this[_0x75aa81(0x2d3)][_0x75aa81(0x188)](_0x5e19ac);if(_0x37ca8f[_0x75aa81(0x1fa)]===0x0&&_0x5d97af['length']===0x0)return;const _0x5a430a=[],_0x285639=[];let _0x1a6c86=_0x2b709b['Tools'][_0x75aa81(0x220)](_0x362a0c['mutations'][0x0]),_0x4057df=_0x2b709b['Tools']['deepClone'](_0x362a0c[_0x75aa81(0x12f)][0x0]);for(let _0x51c2bb=_0x37ca8f[_0x75aa81(0x1fa)]-0x1;_0x51c2bb>=0x0;_0x51c2bb--){const _0x1aa721={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37ca8f[_0x51c2bb][_0x75aa81(0x2cc)],..._0x37ca8f[_0x51c2bb]['undoState']}},_0x3a00a3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x37ca8f[_0x51c2bb][_0x75aa81(0x2cc)],..._0x37ca8f[_0x51c2bb]['redoState']}},_0x1352b0=this[_0x75aa81(0x2cd)][_0x75aa81(0x208)](_0x1a6c86,_0x1aa721,!0x1),_0x18311e=this['_transformService'][_0x75aa81(0x208)](_0x4057df,_0x3a00a3,!0x1);if(_0x13c520['isTransformMutationFailure'](_0x1352b0))throw _0x1352b0[_0x75aa81(0x2a9)];if(_0x13c520['isTransformMutationFailure'](_0x18311e))throw _0x18311e[_0x75aa81(0x2a9)];_0x5a430a[_0x75aa81(0x239)]({..._0x37ca8f[_0x51c2bb],'undoState':_0x1352b0['m2Prime']['params'],'redoState':_0x18311e[_0x75aa81(0x329)][_0x75aa81(0x2a8)]}),_0x1a6c86=_0x1352b0[_0x75aa81(0x368)],_0x4057df=_0x18311e[_0x75aa81(0x368)];}_0x1a6c86=_0x2b709b[_0x75aa81(0x17b)][_0x75aa81(0x220)](_0x362a0c[_0x75aa81(0x12f)][0x0]),_0x4057df=_0x2b709b[_0x75aa81(0x17b)][_0x75aa81(0x220)](_0x362a0c[_0x75aa81(0x12f)][0x0]);for(let _0x4ed414=_0x5d97af['length']-0x1;_0x4ed414>=0x0;_0x4ed414--){const _0x441fe0={'id':_0x75aa81(0x2de),'params':{'unitId':_0x5d97af[_0x4ed414][_0x75aa81(0x2cc)],..._0x5d97af[_0x4ed414][_0x75aa81(0x378)]}},_0x4e1b28={'id':_0x75aa81(0x2de),'params':{'unitId':_0x5d97af[_0x4ed414][_0x75aa81(0x2cc)],..._0x5d97af[_0x4ed414][_0x75aa81(0x204)]}},_0x36f43d=this[_0x75aa81(0x2cd)][_0x75aa81(0x208)](_0x1a6c86,_0x441fe0,!0x1),_0x55bd4f=this[_0x75aa81(0x2cd)][_0x75aa81(0x208)](_0x4057df,_0x4e1b28,!0x1);if(_0x13c520[_0x75aa81(0x328)](_0x36f43d))throw _0x36f43d[_0x75aa81(0x2a9)];if(_0x13c520[_0x75aa81(0x328)](_0x55bd4f))throw _0x55bd4f['error'];_0x285639[_0x75aa81(0x239)]({..._0x5d97af[_0x4ed414],'undoState':_0x36f43d[_0x75aa81(0x329)][_0x75aa81(0x2a8)],'redoState':_0x55bd4f['m2Prime']['params']}),_0x1a6c86=_0x36f43d[_0x75aa81(0x368)],_0x4057df=_0x55bd4f['m1Prime'];}this['_docStateChangeManagerService'][_0x75aa81(0x395)](_0x5e19ac,{'history':_0x5a430a,'collaboration':_0x285639});}};_0x18c4d9=_0x31110b([_0x626e10(0x0,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x626e10(0x1,_0x13c520[_0x360c99(0x249)]),_0x626e10(0x2,_0x2b709b[_0x360c99(0x14c)](_0x5e00f9[_0x360c99(0x1f0)]))],_0x18c4d9);var _0x5c5f39=Object[_0x360c99(0x397)],_0x321e62=(_0x32d28b,_0x4aa576,_0x16cf65,_0x2531ca)=>{const _0x4fb930=_0x360c99;for(var _0x367693=_0x2531ca>0x1?void 0x0:_0x2531ca?_0x5c5f39(_0x4aa576,_0x16cf65):_0x4aa576,_0x18a000=_0x32d28b[_0x4fb930(0x1fa)]-0x1,_0x87854f;_0x18a000>=0x0;_0x18a000--)(_0x87854f=_0x32d28b[_0x18a000])&&(_0x367693=_0x87854f(_0x367693)||_0x367693);return _0x367693;},_0x36436d=(_0x35d8c0,_0x943e46)=>(_0x348241,_0x25238f)=>_0x943e46(_0x348241,_0x25238f,_0x35d8c0);let _0x227b61=class{constructor(_0x623037,_0xeb5533){const _0x2f0e0b=_0x360c99;this[_0x2f0e0b(0x36d)]=_0x623037,this[_0x2f0e0b(0x2cd)]=_0xeb5533;}['transformSelections'](_0xdd80b9){const _0x454904=_0x360c99;var _0xd58d99;const _0x2d32b6=this[_0x454904(0x36d)][_0x454904(0x2da)](_0x136824['DocSelectionManagerService']),_0x1dd62f=(_0xd58d99=_0x2d32b6[_0x454904(0x316)]())!=null?_0xd58d99:[];if(_0x1dd62f['length']===0x0)return;const _0x1e62d8=_0xdd80b9[_0x454904(0x1f7)],_0x23f254=[{'id':_0x454904(0x2de),'params':{'unitId':_0x1e62d8,'actions':null,'textRanges':_0x1dd62f}}],_0x375b30=this['_transformService'][_0x454904(0x1e4)](_0xdd80b9,_0x23f254);if(!_0x13c520['isTransformMutationsWithChangesetSuccess'](_0x375b30))throw _0x375b30[_0x454904(0x2a9)];const _0xc8743b=_0x375b30[_0x454904(0x329)][0x0][_0x454904(0x2a8)][_0x454904(0x28b)];Array[_0x454904(0x2c0)](_0xc8743b)&&_0xc8743b[_0x454904(0x1fa)]&&_0x2d32b6[_0x454904(0x212)](_0xc8743b,{'unitId':_0x1e62d8,'subUnitId':_0x1e62d8},!0x1);}};_0x227b61=_0x321e62([_0x36436d(0x0,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x36436d(0x1,_0x13c520[_0x360c99(0x249)])],_0x227b61);var _0x310906=Object[_0x360c99(0x397)],_0x31e9d7=(_0x36e7a9,_0x246322,_0x5b86f0,_0x1df03e)=>{for(var _0x1fff92=_0x1df03e>0x1?void 0x0:_0x1df03e?_0x310906(_0x246322,_0x5b86f0):_0x246322,_0x4d03b9=_0x36e7a9['length']-0x1,_0x481a3c;_0x4d03b9>=0x0;_0x4d03b9--)(_0x481a3c=_0x36e7a9[_0x4d03b9])&&(_0x1fff92=_0x481a3c(_0x1fff92)||_0x1fff92);return _0x1fff92;},_0x21f869=(_0x5c3847,_0x41a069)=>(_0x25ad56,_0x5348fe)=>_0x41a069(_0x25ad56,_0x5348fe,_0x5c3847);let _0x4b66e1=class extends _0x2b709b[_0x360c99(0x16d)]{constructor(_0x138708,_0x1634f,_0x5e06e5,_0x5936f3,_0x5486bf,_0x92f030,_0x4bb19d,_0x5f2513){const _0x5b4905=_0x360c99;super(),_0x2197b9(this,_0x5b4905(0x39d),new _0x3052c2[(_0x5b4905(0x1af))](_0x33f364[_0x5b4905(0x1e7)][_0x5b4905(0x2a6)])),(this[_0x5b4905(0x2d3)]=_0x138708,this['_collaborationController']=_0x1634f,this[_0x5b4905(0x16a)]=_0x5e06e5,this[_0x5b4905(0x1df)]=_0x5936f3,this[_0x5b4905(0x1e5)]=_0x5486bf,this[_0x5b4905(0x1be)]=_0x92f030,this[_0x5b4905(0x28d)]=_0x4bb19d,this[_0x5b4905(0x2e5)]=_0x5f2513,this[_0x5b4905(0x1f9)]());}[_0x360c99(0x1f9)](){const _0x56a118=_0x360c99;this['disposeWithMe'](this[_0x56a118(0x2e9)][_0x56a118(0x33b)]['subscribe'](_0xdeb76e=>{const _0x38e76a=_0x56a118,_0x5aab5d=this[_0x38e76a(0x2d3)][_0x38e76a(0x2a7)][_0x38e76a(0x373)](_0x46427d=>{const _0x298479=_0x38e76a;if(_0x46427d==null)return;const {unitId:_0x26a372,redoState:_0x3b205c,commandId:_0x5061a5}=_0x46427d;if(_0x26a372!==_0xdeb76e[_0x298479(0x1f7)])return;const _0x2ef414={'id':_0x5061a5,'type':_0x2b709b[_0x298479(0x357)][_0x298479(0x1ee)],'params':{'unitId':_0x26a372,'actions':_0x3b205c['actions'],'textRanges':null}};_0xdeb76e[_0x298479(0x12a)](_0x2ef414);});if(_0xdeb76e[_0x38e76a(0x252)](_0x5aab5d),_0xdeb76e instanceof _0x33f364[_0x38e76a(0x1d5)]){const _0xbd547c={'onTransformIME':_0x588850=>this[_0x38e76a(0x16a)]['transformIMECache'](_0x588850),'onTransformState':_0x25bb06=>this[_0x38e76a(0x1df)][_0x38e76a(0x16b)](_0x25bb06),'onTransformSelections':_0x47dbc9=>this[_0x38e76a(0x1e5)][_0x38e76a(0x207)](_0x47dbc9),'onSyncEditingCollabCursor':_0xb30d9c=>this[_0x38e76a(0x1be)][_0x38e76a(0x205)](_0xb30d9c),'onTransformRemoteChangesetByIMECache':_0x4a685d=>this[_0x38e76a(0x16a)]['transformRemoteChangeset'](_0x4a685d),'onTransformRemoteChangesetByStateCache':_0x1c7628=>this[_0x38e76a(0x1df)][_0x38e76a(0x301)](_0x1c7628)};_0xdeb76e[_0x38e76a(0x3af)](_0xbd547c);}}));}};_0x4b66e1=_0x31e9d7([_0x21f869(0x0,_0x2b709b[_0x360c99(0x14c)](_0x5e00f9[_0x360c99(0x1f0)])),_0x21f869(0x1,_0x2b709b[_0x360c99(0x14c)](_0x33f364[_0x360c99(0x306)])),_0x21f869(0x2,_0x2b709b[_0x360c99(0x14c)](_0x23f606)),_0x21f869(0x3,_0x2b709b[_0x360c99(0x14c)](_0x18c4d9)),_0x21f869(0x4,_0x2b709b[_0x360c99(0x14c)](_0x227b61)),_0x21f869(0x5,_0x2b709b['Inject'](_0x314824)),_0x21f869(0x6,_0x24d176[_0x360c99(0x1a2)]),_0x21f869(0x7,_0x2b709b[_0x360c99(0x14c)](_0x2b709b['LocaleService']))],_0x4b66e1);var _0x54c5c1=Object[_0x360c99(0x397)],_0x47f40b=(_0x26e281,_0x321390,_0x5d4c7d,_0x1d342b)=>{const _0x33de2c=_0x360c99;for(var _0x101c96=_0x1d342b>0x1?void 0x0:_0x1d342b?_0x54c5c1(_0x321390,_0x5d4c7d):_0x321390,_0x4c7fff=_0x26e281[_0x33de2c(0x1fa)]-0x1,_0x4113dd;_0x4c7fff>=0x0;_0x4c7fff--)(_0x4113dd=_0x26e281[_0x4c7fff])&&(_0x101c96=_0x4113dd(_0x101c96)||_0x101c96);return _0x101c96;},_0x475cca=(_0x2a6072,_0xde7d62)=>(_0x5c0aed,_0x45f43f)=>_0xde7d62(_0x5c0aed,_0x45f43f,_0x2a6072);let _0x19ee49=class extends _0x2b709b[_0x360c99(0x16d)]{constructor(_0x161092,_0xc3bbb9,_0x146687){const _0x1ccf1b=_0x360c99;super(),_0x2197b9(this,_0x1ccf1b(0x2f9),new Map()),_0x2197b9(this,_0x1ccf1b(0x298),new Map()),_0x2197b9(this,'_disabled',!0x1),(this[_0x1ccf1b(0x31b)]=_0x161092,this[_0x1ccf1b(0x37c)]=_0xc3bbb9,this['_revisionService']=_0x146687);}[_0x360c99(0x194)](){const _0x5d3cde=_0x360c99;this[_0x5d3cde(0x200)]=!0x0;}[_0x360c99(0x12e)](){const _0x3bad5e=_0x360c99;this[_0x3bad5e(0x200)]=!0x1;}get[_0x360c99(0x259)](){const _0x3d2b6d=_0x360c99;return this[_0x3d2b6d(0x298)];}[_0x360c99(0x2fe)](){const _0x5ea35c=_0x360c99;this[_0x5ea35c(0x33e)]()[_0x5ea35c(0x30d)](()=>super[_0x5ea35c(0x2fe)]());}async[_0x360c99(0x36b)](_0x137747){const _0xe12e=_0x360c99;return this[_0xe12e(0x200)]?null:this[_0xe12e(0x37c)][_0xe12e(0x3a6)](_0x33f364['getLocalCacheKey'](_0x137747));}async[_0x360c99(0x147)](_0x359f4b,_0x2c777e){return!!this['_localStorageService']['setItem'](_0x359f4b,_0x2c777e);}[_0x360c99(0x2f5)](_0x55724c,_0x2d05d2,_0x2db989,_0x3ec2a2){const _0x58d6b8=_0x360c99,_0x419913=this[_0x58d6b8(0x38f)][_0x58d6b8(0x2fd)](_0x55724c);this[_0x58d6b8(0x2f9)][_0x58d6b8(0x1b3)](_0x55724c,{'unitID':_0x55724c,'type':_0x2d05d2,'awaitingChangeset':_0x2db989,'mutations':_0x3ec2a2,'rev':_0x419913}),this[_0x58d6b8(0x298)][_0x58d6b8(0x13e)](_0x55724c)||this['_scheduleSaving'](_0x55724c);}[_0x360c99(0x2a3)](_0x5da7d0){const _0x1f1263=_0x360c99,_0x450d31=this['_getSaveTimeout']();_0x450d31===0x0?this['_saveCache'](_0x5da7d0):this[_0x1f1263(0x298)][_0x1f1263(0x1b3)](_0x5da7d0,setTimeout(()=>this[_0x1f1263(0x376)](_0x5da7d0),_0x450d31));}[_0x360c99(0x119)](){const _0x20f94e=_0x360c99;var _0x14386c;return(_0x14386c=this[_0x20f94e(0x31b)]['getConfig'](_0x33f364[_0x20f94e(0x184)]))!=null?_0x14386c:_0x33f364[_0x20f94e(0x2c6)];}[_0x360c99(0x376)](_0x2a3a32){const _0x335a50=_0x360c99,_0x91c9d0=this['_saveTaskMap'][_0x335a50(0x2da)](_0x2a3a32);return _0x91c9d0!==void 0x0&&window['clearTimeout'](_0x91c9d0),this[_0x335a50(0x37c)]['setItem'](_0x33f364[_0x335a50(0x323)](_0x2a3a32),this[_0x335a50(0x2f9)]['get'](_0x2a3a32))[_0x335a50(0x30d)](()=>this[_0x335a50(0x298)]['delete'](_0x2a3a32));}async[_0x360c99(0x33e)](){const _0x4cbe81=_0x360c99,_0x3a2668=[];this[_0x4cbe81(0x298)][_0x4cbe81(0x2ce)]((_0x286266,_0x28bb47)=>{const _0x228485=_0x4cbe81;window['clearTimeout'](_0x286266),_0x3a2668[_0x228485(0x36e)](this['_saveCache'](_0x28bb47)['then'](()=>{const _0x1cc396=_0x228485;this[_0x1cc396(0x298)][_0x1cc396(0x143)](_0x28bb47);}));}),await Promise[_0x4cbe81(0x233)](_0x3a2668);}};_0x19ee49=_0x47f40b([_0x475cca(0x0,_0x2b709b['IConfigService']),_0x475cca(0x1,_0x2b709b[_0x360c99(0x284)]),_0x475cca(0x2,_0x2b709b[_0x360c99(0x14c)](_0x13c520['RevisionService']))],_0x19ee49);class _0x561609 extends _0x2b709b[_0x360c99(0x2f2)]{constructor(){const _0x2214ea=_0x360c99;super(),_0x2197b9(this,_0x2214ea(0x359)),this[_0x2214ea(0x359)]=_0x3052c2[_0x2214ea(0x235)](window,_0x2214ea(0x2c4))[_0x2214ea(0x11a)](_0x3052c2['takeUntil'](this[_0x2214ea(0x167)]),_0x3052c2[_0x2214ea(0x337)](0x1),_0x3052c2['mapTo'](void 0x0));}[_0x360c99(0x211)](_0x1d05ff,_0x4a7732,_0x18ee5d=!0x1){const _0x4df89d=_0x360c99,_0x282db1=new URL(window[_0x4df89d(0x336)][_0x4df89d(0x3a7)]);_0x282db1[_0x4df89d(0x360)]['set'](_0x1d05ff,_0x4a7732),_0x18ee5d?window['history'][_0x4df89d(0x283)]('','',_0x282db1['toString']()):window[_0x4df89d(0x294)][_0x4df89d(0x346)]('','',_0x282db1['toString']());}[_0x360c99(0x265)](_0x15509a,_0x3d5964=!0x1){const _0x585507=_0x360c99,_0x4025ec=new URL(window[_0x585507(0x336)]['href']);_0x4025ec[_0x585507(0x360)]['delete'](_0x15509a),_0x3d5964?window[_0x585507(0x294)]['replaceState']('','',_0x4025ec[_0x585507(0x2ae)]()):window['history']['pushState']('','',_0x4025ec[_0x585507(0x2ae)]());}[_0x360c99(0x11e)](_0x234bdf){const _0x31c3fa=_0x360c99;var _0x2189c7;return(_0x2189c7=new URL(window[_0x31c3fa(0x336)][_0x31c3fa(0x3a7)])[_0x31c3fa(0x360)][_0x31c3fa(0x2da)](_0x234bdf))!=null?_0x2189c7:void 0x0;}}var _0x90164e=Object[_0x360c99(0x214)],_0x300722=Object['getOwnPropertyDescriptor'],_0xfdc988=(_0x2673e8,_0x41a1f4,_0x3d98c4)=>_0x41a1f4 in _0x2673e8?_0x90164e(_0x2673e8,_0x41a1f4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d98c4}):_0x2673e8[_0x41a1f4]=_0x3d98c4,_0x14dc58=(_0x415e4a,_0x326a51,_0x238dc8,_0x234430)=>{const _0x5affaf=_0x360c99;for(var _0x4dd5e7=_0x234430>0x1?void 0x0:_0x234430?_0x300722(_0x326a51,_0x238dc8):_0x326a51,_0x336d81=_0x415e4a[_0x5affaf(0x1fa)]-0x1,_0x19a24e;_0x336d81>=0x0;_0x336d81--)(_0x19a24e=_0x415e4a[_0x336d81])&&(_0x4dd5e7=_0x19a24e(_0x4dd5e7)||_0x4dd5e7);return _0x4dd5e7;},_0x3d70f1=(_0x106f92,_0xe642e4)=>(_0x490bc4,_0x47b493)=>_0xe642e4(_0x490bc4,_0x47b493,_0x106f92),_0x56e1bb=(_0xf0faba,_0x3e9fae,_0x3e9412)=>_0xfdc988(_0xf0faba,_0x3e9fae+'',_0x3e9412);const _0x4621c3=_0x360c99(0x120);_0x2fd8ae[_0x360c99(0x187)]=class extends _0x2b709b['Plugin']{constructor(_0x1bcc98=_0xa0e94,_0x53eca4,_0x1c165b,_0x208f45){const _0x4a6649=_0x360c99;super(),this[_0x4a6649(0x1b4)]=_0x1bcc98,this['_renderManagerService']=_0x53eca4,this[_0x4a6649(0x36d)]=_0x1c165b,this['_configService']=_0x208f45;const {..._0x1af4bf}=_0x2b709b[_0x4a6649(0x2c7)]({},_0xa0e94,this[_0x4a6649(0x1b4)]);this['_configService'][_0x4a6649(0x383)](_0x1823a5,_0x1af4bf);}['onStarting'](){const _0x337257=_0x360c99;this[_0x337257(0x37a)](),this[_0x337257(0x1d6)]();}[_0x360c99(0x347)](){const _0x937a60=_0x360c99;this[_0x937a60(0x144)]();}[_0x360c99(0x37a)](){const _0x144833=_0x360c99;var _0x565754;const _0x28be79=[[_0xe4ed4e],[_0x227b61],[_0x23f606],[_0x18c4d9],[_0x314824],[_0x52e083,{'useClass':_0x561609}],[_0x3092c3[_0x144833(0x3aa)],{'useClass':_0x3092c3[_0x144833(0x11b)]}],[_0x33f364[_0x144833(0x285)],{'useClass':_0x19ee49}],[_0x2fd8ae[_0x144833(0x1a9)]],[_0x4b66e1],[_0x329f6a],[_0x29df5e],[_0xe9be34],[_0x2fd8ae[_0x144833(0x264)]]];_0x2b709b[_0x144833(0x28a)](this[_0x144833(0x36d)],_0x2b709b['mergeOverrideWithDependencies'](_0x28be79,(_0x565754=this[_0x144833(0x1b4)])==null?void 0x0:_0x565754['override']));}[_0x360c99(0x144)](){const _0x3d7bf0=_0x360c99;this[_0x3d7bf0(0x252)](this['_renderManagerService'][_0x3d7bf0(0x288)](_0x2b709b[_0x3d7bf0(0x2a5)][_0x3d7bf0(0x331)],[_0x4f058a])),this['disposeWithMe'](this[_0x3d7bf0(0x171)]['registerRenderModule'](_0x2b709b[_0x3d7bf0(0x2a5)][_0x3d7bf0(0x24b)],[_0x2d56c6]));}['_initDependencies'](){const _0x3a344f=_0x360c99;_0x2b709b[_0x3a344f(0x25b)](this[_0x3a344f(0x36d)],[[_0x29df5e],[_0x2fd8ae[_0x3a344f(0x1a9)]],[_0x4b66e1],[_0x329f6a],[_0x2fd8ae[_0x3a344f(0x264)]]]);}},_0x56e1bb(_0x2fd8ae[_0x360c99(0x187)],_0x360c99(0x34c),_0x4621c3),_0x2fd8ae[_0x360c99(0x187)]=_0x14dc58([_0x2b709b[_0x360c99(0x254)](_0x33f364[_0x360c99(0x23b)]),_0x3d70f1(0x1,_0x45a576[_0x360c99(0x2ef)]),_0x3d70f1(0x2,_0x2b709b[_0x360c99(0x14c)](_0x2b709b[_0x360c99(0x1ef)])),_0x3d70f1(0x3,_0x2b709b[_0x360c99(0x324)])],_0x2fd8ae['UniverCollaborationClientUIPlugin']);var _0x2874b6=Object[_0x360c99(0x397)],_0x179e49=(_0x3f1fc4,_0x5859d6,_0x4f9540,_0x33a89a)=>{const _0x31f4ac=_0x360c99;for(var _0x1fd314=_0x33a89a>0x1?void 0x0:_0x33a89a?_0x2874b6(_0x5859d6,_0x4f9540):_0x5859d6,_0x393ee4=_0x3f1fc4[_0x31f4ac(0x1fa)]-0x1,_0x3108eb;_0x393ee4>=0x0;_0x393ee4--)(_0x3108eb=_0x3f1fc4[_0x393ee4])&&(_0x1fd314=_0x3108eb(_0x1fd314)||_0x1fd314);return _0x1fd314;},_0x35f562=(_0x4c5c58,_0xe55aaa)=>(_0x481a1d,_0x46477f)=>_0xe55aaa(_0x481a1d,_0x46477f,_0x4c5c58);_0x2fd8ae[_0x360c99(0x202)]=class extends _0x33f364[_0x360c99(0x19f)]{constructor(_0x2815e9,_0x27c343,_0x24193a,_0x260738,_0x3155a2){super(_0x2815e9,_0x27c343,_0x24193a,_0x260738,_0x3155a2);}async[_0x360c99(0x155)](_0x22afc2){const _0xc0d3e=_0x360c99,_0x51de8e=await this['_getSessionTicket'](),_0x5d19d1=this['_createSocketURL'](_0x22afc2,_0x51de8e);return this[_0xc0d3e(0x390)](_0x5d19d1);}['_createSocketURL'](_0x38e617,_0xa8a8ef){const _0xcc9cae=_0x360c99,_0xe70904=typeof window>'u'?new URL(_0x38e617):new URL(_0x38e617,window[_0xcc9cae(0x336)][_0xcc9cae(0x2fb)]);_0xe70904[_0xcc9cae(0x360)][_0xcc9cae(0x1b3)](_0xcc9cae(0x241),_0xa8a8ef);const _0x1346fe=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xcc9cae(0x336)]['search']);return _0x1346fe['get'](_0xcc9cae(0x20e))&&_0xe70904[_0xcc9cae(0x360)][_0xcc9cae(0x1b3)]('runId',_0x1346fe['get']('runId')),_0xe70904[_0xcc9cae(0x2ae)]();}async[_0x360c99(0x25d)](){const _0x4283f8=_0x360c99;var _0x17c2eb,_0x4e71e5,_0x3dc6b8;const _0xfc9b2b=this[_0x4283f8(0x31b)][_0x4283f8(0x37f)](_0x33f364[_0x4283f8(0x20f)]),_0x4ca407=(_0x17c2eb=_0xfc9b2b==null?void 0x0:_0xfc9b2b[_0x4283f8(0x2f0)])!=null?_0x17c2eb:_0x33f364[_0x4283f8(0x146)];return(_0x3dc6b8=(_0x4e71e5=(await this[_0x4283f8(0x3a4)][_0x4283f8(0x2da)](_0x4ca407,{'headers':{'Content-Type':'application/json'}}))[_0x4283f8(0x12b)])==null?void 0x0:_0x4e71e5[_0x4283f8(0x24d)])!=null?_0x3dc6b8:'';}},_0x2fd8ae[_0x360c99(0x202)]=_0x179e49([_0x35f562(0x0,_0x2b709b['Inject'](_0x2b709b[_0x360c99(0x1ef)])),_0x35f562(0x1,_0x2b709b['Inject'](_0x3092c3['HTTPService'])),_0x35f562(0x2,_0x2b709b[_0x360c99(0x324)]),_0x35f562(0x3,_0x2b709b['ILogService']),_0x35f562(0x4,_0x13c520[_0x360c99(0x2b4)])],_0x2fd8ae['BrowserCollaborationSocketService']);var _0x356f7a=(_0x1e12b3=>(_0x1e12b3[_0x1e12b3['UNDEFINED']=0x0]=_0x360c99(0x258),_0x1e12b3[_0x1e12b3['OK']=0x1]='OK',_0x1e12b3[_0x1e12b3[_0x360c99(0x256)]=0x2]=_0x360c99(0x256),_0x1e12b3[_0x1e12b3[_0x360c99(0x3b4)]=0x3]=_0x360c99(0x3b4),_0x1e12b3[_0x1e12b3[_0x360c99(0x1a0)]=0x4]=_0x360c99(0x1a0),_0x1e12b3[_0x1e12b3[_0x360c99(0x1dc)]=0x5]=_0x360c99(0x1dc),_0x1e12b3[_0x1e12b3['ALREADY_EXISTS']=0x6]=_0x360c99(0x15c),_0x1e12b3[_0x1e12b3[_0x360c99(0x385)]=0x7]=_0x360c99(0x385),_0x1e12b3[_0x1e12b3[_0x360c99(0x191)]=0x8]=_0x360c99(0x191),_0x1e12b3[_0x1e12b3[_0x360c99(0x37b)]=0x9]='COMPLETION_FINISHED',_0x1e12b3[_0x1e12b3['LOGIN_FAILED']=0xa]=_0x360c99(0x156),_0x1e12b3[_0x1e12b3[_0x360c99(0x15f)]=0xb]=_0x360c99(0x15f),_0x1e12b3[_0x1e12b3['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x360c99(0x2ee),_0x1e12b3[_0x1e12b3[_0x360c99(0x27d)]=0xd]=_0x360c99(0x27d),_0x1e12b3[_0x1e12b3[_0x360c99(0x32c)]=0xe]=_0x360c99(0x32c),_0x1e12b3[_0x1e12b3[_0x360c99(0x1e1)]=0x1389]=_0x360c99(0x1e1),_0x1e12b3[_0x1e12b3[_0x360c99(0x371)]=0x1771]=_0x360c99(0x371),_0x1e12b3[_0x1e12b3[_0x360c99(0x317)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1e12b3[_0x1e12b3[_0x360c99(0x1d1)]=0x1773]=_0x360c99(0x1d1),_0x1e12b3[_0x1e12b3[_0x360c99(0x303)]=0x1b59]=_0x360c99(0x303),_0x1e12b3[_0x1e12b3[_0x360c99(0x199)]=0x1b5a]=_0x360c99(0x199),_0x1e12b3[_0x1e12b3[_0x360c99(0x141)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1e12b3[_0x1e12b3[_0x360c99(0x198)]=0x1b5c]=_0x360c99(0x198),_0x1e12b3[_0x1e12b3['APPLY_DUPLICATED']=0x1b5d]=_0x360c99(0x366),_0x1e12b3[_0x1e12b3[_0x360c99(0x1a7)]=0x1f41]=_0x360c99(0x1a7),_0x1e12b3[_0x1e12b3[_0x360c99(0x1a5)]=0x2329]=_0x360c99(0x1a5),_0x1e12b3[_0x1e12b3[_0x360c99(0x247)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1e12b3[_0x1e12b3[_0x360c99(0x192)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1e12b3[_0x1e12b3['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x360c99(0x15e),_0x1e12b3[_0x1e12b3['LICENSE_DISTRO_REJECTED']=0x232d]=_0x360c99(0x138),_0x1e12b3[_0x1e12b3['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x360c99(0x15a),_0x1e12b3[_0x1e12b3['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x360c99(0x22c),_0x1e12b3[_0x1e12b3['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x360c99(0x2c1),_0x1e12b3[_0x1e12b3['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1e12b3[_0x1e12b3['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x360c99(0x2b0),_0x1e12b3[_0x1e12b3[_0x360c99(0x30e)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x1e12b3[_0x1e12b3[_0x360c99(0x24e)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1e12b3[_0x1e12b3['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x360c99(0x129),_0x1e12b3[_0x1e12b3[_0x360c99(0x377)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1e12b3[_0x1e12b3[_0x360c99(0x1e0)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1e12b3[_0x1e12b3[_0x360c99(0x2cb)]=0x2720]=_0x360c99(0x2cb),_0x1e12b3[_0x1e12b3[_0x360c99(0x29c)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1e12b3[_0x1e12b3[_0x360c99(0x2e1)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1e12b3[_0x1e12b3[_0x360c99(0x311)]=0x2ee2]='INVALID_INVITE_CODE',_0x1e12b3[_0x1e12b3[_0x360c99(0x355)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x1e12b3[_0x1e12b3['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x1e12b3[_0x1e12b3[_0x360c99(0x28f)]=0x2ee5]=_0x360c99(0x28f),_0x1e12b3[_0x1e12b3[_0x360c99(0x32a)]=0x32c9]=_0x360c99(0x32a),_0x1e12b3[_0x1e12b3[_0x360c99(0x3a5)]=0x32ca]=_0x360c99(0x3a5),_0x1e12b3[_0x1e12b3[_0x360c99(0x304)]=0x32cb]=_0x360c99(0x304),_0x1e12b3[_0x1e12b3[_0x360c99(0x37d)]=-0x1]='UNRECOGNIZED',_0x1e12b3))(_0x356f7a||{}),_0x31a0f2=Object[_0x360c99(0x397)],_0x225033=(_0x39ded1,_0x189af4,_0x2352fe,_0x411dc3)=>{const _0x4965e6=_0x360c99;for(var _0x599f09=_0x411dc3>0x1?void 0x0:_0x411dc3?_0x31a0f2(_0x189af4,_0x2352fe):_0x189af4,_0x45fb23=_0x39ded1[_0x4965e6(0x1fa)]-0x1,_0x3a02e0;_0x45fb23>=0x0;_0x45fb23--)(_0x3a02e0=_0x39ded1[_0x45fb23])&&(_0x599f09=_0x3a02e0(_0x599f09)||_0x599f09);return _0x599f09;},_0x1e8f91=(_0x559086,_0x2b4d38)=>(_0x2ce880,_0x528cb4)=>_0x2b4d38(_0x2ce880,_0x528cb4,_0x559086);_0x2fd8ae['RemoteUniscriptService']=class extends _0x2b709b[_0x360c99(0x16d)]{constructor(_0x263ea5,_0x4a2ebb,_0x33d66e){const _0x1105fe=_0x360c99;super(),this['_instanceService']=_0x263ea5,this[_0x1105fe(0x3a4)]=_0x4a2ebb,this[_0x1105fe(0x31b)]=_0x33d66e;}async[_0x360c99(0x17c)](_0x23a4c0,_0x170a53,_0x14c8ed,..._0x574677){const _0x4d848c=_0x360c99;var _0x177ca3,_0x169e5e,_0x171910,_0x457044;const _0x551f84=this[_0x4d848c(0x128)][_0x4d848c(0x1d7)]();if(!_0x551f84)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1d8850=((_0x177ca3=this[_0x4d848c(0x31b)][_0x4d848c(0x37f)](_0x33f364[_0x4d848c(0x134)]))!=null?_0x177ca3:_0x33f364[_0x4d848c(0x183)])+'/'+_0x23a4c0+_0x4d848c(0x18f)+_0x170a53,_0x826c90=new URL(window[_0x4d848c(0x336)]['href']),_0x45322c={'scriptId':_0x23a4c0,'runId':(_0x169e5e=_0x826c90['searchParams'][_0x4d848c(0x2da)](_0x4d848c(0x20e)))!=null?_0x169e5e:'','function':_0x170a53,'unitId':_0x551f84[_0x4d848c(0x35f)](),'argsOfFunction':JSON[_0x4d848c(0x300)](_0x574677),'invokeId':(_0x171910=_0x14c8ed[_0x4d848c(0x150)])!=null?_0x171910:'','executionId':(_0x457044=_0x14c8ed[_0x4d848c(0x282)])!=null?_0x457044:''};try{const _0x40893d=await this[_0x4d848c(0x3a4)][_0x4d848c(0x1bf)](_0x1d8850,{'body':_0x45322c});return _0x40893d[_0x4d848c(0x12b)][_0x4d848c(0x2a9)]&&_0x40893d[_0x4d848c(0x12b)]['error'][_0x4d848c(0x164)]!==_0x356f7a['OK']?_0x4d848c(0x35e):_0x40893d['body'][_0x4d848c(0x1d2)];}catch{return _0x4d848c(0x35e);}}},_0x2fd8ae[_0x360c99(0x2e7)]=_0x225033([_0x1e8f91(0x0,_0x2b709b['IUniverInstanceService']),_0x1e8f91(0x1,_0x2b709b['Inject'](_0x3092c3[_0x360c99(0x2d1)])),_0x1e8f91(0x2,_0x2b709b['IConfigService'])],_0x2fd8ae[_0x360c99(0x2e7)]);const _0x3b03e0=0x7530,_0x2904b4=_0x360c99(0x2e0);class _0x8f298 extends _0x2b709b[_0x360c99(0x16d)]{constructor(){const _0x3f7678=_0x360c99;super(),_0x2197b9(this,'_id',_0x2b709b['generateRandomId']()),_0x2197b9(this,_0x3f7678(0x12c),new Set()),_0x2197b9(this,_0x3f7678(0x196),new Map()),_0x2197b9(this,_0x3f7678(0x2d7),null),_0x2197b9(this,_0x3f7678(0x1d3),new Map()),_0x2197b9(this,_0x3f7678(0x382),new Map()),this[_0x3f7678(0x1e6)]();}[_0x360c99(0x2fe)](){const _0x38393a=_0x360c99;super[_0x38393a(0x2fe)](),this[_0x38393a(0x1d3)][_0x38393a(0x2ce)]((_0x557435,_0x434f49)=>this[_0x38393a(0x244)](_0x434f49)),this[_0x38393a(0x2d7)]&&window['clearInterval'](this[_0x38393a(0x2d7)]);}['getUnitStatus$'](_0x2ca4ff){const _0x20fbbe=_0x360c99;return this[_0x20fbbe(0x31e)](_0x2ca4ff)[_0x20fbbe(0x11a)](_0x3052c2[_0x20fbbe(0x356)]());}[_0x360c99(0x365)](_0x50345c){const _0x1e2ce4=_0x360c99;this[_0x1e2ce4(0x12c)][_0x1e2ce4(0x248)]===0x0&&this[_0x1e2ce4(0x190)](),this['_selfUnitIDs'][_0x1e2ce4(0x1cb)](_0x50345c),this['_send']({'type':0x0,'memberID':this[_0x1e2ce4(0x13c)],'unitIDs':[_0x50345c],'isForwarded':!0x1});}[_0x360c99(0x178)](_0x187dbb){const _0xfc4635=_0x360c99;this[_0xfc4635(0x12c)][_0xfc4635(0x143)](_0x187dbb),this[_0xfc4635(0x12c)][_0xfc4635(0x248)]===0x0&&this['_heartbeatTimer']&&window[_0xfc4635(0x293)](this[_0xfc4635(0x2d7)]);}[_0x360c99(0x1e6)](){const _0xa30703=_0x360c99;this[_0xa30703(0x252)](_0x2b709b[_0xa30703(0x27e)](_0x3052c2['fromEvent'](window,'storage')[_0xa30703(0x373)](_0x297fab=>{const _0x24b528=_0xa30703;if(_0x297fab[_0x24b528(0x215)]!==_0x2904b4||!_0x297fab[_0x24b528(0x34e)])return;const _0x20f80a=JSON[_0x24b528(0x381)](_0x297fab['newValue']);this[_0x24b528(0x20c)](_0x20f80a);}))),window[_0xa30703(0x31f)](_0xa30703(0x1a1),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xa30703(0x222)](this[_0xa30703(0x12c)])}));}[_0x360c99(0x20c)](_0x3ced48){const _0x394821=_0x360c99;switch(_0x3ced48[_0x394821(0x225)]){case 0x0:this[_0x394821(0x290)](_0x3ced48);break;case 0x1:this[_0x394821(0x136)](_0x3ced48);break;case 0x2:this['_handleHeartbeatEvent'](_0x3ced48);break;}}[_0x360c99(0x290)](_0x11fcfe){const _0x4d1ddf=_0x360c99,{unitIDs:_0x289ae3,memberID:_0x3d9dfa,isForwarded:_0x1a7b31}=_0x11fcfe;_0x289ae3['forEach'](_0x4cee6d=>{const _0x3c49b3=_0x2a3e;if(!_0x1a7b31&&this[_0x3c49b3(0x196)][_0x3c49b3(0x13e)](_0x4cee6d)&&this[_0x3c49b3(0x31e)](_0x4cee6d)[_0x3c49b3(0x34f)](_0x33f364[_0x3c49b3(0x25a)][_0x3c49b3(0x32f)]),!this['_unitOnClients'][_0x3c49b3(0x13e)](_0x4cee6d)||!this['_unitOnClients'][_0x3c49b3(0x2da)](_0x4cee6d)[_0x3c49b3(0x13e)](_0x3d9dfa)){const _0x46e5f0=this[_0x3c49b3(0x196)][_0x3c49b3(0x2da)](_0x4cee6d)||new Set();_0x46e5f0['add'](_0x3d9dfa),this['_unitOnClients'][_0x3c49b3(0x1b3)](_0x4cee6d,_0x46e5f0),this['_scheduleClearOtherTimer'](_0x3d9dfa);}}),_0x1a7b31||this[_0x4d1ddf(0x218)]({'type':0x0,'memberID':this[_0x4d1ddf(0x13c)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x360c99(0x1f2)](_0x1d72a4){const _0x18920c=_0x360c99;this[_0x18920c(0x244)](_0x1d72a4);const _0x238065=window[_0x18920c(0x2e8)](()=>{this['_unitOnClients']['forEach'](_0x23c8b4=>{const _0x5b8e8f=_0x2a3e;_0x23c8b4[_0x5b8e8f(0x143)](_0x1d72a4);});},_0x3b03e0*0x2);this[_0x18920c(0x1d3)]['set'](_0x1d72a4,_0x238065);}['_removeClearOtherTimer'](_0x116b24){const _0x5aeea0=_0x360c99;if(this[_0x5aeea0(0x1d3)]['has'](_0x116b24)){const _0x4bc196=this[_0x5aeea0(0x1d3)][_0x5aeea0(0x2da)](_0x116b24);_0x4bc196&&window[_0x5aeea0(0x353)](_0x4bc196),this[_0x5aeea0(0x1d3)][_0x5aeea0(0x1b3)](_0x116b24,null);}}['_handleLeaveEvent'](_0x528a65){const {memberID:_0x115e59,unitIDs:_0x53e5bc}=_0x528a65;_0x53e5bc['forEach'](_0x9d8547=>{const _0x179ab5=_0x2a3e;var _0x508951;const _0x36bc4a=this[_0x179ab5(0x196)][_0x179ab5(0x2da)](_0x9d8547);_0x36bc4a&&(_0x36bc4a[_0x179ab5(0x143)](_0x115e59),(_0x508951=this['_ensureSubject'](_0x9d8547))==null||_0x508951['next'](_0x36bc4a[_0x179ab5(0x248)]===0x0?_0x33f364[_0x179ab5(0x25a)][_0x179ab5(0x229)]:_0x33f364['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x115e59);}[_0x360c99(0x296)](_0x2053c3){const _0x25fc12=_0x360c99;this[_0x25fc12(0x1f2)](_0x2053c3[_0x25fc12(0x17d)]);}['_send'](_0x531449){const _0xd30a92=_0x360c99;localStorage[_0xd30a92(0x24c)](_0x2904b4,JSON[_0xd30a92(0x300)](_0x531449));}[_0x360c99(0x190)](){const _0x38a41a=_0x360c99;this[_0x38a41a(0x2d7)]=window[_0x38a41a(0x3a9)](()=>{const _0xba6cbf=_0x38a41a;this[_0xba6cbf(0x218)]({'type':0x2,'memberID':this[_0xba6cbf(0x13c)]});},_0x3b03e0);}['_ensureSubject'](_0xb6a940){const _0x35e68b=_0x360c99;return this[_0x35e68b(0x382)][_0x35e68b(0x13e)](_0xb6a940)||this[_0x35e68b(0x382)][_0x35e68b(0x1b3)](_0xb6a940,new _0x3052c2[(_0x35e68b(0x1af))](_0x33f364['UnitStatus'][_0x35e68b(0x229)])),this['_unitStatus']['get'](_0xb6a940);}}_0x2fd8ae[_0x360c99(0x154)]=_0x52e083,_0x2fd8ae[_0x360c99(0x118)]=_0x34aaa3,_0x2fd8ae[_0x360c99(0x22b)]=_0x8f298,_0x2fd8ae['WebURLService']=_0x561609,Object[_0x360c99(0x214)](_0x2fd8ae,Symbol[_0x360c99(0x1fe)],{'value':_0x360c99(0x312)});}));
|
|
1
|
+
(function(_0x4383de,_0x1fa1c1){const _0x425b64=_0x3097,_0x120616=_0x4383de();while(!![]){try{const _0x1519c7=-parseInt(_0x425b64(0x216))/0x1*(-parseInt(_0x425b64(0x192))/0x2)+parseInt(_0x425b64(0x13d))/0x3+parseInt(_0x425b64(0x3a0))/0x4+-parseInt(_0x425b64(0x315))/0x5*(parseInt(_0x425b64(0x2fe))/0x6)+parseInt(_0x425b64(0x2b4))/0x7+parseInt(_0x425b64(0x2ab))/0x8*(parseInt(_0x425b64(0x174))/0x9)+-parseInt(_0x425b64(0x335))/0xa*(parseInt(_0x425b64(0x367))/0xb);if(_0x1519c7===_0x1fa1c1)break;else _0x120616['push'](_0x120616['shift']());}catch(_0x4c136d){_0x120616['push'](_0x120616['shift']());}}}(_0x15a7,0x2e600),function(_0x22a60d,_0x57e32a){const _0x5c7d89=_0x3097;typeof exports==_0x5c7d89(0x389)&&typeof module<'u'?_0x57e32a(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==_0x5c7d89(0x1d5)&&define[_0x5c7d89(0x20c)]?define([_0x5c7d89(0x1ef),'react/jsx-runtime',_0x5c7d89(0x16f),_0x5c7d89(0x391),'@univerjs/ui',_0x5c7d89(0x188),'@univerjs/design',_0x5c7d89(0x39e),_0x5c7d89(0x292),_0x5c7d89(0x2b7),_0x5c7d89(0x28f),_0x5c7d89(0x186),'@univerjs/docs-ui',_0x5c7d89(0x261),_0x5c7d89(0x221),_0x5c7d89(0x2bf),_0x5c7d89(0x232),_0x5c7d89(0x1a0),_0x5c7d89(0x1d0)],_0x57e32a):(_0x22a60d=typeof globalThis<'u'?globalThis:_0x22a60d||self,_0x57e32a(_0x22a60d['UniverProCollaborationClientUi']={},_0x22a60d[_0x5c7d89(0x376)],_0x22a60d[_0x5c7d89(0x2d6)],_0x22a60d[_0x5c7d89(0x2cd)],_0x22a60d[_0x5c7d89(0x293)],_0x22a60d[_0x5c7d89(0x188)],_0x22a60d[_0x5c7d89(0x2ee)],_0x22a60d[_0x5c7d89(0x376)],_0x22a60d['UniverRpc'],_0x22a60d['UniverSheets'],_0x22a60d['UniverEngineRender'],_0x22a60d['UniverNetwork'],_0x22a60d['UniverDocsUi'],_0x22a60d[_0x5c7d89(0x17b)],_0x22a60d[_0x5c7d89(0x347)],_0x22a60d[_0x5c7d89(0x26d)],_0x22a60d[_0x5c7d89(0x229)],_0x22a60d[_0x5c7d89(0x188)][_0x5c7d89(0x1ec)],_0x22a60d[_0x5c7d89(0x259)]));}(this,function(_0x5cd700,_0x571bfb,_0x5375bb,_0x20124e,_0x3f164e,_0x30408e,_0xbc961f,_0x42feaf,_0x146e44,_0x50fd9b,_0x3289d1,_0x3b53e8,_0x1549a6,_0x54030f,_0x299488,_0x3e301b,_0xf466d3,_0x3cd24d,_0x423d28){'use strict';const _0x475329=_0x3097;var _0x1cc09b=Object[_0x475329(0x21c)],_0x4d1069=(_0x44591c,_0x2f1c99,_0x1e7d35)=>_0x2f1c99 in _0x44591c?_0x1cc09b(_0x44591c,_0x2f1c99,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e7d35}):_0x44591c[_0x2f1c99]=_0x1e7d35,_0x198abe=(_0x2c1255,_0x1011cf,_0x3dac59)=>_0x4d1069(_0x2c1255,typeof _0x1011cf!='symbol'?_0x1011cf+'':_0x1011cf,_0x3dac59),_0x17a8d6=function(){const _0x1af1e1=_0x475329;return _0x17a8d6=Object[_0x1af1e1(0x28b)]||function(_0x2c6113){const _0x37f282=_0x1af1e1;for(var _0x56afb5,_0xc769d5=0x1,_0x24823a=arguments[_0x37f282(0x1b8)];_0xc769d5<_0x24823a;_0xc769d5++){_0x56afb5=arguments[_0xc769d5];for(var _0x2ce94b in _0x56afb5)Object['prototype']['hasOwnProperty'][_0x37f282(0x365)](_0x56afb5,_0x2ce94b)&&(_0x2c6113[_0x2ce94b]=_0x56afb5[_0x2ce94b]);}return _0x2c6113;},_0x17a8d6[_0x1af1e1(0x390)](this,arguments);},_0x36594b=function(_0x40835f,_0x267093){const _0x89b519=_0x475329;var _0x24daec={};for(var _0x55629d in _0x40835f)Object[_0x89b519(0x2d7)][_0x89b519(0x2f4)]['call'](_0x40835f,_0x55629d)&&_0x267093[_0x89b519(0x1cf)](_0x55629d)<0x0&&(_0x24daec[_0x55629d]=_0x40835f[_0x55629d]);if(_0x40835f!=null&&typeof Object[_0x89b519(0x36b)]==_0x89b519(0x1d5)){for(var _0x19c310=0x0,_0x55629d=Object[_0x89b519(0x36b)](_0x40835f);_0x19c310<_0x55629d[_0x89b519(0x1b8)];_0x19c310++)_0x267093[_0x89b519(0x1cf)](_0x55629d[_0x19c310])<0x0&&Object['prototype'][_0x89b519(0x19b)][_0x89b519(0x365)](_0x40835f,_0x55629d[_0x19c310])&&(_0x24daec[_0x55629d[_0x19c310]]=_0x40835f[_0x55629d[_0x19c310]]);}return _0x24daec;},_0x2cfbe0=_0x42feaf[_0x475329(0x283)](function(_0xd8540b,_0xf64b26){const _0x1af93e=_0x475329;var _0x201fbe=_0xd8540b[_0x1af93e(0x252)],_0x2f7db7=_0xd8540b['id'],_0x457fe9=_0xd8540b[_0x1af93e(0x35d)],_0x3eff67=_0xd8540b[_0x1af93e(0x32b)],_0x291466=_0x36594b(_0xd8540b,[_0x1af93e(0x252),'id','className',_0x1af93e(0x32b)]),_0x1689da=_0x1af93e(0x3ca)['concat'](_0x2f7db7,'\x20')['concat'](_0x457fe9||'')[_0x1af93e(0x2c0)](),_0x365b00=_0x42feaf['useRef']('_'['concat'](_0x887fbd()));return _0x5598de(_0x201fbe,''[_0x1af93e(0x1e0)](_0x2f7db7),{'defIds':_0x201fbe['defIds'],'idSuffix':_0x365b00[_0x1af93e(0x3f2)]},_0x17a8d6({'ref':_0xf64b26,'className':_0x1689da},_0x291466),_0x3eff67);});function _0x5598de(_0x625fc5,_0x596698,_0xac6441,_0x2f566c,_0x3d529d){const _0x383880=_0x475329;return _0x42feaf[_0x383880(0x2eb)](_0x625fc5[_0x383880(0x14a)],_0x17a8d6(_0x17a8d6({'key':_0x596698},_0x4df73d(_0x625fc5,_0xac6441,_0x3d529d)),_0x2f566c),(_0x3f92c4(_0x625fc5,_0xac6441)[_0x383880(0x36c)]||[])[_0x383880(0x1aa)](function(_0x167e5e,_0x4b96af){const _0x960559=_0x383880;return _0x5598de(_0x167e5e,''[_0x960559(0x1e0)](_0x596698,'-')[_0x960559(0x1e0)](_0x625fc5[_0x960559(0x14a)],'-')[_0x960559(0x1e0)](_0x4b96af),_0xac6441,void 0x0,_0x3d529d);}));}function _0x4df73d(_0x38d9b3,_0x24b248,_0x52dd0e){const _0x21ed21=_0x475329;var _0x134480=_0x17a8d6({},_0x38d9b3[_0x21ed21(0x1a6)]);_0x52dd0e!=null&&_0x52dd0e[_0x21ed21(0x17e)]&&_0x134480[_0x21ed21(0x350)]===_0x21ed21(0x17e)&&(_0x134480['fill']=_0x52dd0e[_0x21ed21(0x17e)]),_0x38d9b3[_0x21ed21(0x14a)]===_0x21ed21(0x368)&&_0x134480['id']&&(_0x134480['id']=_0x134480['id']+_0x24b248[_0x21ed21(0x1c5)]),Object['entries'](_0x134480)[_0x21ed21(0x303)](function(_0x11b90c){const _0x338e22=_0x21ed21;var _0x27271c=_0x11b90c[0x0],_0x5927ab=_0x11b90c[0x1];_0x27271c===_0x338e22(0x368)&&typeof _0x5927ab=='string'&&(_0x134480[_0x27271c]=_0x5927ab[_0x338e22(0x250)](/url\(#(.*)\)/,'url(#$1'[_0x338e22(0x1e0)](_0x24b248[_0x338e22(0x1c5)],')')));});var _0x1b0d66=_0x24b248[_0x21ed21(0x302)];return!_0x1b0d66||_0x1b0d66[_0x21ed21(0x1b8)]===0x0||(_0x38d9b3[_0x21ed21(0x14a)]===_0x21ed21(0x326)&&_0x134480['xlink:href']&&(_0x134480[_0x21ed21(0x249)]=_0x134480[_0x21ed21(0x249)]+_0x24b248[_0x21ed21(0x1c5)]),Object['entries'](_0x134480)[_0x21ed21(0x303)](function(_0x11a630){const _0x28d662=_0x21ed21;var _0x2d0c09=_0x11a630[0x0],_0x2a926b=_0x11a630[0x1];typeof _0x2a926b==_0x28d662(0x395)&&(_0x134480[_0x2d0c09]=_0x2a926b['replace'](/url\(#(.*)\)/,_0x28d662(0x197)[_0x28d662(0x1e0)](_0x24b248['idSuffix'],')')));})),_0x134480;}function _0x3f92c4(_0x326e9c,_0x1ddd37){const _0xec1d23=_0x475329;var _0x35c540,_0x3f2bac=_0x1ddd37['defIds'];return!_0x3f2bac||_0x3f2bac[_0xec1d23(0x1b8)]===0x0?_0x326e9c:_0x326e9c[_0xec1d23(0x14a)]===_0xec1d23(0x1e6)&&(!((_0x35c540=_0x326e9c[_0xec1d23(0x36c)])===null||_0x35c540===void 0x0)&&_0x35c540['length'])?_0x17a8d6(_0x17a8d6({},_0x326e9c),{'children':_0x326e9c[_0xec1d23(0x36c)][_0xec1d23(0x1aa)](function(_0x3b8e5f){const _0x3c4ea2=_0xec1d23;return typeof _0x3b8e5f[_0x3c4ea2(0x1a6)]['id']==_0x3c4ea2(0x395)&&_0x3f2bac&&_0x3f2bac[_0x3c4ea2(0x25f)](_0x3b8e5f[_0x3c4ea2(0x1a6)]['id'])?_0x17a8d6(_0x17a8d6({},_0x3b8e5f),{'attrs':_0x17a8d6(_0x17a8d6({},_0x3b8e5f[_0x3c4ea2(0x1a6)]),{'id':_0x3b8e5f[_0x3c4ea2(0x1a6)]['id']+_0x1ddd37['idSuffix']})}):_0x3b8e5f;})}):_0x326e9c;}function _0x887fbd(){const _0x3660f4=_0x475329;return Math[_0x3660f4(0x336)]()[_0x3660f4(0x3a8)](0x24)['substring'](0x2,0x8);}_0x2cfbe0[_0x475329(0x207)]='UniverIcon';var _0x325aaf={'tag':'svg','attrs':{'xmlns':_0x475329(0x20d),'fill':_0x475329(0x288),'viewBox':_0x475329(0x3c6),'width':_0x475329(0x2da),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x475329(0x379)},'children':[{'tag':'path','attrs':{'stroke':_0x475329(0x3b4),'d':_0x475329(0x2ca),'strokeLinecap':_0x475329(0x327),'strokeLinejoin':_0x475329(0x327),'strokeWidth':1.2}}]},{'tag':_0x475329(0x1e6),'attrs':{},'children':[{'tag':_0x475329(0x364),'attrs':{'id':_0x475329(0x26a)},'children':[{'tag':_0x475329(0x3de),'attrs':{'fill':'white','d':_0x475329(0x2e3)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x5f05b8=_0x42feaf[_0x475329(0x283)](function(_0xa78314,_0x3aad9c){const _0x24515e=_0x475329;return _0x42feaf[_0x24515e(0x2eb)](_0x2cfbe0,Object[_0x24515e(0x28b)]({},_0xa78314,{'id':_0x24515e(0x3c0),'ref':_0x3aad9c,'icon':_0x325aaf}));});_0x5f05b8[_0x475329(0x207)]=_0x475329(0x39d);var _0x248fda={'tag':_0x475329(0x329),'attrs':{'xmlns':_0x475329(0x20d),'fill':_0x475329(0x288),'viewBox':_0x475329(0x381),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x475329(0x1bb)},'children':[{'tag':_0x475329(0x3de),'attrs':{'stroke':_0x475329(0x3b4),'d':_0x475329(0x2ac),'strokeLinecap':_0x475329(0x327),'strokeLinejoin':_0x475329(0x327),'strokeWidth':1.2}}]},{'tag':_0x475329(0x1e6),'attrs':{},'children':[{'tag':_0x475329(0x364),'attrs':{'id':_0x475329(0x1ac)},'children':[{'tag':_0x475329(0x3de),'attrs':{'fill':_0x475329(0x29f),'d':_0x475329(0x2e3),'transform':_0x475329(0x140)}}]}]}],'defIds':[_0x475329(0x1ac)]},_0x3e8111=_0x42feaf[_0x475329(0x283)](function(_0x2deaeb,_0x2838fe){const _0x325fba=_0x475329;return _0x42feaf[_0x325fba(0x2eb)](_0x2cfbe0,Object[_0x325fba(0x28b)]({},_0x2deaeb,{'id':_0x325fba(0x35e),'ref':_0x2838fe,'icon':_0x248fda}));});_0x3e8111[_0x475329(0x207)]=_0x475329(0x184);function _0xdbf21(_0x409f72){const _0x3d15e7=_0x475329;switch(_0x409f72){case _0x5375bb[_0x3d15e7(0x2e1)][_0x3d15e7(0x1bd)]:return _0x3d15e7(0x3d6);case _0x5375bb[_0x3d15e7(0x2e1)][_0x3d15e7(0x218)]:return'collabStatus.conflict';case _0x5375bb['CollaborationStatus'][_0x3d15e7(0x15c)]:return'collabStatus.fetchMiss';case _0x5375bb['CollaborationStatus'][_0x3d15e7(0x3c3)]:return _0x3d15e7(0x378);case _0x5375bb['CollaborationStatus']['AWAITING']:case _0x5375bb['CollaborationStatus']['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x5375bb[_0x3d15e7(0x2e1)][_0x3d15e7(0x2af)]:case _0x5375bb['CollaborationStatus'][_0x3d15e7(0x15e)]:return _0x3d15e7(0x351);}}function _0x71476d(_0x4d9935){const _0x4668fc=_0x475329,{status$:_0x5d55a5}=_0x4d9935,_0x5bccf1=_0x3f164e[_0x4668fc(0x28c)](_0x5d55a5,_0x5375bb[_0x4668fc(0x2e1)]['NOT_COLLAB']),_0x4a9d04=_0x3f164e[_0x4668fc(0x1c9)](_0x20124e[_0x4668fc(0x34b)]),_0x2c1f3c=_0x3f164e[_0x4668fc(0x1c9)](_0x5375bb['CollaborationSessionService']),_0x55bcb0=_0x5bccf1!==_0x5375bb['CollaborationStatus']['OFFLINE'],_0x294976=_0x4a9d04['t'](_0xdbf21(_0x5bccf1)),_0x4050f4=_0x55bcb0?_0x571bfb[_0x4668fc(0x1c4)](_0x3e8111,{}):_0x571bfb[_0x4668fc(0x1c4)](_0x5f05b8,{}),_0x2a1ff7=_0x42feaf[_0x4668fc(0x21d)](()=>{const _0x2c9013=_0x4668fc;_0x55bcb0||_0x2c1f3c[_0x2c9013(0x152)]();},[_0x55bcb0,_0x2c1f3c]);function _0xace44c(){const _0x447f60=_0x4668fc;return _0x571bfb[_0x447f60(0x1e9)](_0x447f60(0x2ba),{'className':_0x447f60(0x3ea),'onClick':_0x2a1ff7,'children':[_0x571bfb[_0x447f60(0x1c4)](_0x447f60(0x2ba),{'className':_0xbc961f[_0x447f60(0x277)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x55bcb0,'univer-text-red-500':!_0x55bcb0}),'children':_0x4050f4}),_0x571bfb[_0x447f60(0x1c4)]('div',{'className':_0x447f60(0x20e),'children':_0x294976})]});}return _0x55bcb0?_0xace44c():_0x571bfb['jsx'](_0xbc961f['Tooltip'],{'title':_0x4a9d04['t'](_0x4668fc(0x300)),'children':_0xace44c()});}var _0x24f5d6=Object[_0x475329(0x3cb)],_0x3115ac=(_0x1e9301,_0x5b57a3,_0x488ae8,_0x2cfe18)=>{const _0x25cf28=_0x475329;for(var _0x3f2a2f=_0x2cfe18>0x1?void 0x0:_0x2cfe18?_0x24f5d6(_0x5b57a3,_0x488ae8):_0x5b57a3,_0x199fca=_0x1e9301[_0x25cf28(0x1b8)]-0x1,_0x40521a;_0x199fca>=0x0;_0x199fca--)(_0x40521a=_0x1e9301[_0x199fca])&&(_0x3f2a2f=_0x40521a(_0x3f2a2f)||_0x3f2a2f);return _0x3f2a2f;},_0x3fb737=(_0x39bcdf,_0x1aa978)=>(_0x5c8de9,_0x725ca)=>_0x1aa978(_0x5c8de9,_0x725ca,_0x39bcdf);_0x5cd700[_0x475329(0x287)]=class extends _0x20124e[_0x475329(0x385)]{constructor(_0x4243af,_0x507155,_0x235ff2,_0x42be30){const _0x260f42=_0x475329;super(),_0x198abe(this,_0x260f42(0x1f1),new _0x30408e[(_0x260f42(0x36e))](_0x5375bb['CollaborationStatus']['NOT_COLLAB'])),(this[_0x260f42(0x2d5)]=_0x4243af,this[_0x260f42(0x22d)]=_0x507155,this[_0x260f42(0x275)]=_0x235ff2,this[_0x260f42(0x268)]=_0x42be30,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x475329(0x265)](){const _0x499acb=_0x475329;this[_0x499acb(0x13a)](this[_0x499acb(0x2d5)]['focused$'][_0x499acb(0x189)](_0x30408e[_0x499acb(0x2d0)](()=>{const _0xf3bf7a=_0x499acb,_0x544637=this[_0xf3bf7a(0x2d5)][_0xf3bf7a(0x2f1)]();return _0x544637?this[_0xf3bf7a(0x275)][_0xf3bf7a(0x256)](_0x544637[_0xf3bf7a(0x2de)]()):_0x30408e['of'](null);}),_0x30408e[_0x499acb(0x2d0)](_0x3eebbf=>_0x3eebbf?_0x3eebbf[_0x499acb(0x2bc)]:_0x30408e['of'](_0x5375bb['CollaborationStatus'][_0x499acb(0x3c3)])))[_0x499acb(0x34c)](_0x3d6bb4=>{const _0x44f7ee=_0x499acb;this[_0x44f7ee(0x1f1)][_0x44f7ee(0x31d)](_0x3d6bb4);}));}['_initStatusComponent'](){const _0x356755=_0x475329;this[_0x356755(0x13a)](this['_uiPartsService'][_0x356755(0x2ea)](_0x3f164e[_0x356755(0x138)][_0x356755(0x182)],()=>_0x3f164e[_0x356755(0x32a)](_0xf569df({'status$':this[_0x356755(0x1f1)]['asObservable']()}),this[_0x356755(0x22d)])));}},_0x5cd700[_0x475329(0x287)]=_0x3115ac([_0x3fb737(0x0,_0x20124e['IUniverInstanceService']),_0x3fb737(0x1,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x1b9)])),_0x3fb737(0x2,_0x20124e[_0x475329(0x31f)](_0x5375bb[_0x475329(0x2fc)])),_0x3fb737(0x3,_0x3f164e['IUIPartsService'])],_0x5cd700[_0x475329(0x287)]);function _0xf569df(_0x431804){const {status$:_0xf06733}=_0x431804;return function(){return _0x571bfb['jsx'](_0x71476d,{'status$':_0xf06733});};}const _0x5b2318=_0x20124e[_0x475329(0x3a1)](_0x475329(0x29b));var _0xa2947f=Object['getOwnPropertyDescriptor'],_0x339231=(_0x140243,_0x1bec53,_0x424dd5,_0xc7f905)=>{const _0x44cdc3=_0x475329;for(var _0x1c0d24=_0xc7f905>0x1?void 0x0:_0xc7f905?_0xa2947f(_0x1bec53,_0x424dd5):_0x1bec53,_0x392cc4=_0x140243[_0x44cdc3(0x1b8)]-0x1,_0x26b6ab;_0x392cc4>=0x0;_0x392cc4--)(_0x26b6ab=_0x140243[_0x392cc4])&&(_0x1c0d24=_0x26b6ab(_0x1c0d24)||_0x1c0d24);return _0x1c0d24;},_0x13180c=(_0x37fb7d,_0x6cf708)=>(_0x3c2375,_0x4197c8)=>_0x6cf708(_0x3c2375,_0x4197c8,_0x37fb7d);_0x5cd700[_0x475329(0x158)]=class extends _0x20124e['RxDisposable']{constructor(_0xa58585,_0x3b73bc,_0x498c33,_0x478529,_0x3043b2){const _0x3c9153=_0x475329;super(),this['_urlService']=_0xa58585,this['_logService']=_0x3b73bc,this[_0x3c9153(0x1b5)]=_0x498c33,this[_0x3c9153(0x3ee)]=_0x478529,_0x3043b2?_0x3043b2==null||_0x3043b2[_0x3c9153(0x30f)]()['then'](()=>this[_0x3c9153(0x375)]()):(this[_0x3c9153(0x145)][_0x3c9153(0x366)]('[CollaborationDataLoaderController]',_0x3c9153(0x1c8)),this[_0x3c9153(0x375)]());}async[_0x475329(0x375)](){const _0x460825=_0x475329,_0x63cbef=this[_0x460825(0x27b)][_0x460825(0x24a)]('unit'),_0x499c78=this[_0x460825(0x27b)][_0x460825(0x24a)]('type'),_0x5236b5=this['_urlService'][_0x460825(0x24a)](_0x460825(0x374));if(!_0x63cbef||!_0x499c78){this[_0x460825(0x145)][_0x460825(0x366)]('[CollaborationDataLoaderController]',_0x460825(0x317));return;}const _0x1df618=await this['_dataLoaderService'][_0x460825(0x2ed)](_0x63cbef,Number(_0x499c78),_0x5236b5);_0x1df618&&_0x1df618 instanceof _0x20124e['Workbook']&&this[_0x460825(0x28d)](_0x1df618);}async[_0x475329(0x28d)](_0x11915c){const _0x19b554=_0x475329;await this['_updateSubUnitFromURLParams'](_0x11915c),_0x11915c[_0x19b554(0x239)][_0x19b554(0x189)](_0x30408e[_0x19b554(0x198)](this['dispose$']))[_0x19b554(0x34c)](_0x867df=>{const _0x53eaca=_0x19b554;_0x867df&&this[_0x53eaca(0x37f)](_0x867df);}),this[_0x19b554(0x27b)][_0x19b554(0x2b1)]['pipe'](_0x30408e[_0x19b554(0x198)](this['dispose$']))[_0x19b554(0x34c)](()=>this[_0x19b554(0x180)](_0x11915c));}[_0x475329(0x37f)](_0x49251b,_0x5f25a3=!0x1){const _0x408db5=_0x475329,_0x40e2a0=this[_0x408db5(0x27b)]['getParam'](_0x408db5(0x374));_0x49251b['getSheetId']()!==_0x40e2a0&&this[_0x408db5(0x27b)][_0x408db5(0x3c7)](_0x408db5(0x374),_0x49251b[_0x408db5(0x398)](),_0x5f25a3);}async[_0x475329(0x180)](_0x298e11){const _0x1c20a4=_0x475329;var _0x5947fe;const _0x42fdbd=this['_urlService'][_0x1c20a4(0x24a)](_0x1c20a4(0x374));if(!_0x42fdbd||!_0x298e11[_0x1c20a4(0x362)](_0x42fdbd)){const _0x2d3122=_0x298e11['getUnhiddenWorksheets']()[0x0],_0x12fa6a=_0x298e11[_0x1c20a4(0x362)](_0x2d3122);if(!_0x12fa6a)return;this[_0x1c20a4(0x37f)](_0x12fa6a,!0x0),await this[_0x1c20a4(0x1b5)][_0x1c20a4(0x1a9)](_0x50fd9b['SetWorksheetActivateCommand']['id'],{'unitId':_0x298e11[_0x1c20a4(0x2de)](),'subUnitId':_0x2d3122});return;}((_0x5947fe=_0x298e11[_0x1c20a4(0x32d)]())==null?void 0x0:_0x5947fe[_0x1c20a4(0x398)]())!==_0x42fdbd&&await this[_0x1c20a4(0x1b5)][_0x1c20a4(0x1a9)](_0x50fd9b[_0x1c20a4(0x36f)]['id'],{'unitId':_0x298e11[_0x1c20a4(0x2de)](),'subUnitId':_0x42fdbd});}},_0x5cd700['CollaborationDataLoaderController']=_0x339231([_0x13180c(0x0,_0x5b2318),_0x13180c(0x1,_0x20124e['ILogService']),_0x13180c(0x2,_0x20124e[_0x475329(0x3e3)]),_0x13180c(0x3,_0x20124e[_0x475329(0x31f)](_0x5375bb[_0x475329(0x176)])),_0x13180c(0x4,_0x20124e['Optional'](_0x146e44[_0x475329(0x3a9)]))],_0x5cd700[_0x475329(0x158)]);var _0x5b810d=Object[_0x475329(0x3cb)],_0x3ac76c=(_0x1f918f,_0x1b9a9f,_0x469d23,_0x5edf29)=>{const _0x3b15ef=_0x475329;for(var _0xd48506=_0x5edf29>0x1?void 0x0:_0x5edf29?_0x5b810d(_0x1b9a9f,_0x469d23):_0x1b9a9f,_0x4d436f=_0x1f918f[_0x3b15ef(0x1b8)]-0x1,_0x1aa6ed;_0x4d436f>=0x0;_0x4d436f--)(_0x1aa6ed=_0x1f918f[_0x4d436f])&&(_0xd48506=_0x1aa6ed(_0xd48506)||_0xd48506);return _0xd48506;},_0x21b2ae=(_0x7fe33b,_0x4485fd)=>(_0x32aa54,_0x13b20c)=>_0x4485fd(_0x32aa54,_0x13b20c,_0x7fe33b);let _0x118ef9=class extends _0x20124e[_0x475329(0x312)]{constructor(_0x1efd9c,_0xef217f){const _0x5f3cf1=_0x475329;super(),this[_0x5f3cf1(0x166)]=_0x1efd9c,this[_0x5f3cf1(0x334)]=_0xef217f,this[_0x5f3cf1(0x375)]();}['_init'](){const _0x5099db=_0x475329,_0x3fbb31=this;this['disposeWithMe'](this[_0x5099db(0x166)][_0x5099db(0x318)]({'onBeforePasteImage':async _0x3901bb=>{const _0x511be7=_0x5099db,_0x3bf5b2=await _0x3fbb31['_imageIoService']['saveImage'](_0x3901bb);return _0x3bf5b2?{'source':_0x3bf5b2[_0x511be7(0x18a)],'imageSourceType':_0x3bf5b2[_0x511be7(0x185)]}:null;}}));}};_0x118ef9=_0x3ac76c([_0x21b2ae(0x0,_0x1549a6[_0x475329(0x306)]),_0x21b2ae(0x1,_0x54030f['IImageIoService'])],_0x118ef9);const _0x4afbee=[_0x475329(0x25c),_0x475329(0x1b6),'green.600','red.300',_0x475329(0x3b7),_0x475329(0x1a3)];class _0x108c77 extends _0x20124e[_0x475329(0x385)]{constructor(){const _0x2e30f7=_0x475329;super(...arguments),_0x198abe(this,_0x2e30f7(0x342),new Map()),_0x198abe(this,_0x2e30f7(0x3c2),0x0);}[_0x475329(0x139)](_0x128c34){const _0x1cbcef=_0x475329;if(this[_0x1cbcef(0x342)]['has'](_0x128c34))return this['_assignedColors']['get'](_0x128c34);const _0x36f126=_0x4afbee[this[_0x1cbcef(0x3c2)]];return this[_0x1cbcef(0x3c2)]=(this[_0x1cbcef(0x3c2)]+0x1)%_0x4afbee[_0x1cbcef(0x1b8)],this[_0x1cbcef(0x342)][_0x1cbcef(0x32f)](_0x128c34,_0x36f126),_0x36f126;}}function _0x67f04a(_0x30e888){const _0x5459a4=_0x475329;let _0x397bfe='';for(const _0x93310e of _0x30e888){const {startOffset:_0x1fdd3f,endOffset:_0x145008,isActive:_0xcc090e,rangeType:_0x2dad91,segmentId:_0x33c0c3,segmentPage:_0x164073}=_0x93310e;_0x397bfe[_0x5459a4(0x1b8)]&&(_0x397bfe+=','),_0x397bfe+=_0x1fdd3f+':'+_0x145008+':'+(_0xcc090e?'1':'0')+':'+_0x2dad91+':'+_0x33c0c3+':'+_0x164073;}return _0x397bfe;}function _0x57a97d(_0x3536d8){const _0x2cd326=_0x475329,_0xbcecd4=_0x3536d8[_0x2cd326(0x203)](','),_0x1cca4b=[];for(const _0x2ea16e of _0xbcecd4){const [_0xb03862,_0x1f1c30,_0x5f2243,_0x5bce40,_0x3c68e,_0x4df6c9]=_0x2ea16e[_0x2cd326(0x203)](':');_0x1cca4b[_0x2cd326(0x39b)]({'startOffset':Number(_0xb03862),'endOffset':Number(_0x1f1c30),'collapsed':_0xb03862===_0x1f1c30,'isActive':_0x5f2243==='1','rangeType':_0x5bce40===_0x20124e[_0x2cd326(0x3e2)][_0x2cd326(0x211)]?_0x20124e[_0x2cd326(0x3e2)][_0x2cd326(0x211)]:_0x20124e[_0x2cd326(0x3e2)][_0x2cd326(0x28e)],'segmentId':typeof _0x3c68e==_0x2cd326(0x395)?String(_0x3c68e):'','segmentPage':Number(_0x4df6c9!=null?_0x4df6c9:-0x1)});}return _0x1cca4b[_0x2cd326(0x22a)](_0x3bcf0c=>_0x3bcf0c[_0x2cd326(0x2d2)])||(_0x1cca4b[0x0][_0x2cd326(0x2d2)]=!0x0),_0x1cca4b;}class _0x206e4e extends _0x20124e['RxDisposable']{constructor(){const _0x46b553=_0x475329;super(...arguments),_0x198abe(this,_0x46b553(0x2e9),new _0x30408e[(_0x46b553(0x36e))](null)),_0x198abe(this,_0x46b553(0x1a7),this[_0x46b553(0x2e9)][_0x46b553(0x1ce)]());}[_0x475329(0x257)](_0x427954){const _0x2a1cbd=_0x475329,{unitID:_0x193754,memberID:_0x33f8a9,textRanges:_0x195c95}=_0x427954,_0x504db5=_0x67f04a(_0x195c95);if(_0x504db5==='')return;const _0x2d186f={'unitID':_0x193754,'memberID':_0x33f8a9,'selection':_0x504db5};this[_0x2a1cbd(0x2e9)][_0x2a1cbd(0x31d)](_0x2d186f);}}var _0xd76888=Object[_0x475329(0x3cb)],_0x32ce07=(_0xdbbcfe,_0x43003a,_0x58857e,_0xc50726)=>{const _0x53877f=_0x475329;for(var _0x593fc5=_0xc50726>0x1?void 0x0:_0xc50726?_0xd76888(_0x43003a,_0x58857e):_0x43003a,_0x4a8b93=_0xdbbcfe[_0x53877f(0x1b8)]-0x1,_0x3581f1;_0x4a8b93>=0x0;_0x4a8b93--)(_0x3581f1=_0xdbbcfe[_0x4a8b93])&&(_0x593fc5=_0x3581f1(_0x593fc5)||_0x593fc5);return _0x593fc5;},_0x5a84bd=(_0x2732ee,_0x4df676)=>(_0x12a6cf,_0x2166e3)=>_0x4df676(_0x12a6cf,_0x2166e3,_0x2732ee);const _0x57f70e=0x12c,_0x4f6232=0x64;let _0xcca2e7=class extends _0x20124e[_0x475329(0x312)]{constructor(_0x265c94,_0x3478d5,_0x463c82,_0x539977,_0x6a9a1a,_0x264e9b,_0x2d16fb,_0x81c239,_0xc2e5a5){const _0x424751=_0x475329;super(),_0x198abe(this,_0x424751(0x2a4),!0x1),_0x198abe(this,_0x424751(0x375),!0x1),_0x198abe(this,'_cursorInfo$',new _0x30408e[(_0x424751(0x36e))](new Map())),_0x198abe(this,_0x424751(0x2f8),this[_0x424751(0x278)][_0x424751(0x1ce)]()),_0x198abe(this,'_roomMembers$',new _0x30408e[(_0x424751(0x36e))]([])),_0x198abe(this,_0x424751(0x337),this['_roomMembers$'][_0x424751(0x189)](_0x30408e[_0x424751(0x286)](_0x57f70e))),_0x198abe(this,_0x424751(0x1c2),_0x20124e[_0x424751(0x1f4)](_0x57bbfe=>{const _0x5a39a3=_0x424751,_0x3ffb07={'eventID':_0x299488[_0x5a39a3(0x242)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5a39a3(0x34a)],'memberID':this[_0x5a39a3(0x3cc)][_0x5a39a3(0x19a)](),'selection':_0x67f04a(_0x57bbfe)}};this[_0x5a39a3(0x3cc)][_0x5a39a3(0x22f)](_0x3ffb07,this[_0x5a39a3(0x34a)]);},_0x4f6232)),(this[_0x424751(0x34a)]=_0x265c94,this[_0x424751(0x3cc)]=_0x3478d5,this[_0x424751(0x22d)]=_0x463c82,this[_0x424751(0x196)]=_0x539977,this[_0x424751(0x2ec)]=_0x6a9a1a,this['_syncEditingCollabCursorService']=_0x264e9b,this['_transformService']=_0x2d16fb,this[_0x424751(0x2d5)]=_0x81c239,this[_0x424751(0x1b5)]=_0xc2e5a5);}get[_0x475329(0x14b)](){const _0x14a94e=_0x475329;return this[_0x14a94e(0x278)][_0x14a94e(0x1d9)]();}get['roomMembers'](){const _0x32af3b=_0x475329;return this['_roomMembers$'][_0x32af3b(0x1d9)]();}[_0x475329(0x258)](){const _0x4edfb4=_0x475329;super[_0x4edfb4(0x258)](),this[_0x4edfb4(0x278)][_0x4edfb4(0x31d)](new Map()),this['_cursorInfo$'][_0x4edfb4(0x214)](),this['_roomMembers$'][_0x4edfb4(0x31d)]([]),this[_0x4edfb4(0x3ce)]['complete']();}[_0x475329(0x24f)](){const _0x552fd6=_0x475329;this['_init']||(this[_0x552fd6(0x375)]=!0x0,this[_0x552fd6(0x3cc)][_0x552fd6(0x150)][_0x552fd6(0x189)](_0x30408e[_0x552fd6(0x198)](this['dispose$']))[_0x552fd6(0x34c)](_0x43c268=>{const _0xf94785=_0x552fd6;_0x43c268===_0x5375bb['SessionStatus'][_0xf94785(0x2a3)]?this[_0xf94785(0x37c)]():this[_0xf94785(0x38c)]();}),this[_0x552fd6(0x3cc)][_0x552fd6(0x23d)]['pipe'](_0x30408e[_0x552fd6(0x198)](this[_0x552fd6(0x1a1)]))['subscribe'](_0x159696=>{const _0x14725a=_0x552fd6,_0x522fa7=_0x159696[_0x14725a(0x22b)];_0x522fa7===_0x299488['CollaborationEvent'][_0x14725a(0x384)]&&this['_onCursorUpdate'](_0x159696),_0x522fa7===_0x299488[_0x14725a(0x242)]['USERS_LEAVE']&&this[_0x14725a(0x324)](_0x159696);}),this[_0x552fd6(0x13a)](this[_0x552fd6(0x1b5)][_0x552fd6(0x280)](_0x49190f=>{const _0x180a47=_0x552fd6,_0x2cd3d6=_0x49190f[_0x180a47(0x169)];_0x2cd3d6!=null&&this['_online']&&_0x49190f['id']===_0x3e301b['SetTextSelectionsOperation']['id']&&_0x2cd3d6[_0x180a47(0x36a)]===this[_0x180a47(0x34a)]&&_0x2cd3d6[_0x180a47(0x3c8)]===!0x1&&_0x2cd3d6['ranges'][_0x180a47(0x1b8)]>0x0&&this[_0x180a47(0x1c2)](_0x2cd3d6['ranges']);})),this[_0x552fd6(0x263)][_0x552fd6(0x1a7)]['pipe'](_0x30408e[_0x552fd6(0x198)](this[_0x552fd6(0x1a1)]))['subscribe'](_0x400892=>{const _0x800add=_0x552fd6;if((_0x400892==null?void 0x0:_0x400892[_0x800add(0x34a)])!==this['unitID'])return;const _0x4bf129={'eventID':_0x299488['CollaborationEvent'][_0x800add(0x384)],'data':_0x400892};this[_0x800add(0x1f3)](_0x4bf129);}),this[_0x552fd6(0x13a)](this[_0x552fd6(0x1b5)][_0x552fd6(0x280)](_0x42731f=>{const _0x5b72cb=_0x552fd6;if(_0x42731f['params']==null)return;const _0x45c0e8=_0x42731f[_0x5b72cb(0x169)];if(_0x42731f['id']!==_0x3e301b[_0x5b72cb(0x272)]['id']||_0x45c0e8['unitId']!==this[_0x5b72cb(0x34a)])return;const _0x1b6e26={'id':'doc.mutation.rich-text-editing','params':_0x45c0e8},_0x3226f7=this['cursorInfo'];for(const [_0x176f8d,_0x499386]of _0x3226f7){const _0x58d21d={'id':_0x5b72cb(0x210),'params':{'unitId':this[_0x5b72cb(0x34a)],'actions':null,'textRanges':_0x499386[_0x5b72cb(0x3ed)]}},_0x526ea6=this['_transformService'][_0x5b72cb(0x217)](_0x1b6e26,_0x58d21d,!0x1);if(_0x299488[_0x5b72cb(0x175)](_0x526ea6))throw _0x526ea6['error'];_0x3226f7['set'](_0x176f8d,{..._0x499386,'ranges':_0x526ea6[_0x5b72cb(0x313)][_0x5b72cb(0x169)][_0x5b72cb(0x1d2)]});}queueMicrotask(()=>{const _0x1e0979=_0x5b72cb;this[_0x1e0979(0x278)][_0x1e0979(0x31d)](_0x3226f7);});})));}[_0x475329(0x1f3)](_0x451039){const _0x248d16=_0x475329;var _0x3bd497,_0x2342e0;const {memberID:_0xf6a1d7,selection:_0x9f6a1a}=_0x451039['data'],_0x1b9d27=_0x57a97d(_0x9f6a1a),_0x19cf6a=(_0x2342e0=(_0x3bd497=this[_0x248d16(0x2ec)][_0x248d16(0x354)](this[_0x248d16(0x34a)],_0xf6a1d7))==null?void 0x0:_0x3bd497[_0x248d16(0x397)])!=null?_0x2342e0:_0x248d16(0x2f2),_0x18e773={'color':this[_0x248d16(0x196)][_0x248d16(0x139)](_0xf6a1d7),'name':_0x19cf6a,'ranges':_0x1b9d27},_0x1dceb1=this[_0x248d16(0x14b)];_0x1dceb1[_0x248d16(0x32f)](_0xf6a1d7,_0x18e773),this[_0x248d16(0x278)][_0x248d16(0x31d)](_0x1dceb1);}['_onCursorDelete'](_0x1c22cb){const _0x30a851=_0x475329,{memberID:_0x5ec7ae}=_0x1c22cb['data'],_0x3731d8=this[_0x30a851(0x14b)];_0x3731d8[_0x30a851(0x3ab)](_0x5ec7ae),this[_0x30a851(0x278)][_0x30a851(0x31d)](_0x3731d8);}[_0x475329(0x37c)](){const _0x349fa0=_0x475329;var _0x1ccab1;if(this['_online']=!0x0,((_0x1ccab1=this[_0x349fa0(0x2d5)][_0x349fa0(0x2f1)]())==null?void 0x0:_0x1ccab1[_0x349fa0(0x2de)]())!==this[_0x349fa0(0x34a)])return;const _0x24c185=this['_injector'][_0x349fa0(0x37e)](_0x3e301b[_0x349fa0(0x149)])[_0x349fa0(0x3d9)]();Array[_0x349fa0(0x18d)](_0x24c185)&&_0x24c185[_0x349fa0(0x1b8)]>0x0&&this[_0x349fa0(0x1c2)](_0x24c185);}['_toggleOffline'](){const _0x3e074e=_0x475329;this[_0x3e074e(0x2a4)]=!0x1;}};_0xcca2e7=_0x32ce07([_0x5a84bd(0x2,_0x20124e['Inject'](_0x20124e['Injector'])),_0x5a84bd(0x3,_0x20124e[_0x475329(0x31f)](_0x108c77)),_0x5a84bd(0x4,_0x20124e[_0x475329(0x31f)](_0x5375bb[_0x475329(0x2dd)])),_0x5a84bd(0x5,_0x20124e[_0x475329(0x31f)](_0x206e4e)),_0x5a84bd(0x6,_0x299488['ITransformService']),_0x5a84bd(0x7,_0x20124e[_0x475329(0x3a5)]),_0x5a84bd(0x8,_0x20124e['ICommandService'])],_0xcca2e7);var _0x481c40=Object[_0x475329(0x3cb)],_0x2b73e1=(_0x4d65ee,_0xead17,_0x35a68c,_0x528fcf)=>{const _0x4f08c3=_0x475329;for(var _0x137d7a=_0x528fcf>0x1?void 0x0:_0x528fcf?_0x481c40(_0xead17,_0x35a68c):_0xead17,_0x10652d=_0x4d65ee[_0x4f08c3(0x1b8)]-0x1,_0x5ea4c6;_0x10652d>=0x0;_0x10652d--)(_0x5ea4c6=_0x4d65ee[_0x10652d])&&(_0x137d7a=_0x5ea4c6(_0x137d7a)||_0x137d7a);return _0x137d7a;},_0x94e247=(_0x565fb6,_0x1600e1)=>(_0x53a456,_0x2d6633)=>_0x1600e1(_0x53a456,_0x2d6633,_0x565fb6);const _0x117849=0x12c,_0x581903=0x64,_0x17d320=()=>{let _0x17903a=[],_0xea2982=!0x1;return _0x1ea09c=>{const _0x550fa3=_0x3097;_0x17903a[_0x550fa3(0x39b)](_0x1ea09c),_0xea2982||(_0xea2982=!0x0,setTimeout(()=>{const _0x3d5422=_0x550fa3;_0x17903a[_0x3d5422(0x303)](_0x393f43=>_0x393f43()),_0x17903a=[],_0xea2982=!0x1;}));};};let _0x4e2cd6=class extends _0x20124e[_0x475329(0x312)]{constructor(_0x16b976,_0x33b09e,_0x106e92,_0x3ce653,_0x24d370,_0x57725e,_0x407a82,_0xb29af6){const _0x3b0a7e=_0x475329;super(),_0x198abe(this,_0x3b0a7e(0x2a4),!0x1),_0x198abe(this,_0x3b0a7e(0x375),!0x1),_0x198abe(this,_0x3b0a7e(0x278),new _0x30408e[(_0x3b0a7e(0x36e))](new Map())),_0x198abe(this,_0x3b0a7e(0x2f8),this[_0x3b0a7e(0x278)][_0x3b0a7e(0x1ce)]()),_0x198abe(this,_0x3b0a7e(0x3ce),new _0x30408e['BehaviorSubject']([])),_0x198abe(this,_0x3b0a7e(0x337),this[_0x3b0a7e(0x3ce)]['pipe'](_0x30408e[_0x3b0a7e(0x286)](_0x117849))),_0x198abe(this,_0x3b0a7e(0x1c2),_0x20124e['debounce']((_0xeabc3c,_0x5626ba)=>{const _0x4d4ea8=_0x3b0a7e,_0x6472b={'eventID':_0x299488[_0x4d4ea8(0x242)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4d4ea8(0x34a)],'memberID':this[_0x4d4ea8(0x3cc)][_0x4d4ea8(0x19a)](),'selection':_0xf466d3[_0x4d4ea8(0x369)](_0xeabc3c,_0x5626ba['range'])}};this[_0x4d4ea8(0x3cc)][_0x4d4ea8(0x22f)](_0x6472b,this[_0x4d4ea8(0x34a)]);},_0x581903)),(this[_0x3b0a7e(0x34a)]=_0x16b976,this[_0x3b0a7e(0x3cc)]=_0x33b09e,this['_injector']=_0x106e92,this[_0x3b0a7e(0x196)]=_0x3ce653,this[_0x3b0a7e(0x2ec)]=_0x24d370,this[_0x3b0a7e(0x2d5)]=_0x57725e,this[_0x3b0a7e(0x1b5)]=_0x407a82,this['_refRangeService']=_0xb29af6);}get[_0x475329(0x14b)](){const _0x4b9926=_0x475329;return this[_0x4b9926(0x278)][_0x4b9926(0x1d9)]();}get[_0x475329(0x348)](){const _0x162222=_0x475329;return this[_0x162222(0x3ce)][_0x162222(0x1d9)]();}[_0x475329(0x258)](){const _0x43ade2=_0x475329;super['dispose'](),this[_0x43ade2(0x278)][_0x43ade2(0x31d)](new Map()),this['_cursorInfo$'][_0x43ade2(0x214)](),this[_0x43ade2(0x3ce)][_0x43ade2(0x31d)]([]),this[_0x43ade2(0x3ce)][_0x43ade2(0x214)]();}[_0x475329(0x24f)](){const _0x48fbbe=_0x475329;this[_0x48fbbe(0x375)]||(this['_init']=!0x0,this[_0x48fbbe(0x3cc)][_0x48fbbe(0x150)][_0x48fbbe(0x189)](_0x30408e['takeUntil'](this[_0x48fbbe(0x1a1)]))['subscribe'](_0x81aaae=>{const _0x2b8c95=_0x48fbbe;_0x81aaae===_0x5375bb[_0x2b8c95(0x38b)][_0x2b8c95(0x2a3)]?this[_0x2b8c95(0x37c)]():this[_0x2b8c95(0x38c)]();}),this[_0x48fbbe(0x3cc)][_0x48fbbe(0x23d)][_0x48fbbe(0x189)](_0x30408e[_0x48fbbe(0x198)](this[_0x48fbbe(0x1a1)]))[_0x48fbbe(0x34c)](_0x4526eb=>{const _0x5ca961=_0x48fbbe,_0x338b0f=_0x4526eb[_0x5ca961(0x22b)];_0x338b0f===_0x299488[_0x5ca961(0x242)][_0x5ca961(0x384)]&&this['_onCursorUpdate'](_0x4526eb),_0x338b0f===_0x299488['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x4526eb);}),this['_onRefRangeChange'](),this[_0x48fbbe(0x13a)](this[_0x48fbbe(0x1b5)]['onCommandExecuted'](_0x41df89=>{const _0x291360=_0x48fbbe;if(this['_online']&&_0x41df89['id']===_0x50fd9b[_0x291360(0x22e)]['id']&&_0x41df89[_0x291360(0x169)][_0x291360(0x36a)]===this[_0x291360(0x34a)]){const _0xf49802=_0x41df89[_0x291360(0x169)];this['_updateLocalCursor'](_0xf49802[_0x291360(0x25d)],_0xf49802[_0x291360(0x322)][0x0]);}})));}['_onCursorUpdate'](_0x45ecfc){const _0x3b8d31=_0x475329;var _0x385353,_0x24c5cf;const {memberID:_0x194388,selection:_0x388760}=_0x45ecfc['data'],{sheetName:_0x45f430,range:_0x30534d}=_0xf466d3['deserializeRangeWithSheet'](_0x388760),_0x41202b={'name':(_0x24c5cf=(_0x385353=this['_memberService'][_0x3b8d31(0x354)](this[_0x3b8d31(0x34a)],_0x194388))==null?void 0x0:_0x385353['name'])!=null?_0x24c5cf:_0x3b8d31(0x2f2),'range':this[_0x3b8d31(0x2e4)](_0x45f430,_0x30534d),'sheetID':_0x45f430,'color':this[_0x3b8d31(0x196)]['assignAColorForMemberID'](_0x194388),'selection':_0x388760},_0x42b26a=this[_0x3b8d31(0x14b)];_0x42b26a[_0x3b8d31(0x32f)](_0x194388,_0x41202b),this['_cursorInfo$'][_0x3b8d31(0x31d)](_0x42b26a);}['_onCursorDelete'](_0x661551){const _0x268032=_0x475329,{memberID:_0x5d6bee}=_0x661551[_0x268032(0x2e2)],_0x17264e=this['cursorInfo'];_0x17264e[_0x268032(0x3ab)](_0x5d6bee),this['_cursorInfo$'][_0x268032(0x31d)](_0x17264e);}[_0x475329(0x2e4)](_0x2ecda1,_0x46f97f){const _0x175d22=_0x475329;var _0x8af68c,_0xce92ea;const _0x2ccf96=(_0xce92ea=(_0x8af68c=this['_univerInstanceService'][_0x175d22(0x179)](this[_0x175d22(0x34a)]))==null?void 0x0:_0x8af68c[_0x175d22(0x362)](_0x2ecda1))==null?void 0x0:_0xce92ea['getMergeData']();return(_0x2ccf96==null?void 0x0:_0x2ccf96[_0x175d22(0x27c)](_0x18d257=>_0x20124e['Rectangle'][_0x175d22(0x18f)](_0x18d257,_0x46f97f)))||_0x46f97f;}['_onRefRangeChange'](){const _0x12f834=_0x475329,_0x33981e=new _0x20124e[(_0x12f834(0x1e4))](),_0x23903f=_0x17d320(),_0x2b116f=()=>{const _0x2b043b=_0x12f834;_0x33981e[_0x2b043b(0x258)]();const _0x5b39e3=(_0x5b1ef9,_0x313e4e,_0x494c1b,_0x31247a)=>{const _0x325816=_0x2b043b;let _0x2358c5=[];switch(_0x5b1ef9['id']){case _0x50fd9b[_0x325816(0x245)][_0x325816(0x183)]:{_0x2358c5=_0x50fd9b[_0x325816(0x240)](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b[_0x325816(0x245)][_0x325816(0x321)]:{_0x2358c5=_0x50fd9b[_0x325816(0x1f5)](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b[_0x325816(0x245)][_0x325816(0x1cc)]:{_0x2358c5=_0x50fd9b[_0x325816(0x148)](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b[_0x325816(0x245)][_0x325816(0x193)]:{_0x2358c5=_0x50fd9b[_0x325816(0x26b)](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b[_0x325816(0x245)]['InsertRangeMoveRightCommandId']:{_0x2358c5=_0x50fd9b[_0x325816(0x171)](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b[_0x325816(0x245)][_0x325816(0x340)]:{_0x2358c5=_0x50fd9b[_0x325816(0x2f5)](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b[_0x325816(0x245)][_0x325816(0x37b)]:{_0x2358c5=_0x50fd9b[_0x325816(0x355)](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b['EffectRefRangId'][_0x325816(0x36d)]:{_0x2358c5=_0x50fd9b['handleIRemoveCol'](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b[_0x325816(0x245)][_0x325816(0x39f)]:{_0x2358c5=_0x50fd9b[_0x325816(0x155)](_0x5b1ef9,_0x31247a);break;}}const _0x53cf49=_0x50fd9b[_0x325816(0x361)](_0x2358c5,_0x31247a),_0x4f72a9=this[_0x325816(0x14b)]['get'](_0x313e4e);if(_0x4f72a9&&_0x53cf49){const _0x1f631a={..._0x4f72a9,'range':_0x53cf49};this['cursorInfo'][_0x325816(0x32f)](_0x313e4e,_0x1f631a),_0x23903f(()=>{const _0x5e0a83=_0x325816,_0x433b07=this['_refRangeService'][_0x5e0a83(0x352)](_0x53cf49,_0x544376=>(_0x433b07[_0x5e0a83(0x258)](),_0x5b39e3(_0x544376,_0x313e4e,_0x494c1b,_0x53cf49)));_0x33981e[_0x5e0a83(0x2e8)](_0x433b07);});}return{'redos':[],'undos':[]};};this[_0x2b043b(0x14b)]['forEach']((_0x2e72d3,_0x14aeb7)=>{const _0x53d442=_0x2b043b,{range:_0x21b77d,sheetID:_0x584a97}=_0x2e72d3,_0x1d50d8=this[_0x53d442(0x24e)][_0x53d442(0x352)](_0x21b77d,_0x558b2b=>(_0x1d50d8[_0x53d442(0x258)](),_0x5b39e3(_0x558b2b,_0x14aeb7,_0x584a97,_0x21b77d)));_0x33981e['add'](_0x1d50d8);});};this[_0x12f834(0x13a)](_0x20124e[_0x12f834(0x1c3)](this[_0x12f834(0x278)][_0x12f834(0x34c)](()=>{_0x2b116f();})));}['_toggleOnline'](){const _0x17ce25=_0x475329;var _0x2daff1,_0x3edba3;if(this[_0x17ce25(0x2a4)]=!0x0,((_0x2daff1=this['_univerInstanceService'][_0x17ce25(0x2f1)]())==null?void 0x0:_0x2daff1[_0x17ce25(0x2de)]())!==this[_0x17ce25(0x34a)])return;const _0x4409cc=(_0x3edba3=this['_injector'][_0x17ce25(0x37e)](_0x50fd9b[_0x17ce25(0x260)])[_0x17ce25(0x328)]())==null?void 0x0:_0x3edba3[0x0],_0x2c6470=this['_univerInstanceService'][_0x17ce25(0x33b)](_0x20124e[_0x17ce25(0x1da)][_0x17ce25(0x3aa)])[_0x17ce25(0x32d)]();_0x4409cc&&_0x2c6470&&this[_0x17ce25(0x1c2)](_0x2c6470[_0x17ce25(0x398)](),_0x4409cc);}[_0x475329(0x38c)](){const _0x2f7ccd=_0x475329;this[_0x2f7ccd(0x2a4)]=!0x1;}};_0x4e2cd6=_0x2b73e1([_0x94e247(0x2,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x1b9)])),_0x94e247(0x3,_0x20124e[_0x475329(0x31f)](_0x108c77)),_0x94e247(0x4,_0x20124e[_0x475329(0x31f)](_0x5375bb['MemberService'])),_0x94e247(0x5,_0x20124e[_0x475329(0x3a5)]),_0x94e247(0x6,_0x20124e[_0x475329(0x3e3)]),_0x94e247(0x7,_0x20124e[_0x475329(0x31f)](_0x50fd9b[_0x475329(0x271)]))],_0x4e2cd6);var _0x1031b0=Object[_0x475329(0x3cb)],_0x4202b9=(_0x2e4cf6,_0x2ba080,_0x2b3ffa,_0x493591)=>{const _0x107796=_0x475329;for(var _0x25b8e2=_0x493591>0x1?void 0x0:_0x493591?_0x1031b0(_0x2ba080,_0x2b3ffa):_0x2ba080,_0x5b8177=_0x2e4cf6[_0x107796(0x1b8)]-0x1,_0x4080fa;_0x5b8177>=0x0;_0x5b8177--)(_0x4080fa=_0x2e4cf6[_0x5b8177])&&(_0x25b8e2=_0x4080fa(_0x25b8e2)||_0x25b8e2);return _0x25b8e2;},_0x5bd0f2=(_0x59170f,_0x33c610)=>(_0x4ecf15,_0x5a3aaa)=>_0x33c610(_0x4ecf15,_0x5a3aaa,_0x59170f);let _0x165564=class extends _0x20124e[_0x475329(0x312)]{constructor(_0x244834,_0x5e7e8f,_0x5f0fe8){const _0x4ba054=_0x475329;super(),_0x198abe(this,_0x4ba054(0x3ad),new Map()),_0x198abe(this,_0x4ba054(0x346),new _0x30408e[(_0x4ba054(0x1b0))]()),(this[_0x4ba054(0x2d5)]=_0x244834,this['_injector']=_0x5e7e8f,this['_collabSessionService']=_0x5f0fe8,this[_0x4ba054(0x375)]());}[_0x475329(0x258)](){const _0xf032a1=_0x475329;super['dispose'](),this[_0xf032a1(0x346)][_0xf032a1(0x214)](),this[_0xf032a1(0x3ad)]['forEach'](_0x447808=>_0x447808[_0xf032a1(0x258)]());}[_0x475329(0x267)](_0x1ec4f1){const _0x2a59ca=_0x475329;return this[_0x2a59ca(0x3ad)][_0x2a59ca(0x1b1)](_0x1ec4f1)?this[_0x2a59ca(0x3ad)]['get'](_0x1ec4f1)[_0x2a59ca(0x2f8)]:this[_0x2a59ca(0x346)][_0x2a59ca(0x189)](_0x30408e[_0x2a59ca(0x246)](_0x4a5a95=>_0x4a5a95[_0x2a59ca(0x34a)]===_0x1ec4f1),_0x30408e[_0x2a59ca(0x2d0)](_0x2c9648=>_0x2c9648['cursorInfo$']));}[_0x475329(0x375)](){const _0x5d258d=_0x475329;this[_0x5d258d(0x2d5)][_0x5d258d(0x13f)](_0x20124e[_0x5d258d(0x1da)][_0x5d258d(0x3aa)])[_0x5d258d(0x189)](_0x30408e['takeUntil'](this[_0x5d258d(0x1a1)]))[_0x5d258d(0x34c)](async _0x38ca8e=>{const _0x1a590c=_0x5d258d,_0x143e9b=_0x38ca8e[_0x1a590c(0x2de)](),_0x3d844f=await this[_0x1a590c(0x1dc)](_0x143e9b);this['_entityInit$']['next'](_0x3d844f),this[_0x1a590c(0x3ad)][_0x1a590c(0x32f)](_0x143e9b,_0x3d844f);}),this[_0x5d258d(0x2d5)][_0x5d258d(0x13f)](_0x20124e['UniverInstanceType'][_0x5d258d(0x3ac)])[_0x5d258d(0x189)](_0x30408e[_0x5d258d(0x198)](this[_0x5d258d(0x1a1)]))[_0x5d258d(0x189)](_0x30408e[_0x5d258d(0x246)](_0xb3a0df=>!_0xb3a0df[_0x5d258d(0x2de)]()[_0x5d258d(0x2fa)]('__')))[_0x5d258d(0x34c)](async _0x48738c=>{const _0x460b26=_0x5d258d,_0x2600c6=_0x48738c[_0x460b26(0x2de)](),_0x8fdd44=await this[_0x460b26(0x194)](_0x2600c6);this[_0x460b26(0x346)][_0x460b26(0x31d)](_0x8fdd44),this['_entities'][_0x460b26(0x32f)](_0x2600c6,_0x8fdd44);}),_0x30408e[_0x5d258d(0x3a2)](this[_0x5d258d(0x2d5)][_0x5d258d(0x323)](_0x20124e['UniverInstanceType'][_0x5d258d(0x3ac)]),this[_0x5d258d(0x2d5)]['getTypeOfUnitDisposed$'](_0x20124e['UniverInstanceType']['UNIVER_SHEET']))['pipe'](_0x30408e[_0x5d258d(0x198)](this[_0x5d258d(0x1a1)]))[_0x5d258d(0x34c)](_0x1ff6f1=>{const _0x313727=_0x5d258d,_0x2cdcd6=_0x1ff6f1[_0x313727(0x2de)](),_0x5b3d9e=this['_entities']['get'](_0x2cdcd6);_0x5b3d9e&&(_0x5b3d9e[_0x313727(0x258)](),this['_entities']['delete'](_0x2cdcd6));});}async[_0x475329(0x1dc)](_0x49d3ae){const _0x24f762=_0x475329,_0x31a990=await this[_0x24f762(0x1fb)][_0x24f762(0x3da)](_0x49d3ae),_0x4633bd=this[_0x24f762(0x22d)][_0x24f762(0x3bc)](_0x4e2cd6,_0x49d3ae,_0x31a990);return _0x4633bd[_0x24f762(0x24f)](),_0x4633bd;}async['_startDocCollabCursor'](_0x18a4c1){const _0x199fad=_0x475329,_0xde6c52=await this['_collabSessionService'][_0x199fad(0x3da)](_0x18a4c1),_0x4fbbe0=this[_0x199fad(0x22d)][_0x199fad(0x3bc)](_0xcca2e7,_0x18a4c1,_0xde6c52);return _0x4fbbe0['init'](),_0x4fbbe0;}};_0x165564=_0x4202b9([_0x5bd0f2(0x0,_0x20124e[_0x475329(0x3a5)]),_0x5bd0f2(0x1,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x1b9)])),_0x5bd0f2(0x2,_0x20124e['Inject'](_0x5375bb[_0x475329(0x38f)]))],_0x165564);const _0x236d68=0x14,_0x5e7689=0xc8,_0x13cc15=0x4,_0x3a02c2=0x5;function _0x6e1649(_0x20f509,_0xf43028){const _0x4618e7=_0x475329;let {radius:_0x1dad52,width:_0x5f0168,height:_0x320a80}=_0xf43028;_0x1dad52=_0x1dad52!=null?_0x1dad52:0x0,_0x5f0168=_0x5f0168!=null?_0x5f0168:0x1e,_0x320a80=_0x320a80!=null?_0x320a80:0x1e;let _0x28d5a4=0x0,_0x3a2b46=0x0,_0x2f11dc=0x0;_0x28d5a4=_0x3a2b46=_0x2f11dc=Math[_0x4618e7(0x23b)](_0x1dad52,_0x5f0168/0x2,_0x320a80/0x2),_0x20f509['beginPath'](),_0x20f509[_0x4618e7(0x1f6)](_0x28d5a4,0x0),_0x20f509[_0x4618e7(0x2fd)](_0x5f0168-_0x3a2b46,0x0),_0x20f509[_0x4618e7(0x1ad)](_0x5f0168-_0x3a2b46,_0x3a2b46,_0x3a2b46,Math['PI']*0x3/0x2,0x0,!0x1),_0x20f509['lineTo'](_0x5f0168,_0x320a80-_0x2f11dc),_0x20f509[_0x4618e7(0x1ad)](_0x5f0168-_0x2f11dc,_0x320a80-_0x2f11dc,_0x2f11dc,0x0,Math['PI']/0x2,!0x1),_0x20f509[_0x4618e7(0x2fd)](0x0,_0x320a80),_0x20f509['lineTo'](0x0,_0x28d5a4),_0x20f509['arc'](_0x28d5a4,_0x28d5a4,_0x28d5a4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x20f509[_0x4618e7(0x23c)](),_0xf43028[_0x4618e7(0x350)]&&(_0x20f509[_0x4618e7(0x291)](),_0x20f509[_0x4618e7(0x147)]=_0xf43028[_0x4618e7(0x350)],_0xf43028[_0x4618e7(0x254)]==='evenodd'?_0x20f509[_0x4618e7(0x350)](_0x4618e7(0x3dc)):_0x20f509[_0x4618e7(0x350)](),_0x20f509['restore']());}class _0x7097d3 extends _0x3289d1[_0x475329(0x273)]{constructor(_0x5ea3d0,_0x3148b5){const _0x43c6a0=_0x475329;super(_0x5ea3d0,_0x3148b5),_0x198abe(this,_0x43c6a0(0x2b8)),_0x198abe(this,'text'),(this[_0x43c6a0(0x2b8)]=_0x3148b5==null?void 0x0:_0x3148b5['color'],this['text']=_0x3148b5==null?void 0x0:_0x3148b5[_0x43c6a0(0x13c)]);}static[_0x475329(0x243)](_0x3592bf,_0x4f15ab){const _0x4042db=_0x475329,{text:_0x353e45,color:_0x1cf8b3}=_0x4f15ab;_0x3592bf[_0x4042db(0x291)](),_0x3592bf[_0x4042db(0x17d)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x59c84f=_0x3592bf[_0x4042db(0x2aa)](_0x353e45)[_0x4042db(0x304)],_0x218865=Math['min'](_0x59c84f+0x2*_0x13cc15,_0x5e7689);_0x6e1649(_0x3592bf,{'height':_0x236d68,'radius':0x4,'width':_0x218865,'fill':_0x1cf8b3}),_0x3592bf[_0x4042db(0x147)]='#FFF';const _0x1d8788=_0x13cc15,_0x56dd1e=_0x236d68-_0x3a02c2,_0x5cf533=_0x5e7689-0x2*_0x13cc15;if(_0x59c84f>_0x5cf533){let _0x49cfd0='',_0x17bda2=0x0;for(const _0x5e67ba of _0x353e45){const _0x3dc6ff=_0x3592bf[_0x4042db(0x2aa)](_0x5e67ba)[_0x4042db(0x304)];if(_0x17bda2+_0x3dc6ff<=_0x5cf533-_0x3592bf[_0x4042db(0x2aa)](_0x4042db(0x30c))[_0x4042db(0x304)])_0x49cfd0+=_0x5e67ba,_0x17bda2+=_0x3dc6ff;else{_0x49cfd0+='...';break;}}_0x3592bf[_0x4042db(0x2a5)](_0x49cfd0,_0x1d8788,_0x56dd1e);}else _0x3592bf[_0x4042db(0x2a5)](_0x353e45,_0x1d8788,_0x56dd1e);_0x3592bf['restore']();}[_0x475329(0x31c)](_0x3076b3){_0x7097d3['drawWith'](_0x3076b3,this);}}const _0x290433=_0x475329(0x253),_0x46a784=_0x475329(0x38e),_0x2fa626=_0x475329(0x15f),_0x5dd412=0x6,_0x52d655=1.5,_0x3b9ef6=0x4,_0x3d1fd5=1.5,_0x15b034='rgba(255,\x20255,\x20255,\x200.01)';class _0xb74f2a{constructor(_0x4f29ef,_0x4a21b6,_0x355a95,_0x344054){const _0x1d7b7d=_0x475329;_0x198abe(this,'_shapes',[]),_0x198abe(this,_0x1d7b7d(0x2d9),null),_0x198abe(this,_0x1d7b7d(0x1d7),null),_0x198abe(this,'_anchorDot',null),_0x198abe(this,_0x1d7b7d(0x383),null),_0x198abe(this,_0x1d7b7d(0x178),null),(this['_cursor']=_0x4f29ef,this[_0x1d7b7d(0x3b2)]=_0x4a21b6,this[_0x1d7b7d(0x3db)]=_0x355a95,this[_0x1d7b7d(0x26f)]=_0x344054,this[_0x1d7b7d(0x3b8)]());}set[_0x475329(0x234)](_0x755102){const _0x132335=_0x475329;_0x755102?(this['_anchorDot']&&this[_0x132335(0x225)][_0x132335(0x30b)](),this['_textBubble']&&this[_0x132335(0x1d7)][_0x132335(0x202)]()):(this[_0x132335(0x225)]&&this[_0x132335(0x225)]['show'](),this[_0x132335(0x1d7)]&&this[_0x132335(0x1d7)]['hide']());}[_0x475329(0x258)](){const _0x4df259=_0x475329;for(const _0x5e8dd9 of this[_0x4df259(0x1cb)])_0x5e8dd9[_0x4df259(0x258)]();this[_0x4df259(0x1d7)]&&this['_textBubble'][_0x4df259(0x258)](),this[_0x4df259(0x225)]&&this[_0x4df259(0x225)][_0x4df259(0x258)](),this[_0x4df259(0x2d9)]&&this[_0x4df259(0x2d9)][_0x4df259(0x258)](),this[_0x4df259(0x178)]&&this[_0x4df259(0x178)]();}[_0x475329(0x3b8)](){const _0x11efa9=_0x475329;var _0x3c445d;const {_docSkeleton:_0x52729f,_document:_0x5c40bd}=this,{color:_0x3fb74c,name:_0x574dba,ranges:_0x144106}=this[_0x11efa9(0x356)],_0x1bd136=_0x5c40bd['getOffsetConfig'](),{docsLeft:_0x349e63,docsTop:_0x31d7e8}=_0x1bd136,_0x55e065=new _0x1549a6[(_0x11efa9(0x34d))](_0x1bd136,_0x52729f);for(const {startOffset:_0x208c6f,endOffset:_0x354b1a,rangeType:_0x232de0,segmentId:_0x36fec1,segmentPage:_0x323b2b,collapsed:_0x33b610,isActive:_0x548df3}of _0x144106){const _0x376969=_0x52729f[_0x11efa9(0x33c)](_0x208c6f,!0x0,_0x36fec1,_0x323b2b);let _0x13c403=_0x52729f['findNodePositionByCharIndex'](_0x354b1a,!0x0,_0x36fec1,_0x323b2b);if(_0x13c403==null&&(_0x13c403=_0x52729f[_0x11efa9(0x33c)](_0x354b1a-0x1,!0x1,_0x36fec1,_0x323b2b)),_0x548df3){const {contentBoxPointGroup:_0x21e2a2}=_0x55e065[_0x11efa9(0x3b1)](_0x13c403,_0x13c403);if(_0x21e2a2['length']===0x0)continue;this[_0x11efa9(0x190)](_0x3fb74c,_0x21e2a2,_0x349e63,_0x31d7e8,_0x574dba),this[_0x11efa9(0x178)]=this['_handleHover']();}if(_0x376969&&_0x13c403){if(_0x232de0===_0x20124e[_0x11efa9(0x3e2)][_0x11efa9(0x28e)]){const _0x4ad095=new _0x1549a6[(_0x11efa9(0x3be))](_0x1bd136,_0x52729f),{pointGroup:_0x5f271e}=(_0x3c445d=_0x4ad095[_0x11efa9(0x3b1)](_0x376969,_0x13c403))!=null?_0x3c445d:{};if(_0x5f271e==null||_0x5f271e[_0x11efa9(0x1b8)]===0x0)continue;this['_drawRectRange'](_0x3fb74c,_0x5f271e,_0x349e63,_0x31d7e8);}else{if(!_0x33b610){const {borderBoxPointGroup:_0x5ced39}=_0x55e065[_0x11efa9(0x3b1)](_0x376969,_0x13c403);if(_0x5ced39[_0x11efa9(0x1b8)]===0x0)continue;this[_0x11efa9(0x3ef)](_0x3fb74c,_0x5ced39,_0x349e63,_0x31d7e8);}}}}}[_0x475329(0x190)](_0x51c177,_0x57a809,_0x346dd2,_0x2156b7,_0x17c693){const _0x4735d6=_0x475329,_0x10e43f=this[_0x4735d6(0x309)](_0x57a809),{left:_0x26ac7f,top:_0x4b39e1,height:_0x458fec}=_0x10e43f,_0x55c90d=this[_0x4735d6(0x38a)](),_0x1232ad=_0x3d1fd5/_0x55c90d,_0x164b3c=new _0x3289d1[(_0x4735d6(0x20f))](_0x290433+_0x20124e[_0x4735d6(0x1e1)](_0x5dd412),{'left':_0x26ac7f+_0x346dd2-_0x1232ad,'top':_0x4b39e1+_0x2156b7,'height':_0x458fec,'width':_0x52d655,'fill':_0x51c177||_0x3289d1['getColor'](_0x20124e[_0x4735d6(0x27e)][_0x4735d6(0x320)],0x0),'strokeWidth':_0x1232ad,'stroke':_0x15b034,'evented':!0x0});this[_0x4735d6(0x2d9)]=_0x164b3c,this[_0x4735d6(0x3b2)]['addObject'](_0x164b3c,_0x1549a6[_0x4735d6(0x2a0)]);const _0x5ca48d=new _0x3289d1[(_0x4735d6(0x20f))](_0x290433+_0x20124e[_0x4735d6(0x1e1)](_0x5dd412),{'left':_0x26ac7f+_0x346dd2-_0x1232ad,'top':_0x4b39e1+_0x2156b7-_0x3b9ef6/0x2,'height':_0x3b9ef6,'width':_0x3b9ef6,'fill':_0x51c177||_0x3289d1[_0x4735d6(0x276)](_0x20124e['COLORS'][_0x4735d6(0x320)],0x0),'strokeWidth':0x0,'stroke':_0x51c177||_0x3289d1[_0x4735d6(0x276)](_0x20124e['COLORS'][_0x4735d6(0x320)],0x0),'evented':!0x1});this[_0x4735d6(0x225)]=_0x5ca48d,this['_scene'][_0x4735d6(0x3af)](_0x5ca48d,_0x1549a6[_0x4735d6(0x2a0)]);const _0x25458c=new _0x7097d3(_0x290433+_0x20124e[_0x4735d6(0x1e1)](_0x5dd412),{'left':_0x26ac7f+_0x346dd2-_0x1232ad,'top':_0x4b39e1+_0x2156b7-_0x236d68,'text':_0x17c693,'color':_0x51c177});this['_textBubble']=_0x25458c,this[_0x4735d6(0x3b2)][_0x4735d6(0x3af)](_0x25458c,_0x1549a6['TEXT_RANGE_LAYER_INDEX']),this[_0x4735d6(0x234)]=!0x1;}[_0x475329(0x3e7)](){const _0x329279=_0x475329,_0x55fc89=this[_0x329279(0x2d9)][_0x329279(0x30e)]['subscribeEvent'](()=>{const _0x4dc383=_0x329279;this[_0x4dc383(0x234)]=!0x0;}),_0x2b2fe8=this['_anchor'][_0x329279(0x31a)][_0x329279(0x341)](()=>{const _0x339798=_0x329279;this[_0x339798(0x383)]&&clearTimeout(this[_0x339798(0x383)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x55fc89['unsubscribe'](),_0x2b2fe8['unsubscribe']();};}[_0x475329(0x3ef)](_0x4c9fce,_0xf5b83f,_0x105c19,_0x5cfd38){const _0x244418=_0x475329,_0x80c663=new _0x20124e['ColorKit'](_0x4c9fce)[_0x244418(0x279)](0.2)[_0x244418(0x295)](),_0x1a6f7b=new _0x3289d1[(_0x244418(0x31b))](_0x46a784+_0x20124e[_0x244418(0x1e1)](_0x5dd412),{'pointsGroup':_0xf5b83f,'fill':_0x80c663||_0x3289d1[_0x244418(0x276)](_0x20124e['COLORS'][_0x244418(0x320)],0.2),'left':_0x105c19,'top':_0x5cfd38,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x244418(0x1cb)][_0x244418(0x39b)](_0x1a6f7b),this['_scene']['addObject'](_0x1a6f7b,_0x1549a6[_0x244418(0x2a0)]);}[_0x475329(0x2c3)](_0x555526,_0x5d4398,_0x42165b,_0x51ace9){const _0x57fccc=_0x475329,_0x641c94=new _0x20124e['ColorKit'](_0x555526)[_0x57fccc(0x279)](0.2)[_0x57fccc(0x295)](),_0x484f01=new _0x3289d1[(_0x57fccc(0x31b))](_0x2fa626+_0x20124e[_0x57fccc(0x1e1)](_0x5dd412),{'pointsGroup':_0x5d4398,'fill':_0x641c94||_0x3289d1[_0x57fccc(0x276)](_0x20124e[_0x57fccc(0x27e)][_0x57fccc(0x320)],0.2),'left':_0x42165b,'top':_0x51ace9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x57fccc(0x1cb)][_0x57fccc(0x39b)](_0x484f01),this[_0x57fccc(0x3b2)][_0x57fccc(0x3af)](_0x484f01,_0x1549a6[_0x57fccc(0x2a0)]);}[_0x475329(0x309)](_0x47b270){const _0x3de802=_0x47b270[0x0],_0x580a84=_0x3de802[0x0],_0x7ae015=_0x3de802[0x2],{x:_0x5b44c3,y:_0x4a0460}=_0x580a84,{x:_0x3e074a,y:_0x3a8383}=_0x7ae015;return{'left':_0x5b44c3,'top':_0x4a0460,'width':_0x3e074a-_0x5b44c3,'height':_0x3a8383-_0x4a0460};}[_0x475329(0x38a)](){const _0x73065f=_0x475329,{scaleX:_0x126d95,scaleY:_0x5858a2}=this[_0x73065f(0x3b2)][_0x73065f(0x199)]();return Math[_0x73065f(0x17c)](_0x126d95,_0x5858a2);}}var _0xf131a7=Object[_0x475329(0x3cb)],_0x31056b=(_0x19d30f,_0x3efb03,_0x11c548,_0xd7277e)=>{const _0x495c45=_0x475329;for(var _0x4051db=_0xd7277e>0x1?void 0x0:_0xd7277e?_0xf131a7(_0x3efb03,_0x11c548):_0x3efb03,_0x1ecb9b=_0x19d30f[_0x495c45(0x1b8)]-0x1,_0x4106d8;_0x1ecb9b>=0x0;_0x1ecb9b--)(_0x4106d8=_0x19d30f[_0x1ecb9b])&&(_0x4051db=_0x4106d8(_0x4051db)||_0x4051db);return _0x4051db;},_0x3549ea=(_0x1674dd,_0x11f00e)=>(_0x12d1a9,_0xcc35da)=>_0x11f00e(_0x12d1a9,_0xcc35da,_0x1674dd);let _0x4bec33=class extends _0x20124e[_0x475329(0x312)]{constructor(_0x1d3da4,_0x592119,_0x28854b,_0x366d96,_0xd4fc6b){const _0x3181b3=_0x475329;super(),_0x198abe(this,_0x3181b3(0x2b3),[]),_0x198abe(this,_0x3181b3(0x296),[]),(this[_0x3181b3(0x2bb)]=_0x1d3da4,this['_docSkeletonManagerService']=_0x592119,this['_collabCursorController']=_0x28854b,this[_0x3181b3(0x1b5)]=_0x366d96,this[_0x3181b3(0x1ba)]=_0xd4fc6b,this[_0x3181b3(0x375)]());}['_init'](){const _0x476d41=_0x475329,_0x5c4f03=this[_0x476d41(0x2bb)]['unitId'],_0x2dc9af=this[_0x476d41(0x3f0)];this[_0x476d41(0x13a)](_0x30408e[_0x476d41(0x1b4)]([this['_collabCursorController'][_0x476d41(0x267)](_0x5c4f03),this[_0x476d41(0x1ba)]['currentTheme$']])['pipe'](_0x3cd24d[_0x476d41(0x1aa)](([_0x2132ec,_0x27e912])=>({'skeleton':_0x2dc9af[_0x476d41(0x15a)](),'cursors':[..._0x2132ec['values']()][_0x476d41(0x230)](_0x33ce97=>({..._0x33ce97,'color':this['_themeService'][_0x476d41(0x2dc)](_0x33ce97[_0x476d41(0x2b8)])}))})))['subscribe'](_0x3a7f30=>{const _0x38aa72=_0x476d41;if(this['_removeCollabCursors'](),_0x3a7f30){const {skeleton:_0x204d78,cursors:_0x2628e8}=_0x3a7f30;this[_0x38aa72(0x2c4)](_0x204d78,_0x2628e8);}})),this[_0x476d41(0x344)](),this[_0x476d41(0x2f0)]();}['_updateCollabCursors'](_0x448eb6,_0x48182a){const _0x20a4dc=_0x475329,{scene:_0x31f126,mainComponent:_0x23070b}=this[_0x20a4dc(0x2bb)],_0x38faf4=_0x48182a[_0x20a4dc(0x1aa)](_0x4f75b4=>new _0xb74f2a(_0x4f75b4,_0x31f126,_0x448eb6,_0x23070b));this[_0x20a4dc(0x2b3)]=_0x38faf4,this[_0x20a4dc(0x296)]=_0x48182a;}[_0x475329(0x1d4)](){const _0x14b055=_0x475329;this['_removeCollabCursors']();const {scene:_0x2534bc,mainComponent:_0x1725b6}=this[_0x14b055(0x2bb)],_0x3050bc=this[_0x14b055(0x3f0)][_0x14b055(0x15a)](),_0x30a998=this[_0x14b055(0x296)]['map'](_0x5ab306=>new _0xb74f2a(_0x5ab306,_0x2534bc,_0x3050bc,_0x1725b6));this[_0x14b055(0x2b3)]=_0x30a998;}[_0x475329(0x15d)](){const _0x3b26d9=_0x475329;this[_0x3b26d9(0x2b3)]['forEach'](_0x4e8821=>_0x4e8821[_0x3b26d9(0x258)]()),this[_0x3b26d9(0x2b3)]=[];}[_0x475329(0x2f0)](){const _0x6b5226=_0x475329,_0x46e61e=[_0x1549a6[_0x6b5226(0x3eb)]['id']];this['disposeWithMe'](this['_commandService'][_0x6b5226(0x280)](_0x3f31fe=>{const _0x1928c7=_0x6b5226;_0x46e61e[_0x1928c7(0x25f)](_0x3f31fe['id'])&&_0x3f31fe['params']['unitId']===this['_context'][_0x1928c7(0x36a)]&&this[_0x1928c7(0x1d4)]();}));}[_0x475329(0x344)](){const _0x2a230d=_0x475329;this[_0x2a230d(0x13a)](_0x20124e[_0x2a230d(0x237)](this['_context']['engine'][_0x2a230d(0x1a5)])['pipe'](_0x3cd24d[_0x2a230d(0x246)](_0x4f3b15=>_0x4f3b15['type']===_0x3289d1[_0x2a230d(0x319)][_0x2a230d(0x1bc)]),_0x3cd24d[_0x2a230d(0x2d3)](0x10))[_0x2a230d(0x34c)](()=>{this['_refreshCollabCursors']();}));}};_0x4bec33=_0x31056b([_0x3549ea(0x1,_0x20124e[_0x475329(0x31f)](_0x3e301b[_0x475329(0x2c9)])),_0x3549ea(0x2,_0x20124e[_0x475329(0x31f)](_0x165564)),_0x3549ea(0x3,_0x20124e[_0x475329(0x3e3)]),_0x3549ea(0x4,_0x20124e['Inject'](_0x20124e[_0x475329(0x1f7)]))],_0x4bec33);const _0xe08e1b=0x1,_0x1ee4e3=1.5;class _0xef8ec8 extends _0x3289d1[_0x475329(0x273)]{constructor(_0x43217d,_0x10b414){const _0x32a4ce=_0x475329;super(_0x43217d,_0x10b414),_0x198abe(this,_0x32a4ce(0x173)),_0x198abe(this,_0x32a4ce(0x21a),!0x1),_0x198abe(this,_0x32a4ce(0x16b)),_0x198abe(this,_0x32a4ce(0x3c4),''),_0x198abe(this,_0x32a4ce(0x1e3),'top'),_0x198abe(this,_0x32a4ce(0x22c)),(_0x10b414&&this['setShapeProps'](_0x10b414),this[_0x32a4ce(0x30e)][_0x32a4ce(0x341)](()=>this[_0x32a4ce(0x380)]({'hovered':!0x0})),this[_0x32a4ce(0x31a)][_0x32a4ce(0x341)](()=>this[_0x32a4ce(0x380)]({'hovered':!0x1})));}[_0x475329(0x380)](_0x4243fc){const _0x25d2ed=_0x475329;var _0x5d8b87,_0x38dae3,_0x4cd1cb,_0x1806ba,_0x513d97,_0x1b1651;this[_0x25d2ed(0x173)]=(_0x5d8b87=_0x4243fc[_0x25d2ed(0x2b8)])!=null?_0x5d8b87:this['_color'],this['_hovered']=(_0x38dae3=_0x4243fc['hovered'])!=null?_0x38dae3:this[_0x25d2ed(0x21a)],this[_0x25d2ed(0x16b)]=(_0x4cd1cb=_0x4243fc[_0x25d2ed(0x1ed)])!=null?_0x4cd1cb:this[_0x25d2ed(0x16b)],this['_name']=(_0x1806ba=_0x4243fc[_0x25d2ed(0x397)])!=null?_0x1806ba:this[_0x25d2ed(0x3c4)],this[_0x25d2ed(0x1e3)]=(_0x513d97=_0x4243fc['labelPosition'])!=null?_0x513d97:this['_labelPosition'],this[_0x25d2ed(0x22c)]=(_0x1b1651=_0x4243fc['backgroundColor'])!=null?_0x1b1651:this[_0x25d2ed(0x22c)],this[_0x25d2ed(0x3f1)]({'width':_0x4243fc[_0x25d2ed(0x304)],'height':_0x4243fc[_0x25d2ed(0x310)]});}['onMouseMove'](_0x254113){const _0x3c9e0a=_0x475329,{row:_0x104147,column:_0x2f3351}=_0x254113;if(_0x104147>=this[_0x3c9e0a(0x16b)][_0x3c9e0a(0x285)]&&_0x104147<=this['_range']['endRow']&&_0x2f3351>=this[_0x3c9e0a(0x16b)][_0x3c9e0a(0x2d4)]&&_0x2f3351<=this[_0x3c9e0a(0x16b)][_0x3c9e0a(0x1fd)]){this[_0x3c9e0a(0x380)]({'hovered':!0x0});return;}this[_0x3c9e0a(0x380)]({'hovered':!0x1});}[_0x475329(0x164)](_0x373a12){return!0x1;}[_0x475329(0x31c)](_0x5d0886){const _0x26f127=_0x475329;_0x3289d1[_0x26f127(0x20f)][_0x26f127(0x243)](_0x5d0886,{'width':this[_0x26f127(0x304)],'height':this[_0x26f127(0x310)],'strokeWidth':_0x1ee4e3,'stroke':this[_0x26f127(0x173)],'evented':!0x1,'fill':this[_0x26f127(0x22c)]}),this[_0x26f127(0x21a)]&&(_0x5d0886[_0x26f127(0x291)](),_0x5d0886[_0x26f127(0x2cb)](0x1,0x0,0x0,0x1,this[_0x26f127(0x304)],this[_0x26f127(0x1e3)]===_0x26f127(0x15b)?0x0:-_0x236d68),_0x7097d3['drawWith'](_0x5d0886,{'text':this[_0x26f127(0x3c4)],'color':this[_0x26f127(0x173)]}),_0x5d0886[_0x26f127(0x1b7)]());}}var _0x15b122=Object[_0x475329(0x3cb)],_0x49d9f1=(_0x28bb40,_0x2bc8d7,_0xa57ad2,_0x4c1c17)=>{const _0x2e83cd=_0x475329;for(var _0x301568=_0x4c1c17>0x1?void 0x0:_0x4c1c17?_0x15b122(_0x2bc8d7,_0xa57ad2):_0x2bc8d7,_0x5d1728=_0x28bb40[_0x2e83cd(0x1b8)]-0x1,_0x4bd3ef;_0x5d1728>=0x0;_0x5d1728--)(_0x4bd3ef=_0x28bb40[_0x5d1728])&&(_0x301568=_0x4bd3ef(_0x301568)||_0x301568);return _0x301568;},_0x909b27=(_0x4df22a,_0x21d93d)=>(_0x3d2fa0,_0x40100b)=>_0x21d93d(_0x3d2fa0,_0x40100b,_0x4df22a);const _0x5cc55a=0x1389;let _0x43c08b=class extends _0x20124e['RxDisposable']{constructor(_0x460063,_0x59c439,_0x4ef4e3,_0x51800a){const _0x11b042=_0x475329;super(),_0x198abe(this,_0x11b042(0x296),new Set()),_0x198abe(this,_0x11b042(0x1f9),null),(this[_0x11b042(0x2bb)]=_0x460063,this[_0x11b042(0x19f)]=_0x59c439,this[_0x11b042(0x1e7)]=_0x4ef4e3,this['_themeService']=_0x51800a,this[_0x11b042(0x375)]());}[_0x475329(0x375)](){const _0x9e8961=_0x475329;this[_0x9e8961(0x19f)]['currentSkeleton$'][_0x9e8961(0x189)](_0x3cd24d[_0x9e8961(0x198)](this[_0x9e8961(0x1a1)]),_0x3cd24d[_0x9e8961(0x2d0)](_0x34cf90=>{const _0x27646d=_0x9e8961;if(_0x34cf90){const _0x53363c=_0x34cf90[_0x27646d(0x3ba)];return _0x30408e[_0x27646d(0x1b4)](this['_collabCursorController'][_0x27646d(0x267)](this[_0x27646d(0x2bb)][_0x27646d(0x36a)]),this[_0x27646d(0x1ba)][_0x27646d(0x32e)])[_0x27646d(0x189)](_0x3cd24d[_0x27646d(0x1aa)](([_0x33324e,_0x58deef])=>{const _0x2e1848=new Map();return _0x33324e['forEach']((_0x14a94d,_0x302863)=>{const _0xa941d9=_0x3097;if(_0x14a94d[_0xa941d9(0x3d7)]===_0x53363c){const _0x30f6d4={..._0x14a94d};_0x30f6d4[_0xa941d9(0x2b8)]=this[_0xa941d9(0x1ba)][_0xa941d9(0x2dc)](_0x14a94d['color']),_0x2e1848[_0xa941d9(0x32f)](_0x302863,_0x30f6d4);}}),{'skeleton':_0x34cf90,'cursors':_0x2e1848};}));}return _0x30408e['of']({'skeleton':null,'cursors':new Map()});}))[_0x9e8961(0x34c)](({skeleton:_0x37aec8,cursors:_0xb20de1})=>{const _0x17dd62=_0x9e8961;this[_0x17dd62(0x15d)](),_0x37aec8&&this[_0x17dd62(0x2c4)](_0x37aec8,_0xb20de1);}),this[_0x9e8961(0x19f)][_0x9e8961(0x274)]['subscribe'](_0x3661fb=>{const _0x8515db=_0x9e8961;if(_0x3661fb==null)return;const {skeleton:_0x33f4a5}=_0x3661fb,{scene:_0x288ef6}=this[_0x8515db(0x2bb)];_0x288ef6[_0x8515db(0x2b0)][_0x8515db(0x341)](_0x20124e['debounce'](_0x2c2fcd=>{const _0x8c49fd=_0x8515db;var _0x181468,_0x23656e;const {offsetX:_0x58b5a8,offsetY:_0x4e3580}=_0x2c2fcd,{x:_0x14e6c9,y:_0x54c73e}=_0x288ef6['getRelativeToViewportCoord'](_0x3289d1[_0x8c49fd(0x331)][_0x8c49fd(0x333)]([_0x58b5a8,_0x4e3580])),{scaleX:_0x2e8f4a,scaleY:_0x260ff1}=_0x288ef6['getAncestorScale'](),_0x4e7ccc=_0x288ef6[_0x8c49fd(0x142)](_0x3289d1[_0x8c49fd(0x394)][_0x8c49fd(0x2be)]),_0x5efad9=_0x288ef6['getVpScrollXYInfoByPosToVp'](_0x3289d1[_0x8c49fd(0x331)]['FromArray']([_0x14e6c9,_0x54c73e]),_0x4e7ccc),_0x402caf=_0x33f4a5[_0x8c49fd(0x141)](_0x58b5a8,_0x4e3580,_0x2e8f4a,_0x260ff1,_0x5efad9);((_0x181468=this[_0x8c49fd(0x1f9)])==null?void 0x0:_0x181468[_0x8c49fd(0x204)])===_0x402caf[_0x8c49fd(0x204)]&&((_0x23656e=this[_0x8c49fd(0x1f9)])==null?void 0x0:_0x23656e[_0x8c49fd(0x143)])===_0x402caf['row']||this['_cursors'][_0x8c49fd(0x303)](_0x26da50=>{const _0x1bbbf4=_0x8c49fd;_0x26da50[_0x1bbbf4(0x294)](_0x402caf);});},0x64));});}['_updateCollabCursors'](_0x4a6440,_0x2fd55e){const _0x38ab74=_0x475329;var _0xea84a5;const _0x4b4571=(_0xea84a5=this[_0x38ab74(0x19f)][_0x38ab74(0x2ae)]())==null?void 0x0:_0xea84a5[_0x38ab74(0x19e)];if(!_0x4b4571)return;const _0x545bf2=this[_0x38ab74(0x3d4)]();if(!_0x545bf2)return;this[_0x38ab74(0x296)][_0x38ab74(0x303)](_0x5b6fdf=>{const _0x21a5af=_0x38ab74;_0x5b6fdf[_0x21a5af(0x33f)]();});const {scene:_0x25e118}=_0x545bf2,_0x3e3586=_0x504c78(Array[_0x38ab74(0x244)](_0x2fd55e['values']()))['map'](_0x4ddb2d=>{const _0x2300cc=_0x38ab74,{color:_0xab842f,range:_0x680b07,name:_0x2ea6ab,selection:_0x386e87,sheetID:_0x1669ea}=_0x4ddb2d,{startColumn:_0x102e97,startRow:_0x2037e8,endColumn:_0x8f4928,endRow:_0x4bc6fb}=_0x680b07,_0x2af989=_0x423d28[_0x2300cc(0x213)](_0x2037e8,_0x102e97,_0x25e118,_0x4b4571),_0x26e056=_0x423d28[_0x2300cc(0x213)](_0x4bc6fb,_0x8f4928,_0x25e118,_0x4b4571),{columnHeaderHeightAndMarginTop:_0x54123e}=_0x4b4571,{startX:_0x1cb53e,startY:_0x559ad0}=_0x2af989,{endX:_0x28ca90,endY:_0x19984}=_0x26e056,_0x39dcd6=_0x28ca90-_0x1cb53e,_0x209dc1=_0x19984-_0x559ad0,_0x37be67={'labelPosition':_0x559ad0-_0x54123e>=_0x236d68?_0x2300cc(0x20a):_0x2300cc(0x15b),'sheetID':_0x1669ea,'range':_0x680b07,'color':_0xab842f,'name':_0x2ea6ab,'selection':_0x386e87,'left':_0x1cb53e,'top':_0x559ad0,'width':_0x39dcd6,'height':_0x209dc1,'evented':!0x1,'zIndex':_0x5cc55a};return new _0xef8ec8(_0x2ea6ab,_0x37be67);});_0x25e118[_0x38ab74(0x208)](_0x3e3586,_0xe08e1b),this[_0x38ab74(0x296)]=new Set(_0x3e3586);}[_0x475329(0x15d)](){const _0x4d6c61=_0x475329;var _0x45e296;(_0x45e296=this['_cursors'])==null||_0x45e296[_0x4d6c61(0x303)](_0x38e939=>_0x38e939[_0x4d6c61(0x258)]());}['_getSheetObject'](){const _0x1c42e5=_0x475329;return _0x423d28['getSheetObject'](this[_0x1c42e5(0x2bb)][_0x1c42e5(0x27d)],this['_context']);}};_0x43c08b=_0x49d9f1([_0x909b27(0x1,_0x20124e[_0x475329(0x31f)](_0x423d28['SheetSkeletonManagerService'])),_0x909b27(0x2,_0x20124e['Inject'](_0x165564)),_0x909b27(0x3,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x1f7)]))],_0x43c08b);function _0x504c78(_0x5e9d5a){const _0x2a2135=_0x475329,_0x13764b=new Map();return _0x5e9d5a[_0x2a2135(0x303)](_0x25a3a0=>{const _0x18536c=_0x2a2135;if(_0x13764b['has'](_0x25a3a0[_0x18536c(0x1dd)])){const _0x523e88=_0x13764b[_0x18536c(0x37e)](_0x25a3a0[_0x18536c(0x1dd)]);_0x523e88['name']+=',\x20'+_0x25a3a0[_0x18536c(0x397)];}else _0x13764b['set'](_0x25a3a0[_0x18536c(0x1dd)],_0x25a3a0);}),Array[_0x2a2135(0x244)](_0x13764b[_0x2a2135(0x1fc)]());}var _0x196d42=Object['getOwnPropertyDescriptor'],_0x245144=(_0x945339,_0x4da57b,_0x156b89,_0x51c083)=>{for(var _0x111da3=_0x51c083>0x1?void 0x0:_0x51c083?_0x196d42(_0x4da57b,_0x156b89):_0x4da57b,_0x2d504f=_0x945339['length']-0x1,_0x33773b;_0x2d504f>=0x0;_0x2d504f--)(_0x33773b=_0x945339[_0x2d504f])&&(_0x111da3=_0x33773b(_0x111da3)||_0x111da3);return _0x111da3;},_0x1b05f4=(_0x31a9ec,_0x1121f6)=>(_0x3ba51b,_0x21797a)=>_0x1121f6(_0x3ba51b,_0x21797a,_0x31a9ec);let _0x528a10=class extends _0x20124e[_0x475329(0x385)]{constructor(_0x1199d4,_0x8b95ae,_0x40f480,_0x1cca0f,_0x215dee,_0x1b5dde){const _0x339141=_0x475329;super(),this[_0x339141(0x2bd)]=_0x1199d4,this[_0x339141(0x377)]=_0x8b95ae,this[_0x339141(0x3b0)]=_0x40f480,this[_0x339141(0x1fa)]=_0x1cca0f,this['_notificationService']=_0x215dee,this[_0x339141(0x1f8)]=_0x1b5dde,this[_0x339141(0x187)](),this[_0x339141(0x248)]();}[_0x475329(0x187)](){const _0x3b5d45=_0x475329;this[_0x3b5d45(0x13a)](this[_0x3b5d45(0x2bd)][_0x3b5d45(0x18b)](()=>{const _0x2a3057=_0x3b5d45;if(this[_0x2a3057(0x377)][_0x2a3057(0x299)][_0x2a3057(0x33d)])return this[_0x2a3057(0x1f8)]['t'](_0x2a3057(0x191));}));}[_0x475329(0x248)](){const _0x158b57=_0x475329;this[_0x158b57(0x13a)](this[_0x158b57(0x3b0)][_0x158b57(0x23d)][_0x158b57(0x34c)](_0xa3e842=>{const _0x53f2ad=_0x158b57;_0xa3e842['id']===_0x5375bb['CollaborationUIEventId'][_0x53f2ad(0x3d0)]&&this[_0x53f2ad(0x1fa)][_0x53f2ad(0x202)]({'type':_0xbc961f[_0x53f2ad(0x2c5)][_0x53f2ad(0x161)],'content':this[_0x53f2ad(0x1f8)]['t']('collaboration.single-unit.warning')}),_0xa3e842['id']===_0x5375bb[_0x53f2ad(0x3e6)][_0x53f2ad(0x2a2)]&&this[_0x53f2ad(0x1fa)][_0x53f2ad(0x202)]({'type':_0xbc961f[_0x53f2ad(0x2c5)][_0x53f2ad(0x161)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0xa3e842['id']===_0x5375bb['CollaborationUIEventId'][_0x53f2ad(0x325)]&&this[_0x53f2ad(0x251)][_0x53f2ad(0x202)]({'title':this[_0x53f2ad(0x1f8)]['t'](_0x53f2ad(0x34e)),'content':this['_localeService']['t'](_0x53f2ad(0x1f0)),'type':_0x53f2ad(0x26c),'duration':0x0}),_0xa3e842['id']===_0x5375bb[_0x53f2ad(0x3e6)][_0x53f2ad(0x218)]&&this[_0x53f2ad(0x1fa)]['show']({'type':_0xbc961f['MessageType']['Error'],'content':this['_localeService']['t'](_0x53f2ad(0x298))+'('+_0xa3e842[_0x53f2ad(0x2e2)]+')'}),_0xa3e842['id']===_0x5375bb[_0x53f2ad(0x3e6)][_0x53f2ad(0x17a)]&&this[_0x53f2ad(0x1fa)]['show']({'type':_0xbc961f[_0x53f2ad(0x2c5)][_0x53f2ad(0x161)],'content':this[_0x53f2ad(0x1f8)]['t'](_0xa3e842['data']||'')}),_0xa3e842['id']===_0x5375bb[_0x53f2ad(0x3e6)][_0x53f2ad(0x1bf)]&&this[_0x53f2ad(0x1fa)]['show']({'type':_0xbc961f[_0x53f2ad(0x2c5)][_0x53f2ad(0x161)],'content':this['_localeService']['t'](_0x53f2ad(0x359))}),_0xa3e842['id']===_0x5375bb[_0x53f2ad(0x3e6)][_0x53f2ad(0x2c7)]&&this['_messageService'][_0x53f2ad(0x202)]({'type':_0xbc961f[_0x53f2ad(0x2c5)][_0x53f2ad(0x392)],'content':this[_0x53f2ad(0x1f8)]['t'](_0x53f2ad(0x163))}),_0xa3e842['id']===_0x5375bb['CollaborationUIEventId'][_0x53f2ad(0x393)]&&this['_messageService']['show']({'type':_0xbc961f[_0x53f2ad(0x2c5)][_0x53f2ad(0x392)],'content':this[_0x53f2ad(0x1f8)]['t'](_0x53f2ad(0x307))});}));}};_0x528a10=_0x245144([_0x1b05f4(0x0,_0x3f164e[_0x475329(0x1cd)]),_0x1b05f4(0x1,_0x5375bb[_0x475329(0x3bb)]),_0x1b05f4(0x2,_0x20124e['Inject'](_0x5375bb['CollaborationUIEventService'])),_0x1b05f4(0x3,_0x3f164e[_0x475329(0x1d3)]),_0x1b05f4(0x4,_0x3f164e[_0x475329(0x3c1)]),_0x1b05f4(0x5,_0x20124e['Inject'](_0x20124e[_0x475329(0x34b)]))],_0x528a10);const _0x3ffd5a=_0x475329(0x2a7),_0x567f17={};var _0x512394=Object[_0x475329(0x3cb)],_0x2b2d92=(_0x4a92fa,_0x49113c,_0x4db6d2,_0xb07a10)=>{const _0x323979=_0x475329;for(var _0x3fffd5=_0xb07a10>0x1?void 0x0:_0xb07a10?_0x512394(_0x49113c,_0x4db6d2):_0x49113c,_0x259ca3=_0x4a92fa[_0x323979(0x1b8)]-0x1,_0x491205;_0x259ca3>=0x0;_0x259ca3--)(_0x491205=_0x4a92fa[_0x259ca3])&&(_0x3fffd5=_0x491205(_0x3fffd5)||_0x3fffd5);return _0x3fffd5;},_0xf565c5=(_0x272f6d,_0x2e0356)=>(_0x25a76a,_0x346051)=>_0x2e0356(_0x25a76a,_0x346051,_0x272f6d);let _0x5044c8=class{constructor(_0x1f3242,_0x275a3d){const _0x4e6fa5=_0x475329;this['_transformService']=_0x1f3242,this[_0x4e6fa5(0x1c6)]=_0x275a3d;}[_0x475329(0x177)](_0x4128c3){const _0x394c3a=_0x475329;this[_0x394c3a(0x29c)](_0x4128c3),this[_0x394c3a(0x338)](_0x4128c3);}[_0x475329(0x212)](_0x174597){const _0x1825cc=_0x475329,{unitID:_0x58a934}=_0x174597,_0x291e75=this[_0x1825cc(0x1c6)][_0x1825cc(0x382)](_0x58a934)[_0x1825cc(0x3a3)](_0x1549a6[_0x1825cc(0x358)]),{redoCache:_0x46af6a}=_0x291e75[_0x1825cc(0x3bd)]();if(_0x46af6a[_0x1825cc(0x1b8)]===0x0)return _0x174597;let _0x9bf524=_0x20124e[_0x1825cc(0x1c0)][_0x1825cc(0x3df)](_0x174597['mutations'][0x0]);for(let _0x3c7490=0x0;_0x3c7490<_0x46af6a[_0x1825cc(0x1b8)];_0x3c7490++){const _0x139024={'id':_0x1825cc(0x210),'params':{..._0x46af6a[_0x3c7490]}},_0x4de59a=this[_0x1825cc(0x1af)][_0x1825cc(0x217)](_0x9bf524,_0x139024,!0x1);if(_0x299488[_0x1825cc(0x175)](_0x4de59a))throw _0x4de59a[_0x1825cc(0x26c)];_0x9bf524=_0x4de59a[_0x1825cc(0x255)];}return{..._0x20124e[_0x1825cc(0x1c0)][_0x1825cc(0x3df)](_0x174597),'mutations':[_0x9bf524]};}[_0x475329(0x29c)](_0xeb9395){const _0x46b002=_0x475329,{unitID:_0x1514d8}=_0xeb9395,_0xae13ef=this['_renderManagerService'][_0x46b002(0x382)](_0x1514d8)[_0x46b002(0x3a3)](_0x1549a6[_0x46b002(0x358)]),{undoCache:_0x2072d4,redoCache:_0x290548}=_0xae13ef[_0x46b002(0x3bd)]();if(_0x2072d4[_0x46b002(0x1b8)]===0x0||_0x290548['length']===0x0)return;const _0x313227=[],_0x4b8f7f=[];let _0x4d60fa=_0x20124e[_0x46b002(0x1c0)]['deepClone'](_0xeb9395[_0x46b002(0x18c)][0x0]),_0xd5170d=_0x20124e[_0x46b002(0x1c0)][_0x46b002(0x3df)](_0xeb9395[_0x46b002(0x18c)][0x0]);for(let _0x4e1b42=_0x2072d4[_0x46b002(0x1b8)]-0x1;_0x4e1b42>=0x0;_0x4e1b42--){const _0x2d0dda={'id':_0x46b002(0x210),'params':{..._0x2072d4[_0x4e1b42]}},_0x1764a5={'id':_0x46b002(0x210),'params':{..._0x290548[_0x4e1b42]}},_0x8bf01=this[_0x46b002(0x1af)]['transformMutation'](_0x4d60fa,_0x2d0dda,!0x1),_0x2aa31c=this[_0x46b002(0x1af)][_0x46b002(0x217)](_0xd5170d,_0x1764a5,!0x1);if(_0x299488[_0x46b002(0x175)](_0x8bf01))throw _0x8bf01[_0x46b002(0x26c)];if(_0x299488[_0x46b002(0x175)](_0x2aa31c))throw _0x2aa31c[_0x46b002(0x26c)];_0x313227[_0x46b002(0x37d)](_0x8bf01[_0x46b002(0x313)][_0x46b002(0x169)]),_0x4b8f7f['unshift'](_0x2aa31c[_0x46b002(0x313)][_0x46b002(0x169)]),_0x4d60fa=_0x8bf01[_0x46b002(0x255)],_0xd5170d=_0x2aa31c[_0x46b002(0x255)];}_0xae13ef[_0x46b002(0x224)]({'undoCache':_0x313227,'redoCache':_0x4b8f7f});}[_0x475329(0x338)](_0x87ed40){const _0x5b6f5a=_0x475329,{unitID:_0xee64a0}=_0x87ed40,_0x1a9a3e=this[_0x5b6f5a(0x1c6)][_0x5b6f5a(0x382)](_0xee64a0)[_0x5b6f5a(0x3a3)](_0x1549a6[_0x5b6f5a(0x358)]),_0x1e5f2b=_0x1a9a3e[_0x5b6f5a(0x370)]();if(_0x1e5f2b==null)return;const _0x54b341=[{'id':_0x5b6f5a(0x210),'params':{'unitId':_0x87ed40[_0x5b6f5a(0x34a)],'actions':null,'textRanges':[_0x1e5f2b]}}],_0x1e7aa3=this['_transformService']['transformMutationsWithChangeset'](_0x87ed40,_0x54b341);if(!_0x299488[_0x5b6f5a(0x3e8)](_0x1e7aa3))throw _0x1e7aa3[_0x5b6f5a(0x26c)];const _0x12d243=_0x1e7aa3['m2Prime'][0x0][_0x5b6f5a(0x169)]['textRanges'];Array['isArray'](_0x12d243)&&_0x12d243['length']&&_0x1a9a3e[_0x5b6f5a(0x144)](_0x12d243[0x0]);}};_0x5044c8=_0x2b2d92([_0xf565c5(0x0,_0x299488[_0x475329(0x387)]),_0xf565c5(0x1,_0x3289d1[_0x475329(0x3cf)])],_0x5044c8);var _0x35e0b1=Object['getOwnPropertyDescriptor'],_0x2d6889=(_0x31051b,_0x5c21a8,_0x5ab5c5,_0x404116)=>{const _0x522685=_0x475329;for(var _0x3a3434=_0x404116>0x1?void 0x0:_0x404116?_0x35e0b1(_0x5c21a8,_0x5ab5c5):_0x5c21a8,_0x590a1d=_0x31051b[_0x522685(0x1b8)]-0x1,_0x12790e;_0x590a1d>=0x0;_0x590a1d--)(_0x12790e=_0x31051b[_0x590a1d])&&(_0x3a3434=_0x12790e(_0x3a3434)||_0x3a3434);return _0x3a3434;},_0x2c892c=(_0x37620e,_0x2cba91)=>(_0x38bc1f,_0x1830f4)=>_0x2cba91(_0x38bc1f,_0x1830f4,_0x37620e);let _0xa98445=class{constructor(_0x4fa56a,_0x5ba3f2,_0x1b95e0){const _0x1450a8=_0x475329;this[_0x1450a8(0x22d)]=_0x4fa56a,this[_0x1450a8(0x1af)]=_0x5ba3f2,this[_0x1450a8(0x2b2)]=_0x1b95e0;}[_0x475329(0x19d)](_0x3ae02a){const _0xf39c0d=_0x475329;this[_0xf39c0d(0x1eb)](_0x3ae02a);}['transformRemoteChangeset'](_0x43f492){const _0x1385bd=_0x475329,{unitID:_0x30551b}=_0x43f492,{collaboration:_0x1436ba}=this[_0x1385bd(0x2b2)]['getStateCache'](_0x30551b);if(_0x1436ba['length']===0x0)return _0x43f492;let _0x24a03f=_0x20124e[_0x1385bd(0x1c0)][_0x1385bd(0x3df)](_0x43f492['mutations'][0x0]);for(let _0x144ea5=0x0;_0x144ea5<_0x1436ba[_0x1385bd(0x1b8)];_0x144ea5++){const _0x4f6140={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1436ba[_0x144ea5][_0x1385bd(0x36a)],..._0x1436ba[_0x144ea5][_0x1385bd(0x353)]}},_0x11ebb9=this[_0x1385bd(0x1af)][_0x1385bd(0x217)](_0x24a03f,_0x4f6140,!0x1);if(_0x299488['isTransformMutationFailure'](_0x11ebb9))throw _0x11ebb9[_0x1385bd(0x26c)];_0x24a03f=_0x11ebb9[_0x1385bd(0x255)];}return{..._0x20124e[_0x1385bd(0x1c0)][_0x1385bd(0x3df)](_0x43f492),'mutations':[_0x24a03f]};}[_0x475329(0x1eb)](_0x4a8c0e){const _0x16bae8=_0x475329,{unitID:_0x307341}=_0x4a8c0e,{history:_0x18fac0,collaboration:_0x296687}=this[_0x16bae8(0x2b2)][_0x16bae8(0x26e)](_0x307341);if(_0x18fac0[_0x16bae8(0x1b8)]===0x0&&_0x296687['length']===0x0)return;const _0x54394b=[],_0x2af7d3=[];let _0x1eb456=_0x20124e[_0x16bae8(0x1c0)]['deepClone'](_0x4a8c0e[_0x16bae8(0x18c)][0x0]),_0x5670fd=_0x20124e['Tools'][_0x16bae8(0x3df)](_0x4a8c0e[_0x16bae8(0x18c)][0x0]);for(let _0x474078=_0x18fac0[_0x16bae8(0x1b8)]-0x1;_0x474078>=0x0;_0x474078--){const _0x4ab425={'id':_0x16bae8(0x210),'params':{'unitId':_0x18fac0[_0x474078][_0x16bae8(0x36a)],..._0x18fac0[_0x474078][_0x16bae8(0x219)]}},_0x468d18={'id':_0x16bae8(0x210),'params':{'unitId':_0x18fac0[_0x474078][_0x16bae8(0x36a)],..._0x18fac0[_0x474078][_0x16bae8(0x353)]}},_0x167ac3=this[_0x16bae8(0x1af)]['transformMutation'](_0x1eb456,_0x4ab425,!0x1),_0x437a3c=this[_0x16bae8(0x1af)]['transformMutation'](_0x5670fd,_0x468d18,!0x1);if(_0x299488[_0x16bae8(0x175)](_0x167ac3))throw _0x167ac3[_0x16bae8(0x26c)];if(_0x299488[_0x16bae8(0x175)](_0x437a3c))throw _0x437a3c['error'];_0x54394b[_0x16bae8(0x37d)]({..._0x18fac0[_0x474078],'undoState':_0x167ac3[_0x16bae8(0x313)]['params'],'redoState':_0x437a3c[_0x16bae8(0x313)][_0x16bae8(0x169)]}),_0x1eb456=_0x167ac3['m1Prime'],_0x5670fd=_0x437a3c[_0x16bae8(0x255)];}_0x1eb456=_0x20124e[_0x16bae8(0x1c0)][_0x16bae8(0x3df)](_0x4a8c0e[_0x16bae8(0x18c)][0x0]),_0x5670fd=_0x20124e[_0x16bae8(0x1c0)][_0x16bae8(0x3df)](_0x4a8c0e[_0x16bae8(0x18c)][0x0]);for(let _0x4a2125=_0x296687[_0x16bae8(0x1b8)]-0x1;_0x4a2125>=0x0;_0x4a2125--){const _0x3affe7={'id':_0x16bae8(0x210),'params':{'unitId':_0x296687[_0x4a2125][_0x16bae8(0x36a)],..._0x296687[_0x4a2125][_0x16bae8(0x219)]}},_0x4dfd63={'id':_0x16bae8(0x210),'params':{'unitId':_0x296687[_0x4a2125][_0x16bae8(0x36a)],..._0x296687[_0x4a2125][_0x16bae8(0x353)]}},_0x21a786=this[_0x16bae8(0x1af)]['transformMutation'](_0x1eb456,_0x3affe7,!0x1),_0x2566b3=this[_0x16bae8(0x1af)][_0x16bae8(0x217)](_0x5670fd,_0x4dfd63,!0x1);if(_0x299488['isTransformMutationFailure'](_0x21a786))throw _0x21a786[_0x16bae8(0x26c)];if(_0x299488['isTransformMutationFailure'](_0x2566b3))throw _0x2566b3[_0x16bae8(0x26c)];_0x2af7d3['unshift']({..._0x296687[_0x4a2125],'undoState':_0x21a786[_0x16bae8(0x313)][_0x16bae8(0x169)],'redoState':_0x2566b3['m2Prime']['params']}),_0x1eb456=_0x21a786[_0x16bae8(0x255)],_0x5670fd=_0x2566b3[_0x16bae8(0x255)];}this[_0x16bae8(0x2b2)][_0x16bae8(0x372)](_0x307341,{'history':_0x54394b,'collaboration':_0x2af7d3});}};_0xa98445=_0x2d6889([_0x2c892c(0x0,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x1b9)])),_0x2c892c(0x1,_0x299488['ITransformService']),_0x2c892c(0x2,_0x20124e[_0x475329(0x31f)](_0x1549a6[_0x475329(0x14e)]))],_0xa98445);var _0x81cf7c=Object[_0x475329(0x3cb)],_0x4a0dac=(_0x3eb4ef,_0xf97dc8,_0x283f65,_0x17c7bc)=>{const _0x45d3fc=_0x475329;for(var _0x4fa030=_0x17c7bc>0x1?void 0x0:_0x17c7bc?_0x81cf7c(_0xf97dc8,_0x283f65):_0xf97dc8,_0x80c61e=_0x3eb4ef[_0x45d3fc(0x1b8)]-0x1,_0x3c2b02;_0x80c61e>=0x0;_0x80c61e--)(_0x3c2b02=_0x3eb4ef[_0x80c61e])&&(_0x4fa030=_0x3c2b02(_0x4fa030)||_0x4fa030);return _0x4fa030;},_0x20e3ea=(_0x250da2,_0xae3fd1)=>(_0x146e7f,_0x3a2c39)=>_0xae3fd1(_0x146e7f,_0x3a2c39,_0x250da2);let _0x4f7d2e=class{constructor(_0x360d63,_0x2b2754){const _0x45438b=_0x475329;this[_0x45438b(0x22d)]=_0x360d63,this[_0x45438b(0x1af)]=_0x2b2754;}[_0x475329(0x1e5)](_0x214b8c){const _0x5219ea=_0x475329;var _0x3421fd;const _0x25adb8=this[_0x5219ea(0x22d)][_0x5219ea(0x37e)](_0x3e301b[_0x5219ea(0x149)]),_0x27e85e=(_0x3421fd=_0x25adb8[_0x5219ea(0x3d9)]())!=null?_0x3421fd:[];if(_0x27e85e['length']===0x0)return;const _0x16c07c=_0x214b8c[_0x5219ea(0x34a)],_0x300fd0=[{'id':_0x5219ea(0x210),'params':{'unitId':_0x16c07c,'actions':null,'textRanges':_0x27e85e}}],_0x303ec6=this[_0x5219ea(0x1af)][_0x5219ea(0x35f)](_0x214b8c,_0x300fd0);if(!_0x299488[_0x5219ea(0x3e8)](_0x303ec6))throw _0x303ec6[_0x5219ea(0x26c)];const _0x1c954a=_0x303ec6[_0x5219ea(0x313)][0x0][_0x5219ea(0x169)][_0x5219ea(0x1d2)];Array[_0x5219ea(0x18d)](_0x1c954a)&&_0x1c954a[_0x5219ea(0x1b8)]&&_0x25adb8[_0x5219ea(0x1ae)](_0x1c954a,{'unitId':_0x16c07c,'subUnitId':_0x16c07c},!0x1);}};_0x4f7d2e=_0x4a0dac([_0x20e3ea(0x0,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x1b9)])),_0x20e3ea(0x1,_0x299488['ITransformService'])],_0x4f7d2e);var _0x2e117c=Object[_0x475329(0x3cb)],_0x18b4f2=(_0x9f176b,_0x170f3e,_0x43e689,_0x514ec9)=>{for(var _0x5e6a59=_0x514ec9>0x1?void 0x0:_0x514ec9?_0x2e117c(_0x170f3e,_0x43e689):_0x170f3e,_0x3d977d=_0x9f176b['length']-0x1,_0x251e0f;_0x3d977d>=0x0;_0x3d977d--)(_0x251e0f=_0x9f176b[_0x3d977d])&&(_0x5e6a59=_0x251e0f(_0x5e6a59)||_0x5e6a59);return _0x5e6a59;},_0x21dd1b=(_0x3f3801,_0x30232b)=>(_0x12aaec,_0x4708af)=>_0x30232b(_0x12aaec,_0x4708af,_0x3f3801);let _0x3a9217=class extends _0x20124e[_0x475329(0x385)]{constructor(_0x149298,_0x3ca629,_0x268296,_0x1be8c2,_0x1658ed,_0x3687f8,_0x4eec44,_0xa98be6){const _0x51b684=_0x475329;super(),_0x198abe(this,_0x51b684(0x1f1),new _0x30408e[(_0x51b684(0x36e))](_0x5375bb[_0x51b684(0x2e1)]['NOT_COLLAB'])),(this[_0x51b684(0x2b2)]=_0x149298,this['_collaborationController']=_0x3ca629,this[_0x51b684(0x18e)]=_0x268296,this[_0x51b684(0x16d)]=_0x1be8c2,this['_docTransformSelectionsService']=_0x1658ed,this[_0x51b684(0x2f9)]=_0x3687f8,this[_0x51b684(0x1fa)]=_0x4eec44,this[_0x51b684(0x1f8)]=_0xa98be6,this['_initEntityListener']());}['_initEntityListener'](){const _0x54b310=_0x475329;this[_0x54b310(0x13a)](this['_collaborationController']['entityInit$'][_0x54b310(0x34c)](_0x57fb25=>{const _0xa60480=_0x54b310,_0x405b0f=this[_0xa60480(0x2b2)][_0xa60480(0x200)]['subscribe'](_0x226659=>{const _0x3605e9=_0xa60480;if(_0x226659==null)return;const {unitId:_0x3720f9,redoState:_0x36d36b,commandId:_0x366d8a}=_0x226659;if(_0x3720f9!==_0x57fb25[_0x3605e9(0x34a)])return;const _0x3733c7={'id':_0x366d8a,'type':_0x20124e[_0x3605e9(0x159)][_0x3605e9(0x3c5)],'params':{'unitId':_0x3720f9,'actions':_0x36d36b['actions'],'textRanges':null}};_0x57fb25[_0x3605e9(0x3cd)](_0x3733c7);});if(_0x57fb25[_0xa60480(0x13a)](_0x405b0f),_0x57fb25 instanceof _0x5375bb['DocCollaborationEntity']){const _0x49f768={'onTransformIME':_0x57cb1b=>this['_docTransformIMECacheService']['transformIMECache'](_0x57cb1b),'onTransformState':_0x2a0209=>this[_0xa60480(0x16d)][_0xa60480(0x19d)](_0x2a0209),'onTransformSelections':_0x22314e=>this[_0xa60480(0x39c)][_0xa60480(0x1e5)](_0x22314e),'onSyncEditingCollabCursor':_0x2b932c=>this[_0xa60480(0x2f9)][_0xa60480(0x257)](_0x2b932c),'onTransformRemoteChangesetByIMECache':_0x1ece7a=>this[_0xa60480(0x18e)]['transformRemoteChangeset'](_0x1ece7a),'onTransformRemoteChangesetByStateCache':_0x112c25=>this[_0xa60480(0x16d)][_0xa60480(0x212)](_0x112c25)};_0x57fb25[_0xa60480(0x14d)](_0x49f768);}}));}};_0x3a9217=_0x18b4f2([_0x21dd1b(0x0,_0x20124e['Inject'](_0x1549a6[_0x475329(0x14e)])),_0x21dd1b(0x1,_0x20124e['Inject'](_0x5375bb[_0x475329(0x2fc)])),_0x21dd1b(0x2,_0x20124e[_0x475329(0x31f)](_0x5044c8)),_0x21dd1b(0x3,_0x20124e[_0x475329(0x31f)](_0xa98445)),_0x21dd1b(0x4,_0x20124e[_0x475329(0x31f)](_0x4f7d2e)),_0x21dd1b(0x5,_0x20124e[_0x475329(0x31f)](_0x206e4e)),_0x21dd1b(0x6,_0x3f164e[_0x475329(0x1d3)]),_0x21dd1b(0x7,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x34b)]))],_0x3a9217);var _0x2a9641=Object[_0x475329(0x3cb)],_0x5bfa1e=(_0x21d56b,_0x115fab,_0xf9a3a0,_0x213e42)=>{const _0x249c3c=_0x475329;for(var _0x42162f=_0x213e42>0x1?void 0x0:_0x213e42?_0x2a9641(_0x115fab,_0xf9a3a0):_0x115fab,_0x16efe6=_0x21d56b[_0x249c3c(0x1b8)]-0x1,_0x5052e1;_0x16efe6>=0x0;_0x16efe6--)(_0x5052e1=_0x21d56b[_0x16efe6])&&(_0x42162f=_0x5052e1(_0x42162f)||_0x42162f);return _0x42162f;},_0x81a205=(_0xe35c25,_0x2c16be)=>(_0xb3ba62,_0x4aaa40)=>_0x2c16be(_0xb3ba62,_0x4aaa40,_0xe35c25);let _0xd41dfd=class extends _0x20124e[_0x475329(0x385)]{constructor(_0x7497bd,_0x19d00b,_0x2cd79d){const _0x703d3c=_0x475329;super(),_0x198abe(this,_0x703d3c(0x21f),new Map()),_0x198abe(this,'_saveTaskMap',new Map()),_0x198abe(this,_0x703d3c(0x156),!0x1),(this[_0x703d3c(0x33e)]=_0x7497bd,this['_localStorageService']=_0x19d00b,this[_0x703d3c(0x2a8)]=_0x2cd79d);}[_0x475329(0x2a6)](){const _0x10897e=_0x475329;this[_0x10897e(0x156)]=!0x0;}[_0x475329(0x2c8)](){this['_disabled']=!0x1;}get[_0x475329(0x299)](){return this['_saveTaskMap'];}['dispose'](){const _0x2835b5=_0x475329;this[_0x2835b5(0x25b)]()[_0x2835b5(0x311)](()=>super[_0x2835b5(0x258)]());}async[_0x475329(0x220)](_0x5080b3){const _0x3f9d42=_0x475329;return this[_0x3f9d42(0x156)]?null:this[_0x3f9d42(0x2b6)]['getItem'](_0x5375bb[_0x3f9d42(0x2c1)](_0x5080b3));}async['saveOfflineData'](_0x3db13f,_0x36407c){const _0x488c0f=_0x475329;return!!this[_0x488c0f(0x2b6)][_0x488c0f(0x23a)](_0x3db13f,_0x36407c);}[_0x475329(0x2e5)](_0x2df861,_0x5b0ae9,_0x41fc8b,_0x5cdcea){const _0x3b726b=_0x475329,_0x25f0a3=this[_0x3b726b(0x2a8)][_0x3b726b(0x2ad)](_0x2df861);this[_0x3b726b(0x21f)][_0x3b726b(0x32f)](_0x2df861,{'unitID':_0x2df861,'type':_0x5b0ae9,'awaitingChangeset':_0x41fc8b,'mutations':_0x5cdcea,'rev':_0x25f0a3}),this[_0x3b726b(0x264)][_0x3b726b(0x1b1)](_0x2df861)||this['_scheduleSaving'](_0x2df861);}[_0x475329(0x16c)](_0x55571d){const _0xb117f0=_0x475329,_0x594543=this[_0xb117f0(0x345)]();_0x594543===0x0?this[_0xb117f0(0x27a)](_0x55571d):this[_0xb117f0(0x264)][_0xb117f0(0x32f)](_0x55571d,setTimeout(()=>this[_0xb117f0(0x27a)](_0x55571d),_0x594543));}['_getSaveTimeout'](){const _0x12a89f=_0x475329;var _0x3ac4a5;return(_0x3ac4a5=this[_0x12a89f(0x33e)][_0x12a89f(0x281)](_0x5375bb[_0x12a89f(0x2ff)]))!=null?_0x3ac4a5:_0x5375bb[_0x12a89f(0x282)];}[_0x475329(0x27a)](_0xffd61a){const _0x500f50=_0x475329,_0x4c0b3a=this[_0x500f50(0x264)][_0x500f50(0x37e)](_0xffd61a);return _0x4c0b3a!==void 0x0&&window['clearTimeout'](_0x4c0b3a),this[_0x500f50(0x2b6)][_0x500f50(0x23a)](_0x5375bb[_0x500f50(0x2c1)](_0xffd61a),this[_0x500f50(0x21f)][_0x500f50(0x37e)](_0xffd61a))[_0x500f50(0x311)](()=>this[_0x500f50(0x264)][_0x500f50(0x3ab)](_0xffd61a));}async[_0x475329(0x25b)](){const _0x420021=_0x475329,_0xeb1813=[];this[_0x420021(0x264)][_0x420021(0x303)]((_0x599b1f,_0x5a28cf)=>{const _0x409680=_0x420021;window[_0x409680(0x339)](_0x599b1f),_0xeb1813['push'](this[_0x409680(0x27a)](_0x5a28cf)[_0x409680(0x311)](()=>{const _0x34ff6c=_0x409680;this[_0x34ff6c(0x264)][_0x34ff6c(0x3ab)](_0x5a28cf);}));}),await Promise[_0x420021(0x363)](_0xeb1813);}};_0xd41dfd=_0x5bfa1e([_0x81a205(0x0,_0x20124e['IConfigService']),_0x81a205(0x1,_0x20124e[_0x475329(0x153)]),_0x81a205(0x2,_0x20124e[_0x475329(0x31f)](_0x299488[_0x475329(0x38d)]))],_0xd41dfd);class _0x2c928c extends _0x20124e[_0x475329(0x312)]{constructor(){const _0x51aaa8=_0x475329;super(),_0x198abe(this,_0x51aaa8(0x2b1)),this[_0x51aaa8(0x2b1)]=_0x30408e[_0x51aaa8(0x399)](window,_0x51aaa8(0x2fb))[_0x51aaa8(0x189)](_0x30408e['takeUntil'](this[_0x51aaa8(0x1a1)]),_0x30408e[_0x51aaa8(0x396)](0x1),_0x30408e[_0x51aaa8(0x25e)](void 0x0));}[_0x475329(0x3c7)](_0x1db427,_0x593d96,_0x38f900=!0x1){const _0x1081b4=_0x475329,_0x2b2e37=new URL(window[_0x1081b4(0x357)][_0x1081b4(0x165)]);_0x2b2e37[_0x1081b4(0x1ee)]['set'](_0x1db427,_0x593d96),_0x38f900?window[_0x1081b4(0x3b5)][_0x1081b4(0x1ca)]('','',_0x2b2e37[_0x1081b4(0x3a8)]()):window[_0x1081b4(0x3b5)][_0x1081b4(0x167)]('','',_0x2b2e37[_0x1081b4(0x3a8)]());}[_0x475329(0x3e4)](_0x178551,_0x173d9e=!0x1){const _0xa93831=_0x475329,_0x139b73=new URL(window['location'][_0xa93831(0x165)]);_0x139b73[_0xa93831(0x1ee)]['delete'](_0x178551),_0x173d9e?window[_0xa93831(0x3b5)][_0xa93831(0x1ca)]('','',_0x139b73[_0xa93831(0x3a8)]()):window[_0xa93831(0x3b5)][_0xa93831(0x167)]('','',_0x139b73['toString']());}['getParam'](_0x3a287f){const _0x450a8d=_0x475329;var _0x7f8ad7;return(_0x7f8ad7=new URL(window[_0x450a8d(0x357)]['href'])[_0x450a8d(0x1ee)][_0x450a8d(0x37e)](_0x3a287f))!=null?_0x7f8ad7:void 0x0;}}var _0xe22073=Object['defineProperty'],_0x1dae72=Object[_0x475329(0x3cb)],_0x4b6432=(_0x1723b7,_0x2f6b79,_0x2380bc)=>_0x2f6b79 in _0x1723b7?_0xe22073(_0x1723b7,_0x2f6b79,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2380bc}):_0x1723b7[_0x2f6b79]=_0x2380bc,_0x27d0f4=(_0x306cee,_0x580e80,_0x143f06,_0x24c677)=>{const _0x32fc30=_0x475329;for(var _0x31dd84=_0x24c677>0x1?void 0x0:_0x24c677?_0x1dae72(_0x580e80,_0x143f06):_0x580e80,_0x3d59cd=_0x306cee[_0x32fc30(0x1b8)]-0x1,_0x4b2b32;_0x3d59cd>=0x0;_0x3d59cd--)(_0x4b2b32=_0x306cee[_0x3d59cd])&&(_0x31dd84=_0x4b2b32(_0x31dd84)||_0x31dd84);return _0x31dd84;},_0x376faa=(_0x184dc4,_0x555b99)=>(_0x4aeeb3,_0x8c977b)=>_0x555b99(_0x4aeeb3,_0x8c977b,_0x184dc4),_0xd5772=(_0x387c50,_0x3c1d57,_0x494a58)=>_0x4b6432(_0x387c50,_0x3c1d57+'',_0x494a58);const _0x553546=_0x475329(0x1d1);_0x5cd700[_0x475329(0x2a1)]=class extends _0x20124e[_0x475329(0x3e5)]{constructor(_0x263de6=_0x567f17,_0x2018c0,_0x4a5798,_0x1c807e){const _0x51a867=_0x475329;super(),this[_0x51a867(0x228)]=_0x263de6,this['_renderManagerService']=_0x2018c0,this[_0x51a867(0x22d)]=_0x4a5798,this['_configService']=_0x1c807e;const {..._0x4751bf}=_0x20124e[_0x51a867(0x3a2)]({},_0x567f17,this[_0x51a867(0x228)]);this[_0x51a867(0x33e)][_0x51a867(0x3e0)](_0x3ffd5a,_0x4751bf);}[_0x475329(0x14c)](){const _0x3b63ef=_0x475329;this[_0x3b63ef(0x215)](),this[_0x3b63ef(0x30d)]();}[_0x475329(0x222)](){const _0x4ec4aa=_0x475329;this[_0x4ec4aa(0x1a4)]();}['_registerDependencies'](){const _0x385c0f=_0x475329;var _0x405518;const _0x3ee6dd=[[_0x108c77],[_0x4f7d2e],[_0x5044c8],[_0xa98445],[_0x206e4e],[_0x5b2318,{'useClass':_0x2c928c}],[_0x3b53e8['ISocketService'],{'useClass':_0x3b53e8[_0x385c0f(0x1e8)]}],[_0x5375bb[_0x385c0f(0x3bb)],{'useClass':_0xd41dfd}],[_0x5cd700[_0x385c0f(0x287)]],[_0x3a9217],[_0x528a10],[_0x165564],[_0x118ef9],[_0x5cd700[_0x385c0f(0x158)]]];_0x20124e[_0x385c0f(0x20b)](this[_0x385c0f(0x22d)],_0x20124e[_0x385c0f(0x284)](_0x3ee6dd,(_0x405518=this[_0x385c0f(0x228)])==null?void 0x0:_0x405518[_0x385c0f(0x2f3)]));}['_registerRenderDependencies'](){const _0x379c3c=_0x475329;this[_0x379c3c(0x13a)](this[_0x379c3c(0x1c6)][_0x379c3c(0x236)](_0x20124e[_0x379c3c(0x1da)]['UNIVER_DOC'],[_0x4bec33])),this[_0x379c3c(0x13a)](this[_0x379c3c(0x1c6)][_0x379c3c(0x236)](_0x20124e[_0x379c3c(0x1da)][_0x379c3c(0x3aa)],[_0x43c08b]));}[_0x475329(0x30d)](){const _0x357b0b=_0x475329;_0x20124e['touchDependencies'](this[_0x357b0b(0x22d)],[[_0x165564],[_0x5cd700['DesktopCollaborationStatusDisplayController']],[_0x3a9217],[_0x528a10],[_0x5cd700[_0x357b0b(0x158)]]]);}},_0xd5772(_0x5cd700['UniverCollaborationClientUIPlugin'],_0x475329(0x360),_0x553546),_0x5cd700['UniverCollaborationClientUIPlugin']=_0x27d0f4([_0x20124e[_0x475329(0x3c9)](_0x5375bb['UniverCollaborationClientPlugin']),_0x376faa(0x1,_0x3289d1['IRenderManagerService']),_0x376faa(0x2,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x1b9)])),_0x376faa(0x3,_0x20124e['IConfigService'])],_0x5cd700['UniverCollaborationClientUIPlugin']);var _0x1cc961=Object[_0x475329(0x3cb)],_0x294dbf=(_0x55a0f1,_0x2d8e00,_0x291f8e,_0x186158)=>{const _0x13b961=_0x475329;for(var _0x3f90a9=_0x186158>0x1?void 0x0:_0x186158?_0x1cc961(_0x2d8e00,_0x291f8e):_0x2d8e00,_0x208c07=_0x55a0f1[_0x13b961(0x1b8)]-0x1,_0x503d17;_0x208c07>=0x0;_0x208c07--)(_0x503d17=_0x55a0f1[_0x208c07])&&(_0x3f90a9=_0x503d17(_0x3f90a9)||_0x3f90a9);return _0x3f90a9;},_0x4393f0=(_0x152850,_0x45ffc8)=>(_0x70ab5a,_0x1eb947)=>_0x45ffc8(_0x70ab5a,_0x1eb947,_0x152850);_0x5cd700[_0x475329(0x270)]=class extends _0x5375bb[_0x475329(0x1b3)]{constructor(_0x3fe5bb,_0x15ab62,_0x265e61,_0x4c9e94,_0x155777){super(_0x3fe5bb,_0x15ab62,_0x265e61,_0x4c9e94,_0x155777);}async['createSocket'](_0x14df6a){const _0x1859f8=_0x475329,_0x5664d3=await this[_0x1859f8(0x1fe)](),_0x2a7255=this[_0x1859f8(0x19c)](_0x14df6a,_0x5664d3);return this[_0x1859f8(0x172)](_0x2a7255);}[_0x475329(0x19c)](_0x100733,_0x8c0252){const _0x4e2844=_0x475329,_0x5f5294=typeof window>'u'?new URL(_0x100733):new URL(_0x100733,window[_0x4e2844(0x357)][_0x4e2844(0x24d)]);_0x5f5294['searchParams']['set'](_0x4e2844(0x29d),_0x8c0252);const _0x2988bd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4e2844(0x357)][_0x4e2844(0x332)]);return _0x2988bd[_0x4e2844(0x37e)](_0x4e2844(0x3b9))&&_0x5f5294[_0x4e2844(0x1ee)][_0x4e2844(0x32f)](_0x4e2844(0x3b9),_0x2988bd[_0x4e2844(0x37e)]('runId')),_0x5f5294[_0x4e2844(0x3a8)]();}async['_getSessionTicket'](){const _0x2aab56=_0x475329;var _0x42acea,_0x4b6dee,_0x410199;const _0x514af6=this[_0x2aab56(0x33e)]['getConfig'](_0x5375bb[_0x2aab56(0x1d6)]),_0x2fa6bb=(_0x42acea=_0x514af6==null?void 0x0:_0x514af6[_0x2aab56(0x206)])!=null?_0x42acea:_0x5375bb[_0x2aab56(0x2df)];return(_0x410199=(_0x4b6dee=(await this[_0x2aab56(0x1c1)][_0x2aab56(0x37e)](_0x2fa6bb,{'headers':{'Content-Type':_0x2aab56(0x289)}}))[_0x2aab56(0x205)])==null?void 0x0:_0x4b6dee[_0x2aab56(0x386)])!=null?_0x410199:'';}},_0x5cd700[_0x475329(0x270)]=_0x294dbf([_0x4393f0(0x0,_0x20124e[_0x475329(0x31f)](_0x20124e['Injector'])),_0x4393f0(0x1,_0x20124e['Inject'](_0x3b53e8['HTTPService'])),_0x4393f0(0x2,_0x20124e['IConfigService']),_0x4393f0(0x3,_0x20124e['ILogService']),_0x4393f0(0x4,_0x299488[_0x475329(0x157)])],_0x5cd700[_0x475329(0x270)]);var _0x551049=(_0x316345=>(_0x316345[_0x316345[_0x475329(0x30a)]=0x0]=_0x475329(0x30a),_0x316345[_0x316345['OK']=0x1]='OK',_0x316345[_0x316345[_0x475329(0x2e0)]=0x2]=_0x475329(0x2e0),_0x316345[_0x316345[_0x475329(0x325)]=0x3]=_0x475329(0x325),_0x316345[_0x316345[_0x475329(0x2e7)]=0x4]=_0x475329(0x2e7),_0x316345[_0x316345['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x316345[_0x316345[_0x475329(0x343)]=0x6]=_0x475329(0x343),_0x316345[_0x316345[_0x475329(0x247)]=0x7]=_0x475329(0x247),_0x316345[_0x316345[_0x475329(0x373)]=0x8]=_0x475329(0x373),_0x316345[_0x316345[_0x475329(0x181)]=0x9]=_0x475329(0x181),_0x316345[_0x316345['LOGIN_FAILED']=0xa]=_0x475329(0x35b),_0x316345[_0x316345[_0x475329(0x1df)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x316345[_0x316345[_0x475329(0x21b)]=0xc]=_0x475329(0x21b),_0x316345[_0x316345[_0x475329(0x2e6)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x316345[_0x316345[_0x475329(0x1d8)]=0xe]=_0x475329(0x1d8),_0x316345[_0x316345['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x475329(0x3dd),_0x316345[_0x316345[_0x475329(0x27f)]=0x10]=_0x475329(0x27f),_0x316345[_0x316345[_0x475329(0x3ae)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x316345[_0x316345[_0x475329(0x31e)]=0x65]=_0x475329(0x31e),_0x316345[_0x316345[_0x475329(0x238)]=0xc9]=_0x475329(0x238),_0x316345[_0x316345['USER_IS_ANONYMOUS']=0xca]=_0x475329(0x3a7),_0x316345[_0x316345['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x475329(0x201),_0x316345[_0x316345[_0x475329(0x1f2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x316345[_0x316345[_0x475329(0x24b)]=0x1772]=_0x475329(0x24b),_0x316345[_0x316345[_0x475329(0x330)]=0x1773]=_0x475329(0x330),_0x316345[_0x316345[_0x475329(0x3b6)]=0x1b59]=_0x475329(0x3b6),_0x316345[_0x316345[_0x475329(0x16e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x316345[_0x316345[_0x475329(0x35a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x316345[_0x316345[_0x475329(0x231)]=0x1b5c]=_0x475329(0x231),_0x316345[_0x316345[_0x475329(0x233)]=0x1b5d]='APPLY_DUPLICATED',_0x316345[_0x316345[_0x475329(0x34f)]=0x1f41]=_0x475329(0x34f),_0x316345[_0x316345[_0x475329(0x29a)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x316345[_0x316345['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x475329(0x3e1),_0x316345[_0x316345[_0x475329(0x2db)]=0x232b]=_0x475329(0x2db),_0x316345[_0x316345[_0x475329(0x1ff)]=0x232c]=_0x475329(0x1ff),_0x316345[_0x316345[_0x475329(0x2b5)]=0x232d]=_0x475329(0x2b5),_0x316345[_0x316345[_0x475329(0x1a8)]=0x2711]=_0x475329(0x1a8),_0x316345[_0x316345['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x316345[_0x316345[_0x475329(0x2ef)]=0x2713]=_0x475329(0x2ef),_0x316345[_0x316345[_0x475329(0x226)]=0x2714]=_0x475329(0x226),_0x316345[_0x316345[_0x475329(0x151)]=0x271a]=_0x475329(0x151),_0x316345[_0x316345[_0x475329(0x28a)]=0x271b]=_0x475329(0x28a),_0x316345[_0x316345['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x475329(0x37a),_0x316345[_0x316345['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x475329(0x160),_0x316345[_0x316345[_0x475329(0x23e)]=0x271e]=_0x475329(0x23e),_0x316345[_0x316345[_0x475329(0x3b3)]=0x271f]=_0x475329(0x3b3),_0x316345[_0x316345[_0x475329(0x1be)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x316345[_0x316345[_0x475329(0x33a)]=0x2af9]=_0x475329(0x33a),_0x316345[_0x316345['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x475329(0x1e2),_0x316345[_0x316345['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x316345[_0x316345['INVITE_CODE_REQUIRED']=0x2ee3]=_0x475329(0x349),_0x316345[_0x316345[_0x475329(0x1ab)]=0x2ee4]=_0x475329(0x1ab),_0x316345[_0x316345['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x475329(0x1ea),_0x316345[_0x316345['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x475329(0x235),_0x316345[_0x316345[_0x475329(0x227)]=0x32ca]=_0x475329(0x227),_0x316345[_0x316345['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x316345[_0x316345[_0x475329(0x13b)]=0x36b1]=_0x475329(0x13b),_0x316345[_0x316345[_0x475329(0x2f6)]=0x36b2]=_0x475329(0x2f6),_0x316345[_0x316345[_0x475329(0x3bf)]=0x36b3]=_0x475329(0x3bf),_0x316345[_0x316345[_0x475329(0x2d1)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x316345[_0x316345[_0x475329(0x314)]=0x3715]=_0x475329(0x314),_0x316345[_0x316345[_0x475329(0x162)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x316345[_0x316345['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x316345[_0x316345[_0x475329(0x2cf)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x316345[_0x316345[_0x475329(0x23f)]=0x3a9a]=_0x475329(0x23f),_0x316345[_0x316345[_0x475329(0x1a2)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x316345[_0x316345[_0x475329(0x146)]=0x3a9c]=_0x475329(0x146),_0x316345[_0x316345[_0x475329(0x371)]=0x3a9d]=_0x475329(0x371),_0x316345[_0x316345[_0x475329(0x1db)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x316345[_0x316345[_0x475329(0x388)]=0x3a9f]=_0x475329(0x388),_0x316345[_0x316345[_0x475329(0x269)]=-0x1]='UNRECOGNIZED',_0x316345))(_0x551049||{}),_0x5a5448=Object[_0x475329(0x3cb)],_0x56e36e=(_0x16a01f,_0x46e63b,_0x4d266f,_0x59d27a)=>{const _0x23b82e=_0x475329;for(var _0x5a5657=_0x59d27a>0x1?void 0x0:_0x59d27a?_0x5a5448(_0x46e63b,_0x4d266f):_0x46e63b,_0x92aa9d=_0x16a01f[_0x23b82e(0x1b8)]-0x1,_0x1fabc3;_0x92aa9d>=0x0;_0x92aa9d--)(_0x1fabc3=_0x16a01f[_0x92aa9d])&&(_0x5a5657=_0x1fabc3(_0x5a5657)||_0x5a5657);return _0x5a5657;},_0x1efb0e=(_0x4be8ca,_0x544a6e)=>(_0x44a733,_0x2619d1)=>_0x544a6e(_0x44a733,_0x2619d1,_0x4be8ca);_0x5cd700[_0x475329(0x3d5)]=class extends _0x20124e[_0x475329(0x385)]{constructor(_0x45d402,_0x2b2bfe,_0x5c3e2d){const _0x4c197c=_0x475329;super(),this[_0x4c197c(0x14f)]=_0x45d402,this[_0x4c197c(0x1c1)]=_0x2b2bfe,this['_configService']=_0x5c3e2d;}async[_0x475329(0x170)](_0x1e3d3d,_0x1d3e45,_0x67a358,..._0x373538){const _0x5642d2=_0x475329;var _0xbfc05e,_0x57f2cc,_0x171ec2,_0x2e3354;const _0x407a94=this[_0x5642d2(0x14f)][_0x5642d2(0x2f1)]();if(!_0x407a94)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x581756=((_0xbfc05e=this[_0x5642d2(0x33e)]['getConfig'](_0x5375bb[_0x5642d2(0x17f)]))!=null?_0xbfc05e:_0x5375bb[_0x5642d2(0x24c)])+'/'+_0x1e3d3d+_0x5642d2(0x209)+_0x1d3e45,_0x51b5ad=new URL(window[_0x5642d2(0x357)][_0x5642d2(0x165)]),_0x4e39d3={'scriptId':_0x1e3d3d,'runId':(_0x57f2cc=_0x51b5ad[_0x5642d2(0x1ee)][_0x5642d2(0x37e)](_0x5642d2(0x3b9)))!=null?_0x57f2cc:'','function':_0x1d3e45,'unitId':_0x407a94[_0x5642d2(0x2de)](),'argsOfFunction':JSON[_0x5642d2(0x39a)](_0x373538),'invokeId':(_0x171ec2=_0x67a358[_0x5642d2(0x154)])!=null?_0x171ec2:'','executionId':(_0x2e3354=_0x67a358['executionId'])!=null?_0x2e3354:''};try{const _0x430246=await this[_0x5642d2(0x1c1)][_0x5642d2(0x2f7)](_0x581756,{'body':_0x4e39d3});return _0x430246[_0x5642d2(0x205)][_0x5642d2(0x26c)]&&_0x430246[_0x5642d2(0x205)]['error'][_0x5642d2(0x2a9)]!==_0x551049['OK']?_0x5642d2(0x2c6):_0x430246[_0x5642d2(0x205)][_0x5642d2(0x29e)];}catch{return _0x5642d2(0x2c6);}}},_0x5cd700[_0x475329(0x3d5)]=_0x56e36e([_0x1efb0e(0x0,_0x20124e[_0x475329(0x3a5)]),_0x1efb0e(0x1,_0x20124e[_0x475329(0x31f)](_0x3b53e8[_0x475329(0x266)])),_0x1efb0e(0x2,_0x20124e[_0x475329(0x297)])],_0x5cd700[_0x475329(0x3d5)]);const _0x14fdee=0x7530,_0x936265=_0x475329(0x3a6);class _0xae7158 extends _0x20124e[_0x475329(0x385)]{constructor(){const _0x3be4ef=_0x475329;super(),_0x198abe(this,_0x3be4ef(0x35c),_0x20124e[_0x3be4ef(0x1e1)]()),_0x198abe(this,_0x3be4ef(0x3d3),new Set()),_0x198abe(this,'_unitOnClients',new Map()),_0x198abe(this,'_heartbeatTimer',null),_0x198abe(this,'_clearOtherTimers',new Map()),_0x198abe(this,_0x3be4ef(0x2c2),new Map()),this[_0x3be4ef(0x375)]();}[_0x475329(0x258)](){const _0x30484c=_0x475329;super['dispose'](),this[_0x30484c(0x2cc)][_0x30484c(0x303)]((_0x515d79,_0x63675b)=>this[_0x30484c(0x1de)](_0x63675b)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x475329(0x1c7)](_0x194be8){const _0x2f2687=_0x475329;return this[_0x2f2687(0x3e9)](_0x194be8)['pipe'](_0x30408e['distinctUntilChanged']());}[_0x475329(0x3d8)](_0x37ec8a){const _0x63e787=_0x475329;this[_0x63e787(0x3d3)][_0x63e787(0x33d)]===0x0&&this['_scheduleHeartbeat'](),this[_0x63e787(0x3d3)][_0x63e787(0x2e8)](_0x37ec8a),this[_0x63e787(0x316)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x37ec8a],'isForwarded':!0x1});}['disposeUnit'](_0x3a57cf){const _0xef9bd9=_0x475329;this[_0xef9bd9(0x3d3)][_0xef9bd9(0x3ab)](_0x3a57cf),this[_0xef9bd9(0x3d3)]['size']===0x0&&this[_0xef9bd9(0x2d8)]&&window[_0xef9bd9(0x290)](this[_0xef9bd9(0x2d8)]);}[_0x475329(0x375)](){const _0x1d8512=_0x475329;this[_0x1d8512(0x13a)](_0x20124e['toDisposable'](_0x30408e['fromEvent'](window,_0x1d8512(0x13e))[_0x1d8512(0x34c)](_0x1c76a5=>{const _0xf48183=_0x1d8512;if(_0x1c76a5[_0xf48183(0x308)]!==_0x936265||!_0x1c76a5[_0xf48183(0x1b2)])return;const _0xc74bbc=JSON['parse'](_0x1c76a5[_0xf48183(0x1b2)]);this[_0xf48183(0x262)](_0xc74bbc);}))),window[_0x1d8512(0x3d2)](_0x1d8512(0x3d1),()=>this[_0x1d8512(0x316)]({'type':0x1,'memberID':this[_0x1d8512(0x35c)],'unitIDs':Array[_0x1d8512(0x244)](this[_0x1d8512(0x3d3)])}));}['_handleEvent'](_0x266bd4){const _0x449dbc=_0x475329;switch(_0x266bd4[_0x449dbc(0x16a)]){case 0x0:this[_0x449dbc(0x301)](_0x266bd4);break;case 0x1:this[_0x449dbc(0x32c)](_0x266bd4);break;case 0x2:this[_0x449dbc(0x168)](_0x266bd4);break;}}[_0x475329(0x301)](_0x5c7962){const _0x2d41ed=_0x475329,{unitIDs:_0x1ab30a,memberID:_0x159084,isForwarded:_0x4a52d5}=_0x5c7962;_0x1ab30a[_0x2d41ed(0x303)](_0x403228=>{const _0x5d49ea=_0x2d41ed;if(!_0x4a52d5&&this['_unitOnClients'][_0x5d49ea(0x1b1)](_0x403228)&&this[_0x5d49ea(0x3e9)](_0x403228)[_0x5d49ea(0x31d)](_0x5375bb['UnitStatus'][_0x5d49ea(0x3a4)]),!this[_0x5d49ea(0x223)][_0x5d49ea(0x1b1)](_0x403228)||!this['_unitOnClients'][_0x5d49ea(0x37e)](_0x403228)[_0x5d49ea(0x1b1)](_0x159084)){const _0x5bdfa0=this[_0x5d49ea(0x223)][_0x5d49ea(0x37e)](_0x403228)||new Set();_0x5bdfa0[_0x5d49ea(0x2e8)](_0x159084),this['_unitOnClients'][_0x5d49ea(0x32f)](_0x403228,_0x5bdfa0),this[_0x5d49ea(0x21e)](_0x159084);}}),_0x4a52d5||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x475329(0x21e)](_0x428c27){const _0x5bf4a4=_0x475329;this['_removeClearOtherTimer'](_0x428c27);const _0x2a21c7=window[_0x5bf4a4(0x2b9)](()=>{const _0x4d8fd0=_0x5bf4a4;this['_unitOnClients'][_0x4d8fd0(0x303)](_0x20d67f=>{const _0x57ebe5=_0x4d8fd0;_0x20d67f[_0x57ebe5(0x3ab)](_0x428c27);});},_0x14fdee*0x2);this[_0x5bf4a4(0x2cc)]['set'](_0x428c27,_0x2a21c7);}[_0x475329(0x1de)](_0x47d727){const _0xeb0ade=_0x475329;if(this[_0xeb0ade(0x2cc)][_0xeb0ade(0x1b1)](_0x47d727)){const _0x33d019=this[_0xeb0ade(0x2cc)][_0xeb0ade(0x37e)](_0x47d727);_0x33d019&&window[_0xeb0ade(0x339)](_0x33d019),this[_0xeb0ade(0x2cc)][_0xeb0ade(0x32f)](_0x47d727,null);}}[_0x475329(0x32c)](_0x329030){const _0x954da0=_0x475329,{memberID:_0x531ee1,unitIDs:_0x22d55a}=_0x329030;_0x22d55a[_0x954da0(0x303)](_0x56b0b9=>{const _0x15127e=_0x954da0;var _0x235089;const _0x4163a9=this['_unitOnClients'][_0x15127e(0x37e)](_0x56b0b9);_0x4163a9&&(_0x4163a9[_0x15127e(0x3ab)](_0x531ee1),(_0x235089=this[_0x15127e(0x3e9)](_0x56b0b9))==null||_0x235089[_0x15127e(0x31d)](_0x4163a9['size']===0x0?_0x5375bb[_0x15127e(0x2ce)][_0x15127e(0x305)]:_0x5375bb[_0x15127e(0x2ce)]['OTHER_CLIENTS_EDITING']));}),this[_0x954da0(0x1de)](_0x531ee1);}[_0x475329(0x168)](_0x4767c8){const _0x3abf9a=_0x475329;this[_0x3abf9a(0x21e)](_0x4767c8[_0x3abf9a(0x241)]);}['_send'](_0x33ddf0){const _0x5a02a6=_0x475329;localStorage[_0x5a02a6(0x23a)](_0x936265,JSON[_0x5a02a6(0x39a)](_0x33ddf0));}['_scheduleHeartbeat'](){const _0x41a534=_0x475329;this[_0x41a534(0x2d8)]=window['setInterval'](()=>{const _0x340884=_0x41a534;this['_send']({'type':0x2,'memberID':this[_0x340884(0x35c)]});},_0x14fdee);}['_ensureSubject'](_0x2beef1){const _0xc4ae3a=_0x475329;return this[_0xc4ae3a(0x2c2)][_0xc4ae3a(0x1b1)](_0x2beef1)||this[_0xc4ae3a(0x2c2)][_0xc4ae3a(0x32f)](_0x2beef1,new _0x30408e[(_0xc4ae3a(0x36e))](_0x5375bb[_0xc4ae3a(0x2ce)][_0xc4ae3a(0x305)])),this[_0xc4ae3a(0x2c2)]['get'](_0x2beef1);}}_0x5cd700['IURLService']=_0x5b2318,_0x5cd700['SheetCollabCursorShape']=_0xef8ec8,_0x5cd700[_0x475329(0x3ec)]=_0xae7158,_0x5cd700['WebURLService']=_0x2c928c,Object[_0x475329(0x21c)](_0x5cd700,Symbol[_0x475329(0x195)],{'value':_0x475329(0x25a)});}));function _0x3097(_0x372f5a,_0x49cfe7){const _0x15a785=_0x15a7();return _0x3097=function(_0x3097b4,_0x31757d){_0x3097b4=_0x3097b4-0x138;let _0x5e2348=_0x15a785[_0x3097b4];return _0x5e2348;},_0x3097(_0x372f5a,_0x49cfe7);}function _0x15a7(){const _0x282879=['transform','_clearOtherTimers','UniverCore','UnitStatus','REDEMPTION_INVALID_CODE','switchMap','PAYMENT_CHANNEL_NOT_SUPPORT','isActive','throttleTime','startColumn','_univerInstanceService','UniverProCollaborationClient','prototype','_heartbeatTimer','_anchor','1em','LICENSE_IMPORT_SIZE_EXCEEDED','getColorFromTheme','MemberService','getUnitId','DEFAULT_WS_SESSION_TICKET_URL','INTERNAL_ERROR','CollaborationStatus','data','M0\x200H16V16H0z','_getMergeRange','updateOfflineData','EMAIL_VERIFY_CODE_MISMATCH','NOT_FOUND','add','_collabCursorState$','registerComponent','createElement','_memberService','loadUnit','UniverDesign','YUUMI_RATE_OVER_LIMIT','_initCommandExecutedListener','getFocusedUnit','Unknown\x20user','override','hasOwnProperty','handleInsertRow','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','post','cursorInfo$','_docSyncEditingCollabCursorService','startsWith','popstate','CollaborationController','lineTo','1638948OYszlE','LOCAL_CACHE_INTERVAL_KEY','collab-client.tooltip.reconnect','_handleJoinEvent','defIds','forEach','width','NO_OTHER_CLIENTS_EDITING','IDocClipboardService','session.collaboration-timeout','key','_getAnchorBounding','UNDEFINED','hide','...','_initDependencies','onPointerEnter$','whenReady','height','then','RxDisposable','m2Prime','ENTITLE_CHAT_LIMIT_EXCEED','5TxaeUY','_send','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','addClipboardHook','TRANSFORM_CHANGE_OBSERVABLE_TYPE','onPointerLeave$','RegularPolygon','_draw','next','ERROR_AGAIN','Inject','black','DeleteRangeMoveUpCommandId','selections','getTypeOfUnitDisposed$','_onCursorDelete','PERMISSION_DENIED','use','round','getCurrentSelections','svg','connectInjector','extend','_handleLeaveEvent','getActiveSheet','currentTheme$','set','ENSURE_SNAPSHOT_EXECUTION','Vector2','search','FromArray','_imageIoService','922190JvnpyB','random','roomMembers$','_transformPreviousActiveRange','clearTimeout','PY_RUNTIME_SCRIPT_ERROR','getCurrentUnitForType','findNodePositionByCharIndex','size','_configService','makeDirty','InsertRowCommandId','subscribeEvent','_assignedColors','ALREADY_EXISTS','_initResize','_getSaveTimeout','_entityInit$','UniverProCollaboration','roomMembers','INVITE_CODE_REQUIRED','unitID','LocaleService','subscribe','NodePositionConvertToCursor','permission.title','CONNECTOR_DATA_TOO_LARGE','fill','collabStatus.synced','registerRefRange','redoState','getMember','handleMoveRange','_cursor','location','DocIMEInputManagerService','session.will-retry','APPLY_REVISION_CONFILICT','LOGIN_FAILED','_id','className','on-line-icon','transformMutationsWithChangeset','pluginName','runRefRangeMutations','getSheetBySheetId','all','clipPath','call','debug','55ohEEqc','mask','serializeRangeWithSheet','unitId','getOwnPropertySymbols','children','RemoveColCommandId','BehaviorSubject','SetWorksheetActivateCommand','getActiveRange','REDEMPTION_USER_NOT_ELIGIBLE','setStateCache','TOO_MANY_REQUESTS','subunit','_init','React','_localCacheService','collabStatus.notCollab','url(#off-line-icon_clip0_910_343)','YUUMI_TABLE_NOT_FOUND_IN_UNIT','MoveRangeCommandId','_toggleOnline','unshift','get','_updateURLWithCurrentState','setShapeProps','0\x200\x2017\x2016','getRenderById','_hideTimer','UPDATE_CURSOR','Disposable','ticket','ITransformService','REDEMPTION_CODE_HAS_BEEN_CREATED','object','_getScale','SessionStatus','_toggleOffline','RevisionService','collab-text-range-','CollaborationSessionService','apply','@univerjs/core','Error','SUBMIT_CHANGESET_TIMEOUT','SHEET_VIEWPORT_KEY','string','shareReplay','name','getSheetId','fromEvent','stringify','push','_docTransformSelectionsService','OffLineIcon','react','RemoveRowCommandId','559296GktQpZ','createIdentifier','merge','with','OTHER_CLIENTS_EDITING','IUniverInstanceService','ACTIVE_UNIT_EVENT_CHANNEL','USER_IS_ANONYMOUS','toString','IRemoteInstanceService','UNIVER_SHEET','delete','UNIVER_DOC','_entities','CURRENT_STATUS_CANNOT_OPERATE','addObject','_collaborationUIEventService','getRangePointData','_scene','YUUMI_AI_RUN_FAILED','currentColor','history','APPLY_REJECT','blue.400','_render','runId','sheetId','ILocalCacheService','createInstance','getUndoRedoMutationParamsCache','NodePositionConvertToRectRange','ENTITLE_DUP_SUBSCRIPTION','off-line-icon','INotificationService','_colorIndex','NOT_COLLAB','_name','MUTATION','0\x200\x2016\x2016','setParam','isEditing','DependentOn','univerjs-icon\x20univerjs-icon-','getOwnPropertyDescriptor','_session','onLocalMutation','_roomMembers$','IRenderManagerService','OTHER_CLIENT_EDITING','unload','addEventListener','_selfUnitIDs','_getSheetObject','RemoteUniscriptService','collabStatus.offline','sheetID','editingUnit','getDocRanges','requireSession','_docSkeleton','evenodd','AUTHORIZE_CODE_ILLEGAL','path','deepClone','setConfig','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DOC_RANGE_TYPE','ICommandService','removeParam','Plugin','CollaborationUIEventId','_handleHover','isTransformMutationsWithChangesetSuccess','_ensureSubject','univer-flex\x20univer-items-center','SetDocZoomRatioOperation','WebBrowserSingleActiveUnitService','ranges','_dataLoaderService','_drawTextRange','_docSkeletonManagerService','transformByState','current','BuiltInUIPart','assignAColorForMemberID','disposeWithMe','ENTITLE_CAN_NOT_BUY_LOWER_OTP','text','483063ElbrIT','storage','getTypeOfUnitAdded$','translate(.97)','getCellPositionByOffset','getViewport','row','setActiveRange','_logService','REDEMPTION_CODE_NOT_STARTED','fillStyle','handleInsertCol','DocSelectionManagerService','tag','cursorInfo','onStarting','addHandlerCallback','DocStateChangeManagerService','_instanceService','sessionStatus$','YUUMI_NO_CUBOID_FOR_QUESTION','reconnect','ILocalStorageService','invokeId','handleIRemoveRow','_disabled','ISnapshotServerService','CollaborationDataLoaderController','CommandType','getSkeleton','bottom','FETCH_MISS','_removeCollabCursors','PENDING','collab-rect-range-','YUUMI_ALL_TABLES_IS_INVALID','Warning','ENTITLE_REPORT_LIMIT_EXCEED','session.connection-failed','triggerDblclick','href','_docClipboardService','pushState','_handleHeartbeatEvent','params','type','_range','_scheduleSaving','_docTransformStateCacheService','APPLY_NON_SEQUENTIAL_REVISION','@univerjs-pro/collaboration-client','runOnServer','handleInsertRangeMoveRight','_doCreateSocket','_color','630AiIsLf','isTransformMutationFailure','DataLoaderService','transformIMECache','_eventUnsubscribe','getUniverSheetInstance','JOIN_ROOM_FAILED','UniverDrawing','max','font','colorChannel1','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_updateSubUnitFromURLParams','COMPLETION_FINISHED','HEADER_MENU','DeleteRangeMoveLeftCommandId','OnLineIcon','imageSourceType','@univerjs/network','_setupBeforeClosingHandler','rxjs','pipe','source','registerBeforeClose','mutations','isArray','_docTransformIMECacheService','contains','_drawAnchor','collaboration-client.offline-data-not-saved','2NaaRfo','InsertRangeMoveDownCommandId','_startDocCollabCursor','toStringTag','_colorAssignService','url(#$1','takeUntil','getAncestorScale','getMemberID','propertyIsEnumerable','_createSocketURL','transformStateCache','skeleton','_sheetSkeletonManagerService','rxjs/operators','dispose$','REDEMPTION_CODE_FULLY_REDEEMED','yellow.400','_registerRenderDependencies','onTransformChange$','attrs','collabCursorState$','YUUMI_UNABLE_LOAD_URL','executeCommand','map','USER_NOT_INVITED_CODE','on-line-icon_clip0_910_349','arc','replaceDocRanges','_transformService','Subject','has','newValue','CollaborationSocketService','combineLatest','_commandService','jiqing.500','restore','length','Injector','_themeService','url(#on-line-icon_clip0_910_349)','resize','OFFLINE','YUUMI_CONNECTOR_URL_NOT_FOUND','SOCKET_FAILED_RETRY','Tools','_httpService','_updateLocalCursor','toDisposable','jsx','idSuffix','_renderManagerService','getUnitStatus$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','useDependency','replaceState','_shapes','InsertColCommandId','IBeforeCloseService','asObservable','indexOf','@univerjs/sheets-ui','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','textRanges','IMessageService','_refreshCollabCursors','function','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_textBubble','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getValue','UniverInstanceType','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_startSheetCollabCursor','selection','_removeClearOtherTimer','MOBILE_VERIFY_CODE_MISMATCH','concat','generateRandomId','INVITE_CODE_HAS_BEEN_UES','_labelPosition','DisposableCollection','transformSelections','defs','_collabCursorController','WebSocketService','jsxs','INVITE_CODE_ALREADY_BOUND','_transformHistoryAndStateStack','operators','range','searchParams','exports','permission.content','_status$','SNAPSHOT_INVALID_SNAPSHOT','_onCursorUpdate','debounce','handleDeleteRangeMoveUp','moveTo','ThemeService','_localeService','_lastPointer','_messageService','_collabSessionService','values','endColumn','_getSessionTicket','LICENSE_EXPORT_SIZE_EXCEEDED','docStateChange$','CHANGESET_REVISION_CONFILICT','show','split','column','body','wsSessionTicketUrl','displayName','addObjects','/run/','top','registerDependencies','amd','http://www.w3.org/2000/svg','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Rect','doc.mutation.rich-text-editing','TEXT','transformRemoteChangeset','getCoordByCell','complete','_registerDependencies','105344qMwYOe','transformMutation','CONFLICT','undoState','_hovered','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','defineProperty','useCallback','_scheduleClearOtherTimer','_cachedData','loadOfflineData','@univerjs-pro/collaboration','onRendered','_unitOnClients','setUndoRedoMutationParamsCache','_anchorDot','YUUMI_SUBSCRIPTION_NOT_FOUND','MOBILE_HAS_BEEN_BOUND','_config','UniverEngineFormula','some','eventID','_backgroundColor','_injector','SetSelectionsOperation','send','flatMap','APPLY_PERMISSION_DENIED','@univerjs/engine-formula','APPLY_DUPLICATED','_hover','WECHAT_HAS_BEEN_BOUND','registerRenderModule','fromEventSubject','USER_NOT_FOUND','activeSheet$','setItem','min','closePath','event$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','REDEMPTION_CODE_INACTIVE','handleDeleteRangeMoveLeft','memberID','CollaborationEvent','drawWith','from','EffectRefRangId','filter','INVALID_ARGUMENT','_initEvent','xlink:href','getParam','SNAPSHOT_HAS_BEEN_REMOVED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','origin','_refRangeService','init','replace','_notificationService','icon','collab-text-anchor-','fillRule','m1Prime','getCollabEntity$','syncEditingCollabCursor','dispose','UniverSheetsUi','Module','exhaustSavingTask','purple.300','subUnitId','mapTo','includes','SheetsSelectionsService','@univerjs/drawing','_handleEvent','_syncEditingCollabCursorService','_saveTaskMap','_initStatusListener','HTTPService','getCollabCursors$','_uiPartsService','UNRECOGNIZED','off-line-icon_clip0_910_343','handleInsertRangeMoveDown','error','UniverDocs','getStateCache','_document','BrowserCollaborationSocketService','RefRangeService','RichTextEditingMutation','Shape','currentSkeleton$','_collaborationController','getColor','clsx','_cursorInfo$','setAlpha','_saveCache','_urlService','find','unit','COLORS','LOGIN_TOKEN_PROCESSING_FAILED','onCommandExecuted','getConfig','LOCAL_CACHE_INTERVAL','forwardRef','mergeOverrideWithDependencies','startRow','debounceTime','DesktopCollaborationStatusDisplayController','none','application/json','YUUMI_ASYNCIO_CANCELLED','assign','useObservable','_setupSubUnitSync','RECT','@univerjs/engine-render','clearInterval','save','@univerjs/rpc','UniverUi','onMouseMove','toRgbString','_cursors','IConfigService','collaboration.closeRoom','saveTaskMap','LICENSE_MAX_UNITS_EXCEEDED','uni.network.url-service','_transformUndoRedoStack','sessionTicket','result','white','TEXT_RANGE_LAYER_INDEX','UniverCollaborationClientUIPlugin','CLOSE_ROOM','ONLINE','_online','fillText','disableLocalCache','collaboration-client-ui.config','_revisionService','code','measureText','36464uBENfl','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','getCurrentRevOfUnit','getCurrent','SYNCED','onPointerMove$','urlChange$','_docStateChangeManagerService','_cursorShapes','1392692IVsCrx','LICENSE_DISTRO_REJECTED','_localStorageService','@univerjs/sheets','color','setTimeout','div','_context','status$','_beforeCloseService','VIEW_MAIN','@univerjs/docs','trim','getLocalCacheKey','_unitStatus','_drawRectRange','_updateCollabCursors','MessageType','Failed','SOCKET_FAILED','enableLocalCache','DocSkeletonManagerService','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'];_0x15a7=function(){return _0x282879;};return _0x15a7();}
|