@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506151606 → 0.8.1-nightly.202506171607
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 _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)});}));
|
|
1
|
+
function _0x5819(_0x546190,_0x54d989){const _0x12c07c=_0x12c0();return _0x5819=function(_0x5819e5,_0x479bec){_0x5819e5=_0x5819e5-0x104;let _0x1e6e89=_0x12c07c[_0x5819e5];return _0x1e6e89;},_0x5819(_0x546190,_0x54d989);}(function(_0x23ab49,_0x259a56){const _0x3aa8eb=_0x5819,_0x4d4ff4=_0x23ab49();while(!![]){try{const _0x39367f=parseInt(_0x3aa8eb(0x2c7))/0x1+parseInt(_0x3aa8eb(0x1e9))/0x2+-parseInt(_0x3aa8eb(0x3a1))/0x3*(parseInt(_0x3aa8eb(0x226))/0x4)+-parseInt(_0x3aa8eb(0x379))/0x5*(-parseInt(_0x3aa8eb(0x1f4))/0x6)+-parseInt(_0x3aa8eb(0x35d))/0x7*(parseInt(_0x3aa8eb(0x377))/0x8)+parseInt(_0x3aa8eb(0x209))/0x9*(parseInt(_0x3aa8eb(0x2d5))/0xa)+parseInt(_0x3aa8eb(0x299))/0xb;if(_0x39367f===_0x259a56)break;else _0x4d4ff4['push'](_0x4d4ff4['shift']());}catch(_0x51792e){_0x4d4ff4['push'](_0x4d4ff4['shift']());}}}(_0x12c0,0x9a63b),function(_0x12968e,_0x52c451){const _0x1c932f=_0x5819;typeof exports==_0x1c932f(0x384)&&typeof module<'u'?_0x52c451(exports,require('@univerjs-pro/collaboration-client'),require(_0x1c932f(0x138)),require(_0x1c932f(0x2c6)),require(_0x1c932f(0x126)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x1c932f(0x23f)),require(_0x1c932f(0x1c6)),require(_0x1c932f(0x2b3)),require(_0x1c932f(0x1c4)),require(_0x1c932f(0x1ac)),require(_0x1c932f(0x366)),require('@univerjs/sheets-ui'),require(_0x1c932f(0x161)),require(_0x1c932f(0x129)),require('@univerjs/design'),require(_0x1c932f(0x249)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x1c932f(0x2f6)]?define([_0x1c932f(0x22a),_0x1c932f(0x135),'@univerjs/core',_0x1c932f(0x2c6),_0x1c932f(0x126),'@univerjs/docs-ui',_0x1c932f(0x17e),_0x1c932f(0x23f),_0x1c932f(0x1c6),_0x1c932f(0x2b3),_0x1c932f(0x1c4),_0x1c932f(0x1ac),_0x1c932f(0x366),_0x1c932f(0x370),_0x1c932f(0x161),'@univerjs/ui',_0x1c932f(0x1df),_0x1c932f(0x249),_0x1c932f(0x1ed)],_0x52c451):(_0x12968e=typeof globalThis<'u'?globalThis:_0x12968e||self,_0x52c451(_0x12968e[_0x1c932f(0x34b)]={},_0x12968e['UniverProCollaborationClient'],_0x12968e['UniverCore'],_0x12968e[_0x1c932f(0x17a)],_0x12968e[_0x1c932f(0x22c)],_0x12968e[_0x1c932f(0x395)],_0x12968e[_0x1c932f(0x3a9)],_0x12968e['rxjs'],_0x12968e[_0x1c932f(0x243)],_0x12968e[_0x1c932f(0x18b)],_0x12968e[_0x1c932f(0x1d7)],_0x12968e[_0x1c932f(0x259)],_0x12968e[_0x1c932f(0x23f)][_0x1c932f(0x20a)],_0x12968e[_0x1c932f(0x1f8)],_0x12968e[_0x1c932f(0x1f0)],_0x12968e['UniverUi'],_0x12968e['UniverDesign'],_0x12968e['React'],_0x12968e[_0x1c932f(0x252)]));}(this,function(_0x5a5a65,_0x55c138,_0x1061f8,_0x47852a,_0x2bf9f0,_0x37c85e,_0x1e94c8,_0x3a20ae,_0x4639f7,_0x50da05,_0x9d3ee1,_0x466e90,_0x39ab20,_0x36792e,_0x259c4f,_0x17254d,_0x44a7e1,_0x588d36,_0x34b757){'use strict';const _0x140f32=_0x5819;var _0x4dca1c=Object[_0x140f32(0x2eb)],_0x444cef=(_0x1be1eb,_0x55d6ae,_0x16f391)=>_0x55d6ae in _0x1be1eb?_0x4dca1c(_0x1be1eb,_0x55d6ae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x16f391}):_0x1be1eb[_0x55d6ae]=_0x16f391,_0x9b1d7c=(_0xc3ebce,_0x4b5885,_0x163b18)=>_0x444cef(_0xc3ebce,typeof _0x4b5885!=_0x140f32(0x3aa)?_0x4b5885+'':_0x4b5885,_0x163b18),_0x341090=Object[_0x140f32(0x10b)],_0x234342=(_0x2abdd1,_0x22e6a6,_0x2f2326,_0x2b2eea)=>{const _0x52d062=_0x140f32;for(var _0xe0826f=_0x2b2eea>0x1?void 0x0:_0x2b2eea?_0x341090(_0x22e6a6,_0x2f2326):_0x22e6a6,_0x2b2c4c=_0x2abdd1[_0x52d062(0x223)]-0x1,_0x29f6a0;_0x2b2c4c>=0x0;_0x2b2c4c--)(_0x29f6a0=_0x2abdd1[_0x2b2c4c])&&(_0xe0826f=_0x29f6a0(_0xe0826f)||_0xe0826f);return _0xe0826f;},_0x1fb744=(_0x5a2432,_0x32077a)=>(_0x4d7b46,_0x3a0e13)=>_0x32077a(_0x4d7b46,_0x3a0e13,_0x5a2432);let _0x131abd=class extends _0x1061f8[_0x140f32(0x2f8)]{constructor(_0x8f0166,_0x46a023){const _0x5ea4bd=_0x140f32;super(),this['_docClipboardService']=_0x8f0166,this[_0x5ea4bd(0x10e)]=_0x46a023,this[_0x5ea4bd(0x2c9)]();}[_0x140f32(0x2c9)](){const _0x319dfd=_0x140f32,_0x1cd682=this;this[_0x319dfd(0x26b)](this[_0x319dfd(0x380)]['addClipboardHook']({'onBeforePasteImage':async _0x3cb0ad=>{const _0x434a29=_0x319dfd,_0x35f1dc=await _0x1cd682[_0x434a29(0x10e)][_0x434a29(0x312)](_0x3cb0ad);return _0x35f1dc?{'source':_0x35f1dc[_0x434a29(0x196)],'imageSourceType':_0x35f1dc['imageSourceType']}:null;}}));}};_0x131abd=_0x234342([_0x1fb744(0x0,_0x37c85e['IDocClipboardService']),_0x1fb744(0x1,_0x1e94c8[_0x140f32(0x25c)])],_0x131abd);const _0x5bbb1c=[_0x140f32(0x37d),'jiqing.500',_0x140f32(0x255),_0x140f32(0x157),_0x140f32(0x1dd),_0x140f32(0x191)];class _0x23270c extends _0x1061f8[_0x140f32(0x2e7)]{constructor(){super(...arguments),_0x9b1d7c(this,'_assignedColors',new Map()),_0x9b1d7c(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x19a489){const _0x49f60f=_0x140f32;if(this[_0x49f60f(0x1b5)][_0x49f60f(0x171)](_0x19a489))return this[_0x49f60f(0x1b5)][_0x49f60f(0x382)](_0x19a489);const _0x5ab5b0=_0x5bbb1c[this['_colorIndex']];return this[_0x49f60f(0x250)]=(this[_0x49f60f(0x250)]+0x1)%_0x5bbb1c[_0x49f60f(0x223)],this[_0x49f60f(0x1b5)][_0x49f60f(0x266)](_0x19a489,_0x5ab5b0),_0x5ab5b0;}}function _0x5af8d3(_0x33d1c0){let _0x4ab804='';for(const _0x19bbb6 of _0x33d1c0){const {startOffset:_0x2e82a1,endOffset:_0x8aa471,isActive:_0x12cae1,rangeType:_0x5e3c45,segmentId:_0x27ed98,segmentPage:_0x453e16}=_0x19bbb6;_0x4ab804['length']&&(_0x4ab804+=','),_0x4ab804+=_0x2e82a1+':'+_0x8aa471+':'+(_0x12cae1?'1':'0')+':'+_0x5e3c45+':'+_0x27ed98+':'+_0x453e16;}return _0x4ab804;}function _0x30cdc0(_0x1dbeab){const _0x4fdd67=_0x140f32,_0x56ef56=_0x1dbeab['split'](','),_0x12640a=[];for(const _0xbda100 of _0x56ef56){const [_0x36bac4,_0x582784,_0x3cb389,_0x2e8193,_0x4250e9,_0x1258f5]=_0xbda100[_0x4fdd67(0x131)](':');_0x12640a[_0x4fdd67(0x27b)]({'startOffset':Number(_0x36bac4),'endOffset':Number(_0x582784),'collapsed':_0x36bac4===_0x582784,'isActive':_0x3cb389==='1','rangeType':_0x2e8193===_0x1061f8[_0x4fdd67(0x2a6)]['TEXT']?_0x1061f8['DOC_RANGE_TYPE']['TEXT']:_0x1061f8[_0x4fdd67(0x2a6)][_0x4fdd67(0x37f)],'segmentId':typeof _0x4250e9==_0x4fdd67(0x258)?String(_0x4250e9):'','segmentPage':Number(_0x1258f5!=null?_0x1258f5:-0x1)});}return _0x12640a[_0x4fdd67(0x309)](_0x4007ab=>_0x4007ab[_0x4fdd67(0x31d)])||(_0x12640a[0x0]['isActive']=!0x0),_0x12640a;}class _0x1162b2 extends _0x1061f8[_0x140f32(0x2f8)]{constructor(){const _0x4bd0a0=_0x140f32;super(...arguments),_0x9b1d7c(this,_0x4bd0a0(0x1a9),new _0x3a20ae[(_0x4bd0a0(0x36b))](null)),_0x9b1d7c(this,'collabCursorState$',this[_0x4bd0a0(0x1a9)][_0x4bd0a0(0x145)]());}[_0x140f32(0x1ef)](_0x49a2d8){const _0x52a07c=_0x140f32,{unitID:_0x4c2dbb,memberID:_0x1e0d23,textRanges:_0x3a7639}=_0x49a2d8,_0x31473f=_0x5af8d3(_0x3a7639);if(_0x31473f==='')return;const _0x404df4={'unitID':_0x4c2dbb,'memberID':_0x1e0d23,'selection':_0x31473f};this[_0x52a07c(0x1a9)]['next'](_0x404df4);}}var _0x20d788=Object['getOwnPropertyDescriptor'],_0x4724e5=(_0x3e4764,_0x446d31,_0x7a03dc,_0x208d54)=>{const _0x413439=_0x140f32;for(var _0xf36cae=_0x208d54>0x1?void 0x0:_0x208d54?_0x20d788(_0x446d31,_0x7a03dc):_0x446d31,_0x4a4521=_0x3e4764[_0x413439(0x223)]-0x1,_0xfcb0be;_0x4a4521>=0x0;_0x4a4521--)(_0xfcb0be=_0x3e4764[_0x4a4521])&&(_0xf36cae=_0xfcb0be(_0xf36cae)||_0xf36cae);return _0xf36cae;},_0x23af4b=(_0x329a29,_0x26ed8e)=>(_0xe95d3,_0x382cea)=>_0x26ed8e(_0xe95d3,_0x382cea,_0x329a29);const _0x176407=0x12c,_0x4c6cce=0x64;let _0x331d87=class extends _0x1061f8[_0x140f32(0x2f8)]{constructor(_0x43cd3f,_0x280167,_0x326149,_0x30b034,_0x562416,_0x3b006a,_0x4cd6d8,_0x5e8e4b,_0x18eed3){const _0x2d1d02=_0x140f32;super(),_0x9b1d7c(this,_0x2d1d02(0x34f),!0x1),_0x9b1d7c(this,'_init',!0x1),_0x9b1d7c(this,_0x2d1d02(0x2a3),new _0x3a20ae[(_0x2d1d02(0x36b))](new Map())),_0x9b1d7c(this,_0x2d1d02(0x180),this['_cursorInfo$'][_0x2d1d02(0x145)]()),_0x9b1d7c(this,_0x2d1d02(0x1af),new _0x3a20ae[(_0x2d1d02(0x36b))]([])),_0x9b1d7c(this,_0x2d1d02(0x32e),this[_0x2d1d02(0x1af)][_0x2d1d02(0x13a)](_0x3a20ae[_0x2d1d02(0x10a)](_0x176407))),_0x9b1d7c(this,'_updateLocalCursor',_0x1061f8[_0x2d1d02(0x34c)](_0x1c21e2=>{const _0x42587b=_0x2d1d02,_0x501b24={'eventID':_0x50da05['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x42587b(0x2b2)][_0x42587b(0x2c1)](),'selection':_0x5af8d3(_0x1c21e2)}};this[_0x42587b(0x2b2)][_0x42587b(0x294)](_0x501b24,this[_0x42587b(0x340)]);},_0x4c6cce)),(this[_0x2d1d02(0x340)]=_0x43cd3f,this[_0x2d1d02(0x2b2)]=_0x280167,this[_0x2d1d02(0x2b5)]=_0x326149,this[_0x2d1d02(0x1a8)]=_0x30b034,this['_memberService']=_0x562416,this['_syncEditingCollabCursorService']=_0x3b006a,this[_0x2d1d02(0x24a)]=_0x4cd6d8,this[_0x2d1d02(0x186)]=_0x5e8e4b,this[_0x2d1d02(0x2bc)]=_0x18eed3);}get[_0x140f32(0x263)](){const _0xd58f6d=_0x140f32;return this[_0xd58f6d(0x2a3)][_0xd58f6d(0x251)]();}get[_0x140f32(0x2ec)](){const _0x1ece44=_0x140f32;return this[_0x1ece44(0x1af)]['getValue']();}['dispose'](){const _0x3e1a48=_0x140f32;super['dispose'](),this[_0x3e1a48(0x2a3)][_0x3e1a48(0x2b7)](new Map()),this[_0x3e1a48(0x2a3)][_0x3e1a48(0x2dd)](),this[_0x3e1a48(0x1af)][_0x3e1a48(0x2b7)]([]),this['_roomMembers$']['complete']();}[_0x140f32(0x1e2)](){const _0x45cf3f=_0x140f32;this[_0x45cf3f(0x2c9)]||(this[_0x45cf3f(0x2c9)]=!0x0,this[_0x45cf3f(0x2b2)][_0x45cf3f(0x39a)][_0x45cf3f(0x13a)](_0x3a20ae[_0x45cf3f(0x36a)](this['dispose$']))[_0x45cf3f(0x225)](_0x2dba70=>{const _0x5558fc=_0x45cf3f;_0x2dba70===_0x55c138['SessionStatus'][_0x5558fc(0x20b)]?this[_0x5558fc(0x1bd)]():this[_0x5558fc(0x368)]();}),this['_session'][_0x45cf3f(0x1a6)]['pipe'](_0x3a20ae[_0x45cf3f(0x36a)](this[_0x45cf3f(0x1fe)]))[_0x45cf3f(0x225)](_0x27ad04=>{const _0x323001=_0x45cf3f,_0x16a055=_0x27ad04['eventID'];_0x16a055===_0x50da05[_0x323001(0x335)]['UPDATE_CURSOR']&&this[_0x323001(0x2ea)](_0x27ad04),_0x16a055===_0x50da05[_0x323001(0x335)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x27ad04);}),this[_0x45cf3f(0x26b)](this[_0x45cf3f(0x2bc)][_0x45cf3f(0x2b9)](_0x14ef1d=>{const _0x5a6e98=_0x45cf3f,_0x131f86=_0x14ef1d[_0x5a6e98(0x343)];_0x131f86!=null&&this['_online']&&_0x14ef1d['id']===_0x4639f7[_0x5a6e98(0x321)]['id']&&_0x131f86['unitId']===this[_0x5a6e98(0x340)]&&_0x131f86['isEditing']===!0x1&&_0x131f86[_0x5a6e98(0x36c)]['length']>0x0&&this['_updateLocalCursor'](_0x131f86['ranges']);})),this[_0x45cf3f(0x375)][_0x45cf3f(0x26e)][_0x45cf3f(0x13a)](_0x3a20ae[_0x45cf3f(0x36a)](this[_0x45cf3f(0x1fe)]))[_0x45cf3f(0x225)](_0x1ae0b3=>{const _0x572ab9=_0x45cf3f;if((_0x1ae0b3==null?void 0x0:_0x1ae0b3[_0x572ab9(0x340)])!==this[_0x572ab9(0x340)])return;const _0x4b7526={'eventID':_0x50da05[_0x572ab9(0x335)][_0x572ab9(0x2de)],'data':_0x1ae0b3};this[_0x572ab9(0x2ea)](_0x4b7526);}),this[_0x45cf3f(0x26b)](this[_0x45cf3f(0x2bc)][_0x45cf3f(0x2b9)](_0x539ade=>{const _0x2342bb=_0x45cf3f;if(_0x539ade[_0x2342bb(0x343)]==null)return;const _0x501804=_0x539ade[_0x2342bb(0x343)];if(_0x539ade['id']!==_0x4639f7['RichTextEditingMutation']['id']||_0x501804['unitId']!==this[_0x2342bb(0x340)])return;const _0x27aa72={'id':'doc.mutation.rich-text-editing','params':_0x501804},_0x204497=this[_0x2342bb(0x263)];for(const [_0x3dfc7d,_0x400700]of _0x204497){const _0x5c490d={'id':_0x2342bb(0x275),'params':{'unitId':this[_0x2342bb(0x340)],'actions':null,'textRanges':_0x400700[_0x2342bb(0x36c)]}},_0xabc8f5=this[_0x2342bb(0x24a)][_0x2342bb(0x108)](_0x27aa72,_0x5c490d,!0x1);if(_0x50da05['isTransformMutationFailure'](_0xabc8f5))throw _0xabc8f5[_0x2342bb(0x320)];_0x204497['set'](_0x3dfc7d,{..._0x400700,'ranges':_0xabc8f5['m2Prime']['params'][_0x2342bb(0x1e3)]});}queueMicrotask(()=>{const _0x120b02=_0x2342bb;this[_0x120b02(0x2a3)][_0x120b02(0x2b7)](_0x204497);});})));}[_0x140f32(0x2ea)](_0x5758c9){const _0x51b452=_0x140f32;var _0x3bde28,_0x4579c8;const {memberID:_0x204b63,selection:_0x509706}=_0x5758c9[_0x51b452(0x33d)],_0x3b9c6e=_0x30cdc0(_0x509706),_0x43235a=(_0x4579c8=(_0x3bde28=this[_0x51b452(0x323)][_0x51b452(0x23e)](this[_0x51b452(0x340)],_0x204b63))==null?void 0x0:_0x3bde28[_0x51b452(0x12f)])!=null?_0x4579c8:_0x51b452(0x383),_0x2162dc={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x204b63),'name':_0x43235a,'ranges':_0x3b9c6e},_0x31e977=this[_0x51b452(0x263)];_0x31e977['set'](_0x204b63,_0x2162dc),this[_0x51b452(0x2a3)][_0x51b452(0x2b7)](_0x31e977);}[_0x140f32(0x265)](_0x3001d5){const _0x19d7a2=_0x140f32,{memberID:_0x1cc911}=_0x3001d5['data'],_0x152ee0=this['cursorInfo'];_0x152ee0[_0x19d7a2(0x18a)](_0x1cc911),this[_0x19d7a2(0x2a3)][_0x19d7a2(0x2b7)](_0x152ee0);}[_0x140f32(0x1bd)](){const _0x2213bc=_0x140f32;var _0x2d76d9;if(this['_online']=!0x0,((_0x2d76d9=this[_0x2213bc(0x186)]['getFocusedUnit']())==null?void 0x0:_0x2d76d9[_0x2213bc(0x133)]())!==this[_0x2213bc(0x340)])return;const _0x1200c3=this[_0x2213bc(0x2b5)][_0x2213bc(0x382)](_0x4639f7[_0x2213bc(0x114)])[_0x2213bc(0x16f)]();Array[_0x2213bc(0x205)](_0x1200c3)&&_0x1200c3[_0x2213bc(0x223)]>0x0&&this['_updateLocalCursor'](_0x1200c3);}['_toggleOffline'](){const _0x3a6f08=_0x140f32;this[_0x3a6f08(0x34f)]=!0x1;}};_0x331d87=_0x4724e5([_0x23af4b(0x2,_0x1061f8[_0x140f32(0x364)](_0x1061f8['Injector'])),_0x23af4b(0x3,_0x1061f8['Inject'](_0x23270c)),_0x23af4b(0x4,_0x1061f8[_0x140f32(0x364)](_0x55c138['MemberService'])),_0x23af4b(0x5,_0x1061f8[_0x140f32(0x364)](_0x1162b2)),_0x23af4b(0x6,_0x50da05['ITransformService']),_0x23af4b(0x7,_0x1061f8[_0x140f32(0x231)]),_0x23af4b(0x8,_0x1061f8['ICommandService'])],_0x331d87);var _0x1d9844=Object[_0x140f32(0x10b)],_0x3ff352=(_0x5a7e85,_0x2f57fc,_0x330491,_0x108680)=>{const _0x3c7c20=_0x140f32;for(var _0x3ea460=_0x108680>0x1?void 0x0:_0x108680?_0x1d9844(_0x2f57fc,_0x330491):_0x2f57fc,_0x4b26a3=_0x5a7e85[_0x3c7c20(0x223)]-0x1,_0x1c8c3d;_0x4b26a3>=0x0;_0x4b26a3--)(_0x1c8c3d=_0x5a7e85[_0x4b26a3])&&(_0x3ea460=_0x1c8c3d(_0x3ea460)||_0x3ea460);return _0x3ea460;},_0x450fbb=(_0x2687c6,_0x22411f)=>(_0x30bc88,_0x20becb)=>_0x22411f(_0x30bc88,_0x20becb,_0x2687c6);const _0x577d91=0x12c,_0x2c6908=0x64,_0x42440f=()=>{let _0x3e32bb=[],_0x467e3b=!0x1;return _0xbac9af=>{_0x3e32bb['push'](_0xbac9af),_0x467e3b||(_0x467e3b=!0x0,setTimeout(()=>{const _0x18e127=_0x5819;_0x3e32bb[_0x18e127(0x282)](_0x22a1e6=>_0x22a1e6()),_0x3e32bb=[],_0x467e3b=!0x1;}));};};let _0x5b1e53=class extends _0x1061f8['RxDisposable']{constructor(_0x3704ce,_0x50834b,_0x284e96,_0x752d3e,_0x1fef45,_0x55d94f,_0x46da39,_0xccbe04){const _0x4f54c2=_0x140f32;super(),_0x9b1d7c(this,'_online',!0x1),_0x9b1d7c(this,_0x4f54c2(0x2c9),!0x1),_0x9b1d7c(this,_0x4f54c2(0x2a3),new _0x3a20ae[(_0x4f54c2(0x36b))](new Map())),_0x9b1d7c(this,_0x4f54c2(0x180),this[_0x4f54c2(0x2a3)][_0x4f54c2(0x145)]()),_0x9b1d7c(this,'_roomMembers$',new _0x3a20ae[(_0x4f54c2(0x36b))]([])),_0x9b1d7c(this,_0x4f54c2(0x32e),this[_0x4f54c2(0x1af)][_0x4f54c2(0x13a)](_0x3a20ae[_0x4f54c2(0x10a)](_0x577d91))),_0x9b1d7c(this,_0x4f54c2(0x1b1),_0x1061f8[_0x4f54c2(0x34c)]((_0x45daa9,_0x2a9782)=>{const _0x5377f9=_0x4f54c2,_0x2e9da7={'eventID':_0x50da05[_0x5377f9(0x335)][_0x5377f9(0x2de)],'data':{'unitID':this['unitID'],'memberID':this[_0x5377f9(0x2b2)][_0x5377f9(0x2c1)](),'selection':_0x9d3ee1[_0x5377f9(0x1d2)](_0x45daa9,_0x2a9782[_0x5377f9(0x16b)])}};this[_0x5377f9(0x2b2)][_0x5377f9(0x294)](_0x2e9da7,this[_0x5377f9(0x340)]);},_0x2c6908)),(this[_0x4f54c2(0x340)]=_0x3704ce,this[_0x4f54c2(0x2b2)]=_0x50834b,this[_0x4f54c2(0x2b5)]=_0x284e96,this[_0x4f54c2(0x1a8)]=_0x752d3e,this['_memberService']=_0x1fef45,this[_0x4f54c2(0x186)]=_0x55d94f,this[_0x4f54c2(0x2bc)]=_0x46da39,this[_0x4f54c2(0x270)]=_0xccbe04);}get[_0x140f32(0x263)](){const _0x2a8dd4=_0x140f32;return this['_cursorInfo$'][_0x2a8dd4(0x251)]();}get[_0x140f32(0x2ec)](){const _0x27f3d8=_0x140f32;return this[_0x27f3d8(0x1af)][_0x27f3d8(0x251)]();}['dispose'](){const _0x25ba04=_0x140f32;super[_0x25ba04(0x16d)](),this[_0x25ba04(0x2a3)]['next'](new Map()),this[_0x25ba04(0x2a3)][_0x25ba04(0x2dd)](),this[_0x25ba04(0x1af)][_0x25ba04(0x2b7)]([]),this['_roomMembers$'][_0x25ba04(0x2dd)]();}['init'](){const _0x4e5b95=_0x140f32;this[_0x4e5b95(0x2c9)]||(this[_0x4e5b95(0x2c9)]=!0x0,this[_0x4e5b95(0x2b2)]['sessionStatus$'][_0x4e5b95(0x13a)](_0x3a20ae[_0x4e5b95(0x36a)](this[_0x4e5b95(0x1fe)]))[_0x4e5b95(0x225)](_0x3f7e14=>{const _0x6cd2a6=_0x4e5b95;_0x3f7e14===_0x55c138[_0x6cd2a6(0x2c5)][_0x6cd2a6(0x20b)]?this[_0x6cd2a6(0x1bd)]():this['_toggleOffline']();}),this[_0x4e5b95(0x2b2)]['event$'][_0x4e5b95(0x13a)](_0x3a20ae['takeUntil'](this[_0x4e5b95(0x1fe)]))[_0x4e5b95(0x225)](_0x50b3cd=>{const _0x5cbb99=_0x4e5b95,_0xfbb0f6=_0x50b3cd[_0x5cbb99(0x325)];_0xfbb0f6===_0x50da05[_0x5cbb99(0x335)][_0x5cbb99(0x2de)]&&this[_0x5cbb99(0x2ea)](_0x50b3cd),_0xfbb0f6===_0x50da05['CollaborationEvent']['USERS_LEAVE']&&this[_0x5cbb99(0x265)](_0x50b3cd);}),this[_0x4e5b95(0x147)](),this[_0x4e5b95(0x26b)](this[_0x4e5b95(0x2bc)][_0x4e5b95(0x2b9)](_0x43eeff=>{const _0x180eae=_0x4e5b95;if(this[_0x180eae(0x34f)]&&_0x43eeff['id']===_0x466e90[_0x180eae(0x2b6)]['id']&&_0x43eeff[_0x180eae(0x343)][_0x180eae(0x16a)]===this[_0x180eae(0x340)]){const _0x1ecdf2=_0x43eeff[_0x180eae(0x343)];this[_0x180eae(0x1b1)](_0x1ecdf2['subUnitId'],_0x1ecdf2[_0x180eae(0x39f)][0x0]);}})));}[_0x140f32(0x2ea)](_0x161616){const _0x363219=_0x140f32;var _0x4ad329,_0xcc521d;const {memberID:_0x1bafd4,selection:_0x41b745}=_0x161616[_0x363219(0x33d)],{sheetName:_0x436436,range:_0x2c74f1}=_0x9d3ee1[_0x363219(0x1e1)](_0x41b745),_0x209d06={'name':(_0xcc521d=(_0x4ad329=this['_memberService'][_0x363219(0x23e)](this[_0x363219(0x340)],_0x1bafd4))==null?void 0x0:_0x4ad329['name'])!=null?_0xcc521d:_0x363219(0x383),'range':this[_0x363219(0x349)](_0x436436,_0x2c74f1),'sheetID':_0x436436,'color':this[_0x363219(0x1a8)][_0x363219(0x199)](_0x1bafd4),'selection':_0x41b745},_0x373003=this['cursorInfo'];_0x373003[_0x363219(0x266)](_0x1bafd4,_0x209d06),this[_0x363219(0x2a3)][_0x363219(0x2b7)](_0x373003);}[_0x140f32(0x265)](_0x4a169a){const _0x2c879f=_0x140f32,{memberID:_0x20c8c1}=_0x4a169a[_0x2c879f(0x33d)],_0x17b945=this[_0x2c879f(0x263)];_0x17b945[_0x2c879f(0x18a)](_0x20c8c1),this[_0x2c879f(0x2a3)]['next'](_0x17b945);}[_0x140f32(0x349)](_0x3bb6cb,_0x5300c1){const _0x26214d=_0x140f32;var _0x52f728,_0x22d3fc;const _0x2e3e64=(_0x22d3fc=(_0x52f728=this[_0x26214d(0x186)]['getUniverSheetInstance'](this[_0x26214d(0x340)]))==null?void 0x0:_0x52f728[_0x26214d(0x241)](_0x3bb6cb))==null?void 0x0:_0x22d3fc['getMergeData']();return(_0x2e3e64==null?void 0x0:_0x2e3e64[_0x26214d(0x39b)](_0x5ae1f8=>_0x1061f8['Rectangle'][_0x26214d(0x2a2)](_0x5ae1f8,_0x5300c1)))||_0x5300c1;}[_0x140f32(0x147)](){const _0x30eec8=_0x140f32,_0x328192=new _0x1061f8[(_0x30eec8(0x2f7))](),_0x1bea63=_0x42440f(),_0x33465d=()=>{_0x328192['dispose']();const _0x5e7393=(_0x2404b6,_0x1f7253,_0x117322,_0x1cf0a9)=>{const _0x54a5b6=_0x5819;let _0x734e1f=[];switch(_0x2404b6['id']){case _0x466e90[_0x54a5b6(0x234)][_0x54a5b6(0x3a4)]:{_0x734e1f=_0x466e90['handleDeleteRangeMoveLeft'](_0x2404b6,_0x1cf0a9);break;}case _0x466e90[_0x54a5b6(0x234)]['DeleteRangeMoveUpCommandId']:{_0x734e1f=_0x466e90[_0x54a5b6(0x378)](_0x2404b6,_0x1cf0a9);break;}case _0x466e90[_0x54a5b6(0x234)]['InsertColCommandId']:{_0x734e1f=_0x466e90['handleInsertCol'](_0x2404b6,_0x1cf0a9);break;}case _0x466e90['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x734e1f=_0x466e90['handleInsertRangeMoveDown'](_0x2404b6,_0x1cf0a9);break;}case _0x466e90[_0x54a5b6(0x234)]['InsertRangeMoveRightCommandId']:{_0x734e1f=_0x466e90[_0x54a5b6(0x351)](_0x2404b6,_0x1cf0a9);break;}case _0x466e90['EffectRefRangId'][_0x54a5b6(0x371)]:{_0x734e1f=_0x466e90[_0x54a5b6(0x28b)](_0x2404b6,_0x1cf0a9);break;}case _0x466e90['EffectRefRangId'][_0x54a5b6(0x34d)]:{_0x734e1f=_0x466e90[_0x54a5b6(0x2e8)](_0x2404b6,_0x1cf0a9);break;}case _0x466e90[_0x54a5b6(0x234)][_0x54a5b6(0x1e4)]:{_0x734e1f=_0x466e90[_0x54a5b6(0x105)](_0x2404b6,_0x1cf0a9);break;}case _0x466e90[_0x54a5b6(0x234)][_0x54a5b6(0x32b)]:{_0x734e1f=_0x466e90[_0x54a5b6(0x1e5)](_0x2404b6,_0x1cf0a9);break;}}const _0x805d29=_0x466e90[_0x54a5b6(0x2ce)](_0x734e1f,_0x1cf0a9),_0x2fc4e2=this['cursorInfo'][_0x54a5b6(0x382)](_0x1f7253);if(_0x2fc4e2&&_0x805d29){const _0x14ab84={..._0x2fc4e2,'range':_0x805d29};this[_0x54a5b6(0x263)]['set'](_0x1f7253,_0x14ab84),_0x1bea63(()=>{const _0x2836f8=_0x54a5b6,_0x5ef124=this['_refRangeService']['registerRefRange'](_0x805d29,_0x283635=>(_0x5ef124[_0x2836f8(0x16d)](),_0x5e7393(_0x283635,_0x1f7253,_0x117322,_0x805d29)));_0x328192[_0x2836f8(0x33c)](_0x5ef124);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x269225,_0x1e406b)=>{const _0x5fa15b=_0x5819,{range:_0x4b80b6,sheetID:_0x25f40e}=_0x269225,_0x586f58=this[_0x5fa15b(0x270)][_0x5fa15b(0x37a)](_0x4b80b6,_0x8dcf56=>(_0x586f58['dispose'](),_0x5e7393(_0x8dcf56,_0x1e406b,_0x25f40e,_0x4b80b6)));_0x328192[_0x5fa15b(0x33c)](_0x586f58);});};this[_0x30eec8(0x26b)](_0x1061f8[_0x30eec8(0x292)](this[_0x30eec8(0x2a3)]['subscribe'](()=>{_0x33465d();})));}[_0x140f32(0x1bd)](){const _0x459313=_0x140f32;var _0x1edf93,_0x2137e3;if(this[_0x459313(0x34f)]=!0x0,((_0x1edf93=this[_0x459313(0x186)]['getFocusedUnit']())==null?void 0x0:_0x1edf93[_0x459313(0x133)]())!==this[_0x459313(0x340)])return;const _0xb96082=(_0x2137e3=this[_0x459313(0x2b5)][_0x459313(0x382)](_0x466e90[_0x459313(0x291)])[_0x459313(0x267)]())==null?void 0x0:_0x2137e3[0x0],_0x53f9d5=this[_0x459313(0x186)]['getCurrentUnitForType'](_0x1061f8[_0x459313(0x2f4)]['UNIVER_SHEET'])[_0x459313(0x124)]();_0xb96082&&_0x53f9d5&&this[_0x459313(0x1b1)](_0x53f9d5[_0x459313(0x21a)](),_0xb96082);}[_0x140f32(0x368)](){const _0x6214c=_0x140f32;this[_0x6214c(0x34f)]=!0x1;}};_0x5b1e53=_0x3ff352([_0x450fbb(0x2,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x178)])),_0x450fbb(0x3,_0x1061f8[_0x140f32(0x364)](_0x23270c)),_0x450fbb(0x4,_0x1061f8['Inject'](_0x55c138[_0x140f32(0x176)])),_0x450fbb(0x5,_0x1061f8['IUniverInstanceService']),_0x450fbb(0x6,_0x1061f8[_0x140f32(0x139)]),_0x450fbb(0x7,_0x1061f8['Inject'](_0x466e90[_0x140f32(0x1f6)]))],_0x5b1e53);var _0x53b04a=Object[_0x140f32(0x10b)],_0x43d992=(_0x18ae18,_0x135b60,_0x2dd8d0,_0x2e531a)=>{const _0x4d05f9=_0x140f32;for(var _0xbebeed=_0x2e531a>0x1?void 0x0:_0x2e531a?_0x53b04a(_0x135b60,_0x2dd8d0):_0x135b60,_0x494837=_0x18ae18[_0x4d05f9(0x223)]-0x1,_0x4bab50;_0x494837>=0x0;_0x494837--)(_0x4bab50=_0x18ae18[_0x494837])&&(_0xbebeed=_0x4bab50(_0xbebeed)||_0xbebeed);return _0xbebeed;},_0x8281f=(_0x580b62,_0x4700fd)=>(_0x42132d,_0x5e64dc)=>_0x4700fd(_0x42132d,_0x5e64dc,_0x580b62);let _0xe5aa4e=class extends _0x1061f8[_0x140f32(0x2f8)]{constructor(_0x5a7dea,_0x1fd77b,_0x3f3c55){const _0x291592=_0x140f32;super(),_0x9b1d7c(this,'_entities',new Map()),_0x9b1d7c(this,_0x291592(0x31e),new _0x3a20ae['Subject']()),(this[_0x291592(0x186)]=_0x5a7dea,this[_0x291592(0x2b5)]=_0x1fd77b,this['_collabSessionService']=_0x3f3c55,this['_init']());}[_0x140f32(0x16d)](){const _0x388dcd=_0x140f32;super['dispose'](),this[_0x388dcd(0x31e)]['complete'](),this['_entities'][_0x388dcd(0x282)](_0xb65e8=>_0xb65e8[_0x388dcd(0x16d)]());}['getCollabCursors$'](_0x483996){const _0x67876b=_0x140f32;return this[_0x67876b(0x2a8)]['has'](_0x483996)?this[_0x67876b(0x2a8)]['get'](_0x483996)[_0x67876b(0x180)]:this[_0x67876b(0x31e)]['pipe'](_0x3a20ae[_0x67876b(0x253)](_0x22ea45=>_0x22ea45[_0x67876b(0x340)]===_0x483996),_0x3a20ae['switchMap'](_0x160feb=>_0x160feb[_0x67876b(0x180)]));}[_0x140f32(0x2c9)](){const _0x29d475=_0x140f32;this[_0x29d475(0x186)]['getTypeOfUnitAdded$'](_0x1061f8[_0x29d475(0x2f4)][_0x29d475(0x109)])['pipe'](_0x3a20ae[_0x29d475(0x36a)](this[_0x29d475(0x1fe)]))[_0x29d475(0x225)](async _0xe81a9d=>{const _0x113531=_0x29d475,_0x29dd18=_0xe81a9d['getUnitId'](),_0x106995=await this['_startSheetCollabCursor'](_0x29dd18);this[_0x113531(0x31e)]['next'](_0x106995),this[_0x113531(0x2a8)][_0x113531(0x266)](_0x29dd18,_0x106995);}),this[_0x29d475(0x186)]['getTypeOfUnitAdded$'](_0x1061f8[_0x29d475(0x2f4)]['UNIVER_DOC'])[_0x29d475(0x13a)](_0x3a20ae['takeUntil'](this[_0x29d475(0x1fe)]))[_0x29d475(0x13a)](_0x3a20ae['filter'](_0x4e5d53=>!_0x4e5d53[_0x29d475(0x133)]()[_0x29d475(0x1ea)]('__')))[_0x29d475(0x225)](async _0x485177=>{const _0x1d7f23=_0x29d475,_0x2d2cc3=_0x485177[_0x1d7f23(0x133)](),_0x5032ac=await this['_startDocCollabCursor'](_0x2d2cc3);this[_0x1d7f23(0x31e)][_0x1d7f23(0x2b7)](_0x5032ac),this[_0x1d7f23(0x2a8)][_0x1d7f23(0x266)](_0x2d2cc3,_0x5032ac);}),_0x3a20ae[_0x29d475(0x28f)](this[_0x29d475(0x186)][_0x29d475(0x15c)](_0x1061f8[_0x29d475(0x2f4)][_0x29d475(0x2f3)]),this['_univerInstanceService'][_0x29d475(0x15c)](_0x1061f8[_0x29d475(0x2f4)][_0x29d475(0x109)]))['pipe'](_0x3a20ae[_0x29d475(0x36a)](this[_0x29d475(0x1fe)]))[_0x29d475(0x225)](_0x5e555e=>{const _0x4bb2af=_0x29d475,_0x1876e0=_0x5e555e[_0x4bb2af(0x133)](),_0xd4f83f=this[_0x4bb2af(0x2a8)][_0x4bb2af(0x382)](_0x1876e0);_0xd4f83f&&(_0xd4f83f[_0x4bb2af(0x16d)](),this[_0x4bb2af(0x2a8)][_0x4bb2af(0x18a)](_0x1876e0));});}async[_0x140f32(0x188)](_0x5a716c){const _0x12c56d=_0x140f32,_0x5adace=await this[_0x12c56d(0x110)][_0x12c56d(0x2bb)](_0x5a716c),_0x291272=this[_0x12c56d(0x2b5)]['createInstance'](_0x5b1e53,_0x5a716c,_0x5adace);return _0x291272[_0x12c56d(0x1e2)](),_0x291272;}async[_0x140f32(0x1ae)](_0x34571c){const _0x6c5a27=_0x140f32,_0x44b871=await this[_0x6c5a27(0x110)][_0x6c5a27(0x2bb)](_0x34571c),_0x1f4447=this[_0x6c5a27(0x2b5)][_0x6c5a27(0x307)](_0x331d87,_0x34571c,_0x44b871);return _0x1f4447['init'](),_0x1f4447;}};_0xe5aa4e=_0x43d992([_0x8281f(0x0,_0x1061f8[_0x140f32(0x231)]),_0x8281f(0x1,_0x1061f8['Inject'](_0x1061f8[_0x140f32(0x178)])),_0x8281f(0x2,_0x1061f8[_0x140f32(0x364)](_0x55c138[_0x140f32(0x19e)]))],_0xe5aa4e);const _0x1f2a01=0x14,_0x4d802a=0xc8,_0x27f406=0x4,_0x302da7=0x5;function _0x3758d2(_0x44ba7a,_0x3488f4){const _0x273621=_0x140f32;let {radius:_0x8f43b,width:_0x1a14c3,height:_0x3b0d67}=_0x3488f4;_0x8f43b=_0x8f43b!=null?_0x8f43b:0x0,_0x1a14c3=_0x1a14c3!=null?_0x1a14c3:0x1e,_0x3b0d67=_0x3b0d67!=null?_0x3b0d67:0x1e;let _0x5c9b3a=0x0,_0x3352bb=0x0,_0x25150a=0x0;_0x5c9b3a=_0x3352bb=_0x25150a=Math[_0x273621(0x301)](_0x8f43b,_0x1a14c3/0x2,_0x3b0d67/0x2),_0x44ba7a['beginPath'](),_0x44ba7a[_0x273621(0x224)](_0x5c9b3a,0x0),_0x44ba7a[_0x273621(0x17f)](_0x1a14c3-_0x3352bb,0x0),_0x44ba7a['arc'](_0x1a14c3-_0x3352bb,_0x3352bb,_0x3352bb,Math['PI']*0x3/0x2,0x0,!0x1),_0x44ba7a[_0x273621(0x17f)](_0x1a14c3,_0x3b0d67-_0x25150a),_0x44ba7a[_0x273621(0x2b1)](_0x1a14c3-_0x25150a,_0x3b0d67-_0x25150a,_0x25150a,0x0,Math['PI']/0x2,!0x1),_0x44ba7a[_0x273621(0x17f)](0x0,_0x3b0d67),_0x44ba7a[_0x273621(0x17f)](0x0,_0x5c9b3a),_0x44ba7a[_0x273621(0x2b1)](_0x5c9b3a,_0x5c9b3a,_0x5c9b3a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x44ba7a[_0x273621(0x30b)](),_0x3488f4['fill']&&(_0x44ba7a[_0x273621(0x2dc)](),_0x44ba7a[_0x273621(0x113)]=_0x3488f4[_0x273621(0x2e9)],_0x3488f4['fillRule']===_0x273621(0x20f)?_0x44ba7a['fill']('evenodd'):_0x44ba7a[_0x273621(0x2e9)](),_0x44ba7a[_0x273621(0x2f0)]());}class _0x3fe5a5 extends _0x47852a[_0x140f32(0x2d1)]{constructor(_0x399ec6,_0x311db4){const _0x162f87=_0x140f32;super(_0x399ec6,_0x311db4),_0x9b1d7c(this,_0x162f87(0x182)),_0x9b1d7c(this,_0x162f87(0x17b)),(this[_0x162f87(0x182)]=_0x311db4==null?void 0x0:_0x311db4[_0x162f87(0x182)],this[_0x162f87(0x17b)]=_0x311db4==null?void 0x0:_0x311db4[_0x162f87(0x17b)]);}static['drawWith'](_0x57457e,_0x4f0caf){const _0x7058a3=_0x140f32,{text:_0x3a565e,color:_0x46ada8}=_0x4f0caf;_0x57457e[_0x7058a3(0x2dc)](),_0x57457e[_0x7058a3(0x198)]=_0x7058a3(0x1f7);const _0x2d142c=_0x57457e[_0x7058a3(0x29b)](_0x3a565e)[_0x7058a3(0x1f1)],_0xb1326f=Math[_0x7058a3(0x301)](_0x2d142c+0x2*_0x27f406,_0x4d802a);_0x3758d2(_0x57457e,{'height':_0x1f2a01,'radius':0x4,'width':_0xb1326f,'fill':_0x46ada8}),_0x57457e[_0x7058a3(0x113)]=_0x7058a3(0x18f);const _0xb83330=_0x27f406,_0xc26fdc=_0x1f2a01-_0x302da7,_0x20765f=_0x4d802a-0x2*_0x27f406;if(_0x2d142c>_0x20765f){let _0x4e0c6f='',_0x27529d=0x0;for(const _0x6c462e of _0x3a565e){const _0x8ecf57=_0x57457e[_0x7058a3(0x29b)](_0x6c462e)[_0x7058a3(0x1f1)];if(_0x27529d+_0x8ecf57<=_0x20765f-_0x57457e['measureText']('...')[_0x7058a3(0x1f1)])_0x4e0c6f+=_0x6c462e,_0x27529d+=_0x8ecf57;else{_0x4e0c6f+=_0x7058a3(0x322);break;}}_0x57457e[_0x7058a3(0x2f2)](_0x4e0c6f,_0xb83330,_0xc26fdc);}else _0x57457e['fillText'](_0x3a565e,_0xb83330,_0xc26fdc);_0x57457e[_0x7058a3(0x2f0)]();}[_0x140f32(0x1dc)](_0x339ec3){_0x3fe5a5['drawWith'](_0x339ec3,this);}}const _0x41a01c=_0x140f32(0x2ae),_0x2cf688=_0x140f32(0x2b4),_0x303761='collab-rect-range-',_0x2c424c=0x6,_0x136577=1.5,_0x48e9d8=0x4,_0x322029=1.5,_0x27410d=_0x140f32(0x11a);class _0x444b77{constructor(_0x2087f9,_0x31a172,_0x273c6a,_0x4825bd){const _0x4ec2b5=_0x140f32;_0x9b1d7c(this,'_shapes',[]),_0x9b1d7c(this,_0x4ec2b5(0x1d0),null),_0x9b1d7c(this,_0x4ec2b5(0x303),null),_0x9b1d7c(this,_0x4ec2b5(0x12d),null),_0x9b1d7c(this,_0x4ec2b5(0x261),null),_0x9b1d7c(this,_0x4ec2b5(0x31a),null),(this[_0x4ec2b5(0x15d)]=_0x2087f9,this[_0x4ec2b5(0x257)]=_0x31a172,this[_0x4ec2b5(0x2cf)]=_0x273c6a,this[_0x4ec2b5(0x32f)]=_0x4825bd,this[_0x4ec2b5(0x146)]());}set['_hover'](_0x3aa764){const _0x6f015e=_0x140f32;_0x3aa764?(this[_0x6f015e(0x12d)]&&this[_0x6f015e(0x12d)][_0x6f015e(0x29d)](),this[_0x6f015e(0x303)]&&this[_0x6f015e(0x303)][_0x6f015e(0x2b8)]()):(this[_0x6f015e(0x12d)]&&this[_0x6f015e(0x12d)][_0x6f015e(0x2b8)](),this[_0x6f015e(0x303)]&&this[_0x6f015e(0x303)][_0x6f015e(0x29d)]());}['dispose'](){const _0x5bf9e3=_0x140f32;for(const _0x4a1cee of this[_0x5bf9e3(0x381)])_0x4a1cee['dispose']();this['_textBubble']&&this[_0x5bf9e3(0x303)][_0x5bf9e3(0x16d)](),this[_0x5bf9e3(0x12d)]&&this[_0x5bf9e3(0x12d)][_0x5bf9e3(0x16d)](),this[_0x5bf9e3(0x1d0)]&&this[_0x5bf9e3(0x1d0)]['dispose'](),this[_0x5bf9e3(0x31a)]&&this[_0x5bf9e3(0x31a)]();}[_0x140f32(0x146)](){const _0x11be30=_0x140f32;var _0x18fc0d;const {_docSkeleton:_0x287f1a,_document:_0x376353}=this,{color:_0x3b22eb,name:_0x23ef95,ranges:_0x27f3f8}=this['_cursor'],_0x30a637=_0x376353['getOffsetConfig'](),{docsLeft:_0x1f2f85,docsTop:_0x40d37c}=_0x30a637,_0x5dd538=new _0x37c85e['NodePositionConvertToCursor'](_0x30a637,_0x287f1a);for(const {startOffset:_0x55c3c8,endOffset:_0x5d39df,rangeType:_0x1757b8,segmentId:_0x14d392,segmentPage:_0x3ce3c5,collapsed:_0x1e6242,isActive:_0x290976}of _0x27f3f8){const _0x22ef4e=_0x287f1a[_0x11be30(0x36e)](_0x55c3c8,!0x0,_0x14d392,_0x3ce3c5);let _0x542d3d=_0x287f1a[_0x11be30(0x36e)](_0x5d39df,!0x0,_0x14d392,_0x3ce3c5);if(_0x542d3d==null&&(_0x542d3d=_0x287f1a[_0x11be30(0x36e)](_0x5d39df-0x1,!0x1,_0x14d392,_0x3ce3c5)),_0x290976){const {contentBoxPointGroup:_0x388ed9}=_0x5dd538[_0x11be30(0x1a5)](_0x542d3d,_0x542d3d);if(_0x388ed9[_0x11be30(0x223)]===0x0)continue;this[_0x11be30(0x14c)](_0x3b22eb,_0x388ed9,_0x1f2f85,_0x40d37c,_0x23ef95),this[_0x11be30(0x31a)]=this[_0x11be30(0x393)]();}if(_0x22ef4e&&_0x542d3d){if(_0x1757b8===_0x1061f8[_0x11be30(0x2a6)][_0x11be30(0x37f)]){const _0x996230=new _0x37c85e[(_0x11be30(0x1c9))](_0x30a637,_0x287f1a),{pointGroup:_0x4e41ed}=(_0x18fc0d=_0x996230[_0x11be30(0x1a5)](_0x22ef4e,_0x542d3d))!=null?_0x18fc0d:{};if(_0x4e41ed==null||_0x4e41ed[_0x11be30(0x223)]===0x0)continue;this[_0x11be30(0x14f)](_0x3b22eb,_0x4e41ed,_0x1f2f85,_0x40d37c);}else{if(!_0x1e6242){const {borderBoxPointGroup:_0x268aae}=_0x5dd538['getRangePointData'](_0x22ef4e,_0x542d3d);if(_0x268aae['length']===0x0)continue;this['_drawTextRange'](_0x3b22eb,_0x268aae,_0x1f2f85,_0x40d37c);}}}}}['_drawAnchor'](_0x4dde55,_0x10ddd2,_0x26fc5c,_0x163fe1,_0x11fd16){const _0x85ba2d=_0x140f32,_0x3d3664=this['_getAnchorBounding'](_0x10ddd2),{left:_0x33cc79,top:_0x1b5d0a,height:_0x3874b3}=_0x3d3664,_0x15d5dc=this[_0x85ba2d(0x319)](),_0x29cb0d=_0x322029/_0x15d5dc,_0x6be532=new _0x47852a['Rect'](_0x41a01c+_0x1061f8[_0x85ba2d(0x35f)][_0x85ba2d(0x130)](_0x2c424c),{'left':_0x33cc79+_0x26fc5c-_0x29cb0d,'top':_0x1b5d0a+_0x163fe1,'height':_0x3874b3,'width':_0x136577,'fill':_0x4dde55||_0x47852a[_0x85ba2d(0x2e5)](_0x1061f8[_0x85ba2d(0x164)]['black'],0x0),'strokeWidth':_0x29cb0d,'stroke':_0x27410d,'evented':!0x0});this[_0x85ba2d(0x1d0)]=_0x6be532,this[_0x85ba2d(0x257)][_0x85ba2d(0x1c3)](_0x6be532,_0x37c85e[_0x85ba2d(0x324)]);const _0xae269e=new _0x47852a[(_0x85ba2d(0x330))](_0x41a01c+_0x1061f8[_0x85ba2d(0x35f)][_0x85ba2d(0x130)](_0x2c424c),{'left':_0x33cc79+_0x26fc5c-_0x29cb0d,'top':_0x1b5d0a+_0x163fe1-_0x48e9d8/0x2,'height':_0x48e9d8,'width':_0x48e9d8,'fill':_0x4dde55||_0x47852a[_0x85ba2d(0x2e5)](_0x1061f8[_0x85ba2d(0x164)][_0x85ba2d(0x30a)],0x0),'strokeWidth':0x0,'stroke':_0x4dde55||_0x47852a['getColor'](_0x1061f8['COLORS'][_0x85ba2d(0x30a)],0x0),'evented':!0x1});this[_0x85ba2d(0x12d)]=_0xae269e,this['_scene'][_0x85ba2d(0x1c3)](_0xae269e,_0x37c85e[_0x85ba2d(0x324)]);const _0x695936=new _0x3fe5a5(_0x41a01c+_0x1061f8[_0x85ba2d(0x35f)][_0x85ba2d(0x130)](_0x2c424c),{'left':_0x33cc79+_0x26fc5c-_0x29cb0d,'top':_0x1b5d0a+_0x163fe1-_0x1f2a01,'text':_0x11fd16,'color':_0x4dde55});this['_textBubble']=_0x695936,this[_0x85ba2d(0x257)][_0x85ba2d(0x1c3)](_0x695936,_0x37c85e[_0x85ba2d(0x324)]),this[_0x85ba2d(0x39d)]=!0x1;}[_0x140f32(0x393)](){const _0xc7f316=_0x140f32,_0x3e0b5b=this[_0xc7f316(0x1d0)][_0xc7f316(0x2d6)][_0xc7f316(0x11f)](()=>{const _0x3dd231=_0xc7f316;this[_0x3dd231(0x39d)]=!0x0;}),_0x26436c=this[_0xc7f316(0x1d0)][_0xc7f316(0x389)][_0xc7f316(0x11f)](()=>{const _0xe331=_0xc7f316;this['_hideTimer']&&clearTimeout(this[_0xe331(0x261)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1affd3=_0xc7f316;_0x3e0b5b[_0x1affd3(0x28e)](),_0x26436c[_0x1affd3(0x28e)]();};}[_0x140f32(0x210)](_0x514647,_0x2d07b3,_0x2e0098,_0xd74073){const _0x10c2cb=_0x140f32,_0x180912=new _0x1061f8[(_0x10c2cb(0x207))](_0x514647)[_0x10c2cb(0x394)](0.2)['toRgbString'](),_0x1d3fc2=new _0x47852a['RegularPolygon'](_0x2cf688+_0x1061f8[_0x10c2cb(0x35f)][_0x10c2cb(0x130)](_0x2c424c),{'pointsGroup':_0x2d07b3,'fill':_0x180912||_0x47852a[_0x10c2cb(0x2e5)](_0x1061f8[_0x10c2cb(0x164)][_0x10c2cb(0x30a)],0.2),'left':_0x2e0098,'top':_0xd74073,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x10c2cb(0x27b)](_0x1d3fc2),this[_0x10c2cb(0x257)][_0x10c2cb(0x1c3)](_0x1d3fc2,_0x37c85e['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x515b44,_0x5e703e,_0x17545f,_0x21e2da){const _0x3b4b31=_0x140f32,_0x1a8dd9=new _0x1061f8[(_0x3b4b31(0x207))](_0x515b44)[_0x3b4b31(0x394)](0.2)[_0x3b4b31(0x1ad)](),_0x249dae=new _0x47852a[(_0x3b4b31(0x219))](_0x303761+_0x1061f8[_0x3b4b31(0x35f)][_0x3b4b31(0x130)](_0x2c424c),{'pointsGroup':_0x5e703e,'fill':_0x1a8dd9||_0x47852a[_0x3b4b31(0x2e5)](_0x1061f8[_0x3b4b31(0x164)]['black'],0.2),'left':_0x17545f,'top':_0x21e2da,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3b4b31(0x27b)](_0x249dae),this[_0x3b4b31(0x257)][_0x3b4b31(0x1c3)](_0x249dae,_0x37c85e[_0x3b4b31(0x324)]);}[_0x140f32(0x1ff)](_0x29fb19){const _0x4bc27a=_0x29fb19[0x0],_0x428f58=_0x4bc27a[0x0],_0x505795=_0x4bc27a[0x2],{x:_0x4641a6,y:_0x62e555}=_0x428f58,{x:_0x3ace9,y:_0x3574eb}=_0x505795;return{'left':_0x4641a6,'top':_0x62e555,'width':_0x3ace9-_0x4641a6,'height':_0x3574eb-_0x62e555};}[_0x140f32(0x319)](){const _0x55ada4=_0x140f32,{scaleX:_0x20f35f,scaleY:_0x1931d8}=this[_0x55ada4(0x257)][_0x55ada4(0x189)]();return Math[_0x55ada4(0x331)](_0x20f35f,_0x1931d8);}}var _0x17b446=Object[_0x140f32(0x10b)],_0x82626e=(_0x38c57d,_0x2813fb,_0x2ebd94,_0x4308ad)=>{const _0x44aca0=_0x140f32;for(var _0x292a4b=_0x4308ad>0x1?void 0x0:_0x4308ad?_0x17b446(_0x2813fb,_0x2ebd94):_0x2813fb,_0x2ea25a=_0x38c57d[_0x44aca0(0x223)]-0x1,_0x25e8ff;_0x2ea25a>=0x0;_0x2ea25a--)(_0x25e8ff=_0x38c57d[_0x2ea25a])&&(_0x292a4b=_0x25e8ff(_0x292a4b)||_0x292a4b);return _0x292a4b;},_0x3b1dc6=(_0x13913f,_0x3dc29f)=>(_0x3cca50,_0x5ad607)=>_0x3dc29f(_0x3cca50,_0x5ad607,_0x13913f);let _0x2f3eac=class extends _0x1061f8['RxDisposable']{constructor(_0x2e20b2,_0x46d8e0,_0x2688b9,_0x508e8d,_0x27e7d8){const _0x4618c8=_0x140f32;super(),_0x9b1d7c(this,_0x4618c8(0x362),[]),_0x9b1d7c(this,_0x4618c8(0x1d4),[]),(this[_0x4618c8(0x333)]=_0x2e20b2,this[_0x4618c8(0x295)]=_0x46d8e0,this[_0x4618c8(0x1ec)]=_0x2688b9,this[_0x4618c8(0x2bc)]=_0x508e8d,this[_0x4618c8(0x392)]=_0x27e7d8,this[_0x4618c8(0x2c9)]());}[_0x140f32(0x2c9)](){const _0x49ada9=_0x140f32,_0x51c4b2=this[_0x49ada9(0x333)][_0x49ada9(0x16a)],_0x1676b4=this[_0x49ada9(0x295)];this[_0x49ada9(0x26b)](_0x3a20ae[_0x49ada9(0x314)]([this[_0x49ada9(0x1ec)][_0x49ada9(0x115)](_0x51c4b2),this[_0x49ada9(0x392)][_0x49ada9(0x24c)]])[_0x49ada9(0x13a)](_0x39ab20[_0x49ada9(0x363)](([_0x171a3e,_0x47c3da])=>({'skeleton':_0x1676b4[_0x49ada9(0x317)](),'cursors':[..._0x171a3e[_0x49ada9(0x16e)]()][_0x49ada9(0x1f3)](_0x166573=>({..._0x166573,'color':this[_0x49ada9(0x392)][_0x49ada9(0x134)](_0x166573[_0x49ada9(0x182)])}))})))[_0x49ada9(0x225)](_0x14742a=>{const _0x374b56=_0x49ada9;if(this[_0x374b56(0x2ba)](),_0x14742a){const {skeleton:_0x58b1f4,cursors:_0x1fcc35}=_0x14742a;this[_0x374b56(0x286)](_0x58b1f4,_0x1fcc35);}})),this[_0x49ada9(0x220)](),this[_0x49ada9(0x28d)]();}[_0x140f32(0x286)](_0x201527,_0x27611f){const _0x37988f=_0x140f32,{scene:_0x82b52,mainComponent:_0x460f56}=this[_0x37988f(0x333)],_0x2b8b00=_0x27611f[_0x37988f(0x363)](_0x3fe83f=>new _0x444b77(_0x3fe83f,_0x82b52,_0x201527,_0x460f56));this[_0x37988f(0x362)]=_0x2b8b00,this[_0x37988f(0x1d4)]=_0x27611f;}[_0x140f32(0x2d8)](){const _0x504366=_0x140f32;this[_0x504366(0x2ba)]();const {scene:_0x5df38c,mainComponent:_0x12233}=this[_0x504366(0x333)],_0x33f314=this[_0x504366(0x295)][_0x504366(0x317)](),_0x3c92b2=this[_0x504366(0x1d4)][_0x504366(0x363)](_0x3c9bd5=>new _0x444b77(_0x3c9bd5,_0x5df38c,_0x33f314,_0x12233));this[_0x504366(0x362)]=_0x3c92b2;}[_0x140f32(0x2ba)](){const _0x2d28dd=_0x140f32;this[_0x2d28dd(0x362)]['forEach'](_0x3f2ae5=>_0x3f2ae5[_0x2d28dd(0x16d)]()),this['_cursorShapes']=[];}[_0x140f32(0x28d)](){const _0x2b77cb=_0x140f32,_0x182832=[_0x37c85e[_0x2b77cb(0x206)]['id']];this[_0x2b77cb(0x26b)](this[_0x2b77cb(0x2bc)][_0x2b77cb(0x2b9)](_0x349deb=>{const _0xb1ed94=_0x2b77cb;_0x182832[_0xb1ed94(0x339)](_0x349deb['id'])&&_0x349deb['params'][_0xb1ed94(0x16a)]===this[_0xb1ed94(0x333)][_0xb1ed94(0x16a)]&&this[_0xb1ed94(0x2d8)]();}));}[_0x140f32(0x220)](){const _0x942840=_0x140f32;this[_0x942840(0x26b)](_0x1061f8[_0x942840(0x21e)](this[_0x942840(0x333)][_0x942840(0x296)][_0x942840(0x2db)])[_0x942840(0x13a)](_0x39ab20[_0x942840(0x253)](_0x3311ea=>_0x3311ea['type']===_0x47852a[_0x942840(0x119)]['resize']),_0x39ab20[_0x942840(0x1a3)](0x10))['subscribe'](()=>{const _0x264c13=_0x942840;this[_0x264c13(0x2d8)]();}));}};_0x2f3eac=_0x82626e([_0x3b1dc6(0x1,_0x1061f8[_0x140f32(0x364)](_0x4639f7[_0x140f32(0x279)])),_0x3b1dc6(0x2,_0x1061f8[_0x140f32(0x364)](_0xe5aa4e)),_0x3b1dc6(0x3,_0x1061f8[_0x140f32(0x139)]),_0x3b1dc6(0x4,_0x1061f8[_0x140f32(0x364)](_0x1061f8['ThemeService']))],_0x2f3eac);const _0x1c841f=0x1,_0x52637b=1.5;class _0x394568 extends _0x47852a[_0x140f32(0x2d1)]{constructor(_0x49195f,_0x2794a8){const _0x557ce4=_0x140f32;super(_0x49195f,_0x2794a8),_0x9b1d7c(this,_0x557ce4(0x318)),_0x9b1d7c(this,_0x557ce4(0x1eb),!0x1),_0x9b1d7c(this,_0x557ce4(0x203)),_0x9b1d7c(this,_0x557ce4(0x104),''),_0x9b1d7c(this,'_labelPosition',_0x557ce4(0x242)),_0x9b1d7c(this,_0x557ce4(0x229)),(_0x2794a8&&this['setShapeProps'](_0x2794a8),this[_0x557ce4(0x2d6)][_0x557ce4(0x11f)](()=>this[_0x557ce4(0x2ee)]({'hovered':!0x0})),this['onPointerLeave$'][_0x557ce4(0x11f)](()=>this[_0x557ce4(0x2ee)]({'hovered':!0x1})));}['setShapeProps'](_0x28423e){const _0xf0f0c=_0x140f32;var _0x1d65e8,_0x2ec364,_0x4d5433,_0x95c853,_0x53f19c,_0x24564e;this[_0xf0f0c(0x318)]=(_0x1d65e8=_0x28423e[_0xf0f0c(0x182)])!=null?_0x1d65e8:this[_0xf0f0c(0x318)],this[_0xf0f0c(0x1eb)]=(_0x2ec364=_0x28423e[_0xf0f0c(0x10d)])!=null?_0x2ec364:this['_hovered'],this[_0xf0f0c(0x203)]=(_0x4d5433=_0x28423e[_0xf0f0c(0x16b)])!=null?_0x4d5433:this['_range'],this['_name']=(_0x95c853=_0x28423e[_0xf0f0c(0x12f)])!=null?_0x95c853:this['_name'],this['_labelPosition']=(_0x53f19c=_0x28423e['labelPosition'])!=null?_0x53f19c:this[_0xf0f0c(0x36d)],this['_backgroundColor']=(_0x24564e=_0x28423e[_0xf0f0c(0x1c1)])!=null?_0x24564e:this[_0xf0f0c(0x229)],this[_0xf0f0c(0x23d)]({'width':_0x28423e[_0xf0f0c(0x1f1)],'height':_0x28423e['height']});}[_0x140f32(0x15f)](_0x3fb230){const _0x38be2a=_0x140f32,{row:_0x59f16b,column:_0x3108f3}=_0x3fb230;if(_0x59f16b>=this[_0x38be2a(0x203)][_0x38be2a(0x31f)]&&_0x59f16b<=this[_0x38be2a(0x203)]['endRow']&&_0x3108f3>=this['_range'][_0x38be2a(0x2c0)]&&_0x3108f3<=this[_0x38be2a(0x203)][_0x38be2a(0x361)]){this[_0x38be2a(0x2ee)]({'hovered':!0x0});return;}this[_0x38be2a(0x2ee)]({'hovered':!0x1});}[_0x140f32(0x1fd)](_0x2553ec){return!0x1;}[_0x140f32(0x1dc)](_0x11156e){const _0x347649=_0x140f32;_0x47852a[_0x347649(0x330)][_0x347649(0x21d)](_0x11156e,{'width':this[_0x347649(0x1f1)],'height':this[_0x347649(0x235)],'strokeWidth':_0x52637b,'stroke':this[_0x347649(0x318)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x347649(0x1eb)]&&(_0x11156e['save'](),_0x11156e[_0x347649(0x358)](0x1,0x0,0x0,0x1,this[_0x347649(0x1f1)],this[_0x347649(0x36d)]===_0x347649(0x12b)?0x0:-0x14),_0x3fe5a5[_0x347649(0x21d)](_0x11156e,{'text':this[_0x347649(0x104)],'color':this[_0x347649(0x318)]}),_0x11156e[_0x347649(0x2f0)]());}}var _0x6b3974=Object['getOwnPropertyDescriptor'],_0x451a0a=(_0xd19472,_0x4675ac,_0x598387,_0x2e6cbc)=>{for(var _0x3873ff=_0x2e6cbc>0x1?void 0x0:_0x2e6cbc?_0x6b3974(_0x4675ac,_0x598387):_0x4675ac,_0x18c216=_0xd19472['length']-0x1,_0x5da2d0;_0x18c216>=0x0;_0x18c216--)(_0x5da2d0=_0xd19472[_0x18c216])&&(_0x3873ff=_0x5da2d0(_0x3873ff)||_0x3873ff);return _0x3873ff;},_0x3c3a9c=(_0x55ebaf,_0x387fa6)=>(_0x4d009f,_0x10ca8a)=>_0x387fa6(_0x4d009f,_0x10ca8a,_0x55ebaf);const _0x24f91d=0x1389;let _0x27741d=class extends _0x1061f8[_0x140f32(0x2f8)]{constructor(_0xe91756,_0x3745fa,_0x5ced0c,_0x120103){const _0xa68251=_0x140f32;super(),_0x9b1d7c(this,_0xa68251(0x1d4),new Set()),_0x9b1d7c(this,_0xa68251(0x1e0),null),(this[_0xa68251(0x333)]=_0xe91756,this[_0xa68251(0x2ca)]=_0x3745fa,this[_0xa68251(0x1ec)]=_0x5ced0c,this[_0xa68251(0x392)]=_0x120103,this[_0xa68251(0x2c9)]());}[_0x140f32(0x2c9)](){const _0x5670db=_0x140f32;this[_0x5670db(0x2ca)][_0x5670db(0x30e)][_0x5670db(0x13a)](_0x39ab20['takeUntil'](this[_0x5670db(0x1fe)]),_0x39ab20[_0x5670db(0x13c)](_0x2e2b2d=>{const _0x4ed846=_0x5670db;if(_0x2e2b2d){const _0xafc6f3=_0x2e2b2d[_0x4ed846(0x2a4)];return _0x3a20ae[_0x4ed846(0x314)](this[_0x4ed846(0x1ec)][_0x4ed846(0x115)](this[_0x4ed846(0x333)][_0x4ed846(0x16a)]),this['_themeService'][_0x4ed846(0x24c)])[_0x4ed846(0x13a)](_0x39ab20[_0x4ed846(0x363)](([_0x4eb8e0,_0x5e718c])=>{const _0x23cf27=new Map();return _0x4eb8e0['forEach']((_0x4196bf,_0x4af728)=>{const _0x29f46d=_0x5819;if(_0x4196bf[_0x29f46d(0x26c)]===_0xafc6f3){const _0x2a1ce8={..._0x4196bf};_0x2a1ce8[_0x29f46d(0x182)]=this[_0x29f46d(0x392)][_0x29f46d(0x134)](_0x4196bf[_0x29f46d(0x182)]),_0x23cf27[_0x29f46d(0x266)](_0x4af728,_0x2a1ce8);}}),{'skeleton':_0x2e2b2d,'cursors':_0x23cf27};}));}return _0x3a20ae['of']({'skeleton':null,'cursors':new Map()});}))[_0x5670db(0x225)](({skeleton:_0x12fa59,cursors:_0xc2a293})=>{const _0x146a28=_0x5670db;this[_0x146a28(0x2ba)](),_0x12fa59&&this[_0x146a28(0x286)](_0x12fa59,_0xc2a293);}),this[_0x5670db(0x2ca)][_0x5670db(0x30e)][_0x5670db(0x225)](_0x3e9e10=>{const _0x4d77eb=_0x5670db;if(_0x3e9e10==null)return;const {skeleton:_0xf01d1c}=_0x3e9e10,{scene:_0x12e7d1}=this[_0x4d77eb(0x333)];_0x12e7d1['onPointerMove$'][_0x4d77eb(0x11f)](_0x1061f8[_0x4d77eb(0x34c)](_0x291e19=>{const _0x2ecf20=_0x4d77eb;var _0x3be657,_0x3019bf;const {offsetX:_0x349002,offsetY:_0x580bf8}=_0x291e19,{x:_0x417d03,y:_0x273276}=_0x12e7d1[_0x2ecf20(0x348)](_0x47852a['Vector2'][_0x2ecf20(0x232)]([_0x349002,_0x580bf8])),{scaleX:_0x393568,scaleY:_0x54dc77}=_0x12e7d1[_0x2ecf20(0x189)](),_0xb5a59=_0x12e7d1[_0x2ecf20(0x11d)](_0x47852a[_0x2ecf20(0x10f)][_0x2ecf20(0x239)]),_0x496bd6=_0x12e7d1[_0x2ecf20(0x281)](_0x47852a[_0x2ecf20(0x1a7)][_0x2ecf20(0x232)]([_0x417d03,_0x273276]),_0xb5a59),_0x4a41cc=_0xf01d1c[_0x2ecf20(0x34e)](_0x349002,_0x580bf8,_0x393568,_0x54dc77,_0x496bd6);((_0x3be657=this[_0x2ecf20(0x1e0)])==null?void 0x0:_0x3be657[_0x2ecf20(0x273)])===_0x4a41cc[_0x2ecf20(0x273)]&&((_0x3019bf=this[_0x2ecf20(0x1e0)])==null?void 0x0:_0x3019bf[_0x2ecf20(0x315)])===_0x4a41cc['row']||this[_0x2ecf20(0x1d4)]['forEach'](_0x21a85a=>{_0x21a85a['onMouseMove'](_0x4a41cc);});},0x64));});}[_0x140f32(0x286)](_0x33654b,_0x50360f){const _0x124e19=_0x140f32;var _0x31f278;const _0x1ca231=(_0x31f278=this['_sheetSkeletonManagerService'][_0x124e19(0x352)]())==null?void 0x0:_0x31f278[_0x124e19(0x2bf)];if(!_0x1ca231)return;const _0x108f7e=this[_0x124e19(0x2fa)]();if(!_0x108f7e)return;this[_0x124e19(0x1d4)][_0x124e19(0x282)](_0x442168=>{_0x442168['makeDirty']();});const {scene:_0x2358ab}=_0x108f7e,_0x2f6611=_0x460d91(Array[_0x124e19(0x37c)](_0x50360f[_0x124e19(0x16e)]()))[_0x124e19(0x363)](_0x235e25=>{const _0x1469b6=_0x124e19,{color:_0x471570,range:_0x440228,name:_0x4094de,selection:_0x196b95,sheetID:_0x15fca7}=_0x235e25,{startColumn:_0x11de1e,startRow:_0x103762,endColumn:_0x1ebbbf,endRow:_0x27ceef}=_0x440228,_0x534948=_0x36792e[_0x1469b6(0x125)](_0x103762,_0x11de1e,_0x2358ab,_0x1ca231),_0x13c81e=_0x36792e['getCoordByCell'](_0x27ceef,_0x1ebbbf,_0x2358ab,_0x1ca231),{columnHeaderHeightAndMarginTop:_0x1f3de3}=_0x1ca231,{startX:_0x524b59,startY:_0x2b8cc8}=_0x534948,{endX:_0x31491c,endY:_0x45cad7}=_0x13c81e,_0x1065c9=_0x31491c-_0x524b59,_0x5390ad=_0x45cad7-_0x2b8cc8,_0x1e3b46={'labelPosition':_0x2b8cc8-_0x1f3de3>=_0x1f2a01?_0x1469b6(0x242):_0x1469b6(0x12b),'sheetID':_0x15fca7,'range':_0x440228,'color':_0x471570,'name':_0x4094de,'selection':_0x196b95,'left':_0x524b59,'top':_0x2b8cc8,'width':_0x1065c9,'height':_0x5390ad,'evented':!0x1,'zIndex':_0x24f91d};return new _0x394568(_0x4094de,_0x1e3b46);});_0x2358ab[_0x124e19(0x169)](_0x2f6611,_0x1c841f),this[_0x124e19(0x1d4)]=new Set(_0x2f6611);}[_0x140f32(0x2ba)](){const _0x5c2581=_0x140f32;var _0x319fdb;(_0x319fdb=this[_0x5c2581(0x1d4)])==null||_0x319fdb['forEach'](_0x336856=>_0x336856[_0x5c2581(0x16d)]());}['_getSheetObject'](){const _0x5ee2c4=_0x140f32;return _0x36792e['getSheetObject'](this['_context'][_0x5ee2c4(0x327)],this[_0x5ee2c4(0x333)]);}};_0x27741d=_0x451a0a([_0x3c3a9c(0x1,_0x1061f8[_0x140f32(0x364)](_0x36792e[_0x140f32(0x1bc)])),_0x3c3a9c(0x2,_0x1061f8[_0x140f32(0x364)](_0xe5aa4e)),_0x3c3a9c(0x3,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x215)]))],_0x27741d);function _0x460d91(_0xa5038){const _0x51dd7d=_0x140f32,_0x41474d=new Map();return _0xa5038[_0x51dd7d(0x282)](_0x22e59f=>{const _0x4c07e1=_0x51dd7d;if(_0x41474d[_0x4c07e1(0x171)](_0x22e59f[_0x4c07e1(0x3a3)])){const _0xeb9c9c=_0x41474d['get'](_0x22e59f[_0x4c07e1(0x3a3)]);_0xeb9c9c[_0x4c07e1(0x12f)]+=',\x20'+_0x22e59f[_0x4c07e1(0x12f)];}else _0x41474d[_0x4c07e1(0x266)](_0x22e59f[_0x4c07e1(0x3a3)],_0x22e59f);}),Array['from'](_0x41474d[_0x51dd7d(0x16e)]());}var _0x58c15d=function(){const _0x11a61b=_0x140f32;return _0x58c15d=Object[_0x11a61b(0x16c)]||function(_0x3037bd){const _0x278b1b=_0x11a61b;for(var _0x47858d,_0x569f15=0x1,_0x3de25f=arguments[_0x278b1b(0x223)];_0x569f15<_0x3de25f;_0x569f15++){_0x47858d=arguments[_0x569f15];for(var _0x2e65d6 in _0x47858d)Object[_0x278b1b(0x1b7)][_0x278b1b(0x2c8)][_0x278b1b(0x227)](_0x47858d,_0x2e65d6)&&(_0x3037bd[_0x2e65d6]=_0x47858d[_0x2e65d6]);}return _0x3037bd;},_0x58c15d['apply'](this,arguments);},_0x35589d=function(_0x3f35e3,_0x4f21cf){const _0x324b28=_0x140f32;var _0x4f2d78={};for(var _0x1a73d2 in _0x3f35e3)Object[_0x324b28(0x1b7)][_0x324b28(0x2c8)][_0x324b28(0x227)](_0x3f35e3,_0x1a73d2)&&_0x4f21cf[_0x324b28(0x2e4)](_0x1a73d2)<0x0&&(_0x4f2d78[_0x1a73d2]=_0x3f35e3[_0x1a73d2]);if(_0x3f35e3!=null&&typeof Object[_0x324b28(0x300)]==_0x324b28(0x166)){for(var _0x136f0b=0x0,_0x1a73d2=Object[_0x324b28(0x300)](_0x3f35e3);_0x136f0b<_0x1a73d2[_0x324b28(0x223)];_0x136f0b++)_0x4f21cf[_0x324b28(0x2e4)](_0x1a73d2[_0x136f0b])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x3f35e3,_0x1a73d2[_0x136f0b])&&(_0x4f2d78[_0x1a73d2[_0x136f0b]]=_0x3f35e3[_0x1a73d2[_0x136f0b]]);}return _0x4f2d78;},_0x230d79=_0x588d36[_0x140f32(0x2e1)](function(_0x533590,_0x30fd47){const _0x4e629b=_0x140f32;var _0x107ca8=_0x533590[_0x4e629b(0x33b)],_0x312ee7=_0x533590['id'],_0x2028d2=_0x533590[_0x4e629b(0x38b)],_0x40b989=_0x533590[_0x4e629b(0x14a)],_0x467125=_0x35589d(_0x533590,['icon','id',_0x4e629b(0x38b),_0x4e629b(0x14a)]),_0x409f2a=_0x4e629b(0x190)['concat'](_0x312ee7,'\x20')[_0x4e629b(0x344)](_0x2028d2||'')[_0x4e629b(0x26d)](),_0x2b4044=_0x588d36[_0x4e629b(0x27c)]('_'['concat'](_0x2448f3()));return _0xcf34f(_0x107ca8,''[_0x4e629b(0x344)](_0x312ee7),{'defIds':_0x107ca8[_0x4e629b(0x297)],'idSuffix':_0x2b4044['current']},_0x58c15d({'ref':_0x30fd47,'className':_0x409f2a},_0x467125),_0x40b989);});function _0xcf34f(_0x4d8c33,_0xa36318,_0x36c3a2,_0x57cbb3,_0x586640){const _0x2ac79d=_0x140f32;return _0x588d36[_0x2ac79d(0x268)](_0x4d8c33[_0x2ac79d(0x136)],_0x58c15d(_0x58c15d({'key':_0xa36318},_0x2c8ba4(_0x4d8c33,_0x36c3a2,_0x586640)),_0x57cbb3),(_0x58d1a5(_0x4d8c33,_0x36c3a2)[_0x2ac79d(0x36f)]||[])[_0x2ac79d(0x363)](function(_0xccb29b,_0x42cbd0){const _0xcd4b06=_0x2ac79d;return _0xcf34f(_0xccb29b,''['concat'](_0xa36318,'-')[_0xcd4b06(0x344)](_0x4d8c33[_0xcd4b06(0x136)],'-')['concat'](_0x42cbd0),_0x36c3a2,void 0x0,_0x586640);}));}function _0x2c8ba4(_0x48c99c,_0x3c84fb,_0x508094){const _0x3b39a0=_0x140f32;var _0x37bed5=_0x58c15d({},_0x48c99c[_0x3b39a0(0x117)]);_0x508094!=null&&_0x508094['colorChannel1']&&_0x37bed5[_0x3b39a0(0x2e9)]===_0x3b39a0(0x187)&&(_0x37bed5[_0x3b39a0(0x2e9)]=_0x508094[_0x3b39a0(0x187)]),_0x48c99c[_0x3b39a0(0x136)]===_0x3b39a0(0x256)&&_0x37bed5['id']&&(_0x37bed5['id']=_0x37bed5['id']+_0x3c84fb[_0x3b39a0(0x217)]),Object[_0x3b39a0(0x10c)](_0x37bed5)[_0x3b39a0(0x282)](function(_0x31b484){const _0xd195f4=_0x3b39a0;var _0x421f71=_0x31b484[0x0],_0x5a82f3=_0x31b484[0x1];_0x421f71===_0xd195f4(0x256)&&typeof _0x5a82f3==_0xd195f4(0x258)&&(_0x37bed5[_0x421f71]=_0x5a82f3[_0xd195f4(0x27a)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3c84fb[_0xd195f4(0x217)],')')));});var _0x573495=_0x3c84fb['defIds'];return!_0x573495||_0x573495['length']===0x0||(_0x48c99c['tag']===_0x3b39a0(0x39e)&&_0x37bed5[_0x3b39a0(0x38e)]&&(_0x37bed5['xlink:href']=_0x37bed5[_0x3b39a0(0x38e)]+_0x3c84fb[_0x3b39a0(0x217)]),Object[_0x3b39a0(0x10c)](_0x37bed5)[_0x3b39a0(0x282)](function(_0x2e156f){const _0x5247d6=_0x3b39a0;var _0x3f2261=_0x2e156f[0x0],_0x248e3f=_0x2e156f[0x1];typeof _0x248e3f==_0x5247d6(0x258)&&(_0x37bed5[_0x3f2261]=_0x248e3f[_0x5247d6(0x27a)](/url\(#(.*)\)/,_0x5247d6(0x24f)[_0x5247d6(0x344)](_0x3c84fb[_0x5247d6(0x217)],')')));})),_0x37bed5;}function _0x58d1a5(_0x3c6fcb,_0x1a65ed){const _0x4734c=_0x140f32;var _0x234233,_0x156449=_0x1a65ed['defIds'];return!_0x156449||_0x156449[_0x4734c(0x223)]===0x0?_0x3c6fcb:_0x3c6fcb['tag']===_0x4734c(0x192)&&(!((_0x234233=_0x3c6fcb[_0x4734c(0x36f)])===null||_0x234233===void 0x0)&&_0x234233[_0x4734c(0x223)])?_0x58c15d(_0x58c15d({},_0x3c6fcb),{'children':_0x3c6fcb[_0x4734c(0x36f)][_0x4734c(0x363)](function(_0x2adaa8){const _0x2a80e9=_0x4734c;return typeof _0x2adaa8[_0x2a80e9(0x117)]['id']==_0x2a80e9(0x258)&&_0x156449&&_0x156449[_0x2a80e9(0x339)](_0x2adaa8[_0x2a80e9(0x117)]['id'])?_0x58c15d(_0x58c15d({},_0x2adaa8),{'attrs':_0x58c15d(_0x58c15d({},_0x2adaa8[_0x2a80e9(0x117)]),{'id':_0x2adaa8[_0x2a80e9(0x117)]['id']+_0x1a65ed[_0x2a80e9(0x217)]})}):_0x2adaa8;})}):_0x3c6fcb;}function _0x2448f3(){const _0x549cf4=_0x140f32;return Math[_0x549cf4(0x25d)]()['toString'](0x24)[_0x549cf4(0x20d)](0x2,0x8);}_0x230d79[_0x140f32(0x397)]='UniverIcon';var _0x6b309e={'tag':_0x140f32(0x326),'attrs':{'xmlns':_0x140f32(0x212),'fill':'none','viewBox':_0x140f32(0x3a0),'width':'1em','height':_0x140f32(0x11c)},'children':[{'tag':'g','attrs':{'clipPath':_0x140f32(0x338)},'children':[{'tag':_0x140f32(0x2d2),'attrs':{'stroke':_0x140f32(0x2d9),'d':_0x140f32(0x2be),'strokeLinecap':_0x140f32(0x13e),'strokeLinejoin':_0x140f32(0x13e),'strokeWidth':1.2}}]},{'tag':_0x140f32(0x192),'attrs':{},'children':[{'tag':_0x140f32(0x262),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x140f32(0x2d2),'attrs':{'fill':_0x140f32(0x15b),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x16c7d1=_0x588d36['forwardRef'](function(_0x46f247,_0x5908bc){const _0x4ce165=_0x140f32;return _0x588d36[_0x4ce165(0x268)](_0x230d79,Object[_0x4ce165(0x16c)]({},_0x46f247,{'id':_0x4ce165(0x399),'ref':_0x5908bc,'icon':_0x6b309e}));});_0x16c7d1[_0x140f32(0x397)]=_0x140f32(0x1cf);var _0x12ed5e={'tag':_0x140f32(0x326),'attrs':{'xmlns':_0x140f32(0x212),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x140f32(0x11c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x140f32(0x1c2)},'children':[{'tag':_0x140f32(0x2d2),'attrs':{'stroke':'currentColor','d':_0x140f32(0x141),'strokeLinecap':_0x140f32(0x13e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x140f32(0x192),'attrs':{},'children':[{'tag':_0x140f32(0x262),'attrs':{'id':_0x140f32(0x1cd)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x140f32(0x35a),'transform':_0x140f32(0x1c5)}}]}]}],'defIds':[_0x140f32(0x1cd)]},_0x3e2b17=_0x588d36[_0x140f32(0x2e1)](function(_0x3662c4,_0x1df566){const _0x33e943=_0x140f32;return _0x588d36[_0x33e943(0x268)](_0x230d79,Object[_0x33e943(0x16c)]({},_0x3662c4,{'id':_0x33e943(0x106),'ref':_0x1df566,'icon':_0x12ed5e}));});_0x3e2b17[_0x140f32(0x397)]=_0x140f32(0x156);function _0x533d0a(_0x1d0e2e){const _0xe0dc3a=_0x140f32;switch(_0x1d0e2e){case _0x55c138['CollaborationStatus']['OFFLINE']:return _0xe0dc3a(0x345);case _0x55c138['CollaborationStatus'][_0xe0dc3a(0x1cc)]:return _0xe0dc3a(0x19f);case _0x55c138[_0xe0dc3a(0x2f1)][_0xe0dc3a(0x284)]:return _0xe0dc3a(0x149);case _0x55c138[_0xe0dc3a(0x2f1)]['NOT_COLLAB']:return'collabStatus.notCollab';case _0x55c138['CollaborationStatus'][_0xe0dc3a(0x1ce)]:case _0x55c138['CollaborationStatus'][_0xe0dc3a(0x3a5)]:return _0xe0dc3a(0x23a);case _0x55c138['CollaborationStatus'][_0xe0dc3a(0x238)]:case _0x55c138['CollaborationStatus'][_0xe0dc3a(0x386)]:return _0xe0dc3a(0x27d);}}function _0x6adec3(_0x15d17d){const _0xd4ce0a=_0x140f32,{status$:_0x26bb43}=_0x15d17d,_0x1fc6f7=_0x17254d[_0xd4ce0a(0x25b)](_0x26bb43,_0x55c138['CollaborationStatus'][_0xd4ce0a(0x310)]),_0x25a8a3=_0x17254d[_0xd4ce0a(0x127)](_0x1061f8[_0xd4ce0a(0x1fc)]),_0xb19306=_0x17254d['useDependency'](_0x55c138[_0xd4ce0a(0x19e)]),_0x5eb8e8=_0x1fc6f7!==_0x55c138['CollaborationStatus'][_0xd4ce0a(0x355)],_0x2e54e0=_0x25a8a3['t'](_0x533d0a(_0x1fc6f7)),_0x56f153=_0x5eb8e8?_0x259c4f['jsx'](_0x3e2b17,{}):_0x259c4f[_0xd4ce0a(0x1c0)](_0x16c7d1,{}),_0x19ffa2=_0x588d36[_0xd4ce0a(0x290)](()=>{const _0x4abb37=_0xd4ce0a;_0x5eb8e8||_0xb19306[_0x4abb37(0x14d)]();},[_0x5eb8e8,_0xb19306]);function _0x57322c(){const _0x24d968=_0xd4ce0a;return _0x259c4f[_0x24d968(0x35c)]('div',{'className':_0x24d968(0x154),'onClick':_0x19ffa2,'children':[_0x259c4f[_0x24d968(0x1c0)](_0x24d968(0x313),{'className':_0x44a7e1[_0x24d968(0x1ee)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5eb8e8,'univer-text-red-500':!_0x5eb8e8}),'children':_0x56f153}),_0x259c4f[_0x24d968(0x1c0)]('div',{'className':_0x24d968(0x342),'children':_0x2e54e0})]});}return _0x5eb8e8?_0x57322c():_0x259c4f[_0xd4ce0a(0x1c0)](_0x44a7e1['Tooltip'],{'title':_0x25a8a3['t']('collab-client.tooltip.reconnect'),'children':_0x57322c()});}var _0x20836e=Object[_0x140f32(0x10b)],_0x3a2c4e=(_0x5d61b1,_0x3db174,_0x1d1b73,_0x1e8388)=>{const _0x2e277d=_0x140f32;for(var _0x46b205=_0x1e8388>0x1?void 0x0:_0x1e8388?_0x20836e(_0x3db174,_0x1d1b73):_0x3db174,_0x312a1d=_0x5d61b1[_0x2e277d(0x223)]-0x1,_0x2966f6;_0x312a1d>=0x0;_0x312a1d--)(_0x2966f6=_0x5d61b1[_0x312a1d])&&(_0x46b205=_0x2966f6(_0x46b205)||_0x46b205);return _0x46b205;},_0x495ae3=(_0xe5a84,_0x4416d2)=>(_0x9de446,_0x2d70b3)=>_0x4416d2(_0x9de446,_0x2d70b3,_0xe5a84);_0x5a5a65[_0x140f32(0x37b)]=class extends _0x1061f8[_0x140f32(0x2e7)]{constructor(_0x57e82b,_0x5c6345,_0x2e06aa,_0x52c8a6){const _0x2f3424=_0x140f32;super(),_0x9b1d7c(this,_0x2f3424(0x283),new _0x3a20ae[(_0x2f3424(0x36b))](_0x55c138[_0x2f3424(0x2f1)][_0x2f3424(0x310)])),(this[_0x2f3424(0x186)]=_0x57e82b,this['_injector']=_0x5c6345,this[_0x2f3424(0x29f)]=_0x2e06aa,this[_0x2f3424(0x218)]=_0x52c8a6,this['_initStatusComponent'](),this[_0x2f3424(0x1bf)]());}[_0x140f32(0x1bf)](){const _0x2b71a2=_0x140f32;this[_0x2b71a2(0x26b)](this[_0x2b71a2(0x186)][_0x2b71a2(0x1d9)][_0x2b71a2(0x13a)](_0x3a20ae[_0x2b71a2(0x13c)](()=>{const _0x84fea0=_0x2b71a2,_0x3dfcc5=this[_0x84fea0(0x186)][_0x84fea0(0x277)]();return _0x3dfcc5?this[_0x84fea0(0x29f)][_0x84fea0(0x353)](_0x3dfcc5[_0x84fea0(0x133)]()):_0x3a20ae['of'](null);}),_0x3a20ae[_0x2b71a2(0x13c)](_0x2a3c88=>_0x2a3c88?_0x2a3c88[_0x2b71a2(0x222)]:_0x3a20ae['of'](_0x55c138[_0x2b71a2(0x2f1)][_0x2b71a2(0x310)])))['subscribe'](_0x298ed1=>{const _0xd4481=_0x2b71a2;this['_status$'][_0xd4481(0x2b7)](_0x298ed1);}));}[_0x140f32(0x221)](){const _0x2d8dcc=_0x140f32;this[_0x2d8dcc(0x26b)](this[_0x2d8dcc(0x218)][_0x2d8dcc(0x398)](_0x17254d[_0x2d8dcc(0x15a)][_0x2d8dcc(0x128)],()=>_0x17254d[_0x2d8dcc(0x1aa)](_0x1646f6({'status$':this[_0x2d8dcc(0x283)][_0x2d8dcc(0x145)]()}),this[_0x2d8dcc(0x2b5)])));}},_0x5a5a65[_0x140f32(0x37b)]=_0x3a2c4e([_0x495ae3(0x0,_0x1061f8['IUniverInstanceService']),_0x495ae3(0x1,_0x1061f8[_0x140f32(0x364)](_0x1061f8['Injector'])),_0x495ae3(0x2,_0x1061f8['Inject'](_0x55c138[_0x140f32(0x1bb)])),_0x495ae3(0x3,_0x17254d[_0x140f32(0x1db)])],_0x5a5a65[_0x140f32(0x37b)]);function _0x1646f6(_0xadb470){const {status$:_0x5fce94}=_0xadb470;return function(){return _0x259c4f['jsx'](_0x6adec3,{'status$':_0x5fce94});};}var _0x14e19a=Object[_0x140f32(0x10b)],_0x553bda=(_0x3a15be,_0x6ba823,_0x4cabdc,_0x53e3cb)=>{for(var _0x2b35f5=_0x53e3cb>0x1?void 0x0:_0x53e3cb?_0x14e19a(_0x6ba823,_0x4cabdc):_0x6ba823,_0x5d8547=_0x3a15be['length']-0x1,_0xac1bad;_0x5d8547>=0x0;_0x5d8547--)(_0xac1bad=_0x3a15be[_0x5d8547])&&(_0x2b35f5=_0xac1bad(_0x2b35f5)||_0x2b35f5);return _0x2b35f5;},_0x2be453=(_0x1a7ee7,_0x2454dc)=>(_0x57235d,_0x5f44ae)=>_0x2454dc(_0x57235d,_0x5f44ae,_0x1a7ee7);let _0x11f97c=class extends _0x1061f8[_0x140f32(0x2e7)]{constructor(_0x2dcbf6,_0x219f08,_0xd4a6d7,_0x264237,_0x2916ff,_0x11e87d){const _0xa2d7d8=_0x140f32;super(),this[_0xa2d7d8(0x152)]=_0x2dcbf6,this[_0xa2d7d8(0x1d1)]=_0x219f08,this[_0xa2d7d8(0x160)]=_0xd4a6d7,this['_messageService']=_0x264237,this['_notificationService']=_0x2916ff,this['_localeService']=_0x11e87d,this[_0xa2d7d8(0x122)](),this[_0xa2d7d8(0x254)]();}[_0x140f32(0x122)](){const _0x1c70e4=_0x140f32;this[_0x1c70e4(0x26b)](this[_0x1c70e4(0x152)][_0x1c70e4(0x159)](()=>{const _0x52b4a3=_0x1c70e4;if(this[_0x52b4a3(0x1d1)][_0x52b4a3(0x2a7)][_0x52b4a3(0x162)])return this['_localeService']['t'](_0x52b4a3(0x15e));}));}[_0x140f32(0x254)](){const _0x1752ac=_0x140f32;this['disposeWithMe'](this['_collaborationUIEventService'][_0x1752ac(0x1a6)][_0x1752ac(0x225)](_0x4abea3=>{const _0x8f28a6=_0x1752ac;_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x2a0)]&&this[_0x8f28a6(0x237)]['show']({'type':_0x44a7e1['MessageType']['Warning'],'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x167))}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x2a5)]&&this[_0x8f28a6(0x237)][_0x8f28a6(0x2b8)]({'type':_0x44a7e1[_0x8f28a6(0x143)][_0x8f28a6(0x2c2)],'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x347))}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x30c)]&&this[_0x8f28a6(0x271)][_0x8f28a6(0x2b8)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x14e)),'type':_0x8f28a6(0x320),'duration':0x0}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x1cc)]&&this[_0x8f28a6(0x237)][_0x8f28a6(0x2b8)]({'type':_0x44a7e1['MessageType'][_0x8f28a6(0x31b)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x4abea3[_0x8f28a6(0x33d)]+')'}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x376)]&&this['_messageService'][_0x8f28a6(0x2b8)]({'type':_0x44a7e1[_0x8f28a6(0x143)][_0x8f28a6(0x2c2)],'content':this['_localeService']['t'](_0x4abea3[_0x8f28a6(0x33d)]||'')}),_0x4abea3['id']===_0x55c138['CollaborationUIEventId'][_0x8f28a6(0x35b)]&&this['_messageService'][_0x8f28a6(0x2b8)]({'type':_0x44a7e1[_0x8f28a6(0x143)]['Warning'],'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x391))}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x328)]&&this['_messageService']['show']({'type':_0x44a7e1[_0x8f28a6(0x143)][_0x8f28a6(0x31b)],'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x332))}),_0x4abea3['id']===_0x55c138[_0x8f28a6(0x158)][_0x8f28a6(0x35e)]&&this[_0x8f28a6(0x237)][_0x8f28a6(0x2b8)]({'type':_0x44a7e1[_0x8f28a6(0x143)][_0x8f28a6(0x31b)],'content':this[_0x8f28a6(0x244)]['t'](_0x8f28a6(0x1e6))});}));}};_0x11f97c=_0x553bda([_0x2be453(0x0,_0x17254d['IBeforeCloseService']),_0x2be453(0x1,_0x55c138[_0x140f32(0x354)]),_0x2be453(0x2,_0x1061f8['Inject'](_0x55c138[_0x140f32(0x387)])),_0x2be453(0x3,_0x17254d[_0x140f32(0x22e)]),_0x2be453(0x4,_0x17254d[_0x140f32(0x183)]),_0x2be453(0x5,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x1fc)]))],_0x11f97c);const _0x373b98=_0x140f32(0x26f),_0x243b1c={},_0x1f2ba8=_0x1061f8['createIdentifier'](_0x140f32(0x311));var _0x489647=Object[_0x140f32(0x10b)],_0x4ebdb5=(_0x52607e,_0x45716f,_0x9ae11a,_0x5aa621)=>{const _0x8516b9=_0x140f32;for(var _0x8878cf=_0x5aa621>0x1?void 0x0:_0x5aa621?_0x489647(_0x45716f,_0x9ae11a):_0x45716f,_0x4e8ea3=_0x52607e[_0x8516b9(0x223)]-0x1,_0x521d6c;_0x4e8ea3>=0x0;_0x4e8ea3--)(_0x521d6c=_0x52607e[_0x4e8ea3])&&(_0x8878cf=_0x521d6c(_0x8878cf)||_0x8878cf);return _0x8878cf;},_0x81bda2=(_0x411620,_0x3a555d)=>(_0x54edb8,_0x2a7d8f)=>_0x3a555d(_0x54edb8,_0x2a7d8f,_0x411620);_0x5a5a65[_0x140f32(0x280)]=class extends _0x1061f8[_0x140f32(0x2f8)]{constructor(_0x19f493,_0x5f1ea0,_0x55d5c5,_0x3b21de,_0x42ea47){const _0x2fdbb3=_0x140f32;super(),this[_0x2fdbb3(0x1d6)]=_0x19f493,this[_0x2fdbb3(0x396)]=_0x5f1ea0,this[_0x2fdbb3(0x2bc)]=_0x55d5c5,this['_dataLoaderService']=_0x3b21de,_0x42ea47?_0x42ea47==null||_0x42ea47[_0x2fdbb3(0x359)]()[_0x2fdbb3(0x1f9)](()=>this[_0x2fdbb3(0x2c9)]()):(this[_0x2fdbb3(0x396)][_0x2fdbb3(0x360)](_0x2fdbb3(0x2e0),_0x2fdbb3(0x193)),this[_0x2fdbb3(0x2c9)]());}async[_0x140f32(0x2c9)](){const _0x1c0a8a=_0x140f32,_0x824df1=this[_0x1c0a8a(0x1d6)][_0x1c0a8a(0x278)](_0x1c0a8a(0x327)),_0x58f207=this['_urlService'][_0x1c0a8a(0x278)](_0x1c0a8a(0x374)),_0x3de98d=this['_urlService'][_0x1c0a8a(0x278)]('subunit');if(!_0x824df1||!_0x58f207){this[_0x1c0a8a(0x396)][_0x1c0a8a(0x360)](_0x1c0a8a(0x2e0),_0x1c0a8a(0x22d));return;}const _0x332e7e=await this[_0x1c0a8a(0x12a)][_0x1c0a8a(0x18d)](_0x824df1,Number(_0x58f207),_0x3de98d);_0x332e7e&&_0x332e7e instanceof _0x1061f8[_0x1c0a8a(0x31c)]&&this['_setupSubUnitSync'](_0x332e7e);}async[_0x140f32(0x1a2)](_0x5b3e61){const _0x5a7876=_0x140f32;await this['_updateSubUnitFromURLParams'](_0x5b3e61),_0x5b3e61['activeSheet$'][_0x5a7876(0x13a)](_0x3a20ae[_0x5a7876(0x36a)](this['dispose$']))[_0x5a7876(0x225)](_0x41cf2b=>{const _0x1abc80=_0x5a7876;_0x41cf2b&&this[_0x1abc80(0x2d0)](_0x41cf2b);}),this['_urlService']['urlChange$'][_0x5a7876(0x13a)](_0x3a20ae[_0x5a7876(0x36a)](this['dispose$']))[_0x5a7876(0x225)](()=>this[_0x5a7876(0x24e)](_0x5b3e61));}['_updateURLWithCurrentState'](_0x2e8c1d,_0x3ee953=!0x1){const _0x490627=_0x140f32,_0x640848=this[_0x490627(0x1d6)][_0x490627(0x278)]('subunit');_0x2e8c1d[_0x490627(0x21a)]()!==_0x640848&&this[_0x490627(0x1d6)][_0x490627(0x151)](_0x490627(0x1a0),_0x2e8c1d['getSheetId'](),_0x3ee953);}async[_0x140f32(0x24e)](_0x4ee051){const _0x4606e4=_0x140f32;var _0x1ec478;const _0x23d9bf=this[_0x4606e4(0x1d6)][_0x4606e4(0x278)]('subunit');if(!_0x23d9bf||!_0x4ee051[_0x4606e4(0x241)](_0x23d9bf)){const _0x3e3a3f=_0x4ee051[_0x4606e4(0x112)]()[0x0],_0x55de86=_0x4ee051[_0x4606e4(0x241)](_0x3e3a3f);if(!_0x55de86)return;this['_updateURLWithCurrentState'](_0x55de86,!0x0),await this[_0x4606e4(0x2bc)][_0x4606e4(0x19b)](_0x466e90['SetWorksheetActivateCommand']['id'],{'unitId':_0x4ee051[_0x4606e4(0x133)](),'subUnitId':_0x3e3a3f});return;}((_0x1ec478=_0x4ee051[_0x4606e4(0x124)]())==null?void 0x0:_0x1ec478[_0x4606e4(0x21a)]())!==_0x23d9bf&&await this['_commandService']['executeCommand'](_0x466e90[_0x4606e4(0x385)]['id'],{'unitId':_0x4ee051[_0x4606e4(0x133)](),'subUnitId':_0x23d9bf});}},_0x5a5a65[_0x140f32(0x280)]=_0x4ebdb5([_0x81bda2(0x0,_0x1f2ba8),_0x81bda2(0x1,_0x1061f8[_0x140f32(0x1be)]),_0x81bda2(0x2,_0x1061f8['ICommandService']),_0x81bda2(0x3,_0x1061f8[_0x140f32(0x364)](_0x55c138[_0x140f32(0x18e)])),_0x81bda2(0x4,_0x1061f8[_0x140f32(0x336)](_0x34b757[_0x140f32(0x236)]))],_0x5a5a65[_0x140f32(0x280)]);var _0x3ab485=Object[_0x140f32(0x10b)],_0x5268a0=(_0x304c11,_0x5caae5,_0x33e48f,_0x3be34c)=>{for(var _0x103280=_0x3be34c>0x1?void 0x0:_0x3be34c?_0x3ab485(_0x5caae5,_0x33e48f):_0x5caae5,_0x90046f=_0x304c11['length']-0x1,_0x3a508c;_0x90046f>=0x0;_0x90046f--)(_0x3a508c=_0x304c11[_0x90046f])&&(_0x103280=_0x3a508c(_0x103280)||_0x103280);return _0x103280;},_0x29345c=(_0x11ac8d,_0x49951c)=>(_0x2a47e2,_0x328ac4)=>_0x49951c(_0x2a47e2,_0x328ac4,_0x11ac8d);let _0x129f15=class{constructor(_0x3976c4,_0x2b7da5,_0x26f03d){const _0x1b2b28=_0x140f32;this[_0x1b2b28(0x2b5)]=_0x3976c4,this[_0x1b2b28(0x24a)]=_0x2b7da5,this[_0x1b2b28(0x12e)]=_0x26f03d;}[_0x140f32(0x3ab)](_0x445240){const _0x53ea65=_0x140f32;this['_transformUndoRedoStack'](_0x445240),this[_0x53ea65(0x14b)](_0x445240);}[_0x140f32(0x2d3)](_0x5eb044){const _0x52de16=_0x140f32,{unitID:_0x5e9a6e}=_0x5eb044,_0x29aad0=this['_renderManagerService'][_0x52de16(0x341)](_0x5e9a6e)['with'](_0x37c85e[_0x52de16(0x33a)]),{redoCache:_0x128336}=_0x29aad0[_0x52de16(0x272)]();if(_0x128336[_0x52de16(0x223)]===0x0)return _0x5eb044;let _0x373555=_0x1061f8['Tools'][_0x52de16(0x2d7)](_0x5eb044[_0x52de16(0x120)][0x0]);for(let _0x38c1bb=0x0;_0x38c1bb<_0x128336[_0x52de16(0x223)];_0x38c1bb++){const _0x5d8805={'id':_0x52de16(0x275),'params':{..._0x128336[_0x38c1bb]}},_0x3042f0=this[_0x52de16(0x24a)]['transformMutation'](_0x373555,_0x5d8805,!0x1);if(_0x50da05[_0x52de16(0x388)](_0x3042f0))throw _0x3042f0[_0x52de16(0x320)];_0x373555=_0x3042f0[_0x52de16(0x3a6)];}return{..._0x1061f8[_0x52de16(0x35f)]['deepClone'](_0x5eb044),'mutations':[_0x373555]};}['_transformUndoRedoStack'](_0x2fcf47){const _0x3fda71=_0x140f32,{unitID:_0x58c868}=_0x2fcf47,_0x208a40=this[_0x3fda71(0x12e)]['getRenderById'](_0x58c868)['with'](_0x37c85e[_0x3fda71(0x33a)]),{undoCache:_0x30f0c4,redoCache:_0x5b6f2e}=_0x208a40[_0x3fda71(0x272)]();if(_0x30f0c4[_0x3fda71(0x223)]===0x0||_0x5b6f2e[_0x3fda71(0x223)]===0x0)return;const _0x5a49a9=[],_0x10c2c8=[];let _0x6ae051=_0x1061f8[_0x3fda71(0x35f)][_0x3fda71(0x2d7)](_0x2fcf47['mutations'][0x0]),_0xa84b32=_0x1061f8[_0x3fda71(0x35f)][_0x3fda71(0x2d7)](_0x2fcf47[_0x3fda71(0x120)][0x0]);for(let _0xa3f433=_0x30f0c4['length']-0x1;_0xa3f433>=0x0;_0xa3f433--){const _0x5b100f={'id':_0x3fda71(0x275),'params':{..._0x30f0c4[_0xa3f433]}},_0x148285={'id':_0x3fda71(0x275),'params':{..._0x5b6f2e[_0xa3f433]}},_0x5a29bd=this['_transformService']['transformMutation'](_0x6ae051,_0x5b100f,!0x1),_0xcb4789=this[_0x3fda71(0x24a)][_0x3fda71(0x108)](_0xa84b32,_0x148285,!0x1);if(_0x50da05[_0x3fda71(0x388)](_0x5a29bd))throw _0x5a29bd[_0x3fda71(0x320)];if(_0x50da05[_0x3fda71(0x388)](_0xcb4789))throw _0xcb4789[_0x3fda71(0x320)];_0x5a49a9[_0x3fda71(0x20e)](_0x5a29bd['m2Prime'][_0x3fda71(0x343)]),_0x10c2c8[_0x3fda71(0x20e)](_0xcb4789[_0x3fda71(0x170)]['params']),_0x6ae051=_0x5a29bd['m1Prime'],_0xa84b32=_0xcb4789[_0x3fda71(0x3a6)];}_0x208a40[_0x3fda71(0x185)]({'undoCache':_0x5a49a9,'redoCache':_0x10c2c8});}[_0x140f32(0x14b)](_0x33f66c){const _0x4024f8=_0x140f32,{unitID:_0x165c7c}=_0x33f66c,_0x3f7d24=this[_0x4024f8(0x12e)]['getRenderById'](_0x165c7c)[_0x4024f8(0x21f)](_0x37c85e[_0x4024f8(0x33a)]),_0x4f5edb=_0x3f7d24['getActiveRange']();if(_0x4f5edb==null)return;const _0x3605d1=[{'id':_0x4024f8(0x275),'params':{'unitId':_0x33f66c[_0x4024f8(0x340)],'actions':null,'textRanges':[_0x4f5edb]}}],_0x15216d=this[_0x4024f8(0x24a)][_0x4024f8(0x3a2)](_0x33f66c,_0x3605d1);if(!_0x50da05['isTransformMutationsWithChangesetSuccess'](_0x15216d))throw _0x15216d[_0x4024f8(0x320)];const _0x248edd=_0x15216d[_0x4024f8(0x170)][0x0]['params'][_0x4024f8(0x1e3)];Array['isArray'](_0x248edd)&&_0x248edd[_0x4024f8(0x223)]&&_0x3f7d24[_0x4024f8(0x1b3)](_0x248edd[0x0]);}};_0x129f15=_0x5268a0([_0x29345c(0x0,_0x1061f8[_0x140f32(0x364)](_0x1061f8['Injector'])),_0x29345c(0x1,_0x50da05[_0x140f32(0x204)]),_0x29345c(0x2,_0x47852a[_0x140f32(0x1b9)])],_0x129f15);var _0x2ecd14=Object[_0x140f32(0x10b)],_0x4ead92=(_0x4b66bd,_0x266c9c,_0x3fd844,_0x3ffffd)=>{const _0x50ef76=_0x140f32;for(var _0xf83afa=_0x3ffffd>0x1?void 0x0:_0x3ffffd?_0x2ecd14(_0x266c9c,_0x3fd844):_0x266c9c,_0x52e5d9=_0x4b66bd[_0x50ef76(0x223)]-0x1,_0x389ef4;_0x52e5d9>=0x0;_0x52e5d9--)(_0x389ef4=_0x4b66bd[_0x52e5d9])&&(_0xf83afa=_0x389ef4(_0xf83afa)||_0xf83afa);return _0xf83afa;},_0x95b7ef=(_0x1e071e,_0x1a8216)=>(_0x5c899b,_0x489aa4)=>_0x1a8216(_0x5c899b,_0x489aa4,_0x1e071e);let _0x11a7aa=class{constructor(_0x4e7815,_0x20445d,_0x19c12e){const _0x9ddc67=_0x140f32;this['_injector']=_0x4e7815,this[_0x9ddc67(0x24a)]=_0x20445d,this['_docStateChangeManagerService']=_0x19c12e;}[_0x140f32(0x181)](_0x132071){const _0x3300a1=_0x140f32;this[_0x3300a1(0x194)](_0x132071);}[_0x140f32(0x2d3)](_0x12dab8){const _0x3ccb6e=_0x140f32,{unitID:_0x1367e4}=_0x12dab8,{collaboration:_0xc632ed}=this[_0x3ccb6e(0x30d)]['getStateCache'](_0x1367e4);if(_0xc632ed['length']===0x0)return _0x12dab8;let _0x500aaf=_0x1061f8[_0x3ccb6e(0x35f)][_0x3ccb6e(0x2d7)](_0x12dab8[_0x3ccb6e(0x120)][0x0]);for(let _0x2f0334=0x0;_0x2f0334<_0xc632ed['length'];_0x2f0334++){const _0x4fbbc5={'id':_0x3ccb6e(0x275),'params':{'unitId':_0xc632ed[_0x2f0334][_0x3ccb6e(0x16a)],..._0xc632ed[_0x2f0334][_0x3ccb6e(0x1fb)]}},_0x38d79f=this[_0x3ccb6e(0x24a)][_0x3ccb6e(0x108)](_0x500aaf,_0x4fbbc5,!0x1);if(_0x50da05[_0x3ccb6e(0x388)](_0x38d79f))throw _0x38d79f[_0x3ccb6e(0x320)];_0x500aaf=_0x38d79f[_0x3ccb6e(0x3a6)];}return{..._0x1061f8[_0x3ccb6e(0x35f)][_0x3ccb6e(0x2d7)](_0x12dab8),'mutations':[_0x500aaf]};}[_0x140f32(0x194)](_0x1e9ddf){const _0x1821d3=_0x140f32,{unitID:_0x1c1dee}=_0x1e9ddf,{history:_0x4aee48,collaboration:_0xc70eaa}=this['_docStateChangeManagerService'][_0x1821d3(0x346)](_0x1c1dee);if(_0x4aee48[_0x1821d3(0x223)]===0x0&&_0xc70eaa[_0x1821d3(0x223)]===0x0)return;const _0x46fb9f=[],_0x426cac=[];let _0x3c8048=_0x1061f8['Tools'][_0x1821d3(0x2d7)](_0x1e9ddf[_0x1821d3(0x120)][0x0]),_0x184dd4=_0x1061f8[_0x1821d3(0x35f)][_0x1821d3(0x2d7)](_0x1e9ddf[_0x1821d3(0x120)][0x0]);for(let _0xad2d9f=_0x4aee48['length']-0x1;_0xad2d9f>=0x0;_0xad2d9f--){const _0x2b703d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4aee48[_0xad2d9f][_0x1821d3(0x16a)],..._0x4aee48[_0xad2d9f]['undoState']}},_0x2a0cd1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4aee48[_0xad2d9f][_0x1821d3(0x16a)],..._0x4aee48[_0xad2d9f][_0x1821d3(0x1fb)]}},_0x1cc651=this[_0x1821d3(0x24a)][_0x1821d3(0x108)](_0x3c8048,_0x2b703d,!0x1),_0x56f28b=this[_0x1821d3(0x24a)][_0x1821d3(0x108)](_0x184dd4,_0x2a0cd1,!0x1);if(_0x50da05[_0x1821d3(0x388)](_0x1cc651))throw _0x1cc651[_0x1821d3(0x320)];if(_0x50da05[_0x1821d3(0x388)](_0x56f28b))throw _0x56f28b[_0x1821d3(0x320)];_0x46fb9f['unshift']({..._0x4aee48[_0xad2d9f],'undoState':_0x1cc651['m2Prime'][_0x1821d3(0x343)],'redoState':_0x56f28b[_0x1821d3(0x170)][_0x1821d3(0x343)]}),_0x3c8048=_0x1cc651[_0x1821d3(0x3a6)],_0x184dd4=_0x56f28b[_0x1821d3(0x3a6)];}_0x3c8048=_0x1061f8['Tools']['deepClone'](_0x1e9ddf['mutations'][0x0]),_0x184dd4=_0x1061f8[_0x1821d3(0x35f)][_0x1821d3(0x2d7)](_0x1e9ddf[_0x1821d3(0x120)][0x0]);for(let _0x452d12=_0xc70eaa[_0x1821d3(0x223)]-0x1;_0x452d12>=0x0;_0x452d12--){const _0x33bb61={'id':_0x1821d3(0x275),'params':{'unitId':_0xc70eaa[_0x452d12][_0x1821d3(0x16a)],..._0xc70eaa[_0x452d12][_0x1821d3(0x2cd)]}},_0x214546={'id':_0x1821d3(0x275),'params':{'unitId':_0xc70eaa[_0x452d12][_0x1821d3(0x16a)],..._0xc70eaa[_0x452d12]['redoState']}},_0x4cf2ae=this[_0x1821d3(0x24a)][_0x1821d3(0x108)](_0x3c8048,_0x33bb61,!0x1),_0xe9a31c=this[_0x1821d3(0x24a)][_0x1821d3(0x108)](_0x184dd4,_0x214546,!0x1);if(_0x50da05[_0x1821d3(0x388)](_0x4cf2ae))throw _0x4cf2ae[_0x1821d3(0x320)];if(_0x50da05[_0x1821d3(0x388)](_0xe9a31c))throw _0xe9a31c['error'];_0x426cac[_0x1821d3(0x20e)]({..._0xc70eaa[_0x452d12],'undoState':_0x4cf2ae[_0x1821d3(0x170)]['params'],'redoState':_0xe9a31c['m2Prime'][_0x1821d3(0x343)]}),_0x3c8048=_0x4cf2ae[_0x1821d3(0x3a6)],_0x184dd4=_0xe9a31c[_0x1821d3(0x3a6)];}this[_0x1821d3(0x30d)][_0x1821d3(0x2ef)](_0x1c1dee,{'history':_0x46fb9f,'collaboration':_0x426cac});}};_0x11a7aa=_0x4ead92([_0x95b7ef(0x0,_0x1061f8['Inject'](_0x1061f8['Injector'])),_0x95b7ef(0x1,_0x50da05[_0x140f32(0x204)]),_0x95b7ef(0x2,_0x1061f8[_0x140f32(0x364)](_0x37c85e['DocStateChangeManagerService']))],_0x11a7aa);var _0x26d6d4=Object[_0x140f32(0x10b)],_0x1e7621=(_0x115f80,_0x10bd0e,_0x299066,_0x3f644e)=>{const _0x4a2469=_0x140f32;for(var _0x1eab27=_0x3f644e>0x1?void 0x0:_0x3f644e?_0x26d6d4(_0x10bd0e,_0x299066):_0x10bd0e,_0x1961f6=_0x115f80[_0x4a2469(0x223)]-0x1,_0x108d25;_0x1961f6>=0x0;_0x1961f6--)(_0x108d25=_0x115f80[_0x1961f6])&&(_0x1eab27=_0x108d25(_0x1eab27)||_0x1eab27);return _0x1eab27;},_0x16e64f=(_0x34792d,_0x2e2d83)=>(_0xb96b30,_0x104e68)=>_0x2e2d83(_0xb96b30,_0x104e68,_0x34792d);let _0x2734ca=class{constructor(_0x91a9b5,_0xcdf692){const _0x123314=_0x140f32;this[_0x123314(0x2b5)]=_0x91a9b5,this[_0x123314(0x24a)]=_0xcdf692;}[_0x140f32(0x18c)](_0x294149){const _0x2f95bc=_0x140f32;var _0x307f69;const _0x46acb2=this[_0x2f95bc(0x2b5)]['get'](_0x4639f7[_0x2f95bc(0x114)]),_0x1f19ed=(_0x307f69=_0x46acb2[_0x2f95bc(0x16f)]())!=null?_0x307f69:[];if(_0x1f19ed[_0x2f95bc(0x223)]===0x0)return;const _0x26d526=_0x294149[_0x2f95bc(0x340)],_0x13da7a=[{'id':_0x2f95bc(0x275),'params':{'unitId':_0x26d526,'actions':null,'textRanges':_0x1f19ed}}],_0x53434b=this[_0x2f95bc(0x24a)]['transformMutationsWithChangeset'](_0x294149,_0x13da7a);if(!_0x50da05[_0x2f95bc(0x23b)](_0x53434b))throw _0x53434b['error'];const _0x294126=_0x53434b[_0x2f95bc(0x170)][0x0][_0x2f95bc(0x343)]['textRanges'];Array[_0x2f95bc(0x205)](_0x294126)&&_0x294126[_0x2f95bc(0x223)]&&_0x46acb2[_0x2f95bc(0x2aa)](_0x294126,{'unitId':_0x26d526,'subUnitId':_0x26d526},!0x1);}};_0x2734ca=_0x1e7621([_0x16e64f(0x0,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x178)])),_0x16e64f(0x1,_0x50da05['ITransformService'])],_0x2734ca);var _0x2afc4e=Object['getOwnPropertyDescriptor'],_0x5551c1=(_0x1b5ec1,_0x12d9e3,_0x347d56,_0x55fe5d)=>{const _0x225103=_0x140f32;for(var _0x3868f7=_0x55fe5d>0x1?void 0x0:_0x55fe5d?_0x2afc4e(_0x12d9e3,_0x347d56):_0x12d9e3,_0x588d6c=_0x1b5ec1[_0x225103(0x223)]-0x1,_0x3e6a06;_0x588d6c>=0x0;_0x588d6c--)(_0x3e6a06=_0x1b5ec1[_0x588d6c])&&(_0x3868f7=_0x3e6a06(_0x3868f7)||_0x3868f7);return _0x3868f7;},_0x128152=(_0x90ebd,_0x181d31)=>(_0x485e38,_0x31ff5b)=>_0x181d31(_0x485e38,_0x31ff5b,_0x90ebd);let _0x3c3322=class extends _0x1061f8[_0x140f32(0x2e7)]{constructor(_0xdc79cd,_0x4da355,_0x5d2404,_0x194ded,_0x590042,_0x1dc97f,_0x575cd5,_0x455602){const _0x1133c8=_0x140f32;super(),_0x9b1d7c(this,_0x1133c8(0x283),new _0x3a20ae[(_0x1133c8(0x36b))](_0x55c138[_0x1133c8(0x2f1)][_0x1133c8(0x310)])),(this[_0x1133c8(0x30d)]=_0xdc79cd,this[_0x1133c8(0x29f)]=_0x4da355,this[_0x1133c8(0x2cc)]=_0x5d2404,this[_0x1133c8(0x38a)]=_0x194ded,this[_0x1133c8(0x350)]=_0x590042,this[_0x1133c8(0x116)]=_0x1dc97f,this[_0x1133c8(0x237)]=_0x575cd5,this['_localeService']=_0x455602,this[_0x1133c8(0x123)]());}[_0x140f32(0x123)](){const _0x223a21=_0x140f32;this['disposeWithMe'](this[_0x223a21(0x29f)][_0x223a21(0x367)][_0x223a21(0x225)](_0x3f18e3=>{const _0x349e22=_0x223a21,_0x6e715e=this[_0x349e22(0x30d)][_0x349e22(0x202)][_0x349e22(0x225)](_0x3c583e=>{const _0x1d3434=_0x349e22;if(_0x3c583e==null)return;const {unitId:_0x416fd8,redoState:_0x17a942,commandId:_0x38363c}=_0x3c583e;if(_0x416fd8!==_0x3f18e3[_0x1d3434(0x340)])return;const _0x108024={'id':_0x38363c,'type':_0x1061f8[_0x1d3434(0x19c)]['MUTATION'],'params':{'unitId':_0x416fd8,'actions':_0x17a942['actions'],'textRanges':null}};_0x3f18e3['onLocalMutation'](_0x108024);});if(_0x3f18e3[_0x349e22(0x26b)](_0x6e715e),_0x3f18e3 instanceof _0x55c138['DocCollaborationEntity']){const _0xa519bf={'onTransformIME':_0x132161=>this[_0x349e22(0x2cc)][_0x349e22(0x3ab)](_0x132161),'onTransformState':_0x133a27=>this[_0x349e22(0x38a)][_0x349e22(0x181)](_0x133a27),'onTransformSelections':_0x431245=>this['_docTransformSelectionsService'][_0x349e22(0x18c)](_0x431245),'onSyncEditingCollabCursor':_0x2c40af=>this[_0x349e22(0x116)][_0x349e22(0x1ef)](_0x2c40af),'onTransformRemoteChangesetByIMECache':_0x4035c7=>this[_0x349e22(0x2cc)][_0x349e22(0x2d3)](_0x4035c7),'onTransformRemoteChangesetByStateCache':_0x4c4377=>this['_docTransformStateCacheService'][_0x349e22(0x2d3)](_0x4c4377)};_0x3f18e3[_0x349e22(0x2c4)](_0xa519bf);}}));}};_0x3c3322=_0x5551c1([_0x128152(0x0,_0x1061f8[_0x140f32(0x364)](_0x37c85e[_0x140f32(0x308)])),_0x128152(0x1,_0x1061f8['Inject'](_0x55c138[_0x140f32(0x1bb)])),_0x128152(0x2,_0x1061f8['Inject'](_0x129f15)),_0x128152(0x3,_0x1061f8[_0x140f32(0x364)](_0x11a7aa)),_0x128152(0x4,_0x1061f8[_0x140f32(0x364)](_0x2734ca)),_0x128152(0x5,_0x1061f8[_0x140f32(0x364)](_0x1162b2)),_0x128152(0x6,_0x17254d[_0x140f32(0x22e)]),_0x128152(0x7,_0x1061f8['Inject'](_0x1061f8[_0x140f32(0x1fc)]))],_0x3c3322);var _0x4733f5=Object[_0x140f32(0x10b)],_0x533825=(_0x1c28fa,_0x3c550c,_0x513eca,_0x3a8a36)=>{const _0x4a49cd=_0x140f32;for(var _0x67887f=_0x3a8a36>0x1?void 0x0:_0x3a8a36?_0x4733f5(_0x3c550c,_0x513eca):_0x3c550c,_0x2aa689=_0x1c28fa[_0x4a49cd(0x223)]-0x1,_0x54fc31;_0x2aa689>=0x0;_0x2aa689--)(_0x54fc31=_0x1c28fa[_0x2aa689])&&(_0x67887f=_0x54fc31(_0x67887f)||_0x67887f);return _0x67887f;},_0x3d6baa=(_0x44f0b8,_0x8d9885)=>(_0x3eed34,_0xef826a)=>_0x8d9885(_0x3eed34,_0xef826a,_0x44f0b8);let _0xda65eb=class extends _0x1061f8[_0x140f32(0x2e7)]{constructor(_0x5bfd9c,_0x17b61b,_0x4cc1c2){const _0x12e716=_0x140f32;super(),_0x9b1d7c(this,_0x12e716(0x305),new Map()),_0x9b1d7c(this,_0x12e716(0x3a8),new Map()),_0x9b1d7c(this,_0x12e716(0x276),!0x1),(this['_configService']=_0x5bfd9c,this[_0x12e716(0x140)]=_0x17b61b,this[_0x12e716(0x211)]=_0x4cc1c2);}[_0x140f32(0x2f9)](){const _0x16c5f2=_0x140f32;this[_0x16c5f2(0x276)]=!0x0;}[_0x140f32(0x177)](){const _0x30b1b1=_0x140f32;this[_0x30b1b1(0x276)]=!0x1;}get[_0x140f32(0x2a7)](){return this['_saveTaskMap'];}[_0x140f32(0x16d)](){const _0x43facb=_0x140f32;this['exhaustSavingTask']()[_0x43facb(0x1f9)](()=>super['dispose']());}async['loadOfflineData'](_0x54c26d){const _0x28190b=_0x140f32;return this[_0x28190b(0x276)]?null:this[_0x28190b(0x140)][_0x28190b(0x2af)](_0x55c138['getLocalCacheKey'](_0x54c26d));}async[_0x140f32(0x285)](_0x206e2e,_0x3b251f){const _0x25db7d=_0x140f32;return!!this[_0x25db7d(0x140)][_0x25db7d(0x12c)](_0x206e2e,_0x3b251f);}[_0x140f32(0x372)](_0x571985,_0xbfe339,_0x1b1a6a,_0x582665){const _0x2ccd7b=_0x140f32,_0x23b466=this[_0x2ccd7b(0x211)][_0x2ccd7b(0x1d3)](_0x571985);this[_0x2ccd7b(0x305)]['set'](_0x571985,{'unitID':_0x571985,'type':_0xbfe339,'awaitingChangeset':_0x1b1a6a,'mutations':_0x582665,'rev':_0x23b466}),this['_saveTaskMap'][_0x2ccd7b(0x171)](_0x571985)||this[_0x2ccd7b(0x37e)](_0x571985);}['_scheduleSaving'](_0x351b8d){const _0x380d7d=_0x140f32,_0x38a81c=this[_0x380d7d(0x2ed)]();_0x38a81c===0x0?this[_0x380d7d(0x3ac)](_0x351b8d):this[_0x380d7d(0x3a8)][_0x380d7d(0x266)](_0x351b8d,setTimeout(()=>this[_0x380d7d(0x3ac)](_0x351b8d),_0x38a81c));}['_getSaveTimeout'](){const _0x256a75=_0x140f32;var _0x275b64;return(_0x275b64=this['_configService'][_0x256a75(0x200)](_0x55c138[_0x256a75(0x2da)]))!=null?_0x275b64:_0x55c138[_0x256a75(0x195)];}['_saveCache'](_0x51b33b){const _0x3e3b8f=_0x140f32,_0x58ca3f=this[_0x3e3b8f(0x3a8)][_0x3e3b8f(0x382)](_0x51b33b);return _0x58ca3f!==void 0x0&&window[_0x3e3b8f(0x132)](_0x58ca3f),this[_0x3e3b8f(0x140)]['setItem'](_0x55c138[_0x3e3b8f(0x29a)](_0x51b33b),this['_cachedData'][_0x3e3b8f(0x382)](_0x51b33b))['then'](()=>this['_saveTaskMap']['delete'](_0x51b33b));}async[_0x140f32(0x1b4)](){const _0x48f82a=_0x140f32,_0x3c435f=[];this[_0x48f82a(0x3a8)][_0x48f82a(0x282)]((_0x24fd60,_0x421078)=>{const _0x10961a=_0x48f82a;window['clearTimeout'](_0x24fd60),_0x3c435f['push'](this[_0x10961a(0x3ac)](_0x421078)[_0x10961a(0x1f9)](()=>{const _0x4001da=_0x10961a;this[_0x4001da(0x3a8)]['delete'](_0x421078);}));}),await Promise[_0x48f82a(0x1f2)](_0x3c435f);}};_0xda65eb=_0x533825([_0x3d6baa(0x0,_0x1061f8[_0x140f32(0x334)]),_0x3d6baa(0x1,_0x1061f8[_0x140f32(0x2e2)]),_0x3d6baa(0x2,_0x1061f8[_0x140f32(0x364)](_0x50da05[_0x140f32(0x1ba)]))],_0xda65eb);class _0xe47c93 extends _0x1061f8[_0x140f32(0x2f8)]{constructor(){const _0x477239=_0x140f32;super(),_0x9b1d7c(this,'urlChange$'),this['urlChange$']=_0x3a20ae['fromEvent'](window,'popstate')[_0x477239(0x13a)](_0x3a20ae[_0x477239(0x36a)](this[_0x477239(0x1fe)]),_0x3a20ae['shareReplay'](0x1),_0x3a20ae[_0x477239(0x25a)](void 0x0));}[_0x140f32(0x151)](_0x72d6b7,_0x13fa43,_0x3abe64=!0x1){const _0x28b239=_0x140f32,_0x1b22f5=new URL(window[_0x28b239(0x38c)][_0x28b239(0x2fd)]);_0x1b22f5[_0x28b239(0x1a1)][_0x28b239(0x266)](_0x72d6b7,_0x13fa43),_0x3abe64?window[_0x28b239(0x1b6)][_0x28b239(0x2e3)]('','',_0x1b22f5[_0x28b239(0x3a7)]()):window[_0x28b239(0x1b6)][_0x28b239(0x13d)]('','',_0x1b22f5[_0x28b239(0x3a7)]());}[_0x140f32(0x2d4)](_0x517fa9,_0x5296df=!0x1){const _0x2348ca=_0x140f32,_0x22e786=new URL(window[_0x2348ca(0x38c)][_0x2348ca(0x2fd)]);_0x22e786[_0x2348ca(0x1a1)][_0x2348ca(0x18a)](_0x517fa9),_0x5296df?window[_0x2348ca(0x1b6)][_0x2348ca(0x2e3)]('','',_0x22e786[_0x2348ca(0x3a7)]()):window[_0x2348ca(0x1b6)][_0x2348ca(0x13d)]('','',_0x22e786['toString']());}[_0x140f32(0x278)](_0xeae979){const _0x2df018=_0x140f32;var _0x50e52d;return(_0x50e52d=new URL(window[_0x2df018(0x38c)][_0x2df018(0x2fd)])[_0x2df018(0x1a1)]['get'](_0xeae979))!=null?_0x50e52d:void 0x0;}}var _0x4c1bea=Object[_0x140f32(0x2eb)],_0x375c85=Object[_0x140f32(0x10b)],_0xc0896a=(_0x4b3f02,_0x4cb7d0,_0x7ace8e)=>_0x4cb7d0 in _0x4b3f02?_0x4c1bea(_0x4b3f02,_0x4cb7d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7ace8e}):_0x4b3f02[_0x4cb7d0]=_0x7ace8e,_0x116eae=(_0x4c2c9f,_0x11b787,_0x22bffe,_0x4d8148)=>{const _0x54f613=_0x140f32;for(var _0x908326=_0x4d8148>0x1?void 0x0:_0x4d8148?_0x375c85(_0x11b787,_0x22bffe):_0x11b787,_0x26baaa=_0x4c2c9f[_0x54f613(0x223)]-0x1,_0x8686d;_0x26baaa>=0x0;_0x26baaa--)(_0x8686d=_0x4c2c9f[_0x26baaa])&&(_0x908326=_0x8686d(_0x908326)||_0x908326);return _0x908326;},_0x2cd974=(_0x531f45,_0x10cf65)=>(_0x326e82,_0x31371b)=>_0x10cf65(_0x326e82,_0x31371b,_0x531f45),_0x433540=(_0xc9b9f7,_0x56aaad,_0x1b3d24)=>_0xc0896a(_0xc9b9f7,_0x56aaad+'',_0x1b3d24);const _0x4c1bf7=_0x140f32(0x357);_0x5a5a65[_0x140f32(0x2fc)]=class extends _0x1061f8[_0x140f32(0x2e6)]{constructor(_0x52e0e7=_0x243b1c,_0x420332,_0x55927d,_0x56fbc8){const _0x13f6e7=_0x140f32;super(),this[_0x13f6e7(0x1e8)]=_0x52e0e7,this[_0x13f6e7(0x12e)]=_0x420332,this[_0x13f6e7(0x2b5)]=_0x55927d,this[_0x13f6e7(0x1d8)]=_0x56fbc8;const {..._0x4bb743}=_0x1061f8[_0x13f6e7(0x28f)]({},_0x243b1c,this[_0x13f6e7(0x1e8)]);this[_0x13f6e7(0x1d8)][_0x13f6e7(0x144)](_0x373b98,_0x4bb743);}[_0x140f32(0x1b8)](){this['_registerDependencies'](),this['_initDependencies']();}['onRendered'](){const _0x4d06b3=_0x140f32;this[_0x4d06b3(0x179)]();}[_0x140f32(0x25f)](){const _0x56bf94=_0x140f32;var _0x2dda9a;const _0x5f5991=[[_0x23270c],[_0x2734ca],[_0x129f15],[_0x11a7aa],[_0x1162b2],[_0x1f2ba8,{'useClass':_0xe47c93}],[_0x2bf9f0[_0x56bf94(0x373)],{'useClass':_0x2bf9f0[_0x56bf94(0x27f)]}],[_0x55c138[_0x56bf94(0x354)],{'useClass':_0xda65eb}],[_0x5a5a65[_0x56bf94(0x37b)]],[_0x3c3322],[_0x11f97c],[_0xe5aa4e],[_0x131abd],[_0x5a5a65[_0x56bf94(0x280)]]];_0x1061f8[_0x56bf94(0x208)](this['_injector'],_0x1061f8['mergeOverrideWithDependencies'](_0x5f5991,(_0x2dda9a=this['_config'])==null?void 0x0:_0x2dda9a['override']));}[_0x140f32(0x179)](){const _0x3947ce=_0x140f32;this[_0x3947ce(0x26b)](this[_0x3947ce(0x12e)][_0x3947ce(0x248)](_0x1061f8[_0x3947ce(0x2f4)][_0x3947ce(0x2f3)],[_0x2f3eac])),this['disposeWithMe'](this[_0x3947ce(0x12e)][_0x3947ce(0x248)](_0x1061f8[_0x3947ce(0x2f4)][_0x3947ce(0x109)],[_0x27741d]));}['_initDependencies'](){const _0x35d688=_0x140f32;_0x1061f8['touchDependencies'](this['_injector'],[[_0xe5aa4e],[_0x5a5a65[_0x35d688(0x37b)]],[_0x3c3322],[_0x11f97c],[_0x5a5a65['CollaborationDataLoaderController']]]);}},_0x433540(_0x5a5a65[_0x140f32(0x2fc)],_0x140f32(0x38d),_0x4c1bf7),_0x5a5a65[_0x140f32(0x2fc)]=_0x116eae([_0x1061f8[_0x140f32(0x197)](_0x55c138[_0x140f32(0x230)]),_0x2cd974(0x1,_0x47852a[_0x140f32(0x1b9)]),_0x2cd974(0x2,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x178)])),_0x2cd974(0x3,_0x1061f8[_0x140f32(0x334)])],_0x5a5a65[_0x140f32(0x2fc)]);var _0x656121=Object['getOwnPropertyDescriptor'],_0xc696b4=(_0x1f2e5,_0x441c78,_0x5621b1,_0x2cef97)=>{const _0x703031=_0x140f32;for(var _0x12e115=_0x2cef97>0x1?void 0x0:_0x2cef97?_0x656121(_0x441c78,_0x5621b1):_0x441c78,_0x2eb2e5=_0x1f2e5[_0x703031(0x223)]-0x1,_0x3b976d;_0x2eb2e5>=0x0;_0x2eb2e5--)(_0x3b976d=_0x1f2e5[_0x2eb2e5])&&(_0x12e115=_0x3b976d(_0x12e115)||_0x12e115);return _0x12e115;},_0xeedb08=(_0x2e323a,_0x2787e1)=>(_0x3f4dc1,_0x15600b)=>_0x2787e1(_0x3f4dc1,_0x15600b,_0x2e323a);_0x5a5a65[_0x140f32(0x29e)]=class extends _0x55c138[_0x140f32(0x1c8)]{constructor(_0x5b9414,_0x4c93ba,_0x20c9b8,_0x5bfe64,_0x45adbd){super(_0x5b9414,_0x4c93ba,_0x20c9b8,_0x5bfe64,_0x45adbd);}async[_0x140f32(0x1fa)](_0x492447){const _0x3eba46=_0x140f32,_0x43056c=await this['_getSessionTicket'](),_0x3958af=this[_0x3eba46(0x214)](_0x492447,_0x43056c);return this[_0x3eba46(0x11e)](_0x3958af);}['_createSocketURL'](_0x549d40,_0x64105f){const _0x315a84=_0x140f32,_0x2e4833=typeof window>'u'?new URL(_0x549d40):new URL(_0x549d40,window[_0x315a84(0x38c)][_0x315a84(0x23c)]);_0x2e4833[_0x315a84(0x1a1)]['set'](_0x315a84(0x213),_0x64105f);const _0x1dea16=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x315a84(0x38c)][_0x315a84(0x32c)]);return _0x1dea16['get'](_0x315a84(0x390))&&_0x2e4833[_0x315a84(0x1a1)]['set'](_0x315a84(0x390),_0x1dea16[_0x315a84(0x382)](_0x315a84(0x390))),_0x2e4833[_0x315a84(0x3a7)]();}async[_0x140f32(0x2ab)](){const _0x35b584=_0x140f32;var _0x47ae54,_0x307ce9,_0x22a95;const _0x5b0e05=this[_0x35b584(0x1d8)][_0x35b584(0x200)](_0x55c138[_0x35b584(0x17d)]),_0x26c238=(_0x47ae54=_0x5b0e05==null?void 0x0:_0x5b0e05[_0x35b584(0x184)])!=null?_0x47ae54:_0x55c138[_0x35b584(0x155)];return(_0x22a95=(_0x307ce9=(await this[_0x35b584(0x2a9)][_0x35b584(0x382)](_0x26c238,{'headers':{'Content-Type':_0x35b584(0x2df)}}))[_0x35b584(0x1ca)])==null?void 0x0:_0x307ce9['ticket'])!=null?_0x22a95:'';}},_0x5a5a65[_0x140f32(0x29e)]=_0xc696b4([_0xeedb08(0x0,_0x1061f8[_0x140f32(0x364)](_0x1061f8[_0x140f32(0x178)])),_0xeedb08(0x1,_0x1061f8['Inject'](_0x2bf9f0[_0x140f32(0x233)])),_0xeedb08(0x2,_0x1061f8[_0x140f32(0x334)]),_0xeedb08(0x3,_0x1061f8[_0x140f32(0x1be)]),_0xeedb08(0x4,_0x50da05[_0x140f32(0x111)])],_0x5a5a65[_0x140f32(0x29e)]);const _0x14e3a1=0x7530,_0x196f4c=_0x140f32(0x274);class _0x89e3f9 extends _0x1061f8[_0x140f32(0x2e7)]{constructor(){const _0xa56989=_0x140f32;super(),_0x9b1d7c(this,_0xa56989(0x22f),_0x1061f8[_0xa56989(0x130)]()),_0x9b1d7c(this,_0xa56989(0x163),new Set()),_0x9b1d7c(this,_0xa56989(0x168),new Map()),_0x9b1d7c(this,_0xa56989(0x38f),null),_0x9b1d7c(this,_0xa56989(0x240),new Map()),_0x9b1d7c(this,_0xa56989(0x39c),new Map()),this['_init']();}['dispose'](){const _0x199fae=_0x140f32;super['dispose'](),this[_0x199fae(0x240)][_0x199fae(0x282)]((_0x4ea977,_0x20d359)=>this[_0x199fae(0x11b)](_0x20d359)),this[_0x199fae(0x38f)]&&window[_0x199fae(0x216)](this[_0x199fae(0x38f)]);}[_0x140f32(0x302)](_0x8f177d){const _0x27499a=_0x140f32;return this[_0x27499a(0x293)](_0x8f177d)[_0x27499a(0x13a)](_0x3a20ae[_0x27499a(0x329)]());}['editingUnit'](_0x57156e){const _0x41e230=_0x140f32;this[_0x41e230(0x163)][_0x41e230(0x162)]===0x0&&this[_0x41e230(0x28c)](),this['_selfUnitIDs'][_0x41e230(0x33c)](_0x57156e),this[_0x41e230(0x137)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x57156e],'isForwarded':!0x1});}[_0x140f32(0x148)](_0x4191e1){const _0x49ab85=_0x140f32;this[_0x49ab85(0x163)][_0x49ab85(0x18a)](_0x4191e1),this[_0x49ab85(0x163)][_0x49ab85(0x162)]===0x0&&this[_0x49ab85(0x38f)]&&window[_0x49ab85(0x216)](this[_0x49ab85(0x38f)]);}[_0x140f32(0x2c9)](){const _0x2acb1a=_0x140f32;this['disposeWithMe'](_0x1061f8[_0x2acb1a(0x292)](_0x3a20ae['fromEvent'](window,_0x2acb1a(0x25e))[_0x2acb1a(0x225)](_0x4d2764=>{const _0x401e19=_0x2acb1a;if(_0x4d2764[_0x401e19(0x1da)]!==_0x196f4c||!_0x4d2764[_0x401e19(0x13b)])return;const _0x5e4656=JSON[_0x401e19(0x1b0)](_0x4d2764['newValue']);this[_0x401e19(0x369)](_0x5e4656);}))),window['addEventListener'](_0x2acb1a(0x356),()=>this[_0x2acb1a(0x137)]({'type':0x1,'memberID':this[_0x2acb1a(0x22f)],'unitIDs':Array[_0x2acb1a(0x37c)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x207c00){const _0x38dee1=_0x140f32;switch(_0x207c00[_0x38dee1(0x374)]){case 0x0:this[_0x38dee1(0x153)](_0x207c00);break;case 0x1:this[_0x38dee1(0x33e)](_0x207c00);break;case 0x2:this[_0x38dee1(0x21b)](_0x207c00);break;}}['_handleJoinEvent'](_0x17f230){const _0x44122b=_0x140f32,{unitIDs:_0x88a300,memberID:_0x430d32,isForwarded:_0x36cd6e}=_0x17f230;_0x88a300[_0x44122b(0x282)](_0x3dd518=>{const _0x1b3306=_0x44122b;if(!_0x36cd6e&&this['_unitOnClients'][_0x1b3306(0x171)](_0x3dd518)&&this['_ensureSubject'](_0x3dd518)[_0x1b3306(0x2b7)](_0x55c138['UnitStatus'][_0x1b3306(0x34a)]),!this[_0x1b3306(0x168)]['has'](_0x3dd518)||!this['_unitOnClients'][_0x1b3306(0x382)](_0x3dd518)[_0x1b3306(0x171)](_0x430d32)){const _0x14b40f=this[_0x1b3306(0x168)][_0x1b3306(0x382)](_0x3dd518)||new Set();_0x14b40f[_0x1b3306(0x33c)](_0x430d32),this[_0x1b3306(0x168)][_0x1b3306(0x266)](_0x3dd518,_0x14b40f),this[_0x1b3306(0x201)](_0x430d32);}}),_0x36cd6e||this['_send']({'type':0x0,'memberID':this[_0x44122b(0x22f)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x140f32(0x201)](_0x2f0000){const _0x2fcbf0=_0x140f32;this['_removeClearOtherTimer'](_0x2f0000);const _0xb57c18=window[_0x2fcbf0(0x2a1)](()=>{const _0x2bb7ae=_0x2fcbf0;this['_unitOnClients'][_0x2bb7ae(0x282)](_0x97df11=>{_0x97df11['delete'](_0x2f0000);});},_0x14e3a1*0x2);this[_0x2fcbf0(0x240)][_0x2fcbf0(0x266)](_0x2f0000,_0xb57c18);}['_removeClearOtherTimer'](_0x1f6395){const _0x20a0a0=_0x140f32;if(this[_0x20a0a0(0x240)][_0x20a0a0(0x171)](_0x1f6395)){const _0x4a0ce9=this[_0x20a0a0(0x240)][_0x20a0a0(0x382)](_0x1f6395);_0x4a0ce9&&window[_0x20a0a0(0x132)](_0x4a0ce9),this[_0x20a0a0(0x240)][_0x20a0a0(0x266)](_0x1f6395,null);}}[_0x140f32(0x33e)](_0x305036){const _0xd0f851=_0x140f32,{memberID:_0x3fb135,unitIDs:_0x36cc94}=_0x305036;_0x36cc94[_0xd0f851(0x282)](_0xd8ea05=>{const _0xc29fa5=_0xd0f851;var _0x4e8079;const _0x57460a=this['_unitOnClients']['get'](_0xd8ea05);_0x57460a&&(_0x57460a[_0xc29fa5(0x18a)](_0x3fb135),(_0x4e8079=this[_0xc29fa5(0x293)](_0xd8ea05))==null||_0x4e8079[_0xc29fa5(0x2b7)](_0x57460a[_0xc29fa5(0x162)]===0x0?_0x55c138[_0xc29fa5(0x365)]['NO_OTHER_CLIENTS_EDITING']:_0x55c138['UnitStatus'][_0xc29fa5(0x34a)]));}),this[_0xd0f851(0x11b)](_0x3fb135);}[_0x140f32(0x21b)](_0x222ce6){const _0x459fc2=_0x140f32;this[_0x459fc2(0x201)](_0x222ce6[_0x459fc2(0x19d)]);}['_send'](_0x572c87){const _0x2a8a16=_0x140f32;localStorage[_0x2a8a16(0x12c)](_0x196f4c,JSON[_0x2a8a16(0x172)](_0x572c87));}[_0x140f32(0x28c)](){const _0x470b1d=_0x140f32;this['_heartbeatTimer']=window[_0x470b1d(0x316)](()=>{const _0x493069=_0x470b1d;this[_0x493069(0x137)]({'type':0x2,'memberID':this[_0x493069(0x22f)]});},_0x14e3a1);}['_ensureSubject'](_0x573d41){const _0x4f95e8=_0x140f32;return this[_0x4f95e8(0x39c)][_0x4f95e8(0x171)](_0x573d41)||this[_0x4f95e8(0x39c)][_0x4f95e8(0x266)](_0x573d41,new _0x3a20ae[(_0x4f95e8(0x36b))](_0x55c138[_0x4f95e8(0x365)][_0x4f95e8(0x289)])),this['_unitStatus'][_0x4f95e8(0x382)](_0x573d41);}}var _0x2e06d2=(_0x40da5f=>(_0x40da5f[_0x40da5f['UNDEFINED']=0x0]=_0x140f32(0x174),_0x40da5f[_0x40da5f['OK']=0x1]='OK',_0x40da5f[_0x40da5f[_0x140f32(0x28a)]=0x2]=_0x140f32(0x28a),_0x40da5f[_0x40da5f[_0x140f32(0x30c)]=0x3]=_0x140f32(0x30c),_0x40da5f[_0x40da5f[_0x140f32(0x228)]=0x4]=_0x140f32(0x228),_0x40da5f[_0x40da5f[_0x140f32(0x1ab)]=0x5]=_0x140f32(0x1ab),_0x40da5f[_0x40da5f[_0x140f32(0x1d5)]=0x6]=_0x140f32(0x1d5),_0x40da5f[_0x40da5f[_0x140f32(0x337)]=0x7]=_0x140f32(0x337),_0x40da5f[_0x40da5f[_0x140f32(0x24d)]=0x8]=_0x140f32(0x24d),_0x40da5f[_0x40da5f[_0x140f32(0x150)]=0x9]=_0x140f32(0x150),_0x40da5f[_0x40da5f[_0x140f32(0x13f)]=0xa]=_0x140f32(0x13f),_0x40da5f[_0x40da5f['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x140f32(0x20c),_0x40da5f[_0x40da5f[_0x140f32(0x22b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x40da5f[_0x40da5f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x140f32(0x33f),_0x40da5f[_0x40da5f[_0x140f32(0x304)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x40da5f[_0x40da5f[_0x140f32(0x2b0)]=0x1b59]=_0x140f32(0x2b0),_0x40da5f[_0x40da5f[_0x140f32(0x165)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x40da5f[_0x40da5f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x140f32(0x2c3),_0x40da5f[_0x40da5f[_0x140f32(0x298)]=0x1b5c]=_0x140f32(0x298),_0x40da5f[_0x40da5f[_0x140f32(0x287)]=0x1b5d]='APPLY_DUPLICATED',_0x40da5f[_0x40da5f[_0x140f32(0x269)]=0x1f41]=_0x140f32(0x269),_0x40da5f[_0x40da5f[_0x140f32(0x24b)]=0x2329]=_0x140f32(0x24b),_0x40da5f[_0x40da5f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x140f32(0x173),_0x40da5f[_0x40da5f[_0x140f32(0x247)]=0x232b]=_0x140f32(0x247),_0x40da5f[_0x40da5f[_0x140f32(0x1e7)]=0x232c]=_0x140f32(0x1e7),_0x40da5f[_0x40da5f[_0x140f32(0x32a)]=0x232d]=_0x140f32(0x32a),_0x40da5f[_0x40da5f[_0x140f32(0x264)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x40da5f[_0x40da5f[_0x140f32(0x19a)]=0x2712]=_0x140f32(0x19a),_0x40da5f[_0x40da5f['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x40da5f[_0x40da5f[_0x140f32(0x142)]=0x2714]=_0x140f32(0x142),_0x40da5f[_0x40da5f[_0x140f32(0x121)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x40da5f[_0x40da5f[_0x140f32(0x26a)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x40da5f[_0x40da5f[_0x140f32(0x29c)]=0x271c]=_0x140f32(0x29c),_0x40da5f[_0x40da5f['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x140f32(0x306),_0x40da5f[_0x40da5f[_0x140f32(0x2ac)]=0x271e]=_0x140f32(0x2ac),_0x40da5f[_0x40da5f['YUUMI_AI_RUN_FAILED']=0x271f]=_0x140f32(0x21c),_0x40da5f[_0x40da5f[_0x140f32(0x2ff)]=0x2af9]=_0x140f32(0x2ff),_0x40da5f[_0x40da5f[_0x140f32(0x260)]=0x2ee1]=_0x140f32(0x260),_0x40da5f[_0x40da5f[_0x140f32(0x175)]=0x2ee2]=_0x140f32(0x175),_0x40da5f[_0x40da5f[_0x140f32(0x2ad)]=0x2ee3]=_0x140f32(0x2ad),_0x40da5f[_0x40da5f[_0x140f32(0x30f)]=0x2ee4]=_0x140f32(0x30f),_0x40da5f[_0x40da5f[_0x140f32(0x1de)]=0x2ee5]=_0x140f32(0x1de),_0x40da5f[_0x40da5f[_0x140f32(0x288)]=0x32c9]=_0x140f32(0x288),_0x40da5f[_0x40da5f['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x140f32(0x1cb),_0x40da5f[_0x40da5f[_0x140f32(0x2fb)]=0x32cb]=_0x140f32(0x2fb),_0x40da5f[_0x40da5f['UNRECOGNIZED']=-0x1]=_0x140f32(0x1c7),_0x40da5f))(_0x2e06d2||{}),_0x27603f=Object[_0x140f32(0x10b)],_0xbd591=(_0x1338b2,_0x44fc0b,_0x5204e6,_0x41f3ed)=>{for(var _0x3a4e03=_0x41f3ed>0x1?void 0x0:_0x41f3ed?_0x27603f(_0x44fc0b,_0x5204e6):_0x44fc0b,_0x44054b=_0x1338b2['length']-0x1,_0x55a95d;_0x44054b>=0x0;_0x44054b--)(_0x55a95d=_0x1338b2[_0x44054b])&&(_0x3a4e03=_0x55a95d(_0x3a4e03)||_0x3a4e03);return _0x3a4e03;},_0x21f999=(_0x5bb0d3,_0x4c0e52)=>(_0x21d638,_0x497cc7)=>_0x4c0e52(_0x21d638,_0x497cc7,_0x5bb0d3);_0x5a5a65[_0x140f32(0x2bd)]=class extends _0x1061f8[_0x140f32(0x2e7)]{constructor(_0x2d5cdd,_0x5b0047,_0x146379){const _0x4e2548=_0x140f32;super(),this[_0x4e2548(0x2f5)]=_0x2d5cdd,this['_httpService']=_0x5b0047,this['_configService']=_0x146379;}async['runOnServer'](_0x5124f2,_0x45643e,_0x1369e7,..._0x36d483){const _0x562984=_0x140f32;var _0x457f7f,_0x537831,_0x1bc16d,_0x14e514;const _0xcab78f=this[_0x562984(0x2f5)][_0x562984(0x277)]();if(!_0xcab78f)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x42de94=((_0x457f7f=this['_configService'][_0x562984(0x200)](_0x55c138[_0x562984(0x118)]))!=null?_0x457f7f:_0x55c138[_0x562984(0x2cb)])+'/'+_0x5124f2+'/run/'+_0x45643e,_0x4145bd=new URL(window['location'][_0x562984(0x2fd)]),_0x5a02dc={'scriptId':_0x5124f2,'runId':(_0x537831=_0x4145bd[_0x562984(0x1a1)][_0x562984(0x382)](_0x562984(0x390)))!=null?_0x537831:'','function':_0x45643e,'unitId':_0xcab78f[_0x562984(0x133)](),'argsOfFunction':JSON[_0x562984(0x172)](_0x36d483),'invokeId':(_0x1bc16d=_0x1369e7[_0x562984(0x17c)])!=null?_0x1bc16d:'','executionId':(_0x14e514=_0x1369e7[_0x562984(0x107)])!=null?_0x14e514:''};try{const _0x268720=await this[_0x562984(0x2a9)][_0x562984(0x246)](_0x42de94,{'body':_0x5a02dc});return _0x268720[_0x562984(0x1ca)][_0x562984(0x320)]&&_0x268720['body'][_0x562984(0x320)]['code']!==_0x2e06d2['OK']?_0x562984(0x2fe):_0x268720[_0x562984(0x1ca)][_0x562984(0x27e)];}catch{return _0x562984(0x2fe);}}},_0x5a5a65['RemoteUniscriptService']=_0xbd591([_0x21f999(0x0,_0x1061f8['IUniverInstanceService']),_0x21f999(0x1,_0x1061f8[_0x140f32(0x364)](_0x2bf9f0['HTTPService'])),_0x21f999(0x2,_0x1061f8[_0x140f32(0x334)])],_0x5a5a65['RemoteUniscriptService']),_0x5a5a65[_0x140f32(0x1f5)]=_0x6adec3,_0x5a5a65[_0x140f32(0x1b2)]=_0x1f2ba8,_0x5a5a65[_0x140f32(0x245)]=_0x394568,_0x5a5a65['WebBrowserSingleActiveUnitService']=_0x89e3f9,_0x5a5a65[_0x140f32(0x1a4)]=_0xe47c93,Object[_0x140f32(0x2eb)](_0x5a5a65,Symbol['toStringTag'],{'value':_0x140f32(0x32d)});}));function _0x12c0(){const _0x59cae5=['url(#$1','_colorIndex','getValue','UniverRpc','filter','_initEvent','green.600','mask','_scene','string','UniverSheets','mapTo','useObservable','IImageIoService','random','storage','_registerDependencies','INVITE_CODE_HAS_BEEN_UES','_hideTimer','clipPath','cursorInfo','YUUMI_UNABLE_LOAD_URL','_onCursorDelete','set','getCurrentSelections','createElement','CONNECTOR_DATA_TOO_LARGE','YUUMI_ASYNCIO_CANCELLED','disposeWithMe','sheetID','trim','collabCursorState$','collaboration-client-ui.config','_refRangeService','_notificationService','getUndoRedoMutationParamsCache','column','ACTIVE_UNIT_EVENT_CHANNEL','doc.mutation.rich-text-editing','_disabled','getFocusedUnit','getParam','DocSkeletonManagerService','replace','push','useRef','collabStatus.synced','result','WebSocketService','CollaborationDataLoaderController','getVpScrollXYInfoByPosToVp','forEach','_status$','FETCH_MISS','saveOfflineData','_updateCollabCursors','APPLY_DUPLICATED','WECHAT_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','INTERNAL_ERROR','handleInsertRow','_scheduleHeartbeat','_initCommandExecutedListener','unsubscribe','merge','useCallback','SheetsSelectionsService','toDisposable','_ensureSubject','send','_docSkeletonManagerService','engine','defIds','APPLY_PERMISSION_DENIED','9753194NXuYuN','getLocalCacheKey','measureText','YUUMI_TABLE_NOT_FOUND_IN_UNIT','hide','BrowserCollaborationSocketService','_collaborationController','OTHER_CLIENT_EDITING','setTimeout','contains','_cursorInfo$','sheetId','CLOSE_ROOM','DOC_RANGE_TYPE','saveTaskMap','_entities','_httpService','replaceDocRanges','_getSessionTicket','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INVITE_CODE_REQUIRED','collab-text-anchor-','getItem','APPLY_REJECT','arc','_session','@univerjs-pro/collaboration','collab-text-range-','_injector','SetSelectionsOperation','next','show','onCommandExecuted','_removeCollabCursors','requireSession','_commandService','RemoteUniscriptService','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','skeleton','startColumn','getMemberID','Warning','APPLY_REVISION_CONFILICT','addHandlerCallback','SessionStatus','@univerjs/engine-render','985329kWvCyZ','hasOwnProperty','_init','_sheetSkeletonManagerService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_docTransformIMECacheService','undoState','runRefRangeMutations','_docSkeleton','_updateURLWithCurrentState','Shape','path','transformRemoteChangeset','removeParam','30oNvgAP','onPointerEnter$','deepClone','_refreshCollabCursors','currentColor','LOCAL_CACHE_INTERVAL_KEY','onTransformChange$','save','complete','UPDATE_CURSOR','application/json','[CollaborationDataLoaderController]','forwardRef','ILocalStorageService','replaceState','indexOf','getColor','Plugin','Disposable','handleMoveRange','fill','_onCursorUpdate','defineProperty','roomMembers','_getSaveTimeout','setShapeProps','setStateCache','restore','CollaborationStatus','fillText','UNIVER_DOC','UniverInstanceType','_instanceService','amd','DisposableCollection','RxDisposable','disableLocalCache','_getSheetObject','EMAIL_HAS_BEEN_BOUND','UniverCollaborationClientUIPlugin','href','Failed','PY_RUNTIME_SCRIPT_ERROR','getOwnPropertySymbols','min','getUnitStatus$','_textBubble','ENSURE_SNAPSHOT_EXECUTION','_cachedData','YUUMI_ALL_TABLES_IS_INVALID','createInstance','DocStateChangeManagerService','some','black','closePath','PERMISSION_DENIED','_docStateChangeManagerService','currentSkeleton$','USER_NOT_INVITED_CODE','NOT_COLLAB','uni.network.url-service','saveImage','div','combineLatest','row','setInterval','getSkeleton','_color','_getScale','_eventUnsubscribe','Error','Workbook','isActive','_entityInit$','startRow','error','SetTextSelectionsOperation','...','_memberService','TEXT_RANGE_LAYER_INDEX','eventID','svg','unit','SOCKET_FAILED','distinctUntilChanged','LICENSE_DISTRO_REJECTED','RemoveRowCommandId','search','Module','roomMembers$','_document','Rect','max','session.connection-failed','_context','IConfigService','CollaborationEvent','Optional','INVALID_ARGUMENT','url(#off-line-icon_clip0_910_343)','includes','DocIMEInputManagerService','icon','add','data','_handleLeaveEvent','SNAPSHOT_HAS_BEEN_REMOVED','unitID','getRenderById','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','params','concat','collabStatus.offline','getStateCache','collaboration.closeRoom','getRelativeToViewportCoord','_getMergeRange','OTHER_CLIENTS_EDITING','UniverProCollaborationClientUi','debounce','MoveRangeCommandId','getCellPositionByOffset','_online','_docTransformSelectionsService','handleInsertRangeMoveRight','getCurrent','getCollabEntity$','ILocalCacheService','OFFLINE','unload','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transform','whenReady','M0\x200H16V16H0z','SOCKET_FAILED_RETRY','jsxs','119NYOVGu','SUBMIT_CHANGESET_TIMEOUT','Tools','debug','endColumn','_cursorShapes','map','Inject','UnitStatus','rxjs/operators','entityInit$','_toggleOffline','_handleEvent','takeUntil','BehaviorSubject','ranges','_labelPosition','findNodePositionByCharIndex','children','@univerjs/sheets-ui','InsertRowCommandId','updateOfflineData','ISocketService','type','_syncEditingCollabCursorService','JOIN_ROOM_FAILED','511432uVaecl','handleDeleteRangeMoveUp','395855shPecc','registerRefRange','DesktopCollaborationStatusDisplayController','from','purple.300','_scheduleSaving','RECT','_docClipboardService','_shapes','get','Unknown\x20user','object','SetWorksheetActivateCommand','PENDING','CollaborationUIEventService','isTransformMutationFailure','onPointerLeave$','_docTransformStateCacheService','className','location','pluginName','xlink:href','_heartbeatTimer','runId','session.will-retry','_themeService','_handleHover','setAlpha','UniverDocsUi','_logService','displayName','registerComponent','off-line-icon','sessionStatus$','find','_unitStatus','_hover','use','selections','0\x200\x2016\x2016','143511YSVglc','transformMutationsWithChangeset','selection','DeleteRangeMoveLeftCommandId','AWAITING_WITH_PENDING','m1Prime','toString','_saveTaskMap','UniverDrawing','symbol','transformIMECache','_saveCache','_name','handleIRemoveCol','on-line-icon','executionId','transformMutation','UNIVER_SHEET','debounceTime','getOwnPropertyDescriptor','entries','hovered','_imageIoService','SHEET_VIEWPORT_KEY','_collabSessionService','ISnapshotServerService','getUnhiddenWorksheets','fillStyle','DocSelectionManagerService','getCollabCursors$','_docSyncEditingCollabCursorService','attrs','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','TRANSFORM_CHANGE_OBSERVABLE_TYPE','rgba(255,\x20255,\x20255,\x200.01)','_removeClearOtherTimer','1em','getViewport','_doCreateSocket','subscribeEvent','mutations','YUUMI_NO_CUBOID_FOR_QUESTION','_setupBeforeClosingHandler','_initEntityListener','getActiveSheet','getCoordByCell','@univerjs/network','useDependency','HEADER_MENU','@univerjs/ui','_dataLoaderService','bottom','setItem','_anchorDot','_renderManagerService','name','generateRandomId','split','clearTimeout','getUnitId','getColorFromTheme','@univerjs-pro/collaboration-client','tag','_send','@univerjs/core','ICommandService','pipe','newValue','switchMap','pushState','round','LOGIN_FAILED','_localStorageService','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','YUUMI_SUBSCRIPTION_NOT_FOUND','MessageType','setConfig','asObservable','_render','_onRefRangeChange','disposeUnit','collabStatus.fetchMiss','extend','_transformPreviousActiveRange','_drawAnchor','reconnect','permission.content','_drawRectRange','COMPLETION_FINISHED','setParam','_beforeCloseService','_handleJoinEvent','univer-flex\x20univer-items-center','DEFAULT_WS_SESSION_TICKET_URL','OnLineIcon','red.300','CollaborationUIEventId','registerBeforeClose','BuiltInUIPart','white','getTypeOfUnitDisposed$','_cursor','collaboration-client.offline-data-not-saved','onMouseMove','_collaborationUIEventService','react/jsx-runtime','size','_selfUnitIDs','COLORS','APPLY_NON_SEQUENTIAL_REVISION','function','collaboration.single-unit.warning','_unitOnClients','addObjects','unitId','range','assign','dispose','values','getDocRanges','m2Prime','has','stringify','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UNDEFINED','INVALID_INVITE_CODE','MemberService','enableLocalCache','Injector','_registerRenderDependencies','UniverEngineRender','text','invokeId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','@univerjs/drawing','lineTo','cursorInfo$','transformStateCache','color','INotificationService','wsSessionTicketUrl','setUndoRedoMutationParamsCache','_univerInstanceService','colorChannel1','_startSheetCollabCursor','getAncestorScale','delete','UniverProCollaboration','transformSelections','loadUnit','DataLoaderService','#FFF','univerjs-icon\x20univerjs-icon-','yellow.400','defs','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_transformHistoryAndStateStack','LOCAL_CACHE_INTERVAL','source','DependentOn','font','assignAColorForMemberID','YUUMI_URL_COL_OUT_OF_RANGE','executeCommand','CommandType','memberID','CollaborationSessionService','collabStatus.conflict','subunit','searchParams','_setupSubUnitSync','throttleTime','WebURLService','getRangePointData','event$','Vector2','_colorAssignService','_collabCursorState$','connectInjector','UNAUTHENTICATED','@univerjs/sheets','toRgbString','_startDocCollabCursor','_roomMembers$','parse','_updateLocalCursor','IURLService','setActiveRange','exhaustSavingTask','_assignedColors','history','prototype','onStarting','IRenderManagerService','RevisionService','CollaborationController','SheetSkeletonManagerService','_toggleOnline','ILogService','_initStatusListener','jsx','backgroundColor','url(#on-line-icon_clip0_910_349)','addObject','@univerjs/engine-formula','translate(.97)','@univerjs/docs','UNRECOGNIZED','CollaborationSocketService','NodePositionConvertToRectRange','body','MOBILE_HAS_BEEN_BOUND','CONFLICT','on-line-icon_clip0_910_349','AWAITING','OffLineIcon','_anchor','_localCacheService','serializeRangeWithSheet','getCurrentRevOfUnit','_cursors','ALREADY_EXISTS','_urlService','UniverEngineFormula','_configService','focused$','key','IUIPartsService','_draw','blue.400','INVITE_CODE_ALREADY_BOUND','@univerjs/design','_lastPointer','deserializeRangeWithSheet','init','textRanges','RemoveColCommandId','handleIRemoveRow','session.collaboration-timeout','LICENSE_EXPORT_SIZE_EXCEEDED','_config','679124TDlbuh','startsWith','_hovered','_collabCursorController','@univerjs/rpc','clsx','syncEditingCollabCursor','React','width','all','flatMap','24zWfpMa','CollaborationStatusDisplay','RefRangeService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverSheetsUi','then','createSocket','redoState','LocaleService','triggerDblclick','dispose$','_getAnchorBounding','getConfig','_scheduleClearOtherTimer','docStateChange$','_range','ITransformService','isArray','SetDocZoomRatioOperation','ColorKit','registerDependencies','730071JfjSfW','operators','ONLINE','CHANGESET_REVISION_CONFILICT','substring','unshift','evenodd','_drawTextRange','_revisionService','http://www.w3.org/2000/svg','sessionTicket','_createSocketURL','ThemeService','clearInterval','idSuffix','_uiPartsService','RegularPolygon','getSheetId','_handleHeartbeatEvent','YUUMI_AI_RUN_FAILED','drawWith','fromEventSubject','with','_initResize','_initStatusComponent','status$','length','moveTo','subscribe','88otdwoF','call','NOT_FOUND','_backgroundColor','exports','SNAPSHOT_INVALID_SNAPSHOT','UniverNetwork','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IMessageService','_id','UniverCollaborationClientPlugin','IUniverInstanceService','FromArray','HTTPService','EffectRefRangId','height','IRemoteInstanceService','_messageService','SYNCED','VIEW_MAIN','collabStatus.syncing','isTransformMutationsWithChangesetSuccess','origin','transformByState','getMember','rxjs','_clearOtherTimers','getSheetBySheetId','top','UniverDocs','_localeService','SheetCollabCursorShape','post','LICENSE_IMPORT_SIZE_EXCEEDED','registerRenderModule','react','_transformService','LICENSE_MAX_UNITS_EXCEEDED','currentTheme$','TOO_MANY_REQUESTS','_updateSubUnitFromURLParams'];_0x12c0=function(){return _0x59cae5;};return _0x12c0();}
|