@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505211607 → 0.7.0-nightly.202505231607
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/types/locale/en-US.d.ts +38 -2
- package/lib/types/locale/fa-IR.d.ts +2 -2
- package/lib/types/locale/fr-FR.d.ts +2 -2
- package/lib/types/locale/ru-RU.d.ts +2 -2
- package/lib/types/locale/vi-VN.d.ts +2 -2
- package/lib/types/locale/zh-CN.d.ts +3 -39
- package/lib/types/locale/zh-TW.d.ts +2 -2
- 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 +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x30a1(_0x24c434,_0x1a55a9){const _0x2e2272=_0x2e22();return _0x30a1=function(_0x30a15b,_0x61c46b){_0x30a15b=_0x30a15b-0x15d;let _0xf55c53=_0x2e2272[_0x30a15b];return _0xf55c53;},_0x30a1(_0x24c434,_0x1a55a9);}function _0x2e22(){const _0x40b0d3=['_handleLeaveEvent','_refRangeService','_imageIoService','size','_onCursorUpdate','startColumn','asObservable','DocStateChangeManagerService','attrs','APPLY_REJECT','getConfig','trim','ILocalCacheService','transformIMECache','isTransformMutationFailure','createElement','application/json','current','values','DocIMEInputManagerService','WECHAT_HAS_BEEN_BOUND','unsubscribe','_updateURLWithCurrentState','@univerjs/core','transformMutationsWithChangeset','CHANGESET_REVISION_CONFILICT','cursorInfo$','getCoordByCell','getOwnPropertyDescriptor','subscribe','@univerjs/sheets','transformStateCache','_cursor','_hover','getSheetId','_textBubble','Workbook','univer-flex\x20univer-mr-2\x20univer-text-xl','executeCommand','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','SheetsSelectionsService','onPointerEnter$','@univerjs-pro/collaboration','OnLineSingle','@univerjs/rpc','Plugin','_docTransformSelectionsService','replace','send','ranges','rgba(255,\x20255,\x20255,\x200.01)','hide','M0\x200H16V16H0z','delete','_cursors','measureText','OTHER_CLIENTS_EDITING','getCurrentSelections','DeleteRangeMoveLeftCommandId','IRemoteInstanceService','FromArray','Inject','_onRefRangeChange','MoveRangeCommandId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_httpService','top','with','getActiveSheet','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','AWAITING_WITH_PENDING','RefRangeService','_session','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_messageService','save','saveOfflineData','INVITE_CODE_ALREADY_BOUND','18656BfIMkl','setItem','fillRule','CollaborationStatus','selection','getMergeData','distinctUntilChanged','off-line-single_clip0_910_343','IConfigService','range','_docClipboardService','rxjs','isTransformMutationsWithChangesetSuccess','_setupBeforeClosingHandler','SheetSkeletonManagerService','map','UniverProCollaborationClient','_shapes','_updateLocalCursor','OTHER_CLIENT_EDITING','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationUIEventService','SHEET_VIEWPORT_KEY','APPLY_NON_SEQUENTIAL_REVISION','1224064ppXEhc','LocaleService','hovered','row','code','_syncEditingCollabCursorService','collab-rect-range-','3960GgBzVb','_removeClearOtherTimer','getColorFromTheme','setStateCache','PY_RUNTIME_SCRIPT_ERROR','IBeforeCloseService','_getScale','roomMembers','getCellPositionByOffset','Injector','Module','syncEditingCollabCursor','0\x200\x2016\x2016','use','round','blue.400','m2Prime','error','_ensureSubject','_render','disableLocalCache','show','whenReady','UNDEFINED','filter','disposeWithMe','_beforeCloseService','getAncestorScale','_color','UnitStatus','_commandService','div','_refreshCollabCursors','textRanges','hasOwnProperty','storage','_colorIndex','memberID','history','#FFF','COMPLETION_FINISHED','RichTextEditingMutation','_entities','height','restore','BrowserCollaborationSocketService','onPointerMove$','generateRandomId','getSheetObject','symbol','getMemberID','PERMISSION_DENIED','_transformPreviousActiveRange','getDocRanges','DocCollaborationEntity','next','rxjs/operators','_memberService','Error','fillText','MOBILE_HAS_BEEN_BOUND','collaboration.single-unit.warning','_anchorDot','assignAColorForMemberID','setInterval','extend','none','pluginName','_configService','newValue','object','@univerjs/design','min','INVITE_CODE_REQUIRED','toRgbString','_init','INVALID_INVITE_CODE','SetSelectionsOperation','@univerjs/engine-formula','indexOf','_hovered','search','DependentOn','getColor','UniverEngineRender','ITransformService','getParam','_logService','propertyIsEnumerable','permission.content','init','has','InsertColCommandId','_id','registerDependencies','onMouseMove','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','yellow.400','_colorAssignService','NO_OTHER_CLIENTS_EDITING','UniverEngineFormula','url(#$1','getFocusedUnit','permission.title','searchParams','addClipboardHook','_transformHistoryAndStateStack','LICENSE_DISTRO_REJECTED','updateOfflineData','@univerjs/engine-render','transformSelections','_scheduleSaving','handleInsertRangeMoveRight','_registerDependencies','arc','sheetId','CONNECTOR_DATA_TOO_LARGE','_getAnchorBounding','ILogService','ISnapshotServerService','_initStatusListener','getUndoRedoMutationParamsCache','getUnitStatus$','DOC_RANGE_TYPE','substring','CommandType','UNRECOGNIZED','_unitOnClients','defineProperty','OFFLINE','undoState','3504966lJdFvj','TEXT_RANGE_LAYER_INDEX','@univerjs-pro/collaboration-client','_cursorShapes','_config','LICENSE_MAX_UNITS_EXCEEDED','ONLINE','IUniverInstanceService','getUnhiddenWorksheets','CollaborationEvent','sessionStatus$','beginPath','Disposable','_sheetSkeletonManagerService','unshift','#fff','_setupSubUnitSync','_docStateChangeManagerService','INVALID_ARGUMENT','SUBMIT_CHANGESET_TIMEOUT','deserializeRangeWithSheet','VIEW_MAIN','_send','APPLY_REVISION_CONFILICT','handleMoveRange','_instanceService','_name','getMember','takeUntil','YUUMI_AI_RUN_FAILED','Unknown\x20user','_localStorageService','black','debounce','forwardRef','getCollabCursors$','add','SNAPSHOT_INVALID_SNAPSHOT','CONFLICT','BuiltInUIPart','SessionStatus','runOnServer','exports','url(#off-line-single_clip0_910_343)','registerRenderModule','_getMergeRange','setConfig','subscribeEvent','_handleJoinEvent','YUUMI_ALL_TABLES_IS_INVALID','doc.mutation.rich-text-editing','contains','UPDATE_CURSOR','_getSheetObject','PENDING','_registerRenderDependencies','currentColor','assign','column','popstate','_doCreateSocket','transform','_scheduleHeartbeat','IRenderManagerService','_themeService','actions','onLocalMutation','_drawAnchor','forEach','_status$','RemoteUniscriptService','_hideTimer','RemoveColCommandId','green.600','_dataLoaderService','defIds','addHandlerCallback','find','LOGIN_FAILED','merge','_cachedData','_scheduleClearOtherTimer','react','createIdentifier','Vector2','key','9441PdWiDa','getStateCache','fromEventSubject','USERS_LEAVE','endRow','_unitStatus','RECT','_collabCursorController','_cursorInfo$','YUUMI_RATE_OVER_LIMIT','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','urlChange$','clearTimeout','Optional','getTypeOfUnitAdded$','pushState','UniverSheetsUi','LOCAL_CACHE_INTERVAL_KEY','sessionTicket','651pStTqj','UniverCore','set','defs','NodePositionConvertToCursor','UNAUTHENTICATED','collaboration-client-ui.config','INTERNAL_ERROR','ALREADY_EXISTS','deepClone','xlink:href','fillStyle','_online','[CollaborationDataLoaderController]','UNIVER_SHEET','ThemeService','InsertRowCommandId','text','_transformUndoRedoStack','getSheetBySheetId','3894189zHEgur','debounceTime','split','function','_startSheetCollabCursor','handleDeleteRangeMoveLeft','runRefRangeMutations','docStateChange$','then','CollaborationDataLoaderController','requireSession','setParam','unload','toStringTag','SheetCollabCursorShape','params','UniverDrawing','combineLatest','_startDocCollabCursor','_univerInstanceService','_clearOtherTimers','tag','ISocketService','setShapeProps','startsWith','width','0\x200\x2017\x2016','unitID','subUnitId','unit','LOCAL_CACHE_INTERVAL','YUUMI_URL_COL_OUT_OF_RANGE','touchDependencies','NodePositionConvertToRectRange','backgroundColor','collabStatus.synced','2079928kKCKho','_anchor','setAlpha','_uiPartsService','setUndoRedoMutationParamsCache','path','translate(.97)','engine','@univerjs/docs-ui','UniverUi','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','amd','RxDisposable','collabStatus.offline','href','m1Prime','_removeCollabCursors','getOwnPropertySymbols','addObject','getViewport','SetWorksheetActivateCommand','univerjs-icon\x20univerjs-icon-','max','from','_backgroundColor','displayName','Shape','@univerjs/ui','InsertRangeMoveRightCommandId','_initEntityListener','@univerjs/sheets-ui','bottom','executionId','@univerjs/drawing','useDependency','UniverProCollaborationClientUi','_transformService','UNIVER_DOC','loadOfflineData','Subject','subunit','mask','saveTaskMap','some','onTransformChange$','INVITE_CODE_HAS_BEEN_UES','runId','getValue','ColorKit','mutations','jsx','APPLY_DUPLICATED','_revisionService','moveTo','skeleton','parse','_handleHeartbeatEvent','_collaborationUIEventService','string','lineTo','mapTo','registerRefRange','clsx','...','_roomMembers$','loadUnit','DataLoaderService','TOO_MANY_REQUESTS','collabCursorState$','createSocket','on-line-single','ENSURE_SNAPSHOT_EXECUTION','MemberService','_entityInit$','DesktopCollaborationStatusDisplayController','_saveCache','EffectRefRangId','dispose$','getSkeleton','YUUMI_TABLE_NOT_FOUND_IN_UNIT','debug','COLORS','BehaviorSubject','FETCH_MISS','ticket','className','_disabled','YUUMI_SUBSCRIPTION_NOT_FOUND','drawWith','_labelPosition','length','event$','_createSocketURL','_renderManagerService','_handleEvent','_saveTaskMap','_toggleOffline','1em','INotificationService','_collabCursorState$','stringify','_lastPointer','selections','redoState','getCurrent','clearInterval','getOffsetConfig','closePath','registerComponent','collaboration.closeRoom','YUUMI_NO_CUBOID_FOR_QUESTION','getCurrentRevOfUnit','override','NOT_FOUND','_selfUnitIDs','name','USER_NOT_INVITED_CODE','prototype','RegularPolygon','2486090UlIKfq','_collabSessionService','_initEvent','CollaborationSocketService','replaceState','fromEvent','_initDependencies','_injector','_localCacheService','_handleHover','WebBrowserSingleActiveUnitService','transformMutation','apply','DisposableCollection','isArray','UniverNetwork','addEventListener','_drawRectRange','_onCursorDelete','getRelativeToViewportCoord','IImageIoService','color','onRendered','SOCKET_FAILED_RETRY','pipe','/run/','fill','_range','DocSelectionManagerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','body','OffLineSingle','IDocClipboardService','disposeUnit','_updateCollabCursors','reconnect','UniverDocs','colorChannel1','Warning','React','roomMembers$','enableLocalCache','collabStatus.syncing','complete','children','UniverCollaborationClientUIPlugin','wsSessionTicketUrl','invokeId','entries','push','evenodd','location','IMessageService','handleIRemoveRow','getActiveRange','SNAPSHOT_HAS_BEEN_REMOVED','NOT_COLLAB','UniverRpc','_docSkeletonManagerService','react/jsx-runtime','_heartbeatTimer','getRenderById','currentSkeleton$','currentTheme$','UniverIcon','transformByState','APPLY_PERMISSION_DENIED','collabStatus.notCollab','_getSaveTimeout','get','_docTransformIMECacheService','result','call','CollaborationUIEventId','10swPHOm','_context','RevisionService','Failed','transformRemoteChangeset','LICENSE_IMPORT_SIZE_EXCEEDED','createInstance','collab-client.tooltip.reconnect','_localeService','SYNCED','operators','toDisposable','type','addObjects','UniverProCollaboration','getRangePointData','setActiveRange','_docTransformStateCacheService','_initCommandExecutedListener','exhaustSavingTask','@univerjs/network','isActive','useCallback','_initResize','UniverInstanceType','saveImage','ILocalStorageService','UniverSheets','labelPosition','TEXT','_docSyncEditingCollabCursorService','CollaborationController','YUUMI_UNABLE_LOAD_URL','dispose','collab-text-anchor-','Rectangle','red.300','_notificationService','_draw','random','_toggleOnline','HTTPService','ICommandService','switchMap','CollaborationSessionService','MessageType','cursorInfo','_updateSubUnitFromURLParams','getUnitId','collab-text-range-','getVpScrollXYInfoByPosToVp','Tools','handleInsertCol','toString','icon','svg','_collaborationController','eventID','getUniverSheetInstance','SetTextSelectionsOperation','SOCKET_FAILED','getItem','LICENSE_EXPORT_SIZE_EXCEEDED','_scene','RemoveRowCommandId','idSuffix','YUUMI_ASYNCIO_CANCELLED','_assignedColors','IUIPartsService','onCommandExecuted','SetDocZoomRatioOperation','_urlService','EMAIL_HAS_BEEN_BOUND','_eventUnsubscribe','handleInsertRow','_getSessionTicket','concat','data','replaceDocRanges','editingUnit','font','Rect','MUTATION','unitId'];_0x2e22=function(){return _0x40b0d3;};return _0x2e22();}(function(_0x2629bc,_0x1f031b){const _0x5a9d27=_0x30a1,_0x134c76=_0x2629bc();while(!![]){try{const _0x5baeb9=parseInt(_0x5a9d27(0x29c))/0x1+parseInt(_0x5a9d27(0x198))/0x2+-parseInt(_0x5a9d27(0x3a3))/0x3+parseInt(_0x5a9d27(0x3c7))/0x4+-parseInt(_0x5a9d27(0x1e2))/0x5*(parseInt(_0x5a9d27(0x326))/0x6)+parseInt(_0x5a9d27(0x38f))/0x7*(-parseInt(_0x5a9d27(0x284))/0x8)+-parseInt(_0x5a9d27(0x37c))/0x9*(-parseInt(_0x5a9d27(0x2a3))/0xa);if(_0x5baeb9===_0x1f031b)break;else _0x134c76['push'](_0x134c76['shift']());}catch(_0x1daea8){_0x134c76['push'](_0x134c76['shift']());}}}(_0x2e22,0xaf982),function(_0x59f6ad,_0x2b1eb1){const _0x3ba93a=_0x30a1;typeof exports==_0x3ba93a(0x2e9)&&typeof module<'u'?_0x2b1eb1(exports,require(_0x3ba93a(0x328)),require(_0x3ba93a(0x24d)),require('@univerjs/engine-render'),require(_0x3ba93a(0x1f6)),require(_0x3ba93a(0x3cf)),require(_0x3ba93a(0x3e8)),require(_0x3ba93a(0x28f)),require('@univerjs/docs'),require('@univerjs-pro/collaboration'),require(_0x3ba93a(0x2f1)),require(_0x3ba93a(0x254)),require(_0x3ba93a(0x2db)),require(_0x3ba93a(0x3e5)),require(_0x3ba93a(0x1d3)),require(_0x3ba93a(0x3e2)),require('@univerjs/design'),require(_0x3ba93a(0x378)),require(_0x3ba93a(0x262))):typeof define=='function'&&define[_0x3ba93a(0x3d2)]?define([_0x3ba93a(0x350),'@univerjs-pro/collaboration-client','@univerjs/core',_0x3ba93a(0x310),_0x3ba93a(0x1f6),_0x3ba93a(0x3cf),_0x3ba93a(0x3e8),_0x3ba93a(0x28f),'@univerjs/docs',_0x3ba93a(0x260),'@univerjs/engine-formula',_0x3ba93a(0x254),_0x3ba93a(0x2db),'@univerjs/sheets-ui',_0x3ba93a(0x1d3),_0x3ba93a(0x3e2),_0x3ba93a(0x2ea),_0x3ba93a(0x378),_0x3ba93a(0x262)],_0x2b1eb1):(_0x59f6ad=typeof globalThis<'u'?globalThis:_0x59f6ad||self,_0x2b1eb1(_0x59f6ad[_0x3ba93a(0x3ea)]={},_0x59f6ad[_0x3ba93a(0x294)],_0x59f6ad[_0x3ba93a(0x390)],_0x59f6ad[_0x3ba93a(0x2f7)],_0x59f6ad[_0x3ba93a(0x1a7)],_0x59f6ad['UniverDocsUi'],_0x59f6ad[_0x3ba93a(0x3b3)],_0x59f6ad[_0x3ba93a(0x28f)],_0x59f6ad[_0x3ba93a(0x1bc)],_0x59f6ad[_0x3ba93a(0x1f0)],_0x59f6ad[_0x3ba93a(0x307)],_0x59f6ad[_0x3ba93a(0x1fd)],_0x59f6ad[_0x3ba93a(0x28f)][_0x3ba93a(0x1ec)],_0x59f6ad[_0x3ba93a(0x38c)],_0x59f6ad[_0x3ba93a(0x1bf)],_0x59f6ad[_0x3ba93a(0x3d0)],_0x59f6ad['UniverDesign'],_0x59f6ad[_0x3ba93a(0x1bf)],_0x59f6ad[_0x3ba93a(0x1d1)]));}(this,function(_0x3dc1b0,_0x827ff8,_0x1c002c,_0x8f24d8,_0x286260,_0x567b9,_0x22769d,_0x4287b5,_0x1100fd,_0x376d49,_0x568831,_0x2a4acb,_0x5d572c,_0x17d02e,_0x3c107a,_0x1c1408,_0x29c2d3,_0x59786a,_0x405deb){'use strict';const _0x26cc89=_0x30a1;var _0x2cdba9=Object[_0x26cc89(0x323)],_0x3c1808=(_0x295f11,_0x4f1d6a,_0x995080)=>_0x4f1d6a in _0x295f11?_0x2cdba9(_0x295f11,_0x4f1d6a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x995080}):_0x295f11[_0x4f1d6a]=_0x995080,_0xd9b4bc=(_0x45b1ca,_0xcbb8ec,_0x52ca3c)=>_0x3c1808(_0x45b1ca,typeof _0xcbb8ec!=_0x26cc89(0x2d4)?_0xcbb8ec+'':_0xcbb8ec,_0x52ca3c),_0x270175=Object[_0x26cc89(0x252)],_0x3a4d75=(_0x1a698c,_0x2cdea3,_0xff6c02,_0x5168bb)=>{for(var _0x15cde2=_0x5168bb>0x1?void 0x0:_0x5168bb?_0x270175(_0x2cdea3,_0xff6c02):_0x2cdea3,_0x2d8757=_0x1a698c['length']-0x1,_0x4c8cbb;_0x2d8757>=0x0;_0x2d8757--)(_0x4c8cbb=_0x1a698c[_0x2d8757])&&(_0x15cde2=_0x4c8cbb(_0x15cde2)||_0x15cde2);return _0x15cde2;},_0xe4be94=(_0x257393,_0x4756b5)=>(_0x305e9c,_0x1ea0d7)=>_0x4756b5(_0x305e9c,_0x1ea0d7,_0x257393);let _0x3f0664=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x208971,_0x2d0412){const _0x1ba520=_0x26cc89;super(),this[_0x1ba520(0x28e)]=_0x208971,this[_0x1ba520(0x238)]=_0x2d0412,this['_init']();}[_0x26cc89(0x2ee)](){const _0x489635=_0x26cc89,_0x252fb6=this;this[_0x489635(0x2bc)](this[_0x489635(0x28e)][_0x489635(0x30c)]({'onBeforePasteImage':async _0x58b5a2=>{const _0x3e3109=_0x489635,_0x23bb86=await _0x252fb6[_0x3e3109(0x238)][_0x3e3109(0x1fb)](_0x58b5a2);return _0x23bb86?{'source':_0x23bb86['source'],'imageSourceType':_0x23bb86['imageSourceType']}:null;}}));}};_0x3f0664=_0x3a4d75([_0xe4be94(0x0,_0x567b9[_0x26cc89(0x1b8)]),_0xe4be94(0x1,_0x22769d[_0x26cc89(0x1ac)])],_0x3f0664);const _0x40c15c=['purple.300','jiqing.500',_0x26cc89(0x36f),_0x26cc89(0x206),_0x26cc89(0x2b2),_0x26cc89(0x304)];class _0x328ed8 extends _0x1c002c[_0x26cc89(0x332)]{constructor(){const _0x57813b=_0x26cc89;super(...arguments),_0xd9b4bc(this,_0x57813b(0x225),new Map()),_0xd9b4bc(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x40adfb){const _0x4b8100=_0x26cc89;if(this[_0x4b8100(0x225)][_0x4b8100(0x2fe)](_0x40adfb))return this[_0x4b8100(0x225)][_0x4b8100(0x1dd)](_0x40adfb);const _0x58ee4c=_0x40c15c[this[_0x4b8100(0x2c7)]];return this[_0x4b8100(0x2c7)]=(this[_0x4b8100(0x2c7)]+0x1)%_0x40c15c[_0x4b8100(0x17b)],this[_0x4b8100(0x225)][_0x4b8100(0x391)](_0x40adfb,_0x58ee4c),_0x58ee4c;}}function _0x22f65c(_0x5ad802){let _0x5c796e='';for(const _0x3a6f69 of _0x5ad802){const {startOffset:_0x4cff2a,endOffset:_0x5e50a9,isActive:_0x43a6fc,rangeType:_0x40f45e,segmentId:_0xb827f1,segmentPage:_0x18db35}=_0x3a6f69;_0x5c796e['length']&&(_0x5c796e+=','),_0x5c796e+=_0x4cff2a+':'+_0x5e50a9+':'+(_0x43a6fc?'1':'0')+':'+_0x40f45e+':'+_0xb827f1+':'+_0x18db35;}return _0x5c796e;}function _0x5bbdc4(_0x52f734){const _0x32dd5a=_0x26cc89,_0x2b2806=_0x52f734['split'](','),_0x2b74e5=[];for(const _0x25b23d of _0x2b2806){const [_0x81e01,_0x252058,_0x159eac,_0x25c838,_0x286fb5,_0x22ede9]=_0x25b23d[_0x32dd5a(0x3a5)](':');_0x2b74e5['push']({'startOffset':Number(_0x81e01),'endOffset':Number(_0x252058),'collapsed':_0x81e01===_0x252058,'isActive':_0x159eac==='1','rangeType':_0x25c838===_0x1c002c[_0x32dd5a(0x31e)][_0x32dd5a(0x1ff)]?_0x1c002c[_0x32dd5a(0x31e)][_0x32dd5a(0x1ff)]:_0x1c002c[_0x32dd5a(0x31e)][_0x32dd5a(0x382)],'segmentId':typeof _0x286fb5==_0x32dd5a(0x401)?String(_0x286fb5):'','segmentPage':Number(_0x22ede9!=null?_0x22ede9:-0x1)});}return _0x2b74e5[_0x32dd5a(0x3f2)](_0x1782a7=>_0x1782a7['isActive'])||(_0x2b74e5[0x0][_0x32dd5a(0x1f7)]=!0x0),_0x2b74e5;}class _0x509d7c extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(){const _0x141164=_0x26cc89;super(...arguments),_0xd9b4bc(this,_0x141164(0x184),new _0x4287b5[(_0x141164(0x173))](null)),_0xd9b4bc(this,_0x141164(0x165),this['_collabCursorState$'][_0x141164(0x23c)]());}[_0x26cc89(0x2ae)](_0x157e68){const _0x421e9b=_0x26cc89,{unitID:_0x111bcb,memberID:_0x33d477,textRanges:_0x3e55ff}=_0x157e68,_0x3463a0=_0x22f65c(_0x3e55ff);if(_0x3463a0==='')return;const _0x359370={'unitID':_0x111bcb,'memberID':_0x33d477,'selection':_0x3463a0};this['_collabCursorState$'][_0x421e9b(0x2da)](_0x359370);}}var _0x2dee8f=Object[_0x26cc89(0x252)],_0x15d13b=(_0x4ddb96,_0x249ada,_0x5782dc,_0x47e132)=>{const _0x2b5aa5=_0x26cc89;for(var _0x394bb9=_0x47e132>0x1?void 0x0:_0x47e132?_0x2dee8f(_0x249ada,_0x5782dc):_0x249ada,_0x2bd756=_0x4ddb96[_0x2b5aa5(0x17b)]-0x1,_0x50c9bc;_0x2bd756>=0x0;_0x2bd756--)(_0x50c9bc=_0x4ddb96[_0x2bd756])&&(_0x394bb9=_0x50c9bc(_0x394bb9)||_0x394bb9);return _0x394bb9;},_0x1ea400=(_0x2efe3f,_0x58c0b1)=>(_0x4715dd,_0x3ee38e)=>_0x58c0b1(_0x4715dd,_0x3ee38e,_0x2efe3f);const _0x54b378=0x12c,_0x3ab358=0x64;let _0x1437b5=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x4c918f,_0x52bb94,_0xbf08d9,_0xf5ce49,_0x37f8a8,_0x9a37c4,_0x218da1,_0x32e85b,_0xddf6b6){const _0x288f48=_0x26cc89;super(),_0xd9b4bc(this,_0x288f48(0x39b),!0x1),_0xd9b4bc(this,_0x288f48(0x2ee),!0x1),_0xd9b4bc(this,'_cursorInfo$',new _0x4287b5['BehaviorSubject'](new Map())),_0xd9b4bc(this,_0x288f48(0x250),this[_0x288f48(0x384)][_0x288f48(0x23c)]()),_0xd9b4bc(this,_0x288f48(0x161),new _0x4287b5['BehaviorSubject']([])),_0xd9b4bc(this,_0x288f48(0x1c0),this['_roomMembers$'][_0x288f48(0x1b0)](_0x4287b5[_0x288f48(0x3a4)](_0x54b378))),_0xd9b4bc(this,_0x288f48(0x296),_0x1c002c['debounce'](_0x2b945b=>{const _0x5cb5fe=_0x288f48,_0x382216={'eventID':_0x376d49[_0x5cb5fe(0x32f)][_0x5cb5fe(0x35a)],'data':{'unitID':this[_0x5cb5fe(0x3be)],'memberID':this[_0x5cb5fe(0x27e)][_0x5cb5fe(0x2d5)](),'selection':_0x22f65c(_0x2b945b)}};this[_0x5cb5fe(0x27e)][_0x5cb5fe(0x266)](_0x382216,this['unitID']);},_0x3ab358)),(this[_0x288f48(0x3be)]=_0x4c918f,this['_session']=_0x52bb94,this['_injector']=_0xbf08d9,this['_colorAssignService']=_0xf5ce49,this[_0x288f48(0x2dc)]=_0x37f8a8,this[_0x288f48(0x2a1)]=_0x9a37c4,this['_transformService']=_0x218da1,this[_0x288f48(0x3b6)]=_0x32e85b,this[_0x288f48(0x2c1)]=_0xddf6b6);}get[_0x26cc89(0x210)](){const _0x462981=_0x26cc89;return this['_cursorInfo$'][_0x462981(0x3f6)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x26cc89(0x203)](){const _0x162b7d=_0x26cc89;super['dispose'](),this[_0x162b7d(0x384)][_0x162b7d(0x2da)](new Map()),this['_cursorInfo$'][_0x162b7d(0x1c3)](),this[_0x162b7d(0x161)]['next']([]),this[_0x162b7d(0x161)][_0x162b7d(0x1c3)]();}[_0x26cc89(0x2fd)](){const _0x126fbf=_0x26cc89;this[_0x126fbf(0x2ee)]||(this[_0x126fbf(0x2ee)]=!0x0,this[_0x126fbf(0x27e)]['sessionStatus$'][_0x126fbf(0x1b0)](_0x4287b5[_0x126fbf(0x342)](this[_0x126fbf(0x16e)]))[_0x126fbf(0x253)](_0x519c13=>{const _0xe6a344=_0x126fbf;_0x519c13===_0x827ff8['SessionStatus'][_0xe6a344(0x32c)]?this[_0xe6a344(0x20a)]():this['_toggleOffline']();}),this['_session']['event$'][_0x126fbf(0x1b0)](_0x4287b5[_0x126fbf(0x342)](this[_0x126fbf(0x16e)]))[_0x126fbf(0x253)](_0x449ec8=>{const _0x4cdadd=_0x126fbf,_0x5bc5b7=_0x449ec8[_0x4cdadd(0x21b)];_0x5bc5b7===_0x376d49[_0x4cdadd(0x32f)][_0x4cdadd(0x35a)]&&this[_0x4cdadd(0x23a)](_0x449ec8),_0x5bc5b7===_0x376d49[_0x4cdadd(0x32f)][_0x4cdadd(0x37f)]&&this[_0x4cdadd(0x1aa)](_0x449ec8);}),this[_0x126fbf(0x2bc)](this[_0x126fbf(0x2c1)]['onCommandExecuted'](_0x26b1c4=>{const _0x2bce9f=_0x126fbf,_0x537aa0=_0x26b1c4['params'];_0x537aa0!=null&&this[_0x2bce9f(0x39b)]&&_0x26b1c4['id']===_0x1100fd[_0x2bce9f(0x21d)]['id']&&_0x537aa0[_0x2bce9f(0x235)]===this[_0x2bce9f(0x3be)]&&_0x537aa0['isEditing']===!0x1&&_0x537aa0[_0x2bce9f(0x267)][_0x2bce9f(0x17b)]>0x0&&this['_updateLocalCursor'](_0x537aa0[_0x2bce9f(0x267)]);})),this[_0x126fbf(0x2a1)][_0x126fbf(0x165)][_0x126fbf(0x1b0)](_0x4287b5[_0x126fbf(0x342)](this[_0x126fbf(0x16e)]))[_0x126fbf(0x253)](_0xc6905b=>{const _0x135eff=_0x126fbf;if((_0xc6905b==null?void 0x0:_0xc6905b[_0x135eff(0x3be)])!==this[_0x135eff(0x3be)])return;const _0x70479a={'eventID':_0x376d49[_0x135eff(0x32f)][_0x135eff(0x35a)],'data':_0xc6905b};this[_0x135eff(0x23a)](_0x70479a);}),this['disposeWithMe'](this['_commandService'][_0x126fbf(0x227)](_0x358128=>{const _0x335407=_0x126fbf;if(_0x358128['params']==null)return;const _0x1ddcf9=_0x358128[_0x335407(0x3b2)];if(_0x358128['id']!==_0x1100fd[_0x335407(0x2cc)]['id']||_0x1ddcf9['unitId']!==this[_0x335407(0x3be)])return;const _0x1cefd4={'id':_0x335407(0x358),'params':_0x1ddcf9},_0x1904aa=this['cursorInfo'];for(const [_0x5d01fb,_0x2db446]of _0x1904aa){const _0x228e30={'id':_0x335407(0x358),'params':{'unitId':this[_0x335407(0x3be)],'actions':null,'textRanges':_0x2db446[_0x335407(0x267)]}},_0x1ca16c=this[_0x335407(0x3eb)]['transformMutation'](_0x1cefd4,_0x228e30,!0x1);if(_0x376d49['isTransformMutationFailure'](_0x1ca16c))throw _0x1ca16c['error'];_0x1904aa[_0x335407(0x391)](_0x5d01fb,{..._0x2db446,'ranges':_0x1ca16c['m2Prime'][_0x335407(0x3b2)][_0x335407(0x2c4)]});}queueMicrotask(()=>{const _0x193377=_0x335407;this[_0x193377(0x384)][_0x193377(0x2da)](_0x1904aa);});})));}['_onCursorUpdate'](_0x25fe1c){const _0x41da08=_0x26cc89;var _0x281a6d,_0x1b2cf1;const {memberID:_0x3a555a,selection:_0x5cd529}=_0x25fe1c['data'],_0xfe7a5a=_0x5bbdc4(_0x5cd529),_0x405740=(_0x1b2cf1=(_0x281a6d=this[_0x41da08(0x2dc)][_0x41da08(0x341)](this[_0x41da08(0x3be)],_0x3a555a))==null?void 0x0:_0x281a6d[_0x41da08(0x194)])!=null?_0x1b2cf1:_0x41da08(0x344),_0x5193de={'color':this[_0x41da08(0x305)][_0x41da08(0x2e2)](_0x3a555a),'name':_0x405740,'ranges':_0xfe7a5a},_0x3cfba1=this[_0x41da08(0x210)];_0x3cfba1['set'](_0x3a555a,_0x5193de),this[_0x41da08(0x384)]['next'](_0x3cfba1);}[_0x26cc89(0x1aa)](_0x26ac32){const _0x3b05ec=_0x26cc89,{memberID:_0x22c33c}=_0x26ac32[_0x3b05ec(0x22f)],_0x292a86=this[_0x3b05ec(0x210)];_0x292a86[_0x3b05ec(0x26b)](_0x22c33c),this['_cursorInfo$'][_0x3b05ec(0x2da)](_0x292a86);}[_0x26cc89(0x20a)](){const _0x4c409a=_0x26cc89;var _0x26ee0d;if(this[_0x4c409a(0x39b)]=!0x0,((_0x26ee0d=this[_0x4c409a(0x3b6)][_0x4c409a(0x309)]())==null?void 0x0:_0x26ee0d[_0x4c409a(0x212)]())!==this[_0x4c409a(0x3be)])return;const _0x279602=this[_0x4c409a(0x19f)][_0x4c409a(0x1dd)](_0x1100fd['DocSelectionManagerService'])[_0x4c409a(0x2d8)]();Array['isArray'](_0x279602)&&_0x279602[_0x4c409a(0x17b)]>0x0&&this['_updateLocalCursor'](_0x279602);}[_0x26cc89(0x181)](){const _0x2195d2=_0x26cc89;this[_0x2195d2(0x39b)]=!0x1;}};_0x1437b5=_0x15d13b([_0x1ea400(0x2,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x1ea400(0x3,_0x1c002c[_0x26cc89(0x273)](_0x328ed8)),_0x1ea400(0x4,_0x1c002c[_0x26cc89(0x273)](_0x827ff8['MemberService'])),_0x1ea400(0x5,_0x1c002c[_0x26cc89(0x273)](_0x509d7c)),_0x1ea400(0x6,_0x376d49[_0x26cc89(0x2f8)]),_0x1ea400(0x7,_0x1c002c['IUniverInstanceService']),_0x1ea400(0x8,_0x1c002c['ICommandService'])],_0x1437b5);var _0x3065d1=Object['getOwnPropertyDescriptor'],_0xaff664=(_0x3ff7a7,_0x32ef4a,_0x3053ed,_0x5b2e3c)=>{for(var _0x3aab43=_0x5b2e3c>0x1?void 0x0:_0x5b2e3c?_0x3065d1(_0x32ef4a,_0x3053ed):_0x32ef4a,_0x585c9b=_0x3ff7a7['length']-0x1,_0x40719c;_0x585c9b>=0x0;_0x585c9b--)(_0x40719c=_0x3ff7a7[_0x585c9b])&&(_0x3aab43=_0x40719c(_0x3aab43)||_0x3aab43);return _0x3aab43;},_0x8dbe8=(_0x5f0636,_0x4249aa)=>(_0x3c049d,_0x8c0aab)=>_0x4249aa(_0x3c049d,_0x8c0aab,_0x5f0636);const _0x159c08=0x12c,_0x32d96b=0x64,_0x451e58=()=>{let _0x5ef90b=[],_0xeb8c5a=!0x1;return _0x30d620=>{_0x5ef90b['push'](_0x30d620),_0xeb8c5a||(_0xeb8c5a=!0x0,setTimeout(()=>{const _0x237096=_0x30a1;_0x5ef90b[_0x237096(0x36a)](_0x2d43a2=>_0x2d43a2()),_0x5ef90b=[],_0xeb8c5a=!0x1;}));};};let _0x439e2b=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x12c7cd,_0x3dd9a8,_0x1d1ea6,_0x56a4f3,_0x1e8bd5,_0x50d07e,_0x3f99e5,_0x26b14b){const _0x144b2a=_0x26cc89;super(),_0xd9b4bc(this,_0x144b2a(0x39b),!0x1),_0xd9b4bc(this,'_init',!0x1),_0xd9b4bc(this,_0x144b2a(0x384),new _0x4287b5['BehaviorSubject'](new Map())),_0xd9b4bc(this,_0x144b2a(0x250),this[_0x144b2a(0x384)][_0x144b2a(0x23c)]()),_0xd9b4bc(this,'_roomMembers$',new _0x4287b5[(_0x144b2a(0x173))]([])),_0xd9b4bc(this,'roomMembers$',this[_0x144b2a(0x161)]['pipe'](_0x4287b5[_0x144b2a(0x3a4)](_0x159c08))),_0xd9b4bc(this,_0x144b2a(0x296),_0x1c002c[_0x144b2a(0x347)]((_0x4dcbb2,_0x37708a)=>{const _0x2c4607=_0x144b2a,_0x218a56={'eventID':_0x376d49[_0x2c4607(0x32f)][_0x2c4607(0x35a)],'data':{'unitID':this['unitID'],'memberID':this[_0x2c4607(0x27e)][_0x2c4607(0x2d5)](),'selection':_0x568831['serializeRangeWithSheet'](_0x4dcbb2,_0x37708a['range'])}};this['_session'][_0x2c4607(0x266)](_0x218a56,this[_0x2c4607(0x3be)]);},_0x32d96b)),(this[_0x144b2a(0x3be)]=_0x12c7cd,this[_0x144b2a(0x27e)]=_0x3dd9a8,this[_0x144b2a(0x19f)]=_0x1d1ea6,this[_0x144b2a(0x305)]=_0x56a4f3,this[_0x144b2a(0x2dc)]=_0x1e8bd5,this['_univerInstanceService']=_0x50d07e,this[_0x144b2a(0x2c1)]=_0x3f99e5,this[_0x144b2a(0x237)]=_0x26b14b);}get[_0x26cc89(0x210)](){const _0x3adba1=_0x26cc89;return this[_0x3adba1(0x384)][_0x3adba1(0x3f6)]();}get[_0x26cc89(0x2aa)](){const _0x122f4c=_0x26cc89;return this[_0x122f4c(0x161)]['getValue']();}[_0x26cc89(0x203)](){const _0x59003c=_0x26cc89;super['dispose'](),this[_0x59003c(0x384)]['next'](new Map()),this[_0x59003c(0x384)][_0x59003c(0x1c3)](),this[_0x59003c(0x161)]['next']([]),this['_roomMembers$'][_0x59003c(0x1c3)]();}[_0x26cc89(0x2fd)](){const _0x7a4fcc=_0x26cc89;this[_0x7a4fcc(0x2ee)]||(this[_0x7a4fcc(0x2ee)]=!0x0,this[_0x7a4fcc(0x27e)][_0x7a4fcc(0x330)][_0x7a4fcc(0x1b0)](_0x4287b5['takeUntil'](this[_0x7a4fcc(0x16e)]))[_0x7a4fcc(0x253)](_0x2d7a0b=>{const _0x196c5d=_0x7a4fcc;_0x2d7a0b===_0x827ff8[_0x196c5d(0x34e)]['ONLINE']?this[_0x196c5d(0x20a)]():this[_0x196c5d(0x181)]();}),this[_0x7a4fcc(0x27e)][_0x7a4fcc(0x17c)]['pipe'](_0x4287b5[_0x7a4fcc(0x342)](this[_0x7a4fcc(0x16e)]))[_0x7a4fcc(0x253)](_0x44ca6b=>{const _0x590720=_0x7a4fcc,_0x14258a=_0x44ca6b[_0x590720(0x21b)];_0x14258a===_0x376d49[_0x590720(0x32f)][_0x590720(0x35a)]&&this[_0x590720(0x23a)](_0x44ca6b),_0x14258a===_0x376d49[_0x590720(0x32f)][_0x590720(0x37f)]&&this[_0x590720(0x1aa)](_0x44ca6b);}),this[_0x7a4fcc(0x274)](),this[_0x7a4fcc(0x2bc)](this[_0x7a4fcc(0x2c1)][_0x7a4fcc(0x227)](_0x564e7b=>{const _0x39000c=_0x7a4fcc;if(this[_0x39000c(0x39b)]&&_0x564e7b['id']===_0x2a4acb[_0x39000c(0x2f0)]['id']&&_0x564e7b['params'][_0x39000c(0x235)]===this[_0x39000c(0x3be)]){const _0x54d955=_0x564e7b[_0x39000c(0x3b2)];this['_updateLocalCursor'](_0x54d955[_0x39000c(0x3bf)],_0x54d955[_0x39000c(0x187)][0x0]);}})));}[_0x26cc89(0x23a)](_0x34d78f){const _0x529769=_0x26cc89;var _0x4a2da9,_0x4ca854;const {memberID:_0x5cfd2d,selection:_0x2dd511}=_0x34d78f[_0x529769(0x22f)],{sheetName:_0x3b1796,range:_0x20a908}=_0x568831[_0x529769(0x33a)](_0x2dd511),_0x58f782={'name':(_0x4ca854=(_0x4a2da9=this[_0x529769(0x2dc)][_0x529769(0x341)](this[_0x529769(0x3be)],_0x5cfd2d))==null?void 0x0:_0x4a2da9[_0x529769(0x194)])!=null?_0x4ca854:_0x529769(0x344),'range':this[_0x529769(0x353)](_0x3b1796,_0x20a908),'sheetID':_0x3b1796,'color':this[_0x529769(0x305)][_0x529769(0x2e2)](_0x5cfd2d),'selection':_0x2dd511},_0x2e48fd=this[_0x529769(0x210)];_0x2e48fd[_0x529769(0x391)](_0x5cfd2d,_0x58f782),this[_0x529769(0x384)][_0x529769(0x2da)](_0x2e48fd);}[_0x26cc89(0x1aa)](_0x1967c1){const _0x2c8e71=_0x26cc89,{memberID:_0x5d60df}=_0x1967c1[_0x2c8e71(0x22f)],_0x5185f3=this[_0x2c8e71(0x210)];_0x5185f3[_0x2c8e71(0x26b)](_0x5d60df),this[_0x2c8e71(0x384)]['next'](_0x5185f3);}['_getMergeRange'](_0x20692e,_0xc88aed){const _0x349937=_0x26cc89;var _0x35a728,_0x1c1b4b;const _0x1b8518=(_0x1c1b4b=(_0x35a728=this[_0x349937(0x3b6)][_0x349937(0x21c)](this[_0x349937(0x3be)]))==null?void 0x0:_0x35a728['getSheetBySheetId'](_0x20692e))==null?void 0x0:_0x1c1b4b[_0x349937(0x289)]();return(_0x1b8518==null?void 0x0:_0x1b8518[_0x349937(0x373)](_0x223ea3=>_0x1c002c[_0x349937(0x205)][_0x349937(0x359)](_0x223ea3,_0xc88aed)))||_0xc88aed;}[_0x26cc89(0x274)](){const _0x2d8a4e=_0x26cc89,_0x2b1705=new _0x1c002c[(_0x2d8a4e(0x1a5))](),_0xaf7293=_0x451e58(),_0x2f0d8e=()=>{const _0x153544=_0x2d8a4e;_0x2b1705[_0x153544(0x203)]();const _0x2cebff=(_0x947f3d,_0x43be1d,_0x14ac3b,_0x510bbf)=>{const _0x50db5c=_0x153544;let _0x3f0430=[];switch(_0x947f3d['id']){case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x270)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x3a8)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)]['DeleteRangeMoveUpCommandId']:{_0x3f0430=_0x2a4acb['handleDeleteRangeMoveUp'](_0x947f3d,_0x510bbf);break;}case _0x2a4acb['EffectRefRangId'][_0x50db5c(0x2ff)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x216)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)]['InsertRangeMoveDownCommandId']:{_0x3f0430=_0x2a4acb['handleInsertRangeMoveDown'](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x3e3)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x313)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb['EffectRefRangId'][_0x50db5c(0x39f)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x22c)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x275)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x33e)](_0x947f3d,_0x510bbf);break;}case _0x2a4acb[_0x50db5c(0x16d)][_0x50db5c(0x36e)]:{_0x3f0430=_0x2a4acb['handleIRemoveCol'](_0x947f3d,_0x510bbf);break;}case _0x2a4acb['EffectRefRangId'][_0x50db5c(0x222)]:{_0x3f0430=_0x2a4acb[_0x50db5c(0x1cd)](_0x947f3d,_0x510bbf);break;}}const _0x36b9d3=_0x2a4acb[_0x50db5c(0x3a9)](_0x3f0430,_0x510bbf),_0xf0688b=this[_0x50db5c(0x210)][_0x50db5c(0x1dd)](_0x43be1d);if(_0xf0688b&&_0x36b9d3){const _0x44ed4a={..._0xf0688b,'range':_0x36b9d3};this['cursorInfo'][_0x50db5c(0x391)](_0x43be1d,_0x44ed4a),_0xaf7293(()=>{const _0x4d0c58=_0x50db5c,_0x3d33fe=this['_refRangeService'][_0x4d0c58(0x15e)](_0x36b9d3,_0x2473c3=>(_0x3d33fe['dispose'](),_0x2cebff(_0x2473c3,_0x43be1d,_0x14ac3b,_0x36b9d3)));_0x2b1705[_0x4d0c58(0x34a)](_0x3d33fe);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x153544(0x36a)]((_0x25ae26,_0x4417b9)=>{const _0x57a0aa=_0x153544,{range:_0x29e287,sheetID:_0x57e281}=_0x25ae26,_0x433f74=this[_0x57a0aa(0x237)]['registerRefRange'](_0x29e287,_0x48da55=>(_0x433f74[_0x57a0aa(0x203)](),_0x2cebff(_0x48da55,_0x4417b9,_0x57e281,_0x29e287)));_0x2b1705[_0x57a0aa(0x34a)](_0x433f74);});};this[_0x2d8a4e(0x2bc)](_0x1c002c[_0x2d8a4e(0x1ed)](this['_cursorInfo$']['subscribe'](()=>{_0x2f0d8e();})));}[_0x26cc89(0x20a)](){const _0x235209=_0x26cc89;var _0x3fa64a,_0x43f613;if(this[_0x235209(0x39b)]=!0x0,((_0x3fa64a=this[_0x235209(0x3b6)]['getFocusedUnit']())==null?void 0x0:_0x3fa64a[_0x235209(0x212)]())!==this[_0x235209(0x3be)])return;const _0x2909bf=(_0x43f613=this['_injector'][_0x235209(0x1dd)](_0x2a4acb[_0x235209(0x25e)])[_0x235209(0x26f)]())==null?void 0x0:_0x43f613[0x0],_0x471217=this[_0x235209(0x3b6)]['getCurrentUnitForType'](_0x1c002c[_0x235209(0x1fa)]['UNIVER_SHEET'])[_0x235209(0x27a)]();_0x2909bf&&_0x471217&&this[_0x235209(0x296)](_0x471217['getSheetId'](),_0x2909bf);}['_toggleOffline'](){const _0x311f37=_0x26cc89;this[_0x311f37(0x39b)]=!0x1;}};_0x439e2b=_0xaff664([_0x8dbe8(0x2,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x8dbe8(0x3,_0x1c002c[_0x26cc89(0x273)](_0x328ed8)),_0x8dbe8(0x4,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x169)])),_0x8dbe8(0x5,_0x1c002c[_0x26cc89(0x32d)]),_0x8dbe8(0x6,_0x1c002c[_0x26cc89(0x20c)]),_0x8dbe8(0x7,_0x1c002c['Inject'](_0x2a4acb[_0x26cc89(0x27d)]))],_0x439e2b);var _0x1ffaad=Object[_0x26cc89(0x252)],_0x1d382f=(_0x4801f2,_0x5b5e44,_0x19c2c8,_0xd652d)=>{const _0x6eb0bf=_0x26cc89;for(var _0x49fb0a=_0xd652d>0x1?void 0x0:_0xd652d?_0x1ffaad(_0x5b5e44,_0x19c2c8):_0x5b5e44,_0x478461=_0x4801f2[_0x6eb0bf(0x17b)]-0x1,_0x8d24f3;_0x478461>=0x0;_0x478461--)(_0x8d24f3=_0x4801f2[_0x478461])&&(_0x49fb0a=_0x8d24f3(_0x49fb0a)||_0x49fb0a);return _0x49fb0a;},_0xbe28ab=(_0x3690a6,_0x300e8e)=>(_0x202d12,_0x3b36d5)=>_0x300e8e(_0x202d12,_0x3b36d5,_0x3690a6);let _0x402205=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x530fd2,_0x1396b7,_0x357fb2){const _0x190778=_0x26cc89;super(),_0xd9b4bc(this,_0x190778(0x2cd),new Map()),_0xd9b4bc(this,_0x190778(0x16a),new _0x4287b5[(_0x190778(0x3ee))]()),(this['_univerInstanceService']=_0x530fd2,this[_0x190778(0x19f)]=_0x1396b7,this[_0x190778(0x199)]=_0x357fb2,this[_0x190778(0x2ee)]());}[_0x26cc89(0x203)](){const _0x92857b=_0x26cc89;super[_0x92857b(0x203)](),this[_0x92857b(0x16a)]['complete'](),this[_0x92857b(0x2cd)][_0x92857b(0x36a)](_0x109f9d=>_0x109f9d[_0x92857b(0x203)]());}[_0x26cc89(0x349)](_0x3e21a8){const _0x132699=_0x26cc89;return this[_0x132699(0x2cd)][_0x132699(0x2fe)](_0x3e21a8)?this[_0x132699(0x2cd)]['get'](_0x3e21a8)[_0x132699(0x250)]:this[_0x132699(0x16a)]['pipe'](_0x4287b5[_0x132699(0x2bb)](_0x57cbf7=>_0x57cbf7[_0x132699(0x3be)]===_0x3e21a8),_0x4287b5[_0x132699(0x20d)](_0x5be9f2=>_0x5be9f2[_0x132699(0x250)]));}[_0x26cc89(0x2ee)](){const _0x20fc8f=_0x26cc89;this[_0x20fc8f(0x3b6)][_0x20fc8f(0x38a)](_0x1c002c[_0x20fc8f(0x1fa)][_0x20fc8f(0x39d)])[_0x20fc8f(0x1b0)](_0x4287b5['takeUntil'](this[_0x20fc8f(0x16e)]))[_0x20fc8f(0x253)](async _0x59042f=>{const _0x37ea48=_0x20fc8f,_0x3c0efc=_0x59042f[_0x37ea48(0x212)](),_0x418696=await this[_0x37ea48(0x3a7)](_0x3c0efc);this[_0x37ea48(0x16a)][_0x37ea48(0x2da)](_0x418696),this['_entities'][_0x37ea48(0x391)](_0x3c0efc,_0x418696);}),this[_0x20fc8f(0x3b6)][_0x20fc8f(0x38a)](_0x1c002c[_0x20fc8f(0x1fa)]['UNIVER_DOC'])[_0x20fc8f(0x1b0)](_0x4287b5[_0x20fc8f(0x342)](this['dispose$']))[_0x20fc8f(0x1b0)](_0x4287b5[_0x20fc8f(0x2bb)](_0x35e892=>!_0x35e892['getUnitId']()[_0x20fc8f(0x3bb)]('__')))[_0x20fc8f(0x253)](async _0x4402d4=>{const _0x127c0f=_0x20fc8f,_0x47312c=_0x4402d4[_0x127c0f(0x212)](),_0x4de8d8=await this['_startDocCollabCursor'](_0x47312c);this['_entityInit$'][_0x127c0f(0x2da)](_0x4de8d8),this[_0x127c0f(0x2cd)][_0x127c0f(0x391)](_0x47312c,_0x4de8d8);}),_0x4287b5[_0x20fc8f(0x375)](this[_0x20fc8f(0x3b6)]['getTypeOfUnitDisposed$'](_0x1c002c[_0x20fc8f(0x1fa)][_0x20fc8f(0x3ec)]),this[_0x20fc8f(0x3b6)]['getTypeOfUnitDisposed$'](_0x1c002c[_0x20fc8f(0x1fa)][_0x20fc8f(0x39d)]))[_0x20fc8f(0x1b0)](_0x4287b5['takeUntil'](this['dispose$']))[_0x20fc8f(0x253)](_0x43e1a1=>{const _0x5c7d0d=_0x20fc8f,_0x46483=_0x43e1a1[_0x5c7d0d(0x212)](),_0x1643c9=this['_entities'][_0x5c7d0d(0x1dd)](_0x46483);_0x1643c9&&(_0x1643c9[_0x5c7d0d(0x203)](),this[_0x5c7d0d(0x2cd)]['delete'](_0x46483));});}async[_0x26cc89(0x3a7)](_0x35207f){const _0x2f62b0=_0x26cc89,_0x35f600=await this[_0x2f62b0(0x199)]['requireSession'](_0x35207f),_0x28648c=this[_0x2f62b0(0x19f)][_0x2f62b0(0x1e8)](_0x439e2b,_0x35207f,_0x35f600);return _0x28648c['init'](),_0x28648c;}async[_0x26cc89(0x3b5)](_0x16f6a0){const _0x42b2c5=_0x26cc89,_0x5db4d6=await this[_0x42b2c5(0x199)][_0x42b2c5(0x3ad)](_0x16f6a0),_0x2a523b=this[_0x42b2c5(0x19f)]['createInstance'](_0x1437b5,_0x16f6a0,_0x5db4d6);return _0x2a523b[_0x42b2c5(0x2fd)](),_0x2a523b;}};_0x402205=_0x1d382f([_0xbe28ab(0x0,_0x1c002c[_0x26cc89(0x32d)]),_0xbe28ab(0x1,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0xbe28ab(0x2,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x20e)]))],_0x402205);const _0x3f14c6=0x14,_0xe8255e=0xc8,_0x386c39=0x4,_0x2ac68f=0x5;function _0x3a6306(_0x51bbe1,_0x5dab90){const _0x1e7af4=_0x26cc89;let {radius:_0xc2684d,width:_0x74c976,height:_0x190e3e}=_0x5dab90;_0xc2684d=_0xc2684d!=null?_0xc2684d:0x0,_0x74c976=_0x74c976!=null?_0x74c976:0x1e,_0x190e3e=_0x190e3e!=null?_0x190e3e:0x1e;let _0x4410f6=0x0,_0x42cdff=0x0,_0x5875cc=0x0;_0x4410f6=_0x42cdff=_0x5875cc=Math[_0x1e7af4(0x2eb)](_0xc2684d,_0x74c976/0x2,_0x190e3e/0x2),_0x51bbe1[_0x1e7af4(0x331)](),_0x51bbe1[_0x1e7af4(0x3fc)](_0x4410f6,0x0),_0x51bbe1[_0x1e7af4(0x402)](_0x74c976-_0x42cdff,0x0),_0x51bbe1[_0x1e7af4(0x315)](_0x74c976-_0x42cdff,_0x42cdff,_0x42cdff,Math['PI']*0x3/0x2,0x0,!0x1),_0x51bbe1['lineTo'](_0x74c976,_0x190e3e-_0x5875cc),_0x51bbe1[_0x1e7af4(0x315)](_0x74c976-_0x5875cc,_0x190e3e-_0x5875cc,_0x5875cc,0x0,Math['PI']/0x2,!0x1),_0x51bbe1['lineTo'](0x0,_0x190e3e),_0x51bbe1[_0x1e7af4(0x402)](0x0,_0x4410f6),_0x51bbe1['arc'](_0x4410f6,_0x4410f6,_0x4410f6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x51bbe1[_0x1e7af4(0x18c)](),_0x5dab90[_0x1e7af4(0x1b2)]&&(_0x51bbe1[_0x1e7af4(0x281)](),_0x51bbe1[_0x1e7af4(0x39a)]=_0x5dab90['fill'],_0x5dab90[_0x1e7af4(0x286)]===_0x1e7af4(0x1ca)?_0x51bbe1[_0x1e7af4(0x1b2)](_0x1e7af4(0x1ca)):_0x51bbe1[_0x1e7af4(0x1b2)](),_0x51bbe1[_0x1e7af4(0x2cf)]());}class _0x260980 extends _0x8f24d8[_0x26cc89(0x3e1)]{constructor(_0x145958,_0x317c50){const _0x1fd537=_0x26cc89;super(_0x145958,_0x317c50),_0xd9b4bc(this,_0x1fd537(0x1ad)),_0xd9b4bc(this,_0x1fd537(0x3a0)),(this[_0x1fd537(0x1ad)]=_0x317c50==null?void 0x0:_0x317c50[_0x1fd537(0x1ad)],this['text']=_0x317c50==null?void 0x0:_0x317c50[_0x1fd537(0x3a0)]);}static[_0x26cc89(0x179)](_0x505d90,_0x453521){const _0x34c1b2=_0x26cc89,{text:_0x52059e,color:_0x2918e7}=_0x453521;_0x505d90['save'](),_0x505d90[_0x34c1b2(0x232)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x30f56a=_0x505d90[_0x34c1b2(0x26d)](_0x52059e)[_0x34c1b2(0x3bc)],_0x57bb88=Math['min'](_0x30f56a+0x2*_0x386c39,_0xe8255e);_0x3a6306(_0x505d90,{'height':_0x3f14c6,'radius':0x4,'width':_0x57bb88,'fill':_0x2918e7}),_0x505d90[_0x34c1b2(0x39a)]=_0x34c1b2(0x2ca);const _0x2ae771=_0x386c39,_0x88306b=_0x3f14c6-_0x2ac68f,_0x11a3ca=_0xe8255e-0x2*_0x386c39;if(_0x30f56a>_0x11a3ca){let _0x25800f='',_0xb69bab=0x0;for(const _0x152035 of _0x52059e){const _0x26f8b1=_0x505d90['measureText'](_0x152035)[_0x34c1b2(0x3bc)];if(_0xb69bab+_0x26f8b1<=_0x11a3ca-_0x505d90[_0x34c1b2(0x26d)](_0x34c1b2(0x160))['width'])_0x25800f+=_0x152035,_0xb69bab+=_0x26f8b1;else{_0x25800f+=_0x34c1b2(0x160);break;}}_0x505d90[_0x34c1b2(0x2de)](_0x25800f,_0x2ae771,_0x88306b);}else _0x505d90[_0x34c1b2(0x2de)](_0x52059e,_0x2ae771,_0x88306b);_0x505d90[_0x34c1b2(0x2cf)]();}['_draw'](_0x1429c5){_0x260980['drawWith'](_0x1429c5,this);}}const _0x55615e=_0x26cc89(0x204),_0x46a9c4=_0x26cc89(0x213),_0x19483a=_0x26cc89(0x2a2),_0x3770be=0x6,_0x44362b=1.5,_0x566e9a=0x4,_0x17b72d=1.5,_0x422437=_0x26cc89(0x268);class _0x44bb85{constructor(_0x10a426,_0x556820,_0x44a903,_0x33edcf){const _0x30f252=_0x26cc89;_0xd9b4bc(this,'_shapes',[]),_0xd9b4bc(this,'_anchor',null),_0xd9b4bc(this,_0x30f252(0x259),null),_0xd9b4bc(this,_0x30f252(0x2e1),null),_0xd9b4bc(this,_0x30f252(0x36d),null),_0xd9b4bc(this,_0x30f252(0x22b),null),(this[_0x30f252(0x256)]=_0x10a426,this[_0x30f252(0x221)]=_0x556820,this['_docSkeleton']=_0x44a903,this['_document']=_0x33edcf,this[_0x30f252(0x2b6)]());}set[_0x26cc89(0x257)](_0x2f048d){const _0x1ac4df=_0x26cc89;_0x2f048d?(this[_0x1ac4df(0x2e1)]&&this[_0x1ac4df(0x2e1)][_0x1ac4df(0x269)](),this[_0x1ac4df(0x259)]&&this['_textBubble'][_0x1ac4df(0x2b8)]()):(this['_anchorDot']&&this[_0x1ac4df(0x2e1)][_0x1ac4df(0x2b8)](),this['_textBubble']&&this[_0x1ac4df(0x259)][_0x1ac4df(0x269)]());}['dispose'](){const _0x1a620f=_0x26cc89;for(const _0x824f80 of this[_0x1a620f(0x295)])_0x824f80[_0x1a620f(0x203)]();this[_0x1a620f(0x259)]&&this[_0x1a620f(0x259)][_0x1a620f(0x203)](),this[_0x1a620f(0x2e1)]&&this[_0x1a620f(0x2e1)][_0x1a620f(0x203)](),this[_0x1a620f(0x3c8)]&&this[_0x1a620f(0x3c8)][_0x1a620f(0x203)](),this[_0x1a620f(0x22b)]&&this[_0x1a620f(0x22b)]();}[_0x26cc89(0x2b6)](){const _0x58de6d=_0x26cc89;var _0x3c90e2;const {_docSkeleton:_0x5d6832,_document:_0x35d4a1}=this,{color:_0xc3eb53,name:_0x20428e,ranges:_0x3e394b}=this[_0x58de6d(0x256)],_0x46fb78=_0x35d4a1[_0x58de6d(0x18b)](),{docsLeft:_0x3b7561,docsTop:_0x33f101}=_0x46fb78,_0x1c5584=new _0x567b9[(_0x58de6d(0x393))](_0x46fb78,_0x5d6832);for(const {startOffset:_0x4ab36a,endOffset:_0x50a257,rangeType:_0x4a5c9b,segmentId:_0x4bd11d,segmentPage:_0x280a4a,collapsed:_0x572640,isActive:_0x59df65}of _0x3e394b){const _0x296e9a=_0x5d6832['findNodePositionByCharIndex'](_0x4ab36a,!0x0,_0x4bd11d,_0x280a4a);let _0x3d37d5=_0x5d6832['findNodePositionByCharIndex'](_0x50a257,!0x0,_0x4bd11d,_0x280a4a);if(_0x3d37d5==null&&(_0x3d37d5=_0x5d6832['findNodePositionByCharIndex'](_0x50a257-0x1,!0x1,_0x4bd11d,_0x280a4a)),_0x59df65){const {contentBoxPointGroup:_0x1dc982}=_0x1c5584[_0x58de6d(0x1f1)](_0x3d37d5,_0x3d37d5);if(_0x1dc982[_0x58de6d(0x17b)]===0x0)continue;this[_0x58de6d(0x369)](_0xc3eb53,_0x1dc982,_0x3b7561,_0x33f101,_0x20428e),this[_0x58de6d(0x22b)]=this['_handleHover']();}if(_0x296e9a&&_0x3d37d5){if(_0x4a5c9b===_0x1c002c[_0x58de6d(0x31e)][_0x58de6d(0x382)]){const _0x2fa6ad=new _0x567b9[(_0x58de6d(0x3c4))](_0x46fb78,_0x5d6832),{pointGroup:_0x4b9ca6}=(_0x3c90e2=_0x2fa6ad[_0x58de6d(0x1f1)](_0x296e9a,_0x3d37d5))!=null?_0x3c90e2:{};if(_0x4b9ca6==null||_0x4b9ca6[_0x58de6d(0x17b)]===0x0)continue;this[_0x58de6d(0x1a9)](_0xc3eb53,_0x4b9ca6,_0x3b7561,_0x33f101);}else{if(!_0x572640){const {borderBoxPointGroup:_0x13f4f2}=_0x1c5584[_0x58de6d(0x1f1)](_0x296e9a,_0x3d37d5);if(_0x13f4f2[_0x58de6d(0x17b)]===0x0)continue;this['_drawTextRange'](_0xc3eb53,_0x13f4f2,_0x3b7561,_0x33f101);}}}}}['_drawAnchor'](_0x367c6b,_0x2d4fc4,_0x4f9135,_0x12001c,_0x2bb0ae){const _0x593979=_0x26cc89,_0x56e1cd=this[_0x593979(0x318)](_0x2d4fc4),{left:_0x40b217,top:_0x18ce31,height:_0x5d0c96}=_0x56e1cd,_0x493a42=this[_0x593979(0x2a9)](),_0x132a95=_0x17b72d/_0x493a42,_0x597cc4=new _0x8f24d8[(_0x593979(0x233))](_0x55615e+_0x1c002c[_0x593979(0x215)]['generateRandomId'](_0x3770be),{'left':_0x40b217+_0x4f9135-_0x132a95,'top':_0x18ce31+_0x12001c,'height':_0x5d0c96,'width':_0x44362b,'fill':_0x367c6b||_0x8f24d8[_0x593979(0x2f6)](_0x1c002c[_0x593979(0x172)][_0x593979(0x346)],0x0),'strokeWidth':_0x132a95,'stroke':_0x422437,'evented':!0x0});this[_0x593979(0x3c8)]=_0x597cc4,this['_scene'][_0x593979(0x3d9)](_0x597cc4,_0x567b9['TEXT_RANGE_LAYER_INDEX']);const _0x144baf=new _0x8f24d8[(_0x593979(0x233))](_0x55615e+_0x1c002c[_0x593979(0x215)][_0x593979(0x2d2)](_0x3770be),{'left':_0x40b217+_0x4f9135-_0x132a95,'top':_0x18ce31+_0x12001c-_0x566e9a/0x2,'height':_0x566e9a,'width':_0x566e9a,'fill':_0x367c6b||_0x8f24d8['getColor'](_0x1c002c['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x367c6b||_0x8f24d8[_0x593979(0x2f6)](_0x1c002c[_0x593979(0x172)][_0x593979(0x346)],0x0),'evented':!0x1});this[_0x593979(0x2e1)]=_0x144baf,this[_0x593979(0x221)]['addObject'](_0x144baf,_0x567b9[_0x593979(0x327)]);const _0x118c00=new _0x260980(_0x55615e+_0x1c002c[_0x593979(0x215)][_0x593979(0x2d2)](_0x3770be),{'left':_0x40b217+_0x4f9135-_0x132a95,'top':_0x18ce31+_0x12001c-_0x3f14c6,'text':_0x2bb0ae,'color':_0x367c6b});this[_0x593979(0x259)]=_0x118c00,this[_0x593979(0x221)][_0x593979(0x3d9)](_0x118c00,_0x567b9[_0x593979(0x327)]),this['_hover']=!0x1;}[_0x26cc89(0x1a1)](){const _0x2ef763=_0x26cc89,_0x50a055=this[_0x2ef763(0x3c8)]['onPointerEnter$'][_0x2ef763(0x355)](()=>{const _0xe821c7=_0x2ef763;this[_0xe821c7(0x257)]=!0x0;}),_0x546934=this[_0x2ef763(0x3c8)]['onPointerLeave$'][_0x2ef763(0x355)](()=>{const _0x28c24a=_0x2ef763;this['_hideTimer']&&clearTimeout(this[_0x28c24a(0x36d)]),this[_0x28c24a(0x36d)]=setTimeout(()=>{const _0x25a65e=_0x28c24a;this[_0x25a65e(0x257)]=!0x1;},0x7d0);});return()=>{const _0x463ff8=_0x2ef763;_0x50a055[_0x463ff8(0x24b)](),_0x546934[_0x463ff8(0x24b)]();};}['_drawTextRange'](_0x42e166,_0x552967,_0x3f35f0,_0x536ab8){const _0x50ef9f=_0x26cc89,_0x599722=new _0x1c002c['ColorKit'](_0x42e166)[_0x50ef9f(0x3c9)](0.2)[_0x50ef9f(0x2ed)](),_0x5d6772=new _0x8f24d8[(_0x50ef9f(0x197))](_0x46a9c4+_0x1c002c[_0x50ef9f(0x215)][_0x50ef9f(0x2d2)](_0x3770be),{'pointsGroup':_0x552967,'fill':_0x599722||_0x8f24d8[_0x50ef9f(0x2f6)](_0x1c002c[_0x50ef9f(0x172)][_0x50ef9f(0x346)],0.2),'left':_0x3f35f0,'top':_0x536ab8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x50ef9f(0x295)]['push'](_0x5d6772),this[_0x50ef9f(0x221)][_0x50ef9f(0x3d9)](_0x5d6772,_0x567b9[_0x50ef9f(0x327)]);}[_0x26cc89(0x1a9)](_0x4890fd,_0x2741ee,_0x2757bb,_0xf6493d){const _0x384cf3=_0x26cc89,_0x527d85=new _0x1c002c[(_0x384cf3(0x3f7))](_0x4890fd)[_0x384cf3(0x3c9)](0.2)[_0x384cf3(0x2ed)](),_0x178cad=new _0x8f24d8[(_0x384cf3(0x197))](_0x19483a+_0x1c002c[_0x384cf3(0x215)][_0x384cf3(0x2d2)](_0x3770be),{'pointsGroup':_0x2741ee,'fill':_0x527d85||_0x8f24d8['getColor'](_0x1c002c['COLORS'][_0x384cf3(0x346)],0.2),'left':_0x2757bb,'top':_0xf6493d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x384cf3(0x1c9)](_0x178cad),this[_0x384cf3(0x221)][_0x384cf3(0x3d9)](_0x178cad,_0x567b9[_0x384cf3(0x327)]);}[_0x26cc89(0x318)](_0x46aff9){const _0x35e352=_0x46aff9[0x0],_0x3155fd=_0x35e352[0x0],_0x317c27=_0x35e352[0x2],{x:_0x214284,y:_0x387ad4}=_0x3155fd,{x:_0x4ee6a7,y:_0x51e7a9}=_0x317c27;return{'left':_0x214284,'top':_0x387ad4,'width':_0x4ee6a7-_0x214284,'height':_0x51e7a9-_0x387ad4};}['_getScale'](){const _0x36fccb=_0x26cc89,{scaleX:_0x3e9566,scaleY:_0x5a5a81}=this[_0x36fccb(0x221)]['getAncestorScale']();return Math[_0x36fccb(0x3dd)](_0x3e9566,_0x5a5a81);}}var _0x309487=Object['getOwnPropertyDescriptor'],_0x35a786=(_0x432f9f,_0xfa709b,_0x4e82d8,_0x4cbd3a)=>{for(var _0x420e9f=_0x4cbd3a>0x1?void 0x0:_0x4cbd3a?_0x309487(_0xfa709b,_0x4e82d8):_0xfa709b,_0x4ed9ab=_0x432f9f['length']-0x1,_0x3bbc8f;_0x4ed9ab>=0x0;_0x4ed9ab--)(_0x3bbc8f=_0x432f9f[_0x4ed9ab])&&(_0x420e9f=_0x3bbc8f(_0x420e9f)||_0x420e9f);return _0x420e9f;},_0xab5090=(_0x5a6773,_0x15d570)=>(_0x272262,_0x422735)=>_0x15d570(_0x272262,_0x422735,_0x5a6773);let _0x1b4ad8=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x1e7243,_0xd47d09,_0x636fb7,_0x30b4f6,_0x243671){const _0x479884=_0x26cc89;super(),_0xd9b4bc(this,_0x479884(0x329),[]),_0xd9b4bc(this,_0x479884(0x26c),[]),(this[_0x479884(0x1e3)]=_0x1e7243,this[_0x479884(0x1d2)]=_0xd47d09,this[_0x479884(0x383)]=_0x636fb7,this['_commandService']=_0x30b4f6,this[_0x479884(0x366)]=_0x243671,this[_0x479884(0x2ee)]());}[_0x26cc89(0x2ee)](){const _0x188df2=_0x26cc89,_0x4aa8f8=this[_0x188df2(0x1e3)][_0x188df2(0x235)],_0x4b70be=this[_0x188df2(0x1d2)];this[_0x188df2(0x2bc)](_0x4287b5[_0x188df2(0x3b4)]([this[_0x188df2(0x383)][_0x188df2(0x349)](_0x4aa8f8),this[_0x188df2(0x366)]['currentTheme$']])[_0x188df2(0x1b0)](_0x5d572c[_0x188df2(0x293)](([_0x26156c,_0x5618a1])=>({'skeleton':_0x4b70be[_0x188df2(0x16f)](),'cursors':[..._0x26156c[_0x188df2(0x248)]()]['flatMap'](_0x2ca973=>({..._0x2ca973,'color':this['_themeService']['getColorFromTheme'](_0x2ca973['color'])}))})))[_0x188df2(0x253)](_0x33eb72=>{const _0x365eb8=_0x188df2;if(this[_0x365eb8(0x3d7)](),_0x33eb72){const {skeleton:_0x2e33b5,cursors:_0x1309e6}=_0x33eb72;this[_0x365eb8(0x1ba)](_0x2e33b5,_0x1309e6);}})),this[_0x188df2(0x1f9)](),this[_0x188df2(0x1f4)]();}[_0x26cc89(0x1ba)](_0x36a6bf,_0x289843){const _0x1dadfb=_0x26cc89,{scene:_0x53fa4d,mainComponent:_0x4206ef}=this[_0x1dadfb(0x1e3)],_0x26e2c2=_0x289843[_0x1dadfb(0x293)](_0x14c0c2=>new _0x44bb85(_0x14c0c2,_0x53fa4d,_0x36a6bf,_0x4206ef));this['_cursorShapes']=_0x26e2c2,this[_0x1dadfb(0x26c)]=_0x289843;}[_0x26cc89(0x2c3)](){const _0x14188c=_0x26cc89;this['_removeCollabCursors']();const {scene:_0xfd5581,mainComponent:_0x3d341f}=this[_0x14188c(0x1e3)],_0x1a990e=this[_0x14188c(0x1d2)]['getSkeleton'](),_0x8092a7=this[_0x14188c(0x26c)][_0x14188c(0x293)](_0x12c919=>new _0x44bb85(_0x12c919,_0xfd5581,_0x1a990e,_0x3d341f));this[_0x14188c(0x329)]=_0x8092a7;}[_0x26cc89(0x3d7)](){const _0x22bc22=_0x26cc89;this['_cursorShapes'][_0x22bc22(0x36a)](_0x470462=>_0x470462['dispose']()),this[_0x22bc22(0x329)]=[];}['_initCommandExecutedListener'](){const _0x484fbe=_0x26cc89,_0x2c5bbe=[_0x567b9[_0x484fbe(0x228)]['id']];this[_0x484fbe(0x2bc)](this[_0x484fbe(0x2c1)][_0x484fbe(0x227)](_0x47af2e=>{const _0x3ae6d1=_0x484fbe;_0x2c5bbe['includes'](_0x47af2e['id'])&&_0x47af2e[_0x3ae6d1(0x3b2)][_0x3ae6d1(0x235)]===this['_context'][_0x3ae6d1(0x235)]&&this['_refreshCollabCursors']();}));}[_0x26cc89(0x1f9)](){const _0x5c133a=_0x26cc89;this['disposeWithMe'](_0x1c002c[_0x5c133a(0x37e)](this[_0x5c133a(0x1e3)][_0x5c133a(0x3ce)][_0x5c133a(0x3f3)])[_0x5c133a(0x1b0)](_0x5d572c[_0x5c133a(0x2bb)](_0x5bd779=>_0x5bd779[_0x5c133a(0x1ee)]===_0x8f24d8[_0x5c133a(0x27f)]['resize']),_0x5d572c['throttleTime'](0x10))[_0x5c133a(0x253)](()=>{const _0x521c1d=_0x5c133a;this[_0x521c1d(0x2c3)]();}));}};_0x1b4ad8=_0x35a786([_0xab5090(0x1,_0x1c002c[_0x26cc89(0x273)](_0x1100fd['DocSkeletonManagerService'])),_0xab5090(0x2,_0x1c002c[_0x26cc89(0x273)](_0x402205)),_0xab5090(0x3,_0x1c002c[_0x26cc89(0x20c)]),_0xab5090(0x4,_0x1c002c['Inject'](_0x1c002c[_0x26cc89(0x39e)]))],_0x1b4ad8);const _0x467d3d=0x1,_0x4999e9=1.5;class _0x9aba2b extends _0x8f24d8['Shape']{constructor(_0x4ecce1,_0x1bbb03){const _0x19fea4=_0x26cc89;super(_0x4ecce1,_0x1bbb03),_0xd9b4bc(this,_0x19fea4(0x2bf)),_0xd9b4bc(this,_0x19fea4(0x2f3),!0x1),_0xd9b4bc(this,_0x19fea4(0x1b3)),_0xd9b4bc(this,_0x19fea4(0x340),''),_0xd9b4bc(this,_0x19fea4(0x17a),_0x19fea4(0x278)),_0xd9b4bc(this,_0x19fea4(0x3df)),(_0x1bbb03&&this['setShapeProps'](_0x1bbb03),this[_0x19fea4(0x25f)]['subscribeEvent'](()=>this[_0x19fea4(0x3ba)]({'hovered':!0x0})),this['onPointerLeave$'][_0x19fea4(0x355)](()=>this[_0x19fea4(0x3ba)]({'hovered':!0x1})));}[_0x26cc89(0x3ba)](_0x18f386){const _0x13a4ae=_0x26cc89;var _0x1560d1,_0x3caba5,_0x6b213e,_0x287667,_0x3edd86,_0x211921;this[_0x13a4ae(0x2bf)]=(_0x1560d1=_0x18f386['color'])!=null?_0x1560d1:this[_0x13a4ae(0x2bf)],this[_0x13a4ae(0x2f3)]=(_0x3caba5=_0x18f386[_0x13a4ae(0x29e)])!=null?_0x3caba5:this[_0x13a4ae(0x2f3)],this['_range']=(_0x6b213e=_0x18f386[_0x13a4ae(0x28d)])!=null?_0x6b213e:this[_0x13a4ae(0x1b3)],this['_name']=(_0x287667=_0x18f386[_0x13a4ae(0x194)])!=null?_0x287667:this[_0x13a4ae(0x340)],this[_0x13a4ae(0x17a)]=(_0x3edd86=_0x18f386[_0x13a4ae(0x1fe)])!=null?_0x3edd86:this[_0x13a4ae(0x17a)],this['_backgroundColor']=(_0x211921=_0x18f386[_0x13a4ae(0x3c5)])!=null?_0x211921:this[_0x13a4ae(0x3df)],this[_0x13a4ae(0x1d9)]({'width':_0x18f386['width'],'height':_0x18f386[_0x13a4ae(0x2ce)]});}['onMouseMove'](_0x28ad80){const _0x45f139=_0x26cc89,{row:_0x8d51af,column:_0x15fa6e}=_0x28ad80;if(_0x8d51af>=this[_0x45f139(0x1b3)]['startRow']&&_0x8d51af<=this['_range'][_0x45f139(0x380)]&&_0x15fa6e>=this[_0x45f139(0x1b3)][_0x45f139(0x23b)]&&_0x15fa6e<=this[_0x45f139(0x1b3)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x45f139(0x3ba)]({'hovered':!0x1});}['triggerDblclick'](_0x636c1a){return!0x1;}[_0x26cc89(0x208)](_0x2b485c){const _0x39f8ef=_0x26cc89;_0x8f24d8[_0x39f8ef(0x233)][_0x39f8ef(0x179)](_0x2b485c,{'width':this[_0x39f8ef(0x3bc)],'height':this[_0x39f8ef(0x2ce)],'strokeWidth':_0x4999e9,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x39f8ef(0x3df)]}),this[_0x39f8ef(0x2f3)]&&(_0x2b485c[_0x39f8ef(0x281)](),_0x2b485c[_0x39f8ef(0x363)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x39f8ef(0x3e6)?0x0:-0x14),_0x260980[_0x39f8ef(0x179)](_0x2b485c,{'text':this['_name'],'color':this[_0x39f8ef(0x2bf)]}),_0x2b485c[_0x39f8ef(0x2cf)]());}}var _0x11b25e=Object[_0x26cc89(0x252)],_0x383d16=(_0x11b415,_0x20c4f3,_0x3cde1b,_0x3c47db)=>{for(var _0x55fe78=_0x3c47db>0x1?void 0x0:_0x3c47db?_0x11b25e(_0x20c4f3,_0x3cde1b):_0x20c4f3,_0x27b758=_0x11b415['length']-0x1,_0x537c74;_0x27b758>=0x0;_0x27b758--)(_0x537c74=_0x11b415[_0x27b758])&&(_0x55fe78=_0x537c74(_0x55fe78)||_0x55fe78);return _0x55fe78;},_0x2b528a=(_0x4c13f9,_0x4dfa83)=>(_0x5f3df9,_0x431060)=>_0x4dfa83(_0x5f3df9,_0x431060,_0x4c13f9);const _0x1d6759=0x1389;let _0x27c244=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x12f730,_0x3c3d80,_0x12e724,_0x37fba7){const _0x56ee77=_0x26cc89;super(),_0xd9b4bc(this,_0x56ee77(0x26c),new Set()),_0xd9b4bc(this,_0x56ee77(0x186),null),(this[_0x56ee77(0x1e3)]=_0x12f730,this['_sheetSkeletonManagerService']=_0x3c3d80,this['_collabCursorController']=_0x12e724,this[_0x56ee77(0x366)]=_0x37fba7,this[_0x56ee77(0x2ee)]());}[_0x26cc89(0x2ee)](){const _0x1cf4e5=_0x26cc89;this[_0x1cf4e5(0x333)][_0x1cf4e5(0x1d6)][_0x1cf4e5(0x1b0)](_0x5d572c[_0x1cf4e5(0x342)](this[_0x1cf4e5(0x16e)]),_0x5d572c[_0x1cf4e5(0x20d)](_0x888102=>{const _0x47c653=_0x1cf4e5;if(_0x888102){const _0x39af73=_0x888102[_0x47c653(0x316)];return _0x4287b5[_0x47c653(0x3b4)](this[_0x47c653(0x383)][_0x47c653(0x349)](this[_0x47c653(0x1e3)][_0x47c653(0x235)]),this[_0x47c653(0x366)][_0x47c653(0x1d7)])[_0x47c653(0x1b0)](_0x5d572c[_0x47c653(0x293)](([_0x2f88a0,_0x541194])=>{const _0x5d17db=_0x47c653,_0x3d6bfc=new Map();return _0x2f88a0[_0x5d17db(0x36a)]((_0x3c2da1,_0x236f37)=>{const _0x4344a7=_0x5d17db;if(_0x3c2da1['sheetID']===_0x39af73){const _0x9285de={..._0x3c2da1};_0x9285de[_0x4344a7(0x1ad)]=this[_0x4344a7(0x366)][_0x4344a7(0x2a5)](_0x3c2da1[_0x4344a7(0x1ad)]),_0x3d6bfc[_0x4344a7(0x391)](_0x236f37,_0x9285de);}}),{'skeleton':_0x888102,'cursors':_0x3d6bfc};}));}return _0x4287b5['of']({'skeleton':null,'cursors':new Map()});}))[_0x1cf4e5(0x253)](({skeleton:_0x27ef8e,cursors:_0x209296})=>{const _0x8ec27e=_0x1cf4e5;this[_0x8ec27e(0x3d7)](),_0x27ef8e&&this[_0x8ec27e(0x1ba)](_0x27ef8e,_0x209296);}),this[_0x1cf4e5(0x333)][_0x1cf4e5(0x1d6)][_0x1cf4e5(0x253)](_0x201e41=>{const _0x3ba223=_0x1cf4e5;if(_0x201e41==null)return;const {skeleton:_0x501616}=_0x201e41,{scene:_0x53a0c8}=this[_0x3ba223(0x1e3)];_0x53a0c8[_0x3ba223(0x2d1)][_0x3ba223(0x355)](_0x1c002c['debounce'](_0x4c5662=>{const _0x3d0578=_0x3ba223;var _0x2f1bfd,_0x4cbe45;const {offsetX:_0xcaf66c,offsetY:_0x265c3e}=_0x4c5662,{x:_0x55783a,y:_0x2f68f1}=_0x53a0c8[_0x3d0578(0x1ab)](_0x8f24d8[_0x3d0578(0x37a)]['FromArray']([_0xcaf66c,_0x265c3e])),{scaleX:_0x4b93b7,scaleY:_0x565543}=_0x53a0c8[_0x3d0578(0x2be)](),_0x2eb9b3=_0x53a0c8[_0x3d0578(0x3da)](_0x8f24d8[_0x3d0578(0x29a)][_0x3d0578(0x33b)]),_0x11f3b0=_0x53a0c8[_0x3d0578(0x214)](_0x8f24d8[_0x3d0578(0x37a)][_0x3d0578(0x272)]([_0x55783a,_0x2f68f1]),_0x2eb9b3),_0x10cb12=_0x501616[_0x3d0578(0x2ab)](_0xcaf66c,_0x265c3e,_0x4b93b7,_0x565543,_0x11f3b0);((_0x2f1bfd=this[_0x3d0578(0x186)])==null?void 0x0:_0x2f1bfd[_0x3d0578(0x360)])===_0x10cb12['column']&&((_0x4cbe45=this[_0x3d0578(0x186)])==null?void 0x0:_0x4cbe45['row'])===_0x10cb12[_0x3d0578(0x29f)]||this[_0x3d0578(0x26c)]['forEach'](_0xc34836=>{const _0x15298f=_0x3d0578;_0xc34836[_0x15298f(0x302)](_0x10cb12);});},0x64));});}[_0x26cc89(0x1ba)](_0x52cb9c,_0x2a947e){const _0x28c371=_0x26cc89;var _0x43082a;const _0x584432=(_0x43082a=this[_0x28c371(0x333)][_0x28c371(0x189)]())==null?void 0x0:_0x43082a[_0x28c371(0x3fd)];if(!_0x584432)return;const _0x5dbabb=this['_getSheetObject']();if(!_0x5dbabb)return;this[_0x28c371(0x26c)][_0x28c371(0x36a)](_0x386131=>{_0x386131['makeDirty']();});const {scene:_0x2dac73}=_0x5dbabb,_0x16e7a8=_0x4ff3b5(Array[_0x28c371(0x3de)](_0x2a947e['values']()))[_0x28c371(0x293)](_0x5a42cc=>{const _0x584155=_0x28c371,{color:_0xb6e1b9,range:_0x3fc14c,name:_0x3598af,selection:_0x549927,sheetID:_0x3bef36}=_0x5a42cc,{startColumn:_0xcd56a2,startRow:_0x2f63dd,endColumn:_0x23c3f1,endRow:_0x328b21}=_0x3fc14c,_0x3166d3=_0x17d02e['getCoordByCell'](_0x2f63dd,_0xcd56a2,_0x2dac73,_0x584432),_0x47bddd=_0x17d02e[_0x584155(0x251)](_0x328b21,_0x23c3f1,_0x2dac73,_0x584432),{columnHeaderHeightAndMarginTop:_0x162df8}=_0x584432,{startX:_0x21e903,startY:_0x57fca4}=_0x3166d3,{endX:_0xb39068,endY:_0x3b0db1}=_0x47bddd,_0x4d6bd2=_0xb39068-_0x21e903,_0x5646a1=_0x3b0db1-_0x57fca4,_0x276e98={'labelPosition':_0x57fca4-_0x162df8>=_0x3f14c6?_0x584155(0x278):_0x584155(0x3e6),'sheetID':_0x3bef36,'range':_0x3fc14c,'color':_0xb6e1b9,'name':_0x3598af,'selection':_0x549927,'left':_0x21e903,'top':_0x57fca4,'width':_0x4d6bd2,'height':_0x5646a1,'evented':!0x1,'zIndex':_0x1d6759};return new _0x9aba2b(_0x3598af,_0x276e98);});_0x2dac73[_0x28c371(0x1ef)](_0x16e7a8,_0x467d3d),this[_0x28c371(0x26c)]=new Set(_0x16e7a8);}[_0x26cc89(0x3d7)](){const _0x4092ac=_0x26cc89;var _0x33a388;(_0x33a388=this[_0x4092ac(0x26c)])==null||_0x33a388[_0x4092ac(0x36a)](_0x45517f=>_0x45517f[_0x4092ac(0x203)]());}[_0x26cc89(0x35b)](){const _0x38d92a=_0x26cc89;return _0x17d02e[_0x38d92a(0x2d3)](this[_0x38d92a(0x1e3)][_0x38d92a(0x3c0)],this[_0x38d92a(0x1e3)]);}};_0x27c244=_0x383d16([_0x2b528a(0x1,_0x1c002c[_0x26cc89(0x273)](_0x17d02e[_0x26cc89(0x292)])),_0x2b528a(0x2,_0x1c002c['Inject'](_0x402205)),_0x2b528a(0x3,_0x1c002c['Inject'](_0x1c002c[_0x26cc89(0x39e)]))],_0x27c244);function _0x4ff3b5(_0x19057a){const _0x566d8f=_0x26cc89,_0x539697=new Map();return _0x19057a[_0x566d8f(0x36a)](_0x4eeed5=>{const _0x42f10d=_0x566d8f;if(_0x539697['has'](_0x4eeed5['selection'])){const _0x33806b=_0x539697[_0x42f10d(0x1dd)](_0x4eeed5[_0x42f10d(0x288)]);_0x33806b[_0x42f10d(0x194)]+=',\x20'+_0x4eeed5[_0x42f10d(0x194)];}else _0x539697['set'](_0x4eeed5[_0x42f10d(0x288)],_0x4eeed5);}),Array[_0x566d8f(0x3de)](_0x539697['values']());}var _0xb63cf8=function(){const _0x490efd=_0x26cc89;return _0xb63cf8=Object['assign']||function(_0x4e64d3){const _0x52cfdf=_0x30a1;for(var _0x77a540,_0x559f9d=0x1,_0x1b1925=arguments[_0x52cfdf(0x17b)];_0x559f9d<_0x1b1925;_0x559f9d++){_0x77a540=arguments[_0x559f9d];for(var _0x4f2f7b in _0x77a540)Object[_0x52cfdf(0x196)][_0x52cfdf(0x2c5)]['call'](_0x77a540,_0x4f2f7b)&&(_0x4e64d3[_0x4f2f7b]=_0x77a540[_0x4f2f7b]);}return _0x4e64d3;},_0xb63cf8[_0x490efd(0x1a4)](this,arguments);},_0x381d59=function(_0x595da7,_0x1ccdb7){const _0x473aa1=_0x26cc89;var _0x12f11e={};for(var _0xdc44e6 in _0x595da7)Object[_0x473aa1(0x196)][_0x473aa1(0x2c5)]['call'](_0x595da7,_0xdc44e6)&&_0x1ccdb7[_0x473aa1(0x2f2)](_0xdc44e6)<0x0&&(_0x12f11e[_0xdc44e6]=_0x595da7[_0xdc44e6]);if(_0x595da7!=null&&typeof Object[_0x473aa1(0x3d8)]==_0x473aa1(0x3a6)){for(var _0x48799e=0x0,_0xdc44e6=Object[_0x473aa1(0x3d8)](_0x595da7);_0x48799e<_0xdc44e6[_0x473aa1(0x17b)];_0x48799e++)_0x1ccdb7['indexOf'](_0xdc44e6[_0x48799e])<0x0&&Object[_0x473aa1(0x196)][_0x473aa1(0x2fb)][_0x473aa1(0x1e0)](_0x595da7,_0xdc44e6[_0x48799e])&&(_0x12f11e[_0xdc44e6[_0x48799e]]=_0x595da7[_0xdc44e6[_0x48799e]]);}return _0x12f11e;},_0x4d32d7=_0x59786a[_0x26cc89(0x348)](function(_0xbe1cb3,_0x552d16){const _0x32da62=_0x26cc89;var _0x5ab789=_0xbe1cb3[_0x32da62(0x218)],_0x1be41b=_0xbe1cb3['id'],_0x562228=_0xbe1cb3[_0x32da62(0x176)],_0x3b2625=_0xbe1cb3[_0x32da62(0x2e4)],_0x504369=_0x381d59(_0xbe1cb3,['icon','id',_0x32da62(0x176),_0x32da62(0x2e4)]),_0x533802=_0x32da62(0x3dc)[_0x32da62(0x22e)](_0x1be41b,'\x20')['concat'](_0x562228||'')[_0x32da62(0x241)](),_0x543897=_0x59786a['useRef']('_'[_0x32da62(0x22e)](_0x5d3653()));return _0x3a7276(_0x5ab789,''[_0x32da62(0x22e)](_0x1be41b),{'defIds':_0x5ab789[_0x32da62(0x371)],'idSuffix':_0x543897[_0x32da62(0x247)]},_0xb63cf8({'ref':_0x552d16,'className':_0x533802},_0x504369),_0x3b2625);});function _0x3a7276(_0x497b38,_0x3d555f,_0x19e8d8,_0x46ef90,_0xd13b0e){const _0x289d0f=_0x26cc89;return _0x59786a[_0x289d0f(0x245)](_0x497b38['tag'],_0xb63cf8(_0xb63cf8({'key':_0x3d555f},_0x5940ad(_0x497b38,_0x19e8d8,_0xd13b0e)),_0x46ef90),(_0x26d7cc(_0x497b38,_0x19e8d8)[_0x289d0f(0x1c4)]||[])['map'](function(_0x3b1e9f,_0x69f2a9){const _0x5e0314=_0x289d0f;return _0x3a7276(_0x3b1e9f,''[_0x5e0314(0x22e)](_0x3d555f,'-')[_0x5e0314(0x22e)](_0x497b38['tag'],'-')['concat'](_0x69f2a9),_0x19e8d8,void 0x0,_0xd13b0e);}));}function _0x5940ad(_0x347695,_0x1bc2e3,_0xf58855){const _0x122c75=_0x26cc89;var _0x140643=_0xb63cf8({},_0x347695[_0x122c75(0x23e)]);_0xf58855!=null&&_0xf58855[_0x122c75(0x1bd)]&&_0x140643[_0x122c75(0x1b2)]===_0x122c75(0x1bd)&&(_0x140643[_0x122c75(0x1b2)]=_0xf58855[_0x122c75(0x1bd)]),_0x347695[_0x122c75(0x3b8)]===_0x122c75(0x3f0)&&_0x140643['id']&&(_0x140643['id']=_0x140643['id']+_0x1bc2e3[_0x122c75(0x223)]),Object[_0x122c75(0x1c8)](_0x140643)[_0x122c75(0x36a)](function(_0x2a3ca4){const _0x5bf69e=_0x122c75;var _0xad6ea3=_0x2a3ca4[0x0],_0x14daa6=_0x2a3ca4[0x1];_0xad6ea3===_0x5bf69e(0x3f0)&&typeof _0x14daa6==_0x5bf69e(0x401)&&(_0x140643[_0xad6ea3]=_0x14daa6['replace'](/url\(#(.*)\)/,_0x5bf69e(0x308)['concat'](_0x1bc2e3[_0x5bf69e(0x223)],')')));});var _0x1a6ad0=_0x1bc2e3[_0x122c75(0x371)];return!_0x1a6ad0||_0x1a6ad0[_0x122c75(0x17b)]===0x0||(_0x347695[_0x122c75(0x3b8)]===_0x122c75(0x2b0)&&_0x140643['xlink:href']&&(_0x140643[_0x122c75(0x399)]=_0x140643[_0x122c75(0x399)]+_0x1bc2e3[_0x122c75(0x223)]),Object['entries'](_0x140643)['forEach'](function(_0x45eab7){const _0x4d2642=_0x122c75;var _0x15f71f=_0x45eab7[0x0],_0x1a9daa=_0x45eab7[0x1];typeof _0x1a9daa==_0x4d2642(0x401)&&(_0x140643[_0x15f71f]=_0x1a9daa[_0x4d2642(0x265)](/url\(#(.*)\)/,_0x4d2642(0x308)[_0x4d2642(0x22e)](_0x1bc2e3[_0x4d2642(0x223)],')')));})),_0x140643;}function _0x26d7cc(_0x4af6da,_0x4a29d0){const _0x2d4c32=_0x26cc89;var _0x5a372a,_0x482caf=_0x4a29d0['defIds'];return!_0x482caf||_0x482caf[_0x2d4c32(0x17b)]===0x0?_0x4af6da:_0x4af6da[_0x2d4c32(0x3b8)]===_0x2d4c32(0x392)&&(!((_0x5a372a=_0x4af6da[_0x2d4c32(0x1c4)])===null||_0x5a372a===void 0x0)&&_0x5a372a[_0x2d4c32(0x17b)])?_0xb63cf8(_0xb63cf8({},_0x4af6da),{'children':_0x4af6da[_0x2d4c32(0x1c4)][_0x2d4c32(0x293)](function(_0x1a0f32){const _0x592743=_0x2d4c32;return typeof _0x1a0f32[_0x592743(0x23e)]['id']=='string'&&_0x482caf&&_0x482caf[_0x592743(0x2f2)](_0x1a0f32['attrs']['id'])>-0x1?_0xb63cf8(_0xb63cf8({},_0x1a0f32),{'attrs':_0xb63cf8(_0xb63cf8({},_0x1a0f32[_0x592743(0x23e)]),{'id':_0x1a0f32[_0x592743(0x23e)]['id']+_0x4a29d0[_0x592743(0x223)]})}):_0x1a0f32;})}):_0x4af6da;}function _0x5d3653(){const _0x32f980=_0x26cc89;return Math[_0x32f980(0x209)]()['toString'](0x24)[_0x32f980(0x31f)](0x2,0x8);}_0x4d32d7[_0x26cc89(0x3e0)]=_0x26cc89(0x1d8);var _0x42a84d={'tag':_0x26cc89(0x219),'attrs':{'fill':_0x26cc89(0x2e5),'viewBox':_0x26cc89(0x2af),'width':_0x26cc89(0x182),'height':_0x26cc89(0x182)},'children':[{'tag':'g','attrs':{'clipPath':_0x26cc89(0x351)},'children':[{'tag':_0x26cc89(0x3cc),'attrs':{'stroke':_0x26cc89(0x35e),'d':_0x26cc89(0x386),'strokeLinecap':'round','strokeLinejoin':_0x26cc89(0x2b1),'strokeWidth':1.2}}]},{'tag':_0x26cc89(0x392),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x26cc89(0x28b)},'children':[{'tag':_0x26cc89(0x3cc),'attrs':{'fill':_0x26cc89(0x335),'d':_0x26cc89(0x26a)}}]}]}],'defIds':[_0x26cc89(0x28b)]},_0x3a4d52=_0x59786a[_0x26cc89(0x348)](function(_0x5578e1,_0x2c9057){const _0x34f4dd=_0x26cc89;return _0x59786a[_0x34f4dd(0x245)](_0x4d32d7,Object[_0x34f4dd(0x35f)]({},_0x5578e1,{'id':'off-line-single','ref':_0x2c9057,'icon':_0x42a84d}));});_0x3a4d52[_0x26cc89(0x3e0)]=_0x26cc89(0x1b7);var _0x4a7a26={'tag':_0x26cc89(0x219),'attrs':{'fill':_0x26cc89(0x2e5),'viewBox':_0x26cc89(0x3bd),'width':_0x26cc89(0x182),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x26cc89(0x3d1),'strokeLinecap':_0x26cc89(0x2b1),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x26cc89(0x392),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x26cc89(0x3cc),'attrs':{'fill':_0x26cc89(0x335),'d':_0x26cc89(0x26a),'transform':_0x26cc89(0x3cd)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x233584=_0x59786a[_0x26cc89(0x348)](function(_0x20aa43,_0x7a5a35){const _0x4f8ef3=_0x26cc89;return _0x59786a[_0x4f8ef3(0x245)](_0x4d32d7,Object['assign']({},_0x20aa43,{'id':_0x4f8ef3(0x167),'ref':_0x7a5a35,'icon':_0x4a7a26}));});_0x233584['displayName']=_0x26cc89(0x261);function _0x2fd794(_0x1b46e3){const _0x195610=_0x26cc89;switch(_0x1b46e3){case _0x827ff8['CollaborationStatus'][_0x195610(0x324)]:return _0x195610(0x3d4);case _0x827ff8[_0x195610(0x287)][_0x195610(0x34c)]:return'collabStatus.conflict';case _0x827ff8[_0x195610(0x287)][_0x195610(0x174)]:return'collabStatus.fetchMiss';case _0x827ff8[_0x195610(0x287)][_0x195610(0x1d0)]:return _0x195610(0x1db);case _0x827ff8['CollaborationStatus']['AWAITING']:case _0x827ff8['CollaborationStatus'][_0x195610(0x27c)]:return _0x195610(0x1c2);case _0x827ff8[_0x195610(0x287)][_0x195610(0x1eb)]:case _0x827ff8[_0x195610(0x287)][_0x195610(0x35c)]:return _0x195610(0x3c6);}}function _0x725819(_0x2be9ed){const _0x4d6174=_0x26cc89,{status$:_0x16358d}=_0x2be9ed,_0x5f0cf1=_0x1c1408['useObservable'](_0x16358d,_0x827ff8[_0x4d6174(0x287)]['NOT_COLLAB']),_0x3aeb52=_0x1c1408['useDependency'](_0x1c002c[_0x4d6174(0x29d)]),_0x510736=_0x1c1408[_0x4d6174(0x3e9)](_0x827ff8[_0x4d6174(0x20e)]),_0x3b566f=_0x5f0cf1!==_0x827ff8[_0x4d6174(0x287)]['OFFLINE'],_0x288643=_0x3aeb52['t'](_0x2fd794(_0x5f0cf1)),_0x59f0cb=_0x3b566f?_0x3c107a['jsx'](_0x233584,{}):_0x3c107a[_0x4d6174(0x3f9)](_0x3a4d52,{}),_0xe6fc1c=_0x59786a[_0x4d6174(0x1f8)](()=>{const _0x45c8dc=_0x4d6174;_0x3b566f||_0x510736[_0x45c8dc(0x1bb)]();},[_0x3b566f,_0x510736]);function _0x1ff40e(){const _0x4af878=_0x4d6174;return _0x3c107a['jsxs'](_0x4af878(0x2c2),{'className':'univer-flex\x20univer-items-center','onClick':_0xe6fc1c,'children':[_0x3c107a['jsx'](_0x4af878(0x2c2),{'className':_0x29c2d3[_0x4af878(0x15f)](_0x4af878(0x25b),{'univer-text-green-500':_0x3b566f,'univer-text-red-500':!_0x3b566f}),'children':_0x59f0cb}),_0x3c107a[_0x4af878(0x3f9)](_0x4af878(0x2c2),{'className':_0x4af878(0x27b),'children':_0x288643})]});}return _0x3b566f?_0x1ff40e():_0x3c107a[_0x4d6174(0x3f9)](_0x29c2d3['Tooltip'],{'title':_0x3aeb52['t'](_0x4d6174(0x1e9)),'children':_0x1ff40e()});}var _0x1697b3=Object[_0x26cc89(0x252)],_0x59869=(_0xc0a6e0,_0x3f2fcd,_0x53820c,_0x27b689)=>{const _0x16e074=_0x26cc89;for(var _0x529a06=_0x27b689>0x1?void 0x0:_0x27b689?_0x1697b3(_0x3f2fcd,_0x53820c):_0x3f2fcd,_0xbc8d67=_0xc0a6e0[_0x16e074(0x17b)]-0x1,_0xb9ebb4;_0xbc8d67>=0x0;_0xbc8d67--)(_0xb9ebb4=_0xc0a6e0[_0xbc8d67])&&(_0x529a06=_0xb9ebb4(_0x529a06)||_0x529a06);return _0x529a06;},_0x1d08ab=(_0x57c08b,_0xfa4065)=>(_0x319ad1,_0x4f9210)=>_0xfa4065(_0x319ad1,_0x4f9210,_0x57c08b);_0x3dc1b0[_0x26cc89(0x16b)]=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x12fef9,_0x4eda3e,_0x49ab22,_0x5b879b){const _0x506c98=_0x26cc89;super(),_0xd9b4bc(this,'_status$',new _0x4287b5['BehaviorSubject'](_0x827ff8[_0x506c98(0x287)][_0x506c98(0x1d0)])),(this[_0x506c98(0x3b6)]=_0x12fef9,this[_0x506c98(0x19f)]=_0x4eda3e,this[_0x506c98(0x21a)]=_0x49ab22,this['_uiPartsService']=_0x5b879b,this['_initStatusComponent'](),this[_0x506c98(0x31b)]());}[_0x26cc89(0x31b)](){const _0x1306c7=_0x26cc89;this['disposeWithMe'](this[_0x1306c7(0x3b6)]['focused$'][_0x1306c7(0x1b0)](_0x4287b5['switchMap'](()=>{const _0x567f31=_0x1306c7,_0x1c30ab=this[_0x567f31(0x3b6)][_0x567f31(0x309)]();return _0x1c30ab?this[_0x567f31(0x21a)]['getCollabEntity$'](_0x1c30ab[_0x567f31(0x212)]()):_0x4287b5['of'](null);}),_0x4287b5[_0x1306c7(0x20d)](_0x1e6a9f=>_0x1e6a9f?_0x1e6a9f['status$']:_0x4287b5['of'](_0x827ff8[_0x1306c7(0x287)][_0x1306c7(0x1d0)])))['subscribe'](_0xbf513d=>{const _0x44b897=_0x1306c7;this[_0x44b897(0x36b)][_0x44b897(0x2da)](_0xbf513d);}));}['_initStatusComponent'](){const _0x584075=_0x26cc89;this[_0x584075(0x2bc)](this[_0x584075(0x3ca)][_0x584075(0x18d)](_0x1c1408[_0x584075(0x34d)]['HEADER_MENU'],()=>_0x1c1408['connectInjector'](_0x9000d8({'status$':this[_0x584075(0x36b)]['asObservable']()}),this['_injector'])));}},_0x3dc1b0[_0x26cc89(0x16b)]=_0x59869([_0x1d08ab(0x0,_0x1c002c['IUniverInstanceService']),_0x1d08ab(0x1,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x1d08ab(0x2,_0x1c002c['Inject'](_0x827ff8[_0x26cc89(0x201)])),_0x1d08ab(0x3,_0x1c1408[_0x26cc89(0x226)])],_0x3dc1b0[_0x26cc89(0x16b)]);function _0x9000d8(_0x2b8a10){const {status$:_0x4c53b5}=_0x2b8a10;return function(){const _0x4f37a6=_0x30a1;return _0x3c107a[_0x4f37a6(0x3f9)](_0x725819,{'status$':_0x4c53b5});};}var _0x3e3854=Object[_0x26cc89(0x252)],_0x4a2e13=(_0x3ac792,_0x98f42c,_0x13874c,_0x51d4e4)=>{const _0x246838=_0x26cc89;for(var _0x462bd0=_0x51d4e4>0x1?void 0x0:_0x51d4e4?_0x3e3854(_0x98f42c,_0x13874c):_0x98f42c,_0x35a20e=_0x3ac792[_0x246838(0x17b)]-0x1,_0x5b58a2;_0x35a20e>=0x0;_0x35a20e--)(_0x5b58a2=_0x3ac792[_0x35a20e])&&(_0x462bd0=_0x5b58a2(_0x462bd0)||_0x462bd0);return _0x462bd0;},_0x4bbde7=(_0x536021,_0x50a9dd)=>(_0x115196,_0x360da8)=>_0x50a9dd(_0x115196,_0x360da8,_0x536021);let _0x1cfb10=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x207b1a,_0x2c7c3f,_0x1c3092,_0x58c9fa,_0x11c4d3,_0x2c8be1){const _0xa79f60=_0x26cc89;super(),this[_0xa79f60(0x2bd)]=_0x207b1a,this[_0xa79f60(0x1a0)]=_0x2c7c3f,this['_collaborationUIEventService']=_0x1c3092,this[_0xa79f60(0x280)]=_0x58c9fa,this[_0xa79f60(0x207)]=_0x11c4d3,this[_0xa79f60(0x1ea)]=_0x2c8be1,this[_0xa79f60(0x291)](),this[_0xa79f60(0x19a)]();}[_0x26cc89(0x291)](){const _0x469b4a=_0x26cc89;this[_0x469b4a(0x2bc)](this[_0x469b4a(0x2bd)]['registerBeforeClose'](()=>{const _0x447ba6=_0x469b4a;if(this[_0x447ba6(0x1a0)][_0x447ba6(0x3f1)][_0x447ba6(0x239)])return this[_0x447ba6(0x1ea)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x26cc89(0x19a)](){const _0x346685=_0x26cc89;this[_0x346685(0x2bc)](this[_0x346685(0x400)]['event$'][_0x346685(0x253)](_0x69d0a5=>{const _0xe6c83e=_0x346685;_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)][_0xe6c83e(0x297)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t'](_0xe6c83e(0x2e0))}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)]['CLOSE_ROOM']&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t'](_0xe6c83e(0x18e))}),_0x69d0a5['id']===_0x827ff8['CollaborationUIEventId']['PERMISSION_DENIED']&&this['_notificationService'][_0xe6c83e(0x2b8)]({'title':this['_localeService']['t'](_0xe6c83e(0x30a)),'content':this[_0xe6c83e(0x1ea)]['t'](_0xe6c83e(0x2fc)),'type':_0xe6c83e(0x2b4),'duration':0x0}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)][_0xe6c83e(0x34c)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x2dd)],'content':this[_0xe6c83e(0x1ea)]['t']('collaboration.closeRoom')+'('+_0x69d0a5['data']+')'}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)]['JOIN_ROOM_FAILED']&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t'](_0x69d0a5[_0xe6c83e(0x22f)]||'')}),_0x69d0a5['id']===_0x827ff8['CollaborationUIEventId'][_0xe6c83e(0x1af)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x1be)],'content':this[_0xe6c83e(0x1ea)]['t']('session.will-retry')}),_0x69d0a5['id']===_0x827ff8['CollaborationUIEventId'][_0xe6c83e(0x21e)]&&this[_0xe6c83e(0x280)][_0xe6c83e(0x2b8)]({'type':_0x29c2d3['MessageType'][_0xe6c83e(0x2dd)],'content':this['_localeService']['t']('session.connection-failed')}),_0x69d0a5['id']===_0x827ff8[_0xe6c83e(0x1e1)][_0xe6c83e(0x339)]&&this[_0xe6c83e(0x280)]['show']({'type':_0x29c2d3[_0xe6c83e(0x20f)][_0xe6c83e(0x2dd)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x1cfb10=_0x4a2e13([_0x4bbde7(0x0,_0x1c1408[_0x26cc89(0x2a8)]),_0x4bbde7(0x1,_0x827ff8[_0x26cc89(0x242)]),_0x4bbde7(0x2,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x299)])),_0x4bbde7(0x3,_0x1c1408[_0x26cc89(0x1cc)]),_0x4bbde7(0x4,_0x1c1408[_0x26cc89(0x183)]),_0x4bbde7(0x5,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x29d)]))],_0x1cfb10);const _0x5a320f=_0x26cc89(0x395),_0x35a43e={},_0x53ff22=_0x1c002c[_0x26cc89(0x379)]('uni.network.url-service');var _0x24d0b8=Object[_0x26cc89(0x252)],_0x37f4e6=(_0x189e20,_0x560041,_0x547005,_0x3cc873)=>{const _0x59f77e=_0x26cc89;for(var _0x496fe0=_0x3cc873>0x1?void 0x0:_0x3cc873?_0x24d0b8(_0x560041,_0x547005):_0x560041,_0x33b880=_0x189e20[_0x59f77e(0x17b)]-0x1,_0x34005b;_0x33b880>=0x0;_0x33b880--)(_0x34005b=_0x189e20[_0x33b880])&&(_0x496fe0=_0x34005b(_0x496fe0)||_0x496fe0);return _0x496fe0;},_0x460d45=(_0x8e3498,_0x478c6c)=>(_0x2a883b,_0x3c248d)=>_0x478c6c(_0x2a883b,_0x3c248d,_0x8e3498);_0x3dc1b0[_0x26cc89(0x3ac)]=class extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(_0x2a2947,_0x3b58d0,_0x22d85f,_0x5427f4,_0x332b2a){const _0x3e78d6=_0x26cc89;super(),this[_0x3e78d6(0x229)]=_0x2a2947,this[_0x3e78d6(0x2fa)]=_0x3b58d0,this[_0x3e78d6(0x2c1)]=_0x22d85f,this['_dataLoaderService']=_0x5427f4,_0x332b2a?_0x332b2a==null||_0x332b2a[_0x3e78d6(0x2b9)]()[_0x3e78d6(0x3ab)](()=>this[_0x3e78d6(0x2ee)]()):(this[_0x3e78d6(0x2fa)][_0x3e78d6(0x171)](_0x3e78d6(0x39c),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x5a82d0=_0x26cc89,_0x55220a=this[_0x5a82d0(0x229)][_0x5a82d0(0x2f9)](_0x5a82d0(0x3c0)),_0x284a95=this[_0x5a82d0(0x229)][_0x5a82d0(0x2f9)](_0x5a82d0(0x1ee)),_0x24da0c=this['_urlService']['getParam'](_0x5a82d0(0x3ef));if(!_0x55220a||!_0x284a95){this['_logService'][_0x5a82d0(0x171)](_0x5a82d0(0x39c),_0x5a82d0(0x1b5));return;}const _0x15df71=await this[_0x5a82d0(0x370)][_0x5a82d0(0x162)](_0x55220a,Number(_0x284a95),_0x24da0c);_0x15df71&&_0x15df71 instanceof _0x1c002c[_0x5a82d0(0x25a)]&&this[_0x5a82d0(0x336)](_0x15df71);}async[_0x26cc89(0x336)](_0x346eca){const _0x397cad=_0x26cc89;await this[_0x397cad(0x211)](_0x346eca),_0x346eca['activeSheet$'][_0x397cad(0x1b0)](_0x4287b5['takeUntil'](this['dispose$']))[_0x397cad(0x253)](_0x2b64a9=>{_0x2b64a9&&this['_updateURLWithCurrentState'](_0x2b64a9);}),this[_0x397cad(0x229)][_0x397cad(0x387)][_0x397cad(0x1b0)](_0x4287b5[_0x397cad(0x342)](this[_0x397cad(0x16e)]))[_0x397cad(0x253)](()=>this[_0x397cad(0x211)](_0x346eca));}[_0x26cc89(0x24c)](_0x1dd1c9,_0x5b15c3=!0x1){const _0x5a583b=_0x26cc89,_0x5c8f54=this['_urlService'][_0x5a583b(0x2f9)](_0x5a583b(0x3ef));_0x1dd1c9[_0x5a583b(0x258)]()!==_0x5c8f54&&this[_0x5a583b(0x229)][_0x5a583b(0x3ae)]('subunit',_0x1dd1c9[_0x5a583b(0x258)](),_0x5b15c3);}async[_0x26cc89(0x211)](_0x621746){const _0x294455=_0x26cc89;var _0xfb01cd;const _0x2d3a67=this[_0x294455(0x229)][_0x294455(0x2f9)](_0x294455(0x3ef));if(!_0x2d3a67||!_0x621746[_0x294455(0x3a2)](_0x2d3a67)){const _0x381638=_0x621746[_0x294455(0x32e)]()[0x0],_0x2e2a47=_0x621746[_0x294455(0x3a2)](_0x381638);if(!_0x2e2a47)return;this[_0x294455(0x24c)](_0x2e2a47,!0x0),await this['_commandService'][_0x294455(0x25c)](_0x2a4acb['SetWorksheetActivateCommand']['id'],{'unitId':_0x621746['getUnitId'](),'subUnitId':_0x381638});return;}((_0xfb01cd=_0x621746[_0x294455(0x27a)]())==null?void 0x0:_0xfb01cd[_0x294455(0x258)]())!==_0x2d3a67&&await this[_0x294455(0x2c1)][_0x294455(0x25c)](_0x2a4acb[_0x294455(0x3db)]['id'],{'unitId':_0x621746[_0x294455(0x212)](),'subUnitId':_0x2d3a67});}},_0x3dc1b0[_0x26cc89(0x3ac)]=_0x37f4e6([_0x460d45(0x0,_0x53ff22),_0x460d45(0x1,_0x1c002c[_0x26cc89(0x319)]),_0x460d45(0x2,_0x1c002c[_0x26cc89(0x20c)]),_0x460d45(0x3,_0x1c002c['Inject'](_0x827ff8[_0x26cc89(0x163)])),_0x460d45(0x4,_0x1c002c[_0x26cc89(0x389)](_0x405deb[_0x26cc89(0x271)]))],_0x3dc1b0['CollaborationDataLoaderController']);var _0x5dcea5=Object[_0x26cc89(0x252)],_0x327f3f=(_0x43dfba,_0x2d9f77,_0x26afa3,_0x19984b)=>{for(var _0x14a140=_0x19984b>0x1?void 0x0:_0x19984b?_0x5dcea5(_0x2d9f77,_0x26afa3):_0x2d9f77,_0x575460=_0x43dfba['length']-0x1,_0x522a87;_0x575460>=0x0;_0x575460--)(_0x522a87=_0x43dfba[_0x575460])&&(_0x14a140=_0x522a87(_0x14a140)||_0x14a140);return _0x14a140;},_0x47bb42=(_0x521022,_0x52a8f2)=>(_0x48fafc,_0x307316)=>_0x52a8f2(_0x48fafc,_0x307316,_0x521022);let _0x281445=class{constructor(_0x31ef25,_0xf84378,_0x16a553){const _0x3322fb=_0x26cc89;this['_injector']=_0x31ef25,this['_transformService']=_0xf84378,this[_0x3322fb(0x17e)]=_0x16a553;}[_0x26cc89(0x243)](_0x55e1d6){const _0xc3e58d=_0x26cc89;this['_transformUndoRedoStack'](_0x55e1d6),this[_0xc3e58d(0x2d7)](_0x55e1d6);}[_0x26cc89(0x1e6)](_0xf4a7f1){const _0x3370d3=_0x26cc89,{unitID:_0x59a810}=_0xf4a7f1,_0x5c1935=this[_0x3370d3(0x17e)][_0x3370d3(0x1d5)](_0x59a810)[_0x3370d3(0x279)](_0x567b9[_0x3370d3(0x249)]),{redoCache:_0x14ef49}=_0x5c1935['getUndoRedoMutationParamsCache']();if(_0x14ef49[_0x3370d3(0x17b)]===0x0)return _0xf4a7f1;let _0x310169=_0x1c002c[_0x3370d3(0x215)][_0x3370d3(0x398)](_0xf4a7f1[_0x3370d3(0x3f8)][0x0]);for(let _0x6a5b8c=0x0;_0x6a5b8c<_0x14ef49[_0x3370d3(0x17b)];_0x6a5b8c++){const _0x55c0e3={'id':'doc.mutation.rich-text-editing','params':{..._0x14ef49[_0x6a5b8c]}},_0x1385f8=this[_0x3370d3(0x3eb)][_0x3370d3(0x1a3)](_0x310169,_0x55c0e3,!0x1);if(_0x376d49['isTransformMutationFailure'](_0x1385f8))throw _0x1385f8[_0x3370d3(0x2b4)];_0x310169=_0x1385f8[_0x3370d3(0x3d6)];}return{..._0x1c002c[_0x3370d3(0x215)][_0x3370d3(0x398)](_0xf4a7f1),'mutations':[_0x310169]};}[_0x26cc89(0x3a1)](_0x5b94a3){const _0x3f3a8f=_0x26cc89,{unitID:_0x4abb07}=_0x5b94a3,_0x4a1b85=this['_renderManagerService'][_0x3f3a8f(0x1d5)](_0x4abb07)[_0x3f3a8f(0x279)](_0x567b9[_0x3f3a8f(0x249)]),{undoCache:_0x1957fe,redoCache:_0xb0ccb5}=_0x4a1b85[_0x3f3a8f(0x31c)]();if(_0x1957fe[_0x3f3a8f(0x17b)]===0x0||_0xb0ccb5[_0x3f3a8f(0x17b)]===0x0)return;const _0x2ec857=[],_0x3fb5f6=[];let _0x51a8a1=_0x1c002c[_0x3f3a8f(0x215)]['deepClone'](_0x5b94a3['mutations'][0x0]),_0x10d837=_0x1c002c[_0x3f3a8f(0x215)][_0x3f3a8f(0x398)](_0x5b94a3['mutations'][0x0]);for(let _0x31d5d8=_0x1957fe[_0x3f3a8f(0x17b)]-0x1;_0x31d5d8>=0x0;_0x31d5d8--){const _0x375228={'id':_0x3f3a8f(0x358),'params':{..._0x1957fe[_0x31d5d8]}},_0x40fb1a={'id':'doc.mutation.rich-text-editing','params':{..._0xb0ccb5[_0x31d5d8]}},_0x56d2e0=this[_0x3f3a8f(0x3eb)][_0x3f3a8f(0x1a3)](_0x51a8a1,_0x375228,!0x1),_0x507e95=this[_0x3f3a8f(0x3eb)][_0x3f3a8f(0x1a3)](_0x10d837,_0x40fb1a,!0x1);if(_0x376d49[_0x3f3a8f(0x244)](_0x56d2e0))throw _0x56d2e0[_0x3f3a8f(0x2b4)];if(_0x376d49[_0x3f3a8f(0x244)](_0x507e95))throw _0x507e95[_0x3f3a8f(0x2b4)];_0x2ec857[_0x3f3a8f(0x334)](_0x56d2e0[_0x3f3a8f(0x2b3)]['params']),_0x3fb5f6[_0x3f3a8f(0x334)](_0x507e95[_0x3f3a8f(0x2b3)][_0x3f3a8f(0x3b2)]),_0x51a8a1=_0x56d2e0[_0x3f3a8f(0x3d6)],_0x10d837=_0x507e95[_0x3f3a8f(0x3d6)];}_0x4a1b85[_0x3f3a8f(0x3cb)]({'undoCache':_0x2ec857,'redoCache':_0x3fb5f6});}['_transformPreviousActiveRange'](_0x176e13){const _0x3d2634=_0x26cc89,{unitID:_0x6834f7}=_0x176e13,_0x5aedd5=this[_0x3d2634(0x17e)][_0x3d2634(0x1d5)](_0x6834f7)['with'](_0x567b9[_0x3d2634(0x249)]),_0x58c24a=_0x5aedd5[_0x3d2634(0x1ce)]();if(_0x58c24a==null)return;const _0x2cad6a=[{'id':_0x3d2634(0x358),'params':{'unitId':_0x176e13[_0x3d2634(0x3be)],'actions':null,'textRanges':[_0x58c24a]}}],_0x3d7829=this['_transformService'][_0x3d2634(0x24e)](_0x176e13,_0x2cad6a);if(!_0x376d49[_0x3d2634(0x290)](_0x3d7829))throw _0x3d7829[_0x3d2634(0x2b4)];const _0x4e24f2=_0x3d7829[_0x3d2634(0x2b3)][0x0]['params'][_0x3d2634(0x2c4)];Array[_0x3d2634(0x1a6)](_0x4e24f2)&&_0x4e24f2[_0x3d2634(0x17b)]&&_0x5aedd5[_0x3d2634(0x1f2)](_0x4e24f2[0x0]);}};_0x281445=_0x327f3f([_0x47bb42(0x0,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x47bb42(0x1,_0x376d49[_0x26cc89(0x2f8)]),_0x47bb42(0x2,_0x8f24d8[_0x26cc89(0x365)])],_0x281445);var _0x56ff52=Object[_0x26cc89(0x252)],_0x43e2d5=(_0x4d2f26,_0x1907b6,_0x40455f,_0x2fb9ec)=>{const _0x234595=_0x26cc89;for(var _0x31f444=_0x2fb9ec>0x1?void 0x0:_0x2fb9ec?_0x56ff52(_0x1907b6,_0x40455f):_0x1907b6,_0x3a2453=_0x4d2f26[_0x234595(0x17b)]-0x1,_0x1b7295;_0x3a2453>=0x0;_0x3a2453--)(_0x1b7295=_0x4d2f26[_0x3a2453])&&(_0x31f444=_0x1b7295(_0x31f444)||_0x31f444);return _0x31f444;},_0x240926=(_0x24daaf,_0x3af9b7)=>(_0x18e40f,_0x32286b)=>_0x3af9b7(_0x18e40f,_0x32286b,_0x24daaf);let _0x404672=class{constructor(_0x10a3c6,_0x21f253,_0x1cd581){const _0x5d66ab=_0x26cc89;this[_0x5d66ab(0x19f)]=_0x10a3c6,this[_0x5d66ab(0x3eb)]=_0x21f253,this[_0x5d66ab(0x337)]=_0x1cd581;}[_0x26cc89(0x255)](_0x56ccef){const _0x3940cc=_0x26cc89;this[_0x3940cc(0x30d)](_0x56ccef);}[_0x26cc89(0x1e6)](_0x251e9b){const _0x2d8a2d=_0x26cc89,{unitID:_0x4c9db4}=_0x251e9b,{collaboration:_0x4cb357}=this['_docStateChangeManagerService'][_0x2d8a2d(0x37d)](_0x4c9db4);if(_0x4cb357[_0x2d8a2d(0x17b)]===0x0)return _0x251e9b;let _0xe0ce2b=_0x1c002c['Tools']['deepClone'](_0x251e9b[_0x2d8a2d(0x3f8)][0x0]);for(let _0x511b0b=0x0;_0x511b0b<_0x4cb357[_0x2d8a2d(0x17b)];_0x511b0b++){const _0x7c04d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cb357[_0x511b0b]['unitId'],..._0x4cb357[_0x511b0b][_0x2d8a2d(0x188)]}},_0x47ddd6=this['_transformService']['transformMutation'](_0xe0ce2b,_0x7c04d5,!0x1);if(_0x376d49[_0x2d8a2d(0x244)](_0x47ddd6))throw _0x47ddd6[_0x2d8a2d(0x2b4)];_0xe0ce2b=_0x47ddd6[_0x2d8a2d(0x3d6)];}return{..._0x1c002c[_0x2d8a2d(0x215)][_0x2d8a2d(0x398)](_0x251e9b),'mutations':[_0xe0ce2b]};}[_0x26cc89(0x30d)](_0x3c8c95){const _0x5b2247=_0x26cc89,{unitID:_0x7aaa59}=_0x3c8c95,{history:_0x49b4a5,collaboration:_0x2ed096}=this[_0x5b2247(0x337)][_0x5b2247(0x37d)](_0x7aaa59);if(_0x49b4a5[_0x5b2247(0x17b)]===0x0&&_0x2ed096[_0x5b2247(0x17b)]===0x0)return;const _0x15d315=[],_0x3a5658=[];let _0x1ecfa1=_0x1c002c[_0x5b2247(0x215)][_0x5b2247(0x398)](_0x3c8c95[_0x5b2247(0x3f8)][0x0]),_0x2cc6cb=_0x1c002c['Tools'][_0x5b2247(0x398)](_0x3c8c95[_0x5b2247(0x3f8)][0x0]);for(let _0x5d843a=_0x49b4a5[_0x5b2247(0x17b)]-0x1;_0x5d843a>=0x0;_0x5d843a--){const _0x2f1c86={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x49b4a5[_0x5d843a]['unitId'],..._0x49b4a5[_0x5d843a][_0x5b2247(0x325)]}},_0x557108={'id':_0x5b2247(0x358),'params':{'unitId':_0x49b4a5[_0x5d843a]['unitId'],..._0x49b4a5[_0x5d843a][_0x5b2247(0x188)]}},_0x340d1a=this[_0x5b2247(0x3eb)][_0x5b2247(0x1a3)](_0x1ecfa1,_0x2f1c86,!0x1),_0x73d012=this[_0x5b2247(0x3eb)][_0x5b2247(0x1a3)](_0x2cc6cb,_0x557108,!0x1);if(_0x376d49[_0x5b2247(0x244)](_0x340d1a))throw _0x340d1a['error'];if(_0x376d49[_0x5b2247(0x244)](_0x73d012))throw _0x73d012['error'];_0x15d315[_0x5b2247(0x334)]({..._0x49b4a5[_0x5d843a],'undoState':_0x340d1a[_0x5b2247(0x2b3)][_0x5b2247(0x3b2)],'redoState':_0x73d012['m2Prime']['params']}),_0x1ecfa1=_0x340d1a[_0x5b2247(0x3d6)],_0x2cc6cb=_0x73d012[_0x5b2247(0x3d6)];}_0x1ecfa1=_0x1c002c[_0x5b2247(0x215)]['deepClone'](_0x3c8c95[_0x5b2247(0x3f8)][0x0]),_0x2cc6cb=_0x1c002c[_0x5b2247(0x215)][_0x5b2247(0x398)](_0x3c8c95[_0x5b2247(0x3f8)][0x0]);for(let _0x534478=_0x2ed096['length']-0x1;_0x534478>=0x0;_0x534478--){const _0x197ce2={'id':_0x5b2247(0x358),'params':{'unitId':_0x2ed096[_0x534478][_0x5b2247(0x235)],..._0x2ed096[_0x534478][_0x5b2247(0x325)]}},_0x50f725={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2ed096[_0x534478]['unitId'],..._0x2ed096[_0x534478][_0x5b2247(0x188)]}},_0x160ba6=this[_0x5b2247(0x3eb)][_0x5b2247(0x1a3)](_0x1ecfa1,_0x197ce2,!0x1),_0x5d7719=this[_0x5b2247(0x3eb)]['transformMutation'](_0x2cc6cb,_0x50f725,!0x1);if(_0x376d49[_0x5b2247(0x244)](_0x160ba6))throw _0x160ba6[_0x5b2247(0x2b4)];if(_0x376d49[_0x5b2247(0x244)](_0x5d7719))throw _0x5d7719[_0x5b2247(0x2b4)];_0x3a5658[_0x5b2247(0x334)]({..._0x2ed096[_0x534478],'undoState':_0x160ba6[_0x5b2247(0x2b3)][_0x5b2247(0x3b2)],'redoState':_0x5d7719[_0x5b2247(0x2b3)][_0x5b2247(0x3b2)]}),_0x1ecfa1=_0x160ba6[_0x5b2247(0x3d6)],_0x2cc6cb=_0x5d7719[_0x5b2247(0x3d6)];}this[_0x5b2247(0x337)][_0x5b2247(0x2a6)](_0x7aaa59,{'history':_0x15d315,'collaboration':_0x3a5658});}};_0x404672=_0x43e2d5([_0x240926(0x0,_0x1c002c[_0x26cc89(0x273)](_0x1c002c['Injector'])),_0x240926(0x1,_0x376d49[_0x26cc89(0x2f8)]),_0x240926(0x2,_0x1c002c[_0x26cc89(0x273)](_0x567b9[_0x26cc89(0x23d)]))],_0x404672);var _0x348471=Object[_0x26cc89(0x252)],_0x4b2bb0=(_0x25a360,_0x5a9344,_0x38b09b,_0x4e0c8a)=>{for(var _0x3364f8=_0x4e0c8a>0x1?void 0x0:_0x4e0c8a?_0x348471(_0x5a9344,_0x38b09b):_0x5a9344,_0x54c900=_0x25a360['length']-0x1,_0x5a638c;_0x54c900>=0x0;_0x54c900--)(_0x5a638c=_0x25a360[_0x54c900])&&(_0x3364f8=_0x5a638c(_0x3364f8)||_0x3364f8);return _0x3364f8;},_0x1a3f14=(_0x26f0c5,_0x92052a)=>(_0x54fb8c,_0x30a5e9)=>_0x92052a(_0x54fb8c,_0x30a5e9,_0x26f0c5);let _0x1b6b6d=class{constructor(_0x3146da,_0x16099e){const _0x1d32cf=_0x26cc89;this[_0x1d32cf(0x19f)]=_0x3146da,this[_0x1d32cf(0x3eb)]=_0x16099e;}[_0x26cc89(0x311)](_0x3906e4){const _0x54eced=_0x26cc89;var _0x2eb591;const _0x294e05=this['_injector']['get'](_0x1100fd[_0x54eced(0x1b4)]),_0x56898c=(_0x2eb591=_0x294e05[_0x54eced(0x2d8)]())!=null?_0x2eb591:[];if(_0x56898c[_0x54eced(0x17b)]===0x0)return;const _0x3c59ab=_0x3906e4['unitID'],_0x31c9e7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3c59ab,'actions':null,'textRanges':_0x56898c}}],_0x1a9112=this[_0x54eced(0x3eb)][_0x54eced(0x24e)](_0x3906e4,_0x31c9e7);if(!_0x376d49[_0x54eced(0x290)](_0x1a9112))throw _0x1a9112['error'];const _0x148c77=_0x1a9112['m2Prime'][0x0]['params']['textRanges'];Array[_0x54eced(0x1a6)](_0x148c77)&&_0x148c77['length']&&_0x294e05[_0x54eced(0x230)](_0x148c77,{'unitId':_0x3c59ab,'subUnitId':_0x3c59ab},!0x1);}};_0x1b6b6d=_0x4b2bb0([_0x1a3f14(0x0,_0x1c002c['Inject'](_0x1c002c['Injector'])),_0x1a3f14(0x1,_0x376d49[_0x26cc89(0x2f8)])],_0x1b6b6d);var _0x46f41b=Object[_0x26cc89(0x252)],_0x50ea95=(_0x1704ad,_0xeea22,_0x3577ff,_0x2b8cd0)=>{const _0x57b91d=_0x26cc89;for(var _0x4b5ac2=_0x2b8cd0>0x1?void 0x0:_0x2b8cd0?_0x46f41b(_0xeea22,_0x3577ff):_0xeea22,_0x537716=_0x1704ad[_0x57b91d(0x17b)]-0x1,_0x209517;_0x537716>=0x0;_0x537716--)(_0x209517=_0x1704ad[_0x537716])&&(_0x4b5ac2=_0x209517(_0x4b5ac2)||_0x4b5ac2);return _0x4b5ac2;},_0x5dda5e=(_0x59a13c,_0x598f5a)=>(_0x2c0650,_0x91bcc6)=>_0x598f5a(_0x2c0650,_0x91bcc6,_0x59a13c);let _0x414db0=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x1b0eac,_0x5cc19e,_0x51a9de,_0x51056f,_0x52824d,_0x1161b8,_0x4f6232,_0x363bb7){const _0x4d35bc=_0x26cc89;super(),_0xd9b4bc(this,_0x4d35bc(0x36b),new _0x4287b5[(_0x4d35bc(0x173))](_0x827ff8[_0x4d35bc(0x287)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x1b0eac,this['_collaborationController']=_0x5cc19e,this['_docTransformIMECacheService']=_0x51a9de,this[_0x4d35bc(0x1f3)]=_0x51056f,this[_0x4d35bc(0x264)]=_0x52824d,this[_0x4d35bc(0x200)]=_0x1161b8,this[_0x4d35bc(0x280)]=_0x4f6232,this[_0x4d35bc(0x1ea)]=_0x363bb7,this['_initEntityListener']());}[_0x26cc89(0x3e4)](){const _0x2bfbd0=_0x26cc89;this['disposeWithMe'](this[_0x2bfbd0(0x21a)]['entityInit$'][_0x2bfbd0(0x253)](_0x401210=>{const _0x4a5b59=_0x2bfbd0,_0x4b3e8d=this[_0x4a5b59(0x337)][_0x4a5b59(0x3aa)][_0x4a5b59(0x253)](_0x976323=>{const _0x3fdf11=_0x4a5b59;if(_0x976323==null)return;const {unitId:_0x25e1c7,redoState:_0x31b7e8,commandId:_0x2760f7}=_0x976323;if(_0x25e1c7!==_0x401210[_0x3fdf11(0x3be)])return;const _0x3f1bac={'id':_0x2760f7,'type':_0x1c002c[_0x3fdf11(0x320)][_0x3fdf11(0x234)],'params':{'unitId':_0x25e1c7,'actions':_0x31b7e8[_0x3fdf11(0x367)],'textRanges':null}};_0x401210[_0x3fdf11(0x368)](_0x3f1bac);});if(_0x401210[_0x4a5b59(0x2bc)](_0x4b3e8d),_0x401210 instanceof _0x827ff8[_0x4a5b59(0x2d9)]){const _0xddb65={'onTransformIME':_0x59d1c6=>this[_0x4a5b59(0x1de)][_0x4a5b59(0x243)](_0x59d1c6),'onTransformState':_0x473f09=>this[_0x4a5b59(0x1f3)][_0x4a5b59(0x255)](_0x473f09),'onTransformSelections':_0x716a4e=>this[_0x4a5b59(0x264)][_0x4a5b59(0x311)](_0x716a4e),'onSyncEditingCollabCursor':_0x3064f1=>this[_0x4a5b59(0x200)]['syncEditingCollabCursor'](_0x3064f1),'onTransformRemoteChangesetByIMECache':_0x2a45f5=>this[_0x4a5b59(0x1de)][_0x4a5b59(0x1e6)](_0x2a45f5),'onTransformRemoteChangesetByStateCache':_0x2debe1=>this[_0x4a5b59(0x1f3)]['transformRemoteChangeset'](_0x2debe1)};_0x401210[_0x4a5b59(0x372)](_0xddb65);}}));}};_0x414db0=_0x50ea95([_0x5dda5e(0x0,_0x1c002c[_0x26cc89(0x273)](_0x567b9[_0x26cc89(0x23d)])),_0x5dda5e(0x1,_0x1c002c[_0x26cc89(0x273)](_0x827ff8[_0x26cc89(0x201)])),_0x5dda5e(0x2,_0x1c002c[_0x26cc89(0x273)](_0x281445)),_0x5dda5e(0x3,_0x1c002c[_0x26cc89(0x273)](_0x404672)),_0x5dda5e(0x4,_0x1c002c[_0x26cc89(0x273)](_0x1b6b6d)),_0x5dda5e(0x5,_0x1c002c[_0x26cc89(0x273)](_0x509d7c)),_0x5dda5e(0x6,_0x1c1408[_0x26cc89(0x1cc)]),_0x5dda5e(0x7,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x29d)]))],_0x414db0);var _0x1c3568=Object[_0x26cc89(0x252)],_0x370010=(_0x144689,_0xf861f6,_0x110375,_0x512faa)=>{const _0x32bff7=_0x26cc89;for(var _0x1d09b8=_0x512faa>0x1?void 0x0:_0x512faa?_0x1c3568(_0xf861f6,_0x110375):_0xf861f6,_0x9f02fa=_0x144689[_0x32bff7(0x17b)]-0x1,_0x8cc6fa;_0x9f02fa>=0x0;_0x9f02fa--)(_0x8cc6fa=_0x144689[_0x9f02fa])&&(_0x1d09b8=_0x8cc6fa(_0x1d09b8)||_0x1d09b8);return _0x1d09b8;},_0x309034=(_0x19efe8,_0x3494c1)=>(_0x490b94,_0x4b7558)=>_0x3494c1(_0x490b94,_0x4b7558,_0x19efe8);let _0x40d5b9=class extends _0x1c002c['Disposable']{constructor(_0x403cc7,_0x2a6058,_0x3f7e35){const _0x4f8923=_0x26cc89;super(),_0xd9b4bc(this,_0x4f8923(0x376),new Map()),_0xd9b4bc(this,_0x4f8923(0x180),new Map()),_0xd9b4bc(this,_0x4f8923(0x177),!0x1),(this[_0x4f8923(0x2e7)]=_0x403cc7,this['_localStorageService']=_0x2a6058,this['_revisionService']=_0x3f7e35);}[_0x26cc89(0x2b7)](){this['_disabled']=!0x0;}[_0x26cc89(0x1c1)](){const _0x223d2a=_0x26cc89;this[_0x223d2a(0x177)]=!0x1;}get[_0x26cc89(0x3f1)](){return this['_saveTaskMap'];}[_0x26cc89(0x203)](){const _0x16c552=_0x26cc89;this['exhaustSavingTask']()['then'](()=>super[_0x16c552(0x203)]());}async[_0x26cc89(0x3ed)](_0x419eb9){const _0x3afd3e=_0x26cc89;return this['_disabled']?null:this[_0x3afd3e(0x345)][_0x3afd3e(0x21f)](_0x827ff8['getLocalCacheKey'](_0x419eb9));}async[_0x26cc89(0x282)](_0x5dfa7b,_0x188a99){const _0x5908e0=_0x26cc89;return!!this[_0x5908e0(0x345)]['setItem'](_0x5dfa7b,_0x188a99);}[_0x26cc89(0x30f)](_0x31393b,_0x916ede,_0x38e1e1,_0x4d51c0){const _0x7be034=_0x26cc89,_0x38bad5=this[_0x7be034(0x3fb)][_0x7be034(0x190)](_0x31393b);this[_0x7be034(0x376)]['set'](_0x31393b,{'unitID':_0x31393b,'type':_0x916ede,'awaitingChangeset':_0x38e1e1,'mutations':_0x4d51c0,'rev':_0x38bad5}),this['_saveTaskMap'][_0x7be034(0x2fe)](_0x31393b)||this[_0x7be034(0x312)](_0x31393b);}['_scheduleSaving'](_0x5dd140){const _0x5635b3=_0x26cc89,_0x5e4c51=this[_0x5635b3(0x1dc)]();_0x5e4c51===0x0?this['_saveCache'](_0x5dd140):this[_0x5635b3(0x180)][_0x5635b3(0x391)](_0x5dd140,setTimeout(()=>this[_0x5635b3(0x16c)](_0x5dd140),_0x5e4c51));}[_0x26cc89(0x1dc)](){const _0x1c488a=_0x26cc89;var _0x2ca6f1;return(_0x2ca6f1=this['_configService'][_0x1c488a(0x240)](_0x827ff8[_0x1c488a(0x38d)]))!=null?_0x2ca6f1:_0x827ff8[_0x1c488a(0x3c1)];}[_0x26cc89(0x16c)](_0xbd34a1){const _0x4802b4=_0x26cc89,_0x2ff4fc=this[_0x4802b4(0x180)][_0x4802b4(0x1dd)](_0xbd34a1);return _0x2ff4fc!==void 0x0&&window['clearTimeout'](_0x2ff4fc),this['_localStorageService']['setItem'](_0x827ff8['getLocalCacheKey'](_0xbd34a1),this[_0x4802b4(0x376)]['get'](_0xbd34a1))[_0x4802b4(0x3ab)](()=>this[_0x4802b4(0x180)][_0x4802b4(0x26b)](_0xbd34a1));}async[_0x26cc89(0x1f5)](){const _0x2df1e5=_0x26cc89,_0x296da1=[];this[_0x2df1e5(0x180)][_0x2df1e5(0x36a)]((_0x29a767,_0x400946)=>{const _0x52871a=_0x2df1e5;window[_0x52871a(0x388)](_0x29a767),_0x296da1[_0x52871a(0x1c9)](this['_saveCache'](_0x400946)['then'](()=>{const _0x472784=_0x52871a;this['_saveTaskMap'][_0x472784(0x26b)](_0x400946);}));}),await Promise['all'](_0x296da1);}};_0x40d5b9=_0x370010([_0x309034(0x0,_0x1c002c[_0x26cc89(0x28c)]),_0x309034(0x1,_0x1c002c[_0x26cc89(0x1fc)]),_0x309034(0x2,_0x1c002c[_0x26cc89(0x273)](_0x376d49[_0x26cc89(0x1e4)]))],_0x40d5b9);class _0x3a8e37 extends _0x1c002c[_0x26cc89(0x3d3)]{constructor(){const _0xdbfd8=_0x26cc89;super(),_0xd9b4bc(this,_0xdbfd8(0x387)),this[_0xdbfd8(0x387)]=_0x4287b5[_0xdbfd8(0x19d)](window,_0xdbfd8(0x361))[_0xdbfd8(0x1b0)](_0x4287b5['takeUntil'](this['dispose$']),_0x4287b5['shareReplay'](0x1),_0x4287b5[_0xdbfd8(0x15d)](void 0x0));}[_0x26cc89(0x3ae)](_0x135554,_0x1efd3a,_0x553ee3=!0x1){const _0x444e18=_0x26cc89,_0x459b01=new URL(window['location'][_0x444e18(0x3d5)]);_0x459b01['searchParams'][_0x444e18(0x391)](_0x135554,_0x1efd3a),_0x553ee3?window[_0x444e18(0x2c9)][_0x444e18(0x19c)]('','',_0x459b01[_0x444e18(0x217)]()):window[_0x444e18(0x2c9)][_0x444e18(0x38b)]('','',_0x459b01[_0x444e18(0x217)]());}['removeParam'](_0x3b3a79,_0x41c550=!0x1){const _0xeae5b7=_0x26cc89,_0x526f1a=new URL(window['location'][_0xeae5b7(0x3d5)]);_0x526f1a[_0xeae5b7(0x30b)][_0xeae5b7(0x26b)](_0x3b3a79),_0x41c550?window['history'][_0xeae5b7(0x19c)]('','',_0x526f1a[_0xeae5b7(0x217)]()):window[_0xeae5b7(0x2c9)][_0xeae5b7(0x38b)]('','',_0x526f1a['toString']());}[_0x26cc89(0x2f9)](_0x506b24){const _0x9d3413=_0x26cc89;var _0x497888;return(_0x497888=new URL(window[_0x9d3413(0x1cb)][_0x9d3413(0x3d5)])[_0x9d3413(0x30b)]['get'](_0x506b24))!=null?_0x497888:void 0x0;}}var _0x547a9f=Object['defineProperty'],_0x4b0298=Object[_0x26cc89(0x252)],_0x192993=(_0x19d1a9,_0x4be86e,_0x160c18)=>_0x4be86e in _0x19d1a9?_0x547a9f(_0x19d1a9,_0x4be86e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x160c18}):_0x19d1a9[_0x4be86e]=_0x160c18,_0x1e16ff=(_0x3ed3b4,_0x514055,_0x47c4d7,_0x3f319b)=>{const _0x3eb05d=_0x26cc89;for(var _0x4b7946=_0x3f319b>0x1?void 0x0:_0x3f319b?_0x4b0298(_0x514055,_0x47c4d7):_0x514055,_0x4e1922=_0x3ed3b4[_0x3eb05d(0x17b)]-0x1,_0x5c1112;_0x4e1922>=0x0;_0x4e1922--)(_0x5c1112=_0x3ed3b4[_0x4e1922])&&(_0x4b7946=_0x5c1112(_0x4b7946)||_0x4b7946);return _0x4b7946;},_0x4214f1=(_0x211883,_0x408d52)=>(_0x6ef6fe,_0x238601)=>_0x408d52(_0x6ef6fe,_0x238601,_0x211883),_0x285d91=(_0x278a25,_0x3589a6,_0x35591f)=>_0x192993(_0x278a25,_0x3589a6+'',_0x35591f);const _0x1eb3a1=_0x26cc89(0x25d);_0x3dc1b0[_0x26cc89(0x1c5)]=class extends _0x1c002c[_0x26cc89(0x263)]{constructor(_0x2dd588=_0x35a43e,_0x33ab58,_0x3c5292,_0x5a25c5){const _0x2789e5=_0x26cc89;super(),this['_config']=_0x2dd588,this[_0x2789e5(0x17e)]=_0x33ab58,this['_injector']=_0x3c5292,this[_0x2789e5(0x2e7)]=_0x5a25c5;const {..._0x507686}=_0x1c002c[_0x2789e5(0x375)]({},_0x35a43e,this[_0x2789e5(0x32a)]);this[_0x2789e5(0x2e7)][_0x2789e5(0x354)](_0x5a320f,_0x507686);}['onStarting'](){const _0x23ded4=_0x26cc89;this[_0x23ded4(0x314)](),this['_initDependencies']();}[_0x26cc89(0x1ae)](){const _0x715389=_0x26cc89;this[_0x715389(0x35d)]();}[_0x26cc89(0x314)](){const _0x3dbc57=_0x26cc89;var _0x45d0cb;const _0x631e21=[[_0x328ed8],[_0x1b6b6d],[_0x281445],[_0x404672],[_0x509d7c],[_0x53ff22,{'useClass':_0x3a8e37}],[_0x286260[_0x3dbc57(0x3b9)],{'useClass':_0x286260['WebSocketService']}],[_0x827ff8[_0x3dbc57(0x242)],{'useClass':_0x40d5b9}],[_0x3dc1b0[_0x3dbc57(0x16b)]],[_0x414db0],[_0x1cfb10],[_0x402205],[_0x3f0664],[_0x3dc1b0[_0x3dbc57(0x3ac)]]];_0x1c002c[_0x3dbc57(0x301)](this[_0x3dbc57(0x19f)],_0x1c002c['mergeOverrideWithDependencies'](_0x631e21,(_0x45d0cb=this['_config'])==null?void 0x0:_0x45d0cb[_0x3dbc57(0x191)]));}[_0x26cc89(0x35d)](){const _0x46f1bc=_0x26cc89;this['disposeWithMe'](this['_renderManagerService'][_0x46f1bc(0x352)](_0x1c002c[_0x46f1bc(0x1fa)][_0x46f1bc(0x3ec)],[_0x1b4ad8])),this[_0x46f1bc(0x2bc)](this['_renderManagerService'][_0x46f1bc(0x352)](_0x1c002c[_0x46f1bc(0x1fa)][_0x46f1bc(0x39d)],[_0x27c244]));}[_0x26cc89(0x19e)](){const _0x4d829a=_0x26cc89;_0x1c002c[_0x4d829a(0x3c3)](this['_injector'],[[_0x402205],[_0x3dc1b0[_0x4d829a(0x16b)]],[_0x414db0],[_0x1cfb10],[_0x3dc1b0[_0x4d829a(0x3ac)]]]);}},_0x285d91(_0x3dc1b0[_0x26cc89(0x1c5)],_0x26cc89(0x2e6),_0x1eb3a1),_0x3dc1b0[_0x26cc89(0x1c5)]=_0x1e16ff([_0x1c002c[_0x26cc89(0x2f5)](_0x827ff8['UniverCollaborationClientPlugin']),_0x4214f1(0x1,_0x8f24d8[_0x26cc89(0x365)]),_0x4214f1(0x2,_0x1c002c['Inject'](_0x1c002c['Injector'])),_0x4214f1(0x3,_0x1c002c[_0x26cc89(0x28c)])],_0x3dc1b0[_0x26cc89(0x1c5)]);var _0x1c4a14=Object['getOwnPropertyDescriptor'],_0x4e865d=(_0x361ee5,_0x479f2c,_0x322d4f,_0x4d0474)=>{const _0x289f57=_0x26cc89;for(var _0x201ce0=_0x4d0474>0x1?void 0x0:_0x4d0474?_0x1c4a14(_0x479f2c,_0x322d4f):_0x479f2c,_0x2208dc=_0x361ee5[_0x289f57(0x17b)]-0x1,_0x3bac92;_0x2208dc>=0x0;_0x2208dc--)(_0x3bac92=_0x361ee5[_0x2208dc])&&(_0x201ce0=_0x3bac92(_0x201ce0)||_0x201ce0);return _0x201ce0;},_0x50f71e=(_0xd30082,_0x54d014)=>(_0x2c5e59,_0x2516fb)=>_0x54d014(_0x2c5e59,_0x2516fb,_0xd30082);_0x3dc1b0[_0x26cc89(0x2d0)]=class extends _0x827ff8[_0x26cc89(0x19b)]{constructor(_0x434ff0,_0x14a3c2,_0x1813f1,_0xbd3f4e,_0x2cb033){super(_0x434ff0,_0x14a3c2,_0x1813f1,_0xbd3f4e,_0x2cb033);}async[_0x26cc89(0x166)](_0x4b73fa){const _0x24bfb5=_0x26cc89,_0x5a103e=await this[_0x24bfb5(0x22d)](),_0xc83db7=this['_createSocketURL'](_0x4b73fa,_0x5a103e);return this[_0x24bfb5(0x362)](_0xc83db7);}[_0x26cc89(0x17d)](_0x5b75a9,_0x266aa4){const _0x25f498=_0x26cc89,_0x354298=typeof window>'u'?new URL(_0x5b75a9):new URL(_0x5b75a9,window[_0x25f498(0x1cb)]['origin']);_0x354298[_0x25f498(0x30b)][_0x25f498(0x391)](_0x25f498(0x38e),_0x266aa4);const _0x5bf00f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x25f498(0x1cb)][_0x25f498(0x2f4)]);return _0x5bf00f['get'](_0x25f498(0x3f5))&&_0x354298[_0x25f498(0x30b)][_0x25f498(0x391)](_0x25f498(0x3f5),_0x5bf00f[_0x25f498(0x1dd)](_0x25f498(0x3f5))),_0x354298[_0x25f498(0x217)]();}async[_0x26cc89(0x22d)](){const _0x1256e7=_0x26cc89;var _0x5d0012,_0x4a54ca,_0x17fd79;const _0xb03c84=this[_0x1256e7(0x2e7)]['getConfig'](_0x827ff8['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x550cba=(_0x5d0012=_0xb03c84==null?void 0x0:_0xb03c84[_0x1256e7(0x1c6)])!=null?_0x5d0012:_0x827ff8['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x17fd79=(_0x4a54ca=(await this[_0x1256e7(0x277)][_0x1256e7(0x1dd)](_0x550cba,{'headers':{'Content-Type':_0x1256e7(0x246)}}))[_0x1256e7(0x1b6)])==null?void 0x0:_0x4a54ca[_0x1256e7(0x175)])!=null?_0x17fd79:'';}},_0x3dc1b0[_0x26cc89(0x2d0)]=_0x4e865d([_0x50f71e(0x0,_0x1c002c[_0x26cc89(0x273)](_0x1c002c[_0x26cc89(0x2ac)])),_0x50f71e(0x1,_0x1c002c['Inject'](_0x286260[_0x26cc89(0x20b)])),_0x50f71e(0x2,_0x1c002c['IConfigService']),_0x50f71e(0x3,_0x1c002c[_0x26cc89(0x319)]),_0x50f71e(0x4,_0x376d49[_0x26cc89(0x31a)])],_0x3dc1b0['BrowserCollaborationSocketService']);const _0x8792f4=0x7530,_0x4100d1='ACTIVE_UNIT_EVENT_CHANNEL';class _0x3cdc42 extends _0x1c002c[_0x26cc89(0x332)]{constructor(){const _0x1898c5=_0x26cc89;super(),_0xd9b4bc(this,_0x1898c5(0x300),_0x1c002c[_0x1898c5(0x2d2)]()),_0xd9b4bc(this,_0x1898c5(0x193),new Set()),_0xd9b4bc(this,_0x1898c5(0x322),new Map()),_0xd9b4bc(this,_0x1898c5(0x1d4),null),_0xd9b4bc(this,_0x1898c5(0x3b7),new Map()),_0xd9b4bc(this,_0x1898c5(0x381),new Map()),this[_0x1898c5(0x2ee)]();}[_0x26cc89(0x203)](){const _0x518dfb=_0x26cc89;super[_0x518dfb(0x203)](),this[_0x518dfb(0x3b7)]['forEach']((_0x19a9b2,_0x5bc4b5)=>this[_0x518dfb(0x2a4)](_0x5bc4b5)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x518dfb(0x1d4)]);}[_0x26cc89(0x31d)](_0x29c64){const _0x249002=_0x26cc89;return this[_0x249002(0x2b5)](_0x29c64)['pipe'](_0x4287b5[_0x249002(0x28a)]());}[_0x26cc89(0x231)](_0x53ea4a){const _0x5027ef=_0x26cc89;this[_0x5027ef(0x193)][_0x5027ef(0x239)]===0x0&&this[_0x5027ef(0x364)](),this[_0x5027ef(0x193)]['add'](_0x53ea4a),this['_send']({'type':0x0,'memberID':this[_0x5027ef(0x300)],'unitIDs':[_0x53ea4a],'isForwarded':!0x1});}[_0x26cc89(0x1b9)](_0x39e1cf){const _0x37c387=_0x26cc89;this[_0x37c387(0x193)][_0x37c387(0x26b)](_0x39e1cf),this[_0x37c387(0x193)][_0x37c387(0x239)]===0x0&&this[_0x37c387(0x1d4)]&&window[_0x37c387(0x18a)](this['_heartbeatTimer']);}[_0x26cc89(0x2ee)](){const _0x374acb=_0x26cc89;this[_0x374acb(0x2bc)](_0x1c002c[_0x374acb(0x1ed)](_0x4287b5[_0x374acb(0x19d)](window,_0x374acb(0x2c6))['subscribe'](_0x3c77eb=>{const _0x2b70a3=_0x374acb;if(_0x3c77eb[_0x2b70a3(0x37b)]!==_0x4100d1||!_0x3c77eb['newValue'])return;const _0x4790d9=JSON[_0x2b70a3(0x3fe)](_0x3c77eb[_0x2b70a3(0x2e8)]);this[_0x2b70a3(0x17f)](_0x4790d9);}))),window[_0x374acb(0x1a8)](_0x374acb(0x3af),()=>this[_0x374acb(0x33c)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x374acb(0x3de)](this[_0x374acb(0x193)])}));}[_0x26cc89(0x17f)](_0x3411b4){const _0x3ce273=_0x26cc89;switch(_0x3411b4[_0x3ce273(0x1ee)]){case 0x0:this[_0x3ce273(0x356)](_0x3411b4);break;case 0x1:this['_handleLeaveEvent'](_0x3411b4);break;case 0x2:this[_0x3ce273(0x3ff)](_0x3411b4);break;}}[_0x26cc89(0x356)](_0x5e1fd9){const _0x52a156=_0x26cc89,{unitIDs:_0x3d4c77,memberID:_0x4d50c6,isForwarded:_0x5ee0e9}=_0x5e1fd9;_0x3d4c77['forEach'](_0x50f150=>{const _0x246514=_0x30a1;if(!_0x5ee0e9&&this[_0x246514(0x322)][_0x246514(0x2fe)](_0x50f150)&&this[_0x246514(0x2b5)](_0x50f150)['next'](_0x827ff8[_0x246514(0x2c0)][_0x246514(0x26e)]),!this[_0x246514(0x322)][_0x246514(0x2fe)](_0x50f150)||!this['_unitOnClients'][_0x246514(0x1dd)](_0x50f150)[_0x246514(0x2fe)](_0x4d50c6)){const _0x4c5749=this[_0x246514(0x322)][_0x246514(0x1dd)](_0x50f150)||new Set();_0x4c5749['add'](_0x4d50c6),this[_0x246514(0x322)][_0x246514(0x391)](_0x50f150,_0x4c5749),this[_0x246514(0x377)](_0x4d50c6);}}),_0x5ee0e9||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x52a156(0x193)]],'isForwarded':!0x0});}[_0x26cc89(0x377)](_0x57c00a){const _0x413d7e=_0x26cc89;this[_0x413d7e(0x2a4)](_0x57c00a);const _0x194b03=window['setTimeout'](()=>{const _0x20569c=_0x413d7e;this[_0x20569c(0x322)][_0x20569c(0x36a)](_0x484e9f=>{_0x484e9f['delete'](_0x57c00a);});},_0x8792f4*0x2);this[_0x413d7e(0x3b7)][_0x413d7e(0x391)](_0x57c00a,_0x194b03);}[_0x26cc89(0x2a4)](_0x1d5c32){const _0x50e29d=_0x26cc89;if(this['_clearOtherTimers'][_0x50e29d(0x2fe)](_0x1d5c32)){const _0x21cbac=this['_clearOtherTimers']['get'](_0x1d5c32);_0x21cbac&&window[_0x50e29d(0x388)](_0x21cbac),this['_clearOtherTimers'][_0x50e29d(0x391)](_0x1d5c32,null);}}[_0x26cc89(0x236)](_0x311cfd){const _0x50780b=_0x26cc89,{memberID:_0x1c275d,unitIDs:_0x167b43}=_0x311cfd;_0x167b43[_0x50780b(0x36a)](_0x1bfd9a=>{const _0x68ebb1=_0x50780b;var _0xdd96ba;const _0x14aa2e=this['_unitOnClients'][_0x68ebb1(0x1dd)](_0x1bfd9a);_0x14aa2e&&(_0x14aa2e[_0x68ebb1(0x26b)](_0x1c275d),(_0xdd96ba=this[_0x68ebb1(0x2b5)](_0x1bfd9a))==null||_0xdd96ba['next'](_0x14aa2e[_0x68ebb1(0x239)]===0x0?_0x827ff8[_0x68ebb1(0x2c0)][_0x68ebb1(0x306)]:_0x827ff8[_0x68ebb1(0x2c0)][_0x68ebb1(0x26e)]));}),this[_0x50780b(0x2a4)](_0x1c275d);}[_0x26cc89(0x3ff)](_0x5cd107){const _0x4c3210=_0x26cc89;this[_0x4c3210(0x377)](_0x5cd107[_0x4c3210(0x2c8)]);}[_0x26cc89(0x33c)](_0x4a7f4a){const _0x566523=_0x26cc89;localStorage[_0x566523(0x285)](_0x4100d1,JSON[_0x566523(0x185)](_0x4a7f4a));}[_0x26cc89(0x364)](){const _0x59fc8f=_0x26cc89;this['_heartbeatTimer']=window[_0x59fc8f(0x2e3)](()=>{const _0x113755=_0x59fc8f;this[_0x113755(0x33c)]({'type':0x2,'memberID':this['_id']});},_0x8792f4);}['_ensureSubject'](_0x4c245b){const _0x9a76ae=_0x26cc89;return this[_0x9a76ae(0x381)][_0x9a76ae(0x2fe)](_0x4c245b)||this[_0x9a76ae(0x381)][_0x9a76ae(0x391)](_0x4c245b,new _0x4287b5[(_0x9a76ae(0x173))](_0x827ff8['UnitStatus'][_0x9a76ae(0x306)])),this['_unitStatus'][_0x9a76ae(0x1dd)](_0x4c245b);}}var _0x510fae=(_0x171411=>(_0x171411[_0x171411['UNDEFINED']=0x0]=_0x26cc89(0x2ba),_0x171411[_0x171411['OK']=0x1]='OK',_0x171411[_0x171411['INTERNAL_ERROR']=0x2]=_0x26cc89(0x396),_0x171411[_0x171411[_0x26cc89(0x2d6)]=0x3]='PERMISSION_DENIED',_0x171411[_0x171411['NOT_FOUND']=0x4]=_0x26cc89(0x192),_0x171411[_0x171411[_0x26cc89(0x394)]=0x5]=_0x26cc89(0x394),_0x171411[_0x171411[_0x26cc89(0x397)]=0x6]=_0x26cc89(0x397),_0x171411[_0x171411[_0x26cc89(0x338)]=0x7]=_0x26cc89(0x338),_0x171411[_0x171411[_0x26cc89(0x164)]=0x8]='TOO_MANY_REQUESTS',_0x171411[_0x171411[_0x26cc89(0x2cb)]=0x9]=_0x26cc89(0x2cb),_0x171411[_0x171411[_0x26cc89(0x374)]=0xa]='LOGIN_FAILED',_0x171411[_0x171411[_0x26cc89(0x24f)]=0x1389]=_0x26cc89(0x24f),_0x171411[_0x171411[_0x26cc89(0x34b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x171411[_0x171411[_0x26cc89(0x1cf)]=0x1772]=_0x26cc89(0x1cf),_0x171411[_0x171411[_0x26cc89(0x168)]=0x1773]=_0x26cc89(0x168),_0x171411[_0x171411[_0x26cc89(0x23f)]=0x1b59]='APPLY_REJECT',_0x171411[_0x171411[_0x26cc89(0x29b)]=0x1b5a]=_0x26cc89(0x29b),_0x171411[_0x171411[_0x26cc89(0x33d)]=0x1b5b]=_0x26cc89(0x33d),_0x171411[_0x171411[_0x26cc89(0x1da)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x171411[_0x171411[_0x26cc89(0x3fa)]=0x1b5d]=_0x26cc89(0x3fa),_0x171411[_0x171411['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x26cc89(0x317),_0x171411[_0x171411['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x26cc89(0x32b),_0x171411[_0x171411[_0x26cc89(0x298)]=0x232a]=_0x26cc89(0x298),_0x171411[_0x171411['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x26cc89(0x1e7),_0x171411[_0x171411['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x26cc89(0x220),_0x171411[_0x171411[_0x26cc89(0x30e)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x171411[_0x171411[_0x26cc89(0x202)]=0x2711]=_0x26cc89(0x202),_0x171411[_0x171411[_0x26cc89(0x3c2)]=0x2712]=_0x26cc89(0x3c2),_0x171411[_0x171411[_0x26cc89(0x385)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x171411[_0x171411[_0x26cc89(0x178)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x171411[_0x171411[_0x26cc89(0x18f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x171411[_0x171411[_0x26cc89(0x224)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x171411[_0x171411[_0x26cc89(0x170)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x171411[_0x171411['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x26cc89(0x357),_0x171411[_0x171411[_0x26cc89(0x303)]=0x271e]=_0x26cc89(0x303),_0x171411[_0x171411[_0x26cc89(0x343)]=0x271f]=_0x26cc89(0x343),_0x171411[_0x171411[_0x26cc89(0x2a7)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x171411[_0x171411[_0x26cc89(0x3f4)]=0x2ee1]=_0x26cc89(0x3f4),_0x171411[_0x171411[_0x26cc89(0x2ef)]=0x2ee2]='INVALID_INVITE_CODE',_0x171411[_0x171411[_0x26cc89(0x2ec)]=0x2ee3]=_0x26cc89(0x2ec),_0x171411[_0x171411[_0x26cc89(0x195)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x171411[_0x171411['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x26cc89(0x283),_0x171411[_0x171411[_0x26cc89(0x24a)]=0x32c9]=_0x26cc89(0x24a),_0x171411[_0x171411['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x26cc89(0x2df),_0x171411[_0x171411[_0x26cc89(0x22a)]=0x32cb]=_0x26cc89(0x22a),_0x171411[_0x171411[_0x26cc89(0x321)]=-0x1]=_0x26cc89(0x321),_0x171411))(_0x510fae||{}),_0x141afb=Object[_0x26cc89(0x252)],_0x32fa26=(_0x5b2a89,_0x1e15f4,_0x3a8bdc,_0x4a12b2)=>{const _0x3257fb=_0x26cc89;for(var _0x5c4a5e=_0x4a12b2>0x1?void 0x0:_0x4a12b2?_0x141afb(_0x1e15f4,_0x3a8bdc):_0x1e15f4,_0x58d1a4=_0x5b2a89[_0x3257fb(0x17b)]-0x1,_0x538b65;_0x58d1a4>=0x0;_0x58d1a4--)(_0x538b65=_0x5b2a89[_0x58d1a4])&&(_0x5c4a5e=_0x538b65(_0x5c4a5e)||_0x5c4a5e);return _0x5c4a5e;},_0x4558cf=(_0x22adc4,_0x4e6685)=>(_0x5bb294,_0x9a925c)=>_0x4e6685(_0x5bb294,_0x9a925c,_0x22adc4);_0x3dc1b0[_0x26cc89(0x36c)]=class extends _0x1c002c[_0x26cc89(0x332)]{constructor(_0x3602d7,_0x137f4d,_0x400b7e){const _0x375748=_0x26cc89;super(),this[_0x375748(0x33f)]=_0x3602d7,this[_0x375748(0x277)]=_0x137f4d,this[_0x375748(0x2e7)]=_0x400b7e;}async[_0x26cc89(0x34f)](_0xa5fe81,_0x123dfb,_0x1a508f,..._0x518c95){const _0x4cd7b6=_0x26cc89;var _0x4aadd3,_0x4aa5b7,_0x5e133f,_0x1f0e71;const _0x8b7fa4=this['_instanceService']['getFocusedUnit']();if(!_0x8b7fa4)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x37065c=((_0x4aadd3=this[_0x4cd7b6(0x2e7)][_0x4cd7b6(0x240)](_0x827ff8[_0x4cd7b6(0x276)]))!=null?_0x4aadd3:_0x827ff8['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0xa5fe81+_0x4cd7b6(0x1b1)+_0x123dfb,_0x1986fb=new URL(window[_0x4cd7b6(0x1cb)][_0x4cd7b6(0x3d5)]),_0x1c433b={'scriptId':_0xa5fe81,'runId':(_0x4aa5b7=_0x1986fb[_0x4cd7b6(0x30b)]['get'](_0x4cd7b6(0x3f5)))!=null?_0x4aa5b7:'','function':_0x123dfb,'unitId':_0x8b7fa4[_0x4cd7b6(0x212)](),'argsOfFunction':JSON['stringify'](_0x518c95),'invokeId':(_0x5e133f=_0x1a508f[_0x4cd7b6(0x1c7)])!=null?_0x5e133f:'','executionId':(_0x1f0e71=_0x1a508f[_0x4cd7b6(0x3e7)])!=null?_0x1f0e71:''};try{const _0x2a2759=await this['_httpService']['post'](_0x37065c,{'body':_0x1c433b});return _0x2a2759[_0x4cd7b6(0x1b6)][_0x4cd7b6(0x2b4)]&&_0x2a2759[_0x4cd7b6(0x1b6)][_0x4cd7b6(0x2b4)][_0x4cd7b6(0x2a0)]!==_0x510fae['OK']?_0x4cd7b6(0x1e5):_0x2a2759['body'][_0x4cd7b6(0x1df)];}catch{return'Failed';}}},_0x3dc1b0['RemoteUniscriptService']=_0x32fa26([_0x4558cf(0x0,_0x1c002c[_0x26cc89(0x32d)]),_0x4558cf(0x1,_0x1c002c['Inject'](_0x286260[_0x26cc89(0x20b)])),_0x4558cf(0x2,_0x1c002c['IConfigService'])],_0x3dc1b0['RemoteUniscriptService']),_0x3dc1b0['CollaborationStatusDisplay']=_0x725819,_0x3dc1b0['IURLService']=_0x53ff22,_0x3dc1b0[_0x26cc89(0x3b1)]=_0x9aba2b,_0x3dc1b0[_0x26cc89(0x1a2)]=_0x3cdc42,_0x3dc1b0['WebURLService']=_0x3a8e37,Object['defineProperty'](_0x3dc1b0,Symbol[_0x26cc89(0x3b0)],{'value':_0x26cc89(0x2ad)});}));
|
|
1
|
+
function _0x156e(_0xa8619b,_0x15e4f0){const _0xf56a06=_0xf56a();return _0x156e=function(_0x156ebd,_0x4066e7){_0x156ebd=_0x156ebd-0x113;let _0x3b98e8=_0xf56a06[_0x156ebd];return _0x3b98e8;},_0x156e(_0xa8619b,_0x15e4f0);}function _0xf56a(){const _0x46cdb3=['displayName','_saveTaskMap','NOT_COLLAB','UnitStatus','stringify','bottom','@univerjs/sheets','roomMembers$','RichTextEditingMutation','forEach','react','jsxs','symbol','colorChannel1','LocaleService','rxjs/operators','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sessionTicket','handleMoveRange','onLocalMutation','OTHER_CLIENT_EDITING','_cachedData','@univerjs/rpc','_toggleOffline','_docSkeletonManagerService','disableLocalCache','undoState','getCoordByCell','measureText','touchDependencies','IRenderManagerService','YUUMI_AI_RUN_FAILED','collabStatus.offline','handleIRemoveRow','_handleHover','UniverNetwork','CONFLICT','@univerjs/core','BehaviorSubject','UNDEFINED','labelPosition','CollaborationUIEventService','type','IMessageService','_dataLoaderService','setActiveRange','reconnect','getItem','@univerjs-pro/collaboration-client','disposeWithMe','text','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_instanceService','INTERNAL_ERROR','name','ThemeService','ILocalCacheService','UniverCollaborationClientPlugin','clearTimeout','_shapes','_refreshCollabCursors','APPLY_REVISION_CONFILICT','unitID','APPLY_NON_SEQUENTIAL_REVISION','CLOSE_ROOM','_draw','_uiPartsService','from','_renderManagerService','selections','_doCreateSocket','RemoteUniscriptService','_getSaveTimeout','UniverUi','SheetCollabCursorShape','getActiveRange','_revisionService','Unknown\x20user','assign','_refRangeService','_status$','takeUntil','IImageIoService','getSheetObject','extend','getTypeOfUnitDisposed$','get','subscribe','deserializeRangeWithSheet','INVITE_CODE_ALREADY_BOUND','fillStyle','CollaborationController','getMergeData','PERMISSION_DENIED','lineTo','_unitOnClients','YUUMI_UNABLE_LOAD_URL','setShapeProps','override','_config','save','svg','_anchorDot','dispose','_collabSessionService','runId','MUTATION','collabCursorState$','_labelPosition','engine','RefRangeService','_configService','useDependency','SheetSkeletonManagerService','cursorInfo$','_createSocketURL','getRangePointData','WECHAT_HAS_BEEN_BOUND','popstate','_initStatusComponent','trim','selection','flatMap','_getScale','on-line-single','collab-text-range-','BuiltInUIPart','_onCursorDelete','sheetId','useRef','UniverProCollaboration','transformIMECache','registerRefRange','key','UNIVER_DOC','mergeOverrideWithDependencies','CollaborationSessionService','WebSocketService','blue.400','createIdentifier','indexOf','location','registerDependencies','show','set','handleInsertRangeMoveDown','getMember','YUUMI_URL_COL_OUT_OF_RANGE','values','assignAColorForMemberID','imageSourceType','getOwnPropertySymbols','connectInjector','collabStatus.conflict','_range','random','setUndoRedoMutationParamsCache','onCommandExecuted','_imageIoService','Optional','shareReplay','TEXT','replace','has','ENSURE_SNAPSHOT_EXECUTION','_onRefRangeChange','RegularPolygon','_name','jsx','includes','_context','_onCursorUpdate','operators','substring','string','then','params','clsx','_eventUnsubscribe','addObject','debounceTime','EffectRefRangId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabStatus.syncing','_colorAssignService','_heartbeatTimer','CollaborationDataLoaderController','@univerjs/docs-ui','BrowserCollaborationSocketService','textRanges','_handleHeartbeatEvent','history','rxjs','SetWorksheetActivateCommand','_docTransformIMECacheService','syncEditingCollabCursor','_setupSubUnitSync','handleDeleteRangeMoveLeft','onPointerEnter$','activeSheet$','clearInterval','handleDeleteRangeMoveUp','getUndoRedoMutationParamsCache','_scheduleClearOtherTimer','React','getColorFromTheme','DOC_RANGE_TYPE','fromEvent','getOwnPropertyDescriptor','saveTaskMap','_initCommandExecutedListener','currentSkeleton$','fill','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','getUnitId','enableLocalCache','getStateCache','toDisposable','APPLY_REJECT','onMouseMove','_docStateChangeManagerService','DisposableCollection','m2Prime','2292tYTizs','color','green.600','fillRule','_updateLocalCursor','height','yellow.400','_session','collaboration-client.offline-data-not-saved','throttleTime','cursorInfo','_updateSubUnitFromURLParams','toRgbString','subUnitId','1519938nkzISS','@univerjs/docs','RemoveColCommandId','_entities','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','range','round','_cursors','forwardRef','_httpService','LICENSE_DISTRO_REJECTED','@univerjs/drawing','ALREADY_EXISTS','_initEntityListener','addClipboardHook','getColor','_unitStatus','complete','UniverSheets','INVALID_INVITE_CODE','getUniverSheetInstance','4858016BWWTUX','_drawAnchor','APPLY_DUPLICATED','@univerjs-pro/collaboration','with','ticket','mask','amd','getVpScrollXYInfoByPosToVp','_syncEditingCollabCursorService','unsubscribe','_removeCollabCursors','init','getTypeOfUnitAdded$','UNIVER_SHEET','isArray','CollaborationUIEventId','onStarting','tag','LOGIN_FAILED','_setupBeforeClosingHandler','saveOfflineData','_handleJoinEvent','_getSheetObject','ONLINE','debug','_registerDependencies','contains','startsWith','doc.mutation.rich-text-editing','getCollabCursors$','isTransformMutationFailure','fillText','_colorIndex','asObservable','_docClipboardService','CONNECTOR_DATA_TOO_LARGE','map','YUUMI_ALL_TABLES_IS_INVALID','_scheduleSaving','Vector2','result','runOnServer','getOffsetConfig','event$','Injector','_startDocCollabCursor','_assignedColors','_transformUndoRedoStack','_hover','_urlService','href','_transformService','_initStatusListener','concat','COLORS','onPointerLeave$','on-line-single_clip0_910_349','fromEventSubject','_online','transformSelections','DeleteRangeMoveLeftCommandId','1em','debounce','defIds','createElement','0\x200\x2016\x2016','_textBubble','resize','wsSessionTicketUrl','Inject','@univerjs/network','SOCKET_FAILED_RETRY','add','_selfUnitIDs','jiqing.500','setParam','_registerRenderDependencies','AWAITING','transformMutation','some','find','function','data','drawWith','_cursor','executeCommand','_scheduleHeartbeat','FETCH_MISS','OFFLINE','width','_cursorShapes','univer-flex\x20univer-items-center','HTTPService','WebURLService','getUnhiddenWorksheets','ILogService','_sheetSkeletonManagerService','9ZShWxt','INVITE_CODE_REQUIRED','react/jsx-runtime','1433262nPDJvc','_getSessionTicket','row','max','executionId','RxDisposable','@univerjs/design','actions','attrs','mapTo','_getAnchorBounding','merge','application/json','APPLY_PERMISSION_DENIED','_initDependencies','_transformPreviousActiveRange','SYNCED','top','setAlpha','toString','pushState','FromArray','entityInit$','exhaustSavingTask','min','purple.300','_ensureSubject','length','_roomMembers$','_localCacheService','DeleteRangeMoveUpCommandId','disposeUnit','transformStateCache','COMPLETION_FINISHED','transformRemoteChangeset','unit','div','SetSelectionsOperation','permission.content','Tools','url(#$1','7wyXHep','INotificationService','searchParams','_backgroundColor','UniverInstanceType','collab-client.tooltip.reconnect','arc','0\x200\x2017\x2016','UniverDocsUi','@univerjs/engine-render','_scene','none','combineLatest','uni.network.url-service','[CollaborationDataLoaderController]','Error','_init','icon','collabStatus.synced','className','setConfig','InsertRangeMoveDownCommandId','IConfigService','_commandService','SheetsSelectionsService','ITransformService','...','SessionStatus','INVITE_CODE_HAS_BEEN_UES','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverEngineFormula','InsertRowCommandId','unshift','UNRECOGNIZED','generateRandomId','LICENSE_EXPORT_SIZE_EXCEEDED','ICommandService','_themeService','rgba(255,\x20255,\x20255,\x200.01)','SNAPSHOT_INVALID_SNAPSHOT','size','switchMap','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IDocClipboardService','error','SetDocZoomRatioOperation','getSkeleton','post','_lastPointer','_cursorInfo$','MOBILE_HAS_BEEN_BOUND','createSocket','_clearOtherTimers','TRANSFORM_CHANGE_OBSERVABLE_TYPE','VIEW_MAIN','redoState','#fff','UniverEngineRender','_messageService','SetTextSelectionsOperation','_handleEvent','push','replaceDocRanges','PY_RUNTIME_SCRIPT_ERROR','onTransformChange$','removeParam','_color','_hovered','getParam','getMemberID','_startSheetCollabCursor','defs','whenReady','UniverCore','storage','defineProperty','univer-flex\x20univer-mr-2\x20univer-text-xl','OnLineSingle','red.300','_initEvent','isTransformMutationsWithChangesetSuccess','11lPawoS','DocStateChangeManagerService','delete','UniverIcon','getConfig','UniverDesign','pipe','ACTIVE_UNIT_EVENT_CHANNEL','entries','isActive','pluginName','filter','CollaborationEvent','send','mutations','DEFAULT_WS_SESSION_TICKET_URL','_collabCursorState$','closePath','UNAUTHENTICATED','registerComponent','handleIRemoveCol','addObjects','_entityInit$','InsertRangeMoveRightCommandId','@univerjs/sheets-ui','ILocalStorageService','_collabCursorController','_localeService','collaboration.closeRoom','_transformHistoryAndStateStack','clipPath','NO_OTHER_CLIENTS_EDITING','body','_hideTimer','OTHER_CLIENTS_EDITING','_getMergeRange','idSuffix','black','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getCurrentRevOfUnit','getCurrent','getFocusedUnit','EMAIL_HAS_BEEN_BOUND','912608sdSLZj','CHANGESET_REVISION_CONFILICT','Rect','_collaborationController','getCellPositionByOffset','2980qmcXSv','evenodd','currentTheme$','registerBeforeClose','NodePositionConvertToRectRange','UniverCollaborationClientUIPlugin','_saveCache','M0\x200H16V16H0z','LOCAL_CACHE_INTERVAL','USER_NOT_INVITED_CODE','getCollabEntity$','#FFF','SHEET_VIEWPORT_KEY','_updateURLWithCurrentState','parse','WebBrowserSingleActiveUnitService','_id','split','getCurrentSelections','Warning','_docSyncEditingCollabCursorService','DataLoaderService','url(#on-line-single_clip0_910_349)','restore','YUUMI_NO_CUBOID_FOR_QUESTION','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','findNodePositionByCharIndex','UniverRpc','USERS_LEAVE','Shape','registerRenderModule','Rectangle','_initResize','YUUMI_RATE_OVER_LIMIT','handleInsertCol','CollaborationStatus','_injector','onPointerMove$','DocIMEInputManagerService','use','getRelativeToViewportCoord','SOCKET_FAILED','_memberService','useObservable','addEventListener','hasOwnProperty','createInstance','_logService','101372mIbuzM','getLocalCacheKey','subscribeEvent','_toggleOnline','UPDATE_CURSOR','_beforeCloseService','children','getActiveSheet','DesktopCollaborationStatusDisplayController','UniverDrawing','newValue','_collaborationUIEventService','LICENSE_MAX_UNITS_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','requireSession','eventID','subunit','saveImage','UniverSheetsUi','_docSkeleton','Plugin','xlink:href','_anchor','ColorKit','MessageType','source','endColumn','Disposable','updateOfflineData','TOO_MANY_REQUESTS','invokeId','ISnapshotServerService','_drawRectRange','getAncestorScale','RevisionService','_updateCollabCursors','replaceState','_removeClearOtherTimer','makeDirty','handleInsertRow','propertyIsEnumerable','dispose$','deepClone','unitId','Failed','path','_docTransformStateCacheService','_document','UniverDocs','sessionStatus$','_drawTextRange','call','IUniverInstanceService','Subject','prototype','loadUnit','hide','_localStorageService','_univerInstanceService','6394050ZeaRzA','NOT_FOUND','_disabled','YUUMI_ASYNCIO_CANCELLED','next','ranges','setItem','getRenderById','getViewport','TEXT_RANGE_LAYER_INDEX','isEditing','handleInsertRangeMoveRight','roomMembers','_render','session.will-retry','@univerjs/ui','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','IRemoteInstanceService','_send','editingUnit','runRefRangeMutations','getDocRanges','SNAPSHOT_HAS_BEEN_REMOVED','getSheetBySheetId','getSheetId','_handleLeaveEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','m1Prime','HEADER_MENU','collabStatus.notCollab','/run/','_notificationService','DocCollaborationEntity','serializeRangeWithSheet'];_0xf56a=function(){return _0x46cdb3;};return _0xf56a();}(function(_0x26f113,_0x1d2095){const _0x2205ca=_0x156e,_0x136887=_0x26f113();while(!![]){try{const _0x24ad3f=-parseInt(_0x2205ca(0x2b7))/0x1+parseInt(_0x2205ca(0x282))/0x2+parseInt(_0x2205ca(0x163))/0x3+-parseInt(_0x2205ca(0x155))/0x4*(parseInt(_0x2205ca(0x287))/0x5)+-parseInt(_0x2205ca(0x1dd))/0x6*(parseInt(_0x2205ca(0x206))/0x7)+-parseInt(_0x2205ca(0x178))/0x8*(parseInt(_0x2205ca(0x1da))/0x9)+-parseInt(_0x2205ca(0x2f2))/0xa*(-parseInt(_0x2205ca(0x257))/0xb);if(_0x24ad3f===_0x1d2095)break;else _0x136887['push'](_0x136887['shift']());}catch(_0x55f4d2){_0x136887['push'](_0x136887['shift']());}}}(_0xf56a,0x4c802),function(_0x2556dc,_0x1ca055){const _0x6c52c3=_0x156e;typeof exports=='object'&&typeof module<'u'?_0x1ca055(exports,require(_0x6c52c3(0x344)),require('@univerjs/core'),require(_0x6c52c3(0x20f)),require(_0x6c52c3(0x1bf)),require('@univerjs/docs-ui'),require(_0x6c52c3(0x16e)),require(_0x6c52c3(0x136)),require(_0x6c52c3(0x164)),require(_0x6c52c3(0x17b)),require('@univerjs/engine-formula'),require(_0x6c52c3(0x31a)),require(_0x6c52c3(0x323)),require(_0x6c52c3(0x26f)),require(_0x6c52c3(0x1dc)),require(_0x6c52c3(0x301)),require(_0x6c52c3(0x1e3)),require('react'),require(_0x6c52c3(0x32a))):typeof define==_0x6c52c3(0x1ca)&&define[_0x6c52c3(0x17f)]?define(['exports',_0x6c52c3(0x344),_0x6c52c3(0x339),_0x6c52c3(0x20f),'@univerjs/network',_0x6c52c3(0x131),_0x6c52c3(0x16e),_0x6c52c3(0x136),'@univerjs/docs',_0x6c52c3(0x17b),'@univerjs/engine-formula',_0x6c52c3(0x31a),_0x6c52c3(0x323),'@univerjs/sheets-ui',_0x6c52c3(0x1dc),'@univerjs/ui',_0x6c52c3(0x1e3),_0x6c52c3(0x31e),_0x6c52c3(0x32a)],_0x1ca055):(_0x2556dc=typeof globalThis<'u'?globalThis:_0x2556dc||self,_0x1ca055(_0x2556dc['UniverProCollaborationClientUi']={},_0x2556dc['UniverProCollaborationClient'],_0x2556dc[_0x6c52c3(0x24f)],_0x2556dc[_0x6c52c3(0x23f)],_0x2556dc[_0x6c52c3(0x337)],_0x2556dc[_0x6c52c3(0x20e)],_0x2556dc[_0x6c52c3(0x2c0)],_0x2556dc[_0x6c52c3(0x136)],_0x2556dc[_0x6c52c3(0x2e7)],_0x2556dc[_0x6c52c3(0x396)],_0x2556dc[_0x6c52c3(0x224)],_0x2556dc[_0x6c52c3(0x175)],_0x2556dc[_0x6c52c3(0x136)][_0x6c52c3(0x122)],_0x2556dc[_0x6c52c3(0x2c9)],_0x2556dc[_0x6c52c3(0x142)],_0x2556dc[_0x6c52c3(0x35d)],_0x2556dc[_0x6c52c3(0x25c)],_0x2556dc['React'],_0x2556dc[_0x6c52c3(0x2a2)]));}(this,function(_0x1ebb4a,_0x2eddce,_0x268d3b,_0xb8fc77,_0x45e235,_0x58ed4c,_0x4afe1c,_0x399a7e,_0x688e2,_0x2ac5d3,_0xcce0ed,_0x26ad5a,_0x30c278,_0x41fdc4,_0xdd3140,_0x29ec39,_0x5333e1,_0x4964a2,_0x7ad451){'use strict';const _0x2c8ec4=_0x156e;var _0x2b6d14=Object['defineProperty'],_0x3a0385=(_0x15c311,_0x59fed0,_0x351a80)=>_0x59fed0 in _0x15c311?_0x2b6d14(_0x15c311,_0x59fed0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x351a80}):_0x15c311[_0x59fed0]=_0x351a80,_0x42374b=(_0x2e86d4,_0x4d874b,_0x42b01a)=>_0x3a0385(_0x2e86d4,typeof _0x4d874b!=_0x2c8ec4(0x320)?_0x4d874b+'':_0x4d874b,_0x42b01a),_0x34e34c=Object['getOwnPropertyDescriptor'],_0x14ab39=(_0x492fef,_0x3b4ca7,_0x53a3bb,_0x3e7b3b)=>{const _0x4a8a9d=_0x2c8ec4;for(var _0x275cdb=_0x3e7b3b>0x1?void 0x0:_0x3e7b3b?_0x34e34c(_0x3b4ca7,_0x53a3bb):_0x3b4ca7,_0x153262=_0x492fef[_0x4a8a9d(0x1f8)]-0x1,_0x4b1f6d;_0x153262>=0x0;_0x153262--)(_0x4b1f6d=_0x492fef[_0x153262])&&(_0x275cdb=_0x4b1f6d(_0x275cdb)||_0x275cdb);return _0x275cdb;},_0x457963=(_0x3743f2,_0x4e3ea2)=>(_0x160dea,_0x34ae89)=>_0x4e3ea2(_0x160dea,_0x34ae89,_0x3743f2);let _0x2c02c5=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x4d4394,_0x53e0aa){const _0x386c21=_0x2c8ec4;super(),this[_0x386c21(0x19b)]=_0x4d4394,this[_0x386c21(0x114)]=_0x53e0aa,this[_0x386c21(0x216)]();}[_0x2c8ec4(0x216)](){const _0x50c37c=_0x2c8ec4,_0x15f63b=this;this[_0x50c37c(0x345)](this[_0x50c37c(0x19b)][_0x50c37c(0x171)]({'onBeforePasteImage':async _0x23f6bd=>{const _0x196927=_0x50c37c,_0x590f30=await _0x15f63b[_0x196927(0x114)][_0x196927(0x2c8)](_0x23f6bd);return _0x590f30?{'source':_0x590f30[_0x196927(0x2d0)],'imageSourceType':_0x590f30[_0x196927(0x3aa)]}:null;}}));}};_0x2c02c5=_0x14ab39([_0x457963(0x0,_0x58ed4c[_0x2c8ec4(0x231)]),_0x457963(0x1,_0x4afe1c[_0x2c8ec4(0x366)])],_0x2c02c5);const _0x2a8919=[_0x2c8ec4(0x1f6),_0x2c8ec4(0x1c3),_0x2c8ec4(0x157),_0x2c8ec4(0x254),_0x2c8ec4(0x39e),_0x2c8ec4(0x15b)];class _0x1ad7cd extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(){const _0xb69db9=_0x2c8ec4;super(...arguments),_0x42374b(this,_0xb69db9(0x1a7),new Map()),_0x42374b(this,'_colorIndex',0x0);}[_0x2c8ec4(0x3a9)](_0x4edf1d){const _0x1aa704=_0x2c8ec4;if(this[_0x1aa704(0x1a7)]['has'](_0x4edf1d))return this[_0x1aa704(0x1a7)]['get'](_0x4edf1d);const _0x3860ff=_0x2a8919[this[_0x1aa704(0x199)]];return this[_0x1aa704(0x199)]=(this['_colorIndex']+0x1)%_0x2a8919['length'],this['_assignedColors'][_0x1aa704(0x3a4)](_0x4edf1d,_0x3860ff),_0x3860ff;}}function _0x25e978(_0x22bf21){const _0x3a299c=_0x2c8ec4;let _0x1817ad='';for(const _0xfe2ab7 of _0x22bf21){const {startOffset:_0x153a2a,endOffset:_0x486dda,isActive:_0x1f66b7,rangeType:_0x35eb05,segmentId:_0x4797ec,segmentPage:_0x45a51b}=_0xfe2ab7;_0x1817ad[_0x3a299c(0x1f8)]&&(_0x1817ad+=','),_0x1817ad+=_0x153a2a+':'+_0x486dda+':'+(_0x1f66b7?'1':'0')+':'+_0x35eb05+':'+_0x4797ec+':'+_0x45a51b;}return _0x1817ad;}function _0x10f436(_0x430054){const _0x405c47=_0x2c8ec4,_0x29688e=_0x430054[_0x405c47(0x298)](','),_0x298d90=[];for(const _0x535b38 of _0x29688e){const [_0x364acc,_0x1941ce,_0x264c2a,_0x49bba4,_0x2540e7,_0x1ac26a]=_0x535b38['split'](':');_0x298d90['push']({'startOffset':Number(_0x364acc),'endOffset':Number(_0x1941ce),'collapsed':_0x364acc===_0x1941ce,'isActive':_0x264c2a==='1','rangeType':_0x49bba4===_0x268d3b[_0x405c47(0x144)][_0x405c47(0x117)]?_0x268d3b[_0x405c47(0x144)][_0x405c47(0x117)]:_0x268d3b['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x2540e7==_0x405c47(0x124)?String(_0x2540e7):'','segmentPage':Number(_0x1ac26a!=null?_0x1ac26a:-0x1)});}return _0x298d90[_0x405c47(0x1c8)](_0x50213c=>_0x50213c[_0x405c47(0x260)])||(_0x298d90[0x0][_0x405c47(0x260)]=!0x0),_0x298d90;}class _0x2fcdcb extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(){const _0xb1c8d7=_0x2c8ec4;super(...arguments),_0x42374b(this,_0xb1c8d7(0x267),new _0x399a7e[(_0xb1c8d7(0x33a))](null)),_0x42374b(this,'collabCursorState$',this[_0xb1c8d7(0x267)][_0xb1c8d7(0x19a)]());}[_0x2c8ec4(0x139)](_0x315b82){const _0x4d8084=_0x2c8ec4,{unitID:_0x358c8d,memberID:_0xb9f861,textRanges:_0x2c139d}=_0x315b82,_0x4b2cb0=_0x25e978(_0x2c139d);if(_0x4b2cb0==='')return;const _0x47901e={'unitID':_0x358c8d,'memberID':_0xb9f861,'selection':_0x4b2cb0};this[_0x4d8084(0x267)][_0x4d8084(0x2f6)](_0x47901e);}}var _0x53671f=Object['getOwnPropertyDescriptor'],_0x4d24dd=(_0x2948d1,_0x3081d7,_0x5466fe,_0x3bc45c)=>{const _0x352eb8=_0x2c8ec4;for(var _0x4f1f29=_0x3bc45c>0x1?void 0x0:_0x3bc45c?_0x53671f(_0x3081d7,_0x5466fe):_0x3081d7,_0x814f7f=_0x2948d1[_0x352eb8(0x1f8)]-0x1,_0x4af9f0;_0x814f7f>=0x0;_0x814f7f--)(_0x4af9f0=_0x2948d1[_0x814f7f])&&(_0x4f1f29=_0x4af9f0(_0x4f1f29)||_0x4f1f29);return _0x4f1f29;},_0x5adf12=(_0x56e68b,_0x4f438b)=>(_0x496524,_0x56684d)=>_0x4f438b(_0x496524,_0x56684d,_0x56e68b);const _0x31df47=0x12c,_0xd3d400=0x64;let _0x158431=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x179ece,_0xf9b3a2,_0x26266f,_0xa26bc6,_0x10bdb2,_0x5dbc04,_0x1f0698,_0x4a95d6,_0x54923e){const _0x152103=_0x2c8ec4;super(),_0x42374b(this,_0x152103(0x1b3),!0x1),_0x42374b(this,_0x152103(0x216),!0x1),_0x42374b(this,_0x152103(0x237),new _0x399a7e['BehaviorSubject'](new Map())),_0x42374b(this,_0x152103(0x386),this['_cursorInfo$'][_0x152103(0x19a)]()),_0x42374b(this,_0x152103(0x1f9),new _0x399a7e[(_0x152103(0x33a))]([])),_0x42374b(this,'roomMembers$',this[_0x152103(0x1f9)][_0x152103(0x25d)](_0x399a7e[_0x152103(0x12a)](_0x31df47))),_0x42374b(this,_0x152103(0x159),_0x268d3b[_0x152103(0x1b7)](_0x6c0173=>{const _0x439150=_0x152103,_0x3b9a84={'eventID':_0x2ac5d3['CollaborationEvent'][_0x439150(0x2bb)],'data':{'unitID':this['unitID'],'memberID':this[_0x439150(0x15c)][_0x439150(0x24b)](),'selection':_0x25e978(_0x6c0173)}};this[_0x439150(0x15c)]['send'](_0x3b9a84,this[_0x439150(0x352)]);},_0xd3d400)),(this[_0x152103(0x352)]=_0x179ece,this['_session']=_0xf9b3a2,this[_0x152103(0x2ab)]=_0x26266f,this[_0x152103(0x12e)]=_0xa26bc6,this[_0x152103(0x2b1)]=_0x10bdb2,this[_0x152103(0x181)]=_0x5dbc04,this['_transformService']=_0x1f0698,this[_0x152103(0x2f1)]=_0x4a95d6,this[_0x152103(0x21d)]=_0x54923e);}get[_0x2c8ec4(0x15f)](){const _0x55313f=_0x2c8ec4;return this[_0x55313f(0x237)]['getValue']();}get['roomMembers'](){const _0x3a5a1c=_0x2c8ec4;return this[_0x3a5a1c(0x1f9)]['getValue']();}['dispose'](){const _0x5ac99a=_0x2c8ec4;super[_0x5ac99a(0x37b)](),this[_0x5ac99a(0x237)]['next'](new Map()),this[_0x5ac99a(0x237)][_0x5ac99a(0x174)](),this[_0x5ac99a(0x1f9)][_0x5ac99a(0x2f6)]([]),this['_roomMembers$'][_0x5ac99a(0x174)]();}[_0x2c8ec4(0x184)](){const _0x29d244=_0x2c8ec4;this[_0x29d244(0x216)]||(this['_init']=!0x0,this[_0x29d244(0x15c)][_0x29d244(0x2e8)][_0x29d244(0x25d)](_0x399a7e['takeUntil'](this[_0x29d244(0x2e0)]))['subscribe'](_0x5401dd=>{const _0x5f43e8=_0x29d244;_0x5401dd===_0x2eddce[_0x5f43e8(0x221)][_0x5f43e8(0x190)]?this['_toggleOnline']():this[_0x5f43e8(0x32b)]();}),this[_0x29d244(0x15c)][_0x29d244(0x1a4)]['pipe'](_0x399a7e[_0x29d244(0x365)](this[_0x29d244(0x2e0)]))['subscribe'](_0x536fde=>{const _0xfcba63=_0x29d244,_0x29db52=_0x536fde['eventID'];_0x29db52===_0x2ac5d3[_0xfcba63(0x263)][_0xfcba63(0x2bb)]&&this[_0xfcba63(0x121)](_0x536fde),_0x29db52===_0x2ac5d3[_0xfcba63(0x263)][_0xfcba63(0x2a3)]&&this[_0xfcba63(0x393)](_0x536fde);}),this[_0x29d244(0x345)](this['_commandService'][_0x29d244(0x113)](_0x1a63db=>{const _0x24a92c=_0x29d244,_0x492451=_0x1a63db[_0x24a92c(0x126)];_0x492451!=null&&this[_0x24a92c(0x1b3)]&&_0x1a63db['id']===_0x688e2[_0x24a92c(0x241)]['id']&&_0x492451['unitId']===this[_0x24a92c(0x352)]&&_0x492451[_0x24a92c(0x2fc)]===!0x1&&_0x492451[_0x24a92c(0x2f7)][_0x24a92c(0x1f8)]>0x0&&this[_0x24a92c(0x159)](_0x492451[_0x24a92c(0x2f7)]);})),this[_0x29d244(0x181)][_0x29d244(0x37f)][_0x29d244(0x25d)](_0x399a7e['takeUntil'](this['dispose$']))[_0x29d244(0x36b)](_0x49db66=>{const _0x50a7d6=_0x29d244;if((_0x49db66==null?void 0x0:_0x49db66[_0x50a7d6(0x352)])!==this[_0x50a7d6(0x352)])return;const _0x56215b={'eventID':_0x2ac5d3[_0x50a7d6(0x263)][_0x50a7d6(0x2bb)],'data':_0x49db66};this['_onCursorUpdate'](_0x56215b);}),this[_0x29d244(0x345)](this['_commandService'][_0x29d244(0x113)](_0x4c3e5e=>{const _0x4f1779=_0x29d244;if(_0x4c3e5e['params']==null)return;const _0x9af82d=_0x4c3e5e[_0x4f1779(0x126)];if(_0x4c3e5e['id']!==_0x688e2[_0x4f1779(0x31c)]['id']||_0x9af82d['unitId']!==this['unitID'])return;const _0x29c00c={'id':'doc.mutation.rich-text-editing','params':_0x9af82d},_0x5557e2=this['cursorInfo'];for(const [_0x1356d4,_0x5ab389]of _0x5557e2){const _0x4b0ca5={'id':_0x4f1779(0x195),'params':{'unitId':this[_0x4f1779(0x352)],'actions':null,'textRanges':_0x5ab389['ranges']}},_0x1a7086=this[_0x4f1779(0x1ac)][_0x4f1779(0x1c7)](_0x29c00c,_0x4b0ca5,!0x1);if(_0x2ac5d3[_0x4f1779(0x197)](_0x1a7086))throw _0x1a7086[_0x4f1779(0x232)];_0x5557e2['set'](_0x1356d4,{..._0x5ab389,'ranges':_0x1a7086[_0x4f1779(0x154)][_0x4f1779(0x126)][_0x4f1779(0x133)]});}queueMicrotask(()=>{const _0x351f8b=_0x4f1779;this[_0x351f8b(0x237)][_0x351f8b(0x2f6)](_0x5557e2);});})));}['_onCursorUpdate'](_0x527e8a){const _0x523855=_0x2c8ec4;var _0x2bd094,_0x784caf;const {memberID:_0x1e274b,selection:_0x356465}=_0x527e8a[_0x523855(0x1cb)],_0x578318=_0x10f436(_0x356465),_0x5e0aec=(_0x784caf=(_0x2bd094=this['_memberService'][_0x523855(0x3a6)](this[_0x523855(0x352)],_0x1e274b))==null?void 0x0:_0x2bd094[_0x523855(0x34a)])!=null?_0x784caf:_0x523855(0x361),_0x213cd2={'color':this[_0x523855(0x12e)][_0x523855(0x3a9)](_0x1e274b),'name':_0x5e0aec,'ranges':_0x578318},_0x37589b=this[_0x523855(0x15f)];_0x37589b[_0x523855(0x3a4)](_0x1e274b,_0x213cd2),this['_cursorInfo$']['next'](_0x37589b);}[_0x2c8ec4(0x393)](_0x5a3c6a){const _0x18c91f=_0x2c8ec4,{memberID:_0x533d6e}=_0x5a3c6a[_0x18c91f(0x1cb)],_0x39e37d=this['cursorInfo'];_0x39e37d[_0x18c91f(0x259)](_0x533d6e),this[_0x18c91f(0x237)][_0x18c91f(0x2f6)](_0x39e37d);}[_0x2c8ec4(0x2ba)](){const _0x5e6703=_0x2c8ec4;var _0x1636ba;if(this['_online']=!0x0,((_0x1636ba=this[_0x5e6703(0x2f1)]['getFocusedUnit']())==null?void 0x0:_0x1636ba[_0x5e6703(0x14c)]())!==this['unitID'])return;const _0x57ed60=this[_0x5e6703(0x2ab)][_0x5e6703(0x36a)](_0x688e2['DocSelectionManagerService'])[_0x5e6703(0x307)]();Array[_0x5e6703(0x187)](_0x57ed60)&&_0x57ed60[_0x5e6703(0x1f8)]>0x0&&this[_0x5e6703(0x159)](_0x57ed60);}['_toggleOffline'](){const _0x4b3745=_0x2c8ec4;this[_0x4b3745(0x1b3)]=!0x1;}};_0x158431=_0x4d24dd([_0x5adf12(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x5adf12(0x3,_0x268d3b['Inject'](_0x1ad7cd)),_0x5adf12(0x4,_0x268d3b['Inject'](_0x2eddce['MemberService'])),_0x5adf12(0x5,_0x268d3b[_0x2c8ec4(0x1be)](_0x2fcdcb)),_0x5adf12(0x6,_0x2ac5d3[_0x2c8ec4(0x21f)]),_0x5adf12(0x7,_0x268d3b[_0x2c8ec4(0x2eb)]),_0x5adf12(0x8,_0x268d3b['ICommandService'])],_0x158431);var _0x7ccdf3=Object[_0x2c8ec4(0x146)],_0x3f9485=(_0x320cb7,_0x116aff,_0x30ce51,_0x10a70f)=>{for(var _0x436d25=_0x10a70f>0x1?void 0x0:_0x10a70f?_0x7ccdf3(_0x116aff,_0x30ce51):_0x116aff,_0x1d32bf=_0x320cb7['length']-0x1,_0x5616e8;_0x1d32bf>=0x0;_0x1d32bf--)(_0x5616e8=_0x320cb7[_0x1d32bf])&&(_0x436d25=_0x5616e8(_0x436d25)||_0x436d25);return _0x436d25;},_0x369b84=(_0x208d7c,_0x2ffb2e)=>(_0x4b5d8e,_0x59d1be)=>_0x2ffb2e(_0x4b5d8e,_0x59d1be,_0x208d7c);const _0x27d924=0x12c,_0x238c6e=0x64,_0x238801=()=>{let _0x10413c=[],_0x619f64=!0x1;return _0x36c1f4=>{const _0x206828=_0x156e;_0x10413c[_0x206828(0x243)](_0x36c1f4),_0x619f64||(_0x619f64=!0x0,setTimeout(()=>{const _0x46b680=_0x206828;_0x10413c[_0x46b680(0x31d)](_0x1bb4b7=>_0x1bb4b7()),_0x10413c=[],_0x619f64=!0x1;}));};};let _0x59e814=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x3a83fa,_0x1d8f5d,_0x3ec19d,_0x358284,_0x4e3ee5,_0x52e2a0,_0x453482,_0x435587){const _0x40836a=_0x2c8ec4;super(),_0x42374b(this,'_online',!0x1),_0x42374b(this,_0x40836a(0x216),!0x1),_0x42374b(this,_0x40836a(0x237),new _0x399a7e[(_0x40836a(0x33a))](new Map())),_0x42374b(this,'cursorInfo$',this[_0x40836a(0x237)]['asObservable']()),_0x42374b(this,_0x40836a(0x1f9),new _0x399a7e[(_0x40836a(0x33a))]([])),_0x42374b(this,_0x40836a(0x31b),this[_0x40836a(0x1f9)][_0x40836a(0x25d)](_0x399a7e['debounceTime'](_0x27d924))),_0x42374b(this,_0x40836a(0x159),_0x268d3b['debounce']((_0x2b9663,_0x35aa01)=>{const _0x16673e=_0x40836a,_0x5aa7d1={'eventID':_0x2ac5d3[_0x16673e(0x263)][_0x16673e(0x2bb)],'data':{'unitID':this[_0x16673e(0x352)],'memberID':this['_session'][_0x16673e(0x24b)](),'selection':_0xcce0ed[_0x16673e(0x313)](_0x2b9663,_0x35aa01[_0x16673e(0x168)])}};this[_0x16673e(0x15c)][_0x16673e(0x264)](_0x5aa7d1,this[_0x16673e(0x352)]);},_0x238c6e)),(this['unitID']=_0x3a83fa,this['_session']=_0x1d8f5d,this[_0x40836a(0x2ab)]=_0x3ec19d,this['_colorAssignService']=_0x358284,this[_0x40836a(0x2b1)]=_0x4e3ee5,this[_0x40836a(0x2f1)]=_0x52e2a0,this[_0x40836a(0x21d)]=_0x453482,this[_0x40836a(0x363)]=_0x435587);}get[_0x2c8ec4(0x15f)](){return this['_cursorInfo$']['getValue']();}get[_0x2c8ec4(0x2fe)](){const _0x273179=_0x2c8ec4;return this[_0x273179(0x1f9)]['getValue']();}[_0x2c8ec4(0x37b)](){const _0x5ee131=_0x2c8ec4;super['dispose'](),this['_cursorInfo$'][_0x5ee131(0x2f6)](new Map()),this['_cursorInfo$'][_0x5ee131(0x174)](),this[_0x5ee131(0x1f9)][_0x5ee131(0x2f6)]([]),this['_roomMembers$']['complete']();}[_0x2c8ec4(0x184)](){const _0x21a0c6=_0x2c8ec4;this[_0x21a0c6(0x216)]||(this['_init']=!0x0,this[_0x21a0c6(0x15c)][_0x21a0c6(0x2e8)]['pipe'](_0x399a7e[_0x21a0c6(0x365)](this[_0x21a0c6(0x2e0)]))['subscribe'](_0x3528db=>{const _0x2c562d=_0x21a0c6;_0x3528db===_0x2eddce[_0x2c562d(0x221)][_0x2c562d(0x190)]?this[_0x2c562d(0x2ba)]():this[_0x2c562d(0x32b)]();}),this['_session'][_0x21a0c6(0x1a4)][_0x21a0c6(0x25d)](_0x399a7e[_0x21a0c6(0x365)](this[_0x21a0c6(0x2e0)]))['subscribe'](_0x15d2c9=>{const _0x396b3f=_0x21a0c6,_0x15ae5d=_0x15d2c9[_0x396b3f(0x2c6)];_0x15ae5d===_0x2ac5d3[_0x396b3f(0x263)][_0x396b3f(0x2bb)]&&this['_onCursorUpdate'](_0x15d2c9),_0x15ae5d===_0x2ac5d3['CollaborationEvent'][_0x396b3f(0x2a3)]&&this[_0x396b3f(0x393)](_0x15d2c9);}),this[_0x21a0c6(0x11b)](),this[_0x21a0c6(0x345)](this[_0x21a0c6(0x21d)][_0x21a0c6(0x113)](_0x3b05bf=>{const _0xff934=_0x21a0c6;if(this['_online']&&_0x3b05bf['id']===_0x26ad5a[_0xff934(0x202)]['id']&&_0x3b05bf[_0xff934(0x126)][_0xff934(0x2e2)]===this[_0xff934(0x352)]){const _0x35b00c=_0x3b05bf[_0xff934(0x126)];this['_updateLocalCursor'](_0x35b00c[_0xff934(0x162)],_0x35b00c[_0xff934(0x359)][0x0]);}})));}[_0x2c8ec4(0x121)](_0x3564de){const _0x3a4090=_0x2c8ec4;var _0xcff3cb,_0x5b8a12;const {memberID:_0x2a82e2,selection:_0x4c1682}=_0x3564de[_0x3a4090(0x1cb)],{sheetName:_0x543085,range:_0x511f14}=_0xcce0ed[_0x3a4090(0x36c)](_0x4c1682),_0x45ce5c={'name':(_0x5b8a12=(_0xcff3cb=this['_memberService'][_0x3a4090(0x3a6)](this[_0x3a4090(0x352)],_0x2a82e2))==null?void 0x0:_0xcff3cb[_0x3a4090(0x34a)])!=null?_0x5b8a12:'Unknown\x20user','range':this[_0x3a4090(0x27a)](_0x543085,_0x511f14),'sheetID':_0x543085,'color':this[_0x3a4090(0x12e)]['assignAColorForMemberID'](_0x2a82e2),'selection':_0x4c1682},_0x3ce4d4=this[_0x3a4090(0x15f)];_0x3ce4d4[_0x3a4090(0x3a4)](_0x2a82e2,_0x45ce5c),this[_0x3a4090(0x237)]['next'](_0x3ce4d4);}['_onCursorDelete'](_0x4c4329){const _0x3e031e=_0x2c8ec4,{memberID:_0x7337e3}=_0x4c4329[_0x3e031e(0x1cb)],_0x4e93fe=this[_0x3e031e(0x15f)];_0x4e93fe[_0x3e031e(0x259)](_0x7337e3),this['_cursorInfo$'][_0x3e031e(0x2f6)](_0x4e93fe);}[_0x2c8ec4(0x27a)](_0xd49a21,_0x58a08a){const _0x5bc1db=_0x2c8ec4;var _0x51f647,_0x5ed106;const _0x5d9ef2=(_0x5ed106=(_0x51f647=this['_univerInstanceService'][_0x5bc1db(0x177)](this[_0x5bc1db(0x352)]))==null?void 0x0:_0x51f647['getSheetBySheetId'](_0xd49a21))==null?void 0x0:_0x5ed106[_0x5bc1db(0x370)]();return(_0x5d9ef2==null?void 0x0:_0x5d9ef2[_0x5bc1db(0x1c9)](_0x36a2f7=>_0x268d3b[_0x5bc1db(0x2a6)][_0x5bc1db(0x193)](_0x36a2f7,_0x58a08a)))||_0x58a08a;}[_0x2c8ec4(0x11b)](){const _0x240061=_0x2c8ec4,_0xaefd1=new _0x268d3b[(_0x240061(0x153))](),_0x323217=_0x238801(),_0x59112d=()=>{const _0x15c0e8=_0x240061;_0xaefd1[_0x15c0e8(0x37b)]();const _0x4a0a0a=(_0x28adf9,_0x50e06f,_0x2827f4,_0x3c9a2a)=>{const _0x41013e=_0x15c0e8;let _0x1cf602=[];switch(_0x28adf9['id']){case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x1b5)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x13b)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x1fb)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x13f)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)]['InsertColCommandId']:{_0x1cf602=_0x26ad5a[_0x41013e(0x2a9)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x21b)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x3a5)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x26e)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x2fd)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x225)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x2de)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)]['MoveRangeCommandId']:{_0x1cf602=_0x26ad5a[_0x41013e(0x326)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x165)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x26b)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)]['RemoveRowCommandId']:{_0x1cf602=_0x26ad5a[_0x41013e(0x335)](_0x28adf9,_0x3c9a2a);break;}}const _0x1828f0=_0x26ad5a[_0x41013e(0x306)](_0x1cf602,_0x3c9a2a),_0x4f96ad=this[_0x41013e(0x15f)][_0x41013e(0x36a)](_0x50e06f);if(_0x4f96ad&&_0x1828f0){const _0x4bf21d={..._0x4f96ad,'range':_0x1828f0};this[_0x41013e(0x15f)][_0x41013e(0x3a4)](_0x50e06f,_0x4bf21d),_0x323217(()=>{const _0x257315=_0x41013e,_0x467667=this[_0x257315(0x363)][_0x257315(0x398)](_0x1828f0,_0x5c5bc5=>(_0x467667[_0x257315(0x37b)](),_0x4a0a0a(_0x5c5bc5,_0x50e06f,_0x2827f4,_0x1828f0)));_0xaefd1[_0x257315(0x1c1)](_0x467667);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x15c0e8(0x31d)]((_0x5a7b4b,_0x44b233)=>{const _0x3c59a7=_0x15c0e8,{range:_0x5cf995,sheetID:_0x2620ce}=_0x5a7b4b,_0x17814c=this[_0x3c59a7(0x363)][_0x3c59a7(0x398)](_0x5cf995,_0xbeb460=>(_0x17814c[_0x3c59a7(0x37b)](),_0x4a0a0a(_0xbeb460,_0x44b233,_0x2620ce,_0x5cf995)));_0xaefd1[_0x3c59a7(0x1c1)](_0x17814c);});};this[_0x240061(0x345)](_0x268d3b['toDisposable'](this[_0x240061(0x237)]['subscribe'](()=>{_0x59112d();})));}['_toggleOnline'](){const _0x27a291=_0x2c8ec4;var _0x5deac8,_0x594a47;if(this[_0x27a291(0x1b3)]=!0x0,((_0x5deac8=this['_univerInstanceService'][_0x27a291(0x280)]())==null?void 0x0:_0x5deac8['getUnitId']())!==this[_0x27a291(0x352)])return;const _0x50fce4=(_0x594a47=this[_0x27a291(0x2ab)][_0x27a291(0x36a)](_0x26ad5a[_0x27a291(0x21e)])[_0x27a291(0x299)]())==null?void 0x0:_0x594a47[0x0],_0x29338e=this[_0x27a291(0x2f1)]['getCurrentUnitForType'](_0x268d3b[_0x27a291(0x20a)][_0x27a291(0x186)])['getActiveSheet']();_0x50fce4&&_0x29338e&&this[_0x27a291(0x159)](_0x29338e['getSheetId'](),_0x50fce4);}[_0x2c8ec4(0x32b)](){const _0x4ee95e=_0x2c8ec4;this[_0x4ee95e(0x1b3)]=!0x1;}};_0x59e814=_0x3f9485([_0x369b84(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x369b84(0x3,_0x268d3b[_0x2c8ec4(0x1be)](_0x1ad7cd)),_0x369b84(0x4,_0x268d3b['Inject'](_0x2eddce['MemberService'])),_0x369b84(0x5,_0x268d3b['IUniverInstanceService']),_0x369b84(0x6,_0x268d3b['ICommandService']),_0x369b84(0x7,_0x268d3b[_0x2c8ec4(0x1be)](_0x26ad5a[_0x2c8ec4(0x382)]))],_0x59e814);var _0x488512=Object['getOwnPropertyDescriptor'],_0x4187d9=(_0x39578b,_0x36e0b7,_0x802cd8,_0x1570e4)=>{const _0x5f4088=_0x2c8ec4;for(var _0x3c1588=_0x1570e4>0x1?void 0x0:_0x1570e4?_0x488512(_0x36e0b7,_0x802cd8):_0x36e0b7,_0x2c214a=_0x39578b[_0x5f4088(0x1f8)]-0x1,_0x531612;_0x2c214a>=0x0;_0x2c214a--)(_0x531612=_0x39578b[_0x2c214a])&&(_0x3c1588=_0x531612(_0x3c1588)||_0x3c1588);return _0x3c1588;},_0x5a63b6=(_0x5e0167,_0x2d5a1c)=>(_0x580ea7,_0x12744d)=>_0x2d5a1c(_0x580ea7,_0x12744d,_0x5e0167);let _0x2e97d2=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x455819,_0x35bf92,_0xf2bcd4){const _0x3518fb=_0x2c8ec4;super(),_0x42374b(this,_0x3518fb(0x166),new Map()),_0x42374b(this,'_entityInit$',new _0x399a7e[(_0x3518fb(0x2ec))]()),(this['_univerInstanceService']=_0x455819,this['_injector']=_0x35bf92,this[_0x3518fb(0x37c)]=_0xf2bcd4,this['_init']());}[_0x2c8ec4(0x37b)](){const _0x43f18b=_0x2c8ec4;super[_0x43f18b(0x37b)](),this[_0x43f18b(0x26d)]['complete'](),this[_0x43f18b(0x166)][_0x43f18b(0x31d)](_0x5c7e18=>_0x5c7e18[_0x43f18b(0x37b)]());}['getCollabCursors$'](_0x51901d){const _0x1baf95=_0x2c8ec4;return this['_entities'][_0x1baf95(0x119)](_0x51901d)?this[_0x1baf95(0x166)]['get'](_0x51901d)[_0x1baf95(0x386)]:this[_0x1baf95(0x26d)][_0x1baf95(0x25d)](_0x399a7e['filter'](_0x3065ae=>_0x3065ae['unitID']===_0x51901d),_0x399a7e[_0x1baf95(0x22f)](_0x556d59=>_0x556d59[_0x1baf95(0x386)]));}['_init'](){const _0x11d26a=_0x2c8ec4;this[_0x11d26a(0x2f1)][_0x11d26a(0x185)](_0x268d3b[_0x11d26a(0x20a)][_0x11d26a(0x186)])[_0x11d26a(0x25d)](_0x399a7e['takeUntil'](this[_0x11d26a(0x2e0)]))[_0x11d26a(0x36b)](async _0x18b98b=>{const _0x2c8642=_0x11d26a,_0x596dd3=_0x18b98b[_0x2c8642(0x14c)](),_0x454c07=await this[_0x2c8642(0x24c)](_0x596dd3);this[_0x2c8642(0x26d)]['next'](_0x454c07),this[_0x2c8642(0x166)]['set'](_0x596dd3,_0x454c07);}),this[_0x11d26a(0x2f1)][_0x11d26a(0x185)](_0x268d3b[_0x11d26a(0x20a)][_0x11d26a(0x39a)])['pipe'](_0x399a7e[_0x11d26a(0x365)](this[_0x11d26a(0x2e0)]))[_0x11d26a(0x25d)](_0x399a7e[_0x11d26a(0x262)](_0x44549f=>!_0x44549f[_0x11d26a(0x14c)]()[_0x11d26a(0x194)]('__')))[_0x11d26a(0x36b)](async _0x203bb1=>{const _0x16b10d=_0x11d26a,_0xe75b42=_0x203bb1[_0x16b10d(0x14c)](),_0x4a9019=await this[_0x16b10d(0x1a6)](_0xe75b42);this[_0x16b10d(0x26d)][_0x16b10d(0x2f6)](_0x4a9019),this[_0x16b10d(0x166)][_0x16b10d(0x3a4)](_0xe75b42,_0x4a9019);}),_0x399a7e[_0x11d26a(0x1e8)](this[_0x11d26a(0x2f1)][_0x11d26a(0x369)](_0x268d3b[_0x11d26a(0x20a)][_0x11d26a(0x39a)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x268d3b[_0x11d26a(0x20a)][_0x11d26a(0x186)]))['pipe'](_0x399a7e[_0x11d26a(0x365)](this[_0x11d26a(0x2e0)]))[_0x11d26a(0x36b)](_0x1cb8cd=>{const _0x19ee51=_0x11d26a,_0x412f25=_0x1cb8cd[_0x19ee51(0x14c)](),_0x3ac136=this[_0x19ee51(0x166)][_0x19ee51(0x36a)](_0x412f25);_0x3ac136&&(_0x3ac136[_0x19ee51(0x37b)](),this['_entities'][_0x19ee51(0x259)](_0x412f25));});}async[_0x2c8ec4(0x24c)](_0x3727f4){const _0x51aa59=_0x2c8ec4,_0xfb9182=await this[_0x51aa59(0x37c)][_0x51aa59(0x2c5)](_0x3727f4),_0x3cd519=this[_0x51aa59(0x2ab)][_0x51aa59(0x2b5)](_0x59e814,_0x3727f4,_0xfb9182);return _0x3cd519['init'](),_0x3cd519;}async[_0x2c8ec4(0x1a6)](_0x503952){const _0x1d10c8=_0x2c8ec4,_0x3211ee=await this[_0x1d10c8(0x37c)][_0x1d10c8(0x2c5)](_0x503952),_0x127558=this[_0x1d10c8(0x2ab)][_0x1d10c8(0x2b5)](_0x158431,_0x503952,_0x3211ee);return _0x127558[_0x1d10c8(0x184)](),_0x127558;}};_0x2e97d2=_0x4187d9([_0x5a63b6(0x0,_0x268d3b[_0x2c8ec4(0x2eb)]),_0x5a63b6(0x1,_0x268d3b['Inject'](_0x268d3b['Injector'])),_0x5a63b6(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2eddce[_0x2c8ec4(0x39c)]))],_0x2e97d2);const _0x684608=0x14,_0x22656b=0xc8,_0x13916d=0x4,_0x4e2066=0x5;function _0x2796ea(_0x59a5aa,_0x4d29f6){const _0x5e7522=_0x2c8ec4;let {radius:_0x136caa,width:_0x59e704,height:_0x569860}=_0x4d29f6;_0x136caa=_0x136caa!=null?_0x136caa:0x0,_0x59e704=_0x59e704!=null?_0x59e704:0x1e,_0x569860=_0x569860!=null?_0x569860:0x1e;let _0x4af900=0x0,_0xa80e07=0x0,_0x4109bb=0x0;_0x4af900=_0xa80e07=_0x4109bb=Math['min'](_0x136caa,_0x59e704/0x2,_0x569860/0x2),_0x59a5aa['beginPath'](),_0x59a5aa['moveTo'](_0x4af900,0x0),_0x59a5aa[_0x5e7522(0x372)](_0x59e704-_0xa80e07,0x0),_0x59a5aa[_0x5e7522(0x20c)](_0x59e704-_0xa80e07,_0xa80e07,_0xa80e07,Math['PI']*0x3/0x2,0x0,!0x1),_0x59a5aa['lineTo'](_0x59e704,_0x569860-_0x4109bb),_0x59a5aa[_0x5e7522(0x20c)](_0x59e704-_0x4109bb,_0x569860-_0x4109bb,_0x4109bb,0x0,Math['PI']/0x2,!0x1),_0x59a5aa[_0x5e7522(0x372)](0x0,_0x569860),_0x59a5aa[_0x5e7522(0x372)](0x0,_0x4af900),_0x59a5aa[_0x5e7522(0x20c)](_0x4af900,_0x4af900,_0x4af900,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x59a5aa[_0x5e7522(0x268)](),_0x4d29f6['fill']&&(_0x59a5aa['save'](),_0x59a5aa[_0x5e7522(0x36e)]=_0x4d29f6[_0x5e7522(0x14a)],_0x4d29f6[_0x5e7522(0x158)]===_0x5e7522(0x288)?_0x59a5aa['fill']('evenodd'):_0x59a5aa[_0x5e7522(0x14a)](),_0x59a5aa[_0x5e7522(0x29e)]());}class _0x1ad70a extends _0xb8fc77['Shape']{constructor(_0x59f3b2,_0x39477e){const _0xed2cc6=_0x2c8ec4;super(_0x59f3b2,_0x39477e),_0x42374b(this,'color'),_0x42374b(this,'text'),(this['color']=_0x39477e==null?void 0x0:_0x39477e[_0xed2cc6(0x156)],this[_0xed2cc6(0x346)]=_0x39477e==null?void 0x0:_0x39477e[_0xed2cc6(0x346)]);}static[_0x2c8ec4(0x1cc)](_0x1f4f31,_0x30d81f){const _0x210af7=_0x2c8ec4,{text:_0x423b37,color:_0x545b2a}=_0x30d81f;_0x1f4f31[_0x210af7(0x378)](),_0x1f4f31['font']=_0x210af7(0x324);const _0x1a9b42=_0x1f4f31[_0x210af7(0x330)](_0x423b37)['width'],_0x384b7a=Math[_0x210af7(0x1f5)](_0x1a9b42+0x2*_0x13916d,_0x22656b);_0x2796ea(_0x1f4f31,{'height':_0x684608,'radius':0x4,'width':_0x384b7a,'fill':_0x545b2a}),_0x1f4f31[_0x210af7(0x36e)]=_0x210af7(0x292);const _0x328fbd=_0x13916d,_0x5b21ef=_0x684608-_0x4e2066,_0x59f46b=_0x22656b-0x2*_0x13916d;if(_0x1a9b42>_0x59f46b){let _0xe5dd7d='',_0xa7853e=0x0;for(const _0x5276df of _0x423b37){const _0x539cf8=_0x1f4f31[_0x210af7(0x330)](_0x5276df)[_0x210af7(0x1d2)];if(_0xa7853e+_0x539cf8<=_0x59f46b-_0x1f4f31['measureText'](_0x210af7(0x220))[_0x210af7(0x1d2)])_0xe5dd7d+=_0x5276df,_0xa7853e+=_0x539cf8;else{_0xe5dd7d+=_0x210af7(0x220);break;}}_0x1f4f31[_0x210af7(0x198)](_0xe5dd7d,_0x328fbd,_0x5b21ef);}else _0x1f4f31[_0x210af7(0x198)](_0x423b37,_0x328fbd,_0x5b21ef);_0x1f4f31['restore']();}[_0x2c8ec4(0x355)](_0x1fb5e9){const _0x263de1=_0x2c8ec4;_0x1ad70a[_0x263de1(0x1cc)](_0x1fb5e9,this);}}const _0x217d8b='collab-text-anchor-',_0x304560=_0x2c8ec4(0x391),_0x51a22e='collab-rect-range-',_0x210f90=0x6,_0x269ec5=1.5,_0x1e45ae=0x4,_0x20a25d=1.5,_0x549bcf=_0x2c8ec4(0x22c);class _0x2ec862{constructor(_0x3fcec4,_0x2f4522,_0x351c42,_0x3becdc){const _0xf9149f=_0x2c8ec4;_0x42374b(this,_0xf9149f(0x34f),[]),_0x42374b(this,_0xf9149f(0x2cd),null),_0x42374b(this,'_textBubble',null),_0x42374b(this,_0xf9149f(0x37a),null),_0x42374b(this,_0xf9149f(0x278),null),_0x42374b(this,_0xf9149f(0x128),null),(this[_0xf9149f(0x1cd)]=_0x3fcec4,this['_scene']=_0x2f4522,this[_0xf9149f(0x2ca)]=_0x351c42,this[_0xf9149f(0x2e6)]=_0x3becdc,this['_render']());}set[_0x2c8ec4(0x1a9)](_0x31062d){const _0x1cdb52=_0x2c8ec4;_0x31062d?(this[_0x1cdb52(0x37a)]&&this[_0x1cdb52(0x37a)]['hide'](),this[_0x1cdb52(0x1bb)]&&this[_0x1cdb52(0x1bb)][_0x1cdb52(0x3a3)]()):(this[_0x1cdb52(0x37a)]&&this['_anchorDot'][_0x1cdb52(0x3a3)](),this['_textBubble']&&this[_0x1cdb52(0x1bb)][_0x1cdb52(0x2ef)]());}['dispose'](){const _0x30b023=_0x2c8ec4;for(const _0x15f1ae of this['_shapes'])_0x15f1ae[_0x30b023(0x37b)]();this[_0x30b023(0x1bb)]&&this[_0x30b023(0x1bb)][_0x30b023(0x37b)](),this[_0x30b023(0x37a)]&&this[_0x30b023(0x37a)][_0x30b023(0x37b)](),this[_0x30b023(0x2cd)]&&this[_0x30b023(0x2cd)][_0x30b023(0x37b)](),this[_0x30b023(0x128)]&&this[_0x30b023(0x128)]();}[_0x2c8ec4(0x2ff)](){const _0x9fb647=_0x2c8ec4;var _0x1b942a;const {_docSkeleton:_0x573773,_document:_0x5a21d3}=this,{color:_0x2dc69c,name:_0x544a63,ranges:_0x4c850f}=this[_0x9fb647(0x1cd)],_0x39da69=_0x5a21d3[_0x9fb647(0x1a3)](),{docsLeft:_0x5c53f1,docsTop:_0x3f5857}=_0x39da69,_0x4beab5=new _0x58ed4c['NodePositionConvertToCursor'](_0x39da69,_0x573773);for(const {startOffset:_0xecc065,endOffset:_0x4fd2dd,rangeType:_0x29ef62,segmentId:_0x4fb84b,segmentPage:_0x7b8879,collapsed:_0x3034b5,isActive:_0x3e534d}of _0x4c850f){const _0x1c2abd=_0x573773[_0x9fb647(0x2a1)](_0xecc065,!0x0,_0x4fb84b,_0x7b8879);let _0x421bba=_0x573773['findNodePositionByCharIndex'](_0x4fd2dd,!0x0,_0x4fb84b,_0x7b8879);if(_0x421bba==null&&(_0x421bba=_0x573773[_0x9fb647(0x2a1)](_0x4fd2dd-0x1,!0x1,_0x4fb84b,_0x7b8879)),_0x3e534d){const {contentBoxPointGroup:_0x29d9c2}=_0x4beab5[_0x9fb647(0x388)](_0x421bba,_0x421bba);if(_0x29d9c2[_0x9fb647(0x1f8)]===0x0)continue;this[_0x9fb647(0x179)](_0x2dc69c,_0x29d9c2,_0x5c53f1,_0x3f5857,_0x544a63),this[_0x9fb647(0x128)]=this['_handleHover']();}if(_0x1c2abd&&_0x421bba){if(_0x29ef62===_0x268d3b[_0x9fb647(0x144)]['RECT']){const _0x15e6f7=new _0x58ed4c[(_0x9fb647(0x28b))](_0x39da69,_0x573773),{pointGroup:_0x38f377}=(_0x1b942a=_0x15e6f7['getRangePointData'](_0x1c2abd,_0x421bba))!=null?_0x1b942a:{};if(_0x38f377==null||_0x38f377[_0x9fb647(0x1f8)]===0x0)continue;this[_0x9fb647(0x2d7)](_0x2dc69c,_0x38f377,_0x5c53f1,_0x3f5857);}else{if(!_0x3034b5){const {borderBoxPointGroup:_0x200703}=_0x4beab5[_0x9fb647(0x388)](_0x1c2abd,_0x421bba);if(_0x200703[_0x9fb647(0x1f8)]===0x0)continue;this['_drawTextRange'](_0x2dc69c,_0x200703,_0x5c53f1,_0x3f5857);}}}}}[_0x2c8ec4(0x179)](_0x55f168,_0x452944,_0x53f67a,_0x3b0d77,_0x3135f9){const _0x51d752=_0x2c8ec4,_0x95bba3=this[_0x51d752(0x1e7)](_0x452944),{left:_0x35c768,top:_0x31897b,height:_0x578283}=_0x95bba3,_0x419ef1=this[_0x51d752(0x38f)](),_0x2fae8d=_0x20a25d/_0x419ef1,_0x2e391b=new _0xb8fc77[(_0x51d752(0x284))](_0x217d8b+_0x268d3b[_0x51d752(0x204)][_0x51d752(0x228)](_0x210f90),{'left':_0x35c768+_0x53f67a-_0x2fae8d,'top':_0x31897b+_0x3b0d77,'height':_0x578283,'width':_0x269ec5,'fill':_0x55f168||_0xb8fc77[_0x51d752(0x172)](_0x268d3b[_0x51d752(0x1af)]['black'],0x0),'strokeWidth':_0x2fae8d,'stroke':_0x549bcf,'evented':!0x0});this['_anchor']=_0x2e391b,this['_scene']['addObject'](_0x2e391b,_0x58ed4c[_0x51d752(0x2fb)]);const _0x4f0f02=new _0xb8fc77['Rect'](_0x217d8b+_0x268d3b[_0x51d752(0x204)]['generateRandomId'](_0x210f90),{'left':_0x35c768+_0x53f67a-_0x2fae8d,'top':_0x31897b+_0x3b0d77-_0x1e45ae/0x2,'height':_0x1e45ae,'width':_0x1e45ae,'fill':_0x55f168||_0xb8fc77['getColor'](_0x268d3b[_0x51d752(0x1af)][_0x51d752(0x27c)],0x0),'strokeWidth':0x0,'stroke':_0x55f168||_0xb8fc77[_0x51d752(0x172)](_0x268d3b[_0x51d752(0x1af)][_0x51d752(0x27c)],0x0),'evented':!0x1});this['_anchorDot']=_0x4f0f02,this['_scene']['addObject'](_0x4f0f02,_0x58ed4c[_0x51d752(0x2fb)]);const _0x1940a2=new _0x1ad70a(_0x217d8b+_0x268d3b['Tools'][_0x51d752(0x228)](_0x210f90),{'left':_0x35c768+_0x53f67a-_0x2fae8d,'top':_0x31897b+_0x3b0d77-_0x684608,'text':_0x3135f9,'color':_0x55f168});this[_0x51d752(0x1bb)]=_0x1940a2,this[_0x51d752(0x210)][_0x51d752(0x129)](_0x1940a2,_0x58ed4c[_0x51d752(0x2fb)]),this[_0x51d752(0x1a9)]=!0x1;}[_0x2c8ec4(0x336)](){const _0x3532cd=_0x2c8ec4,_0x2c9fae=this[_0x3532cd(0x2cd)][_0x3532cd(0x13c)]['subscribeEvent'](()=>{const _0x65f47=_0x3532cd;this[_0x65f47(0x1a9)]=!0x0;}),_0x1448b0=this['_anchor'][_0x3532cd(0x1b0)][_0x3532cd(0x2b9)](()=>{const _0x9c3283=_0x3532cd;this[_0x9c3283(0x278)]&&clearTimeout(this[_0x9c3283(0x278)]),this[_0x9c3283(0x278)]=setTimeout(()=>{const _0x544eb2=_0x9c3283;this[_0x544eb2(0x1a9)]=!0x1;},0x7d0);});return()=>{const _0x3fac44=_0x3532cd;_0x2c9fae[_0x3fac44(0x182)](),_0x1448b0['unsubscribe']();};}[_0x2c8ec4(0x2e9)](_0x2d860b,_0x484bcd,_0xd0f7f0,_0x17dbc5){const _0x3696d7=_0x2c8ec4,_0x4b7ade=new _0x268d3b[(_0x3696d7(0x2ce))](_0x2d860b)['setAlpha'](0.2)[_0x3696d7(0x161)](),_0xe7bc5b=new _0xb8fc77[(_0x3696d7(0x11c))](_0x304560+_0x268d3b[_0x3696d7(0x204)]['generateRandomId'](_0x210f90),{'pointsGroup':_0x484bcd,'fill':_0x4b7ade||_0xb8fc77[_0x3696d7(0x172)](_0x268d3b[_0x3696d7(0x1af)][_0x3696d7(0x27c)],0.2),'left':_0xd0f7f0,'top':_0x17dbc5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3696d7(0x34f)]['push'](_0xe7bc5b),this[_0x3696d7(0x210)]['addObject'](_0xe7bc5b,_0x58ed4c[_0x3696d7(0x2fb)]);}[_0x2c8ec4(0x2d7)](_0x128c24,_0x2cbac4,_0x46a555,_0x48678e){const _0xcfd70c=_0x2c8ec4,_0x8309ef=new _0x268d3b['ColorKit'](_0x128c24)[_0xcfd70c(0x1ef)](0.2)['toRgbString'](),_0x3693b7=new _0xb8fc77[(_0xcfd70c(0x11c))](_0x51a22e+_0x268d3b['Tools'][_0xcfd70c(0x228)](_0x210f90),{'pointsGroup':_0x2cbac4,'fill':_0x8309ef||_0xb8fc77['getColor'](_0x268d3b[_0xcfd70c(0x1af)]['black'],0.2),'left':_0x46a555,'top':_0x48678e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xcfd70c(0x34f)][_0xcfd70c(0x243)](_0x3693b7),this[_0xcfd70c(0x210)][_0xcfd70c(0x129)](_0x3693b7,_0x58ed4c[_0xcfd70c(0x2fb)]);}[_0x2c8ec4(0x1e7)](_0x147057){const _0x2899c6=_0x147057[0x0],_0x20f81c=_0x2899c6[0x0],_0x229c84=_0x2899c6[0x2],{x:_0x27ceb3,y:_0x375777}=_0x20f81c,{x:_0x3aa847,y:_0x292d99}=_0x229c84;return{'left':_0x27ceb3,'top':_0x375777,'width':_0x3aa847-_0x27ceb3,'height':_0x292d99-_0x375777};}[_0x2c8ec4(0x38f)](){const _0x367742=_0x2c8ec4,{scaleX:_0x2f7444,scaleY:_0x528a32}=this[_0x367742(0x210)][_0x367742(0x2d8)]();return Math[_0x367742(0x1e0)](_0x2f7444,_0x528a32);}}var _0x48cb84=Object['getOwnPropertyDescriptor'],_0x1d6364=(_0x3168b1,_0x45cf50,_0x2d43e5,_0x4e074b)=>{const _0x4b0264=_0x2c8ec4;for(var _0x444c6e=_0x4e074b>0x1?void 0x0:_0x4e074b?_0x48cb84(_0x45cf50,_0x2d43e5):_0x45cf50,_0xd38eba=_0x3168b1[_0x4b0264(0x1f8)]-0x1,_0x10462b;_0xd38eba>=0x0;_0xd38eba--)(_0x10462b=_0x3168b1[_0xd38eba])&&(_0x444c6e=_0x10462b(_0x444c6e)||_0x444c6e);return _0x444c6e;},_0x2d3a71=(_0x262830,_0x1e8baa)=>(_0x4d959e,_0x1c17f7)=>_0x1e8baa(_0x4d959e,_0x1c17f7,_0x262830);let _0x269418=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x120141,_0x5343ec,_0x104896,_0x106d58,_0xdf8175){const _0x215729=_0x2c8ec4;super(),_0x42374b(this,_0x215729(0x1d3),[]),_0x42374b(this,_0x215729(0x16a),[]),(this['_context']=_0x120141,this[_0x215729(0x32c)]=_0x5343ec,this[_0x215729(0x271)]=_0x104896,this[_0x215729(0x21d)]=_0x106d58,this[_0x215729(0x22b)]=_0xdf8175,this['_init']());}['_init'](){const _0x3c6a87=_0x2c8ec4,_0x157d2b=this['_context']['unitId'],_0x17bd9a=this[_0x3c6a87(0x32c)];this[_0x3c6a87(0x345)](_0x399a7e['combineLatest']([this[_0x3c6a87(0x271)][_0x3c6a87(0x196)](_0x157d2b),this[_0x3c6a87(0x22b)][_0x3c6a87(0x289)]])[_0x3c6a87(0x25d)](_0x30c278['map'](([_0xd39a41,_0x4d1aa8])=>({'skeleton':_0x17bd9a[_0x3c6a87(0x234)](),'cursors':[..._0xd39a41[_0x3c6a87(0x3a8)]()][_0x3c6a87(0x38e)](_0x48cc4d=>({..._0x48cc4d,'color':this['_themeService'][_0x3c6a87(0x143)](_0x48cc4d[_0x3c6a87(0x156)])}))})))[_0x3c6a87(0x36b)](_0x17ca04=>{const _0xa0043c=_0x3c6a87;if(this[_0xa0043c(0x183)](),_0x17ca04){const {skeleton:_0x48af9d,cursors:_0x3c2fda}=_0x17ca04;this[_0xa0043c(0x2da)](_0x48af9d,_0x3c2fda);}})),this[_0x3c6a87(0x2a7)](),this[_0x3c6a87(0x148)]();}[_0x2c8ec4(0x2da)](_0x14c205,_0x2dacf7){const _0x3a2bdb=_0x2c8ec4,{scene:_0x47e88b,mainComponent:_0x19e558}=this[_0x3a2bdb(0x120)],_0x1ed638=_0x2dacf7['map'](_0x88369f=>new _0x2ec862(_0x88369f,_0x47e88b,_0x14c205,_0x19e558));this[_0x3a2bdb(0x1d3)]=_0x1ed638,this[_0x3a2bdb(0x16a)]=_0x2dacf7;}[_0x2c8ec4(0x350)](){const _0x29a19e=_0x2c8ec4;this[_0x29a19e(0x183)]();const {scene:_0xb2d703,mainComponent:_0x4f507a}=this[_0x29a19e(0x120)],_0x22acf6=this['_docSkeletonManagerService'][_0x29a19e(0x234)](),_0x2f072b=this[_0x29a19e(0x16a)]['map'](_0x40d8ed=>new _0x2ec862(_0x40d8ed,_0xb2d703,_0x22acf6,_0x4f507a));this[_0x29a19e(0x1d3)]=_0x2f072b;}['_removeCollabCursors'](){const _0x36735e=_0x2c8ec4;this[_0x36735e(0x1d3)][_0x36735e(0x31d)](_0x371b4b=>_0x371b4b[_0x36735e(0x37b)]()),this[_0x36735e(0x1d3)]=[];}[_0x2c8ec4(0x148)](){const _0x1ebac4=_0x2c8ec4,_0x4ed7df=[_0x58ed4c[_0x1ebac4(0x233)]['id']];this[_0x1ebac4(0x345)](this[_0x1ebac4(0x21d)]['onCommandExecuted'](_0x4ce7b7=>{const _0x30c3b8=_0x1ebac4;_0x4ed7df[_0x30c3b8(0x11f)](_0x4ce7b7['id'])&&_0x4ce7b7[_0x30c3b8(0x126)][_0x30c3b8(0x2e2)]===this[_0x30c3b8(0x120)][_0x30c3b8(0x2e2)]&&this[_0x30c3b8(0x350)]();}));}[_0x2c8ec4(0x2a7)](){const _0x3be7e2=_0x2c8ec4;this['disposeWithMe'](_0x268d3b[_0x3be7e2(0x1b2)](this['_context'][_0x3be7e2(0x381)][_0x3be7e2(0x246)])['pipe'](_0x30c278['filter'](_0x752521=>_0x752521['type']===_0xb8fc77[_0x3be7e2(0x23b)][_0x3be7e2(0x1bc)]),_0x30c278[_0x3be7e2(0x15e)](0x10))['subscribe'](()=>{const _0x2c5e11=_0x3be7e2;this[_0x2c5e11(0x350)]();}));}};_0x269418=_0x1d6364([_0x2d3a71(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x688e2['DocSkeletonManagerService'])),_0x2d3a71(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2e97d2)),_0x2d3a71(0x3,_0x268d3b[_0x2c8ec4(0x22a)]),_0x2d3a71(0x4,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b['ThemeService']))],_0x269418);const _0x3448fd=0x1,_0x1b9267=1.5;class _0x9f5a04 extends _0xb8fc77[_0x2c8ec4(0x2a4)]{constructor(_0xfd2998,_0x582b59){const _0x14410b=_0x2c8ec4;super(_0xfd2998,_0x582b59),_0x42374b(this,_0x14410b(0x248)),_0x42374b(this,_0x14410b(0x249),!0x1),_0x42374b(this,'_range'),_0x42374b(this,_0x14410b(0x11d),''),_0x42374b(this,_0x14410b(0x380),_0x14410b(0x1ee)),_0x42374b(this,'_backgroundColor'),(_0x582b59&&this[_0x14410b(0x375)](_0x582b59),this['onPointerEnter$'][_0x14410b(0x2b9)](()=>this[_0x14410b(0x375)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x14410b(0x375)]({'hovered':!0x1})));}[_0x2c8ec4(0x375)](_0x72dde8){const _0x304bf5=_0x2c8ec4;var _0x279f3a,_0x39e1b8,_0x389c1a,_0x428d05,_0x57a395,_0x4410d8;this[_0x304bf5(0x248)]=(_0x279f3a=_0x72dde8[_0x304bf5(0x156)])!=null?_0x279f3a:this[_0x304bf5(0x248)],this['_hovered']=(_0x39e1b8=_0x72dde8['hovered'])!=null?_0x39e1b8:this[_0x304bf5(0x249)],this[_0x304bf5(0x3ae)]=(_0x389c1a=_0x72dde8[_0x304bf5(0x168)])!=null?_0x389c1a:this[_0x304bf5(0x3ae)],this[_0x304bf5(0x11d)]=(_0x428d05=_0x72dde8[_0x304bf5(0x34a)])!=null?_0x428d05:this[_0x304bf5(0x11d)],this[_0x304bf5(0x380)]=(_0x57a395=_0x72dde8[_0x304bf5(0x33c)])!=null?_0x57a395:this['_labelPosition'],this['_backgroundColor']=(_0x4410d8=_0x72dde8['backgroundColor'])!=null?_0x4410d8:this[_0x304bf5(0x209)],this['transformByState']({'width':_0x72dde8[_0x304bf5(0x1d2)],'height':_0x72dde8[_0x304bf5(0x15a)]});}['onMouseMove'](_0xe8c0e8){const _0x782211=_0x2c8ec4,{row:_0x496ac5,column:_0x4f9b65}=_0xe8c0e8;if(_0x496ac5>=this['_range']['startRow']&&_0x496ac5<=this[_0x782211(0x3ae)]['endRow']&&_0x4f9b65>=this[_0x782211(0x3ae)]['startColumn']&&_0x4f9b65<=this[_0x782211(0x3ae)][_0x782211(0x2d1)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x782211(0x375)]({'hovered':!0x1});}['triggerDblclick'](_0x597e57){return!0x1;}[_0x2c8ec4(0x355)](_0x1169b1){const _0x37fbfe=_0x2c8ec4;_0xb8fc77[_0x37fbfe(0x284)]['drawWith'](_0x1169b1,{'width':this[_0x37fbfe(0x1d2)],'height':this[_0x37fbfe(0x15a)],'strokeWidth':_0x1b9267,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x37fbfe(0x209)]}),this[_0x37fbfe(0x249)]&&(_0x1169b1[_0x37fbfe(0x378)](),_0x1169b1['transform'](0x1,0x0,0x0,0x1,this[_0x37fbfe(0x1d2)],this[_0x37fbfe(0x380)]===_0x37fbfe(0x319)?0x0:-0x14),_0x1ad70a[_0x37fbfe(0x1cc)](_0x1169b1,{'text':this[_0x37fbfe(0x11d)],'color':this[_0x37fbfe(0x248)]}),_0x1169b1[_0x37fbfe(0x29e)]());}}var _0x37c1c8=Object[_0x2c8ec4(0x146)],_0x4a41db=(_0x5a0e88,_0x15125a,_0x201055,_0x1631df)=>{const _0x2ded60=_0x2c8ec4;for(var _0x1dbc9a=_0x1631df>0x1?void 0x0:_0x1631df?_0x37c1c8(_0x15125a,_0x201055):_0x15125a,_0x40275b=_0x5a0e88[_0x2ded60(0x1f8)]-0x1,_0x480d51;_0x40275b>=0x0;_0x40275b--)(_0x480d51=_0x5a0e88[_0x40275b])&&(_0x1dbc9a=_0x480d51(_0x1dbc9a)||_0x1dbc9a);return _0x1dbc9a;},_0x25b606=(_0x48329a,_0xb5a4f4)=>(_0x569ed3,_0xc26c7a)=>_0xb5a4f4(_0x569ed3,_0xc26c7a,_0x48329a);const _0x4ee533=0x1389;let _0x4f4f9f=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x2fd1ff,_0x455103,_0x5022b2,_0x583f21){const _0x1a4221=_0x2c8ec4;super(),_0x42374b(this,_0x1a4221(0x16a),new Set()),_0x42374b(this,_0x1a4221(0x236),null),(this[_0x1a4221(0x120)]=_0x2fd1ff,this[_0x1a4221(0x1d9)]=_0x455103,this[_0x1a4221(0x271)]=_0x5022b2,this[_0x1a4221(0x22b)]=_0x583f21,this[_0x1a4221(0x216)]());}[_0x2c8ec4(0x216)](){const _0x95a31f=_0x2c8ec4;this[_0x95a31f(0x1d9)][_0x95a31f(0x149)][_0x95a31f(0x25d)](_0x30c278[_0x95a31f(0x365)](this[_0x95a31f(0x2e0)]),_0x30c278[_0x95a31f(0x22f)](_0x5a8e22=>{const _0x2b681f=_0x95a31f;if(_0x5a8e22){const _0x57167d=_0x5a8e22[_0x2b681f(0x394)];return _0x399a7e[_0x2b681f(0x212)](this[_0x2b681f(0x271)][_0x2b681f(0x196)](this['_context'][_0x2b681f(0x2e2)]),this[_0x2b681f(0x22b)][_0x2b681f(0x289)])[_0x2b681f(0x25d)](_0x30c278[_0x2b681f(0x19d)](([_0xa22f58,_0x102761])=>{const _0x556928=_0x2b681f,_0x23d809=new Map();return _0xa22f58[_0x556928(0x31d)]((_0x5a1fce,_0x39589f)=>{const _0x3bbd9f=_0x556928;if(_0x5a1fce['sheetID']===_0x57167d){const _0xe446e7={..._0x5a1fce};_0xe446e7[_0x3bbd9f(0x156)]=this['_themeService'][_0x3bbd9f(0x143)](_0x5a1fce['color']),_0x23d809[_0x3bbd9f(0x3a4)](_0x39589f,_0xe446e7);}}),{'skeleton':_0x5a8e22,'cursors':_0x23d809};}));}return _0x399a7e['of']({'skeleton':null,'cursors':new Map()});}))[_0x95a31f(0x36b)](({skeleton:_0x4fd81c,cursors:_0x3eed40})=>{const _0xc21b84=_0x95a31f;this[_0xc21b84(0x183)](),_0x4fd81c&&this[_0xc21b84(0x2da)](_0x4fd81c,_0x3eed40);}),this[_0x95a31f(0x1d9)][_0x95a31f(0x149)][_0x95a31f(0x36b)](_0x39ab8d=>{const _0x81e5a=_0x95a31f;if(_0x39ab8d==null)return;const {skeleton:_0x548d0a}=_0x39ab8d,{scene:_0x1d36a3}=this[_0x81e5a(0x120)];_0x1d36a3[_0x81e5a(0x2ac)][_0x81e5a(0x2b9)](_0x268d3b[_0x81e5a(0x1b7)](_0x4d3ac0=>{const _0x544dff=_0x81e5a;var _0x3b9fb6,_0x55a17c;const {offsetX:_0x247f96,offsetY:_0x2095da}=_0x4d3ac0,{x:_0x48f967,y:_0x30533f}=_0x1d36a3[_0x544dff(0x2af)](_0xb8fc77[_0x544dff(0x1a0)][_0x544dff(0x1f2)]([_0x247f96,_0x2095da])),{scaleX:_0x5d25f1,scaleY:_0x1e8336}=_0x1d36a3[_0x544dff(0x2d8)](),_0xd63e6=_0x1d36a3[_0x544dff(0x2fa)](_0xb8fc77[_0x544dff(0x293)][_0x544dff(0x23c)]),_0xfbc473=_0x1d36a3[_0x544dff(0x180)](_0xb8fc77['Vector2'][_0x544dff(0x1f2)]([_0x48f967,_0x30533f]),_0xd63e6),_0x320c8d=_0x548d0a[_0x544dff(0x286)](_0x247f96,_0x2095da,_0x5d25f1,_0x1e8336,_0xfbc473);((_0x3b9fb6=this[_0x544dff(0x236)])==null?void 0x0:_0x3b9fb6['column'])===_0x320c8d['column']&&((_0x55a17c=this[_0x544dff(0x236)])==null?void 0x0:_0x55a17c[_0x544dff(0x1df)])===_0x320c8d['row']||this[_0x544dff(0x16a)][_0x544dff(0x31d)](_0x938b50=>{const _0x4f3b2c=_0x544dff;_0x938b50[_0x4f3b2c(0x151)](_0x320c8d);});},0x64));});}[_0x2c8ec4(0x2da)](_0x256420,_0x5970f6){const _0x19f2bb=_0x2c8ec4;var _0x7e4af3;const _0x52f7db=(_0x7e4af3=this[_0x19f2bb(0x1d9)][_0x19f2bb(0x27f)]())==null?void 0x0:_0x7e4af3['skeleton'];if(!_0x52f7db)return;const _0x271aa8=this[_0x19f2bb(0x18f)]();if(!_0x271aa8)return;this[_0x19f2bb(0x16a)]['forEach'](_0x3f9583=>{const _0x4e6879=_0x19f2bb;_0x3f9583[_0x4e6879(0x2dd)]();});const {scene:_0x2cf4d6}=_0x271aa8,_0x2c1828=_0x3e08e0(Array[_0x19f2bb(0x357)](_0x5970f6[_0x19f2bb(0x3a8)]()))[_0x19f2bb(0x19d)](_0x4db418=>{const _0x283027=_0x19f2bb,{color:_0x125b8d,range:_0x583c18,name:_0x26dad6,selection:_0x181757,sheetID:_0x57b783}=_0x4db418,{startColumn:_0x4e5e96,startRow:_0x354a7b,endColumn:_0x42f2ee,endRow:_0x3da986}=_0x583c18,_0x4c1312=_0x41fdc4['getCoordByCell'](_0x354a7b,_0x4e5e96,_0x2cf4d6,_0x52f7db),_0x4740ba=_0x41fdc4[_0x283027(0x32f)](_0x3da986,_0x42f2ee,_0x2cf4d6,_0x52f7db),{columnHeaderHeightAndMarginTop:_0x18c1ea}=_0x52f7db,{startX:_0x46390b,startY:_0x562c21}=_0x4c1312,{endX:_0x4136c7,endY:_0x5cb457}=_0x4740ba,_0x279144=_0x4136c7-_0x46390b,_0x53498d=_0x5cb457-_0x562c21,_0x4349ba={'labelPosition':_0x562c21-_0x18c1ea>=_0x684608?_0x283027(0x1ee):_0x283027(0x319),'sheetID':_0x57b783,'range':_0x583c18,'color':_0x125b8d,'name':_0x26dad6,'selection':_0x181757,'left':_0x46390b,'top':_0x562c21,'width':_0x279144,'height':_0x53498d,'evented':!0x1,'zIndex':_0x4ee533};return new _0x9f5a04(_0x26dad6,_0x4349ba);});_0x2cf4d6[_0x19f2bb(0x26c)](_0x2c1828,_0x3448fd),this[_0x19f2bb(0x16a)]=new Set(_0x2c1828);}[_0x2c8ec4(0x183)](){const _0x472913=_0x2c8ec4;var _0x512c0e;(_0x512c0e=this[_0x472913(0x16a)])==null||_0x512c0e[_0x472913(0x31d)](_0x19d490=>_0x19d490[_0x472913(0x37b)]());}[_0x2c8ec4(0x18f)](){const _0xf9543=_0x2c8ec4;return _0x41fdc4[_0xf9543(0x367)](this[_0xf9543(0x120)][_0xf9543(0x200)],this[_0xf9543(0x120)]);}};_0x4f4f9f=_0x4a41db([_0x25b606(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x41fdc4[_0x2c8ec4(0x385)])),_0x25b606(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2e97d2)),_0x25b606(0x3,_0x268d3b['Inject'](_0x268d3b[_0x2c8ec4(0x34b)]))],_0x4f4f9f);function _0x3e08e0(_0x4c48bc){const _0x527fb5=_0x2c8ec4,_0xc3bbb0=new Map();return _0x4c48bc[_0x527fb5(0x31d)](_0x4f9ef4=>{const _0x1963be=_0x527fb5;if(_0xc3bbb0['has'](_0x4f9ef4['selection'])){const _0x4d3d2e=_0xc3bbb0['get'](_0x4f9ef4[_0x1963be(0x38d)]);_0x4d3d2e[_0x1963be(0x34a)]+=',\x20'+_0x4f9ef4[_0x1963be(0x34a)];}else _0xc3bbb0[_0x1963be(0x3a4)](_0x4f9ef4[_0x1963be(0x38d)],_0x4f9ef4);}),Array['from'](_0xc3bbb0[_0x527fb5(0x3a8)]());}var _0x4a5033=function(){const _0x24e97b=_0x2c8ec4;return _0x4a5033=Object[_0x24e97b(0x362)]||function(_0x36c114){const _0x3a1b17=_0x24e97b;for(var _0x331e3b,_0x2f03bf=0x1,_0x4fed76=arguments[_0x3a1b17(0x1f8)];_0x2f03bf<_0x4fed76;_0x2f03bf++){_0x331e3b=arguments[_0x2f03bf];for(var _0x55e80a in _0x331e3b)Object[_0x3a1b17(0x2ed)][_0x3a1b17(0x2b4)][_0x3a1b17(0x2ea)](_0x331e3b,_0x55e80a)&&(_0x36c114[_0x55e80a]=_0x331e3b[_0x55e80a]);}return _0x36c114;},_0x4a5033['apply'](this,arguments);},_0x4f7116=function(_0x3eb99b,_0x2af8a8){const _0x26274d=_0x2c8ec4;var _0x175ba1={};for(var _0x5c16e1 in _0x3eb99b)Object[_0x26274d(0x2ed)][_0x26274d(0x2b4)][_0x26274d(0x2ea)](_0x3eb99b,_0x5c16e1)&&_0x2af8a8['indexOf'](_0x5c16e1)<0x0&&(_0x175ba1[_0x5c16e1]=_0x3eb99b[_0x5c16e1]);if(_0x3eb99b!=null&&typeof Object[_0x26274d(0x3ab)]==_0x26274d(0x1ca)){for(var _0x1af89b=0x0,_0x5c16e1=Object['getOwnPropertySymbols'](_0x3eb99b);_0x1af89b<_0x5c16e1['length'];_0x1af89b++)_0x2af8a8[_0x26274d(0x3a0)](_0x5c16e1[_0x1af89b])<0x0&&Object[_0x26274d(0x2ed)][_0x26274d(0x2df)]['call'](_0x3eb99b,_0x5c16e1[_0x1af89b])&&(_0x175ba1[_0x5c16e1[_0x1af89b]]=_0x3eb99b[_0x5c16e1[_0x1af89b]]);}return _0x175ba1;},_0x44563d=_0x4964a2[_0x2c8ec4(0x16b)](function(_0x48515d,_0x548c15){const _0xf75da=_0x2c8ec4;var _0xef9209=_0x48515d[_0xf75da(0x217)],_0xff2f1c=_0x48515d['id'],_0x2f1306=_0x48515d[_0xf75da(0x219)],_0x248acf=_0x48515d[_0xf75da(0x368)],_0x3afd02=_0x4f7116(_0x48515d,[_0xf75da(0x217),'id','className',_0xf75da(0x368)]),_0x87dca9='univerjs-icon\x20univerjs-icon-'[_0xf75da(0x1ae)](_0xff2f1c,'\x20')['concat'](_0x2f1306||'')[_0xf75da(0x38c)](),_0xa440b9=_0x4964a2[_0xf75da(0x395)]('_'[_0xf75da(0x1ae)](_0x2924a8()));return _0x134d6d(_0xef9209,''['concat'](_0xff2f1c),{'defIds':_0xef9209[_0xf75da(0x1b8)],'idSuffix':_0xa440b9['current']},_0x4a5033({'ref':_0x548c15,'className':_0x87dca9},_0x3afd02),_0x248acf);});function _0x134d6d(_0x55033d,_0x312688,_0x12ee53,_0x3c005f,_0xefca3d){const _0x4a40b7=_0x2c8ec4;return _0x4964a2[_0x4a40b7(0x1b9)](_0x55033d[_0x4a40b7(0x18a)],_0x4a5033(_0x4a5033({'key':_0x312688},_0x2236d9(_0x55033d,_0x12ee53,_0xefca3d)),_0x3c005f),(_0x8cba41(_0x55033d,_0x12ee53)['children']||[])[_0x4a40b7(0x19d)](function(_0x172072,_0x44eb35){const _0x39b14a=_0x4a40b7;return _0x134d6d(_0x172072,''[_0x39b14a(0x1ae)](_0x312688,'-')[_0x39b14a(0x1ae)](_0x55033d[_0x39b14a(0x18a)],'-')['concat'](_0x44eb35),_0x12ee53,void 0x0,_0xefca3d);}));}function _0x2236d9(_0x22d367,_0x31196c,_0x35d5ab){const _0x1be58a=_0x2c8ec4;var _0x1c8114=_0x4a5033({},_0x22d367[_0x1be58a(0x1e5)]);_0x35d5ab!=null&&_0x35d5ab[_0x1be58a(0x321)]&&_0x1c8114['fill']===_0x1be58a(0x321)&&(_0x1c8114[_0x1be58a(0x14a)]=_0x35d5ab['colorChannel1']),_0x22d367['tag']===_0x1be58a(0x17e)&&_0x1c8114['id']&&(_0x1c8114['id']=_0x1c8114['id']+_0x31196c[_0x1be58a(0x27b)]),Object[_0x1be58a(0x25f)](_0x1c8114)['forEach'](function(_0x3b8341){const _0x1f8d88=_0x1be58a;var _0x25a99d=_0x3b8341[0x0],_0x5c6526=_0x3b8341[0x1];_0x25a99d===_0x1f8d88(0x17e)&&typeof _0x5c6526==_0x1f8d88(0x124)&&(_0x1c8114[_0x25a99d]=_0x5c6526['replace'](/url\(#(.*)\)/,_0x1f8d88(0x205)[_0x1f8d88(0x1ae)](_0x31196c['idSuffix'],')')));});var _0x1ad4b2=_0x31196c[_0x1be58a(0x1b8)];return!_0x1ad4b2||_0x1ad4b2[_0x1be58a(0x1f8)]===0x0||(_0x22d367[_0x1be58a(0x18a)]===_0x1be58a(0x2ae)&&_0x1c8114[_0x1be58a(0x2cc)]&&(_0x1c8114[_0x1be58a(0x2cc)]=_0x1c8114[_0x1be58a(0x2cc)]+_0x31196c[_0x1be58a(0x27b)]),Object['entries'](_0x1c8114)[_0x1be58a(0x31d)](function(_0x33836e){const _0x173118=_0x1be58a;var _0x15ce43=_0x33836e[0x0],_0x202863=_0x33836e[0x1];typeof _0x202863==_0x173118(0x124)&&(_0x1c8114[_0x15ce43]=_0x202863[_0x173118(0x118)](/url\(#(.*)\)/,_0x173118(0x205)[_0x173118(0x1ae)](_0x31196c[_0x173118(0x27b)],')')));})),_0x1c8114;}function _0x8cba41(_0x3aa41e,_0x35811f){const _0x57d58e=_0x2c8ec4;var _0xc632bb,_0x5d3c5f=_0x35811f[_0x57d58e(0x1b8)];return!_0x5d3c5f||_0x5d3c5f[_0x57d58e(0x1f8)]===0x0?_0x3aa41e:_0x3aa41e['tag']==='defs'&&(!((_0xc632bb=_0x3aa41e[_0x57d58e(0x2bd)])===null||_0xc632bb===void 0x0)&&_0xc632bb[_0x57d58e(0x1f8)])?_0x4a5033(_0x4a5033({},_0x3aa41e),{'children':_0x3aa41e[_0x57d58e(0x2bd)][_0x57d58e(0x19d)](function(_0x42595c){const _0x388c19=_0x57d58e;return typeof _0x42595c[_0x388c19(0x1e5)]['id']==_0x388c19(0x124)&&_0x5d3c5f&&_0x5d3c5f[_0x388c19(0x3a0)](_0x42595c[_0x388c19(0x1e5)]['id'])>-0x1?_0x4a5033(_0x4a5033({},_0x42595c),{'attrs':_0x4a5033(_0x4a5033({},_0x42595c[_0x388c19(0x1e5)]),{'id':_0x42595c[_0x388c19(0x1e5)]['id']+_0x35811f[_0x388c19(0x27b)]})}):_0x42595c;})}):_0x3aa41e;}function _0x2924a8(){const _0x3705ec=_0x2c8ec4;return Math[_0x3705ec(0x3af)]()[_0x3705ec(0x1f0)](0x24)[_0x3705ec(0x123)](0x2,0x8);}_0x44563d[_0x2c8ec4(0x314)]=_0x2c8ec4(0x25a);var _0x23b86d={'tag':'svg','attrs':{'fill':'none','viewBox':_0x2c8ec4(0x1ba),'width':_0x2c8ec4(0x1b6),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x2c8ec4(0x2e4),'attrs':{'stroke':'currentColor','d':_0x2c8ec4(0x302),'strokeLinecap':'round','strokeLinejoin':_0x2c8ec4(0x169),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2c8ec4(0x275),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x2c8ec4(0x2e4),'attrs':{'fill':_0x2c8ec4(0x23e),'d':_0x2c8ec4(0x28e)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x582ba3=_0x4964a2[_0x2c8ec4(0x16b)](function(_0x5b773d,_0x4574d6){const _0x459308=_0x2c8ec4;return _0x4964a2[_0x459308(0x1b9)](_0x44563d,Object[_0x459308(0x362)]({},_0x5b773d,{'id':'off-line-single','ref':_0x4574d6,'icon':_0x23b86d}));});_0x582ba3[_0x2c8ec4(0x314)]='OffLineSingle';var _0x109f87={'tag':_0x2c8ec4(0x379),'attrs':{'fill':_0x2c8ec4(0x211),'viewBox':_0x2c8ec4(0x20d),'width':_0x2c8ec4(0x1b6),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2c8ec4(0x29d)},'children':[{'tag':_0x2c8ec4(0x2e4),'attrs':{'stroke':'currentColor','d':_0x2c8ec4(0x14b),'strokeLinecap':'round','strokeLinejoin':_0x2c8ec4(0x169),'strokeWidth':1.2}}]},{'tag':_0x2c8ec4(0x24d),'attrs':{},'children':[{'tag':_0x2c8ec4(0x275),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x2c8ec4(0x2e4),'attrs':{'fill':_0x2c8ec4(0x23e),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x2c8ec4(0x1b1)]},_0x53dcc2=_0x4964a2[_0x2c8ec4(0x16b)](function(_0x2adb89,_0x3fc55f){const _0x2f9184=_0x2c8ec4;return _0x4964a2['createElement'](_0x44563d,Object['assign']({},_0x2adb89,{'id':_0x2f9184(0x390),'ref':_0x3fc55f,'icon':_0x109f87}));});_0x53dcc2[_0x2c8ec4(0x314)]=_0x2c8ec4(0x253);function _0x4ba6bf(_0x3522f8){const _0x156f03=_0x2c8ec4;switch(_0x3522f8){case _0x2eddce['CollaborationStatus'][_0x156f03(0x1d1)]:return _0x156f03(0x334);case _0x2eddce[_0x156f03(0x2aa)][_0x156f03(0x338)]:return _0x156f03(0x3ad);case _0x2eddce[_0x156f03(0x2aa)][_0x156f03(0x1d0)]:return'collabStatus.fetchMiss';case _0x2eddce[_0x156f03(0x2aa)]['NOT_COLLAB']:return _0x156f03(0x30f);case _0x2eddce[_0x156f03(0x2aa)][_0x156f03(0x1c6)]:case _0x2eddce[_0x156f03(0x2aa)]['AWAITING_WITH_PENDING']:return _0x156f03(0x12d);case _0x2eddce[_0x156f03(0x2aa)][_0x156f03(0x1ed)]:case _0x2eddce[_0x156f03(0x2aa)]['PENDING']:return _0x156f03(0x218);}}function _0x3891f9(_0x1bd2d7){const _0x1badf1=_0x2c8ec4,{status$:_0x1a208d}=_0x1bd2d7,_0x248ae5=_0x29ec39[_0x1badf1(0x2b2)](_0x1a208d,_0x2eddce[_0x1badf1(0x2aa)][_0x1badf1(0x316)]),_0x105616=_0x29ec39[_0x1badf1(0x384)](_0x268d3b[_0x1badf1(0x322)]),_0x426a52=_0x29ec39[_0x1badf1(0x384)](_0x2eddce[_0x1badf1(0x39c)]),_0x1f9e3d=_0x248ae5!==_0x2eddce['CollaborationStatus']['OFFLINE'],_0x2a46c8=_0x105616['t'](_0x4ba6bf(_0x248ae5)),_0x14480e=_0x1f9e3d?_0xdd3140['jsx'](_0x53dcc2,{}):_0xdd3140[_0x1badf1(0x11e)](_0x582ba3,{}),_0x143dde=_0x4964a2['useCallback'](()=>{const _0x22355b=_0x1badf1;_0x1f9e3d||_0x426a52[_0x22355b(0x342)]();},[_0x1f9e3d,_0x426a52]);function _0x4a808(){const _0x2b2932=_0x1badf1;return _0xdd3140[_0x2b2932(0x31f)](_0x2b2932(0x201),{'className':_0x2b2932(0x1d4),'onClick':_0x143dde,'children':[_0xdd3140['jsx'](_0x2b2932(0x201),{'className':_0x5333e1[_0x2b2932(0x127)](_0x2b2932(0x252),{'univer-text-green-500':_0x1f9e3d,'univer-text-red-500':!_0x1f9e3d}),'children':_0x14480e}),_0xdd3140[_0x2b2932(0x11e)](_0x2b2932(0x201),{'className':_0x2b2932(0x347),'children':_0x2a46c8})]});}return _0x1f9e3d?_0x4a808():_0xdd3140[_0x1badf1(0x11e)](_0x5333e1['Tooltip'],{'title':_0x105616['t'](_0x1badf1(0x20b)),'children':_0x4a808()});}var _0x37cd65=Object[_0x2c8ec4(0x146)],_0x4d569e=(_0x2779dd,_0x2989bd,_0x57edb1,_0x3165fc)=>{const _0xac1926=_0x2c8ec4;for(var _0x47ab06=_0x3165fc>0x1?void 0x0:_0x3165fc?_0x37cd65(_0x2989bd,_0x57edb1):_0x2989bd,_0x40d2b6=_0x2779dd[_0xac1926(0x1f8)]-0x1,_0x2d53e9;_0x40d2b6>=0x0;_0x40d2b6--)(_0x2d53e9=_0x2779dd[_0x40d2b6])&&(_0x47ab06=_0x2d53e9(_0x47ab06)||_0x47ab06);return _0x47ab06;},_0x99ec82=(_0x5bf246,_0x2d3962)=>(_0x31e702,_0x1f2aac)=>_0x2d3962(_0x31e702,_0x1f2aac,_0x5bf246);_0x1ebb4a[_0x2c8ec4(0x2bf)]=class extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(_0x2e883a,_0x5d53a9,_0x463946,_0x2b0faf){const _0x2d5c05=_0x2c8ec4;super(),_0x42374b(this,'_status$',new _0x399a7e[(_0x2d5c05(0x33a))](_0x2eddce[_0x2d5c05(0x2aa)][_0x2d5c05(0x316)])),(this[_0x2d5c05(0x2f1)]=_0x2e883a,this[_0x2d5c05(0x2ab)]=_0x5d53a9,this[_0x2d5c05(0x285)]=_0x463946,this[_0x2d5c05(0x356)]=_0x2b0faf,this[_0x2d5c05(0x38b)](),this[_0x2d5c05(0x1ad)]());}[_0x2c8ec4(0x1ad)](){const _0x2a5a8b=_0x2c8ec4;this[_0x2a5a8b(0x345)](this[_0x2a5a8b(0x2f1)]['focused$'][_0x2a5a8b(0x25d)](_0x399a7e[_0x2a5a8b(0x22f)](()=>{const _0xa4f110=_0x2a5a8b,_0x2503f4=this['_univerInstanceService'][_0xa4f110(0x280)]();return _0x2503f4?this[_0xa4f110(0x285)][_0xa4f110(0x291)](_0x2503f4['getUnitId']()):_0x399a7e['of'](null);}),_0x399a7e[_0x2a5a8b(0x22f)](_0x2b5d14=>_0x2b5d14?_0x2b5d14['status$']:_0x399a7e['of'](_0x2eddce['CollaborationStatus'][_0x2a5a8b(0x316)])))['subscribe'](_0x1a5a18=>{const _0x2b5e7f=_0x2a5a8b;this[_0x2b5e7f(0x364)][_0x2b5e7f(0x2f6)](_0x1a5a18);}));}[_0x2c8ec4(0x38b)](){const _0x36af6a=_0x2c8ec4;this[_0x36af6a(0x345)](this[_0x36af6a(0x356)][_0x36af6a(0x26a)](_0x29ec39[_0x36af6a(0x392)][_0x36af6a(0x30e)],()=>_0x29ec39[_0x36af6a(0x3ac)](_0x286477({'status$':this[_0x36af6a(0x364)][_0x36af6a(0x19a)]()}),this['_injector'])));}},_0x1ebb4a[_0x2c8ec4(0x2bf)]=_0x4d569e([_0x99ec82(0x0,_0x268d3b[_0x2c8ec4(0x2eb)]),_0x99ec82(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x99ec82(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2eddce[_0x2c8ec4(0x36f)])),_0x99ec82(0x3,_0x29ec39['IUIPartsService'])],_0x1ebb4a['DesktopCollaborationStatusDisplayController']);function _0x286477(_0x208670){const {status$:_0x2c9706}=_0x208670;return function(){return _0xdd3140['jsx'](_0x3891f9,{'status$':_0x2c9706});};}var _0x45bc39=Object[_0x2c8ec4(0x146)],_0x5f067b=(_0x7c6b86,_0x401673,_0x112ccd,_0x2ec35a)=>{const _0x1107a5=_0x2c8ec4;for(var _0x48c3dd=_0x2ec35a>0x1?void 0x0:_0x2ec35a?_0x45bc39(_0x401673,_0x112ccd):_0x401673,_0x549732=_0x7c6b86[_0x1107a5(0x1f8)]-0x1,_0x347ede;_0x549732>=0x0;_0x549732--)(_0x347ede=_0x7c6b86[_0x549732])&&(_0x48c3dd=_0x347ede(_0x48c3dd)||_0x48c3dd);return _0x48c3dd;},_0x136504=(_0x5dce78,_0x5442ea)=>(_0x361d03,_0x12b5e3)=>_0x5442ea(_0x361d03,_0x12b5e3,_0x5dce78);let _0x17971b=class extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(_0x3701d0,_0x4d81db,_0x4b88b1,_0x5369cf,_0x21a1da,_0x5a9370){const _0x17fb80=_0x2c8ec4;super(),this[_0x17fb80(0x2bc)]=_0x3701d0,this['_localCacheService']=_0x4d81db,this[_0x17fb80(0x2c2)]=_0x4b88b1,this['_messageService']=_0x5369cf,this[_0x17fb80(0x311)]=_0x21a1da,this['_localeService']=_0x5a9370,this[_0x17fb80(0x18c)](),this[_0x17fb80(0x255)]();}[_0x2c8ec4(0x18c)](){const _0x19fde0=_0x2c8ec4;this['disposeWithMe'](this[_0x19fde0(0x2bc)][_0x19fde0(0x28a)](()=>{const _0x236211=_0x19fde0;if(this[_0x236211(0x1fa)]['saveTaskMap'][_0x236211(0x22e)])return this[_0x236211(0x272)]['t'](_0x236211(0x15d));}));}[_0x2c8ec4(0x255)](){const _0x39f17e=_0x2c8ec4;this[_0x39f17e(0x345)](this[_0x39f17e(0x2c2)][_0x39f17e(0x1a4)][_0x39f17e(0x36b)](_0x20d74e=>{const _0x1f4e5e=_0x39f17e;_0x20d74e['id']===_0x2eddce['CollaborationUIEventId'][_0x1f4e5e(0x328)]&&this[_0x1f4e5e(0x240)][_0x1f4e5e(0x3a3)]({'type':_0x5333e1[_0x1f4e5e(0x2cf)][_0x1f4e5e(0x29a)],'content':this[_0x1f4e5e(0x272)]['t']('collaboration.single-unit.warning')}),_0x20d74e['id']===_0x2eddce['CollaborationUIEventId'][_0x1f4e5e(0x354)]&&this[_0x1f4e5e(0x240)][_0x1f4e5e(0x3a3)]({'type':_0x5333e1[_0x1f4e5e(0x2cf)][_0x1f4e5e(0x29a)],'content':this[_0x1f4e5e(0x272)]['t'](_0x1f4e5e(0x273))}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)][_0x1f4e5e(0x371)]&&this[_0x1f4e5e(0x311)][_0x1f4e5e(0x3a3)]({'title':this[_0x1f4e5e(0x272)]['t']('permission.title'),'content':this[_0x1f4e5e(0x272)]['t'](_0x1f4e5e(0x203)),'type':_0x1f4e5e(0x232),'duration':0x0}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)][_0x1f4e5e(0x338)]&&this[_0x1f4e5e(0x240)][_0x1f4e5e(0x3a3)]({'type':_0x5333e1[_0x1f4e5e(0x2cf)][_0x1f4e5e(0x215)],'content':this['_localeService']['t'](_0x1f4e5e(0x273))+'('+_0x20d74e[_0x1f4e5e(0x1cb)]+')'}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)]['JOIN_ROOM_FAILED']&&this[_0x1f4e5e(0x240)][_0x1f4e5e(0x3a3)]({'type':_0x5333e1[_0x1f4e5e(0x2cf)][_0x1f4e5e(0x29a)],'content':this[_0x1f4e5e(0x272)]['t'](_0x20d74e[_0x1f4e5e(0x1cb)]||'')}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)][_0x1f4e5e(0x1c0)]&&this[_0x1f4e5e(0x240)][_0x1f4e5e(0x3a3)]({'type':_0x5333e1[_0x1f4e5e(0x2cf)][_0x1f4e5e(0x29a)],'content':this[_0x1f4e5e(0x272)]['t'](_0x1f4e5e(0x300))}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)][_0x1f4e5e(0x2b0)]&&this[_0x1f4e5e(0x240)]['show']({'type':_0x5333e1['MessageType'][_0x1f4e5e(0x215)],'content':this['_localeService']['t']('session.connection-failed')}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x1f4e5e(0x3a3)]({'type':_0x5333e1['MessageType'][_0x1f4e5e(0x215)],'content':this[_0x1f4e5e(0x272)]['t']('session.collaboration-timeout')});}));}};_0x17971b=_0x5f067b([_0x136504(0x0,_0x29ec39['IBeforeCloseService']),_0x136504(0x1,_0x2eddce[_0x2c8ec4(0x34c)]),_0x136504(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2eddce[_0x2c8ec4(0x33d)])),_0x136504(0x3,_0x29ec39[_0x2c8ec4(0x33f)]),_0x136504(0x4,_0x29ec39[_0x2c8ec4(0x207)]),_0x136504(0x5,_0x268d3b['Inject'](_0x268d3b[_0x2c8ec4(0x322)]))],_0x17971b);const _0x483d07='collaboration-client-ui.config',_0x32b909={},_0x60b938=_0x268d3b[_0x2c8ec4(0x39f)](_0x2c8ec4(0x213));var _0x55f25f=Object[_0x2c8ec4(0x146)],_0xad6530=(_0x28900b,_0xd9a873,_0x2091c5,_0x5b9c0f)=>{for(var _0x50b287=_0x5b9c0f>0x1?void 0x0:_0x5b9c0f?_0x55f25f(_0xd9a873,_0x2091c5):_0xd9a873,_0xa24fb4=_0x28900b['length']-0x1,_0x233460;_0xa24fb4>=0x0;_0xa24fb4--)(_0x233460=_0x28900b[_0xa24fb4])&&(_0x50b287=_0x233460(_0x50b287)||_0x50b287);return _0x50b287;},_0x4ddf7d=(_0x1b1f12,_0x3fa41e)=>(_0x108971,_0xe3d86f)=>_0x3fa41e(_0x108971,_0xe3d86f,_0x1b1f12);_0x1ebb4a['CollaborationDataLoaderController']=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x2c9a29,_0x38c6fc,_0x49fcf8,_0x5b08cc,_0x15fc0e){const _0x56122d=_0x2c8ec4;super(),this[_0x56122d(0x1aa)]=_0x2c9a29,this[_0x56122d(0x2b6)]=_0x38c6fc,this[_0x56122d(0x21d)]=_0x49fcf8,this[_0x56122d(0x340)]=_0x5b08cc,_0x15fc0e?_0x15fc0e==null||_0x15fc0e[_0x56122d(0x24e)]()[_0x56122d(0x125)](()=>this[_0x56122d(0x216)]()):(this[_0x56122d(0x2b6)][_0x56122d(0x191)](_0x56122d(0x214),_0x56122d(0x230)),this[_0x56122d(0x216)]());}async['_init'](){const _0x4056e0=_0x2c8ec4,_0x1a63b1=this[_0x4056e0(0x1aa)][_0x4056e0(0x24a)]('unit'),_0x32d1d8=this[_0x4056e0(0x1aa)][_0x4056e0(0x24a)](_0x4056e0(0x33e)),_0x1d0cdf=this[_0x4056e0(0x1aa)]['getParam'](_0x4056e0(0x2c7));if(!_0x1a63b1||!_0x32d1d8){this[_0x4056e0(0x2b6)][_0x4056e0(0x191)](_0x4056e0(0x214),_0x4056e0(0x12c));return;}const _0x2c2b92=await this['_dataLoaderService'][_0x4056e0(0x2ee)](_0x1a63b1,Number(_0x32d1d8),_0x1d0cdf);_0x2c2b92&&_0x2c2b92 instanceof _0x268d3b['Workbook']&&this[_0x4056e0(0x13a)](_0x2c2b92);}async[_0x2c8ec4(0x13a)](_0x1b9c93){const _0x2157c4=_0x2c8ec4;await this[_0x2157c4(0x160)](_0x1b9c93),_0x1b9c93[_0x2157c4(0x13d)][_0x2157c4(0x25d)](_0x399a7e[_0x2157c4(0x365)](this[_0x2157c4(0x2e0)]))['subscribe'](_0x593d63=>{_0x593d63&&this['_updateURLWithCurrentState'](_0x593d63);}),this[_0x2157c4(0x1aa)]['urlChange$'][_0x2157c4(0x25d)](_0x399a7e[_0x2157c4(0x365)](this['dispose$']))[_0x2157c4(0x36b)](()=>this['_updateSubUnitFromURLParams'](_0x1b9c93));}['_updateURLWithCurrentState'](_0x263c9d,_0x18345f=!0x1){const _0xd876f9=_0x2c8ec4,_0x4d19bc=this['_urlService'][_0xd876f9(0x24a)](_0xd876f9(0x2c7));_0x263c9d[_0xd876f9(0x30a)]()!==_0x4d19bc&&this['_urlService']['setParam'](_0xd876f9(0x2c7),_0x263c9d[_0xd876f9(0x30a)](),_0x18345f);}async[_0x2c8ec4(0x160)](_0x564ec2){const _0x215fdb=_0x2c8ec4;var _0x41ee25;const _0x23b286=this[_0x215fdb(0x1aa)][_0x215fdb(0x24a)](_0x215fdb(0x2c7));if(!_0x23b286||!_0x564ec2[_0x215fdb(0x309)](_0x23b286)){const _0x1c324a=_0x564ec2[_0x215fdb(0x1d7)]()[0x0],_0x5a0bdf=_0x564ec2[_0x215fdb(0x309)](_0x1c324a);if(!_0x5a0bdf)return;this[_0x215fdb(0x294)](_0x5a0bdf,!0x0),await this[_0x215fdb(0x21d)][_0x215fdb(0x1ce)](_0x26ad5a[_0x215fdb(0x137)]['id'],{'unitId':_0x564ec2[_0x215fdb(0x14c)](),'subUnitId':_0x1c324a});return;}((_0x41ee25=_0x564ec2[_0x215fdb(0x2be)]())==null?void 0x0:_0x41ee25[_0x215fdb(0x30a)]())!==_0x23b286&&await this[_0x215fdb(0x21d)]['executeCommand'](_0x26ad5a['SetWorksheetActivateCommand']['id'],{'unitId':_0x564ec2['getUnitId'](),'subUnitId':_0x23b286});}},_0x1ebb4a[_0x2c8ec4(0x130)]=_0xad6530([_0x4ddf7d(0x0,_0x60b938),_0x4ddf7d(0x1,_0x268d3b[_0x2c8ec4(0x1d8)]),_0x4ddf7d(0x2,_0x268d3b['ICommandService']),_0x4ddf7d(0x3,_0x268d3b[_0x2c8ec4(0x1be)](_0x2eddce[_0x2c8ec4(0x29c)])),_0x4ddf7d(0x4,_0x268d3b[_0x2c8ec4(0x115)](_0x7ad451[_0x2c8ec4(0x303)]))],_0x1ebb4a['CollaborationDataLoaderController']);var _0x489cd2=Object[_0x2c8ec4(0x146)],_0x1a7118=(_0x399f2d,_0x3d179e,_0x59db9b,_0x502384)=>{const _0x58e4d0=_0x2c8ec4;for(var _0x3395d9=_0x502384>0x1?void 0x0:_0x502384?_0x489cd2(_0x3d179e,_0x59db9b):_0x3d179e,_0x474e7c=_0x399f2d[_0x58e4d0(0x1f8)]-0x1,_0x1891d5;_0x474e7c>=0x0;_0x474e7c--)(_0x1891d5=_0x399f2d[_0x474e7c])&&(_0x3395d9=_0x1891d5(_0x3395d9)||_0x3395d9);return _0x3395d9;},_0x307880=(_0x1d8ce1,_0x4d0c74)=>(_0x537fe3,_0x303e76)=>_0x4d0c74(_0x537fe3,_0x303e76,_0x1d8ce1);let _0x2726a6=class{constructor(_0x162989,_0x582060,_0x37e491){const _0x46f9ae=_0x2c8ec4;this['_injector']=_0x162989,this[_0x46f9ae(0x1ac)]=_0x582060,this['_renderManagerService']=_0x37e491;}[_0x2c8ec4(0x397)](_0x390529){this['_transformUndoRedoStack'](_0x390529),this['_transformPreviousActiveRange'](_0x390529);}[_0x2c8ec4(0x1ff)](_0x5875c0){const _0x2b48b6=_0x2c8ec4,{unitID:_0x5cd389}=_0x5875c0,_0x149413=this['_renderManagerService'][_0x2b48b6(0x2f9)](_0x5cd389)[_0x2b48b6(0x17c)](_0x58ed4c[_0x2b48b6(0x2ad)]),{redoCache:_0x488639}=_0x149413[_0x2b48b6(0x140)]();if(_0x488639[_0x2b48b6(0x1f8)]===0x0)return _0x5875c0;let _0x1c1f6f=_0x268d3b['Tools']['deepClone'](_0x5875c0['mutations'][0x0]);for(let _0x181b50=0x0;_0x181b50<_0x488639[_0x2b48b6(0x1f8)];_0x181b50++){const _0x5285fc={'id':'doc.mutation.rich-text-editing','params':{..._0x488639[_0x181b50]}},_0x38cadd=this[_0x2b48b6(0x1ac)]['transformMutation'](_0x1c1f6f,_0x5285fc,!0x1);if(_0x2ac5d3[_0x2b48b6(0x197)](_0x38cadd))throw _0x38cadd[_0x2b48b6(0x232)];_0x1c1f6f=_0x38cadd[_0x2b48b6(0x30d)];}return{..._0x268d3b[_0x2b48b6(0x204)][_0x2b48b6(0x2e1)](_0x5875c0),'mutations':[_0x1c1f6f]};}[_0x2c8ec4(0x1a8)](_0xe588ba){const _0x34efd9=_0x2c8ec4,{unitID:_0x54d4df}=_0xe588ba,_0x4ff7cb=this[_0x34efd9(0x358)][_0x34efd9(0x2f9)](_0x54d4df)['with'](_0x58ed4c[_0x34efd9(0x2ad)]),{undoCache:_0x1017ae,redoCache:_0x33b18a}=_0x4ff7cb['getUndoRedoMutationParamsCache']();if(_0x1017ae[_0x34efd9(0x1f8)]===0x0||_0x33b18a[_0x34efd9(0x1f8)]===0x0)return;const _0x540669=[],_0x45e730=[];let _0x4b376a=_0x268d3b[_0x34efd9(0x204)][_0x34efd9(0x2e1)](_0xe588ba[_0x34efd9(0x265)][0x0]),_0x41efb4=_0x268d3b[_0x34efd9(0x204)][_0x34efd9(0x2e1)](_0xe588ba['mutations'][0x0]);for(let _0x1331da=_0x1017ae['length']-0x1;_0x1331da>=0x0;_0x1331da--){const _0x137155={'id':_0x34efd9(0x195),'params':{..._0x1017ae[_0x1331da]}},_0x44e05b={'id':_0x34efd9(0x195),'params':{..._0x33b18a[_0x1331da]}},_0x11fd1e=this[_0x34efd9(0x1ac)][_0x34efd9(0x1c7)](_0x4b376a,_0x137155,!0x1),_0x26a38c=this[_0x34efd9(0x1ac)]['transformMutation'](_0x41efb4,_0x44e05b,!0x1);if(_0x2ac5d3[_0x34efd9(0x197)](_0x11fd1e))throw _0x11fd1e[_0x34efd9(0x232)];if(_0x2ac5d3[_0x34efd9(0x197)](_0x26a38c))throw _0x26a38c[_0x34efd9(0x232)];_0x540669[_0x34efd9(0x226)](_0x11fd1e[_0x34efd9(0x154)][_0x34efd9(0x126)]),_0x45e730['unshift'](_0x26a38c['m2Prime'][_0x34efd9(0x126)]),_0x4b376a=_0x11fd1e[_0x34efd9(0x30d)],_0x41efb4=_0x26a38c[_0x34efd9(0x30d)];}_0x4ff7cb[_0x34efd9(0x3b0)]({'undoCache':_0x540669,'redoCache':_0x45e730});}[_0x2c8ec4(0x1ec)](_0xcf0d8e){const _0x20d5fa=_0x2c8ec4,{unitID:_0x130979}=_0xcf0d8e,_0x530b60=this[_0x20d5fa(0x358)][_0x20d5fa(0x2f9)](_0x130979)[_0x20d5fa(0x17c)](_0x58ed4c[_0x20d5fa(0x2ad)]),_0x11303f=_0x530b60[_0x20d5fa(0x35f)]();if(_0x11303f==null)return;const _0x1c1766=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xcf0d8e[_0x20d5fa(0x352)],'actions':null,'textRanges':[_0x11303f]}}],_0x17f03a=this[_0x20d5fa(0x1ac)]['transformMutationsWithChangeset'](_0xcf0d8e,_0x1c1766);if(!_0x2ac5d3[_0x20d5fa(0x256)](_0x17f03a))throw _0x17f03a[_0x20d5fa(0x232)];const _0x55564f=_0x17f03a[_0x20d5fa(0x154)][0x0][_0x20d5fa(0x126)][_0x20d5fa(0x133)];Array['isArray'](_0x55564f)&&_0x55564f['length']&&_0x530b60[_0x20d5fa(0x341)](_0x55564f[0x0]);}};_0x2726a6=_0x1a7118([_0x307880(0x0,_0x268d3b['Inject'](_0x268d3b['Injector'])),_0x307880(0x1,_0x2ac5d3['ITransformService']),_0x307880(0x2,_0xb8fc77[_0x2c8ec4(0x332)])],_0x2726a6);var _0xf83d99=Object[_0x2c8ec4(0x146)],_0x1f7636=(_0x499a3f,_0x48c77a,_0x37ef73,_0x2d741b)=>{const _0x310117=_0x2c8ec4;for(var _0x1809e3=_0x2d741b>0x1?void 0x0:_0x2d741b?_0xf83d99(_0x48c77a,_0x37ef73):_0x48c77a,_0x84d4b2=_0x499a3f[_0x310117(0x1f8)]-0x1,_0xa4e2fc;_0x84d4b2>=0x0;_0x84d4b2--)(_0xa4e2fc=_0x499a3f[_0x84d4b2])&&(_0x1809e3=_0xa4e2fc(_0x1809e3)||_0x1809e3);return _0x1809e3;},_0x226c7f=(_0x17acf0,_0x31c0e7)=>(_0x1db17a,_0x53e5a2)=>_0x31c0e7(_0x1db17a,_0x53e5a2,_0x17acf0);let _0x20b9d9=class{constructor(_0x40b6cd,_0x837dd8,_0xe64f02){const _0x40f346=_0x2c8ec4;this[_0x40f346(0x2ab)]=_0x40b6cd,this[_0x40f346(0x1ac)]=_0x837dd8,this[_0x40f346(0x152)]=_0xe64f02;}[_0x2c8ec4(0x1fd)](_0x59e9f2){this['_transformHistoryAndStateStack'](_0x59e9f2);}[_0x2c8ec4(0x1ff)](_0x2af7d2){const _0x1cf62a=_0x2c8ec4,{unitID:_0x2ad9b2}=_0x2af7d2,{collaboration:_0x10032c}=this[_0x1cf62a(0x152)][_0x1cf62a(0x14e)](_0x2ad9b2);if(_0x10032c['length']===0x0)return _0x2af7d2;let _0x3b1b89=_0x268d3b[_0x1cf62a(0x204)][_0x1cf62a(0x2e1)](_0x2af7d2[_0x1cf62a(0x265)][0x0]);for(let _0x1d6a47=0x0;_0x1d6a47<_0x10032c[_0x1cf62a(0x1f8)];_0x1d6a47++){const _0x50e1f8={'id':_0x1cf62a(0x195),'params':{'unitId':_0x10032c[_0x1d6a47]['unitId'],..._0x10032c[_0x1d6a47][_0x1cf62a(0x23d)]}},_0x3444ef=this['_transformService'][_0x1cf62a(0x1c7)](_0x3b1b89,_0x50e1f8,!0x1);if(_0x2ac5d3['isTransformMutationFailure'](_0x3444ef))throw _0x3444ef[_0x1cf62a(0x232)];_0x3b1b89=_0x3444ef[_0x1cf62a(0x30d)];}return{..._0x268d3b[_0x1cf62a(0x204)][_0x1cf62a(0x2e1)](_0x2af7d2),'mutations':[_0x3b1b89]};}[_0x2c8ec4(0x274)](_0x24df1e){const _0x5d1089=_0x2c8ec4,{unitID:_0x27bfaf}=_0x24df1e,{history:_0xad71e7,collaboration:_0x69d0fa}=this[_0x5d1089(0x152)]['getStateCache'](_0x27bfaf);if(_0xad71e7['length']===0x0&&_0x69d0fa['length']===0x0)return;const _0x3d034b=[],_0x513eb6=[];let _0x13c1a5=_0x268d3b[_0x5d1089(0x204)][_0x5d1089(0x2e1)](_0x24df1e[_0x5d1089(0x265)][0x0]),_0xe0dfe9=_0x268d3b[_0x5d1089(0x204)][_0x5d1089(0x2e1)](_0x24df1e[_0x5d1089(0x265)][0x0]);for(let _0x3d8dde=_0xad71e7[_0x5d1089(0x1f8)]-0x1;_0x3d8dde>=0x0;_0x3d8dde--){const _0x141aad={'id':_0x5d1089(0x195),'params':{'unitId':_0xad71e7[_0x3d8dde][_0x5d1089(0x2e2)],..._0xad71e7[_0x3d8dde]['undoState']}},_0x16d9a2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xad71e7[_0x3d8dde][_0x5d1089(0x2e2)],..._0xad71e7[_0x3d8dde]['redoState']}},_0x190f8a=this['_transformService'][_0x5d1089(0x1c7)](_0x13c1a5,_0x141aad,!0x1),_0xb52e2f=this[_0x5d1089(0x1ac)][_0x5d1089(0x1c7)](_0xe0dfe9,_0x16d9a2,!0x1);if(_0x2ac5d3[_0x5d1089(0x197)](_0x190f8a))throw _0x190f8a[_0x5d1089(0x232)];if(_0x2ac5d3['isTransformMutationFailure'](_0xb52e2f))throw _0xb52e2f[_0x5d1089(0x232)];_0x3d034b['unshift']({..._0xad71e7[_0x3d8dde],'undoState':_0x190f8a[_0x5d1089(0x154)]['params'],'redoState':_0xb52e2f[_0x5d1089(0x154)][_0x5d1089(0x126)]}),_0x13c1a5=_0x190f8a['m1Prime'],_0xe0dfe9=_0xb52e2f[_0x5d1089(0x30d)];}_0x13c1a5=_0x268d3b[_0x5d1089(0x204)][_0x5d1089(0x2e1)](_0x24df1e[_0x5d1089(0x265)][0x0]),_0xe0dfe9=_0x268d3b[_0x5d1089(0x204)]['deepClone'](_0x24df1e[_0x5d1089(0x265)][0x0]);for(let _0x25c550=_0x69d0fa[_0x5d1089(0x1f8)]-0x1;_0x25c550>=0x0;_0x25c550--){const _0x3dd6d4={'id':_0x5d1089(0x195),'params':{'unitId':_0x69d0fa[_0x25c550][_0x5d1089(0x2e2)],..._0x69d0fa[_0x25c550][_0x5d1089(0x32e)]}},_0x34e183={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x69d0fa[_0x25c550]['unitId'],..._0x69d0fa[_0x25c550]['redoState']}},_0x17906a=this[_0x5d1089(0x1ac)]['transformMutation'](_0x13c1a5,_0x3dd6d4,!0x1),_0x4f1cb8=this[_0x5d1089(0x1ac)]['transformMutation'](_0xe0dfe9,_0x34e183,!0x1);if(_0x2ac5d3[_0x5d1089(0x197)](_0x17906a))throw _0x17906a[_0x5d1089(0x232)];if(_0x2ac5d3['isTransformMutationFailure'](_0x4f1cb8))throw _0x4f1cb8['error'];_0x513eb6['unshift']({..._0x69d0fa[_0x25c550],'undoState':_0x17906a[_0x5d1089(0x154)]['params'],'redoState':_0x4f1cb8[_0x5d1089(0x154)][_0x5d1089(0x126)]}),_0x13c1a5=_0x17906a[_0x5d1089(0x30d)],_0xe0dfe9=_0x4f1cb8[_0x5d1089(0x30d)];}this[_0x5d1089(0x152)]['setStateCache'](_0x27bfaf,{'history':_0x3d034b,'collaboration':_0x513eb6});}};_0x20b9d9=_0x1f7636([_0x226c7f(0x0,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x226c7f(0x1,_0x2ac5d3['ITransformService']),_0x226c7f(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x58ed4c['DocStateChangeManagerService']))],_0x20b9d9);var _0xba16ee=Object[_0x2c8ec4(0x146)],_0x4e7ae7=(_0x59317b,_0xfb3ece,_0x153f29,_0x13895a)=>{const _0x1af7b5=_0x2c8ec4;for(var _0x12e303=_0x13895a>0x1?void 0x0:_0x13895a?_0xba16ee(_0xfb3ece,_0x153f29):_0xfb3ece,_0x59f783=_0x59317b[_0x1af7b5(0x1f8)]-0x1,_0x490789;_0x59f783>=0x0;_0x59f783--)(_0x490789=_0x59317b[_0x59f783])&&(_0x12e303=_0x490789(_0x12e303)||_0x12e303);return _0x12e303;},_0x10bb84=(_0x4a8a4b,_0x495636)=>(_0x573c64,_0xe296ad)=>_0x495636(_0x573c64,_0xe296ad,_0x4a8a4b);let _0x43e811=class{constructor(_0x24dbdc,_0x3a752d){const _0x3d112e=_0x2c8ec4;this[_0x3d112e(0x2ab)]=_0x24dbdc,this['_transformService']=_0x3a752d;}[_0x2c8ec4(0x1b4)](_0x24dae5){const _0x277e30=_0x2c8ec4;var _0x5df4dc;const _0x2bf9b7=this[_0x277e30(0x2ab)][_0x277e30(0x36a)](_0x688e2['DocSelectionManagerService']),_0x24a79b=(_0x5df4dc=_0x2bf9b7[_0x277e30(0x307)]())!=null?_0x5df4dc:[];if(_0x24a79b['length']===0x0)return;const _0x2d0ef0=_0x24dae5[_0x277e30(0x352)],_0x45c24b=[{'id':_0x277e30(0x195),'params':{'unitId':_0x2d0ef0,'actions':null,'textRanges':_0x24a79b}}],_0x227697=this[_0x277e30(0x1ac)]['transformMutationsWithChangeset'](_0x24dae5,_0x45c24b);if(!_0x2ac5d3[_0x277e30(0x256)](_0x227697))throw _0x227697['error'];const _0x320c99=_0x227697[_0x277e30(0x154)][0x0][_0x277e30(0x126)][_0x277e30(0x133)];Array[_0x277e30(0x187)](_0x320c99)&&_0x320c99[_0x277e30(0x1f8)]&&_0x2bf9b7[_0x277e30(0x244)](_0x320c99,{'unitId':_0x2d0ef0,'subUnitId':_0x2d0ef0},!0x1);}};_0x43e811=_0x4e7ae7([_0x10bb84(0x0,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x10bb84(0x1,_0x2ac5d3['ITransformService'])],_0x43e811);var _0x516cfb=Object[_0x2c8ec4(0x146)],_0x364353=(_0x1812de,_0xbcfd15,_0x4e614d,_0x83e0d7)=>{const _0x95c083=_0x2c8ec4;for(var _0x533e12=_0x83e0d7>0x1?void 0x0:_0x83e0d7?_0x516cfb(_0xbcfd15,_0x4e614d):_0xbcfd15,_0x404d14=_0x1812de[_0x95c083(0x1f8)]-0x1,_0x3300b2;_0x404d14>=0x0;_0x404d14--)(_0x3300b2=_0x1812de[_0x404d14])&&(_0x533e12=_0x3300b2(_0x533e12)||_0x533e12);return _0x533e12;},_0x2f69b8=(_0x3ee704,_0x81c2da)=>(_0x5dc6dd,_0x437f5b)=>_0x81c2da(_0x5dc6dd,_0x437f5b,_0x3ee704);let _0x225927=class extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(_0x387be2,_0x3485b0,_0x1f4920,_0x475a42,_0x4072e8,_0x12b396,_0x291925,_0x5de8cc){const _0x523b5b=_0x2c8ec4;super(),_0x42374b(this,_0x523b5b(0x364),new _0x399a7e[(_0x523b5b(0x33a))](_0x2eddce[_0x523b5b(0x2aa)][_0x523b5b(0x316)])),(this[_0x523b5b(0x152)]=_0x387be2,this['_collaborationController']=_0x3485b0,this[_0x523b5b(0x138)]=_0x1f4920,this[_0x523b5b(0x2e5)]=_0x475a42,this['_docTransformSelectionsService']=_0x4072e8,this[_0x523b5b(0x29b)]=_0x12b396,this['_messageService']=_0x291925,this[_0x523b5b(0x272)]=_0x5de8cc,this[_0x523b5b(0x170)]());}[_0x2c8ec4(0x170)](){const _0x50d685=_0x2c8ec4;this[_0x50d685(0x345)](this[_0x50d685(0x285)][_0x50d685(0x1f3)]['subscribe'](_0x328082=>{const _0x5293bb=_0x50d685,_0x528170=this[_0x5293bb(0x152)]['docStateChange$'][_0x5293bb(0x36b)](_0x269882=>{const _0x36fc9c=_0x5293bb;if(_0x269882==null)return;const {unitId:_0x10ab63,redoState:_0x4a3fec,commandId:_0x1411e7}=_0x269882;if(_0x10ab63!==_0x328082[_0x36fc9c(0x352)])return;const _0x12ea17={'id':_0x1411e7,'type':_0x268d3b['CommandType'][_0x36fc9c(0x37e)],'params':{'unitId':_0x10ab63,'actions':_0x4a3fec[_0x36fc9c(0x1e4)],'textRanges':null}};_0x328082[_0x36fc9c(0x327)](_0x12ea17);});if(_0x328082[_0x5293bb(0x345)](_0x528170),_0x328082 instanceof _0x2eddce[_0x5293bb(0x312)]){const _0x2be573={'onTransformIME':_0x2ea269=>this[_0x5293bb(0x138)][_0x5293bb(0x397)](_0x2ea269),'onTransformState':_0x4ec2f1=>this['_docTransformStateCacheService']['transformStateCache'](_0x4ec2f1),'onTransformSelections':_0x5c88b5=>this['_docTransformSelectionsService']['transformSelections'](_0x5c88b5),'onSyncEditingCollabCursor':_0x3bb27d=>this['_docSyncEditingCollabCursorService'][_0x5293bb(0x139)](_0x3bb27d),'onTransformRemoteChangesetByIMECache':_0x3ddb8e=>this[_0x5293bb(0x138)][_0x5293bb(0x1ff)](_0x3ddb8e),'onTransformRemoteChangesetByStateCache':_0x3cccd8=>this[_0x5293bb(0x2e5)][_0x5293bb(0x1ff)](_0x3cccd8)};_0x328082['addHandlerCallback'](_0x2be573);}}));}};_0x225927=_0x364353([_0x2f69b8(0x0,_0x268d3b[_0x2c8ec4(0x1be)](_0x58ed4c[_0x2c8ec4(0x258)])),_0x2f69b8(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x2eddce[_0x2c8ec4(0x36f)])),_0x2f69b8(0x2,_0x268d3b['Inject'](_0x2726a6)),_0x2f69b8(0x3,_0x268d3b[_0x2c8ec4(0x1be)](_0x20b9d9)),_0x2f69b8(0x4,_0x268d3b['Inject'](_0x43e811)),_0x2f69b8(0x5,_0x268d3b[_0x2c8ec4(0x1be)](_0x2fcdcb)),_0x2f69b8(0x6,_0x29ec39[_0x2c8ec4(0x33f)]),_0x2f69b8(0x7,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x322)]))],_0x225927);var _0x41ca7c=Object[_0x2c8ec4(0x146)],_0x3decd4=(_0x4c48e2,_0xa263ac,_0x5ccebc,_0x1576eb)=>{const _0x22b4c4=_0x2c8ec4;for(var _0xd522e5=_0x1576eb>0x1?void 0x0:_0x1576eb?_0x41ca7c(_0xa263ac,_0x5ccebc):_0xa263ac,_0x411cd0=_0x4c48e2[_0x22b4c4(0x1f8)]-0x1,_0x222faf;_0x411cd0>=0x0;_0x411cd0--)(_0x222faf=_0x4c48e2[_0x411cd0])&&(_0xd522e5=_0x222faf(_0xd522e5)||_0xd522e5);return _0xd522e5;},_0x4542c6=(_0x1c2603,_0x3d43a4)=>(_0xfb4e3f,_0x1e7193)=>_0x3d43a4(_0xfb4e3f,_0x1e7193,_0x1c2603);let _0x583834=class extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(_0x59999e,_0x542593,_0x5563c1){const _0x45de33=_0x2c8ec4;super(),_0x42374b(this,_0x45de33(0x329),new Map()),_0x42374b(this,_0x45de33(0x315),new Map()),_0x42374b(this,_0x45de33(0x2f4),!0x1),(this[_0x45de33(0x383)]=_0x59999e,this['_localStorageService']=_0x542593,this['_revisionService']=_0x5563c1);}[_0x2c8ec4(0x32d)](){const _0x5944cb=_0x2c8ec4;this[_0x5944cb(0x2f4)]=!0x0;}[_0x2c8ec4(0x14d)](){this['_disabled']=!0x1;}get[_0x2c8ec4(0x147)](){const _0xda628d=_0x2c8ec4;return this[_0xda628d(0x315)];}[_0x2c8ec4(0x37b)](){const _0xd2a091=_0x2c8ec4;this['exhaustSavingTask']()[_0xd2a091(0x125)](()=>super[_0xd2a091(0x37b)]());}async['loadOfflineData'](_0x1ca4c3){const _0x290c62=_0x2c8ec4;return this['_disabled']?null:this[_0x290c62(0x2f0)][_0x290c62(0x343)](_0x2eddce[_0x290c62(0x2b8)](_0x1ca4c3));}async[_0x2c8ec4(0x18d)](_0x38ea7d,_0x3730af){const _0x409bdd=_0x2c8ec4;return!!this[_0x409bdd(0x2f0)]['setItem'](_0x38ea7d,_0x3730af);}[_0x2c8ec4(0x2d3)](_0x1e7899,_0x4a142d,_0x22e670,_0x1dca24){const _0x1f9aba=_0x2c8ec4,_0x3da78b=this[_0x1f9aba(0x360)][_0x1f9aba(0x27e)](_0x1e7899);this[_0x1f9aba(0x329)]['set'](_0x1e7899,{'unitID':_0x1e7899,'type':_0x4a142d,'awaitingChangeset':_0x22e670,'mutations':_0x1dca24,'rev':_0x3da78b}),this['_saveTaskMap']['has'](_0x1e7899)||this[_0x1f9aba(0x19f)](_0x1e7899);}[_0x2c8ec4(0x19f)](_0x5070dc){const _0x40c38f=_0x2c8ec4,_0x467d01=this[_0x40c38f(0x35c)]();_0x467d01===0x0?this[_0x40c38f(0x28d)](_0x5070dc):this['_saveTaskMap'][_0x40c38f(0x3a4)](_0x5070dc,setTimeout(()=>this[_0x40c38f(0x28d)](_0x5070dc),_0x467d01));}[_0x2c8ec4(0x35c)](){const _0x39440c=_0x2c8ec4;var _0x938445;return(_0x938445=this[_0x39440c(0x383)][_0x39440c(0x25b)](_0x2eddce['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x938445:_0x2eddce[_0x39440c(0x28f)];}[_0x2c8ec4(0x28d)](_0x5e249c){const _0x4bef3f=_0x2c8ec4,_0x4fcca3=this[_0x4bef3f(0x315)][_0x4bef3f(0x36a)](_0x5e249c);return _0x4fcca3!==void 0x0&&window[_0x4bef3f(0x34e)](_0x4fcca3),this[_0x4bef3f(0x2f0)][_0x4bef3f(0x2f8)](_0x2eddce[_0x4bef3f(0x2b8)](_0x5e249c),this['_cachedData'][_0x4bef3f(0x36a)](_0x5e249c))[_0x4bef3f(0x125)](()=>this[_0x4bef3f(0x315)][_0x4bef3f(0x259)](_0x5e249c));}async[_0x2c8ec4(0x1f4)](){const _0x34c3bc=_0x2c8ec4,_0x2f7256=[];this[_0x34c3bc(0x315)][_0x34c3bc(0x31d)]((_0x53fa13,_0x36cfc8)=>{const _0xbbb208=_0x34c3bc;window['clearTimeout'](_0x53fa13),_0x2f7256[_0xbbb208(0x243)](this['_saveCache'](_0x36cfc8)[_0xbbb208(0x125)](()=>{const _0x49c4ed=_0xbbb208;this['_saveTaskMap'][_0x49c4ed(0x259)](_0x36cfc8);}));}),await Promise['all'](_0x2f7256);}};_0x583834=_0x3decd4([_0x4542c6(0x0,_0x268d3b['IConfigService']),_0x4542c6(0x1,_0x268d3b[_0x2c8ec4(0x270)]),_0x4542c6(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2ac5d3[_0x2c8ec4(0x2d9)]))],_0x583834);class _0x199640 extends _0x268d3b['RxDisposable']{constructor(){const _0x2f4c81=_0x2c8ec4;super(),_0x42374b(this,'urlChange$'),this['urlChange$']=_0x399a7e[_0x2f4c81(0x145)](window,_0x2f4c81(0x38a))['pipe'](_0x399a7e['takeUntil'](this['dispose$']),_0x399a7e[_0x2f4c81(0x116)](0x1),_0x399a7e[_0x2f4c81(0x1e6)](void 0x0));}[_0x2c8ec4(0x1c4)](_0x2d0c67,_0x3ee2bc,_0xdfc96b=!0x1){const _0x5135dd=_0x2c8ec4,_0x3a6230=new URL(window[_0x5135dd(0x3a1)]['href']);_0x3a6230[_0x5135dd(0x208)][_0x5135dd(0x3a4)](_0x2d0c67,_0x3ee2bc),_0xdfc96b?window['history'][_0x5135dd(0x2db)]('','',_0x3a6230[_0x5135dd(0x1f0)]()):window[_0x5135dd(0x135)][_0x5135dd(0x1f1)]('','',_0x3a6230[_0x5135dd(0x1f0)]());}[_0x2c8ec4(0x247)](_0x28c776,_0x5632c5=!0x1){const _0x152668=_0x2c8ec4,_0x5ca4c7=new URL(window['location'][_0x152668(0x1ab)]);_0x5ca4c7[_0x152668(0x208)][_0x152668(0x259)](_0x28c776),_0x5632c5?window[_0x152668(0x135)][_0x152668(0x2db)]('','',_0x5ca4c7[_0x152668(0x1f0)]()):window[_0x152668(0x135)][_0x152668(0x1f1)]('','',_0x5ca4c7['toString']());}[_0x2c8ec4(0x24a)](_0x717a2b){const _0x2111b0=_0x2c8ec4;var _0xfde2d5;return(_0xfde2d5=new URL(window[_0x2111b0(0x3a1)]['href'])[_0x2111b0(0x208)][_0x2111b0(0x36a)](_0x717a2b))!=null?_0xfde2d5:void 0x0;}}var _0x467306=Object[_0x2c8ec4(0x251)],_0x123660=Object[_0x2c8ec4(0x146)],_0x3c0abb=(_0x1184ef,_0x41435f,_0x314b3b)=>_0x41435f in _0x1184ef?_0x467306(_0x1184ef,_0x41435f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x314b3b}):_0x1184ef[_0x41435f]=_0x314b3b,_0x372ab9=(_0x2b2ad2,_0x5e582a,_0xc3eceb,_0x46b105)=>{for(var _0x1ab7a1=_0x46b105>0x1?void 0x0:_0x46b105?_0x123660(_0x5e582a,_0xc3eceb):_0x5e582a,_0x22f25f=_0x2b2ad2['length']-0x1,_0x48ebf8;_0x22f25f>=0x0;_0x22f25f--)(_0x48ebf8=_0x2b2ad2[_0x22f25f])&&(_0x1ab7a1=_0x48ebf8(_0x1ab7a1)||_0x1ab7a1);return _0x1ab7a1;},_0x5a2584=(_0x5c3caa,_0xa1600b)=>(_0x13591f,_0x578915)=>_0xa1600b(_0x13591f,_0x578915,_0x5c3caa),_0x7d2748=(_0x11b422,_0x561711,_0x24fa0f)=>_0x3c0abb(_0x11b422,_0x561711+'',_0x24fa0f);const _0xd5dd7e=_0x2c8ec4(0x27d);_0x1ebb4a[_0x2c8ec4(0x28c)]=class extends _0x268d3b[_0x2c8ec4(0x2cb)]{constructor(_0x4fbe62=_0x32b909,_0x2b050a,_0xf55428,_0x2a43a8){const _0x1e066e=_0x2c8ec4;super(),this[_0x1e066e(0x377)]=_0x4fbe62,this[_0x1e066e(0x358)]=_0x2b050a,this['_injector']=_0xf55428,this['_configService']=_0x2a43a8;const {..._0x50dd6c}=_0x268d3b[_0x1e066e(0x1e8)]({},_0x32b909,this[_0x1e066e(0x377)]);this[_0x1e066e(0x383)][_0x1e066e(0x21a)](_0x483d07,_0x50dd6c);}[_0x2c8ec4(0x189)](){const _0x3e9457=_0x2c8ec4;this[_0x3e9457(0x192)](),this[_0x3e9457(0x1eb)]();}['onRendered'](){const _0x4e9bce=_0x2c8ec4;this[_0x4e9bce(0x1c5)]();}[_0x2c8ec4(0x192)](){const _0x5f5db4=_0x2c8ec4;var _0x15ebfc;const _0x48f23c=[[_0x1ad7cd],[_0x43e811],[_0x2726a6],[_0x20b9d9],[_0x2fcdcb],[_0x60b938,{'useClass':_0x199640}],[_0x45e235['ISocketService'],{'useClass':_0x45e235[_0x5f5db4(0x39d)]}],[_0x2eddce[_0x5f5db4(0x34c)],{'useClass':_0x583834}],[_0x1ebb4a[_0x5f5db4(0x2bf)]],[_0x225927],[_0x17971b],[_0x2e97d2],[_0x2c02c5],[_0x1ebb4a[_0x5f5db4(0x130)]]];_0x268d3b[_0x5f5db4(0x3a2)](this[_0x5f5db4(0x2ab)],_0x268d3b[_0x5f5db4(0x39b)](_0x48f23c,(_0x15ebfc=this[_0x5f5db4(0x377)])==null?void 0x0:_0x15ebfc[_0x5f5db4(0x376)]));}[_0x2c8ec4(0x1c5)](){const _0x411d2b=_0x2c8ec4;this[_0x411d2b(0x345)](this[_0x411d2b(0x358)][_0x411d2b(0x2a5)](_0x268d3b[_0x411d2b(0x20a)][_0x411d2b(0x39a)],[_0x269418])),this[_0x411d2b(0x345)](this[_0x411d2b(0x358)][_0x411d2b(0x2a5)](_0x268d3b[_0x411d2b(0x20a)][_0x411d2b(0x186)],[_0x4f4f9f]));}[_0x2c8ec4(0x1eb)](){const _0x481ff2=_0x2c8ec4;_0x268d3b[_0x481ff2(0x331)](this[_0x481ff2(0x2ab)],[[_0x2e97d2],[_0x1ebb4a[_0x481ff2(0x2bf)]],[_0x225927],[_0x17971b],[_0x1ebb4a['CollaborationDataLoaderController']]]);}},_0x7d2748(_0x1ebb4a[_0x2c8ec4(0x28c)],_0x2c8ec4(0x261),_0xd5dd7e),_0x1ebb4a[_0x2c8ec4(0x28c)]=_0x372ab9([_0x268d3b['DependentOn'](_0x2eddce[_0x2c8ec4(0x34d)]),_0x5a2584(0x1,_0xb8fc77['IRenderManagerService']),_0x5a2584(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x5a2584(0x3,_0x268d3b['IConfigService'])],_0x1ebb4a[_0x2c8ec4(0x28c)]);var _0x3df637=Object[_0x2c8ec4(0x146)],_0x4bebc9=(_0x10790e,_0x3a88e6,_0x2cf5b5,_0x586c17)=>{const _0x50a7a0=_0x2c8ec4;for(var _0x25f49a=_0x586c17>0x1?void 0x0:_0x586c17?_0x3df637(_0x3a88e6,_0x2cf5b5):_0x3a88e6,_0x3f2b95=_0x10790e[_0x50a7a0(0x1f8)]-0x1,_0x1ce881;_0x3f2b95>=0x0;_0x3f2b95--)(_0x1ce881=_0x10790e[_0x3f2b95])&&(_0x25f49a=_0x1ce881(_0x25f49a)||_0x25f49a);return _0x25f49a;},_0x1c3e15=(_0x2f8d8e,_0x481b4d)=>(_0x3f128b,_0x40a44d)=>_0x481b4d(_0x3f128b,_0x40a44d,_0x2f8d8e);_0x1ebb4a[_0x2c8ec4(0x132)]=class extends _0x2eddce['CollaborationSocketService']{constructor(_0x558811,_0x5b303f,_0x1cca09,_0x12f6b9,_0x37ae7a){super(_0x558811,_0x5b303f,_0x1cca09,_0x12f6b9,_0x37ae7a);}async[_0x2c8ec4(0x239)](_0x1302e7){const _0x29370a=_0x2c8ec4,_0x45ca64=await this[_0x29370a(0x1de)](),_0x1fe409=this[_0x29370a(0x387)](_0x1302e7,_0x45ca64);return this[_0x29370a(0x35a)](_0x1fe409);}[_0x2c8ec4(0x387)](_0x4a37d2,_0x43495f){const _0x25aaf3=_0x2c8ec4,_0x58dc82=typeof window>'u'?new URL(_0x4a37d2):new URL(_0x4a37d2,window[_0x25aaf3(0x3a1)]['origin']);_0x58dc82[_0x25aaf3(0x208)][_0x25aaf3(0x3a4)](_0x25aaf3(0x325),_0x43495f);const _0x39308d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x39308d['get']('runId')&&_0x58dc82[_0x25aaf3(0x208)]['set']('runId',_0x39308d['get'](_0x25aaf3(0x37d))),_0x58dc82[_0x25aaf3(0x1f0)]();}async[_0x2c8ec4(0x1de)](){const _0x482be1=_0x2c8ec4;var _0xe8edf6,_0x2384a2,_0x644f2f;const _0x40374b=this[_0x482be1(0x383)][_0x482be1(0x25b)](_0x2eddce['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x5786ad=(_0xe8edf6=_0x40374b==null?void 0x0:_0x40374b[_0x482be1(0x1bd)])!=null?_0xe8edf6:_0x2eddce[_0x482be1(0x266)];return(_0x644f2f=(_0x2384a2=(await this[_0x482be1(0x16c)]['get'](_0x5786ad,{'headers':{'Content-Type':_0x482be1(0x1e9)}}))['body'])==null?void 0x0:_0x2384a2[_0x482be1(0x17d)])!=null?_0x644f2f:'';}},_0x1ebb4a['BrowserCollaborationSocketService']=_0x4bebc9([_0x1c3e15(0x0,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b['Injector'])),_0x1c3e15(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x45e235[_0x2c8ec4(0x1d5)])),_0x1c3e15(0x2,_0x268d3b[_0x2c8ec4(0x21c)]),_0x1c3e15(0x3,_0x268d3b[_0x2c8ec4(0x1d8)]),_0x1c3e15(0x4,_0x2ac5d3[_0x2c8ec4(0x2d6)])],_0x1ebb4a[_0x2c8ec4(0x132)]);const _0x5a6533=0x7530,_0x261cb7=_0x2c8ec4(0x25e);class _0x3110fc extends _0x268d3b['Disposable']{constructor(){const _0x37ce70=_0x2c8ec4;super(),_0x42374b(this,_0x37ce70(0x297),_0x268d3b['generateRandomId']()),_0x42374b(this,_0x37ce70(0x1c2),new Set()),_0x42374b(this,_0x37ce70(0x373),new Map()),_0x42374b(this,_0x37ce70(0x12f),null),_0x42374b(this,_0x37ce70(0x23a),new Map()),_0x42374b(this,'_unitStatus',new Map()),this[_0x37ce70(0x216)]();}[_0x2c8ec4(0x37b)](){const _0x1e5e33=_0x2c8ec4;super['dispose'](),this[_0x1e5e33(0x23a)][_0x1e5e33(0x31d)]((_0x10cad9,_0xb21b93)=>this[_0x1e5e33(0x2dc)](_0xb21b93)),this['_heartbeatTimer']&&window[_0x1e5e33(0x13e)](this[_0x1e5e33(0x12f)]);}['getUnitStatus$'](_0x505a09){const _0x49a430=_0x2c8ec4;return this[_0x49a430(0x1f7)](_0x505a09)[_0x49a430(0x25d)](_0x399a7e['distinctUntilChanged']());}[_0x2c8ec4(0x305)](_0x2926b3){const _0x353872=_0x2c8ec4;this[_0x353872(0x1c2)][_0x353872(0x22e)]===0x0&&this[_0x353872(0x1cf)](),this[_0x353872(0x1c2)][_0x353872(0x1c1)](_0x2926b3),this[_0x353872(0x304)]({'type':0x0,'memberID':this[_0x353872(0x297)],'unitIDs':[_0x2926b3],'isForwarded':!0x1});}[_0x2c8ec4(0x1fc)](_0x58f94b){const _0x2f285d=_0x2c8ec4;this[_0x2f285d(0x1c2)][_0x2f285d(0x259)](_0x58f94b),this['_selfUnitIDs'][_0x2f285d(0x22e)]===0x0&&this[_0x2f285d(0x12f)]&&window[_0x2f285d(0x13e)](this[_0x2f285d(0x12f)]);}['_init'](){const _0x18bf18=_0x2c8ec4;this[_0x18bf18(0x345)](_0x268d3b[_0x18bf18(0x14f)](_0x399a7e[_0x18bf18(0x145)](window,_0x18bf18(0x250))['subscribe'](_0x27fbe4=>{const _0x36b6c2=_0x18bf18;if(_0x27fbe4[_0x36b6c2(0x399)]!==_0x261cb7||!_0x27fbe4[_0x36b6c2(0x2c1)])return;const _0x34fb79=JSON[_0x36b6c2(0x295)](_0x27fbe4[_0x36b6c2(0x2c1)]);this[_0x36b6c2(0x242)](_0x34fb79);}))),window[_0x18bf18(0x2b3)]('unload',()=>this[_0x18bf18(0x304)]({'type':0x1,'memberID':this[_0x18bf18(0x297)],'unitIDs':Array[_0x18bf18(0x357)](this[_0x18bf18(0x1c2)])}));}[_0x2c8ec4(0x242)](_0x297447){const _0x55e206=_0x2c8ec4;switch(_0x297447[_0x55e206(0x33e)]){case 0x0:this[_0x55e206(0x18e)](_0x297447);break;case 0x1:this[_0x55e206(0x30b)](_0x297447);break;case 0x2:this[_0x55e206(0x134)](_0x297447);break;}}['_handleJoinEvent'](_0x21fcf3){const _0x227f14=_0x2c8ec4,{unitIDs:_0x52c934,memberID:_0xa7a629,isForwarded:_0x1c95cd}=_0x21fcf3;_0x52c934[_0x227f14(0x31d)](_0x2ae67d=>{const _0x38e07a=_0x227f14;if(!_0x1c95cd&&this[_0x38e07a(0x373)]['has'](_0x2ae67d)&&this[_0x38e07a(0x1f7)](_0x2ae67d)[_0x38e07a(0x2f6)](_0x2eddce[_0x38e07a(0x317)][_0x38e07a(0x279)]),!this[_0x38e07a(0x373)][_0x38e07a(0x119)](_0x2ae67d)||!this[_0x38e07a(0x373)][_0x38e07a(0x36a)](_0x2ae67d)['has'](_0xa7a629)){const _0x11543e=this[_0x38e07a(0x373)][_0x38e07a(0x36a)](_0x2ae67d)||new Set();_0x11543e[_0x38e07a(0x1c1)](_0xa7a629),this['_unitOnClients'][_0x38e07a(0x3a4)](_0x2ae67d,_0x11543e),this[_0x38e07a(0x141)](_0xa7a629);}}),_0x1c95cd||this[_0x227f14(0x304)]({'type':0x0,'memberID':this[_0x227f14(0x297)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2c8ec4(0x141)](_0xd1a261){const _0x57d1e3=_0x2c8ec4;this[_0x57d1e3(0x2dc)](_0xd1a261);const _0x221e28=window['setTimeout'](()=>{const _0x187e04=_0x57d1e3;this[_0x187e04(0x373)][_0x187e04(0x31d)](_0x5d1878=>{const _0x5cc96e=_0x187e04;_0x5d1878[_0x5cc96e(0x259)](_0xd1a261);});},_0x5a6533*0x2);this['_clearOtherTimers'][_0x57d1e3(0x3a4)](_0xd1a261,_0x221e28);}[_0x2c8ec4(0x2dc)](_0x1ff07d){const _0x41b059=_0x2c8ec4;if(this[_0x41b059(0x23a)][_0x41b059(0x119)](_0x1ff07d)){const _0x1b2f5f=this[_0x41b059(0x23a)][_0x41b059(0x36a)](_0x1ff07d);_0x1b2f5f&&window[_0x41b059(0x34e)](_0x1b2f5f),this[_0x41b059(0x23a)][_0x41b059(0x3a4)](_0x1ff07d,null);}}['_handleLeaveEvent'](_0x5d0b13){const _0x2c3ca3=_0x2c8ec4,{memberID:_0x24f40b,unitIDs:_0x45ddaa}=_0x5d0b13;_0x45ddaa[_0x2c3ca3(0x31d)](_0x2378bd=>{const _0x1957fd=_0x2c3ca3;var _0x532c91;const _0x3e950f=this[_0x1957fd(0x373)][_0x1957fd(0x36a)](_0x2378bd);_0x3e950f&&(_0x3e950f['delete'](_0x24f40b),(_0x532c91=this[_0x1957fd(0x1f7)](_0x2378bd))==null||_0x532c91[_0x1957fd(0x2f6)](_0x3e950f['size']===0x0?_0x2eddce['UnitStatus'][_0x1957fd(0x276)]:_0x2eddce[_0x1957fd(0x317)][_0x1957fd(0x279)]));}),this['_removeClearOtherTimer'](_0x24f40b);}['_handleHeartbeatEvent'](_0x292dab){const _0x4e39bf=_0x2c8ec4;this[_0x4e39bf(0x141)](_0x292dab['memberID']);}[_0x2c8ec4(0x304)](_0x45fff7){const _0x44929b=_0x2c8ec4;localStorage[_0x44929b(0x2f8)](_0x261cb7,JSON[_0x44929b(0x318)](_0x45fff7));}[_0x2c8ec4(0x1cf)](){const _0x56503d=_0x2c8ec4;this[_0x56503d(0x12f)]=window['setInterval'](()=>{const _0xe2d463=_0x56503d;this[_0xe2d463(0x304)]({'type':0x2,'memberID':this['_id']});},_0x5a6533);}['_ensureSubject'](_0x145f85){const _0x198a57=_0x2c8ec4;return this['_unitStatus']['has'](_0x145f85)||this[_0x198a57(0x173)][_0x198a57(0x3a4)](_0x145f85,new _0x399a7e[(_0x198a57(0x33a))](_0x2eddce[_0x198a57(0x317)][_0x198a57(0x276)])),this[_0x198a57(0x173)]['get'](_0x145f85);}}var _0x48d715=(_0x40aaca=>(_0x40aaca[_0x40aaca[_0x2c8ec4(0x33b)]=0x0]='UNDEFINED',_0x40aaca[_0x40aaca['OK']=0x1]='OK',_0x40aaca[_0x40aaca['INTERNAL_ERROR']=0x2]=_0x2c8ec4(0x349),_0x40aaca[_0x40aaca[_0x2c8ec4(0x371)]=0x3]='PERMISSION_DENIED',_0x40aaca[_0x40aaca['NOT_FOUND']=0x4]=_0x2c8ec4(0x2f3),_0x40aaca[_0x40aaca[_0x2c8ec4(0x269)]=0x5]=_0x2c8ec4(0x269),_0x40aaca[_0x40aaca[_0x2c8ec4(0x16f)]=0x6]=_0x2c8ec4(0x16f),_0x40aaca[_0x40aaca['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x40aaca[_0x40aaca[_0x2c8ec4(0x2d4)]=0x8]=_0x2c8ec4(0x2d4),_0x40aaca[_0x40aaca[_0x2c8ec4(0x1fe)]=0x9]=_0x2c8ec4(0x1fe),_0x40aaca[_0x40aaca[_0x2c8ec4(0x18b)]=0xa]=_0x2c8ec4(0x18b),_0x40aaca[_0x40aaca[_0x2c8ec4(0x283)]=0x1389]=_0x2c8ec4(0x283),_0x40aaca[_0x40aaca[_0x2c8ec4(0x22d)]=0x1771]=_0x2c8ec4(0x22d),_0x40aaca[_0x40aaca[_0x2c8ec4(0x308)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x40aaca[_0x40aaca[_0x2c8ec4(0x11a)]=0x1773]=_0x2c8ec4(0x11a),_0x40aaca[_0x40aaca[_0x2c8ec4(0x150)]=0x1b59]='APPLY_REJECT',_0x40aaca[_0x40aaca[_0x2c8ec4(0x353)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x40aaca[_0x40aaca[_0x2c8ec4(0x351)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x40aaca[_0x40aaca['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2c8ec4(0x1ea),_0x40aaca[_0x40aaca[_0x2c8ec4(0x17a)]=0x1b5d]=_0x2c8ec4(0x17a),_0x40aaca[_0x40aaca[_0x2c8ec4(0x19c)]=0x1f41]=_0x2c8ec4(0x19c),_0x40aaca[_0x40aaca[_0x2c8ec4(0x2c3)]=0x2329]=_0x2c8ec4(0x2c3),_0x40aaca[_0x40aaca[_0x2c8ec4(0x167)]=0x232a]=_0x2c8ec4(0x167),_0x40aaca[_0x40aaca[_0x2c8ec4(0x2c4)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x40aaca[_0x40aaca[_0x2c8ec4(0x229)]=0x232c]=_0x2c8ec4(0x229),_0x40aaca[_0x40aaca[_0x2c8ec4(0x16d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x40aaca[_0x40aaca['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2c8ec4(0x374),_0x40aaca[_0x40aaca[_0x2c8ec4(0x3a7)]=0x2712]=_0x2c8ec4(0x3a7),_0x40aaca[_0x40aaca[_0x2c8ec4(0x2a8)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x40aaca[_0x40aaca[_0x2c8ec4(0x30c)]=0x2714]=_0x2c8ec4(0x30c),_0x40aaca[_0x40aaca[_0x2c8ec4(0x29f)]=0x271a]=_0x2c8ec4(0x29f),_0x40aaca[_0x40aaca['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2c8ec4(0x2f5),_0x40aaca[_0x40aaca['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x40aaca[_0x40aaca[_0x2c8ec4(0x19e)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x40aaca[_0x40aaca[_0x2c8ec4(0x223)]=0x271e]=_0x2c8ec4(0x223),_0x40aaca[_0x40aaca[_0x2c8ec4(0x333)]=0x271f]=_0x2c8ec4(0x333),_0x40aaca[_0x40aaca['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2c8ec4(0x245),_0x40aaca[_0x40aaca['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2c8ec4(0x222),_0x40aaca[_0x40aaca[_0x2c8ec4(0x176)]=0x2ee2]=_0x2c8ec4(0x176),_0x40aaca[_0x40aaca[_0x2c8ec4(0x1db)]=0x2ee3]=_0x2c8ec4(0x1db),_0x40aaca[_0x40aaca[_0x2c8ec4(0x290)]=0x2ee4]=_0x2c8ec4(0x290),_0x40aaca[_0x40aaca[_0x2c8ec4(0x36d)]=0x2ee5]=_0x2c8ec4(0x36d),_0x40aaca[_0x40aaca[_0x2c8ec4(0x389)]=0x32c9]=_0x2c8ec4(0x389),_0x40aaca[_0x40aaca[_0x2c8ec4(0x238)]=0x32ca]=_0x2c8ec4(0x238),_0x40aaca[_0x40aaca['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2c8ec4(0x281),_0x40aaca[_0x40aaca['UNRECOGNIZED']=-0x1]=_0x2c8ec4(0x227),_0x40aaca))(_0x48d715||{}),_0xf576fa=Object[_0x2c8ec4(0x146)],_0x362fb1=(_0x35b0ae,_0x5be0e2,_0x1decce,_0x1ac1bc)=>{for(var _0x47a83b=_0x1ac1bc>0x1?void 0x0:_0x1ac1bc?_0xf576fa(_0x5be0e2,_0x1decce):_0x5be0e2,_0x26c820=_0x35b0ae['length']-0x1,_0x4cf7dc;_0x26c820>=0x0;_0x26c820--)(_0x4cf7dc=_0x35b0ae[_0x26c820])&&(_0x47a83b=_0x4cf7dc(_0x47a83b)||_0x47a83b);return _0x47a83b;},_0x5f1620=(_0x500ba7,_0x5a1f95)=>(_0xdf61bf,_0x385de5)=>_0x5a1f95(_0xdf61bf,_0x385de5,_0x500ba7);_0x1ebb4a[_0x2c8ec4(0x35b)]=class extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(_0x55bc5e,_0x35cbc,_0x2c755d){const _0x662593=_0x2c8ec4;super(),this[_0x662593(0x348)]=_0x55bc5e,this['_httpService']=_0x35cbc,this['_configService']=_0x2c755d;}async[_0x2c8ec4(0x1a2)](_0x15879a,_0x247172,_0x189831,..._0x3749bf){const _0x3648f8=_0x2c8ec4;var _0x7993b,_0x1aadbb,_0x5dd7ab,_0x3cf84d;const _0x244562=this[_0x3648f8(0x348)][_0x3648f8(0x280)]();if(!_0x244562)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5860f1=((_0x7993b=this[_0x3648f8(0x383)][_0x3648f8(0x25b)](_0x2eddce['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x7993b:_0x2eddce[_0x3648f8(0x2a0)])+'/'+_0x15879a+_0x3648f8(0x310)+_0x247172,_0x4e4f58=new URL(window[_0x3648f8(0x3a1)]['href']),_0x5d9eef={'scriptId':_0x15879a,'runId':(_0x1aadbb=_0x4e4f58[_0x3648f8(0x208)]['get']('runId'))!=null?_0x1aadbb:'','function':_0x247172,'unitId':_0x244562['getUnitId'](),'argsOfFunction':JSON[_0x3648f8(0x318)](_0x3749bf),'invokeId':(_0x5dd7ab=_0x189831[_0x3648f8(0x2d5)])!=null?_0x5dd7ab:'','executionId':(_0x3cf84d=_0x189831[_0x3648f8(0x1e1)])!=null?_0x3cf84d:''};try{const _0x55ed4f=await this[_0x3648f8(0x16c)][_0x3648f8(0x235)](_0x5860f1,{'body':_0x5d9eef});return _0x55ed4f[_0x3648f8(0x277)][_0x3648f8(0x232)]&&_0x55ed4f[_0x3648f8(0x277)][_0x3648f8(0x232)]['code']!==_0x48d715['OK']?_0x3648f8(0x2e3):_0x55ed4f[_0x3648f8(0x277)][_0x3648f8(0x1a1)];}catch{return _0x3648f8(0x2e3);}}},_0x1ebb4a['RemoteUniscriptService']=_0x362fb1([_0x5f1620(0x0,_0x268d3b[_0x2c8ec4(0x2eb)]),_0x5f1620(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x45e235[_0x2c8ec4(0x1d5)])),_0x5f1620(0x2,_0x268d3b['IConfigService'])],_0x1ebb4a[_0x2c8ec4(0x35b)]),_0x1ebb4a['CollaborationStatusDisplay']=_0x3891f9,_0x1ebb4a['IURLService']=_0x60b938,_0x1ebb4a[_0x2c8ec4(0x35e)]=_0x9f5a04,_0x1ebb4a[_0x2c8ec4(0x296)]=_0x3110fc,_0x1ebb4a[_0x2c8ec4(0x1d6)]=_0x199640,Object[_0x2c8ec4(0x251)](_0x1ebb4a,Symbol['toStringTag'],{'value':'Module'});}));
|