@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506131607 → 0.8.1-nightly.202506151606
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 _0x424a(_0x1f78c4,_0x44a558){const _0x81fed0=_0x81fe();return _0x424a=function(_0x424aa0,_0x3ee15a){_0x424aa0=_0x424aa0-0x121;let _0xc0ee4=_0x81fed0[_0x424aa0];return _0xc0ee4;},_0x424a(_0x1f78c4,_0x44a558);}function _0x81fe(){const _0x4e9292=['_docStateChangeManagerService','className','_docSkeleton','UniverSheets','red.300','labelPosition','CONNECTOR_DATA_TOO_LARGE','init','_memberService','wsSessionTicketUrl','blue.400','_scheduleHeartbeat','LOGIN_FAILED','trim','SNAPSHOT_HAS_BEEN_REMOVED','NOT_COLLAB','addHandlerCallback','_colorIndex','DEFAULT_WS_SESSION_TICKET_URL','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','[CollaborationDataLoaderController]','_initResize','CollaborationEvent','debounce','onPointerEnter$','getOwnPropertyDescriptor','origin','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','BehaviorSubject','selection','registerRenderModule','column','idSuffix','defineProperty','_scheduleSaving','_updateCollabCursors','Error','_refreshCollabCursors','getRangePointData','saveOfflineData','CollaborationStatus','APPLY_DUPLICATED','jsxs','APPLY_REVISION_CONFILICT','_send','touchDependencies','ticket','children','PY_RUNTIME_SCRIPT_ERROR','LICENSE_IMPORT_SIZE_EXCEEDED','isEditing','enableLocalCache','hovered','save','_cursorInfo$','assign','event$','UniverUi','SHEET_VIEWPORT_KEY','UnitStatus','purple.300','_transformPreviousActiveRange','getStateCache','createElement','transformIMECache','getFocusedUnit','9717884ACRNCK','NOT_FOUND','_unitOnClients','OffLineIcon','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','InsertRangeMoveDownCommandId','_draw','takeUntil','_logService','Failed','_doCreateSocket','addObjects','_ensureSubject','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unsubscribe','ISocketService','_docTransformSelectionsService','BuiltInUIPart','session.will-retry','getUnitId','apply','font','getMember','DocStateChangeManagerService','getParam','symbol','CommandType','on-line-icon_clip0_910_349','fromEventSubject','session.connection-failed','RichTextEditingMutation','univerjs-icon\x20univerjs-icon-','_lastPointer','getActiveSheet','onCommandExecuted','toRgbString','getItem','RECT','merge','Injector','LICENSE_EXPORT_SIZE_EXCEEDED','UniverNetwork','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','green.600','disposeWithMe','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','HEADER_MENU','toStringTag','IImageIoService','forwardRef','getSheetObject','DocIMEInputManagerService','startRow','saveTaskMap','_hideTimer','amd','_cachedData','exhaustSavingTask','RegularPolygon','_onCursorDelete','onPointerMove$','status$','_eventUnsubscribe','CollaborationUIEventId','_handleLeaveEvent','useObservable','_color','AWAITING_WITH_PENDING','_assignedColors','_localStorageService','react/jsx-runtime','WECHAT_HAS_BEEN_BOUND','unitId','getMemberID','_messageService','Inject','_saveTaskMap','USER_NOT_INVITED_CODE','UNIVER_SHEET','YUUMI_SUBSCRIPTION_NOT_FOUND','_collaborationUIEventService','RxDisposable','m1Prime','parse','invokeId','runRefRangeMutations','_disabled','_startSheetCollabCursor','findNodePositionByCharIndex','YUUMI_ALL_TABLES_IS_INVALID','univer-mr-2\x20univer-flex\x20univer-text-xl','_revisionService','some','_unitStatus','call','url(#on-line-icon_clip0_910_349)','ColorKit','editingUnit','UniverEngineFormula','_transformUndoRedoStack','_removeClearOtherTimer','ISnapshotServerService','reconnect','_docTransformStateCacheService','registerRefRange','color','ILocalStorageService','SetSelectionsOperation','getDocRanges','getUndoRedoMutationParamsCache','transformMutation','_render','getSheetBySheetId','DesktopCollaborationStatusDisplayController','COLORS','_collabCursorController','lineTo','YUUMI_RATE_OVER_LIMIT','unshift','_getSheetObject','isActive','MOBILE_HAS_BEEN_BOUND','function','onPointerLeave$','_docTransformIMECacheService','_hovered','SheetCollabCursorShape','_docSyncEditingCollabCursorService','complete','_cursorShapes','_initEntityListener','range','getRenderById','UNIVER_DOC','_localCacheService','assignAColorForMemberID','clearTimeout','override','UNAUTHENTICATED','_renderManagerService','1em','@univerjs/ui','cursorInfo','_setupSubUnitSync','error','all','roomMembers','div','IBeforeCloseService','_shapes','USERS_LEAVE','popstate','values','_startDocCollabCursor','endColumn','name','Vector2','textRanges','loadUnit','[RemoteUniscriptService]:\x20no\x20focused\x20unit','colorChannel1','INVALID_ARGUMENT','show','measureText','YUUMI_AI_RUN_FAILED','@univerjs/rpc','currentTheme$','dispose$','Shape','DocCollaborationEntity','APPLY_REJECT','jsx','black','getCurrentUnitForType','none','type','_registerDependencies','_scheduleClearOtherTimer','endRow','then','text','fromEvent','indexOf','_drawTextRange','searchParams','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','registerBeforeClose','_status$','SOCKET_FAILED','UNDEFINED','hasOwnProperty','ICommandService','fillText','svg','Workbook','concat','Rectangle','pipe','_onCursorUpdate','createSocket','handleMoveRange','_toggleOffline','registerDependencies','top','getOffsetConfig','_anchor','OTHER_CLIENT_EDITING','Disposable','collabCursorState$','createInstance','FETCH_MISS','LOCAL_CACHE_INTERVAL_KEY','subscribe','has','permission.title','DocSelectionManagerService','collabStatus.syncing','find','_handleEvent','_toggleOnline','min','switchMap','operators','mapTo','getCollabEntity$','_syncEditingCollabCursorService','handleIRemoveCol','DataLoaderService','next','Unknown\x20user','UniverCore','getAncestorScale','url(#off-line-icon_clip0_910_343)','IUniverInstanceService','InsertRangeMoveRightCommandId','setTimeout','CollaborationSessionService','addEventListener','flatMap','focused$','INVITE_CODE_ALREADY_BOUND','path','collabStatus.fetchMiss','off-line-icon','collab-client.tooltip.reconnect','@univerjs-pro/collaboration','IRemoteInstanceService','INotificationService','_range','SNAPSHOT_INVALID_SNAPSHOT','SheetsSelectionsService','useDependency','CollaborationUIEventService','RemoteUniscriptService','dispose','entries','9cBSTBa','_cursors','WebSocketService','_anchorDot','_urlService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','handleIRemoveRow','from','@univerjs/network','Tools','_transformService','permission.content','getCurrentRevOfUnit','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','setShapeProps','executeCommand','LICENSE_MAX_UNITS_EXCEEDED','_textBubble','UniverProCollaborationClient','AWAITING','asObservable','use','getActiveRange','_httpService','YUUMI_ASYNCIO_CANCELLED','_clearOtherTimers','getColorFromTheme','distinctUntilChanged','_config','...','toString','combineLatest','deserializeRangeWithSheet','setConfig','xlink:href','WebURLService','shareReplay','ACTIVE_UNIT_EVENT_CHANNEL','bottom','_getAnchorBounding','IURLService','setItem','onRendered','setActiveRange','whenReady','CollaborationDataLoaderController','height','useRef','_registerRenderDependencies','@univerjs-pro/collaboration-client','push','icon','MoveRangeCommandId','registerComponent','getValue','#FFF','code','SUBMIT_CHANGESET_TIMEOUT','size','generateRandomId','displayName','getSkeleton','_initEvent','Warning','location','string','DisposableCollection','_selfUnitIDs','http://www.w3.org/2000/svg','eventID','SetWorksheetActivateCommand','handleInsertRangeMoveDown','mask','random','Rect','rxjs','subunit','connectInjector','Optional','SessionStatus','_collabSessionService','setUndoRedoMutationParamsCache','UniverSheetsUi','contains','ALREADY_EXISTS','transformSelections','drawWith','_onRefRangeChange','setInterval','pluginName','VIEW_MAIN','YUUMI_NO_CUBOID_FOR_QUESTION','OFFLINE','IRenderManagerService','@univerjs/design','collaboration.single-unit.warning','collab-rect-range-','_context','getRelativeToViewportCoord','currentColor','ThemeService','IUIPartsService','collabStatus.conflict','closePath','_notificationService','body','arc','transformRemoteChangeset','IDocClipboardService','_configService','redoState','prototype','_getMergeRange','JOIN_ROOM_FAILED','DOC_RANGE_TYPE','IMessageService','rgba(255,\x20255,\x20255,\x200.01)','_handleHover','react','send','unitID','unload','sheetId','_session','COMPLETION_FINISHED','object','forEach','INVITE_CODE_REQUIRED','getLocalCacheKey','INTERNAL_ERROR','onMouseMove','ranges','12OFpiKB','undoState','_roomMembers$','fill','isArray','@univerjs/core','handleInsertRangeMoveRight','_getScale','getTypeOfUnitAdded$','newValue','_hover','href','_commandService','18jUVGvt','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','unit','LICENSE_DISTRO_REJECTED','key','FromArray','_backgroundColor','width','UPDATE_CURSOR','serializeRangeWithSheet','roomMembers$','MessageType','syncEditingCollabCursor','stringify','_drawRectRange','currentSkeleton$','map','removeParam','subscribeEvent','debounceTime','mergeOverrideWithDependencies','isTransformMutationFailure','requireSession','result','@univerjs/drawing','onStarting','OnLineIcon','ITransformService','_transformHistoryAndStateStack','evenodd','UNRECOGNIZED','@univerjs/engine-render','length','_refRangeService','sessionStatus$','transform','replaceState','restore','_labelPosition','fillStyle','_entities','CHANGESET_REVISION_CONFILICT','moveTo','_name','TRANSFORM_CHANGE_OBSERVABLE_TYPE','MUTATION','getCollabCursors$','collabStatus.notCollab','engine','sessionTicket','current','INVALID_INVITE_CODE','/run/','APPLY_NON_SEQUENTIAL_REVISION','NodePositionConvertToRectRange','beginPath','@univerjs/sheets','max','_init','actions','ILogService','setAlpha','_dataLoaderService','subUnitId','getTypeOfUnitDisposed$','collab-text-anchor-','filter','_themeService','_collaborationController','set','26FKzlGp','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','988332ObpSpI','_removeCollabCursors','171474eQqNBB','_setupBeforeClosingHandler','_updateSubUnitFromURLParams','pushState','NodePositionConvertToCursor','deepClone','3463420EOqqlW','sheetID','_handleJoinEvent','_entityInit$','MemberService','@univerjs/docs-ui','_getSessionTicket','setParam','UniverIcon','ENSURE_SNAPSHOT_EXECUTION','ILocalCacheService','LOCAL_CACHE_INTERVAL','_beforeCloseService','m2Prime','attrs','_uiPartsService','hide','_injector','@univerjs/engine-formula','updateOfflineData','Subject','makeDirty','_heartbeatTimer','83850QXsAjm','tag','addObject','loadOfflineData','_id','transformStateCache','0\x200\x2016\x2016','url(#$1','_localeService','throttleTime','ONLINE','UniverInstanceType','CLOSE_ROOM','_collabCursorState$','params','search','data','LocaleService','activeSheet$','DocSkeletonManagerService','translate(.97)','@univerjs/docs','_docClipboardService','Module','_initStatusListener','_colorAssignService','React','clearInterval','_cursor','PENDING','getColor','EffectRefRangId','startColumn','defIds','getConfig','transformMutationsWithChangeset','white','CollaborationController','handleInsertCol','HTTPService','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','clipPath','UniverDocsUi','mutations','SetTextSelectionsOperation','14jajQsq','UniverCollaborationClientUIPlugin','EMAIL_HAS_BEEN_BOUND','UniverRpc','RefRangeService','_sheetSkeletonManagerService','_createSocketURL','collaboration.closeRoom','storage','getSheetId','delete','getOwnPropertySymbols','doc.mutation.rich-text-editing','replace','get','collabStatus.synced','_handleHeartbeatEvent','onLocalMutation','_initStatusComponent','PERMISSION_DENIED','_updateLocalCursor','row','INVITE_CODE_HAS_BEEN_UES','isTransformMutationsWithChangesetSuccess','session.collaboration-timeout','_saveCache','IConfigService','CollaborationStatusDisplay','UniverDrawing','DeleteRangeMoveUpCommandId','urlChange$','YUUMI_URL_COL_OUT_OF_RANGE','RemoveRowCommandId','getCoordByCell','M0\x200H16V16H0z','NO_OTHER_CLIENTS_EDITING','rxjs/operators','runId','_online','5399312kwWrTx','getUnitStatus$','add','_docSkeletonManagerService','43726TGHiyq','TOO_MANY_REQUESTS','with','_scene','TEXT_RANGE_LAYER_INDEX','history','CONFLICT','extend','includes','defs','cursorInfo$','jiqing.500','_univerInstanceService','replaceDocRanges','BrowserCollaborationSocketService','toDisposable'];_0x81fe=function(){return _0x4e9292;};return _0x81fe();}(function(_0x3ee025,_0x33a841){const _0x3cd7c2=_0x424a,_0x17c090=_0x3ee025();while(!![]){try{const _0x4c6b8d=-parseInt(_0x3cd7c2(0x2bc))/0x1*(-parseInt(_0x3cd7c2(0x243))/0x2)+parseInt(_0x3cd7c2(0x16c))/0x3*(parseInt(_0x3cd7c2(0x245))/0x4)+-parseInt(_0x3cd7c2(0x24d))/0x5+-parseInt(_0x3cd7c2(0x247))/0x6*(-parseInt(_0x3cd7c2(0x291))/0x7)+parseInt(_0x3cd7c2(0x2b8))/0x8+-parseInt(_0x3cd7c2(0x1fd))/0x9*(parseInt(_0x3cd7c2(0x264))/0xa)+parseInt(_0x3cd7c2(0x30e))/0xb*(-parseInt(_0x3cd7c2(0x1f0))/0xc);if(_0x4c6b8d===_0x33a841)break;else _0x17c090['push'](_0x17c090['shift']());}catch(_0x248749){_0x17c090['push'](_0x17c090['shift']());}}}(_0x81fe,0x6d95d),function(_0x22daa7,_0x3ba311){const _0x3796ac=_0x424a;typeof exports==_0x3796ac(0x1e9)&&typeof module<'u'?_0x3ba311(exports,require(_0x3796ac(0x19d)),require(_0x3796ac(0x1f5)),require(_0x3796ac(0x21c)),require(_0x3796ac(0x174)),require(_0x3796ac(0x252)),require(_0x3796ac(0x215)),require('rxjs'),require(_0x3796ac(0x279)),require(_0x3796ac(0x161)),require(_0x3796ac(0x25f)),require(_0x3796ac(0x235)),require(_0x3796ac(0x2b5)),require('@univerjs/sheets-ui'),require(_0x3796ac(0x354)),require(_0x3796ac(0x39b)),require(_0x3796ac(0x1ca)),require(_0x3796ac(0x1e2)),require(_0x3796ac(0x3b3))):typeof define==_0x3796ac(0x388)&&define[_0x3796ac(0x345)]?define(['exports','@univerjs-pro/collaboration-client',_0x3796ac(0x1f5),_0x3796ac(0x21c),_0x3796ac(0x174),_0x3796ac(0x252),_0x3796ac(0x215),_0x3796ac(0x1b7),_0x3796ac(0x279),'@univerjs-pro/collaboration',_0x3796ac(0x25f),_0x3796ac(0x235),_0x3796ac(0x2b5),'@univerjs/sheets-ui','react/jsx-runtime',_0x3796ac(0x39b),_0x3796ac(0x1ca),_0x3796ac(0x1e2),_0x3796ac(0x3b3)],_0x3ba311):(_0x22daa7=typeof globalThis<'u'?globalThis:_0x22daa7||self,_0x3ba311(_0x22daa7['UniverProCollaborationClientUi']={},_0x22daa7[_0x3796ac(0x17e)],_0x22daa7[_0x3796ac(0x152)],_0x22daa7['UniverEngineRender'],_0x22daa7[_0x3796ac(0x337)],_0x22daa7[_0x3796ac(0x28e)],_0x22daa7[_0x3796ac(0x2ad)],_0x22daa7[_0x3796ac(0x1b7)],_0x22daa7['UniverDocs'],_0x22daa7['UniverProCollaboration'],_0x22daa7[_0x3796ac(0x370)],_0x22daa7[_0x3796ac(0x2cf)],_0x22daa7[_0x3796ac(0x1b7)][_0x3796ac(0x14a)],_0x22daa7[_0x3796ac(0x1be)],_0x22daa7[_0x3796ac(0x27e)],_0x22daa7[_0x3796ac(0x305)],_0x22daa7['UniverDesign'],_0x22daa7[_0x3796ac(0x27e)],_0x22daa7[_0x3796ac(0x294)]));}(this,function(_0x57e2df,_0x19b52f,_0x333829,_0x1e4d9a,_0x498070,_0x5cd28b,_0x3e2c6c,_0x21dbc8,_0x3cc684,_0x2efac4,_0x3186be,_0x36f408,_0x74988e,_0x76017c,_0x155526,_0x47db79,_0xffead9,_0x57419d,_0x2f33ce){'use strict';const _0x52fe9a=_0x424a;var _0x23bb70=Object[_0x52fe9a(0x2ed)],_0x445169=(_0xf00fb1,_0x539043,_0x16dea3)=>_0x539043 in _0xf00fb1?_0x23bb70(_0xf00fb1,_0x539043,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16dea3}):_0xf00fb1[_0x539043]=_0x16dea3,_0x4e27f7=(_0x3b4a42,_0x12f5bd,_0x324f39)=>_0x445169(_0x3b4a42,typeof _0x12f5bd!=_0x52fe9a(0x327)?_0x12f5bd+'':_0x12f5bd,_0x324f39),_0x158c2b=Object['getOwnPropertyDescriptor'],_0x500a39=(_0x1fbbab,_0x42cfa2,_0x443584,_0x47f8c8)=>{for(var _0x3731f8=_0x47f8c8>0x1?void 0x0:_0x47f8c8?_0x158c2b(_0x42cfa2,_0x443584):_0x42cfa2,_0x952ac0=_0x1fbbab['length']-0x1,_0x3c4e97;_0x952ac0>=0x0;_0x952ac0--)(_0x3c4e97=_0x1fbbab[_0x952ac0])&&(_0x3731f8=_0x3c4e97(_0x3731f8)||_0x3731f8);return _0x3731f8;},_0x4b8cc5=(_0x1bff8c,_0x47e8e0)=>(_0x516a12,_0x1f2994)=>_0x47e8e0(_0x516a12,_0x1f2994,_0x1bff8c);let _0x291a06=class extends _0x333829['RxDisposable']{constructor(_0x1e8b3d,_0x588215){const _0x215f14=_0x52fe9a;super(),this[_0x215f14(0x27a)]=_0x1e8b3d,this['_imageIoService']=_0x588215,this[_0x215f14(0x237)]();}[_0x52fe9a(0x237)](){const _0x33e0b6=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x2f3802=>{const _0x3f67b5=await _0x33e0b6['_imageIoService']['saveImage'](_0x2f3802);return _0x3f67b5?{'source':_0x3f67b5['source'],'imageSourceType':_0x3f67b5['imageSourceType']}:null;}}));}};_0x291a06=_0x500a39([_0x4b8cc5(0x0,_0x5cd28b[_0x52fe9a(0x1d8)]),_0x4b8cc5(0x1,_0x3e2c6c[_0x52fe9a(0x33e)])],_0x291a06);const _0x30b9d4=[_0x52fe9a(0x308),_0x52fe9a(0x2c7),_0x52fe9a(0x339),_0x52fe9a(0x2d0),_0x52fe9a(0x2d6),'yellow.400'];class _0x35591e extends _0x333829['Disposable']{constructor(){const _0x463423=_0x52fe9a;super(...arguments),_0x4e27f7(this,_0x463423(0x352),new Map()),_0x4e27f7(this,_0x463423(0x2dd),0x0);}[_0x52fe9a(0x395)](_0x535c82){const _0x230f82=_0x52fe9a;if(this['_assignedColors'][_0x230f82(0x141)](_0x535c82))return this[_0x230f82(0x352)]['get'](_0x535c82);const _0x2511fd=_0x30b9d4[this[_0x230f82(0x2dd)]];return this[_0x230f82(0x2dd)]=(this[_0x230f82(0x2dd)]+0x1)%_0x30b9d4['length'],this[_0x230f82(0x352)][_0x230f82(0x242)](_0x535c82,_0x2511fd),_0x2511fd;}}function _0x3d8609(_0x32fa9){const _0x50a4b2=_0x52fe9a;let _0x2b2540='';for(const _0x39fd72 of _0x32fa9){const {startOffset:_0x44a327,endOffset:_0x450311,isActive:_0x37528f,rangeType:_0x26a0f3,segmentId:_0xef42cc,segmentPage:_0x26a596}=_0x39fd72;_0x2b2540[_0x50a4b2(0x21d)]&&(_0x2b2540+=','),_0x2b2540+=_0x44a327+':'+_0x450311+':'+(_0x37528f?'1':'0')+':'+_0x26a0f3+':'+_0xef42cc+':'+_0x26a596;}return _0x2b2540;}function _0x487fad(_0x272cee){const _0x1e64da=_0x52fe9a,_0x12f8e1=_0x272cee['split'](','),_0x595c44=[];for(const _0x8c12ed of _0x12f8e1){const [_0x3edd9a,_0x5c2394,_0x5da62e,_0x428268,_0x31bc92,_0x4c6bc9]=_0x8c12ed['split'](':');_0x595c44['push']({'startOffset':Number(_0x3edd9a),'endOffset':Number(_0x5c2394),'collapsed':_0x3edd9a===_0x5c2394,'isActive':_0x5da62e==='1','rangeType':_0x428268===_0x333829[_0x1e64da(0x1de)]['TEXT']?_0x333829[_0x1e64da(0x1de)]['TEXT']:_0x333829['DOC_RANGE_TYPE'][_0x1e64da(0x333)],'segmentId':typeof _0x31bc92=='string'?String(_0x31bc92):'','segmentPage':Number(_0x4c6bc9!=null?_0x4c6bc9:-0x1)});}return _0x595c44[_0x1e64da(0x36a)](_0x3d545e=>_0x3d545e[_0x1e64da(0x386)])||(_0x595c44[0x0]['isActive']=!0x0),_0x595c44;}class _0x23fd98 extends _0x333829[_0x52fe9a(0x35f)]{constructor(){const _0xb2896e=_0x52fe9a;super(...arguments),_0x4e27f7(this,_0xb2896e(0x271),new _0x21dbc8[(_0xb2896e(0x2e8))](null)),_0x4e27f7(this,_0xb2896e(0x13c),this[_0xb2896e(0x271)][_0xb2896e(0x180)]());}[_0x52fe9a(0x209)](_0x327f3d){const _0x43feab=_0x52fe9a,{unitID:_0x21a5a6,memberID:_0x18260c,textRanges:_0x4658eb}=_0x327f3d,_0x2f4c7f=_0x3d8609(_0x4658eb);if(_0x2f4c7f==='')return;const _0x5438cf={'unitID':_0x21a5a6,'memberID':_0x18260c,'selection':_0x2f4c7f};this['_collabCursorState$'][_0x43feab(0x150)](_0x5438cf);}}var _0x341213=Object['getOwnPropertyDescriptor'],_0x49afd7=(_0x29df42,_0x11f242,_0x5c3f26,_0x3569cf)=>{const _0x554306=_0x52fe9a;for(var _0x566e92=_0x3569cf>0x1?void 0x0:_0x3569cf?_0x341213(_0x11f242,_0x5c3f26):_0x11f242,_0x2d3891=_0x29df42[_0x554306(0x21d)]-0x1,_0x5be380;_0x2d3891>=0x0;_0x2d3891--)(_0x5be380=_0x29df42[_0x2d3891])&&(_0x566e92=_0x5be380(_0x566e92)||_0x566e92);return _0x566e92;},_0x5213ed=(_0x55ab48,_0x427062)=>(_0x5a01cf,_0x52cac)=>_0x427062(_0x5a01cf,_0x52cac,_0x55ab48);const _0x49f87e=0x12c,_0x182bcb=0x64;let _0x130737=class extends _0x333829[_0x52fe9a(0x35f)]{constructor(_0x521d53,_0x46f02a,_0x105dc4,_0x410a93,_0x204dd6,_0x23f718,_0x26d5a3,_0xb0456,_0x41b8c9){const _0x19ef68=_0x52fe9a;super(),_0x4e27f7(this,_0x19ef68(0x2b7),!0x1),_0x4e27f7(this,_0x19ef68(0x237),!0x1),_0x4e27f7(this,_0x19ef68(0x302),new _0x21dbc8['BehaviorSubject'](new Map())),_0x4e27f7(this,_0x19ef68(0x2c6),this[_0x19ef68(0x302)][_0x19ef68(0x180)]()),_0x4e27f7(this,_0x19ef68(0x1f2),new _0x21dbc8['BehaviorSubject']([])),_0x4e27f7(this,_0x19ef68(0x207),this[_0x19ef68(0x1f2)][_0x19ef68(0x131)](_0x21dbc8[_0x19ef68(0x210)](_0x49f87e))),_0x4e27f7(this,'_updateLocalCursor',_0x333829[_0x19ef68(0x2e3)](_0x236949=>{const _0x98ad00=_0x19ef68,_0x467398={'eventID':_0x2efac4['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x98ad00(0x1e4)],'memberID':this['_session'][_0x98ad00(0x357)](),'selection':_0x3d8609(_0x236949)}};this[_0x98ad00(0x1e7)][_0x98ad00(0x1e3)](_0x467398,this[_0x98ad00(0x1e4)]);},_0x182bcb)),(this['unitID']=_0x521d53,this[_0x19ef68(0x1e7)]=_0x46f02a,this[_0x19ef68(0x25e)]=_0x105dc4,this[_0x19ef68(0x27d)]=_0x410a93,this['_memberService']=_0x204dd6,this[_0x19ef68(0x14d)]=_0x23f718,this[_0x19ef68(0x176)]=_0x26d5a3,this[_0x19ef68(0x2c8)]=_0xb0456,this[_0x19ef68(0x1fc)]=_0x41b8c9);}get[_0x52fe9a(0x39c)](){const _0x14cc26=_0x52fe9a;return this[_0x14cc26(0x302)]['getValue']();}get[_0x52fe9a(0x3a0)](){const _0x1234d6=_0x52fe9a;return this[_0x1234d6(0x1f2)][_0x1234d6(0x1a2)]();}['dispose'](){const _0x35c8b1=_0x52fe9a;super[_0x35c8b1(0x16a)](),this['_cursorInfo$']['next'](new Map()),this[_0x35c8b1(0x302)]['complete'](),this[_0x35c8b1(0x1f2)][_0x35c8b1(0x150)]([]),this[_0x35c8b1(0x1f2)][_0x35c8b1(0x38e)]();}[_0x52fe9a(0x2d3)](){const _0x3c0696=_0x52fe9a;this[_0x3c0696(0x237)]||(this[_0x3c0696(0x237)]=!0x0,this[_0x3c0696(0x1e7)][_0x3c0696(0x21f)]['pipe'](_0x21dbc8['takeUntil'](this[_0x3c0696(0x3b5)]))[_0x3c0696(0x140)](_0x327e6b=>{const _0xdfaed7=_0x3c0696;_0x327e6b===_0x19b52f['SessionStatus']['ONLINE']?this[_0xdfaed7(0x147)]():this[_0xdfaed7(0x135)]();}),this[_0x3c0696(0x1e7)][_0x3c0696(0x304)][_0x3c0696(0x131)](_0x21dbc8['takeUntil'](this[_0x3c0696(0x3b5)]))[_0x3c0696(0x140)](_0x4504e0=>{const _0x1e02f3=_0x3c0696,_0x197304=_0x4504e0[_0x1e02f3(0x1b1)];_0x197304===_0x2efac4[_0x1e02f3(0x2e2)][_0x1e02f3(0x205)]&&this['_onCursorUpdate'](_0x4504e0),_0x197304===_0x2efac4[_0x1e02f3(0x2e2)][_0x1e02f3(0x3a4)]&&this[_0x1e02f3(0x349)](_0x4504e0);}),this[_0x3c0696(0x33a)](this[_0x3c0696(0x1fc)][_0x3c0696(0x330)](_0x4391bc=>{const _0x395ad1=_0x3c0696,_0x447bae=_0x4391bc[_0x395ad1(0x272)];_0x447bae!=null&&this[_0x395ad1(0x2b7)]&&_0x4391bc['id']===_0x3cc684[_0x395ad1(0x290)]['id']&&_0x447bae['unitId']===this['unitID']&&_0x447bae[_0x395ad1(0x2fe)]===!0x1&&_0x447bae['ranges'][_0x395ad1(0x21d)]>0x0&&this[_0x395ad1(0x2a5)](_0x447bae[_0x395ad1(0x1ef)]);})),this[_0x3c0696(0x14d)]['collabCursorState$'][_0x3c0696(0x131)](_0x21dbc8[_0x3c0696(0x315)](this['dispose$']))['subscribe'](_0x145708=>{const _0x4dbc55=_0x3c0696;if((_0x145708==null?void 0x0:_0x145708[_0x4dbc55(0x1e4)])!==this['unitID'])return;const _0x70d5e6={'eventID':_0x2efac4[_0x4dbc55(0x2e2)][_0x4dbc55(0x205)],'data':_0x145708};this['_onCursorUpdate'](_0x70d5e6);}),this[_0x3c0696(0x33a)](this['_commandService']['onCommandExecuted'](_0x5994c7=>{const _0x149f5c=_0x3c0696;if(_0x5994c7[_0x149f5c(0x272)]==null)return;const _0x215fca=_0x5994c7[_0x149f5c(0x272)];if(_0x5994c7['id']!==_0x3cc684[_0x149f5c(0x32c)]['id']||_0x215fca[_0x149f5c(0x356)]!==this[_0x149f5c(0x1e4)])return;const _0x5285c9={'id':_0x149f5c(0x29d),'params':_0x215fca},_0x49be64=this[_0x149f5c(0x39c)];for(const [_0x441ab4,_0xc89795]of _0x49be64){const _0x2f770c={'id':_0x149f5c(0x29d),'params':{'unitId':this[_0x149f5c(0x1e4)],'actions':null,'textRanges':_0xc89795[_0x149f5c(0x1ef)]}},_0x4c9846=this['_transformService']['transformMutation'](_0x5285c9,_0x2f770c,!0x1);if(_0x2efac4[_0x149f5c(0x212)](_0x4c9846))throw _0x4c9846[_0x149f5c(0x39e)];_0x49be64['set'](_0x441ab4,{..._0xc89795,'ranges':_0x4c9846[_0x149f5c(0x25a)][_0x149f5c(0x272)]['textRanges']});}queueMicrotask(()=>{const _0x44136f=_0x149f5c;this[_0x44136f(0x302)][_0x44136f(0x150)](_0x49be64);});})));}[_0x52fe9a(0x132)](_0x33c2c0){const _0x3d543d=_0x52fe9a;var _0x318d0d,_0x37a5f5;const {memberID:_0x5294ee,selection:_0x46f78a}=_0x33c2c0[_0x3d543d(0x274)],_0x124f20=_0x487fad(_0x46f78a),_0x19a745=(_0x37a5f5=(_0x318d0d=this[_0x3d543d(0x2d4)][_0x3d543d(0x324)](this[_0x3d543d(0x1e4)],_0x5294ee))==null?void 0x0:_0x318d0d[_0x3d543d(0x3a9)])!=null?_0x37a5f5:'Unknown\x20user',_0x4211a4={'color':this[_0x3d543d(0x27d)]['assignAColorForMemberID'](_0x5294ee),'name':_0x19a745,'ranges':_0x124f20},_0x4c1f1f=this[_0x3d543d(0x39c)];_0x4c1f1f[_0x3d543d(0x242)](_0x5294ee,_0x4211a4),this['_cursorInfo$']['next'](_0x4c1f1f);}[_0x52fe9a(0x349)](_0x3372db){const _0x13b0ff=_0x52fe9a,{memberID:_0x302207}=_0x3372db['data'],_0x223050=this[_0x13b0ff(0x39c)];_0x223050[_0x13b0ff(0x29b)](_0x302207),this[_0x13b0ff(0x302)]['next'](_0x223050);}[_0x52fe9a(0x147)](){const _0x4948b9=_0x52fe9a;var _0xc0926a;if(this[_0x4948b9(0x2b7)]=!0x0,((_0xc0926a=this[_0x4948b9(0x2c8)]['getFocusedUnit']())==null?void 0x0:_0xc0926a[_0x4948b9(0x321)]())!==this['unitID'])return;const _0x3662e3=this['_injector'][_0x4948b9(0x29f)](_0x3cc684[_0x4948b9(0x143)])['getDocRanges']();Array['isArray'](_0x3662e3)&&_0x3662e3[_0x4948b9(0x21d)]>0x0&&this[_0x4948b9(0x2a5)](_0x3662e3);}['_toggleOffline'](){const _0x31fcde=_0x52fe9a;this[_0x31fcde(0x2b7)]=!0x1;}};_0x130737=_0x49afd7([_0x5213ed(0x2,_0x333829['Inject'](_0x333829[_0x52fe9a(0x335)])),_0x5213ed(0x3,_0x333829[_0x52fe9a(0x359)](_0x35591e)),_0x5213ed(0x4,_0x333829[_0x52fe9a(0x359)](_0x19b52f['MemberService'])),_0x5213ed(0x5,_0x333829[_0x52fe9a(0x359)](_0x23fd98)),_0x5213ed(0x6,_0x2efac4[_0x52fe9a(0x218)]),_0x5213ed(0x7,_0x333829[_0x52fe9a(0x155)]),_0x5213ed(0x8,_0x333829['ICommandService'])],_0x130737);var _0x53adbe=Object[_0x52fe9a(0x2e5)],_0x5229c7=(_0x26d27a,_0x1428ac,_0x2bf532,_0x3c21d)=>{for(var _0x3095f6=_0x3c21d>0x1?void 0x0:_0x3c21d?_0x53adbe(_0x1428ac,_0x2bf532):_0x1428ac,_0x450422=_0x26d27a['length']-0x1,_0x34684c;_0x450422>=0x0;_0x450422--)(_0x34684c=_0x26d27a[_0x450422])&&(_0x3095f6=_0x34684c(_0x3095f6)||_0x3095f6);return _0x3095f6;},_0x2e59f9=(_0x1ab1ce,_0x4bb171)=>(_0x129e78,_0x335501)=>_0x4bb171(_0x129e78,_0x335501,_0x1ab1ce);const _0x5ae2aa=0x12c,_0x35f426=0x64,_0x37beba=()=>{let _0xaefe24=[],_0x41dbde=!0x1;return _0x6a066a=>{const _0xfb06ab=_0x424a;_0xaefe24[_0xfb06ab(0x19e)](_0x6a066a),_0x41dbde||(_0x41dbde=!0x0,setTimeout(()=>{_0xaefe24['forEach'](_0x1c1018=>_0x1c1018()),_0xaefe24=[],_0x41dbde=!0x1;}));};};let _0x4e802b=class extends _0x333829['RxDisposable']{constructor(_0x1d5d23,_0xd00bd4,_0x173b30,_0xc0f0f4,_0x427bb5,_0x5e84a3,_0x440b80,_0x1a3eaf){const _0x2a2438=_0x52fe9a;super(),_0x4e27f7(this,'_online',!0x1),_0x4e27f7(this,_0x2a2438(0x237),!0x1),_0x4e27f7(this,_0x2a2438(0x302),new _0x21dbc8['BehaviorSubject'](new Map())),_0x4e27f7(this,_0x2a2438(0x2c6),this[_0x2a2438(0x302)]['asObservable']()),_0x4e27f7(this,_0x2a2438(0x1f2),new _0x21dbc8[(_0x2a2438(0x2e8))]([])),_0x4e27f7(this,_0x2a2438(0x207),this['_roomMembers$'][_0x2a2438(0x131)](_0x21dbc8[_0x2a2438(0x210)](_0x5ae2aa))),_0x4e27f7(this,_0x2a2438(0x2a5),_0x333829['debounce']((_0x4c6e6a,_0x4c9c20)=>{const _0x3eccbc=_0x2a2438,_0x1b9163={'eventID':_0x2efac4[_0x3eccbc(0x2e2)][_0x3eccbc(0x205)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x3186be[_0x3eccbc(0x206)](_0x4c6e6a,_0x4c9c20[_0x3eccbc(0x391)])}};this['_session'][_0x3eccbc(0x1e3)](_0x1b9163,this[_0x3eccbc(0x1e4)]);},_0x35f426)),(this['unitID']=_0x1d5d23,this['_session']=_0xd00bd4,this[_0x2a2438(0x25e)]=_0x173b30,this[_0x2a2438(0x27d)]=_0xc0f0f4,this[_0x2a2438(0x2d4)]=_0x427bb5,this[_0x2a2438(0x2c8)]=_0x5e84a3,this[_0x2a2438(0x1fc)]=_0x440b80,this[_0x2a2438(0x21e)]=_0x1a3eaf);}get[_0x52fe9a(0x39c)](){const _0x40054e=_0x52fe9a;return this[_0x40054e(0x302)][_0x40054e(0x1a2)]();}get[_0x52fe9a(0x3a0)](){const _0x23d83d=_0x52fe9a;return this[_0x23d83d(0x1f2)]['getValue']();}[_0x52fe9a(0x16a)](){const _0x38678e=_0x52fe9a;super[_0x38678e(0x16a)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x38678e(0x38e)](),this['_roomMembers$']['next']([]),this[_0x38678e(0x1f2)]['complete']();}[_0x52fe9a(0x2d3)](){const _0x288de3=_0x52fe9a;this['_init']||(this['_init']=!0x0,this[_0x288de3(0x1e7)][_0x288de3(0x21f)]['pipe'](_0x21dbc8[_0x288de3(0x315)](this['dispose$']))[_0x288de3(0x140)](_0x4825c2=>{const _0x21ab72=_0x288de3;_0x4825c2===_0x19b52f[_0x21ab72(0x1bb)][_0x21ab72(0x26e)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x288de3(0x1e7)]['event$'][_0x288de3(0x131)](_0x21dbc8['takeUntil'](this[_0x288de3(0x3b5)]))[_0x288de3(0x140)](_0x218943=>{const _0x449faa=_0x288de3,_0x33387e=_0x218943[_0x449faa(0x1b1)];_0x33387e===_0x2efac4[_0x449faa(0x2e2)][_0x449faa(0x205)]&&this[_0x449faa(0x132)](_0x218943),_0x33387e===_0x2efac4[_0x449faa(0x2e2)][_0x449faa(0x3a4)]&&this[_0x449faa(0x349)](_0x218943);}),this[_0x288de3(0x1c3)](),this[_0x288de3(0x33a)](this['_commandService'][_0x288de3(0x330)](_0x1e5553=>{const _0x2bdb46=_0x288de3;if(this[_0x2bdb46(0x2b7)]&&_0x1e5553['id']===_0x36f408[_0x2bdb46(0x379)]['id']&&_0x1e5553[_0x2bdb46(0x272)][_0x2bdb46(0x356)]===this[_0x2bdb46(0x1e4)]){const _0x36230e=_0x1e5553[_0x2bdb46(0x272)];this[_0x2bdb46(0x2a5)](_0x36230e[_0x2bdb46(0x23c)],_0x36230e['selections'][0x0]);}})));}[_0x52fe9a(0x132)](_0x94f7f){const _0x1182d8=_0x52fe9a;var _0x2632f4,_0x3d9576;const {memberID:_0x13c946,selection:_0x4f7645}=_0x94f7f[_0x1182d8(0x274)],{sheetName:_0x39a178,range:_0x77d9f9}=_0x3186be[_0x1182d8(0x18c)](_0x4f7645),_0x531518={'name':(_0x3d9576=(_0x2632f4=this['_memberService'][_0x1182d8(0x324)](this[_0x1182d8(0x1e4)],_0x13c946))==null?void 0x0:_0x2632f4['name'])!=null?_0x3d9576:_0x1182d8(0x151),'range':this[_0x1182d8(0x1dc)](_0x39a178,_0x77d9f9),'sheetID':_0x39a178,'color':this[_0x1182d8(0x27d)][_0x1182d8(0x395)](_0x13c946),'selection':_0x4f7645},_0x141a2e=this[_0x1182d8(0x39c)];_0x141a2e[_0x1182d8(0x242)](_0x13c946,_0x531518),this['_cursorInfo$']['next'](_0x141a2e);}['_onCursorDelete'](_0x19eea4){const _0x147137=_0x52fe9a,{memberID:_0xfc9d63}=_0x19eea4[_0x147137(0x274)],_0x302e33=this[_0x147137(0x39c)];_0x302e33[_0x147137(0x29b)](_0xfc9d63),this[_0x147137(0x302)]['next'](_0x302e33);}['_getMergeRange'](_0x3486fb,_0x11f6c1){const _0x454854=_0x52fe9a;var _0x32bd03,_0x50c5bf;const _0x191a14=(_0x50c5bf=(_0x32bd03=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x32bd03[_0x454854(0x37e)](_0x3486fb))==null?void 0x0:_0x50c5bf['getMergeData']();return(_0x191a14==null?void 0x0:_0x191a14[_0x454854(0x145)](_0x549307=>_0x333829[_0x454854(0x130)][_0x454854(0x1bf)](_0x549307,_0x11f6c1)))||_0x11f6c1;}[_0x52fe9a(0x1c3)](){const _0x462914=_0x52fe9a,_0x17336a=new _0x333829[(_0x462914(0x1ae))](),_0x4bedc4=_0x37beba(),_0x1d516f=()=>{const _0xa6ac59=_0x462914;_0x17336a[_0xa6ac59(0x16a)]();const _0x39e1bc=(_0x30085d,_0x3a0dba,_0x3f9f55,_0x584ec7)=>{const _0x361f8d=_0xa6ac59;let _0xc9024b=[];switch(_0x30085d['id']){case _0x36f408[_0x361f8d(0x283)]['DeleteRangeMoveLeftCommandId']:{_0xc9024b=_0x36f408['handleDeleteRangeMoveLeft'](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)][_0x361f8d(0x2ae)]:{_0xc9024b=_0x36f408['handleDeleteRangeMoveUp'](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)]['InsertColCommandId']:{_0xc9024b=_0x36f408[_0x361f8d(0x28a)](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)][_0x361f8d(0x313)]:{_0xc9024b=_0x36f408[_0x361f8d(0x1b3)](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)][_0x361f8d(0x156)]:{_0xc9024b=_0x36f408[_0x361f8d(0x1f6)](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)]['InsertRowCommandId']:{_0xc9024b=_0x36f408['handleInsertRow'](_0x30085d,_0x584ec7);break;}case _0x36f408[_0x361f8d(0x283)][_0x361f8d(0x1a0)]:{_0xc9024b=_0x36f408[_0x361f8d(0x134)](_0x30085d,_0x584ec7);break;}case _0x36f408['EffectRefRangId']['RemoveColCommandId']:{_0xc9024b=_0x36f408[_0x361f8d(0x14e)](_0x30085d,_0x584ec7);break;}case _0x36f408['EffectRefRangId'][_0x361f8d(0x2b1)]:{_0xc9024b=_0x36f408[_0x361f8d(0x172)](_0x30085d,_0x584ec7);break;}}const _0x21839a=_0x36f408[_0x361f8d(0x363)](_0xc9024b,_0x584ec7),_0xb92c0e=this[_0x361f8d(0x39c)][_0x361f8d(0x29f)](_0x3a0dba);if(_0xb92c0e&&_0x21839a){const _0x1ab435={..._0xb92c0e,'range':_0x21839a};this[_0x361f8d(0x39c)][_0x361f8d(0x242)](_0x3a0dba,_0x1ab435),_0x4bedc4(()=>{const _0x3037b0=_0x361f8d,_0x2af30c=this['_refRangeService'][_0x3037b0(0x376)](_0x21839a,_0x26356b=>(_0x2af30c[_0x3037b0(0x16a)](),_0x39e1bc(_0x26356b,_0x3a0dba,_0x3f9f55,_0x21839a)));_0x17336a['add'](_0x2af30c);});}return{'redos':[],'undos':[]};};this[_0xa6ac59(0x39c)][_0xa6ac59(0x1ea)]((_0x8977b4,_0x26ca94)=>{const _0x1a7883=_0xa6ac59,{range:_0xdd4071,sheetID:_0x49ded1}=_0x8977b4,_0x5820c8=this[_0x1a7883(0x21e)]['registerRefRange'](_0xdd4071,_0x55efb1=>(_0x5820c8[_0x1a7883(0x16a)](),_0x39e1bc(_0x55efb1,_0x26ca94,_0x49ded1,_0xdd4071)));_0x17336a['add'](_0x5820c8);});};this[_0x462914(0x33a)](_0x333829[_0x462914(0x2cb)](this[_0x462914(0x302)][_0x462914(0x140)](()=>{_0x1d516f();})));}['_toggleOnline'](){const _0xa6f293=_0x52fe9a;var _0xcfa60a,_0x40df81;if(this[_0xa6f293(0x2b7)]=!0x0,((_0xcfa60a=this[_0xa6f293(0x2c8)][_0xa6f293(0x30d)]())==null?void 0x0:_0xcfa60a[_0xa6f293(0x321)]())!==this['unitID'])return;const _0x24b8d8=(_0x40df81=this[_0xa6f293(0x25e)][_0xa6f293(0x29f)](_0x36f408[_0xa6f293(0x166)])['getCurrentSelections']())==null?void 0x0:_0x40df81[0x0],_0x1cd1ca=this[_0xa6f293(0x2c8)][_0xa6f293(0x3bb)](_0x333829['UniverInstanceType'][_0xa6f293(0x35c)])[_0xa6f293(0x32f)]();_0x24b8d8&&_0x1cd1ca&&this['_updateLocalCursor'](_0x1cd1ca[_0xa6f293(0x29a)](),_0x24b8d8);}['_toggleOffline'](){const _0x53057b=_0x52fe9a;this[_0x53057b(0x2b7)]=!0x1;}};_0x4e802b=_0x5229c7([_0x2e59f9(0x2,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x2e59f9(0x3,_0x333829['Inject'](_0x35591e)),_0x2e59f9(0x4,_0x333829[_0x52fe9a(0x359)](_0x19b52f[_0x52fe9a(0x251)])),_0x2e59f9(0x5,_0x333829[_0x52fe9a(0x155)]),_0x2e59f9(0x6,_0x333829[_0x52fe9a(0x12b)]),_0x2e59f9(0x7,_0x333829[_0x52fe9a(0x359)](_0x36f408[_0x52fe9a(0x295)]))],_0x4e802b);var _0x4d9000=Object['getOwnPropertyDescriptor'],_0x3de8fc=(_0x47980d,_0x671286,_0x5cf423,_0x1a26f2)=>{const _0x3126f9=_0x52fe9a;for(var _0x4b7d59=_0x1a26f2>0x1?void 0x0:_0x1a26f2?_0x4d9000(_0x671286,_0x5cf423):_0x671286,_0xce8f1=_0x47980d[_0x3126f9(0x21d)]-0x1,_0x16e977;_0xce8f1>=0x0;_0xce8f1--)(_0x16e977=_0x47980d[_0xce8f1])&&(_0x4b7d59=_0x16e977(_0x4b7d59)||_0x4b7d59);return _0x4b7d59;},_0x4a6ca9=(_0x3facd7,_0x34709c)=>(_0x143157,_0x237ca8)=>_0x34709c(_0x143157,_0x237ca8,_0x3facd7);let _0x50aeb5=class extends _0x333829['RxDisposable']{constructor(_0x17ffab,_0x5a41d7,_0x371c22){const _0x1732c4=_0x52fe9a;super(),_0x4e27f7(this,_0x1732c4(0x225),new Map()),_0x4e27f7(this,_0x1732c4(0x250),new _0x21dbc8[(_0x1732c4(0x261))]()),(this[_0x1732c4(0x2c8)]=_0x17ffab,this['_injector']=_0x5a41d7,this[_0x1732c4(0x1bc)]=_0x371c22,this[_0x1732c4(0x237)]());}[_0x52fe9a(0x16a)](){const _0x588ef9=_0x52fe9a;super[_0x588ef9(0x16a)](),this[_0x588ef9(0x250)][_0x588ef9(0x38e)](),this[_0x588ef9(0x225)][_0x588ef9(0x1ea)](_0x35dca7=>_0x35dca7[_0x588ef9(0x16a)]());}[_0x52fe9a(0x22b)](_0x5af8d7){const _0x4fe353=_0x52fe9a;return this[_0x4fe353(0x225)][_0x4fe353(0x141)](_0x5af8d7)?this[_0x4fe353(0x225)][_0x4fe353(0x29f)](_0x5af8d7)[_0x4fe353(0x2c6)]:this[_0x4fe353(0x250)][_0x4fe353(0x131)](_0x21dbc8['filter'](_0x37c65e=>_0x37c65e[_0x4fe353(0x1e4)]===_0x5af8d7),_0x21dbc8['switchMap'](_0x473596=>_0x473596[_0x4fe353(0x2c6)]));}['_init'](){const _0x7eba4e=_0x52fe9a;this['_univerInstanceService'][_0x7eba4e(0x1f8)](_0x333829[_0x7eba4e(0x26f)]['UNIVER_SHEET'])[_0x7eba4e(0x131)](_0x21dbc8[_0x7eba4e(0x315)](this[_0x7eba4e(0x3b5)]))['subscribe'](async _0x19f992=>{const _0x567952=_0x7eba4e,_0x249817=_0x19f992[_0x567952(0x321)](),_0x3d29a3=await this[_0x567952(0x365)](_0x249817);this[_0x567952(0x250)][_0x567952(0x150)](_0x3d29a3),this[_0x567952(0x225)][_0x567952(0x242)](_0x249817,_0x3d29a3);}),this[_0x7eba4e(0x2c8)][_0x7eba4e(0x1f8)](_0x333829[_0x7eba4e(0x26f)][_0x7eba4e(0x393)])[_0x7eba4e(0x131)](_0x21dbc8[_0x7eba4e(0x315)](this[_0x7eba4e(0x3b5)]))[_0x7eba4e(0x131)](_0x21dbc8[_0x7eba4e(0x23f)](_0x4c5d05=>!_0x4c5d05[_0x7eba4e(0x321)]()['startsWith']('__')))[_0x7eba4e(0x140)](async _0x271d50=>{const _0x4b28bd=_0x7eba4e,_0x3b6da4=_0x271d50[_0x4b28bd(0x321)](),_0x221b07=await this['_startDocCollabCursor'](_0x3b6da4);this[_0x4b28bd(0x250)]['next'](_0x221b07),this[_0x4b28bd(0x225)][_0x4b28bd(0x242)](_0x3b6da4,_0x221b07);}),_0x21dbc8['merge'](this[_0x7eba4e(0x2c8)][_0x7eba4e(0x23d)](_0x333829[_0x7eba4e(0x26f)][_0x7eba4e(0x393)]),this[_0x7eba4e(0x2c8)][_0x7eba4e(0x23d)](_0x333829['UniverInstanceType'][_0x7eba4e(0x35c)]))[_0x7eba4e(0x131)](_0x21dbc8[_0x7eba4e(0x315)](this[_0x7eba4e(0x3b5)]))[_0x7eba4e(0x140)](_0x3e3c65=>{const _0x4c9e41=_0x7eba4e,_0x4d524b=_0x3e3c65[_0x4c9e41(0x321)](),_0x5cd392=this[_0x4c9e41(0x225)]['get'](_0x4d524b);_0x5cd392&&(_0x5cd392[_0x4c9e41(0x16a)](),this[_0x4c9e41(0x225)]['delete'](_0x4d524b));});}async[_0x52fe9a(0x365)](_0x459e65){const _0x14f5da=_0x52fe9a,_0x2ccdd6=await this[_0x14f5da(0x1bc)][_0x14f5da(0x213)](_0x459e65),_0x147c3c=this[_0x14f5da(0x25e)]['createInstance'](_0x4e802b,_0x459e65,_0x2ccdd6);return _0x147c3c[_0x14f5da(0x2d3)](),_0x147c3c;}async[_0x52fe9a(0x3a7)](_0x8944b1){const _0x6b5eb7=_0x52fe9a,_0x4bdfa3=await this['_collabSessionService']['requireSession'](_0x8944b1),_0x302790=this['_injector'][_0x6b5eb7(0x13d)](_0x130737,_0x8944b1,_0x4bdfa3);return _0x302790[_0x6b5eb7(0x2d3)](),_0x302790;}};_0x50aeb5=_0x3de8fc([_0x4a6ca9(0x0,_0x333829[_0x52fe9a(0x155)]),_0x4a6ca9(0x1,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x4a6ca9(0x2,_0x333829['Inject'](_0x19b52f[_0x52fe9a(0x158)]))],_0x50aeb5);const _0x5ff90a=0x14,_0x4bc375=0xc8,_0x3150ee=0x4,_0x29c347=0x5;function _0x9d64f0(_0x36ed38,_0x3eff2f){const _0x3b8203=_0x52fe9a;let {radius:_0x39d117,width:_0x580042,height:_0x288d80}=_0x3eff2f;_0x39d117=_0x39d117!=null?_0x39d117:0x0,_0x580042=_0x580042!=null?_0x580042:0x1e,_0x288d80=_0x288d80!=null?_0x288d80:0x1e;let _0x30fe66=0x0,_0x55944f=0x0,_0x1d4b70=0x0;_0x30fe66=_0x55944f=_0x1d4b70=Math[_0x3b8203(0x148)](_0x39d117,_0x580042/0x2,_0x288d80/0x2),_0x36ed38[_0x3b8203(0x234)](),_0x36ed38[_0x3b8203(0x227)](_0x30fe66,0x0),_0x36ed38[_0x3b8203(0x382)](_0x580042-_0x55944f,0x0),_0x36ed38[_0x3b8203(0x1d6)](_0x580042-_0x55944f,_0x55944f,_0x55944f,Math['PI']*0x3/0x2,0x0,!0x1),_0x36ed38[_0x3b8203(0x382)](_0x580042,_0x288d80-_0x1d4b70),_0x36ed38[_0x3b8203(0x1d6)](_0x580042-_0x1d4b70,_0x288d80-_0x1d4b70,_0x1d4b70,0x0,Math['PI']/0x2,!0x1),_0x36ed38[_0x3b8203(0x382)](0x0,_0x288d80),_0x36ed38[_0x3b8203(0x382)](0x0,_0x30fe66),_0x36ed38['arc'](_0x30fe66,_0x30fe66,_0x30fe66,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36ed38[_0x3b8203(0x1d3)](),_0x3eff2f[_0x3b8203(0x1f3)]&&(_0x36ed38['save'](),_0x36ed38[_0x3b8203(0x224)]=_0x3eff2f['fill'],_0x3eff2f['fillRule']==='evenodd'?_0x36ed38[_0x3b8203(0x1f3)](_0x3b8203(0x21a)):_0x36ed38[_0x3b8203(0x1f3)](),_0x36ed38[_0x3b8203(0x222)]());}class _0x51577c extends _0x1e4d9a[_0x52fe9a(0x3b6)]{constructor(_0x38d616,_0x56c06d){const _0x3deb2e=_0x52fe9a;super(_0x38d616,_0x56c06d),_0x4e27f7(this,_0x3deb2e(0x377)),_0x4e27f7(this,'text'),(this[_0x3deb2e(0x377)]=_0x56c06d==null?void 0x0:_0x56c06d[_0x3deb2e(0x377)],this[_0x3deb2e(0x3c2)]=_0x56c06d==null?void 0x0:_0x56c06d[_0x3deb2e(0x3c2)]);}static[_0x52fe9a(0x1c2)](_0x20b979,_0x14d1bf){const _0x42b87d=_0x52fe9a,{text:_0x262cf7,color:_0x334c5b}=_0x14d1bf;_0x20b979[_0x42b87d(0x301)](),_0x20b979[_0x42b87d(0x323)]=_0x42b87d(0x244);const _0x2998e8=_0x20b979[_0x42b87d(0x3b1)](_0x262cf7)[_0x42b87d(0x204)],_0x1fc148=Math[_0x42b87d(0x148)](_0x2998e8+0x2*_0x3150ee,_0x4bc375);_0x9d64f0(_0x20b979,{'height':_0x5ff90a,'radius':0x4,'width':_0x1fc148,'fill':_0x334c5b}),_0x20b979[_0x42b87d(0x224)]=_0x42b87d(0x1a3);const _0x1408ac=_0x3150ee,_0x2c4ad8=_0x5ff90a-_0x29c347,_0x278519=_0x4bc375-0x2*_0x3150ee;if(_0x2998e8>_0x278519){let _0x5367cd='',_0x3e075e=0x0;for(const _0x129889 of _0x262cf7){const _0x455e3c=_0x20b979['measureText'](_0x129889)[_0x42b87d(0x204)];if(_0x3e075e+_0x455e3c<=_0x278519-_0x20b979[_0x42b87d(0x3b1)](_0x42b87d(0x189))['width'])_0x5367cd+=_0x129889,_0x3e075e+=_0x455e3c;else{_0x5367cd+=_0x42b87d(0x189);break;}}_0x20b979[_0x42b87d(0x12c)](_0x5367cd,_0x1408ac,_0x2c4ad8);}else _0x20b979[_0x42b87d(0x12c)](_0x262cf7,_0x1408ac,_0x2c4ad8);_0x20b979[_0x42b87d(0x222)]();}[_0x52fe9a(0x314)](_0x26e55a){const _0x527fbc=_0x52fe9a;_0x51577c[_0x527fbc(0x1c2)](_0x26e55a,this);}}const _0x2d1d7d=_0x52fe9a(0x23e),_0x459d46='collab-text-range-',_0xa0c974=_0x52fe9a(0x1cc),_0x35256b=0x6,_0x2beb5c=1.5,_0x41320b=0x4,_0x431816=1.5,_0x5c61db=_0x52fe9a(0x1e0);class _0x50289a{constructor(_0x302427,_0x406d1d,_0x5228c8,_0x22b893){const _0x4cc606=_0x52fe9a;_0x4e27f7(this,'_shapes',[]),_0x4e27f7(this,_0x4cc606(0x139),null),_0x4e27f7(this,'_textBubble',null),_0x4e27f7(this,_0x4cc606(0x16f),null),_0x4e27f7(this,_0x4cc606(0x344),null),_0x4e27f7(this,_0x4cc606(0x34c),null),(this[_0x4cc606(0x280)]=_0x302427,this[_0x4cc606(0x2bf)]=_0x406d1d,this[_0x4cc606(0x2ce)]=_0x5228c8,this['_document']=_0x22b893,this[_0x4cc606(0x37d)]());}set[_0x52fe9a(0x1fa)](_0x19fdd0){const _0x36f9f2=_0x52fe9a;_0x19fdd0?(this['_anchorDot']&&this[_0x36f9f2(0x16f)][_0x36f9f2(0x25d)](),this[_0x36f9f2(0x17d)]&&this[_0x36f9f2(0x17d)][_0x36f9f2(0x3b0)]()):(this[_0x36f9f2(0x16f)]&&this[_0x36f9f2(0x16f)][_0x36f9f2(0x3b0)](),this[_0x36f9f2(0x17d)]&&this[_0x36f9f2(0x17d)][_0x36f9f2(0x25d)]());}['dispose'](){const _0x162c48=_0x52fe9a;for(const _0x4c6299 of this[_0x162c48(0x3a3)])_0x4c6299[_0x162c48(0x16a)]();this[_0x162c48(0x17d)]&&this[_0x162c48(0x17d)]['dispose'](),this[_0x162c48(0x16f)]&&this['_anchorDot'][_0x162c48(0x16a)](),this[_0x162c48(0x139)]&&this['_anchor'][_0x162c48(0x16a)](),this[_0x162c48(0x34c)]&&this[_0x162c48(0x34c)]();}['_render'](){const _0x1b5dde=_0x52fe9a;var _0x3a0101;const {_docSkeleton:_0x58da25,_document:_0x5a4c05}=this,{color:_0x284c23,name:_0x477dc3,ranges:_0x306706}=this[_0x1b5dde(0x280)],_0x3a8d67=_0x5a4c05[_0x1b5dde(0x138)](),{docsLeft:_0x16a850,docsTop:_0x43388f}=_0x3a8d67,_0xcce5e1=new _0x5cd28b[(_0x1b5dde(0x24b))](_0x3a8d67,_0x58da25);for(const {startOffset:_0x39a8ea,endOffset:_0x52e5f1,rangeType:_0x351438,segmentId:_0x2a04ab,segmentPage:_0x2a6b9a,collapsed:_0x48dd05,isActive:_0x55e51b}of _0x306706){const _0x4e3d7f=_0x58da25[_0x1b5dde(0x366)](_0x39a8ea,!0x0,_0x2a04ab,_0x2a6b9a);let _0x3f1234=_0x58da25[_0x1b5dde(0x366)](_0x52e5f1,!0x0,_0x2a04ab,_0x2a6b9a);if(_0x3f1234==null&&(_0x3f1234=_0x58da25[_0x1b5dde(0x366)](_0x52e5f1-0x1,!0x1,_0x2a04ab,_0x2a6b9a)),_0x55e51b){const {contentBoxPointGroup:_0xe98fa6}=_0xcce5e1[_0x1b5dde(0x2f2)](_0x3f1234,_0x3f1234);if(_0xe98fa6[_0x1b5dde(0x21d)]===0x0)continue;this['_drawAnchor'](_0x284c23,_0xe98fa6,_0x16a850,_0x43388f,_0x477dc3),this[_0x1b5dde(0x34c)]=this[_0x1b5dde(0x1e1)]();}if(_0x4e3d7f&&_0x3f1234){if(_0x351438===_0x333829[_0x1b5dde(0x1de)][_0x1b5dde(0x333)]){const _0x22dd7f=new _0x5cd28b[(_0x1b5dde(0x233))](_0x3a8d67,_0x58da25),{pointGroup:_0x574fe6}=(_0x3a0101=_0x22dd7f[_0x1b5dde(0x2f2)](_0x4e3d7f,_0x3f1234))!=null?_0x3a0101:{};if(_0x574fe6==null||_0x574fe6[_0x1b5dde(0x21d)]===0x0)continue;this[_0x1b5dde(0x20b)](_0x284c23,_0x574fe6,_0x16a850,_0x43388f);}else{if(!_0x48dd05){const {borderBoxPointGroup:_0x22d5dd}=_0xcce5e1[_0x1b5dde(0x2f2)](_0x4e3d7f,_0x3f1234);if(_0x22d5dd[_0x1b5dde(0x21d)]===0x0)continue;this[_0x1b5dde(0x123)](_0x284c23,_0x22d5dd,_0x16a850,_0x43388f);}}}}}['_drawAnchor'](_0x34541e,_0x16530e,_0x16c60f,_0x3adae5,_0x175e34){const _0x4268f5=_0x52fe9a,_0x4aca02=this[_0x4268f5(0x193)](_0x16530e),{left:_0xf2f3a2,top:_0x4ba924,height:_0x32ba82}=_0x4aca02,_0x4a9cf2=this['_getScale'](),_0x3ebe74=_0x431816/_0x4a9cf2,_0x393371=new _0x1e4d9a[(_0x4268f5(0x1b6))](_0x2d1d7d+_0x333829[_0x4268f5(0x175)][_0x4268f5(0x1a7)](_0x35256b),{'left':_0xf2f3a2+_0x16c60f-_0x3ebe74,'top':_0x4ba924+_0x3adae5,'height':_0x32ba82,'width':_0x2beb5c,'fill':_0x34541e||_0x1e4d9a[_0x4268f5(0x282)](_0x333829['COLORS'][_0x4268f5(0x3ba)],0x0),'strokeWidth':_0x3ebe74,'stroke':_0x5c61db,'evented':!0x0});this[_0x4268f5(0x139)]=_0x393371,this[_0x4268f5(0x2bf)]['addObject'](_0x393371,_0x5cd28b['TEXT_RANGE_LAYER_INDEX']);const _0x1a6254=new _0x1e4d9a[(_0x4268f5(0x1b6))](_0x2d1d7d+_0x333829['Tools'][_0x4268f5(0x1a7)](_0x35256b),{'left':_0xf2f3a2+_0x16c60f-_0x3ebe74,'top':_0x4ba924+_0x3adae5-_0x41320b/0x2,'height':_0x41320b,'width':_0x41320b,'fill':_0x34541e||_0x1e4d9a[_0x4268f5(0x282)](_0x333829[_0x4268f5(0x380)][_0x4268f5(0x3ba)],0x0),'strokeWidth':0x0,'stroke':_0x34541e||_0x1e4d9a['getColor'](_0x333829[_0x4268f5(0x380)][_0x4268f5(0x3ba)],0x0),'evented':!0x1});this[_0x4268f5(0x16f)]=_0x1a6254,this[_0x4268f5(0x2bf)]['addObject'](_0x1a6254,_0x5cd28b[_0x4268f5(0x2c0)]);const _0x1735b=new _0x51577c(_0x2d1d7d+_0x333829[_0x4268f5(0x175)][_0x4268f5(0x1a7)](_0x35256b),{'left':_0xf2f3a2+_0x16c60f-_0x3ebe74,'top':_0x4ba924+_0x3adae5-_0x5ff90a,'text':_0x175e34,'color':_0x34541e});this[_0x4268f5(0x17d)]=_0x1735b,this['_scene'][_0x4268f5(0x266)](_0x1735b,_0x5cd28b[_0x4268f5(0x2c0)]),this[_0x4268f5(0x1fa)]=!0x1;}[_0x52fe9a(0x1e1)](){const _0x5a08b1=_0x52fe9a,_0x5f1a25=this[_0x5a08b1(0x139)]['onPointerEnter$'][_0x5a08b1(0x20f)](()=>{const _0x1d6f21=_0x5a08b1;this[_0x1d6f21(0x1fa)]=!0x0;}),_0x161f7d=this[_0x5a08b1(0x139)][_0x5a08b1(0x389)][_0x5a08b1(0x20f)](()=>{const _0x2789fc=_0x5a08b1;this[_0x2789fc(0x344)]&&clearTimeout(this[_0x2789fc(0x344)]),this[_0x2789fc(0x344)]=setTimeout(()=>{const _0x1a5191=_0x2789fc;this[_0x1a5191(0x1fa)]=!0x1;},0x7d0);});return()=>{const _0x106795=_0x5a08b1;_0x5f1a25[_0x106795(0x31c)](),_0x161f7d['unsubscribe']();};}[_0x52fe9a(0x123)](_0x218cad,_0x527145,_0x16653c,_0x2abc5b){const _0x46bb21=_0x52fe9a,_0x39d6f5=new _0x333829[(_0x46bb21(0x36e))](_0x218cad)[_0x46bb21(0x23a)](0.2)[_0x46bb21(0x331)](),_0x11f034=new _0x1e4d9a[(_0x46bb21(0x348))](_0x459d46+_0x333829[_0x46bb21(0x175)]['generateRandomId'](_0x35256b),{'pointsGroup':_0x527145,'fill':_0x39d6f5||_0x1e4d9a[_0x46bb21(0x282)](_0x333829[_0x46bb21(0x380)][_0x46bb21(0x3ba)],0.2),'left':_0x16653c,'top':_0x2abc5b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46bb21(0x3a3)][_0x46bb21(0x19e)](_0x11f034),this[_0x46bb21(0x2bf)][_0x46bb21(0x266)](_0x11f034,_0x5cd28b[_0x46bb21(0x2c0)]);}[_0x52fe9a(0x20b)](_0x14a0b6,_0x50d2ba,_0x545d8a,_0x440a94){const _0x4f3234=_0x52fe9a,_0x5d14a3=new _0x333829[(_0x4f3234(0x36e))](_0x14a0b6)[_0x4f3234(0x23a)](0.2)[_0x4f3234(0x331)](),_0x35f52e=new _0x1e4d9a[(_0x4f3234(0x348))](_0xa0c974+_0x333829[_0x4f3234(0x175)][_0x4f3234(0x1a7)](_0x35256b),{'pointsGroup':_0x50d2ba,'fill':_0x5d14a3||_0x1e4d9a['getColor'](_0x333829[_0x4f3234(0x380)][_0x4f3234(0x3ba)],0.2),'left':_0x545d8a,'top':_0x440a94,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f3234(0x3a3)][_0x4f3234(0x19e)](_0x35f52e),this[_0x4f3234(0x2bf)][_0x4f3234(0x266)](_0x35f52e,_0x5cd28b['TEXT_RANGE_LAYER_INDEX']);}[_0x52fe9a(0x193)](_0x55c977){const _0x9513f2=_0x55c977[0x0],_0x46e577=_0x9513f2[0x0],_0x3912b0=_0x9513f2[0x2],{x:_0x1d0804,y:_0x1fc9d6}=_0x46e577,{x:_0x22c217,y:_0x4e12af}=_0x3912b0;return{'left':_0x1d0804,'top':_0x1fc9d6,'width':_0x22c217-_0x1d0804,'height':_0x4e12af-_0x1fc9d6};}[_0x52fe9a(0x1f7)](){const _0x69943b=_0x52fe9a,{scaleX:_0x55beb2,scaleY:_0x284d52}=this['_scene'][_0x69943b(0x153)]();return Math[_0x69943b(0x236)](_0x55beb2,_0x284d52);}}var _0x6c4a3c=Object[_0x52fe9a(0x2e5)],_0x3bbf37=(_0x33bf04,_0x41d0c6,_0x579e88,_0x4852be)=>{for(var _0x2b8434=_0x4852be>0x1?void 0x0:_0x4852be?_0x6c4a3c(_0x41d0c6,_0x579e88):_0x41d0c6,_0x4bf4b9=_0x33bf04['length']-0x1,_0x2808af;_0x4bf4b9>=0x0;_0x4bf4b9--)(_0x2808af=_0x33bf04[_0x4bf4b9])&&(_0x2b8434=_0x2808af(_0x2b8434)||_0x2b8434);return _0x2b8434;},_0x3ad2b5=(_0x361fd3,_0x14621b)=>(_0x1c4b38,_0x36a6ba)=>_0x14621b(_0x1c4b38,_0x36a6ba,_0x361fd3);let _0x55e631=class extends _0x333829['RxDisposable']{constructor(_0x5de680,_0x476a1d,_0x59f644,_0x5f468b,_0x3fbce5){const _0x3d1543=_0x52fe9a;super(),_0x4e27f7(this,_0x3d1543(0x38f),[]),_0x4e27f7(this,_0x3d1543(0x16d),[]),(this[_0x3d1543(0x1cd)]=_0x5de680,this[_0x3d1543(0x2bb)]=_0x476a1d,this['_collabCursorController']=_0x59f644,this[_0x3d1543(0x1fc)]=_0x5f468b,this['_themeService']=_0x3fbce5,this[_0x3d1543(0x237)]());}[_0x52fe9a(0x237)](){const _0x4ab17b=_0x52fe9a,_0x5bf7b8=this[_0x4ab17b(0x1cd)]['unitId'],_0x2f7a2f=this['_docSkeletonManagerService'];this[_0x4ab17b(0x33a)](_0x21dbc8[_0x4ab17b(0x18b)]([this['_collabCursorController'][_0x4ab17b(0x22b)](_0x5bf7b8),this[_0x4ab17b(0x240)][_0x4ab17b(0x3b4)]])[_0x4ab17b(0x131)](_0x74988e[_0x4ab17b(0x20d)](([_0x461fa8,_0x166c4e])=>({'skeleton':_0x2f7a2f[_0x4ab17b(0x1a9)](),'cursors':[..._0x461fa8[_0x4ab17b(0x3a6)]()][_0x4ab17b(0x15a)](_0x100b30=>({..._0x100b30,'color':this['_themeService'][_0x4ab17b(0x186)](_0x100b30[_0x4ab17b(0x377)])}))})))[_0x4ab17b(0x140)](_0x5781ba=>{const _0x2764e6=_0x4ab17b;if(this[_0x2764e6(0x246)](),_0x5781ba){const {skeleton:_0x398cff,cursors:_0x26261a}=_0x5781ba;this[_0x2764e6(0x2ef)](_0x398cff,_0x26261a);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x3856ec,_0x4cfadd){const _0x2337db=_0x52fe9a,{scene:_0x184e5f,mainComponent:_0x4d5564}=this[_0x2337db(0x1cd)],_0x226034=_0x4cfadd[_0x2337db(0x20d)](_0x372bfe=>new _0x50289a(_0x372bfe,_0x184e5f,_0x3856ec,_0x4d5564));this[_0x2337db(0x38f)]=_0x226034,this[_0x2337db(0x16d)]=_0x4cfadd;}[_0x52fe9a(0x2f1)](){const _0x5e4a37=_0x52fe9a;this[_0x5e4a37(0x246)]();const {scene:_0x54b959,mainComponent:_0x2365f5}=this[_0x5e4a37(0x1cd)],_0x592acf=this[_0x5e4a37(0x2bb)]['getSkeleton'](),_0x16070e=this[_0x5e4a37(0x16d)][_0x5e4a37(0x20d)](_0x1a2cd6=>new _0x50289a(_0x1a2cd6,_0x54b959,_0x592acf,_0x2365f5));this['_cursorShapes']=_0x16070e;}['_removeCollabCursors'](){const _0x15bf59=_0x52fe9a;this[_0x15bf59(0x38f)][_0x15bf59(0x1ea)](_0x401ae3=>_0x401ae3['dispose']()),this[_0x15bf59(0x38f)]=[];}['_initCommandExecutedListener'](){const _0x4fb38d=_0x52fe9a,_0x1b48f9=[_0x5cd28b['SetDocZoomRatioOperation']['id']];this[_0x4fb38d(0x33a)](this[_0x4fb38d(0x1fc)]['onCommandExecuted'](_0x2cfb06=>{const _0x409045=_0x4fb38d;_0x1b48f9['includes'](_0x2cfb06['id'])&&_0x2cfb06[_0x409045(0x272)][_0x409045(0x356)]===this[_0x409045(0x1cd)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x52fe9a(0x2e1)](){const _0x438971=_0x52fe9a;this[_0x438971(0x33a)](_0x333829[_0x438971(0x32a)](this[_0x438971(0x1cd)][_0x438971(0x22d)]['onTransformChange$'])[_0x438971(0x131)](_0x74988e[_0x438971(0x23f)](_0x4f4d46=>_0x4f4d46[_0x438971(0x3bd)]===_0x1e4d9a[_0x438971(0x229)]['resize']),_0x74988e[_0x438971(0x26d)](0x10))[_0x438971(0x140)](()=>{this['_refreshCollabCursors']();}));}};_0x55e631=_0x3bbf37([_0x3ad2b5(0x1,_0x333829['Inject'](_0x3cc684[_0x52fe9a(0x277)])),_0x3ad2b5(0x2,_0x333829[_0x52fe9a(0x359)](_0x50aeb5)),_0x3ad2b5(0x3,_0x333829[_0x52fe9a(0x12b)]),_0x3ad2b5(0x4,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x1d0)]))],_0x55e631);const _0x4bd277=0x1,_0x45a01f=1.5;class _0x12a8a6 extends _0x1e4d9a[_0x52fe9a(0x3b6)]{constructor(_0x19d38f,_0x20369c){const _0x34a3e5=_0x52fe9a;super(_0x19d38f,_0x20369c),_0x4e27f7(this,_0x34a3e5(0x350)),_0x4e27f7(this,_0x34a3e5(0x38b),!0x1),_0x4e27f7(this,'_range'),_0x4e27f7(this,_0x34a3e5(0x228),''),_0x4e27f7(this,_0x34a3e5(0x223),_0x34a3e5(0x137)),_0x4e27f7(this,_0x34a3e5(0x203)),(_0x20369c&&this[_0x34a3e5(0x17a)](_0x20369c),this[_0x34a3e5(0x2e4)][_0x34a3e5(0x20f)](()=>this[_0x34a3e5(0x17a)]({'hovered':!0x0})),this['onPointerLeave$'][_0x34a3e5(0x20f)](()=>this[_0x34a3e5(0x17a)]({'hovered':!0x1})));}[_0x52fe9a(0x17a)](_0x4749a1){const _0x3944fe=_0x52fe9a;var _0x19acf2,_0x391792,_0x49865f,_0x32c820,_0x19b189,_0x315bb6;this[_0x3944fe(0x350)]=(_0x19acf2=_0x4749a1[_0x3944fe(0x377)])!=null?_0x19acf2:this[_0x3944fe(0x350)],this[_0x3944fe(0x38b)]=(_0x391792=_0x4749a1[_0x3944fe(0x300)])!=null?_0x391792:this['_hovered'],this[_0x3944fe(0x164)]=(_0x49865f=_0x4749a1[_0x3944fe(0x391)])!=null?_0x49865f:this['_range'],this[_0x3944fe(0x228)]=(_0x32c820=_0x4749a1['name'])!=null?_0x32c820:this[_0x3944fe(0x228)],this['_labelPosition']=(_0x19b189=_0x4749a1[_0x3944fe(0x2d1)])!=null?_0x19b189:this[_0x3944fe(0x223)],this[_0x3944fe(0x203)]=(_0x315bb6=_0x4749a1['backgroundColor'])!=null?_0x315bb6:this[_0x3944fe(0x203)],this['transformByState']({'width':_0x4749a1[_0x3944fe(0x204)],'height':_0x4749a1[_0x3944fe(0x19a)]});}[_0x52fe9a(0x1ee)](_0x174abf){const _0x35a9b0=_0x52fe9a,{row:_0x30490f,column:_0x4bf4c5}=_0x174abf;if(_0x30490f>=this['_range'][_0x35a9b0(0x342)]&&_0x30490f<=this[_0x35a9b0(0x164)][_0x35a9b0(0x3c0)]&&_0x4bf4c5>=this[_0x35a9b0(0x164)][_0x35a9b0(0x284)]&&_0x4bf4c5<=this[_0x35a9b0(0x164)][_0x35a9b0(0x3a8)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x35a9b0(0x17a)]({'hovered':!0x1});}['triggerDblclick'](_0x316beb){return!0x1;}[_0x52fe9a(0x314)](_0x41c1da){const _0x11d55e=_0x52fe9a;_0x1e4d9a['Rect'][_0x11d55e(0x1c2)](_0x41c1da,{'width':this['width'],'height':this[_0x11d55e(0x19a)],'strokeWidth':_0x45a01f,'stroke':this[_0x11d55e(0x350)],'evented':!0x1,'fill':this[_0x11d55e(0x203)]}),this['_hovered']&&(_0x41c1da['save'](),_0x41c1da[_0x11d55e(0x220)](0x1,0x0,0x0,0x1,this['width'],this[_0x11d55e(0x223)]==='bottom'?0x0:-0x14),_0x51577c[_0x11d55e(0x1c2)](_0x41c1da,{'text':this[_0x11d55e(0x228)],'color':this['_color']}),_0x41c1da[_0x11d55e(0x222)]());}}var _0x2a6b5c=Object[_0x52fe9a(0x2e5)],_0x415a1c=(_0x3641e8,_0x415c8f,_0x3ab5d7,_0x5c51df)=>{for(var _0x1920e1=_0x5c51df>0x1?void 0x0:_0x5c51df?_0x2a6b5c(_0x415c8f,_0x3ab5d7):_0x415c8f,_0x58eede=_0x3641e8['length']-0x1,_0x111698;_0x58eede>=0x0;_0x58eede--)(_0x111698=_0x3641e8[_0x58eede])&&(_0x1920e1=_0x111698(_0x1920e1)||_0x1920e1);return _0x1920e1;},_0x45cd5d=(_0x30d76b,_0x120394)=>(_0x5649bc,_0x332c53)=>_0x120394(_0x5649bc,_0x332c53,_0x30d76b);const _0x32198e=0x1389;let _0x120041=class extends _0x333829['RxDisposable']{constructor(_0x24c48c,_0xee9d57,_0x589a2e,_0x50268a){const _0x3a998d=_0x52fe9a;super(),_0x4e27f7(this,_0x3a998d(0x16d),new Set()),_0x4e27f7(this,_0x3a998d(0x32e),null),(this[_0x3a998d(0x1cd)]=_0x24c48c,this[_0x3a998d(0x296)]=_0xee9d57,this[_0x3a998d(0x381)]=_0x589a2e,this['_themeService']=_0x50268a,this[_0x3a998d(0x237)]());}[_0x52fe9a(0x237)](){const _0x14c493=_0x52fe9a;this['_sheetSkeletonManagerService'][_0x14c493(0x20c)][_0x14c493(0x131)](_0x74988e['takeUntil'](this[_0x14c493(0x3b5)]),_0x74988e[_0x14c493(0x149)](_0x20fbf8=>{const _0x9aaa39=_0x14c493;if(_0x20fbf8){const _0x489919=_0x20fbf8[_0x9aaa39(0x1e6)];return _0x21dbc8[_0x9aaa39(0x18b)](this['_collabCursorController'][_0x9aaa39(0x22b)](this[_0x9aaa39(0x1cd)][_0x9aaa39(0x356)]),this[_0x9aaa39(0x240)][_0x9aaa39(0x3b4)])[_0x9aaa39(0x131)](_0x74988e[_0x9aaa39(0x20d)](([_0x2820b5,_0x92573b])=>{const _0x4e041a=_0x9aaa39,_0x5d489e=new Map();return _0x2820b5[_0x4e041a(0x1ea)]((_0x206b57,_0x5462da)=>{const _0x64f0d0=_0x4e041a;if(_0x206b57[_0x64f0d0(0x24e)]===_0x489919){const _0xc7df2f={..._0x206b57};_0xc7df2f['color']=this[_0x64f0d0(0x240)][_0x64f0d0(0x186)](_0x206b57['color']),_0x5d489e['set'](_0x5462da,_0xc7df2f);}}),{'skeleton':_0x20fbf8,'cursors':_0x5d489e};}));}return _0x21dbc8['of']({'skeleton':null,'cursors':new Map()});}))[_0x14c493(0x140)](({skeleton:_0x41bc0e,cursors:_0x2de039})=>{const _0x14144f=_0x14c493;this['_removeCollabCursors'](),_0x41bc0e&&this[_0x14144f(0x2ef)](_0x41bc0e,_0x2de039);}),this[_0x14c493(0x296)][_0x14c493(0x20c)][_0x14c493(0x140)](_0x4cef5c=>{const _0xaa380e=_0x14c493;if(_0x4cef5c==null)return;const {skeleton:_0x479d40}=_0x4cef5c,{scene:_0x452bc4}=this[_0xaa380e(0x1cd)];_0x452bc4[_0xaa380e(0x34a)]['subscribeEvent'](_0x333829[_0xaa380e(0x2e3)](_0x9e0234=>{const _0xb427dc=_0xaa380e;var _0x42168e,_0x4f260d;const {offsetX:_0xd3eec7,offsetY:_0x42e1fd}=_0x9e0234,{x:_0x23ad96,y:_0x1c96ac}=_0x452bc4[_0xb427dc(0x1ce)](_0x1e4d9a[_0xb427dc(0x3aa)][_0xb427dc(0x202)]([_0xd3eec7,_0x42e1fd])),{scaleX:_0x5baf37,scaleY:_0x4f2d7f}=_0x452bc4['getAncestorScale'](),_0x882afb=_0x452bc4['getViewport'](_0x1e4d9a[_0xb427dc(0x306)][_0xb427dc(0x1c6)]),_0x47af2e=_0x452bc4['getVpScrollXYInfoByPosToVp'](_0x1e4d9a[_0xb427dc(0x3aa)]['FromArray']([_0x23ad96,_0x1c96ac]),_0x882afb),_0x32d987=_0x479d40['getCellPositionByOffset'](_0xd3eec7,_0x42e1fd,_0x5baf37,_0x4f2d7f,_0x47af2e);((_0x42168e=this[_0xb427dc(0x32e)])==null?void 0x0:_0x42168e[_0xb427dc(0x2eb)])===_0x32d987['column']&&((_0x4f260d=this[_0xb427dc(0x32e)])==null?void 0x0:_0x4f260d['row'])===_0x32d987[_0xb427dc(0x2a6)]||this[_0xb427dc(0x16d)][_0xb427dc(0x1ea)](_0x1224de=>{const _0xb1bf6e=_0xb427dc;_0x1224de[_0xb1bf6e(0x1ee)](_0x32d987);});},0x64));});}['_updateCollabCursors'](_0x3801a2,_0x134373){const _0x69263=_0x52fe9a;var _0x43cbd6;const _0x5be11f=(_0x43cbd6=this[_0x69263(0x296)]['getCurrent']())==null?void 0x0:_0x43cbd6['skeleton'];if(!_0x5be11f)return;const _0x40011e=this[_0x69263(0x385)]();if(!_0x40011e)return;this['_cursors'][_0x69263(0x1ea)](_0x5510fa=>{const _0x3f9bf5=_0x69263;_0x5510fa[_0x3f9bf5(0x262)]();});const {scene:_0x327555}=_0x40011e,_0x215b09=_0x40afe9(Array[_0x69263(0x173)](_0x134373['values']()))[_0x69263(0x20d)](_0x263bd7=>{const _0x220ede=_0x69263,{color:_0x5dd011,range:_0x3e1965,name:_0x3aa82a,selection:_0x4de68e,sheetID:_0x5ae3ab}=_0x263bd7,{startColumn:_0x323bf4,startRow:_0x32e4fe,endColumn:_0x2cee60,endRow:_0x132e57}=_0x3e1965,_0x23e894=_0x76017c[_0x220ede(0x2b2)](_0x32e4fe,_0x323bf4,_0x327555,_0x5be11f),_0x226330=_0x76017c[_0x220ede(0x2b2)](_0x132e57,_0x2cee60,_0x327555,_0x5be11f),{columnHeaderHeightAndMarginTop:_0x109e8d}=_0x5be11f,{startX:_0x5debc3,startY:_0x3755c9}=_0x23e894,{endX:_0x9862d7,endY:_0x246a87}=_0x226330,_0x2d50f9=_0x9862d7-_0x5debc3,_0x10e85c=_0x246a87-_0x3755c9,_0x32bc6a={'labelPosition':_0x3755c9-_0x109e8d>=_0x5ff90a?'top':_0x220ede(0x192),'sheetID':_0x5ae3ab,'range':_0x3e1965,'color':_0x5dd011,'name':_0x3aa82a,'selection':_0x4de68e,'left':_0x5debc3,'top':_0x3755c9,'width':_0x2d50f9,'height':_0x10e85c,'evented':!0x1,'zIndex':_0x32198e};return new _0x12a8a6(_0x3aa82a,_0x32bc6a);});_0x327555[_0x69263(0x319)](_0x215b09,_0x4bd277),this[_0x69263(0x16d)]=new Set(_0x215b09);}['_removeCollabCursors'](){const _0x5b7a0b=_0x52fe9a;var _0x27700b;(_0x27700b=this[_0x5b7a0b(0x16d)])==null||_0x27700b[_0x5b7a0b(0x1ea)](_0x1bc849=>_0x1bc849['dispose']());}[_0x52fe9a(0x385)](){const _0x3a99a5=_0x52fe9a;return _0x76017c[_0x3a99a5(0x340)](this[_0x3a99a5(0x1cd)][_0x3a99a5(0x1ff)],this['_context']);}};_0x120041=_0x415a1c([_0x45cd5d(0x1,_0x333829[_0x52fe9a(0x359)](_0x76017c['SheetSkeletonManagerService'])),_0x45cd5d(0x2,_0x333829[_0x52fe9a(0x359)](_0x50aeb5)),_0x45cd5d(0x3,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x1d0)]))],_0x120041);function _0x40afe9(_0x1c1796){const _0x6399ef=_0x52fe9a,_0x629ae2=new Map();return _0x1c1796[_0x6399ef(0x1ea)](_0x10ee79=>{const _0x1144b0=_0x6399ef;if(_0x629ae2[_0x1144b0(0x141)](_0x10ee79[_0x1144b0(0x2e9)])){const _0x149983=_0x629ae2[_0x1144b0(0x29f)](_0x10ee79['selection']);_0x149983['name']+=',\x20'+_0x10ee79[_0x1144b0(0x3a9)];}else _0x629ae2[_0x1144b0(0x242)](_0x10ee79[_0x1144b0(0x2e9)],_0x10ee79);}),Array[_0x6399ef(0x173)](_0x629ae2['values']());}var _0x9829e8=function(){const _0x5505c1=_0x52fe9a;return _0x9829e8=Object[_0x5505c1(0x303)]||function(_0x3cc391){const _0x5c87fe=_0x5505c1;for(var _0x3d67b0,_0x5479ff=0x1,_0x251a6f=arguments[_0x5c87fe(0x21d)];_0x5479ff<_0x251a6f;_0x5479ff++){_0x3d67b0=arguments[_0x5479ff];for(var _0x218da6 in _0x3d67b0)Object[_0x5c87fe(0x1db)]['hasOwnProperty'][_0x5c87fe(0x36c)](_0x3d67b0,_0x218da6)&&(_0x3cc391[_0x218da6]=_0x3d67b0[_0x218da6]);}return _0x3cc391;},_0x9829e8[_0x5505c1(0x322)](this,arguments);},_0x56adae=function(_0x2256eb,_0x5e8e97){const _0x559f8b=_0x52fe9a;var _0x53c4d8={};for(var _0x53c972 in _0x2256eb)Object['prototype'][_0x559f8b(0x12a)][_0x559f8b(0x36c)](_0x2256eb,_0x53c972)&&_0x5e8e97['indexOf'](_0x53c972)<0x0&&(_0x53c4d8[_0x53c972]=_0x2256eb[_0x53c972]);if(_0x2256eb!=null&&typeof Object[_0x559f8b(0x29c)]==_0x559f8b(0x388)){for(var _0x7a7fbb=0x0,_0x53c972=Object[_0x559f8b(0x29c)](_0x2256eb);_0x7a7fbb<_0x53c972['length'];_0x7a7fbb++)_0x5e8e97[_0x559f8b(0x122)](_0x53c972[_0x7a7fbb])<0x0&&Object[_0x559f8b(0x1db)]['propertyIsEnumerable'][_0x559f8b(0x36c)](_0x2256eb,_0x53c972[_0x7a7fbb])&&(_0x53c4d8[_0x53c972[_0x7a7fbb]]=_0x2256eb[_0x53c972[_0x7a7fbb]]);}return _0x53c4d8;},_0x4d0bbb=_0x57419d[_0x52fe9a(0x33f)](function(_0x51fc1a,_0x431f2d){const _0x35759b=_0x52fe9a;var _0x230329=_0x51fc1a['icon'],_0x3d10bc=_0x51fc1a['id'],_0x42d7a2=_0x51fc1a[_0x35759b(0x2cd)],_0x33ab29=_0x51fc1a[_0x35759b(0x2c3)],_0xfd433=_0x56adae(_0x51fc1a,[_0x35759b(0x19f),'id',_0x35759b(0x2cd),'extend']),_0x37e203=_0x35759b(0x32d)[_0x35759b(0x12f)](_0x3d10bc,'\x20')[_0x35759b(0x12f)](_0x42d7a2||'')[_0x35759b(0x2d9)](),_0x103ad9=_0x57419d[_0x35759b(0x19b)]('_'[_0x35759b(0x12f)](_0x416176()));return _0x3f1e06(_0x230329,''[_0x35759b(0x12f)](_0x3d10bc),{'defIds':_0x230329[_0x35759b(0x285)],'idSuffix':_0x103ad9[_0x35759b(0x22f)]},_0x9829e8({'ref':_0x431f2d,'className':_0x37e203},_0xfd433),_0x33ab29);});function _0x3f1e06(_0x4fc3ae,_0x274e0b,_0x2398e8,_0x28f875,_0x24768e){const _0x293274=_0x52fe9a;return _0x57419d[_0x293274(0x30b)](_0x4fc3ae[_0x293274(0x265)],_0x9829e8(_0x9829e8({'key':_0x274e0b},_0x52512d(_0x4fc3ae,_0x2398e8,_0x24768e)),_0x28f875),(_0xdb57bf(_0x4fc3ae,_0x2398e8)['children']||[])[_0x293274(0x20d)](function(_0x58f12b,_0x3688a7){const _0x523965=_0x293274;return _0x3f1e06(_0x58f12b,''[_0x523965(0x12f)](_0x274e0b,'-')['concat'](_0x4fc3ae[_0x523965(0x265)],'-')[_0x523965(0x12f)](_0x3688a7),_0x2398e8,void 0x0,_0x24768e);}));}function _0x52512d(_0x178bae,_0x4c1874,_0x3558a5){const _0x5f29d4=_0x52fe9a;var _0x8b2352=_0x9829e8({},_0x178bae[_0x5f29d4(0x25b)]);_0x3558a5!=null&&_0x3558a5['colorChannel1']&&_0x8b2352['fill']===_0x5f29d4(0x3ae)&&(_0x8b2352[_0x5f29d4(0x1f3)]=_0x3558a5[_0x5f29d4(0x3ae)]),_0x178bae['tag']===_0x5f29d4(0x1b4)&&_0x8b2352['id']&&(_0x8b2352['id']=_0x8b2352['id']+_0x4c1874[_0x5f29d4(0x2ec)]),Object[_0x5f29d4(0x16b)](_0x8b2352)['forEach'](function(_0x5a779c){const _0x2c7a43=_0x5f29d4;var _0xf7131b=_0x5a779c[0x0],_0x5dbad0=_0x5a779c[0x1];_0xf7131b===_0x2c7a43(0x1b4)&&typeof _0x5dbad0==_0x2c7a43(0x1ad)&&(_0x8b2352[_0xf7131b]=_0x5dbad0['replace'](/url\(#(.*)\)/,_0x2c7a43(0x26b)['concat'](_0x4c1874['idSuffix'],')')));});var _0x2dd74f=_0x4c1874[_0x5f29d4(0x285)];return!_0x2dd74f||_0x2dd74f[_0x5f29d4(0x21d)]===0x0||(_0x178bae[_0x5f29d4(0x265)]===_0x5f29d4(0x181)&&_0x8b2352[_0x5f29d4(0x18e)]&&(_0x8b2352['xlink:href']=_0x8b2352[_0x5f29d4(0x18e)]+_0x4c1874['idSuffix']),Object[_0x5f29d4(0x16b)](_0x8b2352)[_0x5f29d4(0x1ea)](function(_0x2046db){const _0x28237a=_0x5f29d4;var _0x2ac78c=_0x2046db[0x0],_0x2beffb=_0x2046db[0x1];typeof _0x2beffb==_0x28237a(0x1ad)&&(_0x8b2352[_0x2ac78c]=_0x2beffb[_0x28237a(0x29e)](/url\(#(.*)\)/,_0x28237a(0x26b)[_0x28237a(0x12f)](_0x4c1874[_0x28237a(0x2ec)],')')));})),_0x8b2352;}function _0xdb57bf(_0x15e5cb,_0x138743){const _0x2e1408=_0x52fe9a;var _0x1ac8aa,_0x1e6284=_0x138743[_0x2e1408(0x285)];return!_0x1e6284||_0x1e6284[_0x2e1408(0x21d)]===0x0?_0x15e5cb:_0x15e5cb[_0x2e1408(0x265)]===_0x2e1408(0x2c5)&&(!((_0x1ac8aa=_0x15e5cb['children'])===null||_0x1ac8aa===void 0x0)&&_0x1ac8aa[_0x2e1408(0x21d)])?_0x9829e8(_0x9829e8({},_0x15e5cb),{'children':_0x15e5cb[_0x2e1408(0x2fb)]['map'](function(_0x4382f5){const _0x233460=_0x2e1408;return typeof _0x4382f5['attrs']['id']==_0x233460(0x1ad)&&_0x1e6284&&_0x1e6284[_0x233460(0x2c4)](_0x4382f5[_0x233460(0x25b)]['id'])?_0x9829e8(_0x9829e8({},_0x4382f5),{'attrs':_0x9829e8(_0x9829e8({},_0x4382f5[_0x233460(0x25b)]),{'id':_0x4382f5['attrs']['id']+_0x138743[_0x233460(0x2ec)]})}):_0x4382f5;})}):_0x15e5cb;}function _0x416176(){const _0x34a7d3=_0x52fe9a;return Math[_0x34a7d3(0x1b5)]()[_0x34a7d3(0x18a)](0x24)['substring'](0x2,0x8);}_0x4d0bbb[_0x52fe9a(0x1a8)]=_0x52fe9a(0x255);var _0x1e864d={'tag':'svg','attrs':{'xmlns':_0x52fe9a(0x1b0),'fill':_0x52fe9a(0x3bc),'viewBox':_0x52fe9a(0x26a),'width':'1em','height':_0x52fe9a(0x39a)},'children':[{'tag':'g','attrs':{'clipPath':_0x52fe9a(0x154)},'children':[{'tag':'path','attrs':{'stroke':_0x52fe9a(0x1cf),'d':_0x52fe9a(0x338),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x52fe9a(0x2c5),'attrs':{},'children':[{'tag':_0x52fe9a(0x28d),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x52fe9a(0x15d),'attrs':{'fill':_0x52fe9a(0x288),'d':_0x52fe9a(0x2b3)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x269bd4=_0x57419d[_0x52fe9a(0x33f)](function(_0x5be930,_0x365fe1){const _0x5cb34f=_0x52fe9a;return _0x57419d[_0x5cb34f(0x30b)](_0x4d0bbb,Object['assign']({},_0x5be930,{'id':_0x5cb34f(0x15f),'ref':_0x365fe1,'icon':_0x1e864d}));});_0x269bd4[_0x52fe9a(0x1a8)]=_0x52fe9a(0x311);var _0x179536={'tag':_0x52fe9a(0x12d),'attrs':{'xmlns':_0x52fe9a(0x1b0),'fill':_0x52fe9a(0x3bc),'viewBox':'0\x200\x2017\x2016','width':_0x52fe9a(0x39a),'height':_0x52fe9a(0x39a)},'children':[{'tag':'g','attrs':{'clipPath':_0x52fe9a(0x36d)},'children':[{'tag':_0x52fe9a(0x15d),'attrs':{'stroke':_0x52fe9a(0x1cf),'d':_0x52fe9a(0x28c),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x52fe9a(0x2c5),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x52fe9a(0x329)},'children':[{'tag':'path','attrs':{'fill':_0x52fe9a(0x288),'d':_0x52fe9a(0x2b3),'transform':_0x52fe9a(0x278)}}]}]}],'defIds':[_0x52fe9a(0x329)]},_0x4c3aa7=_0x57419d[_0x52fe9a(0x33f)](function(_0x16b6ff,_0x4219a8){const _0x2776a4=_0x52fe9a;return _0x57419d[_0x2776a4(0x30b)](_0x4d0bbb,Object[_0x2776a4(0x303)]({},_0x16b6ff,{'id':'on-line-icon','ref':_0x4219a8,'icon':_0x179536}));});_0x4c3aa7['displayName']=_0x52fe9a(0x217);function _0x3a316a(_0x54320d){const _0x29969d=_0x52fe9a;switch(_0x54320d){case _0x19b52f[_0x29969d(0x2f4)]['OFFLINE']:return'collabStatus.offline';case _0x19b52f['CollaborationStatus'][_0x29969d(0x2c2)]:return _0x29969d(0x1d2);case _0x19b52f['CollaborationStatus'][_0x29969d(0x13e)]:return _0x29969d(0x15e);case _0x19b52f[_0x29969d(0x2f4)][_0x29969d(0x2db)]:return _0x29969d(0x22c);case _0x19b52f[_0x29969d(0x2f4)][_0x29969d(0x17f)]:case _0x19b52f[_0x29969d(0x2f4)][_0x29969d(0x351)]:return _0x29969d(0x144);case _0x19b52f['CollaborationStatus']['SYNCED']:case _0x19b52f['CollaborationStatus'][_0x29969d(0x281)]:return _0x29969d(0x2a0);}}function _0x3af5e3(_0x3a727c){const _0x39ef81=_0x52fe9a,{status$:_0x57ba4f}=_0x3a727c,_0x4cdc80=_0x47db79[_0x39ef81(0x34f)](_0x57ba4f,_0x19b52f[_0x39ef81(0x2f4)]['NOT_COLLAB']),_0x112408=_0x47db79[_0x39ef81(0x167)](_0x333829[_0x39ef81(0x275)]),_0x32088=_0x47db79[_0x39ef81(0x167)](_0x19b52f[_0x39ef81(0x158)]),_0x119a5d=_0x4cdc80!==_0x19b52f[_0x39ef81(0x2f4)][_0x39ef81(0x1c8)],_0x56c7b6=_0x112408['t'](_0x3a316a(_0x4cdc80)),_0x5f41f8=_0x119a5d?_0x155526[_0x39ef81(0x3b9)](_0x4c3aa7,{}):_0x155526[_0x39ef81(0x3b9)](_0x269bd4,{}),_0x7540a0=_0x57419d['useCallback'](()=>{const _0x4e37b2=_0x39ef81;_0x119a5d||_0x32088[_0x4e37b2(0x374)]();},[_0x119a5d,_0x32088]);function _0x1b4a09(){const _0x1ea6dc=_0x39ef81;return _0x155526[_0x1ea6dc(0x2f6)](_0x1ea6dc(0x3a1),{'className':'univer-flex\x20univer-items-center','onClick':_0x7540a0,'children':[_0x155526[_0x1ea6dc(0x3b9)]('div',{'className':_0xffead9['clsx'](_0x1ea6dc(0x368),{'univer-text-green-500':_0x119a5d,'univer-text-red-500':!_0x119a5d}),'children':_0x5f41f8}),_0x155526[_0x1ea6dc(0x3b9)]('div',{'className':_0x1ea6dc(0x1fe),'children':_0x56c7b6})]});}return _0x119a5d?_0x1b4a09():_0x155526[_0x39ef81(0x3b9)](_0xffead9['Tooltip'],{'title':_0x112408['t'](_0x39ef81(0x160)),'children':_0x1b4a09()});}var _0x30a9c9=Object[_0x52fe9a(0x2e5)],_0xbc8edd=(_0x2a02cd,_0x430abe,_0x4c3d44,_0x32e12d)=>{const _0x31bd25=_0x52fe9a;for(var _0x192292=_0x32e12d>0x1?void 0x0:_0x32e12d?_0x30a9c9(_0x430abe,_0x4c3d44):_0x430abe,_0x406ccd=_0x2a02cd[_0x31bd25(0x21d)]-0x1,_0x4ca4db;_0x406ccd>=0x0;_0x406ccd--)(_0x4ca4db=_0x2a02cd[_0x406ccd])&&(_0x192292=_0x4ca4db(_0x192292)||_0x192292);return _0x192292;},_0x2eb492=(_0x49e407,_0x4343ef)=>(_0x355caa,_0x5f47ba)=>_0x4343ef(_0x355caa,_0x5f47ba,_0x49e407);_0x57e2df[_0x52fe9a(0x37f)]=class extends _0x333829['Disposable']{constructor(_0x2b9fee,_0x2cbed2,_0x4b9678,_0xe5d753){const _0x4f2b86=_0x52fe9a;super(),_0x4e27f7(this,_0x4f2b86(0x127),new _0x21dbc8[(_0x4f2b86(0x2e8))](_0x19b52f['CollaborationStatus'][_0x4f2b86(0x2db)])),(this[_0x4f2b86(0x2c8)]=_0x2b9fee,this[_0x4f2b86(0x25e)]=_0x2cbed2,this[_0x4f2b86(0x241)]=_0x4b9678,this[_0x4f2b86(0x25c)]=_0xe5d753,this['_initStatusComponent'](),this[_0x4f2b86(0x27c)]());}[_0x52fe9a(0x27c)](){const _0x2abee8=_0x52fe9a;this[_0x2abee8(0x33a)](this[_0x2abee8(0x2c8)][_0x2abee8(0x15b)][_0x2abee8(0x131)](_0x21dbc8[_0x2abee8(0x149)](()=>{const _0x26321d=_0x2abee8,_0x414f12=this['_univerInstanceService'][_0x26321d(0x30d)]();return _0x414f12?this['_collaborationController'][_0x26321d(0x14c)](_0x414f12[_0x26321d(0x321)]()):_0x21dbc8['of'](null);}),_0x21dbc8[_0x2abee8(0x149)](_0x45f33b=>_0x45f33b?_0x45f33b[_0x2abee8(0x34b)]:_0x21dbc8['of'](_0x19b52f[_0x2abee8(0x2f4)][_0x2abee8(0x2db)])))[_0x2abee8(0x140)](_0x2e9d9c=>{const _0x5e1d07=_0x2abee8;this[_0x5e1d07(0x127)][_0x5e1d07(0x150)](_0x2e9d9c);}));}[_0x52fe9a(0x2a3)](){const _0x48c485=_0x52fe9a;this['disposeWithMe'](this[_0x48c485(0x25c)][_0x48c485(0x1a1)](_0x47db79[_0x48c485(0x31f)][_0x48c485(0x33c)],()=>_0x47db79[_0x48c485(0x1b9)](_0x19a77b({'status$':this[_0x48c485(0x127)][_0x48c485(0x180)]()}),this['_injector'])));}},_0x57e2df['DesktopCollaborationStatusDisplayController']=_0xbc8edd([_0x2eb492(0x0,_0x333829[_0x52fe9a(0x155)]),_0x2eb492(0x1,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x2eb492(0x2,_0x333829['Inject'](_0x19b52f[_0x52fe9a(0x289)])),_0x2eb492(0x3,_0x47db79[_0x52fe9a(0x1d1)])],_0x57e2df['DesktopCollaborationStatusDisplayController']);function _0x19a77b(_0x208cb8){const {status$:_0x4b8ebe}=_0x208cb8;return function(){const _0x53a278=_0x424a;return _0x155526[_0x53a278(0x3b9)](_0x3af5e3,{'status$':_0x4b8ebe});};}var _0x297c16=Object[_0x52fe9a(0x2e5)],_0x1addd3=(_0x5716cb,_0x5ddcb5,_0xdf7e02,_0x5d0dc8)=>{for(var _0x5c86d8=_0x5d0dc8>0x1?void 0x0:_0x5d0dc8?_0x297c16(_0x5ddcb5,_0xdf7e02):_0x5ddcb5,_0x5bf024=_0x5716cb['length']-0x1,_0x262141;_0x5bf024>=0x0;_0x5bf024--)(_0x262141=_0x5716cb[_0x5bf024])&&(_0x5c86d8=_0x262141(_0x5c86d8)||_0x5c86d8);return _0x5c86d8;},_0x25aa39=(_0x31992c,_0xc38dcb)=>(_0x22b6a6,_0x164abc)=>_0xc38dcb(_0x22b6a6,_0x164abc,_0x31992c);let _0x4756d0=class extends _0x333829[_0x52fe9a(0x13b)]{constructor(_0x1998c3,_0x4ca8e9,_0x5e0c30,_0x10291b,_0x3917ae,_0x3fbd8c){const _0x2a291f=_0x52fe9a;super(),this[_0x2a291f(0x259)]=_0x1998c3,this[_0x2a291f(0x394)]=_0x4ca8e9,this[_0x2a291f(0x35e)]=_0x5e0c30,this[_0x2a291f(0x358)]=_0x10291b,this[_0x2a291f(0x1d4)]=_0x3917ae,this[_0x2a291f(0x26c)]=_0x3fbd8c,this[_0x2a291f(0x248)](),this[_0x2a291f(0x1aa)]();}[_0x52fe9a(0x248)](){const _0x3e3b16=_0x52fe9a;this['disposeWithMe'](this[_0x3e3b16(0x259)][_0x3e3b16(0x126)](()=>{const _0x10a3eb=_0x3e3b16;if(this[_0x10a3eb(0x394)][_0x10a3eb(0x343)][_0x10a3eb(0x1a6)])return this[_0x10a3eb(0x26c)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x52fe9a(0x1aa)](){const _0x23353c=_0x52fe9a;this['disposeWithMe'](this['_collaborationUIEventService']['event$'][_0x23353c(0x140)](_0x91fece=>{const _0x891ff7=_0x23353c;_0x91fece['id']===_0x19b52f['CollaborationUIEventId'][_0x891ff7(0x13a)]&&this[_0x891ff7(0x358)][_0x891ff7(0x3b0)]({'type':_0xffead9['MessageType'][_0x891ff7(0x1ab)],'content':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x1cb))}),_0x91fece['id']===_0x19b52f['CollaborationUIEventId'][_0x891ff7(0x270)]&&this[_0x891ff7(0x358)][_0x891ff7(0x3b0)]({'type':_0xffead9[_0x891ff7(0x208)][_0x891ff7(0x1ab)],'content':this['_localeService']['t'](_0x891ff7(0x298))}),_0x91fece['id']===_0x19b52f['CollaborationUIEventId'][_0x891ff7(0x2a4)]&&this['_notificationService']['show']({'title':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x142)),'content':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x177)),'type':_0x891ff7(0x39e),'duration':0x0}),_0x91fece['id']===_0x19b52f[_0x891ff7(0x34d)][_0x891ff7(0x2c2)]&&this[_0x891ff7(0x358)][_0x891ff7(0x3b0)]({'type':_0xffead9['MessageType']['Error'],'content':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x298))+'('+_0x91fece[_0x891ff7(0x274)]+')'}),_0x91fece['id']===_0x19b52f[_0x891ff7(0x34d)][_0x891ff7(0x1dd)]&&this[_0x891ff7(0x358)]['show']({'type':_0xffead9['MessageType'][_0x891ff7(0x1ab)],'content':this[_0x891ff7(0x26c)]['t'](_0x91fece[_0x891ff7(0x274)]||'')}),_0x91fece['id']===_0x19b52f['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x891ff7(0x358)]['show']({'type':_0xffead9['MessageType'][_0x891ff7(0x1ab)],'content':this['_localeService']['t'](_0x891ff7(0x320))}),_0x91fece['id']===_0x19b52f[_0x891ff7(0x34d)][_0x891ff7(0x128)]&&this[_0x891ff7(0x358)][_0x891ff7(0x3b0)]({'type':_0xffead9[_0x891ff7(0x208)][_0x891ff7(0x2f0)],'content':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x32b))}),_0x91fece['id']===_0x19b52f[_0x891ff7(0x34d)][_0x891ff7(0x1a5)]&&this[_0x891ff7(0x358)][_0x891ff7(0x3b0)]({'type':_0xffead9[_0x891ff7(0x208)][_0x891ff7(0x2f0)],'content':this[_0x891ff7(0x26c)]['t'](_0x891ff7(0x2a9))});}));}};_0x4756d0=_0x1addd3([_0x25aa39(0x0,_0x47db79[_0x52fe9a(0x3a2)]),_0x25aa39(0x1,_0x19b52f[_0x52fe9a(0x257)]),_0x25aa39(0x2,_0x333829[_0x52fe9a(0x359)](_0x19b52f[_0x52fe9a(0x168)])),_0x25aa39(0x3,_0x47db79[_0x52fe9a(0x1df)]),_0x25aa39(0x4,_0x47db79[_0x52fe9a(0x163)]),_0x25aa39(0x5,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x275)]))],_0x4756d0);const _0xdcc0ca='collaboration-client-ui.config',_0x329c35={},_0xe2e142=_0x333829['createIdentifier']('uni.network.url-service');var _0x1156e7=Object['getOwnPropertyDescriptor'],_0x3c674c=(_0x521c7f,_0x390d6b,_0xcee685,_0x82e6ac)=>{const _0x5c2360=_0x52fe9a;for(var _0x5e88e4=_0x82e6ac>0x1?void 0x0:_0x82e6ac?_0x1156e7(_0x390d6b,_0xcee685):_0x390d6b,_0x44e052=_0x521c7f[_0x5c2360(0x21d)]-0x1,_0x13904c;_0x44e052>=0x0;_0x44e052--)(_0x13904c=_0x521c7f[_0x44e052])&&(_0x5e88e4=_0x13904c(_0x5e88e4)||_0x5e88e4);return _0x5e88e4;},_0x13e7a4=(_0x34e7b5,_0x298156)=>(_0x471199,_0x3a3fbb)=>_0x298156(_0x471199,_0x3a3fbb,_0x34e7b5);_0x57e2df['CollaborationDataLoaderController']=class extends _0x333829[_0x52fe9a(0x35f)]{constructor(_0xe87d10,_0x12d88a,_0x2e87f7,_0x2faa3e,_0x5662ba){const _0x2010bf=_0x52fe9a;super(),this['_urlService']=_0xe87d10,this[_0x2010bf(0x316)]=_0x12d88a,this['_commandService']=_0x2e87f7,this[_0x2010bf(0x23b)]=_0x2faa3e,_0x5662ba?_0x5662ba==null||_0x5662ba[_0x2010bf(0x198)]()[_0x2010bf(0x3c1)](()=>this[_0x2010bf(0x237)]()):(this['_logService']['debug'](_0x2010bf(0x2e0),_0x2010bf(0x2df)),this[_0x2010bf(0x237)]());}async[_0x52fe9a(0x237)](){const _0x5a5fbb=_0x52fe9a,_0x2975f1=this[_0x5a5fbb(0x170)][_0x5a5fbb(0x326)]('unit'),_0x19ff35=this['_urlService']['getParam'](_0x5a5fbb(0x3bd)),_0x3746d0=this[_0x5a5fbb(0x170)]['getParam'](_0x5a5fbb(0x1b8));if(!_0x2975f1||!_0x19ff35){this[_0x5a5fbb(0x316)]['debug']('[CollaborationDataLoaderController]',_0x5a5fbb(0x31b));return;}const _0x3459=await this['_dataLoaderService'][_0x5a5fbb(0x3ac)](_0x2975f1,Number(_0x19ff35),_0x3746d0);_0x3459&&_0x3459 instanceof _0x333829[_0x5a5fbb(0x12e)]&&this[_0x5a5fbb(0x39d)](_0x3459);}async[_0x52fe9a(0x39d)](_0x20c7f7){const _0xefa7a4=_0x52fe9a;await this[_0xefa7a4(0x249)](_0x20c7f7),_0x20c7f7[_0xefa7a4(0x276)][_0xefa7a4(0x131)](_0x21dbc8[_0xefa7a4(0x315)](this[_0xefa7a4(0x3b5)]))['subscribe'](_0x37dbb3=>{_0x37dbb3&&this['_updateURLWithCurrentState'](_0x37dbb3);}),this['_urlService'][_0xefa7a4(0x2af)]['pipe'](_0x21dbc8['takeUntil'](this[_0xefa7a4(0x3b5)]))[_0xefa7a4(0x140)](()=>this[_0xefa7a4(0x249)](_0x20c7f7));}['_updateURLWithCurrentState'](_0x3ca419,_0x4a1f26=!0x1){const _0x5efb96=_0x52fe9a,_0x4732d2=this[_0x5efb96(0x170)][_0x5efb96(0x326)](_0x5efb96(0x1b8));_0x3ca419[_0x5efb96(0x29a)]()!==_0x4732d2&&this[_0x5efb96(0x170)][_0x5efb96(0x254)]('subunit',_0x3ca419[_0x5efb96(0x29a)](),_0x4a1f26);}async[_0x52fe9a(0x249)](_0x3b2dee){const _0x2c5c4d=_0x52fe9a;var _0x2bb5b3;const _0x55e4b5=this[_0x2c5c4d(0x170)][_0x2c5c4d(0x326)]('subunit');if(!_0x55e4b5||!_0x3b2dee[_0x2c5c4d(0x37e)](_0x55e4b5)){const _0x2b81b7=_0x3b2dee['getUnhiddenWorksheets']()[0x0],_0x5ef61a=_0x3b2dee[_0x2c5c4d(0x37e)](_0x2b81b7);if(!_0x5ef61a)return;this['_updateURLWithCurrentState'](_0x5ef61a,!0x0),await this['_commandService'][_0x2c5c4d(0x17b)](_0x36f408[_0x2c5c4d(0x1b2)]['id'],{'unitId':_0x3b2dee['getUnitId'](),'subUnitId':_0x2b81b7});return;}((_0x2bb5b3=_0x3b2dee['getActiveSheet']())==null?void 0x0:_0x2bb5b3[_0x2c5c4d(0x29a)]())!==_0x55e4b5&&await this['_commandService'][_0x2c5c4d(0x17b)](_0x36f408[_0x2c5c4d(0x1b2)]['id'],{'unitId':_0x3b2dee[_0x2c5c4d(0x321)](),'subUnitId':_0x55e4b5});}},_0x57e2df[_0x52fe9a(0x199)]=_0x3c674c([_0x13e7a4(0x0,_0xe2e142),_0x13e7a4(0x1,_0x333829[_0x52fe9a(0x239)]),_0x13e7a4(0x2,_0x333829[_0x52fe9a(0x12b)]),_0x13e7a4(0x3,_0x333829[_0x52fe9a(0x359)](_0x19b52f[_0x52fe9a(0x14f)])),_0x13e7a4(0x4,_0x333829[_0x52fe9a(0x1ba)](_0x2f33ce[_0x52fe9a(0x162)]))],_0x57e2df[_0x52fe9a(0x199)]);var _0xbfe25d=Object[_0x52fe9a(0x2e5)],_0x443bd0=(_0x19ff67,_0x345a3e,_0x245177,_0x1903f8)=>{const _0x33f64d=_0x52fe9a;for(var _0x578b25=_0x1903f8>0x1?void 0x0:_0x1903f8?_0xbfe25d(_0x345a3e,_0x245177):_0x345a3e,_0x1222e9=_0x19ff67[_0x33f64d(0x21d)]-0x1,_0x57aaca;_0x1222e9>=0x0;_0x1222e9--)(_0x57aaca=_0x19ff67[_0x1222e9])&&(_0x578b25=_0x57aaca(_0x578b25)||_0x578b25);return _0x578b25;},_0x1169a0=(_0x1aa57d,_0x1aece6)=>(_0x2486b6,_0x11e00e)=>_0x1aece6(_0x2486b6,_0x11e00e,_0x1aa57d);let _0x201757=class{constructor(_0x5c5d92,_0x1f4b16,_0x3f1656){const _0xfecae=_0x52fe9a;this['_injector']=_0x5c5d92,this[_0xfecae(0x176)]=_0x1f4b16,this['_renderManagerService']=_0x3f1656;}[_0x52fe9a(0x30c)](_0x180ab3){const _0xb7671c=_0x52fe9a;this['_transformUndoRedoStack'](_0x180ab3),this[_0xb7671c(0x309)](_0x180ab3);}[_0x52fe9a(0x1d7)](_0x279153){const _0x6d346b=_0x52fe9a,{unitID:_0x2cba9a}=_0x279153,_0x66e96f=this[_0x6d346b(0x399)]['getRenderById'](_0x2cba9a)[_0x6d346b(0x2be)](_0x5cd28b[_0x6d346b(0x341)]),{redoCache:_0x2d95f9}=_0x66e96f[_0x6d346b(0x37b)]();if(_0x2d95f9[_0x6d346b(0x21d)]===0x0)return _0x279153;let _0x277ee3=_0x333829['Tools']['deepClone'](_0x279153['mutations'][0x0]);for(let _0x145f87=0x0;_0x145f87<_0x2d95f9['length'];_0x145f87++){const _0x2c620a={'id':_0x6d346b(0x29d),'params':{..._0x2d95f9[_0x145f87]}},_0x579ec3=this['_transformService'][_0x6d346b(0x37c)](_0x277ee3,_0x2c620a,!0x1);if(_0x2efac4[_0x6d346b(0x212)](_0x579ec3))throw _0x579ec3[_0x6d346b(0x39e)];_0x277ee3=_0x579ec3['m1Prime'];}return{..._0x333829[_0x6d346b(0x175)][_0x6d346b(0x24c)](_0x279153),'mutations':[_0x277ee3]};}[_0x52fe9a(0x371)](_0x162359){const _0x476988=_0x52fe9a,{unitID:_0x3fcdc5}=_0x162359,_0x333219=this[_0x476988(0x399)][_0x476988(0x392)](_0x3fcdc5)[_0x476988(0x2be)](_0x5cd28b[_0x476988(0x341)]),{undoCache:_0x217a1b,redoCache:_0x5a64e6}=_0x333219[_0x476988(0x37b)]();if(_0x217a1b['length']===0x0||_0x5a64e6[_0x476988(0x21d)]===0x0)return;const _0x2e7195=[],_0x2ff592=[];let _0x26ea82=_0x333829['Tools'][_0x476988(0x24c)](_0x162359['mutations'][0x0]),_0xe1e4b2=_0x333829[_0x476988(0x175)][_0x476988(0x24c)](_0x162359['mutations'][0x0]);for(let _0x29714f=_0x217a1b[_0x476988(0x21d)]-0x1;_0x29714f>=0x0;_0x29714f--){const _0x511174={'id':_0x476988(0x29d),'params':{..._0x217a1b[_0x29714f]}},_0x41e8b6={'id':'doc.mutation.rich-text-editing','params':{..._0x5a64e6[_0x29714f]}},_0x418c60=this[_0x476988(0x176)]['transformMutation'](_0x26ea82,_0x511174,!0x1),_0x5a10fc=this['_transformService'][_0x476988(0x37c)](_0xe1e4b2,_0x41e8b6,!0x1);if(_0x2efac4[_0x476988(0x212)](_0x418c60))throw _0x418c60[_0x476988(0x39e)];if(_0x2efac4[_0x476988(0x212)](_0x5a10fc))throw _0x5a10fc[_0x476988(0x39e)];_0x2e7195[_0x476988(0x384)](_0x418c60[_0x476988(0x25a)][_0x476988(0x272)]),_0x2ff592['unshift'](_0x5a10fc['m2Prime'][_0x476988(0x272)]),_0x26ea82=_0x418c60[_0x476988(0x360)],_0xe1e4b2=_0x5a10fc['m1Prime'];}_0x333219[_0x476988(0x1bd)]({'undoCache':_0x2e7195,'redoCache':_0x2ff592});}[_0x52fe9a(0x309)](_0x1ceb00){const _0x5bca0e=_0x52fe9a,{unitID:_0x5119ac}=_0x1ceb00,_0x53e541=this[_0x5bca0e(0x399)][_0x5bca0e(0x392)](_0x5119ac)['with'](_0x5cd28b[_0x5bca0e(0x341)]),_0x1a684b=_0x53e541[_0x5bca0e(0x182)]();if(_0x1a684b==null)return;const _0x5ade42=[{'id':_0x5bca0e(0x29d),'params':{'unitId':_0x1ceb00[_0x5bca0e(0x1e4)],'actions':null,'textRanges':[_0x1a684b]}}],_0x3ec082=this[_0x5bca0e(0x176)][_0x5bca0e(0x287)](_0x1ceb00,_0x5ade42);if(!_0x2efac4['isTransformMutationsWithChangesetSuccess'](_0x3ec082))throw _0x3ec082[_0x5bca0e(0x39e)];const _0x36dd80=_0x3ec082['m2Prime'][0x0][_0x5bca0e(0x272)]['textRanges'];Array[_0x5bca0e(0x1f4)](_0x36dd80)&&_0x36dd80['length']&&_0x53e541[_0x5bca0e(0x197)](_0x36dd80[0x0]);}};_0x201757=_0x443bd0([_0x1169a0(0x0,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x1169a0(0x1,_0x2efac4[_0x52fe9a(0x218)]),_0x1169a0(0x2,_0x1e4d9a[_0x52fe9a(0x1c9)])],_0x201757);var _0x1c292d=Object[_0x52fe9a(0x2e5)],_0x15ca3e=(_0x3e4728,_0x5bb2f7,_0x632e4a,_0x489eb9)=>{for(var _0x491df9=_0x489eb9>0x1?void 0x0:_0x489eb9?_0x1c292d(_0x5bb2f7,_0x632e4a):_0x5bb2f7,_0x536cf4=_0x3e4728['length']-0x1,_0x47fcf5;_0x536cf4>=0x0;_0x536cf4--)(_0x47fcf5=_0x3e4728[_0x536cf4])&&(_0x491df9=_0x47fcf5(_0x491df9)||_0x491df9);return _0x491df9;},_0x3137c1=(_0x494003,_0x44f793)=>(_0x19813f,_0x1d6915)=>_0x44f793(_0x19813f,_0x1d6915,_0x494003);let _0x9162f9=class{constructor(_0x54c01a,_0x365167,_0x4d5e1c){const _0x54ab40=_0x52fe9a;this[_0x54ab40(0x25e)]=_0x54c01a,this[_0x54ab40(0x176)]=_0x365167,this[_0x54ab40(0x2cc)]=_0x4d5e1c;}[_0x52fe9a(0x269)](_0x161f1e){this['_transformHistoryAndStateStack'](_0x161f1e);}[_0x52fe9a(0x1d7)](_0x35974f){const _0xc482d1=_0x52fe9a,{unitID:_0x36a52b}=_0x35974f,{collaboration:_0x3860a9}=this['_docStateChangeManagerService'][_0xc482d1(0x30a)](_0x36a52b);if(_0x3860a9[_0xc482d1(0x21d)]===0x0)return _0x35974f;let _0x35c485=_0x333829[_0xc482d1(0x175)][_0xc482d1(0x24c)](_0x35974f['mutations'][0x0]);for(let _0x365a1b=0x0;_0x365a1b<_0x3860a9[_0xc482d1(0x21d)];_0x365a1b++){const _0xb0b3af={'id':_0xc482d1(0x29d),'params':{'unitId':_0x3860a9[_0x365a1b][_0xc482d1(0x356)],..._0x3860a9[_0x365a1b][_0xc482d1(0x1da)]}},_0x12e850=this['_transformService'][_0xc482d1(0x37c)](_0x35c485,_0xb0b3af,!0x1);if(_0x2efac4[_0xc482d1(0x212)](_0x12e850))throw _0x12e850[_0xc482d1(0x39e)];_0x35c485=_0x12e850[_0xc482d1(0x360)];}return{..._0x333829[_0xc482d1(0x175)][_0xc482d1(0x24c)](_0x35974f),'mutations':[_0x35c485]};}[_0x52fe9a(0x219)](_0x2112d0){const _0x1f9b72=_0x52fe9a,{unitID:_0x2fa287}=_0x2112d0,{history:_0x16d394,collaboration:_0x196f3c}=this[_0x1f9b72(0x2cc)][_0x1f9b72(0x30a)](_0x2fa287);if(_0x16d394[_0x1f9b72(0x21d)]===0x0&&_0x196f3c[_0x1f9b72(0x21d)]===0x0)return;const _0x69257b=[],_0x126ca3=[];let _0x7d042b=_0x333829['Tools'][_0x1f9b72(0x24c)](_0x2112d0[_0x1f9b72(0x28f)][0x0]),_0x121022=_0x333829[_0x1f9b72(0x175)][_0x1f9b72(0x24c)](_0x2112d0['mutations'][0x0]);for(let _0x1e5a04=_0x16d394[_0x1f9b72(0x21d)]-0x1;_0x1e5a04>=0x0;_0x1e5a04--){const _0x58ca67={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x16d394[_0x1e5a04][_0x1f9b72(0x356)],..._0x16d394[_0x1e5a04][_0x1f9b72(0x1f1)]}},_0x1e2c5f={'id':_0x1f9b72(0x29d),'params':{'unitId':_0x16d394[_0x1e5a04][_0x1f9b72(0x356)],..._0x16d394[_0x1e5a04][_0x1f9b72(0x1da)]}},_0x34989b=this[_0x1f9b72(0x176)][_0x1f9b72(0x37c)](_0x7d042b,_0x58ca67,!0x1),_0x22219c=this[_0x1f9b72(0x176)][_0x1f9b72(0x37c)](_0x121022,_0x1e2c5f,!0x1);if(_0x2efac4['isTransformMutationFailure'](_0x34989b))throw _0x34989b[_0x1f9b72(0x39e)];if(_0x2efac4[_0x1f9b72(0x212)](_0x22219c))throw _0x22219c['error'];_0x69257b[_0x1f9b72(0x384)]({..._0x16d394[_0x1e5a04],'undoState':_0x34989b['m2Prime']['params'],'redoState':_0x22219c[_0x1f9b72(0x25a)][_0x1f9b72(0x272)]}),_0x7d042b=_0x34989b[_0x1f9b72(0x360)],_0x121022=_0x22219c[_0x1f9b72(0x360)];}_0x7d042b=_0x333829['Tools'][_0x1f9b72(0x24c)](_0x2112d0[_0x1f9b72(0x28f)][0x0]),_0x121022=_0x333829[_0x1f9b72(0x175)][_0x1f9b72(0x24c)](_0x2112d0[_0x1f9b72(0x28f)][0x0]);for(let _0x4ee1bf=_0x196f3c[_0x1f9b72(0x21d)]-0x1;_0x4ee1bf>=0x0;_0x4ee1bf--){const _0x1962a5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x196f3c[_0x4ee1bf][_0x1f9b72(0x356)],..._0x196f3c[_0x4ee1bf][_0x1f9b72(0x1f1)]}},_0x554b65={'id':_0x1f9b72(0x29d),'params':{'unitId':_0x196f3c[_0x4ee1bf][_0x1f9b72(0x356)],..._0x196f3c[_0x4ee1bf]['redoState']}},_0xc4ce3=this[_0x1f9b72(0x176)][_0x1f9b72(0x37c)](_0x7d042b,_0x1962a5,!0x1),_0x231e03=this[_0x1f9b72(0x176)]['transformMutation'](_0x121022,_0x554b65,!0x1);if(_0x2efac4['isTransformMutationFailure'](_0xc4ce3))throw _0xc4ce3[_0x1f9b72(0x39e)];if(_0x2efac4['isTransformMutationFailure'](_0x231e03))throw _0x231e03[_0x1f9b72(0x39e)];_0x126ca3[_0x1f9b72(0x384)]({..._0x196f3c[_0x4ee1bf],'undoState':_0xc4ce3[_0x1f9b72(0x25a)]['params'],'redoState':_0x231e03[_0x1f9b72(0x25a)]['params']}),_0x7d042b=_0xc4ce3[_0x1f9b72(0x360)],_0x121022=_0x231e03['m1Prime'];}this[_0x1f9b72(0x2cc)]['setStateCache'](_0x2fa287,{'history':_0x69257b,'collaboration':_0x126ca3});}};_0x9162f9=_0x15ca3e([_0x3137c1(0x0,_0x333829[_0x52fe9a(0x359)](_0x333829['Injector'])),_0x3137c1(0x1,_0x2efac4['ITransformService']),_0x3137c1(0x2,_0x333829['Inject'](_0x5cd28b[_0x52fe9a(0x325)]))],_0x9162f9);var _0x1aa30d=Object['getOwnPropertyDescriptor'],_0x374744=(_0x5bff23,_0x5dc10c,_0xf4cd7f,_0x1cfb4a)=>{const _0x3ba225=_0x52fe9a;for(var _0x599925=_0x1cfb4a>0x1?void 0x0:_0x1cfb4a?_0x1aa30d(_0x5dc10c,_0xf4cd7f):_0x5dc10c,_0x16e401=_0x5bff23[_0x3ba225(0x21d)]-0x1,_0x4f6cad;_0x16e401>=0x0;_0x16e401--)(_0x4f6cad=_0x5bff23[_0x16e401])&&(_0x599925=_0x4f6cad(_0x599925)||_0x599925);return _0x599925;},_0x5a05b0=(_0x5a7b71,_0x58ffc8)=>(_0x395fe1,_0xe0855c)=>_0x58ffc8(_0x395fe1,_0xe0855c,_0x5a7b71);let _0x3b0bab=class{constructor(_0x551521,_0x2f5803){const _0x174ec3=_0x52fe9a;this['_injector']=_0x551521,this[_0x174ec3(0x176)]=_0x2f5803;}[_0x52fe9a(0x1c1)](_0x2d8d2e){const _0x3c9409=_0x52fe9a;var _0x3ebd59;const _0x34d0c7=this['_injector'][_0x3c9409(0x29f)](_0x3cc684['DocSelectionManagerService']),_0x579a86=(_0x3ebd59=_0x34d0c7[_0x3c9409(0x37a)]())!=null?_0x3ebd59:[];if(_0x579a86[_0x3c9409(0x21d)]===0x0)return;const _0x5d1392=_0x2d8d2e[_0x3c9409(0x1e4)],_0x5405d1=[{'id':_0x3c9409(0x29d),'params':{'unitId':_0x5d1392,'actions':null,'textRanges':_0x579a86}}],_0x34ab7a=this[_0x3c9409(0x176)][_0x3c9409(0x287)](_0x2d8d2e,_0x5405d1);if(!_0x2efac4[_0x3c9409(0x2a8)](_0x34ab7a))throw _0x34ab7a[_0x3c9409(0x39e)];const _0x2dfa7f=_0x34ab7a['m2Prime'][0x0][_0x3c9409(0x272)][_0x3c9409(0x3ab)];Array[_0x3c9409(0x1f4)](_0x2dfa7f)&&_0x2dfa7f[_0x3c9409(0x21d)]&&_0x34d0c7[_0x3c9409(0x2c9)](_0x2dfa7f,{'unitId':_0x5d1392,'subUnitId':_0x5d1392},!0x1);}};_0x3b0bab=_0x374744([_0x5a05b0(0x0,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x5a05b0(0x1,_0x2efac4['ITransformService'])],_0x3b0bab);var _0x78c432=Object[_0x52fe9a(0x2e5)],_0x4af32f=(_0x35ac97,_0x1e2d1f,_0xd66edf,_0x4dc024)=>{const _0x1764fe=_0x52fe9a;for(var _0x35111b=_0x4dc024>0x1?void 0x0:_0x4dc024?_0x78c432(_0x1e2d1f,_0xd66edf):_0x1e2d1f,_0x9a3b7=_0x35ac97[_0x1764fe(0x21d)]-0x1,_0x35056f;_0x9a3b7>=0x0;_0x9a3b7--)(_0x35056f=_0x35ac97[_0x9a3b7])&&(_0x35111b=_0x35056f(_0x35111b)||_0x35111b);return _0x35111b;},_0x286d1b=(_0x339641,_0xc41d92)=>(_0x1e31a3,_0x576b53)=>_0xc41d92(_0x1e31a3,_0x576b53,_0x339641);let _0x597c02=class extends _0x333829[_0x52fe9a(0x13b)]{constructor(_0x5cb14a,_0x2469b0,_0x10e3a7,_0x46f116,_0x6e584a,_0x480691,_0x47a7b1,_0x25d889){const _0x5e35ff=_0x52fe9a;super(),_0x4e27f7(this,_0x5e35ff(0x127),new _0x21dbc8[(_0x5e35ff(0x2e8))](_0x19b52f[_0x5e35ff(0x2f4)][_0x5e35ff(0x2db)])),(this[_0x5e35ff(0x2cc)]=_0x5cb14a,this[_0x5e35ff(0x241)]=_0x2469b0,this[_0x5e35ff(0x38a)]=_0x10e3a7,this[_0x5e35ff(0x375)]=_0x46f116,this['_docTransformSelectionsService']=_0x6e584a,this[_0x5e35ff(0x38d)]=_0x480691,this[_0x5e35ff(0x358)]=_0x47a7b1,this[_0x5e35ff(0x26c)]=_0x25d889,this['_initEntityListener']());}[_0x52fe9a(0x390)](){const _0x507674=_0x52fe9a;this[_0x507674(0x33a)](this[_0x507674(0x241)]['entityInit$'][_0x507674(0x140)](_0x24901d=>{const _0x3b205c=_0x507674,_0x3200fa=this['_docStateChangeManagerService']['docStateChange$'][_0x3b205c(0x140)](_0x328136=>{const _0x1b1e0f=_0x3b205c;if(_0x328136==null)return;const {unitId:_0x4ea164,redoState:_0x13d0e9,commandId:_0x17d4e8}=_0x328136;if(_0x4ea164!==_0x24901d[_0x1b1e0f(0x1e4)])return;const _0x1abe51={'id':_0x17d4e8,'type':_0x333829[_0x1b1e0f(0x328)][_0x1b1e0f(0x22a)],'params':{'unitId':_0x4ea164,'actions':_0x13d0e9[_0x1b1e0f(0x238)],'textRanges':null}};_0x24901d[_0x1b1e0f(0x2a2)](_0x1abe51);});if(_0x24901d['disposeWithMe'](_0x3200fa),_0x24901d instanceof _0x19b52f[_0x3b205c(0x3b7)]){const _0x29d72b={'onTransformIME':_0x13338f=>this[_0x3b205c(0x38a)][_0x3b205c(0x30c)](_0x13338f),'onTransformState':_0x2def18=>this[_0x3b205c(0x375)][_0x3b205c(0x269)](_0x2def18),'onTransformSelections':_0x26a0b3=>this[_0x3b205c(0x31e)]['transformSelections'](_0x26a0b3),'onSyncEditingCollabCursor':_0x222574=>this[_0x3b205c(0x38d)][_0x3b205c(0x209)](_0x222574),'onTransformRemoteChangesetByIMECache':_0x3f5860=>this[_0x3b205c(0x38a)][_0x3b205c(0x1d7)](_0x3f5860),'onTransformRemoteChangesetByStateCache':_0x2f7611=>this[_0x3b205c(0x375)][_0x3b205c(0x1d7)](_0x2f7611)};_0x24901d[_0x3b205c(0x2dc)](_0x29d72b);}}));}};_0x597c02=_0x4af32f([_0x286d1b(0x0,_0x333829['Inject'](_0x5cd28b[_0x52fe9a(0x325)])),_0x286d1b(0x1,_0x333829[_0x52fe9a(0x359)](_0x19b52f[_0x52fe9a(0x289)])),_0x286d1b(0x2,_0x333829['Inject'](_0x201757)),_0x286d1b(0x3,_0x333829[_0x52fe9a(0x359)](_0x9162f9)),_0x286d1b(0x4,_0x333829[_0x52fe9a(0x359)](_0x3b0bab)),_0x286d1b(0x5,_0x333829[_0x52fe9a(0x359)](_0x23fd98)),_0x286d1b(0x6,_0x47db79[_0x52fe9a(0x1df)]),_0x286d1b(0x7,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x275)]))],_0x597c02);var _0x34ac79=Object[_0x52fe9a(0x2e5)],_0x2c985c=(_0x48315b,_0x2bef77,_0x59d47e,_0x3bb18f)=>{const _0x1d14c6=_0x52fe9a;for(var _0x289866=_0x3bb18f>0x1?void 0x0:_0x3bb18f?_0x34ac79(_0x2bef77,_0x59d47e):_0x2bef77,_0x493cd4=_0x48315b[_0x1d14c6(0x21d)]-0x1,_0x2088e9;_0x493cd4>=0x0;_0x493cd4--)(_0x2088e9=_0x48315b[_0x493cd4])&&(_0x289866=_0x2088e9(_0x289866)||_0x289866);return _0x289866;},_0x5ca813=(_0x368fc0,_0x141e0a)=>(_0xdc9c62,_0x2be9be)=>_0x141e0a(_0xdc9c62,_0x2be9be,_0x368fc0);let _0x57f732=class extends _0x333829[_0x52fe9a(0x13b)]{constructor(_0x511911,_0x21ea17,_0x573f5a){const _0x318400=_0x52fe9a;super(),_0x4e27f7(this,_0x318400(0x346),new Map()),_0x4e27f7(this,_0x318400(0x35a),new Map()),_0x4e27f7(this,_0x318400(0x364),!0x1),(this[_0x318400(0x1d9)]=_0x511911,this[_0x318400(0x353)]=_0x21ea17,this[_0x318400(0x369)]=_0x573f5a);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x52fe9a(0x2ff)](){const _0x6428cb=_0x52fe9a;this[_0x6428cb(0x364)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x52fe9a(0x16a)](){const _0x31f306=_0x52fe9a;this[_0x31f306(0x347)]()[_0x31f306(0x3c1)](()=>super[_0x31f306(0x16a)]());}async[_0x52fe9a(0x267)](_0x294ede){const _0x24e426=_0x52fe9a;return this[_0x24e426(0x364)]?null:this[_0x24e426(0x353)][_0x24e426(0x332)](_0x19b52f[_0x24e426(0x1ec)](_0x294ede));}async[_0x52fe9a(0x2f3)](_0xddfcbf,_0x4f52c9){const _0x8566c0=_0x52fe9a;return!!this[_0x8566c0(0x353)]['setItem'](_0xddfcbf,_0x4f52c9);}[_0x52fe9a(0x260)](_0x2bf92b,_0x199f4e,_0x3fd52c,_0x4f5f14){const _0x497785=_0x52fe9a,_0x7f4692=this['_revisionService'][_0x497785(0x178)](_0x2bf92b);this[_0x497785(0x346)][_0x497785(0x242)](_0x2bf92b,{'unitID':_0x2bf92b,'type':_0x199f4e,'awaitingChangeset':_0x3fd52c,'mutations':_0x4f5f14,'rev':_0x7f4692}),this[_0x497785(0x35a)]['has'](_0x2bf92b)||this[_0x497785(0x2ee)](_0x2bf92b);}[_0x52fe9a(0x2ee)](_0x322a0e){const _0x1dfb98=_0x52fe9a,_0x1ed1c0=this['_getSaveTimeout']();_0x1ed1c0===0x0?this[_0x1dfb98(0x2aa)](_0x322a0e):this[_0x1dfb98(0x35a)][_0x1dfb98(0x242)](_0x322a0e,setTimeout(()=>this[_0x1dfb98(0x2aa)](_0x322a0e),_0x1ed1c0));}['_getSaveTimeout'](){const _0x42a898=_0x52fe9a;var _0x3c1955;return(_0x3c1955=this[_0x42a898(0x1d9)][_0x42a898(0x286)](_0x19b52f[_0x42a898(0x13f)]))!=null?_0x3c1955:_0x19b52f[_0x42a898(0x258)];}[_0x52fe9a(0x2aa)](_0x27fa95){const _0x2e1975=_0x52fe9a,_0x11ff30=this[_0x2e1975(0x35a)][_0x2e1975(0x29f)](_0x27fa95);return _0x11ff30!==void 0x0&&window[_0x2e1975(0x396)](_0x11ff30),this[_0x2e1975(0x353)][_0x2e1975(0x195)](_0x19b52f[_0x2e1975(0x1ec)](_0x27fa95),this['_cachedData'][_0x2e1975(0x29f)](_0x27fa95))[_0x2e1975(0x3c1)](()=>this[_0x2e1975(0x35a)][_0x2e1975(0x29b)](_0x27fa95));}async[_0x52fe9a(0x347)](){const _0x25b9a6=_0x52fe9a,_0x5f4cea=[];this[_0x25b9a6(0x35a)][_0x25b9a6(0x1ea)]((_0x474a96,_0x1f0056)=>{const _0x5e15b7=_0x25b9a6;window[_0x5e15b7(0x396)](_0x474a96),_0x5f4cea[_0x5e15b7(0x19e)](this['_saveCache'](_0x1f0056)['then'](()=>{const _0x17b9cc=_0x5e15b7;this[_0x17b9cc(0x35a)][_0x17b9cc(0x29b)](_0x1f0056);}));}),await Promise[_0x25b9a6(0x39f)](_0x5f4cea);}};_0x57f732=_0x2c985c([_0x5ca813(0x0,_0x333829[_0x52fe9a(0x2ab)]),_0x5ca813(0x1,_0x333829[_0x52fe9a(0x378)]),_0x5ca813(0x2,_0x333829[_0x52fe9a(0x359)](_0x2efac4['RevisionService']))],_0x57f732);class _0x552b4e extends _0x333829['RxDisposable']{constructor(){const _0x488457=_0x52fe9a;super(),_0x4e27f7(this,'urlChange$'),this['urlChange$']=_0x21dbc8[_0x488457(0x121)](window,_0x488457(0x3a5))[_0x488457(0x131)](_0x21dbc8['takeUntil'](this[_0x488457(0x3b5)]),_0x21dbc8[_0x488457(0x190)](0x1),_0x21dbc8[_0x488457(0x14b)](void 0x0));}[_0x52fe9a(0x254)](_0x122f8f,_0x1f9b91,_0x57320c=!0x1){const _0x5e9c2a=_0x52fe9a,_0x22ffbc=new URL(window[_0x5e9c2a(0x1ac)][_0x5e9c2a(0x1fb)]);_0x22ffbc[_0x5e9c2a(0x124)][_0x5e9c2a(0x242)](_0x122f8f,_0x1f9b91),_0x57320c?window[_0x5e9c2a(0x2c1)]['replaceState']('','',_0x22ffbc['toString']()):window['history']['pushState']('','',_0x22ffbc[_0x5e9c2a(0x18a)]());}[_0x52fe9a(0x20e)](_0x51f9a6,_0x58721e=!0x1){const _0x2a73f9=_0x52fe9a,_0x41db74=new URL(window['location']['href']);_0x41db74['searchParams'][_0x2a73f9(0x29b)](_0x51f9a6),_0x58721e?window['history'][_0x2a73f9(0x221)]('','',_0x41db74['toString']()):window['history'][_0x2a73f9(0x24a)]('','',_0x41db74[_0x2a73f9(0x18a)]());}[_0x52fe9a(0x326)](_0x15a8af){const _0x2b1343=_0x52fe9a;var _0x16d00d;return(_0x16d00d=new URL(window[_0x2b1343(0x1ac)]['href'])[_0x2b1343(0x124)][_0x2b1343(0x29f)](_0x15a8af))!=null?_0x16d00d:void 0x0;}}var _0xef97ef=Object[_0x52fe9a(0x2ed)],_0x5e4d74=Object[_0x52fe9a(0x2e5)],_0x38843a=(_0x27371c,_0x574447,_0xe091c9)=>_0x574447 in _0x27371c?_0xef97ef(_0x27371c,_0x574447,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe091c9}):_0x27371c[_0x574447]=_0xe091c9,_0x368c4c=(_0x1b0f9a,_0x3c420b,_0x2d15cc,_0x4c6ce0)=>{const _0x492021=_0x52fe9a;for(var _0x599e70=_0x4c6ce0>0x1?void 0x0:_0x4c6ce0?_0x5e4d74(_0x3c420b,_0x2d15cc):_0x3c420b,_0x101693=_0x1b0f9a[_0x492021(0x21d)]-0x1,_0x4df83c;_0x101693>=0x0;_0x101693--)(_0x4df83c=_0x1b0f9a[_0x101693])&&(_0x599e70=_0x4df83c(_0x599e70)||_0x599e70);return _0x599e70;},_0xaf342b=(_0x196221,_0x46d24a)=>(_0x286814,_0x1b43a8)=>_0x46d24a(_0x286814,_0x1b43a8,_0x196221),_0xfa123c=(_0x564f39,_0x3c6ef4,_0xb796e7)=>_0x38843a(_0x564f39,_0x3c6ef4+'',_0xb796e7);const _0x380066=_0x52fe9a(0x179);_0x57e2df[_0x52fe9a(0x292)]=class extends _0x333829['Plugin']{constructor(_0x500870=_0x329c35,_0x56f4e2,_0x3714b9,_0x1924ff){const _0x57a859=_0x52fe9a;super(),this[_0x57a859(0x188)]=_0x500870,this[_0x57a859(0x399)]=_0x56f4e2,this['_injector']=_0x3714b9,this[_0x57a859(0x1d9)]=_0x1924ff;const {..._0x3b5ce2}=_0x333829[_0x57a859(0x334)]({},_0x329c35,this[_0x57a859(0x188)]);this[_0x57a859(0x1d9)][_0x57a859(0x18d)](_0xdcc0ca,_0x3b5ce2);}[_0x52fe9a(0x216)](){const _0x2f9922=_0x52fe9a;this[_0x2f9922(0x3be)](),this['_initDependencies']();}[_0x52fe9a(0x196)](){const _0x128826=_0x52fe9a;this[_0x128826(0x19c)]();}[_0x52fe9a(0x3be)](){const _0xf8b454=_0x52fe9a;var _0x279198;const _0x2fb363=[[_0x35591e],[_0x3b0bab],[_0x201757],[_0x9162f9],[_0x23fd98],[_0xe2e142,{'useClass':_0x552b4e}],[_0x498070[_0xf8b454(0x31d)],{'useClass':_0x498070[_0xf8b454(0x16e)]}],[_0x19b52f['ILocalCacheService'],{'useClass':_0x57f732}],[_0x57e2df[_0xf8b454(0x37f)]],[_0x597c02],[_0x4756d0],[_0x50aeb5],[_0x291a06],[_0x57e2df[_0xf8b454(0x199)]]];_0x333829[_0xf8b454(0x136)](this['_injector'],_0x333829[_0xf8b454(0x211)](_0x2fb363,(_0x279198=this['_config'])==null?void 0x0:_0x279198[_0xf8b454(0x397)]));}[_0x52fe9a(0x19c)](){const _0x48316f=_0x52fe9a;this[_0x48316f(0x33a)](this['_renderManagerService'][_0x48316f(0x2ea)](_0x333829[_0x48316f(0x26f)][_0x48316f(0x393)],[_0x55e631])),this['disposeWithMe'](this[_0x48316f(0x399)][_0x48316f(0x2ea)](_0x333829['UniverInstanceType']['UNIVER_SHEET'],[_0x120041]));}['_initDependencies'](){const _0x33cd90=_0x52fe9a;_0x333829[_0x33cd90(0x2f9)](this[_0x33cd90(0x25e)],[[_0x50aeb5],[_0x57e2df[_0x33cd90(0x37f)]],[_0x597c02],[_0x4756d0],[_0x57e2df[_0x33cd90(0x199)]]]);}},_0xfa123c(_0x57e2df[_0x52fe9a(0x292)],_0x52fe9a(0x1c5),_0x380066),_0x57e2df[_0x52fe9a(0x292)]=_0x368c4c([_0x333829['DependentOn'](_0x19b52f['UniverCollaborationClientPlugin']),_0xaf342b(0x1,_0x1e4d9a['IRenderManagerService']),_0xaf342b(0x2,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0xaf342b(0x3,_0x333829['IConfigService'])],_0x57e2df[_0x52fe9a(0x292)]);var _0x3ee278=Object[_0x52fe9a(0x2e5)],_0x5de4af=(_0x41fffb,_0x2a214a,_0x5bda43,_0x1d5cd0)=>{for(var _0x9b02df=_0x1d5cd0>0x1?void 0x0:_0x1d5cd0?_0x3ee278(_0x2a214a,_0x5bda43):_0x2a214a,_0x1e72f6=_0x41fffb['length']-0x1,_0x108580;_0x1e72f6>=0x0;_0x1e72f6--)(_0x108580=_0x41fffb[_0x1e72f6])&&(_0x9b02df=_0x108580(_0x9b02df)||_0x9b02df);return _0x9b02df;},_0x321838=(_0x18938d,_0x2a1ae8)=>(_0x49cf2a,_0x53317a)=>_0x2a1ae8(_0x49cf2a,_0x53317a,_0x18938d);_0x57e2df[_0x52fe9a(0x2ca)]=class extends _0x19b52f['CollaborationSocketService']{constructor(_0x463aea,_0x121966,_0x2ae29d,_0x277995,_0x4bd2a1){super(_0x463aea,_0x121966,_0x2ae29d,_0x277995,_0x4bd2a1);}async[_0x52fe9a(0x133)](_0x3b3b22){const _0x5afead=_0x52fe9a,_0x347fb9=await this[_0x5afead(0x253)](),_0x43b71c=this[_0x5afead(0x297)](_0x3b3b22,_0x347fb9);return this[_0x5afead(0x318)](_0x43b71c);}[_0x52fe9a(0x297)](_0x2d394f,_0x35d64e){const _0x37899f=_0x52fe9a,_0x10a443=typeof window>'u'?new URL(_0x2d394f):new URL(_0x2d394f,window[_0x37899f(0x1ac)][_0x37899f(0x2e6)]);_0x10a443[_0x37899f(0x124)][_0x37899f(0x242)](_0x37899f(0x22e),_0x35d64e);const _0x44eead=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x37899f(0x1ac)][_0x37899f(0x273)]);return _0x44eead['get'](_0x37899f(0x2b6))&&_0x10a443[_0x37899f(0x124)][_0x37899f(0x242)](_0x37899f(0x2b6),_0x44eead['get']('runId')),_0x10a443[_0x37899f(0x18a)]();}async[_0x52fe9a(0x253)](){const _0xdf9d30=_0x52fe9a;var _0x4729ce,_0x17d61b,_0x4da810;const _0x50cd32=this['_configService'][_0xdf9d30(0x286)](_0x19b52f[_0xdf9d30(0x33b)]),_0xd7cf88=(_0x4729ce=_0x50cd32==null?void 0x0:_0x50cd32[_0xdf9d30(0x2d5)])!=null?_0x4729ce:_0x19b52f[_0xdf9d30(0x2de)];return(_0x4da810=(_0x17d61b=(await this[_0xdf9d30(0x183)][_0xdf9d30(0x29f)](_0xd7cf88,{'headers':{'Content-Type':'application/json'}}))[_0xdf9d30(0x1d5)])==null?void 0x0:_0x17d61b[_0xdf9d30(0x2fa)])!=null?_0x4da810:'';}},_0x57e2df[_0x52fe9a(0x2ca)]=_0x5de4af([_0x321838(0x0,_0x333829[_0x52fe9a(0x359)](_0x333829[_0x52fe9a(0x335)])),_0x321838(0x1,_0x333829[_0x52fe9a(0x359)](_0x498070['HTTPService'])),_0x321838(0x2,_0x333829['IConfigService']),_0x321838(0x3,_0x333829[_0x52fe9a(0x239)]),_0x321838(0x4,_0x2efac4[_0x52fe9a(0x373)])],_0x57e2df[_0x52fe9a(0x2ca)]);const _0x322517=0x7530,_0x3b8dec=_0x52fe9a(0x191);class _0x4b3c9e extends _0x333829['Disposable']{constructor(){const _0x19d547=_0x52fe9a;super(),_0x4e27f7(this,'_id',_0x333829[_0x19d547(0x1a7)]()),_0x4e27f7(this,_0x19d547(0x1af),new Set()),_0x4e27f7(this,'_unitOnClients',new Map()),_0x4e27f7(this,_0x19d547(0x263),null),_0x4e27f7(this,_0x19d547(0x185),new Map()),_0x4e27f7(this,_0x19d547(0x36b),new Map()),this[_0x19d547(0x237)]();}[_0x52fe9a(0x16a)](){const _0x2ed7cc=_0x52fe9a;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x499d24,_0x37f92a)=>this[_0x2ed7cc(0x372)](_0x37f92a)),this[_0x2ed7cc(0x263)]&&window[_0x2ed7cc(0x27f)](this['_heartbeatTimer']);}[_0x52fe9a(0x2b9)](_0x2ef534){const _0x57139d=_0x52fe9a;return this['_ensureSubject'](_0x2ef534)[_0x57139d(0x131)](_0x21dbc8[_0x57139d(0x187)]());}[_0x52fe9a(0x36f)](_0x4b4178){const _0x54aed4=_0x52fe9a;this[_0x54aed4(0x1af)][_0x54aed4(0x1a6)]===0x0&&this[_0x54aed4(0x2d7)](),this[_0x54aed4(0x1af)][_0x54aed4(0x2ba)](_0x4b4178),this[_0x54aed4(0x2f8)]({'type':0x0,'memberID':this[_0x54aed4(0x268)],'unitIDs':[_0x4b4178],'isForwarded':!0x1});}['disposeUnit'](_0x59c54a){const _0x430455=_0x52fe9a;this[_0x430455(0x1af)][_0x430455(0x29b)](_0x59c54a),this['_selfUnitIDs'][_0x430455(0x1a6)]===0x0&&this[_0x430455(0x263)]&&window[_0x430455(0x27f)](this[_0x430455(0x263)]);}[_0x52fe9a(0x237)](){const _0x34f6fb=_0x52fe9a;this['disposeWithMe'](_0x333829[_0x34f6fb(0x2cb)](_0x21dbc8[_0x34f6fb(0x121)](window,_0x34f6fb(0x299))[_0x34f6fb(0x140)](_0x124dfa=>{const _0xc7a83d=_0x34f6fb;if(_0x124dfa[_0xc7a83d(0x201)]!==_0x3b8dec||!_0x124dfa[_0xc7a83d(0x1f9)])return;const _0x4f759b=JSON[_0xc7a83d(0x361)](_0x124dfa[_0xc7a83d(0x1f9)]);this['_handleEvent'](_0x4f759b);}))),window[_0x34f6fb(0x159)](_0x34f6fb(0x1e5),()=>this[_0x34f6fb(0x2f8)]({'type':0x1,'memberID':this[_0x34f6fb(0x268)],'unitIDs':Array['from'](this[_0x34f6fb(0x1af)])}));}[_0x52fe9a(0x146)](_0x4b232c){const _0x46c12a=_0x52fe9a;switch(_0x4b232c['type']){case 0x0:this[_0x46c12a(0x24f)](_0x4b232c);break;case 0x1:this[_0x46c12a(0x34e)](_0x4b232c);break;case 0x2:this[_0x46c12a(0x2a1)](_0x4b232c);break;}}[_0x52fe9a(0x24f)](_0x158566){const _0x27164d=_0x52fe9a,{unitIDs:_0x3c47ef,memberID:_0x35c27b,isForwarded:_0x1f298a}=_0x158566;_0x3c47ef['forEach'](_0x512a3d=>{const _0x4b5cee=_0x424a;if(!_0x1f298a&&this[_0x4b5cee(0x310)][_0x4b5cee(0x141)](_0x512a3d)&&this[_0x4b5cee(0x31a)](_0x512a3d)['next'](_0x19b52f['UnitStatus']['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x512a3d)||!this[_0x4b5cee(0x310)]['get'](_0x512a3d)[_0x4b5cee(0x141)](_0x35c27b)){const _0x6c69e6=this['_unitOnClients'][_0x4b5cee(0x29f)](_0x512a3d)||new Set();_0x6c69e6['add'](_0x35c27b),this[_0x4b5cee(0x310)][_0x4b5cee(0x242)](_0x512a3d,_0x6c69e6),this[_0x4b5cee(0x3bf)](_0x35c27b);}}),_0x1f298a||this[_0x27164d(0x2f8)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x27164d(0x1af)]],'isForwarded':!0x0});}[_0x52fe9a(0x3bf)](_0x1536b4){const _0x4eeb1c=_0x52fe9a;this['_removeClearOtherTimer'](_0x1536b4);const _0x4c96e0=window[_0x4eeb1c(0x157)](()=>{const _0x59de24=_0x4eeb1c;this[_0x59de24(0x310)][_0x59de24(0x1ea)](_0x1baba7=>{const _0x57477a=_0x59de24;_0x1baba7[_0x57477a(0x29b)](_0x1536b4);});},_0x322517*0x2);this[_0x4eeb1c(0x185)][_0x4eeb1c(0x242)](_0x1536b4,_0x4c96e0);}['_removeClearOtherTimer'](_0x1110d2){const _0x590c7b=_0x52fe9a;if(this[_0x590c7b(0x185)][_0x590c7b(0x141)](_0x1110d2)){const _0x47644d=this[_0x590c7b(0x185)][_0x590c7b(0x29f)](_0x1110d2);_0x47644d&&window['clearTimeout'](_0x47644d),this[_0x590c7b(0x185)]['set'](_0x1110d2,null);}}['_handleLeaveEvent'](_0xcc2c69){const _0x17dca3=_0x52fe9a,{memberID:_0x56e279,unitIDs:_0x25f381}=_0xcc2c69;_0x25f381[_0x17dca3(0x1ea)](_0x5f3544=>{const _0x1d2e32=_0x17dca3;var _0x4e7f59;const _0x11cc8a=this[_0x1d2e32(0x310)][_0x1d2e32(0x29f)](_0x5f3544);_0x11cc8a&&(_0x11cc8a[_0x1d2e32(0x29b)](_0x56e279),(_0x4e7f59=this['_ensureSubject'](_0x5f3544))==null||_0x4e7f59[_0x1d2e32(0x150)](_0x11cc8a[_0x1d2e32(0x1a6)]===0x0?_0x19b52f[_0x1d2e32(0x307)][_0x1d2e32(0x2b4)]:_0x19b52f[_0x1d2e32(0x307)]['OTHER_CLIENTS_EDITING']));}),this[_0x17dca3(0x372)](_0x56e279);}[_0x52fe9a(0x2a1)](_0x40c208){const _0x519674=_0x52fe9a;this[_0x519674(0x3bf)](_0x40c208['memberID']);}[_0x52fe9a(0x2f8)](_0x5ab6ea){const _0x3d9dc5=_0x52fe9a;localStorage[_0x3d9dc5(0x195)](_0x3b8dec,JSON[_0x3d9dc5(0x20a)](_0x5ab6ea));}[_0x52fe9a(0x2d7)](){const _0x4ebf30=_0x52fe9a;this[_0x4ebf30(0x263)]=window[_0x4ebf30(0x1c4)](()=>{const _0x5b65d6=_0x4ebf30;this[_0x5b65d6(0x2f8)]({'type':0x2,'memberID':this[_0x5b65d6(0x268)]});},_0x322517);}[_0x52fe9a(0x31a)](_0x4f5038){const _0x58d8bb=_0x52fe9a;return this[_0x58d8bb(0x36b)][_0x58d8bb(0x141)](_0x4f5038)||this[_0x58d8bb(0x36b)][_0x58d8bb(0x242)](_0x4f5038,new _0x21dbc8['BehaviorSubject'](_0x19b52f[_0x58d8bb(0x307)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x4f5038);}}var _0x3f96dc=(_0x1c1ec9=>(_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x129)]=0x0]='UNDEFINED',_0x1c1ec9[_0x1c1ec9['OK']=0x1]='OK',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x1ed)]=0x2]=_0x52fe9a(0x1ed),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2a4)]=0x3]='PERMISSION_DENIED',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x30f)]=0x4]=_0x52fe9a(0x30f),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x398)]=0x5]=_0x52fe9a(0x398),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x1c0)]=0x6]=_0x52fe9a(0x1c0),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x3af)]=0x7]='INVALID_ARGUMENT',_0x1c1ec9[_0x1c1ec9['TOO_MANY_REQUESTS']=0x8]=_0x52fe9a(0x2bd),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x1e8)]=0x9]=_0x52fe9a(0x1e8),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2d8)]=0xa]=_0x52fe9a(0x2d8),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x226)]=0x1389]=_0x52fe9a(0x226),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x165)]=0x1771]=_0x52fe9a(0x165),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2da)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x256)]=0x1773]=_0x52fe9a(0x256),_0x1c1ec9[_0x1c1ec9['APPLY_REJECT']=0x1b59]=_0x52fe9a(0x3b8),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x232)]=0x1b5a]=_0x52fe9a(0x232),_0x1c1ec9[_0x1c1ec9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x52fe9a(0x2f7),_0x1c1ec9[_0x1c1ec9['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2f5)]=0x1b5d]=_0x52fe9a(0x2f5),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2d2)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x17c)]=0x2329]=_0x52fe9a(0x17c),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x171)]=0x232a]=_0x52fe9a(0x171),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2fd)]=0x232b]=_0x52fe9a(0x2fd),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x336)]=0x232c]=_0x52fe9a(0x336),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x200)]=0x232d]=_0x52fe9a(0x200),_0x1c1ec9[_0x1c1ec9['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2b0)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x383)]=0x2713]=_0x52fe9a(0x383),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x35d)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1c1ec9[_0x1c1ec9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x52fe9a(0x1c7),_0x1c1ec9[_0x1c1ec9['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x52fe9a(0x184),_0x1c1ec9[_0x1c1ec9['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x367)]=0x271d]=_0x52fe9a(0x367),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x125)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x3b2)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2fc)]=0x2af9]=_0x52fe9a(0x2fc),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x2a7)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1c1ec9[_0x1c1ec9['INVALID_INVITE_CODE']=0x2ee2]=_0x52fe9a(0x230),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x1eb)]=0x2ee3]=_0x52fe9a(0x1eb),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x35b)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x1c1ec9[_0x1c1ec9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x52fe9a(0x15c),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x355)]=0x32c9]=_0x52fe9a(0x355),_0x1c1ec9[_0x1c1ec9['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x52fe9a(0x387),_0x1c1ec9[_0x1c1ec9[_0x52fe9a(0x293)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x1c1ec9[_0x1c1ec9['UNRECOGNIZED']=-0x1]=_0x52fe9a(0x21b),_0x1c1ec9))(_0x3f96dc||{}),_0x190e02=Object['getOwnPropertyDescriptor'],_0x11ec0c=(_0x1f3ba9,_0xfafe39,_0x11f565,_0x17e163)=>{for(var _0x29652e=_0x17e163>0x1?void 0x0:_0x17e163?_0x190e02(_0xfafe39,_0x11f565):_0xfafe39,_0x5b81a9=_0x1f3ba9['length']-0x1,_0x3a72c9;_0x5b81a9>=0x0;_0x5b81a9--)(_0x3a72c9=_0x1f3ba9[_0x5b81a9])&&(_0x29652e=_0x3a72c9(_0x29652e)||_0x29652e);return _0x29652e;},_0x4eeb2a=(_0x5a829a,_0x4a66fa)=>(_0x2f1d4b,_0x5190a3)=>_0x4a66fa(_0x2f1d4b,_0x5190a3,_0x5a829a);_0x57e2df[_0x52fe9a(0x169)]=class extends _0x333829[_0x52fe9a(0x13b)]{constructor(_0x1f2019,_0x5839a1,_0x52fb20){super(),this['_instanceService']=_0x1f2019,this['_httpService']=_0x5839a1,this['_configService']=_0x52fb20;}async['runOnServer'](_0x13a791,_0x307925,_0x2edb56,..._0x57c126){const _0x11e6a2=_0x52fe9a;var _0x4fb1ce,_0x14c977,_0x30feca,_0x43e9ab;const _0xaeaeba=this['_instanceService'][_0x11e6a2(0x30d)]();if(!_0xaeaeba)throw new Error(_0x11e6a2(0x3ad));const _0x396a1b=((_0x4fb1ce=this[_0x11e6a2(0x1d9)][_0x11e6a2(0x286)](_0x19b52f[_0x11e6a2(0x312)]))!=null?_0x4fb1ce:_0x19b52f[_0x11e6a2(0x2e7)])+'/'+_0x13a791+_0x11e6a2(0x231)+_0x307925,_0x4768aa=new URL(window[_0x11e6a2(0x1ac)]['href']),_0x241865={'scriptId':_0x13a791,'runId':(_0x14c977=_0x4768aa[_0x11e6a2(0x124)][_0x11e6a2(0x29f)](_0x11e6a2(0x2b6)))!=null?_0x14c977:'','function':_0x307925,'unitId':_0xaeaeba['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x57c126),'invokeId':(_0x30feca=_0x2edb56[_0x11e6a2(0x362)])!=null?_0x30feca:'','executionId':(_0x43e9ab=_0x2edb56['executionId'])!=null?_0x43e9ab:''};try{const _0x58d7a2=await this[_0x11e6a2(0x183)]['post'](_0x396a1b,{'body':_0x241865});return _0x58d7a2['body'][_0x11e6a2(0x39e)]&&_0x58d7a2[_0x11e6a2(0x1d5)]['error'][_0x11e6a2(0x1a4)]!==_0x3f96dc['OK']?'Failed':_0x58d7a2[_0x11e6a2(0x1d5)][_0x11e6a2(0x214)];}catch{return _0x11e6a2(0x317);}}},_0x57e2df[_0x52fe9a(0x169)]=_0x11ec0c([_0x4eeb2a(0x0,_0x333829[_0x52fe9a(0x155)]),_0x4eeb2a(0x1,_0x333829['Inject'](_0x498070[_0x52fe9a(0x28b)])),_0x4eeb2a(0x2,_0x333829[_0x52fe9a(0x2ab)])],_0x57e2df[_0x52fe9a(0x169)]),_0x57e2df[_0x52fe9a(0x2ac)]=_0x3af5e3,_0x57e2df[_0x52fe9a(0x194)]=_0xe2e142,_0x57e2df[_0x52fe9a(0x38c)]=_0x12a8a6,_0x57e2df['WebBrowserSingleActiveUnitService']=_0x4b3c9e,_0x57e2df[_0x52fe9a(0x18f)]=_0x552b4e,Object[_0x52fe9a(0x2ed)](_0x57e2df,Symbol[_0x52fe9a(0x33d)],{'value':_0x52fe9a(0x27b)});}));
|
|
1
|
+
function _0xa650(_0xf8f7d8,_0x2376ac){const _0x2b25c3=_0x2b25();return _0xa650=function(_0xa6507c,_0x4140d9){_0xa6507c=_0xa6507c-0x15d;let _0x1874e8=_0x2b25c3[_0xa6507c];return _0x1874e8;},_0xa650(_0xf8f7d8,_0x2376ac);}function _0x2b25(){const _0x3458fd=['OnLineIcon','toString','TOO_MANY_REQUESTS','TEXT_RANGE_LAYER_INDEX','CLOSE_ROOM','_scheduleClearOtherTimer','APPLY_DUPLICATED','collab-text-range-','_roomMembers$','newValue','whenReady','onPointerMove$','dispose','RegularPolygon','_lastPointer','_urlService','asObservable','on-line-icon_clip0_910_349','purple.300','push','_getScale','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','_document','LOGIN_FAILED','handleInsertCol','univer-flex\x20univer-items-center','_removeClearOtherTimer','distinctUntilChanged','LOCAL_CACHE_INTERVAL','pushState','m1Prime','debounce','unsubscribe','redoState','subscribe','attrs','DeleteRangeMoveLeftCommandId','_imageIoService','createInstance','_sheetSkeletonManagerService','getLocalCacheKey','_removeCollabCursors','YUUMI_AI_RUN_FAILED','_unitOnClients','_collaborationController','moveTo','UniverSheetsUi','collaboration-client-ui.config','SNAPSHOT_INVALID_SNAPSHOT','_localStorageService','drawWith','@univerjs/ui','USER_NOT_INVITED_CODE','max','@univerjs/docs-ui','send','Rect','UPDATE_CURSOR','engine','LICENSE_IMPORT_SIZE_EXCEEDED','rxjs/operators','origin','@univerjs/sheets-ui','none','activeSheet$','HEADER_MENU','substring','getUnhiddenWorksheets','wsSessionTicketUrl','setUndoRedoMutationParamsCache','RemoveColCommandId','next','/run/','setShapeProps','getUndoRedoMutationParamsCache','_cursorShapes','getParam','addObject','collabStatus.notCollab','shareReplay','@univerjs/engine-formula','ONLINE','top','off-line-icon','cursorInfo$','CollaborationStatus','_docSkeletonManagerService','getSheetObject','IMessageService','getValue','setAlpha','source','FromArray','setTimeout','toStringTag','UniverDocsUi','runId','Inject','imageSourceType','filter','replaceState','COLORS','ranges','with','white','_draw','_drawRectRange','symbol','collabStatus.fetchMiss','round','getMember','OffLineIcon','editingUnit','_cachedData','toDisposable','InsertRangeMoveDownCommandId','_id','collaboration.single-unit.warning','getActiveRange','toRgbString','forEach','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ITransformService','complete','collab-rect-range-','createElement','_registerDependencies','apply','eventID','280564QIDlyK','_onCursorDelete','cursorInfo','collabStatus.syncing','DocIMEInputManagerService','stringify','yellow.400','IConfigService','red.300','key','_initDependencies','OFFLINE','defs','getOffsetConfig','executeCommand','_renderManagerService','getUnitStatus$','useCallback','getColor','handleDeleteRangeMoveLeft','_range','flatMap','_transformHistoryAndStateStack','_logService','_handleLeaveEvent','WebBrowserSingleActiveUnitService','contains','transformIMECache','_setupSubUnitSync','currentColor','_getSheetObject','collab-text-anchor-','_getSaveTimeout','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','textRanges','extend','exports','APPLY_REVISION_CONFILICT','handleInsertRow','UniverCore','rxjs','off-line-icon_clip0_910_343','AWAITING_WITH_PENDING','code','_handleEvent','InsertRowCommandId','UNIVER_DOC','size','green.600','registerComponent','_beforeCloseService','_initCommandExecutedListener','delete','mask','_doCreateSocket','defIds','beginPath','_getMergeRange','WebURLService','endColumn','entityInit$','@univerjs-pro/collaboration','width','_getSessionTicket','Failed','SessionStatus','SetSelectionsOperation','session.will-retry','@univerjs/core','collaboration-client.offline-data-not-saved','switchMap','onStarting','some','YUUMI_URL_COL_OUT_OF_RANGE','703997VbYZGs','min','getConfig','unitID','undoState','onCommandExecuted','onLocalMutation','IUniverInstanceService','set','setParam','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_UNABLE_LOAD_URL','loadOfflineData','body','object','_ensureSubject','DeleteRangeMoveUpCommandId','_cursor','map','RECT','endRow','children','addClipboardHook','React','APPLY_NON_SEQUENTIAL_REVISION','getOwnPropertySymbols','_colorIndex','isTransformMutationFailure','Tooltip','getSkeleton','makeDirty','storage','override','color','YUUMI_NO_CUBOID_FOR_QUESTION','loadUnit','16767675uVqVzH','serializeRangeWithSheet','path','_refRangeService','use','ILogService','getOwnPropertyDescriptor','BehaviorSubject','collab-client.tooltip.reconnect','getDocRanges','@univerjs/drawing','location','[CollaborationDataLoaderController]','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','href','data','_handleHeartbeatEvent','_handleJoinEvent','INVALID_ARGUMENT','blue.400','IRenderManagerService','getSheetBySheetId','docStateChange$','_initResize','clearTimeout','disposeUnit','_entityInit$','call','requireSession','ISnapshotServerService','collabCursorState$','_transformPreviousActiveRange','fill','unload','_clearOtherTimers','Injector','selections','debug','transformByState','setInterval','InsertColCommandId','restore','UniverDesign','PY_RUNTIME_SCRIPT_ERROR','on-line-icon','executionId','USERS_LEAVE','UniverNetwork','INVITE_CODE_ALREADY_BOUND','_session','values','getFocusedUnit','urlChange$','getCurrent','INTERNAL_ERROR','setStateCache','DisposableCollection','INVITE_CODE_REQUIRED','post','CollaborationEvent','merge','from','_labelPosition','@univerjs/engine-render','application/json','ACTIVE_UNIT_EVENT_CHANNEL','ColorKit','INotificationService','RemoteUniscriptService','PERMISSION_DENIED','getSheetId','EffectRefRangId','throttleTime','_uiPartsService','_initEntityListener','_context','ALREADY_EXISTS','skeleton','@univerjs/network','currentTheme$','url(#$1','LICENSE_EXPORT_SIZE_EXCEEDED','transformMutationsWithChangeset','then','_onRefRangeChange','@univerjs/sheets','MemberService','_updateURLWithCurrentState','deepClone','fromEvent','arc','COMPLETION_FINISHED','100xXJgDR','0\x200\x2017\x2016','EMAIL_HAS_BEEN_BOUND','ThemeService','ILocalCacheService','combineLatest','_docTransformStateCacheService','_toggleOffline','all','9546784AzmVnP','hide','disableLocalCache','transformSelections','_cursorInfo$','_dataLoaderService','sessionStatus$','handleIRemoveCol','Optional','_registerRenderDependencies','_setupBeforeClosingHandler','SheetSkeletonManagerService','SetTextSelectionsOperation','MoveRangeCommandId','_onCursorUpdate','getTypeOfUnitDisposed$','collabStatus.synced','backgroundColor','exhaustSavingTask','assign','_shapes','result','fromEventSubject','xlink:href','_disabled','url(#off-line-icon_clip0_910_343)','error','searchParams','displayName','BrowserCollaborationSocketService','RemoveRowCommandId','univerjs-icon\x20univerjs-icon-','@univerjs/docs','MessageType','unitId','isEditing','handleInsertRangeMoveRight','_backgroundColor','permission.content','_collabSessionService','APPLY_REJECT','getTypeOfUnitAdded$','1260841anYsrS','useObservable','pluginName','Disposable','dispose$','runRefRangeMutations','useDependency','setConfig','m2Prime','_heartbeatTimer','ILocalStorageService','_saveCache','init','unshift','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','black','_localeService','SheetsSelectionsService','SOCKET_FAILED_RETRY','INVITE_CODE_HAS_BEEN_UES','idSuffix','UNRECOGNIZED','show','HTTPService','getViewport','subscribeEvent','startColumn','_send','_refreshCollabCursors','icon','SetDocZoomRatioOperation','range','className','getRangePointData','getCoordByCell','length','UNIVER_SHEET','createIdentifier','_startSheetCollabCursor','generateRandomId','_hideTimer','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','_scene','DependentOn','handleMoveRange','UNAUTHENTICATED','Tools','_status$','_entities','Rectangle','LICENSE_DISTRO_REJECTED','_anchorDot','isTransformMutationsWithChangesetSuccess','UniverCollaborationClientUIPlugin','parse','disposeWithMe','UniverDocs','transformStateCache','labelPosition','_localCacheService','Module','_render','CommandType','UniverSheets','CONFLICT','syncEditingCollabCursor','getActiveSheet','params','_injector','replace','subunit','_name','clearInterval','getCollabEntity$','CollaborationUIEventId','status$','getRelativeToViewportCoord','_scheduleHeartbeat','UniverRpc','_transformService','react','forwardRef','_commandService','assignAColorForMemberID','unit','TEXT','YUUMI_TABLE_NOT_FOUND_IN_UNIT','roomMembers$','YUUMI_RATE_OVER_LIMIT','getCurrentUnitForType','InsertRangeMoveRightCommandId','column','type','svg','4000305ehLvoo','measureText','registerRefRange','_docTransformSelectionsService','ticket','INVALID_INVITE_CODE','DocStateChangeManagerService','event$','UNDEFINED','_syncEditingCollabCursorService','getUniverSheetInstance','translate(.97)','roomMembers','CollaborationController','_anchor','session.collaboration-timeout','selection','currentSkeleton$','_selfUnitIDs','random','_handleHover','M0\x200H16V16H0z','YUUMI_ASYNCIO_CANCELLED','registerRenderModule','row','onPointerEnter$','_collabCursorState$','function','Plugin','_docSyncEditingCollabCursorService','IURLService','_initStatusComponent','pipe','CollaborationDataLoaderController','resize','_config','transformMutation','_assignedColors','DOC_RANGE_TYPE','jsx','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformRemoteChangeset','sheetId','OTHER_CLIENTS_EDITING','IImageIoService','_getAnchorBounding','div','isArray','DocCollaborationEntity','_updateCollabCursors','rgba(255,\x20255,\x20255,\x200.01)','isActive','getStateCache','findNodePositionByCharIndex','mergeOverrideWithDependencies','VIEW_MAIN','...','APPLY_PERMISSION_DENIED','_eventUnsubscribe','DesktopCollaborationStatusDisplayController','setItem','useRef','ISocketService','_notificationService','_messageService','RevisionService','prototype','colorChannel1','#FFF','saveTaskMap','NOT_COLLAB','_docSkeleton','getAncestorScale','FETCH_MISS','NO_OTHER_CLIENTS_EDITING','_unitStatus','CHANGESET_REVISION_CONFILICT','_hover','onPointerLeave$','connectInjector','tag','0\x200\x2016\x2016','_configService','concat','includes','height','debounceTime','CONNECTOR_DATA_TOO_LARGE','indexOf','string','get','add','UniverInstanceType','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','LOCAL_CACHE_INTERVAL_KEY','popstate','sheetID','SYNCED','permission.title','registerDependencies','deserializeRangeWithSheet','_docStateChangeManagerService','react/jsx-runtime','_memberService','mutations','Unknown\x20user','_hovered','text','evenodd','Error','UnitStatus','MOBILE_HAS_BEEN_BOUND','getMemberID','DocSkeletonManagerService','defineProperty','_collabCursorController','1em','WECHAT_HAS_BEEN_BOUND','_createSocketURL','_toggleOnline','startsWith','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','name','_transformUndoRedoStack','history','RxDisposable','30TxcAMS','@univerjs/design','_color','SetWorksheetActivateCommand','UniverProCollaborationClientUi','_initEvent','DEFAULT_WS_SESSION_TICKET_URL','collaboration.closeRoom','TRANSFORM_CHANGE_OBSERVABLE_TYPE','collabStatus.offline','Shape','_textBubble','_httpService','getRenderById','CollaborationSessionService','ICommandService','_cursors','replaceDocRanges','YUUMI_ALL_TABLES_IS_INVALID','invokeId','doc.mutation.rich-text-editing','getUnitId','registerBeforeClose','@univerjs-pro/collaboration-client','MUTATION','handleIRemoveRow','@univerjs/rpc','CollaborationUIEventService','UniverEngineFormula','Warning','amd','_updateSubUnitFromURLParams','_updateLocalCursor','NOT_FOUND','PENDING','LICENSE_MAX_UNITS_EXCEEDED','_themeService','DocSelectionManagerService','_revisionService','_univerInstanceService','_init','save','takeUntil','_scheduleSaving','_saveTaskMap','Workbook','jsxs','hasOwnProperty','fillRule','clipPath','has','onRendered','493416HnzFgS','onMouseMove','onTransformChange$','operators','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_online','entries','lineTo','_colorAssignService','LocaleService','NodePositionConvertToRectRange','_drawTextRange','getCellPositionByOffset','Subject','SUBMIT_CHANGESET_TIMEOUT','saveImage'];_0x2b25=function(){return _0x3458fd;};return _0x2b25();}(function(_0x2b9317,_0x2e069f){const _0x4a782a=_0xa650,_0x1aaf67=_0x2b9317();while(!![]){try{const _0x193118=parseInt(_0x4a782a(0x202))/0x1+-parseInt(_0x4a782a(0x312))/0x2+parseInt(_0x4a782a(0x260))/0x3+parseInt(_0x4a782a(0x3a3))/0x4*(-parseInt(_0x4a782a(0x1cf))/0x5)+parseInt(_0x4a782a(0x2de))/0x6*(parseInt(_0x4a782a(0x3ed))/0x7)+parseInt(_0x4a782a(0x1d8))/0x8+-parseInt(_0x4a782a(0x173))/0x9;if(_0x193118===_0x2e069f)break;else _0x1aaf67['push'](_0x1aaf67['shift']());}catch(_0x1c6ca5){_0x1aaf67['push'](_0x1aaf67['shift']());}}}(_0x2b25,0xbde94),function(_0x120414,_0x3f8256){const _0x44291f=_0xa650;typeof exports==_0x44291f(0x15d)&&typeof module<'u'?_0x3f8256(exports,require('@univerjs-pro/collaboration-client'),require(_0x44291f(0x3e7)),require('@univerjs/engine-render'),require(_0x44291f(0x1c1)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x44291f(0x3cb)),require(_0x44291f(0x1f8)),require(_0x44291f(0x3e0)),require('@univerjs/engine-formula'),require(_0x44291f(0x1c8)),require(_0x44291f(0x35e)),require(_0x44291f(0x360)),require('react/jsx-runtime'),require(_0x44291f(0x355)),require('@univerjs/design'),require('react'),require(_0x44291f(0x2f8))):typeof define=='function'&&define[_0x44291f(0x2fc)]?define([_0x44291f(0x3c7),_0x44291f(0x2f5),_0x44291f(0x3e7),_0x44291f(0x1b2),_0x44291f(0x1c1),_0x44291f(0x358),_0x44291f(0x17d),_0x44291f(0x3cb),'@univerjs/docs',_0x44291f(0x3e0),_0x44291f(0x372),_0x44291f(0x1c8),_0x44291f(0x35e),'@univerjs/sheets-ui',_0x44291f(0x2c6),_0x44291f(0x355),_0x44291f(0x2df),_0x44291f(0x252),_0x44291f(0x2f8)],_0x3f8256):(_0x120414=typeof globalThis<'u'?globalThis:_0x120414||self,_0x3f8256(_0x120414[_0x44291f(0x2e2)]={},_0x120414['UniverProCollaborationClient'],_0x120414[_0x44291f(0x3ca)],_0x120414['UniverEngineRender'],_0x120414[_0x44291f(0x1a2)],_0x120414[_0x44291f(0x381)],_0x120414['UniverDrawing'],_0x120414['rxjs'],_0x120414[_0x44291f(0x23a)],_0x120414['UniverProCollaboration'],_0x120414[_0x44291f(0x2fa)],_0x120414[_0x44291f(0x241)],_0x120414[_0x44291f(0x3cb)][_0x44291f(0x315)],_0x120414[_0x44291f(0x350)],_0x120414[_0x44291f(0x166)],_0x120414['UniverUi'],_0x120414[_0x44291f(0x19d)],_0x120414[_0x44291f(0x166)],_0x120414[_0x44291f(0x250)]));}(this,function(_0x37a429,_0x436a9d,_0x4d5d93,_0x27e953,_0x83de29,_0x3f955c,_0x40c2d3,_0x2ea89f,_0x1781a2,_0x2d957c,_0xded955,_0x4cf27b,_0x4a5380,_0x5da637,_0x4b944a,_0x4b125,_0x553977,_0x17763c,_0x30d0d4){'use strict';const _0x50d51c=_0xa650;var _0x2e7a0b=Object['defineProperty'],_0x173ce5=(_0x4603da,_0x6a1c46,_0xaf269f)=>_0x6a1c46 in _0x4603da?_0x2e7a0b(_0x4603da,_0x6a1c46,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xaf269f}):_0x4603da[_0x6a1c46]=_0xaf269f,_0x5e82ed=(_0x193248,_0x4bdf0d,_0x3fba49)=>_0x173ce5(_0x193248,typeof _0x4bdf0d!=_0x50d51c(0x38d)?_0x4bdf0d+'':_0x4bdf0d,_0x3fba49),_0x8a5509=Object[_0x50d51c(0x179)],_0x25725b=(_0x2a388e,_0x26b77c,_0x1a9435,_0x4705aa)=>{for(var _0x1e5d3b=_0x4705aa>0x1?void 0x0:_0x4705aa?_0x8a5509(_0x26b77c,_0x1a9435):_0x26b77c,_0x745e50=_0x2a388e['length']-0x1,_0x175f8b;_0x745e50>=0x0;_0x745e50--)(_0x175f8b=_0x2a388e[_0x745e50])&&(_0x1e5d3b=_0x175f8b(_0x1e5d3b)||_0x1e5d3b);return _0x1e5d3b;},_0x556e21=(_0x2ad2d0,_0x1a7226)=>(_0x204c5a,_0x2759ec)=>_0x1a7226(_0x204c5a,_0x2759ec,_0x2ad2d0);let _0x4f51dc=class extends _0x4d5d93[_0x50d51c(0x2dd)]{constructor(_0x44d046,_0x474023){const _0x280ce7=_0x50d51c;super(),this['_docClipboardService']=_0x44d046,this[_0x280ce7(0x347)]=_0x474023,this[_0x280ce7(0x306)]();}[_0x50d51c(0x306)](){const _0x3307ef=_0x50d51c,_0x3492d0=this;this[_0x3307ef(0x239)](this['_docClipboardService'][_0x3307ef(0x165)]({'onBeforePasteImage':async _0x23041d=>{const _0x36e445=_0x3307ef,_0x5b99b4=await _0x3492d0[_0x36e445(0x347)][_0x36e445(0x321)](_0x23041d);return _0x5b99b4?{'source':_0x5b99b4[_0x36e445(0x37d)],'imageSourceType':_0x5b99b4[_0x36e445(0x384)]}:null;}}));}};_0x4f51dc=_0x25725b([_0x556e21(0x0,_0x3f955c['IDocClipboardService']),_0x556e21(0x1,_0x40c2d3[_0x50d51c(0x28c)])],_0x4f51dc);const _0x1a7eb5=[_0x50d51c(0x334),'jiqing.500',_0x50d51c(0x3d3),_0x50d51c(0x3ab),_0x50d51c(0x186),_0x50d51c(0x3a9)];class _0x2f0bfe extends _0x4d5d93[_0x50d51c(0x205)]{constructor(){const _0x4d0b13=_0x50d51c;super(...arguments),_0x5e82ed(this,_0x4d0b13(0x285),new Map()),_0x5e82ed(this,_0x4d0b13(0x169),0x0);}[_0x50d51c(0x255)](_0x2047de){const _0x53d395=_0x50d51c;if(this[_0x53d395(0x285)][_0x53d395(0x310)](_0x2047de))return this[_0x53d395(0x285)][_0x53d395(0x2ba)](_0x2047de);const _0x520dea=_0x1a7eb5[this['_colorIndex']];return this[_0x53d395(0x169)]=(this[_0x53d395(0x169)]+0x1)%_0x1a7eb5[_0x53d395(0x225)],this['_assignedColors'][_0x53d395(0x3f5)](_0x2047de,_0x520dea),_0x520dea;}}function _0x479a27(_0x3e955c){const _0xc346dc=_0x50d51c;let _0x3e8b40='';for(const _0x233d2c of _0x3e955c){const {startOffset:_0x22c724,endOffset:_0x69cd9,isActive:_0x446934,rangeType:_0x45d836,segmentId:_0x3d6f18,segmentPage:_0x2648e2}=_0x233d2c;_0x3e8b40[_0xc346dc(0x225)]&&(_0x3e8b40+=','),_0x3e8b40+=_0x22c724+':'+_0x69cd9+':'+(_0x446934?'1':'0')+':'+_0x45d836+':'+_0x3d6f18+':'+_0x2648e2;}return _0x3e8b40;}function _0x4f8b09(_0x4be388){const _0x2c163c=_0x50d51c,_0x4d72a5=_0x4be388['split'](','),_0x4efee4=[];for(const _0x336767 of _0x4d72a5){const [_0x188957,_0x503c89,_0x46df25,_0x5dfa5b,_0x5a7958,_0x3f1db6]=_0x336767['split'](':');_0x4efee4['push']({'startOffset':Number(_0x188957),'endOffset':Number(_0x503c89),'collapsed':_0x188957===_0x503c89,'isActive':_0x46df25==='1','rangeType':_0x5dfa5b===_0x4d5d93['DOC_RANGE_TYPE'][_0x2c163c(0x257)]?_0x4d5d93[_0x2c163c(0x286)][_0x2c163c(0x257)]:_0x4d5d93['DOC_RANGE_TYPE'][_0x2c163c(0x162)],'segmentId':typeof _0x5a7958=='string'?String(_0x5a7958):'','segmentPage':Number(_0x3f1db6!=null?_0x3f1db6:-0x1)});}return _0x4efee4[_0x2c163c(0x3eb)](_0x13cd39=>_0x13cd39[_0x2c163c(0x293)])||(_0x4efee4[0x0]['isActive']=!0x0),_0x4efee4;}class _0x3c2ecf extends _0x4d5d93['RxDisposable']{constructor(){const _0x40d575=_0x50d51c;super(...arguments),_0x5e82ed(this,_0x40d575(0x27a),new _0x2ea89f[(_0x40d575(0x17a))](null)),_0x5e82ed(this,_0x40d575(0x191),this[_0x40d575(0x27a)][_0x40d575(0x332)]());}[_0x50d51c(0x243)](_0x5cd76d){const _0x1b7bf3=_0x50d51c,{unitID:_0x10457d,memberID:_0x295caa,textRanges:_0x3581bf}=_0x5cd76d,_0x442525=_0x479a27(_0x3581bf);if(_0x442525==='')return;const _0x907c45={'unitID':_0x10457d,'memberID':_0x295caa,'selection':_0x442525};this[_0x1b7bf3(0x27a)][_0x1b7bf3(0x369)](_0x907c45);}}var _0x358c61=Object[_0x50d51c(0x179)],_0x3bb970=(_0x2a81fe,_0x19a2bb,_0x8028f7,_0x1e70c3)=>{const _0x561102=_0x50d51c;for(var _0x393a35=_0x1e70c3>0x1?void 0x0:_0x1e70c3?_0x358c61(_0x19a2bb,_0x8028f7):_0x19a2bb,_0x1c40df=_0x2a81fe[_0x561102(0x225)]-0x1,_0x23e7ce;_0x1c40df>=0x0;_0x1c40df--)(_0x23e7ce=_0x2a81fe[_0x1c40df])&&(_0x393a35=_0x23e7ce(_0x393a35)||_0x393a35);return _0x393a35;},_0x36f260=(_0x68c1ce,_0x517d1f)=>(_0xd36fe2,_0x3d3c1a)=>_0x517d1f(_0xd36fe2,_0x3d3c1a,_0x68c1ce);const _0x438e0f=0x12c,_0x28a9f9=0x64;let _0x5db237=class extends _0x4d5d93[_0x50d51c(0x2dd)]{constructor(_0x39b971,_0x4db500,_0x340e49,_0x2e088f,_0x4d415f,_0x6516cc,_0x3b3e8d,_0x424a63,_0x22cb10){const _0x490e95=_0x50d51c;super(),_0x5e82ed(this,_0x490e95(0x317),!0x1),_0x5e82ed(this,_0x490e95(0x306),!0x1),_0x5e82ed(this,_0x490e95(0x1dc),new _0x2ea89f[(_0x490e95(0x17a))](new Map())),_0x5e82ed(this,'cursorInfo$',this['_cursorInfo$'][_0x490e95(0x332)]()),_0x5e82ed(this,_0x490e95(0x32a),new _0x2ea89f[(_0x490e95(0x17a))]([])),_0x5e82ed(this,_0x490e95(0x259),this[_0x490e95(0x32a)][_0x490e95(0x280)](_0x2ea89f[_0x490e95(0x2b6)](_0x438e0f))),_0x5e82ed(this,_0x490e95(0x2fe),_0x4d5d93[_0x490e95(0x341)](_0x4fe201=>{const _0x3b236b=_0x490e95,_0x2ea597={'eventID':_0x2d957c[_0x3b236b(0x1ae)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3b236b(0x3f0)],'memberID':this[_0x3b236b(0x1a4)]['getMemberID'](),'selection':_0x479a27(_0x4fe201)}};this[_0x3b236b(0x1a4)][_0x3b236b(0x359)](_0x2ea597,this['unitID']);},_0x28a9f9)),(this[_0x490e95(0x3f0)]=_0x39b971,this['_session']=_0x4db500,this[_0x490e95(0x246)]=_0x340e49,this['_colorAssignService']=_0x2e088f,this['_memberService']=_0x4d415f,this[_0x490e95(0x269)]=_0x6516cc,this[_0x490e95(0x251)]=_0x3b3e8d,this[_0x490e95(0x305)]=_0x424a63,this[_0x490e95(0x254)]=_0x22cb10);}get[_0x50d51c(0x3a5)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x44a03d=_0x50d51c;return this[_0x44a03d(0x32a)][_0x44a03d(0x37b)]();}['dispose'](){const _0x10aacf=_0x50d51c;super[_0x10aacf(0x32e)](),this[_0x10aacf(0x1dc)]['next'](new Map()),this[_0x10aacf(0x1dc)]['complete'](),this[_0x10aacf(0x32a)][_0x10aacf(0x369)]([]),this['_roomMembers$'][_0x10aacf(0x39d)]();}[_0x50d51c(0x20e)](){const _0x28cec7=_0x50d51c;this['_init']||(this[_0x28cec7(0x306)]=!0x0,this[_0x28cec7(0x1a4)][_0x28cec7(0x1de)][_0x28cec7(0x280)](_0x2ea89f[_0x28cec7(0x308)](this['dispose$']))[_0x28cec7(0x344)](_0x1a0ac5=>{const _0x58b9f3=_0x28cec7;_0x1a0ac5===_0x436a9d[_0x58b9f3(0x3e4)]['ONLINE']?this[_0x58b9f3(0x2d7)]():this[_0x58b9f3(0x1d6)]();}),this['_session'][_0x28cec7(0x267)][_0x28cec7(0x280)](_0x2ea89f['takeUntil'](this[_0x28cec7(0x206)]))[_0x28cec7(0x344)](_0x1ee3cc=>{const _0x4844af=_0x28cec7,_0x51021c=_0x1ee3cc[_0x4844af(0x3a2)];_0x51021c===_0x2d957c[_0x4844af(0x1ae)][_0x4844af(0x35b)]&&this[_0x4844af(0x1e6)](_0x1ee3cc),_0x51021c===_0x2d957c[_0x4844af(0x1ae)][_0x4844af(0x1a1)]&&this[_0x4844af(0x3a4)](_0x1ee3cc);}),this[_0x28cec7(0x239)](this['_commandService'][_0x28cec7(0x3f2)](_0x2a84d7=>{const _0x31cbad=_0x28cec7,_0x395d66=_0x2a84d7[_0x31cbad(0x245)];_0x395d66!=null&&this[_0x31cbad(0x317)]&&_0x2a84d7['id']===_0x1781a2[_0x31cbad(0x1e4)]['id']&&_0x395d66['unitId']===this['unitID']&&_0x395d66[_0x31cbad(0x1fb)]===!0x1&&_0x395d66[_0x31cbad(0x388)][_0x31cbad(0x225)]>0x0&&this[_0x31cbad(0x2fe)](_0x395d66[_0x31cbad(0x388)]);})),this[_0x28cec7(0x269)][_0x28cec7(0x191)][_0x28cec7(0x280)](_0x2ea89f['takeUntil'](this[_0x28cec7(0x206)]))[_0x28cec7(0x344)](_0x1993fd=>{const _0x4f1fdd=_0x28cec7;if((_0x1993fd==null?void 0x0:_0x1993fd['unitID'])!==this[_0x4f1fdd(0x3f0)])return;const _0x5c33d0={'eventID':_0x2d957c[_0x4f1fdd(0x1ae)][_0x4f1fdd(0x35b)],'data':_0x1993fd};this[_0x4f1fdd(0x1e6)](_0x5c33d0);}),this['disposeWithMe'](this['_commandService'][_0x28cec7(0x3f2)](_0x998640=>{const _0x2b2480=_0x28cec7;if(_0x998640['params']==null)return;const _0x1b93f0=_0x998640[_0x2b2480(0x245)];if(_0x998640['id']!==_0x1781a2['RichTextEditingMutation']['id']||_0x1b93f0['unitId']!==this[_0x2b2480(0x3f0)])return;const _0x1a6273={'id':_0x2b2480(0x2f2),'params':_0x1b93f0},_0x47dadc=this[_0x2b2480(0x3a5)];for(const [_0x2066de,_0x1de524]of _0x47dadc){const _0x11806c={'id':_0x2b2480(0x2f2),'params':{'unitId':this[_0x2b2480(0x3f0)],'actions':null,'textRanges':_0x1de524[_0x2b2480(0x388)]}},_0x19f0fa=this[_0x2b2480(0x251)][_0x2b2480(0x284)](_0x1a6273,_0x11806c,!0x1);if(_0x2d957c[_0x2b2480(0x16a)](_0x19f0fa))throw _0x19f0fa[_0x2b2480(0x1f2)];_0x47dadc[_0x2b2480(0x3f5)](_0x2066de,{..._0x1de524,'ranges':_0x19f0fa[_0x2b2480(0x20a)][_0x2b2480(0x245)]['textRanges']});}queueMicrotask(()=>{const _0x24f87e=_0x2b2480;this[_0x24f87e(0x1dc)][_0x24f87e(0x369)](_0x47dadc);});})));}[_0x50d51c(0x1e6)](_0x484a45){const _0x210f34=_0x50d51c;var _0x156d41,_0x15ef39;const {memberID:_0x57fa5f,selection:_0x5af1ae}=_0x484a45[_0x210f34(0x182)],_0x353400=_0x4f8b09(_0x5af1ae),_0x7358c2=(_0x15ef39=(_0x156d41=this[_0x210f34(0x2c7)][_0x210f34(0x390)](this[_0x210f34(0x3f0)],_0x57fa5f))==null?void 0x0:_0x156d41['name'])!=null?_0x15ef39:_0x210f34(0x2c9),_0x1a77e9={'color':this[_0x210f34(0x31a)][_0x210f34(0x255)](_0x57fa5f),'name':_0x7358c2,'ranges':_0x353400},_0x357b2d=this[_0x210f34(0x3a5)];_0x357b2d[_0x210f34(0x3f5)](_0x57fa5f,_0x1a77e9),this['_cursorInfo$'][_0x210f34(0x369)](_0x357b2d);}['_onCursorDelete'](_0x3ec717){const _0x4da9a6=_0x50d51c,{memberID:_0x2d8422}=_0x3ec717[_0x4da9a6(0x182)],_0x17bc28=this[_0x4da9a6(0x3a5)];_0x17bc28[_0x4da9a6(0x3d7)](_0x2d8422),this['_cursorInfo$']['next'](_0x17bc28);}['_toggleOnline'](){const _0x1a644a=_0x50d51c;var _0x3a24ea;if(this[_0x1a644a(0x317)]=!0x0,((_0x3a24ea=this['_univerInstanceService'][_0x1a644a(0x1a6)]())==null?void 0x0:_0x3a24ea['getUnitId']())!==this[_0x1a644a(0x3f0)])return;const _0x53518b=this[_0x1a644a(0x246)][_0x1a644a(0x2ba)](_0x1781a2[_0x1a644a(0x303)])[_0x1a644a(0x17c)]();Array['isArray'](_0x53518b)&&_0x53518b['length']>0x0&&this['_updateLocalCursor'](_0x53518b);}[_0x50d51c(0x1d6)](){const _0xc6136b=_0x50d51c;this[_0xc6136b(0x317)]=!0x1;}};_0x5db237=_0x3bb970([_0x36f260(0x2,_0x4d5d93[_0x50d51c(0x383)](_0x4d5d93[_0x50d51c(0x196)])),_0x36f260(0x3,_0x4d5d93[_0x50d51c(0x383)](_0x2f0bfe)),_0x36f260(0x4,_0x4d5d93[_0x50d51c(0x383)](_0x436a9d[_0x50d51c(0x1c9)])),_0x36f260(0x5,_0x4d5d93[_0x50d51c(0x383)](_0x3c2ecf)),_0x36f260(0x6,_0x2d957c[_0x50d51c(0x39c)]),_0x36f260(0x7,_0x4d5d93['IUniverInstanceService']),_0x36f260(0x8,_0x4d5d93['ICommandService'])],_0x5db237);var _0x53cbcb=Object['getOwnPropertyDescriptor'],_0x4480c7=(_0x14b951,_0x2c4063,_0x7f6e64,_0x2da4fc)=>{const _0x2843c0=_0x50d51c;for(var _0x438d63=_0x2da4fc>0x1?void 0x0:_0x2da4fc?_0x53cbcb(_0x2c4063,_0x7f6e64):_0x2c4063,_0x823253=_0x14b951[_0x2843c0(0x225)]-0x1,_0x20f33f;_0x823253>=0x0;_0x823253--)(_0x20f33f=_0x14b951[_0x823253])&&(_0x438d63=_0x20f33f(_0x438d63)||_0x438d63);return _0x438d63;},_0x3437d7=(_0x5c058d,_0x252ed6)=>(_0x5e0a6b,_0x25d5d5)=>_0x252ed6(_0x5e0a6b,_0x25d5d5,_0x5c058d);const _0xb00b70=0x12c,_0x23a093=0x64,_0x125253=()=>{let _0x3ca16c=[],_0x28413c=!0x1;return _0x3f1625=>{const _0x1b5759=_0xa650;_0x3ca16c[_0x1b5759(0x335)](_0x3f1625),_0x28413c||(_0x28413c=!0x0,setTimeout(()=>{const _0x196126=_0x1b5759;_0x3ca16c[_0x196126(0x39a)](_0x4bcfb9=>_0x4bcfb9()),_0x3ca16c=[],_0x28413c=!0x1;}));};};let _0x3bfc5e=class extends _0x4d5d93[_0x50d51c(0x2dd)]{constructor(_0x53808b,_0x9db5d5,_0x5cb525,_0x2c7dda,_0x27cea8,_0x5cf949,_0x5851f2,_0x102f6e){const _0x2808ad=_0x50d51c;super(),_0x5e82ed(this,_0x2808ad(0x317),!0x1),_0x5e82ed(this,'_init',!0x1),_0x5e82ed(this,_0x2808ad(0x1dc),new _0x2ea89f['BehaviorSubject'](new Map())),_0x5e82ed(this,'cursorInfo$',this['_cursorInfo$'][_0x2808ad(0x332)]()),_0x5e82ed(this,_0x2808ad(0x32a),new _0x2ea89f[(_0x2808ad(0x17a))]([])),_0x5e82ed(this,'roomMembers$',this[_0x2808ad(0x32a)][_0x2808ad(0x280)](_0x2ea89f[_0x2808ad(0x2b6)](_0xb00b70))),_0x5e82ed(this,_0x2808ad(0x2fe),_0x4d5d93[_0x2808ad(0x341)]((_0x2e34c4,_0x5c0094)=>{const _0x35a75c=_0x2808ad,_0x4a7dcd={'eventID':_0x2d957c[_0x35a75c(0x1ae)][_0x35a75c(0x35b)],'data':{'unitID':this[_0x35a75c(0x3f0)],'memberID':this[_0x35a75c(0x1a4)][_0x35a75c(0x2d0)](),'selection':_0xded955[_0x35a75c(0x174)](_0x2e34c4,_0x5c0094[_0x35a75c(0x221)])}};this[_0x35a75c(0x1a4)]['send'](_0x4a7dcd,this[_0x35a75c(0x3f0)]);},_0x23a093)),(this[_0x2808ad(0x3f0)]=_0x53808b,this[_0x2808ad(0x1a4)]=_0x9db5d5,this['_injector']=_0x5cb525,this[_0x2808ad(0x31a)]=_0x2c7dda,this['_memberService']=_0x27cea8,this[_0x2808ad(0x305)]=_0x5cf949,this[_0x2808ad(0x254)]=_0x5851f2,this[_0x2808ad(0x176)]=_0x102f6e);}get[_0x50d51c(0x3a5)](){const _0x1dd403=_0x50d51c;return this[_0x1dd403(0x1dc)][_0x1dd403(0x37b)]();}get[_0x50d51c(0x26c)](){const _0x10fed7=_0x50d51c;return this['_roomMembers$'][_0x10fed7(0x37b)]();}['dispose'](){const _0x14007c=_0x50d51c;super[_0x14007c(0x32e)](),this['_cursorInfo$'][_0x14007c(0x369)](new Map()),this[_0x14007c(0x1dc)][_0x14007c(0x39d)](),this[_0x14007c(0x32a)][_0x14007c(0x369)]([]),this[_0x14007c(0x32a)]['complete']();}[_0x50d51c(0x20e)](){const _0x4da395=_0x50d51c;this[_0x4da395(0x306)]||(this[_0x4da395(0x306)]=!0x0,this[_0x4da395(0x1a4)][_0x4da395(0x1de)][_0x4da395(0x280)](_0x2ea89f[_0x4da395(0x308)](this[_0x4da395(0x206)]))['subscribe'](_0x4e4b8e=>{const _0x29af37=_0x4da395;_0x4e4b8e===_0x436a9d[_0x29af37(0x3e4)][_0x29af37(0x373)]?this['_toggleOnline']():this[_0x29af37(0x1d6)]();}),this['_session']['event$'][_0x4da395(0x280)](_0x2ea89f[_0x4da395(0x308)](this[_0x4da395(0x206)]))[_0x4da395(0x344)](_0x96c9b2=>{const _0x208430=_0x4da395,_0x1e2e1f=_0x96c9b2[_0x208430(0x3a2)];_0x1e2e1f===_0x2d957c['CollaborationEvent'][_0x208430(0x35b)]&&this['_onCursorUpdate'](_0x96c9b2),_0x1e2e1f===_0x2d957c[_0x208430(0x1ae)][_0x208430(0x1a1)]&&this[_0x208430(0x3a4)](_0x96c9b2);}),this[_0x4da395(0x1c7)](),this['disposeWithMe'](this['_commandService'][_0x4da395(0x3f2)](_0x4c436a=>{const _0x3271ef=_0x4da395;if(this['_online']&&_0x4c436a['id']===_0x4cf27b[_0x3271ef(0x3e5)]['id']&&_0x4c436a[_0x3271ef(0x245)][_0x3271ef(0x1fa)]===this[_0x3271ef(0x3f0)]){const _0x49d16f=_0x4c436a[_0x3271ef(0x245)];this[_0x3271ef(0x2fe)](_0x49d16f['subUnitId'],_0x49d16f[_0x3271ef(0x197)][0x0]);}})));}['_onCursorUpdate'](_0x35fd7f){const _0x4b65b3=_0x50d51c;var _0x14ed33,_0x3ae2d0;const {memberID:_0x20b2de,selection:_0x3829fd}=_0x35fd7f['data'],{sheetName:_0x55abdd,range:_0x48325f}=_0xded955[_0x4b65b3(0x2c4)](_0x3829fd),_0x38c28c={'name':(_0x3ae2d0=(_0x14ed33=this[_0x4b65b3(0x2c7)][_0x4b65b3(0x390)](this[_0x4b65b3(0x3f0)],_0x20b2de))==null?void 0x0:_0x14ed33[_0x4b65b3(0x2da)])!=null?_0x3ae2d0:'Unknown\x20user','range':this['_getMergeRange'](_0x55abdd,_0x48325f),'sheetID':_0x55abdd,'color':this[_0x4b65b3(0x31a)][_0x4b65b3(0x255)](_0x20b2de),'selection':_0x3829fd},_0xf87a9c=this[_0x4b65b3(0x3a5)];_0xf87a9c['set'](_0x20b2de,_0x38c28c),this[_0x4b65b3(0x1dc)][_0x4b65b3(0x369)](_0xf87a9c);}[_0x50d51c(0x3a4)](_0x39932b){const _0xea2a6c=_0x50d51c,{memberID:_0x47af34}=_0x39932b[_0xea2a6c(0x182)],_0xc05c00=this['cursorInfo'];_0xc05c00[_0xea2a6c(0x3d7)](_0x47af34),this[_0xea2a6c(0x1dc)][_0xea2a6c(0x369)](_0xc05c00);}[_0x50d51c(0x3dc)](_0x1faa80,_0x24ce1f){const _0x472fec=_0x50d51c;var _0x51c0d8,_0x6c3fbd;const _0x5ccf9e=(_0x6c3fbd=(_0x51c0d8=this[_0x472fec(0x305)][_0x472fec(0x26a)](this[_0x472fec(0x3f0)]))==null?void 0x0:_0x51c0d8['getSheetBySheetId'](_0x1faa80))==null?void 0x0:_0x6c3fbd['getMergeData']();return(_0x5ccf9e==null?void 0x0:_0x5ccf9e['find'](_0x3f50a0=>_0x4d5d93[_0x472fec(0x233)][_0x472fec(0x3bd)](_0x3f50a0,_0x24ce1f)))||_0x24ce1f;}[_0x50d51c(0x1c7)](){const _0x105c9c=_0x50d51c,_0x2146d1=new _0x4d5d93[(_0x105c9c(0x1ab))](),_0x54aedf=_0x125253(),_0x15acaf=()=>{const _0x2c2783=_0x105c9c;_0x2146d1[_0x2c2783(0x32e)]();const _0x264392=(_0x1f5e44,_0x3771db,_0x212d49,_0x4156cb)=>{const _0x6df782=_0x2c2783;let _0x23bab6=[];switch(_0x1f5e44['id']){case _0x4cf27b[_0x6df782(0x1ba)][_0x6df782(0x346)]:{_0x23bab6=_0x4cf27b[_0x6df782(0x3b6)](_0x1f5e44,_0x4156cb);break;}case _0x4cf27b['EffectRefRangId'][_0x6df782(0x15f)]:{_0x23bab6=_0x4cf27b['handleDeleteRangeMoveUp'](_0x1f5e44,_0x4156cb);break;}case _0x4cf27b[_0x6df782(0x1ba)][_0x6df782(0x19b)]:{_0x23bab6=_0x4cf27b[_0x6df782(0x33a)](_0x1f5e44,_0x4156cb);break;}case _0x4cf27b[_0x6df782(0x1ba)][_0x6df782(0x395)]:{_0x23bab6=_0x4cf27b['handleInsertRangeMoveDown'](_0x1f5e44,_0x4156cb);break;}case _0x4cf27b[_0x6df782(0x1ba)][_0x6df782(0x25c)]:{_0x23bab6=_0x4cf27b[_0x6df782(0x1fc)](_0x1f5e44,_0x4156cb);break;}case _0x4cf27b[_0x6df782(0x1ba)][_0x6df782(0x3d0)]:{_0x23bab6=_0x4cf27b[_0x6df782(0x3c9)](_0x1f5e44,_0x4156cb);break;}case _0x4cf27b[_0x6df782(0x1ba)][_0x6df782(0x1e5)]:{_0x23bab6=_0x4cf27b[_0x6df782(0x22e)](_0x1f5e44,_0x4156cb);break;}case _0x4cf27b[_0x6df782(0x1ba)][_0x6df782(0x368)]:{_0x23bab6=_0x4cf27b[_0x6df782(0x1df)](_0x1f5e44,_0x4156cb);break;}case _0x4cf27b[_0x6df782(0x1ba)][_0x6df782(0x1f6)]:{_0x23bab6=_0x4cf27b[_0x6df782(0x2f7)](_0x1f5e44,_0x4156cb);break;}}const _0x486c5d=_0x4cf27b[_0x6df782(0x207)](_0x23bab6,_0x4156cb),_0x282c83=this['cursorInfo'][_0x6df782(0x2ba)](_0x3771db);if(_0x282c83&&_0x486c5d){const _0xc4d462={..._0x282c83,'range':_0x486c5d};this[_0x6df782(0x3a5)][_0x6df782(0x3f5)](_0x3771db,_0xc4d462),_0x54aedf(()=>{const _0x20cac5=_0x6df782,_0x4a560c=this[_0x20cac5(0x176)][_0x20cac5(0x262)](_0x486c5d,_0x553f19=>(_0x4a560c['dispose'](),_0x264392(_0x553f19,_0x3771db,_0x212d49,_0x486c5d)));_0x2146d1[_0x20cac5(0x2bb)](_0x4a560c);});}return{'redos':[],'undos':[]};};this[_0x2c2783(0x3a5)]['forEach']((_0x4a3384,_0x2b3324)=>{const _0x330f7e=_0x2c2783,{range:_0x108df4,sheetID:_0x16e020}=_0x4a3384,_0x54ca0d=this['_refRangeService'][_0x330f7e(0x262)](_0x108df4,_0x4d21da=>(_0x54ca0d[_0x330f7e(0x32e)](),_0x264392(_0x4d21da,_0x2b3324,_0x16e020,_0x108df4)));_0x2146d1[_0x330f7e(0x2bb)](_0x54ca0d);});};this[_0x105c9c(0x239)](_0x4d5d93[_0x105c9c(0x394)](this[_0x105c9c(0x1dc)]['subscribe'](()=>{_0x15acaf();})));}[_0x50d51c(0x2d7)](){const _0xc711b=_0x50d51c;var _0x5ed042,_0x38847e;if(this[_0xc711b(0x317)]=!0x0,((_0x5ed042=this[_0xc711b(0x305)][_0xc711b(0x1a6)]())==null?void 0x0:_0x5ed042['getUnitId']())!==this[_0xc711b(0x3f0)])return;const _0x37ed9d=(_0x38847e=this['_injector'][_0xc711b(0x2ba)](_0x4cf27b[_0xc711b(0x213)])['getCurrentSelections']())==null?void 0x0:_0x38847e[0x0],_0x2f300b=this[_0xc711b(0x305)][_0xc711b(0x25b)](_0x4d5d93[_0xc711b(0x2bc)]['UNIVER_SHEET'])[_0xc711b(0x244)]();_0x37ed9d&&_0x2f300b&&this['_updateLocalCursor'](_0x2f300b[_0xc711b(0x1b9)](),_0x37ed9d);}[_0x50d51c(0x1d6)](){const _0xf94088=_0x50d51c;this[_0xf94088(0x317)]=!0x1;}};_0x3bfc5e=_0x4480c7([_0x3437d7(0x2,_0x4d5d93['Inject'](_0x4d5d93[_0x50d51c(0x196)])),_0x3437d7(0x3,_0x4d5d93[_0x50d51c(0x383)](_0x2f0bfe)),_0x3437d7(0x4,_0x4d5d93[_0x50d51c(0x383)](_0x436a9d['MemberService'])),_0x3437d7(0x5,_0x4d5d93[_0x50d51c(0x3f4)]),_0x3437d7(0x6,_0x4d5d93[_0x50d51c(0x2ed)]),_0x3437d7(0x7,_0x4d5d93[_0x50d51c(0x383)](_0x4cf27b['RefRangeService']))],_0x3bfc5e);var _0x5a879d=Object['getOwnPropertyDescriptor'],_0x259a7f=(_0x1cd602,_0x4e4678,_0x2a319b,_0xd15cca)=>{const _0x12c61e=_0x50d51c;for(var _0x4cd1a7=_0xd15cca>0x1?void 0x0:_0xd15cca?_0x5a879d(_0x4e4678,_0x2a319b):_0x4e4678,_0x114c48=_0x1cd602[_0x12c61e(0x225)]-0x1,_0x58ebd9;_0x114c48>=0x0;_0x114c48--)(_0x58ebd9=_0x1cd602[_0x114c48])&&(_0x4cd1a7=_0x58ebd9(_0x4cd1a7)||_0x4cd1a7);return _0x4cd1a7;},_0x2b5612=(_0x53ef9d,_0x1c7a7e)=>(_0x2c21ed,_0x34aa09)=>_0x1c7a7e(_0x2c21ed,_0x34aa09,_0x53ef9d);let _0x1a123d=class extends _0x4d5d93[_0x50d51c(0x2dd)]{constructor(_0x1f77eb,_0x38abf9,_0x150353){const _0x2ed17a=_0x50d51c;super(),_0x5e82ed(this,_0x2ed17a(0x232),new Map()),_0x5e82ed(this,_0x2ed17a(0x18d),new _0x2ea89f[(_0x2ed17a(0x31f))]()),(this[_0x2ed17a(0x305)]=_0x1f77eb,this[_0x2ed17a(0x246)]=_0x38abf9,this[_0x2ed17a(0x1ff)]=_0x150353,this[_0x2ed17a(0x306)]());}[_0x50d51c(0x32e)](){const _0x318349=_0x50d51c;super[_0x318349(0x32e)](),this[_0x318349(0x18d)][_0x318349(0x39d)](),this[_0x318349(0x232)][_0x318349(0x39a)](_0x4c9ea4=>_0x4c9ea4[_0x318349(0x32e)]());}['getCollabCursors$'](_0x5c0a2b){const _0x32e0e5=_0x50d51c;return this[_0x32e0e5(0x232)][_0x32e0e5(0x310)](_0x5c0a2b)?this[_0x32e0e5(0x232)]['get'](_0x5c0a2b)[_0x32e0e5(0x376)]:this[_0x32e0e5(0x18d)]['pipe'](_0x2ea89f['filter'](_0x42746b=>_0x42746b[_0x32e0e5(0x3f0)]===_0x5c0a2b),_0x2ea89f['switchMap'](_0x5b5257=>_0x5b5257['cursorInfo$']));}['_init'](){const _0x437f59=_0x50d51c;this['_univerInstanceService'][_0x437f59(0x201)](_0x4d5d93[_0x437f59(0x2bc)][_0x437f59(0x226)])['pipe'](_0x2ea89f['takeUntil'](this[_0x437f59(0x206)]))[_0x437f59(0x344)](async _0x1a4c60=>{const _0x2ffc84=_0x437f59,_0x45dcf7=_0x1a4c60['getUnitId'](),_0x18f198=await this[_0x2ffc84(0x228)](_0x45dcf7);this[_0x2ffc84(0x18d)][_0x2ffc84(0x369)](_0x18f198),this['_entities']['set'](_0x45dcf7,_0x18f198);}),this[_0x437f59(0x305)][_0x437f59(0x201)](_0x4d5d93[_0x437f59(0x2bc)][_0x437f59(0x3d1)])[_0x437f59(0x280)](_0x2ea89f[_0x437f59(0x308)](this[_0x437f59(0x206)]))[_0x437f59(0x280)](_0x2ea89f[_0x437f59(0x385)](_0x30843d=>!_0x30843d['getUnitId']()[_0x437f59(0x2d8)]('__')))[_0x437f59(0x344)](async _0x4114a6=>{const _0x263ea2=_0x437f59,_0x2e811c=_0x4114a6[_0x263ea2(0x2f3)](),_0x73e500=await this['_startDocCollabCursor'](_0x2e811c);this[_0x263ea2(0x18d)][_0x263ea2(0x369)](_0x73e500),this[_0x263ea2(0x232)][_0x263ea2(0x3f5)](_0x2e811c,_0x73e500);}),_0x2ea89f[_0x437f59(0x1af)](this['_univerInstanceService'][_0x437f59(0x1e7)](_0x4d5d93[_0x437f59(0x2bc)][_0x437f59(0x3d1)]),this['_univerInstanceService'][_0x437f59(0x1e7)](_0x4d5d93['UniverInstanceType'][_0x437f59(0x226)]))[_0x437f59(0x280)](_0x2ea89f[_0x437f59(0x308)](this[_0x437f59(0x206)]))['subscribe'](_0xef4a3d=>{const _0x55dc62=_0x437f59,_0x59b7ff=_0xef4a3d[_0x55dc62(0x2f3)](),_0x26ce86=this[_0x55dc62(0x232)]['get'](_0x59b7ff);_0x26ce86&&(_0x26ce86[_0x55dc62(0x32e)](),this[_0x55dc62(0x232)][_0x55dc62(0x3d7)](_0x59b7ff));});}async[_0x50d51c(0x228)](_0x2bc8be){const _0x310ac4=_0x50d51c,_0x1decb4=await this[_0x310ac4(0x1ff)][_0x310ac4(0x18f)](_0x2bc8be),_0x3bfa67=this[_0x310ac4(0x246)]['createInstance'](_0x3bfc5e,_0x2bc8be,_0x1decb4);return _0x3bfa67[_0x310ac4(0x20e)](),_0x3bfa67;}async['_startDocCollabCursor'](_0x3d16df){const _0x4fd5a4=_0x50d51c,_0x59c666=await this[_0x4fd5a4(0x1ff)]['requireSession'](_0x3d16df),_0x1f6b3f=this[_0x4fd5a4(0x246)][_0x4fd5a4(0x348)](_0x5db237,_0x3d16df,_0x59c666);return _0x1f6b3f[_0x4fd5a4(0x20e)](),_0x1f6b3f;}};_0x1a123d=_0x259a7f([_0x2b5612(0x0,_0x4d5d93[_0x50d51c(0x3f4)]),_0x2b5612(0x1,_0x4d5d93[_0x50d51c(0x383)](_0x4d5d93[_0x50d51c(0x196)])),_0x2b5612(0x2,_0x4d5d93['Inject'](_0x436a9d[_0x50d51c(0x2ec)]))],_0x1a123d);const _0x4e9a71=0x14,_0x1b390d=0xc8,_0x2bd059=0x4,_0xe6c50b=0x5;function _0x414a3f(_0x3e9e36,_0xbd9a21){const _0x57818a=_0x50d51c;let {radius:_0x3a7a82,width:_0x533ec7,height:_0x543e06}=_0xbd9a21;_0x3a7a82=_0x3a7a82!=null?_0x3a7a82:0x0,_0x533ec7=_0x533ec7!=null?_0x533ec7:0x1e,_0x543e06=_0x543e06!=null?_0x543e06:0x1e;let _0x3e6109=0x0,_0x4469fe=0x0,_0xa5253c=0x0;_0x3e6109=_0x4469fe=_0xa5253c=Math[_0x57818a(0x3ee)](_0x3a7a82,_0x533ec7/0x2,_0x543e06/0x2),_0x3e9e36[_0x57818a(0x3db)](),_0x3e9e36[_0x57818a(0x34f)](_0x3e6109,0x0),_0x3e9e36[_0x57818a(0x319)](_0x533ec7-_0x4469fe,0x0),_0x3e9e36[_0x57818a(0x1cd)](_0x533ec7-_0x4469fe,_0x4469fe,_0x4469fe,Math['PI']*0x3/0x2,0x0,!0x1),_0x3e9e36[_0x57818a(0x319)](_0x533ec7,_0x543e06-_0xa5253c),_0x3e9e36['arc'](_0x533ec7-_0xa5253c,_0x543e06-_0xa5253c,_0xa5253c,0x0,Math['PI']/0x2,!0x1),_0x3e9e36[_0x57818a(0x319)](0x0,_0x543e06),_0x3e9e36[_0x57818a(0x319)](0x0,_0x3e6109),_0x3e9e36[_0x57818a(0x1cd)](_0x3e6109,_0x3e6109,_0x3e6109,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3e9e36['closePath'](),_0xbd9a21[_0x57818a(0x193)]&&(_0x3e9e36[_0x57818a(0x307)](),_0x3e9e36['fillStyle']=_0xbd9a21[_0x57818a(0x193)],_0xbd9a21[_0x57818a(0x30e)]===_0x57818a(0x2cc)?_0x3e9e36[_0x57818a(0x193)]('evenodd'):_0x3e9e36[_0x57818a(0x193)](),_0x3e9e36[_0x57818a(0x19c)]());}class _0x326687 extends _0x27e953[_0x50d51c(0x2e8)]{constructor(_0x56515e,_0x37d399){const _0x21e2cd=_0x50d51c;super(_0x56515e,_0x37d399),_0x5e82ed(this,'color'),_0x5e82ed(this,'text'),(this[_0x21e2cd(0x170)]=_0x37d399==null?void 0x0:_0x37d399[_0x21e2cd(0x170)],this['text']=_0x37d399==null?void 0x0:_0x37d399[_0x21e2cd(0x2cb)]);}static['drawWith'](_0x19584a,_0x2058bd){const _0x43653a=_0x50d51c,{text:_0x5b0864,color:_0xbdba3f}=_0x2058bd;_0x19584a['save'](),_0x19584a['font']=_0x43653a(0x210);const _0x45d380=_0x19584a[_0x43653a(0x261)](_0x5b0864)[_0x43653a(0x3e1)],_0xaae7e9=Math[_0x43653a(0x3ee)](_0x45d380+0x2*_0x2bd059,_0x1b390d);_0x414a3f(_0x19584a,{'height':_0x4e9a71,'radius':0x4,'width':_0xaae7e9,'fill':_0xbdba3f}),_0x19584a['fillStyle']=_0x43653a(0x2a4);const _0x3689ee=_0x2bd059,_0x636e89=_0x4e9a71-_0xe6c50b,_0x3d1d8f=_0x1b390d-0x2*_0x2bd059;if(_0x45d380>_0x3d1d8f){let _0x522576='',_0x241132=0x0;for(const _0x4f7a17 of _0x5b0864){const _0x1fea15=_0x19584a[_0x43653a(0x261)](_0x4f7a17)[_0x43653a(0x3e1)];if(_0x241132+_0x1fea15<=_0x3d1d8f-_0x19584a[_0x43653a(0x261)](_0x43653a(0x298))[_0x43653a(0x3e1)])_0x522576+=_0x4f7a17,_0x241132+=_0x1fea15;else{_0x522576+=_0x43653a(0x298);break;}}_0x19584a['fillText'](_0x522576,_0x3689ee,_0x636e89);}else _0x19584a['fillText'](_0x5b0864,_0x3689ee,_0x636e89);_0x19584a[_0x43653a(0x19c)]();}[_0x50d51c(0x38b)](_0x4b869b){const _0xbc1b4f=_0x50d51c;_0x326687[_0xbc1b4f(0x354)](_0x4b869b,this);}}const _0x308d38=_0x50d51c(0x3c2),_0x50bbf2=_0x50d51c(0x329),_0x552342=_0x50d51c(0x39e),_0x552097=0x6,_0x5af04a=1.5,_0xe54507=0x4,_0x3482e7=1.5,_0xcdadf2=_0x50d51c(0x292);class _0x29fde3{constructor(_0x1e1075,_0x488644,_0x202de9,_0xf1051a){const _0x27923e=_0x50d51c;_0x5e82ed(this,_0x27923e(0x1ec),[]),_0x5e82ed(this,'_anchor',null),_0x5e82ed(this,_0x27923e(0x2e9),null),_0x5e82ed(this,_0x27923e(0x235),null),_0x5e82ed(this,_0x27923e(0x22a),null),_0x5e82ed(this,_0x27923e(0x29a),null),(this[_0x27923e(0x160)]=_0x1e1075,this[_0x27923e(0x22c)]=_0x488644,this[_0x27923e(0x2a7)]=_0x202de9,this[_0x27923e(0x338)]=_0xf1051a,this['_render']());}set[_0x50d51c(0x2ad)](_0x11be49){const _0x273a9d=_0x50d51c;_0x11be49?(this[_0x273a9d(0x235)]&&this[_0x273a9d(0x235)]['hide'](),this[_0x273a9d(0x2e9)]&&this[_0x273a9d(0x2e9)][_0x273a9d(0x218)]()):(this[_0x273a9d(0x235)]&&this['_anchorDot']['show'](),this[_0x273a9d(0x2e9)]&&this[_0x273a9d(0x2e9)][_0x273a9d(0x1d9)]());}[_0x50d51c(0x32e)](){const _0x2deffc=_0x50d51c;for(const _0x1d902c of this['_shapes'])_0x1d902c['dispose']();this['_textBubble']&&this[_0x2deffc(0x2e9)][_0x2deffc(0x32e)](),this[_0x2deffc(0x235)]&&this[_0x2deffc(0x235)]['dispose'](),this['_anchor']&&this[_0x2deffc(0x26e)][_0x2deffc(0x32e)](),this[_0x2deffc(0x29a)]&&this[_0x2deffc(0x29a)]();}[_0x50d51c(0x23f)](){const _0x41dd30=_0x50d51c;var _0x3030f5;const {_docSkeleton:_0x553ca0,_document:_0x1ca2d2}=this,{color:_0x146063,name:_0x210dcf,ranges:_0x3f7d10}=this[_0x41dd30(0x160)],_0x396f19=_0x1ca2d2[_0x41dd30(0x3b0)](),{docsLeft:_0x211f90,docsTop:_0x34e23c}=_0x396f19,_0x4dc65b=new _0x3f955c['NodePositionConvertToCursor'](_0x396f19,_0x553ca0);for(const {startOffset:_0x52bb89,endOffset:_0x4352f2,rangeType:_0x54dd61,segmentId:_0x1d2446,segmentPage:_0xb153f,collapsed:_0x28ceba,isActive:_0x199e01}of _0x3f7d10){const _0x2fd3fa=_0x553ca0['findNodePositionByCharIndex'](_0x52bb89,!0x0,_0x1d2446,_0xb153f);let _0x306be3=_0x553ca0[_0x41dd30(0x295)](_0x4352f2,!0x0,_0x1d2446,_0xb153f);if(_0x306be3==null&&(_0x306be3=_0x553ca0[_0x41dd30(0x295)](_0x4352f2-0x1,!0x1,_0x1d2446,_0xb153f)),_0x199e01){const {contentBoxPointGroup:_0x416671}=_0x4dc65b[_0x41dd30(0x223)](_0x306be3,_0x306be3);if(_0x416671['length']===0x0)continue;this['_drawAnchor'](_0x146063,_0x416671,_0x211f90,_0x34e23c,_0x210dcf),this[_0x41dd30(0x29a)]=this[_0x41dd30(0x274)]();}if(_0x2fd3fa&&_0x306be3){if(_0x54dd61===_0x4d5d93[_0x41dd30(0x286)][_0x41dd30(0x162)]){const _0x490c1a=new _0x3f955c[(_0x41dd30(0x31c))](_0x396f19,_0x553ca0),{pointGroup:_0x5d2f69}=(_0x3030f5=_0x490c1a[_0x41dd30(0x223)](_0x2fd3fa,_0x306be3))!=null?_0x3030f5:{};if(_0x5d2f69==null||_0x5d2f69[_0x41dd30(0x225)]===0x0)continue;this[_0x41dd30(0x38c)](_0x146063,_0x5d2f69,_0x211f90,_0x34e23c);}else{if(!_0x28ceba){const {borderBoxPointGroup:_0x3c387b}=_0x4dc65b[_0x41dd30(0x223)](_0x2fd3fa,_0x306be3);if(_0x3c387b[_0x41dd30(0x225)]===0x0)continue;this['_drawTextRange'](_0x146063,_0x3c387b,_0x211f90,_0x34e23c);}}}}}['_drawAnchor'](_0x5a6bb1,_0x2695c7,_0x707cbd,_0x2ac67f,_0x5d78dd){const _0x4d54e9=_0x50d51c,_0x19bf55=this[_0x4d54e9(0x28d)](_0x2695c7),{left:_0x547952,top:_0x1e7f46,height:_0x2cc640}=_0x19bf55,_0x55f662=this['_getScale'](),_0x404efd=_0x3482e7/_0x55f662,_0x34101b=new _0x27e953[(_0x4d54e9(0x35a))](_0x308d38+_0x4d5d93[_0x4d54e9(0x230)]['generateRandomId'](_0x552097),{'left':_0x547952+_0x707cbd-_0x404efd,'top':_0x1e7f46+_0x2ac67f,'height':_0x2cc640,'width':_0x5af04a,'fill':_0x5a6bb1||_0x27e953['getColor'](_0x4d5d93[_0x4d54e9(0x387)][_0x4d54e9(0x211)],0x0),'strokeWidth':_0x404efd,'stroke':_0xcdadf2,'evented':!0x0});this[_0x4d54e9(0x26e)]=_0x34101b,this['_scene'][_0x4d54e9(0x36f)](_0x34101b,_0x3f955c[_0x4d54e9(0x325)]);const _0x563cd8=new _0x27e953[(_0x4d54e9(0x35a))](_0x308d38+_0x4d5d93[_0x4d54e9(0x230)]['generateRandomId'](_0x552097),{'left':_0x547952+_0x707cbd-_0x404efd,'top':_0x1e7f46+_0x2ac67f-_0xe54507/0x2,'height':_0xe54507,'width':_0xe54507,'fill':_0x5a6bb1||_0x27e953[_0x4d54e9(0x3b5)](_0x4d5d93[_0x4d54e9(0x387)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x5a6bb1||_0x27e953[_0x4d54e9(0x3b5)](_0x4d5d93[_0x4d54e9(0x387)][_0x4d54e9(0x211)],0x0),'evented':!0x1});this[_0x4d54e9(0x235)]=_0x563cd8,this[_0x4d54e9(0x22c)][_0x4d54e9(0x36f)](_0x563cd8,_0x3f955c[_0x4d54e9(0x325)]);const _0x4691d7=new _0x326687(_0x308d38+_0x4d5d93[_0x4d54e9(0x230)][_0x4d54e9(0x229)](_0x552097),{'left':_0x547952+_0x707cbd-_0x404efd,'top':_0x1e7f46+_0x2ac67f-_0x4e9a71,'text':_0x5d78dd,'color':_0x5a6bb1});this[_0x4d54e9(0x2e9)]=_0x4691d7,this['_scene'][_0x4d54e9(0x36f)](_0x4691d7,_0x3f955c['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x50d51c(0x274)](){const _0x217dd2=_0x50d51c,_0x258cef=this[_0x217dd2(0x26e)][_0x217dd2(0x279)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x5afaf0=this[_0x217dd2(0x26e)][_0x217dd2(0x2ae)][_0x217dd2(0x21b)](()=>{const _0x5432b9=_0x217dd2;this['_hideTimer']&&clearTimeout(this[_0x5432b9(0x22a)]),this[_0x5432b9(0x22a)]=setTimeout(()=>{const _0x28e005=_0x5432b9;this[_0x28e005(0x2ad)]=!0x1;},0x7d0);});return()=>{const _0x2c0c1f=_0x217dd2;_0x258cef[_0x2c0c1f(0x342)](),_0x5afaf0[_0x2c0c1f(0x342)]();};}[_0x50d51c(0x31d)](_0x30b0f5,_0x46cca6,_0x1d2b88,_0x1337e9){const _0x18bd20=_0x50d51c,_0x5b9b67=new _0x4d5d93[(_0x18bd20(0x1b5))](_0x30b0f5)[_0x18bd20(0x37c)](0.2)[_0x18bd20(0x399)](),_0x448e73=new _0x27e953[(_0x18bd20(0x32f))](_0x50bbf2+_0x4d5d93[_0x18bd20(0x230)]['generateRandomId'](_0x552097),{'pointsGroup':_0x46cca6,'fill':_0x5b9b67||_0x27e953[_0x18bd20(0x3b5)](_0x4d5d93[_0x18bd20(0x387)]['black'],0.2),'left':_0x1d2b88,'top':_0x1337e9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x18bd20(0x1ec)][_0x18bd20(0x335)](_0x448e73),this[_0x18bd20(0x22c)][_0x18bd20(0x36f)](_0x448e73,_0x3f955c[_0x18bd20(0x325)]);}['_drawRectRange'](_0x505521,_0x926fcb,_0x436fbc,_0x3e5b4a){const _0xb4424d=_0x50d51c,_0x9c79a8=new _0x4d5d93[(_0xb4424d(0x1b5))](_0x505521)['setAlpha'](0.2)['toRgbString'](),_0x1382f5=new _0x27e953[(_0xb4424d(0x32f))](_0x552342+_0x4d5d93[_0xb4424d(0x230)]['generateRandomId'](_0x552097),{'pointsGroup':_0x926fcb,'fill':_0x9c79a8||_0x27e953[_0xb4424d(0x3b5)](_0x4d5d93['COLORS'][_0xb4424d(0x211)],0.2),'left':_0x436fbc,'top':_0x3e5b4a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xb4424d(0x335)](_0x1382f5),this[_0xb4424d(0x22c)][_0xb4424d(0x36f)](_0x1382f5,_0x3f955c[_0xb4424d(0x325)]);}[_0x50d51c(0x28d)](_0x558a5a){const _0x1e16d6=_0x558a5a[0x0],_0x13aa4b=_0x1e16d6[0x0],_0x5d16b3=_0x1e16d6[0x2],{x:_0x472653,y:_0x3a2d0b}=_0x13aa4b,{x:_0x761a5e,y:_0x4c3a26}=_0x5d16b3;return{'left':_0x472653,'top':_0x3a2d0b,'width':_0x761a5e-_0x472653,'height':_0x4c3a26-_0x3a2d0b};}[_0x50d51c(0x336)](){const _0x3cf31c=_0x50d51c,{scaleX:_0x383485,scaleY:_0x5cab2e}=this[_0x3cf31c(0x22c)]['getAncestorScale']();return Math[_0x3cf31c(0x357)](_0x383485,_0x5cab2e);}}var _0x383eb7=Object[_0x50d51c(0x179)],_0x26ba97=(_0x1ec523,_0x3e2874,_0x3fcc4f,_0x4369e4)=>{const _0x412b29=_0x50d51c;for(var _0x22fc4c=_0x4369e4>0x1?void 0x0:_0x4369e4?_0x383eb7(_0x3e2874,_0x3fcc4f):_0x3e2874,_0x25d79d=_0x1ec523[_0x412b29(0x225)]-0x1,_0x40e527;_0x25d79d>=0x0;_0x25d79d--)(_0x40e527=_0x1ec523[_0x25d79d])&&(_0x22fc4c=_0x40e527(_0x22fc4c)||_0x22fc4c);return _0x22fc4c;},_0x5b68aa=(_0xe5c6dd,_0x5ad16f)=>(_0x5c0b4b,_0x17810a)=>_0x5ad16f(_0x5c0b4b,_0x17810a,_0xe5c6dd);let _0x41efac=class extends _0x4d5d93['RxDisposable']{constructor(_0x4dd880,_0x1d7880,_0xceaf0,_0x3f4fbc,_0x196000){const _0x42b5f5=_0x50d51c;super(),_0x5e82ed(this,_0x42b5f5(0x36d),[]),_0x5e82ed(this,'_cursors',[]),(this['_context']=_0x4dd880,this[_0x42b5f5(0x378)]=_0x1d7880,this['_collabCursorController']=_0xceaf0,this[_0x42b5f5(0x254)]=_0x3f4fbc,this['_themeService']=_0x196000,this[_0x42b5f5(0x306)]());}[_0x50d51c(0x306)](){const _0x5d67d7=_0x50d51c,_0x4f8879=this[_0x5d67d7(0x1be)][_0x5d67d7(0x1fa)],_0x2725c1=this['_docSkeletonManagerService'];this[_0x5d67d7(0x239)](_0x2ea89f['combineLatest']([this[_0x5d67d7(0x2d3)]['getCollabCursors$'](_0x4f8879),this[_0x5d67d7(0x302)][_0x5d67d7(0x1c2)]])[_0x5d67d7(0x280)](_0x4a5380[_0x5d67d7(0x161)](([_0xe633fe,_0x4c134d])=>({'skeleton':_0x2725c1[_0x5d67d7(0x16c)](),'cursors':[..._0xe633fe['values']()][_0x5d67d7(0x3b8)](_0x3dd768=>({..._0x3dd768,'color':this[_0x5d67d7(0x302)]['getColorFromTheme'](_0x3dd768['color'])}))})))[_0x5d67d7(0x344)](_0x43c3e5=>{const _0x5bcee2=_0x5d67d7;if(this[_0x5bcee2(0x34b)](),_0x43c3e5){const {skeleton:_0x1c99f2,cursors:_0x200040}=_0x43c3e5;this[_0x5bcee2(0x291)](_0x1c99f2,_0x200040);}})),this[_0x5d67d7(0x18a)](),this[_0x5d67d7(0x3d6)]();}[_0x50d51c(0x291)](_0x218aee,_0x8e3fe4){const _0x51114c=_0x50d51c,{scene:_0x346c25,mainComponent:_0x28d07d}=this['_context'],_0x4be1df=_0x8e3fe4[_0x51114c(0x161)](_0x5cbb93=>new _0x29fde3(_0x5cbb93,_0x346c25,_0x218aee,_0x28d07d));this[_0x51114c(0x36d)]=_0x4be1df,this[_0x51114c(0x2ee)]=_0x8e3fe4;}['_refreshCollabCursors'](){const _0x5f2945=_0x50d51c;this['_removeCollabCursors']();const {scene:_0x2156fe,mainComponent:_0xe747ab}=this['_context'],_0x329024=this[_0x5f2945(0x378)]['getSkeleton'](),_0x15f428=this[_0x5f2945(0x2ee)]['map'](_0x4e8dac=>new _0x29fde3(_0x4e8dac,_0x2156fe,_0x329024,_0xe747ab));this[_0x5f2945(0x36d)]=_0x15f428;}['_removeCollabCursors'](){const _0x508af8=_0x50d51c;this[_0x508af8(0x36d)][_0x508af8(0x39a)](_0x2c27cd=>_0x2c27cd[_0x508af8(0x32e)]()),this[_0x508af8(0x36d)]=[];}[_0x50d51c(0x3d6)](){const _0xa8e3e=_0x50d51c,_0x20103a=[_0x3f955c[_0xa8e3e(0x220)]['id']];this[_0xa8e3e(0x239)](this['_commandService'][_0xa8e3e(0x3f2)](_0x23dd10=>{const _0x1f498d=_0xa8e3e;_0x20103a[_0x1f498d(0x2b4)](_0x23dd10['id'])&&_0x23dd10[_0x1f498d(0x245)][_0x1f498d(0x1fa)]===this[_0x1f498d(0x1be)][_0x1f498d(0x1fa)]&&this[_0x1f498d(0x21e)]();}));}['_initResize'](){const _0x93b285=_0x50d51c;this[_0x93b285(0x239)](_0x4d5d93[_0x93b285(0x1ee)](this[_0x93b285(0x1be)][_0x93b285(0x35c)][_0x93b285(0x314)])[_0x93b285(0x280)](_0x4a5380[_0x93b285(0x385)](_0x8df62b=>_0x8df62b[_0x93b285(0x25e)]===_0x27e953[_0x93b285(0x2e6)][_0x93b285(0x282)]),_0x4a5380[_0x93b285(0x1bb)](0x10))[_0x93b285(0x344)](()=>{const _0x257bae=_0x93b285;this[_0x257bae(0x21e)]();}));}};_0x41efac=_0x26ba97([_0x5b68aa(0x1,_0x4d5d93[_0x50d51c(0x383)](_0x1781a2[_0x50d51c(0x2d1)])),_0x5b68aa(0x2,_0x4d5d93['Inject'](_0x1a123d)),_0x5b68aa(0x3,_0x4d5d93[_0x50d51c(0x2ed)]),_0x5b68aa(0x4,_0x4d5d93[_0x50d51c(0x383)](_0x4d5d93['ThemeService']))],_0x41efac);const _0x4cfb02=0x1,_0x1f4aff=1.5;class _0x4aa7cb extends _0x27e953[_0x50d51c(0x2e8)]{constructor(_0x387a9e,_0x82c61e){const _0x1c2810=_0x50d51c;super(_0x387a9e,_0x82c61e),_0x5e82ed(this,_0x1c2810(0x2e0)),_0x5e82ed(this,_0x1c2810(0x2ca),!0x1),_0x5e82ed(this,_0x1c2810(0x3b7)),_0x5e82ed(this,'_name',''),_0x5e82ed(this,_0x1c2810(0x1b1),_0x1c2810(0x374)),_0x5e82ed(this,'_backgroundColor'),(_0x82c61e&&this[_0x1c2810(0x36b)](_0x82c61e),this[_0x1c2810(0x279)][_0x1c2810(0x21b)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x1c2810(0x2ae)]['subscribeEvent'](()=>this[_0x1c2810(0x36b)]({'hovered':!0x1})));}[_0x50d51c(0x36b)](_0x3e85b0){const _0x557d56=_0x50d51c;var _0x485a94,_0x10efa4,_0x551ebd,_0x5bc185,_0x35c348,_0x587c08;this[_0x557d56(0x2e0)]=(_0x485a94=_0x3e85b0[_0x557d56(0x170)])!=null?_0x485a94:this[_0x557d56(0x2e0)],this[_0x557d56(0x2ca)]=(_0x10efa4=_0x3e85b0['hovered'])!=null?_0x10efa4:this[_0x557d56(0x2ca)],this[_0x557d56(0x3b7)]=(_0x551ebd=_0x3e85b0[_0x557d56(0x221)])!=null?_0x551ebd:this[_0x557d56(0x3b7)],this['_name']=(_0x5bc185=_0x3e85b0[_0x557d56(0x2da)])!=null?_0x5bc185:this['_name'],this[_0x557d56(0x1b1)]=(_0x35c348=_0x3e85b0[_0x557d56(0x23c)])!=null?_0x35c348:this['_labelPosition'],this['_backgroundColor']=(_0x587c08=_0x3e85b0[_0x557d56(0x1e9)])!=null?_0x587c08:this[_0x557d56(0x1fd)],this[_0x557d56(0x199)]({'width':_0x3e85b0[_0x557d56(0x3e1)],'height':_0x3e85b0[_0x557d56(0x2b5)]});}[_0x50d51c(0x313)](_0xdd4122){const _0x4417ce=_0x50d51c,{row:_0x5a2039,column:_0x4b8866}=_0xdd4122;if(_0x5a2039>=this[_0x4417ce(0x3b7)]['startRow']&&_0x5a2039<=this['_range'][_0x4417ce(0x163)]&&_0x4b8866>=this[_0x4417ce(0x3b7)][_0x4417ce(0x21c)]&&_0x4b8866<=this[_0x4417ce(0x3b7)][_0x4417ce(0x3de)]){this[_0x4417ce(0x36b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x1c88c4){return!0x1;}[_0x50d51c(0x38b)](_0xa7886d){const _0x59ec68=_0x50d51c;_0x27e953[_0x59ec68(0x35a)]['drawWith'](_0xa7886d,{'width':this[_0x59ec68(0x3e1)],'height':this[_0x59ec68(0x2b5)],'strokeWidth':_0x1f4aff,'stroke':this[_0x59ec68(0x2e0)],'evented':!0x1,'fill':this[_0x59ec68(0x1fd)]}),this[_0x59ec68(0x2ca)]&&(_0xa7886d[_0x59ec68(0x307)](),_0xa7886d['transform'](0x1,0x0,0x0,0x1,this[_0x59ec68(0x3e1)],this['_labelPosition']==='bottom'?0x0:-0x14),_0x326687[_0x59ec68(0x354)](_0xa7886d,{'text':this[_0x59ec68(0x249)],'color':this[_0x59ec68(0x2e0)]}),_0xa7886d[_0x59ec68(0x19c)]());}}var _0x293953=Object['getOwnPropertyDescriptor'],_0x15ca20=(_0x3ed300,_0x43db06,_0x11fd75,_0x2fd1b0)=>{for(var _0x4c4abb=_0x2fd1b0>0x1?void 0x0:_0x2fd1b0?_0x293953(_0x43db06,_0x11fd75):_0x43db06,_0x3075c4=_0x3ed300['length']-0x1,_0x13bcb8;_0x3075c4>=0x0;_0x3075c4--)(_0x13bcb8=_0x3ed300[_0x3075c4])&&(_0x4c4abb=_0x13bcb8(_0x4c4abb)||_0x4c4abb);return _0x4c4abb;},_0x30c4dc=(_0x4b915a,_0x55d271)=>(_0x536c9f,_0x7bcf06)=>_0x55d271(_0x536c9f,_0x7bcf06,_0x4b915a);const _0x3d90bb=0x1389;let _0x526942=class extends _0x4d5d93[_0x50d51c(0x2dd)]{constructor(_0x156141,_0x2bbc1e,_0x482477,_0x1d5bcb){const _0x588726=_0x50d51c;super(),_0x5e82ed(this,_0x588726(0x2ee),new Set()),_0x5e82ed(this,_0x588726(0x330),null),(this[_0x588726(0x1be)]=_0x156141,this[_0x588726(0x349)]=_0x2bbc1e,this[_0x588726(0x2d3)]=_0x482477,this[_0x588726(0x302)]=_0x1d5bcb,this['_init']());}[_0x50d51c(0x306)](){const _0x4b0742=_0x50d51c;this[_0x4b0742(0x349)][_0x4b0742(0x271)]['pipe'](_0x4a5380['takeUntil'](this[_0x4b0742(0x206)]),_0x4a5380[_0x4b0742(0x3e9)](_0x58e42f=>{const _0x1b5349=_0x4b0742;if(_0x58e42f){const _0x3cfbf5=_0x58e42f[_0x1b5349(0x28a)];return _0x2ea89f[_0x1b5349(0x1d4)](this['_collabCursorController']['getCollabCursors$'](this[_0x1b5349(0x1be)][_0x1b5349(0x1fa)]),this[_0x1b5349(0x302)][_0x1b5349(0x1c2)])['pipe'](_0x4a5380[_0x1b5349(0x161)](([_0x393db5,_0x524575])=>{const _0x51e899=_0x1b5349,_0x1dc85c=new Map();return _0x393db5[_0x51e899(0x39a)]((_0x45c8cc,_0x1497a4)=>{const _0x2271f5=_0x51e899;if(_0x45c8cc[_0x2271f5(0x2c0)]===_0x3cfbf5){const _0xeee5a4={..._0x45c8cc};_0xeee5a4[_0x2271f5(0x170)]=this[_0x2271f5(0x302)]['getColorFromTheme'](_0x45c8cc['color']),_0x1dc85c[_0x2271f5(0x3f5)](_0x1497a4,_0xeee5a4);}}),{'skeleton':_0x58e42f,'cursors':_0x1dc85c};}));}return _0x2ea89f['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x12cd7e,cursors:_0x462f66})=>{const _0x44a814=_0x4b0742;this[_0x44a814(0x34b)](),_0x12cd7e&&this[_0x44a814(0x291)](_0x12cd7e,_0x462f66);}),this[_0x4b0742(0x349)][_0x4b0742(0x271)][_0x4b0742(0x344)](_0x4b0250=>{const _0x460a08=_0x4b0742;if(_0x4b0250==null)return;const {skeleton:_0x235859}=_0x4b0250,{scene:_0x3da3fa}=this[_0x460a08(0x1be)];_0x3da3fa[_0x460a08(0x32d)][_0x460a08(0x21b)](_0x4d5d93[_0x460a08(0x341)](_0x155c46=>{const _0x1ca7b1=_0x460a08;var _0x1f06c9,_0x50ea90;const {offsetX:_0x58e1c1,offsetY:_0xfa24c5}=_0x155c46,{x:_0x5e0e09,y:_0x251c39}=_0x3da3fa[_0x1ca7b1(0x24e)](_0x27e953['Vector2'][_0x1ca7b1(0x37e)]([_0x58e1c1,_0xfa24c5])),{scaleX:_0x3439ae,scaleY:_0x111f84}=_0x3da3fa[_0x1ca7b1(0x2a8)](),_0x2706af=_0x3da3fa[_0x1ca7b1(0x21a)](_0x27e953['SHEET_VIEWPORT_KEY'][_0x1ca7b1(0x297)]),_0x134959=_0x3da3fa['getVpScrollXYInfoByPosToVp'](_0x27e953['Vector2'][_0x1ca7b1(0x37e)]([_0x5e0e09,_0x251c39]),_0x2706af),_0x563935=_0x235859[_0x1ca7b1(0x31e)](_0x58e1c1,_0xfa24c5,_0x3439ae,_0x111f84,_0x134959);((_0x1f06c9=this[_0x1ca7b1(0x330)])==null?void 0x0:_0x1f06c9[_0x1ca7b1(0x25d)])===_0x563935[_0x1ca7b1(0x25d)]&&((_0x50ea90=this[_0x1ca7b1(0x330)])==null?void 0x0:_0x50ea90[_0x1ca7b1(0x278)])===_0x563935['row']||this['_cursors'][_0x1ca7b1(0x39a)](_0x5e685e=>{const _0x350441=_0x1ca7b1;_0x5e685e[_0x350441(0x313)](_0x563935);});},0x64));});}['_updateCollabCursors'](_0x263b5d,_0x165f52){const _0x5e02e2=_0x50d51c;var _0x2f75a7;const _0x2b32a2=(_0x2f75a7=this['_sheetSkeletonManagerService'][_0x5e02e2(0x1a8)]())==null?void 0x0:_0x2f75a7[_0x5e02e2(0x1c0)];if(!_0x2b32a2)return;const _0x54be41=this[_0x5e02e2(0x3c1)]();if(!_0x54be41)return;this['_cursors']['forEach'](_0x5de2dc=>{const _0x48d714=_0x5e02e2;_0x5de2dc[_0x48d714(0x16d)]();});const {scene:_0x4c47ef}=_0x54be41,_0xc2b2d8=_0x5c880e(Array[_0x5e02e2(0x1b0)](_0x165f52['values']()))[_0x5e02e2(0x161)](_0x4e729=>{const _0x3c54e9=_0x5e02e2,{color:_0xd304c7,range:_0x7f3fd2,name:_0x4e6b72,selection:_0x5c21dd,sheetID:_0x307ca0}=_0x4e729,{startColumn:_0x129182,startRow:_0x5d136c,endColumn:_0x4be579,endRow:_0x215e45}=_0x7f3fd2,_0x169300=_0x5da637['getCoordByCell'](_0x5d136c,_0x129182,_0x4c47ef,_0x2b32a2),_0xb8094e=_0x5da637[_0x3c54e9(0x224)](_0x215e45,_0x4be579,_0x4c47ef,_0x2b32a2),{columnHeaderHeightAndMarginTop:_0x4ff155}=_0x2b32a2,{startX:_0x384738,startY:_0x51e423}=_0x169300,{endX:_0x5a8c38,endY:_0x19a3ea}=_0xb8094e,_0x448984=_0x5a8c38-_0x384738,_0x1277c8=_0x19a3ea-_0x51e423,_0x573b39={'labelPosition':_0x51e423-_0x4ff155>=_0x4e9a71?_0x3c54e9(0x374):'bottom','sheetID':_0x307ca0,'range':_0x7f3fd2,'color':_0xd304c7,'name':_0x4e6b72,'selection':_0x5c21dd,'left':_0x384738,'top':_0x51e423,'width':_0x448984,'height':_0x1277c8,'evented':!0x1,'zIndex':_0x3d90bb};return new _0x4aa7cb(_0x4e6b72,_0x573b39);});_0x4c47ef['addObjects'](_0xc2b2d8,_0x4cfb02),this[_0x5e02e2(0x2ee)]=new Set(_0xc2b2d8);}[_0x50d51c(0x34b)](){var _0x1484bb;(_0x1484bb=this['_cursors'])==null||_0x1484bb['forEach'](_0x2e0ea4=>_0x2e0ea4['dispose']());}['_getSheetObject'](){const _0x307cc5=_0x50d51c;return _0x5da637[_0x307cc5(0x379)](this[_0x307cc5(0x1be)][_0x307cc5(0x256)],this['_context']);}};_0x526942=_0x15ca20([_0x30c4dc(0x1,_0x4d5d93[_0x50d51c(0x383)](_0x5da637[_0x50d51c(0x1e3)])),_0x30c4dc(0x2,_0x4d5d93[_0x50d51c(0x383)](_0x1a123d)),_0x30c4dc(0x3,_0x4d5d93['Inject'](_0x4d5d93[_0x50d51c(0x1d2)]))],_0x526942);function _0x5c880e(_0x28318f){const _0x5d3541=_0x50d51c,_0x46334b=new Map();return _0x28318f['forEach'](_0x2fdd3a=>{const _0x2e3d97=_0xa650;if(_0x46334b['has'](_0x2fdd3a[_0x2e3d97(0x270)])){const _0x3a3952=_0x46334b['get'](_0x2fdd3a[_0x2e3d97(0x270)]);_0x3a3952[_0x2e3d97(0x2da)]+=',\x20'+_0x2fdd3a[_0x2e3d97(0x2da)];}else _0x46334b[_0x2e3d97(0x3f5)](_0x2fdd3a['selection'],_0x2fdd3a);}),Array[_0x5d3541(0x1b0)](_0x46334b[_0x5d3541(0x1a5)]());}var _0x3ecba9=function(){const _0x436259=_0x50d51c;return _0x3ecba9=Object[_0x436259(0x1eb)]||function(_0x3ddb2a){const _0x2f3f36=_0x436259;for(var _0x13679e,_0x3efda1=0x1,_0x547a1a=arguments['length'];_0x3efda1<_0x547a1a;_0x3efda1++){_0x13679e=arguments[_0x3efda1];for(var _0x3e750f in _0x13679e)Object[_0x2f3f36(0x2a2)][_0x2f3f36(0x30d)][_0x2f3f36(0x18e)](_0x13679e,_0x3e750f)&&(_0x3ddb2a[_0x3e750f]=_0x13679e[_0x3e750f]);}return _0x3ddb2a;},_0x3ecba9[_0x436259(0x3a1)](this,arguments);},_0x424d8c=function(_0x38c964,_0x3d2290){const _0x28195c=_0x50d51c;var _0x32c89e={};for(var _0x16f20e in _0x38c964)Object[_0x28195c(0x2a2)]['hasOwnProperty'][_0x28195c(0x18e)](_0x38c964,_0x16f20e)&&_0x3d2290[_0x28195c(0x2b8)](_0x16f20e)<0x0&&(_0x32c89e[_0x16f20e]=_0x38c964[_0x16f20e]);if(_0x38c964!=null&&typeof Object[_0x28195c(0x168)]==_0x28195c(0x27b)){for(var _0x36c9cd=0x0,_0x16f20e=Object[_0x28195c(0x168)](_0x38c964);_0x36c9cd<_0x16f20e[_0x28195c(0x225)];_0x36c9cd++)_0x3d2290[_0x28195c(0x2b8)](_0x16f20e[_0x36c9cd])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x38c964,_0x16f20e[_0x36c9cd])&&(_0x32c89e[_0x16f20e[_0x36c9cd]]=_0x38c964[_0x16f20e[_0x36c9cd]]);}return _0x32c89e;},_0x20bef5=_0x17763c[_0x50d51c(0x253)](function(_0xed9d13,_0x3c7b38){const _0x3455b2=_0x50d51c;var _0x52a335=_0xed9d13[_0x3455b2(0x21f)],_0xccedc3=_0xed9d13['id'],_0x26b133=_0xed9d13['className'],_0x31cb9a=_0xed9d13[_0x3455b2(0x3c6)],_0xc11d16=_0x424d8c(_0xed9d13,[_0x3455b2(0x21f),'id',_0x3455b2(0x222),'extend']),_0x470d8f=_0x3455b2(0x1f7)[_0x3455b2(0x2b3)](_0xccedc3,'\x20')[_0x3455b2(0x2b3)](_0x26b133||'')['trim'](),_0x13bc48=_0x17763c[_0x3455b2(0x29d)]('_'['concat'](_0x1f0bff()));return _0x13eba8(_0x52a335,''[_0x3455b2(0x2b3)](_0xccedc3),{'defIds':_0x52a335[_0x3455b2(0x3da)],'idSuffix':_0x13bc48['current']},_0x3ecba9({'ref':_0x3c7b38,'className':_0x470d8f},_0xc11d16),_0x31cb9a);});function _0x13eba8(_0x458d3b,_0x3a033a,_0x62df55,_0x46f198,_0x5c76bd){const _0x53e8d8=_0x50d51c;return _0x17763c[_0x53e8d8(0x39f)](_0x458d3b['tag'],_0x3ecba9(_0x3ecba9({'key':_0x3a033a},_0xc92bc(_0x458d3b,_0x62df55,_0x5c76bd)),_0x46f198),(_0x31e96e(_0x458d3b,_0x62df55)[_0x53e8d8(0x164)]||[])[_0x53e8d8(0x161)](function(_0x2f06eb,_0x2d2657){const _0x2ca0d0=_0x53e8d8;return _0x13eba8(_0x2f06eb,''[_0x2ca0d0(0x2b3)](_0x3a033a,'-')[_0x2ca0d0(0x2b3)](_0x458d3b[_0x2ca0d0(0x2b0)],'-')[_0x2ca0d0(0x2b3)](_0x2d2657),_0x62df55,void 0x0,_0x5c76bd);}));}function _0xc92bc(_0x4f6ec9,_0x56925f,_0x40a17a){const _0x23366f=_0x50d51c;var _0x169d79=_0x3ecba9({},_0x4f6ec9[_0x23366f(0x345)]);_0x40a17a!=null&&_0x40a17a[_0x23366f(0x2a3)]&&_0x169d79['fill']===_0x23366f(0x2a3)&&(_0x169d79[_0x23366f(0x193)]=_0x40a17a[_0x23366f(0x2a3)]),_0x4f6ec9[_0x23366f(0x2b0)]===_0x23366f(0x3d8)&&_0x169d79['id']&&(_0x169d79['id']=_0x169d79['id']+_0x56925f[_0x23366f(0x216)]),Object[_0x23366f(0x318)](_0x169d79)[_0x23366f(0x39a)](function(_0xaf09e9){const _0x4095d8=_0x23366f;var _0x2ee144=_0xaf09e9[0x0],_0x157872=_0xaf09e9[0x1];_0x2ee144==='mask'&&typeof _0x157872==_0x4095d8(0x2b9)&&(_0x169d79[_0x2ee144]=_0x157872[_0x4095d8(0x247)](/url\(#(.*)\)/,_0x4095d8(0x1c3)[_0x4095d8(0x2b3)](_0x56925f[_0x4095d8(0x216)],')')));});var _0xab2ffa=_0x56925f['defIds'];return!_0xab2ffa||_0xab2ffa[_0x23366f(0x225)]===0x0||(_0x4f6ec9[_0x23366f(0x2b0)]===_0x23366f(0x177)&&_0x169d79[_0x23366f(0x1ef)]&&(_0x169d79[_0x23366f(0x1ef)]=_0x169d79[_0x23366f(0x1ef)]+_0x56925f[_0x23366f(0x216)]),Object[_0x23366f(0x318)](_0x169d79)['forEach'](function(_0x3c8e28){const _0xf85544=_0x23366f;var _0xdddc1e=_0x3c8e28[0x0],_0x5d2262=_0x3c8e28[0x1];typeof _0x5d2262==_0xf85544(0x2b9)&&(_0x169d79[_0xdddc1e]=_0x5d2262[_0xf85544(0x247)](/url\(#(.*)\)/,_0xf85544(0x1c3)[_0xf85544(0x2b3)](_0x56925f[_0xf85544(0x216)],')')));})),_0x169d79;}function _0x31e96e(_0x139bfe,_0x121878){const _0x1f239c=_0x50d51c;var _0x3c3b4c,_0x21eed6=_0x121878[_0x1f239c(0x3da)];return!_0x21eed6||_0x21eed6[_0x1f239c(0x225)]===0x0?_0x139bfe:_0x139bfe[_0x1f239c(0x2b0)]===_0x1f239c(0x3af)&&(!((_0x3c3b4c=_0x139bfe[_0x1f239c(0x164)])===null||_0x3c3b4c===void 0x0)&&_0x3c3b4c['length'])?_0x3ecba9(_0x3ecba9({},_0x139bfe),{'children':_0x139bfe[_0x1f239c(0x164)][_0x1f239c(0x161)](function(_0x13a8b7){const _0x688326=_0x1f239c;return typeof _0x13a8b7['attrs']['id']==_0x688326(0x2b9)&&_0x21eed6&&_0x21eed6[_0x688326(0x2b4)](_0x13a8b7[_0x688326(0x345)]['id'])?_0x3ecba9(_0x3ecba9({},_0x13a8b7),{'attrs':_0x3ecba9(_0x3ecba9({},_0x13a8b7[_0x688326(0x345)]),{'id':_0x13a8b7[_0x688326(0x345)]['id']+_0x121878[_0x688326(0x216)]})}):_0x13a8b7;})}):_0x139bfe;}function _0x1f0bff(){const _0x23b5db=_0x50d51c;return Math[_0x23b5db(0x273)]()[_0x23b5db(0x323)](0x24)[_0x23b5db(0x364)](0x2,0x8);}_0x20bef5[_0x50d51c(0x1f4)]='UniverIcon';var _0x430dd6={'tag':_0x50d51c(0x25f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x50d51c(0x361),'viewBox':_0x50d51c(0x2b1),'width':_0x50d51c(0x2d4),'height':_0x50d51c(0x2d4)},'children':[{'tag':'g','attrs':{'clipPath':_0x50d51c(0x1f1)},'children':[{'tag':_0x50d51c(0x175),'attrs':{'stroke':_0x50d51c(0x3c0),'d':_0x50d51c(0x22b),'strokeLinecap':_0x50d51c(0x38f),'strokeLinejoin':_0x50d51c(0x38f),'strokeWidth':1.2}}]},{'tag':_0x50d51c(0x3af),'attrs':{},'children':[{'tag':_0x50d51c(0x30f),'attrs':{'id':_0x50d51c(0x3cc)},'children':[{'tag':_0x50d51c(0x175),'attrs':{'fill':_0x50d51c(0x38a),'d':_0x50d51c(0x275)}}]}]}],'defIds':[_0x50d51c(0x3cc)]},_0x4d57ad=_0x17763c[_0x50d51c(0x253)](function(_0x5127d2,_0x2e9029){const _0x481949=_0x50d51c;return _0x17763c[_0x481949(0x39f)](_0x20bef5,Object[_0x481949(0x1eb)]({},_0x5127d2,{'id':_0x481949(0x375),'ref':_0x2e9029,'icon':_0x430dd6}));});_0x4d57ad[_0x50d51c(0x1f4)]=_0x50d51c(0x391);var _0x4445b5={'tag':_0x50d51c(0x25f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x50d51c(0x1d0),'width':_0x50d51c(0x2d4),'height':_0x50d51c(0x2d4)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x50d51c(0x337),'strokeLinecap':_0x50d51c(0x38f),'strokeLinejoin':_0x50d51c(0x38f),'strokeWidth':1.2}}]},{'tag':_0x50d51c(0x3af),'attrs':{},'children':[{'tag':_0x50d51c(0x30f),'attrs':{'id':_0x50d51c(0x333)},'children':[{'tag':_0x50d51c(0x175),'attrs':{'fill':_0x50d51c(0x38a),'d':_0x50d51c(0x275),'transform':_0x50d51c(0x26b)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x4ca280=_0x17763c[_0x50d51c(0x253)](function(_0xb1e0b6,_0x5c3d5c){const _0x2ee17c=_0x50d51c;return _0x17763c[_0x2ee17c(0x39f)](_0x20bef5,Object['assign']({},_0xb1e0b6,{'id':_0x2ee17c(0x19f),'ref':_0x5c3d5c,'icon':_0x4445b5}));});_0x4ca280[_0x50d51c(0x1f4)]=_0x50d51c(0x322);function _0x4969a2(_0x47520e){const _0xb2abae=_0x50d51c;switch(_0x47520e){case _0x436a9d[_0xb2abae(0x377)][_0xb2abae(0x3ae)]:return _0xb2abae(0x2e7);case _0x436a9d['CollaborationStatus'][_0xb2abae(0x242)]:return'collabStatus.conflict';case _0x436a9d['CollaborationStatus'][_0xb2abae(0x2a9)]:return _0xb2abae(0x38e);case _0x436a9d[_0xb2abae(0x377)][_0xb2abae(0x2a6)]:return _0xb2abae(0x370);case _0x436a9d[_0xb2abae(0x377)]['AWAITING']:case _0x436a9d[_0xb2abae(0x377)][_0xb2abae(0x3cd)]:return _0xb2abae(0x3a6);case _0x436a9d[_0xb2abae(0x377)][_0xb2abae(0x2c1)]:case _0x436a9d[_0xb2abae(0x377)][_0xb2abae(0x300)]:return _0xb2abae(0x1e8);}}function _0x104452(_0x14adbe){const _0x4984a8=_0x50d51c,{status$:_0x2a98e4}=_0x14adbe,_0x15d624=_0x4b125[_0x4984a8(0x203)](_0x2a98e4,_0x436a9d[_0x4984a8(0x377)]['NOT_COLLAB']),_0x43fcc8=_0x4b125[_0x4984a8(0x208)](_0x4d5d93[_0x4984a8(0x31b)]),_0x2c8ee5=_0x4b125[_0x4984a8(0x208)](_0x436a9d[_0x4984a8(0x2ec)]),_0x2fdb0b=_0x15d624!==_0x436a9d['CollaborationStatus']['OFFLINE'],_0x16fc08=_0x43fcc8['t'](_0x4969a2(_0x15d624)),_0x537146=_0x2fdb0b?_0x4b944a[_0x4984a8(0x287)](_0x4ca280,{}):_0x4b944a['jsx'](_0x4d57ad,{}),_0x5f0cd7=_0x17763c[_0x4984a8(0x3b4)](()=>{_0x2fdb0b||_0x2c8ee5['reconnect']();},[_0x2fdb0b,_0x2c8ee5]);function _0x3049c5(){const _0x134fe4=_0x4984a8;return _0x4b944a[_0x134fe4(0x30c)]('div',{'className':_0x134fe4(0x33b),'onClick':_0x5f0cd7,'children':[_0x4b944a['jsx']('div',{'className':_0x553977['clsx']('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2fdb0b,'univer-text-red-500':!_0x2fdb0b}),'children':_0x537146}),_0x4b944a['jsx'](_0x134fe4(0x28e),{'className':_0x134fe4(0x180),'children':_0x16fc08})]});}return _0x2fdb0b?_0x3049c5():_0x4b944a['jsx'](_0x553977[_0x4984a8(0x16b)],{'title':_0x43fcc8['t'](_0x4984a8(0x17b)),'children':_0x3049c5()});}var _0x2e57e5=Object['getOwnPropertyDescriptor'],_0x33e5f4=(_0x4f98ca,_0x113c91,_0x1e26b2,_0x530904)=>{for(var _0xb5bc09=_0x530904>0x1?void 0x0:_0x530904?_0x2e57e5(_0x113c91,_0x1e26b2):_0x113c91,_0x1ff636=_0x4f98ca['length']-0x1,_0x102aa1;_0x1ff636>=0x0;_0x1ff636--)(_0x102aa1=_0x4f98ca[_0x1ff636])&&(_0xb5bc09=_0x102aa1(_0xb5bc09)||_0xb5bc09);return _0xb5bc09;},_0x4cfdd1=(_0x4da705,_0x132725)=>(_0x131dd5,_0x3c6e33)=>_0x132725(_0x131dd5,_0x3c6e33,_0x4da705);_0x37a429['DesktopCollaborationStatusDisplayController']=class extends _0x4d5d93['Disposable']{constructor(_0x5973f8,_0x371ad0,_0x20442a,_0x5bc964){const _0x45dc63=_0x50d51c;super(),_0x5e82ed(this,_0x45dc63(0x231),new _0x2ea89f[(_0x45dc63(0x17a))](_0x436a9d[_0x45dc63(0x377)][_0x45dc63(0x2a6)])),(this['_univerInstanceService']=_0x5973f8,this[_0x45dc63(0x246)]=_0x371ad0,this[_0x45dc63(0x34e)]=_0x20442a,this[_0x45dc63(0x1bc)]=_0x5bc964,this[_0x45dc63(0x27f)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x2c6e90=_0x50d51c;this['disposeWithMe'](this['_univerInstanceService']['focused$'][_0x2c6e90(0x280)](_0x2ea89f[_0x2c6e90(0x3e9)](()=>{const _0xfc7cb=_0x2c6e90,_0x103bda=this[_0xfc7cb(0x305)][_0xfc7cb(0x1a6)]();return _0x103bda?this[_0xfc7cb(0x34e)][_0xfc7cb(0x24b)](_0x103bda[_0xfc7cb(0x2f3)]()):_0x2ea89f['of'](null);}),_0x2ea89f['switchMap'](_0x13938a=>_0x13938a?_0x13938a[_0x2c6e90(0x24d)]:_0x2ea89f['of'](_0x436a9d[_0x2c6e90(0x377)][_0x2c6e90(0x2a6)])))['subscribe'](_0x12d6bd=>{const _0x19bc65=_0x2c6e90;this[_0x19bc65(0x231)][_0x19bc65(0x369)](_0x12d6bd);}));}['_initStatusComponent'](){const _0x2e4c89=_0x50d51c;this[_0x2e4c89(0x239)](this['_uiPartsService'][_0x2e4c89(0x3d4)](_0x4b125['BuiltInUIPart'][_0x2e4c89(0x363)],()=>_0x4b125[_0x2e4c89(0x2af)](_0x25402e({'status$':this[_0x2e4c89(0x231)][_0x2e4c89(0x332)]()}),this['_injector'])));}},_0x37a429[_0x50d51c(0x29b)]=_0x33e5f4([_0x4cfdd1(0x0,_0x4d5d93[_0x50d51c(0x3f4)]),_0x4cfdd1(0x1,_0x4d5d93[_0x50d51c(0x383)](_0x4d5d93[_0x50d51c(0x196)])),_0x4cfdd1(0x2,_0x4d5d93['Inject'](_0x436a9d['CollaborationController'])),_0x4cfdd1(0x3,_0x4b125['IUIPartsService'])],_0x37a429['DesktopCollaborationStatusDisplayController']);function _0x25402e(_0x44e0ca){const {status$:_0x4321a9}=_0x44e0ca;return function(){return _0x4b944a['jsx'](_0x104452,{'status$':_0x4321a9});};}var _0x153c0f=Object['getOwnPropertyDescriptor'],_0x55fc57=(_0x5b9d60,_0xc0dc63,_0x5c4bca,_0x4d4bbd)=>{for(var _0x1ec8da=_0x4d4bbd>0x1?void 0x0:_0x4d4bbd?_0x153c0f(_0xc0dc63,_0x5c4bca):_0xc0dc63,_0xe7a66d=_0x5b9d60['length']-0x1,_0x1b9dca;_0xe7a66d>=0x0;_0xe7a66d--)(_0x1b9dca=_0x5b9d60[_0xe7a66d])&&(_0x1ec8da=_0x1b9dca(_0x1ec8da)||_0x1ec8da);return _0x1ec8da;},_0x5deb40=(_0x582bfa,_0x1fa9a1)=>(_0x50c8d6,_0xd0c990)=>_0x1fa9a1(_0x50c8d6,_0xd0c990,_0x582bfa);let _0x76523c=class extends _0x4d5d93['Disposable']{constructor(_0x5cc929,_0x1180a9,_0x48ee55,_0x590ad5,_0x112115,_0x3fc1e6){const _0x38526a=_0x50d51c;super(),this[_0x38526a(0x3d5)]=_0x5cc929,this[_0x38526a(0x23d)]=_0x1180a9,this['_collaborationUIEventService']=_0x48ee55,this[_0x38526a(0x2a0)]=_0x590ad5,this[_0x38526a(0x29f)]=_0x112115,this[_0x38526a(0x212)]=_0x3fc1e6,this[_0x38526a(0x1e2)](),this[_0x38526a(0x2e3)]();}[_0x50d51c(0x1e2)](){const _0x426172=_0x50d51c;this['disposeWithMe'](this[_0x426172(0x3d5)][_0x426172(0x2f4)](()=>{const _0x134882=_0x426172;if(this[_0x134882(0x23d)]['saveTaskMap'][_0x134882(0x3d2)])return this[_0x134882(0x212)]['t'](_0x134882(0x3e8));}));}[_0x50d51c(0x2e3)](){const _0x4803de=_0x50d51c;this[_0x4803de(0x239)](this['_collaborationUIEventService'][_0x4803de(0x267)][_0x4803de(0x344)](_0x3d44c2=>{const _0x3765d1=_0x4803de;_0x3d44c2['id']===_0x436a9d[_0x3765d1(0x24c)]['OTHER_CLIENT_EDITING']&&this[_0x3765d1(0x2a0)]['show']({'type':_0x553977[_0x3765d1(0x1f9)][_0x3765d1(0x2fb)],'content':this[_0x3765d1(0x212)]['t'](_0x3765d1(0x397))}),_0x3d44c2['id']===_0x436a9d['CollaborationUIEventId'][_0x3765d1(0x326)]&&this[_0x3765d1(0x2a0)][_0x3765d1(0x218)]({'type':_0x553977['MessageType'][_0x3765d1(0x2fb)],'content':this[_0x3765d1(0x212)]['t'](_0x3765d1(0x2e5))}),_0x3d44c2['id']===_0x436a9d[_0x3765d1(0x24c)]['PERMISSION_DENIED']&&this['_notificationService'][_0x3765d1(0x218)]({'title':this['_localeService']['t'](_0x3765d1(0x2c2)),'content':this[_0x3765d1(0x212)]['t'](_0x3765d1(0x1fe)),'type':_0x3765d1(0x1f2),'duration':0x0}),_0x3d44c2['id']===_0x436a9d[_0x3765d1(0x24c)][_0x3765d1(0x242)]&&this['_messageService']['show']({'type':_0x553977[_0x3765d1(0x1f9)][_0x3765d1(0x2cd)],'content':this[_0x3765d1(0x212)]['t'](_0x3765d1(0x2e5))+'('+_0x3d44c2[_0x3765d1(0x182)]+')'}),_0x3d44c2['id']===_0x436a9d[_0x3765d1(0x24c)]['JOIN_ROOM_FAILED']&&this[_0x3765d1(0x2a0)][_0x3765d1(0x218)]({'type':_0x553977[_0x3765d1(0x1f9)][_0x3765d1(0x2fb)],'content':this[_0x3765d1(0x212)]['t'](_0x3d44c2[_0x3765d1(0x182)]||'')}),_0x3d44c2['id']===_0x436a9d[_0x3765d1(0x24c)][_0x3765d1(0x214)]&&this[_0x3765d1(0x2a0)][_0x3765d1(0x218)]({'type':_0x553977[_0x3765d1(0x1f9)]['Warning'],'content':this[_0x3765d1(0x212)]['t'](_0x3765d1(0x3e6))}),_0x3d44c2['id']===_0x436a9d[_0x3765d1(0x24c)]['SOCKET_FAILED']&&this['_messageService'][_0x3765d1(0x218)]({'type':_0x553977[_0x3765d1(0x1f9)][_0x3765d1(0x2cd)],'content':this[_0x3765d1(0x212)]['t']('session.connection-failed')}),_0x3d44c2['id']===_0x436a9d[_0x3765d1(0x24c)][_0x3765d1(0x320)]&&this[_0x3765d1(0x2a0)][_0x3765d1(0x218)]({'type':_0x553977[_0x3765d1(0x1f9)][_0x3765d1(0x2cd)],'content':this[_0x3765d1(0x212)]['t'](_0x3765d1(0x26f))});}));}};_0x76523c=_0x55fc57([_0x5deb40(0x0,_0x4b125['IBeforeCloseService']),_0x5deb40(0x1,_0x436a9d['ILocalCacheService']),_0x5deb40(0x2,_0x4d5d93[_0x50d51c(0x383)](_0x436a9d[_0x50d51c(0x2f9)])),_0x5deb40(0x3,_0x4b125[_0x50d51c(0x37a)]),_0x5deb40(0x4,_0x4b125[_0x50d51c(0x1b6)]),_0x5deb40(0x5,_0x4d5d93[_0x50d51c(0x383)](_0x4d5d93[_0x50d51c(0x31b)]))],_0x76523c);const _0x38556f=_0x50d51c(0x351),_0x3b5cca={},_0x373d67=_0x4d5d93[_0x50d51c(0x227)]('uni.network.url-service');var _0x5f5ca6=Object[_0x50d51c(0x179)],_0x1a7bd4=(_0x1bcb73,_0x5caf06,_0x11f6f6,_0x2e0eaf)=>{const _0x37eb29=_0x50d51c;for(var _0x558698=_0x2e0eaf>0x1?void 0x0:_0x2e0eaf?_0x5f5ca6(_0x5caf06,_0x11f6f6):_0x5caf06,_0x13d64d=_0x1bcb73[_0x37eb29(0x225)]-0x1,_0x1530c1;_0x13d64d>=0x0;_0x13d64d--)(_0x1530c1=_0x1bcb73[_0x13d64d])&&(_0x558698=_0x1530c1(_0x558698)||_0x558698);return _0x558698;},_0x2f52ae=(_0x4d738b,_0x22ed84)=>(_0x10c9d8,_0x18e71d)=>_0x22ed84(_0x10c9d8,_0x18e71d,_0x4d738b);_0x37a429['CollaborationDataLoaderController']=class extends _0x4d5d93[_0x50d51c(0x2dd)]{constructor(_0x418b54,_0x28a639,_0x49ac37,_0x4fa0af,_0x56307c){const _0x28a1d9=_0x50d51c;super(),this[_0x28a1d9(0x331)]=_0x418b54,this[_0x28a1d9(0x3ba)]=_0x28a639,this[_0x28a1d9(0x254)]=_0x49ac37,this[_0x28a1d9(0x1dd)]=_0x4fa0af,_0x56307c?_0x56307c==null||_0x56307c[_0x28a1d9(0x32c)]()[_0x28a1d9(0x1c6)](()=>this['_init']()):(this['_logService'][_0x28a1d9(0x198)]('[CollaborationDataLoaderController]',_0x28a1d9(0x2bd)),this[_0x28a1d9(0x306)]());}async[_0x50d51c(0x306)](){const _0x101116=_0x50d51c,_0xb4000e=this[_0x101116(0x331)]['getParam']('unit'),_0x25be9e=this[_0x101116(0x331)][_0x101116(0x36e)](_0x101116(0x25e)),_0x2eb4c5=this['_urlService'][_0x101116(0x36e)]('subunit');if(!_0xb4000e||!_0x25be9e){this['_logService'][_0x101116(0x198)](_0x101116(0x17f),_0x101116(0x39b));return;}const _0x16c8b2=await this['_dataLoaderService'][_0x101116(0x172)](_0xb4000e,Number(_0x25be9e),_0x2eb4c5);_0x16c8b2&&_0x16c8b2 instanceof _0x4d5d93[_0x101116(0x30b)]&&this[_0x101116(0x3bf)](_0x16c8b2);}async[_0x50d51c(0x3bf)](_0x44decf){const _0x4a3946=_0x50d51c;await this[_0x4a3946(0x2fd)](_0x44decf),_0x44decf[_0x4a3946(0x362)]['pipe'](_0x2ea89f['takeUntil'](this[_0x4a3946(0x206)]))[_0x4a3946(0x344)](_0x1c242f=>{const _0xaff212=_0x4a3946;_0x1c242f&&this[_0xaff212(0x1ca)](_0x1c242f);}),this[_0x4a3946(0x331)][_0x4a3946(0x1a7)][_0x4a3946(0x280)](_0x2ea89f[_0x4a3946(0x308)](this[_0x4a3946(0x206)]))[_0x4a3946(0x344)](()=>this[_0x4a3946(0x2fd)](_0x44decf));}[_0x50d51c(0x1ca)](_0x330cd8,_0x5ed7e5=!0x1){const _0x45f323=_0x50d51c,_0x4457c6=this[_0x45f323(0x331)][_0x45f323(0x36e)](_0x45f323(0x248));_0x330cd8[_0x45f323(0x1b9)]()!==_0x4457c6&&this[_0x45f323(0x331)]['setParam'](_0x45f323(0x248),_0x330cd8[_0x45f323(0x1b9)](),_0x5ed7e5);}async[_0x50d51c(0x2fd)](_0x6baa2f){const _0x422bfd=_0x50d51c;var _0x282f48;const _0x245585=this[_0x422bfd(0x331)][_0x422bfd(0x36e)](_0x422bfd(0x248));if(!_0x245585||!_0x6baa2f['getSheetBySheetId'](_0x245585)){const _0x458cb4=_0x6baa2f[_0x422bfd(0x365)]()[0x0],_0x4bfa6d=_0x6baa2f[_0x422bfd(0x188)](_0x458cb4);if(!_0x4bfa6d)return;this[_0x422bfd(0x1ca)](_0x4bfa6d,!0x0),await this[_0x422bfd(0x254)][_0x422bfd(0x3b1)](_0x4cf27b['SetWorksheetActivateCommand']['id'],{'unitId':_0x6baa2f[_0x422bfd(0x2f3)](),'subUnitId':_0x458cb4});return;}((_0x282f48=_0x6baa2f[_0x422bfd(0x244)]())==null?void 0x0:_0x282f48[_0x422bfd(0x1b9)]())!==_0x245585&&await this[_0x422bfd(0x254)][_0x422bfd(0x3b1)](_0x4cf27b[_0x422bfd(0x2e1)]['id'],{'unitId':_0x6baa2f[_0x422bfd(0x2f3)](),'subUnitId':_0x245585});}},_0x37a429['CollaborationDataLoaderController']=_0x1a7bd4([_0x2f52ae(0x0,_0x373d67),_0x2f52ae(0x1,_0x4d5d93[_0x50d51c(0x178)]),_0x2f52ae(0x2,_0x4d5d93['ICommandService']),_0x2f52ae(0x3,_0x4d5d93[_0x50d51c(0x383)](_0x436a9d['DataLoaderService'])),_0x2f52ae(0x4,_0x4d5d93[_0x50d51c(0x1e0)](_0x30d0d4['IRemoteInstanceService']))],_0x37a429[_0x50d51c(0x281)]);var _0x33c889=Object[_0x50d51c(0x179)],_0x2bde24=(_0x52f258,_0x4cca75,_0x38cd20,_0x2dcaa0)=>{const _0x2e9c75=_0x50d51c;for(var _0x224c44=_0x2dcaa0>0x1?void 0x0:_0x2dcaa0?_0x33c889(_0x4cca75,_0x38cd20):_0x4cca75,_0x1b7ed5=_0x52f258[_0x2e9c75(0x225)]-0x1,_0x39a55d;_0x1b7ed5>=0x0;_0x1b7ed5--)(_0x39a55d=_0x52f258[_0x1b7ed5])&&(_0x224c44=_0x39a55d(_0x224c44)||_0x224c44);return _0x224c44;},_0x56522e=(_0x41b4c1,_0x11bb64)=>(_0x4d1fb2,_0x13e9b6)=>_0x11bb64(_0x4d1fb2,_0x13e9b6,_0x41b4c1);let _0x45ee50=class{constructor(_0xc386ea,_0x47a0c4,_0x4c7160){const _0x4ecdd1=_0x50d51c;this[_0x4ecdd1(0x246)]=_0xc386ea,this['_transformService']=_0x47a0c4,this[_0x4ecdd1(0x3b2)]=_0x4c7160;}[_0x50d51c(0x3be)](_0x58c8ce){const _0x18de39=_0x50d51c;this[_0x18de39(0x2db)](_0x58c8ce),this[_0x18de39(0x192)](_0x58c8ce);}[_0x50d51c(0x289)](_0x196e51){const _0x13ae95=_0x50d51c,{unitID:_0x3e8774}=_0x196e51,_0x554929=this[_0x13ae95(0x3b2)]['getRenderById'](_0x3e8774)[_0x13ae95(0x389)](_0x3f955c[_0x13ae95(0x3a7)]),{redoCache:_0x296df3}=_0x554929[_0x13ae95(0x36c)]();if(_0x296df3[_0x13ae95(0x225)]===0x0)return _0x196e51;let _0x52a090=_0x4d5d93[_0x13ae95(0x230)][_0x13ae95(0x1cb)](_0x196e51['mutations'][0x0]);for(let _0x52d9b6=0x0;_0x52d9b6<_0x296df3[_0x13ae95(0x225)];_0x52d9b6++){const _0x285589={'id':_0x13ae95(0x2f2),'params':{..._0x296df3[_0x52d9b6]}},_0x620d89=this[_0x13ae95(0x251)][_0x13ae95(0x284)](_0x52a090,_0x285589,!0x1);if(_0x2d957c['isTransformMutationFailure'](_0x620d89))throw _0x620d89[_0x13ae95(0x1f2)];_0x52a090=_0x620d89[_0x13ae95(0x340)];}return{..._0x4d5d93[_0x13ae95(0x230)]['deepClone'](_0x196e51),'mutations':[_0x52a090]};}[_0x50d51c(0x2db)](_0x3a2701){const _0x2c524b=_0x50d51c,{unitID:_0x45a378}=_0x3a2701,_0x288709=this['_renderManagerService'][_0x2c524b(0x2eb)](_0x45a378)[_0x2c524b(0x389)](_0x3f955c[_0x2c524b(0x3a7)]),{undoCache:_0x2b550c,redoCache:_0x4fe778}=_0x288709[_0x2c524b(0x36c)]();if(_0x2b550c[_0x2c524b(0x225)]===0x0||_0x4fe778[_0x2c524b(0x225)]===0x0)return;const _0x265705=[],_0x2a14b6=[];let _0x81e9a3=_0x4d5d93[_0x2c524b(0x230)][_0x2c524b(0x1cb)](_0x3a2701['mutations'][0x0]),_0xef02e0=_0x4d5d93[_0x2c524b(0x230)][_0x2c524b(0x1cb)](_0x3a2701['mutations'][0x0]);for(let _0x41365c=_0x2b550c[_0x2c524b(0x225)]-0x1;_0x41365c>=0x0;_0x41365c--){const _0x40eeb5={'id':'doc.mutation.rich-text-editing','params':{..._0x2b550c[_0x41365c]}},_0x50c9b9={'id':_0x2c524b(0x2f2),'params':{..._0x4fe778[_0x41365c]}},_0x584c73=this[_0x2c524b(0x251)]['transformMutation'](_0x81e9a3,_0x40eeb5,!0x1),_0x2cf13e=this['_transformService'][_0x2c524b(0x284)](_0xef02e0,_0x50c9b9,!0x1);if(_0x2d957c[_0x2c524b(0x16a)](_0x584c73))throw _0x584c73[_0x2c524b(0x1f2)];if(_0x2d957c[_0x2c524b(0x16a)](_0x2cf13e))throw _0x2cf13e['error'];_0x265705[_0x2c524b(0x20f)](_0x584c73[_0x2c524b(0x20a)][_0x2c524b(0x245)]),_0x2a14b6[_0x2c524b(0x20f)](_0x2cf13e['m2Prime'][_0x2c524b(0x245)]),_0x81e9a3=_0x584c73[_0x2c524b(0x340)],_0xef02e0=_0x2cf13e['m1Prime'];}_0x288709[_0x2c524b(0x367)]({'undoCache':_0x265705,'redoCache':_0x2a14b6});}['_transformPreviousActiveRange'](_0x5628b8){const _0x36ce70=_0x50d51c,{unitID:_0x45b7b7}=_0x5628b8,_0x1248e5=this[_0x36ce70(0x3b2)][_0x36ce70(0x2eb)](_0x45b7b7)[_0x36ce70(0x389)](_0x3f955c['DocIMEInputManagerService']),_0x50aae8=_0x1248e5[_0x36ce70(0x398)]();if(_0x50aae8==null)return;const _0x320cab=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5628b8[_0x36ce70(0x3f0)],'actions':null,'textRanges':[_0x50aae8]}}],_0x40d84b=this[_0x36ce70(0x251)][_0x36ce70(0x1c5)](_0x5628b8,_0x320cab);if(!_0x2d957c[_0x36ce70(0x236)](_0x40d84b))throw _0x40d84b[_0x36ce70(0x1f2)];const _0x2634ae=_0x40d84b['m2Prime'][0x0][_0x36ce70(0x245)][_0x36ce70(0x3c5)];Array[_0x36ce70(0x28f)](_0x2634ae)&&_0x2634ae['length']&&_0x1248e5['setActiveRange'](_0x2634ae[0x0]);}};_0x45ee50=_0x2bde24([_0x56522e(0x0,_0x4d5d93[_0x50d51c(0x383)](_0x4d5d93[_0x50d51c(0x196)])),_0x56522e(0x1,_0x2d957c[_0x50d51c(0x39c)]),_0x56522e(0x2,_0x27e953['IRenderManagerService'])],_0x45ee50);var _0x201174=Object[_0x50d51c(0x179)],_0x3cf0df=(_0x6ad4de,_0x5de760,_0x3080fd,_0x2a24d7)=>{const _0x2da68e=_0x50d51c;for(var _0x3fbc7d=_0x2a24d7>0x1?void 0x0:_0x2a24d7?_0x201174(_0x5de760,_0x3080fd):_0x5de760,_0x11ed9c=_0x6ad4de[_0x2da68e(0x225)]-0x1,_0xc115e1;_0x11ed9c>=0x0;_0x11ed9c--)(_0xc115e1=_0x6ad4de[_0x11ed9c])&&(_0x3fbc7d=_0xc115e1(_0x3fbc7d)||_0x3fbc7d);return _0x3fbc7d;},_0x519c73=(_0x2d4275,_0x57a980)=>(_0x3fd805,_0x31ab5c)=>_0x57a980(_0x3fd805,_0x31ab5c,_0x2d4275);let _0x5d0e0a=class{constructor(_0x2f7f14,_0x270aec,_0x2de82e){const _0x554e45=_0x50d51c;this[_0x554e45(0x246)]=_0x2f7f14,this['_transformService']=_0x270aec,this[_0x554e45(0x2c5)]=_0x2de82e;}[_0x50d51c(0x23b)](_0x178cbc){const _0x4a379f=_0x50d51c;this[_0x4a379f(0x3b9)](_0x178cbc);}['transformRemoteChangeset'](_0x1f9c1d){const _0x585bae=_0x50d51c,{unitID:_0x4c8757}=_0x1f9c1d,{collaboration:_0xb0f84b}=this['_docStateChangeManagerService'][_0x585bae(0x294)](_0x4c8757);if(_0xb0f84b['length']===0x0)return _0x1f9c1d;let _0xc3572d=_0x4d5d93[_0x585bae(0x230)][_0x585bae(0x1cb)](_0x1f9c1d['mutations'][0x0]);for(let _0x2b8b4b=0x0;_0x2b8b4b<_0xb0f84b['length'];_0x2b8b4b++){const _0x17a81a={'id':_0x585bae(0x2f2),'params':{'unitId':_0xb0f84b[_0x2b8b4b][_0x585bae(0x1fa)],..._0xb0f84b[_0x2b8b4b][_0x585bae(0x343)]}},_0x4a3d05=this[_0x585bae(0x251)][_0x585bae(0x284)](_0xc3572d,_0x17a81a,!0x1);if(_0x2d957c[_0x585bae(0x16a)](_0x4a3d05))throw _0x4a3d05[_0x585bae(0x1f2)];_0xc3572d=_0x4a3d05[_0x585bae(0x340)];}return{..._0x4d5d93[_0x585bae(0x230)][_0x585bae(0x1cb)](_0x1f9c1d),'mutations':[_0xc3572d]};}[_0x50d51c(0x3b9)](_0x2fd0ea){const _0xa03319=_0x50d51c,{unitID:_0x3157ee}=_0x2fd0ea,{history:_0x1655b8,collaboration:_0x5e57fa}=this[_0xa03319(0x2c5)][_0xa03319(0x294)](_0x3157ee);if(_0x1655b8[_0xa03319(0x225)]===0x0&&_0x5e57fa[_0xa03319(0x225)]===0x0)return;const _0xadf91a=[],_0x337f07=[];let _0x4f0a33=_0x4d5d93[_0xa03319(0x230)]['deepClone'](_0x2fd0ea[_0xa03319(0x2c8)][0x0]),_0x126f82=_0x4d5d93[_0xa03319(0x230)][_0xa03319(0x1cb)](_0x2fd0ea[_0xa03319(0x2c8)][0x0]);for(let _0x926a5e=_0x1655b8['length']-0x1;_0x926a5e>=0x0;_0x926a5e--){const _0xe0c46e={'id':_0xa03319(0x2f2),'params':{'unitId':_0x1655b8[_0x926a5e][_0xa03319(0x1fa)],..._0x1655b8[_0x926a5e][_0xa03319(0x3f1)]}},_0x3b6690={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1655b8[_0x926a5e]['unitId'],..._0x1655b8[_0x926a5e][_0xa03319(0x343)]}},_0x24cbef=this['_transformService'][_0xa03319(0x284)](_0x4f0a33,_0xe0c46e,!0x1),_0x2a8c08=this['_transformService']['transformMutation'](_0x126f82,_0x3b6690,!0x1);if(_0x2d957c[_0xa03319(0x16a)](_0x24cbef))throw _0x24cbef[_0xa03319(0x1f2)];if(_0x2d957c[_0xa03319(0x16a)](_0x2a8c08))throw _0x2a8c08[_0xa03319(0x1f2)];_0xadf91a[_0xa03319(0x20f)]({..._0x1655b8[_0x926a5e],'undoState':_0x24cbef[_0xa03319(0x20a)][_0xa03319(0x245)],'redoState':_0x2a8c08[_0xa03319(0x20a)][_0xa03319(0x245)]}),_0x4f0a33=_0x24cbef[_0xa03319(0x340)],_0x126f82=_0x2a8c08[_0xa03319(0x340)];}_0x4f0a33=_0x4d5d93['Tools'][_0xa03319(0x1cb)](_0x2fd0ea[_0xa03319(0x2c8)][0x0]),_0x126f82=_0x4d5d93['Tools'][_0xa03319(0x1cb)](_0x2fd0ea['mutations'][0x0]);for(let _0x6f99d=_0x5e57fa[_0xa03319(0x225)]-0x1;_0x6f99d>=0x0;_0x6f99d--){const _0x18be02={'id':_0xa03319(0x2f2),'params':{'unitId':_0x5e57fa[_0x6f99d]['unitId'],..._0x5e57fa[_0x6f99d][_0xa03319(0x3f1)]}},_0x17d02f={'id':_0xa03319(0x2f2),'params':{'unitId':_0x5e57fa[_0x6f99d]['unitId'],..._0x5e57fa[_0x6f99d][_0xa03319(0x343)]}},_0x3bf5d9=this[_0xa03319(0x251)]['transformMutation'](_0x4f0a33,_0x18be02,!0x1),_0x424087=this[_0xa03319(0x251)]['transformMutation'](_0x126f82,_0x17d02f,!0x1);if(_0x2d957c[_0xa03319(0x16a)](_0x3bf5d9))throw _0x3bf5d9['error'];if(_0x2d957c[_0xa03319(0x16a)](_0x424087))throw _0x424087[_0xa03319(0x1f2)];_0x337f07[_0xa03319(0x20f)]({..._0x5e57fa[_0x6f99d],'undoState':_0x3bf5d9['m2Prime'][_0xa03319(0x245)],'redoState':_0x424087[_0xa03319(0x20a)][_0xa03319(0x245)]}),_0x4f0a33=_0x3bf5d9['m1Prime'],_0x126f82=_0x424087[_0xa03319(0x340)];}this['_docStateChangeManagerService'][_0xa03319(0x1aa)](_0x3157ee,{'history':_0xadf91a,'collaboration':_0x337f07});}};_0x5d0e0a=_0x3cf0df([_0x519c73(0x0,_0x4d5d93[_0x50d51c(0x383)](_0x4d5d93[_0x50d51c(0x196)])),_0x519c73(0x1,_0x2d957c['ITransformService']),_0x519c73(0x2,_0x4d5d93[_0x50d51c(0x383)](_0x3f955c[_0x50d51c(0x266)]))],_0x5d0e0a);var _0x10d609=Object[_0x50d51c(0x179)],_0x396a43=(_0x5c31f3,_0x5d179a,_0x3e92c1,_0x2e148d)=>{const _0x48e8e3=_0x50d51c;for(var _0x483752=_0x2e148d>0x1?void 0x0:_0x2e148d?_0x10d609(_0x5d179a,_0x3e92c1):_0x5d179a,_0x456226=_0x5c31f3[_0x48e8e3(0x225)]-0x1,_0x70653f;_0x456226>=0x0;_0x456226--)(_0x70653f=_0x5c31f3[_0x456226])&&(_0x483752=_0x70653f(_0x483752)||_0x483752);return _0x483752;},_0x7ef3fc=(_0x30ec1d,_0x368d16)=>(_0x1e077a,_0x300ea7)=>_0x368d16(_0x1e077a,_0x300ea7,_0x30ec1d);let _0x2f031e=class{constructor(_0x5e5c25,_0x471281){const _0x5c1ed3=_0x50d51c;this['_injector']=_0x5e5c25,this[_0x5c1ed3(0x251)]=_0x471281;}[_0x50d51c(0x1db)](_0x3763b7){const _0x2693c7=_0x50d51c;var _0xe258d;const _0x16eda6=this[_0x2693c7(0x246)]['get'](_0x1781a2[_0x2693c7(0x303)]),_0x5efaa0=(_0xe258d=_0x16eda6[_0x2693c7(0x17c)]())!=null?_0xe258d:[];if(_0x5efaa0[_0x2693c7(0x225)]===0x0)return;const _0x47a616=_0x3763b7['unitID'],_0x4dc814=[{'id':_0x2693c7(0x2f2),'params':{'unitId':_0x47a616,'actions':null,'textRanges':_0x5efaa0}}],_0x434716=this[_0x2693c7(0x251)][_0x2693c7(0x1c5)](_0x3763b7,_0x4dc814);if(!_0x2d957c['isTransformMutationsWithChangesetSuccess'](_0x434716))throw _0x434716['error'];const _0x33222d=_0x434716[_0x2693c7(0x20a)][0x0][_0x2693c7(0x245)][_0x2693c7(0x3c5)];Array[_0x2693c7(0x28f)](_0x33222d)&&_0x33222d[_0x2693c7(0x225)]&&_0x16eda6[_0x2693c7(0x2ef)](_0x33222d,{'unitId':_0x47a616,'subUnitId':_0x47a616},!0x1);}};_0x2f031e=_0x396a43([_0x7ef3fc(0x0,_0x4d5d93[_0x50d51c(0x383)](_0x4d5d93['Injector'])),_0x7ef3fc(0x1,_0x2d957c[_0x50d51c(0x39c)])],_0x2f031e);var _0x4d6112=Object['getOwnPropertyDescriptor'],_0x211da6=(_0x16d5ab,_0x152831,_0x1336fb,_0x18b4b9)=>{const _0x1181cc=_0x50d51c;for(var _0x265199=_0x18b4b9>0x1?void 0x0:_0x18b4b9?_0x4d6112(_0x152831,_0x1336fb):_0x152831,_0x206265=_0x16d5ab[_0x1181cc(0x225)]-0x1,_0x3c49;_0x206265>=0x0;_0x206265--)(_0x3c49=_0x16d5ab[_0x206265])&&(_0x265199=_0x3c49(_0x265199)||_0x265199);return _0x265199;},_0x5bf2b7=(_0x5bddc4,_0x2566da)=>(_0x17347d,_0x431b36)=>_0x2566da(_0x17347d,_0x431b36,_0x5bddc4);let _0x2b502e=class extends _0x4d5d93['Disposable']{constructor(_0x4a966c,_0x43690c,_0x5eb14e,_0x4d7dc0,_0x3fecb5,_0x3b0cfe,_0x4520fb,_0x585fb9){const _0x4a3096=_0x50d51c;super(),_0x5e82ed(this,_0x4a3096(0x231),new _0x2ea89f[(_0x4a3096(0x17a))](_0x436a9d[_0x4a3096(0x377)][_0x4a3096(0x2a6)])),(this[_0x4a3096(0x2c5)]=_0x4a966c,this[_0x4a3096(0x34e)]=_0x43690c,this['_docTransformIMECacheService']=_0x5eb14e,this[_0x4a3096(0x1d5)]=_0x4d7dc0,this[_0x4a3096(0x263)]=_0x3fecb5,this[_0x4a3096(0x27d)]=_0x3b0cfe,this[_0x4a3096(0x2a0)]=_0x4520fb,this[_0x4a3096(0x212)]=_0x585fb9,this[_0x4a3096(0x1bd)]());}[_0x50d51c(0x1bd)](){const _0x17730a=_0x50d51c;this[_0x17730a(0x239)](this[_0x17730a(0x34e)][_0x17730a(0x3df)][_0x17730a(0x344)](_0xbc4844=>{const _0x424fc3=_0x17730a,_0x1592cd=this[_0x424fc3(0x2c5)][_0x424fc3(0x189)][_0x424fc3(0x344)](_0x5d0897=>{const _0x5b292a=_0x424fc3;if(_0x5d0897==null)return;const {unitId:_0x48a58f,redoState:_0x60262c,commandId:_0x38f42d}=_0x5d0897;if(_0x48a58f!==_0xbc4844['unitID'])return;const _0x5ee066={'id':_0x38f42d,'type':_0x4d5d93[_0x5b292a(0x240)][_0x5b292a(0x2f6)],'params':{'unitId':_0x48a58f,'actions':_0x60262c['actions'],'textRanges':null}};_0xbc4844[_0x5b292a(0x3f3)](_0x5ee066);});if(_0xbc4844[_0x424fc3(0x239)](_0x1592cd),_0xbc4844 instanceof _0x436a9d[_0x424fc3(0x290)]){const _0x5e4640={'onTransformIME':_0x2822d4=>this['_docTransformIMECacheService']['transformIMECache'](_0x2822d4),'onTransformState':_0x2002bc=>this[_0x424fc3(0x1d5)][_0x424fc3(0x23b)](_0x2002bc),'onTransformSelections':_0x15c600=>this[_0x424fc3(0x263)]['transformSelections'](_0x15c600),'onSyncEditingCollabCursor':_0x1a5c45=>this[_0x424fc3(0x27d)][_0x424fc3(0x243)](_0x1a5c45),'onTransformRemoteChangesetByIMECache':_0x325296=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x325296),'onTransformRemoteChangesetByStateCache':_0x248ff1=>this['_docTransformStateCacheService'][_0x424fc3(0x289)](_0x248ff1)};_0xbc4844['addHandlerCallback'](_0x5e4640);}}));}};_0x2b502e=_0x211da6([_0x5bf2b7(0x0,_0x4d5d93[_0x50d51c(0x383)](_0x3f955c['DocStateChangeManagerService'])),_0x5bf2b7(0x1,_0x4d5d93[_0x50d51c(0x383)](_0x436a9d[_0x50d51c(0x26d)])),_0x5bf2b7(0x2,_0x4d5d93['Inject'](_0x45ee50)),_0x5bf2b7(0x3,_0x4d5d93[_0x50d51c(0x383)](_0x5d0e0a)),_0x5bf2b7(0x4,_0x4d5d93[_0x50d51c(0x383)](_0x2f031e)),_0x5bf2b7(0x5,_0x4d5d93[_0x50d51c(0x383)](_0x3c2ecf)),_0x5bf2b7(0x6,_0x4b125['IMessageService']),_0x5bf2b7(0x7,_0x4d5d93[_0x50d51c(0x383)](_0x4d5d93['LocaleService']))],_0x2b502e);var _0x563a77=Object[_0x50d51c(0x179)],_0x3f6938=(_0x33280c,_0x5c45b8,_0x5a2ecd,_0x8bacb)=>{for(var _0x420b85=_0x8bacb>0x1?void 0x0:_0x8bacb?_0x563a77(_0x5c45b8,_0x5a2ecd):_0x5c45b8,_0x410281=_0x33280c['length']-0x1,_0x545b59;_0x410281>=0x0;_0x410281--)(_0x545b59=_0x33280c[_0x410281])&&(_0x420b85=_0x545b59(_0x420b85)||_0x420b85);return _0x420b85;},_0x52444d=(_0x3b25b4,_0x4239da)=>(_0xfca069,_0x181421)=>_0x4239da(_0xfca069,_0x181421,_0x3b25b4);let _0xd66183=class extends _0x4d5d93[_0x50d51c(0x205)]{constructor(_0x29ed91,_0x246be0,_0x3d6a98){const _0x1d4460=_0x50d51c;super(),_0x5e82ed(this,_0x1d4460(0x393),new Map()),_0x5e82ed(this,_0x1d4460(0x30a),new Map()),_0x5e82ed(this,_0x1d4460(0x1f0),!0x1),(this[_0x1d4460(0x2b2)]=_0x29ed91,this[_0x1d4460(0x353)]=_0x246be0,this[_0x1d4460(0x304)]=_0x3d6a98);}[_0x50d51c(0x1da)](){const _0x5971d7=_0x50d51c;this[_0x5971d7(0x1f0)]=!0x0;}['enableLocalCache'](){const _0x2237cd=_0x50d51c;this[_0x2237cd(0x1f0)]=!0x1;}get[_0x50d51c(0x2a5)](){const _0x31660e=_0x50d51c;return this[_0x31660e(0x30a)];}['dispose'](){const _0xabf0e0=_0x50d51c;this[_0xabf0e0(0x1ea)]()['then'](()=>super[_0xabf0e0(0x32e)]());}async[_0x50d51c(0x3f9)](_0x3e7ba4){const _0x235bcf=_0x50d51c;return this[_0x235bcf(0x1f0)]?null:this[_0x235bcf(0x353)]['getItem'](_0x436a9d[_0x235bcf(0x34a)](_0x3e7ba4));}async['saveOfflineData'](_0x17eade,_0x347cfc){const _0x61d99c=_0x50d51c;return!!this['_localStorageService'][_0x61d99c(0x29c)](_0x17eade,_0x347cfc);}['updateOfflineData'](_0x1e7b12,_0x22fa5a,_0x3a8ac5,_0xcb685){const _0x53086b=_0x50d51c,_0xc2956c=this[_0x53086b(0x304)]['getCurrentRevOfUnit'](_0x1e7b12);this[_0x53086b(0x393)][_0x53086b(0x3f5)](_0x1e7b12,{'unitID':_0x1e7b12,'type':_0x22fa5a,'awaitingChangeset':_0x3a8ac5,'mutations':_0xcb685,'rev':_0xc2956c}),this['_saveTaskMap'][_0x53086b(0x310)](_0x1e7b12)||this['_scheduleSaving'](_0x1e7b12);}[_0x50d51c(0x309)](_0x479696){const _0x3f7472=_0x50d51c,_0x536a4b=this[_0x3f7472(0x3c3)]();_0x536a4b===0x0?this['_saveCache'](_0x479696):this[_0x3f7472(0x30a)]['set'](_0x479696,setTimeout(()=>this[_0x3f7472(0x20d)](_0x479696),_0x536a4b));}[_0x50d51c(0x3c3)](){const _0x4e2503=_0x50d51c;var _0x11ebf2;return(_0x11ebf2=this[_0x4e2503(0x2b2)]['getConfig'](_0x436a9d[_0x4e2503(0x2be)]))!=null?_0x11ebf2:_0x436a9d[_0x4e2503(0x33e)];}[_0x50d51c(0x20d)](_0xf6fc2c){const _0x2b0cf7=_0x50d51c,_0x2169d2=this[_0x2b0cf7(0x30a)][_0x2b0cf7(0x2ba)](_0xf6fc2c);return _0x2169d2!==void 0x0&&window['clearTimeout'](_0x2169d2),this['_localStorageService']['setItem'](_0x436a9d[_0x2b0cf7(0x34a)](_0xf6fc2c),this[_0x2b0cf7(0x393)][_0x2b0cf7(0x2ba)](_0xf6fc2c))['then'](()=>this['_saveTaskMap'][_0x2b0cf7(0x3d7)](_0xf6fc2c));}async[_0x50d51c(0x1ea)](){const _0x236f8e=_0x50d51c,_0x5dd413=[];this[_0x236f8e(0x30a)][_0x236f8e(0x39a)]((_0x547c2d,_0x3e5df4)=>{const _0x2ae8a1=_0x236f8e;window[_0x2ae8a1(0x18b)](_0x547c2d),_0x5dd413[_0x2ae8a1(0x335)](this['_saveCache'](_0x3e5df4)[_0x2ae8a1(0x1c6)](()=>{const _0x5a719d=_0x2ae8a1;this[_0x5a719d(0x30a)]['delete'](_0x3e5df4);}));}),await Promise[_0x236f8e(0x1d7)](_0x5dd413);}};_0xd66183=_0x3f6938([_0x52444d(0x0,_0x4d5d93[_0x50d51c(0x3aa)]),_0x52444d(0x1,_0x4d5d93[_0x50d51c(0x20c)]),_0x52444d(0x2,_0x4d5d93[_0x50d51c(0x383)](_0x2d957c[_0x50d51c(0x2a1)]))],_0xd66183);class _0x1391c2 extends _0x4d5d93[_0x50d51c(0x2dd)]{constructor(){const _0x52102b=_0x50d51c;super(),_0x5e82ed(this,_0x52102b(0x1a7)),this['urlChange$']=_0x2ea89f[_0x52102b(0x1cc)](window,_0x52102b(0x2bf))[_0x52102b(0x280)](_0x2ea89f[_0x52102b(0x308)](this[_0x52102b(0x206)]),_0x2ea89f[_0x52102b(0x371)](0x1),_0x2ea89f['mapTo'](void 0x0));}[_0x50d51c(0x3f6)](_0x3fe7c8,_0x4119d7,_0x3a836d=!0x1){const _0x41596a=_0x50d51c,_0x534f40=new URL(window[_0x41596a(0x17e)]['href']);_0x534f40[_0x41596a(0x1f3)][_0x41596a(0x3f5)](_0x3fe7c8,_0x4119d7),_0x3a836d?window[_0x41596a(0x2dc)][_0x41596a(0x386)]('','',_0x534f40[_0x41596a(0x323)]()):window[_0x41596a(0x2dc)][_0x41596a(0x33f)]('','',_0x534f40[_0x41596a(0x323)]());}['removeParam'](_0x3c662c,_0x17900d=!0x1){const _0x177fdc=_0x50d51c,_0x446dbc=new URL(window['location'][_0x177fdc(0x181)]);_0x446dbc[_0x177fdc(0x1f3)][_0x177fdc(0x3d7)](_0x3c662c),_0x17900d?window['history']['replaceState']('','',_0x446dbc[_0x177fdc(0x323)]()):window[_0x177fdc(0x2dc)]['pushState']('','',_0x446dbc[_0x177fdc(0x323)]());}[_0x50d51c(0x36e)](_0x3f3351){const _0x103b28=_0x50d51c;var _0x5eb2a9;return(_0x5eb2a9=new URL(window['location'][_0x103b28(0x181)])['searchParams'][_0x103b28(0x2ba)](_0x3f3351))!=null?_0x5eb2a9:void 0x0;}}var _0x2bbfbe=Object[_0x50d51c(0x2d2)],_0x397a99=Object[_0x50d51c(0x179)],_0x24ba94=(_0x4ecdf5,_0x4a4eea,_0x38d507)=>_0x4a4eea in _0x4ecdf5?_0x2bbfbe(_0x4ecdf5,_0x4a4eea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38d507}):_0x4ecdf5[_0x4a4eea]=_0x38d507,_0x24286b=(_0x25d178,_0x3d42d4,_0x18dba3,_0x448cef)=>{const _0x2bc66b=_0x50d51c;for(var _0x4cd2b0=_0x448cef>0x1?void 0x0:_0x448cef?_0x397a99(_0x3d42d4,_0x18dba3):_0x3d42d4,_0x13aed1=_0x25d178[_0x2bc66b(0x225)]-0x1,_0x4051d5;_0x13aed1>=0x0;_0x13aed1--)(_0x4051d5=_0x25d178[_0x13aed1])&&(_0x4cd2b0=_0x4051d5(_0x4cd2b0)||_0x4cd2b0);return _0x4cd2b0;},_0x4f7375=(_0x2a15a7,_0x539960)=>(_0x95fbba,_0x3976f9)=>_0x539960(_0x95fbba,_0x3976f9,_0x2a15a7),_0x543222=(_0x2bf0e0,_0x49c1fd,_0x3e8949)=>_0x24ba94(_0x2bf0e0,_0x49c1fd+'',_0x3e8949);const _0x29cdb0=_0x50d51c(0x288);_0x37a429['UniverCollaborationClientUIPlugin']=class extends _0x4d5d93[_0x50d51c(0x27c)]{constructor(_0x4b34e2=_0x3b5cca,_0x2f84fb,_0x27e0c8,_0x2bee2e){const _0x1c87b9=_0x50d51c;super(),this['_config']=_0x4b34e2,this['_renderManagerService']=_0x2f84fb,this[_0x1c87b9(0x246)]=_0x27e0c8,this[_0x1c87b9(0x2b2)]=_0x2bee2e;const {..._0x40cb67}=_0x4d5d93['merge']({},_0x3b5cca,this[_0x1c87b9(0x283)]);this[_0x1c87b9(0x2b2)][_0x1c87b9(0x209)](_0x38556f,_0x40cb67);}[_0x50d51c(0x3ea)](){const _0x29aad3=_0x50d51c;this[_0x29aad3(0x3a0)](),this[_0x29aad3(0x3ad)]();}[_0x50d51c(0x311)](){this['_registerRenderDependencies']();}[_0x50d51c(0x3a0)](){const _0x33afdc=_0x50d51c;var _0x3addd9;const _0x5078f5=[[_0x2f0bfe],[_0x2f031e],[_0x45ee50],[_0x5d0e0a],[_0x3c2ecf],[_0x373d67,{'useClass':_0x1391c2}],[_0x83de29[_0x33afdc(0x29e)],{'useClass':_0x83de29['WebSocketService']}],[_0x436a9d[_0x33afdc(0x1d3)],{'useClass':_0xd66183}],[_0x37a429[_0x33afdc(0x29b)]],[_0x2b502e],[_0x76523c],[_0x1a123d],[_0x4f51dc],[_0x37a429['CollaborationDataLoaderController']]];_0x4d5d93[_0x33afdc(0x2c3)](this[_0x33afdc(0x246)],_0x4d5d93[_0x33afdc(0x296)](_0x5078f5,(_0x3addd9=this[_0x33afdc(0x283)])==null?void 0x0:_0x3addd9[_0x33afdc(0x16f)]));}[_0x50d51c(0x1e1)](){const _0x354a9d=_0x50d51c;this['disposeWithMe'](this[_0x354a9d(0x3b2)][_0x354a9d(0x277)](_0x4d5d93[_0x354a9d(0x2bc)]['UNIVER_DOC'],[_0x41efac])),this[_0x354a9d(0x239)](this[_0x354a9d(0x3b2)]['registerRenderModule'](_0x4d5d93['UniverInstanceType'][_0x354a9d(0x226)],[_0x526942]));}[_0x50d51c(0x3ad)](){const _0x189fd4=_0x50d51c;_0x4d5d93['touchDependencies'](this[_0x189fd4(0x246)],[[_0x1a123d],[_0x37a429[_0x189fd4(0x29b)]],[_0x2b502e],[_0x76523c],[_0x37a429[_0x189fd4(0x281)]]]);}},_0x543222(_0x37a429['UniverCollaborationClientUIPlugin'],_0x50d51c(0x204),_0x29cdb0),_0x37a429[_0x50d51c(0x237)]=_0x24286b([_0x4d5d93[_0x50d51c(0x22d)](_0x436a9d['UniverCollaborationClientPlugin']),_0x4f7375(0x1,_0x27e953[_0x50d51c(0x187)]),_0x4f7375(0x2,_0x4d5d93[_0x50d51c(0x383)](_0x4d5d93[_0x50d51c(0x196)])),_0x4f7375(0x3,_0x4d5d93[_0x50d51c(0x3aa)])],_0x37a429['UniverCollaborationClientUIPlugin']);var _0x26fbc0=Object[_0x50d51c(0x179)],_0x4db3e6=(_0x58be3d,_0x488b6d,_0x2d9a50,_0x9cd5bc)=>{const _0x52621b=_0x50d51c;for(var _0x43b26e=_0x9cd5bc>0x1?void 0x0:_0x9cd5bc?_0x26fbc0(_0x488b6d,_0x2d9a50):_0x488b6d,_0x3fd380=_0x58be3d[_0x52621b(0x225)]-0x1,_0x5516fb;_0x3fd380>=0x0;_0x3fd380--)(_0x5516fb=_0x58be3d[_0x3fd380])&&(_0x43b26e=_0x5516fb(_0x43b26e)||_0x43b26e);return _0x43b26e;},_0x2c322f=(_0x583e71,_0x560191)=>(_0x537093,_0x31c24a)=>_0x560191(_0x537093,_0x31c24a,_0x583e71);_0x37a429[_0x50d51c(0x1f5)]=class extends _0x436a9d['CollaborationSocketService']{constructor(_0x4596b7,_0x59b7af,_0x141e14,_0x1d31da,_0x4d8ab8){super(_0x4596b7,_0x59b7af,_0x141e14,_0x1d31da,_0x4d8ab8);}async['createSocket'](_0x3f4c5f){const _0x4649e8=_0x50d51c,_0x353b02=await this[_0x4649e8(0x3e2)](),_0x339c1e=this[_0x4649e8(0x2d6)](_0x3f4c5f,_0x353b02);return this[_0x4649e8(0x3d9)](_0x339c1e);}[_0x50d51c(0x2d6)](_0x3561ad,_0x26d6af){const _0x44d2d0=_0x50d51c,_0x5706c9=typeof window>'u'?new URL(_0x3561ad):new URL(_0x3561ad,window[_0x44d2d0(0x17e)][_0x44d2d0(0x35f)]);_0x5706c9['searchParams'][_0x44d2d0(0x3f5)]('sessionTicket',_0x26d6af);const _0x422000=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x44d2d0(0x17e)]['search']);return _0x422000[_0x44d2d0(0x2ba)](_0x44d2d0(0x382))&&_0x5706c9[_0x44d2d0(0x1f3)]['set']('runId',_0x422000[_0x44d2d0(0x2ba)](_0x44d2d0(0x382))),_0x5706c9[_0x44d2d0(0x323)]();}async[_0x50d51c(0x3e2)](){const _0x4eb89e=_0x50d51c;var _0x1b806d,_0x1d9f6f,_0x244530;const _0x488f68=this[_0x4eb89e(0x2b2)]['getConfig'](_0x436a9d['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x47f2e3=(_0x1b806d=_0x488f68==null?void 0x0:_0x488f68[_0x4eb89e(0x366)])!=null?_0x1b806d:_0x436a9d[_0x4eb89e(0x2e4)];return(_0x244530=(_0x1d9f6f=(await this[_0x4eb89e(0x2ea)][_0x4eb89e(0x2ba)](_0x47f2e3,{'headers':{'Content-Type':_0x4eb89e(0x1b3)}}))[_0x4eb89e(0x3fa)])==null?void 0x0:_0x1d9f6f[_0x4eb89e(0x264)])!=null?_0x244530:'';}},_0x37a429[_0x50d51c(0x1f5)]=_0x4db3e6([_0x2c322f(0x0,_0x4d5d93['Inject'](_0x4d5d93['Injector'])),_0x2c322f(0x1,_0x4d5d93['Inject'](_0x83de29[_0x50d51c(0x219)])),_0x2c322f(0x2,_0x4d5d93[_0x50d51c(0x3aa)]),_0x2c322f(0x3,_0x4d5d93['ILogService']),_0x2c322f(0x4,_0x2d957c[_0x50d51c(0x190)])],_0x37a429[_0x50d51c(0x1f5)]);const _0x2cb5ec=0x7530,_0x49f5f7=_0x50d51c(0x1b4);class _0x46117c extends _0x4d5d93[_0x50d51c(0x205)]{constructor(){const _0x42e26a=_0x50d51c;super(),_0x5e82ed(this,_0x42e26a(0x396),_0x4d5d93[_0x42e26a(0x229)]()),_0x5e82ed(this,_0x42e26a(0x272),new Set()),_0x5e82ed(this,'_unitOnClients',new Map()),_0x5e82ed(this,_0x42e26a(0x20b),null),_0x5e82ed(this,_0x42e26a(0x195),new Map()),_0x5e82ed(this,_0x42e26a(0x2ab),new Map()),this[_0x42e26a(0x306)]();}[_0x50d51c(0x32e)](){const _0x17cc4e=_0x50d51c;super[_0x17cc4e(0x32e)](),this[_0x17cc4e(0x195)][_0x17cc4e(0x39a)]((_0x523c3f,_0x3539b7)=>this[_0x17cc4e(0x33c)](_0x3539b7)),this[_0x17cc4e(0x20b)]&&window[_0x17cc4e(0x24a)](this[_0x17cc4e(0x20b)]);}[_0x50d51c(0x3b3)](_0x4f4ead){const _0x139a4e=_0x50d51c;return this[_0x139a4e(0x15e)](_0x4f4ead)[_0x139a4e(0x280)](_0x2ea89f[_0x139a4e(0x33d)]());}[_0x50d51c(0x392)](_0x149b2b){const _0x5da67d=_0x50d51c;this[_0x5da67d(0x272)][_0x5da67d(0x3d2)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x5da67d(0x2bb)](_0x149b2b),this[_0x5da67d(0x21d)]({'type':0x0,'memberID':this[_0x5da67d(0x396)],'unitIDs':[_0x149b2b],'isForwarded':!0x1});}[_0x50d51c(0x18c)](_0x4bddbd){const _0x4fd1e3=_0x50d51c;this['_selfUnitIDs'][_0x4fd1e3(0x3d7)](_0x4bddbd),this[_0x4fd1e3(0x272)][_0x4fd1e3(0x3d2)]===0x0&&this[_0x4fd1e3(0x20b)]&&window[_0x4fd1e3(0x24a)](this[_0x4fd1e3(0x20b)]);}[_0x50d51c(0x306)](){const _0x3cad77=_0x50d51c;this[_0x3cad77(0x239)](_0x4d5d93[_0x3cad77(0x394)](_0x2ea89f['fromEvent'](window,_0x3cad77(0x16e))[_0x3cad77(0x344)](_0x3cd53f=>{const _0x20f170=_0x3cad77;if(_0x3cd53f[_0x20f170(0x3ac)]!==_0x49f5f7||!_0x3cd53f['newValue'])return;const _0x4c3529=JSON[_0x20f170(0x238)](_0x3cd53f[_0x20f170(0x32b)]);this[_0x20f170(0x3cf)](_0x4c3529);}))),window['addEventListener'](_0x3cad77(0x194),()=>this[_0x3cad77(0x21d)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x3cad77(0x1b0)](this[_0x3cad77(0x272)])}));}[_0x50d51c(0x3cf)](_0x4ef502){const _0x3db1d5=_0x50d51c;switch(_0x4ef502['type']){case 0x0:this[_0x3db1d5(0x184)](_0x4ef502);break;case 0x1:this[_0x3db1d5(0x3bb)](_0x4ef502);break;case 0x2:this[_0x3db1d5(0x183)](_0x4ef502);break;}}[_0x50d51c(0x184)](_0x11015a){const _0x49e8b0=_0x50d51c,{unitIDs:_0x45b823,memberID:_0x53aa37,isForwarded:_0x5991ba}=_0x11015a;_0x45b823['forEach'](_0x460a17=>{const _0x2ec4a9=_0xa650;if(!_0x5991ba&&this[_0x2ec4a9(0x34d)][_0x2ec4a9(0x310)](_0x460a17)&&this['_ensureSubject'](_0x460a17)[_0x2ec4a9(0x369)](_0x436a9d[_0x2ec4a9(0x2ce)][_0x2ec4a9(0x28b)]),!this[_0x2ec4a9(0x34d)][_0x2ec4a9(0x310)](_0x460a17)||!this[_0x2ec4a9(0x34d)][_0x2ec4a9(0x2ba)](_0x460a17)[_0x2ec4a9(0x310)](_0x53aa37)){const _0x166748=this[_0x2ec4a9(0x34d)][_0x2ec4a9(0x2ba)](_0x460a17)||new Set();_0x166748['add'](_0x53aa37),this[_0x2ec4a9(0x34d)]['set'](_0x460a17,_0x166748),this[_0x2ec4a9(0x327)](_0x53aa37);}}),_0x5991ba||this[_0x49e8b0(0x21d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x50d51c(0x327)](_0x21ff3b){const _0x6a62b6=_0x50d51c;this[_0x6a62b6(0x33c)](_0x21ff3b);const _0x564c11=window[_0x6a62b6(0x37f)](()=>{const _0x5a9c1a=_0x6a62b6;this[_0x5a9c1a(0x34d)]['forEach'](_0x282e69=>{const _0x1c15e8=_0x5a9c1a;_0x282e69[_0x1c15e8(0x3d7)](_0x21ff3b);});},_0x2cb5ec*0x2);this[_0x6a62b6(0x195)][_0x6a62b6(0x3f5)](_0x21ff3b,_0x564c11);}['_removeClearOtherTimer'](_0xf0bd9c){const _0x350094=_0x50d51c;if(this[_0x350094(0x195)][_0x350094(0x310)](_0xf0bd9c)){const _0x5b17f8=this[_0x350094(0x195)][_0x350094(0x2ba)](_0xf0bd9c);_0x5b17f8&&window[_0x350094(0x18b)](_0x5b17f8),this['_clearOtherTimers'][_0x350094(0x3f5)](_0xf0bd9c,null);}}[_0x50d51c(0x3bb)](_0xaba00c){const _0xd574f4=_0x50d51c,{memberID:_0x5927e0,unitIDs:_0x416152}=_0xaba00c;_0x416152[_0xd574f4(0x39a)](_0x4c77d5=>{const _0x5402d0=_0xd574f4;var _0x11ce6c;const _0x2444c8=this[_0x5402d0(0x34d)][_0x5402d0(0x2ba)](_0x4c77d5);_0x2444c8&&(_0x2444c8['delete'](_0x5927e0),(_0x11ce6c=this[_0x5402d0(0x15e)](_0x4c77d5))==null||_0x11ce6c[_0x5402d0(0x369)](_0x2444c8['size']===0x0?_0x436a9d[_0x5402d0(0x2ce)][_0x5402d0(0x2aa)]:_0x436a9d[_0x5402d0(0x2ce)][_0x5402d0(0x28b)]));}),this['_removeClearOtherTimer'](_0x5927e0);}[_0x50d51c(0x183)](_0x1c2c7d){const _0x306fe5=_0x50d51c;this[_0x306fe5(0x327)](_0x1c2c7d['memberID']);}['_send'](_0x60d474){const _0x3b2394=_0x50d51c;localStorage[_0x3b2394(0x29c)](_0x49f5f7,JSON['stringify'](_0x60d474));}[_0x50d51c(0x24f)](){const _0x314d3d=_0x50d51c;this[_0x314d3d(0x20b)]=window[_0x314d3d(0x19a)](()=>{const _0x2d33f2=_0x314d3d;this[_0x2d33f2(0x21d)]({'type':0x2,'memberID':this['_id']});},_0x2cb5ec);}[_0x50d51c(0x15e)](_0x304f7c){const _0x181f81=_0x50d51c;return this[_0x181f81(0x2ab)][_0x181f81(0x310)](_0x304f7c)||this[_0x181f81(0x2ab)][_0x181f81(0x3f5)](_0x304f7c,new _0x2ea89f[(_0x181f81(0x17a))](_0x436a9d[_0x181f81(0x2ce)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x181f81(0x2ba)](_0x304f7c);}}var _0x3ed9f3=(_0x2d9e73=>(_0x2d9e73[_0x2d9e73[_0x50d51c(0x268)]=0x0]=_0x50d51c(0x268),_0x2d9e73[_0x2d9e73['OK']=0x1]='OK',_0x2d9e73[_0x2d9e73[_0x50d51c(0x1a9)]=0x2]='INTERNAL_ERROR',_0x2d9e73[_0x2d9e73['PERMISSION_DENIED']=0x3]=_0x50d51c(0x1b8),_0x2d9e73[_0x2d9e73['NOT_FOUND']=0x4]=_0x50d51c(0x2ff),_0x2d9e73[_0x2d9e73['UNAUTHENTICATED']=0x5]=_0x50d51c(0x22f),_0x2d9e73[_0x2d9e73[_0x50d51c(0x1bf)]=0x6]=_0x50d51c(0x1bf),_0x2d9e73[_0x2d9e73[_0x50d51c(0x185)]=0x7]='INVALID_ARGUMENT',_0x2d9e73[_0x2d9e73['TOO_MANY_REQUESTS']=0x8]=_0x50d51c(0x324),_0x2d9e73[_0x2d9e73[_0x50d51c(0x1ce)]=0x9]=_0x50d51c(0x1ce),_0x2d9e73[_0x2d9e73[_0x50d51c(0x339)]=0xa]=_0x50d51c(0x339),_0x2d9e73[_0x2d9e73[_0x50d51c(0x2ac)]=0x1389]=_0x50d51c(0x2ac),_0x2d9e73[_0x2d9e73[_0x50d51c(0x352)]=0x1771]=_0x50d51c(0x352),_0x2d9e73[_0x2d9e73[_0x50d51c(0x3f7)]=0x1772]=_0x50d51c(0x3f7),_0x2d9e73[_0x2d9e73['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2d9e73[_0x2d9e73[_0x50d51c(0x200)]=0x1b59]=_0x50d51c(0x200),_0x2d9e73[_0x2d9e73['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x50d51c(0x167),_0x2d9e73[_0x2d9e73['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x50d51c(0x3c8),_0x2d9e73[_0x2d9e73['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x50d51c(0x299),_0x2d9e73[_0x2d9e73[_0x50d51c(0x328)]=0x1b5d]=_0x50d51c(0x328),_0x2d9e73[_0x2d9e73['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x50d51c(0x2b7),_0x2d9e73[_0x2d9e73[_0x50d51c(0x301)]=0x2329]=_0x50d51c(0x301),_0x2d9e73[_0x2d9e73[_0x50d51c(0x316)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2d9e73[_0x2d9e73[_0x50d51c(0x35d)]=0x232b]=_0x50d51c(0x35d),_0x2d9e73[_0x2d9e73[_0x50d51c(0x1c4)]=0x232c]=_0x50d51c(0x1c4),_0x2d9e73[_0x2d9e73[_0x50d51c(0x234)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2d9e73[_0x2d9e73[_0x50d51c(0x3f8)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2d9e73[_0x2d9e73['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x50d51c(0x3ec),_0x2d9e73[_0x2d9e73[_0x50d51c(0x25a)]=0x2713]=_0x50d51c(0x25a),_0x2d9e73[_0x2d9e73['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2d9e73[_0x2d9e73[_0x50d51c(0x171)]=0x271a]=_0x50d51c(0x171),_0x2d9e73[_0x2d9e73[_0x50d51c(0x276)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2d9e73[_0x2d9e73[_0x50d51c(0x258)]=0x271c]=_0x50d51c(0x258),_0x2d9e73[_0x2d9e73[_0x50d51c(0x2f0)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2d9e73[_0x2d9e73['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x50d51c(0x3c4),_0x2d9e73[_0x2d9e73['YUUMI_AI_RUN_FAILED']=0x271f]=_0x50d51c(0x34c),_0x2d9e73[_0x2d9e73[_0x50d51c(0x19e)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2d9e73[_0x2d9e73[_0x50d51c(0x215)]=0x2ee1]=_0x50d51c(0x215),_0x2d9e73[_0x2d9e73[_0x50d51c(0x265)]=0x2ee2]=_0x50d51c(0x265),_0x2d9e73[_0x2d9e73[_0x50d51c(0x1ac)]=0x2ee3]=_0x50d51c(0x1ac),_0x2d9e73[_0x2d9e73[_0x50d51c(0x356)]=0x2ee4]=_0x50d51c(0x356),_0x2d9e73[_0x2d9e73[_0x50d51c(0x1a3)]=0x2ee5]=_0x50d51c(0x1a3),_0x2d9e73[_0x2d9e73[_0x50d51c(0x2d5)]=0x32c9]=_0x50d51c(0x2d5),_0x2d9e73[_0x2d9e73['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x50d51c(0x2cf),_0x2d9e73[_0x2d9e73['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x50d51c(0x1d1),_0x2d9e73[_0x2d9e73[_0x50d51c(0x217)]=-0x1]=_0x50d51c(0x217),_0x2d9e73))(_0x3ed9f3||{}),_0x363bea=Object[_0x50d51c(0x179)],_0x226e1d=(_0x57a84a,_0x303cf3,_0x35d480,_0x543be0)=>{const _0x5433e7=_0x50d51c;for(var _0x918c82=_0x543be0>0x1?void 0x0:_0x543be0?_0x363bea(_0x303cf3,_0x35d480):_0x303cf3,_0x42cf59=_0x57a84a[_0x5433e7(0x225)]-0x1,_0x5ea054;_0x42cf59>=0x0;_0x42cf59--)(_0x5ea054=_0x57a84a[_0x42cf59])&&(_0x918c82=_0x5ea054(_0x918c82)||_0x918c82);return _0x918c82;},_0x138a59=(_0x3e00b4,_0x53152b)=>(_0x5b868b,_0x1d4d6e)=>_0x53152b(_0x5b868b,_0x1d4d6e,_0x3e00b4);_0x37a429[_0x50d51c(0x1b7)]=class extends _0x4d5d93[_0x50d51c(0x205)]{constructor(_0x2f918f,_0x5ebc70,_0x17acd8){const _0x34ef45=_0x50d51c;super(),this['_instanceService']=_0x2f918f,this[_0x34ef45(0x2ea)]=_0x5ebc70,this[_0x34ef45(0x2b2)]=_0x17acd8;}async['runOnServer'](_0x3ff4fc,_0xa3762e,_0x115cc3,..._0x14aa92){const _0x1921d1=_0x50d51c;var _0x4685f7,_0x5df1c8,_0x2baed0,_0x4bbb62;const _0xcf190e=this['_instanceService'][_0x1921d1(0x1a6)]();if(!_0xcf190e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2b44c5=((_0x4685f7=this['_configService'][_0x1921d1(0x3ef)](_0x436a9d['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x4685f7:_0x436a9d[_0x1921d1(0x2d9)])+'/'+_0x3ff4fc+_0x1921d1(0x36a)+_0xa3762e,_0x545e27=new URL(window[_0x1921d1(0x17e)][_0x1921d1(0x181)]),_0x51dc09={'scriptId':_0x3ff4fc,'runId':(_0x5df1c8=_0x545e27[_0x1921d1(0x1f3)][_0x1921d1(0x2ba)](_0x1921d1(0x382)))!=null?_0x5df1c8:'','function':_0xa3762e,'unitId':_0xcf190e['getUnitId'](),'argsOfFunction':JSON[_0x1921d1(0x3a8)](_0x14aa92),'invokeId':(_0x2baed0=_0x115cc3[_0x1921d1(0x2f1)])!=null?_0x2baed0:'','executionId':(_0x4bbb62=_0x115cc3[_0x1921d1(0x1a0)])!=null?_0x4bbb62:''};try{const _0x2db523=await this['_httpService'][_0x1921d1(0x1ad)](_0x2b44c5,{'body':_0x51dc09});return _0x2db523[_0x1921d1(0x3fa)]['error']&&_0x2db523['body'][_0x1921d1(0x1f2)][_0x1921d1(0x3ce)]!==_0x3ed9f3['OK']?_0x1921d1(0x3e3):_0x2db523[_0x1921d1(0x3fa)][_0x1921d1(0x1ed)];}catch{return _0x1921d1(0x3e3);}}},_0x37a429[_0x50d51c(0x1b7)]=_0x226e1d([_0x138a59(0x0,_0x4d5d93[_0x50d51c(0x3f4)]),_0x138a59(0x1,_0x4d5d93[_0x50d51c(0x383)](_0x83de29[_0x50d51c(0x219)])),_0x138a59(0x2,_0x4d5d93['IConfigService'])],_0x37a429[_0x50d51c(0x1b7)]),_0x37a429['CollaborationStatusDisplay']=_0x104452,_0x37a429[_0x50d51c(0x27e)]=_0x373d67,_0x37a429['SheetCollabCursorShape']=_0x4aa7cb,_0x37a429[_0x50d51c(0x3bc)]=_0x46117c,_0x37a429[_0x50d51c(0x3dd)]=_0x1391c2,Object[_0x50d51c(0x2d2)](_0x37a429,Symbol[_0x50d51c(0x380)],{'value':_0x50d51c(0x23e)});}));
|