@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504101607 → 0.6.10-nightly.202504121606
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 _0x112f(_0x2d0fab,_0x54d825){const _0x407378=_0x4073();return _0x112f=function(_0x112f36,_0x5a7100){_0x112f36=_0x112f36-0xe6;let _0xd75fca=_0x407378[_0x112f36];return _0xd75fca;},_0x112f(_0x2d0fab,_0x54d825);}function _0x4073(){const _0x551f7f=['doc.mutation.rich-text-editing','@univerjs/rpc','delete','offline','@univerjs-pro/collaboration-client','div','closePath','fill','executeCommand','replaceState','propertyIsEnumerable','TOO_MANY_REQUESTS','_backgroundColor','toRgbString','setActiveRange','FETCH_MISS','top','string','univer-flex\x20univer-items-center','_initStatusComponent','pluginName','registerRefRange','setItem','uni.network.url-service','UniverDocsUi','getActiveRange','isEditing','getActiveSheet','amd','@univerjs/engine-formula','Rectangle','IUniverInstanceService','height','getUnhiddenWorksheets','_collabCursorController','SNAPSHOT_HAS_BEEN_REMOVED','parse','CollaborationController','loadUnit','setUndoRedoMutationParamsCache','mapTo','indexOf','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Disposable','subscribe','DesktopCollaborationStatusDisplayController','redoState','OTHER_CLIENT_EDITING','unshift','APPLY_NON_SEQUENTIAL_REVISION','handleInsertRangeMoveDown','UniverProCollaboration','_localeService','save','cursorInfo','includes','type','CollaborationUIEventId','@univerjs/core','_removeClearOtherTimer','CollaborationStatusDisplay','hasOwnProperty','_collaborationUIEventService','MessageType','registerComponent','NOT_FOUND','override','collabStatus.syncing','_eventUnsubscribe','_send','MOBILE_HAS_BEEN_BOUND','from','_injector','242Chasty','result','getSkeleton','makeDirty','init','DocStateChangeManagerService','EMAIL_HAS_BEEN_BOUND','findNodePositionByCharIndex','handleInsertRangeMoveRight','CollaborationSocketService','60lxVyQw','NodePositionConvertToRectRange','onlineStatusIcon','OnLineSingle','_online','_scheduleSaving','Tools','cursorInfo$','getParam','moveTo','_getAnchorBounding','NodePositionConvertToCursor','_setupSubUnitSync','send','@univerjs/docs-ui','getCurrentRevOfUnit','_cursor','onMouseMove','deserializeRangeWithSheet','trim','MUTATION','_commandService','UniverCore','children','EffectRefRangId','_render','lineTo','_disabled','PERMISSION_DENIED','eventID','setStateCache','_ensureSubject','onCommandExecuted','toString','event$','min','LOGIN_FAILED','getColor','_doCreateSocket','_localStorageService','currentSkeleton$','replace','function','shareReplay','black','_logService','_id','1MtppCX','HTTPService','ACTIVE_UNIT_EVENT_CHANNEL','_cursorShapes','createElement','USER_NOT_INVITED_CODE','svg','collabStatus.offline','Rect','combineLatest','0\x200\x2017\x2016','UniverUi','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','clearTimeout','LOCAL_CACHE_INTERVAL_KEY','_onCursorUpdate','collab-text-range-','fillRule','key','_updateCollabCursors','search','operators','split','_unitOnClients','InsertRangeMoveDownCommandId','getUnitId','rxjs','_updateURLWithCurrentState','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_initResize','assign','_getSheetObject','IBeforeCloseService','_dataLoaderService','_setupBeforeClosingHandler','filter','toStringTag','hovered','all','getStateCache','UniverDesign','_colorIndex','contains','saveTaskMap','InsertRangeMoveRightCommandId','@univerjs/design','_docSkeleton','_roomMembers$','concat','UniverSheets','UniverInstanceType','CommandType','collabStatus.conflict','1em','requireSession','debounceTime','_heartbeatTimer','@univerjs/sheets-ui','error','getCollabEntity$','UniverRpc','IMessageService','CLOSE_ROOM','_status$','session.connection-failed','purple300','blue400','_renderManagerService','getRangePointData','mergeOverrideWithDependencies','runRefRangeMutations','setShapeProps','INVITE_CODE_HAS_BEEN_UES','VIEW_MAIN','_instanceService','@univerjs/drawing','_docClipboardService','subscribeEvent','pushState','fillText','_updateSubUnitFromURLParams','activeSheet$','UNIVER_DOC','_getSessionTicket','saveImage','forEach','hide','MemberService','_uiPartsService','univer-offline','1601852cdUrTF','memberID','transformStateCache','LICENSE_MAX_UNITS_EXCEEDED','getSheetObject','textRanges','DeleteRangeMoveLeftCommandId','_transformUndoRedoStack','_localCacheService','_hover','setParam','prototype','call','addClipboardHook','xlink:href','INTERNAL_ERROR','0\x200\x2016\x2016','_handleHover','transformIMECache','_drawRectRange','CONFLICT','_cursors','add','Warning','tag','dispose$','collabStatus.synced','getSheetId','transformRemoteChangeset','symbol','collaboration-client.offline-data-not-saved','_scheduleClearOtherTimer','next','useRef','endRow','_drawTextRange','updateOfflineData','JOIN_ROOM_FAILED','_startDocCollabCursor','clearInterval','_sheetSkeletonManagerService','_drawAnchor','_themeService','clipPath','handleDeleteRangeMoveLeft','unload','LICENSE_DISTRO_REJECTED','_createSocketURL','599952gLNBrH','size','Vector2','getCoordByCell','range','unitId','createSocket','params','row','#fff','_document','HEADER_MENU','Workbook','RegularPolygon','UniverNetwork','ThemeService','_cachedData','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_initDependencies','useDependency','loadOfflineData','@univerjs-pro/collaboration','InsertColCommandId','path','createInstance','_collaborationController','_transformHistoryAndStateStack','_textBubble','reconnect','getRenderById','_toggleOnline','Inject','ITransformService','432850ptXIrz','color','UnitStatus','defineProperty','TEXT_RANGE_LAYER_INDEX','body','none','transformSelections','_saveCache','ALREADY_EXISTS','show','_initEntityListener','[CollaborationDataLoaderController]','WebURLService','4743LsjJAO','getUndoRedoMutationParamsCache','name','CollaborationEvent','FromArray','RxDisposable','length','href','online','m1Prime','...','_handleHeartbeatEvent','getCurrentUnitForType','OTHER_CLIENTS_EDITING','_context','jsx','_notificationService','LICENSE_IMPORT_SIZE_EXCEEDED','defs','defIds','Module','entityInit$','merge','_beforeCloseService','onPointerLeave$','_selfUnitIDs','subunit','setAlpha','UniverIcon','UPDATE_CURSOR','undoState','invokeId','_session','getCellPositionByOffset','DependentOn','_univerInstanceService','touchDependencies','OFFLINE','_transformPreviousActiveRange','BrowserCollaborationSocketService','DocSkeletonManagerService','setInterval','engine','SHEET_VIEWPORT_KEY','SYNCED','unitID','getDocRanges','urlChange$','attrs','getTypeOfUnitAdded$','M0\x200H16V16H0z','set','debug','_clearOtherTimers','saveOfflineData','useCallback','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_getSaveTimeout','#FFF','@univerjs/sheets','_registerDependencies','collaboration.closeRoom','session.will-retry','actions','UNIVER_SHEET','setTimeout','object','univer-online-status-icon','currentColor','roomMembers','pipe','COLORS','_anchor','APPLY_REVISION_CONFILICT','81IwcyXW','_handleEvent','CollaborationSessionService','@univerjs/network','_assignedColors','exports','393744GWjUxR','className','TEXT','_entityInit$','forwardRef','onStarting','getOffsetConfig','SheetsSelectionsService','ICommandService','_labelPosition','apply','dispose','history','@univerjs/engine-render','map','_docTransformStateCacheService','USERS_LEAVE','getMergeData','collaboration.single-unit.warning','width','RemoveColCommandId','YUUMI_RATE_OVER_LIMIT','ISocketService','font','whenReady','searchParams','getConfig','replaceDocRanges','react','transformMutation','getOwnPropertySymbols','BuiltInUIPart','switchMap','transformMutationsWithChangeset','_lastPointer','current','_syncEditingCollabCursorService','then','InsertRowCommandId','round','getAncestorScale','BehaviorSubject','LICENSE_EXPORT_SIZE_EXCEEDED','_registerRenderDependencies','handleDeleteRangeMoveUp','wsSessionTicketUrl','collabStatus.notCollab','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','sheetID','SetWorksheetActivateCommand','handleInsertCol','_configService','clsx','registerDependencies','addObject','onLocalMutation','getCollabCursors$','sessionStatus$','_refreshCollabCursors','_docStateChangeManagerService','debounce','getCurrentSelections','CONNECTOR_DATA_TOO_LARGE','IRenderManagerService','complete','ColorKit','DocCollaborationEntity','_colorAssignService','collaboration-client-ui.config','Error','_refRangeService','_urlService','INVITE_CODE_ALREADY_BOUND','ONLINE','useObservable','column','UniverEngineRender','_removeCollabCursors','DataLoaderService','getSheetBySheetId','labelPosition','selection','RemoteUniscriptService','getItem','getViewport','YUUMI_UNABLE_LOAD_URL','disposeWithMe','IConfigService','post','WECHAT_HAS_BEEN_BOUND','_initCommandExecutedListener','CHANGESET_REVISION_CONFILICT','univer-online','getFocusedUnit','transformByState','colorChannel1','_revisionService','syncEditingCollabCursor','MoveRangeCommandId','mask','fillStyle','getOwnPropertyDescriptor','find','LocaleService','focused$','UniverProCollaborationClientUi','CollaborationStatus','APPLY_REJECT','getCurrent','_saveTaskMap','drawWith','exhaustSavingTask','runOnServer','ENSURE_SNAPSHOT_EXECUTION','Injector','YUUMI_URL_COL_OUT_OF_RANGE','_collabCursorState$','@univerjs/docs','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','_collabSessionService','entries','getValue','ILogService','APPLY_DUPLICATED','takeUntil','SetTextSelectionsOperation','addObjects','extend','collab-text-anchor-','_handleLeaveEvent','_docSyncEditingCollabCursorService','AWAITING_WITH_PENDING','UniverEngineFormula','with','AWAITING','_updateLocalCursor','docStateChange$','isArray','fromEvent','runId','_scheduleHeartbeat','_cursorInfo$','unit','_imageIoService','_color','_name','CollaborationDataLoaderController','univer-online-status','_memberService','evenodd','asObservable','_handleJoinEvent','restore','translate(.97)','_hovered','url(#$1','onlineStatusTitle','_scene','roomMembers$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UNAUTHENTICATED','getTypeOfUnitDisposed$','DocSelectionManagerService','substring','generateRandomId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SetSelectionsOperation','has','_docSkeletonManagerService','registerBeforeClose','univer-online-status-title','onPointerMove$','React','disposeUnit','209136uZSJzQ','idSuffix','@univerjs/ui','beginPath','UniverDrawing','UniverProCollaborationClient','_messageService','NOT_COLLAB','values','off-line-single_clip0_910_343','DocIMEInputManagerService','_init','_initStatusListener','INVALID_INVITE_CODE','SNAPSHOT_INVALID_SNAPSHOT','resize','_entities','UNRECOGNIZED','_httpService','RichTextEditingMutation','DOC_RANGE_TYPE','157086PewmwA','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','_shapes','assignAColorForMemberID','_transformService','collab-rect-range-','bottom','Unknown\x20user','SUBMIT_CHANGESET_TIMEOUT','isTransformMutationFailure','ranges','onPointerEnter$','UniverSheetsUi','handleMoveRange','collabCursorState$','DeleteRangeMoveUpCommandId','SheetSkeletonManagerService','push','_unitStatus','sessionTicket','_anchorDot','_initEvent','_hideTimer','displayName','enableLocalCache','some','gold400','deepClone','mutations','get','m2Prime','getMemberID','ticket','jsxs','Shape','currentTheme$','NO_OTHER_CLIENTS_EDITING','react/jsx-runtime','getMember','handleInsertRow','arc','_range','_toggleOffline','jiqing500','_config','INVALID_ARGUMENT','60WwOGEP','max','registerRenderModule','use','APPLY_PERMISSION_DENIED','INVITE_CODE_REQUIRED','YUUMI_SUBSCRIPTION_NOT_FOUND','ILocalCacheService','location','_docTransformSelectionsService','isTransformMutationsWithChangesetSuccess','getVpScrollXYInfoByPosToVp','connectInjector','IURLService','newValue','measureText','_docTransformIMECacheService','data','UniverCollaborationClientUIPlugin','rxjs/operators','IImageIoService','_onCursorDelete','onlineStatus','stringify','SOCKET_FAILED_RETRY','unsubscribe','_draw'];_0x4073=function(){return _0x551f7f;};return _0x4073();}(function(_0x4cfc55,_0x42179b){const _0x4a7a11=_0x112f,_0x4d19f1=_0x4cfc55();while(!![]){try{const _0x5bc763=-parseInt(_0x4a7a11(0x364))/0x1*(-parseInt(_0x4a7a11(0x157))/0x2)+-parseInt(_0x4a7a11(0x186))/0x3*(-parseInt(_0x4a7a11(0x335))/0x4)+-parseInt(_0x4a7a11(0x2c7))/0x5*(parseInt(_0x4a7a11(0x299))/0x6)+parseInt(_0x4a7a11(0x127))/0x7+-parseInt(_0x4a7a11(0x1d6))/0x8+parseInt(_0x4a7a11(0x1d0))/0x9*(parseInt(_0x4a7a11(0x178))/0xa)+parseInt(_0x4a7a11(0x32b))/0xb*(-parseInt(_0x4a7a11(0x284))/0xc);if(_0x5bc763===_0x42179b)break;else _0x4d19f1['push'](_0x4d19f1['shift']());}catch(_0x5d20c0){_0x4d19f1['push'](_0x4d19f1['shift']());}}}(_0x4073,0x2fad6),function(_0x5ad091,_0x8f9459){const _0x352c92=_0x112f;typeof exports==_0x352c92(0x1c8)&&typeof module<'u'?_0x8f9459(exports,require(_0x352c92(0x2e6)),require(_0x352c92(0x31c)),require(_0x352c92(0x1e3)),require(_0x352c92(0x1d3)),require('@univerjs/docs-ui'),require(_0x352c92(0x118)),require('rxjs'),require(_0x352c92(0x24b)),require(_0x352c92(0x16c)),require(_0x352c92(0x2ff)),require(_0x352c92(0x1c1)),require(_0x352c92(0x2da)),require(_0x352c92(0x106)),require(_0x352c92(0x2be)),require(_0x352c92(0x286)),require(_0x352c92(0xfa)),require(_0x352c92(0x1f2)),require(_0x352c92(0x2e3))):typeof define==_0x352c92(0x35f)&&define[_0x352c92(0x2fe)]?define([_0x352c92(0x1d5),_0x352c92(0x2e6),_0x352c92(0x31c),_0x352c92(0x1e3),'@univerjs/network',_0x352c92(0x343),_0x352c92(0x118),_0x352c92(0xe7),_0x352c92(0x24b),_0x352c92(0x16c),'@univerjs/engine-formula',_0x352c92(0x1c1),_0x352c92(0x2da),_0x352c92(0x106),_0x352c92(0x2be),_0x352c92(0x286),_0x352c92(0xfa),'react','@univerjs/rpc'],_0x8f9459):(_0x5ad091=typeof globalThis<'u'?globalThis:_0x5ad091||self,_0x8f9459(_0x5ad091[_0x352c92(0x23f)]={},_0x5ad091[_0x352c92(0x289)],_0x5ad091[_0x352c92(0x34b)],_0x5ad091[_0x352c92(0x222)],_0x5ad091[_0x352c92(0x165)],_0x5ad091[_0x352c92(0x2fa)],_0x5ad091[_0x352c92(0x288)],_0x5ad091['rxjs'],_0x5ad091['UniverDocs'],_0x5ad091[_0x352c92(0x315)],_0x5ad091[_0x352c92(0x25a)],_0x5ad091[_0x352c92(0xfe)],_0x5ad091[_0x352c92(0xe7)][_0x352c92(0x379)],_0x5ad091[_0x352c92(0x2a5)],_0x5ad091[_0x352c92(0x282)],_0x5ad091[_0x352c92(0x36f)],_0x5ad091[_0x352c92(0xf5)],_0x5ad091['React'],_0x5ad091[_0x352c92(0x109)]));}(this,function(_0x342240,_0x2fd730,_0x1e0609,_0x8660e4,_0x1e4e91,_0x189013,_0x4a81a8,_0x94d9ab,_0x1aadfd,_0xcfb5d3,_0xf78882,_0x4b47a4,_0xecbc95,_0x5b5571,_0x4e444a,_0x43b760,_0x4fc34b,_0x283846,_0x4b767c){'use strict';const _0x3894d5=_0x112f;var _0x564b75=Object[_0x3894d5(0x17b)],_0x20f8ff=(_0x2265f9,_0x52b9fa,_0xf1c38)=>_0x52b9fa in _0x2265f9?_0x564b75(_0x2265f9,_0x52b9fa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xf1c38}):_0x2265f9[_0x52b9fa]=_0xf1c38,_0x552ea8=(_0x2f21b6,_0x31d4d4,_0x31a056)=>_0x20f8ff(_0x2f21b6,typeof _0x31d4d4!=_0x3894d5(0x144)?_0x31d4d4+'':_0x31d4d4,_0x31a056),_0x68d2a1=Object[_0x3894d5(0x23b)],_0x495092=(_0x168134,_0x3754d1,_0x419747,_0xf106ec)=>{const _0x3dc77f=_0x3894d5;for(var _0x557571=_0xf106ec>0x1?void 0x0:_0xf106ec?_0x68d2a1(_0x3754d1,_0x419747):_0x3754d1,_0x5b91bb=_0x168134[_0x3dc77f(0x18c)]-0x1,_0x261021;_0x5b91bb>=0x0;_0x5b91bb--)(_0x261021=_0x168134[_0x5b91bb])&&(_0x557571=_0x261021(_0x557571)||_0x557571);return _0x557571;},_0xeb1686=(_0x5c1f8f,_0x4b05cf)=>(_0x71ca13,_0x29c427)=>_0x4b05cf(_0x71ca13,_0x29c427,_0x5c1f8f);let _0x561448=class extends _0x1e0609['RxDisposable']{constructor(_0x33c058,_0x3ddd09){const _0x191667=_0x3894d5;super(),this[_0x191667(0x119)]=_0x33c058,this['_imageIoService']=_0x3ddd09,this[_0x191667(0x28f)]();}['_init'](){const _0x3bdc21=_0x3894d5,_0x1938a9=this;this[_0x3bdc21(0x22c)](this[_0x3bdc21(0x119)][_0x3bdc21(0x134)]({'onBeforePasteImage':async _0x440d45=>{const _0x353a96=_0x3bdc21,_0x2536c4=await _0x1938a9[_0x353a96(0x265)][_0x353a96(0x121)](_0x440d45);return _0x2536c4?{'source':_0x2536c4['source'],'imageSourceType':_0x2536c4['imageSourceType']}:null;}}));}};_0x561448=_0x495092([_0xeb1686(0x0,_0x189013['IDocClipboardService']),_0xeb1686(0x1,_0x4a81a8[_0x3894d5(0x2db)])],_0x561448);const _0xe8abb1=[_0x3894d5(0x10e),_0x3894d5(0x2c4),'verdancy600','red300',_0x3894d5(0x10f),_0x3894d5(0x2b3)];class _0x57aed3 extends _0x1e0609[_0x3894d5(0x30d)]{constructor(){const _0xdd3c26=_0x3894d5;super(...arguments),_0x552ea8(this,_0xdd3c26(0x1d4),new Map()),_0x552ea8(this,_0xdd3c26(0xf6),0x0);}['assignAColorForMemberID'](_0x3ec7cf){const _0x121b4e=_0x3894d5;if(this[_0x121b4e(0x1d4)]['has'](_0x3ec7cf))return this[_0x121b4e(0x1d4)][_0x121b4e(0x2b6)](_0x3ec7cf);const _0x3ab0c6=_0xe8abb1[this['_colorIndex']];return this[_0x121b4e(0xf6)]=(this[_0x121b4e(0xf6)]+0x1)%_0xe8abb1[_0x121b4e(0x18c)],this['_assignedColors'][_0x121b4e(0x1b9)](_0x3ec7cf,_0x3ab0c6),_0x3ab0c6;}}function _0x4e6471(_0x53e445){const _0x4b74df=_0x3894d5;let _0x1e795f='';for(const _0x23431c of _0x53e445){const {startOffset:_0x12de8f,endOffset:_0x572b13,isActive:_0x5e7534,rangeType:_0x3e1f44,segmentId:_0x4c8498,segmentPage:_0x3bf592}=_0x23431c;_0x1e795f[_0x4b74df(0x18c)]&&(_0x1e795f+=','),_0x1e795f+=_0x12de8f+':'+_0x572b13+':'+(_0x5e7534?'1':'0')+':'+_0x3e1f44+':'+_0x4c8498+':'+_0x3bf592;}return _0x1e795f;}function _0x17fcbd(_0x133712){const _0x9c4ccf=_0x3894d5,_0x2841e2=_0x133712['split'](','),_0x476a7f=[];for(const _0x5ad36d of _0x2841e2){const [_0x257e7a,_0x342aa8,_0x380b00,_0x2204d9,_0x2f7df5,_0x22770e]=_0x5ad36d[_0x9c4ccf(0x37a)](':');_0x476a7f[_0x9c4ccf(0x2aa)]({'startOffset':Number(_0x257e7a),'endOffset':Number(_0x342aa8),'collapsed':_0x257e7a===_0x342aa8,'isActive':_0x380b00==='1','rangeType':_0x2204d9===_0x1e0609['DOC_RANGE_TYPE'][_0x9c4ccf(0x1d8)]?_0x1e0609[_0x9c4ccf(0x298)][_0x9c4ccf(0x1d8)]:_0x1e0609[_0x9c4ccf(0x298)]['RECT'],'segmentId':typeof _0x2f7df5==_0x9c4ccf(0x2f3)?String(_0x2f7df5):'','segmentPage':Number(_0x22770e!=null?_0x22770e:-0x1)});}return _0x476a7f[_0x9c4ccf(0x2b2)](_0x2759e5=>_0x2759e5['isActive'])||(_0x476a7f[0x0]['isActive']=!0x0),_0x476a7f;}class _0x55262d extends _0x1e0609[_0x3894d5(0x18b)]{constructor(){const _0x91ccd0=_0x3894d5;super(...arguments),_0x552ea8(this,_0x91ccd0(0x24a),new _0x94d9ab[(_0x91ccd0(0x1ff))](null)),_0x552ea8(this,_0x91ccd0(0x2a7),this[_0x91ccd0(0x24a)][_0x91ccd0(0x26c)]());}[_0x3894d5(0x237)](_0x429c03){const _0x4fa6dc=_0x3894d5,{unitID:_0x3180f3,memberID:_0x1b7949,textRanges:_0x406987}=_0x429c03,_0x596315=_0x4e6471(_0x406987);if(_0x596315==='')return;const _0x3e8ffd={'unitID':_0x3180f3,'memberID':_0x1b7949,'selection':_0x596315};this[_0x4fa6dc(0x24a)]['next'](_0x3e8ffd);}}var _0x373b7f=Object['getOwnPropertyDescriptor'],_0x7085=(_0x5d067a,_0x3bae7a,_0x3533e7,_0x4ff056)=>{for(var _0x450433=_0x4ff056>0x1?void 0x0:_0x4ff056?_0x373b7f(_0x3bae7a,_0x3533e7):_0x3bae7a,_0x47c5b7=_0x5d067a['length']-0x1,_0x4332f9;_0x47c5b7>=0x0;_0x47c5b7--)(_0x4332f9=_0x5d067a[_0x47c5b7])&&(_0x450433=_0x4332f9(_0x450433)||_0x450433);return _0x450433;},_0x34bd19=(_0x4a7172,_0x160548)=>(_0x514a0a,_0x452705)=>_0x160548(_0x514a0a,_0x452705,_0x4a7172);const _0x57c7f6=0x12c,_0x51524a=0x64;let _0x4c854f=class extends _0x1e0609[_0x3894d5(0x18b)]{constructor(_0x4597ff,_0x3b9f15,_0x4a37f9,_0x3de393,_0x11cde0,_0x2a84cb,_0x2b662d,_0x469b7a,_0x2de2bb){const _0x1b6744=_0x3894d5;super(),_0x552ea8(this,'_online',!0x1),_0x552ea8(this,_0x1b6744(0x28f),!0x1),_0x552ea8(this,_0x1b6744(0x263),new _0x94d9ab[(_0x1b6744(0x1ff))](new Map())),_0x552ea8(this,_0x1b6744(0x33c),this[_0x1b6744(0x263)][_0x1b6744(0x26c)]()),_0x552ea8(this,'_roomMembers$',new _0x94d9ab[(_0x1b6744(0x1ff))]([])),_0x552ea8(this,_0x1b6744(0x274),this['_roomMembers$'][_0x1b6744(0x1cc)](_0x94d9ab[_0x1b6744(0x104)](_0x57c7f6))),_0x552ea8(this,_0x1b6744(0x25d),_0x1e0609[_0x1b6744(0x212)](_0x26bdc9=>{const _0x2d290c=_0x1b6744,_0x57a562={'eventID':_0xcfb5d3[_0x2d290c(0x189)][_0x2d290c(0x1a3)],'data':{'unitID':this['unitID'],'memberID':this[_0x2d290c(0x1a6)]['getMemberID'](),'selection':_0x4e6471(_0x26bdc9)}};this[_0x2d290c(0x1a6)][_0x2d290c(0x342)](_0x57a562,this[_0x2d290c(0x1b3)]);},_0x51524a)),(this[_0x1b6744(0x1b3)]=_0x4597ff,this[_0x1b6744(0x1a6)]=_0x3b9f15,this[_0x1b6744(0x32a)]=_0x4a37f9,this[_0x1b6744(0x219)]=_0x3de393,this[_0x1b6744(0x26a)]=_0x11cde0,this[_0x1b6744(0x1fa)]=_0x2a84cb,this[_0x1b6744(0x29d)]=_0x2b662d,this[_0x1b6744(0x1a9)]=_0x469b7a,this[_0x1b6744(0x34a)]=_0x2de2bb);}get[_0x3894d5(0x318)](){const _0x1a6eb5=_0x3894d5;return this[_0x1a6eb5(0x263)][_0x1a6eb5(0x24f)]();}get[_0x3894d5(0x1cb)](){return this['_roomMembers$']['getValue']();}[_0x3894d5(0x1e1)](){const _0x30f272=_0x3894d5;super[_0x30f272(0x1e1)](),this[_0x30f272(0x263)][_0x30f272(0x147)](new Map()),this[_0x30f272(0x263)][_0x30f272(0x216)](),this[_0x30f272(0xfc)][_0x30f272(0x147)]([]),this['_roomMembers$']['complete']();}[_0x3894d5(0x32f)](){const _0x1d2638=_0x3894d5;this[_0x1d2638(0x28f)]||(this[_0x1d2638(0x28f)]=!0x0,this[_0x1d2638(0x1a6)]['sessionStatus$'][_0x1d2638(0x1cc)](_0x94d9ab['takeUntil'](this[_0x1d2638(0x140)]))[_0x1d2638(0x30e)](_0x49dfba=>{const _0x53ed4d=_0x1d2638;_0x49dfba===_0x2fd730['SessionStatus']['ONLINE']?this[_0x53ed4d(0x175)]():this[_0x53ed4d(0x2c3)]();}),this[_0x1d2638(0x1a6)][_0x1d2638(0x357)]['pipe'](_0x94d9ab[_0x1d2638(0x252)](this['dispose$']))[_0x1d2638(0x30e)](_0xecb389=>{const _0x272f54=_0x1d2638,_0x49ac26=_0xecb389[_0x272f54(0x352)];_0x49ac26===_0xcfb5d3[_0x272f54(0x189)][_0x272f54(0x1a3)]&&this[_0x272f54(0x373)](_0xecb389),_0x49ac26===_0xcfb5d3[_0x272f54(0x189)][_0x272f54(0x1e6)]&&this[_0x272f54(0x2dc)](_0xecb389);}),this[_0x1d2638(0x22c)](this[_0x1d2638(0x34a)][_0x1d2638(0x355)](_0xd261a5=>{const _0x457a79=_0x1d2638,_0x4f0cb3=_0xd261a5[_0x457a79(0x15e)];_0x4f0cb3!=null&&this[_0x457a79(0x339)]&&_0xd261a5['id']===_0x1aadfd[_0x457a79(0x253)]['id']&&_0x4f0cb3[_0x457a79(0x15c)]===this['unitID']&&_0x4f0cb3[_0x457a79(0x2fc)]===!0x1&&_0x4f0cb3[_0x457a79(0x2a3)][_0x457a79(0x18c)]>0x0&&this[_0x457a79(0x25d)](_0x4f0cb3['ranges']);})),this[_0x1d2638(0x1fa)]['collabCursorState$'][_0x1d2638(0x1cc)](_0x94d9ab[_0x1d2638(0x252)](this[_0x1d2638(0x140)]))[_0x1d2638(0x30e)](_0x2a4ae3=>{const _0x187e38=_0x1d2638;if((_0x2a4ae3==null?void 0x0:_0x2a4ae3[_0x187e38(0x1b3)])!==this[_0x187e38(0x1b3)])return;const _0x213c7a={'eventID':_0xcfb5d3[_0x187e38(0x189)][_0x187e38(0x1a3)],'data':_0x2a4ae3};this[_0x187e38(0x373)](_0x213c7a);}),this['disposeWithMe'](this[_0x1d2638(0x34a)]['onCommandExecuted'](_0x5756f8=>{const _0x5c5e49=_0x1d2638;if(_0x5756f8['params']==null)return;const _0x34e43d=_0x5756f8[_0x5c5e49(0x15e)];if(_0x5756f8['id']!==_0x1aadfd[_0x5c5e49(0x297)]['id']||_0x34e43d['unitId']!==this['unitID'])return;const _0x588b4f={'id':_0x5c5e49(0x2e2),'params':_0x34e43d},_0x437693=this[_0x5c5e49(0x318)];for(const [_0x9c7ebf,_0x29a0e1]of _0x437693){const _0x34c63c={'id':_0x5c5e49(0x2e2),'params':{'unitId':this[_0x5c5e49(0x1b3)],'actions':null,'textRanges':_0x29a0e1[_0x5c5e49(0x2a3)]}},_0x1eda08=this[_0x5c5e49(0x29d)][_0x5c5e49(0x1f3)](_0x588b4f,_0x34c63c,!0x1);if(_0xcfb5d3['isTransformMutationFailure'](_0x1eda08))throw _0x1eda08[_0x5c5e49(0x107)];_0x437693[_0x5c5e49(0x1b9)](_0x9c7ebf,{..._0x29a0e1,'ranges':_0x1eda08[_0x5c5e49(0x2b7)][_0x5c5e49(0x15e)][_0x5c5e49(0x12c)]});}queueMicrotask(()=>{const _0x2ce0c9=_0x5c5e49;this[_0x2ce0c9(0x263)]['next'](_0x437693);});})));}[_0x3894d5(0x373)](_0x1a3383){const _0x327f5a=_0x3894d5;var _0x533328,_0x35745d;const {memberID:_0x287b0a,selection:_0x18b1a6}=_0x1a3383['data'],_0x11b359=_0x17fcbd(_0x18b1a6),_0x2fc3e6=(_0x35745d=(_0x533328=this[_0x327f5a(0x26a)]['getMember'](this[_0x327f5a(0x1b3)],_0x287b0a))==null?void 0x0:_0x533328[_0x327f5a(0x188)])!=null?_0x35745d:'Unknown\x20user',_0x993972={'color':this[_0x327f5a(0x219)]['assignAColorForMemberID'](_0x287b0a),'name':_0x2fc3e6,'ranges':_0x11b359},_0x2c421d=this[_0x327f5a(0x318)];_0x2c421d[_0x327f5a(0x1b9)](_0x287b0a,_0x993972),this[_0x327f5a(0x263)][_0x327f5a(0x147)](_0x2c421d);}[_0x3894d5(0x2dc)](_0xb14d2d){const _0x774b13=_0x3894d5,{memberID:_0x3e9a08}=_0xb14d2d[_0x774b13(0x2d8)],_0x368475=this[_0x774b13(0x318)];_0x368475[_0x774b13(0x2e4)](_0x3e9a08),this[_0x774b13(0x263)][_0x774b13(0x147)](_0x368475);}[_0x3894d5(0x175)](){const _0xc7873e=_0x3894d5;var _0x594b8a;if(this[_0xc7873e(0x339)]=!0x0,((_0x594b8a=this[_0xc7873e(0x1a9)][_0xc7873e(0x233)]())==null?void 0x0:_0x594b8a['getUnitId']())!==this['unitID'])return;const _0x3ed547=this[_0xc7873e(0x32a)]['get'](_0x1aadfd[_0xc7873e(0x278)])[_0xc7873e(0x1b4)]();Array['isArray'](_0x3ed547)&&_0x3ed547['length']>0x0&&this['_updateLocalCursor'](_0x3ed547);}[_0x3894d5(0x2c3)](){const _0x34bce8=_0x3894d5;this[_0x34bce8(0x339)]=!0x1;}};_0x4c854f=_0x7085([_0x34bd19(0x2,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x34bd19(0x3,_0x1e0609[_0x3894d5(0x176)](_0x57aed3)),_0x34bd19(0x4,_0x1e0609[_0x3894d5(0x176)](_0x2fd730[_0x3894d5(0x124)])),_0x34bd19(0x5,_0x1e0609[_0x3894d5(0x176)](_0x55262d)),_0x34bd19(0x6,_0xcfb5d3[_0x3894d5(0x177)]),_0x34bd19(0x7,_0x1e0609[_0x3894d5(0x301)]),_0x34bd19(0x8,_0x1e0609[_0x3894d5(0x1de)])],_0x4c854f);var _0x35936b=Object[_0x3894d5(0x23b)],_0x10772f=(_0x32572b,_0x35c312,_0x468b14,_0x5428a2)=>{const _0x57c094=_0x3894d5;for(var _0x5ee1e5=_0x5428a2>0x1?void 0x0:_0x5428a2?_0x35936b(_0x35c312,_0x468b14):_0x35c312,_0x186bf1=_0x32572b[_0x57c094(0x18c)]-0x1,_0x6a354f;_0x186bf1>=0x0;_0x186bf1--)(_0x6a354f=_0x32572b[_0x186bf1])&&(_0x5ee1e5=_0x6a354f(_0x5ee1e5)||_0x5ee1e5);return _0x5ee1e5;},_0x11db61=(_0x3bbc58,_0x5d0409)=>(_0x1613ad,_0x13025c)=>_0x5d0409(_0x1613ad,_0x13025c,_0x3bbc58);const _0x7d068f=0x12c,_0x480bca=0x64,_0x37ec3d=()=>{let _0x26ad93=[],_0x34b26e=!0x1;return _0x28ed17=>{const _0x3b7a18=_0x112f;_0x26ad93[_0x3b7a18(0x2aa)](_0x28ed17),_0x34b26e||(_0x34b26e=!0x0,setTimeout(()=>{const _0x36fa8c=_0x3b7a18;_0x26ad93[_0x36fa8c(0x122)](_0x2f9b64=>_0x2f9b64()),_0x26ad93=[],_0x34b26e=!0x1;}));};};let _0x12997a=class extends _0x1e0609[_0x3894d5(0x18b)]{constructor(_0x399f35,_0x112653,_0x34dde2,_0x5f5660,_0x167532,_0x815253,_0x44a709,_0x1610b5){const _0x1ba7bd=_0x3894d5;super(),_0x552ea8(this,_0x1ba7bd(0x339),!0x1),_0x552ea8(this,'_init',!0x1),_0x552ea8(this,_0x1ba7bd(0x263),new _0x94d9ab[(_0x1ba7bd(0x1ff))](new Map())),_0x552ea8(this,_0x1ba7bd(0x33c),this[_0x1ba7bd(0x263)]['asObservable']()),_0x552ea8(this,'_roomMembers$',new _0x94d9ab[(_0x1ba7bd(0x1ff))]([])),_0x552ea8(this,_0x1ba7bd(0x274),this['_roomMembers$'][_0x1ba7bd(0x1cc)](_0x94d9ab[_0x1ba7bd(0x104)](_0x7d068f))),_0x552ea8(this,_0x1ba7bd(0x25d),_0x1e0609['debounce']((_0x3bc266,_0x1fd0ad)=>{const _0x5598dc=_0x1ba7bd,_0x3a3caa={'eventID':_0xcfb5d3[_0x5598dc(0x189)][_0x5598dc(0x1a3)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x5598dc(0x2b8)](),'selection':_0xf78882['serializeRangeWithSheet'](_0x3bc266,_0x1fd0ad[_0x5598dc(0x15b)])}};this[_0x5598dc(0x1a6)][_0x5598dc(0x342)](_0x3a3caa,this['unitID']);},_0x480bca)),(this[_0x1ba7bd(0x1b3)]=_0x399f35,this[_0x1ba7bd(0x1a6)]=_0x112653,this[_0x1ba7bd(0x32a)]=_0x34dde2,this[_0x1ba7bd(0x219)]=_0x5f5660,this['_memberService']=_0x167532,this[_0x1ba7bd(0x1a9)]=_0x815253,this[_0x1ba7bd(0x34a)]=_0x44a709,this['_refRangeService']=_0x1610b5);}get[_0x3894d5(0x318)](){const _0x494a29=_0x3894d5;return this[_0x494a29(0x263)][_0x494a29(0x24f)]();}get[_0x3894d5(0x1cb)](){const _0x564130=_0x3894d5;return this[_0x564130(0xfc)][_0x564130(0x24f)]();}[_0x3894d5(0x1e1)](){const _0x4cd588=_0x3894d5;super[_0x4cd588(0x1e1)](),this[_0x4cd588(0x263)][_0x4cd588(0x147)](new Map()),this[_0x4cd588(0x263)]['complete'](),this[_0x4cd588(0xfc)][_0x4cd588(0x147)]([]),this[_0x4cd588(0xfc)][_0x4cd588(0x216)]();}[_0x3894d5(0x32f)](){const _0x5dba4d=_0x3894d5;this[_0x5dba4d(0x28f)]||(this[_0x5dba4d(0x28f)]=!0x0,this[_0x5dba4d(0x1a6)][_0x5dba4d(0x20f)]['pipe'](_0x94d9ab[_0x5dba4d(0x252)](this[_0x5dba4d(0x140)]))['subscribe'](_0x209de8=>{const _0x2a1c6b=_0x5dba4d;_0x209de8===_0x2fd730['SessionStatus'][_0x2a1c6b(0x21f)]?this[_0x2a1c6b(0x175)]():this[_0x2a1c6b(0x2c3)]();}),this[_0x5dba4d(0x1a6)][_0x5dba4d(0x357)][_0x5dba4d(0x1cc)](_0x94d9ab[_0x5dba4d(0x252)](this[_0x5dba4d(0x140)]))[_0x5dba4d(0x30e)](_0x22f552=>{const _0x2266e5=_0x5dba4d,_0x2cd3c2=_0x22f552['eventID'];_0x2cd3c2===_0xcfb5d3[_0x2266e5(0x189)][_0x2266e5(0x1a3)]&&this[_0x2266e5(0x373)](_0x22f552),_0x2cd3c2===_0xcfb5d3[_0x2266e5(0x189)][_0x2266e5(0x1e6)]&&this['_onCursorDelete'](_0x22f552);}),this['_onRefRangeChange'](),this[_0x5dba4d(0x22c)](this[_0x5dba4d(0x34a)][_0x5dba4d(0x355)](_0x127fd2=>{const _0x276913=_0x5dba4d;if(this[_0x276913(0x339)]&&_0x127fd2['id']===_0x4b47a4[_0x276913(0x27c)]['id']&&_0x127fd2['params']['unitId']===this[_0x276913(0x1b3)]){const _0x106cf3=_0x127fd2[_0x276913(0x15e)];this[_0x276913(0x25d)](_0x106cf3['subUnitId'],_0x106cf3['selections'][0x0]);}})));}[_0x3894d5(0x373)](_0x1896ca){const _0x14c32a=_0x3894d5;var _0x10cec5,_0x4a0338;const {memberID:_0x510be3,selection:_0x4f996d}=_0x1896ca[_0x14c32a(0x2d8)],{sheetName:_0x49205e,range:_0x2d2e57}=_0xf78882[_0x14c32a(0x347)](_0x4f996d),_0x3c1d65={'name':(_0x4a0338=(_0x10cec5=this[_0x14c32a(0x26a)][_0x14c32a(0x2bf)](this[_0x14c32a(0x1b3)],_0x510be3))==null?void 0x0:_0x10cec5[_0x14c32a(0x188)])!=null?_0x4a0338:_0x14c32a(0x2a0),'range':this['_getMergeRange'](_0x49205e,_0x2d2e57),'sheetID':_0x49205e,'color':this[_0x14c32a(0x219)][_0x14c32a(0x29c)](_0x510be3),'selection':_0x4f996d},_0x21732e=this['cursorInfo'];_0x21732e[_0x14c32a(0x1b9)](_0x510be3,_0x3c1d65),this[_0x14c32a(0x263)][_0x14c32a(0x147)](_0x21732e);}[_0x3894d5(0x2dc)](_0xb7e0c5){const _0x422cf9=_0x3894d5,{memberID:_0x27e369}=_0xb7e0c5['data'],_0x1c8896=this[_0x422cf9(0x318)];_0x1c8896[_0x422cf9(0x2e4)](_0x27e369),this[_0x422cf9(0x263)][_0x422cf9(0x147)](_0x1c8896);}['_getMergeRange'](_0x1253a8,_0x4185a8){const _0x259d2e=_0x3894d5;var _0x17e7ad,_0x402ff2;const _0x58070b=(_0x402ff2=(_0x17e7ad=this[_0x259d2e(0x1a9)]['getUniverSheetInstance'](this[_0x259d2e(0x1b3)]))==null?void 0x0:_0x17e7ad[_0x259d2e(0x225)](_0x1253a8))==null?void 0x0:_0x402ff2[_0x259d2e(0x1e7)]();return(_0x58070b==null?void 0x0:_0x58070b[_0x259d2e(0x23c)](_0x1c1041=>_0x1e0609[_0x259d2e(0x300)][_0x259d2e(0xf7)](_0x1c1041,_0x4185a8)))||_0x4185a8;}['_onRefRangeChange'](){const _0x5c7737=_0x3894d5,_0x5f049c=new _0x1e0609['DisposableCollection'](),_0x5aea58=_0x37ec3d(),_0x2c9152=()=>{const _0x5946dd=_0x112f;_0x5f049c[_0x5946dd(0x1e1)]();const _0x3066de=(_0x5a72d5,_0x55ce2e,_0x2312ac,_0x1098fd)=>{const _0x5e05c8=_0x5946dd;let _0x387204=[];switch(_0x5a72d5['id']){case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x12d)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x153)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x2a8)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x202)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x16d)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x208)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x37c)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x314)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0xf9)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x333)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x1fc)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x2c0)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)][_0x5e05c8(0x238)]:{_0x387204=_0x4b47a4[_0x5e05c8(0x2a6)](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4['EffectRefRangId'][_0x5e05c8(0x1ea)]:{_0x387204=_0x4b47a4['handleIRemoveCol'](_0x5a72d5,_0x1098fd);break;}case _0x4b47a4[_0x5e05c8(0x34d)]['RemoveRowCommandId']:{_0x387204=_0x4b47a4['handleIRemoveRow'](_0x5a72d5,_0x1098fd);break;}}const _0x3f54e8=_0x4b47a4[_0x5e05c8(0x113)](_0x387204,_0x1098fd),_0x2efeda=this[_0x5e05c8(0x318)][_0x5e05c8(0x2b6)](_0x55ce2e);if(_0x2efeda&&_0x3f54e8){const _0x244015={..._0x2efeda,'range':_0x3f54e8};this[_0x5e05c8(0x318)][_0x5e05c8(0x1b9)](_0x55ce2e,_0x244015),_0x5aea58(()=>{const _0x299e13=_0x5e05c8,_0x1bd64e=this['_refRangeService']['registerRefRange'](_0x3f54e8,_0x16b26e=>(_0x1bd64e[_0x299e13(0x1e1)](),_0x3066de(_0x16b26e,_0x55ce2e,_0x2312ac,_0x3f54e8)));_0x5f049c[_0x299e13(0x13d)](_0x1bd64e);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5946dd(0x122)]((_0x37fd40,_0x5aa3f0)=>{const _0x2bddc5=_0x5946dd,{range:_0x43ac73,sheetID:_0x1a8f45}=_0x37fd40,_0x19fb36=this[_0x2bddc5(0x21c)][_0x2bddc5(0x2f7)](_0x43ac73,_0x5992a2=>(_0x19fb36[_0x2bddc5(0x1e1)](),_0x3066de(_0x5992a2,_0x5aa3f0,_0x1a8f45,_0x43ac73)));_0x5f049c[_0x2bddc5(0x13d)](_0x19fb36);});};this[_0x5c7737(0x22c)](_0x1e0609['toDisposable'](this[_0x5c7737(0x263)][_0x5c7737(0x30e)](()=>{_0x2c9152();})));}[_0x3894d5(0x175)](){const _0x200bca=_0x3894d5;var _0x34af7f,_0x4732ab;if(this[_0x200bca(0x339)]=!0x0,((_0x34af7f=this[_0x200bca(0x1a9)][_0x200bca(0x233)]())==null?void 0x0:_0x34af7f[_0x200bca(0xe6)]())!==this[_0x200bca(0x1b3)])return;const _0x1876a5=(_0x4732ab=this['_injector']['get'](_0x4b47a4[_0x200bca(0x1dd)])[_0x200bca(0x213)]())==null?void 0x0:_0x4732ab[0x0],_0x51728e=this[_0x200bca(0x1a9)][_0x200bca(0x192)](_0x1e0609['UniverInstanceType'][_0x200bca(0x1c6)])[_0x200bca(0x2fd)]();_0x1876a5&&_0x51728e&&this[_0x200bca(0x25d)](_0x51728e[_0x200bca(0x142)](),_0x1876a5);}[_0x3894d5(0x2c3)](){const _0x26ab5a=_0x3894d5;this[_0x26ab5a(0x339)]=!0x1;}};_0x12997a=_0x10772f([_0x11db61(0x2,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x11db61(0x3,_0x1e0609['Inject'](_0x57aed3)),_0x11db61(0x4,_0x1e0609['Inject'](_0x2fd730[_0x3894d5(0x124)])),_0x11db61(0x5,_0x1e0609['IUniverInstanceService']),_0x11db61(0x6,_0x1e0609[_0x3894d5(0x1de)]),_0x11db61(0x7,_0x1e0609['Inject'](_0x4b47a4['RefRangeService']))],_0x12997a);var _0x3730eb=Object['getOwnPropertyDescriptor'],_0x5c1e9b=(_0x361cbb,_0xd6c68a,_0x534855,_0x510e90)=>{const _0x44e506=_0x3894d5;for(var _0x5c82e3=_0x510e90>0x1?void 0x0:_0x510e90?_0x3730eb(_0xd6c68a,_0x534855):_0xd6c68a,_0x4aa1f9=_0x361cbb[_0x44e506(0x18c)]-0x1,_0xd167eb;_0x4aa1f9>=0x0;_0x4aa1f9--)(_0xd167eb=_0x361cbb[_0x4aa1f9])&&(_0x5c82e3=_0xd167eb(_0x5c82e3)||_0x5c82e3);return _0x5c82e3;},_0xa3d3bc=(_0x4a2548,_0x5b3c53)=>(_0x5b3053,_0x5d8c10)=>_0x5b3c53(_0x5b3053,_0x5d8c10,_0x4a2548);let _0x3766ca=class extends _0x1e0609[_0x3894d5(0x18b)]{constructor(_0x5182f0,_0x18850a,_0x3e03f6){const _0xfeb5c6=_0x3894d5;super(),_0x552ea8(this,_0xfeb5c6(0x294),new Map()),_0x552ea8(this,'_entityInit$',new _0x94d9ab['Subject']()),(this[_0xfeb5c6(0x1a9)]=_0x5182f0,this[_0xfeb5c6(0x32a)]=_0x18850a,this[_0xfeb5c6(0x24d)]=_0x3e03f6,this['_init']());}['dispose'](){const _0x5b319e=_0x3894d5;super[_0x5b319e(0x1e1)](),this[_0x5b319e(0x1d9)][_0x5b319e(0x216)](),this[_0x5b319e(0x294)][_0x5b319e(0x122)](_0x53ec7a=>_0x53ec7a[_0x5b319e(0x1e1)]());}[_0x3894d5(0x20e)](_0x2cbc13){const _0x2f93e7=_0x3894d5;return this[_0x2f93e7(0x294)][_0x2f93e7(0x27d)](_0x2cbc13)?this[_0x2f93e7(0x294)][_0x2f93e7(0x2b6)](_0x2cbc13)[_0x2f93e7(0x33c)]:this[_0x2f93e7(0x1d9)]['pipe'](_0x94d9ab[_0x2f93e7(0xf0)](_0x28ebdb=>_0x28ebdb[_0x2f93e7(0x1b3)]===_0x2cbc13),_0x94d9ab[_0x2f93e7(0x1f6)](_0x2c54ba=>_0x2c54ba[_0x2f93e7(0x33c)]));}[_0x3894d5(0x28f)](){const _0x4f0046=_0x3894d5;this[_0x4f0046(0x1a9)][_0x4f0046(0x1b7)](_0x1e0609[_0x4f0046(0xff)][_0x4f0046(0x1c6)])['pipe'](_0x94d9ab[_0x4f0046(0x252)](this[_0x4f0046(0x140)]))[_0x4f0046(0x30e)](async _0x4a3ea5=>{const _0x1110bb=_0x4f0046,_0x2675d1=_0x4a3ea5[_0x1110bb(0xe6)](),_0x401254=await this['_startSheetCollabCursor'](_0x2675d1);this['_entityInit$'][_0x1110bb(0x147)](_0x401254),this[_0x1110bb(0x294)][_0x1110bb(0x1b9)](_0x2675d1,_0x401254);}),this[_0x4f0046(0x1a9)][_0x4f0046(0x1b7)](_0x1e0609[_0x4f0046(0xff)][_0x4f0046(0x11f)])[_0x4f0046(0x1cc)](_0x94d9ab[_0x4f0046(0x252)](this['dispose$']))['pipe'](_0x94d9ab[_0x4f0046(0xf0)](_0x42e343=>!_0x42e343[_0x4f0046(0xe6)]()['startsWith']('__')))[_0x4f0046(0x30e)](async _0x1eebfc=>{const _0x41c1f5=_0x4f0046,_0x4056a6=_0x1eebfc[_0x41c1f5(0xe6)](),_0x6be9f0=await this[_0x41c1f5(0x14d)](_0x4056a6);this[_0x41c1f5(0x1d9)][_0x41c1f5(0x147)](_0x6be9f0),this[_0x41c1f5(0x294)][_0x41c1f5(0x1b9)](_0x4056a6,_0x6be9f0);}),_0x94d9ab[_0x4f0046(0x19c)](this['_univerInstanceService'][_0x4f0046(0x277)](_0x1e0609[_0x4f0046(0xff)][_0x4f0046(0x11f)]),this[_0x4f0046(0x1a9)][_0x4f0046(0x277)](_0x1e0609['UniverInstanceType']['UNIVER_SHEET']))[_0x4f0046(0x1cc)](_0x94d9ab[_0x4f0046(0x252)](this[_0x4f0046(0x140)]))['subscribe'](_0x24251d=>{const _0x10a2a5=_0x4f0046,_0x26546c=_0x24251d['getUnitId'](),_0x989868=this[_0x10a2a5(0x294)]['get'](_0x26546c);_0x989868&&(_0x989868[_0x10a2a5(0x1e1)](),this['_entities']['delete'](_0x26546c));});}async['_startSheetCollabCursor'](_0x2c14ff){const _0x22f97e=_0x3894d5,_0x407397=await this[_0x22f97e(0x24d)][_0x22f97e(0x103)](_0x2c14ff),_0xd95f0b=this[_0x22f97e(0x32a)][_0x22f97e(0x16f)](_0x12997a,_0x2c14ff,_0x407397);return _0xd95f0b[_0x22f97e(0x32f)](),_0xd95f0b;}async['_startDocCollabCursor'](_0xaa4fe1){const _0x5db7bd=_0x3894d5,_0x566bb3=await this[_0x5db7bd(0x24d)][_0x5db7bd(0x103)](_0xaa4fe1),_0x581be2=this[_0x5db7bd(0x32a)][_0x5db7bd(0x16f)](_0x4c854f,_0xaa4fe1,_0x566bb3);return _0x581be2[_0x5db7bd(0x32f)](),_0x581be2;}};_0x3766ca=_0x5c1e9b([_0xa3d3bc(0x0,_0x1e0609[_0x3894d5(0x301)]),_0xa3d3bc(0x1,_0x1e0609['Inject'](_0x1e0609['Injector'])),_0xa3d3bc(0x2,_0x1e0609['Inject'](_0x2fd730[_0x3894d5(0x1d2)]))],_0x3766ca);const _0x57f764=0x14,_0x4790ee=0xc8,_0x9e742=0x4,_0xbf4c7d=0x5;function _0x21408a(_0x527f8f,_0x3bb20e){const _0x4bd93c=_0x3894d5;let {radius:_0x4f7268,width:_0x3b54a6,height:_0x53b77e}=_0x3bb20e;_0x4f7268=_0x4f7268!=null?_0x4f7268:0x0,_0x3b54a6=_0x3b54a6!=null?_0x3b54a6:0x1e,_0x53b77e=_0x53b77e!=null?_0x53b77e:0x1e;let _0x580c94=0x0,_0xd4dd77=0x0,_0x26e5b8=0x0;_0x580c94=_0xd4dd77=_0x26e5b8=Math[_0x4bd93c(0x358)](_0x4f7268,_0x3b54a6/0x2,_0x53b77e/0x2),_0x527f8f[_0x4bd93c(0x287)](),_0x527f8f[_0x4bd93c(0x33e)](_0x580c94,0x0),_0x527f8f[_0x4bd93c(0x34f)](_0x3b54a6-_0xd4dd77,0x0),_0x527f8f[_0x4bd93c(0x2c1)](_0x3b54a6-_0xd4dd77,_0xd4dd77,_0xd4dd77,Math['PI']*0x3/0x2,0x0,!0x1),_0x527f8f['lineTo'](_0x3b54a6,_0x53b77e-_0x26e5b8),_0x527f8f['arc'](_0x3b54a6-_0x26e5b8,_0x53b77e-_0x26e5b8,_0x26e5b8,0x0,Math['PI']/0x2,!0x1),_0x527f8f[_0x4bd93c(0x34f)](0x0,_0x53b77e),_0x527f8f[_0x4bd93c(0x34f)](0x0,_0x580c94),_0x527f8f[_0x4bd93c(0x2c1)](_0x580c94,_0x580c94,_0x580c94,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x527f8f[_0x4bd93c(0x2e8)](),_0x3bb20e[_0x4bd93c(0x2e9)]&&(_0x527f8f['save'](),_0x527f8f[_0x4bd93c(0x23a)]=_0x3bb20e[_0x4bd93c(0x2e9)],_0x3bb20e[_0x4bd93c(0x375)]==='evenodd'?_0x527f8f['fill'](_0x4bd93c(0x26b)):_0x527f8f[_0x4bd93c(0x2e9)](),_0x527f8f[_0x4bd93c(0x26e)]());}class _0x14178e extends _0x8660e4[_0x3894d5(0x2bb)]{constructor(_0x5d6326,_0x104c67){const _0x5268e4=_0x3894d5;super(_0x5d6326,_0x104c67),_0x552ea8(this,'color'),_0x552ea8(this,'text'),(this['color']=_0x104c67==null?void 0x0:_0x104c67[_0x5268e4(0x179)],this['text']=_0x104c67==null?void 0x0:_0x104c67['text']);}static['drawWith'](_0x482c58,_0x3f977d){const _0x1b05ab=_0x3894d5,{text:_0x256625,color:_0x2edf6d}=_0x3f977d;_0x482c58['save'](),_0x482c58[_0x1b05ab(0x1ed)]=_0x1b05ab(0xe9);const _0x4a1d2d=_0x482c58[_0x1b05ab(0x2d6)](_0x256625)[_0x1b05ab(0x1e9)],_0x11a657=Math[_0x1b05ab(0x358)](_0x4a1d2d+0x2*_0x9e742,_0x4790ee);_0x21408a(_0x482c58,{'height':_0x57f764,'radius':0x4,'width':_0x11a657,'fill':_0x2edf6d}),_0x482c58[_0x1b05ab(0x23a)]=_0x1b05ab(0x1c0);const _0x26ed4d=_0x9e742,_0x24016e=_0x57f764-_0xbf4c7d,_0x4fd4ee=_0x4790ee-0x2*_0x9e742;if(_0x4a1d2d>_0x4fd4ee){let _0x470b48='',_0x2edf18=0x0;for(const _0x4c405d of _0x256625){const _0x23703e=_0x482c58['measureText'](_0x4c405d)[_0x1b05ab(0x1e9)];if(_0x2edf18+_0x23703e<=_0x4fd4ee-_0x482c58[_0x1b05ab(0x2d6)](_0x1b05ab(0x190))['width'])_0x470b48+=_0x4c405d,_0x2edf18+=_0x23703e;else{_0x470b48+='...';break;}}_0x482c58[_0x1b05ab(0x11c)](_0x470b48,_0x26ed4d,_0x24016e);}else _0x482c58['fillText'](_0x256625,_0x26ed4d,_0x24016e);_0x482c58[_0x1b05ab(0x26e)]();}['_draw'](_0x497bd8){const _0x476f8e=_0x3894d5;_0x14178e[_0x476f8e(0x244)](_0x497bd8,this);}}const _0x518849=_0x3894d5(0x256),_0x4878d3=_0x3894d5(0x374),_0x4148e5=_0x3894d5(0x29e),_0x3b5385=0x6,_0x3a4f7d=1.5,_0x33e095=0x4,_0x4315e2=1.5,_0x31b9a1='rgba(255,\x20255,\x20255,\x200.01)';class _0xcdf02e{constructor(_0x305f61,_0x254ef4,_0x40c5f2,_0x1eab38){const _0x1c21fb=_0x3894d5;_0x552ea8(this,'_shapes',[]),_0x552ea8(this,_0x1c21fb(0x1ce),null),_0x552ea8(this,'_textBubble',null),_0x552ea8(this,_0x1c21fb(0x2ad),null),_0x552ea8(this,_0x1c21fb(0x2af),null),_0x552ea8(this,_0x1c21fb(0x326),null),(this[_0x1c21fb(0x345)]=_0x305f61,this['_scene']=_0x254ef4,this[_0x1c21fb(0xfb)]=_0x40c5f2,this[_0x1c21fb(0x161)]=_0x1eab38,this[_0x1c21fb(0x34e)]());}set[_0x3894d5(0x130)](_0x46262d){const _0x54118a=_0x3894d5;_0x46262d?(this[_0x54118a(0x2ad)]&&this['_anchorDot'][_0x54118a(0x123)](),this[_0x54118a(0x172)]&&this[_0x54118a(0x172)][_0x54118a(0x182)]()):(this[_0x54118a(0x2ad)]&&this[_0x54118a(0x2ad)][_0x54118a(0x182)](),this[_0x54118a(0x172)]&&this[_0x54118a(0x172)][_0x54118a(0x123)]());}[_0x3894d5(0x1e1)](){const _0x25e854=_0x3894d5;for(const _0x579300 of this[_0x25e854(0x29b)])_0x579300[_0x25e854(0x1e1)]();this[_0x25e854(0x172)]&&this[_0x25e854(0x172)][_0x25e854(0x1e1)](),this[_0x25e854(0x2ad)]&&this[_0x25e854(0x2ad)][_0x25e854(0x1e1)](),this[_0x25e854(0x1ce)]&&this['_anchor'][_0x25e854(0x1e1)](),this[_0x25e854(0x326)]&&this['_eventUnsubscribe']();}[_0x3894d5(0x34e)](){const _0x36c319=_0x3894d5;var _0xaf637b;const {_docSkeleton:_0x10b0dc,_document:_0x48d39b}=this,{color:_0xfdec52,name:_0x44aafe,ranges:_0x22ead3}=this[_0x36c319(0x345)],_0x427129=_0x48d39b[_0x36c319(0x1dc)](),{docsLeft:_0x38d4ef,docsTop:_0x3cc063}=_0x427129,_0x1dffb5=new _0x189013[(_0x36c319(0x340))](_0x427129,_0x10b0dc);for(const {startOffset:_0x3a8f6f,endOffset:_0x5a9e87,rangeType:_0x3dd06c,segmentId:_0x2a1871,segmentPage:_0x5e3998,collapsed:_0x2e2af5,isActive:_0xa54e4e}of _0x22ead3){const _0x161438=_0x10b0dc[_0x36c319(0x332)](_0x3a8f6f,!0x0,_0x2a1871,_0x5e3998);let _0x38b119=_0x10b0dc['findNodePositionByCharIndex'](_0x5a9e87,!0x0,_0x2a1871,_0x5e3998);if(_0x38b119==null&&(_0x38b119=_0x10b0dc[_0x36c319(0x332)](_0x5a9e87-0x1,!0x1,_0x2a1871,_0x5e3998)),_0xa54e4e){const {contentBoxPointGroup:_0x3dcb05}=_0x1dffb5[_0x36c319(0x111)](_0x38b119,_0x38b119);if(_0x3dcb05[_0x36c319(0x18c)]===0x0)continue;this[_0x36c319(0x150)](_0xfdec52,_0x3dcb05,_0x38d4ef,_0x3cc063,_0x44aafe),this['_eventUnsubscribe']=this[_0x36c319(0x138)]();}if(_0x161438&&_0x38b119){if(_0x3dd06c===_0x1e0609[_0x36c319(0x298)]['RECT']){const _0x59da9e=new _0x189013[(_0x36c319(0x336))](_0x427129,_0x10b0dc),{pointGroup:_0x141134}=(_0xaf637b=_0x59da9e[_0x36c319(0x111)](_0x161438,_0x38b119))!=null?_0xaf637b:{};if(_0x141134==null||_0x141134['length']===0x0)continue;this[_0x36c319(0x13a)](_0xfdec52,_0x141134,_0x38d4ef,_0x3cc063);}else{if(!_0x2e2af5){const {borderBoxPointGroup:_0x306478}=_0x1dffb5[_0x36c319(0x111)](_0x161438,_0x38b119);if(_0x306478[_0x36c319(0x18c)]===0x0)continue;this[_0x36c319(0x14a)](_0xfdec52,_0x306478,_0x38d4ef,_0x3cc063);}}}}}[_0x3894d5(0x150)](_0x367790,_0x33c0b0,_0x404955,_0x458a8a,_0x38c11d){const _0x2b50c3=_0x3894d5,_0x4dc682=this['_getAnchorBounding'](_0x33c0b0),{left:_0x19a819,top:_0x1b1e7f,height:_0x1a8532}=_0x4dc682,_0x39e01d=this['_getScale'](),_0x1a7b58=_0x4315e2/_0x39e01d,_0x19808f=new _0x8660e4[(_0x2b50c3(0x36c))](_0x518849+_0x1e0609[_0x2b50c3(0x33b)][_0x2b50c3(0x27a)](_0x3b5385),{'left':_0x19a819+_0x404955-_0x1a7b58,'top':_0x1b1e7f+_0x458a8a,'height':_0x1a8532,'width':_0x3a4f7d,'fill':_0x367790||_0x8660e4[_0x2b50c3(0x35a)](_0x1e0609[_0x2b50c3(0x1cd)][_0x2b50c3(0x361)],0x0),'strokeWidth':_0x1a7b58,'stroke':_0x31b9a1,'evented':!0x0});this[_0x2b50c3(0x1ce)]=_0x19808f,this[_0x2b50c3(0x273)][_0x2b50c3(0x20c)](_0x19808f,_0x189013[_0x2b50c3(0x17c)]);const _0x904760=new _0x8660e4[(_0x2b50c3(0x36c))](_0x518849+_0x1e0609[_0x2b50c3(0x33b)][_0x2b50c3(0x27a)](_0x3b5385),{'left':_0x19a819+_0x404955-_0x1a7b58,'top':_0x1b1e7f+_0x458a8a-_0x33e095/0x2,'height':_0x33e095,'width':_0x33e095,'fill':_0x367790||_0x8660e4[_0x2b50c3(0x35a)](_0x1e0609[_0x2b50c3(0x1cd)][_0x2b50c3(0x361)],0x0),'strokeWidth':0x0,'stroke':_0x367790||_0x8660e4[_0x2b50c3(0x35a)](_0x1e0609['COLORS']['black'],0x0),'evented':!0x1});this[_0x2b50c3(0x2ad)]=_0x904760,this['_scene'][_0x2b50c3(0x20c)](_0x904760,_0x189013['TEXT_RANGE_LAYER_INDEX']);const _0x404523=new _0x14178e(_0x518849+_0x1e0609[_0x2b50c3(0x33b)][_0x2b50c3(0x27a)](_0x3b5385),{'left':_0x19a819+_0x404955-_0x1a7b58,'top':_0x1b1e7f+_0x458a8a-_0x57f764,'text':_0x38c11d,'color':_0x367790});this[_0x2b50c3(0x172)]=_0x404523,this[_0x2b50c3(0x273)][_0x2b50c3(0x20c)](_0x404523,_0x189013[_0x2b50c3(0x17c)]),this[_0x2b50c3(0x130)]=!0x1;}[_0x3894d5(0x138)](){const _0x480a6a=_0x3894d5,_0x55fba1=this[_0x480a6a(0x1ce)][_0x480a6a(0x2a4)][_0x480a6a(0x11a)](()=>{const _0x26016e=_0x480a6a;this[_0x26016e(0x130)]=!0x0;}),_0x23e666=this['_anchor'][_0x480a6a(0x19e)][_0x480a6a(0x11a)](()=>{const _0x21a83c=_0x480a6a;this[_0x21a83c(0x2af)]&&clearTimeout(this[_0x21a83c(0x2af)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2e2e2b=_0x480a6a;_0x55fba1[_0x2e2e2b(0x2e0)](),_0x23e666[_0x2e2e2b(0x2e0)]();};}[_0x3894d5(0x14a)](_0xdaeff7,_0x4fc6e7,_0x213378,_0x13a895){const _0x26c3e4=_0x3894d5,_0xf1a500=new _0x1e0609[(_0x26c3e4(0x217))](_0xdaeff7)[_0x26c3e4(0x1a1)](0.2)[_0x26c3e4(0x2ef)](),_0x3d7742=new _0x8660e4[(_0x26c3e4(0x164))](_0x4878d3+_0x1e0609[_0x26c3e4(0x33b)]['generateRandomId'](_0x3b5385),{'pointsGroup':_0x4fc6e7,'fill':_0xf1a500||_0x8660e4[_0x26c3e4(0x35a)](_0x1e0609[_0x26c3e4(0x1cd)][_0x26c3e4(0x361)],0.2),'left':_0x213378,'top':_0x13a895,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26c3e4(0x29b)][_0x26c3e4(0x2aa)](_0x3d7742),this[_0x26c3e4(0x273)][_0x26c3e4(0x20c)](_0x3d7742,_0x189013[_0x26c3e4(0x17c)]);}['_drawRectRange'](_0x5d5c47,_0x57ed33,_0x42a012,_0x234920){const _0x5bbe1c=_0x3894d5,_0x2fc69f=new _0x1e0609[(_0x5bbe1c(0x217))](_0x5d5c47)[_0x5bbe1c(0x1a1)](0.2)[_0x5bbe1c(0x2ef)](),_0x58f811=new _0x8660e4[(_0x5bbe1c(0x164))](_0x4148e5+_0x1e0609[_0x5bbe1c(0x33b)]['generateRandomId'](_0x3b5385),{'pointsGroup':_0x57ed33,'fill':_0x2fc69f||_0x8660e4[_0x5bbe1c(0x35a)](_0x1e0609['COLORS'][_0x5bbe1c(0x361)],0.2),'left':_0x42a012,'top':_0x234920,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5bbe1c(0x29b)]['push'](_0x58f811),this[_0x5bbe1c(0x273)][_0x5bbe1c(0x20c)](_0x58f811,_0x189013[_0x5bbe1c(0x17c)]);}[_0x3894d5(0x33f)](_0x423e7e){const _0x26e2c4=_0x423e7e[0x0],_0x325fdc=_0x26e2c4[0x0],_0x103a91=_0x26e2c4[0x2],{x:_0x10b817,y:_0x883722}=_0x325fdc,{x:_0x1755b5,y:_0x171e1f}=_0x103a91;return{'left':_0x10b817,'top':_0x883722,'width':_0x1755b5-_0x10b817,'height':_0x171e1f-_0x883722};}['_getScale'](){const _0x416694=_0x3894d5,{scaleX:_0x1e2946,scaleY:_0x5c768f}=this[_0x416694(0x273)][_0x416694(0x1fe)]();return Math[_0x416694(0x2c8)](_0x1e2946,_0x5c768f);}}var _0xe6f1b6=Object[_0x3894d5(0x23b)],_0x52b942=(_0x45a0c5,_0xc712f7,_0x273c26,_0x88bcb)=>{const _0x1c8f63=_0x3894d5;for(var _0xae52d4=_0x88bcb>0x1?void 0x0:_0x88bcb?_0xe6f1b6(_0xc712f7,_0x273c26):_0xc712f7,_0x235508=_0x45a0c5[_0x1c8f63(0x18c)]-0x1,_0x2d1d08;_0x235508>=0x0;_0x235508--)(_0x2d1d08=_0x45a0c5[_0x235508])&&(_0xae52d4=_0x2d1d08(_0xae52d4)||_0xae52d4);return _0xae52d4;},_0x4c402e=(_0x533bfd,_0x2f450b)=>(_0x5b3b40,_0x21eb31)=>_0x2f450b(_0x5b3b40,_0x21eb31,_0x533bfd);let _0x30bcfd=class extends _0x1e0609[_0x3894d5(0x18b)]{constructor(_0x35b2b1,_0x339f64,_0x701c12,_0x366480,_0x4a0449){const _0x3a50b7=_0x3894d5;super(),_0x552ea8(this,'_cursorShapes',[]),_0x552ea8(this,_0x3a50b7(0x13c),[]),(this['_context']=_0x35b2b1,this[_0x3a50b7(0x27e)]=_0x339f64,this['_collabCursorController']=_0x701c12,this[_0x3a50b7(0x34a)]=_0x366480,this['_themeService']=_0x4a0449,this[_0x3a50b7(0x28f)]());}[_0x3894d5(0x28f)](){const _0xd46ad6=_0x3894d5,_0x3a787e=this['_context'][_0xd46ad6(0x15c)],_0x5d69e1=this[_0xd46ad6(0x27e)];this['disposeWithMe'](_0x94d9ab[_0xd46ad6(0x36d)]([this[_0xd46ad6(0x304)][_0xd46ad6(0x20e)](_0x3a787e),this[_0xd46ad6(0x151)]['currentTheme$']])[_0xd46ad6(0x1cc)](_0xecbc95[_0xd46ad6(0x1e4)](([_0x2c5987,_0x404881])=>({'skeleton':_0x5d69e1[_0xd46ad6(0x32d)](),'cursors':[..._0x2c5987[_0xd46ad6(0x28c)]()]['flatMap'](_0x5dc980=>({..._0x5dc980,'color':_0x404881[_0x5dc980[_0xd46ad6(0x179)]]}))})))[_0xd46ad6(0x30e)](_0xc3e798=>{const _0x2d6648=_0xd46ad6;if(this[_0x2d6648(0x223)](),_0xc3e798){const {skeleton:_0x4eb0f0,cursors:_0x5c6dd2}=_0xc3e798;this[_0x2d6648(0x377)](_0x4eb0f0,_0x5c6dd2);}})),this[_0xd46ad6(0xea)](),this['_initCommandExecutedListener']();}[_0x3894d5(0x377)](_0x4c4d74,_0x2a4d30){const _0x1cc825=_0x3894d5,{scene:_0x22cfad,mainComponent:_0x4999e1}=this[_0x1cc825(0x194)],_0x239beb=_0x2a4d30[_0x1cc825(0x1e4)](_0x45803a=>new _0xcdf02e(_0x45803a,_0x22cfad,_0x4c4d74,_0x4999e1));this['_cursorShapes']=_0x239beb,this[_0x1cc825(0x13c)]=_0x2a4d30;}['_refreshCollabCursors'](){const _0x740fd=_0x3894d5;this[_0x740fd(0x223)]();const {scene:_0x10877b,mainComponent:_0x4619f6}=this[_0x740fd(0x194)],_0x388c18=this[_0x740fd(0x27e)][_0x740fd(0x32d)](),_0x5501ac=this[_0x740fd(0x13c)][_0x740fd(0x1e4)](_0x295e95=>new _0xcdf02e(_0x295e95,_0x10877b,_0x388c18,_0x4619f6));this['_cursorShapes']=_0x5501ac;}['_removeCollabCursors'](){const _0x3b050e=_0x3894d5;this[_0x3b050e(0x367)][_0x3b050e(0x122)](_0x4ec894=>_0x4ec894[_0x3b050e(0x1e1)]()),this['_cursorShapes']=[];}[_0x3894d5(0x230)](){const _0x5d3c2d=_0x3894d5,_0x2b407b=[_0x189013['SetDocZoomRatioOperation']['id']];this[_0x5d3c2d(0x22c)](this['_commandService'][_0x5d3c2d(0x355)](_0xd85aa3=>{const _0x384e88=_0x5d3c2d;_0x2b407b[_0x384e88(0x319)](_0xd85aa3['id'])&&_0xd85aa3[_0x384e88(0x15e)][_0x384e88(0x15c)]===this['_context'][_0x384e88(0x15c)]&&this['_refreshCollabCursors']();}));}[_0x3894d5(0xea)](){const _0x1ca57b=_0x3894d5;this[_0x1ca57b(0x22c)](_0x1e0609['fromEventSubject'](this[_0x1ca57b(0x194)][_0x1ca57b(0x1b0)]['onTransformChange$'])[_0x1ca57b(0x1cc)](_0xecbc95['filter'](_0x51d010=>_0x51d010[_0x1ca57b(0x31a)]===_0x8660e4[_0x1ca57b(0x30c)][_0x1ca57b(0x293)]),_0xecbc95['throttleTime'](0x10))[_0x1ca57b(0x30e)](()=>{const _0x2582ee=_0x1ca57b;this[_0x2582ee(0x210)]();}));}};_0x30bcfd=_0x52b942([_0x4c402e(0x1,_0x1e0609[_0x3894d5(0x176)](_0x1aadfd[_0x3894d5(0x1ae)])),_0x4c402e(0x2,_0x1e0609['Inject'](_0x3766ca)),_0x4c402e(0x3,_0x1e0609[_0x3894d5(0x1de)]),_0x4c402e(0x4,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x166)]))],_0x30bcfd);const _0x14bcd3=0x1,_0x3bd920=1.5;class _0xd0ee36 extends _0x8660e4['Shape']{constructor(_0x49d26f,_0x1f1998){const _0x1bdc5a=_0x3894d5;super(_0x49d26f,_0x1f1998),_0x552ea8(this,_0x1bdc5a(0x266)),_0x552ea8(this,_0x1bdc5a(0x270),!0x1),_0x552ea8(this,'_range'),_0x552ea8(this,_0x1bdc5a(0x267),''),_0x552ea8(this,_0x1bdc5a(0x1df),'top'),_0x552ea8(this,_0x1bdc5a(0x2ee)),(_0x1f1998&&this['setShapeProps'](_0x1f1998),this[_0x1bdc5a(0x2a4)][_0x1bdc5a(0x11a)](()=>this[_0x1bdc5a(0x114)]({'hovered':!0x0})),this[_0x1bdc5a(0x19e)][_0x1bdc5a(0x11a)](()=>this[_0x1bdc5a(0x114)]({'hovered':!0x1})));}[_0x3894d5(0x114)](_0x3c7444){const _0x2ddad2=_0x3894d5;var _0x3847bd,_0x484d87,_0x518cf3,_0x56ff24,_0x1a0a38,_0xccbc87;this[_0x2ddad2(0x266)]=(_0x3847bd=_0x3c7444[_0x2ddad2(0x179)])!=null?_0x3847bd:this[_0x2ddad2(0x266)],this['_hovered']=(_0x484d87=_0x3c7444[_0x2ddad2(0xf2)])!=null?_0x484d87:this['_hovered'],this[_0x2ddad2(0x2c2)]=(_0x518cf3=_0x3c7444['range'])!=null?_0x518cf3:this[_0x2ddad2(0x2c2)],this[_0x2ddad2(0x267)]=(_0x56ff24=_0x3c7444[_0x2ddad2(0x188)])!=null?_0x56ff24:this[_0x2ddad2(0x267)],this[_0x2ddad2(0x1df)]=(_0x1a0a38=_0x3c7444[_0x2ddad2(0x226)])!=null?_0x1a0a38:this['_labelPosition'],this[_0x2ddad2(0x2ee)]=(_0xccbc87=_0x3c7444['backgroundColor'])!=null?_0xccbc87:this[_0x2ddad2(0x2ee)],this[_0x2ddad2(0x234)]({'width':_0x3c7444[_0x2ddad2(0x1e9)],'height':_0x3c7444['height']});}[_0x3894d5(0x346)](_0x1d8d57){const _0x24658a=_0x3894d5,{row:_0x473dbb,column:_0x2717c1}=_0x1d8d57;if(_0x473dbb>=this['_range']['startRow']&&_0x473dbb<=this['_range'][_0x24658a(0x149)]&&_0x2717c1>=this[_0x24658a(0x2c2)]['startColumn']&&_0x2717c1<=this[_0x24658a(0x2c2)]['endColumn']){this[_0x24658a(0x114)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x2de287){return!0x1;}[_0x3894d5(0x2e1)](_0xc58c9a){const _0x7a114f=_0x3894d5;_0x8660e4[_0x7a114f(0x36c)][_0x7a114f(0x244)](_0xc58c9a,{'width':this[_0x7a114f(0x1e9)],'height':this[_0x7a114f(0x302)],'strokeWidth':_0x3bd920,'stroke':this[_0x7a114f(0x266)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0xc58c9a[_0x7a114f(0x317)](),_0xc58c9a['transform'](0x1,0x0,0x0,0x1,this[_0x7a114f(0x1e9)],this[_0x7a114f(0x1df)]===_0x7a114f(0x29f)?0x0:-0x14),_0x14178e[_0x7a114f(0x244)](_0xc58c9a,{'text':this['_name'],'color':this[_0x7a114f(0x266)]}),_0xc58c9a[_0x7a114f(0x26e)]());}}var _0x22969f=Object[_0x3894d5(0x23b)],_0x4db5ff=(_0x5e1c31,_0x4aa8a,_0x62ab60,_0x1c8ca7)=>{const _0x25368d=_0x3894d5;for(var _0x1d4ca6=_0x1c8ca7>0x1?void 0x0:_0x1c8ca7?_0x22969f(_0x4aa8a,_0x62ab60):_0x4aa8a,_0xa982c2=_0x5e1c31[_0x25368d(0x18c)]-0x1,_0x27908a;_0xa982c2>=0x0;_0xa982c2--)(_0x27908a=_0x5e1c31[_0xa982c2])&&(_0x1d4ca6=_0x27908a(_0x1d4ca6)||_0x1d4ca6);return _0x1d4ca6;},_0x36744a=(_0x9695e1,_0x343ab9)=>(_0x1eab69,_0x4ac439)=>_0x343ab9(_0x1eab69,_0x4ac439,_0x9695e1);const _0x52eedf=0x1389;let _0x41413e=class extends _0x1e0609[_0x3894d5(0x18b)]{constructor(_0x435c51,_0x38f829,_0x3a918a,_0x22ab32){const _0x2dd7fb=_0x3894d5;super(),_0x552ea8(this,_0x2dd7fb(0x13c),new Set()),_0x552ea8(this,_0x2dd7fb(0x1f8),null),(this[_0x2dd7fb(0x194)]=_0x435c51,this['_sheetSkeletonManagerService']=_0x38f829,this['_collabCursorController']=_0x3a918a,this[_0x2dd7fb(0x151)]=_0x22ab32,this['_init']());}[_0x3894d5(0x28f)](){const _0x165aa1=_0x3894d5;this[_0x165aa1(0x14f)][_0x165aa1(0x35d)]['pipe'](_0xecbc95[_0x165aa1(0x252)](this[_0x165aa1(0x140)]),_0xecbc95[_0x165aa1(0x1f6)](_0x3c5866=>{const _0xc7ef81=_0x165aa1;if(_0x3c5866){const _0x29ac2e=_0x3c5866['sheetId'];return _0x94d9ab[_0xc7ef81(0x36d)](this[_0xc7ef81(0x304)][_0xc7ef81(0x20e)](this[_0xc7ef81(0x194)]['unitId']),this['_themeService'][_0xc7ef81(0x2bc)])[_0xc7ef81(0x1cc)](_0xecbc95[_0xc7ef81(0x1e4)](([_0x27fe63,_0x3065e1])=>{const _0x13cc5f=_0xc7ef81,_0x1e8201=new Map();return _0x27fe63[_0x13cc5f(0x122)]((_0x5ccf4a,_0xf3a930)=>{const _0x445727=_0x13cc5f;if(_0x5ccf4a[_0x445727(0x206)]===_0x29ac2e){const _0x192362={..._0x5ccf4a};_0x192362[_0x445727(0x179)]=_0x3065e1[_0x5ccf4a[_0x445727(0x179)]],_0x1e8201[_0x445727(0x1b9)](_0xf3a930,_0x192362);}}),{'skeleton':_0x3c5866,'cursors':_0x1e8201};}));}return _0x94d9ab['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x426457,cursors:_0x2258dd})=>{const _0x1375fc=_0x165aa1;this[_0x1375fc(0x223)](),_0x426457&&this[_0x1375fc(0x377)](_0x426457,_0x2258dd);}),this[_0x165aa1(0x14f)][_0x165aa1(0x35d)][_0x165aa1(0x30e)](_0x2012c4=>{const _0x5ef557=_0x165aa1;if(_0x2012c4==null)return;const {skeleton:_0x4d36bf}=_0x2012c4,{scene:_0x2efed1}=this[_0x5ef557(0x194)];_0x2efed1[_0x5ef557(0x281)][_0x5ef557(0x11a)](_0x1e0609[_0x5ef557(0x212)](_0x40c6b7=>{const _0x30cb62=_0x5ef557;var _0x3f5a67,_0x20bfc8;const {offsetX:_0x351bfd,offsetY:_0x21499a}=_0x40c6b7,{x:_0x173dc5,y:_0x2c02b9}=_0x2efed1['getRelativeToViewportCoord'](_0x8660e4[_0x30cb62(0x159)][_0x30cb62(0x18a)]([_0x351bfd,_0x21499a])),{scaleX:_0x5e890a,scaleY:_0x1b5913}=_0x2efed1[_0x30cb62(0x1fe)](),_0x61313b=_0x2efed1[_0x30cb62(0x22a)](_0x8660e4[_0x30cb62(0x1b1)][_0x30cb62(0x116)]),_0x3bcb55=_0x2efed1[_0x30cb62(0x2d2)](_0x8660e4[_0x30cb62(0x159)][_0x30cb62(0x18a)]([_0x173dc5,_0x2c02b9]),_0x61313b),_0x2280c4=_0x4d36bf[_0x30cb62(0x1a7)](_0x351bfd,_0x21499a,_0x5e890a,_0x1b5913,_0x3bcb55);((_0x3f5a67=this[_0x30cb62(0x1f8)])==null?void 0x0:_0x3f5a67[_0x30cb62(0x221)])===_0x2280c4[_0x30cb62(0x221)]&&((_0x20bfc8=this[_0x30cb62(0x1f8)])==null?void 0x0:_0x20bfc8[_0x30cb62(0x15f)])===_0x2280c4[_0x30cb62(0x15f)]||this[_0x30cb62(0x13c)][_0x30cb62(0x122)](_0x1804e0=>{_0x1804e0['onMouseMove'](_0x2280c4);});},0x64));});}[_0x3894d5(0x377)](_0x387d24,_0x3ddb1e){const _0x41e9b7=_0x3894d5;var _0x354010;const _0x314585=(_0x354010=this[_0x41e9b7(0x14f)][_0x41e9b7(0x242)]())==null?void 0x0:_0x354010['skeleton'];if(!_0x314585)return;const _0x50cb9e=this[_0x41e9b7(0xec)]();if(!_0x50cb9e)return;this[_0x41e9b7(0x13c)][_0x41e9b7(0x122)](_0x18aec4=>{const _0xc4e412=_0x41e9b7;_0x18aec4[_0xc4e412(0x32e)]();});const {scene:_0x1d8d76}=_0x50cb9e,_0x1eda89=_0x5bfed8(Array[_0x41e9b7(0x329)](_0x3ddb1e['values']()))[_0x41e9b7(0x1e4)](_0x2f74b8=>{const _0x426852=_0x41e9b7,{color:_0x3f4f99,range:_0x22b16d,name:_0xfba25d,selection:_0x208f8e,sheetID:_0x5478b3}=_0x2f74b8,{startColumn:_0x3af748,startRow:_0x311335,endColumn:_0x3d823a,endRow:_0x1a0186}=_0x22b16d,_0x1b2527=_0x5b5571[_0x426852(0x15a)](_0x311335,_0x3af748,_0x1d8d76,_0x314585),_0x2337c1=_0x5b5571[_0x426852(0x15a)](_0x1a0186,_0x3d823a,_0x1d8d76,_0x314585),{columnHeaderHeightAndMarginTop:_0x1fd7c5}=_0x314585,{startX:_0x2f1fb1,startY:_0x3cd300}=_0x1b2527,{endX:_0x2bdfb7,endY:_0x2abcbd}=_0x2337c1,_0x405f11=_0x2bdfb7-_0x2f1fb1,_0x315c72=_0x2abcbd-_0x3cd300,_0x547897={'labelPosition':_0x3cd300-_0x1fd7c5>=_0x57f764?_0x426852(0x2f2):_0x426852(0x29f),'sheetID':_0x5478b3,'range':_0x22b16d,'color':_0x3f4f99,'name':_0xfba25d,'selection':_0x208f8e,'left':_0x2f1fb1,'top':_0x3cd300,'width':_0x405f11,'height':_0x315c72,'evented':!0x1,'zIndex':_0x52eedf};return new _0xd0ee36(_0xfba25d,_0x547897);});_0x1d8d76[_0x41e9b7(0x254)](_0x1eda89,_0x14bcd3),this['_cursors']=new Set(_0x1eda89);}[_0x3894d5(0x223)](){const _0x3091d8=_0x3894d5;var _0x44bfe5;(_0x44bfe5=this[_0x3091d8(0x13c)])==null||_0x44bfe5['forEach'](_0xc5d717=>_0xc5d717[_0x3091d8(0x1e1)]());}[_0x3894d5(0xec)](){const _0x34ce6f=_0x3894d5;return _0x5b5571[_0x34ce6f(0x12b)](this['_context']['unit'],this[_0x34ce6f(0x194)]);}};_0x41413e=_0x4db5ff([_0x36744a(0x1,_0x1e0609[_0x3894d5(0x176)](_0x5b5571[_0x3894d5(0x2a9)])),_0x36744a(0x2,_0x1e0609[_0x3894d5(0x176)](_0x3766ca)),_0x36744a(0x3,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x166)]))],_0x41413e);function _0x5bfed8(_0x4b9705){const _0x5050c9=_0x3894d5,_0x5368df=new Map();return _0x4b9705['forEach'](_0x1d88c4=>{const _0x38f830=_0x112f;if(_0x5368df['has'](_0x1d88c4[_0x38f830(0x227)])){const _0x43bffa=_0x5368df[_0x38f830(0x2b6)](_0x1d88c4['selection']);_0x43bffa['name']+=',\x20'+_0x1d88c4[_0x38f830(0x188)];}else _0x5368df['set'](_0x1d88c4[_0x38f830(0x227)],_0x1d88c4);}),Array[_0x5050c9(0x329)](_0x5368df[_0x5050c9(0x28c)]());}var _0x44b173=function(){const _0x36e69e=_0x3894d5;return _0x44b173=Object[_0x36e69e(0xeb)]||function(_0x525d11){const _0x39b0f3=_0x36e69e;for(var _0x354b36,_0x241075=0x1,_0x3e1d9c=arguments[_0x39b0f3(0x18c)];_0x241075<_0x3e1d9c;_0x241075++){_0x354b36=arguments[_0x241075];for(var _0x367689 in _0x354b36)Object[_0x39b0f3(0x132)]['hasOwnProperty'][_0x39b0f3(0x133)](_0x354b36,_0x367689)&&(_0x525d11[_0x367689]=_0x354b36[_0x367689]);}return _0x525d11;},_0x44b173[_0x36e69e(0x1e0)](this,arguments);},_0x43db54=function(_0x57485b,_0x395e59){const _0x429f19=_0x3894d5;var _0x34fcb9={};for(var _0xe1dd05 in _0x57485b)Object[_0x429f19(0x132)][_0x429f19(0x31f)][_0x429f19(0x133)](_0x57485b,_0xe1dd05)&&_0x395e59[_0x429f19(0x30b)](_0xe1dd05)<0x0&&(_0x34fcb9[_0xe1dd05]=_0x57485b[_0xe1dd05]);if(_0x57485b!=null&&typeof Object[_0x429f19(0x1f4)]=='function'){for(var _0x2e7d9a=0x0,_0xe1dd05=Object[_0x429f19(0x1f4)](_0x57485b);_0x2e7d9a<_0xe1dd05[_0x429f19(0x18c)];_0x2e7d9a++)_0x395e59[_0x429f19(0x30b)](_0xe1dd05[_0x2e7d9a])<0x0&&Object[_0x429f19(0x132)][_0x429f19(0x2ec)][_0x429f19(0x133)](_0x57485b,_0xe1dd05[_0x2e7d9a])&&(_0x34fcb9[_0xe1dd05[_0x2e7d9a]]=_0x57485b[_0xe1dd05[_0x2e7d9a]]);}return _0x34fcb9;},_0x57cf35=_0x283846[_0x3894d5(0x1da)](function(_0x1a35fb,_0x19c48e){const _0x5415e5=_0x3894d5;var _0x4b5204=_0x1a35fb['icon'],_0xe6457=_0x1a35fb['id'],_0x73a093=_0x1a35fb[_0x5415e5(0x1d7)],_0x2e15de=_0x1a35fb[_0x5415e5(0x255)],_0x28dbb7=_0x43db54(_0x1a35fb,['icon','id','className',_0x5415e5(0x255)]),_0x2378da='univerjs-icon\x20univerjs-icon-'[_0x5415e5(0xfd)](_0xe6457,'\x20')[_0x5415e5(0xfd)](_0x73a093||'')[_0x5415e5(0x348)](),_0x1ab020=_0x283846[_0x5415e5(0x148)]('_'[_0x5415e5(0xfd)](_0x337959()));return _0x16510f(_0x4b5204,''['concat'](_0xe6457),{'defIds':_0x4b5204[_0x5415e5(0x199)],'idSuffix':_0x1ab020[_0x5415e5(0x1f9)]},_0x44b173({'ref':_0x19c48e,'className':_0x2378da},_0x28dbb7),_0x2e15de);});function _0x16510f(_0x3f3429,_0x423697,_0x8c8e59,_0x37012f,_0x21e7d9){const _0x478dd1=_0x3894d5;return _0x283846[_0x478dd1(0x368)](_0x3f3429[_0x478dd1(0x13f)],_0x44b173(_0x44b173({'key':_0x423697},_0x47fd95(_0x3f3429,_0x8c8e59,_0x21e7d9)),_0x37012f),(_0x7678e5(_0x3f3429,_0x8c8e59)['children']||[])[_0x478dd1(0x1e4)](function(_0x1e8d14,_0x396db7){const _0x2b8f16=_0x478dd1;return _0x16510f(_0x1e8d14,''['concat'](_0x423697,'-')[_0x2b8f16(0xfd)](_0x3f3429[_0x2b8f16(0x13f)],'-')['concat'](_0x396db7),_0x8c8e59,void 0x0,_0x21e7d9);}));}function _0x47fd95(_0x3472cf,_0x1bb2e8,_0x4c344a){const _0x49f870=_0x3894d5;var _0x5dcfce=_0x44b173({},_0x3472cf['attrs']);_0x4c344a!=null&&_0x4c344a[_0x49f870(0x235)]&&_0x5dcfce['fill']===_0x49f870(0x235)&&(_0x5dcfce[_0x49f870(0x2e9)]=_0x4c344a[_0x49f870(0x235)]),_0x3472cf[_0x49f870(0x13f)]===_0x49f870(0x239)&&_0x5dcfce['id']&&(_0x5dcfce['id']=_0x5dcfce['id']+_0x1bb2e8[_0x49f870(0x285)]),Object[_0x49f870(0x24e)](_0x5dcfce)[_0x49f870(0x122)](function(_0x4f6167){const _0x1131f8=_0x49f870;var _0x381a23=_0x4f6167[0x0],_0x1e9a2f=_0x4f6167[0x1];_0x381a23===_0x1131f8(0x239)&&typeof _0x1e9a2f==_0x1131f8(0x2f3)&&(_0x5dcfce[_0x381a23]=_0x1e9a2f[_0x1131f8(0x35e)](/url\(#(.*)\)/,_0x1131f8(0x271)['concat'](_0x1bb2e8[_0x1131f8(0x285)],')')));});var _0x5c876e=_0x1bb2e8[_0x49f870(0x199)];return!_0x5c876e||_0x5c876e[_0x49f870(0x18c)]===0x0||(_0x3472cf[_0x49f870(0x13f)]===_0x49f870(0x2ca)&&_0x5dcfce['xlink:href']&&(_0x5dcfce[_0x49f870(0x135)]=_0x5dcfce['xlink:href']+_0x1bb2e8[_0x49f870(0x285)]),Object['entries'](_0x5dcfce)[_0x49f870(0x122)](function(_0xd86c01){const _0x5cdea2=_0x49f870;var _0x335cdb=_0xd86c01[0x0],_0x3e95fb=_0xd86c01[0x1];typeof _0x3e95fb==_0x5cdea2(0x2f3)&&(_0x5dcfce[_0x335cdb]=_0x3e95fb[_0x5cdea2(0x35e)](/url\(#(.*)\)/,_0x5cdea2(0x271)['concat'](_0x1bb2e8[_0x5cdea2(0x285)],')')));})),_0x5dcfce;}function _0x7678e5(_0x30ae28,_0x11c52b){const _0x1522d2=_0x3894d5;var _0x4cf4e5,_0x2c369a=_0x11c52b[_0x1522d2(0x199)];return!_0x2c369a||_0x2c369a[_0x1522d2(0x18c)]===0x0?_0x30ae28:_0x30ae28[_0x1522d2(0x13f)]===_0x1522d2(0x198)&&(!((_0x4cf4e5=_0x30ae28[_0x1522d2(0x34c)])===null||_0x4cf4e5===void 0x0)&&_0x4cf4e5[_0x1522d2(0x18c)])?_0x44b173(_0x44b173({},_0x30ae28),{'children':_0x30ae28['children'][_0x1522d2(0x1e4)](function(_0x11caef){const _0x55f032=_0x1522d2;return typeof _0x11caef[_0x55f032(0x1b6)]['id']=='string'&&_0x2c369a&&_0x2c369a['indexOf'](_0x11caef[_0x55f032(0x1b6)]['id'])>-0x1?_0x44b173(_0x44b173({},_0x11caef),{'attrs':_0x44b173(_0x44b173({},_0x11caef[_0x55f032(0x1b6)]),{'id':_0x11caef[_0x55f032(0x1b6)]['id']+_0x11c52b[_0x55f032(0x285)]})}):_0x11caef;})}):_0x30ae28;}function _0x337959(){const _0xf7d4ef=_0x3894d5;return Math['random']()['toString'](0x24)[_0xf7d4ef(0x279)](0x2,0x8);}_0x57cf35[_0x3894d5(0x2b0)]=_0x3894d5(0x1a2);var _0x1f2323={'tag':'svg','attrs':{'fill':_0x3894d5(0x17e),'viewBox':_0x3894d5(0x137),'width':_0x3894d5(0x102),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x3894d5(0x1ca),'d':_0x3894d5(0x29a),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3894d5(0x198),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3894d5(0x28d)},'children':[{'tag':_0x3894d5(0x16e),'attrs':{'fill':_0x3894d5(0x160),'d':_0x3894d5(0x1b8)}}]}]}],'defIds':[_0x3894d5(0x28d)]},_0x33a1f8=_0x283846[_0x3894d5(0x1da)](function(_0x2b7fc5,_0x2332bc){const _0x5ed291=_0x3894d5;return _0x283846['createElement'](_0x57cf35,Object[_0x5ed291(0xeb)]({},_0x2b7fc5,{'id':'off-line-single','ref':_0x2332bc,'icon':_0x1f2323}));});_0x33a1f8['displayName']='OffLineSingle';var _0x6b7ed3={'tag':_0x3894d5(0x36a),'attrs':{'fill':'none','viewBox':_0x3894d5(0x36e),'width':_0x3894d5(0x102),'height':_0x3894d5(0x102)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x3894d5(0x16e),'attrs':{'stroke':_0x3894d5(0x1ca),'d':_0x3894d5(0x24c),'strokeLinecap':_0x3894d5(0x1fd),'strokeLinejoin':_0x3894d5(0x1fd),'strokeWidth':1.2}}]},{'tag':_0x3894d5(0x198),'attrs':{},'children':[{'tag':_0x3894d5(0x152),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x3894d5(0x160),'d':_0x3894d5(0x1b8),'transform':_0x3894d5(0x26f)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x1eb8de=_0x283846['forwardRef'](function(_0x4b5b55,_0x17733a){const _0x46b2c9=_0x3894d5;return _0x283846['createElement'](_0x57cf35,Object[_0x46b2c9(0xeb)]({},_0x4b5b55,{'id':'on-line-single','ref':_0x17733a,'icon':_0x6b7ed3}));});_0x1eb8de[_0x3894d5(0x2b0)]=_0x3894d5(0x338);const _0x371087={'onlineStatusIcon':_0x3894d5(0x1c9),'onlineStatusTitle':_0x3894d5(0x280),'onlineStatus':_0x3894d5(0x269),'online':_0x3894d5(0x232),'offline':_0x3894d5(0x126)};function _0x4a96f6(_0x4de315){const _0x4fd31f=_0x3894d5;switch(_0x4de315){case _0x2fd730[_0x4fd31f(0x240)]['OFFLINE']:return _0x4fd31f(0x36b);case _0x2fd730['CollaborationStatus'][_0x4fd31f(0x13b)]:return _0x4fd31f(0x101);case _0x2fd730[_0x4fd31f(0x240)][_0x4fd31f(0x2f1)]:return'collabStatus.fetchMiss';case _0x2fd730[_0x4fd31f(0x240)][_0x4fd31f(0x28b)]:return _0x4fd31f(0x204);case _0x2fd730[_0x4fd31f(0x240)][_0x4fd31f(0x25c)]:case _0x2fd730['CollaborationStatus'][_0x4fd31f(0x259)]:return _0x4fd31f(0x325);case _0x2fd730['CollaborationStatus'][_0x4fd31f(0x1b2)]:case _0x2fd730[_0x4fd31f(0x240)]['PENDING']:return _0x4fd31f(0x141);}}function _0x2352fd(_0x30c738){const _0x53e5f8=_0x3894d5,{status$:_0x2fa0f1}=_0x30c738,_0x16b558=_0x43b760[_0x53e5f8(0x220)](_0x2fa0f1,_0x2fd730['CollaborationStatus'][_0x53e5f8(0x28b)]),_0x309028=_0x43b760[_0x53e5f8(0x16a)](_0x1e0609[_0x53e5f8(0x23d)]),_0x22b26e=_0x43b760[_0x53e5f8(0x16a)](_0x2fd730[_0x53e5f8(0x1d2)]),_0x5cd093=_0x16b558!==_0x2fd730[_0x53e5f8(0x240)][_0x53e5f8(0x1ab)],_0x47471a=_0x309028['t'](_0x4a96f6(_0x16b558)),_0x102d09=_0x4fc34b[_0x53e5f8(0x20a)](_0x371087[_0x53e5f8(0x2dd)],{[_0x371087[_0x53e5f8(0x18e)]]:_0x5cd093,[_0x371087[_0x53e5f8(0x2e5)]]:!_0x5cd093}),_0x816388=_0x5cd093?_0x4e444a['jsx'](_0x1eb8de,{}):_0x4e444a[_0x53e5f8(0x195)](_0x33a1f8,{}),_0x2a07bf=_0x283846[_0x53e5f8(0x1bd)](()=>{const _0x2a152f=_0x53e5f8;_0x5cd093||_0x22b26e[_0x2a152f(0x173)]();},[_0x5cd093,_0x22b26e]);function _0x17577c(){const _0x25820c=_0x53e5f8;return _0x4e444a[_0x25820c(0x2ba)](_0x25820c(0x2e7),{'className':_0x4fc34b[_0x25820c(0x20a)](_0x102d09,_0x25820c(0x2f4)),'onClick':_0x2a07bf,'children':[_0x4e444a[_0x25820c(0x195)]('div',{'className':_0x371087[_0x25820c(0x337)],'children':_0x816388}),_0x4e444a['jsx']('div',{'className':_0x371087[_0x25820c(0x272)],'children':_0x47471a})]});}return _0x5cd093?_0x17577c():_0x4e444a[_0x53e5f8(0x195)](_0x4fc34b['Tooltip'],{'title':_0x309028['t']('collab-client.tooltip.reconnect'),'children':_0x17577c()});}var _0x3104ba=Object[_0x3894d5(0x23b)],_0x5c0e5a=(_0x59375f,_0x53e696,_0x5bb1d1,_0x2db874)=>{const _0x18a9ef=_0x3894d5;for(var _0x5105f8=_0x2db874>0x1?void 0x0:_0x2db874?_0x3104ba(_0x53e696,_0x5bb1d1):_0x53e696,_0x30502d=_0x59375f[_0x18a9ef(0x18c)]-0x1,_0xe606a7;_0x30502d>=0x0;_0x30502d--)(_0xe606a7=_0x59375f[_0x30502d])&&(_0x5105f8=_0xe606a7(_0x5105f8)||_0x5105f8);return _0x5105f8;},_0x3361b5=(_0x31c1c8,_0x5d4211)=>(_0x3c63d2,_0x18d181)=>_0x5d4211(_0x3c63d2,_0x18d181,_0x31c1c8);_0x342240[_0x3894d5(0x30f)]=class extends _0x1e0609[_0x3894d5(0x30d)]{constructor(_0x4d2694,_0x3abbb2,_0x3c6945,_0x37f660){const _0x55ee9b=_0x3894d5;super(),_0x552ea8(this,'_status$',new _0x94d9ab[(_0x55ee9b(0x1ff))](_0x2fd730[_0x55ee9b(0x240)][_0x55ee9b(0x28b)])),(this[_0x55ee9b(0x1a9)]=_0x4d2694,this[_0x55ee9b(0x32a)]=_0x3abbb2,this[_0x55ee9b(0x170)]=_0x3c6945,this[_0x55ee9b(0x125)]=_0x37f660,this[_0x55ee9b(0x2f5)](),this['_initStatusListener']());}[_0x3894d5(0x290)](){const _0x41d179=_0x3894d5;this[_0x41d179(0x22c)](this[_0x41d179(0x1a9)][_0x41d179(0x23e)][_0x41d179(0x1cc)](_0x94d9ab[_0x41d179(0x1f6)](()=>{const _0x28c7a1=_0x41d179,_0x113912=this[_0x28c7a1(0x1a9)][_0x28c7a1(0x233)]();return _0x113912?this[_0x28c7a1(0x170)][_0x28c7a1(0x108)](_0x113912['getUnitId']()):_0x94d9ab['of'](null);}),_0x94d9ab[_0x41d179(0x1f6)](_0x3a8329=>_0x3a8329?_0x3a8329['status$']:_0x94d9ab['of'](_0x2fd730['CollaborationStatus'][_0x41d179(0x28b)])))[_0x41d179(0x30e)](_0x31afa2=>{const _0x224509=_0x41d179;this['_status$'][_0x224509(0x147)](_0x31afa2);}));}[_0x3894d5(0x2f5)](){const _0x268ea8=_0x3894d5;this[_0x268ea8(0x22c)](this[_0x268ea8(0x125)][_0x268ea8(0x322)](_0x43b760[_0x268ea8(0x1f5)][_0x268ea8(0x162)],()=>_0x43b760[_0x268ea8(0x2d3)](_0x108322({'status$':this[_0x268ea8(0x10c)][_0x268ea8(0x26c)]()}),this[_0x268ea8(0x32a)])));}},_0x342240[_0x3894d5(0x30f)]=_0x5c0e5a([_0x3361b5(0x0,_0x1e0609['IUniverInstanceService']),_0x3361b5(0x1,_0x1e0609['Inject'](_0x1e0609['Injector'])),_0x3361b5(0x2,_0x1e0609[_0x3894d5(0x176)](_0x2fd730['CollaborationController'])),_0x3361b5(0x3,_0x43b760['IUIPartsService'])],_0x342240[_0x3894d5(0x30f)]);function _0x108322(_0x4a44c0){const {status$:_0x2e4fe0}=_0x4a44c0;return function(){const _0x5d18df=_0x112f;return _0x4e444a[_0x5d18df(0x195)](_0x2352fd,{'status$':_0x2e4fe0});};}var _0x3fd5e1=Object[_0x3894d5(0x23b)],_0x2913f6=(_0x318956,_0x3df290,_0x4a2d2e,_0x30fe2c)=>{const _0x15944e=_0x3894d5;for(var _0x2a7f6b=_0x30fe2c>0x1?void 0x0:_0x30fe2c?_0x3fd5e1(_0x3df290,_0x4a2d2e):_0x3df290,_0x1db7cf=_0x318956[_0x15944e(0x18c)]-0x1,_0x4827bf;_0x1db7cf>=0x0;_0x1db7cf--)(_0x4827bf=_0x318956[_0x1db7cf])&&(_0x2a7f6b=_0x4827bf(_0x2a7f6b)||_0x2a7f6b);return _0x2a7f6b;},_0x36090d=(_0x45f4ce,_0x508489)=>(_0x5ea72c,_0x1a20ba)=>_0x508489(_0x5ea72c,_0x1a20ba,_0x45f4ce);let _0x4cc335=class extends _0x1e0609['Disposable']{constructor(_0x3b8233,_0x2d6eb1,_0x23c439,_0x5de431,_0x2089f6,_0x5448c3){const _0x20536f=_0x3894d5;super(),this[_0x20536f(0x19d)]=_0x3b8233,this[_0x20536f(0x12f)]=_0x2d6eb1,this[_0x20536f(0x320)]=_0x23c439,this[_0x20536f(0x28a)]=_0x5de431,this[_0x20536f(0x196)]=_0x2089f6,this[_0x20536f(0x316)]=_0x5448c3,this[_0x20536f(0xef)](),this[_0x20536f(0x2ae)]();}[_0x3894d5(0xef)](){const _0x5802d4=_0x3894d5;this[_0x5802d4(0x22c)](this[_0x5802d4(0x19d)][_0x5802d4(0x27f)](()=>{const _0x5d63bd=_0x5802d4;if(this['_localCacheService'][_0x5d63bd(0xf8)]['size'])return this[_0x5d63bd(0x316)]['t'](_0x5d63bd(0x145));}));}['_initEvent'](){const _0x129464=_0x3894d5;this['disposeWithMe'](this[_0x129464(0x320)][_0x129464(0x357)][_0x129464(0x30e)](_0x1307fc=>{const _0x38a091=_0x129464;_0x1307fc['id']===_0x2fd730[_0x38a091(0x31b)][_0x38a091(0x311)]&&this['_messageService'][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)][_0x38a091(0x13e)],'content':this['_localeService']['t'](_0x38a091(0x1e8))}),_0x1307fc['id']===_0x2fd730['CollaborationUIEventId'][_0x38a091(0x10b)]&&this[_0x38a091(0x28a)][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)][_0x38a091(0x13e)],'content':this[_0x38a091(0x316)]['t'](_0x38a091(0x1c3))}),_0x1307fc['id']===_0x2fd730['CollaborationUIEventId'][_0x38a091(0x351)]&&this[_0x38a091(0x196)][_0x38a091(0x182)]({'title':this[_0x38a091(0x316)]['t']('permission.title'),'content':this[_0x38a091(0x316)]['t']('permission.content'),'type':'error','duration':0x0}),_0x1307fc['id']===_0x2fd730[_0x38a091(0x31b)][_0x38a091(0x13b)]&&this[_0x38a091(0x28a)][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)][_0x38a091(0x21b)],'content':this[_0x38a091(0x316)]['t'](_0x38a091(0x1c3))+'('+_0x1307fc['data']+')'}),_0x1307fc['id']===_0x2fd730['CollaborationUIEventId'][_0x38a091(0x14c)]&&this['_messageService'][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)]['Warning'],'content':this[_0x38a091(0x316)]['t'](_0x1307fc[_0x38a091(0x2d8)]||'')}),_0x1307fc['id']===_0x2fd730['CollaborationUIEventId'][_0x38a091(0x2df)]&&this[_0x38a091(0x28a)][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)][_0x38a091(0x13e)],'content':this[_0x38a091(0x316)]['t'](_0x38a091(0x1c4))}),_0x1307fc['id']===_0x2fd730[_0x38a091(0x31b)]['SOCKET_FAILED']&&this[_0x38a091(0x28a)][_0x38a091(0x182)]({'type':_0x4fc34b[_0x38a091(0x321)]['Error'],'content':this[_0x38a091(0x316)]['t'](_0x38a091(0x10d))}),_0x1307fc['id']===_0x2fd730['CollaborationUIEventId'][_0x38a091(0x2a1)]&&this['_messageService']['show']({'type':_0x4fc34b['MessageType'][_0x38a091(0x21b)],'content':this[_0x38a091(0x316)]['t']('session.collaboration-timeout')});}));}};_0x4cc335=_0x2913f6([_0x36090d(0x0,_0x43b760[_0x3894d5(0xed)]),_0x36090d(0x1,_0x2fd730[_0x3894d5(0x2ce)]),_0x36090d(0x2,_0x1e0609[_0x3894d5(0x176)](_0x2fd730['CollaborationUIEventService'])),_0x36090d(0x3,_0x43b760[_0x3894d5(0x10a)]),_0x36090d(0x4,_0x43b760['INotificationService']),_0x36090d(0x5,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x23d)]))],_0x4cc335);const _0x6c376=_0x3894d5(0x21a),_0x5a525b={},_0x1d6363=_0x1e0609['createIdentifier'](_0x3894d5(0x2f9));var _0x392b15=Object['getOwnPropertyDescriptor'],_0x1418cc=(_0x5c2cb7,_0x414958,_0x34b534,_0x1d7220)=>{for(var _0x49a0e2=_0x1d7220>0x1?void 0x0:_0x1d7220?_0x392b15(_0x414958,_0x34b534):_0x414958,_0x261dc0=_0x5c2cb7['length']-0x1,_0x32d2a0;_0x261dc0>=0x0;_0x261dc0--)(_0x32d2a0=_0x5c2cb7[_0x261dc0])&&(_0x49a0e2=_0x32d2a0(_0x49a0e2)||_0x49a0e2);return _0x49a0e2;},_0xa24e63=(_0x4d83e5,_0x429f1b)=>(_0x3eef47,_0x359708)=>_0x429f1b(_0x3eef47,_0x359708,_0x4d83e5);_0x342240[_0x3894d5(0x268)]=class extends _0x1e0609['RxDisposable']{constructor(_0x35c0b1,_0x2d9178,_0x55970c,_0x4318ca,_0x3879e7){const _0x5454b8=_0x3894d5;super(),this['_urlService']=_0x35c0b1,this[_0x5454b8(0x362)]=_0x2d9178,this[_0x5454b8(0x34a)]=_0x55970c,this[_0x5454b8(0xee)]=_0x4318ca,_0x3879e7?_0x3879e7==null||_0x3879e7[_0x5454b8(0x1ee)]()[_0x5454b8(0x1fb)](()=>this[_0x5454b8(0x28f)]()):(this[_0x5454b8(0x362)][_0x5454b8(0x1ba)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x5454b8(0x28f)]());}async['_init'](){const _0x3828ae=_0x3894d5,_0x1f3867=this['_urlService'][_0x3828ae(0x33d)](_0x3828ae(0x264)),_0x39c0f8=this[_0x3828ae(0x21d)]['getParam']('type'),_0x1f0152=this['_urlService'][_0x3828ae(0x33d)](_0x3828ae(0x1a0));if(!_0x1f3867||!_0x39c0f8){this['_logService'][_0x3828ae(0x1ba)](_0x3828ae(0x184),_0x3828ae(0x275));return;}const _0x45f44d=await this['_dataLoaderService'][_0x3828ae(0x308)](_0x1f3867,Number(_0x39c0f8),_0x1f0152);_0x45f44d&&_0x45f44d instanceof _0x1e0609[_0x3828ae(0x163)]&&this['_setupSubUnitSync'](_0x45f44d);}async[_0x3894d5(0x341)](_0x1ba5eb){const _0x153e5a=_0x3894d5;await this[_0x153e5a(0x11d)](_0x1ba5eb),_0x1ba5eb[_0x153e5a(0x11e)][_0x153e5a(0x1cc)](_0x94d9ab['takeUntil'](this[_0x153e5a(0x140)]))[_0x153e5a(0x30e)](_0x151c7a=>{const _0x43944e=_0x153e5a;_0x151c7a&&this[_0x43944e(0xe8)](_0x151c7a);}),this[_0x153e5a(0x21d)][_0x153e5a(0x1b5)][_0x153e5a(0x1cc)](_0x94d9ab[_0x153e5a(0x252)](this[_0x153e5a(0x140)]))[_0x153e5a(0x30e)](()=>this[_0x153e5a(0x11d)](_0x1ba5eb));}['_updateURLWithCurrentState'](_0x16bd56,_0x43f1ab=!0x1){const _0x5c980c=_0x3894d5,_0x3d21d5=this[_0x5c980c(0x21d)][_0x5c980c(0x33d)]('subunit');_0x16bd56['getSheetId']()!==_0x3d21d5&&this[_0x5c980c(0x21d)][_0x5c980c(0x131)](_0x5c980c(0x1a0),_0x16bd56[_0x5c980c(0x142)](),_0x43f1ab);}async[_0x3894d5(0x11d)](_0x394755){const _0x35e8af=_0x3894d5;var _0x599c4a;const _0x2c3117=this['_urlService'][_0x35e8af(0x33d)](_0x35e8af(0x1a0));if(!_0x2c3117||!_0x394755[_0x35e8af(0x225)](_0x2c3117)){const _0x130f80=_0x394755[_0x35e8af(0x303)]()[0x0],_0x2e7754=_0x394755[_0x35e8af(0x225)](_0x130f80);if(!_0x2e7754)return;this[_0x35e8af(0xe8)](_0x2e7754,!0x0),await this[_0x35e8af(0x34a)][_0x35e8af(0x2ea)](_0x4b47a4['SetWorksheetActivateCommand']['id'],{'unitId':_0x394755[_0x35e8af(0xe6)](),'subUnitId':_0x130f80});return;}((_0x599c4a=_0x394755['getActiveSheet']())==null?void 0x0:_0x599c4a[_0x35e8af(0x142)]())!==_0x2c3117&&await this[_0x35e8af(0x34a)][_0x35e8af(0x2ea)](_0x4b47a4[_0x35e8af(0x207)]['id'],{'unitId':_0x394755[_0x35e8af(0xe6)](),'subUnitId':_0x2c3117});}},_0x342240[_0x3894d5(0x268)]=_0x1418cc([_0xa24e63(0x0,_0x1d6363),_0xa24e63(0x1,_0x1e0609[_0x3894d5(0x250)]),_0xa24e63(0x2,_0x1e0609['ICommandService']),_0xa24e63(0x3,_0x1e0609[_0x3894d5(0x176)](_0x2fd730[_0x3894d5(0x224)])),_0xa24e63(0x4,_0x1e0609['Optional'](_0x4b767c['IRemoteInstanceService']))],_0x342240[_0x3894d5(0x268)]);var _0x1586a2=Object[_0x3894d5(0x23b)],_0x93c370=(_0x28e957,_0x401715,_0x51f437,_0x50f128)=>{for(var _0x51c713=_0x50f128>0x1?void 0x0:_0x50f128?_0x1586a2(_0x401715,_0x51f437):_0x401715,_0xdd9a45=_0x28e957['length']-0x1,_0x53d3f3;_0xdd9a45>=0x0;_0xdd9a45--)(_0x53d3f3=_0x28e957[_0xdd9a45])&&(_0x51c713=_0x53d3f3(_0x51c713)||_0x51c713);return _0x51c713;},_0x168cc1=(_0x4cd36d,_0x182e4c)=>(_0x13e4d5,_0x4b5134)=>_0x182e4c(_0x13e4d5,_0x4b5134,_0x4cd36d);let _0x28c5eb=class{constructor(_0x47d431,_0x254e90,_0x5c6c13){const _0x3f4a46=_0x3894d5;this[_0x3f4a46(0x32a)]=_0x47d431,this['_transformService']=_0x254e90,this['_renderManagerService']=_0x5c6c13;}[_0x3894d5(0x139)](_0x2549d7){const _0x1f5f0a=_0x3894d5;this[_0x1f5f0a(0x12e)](_0x2549d7),this[_0x1f5f0a(0x1ac)](_0x2549d7);}[_0x3894d5(0x143)](_0x4f1510){const _0x46ba5c=_0x3894d5,{unitID:_0x34e168}=_0x4f1510,_0x4beb47=this[_0x46ba5c(0x110)][_0x46ba5c(0x174)](_0x34e168)[_0x46ba5c(0x25b)](_0x189013[_0x46ba5c(0x28e)]),{redoCache:_0x4c7d02}=_0x4beb47['getUndoRedoMutationParamsCache']();if(_0x4c7d02[_0x46ba5c(0x18c)]===0x0)return _0x4f1510;let _0x1fbdb5=_0x1e0609[_0x46ba5c(0x33b)]['deepClone'](_0x4f1510['mutations'][0x0]);for(let _0x486943=0x0;_0x486943<_0x4c7d02[_0x46ba5c(0x18c)];_0x486943++){const _0x74642c={'id':'doc.mutation.rich-text-editing','params':{..._0x4c7d02[_0x486943]}},_0x10009b=this[_0x46ba5c(0x29d)][_0x46ba5c(0x1f3)](_0x1fbdb5,_0x74642c,!0x1);if(_0xcfb5d3[_0x46ba5c(0x2a2)](_0x10009b))throw _0x10009b[_0x46ba5c(0x107)];_0x1fbdb5=_0x10009b[_0x46ba5c(0x18f)];}return{..._0x1e0609['Tools'][_0x46ba5c(0x2b4)](_0x4f1510),'mutations':[_0x1fbdb5]};}['_transformUndoRedoStack'](_0x2c4879){const _0x31e022=_0x3894d5,{unitID:_0x1c27e0}=_0x2c4879,_0x5f3d97=this['_renderManagerService'][_0x31e022(0x174)](_0x1c27e0)[_0x31e022(0x25b)](_0x189013[_0x31e022(0x28e)]),{undoCache:_0x2cc4dd,redoCache:_0x64f2c1}=_0x5f3d97[_0x31e022(0x187)]();if(_0x2cc4dd[_0x31e022(0x18c)]===0x0||_0x64f2c1[_0x31e022(0x18c)]===0x0)return;const _0x30f5fd=[],_0x2d93da=[];let _0x58229d=_0x1e0609[_0x31e022(0x33b)][_0x31e022(0x2b4)](_0x2c4879[_0x31e022(0x2b5)][0x0]),_0x49fa7d=_0x1e0609[_0x31e022(0x33b)][_0x31e022(0x2b4)](_0x2c4879['mutations'][0x0]);for(let _0xa6cf95=_0x2cc4dd[_0x31e022(0x18c)]-0x1;_0xa6cf95>=0x0;_0xa6cf95--){const _0x5a1c58={'id':_0x31e022(0x2e2),'params':{..._0x2cc4dd[_0xa6cf95]}},_0x23bf5d={'id':'doc.mutation.rich-text-editing','params':{..._0x64f2c1[_0xa6cf95]}},_0x343552=this['_transformService'][_0x31e022(0x1f3)](_0x58229d,_0x5a1c58,!0x1),_0x415669=this['_transformService'][_0x31e022(0x1f3)](_0x49fa7d,_0x23bf5d,!0x1);if(_0xcfb5d3[_0x31e022(0x2a2)](_0x343552))throw _0x343552[_0x31e022(0x107)];if(_0xcfb5d3[_0x31e022(0x2a2)](_0x415669))throw _0x415669['error'];_0x30f5fd[_0x31e022(0x312)](_0x343552[_0x31e022(0x2b7)][_0x31e022(0x15e)]),_0x2d93da['unshift'](_0x415669[_0x31e022(0x2b7)][_0x31e022(0x15e)]),_0x58229d=_0x343552['m1Prime'],_0x49fa7d=_0x415669[_0x31e022(0x18f)];}_0x5f3d97[_0x31e022(0x309)]({'undoCache':_0x30f5fd,'redoCache':_0x2d93da});}[_0x3894d5(0x1ac)](_0x5a71d4){const _0xf18784=_0x3894d5,{unitID:_0x172c98}=_0x5a71d4,_0x196b3b=this[_0xf18784(0x110)][_0xf18784(0x174)](_0x172c98)[_0xf18784(0x25b)](_0x189013[_0xf18784(0x28e)]),_0x219971=_0x196b3b[_0xf18784(0x2fb)]();if(_0x219971==null)return;const _0x29be07=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5a71d4[_0xf18784(0x1b3)],'actions':null,'textRanges':[_0x219971]}}],_0x2efced=this['_transformService'][_0xf18784(0x1f7)](_0x5a71d4,_0x29be07);if(!_0xcfb5d3[_0xf18784(0x2d1)](_0x2efced))throw _0x2efced['error'];const _0x20ed7d=_0x2efced['m2Prime'][0x0][_0xf18784(0x15e)][_0xf18784(0x12c)];Array[_0xf18784(0x25f)](_0x20ed7d)&&_0x20ed7d[_0xf18784(0x18c)]&&_0x196b3b[_0xf18784(0x2f0)](_0x20ed7d[0x0]);}};_0x28c5eb=_0x93c370([_0x168cc1(0x0,_0x1e0609[_0x3894d5(0x176)](_0x1e0609['Injector'])),_0x168cc1(0x1,_0xcfb5d3['ITransformService']),_0x168cc1(0x2,_0x8660e4['IRenderManagerService'])],_0x28c5eb);var _0x23cea9=Object[_0x3894d5(0x23b)],_0x46116c=(_0x1561a2,_0x51f75f,_0x1957ae,_0x4b2da0)=>{for(var _0x3a55e0=_0x4b2da0>0x1?void 0x0:_0x4b2da0?_0x23cea9(_0x51f75f,_0x1957ae):_0x51f75f,_0x55bbfd=_0x1561a2['length']-0x1,_0x22e522;_0x55bbfd>=0x0;_0x55bbfd--)(_0x22e522=_0x1561a2[_0x55bbfd])&&(_0x3a55e0=_0x22e522(_0x3a55e0)||_0x3a55e0);return _0x3a55e0;},_0x21cacd=(_0x1b5117,_0x31d9b9)=>(_0x38ff75,_0xe762c2)=>_0x31d9b9(_0x38ff75,_0xe762c2,_0x1b5117);let _0x4670a8=class{constructor(_0x43f114,_0x24db4d,_0x22aa2c){const _0x51c3eb=_0x3894d5;this[_0x51c3eb(0x32a)]=_0x43f114,this[_0x51c3eb(0x29d)]=_0x24db4d,this[_0x51c3eb(0x211)]=_0x22aa2c;}['transformStateCache'](_0x216e33){const _0x43452b=_0x3894d5;this[_0x43452b(0x171)](_0x216e33);}['transformRemoteChangeset'](_0x152a11){const _0x5a903a=_0x3894d5,{unitID:_0x3b6dd8}=_0x152a11,{collaboration:_0x3bd903}=this[_0x5a903a(0x211)][_0x5a903a(0xf4)](_0x3b6dd8);if(_0x3bd903[_0x5a903a(0x18c)]===0x0)return _0x152a11;let _0x3cba00=_0x1e0609['Tools'][_0x5a903a(0x2b4)](_0x152a11[_0x5a903a(0x2b5)][0x0]);for(let _0x58b5eb=0x0;_0x58b5eb<_0x3bd903[_0x5a903a(0x18c)];_0x58b5eb++){const _0x31b9e2={'id':_0x5a903a(0x2e2),'params':{'unitId':_0x3bd903[_0x58b5eb][_0x5a903a(0x15c)],..._0x3bd903[_0x58b5eb][_0x5a903a(0x310)]}},_0x185fb0=this[_0x5a903a(0x29d)]['transformMutation'](_0x3cba00,_0x31b9e2,!0x1);if(_0xcfb5d3[_0x5a903a(0x2a2)](_0x185fb0))throw _0x185fb0[_0x5a903a(0x107)];_0x3cba00=_0x185fb0[_0x5a903a(0x18f)];}return{..._0x1e0609['Tools'][_0x5a903a(0x2b4)](_0x152a11),'mutations':[_0x3cba00]};}[_0x3894d5(0x171)](_0x322344){const _0x91cfde=_0x3894d5,{unitID:_0x4bc499}=_0x322344,{history:_0x523df3,collaboration:_0x1d3483}=this[_0x91cfde(0x211)]['getStateCache'](_0x4bc499);if(_0x523df3['length']===0x0&&_0x1d3483[_0x91cfde(0x18c)]===0x0)return;const _0x1ec585=[],_0x18f4f8=[];let _0x4f82bf=_0x1e0609[_0x91cfde(0x33b)][_0x91cfde(0x2b4)](_0x322344[_0x91cfde(0x2b5)][0x0]),_0x11c36f=_0x1e0609[_0x91cfde(0x33b)][_0x91cfde(0x2b4)](_0x322344[_0x91cfde(0x2b5)][0x0]);for(let _0x20816f=_0x523df3[_0x91cfde(0x18c)]-0x1;_0x20816f>=0x0;_0x20816f--){const _0x18baa5={'id':_0x91cfde(0x2e2),'params':{'unitId':_0x523df3[_0x20816f][_0x91cfde(0x15c)],..._0x523df3[_0x20816f][_0x91cfde(0x1a4)]}},_0x462a8d={'id':_0x91cfde(0x2e2),'params':{'unitId':_0x523df3[_0x20816f][_0x91cfde(0x15c)],..._0x523df3[_0x20816f][_0x91cfde(0x310)]}},_0x9ebfcd=this[_0x91cfde(0x29d)]['transformMutation'](_0x4f82bf,_0x18baa5,!0x1),_0x188d79=this[_0x91cfde(0x29d)][_0x91cfde(0x1f3)](_0x11c36f,_0x462a8d,!0x1);if(_0xcfb5d3['isTransformMutationFailure'](_0x9ebfcd))throw _0x9ebfcd[_0x91cfde(0x107)];if(_0xcfb5d3[_0x91cfde(0x2a2)](_0x188d79))throw _0x188d79[_0x91cfde(0x107)];_0x1ec585[_0x91cfde(0x312)]({..._0x523df3[_0x20816f],'undoState':_0x9ebfcd[_0x91cfde(0x2b7)][_0x91cfde(0x15e)],'redoState':_0x188d79['m2Prime']['params']}),_0x4f82bf=_0x9ebfcd['m1Prime'],_0x11c36f=_0x188d79[_0x91cfde(0x18f)];}_0x4f82bf=_0x1e0609[_0x91cfde(0x33b)]['deepClone'](_0x322344[_0x91cfde(0x2b5)][0x0]),_0x11c36f=_0x1e0609[_0x91cfde(0x33b)][_0x91cfde(0x2b4)](_0x322344[_0x91cfde(0x2b5)][0x0]);for(let _0x2518fe=_0x1d3483[_0x91cfde(0x18c)]-0x1;_0x2518fe>=0x0;_0x2518fe--){const _0x4b8e0a={'id':_0x91cfde(0x2e2),'params':{'unitId':_0x1d3483[_0x2518fe]['unitId'],..._0x1d3483[_0x2518fe]['undoState']}},_0x39eced={'id':_0x91cfde(0x2e2),'params':{'unitId':_0x1d3483[_0x2518fe][_0x91cfde(0x15c)],..._0x1d3483[_0x2518fe][_0x91cfde(0x310)]}},_0x24c26f=this[_0x91cfde(0x29d)][_0x91cfde(0x1f3)](_0x4f82bf,_0x4b8e0a,!0x1),_0x54732b=this['_transformService'][_0x91cfde(0x1f3)](_0x11c36f,_0x39eced,!0x1);if(_0xcfb5d3[_0x91cfde(0x2a2)](_0x24c26f))throw _0x24c26f[_0x91cfde(0x107)];if(_0xcfb5d3[_0x91cfde(0x2a2)](_0x54732b))throw _0x54732b[_0x91cfde(0x107)];_0x18f4f8[_0x91cfde(0x312)]({..._0x1d3483[_0x2518fe],'undoState':_0x24c26f['m2Prime'][_0x91cfde(0x15e)],'redoState':_0x54732b[_0x91cfde(0x2b7)]['params']}),_0x4f82bf=_0x24c26f[_0x91cfde(0x18f)],_0x11c36f=_0x54732b[_0x91cfde(0x18f)];}this['_docStateChangeManagerService'][_0x91cfde(0x353)](_0x4bc499,{'history':_0x1ec585,'collaboration':_0x18f4f8});}};_0x4670a8=_0x46116c([_0x21cacd(0x0,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x21cacd(0x1,_0xcfb5d3[_0x3894d5(0x177)]),_0x21cacd(0x2,_0x1e0609[_0x3894d5(0x176)](_0x189013[_0x3894d5(0x330)]))],_0x4670a8);var _0x37e9b6=Object[_0x3894d5(0x23b)],_0x1dc981=(_0x1ef9bd,_0xc4c96e,_0x26c3a7,_0x291fd8)=>{for(var _0x202332=_0x291fd8>0x1?void 0x0:_0x291fd8?_0x37e9b6(_0xc4c96e,_0x26c3a7):_0xc4c96e,_0x2f85bb=_0x1ef9bd['length']-0x1,_0x1e7b14;_0x2f85bb>=0x0;_0x2f85bb--)(_0x1e7b14=_0x1ef9bd[_0x2f85bb])&&(_0x202332=_0x1e7b14(_0x202332)||_0x202332);return _0x202332;},_0x4795d4=(_0x251ae9,_0x2760ce)=>(_0x3a24d9,_0x2c2d84)=>_0x2760ce(_0x3a24d9,_0x2c2d84,_0x251ae9);let _0x8cf5bb=class{constructor(_0x59386d,_0x1e20b4){const _0x5cd072=_0x3894d5;this[_0x5cd072(0x32a)]=_0x59386d,this['_transformService']=_0x1e20b4;}['transformSelections'](_0x32b5d7){const _0x21930b=_0x3894d5;var _0x1fb659;const _0x1fceaa=this['_injector'][_0x21930b(0x2b6)](_0x1aadfd[_0x21930b(0x278)]),_0x134179=(_0x1fb659=_0x1fceaa[_0x21930b(0x1b4)]())!=null?_0x1fb659:[];if(_0x134179['length']===0x0)return;const _0x208d1e=_0x32b5d7[_0x21930b(0x1b3)],_0x12ea47=[{'id':_0x21930b(0x2e2),'params':{'unitId':_0x208d1e,'actions':null,'textRanges':_0x134179}}],_0x11ea5e=this[_0x21930b(0x29d)][_0x21930b(0x1f7)](_0x32b5d7,_0x12ea47);if(!_0xcfb5d3[_0x21930b(0x2d1)](_0x11ea5e))throw _0x11ea5e[_0x21930b(0x107)];const _0x2748b7=_0x11ea5e[_0x21930b(0x2b7)][0x0][_0x21930b(0x15e)][_0x21930b(0x12c)];Array[_0x21930b(0x25f)](_0x2748b7)&&_0x2748b7['length']&&_0x1fceaa[_0x21930b(0x1f1)](_0x2748b7,{'unitId':_0x208d1e,'subUnitId':_0x208d1e},!0x1);}};_0x8cf5bb=_0x1dc981([_0x4795d4(0x0,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x4795d4(0x1,_0xcfb5d3[_0x3894d5(0x177)])],_0x8cf5bb);var _0x2b4507=Object[_0x3894d5(0x23b)],_0x3cb3f8=(_0x5c08af,_0x597428,_0x5ebb8c,_0x54f4f9)=>{const _0x149e82=_0x3894d5;for(var _0x36e9be=_0x54f4f9>0x1?void 0x0:_0x54f4f9?_0x2b4507(_0x597428,_0x5ebb8c):_0x597428,_0x5eb31e=_0x5c08af[_0x149e82(0x18c)]-0x1,_0x334a30;_0x5eb31e>=0x0;_0x5eb31e--)(_0x334a30=_0x5c08af[_0x5eb31e])&&(_0x36e9be=_0x334a30(_0x36e9be)||_0x36e9be);return _0x36e9be;},_0x236a86=(_0x25ae80,_0x597c92)=>(_0x4c424f,_0x50a82a)=>_0x597c92(_0x4c424f,_0x50a82a,_0x25ae80);let _0x10406f=class extends _0x1e0609['Disposable']{constructor(_0x585e6e,_0x3ff458,_0x5712ce,_0x216073,_0x4cfe51,_0xd85233,_0x4b98a8,_0x233abf){const _0x35e037=_0x3894d5;super(),_0x552ea8(this,_0x35e037(0x10c),new _0x94d9ab[(_0x35e037(0x1ff))](_0x2fd730['CollaborationStatus']['NOT_COLLAB'])),(this[_0x35e037(0x211)]=_0x585e6e,this['_collaborationController']=_0x3ff458,this[_0x35e037(0x2d7)]=_0x5712ce,this[_0x35e037(0x1e5)]=_0x216073,this[_0x35e037(0x2d0)]=_0x4cfe51,this['_docSyncEditingCollabCursorService']=_0xd85233,this['_messageService']=_0x4b98a8,this[_0x35e037(0x316)]=_0x233abf,this['_initEntityListener']());}[_0x3894d5(0x183)](){const _0x29d14f=_0x3894d5;this[_0x29d14f(0x22c)](this['_collaborationController'][_0x29d14f(0x19b)][_0x29d14f(0x30e)](_0x141a0f=>{const _0x5d9226=_0x29d14f,_0x38703b=this[_0x5d9226(0x211)][_0x5d9226(0x25e)][_0x5d9226(0x30e)](_0x778b14=>{const _0x5b53b4=_0x5d9226;if(_0x778b14==null)return;const {unitId:_0x11cba0,redoState:_0x136dc5,commandId:_0x478fc7}=_0x778b14;if(_0x11cba0!==_0x141a0f[_0x5b53b4(0x1b3)])return;const _0x31cfb8={'id':_0x478fc7,'type':_0x1e0609[_0x5b53b4(0x100)][_0x5b53b4(0x349)],'params':{'unitId':_0x11cba0,'actions':_0x136dc5[_0x5b53b4(0x1c5)],'textRanges':null}};_0x141a0f[_0x5b53b4(0x20d)](_0x31cfb8);});if(_0x141a0f['disposeWithMe'](_0x38703b),_0x141a0f instanceof _0x2fd730[_0x5d9226(0x218)]){const _0xb2015={'onTransformIME':_0x5b5357=>this[_0x5d9226(0x2d7)][_0x5d9226(0x139)](_0x5b5357),'onTransformState':_0x9f0b82=>this[_0x5d9226(0x1e5)][_0x5d9226(0x129)](_0x9f0b82),'onTransformSelections':_0x1b488f=>this[_0x5d9226(0x2d0)][_0x5d9226(0x17f)](_0x1b488f),'onSyncEditingCollabCursor':_0x1abdee=>this[_0x5d9226(0x258)][_0x5d9226(0x237)](_0x1abdee),'onTransformRemoteChangesetByIMECache':_0x1eaaf6=>this[_0x5d9226(0x2d7)]['transformRemoteChangeset'](_0x1eaaf6),'onTransformRemoteChangesetByStateCache':_0x9730f=>this[_0x5d9226(0x1e5)][_0x5d9226(0x143)](_0x9730f)};_0x141a0f['addHandlerCallback'](_0xb2015);}}));}};_0x10406f=_0x3cb3f8([_0x236a86(0x0,_0x1e0609[_0x3894d5(0x176)](_0x189013[_0x3894d5(0x330)])),_0x236a86(0x1,_0x1e0609[_0x3894d5(0x176)](_0x2fd730[_0x3894d5(0x307)])),_0x236a86(0x2,_0x1e0609[_0x3894d5(0x176)](_0x28c5eb)),_0x236a86(0x3,_0x1e0609[_0x3894d5(0x176)](_0x4670a8)),_0x236a86(0x4,_0x1e0609[_0x3894d5(0x176)](_0x8cf5bb)),_0x236a86(0x5,_0x1e0609[_0x3894d5(0x176)](_0x55262d)),_0x236a86(0x6,_0x43b760[_0x3894d5(0x10a)]),_0x236a86(0x7,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x23d)]))],_0x10406f);var _0x54af1a=Object['getOwnPropertyDescriptor'],_0x26bcf1=(_0x27fdb9,_0x3468e0,_0x53cdb8,_0x4e099c)=>{const _0x446059=_0x3894d5;for(var _0xeae700=_0x4e099c>0x1?void 0x0:_0x4e099c?_0x54af1a(_0x3468e0,_0x53cdb8):_0x3468e0,_0x5f5635=_0x27fdb9[_0x446059(0x18c)]-0x1,_0x347bc3;_0x5f5635>=0x0;_0x5f5635--)(_0x347bc3=_0x27fdb9[_0x5f5635])&&(_0xeae700=_0x347bc3(_0xeae700)||_0xeae700);return _0xeae700;},_0x512a8b=(_0x3824c2,_0x1c13cb)=>(_0x27ecdd,_0x368866)=>_0x1c13cb(_0x27ecdd,_0x368866,_0x3824c2);let _0x500381=class extends _0x1e0609['Disposable']{constructor(_0x50a8f9,_0x116d79,_0x50484d){const _0x39d27f=_0x3894d5;super(),_0x552ea8(this,_0x39d27f(0x167),new Map()),_0x552ea8(this,'_saveTaskMap',new Map()),_0x552ea8(this,_0x39d27f(0x350),!0x1),(this[_0x39d27f(0x209)]=_0x50a8f9,this[_0x39d27f(0x35c)]=_0x116d79,this[_0x39d27f(0x236)]=_0x50484d);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x3894d5(0x2b1)](){const _0x396be6=_0x3894d5;this[_0x396be6(0x350)]=!0x1;}get[_0x3894d5(0xf8)](){const _0x171583=_0x3894d5;return this[_0x171583(0x243)];}['dispose'](){const _0x377f80=_0x3894d5;this[_0x377f80(0x245)]()[_0x377f80(0x1fb)](()=>super[_0x377f80(0x1e1)]());}async[_0x3894d5(0x16b)](_0x3ca5e4){const _0x10b049=_0x3894d5;return this[_0x10b049(0x350)]?null:this[_0x10b049(0x35c)][_0x10b049(0x229)](_0x2fd730['getLocalCacheKey'](_0x3ca5e4));}async[_0x3894d5(0x1bc)](_0x39290c,_0x4e0e95){return!!this['_localStorageService']['setItem'](_0x39290c,_0x4e0e95);}[_0x3894d5(0x14b)](_0x437ba3,_0x310f86,_0x2cbefc,_0x250523){const _0x4f84cb=_0x3894d5,_0x3b7ee=this[_0x4f84cb(0x236)][_0x4f84cb(0x344)](_0x437ba3);this[_0x4f84cb(0x167)][_0x4f84cb(0x1b9)](_0x437ba3,{'unitID':_0x437ba3,'type':_0x310f86,'awaitingChangeset':_0x2cbefc,'mutations':_0x250523,'rev':_0x3b7ee}),this[_0x4f84cb(0x243)][_0x4f84cb(0x27d)](_0x437ba3)||this[_0x4f84cb(0x33a)](_0x437ba3);}[_0x3894d5(0x33a)](_0x461c93){const _0x2b84a2=_0x3894d5,_0x53fd85=this[_0x2b84a2(0x1bf)]();_0x53fd85===0x0?this['_saveCache'](_0x461c93):this[_0x2b84a2(0x243)][_0x2b84a2(0x1b9)](_0x461c93,setTimeout(()=>this[_0x2b84a2(0x180)](_0x461c93),_0x53fd85));}[_0x3894d5(0x1bf)](){const _0x198b6d=_0x3894d5;var _0x49d215;return(_0x49d215=this['_configService']['getConfig'](_0x2fd730[_0x198b6d(0x372)]))!=null?_0x49d215:_0x2fd730['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x43d3e6){const _0xb7df5e=_0x3894d5,_0x376fb9=this[_0xb7df5e(0x243)][_0xb7df5e(0x2b6)](_0x43d3e6);return _0x376fb9!==void 0x0&&window[_0xb7df5e(0x371)](_0x376fb9),this[_0xb7df5e(0x35c)][_0xb7df5e(0x2f8)](_0x2fd730['getLocalCacheKey'](_0x43d3e6),this[_0xb7df5e(0x167)][_0xb7df5e(0x2b6)](_0x43d3e6))[_0xb7df5e(0x1fb)](()=>this[_0xb7df5e(0x243)]['delete'](_0x43d3e6));}async[_0x3894d5(0x245)](){const _0x4e5376=_0x3894d5,_0xbd8bcd=[];this['_saveTaskMap'][_0x4e5376(0x122)]((_0x3264c6,_0x3d88de)=>{const _0x1145c1=_0x4e5376;window[_0x1145c1(0x371)](_0x3264c6),_0xbd8bcd[_0x1145c1(0x2aa)](this[_0x1145c1(0x180)](_0x3d88de)[_0x1145c1(0x1fb)](()=>{const _0x3e5773=_0x1145c1;this[_0x3e5773(0x243)][_0x3e5773(0x2e4)](_0x3d88de);}));}),await Promise[_0x4e5376(0xf3)](_0xbd8bcd);}};_0x500381=_0x26bcf1([_0x512a8b(0x0,_0x1e0609[_0x3894d5(0x22d)]),_0x512a8b(0x1,_0x1e0609['ILocalStorageService']),_0x512a8b(0x2,_0x1e0609['Inject'](_0xcfb5d3['RevisionService']))],_0x500381);class _0x53cffe extends _0x1e0609[_0x3894d5(0x18b)]{constructor(){const _0x578b74=_0x3894d5;super(),_0x552ea8(this,_0x578b74(0x1b5)),this[_0x578b74(0x1b5)]=_0x94d9ab['fromEvent'](window,'popstate')[_0x578b74(0x1cc)](_0x94d9ab['takeUntil'](this[_0x578b74(0x140)]),_0x94d9ab[_0x578b74(0x360)](0x1),_0x94d9ab[_0x578b74(0x30a)](void 0x0));}['setParam'](_0x39a13c,_0x5e4877,_0x72b370=!0x1){const _0x425e41=_0x3894d5,_0x4a9c9d=new URL(window[_0x425e41(0x2cf)][_0x425e41(0x18d)]);_0x4a9c9d[_0x425e41(0x1ef)][_0x425e41(0x1b9)](_0x39a13c,_0x5e4877),_0x72b370?window[_0x425e41(0x1e2)][_0x425e41(0x2eb)]('','',_0x4a9c9d[_0x425e41(0x356)]()):window[_0x425e41(0x1e2)][_0x425e41(0x11b)]('','',_0x4a9c9d['toString']());}['removeParam'](_0x56cc,_0x194f23=!0x1){const _0x460ff8=_0x3894d5,_0xd514c1=new URL(window['location'][_0x460ff8(0x18d)]);_0xd514c1[_0x460ff8(0x1ef)][_0x460ff8(0x2e4)](_0x56cc),_0x194f23?window[_0x460ff8(0x1e2)][_0x460ff8(0x2eb)]('','',_0xd514c1[_0x460ff8(0x356)]()):window[_0x460ff8(0x1e2)][_0x460ff8(0x11b)]('','',_0xd514c1[_0x460ff8(0x356)]());}['getParam'](_0x3b4e60){const _0x4c7891=_0x3894d5;var _0x10bd5d;return(_0x10bd5d=new URL(window[_0x4c7891(0x2cf)][_0x4c7891(0x18d)])[_0x4c7891(0x1ef)][_0x4c7891(0x2b6)](_0x3b4e60))!=null?_0x10bd5d:void 0x0;}}var _0x2cb866=Object[_0x3894d5(0x17b)],_0x3619da=Object[_0x3894d5(0x23b)],_0x54b429=(_0x1c03e7,_0x324f21,_0x362446)=>_0x324f21 in _0x1c03e7?_0x2cb866(_0x1c03e7,_0x324f21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x362446}):_0x1c03e7[_0x324f21]=_0x362446,_0x68666d=(_0x539c2f,_0x5e8938,_0x398004,_0x321615)=>{const _0x296754=_0x3894d5;for(var _0x23995c=_0x321615>0x1?void 0x0:_0x321615?_0x3619da(_0x5e8938,_0x398004):_0x5e8938,_0x412785=_0x539c2f[_0x296754(0x18c)]-0x1,_0x191c35;_0x412785>=0x0;_0x412785--)(_0x191c35=_0x539c2f[_0x412785])&&(_0x23995c=_0x191c35(_0x23995c)||_0x23995c);return _0x23995c;},_0x16b83f=(_0xadf7ac,_0xbe6a87)=>(_0x85c847,_0x1c4485)=>_0xbe6a87(_0x85c847,_0x1c4485,_0xadf7ac),_0x19874f=(_0x36f53e,_0x279276,_0x49a90a)=>_0x54b429(_0x36f53e,_0x279276+'',_0x49a90a);const _0x7eaac4=_0x3894d5(0x168);_0x342240[_0x3894d5(0x2d9)]=class extends _0x1e0609['Plugin']{constructor(_0x1fb58d=_0x5a525b,_0x4cf0d4,_0x7eb1d3,_0x2ff8b1){const _0x3b0349=_0x3894d5;super(),this[_0x3b0349(0x2c5)]=_0x1fb58d,this[_0x3b0349(0x110)]=_0x4cf0d4,this['_injector']=_0x7eb1d3,this['_configService']=_0x2ff8b1;const {..._0x11fc77}=_0x1e0609['merge']({},_0x5a525b,this['_config']);this[_0x3b0349(0x209)]['setConfig'](_0x6c376,_0x11fc77);}[_0x3894d5(0x1db)](){const _0x55c504=_0x3894d5;this[_0x55c504(0x1c2)](),this['_initDependencies']();}['onRendered'](){const _0x5ad501=_0x3894d5;this[_0x5ad501(0x201)]();}[_0x3894d5(0x1c2)](){const _0x3230c2=_0x3894d5;var _0x149278;const _0x324cd6=[[_0x57aed3],[_0x8cf5bb],[_0x28c5eb],[_0x4670a8],[_0x55262d],[_0x1d6363,{'useClass':_0x53cffe}],[_0x1e4e91[_0x3230c2(0x1ec)],{'useClass':_0x1e4e91['WebSocketService']}],[_0x2fd730['ILocalCacheService'],{'useClass':_0x500381}],[_0x342240[_0x3230c2(0x30f)]],[_0x10406f],[_0x4cc335],[_0x3766ca],[_0x561448],[_0x342240[_0x3230c2(0x268)]]];_0x1e0609[_0x3230c2(0x20b)](this[_0x3230c2(0x32a)],_0x1e0609[_0x3230c2(0x112)](_0x324cd6,(_0x149278=this[_0x3230c2(0x2c5)])==null?void 0x0:_0x149278[_0x3230c2(0x324)]));}[_0x3894d5(0x201)](){const _0x1ba6e6=_0x3894d5;this[_0x1ba6e6(0x22c)](this['_renderManagerService'][_0x1ba6e6(0x2c9)](_0x1e0609['UniverInstanceType']['UNIVER_DOC'],[_0x30bcfd])),this[_0x1ba6e6(0x22c)](this[_0x1ba6e6(0x110)][_0x1ba6e6(0x2c9)](_0x1e0609[_0x1ba6e6(0xff)][_0x1ba6e6(0x1c6)],[_0x41413e]));}[_0x3894d5(0x169)](){const _0x517d06=_0x3894d5;_0x1e0609[_0x517d06(0x1aa)](this[_0x517d06(0x32a)],[[_0x3766ca],[_0x342240[_0x517d06(0x30f)]],[_0x10406f],[_0x4cc335],[_0x342240[_0x517d06(0x268)]]]);}},_0x19874f(_0x342240[_0x3894d5(0x2d9)],_0x3894d5(0x2f6),_0x7eaac4),_0x342240[_0x3894d5(0x2d9)]=_0x68666d([_0x1e0609[_0x3894d5(0x1a8)](_0x2fd730['UniverCollaborationClientPlugin']),_0x16b83f(0x1,_0x8660e4[_0x3894d5(0x215)]),_0x16b83f(0x2,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x16b83f(0x3,_0x1e0609[_0x3894d5(0x22d)])],_0x342240[_0x3894d5(0x2d9)]);var _0x20b29e=Object[_0x3894d5(0x23b)],_0x4a7337=(_0x201f2e,_0x434f06,_0x11cbdf,_0x3fe694)=>{const _0x42fab2=_0x3894d5;for(var _0x427d01=_0x3fe694>0x1?void 0x0:_0x3fe694?_0x20b29e(_0x434f06,_0x11cbdf):_0x434f06,_0x445376=_0x201f2e[_0x42fab2(0x18c)]-0x1,_0x30444e;_0x445376>=0x0;_0x445376--)(_0x30444e=_0x201f2e[_0x445376])&&(_0x427d01=_0x30444e(_0x427d01)||_0x427d01);return _0x427d01;},_0x1c2e4b=(_0x3070d4,_0x2b7d34)=>(_0x549795,_0x255829)=>_0x2b7d34(_0x549795,_0x255829,_0x3070d4);_0x342240[_0x3894d5(0x1ad)]=class extends _0x2fd730[_0x3894d5(0x334)]{constructor(_0x2d4d23,_0x5cae2f,_0x41f247,_0x492f9e,_0x15d4f8){super(_0x2d4d23,_0x5cae2f,_0x41f247,_0x492f9e,_0x15d4f8);}async[_0x3894d5(0x15d)](_0xd9d48c){const _0x29f5ea=_0x3894d5,_0x118d20=await this[_0x29f5ea(0x120)](),_0x24aa07=this[_0x29f5ea(0x156)](_0xd9d48c,_0x118d20);return this[_0x29f5ea(0x35b)](_0x24aa07);}[_0x3894d5(0x156)](_0x45ef3e,_0x482329){const _0x1d3c91=_0x3894d5,_0xb64d13=typeof window>'u'?new URL(_0x45ef3e):new URL(_0x45ef3e,window['location']['origin']);_0xb64d13['searchParams'][_0x1d3c91(0x1b9)](_0x1d3c91(0x2ac),_0x482329);const _0x3452d9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1d3c91(0x2cf)][_0x1d3c91(0x378)]);return _0x3452d9[_0x1d3c91(0x2b6)](_0x1d3c91(0x261))&&_0xb64d13[_0x1d3c91(0x1ef)][_0x1d3c91(0x1b9)](_0x1d3c91(0x261),_0x3452d9[_0x1d3c91(0x2b6)]('runId')),_0xb64d13[_0x1d3c91(0x356)]();}async['_getSessionTicket'](){const _0x16efe3=_0x3894d5;var _0x1b7ce1,_0x4474c4,_0x4ab4b4;const _0x1ec166=this[_0x16efe3(0x209)][_0x16efe3(0x1f0)](_0x2fd730[_0x16efe3(0x205)]),_0x1c9e31=(_0x1b7ce1=_0x1ec166==null?void 0x0:_0x1ec166[_0x16efe3(0x203)])!=null?_0x1b7ce1:_0x2fd730['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x4ab4b4=(_0x4474c4=(await this[_0x16efe3(0x296)][_0x16efe3(0x2b6)](_0x1c9e31,{'headers':{'Content-Type':'application/json'}}))[_0x16efe3(0x17d)])==null?void 0x0:_0x4474c4[_0x16efe3(0x2b9)])!=null?_0x4ab4b4:'';}},_0x342240['BrowserCollaborationSocketService']=_0x4a7337([_0x1c2e4b(0x0,_0x1e0609[_0x3894d5(0x176)](_0x1e0609[_0x3894d5(0x248)])),_0x1c2e4b(0x1,_0x1e0609[_0x3894d5(0x176)](_0x1e4e91[_0x3894d5(0x365)])),_0x1c2e4b(0x2,_0x1e0609[_0x3894d5(0x22d)]),_0x1c2e4b(0x3,_0x1e0609[_0x3894d5(0x250)]),_0x1c2e4b(0x4,_0xcfb5d3['ISnapshotServerService'])],_0x342240[_0x3894d5(0x1ad)]);const _0x173a1c=0x7530,_0x237888=_0x3894d5(0x366);class _0x5379f1 extends _0x1e0609['Disposable']{constructor(){const _0x152118=_0x3894d5;super(),_0x552ea8(this,_0x152118(0x363),_0x1e0609[_0x152118(0x27a)]()),_0x552ea8(this,_0x152118(0x19f),new Set()),_0x552ea8(this,_0x152118(0x37b),new Map()),_0x552ea8(this,'_heartbeatTimer',null),_0x552ea8(this,'_clearOtherTimers',new Map()),_0x552ea8(this,'_unitStatus',new Map()),this['_init']();}[_0x3894d5(0x1e1)](){const _0x10c566=_0x3894d5;super[_0x10c566(0x1e1)](),this['_clearOtherTimers'][_0x10c566(0x122)]((_0x318368,_0x19f0ff)=>this['_removeClearOtherTimer'](_0x19f0ff)),this['_heartbeatTimer']&&window[_0x10c566(0x14e)](this[_0x10c566(0x105)]);}['getUnitStatus$'](_0x22f83b){const _0x185c65=_0x3894d5;return this[_0x185c65(0x354)](_0x22f83b)[_0x185c65(0x1cc)](_0x94d9ab['distinctUntilChanged']());}['editingUnit'](_0x5172bb){const _0x13a22a=_0x3894d5;this[_0x13a22a(0x19f)][_0x13a22a(0x158)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs']['add'](_0x5172bb),this[_0x13a22a(0x327)]({'type':0x0,'memberID':this[_0x13a22a(0x363)],'unitIDs':[_0x5172bb],'isForwarded':!0x1});}[_0x3894d5(0x283)](_0x55a67a){const _0x4262b0=_0x3894d5;this[_0x4262b0(0x19f)][_0x4262b0(0x2e4)](_0x55a67a),this[_0x4262b0(0x19f)][_0x4262b0(0x158)]===0x0&&this['_heartbeatTimer']&&window[_0x4262b0(0x14e)](this[_0x4262b0(0x105)]);}[_0x3894d5(0x28f)](){const _0x249f8c=_0x3894d5;this['disposeWithMe'](_0x1e0609['toDisposable'](_0x94d9ab[_0x249f8c(0x260)](window,'storage')[_0x249f8c(0x30e)](_0x4547eb=>{const _0x73b9e0=_0x249f8c;if(_0x4547eb[_0x73b9e0(0x376)]!==_0x237888||!_0x4547eb[_0x73b9e0(0x2d5)])return;const _0x352c1d=JSON[_0x73b9e0(0x306)](_0x4547eb[_0x73b9e0(0x2d5)]);this[_0x73b9e0(0x1d1)](_0x352c1d);}))),window['addEventListener'](_0x249f8c(0x154),()=>this[_0x249f8c(0x327)]({'type':0x1,'memberID':this[_0x249f8c(0x363)],'unitIDs':Array[_0x249f8c(0x329)](this[_0x249f8c(0x19f)])}));}[_0x3894d5(0x1d1)](_0x64e0e3){const _0x9927e6=_0x3894d5;switch(_0x64e0e3[_0x9927e6(0x31a)]){case 0x0:this[_0x9927e6(0x26d)](_0x64e0e3);break;case 0x1:this[_0x9927e6(0x257)](_0x64e0e3);break;case 0x2:this[_0x9927e6(0x191)](_0x64e0e3);break;}}[_0x3894d5(0x26d)](_0x3a3f10){const _0x3db5b4=_0x3894d5,{unitIDs:_0x130762,memberID:_0x90b931,isForwarded:_0x574db4}=_0x3a3f10;_0x130762[_0x3db5b4(0x122)](_0x2de360=>{const _0xc74326=_0x3db5b4;if(!_0x574db4&&this[_0xc74326(0x37b)][_0xc74326(0x27d)](_0x2de360)&&this[_0xc74326(0x354)](_0x2de360)[_0xc74326(0x147)](_0x2fd730[_0xc74326(0x17a)][_0xc74326(0x193)]),!this[_0xc74326(0x37b)][_0xc74326(0x27d)](_0x2de360)||!this[_0xc74326(0x37b)][_0xc74326(0x2b6)](_0x2de360)[_0xc74326(0x27d)](_0x90b931)){const _0x1c2068=this[_0xc74326(0x37b)][_0xc74326(0x2b6)](_0x2de360)||new Set();_0x1c2068[_0xc74326(0x13d)](_0x90b931),this[_0xc74326(0x37b)][_0xc74326(0x1b9)](_0x2de360,_0x1c2068),this[_0xc74326(0x146)](_0x90b931);}}),_0x574db4||this[_0x3db5b4(0x327)]({'type':0x0,'memberID':this[_0x3db5b4(0x363)],'unitIDs':[...this[_0x3db5b4(0x19f)]],'isForwarded':!0x0});}[_0x3894d5(0x146)](_0x1175ad){const _0x33f630=_0x3894d5;this[_0x33f630(0x31d)](_0x1175ad);const _0x171688=window[_0x33f630(0x1c7)](()=>{const _0x4df4bc=_0x33f630;this['_unitOnClients'][_0x4df4bc(0x122)](_0x7fccf0=>{_0x7fccf0['delete'](_0x1175ad);});},_0x173a1c*0x2);this['_clearOtherTimers'][_0x33f630(0x1b9)](_0x1175ad,_0x171688);}['_removeClearOtherTimer'](_0x44c8b6){const _0x3f3f2e=_0x3894d5;if(this[_0x3f3f2e(0x1bb)][_0x3f3f2e(0x27d)](_0x44c8b6)){const _0x1cbe23=this[_0x3f3f2e(0x1bb)]['get'](_0x44c8b6);_0x1cbe23&&window[_0x3f3f2e(0x371)](_0x1cbe23),this['_clearOtherTimers']['set'](_0x44c8b6,null);}}[_0x3894d5(0x257)](_0x13c1da){const _0x2e9496=_0x3894d5,{memberID:_0x2fa158,unitIDs:_0x46efa8}=_0x13c1da;_0x46efa8[_0x2e9496(0x122)](_0xa17543=>{const _0x307bbe=_0x2e9496;var _0x1d3443;const _0x38a08f=this[_0x307bbe(0x37b)]['get'](_0xa17543);_0x38a08f&&(_0x38a08f[_0x307bbe(0x2e4)](_0x2fa158),(_0x1d3443=this['_ensureSubject'](_0xa17543))==null||_0x1d3443[_0x307bbe(0x147)](_0x38a08f[_0x307bbe(0x158)]===0x0?_0x2fd730['UnitStatus'][_0x307bbe(0x2bd)]:_0x2fd730['UnitStatus'][_0x307bbe(0x193)]));}),this[_0x2e9496(0x31d)](_0x2fa158);}[_0x3894d5(0x191)](_0x3a848e){const _0x3c3202=_0x3894d5;this[_0x3c3202(0x146)](_0x3a848e[_0x3c3202(0x128)]);}[_0x3894d5(0x327)](_0xbda3dd){const _0x311a4b=_0x3894d5;localStorage[_0x311a4b(0x2f8)](_0x237888,JSON[_0x311a4b(0x2de)](_0xbda3dd));}[_0x3894d5(0x262)](){const _0x228587=_0x3894d5;this['_heartbeatTimer']=window[_0x228587(0x1af)](()=>{const _0x3daf19=_0x228587;this[_0x3daf19(0x327)]({'type':0x2,'memberID':this['_id']});},_0x173a1c);}[_0x3894d5(0x354)](_0x24847f){const _0x2f7463=_0x3894d5;return this[_0x2f7463(0x2ab)][_0x2f7463(0x27d)](_0x24847f)||this[_0x2f7463(0x2ab)]['set'](_0x24847f,new _0x94d9ab[(_0x2f7463(0x1ff))](_0x2fd730[_0x2f7463(0x17a)][_0x2f7463(0x2bd)])),this[_0x2f7463(0x2ab)]['get'](_0x24847f);}}var _0x3ebc0d=(_0x560f11=>(_0x560f11[_0x560f11['UNDEFINED']=0x0]='UNDEFINED',_0x560f11[_0x560f11['OK']=0x1]='OK',_0x560f11[_0x560f11[_0x3894d5(0x136)]=0x2]=_0x3894d5(0x136),_0x560f11[_0x560f11['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x560f11[_0x560f11[_0x3894d5(0x323)]=0x4]=_0x3894d5(0x323),_0x560f11[_0x560f11['UNAUTHENTICATED']=0x5]=_0x3894d5(0x276),_0x560f11[_0x560f11[_0x3894d5(0x181)]=0x6]=_0x3894d5(0x181),_0x560f11[_0x560f11[_0x3894d5(0x2c6)]=0x7]=_0x3894d5(0x2c6),_0x560f11[_0x560f11[_0x3894d5(0x2ed)]=0x8]=_0x3894d5(0x2ed),_0x560f11[_0x560f11['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x560f11[_0x560f11[_0x3894d5(0x359)]=0xa]=_0x3894d5(0x359),_0x560f11[_0x560f11[_0x3894d5(0x231)]=0x1389]=_0x3894d5(0x231),_0x560f11[_0x560f11[_0x3894d5(0x292)]=0x1771]=_0x3894d5(0x292),_0x560f11[_0x560f11['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3894d5(0x305),_0x560f11[_0x560f11['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3894d5(0x247),_0x560f11[_0x560f11[_0x3894d5(0x241)]=0x1b59]=_0x3894d5(0x241),_0x560f11[_0x560f11[_0x3894d5(0x313)]=0x1b5a]=_0x3894d5(0x313),_0x560f11[_0x560f11[_0x3894d5(0x1cf)]=0x1b5b]=_0x3894d5(0x1cf),_0x560f11[_0x560f11[_0x3894d5(0x2cb)]=0x1b5c]=_0x3894d5(0x2cb),_0x560f11[_0x560f11['APPLY_DUPLICATED']=0x1b5d]=_0x3894d5(0x251),_0x560f11[_0x560f11[_0x3894d5(0x214)]=0x1f41]=_0x3894d5(0x214),_0x560f11[_0x560f11['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3894d5(0x12a),_0x560f11[_0x560f11[_0x3894d5(0x27b)]=0x232a]=_0x3894d5(0x27b),_0x560f11[_0x560f11[_0x3894d5(0x197)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x560f11[_0x560f11['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3894d5(0x200),_0x560f11[_0x560f11[_0x3894d5(0x155)]=0x232d]=_0x3894d5(0x155),_0x560f11[_0x560f11[_0x3894d5(0x22b)]=0x2711]=_0x3894d5(0x22b),_0x560f11[_0x560f11[_0x3894d5(0x249)]=0x2712]=_0x3894d5(0x249),_0x560f11[_0x560f11[_0x3894d5(0x1eb)]=0x2713]=_0x3894d5(0x1eb),_0x560f11[_0x560f11[_0x3894d5(0x2cd)]=0x2714]=_0x3894d5(0x2cd),_0x560f11[_0x560f11['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x560f11[_0x560f11[_0x3894d5(0x115)]=0x2ee1]=_0x3894d5(0x115),_0x560f11[_0x560f11['INVALID_INVITE_CODE']=0x2ee2]=_0x3894d5(0x291),_0x560f11[_0x560f11[_0x3894d5(0x2cc)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x560f11[_0x560f11[_0x3894d5(0x369)]=0x2ee4]=_0x3894d5(0x369),_0x560f11[_0x560f11[_0x3894d5(0x21e)]=0x2ee5]=_0x3894d5(0x21e),_0x560f11[_0x560f11[_0x3894d5(0x22f)]=0x32c9]=_0x3894d5(0x22f),_0x560f11[_0x560f11[_0x3894d5(0x328)]=0x32ca]=_0x3894d5(0x328),_0x560f11[_0x560f11[_0x3894d5(0x331)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x560f11[_0x560f11['UNRECOGNIZED']=-0x1]=_0x3894d5(0x295),_0x560f11))(_0x3ebc0d||{}),_0x3477e7=Object[_0x3894d5(0x23b)],_0x55464b=(_0x21d325,_0x2da0ba,_0x10fefa,_0x2228a2)=>{const _0x17fd08=_0x3894d5;for(var _0x15e066=_0x2228a2>0x1?void 0x0:_0x2228a2?_0x3477e7(_0x2da0ba,_0x10fefa):_0x2da0ba,_0x77f36e=_0x21d325[_0x17fd08(0x18c)]-0x1,_0xd0bb23;_0x77f36e>=0x0;_0x77f36e--)(_0xd0bb23=_0x21d325[_0x77f36e])&&(_0x15e066=_0xd0bb23(_0x15e066)||_0x15e066);return _0x15e066;},_0x4dc52b=(_0x3bc7c9,_0x311a18)=>(_0x480913,_0x44d16d)=>_0x311a18(_0x480913,_0x44d16d,_0x3bc7c9);_0x342240[_0x3894d5(0x228)]=class extends _0x1e0609[_0x3894d5(0x30d)]{constructor(_0x1bc377,_0x82431c,_0x4157e4){const _0x3a3a60=_0x3894d5;super(),this[_0x3a3a60(0x117)]=_0x1bc377,this['_httpService']=_0x82431c,this[_0x3a3a60(0x209)]=_0x4157e4;}async[_0x3894d5(0x246)](_0x307e54,_0x18c5c0,_0x1766b9,..._0x2c4529){const _0x45b050=_0x3894d5;var _0x3c5eb1,_0x1db30f,_0x276b08,_0x328b12;const _0x46fed9=this[_0x45b050(0x117)][_0x45b050(0x233)]();if(!_0x46fed9)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x28e653=((_0x3c5eb1=this[_0x45b050(0x209)]['getConfig'](_0x2fd730[_0x45b050(0x1be)]))!=null?_0x3c5eb1:_0x2fd730[_0x45b050(0x370)])+'/'+_0x307e54+'/run/'+_0x18c5c0,_0x2e31a9=new URL(window['location'][_0x45b050(0x18d)]),_0x481553={'scriptId':_0x307e54,'runId':(_0x1db30f=_0x2e31a9[_0x45b050(0x1ef)][_0x45b050(0x2b6)]('runId'))!=null?_0x1db30f:'','function':_0x18c5c0,'unitId':_0x46fed9[_0x45b050(0xe6)](),'argsOfFunction':JSON[_0x45b050(0x2de)](_0x2c4529),'invokeId':(_0x276b08=_0x1766b9[_0x45b050(0x1a5)])!=null?_0x276b08:'','executionId':(_0x328b12=_0x1766b9['executionId'])!=null?_0x328b12:''};try{const _0x38f4ad=await this['_httpService'][_0x45b050(0x22e)](_0x28e653,{'body':_0x481553});return _0x38f4ad['body'][_0x45b050(0x107)]&&_0x38f4ad[_0x45b050(0x17d)][_0x45b050(0x107)]['code']!==_0x3ebc0d['OK']?'Failed':_0x38f4ad[_0x45b050(0x17d)][_0x45b050(0x32c)];}catch{return'Failed';}}},_0x342240[_0x3894d5(0x228)]=_0x55464b([_0x4dc52b(0x0,_0x1e0609[_0x3894d5(0x301)]),_0x4dc52b(0x1,_0x1e0609[_0x3894d5(0x176)](_0x1e4e91[_0x3894d5(0x365)])),_0x4dc52b(0x2,_0x1e0609['IConfigService'])],_0x342240[_0x3894d5(0x228)]),_0x342240[_0x3894d5(0x31e)]=_0x2352fd,_0x342240[_0x3894d5(0x2d4)]=_0x1d6363,_0x342240['SheetCollabCursorShape']=_0xd0ee36,_0x342240['WebBrowserSingleActiveUnitService']=_0x5379f1,_0x342240[_0x3894d5(0x185)]=_0x53cffe,Object[_0x3894d5(0x17b)](_0x342240,Symbol[_0x3894d5(0xf1)],{'value':_0x3894d5(0x19a)});}));
|
|
1
|
+
function _0x1bed(_0x36eb7f,_0x3c3ebb){const _0x2d6307=_0x2d63();return _0x1bed=function(_0x1bed76,_0x3afd5f){_0x1bed76=_0x1bed76-0x1ab;let _0x137d48=_0x2d6307[_0x1bed76];return _0x137d48;},_0x1bed(_0x36eb7f,_0x3c3ebb);}(function(_0x2c273c,_0xb4d735){const _0x1eaae1=_0x1bed,_0x2c542d=_0x2c273c();while(!![]){try{const _0xc5ef1d=-parseInt(_0x1eaae1(0x358))/0x1*(-parseInt(_0x1eaae1(0x1ee))/0x2)+parseInt(_0x1eaae1(0x39d))/0x3+-parseInt(_0x1eaae1(0x1f9))/0x4+-parseInt(_0x1eaae1(0x220))/0x5*(parseInt(_0x1eaae1(0x33c))/0x6)+parseInt(_0x1eaae1(0x213))/0x7+parseInt(_0x1eaae1(0x41c))/0x8+-parseInt(_0x1eaae1(0x35c))/0x9;if(_0xc5ef1d===_0xb4d735)break;else _0x2c542d['push'](_0x2c542d['shift']());}catch(_0x3b65af){_0x2c542d['push'](_0x2c542d['shift']());}}}(_0x2d63,0xca97f),function(_0x244f75,_0x3b6076){const _0x28b438=_0x1bed;typeof exports==_0x28b438(0x2f2)&&typeof module<'u'?_0x3b6076(exports,require(_0x28b438(0x409)),require(_0x28b438(0x280)),require(_0x28b438(0x1d4)),require(_0x28b438(0x27c)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x28b438(0x1fb)),require(_0x28b438(0x235)),require(_0x28b438(0x2ee)),require(_0x28b438(0x2e9)),require(_0x28b438(0x436)),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require(_0x28b438(0x262)),require('react'),require(_0x28b438(0x1e4))):typeof define==_0x28b438(0x1f5)&&define[_0x28b438(0x385)]?define(['exports','@univerjs-pro/collaboration-client','@univerjs/core',_0x28b438(0x1d4),'@univerjs/network',_0x28b438(0x1b5),'@univerjs/drawing',_0x28b438(0x1fb),_0x28b438(0x235),'@univerjs-pro/collaboration',_0x28b438(0x2e9),_0x28b438(0x436),'rxjs/operators',_0x28b438(0x2e8),'react/jsx-runtime',_0x28b438(0x3f8),'@univerjs/design',_0x28b438(0x24c),_0x28b438(0x1e4)],_0x3b6076):(_0x244f75=typeof globalThis<'u'?globalThis:_0x244f75||self,_0x3b6076(_0x244f75['UniverProCollaborationClientUi']={},_0x244f75['UniverProCollaborationClient'],_0x244f75[_0x28b438(0x3cf)],_0x244f75[_0x28b438(0x21d)],_0x244f75[_0x28b438(0x437)],_0x244f75['UniverDocsUi'],_0x244f75[_0x28b438(0x1f7)],_0x244f75[_0x28b438(0x1fb)],_0x244f75[_0x28b438(0x3d4)],_0x244f75[_0x28b438(0x413)],_0x244f75[_0x28b438(0x30a)],_0x244f75[_0x28b438(0x258)],_0x244f75['rxjs'][_0x28b438(0x2cb)],_0x244f75['UniverSheetsUi'],_0x244f75['React'],_0x244f75['UniverUi'],_0x244f75[_0x28b438(0x34c)],_0x244f75[_0x28b438(0x2db)],_0x244f75[_0x28b438(0x3dc)]));}(this,function(_0x417bf1,_0x3fb0c7,_0x4d7567,_0x4a12db,_0x4f9d2b,_0x47cccb,_0x15e44e,_0x302f1e,_0x534e54,_0x249cc5,_0x5c224a,_0x5976f8,_0x5be01f,_0x53e960,_0x143960,_0x25ac9f,_0x521938,_0x3a1e2c,_0x274540){'use strict';const _0x438245=_0x1bed;var _0x1c5f45=Object['defineProperty'],_0x42eba9=(_0xfbfdf,_0x4e6f7f,_0x53a2e9)=>_0x4e6f7f in _0xfbfdf?_0x1c5f45(_0xfbfdf,_0x4e6f7f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53a2e9}):_0xfbfdf[_0x4e6f7f]=_0x53a2e9,_0x30d208=(_0x3cc062,_0x58ee5d,_0x189858)=>_0x42eba9(_0x3cc062,typeof _0x58ee5d!=_0x438245(0x241)?_0x58ee5d+'':_0x58ee5d,_0x189858),_0x471aff=Object[_0x438245(0x23f)],_0x28e7cc=(_0x596d3e,_0x454e0c,_0x415609,_0x5e7920)=>{const _0xbf22a3=_0x438245;for(var _0x3e7ced=_0x5e7920>0x1?void 0x0:_0x5e7920?_0x471aff(_0x454e0c,_0x415609):_0x454e0c,_0x5d554c=_0x596d3e[_0xbf22a3(0x1f8)]-0x1,_0x1523c7;_0x5d554c>=0x0;_0x5d554c--)(_0x1523c7=_0x596d3e[_0x5d554c])&&(_0x3e7ced=_0x1523c7(_0x3e7ced)||_0x3e7ced);return _0x3e7ced;},_0x3e912d=(_0xc3d178,_0x558100)=>(_0x5142bb,_0x1da6ca)=>_0x558100(_0x5142bb,_0x1da6ca,_0xc3d178);let _0x3431b4=class extends _0x4d7567[_0x438245(0x2b8)]{constructor(_0x5c3630,_0x4f03a6){const _0x50861a=_0x438245;super(),this[_0x50861a(0x37e)]=_0x5c3630,this['_imageIoService']=_0x4f03a6,this[_0x50861a(0x38b)]();}[_0x438245(0x38b)](){const _0x55a3e8=_0x438245,_0x35bce2=this;this[_0x55a3e8(0x2d6)](this['_docClipboardService'][_0x55a3e8(0x3a8)]({'onBeforePasteImage':async _0x5ce8c1=>{const _0x35a948=_0x55a3e8,_0xe81712=await _0x35bce2[_0x35a948(0x211)]['saveImage'](_0x5ce8c1);return _0xe81712?{'source':_0xe81712[_0x35a948(0x1dc)],'imageSourceType':_0xe81712[_0x35a948(0x3ce)]}:null;}}));}};_0x3431b4=_0x28e7cc([_0x3e912d(0x0,_0x47cccb['IDocClipboardService']),_0x3e912d(0x1,_0x15e44e[_0x438245(0x26d)])],_0x3431b4);const _0x5bc15f=[_0x438245(0x3e6),_0x438245(0x3e2),_0x438245(0x3c3),_0x438245(0x1de),_0x438245(0x2d1),_0x438245(0x23d)];class _0x5b3fee extends _0x4d7567[_0x438245(0x219)]{constructor(){const _0x2af24f=_0x438245;super(...arguments),_0x30d208(this,_0x2af24f(0x1d7),new Map()),_0x30d208(this,'_colorIndex',0x0);}[_0x438245(0x30b)](_0x35b368){const _0x560192=_0x438245;if(this['_assignedColors'][_0x560192(0x25a)](_0x35b368))return this[_0x560192(0x1d7)][_0x560192(0x3f6)](_0x35b368);const _0x42378a=_0x5bc15f[this[_0x560192(0x23c)]];return this['_colorIndex']=(this[_0x560192(0x23c)]+0x1)%_0x5bc15f[_0x560192(0x1f8)],this[_0x560192(0x1d7)][_0x560192(0x42b)](_0x35b368,_0x42378a),_0x42378a;}}function _0xa44624(_0x18554d){let _0x2f3ad8='';for(const _0x496f66 of _0x18554d){const {startOffset:_0x183c0f,endOffset:_0x1812e3,isActive:_0x1fa3d0,rangeType:_0x2ab919,segmentId:_0x4a37d8,segmentPage:_0x58d46f}=_0x496f66;_0x2f3ad8['length']&&(_0x2f3ad8+=','),_0x2f3ad8+=_0x183c0f+':'+_0x1812e3+':'+(_0x1fa3d0?'1':'0')+':'+_0x2ab919+':'+_0x4a37d8+':'+_0x58d46f;}return _0x2f3ad8;}function _0x474652(_0xbb6358){const _0x2f97b7=_0x438245,_0x4f82e2=_0xbb6358[_0x2f97b7(0x3d9)](','),_0x24bbe1=[];for(const _0x6cc689 of _0x4f82e2){const [_0xb7d2e4,_0x4a72d8,_0x92de85,_0x2cdab6,_0xafaa91,_0x6263a4]=_0x6cc689[_0x2f97b7(0x3d9)](':');_0x24bbe1[_0x2f97b7(0x2d3)]({'startOffset':Number(_0xb7d2e4),'endOffset':Number(_0x4a72d8),'collapsed':_0xb7d2e4===_0x4a72d8,'isActive':_0x92de85==='1','rangeType':_0x2cdab6===_0x4d7567[_0x2f97b7(0x1da)][_0x2f97b7(0x1ba)]?_0x4d7567[_0x2f97b7(0x1da)]['TEXT']:_0x4d7567['DOC_RANGE_TYPE'][_0x2f97b7(0x411)],'segmentId':typeof _0xafaa91=='string'?String(_0xafaa91):'','segmentPage':Number(_0x6263a4!=null?_0x6263a4:-0x1)});}return _0x24bbe1[_0x2f97b7(0x414)](_0x4cc8b6=>_0x4cc8b6[_0x2f97b7(0x251)])||(_0x24bbe1[0x0]['isActive']=!0x0),_0x24bbe1;}class _0x4b7e32 extends _0x4d7567[_0x438245(0x2b8)]{constructor(){const _0x5d62d7=_0x438245;super(...arguments),_0x30d208(this,_0x5d62d7(0x21c),new _0x302f1e[(_0x5d62d7(0x433))](null)),_0x30d208(this,'collabCursorState$',this[_0x5d62d7(0x21c)]['asObservable']());}[_0x438245(0x21e)](_0x245235){const {unitID:_0x2c4a96,memberID:_0x2c4a5d,textRanges:_0x57fd81}=_0x245235,_0x590b66=_0xa44624(_0x57fd81);if(_0x590b66==='')return;const _0x618cf2={'unitID':_0x2c4a96,'memberID':_0x2c4a5d,'selection':_0x590b66};this['_collabCursorState$']['next'](_0x618cf2);}}var _0x18b875=Object[_0x438245(0x23f)],_0x4e5935=(_0x48a396,_0xdbc3e,_0x237379,_0x17d176)=>{for(var _0x4615df=_0x17d176>0x1?void 0x0:_0x17d176?_0x18b875(_0xdbc3e,_0x237379):_0xdbc3e,_0x3c203d=_0x48a396['length']-0x1,_0x465414;_0x3c203d>=0x0;_0x3c203d--)(_0x465414=_0x48a396[_0x3c203d])&&(_0x4615df=_0x465414(_0x4615df)||_0x4615df);return _0x4615df;},_0x3dda56=(_0x510678,_0x23be56)=>(_0x2effd7,_0x392de0)=>_0x23be56(_0x2effd7,_0x392de0,_0x510678);const _0x399f91=0x12c,_0xef991a=0x64;let _0x2235ef=class extends _0x4d7567[_0x438245(0x2b8)]{constructor(_0x43b859,_0xc199cd,_0x51db8c,_0x572e2e,_0x48e9ef,_0xd04336,_0x4d520c,_0x5e4778,_0x231651){const _0x2db339=_0x438245;super(),_0x30d208(this,_0x2db339(0x3f0),!0x1),_0x30d208(this,_0x2db339(0x38b),!0x1),_0x30d208(this,_0x2db339(0x434),new _0x302f1e[(_0x2db339(0x433))](new Map())),_0x30d208(this,_0x2db339(0x3c8),this[_0x2db339(0x434)][_0x2db339(0x357)]()),_0x30d208(this,_0x2db339(0x243),new _0x302f1e[(_0x2db339(0x433))]([])),_0x30d208(this,_0x2db339(0x43e),this[_0x2db339(0x243)][_0x2db339(0x3eb)](_0x302f1e[_0x2db339(0x362)](_0x399f91))),_0x30d208(this,_0x2db339(0x2c6),_0x4d7567['debounce'](_0x461d7c=>{const _0x3c8f28=_0x2db339,_0x5b94cc={'eventID':_0x249cc5[_0x3c8f28(0x3af)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3c8f28(0x307)],'memberID':this['_session']['getMemberID'](),'selection':_0xa44624(_0x461d7c)}};this[_0x3c8f28(0x2eb)][_0x3c8f28(0x2a0)](_0x5b94cc,this['unitID']);},_0xef991a)),(this[_0x2db339(0x307)]=_0x43b859,this[_0x2db339(0x2eb)]=_0xc199cd,this[_0x2db339(0x3fa)]=_0x51db8c,this[_0x2db339(0x1e7)]=_0x572e2e,this['_memberService']=_0x48e9ef,this['_syncEditingCollabCursorService']=_0xd04336,this[_0x2db339(0x355)]=_0x4d520c,this[_0x2db339(0x3d8)]=_0x5e4778,this[_0x2db339(0x39e)]=_0x231651);}get[_0x438245(0x417)](){return this['_cursorInfo$']['getValue']();}get[_0x438245(0x2a9)](){const _0x126ba4=_0x438245;return this[_0x126ba4(0x243)][_0x126ba4(0x427)]();}[_0x438245(0x3f7)](){const _0x41f2ec=_0x438245;super['dispose'](),this[_0x41f2ec(0x434)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x41f2ec(0x243)]['next']([]),this[_0x41f2ec(0x243)][_0x41f2ec(0x348)]();}[_0x438245(0x388)](){const _0x627322=_0x438245;this[_0x627322(0x38b)]||(this[_0x627322(0x38b)]=!0x0,this[_0x627322(0x2eb)]['sessionStatus$'][_0x627322(0x3eb)](_0x302f1e[_0x627322(0x416)](this[_0x627322(0x287)]))['subscribe'](_0x35e3a8=>{const _0x2f1edb=_0x627322;_0x35e3a8===_0x3fb0c7['SessionStatus'][_0x2f1edb(0x326)]?this[_0x2f1edb(0x33f)]():this[_0x2f1edb(0x2e6)]();}),this[_0x627322(0x2eb)][_0x627322(0x367)][_0x627322(0x3eb)](_0x302f1e[_0x627322(0x416)](this[_0x627322(0x287)]))[_0x627322(0x277)](_0xfa4e7=>{const _0x3fa587=_0x627322,_0x541110=_0xfa4e7[_0x3fa587(0x3be)];_0x541110===_0x249cc5[_0x3fa587(0x3af)][_0x3fa587(0x232)]&&this['_onCursorUpdate'](_0xfa4e7),_0x541110===_0x249cc5[_0x3fa587(0x3af)][_0x3fa587(0x324)]&&this[_0x3fa587(0x2da)](_0xfa4e7);}),this[_0x627322(0x2d6)](this[_0x627322(0x39e)]['onCommandExecuted'](_0x814ee9=>{const _0x321979=_0x627322,_0x1e9903=_0x814ee9['params'];_0x1e9903!=null&&this[_0x321979(0x3f0)]&&_0x814ee9['id']===_0x534e54['SetTextSelectionsOperation']['id']&&_0x1e9903[_0x321979(0x1f0)]===this['unitID']&&_0x1e9903['isEditing']===!0x1&&_0x1e9903[_0x321979(0x1ac)]['length']>0x0&&this[_0x321979(0x2c6)](_0x1e9903[_0x321979(0x1ac)]);})),this['_syncEditingCollabCursorService'][_0x627322(0x2a3)][_0x627322(0x3eb)](_0x302f1e[_0x627322(0x416)](this[_0x627322(0x287)]))[_0x627322(0x277)](_0x29b95f=>{const _0x210f4c=_0x627322;if((_0x29b95f==null?void 0x0:_0x29b95f[_0x210f4c(0x307)])!==this[_0x210f4c(0x307)])return;const _0x5b9b12={'eventID':_0x249cc5[_0x210f4c(0x3af)][_0x210f4c(0x232)],'data':_0x29b95f};this[_0x210f4c(0x328)](_0x5b9b12);}),this['disposeWithMe'](this['_commandService'][_0x627322(0x2b3)](_0x9b28b5=>{const _0x9450c4=_0x627322;if(_0x9b28b5[_0x9450c4(0x365)]==null)return;const _0x1ef692=_0x9b28b5[_0x9450c4(0x365)];if(_0x9b28b5['id']!==_0x534e54[_0x9450c4(0x254)]['id']||_0x1ef692[_0x9450c4(0x1f0)]!==this['unitID'])return;const _0x5934e4={'id':_0x9450c4(0x1e1),'params':_0x1ef692},_0x1ccd20=this[_0x9450c4(0x417)];for(const [_0xd44e9e,_0x31c09d]of _0x1ccd20){const _0x150cc9={'id':_0x9450c4(0x1e1),'params':{'unitId':this[_0x9450c4(0x307)],'actions':null,'textRanges':_0x31c09d['ranges']}},_0x2c03fe=this[_0x9450c4(0x355)][_0x9450c4(0x37d)](_0x5934e4,_0x150cc9,!0x1);if(_0x249cc5[_0x9450c4(0x2f8)](_0x2c03fe))throw _0x2c03fe[_0x9450c4(0x30e)];_0x1ccd20['set'](_0xd44e9e,{..._0x31c09d,'ranges':_0x2c03fe[_0x9450c4(0x2f0)][_0x9450c4(0x365)][_0x9450c4(0x40d)]});}queueMicrotask(()=>{const _0x38335=_0x9450c4;this['_cursorInfo$'][_0x38335(0x31f)](_0x1ccd20);});})));}[_0x438245(0x328)](_0x43289d){const _0x14ddd8=_0x438245;var _0x384b17,_0x64a3bc;const {memberID:_0x1a56d5,selection:_0x258938}=_0x43289d[_0x14ddd8(0x38a)],_0x1a9b54=_0x474652(_0x258938),_0x3a1aec=(_0x64a3bc=(_0x384b17=this[_0x14ddd8(0x2ea)][_0x14ddd8(0x40a)](this[_0x14ddd8(0x307)],_0x1a56d5))==null?void 0x0:_0x384b17[_0x14ddd8(0x420)])!=null?_0x64a3bc:'Unknown\x20user',_0x1def2d={'color':this['_colorAssignService'][_0x14ddd8(0x30b)](_0x1a56d5),'name':_0x3a1aec,'ranges':_0x1a9b54},_0x493aa0=this[_0x14ddd8(0x417)];_0x493aa0['set'](_0x1a56d5,_0x1def2d),this[_0x14ddd8(0x434)]['next'](_0x493aa0);}['_onCursorDelete'](_0x908598){const _0x34f310=_0x438245,{memberID:_0x339d3b}=_0x908598[_0x34f310(0x38a)],_0x411862=this[_0x34f310(0x417)];_0x411862[_0x34f310(0x3b2)](_0x339d3b),this[_0x34f310(0x434)][_0x34f310(0x31f)](_0x411862);}[_0x438245(0x33f)](){const _0xad3e44=_0x438245;var _0x15a4b5;if(this[_0xad3e44(0x3f0)]=!0x0,((_0x15a4b5=this[_0xad3e44(0x3d8)][_0xad3e44(0x3e7)]())==null?void 0x0:_0x15a4b5['getUnitId']())!==this['unitID'])return;const _0x267acc=this[_0xad3e44(0x3fa)][_0xad3e44(0x3f6)](_0x534e54[_0xad3e44(0x425)])[_0xad3e44(0x34e)]();Array[_0xad3e44(0x2ce)](_0x267acc)&&_0x267acc[_0xad3e44(0x1f8)]>0x0&&this['_updateLocalCursor'](_0x267acc);}[_0x438245(0x2e6)](){const _0x5a8274=_0x438245;this[_0x5a8274(0x3f0)]=!0x1;}};_0x2235ef=_0x4e5935([_0x3dda56(0x2,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x3f3)])),_0x3dda56(0x3,_0x4d7567[_0x438245(0x317)](_0x5b3fee)),_0x3dda56(0x4,_0x4d7567[_0x438245(0x317)](_0x3fb0c7[_0x438245(0x1d2)])),_0x3dda56(0x5,_0x4d7567[_0x438245(0x317)](_0x4b7e32)),_0x3dda56(0x6,_0x249cc5[_0x438245(0x391)]),_0x3dda56(0x7,_0x4d7567[_0x438245(0x3fd)]),_0x3dda56(0x8,_0x4d7567[_0x438245(0x2bf)])],_0x2235ef);var _0x162cf5=Object[_0x438245(0x23f)],_0x4bfa40=(_0xf08a8b,_0x1f0fe0,_0x31ce1f,_0x2b2292)=>{const _0xac8ad=_0x438245;for(var _0x27e062=_0x2b2292>0x1?void 0x0:_0x2b2292?_0x162cf5(_0x1f0fe0,_0x31ce1f):_0x1f0fe0,_0x58eea8=_0xf08a8b[_0xac8ad(0x1f8)]-0x1,_0xb6d9d1;_0x58eea8>=0x0;_0x58eea8--)(_0xb6d9d1=_0xf08a8b[_0x58eea8])&&(_0x27e062=_0xb6d9d1(_0x27e062)||_0x27e062);return _0x27e062;},_0x379fe3=(_0x4a959f,_0x54fca6)=>(_0x52272e,_0x5da9bf)=>_0x54fca6(_0x52272e,_0x5da9bf,_0x4a959f);const _0x1fe0da=0x12c,_0x2d8f25=0x64,_0xb7860f=()=>{let _0x32234a=[],_0x3cc34e=!0x1;return _0x502c23=>{const _0x4a83c8=_0x1bed;_0x32234a[_0x4a83c8(0x2d3)](_0x502c23),_0x3cc34e||(_0x3cc34e=!0x0,setTimeout(()=>{const _0x880d45=_0x4a83c8;_0x32234a[_0x880d45(0x237)](_0x2a42f9=>_0x2a42f9()),_0x32234a=[],_0x3cc34e=!0x1;}));};};let _0x374282=class extends _0x4d7567[_0x438245(0x2b8)]{constructor(_0x3763c8,_0x45d084,_0x555316,_0x4af30d,_0x39e5e8,_0x41f685,_0x114082,_0x506ae5){const _0x5f6377=_0x438245;super(),_0x30d208(this,_0x5f6377(0x3f0),!0x1),_0x30d208(this,_0x5f6377(0x38b),!0x1),_0x30d208(this,_0x5f6377(0x434),new _0x302f1e[(_0x5f6377(0x433))](new Map())),_0x30d208(this,_0x5f6377(0x3c8),this[_0x5f6377(0x434)][_0x5f6377(0x357)]()),_0x30d208(this,'_roomMembers$',new _0x302f1e[(_0x5f6377(0x433))]([])),_0x30d208(this,'roomMembers$',this[_0x5f6377(0x243)][_0x5f6377(0x3eb)](_0x302f1e[_0x5f6377(0x362)](_0x1fe0da))),_0x30d208(this,'_updateLocalCursor',_0x4d7567[_0x5f6377(0x354)]((_0x1099ce,_0x3ff02d)=>{const _0x456d6d=_0x5f6377,_0x435ab8={'eventID':_0x249cc5['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x456d6d(0x307)],'memberID':this['_session']['getMemberID'](),'selection':_0x5c224a['serializeRangeWithSheet'](_0x1099ce,_0x3ff02d[_0x456d6d(0x1b7)])}};this[_0x456d6d(0x2eb)][_0x456d6d(0x2a0)](_0x435ab8,this['unitID']);},_0x2d8f25)),(this[_0x5f6377(0x307)]=_0x3763c8,this[_0x5f6377(0x2eb)]=_0x45d084,this[_0x5f6377(0x3fa)]=_0x555316,this[_0x5f6377(0x1e7)]=_0x4af30d,this[_0x5f6377(0x2ea)]=_0x39e5e8,this[_0x5f6377(0x3d8)]=_0x41f685,this['_commandService']=_0x114082,this[_0x5f6377(0x37f)]=_0x506ae5);}get[_0x438245(0x417)](){const _0xace0ab=_0x438245;return this['_cursorInfo$'][_0xace0ab(0x427)]();}get[_0x438245(0x2a9)](){const _0x1b66d3=_0x438245;return this[_0x1b66d3(0x243)][_0x1b66d3(0x427)]();}[_0x438245(0x3f7)](){const _0x3f429b=_0x438245;super[_0x3f429b(0x3f7)](),this['_cursorInfo$'][_0x3f429b(0x31f)](new Map()),this[_0x3f429b(0x434)]['complete'](),this[_0x3f429b(0x243)][_0x3f429b(0x31f)]([]),this[_0x3f429b(0x243)]['complete']();}['init'](){const _0x4b7231=_0x438245;this['_init']||(this[_0x4b7231(0x38b)]=!0x0,this[_0x4b7231(0x2eb)]['sessionStatus$']['pipe'](_0x302f1e[_0x4b7231(0x416)](this['dispose$']))[_0x4b7231(0x277)](_0x730d1f=>{const _0x378d88=_0x4b7231;_0x730d1f===_0x3fb0c7['SessionStatus']['ONLINE']?this[_0x378d88(0x33f)]():this[_0x378d88(0x2e6)]();}),this['_session'][_0x4b7231(0x367)]['pipe'](_0x302f1e[_0x4b7231(0x416)](this[_0x4b7231(0x287)]))[_0x4b7231(0x277)](_0x149fa2=>{const _0x398459=_0x4b7231,_0x4ccaf8=_0x149fa2[_0x398459(0x3be)];_0x4ccaf8===_0x249cc5[_0x398459(0x3af)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x149fa2),_0x4ccaf8===_0x249cc5['CollaborationEvent']['USERS_LEAVE']&&this[_0x398459(0x2da)](_0x149fa2);}),this[_0x4b7231(0x407)](),this[_0x4b7231(0x2d6)](this['_commandService'][_0x4b7231(0x2b3)](_0x267e2c=>{const _0x79d476=_0x4b7231;if(this['_online']&&_0x267e2c['id']===_0x5976f8[_0x79d476(0x2c5)]['id']&&_0x267e2c[_0x79d476(0x365)][_0x79d476(0x1f0)]===this[_0x79d476(0x307)]){const _0x322390=_0x267e2c['params'];this[_0x79d476(0x2c6)](_0x322390[_0x79d476(0x238)],_0x322390['selections'][0x0]);}})));}[_0x438245(0x328)](_0xc45b8f){const _0x1b3a83=_0x438245;var _0x4ab01e,_0x50e5f4;const {memberID:_0x29719c,selection:_0x3346b3}=_0xc45b8f[_0x1b3a83(0x38a)],{sheetName:_0x1176c3,range:_0x342904}=_0x5c224a['deserializeRangeWithSheet'](_0x3346b3),_0x36dc04={'name':(_0x50e5f4=(_0x4ab01e=this[_0x1b3a83(0x2ea)][_0x1b3a83(0x40a)](this[_0x1b3a83(0x307)],_0x29719c))==null?void 0x0:_0x4ab01e[_0x1b3a83(0x420)])!=null?_0x50e5f4:_0x1b3a83(0x29e),'range':this[_0x1b3a83(0x3e9)](_0x1176c3,_0x342904),'sheetID':_0x1176c3,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x29719c),'selection':_0x3346b3},_0x54b99=this[_0x1b3a83(0x417)];_0x54b99[_0x1b3a83(0x42b)](_0x29719c,_0x36dc04),this[_0x1b3a83(0x434)][_0x1b3a83(0x31f)](_0x54b99);}[_0x438245(0x2da)](_0x17831d){const _0x52ad1e=_0x438245,{memberID:_0xf8ed79}=_0x17831d[_0x52ad1e(0x38a)],_0x459799=this[_0x52ad1e(0x417)];_0x459799[_0x52ad1e(0x3b2)](_0xf8ed79),this[_0x52ad1e(0x434)][_0x52ad1e(0x31f)](_0x459799);}[_0x438245(0x3e9)](_0x519222,_0x49ab02){const _0x20dc96=_0x438245;var _0xd559,_0x8687a5;const _0x161c18=(_0x8687a5=(_0xd559=this[_0x20dc96(0x3d8)][_0x20dc96(0x32b)](this['unitID']))==null?void 0x0:_0xd559['getSheetBySheetId'](_0x519222))==null?void 0x0:_0x8687a5[_0x20dc96(0x296)]();return(_0x161c18==null?void 0x0:_0x161c18['find'](_0x568684=>_0x4d7567[_0x20dc96(0x32c)][_0x20dc96(0x1f2)](_0x568684,_0x49ab02)))||_0x49ab02;}[_0x438245(0x407)](){const _0x54735f=_0x438245,_0x5632fc=new _0x4d7567[(_0x54735f(0x41e))](),_0x28801e=_0xb7860f(),_0x45c725=()=>{const _0x1cacd9=_0x54735f;_0x5632fc[_0x1cacd9(0x3f7)]();const _0x2e04a2=(_0x2aa0c6,_0x1ca202,_0x3689ad,_0x34c84f)=>{const _0x4cedea=_0x1cacd9;let _0x41eec8=[];switch(_0x2aa0c6['id']){case _0x5976f8[_0x4cedea(0x313)][_0x4cedea(0x1f4)]:{_0x41eec8=_0x5976f8[_0x4cedea(0x32f)](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8[_0x4cedea(0x313)][_0x4cedea(0x3ae)]:{_0x41eec8=_0x5976f8[_0x4cedea(0x252)](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8[_0x4cedea(0x313)][_0x4cedea(0x3c2)]:{_0x41eec8=_0x5976f8[_0x4cedea(0x345)](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8[_0x4cedea(0x313)][_0x4cedea(0x3d7)]:{_0x41eec8=_0x5976f8[_0x4cedea(0x2fb)](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8[_0x4cedea(0x313)][_0x4cedea(0x3a5)]:{_0x41eec8=_0x5976f8[_0x4cedea(0x41d)](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8[_0x4cedea(0x313)][_0x4cedea(0x1b6)]:{_0x41eec8=_0x5976f8['handleInsertRow'](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8[_0x4cedea(0x313)][_0x4cedea(0x3ac)]:{_0x41eec8=_0x5976f8[_0x4cedea(0x401)](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8['EffectRefRangId'][_0x4cedea(0x3b9)]:{_0x41eec8=_0x5976f8['handleIRemoveCol'](_0x2aa0c6,_0x34c84f);break;}case _0x5976f8['EffectRefRangId'][_0x4cedea(0x279)]:{_0x41eec8=_0x5976f8[_0x4cedea(0x1fa)](_0x2aa0c6,_0x34c84f);break;}}const _0x803831=_0x5976f8[_0x4cedea(0x273)](_0x41eec8,_0x34c84f),_0x33be0d=this['cursorInfo'][_0x4cedea(0x3f6)](_0x1ca202);if(_0x33be0d&&_0x803831){const _0x1e9e22={..._0x33be0d,'range':_0x803831};this[_0x4cedea(0x417)]['set'](_0x1ca202,_0x1e9e22),_0x28801e(()=>{const _0x5e641f=_0x4cedea,_0x31fe37=this[_0x5e641f(0x37f)][_0x5e641f(0x42c)](_0x803831,_0x4f47fc=>(_0x31fe37[_0x5e641f(0x3f7)](),_0x2e04a2(_0x4f47fc,_0x1ca202,_0x3689ad,_0x803831)));_0x5632fc[_0x5e641f(0x371)](_0x31fe37);});}return{'redos':[],'undos':[]};};this[_0x1cacd9(0x417)][_0x1cacd9(0x237)]((_0xc353bb,_0x147b3c)=>{const _0x129339=_0x1cacd9,{range:_0x4f4e2a,sheetID:_0x14e795}=_0xc353bb,_0x2f066c=this[_0x129339(0x37f)][_0x129339(0x42c)](_0x4f4e2a,_0x3ab661=>(_0x2f066c[_0x129339(0x3f7)](),_0x2e04a2(_0x3ab661,_0x147b3c,_0x14e795,_0x4f4e2a)));_0x5632fc[_0x129339(0x371)](_0x2f066c);});};this['disposeWithMe'](_0x4d7567[_0x54735f(0x36b)](this[_0x54735f(0x434)]['subscribe'](()=>{_0x45c725();})));}[_0x438245(0x33f)](){const _0x44119d=_0x438245;var _0x1f8c99,_0x1ee69a;if(this['_online']=!0x0,((_0x1f8c99=this[_0x44119d(0x3d8)]['getFocusedUnit']())==null?void 0x0:_0x1f8c99[_0x44119d(0x260)]())!==this['unitID'])return;const _0xcb2bfa=(_0x1ee69a=this[_0x44119d(0x3fa)][_0x44119d(0x3f6)](_0x5976f8[_0x44119d(0x22c)])['getCurrentSelections']())==null?void 0x0:_0x1ee69a[0x0],_0x30c8a3=this[_0x44119d(0x3d8)][_0x44119d(0x404)](_0x4d7567[_0x44119d(0x364)][_0x44119d(0x3ef)])[_0x44119d(0x2c0)]();_0xcb2bfa&&_0x30c8a3&&this['_updateLocalCursor'](_0x30c8a3[_0x44119d(0x1ce)](),_0xcb2bfa);}['_toggleOffline'](){const _0x4200ff=_0x438245;this[_0x4200ff(0x3f0)]=!0x1;}};_0x374282=_0x4bfa40([_0x379fe3(0x2,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x3f3)])),_0x379fe3(0x3,_0x4d7567[_0x438245(0x317)](_0x5b3fee)),_0x379fe3(0x4,_0x4d7567[_0x438245(0x317)](_0x3fb0c7['MemberService'])),_0x379fe3(0x5,_0x4d7567[_0x438245(0x3fd)]),_0x379fe3(0x6,_0x4d7567['ICommandService']),_0x379fe3(0x7,_0x4d7567[_0x438245(0x317)](_0x5976f8[_0x438245(0x253)]))],_0x374282);var _0x3afd0b=Object[_0x438245(0x23f)],_0x5280fb=(_0x5727fc,_0x4f417a,_0x5ee15f,_0x57c842)=>{for(var _0x3d2dbf=_0x57c842>0x1?void 0x0:_0x57c842?_0x3afd0b(_0x4f417a,_0x5ee15f):_0x4f417a,_0x2e4c80=_0x5727fc['length']-0x1,_0x52d521;_0x2e4c80>=0x0;_0x2e4c80--)(_0x52d521=_0x5727fc[_0x2e4c80])&&(_0x3d2dbf=_0x52d521(_0x3d2dbf)||_0x3d2dbf);return _0x3d2dbf;},_0x1887de=(_0x5a9497,_0x5ddb3d)=>(_0x472d74,_0x418ae8)=>_0x5ddb3d(_0x472d74,_0x418ae8,_0x5a9497);let _0x18bdc8=class extends _0x4d7567['RxDisposable']{constructor(_0x187b4d,_0x330f45,_0x1b2d42){const _0x1929f6=_0x438245;super(),_0x30d208(this,'_entities',new Map()),_0x30d208(this,_0x1929f6(0x1c9),new _0x302f1e['Subject']()),(this['_univerInstanceService']=_0x187b4d,this[_0x1929f6(0x3fa)]=_0x330f45,this['_collabSessionService']=_0x1b2d42,this[_0x1929f6(0x38b)]());}[_0x438245(0x3f7)](){const _0x4233ec=_0x438245;super[_0x4233ec(0x3f7)](),this['_entityInit$'][_0x4233ec(0x348)](),this[_0x4233ec(0x1c3)]['forEach'](_0x360245=>_0x360245[_0x4233ec(0x3f7)]());}['getCollabCursors$'](_0x46e4d8){const _0x740133=_0x438245;return this[_0x740133(0x1c3)][_0x740133(0x25a)](_0x46e4d8)?this[_0x740133(0x1c3)][_0x740133(0x3f6)](_0x46e4d8)[_0x740133(0x3c8)]:this[_0x740133(0x1c9)][_0x740133(0x3eb)](_0x302f1e[_0x740133(0x43b)](_0x391c53=>_0x391c53[_0x740133(0x307)]===_0x46e4d8),_0x302f1e[_0x740133(0x270)](_0x25acb3=>_0x25acb3[_0x740133(0x3c8)]));}[_0x438245(0x38b)](){const _0x14526b=_0x438245;this[_0x14526b(0x3d8)][_0x14526b(0x1fc)](_0x4d7567[_0x14526b(0x364)][_0x14526b(0x3ef)])['pipe'](_0x302f1e[_0x14526b(0x416)](this['dispose$']))[_0x14526b(0x277)](async _0x2b9a89=>{const _0x325044=_0x14526b,_0x5e5305=_0x2b9a89['getUnitId'](),_0x48397e=await this[_0x325044(0x2cd)](_0x5e5305);this[_0x325044(0x1c9)][_0x325044(0x31f)](_0x48397e),this[_0x325044(0x1c3)][_0x325044(0x42b)](_0x5e5305,_0x48397e);}),this['_univerInstanceService'][_0x14526b(0x1fc)](_0x4d7567[_0x14526b(0x364)][_0x14526b(0x312)])[_0x14526b(0x3eb)](_0x302f1e[_0x14526b(0x416)](this[_0x14526b(0x287)]))[_0x14526b(0x3eb)](_0x302f1e['filter'](_0xa0a1b4=>!_0xa0a1b4['getUnitId']()[_0x14526b(0x3f5)]('__')))[_0x14526b(0x277)](async _0x520b70=>{const _0x59c282=_0x14526b,_0x5105ac=_0x520b70['getUnitId'](),_0x1c091c=await this[_0x59c282(0x378)](_0x5105ac);this['_entityInit$']['next'](_0x1c091c),this[_0x59c282(0x1c3)][_0x59c282(0x42b)](_0x5105ac,_0x1c091c);}),_0x302f1e[_0x14526b(0x399)](this[_0x14526b(0x3d8)][_0x14526b(0x377)](_0x4d7567[_0x14526b(0x364)]['UNIVER_DOC']),this[_0x14526b(0x3d8)][_0x14526b(0x377)](_0x4d7567[_0x14526b(0x364)][_0x14526b(0x3ef)]))['pipe'](_0x302f1e[_0x14526b(0x416)](this[_0x14526b(0x287)]))[_0x14526b(0x277)](_0x430213=>{const _0xf5719c=_0x14526b,_0xc276a6=_0x430213[_0xf5719c(0x260)](),_0x171b83=this['_entities'][_0xf5719c(0x3f6)](_0xc276a6);_0x171b83&&(_0x171b83[_0xf5719c(0x3f7)](),this[_0xf5719c(0x1c3)][_0xf5719c(0x3b2)](_0xc276a6));});}async['_startSheetCollabCursor'](_0x3095fd){const _0x1760ce=_0x438245,_0x2a8f60=await this['_collabSessionService'][_0x1760ce(0x2bb)](_0x3095fd),_0xb8f44=this[_0x1760ce(0x3fa)][_0x1760ce(0x1d8)](_0x374282,_0x3095fd,_0x2a8f60);return _0xb8f44[_0x1760ce(0x388)](),_0xb8f44;}async[_0x438245(0x378)](_0x1d0240){const _0xec859b=_0x438245,_0x5e5ffb=await this['_collabSessionService'][_0xec859b(0x2bb)](_0x1d0240),_0x3f1490=this['_injector']['createInstance'](_0x2235ef,_0x1d0240,_0x5e5ffb);return _0x3f1490[_0xec859b(0x388)](),_0x3f1490;}};_0x18bdc8=_0x5280fb([_0x1887de(0x0,_0x4d7567[_0x438245(0x3fd)]),_0x1887de(0x1,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x3f3)])),_0x1887de(0x2,_0x4d7567[_0x438245(0x317)](_0x3fb0c7[_0x438245(0x38e)]))],_0x18bdc8);const _0x2c256f=0x14,_0x1d6e02=0xc8,_0x7b2b1d=0x4,_0x2289cd=0x5;function _0x1b176e(_0x560d29,_0x4fcc21){const _0x4738e7=_0x438245;let {radius:_0x5e3bd9,width:_0x2f952a,height:_0x1a82d2}=_0x4fcc21;_0x5e3bd9=_0x5e3bd9!=null?_0x5e3bd9:0x0,_0x2f952a=_0x2f952a!=null?_0x2f952a:0x1e,_0x1a82d2=_0x1a82d2!=null?_0x1a82d2:0x1e;let _0x2390c1=0x0,_0x453a4a=0x0,_0x8d2b8e=0x0;_0x2390c1=_0x453a4a=_0x8d2b8e=Math[_0x4738e7(0x24d)](_0x5e3bd9,_0x2f952a/0x2,_0x1a82d2/0x2),_0x560d29['beginPath'](),_0x560d29[_0x4738e7(0x1bd)](_0x2390c1,0x0),_0x560d29[_0x4738e7(0x374)](_0x2f952a-_0x453a4a,0x0),_0x560d29[_0x4738e7(0x1bc)](_0x2f952a-_0x453a4a,_0x453a4a,_0x453a4a,Math['PI']*0x3/0x2,0x0,!0x1),_0x560d29['lineTo'](_0x2f952a,_0x1a82d2-_0x8d2b8e),_0x560d29['arc'](_0x2f952a-_0x8d2b8e,_0x1a82d2-_0x8d2b8e,_0x8d2b8e,0x0,Math['PI']/0x2,!0x1),_0x560d29[_0x4738e7(0x374)](0x0,_0x1a82d2),_0x560d29[_0x4738e7(0x374)](0x0,_0x2390c1),_0x560d29[_0x4738e7(0x1bc)](_0x2390c1,_0x2390c1,_0x2390c1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x560d29['closePath'](),_0x4fcc21[_0x4738e7(0x41f)]&&(_0x560d29[_0x4738e7(0x392)](),_0x560d29[_0x4738e7(0x410)]=_0x4fcc21[_0x4738e7(0x41f)],_0x4fcc21[_0x4738e7(0x35d)]===_0x4738e7(0x440)?_0x560d29[_0x4738e7(0x41f)](_0x4738e7(0x440)):_0x560d29[_0x4738e7(0x41f)](),_0x560d29[_0x4738e7(0x3f1)]());}class _0x48e507 extends _0x4a12db[_0x438245(0x31a)]{constructor(_0x6d2188,_0x2a3540){const _0x4ceb47=_0x438245;super(_0x6d2188,_0x2a3540),_0x30d208(this,_0x4ceb47(0x222)),_0x30d208(this,_0x4ceb47(0x3aa)),(this['color']=_0x2a3540==null?void 0x0:_0x2a3540[_0x4ceb47(0x222)],this['text']=_0x2a3540==null?void 0x0:_0x2a3540[_0x4ceb47(0x3aa)]);}static[_0x438245(0x1b3)](_0x2514fb,_0x3093b0){const _0x3e4675=_0x438245,{text:_0x3738b4,color:_0x275221}=_0x3093b0;_0x2514fb[_0x3e4675(0x392)](),_0x2514fb['font']=_0x3e4675(0x2a8);const _0x1bfb06=_0x2514fb[_0x3e4675(0x35a)](_0x3738b4)['width'],_0x5c344d=Math[_0x3e4675(0x24d)](_0x1bfb06+0x2*_0x7b2b1d,_0x1d6e02);_0x1b176e(_0x2514fb,{'height':_0x2c256f,'radius':0x4,'width':_0x5c344d,'fill':_0x275221}),_0x2514fb[_0x3e4675(0x410)]=_0x3e4675(0x3f2);const _0x5d4246=_0x7b2b1d,_0x405b02=_0x2c256f-_0x2289cd,_0x484f7b=_0x1d6e02-0x2*_0x7b2b1d;if(_0x1bfb06>_0x484f7b){let _0x20f51a='',_0x11f190=0x0;for(const _0x2a26eb of _0x3738b4){const _0xc4c6b9=_0x2514fb[_0x3e4675(0x35a)](_0x2a26eb)[_0x3e4675(0x1ff)];if(_0x11f190+_0xc4c6b9<=_0x484f7b-_0x2514fb['measureText']('...')[_0x3e4675(0x1ff)])_0x20f51a+=_0x2a26eb,_0x11f190+=_0xc4c6b9;else{_0x20f51a+='...';break;}}_0x2514fb[_0x3e4675(0x423)](_0x20f51a,_0x5d4246,_0x405b02);}else _0x2514fb['fillText'](_0x3738b4,_0x5d4246,_0x405b02);_0x2514fb[_0x3e4675(0x3f1)]();}['_draw'](_0x3224d8){_0x48e507['drawWith'](_0x3224d8,this);}}const _0x3a65b4='collab-text-anchor-',_0x10dd1d=_0x438245(0x431),_0x541381=_0x438245(0x223),_0x207498=0x6,_0x3d9842=1.5,_0x4e792a=0x4,_0x2cb0f6=1.5,_0x4769f9=_0x438245(0x3c7);class _0x5af952{constructor(_0x158a1a,_0x2d88a0,_0x44ced5,_0x19b217){const _0x3d6da9=_0x438245;_0x30d208(this,_0x3d6da9(0x1c7),[]),_0x30d208(this,'_anchor',null),_0x30d208(this,_0x3d6da9(0x2a2),null),_0x30d208(this,_0x3d6da9(0x38c),null),_0x30d208(this,'_hideTimer',null),_0x30d208(this,'_eventUnsubscribe',null),(this[_0x3d6da9(0x23e)]=_0x158a1a,this[_0x3d6da9(0x1e5)]=_0x2d88a0,this[_0x3d6da9(0x1d6)]=_0x44ced5,this['_document']=_0x19b217,this[_0x3d6da9(0x3fb)]());}set[_0x438245(0x2b1)](_0x28aa61){const _0x5b9fa4=_0x438245;_0x28aa61?(this[_0x5b9fa4(0x38c)]&&this[_0x5b9fa4(0x38c)][_0x5b9fa4(0x39b)](),this[_0x5b9fa4(0x2a2)]&&this[_0x5b9fa4(0x2a2)]['show']()):(this[_0x5b9fa4(0x38c)]&&this[_0x5b9fa4(0x38c)][_0x5b9fa4(0x428)](),this[_0x5b9fa4(0x2a2)]&&this[_0x5b9fa4(0x2a2)][_0x5b9fa4(0x39b)]());}[_0x438245(0x3f7)](){const _0x7ba3b1=_0x438245;for(const _0x1e6a76 of this[_0x7ba3b1(0x1c7)])_0x1e6a76[_0x7ba3b1(0x3f7)]();this[_0x7ba3b1(0x2a2)]&&this[_0x7ba3b1(0x2a2)][_0x7ba3b1(0x3f7)](),this[_0x7ba3b1(0x38c)]&&this[_0x7ba3b1(0x38c)][_0x7ba3b1(0x3f7)](),this[_0x7ba3b1(0x3cd)]&&this['_anchor'][_0x7ba3b1(0x3f7)](),this[_0x7ba3b1(0x25f)]&&this[_0x7ba3b1(0x25f)]();}[_0x438245(0x3fb)](){const _0x2d0144=_0x438245;var _0x3151df;const {_docSkeleton:_0x3be64f,_document:_0x109409}=this,{color:_0x70fe7c,name:_0x56c531,ranges:_0x3732e1}=this[_0x2d0144(0x23e)],_0x13b004=_0x109409['getOffsetConfig'](),{docsLeft:_0x1260c4,docsTop:_0x53c780}=_0x13b004,_0x2f3484=new _0x47cccb[(_0x2d0144(0x3c9))](_0x13b004,_0x3be64f);for(const {startOffset:_0x40a66d,endOffset:_0xf29a1f,rangeType:_0x112f08,segmentId:_0x337993,segmentPage:_0x5f7bc9,collapsed:_0x52ca8f,isActive:_0x20cb32}of _0x3732e1){const _0x2588b9=_0x3be64f[_0x2d0144(0x344)](_0x40a66d,!0x0,_0x337993,_0x5f7bc9);let _0x40926b=_0x3be64f[_0x2d0144(0x344)](_0xf29a1f,!0x0,_0x337993,_0x5f7bc9);if(_0x40926b==null&&(_0x40926b=_0x3be64f[_0x2d0144(0x344)](_0xf29a1f-0x1,!0x1,_0x337993,_0x5f7bc9)),_0x20cb32){const {contentBoxPointGroup:_0x35a7bc}=_0x2f3484[_0x2d0144(0x368)](_0x40926b,_0x40926b);if(_0x35a7bc[_0x2d0144(0x1f8)]===0x0)continue;this[_0x2d0144(0x34a)](_0x70fe7c,_0x35a7bc,_0x1260c4,_0x53c780,_0x56c531),this['_eventUnsubscribe']=this[_0x2d0144(0x32d)]();}if(_0x2588b9&&_0x40926b){if(_0x112f08===_0x4d7567[_0x2d0144(0x1da)][_0x2d0144(0x411)]){const _0x312f66=new _0x47cccb[(_0x2d0144(0x2c3))](_0x13b004,_0x3be64f),{pointGroup:_0x25483}=(_0x3151df=_0x312f66[_0x2d0144(0x368)](_0x2588b9,_0x40926b))!=null?_0x3151df:{};if(_0x25483==null||_0x25483['length']===0x0)continue;this['_drawRectRange'](_0x70fe7c,_0x25483,_0x1260c4,_0x53c780);}else{if(!_0x52ca8f){const {borderBoxPointGroup:_0x28b2a1}=_0x2f3484[_0x2d0144(0x368)](_0x2588b9,_0x40926b);if(_0x28b2a1[_0x2d0144(0x1f8)]===0x0)continue;this[_0x2d0144(0x294)](_0x70fe7c,_0x28b2a1,_0x1260c4,_0x53c780);}}}}}['_drawAnchor'](_0x27e1bf,_0x325243,_0xb79811,_0xdf045c,_0x1d3adf){const _0x2af8d3=_0x438245,_0x283de4=this[_0x2af8d3(0x1db)](_0x325243),{left:_0x113b09,top:_0x3a9cd8,height:_0x2d48e4}=_0x283de4,_0x366f77=this[_0x2af8d3(0x248)](),_0x28fc42=_0x2cb0f6/_0x366f77,_0x4bd149=new _0x4a12db[(_0x2af8d3(0x32a))](_0x3a65b4+_0x4d7567[_0x2af8d3(0x3ba)]['generateRandomId'](_0x207498),{'left':_0x113b09+_0xb79811-_0x28fc42,'top':_0x3a9cd8+_0xdf045c,'height':_0x2d48e4,'width':_0x3d9842,'fill':_0x27e1bf||_0x4a12db[_0x2af8d3(0x24e)](_0x4d7567['COLORS'][_0x2af8d3(0x261)],0x0),'strokeWidth':_0x28fc42,'stroke':_0x4769f9,'evented':!0x0});this[_0x2af8d3(0x3cd)]=_0x4bd149,this[_0x2af8d3(0x1e5)][_0x2af8d3(0x2b7)](_0x4bd149,_0x47cccb[_0x2af8d3(0x3ec)]);const _0x28bcdd=new _0x4a12db['Rect'](_0x3a65b4+_0x4d7567[_0x2af8d3(0x3ba)][_0x2af8d3(0x430)](_0x207498),{'left':_0x113b09+_0xb79811-_0x28fc42,'top':_0x3a9cd8+_0xdf045c-_0x4e792a/0x2,'height':_0x4e792a,'width':_0x4e792a,'fill':_0x27e1bf||_0x4a12db[_0x2af8d3(0x24e)](_0x4d7567[_0x2af8d3(0x386)][_0x2af8d3(0x261)],0x0),'strokeWidth':0x0,'stroke':_0x27e1bf||_0x4a12db['getColor'](_0x4d7567[_0x2af8d3(0x386)]['black'],0x0),'evented':!0x1});this[_0x2af8d3(0x38c)]=_0x28bcdd,this[_0x2af8d3(0x1e5)]['addObject'](_0x28bcdd,_0x47cccb['TEXT_RANGE_LAYER_INDEX']);const _0x2f8a9c=new _0x48e507(_0x3a65b4+_0x4d7567['Tools']['generateRandomId'](_0x207498),{'left':_0x113b09+_0xb79811-_0x28fc42,'top':_0x3a9cd8+_0xdf045c-_0x2c256f,'text':_0x1d3adf,'color':_0x27e1bf});this[_0x2af8d3(0x2a2)]=_0x2f8a9c,this[_0x2af8d3(0x1e5)][_0x2af8d3(0x2b7)](_0x2f8a9c,_0x47cccb[_0x2af8d3(0x3ec)]),this['_hover']=!0x1;}[_0x438245(0x32d)](){const _0x28f3c9=_0x438245,_0x3b3eda=this[_0x28f3c9(0x3cd)][_0x28f3c9(0x350)][_0x28f3c9(0x236)](()=>{const _0x5a344b=_0x28f3c9;this[_0x5a344b(0x2b1)]=!0x0;}),_0x107ae0=this[_0x28f3c9(0x3cd)]['onPointerLeave$'][_0x28f3c9(0x236)](()=>{const _0x3b0a14=_0x28f3c9;this[_0x3b0a14(0x322)]&&clearTimeout(this[_0x3b0a14(0x322)]),this[_0x3b0a14(0x322)]=setTimeout(()=>{const _0x5044d8=_0x3b0a14;this[_0x5044d8(0x2b1)]=!0x1;},0x7d0);});return()=>{const _0x10d723=_0x28f3c9;_0x3b3eda[_0x10d723(0x3f9)](),_0x107ae0[_0x10d723(0x3f9)]();};}[_0x438245(0x294)](_0xdb3c0c,_0x978db7,_0x448a2a,_0x3e8e36){const _0x4dea00=_0x438245,_0x35a7c4=new _0x4d7567[(_0x4dea00(0x2ab))](_0xdb3c0c)[_0x4dea00(0x35f)](0.2)['toRgbString'](),_0x18b766=new _0x4a12db[(_0x4dea00(0x265))](_0x10dd1d+_0x4d7567[_0x4dea00(0x3ba)]['generateRandomId'](_0x207498),{'pointsGroup':_0x978db7,'fill':_0x35a7c4||_0x4a12db[_0x4dea00(0x24e)](_0x4d7567['COLORS'][_0x4dea00(0x261)],0.2),'left':_0x448a2a,'top':_0x3e8e36,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4dea00(0x1c7)][_0x4dea00(0x2d3)](_0x18b766),this['_scene'][_0x4dea00(0x2b7)](_0x18b766,_0x47cccb[_0x4dea00(0x3ec)]);}[_0x438245(0x330)](_0x2633e9,_0xaecd87,_0x3533d3,_0x262ad9){const _0x5400ca=_0x438245,_0x9ccf8e=new _0x4d7567[(_0x5400ca(0x2ab))](_0x2633e9)['setAlpha'](0.2)['toRgbString'](),_0xdc84c3=new _0x4a12db[(_0x5400ca(0x265))](_0x541381+_0x4d7567[_0x5400ca(0x3ba)]['generateRandomId'](_0x207498),{'pointsGroup':_0xaecd87,'fill':_0x9ccf8e||_0x4a12db[_0x5400ca(0x24e)](_0x4d7567[_0x5400ca(0x386)][_0x5400ca(0x261)],0.2),'left':_0x3533d3,'top':_0x262ad9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5400ca(0x1c7)]['push'](_0xdc84c3),this[_0x5400ca(0x1e5)][_0x5400ca(0x2b7)](_0xdc84c3,_0x47cccb['TEXT_RANGE_LAYER_INDEX']);}[_0x438245(0x1db)](_0x320496){const _0x44dc64=_0x320496[0x0],_0x269c1b=_0x44dc64[0x0],_0x1efc3f=_0x44dc64[0x2],{x:_0x4b6c61,y:_0x301a2b}=_0x269c1b,{x:_0xa649b7,y:_0x13e7cf}=_0x1efc3f;return{'left':_0x4b6c61,'top':_0x301a2b,'width':_0xa649b7-_0x4b6c61,'height':_0x13e7cf-_0x301a2b};}[_0x438245(0x248)](){const _0x1cfb08=_0x438245,{scaleX:_0x4a15a1,scaleY:_0x4d9bbd}=this[_0x1cfb08(0x1e5)]['getAncestorScale']();return Math[_0x1cfb08(0x1bf)](_0x4a15a1,_0x4d9bbd);}}var _0x18167d=Object['getOwnPropertyDescriptor'],_0x5cb4a0=(_0x41c24c,_0x17ce13,_0x53a17d,_0x1b2096)=>{const _0x6b67d4=_0x438245;for(var _0x336606=_0x1b2096>0x1?void 0x0:_0x1b2096?_0x18167d(_0x17ce13,_0x53a17d):_0x17ce13,_0x20f844=_0x41c24c[_0x6b67d4(0x1f8)]-0x1,_0x1ce1c5;_0x20f844>=0x0;_0x20f844--)(_0x1ce1c5=_0x41c24c[_0x20f844])&&(_0x336606=_0x1ce1c5(_0x336606)||_0x336606);return _0x336606;},_0x2bef12=(_0x3ab780,_0x435725)=>(_0xac979c,_0x2d554a)=>_0x435725(_0xac979c,_0x2d554a,_0x3ab780);let _0x3079c3=class extends _0x4d7567[_0x438245(0x2b8)]{constructor(_0xc1d3bd,_0x415fab,_0x106a9b,_0x301ea4,_0x52a90d){const _0x294ef4=_0x438245;super(),_0x30d208(this,_0x294ef4(0x309),[]),_0x30d208(this,'_cursors',[]),(this['_context']=_0xc1d3bd,this[_0x294ef4(0x300)]=_0x415fab,this['_collabCursorController']=_0x106a9b,this[_0x294ef4(0x39e)]=_0x301ea4,this[_0x294ef4(0x3df)]=_0x52a90d,this[_0x294ef4(0x38b)]());}['_init'](){const _0x2a1475=_0x438245,_0x807b43=this[_0x2a1475(0x2ae)][_0x2a1475(0x1f0)],_0xfdf084=this[_0x2a1475(0x300)];this[_0x2a1475(0x2d6)](_0x302f1e[_0x2a1475(0x3c0)]([this['_collabCursorController'][_0x2a1475(0x2f5)](_0x807b43),this[_0x2a1475(0x3df)][_0x2a1475(0x384)]])[_0x2a1475(0x3eb)](_0x5be01f[_0x2a1475(0x3b4)](([_0x456cc9,_0x1673a5])=>({'skeleton':_0xfdf084[_0x2a1475(0x33d)](),'cursors':[..._0x456cc9[_0x2a1475(0x1cc)]()][_0x2a1475(0x3ad)](_0x4ace0e=>({..._0x4ace0e,'color':_0x1673a5[_0x4ace0e['color']]}))})))[_0x2a1475(0x277)](_0x2c8e7b=>{if(this['_removeCollabCursors'](),_0x2c8e7b){const {skeleton:_0x1b734d,cursors:_0xdfd883}=_0x2c8e7b;this['_updateCollabCursors'](_0x1b734d,_0xdfd883);}})),this[_0x2a1475(0x2a7)](),this[_0x2a1475(0x3cc)]();}['_updateCollabCursors'](_0x1ec600,_0xb9d671){const _0x507378=_0x438245,{scene:_0x4cba49,mainComponent:_0x5d912e}=this[_0x507378(0x2ae)],_0x1cc62c=_0xb9d671[_0x507378(0x3b4)](_0x42f3bd=>new _0x5af952(_0x42f3bd,_0x4cba49,_0x1ec600,_0x5d912e));this[_0x507378(0x309)]=_0x1cc62c,this[_0x507378(0x25d)]=_0xb9d671;}['_refreshCollabCursors'](){const _0x5886a2=_0x438245;this['_removeCollabCursors']();const {scene:_0x2708a0,mainComponent:_0x1e1393}=this[_0x5886a2(0x2ae)],_0x5d6048=this[_0x5886a2(0x300)][_0x5886a2(0x33d)](),_0x13c2cc=this[_0x5886a2(0x25d)][_0x5886a2(0x3b4)](_0x312195=>new _0x5af952(_0x312195,_0x2708a0,_0x5d6048,_0x1e1393));this[_0x5886a2(0x309)]=_0x13c2cc;}[_0x438245(0x272)](){const _0x59c0c0=_0x438245;this[_0x59c0c0(0x309)][_0x59c0c0(0x237)](_0x1fdbd6=>_0x1fdbd6[_0x59c0c0(0x3f7)]()),this[_0x59c0c0(0x309)]=[];}['_initCommandExecutedListener'](){const _0x1f4ed3=_0x438245,_0x5d0785=[_0x47cccb[_0x1f4ed3(0x38d)]['id']];this['disposeWithMe'](this[_0x1f4ed3(0x39e)][_0x1f4ed3(0x2b3)](_0xc70ec9=>{const _0x4dcf4a=_0x1f4ed3;_0x5d0785[_0x4dcf4a(0x347)](_0xc70ec9['id'])&&_0xc70ec9['params'][_0x4dcf4a(0x1f0)]===this['_context'][_0x4dcf4a(0x1f0)]&&this[_0x4dcf4a(0x441)]();}));}[_0x438245(0x2a7)](){const _0x26d506=_0x438245;this[_0x26d506(0x2d6)](_0x4d7567['fromEventSubject'](this['_context'][_0x26d506(0x3e4)][_0x26d506(0x28f)])['pipe'](_0x5be01f['filter'](_0x2f1800=>_0x2f1800[_0x26d506(0x3e1)]===_0x4a12db[_0x26d506(0x31b)][_0x26d506(0x35b)]),_0x5be01f['throttleTime'](0x10))[_0x26d506(0x277)](()=>{const _0x2d6e54=_0x26d506;this[_0x2d6e54(0x441)]();}));}};_0x3079c3=_0x5cb4a0([_0x2bef12(0x1,_0x4d7567[_0x438245(0x317)](_0x534e54[_0x438245(0x376)])),_0x2bef12(0x2,_0x4d7567['Inject'](_0x18bdc8)),_0x2bef12(0x3,_0x4d7567[_0x438245(0x2bf)]),_0x2bef12(0x4,_0x4d7567['Inject'](_0x4d7567[_0x438245(0x2ec)]))],_0x3079c3);const _0x2f641d=0x1,_0x4659bc=1.5;class _0x5b3bbe extends _0x4a12db[_0x438245(0x31a)]{constructor(_0x2bb6fa,_0x109a3a){const _0x2a7927=_0x438245;super(_0x2bb6fa,_0x109a3a),_0x30d208(this,_0x2a7927(0x370)),_0x30d208(this,_0x2a7927(0x2b2),!0x1),_0x30d208(this,_0x2a7927(0x40f)),_0x30d208(this,'_name',''),_0x30d208(this,_0x2a7927(0x3ea),_0x2a7927(0x1b9)),_0x30d208(this,'_backgroundColor'),(_0x109a3a&&this[_0x2a7927(0x227)](_0x109a3a),this['onPointerEnter$'][_0x2a7927(0x236)](()=>this[_0x2a7927(0x227)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2a7927(0x236)](()=>this[_0x2a7927(0x227)]({'hovered':!0x1})));}[_0x438245(0x227)](_0x37b11f){const _0x2a0e82=_0x438245;var _0x1589f8,_0x2eabde,_0x201e97,_0x3f0049,_0x385d11,_0x41ce1f;this[_0x2a0e82(0x370)]=(_0x1589f8=_0x37b11f[_0x2a0e82(0x222)])!=null?_0x1589f8:this[_0x2a0e82(0x370)],this[_0x2a0e82(0x2b2)]=(_0x2eabde=_0x37b11f['hovered'])!=null?_0x2eabde:this[_0x2a0e82(0x2b2)],this[_0x2a0e82(0x40f)]=(_0x201e97=_0x37b11f[_0x2a0e82(0x1b7)])!=null?_0x201e97:this[_0x2a0e82(0x40f)],this[_0x2a0e82(0x343)]=(_0x3f0049=_0x37b11f[_0x2a0e82(0x420)])!=null?_0x3f0049:this[_0x2a0e82(0x343)],this[_0x2a0e82(0x3ea)]=(_0x385d11=_0x37b11f['labelPosition'])!=null?_0x385d11:this['_labelPosition'],this[_0x2a0e82(0x2f7)]=(_0x41ce1f=_0x37b11f['backgroundColor'])!=null?_0x41ce1f:this[_0x2a0e82(0x2f7)],this[_0x2a0e82(0x29f)]({'width':_0x37b11f[_0x2a0e82(0x1ff)],'height':_0x37b11f[_0x2a0e82(0x249)]});}['onMouseMove'](_0x83a9b6){const _0x68ce6=_0x438245,{row:_0x290bb0,column:_0x52936e}=_0x83a9b6;if(_0x290bb0>=this[_0x68ce6(0x40f)][_0x68ce6(0x282)]&&_0x290bb0<=this[_0x68ce6(0x40f)][_0x68ce6(0x3a4)]&&_0x52936e>=this['_range'][_0x68ce6(0x27e)]&&_0x52936e<=this[_0x68ce6(0x40f)][_0x68ce6(0x351)]){this[_0x68ce6(0x227)]({'hovered':!0x0});return;}this[_0x68ce6(0x227)]({'hovered':!0x1});}[_0x438245(0x20a)](_0x39a104){return!0x1;}[_0x438245(0x1c8)](_0x52ea3d){const _0x142afb=_0x438245;_0x4a12db[_0x142afb(0x32a)][_0x142afb(0x1b3)](_0x52ea3d,{'width':this[_0x142afb(0x1ff)],'height':this[_0x142afb(0x249)],'strokeWidth':_0x4659bc,'stroke':this[_0x142afb(0x370)],'evented':!0x1,'fill':this[_0x142afb(0x2f7)]}),this['_hovered']&&(_0x52ea3d[_0x142afb(0x392)](),_0x52ea3d[_0x142afb(0x438)](0x1,0x0,0x0,0x1,this['width'],this[_0x142afb(0x3ea)]==='bottom'?0x0:-0x14),_0x48e507[_0x142afb(0x1b3)](_0x52ea3d,{'text':this[_0x142afb(0x343)],'color':this[_0x142afb(0x370)]}),_0x52ea3d[_0x142afb(0x3f1)]());}}var _0x447bb1=Object['getOwnPropertyDescriptor'],_0x7eeeab=(_0x2ce9db,_0xc8471c,_0x3ef0e8,_0x286ad2)=>{const _0x438b1f=_0x438245;for(var _0x5458b3=_0x286ad2>0x1?void 0x0:_0x286ad2?_0x447bb1(_0xc8471c,_0x3ef0e8):_0xc8471c,_0x28530e=_0x2ce9db[_0x438b1f(0x1f8)]-0x1,_0x20db77;_0x28530e>=0x0;_0x28530e--)(_0x20db77=_0x2ce9db[_0x28530e])&&(_0x5458b3=_0x20db77(_0x5458b3)||_0x5458b3);return _0x5458b3;},_0x59f13c=(_0xe502ec,_0x241c0f)=>(_0x3819d0,_0x4e3a90)=>_0x241c0f(_0x3819d0,_0x4e3a90,_0xe502ec);const _0x5f9326=0x1389;let _0x188902=class extends _0x4d7567[_0x438245(0x2b8)]{constructor(_0x383aac,_0x437646,_0x280dc4,_0x30fef1){const _0x13076c=_0x438245;super(),_0x30d208(this,_0x13076c(0x25d),new Set()),_0x30d208(this,'_lastPointer',null),(this[_0x13076c(0x2ae)]=_0x383aac,this[_0x13076c(0x36e)]=_0x437646,this[_0x13076c(0x2b6)]=_0x280dc4,this[_0x13076c(0x3df)]=_0x30fef1,this[_0x13076c(0x38b)]());}[_0x438245(0x38b)](){const _0x759177=_0x438245;this[_0x759177(0x36e)][_0x759177(0x1dd)][_0x759177(0x3eb)](_0x5be01f['takeUntil'](this[_0x759177(0x287)]),_0x5be01f['switchMap'](_0x429057=>{const _0x4312a6=_0x759177;if(_0x429057){const _0x51edda=_0x429057[_0x4312a6(0x29c)];return _0x302f1e[_0x4312a6(0x3c0)](this[_0x4312a6(0x2b6)][_0x4312a6(0x2f5)](this[_0x4312a6(0x2ae)]['unitId']),this['_themeService']['currentTheme$'])[_0x4312a6(0x3eb)](_0x5be01f[_0x4312a6(0x3b4)](([_0x3b8309,_0x4d4837])=>{const _0x4c5a05=_0x4312a6,_0xd19fa7=new Map();return _0x3b8309[_0x4c5a05(0x237)]((_0x4d1aa5,_0x526ccf)=>{const _0x8ae720=_0x4c5a05;if(_0x4d1aa5[_0x8ae720(0x444)]===_0x51edda){const _0xb09ded={..._0x4d1aa5};_0xb09ded[_0x8ae720(0x222)]=_0x4d4837[_0x4d1aa5['color']],_0xd19fa7[_0x8ae720(0x42b)](_0x526ccf,_0xb09ded);}}),{'skeleton':_0x429057,'cursors':_0xd19fa7};}));}return _0x302f1e['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x43b4e6,cursors:_0x120ee1})=>{const _0x3a41eb=_0x759177;this[_0x3a41eb(0x272)](),_0x43b4e6&&this['_updateCollabCursors'](_0x43b4e6,_0x120ee1);}),this[_0x759177(0x36e)][_0x759177(0x1dd)][_0x759177(0x277)](_0x4fba3c=>{const _0x439417=_0x759177;if(_0x4fba3c==null)return;const {skeleton:_0x27239c}=_0x4fba3c,{scene:_0x4a1c40}=this['_context'];_0x4a1c40[_0x439417(0x292)]['subscribeEvent'](_0x4d7567[_0x439417(0x354)](_0xcec4ee=>{const _0x475bfb=_0x439417;var _0x192b83,_0x29aec9;const {offsetX:_0xf1a5ee,offsetY:_0x118260}=_0xcec4ee,{x:_0x5b9597,y:_0x3db880}=_0x4a1c40[_0x475bfb(0x2cf)](_0x4a12db['Vector2']['FromArray']([_0xf1a5ee,_0x118260])),{scaleX:_0x1ff65d,scaleY:_0x3b2f9f}=_0x4a1c40[_0x475bfb(0x321)](),_0xfc4c6c=_0x4a1c40['getViewport'](_0x4a12db[_0x475bfb(0x2cc)][_0x475bfb(0x26e)]),_0x1c54ce=_0x4a1c40['getVpScrollXYInfoByPosToVp'](_0x4a12db[_0x475bfb(0x30c)][_0x475bfb(0x306)]([_0x5b9597,_0x3db880]),_0xfc4c6c),_0x8d4c51=_0x27239c[_0x475bfb(0x36a)](_0xf1a5ee,_0x118260,_0x1ff65d,_0x3b2f9f,_0x1c54ce);((_0x192b83=this['_lastPointer'])==null?void 0x0:_0x192b83[_0x475bfb(0x255)])===_0x8d4c51['column']&&((_0x29aec9=this[_0x475bfb(0x256)])==null?void 0x0:_0x29aec9[_0x475bfb(0x303)])===_0x8d4c51[_0x475bfb(0x303)]||this['_cursors'][_0x475bfb(0x237)](_0x7ea761=>{const _0x260994=_0x475bfb;_0x7ea761[_0x260994(0x1c1)](_0x8d4c51);});},0x64));});}[_0x438245(0x304)](_0x1ce40f,_0x39f75d){const _0x2586a1=_0x438245;var _0x4a6a9f;const _0x39bb08=(_0x4a6a9f=this[_0x2586a1(0x36e)]['getCurrent']())==null?void 0x0:_0x4a6a9f[_0x2586a1(0x415)];if(!_0x39bb08)return;const _0x143644=this[_0x2586a1(0x2d4)]();if(!_0x143644)return;this[_0x2586a1(0x25d)][_0x2586a1(0x237)](_0x1506ce=>{const _0x5a96f7=_0x2586a1;_0x1506ce[_0x5a96f7(0x3a9)]();});const {scene:_0x2013d6}=_0x143644,_0xedcb67=_0x30b8d2(Array[_0x2586a1(0x1e0)](_0x39f75d[_0x2586a1(0x1cc)]()))[_0x2586a1(0x3b4)](_0x5d2c3a=>{const _0x270003=_0x2586a1,{color:_0xda1c08,range:_0x13f07a,name:_0x359446,selection:_0x2626db,sheetID:_0x544071}=_0x5d2c3a,{startColumn:_0x1d82c4,startRow:_0xb59e1a,endColumn:_0x5a9a58,endRow:_0x45c258}=_0x13f07a,_0x212b5f=_0x53e960[_0x270003(0x1e9)](_0xb59e1a,_0x1d82c4,_0x2013d6,_0x39bb08),_0x2900c4=_0x53e960['getCoordByCell'](_0x45c258,_0x5a9a58,_0x2013d6,_0x39bb08),{columnHeaderHeightAndMarginTop:_0x45713e}=_0x39bb08,{startX:_0x2b453d,startY:_0x387245}=_0x212b5f,{endX:_0x2fbb3b,endY:_0x590dcc}=_0x2900c4,_0x2e6f81=_0x2fbb3b-_0x2b453d,_0x345cc8=_0x590dcc-_0x387245,_0x2aba83={'labelPosition':_0x387245-_0x45713e>=_0x2c256f?_0x270003(0x1b9):_0x270003(0x429),'sheetID':_0x544071,'range':_0x13f07a,'color':_0xda1c08,'name':_0x359446,'selection':_0x2626db,'left':_0x2b453d,'top':_0x387245,'width':_0x2e6f81,'height':_0x345cc8,'evented':!0x1,'zIndex':_0x5f9326};return new _0x5b3bbe(_0x359446,_0x2aba83);});_0x2013d6['addObjects'](_0xedcb67,_0x2f641d),this[_0x2586a1(0x25d)]=new Set(_0xedcb67);}['_removeCollabCursors'](){const _0xdd2eb4=_0x438245;var _0x3b3d2b;(_0x3b3d2b=this[_0xdd2eb4(0x25d)])==null||_0x3b3d2b['forEach'](_0xba9e7e=>_0xba9e7e[_0xdd2eb4(0x3f7)]());}[_0x438245(0x2d4)](){const _0x1be3ec=_0x438245;return _0x53e960['getSheetObject'](this[_0x1be3ec(0x2ae)][_0x1be3ec(0x3e3)],this[_0x1be3ec(0x2ae)]);}};_0x188902=_0x7eeeab([_0x59f13c(0x1,_0x4d7567[_0x438245(0x317)](_0x53e960[_0x438245(0x225)])),_0x59f13c(0x2,_0x4d7567[_0x438245(0x317)](_0x18bdc8)),_0x59f13c(0x3,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x2ec)]))],_0x188902);function _0x30b8d2(_0x4c501d){const _0x4007cc=_0x438245,_0xa5001a=new Map();return _0x4c501d[_0x4007cc(0x237)](_0x524827=>{const _0x427e32=_0x4007cc;if(_0xa5001a[_0x427e32(0x25a)](_0x524827[_0x427e32(0x445)])){const _0x3c4c55=_0xa5001a[_0x427e32(0x3f6)](_0x524827['selection']);_0x3c4c55[_0x427e32(0x420)]+=',\x20'+_0x524827[_0x427e32(0x420)];}else _0xa5001a['set'](_0x524827[_0x427e32(0x445)],_0x524827);}),Array['from'](_0xa5001a[_0x4007cc(0x1cc)]());}var _0x5d4733=function(){const _0x2fd8da=_0x438245;return _0x5d4733=Object[_0x2fd8da(0x2b0)]||function(_0x341222){const _0x5ced52=_0x2fd8da;for(var _0x3d74ec,_0x1f27e6=0x1,_0x194a53=arguments[_0x5ced52(0x1f8)];_0x1f27e6<_0x194a53;_0x1f27e6++){_0x3d74ec=arguments[_0x1f27e6];for(var _0x45e61f in _0x3d74ec)Object['prototype'][_0x5ced52(0x382)]['call'](_0x3d74ec,_0x45e61f)&&(_0x341222[_0x45e61f]=_0x3d74ec[_0x45e61f]);}return _0x341222;},_0x5d4733[_0x2fd8da(0x39c)](this,arguments);},_0x5d8095=function(_0xd3fd01,_0x24b9c3){const _0x19a847=_0x438245;var _0x5af01b={};for(var _0x4e64bc in _0xd3fd01)Object[_0x19a847(0x39f)][_0x19a847(0x382)]['call'](_0xd3fd01,_0x4e64bc)&&_0x24b9c3[_0x19a847(0x22d)](_0x4e64bc)<0x0&&(_0x5af01b[_0x4e64bc]=_0xd3fd01[_0x4e64bc]);if(_0xd3fd01!=null&&typeof Object[_0x19a847(0x361)]=='function'){for(var _0x348971=0x0,_0x4e64bc=Object[_0x19a847(0x361)](_0xd3fd01);_0x348971<_0x4e64bc[_0x19a847(0x1f8)];_0x348971++)_0x24b9c3['indexOf'](_0x4e64bc[_0x348971])<0x0&&Object['prototype'][_0x19a847(0x257)][_0x19a847(0x327)](_0xd3fd01,_0x4e64bc[_0x348971])&&(_0x5af01b[_0x4e64bc[_0x348971]]=_0xd3fd01[_0x4e64bc[_0x348971]]);}return _0x5af01b;},_0x3c96ce=_0x3a1e2c['forwardRef'](function(_0x1e4c5e,_0x579fe3){const _0x1c3323=_0x438245;var _0x11f181=_0x1e4c5e[_0x1c3323(0x2e5)],_0x4b2012=_0x1e4c5e['id'],_0x54a7ae=_0x1e4c5e[_0x1c3323(0x27b)],_0x3fbd3e=_0x1e4c5e[_0x1c3323(0x1f6)],_0x102136=_0x5d8095(_0x1e4c5e,['icon','id',_0x1c3323(0x27b),_0x1c3323(0x1f6)]),_0x1dc352='univerjs-icon\x20univerjs-icon-'[_0x1c3323(0x36f)](_0x4b2012,'\x20')[_0x1c3323(0x36f)](_0x54a7ae||'')['trim'](),_0x4dc8f7=_0x3a1e2c[_0x1c3323(0x2de)]('_'[_0x1c3323(0x36f)](_0x344ecf()));return _0x4763c0(_0x11f181,''['concat'](_0x4b2012),{'defIds':_0x11f181[_0x1c3323(0x346)],'idSuffix':_0x4dc8f7['current']},_0x5d4733({'ref':_0x579fe3,'className':_0x1dc352},_0x102136),_0x3fbd3e);});function _0x4763c0(_0x324ad3,_0x1ea75c,_0x38155d,_0x49242b,_0x27f2ac){const _0x1f719d=_0x438245;return _0x3a1e2c['createElement'](_0x324ad3[_0x1f719d(0x310)],_0x5d4733(_0x5d4733({'key':_0x1ea75c},_0x365bfc(_0x324ad3,_0x38155d,_0x27f2ac)),_0x49242b),(_0xb0ddd5(_0x324ad3,_0x38155d)[_0x1f719d(0x42e)]||[])[_0x1f719d(0x3b4)](function(_0x41712f,_0xa61b4f){const _0x184599=_0x1f719d;return _0x4763c0(_0x41712f,''[_0x184599(0x36f)](_0x1ea75c,'-')['concat'](_0x324ad3[_0x184599(0x310)],'-')[_0x184599(0x36f)](_0xa61b4f),_0x38155d,void 0x0,_0x27f2ac);}));}function _0x365bfc(_0xbb3a10,_0x13b45c,_0x59a82c){const _0x454ba7=_0x438245;var _0x4f2afa=_0x5d4733({},_0xbb3a10[_0x454ba7(0x2e1)]);_0x59a82c!=null&&_0x59a82c[_0x454ba7(0x29b)]&&_0x4f2afa[_0x454ba7(0x41f)]===_0x454ba7(0x29b)&&(_0x4f2afa['fill']=_0x59a82c[_0x454ba7(0x29b)]),_0xbb3a10[_0x454ba7(0x310)]===_0x454ba7(0x1d1)&&_0x4f2afa['id']&&(_0x4f2afa['id']=_0x4f2afa['id']+_0x13b45c[_0x454ba7(0x31e)]),Object[_0x454ba7(0x28d)](_0x4f2afa)[_0x454ba7(0x237)](function(_0x108778){const _0x13431c=_0x454ba7;var _0x481800=_0x108778[0x0],_0x5b9ecf=_0x108778[0x1];_0x481800===_0x13431c(0x1d1)&&typeof _0x5b9ecf==_0x13431c(0x1d0)&&(_0x4f2afa[_0x481800]=_0x5b9ecf['replace'](/url\(#(.*)\)/,_0x13431c(0x331)[_0x13431c(0x36f)](_0x13b45c[_0x13431c(0x31e)],')')));});var _0x1a78b1=_0x13b45c['defIds'];return!_0x1a78b1||_0x1a78b1[_0x454ba7(0x1f8)]===0x0||(_0xbb3a10[_0x454ba7(0x310)]===_0x454ba7(0x22a)&&_0x4f2afa[_0x454ba7(0x3c4)]&&(_0x4f2afa[_0x454ba7(0x3c4)]=_0x4f2afa[_0x454ba7(0x3c4)]+_0x13b45c['idSuffix']),Object[_0x454ba7(0x28d)](_0x4f2afa)[_0x454ba7(0x237)](function(_0x3bb7c5){const _0x83431c=_0x454ba7;var _0x28b8e8=_0x3bb7c5[0x0],_0x482b95=_0x3bb7c5[0x1];typeof _0x482b95==_0x83431c(0x1d0)&&(_0x4f2afa[_0x28b8e8]=_0x482b95[_0x83431c(0x366)](/url\(#(.*)\)/,_0x83431c(0x331)[_0x83431c(0x36f)](_0x13b45c[_0x83431c(0x31e)],')')));})),_0x4f2afa;}function _0xb0ddd5(_0x127b51,_0x2b1dd5){const _0x4c885f=_0x438245;var _0x2204d6,_0x1d1f15=_0x2b1dd5[_0x4c885f(0x346)];return!_0x1d1f15||_0x1d1f15[_0x4c885f(0x1f8)]===0x0?_0x127b51:_0x127b51['tag']===_0x4c885f(0x380)&&(!((_0x2204d6=_0x127b51[_0x4c885f(0x42e)])===null||_0x2204d6===void 0x0)&&_0x2204d6[_0x4c885f(0x1f8)])?_0x5d4733(_0x5d4733({},_0x127b51),{'children':_0x127b51[_0x4c885f(0x42e)][_0x4c885f(0x3b4)](function(_0x2979e8){const _0x32de5c=_0x4c885f;return typeof _0x2979e8[_0x32de5c(0x2e1)]['id']==_0x32de5c(0x1d0)&&_0x1d1f15&&_0x1d1f15[_0x32de5c(0x22d)](_0x2979e8[_0x32de5c(0x2e1)]['id'])>-0x1?_0x5d4733(_0x5d4733({},_0x2979e8),{'attrs':_0x5d4733(_0x5d4733({},_0x2979e8[_0x32de5c(0x2e1)]),{'id':_0x2979e8['attrs']['id']+_0x2b1dd5[_0x32de5c(0x31e)]})}):_0x2979e8;})}):_0x127b51;}function _0x344ecf(){const _0x4090d9=_0x438245;return Math[_0x4090d9(0x26a)]()[_0x4090d9(0x23b)](0x24)[_0x4090d9(0x3d1)](0x2,0x8);}_0x3c96ce['displayName']=_0x438245(0x221);var _0x453812={'tag':'svg','attrs':{'fill':_0x438245(0x301),'viewBox':_0x438245(0x314),'width':_0x438245(0x297),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x438245(0x1b8)},'children':[{'tag':_0x438245(0x231),'attrs':{'stroke':_0x438245(0x28a),'d':_0x438245(0x298),'strokeLinecap':_0x438245(0x31d),'strokeLinejoin':_0x438245(0x31d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x438245(0x1be)},'children':[{'tag':_0x438245(0x231),'attrs':{'fill':_0x438245(0x3db),'d':_0x438245(0x3b7)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0xd0054e=_0x3a1e2c[_0x438245(0x210)](function(_0x113b18,_0x4e2814){const _0xa0b1ad=_0x438245;return _0x3a1e2c[_0xa0b1ad(0x214)](_0x3c96ce,Object[_0xa0b1ad(0x2b0)]({},_0x113b18,{'id':_0xa0b1ad(0x1ca),'ref':_0x4e2814,'icon':_0x453812}));});_0xd0054e['displayName']=_0x438245(0x2d2);var _0x12d7d6={'tag':_0x438245(0x31c),'attrs':{'fill':_0x438245(0x301),'viewBox':_0x438245(0x250),'width':_0x438245(0x297),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x438245(0x1b1)},'children':[{'tag':_0x438245(0x231),'attrs':{'stroke':_0x438245(0x28a),'d':_0x438245(0x20b),'strokeLinecap':_0x438245(0x31d),'strokeLinejoin':_0x438245(0x31d),'strokeWidth':1.2}}]},{'tag':_0x438245(0x380),'attrs':{},'children':[{'tag':_0x438245(0x244),'attrs':{'id':_0x438245(0x3da)},'children':[{'tag':_0x438245(0x231),'attrs':{'fill':_0x438245(0x3db),'d':_0x438245(0x3b7),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x477d33=_0x3a1e2c['forwardRef'](function(_0x4269dc,_0x2f9633){const _0x34d4ee=_0x438245;return _0x3a1e2c[_0x34d4ee(0x214)](_0x3c96ce,Object[_0x34d4ee(0x2b0)]({},_0x4269dc,{'id':_0x34d4ee(0x1c5),'ref':_0x2f9633,'icon':_0x12d7d6}));});_0x477d33[_0x438245(0x3bb)]=_0x438245(0x284);const _0x461d0a={'onlineStatusIcon':_0x438245(0x2d9),'onlineStatusTitle':_0x438245(0x3b0),'onlineStatus':_0x438245(0x2f3),'online':_0x438245(0x325),'offline':_0x438245(0x27d)};function _0x2c4345(_0x18e07e){const _0x50fa28=_0x438245;switch(_0x18e07e){case _0x3fb0c7['CollaborationStatus'][_0x50fa28(0x278)]:return _0x50fa28(0x1d5);case _0x3fb0c7['CollaborationStatus'][_0x50fa28(0x28b)]:return _0x50fa28(0x352);case _0x3fb0c7[_0x50fa28(0x2df)][_0x50fa28(0x216)]:return'collabStatus.fetchMiss';case _0x3fb0c7['CollaborationStatus'][_0x50fa28(0x41b)]:return _0x50fa28(0x2c8);case _0x3fb0c7[_0x50fa28(0x2df)][_0x50fa28(0x2e4)]:case _0x3fb0c7[_0x50fa28(0x2df)][_0x50fa28(0x204)]:return'collabStatus.syncing';case _0x3fb0c7[_0x50fa28(0x2df)][_0x50fa28(0x1e8)]:case _0x3fb0c7[_0x50fa28(0x2df)][_0x50fa28(0x207)]:return _0x50fa28(0x23a);}}function _0x25fd1d(_0x50be6e){const _0x3eb1f1=_0x438245,{status$:_0x43f91b}=_0x50be6e,_0x2f8c8c=_0x25ac9f['useObservable'](_0x43f91b,_0x3fb0c7['CollaborationStatus'][_0x3eb1f1(0x41b)]),_0x43ed45=_0x25ac9f['useDependency'](_0x4d7567[_0x3eb1f1(0x439)]),_0x4e30aa=_0x25ac9f[_0x3eb1f1(0x28e)](_0x3fb0c7[_0x3eb1f1(0x38e)]),_0xb8b98b=_0x2f8c8c!==_0x3fb0c7['CollaborationStatus'][_0x3eb1f1(0x278)],_0x5896e9=_0x43ed45['t'](_0x2c4345(_0x2f8c8c)),_0x995ca4=_0x521938[_0x3eb1f1(0x29d)](_0x461d0a['onlineStatus'],{[_0x461d0a['online']]:_0xb8b98b,[_0x461d0a[_0x3eb1f1(0x2fc)]]:!_0xb8b98b}),_0x355fa7=_0xb8b98b?_0x143960[_0x3eb1f1(0x2ac)](_0x477d33,{}):_0x143960[_0x3eb1f1(0x2ac)](_0xd0054e,{}),_0x4be2dc=_0x3a1e2c['useCallback'](()=>{const _0x1ad619=_0x3eb1f1;_0xb8b98b||_0x4e30aa[_0x1ad619(0x269)]();},[_0xb8b98b,_0x4e30aa]);function _0x2c476d(){const _0xb6a9d3=_0x3eb1f1;return _0x143960['jsxs'](_0xb6a9d3(0x3fc),{'className':_0x521938[_0xb6a9d3(0x29d)](_0x995ca4,_0xb6a9d3(0x33a)),'onClick':_0x4be2dc,'children':[_0x143960['jsx'](_0xb6a9d3(0x3fc),{'className':_0x461d0a[_0xb6a9d3(0x20e)],'children':_0x355fa7}),_0x143960[_0xb6a9d3(0x2ac)](_0xb6a9d3(0x3fc),{'className':_0x461d0a[_0xb6a9d3(0x320)],'children':_0x5896e9})]});}return _0xb8b98b?_0x2c476d():_0x143960[_0x3eb1f1(0x2ac)](_0x521938['Tooltip'],{'title':_0x43ed45['t']('collab-client.tooltip.reconnect'),'children':_0x2c476d()});}var _0x221009=Object[_0x438245(0x23f)],_0x46e8da=(_0x5587ae,_0x2cb323,_0x598e44,_0x27a047)=>{for(var _0x10e2bd=_0x27a047>0x1?void 0x0:_0x27a047?_0x221009(_0x2cb323,_0x598e44):_0x2cb323,_0x266187=_0x5587ae['length']-0x1,_0x1d0dc8;_0x266187>=0x0;_0x266187--)(_0x1d0dc8=_0x5587ae[_0x266187])&&(_0x10e2bd=_0x1d0dc8(_0x10e2bd)||_0x10e2bd);return _0x10e2bd;},_0x3ff296=(_0x3e790a,_0x462cd6)=>(_0x54ae34,_0x480a88)=>_0x462cd6(_0x54ae34,_0x480a88,_0x3e790a);_0x417bf1[_0x438245(0x3bd)]=class extends _0x4d7567[_0x438245(0x219)]{constructor(_0x2db3bf,_0x53e17c,_0x5f4126,_0x57b7d4){const _0x1c0ad1=_0x438245;super(),_0x30d208(this,_0x1c0ad1(0x2f1),new _0x302f1e['BehaviorSubject'](_0x3fb0c7['CollaborationStatus'][_0x1c0ad1(0x41b)])),(this['_univerInstanceService']=_0x2db3bf,this[_0x1c0ad1(0x3fa)]=_0x53e17c,this['_collaborationController']=_0x5f4126,this[_0x1c0ad1(0x37b)]=_0x57b7d4,this[_0x1c0ad1(0x1c6)](),this[_0x1c0ad1(0x288)]());}['_initStatusListener'](){const _0x15a607=_0x438245;this[_0x15a607(0x2d6)](this[_0x15a607(0x3d8)][_0x15a607(0x2ef)][_0x15a607(0x3eb)](_0x302f1e[_0x15a607(0x270)](()=>{const _0x490efe=_0x15a607,_0x32f91e=this[_0x490efe(0x3d8)][_0x490efe(0x3e7)]();return _0x32f91e?this[_0x490efe(0x3c1)][_0x490efe(0x25b)](_0x32f91e[_0x490efe(0x260)]()):_0x302f1e['of'](null);}),_0x302f1e[_0x15a607(0x270)](_0x33f6b9=>_0x33f6b9?_0x33f6b9[_0x15a607(0x2c9)]:_0x302f1e['of'](_0x3fb0c7['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x1e0602=>{const _0x2b76d5=_0x15a607;this[_0x2b76d5(0x2f1)][_0x2b76d5(0x31f)](_0x1e0602);}));}[_0x438245(0x1c6)](){const _0x53b452=_0x438245;this['disposeWithMe'](this[_0x53b452(0x37b)][_0x53b452(0x242)](_0x25ac9f[_0x53b452(0x1cb)]['HEADER_MENU'],()=>_0x25ac9f[_0x53b452(0x230)](_0x15d07d({'status$':this[_0x53b452(0x2f1)]['asObservable']()}),this['_injector'])));}},_0x417bf1['DesktopCollaborationStatusDisplayController']=_0x46e8da([_0x3ff296(0x0,_0x4d7567[_0x438245(0x3fd)]),_0x3ff296(0x1,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x3f3)])),_0x3ff296(0x2,_0x4d7567[_0x438245(0x317)](_0x3fb0c7[_0x438245(0x1cf)])),_0x3ff296(0x3,_0x25ac9f[_0x438245(0x22e)])],_0x417bf1['DesktopCollaborationStatusDisplayController']);function _0x15d07d(_0x2a3be9){const {status$:_0x5d4527}=_0x2a3be9;return function(){const _0xa011dc=_0x1bed;return _0x143960[_0xa011dc(0x2ac)](_0x25fd1d,{'status$':_0x5d4527});};}var _0x12b65b=Object[_0x438245(0x23f)],_0xa099e3=(_0x998fde,_0x285830,_0x15afb8,_0x5a42b9)=>{const _0x7e7741=_0x438245;for(var _0x1127f7=_0x5a42b9>0x1?void 0x0:_0x5a42b9?_0x12b65b(_0x285830,_0x15afb8):_0x285830,_0x292957=_0x998fde[_0x7e7741(0x1f8)]-0x1,_0x550622;_0x292957>=0x0;_0x292957--)(_0x550622=_0x998fde[_0x292957])&&(_0x1127f7=_0x550622(_0x1127f7)||_0x1127f7);return _0x1127f7;},_0x42f9dc=(_0x51636d,_0x1bc645)=>(_0x6e7cb5,_0x13275e)=>_0x1bc645(_0x6e7cb5,_0x13275e,_0x51636d);let _0xa23e12=class extends _0x4d7567[_0x438245(0x219)]{constructor(_0xa131f3,_0x207064,_0x5c1289,_0x4eb0e8,_0xa6e7ae,_0x2141e5){const _0xc8b70f=_0x438245;super(),this[_0xc8b70f(0x2d0)]=_0xa131f3,this[_0xc8b70f(0x42f)]=_0x207064,this[_0xc8b70f(0x275)]=_0x5c1289,this['_messageService']=_0x4eb0e8,this[_0xc8b70f(0x2bd)]=_0xa6e7ae,this[_0xc8b70f(0x34f)]=_0x2141e5,this[_0xc8b70f(0x3dd)](),this[_0xc8b70f(0x1e2)]();}[_0x438245(0x3dd)](){const _0x5189de=_0x438245;this[_0x5189de(0x2d6)](this['_beforeCloseService'][_0x5189de(0x37c)](()=>{const _0x4e8b3b=_0x5189de;if(this['_localCacheService']['saveTaskMap'][_0x4e8b3b(0x1d9)])return this[_0x4e8b3b(0x34f)]['t'](_0x4e8b3b(0x21b));}));}[_0x438245(0x1e2)](){const _0x100482=_0x438245;this[_0x100482(0x2d6)](this[_0x100482(0x275)][_0x100482(0x367)]['subscribe'](_0x21f36d=>{const _0x18d0b9=_0x100482;_0x21f36d['id']===_0x3fb0c7[_0x18d0b9(0x27a)][_0x18d0b9(0x276)]&&this[_0x18d0b9(0x329)][_0x18d0b9(0x428)]({'type':_0x521938[_0x18d0b9(0x302)][_0x18d0b9(0x283)],'content':this[_0x18d0b9(0x34f)]['t']('collaboration.single-unit.warning')}),_0x21f36d['id']===_0x3fb0c7[_0x18d0b9(0x27a)][_0x18d0b9(0x286)]&&this['_messageService']['show']({'type':_0x521938[_0x18d0b9(0x302)][_0x18d0b9(0x283)],'content':this[_0x18d0b9(0x34f)]['t'](_0x18d0b9(0x419))}),_0x21f36d['id']===_0x3fb0c7[_0x18d0b9(0x27a)][_0x18d0b9(0x22b)]&&this[_0x18d0b9(0x2bd)][_0x18d0b9(0x428)]({'title':this['_localeService']['t'](_0x18d0b9(0x338)),'content':this[_0x18d0b9(0x34f)]['t'](_0x18d0b9(0x3a1)),'type':_0x18d0b9(0x30e),'duration':0x0}),_0x21f36d['id']===_0x3fb0c7[_0x18d0b9(0x27a)]['CONFLICT']&&this[_0x18d0b9(0x329)][_0x18d0b9(0x428)]({'type':_0x521938[_0x18d0b9(0x302)][_0x18d0b9(0x394)],'content':this['_localeService']['t'](_0x18d0b9(0x419))+'('+_0x21f36d[_0x18d0b9(0x38a)]+')'}),_0x21f36d['id']===_0x3fb0c7['CollaborationUIEventId'][_0x18d0b9(0x3d6)]&&this['_messageService'][_0x18d0b9(0x428)]({'type':_0x521938['MessageType'][_0x18d0b9(0x283)],'content':this[_0x18d0b9(0x34f)]['t'](_0x21f36d[_0x18d0b9(0x38a)]||'')}),_0x21f36d['id']===_0x3fb0c7[_0x18d0b9(0x27a)][_0x18d0b9(0x43d)]&&this['_messageService']['show']({'type':_0x521938[_0x18d0b9(0x302)][_0x18d0b9(0x283)],'content':this[_0x18d0b9(0x34f)]['t'](_0x18d0b9(0x281))}),_0x21f36d['id']===_0x3fb0c7[_0x18d0b9(0x27a)][_0x18d0b9(0x323)]&&this['_messageService'][_0x18d0b9(0x428)]({'type':_0x521938[_0x18d0b9(0x302)][_0x18d0b9(0x394)],'content':this[_0x18d0b9(0x34f)]['t'](_0x18d0b9(0x3a3))}),_0x21f36d['id']===_0x3fb0c7[_0x18d0b9(0x27a)][_0x18d0b9(0x2ed)]&&this[_0x18d0b9(0x329)][_0x18d0b9(0x428)]({'type':_0x521938['MessageType'][_0x18d0b9(0x394)],'content':this[_0x18d0b9(0x34f)]['t'](_0x18d0b9(0x239))});}));}};_0xa23e12=_0xa099e3([_0x42f9dc(0x0,_0x25ac9f[_0x438245(0x299)]),_0x42f9dc(0x1,_0x3fb0c7[_0x438245(0x1d3)]),_0x42f9dc(0x2,_0x4d7567[_0x438245(0x317)](_0x3fb0c7[_0x438245(0x3a6)])),_0x42f9dc(0x3,_0x25ac9f[_0x438245(0x2e0)]),_0x42f9dc(0x4,_0x25ac9f[_0x438245(0x1cd)]),_0x42f9dc(0x5,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x439)]))],_0xa23e12);const _0x5d35a6=_0x438245(0x212),_0x26405a={},_0x32b781=_0x4d7567['createIdentifier'](_0x438245(0x245));var _0x1e9961=Object[_0x438245(0x23f)],_0xb5d340=(_0x38fbe1,_0x3a3781,_0x2bd0ea,_0x230eb4)=>{const _0x4bc9dd=_0x438245;for(var _0xf37d12=_0x230eb4>0x1?void 0x0:_0x230eb4?_0x1e9961(_0x3a3781,_0x2bd0ea):_0x3a3781,_0x443b77=_0x38fbe1[_0x4bc9dd(0x1f8)]-0x1,_0x319a85;_0x443b77>=0x0;_0x443b77--)(_0x319a85=_0x38fbe1[_0x443b77])&&(_0xf37d12=_0x319a85(_0xf37d12)||_0xf37d12);return _0xf37d12;},_0x241c17=(_0xe1397,_0x3e532b)=>(_0x210f9f,_0x2d473a)=>_0x3e532b(_0x210f9f,_0x2d473a,_0xe1397);_0x417bf1[_0x438245(0x271)]=class extends _0x4d7567[_0x438245(0x2b8)]{constructor(_0xd54e49,_0x4e4c0a,_0x5d426c,_0x4bb55a,_0x5a7699){const _0x2dddda=_0x438245;super(),this[_0x2dddda(0x402)]=_0xd54e49,this['_logService']=_0x4e4c0a,this[_0x2dddda(0x39e)]=_0x5d426c,this[_0x2dddda(0x349)]=_0x4bb55a,_0x5a7699?_0x5a7699==null||_0x5a7699[_0x2dddda(0x332)]()[_0x2dddda(0x2c1)](()=>this[_0x2dddda(0x38b)]()):(this[_0x2dddda(0x2c7)]['debug'](_0x2dddda(0x2e2),_0x2dddda(0x3f4)),this[_0x2dddda(0x38b)]());}async[_0x438245(0x38b)](){const _0x332e48=_0x438245,_0x38264d=this[_0x332e48(0x402)][_0x332e48(0x1eb)](_0x332e48(0x3e3)),_0x2c6b9f=this['_urlService']['getParam']('type'),_0x535486=this[_0x332e48(0x402)][_0x332e48(0x1eb)](_0x332e48(0x3ca));if(!_0x38264d||!_0x2c6b9f){this[_0x332e48(0x2c7)][_0x332e48(0x1b0)](_0x332e48(0x2e2),_0x332e48(0x426));return;}const _0x50bf0b=await this[_0x332e48(0x349)][_0x332e48(0x2ba)](_0x38264d,Number(_0x2c6b9f),_0x535486);_0x50bf0b&&_0x50bf0b instanceof _0x4d7567['Workbook']&&this['_setupSubUnitSync'](_0x50bf0b);}async['_setupSubUnitSync'](_0x3e0e60){const _0x426ff1=_0x438245;await this['_updateSubUnitFromURLParams'](_0x3e0e60),_0x3e0e60[_0x426ff1(0x267)][_0x426ff1(0x3eb)](_0x302f1e[_0x426ff1(0x416)](this[_0x426ff1(0x287)]))[_0x426ff1(0x277)](_0xdb83e3=>{const _0x5406f4=_0x426ff1;_0xdb83e3&&this[_0x5406f4(0x3cb)](_0xdb83e3);}),this[_0x426ff1(0x402)][_0x426ff1(0x259)][_0x426ff1(0x3eb)](_0x302f1e[_0x426ff1(0x416)](this[_0x426ff1(0x287)]))[_0x426ff1(0x277)](()=>this[_0x426ff1(0x356)](_0x3e0e60));}[_0x438245(0x3cb)](_0x17b687,_0x113bc7=!0x1){const _0x40be4b=_0x438245,_0x28a411=this[_0x40be4b(0x402)][_0x40be4b(0x1eb)](_0x40be4b(0x3ca));_0x17b687[_0x40be4b(0x1ce)]()!==_0x28a411&&this['_urlService'][_0x40be4b(0x319)](_0x40be4b(0x3ca),_0x17b687['getSheetId'](),_0x113bc7);}async[_0x438245(0x356)](_0x2f6645){const _0x9db0f3=_0x438245;var _0x4798ea;const _0x5c52da=this['_urlService'][_0x9db0f3(0x1eb)](_0x9db0f3(0x3ca));if(!_0x5c52da||!_0x2f6645[_0x9db0f3(0x369)](_0x5c52da)){const _0x174a87=_0x2f6645[_0x9db0f3(0x3a7)]()[0x0],_0x1e3d16=_0x2f6645[_0x9db0f3(0x369)](_0x174a87);if(!_0x1e3d16)return;this[_0x9db0f3(0x3cb)](_0x1e3d16,!0x0),await this['_commandService'][_0x9db0f3(0x3fe)](_0x5976f8['SetWorksheetActivateCommand']['id'],{'unitId':_0x2f6645[_0x9db0f3(0x260)](),'subUnitId':_0x174a87});return;}((_0x4798ea=_0x2f6645[_0x9db0f3(0x2c0)]())==null?void 0x0:_0x4798ea['getSheetId']())!==_0x5c52da&&await this['_commandService'][_0x9db0f3(0x3fe)](_0x5976f8[_0x9db0f3(0x2b9)]['id'],{'unitId':_0x2f6645[_0x9db0f3(0x260)](),'subUnitId':_0x5c52da});}},_0x417bf1[_0x438245(0x271)]=_0xb5d340([_0x241c17(0x0,_0x32b781),_0x241c17(0x1,_0x4d7567['ILogService']),_0x241c17(0x2,_0x4d7567['ICommandService']),_0x241c17(0x3,_0x4d7567['Inject'](_0x3fb0c7[_0x438245(0x372)])),_0x241c17(0x4,_0x4d7567[_0x438245(0x432)](_0x274540[_0x438245(0x43c)]))],_0x417bf1[_0x438245(0x271)]);var _0x42d3a9=Object[_0x438245(0x23f)],_0x466670=(_0x45be91,_0x5cf286,_0x2ab77a,_0x40a574)=>{for(var _0x594f02=_0x40a574>0x1?void 0x0:_0x40a574?_0x42d3a9(_0x5cf286,_0x2ab77a):_0x5cf286,_0x4d9e8c=_0x45be91['length']-0x1,_0x5dff22;_0x4d9e8c>=0x0;_0x4d9e8c--)(_0x5dff22=_0x45be91[_0x4d9e8c])&&(_0x594f02=_0x5dff22(_0x594f02)||_0x594f02);return _0x594f02;},_0x404101=(_0x59e018,_0xf2ef68)=>(_0x4b7ea6,_0x22efa8)=>_0xf2ef68(_0x4b7ea6,_0x22efa8,_0x59e018);let _0x438ba9=class{constructor(_0x4f29ab,_0x578acb,_0x401151){const _0x4679b6=_0x438245;this['_injector']=_0x4f29ab,this[_0x4679b6(0x355)]=_0x578acb,this[_0x4679b6(0x398)]=_0x401151;}[_0x438245(0x2bc)](_0x87aae2){const _0x1f15e1=_0x438245;this[_0x1f15e1(0x205)](_0x87aae2),this[_0x1f15e1(0x3b8)](_0x87aae2);}[_0x438245(0x27f)](_0x1eb23b){const _0x50d652=_0x438245,{unitID:_0x1de87b}=_0x1eb23b,_0x532d5e=this['_renderManagerService'][_0x50d652(0x32e)](_0x1de87b)[_0x50d652(0x36c)](_0x47cccb[_0x50d652(0x1e3)]),{redoCache:_0x55148d}=_0x532d5e[_0x50d652(0x424)]();if(_0x55148d[_0x50d652(0x1f8)]===0x0)return _0x1eb23b;let _0x57f6c9=_0x4d7567['Tools'][_0x50d652(0x2b5)](_0x1eb23b[_0x50d652(0x29a)][0x0]);for(let _0x385ba6=0x0;_0x385ba6<_0x55148d[_0x50d652(0x1f8)];_0x385ba6++){const _0x453fbf={'id':'doc.mutation.rich-text-editing','params':{..._0x55148d[_0x385ba6]}},_0x5c3343=this[_0x50d652(0x355)][_0x50d652(0x37d)](_0x57f6c9,_0x453fbf,!0x1);if(_0x249cc5['isTransformMutationFailure'](_0x5c3343))throw _0x5c3343['error'];_0x57f6c9=_0x5c3343[_0x50d652(0x234)];}return{..._0x4d7567[_0x50d652(0x3ba)][_0x50d652(0x2b5)](_0x1eb23b),'mutations':[_0x57f6c9]};}[_0x438245(0x205)](_0x5966cf){const _0x4a18d9=_0x438245,{unitID:_0x21f0e6}=_0x5966cf,_0x1a44ea=this['_renderManagerService']['getRenderById'](_0x21f0e6)[_0x4a18d9(0x36c)](_0x47cccb[_0x4a18d9(0x1e3)]),{undoCache:_0x36a1a6,redoCache:_0x3d252a}=_0x1a44ea[_0x4a18d9(0x424)]();if(_0x36a1a6[_0x4a18d9(0x1f8)]===0x0||_0x3d252a['length']===0x0)return;const _0x57a21c=[],_0x3322a7=[];let _0xb3a3be=_0x4d7567[_0x4a18d9(0x3ba)][_0x4a18d9(0x2b5)](_0x5966cf['mutations'][0x0]),_0x14450a=_0x4d7567[_0x4a18d9(0x3ba)][_0x4a18d9(0x2b5)](_0x5966cf[_0x4a18d9(0x29a)][0x0]);for(let _0x41a5aa=_0x36a1a6[_0x4a18d9(0x1f8)]-0x1;_0x41a5aa>=0x0;_0x41a5aa--){const _0x747085={'id':_0x4a18d9(0x1e1),'params':{..._0x36a1a6[_0x41a5aa]}},_0x46cb4b={'id':_0x4a18d9(0x1e1),'params':{..._0x3d252a[_0x41a5aa]}},_0x492a06=this[_0x4a18d9(0x355)][_0x4a18d9(0x37d)](_0xb3a3be,_0x747085,!0x1),_0x4cf324=this[_0x4a18d9(0x355)][_0x4a18d9(0x37d)](_0x14450a,_0x46cb4b,!0x1);if(_0x249cc5[_0x4a18d9(0x2f8)](_0x492a06))throw _0x492a06[_0x4a18d9(0x30e)];if(_0x249cc5[_0x4a18d9(0x2f8)](_0x4cf324))throw _0x4cf324[_0x4a18d9(0x30e)];_0x57a21c[_0x4a18d9(0x315)](_0x492a06[_0x4a18d9(0x2f0)]['params']),_0x3322a7[_0x4a18d9(0x315)](_0x4cf324[_0x4a18d9(0x2f0)][_0x4a18d9(0x365)]),_0xb3a3be=_0x492a06[_0x4a18d9(0x234)],_0x14450a=_0x4cf324[_0x4a18d9(0x234)];}_0x1a44ea['setUndoRedoMutationParamsCache']({'undoCache':_0x57a21c,'redoCache':_0x3322a7});}['_transformPreviousActiveRange'](_0x456ede){const _0x12549f=_0x438245,{unitID:_0x334002}=_0x456ede,_0x103c23=this[_0x12549f(0x398)]['getRenderById'](_0x334002)[_0x12549f(0x36c)](_0x47cccb[_0x12549f(0x1e3)]),_0x20f8dd=_0x103c23[_0x12549f(0x3ed)]();if(_0x20f8dd==null)return;const _0x22dc1c=[{'id':_0x12549f(0x1e1),'params':{'unitId':_0x456ede[_0x12549f(0x307)],'actions':null,'textRanges':[_0x20f8dd]}}],_0x20a5d9=this[_0x12549f(0x355)][_0x12549f(0x375)](_0x456ede,_0x22dc1c);if(!_0x249cc5[_0x12549f(0x33e)](_0x20a5d9))throw _0x20a5d9['error'];const _0xe324ff=_0x20a5d9[_0x12549f(0x2f0)][0x0]['params']['textRanges'];Array['isArray'](_0xe324ff)&&_0xe324ff[_0x12549f(0x1f8)]&&_0x103c23['setActiveRange'](_0xe324ff[0x0]);}};_0x438ba9=_0x466670([_0x404101(0x0,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x3f3)])),_0x404101(0x1,_0x249cc5[_0x438245(0x391)]),_0x404101(0x2,_0x4a12db[_0x438245(0x2ad)])],_0x438ba9);var _0x6ddb60=Object['getOwnPropertyDescriptor'],_0xdd716e=(_0x5cdcb5,_0x5499fd,_0x5d1692,_0x232b53)=>{const _0x5df403=_0x438245;for(var _0x16b5ef=_0x232b53>0x1?void 0x0:_0x232b53?_0x6ddb60(_0x5499fd,_0x5d1692):_0x5499fd,_0x4eb065=_0x5cdcb5[_0x5df403(0x1f8)]-0x1,_0x371d4c;_0x4eb065>=0x0;_0x4eb065--)(_0x371d4c=_0x5cdcb5[_0x4eb065])&&(_0x16b5ef=_0x371d4c(_0x16b5ef)||_0x16b5ef);return _0x16b5ef;},_0x246449=(_0x2f95ac,_0x356345)=>(_0x5270bc,_0x41337b)=>_0x356345(_0x5270bc,_0x41337b,_0x2f95ac);let _0x2a1fe6=class{constructor(_0x565a59,_0x1b221d,_0x1d4765){const _0x46c6db=_0x438245;this[_0x46c6db(0x3fa)]=_0x565a59,this[_0x46c6db(0x355)]=_0x1b221d,this['_docStateChangeManagerService']=_0x1d4765;}[_0x438245(0x1ed)](_0x564795){const _0x33e3c4=_0x438245;this[_0x33e3c4(0x30f)](_0x564795);}[_0x438245(0x27f)](_0x5bbc5e){const _0xe07a1a=_0x438245,{unitID:_0x9ba5a9}=_0x5bbc5e,{collaboration:_0x49de57}=this[_0xe07a1a(0x39a)][_0xe07a1a(0x266)](_0x9ba5a9);if(_0x49de57[_0xe07a1a(0x1f8)]===0x0)return _0x5bbc5e;let _0x51c80a=_0x4d7567[_0xe07a1a(0x3ba)][_0xe07a1a(0x2b5)](_0x5bbc5e[_0xe07a1a(0x29a)][0x0]);for(let _0xe69f05=0x0;_0xe69f05<_0x49de57['length'];_0xe69f05++){const _0x35f5a7={'id':_0xe07a1a(0x1e1),'params':{'unitId':_0x49de57[_0xe69f05][_0xe07a1a(0x1f0)],..._0x49de57[_0xe69f05]['redoState']}},_0x5066d5=this[_0xe07a1a(0x355)]['transformMutation'](_0x51c80a,_0x35f5a7,!0x1);if(_0x249cc5['isTransformMutationFailure'](_0x5066d5))throw _0x5066d5[_0xe07a1a(0x30e)];_0x51c80a=_0x5066d5['m1Prime'];}return{..._0x4d7567[_0xe07a1a(0x3ba)][_0xe07a1a(0x2b5)](_0x5bbc5e),'mutations':[_0x51c80a]};}[_0x438245(0x30f)](_0x4b31f8){const _0x297bd2=_0x438245,{unitID:_0x3d3f36}=_0x4b31f8,{history:_0x3b9f4c,collaboration:_0x2c58d0}=this[_0x297bd2(0x39a)][_0x297bd2(0x266)](_0x3d3f36);if(_0x3b9f4c['length']===0x0&&_0x2c58d0['length']===0x0)return;const _0x501904=[],_0xc8a918=[];let _0x1f6cc9=_0x4d7567[_0x297bd2(0x3ba)][_0x297bd2(0x2b5)](_0x4b31f8[_0x297bd2(0x29a)][0x0]),_0x1a7278=_0x4d7567[_0x297bd2(0x3ba)][_0x297bd2(0x2b5)](_0x4b31f8[_0x297bd2(0x29a)][0x0]);for(let _0x4d0110=_0x3b9f4c[_0x297bd2(0x1f8)]-0x1;_0x4d0110>=0x0;_0x4d0110--){const _0x493765={'id':_0x297bd2(0x1e1),'params':{'unitId':_0x3b9f4c[_0x4d0110][_0x297bd2(0x1f0)],..._0x3b9f4c[_0x4d0110][_0x297bd2(0x1ea)]}},_0x477602={'id':_0x297bd2(0x1e1),'params':{'unitId':_0x3b9f4c[_0x4d0110][_0x297bd2(0x1f0)],..._0x3b9f4c[_0x4d0110][_0x297bd2(0x285)]}},_0x2ee901=this[_0x297bd2(0x355)]['transformMutation'](_0x1f6cc9,_0x493765,!0x1),_0x5f51ba=this['_transformService'][_0x297bd2(0x37d)](_0x1a7278,_0x477602,!0x1);if(_0x249cc5[_0x297bd2(0x2f8)](_0x2ee901))throw _0x2ee901[_0x297bd2(0x30e)];if(_0x249cc5[_0x297bd2(0x2f8)](_0x5f51ba))throw _0x5f51ba[_0x297bd2(0x30e)];_0x501904['unshift']({..._0x3b9f4c[_0x4d0110],'undoState':_0x2ee901[_0x297bd2(0x2f0)]['params'],'redoState':_0x5f51ba['m2Prime'][_0x297bd2(0x365)]}),_0x1f6cc9=_0x2ee901[_0x297bd2(0x234)],_0x1a7278=_0x5f51ba[_0x297bd2(0x234)];}_0x1f6cc9=_0x4d7567['Tools'][_0x297bd2(0x2b5)](_0x4b31f8['mutations'][0x0]),_0x1a7278=_0x4d7567[_0x297bd2(0x3ba)]['deepClone'](_0x4b31f8[_0x297bd2(0x29a)][0x0]);for(let _0x2a9f22=_0x2c58d0[_0x297bd2(0x1f8)]-0x1;_0x2a9f22>=0x0;_0x2a9f22--){const _0x2f7aad={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c58d0[_0x2a9f22]['unitId'],..._0x2c58d0[_0x2a9f22][_0x297bd2(0x1ea)]}},_0xf43603={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c58d0[_0x2a9f22][_0x297bd2(0x1f0)],..._0x2c58d0[_0x2a9f22][_0x297bd2(0x285)]}},_0x803f18=this[_0x297bd2(0x355)][_0x297bd2(0x37d)](_0x1f6cc9,_0x2f7aad,!0x1),_0x301515=this['_transformService'][_0x297bd2(0x37d)](_0x1a7278,_0xf43603,!0x1);if(_0x249cc5[_0x297bd2(0x2f8)](_0x803f18))throw _0x803f18[_0x297bd2(0x30e)];if(_0x249cc5[_0x297bd2(0x2f8)](_0x301515))throw _0x301515[_0x297bd2(0x30e)];_0xc8a918[_0x297bd2(0x315)]({..._0x2c58d0[_0x2a9f22],'undoState':_0x803f18[_0x297bd2(0x2f0)]['params'],'redoState':_0x301515[_0x297bd2(0x2f0)][_0x297bd2(0x365)]}),_0x1f6cc9=_0x803f18[_0x297bd2(0x234)],_0x1a7278=_0x301515[_0x297bd2(0x234)];}this[_0x297bd2(0x39a)][_0x297bd2(0x33b)](_0x3d3f36,{'history':_0x501904,'collaboration':_0xc8a918});}};_0x2a1fe6=_0xdd716e([_0x246449(0x0,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x3f3)])),_0x246449(0x1,_0x249cc5[_0x438245(0x391)]),_0x246449(0x2,_0x4d7567[_0x438245(0x317)](_0x47cccb[_0x438245(0x3c5)]))],_0x2a1fe6);var _0x46d6cb=Object[_0x438245(0x23f)],_0x47d753=(_0x116f4f,_0x5e8500,_0x4802a0,_0x43d235)=>{const _0x251c8b=_0x438245;for(var _0x308cd2=_0x43d235>0x1?void 0x0:_0x43d235?_0x46d6cb(_0x5e8500,_0x4802a0):_0x5e8500,_0x3b459a=_0x116f4f[_0x251c8b(0x1f8)]-0x1,_0x559a66;_0x3b459a>=0x0;_0x3b459a--)(_0x559a66=_0x116f4f[_0x3b459a])&&(_0x308cd2=_0x559a66(_0x308cd2)||_0x308cd2);return _0x308cd2;},_0x2b441c=(_0x349ebb,_0x1c79f6)=>(_0x2e30aa,_0x34659c)=>_0x1c79f6(_0x2e30aa,_0x34659c,_0x349ebb);let _0x1cb1bc=class{constructor(_0x1bdfb3,_0x2444f8){const _0x18a58b=_0x438245;this[_0x18a58b(0x3fa)]=_0x1bdfb3,this['_transformService']=_0x2444f8;}['transformSelections'](_0x46dbd5){const _0x2dcfd1=_0x438245;var _0x230b7d;const _0xd26c6b=this[_0x2dcfd1(0x3fa)]['get'](_0x534e54[_0x2dcfd1(0x425)]),_0x2ee143=(_0x230b7d=_0xd26c6b[_0x2dcfd1(0x34e)]())!=null?_0x230b7d:[];if(_0x2ee143[_0x2dcfd1(0x1f8)]===0x0)return;const _0x183a8f=_0x46dbd5[_0x2dcfd1(0x307)],_0x1070ca=[{'id':_0x2dcfd1(0x1e1),'params':{'unitId':_0x183a8f,'actions':null,'textRanges':_0x2ee143}}],_0x4732fc=this[_0x2dcfd1(0x355)][_0x2dcfd1(0x375)](_0x46dbd5,_0x1070ca);if(!_0x249cc5[_0x2dcfd1(0x33e)](_0x4732fc))throw _0x4732fc[_0x2dcfd1(0x30e)];const _0x5db73c=_0x4732fc[_0x2dcfd1(0x2f0)][0x0]['params']['textRanges'];Array[_0x2dcfd1(0x2ce)](_0x5db73c)&&_0x5db73c['length']&&_0xd26c6b['replaceDocRanges'](_0x5db73c,{'unitId':_0x183a8f,'subUnitId':_0x183a8f},!0x1);}};_0x1cb1bc=_0x47d753([_0x2b441c(0x0,_0x4d7567['Inject'](_0x4d7567[_0x438245(0x3f3)])),_0x2b441c(0x1,_0x249cc5[_0x438245(0x391)])],_0x1cb1bc);var _0x3cf5b5=Object[_0x438245(0x23f)],_0x2c5df6=(_0x336d83,_0x2fe919,_0x29603f,_0x22baa7)=>{const _0x125943=_0x438245;for(var _0x53c254=_0x22baa7>0x1?void 0x0:_0x22baa7?_0x3cf5b5(_0x2fe919,_0x29603f):_0x2fe919,_0x9156b8=_0x336d83[_0x125943(0x1f8)]-0x1,_0x20528d;_0x9156b8>=0x0;_0x9156b8--)(_0x20528d=_0x336d83[_0x9156b8])&&(_0x53c254=_0x20528d(_0x53c254)||_0x53c254);return _0x53c254;},_0x268e6a=(_0x290fe6,_0x2fd42b)=>(_0x5496bb,_0x1a41e1)=>_0x2fd42b(_0x5496bb,_0x1a41e1,_0x290fe6);let _0x14565b=class extends _0x4d7567['Disposable']{constructor(_0x26becc,_0x27327d,_0xe0e211,_0x1f9e86,_0xe6fa79,_0x69c194,_0x598dbf,_0x51b975){const _0x518b0c=_0x438245;super(),_0x30d208(this,'_status$',new _0x302f1e[(_0x518b0c(0x433))](_0x3fb0c7[_0x518b0c(0x2df)][_0x518b0c(0x41b)])),(this[_0x518b0c(0x39a)]=_0x26becc,this[_0x518b0c(0x3c1)]=_0x27327d,this[_0x518b0c(0x26f)]=_0xe0e211,this['_docTransformStateCacheService']=_0x1f9e86,this[_0x518b0c(0x1b4)]=_0xe6fa79,this[_0x518b0c(0x387)]=_0x69c194,this['_messageService']=_0x598dbf,this[_0x518b0c(0x34f)]=_0x51b975,this[_0x518b0c(0x316)]());}[_0x438245(0x316)](){const _0x253348=_0x438245;this['disposeWithMe'](this[_0x253348(0x3c1)][_0x253348(0x35e)][_0x253348(0x277)](_0x36c5ee=>{const _0x513d90=_0x253348,_0x485d17=this['_docStateChangeManagerService'][_0x513d90(0x1f3)][_0x513d90(0x277)](_0x2ef290=>{const _0x1b1085=_0x513d90;if(_0x2ef290==null)return;const {unitId:_0x417434,redoState:_0x65806e,commandId:_0xc5b281}=_0x2ef290;if(_0x417434!==_0x36c5ee[_0x1b1085(0x307)])return;const _0x25af07={'id':_0xc5b281,'type':_0x4d7567['CommandType'][_0x1b1085(0x342)],'params':{'unitId':_0x417434,'actions':_0x65806e['actions'],'textRanges':null}};_0x36c5ee[_0x1b1085(0x339)](_0x25af07);});if(_0x36c5ee[_0x513d90(0x2d6)](_0x485d17),_0x36c5ee instanceof _0x3fb0c7[_0x513d90(0x3c6)]){const _0x2bd654={'onTransformIME':_0x41a343=>this[_0x513d90(0x26f)][_0x513d90(0x2bc)](_0x41a343),'onTransformState':_0x1300c0=>this[_0x513d90(0x3e8)][_0x513d90(0x1ed)](_0x1300c0),'onTransformSelections':_0x24aa7f=>this['_docTransformSelectionsService'][_0x513d90(0x1fd)](_0x24aa7f),'onSyncEditingCollabCursor':_0xca64d8=>this[_0x513d90(0x387)][_0x513d90(0x21e)](_0xca64d8),'onTransformRemoteChangesetByIMECache':_0x32cc57=>this[_0x513d90(0x26f)][_0x513d90(0x27f)](_0x32cc57),'onTransformRemoteChangesetByStateCache':_0x8fbccc=>this['_docTransformStateCacheService'][_0x513d90(0x27f)](_0x8fbccc)};_0x36c5ee[_0x513d90(0x2d8)](_0x2bd654);}}));}};_0x14565b=_0x2c5df6([_0x268e6a(0x0,_0x4d7567[_0x438245(0x317)](_0x47cccb[_0x438245(0x3c5)])),_0x268e6a(0x1,_0x4d7567[_0x438245(0x317)](_0x3fb0c7[_0x438245(0x1cf)])),_0x268e6a(0x2,_0x4d7567['Inject'](_0x438ba9)),_0x268e6a(0x3,_0x4d7567[_0x438245(0x317)](_0x2a1fe6)),_0x268e6a(0x4,_0x4d7567[_0x438245(0x317)](_0x1cb1bc)),_0x268e6a(0x5,_0x4d7567['Inject'](_0x4b7e32)),_0x268e6a(0x6,_0x25ac9f[_0x438245(0x2e0)]),_0x268e6a(0x7,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x439)]))],_0x14565b);var _0x1e4ff0=Object[_0x438245(0x23f)],_0x2d0c05=(_0x42c0cb,_0x93fb7,_0x3c65cf,_0x109e94)=>{const _0x5afdb0=_0x438245;for(var _0x12f6de=_0x109e94>0x1?void 0x0:_0x109e94?_0x1e4ff0(_0x93fb7,_0x3c65cf):_0x93fb7,_0x3541b8=_0x42c0cb[_0x5afdb0(0x1f8)]-0x1,_0x2a3c9e;_0x3541b8>=0x0;_0x3541b8--)(_0x2a3c9e=_0x42c0cb[_0x3541b8])&&(_0x12f6de=_0x2a3c9e(_0x12f6de)||_0x12f6de);return _0x12f6de;},_0x2cab82=(_0x107f0d,_0x5ae02c)=>(_0x2ef6c4,_0x3a19c6)=>_0x5ae02c(_0x2ef6c4,_0x3a19c6,_0x107f0d);let _0x3c5d66=class extends _0x4d7567[_0x438245(0x219)]{constructor(_0xc255bb,_0x1e47a0,_0x349c81){const _0xb83c58=_0x438245;super(),_0x30d208(this,_0xb83c58(0x1b2),new Map()),_0x30d208(this,_0xb83c58(0x1bb),new Map()),_0x30d208(this,_0xb83c58(0x442),!0x1),(this[_0xb83c58(0x2dd)]=_0xc255bb,this[_0xb83c58(0x2d5)]=_0x1e47a0,this[_0xb83c58(0x435)]=_0x349c81);}[_0x438245(0x30d)](){const _0x3880e7=_0x438245;this[_0x3880e7(0x442)]=!0x0;}[_0x438245(0x412)](){const _0x1d7fbc=_0x438245;this[_0x1d7fbc(0x442)]=!0x1;}get[_0x438245(0x340)](){const _0x93a080=_0x438245;return this[_0x93a080(0x1bb)];}[_0x438245(0x3f7)](){const _0x4030f9=_0x438245;this[_0x4030f9(0x3bc)]()[_0x4030f9(0x2c1)](()=>super['dispose']());}async[_0x438245(0x308)](_0x2c2f11){const _0x1d6d7c=_0x438245;return this[_0x1d6d7c(0x442)]?null:this[_0x1d6d7c(0x2d5)][_0x1d6d7c(0x200)](_0x3fb0c7['getLocalCacheKey'](_0x2c2f11));}async[_0x438245(0x208)](_0x104016,_0x4da7c2){const _0xe729f9=_0x438245;return!!this[_0xe729f9(0x2d5)][_0xe729f9(0x311)](_0x104016,_0x4da7c2);}[_0x438245(0x1ae)](_0x2742cf,_0x3b1754,_0x575a7a,_0x654e1a){const _0x2a9401=_0x438245,_0x1af66c=this['_revisionService'][_0x2a9401(0x3de)](_0x2742cf);this[_0x2a9401(0x1b2)][_0x2a9401(0x42b)](_0x2742cf,{'unitID':_0x2742cf,'type':_0x3b1754,'awaitingChangeset':_0x575a7a,'mutations':_0x654e1a,'rev':_0x1af66c}),this[_0x2a9401(0x1bb)][_0x2a9401(0x25a)](_0x2742cf)||this[_0x2a9401(0x24a)](_0x2742cf);}[_0x438245(0x24a)](_0x226259){const _0x4865c4=_0x438245,_0x5a6304=this[_0x4865c4(0x38f)]();_0x5a6304===0x0?this[_0x4865c4(0x421)](_0x226259):this[_0x4865c4(0x1bb)][_0x4865c4(0x42b)](_0x226259,setTimeout(()=>this['_saveCache'](_0x226259),_0x5a6304));}['_getSaveTimeout'](){const _0x2dab63=_0x438245;var _0x353650;return(_0x353650=this[_0x2dab63(0x2dd)]['getConfig'](_0x3fb0c7[_0x2dab63(0x390)]))!=null?_0x353650:_0x3fb0c7[_0x2dab63(0x22f)];}[_0x438245(0x421)](_0x792fa1){const _0x26a776=_0x438245,_0x43efba=this[_0x26a776(0x1bb)]['get'](_0x792fa1);return _0x43efba!==void 0x0&&window['clearTimeout'](_0x43efba),this['_localStorageService'][_0x26a776(0x311)](_0x3fb0c7[_0x26a776(0x28c)](_0x792fa1),this['_cachedData'][_0x26a776(0x3f6)](_0x792fa1))['then'](()=>this['_saveTaskMap'][_0x26a776(0x3b2)](_0x792fa1));}async[_0x438245(0x3bc)](){const _0x5b4e16=_0x438245,_0x29a04f=[];this[_0x5b4e16(0x1bb)][_0x5b4e16(0x237)]((_0x2847b8,_0x236f1e)=>{const _0x4efe5c=_0x5b4e16;window[_0x4efe5c(0x37a)](_0x2847b8),_0x29a04f[_0x4efe5c(0x2d3)](this[_0x4efe5c(0x421)](_0x236f1e)[_0x4efe5c(0x2c1)](()=>{const _0x529dc6=_0x4efe5c;this[_0x529dc6(0x1bb)]['delete'](_0x236f1e);}));}),await Promise['all'](_0x29a04f);}};_0x3c5d66=_0x2d0c05([_0x2cab82(0x0,_0x4d7567[_0x438245(0x1ab)]),_0x2cab82(0x1,_0x4d7567[_0x438245(0x203)]),_0x2cab82(0x2,_0x4d7567[_0x438245(0x317)](_0x249cc5[_0x438245(0x396)]))],_0x3c5d66);class _0x1c9e0b extends _0x4d7567[_0x438245(0x2b8)]{constructor(){const _0x3fa604=_0x438245;super(),_0x30d208(this,_0x3fa604(0x259)),this[_0x3fa604(0x259)]=_0x302f1e['fromEvent'](window,'popstate')[_0x3fa604(0x3eb)](_0x302f1e[_0x3fa604(0x416)](this[_0x3fa604(0x287)]),_0x302f1e[_0x3fa604(0x373)](0x1),_0x302f1e[_0x3fa604(0x360)](void 0x0));}[_0x438245(0x319)](_0x496b76,_0x1dabc5,_0x32ab66=!0x1){const _0x1edc15=_0x438245,_0x2b39ec=new URL(window[_0x1edc15(0x25c)]['href']);_0x2b39ec[_0x1edc15(0x2dc)][_0x1edc15(0x42b)](_0x496b76,_0x1dabc5),_0x32ab66?window[_0x1edc15(0x24f)]['replaceState']('','',_0x2b39ec[_0x1edc15(0x23b)]()):window[_0x1edc15(0x24f)]['pushState']('','',_0x2b39ec[_0x1edc15(0x23b)]());}[_0x438245(0x2f6)](_0x566963,_0x22162a=!0x1){const _0x21a047=_0x438245,_0x2b2d68=new URL(window[_0x21a047(0x25c)][_0x21a047(0x24b)]);_0x2b2d68[_0x21a047(0x2dc)][_0x21a047(0x3b2)](_0x566963),_0x22162a?window[_0x21a047(0x24f)][_0x21a047(0x43f)]('','',_0x2b2d68['toString']()):window[_0x21a047(0x24f)][_0x21a047(0x202)]('','',_0x2b2d68[_0x21a047(0x23b)]());}[_0x438245(0x1eb)](_0x3da252){const _0x2f8418=_0x438245;var _0x8dbcf4;return(_0x8dbcf4=new URL(window['location'][_0x2f8418(0x24b)])[_0x2f8418(0x2dc)][_0x2f8418(0x3f6)](_0x3da252))!=null?_0x8dbcf4:void 0x0;}}var _0x401aa9=Object['defineProperty'],_0x1336d1=Object[_0x438245(0x23f)],_0x42ed0a=(_0x47fa68,_0x281ef6,_0x5e3136)=>_0x281ef6 in _0x47fa68?_0x401aa9(_0x47fa68,_0x281ef6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e3136}):_0x47fa68[_0x281ef6]=_0x5e3136,_0x4f6c7d=(_0xf1bbfe,_0x236268,_0x3d89cc,_0x1700df)=>{const _0x5837c2=_0x438245;for(var _0x467768=_0x1700df>0x1?void 0x0:_0x1700df?_0x1336d1(_0x236268,_0x3d89cc):_0x236268,_0x381f30=_0xf1bbfe[_0x5837c2(0x1f8)]-0x1,_0x1b9787;_0x381f30>=0x0;_0x381f30--)(_0x1b9787=_0xf1bbfe[_0x381f30])&&(_0x467768=_0x1b9787(_0x467768)||_0x467768);return _0x467768;},_0x5d603a=(_0x2e9203,_0x3dbd16)=>(_0x461f9a,_0x5036d2)=>_0x3dbd16(_0x461f9a,_0x5036d2,_0x2e9203),_0x225bcf=(_0x34f876,_0x29f175,_0x42384e)=>_0x42ed0a(_0x34f876,_0x29f175+'',_0x42384e);const _0xe9285a=_0x438245(0x2a4);_0x417bf1[_0x438245(0x3b6)]=class extends _0x4d7567[_0x438245(0x217)]{constructor(_0x5a4fe4=_0x26405a,_0x46992a,_0x57ceff,_0xc515e3){const _0x5b9673=_0x438245;super(),this['_config']=_0x5a4fe4,this[_0x5b9673(0x398)]=_0x46992a,this[_0x5b9673(0x3fa)]=_0x57ceff,this[_0x5b9673(0x2dd)]=_0xc515e3;const {..._0x79913c}=_0x4d7567['merge']({},_0x26405a,this[_0x5b9673(0x2d7)]);this[_0x5b9673(0x2dd)][_0x5b9673(0x3d0)](_0x5d35a6,_0x79913c);}[_0x438245(0x359)](){const _0x477743=_0x438245;this[_0x477743(0x383)](),this[_0x477743(0x2e3)]();}['onRendered'](){const _0x2b8048=_0x438245;this[_0x2b8048(0x2a5)]();}[_0x438245(0x383)](){const _0x6f0f7c=_0x438245;var _0x4d6395;const _0x32e141=[[_0x5b3fee],[_0x1cb1bc],[_0x438ba9],[_0x2a1fe6],[_0x4b7e32],[_0x32b781,{'useClass':_0x1c9e0b}],[_0x4f9d2b['ISocketService'],{'useClass':_0x4f9d2b[_0x6f0f7c(0x336)]}],[_0x3fb0c7['ILocalCacheService'],{'useClass':_0x3c5d66}],[_0x417bf1[_0x6f0f7c(0x3bd)]],[_0x14565b],[_0xa23e12],[_0x18bdc8],[_0x3431b4],[_0x417bf1[_0x6f0f7c(0x271)]]];_0x4d7567[_0x6f0f7c(0x290)](this['_injector'],_0x4d7567[_0x6f0f7c(0x3b3)](_0x32e141,(_0x4d6395=this[_0x6f0f7c(0x2d7)])==null?void 0x0:_0x4d6395[_0x6f0f7c(0x20d)]));}['_registerRenderDependencies'](){const _0xd621e2=_0x438245;this[_0xd621e2(0x2d6)](this[_0xd621e2(0x398)]['registerRenderModule'](_0x4d7567[_0xd621e2(0x364)][_0xd621e2(0x312)],[_0x3079c3])),this[_0xd621e2(0x2d6)](this[_0xd621e2(0x398)]['registerRenderModule'](_0x4d7567[_0xd621e2(0x364)][_0xd621e2(0x3ef)],[_0x188902]));}['_initDependencies'](){const _0xe9d652=_0x438245;_0x4d7567['touchDependencies'](this['_injector'],[[_0x18bdc8],[_0x417bf1[_0xe9d652(0x3bd)]],[_0x14565b],[_0xa23e12],[_0x417bf1[_0xe9d652(0x271)]]]);}},_0x225bcf(_0x417bf1[_0x438245(0x3b6)],'pluginName',_0xe9285a),_0x417bf1['UniverCollaborationClientUIPlugin']=_0x4f6c7d([_0x4d7567[_0x438245(0x20c)](_0x3fb0c7[_0x438245(0x1c0)]),_0x5d603a(0x1,_0x4a12db['IRenderManagerService']),_0x5d603a(0x2,_0x4d7567[_0x438245(0x317)](_0x4d7567[_0x438245(0x3f3)])),_0x5d603a(0x3,_0x4d7567[_0x438245(0x1ab)])],_0x417bf1[_0x438245(0x3b6)]);var _0x5d63ce=Object[_0x438245(0x23f)],_0x3d37f6=(_0x1cfd78,_0x1b183c,_0x149548,_0x1875e1)=>{const _0x3564d4=_0x438245;for(var _0xe1971e=_0x1875e1>0x1?void 0x0:_0x1875e1?_0x5d63ce(_0x1b183c,_0x149548):_0x1b183c,_0x1a0475=_0x1cfd78[_0x3564d4(0x1f8)]-0x1,_0x201d2c;_0x1a0475>=0x0;_0x1a0475--)(_0x201d2c=_0x1cfd78[_0x1a0475])&&(_0xe1971e=_0x201d2c(_0xe1971e)||_0xe1971e);return _0xe1971e;},_0x4ef4e2=(_0x4b9c61,_0x555251)=>(_0x23c339,_0x288b8e)=>_0x555251(_0x23c339,_0x288b8e,_0x4b9c61);_0x417bf1[_0x438245(0x3ee)]=class extends _0x3fb0c7['CollaborationSocketService']{constructor(_0x3ab9e2,_0x10996a,_0x3e671c,_0x5a1b3d,_0xe3ad2e){super(_0x3ab9e2,_0x10996a,_0x3e671c,_0x5a1b3d,_0xe3ad2e);}async[_0x438245(0x41a)](_0x27c730){const _0x12a3be=_0x438245,_0x203989=await this[_0x12a3be(0x381)](),_0x355abe=this[_0x12a3be(0x2ff)](_0x27c730,_0x203989);return this[_0x12a3be(0x3d2)](_0x355abe);}[_0x438245(0x2ff)](_0x43b8b7,_0x5992e5){const _0x48a8bc=_0x438245,_0x88b553=typeof window>'u'?new URL(_0x43b8b7):new URL(_0x43b8b7,window[_0x48a8bc(0x25c)]['origin']);_0x88b553[_0x48a8bc(0x2dc)][_0x48a8bc(0x42b)](_0x48a8bc(0x40e),_0x5992e5);const _0x5aa4a6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x48a8bc(0x25c)][_0x48a8bc(0x2f4)]);return _0x5aa4a6['get'](_0x48a8bc(0x406))&&_0x88b553['searchParams'][_0x48a8bc(0x42b)](_0x48a8bc(0x406),_0x5aa4a6[_0x48a8bc(0x3f6)](_0x48a8bc(0x406))),_0x88b553[_0x48a8bc(0x23b)]();}async[_0x438245(0x381)](){const _0x9fcb19=_0x438245;var _0x283e64,_0x48999d,_0x4ee441;const _0x24b2c1=this[_0x9fcb19(0x2dd)][_0x9fcb19(0x229)](_0x3fb0c7[_0x9fcb19(0x1ec)]),_0x36dc3d=(_0x283e64=_0x24b2c1==null?void 0x0:_0x24b2c1['wsSessionTicketUrl'])!=null?_0x283e64:_0x3fb0c7[_0x9fcb19(0x3d5)];return(_0x4ee441=(_0x48999d=(await this[_0x9fcb19(0x247)][_0x9fcb19(0x3f6)](_0x36dc3d,{'headers':{'Content-Type':_0x9fcb19(0x2a1)}}))[_0x9fcb19(0x422)])==null?void 0x0:_0x48999d[_0x9fcb19(0x34b)])!=null?_0x4ee441:'';}},_0x417bf1[_0x438245(0x3ee)]=_0x3d37f6([_0x4ef4e2(0x0,_0x4d7567['Inject'](_0x4d7567[_0x438245(0x3f3)])),_0x4ef4e2(0x1,_0x4d7567[_0x438245(0x317)](_0x4f9d2b[_0x438245(0x3ab)])),_0x4ef4e2(0x2,_0x4d7567[_0x438245(0x1ab)]),_0x4ef4e2(0x3,_0x4d7567[_0x438245(0x20f)]),_0x4ef4e2(0x4,_0x249cc5[_0x438245(0x228)])],_0x417bf1['BrowserCollaborationSocketService']);const _0x5df68d=0x7530,_0x518bb8=_0x438245(0x393);class _0x398ee9 extends _0x4d7567[_0x438245(0x219)]{constructor(){const _0x54aad5=_0x438245;super(),_0x30d208(this,_0x54aad5(0x209),_0x4d7567[_0x54aad5(0x430)]()),_0x30d208(this,_0x54aad5(0x405),new Set()),_0x30d208(this,_0x54aad5(0x408),new Map()),_0x30d208(this,_0x54aad5(0x2c2),null),_0x30d208(this,_0x54aad5(0x291),new Map()),_0x30d208(this,_0x54aad5(0x21a),new Map()),this[_0x54aad5(0x38b)]();}[_0x438245(0x3f7)](){const _0x5bffcc=_0x438245;super[_0x5bffcc(0x3f7)](),this[_0x5bffcc(0x291)][_0x5bffcc(0x237)]((_0x4137c3,_0x250618)=>this[_0x5bffcc(0x215)](_0x250618)),this[_0x5bffcc(0x2c2)]&&window[_0x5bffcc(0x1af)](this[_0x5bffcc(0x2c2)]);}['getUnitStatus$'](_0x32e1be){const _0x4aa504=_0x438245;return this[_0x4aa504(0x21f)](_0x32e1be)[_0x4aa504(0x3eb)](_0x302f1e[_0x4aa504(0x333)]());}[_0x438245(0x1c4)](_0x2c90d7){const _0x25d5e7=_0x438245;this[_0x25d5e7(0x405)][_0x25d5e7(0x1d9)]===0x0&&this[_0x25d5e7(0x42d)](),this['_selfUnitIDs']['add'](_0x2c90d7),this[_0x25d5e7(0x379)]({'type':0x0,'memberID':this[_0x25d5e7(0x209)],'unitIDs':[_0x2c90d7],'isForwarded':!0x1});}[_0x438245(0x36d)](_0xc8e8f7){const _0x641968=_0x438245;this[_0x641968(0x405)][_0x641968(0x3b2)](_0xc8e8f7),this[_0x641968(0x405)][_0x641968(0x1d9)]===0x0&&this[_0x641968(0x2c2)]&&window[_0x641968(0x1af)](this[_0x641968(0x2c2)]);}[_0x438245(0x38b)](){const _0x4941bd=_0x438245;this[_0x4941bd(0x2d6)](_0x4d7567[_0x4941bd(0x36b)](_0x302f1e[_0x4941bd(0x1ef)](window,_0x4941bd(0x206))[_0x4941bd(0x277)](_0x3d55=>{const _0x1791fe=_0x4941bd;if(_0x3d55['key']!==_0x518bb8||!_0x3d55[_0x1791fe(0x363)])return;const _0x58a7a9=JSON[_0x1791fe(0x334)](_0x3d55[_0x1791fe(0x363)]);this['_handleEvent'](_0x58a7a9);}))),window[_0x4941bd(0x34d)](_0x4941bd(0x3a0),()=>this['_send']({'type':0x1,'memberID':this[_0x4941bd(0x209)],'unitIDs':Array[_0x4941bd(0x1e0)](this['_selfUnitIDs'])}));}[_0x438245(0x3a2)](_0x4cba65){const _0x2d40d9=_0x438245;switch(_0x4cba65['type']){case 0x0:this[_0x2d40d9(0x1c2)](_0x4cba65);break;case 0x1:this[_0x2d40d9(0x397)](_0x4cba65);break;case 0x2:this[_0x2d40d9(0x353)](_0x4cba65);break;}}[_0x438245(0x1c2)](_0x363237){const _0x48d3fd=_0x438245,{unitIDs:_0x4bef07,memberID:_0x211954,isForwarded:_0x5dee76}=_0x363237;_0x4bef07['forEach'](_0x224f6b=>{const _0x2cbf0a=_0x1bed;if(!_0x5dee76&&this[_0x2cbf0a(0x408)][_0x2cbf0a(0x25a)](_0x224f6b)&&this[_0x2cbf0a(0x21f)](_0x224f6b)[_0x2cbf0a(0x31f)](_0x3fb0c7[_0x2cbf0a(0x40b)][_0x2cbf0a(0x3bf)]),!this[_0x2cbf0a(0x408)]['has'](_0x224f6b)||!this[_0x2cbf0a(0x408)][_0x2cbf0a(0x3f6)](_0x224f6b)[_0x2cbf0a(0x25a)](_0x211954)){const _0x4ed65c=this[_0x2cbf0a(0x408)][_0x2cbf0a(0x3f6)](_0x224f6b)||new Set();_0x4ed65c['add'](_0x211954),this[_0x2cbf0a(0x408)]['set'](_0x224f6b,_0x4ed65c),this[_0x2cbf0a(0x2c4)](_0x211954);}}),_0x5dee76||this[_0x48d3fd(0x379)]({'type':0x0,'memberID':this[_0x48d3fd(0x209)],'unitIDs':[...this[_0x48d3fd(0x405)]],'isForwarded':!0x0});}[_0x438245(0x2c4)](_0x3b7259){const _0x5aa717=_0x438245;this[_0x5aa717(0x215)](_0x3b7259);const _0x1dfd72=window[_0x5aa717(0x318)](()=>{const _0x5dcecb=_0x5aa717;this[_0x5dcecb(0x408)][_0x5dcecb(0x237)](_0x1d6638=>{_0x1d6638['delete'](_0x3b7259);});},_0x5df68d*0x2);this[_0x5aa717(0x291)]['set'](_0x3b7259,_0x1dfd72);}[_0x438245(0x215)](_0x475a47){const _0x1841a3=_0x438245;if(this[_0x1841a3(0x291)][_0x1841a3(0x25a)](_0x475a47)){const _0x1828d3=this[_0x1841a3(0x291)]['get'](_0x475a47);_0x1828d3&&window[_0x1841a3(0x37a)](_0x1828d3),this[_0x1841a3(0x291)][_0x1841a3(0x42b)](_0x475a47,null);}}[_0x438245(0x397)](_0x46b7a6){const _0x5dea5d=_0x438245,{memberID:_0x49292d,unitIDs:_0x99ff8c}=_0x46b7a6;_0x99ff8c[_0x5dea5d(0x237)](_0x1975f6=>{const _0x17f3ff=_0x5dea5d;var _0x5e8b17;const _0x414c7c=this['_unitOnClients'][_0x17f3ff(0x3f6)](_0x1975f6);_0x414c7c&&(_0x414c7c[_0x17f3ff(0x3b2)](_0x49292d),(_0x5e8b17=this[_0x17f3ff(0x21f)](_0x1975f6))==null||_0x5e8b17[_0x17f3ff(0x31f)](_0x414c7c['size']===0x0?_0x3fb0c7['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x3fb0c7['UnitStatus'][_0x17f3ff(0x3bf)]));}),this[_0x5dea5d(0x215)](_0x49292d);}['_handleHeartbeatEvent'](_0x4ced1e){const _0x2f4130=_0x438245;this[_0x2f4130(0x2c4)](_0x4ced1e['memberID']);}[_0x438245(0x379)](_0x4589a8){const _0x3c5957=_0x438245;localStorage[_0x3c5957(0x311)](_0x518bb8,JSON[_0x3c5957(0x233)](_0x4589a8));}[_0x438245(0x42d)](){const _0x4a051d=_0x438245;this[_0x4a051d(0x2c2)]=window[_0x4a051d(0x218)](()=>{const _0x29e0cd=_0x4a051d;this['_send']({'type':0x2,'memberID':this[_0x29e0cd(0x209)]});},_0x5df68d);}[_0x438245(0x21f)](_0x31a1fd){const _0x31d3c1=_0x438245;return this[_0x31d3c1(0x21a)][_0x31d3c1(0x25a)](_0x31a1fd)||this[_0x31d3c1(0x21a)][_0x31d3c1(0x42b)](_0x31a1fd,new _0x302f1e[(_0x31d3c1(0x433))](_0x3fb0c7[_0x31d3c1(0x40b)][_0x31d3c1(0x1f1)])),this['_unitStatus'][_0x31d3c1(0x3f6)](_0x31a1fd);}}var _0x18fad9=(_0x2acc4f=>(_0x2acc4f[_0x2acc4f[_0x438245(0x443)]=0x0]=_0x438245(0x443),_0x2acc4f[_0x2acc4f['OK']=0x1]='OK',_0x2acc4f[_0x2acc4f['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x2acc4f[_0x2acc4f[_0x438245(0x22b)]=0x3]=_0x438245(0x22b),_0x2acc4f[_0x2acc4f[_0x438245(0x3b1)]=0x4]=_0x438245(0x3b1),_0x2acc4f[_0x2acc4f['UNAUTHENTICATED']=0x5]=_0x438245(0x2e7),_0x2acc4f[_0x2acc4f[_0x438245(0x289)]=0x6]=_0x438245(0x289),_0x2acc4f[_0x2acc4f[_0x438245(0x3d3)]=0x7]=_0x438245(0x3d3),_0x2acc4f[_0x2acc4f['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x2acc4f[_0x2acc4f[_0x438245(0x335)]=0x9]=_0x438245(0x335),_0x2acc4f[_0x2acc4f['LOGIN_FAILED']=0xa]=_0x438245(0x240),_0x2acc4f[_0x2acc4f[_0x438245(0x1ad)]=0x1389]=_0x438245(0x1ad),_0x2acc4f[_0x2acc4f[_0x438245(0x268)]=0x1771]=_0x438245(0x268),_0x2acc4f[_0x2acc4f[_0x438245(0x246)]=0x1772]=_0x438245(0x246),_0x2acc4f[_0x2acc4f[_0x438245(0x341)]=0x1773]=_0x438245(0x341),_0x2acc4f[_0x2acc4f['APPLY_REJECT']=0x1b59]=_0x438245(0x403),_0x2acc4f[_0x2acc4f[_0x438245(0x3e5)]=0x1b5a]=_0x438245(0x3e5),_0x2acc4f[_0x2acc4f[_0x438245(0x2a6)]=0x1b5b]=_0x438245(0x2a6),_0x2acc4f[_0x2acc4f[_0x438245(0x26b)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2acc4f[_0x2acc4f[_0x438245(0x2fe)]=0x1b5d]=_0x438245(0x2fe),_0x2acc4f[_0x2acc4f[_0x438245(0x446)]=0x1f41]=_0x438245(0x446),_0x2acc4f[_0x2acc4f['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x438245(0x2be),_0x2acc4f[_0x2acc4f[_0x438245(0x40c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2acc4f[_0x2acc4f['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x438245(0x400),_0x2acc4f[_0x2acc4f[_0x438245(0x42a)]=0x232c]=_0x438245(0x42a),_0x2acc4f[_0x2acc4f[_0x438245(0x264)]=0x232d]=_0x438245(0x264),_0x2acc4f[_0x2acc4f[_0x438245(0x3ff)]=0x2711]=_0x438245(0x3ff),_0x2acc4f[_0x2acc4f[_0x438245(0x25e)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2acc4f[_0x2acc4f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x438245(0x263),_0x2acc4f[_0x2acc4f[_0x438245(0x389)]=0x2714]=_0x438245(0x389),_0x2acc4f[_0x2acc4f[_0x438245(0x2b4)]=0x2af9]=_0x438245(0x2b4),_0x2acc4f[_0x2acc4f[_0x438245(0x43a)]=0x2ee1]=_0x438245(0x43a),_0x2acc4f[_0x2acc4f[_0x438245(0x1fe)]=0x2ee2]='INVALID_INVITE_CODE',_0x2acc4f[_0x2acc4f[_0x438245(0x295)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2acc4f[_0x2acc4f[_0x438245(0x2ca)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2acc4f[_0x2acc4f['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x438245(0x293),_0x2acc4f[_0x2acc4f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x438245(0x1df),_0x2acc4f[_0x2acc4f[_0x438245(0x274)]=0x32ca]=_0x438245(0x274),_0x2acc4f[_0x2acc4f['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x438245(0x26c),_0x2acc4f[_0x2acc4f['UNRECOGNIZED']=-0x1]=_0x438245(0x2aa),_0x2acc4f))(_0x18fad9||{}),_0xf0620e=Object[_0x438245(0x23f)],_0x1f2fd3=(_0x386778,_0x257e8d,_0x5757b1,_0x4f962d)=>{for(var _0x25e2df=_0x4f962d>0x1?void 0x0:_0x4f962d?_0xf0620e(_0x257e8d,_0x5757b1):_0x257e8d,_0x1e05c7=_0x386778['length']-0x1,_0x19380d;_0x1e05c7>=0x0;_0x1e05c7--)(_0x19380d=_0x386778[_0x1e05c7])&&(_0x25e2df=_0x19380d(_0x25e2df)||_0x25e2df);return _0x25e2df;},_0x158f97=(_0x23ee6e,_0x27383d)=>(_0x5efe1c,_0x37d51d)=>_0x27383d(_0x5efe1c,_0x37d51d,_0x23ee6e);_0x417bf1[_0x438245(0x2f9)]=class extends _0x4d7567[_0x438245(0x219)]{constructor(_0x46f0a5,_0x169d1e,_0x404055){const _0x5120cd=_0x438245;super(),this[_0x5120cd(0x2fa)]=_0x46f0a5,this[_0x5120cd(0x247)]=_0x169d1e,this['_configService']=_0x404055;}async[_0x438245(0x3b5)](_0xa44ac7,_0x2f53a6,_0x27ef9b,..._0x2866a0){const _0x29ad36=_0x438245;var _0x1d2388,_0x25ff5e,_0x11d539,_0x5ceac1;const _0x362e81=this[_0x29ad36(0x2fa)][_0x29ad36(0x3e7)]();if(!_0x362e81)throw new Error(_0x29ad36(0x224));const _0x4d1e0b=((_0x1d2388=this[_0x29ad36(0x2dd)][_0x29ad36(0x229)](_0x3fb0c7['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x1d2388:_0x3fb0c7[_0x29ad36(0x226)])+'/'+_0xa44ac7+'/run/'+_0x2f53a6,_0x509b4e=new URL(window[_0x29ad36(0x25c)][_0x29ad36(0x24b)]),_0x32780e={'scriptId':_0xa44ac7,'runId':(_0x25ff5e=_0x509b4e[_0x29ad36(0x2dc)][_0x29ad36(0x3f6)](_0x29ad36(0x406)))!=null?_0x25ff5e:'','function':_0x2f53a6,'unitId':_0x362e81[_0x29ad36(0x260)](),'argsOfFunction':JSON[_0x29ad36(0x233)](_0x2866a0),'invokeId':(_0x11d539=_0x27ef9b['invokeId'])!=null?_0x11d539:'','executionId':(_0x5ceac1=_0x27ef9b['executionId'])!=null?_0x5ceac1:''};try{const _0x4d8a9e=await this[_0x29ad36(0x247)][_0x29ad36(0x418)](_0x4d1e0b,{'body':_0x32780e});return _0x4d8a9e[_0x29ad36(0x422)]['error']&&_0x4d8a9e[_0x29ad36(0x422)][_0x29ad36(0x30e)][_0x29ad36(0x201)]!==_0x18fad9['OK']?_0x29ad36(0x3e0):_0x4d8a9e[_0x29ad36(0x422)][_0x29ad36(0x1e6)];}catch{return _0x29ad36(0x3e0);}}},_0x417bf1['RemoteUniscriptService']=_0x1f2fd3([_0x158f97(0x0,_0x4d7567['IUniverInstanceService']),_0x158f97(0x1,_0x4d7567[_0x438245(0x317)](_0x4f9d2b['HTTPService'])),_0x158f97(0x2,_0x4d7567[_0x438245(0x1ab)])],_0x417bf1[_0x438245(0x2f9)]),_0x417bf1[_0x438245(0x337)]=_0x25fd1d,_0x417bf1[_0x438245(0x2af)]=_0x32b781,_0x417bf1[_0x438245(0x395)]=_0x5b3bbe,_0x417bf1[_0x438245(0x305)]=_0x398ee9,_0x417bf1['WebURLService']=_0x1c9e0b,Object[_0x438245(0x2fd)](_0x417bf1,Symbol['toStringTag'],{'value':'Module'});}));function _0x2d63(){const _0x4ca486=['jiqing500','unit','engine','APPLY_NON_SEQUENTIAL_REVISION','purple300','getFocusedUnit','_docTransformStateCacheService','_getMergeRange','_labelPosition','pipe','TEXT_RANGE_LAYER_INDEX','getActiveRange','BrowserCollaborationSocketService','UNIVER_SHEET','_online','restore','#FFF','Injector','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','startsWith','get','dispose','@univerjs/ui','unsubscribe','_injector','_render','div','IUniverInstanceService','executeCommand','YUUMI_UNABLE_LOAD_URL','LICENSE_IMPORT_SIZE_EXCEEDED','handleMoveRange','_urlService','APPLY_REJECT','getCurrentUnitForType','_selfUnitIDs','runId','_onRefRangeChange','_unitOnClients','@univerjs-pro/collaboration-client','getMember','UnitStatus','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','textRanges','sessionTicket','_range','fillStyle','RECT','enableLocalCache','UniverProCollaboration','some','skeleton','takeUntil','cursorInfo','post','collaboration.closeRoom','createSocket','NOT_COLLAB','6938720iRXYcD','handleInsertRangeMoveRight','DisposableCollection','fill','name','_saveCache','body','fillText','getUndoRedoMutationParamsCache','DocSelectionManagerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getValue','show','bottom','LICENSE_EXPORT_SIZE_EXCEEDED','set','registerRefRange','_scheduleHeartbeat','children','_localCacheService','generateRandomId','collab-text-range-','Optional','BehaviorSubject','_cursorInfo$','_revisionService','@univerjs/sheets','UniverNetwork','transform','LocaleService','INVITE_CODE_HAS_BEEN_UES','filter','IRemoteInstanceService','SOCKET_FAILED_RETRY','roomMembers$','replaceState','evenodd','_refreshCollabCursors','_disabled','UNDEFINED','sheetID','selection','CONNECTOR_DATA_TOO_LARGE','IConfigService','ranges','CHANGESET_REVISION_CONFILICT','updateOfflineData','clearInterval','debug','url(#on-line-single_clip0_910_349)','_cachedData','drawWith','_docTransformSelectionsService','@univerjs/docs-ui','InsertRowCommandId','range','url(#off-line-single_clip0_910_343)','top','TEXT','_saveTaskMap','arc','moveTo','off-line-single_clip0_910_343','max','UniverCollaborationClientPlugin','onMouseMove','_handleJoinEvent','_entities','editingUnit','on-line-single','_initStatusComponent','_shapes','_draw','_entityInit$','off-line-single','BuiltInUIPart','values','INotificationService','getSheetId','CollaborationController','string','mask','MemberService','ILocalCacheService','@univerjs/engine-render','collabStatus.offline','_docSkeleton','_assignedColors','createInstance','size','DOC_RANGE_TYPE','_getAnchorBounding','source','currentSkeleton$','red300','WECHAT_HAS_BEEN_BOUND','from','doc.mutation.rich-text-editing','_initEvent','DocIMEInputManagerService','@univerjs/rpc','_scene','result','_colorAssignService','SYNCED','getCoordByCell','undoState','getParam','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','transformStateCache','2XxKXxz','fromEvent','unitId','NO_OTHER_CLIENTS_EDITING','contains','docStateChange$','DeleteRangeMoveLeftCommandId','function','extend','UniverDrawing','length','751080ofNNlK','handleIRemoveRow','rxjs','getTypeOfUnitAdded$','transformSelections','INVALID_INVITE_CODE','width','getItem','code','pushState','ILocalStorageService','AWAITING_WITH_PENDING','_transformUndoRedoStack','storage','PENDING','saveOfflineData','_id','triggerDblclick','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','DependentOn','override','onlineStatusIcon','ILogService','forwardRef','_imageIoService','collaboration-client-ui.config','875105hBEAcg','createElement','_removeClearOtherTimer','FETCH_MISS','Plugin','setInterval','Disposable','_unitStatus','collaboration-client.offline-data-not-saved','_collabCursorState$','UniverEngineRender','syncEditingCollabCursor','_ensureSubject','142670vlYXGt','UniverIcon','color','collab-rect-range-','[RemoteUniscriptService]:\x20no\x20focused\x20unit','SheetSkeletonManagerService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setShapeProps','ISnapshotServerService','getConfig','use','PERMISSION_DENIED','SheetsSelectionsService','indexOf','IUIPartsService','LOCAL_CACHE_INTERVAL','connectInjector','path','UPDATE_CURSOR','stringify','m1Prime','@univerjs/docs','subscribeEvent','forEach','subUnitId','session.collaboration-timeout','collabStatus.synced','toString','_colorIndex','gold400','_cursor','getOwnPropertyDescriptor','LOGIN_FAILED','symbol','registerComponent','_roomMembers$','clipPath','uni.network.url-service','SNAPSHOT_HAS_BEEN_REMOVED','_httpService','_getScale','height','_scheduleSaving','href','react','min','getColor','history','0\x200\x2017\x2016','isActive','handleDeleteRangeMoveUp','RefRangeService','RichTextEditingMutation','column','_lastPointer','propertyIsEnumerable','UniverSheets','urlChange$','has','getCollabEntity$','location','_cursors','YUUMI_URL_COL_OUT_OF_RANGE','_eventUnsubscribe','getUnitId','black','@univerjs/design','YUUMI_RATE_OVER_LIMIT','LICENSE_DISTRO_REJECTED','RegularPolygon','getStateCache','activeSheet$','SNAPSHOT_INVALID_SNAPSHOT','reconnect','random','APPLY_PERMISSION_DENIED','EMAIL_HAS_BEEN_BOUND','IImageIoService','VIEW_MAIN','_docTransformIMECacheService','switchMap','CollaborationDataLoaderController','_removeCollabCursors','runRefRangeMutations','MOBILE_HAS_BEEN_BOUND','_collaborationUIEventService','OTHER_CLIENT_EDITING','subscribe','OFFLINE','RemoveRowCommandId','CollaborationUIEventId','className','@univerjs/network','univer-offline','startColumn','transformRemoteChangeset','@univerjs/core','session.will-retry','startRow','Warning','OnLineSingle','redoState','CLOSE_ROOM','dispose$','_initStatusListener','ALREADY_EXISTS','currentColor','CONFLICT','getLocalCacheKey','entries','useDependency','onTransformChange$','registerDependencies','_clearOtherTimers','onPointerMove$','INVITE_CODE_ALREADY_BOUND','_drawTextRange','INVITE_CODE_REQUIRED','getMergeData','1em','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','IBeforeCloseService','mutations','colorChannel1','sheetId','clsx','Unknown\x20user','transformByState','send','application/json','_textBubble','collabCursorState$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_registerRenderDependencies','APPLY_REVISION_CONFILICT','_initResize','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','roomMembers','UNRECOGNIZED','ColorKit','jsx','IRenderManagerService','_context','IURLService','assign','_hover','_hovered','onCommandExecuted','PY_RUNTIME_SCRIPT_ERROR','deepClone','_collabCursorController','addObject','RxDisposable','SetWorksheetActivateCommand','loadUnit','requireSession','transformIMECache','_notificationService','LICENSE_MAX_UNITS_EXCEEDED','ICommandService','getActiveSheet','then','_heartbeatTimer','NodePositionConvertToRectRange','_scheduleClearOtherTimer','SetSelectionsOperation','_updateLocalCursor','_logService','collabStatus.notCollab','status$','USER_NOT_INVITED_CODE','operators','SHEET_VIEWPORT_KEY','_startSheetCollabCursor','isArray','getRelativeToViewportCoord','_beforeCloseService','blue400','OffLineSingle','push','_getSheetObject','_localStorageService','disposeWithMe','_config','addHandlerCallback','univer-online-status-icon','_onCursorDelete','React','searchParams','_configService','useRef','CollaborationStatus','IMessageService','attrs','[CollaborationDataLoaderController]','_initDependencies','AWAITING','icon','_toggleOffline','UNAUTHENTICATED','@univerjs/sheets-ui','@univerjs/engine-formula','_memberService','_session','ThemeService','SUBMIT_CHANGESET_TIMEOUT','@univerjs-pro/collaboration','focused$','m2Prime','_status$','object','univer-online-status','search','getCollabCursors$','removeParam','_backgroundColor','isTransformMutationFailure','RemoteUniscriptService','_instanceService','handleInsertRangeMoveDown','offline','defineProperty','APPLY_DUPLICATED','_createSocketURL','_docSkeletonManagerService','none','MessageType','row','_updateCollabCursors','WebBrowserSingleActiveUnitService','FromArray','unitID','loadOfflineData','_cursorShapes','UniverEngineFormula','assignAColorForMemberID','Vector2','disableLocalCache','error','_transformHistoryAndStateStack','tag','setItem','UNIVER_DOC','EffectRefRangId','0\x200\x2016\x2016','unshift','_initEntityListener','Inject','setTimeout','setParam','Shape','TRANSFORM_CHANGE_OBSERVABLE_TYPE','svg','round','idSuffix','next','onlineStatusTitle','getAncestorScale','_hideTimer','SOCKET_FAILED','USERS_LEAVE','univer-online','ONLINE','call','_onCursorUpdate','_messageService','Rect','getUniverSheetInstance','Rectangle','_handleHover','getRenderById','handleDeleteRangeMoveLeft','_drawRectRange','url(#$1','whenReady','distinctUntilChanged','parse','COMPLETION_FINISHED','WebSocketService','CollaborationStatusDisplay','permission.title','onLocalMutation','univer-flex\x20univer-items-center','setStateCache','126bsfQgQ','getSkeleton','isTransformMutationsWithChangesetSuccess','_toggleOnline','saveTaskMap','ENSURE_SNAPSHOT_EXECUTION','MUTATION','_name','findNodePositionByCharIndex','handleInsertCol','defIds','includes','complete','_dataLoaderService','_drawAnchor','ticket','UniverDesign','addEventListener','getDocRanges','_localeService','onPointerEnter$','endColumn','collabStatus.conflict','_handleHeartbeatEvent','debounce','_transformService','_updateSubUnitFromURLParams','asObservable','862307YlahSH','onStarting','measureText','resize','10192518JRfoqz','fillRule','entityInit$','setAlpha','mapTo','getOwnPropertySymbols','debounceTime','newValue','UniverInstanceType','params','replace','event$','getRangePointData','getSheetBySheetId','getCellPositionByOffset','toDisposable','with','disposeUnit','_sheetSkeletonManagerService','concat','_color','add','DataLoaderService','shareReplay','lineTo','transformMutationsWithChangeset','DocSkeletonManagerService','getTypeOfUnitDisposed$','_startDocCollabCursor','_send','clearTimeout','_uiPartsService','registerBeforeClose','transformMutation','_docClipboardService','_refRangeService','defs','_getSessionTicket','hasOwnProperty','_registerDependencies','currentTheme$','amd','COLORS','_docSyncEditingCollabCursorService','init','YUUMI_SUBSCRIPTION_NOT_FOUND','data','_init','_anchorDot','SetDocZoomRatioOperation','CollaborationSessionService','_getSaveTimeout','LOCAL_CACHE_INTERVAL_KEY','ITransformService','save','ACTIVE_UNIT_EVENT_CHANNEL','Error','SheetCollabCursorShape','RevisionService','_handleLeaveEvent','_renderManagerService','merge','_docStateChangeManagerService','hide','apply','2683941cEUjdM','_commandService','prototype','unload','permission.content','_handleEvent','session.connection-failed','endRow','InsertRangeMoveRightCommandId','CollaborationUIEventService','getUnhiddenWorksheets','addClipboardHook','makeDirty','text','HTTPService','MoveRangeCommandId','flatMap','DeleteRangeMoveUpCommandId','CollaborationEvent','univer-online-status-title','NOT_FOUND','delete','mergeOverrideWithDependencies','map','runOnServer','UniverCollaborationClientUIPlugin','M0\x200H16V16H0z','_transformPreviousActiveRange','RemoveColCommandId','Tools','displayName','exhaustSavingTask','DesktopCollaborationStatusDisplayController','eventID','OTHER_CLIENTS_EDITING','combineLatest','_collaborationController','InsertColCommandId','verdancy600','xlink:href','DocStateChangeManagerService','DocCollaborationEntity','rgba(255,\x20255,\x20255,\x200.01)','cursorInfo$','NodePositionConvertToCursor','subunit','_updateURLWithCurrentState','_initCommandExecutedListener','_anchor','imageSourceType','UniverCore','setConfig','substring','_doCreateSocket','INVALID_ARGUMENT','UniverDocs','DEFAULT_WS_SESSION_TICKET_URL','JOIN_ROOM_FAILED','InsertRangeMoveDownCommandId','_univerInstanceService','split','on-line-single_clip0_910_349','#fff','UniverRpc','_setupBeforeClosingHandler','getCurrentRevOfUnit','_themeService','Failed','type'];_0x2d63=function(){return _0x4ca486;};return _0x2d63();}
|