@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506151606 → 0.8.1-nightly.202506161607
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(_0x429795,_0x4a186d){const _0x4bb4c7=_0x4b9e,_0x20177c=_0x429795();while(!![]){try{const _0x355f69=parseInt(_0x4bb4c7(0x38a))/0x1*(parseInt(_0x4bb4c7(0x1fd))/0x2)+-parseInt(_0x4bb4c7(0x1b7))/0x3+parseInt(_0x4bb4c7(0x2ea))/0x4*(parseInt(_0x4bb4c7(0x3f5))/0x5)+-parseInt(_0x4bb4c7(0x20f))/0x6*(-parseInt(_0x4bb4c7(0x342))/0x7)+parseInt(_0x4bb4c7(0x3e3))/0x8+-parseInt(_0x4bb4c7(0x33c))/0x9+parseInt(_0x4bb4c7(0x2a8))/0xa*(-parseInt(_0x4bb4c7(0x442))/0xb);if(_0x355f69===_0x4a186d)break;else _0x20177c['push'](_0x20177c['shift']());}catch(_0x9e5a8f){_0x20177c['push'](_0x20177c['shift']());}}}(_0x4f30,0x79816),function(_0x40e2d5,_0x2acdbe){const _0x3d5d9e=_0x4b9e;typeof exports==_0x3d5d9e(0x430)&&typeof module<'u'?_0x2acdbe(exports,require(_0x3d5d9e(0x282)),require(_0x3d5d9e(0x318)),require('@univerjs/engine-render'),require('@univerjs/network'),require(_0x3d5d9e(0x32f)),require('@univerjs/drawing'),require(_0x3d5d9e(0x31b)),require(_0x3d5d9e(0x426)),require(_0x3d5d9e(0x293)),require(_0x3d5d9e(0x1c8)),require(_0x3d5d9e(0x30a)),require('rxjs/operators'),require(_0x3d5d9e(0x2d0)),require('react/jsx-runtime'),require(_0x3d5d9e(0x413)),require(_0x3d5d9e(0x1b6)),require(_0x3d5d9e(0x376)),require('@univerjs/rpc')):typeof define=='function'&&define['amd']?define([_0x3d5d9e(0x331),_0x3d5d9e(0x282),_0x3d5d9e(0x318),_0x3d5d9e(0x3cf),_0x3d5d9e(0x235),'@univerjs/docs-ui','@univerjs/drawing',_0x3d5d9e(0x31b),_0x3d5d9e(0x426),_0x3d5d9e(0x293),_0x3d5d9e(0x1c8),'@univerjs/sheets',_0x3d5d9e(0x3f3),_0x3d5d9e(0x2d0),_0x3d5d9e(0x32e),_0x3d5d9e(0x413),_0x3d5d9e(0x1b6),_0x3d5d9e(0x376),_0x3d5d9e(0x20b)],_0x2acdbe):(_0x40e2d5=typeof globalThis<'u'?globalThis:_0x40e2d5||self,_0x2acdbe(_0x40e2d5[_0x3d5d9e(0x1fa)]={},_0x40e2d5[_0x3d5d9e(0x264)],_0x40e2d5[_0x3d5d9e(0x36a)],_0x40e2d5[_0x3d5d9e(0x237)],_0x40e2d5['UniverNetwork'],_0x40e2d5[_0x3d5d9e(0x203)],_0x40e2d5['UniverDrawing'],_0x40e2d5[_0x3d5d9e(0x31b)],_0x40e2d5[_0x3d5d9e(0x1c7)],_0x40e2d5[_0x3d5d9e(0x29b)],_0x40e2d5[_0x3d5d9e(0x244)],_0x40e2d5[_0x3d5d9e(0x1ca)],_0x40e2d5['rxjs'][_0x3d5d9e(0x3b9)],_0x40e2d5['UniverSheetsUi'],_0x40e2d5['React'],_0x40e2d5[_0x3d5d9e(0x407)],_0x40e2d5['UniverDesign'],_0x40e2d5['React'],_0x40e2d5[_0x3d5d9e(0x206)]));}(this,function(_0x43eb57,_0x260a16,_0x59adf4,_0x18f11f,_0x4426b1,_0x57e1c6,_0x86f71e,_0x23d3ed,_0x4c95c4,_0x31ad25,_0x4ec2c6,_0x315e9e,_0xbdafbc,_0x3a2c75,_0x680642,_0x2ef7b5,_0x4e8a35,_0x288b13,_0x3aa47b){'use strict';const _0x50570e=_0x4b9e;var _0x32b051=Object[_0x50570e(0x1f5)],_0x4c45a7=(_0x978971,_0x1fa27c,_0x6c336c)=>_0x1fa27c in _0x978971?_0x32b051(_0x978971,_0x1fa27c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x6c336c}):_0x978971[_0x1fa27c]=_0x6c336c,_0x42c1e1=(_0x4f5e63,_0xce6fcc,_0x3015e6)=>_0x4c45a7(_0x4f5e63,typeof _0xce6fcc!=_0x50570e(0x23e)?_0xce6fcc+'':_0xce6fcc,_0x3015e6),_0x5c714d=Object['getOwnPropertyDescriptor'],_0x402d0e=(_0x343b8c,_0x56ec6b,_0x39555b,_0x350fe1)=>{const _0xf77f81=_0x50570e;for(var _0x36c8be=_0x350fe1>0x1?void 0x0:_0x350fe1?_0x5c714d(_0x56ec6b,_0x39555b):_0x56ec6b,_0x14523d=_0x343b8c[_0xf77f81(0x37d)]-0x1,_0xce1ed1;_0x14523d>=0x0;_0x14523d--)(_0xce1ed1=_0x343b8c[_0x14523d])&&(_0x36c8be=_0xce1ed1(_0x36c8be)||_0x36c8be);return _0x36c8be;},_0x4abd01=(_0x381da9,_0x1d8af8)=>(_0x427313,_0x3a901c)=>_0x1d8af8(_0x427313,_0x3a901c,_0x381da9);let _0x6299ee=class extends _0x59adf4['RxDisposable']{constructor(_0x3e29a8,_0x3825f9){const _0x39206e=_0x50570e;super(),this[_0x39206e(0x2ce)]=_0x3e29a8,this['_imageIoService']=_0x3825f9,this[_0x39206e(0x359)]();}[_0x50570e(0x359)](){const _0x211857=_0x50570e,_0x2b9b46=this;this['disposeWithMe'](this[_0x211857(0x2ce)][_0x211857(0x24e)]({'onBeforePasteImage':async _0x2f3eeb=>{const _0x524718=_0x211857,_0x258005=await _0x2b9b46[_0x524718(0x337)]['saveImage'](_0x2f3eeb);return _0x258005?{'source':_0x258005['source'],'imageSourceType':_0x258005['imageSourceType']}:null;}}));}};_0x6299ee=_0x402d0e([_0x4abd01(0x0,_0x57e1c6['IDocClipboardService']),_0x4abd01(0x1,_0x86f71e['IImageIoService'])],_0x6299ee);const _0x345df9=[_0x50570e(0x29e),_0x50570e(0x2aa),'green.600',_0x50570e(0x43c),'blue.400',_0x50570e(0x1bc)];class _0x4923e7 extends _0x59adf4[_0x50570e(0x1d7)]{constructor(){const _0x4578ed=_0x50570e;super(...arguments),_0x42c1e1(this,_0x4578ed(0x28f),new Map()),_0x42c1e1(this,_0x4578ed(0x443),0x0);}['assignAColorForMemberID'](_0x59190d){const _0x1470f3=_0x50570e;if(this[_0x1470f3(0x28f)][_0x1470f3(0x1b4)](_0x59190d))return this[_0x1470f3(0x28f)][_0x1470f3(0x1d4)](_0x59190d);const _0x55c090=_0x345df9[this[_0x1470f3(0x443)]];return this['_colorIndex']=(this[_0x1470f3(0x443)]+0x1)%_0x345df9['length'],this[_0x1470f3(0x28f)][_0x1470f3(0x332)](_0x59190d,_0x55c090),_0x55c090;}}function _0x2d0524(_0x158f38){const _0x2bf719=_0x50570e;let _0x5f4635='';for(const _0x3414c8 of _0x158f38){const {startOffset:_0x4d58a1,endOffset:_0x365a11,isActive:_0x36c919,rangeType:_0x5d37f1,segmentId:_0x45a5a9,segmentPage:_0x30f61d}=_0x3414c8;_0x5f4635[_0x2bf719(0x37d)]&&(_0x5f4635+=','),_0x5f4635+=_0x4d58a1+':'+_0x365a11+':'+(_0x36c919?'1':'0')+':'+_0x5d37f1+':'+_0x45a5a9+':'+_0x30f61d;}return _0x5f4635;}function _0x4ac9f0(_0x422618){const _0x59fcba=_0x50570e,_0x4311b2=_0x422618[_0x59fcba(0x38e)](','),_0x2de1de=[];for(const _0x69fb9d of _0x4311b2){const [_0x590f20,_0x2fc89e,_0x4d8540,_0x1893ea,_0xbf44dc,_0x1ac5fb]=_0x69fb9d[_0x59fcba(0x38e)](':');_0x2de1de['push']({'startOffset':Number(_0x590f20),'endOffset':Number(_0x2fc89e),'collapsed':_0x590f20===_0x2fc89e,'isActive':_0x4d8540==='1','rangeType':_0x1893ea===_0x59adf4['DOC_RANGE_TYPE'][_0x59fcba(0x38d)]?_0x59adf4['DOC_RANGE_TYPE'][_0x59fcba(0x38d)]:_0x59adf4['DOC_RANGE_TYPE'][_0x59fcba(0x242)],'segmentId':typeof _0xbf44dc==_0x59fcba(0x29d)?String(_0xbf44dc):'','segmentPage':Number(_0x1ac5fb!=null?_0x1ac5fb:-0x1)});}return _0x2de1de[_0x59fcba(0x28d)](_0x58b1dc=>_0x58b1dc[_0x59fcba(0x382)])||(_0x2de1de[0x0][_0x59fcba(0x382)]=!0x0),_0x2de1de;}class _0x4f4f90 extends _0x59adf4[_0x50570e(0x316)]{constructor(){const _0x422553=_0x50570e;super(...arguments),_0x42c1e1(this,_0x422553(0x1e6),new _0x23d3ed[(_0x422553(0x42d))](null)),_0x42c1e1(this,_0x422553(0x207),this[_0x422553(0x1e6)]['asObservable']());}[_0x50570e(0x296)](_0x142613){const _0x1f644d=_0x50570e,{unitID:_0x2e7cbb,memberID:_0x2482f0,textRanges:_0x2701c6}=_0x142613,_0x240ad5=_0x2d0524(_0x2701c6);if(_0x240ad5==='')return;const _0xfa310e={'unitID':_0x2e7cbb,'memberID':_0x2482f0,'selection':_0x240ad5};this[_0x1f644d(0x1e6)][_0x1f644d(0x21a)](_0xfa310e);}}var _0x20bb72=Object['getOwnPropertyDescriptor'],_0x33c05d=(_0x3c3769,_0x3f2f7b,_0x4b0046,_0x11a1dc)=>{const _0x2b70a5=_0x50570e;for(var _0x235579=_0x11a1dc>0x1?void 0x0:_0x11a1dc?_0x20bb72(_0x3f2f7b,_0x4b0046):_0x3f2f7b,_0x148f6d=_0x3c3769[_0x2b70a5(0x37d)]-0x1,_0x3cf93d;_0x148f6d>=0x0;_0x148f6d--)(_0x3cf93d=_0x3c3769[_0x148f6d])&&(_0x235579=_0x3cf93d(_0x235579)||_0x235579);return _0x235579;},_0x18916b=(_0x474ceb,_0x2fe61e)=>(_0x223e92,_0x36e55a)=>_0x2fe61e(_0x223e92,_0x36e55a,_0x474ceb);const _0xc20899=0x12c,_0x5c9584=0x64;let _0x468cc6=class extends _0x59adf4[_0x50570e(0x316)]{constructor(_0xb636e9,_0xfc53d1,_0x2fc924,_0x30f056,_0x5a53e0,_0x2044ba,_0x3e2a62,_0x4c1f03,_0x4cdf38){const _0x4cbf60=_0x50570e;super(),_0x42c1e1(this,_0x4cbf60(0x2cf),!0x1),_0x42c1e1(this,'_init',!0x1),_0x42c1e1(this,_0x4cbf60(0x2fe),new _0x23d3ed[(_0x4cbf60(0x42d))](new Map())),_0x42c1e1(this,_0x4cbf60(0x38b),this[_0x4cbf60(0x2fe)]['asObservable']()),_0x42c1e1(this,_0x4cbf60(0x1c1),new _0x23d3ed[(_0x4cbf60(0x42d))]([])),_0x42c1e1(this,_0x4cbf60(0x286),this[_0x4cbf60(0x1c1)][_0x4cbf60(0x41f)](_0x23d3ed['debounceTime'](_0xc20899))),_0x42c1e1(this,_0x4cbf60(0x43b),_0x59adf4['debounce'](_0x2df918=>{const _0x3a6536=_0x4cbf60,_0x5d7f3c={'eventID':_0x31ad25[_0x3a6536(0x2e2)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3a6536(0x411)],'memberID':this['_session'][_0x3a6536(0x303)](),'selection':_0x2d0524(_0x2df918)}};this[_0x3a6536(0x44a)]['send'](_0x5d7f3c,this[_0x3a6536(0x411)]);},_0x5c9584)),(this['unitID']=_0xb636e9,this['_session']=_0xfc53d1,this['_injector']=_0x2fc924,this['_colorAssignService']=_0x30f056,this[_0x4cbf60(0x438)]=_0x5a53e0,this[_0x4cbf60(0x34a)]=_0x2044ba,this[_0x4cbf60(0x384)]=_0x3e2a62,this[_0x4cbf60(0x284)]=_0x4c1f03,this[_0x4cbf60(0x2d4)]=_0x4cdf38);}get[_0x50570e(0x1b3)](){const _0x409746=_0x50570e;return this[_0x409746(0x2fe)][_0x409746(0x3aa)]();}get[_0x50570e(0x3d6)](){const _0x5dd57d=_0x50570e;return this[_0x5dd57d(0x1c1)]['getValue']();}[_0x50570e(0x392)](){const _0x3f52f5=_0x50570e;super[_0x3f52f5(0x392)](),this[_0x3f52f5(0x2fe)][_0x3f52f5(0x21a)](new Map()),this[_0x3f52f5(0x2fe)][_0x3f52f5(0x31d)](),this[_0x3f52f5(0x1c1)][_0x3f52f5(0x21a)]([]),this['_roomMembers$'][_0x3f52f5(0x31d)]();}[_0x50570e(0x2b9)](){const _0x6bc9ee=_0x50570e;this[_0x6bc9ee(0x359)]||(this[_0x6bc9ee(0x359)]=!0x0,this['_session'][_0x6bc9ee(0x1f6)][_0x6bc9ee(0x41f)](_0x23d3ed[_0x6bc9ee(0x2c7)](this['dispose$']))[_0x6bc9ee(0x227)](_0x470612=>{const _0x2de9ee=_0x6bc9ee;_0x470612===_0x260a16[_0x2de9ee(0x301)][_0x2de9ee(0x216)]?this[_0x2de9ee(0x30e)]():this['_toggleOffline']();}),this[_0x6bc9ee(0x44a)][_0x6bc9ee(0x1e1)][_0x6bc9ee(0x41f)](_0x23d3ed['takeUntil'](this['dispose$']))[_0x6bc9ee(0x227)](_0x55ed48=>{const _0x5a3528=_0x6bc9ee,_0x166b40=_0x55ed48[_0x5a3528(0x2d1)];_0x166b40===_0x31ad25[_0x5a3528(0x2e2)][_0x5a3528(0x2f0)]&&this[_0x5a3528(0x278)](_0x55ed48),_0x166b40===_0x31ad25[_0x5a3528(0x2e2)][_0x5a3528(0x1fe)]&&this[_0x5a3528(0x226)](_0x55ed48);}),this[_0x6bc9ee(0x1c0)](this[_0x6bc9ee(0x2d4)]['onCommandExecuted'](_0x4b162b=>{const _0x4b21d7=_0x6bc9ee,_0x3cfa50=_0x4b162b[_0x4b21d7(0x302)];_0x3cfa50!=null&&this[_0x4b21d7(0x2cf)]&&_0x4b162b['id']===_0x4c95c4[_0x4b21d7(0x36b)]['id']&&_0x3cfa50[_0x4b21d7(0x44c)]===this[_0x4b21d7(0x411)]&&_0x3cfa50[_0x4b21d7(0x230)]===!0x1&&_0x3cfa50[_0x4b21d7(0x3d2)][_0x4b21d7(0x37d)]>0x0&&this[_0x4b21d7(0x43b)](_0x3cfa50['ranges']);})),this['_syncEditingCollabCursorService'][_0x6bc9ee(0x207)]['pipe'](_0x23d3ed[_0x6bc9ee(0x2c7)](this[_0x6bc9ee(0x3f4)]))['subscribe'](_0x472673=>{const _0x5bd675=_0x6bc9ee;if((_0x472673==null?void 0x0:_0x472673[_0x5bd675(0x411)])!==this[_0x5bd675(0x411)])return;const _0x3a48a2={'eventID':_0x31ad25['CollaborationEvent'][_0x5bd675(0x2f0)],'data':_0x472673};this[_0x5bd675(0x278)](_0x3a48a2);}),this['disposeWithMe'](this['_commandService'][_0x6bc9ee(0x1e3)](_0x23c3ab=>{const _0x45ac6f=_0x6bc9ee;if(_0x23c3ab[_0x45ac6f(0x302)]==null)return;const _0x525723=_0x23c3ab['params'];if(_0x23c3ab['id']!==_0x4c95c4['RichTextEditingMutation']['id']||_0x525723['unitId']!==this[_0x45ac6f(0x411)])return;const _0x526cd5={'id':_0x45ac6f(0x41d),'params':_0x525723},_0x63ca47=this[_0x45ac6f(0x1b3)];for(const [_0x3f4414,_0x3a71fd]of _0x63ca47){const _0x3689b7={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x45ac6f(0x411)],'actions':null,'textRanges':_0x3a71fd[_0x45ac6f(0x3d2)]}},_0x585878=this['_transformService'][_0x45ac6f(0x1ec)](_0x526cd5,_0x3689b7,!0x1);if(_0x31ad25[_0x45ac6f(0x357)](_0x585878))throw _0x585878['error'];_0x63ca47['set'](_0x3f4414,{..._0x3a71fd,'ranges':_0x585878[_0x45ac6f(0x20e)][_0x45ac6f(0x302)][_0x45ac6f(0x3b1)]});}queueMicrotask(()=>{const _0x11919a=_0x45ac6f;this[_0x11919a(0x2fe)][_0x11919a(0x21a)](_0x63ca47);});})));}[_0x50570e(0x278)](_0x36a2f6){const _0x1e182b=_0x50570e;var _0x2105ba,_0x5b7dfa;const {memberID:_0x41ed16,selection:_0x3e9158}=_0x36a2f6[_0x1e182b(0x24d)],_0x4ec8e5=_0x4ac9f0(_0x3e9158),_0x1bc89a=(_0x5b7dfa=(_0x2105ba=this[_0x1e182b(0x438)]['getMember'](this['unitID'],_0x41ed16))==null?void 0x0:_0x2105ba[_0x1e182b(0x3d0)])!=null?_0x5b7dfa:_0x1e182b(0x41e),_0xfa54b8={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x41ed16),'name':_0x1bc89a,'ranges':_0x4ec8e5},_0x406533=this['cursorInfo'];_0x406533[_0x1e182b(0x332)](_0x41ed16,_0xfa54b8),this[_0x1e182b(0x2fe)][_0x1e182b(0x21a)](_0x406533);}[_0x50570e(0x226)](_0x1de7ba){const _0x215a65=_0x50570e,{memberID:_0x11c65b}=_0x1de7ba[_0x215a65(0x24d)],_0x4a0b0c=this[_0x215a65(0x1b3)];_0x4a0b0c[_0x215a65(0x1b5)](_0x11c65b),this[_0x215a65(0x2fe)][_0x215a65(0x21a)](_0x4a0b0c);}[_0x50570e(0x30e)](){const _0x2e0240=_0x50570e;var _0x5cf703;if(this[_0x2e0240(0x2cf)]=!0x0,((_0x5cf703=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x5cf703[_0x2e0240(0x3ca)]())!==this[_0x2e0240(0x411)])return;const _0x2ceba5=this[_0x2e0240(0x232)]['get'](_0x4c95c4['DocSelectionManagerService'])[_0x2e0240(0x238)]();Array[_0x2e0240(0x3b6)](_0x2ceba5)&&_0x2ceba5['length']>0x0&&this[_0x2e0240(0x43b)](_0x2ceba5);}[_0x50570e(0x330)](){const _0x516c9f=_0x50570e;this[_0x516c9f(0x2cf)]=!0x1;}};_0x468cc6=_0x33c05d([_0x18916b(0x2,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4[_0x50570e(0x364)])),_0x18916b(0x3,_0x59adf4[_0x50570e(0x3b2)](_0x4923e7)),_0x18916b(0x4,_0x59adf4['Inject'](_0x260a16[_0x50570e(0x33f)])),_0x18916b(0x5,_0x59adf4[_0x50570e(0x3b2)](_0x4f4f90)),_0x18916b(0x6,_0x31ad25[_0x50570e(0x393)]),_0x18916b(0x7,_0x59adf4[_0x50570e(0x24b)]),_0x18916b(0x8,_0x59adf4[_0x50570e(0x200)])],_0x468cc6);var _0x48f9ba=Object[_0x50570e(0x2fa)],_0xf99ef8=(_0x4a2ade,_0x4c954b,_0x43a8ed,_0x2dfecb)=>{const _0x40153e=_0x50570e;for(var _0x429276=_0x2dfecb>0x1?void 0x0:_0x2dfecb?_0x48f9ba(_0x4c954b,_0x43a8ed):_0x4c954b,_0x48c9ad=_0x4a2ade[_0x40153e(0x37d)]-0x1,_0x41bcf1;_0x48c9ad>=0x0;_0x48c9ad--)(_0x41bcf1=_0x4a2ade[_0x48c9ad])&&(_0x429276=_0x41bcf1(_0x429276)||_0x429276);return _0x429276;},_0x5cd9de=(_0x1c1368,_0x14fc21)=>(_0x7363,_0x5b1f22)=>_0x14fc21(_0x7363,_0x5b1f22,_0x1c1368);const _0x2213d5=0x12c,_0x1162c2=0x64,_0x59fc25=()=>{let _0x1bb7d8=[],_0x2a598c=!0x1;return _0x19fce3=>{const _0xf14367=_0x4b9e;_0x1bb7d8[_0xf14367(0x34c)](_0x19fce3),_0x2a598c||(_0x2a598c=!0x0,setTimeout(()=>{const _0xbd8cd1=_0xf14367;_0x1bb7d8[_0xbd8cd1(0x201)](_0x369f5c=>_0x369f5c()),_0x1bb7d8=[],_0x2a598c=!0x1;}));};};let _0x185563=class extends _0x59adf4[_0x50570e(0x316)]{constructor(_0x5cd3cd,_0x20f237,_0x5977a3,_0x269106,_0x194012,_0x572e81,_0x1ea20f,_0x31e9c6){const _0x7829b0=_0x50570e;super(),_0x42c1e1(this,_0x7829b0(0x2cf),!0x1),_0x42c1e1(this,'_init',!0x1),_0x42c1e1(this,_0x7829b0(0x2fe),new _0x23d3ed[(_0x7829b0(0x42d))](new Map())),_0x42c1e1(this,_0x7829b0(0x38b),this[_0x7829b0(0x2fe)][_0x7829b0(0x448)]()),_0x42c1e1(this,'_roomMembers$',new _0x23d3ed['BehaviorSubject']([])),_0x42c1e1(this,'roomMembers$',this[_0x7829b0(0x1c1)]['pipe'](_0x23d3ed[_0x7829b0(0x307)](_0x2213d5))),_0x42c1e1(this,_0x7829b0(0x43b),_0x59adf4['debounce']((_0x7e2eec,_0x211dba)=>{const _0x252e8d=_0x7829b0,_0x3a92ef={'eventID':_0x31ad25[_0x252e8d(0x2e2)][_0x252e8d(0x2f0)],'data':{'unitID':this[_0x252e8d(0x411)],'memberID':this[_0x252e8d(0x44a)][_0x252e8d(0x303)](),'selection':_0x4ec2c6[_0x252e8d(0x3d5)](_0x7e2eec,_0x211dba[_0x252e8d(0x309)])}};this[_0x252e8d(0x44a)][_0x252e8d(0x2dd)](_0x3a92ef,this[_0x252e8d(0x411)]);},_0x1162c2)),(this[_0x7829b0(0x411)]=_0x5cd3cd,this[_0x7829b0(0x44a)]=_0x20f237,this[_0x7829b0(0x232)]=_0x5977a3,this[_0x7829b0(0x1b9)]=_0x269106,this[_0x7829b0(0x438)]=_0x194012,this[_0x7829b0(0x284)]=_0x572e81,this[_0x7829b0(0x2d4)]=_0x1ea20f,this[_0x7829b0(0x1d3)]=_0x31e9c6);}get['cursorInfo'](){const _0x3c303a=_0x50570e;return this[_0x3c303a(0x2fe)][_0x3c303a(0x3aa)]();}get[_0x50570e(0x3d6)](){const _0x2cea8a=_0x50570e;return this[_0x2cea8a(0x1c1)]['getValue']();}[_0x50570e(0x392)](){const _0x5892b9=_0x50570e;super['dispose'](),this[_0x5892b9(0x2fe)][_0x5892b9(0x21a)](new Map()),this[_0x5892b9(0x2fe)]['complete'](),this['_roomMembers$'][_0x5892b9(0x21a)]([]),this[_0x5892b9(0x1c1)]['complete']();}[_0x50570e(0x2b9)](){const _0xaccab=_0x50570e;this[_0xaccab(0x359)]||(this[_0xaccab(0x359)]=!0x0,this['_session'][_0xaccab(0x1f6)][_0xaccab(0x41f)](_0x23d3ed[_0xaccab(0x2c7)](this[_0xaccab(0x3f4)]))[_0xaccab(0x227)](_0x560ec7=>{const _0x1092c5=_0xaccab;_0x560ec7===_0x260a16['SessionStatus'][_0x1092c5(0x216)]?this[_0x1092c5(0x30e)]():this[_0x1092c5(0x330)]();}),this['_session'][_0xaccab(0x1e1)][_0xaccab(0x41f)](_0x23d3ed[_0xaccab(0x2c7)](this['dispose$']))[_0xaccab(0x227)](_0x1f36da=>{const _0x556b2c=_0xaccab,_0x55bbb3=_0x1f36da['eventID'];_0x55bbb3===_0x31ad25[_0x556b2c(0x2e2)][_0x556b2c(0x2f0)]&&this['_onCursorUpdate'](_0x1f36da),_0x55bbb3===_0x31ad25[_0x556b2c(0x2e2)][_0x556b2c(0x1fe)]&&this['_onCursorDelete'](_0x1f36da);}),this[_0xaccab(0x21c)](),this[_0xaccab(0x1c0)](this[_0xaccab(0x2d4)]['onCommandExecuted'](_0x4b06cd=>{const _0x33aec7=_0xaccab;if(this[_0x33aec7(0x2cf)]&&_0x4b06cd['id']===_0x315e9e[_0x33aec7(0x3db)]['id']&&_0x4b06cd[_0x33aec7(0x302)]['unitId']===this[_0x33aec7(0x411)]){const _0x46ec56=_0x4b06cd[_0x33aec7(0x302)];this[_0x33aec7(0x43b)](_0x46ec56['subUnitId'],_0x46ec56['selections'][0x0]);}})));}[_0x50570e(0x278)](_0xbe5d0f){const _0x3cbe86=_0x50570e;var _0x59061f,_0xb310cd;const {memberID:_0x4799f1,selection:_0x4f35d8}=_0xbe5d0f[_0x3cbe86(0x24d)],{sheetName:_0x5ee1a9,range:_0x382078}=_0x4ec2c6['deserializeRangeWithSheet'](_0x4f35d8),_0x1c68b0={'name':(_0xb310cd=(_0x59061f=this[_0x3cbe86(0x438)][_0x3cbe86(0x1f9)](this[_0x3cbe86(0x411)],_0x4799f1))==null?void 0x0:_0x59061f[_0x3cbe86(0x3d0)])!=null?_0xb310cd:_0x3cbe86(0x41e),'range':this[_0x3cbe86(0x3c5)](_0x5ee1a9,_0x382078),'sheetID':_0x5ee1a9,'color':this[_0x3cbe86(0x1b9)][_0x3cbe86(0x3ff)](_0x4799f1),'selection':_0x4f35d8},_0x315c12=this[_0x3cbe86(0x1b3)];_0x315c12[_0x3cbe86(0x332)](_0x4799f1,_0x1c68b0),this[_0x3cbe86(0x2fe)][_0x3cbe86(0x21a)](_0x315c12);}[_0x50570e(0x226)](_0x7c5620){const _0x374f7e=_0x50570e,{memberID:_0x14217d}=_0x7c5620[_0x374f7e(0x24d)],_0x4b7011=this[_0x374f7e(0x1b3)];_0x4b7011[_0x374f7e(0x1b5)](_0x14217d),this['_cursorInfo$'][_0x374f7e(0x21a)](_0x4b7011);}[_0x50570e(0x3c5)](_0x3301d8,_0x4b75e9){const _0xc9a519=_0x50570e;var _0x182a7e,_0x4cb138;const _0x24c5ca=(_0x4cb138=(_0x182a7e=this[_0xc9a519(0x284)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x182a7e['getSheetBySheetId'](_0x3301d8))==null?void 0x0:_0x4cb138[_0xc9a519(0x387)]();return(_0x24c5ca==null?void 0x0:_0x24c5ca['find'](_0x5a2e51=>_0x59adf4[_0xc9a519(0x212)]['contains'](_0x5a2e51,_0x4b75e9)))||_0x4b75e9;}[_0x50570e(0x21c)](){const _0x37c6e8=_0x50570e,_0x11c5b1=new _0x59adf4[(_0x37c6e8(0x26c))](),_0x27e625=_0x59fc25(),_0xf4ac2a=()=>{const _0x4ba257=_0x37c6e8;_0x11c5b1[_0x4ba257(0x392)]();const _0x3ab2ac=(_0x58bfd5,_0x3e93db,_0x35d0af,_0x147393)=>{const _0x8b3d7e=_0x4ba257;let _0x476e18=[];switch(_0x58bfd5['id']){case _0x315e9e[_0x8b3d7e(0x44d)][_0x8b3d7e(0x2ed)]:{_0x476e18=_0x315e9e[_0x8b3d7e(0x2e6)](_0x58bfd5,_0x147393);break;}case _0x315e9e[_0x8b3d7e(0x44d)][_0x8b3d7e(0x3a5)]:{_0x476e18=_0x315e9e['handleDeleteRangeMoveUp'](_0x58bfd5,_0x147393);break;}case _0x315e9e[_0x8b3d7e(0x44d)][_0x8b3d7e(0x1f8)]:{_0x476e18=_0x315e9e[_0x8b3d7e(0x2d6)](_0x58bfd5,_0x147393);break;}case _0x315e9e[_0x8b3d7e(0x44d)][_0x8b3d7e(0x1f3)]:{_0x476e18=_0x315e9e[_0x8b3d7e(0x38f)](_0x58bfd5,_0x147393);break;}case _0x315e9e[_0x8b3d7e(0x44d)][_0x8b3d7e(0x386)]:{_0x476e18=_0x315e9e[_0x8b3d7e(0x2f7)](_0x58bfd5,_0x147393);break;}case _0x315e9e[_0x8b3d7e(0x44d)][_0x8b3d7e(0x35b)]:{_0x476e18=_0x315e9e[_0x8b3d7e(0x217)](_0x58bfd5,_0x147393);break;}case _0x315e9e['EffectRefRangId'][_0x8b3d7e(0x3fa)]:{_0x476e18=_0x315e9e[_0x8b3d7e(0x3c1)](_0x58bfd5,_0x147393);break;}case _0x315e9e[_0x8b3d7e(0x44d)]['RemoveColCommandId']:{_0x476e18=_0x315e9e['handleIRemoveCol'](_0x58bfd5,_0x147393);break;}case _0x315e9e[_0x8b3d7e(0x44d)]['RemoveRowCommandId']:{_0x476e18=_0x315e9e[_0x8b3d7e(0x2b8)](_0x58bfd5,_0x147393);break;}}const _0x46bbeb=_0x315e9e['runRefRangeMutations'](_0x476e18,_0x147393),_0x24ee04=this['cursorInfo'][_0x8b3d7e(0x1d4)](_0x3e93db);if(_0x24ee04&&_0x46bbeb){const _0x59638c={..._0x24ee04,'range':_0x46bbeb};this[_0x8b3d7e(0x1b3)][_0x8b3d7e(0x332)](_0x3e93db,_0x59638c),_0x27e625(()=>{const _0x285824=_0x8b3d7e,_0x453b09=this[_0x285824(0x1d3)][_0x285824(0x2c6)](_0x46bbeb,_0x57dc91=>(_0x453b09[_0x285824(0x392)](),_0x3ab2ac(_0x57dc91,_0x3e93db,_0x35d0af,_0x46bbeb)));_0x11c5b1[_0x285824(0x1c9)](_0x453b09);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4ba257(0x201)]((_0x3be05a,_0x594b5f)=>{const _0x1c6028=_0x4ba257,{range:_0x1b1c6c,sheetID:_0xb8e835}=_0x3be05a,_0x3e473a=this['_refRangeService'][_0x1c6028(0x2c6)](_0x1b1c6c,_0x25879e=>(_0x3e473a[_0x1c6028(0x392)](),_0x3ab2ac(_0x25879e,_0x594b5f,_0xb8e835,_0x1b1c6c)));_0x11c5b1[_0x1c6028(0x1c9)](_0x3e473a);});};this[_0x37c6e8(0x1c0)](_0x59adf4[_0x37c6e8(0x2f4)](this[_0x37c6e8(0x2fe)][_0x37c6e8(0x227)](()=>{_0xf4ac2a();})));}[_0x50570e(0x30e)](){const _0x3c43bc=_0x50570e;var _0x30099f,_0x58a890;if(this[_0x3c43bc(0x2cf)]=!0x0,((_0x30099f=this[_0x3c43bc(0x284)][_0x3c43bc(0x29c)]())==null?void 0x0:_0x30099f[_0x3c43bc(0x3ca)]())!==this[_0x3c43bc(0x411)])return;const _0x4c0b04=(_0x58a890=this['_injector']['get'](_0x315e9e['SheetsSelectionsService'])[_0x3c43bc(0x1c2)]())==null?void 0x0:_0x58a890[0x0],_0x32d78b=this[_0x3c43bc(0x284)][_0x3c43bc(0x2cb)](_0x59adf4[_0x3c43bc(0x39f)][_0x3c43bc(0x3fd)])[_0x3c43bc(0x2f1)]();_0x4c0b04&&_0x32d78b&&this[_0x3c43bc(0x43b)](_0x32d78b[_0x3c43bc(0x2b3)](),_0x4c0b04);}[_0x50570e(0x330)](){const _0x30fb52=_0x50570e;this[_0x30fb52(0x2cf)]=!0x1;}};_0x185563=_0xf99ef8([_0x5cd9de(0x2,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4[_0x50570e(0x364)])),_0x5cd9de(0x3,_0x59adf4[_0x50570e(0x3b2)](_0x4923e7)),_0x5cd9de(0x4,_0x59adf4[_0x50570e(0x3b2)](_0x260a16['MemberService'])),_0x5cd9de(0x5,_0x59adf4[_0x50570e(0x24b)]),_0x5cd9de(0x6,_0x59adf4['ICommandService']),_0x5cd9de(0x7,_0x59adf4[_0x50570e(0x3b2)](_0x315e9e[_0x50570e(0x314)]))],_0x185563);var _0x36a2fd=Object[_0x50570e(0x2fa)],_0xe5bb0=(_0x3937f6,_0x4a815b,_0xf8c815,_0x4a26fb)=>{const _0x565133=_0x50570e;for(var _0x435de8=_0x4a26fb>0x1?void 0x0:_0x4a26fb?_0x36a2fd(_0x4a815b,_0xf8c815):_0x4a815b,_0x204b37=_0x3937f6[_0x565133(0x37d)]-0x1,_0x131f63;_0x204b37>=0x0;_0x204b37--)(_0x131f63=_0x3937f6[_0x204b37])&&(_0x435de8=_0x131f63(_0x435de8)||_0x435de8);return _0x435de8;},_0x422ad8=(_0x4dacb7,_0x58a60e)=>(_0x2dc515,_0x413a11)=>_0x58a60e(_0x2dc515,_0x413a11,_0x4dacb7);let _0x1da02f=class extends _0x59adf4[_0x50570e(0x316)]{constructor(_0x629baf,_0x17af48,_0x4242b9){const _0x2b5341=_0x50570e;super(),_0x42c1e1(this,_0x2b5341(0x31c),new Map()),_0x42c1e1(this,_0x2b5341(0x1c5),new _0x23d3ed[(_0x2b5341(0x418))]()),(this[_0x2b5341(0x284)]=_0x629baf,this[_0x2b5341(0x232)]=_0x17af48,this[_0x2b5341(0x3ab)]=_0x4242b9,this[_0x2b5341(0x359)]());}[_0x50570e(0x392)](){const _0x7eaa8c=_0x50570e;super[_0x7eaa8c(0x392)](),this[_0x7eaa8c(0x1c5)][_0x7eaa8c(0x31d)](),this[_0x7eaa8c(0x31c)]['forEach'](_0x2c527c=>_0x2c527c['dispose']());}[_0x50570e(0x440)](_0x2dcce7){const _0x4bbc5d=_0x50570e;return this[_0x4bbc5d(0x31c)][_0x4bbc5d(0x1b4)](_0x2dcce7)?this[_0x4bbc5d(0x31c)][_0x4bbc5d(0x1d4)](_0x2dcce7)[_0x4bbc5d(0x38b)]:this[_0x4bbc5d(0x1c5)]['pipe'](_0x23d3ed[_0x4bbc5d(0x35e)](_0x374a0f=>_0x374a0f['unitID']===_0x2dcce7),_0x23d3ed[_0x4bbc5d(0x3ed)](_0x3df915=>_0x3df915[_0x4bbc5d(0x38b)]));}[_0x50570e(0x359)](){const _0x459bfd=_0x50570e;this[_0x459bfd(0x284)]['getTypeOfUnitAdded$'](_0x59adf4['UniverInstanceType'][_0x459bfd(0x3fd)])[_0x459bfd(0x41f)](_0x23d3ed[_0x459bfd(0x2c7)](this[_0x459bfd(0x3f4)]))[_0x459bfd(0x227)](async _0x2d71e5=>{const _0x3fa838=_0x459bfd,_0x26b674=_0x2d71e5[_0x3fa838(0x3ca)](),_0x4bd1f7=await this[_0x3fa838(0x2c2)](_0x26b674);this[_0x3fa838(0x1c5)][_0x3fa838(0x21a)](_0x4bd1f7),this[_0x3fa838(0x31c)]['set'](_0x26b674,_0x4bd1f7);}),this[_0x459bfd(0x284)][_0x459bfd(0x417)](_0x59adf4[_0x459bfd(0x39f)][_0x459bfd(0x372)])[_0x459bfd(0x41f)](_0x23d3ed[_0x459bfd(0x2c7)](this[_0x459bfd(0x3f4)]))[_0x459bfd(0x41f)](_0x23d3ed['filter'](_0x24d8c3=>!_0x24d8c3[_0x459bfd(0x3ca)]()[_0x459bfd(0x43e)]('__')))[_0x459bfd(0x227)](async _0x43b9d2=>{const _0x461fd0=_0x459bfd,_0x5e83e9=_0x43b9d2[_0x461fd0(0x3ca)](),_0x54eeba=await this[_0x461fd0(0x3cd)](_0x5e83e9);this[_0x461fd0(0x1c5)][_0x461fd0(0x21a)](_0x54eeba),this[_0x461fd0(0x31c)]['set'](_0x5e83e9,_0x54eeba);}),_0x23d3ed[_0x459bfd(0x1e4)](this[_0x459bfd(0x284)][_0x459bfd(0x395)](_0x59adf4[_0x459bfd(0x39f)][_0x459bfd(0x372)]),this[_0x459bfd(0x284)][_0x459bfd(0x395)](_0x59adf4[_0x459bfd(0x39f)][_0x459bfd(0x3fd)]))[_0x459bfd(0x41f)](_0x23d3ed[_0x459bfd(0x2c7)](this[_0x459bfd(0x3f4)]))[_0x459bfd(0x227)](_0x2b978e=>{const _0x204ff2=_0x459bfd,_0x26b93b=_0x2b978e['getUnitId'](),_0x4665aa=this[_0x204ff2(0x31c)]['get'](_0x26b93b);_0x4665aa&&(_0x4665aa['dispose'](),this[_0x204ff2(0x31c)][_0x204ff2(0x1b5)](_0x26b93b));});}async[_0x50570e(0x2c2)](_0x3d1966){const _0x1ce4f0=_0x50570e,_0xdc8539=await this['_collabSessionService'][_0x1ce4f0(0x269)](_0x3d1966),_0x482ac2=this[_0x1ce4f0(0x232)][_0x1ce4f0(0x1dc)](_0x185563,_0x3d1966,_0xdc8539);return _0x482ac2[_0x1ce4f0(0x2b9)](),_0x482ac2;}async[_0x50570e(0x3cd)](_0x32636a){const _0x57a235=_0x50570e,_0x305f42=await this['_collabSessionService'][_0x57a235(0x269)](_0x32636a),_0x42cb79=this[_0x57a235(0x232)][_0x57a235(0x1dc)](_0x468cc6,_0x32636a,_0x305f42);return _0x42cb79[_0x57a235(0x2b9)](),_0x42cb79;}};_0x1da02f=_0xe5bb0([_0x422ad8(0x0,_0x59adf4[_0x50570e(0x24b)]),_0x422ad8(0x1,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4['Injector'])),_0x422ad8(0x2,_0x59adf4[_0x50570e(0x3b2)](_0x260a16['CollaborationSessionService']))],_0x1da02f);const _0x4231fb=0x14,_0x11657b=0xc8,_0x3863ac=0x4,_0x3f412d=0x5;function _0x4870c5(_0x4e1324,_0x35d0e6){const _0x169496=_0x50570e;let {radius:_0x2fc477,width:_0x104bfa,height:_0x4a7505}=_0x35d0e6;_0x2fc477=_0x2fc477!=null?_0x2fc477:0x0,_0x104bfa=_0x104bfa!=null?_0x104bfa:0x1e,_0x4a7505=_0x4a7505!=null?_0x4a7505:0x1e;let _0x49f0da=0x0,_0x1d7d01=0x0,_0x2dc19a=0x0;_0x49f0da=_0x1d7d01=_0x2dc19a=Math[_0x169496(0x3a3)](_0x2fc477,_0x104bfa/0x2,_0x4a7505/0x2),_0x4e1324[_0x169496(0x2b2)](),_0x4e1324[_0x169496(0x371)](_0x49f0da,0x0),_0x4e1324['lineTo'](_0x104bfa-_0x1d7d01,0x0),_0x4e1324[_0x169496(0x435)](_0x104bfa-_0x1d7d01,_0x1d7d01,_0x1d7d01,Math['PI']*0x3/0x2,0x0,!0x1),_0x4e1324[_0x169496(0x3c7)](_0x104bfa,_0x4a7505-_0x2dc19a),_0x4e1324[_0x169496(0x435)](_0x104bfa-_0x2dc19a,_0x4a7505-_0x2dc19a,_0x2dc19a,0x0,Math['PI']/0x2,!0x1),_0x4e1324[_0x169496(0x3c7)](0x0,_0x4a7505),_0x4e1324[_0x169496(0x3c7)](0x0,_0x49f0da),_0x4e1324[_0x169496(0x435)](_0x49f0da,_0x49f0da,_0x49f0da,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4e1324[_0x169496(0x3d9)](),_0x35d0e6[_0x169496(0x3d4)]&&(_0x4e1324[_0x169496(0x1e2)](),_0x4e1324[_0x169496(0x280)]=_0x35d0e6['fill'],_0x35d0e6[_0x169496(0x30f)]===_0x169496(0x409)?_0x4e1324[_0x169496(0x3d4)](_0x169496(0x409)):_0x4e1324[_0x169496(0x3d4)](),_0x4e1324[_0x169496(0x21e)]());}class _0x20767a extends _0x18f11f['Shape']{constructor(_0x4d882d,_0x4fbc08){const _0x367fc3=_0x50570e;super(_0x4d882d,_0x4fbc08),_0x42c1e1(this,_0x367fc3(0x2ad)),_0x42c1e1(this,_0x367fc3(0x3d8)),(this[_0x367fc3(0x2ad)]=_0x4fbc08==null?void 0x0:_0x4fbc08[_0x367fc3(0x2ad)],this['text']=_0x4fbc08==null?void 0x0:_0x4fbc08['text']);}static[_0x50570e(0x37a)](_0x877309,_0x5774e1){const _0x3c42c7=_0x50570e,{text:_0x4331f7,color:_0x3d5a00}=_0x5774e1;_0x877309[_0x3c42c7(0x1e2)](),_0x877309['font']=_0x3c42c7(0x1fc);const _0x32d5b8=_0x877309[_0x3c42c7(0x433)](_0x4331f7)[_0x3c42c7(0x22c)],_0x40da3a=Math[_0x3c42c7(0x3a3)](_0x32d5b8+0x2*_0x3863ac,_0x11657b);_0x4870c5(_0x877309,{'height':_0x4231fb,'radius':0x4,'width':_0x40da3a,'fill':_0x3d5a00}),_0x877309['fillStyle']=_0x3c42c7(0x37f);const _0x276337=_0x3863ac,_0x150ffa=_0x4231fb-_0x3f412d,_0x46dd36=_0x11657b-0x2*_0x3863ac;if(_0x32d5b8>_0x46dd36){let _0x4a60f0='',_0x23c0ad=0x0;for(const _0x3dab91 of _0x4331f7){const _0x2a496e=_0x877309['measureText'](_0x3dab91)[_0x3c42c7(0x22c)];if(_0x23c0ad+_0x2a496e<=_0x46dd36-_0x877309[_0x3c42c7(0x433)](_0x3c42c7(0x352))[_0x3c42c7(0x22c)])_0x4a60f0+=_0x3dab91,_0x23c0ad+=_0x2a496e;else{_0x4a60f0+=_0x3c42c7(0x352);break;}}_0x877309[_0x3c42c7(0x2da)](_0x4a60f0,_0x276337,_0x150ffa);}else _0x877309['fillText'](_0x4331f7,_0x276337,_0x150ffa);_0x877309[_0x3c42c7(0x21e)]();}[_0x50570e(0x3b7)](_0x4aeedc){const _0x15668d=_0x50570e;_0x20767a[_0x15668d(0x37a)](_0x4aeedc,this);}}const _0x1c3fd5=_0x50570e(0x2a7),_0x1c9abf=_0x50570e(0x2b4),_0x5ea601=_0x50570e(0x35f),_0x2ea6d3=0x6,_0x30e64d=1.5,_0x34941c=0x4,_0x558029=1.5,_0x3991dc='rgba(255,\x20255,\x20255,\x200.01)';class _0x176d1e{constructor(_0x12b244,_0x39f267,_0x4d152b,_0x1bb690){const _0x288c18=_0x50570e;_0x42c1e1(this,'_shapes',[]),_0x42c1e1(this,'_anchor',null),_0x42c1e1(this,_0x288c18(0x249),null),_0x42c1e1(this,'_anchorDot',null),_0x42c1e1(this,_0x288c18(0x39d),null),_0x42c1e1(this,_0x288c18(0x32d),null),(this[_0x288c18(0x3b4)]=_0x12b244,this['_scene']=_0x39f267,this[_0x288c18(0x35c)]=_0x4d152b,this[_0x288c18(0x44e)]=_0x1bb690,this[_0x288c18(0x325)]());}set[_0x50570e(0x394)](_0x1b31c3){const _0x763851=_0x50570e;_0x1b31c3?(this[_0x763851(0x297)]&&this[_0x763851(0x297)][_0x763851(0x1e5)](),this[_0x763851(0x249)]&&this[_0x763851(0x249)][_0x763851(0x25f)]()):(this['_anchorDot']&&this[_0x763851(0x297)][_0x763851(0x25f)](),this[_0x763851(0x249)]&&this['_textBubble'][_0x763851(0x1e5)]());}[_0x50570e(0x392)](){const _0x531286=_0x50570e;for(const _0x3516a4 of this[_0x531286(0x3c2)])_0x3516a4['dispose']();this['_textBubble']&&this[_0x531286(0x249)]['dispose'](),this[_0x531286(0x297)]&&this[_0x531286(0x297)][_0x531286(0x392)](),this[_0x531286(0x23d)]&&this['_anchor'][_0x531286(0x392)](),this['_eventUnsubscribe']&&this[_0x531286(0x32d)]();}[_0x50570e(0x325)](){const _0x1a9410=_0x50570e;var _0xdfb211;const {_docSkeleton:_0x14776e,_document:_0x2e13d2}=this,{color:_0x4f3e79,name:_0x4f8054,ranges:_0x5d1ecf}=this[_0x1a9410(0x3b4)],_0x53e9b3=_0x2e13d2[_0x1a9410(0x23f)](),{docsLeft:_0x57e4f2,docsTop:_0x4b513c}=_0x53e9b3,_0x498159=new _0x57e1c6['NodePositionConvertToCursor'](_0x53e9b3,_0x14776e);for(const {startOffset:_0x368ffc,endOffset:_0x375a97,rangeType:_0x3bf90c,segmentId:_0x2b921f,segmentPage:_0x1cd43d,collapsed:_0x1605a6,isActive:_0x4b0d69}of _0x5d1ecf){const _0x15d1bb=_0x14776e[_0x1a9410(0x209)](_0x368ffc,!0x0,_0x2b921f,_0x1cd43d);let _0x8cfb23=_0x14776e[_0x1a9410(0x209)](_0x375a97,!0x0,_0x2b921f,_0x1cd43d);if(_0x8cfb23==null&&(_0x8cfb23=_0x14776e[_0x1a9410(0x209)](_0x375a97-0x1,!0x1,_0x2b921f,_0x1cd43d)),_0x4b0d69){const {contentBoxPointGroup:_0x7779c5}=_0x498159['getRangePointData'](_0x8cfb23,_0x8cfb23);if(_0x7779c5[_0x1a9410(0x37d)]===0x0)continue;this[_0x1a9410(0x3af)](_0x4f3e79,_0x7779c5,_0x57e4f2,_0x4b513c,_0x4f8054),this[_0x1a9410(0x32d)]=this[_0x1a9410(0x2b0)]();}if(_0x15d1bb&&_0x8cfb23){if(_0x3bf90c===_0x59adf4[_0x1a9410(0x2a0)]['RECT']){const _0x17bd11=new _0x57e1c6['NodePositionConvertToRectRange'](_0x53e9b3,_0x14776e),{pointGroup:_0x4385f2}=(_0xdfb211=_0x17bd11[_0x1a9410(0x3f6)](_0x15d1bb,_0x8cfb23))!=null?_0xdfb211:{};if(_0x4385f2==null||_0x4385f2[_0x1a9410(0x37d)]===0x0)continue;this[_0x1a9410(0x27a)](_0x4f3e79,_0x4385f2,_0x57e4f2,_0x4b513c);}else{if(!_0x1605a6){const {borderBoxPointGroup:_0x4821c2}=_0x498159['getRangePointData'](_0x15d1bb,_0x8cfb23);if(_0x4821c2[_0x1a9410(0x37d)]===0x0)continue;this[_0x1a9410(0x32b)](_0x4f3e79,_0x4821c2,_0x57e4f2,_0x4b513c);}}}}}[_0x50570e(0x3af)](_0x1d2d06,_0x4fda38,_0x3d177e,_0x3d20c9,_0x527ea2){const _0x51dd74=_0x50570e,_0x487dc2=this[_0x51dd74(0x3e5)](_0x4fda38),{left:_0x1180a7,top:_0x457ff0,height:_0x1abd41}=_0x487dc2,_0x47fec6=this[_0x51dd74(0x1ee)](),_0x90786=_0x558029/_0x47fec6,_0x1c8a9c=new _0x18f11f[(_0x51dd74(0x239))](_0x1c3fd5+_0x59adf4[_0x51dd74(0x39a)][_0x51dd74(0x3b0)](_0x2ea6d3),{'left':_0x1180a7+_0x3d177e-_0x90786,'top':_0x457ff0+_0x3d20c9,'height':_0x1abd41,'width':_0x30e64d,'fill':_0x1d2d06||_0x18f11f['getColor'](_0x59adf4[_0x51dd74(0x1bf)]['black'],0x0),'strokeWidth':_0x90786,'stroke':_0x3991dc,'evented':!0x0});this[_0x51dd74(0x23d)]=_0x1c8a9c,this[_0x51dd74(0x321)][_0x51dd74(0x362)](_0x1c8a9c,_0x57e1c6[_0x51dd74(0x3c4)]);const _0x385b41=new _0x18f11f[(_0x51dd74(0x239))](_0x1c3fd5+_0x59adf4[_0x51dd74(0x39a)][_0x51dd74(0x3b0)](_0x2ea6d3),{'left':_0x1180a7+_0x3d177e-_0x90786,'top':_0x457ff0+_0x3d20c9-_0x34941c/0x2,'height':_0x34941c,'width':_0x34941c,'fill':_0x1d2d06||_0x18f11f[_0x51dd74(0x391)](_0x59adf4[_0x51dd74(0x1bf)][_0x51dd74(0x2ba)],0x0),'strokeWidth':0x0,'stroke':_0x1d2d06||_0x18f11f[_0x51dd74(0x391)](_0x59adf4[_0x51dd74(0x1bf)][_0x51dd74(0x2ba)],0x0),'evented':!0x1});this[_0x51dd74(0x297)]=_0x385b41,this[_0x51dd74(0x321)]['addObject'](_0x385b41,_0x57e1c6[_0x51dd74(0x3c4)]);const _0x7bedc2=new _0x20767a(_0x1c3fd5+_0x59adf4['Tools'][_0x51dd74(0x3b0)](_0x2ea6d3),{'left':_0x1180a7+_0x3d177e-_0x90786,'top':_0x457ff0+_0x3d20c9-_0x4231fb,'text':_0x527ea2,'color':_0x1d2d06});this['_textBubble']=_0x7bedc2,this[_0x51dd74(0x321)]['addObject'](_0x7bedc2,_0x57e1c6[_0x51dd74(0x3c4)]),this['_hover']=!0x1;}['_handleHover'](){const _0x44a545=_0x50570e,_0x373cb1=this['_anchor'][_0x44a545(0x3a7)][_0x44a545(0x2eb)](()=>{const _0x5d0eae=_0x44a545;this[_0x5d0eae(0x394)]=!0x0;}),_0x1b309f=this[_0x44a545(0x23d)][_0x44a545(0x360)]['subscribeEvent'](()=>{const _0x2d3df6=_0x44a545;this[_0x2d3df6(0x39d)]&&clearTimeout(this[_0x2d3df6(0x39d)]),this[_0x2d3df6(0x39d)]=setTimeout(()=>{const _0x412111=_0x2d3df6;this[_0x412111(0x394)]=!0x1;},0x7d0);});return()=>{const _0x256310=_0x44a545;_0x373cb1['unsubscribe'](),_0x1b309f[_0x256310(0x1d9)]();};}['_drawTextRange'](_0x5ce926,_0x7fbd57,_0x3f2afa,_0x1a6c9c){const _0x38454d=_0x50570e,_0x416b39=new _0x59adf4['ColorKit'](_0x5ce926)['setAlpha'](0.2)['toRgbString'](),_0x52919b=new _0x18f11f[(_0x38454d(0x202))](_0x1c9abf+_0x59adf4[_0x38454d(0x39a)][_0x38454d(0x3b0)](_0x2ea6d3),{'pointsGroup':_0x7fbd57,'fill':_0x416b39||_0x18f11f[_0x38454d(0x391)](_0x59adf4[_0x38454d(0x1bf)][_0x38454d(0x2ba)],0.2),'left':_0x3f2afa,'top':_0x1a6c9c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x38454d(0x3c2)][_0x38454d(0x34c)](_0x52919b),this['_scene']['addObject'](_0x52919b,_0x57e1c6[_0x38454d(0x3c4)]);}['_drawRectRange'](_0x500e71,_0x29a0bb,_0x2064db,_0x36e4a4){const _0x35921c=_0x50570e,_0x4b9c2f=new _0x59adf4[(_0x35921c(0x422))](_0x500e71)[_0x35921c(0x381)](0.2)[_0x35921c(0x431)](),_0x3e4012=new _0x18f11f[(_0x35921c(0x202))](_0x5ea601+_0x59adf4['Tools']['generateRandomId'](_0x2ea6d3),{'pointsGroup':_0x29a0bb,'fill':_0x4b9c2f||_0x18f11f['getColor'](_0x59adf4[_0x35921c(0x1bf)][_0x35921c(0x2ba)],0.2),'left':_0x2064db,'top':_0x36e4a4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x35921c(0x3c2)][_0x35921c(0x34c)](_0x3e4012),this[_0x35921c(0x321)][_0x35921c(0x362)](_0x3e4012,_0x57e1c6[_0x35921c(0x3c4)]);}['_getAnchorBounding'](_0xe8149b){const _0x5ed563=_0xe8149b[0x0],_0x1162f8=_0x5ed563[0x0],_0x43fa84=_0x5ed563[0x2],{x:_0x1ed3f8,y:_0x14a0b5}=_0x1162f8,{x:_0x1e2f13,y:_0x183984}=_0x43fa84;return{'left':_0x1ed3f8,'top':_0x14a0b5,'width':_0x1e2f13-_0x1ed3f8,'height':_0x183984-_0x14a0b5};}['_getScale'](){const _0x5a86ad=_0x50570e,{scaleX:_0x66467a,scaleY:_0xa0b002}=this[_0x5a86ad(0x321)][_0x5a86ad(0x368)]();return Math[_0x5a86ad(0x308)](_0x66467a,_0xa0b002);}}var _0x56d02b=Object[_0x50570e(0x2fa)],_0x47d2c5=(_0x276529,_0x32566a,_0x5acb07,_0x4f1caa)=>{for(var _0x3a5d04=_0x4f1caa>0x1?void 0x0:_0x4f1caa?_0x56d02b(_0x32566a,_0x5acb07):_0x32566a,_0x456f74=_0x276529['length']-0x1,_0x9798ab;_0x456f74>=0x0;_0x456f74--)(_0x9798ab=_0x276529[_0x456f74])&&(_0x3a5d04=_0x9798ab(_0x3a5d04)||_0x3a5d04);return _0x3a5d04;},_0x2c3c86=(_0x3c0a21,_0x7fc1d2)=>(_0x560bcf,_0x461bbb)=>_0x7fc1d2(_0x560bcf,_0x461bbb,_0x3c0a21);let _0x45c915=class extends _0x59adf4[_0x50570e(0x316)]{constructor(_0x559bed,_0x4a7439,_0x4ab265,_0x3d914f,_0x1fe770){const _0x4e1fb9=_0x50570e;super(),_0x42c1e1(this,'_cursorShapes',[]),_0x42c1e1(this,_0x4e1fb9(0x258),[]),(this[_0x4e1fb9(0x298)]=_0x559bed,this[_0x4e1fb9(0x248)]=_0x4a7439,this[_0x4e1fb9(0x30b)]=_0x4ab265,this['_commandService']=_0x3d914f,this[_0x4e1fb9(0x3cc)]=_0x1fe770,this[_0x4e1fb9(0x359)]());}['_init'](){const _0x24fd44=_0x50570e,_0x11bc87=this['_context'][_0x24fd44(0x44c)],_0x271a43=this[_0x24fd44(0x248)];this['disposeWithMe'](_0x23d3ed[_0x24fd44(0x36f)]([this[_0x24fd44(0x30b)][_0x24fd44(0x440)](_0x11bc87),this['_themeService'][_0x24fd44(0x299)]])[_0x24fd44(0x41f)](_0xbdafbc[_0x24fd44(0x1de)](([_0x3e20ae,_0xc62d5e])=>({'skeleton':_0x271a43[_0x24fd44(0x315)](),'cursors':[..._0x3e20ae[_0x24fd44(0x243)]()][_0x24fd44(0x231)](_0xa4aea9=>({..._0xa4aea9,'color':this['_themeService']['getColorFromTheme'](_0xa4aea9[_0x24fd44(0x2ad)])}))})))[_0x24fd44(0x227)](_0x1d177a=>{const _0x989d2f=_0x24fd44;if(this['_removeCollabCursors'](),_0x1d177a){const {skeleton:_0x41dc8f,cursors:_0x1e686d}=_0x1d177a;this[_0x989d2f(0x343)](_0x41dc8f,_0x1e686d);}})),this[_0x24fd44(0x22d)](),this['_initCommandExecutedListener']();}[_0x50570e(0x343)](_0x408cee,_0xd55e69){const _0x3c9b18=_0x50570e,{scene:_0x187aa7,mainComponent:_0x5698c2}=this[_0x3c9b18(0x298)],_0x2aca21=_0xd55e69['map'](_0x3fa202=>new _0x176d1e(_0x3fa202,_0x187aa7,_0x408cee,_0x5698c2));this['_cursorShapes']=_0x2aca21,this['_cursors']=_0xd55e69;}[_0x50570e(0x388)](){const _0x47dba1=_0x50570e;this[_0x47dba1(0x2b6)]();const {scene:_0x2ac3de,mainComponent:_0xc3bf62}=this[_0x47dba1(0x298)],_0x5eb0f7=this[_0x47dba1(0x248)][_0x47dba1(0x315)](),_0x41e63b=this[_0x47dba1(0x258)][_0x47dba1(0x1de)](_0x293ab5=>new _0x176d1e(_0x293ab5,_0x2ac3de,_0x5eb0f7,_0xc3bf62));this[_0x47dba1(0x3f0)]=_0x41e63b;}[_0x50570e(0x2b6)](){const _0x42cac4=_0x50570e;this[_0x42cac4(0x3f0)][_0x42cac4(0x201)](_0x46b4e0=>_0x46b4e0[_0x42cac4(0x392)]()),this[_0x42cac4(0x3f0)]=[];}[_0x50570e(0x3be)](){const _0x21e7eb=_0x50570e,_0x280e4e=[_0x57e1c6[_0x21e7eb(0x3ce)]['id']];this[_0x21e7eb(0x1c0)](this[_0x21e7eb(0x2d4)]['onCommandExecuted'](_0x3a4803=>{const _0x1dc7f6=_0x21e7eb;_0x280e4e[_0x1dc7f6(0x205)](_0x3a4803['id'])&&_0x3a4803[_0x1dc7f6(0x302)]['unitId']===this[_0x1dc7f6(0x298)][_0x1dc7f6(0x44c)]&&this[_0x1dc7f6(0x388)]();}));}['_initResize'](){const _0x37545c=_0x50570e;this[_0x37545c(0x1c0)](_0x59adf4[_0x37545c(0x380)](this[_0x37545c(0x298)][_0x37545c(0x1d6)][_0x37545c(0x33e)])['pipe'](_0xbdafbc[_0x37545c(0x35e)](_0x1de832=>_0x1de832[_0x37545c(0x2ec)]===_0x18f11f[_0x37545c(0x323)][_0x37545c(0x396)]),_0xbdafbc[_0x37545c(0x2a6)](0x10))['subscribe'](()=>{const _0x200d69=_0x37545c;this[_0x200d69(0x388)]();}));}};_0x45c915=_0x47d2c5([_0x2c3c86(0x1,_0x59adf4[_0x50570e(0x3b2)](_0x4c95c4['DocSkeletonManagerService'])),_0x2c3c86(0x2,_0x59adf4['Inject'](_0x1da02f)),_0x2c3c86(0x3,_0x59adf4[_0x50570e(0x200)]),_0x2c3c86(0x4,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4[_0x50570e(0x43a)]))],_0x45c915);const _0x35da29=0x1,_0x5a1ead=1.5;class _0x169269 extends _0x18f11f[_0x50570e(0x2bc)]{constructor(_0x20592a,_0x3b38f2){const _0x231635=_0x50570e;super(_0x20592a,_0x3b38f2),_0x42c1e1(this,_0x231635(0x1cf)),_0x42c1e1(this,_0x231635(0x3a9),!0x1),_0x42c1e1(this,_0x231635(0x2ff)),_0x42c1e1(this,'_name',''),_0x42c1e1(this,'_labelPosition',_0x231635(0x353)),_0x42c1e1(this,_0x231635(0x2df)),(_0x3b38f2&&this[_0x231635(0x444)](_0x3b38f2),this[_0x231635(0x3a7)][_0x231635(0x2eb)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x231635(0x360)][_0x231635(0x2eb)](()=>this[_0x231635(0x444)]({'hovered':!0x1})));}[_0x50570e(0x444)](_0x6b6f75){const _0x21836b=_0x50570e;var _0x7787b5,_0x4c0691,_0x258dd8,_0x12fbd1,_0x24f054,_0x2328cc;this[_0x21836b(0x1cf)]=(_0x7787b5=_0x6b6f75[_0x21836b(0x2ad)])!=null?_0x7787b5:this[_0x21836b(0x1cf)],this[_0x21836b(0x3a9)]=(_0x4c0691=_0x6b6f75['hovered'])!=null?_0x4c0691:this[_0x21836b(0x3a9)],this[_0x21836b(0x2ff)]=(_0x258dd8=_0x6b6f75[_0x21836b(0x309)])!=null?_0x258dd8:this['_range'],this[_0x21836b(0x2d3)]=(_0x12fbd1=_0x6b6f75[_0x21836b(0x3d0)])!=null?_0x12fbd1:this[_0x21836b(0x2d3)],this['_labelPosition']=(_0x24f054=_0x6b6f75['labelPosition'])!=null?_0x24f054:this['_labelPosition'],this[_0x21836b(0x2df)]=(_0x2328cc=_0x6b6f75['backgroundColor'])!=null?_0x2328cc:this[_0x21836b(0x2df)],this['transformByState']({'width':_0x6b6f75[_0x21836b(0x22c)],'height':_0x6b6f75[_0x21836b(0x436)]});}['onMouseMove'](_0x3f450b){const _0x403826=_0x50570e,{row:_0x28991a,column:_0x53938a}=_0x3f450b;if(_0x28991a>=this[_0x403826(0x2ff)][_0x403826(0x320)]&&_0x28991a<=this['_range'][_0x403826(0x274)]&&_0x53938a>=this[_0x403826(0x2ff)][_0x403826(0x335)]&&_0x53938a<=this['_range']['endColumn']){this[_0x403826(0x444)]({'hovered':!0x0});return;}this[_0x403826(0x444)]({'hovered':!0x1});}[_0x50570e(0x3bb)](_0x486618){return!0x1;}['_draw'](_0x5c89c8){const _0x3efd5b=_0x50570e;_0x18f11f['Rect'][_0x3efd5b(0x37a)](_0x5c89c8,{'width':this[_0x3efd5b(0x22c)],'height':this[_0x3efd5b(0x436)],'strokeWidth':_0x5a1ead,'stroke':this[_0x3efd5b(0x1cf)],'evented':!0x1,'fill':this[_0x3efd5b(0x2df)]}),this['_hovered']&&(_0x5c89c8['save'](),_0x5c89c8[_0x3efd5b(0x2a5)](0x1,0x0,0x0,0x1,this[_0x3efd5b(0x22c)],this[_0x3efd5b(0x26e)]==='bottom'?0x0:-0x14),_0x20767a[_0x3efd5b(0x37a)](_0x5c89c8,{'text':this[_0x3efd5b(0x2d3)],'color':this[_0x3efd5b(0x1cf)]}),_0x5c89c8[_0x3efd5b(0x21e)]());}}var _0x443f54=Object[_0x50570e(0x2fa)],_0x743374=(_0x1b1920,_0x54e40a,_0x308165,_0x113f62)=>{const _0x4c746b=_0x50570e;for(var _0x21cd8f=_0x113f62>0x1?void 0x0:_0x113f62?_0x443f54(_0x54e40a,_0x308165):_0x54e40a,_0x23eac2=_0x1b1920[_0x4c746b(0x37d)]-0x1,_0x4ece3d;_0x23eac2>=0x0;_0x23eac2--)(_0x4ece3d=_0x1b1920[_0x23eac2])&&(_0x21cd8f=_0x4ece3d(_0x21cd8f)||_0x21cd8f);return _0x21cd8f;},_0x1ae1f7=(_0x3983b5,_0x479f72)=>(_0x3acb64,_0x2e6af3)=>_0x479f72(_0x3acb64,_0x2e6af3,_0x3983b5);const _0x245bee=0x1389;let _0x23dcf3=class extends _0x59adf4[_0x50570e(0x316)]{constructor(_0x5d8bef,_0x2cc8e9,_0x3546d6,_0x3c27df){const _0x3d122e=_0x50570e;super(),_0x42c1e1(this,'_cursors',new Set()),_0x42c1e1(this,_0x3d122e(0x211),null),(this['_context']=_0x5d8bef,this[_0x3d122e(0x28c)]=_0x2cc8e9,this[_0x3d122e(0x30b)]=_0x3546d6,this[_0x3d122e(0x3cc)]=_0x3c27df,this[_0x3d122e(0x359)]());}[_0x50570e(0x359)](){const _0x364a44=_0x50570e;this['_sheetSkeletonManagerService'][_0x364a44(0x275)]['pipe'](_0xbdafbc[_0x364a44(0x2c7)](this[_0x364a44(0x3f4)]),_0xbdafbc[_0x364a44(0x3ed)](_0x580932=>{const _0x493ae0=_0x364a44;if(_0x580932){const _0x4ff668=_0x580932[_0x493ae0(0x402)];return _0x23d3ed[_0x493ae0(0x36f)](this[_0x493ae0(0x30b)]['getCollabCursors$'](this[_0x493ae0(0x298)]['unitId']),this[_0x493ae0(0x3cc)][_0x493ae0(0x299)])['pipe'](_0xbdafbc[_0x493ae0(0x1de)](([_0x527402,_0x44b1de])=>{const _0x2a214f=new Map();return _0x527402['forEach']((_0x1df8bc,_0x5645bd)=>{const _0x3b0346=_0x4b9e;if(_0x1df8bc[_0x3b0346(0x22e)]===_0x4ff668){const _0x26c18e={..._0x1df8bc};_0x26c18e['color']=this[_0x3b0346(0x3cc)][_0x3b0346(0x338)](_0x1df8bc[_0x3b0346(0x2ad)]),_0x2a214f['set'](_0x5645bd,_0x26c18e);}}),{'skeleton':_0x580932,'cursors':_0x2a214f};}));}return _0x23d3ed['of']({'skeleton':null,'cursors':new Map()});}))[_0x364a44(0x227)](({skeleton:_0xeaae0f,cursors:_0x3d35f1})=>{const _0x34f54e=_0x364a44;this[_0x34f54e(0x2b6)](),_0xeaae0f&&this['_updateCollabCursors'](_0xeaae0f,_0x3d35f1);}),this['_sheetSkeletonManagerService'][_0x364a44(0x275)][_0x364a44(0x227)](_0x21f150=>{const _0x2c5c6a=_0x364a44;if(_0x21f150==null)return;const {skeleton:_0x598563}=_0x21f150,{scene:_0x28d92e}=this['_context'];_0x28d92e[_0x2c5c6a(0x451)][_0x2c5c6a(0x2eb)](_0x59adf4[_0x2c5c6a(0x2e5)](_0x5819f6=>{const _0x21828f=_0x2c5c6a;var _0x4a2818,_0xf329d9;const {offsetX:_0x2eef09,offsetY:_0x4521a7}=_0x5819f6,{x:_0x4b346e,y:_0x47e996}=_0x28d92e[_0x21828f(0x2ae)](_0x18f11f['Vector2'][_0x21828f(0x3e0)]([_0x2eef09,_0x4521a7])),{scaleX:_0x5360f7,scaleY:_0x44237c}=_0x28d92e[_0x21828f(0x368)](),_0x2786dc=_0x28d92e[_0x21828f(0x31a)](_0x18f11f[_0x21828f(0x3bf)][_0x21828f(0x246)]),_0x30e19d=_0x28d92e[_0x21828f(0x2c5)](_0x18f11f[_0x21828f(0x341)][_0x21828f(0x3e0)]([_0x4b346e,_0x47e996]),_0x2786dc),_0x58fb74=_0x598563[_0x21828f(0x24a)](_0x2eef09,_0x4521a7,_0x5360f7,_0x44237c,_0x30e19d);((_0x4a2818=this[_0x21828f(0x211)])==null?void 0x0:_0x4a2818['column'])===_0x58fb74[_0x21828f(0x346)]&&((_0xf329d9=this['_lastPointer'])==null?void 0x0:_0xf329d9[_0x21828f(0x447)])===_0x58fb74[_0x21828f(0x447)]||this[_0x21828f(0x258)][_0x21828f(0x201)](_0x1319e8=>{const _0x514cfa=_0x21828f;_0x1319e8[_0x514cfa(0x361)](_0x58fb74);});},0x64));});}[_0x50570e(0x343)](_0x65c07e,_0x459851){const _0x1b605b=_0x50570e;var _0x3e12c0;const _0x5bca6e=(_0x3e12c0=this[_0x1b605b(0x28c)][_0x1b605b(0x326)]())==null?void 0x0:_0x3e12c0[_0x1b605b(0x3c9)];if(!_0x5bca6e)return;const _0x5d91dd=this['_getSheetObject']();if(!_0x5d91dd)return;this[_0x1b605b(0x258)][_0x1b605b(0x201)](_0x519097=>{const _0x1a1931=_0x1b605b;_0x519097[_0x1a1931(0x2c9)]();});const {scene:_0x7308c8}=_0x5d91dd,_0x52e6c6=_0x5c1984(Array[_0x1b605b(0x257)](_0x459851['values']()))[_0x1b605b(0x1de)](_0x5ae938=>{const _0x27019c=_0x1b605b,{color:_0x3e6663,range:_0x51ca81,name:_0x4d51de,selection:_0x424c30,sheetID:_0x5ed5ea}=_0x5ae938,{startColumn:_0x374d49,startRow:_0x3a98ca,endColumn:_0x5a28b4,endRow:_0x56ecb5}=_0x51ca81,_0xb22b11=_0x3a2c75[_0x27019c(0x219)](_0x3a98ca,_0x374d49,_0x7308c8,_0x5bca6e),_0x4760e6=_0x3a2c75[_0x27019c(0x219)](_0x56ecb5,_0x5a28b4,_0x7308c8,_0x5bca6e),{columnHeaderHeightAndMarginTop:_0x3036a9}=_0x5bca6e,{startX:_0x1663fd,startY:_0x5e2ae4}=_0xb22b11,{endX:_0x28a3cc,endY:_0x1840b7}=_0x4760e6,_0x276fb5=_0x28a3cc-_0x1663fd,_0x2947c5=_0x1840b7-_0x5e2ae4,_0x52c661={'labelPosition':_0x5e2ae4-_0x3036a9>=_0x4231fb?_0x27019c(0x353):_0x27019c(0x1e7),'sheetID':_0x5ed5ea,'range':_0x51ca81,'color':_0x3e6663,'name':_0x4d51de,'selection':_0x424c30,'left':_0x1663fd,'top':_0x5e2ae4,'width':_0x276fb5,'height':_0x2947c5,'evented':!0x1,'zIndex':_0x245bee};return new _0x169269(_0x4d51de,_0x52c661);});_0x7308c8['addObjects'](_0x52e6c6,_0x35da29),this[_0x1b605b(0x258)]=new Set(_0x52e6c6);}['_removeCollabCursors'](){const _0x519490=_0x50570e;var _0x380c67;(_0x380c67=this[_0x519490(0x258)])==null||_0x380c67[_0x519490(0x201)](_0x5579fb=>_0x5579fb[_0x519490(0x392)]());}[_0x50570e(0x260)](){const _0x2e47aa=_0x50570e;return _0x3a2c75[_0x2e47aa(0x26b)](this['_context'][_0x2e47aa(0x42e)],this[_0x2e47aa(0x298)]);}};_0x23dcf3=_0x743374([_0x1ae1f7(0x1,_0x59adf4[_0x50570e(0x3b2)](_0x3a2c75[_0x50570e(0x2ca)])),_0x1ae1f7(0x2,_0x59adf4['Inject'](_0x1da02f)),_0x1ae1f7(0x3,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4['ThemeService']))],_0x23dcf3);function _0x5c1984(_0x4c4fd8){const _0xef3d61=_0x50570e,_0x5aa85c=new Map();return _0x4c4fd8['forEach'](_0x562f59=>{const _0x563f63=_0x4b9e;if(_0x5aa85c['has'](_0x562f59[_0x563f63(0x1e9)])){const _0x49b6ba=_0x5aa85c[_0x563f63(0x1d4)](_0x562f59[_0x563f63(0x1e9)]);_0x49b6ba['name']+=',\x20'+_0x562f59[_0x563f63(0x3d0)];}else _0x5aa85c[_0x563f63(0x332)](_0x562f59[_0x563f63(0x1e9)],_0x562f59);}),Array[_0xef3d61(0x257)](_0x5aa85c[_0xef3d61(0x243)]());}var _0x3c5e1e=function(){const _0x7b26f3=_0x50570e;return _0x3c5e1e=Object['assign']||function(_0x31a878){const _0x23a13e=_0x4b9e;for(var _0x147d94,_0x4ecb30=0x1,_0x35b8db=arguments[_0x23a13e(0x37d)];_0x4ecb30<_0x35b8db;_0x4ecb30++){_0x147d94=arguments[_0x4ecb30];for(var _0x375f1c in _0x147d94)Object[_0x23a13e(0x36e)]['hasOwnProperty'][_0x23a13e(0x259)](_0x147d94,_0x375f1c)&&(_0x31a878[_0x375f1c]=_0x147d94[_0x375f1c]);}return _0x31a878;},_0x3c5e1e[_0x7b26f3(0x3f9)](this,arguments);},_0x1095d6=function(_0x3b69a8,_0x21396a){const _0xddb91f=_0x50570e;var _0x501346={};for(var _0x14a30c in _0x3b69a8)Object[_0xddb91f(0x36e)][_0xddb91f(0x23a)]['call'](_0x3b69a8,_0x14a30c)&&_0x21396a[_0xddb91f(0x3e6)](_0x14a30c)<0x0&&(_0x501346[_0x14a30c]=_0x3b69a8[_0x14a30c]);if(_0x3b69a8!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x136652=0x0,_0x14a30c=Object[_0xddb91f(0x247)](_0x3b69a8);_0x136652<_0x14a30c[_0xddb91f(0x37d)];_0x136652++)_0x21396a['indexOf'](_0x14a30c[_0x136652])<0x0&&Object[_0xddb91f(0x36e)][_0xddb91f(0x2dc)]['call'](_0x3b69a8,_0x14a30c[_0x136652])&&(_0x501346[_0x14a30c[_0x136652]]=_0x3b69a8[_0x14a30c[_0x136652]]);}return _0x501346;},_0x410573=_0x288b13[_0x50570e(0x356)](function(_0x1810a7,_0x409e8b){const _0x56889d=_0x50570e;var _0x4ff72e=_0x1810a7['icon'],_0x14b318=_0x1810a7['id'],_0x1069ac=_0x1810a7[_0x56889d(0x2e7)],_0x670699=_0x1810a7[_0x56889d(0x441)],_0x2f303d=_0x1095d6(_0x1810a7,[_0x56889d(0x305),'id','className','extend']),_0x261ae5=_0x56889d(0x416)['concat'](_0x14b318,'\x20')[_0x56889d(0x421)](_0x1069ac||'')['trim'](),_0x425433=_0x288b13[_0x56889d(0x405)]('_'[_0x56889d(0x421)](_0x54a905()));return _0x58f7d6(_0x4ff72e,''['concat'](_0x14b318),{'defIds':_0x4ff72e[_0x56889d(0x29a)],'idSuffix':_0x425433[_0x56889d(0x234)]},_0x3c5e1e({'ref':_0x409e8b,'className':_0x261ae5},_0x2f303d),_0x670699);});function _0x58f7d6(_0x5c9af9,_0x539bb1,_0x5385a6,_0x3d021a,_0x329639){const _0x2acd97=_0x50570e;return _0x288b13[_0x2acd97(0x2a1)](_0x5c9af9[_0x2acd97(0x378)],_0x3c5e1e(_0x3c5e1e({'key':_0x539bb1},_0x48b7df(_0x5c9af9,_0x5385a6,_0x329639)),_0x3d021a),(_0x12095b(_0x5c9af9,_0x5385a6)[_0x2acd97(0x221)]||[])['map'](function(_0x47d17b,_0x9913d8){const _0x53820a=_0x2acd97;return _0x58f7d6(_0x47d17b,''[_0x53820a(0x421)](_0x539bb1,'-')['concat'](_0x5c9af9[_0x53820a(0x378)],'-')[_0x53820a(0x421)](_0x9913d8),_0x5385a6,void 0x0,_0x329639);}));}function _0x48b7df(_0x15c569,_0x336dd2,_0x407e81){const _0x1acbb5=_0x50570e;var _0x473027=_0x3c5e1e({},_0x15c569[_0x1acbb5(0x33b)]);_0x407e81!=null&&_0x407e81[_0x1acbb5(0x44f)]&&_0x473027[_0x1acbb5(0x3d4)]===_0x1acbb5(0x44f)&&(_0x473027[_0x1acbb5(0x3d4)]=_0x407e81[_0x1acbb5(0x44f)]),_0x15c569[_0x1acbb5(0x378)]==='mask'&&_0x473027['id']&&(_0x473027['id']=_0x473027['id']+_0x336dd2[_0x1acbb5(0x210)]),Object[_0x1acbb5(0x35a)](_0x473027)[_0x1acbb5(0x201)](function(_0x21240e){const _0x504948=_0x1acbb5;var _0x1fc79d=_0x21240e[0x0],_0xc488fc=_0x21240e[0x1];_0x1fc79d===_0x504948(0x27f)&&typeof _0xc488fc==_0x504948(0x29d)&&(_0x473027[_0x1fc79d]=_0xc488fc[_0x504948(0x21d)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x336dd2[_0x504948(0x210)],')')));});var _0x36b266=_0x336dd2[_0x1acbb5(0x29a)];return!_0x36b266||_0x36b266['length']===0x0||(_0x15c569[_0x1acbb5(0x378)]===_0x1acbb5(0x3ac)&&_0x473027[_0x1acbb5(0x429)]&&(_0x473027[_0x1acbb5(0x429)]=_0x473027[_0x1acbb5(0x429)]+_0x336dd2[_0x1acbb5(0x210)]),Object[_0x1acbb5(0x35a)](_0x473027)[_0x1acbb5(0x201)](function(_0x5ecc3f){const _0x27a7ea=_0x1acbb5;var _0x464be3=_0x5ecc3f[0x0],_0x2797fc=_0x5ecc3f[0x1];typeof _0x2797fc=='string'&&(_0x473027[_0x464be3]=_0x2797fc[_0x27a7ea(0x21d)](/url\(#(.*)\)/,_0x27a7ea(0x251)[_0x27a7ea(0x421)](_0x336dd2['idSuffix'],')')));})),_0x473027;}function _0x12095b(_0x217567,_0x35f185){const _0xcfc451=_0x50570e;var _0x5ab600,_0x4d7357=_0x35f185[_0xcfc451(0x29a)];return!_0x4d7357||_0x4d7357['length']===0x0?_0x217567:_0x217567['tag']==='defs'&&(!((_0x5ab600=_0x217567['children'])===null||_0x5ab600===void 0x0)&&_0x5ab600[_0xcfc451(0x37d)])?_0x3c5e1e(_0x3c5e1e({},_0x217567),{'children':_0x217567[_0xcfc451(0x221)]['map'](function(_0x290e2a){const _0x18a80b=_0xcfc451;return typeof _0x290e2a[_0x18a80b(0x33b)]['id']==_0x18a80b(0x29d)&&_0x4d7357&&_0x4d7357[_0x18a80b(0x205)](_0x290e2a[_0x18a80b(0x33b)]['id'])?_0x3c5e1e(_0x3c5e1e({},_0x290e2a),{'attrs':_0x3c5e1e(_0x3c5e1e({},_0x290e2a[_0x18a80b(0x33b)]),{'id':_0x290e2a['attrs']['id']+_0x35f185['idSuffix']})}):_0x290e2a;})}):_0x217567;}function _0x54a905(){const _0xfefdb9=_0x50570e;return Math[_0xfefdb9(0x2a9)]()[_0xfefdb9(0x1f4)](0x24)[_0xfefdb9(0x39b)](0x2,0x8);}_0x410573[_0x50570e(0x336)]=_0x50570e(0x25b);var _0x2efb02={'tag':_0x50570e(0x3d1),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x50570e(0x2ab),'viewBox':_0x50570e(0x414),'width':_0x50570e(0x445),'height':_0x50570e(0x445)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x50570e(0x3a8),'attrs':{'stroke':_0x50570e(0x317),'d':_0x50570e(0x41a),'strokeLinecap':_0x50570e(0x2fb),'strokeLinejoin':_0x50570e(0x2fb),'strokeWidth':1.2}}]},{'tag':_0x50570e(0x2c4),'attrs':{},'children':[{'tag':_0x50570e(0x3e8),'attrs':{'id':_0x50570e(0x215)},'children':[{'tag':_0x50570e(0x3a8),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x50570e(0x215)]},_0x283e38=_0x288b13[_0x50570e(0x356)](function(_0x10655e,_0x25bf9e){const _0x3c0cfe=_0x50570e;return _0x288b13[_0x3c0cfe(0x2a1)](_0x410573,Object[_0x3c0cfe(0x3d7)]({},_0x10655e,{'id':'off-line-icon','ref':_0x25bf9e,'icon':_0x2efb02}));});_0x283e38[_0x50570e(0x336)]=_0x50570e(0x21f);var _0x128c65={'tag':_0x50570e(0x3d1),'attrs':{'xmlns':_0x50570e(0x1ba),'fill':_0x50570e(0x2ab),'viewBox':_0x50570e(0x1da),'width':_0x50570e(0x445),'height':_0x50570e(0x445)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x50570e(0x3a8),'attrs':{'stroke':_0x50570e(0x317),'d':'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','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x50570e(0x2c4),'attrs':{},'children':[{'tag':_0x50570e(0x3e8),'attrs':{'id':_0x50570e(0x291)},'children':[{'tag':'path','attrs':{'fill':_0x50570e(0x281),'d':_0x50570e(0x43f),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x10656e=_0x288b13[_0x50570e(0x356)](function(_0x285bfd,_0x8d596b){const _0xa3c630=_0x50570e;return _0x288b13[_0xa3c630(0x2a1)](_0x410573,Object[_0xa3c630(0x3d7)]({},_0x285bfd,{'id':_0xa3c630(0x1d2),'ref':_0x8d596b,'icon':_0x128c65}));});_0x10656e['displayName']=_0x50570e(0x3f7);function _0x14d567(_0x408981){const _0x1f13f8=_0x50570e;switch(_0x408981){case _0x260a16[_0x1f13f8(0x34b)]['OFFLINE']:return _0x1f13f8(0x400);case _0x260a16['CollaborationStatus'][_0x1f13f8(0x22f)]:return _0x1f13f8(0x3ea);case _0x260a16['CollaborationStatus'][_0x1f13f8(0x1db)]:return _0x1f13f8(0x32a);case _0x260a16['CollaborationStatus'][_0x1f13f8(0x349)]:return _0x1f13f8(0x240);case _0x260a16[_0x1f13f8(0x34b)][_0x1f13f8(0x439)]:case _0x260a16[_0x1f13f8(0x34b)][_0x1f13f8(0x1f2)]:return _0x1f13f8(0x34d);case _0x260a16['CollaborationStatus'][_0x1f13f8(0x3eb)]:case _0x260a16['CollaborationStatus'][_0x1f13f8(0x28a)]:return _0x1f13f8(0x1f0);}}function _0x2a3c41(_0x29f2db){const _0xe40ff8=_0x50570e,{status$:_0x1b233e}=_0x29f2db,_0x455e98=_0x2ef7b5['useObservable'](_0x1b233e,_0x260a16['CollaborationStatus'][_0xe40ff8(0x349)]),_0x482b72=_0x2ef7b5[_0xe40ff8(0x1bd)](_0x59adf4[_0xe40ff8(0x446)]),_0x39d846=_0x2ef7b5[_0xe40ff8(0x1bd)](_0x260a16[_0xe40ff8(0x3fe)]),_0x10503d=_0x455e98!==_0x260a16[_0xe40ff8(0x34b)][_0xe40ff8(0x333)],_0x5e07ec=_0x482b72['t'](_0x14d567(_0x455e98)),_0x1311f=_0x10503d?_0x680642[_0xe40ff8(0x1fb)](_0x10656e,{}):_0x680642[_0xe40ff8(0x1fb)](_0x283e38,{}),_0x5cac4d=_0x288b13[_0xe40ff8(0x32c)](()=>{const _0x265c9b=_0xe40ff8;_0x10503d||_0x39d846[_0x265c9b(0x228)]();},[_0x10503d,_0x39d846]);function _0xdfefb8(){const _0x33b273=_0xe40ff8;return _0x680642['jsxs'](_0x33b273(0x3ec),{'className':_0x33b273(0x344),'onClick':_0x5cac4d,'children':[_0x680642['jsx'](_0x33b273(0x3ec),{'className':_0x4e8a35[_0x33b273(0x27d)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x10503d,'univer-text-red-500':!_0x10503d}),'children':_0x1311f}),_0x680642[_0x33b273(0x1fb)](_0x33b273(0x3ec),{'className':_0x33b273(0x347),'children':_0x5e07ec})]});}return _0x10503d?_0xdfefb8():_0x680642['jsx'](_0x4e8a35[_0xe40ff8(0x2d8)],{'title':_0x482b72['t'](_0xe40ff8(0x408)),'children':_0xdfefb8()});}var _0x162b55=Object['getOwnPropertyDescriptor'],_0x52ac5a=(_0xace1c3,_0x318900,_0x3efce5,_0x3e48ce)=>{const _0x15682c=_0x50570e;for(var _0x19c7ed=_0x3e48ce>0x1?void 0x0:_0x3e48ce?_0x162b55(_0x318900,_0x3efce5):_0x318900,_0x57bdcf=_0xace1c3[_0x15682c(0x37d)]-0x1,_0x5dbd51;_0x57bdcf>=0x0;_0x57bdcf--)(_0x5dbd51=_0xace1c3[_0x57bdcf])&&(_0x19c7ed=_0x5dbd51(_0x19c7ed)||_0x19c7ed);return _0x19c7ed;},_0x29c9a4=(_0x363f39,_0x1a6d3b)=>(_0x593fe5,_0x1be36e)=>_0x1a6d3b(_0x593fe5,_0x1be36e,_0x363f39);_0x43eb57[_0x50570e(0x266)]=class extends _0x59adf4[_0x50570e(0x1d7)]{constructor(_0x597149,_0x4d6926,_0x422721,_0x7c4698){const _0x28b1ac=_0x50570e;super(),_0x42c1e1(this,_0x28b1ac(0x40c),new _0x23d3ed[(_0x28b1ac(0x42d))](_0x260a16[_0x28b1ac(0x34b)][_0x28b1ac(0x349)])),(this['_univerInstanceService']=_0x597149,this[_0x28b1ac(0x232)]=_0x4d6926,this[_0x28b1ac(0x3a1)]=_0x422721,this['_uiPartsService']=_0x7c4698,this[_0x28b1ac(0x37c)](),this[_0x28b1ac(0x1dd)]());}[_0x50570e(0x1dd)](){const _0x4981ad=_0x50570e;this[_0x4981ad(0x1c0)](this[_0x4981ad(0x284)][_0x4981ad(0x397)]['pipe'](_0x23d3ed[_0x4981ad(0x3ed)](()=>{const _0x3e9264=_0x4981ad,_0x5e623e=this[_0x3e9264(0x284)][_0x3e9264(0x29c)]();return _0x5e623e?this['_collaborationController']['getCollabEntity$'](_0x5e623e[_0x3e9264(0x3ca)]()):_0x23d3ed['of'](null);}),_0x23d3ed[_0x4981ad(0x3ed)](_0x4bebc0=>_0x4bebc0?_0x4bebc0[_0x4981ad(0x2c3)]:_0x23d3ed['of'](_0x260a16[_0x4981ad(0x34b)][_0x4981ad(0x349)])))[_0x4981ad(0x227)](_0x4ec4ff=>{const _0x59334f=_0x4981ad;this[_0x59334f(0x40c)]['next'](_0x4ec4ff);}));}['_initStatusComponent'](){const _0xc63189=_0x50570e;this[_0xc63189(0x1c0)](this[_0xc63189(0x41c)][_0xc63189(0x42f)](_0x2ef7b5['BuiltInUIPart']['HEADER_MENU'],()=>_0x2ef7b5['connectInjector'](_0x35f384({'status$':this[_0xc63189(0x40c)]['asObservable']()}),this[_0xc63189(0x232)])));}},_0x43eb57[_0x50570e(0x266)]=_0x52ac5a([_0x29c9a4(0x0,_0x59adf4[_0x50570e(0x24b)]),_0x29c9a4(0x1,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4[_0x50570e(0x364)])),_0x29c9a4(0x2,_0x59adf4[_0x50570e(0x3b2)](_0x260a16[_0x50570e(0x403)])),_0x29c9a4(0x3,_0x2ef7b5[_0x50570e(0x3df)])],_0x43eb57[_0x50570e(0x266)]);function _0x35f384(_0x597498){const {status$:_0x222407}=_0x597498;return function(){const _0x10b8fb=_0x4b9e;return _0x680642[_0x10b8fb(0x1fb)](_0x2a3c41,{'status$':_0x222407});};}var _0x540709=Object[_0x50570e(0x2fa)],_0x41136=(_0x33fbcc,_0x3fe7b0,_0x2cb985,_0x422ad7)=>{for(var _0x1fd5b0=_0x422ad7>0x1?void 0x0:_0x422ad7?_0x540709(_0x3fe7b0,_0x2cb985):_0x3fe7b0,_0x5ee60d=_0x33fbcc['length']-0x1,_0xb3878d;_0x5ee60d>=0x0;_0x5ee60d--)(_0xb3878d=_0x33fbcc[_0x5ee60d])&&(_0x1fd5b0=_0xb3878d(_0x1fd5b0)||_0x1fd5b0);return _0x1fd5b0;},_0x6f2a4b=(_0x27f8be,_0x115f55)=>(_0x6ee359,_0x2771ff)=>_0x115f55(_0x6ee359,_0x2771ff,_0x27f8be);let _0x1673b=class extends _0x59adf4[_0x50570e(0x1d7)]{constructor(_0x112769,_0x662c7,_0x33854c,_0x55c4fe,_0x533e01,_0xd30a7f){const _0x1ba650=_0x50570e;super(),this[_0x1ba650(0x423)]=_0x112769,this['_localCacheService']=_0x662c7,this[_0x1ba650(0x42b)]=_0x33854c,this['_messageService']=_0x55c4fe,this['_notificationService']=_0x533e01,this['_localeService']=_0xd30a7f,this[_0x1ba650(0x263)](),this['_initEvent']();}[_0x50570e(0x263)](){const _0x5a28fb=_0x50570e;this[_0x5a28fb(0x1c0)](this[_0x5a28fb(0x423)]['registerBeforeClose'](()=>{const _0x17e73f=_0x5a28fb;if(this['_localCacheService']['saveTaskMap']['size'])return this[_0x17e73f(0x3ee)]['t'](_0x17e73f(0x340));}));}[_0x50570e(0x420)](){const _0x427552=_0x50570e;this[_0x427552(0x1c0)](this['_collaborationUIEventService']['event$'][_0x427552(0x227)](_0x23fc2c=>{const _0x388be2=_0x427552;_0x23fc2c['id']===_0x260a16[_0x388be2(0x2d5)]['OTHER_CLIENT_EDITING']&&this[_0x388be2(0x3c8)][_0x388be2(0x25f)]({'type':_0x4e8a35[_0x388be2(0x2af)][_0x388be2(0x374)],'content':this[_0x388be2(0x3ee)]['t'](_0x388be2(0x36d))}),_0x23fc2c['id']===_0x260a16[_0x388be2(0x2d5)]['CLOSE_ROOM']&&this['_messageService'][_0x388be2(0x25f)]({'type':_0x4e8a35[_0x388be2(0x2af)]['Warning'],'content':this[_0x388be2(0x3ee)]['t'](_0x388be2(0x306))}),_0x23fc2c['id']===_0x260a16['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x388be2(0x432)][_0x388be2(0x25f)]({'title':this['_localeService']['t'](_0x388be2(0x3ba)),'content':this[_0x388be2(0x3ee)]['t']('permission.content'),'type':_0x388be2(0x41b),'duration':0x0}),_0x23fc2c['id']===_0x260a16[_0x388be2(0x2d5)]['CONFLICT']&&this[_0x388be2(0x3c8)][_0x388be2(0x25f)]({'type':_0x4e8a35['MessageType'][_0x388be2(0x1ed)],'content':this[_0x388be2(0x3ee)]['t'](_0x388be2(0x306))+'('+_0x23fc2c[_0x388be2(0x24d)]+')'}),_0x23fc2c['id']===_0x260a16['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this['_messageService'][_0x388be2(0x25f)]({'type':_0x4e8a35[_0x388be2(0x2af)][_0x388be2(0x374)],'content':this['_localeService']['t'](_0x23fc2c[_0x388be2(0x24d)]||'')}),_0x23fc2c['id']===_0x260a16[_0x388be2(0x2d5)][_0x388be2(0x29f)]&&this['_messageService'][_0x388be2(0x25f)]({'type':_0x4e8a35[_0x388be2(0x2af)][_0x388be2(0x374)],'content':this[_0x388be2(0x3ee)]['t'](_0x388be2(0x350))}),_0x23fc2c['id']===_0x260a16['CollaborationUIEventId'][_0x388be2(0x273)]&&this[_0x388be2(0x3c8)][_0x388be2(0x25f)]({'type':_0x4e8a35[_0x388be2(0x2af)][_0x388be2(0x1ed)],'content':this[_0x388be2(0x3ee)]['t'](_0x388be2(0x267))}),_0x23fc2c['id']===_0x260a16[_0x388be2(0x2d5)][_0x388be2(0x1d0)]&&this[_0x388be2(0x3c8)][_0x388be2(0x25f)]({'type':_0x4e8a35[_0x388be2(0x2af)][_0x388be2(0x1ed)],'content':this[_0x388be2(0x3ee)]['t']('session.collaboration-timeout')});}));}};_0x1673b=_0x41136([_0x6f2a4b(0x0,_0x2ef7b5[_0x50570e(0x1f7)]),_0x6f2a4b(0x1,_0x260a16[_0x50570e(0x2c8)]),_0x6f2a4b(0x2,_0x59adf4[_0x50570e(0x3b2)](_0x260a16[_0x50570e(0x2e4)])),_0x6f2a4b(0x3,_0x2ef7b5['IMessageService']),_0x6f2a4b(0x4,_0x2ef7b5[_0x50570e(0x3dd)]),_0x6f2a4b(0x5,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4['LocaleService']))],_0x1673b);const _0x2a5ac7=_0x50570e(0x3cb),_0x4f7aee={},_0x5ded73=_0x59adf4[_0x50570e(0x1cc)](_0x50570e(0x3a4));var _0x40b5cf=Object[_0x50570e(0x2fa)],_0x159c15=(_0x26c9de,_0x233bcf,_0x322bf9,_0x38918a)=>{const _0x50adb1=_0x50570e;for(var _0x351db3=_0x38918a>0x1?void 0x0:_0x38918a?_0x40b5cf(_0x233bcf,_0x322bf9):_0x233bcf,_0x480a57=_0x26c9de[_0x50adb1(0x37d)]-0x1,_0x556b7e;_0x480a57>=0x0;_0x480a57--)(_0x556b7e=_0x26c9de[_0x480a57])&&(_0x351db3=_0x556b7e(_0x351db3)||_0x351db3);return _0x351db3;},_0x58eb8a=(_0x17c105,_0x30aae3)=>(_0x277449,_0x401de2)=>_0x30aae3(_0x277449,_0x401de2,_0x17c105);_0x43eb57[_0x50570e(0x265)]=class extends _0x59adf4[_0x50570e(0x316)]{constructor(_0xc2e53c,_0x58fcf1,_0x4e1190,_0x671ed7,_0x31e33b){const _0x87909a=_0x50570e;super(),this[_0x87909a(0x295)]=_0xc2e53c,this[_0x87909a(0x1c3)]=_0x58fcf1,this[_0x87909a(0x2d4)]=_0x4e1190,this[_0x87909a(0x288)]=_0x671ed7,_0x31e33b?_0x31e33b==null||_0x31e33b[_0x87909a(0x23c)]()[_0x87909a(0x383)](()=>this[_0x87909a(0x359)]()):(this[_0x87909a(0x1c3)]['debug'](_0x87909a(0x40f),_0x87909a(0x3da)),this[_0x87909a(0x359)]());}async[_0x50570e(0x359)](){const _0x4b988f=_0x50570e,_0x2c8595=this[_0x4b988f(0x295)]['getParam'](_0x4b988f(0x42e)),_0x107575=this[_0x4b988f(0x295)]['getParam']('type'),_0x4f8737=this[_0x4b988f(0x295)][_0x4b988f(0x27e)](_0x4b988f(0x3e1));if(!_0x2c8595||!_0x107575){this['_logService'][_0x4b988f(0x2e0)](_0x4b988f(0x40f),_0x4b988f(0x2d7));return;}const _0x34bdf1=await this['_dataLoaderService'][_0x4b988f(0x270)](_0x2c8595,Number(_0x107575),_0x4f8737);_0x34bdf1&&_0x34bdf1 instanceof _0x59adf4[_0x4b988f(0x1e8)]&&this['_setupSubUnitSync'](_0x34bdf1);}async['_setupSubUnitSync'](_0x38d45b){const _0x32fab4=_0x50570e;await this[_0x32fab4(0x401)](_0x38d45b),_0x38d45b[_0x32fab4(0x287)]['pipe'](_0x23d3ed[_0x32fab4(0x2c7)](this[_0x32fab4(0x3f4)]))[_0x32fab4(0x227)](_0x4efe64=>{const _0x1121a4=_0x32fab4;_0x4efe64&&this[_0x1121a4(0x2e8)](_0x4efe64);}),this['_urlService'][_0x32fab4(0x25d)][_0x32fab4(0x41f)](_0x23d3ed[_0x32fab4(0x2c7)](this['dispose$']))[_0x32fab4(0x227)](()=>this[_0x32fab4(0x401)](_0x38d45b));}[_0x50570e(0x2e8)](_0x5972f7,_0x49d896=!0x1){const _0x2980c9=_0x50570e,_0x58dc32=this[_0x2980c9(0x295)][_0x2980c9(0x27e)](_0x2980c9(0x3e1));_0x5972f7[_0x2980c9(0x2b3)]()!==_0x58dc32&&this['_urlService'][_0x2980c9(0x410)]('subunit',_0x5972f7[_0x2980c9(0x2b3)](),_0x49d896);}async[_0x50570e(0x401)](_0x384d19){const _0x239dfc=_0x50570e;var _0x23b8d9;const _0x1b8f1a=this['_urlService'][_0x239dfc(0x27e)]('subunit');if(!_0x1b8f1a||!_0x384d19[_0x239dfc(0x377)](_0x1b8f1a)){const _0x1e58ff=_0x384d19[_0x239dfc(0x208)]()[0x0],_0x55b01b=_0x384d19[_0x239dfc(0x377)](_0x1e58ff);if(!_0x55b01b)return;this[_0x239dfc(0x2e8)](_0x55b01b,!0x0),await this[_0x239dfc(0x2d4)]['executeCommand'](_0x315e9e['SetWorksheetActivateCommand']['id'],{'unitId':_0x384d19[_0x239dfc(0x3ca)](),'subUnitId':_0x1e58ff});return;}((_0x23b8d9=_0x384d19['getActiveSheet']())==null?void 0x0:_0x23b8d9[_0x239dfc(0x2b3)]())!==_0x1b8f1a&&await this['_commandService']['executeCommand'](_0x315e9e[_0x239dfc(0x428)]['id'],{'unitId':_0x384d19['getUnitId'](),'subUnitId':_0x1b8f1a});}},_0x43eb57['CollaborationDataLoaderController']=_0x159c15([_0x58eb8a(0x0,_0x5ded73),_0x58eb8a(0x1,_0x59adf4[_0x50570e(0x38c)]),_0x58eb8a(0x2,_0x59adf4['ICommandService']),_0x58eb8a(0x3,_0x59adf4[_0x50570e(0x3b2)](_0x260a16['DataLoaderService'])),_0x58eb8a(0x4,_0x59adf4[_0x50570e(0x245)](_0x3aa47b[_0x50570e(0x313)]))],_0x43eb57['CollaborationDataLoaderController']);var _0x5ba944=Object[_0x50570e(0x2fa)],_0x5ddf56=(_0x546b61,_0x2c7135,_0x4fa1ad,_0x44c11f)=>{const _0x1d31c1=_0x50570e;for(var _0x17dfb=_0x44c11f>0x1?void 0x0:_0x44c11f?_0x5ba944(_0x2c7135,_0x4fa1ad):_0x2c7135,_0x112369=_0x546b61[_0x1d31c1(0x37d)]-0x1,_0x132369;_0x112369>=0x0;_0x112369--)(_0x132369=_0x546b61[_0x112369])&&(_0x17dfb=_0x132369(_0x17dfb)||_0x17dfb);return _0x17dfb;},_0x1f4e4a=(_0x53e8df,_0x4065de)=>(_0x5440bc,_0xb33a52)=>_0x4065de(_0x5440bc,_0xb33a52,_0x53e8df);let _0x42fbd0=class{constructor(_0x9bf0d1,_0xae5e0f,_0x58fbdf){const _0x40dc60=_0x50570e;this['_injector']=_0x9bf0d1,this[_0x40dc60(0x384)]=_0xae5e0f,this[_0x40dc60(0x20c)]=_0x58fbdf;}[_0x50570e(0x2a3)](_0x4e3f0a){const _0x3b4e4f=_0x50570e;this['_transformUndoRedoStack'](_0x4e3f0a),this[_0x3b4e4f(0x40a)](_0x4e3f0a);}[_0x50570e(0x25c)](_0x5d9f2a){const _0x43a2e6=_0x50570e,{unitID:_0x4c673d}=_0x5d9f2a,_0x3f5b18=this[_0x43a2e6(0x20c)][_0x43a2e6(0x1f1)](_0x4c673d)[_0x43a2e6(0x1be)](_0x57e1c6[_0x43a2e6(0x283)]),{redoCache:_0x57adb4}=_0x3f5b18[_0x43a2e6(0x3de)]();if(_0x57adb4[_0x43a2e6(0x37d)]===0x0)return _0x5d9f2a;let _0x504a64=_0x59adf4[_0x43a2e6(0x39a)][_0x43a2e6(0x2ac)](_0x5d9f2a[_0x43a2e6(0x379)][0x0]);for(let _0x12c3bb=0x0;_0x12c3bb<_0x57adb4['length'];_0x12c3bb++){const _0x1fb5f3={'id':_0x43a2e6(0x41d),'params':{..._0x57adb4[_0x12c3bb]}},_0x3599c6=this[_0x43a2e6(0x384)][_0x43a2e6(0x1ec)](_0x504a64,_0x1fb5f3,!0x1);if(_0x31ad25[_0x43a2e6(0x357)](_0x3599c6))throw _0x3599c6[_0x43a2e6(0x41b)];_0x504a64=_0x3599c6[_0x43a2e6(0x2a4)];}return{..._0x59adf4['Tools'][_0x43a2e6(0x2ac)](_0x5d9f2a),'mutations':[_0x504a64]};}[_0x50570e(0x229)](_0x5cfded){const _0x1a1011=_0x50570e,{unitID:_0x235198}=_0x5cfded,_0x3d6368=this[_0x1a1011(0x20c)]['getRenderById'](_0x235198)['with'](_0x57e1c6[_0x1a1011(0x283)]),{undoCache:_0x268964,redoCache:_0x2b8da3}=_0x3d6368[_0x1a1011(0x3de)]();if(_0x268964[_0x1a1011(0x37d)]===0x0||_0x2b8da3[_0x1a1011(0x37d)]===0x0)return;const _0x28d079=[],_0x1f7792=[];let _0x12b5b9=_0x59adf4[_0x1a1011(0x39a)][_0x1a1011(0x2ac)](_0x5cfded[_0x1a1011(0x379)][0x0]),_0x1d391b=_0x59adf4[_0x1a1011(0x39a)]['deepClone'](_0x5cfded['mutations'][0x0]);for(let _0x14d65d=_0x268964[_0x1a1011(0x37d)]-0x1;_0x14d65d>=0x0;_0x14d65d--){const _0x5e1808={'id':'doc.mutation.rich-text-editing','params':{..._0x268964[_0x14d65d]}},_0x54c1a7={'id':_0x1a1011(0x41d),'params':{..._0x2b8da3[_0x14d65d]}},_0x256747=this[_0x1a1011(0x384)][_0x1a1011(0x1ec)](_0x12b5b9,_0x5e1808,!0x1),_0xf2ee9d=this[_0x1a1011(0x384)][_0x1a1011(0x1ec)](_0x1d391b,_0x54c1a7,!0x1);if(_0x31ad25['isTransformMutationFailure'](_0x256747))throw _0x256747[_0x1a1011(0x41b)];if(_0x31ad25['isTransformMutationFailure'](_0xf2ee9d))throw _0xf2ee9d['error'];_0x28d079[_0x1a1011(0x21b)](_0x256747[_0x1a1011(0x20e)]['params']),_0x1f7792[_0x1a1011(0x21b)](_0xf2ee9d[_0x1a1011(0x20e)][_0x1a1011(0x302)]),_0x12b5b9=_0x256747['m1Prime'],_0x1d391b=_0xf2ee9d[_0x1a1011(0x2a4)];}_0x3d6368[_0x1a1011(0x28e)]({'undoCache':_0x28d079,'redoCache':_0x1f7792});}[_0x50570e(0x40a)](_0x4d6ac6){const _0x18ece7=_0x50570e,{unitID:_0x258dc8}=_0x4d6ac6,_0x2dc5a1=this[_0x18ece7(0x20c)][_0x18ece7(0x1f1)](_0x258dc8)[_0x18ece7(0x1be)](_0x57e1c6['DocIMEInputManagerService']),_0x250d0b=_0x2dc5a1['getActiveRange']();if(_0x250d0b==null)return;const _0x4fb12d=[{'id':_0x18ece7(0x41d),'params':{'unitId':_0x4d6ac6[_0x18ece7(0x411)],'actions':null,'textRanges':[_0x250d0b]}}],_0x5e9282=this[_0x18ece7(0x384)][_0x18ece7(0x2d2)](_0x4d6ac6,_0x4fb12d);if(!_0x31ad25[_0x18ece7(0x324)](_0x5e9282))throw _0x5e9282[_0x18ece7(0x41b)];const _0x4b85f3=_0x5e9282[_0x18ece7(0x20e)][0x0][_0x18ece7(0x302)][_0x18ece7(0x3b1)];Array[_0x18ece7(0x3b6)](_0x4b85f3)&&_0x4b85f3[_0x18ece7(0x37d)]&&_0x2dc5a1[_0x18ece7(0x322)](_0x4b85f3[0x0]);}};_0x42fbd0=_0x5ddf56([_0x1f4e4a(0x0,_0x59adf4['Inject'](_0x59adf4[_0x50570e(0x364)])),_0x1f4e4a(0x1,_0x31ad25[_0x50570e(0x393)]),_0x1f4e4a(0x2,_0x18f11f[_0x50570e(0x294)])],_0x42fbd0);var _0x5a4bcb=Object[_0x50570e(0x2fa)],_0x2c67b5=(_0x14e1fd,_0x14c3e7,_0x432fea,_0x509e11)=>{const _0x19a073=_0x50570e;for(var _0x105704=_0x509e11>0x1?void 0x0:_0x509e11?_0x5a4bcb(_0x14c3e7,_0x432fea):_0x14c3e7,_0x3d6ed4=_0x14e1fd[_0x19a073(0x37d)]-0x1,_0x4855c9;_0x3d6ed4>=0x0;_0x3d6ed4--)(_0x4855c9=_0x14e1fd[_0x3d6ed4])&&(_0x105704=_0x4855c9(_0x105704)||_0x105704);return _0x105704;},_0x222d31=(_0x146ea9,_0x3a8898)=>(_0x2dcd1c,_0x1dd435)=>_0x3a8898(_0x2dcd1c,_0x1dd435,_0x146ea9);let _0xebc477=class{constructor(_0x52e735,_0xb7eeb8,_0x457e74){const _0x408ab7=_0x50570e;this['_injector']=_0x52e735,this[_0x408ab7(0x384)]=_0xb7eeb8,this[_0x408ab7(0x214)]=_0x457e74;}['transformStateCache'](_0x1e681e){const _0x20dd2a=_0x50570e;this[_0x20dd2a(0x272)](_0x1e681e);}[_0x50570e(0x25c)](_0x170a07){const _0x43a211=_0x50570e,{unitID:_0x49b8fd}=_0x170a07,{collaboration:_0x4fd1e3}=this[_0x43a211(0x214)][_0x43a211(0x3d3)](_0x49b8fd);if(_0x4fd1e3[_0x43a211(0x37d)]===0x0)return _0x170a07;let _0x3d9ab8=_0x59adf4[_0x43a211(0x39a)][_0x43a211(0x2ac)](_0x170a07['mutations'][0x0]);for(let _0x244471=0x0;_0x244471<_0x4fd1e3[_0x43a211(0x37d)];_0x244471++){const _0x5b2685={'id':_0x43a211(0x41d),'params':{'unitId':_0x4fd1e3[_0x244471][_0x43a211(0x44c)],..._0x4fd1e3[_0x244471][_0x43a211(0x40e)]}},_0x4a265c=this[_0x43a211(0x384)][_0x43a211(0x1ec)](_0x3d9ab8,_0x5b2685,!0x1);if(_0x31ad25[_0x43a211(0x357)](_0x4a265c))throw _0x4a265c[_0x43a211(0x41b)];_0x3d9ab8=_0x4a265c[_0x43a211(0x2a4)];}return{..._0x59adf4[_0x43a211(0x39a)]['deepClone'](_0x170a07),'mutations':[_0x3d9ab8]};}[_0x50570e(0x272)](_0x50a515){const _0x4d3063=_0x50570e,{unitID:_0x511752}=_0x50a515,{history:_0x59bc2f,collaboration:_0x5633ce}=this[_0x4d3063(0x214)][_0x4d3063(0x3d3)](_0x511752);if(_0x59bc2f[_0x4d3063(0x37d)]===0x0&&_0x5633ce['length']===0x0)return;const _0x4b1830=[],_0x456690=[];let _0x5d8c25=_0x59adf4[_0x4d3063(0x39a)]['deepClone'](_0x50a515['mutations'][0x0]),_0x2b2e9e=_0x59adf4['Tools'][_0x4d3063(0x2ac)](_0x50a515['mutations'][0x0]);for(let _0x1e8133=_0x59bc2f['length']-0x1;_0x1e8133>=0x0;_0x1e8133--){const _0x231096={'id':_0x4d3063(0x41d),'params':{'unitId':_0x59bc2f[_0x1e8133][_0x4d3063(0x44c)],..._0x59bc2f[_0x1e8133]['undoState']}},_0x9df863={'id':_0x4d3063(0x41d),'params':{'unitId':_0x59bc2f[_0x1e8133][_0x4d3063(0x44c)],..._0x59bc2f[_0x1e8133][_0x4d3063(0x40e)]}},_0x2c6416=this[_0x4d3063(0x384)][_0x4d3063(0x1ec)](_0x5d8c25,_0x231096,!0x1),_0x1d7038=this[_0x4d3063(0x384)][_0x4d3063(0x1ec)](_0x2b2e9e,_0x9df863,!0x1);if(_0x31ad25[_0x4d3063(0x357)](_0x2c6416))throw _0x2c6416[_0x4d3063(0x41b)];if(_0x31ad25['isTransformMutationFailure'](_0x1d7038))throw _0x1d7038[_0x4d3063(0x41b)];_0x4b1830[_0x4d3063(0x21b)]({..._0x59bc2f[_0x1e8133],'undoState':_0x2c6416[_0x4d3063(0x20e)][_0x4d3063(0x302)],'redoState':_0x1d7038[_0x4d3063(0x20e)][_0x4d3063(0x302)]}),_0x5d8c25=_0x2c6416[_0x4d3063(0x2a4)],_0x2b2e9e=_0x1d7038[_0x4d3063(0x2a4)];}_0x5d8c25=_0x59adf4['Tools']['deepClone'](_0x50a515[_0x4d3063(0x379)][0x0]),_0x2b2e9e=_0x59adf4[_0x4d3063(0x39a)]['deepClone'](_0x50a515['mutations'][0x0]);for(let _0x3facfd=_0x5633ce[_0x4d3063(0x37d)]-0x1;_0x3facfd>=0x0;_0x3facfd--){const _0xc73c73={'id':_0x4d3063(0x41d),'params':{'unitId':_0x5633ce[_0x3facfd][_0x4d3063(0x44c)],..._0x5633ce[_0x3facfd][_0x4d3063(0x42c)]}},_0x3fe87b={'id':_0x4d3063(0x41d),'params':{'unitId':_0x5633ce[_0x3facfd]['unitId'],..._0x5633ce[_0x3facfd]['redoState']}},_0xe5eed5=this[_0x4d3063(0x384)]['transformMutation'](_0x5d8c25,_0xc73c73,!0x1),_0xde0810=this[_0x4d3063(0x384)]['transformMutation'](_0x2b2e9e,_0x3fe87b,!0x1);if(_0x31ad25[_0x4d3063(0x357)](_0xe5eed5))throw _0xe5eed5[_0x4d3063(0x41b)];if(_0x31ad25[_0x4d3063(0x357)](_0xde0810))throw _0xde0810[_0x4d3063(0x41b)];_0x456690[_0x4d3063(0x21b)]({..._0x5633ce[_0x3facfd],'undoState':_0xe5eed5[_0x4d3063(0x20e)][_0x4d3063(0x302)],'redoState':_0xde0810[_0x4d3063(0x20e)]['params']}),_0x5d8c25=_0xe5eed5[_0x4d3063(0x2a4)],_0x2b2e9e=_0xde0810[_0x4d3063(0x2a4)];}this[_0x4d3063(0x214)][_0x4d3063(0x370)](_0x511752,{'history':_0x4b1830,'collaboration':_0x456690});}};_0xebc477=_0x2c67b5([_0x222d31(0x0,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4['Injector'])),_0x222d31(0x1,_0x31ad25[_0x50570e(0x393)]),_0x222d31(0x2,_0x59adf4['Inject'](_0x57e1c6[_0x50570e(0x2be)]))],_0xebc477);var _0x7de801=Object[_0x50570e(0x2fa)],_0x5ca662=(_0x1db6d5,_0x1f0ca2,_0x231144,_0x5b7fa1)=>{const _0x36fa87=_0x50570e;for(var _0x5ab427=_0x5b7fa1>0x1?void 0x0:_0x5b7fa1?_0x7de801(_0x1f0ca2,_0x231144):_0x1f0ca2,_0x209fd4=_0x1db6d5[_0x36fa87(0x37d)]-0x1,_0x55713f;_0x209fd4>=0x0;_0x209fd4--)(_0x55713f=_0x1db6d5[_0x209fd4])&&(_0x5ab427=_0x55713f(_0x5ab427)||_0x5ab427);return _0x5ab427;},_0x257fa1=(_0x53c6dd,_0x492b5f)=>(_0x223949,_0x5ba920)=>_0x492b5f(_0x223949,_0x5ba920,_0x53c6dd);let _0xf3f1e2=class{constructor(_0x11ca12,_0x12a75c){const _0x47a513=_0x50570e;this[_0x47a513(0x232)]=_0x11ca12,this['_transformService']=_0x12a75c;}['transformSelections'](_0x1e8825){const _0x365976=_0x50570e;var _0x2374e4;const _0x248e96=this['_injector'][_0x365976(0x1d4)](_0x4c95c4['DocSelectionManagerService']),_0x46eef7=(_0x2374e4=_0x248e96[_0x365976(0x238)]())!=null?_0x2374e4:[];if(_0x46eef7[_0x365976(0x37d)]===0x0)return;const _0x268aa2=_0x1e8825['unitID'],_0x383b9d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x268aa2,'actions':null,'textRanges':_0x46eef7}}],_0x452a1a=this[_0x365976(0x384)][_0x365976(0x2d2)](_0x1e8825,_0x383b9d);if(!_0x31ad25['isTransformMutationsWithChangesetSuccess'](_0x452a1a))throw _0x452a1a[_0x365976(0x41b)];const _0x3b7a83=_0x452a1a['m2Prime'][0x0][_0x365976(0x302)][_0x365976(0x3b1)];Array[_0x365976(0x3b6)](_0x3b7a83)&&_0x3b7a83[_0x365976(0x37d)]&&_0x248e96['replaceDocRanges'](_0x3b7a83,{'unitId':_0x268aa2,'subUnitId':_0x268aa2},!0x1);}};_0xf3f1e2=_0x5ca662([_0x257fa1(0x0,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4['Injector'])),_0x257fa1(0x1,_0x31ad25['ITransformService'])],_0xf3f1e2);var _0x41a6f7=Object['getOwnPropertyDescriptor'],_0x3727bf=(_0x5d43a8,_0x499d68,_0x2b56c4,_0x19480c)=>{const _0x9b3b58=_0x50570e;for(var _0x287e06=_0x19480c>0x1?void 0x0:_0x19480c?_0x41a6f7(_0x499d68,_0x2b56c4):_0x499d68,_0x2837e3=_0x5d43a8[_0x9b3b58(0x37d)]-0x1,_0x47749d;_0x2837e3>=0x0;_0x2837e3--)(_0x47749d=_0x5d43a8[_0x2837e3])&&(_0x287e06=_0x47749d(_0x287e06)||_0x287e06);return _0x287e06;},_0x347a88=(_0x2c8b86,_0x5b0c14)=>(_0x2ab794,_0xf719cf)=>_0x5b0c14(_0x2ab794,_0xf719cf,_0x2c8b86);let _0x5189bc=class extends _0x59adf4['Disposable']{constructor(_0x55237e,_0x397bb5,_0x28883c,_0x2f8d67,_0x9a9707,_0x2996a6,_0x214914,_0x46325f){const _0x5e04c8=_0x50570e;super(),_0x42c1e1(this,_0x5e04c8(0x40c),new _0x23d3ed[(_0x5e04c8(0x42d))](_0x260a16[_0x5e04c8(0x34b)][_0x5e04c8(0x349)])),(this[_0x5e04c8(0x214)]=_0x55237e,this[_0x5e04c8(0x3a1)]=_0x397bb5,this[_0x5e04c8(0x363)]=_0x28883c,this['_docTransformStateCacheService']=_0x2f8d67,this[_0x5e04c8(0x1c4)]=_0x9a9707,this[_0x5e04c8(0x3bd)]=_0x2996a6,this[_0x5e04c8(0x3c8)]=_0x214914,this[_0x5e04c8(0x3ee)]=_0x46325f,this[_0x5e04c8(0x334)]());}[_0x50570e(0x334)](){const _0x1608ca=_0x50570e;this['disposeWithMe'](this[_0x1608ca(0x3a1)][_0x1608ca(0x2f2)]['subscribe'](_0x488d3e=>{const _0x2473a4=_0x1608ca,_0x131b61=this[_0x2473a4(0x214)][_0x2473a4(0x25e)][_0x2473a4(0x227)](_0x392e02=>{const _0x3dad30=_0x2473a4;if(_0x392e02==null)return;const {unitId:_0x6901b2,redoState:_0x4d3647,commandId:_0x551a58}=_0x392e02;if(_0x6901b2!==_0x488d3e[_0x3dad30(0x411)])return;const _0x470a00={'id':_0x551a58,'type':_0x59adf4[_0x3dad30(0x2e9)][_0x3dad30(0x3f1)],'params':{'unitId':_0x6901b2,'actions':_0x4d3647[_0x3dad30(0x365)],'textRanges':null}};_0x488d3e['onLocalMutation'](_0x470a00);});if(_0x488d3e[_0x2473a4(0x1c0)](_0x131b61),_0x488d3e instanceof _0x260a16[_0x2473a4(0x3ef)]){const _0x53562e={'onTransformIME':_0x5ca68a=>this['_docTransformIMECacheService'][_0x2473a4(0x2a3)](_0x5ca68a),'onTransformState':_0x146322=>this[_0x2473a4(0x339)][_0x2473a4(0x385)](_0x146322),'onTransformSelections':_0x229171=>this[_0x2473a4(0x1c4)][_0x2473a4(0x2f9)](_0x229171),'onSyncEditingCollabCursor':_0xc15e7b=>this['_docSyncEditingCollabCursorService'][_0x2473a4(0x296)](_0xc15e7b),'onTransformRemoteChangesetByIMECache':_0x37ce33=>this[_0x2473a4(0x363)][_0x2473a4(0x25c)](_0x37ce33),'onTransformRemoteChangesetByStateCache':_0x48eeff=>this['_docTransformStateCacheService'][_0x2473a4(0x25c)](_0x48eeff)};_0x488d3e['addHandlerCallback'](_0x53562e);}}));}};_0x5189bc=_0x3727bf([_0x347a88(0x0,_0x59adf4[_0x50570e(0x3b2)](_0x57e1c6[_0x50570e(0x2be)])),_0x347a88(0x1,_0x59adf4[_0x50570e(0x3b2)](_0x260a16[_0x50570e(0x403)])),_0x347a88(0x2,_0x59adf4['Inject'](_0x42fbd0)),_0x347a88(0x3,_0x59adf4['Inject'](_0xebc477)),_0x347a88(0x4,_0x59adf4['Inject'](_0xf3f1e2)),_0x347a88(0x5,_0x59adf4['Inject'](_0x4f4f90)),_0x347a88(0x6,_0x2ef7b5[_0x50570e(0x3a0)]),_0x347a88(0x7,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4[_0x50570e(0x446)]))],_0x5189bc);var _0x20ea76=Object[_0x50570e(0x2fa)],_0xf97e36=(_0xb3b99b,_0x34b00d,_0x1b0496,_0x19b5bc)=>{for(var _0x3de785=_0x19b5bc>0x1?void 0x0:_0x19b5bc?_0x20ea76(_0x34b00d,_0x1b0496):_0x34b00d,_0x4b88c4=_0xb3b99b['length']-0x1,_0x1f9ba9;_0x4b88c4>=0x0;_0x4b88c4--)(_0x1f9ba9=_0xb3b99b[_0x4b88c4])&&(_0x3de785=_0x1f9ba9(_0x3de785)||_0x3de785);return _0x3de785;},_0x503d3a=(_0x983e20,_0xd8384a)=>(_0x482332,_0x5e3c40)=>_0xd8384a(_0x482332,_0x5e3c40,_0x983e20);let _0x441bd4=class extends _0x59adf4['Disposable']{constructor(_0x22b7d3,_0x29166b,_0x13ec40){const _0x251d81=_0x50570e;super(),_0x42c1e1(this,_0x251d81(0x44b),new Map()),_0x42c1e1(this,_0x251d81(0x1ff),new Map()),_0x42c1e1(this,_0x251d81(0x40b),!0x1),(this[_0x251d81(0x375)]=_0x22b7d3,this['_localStorageService']=_0x29166b,this['_revisionService']=_0x13ec40);}['disableLocalCache'](){const _0x228acc=_0x50570e;this[_0x228acc(0x40b)]=!0x0;}['enableLocalCache'](){const _0x4d1dd7=_0x50570e;this[_0x4d1dd7(0x40b)]=!0x1;}get['saveTaskMap'](){const _0x4609cd=_0x50570e;return this[_0x4609cd(0x1ff)];}[_0x50570e(0x392)](){const _0x3845a7=_0x50570e;this[_0x3845a7(0x37e)]()[_0x3845a7(0x383)](()=>super[_0x3845a7(0x392)]());}async[_0x50570e(0x2c0)](_0x73521f){const _0x4710c9=_0x50570e;return this[_0x4710c9(0x40b)]?null:this['_localStorageService'][_0x4710c9(0x1c6)](_0x260a16['getLocalCacheKey'](_0x73521f));}async[_0x50570e(0x2fd)](_0x29377b,_0x221d27){return!!this['_localStorageService']['setItem'](_0x29377b,_0x221d27);}['updateOfflineData'](_0xaa0a79,_0x1d2513,_0x65a17b,_0x54adb4){const _0x352600=_0x50570e,_0x1b690e=this[_0x352600(0x319)][_0x352600(0x2bb)](_0xaa0a79);this['_cachedData'][_0x352600(0x332)](_0xaa0a79,{'unitID':_0xaa0a79,'type':_0x1d2513,'awaitingChangeset':_0x65a17b,'mutations':_0x54adb4,'rev':_0x1b690e}),this[_0x352600(0x1ff)][_0x352600(0x1b4)](_0xaa0a79)||this[_0x352600(0x22b)](_0xaa0a79);}[_0x50570e(0x22b)](_0x53f98e){const _0x30168d=_0x50570e,_0x2ffb3b=this[_0x30168d(0x355)]();_0x2ffb3b===0x0?this[_0x30168d(0x261)](_0x53f98e):this[_0x30168d(0x1ff)][_0x30168d(0x332)](_0x53f98e,setTimeout(()=>this[_0x30168d(0x261)](_0x53f98e),_0x2ffb3b));}[_0x50570e(0x355)](){const _0x4fcacf=_0x50570e;var _0x3c912b;return(_0x3c912b=this['_configService'][_0x4fcacf(0x20d)](_0x260a16[_0x4fcacf(0x39e)]))!=null?_0x3c912b:_0x260a16[_0x4fcacf(0x2b7)];}['_saveCache'](_0xcab77c){const _0x1b11ce=_0x50570e,_0x9f527e=this[_0x1b11ce(0x1ff)]['get'](_0xcab77c);return _0x9f527e!==void 0x0&&window[_0x1b11ce(0x241)](_0x9f527e),this[_0x1b11ce(0x348)][_0x1b11ce(0x3ad)](_0x260a16['getLocalCacheKey'](_0xcab77c),this[_0x1b11ce(0x44b)]['get'](_0xcab77c))[_0x1b11ce(0x383)](()=>this[_0x1b11ce(0x1ff)][_0x1b11ce(0x1b5)](_0xcab77c));}async[_0x50570e(0x37e)](){const _0x372c93=_0x50570e,_0xc5555a=[];this[_0x372c93(0x1ff)]['forEach']((_0xf9d709,_0x34d5ec)=>{const _0x3431c2=_0x372c93;window[_0x3431c2(0x241)](_0xf9d709),_0xc5555a[_0x3431c2(0x34c)](this[_0x3431c2(0x261)](_0x34d5ec)[_0x3431c2(0x383)](()=>{const _0x463889=_0x3431c2;this[_0x463889(0x1ff)][_0x463889(0x1b5)](_0x34d5ec);}));}),await Promise[_0x372c93(0x1ce)](_0xc5555a);}};_0x441bd4=_0xf97e36([_0x503d3a(0x0,_0x59adf4[_0x50570e(0x1ef)]),_0x503d3a(0x1,_0x59adf4[_0x50570e(0x3bc)]),_0x503d3a(0x2,_0x59adf4['Inject'](_0x31ad25[_0x50570e(0x3fb)]))],_0x441bd4);class _0x6e9fc8 extends _0x59adf4[_0x50570e(0x316)]{constructor(){const _0x368750=_0x50570e;super(),_0x42c1e1(this,'urlChange$'),this['urlChange$']=_0x23d3ed['fromEvent'](window,'popstate')[_0x368750(0x41f)](_0x23d3ed[_0x368750(0x2c7)](this[_0x368750(0x3f4)]),_0x23d3ed[_0x368750(0x225)](0x1),_0x23d3ed[_0x368750(0x390)](void 0x0));}['setParam'](_0x119fc0,_0x44c745,_0x23617e=!0x1){const _0x55bc55=_0x50570e,_0x454318=new URL(window['location'][_0x55bc55(0x1cb)]);_0x454318[_0x55bc55(0x25a)]['set'](_0x119fc0,_0x44c745),_0x23617e?window['history'][_0x55bc55(0x1e0)]('','',_0x454318[_0x55bc55(0x1f4)]()):window[_0x55bc55(0x2ee)]['pushState']('','',_0x454318[_0x55bc55(0x1f4)]());}[_0x50570e(0x253)](_0x3d1062,_0x72e353=!0x1){const _0x213ac6=_0x50570e,_0x46dd28=new URL(window[_0x213ac6(0x40d)]['href']);_0x46dd28[_0x213ac6(0x25a)][_0x213ac6(0x1b5)](_0x3d1062),_0x72e353?window[_0x213ac6(0x2ee)][_0x213ac6(0x1e0)]('','',_0x46dd28[_0x213ac6(0x1f4)]()):window[_0x213ac6(0x2ee)][_0x213ac6(0x279)]('','',_0x46dd28['toString']());}['getParam'](_0x2960c6){const _0x220584=_0x50570e;var _0x25bc0b;return(_0x25bc0b=new URL(window[_0x220584(0x40d)][_0x220584(0x1cb)])['searchParams']['get'](_0x2960c6))!=null?_0x25bc0b:void 0x0;}}var _0x507c24=Object[_0x50570e(0x1f5)],_0x445744=Object[_0x50570e(0x2fa)],_0x3f9c5=(_0x55804d,_0x21b9f3,_0x9c6ea8)=>_0x21b9f3 in _0x55804d?_0x507c24(_0x55804d,_0x21b9f3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9c6ea8}):_0x55804d[_0x21b9f3]=_0x9c6ea8,_0x2ab02b=(_0xe90c70,_0x543e84,_0x24263f,_0x15f4a9)=>{const _0x2a4a2a=_0x50570e;for(var _0x4f1170=_0x15f4a9>0x1?void 0x0:_0x15f4a9?_0x445744(_0x543e84,_0x24263f):_0x543e84,_0x5d5a39=_0xe90c70[_0x2a4a2a(0x37d)]-0x1,_0xed440f;_0x5d5a39>=0x0;_0x5d5a39--)(_0xed440f=_0xe90c70[_0x5d5a39])&&(_0x4f1170=_0xed440f(_0x4f1170)||_0x4f1170);return _0x4f1170;},_0x25ccf1=(_0x414460,_0x50c7c7)=>(_0xabe15d,_0x1f30bf)=>_0x50c7c7(_0xabe15d,_0x1f30bf,_0x414460),_0x6c9389=(_0x866ea7,_0x4450b2,_0x584c85)=>_0x3f9c5(_0x866ea7,_0x4450b2+'',_0x584c85);const _0x566637=_0x50570e(0x27b);_0x43eb57[_0x50570e(0x2bd)]=class extends _0x59adf4[_0x50570e(0x37b)]{constructor(_0x596883=_0x4f7aee,_0x3bc815,_0x2ece62,_0x2b5f10){const _0x361a66=_0x50570e;super(),this[_0x361a66(0x2f6)]=_0x596883,this[_0x361a66(0x20c)]=_0x3bc815,this[_0x361a66(0x232)]=_0x2ece62,this[_0x361a66(0x375)]=_0x2b5f10;const {..._0x3925b0}=_0x59adf4[_0x361a66(0x1e4)]({},_0x4f7aee,this[_0x361a66(0x2f6)]);this[_0x361a66(0x375)]['setConfig'](_0x2a5ac7,_0x3925b0);}[_0x50570e(0x1b8)](){const _0x1241c3=_0x50570e;this[_0x1241c3(0x354)](),this['_initDependencies']();}[_0x50570e(0x2de)](){const _0x4351a2=_0x50570e;this[_0x4351a2(0x31e)]();}['_registerDependencies'](){const _0x2c6190=_0x50570e;var _0x2c97e0;const _0x10c73f=[[_0x4923e7],[_0xf3f1e2],[_0x42fbd0],[_0xebc477],[_0x4f4f90],[_0x5ded73,{'useClass':_0x6e9fc8}],[_0x4426b1[_0x2c6190(0x2f3)],{'useClass':_0x4426b1['WebSocketService']}],[_0x260a16[_0x2c6190(0x2c8)],{'useClass':_0x441bd4}],[_0x43eb57[_0x2c6190(0x266)]],[_0x5189bc],[_0x1673b],[_0x1da02f],[_0x6299ee],[_0x43eb57[_0x2c6190(0x265)]]];_0x59adf4['registerDependencies'](this[_0x2c6190(0x232)],_0x59adf4[_0x2c6190(0x3e4)](_0x10c73f,(_0x2c97e0=this[_0x2c6190(0x2f6)])==null?void 0x0:_0x2c97e0[_0x2c6190(0x34e)]));}[_0x50570e(0x31e)](){const _0x5541ca=_0x50570e;this[_0x5541ca(0x1c0)](this[_0x5541ca(0x20c)]['registerRenderModule'](_0x59adf4[_0x5541ca(0x39f)][_0x5541ca(0x372)],[_0x45c915])),this[_0x5541ca(0x1c0)](this[_0x5541ca(0x20c)][_0x5541ca(0x2ef)](_0x59adf4[_0x5541ca(0x39f)][_0x5541ca(0x3fd)],[_0x23dcf3]));}['_initDependencies'](){const _0x641be4=_0x50570e;_0x59adf4[_0x641be4(0x220)](this[_0x641be4(0x232)],[[_0x1da02f],[_0x43eb57[_0x641be4(0x266)]],[_0x5189bc],[_0x1673b],[_0x43eb57[_0x641be4(0x265)]]]);}},_0x6c9389(_0x43eb57[_0x50570e(0x2bd)],_0x50570e(0x2b5),_0x566637),_0x43eb57['UniverCollaborationClientUIPlugin']=_0x2ab02b([_0x59adf4[_0x50570e(0x3f8)](_0x260a16[_0x50570e(0x3e2)]),_0x25ccf1(0x1,_0x18f11f['IRenderManagerService']),_0x25ccf1(0x2,_0x59adf4[_0x50570e(0x3b2)](_0x59adf4[_0x50570e(0x364)])),_0x25ccf1(0x3,_0x59adf4[_0x50570e(0x1ef)])],_0x43eb57[_0x50570e(0x2bd)]);var _0x1cb9c6=Object['getOwnPropertyDescriptor'],_0x1c3a12=(_0x25b91f,_0x1f6d4f,_0xe7c530,_0x335894)=>{const _0x346b71=_0x50570e;for(var _0x10ba74=_0x335894>0x1?void 0x0:_0x335894?_0x1cb9c6(_0x1f6d4f,_0xe7c530):_0x1f6d4f,_0x903bb1=_0x25b91f[_0x346b71(0x37d)]-0x1,_0x1c189e;_0x903bb1>=0x0;_0x903bb1--)(_0x1c189e=_0x25b91f[_0x903bb1])&&(_0x10ba74=_0x1c189e(_0x10ba74)||_0x10ba74);return _0x10ba74;},_0x1505ab=(_0x4ed4de,_0x124719)=>(_0x2236d4,_0x647261)=>_0x124719(_0x2236d4,_0x647261,_0x4ed4de);_0x43eb57[_0x50570e(0x271)]=class extends _0x260a16[_0x50570e(0x3fc)]{constructor(_0x5de81d,_0x32b622,_0x36f4a2,_0xd68576,_0x2998f8){super(_0x5de81d,_0x32b622,_0x36f4a2,_0xd68576,_0x2998f8);}async[_0x50570e(0x2bf)](_0x5cf007){const _0x6fd5d3=_0x50570e,_0x1efad4=await this[_0x6fd5d3(0x43d)](),_0x42043d=this[_0x6fd5d3(0x450)](_0x5cf007,_0x1efad4);return this[_0x6fd5d3(0x26d)](_0x42043d);}[_0x50570e(0x450)](_0x2e6514,_0x27f567){const _0x26056c=_0x50570e,_0x615454=typeof window>'u'?new URL(_0x2e6514):new URL(_0x2e6514,window['location'][_0x26056c(0x3b8)]);_0x615454[_0x26056c(0x25a)][_0x26056c(0x332)]('sessionTicket',_0x27f567);const _0x2ca920=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x26056c(0x40d)][_0x26056c(0x3b3)]);return _0x2ca920[_0x26056c(0x1d4)](_0x26056c(0x268))&&_0x615454['searchParams']['set'](_0x26056c(0x268),_0x2ca920[_0x26056c(0x1d4)](_0x26056c(0x268))),_0x615454[_0x26056c(0x1f4)]();}async[_0x50570e(0x43d)](){const _0x3c516a=_0x50570e;var _0x4b893d,_0x4f608a,_0x4f9f15;const _0x710436=this[_0x3c516a(0x375)][_0x3c516a(0x20d)](_0x260a16[_0x3c516a(0x24c)]),_0x46bb5=(_0x4b893d=_0x710436==null?void 0x0:_0x710436['wsSessionTicketUrl'])!=null?_0x4b893d:_0x260a16[_0x3c516a(0x449)];return(_0x4f9f15=(_0x4f608a=(await this[_0x3c516a(0x1bb)][_0x3c516a(0x1d4)](_0x46bb5,{'headers':{'Content-Type':_0x3c516a(0x1eb)}}))[_0x3c516a(0x223)])==null?void 0x0:_0x4f608a['ticket'])!=null?_0x4f9f15:'';}},_0x43eb57['BrowserCollaborationSocketService']=_0x1c3a12([_0x1505ab(0x0,_0x59adf4['Inject'](_0x59adf4[_0x50570e(0x364)])),_0x1505ab(0x1,_0x59adf4[_0x50570e(0x3b2)](_0x4426b1[_0x50570e(0x437)])),_0x1505ab(0x2,_0x59adf4['IConfigService']),_0x1505ab(0x3,_0x59adf4[_0x50570e(0x38c)]),_0x1505ab(0x4,_0x31ad25[_0x50570e(0x1cd)])],_0x43eb57[_0x50570e(0x271)]);const _0x349c80=0x7530,_0x5086a4='ACTIVE_UNIT_EVENT_CHANNEL';class _0x32c579 extends _0x59adf4[_0x50570e(0x1d7)]{constructor(){const _0x29fec4=_0x50570e;super(),_0x42c1e1(this,_0x29fec4(0x250),_0x59adf4[_0x29fec4(0x3b0)]()),_0x42c1e1(this,'_selfUnitIDs',new Set()),_0x42c1e1(this,_0x29fec4(0x366),new Map()),_0x42c1e1(this,'_heartbeatTimer',null),_0x42c1e1(this,_0x29fec4(0x2fc),new Map()),_0x42c1e1(this,_0x29fec4(0x373),new Map()),this[_0x29fec4(0x359)]();}['dispose'](){const _0x40aa68=_0x50570e;super[_0x40aa68(0x392)](),this[_0x40aa68(0x2fc)]['forEach']((_0x224c39,_0x4c2105)=>this[_0x40aa68(0x2db)](_0x4c2105)),this['_heartbeatTimer']&&window[_0x40aa68(0x3a6)](this[_0x40aa68(0x33a)]);}['getUnitStatus$'](_0x16a542){const _0x49acbe=_0x50570e;return this[_0x49acbe(0x30d)](_0x16a542)['pipe'](_0x23d3ed[_0x49acbe(0x2a2)]());}[_0x50570e(0x204)](_0x517525){const _0xeafe5d=_0x50570e;this[_0xeafe5d(0x427)][_0xeafe5d(0x276)]===0x0&&this['_scheduleHeartbeat'](),this[_0xeafe5d(0x427)][_0xeafe5d(0x1c9)](_0x517525),this['_send']({'type':0x0,'memberID':this[_0xeafe5d(0x250)],'unitIDs':[_0x517525],'isForwarded':!0x1});}[_0x50570e(0x222)](_0x15dbd5){const _0x46fde2=_0x50570e;this['_selfUnitIDs'][_0x46fde2(0x1b5)](_0x15dbd5),this['_selfUnitIDs']['size']===0x0&&this[_0x46fde2(0x33a)]&&window[_0x46fde2(0x3a6)](this['_heartbeatTimer']);}[_0x50570e(0x359)](){const _0x266e5a=_0x50570e;this[_0x266e5a(0x1c0)](_0x59adf4[_0x266e5a(0x2f4)](_0x23d3ed['fromEvent'](window,_0x266e5a(0x3ae))[_0x266e5a(0x227)](_0x53025c=>{const _0x3a4d2e=_0x266e5a;if(_0x53025c[_0x3a4d2e(0x2f5)]!==_0x5086a4||!_0x53025c['newValue'])return;const _0x5de6b8=JSON[_0x3a4d2e(0x398)](_0x53025c[_0x3a4d2e(0x35d)]);this[_0x3a4d2e(0x24f)](_0x5de6b8);}))),window['addEventListener'](_0x266e5a(0x369),()=>this[_0x266e5a(0x36c)]({'type':0x1,'memberID':this[_0x266e5a(0x250)],'unitIDs':Array[_0x266e5a(0x257)](this['_selfUnitIDs'])}));}[_0x50570e(0x24f)](_0x38ce08){const _0x221ab3=_0x50570e;switch(_0x38ce08['type']){case 0x0:this[_0x221ab3(0x424)](_0x38ce08);break;case 0x1:this[_0x221ab3(0x42a)](_0x38ce08);break;case 0x2:this[_0x221ab3(0x1df)](_0x38ce08);break;}}['_handleJoinEvent'](_0x31810a){const _0x1309de=_0x50570e,{unitIDs:_0x28d406,memberID:_0x3adf36,isForwarded:_0x38c8fb}=_0x31810a;_0x28d406['forEach'](_0x39a8df=>{const _0x84e395=_0x4b9e;if(!_0x38c8fb&&this[_0x84e395(0x366)]['has'](_0x39a8df)&&this[_0x84e395(0x30d)](_0x39a8df)[_0x84e395(0x21a)](_0x260a16[_0x84e395(0x31f)]['OTHER_CLIENTS_EDITING']),!this[_0x84e395(0x366)][_0x84e395(0x1b4)](_0x39a8df)||!this[_0x84e395(0x366)][_0x84e395(0x1d4)](_0x39a8df)[_0x84e395(0x1b4)](_0x3adf36)){const _0x236261=this[_0x84e395(0x366)][_0x84e395(0x1d4)](_0x39a8df)||new Set();_0x236261[_0x84e395(0x1c9)](_0x3adf36),this[_0x84e395(0x366)][_0x84e395(0x332)](_0x39a8df,_0x236261),this[_0x84e395(0x233)](_0x3adf36);}}),_0x38c8fb||this[_0x1309de(0x36c)]({'type':0x0,'memberID':this[_0x1309de(0x250)],'unitIDs':[...this[_0x1309de(0x427)]],'isForwarded':!0x0});}[_0x50570e(0x233)](_0x164ba1){const _0x5408cb=_0x50570e;this[_0x5408cb(0x2db)](_0x164ba1);const _0xca7167=window[_0x5408cb(0x328)](()=>{const _0x3dfc74=_0x5408cb;this[_0x3dfc74(0x366)][_0x3dfc74(0x201)](_0x4f2858=>{_0x4f2858['delete'](_0x164ba1);});},_0x349c80*0x2);this['_clearOtherTimers'][_0x5408cb(0x332)](_0x164ba1,_0xca7167);}[_0x50570e(0x2db)](_0x44c61d){const _0x4f1cef=_0x50570e;if(this[_0x4f1cef(0x2fc)][_0x4f1cef(0x1b4)](_0x44c61d)){const _0x501132=this[_0x4f1cef(0x2fc)]['get'](_0x44c61d);_0x501132&&window['clearTimeout'](_0x501132),this[_0x4f1cef(0x2fc)]['set'](_0x44c61d,null);}}[_0x50570e(0x42a)](_0x386b3e){const _0x39a7b7=_0x50570e,{memberID:_0x4094cf,unitIDs:_0x3a37d7}=_0x386b3e;_0x3a37d7[_0x39a7b7(0x201)](_0x112be2=>{const _0x56fa72=_0x39a7b7;var _0x2ca0e8;const _0x4814d9=this['_unitOnClients'][_0x56fa72(0x1d4)](_0x112be2);_0x4814d9&&(_0x4814d9[_0x56fa72(0x1b5)](_0x4094cf),(_0x2ca0e8=this[_0x56fa72(0x30d)](_0x112be2))==null||_0x2ca0e8[_0x56fa72(0x21a)](_0x4814d9[_0x56fa72(0x276)]===0x0?_0x260a16[_0x56fa72(0x31f)]['NO_OTHER_CLIENTS_EDITING']:_0x260a16['UnitStatus'][_0x56fa72(0x290)]));}),this[_0x39a7b7(0x2db)](_0x4094cf);}['_handleHeartbeatEvent'](_0x6796d8){const _0x2d8b0f=_0x50570e;this['_scheduleClearOtherTimer'](_0x6796d8[_0x2d8b0f(0x434)]);}[_0x50570e(0x36c)](_0x12ca41){const _0xe51289=_0x50570e;localStorage[_0xe51289(0x3ad)](_0x5086a4,JSON[_0xe51289(0x3dc)](_0x12ca41));}[_0x50570e(0x34f)](){const _0x282b36=_0x50570e;this[_0x282b36(0x33a)]=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x349c80);}['_ensureSubject'](_0x14c755){const _0x5300e9=_0x50570e;return this['_unitStatus'][_0x5300e9(0x1b4)](_0x14c755)||this[_0x5300e9(0x373)][_0x5300e9(0x332)](_0x14c755,new _0x23d3ed[(_0x5300e9(0x42d))](_0x260a16['UnitStatus'][_0x5300e9(0x304)])),this[_0x5300e9(0x373)][_0x5300e9(0x1d4)](_0x14c755);}}var _0x1c4cc4=(_0x5dc0ae=>(_0x5dc0ae[_0x5dc0ae['UNDEFINED']=0x0]=_0x50570e(0x312),_0x5dc0ae[_0x5dc0ae['OK']=0x1]='OK',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x389)]=0x2]=_0x50570e(0x389),_0x5dc0ae[_0x5dc0ae['PERMISSION_DENIED']=0x3]=_0x50570e(0x2b1),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x311)]=0x4]=_0x50570e(0x311),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x2d9)]=0x5]=_0x50570e(0x2d9),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x22a)]=0x6]='ALREADY_EXISTS',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x2cd)]=0x7]=_0x50570e(0x2cd),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x310)]=0x8]=_0x50570e(0x310),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x300)]=0x9]='COMPLETION_FINISHED',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x2c1)]=0xa]=_0x50570e(0x2c1),_0x5dc0ae[_0x5dc0ae['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x50570e(0x2e1),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x33d)]=0x1771]=_0x50570e(0x33d),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x1ea)]=0x1772]=_0x50570e(0x1ea),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x367)]=0x1773]=_0x50570e(0x367),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x358)]=0x1b59]=_0x50570e(0x358),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x20a)]=0x1b5a]=_0x50570e(0x20a),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x404)]=0x1b5b]=_0x50570e(0x404),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x415)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5dc0ae[_0x5dc0ae['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5dc0ae[_0x5dc0ae['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x50570e(0x213),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x3f2)]=0x2329]=_0x50570e(0x3f2),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x256)]=0x232a]=_0x50570e(0x256),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x218)]=0x232b]=_0x50570e(0x218),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x412)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x285)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5dc0ae[_0x5dc0ae['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x50570e(0x236),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x26f)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x30c)]=0x2713]=_0x50570e(0x30c),_0x5dc0ae[_0x5dc0ae['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x3a2)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x3c6)]=0x271b]=_0x50570e(0x3c6),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x419)]=0x271c]=_0x50570e(0x419),_0x5dc0ae[_0x5dc0ae['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x50570e(0x2e3),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x329)]=0x271e]=_0x50570e(0x329),_0x5dc0ae[_0x5dc0ae['YUUMI_AI_RUN_FAILED']=0x271f]=_0x50570e(0x1d1),_0x5dc0ae[_0x5dc0ae['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x50570e(0x262),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x1d5)]=0x2ee1]=_0x50570e(0x1d5),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x254)]=0x2ee2]=_0x50570e(0x254),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x23b)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5dc0ae[_0x5dc0ae['USER_NOT_INVITED_CODE']=0x2ee4]=_0x50570e(0x26a),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x345)]=0x2ee5]=_0x50570e(0x345),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x406)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x425)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5dc0ae[_0x5dc0ae[_0x50570e(0x252)]=0x32cb]=_0x50570e(0x252),_0x5dc0ae[_0x5dc0ae[_0x50570e(0x3b5)]=-0x1]='UNRECOGNIZED',_0x5dc0ae))(_0x1c4cc4||{}),_0x516b0e=Object['getOwnPropertyDescriptor'],_0x57c6b6=(_0x289b81,_0x51cfee,_0x38fb11,_0x208017)=>{const _0x4ac30d=_0x50570e;for(var _0x323820=_0x208017>0x1?void 0x0:_0x208017?_0x516b0e(_0x51cfee,_0x38fb11):_0x51cfee,_0x1c16c6=_0x289b81[_0x4ac30d(0x37d)]-0x1,_0x3a5cb0;_0x1c16c6>=0x0;_0x1c16c6--)(_0x3a5cb0=_0x289b81[_0x1c16c6])&&(_0x323820=_0x3a5cb0(_0x323820)||_0x323820);return _0x323820;},_0x582aa8=(_0x158f58,_0x1473e6)=>(_0xfee41,_0x4622db)=>_0x1473e6(_0xfee41,_0x4622db,_0x158f58);_0x43eb57['RemoteUniscriptService']=class extends _0x59adf4[_0x50570e(0x1d7)]{constructor(_0x2befbb,_0x2e4b9a,_0x4db8af){const _0x5b686a=_0x50570e;super(),this['_instanceService']=_0x2befbb,this[_0x5b686a(0x1bb)]=_0x2e4b9a,this[_0x5b686a(0x375)]=_0x4db8af;}async[_0x50570e(0x351)](_0x36e39e,_0x582795,_0x4b2092,..._0xb84673){const _0x8f4a51=_0x50570e;var _0x2927ff,_0x5ab62a,_0x57655c,_0x3db682;const _0x60bf77=this[_0x8f4a51(0x27c)][_0x8f4a51(0x29c)]();if(!_0x60bf77)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x20035b=((_0x2927ff=this[_0x8f4a51(0x375)][_0x8f4a51(0x20d)](_0x260a16[_0x8f4a51(0x292)]))!=null?_0x2927ff:_0x260a16[_0x8f4a51(0x255)])+'/'+_0x36e39e+_0x8f4a51(0x39c)+_0x582795,_0x5583dc=new URL(window[_0x8f4a51(0x40d)]['href']),_0xc9ca83={'scriptId':_0x36e39e,'runId':(_0x5ab62a=_0x5583dc[_0x8f4a51(0x25a)][_0x8f4a51(0x1d4)](_0x8f4a51(0x268)))!=null?_0x5ab62a:'','function':_0x582795,'unitId':_0x60bf77[_0x8f4a51(0x3ca)](),'argsOfFunction':JSON[_0x8f4a51(0x3dc)](_0xb84673),'invokeId':(_0x57655c=_0x4b2092[_0x8f4a51(0x327)])!=null?_0x57655c:'','executionId':(_0x3db682=_0x4b2092[_0x8f4a51(0x1d8)])!=null?_0x3db682:''};try{const _0x36d9ab=await this['_httpService'][_0x8f4a51(0x277)](_0x20035b,{'body':_0xc9ca83});return _0x36d9ab[_0x8f4a51(0x223)][_0x8f4a51(0x41b)]&&_0x36d9ab[_0x8f4a51(0x223)][_0x8f4a51(0x41b)][_0x8f4a51(0x224)]!==_0x1c4cc4['OK']?_0x8f4a51(0x399):_0x36d9ab['body'][_0x8f4a51(0x3c3)];}catch{return _0x8f4a51(0x399);}}},_0x43eb57['RemoteUniscriptService']=_0x57c6b6([_0x582aa8(0x0,_0x59adf4[_0x50570e(0x24b)]),_0x582aa8(0x1,_0x59adf4[_0x50570e(0x3b2)](_0x4426b1[_0x50570e(0x437)])),_0x582aa8(0x2,_0x59adf4[_0x50570e(0x1ef)])],_0x43eb57[_0x50570e(0x2f8)]),_0x43eb57[_0x50570e(0x2cc)]=_0x2a3c41,_0x43eb57['IURLService']=_0x5ded73,_0x43eb57[_0x50570e(0x289)]=_0x169269,_0x43eb57[_0x50570e(0x3e9)]=_0x32c579,_0x43eb57[_0x50570e(0x28b)]=_0x6e9fc8,Object['defineProperty'](_0x43eb57,Symbol[_0x50570e(0x3c0)],{'value':_0x50570e(0x3e7)});}));function _0x4b9e(_0x291163,_0x373a08){const _0x4f3090=_0x4f30();return _0x4b9e=function(_0x4b9e66,_0x204d26){_0x4b9e66=_0x4b9e66-0x1b3;let _0x81b0bd=_0x4f3090[_0x4b9e66];return _0x81b0bd;},_0x4b9e(_0x291163,_0x373a08);}function _0x4f30(){const _0x15b8af=['createSocket','loadOfflineData','LOGIN_FAILED','_startSheetCollabCursor','status$','defs','getVpScrollXYInfoByPosToVp','registerRefRange','takeUntil','ILocalCacheService','makeDirty','SheetSkeletonManagerService','getCurrentUnitForType','CollaborationStatusDisplay','INVALID_ARGUMENT','_docClipboardService','_online','@univerjs/sheets-ui','eventID','transformMutationsWithChangeset','_name','_commandService','CollaborationUIEventId','handleInsertCol','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Tooltip','UNAUTHENTICATED','fillText','_removeClearOtherTimer','propertyIsEnumerable','send','onRendered','_backgroundColor','debug','CHANGESET_REVISION_CONFILICT','CollaborationEvent','YUUMI_ALL_TABLES_IS_INVALID','CollaborationUIEventService','debounce','handleDeleteRangeMoveLeft','className','_updateURLWithCurrentState','CommandType','4BLnnKc','subscribeEvent','type','DeleteRangeMoveLeftCommandId','history','registerRenderModule','UPDATE_CURSOR','getActiveSheet','entityInit$','ISocketService','toDisposable','key','_config','handleInsertRangeMoveRight','RemoteUniscriptService','transformSelections','getOwnPropertyDescriptor','round','_clearOtherTimers','saveOfflineData','_cursorInfo$','_range','COMPLETION_FINISHED','SessionStatus','params','getMemberID','NO_OTHER_CLIENTS_EDITING','icon','collaboration.closeRoom','debounceTime','max','range','@univerjs/sheets','_collabCursorController','YUUMI_RATE_OVER_LIMIT','_ensureSubject','_toggleOnline','fillRule','TOO_MANY_REQUESTS','NOT_FOUND','UNDEFINED','IRemoteInstanceService','RefRangeService','getSkeleton','RxDisposable','currentColor','@univerjs/core','_revisionService','getViewport','rxjs','_entities','complete','_registerRenderDependencies','UnitStatus','startRow','_scene','setActiveRange','TRANSFORM_CHANGE_OBSERVABLE_TYPE','isTransformMutationsWithChangesetSuccess','_render','getCurrent','invokeId','setTimeout','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collabStatus.fetchMiss','_drawTextRange','useCallback','_eventUnsubscribe','react/jsx-runtime','@univerjs/docs-ui','_toggleOffline','exports','set','OFFLINE','_initEntityListener','startColumn','displayName','_imageIoService','getColorFromTheme','_docTransformStateCacheService','_heartbeatTimer','attrs','395082EqAgoO','SNAPSHOT_INVALID_SNAPSHOT','onTransformChange$','MemberService','collaboration-client.offline-data-not-saved','Vector2','42rCJCdU','_updateCollabCursors','univer-flex\x20univer-items-center','INVITE_CODE_ALREADY_BOUND','column','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_localStorageService','NOT_COLLAB','_syncEditingCollabCursorService','CollaborationStatus','push','collabStatus.syncing','override','_scheduleHeartbeat','session.will-retry','runOnServer','...','top','_registerDependencies','_getSaveTimeout','forwardRef','isTransformMutationFailure','APPLY_REJECT','_init','entries','InsertRowCommandId','_docSkeleton','newValue','filter','collab-rect-range-','onPointerLeave$','onMouseMove','addObject','_docTransformIMECacheService','Injector','actions','_unitOnClients','ENSURE_SNAPSHOT_EXECUTION','getAncestorScale','unload','UniverCore','SetTextSelectionsOperation','_send','collaboration.single-unit.warning','prototype','combineLatest','setStateCache','moveTo','UNIVER_DOC','_unitStatus','Warning','_configService','react','getSheetBySheetId','tag','mutations','drawWith','Plugin','_initStatusComponent','length','exhaustSavingTask','#FFF','fromEventSubject','setAlpha','isActive','then','_transformService','transformStateCache','InsertRangeMoveRightCommandId','getMergeData','_refreshCollabCursors','INTERNAL_ERROR','287DeIbCL','cursorInfo$','ILogService','TEXT','split','handleInsertRangeMoveDown','mapTo','getColor','dispose','ITransformService','_hover','getTypeOfUnitDisposed$','resize','focused$','parse','Failed','Tools','substring','/run/','_hideTimer','LOCAL_CACHE_INTERVAL_KEY','UniverInstanceType','IMessageService','_collaborationController','YUUMI_NO_CUBOID_FOR_QUESTION','min','uni.network.url-service','DeleteRangeMoveUpCommandId','clearInterval','onPointerEnter$','path','_hovered','getValue','_collabSessionService','use','setItem','storage','_drawAnchor','generateRandomId','textRanges','Inject','search','_cursor','UNRECOGNIZED','isArray','_draw','origin','operators','permission.title','triggerDblclick','ILocalStorageService','_docSyncEditingCollabCursorService','_initCommandExecutedListener','SHEET_VIEWPORT_KEY','toStringTag','handleMoveRange','_shapes','result','TEXT_RANGE_LAYER_INDEX','_getMergeRange','YUUMI_ASYNCIO_CANCELLED','lineTo','_messageService','skeleton','getUnitId','collaboration-client-ui.config','_themeService','_startDocCollabCursor','SetDocZoomRatioOperation','@univerjs/engine-render','name','svg','ranges','getStateCache','fill','serializeRangeWithSheet','roomMembers','assign','text','closePath','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','SetSelectionsOperation','stringify','INotificationService','getUndoRedoMutationParamsCache','IUIPartsService','FromArray','subunit','UniverCollaborationClientPlugin','3893344cBDXQo','mergeOverrideWithDependencies','_getAnchorBounding','indexOf','Module','clipPath','WebBrowserSingleActiveUnitService','collabStatus.conflict','SYNCED','div','switchMap','_localeService','DocCollaborationEntity','_cursorShapes','MUTATION','LICENSE_MAX_UNITS_EXCEEDED','rxjs/operators','dispose$','4144430PfSTeX','getRangePointData','OnLineIcon','DependentOn','apply','MoveRangeCommandId','RevisionService','CollaborationSocketService','UNIVER_SHEET','CollaborationSessionService','assignAColorForMemberID','collabStatus.offline','_updateSubUnitFromURLParams','sheetId','CollaborationController','APPLY_REVISION_CONFILICT','useRef','WECHAT_HAS_BEEN_BOUND','UniverUi','collab-client.tooltip.reconnect','evenodd','_transformPreviousActiveRange','_disabled','_status$','location','redoState','[CollaborationDataLoaderController]','setParam','unitID','LICENSE_EXPORT_SIZE_EXCEEDED','@univerjs/ui','0\x200\x2016\x2016','APPLY_PERMISSION_DENIED','univerjs-icon\x20univerjs-icon-','getTypeOfUnitAdded$','Subject','YUUMI_TABLE_NOT_FOUND_IN_UNIT','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','error','_uiPartsService','doc.mutation.rich-text-editing','Unknown\x20user','pipe','_initEvent','concat','ColorKit','_beforeCloseService','_handleJoinEvent','MOBILE_HAS_BEEN_BOUND','@univerjs/docs','_selfUnitIDs','SetWorksheetActivateCommand','xlink:href','_handleLeaveEvent','_collaborationUIEventService','undoState','BehaviorSubject','unit','registerComponent','object','toRgbString','_notificationService','measureText','memberID','arc','height','HTTPService','_memberService','AWAITING','ThemeService','_updateLocalCursor','red.300','_getSessionTicket','startsWith','M0\x200H16V16H0z','getCollabCursors$','extend','121zxZbgy','_colorIndex','setShapeProps','1em','LocaleService','row','asObservable','DEFAULT_WS_SESSION_TICKET_URL','_session','_cachedData','unitId','EffectRefRangId','_document','colorChannel1','_createSocketURL','onPointerMove$','cursorInfo','has','delete','@univerjs/design','1438188OPeorx','onStarting','_colorAssignService','http://www.w3.org/2000/svg','_httpService','yellow.400','useDependency','with','COLORS','disposeWithMe','_roomMembers$','getCurrentSelections','_logService','_docTransformSelectionsService','_entityInit$','getItem','UniverDocs','@univerjs/engine-formula','add','UniverSheets','href','createIdentifier','ISnapshotServerService','all','_color','SUBMIT_CHANGESET_TIMEOUT','YUUMI_AI_RUN_FAILED','on-line-icon','_refRangeService','get','INVITE_CODE_HAS_BEEN_UES','engine','Disposable','executionId','unsubscribe','0\x200\x2017\x2016','FETCH_MISS','createInstance','_initStatusListener','map','_handleHeartbeatEvent','replaceState','event$','save','onCommandExecuted','merge','hide','_collabCursorState$','bottom','Workbook','selection','SNAPSHOT_HAS_BEEN_REMOVED','application/json','transformMutation','Error','_getScale','IConfigService','collabStatus.synced','getRenderById','AWAITING_WITH_PENDING','InsertRangeMoveDownCommandId','toString','defineProperty','sessionStatus$','IBeforeCloseService','InsertColCommandId','getMember','UniverProCollaborationClientUi','jsx','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','1030BaafFL','USERS_LEAVE','_saveTaskMap','ICommandService','forEach','RegularPolygon','UniverDocsUi','editingUnit','includes','UniverRpc','collabCursorState$','getUnhiddenWorksheets','findNodePositionByCharIndex','APPLY_NON_SEQUENTIAL_REVISION','@univerjs/rpc','_renderManagerService','getConfig','m2Prime','334980sYbDBT','idSuffix','_lastPointer','Rectangle','CONNECTOR_DATA_TOO_LARGE','_docStateChangeManagerService','off-line-icon_clip0_910_343','ONLINE','handleInsertRow','LICENSE_IMPORT_SIZE_EXCEEDED','getCoordByCell','next','unshift','_onRefRangeChange','replace','restore','OffLineIcon','touchDependencies','children','disposeUnit','body','code','shareReplay','_onCursorDelete','subscribe','reconnect','_transformUndoRedoStack','ALREADY_EXISTS','_scheduleSaving','width','_initResize','sheetID','CONFLICT','isEditing','flatMap','_injector','_scheduleClearOtherTimer','current','@univerjs/network','YUUMI_UNABLE_LOAD_URL','UniverEngineRender','getDocRanges','Rect','hasOwnProperty','INVITE_CODE_REQUIRED','whenReady','_anchor','symbol','getOffsetConfig','collabStatus.notCollab','clearTimeout','RECT','values','UniverEngineFormula','Optional','VIEW_MAIN','getOwnPropertySymbols','_docSkeletonManagerService','_textBubble','getCellPositionByOffset','IUniverInstanceService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','data','addClipboardHook','_handleEvent','_id','url(#$1','EMAIL_HAS_BEEN_BOUND','removeParam','INVALID_INVITE_CODE','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','from','_cursors','call','searchParams','UniverIcon','transformRemoteChangeset','urlChange$','docStateChange$','show','_getSheetObject','_saveCache','PY_RUNTIME_SCRIPT_ERROR','_setupBeforeClosingHandler','UniverProCollaborationClient','CollaborationDataLoaderController','DesktopCollaborationStatusDisplayController','session.connection-failed','runId','requireSession','USER_NOT_INVITED_CODE','getSheetObject','DisposableCollection','_doCreateSocket','_labelPosition','YUUMI_URL_COL_OUT_OF_RANGE','loadUnit','BrowserCollaborationSocketService','_transformHistoryAndStateStack','SOCKET_FAILED','endRow','currentSkeleton$','size','post','_onCursorUpdate','pushState','_drawRectRange','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_instanceService','clsx','getParam','mask','fillStyle','white','@univerjs-pro/collaboration-client','DocIMEInputManagerService','_univerInstanceService','LICENSE_DISTRO_REJECTED','roomMembers$','activeSheet$','_dataLoaderService','SheetCollabCursorShape','PENDING','WebURLService','_sheetSkeletonManagerService','some','setUndoRedoMutationParamsCache','_assignedColors','OTHER_CLIENTS_EDITING','on-line-icon_clip0_910_349','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs-pro/collaboration','IRenderManagerService','_urlService','syncEditingCollabCursor','_anchorDot','_context','currentTheme$','defIds','UniverProCollaboration','getFocusedUnit','string','purple.300','SOCKET_FAILED_RETRY','DOC_RANGE_TYPE','createElement','distinctUntilChanged','transformIMECache','m1Prime','transform','throttleTime','collab-text-anchor-','706690qMZHxU','random','jiqing.500','none','deepClone','color','getRelativeToViewportCoord','MessageType','_handleHover','PERMISSION_DENIED','beginPath','getSheetId','collab-text-range-','pluginName','_removeCollabCursors','LOCAL_CACHE_INTERVAL','handleIRemoveRow','init','black','getCurrentRevOfUnit','Shape','UniverCollaborationClientUIPlugin','DocStateChangeManagerService'];_0x4f30=function(){return _0x15b8af;};return _0x4f30();}
|