@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504241607 → 0.6.10-nightly.202504261606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xfda5(_0x566b4c,_0x4b113f){const _0x555ba7=_0x555b();return _0xfda5=function(_0xfda59,_0x352bcb){_0xfda59=_0xfda59-0xf6;let _0x5bf0e9=_0x555ba7[_0xfda59];return _0x5bf0e9;},_0xfda5(_0x566b4c,_0x4b113f);}function _0x555b(){const _0x355d28=['defIds','call','_assignedColors','getDocRanges','_sheetSkeletonManagerService','_doCreateSocket','attrs','getCurrentRevOfUnit','debounce','MessageType','on-line-single','_cursorInfo$','text','OTHER_CLIENTS_EDITING','all','CollaborationController','Rectangle','ICommandService','RemoveColCommandId','@univerjs-pro/collaboration','_docSyncEditingCollabCursorService','string','_status$','handleDeleteRangeMoveUp','_collabCursorController','_imageIoService','CONNECTOR_DATA_TOO_LARGE','_univerInstanceService','_scheduleSaving','handleInsertRow','_instanceService','_initStatusComponent','_textBubble','loadUnit','toRgbString','_disabled','clsx','ILocalCacheService','handleIRemoveCol','init','tag','black','svg','replaceDocRanges','set','focused$','collabStatus.syncing','sessionStatus$','send','red300','@univerjs/sheets-ui','UniverDrawing','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_commandService','eventID','onlineStatusIcon','_initEntityListener','subunit','application/json','_handleEvent','FETCH_MISS','type','_document','_createSocketURL','MemberService','complete','lineTo','onlineStatus','transformRemoteChangeset','save','InsertColCommandId','SheetCollabCursorShape','entityInit$','saveImage','top','_name','roomMembers$','throttleTime','BrowserCollaborationSocketService','_onCursorUpdate','subUnitId','toDisposable','data','InsertRowCommandId','Disposable','filter','disposeUnit','subscribeEvent','findNodePositionByCharIndex','stringify','font','collabCursorState$','1420938CarwoU','_send','reconnect','trim','clearInterval','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','@univerjs/design','invokeId','/run/','_getSaveTimeout','isTransformMutationsWithChangesetSuccess','@univerjs/engine-formula','unitID','gold400','hovered','color','SetDocZoomRatioOperation','m2Prime','permission.content','_cachedData','INVITE_CODE_HAS_BEEN_UES','entries','values','CHANGESET_REVISION_CONFILICT','_renderManagerService','_updateSubUnitFromURLParams','moveTo','cursorInfo$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getSheetObject','univer-online','_drawTextRange','_hovered','getMember','1em','_cursor','_transformService','has','startsWith','DocCollaborationEntity','ISocketService','UNAUTHENTICATED','_saveTaskMap','executionId','ACTIVE_UNIT_EVENT_CHANNEL','ITransformService','map','useObservable','fillRule','registerRefRange','LICENSE_MAX_UNITS_EXCEEDED','collaboration.closeRoom','syncEditingCollabCursor','indexOf','unit','from','setItem','getUndoRedoMutationParamsCache','UniverProCollaboration','measureText','sheetId','getRenderById','bottom','onStarting','IMessageService','onRendered','2tqdSlo','YUUMI_NO_CUBOID_FOR_QUESTION','WECHAT_HAS_BEEN_BOUND','_handleHover','getVpScrollXYInfoByPosToVp','_eventUnsubscribe','_session','get','urlChange$','_color','TEXT','unshift','evenodd','docStateChange$','code','isArray','_hideTimer','OffLineSingle','getSkeleton','_themeService','MOBILE_HAS_BEEN_BOUND','_collaborationController','width','_handleLeaveEvent','idSuffix','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','source','SessionStatus','_colorAssignService','PERMISSION_DENIED','_drawAnchor','YUUMI_URL_COL_OUT_OF_RANGE','xlink:href','m1Prime','_labelPosition','updateOfflineData','getMergeData','DeleteRangeMoveLeftCommandId','_localStorageService','takeUntil','2203FlDWTR','distinctUntilChanged','debug','_range','JOIN_ROOM_FAILED','_handleJoinEvent','registerDependencies','SNAPSHOT_HAS_BEEN_REMOVED','_shapes','_entityInit$','row','_initResize','APPLY_PERMISSION_DENIED','IRenderManagerService','rxjs/operators','SetSelectionsOperation','7919086WdVcec','purple300','_docTransformIMECacheService','registerRenderModule','CollaborationSocketService','3994115itnIRf','IUniverInstanceService','createIdentifier','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','searchParams','_updateURLWithCurrentState','getSheetBySheetId','createInstance','getSheetId','INotificationService','WebBrowserSingleActiveUnitService','_refreshCollabCursors','MoveRangeCommandId','translate(.97)','UNDEFINED','handleMoveRange','DocStateChangeManagerService','_getMergeRange','delete','BehaviorSubject','setTimeout','className','ALREADY_EXISTS','defineProperty','LOGIN_FAILED','_toggleOnline','handleDeleteRangeMoveLeft','undoState','UPDATE_CURSOR','onlineStatusTitle','DeleteRangeMoveUpCommandId','location','extend','_clearOtherTimers','0\x200\x2017\x2016','runId','CollaborationSessionService','_cursors','_roomMembers$','getOwnPropertyDescriptor','endColumn','YUUMI_RATE_OVER_LIMIT','clipPath','override','isTransformMutationFailure','_uiPartsService','_refRangeService','SNAPSHOT_INVALID_SNAPSHOT','href','getTypeOfUnitDisposed$','setConfig','addObjects','TEXT_RANGE_LAYER_INDEX','getColor','_lastPointer','UniverCollaborationClientPlugin','find','[CollaborationDataLoaderController]','_memberService','Plugin','INVALID_INVITE_CODE','off-line-single','restore','next','Shape','round','InsertRangeMoveRightCommandId','getItem','_drawRectRange','loadOfflineData','_transformUndoRedoStack','icon','USER_NOT_INVITED_CODE','handleIRemoveRow','mask','_config','registerBeforeClose','getStateCache','isEditing','getAncestorScale','propertyIsEnumerable','_onRefRangeChange','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','createElement','min','enableLocalCache','origin','setAlpha','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','fromEvent','AWAITING_WITH_PENDING','_getScale','on-line-single_clip0_910_349','whenReady','getFocusedUnit','_context','closePath','startColumn','Optional','ISnapshotServerService','_docSkeletonManagerService','_startSheetCollabCursor','setShapeProps','popstate','_anchor','prototype','requireSession','PENDING','APPLY_DUPLICATED','@univerjs/ui','UniverNetwork','univer-flex\x20univer-items-center','actions','dispose','hasOwnProperty','EMAIL_HAS_BEEN_BOUND','result','SOCKET_FAILED','getViewport','key','Failed','univer-online-status','_beforeCloseService','NodePositionConvertToCursor','disposeWithMe','length','_handleHeartbeatEvent','IRemoteInstanceService','CommandType','@univerjs/rpc','redoState','mutations','collaboration-client-ui.config','error','ENSURE_SNAPSHOT_EXECUTION','_collaborationUIEventService','url(#off-line-single_clip0_910_343)','debounceTime','addEventListener','SetWorksheetActivateCommand','cursorInfo','DataLoaderService','_removeCollabCursors','_ensureSubject','registerComponent','ranges','setParam','fill','PY_RUNTIME_SCRIPT_ERROR','UniverInstanceType','COMPLETION_FINISHED','transform','HTTPService','collab-client.tooltip.reconnect','size','@univerjs-pro/collaboration-client','UniverEngineFormula','substring','YUUMI_ASYNCIO_CANCELLED','getMemberID','OnLineSingle','2403054HsPMMX','collab-text-range-','CollaborationDataLoaderController','_localCacheService','Workbook','url(#$1','operators','RemoveRowCommandId','replaceState','fillText','addObject','drawWith','@univerjs/engine-render','IBeforeCloseService','_selfUnitIDs','#fff','_getSessionTicket','_setupBeforeClosingHandler','IDocClipboardService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_revisionService','online','runRefRangeMutations','_anchorDot','_notificationService','transformMutation','_configService','_initEvent','setUndoRedoMutationParamsCache','LICENSE_EXPORT_SIZE_EXCEEDED','selection','InsertRangeMoveDownCommandId','UniverDocs','_initCommandExecutedListener','onPointerLeave$','SYNCED','getOwnPropertySymbols','merge','_docTransformSelectionsService','getRangePointData','range','saveTaskMap','OTHER_CLIENT_EDITING','Warning','EffectRefRangId','amd','ILocalStorageService','_entities','asObservable','_urlService','WebURLService','handleInsertCol','rxjs','_transformHistoryAndStateStack','useDependency','HEADER_MENU','uni.network.url-service','RefRangeService','Tools','_startDocCollabCursor','getUnitId','doc.mutation.rich-text-editing','INVITE_CODE_ALREADY_BOUND','UniverProCollaborationClientUi','Error','getActiveRange','ColorKit','_messageService','column','#FFF','LOCAL_CACHE_INTERVAL_KEY','_docClipboardService','getParam','CLOSE_ROOM','concat','body','memberID','startRow','object','_collabCursorState$','_collabSessionService','DesktopCollaborationStatusDisplayController','params','getConfig','collaboration.single-unit.warning','Rect','path','_scheduleClearOtherTimer','endRow','forEach','_heartbeatTimer','imageSourceType','none','toString','0\x200\x2016\x2016','transformStateCache','8MSIOyx','getOffsetConfig','CollaborationUIEventId','onPointerMove$','univer-online-status-icon','div','name','ILogService','add','RECT','NO_OTHER_CLIENTS_EDITING','M0\x200H16V16H0z','displayName','onTransformChange$','hide','DependentOn','getCollabCursors$','getTypeOfUnitAdded$','INVITE_CODE_REQUIRED','currentSkeleton$','getActiveSheet','@univerjs/core','deserializeRangeWithSheet','fillStyle','subscribe','arc','newValue','_colorIndex','currentTheme$','AWAITING','exhaustSavingTask','...','_dataLoaderService','generateRandomId','roomMembers','APPLY_REVISION_CONFILICT','jiqing500','_saveCache','disableLocalCache','addClipboardHook','backgroundColor','search','makeDirty','with','_id','LICENSE_DISTRO_REJECTED','getCoordByCell','getLocalCacheKey','_hover','saveOfflineData','BuiltInUIPart','IConfigService','_render','RxDisposable','APPLY_REJECT','show','wsSessionTicketUrl','@univerjs/drawing','SetTextSelectionsOperation','switchMap','UniverProCollaborationClient','off-line-single_clip0_910_343','storage','split','height','_registerDependencies','skeleton','COLORS','LICENSE_IMPORT_SIZE_EXCEEDED','getCurrent','Unknown\x20user','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','offline','push','_scheduleHeartbeat','children','_docTransformStateCacheService','DocSelectionManagerService','_updateLocalCursor','function','isActive','_registerRenderDependencies','DocIMEInputManagerService','jsx','permission.title','Injector','transformSelections','activeSheet$','fromEventSubject','mergeOverrideWithDependencies','NOT_COLLAB','Inject','RemoteUniscriptService','CollaborationStatus','event$','UNRECOGNIZED','_removeClearOtherTimer','getSheetObject','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DisposableCollection','onPointerEnter$','pushState','@univerjs/docs','unitId','runOnServer','UniverCollaborationClientUIPlugin','_onCursorDelete','post','getValue','_initDependencies','collabStatus.offline','combineLatest','1510362HXYoxs','UniverDocsUi','connectInjector','defs','useCallback','toStringTag','USERS_LEAVE','@univerjs/sheets','parse','engine','_syncEditingCollabCursorService','onCommandExecuted','beginPath','sheetID','handleInsertRangeMoveRight','_docSkeleton','resize','APPLY_NON_SEQUENTIAL_REVISION','unsubscribe','@univerjs/network','then','transformIMECache','VIEW_MAIN','forwardRef','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','colorChannel1','WebSocketService','includes','deepClone','textRanges','_localeService','_backgroundColor','UNIVER_DOC','_initStatusListener','CollaborationEvent','_unitStatus','assign','react/jsx-runtime','CollaborationStatusDisplay','clearTimeout','collab-rect-range-','_getAnchorBounding','contains','_init','1763064sJtAkn','_toggleOffline','_httpService','onLocalMutation','INVALID_ARGUMENT','some','YUUMI_SUBSCRIPTION_NOT_FOUND','Vector2','_logService','UNIVER_SHEET','SheetsSelectionsService','_unitOnClients','univer-offline','UniverSheetsUi','react','touchDependencies','UnitStatus','NOT_FOUND','LOCAL_CACHE_INTERVAL','FromArray','dispose$','pipe','transformMutationsWithChangeset','_cursorShapes','DOC_RANGE_TYPE','_online','assignAColorForMemberID','_scene','LocaleService','history','_updateCollabCursors','_injector','_setupSubUnitSync','ONLINE','OFFLINE','UniverCore','_docStateChangeManagerService','_draw'];_0x555b=function(){return _0x355d28;};return _0x555b();}(function(_0x425b26,_0xd1195b){const _0x3cd67a=_0xfda5,_0x2f3dba=_0x425b26();while(!![]){try{const _0x1903ed=-parseInt(_0x3cd67a(0x27f))/0x1*(parseInt(_0x3cd67a(0x257))/0x2)+parseInt(_0x3cd67a(0x215))/0x3+parseInt(_0x3cd67a(0x193))/0x4+-parseInt(_0x3cd67a(0x294))/0x5+-parseInt(_0x3cd67a(0x167))/0x6+parseInt(_0x3cd67a(0x28f))/0x7+-parseInt(_0x3cd67a(0xf7))/0x8*(parseInt(_0x3cd67a(0x335))/0x9);if(_0x1903ed===_0xd1195b)break;else _0x2f3dba['push'](_0x2f3dba['shift']());}catch(_0x5b1e81){_0x2f3dba['push'](_0x2f3dba['shift']());}}}(_0x555b,0xb13bf),function(_0x2d2b97,_0x29182e){const _0x7fa0a3=_0xfda5;typeof exports==_0x7fa0a3(0x384)&&typeof module<'u'?_0x29182e(exports,require(_0x7fa0a3(0x32f)),require(_0x7fa0a3(0x10c)),require(_0x7fa0a3(0x341)),require(_0x7fa0a3(0x17a)),require('@univerjs/docs-ui'),require(_0x7fa0a3(0x130)),require('rxjs'),require(_0x7fa0a3(0x15d)),require(_0x7fa0a3(0x1cc)),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require(_0x7fa0a3(0x28d)),require(_0x7fa0a3(0x1eb)),require(_0x7fa0a3(0x18c)),require(_0x7fa0a3(0x301)),require(_0x7fa0a3(0x21b)),require(_0x7fa0a3(0x1a1)),require(_0x7fa0a3(0x315))):typeof define==_0x7fa0a3(0x146)&&define[_0x7fa0a3(0x363)]?define(['exports','@univerjs-pro/collaboration-client','@univerjs/core',_0x7fa0a3(0x341),_0x7fa0a3(0x17a),'@univerjs/docs-ui',_0x7fa0a3(0x130),_0x7fa0a3(0x36a),_0x7fa0a3(0x15d),_0x7fa0a3(0x1cc),_0x7fa0a3(0x220),_0x7fa0a3(0x16e),_0x7fa0a3(0x28d),_0x7fa0a3(0x1eb),'react/jsx-runtime',_0x7fa0a3(0x301),'@univerjs/design',_0x7fa0a3(0x1a1),_0x7fa0a3(0x315)],_0x29182e):(_0x2d2b97=typeof globalThis<'u'?globalThis:_0x2d2b97||self,_0x29182e(_0x2d2b97[_0x7fa0a3(0x375)]={},_0x2d2b97[_0x7fa0a3(0x133)],_0x2d2b97[_0x7fa0a3(0x1b6)],_0x2d2b97['UniverEngineRender'],_0x2d2b97[_0x7fa0a3(0x302)],_0x2d2b97[_0x7fa0a3(0x168)],_0x2d2b97[_0x7fa0a3(0x1ec)],_0x2d2b97[_0x7fa0a3(0x36a)],_0x2d2b97[_0x7fa0a3(0x356)],_0x2d2b97[_0x7fa0a3(0x24f)],_0x2d2b97[_0x7fa0a3(0x330)],_0x2d2b97['UniverSheets'],_0x2d2b97[_0x7fa0a3(0x36a)][_0x7fa0a3(0x33b)],_0x2d2b97[_0x7fa0a3(0x1a0)],_0x2d2b97['React'],_0x2d2b97['UniverUi'],_0x2d2b97['UniverDesign'],_0x2d2b97['React'],_0x2d2b97['UniverRpc']));}(this,function(_0x189a83,_0x208871,_0x4bef22,_0x5bc9e3,_0x249c63,_0x33fc6e,_0x113461,_0x18dc13,_0x579d84,_0x34a53b,_0x31ede8,_0xa54874,_0x3632af,_0x5dd3a1,_0x160450,_0x199f13,_0x16b349,_0x4d4bff,_0x185caa){'use strict';const _0x1f2d6d=_0xfda5;var _0x1cb3f1=Object[_0x1f2d6d(0x2ab)],_0x57eb82=(_0x22f6a4,_0x58dc11,_0x12ea1d)=>_0x58dc11 in _0x22f6a4?_0x1cb3f1(_0x22f6a4,_0x58dc11,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12ea1d}):_0x22f6a4[_0x58dc11]=_0x12ea1d,_0x4c7e9f=(_0x537ae1,_0x5819d0,_0x400747)=>_0x57eb82(_0x537ae1,typeof _0x5819d0!='symbol'?_0x5819d0+'':_0x5819d0,_0x400747),_0x3ee96e=Object[_0x1f2d6d(0x2bb)],_0x262f0c=(_0x279c1e,_0x2605b9,_0xc56c2d,_0x23690c)=>{for(var _0x340e3c=_0x23690c>0x1?void 0x0:_0x23690c?_0x3ee96e(_0x2605b9,_0xc56c2d):_0x2605b9,_0x525a8c=_0x279c1e['length']-0x1,_0x1efaab;_0x525a8c>=0x0;_0x525a8c--)(_0x1efaab=_0x279c1e[_0x525a8c])&&(_0x340e3c=_0x1efaab(_0x340e3c)||_0x340e3c);return _0x340e3c;},_0xdc1acc=(_0x11414d,_0x3fa2bd)=>(_0x1aaed3,_0x3c9254)=>_0x3fa2bd(_0x1aaed3,_0x3c9254,_0x11414d);let _0x251cf8=class extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(_0x528636,_0x298b1a){const _0x3ed127=_0x1f2d6d;super(),this[_0x3ed127(0x37d)]=_0x528636,this[_0x3ed127(0x1d2)]=_0x298b1a,this[_0x3ed127(0x192)]();}[_0x1f2d6d(0x192)](){const _0x59ae3b=_0x1f2d6d,_0x455d3f=this;this['disposeWithMe'](this['_docClipboardService'][_0x59ae3b(0x11e)]({'onBeforePasteImage':async _0x282029=>{const _0x3ee30b=_0x59ae3b,_0x33b867=await _0x455d3f['_imageIoService'][_0x3ee30b(0x202)](_0x282029);return _0x33b867?{'source':_0x33b867[_0x3ee30b(0x271)],'imageSourceType':_0x33b867[_0x3ee30b(0x391)]}:null;}}));}};_0x251cf8=_0x262f0c([_0xdc1acc(0x0,_0x33fc6e[_0x1f2d6d(0x347)]),_0xdc1acc(0x1,_0x113461['IImageIoService'])],_0x251cf8);const _0x30765f=[_0x1f2d6d(0x290),_0x1f2d6d(0x11b),'verdancy600',_0x1f2d6d(0x1ea),'blue400',_0x1f2d6d(0x222)];class _0x54f6dc extends _0x4bef22[_0x1f2d6d(0x20d)]{constructor(){const _0x4b70ce=_0x1f2d6d;super(...arguments),_0x4c7e9f(this,_0x4b70ce(0x1bb),new Map()),_0x4c7e9f(this,'_colorIndex',0x0);}[_0x1f2d6d(0x1ad)](_0x3212a1){const _0x528690=_0x1f2d6d;if(this[_0x528690(0x1bb)]['has'](_0x3212a1))return this[_0x528690(0x1bb)][_0x528690(0x25e)](_0x3212a1);const _0x45b5e0=_0x30765f[this[_0x528690(0x112)]];return this[_0x528690(0x112)]=(this[_0x528690(0x112)]+0x1)%_0x30765f[_0x528690(0x311)],this[_0x528690(0x1bb)][_0x528690(0x1e5)](_0x3212a1,_0x45b5e0),_0x45b5e0;}}function _0x53fa54(_0x5c3d15){const _0x4710ae=_0x1f2d6d;let _0x2ed969='';for(const _0x11a289 of _0x5c3d15){const {startOffset:_0x3f7d29,endOffset:_0x139b49,isActive:_0x690975,rangeType:_0x1aa960,segmentId:_0x512397,segmentPage:_0x3bbc31}=_0x11a289;_0x2ed969[_0x4710ae(0x311)]&&(_0x2ed969+=','),_0x2ed969+=_0x3f7d29+':'+_0x139b49+':'+(_0x690975?'1':'0')+':'+_0x1aa960+':'+_0x512397+':'+_0x3bbc31;}return _0x2ed969;}function _0x1915e7(_0x36bbe6){const _0x4d4718=_0x1f2d6d,_0x409152=_0x36bbe6[_0x4d4718(0x136)](','),_0x2de06b=[];for(const _0x1e4cad of _0x409152){const [_0xf767f0,_0x769e34,_0x1db53c,_0x1d9592,_0x2d5864,_0xa1c4d9]=_0x1e4cad[_0x4d4718(0x136)](':');_0x2de06b[_0x4d4718(0x140)]({'startOffset':Number(_0xf767f0),'endOffset':Number(_0x769e34),'collapsed':_0xf767f0===_0x769e34,'isActive':_0x1db53c==='1','rangeType':_0x1d9592===_0x4bef22[_0x4d4718(0x1ab)]['TEXT']?_0x4bef22['DOC_RANGE_TYPE'][_0x4d4718(0x261)]:_0x4bef22['DOC_RANGE_TYPE'][_0x4d4718(0x100)],'segmentId':typeof _0x2d5864==_0x4d4718(0x1ce)?String(_0x2d5864):'','segmentPage':Number(_0xa1c4d9!=null?_0xa1c4d9:-0x1)});}return _0x2de06b[_0x4d4718(0x198)](_0x1e4abf=>_0x1e4abf['isActive'])||(_0x2de06b[0x0][_0x4d4718(0x147)]=!0x0),_0x2de06b;}class _0x2647fc extends _0x4bef22['RxDisposable']{constructor(){const _0x30c6aa=_0x1f2d6d;super(...arguments),_0x4c7e9f(this,_0x30c6aa(0x385),new _0x18dc13[(_0x30c6aa(0x2a7))](null)),_0x4c7e9f(this,_0x30c6aa(0x214),this[_0x30c6aa(0x385)][_0x30c6aa(0x366)]());}['syncEditingCollabCursor'](_0x20ed51){const _0xe72617=_0x1f2d6d,{unitID:_0x155e20,memberID:_0x1846fc,textRanges:_0x35b80c}=_0x20ed51,_0x2e9eac=_0x53fa54(_0x35b80c);if(_0x2e9eac==='')return;const _0x3b1086={'unitID':_0x155e20,'memberID':_0x1846fc,'selection':_0x2e9eac};this[_0xe72617(0x385)][_0xe72617(0x2d3)](_0x3b1086);}}var _0x530a07=Object['getOwnPropertyDescriptor'],_0x523d71=(_0x9907c,_0x202fba,_0x2b102d,_0x224363)=>{const _0x22ced4=_0x1f2d6d;for(var _0x1385db=_0x224363>0x1?void 0x0:_0x224363?_0x530a07(_0x202fba,_0x2b102d):_0x202fba,_0x1de173=_0x9907c[_0x22ced4(0x311)]-0x1,_0x292995;_0x1de173>=0x0;_0x1de173--)(_0x292995=_0x9907c[_0x1de173])&&(_0x1385db=_0x292995(_0x1385db)||_0x1385db);return _0x1385db;},_0x471c01=(_0x509e9b,_0x19d5b9)=>(_0x38e2f6,_0x30a294)=>_0x19d5b9(_0x38e2f6,_0x30a294,_0x509e9b);const _0x2d3aee=0x12c,_0x561545=0x64;let _0x45346f=class extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(_0x3262e3,_0x26037f,_0x3381b0,_0x5db882,_0xa3ab43,_0x3dfe4f,_0x493d62,_0x20a942,_0x119656){const _0x10c029=_0x1f2d6d;super(),_0x4c7e9f(this,_0x10c029(0x1ac),!0x1),_0x4c7e9f(this,_0x10c029(0x192),!0x1),_0x4c7e9f(this,_0x10c029(0x1c4),new _0x18dc13[(_0x10c029(0x2a7))](new Map())),_0x4c7e9f(this,'cursorInfo$',this[_0x10c029(0x1c4)][_0x10c029(0x366)]()),_0x4c7e9f(this,_0x10c029(0x2ba),new _0x18dc13['BehaviorSubject']([])),_0x4c7e9f(this,_0x10c029(0x205),this[_0x10c029(0x2ba)]['pipe'](_0x18dc13[_0x10c029(0x31d)](_0x2d3aee))),_0x4c7e9f(this,_0x10c029(0x145),_0x4bef22[_0x10c029(0x1c1)](_0x57e2da=>{const _0x3eefeb=_0x10c029,_0x4856a0={'eventID':_0x34a53b[_0x3eefeb(0x189)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x3eefeb(0x25d)][_0x3eefeb(0x333)](),'selection':_0x53fa54(_0x57e2da)}};this[_0x3eefeb(0x25d)][_0x3eefeb(0x1e9)](_0x4856a0,this[_0x3eefeb(0x221)]);},_0x561545)),(this['unitID']=_0x3262e3,this[_0x10c029(0x25d)]=_0x26037f,this[_0x10c029(0x1b2)]=_0x3381b0,this[_0x10c029(0x273)]=_0x5db882,this[_0x10c029(0x2ce)]=_0xa3ab43,this[_0x10c029(0x171)]=_0x3dfe4f,this['_transformService']=_0x493d62,this['_univerInstanceService']=_0x20a942,this['_commandService']=_0x119656);}get['cursorInfo'](){const _0xb1a9b0=_0x1f2d6d;return this[_0xb1a9b0(0x1c4)]['getValue']();}get[_0x1f2d6d(0x119)](){const _0x3f51c9=_0x1f2d6d;return this[_0x3f51c9(0x2ba)][_0x3f51c9(0x163)]();}['dispose'](){const _0x43cba2=_0x1f2d6d;super[_0x43cba2(0x305)](),this[_0x43cba2(0x1c4)][_0x43cba2(0x2d3)](new Map()),this[_0x43cba2(0x1c4)][_0x43cba2(0x1fa)](),this[_0x43cba2(0x2ba)]['next']([]),this[_0x43cba2(0x2ba)][_0x43cba2(0x1fa)]();}[_0x1f2d6d(0x1e0)](){const _0xfde15b=_0x1f2d6d;this[_0xfde15b(0x192)]||(this[_0xfde15b(0x192)]=!0x0,this[_0xfde15b(0x25d)][_0xfde15b(0x1e8)][_0xfde15b(0x1a8)](_0x18dc13[_0xfde15b(0x27e)](this[_0xfde15b(0x1a7)]))['subscribe'](_0x50120b=>{const _0x721db8=_0xfde15b;_0x50120b===_0x208871['SessionStatus'][_0x721db8(0x1b4)]?this[_0x721db8(0x2ad)]():this[_0x721db8(0x194)]();}),this[_0xfde15b(0x25d)][_0xfde15b(0x155)][_0xfde15b(0x1a8)](_0x18dc13[_0xfde15b(0x27e)](this['dispose$']))[_0xfde15b(0x10f)](_0x1b5d7f=>{const _0x18884c=_0xfde15b,_0x501487=_0x1b5d7f['eventID'];_0x501487===_0x34a53b[_0x18884c(0x189)][_0x18884c(0x2b0)]&&this[_0x18884c(0x208)](_0x1b5d7f),_0x501487===_0x34a53b['CollaborationEvent'][_0x18884c(0x16d)]&&this[_0x18884c(0x161)](_0x1b5d7f);}),this[_0xfde15b(0x310)](this['_commandService'][_0xfde15b(0x172)](_0x244447=>{const _0x44f5c3=_0xfde15b,_0x5b756a=_0x244447[_0x44f5c3(0x388)];_0x5b756a!=null&&this[_0x44f5c3(0x1ac)]&&_0x244447['id']===_0x579d84[_0x44f5c3(0x131)]['id']&&_0x5b756a[_0x44f5c3(0x15e)]===this['unitID']&&_0x5b756a[_0x44f5c3(0x2e2)]===!0x1&&_0x5b756a[_0x44f5c3(0x325)]['length']>0x0&&this[_0x44f5c3(0x145)](_0x5b756a[_0x44f5c3(0x325)]);})),this[_0xfde15b(0x171)][_0xfde15b(0x214)][_0xfde15b(0x1a8)](_0x18dc13[_0xfde15b(0x27e)](this[_0xfde15b(0x1a7)]))[_0xfde15b(0x10f)](_0x5b7d25=>{const _0x39357b=_0xfde15b;if((_0x5b7d25==null?void 0x0:_0x5b7d25[_0x39357b(0x221)])!==this['unitID'])return;const _0x5eea2f={'eventID':_0x34a53b[_0x39357b(0x189)][_0x39357b(0x2b0)],'data':_0x5b7d25};this[_0x39357b(0x208)](_0x5eea2f);}),this[_0xfde15b(0x310)](this[_0xfde15b(0x1ee)][_0xfde15b(0x172)](_0x14938a=>{const _0x4c9f62=_0xfde15b;if(_0x14938a['params']==null)return;const _0x332ff8=_0x14938a[_0x4c9f62(0x388)];if(_0x14938a['id']!==_0x579d84['RichTextEditingMutation']['id']||_0x332ff8[_0x4c9f62(0x15e)]!==this[_0x4c9f62(0x221)])return;const _0x3bb459={'id':'doc.mutation.rich-text-editing','params':_0x332ff8},_0x570ca6=this[_0x4c9f62(0x320)];for(const [_0x2f0f4b,_0x54c87b]of _0x570ca6){const _0x26b317={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4c9f62(0x221)],'actions':null,'textRanges':_0x54c87b[_0x4c9f62(0x325)]}},_0x4a3e37=this[_0x4c9f62(0x239)][_0x4c9f62(0x34f)](_0x3bb459,_0x26b317,!0x1);if(_0x34a53b[_0x4c9f62(0x2c0)](_0x4a3e37))throw _0x4a3e37['error'];_0x570ca6[_0x4c9f62(0x1e5)](_0x2f0f4b,{..._0x54c87b,'ranges':_0x4a3e37[_0x4c9f62(0x226)][_0x4c9f62(0x388)][_0x4c9f62(0x184)]});}queueMicrotask(()=>{const _0x520a8a=_0x4c9f62;this[_0x520a8a(0x1c4)][_0x520a8a(0x2d3)](_0x570ca6);});})));}[_0x1f2d6d(0x208)](_0x4b7b47){const _0x153e52=_0x1f2d6d;var _0x527203,_0x3d3bb0;const {memberID:_0x35f889,selection:_0x160ecb}=_0x4b7b47['data'],_0x46614f=_0x1915e7(_0x160ecb),_0x553a24=(_0x3d3bb0=(_0x527203=this['_memberService']['getMember'](this[_0x153e52(0x221)],_0x35f889))==null?void 0x0:_0x527203[_0x153e52(0xfd)])!=null?_0x3d3bb0:_0x153e52(0x13d),_0x2448fd={'color':this[_0x153e52(0x273)][_0x153e52(0x1ad)](_0x35f889),'name':_0x553a24,'ranges':_0x46614f},_0x584f86=this[_0x153e52(0x320)];_0x584f86['set'](_0x35f889,_0x2448fd),this[_0x153e52(0x1c4)]['next'](_0x584f86);}['_onCursorDelete'](_0x4d206d){const _0x1af468=_0x1f2d6d,{memberID:_0x1cb7f3}=_0x4d206d['data'],_0x15bc6d=this[_0x1af468(0x320)];_0x15bc6d[_0x1af468(0x2a6)](_0x1cb7f3),this[_0x1af468(0x1c4)]['next'](_0x15bc6d);}[_0x1f2d6d(0x2ad)](){const _0x133156=_0x1f2d6d;var _0xb4fc86;if(this[_0x133156(0x1ac)]=!0x0,((_0xb4fc86=this[_0x133156(0x1d4)]['getFocusedUnit']())==null?void 0x0:_0xb4fc86['getUnitId']())!==this['unitID'])return;const _0x18bec5=this[_0x133156(0x1b2)][_0x133156(0x25e)](_0x579d84[_0x133156(0x144)])['getDocRanges']();Array['isArray'](_0x18bec5)&&_0x18bec5[_0x133156(0x311)]>0x0&&this[_0x133156(0x145)](_0x18bec5);}[_0x1f2d6d(0x194)](){const _0x221aa3=_0x1f2d6d;this[_0x221aa3(0x1ac)]=!0x1;}};_0x45346f=_0x523d71([_0x471c01(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22[_0x1f2d6d(0x14c)])),_0x471c01(0x3,_0x4bef22[_0x1f2d6d(0x152)](_0x54f6dc)),_0x471c01(0x4,_0x4bef22[_0x1f2d6d(0x152)](_0x208871[_0x1f2d6d(0x1f9)])),_0x471c01(0x5,_0x4bef22[_0x1f2d6d(0x152)](_0x2647fc)),_0x471c01(0x6,_0x34a53b[_0x1f2d6d(0x242)]),_0x471c01(0x7,_0x4bef22[_0x1f2d6d(0x295)]),_0x471c01(0x8,_0x4bef22['ICommandService'])],_0x45346f);var _0x519272=Object['getOwnPropertyDescriptor'],_0xd32091=(_0x1fb9f3,_0x1341f3,_0x28a468,_0x33fc5c)=>{const _0x54a8ee=_0x1f2d6d;for(var _0x239295=_0x33fc5c>0x1?void 0x0:_0x33fc5c?_0x519272(_0x1341f3,_0x28a468):_0x1341f3,_0x5b329d=_0x1fb9f3[_0x54a8ee(0x311)]-0x1,_0x391f76;_0x5b329d>=0x0;_0x5b329d--)(_0x391f76=_0x1fb9f3[_0x5b329d])&&(_0x239295=_0x391f76(_0x239295)||_0x239295);return _0x239295;},_0x34f0d4=(_0x4dbac8,_0x4d3546)=>(_0x17478f,_0x30dea1)=>_0x4d3546(_0x17478f,_0x30dea1,_0x4dbac8);const _0x5c10e8=0x12c,_0x332c04=0x64,_0x30cf39=()=>{let _0x40df60=[],_0x2abe83=!0x1;return _0x1a781a=>{const _0x46e254=_0xfda5;_0x40df60[_0x46e254(0x140)](_0x1a781a),_0x2abe83||(_0x2abe83=!0x0,setTimeout(()=>{const _0xd58cac=_0x46e254;_0x40df60[_0xd58cac(0x38f)](_0xb946ab=>_0xb946ab()),_0x40df60=[],_0x2abe83=!0x1;}));};};let _0xe7823b=class extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(_0x22ec91,_0x943b04,_0x5c8927,_0x43ad92,_0x2cc166,_0x30bab9,_0x4c5601,_0x2665dd){const _0xb8b8a0=_0x1f2d6d;super(),_0x4c7e9f(this,_0xb8b8a0(0x1ac),!0x1),_0x4c7e9f(this,'_init',!0x1),_0x4c7e9f(this,_0xb8b8a0(0x1c4),new _0x18dc13['BehaviorSubject'](new Map())),_0x4c7e9f(this,_0xb8b8a0(0x230),this['_cursorInfo$'][_0xb8b8a0(0x366)]()),_0x4c7e9f(this,'_roomMembers$',new _0x18dc13['BehaviorSubject']([])),_0x4c7e9f(this,_0xb8b8a0(0x205),this[_0xb8b8a0(0x2ba)][_0xb8b8a0(0x1a8)](_0x18dc13[_0xb8b8a0(0x31d)](_0x5c10e8))),_0x4c7e9f(this,'_updateLocalCursor',_0x4bef22[_0xb8b8a0(0x1c1)]((_0x2cbee0,_0x1c68f2)=>{const _0x199389=_0xb8b8a0,_0x19d536={'eventID':_0x34a53b['CollaborationEvent'][_0x199389(0x2b0)],'data':{'unitID':this[_0x199389(0x221)],'memberID':this['_session']['getMemberID'](),'selection':_0x31ede8['serializeRangeWithSheet'](_0x2cbee0,_0x1c68f2['range'])}};this[_0x199389(0x25d)][_0x199389(0x1e9)](_0x19d536,this[_0x199389(0x221)]);},_0x332c04)),(this[_0xb8b8a0(0x221)]=_0x22ec91,this[_0xb8b8a0(0x25d)]=_0x943b04,this[_0xb8b8a0(0x1b2)]=_0x5c8927,this[_0xb8b8a0(0x273)]=_0x43ad92,this[_0xb8b8a0(0x2ce)]=_0x2cc166,this[_0xb8b8a0(0x1d4)]=_0x30bab9,this[_0xb8b8a0(0x1ee)]=_0x4c5601,this[_0xb8b8a0(0x2c2)]=_0x2665dd);}get[_0x1f2d6d(0x320)](){const _0x4e9628=_0x1f2d6d;return this[_0x4e9628(0x1c4)]['getValue']();}get[_0x1f2d6d(0x119)](){const _0x3e7b86=_0x1f2d6d;return this[_0x3e7b86(0x2ba)][_0x3e7b86(0x163)]();}[_0x1f2d6d(0x305)](){const _0x301417=_0x1f2d6d;super['dispose'](),this[_0x301417(0x1c4)][_0x301417(0x2d3)](new Map()),this[_0x301417(0x1c4)][_0x301417(0x1fa)](),this[_0x301417(0x2ba)]['next']([]),this['_roomMembers$'][_0x301417(0x1fa)]();}['init'](){const _0x286eda=_0x1f2d6d;this[_0x286eda(0x192)]||(this[_0x286eda(0x192)]=!0x0,this['_session'][_0x286eda(0x1e8)][_0x286eda(0x1a8)](_0x18dc13['takeUntil'](this[_0x286eda(0x1a7)]))[_0x286eda(0x10f)](_0x11886a=>{const _0x3f8b5b=_0x286eda;_0x11886a===_0x208871[_0x3f8b5b(0x272)]['ONLINE']?this['_toggleOnline']():this[_0x3f8b5b(0x194)]();}),this[_0x286eda(0x25d)]['event$'][_0x286eda(0x1a8)](_0x18dc13[_0x286eda(0x27e)](this[_0x286eda(0x1a7)]))[_0x286eda(0x10f)](_0x2626ff=>{const _0x39f2ea=_0x286eda,_0x1018a=_0x2626ff[_0x39f2ea(0x1ef)];_0x1018a===_0x34a53b['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x39f2ea(0x208)](_0x2626ff),_0x1018a===_0x34a53b[_0x39f2ea(0x189)]['USERS_LEAVE']&&this[_0x39f2ea(0x161)](_0x2626ff);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x286eda(0x172)](_0x49b554=>{const _0x5cdca3=_0x286eda;if(this[_0x5cdca3(0x1ac)]&&_0x49b554['id']===_0xa54874[_0x5cdca3(0x28e)]['id']&&_0x49b554['params'][_0x5cdca3(0x15e)]===this['unitID']){const _0x129619=_0x49b554[_0x5cdca3(0x388)];this[_0x5cdca3(0x145)](_0x129619[_0x5cdca3(0x209)],_0x129619['selections'][0x0]);}})));}[_0x1f2d6d(0x208)](_0x343470){const _0xb05ed6=_0x1f2d6d;var _0x10e997,_0x1e4511;const {memberID:_0x5829aa,selection:_0x2501df}=_0x343470[_0xb05ed6(0x20b)],{sheetName:_0x343ad4,range:_0x2f33f6}=_0x31ede8[_0xb05ed6(0x10d)](_0x2501df),_0x27d64b={'name':(_0x1e4511=(_0x10e997=this[_0xb05ed6(0x2ce)][_0xb05ed6(0x236)](this['unitID'],_0x5829aa))==null?void 0x0:_0x10e997[_0xb05ed6(0xfd)])!=null?_0x1e4511:_0xb05ed6(0x13d),'range':this[_0xb05ed6(0x2a5)](_0x343ad4,_0x2f33f6),'sheetID':_0x343ad4,'color':this[_0xb05ed6(0x273)][_0xb05ed6(0x1ad)](_0x5829aa),'selection':_0x2501df},_0x12809d=this[_0xb05ed6(0x320)];_0x12809d[_0xb05ed6(0x1e5)](_0x5829aa,_0x27d64b),this['_cursorInfo$']['next'](_0x12809d);}['_onCursorDelete'](_0x1a868a){const _0x1a0bc8=_0x1f2d6d,{memberID:_0x235a30}=_0x1a868a['data'],_0x41c9da=this['cursorInfo'];_0x41c9da['delete'](_0x235a30),this[_0x1a0bc8(0x1c4)]['next'](_0x41c9da);}[_0x1f2d6d(0x2a5)](_0x52b74b,_0x139435){const _0x198936=_0x1f2d6d;var _0x18271a,_0x1dd372;const _0x57b93f=(_0x1dd372=(_0x18271a=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x198936(0x221)]))==null?void 0x0:_0x18271a[_0x198936(0x29a)](_0x52b74b))==null?void 0x0:_0x1dd372[_0x198936(0x27b)]();return(_0x57b93f==null?void 0x0:_0x57b93f[_0x198936(0x2cc)](_0x2be1c8=>_0x4bef22[_0x198936(0x1c9)][_0x198936(0x191)](_0x2be1c8,_0x139435)))||_0x139435;}[_0x1f2d6d(0x2e5)](){const _0x976908=_0x1f2d6d,_0x6d1f2c=new _0x4bef22[(_0x976908(0x15a))](),_0x2d5827=_0x30cf39(),_0x5348fb=()=>{const _0x18cf42=_0x976908;_0x6d1f2c[_0x18cf42(0x305)]();const _0x2421c4=(_0x47f2ae,_0x19bbb9,_0x483e03,_0x3a3127)=>{const _0x4c6ae6=_0x18cf42;let _0x429f46=[];switch(_0x47f2ae['id']){case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x27c)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x2ae)](_0x47f2ae,_0x3a3127);break;}case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x2b2)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x1d0)](_0x47f2ae,_0x3a3127);break;}case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x1ff)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x369)](_0x47f2ae,_0x3a3127);break;}case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x355)]:{_0x429f46=_0xa54874['handleInsertRangeMoveDown'](_0x47f2ae,_0x3a3127);break;}case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x2d6)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x175)](_0x47f2ae,_0x3a3127);break;}case _0xa54874['EffectRefRangId'][_0x4c6ae6(0x20c)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x1d6)](_0x47f2ae,_0x3a3127);break;}case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x2a0)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x2a3)](_0x47f2ae,_0x3a3127);break;}case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x1cb)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x1df)](_0x47f2ae,_0x3a3127);break;}case _0xa54874[_0x4c6ae6(0x362)][_0x4c6ae6(0x33c)]:{_0x429f46=_0xa54874[_0x4c6ae6(0x2dd)](_0x47f2ae,_0x3a3127);break;}}const _0x43ba60=_0xa54874[_0x4c6ae6(0x34c)](_0x429f46,_0x3a3127),_0x59c056=this[_0x4c6ae6(0x320)][_0x4c6ae6(0x25e)](_0x19bbb9);if(_0x59c056&&_0x43ba60){const _0x129a42={..._0x59c056,'range':_0x43ba60};this[_0x4c6ae6(0x320)][_0x4c6ae6(0x1e5)](_0x19bbb9,_0x129a42),_0x2d5827(()=>{const _0x5a2259=_0x4c6ae6,_0x3caac7=this[_0x5a2259(0x2c2)][_0x5a2259(0x246)](_0x43ba60,_0x83638=>(_0x3caac7['dispose'](),_0x2421c4(_0x83638,_0x19bbb9,_0x483e03,_0x43ba60)));_0x6d1f2c[_0x5a2259(0xff)](_0x3caac7);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x18cf42(0x38f)]((_0x5ce12d,_0x25ec6a)=>{const _0x5e7bf7=_0x18cf42,{range:_0x27546e,sheetID:_0x23173e}=_0x5ce12d,_0x5bfa4e=this[_0x5e7bf7(0x2c2)][_0x5e7bf7(0x246)](_0x27546e,_0x37f817=>(_0x5bfa4e[_0x5e7bf7(0x305)](),_0x2421c4(_0x37f817,_0x25ec6a,_0x23173e,_0x27546e)));_0x6d1f2c['add'](_0x5bfa4e);});};this[_0x976908(0x310)](_0x4bef22[_0x976908(0x20a)](this[_0x976908(0x1c4)][_0x976908(0x10f)](()=>{_0x5348fb();})));}[_0x1f2d6d(0x2ad)](){const _0x28b4c1=_0x1f2d6d;var _0x4d51d0,_0x3b6608;if(this[_0x28b4c1(0x1ac)]=!0x0,((_0x4d51d0=this[_0x28b4c1(0x1d4)][_0x28b4c1(0x2f2)]())==null?void 0x0:_0x4d51d0[_0x28b4c1(0x372)]())!==this['unitID'])return;const _0x56143b=(_0x3b6608=this[_0x28b4c1(0x1b2)][_0x28b4c1(0x25e)](_0xa54874[_0x28b4c1(0x19d)])['getCurrentSelections']())==null?void 0x0:_0x3b6608[0x0],_0x49c943=this[_0x28b4c1(0x1d4)]['getCurrentUnitForType'](_0x4bef22[_0x28b4c1(0x329)][_0x28b4c1(0x19c)])[_0x28b4c1(0x10b)]();_0x56143b&&_0x49c943&&this[_0x28b4c1(0x145)](_0x49c943[_0x28b4c1(0x29c)](),_0x56143b);}[_0x1f2d6d(0x194)](){const _0x3f02e4=_0x1f2d6d;this[_0x3f02e4(0x1ac)]=!0x1;}};_0xe7823b=_0xd32091([_0x34f0d4(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22[_0x1f2d6d(0x14c)])),_0x34f0d4(0x3,_0x4bef22[_0x1f2d6d(0x152)](_0x54f6dc)),_0x34f0d4(0x4,_0x4bef22[_0x1f2d6d(0x152)](_0x208871[_0x1f2d6d(0x1f9)])),_0x34f0d4(0x5,_0x4bef22[_0x1f2d6d(0x295)]),_0x34f0d4(0x6,_0x4bef22['ICommandService']),_0x34f0d4(0x7,_0x4bef22['Inject'](_0xa54874[_0x1f2d6d(0x36f)]))],_0xe7823b);var _0x54b2e7=Object[_0x1f2d6d(0x2bb)],_0x6cdf6b=(_0x1dceec,_0x5a2877,_0x5124c3,_0x112a87)=>{for(var _0xeeadb6=_0x112a87>0x1?void 0x0:_0x112a87?_0x54b2e7(_0x5a2877,_0x5124c3):_0x5a2877,_0x17aa06=_0x1dceec['length']-0x1,_0x2a1581;_0x17aa06>=0x0;_0x17aa06--)(_0x2a1581=_0x1dceec[_0x17aa06])&&(_0xeeadb6=_0x2a1581(_0xeeadb6)||_0xeeadb6);return _0xeeadb6;},_0x598fac=(_0x338619,_0x5b055e)=>(_0x4a56ba,_0x558fd9)=>_0x5b055e(_0x4a56ba,_0x558fd9,_0x338619);let _0x43e639=class extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(_0x9c592,_0x5a617b,_0x4a0ca4){const _0x452316=_0x1f2d6d;super(),_0x4c7e9f(this,_0x452316(0x365),new Map()),_0x4c7e9f(this,'_entityInit$',new _0x18dc13['Subject']()),(this['_univerInstanceService']=_0x9c592,this[_0x452316(0x1b2)]=_0x5a617b,this[_0x452316(0x386)]=_0x4a0ca4,this[_0x452316(0x192)]());}[_0x1f2d6d(0x305)](){const _0x5b4cb1=_0x1f2d6d;super[_0x5b4cb1(0x305)](),this[_0x5b4cb1(0x288)]['complete'](),this[_0x5b4cb1(0x365)]['forEach'](_0x2b5f12=>_0x2b5f12[_0x5b4cb1(0x305)]());}[_0x1f2d6d(0x107)](_0x226f6a){const _0x310753=_0x1f2d6d;return this[_0x310753(0x365)][_0x310753(0x23a)](_0x226f6a)?this['_entities'][_0x310753(0x25e)](_0x226f6a)[_0x310753(0x230)]:this['_entityInit$'][_0x310753(0x1a8)](_0x18dc13[_0x310753(0x20e)](_0x359ed3=>_0x359ed3['unitID']===_0x226f6a),_0x18dc13[_0x310753(0x132)](_0x541756=>_0x541756[_0x310753(0x230)]));}[_0x1f2d6d(0x192)](){const _0x5596ec=_0x1f2d6d;this[_0x5596ec(0x1d4)]['getTypeOfUnitAdded$'](_0x4bef22['UniverInstanceType']['UNIVER_SHEET'])[_0x5596ec(0x1a8)](_0x18dc13[_0x5596ec(0x27e)](this[_0x5596ec(0x1a7)]))[_0x5596ec(0x10f)](async _0x3138d6=>{const _0x2e1a96=_0x5596ec,_0xeab11c=_0x3138d6[_0x2e1a96(0x372)](),_0x5cacd2=await this[_0x2e1a96(0x2f9)](_0xeab11c);this[_0x2e1a96(0x288)]['next'](_0x5cacd2),this[_0x2e1a96(0x365)][_0x2e1a96(0x1e5)](_0xeab11c,_0x5cacd2);}),this[_0x5596ec(0x1d4)][_0x5596ec(0x108)](_0x4bef22[_0x5596ec(0x329)][_0x5596ec(0x187)])[_0x5596ec(0x1a8)](_0x18dc13['takeUntil'](this[_0x5596ec(0x1a7)]))[_0x5596ec(0x1a8)](_0x18dc13[_0x5596ec(0x20e)](_0x2a331f=>!_0x2a331f[_0x5596ec(0x372)]()[_0x5596ec(0x23b)]('__')))[_0x5596ec(0x10f)](async _0x4589ac=>{const _0x74e3d6=_0x5596ec,_0x562ec5=_0x4589ac['getUnitId'](),_0x2a6a82=await this['_startDocCollabCursor'](_0x562ec5);this[_0x74e3d6(0x288)][_0x74e3d6(0x2d3)](_0x2a6a82),this[_0x74e3d6(0x365)][_0x74e3d6(0x1e5)](_0x562ec5,_0x2a6a82);}),_0x18dc13[_0x5596ec(0x35b)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4bef22['UniverInstanceType'][_0x5596ec(0x187)]),this[_0x5596ec(0x1d4)][_0x5596ec(0x2c5)](_0x4bef22['UniverInstanceType'][_0x5596ec(0x19c)]))[_0x5596ec(0x1a8)](_0x18dc13['takeUntil'](this['dispose$']))[_0x5596ec(0x10f)](_0x5af97a=>{const _0x1ce1e0=_0x5596ec,_0x2f5461=_0x5af97a[_0x1ce1e0(0x372)](),_0x41e5ef=this[_0x1ce1e0(0x365)][_0x1ce1e0(0x25e)](_0x2f5461);_0x41e5ef&&(_0x41e5ef[_0x1ce1e0(0x305)](),this[_0x1ce1e0(0x365)][_0x1ce1e0(0x2a6)](_0x2f5461));});}async['_startSheetCollabCursor'](_0x5c2a03){const _0xc60fbf=_0x1f2d6d,_0x18ce50=await this['_collabSessionService']['requireSession'](_0x5c2a03),_0x176970=this[_0xc60fbf(0x1b2)][_0xc60fbf(0x29b)](_0xe7823b,_0x5c2a03,_0x18ce50);return _0x176970[_0xc60fbf(0x1e0)](),_0x176970;}async[_0x1f2d6d(0x371)](_0x1c614f){const _0x3c7b58=_0x1f2d6d,_0x3f93f9=await this['_collabSessionService'][_0x3c7b58(0x2fe)](_0x1c614f),_0x353ebc=this['_injector'][_0x3c7b58(0x29b)](_0x45346f,_0x1c614f,_0x3f93f9);return _0x353ebc[_0x3c7b58(0x1e0)](),_0x353ebc;}};_0x43e639=_0x6cdf6b([_0x598fac(0x0,_0x4bef22[_0x1f2d6d(0x295)]),_0x598fac(0x1,_0x4bef22['Inject'](_0x4bef22[_0x1f2d6d(0x14c)])),_0x598fac(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x208871['CollaborationSessionService']))],_0x43e639);const _0x451e35=0x14,_0x1d4f59=0xc8,_0x25b6e7=0x4,_0x143804=0x5;function _0x264af2(_0x47689f,_0x5163a0){const _0x443847=_0x1f2d6d;let {radius:_0xdd8d25,width:_0x39cb92,height:_0x57a4f5}=_0x5163a0;_0xdd8d25=_0xdd8d25!=null?_0xdd8d25:0x0,_0x39cb92=_0x39cb92!=null?_0x39cb92:0x1e,_0x57a4f5=_0x57a4f5!=null?_0x57a4f5:0x1e;let _0x44de13=0x0,_0x416d5a=0x0,_0x45a708=0x0;_0x44de13=_0x416d5a=_0x45a708=Math[_0x443847(0x2e8)](_0xdd8d25,_0x39cb92/0x2,_0x57a4f5/0x2),_0x47689f[_0x443847(0x173)](),_0x47689f[_0x443847(0x22f)](_0x44de13,0x0),_0x47689f[_0x443847(0x1fb)](_0x39cb92-_0x416d5a,0x0),_0x47689f['arc'](_0x39cb92-_0x416d5a,_0x416d5a,_0x416d5a,Math['PI']*0x3/0x2,0x0,!0x1),_0x47689f[_0x443847(0x1fb)](_0x39cb92,_0x57a4f5-_0x45a708),_0x47689f[_0x443847(0x110)](_0x39cb92-_0x45a708,_0x57a4f5-_0x45a708,_0x45a708,0x0,Math['PI']/0x2,!0x1),_0x47689f[_0x443847(0x1fb)](0x0,_0x57a4f5),_0x47689f[_0x443847(0x1fb)](0x0,_0x44de13),_0x47689f[_0x443847(0x110)](_0x44de13,_0x44de13,_0x44de13,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x47689f[_0x443847(0x2f4)](),_0x5163a0[_0x443847(0x327)]&&(_0x47689f['save'](),_0x47689f[_0x443847(0x10e)]=_0x5163a0['fill'],_0x5163a0[_0x443847(0x245)]===_0x443847(0x263)?_0x47689f['fill'](_0x443847(0x263)):_0x47689f['fill'](),_0x47689f[_0x443847(0x2d2)]());}class _0x3a2d46 extends _0x5bc9e3['Shape']{constructor(_0x1636f1,_0x8dc32f){const _0x73db35=_0x1f2d6d;super(_0x1636f1,_0x8dc32f),_0x4c7e9f(this,_0x73db35(0x224)),_0x4c7e9f(this,_0x73db35(0x1c5)),(this[_0x73db35(0x224)]=_0x8dc32f==null?void 0x0:_0x8dc32f['color'],this[_0x73db35(0x1c5)]=_0x8dc32f==null?void 0x0:_0x8dc32f['text']);}static[_0x1f2d6d(0x340)](_0x1498ce,_0x3ffc0a){const _0x1e360b=_0x1f2d6d,{text:_0x1e703b,color:_0x55dd85}=_0x3ffc0a;_0x1498ce[_0x1e360b(0x1fe)](),_0x1498ce[_0x1e360b(0x213)]=_0x1e360b(0x348);const _0x36e192=_0x1498ce['measureText'](_0x1e703b)['width'],_0x2d420d=Math[_0x1e360b(0x2e8)](_0x36e192+0x2*_0x25b6e7,_0x1d4f59);_0x264af2(_0x1498ce,{'height':_0x451e35,'radius':0x4,'width':_0x2d420d,'fill':_0x55dd85}),_0x1498ce['fillStyle']=_0x1e360b(0x37b);const _0x37eb3c=_0x25b6e7,_0xc7e43b=_0x451e35-_0x143804,_0x52b44d=_0x1d4f59-0x2*_0x25b6e7;if(_0x36e192>_0x52b44d){let _0x4dde87='',_0x17df17=0x0;for(const _0x4924ea of _0x1e703b){const _0x47b84a=_0x1498ce[_0x1e360b(0x250)](_0x4924ea)[_0x1e360b(0x26d)];if(_0x17df17+_0x47b84a<=_0x52b44d-_0x1498ce[_0x1e360b(0x250)](_0x1e360b(0x116))['width'])_0x4dde87+=_0x4924ea,_0x17df17+=_0x47b84a;else{_0x4dde87+='...';break;}}_0x1498ce['fillText'](_0x4dde87,_0x37eb3c,_0xc7e43b);}else _0x1498ce[_0x1e360b(0x33e)](_0x1e703b,_0x37eb3c,_0xc7e43b);_0x1498ce['restore']();}['_draw'](_0x4afcc3){_0x3a2d46['drawWith'](_0x4afcc3,this);}}const _0x29259d='collab-text-anchor-',_0xb682a0=_0x1f2d6d(0x336),_0x1663fa=_0x1f2d6d(0x18f),_0x3694ec=0x6,_0x2562a9=1.5,_0x42c1ab=0x4,_0xc9f84b=1.5,_0xf6ceb0='rgba(255,\x20255,\x20255,\x200.01)';class _0x56351b{constructor(_0x11438f,_0x27e471,_0x294652,_0x4ff8be){const _0x45abeb=_0x1f2d6d;_0x4c7e9f(this,'_shapes',[]),_0x4c7e9f(this,_0x45abeb(0x2fc),null),_0x4c7e9f(this,'_textBubble',null),_0x4c7e9f(this,_0x45abeb(0x34d),null),_0x4c7e9f(this,'_hideTimer',null),_0x4c7e9f(this,'_eventUnsubscribe',null),(this[_0x45abeb(0x238)]=_0x11438f,this[_0x45abeb(0x1ae)]=_0x27e471,this[_0x45abeb(0x176)]=_0x294652,this[_0x45abeb(0x1f7)]=_0x4ff8be,this[_0x45abeb(0x12b)]());}set[_0x1f2d6d(0x127)](_0x5ecef3){const _0x2b586a=_0x1f2d6d;_0x5ecef3?(this['_anchorDot']&&this['_anchorDot'][_0x2b586a(0x105)](),this[_0x2b586a(0x1d9)]&&this['_textBubble'][_0x2b586a(0x12e)]()):(this[_0x2b586a(0x34d)]&&this[_0x2b586a(0x34d)][_0x2b586a(0x12e)](),this[_0x2b586a(0x1d9)]&&this['_textBubble'][_0x2b586a(0x105)]());}[_0x1f2d6d(0x305)](){const _0x4208e7=_0x1f2d6d;for(const _0x3185f0 of this[_0x4208e7(0x287)])_0x3185f0['dispose']();this[_0x4208e7(0x1d9)]&&this['_textBubble'][_0x4208e7(0x305)](),this[_0x4208e7(0x34d)]&&this[_0x4208e7(0x34d)]['dispose'](),this['_anchor']&&this['_anchor'][_0x4208e7(0x305)](),this[_0x4208e7(0x25c)]&&this[_0x4208e7(0x25c)]();}[_0x1f2d6d(0x12b)](){const _0x1e0308=_0x1f2d6d;var _0x39a9fc;const {_docSkeleton:_0x27d36c,_document:_0x5bee22}=this,{color:_0x3329d0,name:_0xc237eb,ranges:_0x1d6106}=this[_0x1e0308(0x238)],_0x4d1a89=_0x5bee22[_0x1e0308(0xf8)](),{docsLeft:_0x59652a,docsTop:_0x4fe904}=_0x4d1a89,_0x21e98f=new _0x33fc6e[(_0x1e0308(0x30f))](_0x4d1a89,_0x27d36c);for(const {startOffset:_0x1b62e8,endOffset:_0x4b7101,rangeType:_0x3a21e2,segmentId:_0x598d6a,segmentPage:_0x31ea3f,collapsed:_0x71d9aa,isActive:_0x2e99a9}of _0x1d6106){const _0x385f2b=_0x27d36c['findNodePositionByCharIndex'](_0x1b62e8,!0x0,_0x598d6a,_0x31ea3f);let _0x15b759=_0x27d36c[_0x1e0308(0x211)](_0x4b7101,!0x0,_0x598d6a,_0x31ea3f);if(_0x15b759==null&&(_0x15b759=_0x27d36c['findNodePositionByCharIndex'](_0x4b7101-0x1,!0x1,_0x598d6a,_0x31ea3f)),_0x2e99a9){const {contentBoxPointGroup:_0x3a846b}=_0x21e98f[_0x1e0308(0x35d)](_0x15b759,_0x15b759);if(_0x3a846b[_0x1e0308(0x311)]===0x0)continue;this[_0x1e0308(0x275)](_0x3329d0,_0x3a846b,_0x59652a,_0x4fe904,_0xc237eb),this[_0x1e0308(0x25c)]=this[_0x1e0308(0x25a)]();}if(_0x385f2b&&_0x15b759){if(_0x3a21e2===_0x4bef22[_0x1e0308(0x1ab)][_0x1e0308(0x100)]){const _0xa22ec7=new _0x33fc6e['NodePositionConvertToRectRange'](_0x4d1a89,_0x27d36c),{pointGroup:_0x57755f}=(_0x39a9fc=_0xa22ec7['getRangePointData'](_0x385f2b,_0x15b759))!=null?_0x39a9fc:{};if(_0x57755f==null||_0x57755f[_0x1e0308(0x311)]===0x0)continue;this[_0x1e0308(0x2d8)](_0x3329d0,_0x57755f,_0x59652a,_0x4fe904);}else{if(!_0x71d9aa){const {borderBoxPointGroup:_0x2a7f92}=_0x21e98f[_0x1e0308(0x35d)](_0x385f2b,_0x15b759);if(_0x2a7f92[_0x1e0308(0x311)]===0x0)continue;this[_0x1e0308(0x234)](_0x3329d0,_0x2a7f92,_0x59652a,_0x4fe904);}}}}}[_0x1f2d6d(0x275)](_0x232c93,_0x2e2787,_0x7e5be5,_0x99d67,_0x5d06b6){const _0x167a6c=_0x1f2d6d,_0x2666f2=this[_0x167a6c(0x190)](_0x2e2787),{left:_0x5045d6,top:_0x13d458,height:_0x294d69}=_0x2666f2,_0x45a940=this[_0x167a6c(0x2ef)](),_0x11ec97=_0xc9f84b/_0x45a940,_0x1ba579=new _0x5bc9e3[(_0x167a6c(0x38b))](_0x29259d+_0x4bef22[_0x167a6c(0x370)][_0x167a6c(0x118)](_0x3694ec),{'left':_0x5045d6+_0x7e5be5-_0x11ec97,'top':_0x13d458+_0x99d67,'height':_0x294d69,'width':_0x2562a9,'fill':_0x232c93||_0x5bc9e3[_0x167a6c(0x2c9)](_0x4bef22[_0x167a6c(0x13a)]['black'],0x0),'strokeWidth':_0x11ec97,'stroke':_0xf6ceb0,'evented':!0x0});this['_anchor']=_0x1ba579,this[_0x167a6c(0x1ae)]['addObject'](_0x1ba579,_0x33fc6e[_0x167a6c(0x2c8)]);const _0x2a098d=new _0x5bc9e3[(_0x167a6c(0x38b))](_0x29259d+_0x4bef22['Tools'][_0x167a6c(0x118)](_0x3694ec),{'left':_0x5045d6+_0x7e5be5-_0x11ec97,'top':_0x13d458+_0x99d67-_0x42c1ab/0x2,'height':_0x42c1ab,'width':_0x42c1ab,'fill':_0x232c93||_0x5bc9e3['getColor'](_0x4bef22[_0x167a6c(0x13a)][_0x167a6c(0x1e2)],0x0),'strokeWidth':0x0,'stroke':_0x232c93||_0x5bc9e3[_0x167a6c(0x2c9)](_0x4bef22['COLORS'][_0x167a6c(0x1e2)],0x0),'evented':!0x1});this[_0x167a6c(0x34d)]=_0x2a098d,this[_0x167a6c(0x1ae)]['addObject'](_0x2a098d,_0x33fc6e[_0x167a6c(0x2c8)]);const _0x7cb530=new _0x3a2d46(_0x29259d+_0x4bef22[_0x167a6c(0x370)][_0x167a6c(0x118)](_0x3694ec),{'left':_0x5045d6+_0x7e5be5-_0x11ec97,'top':_0x13d458+_0x99d67-_0x451e35,'text':_0x5d06b6,'color':_0x232c93});this['_textBubble']=_0x7cb530,this[_0x167a6c(0x1ae)][_0x167a6c(0x33f)](_0x7cb530,_0x33fc6e[_0x167a6c(0x2c8)]),this[_0x167a6c(0x127)]=!0x1;}[_0x1f2d6d(0x25a)](){const _0x5788af=_0x1f2d6d,_0x4b81b8=this['_anchor'][_0x5788af(0x15b)]['subscribeEvent'](()=>{const _0x57e0a9=_0x5788af;this[_0x57e0a9(0x127)]=!0x0;}),_0x267841=this[_0x5788af(0x2fc)][_0x5788af(0x358)][_0x5788af(0x210)](()=>{const _0x584fcf=_0x5788af;this[_0x584fcf(0x267)]&&clearTimeout(this[_0x584fcf(0x267)]),this[_0x584fcf(0x267)]=setTimeout(()=>{const _0x4188ed=_0x584fcf;this[_0x4188ed(0x127)]=!0x1;},0x7d0);});return()=>{const _0x252569=_0x5788af;_0x4b81b8[_0x252569(0x179)](),_0x267841[_0x252569(0x179)]();};}[_0x1f2d6d(0x234)](_0x3b60d4,_0xea12ba,_0x3d5787,_0x44fff0){const _0x14eee7=_0x1f2d6d,_0x49f8c7=new _0x4bef22['ColorKit'](_0x3b60d4)['setAlpha'](0.2)[_0x14eee7(0x1db)](),_0x2bec51=new _0x5bc9e3['RegularPolygon'](_0xb682a0+_0x4bef22['Tools'][_0x14eee7(0x118)](_0x3694ec),{'pointsGroup':_0xea12ba,'fill':_0x49f8c7||_0x5bc9e3[_0x14eee7(0x2c9)](_0x4bef22[_0x14eee7(0x13a)][_0x14eee7(0x1e2)],0.2),'left':_0x3d5787,'top':_0x44fff0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x14eee7(0x287)][_0x14eee7(0x140)](_0x2bec51),this[_0x14eee7(0x1ae)][_0x14eee7(0x33f)](_0x2bec51,_0x33fc6e['TEXT_RANGE_LAYER_INDEX']);}[_0x1f2d6d(0x2d8)](_0x572260,_0x209901,_0x5bb47a,_0x593a61){const _0x15d975=_0x1f2d6d,_0x1b9fe2=new _0x4bef22[(_0x15d975(0x378))](_0x572260)[_0x15d975(0x2eb)](0.2)[_0x15d975(0x1db)](),_0x19c868=new _0x5bc9e3['RegularPolygon'](_0x1663fa+_0x4bef22[_0x15d975(0x370)]['generateRandomId'](_0x3694ec),{'pointsGroup':_0x209901,'fill':_0x1b9fe2||_0x5bc9e3[_0x15d975(0x2c9)](_0x4bef22['COLORS']['black'],0.2),'left':_0x5bb47a,'top':_0x593a61,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x15d975(0x140)](_0x19c868),this[_0x15d975(0x1ae)][_0x15d975(0x33f)](_0x19c868,_0x33fc6e['TEXT_RANGE_LAYER_INDEX']);}[_0x1f2d6d(0x190)](_0x39f153){const _0x25096a=_0x39f153[0x0],_0x291abb=_0x25096a[0x0],_0x33d9c8=_0x25096a[0x2],{x:_0x40ee7c,y:_0x47a551}=_0x291abb,{x:_0x22f4ed,y:_0x451e3c}=_0x33d9c8;return{'left':_0x40ee7c,'top':_0x47a551,'width':_0x22f4ed-_0x40ee7c,'height':_0x451e3c-_0x47a551};}['_getScale'](){const _0x48223d=_0x1f2d6d,{scaleX:_0x5c67e1,scaleY:_0xcf8845}=this[_0x48223d(0x1ae)][_0x48223d(0x2e3)]();return Math['max'](_0x5c67e1,_0xcf8845);}}var _0x13f093=Object[_0x1f2d6d(0x2bb)],_0x5c21c3=(_0x128ebd,_0x26ee24,_0x47ded0,_0x22982e)=>{const _0x2e8575=_0x1f2d6d;for(var _0x242308=_0x22982e>0x1?void 0x0:_0x22982e?_0x13f093(_0x26ee24,_0x47ded0):_0x26ee24,_0x1c6723=_0x128ebd[_0x2e8575(0x311)]-0x1,_0x173498;_0x1c6723>=0x0;_0x1c6723--)(_0x173498=_0x128ebd[_0x1c6723])&&(_0x242308=_0x173498(_0x242308)||_0x242308);return _0x242308;},_0xdaf8b5=(_0x472eb7,_0x38f702)=>(_0x56c0b5,_0x128028)=>_0x38f702(_0x56c0b5,_0x128028,_0x472eb7);let _0x42602a=class extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(_0x7f7da0,_0x26f92d,_0xa3c657,_0x41fc64,_0x5ab08a){const _0x27ff3e=_0x1f2d6d;super(),_0x4c7e9f(this,_0x27ff3e(0x1aa),[]),_0x4c7e9f(this,_0x27ff3e(0x2b9),[]),(this[_0x27ff3e(0x2f3)]=_0x7f7da0,this[_0x27ff3e(0x2f8)]=_0x26f92d,this['_collabCursorController']=_0xa3c657,this['_commandService']=_0x41fc64,this[_0x27ff3e(0x26a)]=_0x5ab08a,this[_0x27ff3e(0x192)]());}['_init'](){const _0xb8ec09=_0x1f2d6d,_0x8eb395=this[_0xb8ec09(0x2f3)][_0xb8ec09(0x15e)],_0x150506=this[_0xb8ec09(0x2f8)];this[_0xb8ec09(0x310)](_0x18dc13[_0xb8ec09(0x166)]([this['_collabCursorController'][_0xb8ec09(0x107)](_0x8eb395),this[_0xb8ec09(0x26a)][_0xb8ec09(0x113)]])['pipe'](_0x3632af[_0xb8ec09(0x243)](([_0x364e71,_0x2f5b7e])=>({'skeleton':_0x150506['getSkeleton'](),'cursors':[..._0x364e71['values']()]['flatMap'](_0x28cb89=>({..._0x28cb89,'color':_0x2f5b7e[_0x28cb89['color']]}))})))[_0xb8ec09(0x10f)](_0x5975fd=>{const _0x17efcb=_0xb8ec09;if(this['_removeCollabCursors'](),_0x5975fd){const {skeleton:_0x5e537b,cursors:_0x5be40d}=_0x5975fd;this[_0x17efcb(0x1b1)](_0x5e537b,_0x5be40d);}})),this['_initResize'](),this[_0xb8ec09(0x357)]();}[_0x1f2d6d(0x1b1)](_0x37c41b,_0x158010){const _0x25380b=_0x1f2d6d,{scene:_0x1926a4,mainComponent:_0x3f4caa}=this[_0x25380b(0x2f3)],_0x465600=_0x158010[_0x25380b(0x243)](_0x3002da=>new _0x56351b(_0x3002da,_0x1926a4,_0x37c41b,_0x3f4caa));this[_0x25380b(0x1aa)]=_0x465600,this[_0x25380b(0x2b9)]=_0x158010;}[_0x1f2d6d(0x29f)](){const _0x3a3270=_0x1f2d6d;this[_0x3a3270(0x322)]();const {scene:_0x45af51,mainComponent:_0x4aa6fb}=this[_0x3a3270(0x2f3)],_0x3bee71=this[_0x3a3270(0x2f8)][_0x3a3270(0x269)](),_0x8a5b2e=this['_cursors'][_0x3a3270(0x243)](_0x4d3f0d=>new _0x56351b(_0x4d3f0d,_0x45af51,_0x3bee71,_0x4aa6fb));this[_0x3a3270(0x1aa)]=_0x8a5b2e;}['_removeCollabCursors'](){const _0x41296d=_0x1f2d6d;this[_0x41296d(0x1aa)][_0x41296d(0x38f)](_0x4f0a07=>_0x4f0a07[_0x41296d(0x305)]()),this[_0x41296d(0x1aa)]=[];}[_0x1f2d6d(0x357)](){const _0x2b15bb=_0x1f2d6d,_0x47ae18=[_0x33fc6e[_0x2b15bb(0x225)]['id']];this['disposeWithMe'](this[_0x2b15bb(0x1ee)][_0x2b15bb(0x172)](_0x1ad7e7=>{const _0x4e6a19=_0x2b15bb;_0x47ae18[_0x4e6a19(0x182)](_0x1ad7e7['id'])&&_0x1ad7e7[_0x4e6a19(0x388)][_0x4e6a19(0x15e)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}[_0x1f2d6d(0x28a)](){const _0x581a22=_0x1f2d6d;this['disposeWithMe'](_0x4bef22[_0x581a22(0x14f)](this[_0x581a22(0x2f3)][_0x581a22(0x170)][_0x581a22(0x104)])[_0x581a22(0x1a8)](_0x3632af[_0x581a22(0x20e)](_0x5482d7=>_0x5482d7[_0x581a22(0x1f6)]===_0x5bc9e3[_0x581a22(0x349)][_0x581a22(0x177)]),_0x3632af[_0x581a22(0x206)](0x10))[_0x581a22(0x10f)](()=>{const _0x2a3968=_0x581a22;this[_0x2a3968(0x29f)]();}));}};_0x42602a=_0x5c21c3([_0xdaf8b5(0x1,_0x4bef22[_0x1f2d6d(0x152)](_0x579d84['DocSkeletonManagerService'])),_0xdaf8b5(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x43e639)),_0xdaf8b5(0x3,_0x4bef22[_0x1f2d6d(0x1ca)]),_0xdaf8b5(0x4,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22['ThemeService']))],_0x42602a);const _0x53fc88=0x1,_0x87c86f=1.5;class _0x421ecf extends _0x5bc9e3[_0x1f2d6d(0x2d4)]{constructor(_0xd26305,_0x75b7a9){const _0x5b6d8f=_0x1f2d6d;super(_0xd26305,_0x75b7a9),_0x4c7e9f(this,_0x5b6d8f(0x260)),_0x4c7e9f(this,_0x5b6d8f(0x235),!0x1),_0x4c7e9f(this,_0x5b6d8f(0x282)),_0x4c7e9f(this,'_name',''),_0x4c7e9f(this,_0x5b6d8f(0x279),_0x5b6d8f(0x203)),_0x4c7e9f(this,_0x5b6d8f(0x186)),(_0x75b7a9&&this[_0x5b6d8f(0x2fa)](_0x75b7a9),this[_0x5b6d8f(0x15b)][_0x5b6d8f(0x210)](()=>this[_0x5b6d8f(0x2fa)]({'hovered':!0x0})),this[_0x5b6d8f(0x358)][_0x5b6d8f(0x210)](()=>this[_0x5b6d8f(0x2fa)]({'hovered':!0x1})));}['setShapeProps'](_0x3112e6){const _0x19ffb2=_0x1f2d6d;var _0xea1019,_0x19c67b,_0x1224d2,_0x242e86,_0x10513b,_0x1fd2ab;this[_0x19ffb2(0x260)]=(_0xea1019=_0x3112e6[_0x19ffb2(0x224)])!=null?_0xea1019:this['_color'],this[_0x19ffb2(0x235)]=(_0x19c67b=_0x3112e6[_0x19ffb2(0x223)])!=null?_0x19c67b:this[_0x19ffb2(0x235)],this[_0x19ffb2(0x282)]=(_0x1224d2=_0x3112e6[_0x19ffb2(0x35e)])!=null?_0x1224d2:this[_0x19ffb2(0x282)],this[_0x19ffb2(0x204)]=(_0x242e86=_0x3112e6[_0x19ffb2(0xfd)])!=null?_0x242e86:this['_name'],this[_0x19ffb2(0x279)]=(_0x10513b=_0x3112e6['labelPosition'])!=null?_0x10513b:this[_0x19ffb2(0x279)],this[_0x19ffb2(0x186)]=(_0x1fd2ab=_0x3112e6[_0x19ffb2(0x11f)])!=null?_0x1fd2ab:this[_0x19ffb2(0x186)],this['transformByState']({'width':_0x3112e6[_0x19ffb2(0x26d)],'height':_0x3112e6['height']});}['onMouseMove'](_0x4ca91d){const _0x40016d=_0x1f2d6d,{row:_0x2c745e,column:_0x1e4d8c}=_0x4ca91d;if(_0x2c745e>=this[_0x40016d(0x282)][_0x40016d(0x383)]&&_0x2c745e<=this['_range'][_0x40016d(0x38e)]&&_0x1e4d8c>=this[_0x40016d(0x282)][_0x40016d(0x2f5)]&&_0x1e4d8c<=this['_range'][_0x40016d(0x2bc)]){this[_0x40016d(0x2fa)]({'hovered':!0x0});return;}this[_0x40016d(0x2fa)]({'hovered':!0x1});}['triggerDblclick'](_0x4c4f75){return!0x1;}[_0x1f2d6d(0x1b8)](_0xb01b03){const _0x10d324=_0x1f2d6d;_0x5bc9e3[_0x10d324(0x38b)]['drawWith'](_0xb01b03,{'width':this[_0x10d324(0x26d)],'height':this[_0x10d324(0x137)],'strokeWidth':_0x87c86f,'stroke':this[_0x10d324(0x260)],'evented':!0x1,'fill':this[_0x10d324(0x186)]}),this[_0x10d324(0x235)]&&(_0xb01b03[_0x10d324(0x1fe)](),_0xb01b03[_0x10d324(0x32b)](0x1,0x0,0x0,0x1,this['width'],this[_0x10d324(0x279)]==='bottom'?0x0:-0x14),_0x3a2d46[_0x10d324(0x340)](_0xb01b03,{'text':this[_0x10d324(0x204)],'color':this[_0x10d324(0x260)]}),_0xb01b03[_0x10d324(0x2d2)]());}}var _0x19d8fb=Object['getOwnPropertyDescriptor'],_0x1c12eb=(_0x5f5dfb,_0x1c7523,_0x55d0f1,_0x4acdbd)=>{for(var _0x56dce6=_0x4acdbd>0x1?void 0x0:_0x4acdbd?_0x19d8fb(_0x1c7523,_0x55d0f1):_0x1c7523,_0x43fae3=_0x5f5dfb['length']-0x1,_0x38df48;_0x43fae3>=0x0;_0x43fae3--)(_0x38df48=_0x5f5dfb[_0x43fae3])&&(_0x56dce6=_0x38df48(_0x56dce6)||_0x56dce6);return _0x56dce6;},_0x1243b2=(_0x27ae96,_0x2271a0)=>(_0x36ef31,_0x4e88cd)=>_0x2271a0(_0x36ef31,_0x4e88cd,_0x27ae96);const _0x1577ae=0x1389;let _0x4e3e8b=class extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(_0x5a7454,_0x413d2e,_0x1f35af,_0x4bc210){const _0xb80bb1=_0x1f2d6d;super(),_0x4c7e9f(this,_0xb80bb1(0x2b9),new Set()),_0x4c7e9f(this,'_lastPointer',null),(this[_0xb80bb1(0x2f3)]=_0x5a7454,this[_0xb80bb1(0x1bd)]=_0x413d2e,this[_0xb80bb1(0x1d1)]=_0x1f35af,this[_0xb80bb1(0x26a)]=_0x4bc210,this[_0xb80bb1(0x192)]());}[_0x1f2d6d(0x192)](){const _0x3de8fc=_0x1f2d6d;this['_sheetSkeletonManagerService'][_0x3de8fc(0x10a)]['pipe'](_0x3632af['takeUntil'](this[_0x3de8fc(0x1a7)]),_0x3632af[_0x3de8fc(0x132)](_0x503697=>{const _0x60819a=_0x3de8fc;if(_0x503697){const _0x12df2d=_0x503697[_0x60819a(0x251)];return _0x18dc13['combineLatest'](this[_0x60819a(0x1d1)][_0x60819a(0x107)](this[_0x60819a(0x2f3)][_0x60819a(0x15e)]),this[_0x60819a(0x26a)][_0x60819a(0x113)])[_0x60819a(0x1a8)](_0x3632af[_0x60819a(0x243)](([_0xfecf7a,_0x2073b5])=>{const _0x2eba46=new Map();return _0xfecf7a['forEach']((_0x4807d4,_0x43848d)=>{const _0x1378da=_0xfda5;if(_0x4807d4[_0x1378da(0x174)]===_0x12df2d){const _0x4a9d62={..._0x4807d4};_0x4a9d62[_0x1378da(0x224)]=_0x2073b5[_0x4807d4[_0x1378da(0x224)]],_0x2eba46[_0x1378da(0x1e5)](_0x43848d,_0x4a9d62);}}),{'skeleton':_0x503697,'cursors':_0x2eba46};}));}return _0x18dc13['of']({'skeleton':null,'cursors':new Map()});}))[_0x3de8fc(0x10f)](({skeleton:_0x13fecd,cursors:_0x348195})=>{const _0x294090=_0x3de8fc;this[_0x294090(0x322)](),_0x13fecd&&this[_0x294090(0x1b1)](_0x13fecd,_0x348195);}),this['_sheetSkeletonManagerService'][_0x3de8fc(0x10a)][_0x3de8fc(0x10f)](_0x24ce49=>{const _0x2cdba4=_0x3de8fc;if(_0x24ce49==null)return;const {skeleton:_0x484133}=_0x24ce49,{scene:_0x307459}=this['_context'];_0x307459[_0x2cdba4(0xfa)]['subscribeEvent'](_0x4bef22['debounce'](_0x48ebf2=>{const _0x74acee=_0x2cdba4;var _0x555218,_0x32ec27;const {offsetX:_0x9d79d1,offsetY:_0x384893}=_0x48ebf2,{x:_0x24a40d,y:_0x42e143}=_0x307459['getRelativeToViewportCoord'](_0x5bc9e3[_0x74acee(0x19a)]['FromArray']([_0x9d79d1,_0x384893])),{scaleX:_0x2dddde,scaleY:_0x47d88f}=_0x307459[_0x74acee(0x2e3)](),_0x4a2c12=_0x307459[_0x74acee(0x30a)](_0x5bc9e3['SHEET_VIEWPORT_KEY'][_0x74acee(0x17d)]),_0x2e2c54=_0x307459[_0x74acee(0x25b)](_0x5bc9e3['Vector2'][_0x74acee(0x1a6)]([_0x24a40d,_0x42e143]),_0x4a2c12),_0xed69a2=_0x484133['getCellPositionByOffset'](_0x9d79d1,_0x384893,_0x2dddde,_0x47d88f,_0x2e2c54);((_0x555218=this['_lastPointer'])==null?void 0x0:_0x555218['column'])===_0xed69a2[_0x74acee(0x37a)]&&((_0x32ec27=this[_0x74acee(0x2ca)])==null?void 0x0:_0x32ec27['row'])===_0xed69a2[_0x74acee(0x289)]||this[_0x74acee(0x2b9)][_0x74acee(0x38f)](_0x4d3c8d=>{_0x4d3c8d['onMouseMove'](_0xed69a2);});},0x64));});}[_0x1f2d6d(0x1b1)](_0x133cff,_0x57f75d){const _0x5e96ce=_0x1f2d6d;var _0x3f804d;const _0x534703=(_0x3f804d=this[_0x5e96ce(0x1bd)][_0x5e96ce(0x13c)]())==null?void 0x0:_0x3f804d[_0x5e96ce(0x139)];if(!_0x534703)return;const _0x2671fd=this[_0x5e96ce(0x232)]();if(!_0x2671fd)return;this[_0x5e96ce(0x2b9)][_0x5e96ce(0x38f)](_0x477d2a=>{const _0x585ffc=_0x5e96ce;_0x477d2a[_0x585ffc(0x121)]();});const {scene:_0x189c3b}=_0x2671fd,_0x533f34=_0x102c85(Array[_0x5e96ce(0x24c)](_0x57f75d['values']()))[_0x5e96ce(0x243)](_0x1ea09e=>{const _0x2ebb5a=_0x5e96ce,{color:_0x2a75e8,range:_0x698dae,name:_0x363491,selection:_0x3e1473,sheetID:_0x38ad41}=_0x1ea09e,{startColumn:_0x3820ff,startRow:_0x19b7f7,endColumn:_0xa5e987,endRow:_0x14252d}=_0x698dae,_0xf0e37a=_0x5dd3a1[_0x2ebb5a(0x125)](_0x19b7f7,_0x3820ff,_0x189c3b,_0x534703),_0x42899a=_0x5dd3a1[_0x2ebb5a(0x125)](_0x14252d,_0xa5e987,_0x189c3b,_0x534703),{columnHeaderHeightAndMarginTop:_0x35b999}=_0x534703,{startX:_0x42173e,startY:_0x3673c8}=_0xf0e37a,{endX:_0x5444f1,endY:_0x3d8ed5}=_0x42899a,_0x5008fc=_0x5444f1-_0x42173e,_0x2f3526=_0x3d8ed5-_0x3673c8,_0x1e53f4={'labelPosition':_0x3673c8-_0x35b999>=_0x451e35?_0x2ebb5a(0x203):_0x2ebb5a(0x253),'sheetID':_0x38ad41,'range':_0x698dae,'color':_0x2a75e8,'name':_0x363491,'selection':_0x3e1473,'left':_0x42173e,'top':_0x3673c8,'width':_0x5008fc,'height':_0x2f3526,'evented':!0x1,'zIndex':_0x1577ae};return new _0x421ecf(_0x363491,_0x1e53f4);});_0x189c3b[_0x5e96ce(0x2c7)](_0x533f34,_0x53fc88),this['_cursors']=new Set(_0x533f34);}[_0x1f2d6d(0x322)](){const _0x58f32c=_0x1f2d6d;var _0x14057d;(_0x14057d=this[_0x58f32c(0x2b9)])==null||_0x14057d[_0x58f32c(0x38f)](_0x410cb1=>_0x410cb1[_0x58f32c(0x305)]());}[_0x1f2d6d(0x232)](){const _0xdd65b2=_0x1f2d6d;return _0x5dd3a1[_0xdd65b2(0x158)](this[_0xdd65b2(0x2f3)]['unit'],this[_0xdd65b2(0x2f3)]);}};_0x4e3e8b=_0x1c12eb([_0x1243b2(0x1,_0x4bef22[_0x1f2d6d(0x152)](_0x5dd3a1['SheetSkeletonManagerService'])),_0x1243b2(0x2,_0x4bef22['Inject'](_0x43e639)),_0x1243b2(0x3,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22['ThemeService']))],_0x4e3e8b);function _0x102c85(_0x3b730e){const _0x3ad3d4=_0x1f2d6d,_0x5bbfe3=new Map();return _0x3b730e[_0x3ad3d4(0x38f)](_0x33317a=>{const _0x3907c7=_0x3ad3d4;if(_0x5bbfe3['has'](_0x33317a[_0x3907c7(0x354)])){const _0x2075ac=_0x5bbfe3[_0x3907c7(0x25e)](_0x33317a['selection']);_0x2075ac[_0x3907c7(0xfd)]+=',\x20'+_0x33317a[_0x3907c7(0xfd)];}else _0x5bbfe3[_0x3907c7(0x1e5)](_0x33317a['selection'],_0x33317a);}),Array[_0x3ad3d4(0x24c)](_0x5bbfe3[_0x3ad3d4(0x22b)]());}var _0xb9955=function(){return _0xb9955=Object['assign']||function(_0x1cd853){const _0x388a26=_0xfda5;for(var _0x54f25f,_0x3f66ec=0x1,_0x146b8c=arguments[_0x388a26(0x311)];_0x3f66ec<_0x146b8c;_0x3f66ec++){_0x54f25f=arguments[_0x3f66ec];for(var _0x14bb2e in _0x54f25f)Object[_0x388a26(0x2fd)][_0x388a26(0x306)][_0x388a26(0x1ba)](_0x54f25f,_0x14bb2e)&&(_0x1cd853[_0x14bb2e]=_0x54f25f[_0x14bb2e]);}return _0x1cd853;},_0xb9955['apply'](this,arguments);},_0x4dead5=function(_0x2eb4f6,_0x179987){const _0x1caeda=_0x1f2d6d;var _0x4156fe={};for(var _0x5a2e17 in _0x2eb4f6)Object[_0x1caeda(0x2fd)]['hasOwnProperty']['call'](_0x2eb4f6,_0x5a2e17)&&_0x179987[_0x1caeda(0x24a)](_0x5a2e17)<0x0&&(_0x4156fe[_0x5a2e17]=_0x2eb4f6[_0x5a2e17]);if(_0x2eb4f6!=null&&typeof Object[_0x1caeda(0x35a)]=='function'){for(var _0x3d9903=0x0,_0x5a2e17=Object[_0x1caeda(0x35a)](_0x2eb4f6);_0x3d9903<_0x5a2e17['length'];_0x3d9903++)_0x179987[_0x1caeda(0x24a)](_0x5a2e17[_0x3d9903])<0x0&&Object[_0x1caeda(0x2fd)][_0x1caeda(0x2e4)][_0x1caeda(0x1ba)](_0x2eb4f6,_0x5a2e17[_0x3d9903])&&(_0x4156fe[_0x5a2e17[_0x3d9903]]=_0x2eb4f6[_0x5a2e17[_0x3d9903]]);}return _0x4156fe;},_0xed901a=_0x4d4bff[_0x1f2d6d(0x17e)](function(_0x30b86b,_0x10bedd){const _0x518a3f=_0x1f2d6d;var _0x49144f=_0x30b86b[_0x518a3f(0x2db)],_0x27bbdb=_0x30b86b['id'],_0x5015e4=_0x30b86b[_0x518a3f(0x2a9)],_0x38536f=_0x30b86b[_0x518a3f(0x2b4)],_0x5b2eaf=_0x4dead5(_0x30b86b,[_0x518a3f(0x2db),'id',_0x518a3f(0x2a9),_0x518a3f(0x2b4)]),_0x5b7e5c='univerjs-icon\x20univerjs-icon-'[_0x518a3f(0x380)](_0x27bbdb,'\x20')[_0x518a3f(0x380)](_0x5015e4||'')[_0x518a3f(0x218)](),_0x1186d4=_0x4d4bff['useRef']('_'['concat'](_0x131621()));return _0x432feb(_0x49144f,''[_0x518a3f(0x380)](_0x27bbdb),{'defIds':_0x49144f['defIds'],'idSuffix':_0x1186d4['current']},_0xb9955({'ref':_0x10bedd,'className':_0x5b7e5c},_0x5b2eaf),_0x38536f);});function _0x432feb(_0x3f576e,_0x4352d1,_0x20636b,_0x2f2315,_0x3072b1){const _0x42ceac=_0x1f2d6d;return _0x4d4bff[_0x42ceac(0x2e7)](_0x3f576e[_0x42ceac(0x1e1)],_0xb9955(_0xb9955({'key':_0x4352d1},_0x9e755f(_0x3f576e,_0x20636b,_0x3072b1)),_0x2f2315),(_0x25b6c9(_0x3f576e,_0x20636b)[_0x42ceac(0x142)]||[])[_0x42ceac(0x243)](function(_0x43cb84,_0x41d2e9){const _0x1749e3=_0x42ceac;return _0x432feb(_0x43cb84,''[_0x1749e3(0x380)](_0x4352d1,'-')[_0x1749e3(0x380)](_0x3f576e[_0x1749e3(0x1e1)],'-')[_0x1749e3(0x380)](_0x41d2e9),_0x20636b,void 0x0,_0x3072b1);}));}function _0x9e755f(_0x153172,_0x268265,_0x4ca0fa){const _0x2dd006=_0x1f2d6d;var _0x1c3ee0=_0xb9955({},_0x153172['attrs']);_0x4ca0fa!=null&&_0x4ca0fa[_0x2dd006(0x180)]&&_0x1c3ee0[_0x2dd006(0x327)]==='colorChannel1'&&(_0x1c3ee0['fill']=_0x4ca0fa[_0x2dd006(0x180)]),_0x153172[_0x2dd006(0x1e1)]===_0x2dd006(0x2de)&&_0x1c3ee0['id']&&(_0x1c3ee0['id']=_0x1c3ee0['id']+_0x268265[_0x2dd006(0x26f)]),Object[_0x2dd006(0x22a)](_0x1c3ee0)['forEach'](function(_0x1e8a74){const _0x158fe6=_0x2dd006;var _0x26c957=_0x1e8a74[0x0],_0xb7dbe5=_0x1e8a74[0x1];_0x26c957===_0x158fe6(0x2de)&&typeof _0xb7dbe5==_0x158fe6(0x1ce)&&(_0x1c3ee0[_0x26c957]=_0xb7dbe5['replace'](/url\(#(.*)\)/,_0x158fe6(0x33a)['concat'](_0x268265[_0x158fe6(0x26f)],')')));});var _0x79a122=_0x268265[_0x2dd006(0x1b9)];return!_0x79a122||_0x79a122[_0x2dd006(0x311)]===0x0||(_0x153172[_0x2dd006(0x1e1)]==='use'&&_0x1c3ee0['xlink:href']&&(_0x1c3ee0['xlink:href']=_0x1c3ee0[_0x2dd006(0x277)]+_0x268265[_0x2dd006(0x26f)]),Object['entries'](_0x1c3ee0)[_0x2dd006(0x38f)](function(_0x5afabb){const _0xfc8502=_0x2dd006;var _0x524d39=_0x5afabb[0x0],_0x4b6016=_0x5afabb[0x1];typeof _0x4b6016=='string'&&(_0x1c3ee0[_0x524d39]=_0x4b6016['replace'](/url\(#(.*)\)/,_0xfc8502(0x33a)['concat'](_0x268265['idSuffix'],')')));})),_0x1c3ee0;}function _0x25b6c9(_0x58365b,_0x448ea4){const _0x59993f=_0x1f2d6d;var _0x48d4e2,_0x593aac=_0x448ea4[_0x59993f(0x1b9)];return!_0x593aac||_0x593aac[_0x59993f(0x311)]===0x0?_0x58365b:_0x58365b[_0x59993f(0x1e1)]===_0x59993f(0x16a)&&(!((_0x48d4e2=_0x58365b[_0x59993f(0x142)])===null||_0x48d4e2===void 0x0)&&_0x48d4e2[_0x59993f(0x311)])?_0xb9955(_0xb9955({},_0x58365b),{'children':_0x58365b[_0x59993f(0x142)][_0x59993f(0x243)](function(_0x290e8f){const _0x3d793b=_0x59993f;return typeof _0x290e8f[_0x3d793b(0x1bf)]['id']=='string'&&_0x593aac&&_0x593aac[_0x3d793b(0x24a)](_0x290e8f['attrs']['id'])>-0x1?_0xb9955(_0xb9955({},_0x290e8f),{'attrs':_0xb9955(_0xb9955({},_0x290e8f[_0x3d793b(0x1bf)]),{'id':_0x290e8f[_0x3d793b(0x1bf)]['id']+_0x448ea4[_0x3d793b(0x26f)]})}):_0x290e8f;})}):_0x58365b;}function _0x131621(){const _0x552963=_0x1f2d6d;return Math['random']()[_0x552963(0x393)](0x24)[_0x552963(0x331)](0x2,0x8);}_0xed901a[_0x1f2d6d(0x103)]='UniverIcon';var _0x2eced1={'tag':_0x1f2d6d(0x1e3),'attrs':{'fill':_0x1f2d6d(0x392),'viewBox':_0x1f2d6d(0x394),'width':_0x1f2d6d(0x237),'height':_0x1f2d6d(0x237)},'children':[{'tag':'g','attrs':{'clipPath':_0x1f2d6d(0x31c)},'children':[{'tag':_0x1f2d6d(0x38c),'attrs':{'stroke':'currentColor','d':_0x1f2d6d(0x2ec),'strokeLinecap':'round','strokeLinejoin':_0x1f2d6d(0x2d5),'strokeWidth':1.2}}]},{'tag':_0x1f2d6d(0x16a),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1f2d6d(0x134)},'children':[{'tag':_0x1f2d6d(0x38c),'attrs':{'fill':_0x1f2d6d(0x344),'d':_0x1f2d6d(0x102)}}]}]}],'defIds':[_0x1f2d6d(0x134)]},_0x46f593=_0x4d4bff[_0x1f2d6d(0x17e)](function(_0x1d8cf6,_0x523bf8){const _0x44ce0e=_0x1f2d6d;return _0x4d4bff['createElement'](_0xed901a,Object['assign']({},_0x1d8cf6,{'id':_0x44ce0e(0x2d1),'ref':_0x523bf8,'icon':_0x2eced1}));});_0x46f593['displayName']=_0x1f2d6d(0x268);var _0xced103={'tag':'svg','attrs':{'fill':'none','viewBox':_0x1f2d6d(0x2b6),'width':_0x1f2d6d(0x237),'height':_0x1f2d6d(0x237)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x1f2d6d(0x38c),'attrs':{'stroke':'currentColor','d':_0x1f2d6d(0x21a),'strokeLinecap':'round','strokeLinejoin':_0x1f2d6d(0x2d5),'strokeWidth':1.2}}]},{'tag':_0x1f2d6d(0x16a),'attrs':{},'children':[{'tag':_0x1f2d6d(0x2be),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x1f2d6d(0x344),'d':'M0\x200H16V16H0z','transform':_0x1f2d6d(0x2a1)}}]}]}],'defIds':[_0x1f2d6d(0x2f0)]},_0x471666=_0x4d4bff[_0x1f2d6d(0x17e)](function(_0x189d31,_0x10287f){const _0x48e839=_0x1f2d6d;return _0x4d4bff[_0x48e839(0x2e7)](_0xed901a,Object[_0x48e839(0x18b)]({},_0x189d31,{'id':_0x48e839(0x1c3),'ref':_0x10287f,'icon':_0xced103}));});_0x471666[_0x1f2d6d(0x103)]=_0x1f2d6d(0x334);const _0x1dee81={'onlineStatusIcon':_0x1f2d6d(0xfb),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x1f2d6d(0x30d),'online':_0x1f2d6d(0x233),'offline':_0x1f2d6d(0x19f)};function _0x1e756f(_0xe1daae){const _0x206763=_0x1f2d6d;switch(_0xe1daae){case _0x208871[_0x206763(0x154)][_0x206763(0x1b5)]:return _0x206763(0x165);case _0x208871[_0x206763(0x154)]['CONFLICT']:return'collabStatus.conflict';case _0x208871['CollaborationStatus'][_0x206763(0x1f5)]:return'collabStatus.fetchMiss';case _0x208871[_0x206763(0x154)][_0x206763(0x151)]:return'collabStatus.notCollab';case _0x208871[_0x206763(0x154)][_0x206763(0x114)]:case _0x208871['CollaborationStatus'][_0x206763(0x2ee)]:return _0x206763(0x1e7);case _0x208871[_0x206763(0x154)][_0x206763(0x359)]:case _0x208871[_0x206763(0x154)][_0x206763(0x2ff)]:return'collabStatus.synced';}}function _0x58a511(_0x942875){const _0x5c75c6=_0x1f2d6d,{status$:_0x459b3c}=_0x942875,_0x4f8238=_0x199f13[_0x5c75c6(0x244)](_0x459b3c,_0x208871[_0x5c75c6(0x154)][_0x5c75c6(0x151)]),_0x40f2d7=_0x199f13['useDependency'](_0x4bef22[_0x5c75c6(0x1af)]),_0x3dc6ca=_0x199f13[_0x5c75c6(0x36c)](_0x208871[_0x5c75c6(0x2b8)]),_0x59bec8=_0x4f8238!==_0x208871[_0x5c75c6(0x154)][_0x5c75c6(0x1b5)],_0x504944=_0x40f2d7['t'](_0x1e756f(_0x4f8238)),_0x47fba9=_0x16b349[_0x5c75c6(0x1dd)](_0x1dee81[_0x5c75c6(0x1fc)],{[_0x1dee81[_0x5c75c6(0x34b)]]:_0x59bec8,[_0x1dee81[_0x5c75c6(0x13f)]]:!_0x59bec8}),_0x234d09=_0x59bec8?_0x160450[_0x5c75c6(0x14a)](_0x471666,{}):_0x160450[_0x5c75c6(0x14a)](_0x46f593,{}),_0x42c26c=_0x4d4bff[_0x5c75c6(0x16b)](()=>{const _0x2e17b5=_0x5c75c6;_0x59bec8||_0x3dc6ca[_0x2e17b5(0x217)]();},[_0x59bec8,_0x3dc6ca]);function _0x24b5ad(){const _0x5e1cf0=_0x5c75c6;return _0x160450['jsxs']('div',{'className':_0x16b349[_0x5e1cf0(0x1dd)](_0x47fba9,_0x5e1cf0(0x303)),'onClick':_0x42c26c,'children':[_0x160450['jsx'](_0x5e1cf0(0xfc),{'className':_0x1dee81[_0x5e1cf0(0x1f0)],'children':_0x234d09}),_0x160450['jsx'](_0x5e1cf0(0xfc),{'className':_0x1dee81[_0x5e1cf0(0x2b1)],'children':_0x504944})]});}return _0x59bec8?_0x24b5ad():_0x160450[_0x5c75c6(0x14a)](_0x16b349['Tooltip'],{'title':_0x40f2d7['t'](_0x5c75c6(0x32d)),'children':_0x24b5ad()});}var _0x3606ba=Object[_0x1f2d6d(0x2bb)],_0x2a82f6=(_0x318a58,_0x344d01,_0x5e57d7,_0x4b0336)=>{for(var _0x15f80b=_0x4b0336>0x1?void 0x0:_0x4b0336?_0x3606ba(_0x344d01,_0x5e57d7):_0x344d01,_0x52d05e=_0x318a58['length']-0x1,_0x2785e6;_0x52d05e>=0x0;_0x52d05e--)(_0x2785e6=_0x318a58[_0x52d05e])&&(_0x15f80b=_0x2785e6(_0x15f80b)||_0x15f80b);return _0x15f80b;},_0x54ab79=(_0x4e0ce4,_0x1684c2)=>(_0x26a0f6,_0x3c1b7a)=>_0x1684c2(_0x26a0f6,_0x3c1b7a,_0x4e0ce4);_0x189a83[_0x1f2d6d(0x387)]=class extends _0x4bef22[_0x1f2d6d(0x20d)]{constructor(_0xd382cf,_0x1a1386,_0x13ab35,_0x473416){const _0x381159=_0x1f2d6d;super(),_0x4c7e9f(this,_0x381159(0x1cf),new _0x18dc13[(_0x381159(0x2a7))](_0x208871[_0x381159(0x154)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0xd382cf,this[_0x381159(0x1b2)]=_0x1a1386,this[_0x381159(0x26c)]=_0x13ab35,this[_0x381159(0x2c1)]=_0x473416,this[_0x381159(0x1d8)](),this[_0x381159(0x188)]());}[_0x1f2d6d(0x188)](){const _0x794651=_0x1f2d6d;this[_0x794651(0x310)](this[_0x794651(0x1d4)][_0x794651(0x1e6)][_0x794651(0x1a8)](_0x18dc13[_0x794651(0x132)](()=>{const _0x2c81d9=_0x794651,_0x7be8cc=this[_0x2c81d9(0x1d4)][_0x2c81d9(0x2f2)]();return _0x7be8cc?this['_collaborationController']['getCollabEntity$'](_0x7be8cc['getUnitId']()):_0x18dc13['of'](null);}),_0x18dc13[_0x794651(0x132)](_0x25af7e=>_0x25af7e?_0x25af7e['status$']:_0x18dc13['of'](_0x208871[_0x794651(0x154)][_0x794651(0x151)])))[_0x794651(0x10f)](_0xe452d5=>{const _0x17d4b=_0x794651;this['_status$'][_0x17d4b(0x2d3)](_0xe452d5);}));}[_0x1f2d6d(0x1d8)](){const _0x291365=_0x1f2d6d;this[_0x291365(0x310)](this[_0x291365(0x2c1)][_0x291365(0x324)](_0x199f13[_0x291365(0x129)][_0x291365(0x36d)],()=>_0x199f13[_0x291365(0x169)](_0x5e5ebe({'status$':this[_0x291365(0x1cf)][_0x291365(0x366)]()}),this[_0x291365(0x1b2)])));}},_0x189a83['DesktopCollaborationStatusDisplayController']=_0x2a82f6([_0x54ab79(0x0,_0x4bef22[_0x1f2d6d(0x295)]),_0x54ab79(0x1,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22[_0x1f2d6d(0x14c)])),_0x54ab79(0x2,_0x4bef22['Inject'](_0x208871[_0x1f2d6d(0x1c8)])),_0x54ab79(0x3,_0x199f13['IUIPartsService'])],_0x189a83[_0x1f2d6d(0x387)]);function _0x5e5ebe(_0x29d95c){const {status$:_0x33cce8}=_0x29d95c;return function(){const _0x2ec82c=_0xfda5;return _0x160450[_0x2ec82c(0x14a)](_0x58a511,{'status$':_0x33cce8});};}var _0x319dc7=Object[_0x1f2d6d(0x2bb)],_0xc1fe34=(_0x15475c,_0x3f215a,_0x33764e,_0x149252)=>{const _0x313821=_0x1f2d6d;for(var _0xe705e8=_0x149252>0x1?void 0x0:_0x149252?_0x319dc7(_0x3f215a,_0x33764e):_0x3f215a,_0x319af7=_0x15475c[_0x313821(0x311)]-0x1,_0x13a767;_0x319af7>=0x0;_0x319af7--)(_0x13a767=_0x15475c[_0x319af7])&&(_0xe705e8=_0x13a767(_0xe705e8)||_0xe705e8);return _0xe705e8;},_0x4d719d=(_0x46133c,_0x4b8664)=>(_0x581e63,_0x5b25c6)=>_0x4b8664(_0x581e63,_0x5b25c6,_0x46133c);let _0x15eefe=class extends _0x4bef22[_0x1f2d6d(0x20d)]{constructor(_0x2a7397,_0x18c6d1,_0x3f79f9,_0x1cd386,_0x480ce6,_0xd20a24){const _0x328526=_0x1f2d6d;super(),this[_0x328526(0x30e)]=_0x2a7397,this[_0x328526(0x338)]=_0x18c6d1,this[_0x328526(0x31b)]=_0x3f79f9,this[_0x328526(0x379)]=_0x1cd386,this[_0x328526(0x34e)]=_0x480ce6,this[_0x328526(0x185)]=_0xd20a24,this[_0x328526(0x346)](),this['_initEvent']();}[_0x1f2d6d(0x346)](){const _0x4da231=_0x1f2d6d;this[_0x4da231(0x310)](this['_beforeCloseService'][_0x4da231(0x2e0)](()=>{const _0x299aab=_0x4da231;if(this['_localCacheService']['saveTaskMap'][_0x299aab(0x32e)])return this[_0x299aab(0x185)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x1f2d6d(0x351)](){const _0x40fb07=_0x1f2d6d;this[_0x40fb07(0x310)](this[_0x40fb07(0x31b)][_0x40fb07(0x155)][_0x40fb07(0x10f)](_0xaa8ae5=>{const _0x15a64c=_0x40fb07;_0xaa8ae5['id']===_0x208871[_0x15a64c(0xf9)][_0x15a64c(0x360)]&&this['_messageService'][_0x15a64c(0x12e)]({'type':_0x16b349['MessageType'][_0x15a64c(0x361)],'content':this[_0x15a64c(0x185)]['t'](_0x15a64c(0x38a))}),_0xaa8ae5['id']===_0x208871[_0x15a64c(0xf9)][_0x15a64c(0x37f)]&&this[_0x15a64c(0x379)]['show']({'type':_0x16b349[_0x15a64c(0x1c2)][_0x15a64c(0x361)],'content':this['_localeService']['t'](_0x15a64c(0x248))}),_0xaa8ae5['id']===_0x208871[_0x15a64c(0xf9)][_0x15a64c(0x274)]&&this[_0x15a64c(0x34e)]['show']({'title':this['_localeService']['t'](_0x15a64c(0x14b)),'content':this['_localeService']['t'](_0x15a64c(0x227)),'type':'error','duration':0x0}),_0xaa8ae5['id']===_0x208871[_0x15a64c(0xf9)]['CONFLICT']&&this[_0x15a64c(0x379)][_0x15a64c(0x12e)]({'type':_0x16b349[_0x15a64c(0x1c2)]['Error'],'content':this[_0x15a64c(0x185)]['t'](_0x15a64c(0x248))+'('+_0xaa8ae5[_0x15a64c(0x20b)]+')'}),_0xaa8ae5['id']===_0x208871[_0x15a64c(0xf9)][_0x15a64c(0x283)]&&this['_messageService'][_0x15a64c(0x12e)]({'type':_0x16b349['MessageType'][_0x15a64c(0x361)],'content':this[_0x15a64c(0x185)]['t'](_0xaa8ae5['data']||'')}),_0xaa8ae5['id']===_0x208871['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x15a64c(0x379)][_0x15a64c(0x12e)]({'type':_0x16b349[_0x15a64c(0x1c2)]['Warning'],'content':this[_0x15a64c(0x185)]['t']('session.will-retry')}),_0xaa8ae5['id']===_0x208871[_0x15a64c(0xf9)][_0x15a64c(0x309)]&&this[_0x15a64c(0x379)][_0x15a64c(0x12e)]({'type':_0x16b349[_0x15a64c(0x1c2)][_0x15a64c(0x376)],'content':this['_localeService']['t']('session.connection-failed')}),_0xaa8ae5['id']===_0x208871['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x15a64c(0x12e)]({'type':_0x16b349[_0x15a64c(0x1c2)][_0x15a64c(0x376)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x15eefe=_0xc1fe34([_0x4d719d(0x0,_0x199f13[_0x1f2d6d(0x342)]),_0x4d719d(0x1,_0x208871[_0x1f2d6d(0x1de)]),_0x4d719d(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x208871['CollaborationUIEventService'])),_0x4d719d(0x3,_0x199f13[_0x1f2d6d(0x255)]),_0x4d719d(0x4,_0x199f13[_0x1f2d6d(0x29d)]),_0x4d719d(0x5,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22[_0x1f2d6d(0x1af)]))],_0x15eefe);const _0x3af66f=_0x1f2d6d(0x318),_0x243c9a={},_0x3109bd=_0x4bef22[_0x1f2d6d(0x296)](_0x1f2d6d(0x36e));var _0xdd77a9=Object[_0x1f2d6d(0x2bb)],_0x79f760=(_0x9b5da2,_0x4555f5,_0x2522b4,_0x5b903d)=>{for(var _0x35abc7=_0x5b903d>0x1?void 0x0:_0x5b903d?_0xdd77a9(_0x4555f5,_0x2522b4):_0x4555f5,_0x2c8082=_0x9b5da2['length']-0x1,_0x3a5bf1;_0x2c8082>=0x0;_0x2c8082--)(_0x3a5bf1=_0x9b5da2[_0x2c8082])&&(_0x35abc7=_0x3a5bf1(_0x35abc7)||_0x35abc7);return _0x35abc7;},_0xa7effd=(_0x293e1f,_0x88b46e)=>(_0x2d2a04,_0x38ca50)=>_0x88b46e(_0x2d2a04,_0x38ca50,_0x293e1f);_0x189a83['CollaborationDataLoaderController']=class extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(_0x2e1d42,_0x132076,_0x21c868,_0x4bac2e,_0x10894d){const _0x141956=_0x1f2d6d;super(),this[_0x141956(0x367)]=_0x2e1d42,this[_0x141956(0x19b)]=_0x132076,this[_0x141956(0x1ee)]=_0x21c868,this[_0x141956(0x117)]=_0x4bac2e,_0x10894d?_0x10894d==null||_0x10894d[_0x141956(0x2f1)]()[_0x141956(0x17b)](()=>this[_0x141956(0x192)]()):(this[_0x141956(0x19b)][_0x141956(0x281)](_0x141956(0x2cd),_0x141956(0x13e)),this[_0x141956(0x192)]());}async['_init'](){const _0x4326ef=_0x1f2d6d,_0xf9fe05=this[_0x4326ef(0x367)][_0x4326ef(0x37e)](_0x4326ef(0x24b)),_0x106d36=this['_urlService'][_0x4326ef(0x37e)](_0x4326ef(0x1f6)),_0x1cd07a=this['_urlService'][_0x4326ef(0x37e)](_0x4326ef(0x1f2));if(!_0xf9fe05||!_0x106d36){this[_0x4326ef(0x19b)][_0x4326ef(0x281)](_0x4326ef(0x2cd),_0x4326ef(0x270));return;}const _0xe6c5a6=await this[_0x4326ef(0x117)][_0x4326ef(0x1da)](_0xf9fe05,Number(_0x106d36),_0x1cd07a);_0xe6c5a6&&_0xe6c5a6 instanceof _0x4bef22[_0x4326ef(0x339)]&&this['_setupSubUnitSync'](_0xe6c5a6);}async[_0x1f2d6d(0x1b3)](_0x32105d){const _0x158473=_0x1f2d6d;await this[_0x158473(0x22e)](_0x32105d),_0x32105d[_0x158473(0x14e)][_0x158473(0x1a8)](_0x18dc13[_0x158473(0x27e)](this['dispose$']))['subscribe'](_0x5a2354=>{const _0x4bde92=_0x158473;_0x5a2354&&this[_0x4bde92(0x299)](_0x5a2354);}),this[_0x158473(0x367)]['urlChange$'][_0x158473(0x1a8)](_0x18dc13[_0x158473(0x27e)](this[_0x158473(0x1a7)]))[_0x158473(0x10f)](()=>this['_updateSubUnitFromURLParams'](_0x32105d));}['_updateURLWithCurrentState'](_0x5493e0,_0xe3f6f4=!0x1){const _0x5ea2be=_0x1f2d6d,_0x3d9509=this['_urlService'][_0x5ea2be(0x37e)](_0x5ea2be(0x1f2));_0x5493e0[_0x5ea2be(0x29c)]()!==_0x3d9509&&this[_0x5ea2be(0x367)][_0x5ea2be(0x326)](_0x5ea2be(0x1f2),_0x5493e0[_0x5ea2be(0x29c)](),_0xe3f6f4);}async[_0x1f2d6d(0x22e)](_0x3031ab){const _0x9a2230=_0x1f2d6d;var _0x28ca2f;const _0x56a011=this[_0x9a2230(0x367)][_0x9a2230(0x37e)](_0x9a2230(0x1f2));if(!_0x56a011||!_0x3031ab[_0x9a2230(0x29a)](_0x56a011)){const _0x402666=_0x3031ab['getUnhiddenWorksheets']()[0x0],_0x162b83=_0x3031ab[_0x9a2230(0x29a)](_0x402666);if(!_0x162b83)return;this[_0x9a2230(0x299)](_0x162b83,!0x0),await this['_commandService']['executeCommand'](_0xa54874[_0x9a2230(0x31f)]['id'],{'unitId':_0x3031ab[_0x9a2230(0x372)](),'subUnitId':_0x402666});return;}((_0x28ca2f=_0x3031ab[_0x9a2230(0x10b)]())==null?void 0x0:_0x28ca2f[_0x9a2230(0x29c)]())!==_0x56a011&&await this[_0x9a2230(0x1ee)]['executeCommand'](_0xa54874[_0x9a2230(0x31f)]['id'],{'unitId':_0x3031ab[_0x9a2230(0x372)](),'subUnitId':_0x56a011});}},_0x189a83[_0x1f2d6d(0x337)]=_0x79f760([_0xa7effd(0x0,_0x3109bd),_0xa7effd(0x1,_0x4bef22[_0x1f2d6d(0xfe)]),_0xa7effd(0x2,_0x4bef22[_0x1f2d6d(0x1ca)]),_0xa7effd(0x3,_0x4bef22['Inject'](_0x208871[_0x1f2d6d(0x321)])),_0xa7effd(0x4,_0x4bef22[_0x1f2d6d(0x2f6)](_0x185caa[_0x1f2d6d(0x313)]))],_0x189a83[_0x1f2d6d(0x337)]);var _0x425223=Object[_0x1f2d6d(0x2bb)],_0x4eb27c=(_0x33ea20,_0xa1f1a3,_0x36544d,_0x4a46cf)=>{const _0x12c3fd=_0x1f2d6d;for(var _0x15ee77=_0x4a46cf>0x1?void 0x0:_0x4a46cf?_0x425223(_0xa1f1a3,_0x36544d):_0xa1f1a3,_0x40c656=_0x33ea20[_0x12c3fd(0x311)]-0x1,_0x3166de;_0x40c656>=0x0;_0x40c656--)(_0x3166de=_0x33ea20[_0x40c656])&&(_0x15ee77=_0x3166de(_0x15ee77)||_0x15ee77);return _0x15ee77;},_0x4e64a0=(_0x581b0,_0x52cf2f)=>(_0x51d1b0,_0x309419)=>_0x52cf2f(_0x51d1b0,_0x309419,_0x581b0);let _0x1908d3=class{constructor(_0x1c6dbc,_0x37e61e,_0x5f2490){const _0x47ef21=_0x1f2d6d;this[_0x47ef21(0x1b2)]=_0x1c6dbc,this[_0x47ef21(0x239)]=_0x37e61e,this[_0x47ef21(0x22d)]=_0x5f2490;}[_0x1f2d6d(0x17c)](_0x19b3cd){this['_transformUndoRedoStack'](_0x19b3cd),this['_transformPreviousActiveRange'](_0x19b3cd);}[_0x1f2d6d(0x1fd)](_0x2b10ab){const _0x4114db=_0x1f2d6d,{unitID:_0x46d6dd}=_0x2b10ab,_0x5ccfa9=this[_0x4114db(0x22d)][_0x4114db(0x252)](_0x46d6dd)[_0x4114db(0x122)](_0x33fc6e[_0x4114db(0x149)]),{redoCache:_0x5b81b5}=_0x5ccfa9[_0x4114db(0x24e)]();if(_0x5b81b5['length']===0x0)return _0x2b10ab;let _0x4c242d=_0x4bef22[_0x4114db(0x370)][_0x4114db(0x183)](_0x2b10ab[_0x4114db(0x317)][0x0]);for(let _0x4314c3=0x0;_0x4314c3<_0x5b81b5['length'];_0x4314c3++){const _0x24d76c={'id':_0x4114db(0x373),'params':{..._0x5b81b5[_0x4314c3]}},_0x131189=this[_0x4114db(0x239)]['transformMutation'](_0x4c242d,_0x24d76c,!0x1);if(_0x34a53b['isTransformMutationFailure'](_0x131189))throw _0x131189['error'];_0x4c242d=_0x131189[_0x4114db(0x278)];}return{..._0x4bef22[_0x4114db(0x370)][_0x4114db(0x183)](_0x2b10ab),'mutations':[_0x4c242d]};}[_0x1f2d6d(0x2da)](_0x272e0a){const _0x4caefc=_0x1f2d6d,{unitID:_0x335614}=_0x272e0a,_0x55d540=this['_renderManagerService'][_0x4caefc(0x252)](_0x335614)[_0x4caefc(0x122)](_0x33fc6e['DocIMEInputManagerService']),{undoCache:_0x3c3abe,redoCache:_0x39bdc7}=_0x55d540[_0x4caefc(0x24e)]();if(_0x3c3abe[_0x4caefc(0x311)]===0x0||_0x39bdc7[_0x4caefc(0x311)]===0x0)return;const _0xb769a8=[],_0x255164=[];let _0x5bdd4a=_0x4bef22[_0x4caefc(0x370)][_0x4caefc(0x183)](_0x272e0a[_0x4caefc(0x317)][0x0]),_0x34bd52=_0x4bef22[_0x4caefc(0x370)][_0x4caefc(0x183)](_0x272e0a[_0x4caefc(0x317)][0x0]);for(let _0x460445=_0x3c3abe['length']-0x1;_0x460445>=0x0;_0x460445--){const _0x2dedfd={'id':_0x4caefc(0x373),'params':{..._0x3c3abe[_0x460445]}},_0x40da19={'id':_0x4caefc(0x373),'params':{..._0x39bdc7[_0x460445]}},_0xa19f91=this[_0x4caefc(0x239)]['transformMutation'](_0x5bdd4a,_0x2dedfd,!0x1),_0x37730e=this[_0x4caefc(0x239)][_0x4caefc(0x34f)](_0x34bd52,_0x40da19,!0x1);if(_0x34a53b[_0x4caefc(0x2c0)](_0xa19f91))throw _0xa19f91[_0x4caefc(0x319)];if(_0x34a53b['isTransformMutationFailure'](_0x37730e))throw _0x37730e['error'];_0xb769a8[_0x4caefc(0x262)](_0xa19f91[_0x4caefc(0x226)][_0x4caefc(0x388)]),_0x255164[_0x4caefc(0x262)](_0x37730e[_0x4caefc(0x226)][_0x4caefc(0x388)]),_0x5bdd4a=_0xa19f91['m1Prime'],_0x34bd52=_0x37730e[_0x4caefc(0x278)];}_0x55d540[_0x4caefc(0x352)]({'undoCache':_0xb769a8,'redoCache':_0x255164});}['_transformPreviousActiveRange'](_0x57b35f){const _0x3c8d76=_0x1f2d6d,{unitID:_0x106c14}=_0x57b35f,_0x297b37=this[_0x3c8d76(0x22d)][_0x3c8d76(0x252)](_0x106c14)[_0x3c8d76(0x122)](_0x33fc6e[_0x3c8d76(0x149)]),_0x504d8d=_0x297b37[_0x3c8d76(0x377)]();if(_0x504d8d==null)return;const _0x2153ea=[{'id':_0x3c8d76(0x373),'params':{'unitId':_0x57b35f['unitID'],'actions':null,'textRanges':[_0x504d8d]}}],_0x512fd5=this[_0x3c8d76(0x239)][_0x3c8d76(0x1a9)](_0x57b35f,_0x2153ea);if(!_0x34a53b[_0x3c8d76(0x21f)](_0x512fd5))throw _0x512fd5[_0x3c8d76(0x319)];const _0x1beab0=_0x512fd5[_0x3c8d76(0x226)][0x0][_0x3c8d76(0x388)][_0x3c8d76(0x184)];Array['isArray'](_0x1beab0)&&_0x1beab0[_0x3c8d76(0x311)]&&_0x297b37['setActiveRange'](_0x1beab0[0x0]);}};_0x1908d3=_0x4eb27c([_0x4e64a0(0x0,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22[_0x1f2d6d(0x14c)])),_0x4e64a0(0x1,_0x34a53b[_0x1f2d6d(0x242)]),_0x4e64a0(0x2,_0x5bc9e3['IRenderManagerService'])],_0x1908d3);var _0x64c520=Object[_0x1f2d6d(0x2bb)],_0x1ae651=(_0x483864,_0x1a087a,_0x173bf6,_0x195331)=>{for(var _0xe688af=_0x195331>0x1?void 0x0:_0x195331?_0x64c520(_0x1a087a,_0x173bf6):_0x1a087a,_0xddad0a=_0x483864['length']-0x1,_0x231064;_0xddad0a>=0x0;_0xddad0a--)(_0x231064=_0x483864[_0xddad0a])&&(_0xe688af=_0x231064(_0xe688af)||_0xe688af);return _0xe688af;},_0x4c30ee=(_0x77c06,_0x1b5d86)=>(_0xcc0b56,_0x4f24da)=>_0x1b5d86(_0xcc0b56,_0x4f24da,_0x77c06);let _0x18a24a=class{constructor(_0x12249e,_0x3cae9a,_0x5d5ef0){const _0x461cd2=_0x1f2d6d;this[_0x461cd2(0x1b2)]=_0x12249e,this['_transformService']=_0x3cae9a,this[_0x461cd2(0x1b7)]=_0x5d5ef0;}[_0x1f2d6d(0xf6)](_0x19d9f9){const _0x54c776=_0x1f2d6d;this[_0x54c776(0x36b)](_0x19d9f9);}[_0x1f2d6d(0x1fd)](_0x434b6c){const _0x598902=_0x1f2d6d,{unitID:_0x4dcc0a}=_0x434b6c,{collaboration:_0x5b3e32}=this[_0x598902(0x1b7)][_0x598902(0x2e1)](_0x4dcc0a);if(_0x5b3e32[_0x598902(0x311)]===0x0)return _0x434b6c;let _0x3934b8=_0x4bef22[_0x598902(0x370)][_0x598902(0x183)](_0x434b6c[_0x598902(0x317)][0x0]);for(let _0x16c92=0x0;_0x16c92<_0x5b3e32[_0x598902(0x311)];_0x16c92++){const _0x1d1ae0={'id':_0x598902(0x373),'params':{'unitId':_0x5b3e32[_0x16c92]['unitId'],..._0x5b3e32[_0x16c92][_0x598902(0x316)]}},_0x51a62f=this[_0x598902(0x239)][_0x598902(0x34f)](_0x3934b8,_0x1d1ae0,!0x1);if(_0x34a53b['isTransformMutationFailure'](_0x51a62f))throw _0x51a62f['error'];_0x3934b8=_0x51a62f[_0x598902(0x278)];}return{..._0x4bef22['Tools'][_0x598902(0x183)](_0x434b6c),'mutations':[_0x3934b8]};}[_0x1f2d6d(0x36b)](_0x32da3c){const _0x1b4a40=_0x1f2d6d,{unitID:_0x480371}=_0x32da3c,{history:_0xa8967a,collaboration:_0x247fb0}=this[_0x1b4a40(0x1b7)]['getStateCache'](_0x480371);if(_0xa8967a[_0x1b4a40(0x311)]===0x0&&_0x247fb0[_0x1b4a40(0x311)]===0x0)return;const _0x37dc24=[],_0x2ce046=[];let _0x3326e1=_0x4bef22['Tools']['deepClone'](_0x32da3c['mutations'][0x0]),_0x16855d=_0x4bef22[_0x1b4a40(0x370)]['deepClone'](_0x32da3c['mutations'][0x0]);for(let _0x7bfec=_0xa8967a['length']-0x1;_0x7bfec>=0x0;_0x7bfec--){const _0x13d6a7={'id':_0x1b4a40(0x373),'params':{'unitId':_0xa8967a[_0x7bfec]['unitId'],..._0xa8967a[_0x7bfec][_0x1b4a40(0x2af)]}},_0x2a5dbc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xa8967a[_0x7bfec][_0x1b4a40(0x15e)],..._0xa8967a[_0x7bfec][_0x1b4a40(0x316)]}},_0x2c02d0=this['_transformService'][_0x1b4a40(0x34f)](_0x3326e1,_0x13d6a7,!0x1),_0x532c68=this[_0x1b4a40(0x239)][_0x1b4a40(0x34f)](_0x16855d,_0x2a5dbc,!0x1);if(_0x34a53b[_0x1b4a40(0x2c0)](_0x2c02d0))throw _0x2c02d0[_0x1b4a40(0x319)];if(_0x34a53b[_0x1b4a40(0x2c0)](_0x532c68))throw _0x532c68[_0x1b4a40(0x319)];_0x37dc24[_0x1b4a40(0x262)]({..._0xa8967a[_0x7bfec],'undoState':_0x2c02d0[_0x1b4a40(0x226)][_0x1b4a40(0x388)],'redoState':_0x532c68['m2Prime']['params']}),_0x3326e1=_0x2c02d0[_0x1b4a40(0x278)],_0x16855d=_0x532c68[_0x1b4a40(0x278)];}_0x3326e1=_0x4bef22[_0x1b4a40(0x370)][_0x1b4a40(0x183)](_0x32da3c[_0x1b4a40(0x317)][0x0]),_0x16855d=_0x4bef22['Tools']['deepClone'](_0x32da3c[_0x1b4a40(0x317)][0x0]);for(let _0x4bdd7f=_0x247fb0[_0x1b4a40(0x311)]-0x1;_0x4bdd7f>=0x0;_0x4bdd7f--){const _0x361ab6={'id':_0x1b4a40(0x373),'params':{'unitId':_0x247fb0[_0x4bdd7f][_0x1b4a40(0x15e)],..._0x247fb0[_0x4bdd7f]['undoState']}},_0x2d23ff={'id':_0x1b4a40(0x373),'params':{'unitId':_0x247fb0[_0x4bdd7f][_0x1b4a40(0x15e)],..._0x247fb0[_0x4bdd7f][_0x1b4a40(0x316)]}},_0x5e2e68=this['_transformService'][_0x1b4a40(0x34f)](_0x3326e1,_0x361ab6,!0x1),_0x54b644=this[_0x1b4a40(0x239)]['transformMutation'](_0x16855d,_0x2d23ff,!0x1);if(_0x34a53b[_0x1b4a40(0x2c0)](_0x5e2e68))throw _0x5e2e68[_0x1b4a40(0x319)];if(_0x34a53b['isTransformMutationFailure'](_0x54b644))throw _0x54b644[_0x1b4a40(0x319)];_0x2ce046[_0x1b4a40(0x262)]({..._0x247fb0[_0x4bdd7f],'undoState':_0x5e2e68[_0x1b4a40(0x226)][_0x1b4a40(0x388)],'redoState':_0x54b644[_0x1b4a40(0x226)][_0x1b4a40(0x388)]}),_0x3326e1=_0x5e2e68[_0x1b4a40(0x278)],_0x16855d=_0x54b644['m1Prime'];}this[_0x1b4a40(0x1b7)]['setStateCache'](_0x480371,{'history':_0x37dc24,'collaboration':_0x2ce046});}};_0x18a24a=_0x1ae651([_0x4c30ee(0x0,_0x4bef22['Inject'](_0x4bef22[_0x1f2d6d(0x14c)])),_0x4c30ee(0x1,_0x34a53b['ITransformService']),_0x4c30ee(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x33fc6e[_0x1f2d6d(0x2a4)]))],_0x18a24a);var _0x9babb9=Object[_0x1f2d6d(0x2bb)],_0x3c9bcd=(_0x1bc1b0,_0x43f2e0,_0x3b1881,_0x18419a)=>{const _0x2a820d=_0x1f2d6d;for(var _0x9516d4=_0x18419a>0x1?void 0x0:_0x18419a?_0x9babb9(_0x43f2e0,_0x3b1881):_0x43f2e0,_0x49b36f=_0x1bc1b0[_0x2a820d(0x311)]-0x1,_0x3ae2bb;_0x49b36f>=0x0;_0x49b36f--)(_0x3ae2bb=_0x1bc1b0[_0x49b36f])&&(_0x9516d4=_0x3ae2bb(_0x9516d4)||_0x9516d4);return _0x9516d4;},_0x4a40bb=(_0x1dd17a,_0x29793d)=>(_0x12b69f,_0x1d9d8e)=>_0x29793d(_0x12b69f,_0x1d9d8e,_0x1dd17a);let _0x4203af=class{constructor(_0x2c63da,_0x5a9432){const _0x4c47fd=_0x1f2d6d;this[_0x4c47fd(0x1b2)]=_0x2c63da,this['_transformService']=_0x5a9432;}['transformSelections'](_0x592c06){const _0x51d378=_0x1f2d6d;var _0x105390;const _0x3c9811=this[_0x51d378(0x1b2)][_0x51d378(0x25e)](_0x579d84['DocSelectionManagerService']),_0x324700=(_0x105390=_0x3c9811[_0x51d378(0x1bc)]())!=null?_0x105390:[];if(_0x324700[_0x51d378(0x311)]===0x0)return;const _0x3ce234=_0x592c06['unitID'],_0x5dabda=[{'id':_0x51d378(0x373),'params':{'unitId':_0x3ce234,'actions':null,'textRanges':_0x324700}}],_0xd75b45=this[_0x51d378(0x239)][_0x51d378(0x1a9)](_0x592c06,_0x5dabda);if(!_0x34a53b['isTransformMutationsWithChangesetSuccess'](_0xd75b45))throw _0xd75b45[_0x51d378(0x319)];const _0x2ce2f5=_0xd75b45[_0x51d378(0x226)][0x0][_0x51d378(0x388)][_0x51d378(0x184)];Array[_0x51d378(0x266)](_0x2ce2f5)&&_0x2ce2f5[_0x51d378(0x311)]&&_0x3c9811[_0x51d378(0x1e4)](_0x2ce2f5,{'unitId':_0x3ce234,'subUnitId':_0x3ce234},!0x1);}};_0x4203af=_0x3c9bcd([_0x4a40bb(0x0,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22['Injector'])),_0x4a40bb(0x1,_0x34a53b['ITransformService'])],_0x4203af);var _0x3ef404=Object[_0x1f2d6d(0x2bb)],_0x521597=(_0x4f074b,_0x42984d,_0x5b15bd,_0x4e866c)=>{const _0x479511=_0x1f2d6d;for(var _0x5a5736=_0x4e866c>0x1?void 0x0:_0x4e866c?_0x3ef404(_0x42984d,_0x5b15bd):_0x42984d,_0x41cbde=_0x4f074b[_0x479511(0x311)]-0x1,_0x5cb3c3;_0x41cbde>=0x0;_0x41cbde--)(_0x5cb3c3=_0x4f074b[_0x41cbde])&&(_0x5a5736=_0x5cb3c3(_0x5a5736)||_0x5a5736);return _0x5a5736;},_0x40865a=(_0x5bec6d,_0xdb1cdc)=>(_0x4895eb,_0x578101)=>_0xdb1cdc(_0x4895eb,_0x578101,_0x5bec6d);let _0x34d4ec=class extends _0x4bef22['Disposable']{constructor(_0x2c3b6a,_0x22c67d,_0x50f213,_0x59e0e9,_0xfdb9e4,_0x4e7193,_0x56bd84,_0x43479b){const _0xe37ea9=_0x1f2d6d;super(),_0x4c7e9f(this,_0xe37ea9(0x1cf),new _0x18dc13['BehaviorSubject'](_0x208871['CollaborationStatus'][_0xe37ea9(0x151)])),(this[_0xe37ea9(0x1b7)]=_0x2c3b6a,this['_collaborationController']=_0x22c67d,this[_0xe37ea9(0x291)]=_0x50f213,this['_docTransformStateCacheService']=_0x59e0e9,this[_0xe37ea9(0x35c)]=_0xfdb9e4,this[_0xe37ea9(0x1cd)]=_0x4e7193,this['_messageService']=_0x56bd84,this[_0xe37ea9(0x185)]=_0x43479b,this['_initEntityListener']());}[_0x1f2d6d(0x1f1)](){const _0x1c0d22=_0x1f2d6d;this[_0x1c0d22(0x310)](this[_0x1c0d22(0x26c)][_0x1c0d22(0x201)]['subscribe'](_0x523f58=>{const _0x1e5a0b=_0x1c0d22,_0x91d423=this['_docStateChangeManagerService'][_0x1e5a0b(0x264)][_0x1e5a0b(0x10f)](_0x536be8=>{const _0x2685b8=_0x1e5a0b;if(_0x536be8==null)return;const {unitId:_0x82b448,redoState:_0x3434fe,commandId:_0x580fa1}=_0x536be8;if(_0x82b448!==_0x523f58[_0x2685b8(0x221)])return;const _0x311bea={'id':_0x580fa1,'type':_0x4bef22[_0x2685b8(0x314)]['MUTATION'],'params':{'unitId':_0x82b448,'actions':_0x3434fe[_0x2685b8(0x304)],'textRanges':null}};_0x523f58[_0x2685b8(0x196)](_0x311bea);});if(_0x523f58['disposeWithMe'](_0x91d423),_0x523f58 instanceof _0x208871[_0x1e5a0b(0x23c)]){const _0x4a7bce={'onTransformIME':_0x52f260=>this['_docTransformIMECacheService'][_0x1e5a0b(0x17c)](_0x52f260),'onTransformState':_0x2b8766=>this[_0x1e5a0b(0x143)]['transformStateCache'](_0x2b8766),'onTransformSelections':_0x2c134e=>this['_docTransformSelectionsService'][_0x1e5a0b(0x14d)](_0x2c134e),'onSyncEditingCollabCursor':_0x5ca2f3=>this[_0x1e5a0b(0x1cd)][_0x1e5a0b(0x249)](_0x5ca2f3),'onTransformRemoteChangesetByIMECache':_0x2507f5=>this['_docTransformIMECacheService'][_0x1e5a0b(0x1fd)](_0x2507f5),'onTransformRemoteChangesetByStateCache':_0x16433c=>this[_0x1e5a0b(0x143)][_0x1e5a0b(0x1fd)](_0x16433c)};_0x523f58['addHandlerCallback'](_0x4a7bce);}}));}};_0x34d4ec=_0x521597([_0x40865a(0x0,_0x4bef22[_0x1f2d6d(0x152)](_0x33fc6e[_0x1f2d6d(0x2a4)])),_0x40865a(0x1,_0x4bef22[_0x1f2d6d(0x152)](_0x208871[_0x1f2d6d(0x1c8)])),_0x40865a(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x1908d3)),_0x40865a(0x3,_0x4bef22['Inject'](_0x18a24a)),_0x40865a(0x4,_0x4bef22[_0x1f2d6d(0x152)](_0x4203af)),_0x40865a(0x5,_0x4bef22[_0x1f2d6d(0x152)](_0x2647fc)),_0x40865a(0x6,_0x199f13['IMessageService']),_0x40865a(0x7,_0x4bef22['Inject'](_0x4bef22[_0x1f2d6d(0x1af)]))],_0x34d4ec);var _0x35d879=Object[_0x1f2d6d(0x2bb)],_0x79ebb9=(_0x5cc408,_0x28d9f2,_0x6fab67,_0x49da9c)=>{const _0x15ce33=_0x1f2d6d;for(var _0x5c540d=_0x49da9c>0x1?void 0x0:_0x49da9c?_0x35d879(_0x28d9f2,_0x6fab67):_0x28d9f2,_0x443d27=_0x5cc408[_0x15ce33(0x311)]-0x1,_0x373a88;_0x443d27>=0x0;_0x443d27--)(_0x373a88=_0x5cc408[_0x443d27])&&(_0x5c540d=_0x373a88(_0x5c540d)||_0x5c540d);return _0x5c540d;},_0x2b4543=(_0x1716a1,_0x134090)=>(_0x251aef,_0x138029)=>_0x134090(_0x251aef,_0x138029,_0x1716a1);let _0xff3f51=class extends _0x4bef22[_0x1f2d6d(0x20d)]{constructor(_0x31bc53,_0x3bdd90,_0x353e8e){const _0x229cf6=_0x1f2d6d;super(),_0x4c7e9f(this,'_cachedData',new Map()),_0x4c7e9f(this,_0x229cf6(0x23f),new Map()),_0x4c7e9f(this,_0x229cf6(0x1dc),!0x1),(this[_0x229cf6(0x350)]=_0x31bc53,this[_0x229cf6(0x27d)]=_0x3bdd90,this[_0x229cf6(0x34a)]=_0x353e8e);}[_0x1f2d6d(0x11d)](){const _0x553ad6=_0x1f2d6d;this[_0x553ad6(0x1dc)]=!0x0;}[_0x1f2d6d(0x2e9)](){this['_disabled']=!0x1;}get[_0x1f2d6d(0x35f)](){const _0x494bae=_0x1f2d6d;return this[_0x494bae(0x23f)];}['dispose'](){const _0x304b25=_0x1f2d6d;this[_0x304b25(0x115)]()[_0x304b25(0x17b)](()=>super[_0x304b25(0x305)]());}async[_0x1f2d6d(0x2d9)](_0x5de35f){const _0x546c31=_0x1f2d6d;return this[_0x546c31(0x1dc)]?null:this['_localStorageService'][_0x546c31(0x2d7)](_0x208871['getLocalCacheKey'](_0x5de35f));}async[_0x1f2d6d(0x128)](_0x31a3c3,_0xb65991){const _0x5c09c9=_0x1f2d6d;return!!this[_0x5c09c9(0x27d)][_0x5c09c9(0x24d)](_0x31a3c3,_0xb65991);}[_0x1f2d6d(0x27a)](_0xd3185a,_0x1b8155,_0x2d001f,_0x3ae863){const _0x2cc234=_0x1f2d6d,_0x304284=this[_0x2cc234(0x34a)][_0x2cc234(0x1c0)](_0xd3185a);this[_0x2cc234(0x228)][_0x2cc234(0x1e5)](_0xd3185a,{'unitID':_0xd3185a,'type':_0x1b8155,'awaitingChangeset':_0x2d001f,'mutations':_0x3ae863,'rev':_0x304284}),this[_0x2cc234(0x23f)]['has'](_0xd3185a)||this[_0x2cc234(0x1d5)](_0xd3185a);}[_0x1f2d6d(0x1d5)](_0x526a83){const _0x445473=_0x1f2d6d,_0x493b59=this['_getSaveTimeout']();_0x493b59===0x0?this[_0x445473(0x11c)](_0x526a83):this[_0x445473(0x23f)][_0x445473(0x1e5)](_0x526a83,setTimeout(()=>this[_0x445473(0x11c)](_0x526a83),_0x493b59));}[_0x1f2d6d(0x21e)](){const _0x3d38af=_0x1f2d6d;var _0x2a891b;return(_0x2a891b=this[_0x3d38af(0x350)][_0x3d38af(0x389)](_0x208871[_0x3d38af(0x37c)]))!=null?_0x2a891b:_0x208871[_0x3d38af(0x1a5)];}[_0x1f2d6d(0x11c)](_0x787ef7){const _0x23ea9d=_0x1f2d6d,_0x47d7fe=this[_0x23ea9d(0x23f)][_0x23ea9d(0x25e)](_0x787ef7);return _0x47d7fe!==void 0x0&&window[_0x23ea9d(0x18e)](_0x47d7fe),this[_0x23ea9d(0x27d)]['setItem'](_0x208871[_0x23ea9d(0x126)](_0x787ef7),this[_0x23ea9d(0x228)]['get'](_0x787ef7))[_0x23ea9d(0x17b)](()=>this['_saveTaskMap'][_0x23ea9d(0x2a6)](_0x787ef7));}async[_0x1f2d6d(0x115)](){const _0xd48cc=_0x1f2d6d,_0x1ecd5b=[];this[_0xd48cc(0x23f)][_0xd48cc(0x38f)]((_0x515ad7,_0x18c4b0)=>{const _0xa37f7=_0xd48cc;window['clearTimeout'](_0x515ad7),_0x1ecd5b[_0xa37f7(0x140)](this[_0xa37f7(0x11c)](_0x18c4b0)[_0xa37f7(0x17b)](()=>{const _0xd7fec3=_0xa37f7;this['_saveTaskMap'][_0xd7fec3(0x2a6)](_0x18c4b0);}));}),await Promise[_0xd48cc(0x1c7)](_0x1ecd5b);}};_0xff3f51=_0x79ebb9([_0x2b4543(0x0,_0x4bef22['IConfigService']),_0x2b4543(0x1,_0x4bef22[_0x1f2d6d(0x364)]),_0x2b4543(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x34a53b['RevisionService']))],_0xff3f51);class _0x4aedba extends _0x4bef22[_0x1f2d6d(0x12c)]{constructor(){const _0x5aa37f=_0x1f2d6d;super(),_0x4c7e9f(this,_0x5aa37f(0x25f)),this[_0x5aa37f(0x25f)]=_0x18dc13[_0x5aa37f(0x2ed)](window,_0x5aa37f(0x2fb))[_0x5aa37f(0x1a8)](_0x18dc13[_0x5aa37f(0x27e)](this[_0x5aa37f(0x1a7)]),_0x18dc13['shareReplay'](0x1),_0x18dc13['mapTo'](void 0x0));}['setParam'](_0x3550b0,_0x12304c,_0x2aa338=!0x1){const _0x4f88fb=_0x1f2d6d,_0x218414=new URL(window[_0x4f88fb(0x2b3)][_0x4f88fb(0x2c4)]);_0x218414[_0x4f88fb(0x298)]['set'](_0x3550b0,_0x12304c),_0x2aa338?window[_0x4f88fb(0x1b0)][_0x4f88fb(0x33d)]('','',_0x218414[_0x4f88fb(0x393)]()):window[_0x4f88fb(0x1b0)][_0x4f88fb(0x15c)]('','',_0x218414[_0x4f88fb(0x393)]());}['removeParam'](_0x1a3350,_0x715a31=!0x1){const _0x59ac5b=_0x1f2d6d,_0x81ff4c=new URL(window['location'][_0x59ac5b(0x2c4)]);_0x81ff4c['searchParams'][_0x59ac5b(0x2a6)](_0x1a3350),_0x715a31?window[_0x59ac5b(0x1b0)][_0x59ac5b(0x33d)]('','',_0x81ff4c['toString']()):window[_0x59ac5b(0x1b0)]['pushState']('','',_0x81ff4c[_0x59ac5b(0x393)]());}[_0x1f2d6d(0x37e)](_0x168f2e){const _0x54e750=_0x1f2d6d;var _0x4b74db;return(_0x4b74db=new URL(window[_0x54e750(0x2b3)]['href'])['searchParams']['get'](_0x168f2e))!=null?_0x4b74db:void 0x0;}}var _0x5a0295=Object[_0x1f2d6d(0x2ab)],_0x53f472=Object['getOwnPropertyDescriptor'],_0x5c65d8=(_0x188445,_0x4a4c10,_0x382763)=>_0x4a4c10 in _0x188445?_0x5a0295(_0x188445,_0x4a4c10,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x382763}):_0x188445[_0x4a4c10]=_0x382763,_0x5e95e9=(_0x12c4ea,_0x3ee25c,_0x5aa512,_0x548f95)=>{for(var _0x46adb5=_0x548f95>0x1?void 0x0:_0x548f95?_0x53f472(_0x3ee25c,_0x5aa512):_0x3ee25c,_0xb3ab66=_0x12c4ea['length']-0x1,_0x3994ce;_0xb3ab66>=0x0;_0xb3ab66--)(_0x3994ce=_0x12c4ea[_0xb3ab66])&&(_0x46adb5=_0x3994ce(_0x46adb5)||_0x46adb5);return _0x46adb5;},_0x58c56c=(_0x14c125,_0x2c871a)=>(_0x1eda57,_0x3f24c0)=>_0x2c871a(_0x1eda57,_0x3f24c0,_0x14c125),_0x4b8f98=(_0x595457,_0x468f0c,_0x1b7e23)=>_0x5c65d8(_0x595457,_0x468f0c+'',_0x1b7e23);const _0x2bca81=_0x1f2d6d(0x2e6);_0x189a83['UniverCollaborationClientUIPlugin']=class extends _0x4bef22[_0x1f2d6d(0x2cf)]{constructor(_0x66fb26=_0x243c9a,_0x11cdca,_0x2b3968,_0x599ee0){const _0x4e25c2=_0x1f2d6d;super(),this[_0x4e25c2(0x2df)]=_0x66fb26,this[_0x4e25c2(0x22d)]=_0x11cdca,this[_0x4e25c2(0x1b2)]=_0x2b3968,this[_0x4e25c2(0x350)]=_0x599ee0;const {..._0x2c961f}=_0x4bef22[_0x4e25c2(0x35b)]({},_0x243c9a,this[_0x4e25c2(0x2df)]);this[_0x4e25c2(0x350)][_0x4e25c2(0x2c6)](_0x3af66f,_0x2c961f);}[_0x1f2d6d(0x254)](){const _0x3227e5=_0x1f2d6d;this[_0x3227e5(0x138)](),this[_0x3227e5(0x164)]();}[_0x1f2d6d(0x256)](){const _0x5a510b=_0x1f2d6d;this[_0x5a510b(0x148)]();}[_0x1f2d6d(0x138)](){const _0x5d9c8f=_0x1f2d6d;var _0x2cf3a7;const _0x499ddf=[[_0x54f6dc],[_0x4203af],[_0x1908d3],[_0x18a24a],[_0x2647fc],[_0x3109bd,{'useClass':_0x4aedba}],[_0x249c63[_0x5d9c8f(0x23d)],{'useClass':_0x249c63[_0x5d9c8f(0x181)]}],[_0x208871[_0x5d9c8f(0x1de)],{'useClass':_0xff3f51}],[_0x189a83['DesktopCollaborationStatusDisplayController']],[_0x34d4ec],[_0x15eefe],[_0x43e639],[_0x251cf8],[_0x189a83[_0x5d9c8f(0x337)]]];_0x4bef22[_0x5d9c8f(0x285)](this['_injector'],_0x4bef22[_0x5d9c8f(0x150)](_0x499ddf,(_0x2cf3a7=this[_0x5d9c8f(0x2df)])==null?void 0x0:_0x2cf3a7[_0x5d9c8f(0x2bf)]));}[_0x1f2d6d(0x148)](){const _0x522e5d=_0x1f2d6d;this['disposeWithMe'](this[_0x522e5d(0x22d)][_0x522e5d(0x292)](_0x4bef22[_0x522e5d(0x329)]['UNIVER_DOC'],[_0x42602a])),this[_0x522e5d(0x310)](this[_0x522e5d(0x22d)][_0x522e5d(0x292)](_0x4bef22[_0x522e5d(0x329)][_0x522e5d(0x19c)],[_0x4e3e8b]));}[_0x1f2d6d(0x164)](){const _0x354f6a=_0x1f2d6d;_0x4bef22[_0x354f6a(0x1a2)](this[_0x354f6a(0x1b2)],[[_0x43e639],[_0x189a83['DesktopCollaborationStatusDisplayController']],[_0x34d4ec],[_0x15eefe],[_0x189a83['CollaborationDataLoaderController']]]);}},_0x4b8f98(_0x189a83[_0x1f2d6d(0x160)],'pluginName',_0x2bca81),_0x189a83[_0x1f2d6d(0x160)]=_0x5e95e9([_0x4bef22[_0x1f2d6d(0x106)](_0x208871[_0x1f2d6d(0x2cb)]),_0x58c56c(0x1,_0x5bc9e3[_0x1f2d6d(0x28c)]),_0x58c56c(0x2,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22['Injector'])),_0x58c56c(0x3,_0x4bef22['IConfigService'])],_0x189a83[_0x1f2d6d(0x160)]);var _0x104f06=Object[_0x1f2d6d(0x2bb)],_0x453051=(_0x52894b,_0x1560a1,_0x537f82,_0x181185)=>{for(var _0xb2342a=_0x181185>0x1?void 0x0:_0x181185?_0x104f06(_0x1560a1,_0x537f82):_0x1560a1,_0x7b3795=_0x52894b['length']-0x1,_0x348519;_0x7b3795>=0x0;_0x7b3795--)(_0x348519=_0x52894b[_0x7b3795])&&(_0xb2342a=_0x348519(_0xb2342a)||_0xb2342a);return _0xb2342a;},_0x375953=(_0x4b0ca4,_0x56753a)=>(_0x2f9970,_0x2c49e5)=>_0x56753a(_0x2f9970,_0x2c49e5,_0x4b0ca4);_0x189a83[_0x1f2d6d(0x207)]=class extends _0x208871[_0x1f2d6d(0x293)]{constructor(_0x34caa9,_0x49b461,_0x1ad014,_0x47eda5,_0x480ec5){super(_0x34caa9,_0x49b461,_0x1ad014,_0x47eda5,_0x480ec5);}async['createSocket'](_0xb1ec4){const _0x430572=_0x1f2d6d,_0x500fef=await this['_getSessionTicket'](),_0x565ab7=this[_0x430572(0x1f8)](_0xb1ec4,_0x500fef);return this[_0x430572(0x1be)](_0x565ab7);}[_0x1f2d6d(0x1f8)](_0x2c8563,_0x1fbf01){const _0x3d95a3=_0x1f2d6d,_0x3439f0=typeof window>'u'?new URL(_0x2c8563):new URL(_0x2c8563,window[_0x3d95a3(0x2b3)][_0x3d95a3(0x2ea)]);_0x3439f0[_0x3d95a3(0x298)][_0x3d95a3(0x1e5)]('sessionTicket',_0x1fbf01);const _0x1a405b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3d95a3(0x2b3)][_0x3d95a3(0x120)]);return _0x1a405b['get']('runId')&&_0x3439f0['searchParams'][_0x3d95a3(0x1e5)]('runId',_0x1a405b[_0x3d95a3(0x25e)](_0x3d95a3(0x2b7))),_0x3439f0[_0x3d95a3(0x393)]();}async[_0x1f2d6d(0x345)](){const _0xbacea2=_0x1f2d6d;var _0x1a3973,_0x5d889d,_0x22f372;const _0x543922=this[_0xbacea2(0x350)][_0xbacea2(0x389)](_0x208871[_0xbacea2(0x297)]),_0x1209ed=(_0x1a3973=_0x543922==null?void 0x0:_0x543922[_0xbacea2(0x12f)])!=null?_0x1a3973:_0x208871['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x22f372=(_0x5d889d=(await this[_0xbacea2(0x195)][_0xbacea2(0x25e)](_0x1209ed,{'headers':{'Content-Type':_0xbacea2(0x1f3)}}))[_0xbacea2(0x381)])==null?void 0x0:_0x5d889d['ticket'])!=null?_0x22f372:'';}},_0x189a83[_0x1f2d6d(0x207)]=_0x453051([_0x375953(0x0,_0x4bef22[_0x1f2d6d(0x152)](_0x4bef22[_0x1f2d6d(0x14c)])),_0x375953(0x1,_0x4bef22['Inject'](_0x249c63['HTTPService'])),_0x375953(0x2,_0x4bef22[_0x1f2d6d(0x12a)]),_0x375953(0x3,_0x4bef22['ILogService']),_0x375953(0x4,_0x34a53b[_0x1f2d6d(0x2f7)])],_0x189a83[_0x1f2d6d(0x207)]);const _0x1171da=0x7530,_0xf72dfb=_0x1f2d6d(0x241);class _0x4c2358 extends _0x4bef22[_0x1f2d6d(0x20d)]{constructor(){const _0x333368=_0x1f2d6d;super(),_0x4c7e9f(this,_0x333368(0x123),_0x4bef22[_0x333368(0x118)]()),_0x4c7e9f(this,_0x333368(0x343),new Set()),_0x4c7e9f(this,_0x333368(0x19e),new Map()),_0x4c7e9f(this,_0x333368(0x390),null),_0x4c7e9f(this,'_clearOtherTimers',new Map()),_0x4c7e9f(this,_0x333368(0x18a),new Map()),this[_0x333368(0x192)]();}[_0x1f2d6d(0x305)](){const _0x20c719=_0x1f2d6d;super[_0x20c719(0x305)](),this[_0x20c719(0x2b5)][_0x20c719(0x38f)]((_0x567ecd,_0x3dea53)=>this[_0x20c719(0x157)](_0x3dea53)),this[_0x20c719(0x390)]&&window[_0x20c719(0x219)](this[_0x20c719(0x390)]);}['getUnitStatus$'](_0x3127dd){const _0x4b3aac=_0x1f2d6d;return this[_0x4b3aac(0x323)](_0x3127dd)['pipe'](_0x18dc13[_0x4b3aac(0x280)]());}['editingUnit'](_0x2e7e57){const _0x393858=_0x1f2d6d;this[_0x393858(0x343)][_0x393858(0x32e)]===0x0&&this[_0x393858(0x141)](),this[_0x393858(0x343)]['add'](_0x2e7e57),this[_0x393858(0x216)]({'type':0x0,'memberID':this[_0x393858(0x123)],'unitIDs':[_0x2e7e57],'isForwarded':!0x1});}[_0x1f2d6d(0x20f)](_0x29c3f7){const _0x365470=_0x1f2d6d;this[_0x365470(0x343)][_0x365470(0x2a6)](_0x29c3f7),this[_0x365470(0x343)][_0x365470(0x32e)]===0x0&&this[_0x365470(0x390)]&&window['clearInterval'](this[_0x365470(0x390)]);}[_0x1f2d6d(0x192)](){const _0x4e326f=_0x1f2d6d;this['disposeWithMe'](_0x4bef22[_0x4e326f(0x20a)](_0x18dc13[_0x4e326f(0x2ed)](window,_0x4e326f(0x135))[_0x4e326f(0x10f)](_0x18bf35=>{const _0x430ee2=_0x4e326f;if(_0x18bf35[_0x430ee2(0x30b)]!==_0xf72dfb||!_0x18bf35[_0x430ee2(0x111)])return;const _0xa8e9df=JSON[_0x430ee2(0x16f)](_0x18bf35[_0x430ee2(0x111)]);this['_handleEvent'](_0xa8e9df);}))),window[_0x4e326f(0x31e)]('unload',()=>this[_0x4e326f(0x216)]({'type':0x1,'memberID':this[_0x4e326f(0x123)],'unitIDs':Array[_0x4e326f(0x24c)](this['_selfUnitIDs'])}));}[_0x1f2d6d(0x1f4)](_0x4eb3d5){const _0x33f8d6=_0x1f2d6d;switch(_0x4eb3d5[_0x33f8d6(0x1f6)]){case 0x0:this[_0x33f8d6(0x284)](_0x4eb3d5);break;case 0x1:this[_0x33f8d6(0x26e)](_0x4eb3d5);break;case 0x2:this[_0x33f8d6(0x312)](_0x4eb3d5);break;}}[_0x1f2d6d(0x284)](_0x302ea1){const _0x54b188=_0x1f2d6d,{unitIDs:_0x3f3a62,memberID:_0x572c9f,isForwarded:_0x5c99e0}=_0x302ea1;_0x3f3a62[_0x54b188(0x38f)](_0x17cc53=>{const _0xc35bc6=_0x54b188;if(!_0x5c99e0&&this[_0xc35bc6(0x19e)][_0xc35bc6(0x23a)](_0x17cc53)&&this[_0xc35bc6(0x323)](_0x17cc53)[_0xc35bc6(0x2d3)](_0x208871['UnitStatus'][_0xc35bc6(0x1c6)]),!this[_0xc35bc6(0x19e)]['has'](_0x17cc53)||!this[_0xc35bc6(0x19e)][_0xc35bc6(0x25e)](_0x17cc53)[_0xc35bc6(0x23a)](_0x572c9f)){const _0x4b4e00=this[_0xc35bc6(0x19e)][_0xc35bc6(0x25e)](_0x17cc53)||new Set();_0x4b4e00['add'](_0x572c9f),this['_unitOnClients'][_0xc35bc6(0x1e5)](_0x17cc53,_0x4b4e00),this[_0xc35bc6(0x38d)](_0x572c9f);}}),_0x5c99e0||this[_0x54b188(0x216)]({'type':0x0,'memberID':this[_0x54b188(0x123)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x4ccd59){const _0x388570=_0x1f2d6d;this[_0x388570(0x157)](_0x4ccd59);const _0x493bd8=window[_0x388570(0x2a8)](()=>{const _0x32925f=_0x388570;this[_0x32925f(0x19e)][_0x32925f(0x38f)](_0x180578=>{const _0x39e943=_0x32925f;_0x180578[_0x39e943(0x2a6)](_0x4ccd59);});},_0x1171da*0x2);this[_0x388570(0x2b5)]['set'](_0x4ccd59,_0x493bd8);}[_0x1f2d6d(0x157)](_0x41b4d2){const _0xb1bd8a=_0x1f2d6d;if(this[_0xb1bd8a(0x2b5)]['has'](_0x41b4d2)){const _0x2e2a6b=this[_0xb1bd8a(0x2b5)]['get'](_0x41b4d2);_0x2e2a6b&&window[_0xb1bd8a(0x18e)](_0x2e2a6b),this['_clearOtherTimers'][_0xb1bd8a(0x1e5)](_0x41b4d2,null);}}[_0x1f2d6d(0x26e)](_0x5debf6){const _0x26f08c=_0x1f2d6d,{memberID:_0x310d2c,unitIDs:_0x15ae68}=_0x5debf6;_0x15ae68[_0x26f08c(0x38f)](_0x1827b9=>{const _0x4b5c6f=_0x26f08c;var _0x522311;const _0x24441a=this['_unitOnClients'][_0x4b5c6f(0x25e)](_0x1827b9);_0x24441a&&(_0x24441a[_0x4b5c6f(0x2a6)](_0x310d2c),(_0x522311=this[_0x4b5c6f(0x323)](_0x1827b9))==null||_0x522311[_0x4b5c6f(0x2d3)](_0x24441a[_0x4b5c6f(0x32e)]===0x0?_0x208871[_0x4b5c6f(0x1a3)][_0x4b5c6f(0x101)]:_0x208871[_0x4b5c6f(0x1a3)][_0x4b5c6f(0x1c6)]));}),this['_removeClearOtherTimer'](_0x310d2c);}['_handleHeartbeatEvent'](_0x472e44){const _0x109d4b=_0x1f2d6d;this['_scheduleClearOtherTimer'](_0x472e44[_0x109d4b(0x382)]);}[_0x1f2d6d(0x216)](_0x2c88e1){const _0x2b2882=_0x1f2d6d;localStorage[_0x2b2882(0x24d)](_0xf72dfb,JSON[_0x2b2882(0x212)](_0x2c88e1));}['_scheduleHeartbeat'](){const _0x1ef942=_0x1f2d6d;this[_0x1ef942(0x390)]=window['setInterval'](()=>{const _0x379098=_0x1ef942;this[_0x379098(0x216)]({'type':0x2,'memberID':this[_0x379098(0x123)]});},_0x1171da);}[_0x1f2d6d(0x323)](_0x4c4124){const _0x1d00f2=_0x1f2d6d;return this[_0x1d00f2(0x18a)][_0x1d00f2(0x23a)](_0x4c4124)||this[_0x1d00f2(0x18a)]['set'](_0x4c4124,new _0x18dc13[(_0x1d00f2(0x2a7))](_0x208871['UnitStatus'][_0x1d00f2(0x101)])),this[_0x1d00f2(0x18a)][_0x1d00f2(0x25e)](_0x4c4124);}}var _0x548995=(_0x385863=>(_0x385863[_0x385863[_0x1f2d6d(0x2a2)]=0x0]='UNDEFINED',_0x385863[_0x385863['OK']=0x1]='OK',_0x385863[_0x385863['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x385863[_0x385863[_0x1f2d6d(0x274)]=0x3]=_0x1f2d6d(0x274),_0x385863[_0x385863[_0x1f2d6d(0x1a4)]=0x4]=_0x1f2d6d(0x1a4),_0x385863[_0x385863[_0x1f2d6d(0x23e)]=0x5]=_0x1f2d6d(0x23e),_0x385863[_0x385863[_0x1f2d6d(0x2aa)]=0x6]=_0x1f2d6d(0x2aa),_0x385863[_0x385863[_0x1f2d6d(0x197)]=0x7]=_0x1f2d6d(0x197),_0x385863[_0x385863['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x385863[_0x385863[_0x1f2d6d(0x32a)]=0x9]=_0x1f2d6d(0x32a),_0x385863[_0x385863[_0x1f2d6d(0x2ac)]=0xa]=_0x1f2d6d(0x2ac),_0x385863[_0x385863[_0x1f2d6d(0x22c)]=0x1389]=_0x1f2d6d(0x22c),_0x385863[_0x385863[_0x1f2d6d(0x2c3)]=0x1771]=_0x1f2d6d(0x2c3),_0x385863[_0x385863[_0x1f2d6d(0x286)]=0x1772]=_0x1f2d6d(0x286),_0x385863[_0x385863[_0x1f2d6d(0x31a)]=0x1773]=_0x1f2d6d(0x31a),_0x385863[_0x385863[_0x1f2d6d(0x12d)]=0x1b59]=_0x1f2d6d(0x12d),_0x385863[_0x385863[_0x1f2d6d(0x178)]=0x1b5a]=_0x1f2d6d(0x178),_0x385863[_0x385863['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1f2d6d(0x11a),_0x385863[_0x385863[_0x1f2d6d(0x28b)]=0x1b5c]=_0x1f2d6d(0x28b),_0x385863[_0x385863[_0x1f2d6d(0x300)]=0x1b5d]=_0x1f2d6d(0x300),_0x385863[_0x385863[_0x1f2d6d(0x1d3)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x385863[_0x385863['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1f2d6d(0x247),_0x385863[_0x385863[_0x1f2d6d(0x1ed)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x385863[_0x385863[_0x1f2d6d(0x13b)]=0x232b]=_0x1f2d6d(0x13b),_0x385863[_0x385863[_0x1f2d6d(0x353)]=0x232c]=_0x1f2d6d(0x353),_0x385863[_0x385863[_0x1f2d6d(0x124)]=0x232d]=_0x1f2d6d(0x124),_0x385863[_0x385863['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x385863[_0x385863['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1f2d6d(0x276),_0x385863[_0x385863[_0x1f2d6d(0x2bd)]=0x2713]=_0x1f2d6d(0x2bd),_0x385863[_0x385863[_0x1f2d6d(0x199)]=0x2714]=_0x1f2d6d(0x199),_0x385863[_0x385863[_0x1f2d6d(0x258)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x385863[_0x385863[_0x1f2d6d(0x332)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x385863[_0x385863[_0x1f2d6d(0x328)]=0x2af9]=_0x1f2d6d(0x328),_0x385863[_0x385863[_0x1f2d6d(0x229)]=0x2ee1]=_0x1f2d6d(0x229),_0x385863[_0x385863[_0x1f2d6d(0x2d0)]=0x2ee2]=_0x1f2d6d(0x2d0),_0x385863[_0x385863[_0x1f2d6d(0x109)]=0x2ee3]=_0x1f2d6d(0x109),_0x385863[_0x385863[_0x1f2d6d(0x2dc)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x385863[_0x385863[_0x1f2d6d(0x374)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x385863[_0x385863[_0x1f2d6d(0x259)]=0x32c9]=_0x1f2d6d(0x259),_0x385863[_0x385863['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1f2d6d(0x26b),_0x385863[_0x385863[_0x1f2d6d(0x307)]=0x32cb]=_0x1f2d6d(0x307),_0x385863[_0x385863[_0x1f2d6d(0x156)]=-0x1]=_0x1f2d6d(0x156),_0x385863))(_0x548995||{}),_0x5f348d=Object[_0x1f2d6d(0x2bb)],_0x1a7f1c=(_0x16e7c3,_0x571ca9,_0x52c4df,_0x3a2c61)=>{const _0x126552=_0x1f2d6d;for(var _0x4037de=_0x3a2c61>0x1?void 0x0:_0x3a2c61?_0x5f348d(_0x571ca9,_0x52c4df):_0x571ca9,_0xd74bcc=_0x16e7c3[_0x126552(0x311)]-0x1,_0x41f597;_0xd74bcc>=0x0;_0xd74bcc--)(_0x41f597=_0x16e7c3[_0xd74bcc])&&(_0x4037de=_0x41f597(_0x4037de)||_0x4037de);return _0x4037de;},_0x3ecb07=(_0x305ff8,_0x563e5b)=>(_0x38b894,_0x454fbf)=>_0x563e5b(_0x38b894,_0x454fbf,_0x305ff8);_0x189a83['RemoteUniscriptService']=class extends _0x4bef22[_0x1f2d6d(0x20d)]{constructor(_0x242538,_0x47b694,_0x3fc200){const _0x47f330=_0x1f2d6d;super(),this[_0x47f330(0x1d7)]=_0x242538,this[_0x47f330(0x195)]=_0x47b694,this[_0x47f330(0x350)]=_0x3fc200;}async[_0x1f2d6d(0x15f)](_0x3b1981,_0x441d6f,_0x4324e0,..._0x148963){const _0x185f3e=_0x1f2d6d;var _0x35e4cc,_0x36293f,_0x13d69d,_0x157b7e;const _0x506f49=this['_instanceService'][_0x185f3e(0x2f2)]();if(!_0x506f49)throw new Error(_0x185f3e(0x159));const _0xd9b994=((_0x35e4cc=this[_0x185f3e(0x350)][_0x185f3e(0x389)](_0x208871[_0x185f3e(0x231)]))!=null?_0x35e4cc:_0x208871[_0x185f3e(0x17f)])+'/'+_0x3b1981+_0x185f3e(0x21d)+_0x441d6f,_0x43e85f=new URL(window[_0x185f3e(0x2b3)][_0x185f3e(0x2c4)]),_0x2050d1={'scriptId':_0x3b1981,'runId':(_0x36293f=_0x43e85f[_0x185f3e(0x298)][_0x185f3e(0x25e)](_0x185f3e(0x2b7)))!=null?_0x36293f:'','function':_0x441d6f,'unitId':_0x506f49['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x148963),'invokeId':(_0x13d69d=_0x4324e0[_0x185f3e(0x21c)])!=null?_0x13d69d:'','executionId':(_0x157b7e=_0x4324e0[_0x185f3e(0x240)])!=null?_0x157b7e:''};try{const _0xac02e3=await this[_0x185f3e(0x195)][_0x185f3e(0x162)](_0xd9b994,{'body':_0x2050d1});return _0xac02e3[_0x185f3e(0x381)][_0x185f3e(0x319)]&&_0xac02e3[_0x185f3e(0x381)][_0x185f3e(0x319)][_0x185f3e(0x265)]!==_0x548995['OK']?_0x185f3e(0x30c):_0xac02e3['body'][_0x185f3e(0x308)];}catch{return _0x185f3e(0x30c);}}},_0x189a83[_0x1f2d6d(0x153)]=_0x1a7f1c([_0x3ecb07(0x0,_0x4bef22[_0x1f2d6d(0x295)]),_0x3ecb07(0x1,_0x4bef22[_0x1f2d6d(0x152)](_0x249c63[_0x1f2d6d(0x32c)])),_0x3ecb07(0x2,_0x4bef22[_0x1f2d6d(0x12a)])],_0x189a83['RemoteUniscriptService']),_0x189a83[_0x1f2d6d(0x18d)]=_0x58a511,_0x189a83['IURLService']=_0x3109bd,_0x189a83[_0x1f2d6d(0x200)]=_0x421ecf,_0x189a83[_0x1f2d6d(0x29e)]=_0x4c2358,_0x189a83[_0x1f2d6d(0x368)]=_0x4aedba,Object['defineProperty'](_0x189a83,Symbol[_0x1f2d6d(0x16c)],{'value':'Module'});}));
|
|
1
|
+
(function(_0x128fdc,_0x394a1a){const _0xf3bd0c=_0x5ab8,_0x31e5aa=_0x128fdc();while(!![]){try{const _0x110491=parseInt(_0xf3bd0c(0x22f))/0x1+parseInt(_0xf3bd0c(0x233))/0x2+-parseInt(_0xf3bd0c(0x31e))/0x3*(-parseInt(_0xf3bd0c(0x258))/0x4)+-parseInt(_0xf3bd0c(0x214))/0x5+parseInt(_0xf3bd0c(0x1c0))/0x6*(parseInt(_0xf3bd0c(0x278))/0x7)+parseInt(_0xf3bd0c(0x32b))/0x8+-parseInt(_0xf3bd0c(0x104))/0x9*(parseInt(_0xf3bd0c(0x21d))/0xa);if(_0x110491===_0x394a1a)break;else _0x31e5aa['push'](_0x31e5aa['shift']());}catch(_0x1759d0){_0x31e5aa['push'](_0x31e5aa['shift']());}}}(_0x4c3b,0xe8134),function(_0x5f3163,_0x12f383){const _0x45c450=_0x5ab8;typeof exports==_0x45c450(0xb9)&&typeof module<'u'?_0x12f383(exports,require(_0x45c450(0xb4)),require('@univerjs/core'),require(_0x45c450(0x138)),require('@univerjs/network'),require(_0x45c450(0x2ee)),require(_0x45c450(0x225)),require(_0x45c450(0x2d7)),require(_0x45c450(0x1ad)),require(_0x45c450(0x20f)),require(_0x45c450(0x2be)),require(_0x45c450(0x1a4)),require(_0x45c450(0x127)),require('@univerjs/sheets-ui'),require(_0x45c450(0x234)),require('@univerjs/ui'),require(_0x45c450(0x2cd)),require(_0x45c450(0x168)),require(_0x45c450(0x304))):typeof define==_0x45c450(0x184)&&define[_0x45c450(0xfd)]?define([_0x45c450(0x1ca),'@univerjs-pro/collaboration-client',_0x45c450(0x248),_0x45c450(0x138),'@univerjs/network',_0x45c450(0x2ee),_0x45c450(0x225),_0x45c450(0x2d7),'@univerjs/docs','@univerjs-pro/collaboration',_0x45c450(0x2be),'@univerjs/sheets','rxjs/operators',_0x45c450(0xda),_0x45c450(0x234),'@univerjs/ui','@univerjs/design',_0x45c450(0x168),_0x45c450(0x304)],_0x12f383):(_0x5f3163=typeof globalThis<'u'?globalThis:_0x5f3163||self,_0x12f383(_0x5f3163[_0x45c450(0xed)]={},_0x5f3163[_0x45c450(0x266)],_0x5f3163[_0x45c450(0x146)],_0x5f3163[_0x45c450(0x124)],_0x5f3163['UniverNetwork'],_0x5f3163[_0x45c450(0xba)],_0x5f3163[_0x45c450(0xa3)],_0x5f3163[_0x45c450(0x2d7)],_0x5f3163[_0x45c450(0x1c1)],_0x5f3163[_0x45c450(0x2e5)],_0x5f3163[_0x45c450(0x253)],_0x5f3163['UniverSheets'],_0x5f3163[_0x45c450(0x2d7)][_0x45c450(0x188)],_0x5f3163[_0x45c450(0x2f0)],_0x5f3163[_0x45c450(0x284)],_0x5f3163['UniverUi'],_0x5f3163[_0x45c450(0x202)],_0x5f3163[_0x45c450(0x284)],_0x5f3163[_0x45c450(0x166)]));}(this,function(_0x109107,_0x550e9f,_0x50b35f,_0x1083d9,_0x39eedb,_0x560a64,_0x54b37c,_0x342ed2,_0xa2e49e,_0x9298ea,_0x374129,_0x26ee19,_0x55319e,_0x1b149c,_0xd0be2f,_0x2a4c6a,_0x2b5271,_0x265703,_0x24d803){'use strict';const _0x4a378c=_0x5ab8;var _0x538d69=Object['defineProperty'],_0x12c0f8=(_0xcd3dbd,_0x1d5c5f,_0x191e16)=>_0x1d5c5f in _0xcd3dbd?_0x538d69(_0xcd3dbd,_0x1d5c5f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x191e16}):_0xcd3dbd[_0x1d5c5f]=_0x191e16,_0x1fd125=(_0x4a7747,_0x4e9afb,_0x4e2efa)=>_0x12c0f8(_0x4a7747,typeof _0x4e9afb!=_0x4a378c(0x291)?_0x4e9afb+'':_0x4e9afb,_0x4e2efa),_0x5ea327=Object['getOwnPropertyDescriptor'],_0x5b6740=(_0x5a2f20,_0x4ea834,_0x3f87e4,_0x58f3cb)=>{const _0x37ef9a=_0x4a378c;for(var _0x58a42e=_0x58f3cb>0x1?void 0x0:_0x58f3cb?_0x5ea327(_0x4ea834,_0x3f87e4):_0x4ea834,_0x5a0355=_0x5a2f20[_0x37ef9a(0x228)]-0x1,_0x58595d;_0x5a0355>=0x0;_0x5a0355--)(_0x58595d=_0x5a2f20[_0x5a0355])&&(_0x58a42e=_0x58595d(_0x58a42e)||_0x58a42e);return _0x58a42e;},_0x3237dd=(_0x24d366,_0x153625)=>(_0x2ea9c9,_0x4395af)=>_0x153625(_0x2ea9c9,_0x4395af,_0x24d366);let _0x4ba470=class extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(_0x382ec0,_0x36fee5){const _0xf43fe5=_0x4a378c;super(),this[_0xf43fe5(0x289)]=_0x382ec0,this[_0xf43fe5(0x96)]=_0x36fee5,this['_init']();}[_0x4a378c(0x21e)](){const _0x12ad0a=_0x4a378c,_0x5340ec=this;this[_0x12ad0a(0x9f)](this[_0x12ad0a(0x289)][_0x12ad0a(0x263)]({'onBeforePasteImage':async _0xcbdeba=>{const _0x215499=_0x12ad0a,_0x33c67f=await _0x5340ec['_imageIoService'][_0x215499(0xf1)](_0xcbdeba);return _0x33c67f?{'source':_0x33c67f[_0x215499(0x216)],'imageSourceType':_0x33c67f[_0x215499(0x158)]}:null;}}));}};_0x4ba470=_0x5b6740([_0x3237dd(0x0,_0x560a64[_0x4a378c(0x2d1)]),_0x3237dd(0x1,_0x54b37c[_0x4a378c(0x167)])],_0x4ba470);const _0xdecd2e=[_0x4a378c(0x2a9),_0x4a378c(0x1fc),_0x4a378c(0xee),_0x4a378c(0x1aa),_0x4a378c(0x28c),'gold400'];class _0x20d96e extends _0x50b35f[_0x4a378c(0x1d3)]{constructor(){const _0x3b8902=_0x4a378c;super(...arguments),_0x1fd125(this,_0x3b8902(0x306),new Map()),_0x1fd125(this,'_colorIndex',0x0);}[_0x4a378c(0x1fa)](_0x5d8288){const _0x5c42ae=_0x4a378c;if(this[_0x5c42ae(0x306)]['has'](_0x5d8288))return this['_assignedColors'][_0x5c42ae(0x14f)](_0x5d8288);const _0x599ca5=_0xdecd2e[this[_0x5c42ae(0x165)]];return this[_0x5c42ae(0x165)]=(this[_0x5c42ae(0x165)]+0x1)%_0xdecd2e['length'],this['_assignedColors'][_0x5c42ae(0x1fd)](_0x5d8288,_0x599ca5),_0x599ca5;}}function _0x5a62c9(_0x393768){let _0x155b03='';for(const _0x4b7f54 of _0x393768){const {startOffset:_0x1ea07e,endOffset:_0x1127a4,isActive:_0x9ffb96,rangeType:_0x6eb336,segmentId:_0x447ea2,segmentPage:_0x24b1e7}=_0x4b7f54;_0x155b03['length']&&(_0x155b03+=','),_0x155b03+=_0x1ea07e+':'+_0x1127a4+':'+(_0x9ffb96?'1':'0')+':'+_0x6eb336+':'+_0x447ea2+':'+_0x24b1e7;}return _0x155b03;}function _0x516383(_0x2a62d6){const _0x52cb52=_0x4a378c,_0x3631c7=_0x2a62d6[_0x52cb52(0x140)](','),_0x49f7e1=[];for(const _0x3a99fc of _0x3631c7){const [_0x1dbc5f,_0x12496e,_0x18c9f6,_0x401a36,_0x3ef144,_0xd23b77]=_0x3a99fc['split'](':');_0x49f7e1[_0x52cb52(0x9a)]({'startOffset':Number(_0x1dbc5f),'endOffset':Number(_0x12496e),'collapsed':_0x1dbc5f===_0x12496e,'isActive':_0x18c9f6==='1','rangeType':_0x401a36===_0x50b35f[_0x52cb52(0x309)][_0x52cb52(0x308)]?_0x50b35f[_0x52cb52(0x309)][_0x52cb52(0x308)]:_0x50b35f[_0x52cb52(0x309)][_0x52cb52(0x2b2)],'segmentId':typeof _0x3ef144==_0x52cb52(0x136)?String(_0x3ef144):'','segmentPage':Number(_0xd23b77!=null?_0xd23b77:-0x1)});}return _0x49f7e1['some'](_0x10fbb7=>_0x10fbb7['isActive'])||(_0x49f7e1[0x0]['isActive']=!0x0),_0x49f7e1;}class _0x5773b5 extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(){const _0x4d9ee7=_0x4a378c;super(...arguments),_0x1fd125(this,_0x4d9ee7(0x17f),new _0x342ed2['BehaviorSubject'](null)),_0x1fd125(this,_0x4d9ee7(0x125),this[_0x4d9ee7(0x17f)][_0x4d9ee7(0x157)]());}[_0x4a378c(0xfe)](_0x8bc11b){const _0x2db4fc=_0x4a378c,{unitID:_0x2bbc0a,memberID:_0x399325,textRanges:_0x1ac96f}=_0x8bc11b,_0x3065bb=_0x5a62c9(_0x1ac96f);if(_0x3065bb==='')return;const _0x534244={'unitID':_0x2bbc0a,'memberID':_0x399325,'selection':_0x3065bb};this[_0x2db4fc(0x17f)][_0x2db4fc(0xe7)](_0x534244);}}var _0x569f71=Object[_0x4a378c(0x17c)],_0x57897a=(_0x2e4901,_0x35e875,_0x59031a,_0x189ee1)=>{for(var _0x359e93=_0x189ee1>0x1?void 0x0:_0x189ee1?_0x569f71(_0x35e875,_0x59031a):_0x35e875,_0x2433c3=_0x2e4901['length']-0x1,_0x395b19;_0x2433c3>=0x0;_0x2433c3--)(_0x395b19=_0x2e4901[_0x2433c3])&&(_0x359e93=_0x395b19(_0x359e93)||_0x359e93);return _0x359e93;},_0x13b98a=(_0x24bfe3,_0x42453f)=>(_0x168d55,_0x1b7046)=>_0x42453f(_0x168d55,_0x1b7046,_0x24bfe3);const _0x54c07c=0x12c,_0x302950=0x64;let _0x2b43c2=class extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(_0x520044,_0x102ef1,_0x317095,_0x39ec38,_0x497e2e,_0x10cdd0,_0x4ac014,_0x675b46,_0x231b6e){const _0x4d4247=_0x4a378c;super(),_0x1fd125(this,_0x4d4247(0x2bb),!0x1),_0x1fd125(this,'_init',!0x1),_0x1fd125(this,_0x4d4247(0x1ce),new _0x342ed2[(_0x4d4247(0x2a0))](new Map())),_0x1fd125(this,_0x4d4247(0x14d),this['_cursorInfo$'][_0x4d4247(0x157)]()),_0x1fd125(this,'_roomMembers$',new _0x342ed2[(_0x4d4247(0x2a0))]([])),_0x1fd125(this,'roomMembers$',this['_roomMembers$'][_0x4d4247(0x24e)](_0x342ed2[_0x4d4247(0xdc)](_0x54c07c))),_0x1fd125(this,'_updateLocalCursor',_0x50b35f[_0x4d4247(0x112)](_0x265017=>{const _0x95d640=_0x4d4247,_0x567fcb={'eventID':_0x9298ea[_0x95d640(0x275)][_0x95d640(0x179)],'data':{'unitID':this[_0x95d640(0x14b)],'memberID':this[_0x95d640(0x175)][_0x95d640(0x212)](),'selection':_0x5a62c9(_0x265017)}};this[_0x95d640(0x175)][_0x95d640(0x1de)](_0x567fcb,this[_0x95d640(0x14b)]);},_0x302950)),(this['unitID']=_0x520044,this[_0x4d4247(0x175)]=_0x102ef1,this[_0x4d4247(0x2b5)]=_0x317095,this['_colorAssignService']=_0x39ec38,this[_0x4d4247(0x93)]=_0x497e2e,this[_0x4d4247(0x237)]=_0x10cdd0,this[_0x4d4247(0x14c)]=_0x4ac014,this[_0x4d4247(0x1c6)]=_0x675b46,this[_0x4d4247(0x28f)]=_0x231b6e);}get[_0x4a378c(0x12a)](){const _0x37215d=_0x4a378c;return this[_0x37215d(0x1ce)][_0x37215d(0x279)]();}get['roomMembers'](){const _0x2aee06=_0x4a378c;return this[_0x2aee06(0x1a8)]['getValue']();}['dispose'](){const _0x51a3dd=_0x4a378c;super[_0x51a3dd(0x303)](),this['_cursorInfo$'][_0x51a3dd(0xe7)](new Map()),this[_0x51a3dd(0x1ce)][_0x51a3dd(0xcc)](),this[_0x51a3dd(0x1a8)][_0x51a3dd(0xe7)]([]),this[_0x51a3dd(0x1a8)][_0x51a3dd(0xcc)]();}[_0x4a378c(0x169)](){const _0x516ed8=_0x4a378c;this[_0x516ed8(0x21e)]||(this[_0x516ed8(0x21e)]=!0x0,this[_0x516ed8(0x175)][_0x516ed8(0x180)]['pipe'](_0x342ed2[_0x516ed8(0x2fa)](this[_0x516ed8(0x25b)]))[_0x516ed8(0x1a5)](_0x1c0ef7=>{const _0x3953d9=_0x516ed8;_0x1c0ef7===_0x550e9f[_0x3953d9(0x326)][_0x3953d9(0x1c3)]?this[_0x3953d9(0x10f)]():this[_0x3953d9(0x1d5)]();}),this['_session']['event$']['pipe'](_0x342ed2[_0x516ed8(0x2fa)](this[_0x516ed8(0x25b)]))[_0x516ed8(0x1a5)](_0x521c0e=>{const _0x416c33=_0x516ed8,_0xf684e5=_0x521c0e['eventID'];_0xf684e5===_0x9298ea[_0x416c33(0x275)][_0x416c33(0x179)]&&this[_0x416c33(0x1f6)](_0x521c0e),_0xf684e5===_0x9298ea[_0x416c33(0x275)][_0x416c33(0x255)]&&this[_0x416c33(0x2c5)](_0x521c0e);}),this[_0x516ed8(0x9f)](this['_commandService'][_0x516ed8(0x16c)](_0x11b562=>{const _0x5959d8=_0x516ed8,_0x3add70=_0x11b562[_0x5959d8(0x196)];_0x3add70!=null&&this[_0x5959d8(0x2bb)]&&_0x11b562['id']===_0xa2e49e[_0x5959d8(0xf8)]['id']&&_0x3add70[_0x5959d8(0x264)]===this['unitID']&&_0x3add70[_0x5959d8(0x2b4)]===!0x1&&_0x3add70[_0x5959d8(0x29c)][_0x5959d8(0x228)]>0x0&&this['_updateLocalCursor'](_0x3add70[_0x5959d8(0x29c)]);})),this['_syncEditingCollabCursorService'][_0x516ed8(0x125)][_0x516ed8(0x24e)](_0x342ed2['takeUntil'](this[_0x516ed8(0x25b)]))[_0x516ed8(0x1a5)](_0x805f91=>{const _0x1f13f3=_0x516ed8;if((_0x805f91==null?void 0x0:_0x805f91[_0x1f13f3(0x14b)])!==this[_0x1f13f3(0x14b)])return;const _0x1ecfae={'eventID':_0x9298ea[_0x1f13f3(0x275)][_0x1f13f3(0x179)],'data':_0x805f91};this[_0x1f13f3(0x1f6)](_0x1ecfae);}),this[_0x516ed8(0x9f)](this[_0x516ed8(0x28f)][_0x516ed8(0x16c)](_0x4de4b4=>{const _0x4d4d29=_0x516ed8;if(_0x4de4b4[_0x4d4d29(0x196)]==null)return;const _0x56f891=_0x4de4b4['params'];if(_0x4de4b4['id']!==_0xa2e49e[_0x4d4d29(0x17a)]['id']||_0x56f891['unitId']!==this[_0x4d4d29(0x14b)])return;const _0x4f8eaf={'id':'doc.mutation.rich-text-editing','params':_0x56f891},_0x59bc2b=this[_0x4d4d29(0x12a)];for(const [_0x6247cd,_0x293eac]of _0x59bc2b){const _0x32dec0={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4d4d29(0x14b)],'actions':null,'textRanges':_0x293eac[_0x4d4d29(0x29c)]}},_0x5598dc=this[_0x4d4d29(0x14c)]['transformMutation'](_0x4f8eaf,_0x32dec0,!0x1);if(_0x9298ea[_0x4d4d29(0xa7)](_0x5598dc))throw _0x5598dc[_0x4d4d29(0x206)];_0x59bc2b[_0x4d4d29(0x1fd)](_0x6247cd,{..._0x293eac,'ranges':_0x5598dc[_0x4d4d29(0x2a5)][_0x4d4d29(0x196)]['textRanges']});}queueMicrotask(()=>{const _0x22f02f=_0x4d4d29;this[_0x22f02f(0x1ce)][_0x22f02f(0xe7)](_0x59bc2b);});})));}['_onCursorUpdate'](_0x5139a5){const _0x51437b=_0x4a378c;var _0x4b3c12,_0xa1b799;const {memberID:_0x3c11c1,selection:_0x2cbab2}=_0x5139a5[_0x51437b(0x1d2)],_0x467e6e=_0x516383(_0x2cbab2),_0x2355cb=(_0xa1b799=(_0x4b3c12=this[_0x51437b(0x93)][_0x51437b(0x186)](this[_0x51437b(0x14b)],_0x3c11c1))==null?void 0x0:_0x4b3c12['name'])!=null?_0xa1b799:_0x51437b(0x1c5),_0x32fb4d={'color':this[_0x51437b(0x203)][_0x51437b(0x1fa)](_0x3c11c1),'name':_0x2355cb,'ranges':_0x467e6e},_0x18ba3c=this[_0x51437b(0x12a)];_0x18ba3c[_0x51437b(0x1fd)](_0x3c11c1,_0x32fb4d),this[_0x51437b(0x1ce)][_0x51437b(0xe7)](_0x18ba3c);}[_0x4a378c(0x2c5)](_0x2d73cd){const _0x129fcc=_0x4a378c,{memberID:_0xbaf6d2}=_0x2d73cd[_0x129fcc(0x1d2)],_0x4b3252=this['cursorInfo'];_0x4b3252[_0x129fcc(0x22d)](_0xbaf6d2),this['_cursorInfo$']['next'](_0x4b3252);}[_0x4a378c(0x10f)](){const _0x3e47e4=_0x4a378c;var _0x78f395;if(this['_online']=!0x0,((_0x78f395=this[_0x3e47e4(0x1c6)][_0x3e47e4(0x300)]())==null?void 0x0:_0x78f395[_0x3e47e4(0x298)]())!==this[_0x3e47e4(0x14b)])return;const _0x92ec0=this[_0x3e47e4(0x2b5)][_0x3e47e4(0x14f)](_0xa2e49e[_0x3e47e4(0xac)])[_0x3e47e4(0x2f5)]();Array[_0x3e47e4(0x2dd)](_0x92ec0)&&_0x92ec0[_0x3e47e4(0x228)]>0x0&&this[_0x3e47e4(0x207)](_0x92ec0);}['_toggleOffline'](){this['_online']=!0x1;}};_0x2b43c2=_0x57897a([_0x13b98a(0x2,_0x50b35f['Inject'](_0x50b35f[_0x4a378c(0x29d)])),_0x13b98a(0x3,_0x50b35f[_0x4a378c(0x135)](_0x20d96e)),_0x13b98a(0x4,_0x50b35f['Inject'](_0x550e9f[_0x4a378c(0x31c)])),_0x13b98a(0x5,_0x50b35f[_0x4a378c(0x135)](_0x5773b5)),_0x13b98a(0x6,_0x9298ea[_0x4a378c(0x238)]),_0x13b98a(0x7,_0x50b35f[_0x4a378c(0xfb)]),_0x13b98a(0x8,_0x50b35f[_0x4a378c(0x94)])],_0x2b43c2);var _0x48bec1=Object['getOwnPropertyDescriptor'],_0x4a2d99=(_0x5f4d82,_0x55d0fb,_0x1a609d,_0x5b1cf2)=>{const _0x26af63=_0x4a378c;for(var _0x26a3bf=_0x5b1cf2>0x1?void 0x0:_0x5b1cf2?_0x48bec1(_0x55d0fb,_0x1a609d):_0x55d0fb,_0x48ec06=_0x5f4d82[_0x26af63(0x228)]-0x1,_0x130626;_0x48ec06>=0x0;_0x48ec06--)(_0x130626=_0x5f4d82[_0x48ec06])&&(_0x26a3bf=_0x130626(_0x26a3bf)||_0x26a3bf);return _0x26a3bf;},_0x129d87=(_0x196dde,_0x4c7ec6)=>(_0x26b40c,_0x44ee5d)=>_0x4c7ec6(_0x26b40c,_0x44ee5d,_0x196dde);const _0xfe0414=0x12c,_0x1689e6=0x64,_0x348728=()=>{let _0x4e2044=[],_0x13be90=!0x1;return _0x2fbd62=>{_0x4e2044['push'](_0x2fbd62),_0x13be90||(_0x13be90=!0x0,setTimeout(()=>{const _0x37f998=_0x5ab8;_0x4e2044[_0x37f998(0xe5)](_0x1a9a8c=>_0x1a9a8c()),_0x4e2044=[],_0x13be90=!0x1;}));};};let _0x4f88b1=class extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(_0x46f614,_0x4f61a4,_0x54e617,_0x1211a0,_0x20261b,_0x376b4d,_0x476a6d,_0xe20059){const _0x21533c=_0x4a378c;super(),_0x1fd125(this,_0x21533c(0x2bb),!0x1),_0x1fd125(this,_0x21533c(0x21e),!0x1),_0x1fd125(this,_0x21533c(0x1ce),new _0x342ed2['BehaviorSubject'](new Map())),_0x1fd125(this,_0x21533c(0x14d),this['_cursorInfo$']['asObservable']()),_0x1fd125(this,_0x21533c(0x1a8),new _0x342ed2[(_0x21533c(0x2a0))]([])),_0x1fd125(this,_0x21533c(0x1a7),this[_0x21533c(0x1a8)][_0x21533c(0x24e)](_0x342ed2[_0x21533c(0xdc)](_0xfe0414))),_0x1fd125(this,'_updateLocalCursor',_0x50b35f[_0x21533c(0x112)]((_0x2f406e,_0x1e2a82)=>{const _0x4d3672=_0x21533c,_0x4491d0={'eventID':_0x9298ea['CollaborationEvent'][_0x4d3672(0x179)],'data':{'unitID':this[_0x4d3672(0x14b)],'memberID':this[_0x4d3672(0x175)][_0x4d3672(0x212)](),'selection':_0x374129[_0x4d3672(0xa1)](_0x2f406e,_0x1e2a82[_0x4d3672(0x1e2)])}};this[_0x4d3672(0x175)]['send'](_0x4491d0,this[_0x4d3672(0x14b)]);},_0x1689e6)),(this['unitID']=_0x46f614,this[_0x21533c(0x175)]=_0x4f61a4,this['_injector']=_0x54e617,this['_colorAssignService']=_0x1211a0,this[_0x21533c(0x93)]=_0x20261b,this[_0x21533c(0x1c6)]=_0x376b4d,this[_0x21533c(0x28f)]=_0x476a6d,this[_0x21533c(0x251)]=_0xe20059);}get[_0x4a378c(0x12a)](){const _0x47ccb2=_0x4a378c;return this[_0x47ccb2(0x1ce)][_0x47ccb2(0x279)]();}get[_0x4a378c(0x15c)](){const _0x3eb1d3=_0x4a378c;return this[_0x3eb1d3(0x1a8)][_0x3eb1d3(0x279)]();}['dispose'](){const _0x254f60=_0x4a378c;super[_0x254f60(0x303)](),this[_0x254f60(0x1ce)]['next'](new Map()),this[_0x254f60(0x1ce)][_0x254f60(0xcc)](),this[_0x254f60(0x1a8)]['next']([]),this[_0x254f60(0x1a8)][_0x254f60(0xcc)]();}[_0x4a378c(0x169)](){const _0x560028=_0x4a378c;this['_init']||(this['_init']=!0x0,this['_session'][_0x560028(0x180)][_0x560028(0x24e)](_0x342ed2[_0x560028(0x2fa)](this[_0x560028(0x25b)]))[_0x560028(0x1a5)](_0xe9111c=>{const _0x1660e2=_0x560028;_0xe9111c===_0x550e9f[_0x1660e2(0x326)][_0x1660e2(0x1c3)]?this['_toggleOnline']():this[_0x1660e2(0x1d5)]();}),this[_0x560028(0x175)][_0x560028(0x1e0)][_0x560028(0x24e)](_0x342ed2['takeUntil'](this[_0x560028(0x25b)]))[_0x560028(0x1a5)](_0x5e3116=>{const _0x411012=_0x560028,_0xb52081=_0x5e3116[_0x411012(0x1ac)];_0xb52081===_0x9298ea[_0x411012(0x275)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x5e3116),_0xb52081===_0x9298ea[_0x411012(0x275)][_0x411012(0x255)]&&this['_onCursorDelete'](_0x5e3116);}),this[_0x560028(0x190)](),this[_0x560028(0x9f)](this[_0x560028(0x28f)]['onCommandExecuted'](_0x42283c=>{const _0x286ab0=_0x560028;if(this['_online']&&_0x42283c['id']===_0x26ee19[_0x286ab0(0x193)]['id']&&_0x42283c['params'][_0x286ab0(0x264)]===this[_0x286ab0(0x14b)]){const _0x2ab98d=_0x42283c[_0x286ab0(0x196)];this[_0x286ab0(0x207)](_0x2ab98d[_0x286ab0(0x259)],_0x2ab98d['selections'][0x0]);}})));}['_onCursorUpdate'](_0xa2b9b6){const _0x1b55b8=_0x4a378c;var _0x509555,_0x2f6829;const {memberID:_0x1c5102,selection:_0x34f181}=_0xa2b9b6['data'],{sheetName:_0x4c3309,range:_0x5240bc}=_0x374129[_0x1b55b8(0x209)](_0x34f181),_0x32ecdf={'name':(_0x2f6829=(_0x509555=this['_memberService']['getMember'](this[_0x1b55b8(0x14b)],_0x1c5102))==null?void 0x0:_0x509555['name'])!=null?_0x2f6829:_0x1b55b8(0x1c5),'range':this[_0x1b55b8(0x2b0)](_0x4c3309,_0x5240bc),'sheetID':_0x4c3309,'color':this[_0x1b55b8(0x203)][_0x1b55b8(0x1fa)](_0x1c5102),'selection':_0x34f181},_0x43e9d0=this[_0x1b55b8(0x12a)];_0x43e9d0[_0x1b55b8(0x1fd)](_0x1c5102,_0x32ecdf),this[_0x1b55b8(0x1ce)][_0x1b55b8(0xe7)](_0x43e9d0);}['_onCursorDelete'](_0x138ed7){const _0x1be0b0=_0x4a378c,{memberID:_0x2cf863}=_0x138ed7[_0x1be0b0(0x1d2)],_0x58b099=this[_0x1be0b0(0x12a)];_0x58b099[_0x1be0b0(0x22d)](_0x2cf863),this[_0x1be0b0(0x1ce)][_0x1be0b0(0xe7)](_0x58b099);}['_getMergeRange'](_0x52875d,_0x20fcdc){const _0x5d8caa=_0x4a378c;var _0x4e4882,_0x2c121e;const _0x389671=(_0x2c121e=(_0x4e4882=this[_0x5d8caa(0x1c6)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x4e4882['getSheetBySheetId'](_0x52875d))==null?void 0x0:_0x2c121e[_0x5d8caa(0x2a7)]();return(_0x389671==null?void 0x0:_0x389671[_0x5d8caa(0xe3)](_0x1c6884=>_0x50b35f['Rectangle'][_0x5d8caa(0xd2)](_0x1c6884,_0x20fcdc)))||_0x20fcdc;}[_0x4a378c(0x190)](){const _0x493f26=_0x4a378c,_0x420b36=new _0x50b35f['DisposableCollection'](),_0x94e952=_0x348728(),_0x4ddd54=()=>{const _0x25ab4b=_0x5ab8;_0x420b36[_0x25ab4b(0x303)]();const _0x25cce1=(_0x59f74a,_0x35debc,_0x337f25,_0x3758b4)=>{const _0x1bb2d1=_0x25ab4b;let _0x5bc046=[];switch(_0x59f74a['id']){case _0x26ee19['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x1e1)](_0x59f74a,_0x3758b4);break;}case _0x26ee19[_0x1bb2d1(0x1ef)]['DeleteRangeMoveUpCommandId']:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x109)](_0x59f74a,_0x3758b4);break;}case _0x26ee19[_0x1bb2d1(0x1ef)][_0x1bb2d1(0x1b5)]:{_0x5bc046=_0x26ee19['handleInsertCol'](_0x59f74a,_0x3758b4);break;}case _0x26ee19[_0x1bb2d1(0x1ef)][_0x1bb2d1(0x2e3)]:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x2ca)](_0x59f74a,_0x3758b4);break;}case _0x26ee19['EffectRefRangId'][_0x1bb2d1(0x261)]:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x107)](_0x59f74a,_0x3758b4);break;}case _0x26ee19[_0x1bb2d1(0x1ef)]['InsertRowCommandId']:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x29a)](_0x59f74a,_0x3758b4);break;}case _0x26ee19[_0x1bb2d1(0x1ef)][_0x1bb2d1(0x149)]:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x2ce)](_0x59f74a,_0x3758b4);break;}case _0x26ee19[_0x1bb2d1(0x1ef)][_0x1bb2d1(0x17e)]:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x1da)](_0x59f74a,_0x3758b4);break;}case _0x26ee19[_0x1bb2d1(0x1ef)][_0x1bb2d1(0xb0)]:{_0x5bc046=_0x26ee19[_0x1bb2d1(0x30c)](_0x59f74a,_0x3758b4);break;}}const _0x198df1=_0x26ee19['runRefRangeMutations'](_0x5bc046,_0x3758b4),_0x26c66b=this['cursorInfo'][_0x1bb2d1(0x14f)](_0x35debc);if(_0x26c66b&&_0x198df1){const _0x4bd0b3={..._0x26c66b,'range':_0x198df1};this['cursorInfo']['set'](_0x35debc,_0x4bd0b3),_0x94e952(()=>{const _0x2710a9=_0x1bb2d1,_0x527a23=this[_0x2710a9(0x251)]['registerRefRange'](_0x198df1,_0x1feee6=>(_0x527a23['dispose'](),_0x25cce1(_0x1feee6,_0x35debc,_0x337f25,_0x198df1)));_0x420b36[_0x2710a9(0x295)](_0x527a23);});}return{'redos':[],'undos':[]};};this[_0x25ab4b(0x12a)]['forEach']((_0x2f5aea,_0x4451f7)=>{const _0x31ddf8=_0x25ab4b,{range:_0x756b0f,sheetID:_0x1bceb1}=_0x2f5aea,_0x3c893d=this[_0x31ddf8(0x251)][_0x31ddf8(0x13d)](_0x756b0f,_0x4cbc4e=>(_0x3c893d[_0x31ddf8(0x303)](),_0x25cce1(_0x4cbc4e,_0x4451f7,_0x1bceb1,_0x756b0f)));_0x420b36[_0x31ddf8(0x295)](_0x3c893d);});};this[_0x493f26(0x9f)](_0x50b35f['toDisposable'](this[_0x493f26(0x1ce)][_0x493f26(0x1a5)](()=>{_0x4ddd54();})));}[_0x4a378c(0x10f)](){const _0x4311b3=_0x4a378c;var _0x4145cb,_0x1cfe45;if(this[_0x4311b3(0x2bb)]=!0x0,((_0x4145cb=this[_0x4311b3(0x1c6)][_0x4311b3(0x300)]())==null?void 0x0:_0x4145cb[_0x4311b3(0x298)]())!==this[_0x4311b3(0x14b)])return;const _0xb39c81=(_0x1cfe45=this[_0x4311b3(0x2b5)][_0x4311b3(0x14f)](_0x26ee19['SheetsSelectionsService'])['getCurrentSelections']())==null?void 0x0:_0x1cfe45[0x0],_0x55baeb=this[_0x4311b3(0x1c6)][_0x4311b3(0x22c)](_0x50b35f[_0x4311b3(0x25f)][_0x4311b3(0x30a)])[_0x4311b3(0x142)]();_0xb39c81&&_0x55baeb&&this[_0x4311b3(0x207)](_0x55baeb[_0x4311b3(0x224)](),_0xb39c81);}['_toggleOffline'](){const _0x180a77=_0x4a378c;this[_0x180a77(0x2bb)]=!0x1;}};_0x4f88b1=_0x4a2d99([_0x129d87(0x2,_0x50b35f['Inject'](_0x50b35f[_0x4a378c(0x29d)])),_0x129d87(0x3,_0x50b35f['Inject'](_0x20d96e)),_0x129d87(0x4,_0x50b35f[_0x4a378c(0x135)](_0x550e9f[_0x4a378c(0x31c)])),_0x129d87(0x5,_0x50b35f['IUniverInstanceService']),_0x129d87(0x6,_0x50b35f[_0x4a378c(0x94)]),_0x129d87(0x7,_0x50b35f['Inject'](_0x26ee19[_0x4a378c(0x2ed)]))],_0x4f88b1);var _0x68ea15=Object['getOwnPropertyDescriptor'],_0x501788=(_0x345add,_0x13b056,_0xbdb18d,_0x173d7c)=>{const _0xf03ca8=_0x4a378c;for(var _0x42b2b0=_0x173d7c>0x1?void 0x0:_0x173d7c?_0x68ea15(_0x13b056,_0xbdb18d):_0x13b056,_0x1c9e3f=_0x345add[_0xf03ca8(0x228)]-0x1,_0x1a2051;_0x1c9e3f>=0x0;_0x1c9e3f--)(_0x1a2051=_0x345add[_0x1c9e3f])&&(_0x42b2b0=_0x1a2051(_0x42b2b0)||_0x42b2b0);return _0x42b2b0;},_0x5869e6=(_0x3c1dee,_0x3eb8a1)=>(_0x451e74,_0x4c3f4d)=>_0x3eb8a1(_0x451e74,_0x4c3f4d,_0x3c1dee);let _0x4f68d5=class extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(_0x27b3b1,_0x4e6c73,_0x2a5675){const _0x5500e5=_0x4a378c;super(),_0x1fd125(this,_0x5500e5(0x151),new Map()),_0x1fd125(this,_0x5500e5(0x27f),new _0x342ed2['Subject']()),(this[_0x5500e5(0x1c6)]=_0x27b3b1,this[_0x5500e5(0x2b5)]=_0x4e6c73,this[_0x5500e5(0xcd)]=_0x2a5675,this[_0x5500e5(0x21e)]());}[_0x4a378c(0x303)](){const _0xf990cf=_0x4a378c;super[_0xf990cf(0x303)](),this['_entityInit$'][_0xf990cf(0xcc)](),this[_0xf990cf(0x151)]['forEach'](_0x3573a5=>_0x3573a5[_0xf990cf(0x303)]());}[_0x4a378c(0xab)](_0x6dd4ab){const _0x4b1bfd=_0x4a378c;return this[_0x4b1bfd(0x151)]['has'](_0x6dd4ab)?this[_0x4b1bfd(0x151)][_0x4b1bfd(0x14f)](_0x6dd4ab)[_0x4b1bfd(0x14d)]:this[_0x4b1bfd(0x27f)]['pipe'](_0x342ed2[_0x4b1bfd(0x2b8)](_0x1d1979=>_0x1d1979[_0x4b1bfd(0x14b)]===_0x6dd4ab),_0x342ed2['switchMap'](_0x361fde=>_0x361fde[_0x4b1bfd(0x14d)]));}['_init'](){const _0xc033d2=_0x4a378c;this[_0xc033d2(0x1c6)][_0xc033d2(0x31d)](_0x50b35f['UniverInstanceType']['UNIVER_SHEET'])[_0xc033d2(0x24e)](_0x342ed2[_0xc033d2(0x2fa)](this[_0xc033d2(0x25b)]))[_0xc033d2(0x1a5)](async _0x3943d2=>{const _0xe7b9a=_0xc033d2,_0xac92=_0x3943d2[_0xe7b9a(0x298)](),_0x43f9dc=await this['_startSheetCollabCursor'](_0xac92);this[_0xe7b9a(0x27f)][_0xe7b9a(0xe7)](_0x43f9dc),this[_0xe7b9a(0x151)][_0xe7b9a(0x1fd)](_0xac92,_0x43f9dc);}),this[_0xc033d2(0x1c6)][_0xc033d2(0x31d)](_0x50b35f[_0xc033d2(0x25f)][_0xc033d2(0x1a2)])[_0xc033d2(0x24e)](_0x342ed2[_0xc033d2(0x2fa)](this[_0xc033d2(0x25b)]))[_0xc033d2(0x24e)](_0x342ed2[_0xc033d2(0x2b8)](_0x5428b8=>!_0x5428b8['getUnitId']()['startsWith']('__')))[_0xc033d2(0x1a5)](async _0x3e1654=>{const _0x227cf1=_0xc033d2,_0x2d3f14=_0x3e1654['getUnitId'](),_0x573bb8=await this[_0x227cf1(0x174)](_0x2d3f14);this[_0x227cf1(0x27f)][_0x227cf1(0xe7)](_0x573bb8),this[_0x227cf1(0x151)]['set'](_0x2d3f14,_0x573bb8);}),_0x342ed2[_0xc033d2(0x13f)](this[_0xc033d2(0x1c6)][_0xc033d2(0x297)](_0x50b35f[_0xc033d2(0x25f)][_0xc033d2(0x1a2)]),this[_0xc033d2(0x1c6)][_0xc033d2(0x297)](_0x50b35f['UniverInstanceType'][_0xc033d2(0x30a)]))[_0xc033d2(0x24e)](_0x342ed2[_0xc033d2(0x2fa)](this[_0xc033d2(0x25b)]))[_0xc033d2(0x1a5)](_0xefa6c=>{const _0x120490=_0xc033d2,_0xba4352=_0xefa6c[_0x120490(0x298)](),_0x3b25c8=this[_0x120490(0x151)][_0x120490(0x14f)](_0xba4352);_0x3b25c8&&(_0x3b25c8['dispose'](),this[_0x120490(0x151)][_0x120490(0x22d)](_0xba4352));});}async[_0x4a378c(0x227)](_0x24b153){const _0x235821=_0x4a378c,_0x38fcbf=await this['_collabSessionService'][_0x235821(0x1d1)](_0x24b153),_0x4724fd=this[_0x235821(0x2b5)][_0x235821(0xa9)](_0x4f88b1,_0x24b153,_0x38fcbf);return _0x4724fd[_0x235821(0x169)](),_0x4724fd;}async[_0x4a378c(0x174)](_0xfc0c51){const _0x24ca89=_0x4a378c,_0x2a2b12=await this[_0x24ca89(0xcd)][_0x24ca89(0x1d1)](_0xfc0c51),_0x24b98d=this[_0x24ca89(0x2b5)][_0x24ca89(0xa9)](_0x2b43c2,_0xfc0c51,_0x2a2b12);return _0x24b98d['init'](),_0x24b98d;}};_0x4f68d5=_0x501788([_0x5869e6(0x0,_0x50b35f['IUniverInstanceService']),_0x5869e6(0x1,_0x50b35f[_0x4a378c(0x135)](_0x50b35f[_0x4a378c(0x29d)])),_0x5869e6(0x2,_0x50b35f[_0x4a378c(0x135)](_0x550e9f[_0x4a378c(0x274)]))],_0x4f68d5);const _0x41722c=0x14,_0x316a12=0xc8,_0x3fb027=0x4,_0x33f8af=0x5;function _0x277395(_0x5c3202,_0x589cd6){const _0x5ec673=_0x4a378c;let {radius:_0x318f1d,width:_0x5b3a02,height:_0x1eabd0}=_0x589cd6;_0x318f1d=_0x318f1d!=null?_0x318f1d:0x0,_0x5b3a02=_0x5b3a02!=null?_0x5b3a02:0x1e,_0x1eabd0=_0x1eabd0!=null?_0x1eabd0:0x1e;let _0x2a42bd=0x0,_0x36fb5b=0x0,_0x3f93aa=0x0;_0x2a42bd=_0x36fb5b=_0x3f93aa=Math[_0x5ec673(0xde)](_0x318f1d,_0x5b3a02/0x2,_0x1eabd0/0x2),_0x5c3202[_0x5ec673(0x21a)](),_0x5c3202[_0x5ec673(0x1ee)](_0x2a42bd,0x0),_0x5c3202[_0x5ec673(0x181)](_0x5b3a02-_0x36fb5b,0x0),_0x5c3202['arc'](_0x5b3a02-_0x36fb5b,_0x36fb5b,_0x36fb5b,Math['PI']*0x3/0x2,0x0,!0x1),_0x5c3202[_0x5ec673(0x181)](_0x5b3a02,_0x1eabd0-_0x3f93aa),_0x5c3202['arc'](_0x5b3a02-_0x3f93aa,_0x1eabd0-_0x3f93aa,_0x3f93aa,0x0,Math['PI']/0x2,!0x1),_0x5c3202[_0x5ec673(0x181)](0x0,_0x1eabd0),_0x5c3202[_0x5ec673(0x181)](0x0,_0x2a42bd),_0x5c3202['arc'](_0x2a42bd,_0x2a42bd,_0x2a42bd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5c3202[_0x5ec673(0x12c)](),_0x589cd6[_0x5ec673(0x1e8)]&&(_0x5c3202['save'](),_0x5c3202[_0x5ec673(0xc8)]=_0x589cd6[_0x5ec673(0x1e8)],_0x589cd6['fillRule']===_0x5ec673(0x242)?_0x5c3202[_0x5ec673(0x1e8)](_0x5ec673(0x242)):_0x5c3202[_0x5ec673(0x1e8)](),_0x5c3202[_0x5ec673(0x316)]());}class _0x3bf2fe extends _0x1083d9[_0x4a378c(0x20e)]{constructor(_0x52ddcd,_0x1e0b12){const _0x444b0f=_0x4a378c;super(_0x52ddcd,_0x1e0b12),_0x1fd125(this,_0x444b0f(0x128)),_0x1fd125(this,'text'),(this[_0x444b0f(0x128)]=_0x1e0b12==null?void 0x0:_0x1e0b12[_0x444b0f(0x128)],this['text']=_0x1e0b12==null?void 0x0:_0x1e0b12['text']);}static[_0x4a378c(0x17d)](_0x4b4e4e,_0x10e9ce){const _0x2d9ac4=_0x4a378c,{text:_0x2de3f2,color:_0x4398f4}=_0x10e9ce;_0x4b4e4e[_0x2d9ac4(0x2f8)](),_0x4b4e4e['font']=_0x2d9ac4(0xca);const _0x4f5a74=_0x4b4e4e[_0x2d9ac4(0x2fb)](_0x2de3f2)[_0x2d9ac4(0xa0)],_0x5cabcb=Math[_0x2d9ac4(0xde)](_0x4f5a74+0x2*_0x3fb027,_0x316a12);_0x277395(_0x4b4e4e,{'height':_0x41722c,'radius':0x4,'width':_0x5cabcb,'fill':_0x4398f4}),_0x4b4e4e[_0x2d9ac4(0xc8)]=_0x2d9ac4(0x12b);const _0xf4bac1=_0x3fb027,_0x46a433=_0x41722c-_0x33f8af,_0x44b956=_0x316a12-0x2*_0x3fb027;if(_0x4f5a74>_0x44b956){let _0x31336d='',_0x2d364e=0x0;for(const _0x4dfcc8 of _0x2de3f2){const _0x4b00a6=_0x4b4e4e[_0x2d9ac4(0x2fb)](_0x4dfcc8)['width'];if(_0x2d364e+_0x4b00a6<=_0x44b956-_0x4b4e4e['measureText']('...')['width'])_0x31336d+=_0x4dfcc8,_0x2d364e+=_0x4b00a6;else{_0x31336d+=_0x2d9ac4(0x315);break;}}_0x4b4e4e[_0x2d9ac4(0x204)](_0x31336d,_0xf4bac1,_0x46a433);}else _0x4b4e4e[_0x2d9ac4(0x204)](_0x2de3f2,_0xf4bac1,_0x46a433);_0x4b4e4e[_0x2d9ac4(0x316)]();}[_0x4a378c(0xe4)](_0x25a6fd){_0x3bf2fe['drawWith'](_0x25a6fd,this);}}const _0x23c4c0=_0x4a378c(0xc4),_0x32fc39=_0x4a378c(0x23e),_0x2f11bf=_0x4a378c(0xe9),_0x1ed165=0x6,_0x15e8e0=1.5,_0x119a92=0x4,_0x2f30d6=1.5,_0x125258='rgba(255,\x20255,\x20255,\x200.01)';class _0x37c97b{constructor(_0x4bc8ef,_0x829db1,_0x1b3a0c,_0x5d544c){const _0xb61667=_0x4a378c;_0x1fd125(this,_0xb61667(0x1b1),[]),_0x1fd125(this,_0xb61667(0x22b),null),_0x1fd125(this,_0xb61667(0x2f4),null),_0x1fd125(this,_0xb61667(0x24d),null),_0x1fd125(this,_0xb61667(0x271),null),_0x1fd125(this,_0xb61667(0x1bb),null),(this[_0xb61667(0x16e)]=_0x4bc8ef,this['_scene']=_0x829db1,this['_docSkeleton']=_0x1b3a0c,this['_document']=_0x5d544c,this['_render']());}set[_0x4a378c(0x98)](_0x411783){const _0x161656=_0x4a378c;_0x411783?(this[_0x161656(0x24d)]&&this[_0x161656(0x24d)][_0x161656(0x144)](),this[_0x161656(0x2f4)]&&this['_textBubble']['show']()):(this[_0x161656(0x24d)]&&this[_0x161656(0x24d)][_0x161656(0x9e)](),this[_0x161656(0x2f4)]&&this[_0x161656(0x2f4)][_0x161656(0x144)]());}['dispose'](){const _0x343e08=_0x4a378c;for(const _0x35a873 of this[_0x343e08(0x1b1)])_0x35a873[_0x343e08(0x303)]();this[_0x343e08(0x2f4)]&&this[_0x343e08(0x2f4)][_0x343e08(0x303)](),this['_anchorDot']&&this[_0x343e08(0x24d)][_0x343e08(0x303)](),this[_0x343e08(0x22b)]&&this[_0x343e08(0x22b)][_0x343e08(0x303)](),this[_0x343e08(0x1bb)]&&this[_0x343e08(0x1bb)]();}[_0x4a378c(0xb6)](){const _0xfb907b=_0x4a378c;var _0x1f9737;const {_docSkeleton:_0x1a1bab,_document:_0x3bca8b}=this,{color:_0x5b9314,name:_0x1412db,ranges:_0x26b7ee}=this[_0xfb907b(0x16e)],_0xd8c67=_0x3bca8b[_0xfb907b(0x156)](),{docsLeft:_0x536b98,docsTop:_0x1df7c1}=_0xd8c67,_0x1d25e5=new _0x560a64[(_0xfb907b(0x2d0))](_0xd8c67,_0x1a1bab);for(const {startOffset:_0x122d23,endOffset:_0x25cba3,rangeType:_0x3a484f,segmentId:_0x5d6443,segmentPage:_0x5db1f8,collapsed:_0x2d3197,isActive:_0x48441c}of _0x26b7ee){const _0x1d700c=_0x1a1bab[_0xfb907b(0x185)](_0x122d23,!0x0,_0x5d6443,_0x5db1f8);let _0xa85592=_0x1a1bab[_0xfb907b(0x185)](_0x25cba3,!0x0,_0x5d6443,_0x5db1f8);if(_0xa85592==null&&(_0xa85592=_0x1a1bab[_0xfb907b(0x185)](_0x25cba3-0x1,!0x1,_0x5d6443,_0x5db1f8)),_0x48441c){const {contentBoxPointGroup:_0x5f3a1a}=_0x1d25e5[_0xfb907b(0x126)](_0xa85592,_0xa85592);if(_0x5f3a1a[_0xfb907b(0x228)]===0x0)continue;this[_0xfb907b(0x18b)](_0x5b9314,_0x5f3a1a,_0x536b98,_0x1df7c1,_0x1412db),this[_0xfb907b(0x1bb)]=this[_0xfb907b(0x25a)]();}if(_0x1d700c&&_0xa85592){if(_0x3a484f===_0x50b35f[_0xfb907b(0x309)][_0xfb907b(0x2b2)]){const _0x1384f9=new _0x560a64['NodePositionConvertToRectRange'](_0xd8c67,_0x1a1bab),{pointGroup:_0x2a9874}=(_0x1f9737=_0x1384f9[_0xfb907b(0x126)](_0x1d700c,_0xa85592))!=null?_0x1f9737:{};if(_0x2a9874==null||_0x2a9874['length']===0x0)continue;this[_0xfb907b(0x110)](_0x5b9314,_0x2a9874,_0x536b98,_0x1df7c1);}else{if(!_0x2d3197){const {borderBoxPointGroup:_0x3371bb}=_0x1d25e5[_0xfb907b(0x126)](_0x1d700c,_0xa85592);if(_0x3371bb[_0xfb907b(0x228)]===0x0)continue;this['_drawTextRange'](_0x5b9314,_0x3371bb,_0x536b98,_0x1df7c1);}}}}}[_0x4a378c(0x18b)](_0x58e6e9,_0x3d1781,_0x16769a,_0x56c1f4,_0x58fd38){const _0x28a5a5=_0x4a378c,_0x2542a3=this['_getAnchorBounding'](_0x3d1781),{left:_0x271013,top:_0x426d6b,height:_0xfa6af7}=_0x2542a3,_0x3fda20=this[_0x28a5a5(0x1b8)](),_0xf03624=_0x2f30d6/_0x3fda20,_0x4d0275=new _0x1083d9[(_0x28a5a5(0x1c9))](_0x23c4c0+_0x50b35f[_0x28a5a5(0x2af)]['generateRandomId'](_0x1ed165),{'left':_0x271013+_0x16769a-_0xf03624,'top':_0x426d6b+_0x56c1f4,'height':_0xfa6af7,'width':_0x15e8e0,'fill':_0x58e6e9||_0x1083d9[_0x28a5a5(0x11b)](_0x50b35f[_0x28a5a5(0x95)][_0x28a5a5(0x260)],0x0),'strokeWidth':_0xf03624,'stroke':_0x125258,'evented':!0x0});this[_0x28a5a5(0x22b)]=_0x4d0275,this[_0x28a5a5(0x2ba)][_0x28a5a5(0x2c7)](_0x4d0275,_0x560a64[_0x28a5a5(0x2ae)]);const _0x45889e=new _0x1083d9['Rect'](_0x23c4c0+_0x50b35f['Tools'][_0x28a5a5(0x1b2)](_0x1ed165),{'left':_0x271013+_0x16769a-_0xf03624,'top':_0x426d6b+_0x56c1f4-_0x119a92/0x2,'height':_0x119a92,'width':_0x119a92,'fill':_0x58e6e9||_0x1083d9['getColor'](_0x50b35f[_0x28a5a5(0x95)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x58e6e9||_0x1083d9[_0x28a5a5(0x11b)](_0x50b35f['COLORS']['black'],0x0),'evented':!0x1});this[_0x28a5a5(0x24d)]=_0x45889e,this[_0x28a5a5(0x2ba)][_0x28a5a5(0x2c7)](_0x45889e,_0x560a64[_0x28a5a5(0x2ae)]);const _0x377eec=new _0x3bf2fe(_0x23c4c0+_0x50b35f[_0x28a5a5(0x2af)][_0x28a5a5(0x1b2)](_0x1ed165),{'left':_0x271013+_0x16769a-_0xf03624,'top':_0x426d6b+_0x56c1f4-_0x41722c,'text':_0x58fd38,'color':_0x58e6e9});this['_textBubble']=_0x377eec,this[_0x28a5a5(0x2ba)][_0x28a5a5(0x2c7)](_0x377eec,_0x560a64[_0x28a5a5(0x2ae)]),this[_0x28a5a5(0x98)]=!0x1;}[_0x4a378c(0x25a)](){const _0x5307cc=_0x4a378c,_0x575ebb=this[_0x5307cc(0x22b)][_0x5307cc(0xae)][_0x5307cc(0x2f6)](()=>{this['_hover']=!0x0;}),_0x411b27=this['_anchor'][_0x5307cc(0x19b)][_0x5307cc(0x2f6)](()=>{const _0x1610d5=_0x5307cc;this[_0x1610d5(0x271)]&&clearTimeout(this[_0x1610d5(0x271)]),this[_0x1610d5(0x271)]=setTimeout(()=>{const _0x2cc9b4=_0x1610d5;this[_0x2cc9b4(0x98)]=!0x1;},0x7d0);});return()=>{const _0x49e7b6=_0x5307cc;_0x575ebb[_0x49e7b6(0x134)](),_0x411b27[_0x49e7b6(0x134)]();};}[_0x4a378c(0x15e)](_0xbf2407,_0x14d93d,_0x180840,_0x3427e7){const _0x33efc0=_0x4a378c,_0x738d8f=new _0x50b35f[(_0x33efc0(0xb3))](_0xbf2407)['setAlpha'](0.2)[_0x33efc0(0x31f)](),_0xf7e7a7=new _0x1083d9[(_0x33efc0(0x314))](_0x32fc39+_0x50b35f[_0x33efc0(0x2af)][_0x33efc0(0x1b2)](_0x1ed165),{'pointsGroup':_0x14d93d,'fill':_0x738d8f||_0x1083d9[_0x33efc0(0x11b)](_0x50b35f[_0x33efc0(0x95)][_0x33efc0(0x260)],0.2),'left':_0x180840,'top':_0x3427e7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x33efc0(0x1b1)][_0x33efc0(0x9a)](_0xf7e7a7),this[_0x33efc0(0x2ba)]['addObject'](_0xf7e7a7,_0x560a64[_0x33efc0(0x2ae)]);}['_drawRectRange'](_0x5656f2,_0x4f7cfd,_0x3508cf,_0x257965){const _0x15bc53=_0x4a378c,_0x5b0037=new _0x50b35f['ColorKit'](_0x5656f2)['setAlpha'](0.2)['toRgbString'](),_0x2615d7=new _0x1083d9[(_0x15bc53(0x314))](_0x2f11bf+_0x50b35f[_0x15bc53(0x2af)][_0x15bc53(0x1b2)](_0x1ed165),{'pointsGroup':_0x4f7cfd,'fill':_0x5b0037||_0x1083d9['getColor'](_0x50b35f[_0x15bc53(0x95)][_0x15bc53(0x260)],0.2),'left':_0x3508cf,'top':_0x257965,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x15bc53(0x9a)](_0x2615d7),this[_0x15bc53(0x2ba)]['addObject'](_0x2615d7,_0x560a64[_0x15bc53(0x2ae)]);}['_getAnchorBounding'](_0x54b8a4){const _0x4d99fb=_0x54b8a4[0x0],_0x56d9e4=_0x4d99fb[0x0],_0x2bf10c=_0x4d99fb[0x2],{x:_0x2c3a59,y:_0x19ce31}=_0x56d9e4,{x:_0x2fa20f,y:_0x17b8e2}=_0x2bf10c;return{'left':_0x2c3a59,'top':_0x19ce31,'width':_0x2fa20f-_0x2c3a59,'height':_0x17b8e2-_0x19ce31};}[_0x4a378c(0x1b8)](){const _0x32f653=_0x4a378c,{scaleX:_0x362609,scaleY:_0x277260}=this['_scene'][_0x32f653(0x2e0)]();return Math['max'](_0x362609,_0x277260);}}var _0x45cffe=Object[_0x4a378c(0x17c)],_0x51f5ea=(_0x194b18,_0x4057ed,_0x139de7,_0x137e09)=>{const _0x1d9219=_0x4a378c;for(var _0x45895c=_0x137e09>0x1?void 0x0:_0x137e09?_0x45cffe(_0x4057ed,_0x139de7):_0x4057ed,_0x560226=_0x194b18[_0x1d9219(0x228)]-0x1,_0x132f1f;_0x560226>=0x0;_0x560226--)(_0x132f1f=_0x194b18[_0x560226])&&(_0x45895c=_0x132f1f(_0x45895c)||_0x45895c);return _0x45895c;},_0x55d3ac=(_0xb3236e,_0x43f3ea)=>(_0x41e3ff,_0x186c21)=>_0x43f3ea(_0x41e3ff,_0x186c21,_0xb3236e);let _0x20a382=class extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(_0x2b2011,_0x2a5e79,_0x4bb4fb,_0x1cfadc,_0x5630cf){const _0x49a3ea=_0x4a378c;super(),_0x1fd125(this,_0x49a3ea(0x1f5),[]),_0x1fd125(this,_0x49a3ea(0x2b1),[]),(this[_0x49a3ea(0x1b9)]=_0x2b2011,this[_0x49a3ea(0x2d9)]=_0x2a5e79,this[_0x49a3ea(0x130)]=_0x4bb4fb,this[_0x49a3ea(0x28f)]=_0x1cfadc,this[_0x49a3ea(0x1b6)]=_0x5630cf,this['_init']());}['_init'](){const _0x5db986=_0x4a378c,_0x250291=this[_0x5db986(0x1b9)][_0x5db986(0x264)],_0x550834=this['_docSkeletonManagerService'];this[_0x5db986(0x9f)](_0x342ed2[_0x5db986(0x137)]([this[_0x5db986(0x130)][_0x5db986(0xab)](_0x250291),this[_0x5db986(0x1b6)][_0x5db986(0x2c4)]])['pipe'](_0x55319e[_0x5db986(0x211)](([_0x3bf51a,_0xd38bf6])=>({'skeleton':_0x550834[_0x5db986(0x178)](),'cursors':[..._0x3bf51a[_0x5db986(0x2e8)]()][_0x5db986(0xea)](_0x4701b1=>({..._0x4701b1,'color':_0xd38bf6[_0x4701b1[_0x5db986(0x128)]]}))})))[_0x5db986(0x1a5)](_0x2f0440=>{const _0x5ac4dc=_0x5db986;if(this[_0x5ac4dc(0x1a1)](),_0x2f0440){const {skeleton:_0x193fdf,cursors:_0x2f2855}=_0x2f0440;this[_0x5ac4dc(0xc3)](_0x193fdf,_0x2f2855);}})),this[_0x5db986(0x15d)](),this[_0x5db986(0x319)]();}[_0x4a378c(0xc3)](_0x1b1252,_0xf928de){const _0x2e5dcd=_0x4a378c,{scene:_0x3a37c1,mainComponent:_0x39bdcf}=this[_0x2e5dcd(0x1b9)],_0x5142b8=_0xf928de[_0x2e5dcd(0x211)](_0x35de56=>new _0x37c97b(_0x35de56,_0x3a37c1,_0x1b1252,_0x39bdcf));this[_0x2e5dcd(0x1f5)]=_0x5142b8,this[_0x2e5dcd(0x2b1)]=_0xf928de;}[_0x4a378c(0x2a2)](){const _0x24509a=_0x4a378c;this[_0x24509a(0x1a1)]();const {scene:_0x1f71be,mainComponent:_0x572e6b}=this[_0x24509a(0x1b9)],_0x159c77=this[_0x24509a(0x2d9)][_0x24509a(0x178)](),_0x1714cf=this[_0x24509a(0x2b1)][_0x24509a(0x211)](_0x8b6e9=>new _0x37c97b(_0x8b6e9,_0x1f71be,_0x159c77,_0x572e6b));this[_0x24509a(0x1f5)]=_0x1714cf;}[_0x4a378c(0x1a1)](){const _0x342780=_0x4a378c;this['_cursorShapes'][_0x342780(0xe5)](_0x29c639=>_0x29c639[_0x342780(0x303)]()),this[_0x342780(0x1f5)]=[];}[_0x4a378c(0x319)](){const _0x4c11e7=_0x4a378c,_0x9933b6=[_0x560a64[_0x4c11e7(0x18d)]['id']];this[_0x4c11e7(0x9f)](this[_0x4c11e7(0x28f)][_0x4c11e7(0x16c)](_0x5a7b0d=>{const _0x5a90ba=_0x4c11e7;_0x9933b6[_0x5a90ba(0x13e)](_0x5a7b0d['id'])&&_0x5a7b0d[_0x5a90ba(0x196)][_0x5a90ba(0x264)]===this[_0x5a90ba(0x1b9)][_0x5a90ba(0x264)]&&this[_0x5a90ba(0x2a2)]();}));}[_0x4a378c(0x15d)](){const _0x2a36c6=_0x4a378c;this[_0x2a36c6(0x9f)](_0x50b35f[_0x2a36c6(0x17b)](this[_0x2a36c6(0x1b9)][_0x2a36c6(0x171)][_0x2a36c6(0x1a3)])['pipe'](_0x55319e[_0x2a36c6(0x2b8)](_0x3e00f2=>_0x3e00f2[_0x2a36c6(0xfc)]===_0x1083d9[_0x2a36c6(0x2b9)]['resize']),_0x55319e[_0x2a36c6(0x12f)](0x10))[_0x2a36c6(0x1a5)](()=>{const _0x4d3d78=_0x2a36c6;this[_0x4d3d78(0x2a2)]();}));}};_0x20a382=_0x51f5ea([_0x55d3ac(0x1,_0x50b35f[_0x4a378c(0x135)](_0xa2e49e[_0x4a378c(0xf6)])),_0x55d3ac(0x2,_0x50b35f[_0x4a378c(0x135)](_0x4f68d5)),_0x55d3ac(0x3,_0x50b35f['ICommandService']),_0x55d3ac(0x4,_0x50b35f[_0x4a378c(0x135)](_0x50b35f[_0x4a378c(0x16d)]))],_0x20a382);const _0x1eedaa=0x1,_0x4bdf26=1.5;class _0x1376ff extends _0x1083d9['Shape']{constructor(_0x41b3cc,_0xcc76f4){const _0x47d18d=_0x4a378c;super(_0x41b3cc,_0xcc76f4),_0x1fd125(this,_0x47d18d(0xaa)),_0x1fd125(this,_0x47d18d(0x1f0),!0x1),_0x1fd125(this,_0x47d18d(0x26d)),_0x1fd125(this,_0x47d18d(0x100),''),_0x1fd125(this,_0x47d18d(0x307),_0x47d18d(0xbe)),_0x1fd125(this,_0x47d18d(0x1d9)),(_0xcc76f4&&this[_0x47d18d(0x244)](_0xcc76f4),this[_0x47d18d(0xae)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x47d18d(0x19b)][_0x47d18d(0x2f6)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x11a660){const _0x300153=_0x4a378c;var _0x15b7e2,_0x2a4655,_0x29cf48,_0x5ee542,_0x32a77b,_0x4ef22c;this[_0x300153(0xaa)]=(_0x15b7e2=_0x11a660[_0x300153(0x128)])!=null?_0x15b7e2:this[_0x300153(0xaa)],this[_0x300153(0x1f0)]=(_0x2a4655=_0x11a660[_0x300153(0x2d6)])!=null?_0x2a4655:this[_0x300153(0x1f0)],this[_0x300153(0x26d)]=(_0x29cf48=_0x11a660[_0x300153(0x1e2)])!=null?_0x29cf48:this[_0x300153(0x26d)],this[_0x300153(0x100)]=(_0x5ee542=_0x11a660[_0x300153(0xc0)])!=null?_0x5ee542:this[_0x300153(0x100)],this[_0x300153(0x307)]=(_0x32a77b=_0x11a660[_0x300153(0x208)])!=null?_0x32a77b:this[_0x300153(0x307)],this['_backgroundColor']=(_0x4ef22c=_0x11a660['backgroundColor'])!=null?_0x4ef22c:this[_0x300153(0x1d9)],this['transformByState']({'width':_0x11a660['width'],'height':_0x11a660[_0x300153(0x114)]});}[_0x4a378c(0x243)](_0x326ac9){const _0x12ab92=_0x4a378c,{row:_0x47a9a5,column:_0x2be9ea}=_0x326ac9;if(_0x47a9a5>=this[_0x12ab92(0x26d)][_0x12ab92(0x321)]&&_0x47a9a5<=this[_0x12ab92(0x26d)]['endRow']&&_0x2be9ea>=this['_range']['startColumn']&&_0x2be9ea<=this[_0x12ab92(0x26d)][_0x12ab92(0x22e)]){this[_0x12ab92(0x244)]({'hovered':!0x0});return;}this[_0x12ab92(0x244)]({'hovered':!0x1});}[_0x4a378c(0xd0)](_0x51772a){return!0x1;}[_0x4a378c(0xe4)](_0x549ccc){const _0x1ad207=_0x4a378c;_0x1083d9['Rect'][_0x1ad207(0x17d)](_0x549ccc,{'width':this[_0x1ad207(0xa0)],'height':this[_0x1ad207(0x114)],'strokeWidth':_0x4bdf26,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x1ad207(0x1d9)]}),this[_0x1ad207(0x1f0)]&&(_0x549ccc['save'](),_0x549ccc[_0x1ad207(0x327)](0x1,0x0,0x0,0x1,this[_0x1ad207(0xa0)],this['_labelPosition']===_0x1ad207(0xad)?0x0:-0x14),_0x3bf2fe['drawWith'](_0x549ccc,{'text':this[_0x1ad207(0x100)],'color':this[_0x1ad207(0xaa)]}),_0x549ccc[_0x1ad207(0x316)]());}}var _0x4c8b31=Object[_0x4a378c(0x17c)],_0x16fafe=(_0x78c4f7,_0x44679a,_0x3671ef,_0x3f7c66)=>{for(var _0x5fbafb=_0x3f7c66>0x1?void 0x0:_0x3f7c66?_0x4c8b31(_0x44679a,_0x3671ef):_0x44679a,_0x59d3e5=_0x78c4f7['length']-0x1,_0x2e39ad;_0x59d3e5>=0x0;_0x59d3e5--)(_0x2e39ad=_0x78c4f7[_0x59d3e5])&&(_0x5fbafb=_0x2e39ad(_0x5fbafb)||_0x5fbafb);return _0x5fbafb;},_0x30601c=(_0x23210a,_0x4e3ff6)=>(_0x2625d5,_0x47c984)=>_0x4e3ff6(_0x2625d5,_0x47c984,_0x23210a);const _0x1abedf=0x1389;let _0x244b2c=class extends _0x50b35f['RxDisposable']{constructor(_0x3147e5,_0x205e49,_0x5d3fc9,_0xc78c48){const _0x514362=_0x4a378c;super(),_0x1fd125(this,_0x514362(0x2b1),new Set()),_0x1fd125(this,'_lastPointer',null),(this[_0x514362(0x1b9)]=_0x3147e5,this['_sheetSkeletonManagerService']=_0x205e49,this[_0x514362(0x130)]=_0x5d3fc9,this[_0x514362(0x1b6)]=_0xc78c48,this[_0x514362(0x21e)]());}[_0x4a378c(0x21e)](){const _0x6eecb7=_0x4a378c;this[_0x6eecb7(0xd4)]['currentSkeleton$'][_0x6eecb7(0x24e)](_0x55319e[_0x6eecb7(0x2fa)](this[_0x6eecb7(0x25b)]),_0x55319e[_0x6eecb7(0x1c7)](_0x43380b=>{const _0x114453=_0x6eecb7;if(_0x43380b){const _0x527234=_0x43380b[_0x114453(0x192)];return _0x342ed2['combineLatest'](this[_0x114453(0x130)]['getCollabCursors$'](this['_context'][_0x114453(0x264)]),this['_themeService'][_0x114453(0x2c4)])[_0x114453(0x24e)](_0x55319e['map'](([_0x1f5c4d,_0x8282ea])=>{const _0x233560=_0x114453,_0x4f4c8a=new Map();return _0x1f5c4d[_0x233560(0xe5)]((_0x5e4bfa,_0x476a82)=>{const _0xe2dd6e=_0x233560;if(_0x5e4bfa['sheetID']===_0x527234){const _0x1fec05={..._0x5e4bfa};_0x1fec05[_0xe2dd6e(0x128)]=_0x8282ea[_0x5e4bfa['color']],_0x4f4c8a[_0xe2dd6e(0x1fd)](_0x476a82,_0x1fec05);}}),{'skeleton':_0x43380b,'cursors':_0x4f4c8a};}));}return _0x342ed2['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3f333d,cursors:_0x25af5e})=>{const _0x12bdb8=_0x6eecb7;this[_0x12bdb8(0x1a1)](),_0x3f333d&&this[_0x12bdb8(0xc3)](_0x3f333d,_0x25af5e);}),this[_0x6eecb7(0xd4)]['currentSkeleton$']['subscribe'](_0xd6e3f6=>{const _0x57de4e=_0x6eecb7;if(_0xd6e3f6==null)return;const {skeleton:_0x342ebe}=_0xd6e3f6,{scene:_0x27958c}=this['_context'];_0x27958c[_0x57de4e(0x2d3)][_0x57de4e(0x2f6)](_0x50b35f[_0x57de4e(0x112)](_0xc023a2=>{const _0x41b198=_0x57de4e;var _0x3bbb29,_0x515681;const {offsetX:_0x161e8e,offsetY:_0x11148c}=_0xc023a2,{x:_0x319f5e,y:_0x46b2a1}=_0x27958c[_0x41b198(0x2ec)](_0x1083d9[_0x41b198(0x191)]['FromArray']([_0x161e8e,_0x11148c])),{scaleX:_0x3411f5,scaleY:_0x2310a6}=_0x27958c[_0x41b198(0x2e0)](),_0xa6ba67=_0x27958c['getViewport'](_0x1083d9[_0x41b198(0x24c)][_0x41b198(0x296)]),_0x19e2ca=_0x27958c[_0x41b198(0x11e)](_0x1083d9[_0x41b198(0x191)][_0x41b198(0x1d8)]([_0x319f5e,_0x46b2a1]),_0xa6ba67),_0x2ebc2e=_0x342ebe[_0x41b198(0x1ae)](_0x161e8e,_0x11148c,_0x3411f5,_0x2310a6,_0x19e2ca);((_0x3bbb29=this['_lastPointer'])==null?void 0x0:_0x3bbb29[_0x41b198(0x19c)])===_0x2ebc2e[_0x41b198(0x19c)]&&((_0x515681=this[_0x41b198(0x2d8)])==null?void 0x0:_0x515681['row'])===_0x2ebc2e[_0x41b198(0x23b)]||this[_0x41b198(0x2b1)][_0x41b198(0xe5)](_0x5bb50e=>{_0x5bb50e['onMouseMove'](_0x2ebc2e);});},0x64));});}[_0x4a378c(0xc3)](_0x420dd0,_0x708277){const _0x246797=_0x4a378c;var _0x57c9a4;const _0x8e2561=(_0x57c9a4=this['_sheetSkeletonManagerService'][_0x246797(0x10b)]())==null?void 0x0:_0x57c9a4[_0x246797(0x27c)];if(!_0x8e2561)return;const _0x598bf1=this[_0x246797(0x32a)]();if(!_0x598bf1)return;this[_0x246797(0x2b1)]['forEach'](_0x45eca1=>{const _0x95ff58=_0x246797;_0x45eca1[_0x95ff58(0x2ac)]();});const {scene:_0x2fc478}=_0x598bf1,_0x2fcad5=_0x23da29(Array['from'](_0x708277[_0x246797(0x2e8)]()))[_0x246797(0x211)](_0x5cf207=>{const _0x2e077c=_0x246797,{color:_0x213023,range:_0x1229cc,name:_0x552c57,selection:_0x3c1598,sheetID:_0x5d0de7}=_0x5cf207,{startColumn:_0x39c936,startRow:_0x4acab7,endColumn:_0x3d0ac7,endRow:_0x5658f9}=_0x1229cc,_0x424379=_0x1b149c[_0x2e077c(0x301)](_0x4acab7,_0x39c936,_0x2fc478,_0x8e2561),_0x4a7044=_0x1b149c[_0x2e077c(0x301)](_0x5658f9,_0x3d0ac7,_0x2fc478,_0x8e2561),{columnHeaderHeightAndMarginTop:_0x6c36b5}=_0x8e2561,{startX:_0xacdaed,startY:_0x41dd73}=_0x424379,{endX:_0x55370c,endY:_0x16e3e1}=_0x4a7044,_0x52e736=_0x55370c-_0xacdaed,_0x460725=_0x16e3e1-_0x41dd73,_0x530518={'labelPosition':_0x41dd73-_0x6c36b5>=_0x41722c?_0x2e077c(0xbe):_0x2e077c(0xad),'sheetID':_0x5d0de7,'range':_0x1229cc,'color':_0x213023,'name':_0x552c57,'selection':_0x3c1598,'left':_0xacdaed,'top':_0x41dd73,'width':_0x52e736,'height':_0x460725,'evented':!0x1,'zIndex':_0x1abedf};return new _0x1376ff(_0x552c57,_0x530518);});_0x2fc478[_0x246797(0x2cb)](_0x2fcad5,_0x1eedaa),this['_cursors']=new Set(_0x2fcad5);}['_removeCollabCursors'](){const _0x6bf1f7=_0x4a378c;var _0x59ddde;(_0x59ddde=this[_0x6bf1f7(0x2b1)])==null||_0x59ddde[_0x6bf1f7(0xe5)](_0xb2c243=>_0xb2c243[_0x6bf1f7(0x303)]());}[_0x4a378c(0x32a)](){const _0x514329=_0x4a378c;return _0x1b149c[_0x514329(0xbb)](this[_0x514329(0x1b9)]['unit'],this['_context']);}};_0x244b2c=_0x16fafe([_0x30601c(0x1,_0x50b35f[_0x4a378c(0x135)](_0x1b149c[_0x4a378c(0x221)])),_0x30601c(0x2,_0x50b35f[_0x4a378c(0x135)](_0x4f68d5)),_0x30601c(0x3,_0x50b35f[_0x4a378c(0x135)](_0x50b35f[_0x4a378c(0x16d)]))],_0x244b2c);function _0x23da29(_0x5c56a5){const _0x36e0ec=_0x4a378c,_0x423498=new Map();return _0x5c56a5[_0x36e0ec(0xe5)](_0x453a7f=>{const _0x50d807=_0x36e0ec;if(_0x423498[_0x50d807(0x13a)](_0x453a7f[_0x50d807(0x108)])){const _0xe17e3b=_0x423498[_0x50d807(0x14f)](_0x453a7f[_0x50d807(0x108)]);_0xe17e3b['name']+=',\x20'+_0x453a7f[_0x50d807(0xc0)];}else _0x423498[_0x50d807(0x1fd)](_0x453a7f[_0x50d807(0x108)],_0x453a7f);}),Array[_0x36e0ec(0x23f)](_0x423498['values']());}var _0x34246b=function(){const _0x48b728=_0x4a378c;return _0x34246b=Object[_0x48b728(0x310)]||function(_0x484889){const _0x1afae8=_0x48b728;for(var _0x5843be,_0x5c04a3=0x1,_0x449078=arguments['length'];_0x5c04a3<_0x449078;_0x5c04a3++){_0x5843be=arguments[_0x5c04a3];for(var _0x6307c2 in _0x5843be)Object[_0x1afae8(0x25e)][_0x1afae8(0xe0)][_0x1afae8(0x1e5)](_0x5843be,_0x6307c2)&&(_0x484889[_0x6307c2]=_0x5843be[_0x6307c2]);}return _0x484889;},_0x34246b[_0x48b728(0xd6)](this,arguments);},_0x5f52f7=function(_0x38d958,_0xd9fc52){const _0x5e9c16=_0x4a378c;var _0x1a5254={};for(var _0x455adb in _0x38d958)Object['prototype'][_0x5e9c16(0xe0)][_0x5e9c16(0x1e5)](_0x38d958,_0x455adb)&&_0xd9fc52[_0x5e9c16(0x1fe)](_0x455adb)<0x0&&(_0x1a5254[_0x455adb]=_0x38d958[_0x455adb]);if(_0x38d958!=null&&typeof Object['getOwnPropertySymbols']==_0x5e9c16(0x184)){for(var _0xb75628=0x0,_0x455adb=Object['getOwnPropertySymbols'](_0x38d958);_0xb75628<_0x455adb[_0x5e9c16(0x228)];_0xb75628++)_0xd9fc52[_0x5e9c16(0x1fe)](_0x455adb[_0xb75628])<0x0&&Object['prototype'][_0x5e9c16(0x2c1)][_0x5e9c16(0x1e5)](_0x38d958,_0x455adb[_0xb75628])&&(_0x1a5254[_0x455adb[_0xb75628]]=_0x38d958[_0x455adb[_0xb75628]]);}return _0x1a5254;},_0x4a64ca=_0x265703[_0x4a378c(0x15b)](function(_0x1ef7cc,_0x373dd8){const _0x282d6e=_0x4a378c;var _0x51d87b=_0x1ef7cc['icon'],_0x3ed5e9=_0x1ef7cc['id'],_0x535f55=_0x1ef7cc[_0x282d6e(0xb5)],_0x3268d0=_0x1ef7cc[_0x282d6e(0x2a4)],_0x1ae69a=_0x5f52f7(_0x1ef7cc,[_0x282d6e(0x252),'id',_0x282d6e(0xb5),_0x282d6e(0x2a4)]),_0x47ec71=_0x282d6e(0xc6)[_0x282d6e(0xdf)](_0x3ed5e9,'\x20')[_0x282d6e(0xdf)](_0x535f55||'')[_0x282d6e(0x99)](),_0x378272=_0x265703['useRef']('_'['concat'](_0x2420a1()));return _0x52b0ea(_0x51d87b,''[_0x282d6e(0xdf)](_0x3ed5e9),{'defIds':_0x51d87b[_0x282d6e(0x230)],'idSuffix':_0x378272[_0x282d6e(0x328)]},_0x34246b({'ref':_0x373dd8,'className':_0x47ec71},_0x1ae69a),_0x3268d0);});function _0x52b0ea(_0x1561ca,_0x20409e,_0xbdaf9d,_0x5f13f6,_0xf3b4a8){const _0xbdd27c=_0x4a378c;return _0x265703[_0xbdd27c(0xf7)](_0x1561ca['tag'],_0x34246b(_0x34246b({'key':_0x20409e},_0x1fbf41(_0x1561ca,_0xbdaf9d,_0xf3b4a8)),_0x5f13f6),(_0x3b5a16(_0x1561ca,_0xbdaf9d)[_0xbdd27c(0x324)]||[])[_0xbdd27c(0x211)](function(_0x97eb4f,_0x2eda42){const _0x2d190c=_0xbdd27c;return _0x52b0ea(_0x97eb4f,''[_0x2d190c(0xdf)](_0x20409e,'-')[_0x2d190c(0xdf)](_0x1561ca['tag'],'-')['concat'](_0x2eda42),_0xbdaf9d,void 0x0,_0xf3b4a8);}));}function _0x1fbf41(_0x3f6135,_0x4d3270,_0x5b48a9){const _0x49e43a=_0x4a378c;var _0x3a929e=_0x34246b({},_0x3f6135[_0x49e43a(0x269)]);_0x5b48a9!=null&&_0x5b48a9[_0x49e43a(0xf2)]&&_0x3a929e[_0x49e43a(0x1e8)]===_0x49e43a(0xf2)&&(_0x3a929e[_0x49e43a(0x1e8)]=_0x5b48a9[_0x49e43a(0xf2)]),_0x3f6135[_0x49e43a(0x187)]===_0x49e43a(0xc7)&&_0x3a929e['id']&&(_0x3a929e['id']=_0x3a929e['id']+_0x4d3270[_0x49e43a(0x219)]),Object['entries'](_0x3a929e)[_0x49e43a(0xe5)](function(_0x30ca3d){const _0x56d51a=_0x49e43a;var _0x48f4eb=_0x30ca3d[0x0],_0x6d2ecb=_0x30ca3d[0x1];_0x48f4eb==='mask'&&typeof _0x6d2ecb=='string'&&(_0x3a929e[_0x48f4eb]=_0x6d2ecb['replace'](/url\(#(.*)\)/,_0x56d51a(0x236)[_0x56d51a(0xdf)](_0x4d3270[_0x56d51a(0x219)],')')));});var _0x2df18a=_0x4d3270[_0x49e43a(0x230)];return!_0x2df18a||_0x2df18a[_0x49e43a(0x228)]===0x0||(_0x3f6135[_0x49e43a(0x187)]===_0x49e43a(0x116)&&_0x3a929e[_0x49e43a(0x24a)]&&(_0x3a929e['xlink:href']=_0x3a929e[_0x49e43a(0x24a)]+_0x4d3270[_0x49e43a(0x219)]),Object[_0x49e43a(0x27b)](_0x3a929e)[_0x49e43a(0xe5)](function(_0x385f69){const _0x496ddc=_0x49e43a;var _0x4e5b01=_0x385f69[0x0],_0x1d0c8a=_0x385f69[0x1];typeof _0x1d0c8a==_0x496ddc(0x136)&&(_0x3a929e[_0x4e5b01]=_0x1d0c8a[_0x496ddc(0x16f)](/url\(#(.*)\)/,_0x496ddc(0x236)['concat'](_0x4d3270[_0x496ddc(0x219)],')')));})),_0x3a929e;}function _0x3b5a16(_0x313a4e,_0x24c9cb){const _0x2a73cc=_0x4a378c;var _0x3ab06b,_0x365e60=_0x24c9cb[_0x2a73cc(0x230)];return!_0x365e60||_0x365e60[_0x2a73cc(0x228)]===0x0?_0x313a4e:_0x313a4e['tag']===_0x2a73cc(0x155)&&(!((_0x3ab06b=_0x313a4e[_0x2a73cc(0x324)])===null||_0x3ab06b===void 0x0)&&_0x3ab06b[_0x2a73cc(0x228)])?_0x34246b(_0x34246b({},_0x313a4e),{'children':_0x313a4e[_0x2a73cc(0x324)]['map'](function(_0x166caa){const _0x41114f=_0x2a73cc;return typeof _0x166caa[_0x41114f(0x269)]['id']==_0x41114f(0x136)&&_0x365e60&&_0x365e60[_0x41114f(0x1fe)](_0x166caa[_0x41114f(0x269)]['id'])>-0x1?_0x34246b(_0x34246b({},_0x166caa),{'attrs':_0x34246b(_0x34246b({},_0x166caa['attrs']),{'id':_0x166caa[_0x41114f(0x269)]['id']+_0x24c9cb[_0x41114f(0x219)]})}):_0x166caa;})}):_0x313a4e;}function _0x2420a1(){const _0x2595b9=_0x4a378c;return Math[_0x2595b9(0xa2)]()[_0x2595b9(0x1f9)](0x24)[_0x2595b9(0x153)](0x2,0x8);}_0x4a64ca[_0x4a378c(0x26a)]=_0x4a378c(0x2b3);var _0x37248e={'tag':_0x4a378c(0x320),'attrs':{'fill':_0x4a378c(0x1fb),'viewBox':_0x4a378c(0x283),'width':_0x4a378c(0x121),'height':_0x4a378c(0x121)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a378c(0xe6)},'children':[{'tag':'path','attrs':{'stroke':_0x4a378c(0x11d),'d':_0x4a378c(0x2cf),'strokeLinecap':_0x4a378c(0x199),'strokeLinejoin':_0x4a378c(0x199),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4a378c(0x210),'attrs':{'id':_0x4a378c(0xd5)},'children':[{'tag':_0x4a378c(0x2e1),'attrs':{'fill':_0x4a378c(0x28e),'d':_0x4a378c(0xbc)}}]}]}],'defIds':[_0x4a378c(0xd5)]},_0x3620c5=_0x265703['forwardRef'](function(_0x583dff,_0x114e53){const _0x2b59c7=_0x4a378c;return _0x265703[_0x2b59c7(0xf7)](_0x4a64ca,Object['assign']({},_0x583dff,{'id':_0x2b59c7(0x1f1),'ref':_0x114e53,'icon':_0x37248e}));});_0x3620c5['displayName']=_0x4a378c(0x220);var _0x5acb2f={'tag':_0x4a378c(0x320),'attrs':{'fill':_0x4a378c(0x1fb),'viewBox':'0\x200\x2017\x2016','width':_0x4a378c(0x121),'height':_0x4a378c(0x121)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a378c(0x9c)},'children':[{'tag':'path','attrs':{'stroke':_0x4a378c(0x11d),'d':_0x4a378c(0x9d),'strokeLinecap':_0x4a378c(0x199),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4a378c(0x155),'attrs':{},'children':[{'tag':_0x4a378c(0x210),'attrs':{'id':_0x4a378c(0x1a0)},'children':[{'tag':_0x4a378c(0x2e1),'attrs':{'fill':'#fff','d':_0x4a378c(0xbc),'transform':_0x4a378c(0x10c)}}]}]}],'defIds':[_0x4a378c(0x1a0)]},_0x56872d=_0x265703[_0x4a378c(0x15b)](function(_0x11fb61,_0x22a9ed){const _0x28152c=_0x4a378c;return _0x265703['createElement'](_0x4a64ca,Object[_0x28152c(0x310)]({},_0x11fb61,{'id':'on-line-single','ref':_0x22a9ed,'icon':_0x5acb2f}));});_0x56872d[_0x4a378c(0x26a)]='OnLineSingle';const _0x174a61={'onlineStatusIcon':_0x4a378c(0xf4),'onlineStatusTitle':_0x4a378c(0x2ab),'onlineStatus':_0x4a378c(0x273),'online':'univer-online','offline':_0x4a378c(0x229)};function _0x5000fd(_0x52ca39){const _0x380ec5=_0x4a378c;switch(_0x52ca39){case _0x550e9f['CollaborationStatus'][_0x380ec5(0xd9)]:return _0x380ec5(0x256);case _0x550e9f[_0x380ec5(0x21c)][_0x380ec5(0x152)]:return _0x380ec5(0xcb);case _0x550e9f[_0x380ec5(0x21c)]['FETCH_MISS']:return _0x380ec5(0xb2);case _0x550e9f[_0x380ec5(0x21c)][_0x380ec5(0x24b)]:return _0x380ec5(0x28d);case _0x550e9f[_0x380ec5(0x21c)][_0x380ec5(0x176)]:case _0x550e9f[_0x380ec5(0x21c)][_0x380ec5(0x1e4)]:return _0x380ec5(0x1e7);case _0x550e9f['CollaborationStatus'][_0x380ec5(0x30f)]:case _0x550e9f[_0x380ec5(0x21c)][_0x380ec5(0x1df)]:return'collabStatus.synced';}}function _0x51edff(_0xc076e3){const _0x1d777d=_0x4a378c,{status$:_0x3f125e}=_0xc076e3,_0x2d2a40=_0x2a4c6a[_0x1d777d(0x2de)](_0x3f125e,_0x550e9f[_0x1d777d(0x21c)]['NOT_COLLAB']),_0x38b432=_0x2a4c6a[_0x1d777d(0x143)](_0x50b35f[_0x1d777d(0x159)]),_0x5028c1=_0x2a4c6a[_0x1d777d(0x143)](_0x550e9f['CollaborationSessionService']),_0x5cd4bc=_0x2d2a40!==_0x550e9f[_0x1d777d(0x21c)]['OFFLINE'],_0x1e3f25=_0x38b432['t'](_0x5000fd(_0x2d2a40)),_0x4b730b=_0x2b5271[_0x1d777d(0xb8)](_0x174a61[_0x1d777d(0xc1)],{[_0x174a61['online']]:_0x5cd4bc,[_0x174a61[_0x1d777d(0x141)]]:!_0x5cd4bc}),_0x300bc2=_0x5cd4bc?_0xd0be2f[_0x1d777d(0x26b)](_0x56872d,{}):_0xd0be2f['jsx'](_0x3620c5,{}),_0x3815d8=_0x265703[_0x1d777d(0x2b7)](()=>{const _0x279ce1=_0x1d777d;_0x5cd4bc||_0x5028c1[_0x279ce1(0x103)]();},[_0x5cd4bc,_0x5028c1]);function _0x3c0a2f(){const _0x15862f=_0x1d777d;return _0xd0be2f[_0x15862f(0xf9)](_0x15862f(0x1e6),{'className':_0x2b5271[_0x15862f(0xb8)](_0x4b730b,_0x15862f(0xb7)),'onClick':_0x3815d8,'children':[_0xd0be2f[_0x15862f(0x26b)](_0x15862f(0x1e6),{'className':_0x174a61[_0x15862f(0x28b)],'children':_0x300bc2}),_0xd0be2f[_0x15862f(0x26b)]('div',{'className':_0x174a61[_0x15862f(0x286)],'children':_0x1e3f25})]});}return _0x5cd4bc?_0x3c0a2f():_0xd0be2f[_0x1d777d(0x26b)](_0x2b5271[_0x1d777d(0x177)],{'title':_0x38b432['t']('collab-client.tooltip.reconnect'),'children':_0x3c0a2f()});}var _0x17c6f4=Object[_0x4a378c(0x17c)],_0x57f198=(_0x201d02,_0x4b667a,_0x59360e,_0x5b690e)=>{const _0x212168=_0x4a378c;for(var _0x3c8306=_0x5b690e>0x1?void 0x0:_0x5b690e?_0x17c6f4(_0x4b667a,_0x59360e):_0x4b667a,_0x2068a8=_0x201d02[_0x212168(0x228)]-0x1,_0x356dd4;_0x2068a8>=0x0;_0x2068a8--)(_0x356dd4=_0x201d02[_0x2068a8])&&(_0x3c8306=_0x356dd4(_0x3c8306)||_0x3c8306);return _0x3c8306;},_0x38f860=(_0x4a9b97,_0x34b214)=>(_0x4ea1b5,_0x5e838a)=>_0x34b214(_0x4ea1b5,_0x5e838a,_0x4a9b97);_0x109107['DesktopCollaborationStatusDisplayController']=class extends _0x50b35f[_0x4a378c(0x1d3)]{constructor(_0x4ac4b4,_0x101c00,_0x381520,_0x2de093){const _0x418233=_0x4a378c;super(),_0x1fd125(this,_0x418233(0x1b7),new _0x342ed2[(_0x418233(0x2a0))](_0x550e9f[_0x418233(0x21c)][_0x418233(0x24b)])),(this[_0x418233(0x1c6)]=_0x4ac4b4,this[_0x418233(0x2b5)]=_0x101c00,this[_0x418233(0xd8)]=_0x381520,this[_0x418233(0x2d5)]=_0x2de093,this[_0x418233(0x106)](),this['_initStatusListener']());}[_0x4a378c(0x205)](){const _0x798cc4=_0x4a378c;this[_0x798cc4(0x9f)](this[_0x798cc4(0x1c6)][_0x798cc4(0x235)][_0x798cc4(0x24e)](_0x342ed2['switchMap'](()=>{const _0x4a596d=_0x798cc4,_0x4f1b4d=this[_0x4a596d(0x1c6)][_0x4a596d(0x300)]();return _0x4f1b4d?this[_0x4a596d(0xd8)]['getCollabEntity$'](_0x4f1b4d[_0x4a596d(0x298)]()):_0x342ed2['of'](null);}),_0x342ed2['switchMap'](_0x22bf32=>_0x22bf32?_0x22bf32[_0x798cc4(0x257)]:_0x342ed2['of'](_0x550e9f[_0x798cc4(0x21c)][_0x798cc4(0x24b)])))[_0x798cc4(0x1a5)](_0x58889c=>{const _0x52efae=_0x798cc4;this['_status$'][_0x52efae(0xe7)](_0x58889c);}));}[_0x4a378c(0x106)](){const _0x37ae84=_0x4a378c;this[_0x37ae84(0x9f)](this[_0x37ae84(0x2d5)][_0x37ae84(0x198)](_0x2a4c6a['BuiltInUIPart'][_0x37ae84(0x265)],()=>_0x2a4c6a['connectInjector'](_0x4807d7({'status$':this[_0x37ae84(0x1b7)]['asObservable']()}),this[_0x37ae84(0x2b5)])));}},_0x109107[_0x4a378c(0x1c2)]=_0x57f198([_0x38f860(0x0,_0x50b35f[_0x4a378c(0xfb)]),_0x38f860(0x1,_0x50b35f['Inject'](_0x50b35f[_0x4a378c(0x29d)])),_0x38f860(0x2,_0x50b35f[_0x4a378c(0x135)](_0x550e9f[_0x4a378c(0x1f2)])),_0x38f860(0x3,_0x2a4c6a[_0x4a378c(0x22a)])],_0x109107[_0x4a378c(0x1c2)]);function _0x4807d7(_0x5094f6){const {status$:_0x46349}=_0x5094f6;return function(){return _0xd0be2f['jsx'](_0x51edff,{'status$':_0x46349});};}var _0x3082d9=Object[_0x4a378c(0x17c)],_0x565e6c=(_0x1d06cf,_0x3f95ee,_0x23be1d,_0x150dcd)=>{const _0x359cc6=_0x4a378c;for(var _0x1da8a3=_0x150dcd>0x1?void 0x0:_0x150dcd?_0x3082d9(_0x3f95ee,_0x23be1d):_0x3f95ee,_0x4487a5=_0x1d06cf[_0x359cc6(0x228)]-0x1,_0x5969b7;_0x4487a5>=0x0;_0x4487a5--)(_0x5969b7=_0x1d06cf[_0x4487a5])&&(_0x1da8a3=_0x5969b7(_0x1da8a3)||_0x1da8a3);return _0x1da8a3;},_0x4641ba=(_0x5d6f69,_0x44c543)=>(_0x4bd3e0,_0x50ec89)=>_0x44c543(_0x4bd3e0,_0x50ec89,_0x5d6f69);let _0x14e4db=class extends _0x50b35f[_0x4a378c(0x1d3)]{constructor(_0x490ea7,_0x3c5fcf,_0x410d40,_0x481530,_0x26e2f3,_0x3e2b64){const _0x4d18dd=_0x4a378c;super(),this[_0x4d18dd(0x32c)]=_0x490ea7,this['_localCacheService']=_0x3c5fcf,this['_collaborationUIEventService']=_0x410d40,this[_0x4d18dd(0x2dc)]=_0x481530,this[_0x4d18dd(0x1c8)]=_0x26e2f3,this[_0x4d18dd(0x2c0)]=_0x3e2b64,this[_0x4d18dd(0x133)](),this['_initEvent']();}[_0x4a378c(0x133)](){const _0x2924fa=_0x4a378c;this[_0x2924fa(0x9f)](this[_0x2924fa(0x32c)][_0x2924fa(0xdb)](()=>{const _0xd3a721=_0x2924fa;if(this[_0xd3a721(0x20a)][_0xd3a721(0x1d6)][_0xd3a721(0x232)])return this[_0xd3a721(0x2c0)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x4a378c(0xa8)](){const _0xf267d4=_0x4a378c;this[_0xf267d4(0x9f)](this[_0xf267d4(0x20b)][_0xf267d4(0x1e0)][_0xf267d4(0x1a5)](_0x595a1f=>{const _0xb485f6=_0xf267d4;_0x595a1f['id']===_0x550e9f[_0xb485f6(0x290)][_0xb485f6(0x161)]&&this[_0xb485f6(0x2dc)]['show']({'type':_0x2b5271[_0xb485f6(0x240)][_0xb485f6(0x195)],'content':this[_0xb485f6(0x2c0)]['t'](_0xb485f6(0x1b3))}),_0x595a1f['id']===_0x550e9f[_0xb485f6(0x290)][_0xb485f6(0x1e9)]&&this[_0xb485f6(0x2dc)]['show']({'type':_0x2b5271[_0xb485f6(0x240)][_0xb485f6(0x195)],'content':this[_0xb485f6(0x2c0)]['t'](_0xb485f6(0x201))}),_0x595a1f['id']===_0x550e9f[_0xb485f6(0x290)]['PERMISSION_DENIED']&&this['_notificationService'][_0xb485f6(0x9e)]({'title':this['_localeService']['t'](_0xb485f6(0x147)),'content':this['_localeService']['t'](_0xb485f6(0x322)),'type':_0xb485f6(0x206),'duration':0x0}),_0x595a1f['id']===_0x550e9f[_0xb485f6(0x290)][_0xb485f6(0x152)]&&this[_0xb485f6(0x2dc)][_0xb485f6(0x9e)]({'type':_0x2b5271[_0xb485f6(0x240)]['Error'],'content':this['_localeService']['t'](_0xb485f6(0x201))+'('+_0x595a1f['data']+')'}),_0x595a1f['id']===_0x550e9f[_0xb485f6(0x290)]['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x2b5271[_0xb485f6(0x240)]['Warning'],'content':this['_localeService']['t'](_0x595a1f[_0xb485f6(0x1d2)]||'')}),_0x595a1f['id']===_0x550e9f['CollaborationUIEventId'][_0xb485f6(0xf0)]&&this[_0xb485f6(0x2dc)][_0xb485f6(0x9e)]({'type':_0x2b5271[_0xb485f6(0x240)][_0xb485f6(0x195)],'content':this['_localeService']['t'](_0xb485f6(0x120))}),_0x595a1f['id']===_0x550e9f[_0xb485f6(0x290)][_0xb485f6(0x2c9)]&&this['_messageService']['show']({'type':_0x2b5271[_0xb485f6(0x240)][_0xb485f6(0x1a9)],'content':this['_localeService']['t']('session.connection-failed')}),_0x595a1f['id']===_0x550e9f[_0xb485f6(0x290)][_0xb485f6(0x2a6)]&&this[_0xb485f6(0x2dc)][_0xb485f6(0x9e)]({'type':_0x2b5271[_0xb485f6(0x240)]['Error'],'content':this[_0xb485f6(0x2c0)]['t'](_0xb485f6(0x2bc))});}));}};_0x14e4db=_0x565e6c([_0x4641ba(0x0,_0x2a4c6a[_0x4a378c(0x2a3)]),_0x4641ba(0x1,_0x550e9f[_0x4a378c(0x25d)]),_0x4641ba(0x2,_0x50b35f[_0x4a378c(0x135)](_0x550e9f[_0x4a378c(0x148)])),_0x4641ba(0x3,_0x2a4c6a['IMessageService']),_0x4641ba(0x4,_0x2a4c6a[_0x4a378c(0x91)]),_0x4641ba(0x5,_0x50b35f[_0x4a378c(0x135)](_0x50b35f['LocaleService']))],_0x14e4db);const _0x63aea2=_0x4a378c(0x218),_0x50434e={},_0x303320=_0x50b35f['createIdentifier']('uni.network.url-service');var _0x364df0=Object[_0x4a378c(0x17c)],_0x884e22=(_0x30f628,_0x43061b,_0xc1a7f8,_0x45435d)=>{for(var _0x2219ca=_0x45435d>0x1?void 0x0:_0x45435d?_0x364df0(_0x43061b,_0xc1a7f8):_0x43061b,_0x2fbb9f=_0x30f628['length']-0x1,_0x2def7e;_0x2fbb9f>=0x0;_0x2fbb9f--)(_0x2def7e=_0x30f628[_0x2fbb9f])&&(_0x2219ca=_0x2def7e(_0x2219ca)||_0x2219ca);return _0x2219ca;},_0x1d6b33=(_0x58c316,_0x18e9eb)=>(_0x55e4f6,_0x401083)=>_0x18e9eb(_0x55e4f6,_0x401083,_0x58c316);_0x109107[_0x4a378c(0x1ab)]=class extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(_0x4f52b9,_0x1f7393,_0x194d09,_0x45c0f5,_0x2939e1){const _0xb73a29=_0x4a378c;super(),this[_0xb73a29(0x1cf)]=_0x4f52b9,this['_logService']=_0x1f7393,this[_0xb73a29(0x28f)]=_0x194d09,this['_dataLoaderService']=_0x45c0f5,_0x2939e1?_0x2939e1==null||_0x2939e1['whenReady']()[_0xb73a29(0x1cb)](()=>this['_init']()):(this['_logService'][_0xb73a29(0x10e)](_0xb73a29(0x2d4),_0xb73a29(0x325)),this[_0xb73a29(0x21e)]());}async[_0x4a378c(0x21e)](){const _0x5bec87=_0x4a378c,_0x4ed850=this['_urlService']['getParam'](_0x5bec87(0xbd)),_0x4a812c=this[_0x5bec87(0x1cf)][_0x5bec87(0x2c2)](_0x5bec87(0xfc)),_0x23a132=this[_0x5bec87(0x1cf)][_0x5bec87(0x2c2)](_0x5bec87(0xd3));if(!_0x4ed850||!_0x4a812c){this[_0x5bec87(0x10d)][_0x5bec87(0x10e)](_0x5bec87(0x2d4),_0x5bec87(0x9b));return;}const _0x4aa943=await this['_dataLoaderService'][_0x5bec87(0x287)](_0x4ed850,Number(_0x4a812c),_0x23a132);_0x4aa943&&_0x4aa943 instanceof _0x50b35f[_0x5bec87(0x139)]&&this[_0x5bec87(0x19a)](_0x4aa943);}async['_setupSubUnitSync'](_0x3c0e52){const _0x16ce49=_0x4a378c;await this[_0x16ce49(0x2fe)](_0x3c0e52),_0x3c0e52['activeSheet$'][_0x16ce49(0x24e)](_0x342ed2[_0x16ce49(0x2fa)](this[_0x16ce49(0x25b)]))[_0x16ce49(0x1a5)](_0x431df9=>{const _0x834eb=_0x16ce49;_0x431df9&&this[_0x834eb(0xb1)](_0x431df9);}),this[_0x16ce49(0x1cf)][_0x16ce49(0x311)][_0x16ce49(0x24e)](_0x342ed2[_0x16ce49(0x2fa)](this[_0x16ce49(0x25b)]))[_0x16ce49(0x1a5)](()=>this[_0x16ce49(0x2fe)](_0x3c0e52));}[_0x4a378c(0xb1)](_0xb52ee5,_0xdd128a=!0x1){const _0x470e7d=_0x4a378c,_0x4c621f=this[_0x470e7d(0x1cf)][_0x470e7d(0x2c2)](_0x470e7d(0xd3));_0xb52ee5[_0x470e7d(0x224)]()!==_0x4c621f&&this[_0x470e7d(0x1cf)][_0x470e7d(0x145)](_0x470e7d(0xd3),_0xb52ee5[_0x470e7d(0x224)](),_0xdd128a);}async[_0x4a378c(0x2fe)](_0x20acd2){const _0x21302e=_0x4a378c;var _0x122c0e;const _0x1df8bb=this[_0x21302e(0x1cf)][_0x21302e(0x2c2)](_0x21302e(0xd3));if(!_0x1df8bb||!_0x20acd2[_0x21302e(0x28a)](_0x1df8bb)){const _0x5a2b6d=_0x20acd2['getUnhiddenWorksheets']()[0x0],_0x18ed20=_0x20acd2[_0x21302e(0x28a)](_0x5a2b6d);if(!_0x18ed20)return;this[_0x21302e(0xb1)](_0x18ed20,!0x0),await this['_commandService'][_0x21302e(0x313)](_0x26ee19[_0x21302e(0x18c)]['id'],{'unitId':_0x20acd2[_0x21302e(0x298)](),'subUnitId':_0x5a2b6d});return;}((_0x122c0e=_0x20acd2['getActiveSheet']())==null?void 0x0:_0x122c0e['getSheetId']())!==_0x1df8bb&&await this[_0x21302e(0x28f)][_0x21302e(0x313)](_0x26ee19[_0x21302e(0x18c)]['id'],{'unitId':_0x20acd2['getUnitId'](),'subUnitId':_0x1df8bb});}},_0x109107[_0x4a378c(0x1ab)]=_0x884e22([_0x1d6b33(0x0,_0x303320),_0x1d6b33(0x1,_0x50b35f['ILogService']),_0x1d6b33(0x2,_0x50b35f['ICommandService']),_0x1d6b33(0x3,_0x50b35f[_0x4a378c(0x135)](_0x550e9f[_0x4a378c(0xeb)])),_0x1d6b33(0x4,_0x50b35f[_0x4a378c(0x26c)](_0x24d803['IRemoteInstanceService']))],_0x109107[_0x4a378c(0x1ab)]);var _0xe1cb1d=Object[_0x4a378c(0x17c)],_0x4d596a=(_0x372b14,_0x4500f1,_0x19ec7f,_0x55cbfb)=>{const _0x5bad73=_0x4a378c;for(var _0x549d67=_0x55cbfb>0x1?void 0x0:_0x55cbfb?_0xe1cb1d(_0x4500f1,_0x19ec7f):_0x4500f1,_0x175d1b=_0x372b14[_0x5bad73(0x228)]-0x1,_0x4d57aa;_0x175d1b>=0x0;_0x175d1b--)(_0x4d57aa=_0x372b14[_0x175d1b])&&(_0x549d67=_0x4d57aa(_0x549d67)||_0x549d67);return _0x549d67;},_0xa4b9dc=(_0x414e81,_0x188c4f)=>(_0x2e1788,_0x543bf6)=>_0x188c4f(_0x2e1788,_0x543bf6,_0x414e81);let _0x31e6e1=class{constructor(_0x10df5d,_0x5c4c0b,_0x2801b5){const _0x1a33a5=_0x4a378c;this[_0x1a33a5(0x2b5)]=_0x10df5d,this[_0x1a33a5(0x14c)]=_0x5c4c0b,this['_renderManagerService']=_0x2801b5;}[_0x4a378c(0x170)](_0x4b1060){const _0x432b62=_0x4a378c;this[_0x432b62(0x20c)](_0x4b1060),this['_transformPreviousActiveRange'](_0x4b1060);}[_0x4a378c(0x200)](_0x3ef74e){const _0x1c0ca3=_0x4a378c,{unitID:_0x42a1c3}=_0x3ef74e,_0x21724c=this[_0x1c0ca3(0xa4)][_0x1c0ca3(0x19e)](_0x42a1c3)[_0x1c0ca3(0x19f)](_0x560a64[_0x1c0ca3(0x132)]),{redoCache:_0x56e86b}=_0x21724c[_0x1c0ca3(0x323)]();if(_0x56e86b[_0x1c0ca3(0x228)]===0x0)return _0x3ef74e;let _0x36cfa1=_0x50b35f[_0x1c0ca3(0x2af)]['deepClone'](_0x3ef74e[_0x1c0ca3(0x2e4)][0x0]);for(let _0x599b88=0x0;_0x599b88<_0x56e86b[_0x1c0ca3(0x228)];_0x599b88++){const _0x47ff80={'id':_0x1c0ca3(0x223),'params':{..._0x56e86b[_0x599b88]}},_0xd3cc9=this['_transformService'][_0x1c0ca3(0x154)](_0x36cfa1,_0x47ff80,!0x1);if(_0x9298ea[_0x1c0ca3(0xa7)](_0xd3cc9))throw _0xd3cc9[_0x1c0ca3(0x206)];_0x36cfa1=_0xd3cc9[_0x1c0ca3(0x30b)];}return{..._0x50b35f[_0x1c0ca3(0x2af)][_0x1c0ca3(0x117)](_0x3ef74e),'mutations':[_0x36cfa1]};}[_0x4a378c(0x20c)](_0x1d1213){const _0x94669e=_0x4a378c,{unitID:_0x1955b4}=_0x1d1213,_0x1fbaec=this[_0x94669e(0xa4)][_0x94669e(0x19e)](_0x1955b4)[_0x94669e(0x19f)](_0x560a64[_0x94669e(0x132)]),{undoCache:_0x333ec1,redoCache:_0x86f251}=_0x1fbaec[_0x94669e(0x323)]();if(_0x333ec1[_0x94669e(0x228)]===0x0||_0x86f251['length']===0x0)return;const _0x3cf48f=[],_0x39b92d=[];let _0x392c53=_0x50b35f[_0x94669e(0x2af)][_0x94669e(0x117)](_0x1d1213[_0x94669e(0x2e4)][0x0]),_0x3ba6ff=_0x50b35f[_0x94669e(0x2af)]['deepClone'](_0x1d1213[_0x94669e(0x2e4)][0x0]);for(let _0x4a4abb=_0x333ec1['length']-0x1;_0x4a4abb>=0x0;_0x4a4abb--){const _0x39e59e={'id':_0x94669e(0x223),'params':{..._0x333ec1[_0x4a4abb]}},_0x562b73={'id':_0x94669e(0x223),'params':{..._0x86f251[_0x4a4abb]}},_0xc0624b=this[_0x94669e(0x14c)]['transformMutation'](_0x392c53,_0x39e59e,!0x1),_0x36cd33=this['_transformService'][_0x94669e(0x154)](_0x3ba6ff,_0x562b73,!0x1);if(_0x9298ea['isTransformMutationFailure'](_0xc0624b))throw _0xc0624b['error'];if(_0x9298ea[_0x94669e(0xa7)](_0x36cd33))throw _0x36cd33[_0x94669e(0x206)];_0x3cf48f['unshift'](_0xc0624b[_0x94669e(0x2a5)][_0x94669e(0x196)]),_0x39b92d[_0x94669e(0x2bf)](_0x36cd33[_0x94669e(0x2a5)][_0x94669e(0x196)]),_0x392c53=_0xc0624b['m1Prime'],_0x3ba6ff=_0x36cd33[_0x94669e(0x30b)];}_0x1fbaec[_0x94669e(0x11c)]({'undoCache':_0x3cf48f,'redoCache':_0x39b92d});}['_transformPreviousActiveRange'](_0x127501){const _0x26c7b7=_0x4a378c,{unitID:_0x5d79a5}=_0x127501,_0x58f903=this[_0x26c7b7(0xa4)][_0x26c7b7(0x19e)](_0x5d79a5)[_0x26c7b7(0x19f)](_0x560a64[_0x26c7b7(0x132)]),_0x2e8b5c=_0x58f903[_0x26c7b7(0x1cd)]();if(_0x2e8b5c==null)return;const _0x439167=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x127501[_0x26c7b7(0x14b)],'actions':null,'textRanges':[_0x2e8b5c]}}],_0x25506e=this[_0x26c7b7(0x14c)][_0x26c7b7(0x1cc)](_0x127501,_0x439167);if(!_0x9298ea[_0x26c7b7(0x172)](_0x25506e))throw _0x25506e['error'];const _0x49d2c8=_0x25506e[_0x26c7b7(0x2a5)][0x0][_0x26c7b7(0x196)][_0x26c7b7(0x189)];Array[_0x26c7b7(0x2dd)](_0x49d2c8)&&_0x49d2c8[_0x26c7b7(0x228)]&&_0x58f903[_0x26c7b7(0x285)](_0x49d2c8[0x0]);}};_0x31e6e1=_0x4d596a([_0xa4b9dc(0x0,_0x50b35f[_0x4a378c(0x135)](_0x50b35f['Injector'])),_0xa4b9dc(0x1,_0x9298ea[_0x4a378c(0x238)]),_0xa4b9dc(0x2,_0x1083d9[_0x4a378c(0x13c)])],_0x31e6e1);var _0x31f100=Object[_0x4a378c(0x17c)],_0x5e66c3=(_0x1914b7,_0x954215,_0x4b9a8b,_0x493c28)=>{const _0x35fee3=_0x4a378c;for(var _0x3f6e2d=_0x493c28>0x1?void 0x0:_0x493c28?_0x31f100(_0x954215,_0x4b9a8b):_0x954215,_0x371081=_0x1914b7[_0x35fee3(0x228)]-0x1,_0x3aca82;_0x371081>=0x0;_0x371081--)(_0x3aca82=_0x1914b7[_0x371081])&&(_0x3f6e2d=_0x3aca82(_0x3f6e2d)||_0x3f6e2d);return _0x3f6e2d;},_0x2b1d42=(_0x2fcd8a,_0x22a0c7)=>(_0x1c04d4,_0x22d7ec)=>_0x22a0c7(_0x1c04d4,_0x22d7ec,_0x2fcd8a);let _0xaa28e3=class{constructor(_0x2ff817,_0x58e4cb,_0x4b930b){const _0x231955=_0x4a378c;this[_0x231955(0x2b5)]=_0x2ff817,this['_transformService']=_0x58e4cb,this[_0x231955(0x14e)]=_0x4b930b;}[_0x4a378c(0x197)](_0x17ed5f){const _0x51635d=_0x4a378c;this[_0x51635d(0x2e9)](_0x17ed5f);}['transformRemoteChangeset'](_0x172744){const _0x4b9682=_0x4a378c,{unitID:_0x21bfcf}=_0x172744,{collaboration:_0x347552}=this[_0x4b9682(0x14e)]['getStateCache'](_0x21bfcf);if(_0x347552[_0x4b9682(0x228)]===0x0)return _0x172744;let _0x31b26e=_0x50b35f[_0x4b9682(0x2af)][_0x4b9682(0x117)](_0x172744[_0x4b9682(0x2e4)][0x0]);for(let _0x3a671e=0x0;_0x3a671e<_0x347552[_0x4b9682(0x228)];_0x3a671e++){const _0x5080e8={'id':_0x4b9682(0x223),'params':{'unitId':_0x347552[_0x3a671e][_0x4b9682(0x264)],..._0x347552[_0x3a671e][_0x4b9682(0x26e)]}},_0x56fd55=this[_0x4b9682(0x14c)]['transformMutation'](_0x31b26e,_0x5080e8,!0x1);if(_0x9298ea['isTransformMutationFailure'](_0x56fd55))throw _0x56fd55[_0x4b9682(0x206)];_0x31b26e=_0x56fd55[_0x4b9682(0x30b)];}return{..._0x50b35f[_0x4b9682(0x2af)][_0x4b9682(0x117)](_0x172744),'mutations':[_0x31b26e]};}[_0x4a378c(0x2e9)](_0x19d45b){const _0x2e24e0=_0x4a378c,{unitID:_0xff9c6d}=_0x19d45b,{history:_0x57dac5,collaboration:_0x35307f}=this[_0x2e24e0(0x14e)][_0x2e24e0(0xff)](_0xff9c6d);if(_0x57dac5[_0x2e24e0(0x228)]===0x0&&_0x35307f[_0x2e24e0(0x228)]===0x0)return;const _0xe2efdc=[],_0x1c86f6=[];let _0x4b92cb=_0x50b35f[_0x2e24e0(0x2af)][_0x2e24e0(0x117)](_0x19d45b[_0x2e24e0(0x2e4)][0x0]),_0x29e7ec=_0x50b35f['Tools'][_0x2e24e0(0x117)](_0x19d45b[_0x2e24e0(0x2e4)][0x0]);for(let _0x1c2539=_0x57dac5[_0x2e24e0(0x228)]-0x1;_0x1c2539>=0x0;_0x1c2539--){const _0x51aa72={'id':_0x2e24e0(0x223),'params':{'unitId':_0x57dac5[_0x1c2539]['unitId'],..._0x57dac5[_0x1c2539][_0x2e24e0(0x2c8)]}},_0x48599c={'id':_0x2e24e0(0x223),'params':{'unitId':_0x57dac5[_0x1c2539]['unitId'],..._0x57dac5[_0x1c2539]['redoState']}},_0x21bd10=this[_0x2e24e0(0x14c)]['transformMutation'](_0x4b92cb,_0x51aa72,!0x1),_0x121c74=this[_0x2e24e0(0x14c)][_0x2e24e0(0x154)](_0x29e7ec,_0x48599c,!0x1);if(_0x9298ea[_0x2e24e0(0xa7)](_0x21bd10))throw _0x21bd10[_0x2e24e0(0x206)];if(_0x9298ea['isTransformMutationFailure'](_0x121c74))throw _0x121c74[_0x2e24e0(0x206)];_0xe2efdc['unshift']({..._0x57dac5[_0x1c2539],'undoState':_0x21bd10[_0x2e24e0(0x2a5)][_0x2e24e0(0x196)],'redoState':_0x121c74['m2Prime'][_0x2e24e0(0x196)]}),_0x4b92cb=_0x21bd10[_0x2e24e0(0x30b)],_0x29e7ec=_0x121c74['m1Prime'];}_0x4b92cb=_0x50b35f[_0x2e24e0(0x2af)]['deepClone'](_0x19d45b[_0x2e24e0(0x2e4)][0x0]),_0x29e7ec=_0x50b35f[_0x2e24e0(0x2af)][_0x2e24e0(0x117)](_0x19d45b[_0x2e24e0(0x2e4)][0x0]);for(let _0x9ebab=_0x35307f[_0x2e24e0(0x228)]-0x1;_0x9ebab>=0x0;_0x9ebab--){const _0x23ea46={'id':_0x2e24e0(0x223),'params':{'unitId':_0x35307f[_0x9ebab][_0x2e24e0(0x264)],..._0x35307f[_0x9ebab][_0x2e24e0(0x2c8)]}},_0x1a5ff0={'id':_0x2e24e0(0x223),'params':{'unitId':_0x35307f[_0x9ebab][_0x2e24e0(0x264)],..._0x35307f[_0x9ebab][_0x2e24e0(0x26e)]}},_0x6e4b79=this[_0x2e24e0(0x14c)][_0x2e24e0(0x154)](_0x4b92cb,_0x23ea46,!0x1),_0x703ebc=this[_0x2e24e0(0x14c)]['transformMutation'](_0x29e7ec,_0x1a5ff0,!0x1);if(_0x9298ea['isTransformMutationFailure'](_0x6e4b79))throw _0x6e4b79[_0x2e24e0(0x206)];if(_0x9298ea[_0x2e24e0(0xa7)](_0x703ebc))throw _0x703ebc[_0x2e24e0(0x206)];_0x1c86f6[_0x2e24e0(0x2bf)]({..._0x35307f[_0x9ebab],'undoState':_0x6e4b79[_0x2e24e0(0x2a5)][_0x2e24e0(0x196)],'redoState':_0x703ebc[_0x2e24e0(0x2a5)][_0x2e24e0(0x196)]}),_0x4b92cb=_0x6e4b79['m1Prime'],_0x29e7ec=_0x703ebc['m1Prime'];}this[_0x2e24e0(0x14e)]['setStateCache'](_0xff9c6d,{'history':_0xe2efdc,'collaboration':_0x1c86f6});}};_0xaa28e3=_0x5e66c3([_0x2b1d42(0x0,_0x50b35f[_0x4a378c(0x135)](_0x50b35f[_0x4a378c(0x29d)])),_0x2b1d42(0x1,_0x9298ea[_0x4a378c(0x238)]),_0x2b1d42(0x2,_0x50b35f[_0x4a378c(0x135)](_0x560a64['DocStateChangeManagerService']))],_0xaa28e3);var _0x244db0=Object['getOwnPropertyDescriptor'],_0x23fc5f=(_0x40c8a2,_0x24024a,_0x4bb4d7,_0x4ef800)=>{const _0xf3a75=_0x4a378c;for(var _0x3e7abd=_0x4ef800>0x1?void 0x0:_0x4ef800?_0x244db0(_0x24024a,_0x4bb4d7):_0x24024a,_0x5cf5d4=_0x40c8a2[_0xf3a75(0x228)]-0x1,_0x51db91;_0x5cf5d4>=0x0;_0x5cf5d4--)(_0x51db91=_0x40c8a2[_0x5cf5d4])&&(_0x3e7abd=_0x51db91(_0x3e7abd)||_0x3e7abd);return _0x3e7abd;},_0x57c72d=(_0x40f525,_0x2c02e3)=>(_0xa286b8,_0x298ef3)=>_0x2c02e3(_0xa286b8,_0x298ef3,_0x40f525);let _0x1af193=class{constructor(_0x538cf5,_0x3848a1){const _0x3b6c9a=_0x4a378c;this[_0x3b6c9a(0x2b5)]=_0x538cf5,this[_0x3b6c9a(0x14c)]=_0x3848a1;}[_0x4a378c(0x11f)](_0x486604){const _0x5057ff=_0x4a378c;var _0x3a6709;const _0x4837e2=this['_injector']['get'](_0xa2e49e[_0x5057ff(0xac)]),_0x39ad0c=(_0x3a6709=_0x4837e2['getDocRanges']())!=null?_0x3a6709:[];if(_0x39ad0c[_0x5057ff(0x228)]===0x0)return;const _0x51e892=_0x486604[_0x5057ff(0x14b)],_0x9b96ca=[{'id':_0x5057ff(0x223),'params':{'unitId':_0x51e892,'actions':null,'textRanges':_0x39ad0c}}],_0x1a2e66=this[_0x5057ff(0x14c)][_0x5057ff(0x1cc)](_0x486604,_0x9b96ca);if(!_0x9298ea[_0x5057ff(0x172)](_0x1a2e66))throw _0x1a2e66[_0x5057ff(0x206)];const _0x38de49=_0x1a2e66[_0x5057ff(0x2a5)][0x0][_0x5057ff(0x196)][_0x5057ff(0x189)];Array[_0x5057ff(0x2dd)](_0x38de49)&&_0x38de49[_0x5057ff(0x228)]&&_0x4837e2[_0x5057ff(0x1ba)](_0x38de49,{'unitId':_0x51e892,'subUnitId':_0x51e892},!0x1);}};_0x1af193=_0x23fc5f([_0x57c72d(0x0,_0x50b35f[_0x4a378c(0x135)](_0x50b35f['Injector'])),_0x57c72d(0x1,_0x9298ea['ITransformService'])],_0x1af193);var _0x211be2=Object[_0x4a378c(0x17c)],_0x2ae34b=(_0x5c2e5b,_0x353996,_0x3d8069,_0xbab25c)=>{const _0x5d5f3d=_0x4a378c;for(var _0x75055e=_0xbab25c>0x1?void 0x0:_0xbab25c?_0x211be2(_0x353996,_0x3d8069):_0x353996,_0x5525cf=_0x5c2e5b[_0x5d5f3d(0x228)]-0x1,_0xcca5e5;_0x5525cf>=0x0;_0x5525cf--)(_0xcca5e5=_0x5c2e5b[_0x5525cf])&&(_0x75055e=_0xcca5e5(_0x75055e)||_0x75055e);return _0x75055e;},_0x2874fa=(_0x342624,_0x59fc73)=>(_0x4240c0,_0x1f6083)=>_0x59fc73(_0x4240c0,_0x1f6083,_0x342624);let _0x13368b=class extends _0x50b35f['Disposable']{constructor(_0x49ddfc,_0x4fd8f6,_0x68841d,_0x38218e,_0x39793e,_0x1fe295,_0x3bc540,_0x4eee05){const _0x4b75c5=_0x4a378c;super(),_0x1fd125(this,_0x4b75c5(0x1b7),new _0x342ed2['BehaviorSubject'](_0x550e9f[_0x4b75c5(0x21c)][_0x4b75c5(0x24b)])),(this[_0x4b75c5(0x14e)]=_0x49ddfc,this[_0x4b75c5(0xd8)]=_0x4fd8f6,this[_0x4b75c5(0x1bf)]=_0x68841d,this['_docTransformStateCacheService']=_0x38218e,this[_0x4b75c5(0x2ad)]=_0x39793e,this[_0x4b75c5(0x20d)]=_0x1fe295,this['_messageService']=_0x3bc540,this[_0x4b75c5(0x2c0)]=_0x4eee05,this[_0x4b75c5(0x21f)]());}[_0x4a378c(0x21f)](){const _0xe869e1=_0x4a378c;this[_0xe869e1(0x9f)](this[_0xe869e1(0xd8)][_0xe869e1(0x2b6)][_0xe869e1(0x1a5)](_0xfe05d=>{const _0x36c297=_0xe869e1,_0x370baf=this[_0x36c297(0x14e)][_0x36c297(0x21b)][_0x36c297(0x1a5)](_0x15fbdc=>{const _0x2d5984=_0x36c297;if(_0x15fbdc==null)return;const {unitId:_0x1c3af5,redoState:_0x50bd65,commandId:_0x43b6da}=_0x15fbdc;if(_0x1c3af5!==_0xfe05d[_0x2d5984(0x14b)])return;const _0x4639aa={'id':_0x43b6da,'type':_0x50b35f['CommandType'][_0x2d5984(0x173)],'params':{'unitId':_0x1c3af5,'actions':_0x50bd65['actions'],'textRanges':null}};_0xfe05d[_0x2d5984(0x1be)](_0x4639aa);});if(_0xfe05d[_0x36c297(0x9f)](_0x370baf),_0xfe05d instanceof _0x550e9f[_0x36c297(0x241)]){const _0x266d20={'onTransformIME':_0x19d4dc=>this[_0x36c297(0x1bf)][_0x36c297(0x170)](_0x19d4dc),'onTransformState':_0x5b3fe5=>this[_0x36c297(0x2bd)][_0x36c297(0x197)](_0x5b3fe5),'onTransformSelections':_0x1b1d1f=>this[_0x36c297(0x2ad)]['transformSelections'](_0x1b1d1f),'onSyncEditingCollabCursor':_0x462f80=>this['_docSyncEditingCollabCursorService'][_0x36c297(0xfe)](_0x462f80),'onTransformRemoteChangesetByIMECache':_0x26c18a=>this[_0x36c297(0x1bf)][_0x36c297(0x200)](_0x26c18a),'onTransformRemoteChangesetByStateCache':_0x4dab61=>this[_0x36c297(0x2bd)][_0x36c297(0x200)](_0x4dab61)};_0xfe05d[_0x36c297(0x2ff)](_0x266d20);}}));}};_0x13368b=_0x2ae34b([_0x2874fa(0x0,_0x50b35f[_0x4a378c(0x135)](_0x560a64['DocStateChangeManagerService'])),_0x2874fa(0x1,_0x50b35f[_0x4a378c(0x135)](_0x550e9f[_0x4a378c(0x1f2)])),_0x2874fa(0x2,_0x50b35f[_0x4a378c(0x135)](_0x31e6e1)),_0x2874fa(0x3,_0x50b35f[_0x4a378c(0x135)](_0xaa28e3)),_0x2874fa(0x4,_0x50b35f[_0x4a378c(0x135)](_0x1af193)),_0x2874fa(0x5,_0x50b35f[_0x4a378c(0x135)](_0x5773b5)),_0x2874fa(0x6,_0x2a4c6a[_0x4a378c(0x27d)]),_0x2874fa(0x7,_0x50b35f[_0x4a378c(0x135)](_0x50b35f[_0x4a378c(0x159)]))],_0x13368b);var _0x248fba=Object[_0x4a378c(0x17c)],_0x1de93e=(_0x31f1c1,_0x8e9c70,_0x3721f5,_0x1ef9fd)=>{for(var _0x208d91=_0x1ef9fd>0x1?void 0x0:_0x1ef9fd?_0x248fba(_0x8e9c70,_0x3721f5):_0x8e9c70,_0x4a5e7c=_0x31f1c1['length']-0x1,_0x2b8fb4;_0x4a5e7c>=0x0;_0x4a5e7c--)(_0x2b8fb4=_0x31f1c1[_0x4a5e7c])&&(_0x208d91=_0x2b8fb4(_0x208d91)||_0x208d91);return _0x208d91;},_0x514385=(_0xbed812,_0x2e37c3)=>(_0xacd1a2,_0x11c27a)=>_0x2e37c3(_0xacd1a2,_0x11c27a,_0xbed812);let _0x41ed80=class extends _0x50b35f[_0x4a378c(0x1d3)]{constructor(_0x3b6794,_0x45df8f,_0x298f14){const _0x40b00a=_0x4a378c;super(),_0x1fd125(this,_0x40b00a(0x16b),new Map()),_0x1fd125(this,'_saveTaskMap',new Map()),_0x1fd125(this,'_disabled',!0x1),(this['_configService']=_0x3b6794,this[_0x40b00a(0x16a)]=_0x45df8f,this[_0x40b00a(0x123)]=_0x298f14);}['disableLocalCache'](){const _0x8b5e90=_0x4a378c;this[_0x8b5e90(0x105)]=!0x0;}[_0x4a378c(0x10a)](){this['_disabled']=!0x1;}get[_0x4a378c(0x1d6)](){const _0xca4a19=_0x4a378c;return this[_0xca4a19(0x19d)];}[_0x4a378c(0x303)](){const _0x280b63=_0x4a378c;this[_0x280b63(0x231)]()[_0x280b63(0x1cb)](()=>super[_0x280b63(0x303)]());}async['loadOfflineData'](_0x1663d8){const _0x48b648=_0x4a378c;return this[_0x48b648(0x105)]?null:this[_0x48b648(0x16a)][_0x48b648(0x215)](_0x550e9f[_0x48b648(0x2e7)](_0x1663d8));}async['saveOfflineData'](_0x1e7341,_0x4d5296){const _0x5a5889=_0x4a378c;return!!this[_0x5a5889(0x16a)]['setItem'](_0x1e7341,_0x4d5296);}['updateOfflineData'](_0x38b267,_0x24093e,_0x36e789,_0x10062b){const _0x52f28b=_0x4a378c,_0x59787f=this[_0x52f28b(0x123)][_0x52f28b(0x31b)](_0x38b267);this[_0x52f28b(0x16b)]['set'](_0x38b267,{'unitID':_0x38b267,'type':_0x24093e,'awaitingChangeset':_0x36e789,'mutations':_0x10062b,'rev':_0x59787f}),this[_0x52f28b(0x19d)]['has'](_0x38b267)||this[_0x52f28b(0x23d)](_0x38b267);}[_0x4a378c(0x23d)](_0x204af0){const _0x1bea69=_0x4a378c,_0x35656b=this[_0x1bea69(0x111)]();_0x35656b===0x0?this[_0x1bea69(0x1db)](_0x204af0):this[_0x1bea69(0x19d)]['set'](_0x204af0,setTimeout(()=>this['_saveCache'](_0x204af0),_0x35656b));}[_0x4a378c(0x111)](){const _0x20e85e=_0x4a378c;var _0x45cd1d;return(_0x45cd1d=this[_0x20e85e(0x222)]['getConfig'](_0x550e9f['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x45cd1d:_0x550e9f['LOCAL_CACHE_INTERVAL'];}[_0x4a378c(0x1db)](_0x404be2){const _0x1491de=_0x4a378c,_0x5aeeca=this[_0x1491de(0x19d)][_0x1491de(0x14f)](_0x404be2);return _0x5aeeca!==void 0x0&&window[_0x1491de(0x31a)](_0x5aeeca),this[_0x1491de(0x16a)][_0x1491de(0x288)](_0x550e9f[_0x1491de(0x2e7)](_0x404be2),this[_0x1491de(0x16b)][_0x1491de(0x14f)](_0x404be2))[_0x1491de(0x1cb)](()=>this[_0x1491de(0x19d)][_0x1491de(0x22d)](_0x404be2));}async[_0x4a378c(0x231)](){const _0x57909e=_0x4a378c,_0x22a855=[];this[_0x57909e(0x19d)]['forEach']((_0x294bc9,_0x17bb53)=>{const _0x53dfa4=_0x57909e;window[_0x53dfa4(0x31a)](_0x294bc9),_0x22a855['push'](this[_0x53dfa4(0x1db)](_0x17bb53)[_0x53dfa4(0x1cb)](()=>{this['_saveTaskMap']['delete'](_0x17bb53);}));}),await Promise['all'](_0x22a855);}};_0x41ed80=_0x1de93e([_0x514385(0x0,_0x50b35f[_0x4a378c(0x1eb)]),_0x514385(0x1,_0x50b35f['ILocalStorageService']),_0x514385(0x2,_0x50b35f['Inject'](_0x9298ea[_0x4a378c(0x11a)]))],_0x41ed80);class _0x37699a extends _0x50b35f[_0x4a378c(0x2f2)]{constructor(){const _0x3cf9fe=_0x4a378c;super(),_0x1fd125(this,_0x3cf9fe(0x311)),this[_0x3cf9fe(0x311)]=_0x342ed2['fromEvent'](window,_0x3cf9fe(0x1a6))['pipe'](_0x342ed2['takeUntil'](this[_0x3cf9fe(0x25b)]),_0x342ed2[_0x3cf9fe(0x239)](0x1),_0x342ed2['mapTo'](void 0x0));}[_0x4a378c(0x145)](_0x4f743f,_0x4b2a8a,_0x38759a=!0x1){const _0x4c9eb0=_0x4a378c,_0x409bc8=new URL(window[_0x4c9eb0(0x101)][_0x4c9eb0(0x302)]);_0x409bc8[_0x4c9eb0(0x217)][_0x4c9eb0(0x1fd)](_0x4f743f,_0x4b2a8a),_0x38759a?window[_0x4c9eb0(0x2ef)][_0x4c9eb0(0xc2)]('','',_0x409bc8[_0x4c9eb0(0x1f9)]()):window[_0x4c9eb0(0x2ef)][_0x4c9eb0(0x277)]('','',_0x409bc8[_0x4c9eb0(0x1f9)]());}[_0x4a378c(0x292)](_0x1edb92,_0x5bbc87=!0x1){const _0x1f81f1=_0x4a378c,_0x2483bb=new URL(window[_0x1f81f1(0x101)][_0x1f81f1(0x302)]);_0x2483bb[_0x1f81f1(0x217)][_0x1f81f1(0x22d)](_0x1edb92),_0x5bbc87?window[_0x1f81f1(0x2ef)]['replaceState']('','',_0x2483bb[_0x1f81f1(0x1f9)]()):window[_0x1f81f1(0x2ef)]['pushState']('','',_0x2483bb[_0x1f81f1(0x1f9)]());}['getParam'](_0x5575f8){const _0x31459c=_0x4a378c;var _0x2e2c59;return(_0x2e2c59=new URL(window[_0x31459c(0x101)][_0x31459c(0x302)])[_0x31459c(0x217)][_0x31459c(0x14f)](_0x5575f8))!=null?_0x2e2c59:void 0x0;}}var _0xad7724=Object[_0x4a378c(0x226)],_0x3459f0=Object['getOwnPropertyDescriptor'],_0x4dac54=(_0x54e9d6,_0x27ecfa,_0x2d2440)=>_0x27ecfa in _0x54e9d6?_0xad7724(_0x54e9d6,_0x27ecfa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d2440}):_0x54e9d6[_0x27ecfa]=_0x2d2440,_0x21ff75=(_0x483d0b,_0x9075d0,_0x218655,_0x1ca206)=>{const _0x3b08ee=_0x4a378c;for(var _0x585d52=_0x1ca206>0x1?void 0x0:_0x1ca206?_0x3459f0(_0x9075d0,_0x218655):_0x9075d0,_0x4b1c62=_0x483d0b[_0x3b08ee(0x228)]-0x1,_0x226481;_0x4b1c62>=0x0;_0x4b1c62--)(_0x226481=_0x483d0b[_0x4b1c62])&&(_0x585d52=_0x226481(_0x585d52)||_0x585d52);return _0x585d52;},_0x5aebf8=(_0x3c13b0,_0x428b0e)=>(_0x40a549,_0x57f558)=>_0x428b0e(_0x40a549,_0x57f558,_0x3c13b0),_0x35bc8d=(_0x20a042,_0x20150d,_0x4e801a)=>_0x4dac54(_0x20a042,_0x20150d+'',_0x4e801a);const _0x34721b=_0x4a378c(0x1b0);_0x109107[_0x4a378c(0x1f8)]=class extends _0x50b35f[_0x4a378c(0x118)]{constructor(_0x346df2=_0x50434e,_0x2bfa73,_0x4cd054,_0x23e752){const _0xaa7ba=_0x4a378c;super(),this[_0xaa7ba(0x15f)]=_0x346df2,this['_renderManagerService']=_0x2bfa73,this[_0xaa7ba(0x2b5)]=_0x4cd054,this[_0xaa7ba(0x222)]=_0x23e752;const {..._0x6bca9a}=_0x50b35f[_0xaa7ba(0x13f)]({},_0x50434e,this[_0xaa7ba(0x15f)]);this[_0xaa7ba(0x222)][_0xaa7ba(0x18a)](_0x63aea2,_0x6bca9a);}['onStarting'](){const _0x4f76b1=_0x4a378c;this[_0x4f76b1(0x2fc)](),this[_0x4f76b1(0x27e)]();}[_0x4a378c(0x2c6)](){const _0x277c91=_0x4a378c;this[_0x277c91(0x1f3)]();}[_0x4a378c(0x2fc)](){const _0x23795a=_0x4a378c;var _0x27b8e5;const _0x21a9fa=[[_0x20d96e],[_0x1af193],[_0x31e6e1],[_0xaa28e3],[_0x5773b5],[_0x303320,{'useClass':_0x37699a}],[_0x39eedb[_0x23795a(0x24f)],{'useClass':_0x39eedb[_0x23795a(0x25c)]}],[_0x550e9f['ILocalCacheService'],{'useClass':_0x41ed80}],[_0x109107[_0x23795a(0x1c2)]],[_0x13368b],[_0x14e4db],[_0x4f68d5],[_0x4ba470],[_0x109107[_0x23795a(0x1ab)]]];_0x50b35f[_0x23795a(0x194)](this[_0x23795a(0x2b5)],_0x50b35f[_0x23795a(0x249)](_0x21a9fa,(_0x27b8e5=this[_0x23795a(0x15f)])==null?void 0x0:_0x27b8e5['override']));}['_registerRenderDependencies'](){const _0x1fa216=_0x4a378c;this[_0x1fa216(0x9f)](this['_renderManagerService'][_0x1fa216(0x92)](_0x50b35f[_0x1fa216(0x25f)][_0x1fa216(0x1a2)],[_0x20a382])),this[_0x1fa216(0x9f)](this[_0x1fa216(0xa4)][_0x1fa216(0x92)](_0x50b35f[_0x1fa216(0x25f)][_0x1fa216(0x30a)],[_0x244b2c]));}[_0x4a378c(0x27e)](){const _0x98ea61=_0x4a378c;_0x50b35f[_0x98ea61(0x250)](this['_injector'],[[_0x4f68d5],[_0x109107[_0x98ea61(0x1c2)]],[_0x13368b],[_0x14e4db],[_0x109107[_0x98ea61(0x1ab)]]]);}},_0x35bc8d(_0x109107[_0x4a378c(0x1f8)],'pluginName',_0x34721b),_0x109107[_0x4a378c(0x1f8)]=_0x21ff75([_0x50b35f[_0x4a378c(0x12d)](_0x550e9f['UniverCollaborationClientPlugin']),_0x5aebf8(0x1,_0x1083d9[_0x4a378c(0x13c)]),_0x5aebf8(0x2,_0x50b35f[_0x4a378c(0x135)](_0x50b35f[_0x4a378c(0x29d)])),_0x5aebf8(0x3,_0x50b35f[_0x4a378c(0x1eb)])],_0x109107['UniverCollaborationClientUIPlugin']);var _0x45f6c3=Object[_0x4a378c(0x17c)],_0x53908c=(_0x5ec5d9,_0x12ef6c,_0x3c8437,_0x504419)=>{for(var _0xafce94=_0x504419>0x1?void 0x0:_0x504419?_0x45f6c3(_0x12ef6c,_0x3c8437):_0x12ef6c,_0x6f8bf4=_0x5ec5d9['length']-0x1,_0x56b133;_0x6f8bf4>=0x0;_0x6f8bf4--)(_0x56b133=_0x5ec5d9[_0x6f8bf4])&&(_0xafce94=_0x56b133(_0xafce94)||_0xafce94);return _0xafce94;},_0x519f62=(_0x21d139,_0x48ee9f)=>(_0x35635c,_0x4fc8b8)=>_0x48ee9f(_0x35635c,_0x4fc8b8,_0x21d139);_0x109107['BrowserCollaborationSocketService']=class extends _0x550e9f[_0x4a378c(0x1ec)]{constructor(_0x41a00b,_0x438469,_0x1caa6e,_0xbd6350,_0x5a7eac){super(_0x41a00b,_0x438469,_0x1caa6e,_0xbd6350,_0x5a7eac);}async[_0x4a378c(0x272)](_0x416680){const _0x389c5a=_0x4a378c,_0x957df=await this[_0x389c5a(0xc5)](),_0x50602e=this['_createSocketURL'](_0x416680,_0x957df);return this[_0x389c5a(0x27a)](_0x50602e);}[_0x4a378c(0x2e2)](_0x254bb7,_0x4a230c){const _0x30b363=_0x4a378c,_0x3dc6fc=typeof window>'u'?new URL(_0x254bb7):new URL(_0x254bb7,window[_0x30b363(0x101)]['origin']);_0x3dc6fc['searchParams'][_0x30b363(0x1fd)](_0x30b363(0x281),_0x4a230c);const _0x117dcf=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x30b363(0x101)][_0x30b363(0xd1)]);return _0x117dcf[_0x30b363(0x14f)](_0x30b363(0x183))&&_0x3dc6fc[_0x30b363(0x217)][_0x30b363(0x1fd)](_0x30b363(0x183),_0x117dcf[_0x30b363(0x14f)](_0x30b363(0x183))),_0x3dc6fc['toString']();}async[_0x4a378c(0xc5)](){const _0xe656e0=_0x4a378c;var _0x55fafb,_0x988827,_0x51bcb5;const _0x26f3e7=this[_0xe656e0(0x222)][_0xe656e0(0x2f1)](_0x550e9f[_0xe656e0(0xa5)]),_0x1f28ea=(_0x55fafb=_0x26f3e7==null?void 0x0:_0x26f3e7['wsSessionTicketUrl'])!=null?_0x55fafb:_0x550e9f[_0xe656e0(0x246)];return(_0x51bcb5=(_0x988827=(await this[_0xe656e0(0x182)][_0xe656e0(0x14f)](_0x1f28ea,{'headers':{'Content-Type':'application/json'}}))[_0xe656e0(0xbf)])==null?void 0x0:_0x988827[_0xe656e0(0x129)])!=null?_0x51bcb5:'';}},_0x109107['BrowserCollaborationSocketService']=_0x53908c([_0x519f62(0x0,_0x50b35f[_0x4a378c(0x135)](_0x50b35f[_0x4a378c(0x29d)])),_0x519f62(0x1,_0x50b35f[_0x4a378c(0x135)](_0x39eedb[_0x4a378c(0x1dc)])),_0x519f62(0x2,_0x50b35f[_0x4a378c(0x1eb)]),_0x519f62(0x3,_0x50b35f[_0x4a378c(0x270)]),_0x519f62(0x4,_0x9298ea['ISnapshotServerService'])],_0x109107[_0x4a378c(0xce)]);const _0x5c8632=0x7530,_0x1909d8='ACTIVE_UNIT_EVENT_CHANNEL';class _0x21a524 extends _0x50b35f['Disposable']{constructor(){const _0x29da68=_0x4a378c;super(),_0x1fd125(this,'_id',_0x50b35f[_0x29da68(0x1b2)]()),_0x1fd125(this,'_selfUnitIDs',new Set()),_0x1fd125(this,'_unitOnClients',new Map()),_0x1fd125(this,_0x29da68(0x1bd),null),_0x1fd125(this,_0x29da68(0x329),new Map()),_0x1fd125(this,_0x29da68(0x2df),new Map()),this[_0x29da68(0x21e)]();}[_0x4a378c(0x303)](){const _0x1e29e6=_0x4a378c;super['dispose'](),this[_0x1e29e6(0x329)]['forEach']((_0x3a7c40,_0x17cc62)=>this[_0x1e29e6(0x162)](_0x17cc62)),this['_heartbeatTimer']&&window[_0x1e29e6(0x318)](this['_heartbeatTimer']);}[_0x4a378c(0x115)](_0xa036a7){const _0x2fcf7e=_0x4a378c;return this['_ensureSubject'](_0xa036a7)[_0x2fcf7e(0x24e)](_0x342ed2['distinctUntilChanged']());}[_0x4a378c(0x245)](_0x134814){const _0x2dcef3=_0x4a378c;this[_0x2dcef3(0x1c4)][_0x2dcef3(0x232)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x2dcef3(0x295)](_0x134814),this['_send']({'type':0x0,'memberID':this[_0x2dcef3(0x254)],'unitIDs':[_0x134814],'isForwarded':!0x1});}[_0x4a378c(0x294)](_0x454205){const _0x5ecf3b=_0x4a378c;this[_0x5ecf3b(0x1c4)][_0x5ecf3b(0x22d)](_0x454205),this[_0x5ecf3b(0x1c4)][_0x5ecf3b(0x232)]===0x0&&this[_0x5ecf3b(0x1bd)]&&window[_0x5ecf3b(0x318)](this[_0x5ecf3b(0x1bd)]);}[_0x4a378c(0x21e)](){const _0x5d20fa=_0x4a378c;this['disposeWithMe'](_0x50b35f[_0x5d20fa(0xe2)](_0x342ed2[_0x5d20fa(0x2e6)](window,_0x5d20fa(0x2eb))['subscribe'](_0x569b2e=>{const _0x5e038c=_0x5d20fa;if(_0x569b2e[_0x5e038c(0x293)]!==_0x1909d8||!_0x569b2e[_0x5e038c(0x1b4)])return;const _0x3f75bf=JSON[_0x5e038c(0x262)](_0x569b2e[_0x5e038c(0x1b4)]);this['_handleEvent'](_0x3f75bf);}))),window[_0x5d20fa(0x2d2)]('unload',()=>this[_0x5d20fa(0xf5)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x5d20fa(0x23f)](this[_0x5d20fa(0x1c4)])}));}[_0x4a378c(0x119)](_0x37cfd7){const _0x42cb7b=_0x4a378c;switch(_0x37cfd7[_0x42cb7b(0xfc)]){case 0x0:this[_0x42cb7b(0x29e)](_0x37cfd7);break;case 0x1:this[_0x42cb7b(0x299)](_0x37cfd7);break;case 0x2:this[_0x42cb7b(0x267)](_0x37cfd7);break;}}[_0x4a378c(0x29e)](_0xedca5a){const _0x33d961=_0x4a378c,{unitIDs:_0x181d51,memberID:_0x1207e5,isForwarded:_0x4799cc}=_0xedca5a;_0x181d51[_0x33d961(0xe5)](_0x530235=>{const _0x192171=_0x33d961;if(!_0x4799cc&&this[_0x192171(0x122)][_0x192171(0x13a)](_0x530235)&&this[_0x192171(0x1dd)](_0x530235)[_0x192171(0xe7)](_0x550e9f[_0x192171(0x18e)][_0x192171(0x312)]),!this['_unitOnClients'][_0x192171(0x13a)](_0x530235)||!this['_unitOnClients'][_0x192171(0x14f)](_0x530235)[_0x192171(0x13a)](_0x1207e5)){const _0x3bc8a0=this[_0x192171(0x122)][_0x192171(0x14f)](_0x530235)||new Set();_0x3bc8a0[_0x192171(0x295)](_0x1207e5),this[_0x192171(0x122)][_0x192171(0x1fd)](_0x530235,_0x3bc8a0),this[_0x192171(0xe1)](_0x1207e5);}}),_0x4799cc||this['_send']({'type':0x0,'memberID':this[_0x33d961(0x254)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4a378c(0xe1)](_0x4e8b17){const _0x4b1692=_0x4a378c;this[_0x4b1692(0x162)](_0x4e8b17);const _0x1ac064=window[_0x4b1692(0x1ff)](()=>{const _0x90a55b=_0x4b1692;this[_0x90a55b(0x122)]['forEach'](_0x24a8f1=>{_0x24a8f1['delete'](_0x4e8b17);});},_0x5c8632*0x2);this['_clearOtherTimers'][_0x4b1692(0x1fd)](_0x4e8b17,_0x1ac064);}[_0x4a378c(0x162)](_0x18eb1e){const _0x3998f2=_0x4a378c;if(this['_clearOtherTimers'][_0x3998f2(0x13a)](_0x18eb1e)){const _0x3710c5=this[_0x3998f2(0x329)][_0x3998f2(0x14f)](_0x18eb1e);_0x3710c5&&window['clearTimeout'](_0x3710c5),this[_0x3998f2(0x329)][_0x3998f2(0x1fd)](_0x18eb1e,null);}}['_handleLeaveEvent'](_0xc2041d){const _0x365973=_0x4a378c,{memberID:_0x4347f3,unitIDs:_0x3e5568}=_0xc2041d;_0x3e5568['forEach'](_0x30b6a3=>{const _0x49a625=_0x5ab8;var _0x4d2fe4;const _0x45cf41=this[_0x49a625(0x122)]['get'](_0x30b6a3);_0x45cf41&&(_0x45cf41[_0x49a625(0x22d)](_0x4347f3),(_0x4d2fe4=this[_0x49a625(0x1dd)](_0x30b6a3))==null||_0x4d2fe4[_0x49a625(0xe7)](_0x45cf41[_0x49a625(0x232)]===0x0?_0x550e9f[_0x49a625(0x18e)]['NO_OTHER_CLIENTS_EDITING']:_0x550e9f['UnitStatus'][_0x49a625(0x312)]));}),this[_0x365973(0x162)](_0x4347f3);}['_handleHeartbeatEvent'](_0x209f51){const _0x1eb787=_0x4a378c;this[_0x1eb787(0xe1)](_0x209f51[_0x1eb787(0xe8)]);}['_send'](_0x1c9a9b){const _0x1b4c5e=_0x4a378c;localStorage[_0x1b4c5e(0x288)](_0x1909d8,JSON[_0x1b4c5e(0x1f7)](_0x1c9a9b));}[_0x4a378c(0xec)](){const _0x495588=_0x4a378c;this[_0x495588(0x1bd)]=window[_0x495588(0x12e)](()=>{const _0x247ecb=_0x495588;this['_send']({'type':0x2,'memberID':this[_0x247ecb(0x254)]});},_0x5c8632);}[_0x4a378c(0x1dd)](_0x18daaa){const _0x168c5c=_0x4a378c;return this['_unitStatus'][_0x168c5c(0x13a)](_0x18daaa)||this[_0x168c5c(0x2df)][_0x168c5c(0x1fd)](_0x18daaa,new _0x342ed2[(_0x168c5c(0x2a0))](_0x550e9f[_0x168c5c(0x18e)][_0x168c5c(0x1f4)])),this['_unitStatus'][_0x168c5c(0x14f)](_0x18daaa);}}var _0x512729=(_0xb65d91=>(_0xb65d91[_0xb65d91['UNDEFINED']=0x0]=_0x4a378c(0xaf),_0xb65d91[_0xb65d91['OK']=0x1]='OK',_0xb65d91[_0xb65d91[_0x4a378c(0x163)]=0x2]='INTERNAL_ERROR',_0xb65d91[_0xb65d91[_0x4a378c(0x30e)]=0x3]=_0x4a378c(0x30e),_0xb65d91[_0xb65d91[_0x4a378c(0x1ed)]=0x4]=_0x4a378c(0x1ed),_0xb65d91[_0xb65d91[_0x4a378c(0x1d7)]=0x5]='UNAUTHENTICATED',_0xb65d91[_0xb65d91[_0x4a378c(0x282)]=0x6]=_0x4a378c(0x282),_0xb65d91[_0xb65d91[_0x4a378c(0x268)]=0x7]=_0x4a378c(0x268),_0xb65d91[_0xb65d91[_0x4a378c(0x29f)]=0x8]='TOO_MANY_REQUESTS',_0xb65d91[_0xb65d91[_0x4a378c(0x131)]=0x9]=_0x4a378c(0x131),_0xb65d91[_0xb65d91['LOGIN_FAILED']=0xa]=_0x4a378c(0x18f),_0xb65d91[_0xb65d91[_0x4a378c(0x30d)]=0x1389]=_0x4a378c(0x30d),_0xb65d91[_0xb65d91[_0x4a378c(0x23a)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xb65d91[_0xb65d91[_0x4a378c(0x2f9)]=0x1772]=_0x4a378c(0x2f9),_0xb65d91[_0xb65d91['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4a378c(0x164),_0xb65d91[_0xb65d91[_0x4a378c(0xc9)]=0x1b59]=_0x4a378c(0xc9),_0xb65d91[_0xb65d91[_0x4a378c(0x2db)]=0x1b5a]=_0x4a378c(0x2db),_0xb65d91[_0xb65d91[_0x4a378c(0x15a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xb65d91[_0xb65d91[_0x4a378c(0x1af)]=0x1b5c]=_0x4a378c(0x1af),_0xb65d91[_0xb65d91[_0x4a378c(0x2ea)]=0x1b5d]=_0x4a378c(0x2ea),_0xb65d91[_0xb65d91['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4a378c(0x102),_0xb65d91[_0xb65d91[_0x4a378c(0x29b)]=0x2329]=_0x4a378c(0x29b),_0xb65d91[_0xb65d91[_0x4a378c(0x1bc)]=0x232a]=_0x4a378c(0x1bc),_0xb65d91[_0xb65d91['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4a378c(0x2a1),_0xb65d91[_0xb65d91['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xb65d91[_0xb65d91[_0x4a378c(0x1d0)]=0x232d]=_0x4a378c(0x1d0),_0xb65d91[_0xb65d91[_0x4a378c(0x1e3)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xb65d91[_0xb65d91['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xb65d91[_0xb65d91[_0x4a378c(0x2f7)]=0x2713]=_0x4a378c(0x2f7),_0xb65d91[_0xb65d91[_0x4a378c(0x23c)]=0x2714]=_0x4a378c(0x23c),_0xb65d91[_0xb65d91['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4a378c(0x305),_0xb65d91[_0xb65d91[_0x4a378c(0x280)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xb65d91[_0xb65d91[_0x4a378c(0x2cc)]=0x2af9]=_0x4a378c(0x2cc),_0xb65d91[_0xb65d91[_0x4a378c(0xfa)]=0x2ee1]=_0x4a378c(0xfa),_0xb65d91[_0xb65d91['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0xb65d91[_0xb65d91[_0x4a378c(0xa6)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xb65d91[_0xb65d91['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0xb65d91[_0xb65d91[_0x4a378c(0x213)]=0x2ee5]=_0x4a378c(0x213),_0xb65d91[_0xb65d91[_0x4a378c(0xef)]=0x32c9]=_0x4a378c(0xef),_0xb65d91[_0xb65d91[_0x4a378c(0x247)]=0x32ca]=_0x4a378c(0x247),_0xb65d91[_0xb65d91[_0x4a378c(0x113)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xb65d91[_0xb65d91[_0x4a378c(0x26f)]=-0x1]=_0x4a378c(0x26f),_0xb65d91))(_0x512729||{}),_0x2fedc2=Object[_0x4a378c(0x17c)],_0x1268ae=(_0x1f6ebe,_0x39f847,_0x2ab61b,_0x187487)=>{const _0x37e5cc=_0x4a378c;for(var _0x2485e1=_0x187487>0x1?void 0x0:_0x187487?_0x2fedc2(_0x39f847,_0x2ab61b):_0x39f847,_0x1f447f=_0x1f6ebe[_0x37e5cc(0x228)]-0x1,_0x255f57;_0x1f447f>=0x0;_0x1f447f--)(_0x255f57=_0x1f6ebe[_0x1f447f])&&(_0x2485e1=_0x255f57(_0x2485e1)||_0x2485e1);return _0x2485e1;},_0x337c5e=(_0x1c9d65,_0x329f36)=>(_0x5995d0,_0x4672b1)=>_0x329f36(_0x5995d0,_0x4672b1,_0x1c9d65);_0x109107['RemoteUniscriptService']=class extends _0x50b35f['Disposable']{constructor(_0x59c5c4,_0x4a0f54,_0x5b200f){const _0x208703=_0x4a378c;super(),this[_0x208703(0xd7)]=_0x59c5c4,this[_0x208703(0x182)]=_0x4a0f54,this[_0x208703(0x222)]=_0x5b200f;}async[_0x4a378c(0x150)](_0x437817,_0x59f053,_0x5644a1,..._0x746d26){const _0x1e7785=_0x4a378c;var _0x5a29ec,_0x55e510,_0x4df416,_0x4f7ccc;const _0x442c56=this[_0x1e7785(0xd7)][_0x1e7785(0x300)]();if(!_0x442c56)throw new Error(_0x1e7785(0x2f3));const _0x3bf19c=((_0x5a29ec=this[_0x1e7785(0x222)][_0x1e7785(0x2f1)](_0x550e9f[_0x1e7785(0x97)]))!=null?_0x5a29ec:_0x550e9f[_0x1e7785(0xf3)])+'/'+_0x437817+_0x1e7785(0x1d4)+_0x59f053,_0x58c5fc=new URL(window['location']['href']),_0x187b66={'scriptId':_0x437817,'runId':(_0x55e510=_0x58c5fc[_0x1e7785(0x217)][_0x1e7785(0x14f)](_0x1e7785(0x183)))!=null?_0x55e510:'','function':_0x59f053,'unitId':_0x442c56[_0x1e7785(0x298)](),'argsOfFunction':JSON[_0x1e7785(0x1f7)](_0x746d26),'invokeId':(_0x4df416=_0x5644a1[_0x1e7785(0xcf)])!=null?_0x4df416:'','executionId':(_0x4f7ccc=_0x5644a1[_0x1e7785(0x160)])!=null?_0x4f7ccc:''};try{const _0x382901=await this[_0x1e7785(0x182)][_0x1e7785(0x276)](_0x3bf19c,{'body':_0x187b66});return _0x382901[_0x1e7785(0xbf)][_0x1e7785(0x206)]&&_0x382901[_0x1e7785(0xbf)]['error']['code']!==_0x512729['OK']?_0x1e7785(0xdd):_0x382901[_0x1e7785(0xbf)][_0x1e7785(0x2aa)];}catch{return'Failed';}}},_0x109107[_0x4a378c(0x317)]=_0x1268ae([_0x337c5e(0x0,_0x50b35f[_0x4a378c(0xfb)]),_0x337c5e(0x1,_0x50b35f[_0x4a378c(0x135)](_0x39eedb['HTTPService'])),_0x337c5e(0x2,_0x50b35f[_0x4a378c(0x1eb)])],_0x109107[_0x4a378c(0x317)]),_0x109107[_0x4a378c(0x2a8)]=_0x51edff,_0x109107[_0x4a378c(0x1ea)]=_0x303320,_0x109107[_0x4a378c(0x2fd)]=_0x1376ff,_0x109107[_0x4a378c(0x14a)]=_0x21a524,_0x109107[_0x4a378c(0x2c3)]=_0x37699a,Object[_0x4a378c(0x226)](_0x109107,Symbol[_0x4a378c(0x2da)],{'value':_0x4a378c(0x13b)});}));function _0x5ab8(_0x348295,_0x585c2e){const _0x4c3b90=_0x4c3b();return _0x5ab8=function(_0x5ab84e,_0x1511b4){_0x5ab84e=_0x5ab84e-0x91;let _0x2a5b06=_0x4c3b90[_0x5ab84e];return _0x2a5b06;},_0x5ab8(_0x348295,_0x585c2e);}function _0x4c3b(){const _0x2df329=['IConfigService','CollaborationSocketService','NOT_FOUND','moveTo','EffectRefRangId','_hovered','off-line-single','CollaborationController','_registerRenderDependencies','NO_OTHER_CLIENTS_EDITING','_cursorShapes','_onCursorUpdate','stringify','UniverCollaborationClientUIPlugin','toString','assignAColorForMemberID','none','jiqing500','set','indexOf','setTimeout','transformRemoteChangeset','collaboration.closeRoom','UniverDesign','_colorAssignService','fillText','_initStatusListener','error','_updateLocalCursor','labelPosition','deserializeRangeWithSheet','_localCacheService','_collaborationUIEventService','_transformUndoRedoStack','_docSyncEditingCollabCursorService','Shape','@univerjs-pro/collaboration','clipPath','map','getMemberID','INVITE_CODE_ALREADY_BOUND','9275055EyUzvz','getItem','source','searchParams','collaboration-client-ui.config','idSuffix','beginPath','docStateChange$','CollaborationStatus','40LYfhEw','_init','_initEntityListener','OffLineSingle','SheetSkeletonManagerService','_configService','doc.mutation.rich-text-editing','getSheetId','@univerjs/drawing','defineProperty','_startSheetCollabCursor','length','univer-offline','IUIPartsService','_anchor','getCurrentUnitForType','delete','endColumn','1523247munldy','defIds','exhaustSavingTask','size','575812IrXiRk','react/jsx-runtime','focused$','url(#$1','_syncEditingCollabCursorService','ITransformService','shareReplay','SNAPSHOT_INVALID_SNAPSHOT','row','YUUMI_SUBSCRIPTION_NOT_FOUND','_scheduleSaving','collab-text-range-','from','MessageType','DocCollaborationEntity','evenodd','onMouseMove','setShapeProps','editingUnit','DEFAULT_WS_SESSION_TICKET_URL','MOBILE_HAS_BEEN_BOUND','@univerjs/core','mergeOverrideWithDependencies','xlink:href','NOT_COLLAB','SHEET_VIEWPORT_KEY','_anchorDot','pipe','ISocketService','touchDependencies','_refRangeService','icon','UniverEngineFormula','_id','USERS_LEAVE','collabStatus.offline','status$','304ZkgsXG','subUnitId','_handleHover','dispose$','WebSocketService','ILocalCacheService','prototype','UniverInstanceType','black','InsertRangeMoveRightCommandId','parse','addClipboardHook','unitId','HEADER_MENU','UniverProCollaborationClient','_handleHeartbeatEvent','INVALID_ARGUMENT','attrs','displayName','jsx','Optional','_range','redoState','UNRECOGNIZED','ILogService','_hideTimer','createSocket','univer-online-status','CollaborationSessionService','CollaborationEvent','post','pushState','49lZVSXm','getValue','_doCreateSocket','entries','skeleton','IMessageService','_initDependencies','_entityInit$','YUUMI_ASYNCIO_CANCELLED','sessionTicket','ALREADY_EXISTS','0\x200\x2016\x2016','React','setActiveRange','onlineStatusTitle','loadUnit','setItem','_docClipboardService','getSheetBySheetId','onlineStatusIcon','blue400','collabStatus.notCollab','#fff','_commandService','CollaborationUIEventId','symbol','removeParam','key','disposeUnit','add','VIEW_MAIN','getTypeOfUnitDisposed$','getUnitId','_handleLeaveEvent','handleInsertRow','LICENSE_MAX_UNITS_EXCEEDED','ranges','Injector','_handleJoinEvent','TOO_MANY_REQUESTS','BehaviorSubject','LICENSE_IMPORT_SIZE_EXCEEDED','_refreshCollabCursors','IBeforeCloseService','extend','m2Prime','SUBMIT_CHANGESET_TIMEOUT','getMergeData','CollaborationStatusDisplay','purple300','result','univer-online-status-title','makeDirty','_docTransformSelectionsService','TEXT_RANGE_LAYER_INDEX','Tools','_getMergeRange','_cursors','RECT','UniverIcon','isEditing','_injector','entityInit$','useCallback','filter','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_scene','_online','session.collaboration-timeout','_docTransformStateCacheService','@univerjs/engine-formula','unshift','_localeService','propertyIsEnumerable','getParam','WebURLService','currentTheme$','_onCursorDelete','onRendered','addObject','undoState','SOCKET_FAILED','handleInsertRangeMoveDown','addObjects','PY_RUNTIME_SCRIPT_ERROR','@univerjs/design','handleMoveRange','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','NodePositionConvertToCursor','IDocClipboardService','addEventListener','onPointerMove$','[CollaborationDataLoaderController]','_uiPartsService','hovered','rxjs','_lastPointer','_docSkeletonManagerService','toStringTag','APPLY_NON_SEQUENTIAL_REVISION','_messageService','isArray','useObservable','_unitStatus','getAncestorScale','path','_createSocketURL','InsertRangeMoveDownCommandId','mutations','UniverProCollaboration','fromEvent','getLocalCacheKey','values','_transformHistoryAndStateStack','APPLY_DUPLICATED','storage','getRelativeToViewportCoord','RefRangeService','@univerjs/docs-ui','history','UniverSheetsUi','getConfig','RxDisposable','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_textBubble','getDocRanges','subscribeEvent','YUUMI_RATE_OVER_LIMIT','save','SNAPSHOT_HAS_BEEN_REMOVED','takeUntil','measureText','_registerDependencies','SheetCollabCursorShape','_updateSubUnitFromURLParams','addHandlerCallback','getFocusedUnit','getCoordByCell','href','dispose','@univerjs/rpc','YUUMI_NO_CUBOID_FOR_QUESTION','_assignedColors','_labelPosition','TEXT','DOC_RANGE_TYPE','UNIVER_SHEET','m1Prime','handleIRemoveRow','CHANGESET_REVISION_CONFILICT','PERMISSION_DENIED','SYNCED','assign','urlChange$','OTHER_CLIENTS_EDITING','executeCommand','RegularPolygon','...','restore','RemoteUniscriptService','clearInterval','_initCommandExecutedListener','clearTimeout','getCurrentRevOfUnit','MemberService','getTypeOfUnitAdded$','10821hitdUR','toRgbString','svg','startRow','permission.content','getUndoRedoMutationParamsCache','children','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','SessionStatus','transform','current','_clearOtherTimers','_getSheetObject','5746944cdCSDE','_beforeCloseService','INotificationService','registerRenderModule','_memberService','ICommandService','COLORS','_imageIoService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_hover','trim','push','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','url(#on-line-single_clip0_910_349)','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','show','disposeWithMe','width','serializeRangeWithSheet','random','UniverDrawing','_renderManagerService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','INVITE_CODE_REQUIRED','isTransformMutationFailure','_initEvent','createInstance','_color','getCollabCursors$','DocSelectionManagerService','bottom','onPointerEnter$','UNDEFINED','RemoveRowCommandId','_updateURLWithCurrentState','collabStatus.fetchMiss','ColorKit','@univerjs-pro/collaboration-client','className','_render','univer-flex\x20univer-items-center','clsx','object','UniverDocsUi','getSheetObject','M0\x200H16V16H0z','unit','top','body','name','onlineStatus','replaceState','_updateCollabCursors','collab-text-anchor-','_getSessionTicket','univerjs-icon\x20univerjs-icon-','mask','fillStyle','APPLY_REJECT','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','collabStatus.conflict','complete','_collabSessionService','BrowserCollaborationSocketService','invokeId','triggerDblclick','search','contains','subunit','_sheetSkeletonManagerService','off-line-single_clip0_910_343','apply','_instanceService','_collaborationController','OFFLINE','@univerjs/sheets-ui','registerBeforeClose','debounceTime','Failed','min','concat','hasOwnProperty','_scheduleClearOtherTimer','toDisposable','find','_draw','forEach','url(#off-line-single_clip0_910_343)','next','memberID','collab-rect-range-','flatMap','DataLoaderService','_scheduleHeartbeat','UniverProCollaborationClientUi','verdancy600','WECHAT_HAS_BEEN_BOUND','SOCKET_FAILED_RETRY','saveImage','colorChannel1','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','univer-online-status-icon','_send','DocSkeletonManagerService','createElement','SetTextSelectionsOperation','jsxs','INVITE_CODE_HAS_BEEN_UES','IUniverInstanceService','type','amd','syncEditingCollabCursor','getStateCache','_name','location','CONNECTOR_DATA_TOO_LARGE','reconnect','3419973kLEEdJ','_disabled','_initStatusComponent','handleInsertRangeMoveRight','selection','handleDeleteRangeMoveUp','enableLocalCache','getCurrent','translate(.97)','_logService','debug','_toggleOnline','_drawRectRange','_getSaveTimeout','debounce','EMAIL_HAS_BEEN_BOUND','height','getUnitStatus$','use','deepClone','Plugin','_handleEvent','RevisionService','getColor','setUndoRedoMutationParamsCache','currentColor','getVpScrollXYInfoByPosToVp','transformSelections','session.will-retry','1em','_unitOnClients','_revisionService','UniverEngineRender','collabCursorState$','getRangePointData','rxjs/operators','color','ticket','cursorInfo','#FFF','closePath','DependentOn','setInterval','throttleTime','_collabCursorController','COMPLETION_FINISHED','DocIMEInputManagerService','_setupBeforeClosingHandler','unsubscribe','Inject','string','combineLatest','@univerjs/engine-render','Workbook','has','Module','IRenderManagerService','registerRefRange','includes','merge','split','offline','getActiveSheet','useDependency','hide','setParam','UniverCore','permission.title','CollaborationUIEventService','MoveRangeCommandId','WebBrowserSingleActiveUnitService','unitID','_transformService','cursorInfo$','_docStateChangeManagerService','get','runOnServer','_entities','CONFLICT','substring','transformMutation','defs','getOffsetConfig','asObservable','imageSourceType','LocaleService','APPLY_REVISION_CONFILICT','forwardRef','roomMembers','_initResize','_drawTextRange','_config','executionId','OTHER_CLIENT_EDITING','_removeClearOtherTimer','INTERNAL_ERROR','ENSURE_SNAPSHOT_EXECUTION','_colorIndex','UniverRpc','IImageIoService','react','init','_localStorageService','_cachedData','onCommandExecuted','ThemeService','_cursor','replace','transformIMECache','engine','isTransformMutationsWithChangesetSuccess','MUTATION','_startDocCollabCursor','_session','AWAITING','Tooltip','getSkeleton','UPDATE_CURSOR','RichTextEditingMutation','fromEventSubject','getOwnPropertyDescriptor','drawWith','RemoveColCommandId','_collabCursorState$','sessionStatus$','lineTo','_httpService','runId','function','findNodePositionByCharIndex','getMember','tag','operators','textRanges','setConfig','_drawAnchor','SetWorksheetActivateCommand','SetDocZoomRatioOperation','UnitStatus','LOGIN_FAILED','_onRefRangeChange','Vector2','sheetId','SetSelectionsOperation','registerDependencies','Warning','params','transformStateCache','registerComponent','round','_setupSubUnitSync','onPointerLeave$','column','_saveTaskMap','getRenderById','with','on-line-single_clip0_910_349','_removeCollabCursors','UNIVER_DOC','onTransformChange$','@univerjs/sheets','subscribe','popstate','roomMembers$','_roomMembers$','Error','red300','CollaborationDataLoaderController','eventID','@univerjs/docs','getCellPositionByOffset','APPLY_PERMISSION_DENIED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_shapes','generateRandomId','collaboration.single-unit.warning','newValue','InsertColCommandId','_themeService','_status$','_getScale','_context','replaceDocRanges','_eventUnsubscribe','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_heartbeatTimer','onLocalMutation','_docTransformIMECacheService','1304508rTSBpc','UniverDocs','DesktopCollaborationStatusDisplayController','ONLINE','_selfUnitIDs','Unknown\x20user','_univerInstanceService','switchMap','_notificationService','Rect','exports','then','transformMutationsWithChangeset','getActiveRange','_cursorInfo$','_urlService','LICENSE_DISTRO_REJECTED','requireSession','data','Disposable','/run/','_toggleOffline','saveTaskMap','UNAUTHENTICATED','FromArray','_backgroundColor','handleIRemoveCol','_saveCache','HTTPService','_ensureSubject','send','PENDING','event$','handleDeleteRangeMoveLeft','range','YUUMI_UNABLE_LOAD_URL','AWAITING_WITH_PENDING','call','div','collabStatus.syncing','fill','CLOSE_ROOM','IURLService'];_0x4c3b=function(){return _0x2df329;};return _0x4c3b();}
|