@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250428-261c0dd → 0.6.10-experimental.20250428-2b6408c
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2eeb(){const _0x160d51=['add','textRanges','_collabCursorState$','drawWith','UNIVER_SHEET','defs','filter','getUnitId','serializeRangeWithSheet','INVITE_CODE_HAS_BEEN_UES','_clearOtherTimers','_refreshCollabCursors','@univerjs-pro/collaboration','OFFLINE','collabCursorState$','INTERNAL_ERROR','disableLocalCache','exhaustSavingTask','CONFLICT','get','_eventUnsubscribe','replaceDocRanges','svg','@univerjs/core','text','univer-flex\x20univer-items-center','IDocClipboardService','@univerjs/network','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','INVALID_ARGUMENT','range','call','LocaleService','arc','newValue','executionId','UniverCollaborationClientPlugin','_beforeCloseService','getUnitStatus$','DeleteRangeMoveUpCommandId','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','UniverCollaborationClientUIPlugin','_document','getUnhiddenWorksheets','getTypeOfUnitAdded$','UPDATE_CURSOR','reconnect','Rect','IMessageService','_roomMembers$','PY_RUNTIME_SCRIPT_ERROR','ENSURE_SNAPSHOT_EXECUTION','isActive','getViewport','pluginName','RECT','EffectRefRangId','debounce','UniverDocs','WebURLService','_scene','0\x200\x2017\x2016','switchMap','_removeClearOtherTimer','eventID','createInstance','collabStatus.offline','SetTextSelectionsOperation','m2Prime','_config','_hovered','code','CollaborationUIEventId','complete','includes','_color','_cursorInfo$','getSheetObject','saveImage','UNDEFINED','getCollabCursors$','TEXT','UnitStatus','@univerjs/drawing','startColumn','transform','150jUDLcx','setAlpha','SheetCollabCursorShape','_initResize','NOT_COLLAB','CollaborationEvent','WebSocketService','attrs','268692okRyRw','Error','_getMergeRange','_docSkeleton','_registerRenderDependencies','throttleTime','_docStateChangeManagerService','trim','DocSkeletonManagerService','_toggleOffline','combineLatest','YUUMI_NO_CUBOID_FOR_QUESTION','TRANSFORM_CHANGE_OBSERVABLE_TYPE','source','getCollabEntity$','type','React','sessionTicket','executeCommand','InsertRangeMoveRightCommandId','runId','2XjhjmL','asObservable','UniverRpc','3EkQakF','disposeWithMe','220eRLydH','bottom','triggerDblclick','_updateURLWithCurrentState','JOIN_ROOM_FAILED','clsx','Inject','InsertRowCommandId','UniverIcon','YUUMI_SUBSCRIPTION_NOT_FOUND','_status$','popstate','_id','_assignedColors','fillStyle','getParam','collaboration.single-unit.warning','registerBeforeClose','undoState','RxDisposable','override','deepClone','LICENSE_DISTRO_REJECTED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_localCacheService','_cachedData','currentTheme$','FETCH_MISS','getCurrent','setStateCache','_collabCursorController','MessageType','handleDeleteRangeMoveLeft','USERS_LEAVE','1853224HsOeBN','length','addObjects','session.collaboration-timeout','cursorInfo','registerRefRange','collabStatus.synced','transformSelections','PERMISSION_DENIED','evenodd','getSheetId','createElement','UniverCore','onPointerMove$','UniverProCollaboration','delete','_hover','NO_OTHER_CLIENTS_EDITING','docStateChange$','SheetsSelectionsService','WebBrowserSingleActiveUnitService','on-line-single','top','univer-text-red-500','Tooltip','UniverSheets','OnLineSingle','isTransformMutationFailure','sheetID','APPLY_REVISION_CONFILICT','substring','_getSheetObject','_uiPartsService','getConfig','UniverUi','RegularPolygon','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','tag','toDisposable','SNAPSHOT_HAS_BEEN_REMOVED','_urlService','_draw','_localStorageService','defineProperty','getCoordByCell','APPLY_NON_SEQUENTIAL_REVISION','requireSession','Tools','unload','useObservable','roomMembers$','_selfUnitIDs','VIEW_MAIN','with','getOwnPropertySymbols','CollaborationUIEventService','_doCreateSocket','onPointerEnter$','getRangePointData','getMemberID','getVpScrollXYInfoByPosToVp','setShapeProps','_notificationService','jsxs','_updateLocalCursor','handleDeleteRangeMoveUp','dispose','hasOwnProperty','_transformHistoryAndStateStack','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','max','fillText','isArray','IUIPartsService','DocStateChangeManagerService','BehaviorSubject','session.will-retry','extend','_docTransformSelectionsService','Failed','map','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','MoveRangeCommandId','@univerjs-pro/collaboration-client','_transformPreviousActiveRange','concat','clipPath','482891AGATNm','distinctUntilChanged','all','backgroundColor','_setupSubUnitSync','univerjs-icon\x20univerjs-icon-','CollaborationStatusDisplay','_lastPointer','_handleHeartbeatEvent','off-line-single','Disposable','_getAnchorBounding','Optional','prototype','translate(.97)','selection','displayName','removeParam','_commandService','rxjs','_unitOnClients','_scheduleClearOtherTimer','_docTransformStateCacheService','_online','assignAColorForMemberID','_collabSessionService','operators','collabStatus.syncing','labelPosition','setItem','CLOSE_ROOM','getUniverSheetInstance','addClipboardHook','APPLY_PERMISSION_DENIED','SetWorksheetActivateCommand','MOBILE_HAS_BEEN_BOUND','addObject','collaboration-client.offline-data-not-saved','_onRefRangeChange','hide','_cursorShapes','next','ThemeService','LICENSE_EXPORT_SIZE_EXCEEDED','@univerjs/engine-render','merge','NOT_FOUND','IBeforeCloseService','colorChannel1','session.connection-failed','@univerjs/rpc','className','_drawTextRange','YUUMI_URL_COL_OUT_OF_RANGE','UniverEngineRender','getOwnPropertyDescriptor','name','CollaborationStatus','column','registerDependencies','values','COLORS','_logService','INVITE_CODE_ALREADY_BOUND','font','_memberService','_drawAnchor','history','DOC_RANGE_TYPE','_heartbeatTimer','searchParams','#FFF','replace','Unknown\x20user','_localeService','@univerjs/ui','addEventListener','SNAPSHOT_INVALID_SNAPSHOT','DEFAULT_WS_SESSION_TICKET_URL','show','getLocalCacheKey','getUndoRedoMutationParamsCache','ILocalStorageService','_collaborationController','BrowserCollaborationSocketService','CollaborationController','disposeUnit','CommandType','getAncestorScale','status$','toStringTag','unshift','setParam','cursorInfo$','/run/','TEXT_RANGE_LAYER_INDEX','wsSessionTicketUrl','_handleJoinEvent','HEADER_MENU','transformMutation','registerRenderModule','error','CHANGESET_REVISION_CONFILICT','react/jsx-runtime','RichTextEditingMutation','_initStatusComponent','RevisionService','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_getScale','resize','size','@univerjs/docs-ui','_ensureSubject','doc.mutation.rich-text-editing','_initStatusListener','replaceState','Shape','onPointerLeave$','UniverProCollaborationClient','some','RemoteUniscriptService','unit','unitId','mapTo','fill','activeSheet$','data','_docSkeletonManagerService','_startSheetCollabCursor','indexOf','mask','_initCommandExecutedListener','engine','fillRule','react','_startDocCollabCursor','LOCAL_CACHE_INTERVAL_KEY','invokeId','_name','propertyIsEnumerable','_univerInstanceService','handleInsertRangeMoveRight','NodePositionConvertToRectRange','unsubscribe','black','getTypeOfUnitDisposed$','storage','random','_entities','UNIVER_DOC','ICommandService','_messageService','ILogService','LOCAL_CACHE_INTERVAL','_saveTaskMap','push','body','getCurrentRevOfUnit','_docTransformIMECacheService','toString','onStarting','getSkeleton','_sheetSkeletonManagerService','url(#on-line-single_clip0_910_349)','getDocRanges','onCommandExecuted','clearTimeout','_session','subscribe','_removeCollabCursors','debug','urlChange$','UniverNetwork','lineTo','OTHER_CLIENTS_EDITING','parse','generateRandomId','RemoveColCommandId','_collaborationUIEventService','_httpService','handleInsertCol','_initDependencies','getColor','measureText','_onCursorDelete','INVALID_INVITE_CODE','runRefRangeMutations','save','_unitStatus','setUndoRedoMutationParamsCache','takeUntil','SessionStatus','loadUnit','UniverDocsUi','UniverProCollaborationClientUi','UniverInstanceType','onRendered','IURLService','setActiveRange','isTransformMutationsWithChangesetSuccess','hovered','then','selections','_handleHover','UNAUTHENTICATED','entityInit$','clearInterval','collabStatus.notCollab','getActiveRange','forwardRef','getCurrentSelections','OffLineSingle','addHandlerCallback','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','dispose$','makeDirty','_labelPosition','_initEvent','_init','function','YUUMI_ASYNCIO_CANCELLED','updateOfflineData','DocCollaborationEntity','transformMutationsWithChangeset','InsertColCommandId','send','whenReady','APPLY_REJECT','Vector2','_shapes','transformRemoteChangeset','_anchorDot','univer-text-green-500','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SUBMIT_CHANGESET_TIMEOUT','DataLoaderService','UniverSheetsUi','idSuffix','stringify','IUniverInstanceService','_saveCache','_docSyncEditingCollabCursorService','rgba(255,\x20255,\x20255,\x200.01)','saveOfflineData','restore','_cursors','getFocusedUnit','@univerjs/sheets-ui','_syncEditingCollabCursorService','_docClipboardService','SYNCED','collaboration-client-ui.config','jsx','DocIMEInputManagerService','COMPLETION_FINISHED','split','_anchor','sessionStatus$','m1Prime','forEach','div','EMAIL_HAS_BEEN_BOUND','path','post','Warning','useDependency','M0\x200H16V16H0z','actions','endRow','...','has','UniverDesign','enableLocalCache','ITransformService','1em','transformIMECache','useCallback','event$','_updateSubUnitFromURLParams','_colorIndex','ILocalCacheService','_registerDependencies','getRenderById','endColumn','unitID','@univerjs/sheets','application/json','_range','setInterval','getRelativeToViewportCoord','init','xlink:href','@univerjs/engine-formula','LICENSE_MAX_UNITS_EXCEEDED','row','SOCKET_FAILED_RETRY','6147496rDezUw','subunit','_revisionService','SheetSkeletonManagerService','currentSkeleton$','_handleLeaveEvent','color','width','_getSessionTicket','IConfigService','DesktopCollaborationStatusDisplayController','startRow','_renderManagerService','registerComponent','fromEventSubject','defIds','round','href','params','string','BuiltInUIPart','amd','Plugin','children','pushState','_imageIoService','currentColor','getCellPositionByOffset','onMouseMove','useRef','_send','[CollaborationDataLoaderController]','_entityInit$','min','CONNECTOR_DATA_TOO_LARGE','setConfig','ranges','_scheduleHeartbeat','HTTPService','findNodePositionByCharIndex','DeleteRangeMoveLeftCommandId','ISocketService','ONLINE','_transformUndoRedoStack','key','_colorAssignService','collaboration.closeRoom','icon','rxjs/operators','getMember','271638UnDqRj','url(#$1','_injector','subUnitId','IImageIoService','_toggleOnline','debounceTime','_render','redoState','Subject','saveTaskMap','roomMembers','location','mutations','from','off-line-single_clip0_910_343','ColorKit','getSheetBySheetId','_setupBeforeClosingHandler','WECHAT_HAS_BEEN_BOUND','mergeOverrideWithDependencies','subscribeEvent','Workbook','_themeService','_configService','CollaborationSessionService','connectInjector','AWAITING_WITH_PENDING','CollaborationDataLoaderController','closePath','INVITE_CODE_REQUIRED','isEditing','_refRangeService','ALREADY_EXISTS','_dataLoaderService','entries','pipe','_context','_hideTimer','red300','LICENSE_IMPORT_SIZE_EXCEEDED','memberID','on-line-single_clip0_910_349','startsWith','Injector','getStateCache','SOCKET_FAILED','_backgroundColor','_createSocketURL','NodePositionConvertToCursor','_textBubble','origin','_updateCollabCursors','getMergeData','YUUMI_RATE_OVER_LIMIT','_disabled','IRenderManagerService','getActiveSheet','assign','handleInsertRangeMoveDown','getValue','349671zDIbFj','set','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_onCursorUpdate','YUUMI_UNABLE_LOAD_URL','handleIRemoveRow','IRemoteInstanceService','MemberService','190wcETAQ','_cursor','3814885WWCzrt','_transformService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ISnapshotServerService','_initEntityListener','UNRECOGNIZED'];_0x2eeb=function(){return _0x160d51;};return _0x2eeb();}function _0x37a6(_0x551e2a,_0x40ddd6){const _0x2eebde=_0x2eeb();return _0x37a6=function(_0x37a6ae,_0x4422a6){_0x37a6ae=_0x37a6ae-0x1e2;let _0x5b2066=_0x2eebde[_0x37a6ae];return _0x5b2066;},_0x37a6(_0x551e2a,_0x40ddd6);}(function(_0xc6c5e1,_0x3775d0){const _0xf088d1=_0x37a6,_0x37fa77=_0xc6c5e1();while(!![]){try{const _0x466ebb=-parseInt(_0xf088d1(0x24e))/0x1*(parseInt(_0xf088d1(0x468))/0x2)+parseInt(_0xf088d1(0x46b))/0x3*(-parseInt(_0xf088d1(0x376))/0x4)+parseInt(_0xf088d1(0x3ef))/0x5+-parseInt(_0xf088d1(0x44b))/0x6*(-parseInt(_0xf088d1(0x3e5))/0x7)+-parseInt(_0xf088d1(0x1f7))/0x8+parseInt(_0xf088d1(0x3a8))/0x9*(parseInt(_0xf088d1(0x3ed))/0xa)+parseInt(_0xf088d1(0x46d))/0xb*(parseInt(_0xf088d1(0x453))/0xc);if(_0x466ebb===_0x3775d0)break;else _0x37fa77['push'](_0x37fa77['shift']());}catch(_0x131402){_0x37fa77['push'](_0x37fa77['shift']());}}}(_0x2eeb,0xbed5e),function(_0x12157c,_0x5d5bcf){const _0x2e1a60=_0x37a6;typeof exports=='object'&&typeof module<'u'?_0x5d5bcf(exports,require(_0x2e1a60(0x24a)),require(_0x2e1a60(0x40c)),require(_0x2e1a60(0x27a)),require(_0x2e1a60(0x410)),require(_0x2e1a60(0x2bd)),require(_0x2e1a60(0x448)),require(_0x2e1a60(0x261)),require('@univerjs/docs'),require('@univerjs-pro/collaboration'),require(_0x2e1a60(0x372)),require(_0x2e1a60(0x36b)),require(_0x2e1a60(0x3a6)),require(_0x2e1a60(0x345)),require(_0x2e1a60(0x2b5)),require('@univerjs/ui'),require('@univerjs/design'),require(_0x2e1a60(0x2d4)),require(_0x2e1a60(0x280))):typeof define==_0x2e1a60(0x329)&&define[_0x2e1a60(0x38b)]?define(['exports','@univerjs-pro/collaboration-client',_0x2e1a60(0x40c),_0x2e1a60(0x27a),_0x2e1a60(0x410),_0x2e1a60(0x2bd),_0x2e1a60(0x448),_0x2e1a60(0x261),'@univerjs/docs',_0x2e1a60(0x401),_0x2e1a60(0x372),_0x2e1a60(0x36b),'rxjs/operators',_0x2e1a60(0x345),_0x2e1a60(0x2b5),_0x2e1a60(0x299),'@univerjs/design',_0x2e1a60(0x2d4),_0x2e1a60(0x280)],_0x5d5bcf):(_0x12157c=typeof globalThis<'u'?globalThis:_0x12157c||self,_0x5d5bcf(_0x12157c[_0x2e1a60(0x310)]={},_0x12157c[_0x2e1a60(0x2c4)],_0x12157c[_0x2e1a60(0x203)],_0x12157c[_0x2e1a60(0x284)],_0x12157c[_0x2e1a60(0x2fa)],_0x12157c[_0x2e1a60(0x30f)],_0x12157c['UniverDrawing'],_0x12157c[_0x2e1a60(0x261)],_0x12157c[_0x2e1a60(0x42f)],_0x12157c[_0x2e1a60(0x205)],_0x12157c['UniverEngineFormula'],_0x12157c[_0x2e1a60(0x210)],_0x12157c[_0x2e1a60(0x261)][_0x2e1a60(0x268)],_0x12157c[_0x2e1a60(0x33a)],_0x12157c[_0x2e1a60(0x463)],_0x12157c[_0x2e1a60(0x219)],_0x12157c[_0x2e1a60(0x35d)],_0x12157c['React'],_0x12157c[_0x2e1a60(0x46a)]));}(this,function(_0x2becbd,_0x5557ff,_0x49eaeb,_0x506afb,_0x23e63f,_0x3c8f3f,_0x1182f3,_0x1a1591,_0x54d7ba,_0x579da8,_0x20a384,_0x11631c,_0x35f2b8,_0x5f076c,_0x59198a,_0x284e97,_0x381eec,_0x1a1d3a,_0x339d10){'use strict';const _0x29a50d=_0x37a6;var _0xcd50a7=Object[_0x29a50d(0x222)],_0x1b35ec=(_0x26502c,_0x49ef06,_0x1680c4)=>_0x49ef06 in _0x26502c?_0xcd50a7(_0x26502c,_0x49ef06,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1680c4}):_0x26502c[_0x49ef06]=_0x1680c4,_0x2d5d22=(_0x3330a8,_0x3036ff,_0x1bc605)=>_0x1b35ec(_0x3330a8,typeof _0x3036ff!='symbol'?_0x3036ff+'':_0x3036ff,_0x1bc605),_0x551851=Object[_0x29a50d(0x285)],_0x14ef93=(_0xdea14,_0x521703,_0x30aa7b,_0x5ad3e0)=>{for(var _0x37068f=_0x5ad3e0>0x1?void 0x0:_0x5ad3e0?_0x551851(_0x521703,_0x30aa7b):_0x521703,_0x3f4e08=_0xdea14['length']-0x1,_0x199792;_0x3f4e08>=0x0;_0x3f4e08--)(_0x199792=_0xdea14[_0x3f4e08])&&(_0x37068f=_0x199792(_0x37068f)||_0x37068f);return _0x37068f;},_0xb58c59=(_0x1f0ac4,_0x20b374)=>(_0x59b2c5,_0x3b5999)=>_0x20b374(_0x59b2c5,_0x3b5999,_0x1f0ac4);let _0x450d8e=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x5f0a8a,_0xba3e25){const _0x1496f3=_0x29a50d;super(),this[_0x1496f3(0x347)]=_0x5f0a8a,this[_0x1496f3(0x38f)]=_0xba3e25,this[_0x1496f3(0x328)]();}[_0x29a50d(0x328)](){const _0x28b8a6=_0x29a50d,_0x194490=this;this['disposeWithMe'](this[_0x28b8a6(0x347)][_0x28b8a6(0x26e)]({'onBeforePasteImage':async _0x105b59=>{const _0x44e711=_0x28b8a6,_0x214b72=await _0x194490['_imageIoService'][_0x44e711(0x443)](_0x105b59);return _0x214b72?{'source':_0x214b72[_0x44e711(0x460)],'imageSourceType':_0x214b72['imageSourceType']}:null;}}));}};_0x450d8e=_0x14ef93([_0xb58c59(0x0,_0x3c8f3f[_0x29a50d(0x40f)]),_0xb58c59(0x1,_0x1182f3[_0x29a50d(0x3ac)])],_0x450d8e);const _0x338c20=['purple300','jiqing500','verdancy600',_0x29a50d(0x3cf),'blue400','gold400'];class _0x2b7743 extends _0x49eaeb[_0x29a50d(0x258)]{constructor(){const _0x1a25f3=_0x29a50d;super(...arguments),_0x2d5d22(this,_0x1a25f3(0x1e2),new Map()),_0x2d5d22(this,_0x1a25f3(0x365),0x0);}['assignAColorForMemberID'](_0x26af6a){const _0x4745a0=_0x29a50d;if(this['_assignedColors'][_0x4745a0(0x35c)](_0x26af6a))return this['_assignedColors'][_0x4745a0(0x408)](_0x26af6a);const _0x3eaf0f=_0x338c20[this['_colorIndex']];return this['_colorIndex']=(this[_0x4745a0(0x365)]+0x1)%_0x338c20['length'],this[_0x4745a0(0x1e2)][_0x4745a0(0x3e6)](_0x26af6a,_0x3eaf0f),_0x3eaf0f;}}function _0x446ae4(_0x401bad){const _0x4df26a=_0x29a50d;let _0x19f519='';for(const _0x143d5a of _0x401bad){const {startOffset:_0x1702bf,endOffset:_0x3424d4,isActive:_0x1234e8,rangeType:_0x8fc05b,segmentId:_0x5ada5e,segmentPage:_0x5d2d89}=_0x143d5a;_0x19f519[_0x4df26a(0x1f8)]&&(_0x19f519+=','),_0x19f519+=_0x1702bf+':'+_0x3424d4+':'+(_0x1234e8?'1':'0')+':'+_0x8fc05b+':'+_0x5ada5e+':'+_0x5d2d89;}return _0x19f519;}function _0x29cfa8(_0x3ffc68){const _0x365d9e=_0x29a50d,_0x1d2685=_0x3ffc68[_0x365d9e(0x34d)](','),_0x4cf2f5=[];for(const _0x583d15 of _0x1d2685){const [_0x3bfd03,_0x230076,_0x33d4b2,_0x583e44,_0x9bf7a1,_0x3b497b]=_0x583d15[_0x365d9e(0x34d)](':');_0x4cf2f5[_0x365d9e(0x2e9)]({'startOffset':Number(_0x3bfd03),'endOffset':Number(_0x230076),'collapsed':_0x3bfd03===_0x230076,'isActive':_0x33d4b2==='1','rangeType':_0x583e44===_0x49eaeb[_0x365d9e(0x292)][_0x365d9e(0x446)]?_0x49eaeb[_0x365d9e(0x292)][_0x365d9e(0x446)]:_0x49eaeb[_0x365d9e(0x292)]['RECT'],'segmentId':typeof _0x9bf7a1==_0x365d9e(0x389)?String(_0x9bf7a1):'','segmentPage':Number(_0x3b497b!=null?_0x3b497b:-0x1)});}return _0x4cf2f5[_0x365d9e(0x2c5)](_0xe50898=>_0xe50898[_0x365d9e(0x429)])||(_0x4cf2f5[0x0][_0x365d9e(0x429)]=!0x0),_0x4cf2f5;}class _0xb3c406 extends _0x49eaeb['RxDisposable']{constructor(){const _0x441bd3=_0x29a50d;super(...arguments),_0x2d5d22(this,_0x441bd3(0x3f7),new _0x1a1591[(_0x441bd3(0x242))](null)),_0x2d5d22(this,_0x441bd3(0x403),this[_0x441bd3(0x3f7)]['asObservable']());}['syncEditingCollabCursor'](_0x2b660b){const _0x4335cf=_0x29a50d,{unitID:_0x1dc5cd,memberID:_0x4003bf,textRanges:_0x46289c}=_0x2b660b,_0x263cde=_0x446ae4(_0x46289c);if(_0x263cde==='')return;const _0x15afb5={'unitID':_0x1dc5cd,'memberID':_0x4003bf,'selection':_0x263cde};this[_0x4335cf(0x3f7)][_0x4335cf(0x277)](_0x15afb5);}}var _0x5054d1=Object[_0x29a50d(0x285)],_0x51b10f=(_0x426160,_0x2825cb,_0x102b86,_0x4dbe65)=>{const _0x50ef68=_0x29a50d;for(var _0x4a8c69=_0x4dbe65>0x1?void 0x0:_0x4dbe65?_0x5054d1(_0x2825cb,_0x102b86):_0x2825cb,_0x6a55a4=_0x426160[_0x50ef68(0x1f8)]-0x1,_0xe0b8f3;_0x6a55a4>=0x0;_0x6a55a4--)(_0xe0b8f3=_0x426160[_0x6a55a4])&&(_0x4a8c69=_0xe0b8f3(_0x4a8c69)||_0x4a8c69);return _0x4a8c69;},_0x219835=(_0x560f15,_0x1fc4d9)=>(_0x2f5958,_0x62cd3)=>_0x1fc4d9(_0x2f5958,_0x62cd3,_0x560f15);const _0x83ff0b=0x12c,_0x119ba9=0x64;let _0x1c5ab0=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x513a54,_0x179075,_0x49db95,_0x34330c,_0x1c2e08,_0x502821,_0x1bfbc3,_0xfc901b,_0x4fee77){const _0x351c3c=_0x29a50d;super(),_0x2d5d22(this,_0x351c3c(0x265),!0x1),_0x2d5d22(this,_0x351c3c(0x328),!0x1),_0x2d5d22(this,'_cursorInfo$',new _0x1a1591[(_0x351c3c(0x242))](new Map())),_0x2d5d22(this,_0x351c3c(0x2ab),this[_0x351c3c(0x441)][_0x351c3c(0x469)]()),_0x2d5d22(this,'_roomMembers$',new _0x1a1591[(_0x351c3c(0x242))]([])),_0x2d5d22(this,_0x351c3c(0x229),this['_roomMembers$'][_0x351c3c(0x3cc)](_0x1a1591[_0x351c3c(0x3ae)](_0x83ff0b))),_0x2d5d22(this,_0x351c3c(0x237),_0x49eaeb[_0x351c3c(0x42e)](_0x49d24d=>{const _0x4727e5=_0x351c3c,_0x36503c={'eventID':_0x579da8[_0x4727e5(0x450)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4727e5(0x36a)],'memberID':this[_0x4727e5(0x2f5)][_0x4727e5(0x232)](),'selection':_0x446ae4(_0x49d24d)}};this['_session'][_0x4727e5(0x32f)](_0x36503c,this[_0x4727e5(0x36a)]);},_0x119ba9)),(this[_0x351c3c(0x36a)]=_0x513a54,this[_0x351c3c(0x2f5)]=_0x179075,this[_0x351c3c(0x3aa)]=_0x49db95,this[_0x351c3c(0x3a3)]=_0x34330c,this[_0x351c3c(0x28f)]=_0x1c2e08,this[_0x351c3c(0x346)]=_0x502821,this[_0x351c3c(0x3f0)]=_0x1bfbc3,this['_univerInstanceService']=_0xfc901b,this['_commandService']=_0x4fee77);}get['cursorInfo'](){const _0x2682ee=_0x29a50d;return this['_cursorInfo$'][_0x2682ee(0x3e4)]();}get[_0x29a50d(0x3b3)](){const _0x4487ec=_0x29a50d;return this[_0x4487ec(0x426)][_0x4487ec(0x3e4)]();}['dispose'](){const _0x40b886=_0x29a50d;super['dispose'](),this['_cursorInfo$'][_0x40b886(0x277)](new Map()),this['_cursorInfo$'][_0x40b886(0x43e)](),this['_roomMembers$'][_0x40b886(0x277)]([]),this[_0x40b886(0x426)]['complete']();}['init'](){const _0x455920=_0x29a50d;this[_0x455920(0x328)]||(this['_init']=!0x0,this['_session'][_0x455920(0x34f)][_0x455920(0x3cc)](_0x1a1591[_0x455920(0x30c)](this[_0x455920(0x324)]))[_0x455920(0x2f6)](_0x326f28=>{const _0x416bf3=_0x455920;_0x326f28===_0x5557ff['SessionStatus'][_0x416bf3(0x3a0)]?this[_0x416bf3(0x3ad)]():this[_0x416bf3(0x45c)]();}),this[_0x455920(0x2f5)][_0x455920(0x363)][_0x455920(0x3cc)](_0x1a1591[_0x455920(0x30c)](this['dispose$']))[_0x455920(0x2f6)](_0x39bb15=>{const _0x409c6f=_0x455920,_0x70c63b=_0x39bb15['eventID'];_0x70c63b===_0x579da8['CollaborationEvent'][_0x409c6f(0x422)]&&this[_0x409c6f(0x3e8)](_0x39bb15),_0x70c63b===_0x579da8[_0x409c6f(0x450)][_0x409c6f(0x1f6)]&&this[_0x409c6f(0x306)](_0x39bb15);}),this[_0x455920(0x46c)](this[_0x455920(0x260)]['onCommandExecuted'](_0x4fabcf=>{const _0x3ff2c9=_0x455920,_0xf4349c=_0x4fabcf['params'];_0xf4349c!=null&&this[_0x3ff2c9(0x265)]&&_0x4fabcf['id']===_0x54d7ba[_0x3ff2c9(0x438)]['id']&&_0xf4349c[_0x3ff2c9(0x2c8)]===this[_0x3ff2c9(0x36a)]&&_0xf4349c[_0x3ff2c9(0x3c7)]===!0x1&&_0xf4349c['ranges'][_0x3ff2c9(0x1f8)]>0x0&&this[_0x3ff2c9(0x237)](_0xf4349c[_0x3ff2c9(0x39a)]);})),this[_0x455920(0x346)][_0x455920(0x403)][_0x455920(0x3cc)](_0x1a1591[_0x455920(0x30c)](this['dispose$']))['subscribe'](_0x108636=>{const _0x88ff59=_0x455920;if((_0x108636==null?void 0x0:_0x108636[_0x88ff59(0x36a)])!==this['unitID'])return;const _0x4e363b={'eventID':_0x579da8[_0x88ff59(0x450)][_0x88ff59(0x422)],'data':_0x108636};this[_0x88ff59(0x3e8)](_0x4e363b);}),this['disposeWithMe'](this[_0x455920(0x260)]['onCommandExecuted'](_0x382b72=>{const _0x39dd84=_0x455920;if(_0x382b72[_0x39dd84(0x388)]==null)return;const _0x3c2221=_0x382b72[_0x39dd84(0x388)];if(_0x382b72['id']!==_0x54d7ba[_0x39dd84(0x2b6)]['id']||_0x3c2221['unitId']!==this[_0x39dd84(0x36a)])return;const _0x12a3da={'id':'doc.mutation.rich-text-editing','params':_0x3c2221},_0xcfc386=this[_0x39dd84(0x1fb)];for(const [_0x25a8e3,_0x32cd38]of _0xcfc386){const _0x343b6c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x39dd84(0x36a)],'actions':null,'textRanges':_0x32cd38['ranges']}},_0x38f689=this[_0x39dd84(0x3f0)][_0x39dd84(0x2b1)](_0x12a3da,_0x343b6c,!0x1);if(_0x579da8['isTransformMutationFailure'](_0x38f689))throw _0x38f689[_0x39dd84(0x2b3)];_0xcfc386[_0x39dd84(0x3e6)](_0x25a8e3,{..._0x32cd38,'ranges':_0x38f689[_0x39dd84(0x439)][_0x39dd84(0x388)][_0x39dd84(0x3f6)]});}queueMicrotask(()=>{const _0xc300e=_0x39dd84;this[_0xc300e(0x441)][_0xc300e(0x277)](_0xcfc386);});})));}[_0x29a50d(0x3e8)](_0x5d0272){const _0x2545b3=_0x29a50d;var _0x333df9,_0x17869f;const {memberID:_0x329ac6,selection:_0x2ecb3b}=_0x5d0272[_0x2545b3(0x2cc)],_0x3622c6=_0x29cfa8(_0x2ecb3b),_0x29cc2c=(_0x17869f=(_0x333df9=this[_0x2545b3(0x28f)][_0x2545b3(0x3a7)](this[_0x2545b3(0x36a)],_0x329ac6))==null?void 0x0:_0x333df9[_0x2545b3(0x286)])!=null?_0x17869f:_0x2545b3(0x297),_0x30594e={'color':this[_0x2545b3(0x3a3)][_0x2545b3(0x266)](_0x329ac6),'name':_0x29cc2c,'ranges':_0x3622c6},_0x3047a8=this['cursorInfo'];_0x3047a8[_0x2545b3(0x3e6)](_0x329ac6,_0x30594e),this[_0x2545b3(0x441)][_0x2545b3(0x277)](_0x3047a8);}[_0x29a50d(0x306)](_0x5e0663){const _0x370767=_0x29a50d,{memberID:_0x5bbdf3}=_0x5e0663[_0x370767(0x2cc)],_0x22ec5a=this[_0x370767(0x1fb)];_0x22ec5a[_0x370767(0x206)](_0x5bbdf3),this[_0x370767(0x441)][_0x370767(0x277)](_0x22ec5a);}['_toggleOnline'](){const _0xe21eb9=_0x29a50d;var _0x401d27;if(this['_online']=!0x0,((_0x401d27=this['_univerInstanceService'][_0xe21eb9(0x344)]())==null?void 0x0:_0x401d27[_0xe21eb9(0x3fc)]())!==this[_0xe21eb9(0x36a)])return;const _0x5bbfe4=this[_0xe21eb9(0x3aa)]['get'](_0x54d7ba['DocSelectionManagerService'])[_0xe21eb9(0x2f2)]();Array[_0xe21eb9(0x23f)](_0x5bbfe4)&&_0x5bbfe4[_0xe21eb9(0x1f8)]>0x0&&this['_updateLocalCursor'](_0x5bbfe4);}[_0x29a50d(0x45c)](){const _0x2c019e=_0x29a50d;this[_0x2c019e(0x265)]=!0x1;}};_0x1c5ab0=_0x51b10f([_0x219835(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x219835(0x3,_0x49eaeb['Inject'](_0x2b7743)),_0x219835(0x4,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x3ec)])),_0x219835(0x5,_0x49eaeb[_0x29a50d(0x473)](_0xb3c406)),_0x219835(0x6,_0x579da8[_0x29a50d(0x35f)]),_0x219835(0x7,_0x49eaeb[_0x29a50d(0x33d)]),_0x219835(0x8,_0x49eaeb[_0x29a50d(0x2e4)])],_0x1c5ab0);var _0xcd30c5=Object[_0x29a50d(0x285)],_0x43ea1f=(_0x1fd67b,_0x229043,_0x2677a1,_0x446307)=>{const _0x1fca47=_0x29a50d;for(var _0x15e0bd=_0x446307>0x1?void 0x0:_0x446307?_0xcd30c5(_0x229043,_0x2677a1):_0x229043,_0x3028e0=_0x1fd67b[_0x1fca47(0x1f8)]-0x1,_0x3439bd;_0x3028e0>=0x0;_0x3028e0--)(_0x3439bd=_0x1fd67b[_0x3028e0])&&(_0x15e0bd=_0x3439bd(_0x15e0bd)||_0x15e0bd);return _0x15e0bd;},_0x3f2afc=(_0x1f55a7,_0x4435ad)=>(_0x7cc039,_0x2f8227)=>_0x4435ad(_0x7cc039,_0x2f8227,_0x1f55a7);const _0x39f794=0x12c,_0x2e42b2=0x64,_0x5c336a=()=>{let _0x453c86=[],_0x1412e9=!0x1;return _0x57169c=>{_0x453c86['push'](_0x57169c),_0x1412e9||(_0x1412e9=!0x0,setTimeout(()=>{const _0x75caee=_0x37a6;_0x453c86[_0x75caee(0x351)](_0x50a3a1=>_0x50a3a1()),_0x453c86=[],_0x1412e9=!0x1;}));};};let _0x2fd7eb=class extends _0x49eaeb['RxDisposable']{constructor(_0x2c43da,_0x222478,_0x121253,_0x2ae8b1,_0x862144,_0x53e0bd,_0x19c7d2,_0x4806c1){const _0x3221dc=_0x29a50d;super(),_0x2d5d22(this,_0x3221dc(0x265),!0x1),_0x2d5d22(this,_0x3221dc(0x328),!0x1),_0x2d5d22(this,_0x3221dc(0x441),new _0x1a1591[(_0x3221dc(0x242))](new Map())),_0x2d5d22(this,_0x3221dc(0x2ab),this['_cursorInfo$'][_0x3221dc(0x469)]()),_0x2d5d22(this,_0x3221dc(0x426),new _0x1a1591[(_0x3221dc(0x242))]([])),_0x2d5d22(this,_0x3221dc(0x229),this[_0x3221dc(0x426)][_0x3221dc(0x3cc)](_0x1a1591[_0x3221dc(0x3ae)](_0x39f794))),_0x2d5d22(this,_0x3221dc(0x237),_0x49eaeb[_0x3221dc(0x42e)]((_0x5741cb,_0x61c5ac)=>{const _0x4fab18=_0x3221dc,_0x226a25={'eventID':_0x579da8['CollaborationEvent'][_0x4fab18(0x422)],'data':{'unitID':this[_0x4fab18(0x36a)],'memberID':this[_0x4fab18(0x2f5)][_0x4fab18(0x232)](),'selection':_0x20a384[_0x4fab18(0x3fd)](_0x5741cb,_0x61c5ac[_0x4fab18(0x413)])}};this[_0x4fab18(0x2f5)]['send'](_0x226a25,this[_0x4fab18(0x36a)]);},_0x2e42b2)),(this[_0x3221dc(0x36a)]=_0x2c43da,this[_0x3221dc(0x2f5)]=_0x222478,this[_0x3221dc(0x3aa)]=_0x121253,this[_0x3221dc(0x3a3)]=_0x2ae8b1,this[_0x3221dc(0x28f)]=_0x862144,this[_0x3221dc(0x2da)]=_0x53e0bd,this[_0x3221dc(0x260)]=_0x19c7d2,this[_0x3221dc(0x3c8)]=_0x4806c1);}get[_0x29a50d(0x1fb)](){const _0x4b4509=_0x29a50d;return this['_cursorInfo$'][_0x4b4509(0x3e4)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x29a50d(0x239)](){const _0x1bac0c=_0x29a50d;super[_0x1bac0c(0x239)](),this[_0x1bac0c(0x441)]['next'](new Map()),this[_0x1bac0c(0x441)][_0x1bac0c(0x43e)](),this[_0x1bac0c(0x426)][_0x1bac0c(0x277)]([]),this[_0x1bac0c(0x426)][_0x1bac0c(0x43e)]();}['init'](){const _0x4f8907=_0x29a50d;this[_0x4f8907(0x328)]||(this[_0x4f8907(0x328)]=!0x0,this['_session'][_0x4f8907(0x34f)]['pipe'](_0x1a1591[_0x4f8907(0x30c)](this[_0x4f8907(0x324)]))['subscribe'](_0x3604fc=>{const _0x5adb01=_0x4f8907;_0x3604fc===_0x5557ff[_0x5adb01(0x30d)]['ONLINE']?this[_0x5adb01(0x3ad)]():this[_0x5adb01(0x45c)]();}),this[_0x4f8907(0x2f5)]['event$'][_0x4f8907(0x3cc)](_0x1a1591[_0x4f8907(0x30c)](this['dispose$']))[_0x4f8907(0x2f6)](_0x54931f=>{const _0x5a747e=_0x4f8907,_0x5491a0=_0x54931f[_0x5a747e(0x435)];_0x5491a0===_0x579da8[_0x5a747e(0x450)][_0x5a747e(0x422)]&&this['_onCursorUpdate'](_0x54931f),_0x5491a0===_0x579da8[_0x5a747e(0x450)][_0x5a747e(0x1f6)]&&this['_onCursorDelete'](_0x54931f);}),this['_onRefRangeChange'](),this[_0x4f8907(0x46c)](this[_0x4f8907(0x260)][_0x4f8907(0x2f3)](_0x372ce5=>{const _0x17eda2=_0x4f8907;if(this[_0x17eda2(0x265)]&&_0x372ce5['id']===_0x11631c['SetSelectionsOperation']['id']&&_0x372ce5[_0x17eda2(0x388)][_0x17eda2(0x2c8)]===this[_0x17eda2(0x36a)]){const _0x3652f1=_0x372ce5['params'];this[_0x17eda2(0x237)](_0x3652f1[_0x17eda2(0x3ab)],_0x3652f1[_0x17eda2(0x318)][0x0]);}})));}[_0x29a50d(0x3e8)](_0xb436f7){const _0x569fdf=_0x29a50d;var _0x51cb54,_0x8250de;const {memberID:_0x169483,selection:_0xc07e96}=_0xb436f7[_0x569fdf(0x2cc)],{sheetName:_0x4a286e,range:_0x42c8c1}=_0x20a384['deserializeRangeWithSheet'](_0xc07e96),_0x467615={'name':(_0x8250de=(_0x51cb54=this[_0x569fdf(0x28f)]['getMember'](this[_0x569fdf(0x36a)],_0x169483))==null?void 0x0:_0x51cb54['name'])!=null?_0x8250de:_0x569fdf(0x297),'range':this[_0x569fdf(0x455)](_0x4a286e,_0x42c8c1),'sheetID':_0x4a286e,'color':this[_0x569fdf(0x3a3)][_0x569fdf(0x266)](_0x169483),'selection':_0xc07e96},_0x26cdb6=this[_0x569fdf(0x1fb)];_0x26cdb6[_0x569fdf(0x3e6)](_0x169483,_0x467615),this[_0x569fdf(0x441)][_0x569fdf(0x277)](_0x26cdb6);}[_0x29a50d(0x306)](_0x17450b){const _0x34c533=_0x29a50d,{memberID:_0x140593}=_0x17450b[_0x34c533(0x2cc)],_0x19d781=this[_0x34c533(0x1fb)];_0x19d781[_0x34c533(0x206)](_0x140593),this[_0x34c533(0x441)][_0x34c533(0x277)](_0x19d781);}[_0x29a50d(0x455)](_0x523091,_0x3ee47a){const _0x563c42=_0x29a50d;var _0x1e1649,_0x3ab2f9;const _0x489506=(_0x3ab2f9=(_0x1e1649=this['_univerInstanceService'][_0x563c42(0x26d)](this['unitID']))==null?void 0x0:_0x1e1649[_0x563c42(0x3b9)](_0x523091))==null?void 0x0:_0x3ab2f9[_0x563c42(0x3dd)]();return(_0x489506==null?void 0x0:_0x489506['find'](_0x241d86=>_0x49eaeb['Rectangle']['contains'](_0x241d86,_0x3ee47a)))||_0x3ee47a;}[_0x29a50d(0x274)](){const _0x2d09db=_0x29a50d,_0x427032=new _0x49eaeb['DisposableCollection'](),_0x3df10c=_0x5c336a(),_0x313273=()=>{const _0x1fb24a=_0x37a6;_0x427032[_0x1fb24a(0x239)]();const _0x3b403c=(_0xec609d,_0x104623,_0x4abd5e,_0x3d3b46)=>{const _0x51a87f=_0x1fb24a;let _0xb7df29=[];switch(_0xec609d['id']){case _0x11631c['EffectRefRangId'][_0x51a87f(0x39e)]:{_0xb7df29=_0x11631c[_0x51a87f(0x1f5)](_0xec609d,_0x3d3b46);break;}case _0x11631c['EffectRefRangId'][_0x51a87f(0x41c)]:{_0xb7df29=_0x11631c[_0x51a87f(0x238)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x32e)]:{_0xb7df29=_0x11631c[_0x51a87f(0x302)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)]['InsertRangeMoveDownCommandId']:{_0xb7df29=_0x11631c[_0x51a87f(0x3e3)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x466)]:{_0xb7df29=_0x11631c[_0x51a87f(0x2db)](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x474)]:{_0xb7df29=_0x11631c['handleInsertRow'](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x249)]:{_0xb7df29=_0x11631c['handleMoveRange'](_0xec609d,_0x3d3b46);break;}case _0x11631c[_0x51a87f(0x42d)][_0x51a87f(0x2ff)]:{_0xb7df29=_0x11631c['handleIRemoveCol'](_0xec609d,_0x3d3b46);break;}case _0x11631c['EffectRefRangId']['RemoveRowCommandId']:{_0xb7df29=_0x11631c[_0x51a87f(0x3ea)](_0xec609d,_0x3d3b46);break;}}const _0xc99c4f=_0x11631c[_0x51a87f(0x308)](_0xb7df29,_0x3d3b46),_0x5a362c=this['cursorInfo'][_0x51a87f(0x408)](_0x104623);if(_0x5a362c&&_0xc99c4f){const _0x507f05={..._0x5a362c,'range':_0xc99c4f};this[_0x51a87f(0x1fb)][_0x51a87f(0x3e6)](_0x104623,_0x507f05),_0x3df10c(()=>{const _0x14a302=_0x51a87f,_0x31d5bd=this['_refRangeService'][_0x14a302(0x1fc)](_0xc99c4f,_0x282cea=>(_0x31d5bd[_0x14a302(0x239)](),_0x3b403c(_0x282cea,_0x104623,_0x4abd5e,_0xc99c4f)));_0x427032[_0x14a302(0x3f5)](_0x31d5bd);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1fb24a(0x351)]((_0x2e1fe8,_0x489215)=>{const _0x2738d0=_0x1fb24a,{range:_0x125390,sheetID:_0xf84377}=_0x2e1fe8,_0x41fd2d=this[_0x2738d0(0x3c8)][_0x2738d0(0x1fc)](_0x125390,_0x2d34c7=>(_0x41fd2d[_0x2738d0(0x239)](),_0x3b403c(_0x2d34c7,_0x489215,_0xf84377,_0x125390)));_0x427032[_0x2738d0(0x3f5)](_0x41fd2d);});};this[_0x2d09db(0x46c)](_0x49eaeb[_0x2d09db(0x21d)](this[_0x2d09db(0x441)][_0x2d09db(0x2f6)](()=>{_0x313273();})));}['_toggleOnline'](){const _0x59f179=_0x29a50d;var _0x4996d6,_0x4ea600;if(this['_online']=!0x0,((_0x4996d6=this[_0x59f179(0x2da)][_0x59f179(0x344)]())==null?void 0x0:_0x4996d6[_0x59f179(0x3fc)]())!==this[_0x59f179(0x36a)])return;const _0x53733e=(_0x4ea600=this[_0x59f179(0x3aa)][_0x59f179(0x408)](_0x11631c[_0x59f179(0x20a)])[_0x59f179(0x320)]())==null?void 0x0:_0x4ea600[0x0],_0x57549c=this['_univerInstanceService']['getCurrentUnitForType'](_0x49eaeb[_0x59f179(0x311)]['UNIVER_SHEET'])[_0x59f179(0x3e1)]();_0x53733e&&_0x57549c&&this[_0x59f179(0x237)](_0x57549c[_0x59f179(0x201)](),_0x53733e);}[_0x29a50d(0x45c)](){const _0x1de090=_0x29a50d;this[_0x1de090(0x265)]=!0x1;}};_0x2fd7eb=_0x43ea1f([_0x3f2afc(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x3f2afc(0x3,_0x49eaeb['Inject'](_0x2b7743)),_0x3f2afc(0x4,_0x49eaeb['Inject'](_0x5557ff[_0x29a50d(0x3ec)])),_0x3f2afc(0x5,_0x49eaeb[_0x29a50d(0x33d)]),_0x3f2afc(0x6,_0x49eaeb[_0x29a50d(0x2e4)]),_0x3f2afc(0x7,_0x49eaeb[_0x29a50d(0x473)](_0x11631c['RefRangeService']))],_0x2fd7eb);var _0x36a9ff=Object['getOwnPropertyDescriptor'],_0x1737f5=(_0x49396c,_0x1125fb,_0x3571a4,_0xcd829a)=>{const _0x4d82ce=_0x29a50d;for(var _0x184c4a=_0xcd829a>0x1?void 0x0:_0xcd829a?_0x36a9ff(_0x1125fb,_0x3571a4):_0x1125fb,_0x3f3bff=_0x49396c[_0x4d82ce(0x1f8)]-0x1,_0x2a2d6d;_0x3f3bff>=0x0;_0x3f3bff--)(_0x2a2d6d=_0x49396c[_0x3f3bff])&&(_0x184c4a=_0x2a2d6d(_0x184c4a)||_0x184c4a);return _0x184c4a;},_0xc4bb52=(_0x37f5a7,_0x42614c)=>(_0x33e6dd,_0x5d5beb)=>_0x42614c(_0x33e6dd,_0x5d5beb,_0x37f5a7);let _0x43f861=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x1fcae4,_0x137b54,_0x112c01){const _0xe095a3=_0x29a50d;super(),_0x2d5d22(this,_0xe095a3(0x2e2),new Map()),_0x2d5d22(this,_0xe095a3(0x396),new _0x1a1591[(_0xe095a3(0x3b1))]()),(this[_0xe095a3(0x2da)]=_0x1fcae4,this[_0xe095a3(0x3aa)]=_0x137b54,this[_0xe095a3(0x267)]=_0x112c01,this[_0xe095a3(0x328)]());}[_0x29a50d(0x239)](){const _0x4a0f8f=_0x29a50d;super['dispose'](),this[_0x4a0f8f(0x396)][_0x4a0f8f(0x43e)](),this['_entities']['forEach'](_0x478872=>_0x478872[_0x4a0f8f(0x239)]());}[_0x29a50d(0x445)](_0x25fe8d){const _0x262e8e=_0x29a50d;return this[_0x262e8e(0x2e2)][_0x262e8e(0x35c)](_0x25fe8d)?this[_0x262e8e(0x2e2)][_0x262e8e(0x408)](_0x25fe8d)[_0x262e8e(0x2ab)]:this[_0x262e8e(0x396)][_0x262e8e(0x3cc)](_0x1a1591[_0x262e8e(0x3fb)](_0x373c1d=>_0x373c1d[_0x262e8e(0x36a)]===_0x25fe8d),_0x1a1591[_0x262e8e(0x433)](_0x34df2e=>_0x34df2e[_0x262e8e(0x2ab)]));}[_0x29a50d(0x328)](){const _0x456ee3=_0x29a50d;this['_univerInstanceService'][_0x456ee3(0x421)](_0x49eaeb['UniverInstanceType'][_0x456ee3(0x3f9)])[_0x456ee3(0x3cc)](_0x1a1591['takeUntil'](this[_0x456ee3(0x324)]))['subscribe'](async _0x22d9b3=>{const _0x34d8b5=_0x456ee3,_0x48f54d=_0x22d9b3[_0x34d8b5(0x3fc)](),_0x186d60=await this[_0x34d8b5(0x2ce)](_0x48f54d);this[_0x34d8b5(0x396)][_0x34d8b5(0x277)](_0x186d60),this['_entities'][_0x34d8b5(0x3e6)](_0x48f54d,_0x186d60);}),this[_0x456ee3(0x2da)][_0x456ee3(0x421)](_0x49eaeb[_0x456ee3(0x311)][_0x456ee3(0x2e3)])['pipe'](_0x1a1591[_0x456ee3(0x30c)](this['dispose$']))[_0x456ee3(0x3cc)](_0x1a1591['filter'](_0x46c424=>!_0x46c424[_0x456ee3(0x3fc)]()[_0x456ee3(0x3d3)]('__')))[_0x456ee3(0x2f6)](async _0x434b42=>{const _0x15e9db=_0x456ee3,_0x527ed6=_0x434b42[_0x15e9db(0x3fc)](),_0x5d4e8d=await this['_startDocCollabCursor'](_0x527ed6);this['_entityInit$']['next'](_0x5d4e8d),this[_0x15e9db(0x2e2)][_0x15e9db(0x3e6)](_0x527ed6,_0x5d4e8d);}),_0x1a1591[_0x456ee3(0x27b)](this[_0x456ee3(0x2da)][_0x456ee3(0x2df)](_0x49eaeb[_0x456ee3(0x311)]['UNIVER_DOC']),this[_0x456ee3(0x2da)]['getTypeOfUnitDisposed$'](_0x49eaeb[_0x456ee3(0x311)][_0x456ee3(0x3f9)]))[_0x456ee3(0x3cc)](_0x1a1591[_0x456ee3(0x30c)](this[_0x456ee3(0x324)]))[_0x456ee3(0x2f6)](_0x88b0b0=>{const _0x3eeea0=_0x456ee3,_0x4805a7=_0x88b0b0['getUnitId'](),_0x876251=this['_entities']['get'](_0x4805a7);_0x876251&&(_0x876251['dispose'](),this[_0x3eeea0(0x2e2)][_0x3eeea0(0x206)](_0x4805a7));});}async[_0x29a50d(0x2ce)](_0x3d7417){const _0x36bc38=_0x29a50d,_0x392481=await this[_0x36bc38(0x267)][_0x36bc38(0x225)](_0x3d7417),_0x4e817a=this[_0x36bc38(0x3aa)][_0x36bc38(0x436)](_0x2fd7eb,_0x3d7417,_0x392481);return _0x4e817a[_0x36bc38(0x370)](),_0x4e817a;}async[_0x29a50d(0x2d5)](_0xf574ee){const _0x27c14f=_0x29a50d,_0x80cc8c=await this['_collabSessionService']['requireSession'](_0xf574ee),_0x20e90c=this['_injector'][_0x27c14f(0x436)](_0x1c5ab0,_0xf574ee,_0x80cc8c);return _0x20e90c[_0x27c14f(0x370)](),_0x20e90c;}};_0x43f861=_0x1737f5([_0xc4bb52(0x0,_0x49eaeb['IUniverInstanceService']),_0xc4bb52(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0xc4bb52(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x3c1)]))],_0x43f861);const _0x595381=0x14,_0x25739e=0xc8,_0x5d12f1=0x4,_0x1aad98=0x5;function _0x1fa848(_0x2cfae3,_0x5b0dcf){const _0x2f3fc9=_0x29a50d;let {radius:_0x528f92,width:_0x251fca,height:_0x556f83}=_0x5b0dcf;_0x528f92=_0x528f92!=null?_0x528f92:0x0,_0x251fca=_0x251fca!=null?_0x251fca:0x1e,_0x556f83=_0x556f83!=null?_0x556f83:0x1e;let _0x2c1289=0x0,_0x50bd3d=0x0,_0x384fe2=0x0;_0x2c1289=_0x50bd3d=_0x384fe2=Math[_0x2f3fc9(0x397)](_0x528f92,_0x251fca/0x2,_0x556f83/0x2),_0x2cfae3['beginPath'](),_0x2cfae3['moveTo'](_0x2c1289,0x0),_0x2cfae3[_0x2f3fc9(0x2fb)](_0x251fca-_0x50bd3d,0x0),_0x2cfae3[_0x2f3fc9(0x416)](_0x251fca-_0x50bd3d,_0x50bd3d,_0x50bd3d,Math['PI']*0x3/0x2,0x0,!0x1),_0x2cfae3[_0x2f3fc9(0x2fb)](_0x251fca,_0x556f83-_0x384fe2),_0x2cfae3[_0x2f3fc9(0x416)](_0x251fca-_0x384fe2,_0x556f83-_0x384fe2,_0x384fe2,0x0,Math['PI']/0x2,!0x1),_0x2cfae3['lineTo'](0x0,_0x556f83),_0x2cfae3[_0x2f3fc9(0x2fb)](0x0,_0x2c1289),_0x2cfae3['arc'](_0x2c1289,_0x2c1289,_0x2c1289,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2cfae3[_0x2f3fc9(0x3c5)](),_0x5b0dcf['fill']&&(_0x2cfae3[_0x2f3fc9(0x309)](),_0x2cfae3[_0x2f3fc9(0x1e3)]=_0x5b0dcf[_0x2f3fc9(0x2ca)],_0x5b0dcf[_0x2f3fc9(0x2d3)]==='evenodd'?_0x2cfae3[_0x2f3fc9(0x2ca)](_0x2f3fc9(0x200)):_0x2cfae3[_0x2f3fc9(0x2ca)](),_0x2cfae3[_0x2f3fc9(0x342)]());}class _0x5827b1 extends _0x506afb[_0x29a50d(0x2c2)]{constructor(_0x123bc4,_0x50a212){const _0x574b9a=_0x29a50d;super(_0x123bc4,_0x50a212),_0x2d5d22(this,_0x574b9a(0x37c)),_0x2d5d22(this,_0x574b9a(0x40d)),(this[_0x574b9a(0x37c)]=_0x50a212==null?void 0x0:_0x50a212['color'],this[_0x574b9a(0x40d)]=_0x50a212==null?void 0x0:_0x50a212['text']);}static[_0x29a50d(0x3f8)](_0x54e41d,_0x2be9a9){const _0x20fae6=_0x29a50d,{text:_0x204f7d,color:_0x552aeb}=_0x2be9a9;_0x54e41d[_0x20fae6(0x309)](),_0x54e41d[_0x20fae6(0x28e)]=_0x20fae6(0x411);const _0x13f2a8=_0x54e41d[_0x20fae6(0x305)](_0x204f7d)[_0x20fae6(0x37d)],_0x4da335=Math[_0x20fae6(0x397)](_0x13f2a8+0x2*_0x5d12f1,_0x25739e);_0x1fa848(_0x54e41d,{'height':_0x595381,'radius':0x4,'width':_0x4da335,'fill':_0x552aeb}),_0x54e41d[_0x20fae6(0x1e3)]=_0x20fae6(0x295);const _0x4a4c41=_0x5d12f1,_0x1a7f24=_0x595381-_0x1aad98,_0xac7a1a=_0x25739e-0x2*_0x5d12f1;if(_0x13f2a8>_0xac7a1a){let _0x702ca1='',_0x59d5fe=0x0;for(const _0x43efd4 of _0x204f7d){const _0x509ea0=_0x54e41d['measureText'](_0x43efd4)[_0x20fae6(0x37d)];if(_0x59d5fe+_0x509ea0<=_0xac7a1a-_0x54e41d['measureText'](_0x20fae6(0x35b))[_0x20fae6(0x37d)])_0x702ca1+=_0x43efd4,_0x59d5fe+=_0x509ea0;else{_0x702ca1+='...';break;}}_0x54e41d[_0x20fae6(0x23e)](_0x702ca1,_0x4a4c41,_0x1a7f24);}else _0x54e41d[_0x20fae6(0x23e)](_0x204f7d,_0x4a4c41,_0x1a7f24);_0x54e41d[_0x20fae6(0x342)]();}[_0x29a50d(0x220)](_0x2c63ab){const _0x31e105=_0x29a50d;_0x5827b1[_0x31e105(0x3f8)](_0x2c63ab,this);}}const _0x45e3b3='collab-text-anchor-',_0x593524='collab-text-range-',_0x4eac36='collab-rect-range-',_0x4a83dd=0x6,_0xf35acb=1.5,_0x3c267d=0x4,_0x58e706=1.5,_0x295271=_0x29a50d(0x340);class _0x214372{constructor(_0x3e4ba4,_0x3dbc7d,_0x4e6b0a,_0x4a9247){const _0x9f0b05=_0x29a50d;_0x2d5d22(this,_0x9f0b05(0x333),[]),_0x2d5d22(this,_0x9f0b05(0x34e),null),_0x2d5d22(this,_0x9f0b05(0x3da),null),_0x2d5d22(this,_0x9f0b05(0x335),null),_0x2d5d22(this,_0x9f0b05(0x3ce),null),_0x2d5d22(this,_0x9f0b05(0x409),null),(this[_0x9f0b05(0x3ee)]=_0x3e4ba4,this[_0x9f0b05(0x431)]=_0x3dbc7d,this[_0x9f0b05(0x456)]=_0x4e6b0a,this[_0x9f0b05(0x41f)]=_0x4a9247,this[_0x9f0b05(0x3af)]());}set[_0x29a50d(0x207)](_0x41cae6){const _0x2102ff=_0x29a50d;_0x41cae6?(this[_0x2102ff(0x335)]&&this[_0x2102ff(0x335)]['hide'](),this[_0x2102ff(0x3da)]&&this[_0x2102ff(0x3da)][_0x2102ff(0x29d)]()):(this[_0x2102ff(0x335)]&&this[_0x2102ff(0x335)]['show'](),this['_textBubble']&&this[_0x2102ff(0x3da)][_0x2102ff(0x275)]());}['dispose'](){const _0x4a4306=_0x29a50d;for(const _0x5d9214 of this[_0x4a4306(0x333)])_0x5d9214['dispose']();this['_textBubble']&&this[_0x4a4306(0x3da)][_0x4a4306(0x239)](),this[_0x4a4306(0x335)]&&this[_0x4a4306(0x335)]['dispose'](),this[_0x4a4306(0x34e)]&&this['_anchor'][_0x4a4306(0x239)](),this[_0x4a4306(0x409)]&&this[_0x4a4306(0x409)]();}[_0x29a50d(0x3af)](){const _0x812f97=_0x29a50d;var _0x54bee7;const {_docSkeleton:_0x13682a,_document:_0x4c4e05}=this,{color:_0x42366a,name:_0x2b802f,ranges:_0x526b13}=this[_0x812f97(0x3ee)],_0x13f25f=_0x4c4e05['getOffsetConfig'](),{docsLeft:_0x322209,docsTop:_0x444da5}=_0x13f25f,_0xddf286=new _0x3c8f3f[(_0x812f97(0x3d9))](_0x13f25f,_0x13682a);for(const {startOffset:_0xc4d8c6,endOffset:_0x202600,rangeType:_0x1a009d,segmentId:_0x30354b,segmentPage:_0x58f5c7,collapsed:_0x5407d4,isActive:_0x37e2ac}of _0x526b13){const _0xb5a5e8=_0x13682a[_0x812f97(0x39d)](_0xc4d8c6,!0x0,_0x30354b,_0x58f5c7);let _0x3e5266=_0x13682a[_0x812f97(0x39d)](_0x202600,!0x0,_0x30354b,_0x58f5c7);if(_0x3e5266==null&&(_0x3e5266=_0x13682a[_0x812f97(0x39d)](_0x202600-0x1,!0x1,_0x30354b,_0x58f5c7)),_0x37e2ac){const {contentBoxPointGroup:_0x3c1015}=_0xddf286[_0x812f97(0x231)](_0x3e5266,_0x3e5266);if(_0x3c1015[_0x812f97(0x1f8)]===0x0)continue;this[_0x812f97(0x290)](_0x42366a,_0x3c1015,_0x322209,_0x444da5,_0x2b802f),this['_eventUnsubscribe']=this[_0x812f97(0x319)]();}if(_0xb5a5e8&&_0x3e5266){if(_0x1a009d===_0x49eaeb[_0x812f97(0x292)][_0x812f97(0x42c)]){const _0x56e4a8=new _0x3c8f3f[(_0x812f97(0x2dc))](_0x13f25f,_0x13682a),{pointGroup:_0x552913}=(_0x54bee7=_0x56e4a8[_0x812f97(0x231)](_0xb5a5e8,_0x3e5266))!=null?_0x54bee7:{};if(_0x552913==null||_0x552913[_0x812f97(0x1f8)]===0x0)continue;this['_drawRectRange'](_0x42366a,_0x552913,_0x322209,_0x444da5);}else{if(!_0x5407d4){const {borderBoxPointGroup:_0x5c893e}=_0xddf286[_0x812f97(0x231)](_0xb5a5e8,_0x3e5266);if(_0x5c893e[_0x812f97(0x1f8)]===0x0)continue;this[_0x812f97(0x282)](_0x42366a,_0x5c893e,_0x322209,_0x444da5);}}}}}[_0x29a50d(0x290)](_0x2afa69,_0x1a66e9,_0x218e4a,_0x5330ef,_0x480104){const _0x242994=_0x29a50d,_0xa0e5e9=this[_0x242994(0x259)](_0x1a66e9),{left:_0x4e614e,top:_0x1adf7a,height:_0x2b8ac1}=_0xa0e5e9,_0x3be486=this[_0x242994(0x2ba)](),_0x15035b=_0x58e706/_0x3be486,_0x2fb4c4=new _0x506afb[(_0x242994(0x424))](_0x45e3b3+_0x49eaeb[_0x242994(0x226)][_0x242994(0x2fe)](_0x4a83dd),{'left':_0x4e614e+_0x218e4a-_0x15035b,'top':_0x1adf7a+_0x5330ef,'height':_0x2b8ac1,'width':_0xf35acb,'fill':_0x2afa69||_0x506afb[_0x242994(0x304)](_0x49eaeb[_0x242994(0x28b)][_0x242994(0x2de)],0x0),'strokeWidth':_0x15035b,'stroke':_0x295271,'evented':!0x0});this[_0x242994(0x34e)]=_0x2fb4c4,this[_0x242994(0x431)][_0x242994(0x272)](_0x2fb4c4,_0x3c8f3f[_0x242994(0x2ad)]);const _0xf434f0=new _0x506afb[(_0x242994(0x424))](_0x45e3b3+_0x49eaeb[_0x242994(0x226)][_0x242994(0x2fe)](_0x4a83dd),{'left':_0x4e614e+_0x218e4a-_0x15035b,'top':_0x1adf7a+_0x5330ef-_0x3c267d/0x2,'height':_0x3c267d,'width':_0x3c267d,'fill':_0x2afa69||_0x506afb[_0x242994(0x304)](_0x49eaeb[_0x242994(0x28b)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x2afa69||_0x506afb[_0x242994(0x304)](_0x49eaeb['COLORS']['black'],0x0),'evented':!0x1});this['_anchorDot']=_0xf434f0,this[_0x242994(0x431)][_0x242994(0x272)](_0xf434f0,_0x3c8f3f[_0x242994(0x2ad)]);const _0x36664a=new _0x5827b1(_0x45e3b3+_0x49eaeb[_0x242994(0x226)][_0x242994(0x2fe)](_0x4a83dd),{'left':_0x4e614e+_0x218e4a-_0x15035b,'top':_0x1adf7a+_0x5330ef-_0x595381,'text':_0x480104,'color':_0x2afa69});this[_0x242994(0x3da)]=_0x36664a,this['_scene']['addObject'](_0x36664a,_0x3c8f3f[_0x242994(0x2ad)]),this[_0x242994(0x207)]=!0x1;}[_0x29a50d(0x319)](){const _0x4837cb=_0x29a50d,_0x6a500e=this[_0x4837cb(0x34e)][_0x4837cb(0x230)][_0x4837cb(0x3bd)](()=>{const _0x556c8f=_0x4837cb;this[_0x556c8f(0x207)]=!0x0;}),_0x229f15=this[_0x4837cb(0x34e)][_0x4837cb(0x2c3)][_0x4837cb(0x3bd)](()=>{const _0x1fcfe4=_0x4837cb;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x1fcfe4(0x3ce)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x42cfd5=_0x4837cb;_0x6a500e['unsubscribe'](),_0x229f15[_0x42cfd5(0x2dd)]();};}[_0x29a50d(0x282)](_0x40fe86,_0x5e3a47,_0x6196e,_0x51c9d0){const _0x5cb361=_0x29a50d,_0x31d0ca=new _0x49eaeb[(_0x5cb361(0x3b8))](_0x40fe86)[_0x5cb361(0x44c)](0.2)['toRgbString'](),_0x41fd0e=new _0x506afb[(_0x5cb361(0x21a))](_0x593524+_0x49eaeb[_0x5cb361(0x226)][_0x5cb361(0x2fe)](_0x4a83dd),{'pointsGroup':_0x5e3a47,'fill':_0x31d0ca||_0x506afb['getColor'](_0x49eaeb[_0x5cb361(0x28b)][_0x5cb361(0x2de)],0.2),'left':_0x6196e,'top':_0x51c9d0,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5cb361(0x2e9)](_0x41fd0e),this['_scene'][_0x5cb361(0x272)](_0x41fd0e,_0x3c8f3f['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x5af45b,_0x4f3615,_0x1aec2d,_0x5af415){const _0x352058=_0x29a50d,_0x3c6631=new _0x49eaeb[(_0x352058(0x3b8))](_0x5af45b)['setAlpha'](0.2)['toRgbString'](),_0x475ffe=new _0x506afb[(_0x352058(0x21a))](_0x4eac36+_0x49eaeb[_0x352058(0x226)][_0x352058(0x2fe)](_0x4a83dd),{'pointsGroup':_0x4f3615,'fill':_0x3c6631||_0x506afb[_0x352058(0x304)](_0x49eaeb[_0x352058(0x28b)][_0x352058(0x2de)],0.2),'left':_0x1aec2d,'top':_0x5af415,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x352058(0x333)][_0x352058(0x2e9)](_0x475ffe),this['_scene']['addObject'](_0x475ffe,_0x3c8f3f['TEXT_RANGE_LAYER_INDEX']);}[_0x29a50d(0x259)](_0x1b3048){const _0x35d2bb=_0x1b3048[0x0],_0x8c0ff4=_0x35d2bb[0x0],_0x67a131=_0x35d2bb[0x2],{x:_0x439ceb,y:_0x14acd5}=_0x8c0ff4,{x:_0x116d28,y:_0xe3887c}=_0x67a131;return{'left':_0x439ceb,'top':_0x14acd5,'width':_0x116d28-_0x439ceb,'height':_0xe3887c-_0x14acd5};}[_0x29a50d(0x2ba)](){const _0x29008e=_0x29a50d,{scaleX:_0x26399a,scaleY:_0x2e15ad}=this[_0x29008e(0x431)]['getAncestorScale']();return Math[_0x29008e(0x23d)](_0x26399a,_0x2e15ad);}}var _0x107dfe=Object[_0x29a50d(0x285)],_0xd28aa9=(_0x436812,_0x9ad9ac,_0x1f56b8,_0x3f88ec)=>{for(var _0x163b0a=_0x3f88ec>0x1?void 0x0:_0x3f88ec?_0x107dfe(_0x9ad9ac,_0x1f56b8):_0x9ad9ac,_0x55ddf6=_0x436812['length']-0x1,_0x1bfcf0;_0x55ddf6>=0x0;_0x55ddf6--)(_0x1bfcf0=_0x436812[_0x55ddf6])&&(_0x163b0a=_0x1bfcf0(_0x163b0a)||_0x163b0a);return _0x163b0a;},_0x3baee4=(_0x50ae0e,_0x146b2b)=>(_0x1bd7d8,_0x16f6a7)=>_0x146b2b(_0x1bd7d8,_0x16f6a7,_0x50ae0e);let _0x4c2a27=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x1fd917,_0x573634,_0xf56dea,_0x53c965,_0x53ef7c){const _0x3e4a0f=_0x29a50d;super(),_0x2d5d22(this,_0x3e4a0f(0x276),[]),_0x2d5d22(this,_0x3e4a0f(0x343),[]),(this[_0x3e4a0f(0x3cd)]=_0x1fd917,this['_docSkeletonManagerService']=_0x573634,this[_0x3e4a0f(0x1f3)]=_0xf56dea,this[_0x3e4a0f(0x260)]=_0x53c965,this[_0x3e4a0f(0x3bf)]=_0x53ef7c,this[_0x3e4a0f(0x328)]());}['_init'](){const _0x16e7b7=_0x29a50d,_0xdf8016=this[_0x16e7b7(0x3cd)][_0x16e7b7(0x2c8)],_0x3e3eea=this[_0x16e7b7(0x2cd)];this['disposeWithMe'](_0x1a1591[_0x16e7b7(0x45d)]([this[_0x16e7b7(0x1f3)][_0x16e7b7(0x445)](_0xdf8016),this[_0x16e7b7(0x3bf)][_0x16e7b7(0x1ef)]])[_0x16e7b7(0x3cc)](_0x35f2b8[_0x16e7b7(0x247)](([_0x5a3dc3,_0x475a70])=>({'skeleton':_0x3e3eea['getSkeleton'](),'cursors':[..._0x5a3dc3['values']()]['flatMap'](_0x67a813=>({..._0x67a813,'color':_0x475a70[_0x67a813[_0x16e7b7(0x37c)]]}))})))[_0x16e7b7(0x2f6)](_0x2682e4=>{if(this['_removeCollabCursors'](),_0x2682e4){const {skeleton:_0x2b344f,cursors:_0x51b64b}=_0x2682e4;this['_updateCollabCursors'](_0x2b344f,_0x51b64b);}})),this[_0x16e7b7(0x44e)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x237092,_0x47ce55){const _0x1b9e39=_0x29a50d,{scene:_0x29e729,mainComponent:_0x34df55}=this[_0x1b9e39(0x3cd)],_0x2688a4=_0x47ce55[_0x1b9e39(0x247)](_0x5d3b92=>new _0x214372(_0x5d3b92,_0x29e729,_0x237092,_0x34df55));this[_0x1b9e39(0x276)]=_0x2688a4,this[_0x1b9e39(0x343)]=_0x47ce55;}[_0x29a50d(0x400)](){const _0x148839=_0x29a50d;this[_0x148839(0x2f7)]();const {scene:_0x30c4b0,mainComponent:_0x10e7e5}=this[_0x148839(0x3cd)],_0x62d2de=this[_0x148839(0x2cd)][_0x148839(0x2ef)](),_0x5cbf00=this[_0x148839(0x343)]['map'](_0x3136ff=>new _0x214372(_0x3136ff,_0x30c4b0,_0x62d2de,_0x10e7e5));this['_cursorShapes']=_0x5cbf00;}[_0x29a50d(0x2f7)](){const _0x254992=_0x29a50d;this[_0x254992(0x276)][_0x254992(0x351)](_0x232435=>_0x232435['dispose']()),this[_0x254992(0x276)]=[];}[_0x29a50d(0x2d1)](){const _0x5c9c54=_0x29a50d,_0x4f4477=[_0x3c8f3f['SetDocZoomRatioOperation']['id']];this[_0x5c9c54(0x46c)](this[_0x5c9c54(0x260)][_0x5c9c54(0x2f3)](_0x2c8f89=>{const _0x4b6b71=_0x5c9c54;_0x4f4477[_0x4b6b71(0x43f)](_0x2c8f89['id'])&&_0x2c8f89['params']['unitId']===this['_context'][_0x4b6b71(0x2c8)]&&this[_0x4b6b71(0x400)]();}));}[_0x29a50d(0x44e)](){const _0x520440=_0x29a50d;this[_0x520440(0x46c)](_0x49eaeb[_0x520440(0x384)](this[_0x520440(0x3cd)][_0x520440(0x2d2)]['onTransformChange$'])[_0x520440(0x3cc)](_0x35f2b8[_0x520440(0x3fb)](_0x4d3e1b=>_0x4d3e1b[_0x520440(0x462)]===_0x506afb[_0x520440(0x45f)][_0x520440(0x2bb)]),_0x35f2b8[_0x520440(0x458)](0x10))[_0x520440(0x2f6)](()=>{this['_refreshCollabCursors']();}));}};_0x4c2a27=_0xd28aa9([_0x3baee4(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x54d7ba[_0x29a50d(0x45b)])),_0x3baee4(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x43f861)),_0x3baee4(0x3,_0x49eaeb[_0x29a50d(0x2e4)]),_0x3baee4(0x4,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb['ThemeService']))],_0x4c2a27);const _0x59e1ad=0x1,_0x3f904f=1.5;class _0x3df6b2 extends _0x506afb[_0x29a50d(0x2c2)]{constructor(_0x357750,_0xb910e3){const _0x5198b1=_0x29a50d;super(_0x357750,_0xb910e3),_0x2d5d22(this,_0x5198b1(0x440)),_0x2d5d22(this,_0x5198b1(0x43b),!0x1),_0x2d5d22(this,_0x5198b1(0x36d)),_0x2d5d22(this,_0x5198b1(0x2d8),''),_0x2d5d22(this,_0x5198b1(0x326),_0x5198b1(0x20d)),_0x2d5d22(this,_0x5198b1(0x3d7)),(_0xb910e3&&this[_0x5198b1(0x234)](_0xb910e3),this[_0x5198b1(0x230)][_0x5198b1(0x3bd)](()=>this[_0x5198b1(0x234)]({'hovered':!0x0})),this[_0x5198b1(0x2c3)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x29a50d(0x234)](_0x5666db){const _0x3609aa=_0x29a50d;var _0x882a0c,_0x1938c7,_0x40b2a5,_0xe2a95e,_0x301e74,_0x5311ad;this[_0x3609aa(0x440)]=(_0x882a0c=_0x5666db['color'])!=null?_0x882a0c:this['_color'],this[_0x3609aa(0x43b)]=(_0x1938c7=_0x5666db[_0x3609aa(0x316)])!=null?_0x1938c7:this[_0x3609aa(0x43b)],this[_0x3609aa(0x36d)]=(_0x40b2a5=_0x5666db[_0x3609aa(0x413)])!=null?_0x40b2a5:this[_0x3609aa(0x36d)],this['_name']=(_0xe2a95e=_0x5666db[_0x3609aa(0x286)])!=null?_0xe2a95e:this[_0x3609aa(0x2d8)],this[_0x3609aa(0x326)]=(_0x301e74=_0x5666db[_0x3609aa(0x26a)])!=null?_0x301e74:this[_0x3609aa(0x326)],this['_backgroundColor']=(_0x5311ad=_0x5666db[_0x3609aa(0x251)])!=null?_0x5311ad:this['_backgroundColor'],this['transformByState']({'width':_0x5666db[_0x3609aa(0x37d)],'height':_0x5666db['height']});}[_0x29a50d(0x392)](_0x770daa){const _0x44e7b1=_0x29a50d,{row:_0x3963f2,column:_0x5b921c}=_0x770daa;if(_0x3963f2>=this[_0x44e7b1(0x36d)][_0x44e7b1(0x381)]&&_0x3963f2<=this['_range'][_0x44e7b1(0x35a)]&&_0x5b921c>=this['_range'][_0x44e7b1(0x449)]&&_0x5b921c<=this['_range'][_0x44e7b1(0x369)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x44e7b1(0x234)]({'hovered':!0x1});}[_0x29a50d(0x46f)](_0x13abc2){return!0x1;}[_0x29a50d(0x220)](_0x4b761c){const _0x5c9d98=_0x29a50d;_0x506afb['Rect'][_0x5c9d98(0x3f8)](_0x4b761c,{'width':this['width'],'height':this['height'],'strokeWidth':_0x3f904f,'stroke':this[_0x5c9d98(0x440)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x5c9d98(0x43b)]&&(_0x4b761c[_0x5c9d98(0x309)](),_0x4b761c[_0x5c9d98(0x44a)](0x1,0x0,0x0,0x1,this['width'],this[_0x5c9d98(0x326)]===_0x5c9d98(0x46e)?0x0:-0x14),_0x5827b1[_0x5c9d98(0x3f8)](_0x4b761c,{'text':this[_0x5c9d98(0x2d8)],'color':this[_0x5c9d98(0x440)]}),_0x4b761c[_0x5c9d98(0x342)]());}}var _0x17711b=Object['getOwnPropertyDescriptor'],_0x164dcf=(_0xfef30,_0x2099a7,_0x4fe18f,_0x3af357)=>{for(var _0x86c95f=_0x3af357>0x1?void 0x0:_0x3af357?_0x17711b(_0x2099a7,_0x4fe18f):_0x2099a7,_0x2ce3a3=_0xfef30['length']-0x1,_0x348977;_0x2ce3a3>=0x0;_0x2ce3a3--)(_0x348977=_0xfef30[_0x2ce3a3])&&(_0x86c95f=_0x348977(_0x86c95f)||_0x86c95f);return _0x86c95f;},_0x150cc6=(_0x53b799,_0x3011e2)=>(_0x5524e9,_0x58d18f)=>_0x3011e2(_0x5524e9,_0x58d18f,_0x53b799);const _0x49cc29=0x1389;let _0x42601e=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x481f71,_0x53f870,_0x1248d5,_0x12d6c1){const _0x3f9766=_0x29a50d;super(),_0x2d5d22(this,'_cursors',new Set()),_0x2d5d22(this,'_lastPointer',null),(this[_0x3f9766(0x3cd)]=_0x481f71,this[_0x3f9766(0x2f0)]=_0x53f870,this[_0x3f9766(0x1f3)]=_0x1248d5,this['_themeService']=_0x12d6c1,this[_0x3f9766(0x328)]());}[_0x29a50d(0x328)](){const _0x6d86b0=_0x29a50d;this['_sheetSkeletonManagerService'][_0x6d86b0(0x37a)]['pipe'](_0x35f2b8[_0x6d86b0(0x30c)](this['dispose$']),_0x35f2b8[_0x6d86b0(0x433)](_0x3cd373=>{const _0x4ad794=_0x6d86b0;if(_0x3cd373){const _0x45b53d=_0x3cd373['sheetId'];return _0x1a1591[_0x4ad794(0x45d)](this[_0x4ad794(0x1f3)][_0x4ad794(0x445)](this[_0x4ad794(0x3cd)][_0x4ad794(0x2c8)]),this[_0x4ad794(0x3bf)][_0x4ad794(0x1ef)])[_0x4ad794(0x3cc)](_0x35f2b8[_0x4ad794(0x247)](([_0x2416f2,_0x959f7b])=>{const _0x46a639=_0x4ad794,_0x55f638=new Map();return _0x2416f2[_0x46a639(0x351)]((_0x300450,_0x1c2983)=>{const _0x19a46a=_0x46a639;if(_0x300450[_0x19a46a(0x213)]===_0x45b53d){const _0x44979e={..._0x300450};_0x44979e['color']=_0x959f7b[_0x300450[_0x19a46a(0x37c)]],_0x55f638[_0x19a46a(0x3e6)](_0x1c2983,_0x44979e);}}),{'skeleton':_0x3cd373,'cursors':_0x55f638};}));}return _0x1a1591['of']({'skeleton':null,'cursors':new Map()});}))[_0x6d86b0(0x2f6)](({skeleton:_0x210926,cursors:_0x1d0ee8})=>{const _0x274cd0=_0x6d86b0;this[_0x274cd0(0x2f7)](),_0x210926&&this[_0x274cd0(0x3dc)](_0x210926,_0x1d0ee8);}),this[_0x6d86b0(0x2f0)][_0x6d86b0(0x37a)][_0x6d86b0(0x2f6)](_0x31099a=>{const _0x825ee0=_0x6d86b0;if(_0x31099a==null)return;const {skeleton:_0x4b2fd2}=_0x31099a,{scene:_0x2a1228}=this[_0x825ee0(0x3cd)];_0x2a1228[_0x825ee0(0x204)][_0x825ee0(0x3bd)](_0x49eaeb['debounce'](_0x42ae3c=>{const _0x4ee79d=_0x825ee0;var _0x56e3ed,_0x3f29ff;const {offsetX:_0x5eb4a4,offsetY:_0x1994a7}=_0x42ae3c,{x:_0x422ea7,y:_0x3c90fe}=_0x2a1228[_0x4ee79d(0x36f)](_0x506afb[_0x4ee79d(0x332)]['FromArray']([_0x5eb4a4,_0x1994a7])),{scaleX:_0x2c1529,scaleY:_0xfd9cf7}=_0x2a1228[_0x4ee79d(0x2a6)](),_0x312e80=_0x2a1228[_0x4ee79d(0x42a)](_0x506afb['SHEET_VIEWPORT_KEY'][_0x4ee79d(0x22b)]),_0x25e836=_0x2a1228[_0x4ee79d(0x233)](_0x506afb[_0x4ee79d(0x332)]['FromArray']([_0x422ea7,_0x3c90fe]),_0x312e80),_0x576f8d=_0x4b2fd2[_0x4ee79d(0x391)](_0x5eb4a4,_0x1994a7,_0x2c1529,_0xfd9cf7,_0x25e836);((_0x56e3ed=this[_0x4ee79d(0x255)])==null?void 0x0:_0x56e3ed[_0x4ee79d(0x288)])===_0x576f8d[_0x4ee79d(0x288)]&&((_0x3f29ff=this[_0x4ee79d(0x255)])==null?void 0x0:_0x3f29ff[_0x4ee79d(0x374)])===_0x576f8d[_0x4ee79d(0x374)]||this[_0x4ee79d(0x343)]['forEach'](_0xa3c1ab=>{const _0x5e747d=_0x4ee79d;_0xa3c1ab[_0x5e747d(0x392)](_0x576f8d);});},0x64));});}[_0x29a50d(0x3dc)](_0x496eed,_0x5e8931){const _0x4b71be=_0x29a50d;var _0x3c6fe;const _0x495ed1=(_0x3c6fe=this[_0x4b71be(0x2f0)][_0x4b71be(0x1f1)]())==null?void 0x0:_0x3c6fe['skeleton'];if(!_0x495ed1)return;const _0x4608e5=this['_getSheetObject']();if(!_0x4608e5)return;this[_0x4b71be(0x343)]['forEach'](_0x41c480=>{const _0x29973c=_0x4b71be;_0x41c480[_0x29973c(0x325)]();});const {scene:_0x2374c4}=_0x4608e5,_0x5464c0=_0x4a5028(Array[_0x4b71be(0x3b6)](_0x5e8931['values']()))['map'](_0x3a7ab3=>{const _0x148d4d=_0x4b71be,{color:_0x3ef8a7,range:_0x326a23,name:_0x50d0df,selection:_0x5eb8dd,sheetID:_0x4992ec}=_0x3a7ab3,{startColumn:_0x3cdda8,startRow:_0x29f463,endColumn:_0x3a6129,endRow:_0x23281d}=_0x326a23,_0x316077=_0x5f076c[_0x148d4d(0x223)](_0x29f463,_0x3cdda8,_0x2374c4,_0x495ed1),_0xe56fcd=_0x5f076c[_0x148d4d(0x223)](_0x23281d,_0x3a6129,_0x2374c4,_0x495ed1),{columnHeaderHeightAndMarginTop:_0x446ee4}=_0x495ed1,{startX:_0x158b01,startY:_0x2fe37e}=_0x316077,{endX:_0x4f82ad,endY:_0x20bee8}=_0xe56fcd,_0x39bd86=_0x4f82ad-_0x158b01,_0x57bf4b=_0x20bee8-_0x2fe37e,_0x9cb66f={'labelPosition':_0x2fe37e-_0x446ee4>=_0x595381?'top':'bottom','sheetID':_0x4992ec,'range':_0x326a23,'color':_0x3ef8a7,'name':_0x50d0df,'selection':_0x5eb8dd,'left':_0x158b01,'top':_0x2fe37e,'width':_0x39bd86,'height':_0x57bf4b,'evented':!0x1,'zIndex':_0x49cc29};return new _0x3df6b2(_0x50d0df,_0x9cb66f);});_0x2374c4[_0x4b71be(0x1f9)](_0x5464c0,_0x59e1ad),this['_cursors']=new Set(_0x5464c0);}[_0x29a50d(0x2f7)](){const _0x123827=_0x29a50d;var _0x1a2a51;(_0x1a2a51=this[_0x123827(0x343)])==null||_0x1a2a51[_0x123827(0x351)](_0x506781=>_0x506781['dispose']());}[_0x29a50d(0x216)](){const _0x47d64f=_0x29a50d;return _0x5f076c[_0x47d64f(0x442)](this['_context'][_0x47d64f(0x2c7)],this[_0x47d64f(0x3cd)]);}};_0x42601e=_0x164dcf([_0x150cc6(0x1,_0x49eaeb['Inject'](_0x5f076c[_0x29a50d(0x379)])),_0x150cc6(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x43f861)),_0x150cc6(0x3,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x278)]))],_0x42601e);function _0x4a5028(_0x3f4beb){const _0x5c8338=_0x29a50d,_0x326479=new Map();return _0x3f4beb[_0x5c8338(0x351)](_0x54d189=>{const _0x374dd7=_0x5c8338;if(_0x326479[_0x374dd7(0x35c)](_0x54d189['selection'])){const _0x42dfa3=_0x326479[_0x374dd7(0x408)](_0x54d189[_0x374dd7(0x25d)]);_0x42dfa3[_0x374dd7(0x286)]+=',\x20'+_0x54d189['name'];}else _0x326479[_0x374dd7(0x3e6)](_0x54d189[_0x374dd7(0x25d)],_0x54d189);}),Array['from'](_0x326479[_0x5c8338(0x28a)]());}var _0x5e223d=function(){const _0x12e8ac=_0x29a50d;return _0x5e223d=Object[_0x12e8ac(0x3e2)]||function(_0x27c652){const _0x3b9e3f=_0x12e8ac;for(var _0x121108,_0x2716cc=0x1,_0x251cef=arguments['length'];_0x2716cc<_0x251cef;_0x2716cc++){_0x121108=arguments[_0x2716cc];for(var _0x41b081 in _0x121108)Object[_0x3b9e3f(0x25b)][_0x3b9e3f(0x23a)]['call'](_0x121108,_0x41b081)&&(_0x27c652[_0x41b081]=_0x121108[_0x41b081]);}return _0x27c652;},_0x5e223d['apply'](this,arguments);},_0x5e4f93=function(_0x1b3302,_0x1acaa4){const _0x33d7e2=_0x29a50d;var _0x2516ca={};for(var _0x557376 in _0x1b3302)Object[_0x33d7e2(0x25b)][_0x33d7e2(0x23a)]['call'](_0x1b3302,_0x557376)&&_0x1acaa4['indexOf'](_0x557376)<0x0&&(_0x2516ca[_0x557376]=_0x1b3302[_0x557376]);if(_0x1b3302!=null&&typeof Object[_0x33d7e2(0x22d)]==_0x33d7e2(0x329)){for(var _0x2d8021=0x0,_0x557376=Object[_0x33d7e2(0x22d)](_0x1b3302);_0x2d8021<_0x557376[_0x33d7e2(0x1f8)];_0x2d8021++)_0x1acaa4[_0x33d7e2(0x2cf)](_0x557376[_0x2d8021])<0x0&&Object[_0x33d7e2(0x25b)][_0x33d7e2(0x2d9)][_0x33d7e2(0x414)](_0x1b3302,_0x557376[_0x2d8021])&&(_0x2516ca[_0x557376[_0x2d8021]]=_0x1b3302[_0x557376[_0x2d8021]]);}return _0x2516ca;},_0x518293=_0x1a1d3a['forwardRef'](function(_0x3d5e4f,_0x8dde8a){const _0x1345da=_0x29a50d;var _0x3f682c=_0x3d5e4f[_0x1345da(0x3a5)],_0x481f96=_0x3d5e4f['id'],_0x35b657=_0x3d5e4f[_0x1345da(0x281)],_0x16deca=_0x3d5e4f[_0x1345da(0x244)],_0x109b32=_0x5e4f93(_0x3d5e4f,[_0x1345da(0x3a5),'id',_0x1345da(0x281),'extend']),_0x5b5d2f=_0x1345da(0x253)['concat'](_0x481f96,'\x20')[_0x1345da(0x24c)](_0x35b657||'')[_0x1345da(0x45a)](),_0x314177=_0x1a1d3a[_0x1345da(0x393)]('_'[_0x1345da(0x24c)](_0x167b70()));return _0xe1bc89(_0x3f682c,''['concat'](_0x481f96),{'defIds':_0x3f682c[_0x1345da(0x385)],'idSuffix':_0x314177['current']},_0x5e223d({'ref':_0x8dde8a,'className':_0x5b5d2f},_0x109b32),_0x16deca);});function _0xe1bc89(_0x32cb20,_0x30bd2c,_0xda12b3,_0xce40f2,_0x519065){const _0x4bf9a5=_0x29a50d;return _0x1a1d3a[_0x4bf9a5(0x202)](_0x32cb20['tag'],_0x5e223d(_0x5e223d({'key':_0x30bd2c},_0x336027(_0x32cb20,_0xda12b3,_0x519065)),_0xce40f2),(_0x2f8816(_0x32cb20,_0xda12b3)[_0x4bf9a5(0x38d)]||[])[_0x4bf9a5(0x247)](function(_0xb797aa,_0x4d0a49){const _0x48bc9f=_0x4bf9a5;return _0xe1bc89(_0xb797aa,''[_0x48bc9f(0x24c)](_0x30bd2c,'-')[_0x48bc9f(0x24c)](_0x32cb20[_0x48bc9f(0x21c)],'-')[_0x48bc9f(0x24c)](_0x4d0a49),_0xda12b3,void 0x0,_0x519065);}));}function _0x336027(_0x5e1a0c,_0x8cdc9c,_0x1b30ed){const _0x508d5c=_0x29a50d;var _0x34377a=_0x5e223d({},_0x5e1a0c[_0x508d5c(0x452)]);_0x1b30ed!=null&&_0x1b30ed[_0x508d5c(0x27e)]&&_0x34377a[_0x508d5c(0x2ca)]===_0x508d5c(0x27e)&&(_0x34377a[_0x508d5c(0x2ca)]=_0x1b30ed[_0x508d5c(0x27e)]),_0x5e1a0c['tag']===_0x508d5c(0x2d0)&&_0x34377a['id']&&(_0x34377a['id']=_0x34377a['id']+_0x8cdc9c[_0x508d5c(0x33b)]),Object[_0x508d5c(0x3cb)](_0x34377a)['forEach'](function(_0xd2f93d){const _0x21d8b1=_0x508d5c;var _0x51c035=_0xd2f93d[0x0],_0x22f51b=_0xd2f93d[0x1];_0x51c035===_0x21d8b1(0x2d0)&&typeof _0x22f51b==_0x21d8b1(0x389)&&(_0x34377a[_0x51c035]=_0x22f51b[_0x21d8b1(0x296)](/url\(#(.*)\)/,_0x21d8b1(0x3a9)['concat'](_0x8cdc9c[_0x21d8b1(0x33b)],')')));});var _0x5e7449=_0x8cdc9c[_0x508d5c(0x385)];return!_0x5e7449||_0x5e7449[_0x508d5c(0x1f8)]===0x0||(_0x5e1a0c[_0x508d5c(0x21c)]==='use'&&_0x34377a[_0x508d5c(0x371)]&&(_0x34377a[_0x508d5c(0x371)]=_0x34377a[_0x508d5c(0x371)]+_0x8cdc9c[_0x508d5c(0x33b)]),Object[_0x508d5c(0x3cb)](_0x34377a)[_0x508d5c(0x351)](function(_0x3cbccd){const _0x28abe2=_0x508d5c;var _0x173d66=_0x3cbccd[0x0],_0x30a18e=_0x3cbccd[0x1];typeof _0x30a18e==_0x28abe2(0x389)&&(_0x34377a[_0x173d66]=_0x30a18e['replace'](/url\(#(.*)\)/,_0x28abe2(0x3a9)['concat'](_0x8cdc9c['idSuffix'],')')));})),_0x34377a;}function _0x2f8816(_0x3ad024,_0x118555){const _0x27929b=_0x29a50d;var _0x10d735,_0x31e7fe=_0x118555[_0x27929b(0x385)];return!_0x31e7fe||_0x31e7fe[_0x27929b(0x1f8)]===0x0?_0x3ad024:_0x3ad024[_0x27929b(0x21c)]===_0x27929b(0x3fa)&&(!((_0x10d735=_0x3ad024[_0x27929b(0x38d)])===null||_0x10d735===void 0x0)&&_0x10d735[_0x27929b(0x1f8)])?_0x5e223d(_0x5e223d({},_0x3ad024),{'children':_0x3ad024[_0x27929b(0x38d)][_0x27929b(0x247)](function(_0x1b54dd){const _0x363273=_0x27929b;return typeof _0x1b54dd[_0x363273(0x452)]['id']==_0x363273(0x389)&&_0x31e7fe&&_0x31e7fe[_0x363273(0x2cf)](_0x1b54dd[_0x363273(0x452)]['id'])>-0x1?_0x5e223d(_0x5e223d({},_0x1b54dd),{'attrs':_0x5e223d(_0x5e223d({},_0x1b54dd[_0x363273(0x452)]),{'id':_0x1b54dd[_0x363273(0x452)]['id']+_0x118555[_0x363273(0x33b)]})}):_0x1b54dd;})}):_0x3ad024;}function _0x167b70(){const _0x3e066d=_0x29a50d;return Math[_0x3e066d(0x2e1)]()[_0x3e066d(0x2ed)](0x24)[_0x3e066d(0x215)](0x2,0x8);}_0x518293[_0x29a50d(0x25e)]=_0x29a50d(0x475);var _0x119b46={'tag':_0x29a50d(0x40b),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x29a50d(0x360),'height':_0x29a50d(0x360)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x29a50d(0x390),'d':_0x29a50d(0x41d),'strokeLinecap':_0x29a50d(0x386),'strokeLinejoin':_0x29a50d(0x386),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x29a50d(0x24d),'attrs':{'id':_0x29a50d(0x3b7)},'children':[{'tag':_0x29a50d(0x354),'attrs':{'fill':'#fff','d':_0x29a50d(0x358)}}]}]}],'defIds':[_0x29a50d(0x3b7)]},_0x334b90=_0x1a1d3a[_0x29a50d(0x31f)](function(_0x59724b,_0x53f36f){const _0x16baec=_0x29a50d;return _0x1a1d3a['createElement'](_0x518293,Object['assign']({},_0x59724b,{'id':_0x16baec(0x257),'ref':_0x53f36f,'icon':_0x119b46}));});_0x334b90[_0x29a50d(0x25e)]=_0x29a50d(0x321);var _0x47dc42={'tag':_0x29a50d(0x40b),'attrs':{'fill':'none','viewBox':_0x29a50d(0x432),'width':'1em','height':_0x29a50d(0x360)},'children':[{'tag':'g','attrs':{'clipPath':_0x29a50d(0x2f1)},'children':[{'tag':_0x29a50d(0x354),'attrs':{'stroke':_0x29a50d(0x390),'d':_0x29a50d(0x21b),'strokeLinecap':_0x29a50d(0x386),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x29a50d(0x3fa),'attrs':{},'children':[{'tag':_0x29a50d(0x24d),'attrs':{'id':_0x29a50d(0x3d2)},'children':[{'tag':_0x29a50d(0x354),'attrs':{'fill':'#fff','d':_0x29a50d(0x358),'transform':_0x29a50d(0x25c)}}]}]}],'defIds':[_0x29a50d(0x3d2)]},_0x100138=_0x1a1d3a[_0x29a50d(0x31f)](function(_0x3864e4,_0xb868c0){const _0x957a26=_0x29a50d;return _0x1a1d3a[_0x957a26(0x202)](_0x518293,Object['assign']({},_0x3864e4,{'id':_0x957a26(0x20c),'ref':_0xb868c0,'icon':_0x47dc42}));});_0x100138[_0x29a50d(0x25e)]=_0x29a50d(0x211);function _0x4e52fd(_0x30e0f8){const _0x546cb3=_0x29a50d;switch(_0x30e0f8){case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x402)]:return _0x546cb3(0x437);case _0x5557ff['CollaborationStatus'][_0x546cb3(0x407)]:return'collabStatus.conflict';case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x1f0)]:return'collabStatus.fetchMiss';case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x44f)]:return _0x546cb3(0x31d);case _0x5557ff[_0x546cb3(0x287)]['AWAITING']:case _0x5557ff['CollaborationStatus'][_0x546cb3(0x3c3)]:return _0x546cb3(0x269);case _0x5557ff[_0x546cb3(0x287)][_0x546cb3(0x348)]:case _0x5557ff[_0x546cb3(0x287)]['PENDING']:return _0x546cb3(0x1fd);}}function _0x56e298(_0x48b81f){const _0x225c80=_0x29a50d,{status$:_0x421cc9}=_0x48b81f,_0x5c4d27=_0x284e97[_0x225c80(0x228)](_0x421cc9,_0x5557ff['CollaborationStatus']['NOT_COLLAB']),_0x32af6f=_0x284e97[_0x225c80(0x357)](_0x49eaeb[_0x225c80(0x415)]),_0x17a8b4=_0x284e97[_0x225c80(0x357)](_0x5557ff[_0x225c80(0x3c1)]),_0x4ccd49=_0x5c4d27!==_0x5557ff[_0x225c80(0x287)][_0x225c80(0x402)],_0x3f6ee9=_0x32af6f['t'](_0x4e52fd(_0x5c4d27)),_0x145917=_0x4ccd49?_0x59198a[_0x225c80(0x34a)](_0x100138,{}):_0x59198a[_0x225c80(0x34a)](_0x334b90,{}),_0x15e474=_0x1a1d3a[_0x225c80(0x362)](()=>{const _0x326828=_0x225c80;_0x4ccd49||_0x17a8b4[_0x326828(0x423)]();},[_0x4ccd49,_0x17a8b4]);function _0x1a86e2(){const _0x538119=_0x225c80;return _0x59198a[_0x538119(0x236)](_0x538119(0x352),{'className':_0x538119(0x40e),'onClick':_0x15e474,'children':[_0x59198a[_0x538119(0x34a)]('div',{'className':_0x381eec[_0x538119(0x472)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x4ccd49?_0x538119(0x336):_0x538119(0x20e)),'children':_0x145917}),_0x59198a['jsx'](_0x538119(0x352),{'className':_0x538119(0x2b9),'children':_0x3f6ee9})]});}return _0x4ccd49?_0x1a86e2():_0x59198a[_0x225c80(0x34a)](_0x381eec[_0x225c80(0x20f)],{'title':_0x32af6f['t']('collab-client.tooltip.reconnect'),'children':_0x1a86e2()});}var _0x2517eb=Object[_0x29a50d(0x285)],_0x5b2b4f=(_0x40fd14,_0x5b3efc,_0xe8829d,_0x5a2887)=>{const _0x30ebe9=_0x29a50d;for(var _0x3958dc=_0x5a2887>0x1?void 0x0:_0x5a2887?_0x2517eb(_0x5b3efc,_0xe8829d):_0x5b3efc,_0x56a717=_0x40fd14[_0x30ebe9(0x1f8)]-0x1,_0x3455a6;_0x56a717>=0x0;_0x56a717--)(_0x3455a6=_0x40fd14[_0x56a717])&&(_0x3958dc=_0x3455a6(_0x3958dc)||_0x3958dc);return _0x3958dc;},_0x280298=(_0x276320,_0x21ea7b)=>(_0x29c0f6,_0x3cad9b)=>_0x21ea7b(_0x29c0f6,_0x3cad9b,_0x276320);_0x2becbd[_0x29a50d(0x380)]=class extends _0x49eaeb['Disposable']{constructor(_0x479fbb,_0x575f73,_0x1dd0e2,_0x18803e){const _0x364376=_0x29a50d;super(),_0x2d5d22(this,_0x364376(0x477),new _0x1a1591[(_0x364376(0x242))](_0x5557ff[_0x364376(0x287)][_0x364376(0x44f)])),(this[_0x364376(0x2da)]=_0x479fbb,this[_0x364376(0x3aa)]=_0x575f73,this['_collaborationController']=_0x1dd0e2,this[_0x364376(0x217)]=_0x18803e,this['_initStatusComponent'](),this[_0x364376(0x2c0)]());}[_0x29a50d(0x2c0)](){const _0x22ef58=_0x29a50d;this[_0x22ef58(0x46c)](this[_0x22ef58(0x2da)]['focused$']['pipe'](_0x1a1591[_0x22ef58(0x433)](()=>{const _0x17375a=_0x22ef58,_0x1a1144=this[_0x17375a(0x2da)][_0x17375a(0x344)]();return _0x1a1144?this[_0x17375a(0x2a1)][_0x17375a(0x461)](_0x1a1144[_0x17375a(0x3fc)]()):_0x1a1591['of'](null);}),_0x1a1591[_0x22ef58(0x433)](_0x5d1b1e=>_0x5d1b1e?_0x5d1b1e[_0x22ef58(0x2a7)]:_0x1a1591['of'](_0x5557ff[_0x22ef58(0x287)][_0x22ef58(0x44f)])))[_0x22ef58(0x2f6)](_0x39d974=>{const _0x95b265=_0x22ef58;this[_0x95b265(0x477)]['next'](_0x39d974);}));}[_0x29a50d(0x2b7)](){const _0x571834=_0x29a50d;this[_0x571834(0x46c)](this[_0x571834(0x217)][_0x571834(0x383)](_0x284e97[_0x571834(0x38a)][_0x571834(0x2b0)],()=>_0x284e97[_0x571834(0x3c2)](_0x1c8028({'status$':this[_0x571834(0x477)][_0x571834(0x469)]()}),this[_0x571834(0x3aa)])));}},_0x2becbd[_0x29a50d(0x380)]=_0x5b2b4f([_0x280298(0x0,_0x49eaeb[_0x29a50d(0x33d)]),_0x280298(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb['Injector'])),_0x280298(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x2a3)])),_0x280298(0x3,_0x284e97[_0x29a50d(0x240)])],_0x2becbd[_0x29a50d(0x380)]);function _0x1c8028(_0x2d384d){const {status$:_0x294366}=_0x2d384d;return function(){const _0x4264cf=_0x37a6;return _0x59198a[_0x4264cf(0x34a)](_0x56e298,{'status$':_0x294366});};}var _0x977734=Object[_0x29a50d(0x285)],_0x20208a=(_0xf07a90,_0x3b1014,_0x3c36d3,_0x32de2f)=>{const _0x219d61=_0x29a50d;for(var _0x3f9355=_0x32de2f>0x1?void 0x0:_0x32de2f?_0x977734(_0x3b1014,_0x3c36d3):_0x3b1014,_0x3b98eb=_0xf07a90[_0x219d61(0x1f8)]-0x1,_0x57e682;_0x3b98eb>=0x0;_0x3b98eb--)(_0x57e682=_0xf07a90[_0x3b98eb])&&(_0x3f9355=_0x57e682(_0x3f9355)||_0x3f9355);return _0x3f9355;},_0x3b85ff=(_0x3f4673,_0x1096e4)=>(_0x376de0,_0xa73b33)=>_0x1096e4(_0x376de0,_0xa73b33,_0x3f4673);let _0x39f32d=class extends _0x49eaeb[_0x29a50d(0x258)]{constructor(_0x101019,_0x14d965,_0x27e9ab,_0x935197,_0x3d02d5,_0xe6e08a){const _0x267e54=_0x29a50d;super(),this[_0x267e54(0x41a)]=_0x101019,this[_0x267e54(0x1ed)]=_0x14d965,this[_0x267e54(0x300)]=_0x27e9ab,this['_messageService']=_0x935197,this[_0x267e54(0x235)]=_0x3d02d5,this['_localeService']=_0xe6e08a,this[_0x267e54(0x3ba)](),this[_0x267e54(0x327)]();}[_0x29a50d(0x3ba)](){const _0x2e907e=_0x29a50d;this[_0x2e907e(0x46c)](this['_beforeCloseService'][_0x2e907e(0x1e6)](()=>{const _0x223aa6=_0x2e907e;if(this[_0x223aa6(0x1ed)][_0x223aa6(0x3b2)][_0x223aa6(0x2bc)])return this[_0x223aa6(0x298)]['t'](_0x223aa6(0x273));}));}['_initEvent'](){const _0x5a35c7=_0x29a50d;this['disposeWithMe'](this[_0x5a35c7(0x300)][_0x5a35c7(0x363)][_0x5a35c7(0x2f6)](_0x101242=>{const _0x40d614=_0x5a35c7;_0x101242['id']===_0x5557ff[_0x40d614(0x43d)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)]['Warning'],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x1e5))}),_0x101242['id']===_0x5557ff['CollaborationUIEventId'][_0x40d614(0x26c)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)]['Warning'],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x3a4))}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x1ff)]&&this[_0x40d614(0x235)][_0x40d614(0x29d)]({'title':this[_0x40d614(0x298)]['t']('permission.title'),'content':this[_0x40d614(0x298)]['t']('permission.content'),'type':_0x40d614(0x2b3),'duration':0x0}),_0x101242['id']===_0x5557ff['CollaborationUIEventId'][_0x40d614(0x407)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)][_0x40d614(0x454)],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x3a4))+'('+_0x101242['data']+')'}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x471)]&&this['_messageService'][_0x40d614(0x29d)]({'type':_0x381eec['MessageType'][_0x40d614(0x356)],'content':this[_0x40d614(0x298)]['t'](_0x101242['data']||'')}),_0x101242['id']===_0x5557ff['CollaborationUIEventId'][_0x40d614(0x375)]&&this['_messageService'][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)][_0x40d614(0x356)],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x243))}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x3d6)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec[_0x40d614(0x1f4)][_0x40d614(0x454)],'content':this['_localeService']['t'](_0x40d614(0x27f))}),_0x101242['id']===_0x5557ff[_0x40d614(0x43d)][_0x40d614(0x338)]&&this[_0x40d614(0x2e5)][_0x40d614(0x29d)]({'type':_0x381eec['MessageType']['Error'],'content':this[_0x40d614(0x298)]['t'](_0x40d614(0x1fa))});}));}};_0x39f32d=_0x20208a([_0x3b85ff(0x0,_0x284e97[_0x29a50d(0x27d)]),_0x3b85ff(0x1,_0x5557ff[_0x29a50d(0x366)]),_0x3b85ff(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x22e)])),_0x3b85ff(0x3,_0x284e97['IMessageService']),_0x3b85ff(0x4,_0x284e97['INotificationService']),_0x3b85ff(0x5,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x415)]))],_0x39f32d);const _0x52495c=_0x29a50d(0x349),_0xbe33c4={},_0x189700=_0x49eaeb['createIdentifier']('uni.network.url-service');var _0x4e8d8e=Object['getOwnPropertyDescriptor'],_0x151c9f=(_0x3e567c,_0x1f72ee,_0x43707b,_0x314ad4)=>{const _0x480818=_0x29a50d;for(var _0x19f48e=_0x314ad4>0x1?void 0x0:_0x314ad4?_0x4e8d8e(_0x1f72ee,_0x43707b):_0x1f72ee,_0x316ac9=_0x3e567c[_0x480818(0x1f8)]-0x1,_0x284dfd;_0x316ac9>=0x0;_0x316ac9--)(_0x284dfd=_0x3e567c[_0x316ac9])&&(_0x19f48e=_0x284dfd(_0x19f48e)||_0x19f48e);return _0x19f48e;},_0x13287b=(_0x5ce16f,_0x5243eb)=>(_0x4425e8,_0x23abb9)=>_0x5243eb(_0x4425e8,_0x23abb9,_0x5ce16f);_0x2becbd[_0x29a50d(0x3c4)]=class extends _0x49eaeb[_0x29a50d(0x1e8)]{constructor(_0x164978,_0x42c1c9,_0x348699,_0x2aac5b,_0x2a8833){const _0x4ebfdf=_0x29a50d;super(),this[_0x4ebfdf(0x21f)]=_0x164978,this[_0x4ebfdf(0x28c)]=_0x42c1c9,this[_0x4ebfdf(0x260)]=_0x348699,this[_0x4ebfdf(0x3ca)]=_0x2aac5b,_0x2a8833?_0x2a8833==null||_0x2a8833[_0x4ebfdf(0x330)]()[_0x4ebfdf(0x317)](()=>this[_0x4ebfdf(0x328)]()):(this['_logService']['debug'](_0x4ebfdf(0x395),_0x4ebfdf(0x3e7)),this[_0x4ebfdf(0x328)]());}async['_init'](){const _0x4c9d55=_0x29a50d,_0x2eb0a1=this[_0x4c9d55(0x21f)]['getParam'](_0x4c9d55(0x2c7)),_0x52b34a=this['_urlService'][_0x4c9d55(0x1e4)](_0x4c9d55(0x462)),_0x4e7c11=this['_urlService'][_0x4c9d55(0x1e4)]('subunit');if(!_0x2eb0a1||!_0x52b34a){this[_0x4c9d55(0x28c)][_0x4c9d55(0x2f8)](_0x4c9d55(0x395),_0x4c9d55(0x323));return;}const _0x268a8e=await this[_0x4c9d55(0x3ca)][_0x4c9d55(0x30e)](_0x2eb0a1,Number(_0x52b34a),_0x4e7c11);_0x268a8e&&_0x268a8e instanceof _0x49eaeb[_0x4c9d55(0x3be)]&&this[_0x4c9d55(0x252)](_0x268a8e);}async[_0x29a50d(0x252)](_0x2bc67a){const _0xd047ca=_0x29a50d;await this['_updateSubUnitFromURLParams'](_0x2bc67a),_0x2bc67a[_0xd047ca(0x2cb)][_0xd047ca(0x3cc)](_0x1a1591[_0xd047ca(0x30c)](this[_0xd047ca(0x324)]))[_0xd047ca(0x2f6)](_0x36768b=>{const _0x4363fc=_0xd047ca;_0x36768b&&this[_0x4363fc(0x470)](_0x36768b);}),this[_0xd047ca(0x21f)]['urlChange$'][_0xd047ca(0x3cc)](_0x1a1591[_0xd047ca(0x30c)](this[_0xd047ca(0x324)]))[_0xd047ca(0x2f6)](()=>this['_updateSubUnitFromURLParams'](_0x2bc67a));}[_0x29a50d(0x470)](_0xc67f68,_0x413bd5=!0x1){const _0x3d60bd=_0x29a50d,_0x2d0e0e=this[_0x3d60bd(0x21f)]['getParam'](_0x3d60bd(0x377));_0xc67f68[_0x3d60bd(0x201)]()!==_0x2d0e0e&&this['_urlService']['setParam'](_0x3d60bd(0x377),_0xc67f68['getSheetId'](),_0x413bd5);}async[_0x29a50d(0x364)](_0x27acc5){const _0x396096=_0x29a50d;var _0x52cc78;const _0x1f055d=this['_urlService'][_0x396096(0x1e4)](_0x396096(0x377));if(!_0x1f055d||!_0x27acc5['getSheetBySheetId'](_0x1f055d)){const _0x486613=_0x27acc5[_0x396096(0x420)]()[0x0],_0x41e0df=_0x27acc5[_0x396096(0x3b9)](_0x486613);if(!_0x41e0df)return;this[_0x396096(0x470)](_0x41e0df,!0x0),await this['_commandService'][_0x396096(0x465)](_0x11631c[_0x396096(0x270)]['id'],{'unitId':_0x27acc5[_0x396096(0x3fc)](),'subUnitId':_0x486613});return;}((_0x52cc78=_0x27acc5['getActiveSheet']())==null?void 0x0:_0x52cc78[_0x396096(0x201)]())!==_0x1f055d&&await this[_0x396096(0x260)]['executeCommand'](_0x11631c['SetWorksheetActivateCommand']['id'],{'unitId':_0x27acc5[_0x396096(0x3fc)](),'subUnitId':_0x1f055d});}},_0x2becbd[_0x29a50d(0x3c4)]=_0x151c9f([_0x13287b(0x0,_0x189700),_0x13287b(0x1,_0x49eaeb['ILogService']),_0x13287b(0x2,_0x49eaeb[_0x29a50d(0x2e4)]),_0x13287b(0x3,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x339)])),_0x13287b(0x4,_0x49eaeb[_0x29a50d(0x25a)](_0x339d10[_0x29a50d(0x3eb)]))],_0x2becbd['CollaborationDataLoaderController']);var _0xa74593=Object[_0x29a50d(0x285)],_0x26c7e7=(_0x3511eb,_0x44c9b7,_0x3b5498,_0xb9cf4b)=>{const _0x45a1aa=_0x29a50d;for(var _0x2aa651=_0xb9cf4b>0x1?void 0x0:_0xb9cf4b?_0xa74593(_0x44c9b7,_0x3b5498):_0x44c9b7,_0x4ade36=_0x3511eb[_0x45a1aa(0x1f8)]-0x1,_0x17cdf6;_0x4ade36>=0x0;_0x4ade36--)(_0x17cdf6=_0x3511eb[_0x4ade36])&&(_0x2aa651=_0x17cdf6(_0x2aa651)||_0x2aa651);return _0x2aa651;},_0x41d13d=(_0x2b3222,_0x52762e)=>(_0x2547bd,_0x5f0d24)=>_0x52762e(_0x2547bd,_0x5f0d24,_0x2b3222);let _0x200e80=class{constructor(_0x242a92,_0x3d3c4c,_0x5cc5e9){const _0x243fc9=_0x29a50d;this['_injector']=_0x242a92,this[_0x243fc9(0x3f0)]=_0x3d3c4c,this['_renderManagerService']=_0x5cc5e9;}[_0x29a50d(0x361)](_0x5c40b2){const _0x203831=_0x29a50d;this[_0x203831(0x3a1)](_0x5c40b2),this[_0x203831(0x24b)](_0x5c40b2);}[_0x29a50d(0x334)](_0x5d475b){const _0x45da17=_0x29a50d,{unitID:_0x30ddf6}=_0x5d475b,_0x525cdd=this[_0x45da17(0x382)][_0x45da17(0x368)](_0x30ddf6)[_0x45da17(0x22c)](_0x3c8f3f[_0x45da17(0x34b)]),{redoCache:_0x307163}=_0x525cdd[_0x45da17(0x29f)]();if(_0x307163[_0x45da17(0x1f8)]===0x0)return _0x5d475b;let _0x2cdfe5=_0x49eaeb[_0x45da17(0x226)][_0x45da17(0x1ea)](_0x5d475b[_0x45da17(0x3b5)][0x0]);for(let _0x3aadac=0x0;_0x3aadac<_0x307163[_0x45da17(0x1f8)];_0x3aadac++){const _0x407282={'id':_0x45da17(0x2bf),'params':{..._0x307163[_0x3aadac]}},_0x55193c=this['_transformService'][_0x45da17(0x2b1)](_0x2cdfe5,_0x407282,!0x1);if(_0x579da8['isTransformMutationFailure'](_0x55193c))throw _0x55193c[_0x45da17(0x2b3)];_0x2cdfe5=_0x55193c[_0x45da17(0x350)];}return{..._0x49eaeb[_0x45da17(0x226)][_0x45da17(0x1ea)](_0x5d475b),'mutations':[_0x2cdfe5]};}[_0x29a50d(0x3a1)](_0x3561fd){const _0x29a36d=_0x29a50d,{unitID:_0x255f97}=_0x3561fd,_0x472cf4=this[_0x29a36d(0x382)][_0x29a36d(0x368)](_0x255f97)['with'](_0x3c8f3f[_0x29a36d(0x34b)]),{undoCache:_0xff28d5,redoCache:_0x12901f}=_0x472cf4['getUndoRedoMutationParamsCache']();if(_0xff28d5[_0x29a36d(0x1f8)]===0x0||_0x12901f[_0x29a36d(0x1f8)]===0x0)return;const _0x420ceb=[],_0x4e3255=[];let _0x7e1b77=_0x49eaeb[_0x29a36d(0x226)][_0x29a36d(0x1ea)](_0x3561fd[_0x29a36d(0x3b5)][0x0]),_0x305058=_0x49eaeb[_0x29a36d(0x226)][_0x29a36d(0x1ea)](_0x3561fd[_0x29a36d(0x3b5)][0x0]);for(let _0x3147bf=_0xff28d5[_0x29a36d(0x1f8)]-0x1;_0x3147bf>=0x0;_0x3147bf--){const _0x418962={'id':_0x29a36d(0x2bf),'params':{..._0xff28d5[_0x3147bf]}},_0x28b8eb={'id':_0x29a36d(0x2bf),'params':{..._0x12901f[_0x3147bf]}},_0x218285=this['_transformService'][_0x29a36d(0x2b1)](_0x7e1b77,_0x418962,!0x1),_0x1cf85=this[_0x29a36d(0x3f0)]['transformMutation'](_0x305058,_0x28b8eb,!0x1);if(_0x579da8[_0x29a36d(0x212)](_0x218285))throw _0x218285[_0x29a36d(0x2b3)];if(_0x579da8['isTransformMutationFailure'](_0x1cf85))throw _0x1cf85['error'];_0x420ceb[_0x29a36d(0x2a9)](_0x218285[_0x29a36d(0x439)][_0x29a36d(0x388)]),_0x4e3255[_0x29a36d(0x2a9)](_0x1cf85[_0x29a36d(0x439)][_0x29a36d(0x388)]),_0x7e1b77=_0x218285[_0x29a36d(0x350)],_0x305058=_0x1cf85[_0x29a36d(0x350)];}_0x472cf4[_0x29a36d(0x30b)]({'undoCache':_0x420ceb,'redoCache':_0x4e3255});}[_0x29a50d(0x24b)](_0x58bc91){const _0x28f180=_0x29a50d,{unitID:_0x414ac5}=_0x58bc91,_0x557ccb=this[_0x28f180(0x382)][_0x28f180(0x368)](_0x414ac5)['with'](_0x3c8f3f[_0x28f180(0x34b)]),_0x453c15=_0x557ccb[_0x28f180(0x31e)]();if(_0x453c15==null)return;const _0x588688=[{'id':_0x28f180(0x2bf),'params':{'unitId':_0x58bc91['unitID'],'actions':null,'textRanges':[_0x453c15]}}],_0x13fac3=this[_0x28f180(0x3f0)][_0x28f180(0x32d)](_0x58bc91,_0x588688);if(!_0x579da8[_0x28f180(0x315)](_0x13fac3))throw _0x13fac3[_0x28f180(0x2b3)];const _0x5e1ae6=_0x13fac3[_0x28f180(0x439)][0x0][_0x28f180(0x388)]['textRanges'];Array[_0x28f180(0x23f)](_0x5e1ae6)&&_0x5e1ae6[_0x28f180(0x1f8)]&&_0x557ccb[_0x28f180(0x314)](_0x5e1ae6[0x0]);}};_0x200e80=_0x26c7e7([_0x41d13d(0x0,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb['Injector'])),_0x41d13d(0x1,_0x579da8['ITransformService']),_0x41d13d(0x2,_0x506afb[_0x29a50d(0x3e0)])],_0x200e80);var _0x1082a4=Object[_0x29a50d(0x285)],_0x2008b4=(_0x4074ee,_0x17fb5f,_0x532899,_0x5e7f37)=>{const _0x4362fa=_0x29a50d;for(var _0x48497b=_0x5e7f37>0x1?void 0x0:_0x5e7f37?_0x1082a4(_0x17fb5f,_0x532899):_0x17fb5f,_0x754b2b=_0x4074ee[_0x4362fa(0x1f8)]-0x1,_0x40bbb8;_0x754b2b>=0x0;_0x754b2b--)(_0x40bbb8=_0x4074ee[_0x754b2b])&&(_0x48497b=_0x40bbb8(_0x48497b)||_0x48497b);return _0x48497b;},_0x969e28=(_0x58a9f4,_0x5612b8)=>(_0x9a9de0,_0x54c33b)=>_0x5612b8(_0x9a9de0,_0x54c33b,_0x58a9f4);let _0x3ab3d0=class{constructor(_0x3b790f,_0x590007,_0x263946){const _0x3df41a=_0x29a50d;this[_0x3df41a(0x3aa)]=_0x3b790f,this[_0x3df41a(0x3f0)]=_0x590007,this[_0x3df41a(0x459)]=_0x263946;}['transformStateCache'](_0x37f5bc){const _0x2a255f=_0x29a50d;this[_0x2a255f(0x23b)](_0x37f5bc);}['transformRemoteChangeset'](_0xf98eae){const _0x203c33=_0x29a50d,{unitID:_0x58d615}=_0xf98eae,{collaboration:_0x45655e}=this['_docStateChangeManagerService'][_0x203c33(0x3d5)](_0x58d615);if(_0x45655e['length']===0x0)return _0xf98eae;let _0xa3adaa=_0x49eaeb['Tools'][_0x203c33(0x1ea)](_0xf98eae[_0x203c33(0x3b5)][0x0]);for(let _0x3465f5=0x0;_0x3465f5<_0x45655e['length'];_0x3465f5++){const _0x413199={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45655e[_0x3465f5]['unitId'],..._0x45655e[_0x3465f5][_0x203c33(0x3b0)]}},_0x3775d2=this[_0x203c33(0x3f0)][_0x203c33(0x2b1)](_0xa3adaa,_0x413199,!0x1);if(_0x579da8[_0x203c33(0x212)](_0x3775d2))throw _0x3775d2[_0x203c33(0x2b3)];_0xa3adaa=_0x3775d2[_0x203c33(0x350)];}return{..._0x49eaeb['Tools'][_0x203c33(0x1ea)](_0xf98eae),'mutations':[_0xa3adaa]};}[_0x29a50d(0x23b)](_0x4b244e){const _0x2a0a27=_0x29a50d,{unitID:_0x3c1fec}=_0x4b244e,{history:_0x22e2ad,collaboration:_0x59359b}=this['_docStateChangeManagerService'][_0x2a0a27(0x3d5)](_0x3c1fec);if(_0x22e2ad[_0x2a0a27(0x1f8)]===0x0&&_0x59359b[_0x2a0a27(0x1f8)]===0x0)return;const _0x545dbf=[],_0x170b1c=[];let _0x164838=_0x49eaeb[_0x2a0a27(0x226)][_0x2a0a27(0x1ea)](_0x4b244e[_0x2a0a27(0x3b5)][0x0]),_0x588ed6=_0x49eaeb[_0x2a0a27(0x226)][_0x2a0a27(0x1ea)](_0x4b244e['mutations'][0x0]);for(let _0x17a9c6=_0x22e2ad[_0x2a0a27(0x1f8)]-0x1;_0x17a9c6>=0x0;_0x17a9c6--){const _0x44bb84={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x22e2ad[_0x17a9c6][_0x2a0a27(0x2c8)],..._0x22e2ad[_0x17a9c6][_0x2a0a27(0x1e7)]}},_0x47ab10={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x22e2ad[_0x17a9c6][_0x2a0a27(0x2c8)],..._0x22e2ad[_0x17a9c6][_0x2a0a27(0x3b0)]}},_0x3a7605=this[_0x2a0a27(0x3f0)]['transformMutation'](_0x164838,_0x44bb84,!0x1),_0x1b002d=this[_0x2a0a27(0x3f0)][_0x2a0a27(0x2b1)](_0x588ed6,_0x47ab10,!0x1);if(_0x579da8[_0x2a0a27(0x212)](_0x3a7605))throw _0x3a7605[_0x2a0a27(0x2b3)];if(_0x579da8['isTransformMutationFailure'](_0x1b002d))throw _0x1b002d[_0x2a0a27(0x2b3)];_0x545dbf[_0x2a0a27(0x2a9)]({..._0x22e2ad[_0x17a9c6],'undoState':_0x3a7605[_0x2a0a27(0x439)][_0x2a0a27(0x388)],'redoState':_0x1b002d[_0x2a0a27(0x439)][_0x2a0a27(0x388)]}),_0x164838=_0x3a7605[_0x2a0a27(0x350)],_0x588ed6=_0x1b002d[_0x2a0a27(0x350)];}_0x164838=_0x49eaeb[_0x2a0a27(0x226)]['deepClone'](_0x4b244e[_0x2a0a27(0x3b5)][0x0]),_0x588ed6=_0x49eaeb[_0x2a0a27(0x226)][_0x2a0a27(0x1ea)](_0x4b244e[_0x2a0a27(0x3b5)][0x0]);for(let _0x33d149=_0x59359b[_0x2a0a27(0x1f8)]-0x1;_0x33d149>=0x0;_0x33d149--){const _0x42e26f={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x59359b[_0x33d149][_0x2a0a27(0x2c8)],..._0x59359b[_0x33d149][_0x2a0a27(0x1e7)]}},_0x1ea43d={'id':_0x2a0a27(0x2bf),'params':{'unitId':_0x59359b[_0x33d149]['unitId'],..._0x59359b[_0x33d149][_0x2a0a27(0x3b0)]}},_0x55122f=this[_0x2a0a27(0x3f0)][_0x2a0a27(0x2b1)](_0x164838,_0x42e26f,!0x1),_0x3ab380=this[_0x2a0a27(0x3f0)]['transformMutation'](_0x588ed6,_0x1ea43d,!0x1);if(_0x579da8[_0x2a0a27(0x212)](_0x55122f))throw _0x55122f['error'];if(_0x579da8[_0x2a0a27(0x212)](_0x3ab380))throw _0x3ab380[_0x2a0a27(0x2b3)];_0x170b1c[_0x2a0a27(0x2a9)]({..._0x59359b[_0x33d149],'undoState':_0x55122f['m2Prime'][_0x2a0a27(0x388)],'redoState':_0x3ab380[_0x2a0a27(0x439)][_0x2a0a27(0x388)]}),_0x164838=_0x55122f[_0x2a0a27(0x350)],_0x588ed6=_0x3ab380[_0x2a0a27(0x350)];}this[_0x2a0a27(0x459)][_0x2a0a27(0x1f2)](_0x3c1fec,{'history':_0x545dbf,'collaboration':_0x170b1c});}};_0x3ab3d0=_0x2008b4([_0x969e28(0x0,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x969e28(0x1,_0x579da8['ITransformService']),_0x969e28(0x2,_0x49eaeb[_0x29a50d(0x473)](_0x3c8f3f[_0x29a50d(0x241)]))],_0x3ab3d0);var _0x395ea2=Object['getOwnPropertyDescriptor'],_0x19f754=(_0x2aaae3,_0x7e370d,_0x14d952,_0x3a4a0d)=>{const _0x44f179=_0x29a50d;for(var _0x473ef8=_0x3a4a0d>0x1?void 0x0:_0x3a4a0d?_0x395ea2(_0x7e370d,_0x14d952):_0x7e370d,_0x1f3e77=_0x2aaae3[_0x44f179(0x1f8)]-0x1,_0x43722e;_0x1f3e77>=0x0;_0x1f3e77--)(_0x43722e=_0x2aaae3[_0x1f3e77])&&(_0x473ef8=_0x43722e(_0x473ef8)||_0x473ef8);return _0x473ef8;},_0x13baf3=(_0x38dd81,_0x33c0ed)=>(_0x2a28e0,_0xd13403)=>_0x33c0ed(_0x2a28e0,_0xd13403,_0x38dd81);let _0x458c5d=class{constructor(_0x32dadb,_0x4ac525){const _0x3cc4a8=_0x29a50d;this[_0x3cc4a8(0x3aa)]=_0x32dadb,this[_0x3cc4a8(0x3f0)]=_0x4ac525;}[_0x29a50d(0x1fe)](_0x22e588){const _0x55338d=_0x29a50d;var _0x410d67;const _0x55eb4b=this[_0x55338d(0x3aa)][_0x55338d(0x408)](_0x54d7ba['DocSelectionManagerService']),_0x17c935=(_0x410d67=_0x55eb4b[_0x55338d(0x2f2)]())!=null?_0x410d67:[];if(_0x17c935[_0x55338d(0x1f8)]===0x0)return;const _0x474f7f=_0x22e588['unitID'],_0x4a77f6=[{'id':_0x55338d(0x2bf),'params':{'unitId':_0x474f7f,'actions':null,'textRanges':_0x17c935}}],_0x535e4c=this[_0x55338d(0x3f0)]['transformMutationsWithChangeset'](_0x22e588,_0x4a77f6);if(!_0x579da8[_0x55338d(0x315)](_0x535e4c))throw _0x535e4c[_0x55338d(0x2b3)];const _0x554322=_0x535e4c['m2Prime'][0x0][_0x55338d(0x388)]['textRanges'];Array[_0x55338d(0x23f)](_0x554322)&&_0x554322[_0x55338d(0x1f8)]&&_0x55eb4b[_0x55338d(0x40a)](_0x554322,{'unitId':_0x474f7f,'subUnitId':_0x474f7f},!0x1);}};_0x458c5d=_0x19f754([_0x13baf3(0x0,_0x49eaeb['Inject'](_0x49eaeb[_0x29a50d(0x3d4)])),_0x13baf3(0x1,_0x579da8[_0x29a50d(0x35f)])],_0x458c5d);var _0x28ec76=Object['getOwnPropertyDescriptor'],_0x3ff2bd=(_0x509535,_0x4fddc0,_0xda78d,_0x5d057f)=>{for(var _0xcec483=_0x5d057f>0x1?void 0x0:_0x5d057f?_0x28ec76(_0x4fddc0,_0xda78d):_0x4fddc0,_0x1c21e1=_0x509535['length']-0x1,_0x5d5c0a;_0x1c21e1>=0x0;_0x1c21e1--)(_0x5d5c0a=_0x509535[_0x1c21e1])&&(_0xcec483=_0x5d5c0a(_0xcec483)||_0xcec483);return _0xcec483;},_0x171b17=(_0x51a27e,_0x2744ad)=>(_0x209d5b,_0x29e96d)=>_0x2744ad(_0x209d5b,_0x29e96d,_0x51a27e);let _0x4c5e7f=class extends _0x49eaeb[_0x29a50d(0x258)]{constructor(_0x373af2,_0x5ee993,_0x1c0268,_0xb7afa6,_0x74b42,_0xa2e521,_0x44548e,_0x1614f1){const _0x320221=_0x29a50d;super(),_0x2d5d22(this,_0x320221(0x477),new _0x1a1591[(_0x320221(0x242))](_0x5557ff[_0x320221(0x287)][_0x320221(0x44f)])),(this[_0x320221(0x459)]=_0x373af2,this[_0x320221(0x2a1)]=_0x5ee993,this[_0x320221(0x2ec)]=_0x1c0268,this[_0x320221(0x264)]=_0xb7afa6,this[_0x320221(0x245)]=_0x74b42,this[_0x320221(0x33f)]=_0xa2e521,this[_0x320221(0x2e5)]=_0x44548e,this[_0x320221(0x298)]=_0x1614f1,this[_0x320221(0x3f3)]());}['_initEntityListener'](){const _0x5dd4d6=_0x29a50d;this[_0x5dd4d6(0x46c)](this[_0x5dd4d6(0x2a1)][_0x5dd4d6(0x31b)]['subscribe'](_0x3cba4a=>{const _0x5ce1be=_0x5dd4d6,_0x2c89d5=this[_0x5ce1be(0x459)][_0x5ce1be(0x209)][_0x5ce1be(0x2f6)](_0x22eca6=>{const _0x379a6f=_0x5ce1be;if(_0x22eca6==null)return;const {unitId:_0x3cb791,redoState:_0x1edd9f,commandId:_0x542778}=_0x22eca6;if(_0x3cb791!==_0x3cba4a[_0x379a6f(0x36a)])return;const _0x2b8e74={'id':_0x542778,'type':_0x49eaeb[_0x379a6f(0x2a5)]['MUTATION'],'params':{'unitId':_0x3cb791,'actions':_0x1edd9f[_0x379a6f(0x359)],'textRanges':null}};_0x3cba4a['onLocalMutation'](_0x2b8e74);});if(_0x3cba4a[_0x5ce1be(0x46c)](_0x2c89d5),_0x3cba4a instanceof _0x5557ff[_0x5ce1be(0x32c)]){const _0x40cc44={'onTransformIME':_0x22d576=>this[_0x5ce1be(0x2ec)]['transformIMECache'](_0x22d576),'onTransformState':_0x411cba=>this[_0x5ce1be(0x264)]['transformStateCache'](_0x411cba),'onTransformSelections':_0x3d3a9e=>this[_0x5ce1be(0x245)]['transformSelections'](_0x3d3a9e),'onSyncEditingCollabCursor':_0x3e1bbf=>this[_0x5ce1be(0x33f)]['syncEditingCollabCursor'](_0x3e1bbf),'onTransformRemoteChangesetByIMECache':_0x411174=>this[_0x5ce1be(0x2ec)]['transformRemoteChangeset'](_0x411174),'onTransformRemoteChangesetByStateCache':_0xc35437=>this['_docTransformStateCacheService'][_0x5ce1be(0x334)](_0xc35437)};_0x3cba4a[_0x5ce1be(0x322)](_0x40cc44);}}));}};_0x4c5e7f=_0x3ff2bd([_0x171b17(0x0,_0x49eaeb['Inject'](_0x3c8f3f[_0x29a50d(0x241)])),_0x171b17(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x5557ff[_0x29a50d(0x2a3)])),_0x171b17(0x2,_0x49eaeb['Inject'](_0x200e80)),_0x171b17(0x3,_0x49eaeb[_0x29a50d(0x473)](_0x3ab3d0)),_0x171b17(0x4,_0x49eaeb[_0x29a50d(0x473)](_0x458c5d)),_0x171b17(0x5,_0x49eaeb[_0x29a50d(0x473)](_0xb3c406)),_0x171b17(0x6,_0x284e97[_0x29a50d(0x425)]),_0x171b17(0x7,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x415)]))],_0x4c5e7f);var _0x4f8005=Object['getOwnPropertyDescriptor'],_0x402824=(_0x2a9841,_0x5ae4e5,_0x4ca086,_0x52417b)=>{for(var _0x302038=_0x52417b>0x1?void 0x0:_0x52417b?_0x4f8005(_0x5ae4e5,_0x4ca086):_0x5ae4e5,_0x2b64eb=_0x2a9841['length']-0x1,_0x1f19e8;_0x2b64eb>=0x0;_0x2b64eb--)(_0x1f19e8=_0x2a9841[_0x2b64eb])&&(_0x302038=_0x1f19e8(_0x302038)||_0x302038);return _0x302038;},_0x677963=(_0x2bef0d,_0x34ba9d)=>(_0x4aeff2,_0x1390c8)=>_0x34ba9d(_0x4aeff2,_0x1390c8,_0x2bef0d);let _0x5464f7=class extends _0x49eaeb['Disposable']{constructor(_0xb9d92b,_0x3e7bb6,_0x45940b){const _0x590371=_0x29a50d;super(),_0x2d5d22(this,_0x590371(0x1ee),new Map()),_0x2d5d22(this,_0x590371(0x2e8),new Map()),_0x2d5d22(this,_0x590371(0x3df),!0x1),(this['_configService']=_0xb9d92b,this[_0x590371(0x221)]=_0x3e7bb6,this[_0x590371(0x378)]=_0x45940b);}[_0x29a50d(0x405)](){const _0x797320=_0x29a50d;this[_0x797320(0x3df)]=!0x0;}[_0x29a50d(0x35e)](){const _0x47a8c1=_0x29a50d;this[_0x47a8c1(0x3df)]=!0x1;}get[_0x29a50d(0x3b2)](){const _0x12c90d=_0x29a50d;return this[_0x12c90d(0x2e8)];}[_0x29a50d(0x239)](){const _0x5c89c2=_0x29a50d;this[_0x5c89c2(0x406)]()[_0x5c89c2(0x317)](()=>super[_0x5c89c2(0x239)]());}async['loadOfflineData'](_0x2bf0db){const _0x35ea91=_0x29a50d;return this[_0x35ea91(0x3df)]?null:this[_0x35ea91(0x221)]['getItem'](_0x5557ff[_0x35ea91(0x29e)](_0x2bf0db));}async[_0x29a50d(0x341)](_0x2b2326,_0x4f59b1){const _0x35df70=_0x29a50d;return!!this[_0x35df70(0x221)]['setItem'](_0x2b2326,_0x4f59b1);}[_0x29a50d(0x32b)](_0x110669,_0x2f2a37,_0x1647c8,_0x41fb19){const _0x141a3a=_0x29a50d,_0x38b1e8=this[_0x141a3a(0x378)][_0x141a3a(0x2eb)](_0x110669);this[_0x141a3a(0x1ee)][_0x141a3a(0x3e6)](_0x110669,{'unitID':_0x110669,'type':_0x2f2a37,'awaitingChangeset':_0x1647c8,'mutations':_0x41fb19,'rev':_0x38b1e8}),this[_0x141a3a(0x2e8)][_0x141a3a(0x35c)](_0x110669)||this['_scheduleSaving'](_0x110669);}['_scheduleSaving'](_0x2ab593){const _0xb8503=_0x29a50d,_0x2e2bca=this['_getSaveTimeout']();_0x2e2bca===0x0?this[_0xb8503(0x33e)](_0x2ab593):this[_0xb8503(0x2e8)][_0xb8503(0x3e6)](_0x2ab593,setTimeout(()=>this[_0xb8503(0x33e)](_0x2ab593),_0x2e2bca));}['_getSaveTimeout'](){const _0x15adba=_0x29a50d;var _0x15b5a9;return(_0x15b5a9=this[_0x15adba(0x3c0)][_0x15adba(0x218)](_0x5557ff[_0x15adba(0x2d6)]))!=null?_0x15b5a9:_0x5557ff[_0x15adba(0x2e7)];}[_0x29a50d(0x33e)](_0x1a2d0c){const _0x375fc8=_0x29a50d,_0x1b1b96=this[_0x375fc8(0x2e8)]['get'](_0x1a2d0c);return _0x1b1b96!==void 0x0&&window[_0x375fc8(0x2f4)](_0x1b1b96),this[_0x375fc8(0x221)]['setItem'](_0x5557ff[_0x375fc8(0x29e)](_0x1a2d0c),this[_0x375fc8(0x1ee)][_0x375fc8(0x408)](_0x1a2d0c))[_0x375fc8(0x317)](()=>this[_0x375fc8(0x2e8)]['delete'](_0x1a2d0c));}async[_0x29a50d(0x406)](){const _0x1b4c1b=_0x29a50d,_0x4e5067=[];this[_0x1b4c1b(0x2e8)][_0x1b4c1b(0x351)]((_0x3adcde,_0x5b634e)=>{const _0x37da98=_0x1b4c1b;window[_0x37da98(0x2f4)](_0x3adcde),_0x4e5067['push'](this[_0x37da98(0x33e)](_0x5b634e)[_0x37da98(0x317)](()=>{const _0x52785d=_0x37da98;this[_0x52785d(0x2e8)][_0x52785d(0x206)](_0x5b634e);}));}),await Promise[_0x1b4c1b(0x250)](_0x4e5067);}};_0x5464f7=_0x402824([_0x677963(0x0,_0x49eaeb['IConfigService']),_0x677963(0x1,_0x49eaeb[_0x29a50d(0x2a0)]),_0x677963(0x2,_0x49eaeb['Inject'](_0x579da8[_0x29a50d(0x2b8)]))],_0x5464f7);class _0x46366a extends _0x49eaeb['RxDisposable']{constructor(){const _0x3acfba=_0x29a50d;super(),_0x2d5d22(this,_0x3acfba(0x2f9)),this[_0x3acfba(0x2f9)]=_0x1a1591['fromEvent'](window,_0x3acfba(0x478))['pipe'](_0x1a1591[_0x3acfba(0x30c)](this['dispose$']),_0x1a1591['shareReplay'](0x1),_0x1a1591[_0x3acfba(0x2c9)](void 0x0));}[_0x29a50d(0x2aa)](_0x370648,_0x155899,_0x1c1113=!0x1){const _0x36fb76=_0x29a50d,_0x28ad67=new URL(window[_0x36fb76(0x3b4)]['href']);_0x28ad67['searchParams'][_0x36fb76(0x3e6)](_0x370648,_0x155899),_0x1c1113?window[_0x36fb76(0x291)][_0x36fb76(0x2c1)]('','',_0x28ad67[_0x36fb76(0x2ed)]()):window[_0x36fb76(0x291)][_0x36fb76(0x38e)]('','',_0x28ad67[_0x36fb76(0x2ed)]());}[_0x29a50d(0x25f)](_0x319279,_0x415d99=!0x1){const _0x5ca383=_0x29a50d,_0x168e2a=new URL(window['location'][_0x5ca383(0x387)]);_0x168e2a[_0x5ca383(0x294)][_0x5ca383(0x206)](_0x319279),_0x415d99?window[_0x5ca383(0x291)][_0x5ca383(0x2c1)]('','',_0x168e2a[_0x5ca383(0x2ed)]()):window[_0x5ca383(0x291)]['pushState']('','',_0x168e2a[_0x5ca383(0x2ed)]());}[_0x29a50d(0x1e4)](_0x179376){const _0x51d311=_0x29a50d;var _0x1d3e03;return(_0x1d3e03=new URL(window[_0x51d311(0x3b4)][_0x51d311(0x387)])['searchParams'][_0x51d311(0x408)](_0x179376))!=null?_0x1d3e03:void 0x0;}}var _0x74bd41=Object[_0x29a50d(0x222)],_0x5c8e56=Object[_0x29a50d(0x285)],_0x5ae38f=(_0x27102a,_0x5472b4,_0x425a24)=>_0x5472b4 in _0x27102a?_0x74bd41(_0x27102a,_0x5472b4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x425a24}):_0x27102a[_0x5472b4]=_0x425a24,_0xa46fee=(_0x4b7f8c,_0x41949c,_0x35e36e,_0x52a254)=>{const _0x3e605f=_0x29a50d;for(var _0xe4985=_0x52a254>0x1?void 0x0:_0x52a254?_0x5c8e56(_0x41949c,_0x35e36e):_0x41949c,_0x2cd629=_0x4b7f8c[_0x3e605f(0x1f8)]-0x1,_0x5d6824;_0x2cd629>=0x0;_0x2cd629--)(_0x5d6824=_0x4b7f8c[_0x2cd629])&&(_0xe4985=_0x5d6824(_0xe4985)||_0xe4985);return _0xe4985;},_0x1e1c52=(_0x3f2ac9,_0x260cf6)=>(_0x2f09de,_0x51e881)=>_0x260cf6(_0x2f09de,_0x51e881,_0x3f2ac9),_0x223eb5=(_0x4ba62a,_0x3e4355,_0x3b4a87)=>_0x5ae38f(_0x4ba62a,_0x3e4355+'',_0x3b4a87);const _0x2fe50f=_0x29a50d(0x1ec);_0x2becbd['UniverCollaborationClientUIPlugin']=class extends _0x49eaeb[_0x29a50d(0x38c)]{constructor(_0x240367=_0xbe33c4,_0x427a25,_0x18a1e0,_0x65b65d){const _0xe0439f=_0x29a50d;super(),this[_0xe0439f(0x43a)]=_0x240367,this[_0xe0439f(0x382)]=_0x427a25,this[_0xe0439f(0x3aa)]=_0x18a1e0,this[_0xe0439f(0x3c0)]=_0x65b65d;const {..._0x524db6}=_0x49eaeb[_0xe0439f(0x27b)]({},_0xbe33c4,this[_0xe0439f(0x43a)]);this[_0xe0439f(0x3c0)][_0xe0439f(0x399)](_0x52495c,_0x524db6);}[_0x29a50d(0x2ee)](){const _0xdc99f1=_0x29a50d;this[_0xdc99f1(0x367)](),this['_initDependencies']();}[_0x29a50d(0x312)](){const _0x2ac514=_0x29a50d;this[_0x2ac514(0x457)]();}[_0x29a50d(0x367)](){const _0x45956f=_0x29a50d;var _0x4c4810;const _0x36be28=[[_0x2b7743],[_0x458c5d],[_0x200e80],[_0x3ab3d0],[_0xb3c406],[_0x189700,{'useClass':_0x46366a}],[_0x23e63f[_0x45956f(0x39f)],{'useClass':_0x23e63f[_0x45956f(0x451)]}],[_0x5557ff[_0x45956f(0x366)],{'useClass':_0x5464f7}],[_0x2becbd[_0x45956f(0x380)]],[_0x4c5e7f],[_0x39f32d],[_0x43f861],[_0x450d8e],[_0x2becbd[_0x45956f(0x3c4)]]];_0x49eaeb[_0x45956f(0x289)](this['_injector'],_0x49eaeb[_0x45956f(0x3bc)](_0x36be28,(_0x4c4810=this['_config'])==null?void 0x0:_0x4c4810[_0x45956f(0x1e9)]));}[_0x29a50d(0x457)](){const _0x24eac2=_0x29a50d;this['disposeWithMe'](this[_0x24eac2(0x382)]['registerRenderModule'](_0x49eaeb[_0x24eac2(0x311)][_0x24eac2(0x2e3)],[_0x4c2a27])),this[_0x24eac2(0x46c)](this['_renderManagerService'][_0x24eac2(0x2b2)](_0x49eaeb[_0x24eac2(0x311)]['UNIVER_SHEET'],[_0x42601e]));}[_0x29a50d(0x303)](){const _0x2b44e3=_0x29a50d;_0x49eaeb['touchDependencies'](this[_0x2b44e3(0x3aa)],[[_0x43f861],[_0x2becbd[_0x2b44e3(0x380)]],[_0x4c5e7f],[_0x39f32d],[_0x2becbd['CollaborationDataLoaderController']]]);}},_0x223eb5(_0x2becbd['UniverCollaborationClientUIPlugin'],_0x29a50d(0x42b),_0x2fe50f),_0x2becbd[_0x29a50d(0x41e)]=_0xa46fee([_0x49eaeb['DependentOn'](_0x5557ff[_0x29a50d(0x419)]),_0x1e1c52(0x1,_0x506afb[_0x29a50d(0x3e0)]),_0x1e1c52(0x2,_0x49eaeb['Inject'](_0x49eaeb[_0x29a50d(0x3d4)])),_0x1e1c52(0x3,_0x49eaeb[_0x29a50d(0x37f)])],_0x2becbd[_0x29a50d(0x41e)]);var _0x2ea41f=Object[_0x29a50d(0x285)],_0x10409b=(_0x142668,_0x21d47d,_0x4ab9c0,_0x301608)=>{for(var _0x46d0cb=_0x301608>0x1?void 0x0:_0x301608?_0x2ea41f(_0x21d47d,_0x4ab9c0):_0x21d47d,_0x5955d7=_0x142668['length']-0x1,_0x800743;_0x5955d7>=0x0;_0x5955d7--)(_0x800743=_0x142668[_0x5955d7])&&(_0x46d0cb=_0x800743(_0x46d0cb)||_0x46d0cb);return _0x46d0cb;},_0x5c514a=(_0x1b64b5,_0x37a2a1)=>(_0x476747,_0x825610)=>_0x37a2a1(_0x476747,_0x825610,_0x1b64b5);_0x2becbd['BrowserCollaborationSocketService']=class extends _0x5557ff['CollaborationSocketService']{constructor(_0x5ca725,_0xf83653,_0x5798c7,_0x21918b,_0x866b18){super(_0x5ca725,_0xf83653,_0x5798c7,_0x21918b,_0x866b18);}async['createSocket'](_0x335917){const _0x554fc0=_0x29a50d,_0x4a034d=await this[_0x554fc0(0x37e)](),_0x24984c=this['_createSocketURL'](_0x335917,_0x4a034d);return this[_0x554fc0(0x22f)](_0x24984c);}[_0x29a50d(0x3d8)](_0x134d68,_0x9b95a6){const _0x28309c=_0x29a50d,_0x2f1d12=typeof window>'u'?new URL(_0x134d68):new URL(_0x134d68,window[_0x28309c(0x3b4)][_0x28309c(0x3db)]);_0x2f1d12[_0x28309c(0x294)][_0x28309c(0x3e6)](_0x28309c(0x464),_0x9b95a6);const _0x571c76=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x28309c(0x3b4)]['search']);return _0x571c76[_0x28309c(0x408)](_0x28309c(0x467))&&_0x2f1d12[_0x28309c(0x294)]['set'](_0x28309c(0x467),_0x571c76['get']('runId')),_0x2f1d12[_0x28309c(0x2ed)]();}async[_0x29a50d(0x37e)](){const _0x4c54a7=_0x29a50d;var _0x3562a4,_0xdbc109,_0x18b895;const _0x403c0c=this['_configService'][_0x4c54a7(0x218)](_0x5557ff[_0x4c54a7(0x23c)]),_0xd886a4=(_0x3562a4=_0x403c0c==null?void 0x0:_0x403c0c[_0x4c54a7(0x2ae)])!=null?_0x3562a4:_0x5557ff[_0x4c54a7(0x29c)];return(_0x18b895=(_0xdbc109=(await this['_httpService'][_0x4c54a7(0x408)](_0xd886a4,{'headers':{'Content-Type':_0x4c54a7(0x36c)}}))[_0x4c54a7(0x2ea)])==null?void 0x0:_0xdbc109['ticket'])!=null?_0x18b895:'';}},_0x2becbd['BrowserCollaborationSocketService']=_0x10409b([_0x5c514a(0x0,_0x49eaeb[_0x29a50d(0x473)](_0x49eaeb[_0x29a50d(0x3d4)])),_0x5c514a(0x1,_0x49eaeb[_0x29a50d(0x473)](_0x23e63f[_0x29a50d(0x39c)])),_0x5c514a(0x2,_0x49eaeb[_0x29a50d(0x37f)]),_0x5c514a(0x3,_0x49eaeb[_0x29a50d(0x2e6)]),_0x5c514a(0x4,_0x579da8[_0x29a50d(0x3f2)])],_0x2becbd[_0x29a50d(0x2a2)]);const _0x59be6f=0x7530,_0x16ec45='ACTIVE_UNIT_EVENT_CHANNEL';class _0x524bf6 extends _0x49eaeb[_0x29a50d(0x258)]{constructor(){const _0x5d4658=_0x29a50d;super(),_0x2d5d22(this,_0x5d4658(0x479),_0x49eaeb[_0x5d4658(0x2fe)]()),_0x2d5d22(this,_0x5d4658(0x22a),new Set()),_0x2d5d22(this,_0x5d4658(0x262),new Map()),_0x2d5d22(this,'_heartbeatTimer',null),_0x2d5d22(this,_0x5d4658(0x3ff),new Map()),_0x2d5d22(this,_0x5d4658(0x30a),new Map()),this[_0x5d4658(0x328)]();}[_0x29a50d(0x239)](){const _0x5e80c5=_0x29a50d;super[_0x5e80c5(0x239)](),this[_0x5e80c5(0x3ff)][_0x5e80c5(0x351)]((_0x5eb81b,_0x163b4e)=>this[_0x5e80c5(0x434)](_0x163b4e)),this[_0x5e80c5(0x293)]&&window[_0x5e80c5(0x31c)](this[_0x5e80c5(0x293)]);}[_0x29a50d(0x41b)](_0x4fe9c7){const _0x8c88fb=_0x29a50d;return this[_0x8c88fb(0x2be)](_0x4fe9c7)['pipe'](_0x1a1591[_0x8c88fb(0x24f)]());}['editingUnit'](_0x37b4e4){const _0xb9d237=_0x29a50d;this[_0xb9d237(0x22a)][_0xb9d237(0x2bc)]===0x0&&this['_scheduleHeartbeat'](),this[_0xb9d237(0x22a)][_0xb9d237(0x3f5)](_0x37b4e4),this[_0xb9d237(0x394)]({'type':0x0,'memberID':this[_0xb9d237(0x479)],'unitIDs':[_0x37b4e4],'isForwarded':!0x1});}[_0x29a50d(0x2a4)](_0x38dee2){const _0x3c4566=_0x29a50d;this['_selfUnitIDs'][_0x3c4566(0x206)](_0x38dee2),this[_0x3c4566(0x22a)][_0x3c4566(0x2bc)]===0x0&&this[_0x3c4566(0x293)]&&window[_0x3c4566(0x31c)](this[_0x3c4566(0x293)]);}[_0x29a50d(0x328)](){const _0x330005=_0x29a50d;this['disposeWithMe'](_0x49eaeb[_0x330005(0x21d)](_0x1a1591['fromEvent'](window,_0x330005(0x2e0))['subscribe'](_0x4811d3=>{const _0x38afce=_0x330005;if(_0x4811d3[_0x38afce(0x3a2)]!==_0x16ec45||!_0x4811d3[_0x38afce(0x417)])return;const _0x45ffa8=JSON[_0x38afce(0x2fd)](_0x4811d3[_0x38afce(0x417)]);this['_handleEvent'](_0x45ffa8);}))),window[_0x330005(0x29a)](_0x330005(0x227),()=>this[_0x330005(0x394)]({'type':0x1,'memberID':this[_0x330005(0x479)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x430312){const _0x11d785=_0x29a50d;switch(_0x430312[_0x11d785(0x462)]){case 0x0:this[_0x11d785(0x2af)](_0x430312);break;case 0x1:this[_0x11d785(0x37b)](_0x430312);break;case 0x2:this[_0x11d785(0x256)](_0x430312);break;}}[_0x29a50d(0x2af)](_0x56bd0a){const _0x59a689=_0x29a50d,{unitIDs:_0xa0ecd1,memberID:_0xa06dde,isForwarded:_0x3984d2}=_0x56bd0a;_0xa0ecd1[_0x59a689(0x351)](_0x193c7=>{const _0x43381a=_0x59a689;if(!_0x3984d2&&this[_0x43381a(0x262)][_0x43381a(0x35c)](_0x193c7)&&this[_0x43381a(0x2be)](_0x193c7)[_0x43381a(0x277)](_0x5557ff[_0x43381a(0x447)]['OTHER_CLIENTS_EDITING']),!this[_0x43381a(0x262)][_0x43381a(0x35c)](_0x193c7)||!this[_0x43381a(0x262)]['get'](_0x193c7)['has'](_0xa06dde)){const _0x5b3164=this[_0x43381a(0x262)][_0x43381a(0x408)](_0x193c7)||new Set();_0x5b3164[_0x43381a(0x3f5)](_0xa06dde),this[_0x43381a(0x262)][_0x43381a(0x3e6)](_0x193c7,_0x5b3164),this['_scheduleClearOtherTimer'](_0xa06dde);}}),_0x3984d2||this[_0x59a689(0x394)]({'type':0x0,'memberID':this[_0x59a689(0x479)],'unitIDs':[...this[_0x59a689(0x22a)]],'isForwarded':!0x0});}[_0x29a50d(0x263)](_0x54c6f0){const _0x3da855=_0x29a50d;this[_0x3da855(0x434)](_0x54c6f0);const _0x9a67c8=window['setTimeout'](()=>{const _0x2af602=_0x3da855;this['_unitOnClients'][_0x2af602(0x351)](_0xdd3e61=>{_0xdd3e61['delete'](_0x54c6f0);});},_0x59be6f*0x2);this[_0x3da855(0x3ff)][_0x3da855(0x3e6)](_0x54c6f0,_0x9a67c8);}['_removeClearOtherTimer'](_0x1c5a18){const _0x434f7a=_0x29a50d;if(this[_0x434f7a(0x3ff)][_0x434f7a(0x35c)](_0x1c5a18)){const _0x36942b=this['_clearOtherTimers'][_0x434f7a(0x408)](_0x1c5a18);_0x36942b&&window[_0x434f7a(0x2f4)](_0x36942b),this['_clearOtherTimers'][_0x434f7a(0x3e6)](_0x1c5a18,null);}}['_handleLeaveEvent'](_0x385e2e){const {memberID:_0x19e534,unitIDs:_0x4f0e01}=_0x385e2e;_0x4f0e01['forEach'](_0x4236b9=>{const _0x14b80a=_0x37a6;var _0x392109;const _0x54c7d8=this['_unitOnClients'][_0x14b80a(0x408)](_0x4236b9);_0x54c7d8&&(_0x54c7d8[_0x14b80a(0x206)](_0x19e534),(_0x392109=this[_0x14b80a(0x2be)](_0x4236b9))==null||_0x392109[_0x14b80a(0x277)](_0x54c7d8['size']===0x0?_0x5557ff[_0x14b80a(0x447)][_0x14b80a(0x208)]:_0x5557ff[_0x14b80a(0x447)][_0x14b80a(0x2fc)]));}),this['_removeClearOtherTimer'](_0x19e534);}['_handleHeartbeatEvent'](_0x2d6c98){const _0xe994c1=_0x29a50d;this['_scheduleClearOtherTimer'](_0x2d6c98[_0xe994c1(0x3d1)]);}[_0x29a50d(0x394)](_0x455908){const _0x2a6bcf=_0x29a50d;localStorage[_0x2a6bcf(0x26b)](_0x16ec45,JSON[_0x2a6bcf(0x33c)](_0x455908));}[_0x29a50d(0x39b)](){const _0x2489f6=_0x29a50d;this[_0x2489f6(0x293)]=window[_0x2489f6(0x36e)](()=>{const _0x160a30=_0x2489f6;this[_0x160a30(0x394)]({'type':0x2,'memberID':this[_0x160a30(0x479)]});},_0x59be6f);}['_ensureSubject'](_0x1a7eab){const _0x1988da=_0x29a50d;return this[_0x1988da(0x30a)][_0x1988da(0x35c)](_0x1a7eab)||this[_0x1988da(0x30a)][_0x1988da(0x3e6)](_0x1a7eab,new _0x1a1591['BehaviorSubject'](_0x5557ff[_0x1988da(0x447)][_0x1988da(0x208)])),this['_unitStatus']['get'](_0x1a7eab);}}var _0x5afc4b=(_0x513dcc=>(_0x513dcc[_0x513dcc[_0x29a50d(0x444)]=0x0]=_0x29a50d(0x444),_0x513dcc[_0x513dcc['OK']=0x1]='OK',_0x513dcc[_0x513dcc[_0x29a50d(0x404)]=0x2]=_0x29a50d(0x404),_0x513dcc[_0x513dcc[_0x29a50d(0x1ff)]=0x3]=_0x29a50d(0x1ff),_0x513dcc[_0x513dcc[_0x29a50d(0x27c)]=0x4]=_0x29a50d(0x27c),_0x513dcc[_0x513dcc['UNAUTHENTICATED']=0x5]=_0x29a50d(0x31a),_0x513dcc[_0x513dcc[_0x29a50d(0x3c9)]=0x6]='ALREADY_EXISTS',_0x513dcc[_0x513dcc[_0x29a50d(0x412)]=0x7]=_0x29a50d(0x412),_0x513dcc[_0x513dcc['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x513dcc[_0x513dcc['COMPLETION_FINISHED']=0x9]=_0x29a50d(0x34c),_0x513dcc[_0x513dcc['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x513dcc[_0x513dcc[_0x29a50d(0x2b4)]=0x1389]=_0x29a50d(0x2b4),_0x513dcc[_0x513dcc[_0x29a50d(0x29b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x513dcc[_0x513dcc[_0x29a50d(0x21e)]=0x1772]=_0x29a50d(0x21e),_0x513dcc[_0x513dcc[_0x29a50d(0x428)]=0x1773]=_0x29a50d(0x428),_0x513dcc[_0x513dcc['APPLY_REJECT']=0x1b59]=_0x29a50d(0x331),_0x513dcc[_0x513dcc[_0x29a50d(0x224)]=0x1b5a]=_0x29a50d(0x224),_0x513dcc[_0x513dcc[_0x29a50d(0x214)]=0x1b5b]=_0x29a50d(0x214),_0x513dcc[_0x513dcc['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x29a50d(0x26f),_0x513dcc[_0x513dcc['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x513dcc[_0x513dcc[_0x29a50d(0x398)]=0x1f41]=_0x29a50d(0x398),_0x513dcc[_0x513dcc[_0x29a50d(0x373)]=0x2329]=_0x29a50d(0x373),_0x513dcc[_0x513dcc[_0x29a50d(0x3f1)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x513dcc[_0x513dcc[_0x29a50d(0x3d0)]=0x232b]=_0x29a50d(0x3d0),_0x513dcc[_0x513dcc[_0x29a50d(0x279)]=0x232c]=_0x29a50d(0x279),_0x513dcc[_0x513dcc[_0x29a50d(0x1eb)]=0x232d]=_0x29a50d(0x1eb),_0x513dcc[_0x513dcc[_0x29a50d(0x3e9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x513dcc[_0x513dcc['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x29a50d(0x283),_0x513dcc[_0x513dcc[_0x29a50d(0x3de)]=0x2713]=_0x29a50d(0x3de),_0x513dcc[_0x513dcc[_0x29a50d(0x476)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x513dcc[_0x513dcc[_0x29a50d(0x45e)]=0x271a]=_0x29a50d(0x45e),_0x513dcc[_0x513dcc[_0x29a50d(0x32a)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x513dcc[_0x513dcc[_0x29a50d(0x427)]=0x2af9]=_0x29a50d(0x427),_0x513dcc[_0x513dcc[_0x29a50d(0x3fe)]=0x2ee1]=_0x29a50d(0x3fe),_0x513dcc[_0x513dcc[_0x29a50d(0x307)]=0x2ee2]='INVALID_INVITE_CODE',_0x513dcc[_0x513dcc[_0x29a50d(0x3c6)]=0x2ee3]=_0x29a50d(0x3c6),_0x513dcc[_0x513dcc['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x513dcc[_0x513dcc[_0x29a50d(0x28d)]=0x2ee5]=_0x29a50d(0x28d),_0x513dcc[_0x513dcc['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x29a50d(0x3bb),_0x513dcc[_0x513dcc[_0x29a50d(0x271)]=0x32ca]=_0x29a50d(0x271),_0x513dcc[_0x513dcc[_0x29a50d(0x353)]=0x32cb]=_0x29a50d(0x353),_0x513dcc[_0x513dcc[_0x29a50d(0x3f4)]=-0x1]=_0x29a50d(0x3f4),_0x513dcc))(_0x5afc4b||{}),_0x21f660=Object[_0x29a50d(0x285)],_0x1be725=(_0x4ec892,_0x3cfe72,_0x5a49a7,_0x13f21d)=>{const _0x225da5=_0x29a50d;for(var _0x260648=_0x13f21d>0x1?void 0x0:_0x13f21d?_0x21f660(_0x3cfe72,_0x5a49a7):_0x3cfe72,_0x266d4b=_0x4ec892[_0x225da5(0x1f8)]-0x1,_0x2f130c;_0x266d4b>=0x0;_0x266d4b--)(_0x2f130c=_0x4ec892[_0x266d4b])&&(_0x260648=_0x2f130c(_0x260648)||_0x260648);return _0x260648;},_0x348082=(_0x106b0c,_0x10a6c0)=>(_0x37297e,_0xde305f)=>_0x10a6c0(_0x37297e,_0xde305f,_0x106b0c);_0x2becbd[_0x29a50d(0x2c6)]=class extends _0x49eaeb['Disposable']{constructor(_0x1c716c,_0x22ce91,_0x518e7b){const _0x2352f3=_0x29a50d;super(),this['_instanceService']=_0x1c716c,this[_0x2352f3(0x301)]=_0x22ce91,this['_configService']=_0x518e7b;}async['runOnServer'](_0x2e512b,_0x276d1a,_0x3f275a,..._0x4a9d7a){const _0x1e727f=_0x29a50d;var _0x506bf3,_0x23caa7,_0x52c6c9,_0x3517bf;const _0x3cda5e=this['_instanceService'][_0x1e727f(0x344)]();if(!_0x3cda5e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x542858=((_0x506bf3=this[_0x1e727f(0x3c0)][_0x1e727f(0x218)](_0x5557ff[_0x1e727f(0x248)]))!=null?_0x506bf3:_0x5557ff[_0x1e727f(0x337)])+'/'+_0x2e512b+_0x1e727f(0x2ac)+_0x276d1a,_0xc8521c=new URL(window[_0x1e727f(0x3b4)][_0x1e727f(0x387)]),_0x52b87e={'scriptId':_0x2e512b,'runId':(_0x23caa7=_0xc8521c[_0x1e727f(0x294)][_0x1e727f(0x408)](_0x1e727f(0x467)))!=null?_0x23caa7:'','function':_0x276d1a,'unitId':_0x3cda5e[_0x1e727f(0x3fc)](),'argsOfFunction':JSON[_0x1e727f(0x33c)](_0x4a9d7a),'invokeId':(_0x52c6c9=_0x3f275a[_0x1e727f(0x2d7)])!=null?_0x52c6c9:'','executionId':(_0x3517bf=_0x3f275a[_0x1e727f(0x418)])!=null?_0x3517bf:''};try{const _0x3dec5e=await this[_0x1e727f(0x301)][_0x1e727f(0x355)](_0x542858,{'body':_0x52b87e});return _0x3dec5e[_0x1e727f(0x2ea)]['error']&&_0x3dec5e[_0x1e727f(0x2ea)]['error'][_0x1e727f(0x43c)]!==_0x5afc4b['OK']?_0x1e727f(0x246):_0x3dec5e[_0x1e727f(0x2ea)]['result'];}catch{return _0x1e727f(0x246);}}},_0x2becbd['RemoteUniscriptService']=_0x1be725([_0x348082(0x0,_0x49eaeb[_0x29a50d(0x33d)]),_0x348082(0x1,_0x49eaeb['Inject'](_0x23e63f['HTTPService'])),_0x348082(0x2,_0x49eaeb[_0x29a50d(0x37f)])],_0x2becbd[_0x29a50d(0x2c6)]),_0x2becbd[_0x29a50d(0x254)]=_0x56e298,_0x2becbd[_0x29a50d(0x313)]=_0x189700,_0x2becbd[_0x29a50d(0x44d)]=_0x3df6b2,_0x2becbd[_0x29a50d(0x20b)]=_0x524bf6,_0x2becbd[_0x29a50d(0x430)]=_0x46366a,Object[_0x29a50d(0x222)](_0x2becbd,Symbol[_0x29a50d(0x2a8)],{'value':'Module'});}));
|
|
1
|
+
function _0x1918(){const _0xfeb26f=['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationDataLoaderController','UniverNetwork','storage','ENSURE_SNAPSHOT_EXECUTION','setParam','_notificationService','...','ITransformService','replaceDocRanges','Optional','MessageType','1526656IYoZQe','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_updateLocalCursor','disableLocalCache','CollaborationUIEventId','textRanges','getActiveSheet','event$','getUndoRedoMutationParamsCache','_unitStatus','push','history','_startDocCollabCursor','AWAITING','collab-client.tooltip.reconnect','_unitOnClients','UniverEngineRender','WECHAT_HAS_BEEN_BOUND','session.connection-failed','Injector','collabStatus.notCollab','currentColor','EMAIL_HAS_BEEN_BOUND','getOwnPropertyDescriptor','_initEvent','3414303aFwmMG','location','CollaborationStatusDisplay','DocSkeletonManagerService','then','_docSkeletonManagerService','@univerjs/drawing','subscribeEvent','SYNCED','YUUMI_ASYNCIO_CANCELLED','isTransformMutationsWithChangesetSuccess','EffectRefRangId','closePath','imageSourceType','univer-flex\x20univer-mr-2\x20univer-text-[20px]','xlink:href','DocSelectionManagerService','@univerjs/core','replaceState','concat','_dataLoaderService','attrs','_localStorageService','UniverRpc','RemoteUniscriptService','WebURLService','IRemoteInstanceService','_imageIoService','_ensureSubject','_injector','UNAUTHENTICATED','onLocalMutation','undoState','Disposable','@univerjs/sheets','_selfUnitIDs','LICENSE_DISTRO_REJECTED','height','LOGIN_FAILED','mapTo','_render','restore','Plugin','icon','shareReplay','range','show','collabCursorState$','parse','focused$','_updateURLWithCurrentState','IMessageService','Tools','clsx','subUnitId','isActive','UniverIcon','_logService','_handleHover','object','SheetCollabCursorShape','_context','indexOf','_toggleOffline','UniverProCollaboration','UNIVER_SHEET','DOC_RANGE_TYPE','SessionStatus','takeUntil','saveOfflineData','hide','color','NOT_FOUND','Rect','_docTransformSelectionsService','length','_transformHistoryAndStateStack','getOwnPropertySymbols','118265UsFtvp','PY_RUNTIME_SCRIPT_ERROR','search','addObject','runId','getCoordByCell','setTimeout','stringify','_drawRectRange','random','colorChannel1','@univerjs/sheets-ui','getFocusedUnit','with','body','Rectangle','_messageService','AWAITING_WITH_PENDING','_httpService','split','PERMISSION_DENIED','executionId','CollaborationStatus','#fff','SNAPSHOT_HAS_BEEN_REMOVED','amd','addHandlerCallback','url(#off-line-single_clip0_910_343)','complete','collab-text-anchor-','ACTIVE_UNIT_EVENT_CHANNEL','entries','INVITE_CODE_REQUIRED','save','_cursorInfo$','UniverCollaborationClientPlugin','generateRandomId','@univerjs-pro/collaboration-client','use','_removeClearOtherTimer','params','unitID','getVpScrollXYInfoByPosToVp','getCollabCursors$','getSheetId','_textBubble','activeSheet$','YUUMI_RATE_OVER_LIMIT','runRefRangeMutations','_name','whenReady','@univerjs/docs','purple300','_clearOtherTimers','addObjects','makeDirty','tag','collaboration.closeRoom','_setupBeforeClosingHandler','handleInsertCol','runOnServer','getMemberID','_setupSubUnitSync','text','_sheetSkeletonManagerService','send','some','_transformService','collab-text-range-','ticket','univer-text-red-500','InsertRowCommandId','urlChange$','ranges','actions','@univerjs/docs-ui','doc.mutation.rich-text-editing','trim','onStarting','result','univerjs-icon\x20univerjs-icon-','RevisionService','_saveTaskMap','setActiveRange','deepClone','isEditing','m1Prime','_scene','_lastPointer','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_refRangeService','Error','data','_getSessionTicket','YUUMI_SUBSCRIPTION_NOT_FOUND','setAlpha','blue400','status$','_initStatusListener','createIdentifier','_collabCursorController','3lBSzIS','exhaustSavingTask','React','unit','handleInsertRangeMoveRight','transformIMECache','UPDATE_CURSOR','_removeCollabCursors','registerBeforeClose','pipe','_scheduleClearOtherTimer','_renderManagerService','YUUMI_UNABLE_LOAD_URL','black','defs','SetDocZoomRatioOperation','session.collaboration-timeout','Tooltip','_commandService','UniverSheets','getUnitId','merge','syncEditingCollabCursor','_revisionService','getCurrentSelections','uni.network.url-service','_initEntityListener','_updateSubUnitFromURLParams','max','collaboration-client.offline-data-not-saved','font','url(#$1','Vector2','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','children','_collabCursorState$','@univerjs/engine-render','off-line-single','IUIPartsService','RefRangeService','loadOfflineData','getCollabEntity$','includes','YUUMI_NO_CUBOID_FOR_QUESTION','from','DisposableCollection','registerDependencies','backgroundColor','_drawAnchor','_hideTimer','getDocRanges','onPointerEnter$','USERS_LEAVE','HTTPService','getValue','_range','assign','COLORS','CHANGESET_REVISION_CONFILICT','_cursorShapes','INVALID_INVITE_CODE','pushState','values','_hover','permission.content','rgba(255,\x20255,\x20255,\x200.01)','searchParams','filter','href','UniverProCollaborationClient','_handleEvent','createElement','IConfigService','selections','forEach','_session','measureText','size','Unknown\x20user','1516974THGUeG','_draw','column','ILocalCacheService','MOBILE_HAS_BEEN_BOUND','source','idSuffix','entityInit$','transformRemoteChangeset','CONFLICT','unsubscribe','getStateCache','_initStatusComponent','LOCAL_CACHE_INTERVAL','1em','Inject','fillStyle','CollaborationEvent','5yUGtYG','_init','assignAColorForMemberID','triggerDblclick','replace','DocCollaborationEntity','editingUnit','off-line-single_clip0_910_343','_collaborationUIEventService','enableLocalCache','transformStateCache','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','combineLatest','CollaborationController','_initCommandExecutedListener','cursorInfo','_backgroundColor','APPLY_NON_SEQUENTIAL_REVISION','init','_send','_shapes','clearTimeout','_docSkeleton','TOO_MANY_REQUESTS','toRgbString','_localeService','VIEW_MAIN','handleIRemoveCol','memberID','on-line-single_clip0_910_349','CollaborationUIEventService','collabStatus.synced','158443aWyFvr','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getSheetObject','startsWith','_handleLeaveEvent','_assignedColors','registerRenderModule','_createSocketURL','_disabled','getRenderById','SOCKET_FAILED_RETRY','eventID','_startSheetCollabCursor','transformMutationsWithChangeset','toString','_getMergeRange','addEventListener','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','popstate','_handleHeartbeatEvent','defineProperty','M0\x200H16V16H0z','onPointerLeave$','IRenderManagerService','code','ALREADY_EXISTS','_handleJoinEvent','IDocClipboardService','type','_hovered','substring','collab-rect-range-','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','findNodePositionByCharIndex','@univerjs-pro/collaboration','_refreshCollabCursors','react','className','switchMap','Shape','apply','getTypeOfUnitAdded$','_getSaveTimeout','distinctUntilChanged','_onCursorUpdate','IImageIoService','setStateCache','asObservable','LICENSE_IMPORT_SIZE_EXCEEDED','getActiveRange','handleInsertRangeMoveDown','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','transformMutation','LOCAL_CACHE_INTERVAL_KEY','getConfig','getSkeleton','SetSelectionsOperation','fillRule','_anchor','requireSession','DependentOn','univer-flex\x20univer-items-center','transformSelections','handleMoveRange','jsx','_docTransformIMECacheService','toDisposable','_color','_scheduleSaving','hovered','setShapeProps','_roomMembers$','DeleteRangeMoveLeftCommandId','name','arc','_collabSessionService','ThemeService','CONNECTOR_DATA_TOO_LARGE','set','getColor','_updateCollabCursors','IUniverInstanceService','RichTextEditingMutation','_entityInit$','_heartbeatTimer','DocStateChangeManagerService','getCurrentUnitForType','LICENSE_EXPORT_SIZE_EXCEEDED','prototype','ISnapshotServerService','hasOwnProperty','_cursor','UniverDesign','getCellPositionByOffset','string','unitId','rxjs','UniverEngineFormula','getUnitStatus$','jsxs','MemberService','NodePositionConvertToRectRange','mask','_status$','BrowserCollaborationSocketService','debounce','OTHER_CLIENT_EDITING','_uiPartsService','CollaborationSocketService','loadUnit','error','_online','ColorKit','onRendered','RemoveColCommandId','call','isArray','_configService','_transformPreviousActiveRange','DataLoaderService','dispose$','bottom','evenodd','_urlService','cursorInfo$','subunit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getSheetObject','LocaleService','RegularPolygon','red300','ILocalStorageService','getTypeOfUnitDisposed$','INTERNAL_ERROR','rxjs/operators','useCallback','_onRefRangeChange','_labelPosition','UniverDocs','UNRECOGNIZED','min','top','SHEET_VIEWPORT_KEY','translate(.97)','_instanceService','BehaviorSubject','collabStatus.conflict','OFFLINE','UniverProCollaborationClientUi','sheetID','_memberService','getMergeData','getRangePointData','_getAnchorBounding','UniverInstanceType','ICommandService','m2Prime','TEXT_RANGE_LAYER_INDEX','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','deserializeRangeWithSheet','DocIMEInputManagerService','_cachedData','1104600HiHWAu','_colorIndex','FromArray','onCommandExecuted','_docClipboardService','current','beginPath','permission.title','handleInsertRow','redoState','_docTransformStateCacheService','serializeRangeWithSheet','_themeService','labelPosition','lineTo','useDependency','_univerInstanceService','selection','TRANSFORM_CHANGE_OBSERVABLE_TYPE','SheetsSelectionsService','round','_saveCache','ONLINE','getAncestorScale','ILogService','_colorAssignService','onMouseMove','handleDeleteRangeMoveLeft','all','0\x200\x2016\x2016','roomMembers','post','getUniverSheetInstance','svg','none','getUnhiddenWorksheets','INotificationService','map','getSheetBySheetId','has','updateOfflineData','moveTo','currentSkeleton$','path','setUndoRedoMutationParamsCache','currentTheme$','USER_NOT_INVITED_CODE','sessionStatus$','_anchorDot','_id','DEFAULT_WS_SESSION_TICKET_URL','_eventUnsubscribe','roomMembers$','NOT_COLLAB','get','dispose','gold400','NO_OTHER_CLIENTS_EDITING','UNIVER_DOC','url(#on-line-single_clip0_910_349)','debug','getMember','_localCacheService','_onCursorDelete','CollaborationSessionService','react/jsx-runtime','delete','useRef','MoveRangeCommandId','getLocalCacheKey','1146198HhVMqK','collabStatus.fetchMiss','div','saveTaskMap','InsertColCommandId','INVITE_CODE_HAS_BEEN_UES','extend','skeleton','exports','clearInterval','fromEventSubject','row','contains','subscribe','_docSyncEditingCollabCursorService','_docStateChangeManagerService','defIds','SetTextSelectionsOperation','next','COMPLETION_FINISHED','_config','_collaborationController','@univerjs/ui','RemoveRowCommandId','width','function','add','_beforeCloseService','TEXT','startColumn','reconnect','setItem','CLOSE_ROOM','INVITE_CODE_ALREADY_BOUND','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','fromEvent','@univerjs/network','RECT','createInstance','UniverUi','@univerjs/rpc','getRelativeToViewportCoord','ISocketService','PENDING','UniverCollaborationClientUIPlugin','fill','debounceTime','_initResize','[CollaborationDataLoaderController]','APPLY_PERMISSION_DENIED','_registerRenderDependencies','IURLService','displayName','SNAPSHOT_INVALID_SNAPSHOT','UNDEFINED','_toggleOnline','getParam','invokeId','_registerDependencies','@univerjs/engine-formula','Failed','getItem','UnitStatus','docStateChange$','RxDisposable','forwardRef','_doCreateSocket','DesktopCollaborationStatusDisplayController','getCurrent','mutations','INVALID_ARGUMENT','APPLY_REJECT','Warning','#FFF','isTransformMutationFailure','MUTATION','removeParam','_cursors','transform','handleDeleteRangeMoveUp','_syncEditingCollabCursorService','_entities','_getScale','InsertRangeMoveDownCommandId','drawWith','getOffsetConfig','disposeWithMe','resize','_drawTextRange','unshift','onPointerMove$','_transformUndoRedoStack','fillText'];_0x1918=function(){return _0xfeb26f;};return _0x1918();}function _0x4c0a(_0x47ddfb,_0x5d3338){const _0x19186a=_0x1918();return _0x4c0a=function(_0x4c0a16,_0x3a7790){_0x4c0a16=_0x4c0a16-0x1a8;let _0x5f0868=_0x19186a[_0x4c0a16];return _0x5f0868;},_0x4c0a(_0x47ddfb,_0x5d3338);}(function(_0x92917,_0x533afe){const _0x52ea09=_0x4c0a,_0x5b744e=_0x92917();while(!![]){try{const _0x133a40=-parseInt(_0x52ea09(0x432))/0x1+parseInt(_0x52ea09(0x27c))/0x2*(parseInt(_0x52ea09(0x3b1))/0x3)+-parseInt(_0x52ea09(0x2e5))/0x4+parseInt(_0x52ea09(0x412))/0x5*(-parseInt(_0x52ea09(0x400))/0x6)+parseInt(_0x52ea09(0x34c))/0x7+parseInt(_0x52ea09(0x236))/0x8+parseInt(_0x52ea09(0x2fe))/0x9;if(_0x133a40===_0x533afe)break;else _0x5b744e['push'](_0x5b744e['shift']());}catch(_0x2c962f){_0x5b744e['push'](_0x5b744e['shift']());}}}(_0x1918,0x4cc84),function(_0x3d8748,_0x33af46){const _0x2faeaf=_0x4c0a;typeof exports==_0x2faeaf(0x339)&&typeof module<'u'?_0x33af46(exports,require('@univerjs-pro/collaboration-client'),require(_0x2faeaf(0x30f)),require(_0x2faeaf(0x3d5)),require(_0x2faeaf(0x2a0)),require(_0x2faeaf(0x397)),require(_0x2faeaf(0x304)),require(_0x2faeaf(0x1f4)),require(_0x2faeaf(0x37f)),require(_0x2faeaf(0x1b5)),require('@univerjs/engine-formula'),require(_0x2faeaf(0x320)),require('rxjs/operators'),require(_0x2faeaf(0x357)),require(_0x2faeaf(0x277)),require(_0x2faeaf(0x292)),require('@univerjs/design'),require(_0x2faeaf(0x1b7)),require('@univerjs/rpc')):typeof define==_0x2faeaf(0x295)&&define[_0x2faeaf(0x365)]?define([_0x2faeaf(0x284),_0x2faeaf(0x371),_0x2faeaf(0x30f),'@univerjs/engine-render',_0x2faeaf(0x2a0),_0x2faeaf(0x397),'@univerjs/drawing',_0x2faeaf(0x1f4),_0x2faeaf(0x37f),_0x2faeaf(0x1b5),_0x2faeaf(0x2b7),'@univerjs/sheets',_0x2faeaf(0x21a),_0x2faeaf(0x357),'react/jsx-runtime',_0x2faeaf(0x292),'@univerjs/design',_0x2faeaf(0x1b7),_0x2faeaf(0x2a4)],_0x33af46):(_0x3d8748=typeof globalThis<'u'?globalThis:_0x3d8748||self,_0x33af46(_0x3d8748[_0x2faeaf(0x228)]={},_0x3d8748[_0x2faeaf(0x3f6)],_0x3d8748['UniverCore'],_0x3d8748[_0x2faeaf(0x2f5)],_0x3d8748[_0x2faeaf(0x2db)],_0x3d8748['UniverDocsUi'],_0x3d8748['UniverDrawing'],_0x3d8748[_0x2faeaf(0x1f4)],_0x3d8748[_0x2faeaf(0x21e)],_0x3d8748[_0x2faeaf(0x33e)],_0x3d8748[_0x2faeaf(0x1f5)],_0x3d8748[_0x2faeaf(0x3c4)],_0x3d8748[_0x2faeaf(0x1f4)]['operators'],_0x3d8748['UniverSheetsUi'],_0x3d8748[_0x2faeaf(0x3b3)],_0x3d8748[_0x2faeaf(0x2a3)],_0x3d8748[_0x2faeaf(0x1f0)],_0x3d8748[_0x2faeaf(0x3b3)],_0x3d8748[_0x2faeaf(0x315)]));}(this,function(_0x41c194,_0x41dc5f,_0x42b304,_0x409358,_0x43144b,_0x16bb92,_0x187cfb,_0x34f1d4,_0x4e9cff,_0x30bf61,_0x18abe9,_0x29d4a1,_0x18aa85,_0x58ab2b,_0x4d12c8,_0x264d8f,_0x2e5ccb,_0x295c09,_0x3b97e1){'use strict';const _0x540b42=_0x4c0a;var _0x22bf67=Object['defineProperty'],_0x464290=(_0x157ae7,_0x381660,_0x2ed048)=>_0x381660 in _0x157ae7?_0x22bf67(_0x157ae7,_0x381660,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ed048}):_0x157ae7[_0x381660]=_0x2ed048,_0x432cc5=(_0x5d969f,_0x1ac878,_0xddc146)=>_0x464290(_0x5d969f,typeof _0x1ac878!='symbol'?_0x1ac878+'':_0x1ac878,_0xddc146),_0x291583=Object[_0x540b42(0x2fc)],_0x278c3f=(_0x51ee06,_0x46b794,_0x266719,_0x559cf7)=>{const _0x331131=_0x540b42;for(var _0x26a961=_0x559cf7>0x1?void 0x0:_0x559cf7?_0x291583(_0x46b794,_0x266719):_0x46b794,_0x24116a=_0x51ee06[_0x331131(0x349)]-0x1,_0x204ffc;_0x24116a>=0x0;_0x24116a--)(_0x204ffc=_0x51ee06[_0x24116a])&&(_0x26a961=_0x204ffc(_0x26a961)||_0x26a961);return _0x26a961;},_0x457059=(_0x384d19,_0x3fb87c)=>(_0x21315c,_0xd9ecad)=>_0x3fb87c(_0x21315c,_0xd9ecad,_0x384d19);let _0x55be9f=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x197b6d,_0x26121a){const _0x4f78a9=_0x540b42;super(),this['_docClipboardService']=_0x197b6d,this[_0x4f78a9(0x319)]=_0x26121a,this['_init']();}[_0x540b42(0x413)](){const _0x5de0b6=_0x540b42,_0x9530f=this;this[_0x5de0b6(0x2d2)](this[_0x5de0b6(0x23a)]['addClipboardHook']({'onBeforePasteImage':async _0x1c4a58=>{const _0xb7b935=_0x5de0b6,_0x598bed=await _0x9530f[_0xb7b935(0x319)]['saveImage'](_0x1c4a58);return _0x598bed?{'source':_0x598bed[_0xb7b935(0x405)],'imageSourceType':_0x598bed[_0xb7b935(0x30b)]}:null;}}));}};_0x55be9f=_0x278c3f([_0x457059(0x0,_0x16bb92[_0x540b42(0x1ae)]),_0x457059(0x1,_0x187cfb[_0x540b42(0x1c0)])],_0x55be9f);const _0x5d91df=[_0x540b42(0x380),'jiqing500','verdancy600',_0x540b42(0x216),_0x540b42(0x3ac),_0x540b42(0x26e)];class _0x4fb46b extends _0x42b304[_0x540b42(0x31f)]{constructor(){const _0x29ebc1=_0x540b42;super(...arguments),_0x432cc5(this,_0x29ebc1(0x437),new Map()),_0x432cc5(this,_0x29ebc1(0x237),0x0);}['assignAColorForMemberID'](_0x21ca4c){const _0x66e344=_0x540b42;if(this[_0x66e344(0x437)]['has'](_0x21ca4c))return this[_0x66e344(0x437)][_0x66e344(0x26c)](_0x21ca4c);const _0x25d0bb=_0x5d91df[this[_0x66e344(0x237)]];return this['_colorIndex']=(this[_0x66e344(0x237)]+0x1)%_0x5d91df['length'],this[_0x66e344(0x437)]['set'](_0x21ca4c,_0x25d0bb),_0x25d0bb;}}function _0x35765b(_0x340fab){const _0x3575e0=_0x540b42;let _0x58f685='';for(const _0x2d01b4 of _0x340fab){const {startOffset:_0x132d7a,endOffset:_0x5bf86b,isActive:_0x167266,rangeType:_0x5e9e7b,segmentId:_0x4c7890,segmentPage:_0x1ea898}=_0x2d01b4;_0x58f685[_0x3575e0(0x349)]&&(_0x58f685+=','),_0x58f685+=_0x132d7a+':'+_0x5bf86b+':'+(_0x167266?'1':'0')+':'+_0x5e9e7b+':'+_0x4c7890+':'+_0x1ea898;}return _0x58f685;}function _0x47a7cc(_0x4e8388){const _0x3bc84f=_0x540b42,_0x314756=_0x4e8388[_0x3bc84f(0x35f)](','),_0x22b4ac=[];for(const _0x598564 of _0x314756){const [_0x29ed57,_0x313046,_0x1dc7b1,_0x4eee4b,_0x22ebfc,_0x1928aa]=_0x598564['split'](':');_0x22b4ac[_0x3bc84f(0x2ef)]({'startOffset':Number(_0x29ed57),'endOffset':Number(_0x313046),'collapsed':_0x29ed57===_0x313046,'isActive':_0x1dc7b1==='1','rangeType':_0x4eee4b===_0x42b304['DOC_RANGE_TYPE'][_0x3bc84f(0x298)]?_0x42b304[_0x3bc84f(0x340)][_0x3bc84f(0x298)]:_0x42b304[_0x3bc84f(0x340)]['RECT'],'segmentId':typeof _0x22ebfc==_0x3bc84f(0x1f2)?String(_0x22ebfc):'','segmentPage':Number(_0x1928aa!=null?_0x1928aa:-0x1)});}return _0x22b4ac[_0x3bc84f(0x38e)](_0x29b7b3=>_0x29b7b3[_0x3bc84f(0x335)])||(_0x22b4ac[0x0][_0x3bc84f(0x335)]=!0x0),_0x22b4ac;}class _0x42f10f extends _0x42b304[_0x540b42(0x2bc)]{constructor(){const _0x3634e4=_0x540b42;super(...arguments),_0x432cc5(this,_0x3634e4(0x3d4),new _0x34f1d4[(_0x3634e4(0x225))](null)),_0x432cc5(this,_0x3634e4(0x32d),this[_0x3634e4(0x3d4)]['asObservable']());}[_0x540b42(0x3c7)](_0x3a700e){const _0x244b48=_0x540b42,{unitID:_0x1db647,memberID:_0x3fc32f,textRanges:_0x294bfb}=_0x3a700e,_0x3d91c6=_0x35765b(_0x294bfb);if(_0x3d91c6==='')return;const _0x13e624={'unitID':_0x1db647,'memberID':_0x3fc32f,'selection':_0x3d91c6};this[_0x244b48(0x3d4)][_0x244b48(0x28e)](_0x13e624);}}var _0x501578=Object[_0x540b42(0x2fc)],_0x52d4fe=(_0x2f3c58,_0x2d9c82,_0x57ca3f,_0x56ac17)=>{for(var _0x2f09fe=_0x56ac17>0x1?void 0x0:_0x56ac17?_0x501578(_0x2d9c82,_0x57ca3f):_0x2d9c82,_0x299a7e=_0x2f3c58['length']-0x1,_0x31a8d8;_0x299a7e>=0x0;_0x299a7e--)(_0x31a8d8=_0x2f3c58[_0x299a7e])&&(_0x2f09fe=_0x31a8d8(_0x2f09fe)||_0x2f09fe);return _0x2f09fe;},_0xe09db3=(_0x1f55d,_0x2857fd)=>(_0x4131e1,_0x35c4db)=>_0x2857fd(_0x4131e1,_0x35c4db,_0x1f55d);const _0xfb8d78=0x12c,_0x2b19dd=0x64;let _0x39645a=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x427994,_0x2e1245,_0x5eee58,_0x164a73,_0x300537,_0x5943ec,_0x1871a8,_0x40affd,_0x4838c9){const _0x38244=_0x540b42;super(),_0x432cc5(this,_0x38244(0x203),!0x1),_0x432cc5(this,_0x38244(0x413),!0x1),_0x432cc5(this,_0x38244(0x36e),new _0x34f1d4[(_0x38244(0x225))](new Map())),_0x432cc5(this,_0x38244(0x210),this[_0x38244(0x36e)]['asObservable']()),_0x432cc5(this,_0x38244(0x1db),new _0x34f1d4[(_0x38244(0x225))]([])),_0x432cc5(this,_0x38244(0x26a),this[_0x38244(0x1db)][_0x38244(0x3ba)](_0x34f1d4[_0x38244(0x2aa)](_0xfb8d78))),_0x432cc5(this,'_updateLocalCursor',_0x42b304[_0x38244(0x1fd)](_0x453fe5=>{const _0x2a2eba=_0x38244,_0x39e2c9={'eventID':_0x30bf61['CollaborationEvent'][_0x2a2eba(0x3b7)],'data':{'unitID':this[_0x2a2eba(0x375)],'memberID':this[_0x2a2eba(0x3fc)][_0x2a2eba(0x389)](),'selection':_0x35765b(_0x453fe5)}};this[_0x2a2eba(0x3fc)][_0x2a2eba(0x38d)](_0x39e2c9,this[_0x2a2eba(0x375)]);},_0x2b19dd)),(this['unitID']=_0x427994,this[_0x38244(0x3fc)]=_0x2e1245,this[_0x38244(0x31b)]=_0x5eee58,this[_0x38244(0x24f)]=_0x164a73,this[_0x38244(0x22a)]=_0x300537,this[_0x38244(0x2cc)]=_0x5943ec,this[_0x38244(0x38f)]=_0x1871a8,this['_univerInstanceService']=_0x40affd,this['_commandService']=_0x4838c9);}get[_0x540b42(0x421)](){const _0x273319=_0x540b42;return this[_0x273319(0x36e)][_0x273319(0x3e7)]();}get['roomMembers'](){const _0x28edc=_0x540b42;return this[_0x28edc(0x1db)]['getValue']();}['dispose'](){const _0x3c8702=_0x540b42;super[_0x3c8702(0x26d)](),this[_0x3c8702(0x36e)][_0x3c8702(0x28e)](new Map()),this[_0x3c8702(0x36e)]['complete'](),this['_roomMembers$'][_0x3c8702(0x28e)]([]),this[_0x3c8702(0x1db)]['complete']();}[_0x540b42(0x424)](){const _0x52fa17=_0x540b42;this[_0x52fa17(0x413)]||(this[_0x52fa17(0x413)]=!0x0,this[_0x52fa17(0x3fc)]['sessionStatus$'][_0x52fa17(0x3ba)](_0x34f1d4[_0x52fa17(0x342)](this['dispose$']))['subscribe'](_0x5cdfc7=>{const _0x408821=_0x52fa17;_0x5cdfc7===_0x41dc5f[_0x408821(0x341)]['ONLINE']?this[_0x408821(0x2b3)]():this[_0x408821(0x33d)]();}),this[_0x52fa17(0x3fc)]['event$'][_0x52fa17(0x3ba)](_0x34f1d4[_0x52fa17(0x342)](this[_0x52fa17(0x20c)]))[_0x52fa17(0x289)](_0x34119a=>{const _0x5aa72f=_0x52fa17,_0x56a9a5=_0x34119a[_0x5aa72f(0x43d)];_0x56a9a5===_0x30bf61[_0x5aa72f(0x411)][_0x5aa72f(0x3b7)]&&this[_0x5aa72f(0x1bf)](_0x34119a),_0x56a9a5===_0x30bf61[_0x5aa72f(0x411)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x34119a);}),this['disposeWithMe'](this[_0x52fa17(0x3c3)]['onCommandExecuted'](_0x1860b2=>{const _0x25afaa=_0x52fa17,_0x546d10=_0x1860b2['params'];_0x546d10!=null&&this[_0x25afaa(0x203)]&&_0x1860b2['id']===_0x4e9cff[_0x25afaa(0x28d)]['id']&&_0x546d10[_0x25afaa(0x1f3)]===this[_0x25afaa(0x375)]&&_0x546d10[_0x25afaa(0x3a1)]===!0x1&&_0x546d10[_0x25afaa(0x395)][_0x25afaa(0x349)]>0x0&&this[_0x25afaa(0x2e7)](_0x546d10[_0x25afaa(0x395)]);})),this[_0x52fa17(0x2cc)][_0x52fa17(0x32d)][_0x52fa17(0x3ba)](_0x34f1d4[_0x52fa17(0x342)](this[_0x52fa17(0x20c)]))['subscribe'](_0x5104ff=>{const _0x512589=_0x52fa17;if((_0x5104ff==null?void 0x0:_0x5104ff[_0x512589(0x375)])!==this[_0x512589(0x375)])return;const _0x235675={'eventID':_0x30bf61['CollaborationEvent'][_0x512589(0x3b7)],'data':_0x5104ff};this[_0x512589(0x1bf)](_0x235675);}),this[_0x52fa17(0x2d2)](this[_0x52fa17(0x3c3)]['onCommandExecuted'](_0x3c0550=>{const _0x81246b=_0x52fa17;if(_0x3c0550[_0x81246b(0x374)]==null)return;const _0x264df1=_0x3c0550['params'];if(_0x3c0550['id']!==_0x4e9cff[_0x81246b(0x1e6)]['id']||_0x264df1['unitId']!==this[_0x81246b(0x375)])return;const _0x30bffc={'id':_0x81246b(0x398),'params':_0x264df1},_0x33f12a=this[_0x81246b(0x421)];for(const [_0x2d83be,_0x4c5b12]of _0x33f12a){const _0x4db4c2={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x81246b(0x375)],'actions':null,'textRanges':_0x4c5b12[_0x81246b(0x395)]}},_0x1e64e9=this[_0x81246b(0x38f)][_0x81246b(0x1c8)](_0x30bffc,_0x4db4c2,!0x1);if(_0x30bf61[_0x81246b(0x2c6)](_0x1e64e9))throw _0x1e64e9[_0x81246b(0x202)];_0x33f12a['set'](_0x2d83be,{..._0x4c5b12,'ranges':_0x1e64e9[_0x81246b(0x230)][_0x81246b(0x374)][_0x81246b(0x2ea)]});}queueMicrotask(()=>{const _0x38b8cd=_0x81246b;this[_0x38b8cd(0x36e)]['next'](_0x33f12a);});})));}[_0x540b42(0x1bf)](_0x3788e4){const _0x18027c=_0x540b42;var _0x380c88,_0x42b578;const {memberID:_0x284a46,selection:_0x3e0740}=_0x3788e4[_0x18027c(0x3a8)],_0x27326a=_0x47a7cc(_0x3e0740),_0x4cbd9b=(_0x42b578=(_0x380c88=this[_0x18027c(0x22a)][_0x18027c(0x273)](this[_0x18027c(0x375)],_0x284a46))==null?void 0x0:_0x380c88[_0x18027c(0x1dd)])!=null?_0x42b578:_0x18027c(0x3ff),_0x5e9731={'color':this['_colorAssignService'][_0x18027c(0x414)](_0x284a46),'name':_0x4cbd9b,'ranges':_0x27326a},_0x408de8=this[_0x18027c(0x421)];_0x408de8[_0x18027c(0x1e2)](_0x284a46,_0x5e9731),this[_0x18027c(0x36e)][_0x18027c(0x28e)](_0x408de8);}[_0x540b42(0x275)](_0x19925a){const _0x4db940=_0x540b42,{memberID:_0x490a48}=_0x19925a['data'],_0x59dd8e=this['cursorInfo'];_0x59dd8e[_0x4db940(0x278)](_0x490a48),this[_0x4db940(0x36e)][_0x4db940(0x28e)](_0x59dd8e);}[_0x540b42(0x2b3)](){const _0x5e24ce=_0x540b42;var _0x381081;if(this['_online']=!0x0,((_0x381081=this[_0x5e24ce(0x246)][_0x5e24ce(0x358)]())==null?void 0x0:_0x381081['getUnitId']())!==this[_0x5e24ce(0x375)])return;const _0x29ff16=this[_0x5e24ce(0x31b)][_0x5e24ce(0x26c)](_0x4e9cff[_0x5e24ce(0x30e)])[_0x5e24ce(0x3e3)]();Array[_0x5e24ce(0x208)](_0x29ff16)&&_0x29ff16['length']>0x0&&this['_updateLocalCursor'](_0x29ff16);}[_0x540b42(0x33d)](){this['_online']=!0x1;}};_0x39645a=_0x52d4fe([_0xe09db3(0x2,_0x42b304[_0x540b42(0x40f)](_0x42b304['Injector'])),_0xe09db3(0x3,_0x42b304[_0x540b42(0x40f)](_0x4fb46b)),_0xe09db3(0x4,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x1f8)])),_0xe09db3(0x5,_0x42b304['Inject'](_0x42f10f)),_0xe09db3(0x6,_0x30bf61['ITransformService']),_0xe09db3(0x7,_0x42b304[_0x540b42(0x1e5)]),_0xe09db3(0x8,_0x42b304[_0x540b42(0x22f)])],_0x39645a);var _0x4a6ed8=Object['getOwnPropertyDescriptor'],_0x3a3fa4=(_0x9169f,_0xf5af16,_0x22dfcf,_0x2c4ec0)=>{const _0x41266a=_0x540b42;for(var _0x4276d0=_0x2c4ec0>0x1?void 0x0:_0x2c4ec0?_0x4a6ed8(_0xf5af16,_0x22dfcf):_0xf5af16,_0x101439=_0x9169f[_0x41266a(0x349)]-0x1,_0x2841fd;_0x101439>=0x0;_0x101439--)(_0x2841fd=_0x9169f[_0x101439])&&(_0x4276d0=_0x2841fd(_0x4276d0)||_0x4276d0);return _0x4276d0;},_0x249718=(_0x2d603b,_0x3a9de8)=>(_0x1de72d,_0x31000a)=>_0x3a9de8(_0x1de72d,_0x31000a,_0x2d603b);const _0x4b3414=0x12c,_0x186d0f=0x64,_0x415fc3=()=>{let _0x5ed298=[],_0xf6e759=!0x1;return _0x2693e3=>{const _0x1d8ad6=_0x4c0a;_0x5ed298[_0x1d8ad6(0x2ef)](_0x2693e3),_0xf6e759||(_0xf6e759=!0x0,setTimeout(()=>{_0x5ed298['forEach'](_0x31685c=>_0x31685c()),_0x5ed298=[],_0xf6e759=!0x1;}));};};let _0x4c605a=class extends _0x42b304['RxDisposable']{constructor(_0x2c0d58,_0x517218,_0x434bd1,_0x1265e6,_0x44c38b,_0x19eee0,_0x1926f9,_0x2ed14c){const _0x59b2a7=_0x540b42;super(),_0x432cc5(this,'_online',!0x1),_0x432cc5(this,_0x59b2a7(0x413),!0x1),_0x432cc5(this,_0x59b2a7(0x36e),new _0x34f1d4['BehaviorSubject'](new Map())),_0x432cc5(this,_0x59b2a7(0x210),this[_0x59b2a7(0x36e)]['asObservable']()),_0x432cc5(this,_0x59b2a7(0x1db),new _0x34f1d4[(_0x59b2a7(0x225))]([])),_0x432cc5(this,_0x59b2a7(0x26a),this[_0x59b2a7(0x1db)][_0x59b2a7(0x3ba)](_0x34f1d4[_0x59b2a7(0x2aa)](_0x4b3414))),_0x432cc5(this,_0x59b2a7(0x2e7),_0x42b304['debounce']((_0x33d568,_0x3982fa)=>{const _0x567e95=_0x59b2a7,_0x162af1={'eventID':_0x30bf61[_0x567e95(0x411)][_0x567e95(0x3b7)],'data':{'unitID':this[_0x567e95(0x375)],'memberID':this[_0x567e95(0x3fc)][_0x567e95(0x389)](),'selection':_0x18abe9[_0x567e95(0x241)](_0x33d568,_0x3982fa[_0x567e95(0x32b)])}};this[_0x567e95(0x3fc)][_0x567e95(0x38d)](_0x162af1,this[_0x567e95(0x375)]);},_0x186d0f)),(this[_0x59b2a7(0x375)]=_0x2c0d58,this[_0x59b2a7(0x3fc)]=_0x517218,this[_0x59b2a7(0x31b)]=_0x434bd1,this[_0x59b2a7(0x24f)]=_0x1265e6,this[_0x59b2a7(0x22a)]=_0x44c38b,this[_0x59b2a7(0x246)]=_0x19eee0,this[_0x59b2a7(0x3c3)]=_0x1926f9,this['_refRangeService']=_0x2ed14c);}get[_0x540b42(0x421)](){const _0x5e87bc=_0x540b42;return this[_0x5e87bc(0x36e)][_0x5e87bc(0x3e7)]();}get[_0x540b42(0x254)](){const _0x1a9aa4=_0x540b42;return this[_0x1a9aa4(0x1db)]['getValue']();}['dispose'](){const _0x2445be=_0x540b42;super[_0x2445be(0x26d)](),this[_0x2445be(0x36e)][_0x2445be(0x28e)](new Map()),this[_0x2445be(0x36e)][_0x2445be(0x368)](),this[_0x2445be(0x1db)]['next']([]),this['_roomMembers$']['complete']();}[_0x540b42(0x424)](){const _0xc56704=_0x540b42;this[_0xc56704(0x413)]||(this[_0xc56704(0x413)]=!0x0,this[_0xc56704(0x3fc)][_0xc56704(0x265)][_0xc56704(0x3ba)](_0x34f1d4[_0xc56704(0x342)](this[_0xc56704(0x20c)]))[_0xc56704(0x289)](_0xdbd3af=>{const _0x7f7f12=_0xc56704;_0xdbd3af===_0x41dc5f['SessionStatus'][_0x7f7f12(0x24c)]?this[_0x7f7f12(0x2b3)]():this['_toggleOffline']();}),this[_0xc56704(0x3fc)][_0xc56704(0x2ec)][_0xc56704(0x3ba)](_0x34f1d4[_0xc56704(0x342)](this[_0xc56704(0x20c)]))['subscribe'](_0x143680=>{const _0x419a28=_0xc56704,_0x8748d5=_0x143680['eventID'];_0x8748d5===_0x30bf61[_0x419a28(0x411)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x143680),_0x8748d5===_0x30bf61[_0x419a28(0x411)][_0x419a28(0x3e5)]&&this[_0x419a28(0x275)](_0x143680);}),this[_0xc56704(0x21c)](),this[_0xc56704(0x2d2)](this[_0xc56704(0x3c3)]['onCommandExecuted'](_0x1d8404=>{const _0x2d2ea9=_0xc56704;if(this['_online']&&_0x1d8404['id']===_0x29d4a1[_0x2d2ea9(0x1cc)]['id']&&_0x1d8404[_0x2d2ea9(0x374)][_0x2d2ea9(0x1f3)]===this[_0x2d2ea9(0x375)]){const _0xbe1d20=_0x1d8404[_0x2d2ea9(0x374)];this[_0x2d2ea9(0x2e7)](_0xbe1d20[_0x2d2ea9(0x334)],_0xbe1d20[_0x2d2ea9(0x3fa)][0x0]);}})));}[_0x540b42(0x1bf)](_0x3b3d5d){const _0x1dc1a2=_0x540b42;var _0x33780c,_0x18bda8;const {memberID:_0x3f997d,selection:_0x4613a4}=_0x3b3d5d[_0x1dc1a2(0x3a8)],{sheetName:_0x3650f6,range:_0x79544a}=_0x18abe9[_0x1dc1a2(0x233)](_0x4613a4),_0x5a0193={'name':(_0x18bda8=(_0x33780c=this[_0x1dc1a2(0x22a)][_0x1dc1a2(0x273)](this[_0x1dc1a2(0x375)],_0x3f997d))==null?void 0x0:_0x33780c['name'])!=null?_0x18bda8:'Unknown\x20user','range':this[_0x1dc1a2(0x441)](_0x3650f6,_0x79544a),'sheetID':_0x3650f6,'color':this['_colorAssignService'][_0x1dc1a2(0x414)](_0x3f997d),'selection':_0x4613a4},_0x41debb=this['cursorInfo'];_0x41debb[_0x1dc1a2(0x1e2)](_0x3f997d,_0x5a0193),this[_0x1dc1a2(0x36e)]['next'](_0x41debb);}[_0x540b42(0x275)](_0x4ad40d){const _0x20ae4e=_0x540b42,{memberID:_0x30a8ea}=_0x4ad40d[_0x20ae4e(0x3a8)],_0x4d75fb=this['cursorInfo'];_0x4d75fb[_0x20ae4e(0x278)](_0x30a8ea),this[_0x20ae4e(0x36e)][_0x20ae4e(0x28e)](_0x4d75fb);}[_0x540b42(0x441)](_0x119265,_0x2093f1){const _0x53953a=_0x540b42;var _0x50cc99,_0x5d0044;const _0x488e6a=(_0x5d0044=(_0x50cc99=this[_0x53953a(0x246)][_0x53953a(0x256)](this[_0x53953a(0x375)]))==null?void 0x0:_0x50cc99[_0x53953a(0x25c)](_0x119265))==null?void 0x0:_0x5d0044[_0x53953a(0x22b)]();return(_0x488e6a==null?void 0x0:_0x488e6a['find'](_0x5c374a=>_0x42b304[_0x53953a(0x35b)][_0x53953a(0x288)](_0x5c374a,_0x2093f1)))||_0x2093f1;}['_onRefRangeChange'](){const _0x5a11f5=_0x540b42,_0x1f2511=new _0x42b304[(_0x5a11f5(0x3de))](),_0x2320f2=_0x415fc3(),_0x4ab144=()=>{const _0x5eed97=_0x5a11f5;_0x1f2511[_0x5eed97(0x26d)]();const _0x16916f=(_0x4dd387,_0x4723ed,_0x4fbddb,_0x38012c)=>{const _0x315d0e=_0x5eed97;let _0x5f10cb=[];switch(_0x4dd387['id']){case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x1dc)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x251)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)]['DeleteRangeMoveUpCommandId']:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x2cb)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId'][_0x315d0e(0x280)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x387)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId'][_0x315d0e(0x2cf)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x1c5)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x3b5)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId'][_0x315d0e(0x393)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x23e)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x27a)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x1d3)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x206)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x42d)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x293)]:{_0x5f10cb=_0x29d4a1['handleIRemoveRow'](_0x4dd387,_0x38012c);break;}}const _0x33c354=_0x29d4a1[_0x315d0e(0x37c)](_0x5f10cb,_0x38012c),_0x15f884=this[_0x315d0e(0x421)][_0x315d0e(0x26c)](_0x4723ed);if(_0x15f884&&_0x33c354){const _0x5aac38={..._0x15f884,'range':_0x33c354};this['cursorInfo'][_0x315d0e(0x1e2)](_0x4723ed,_0x5aac38),_0x2320f2(()=>{const _0xbe6dd8=_0x315d0e,_0x36294b=this[_0xbe6dd8(0x3a6)]['registerRefRange'](_0x33c354,_0x5ce7f0=>(_0x36294b['dispose'](),_0x16916f(_0x5ce7f0,_0x4723ed,_0x4fbddb,_0x33c354)));_0x1f2511[_0xbe6dd8(0x296)](_0x36294b);});}return{'redos':[],'undos':[]};};this[_0x5eed97(0x421)][_0x5eed97(0x3fb)]((_0x1b1cf5,_0xd85b40)=>{const _0x74206a=_0x5eed97,{range:_0x510c57,sheetID:_0xf59ff8}=_0x1b1cf5,_0x829908=this[_0x74206a(0x3a6)]['registerRefRange'](_0x510c57,_0x4ff24a=>(_0x829908[_0x74206a(0x26d)](),_0x16916f(_0x4ff24a,_0xd85b40,_0xf59ff8,_0x510c57)));_0x1f2511[_0x74206a(0x296)](_0x829908);});};this[_0x5a11f5(0x2d2)](_0x42b304[_0x5a11f5(0x1d6)](this[_0x5a11f5(0x36e)][_0x5a11f5(0x289)](()=>{_0x4ab144();})));}['_toggleOnline'](){const _0x6fd007=_0x540b42;var _0x4e4a8d,_0x14ad40;if(this[_0x6fd007(0x203)]=!0x0,((_0x4e4a8d=this[_0x6fd007(0x246)][_0x6fd007(0x358)]())==null?void 0x0:_0x4e4a8d[_0x6fd007(0x3c5)]())!==this[_0x6fd007(0x375)])return;const _0x42077d=(_0x14ad40=this[_0x6fd007(0x31b)]['get'](_0x29d4a1[_0x6fd007(0x249)])[_0x6fd007(0x3c9)]())==null?void 0x0:_0x14ad40[0x0],_0x269d64=this['_univerInstanceService'][_0x6fd007(0x1ea)](_0x42b304[_0x6fd007(0x22e)][_0x6fd007(0x33f)])[_0x6fd007(0x2eb)]();_0x42077d&&_0x269d64&&this[_0x6fd007(0x2e7)](_0x269d64[_0x6fd007(0x378)](),_0x42077d);}[_0x540b42(0x33d)](){const _0x3cb9b9=_0x540b42;this[_0x3cb9b9(0x203)]=!0x1;}};_0x4c605a=_0x3a3fa4([_0x249718(0x2,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x249718(0x3,_0x42b304['Inject'](_0x4fb46b)),_0x249718(0x4,_0x42b304[_0x540b42(0x40f)](_0x41dc5f['MemberService'])),_0x249718(0x5,_0x42b304[_0x540b42(0x1e5)]),_0x249718(0x6,_0x42b304['ICommandService']),_0x249718(0x7,_0x42b304[_0x540b42(0x40f)](_0x29d4a1[_0x540b42(0x3d8)]))],_0x4c605a);var _0x41c86b=Object[_0x540b42(0x2fc)],_0x165ca3=(_0x8a9ec7,_0x9eb40f,_0x2a401b,_0x4d2d0c)=>{for(var _0x27df4a=_0x4d2d0c>0x1?void 0x0:_0x4d2d0c?_0x41c86b(_0x9eb40f,_0x2a401b):_0x9eb40f,_0x3189b9=_0x8a9ec7['length']-0x1,_0x5b73d1;_0x3189b9>=0x0;_0x3189b9--)(_0x5b73d1=_0x8a9ec7[_0x3189b9])&&(_0x27df4a=_0x5b73d1(_0x27df4a)||_0x27df4a);return _0x27df4a;},_0x4805ec=(_0x3fc046,_0xfc4e5a)=>(_0x4738b5,_0x513a45)=>_0xfc4e5a(_0x4738b5,_0x513a45,_0x3fc046);let _0x1283a0=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x4aec8b,_0x3ea187,_0x265c08){const _0x39e73a=_0x540b42;super(),_0x432cc5(this,_0x39e73a(0x2cd),new Map()),_0x432cc5(this,_0x39e73a(0x1e7),new _0x34f1d4['Subject']()),(this[_0x39e73a(0x246)]=_0x4aec8b,this['_injector']=_0x3ea187,this[_0x39e73a(0x1df)]=_0x265c08,this[_0x39e73a(0x413)]());}['dispose'](){const _0x237ae3=_0x540b42;super[_0x237ae3(0x26d)](),this[_0x237ae3(0x1e7)][_0x237ae3(0x368)](),this[_0x237ae3(0x2cd)][_0x237ae3(0x3fb)](_0x508c8f=>_0x508c8f[_0x237ae3(0x26d)]());}[_0x540b42(0x377)](_0x320e6d){const _0x1a2bef=_0x540b42;return this['_entities']['has'](_0x320e6d)?this[_0x1a2bef(0x2cd)][_0x1a2bef(0x26c)](_0x320e6d)[_0x1a2bef(0x210)]:this[_0x1a2bef(0x1e7)]['pipe'](_0x34f1d4[_0x1a2bef(0x3f4)](_0x91c1fe=>_0x91c1fe['unitID']===_0x320e6d),_0x34f1d4[_0x1a2bef(0x1b9)](_0x4787ea=>_0x4787ea[_0x1a2bef(0x210)]));}[_0x540b42(0x413)](){const _0x5c7d7b=_0x540b42;this['_univerInstanceService'][_0x5c7d7b(0x1bc)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x33f)])['pipe'](_0x34f1d4['takeUntil'](this[_0x5c7d7b(0x20c)]))['subscribe'](async _0x7d76af=>{const _0x5aac7f=_0x5c7d7b,_0x354d46=_0x7d76af['getUnitId'](),_0x27f200=await this[_0x5aac7f(0x43e)](_0x354d46);this[_0x5aac7f(0x1e7)][_0x5aac7f(0x28e)](_0x27f200),this[_0x5aac7f(0x2cd)]['set'](_0x354d46,_0x27f200);}),this[_0x5c7d7b(0x246)][_0x5c7d7b(0x1bc)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x270)])[_0x5c7d7b(0x3ba)](_0x34f1d4[_0x5c7d7b(0x342)](this[_0x5c7d7b(0x20c)]))[_0x5c7d7b(0x3ba)](_0x34f1d4[_0x5c7d7b(0x3f4)](_0x28902a=>!_0x28902a['getUnitId']()[_0x5c7d7b(0x435)]('__')))[_0x5c7d7b(0x289)](async _0x338ae4=>{const _0x2e8056=_0x5c7d7b,_0x124283=_0x338ae4['getUnitId'](),_0x5c5f0a=await this[_0x2e8056(0x2f1)](_0x124283);this[_0x2e8056(0x1e7)][_0x2e8056(0x28e)](_0x5c5f0a),this[_0x2e8056(0x2cd)]['set'](_0x124283,_0x5c5f0a);}),_0x34f1d4['merge'](this[_0x5c7d7b(0x246)][_0x5c7d7b(0x218)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x270)]),this[_0x5c7d7b(0x246)][_0x5c7d7b(0x218)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x33f)]))[_0x5c7d7b(0x3ba)](_0x34f1d4[_0x5c7d7b(0x342)](this['dispose$']))[_0x5c7d7b(0x289)](_0x83c762=>{const _0x396048=_0x5c7d7b,_0x506f03=_0x83c762[_0x396048(0x3c5)](),_0x7c0b64=this['_entities'][_0x396048(0x26c)](_0x506f03);_0x7c0b64&&(_0x7c0b64[_0x396048(0x26d)](),this['_entities']['delete'](_0x506f03));});}async[_0x540b42(0x43e)](_0x2ce6ac){const _0x25801e=_0x540b42,_0xf4ba8c=await this['_collabSessionService'][_0x25801e(0x1cf)](_0x2ce6ac),_0x581fff=this[_0x25801e(0x31b)][_0x25801e(0x2a2)](_0x4c605a,_0x2ce6ac,_0xf4ba8c);return _0x581fff[_0x25801e(0x424)](),_0x581fff;}async[_0x540b42(0x2f1)](_0x4b5ed){const _0x19d4a4=_0x540b42,_0x18d7cc=await this[_0x19d4a4(0x1df)][_0x19d4a4(0x1cf)](_0x4b5ed),_0x4b10c1=this[_0x19d4a4(0x31b)]['createInstance'](_0x39645a,_0x4b5ed,_0x18d7cc);return _0x4b10c1['init'](),_0x4b10c1;}};_0x1283a0=_0x165ca3([_0x4805ec(0x0,_0x42b304[_0x540b42(0x1e5)]),_0x4805ec(0x1,_0x42b304['Inject'](_0x42b304[_0x540b42(0x2f8)])),_0x4805ec(0x2,_0x42b304['Inject'](_0x41dc5f[_0x540b42(0x276)]))],_0x1283a0);const _0x13f46c=0x14,_0x56c37c=0xc8,_0x443213=0x4,_0xd989f=0x5;function _0x199333(_0xf16bef,_0x479ac0){const _0x4f0152=_0x540b42;let {radius:_0x107fe6,width:_0x3f9072,height:_0x25ad93}=_0x479ac0;_0x107fe6=_0x107fe6!=null?_0x107fe6:0x0,_0x3f9072=_0x3f9072!=null?_0x3f9072:0x1e,_0x25ad93=_0x25ad93!=null?_0x25ad93:0x1e;let _0x1866cb=0x0,_0x215a2a=0x0,_0x57632b=0x0;_0x1866cb=_0x215a2a=_0x57632b=Math[_0x4f0152(0x220)](_0x107fe6,_0x3f9072/0x2,_0x25ad93/0x2),_0xf16bef[_0x4f0152(0x23c)](),_0xf16bef[_0x4f0152(0x25f)](_0x1866cb,0x0),_0xf16bef[_0x4f0152(0x244)](_0x3f9072-_0x215a2a,0x0),_0xf16bef[_0x4f0152(0x1de)](_0x3f9072-_0x215a2a,_0x215a2a,_0x215a2a,Math['PI']*0x3/0x2,0x0,!0x1),_0xf16bef[_0x4f0152(0x244)](_0x3f9072,_0x25ad93-_0x57632b),_0xf16bef[_0x4f0152(0x1de)](_0x3f9072-_0x57632b,_0x25ad93-_0x57632b,_0x57632b,0x0,Math['PI']/0x2,!0x1),_0xf16bef['lineTo'](0x0,_0x25ad93),_0xf16bef[_0x4f0152(0x244)](0x0,_0x1866cb),_0xf16bef[_0x4f0152(0x1de)](_0x1866cb,_0x1866cb,_0x1866cb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xf16bef[_0x4f0152(0x30a)](),_0x479ac0['fill']&&(_0xf16bef[_0x4f0152(0x36d)](),_0xf16bef[_0x4f0152(0x410)]=_0x479ac0[_0x4f0152(0x2a9)],_0x479ac0[_0x4f0152(0x1cd)]==='evenodd'?_0xf16bef['fill'](_0x4f0152(0x20e)):_0xf16bef[_0x4f0152(0x2a9)](),_0xf16bef[_0x4f0152(0x327)]());}class _0x1f5103 extends _0x409358[_0x540b42(0x1ba)]{constructor(_0x17d2ff,_0x58f2dd){const _0x870c2f=_0x540b42;super(_0x17d2ff,_0x58f2dd),_0x432cc5(this,_0x870c2f(0x345)),_0x432cc5(this,_0x870c2f(0x38b)),(this['color']=_0x58f2dd==null?void 0x0:_0x58f2dd[_0x870c2f(0x345)],this['text']=_0x58f2dd==null?void 0x0:_0x58f2dd['text']);}static[_0x540b42(0x2d0)](_0x22f8f1,_0x14d5dc){const _0x4a98ee=_0x540b42,{text:_0x597cab,color:_0x3580a7}=_0x14d5dc;_0x22f8f1[_0x4a98ee(0x36d)](),_0x22f8f1[_0x4a98ee(0x3cf)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3a046e=_0x22f8f1[_0x4a98ee(0x3fd)](_0x597cab)[_0x4a98ee(0x294)],_0x3430de=Math[_0x4a98ee(0x220)](_0x3a046e+0x2*_0x443213,_0x56c37c);_0x199333(_0x22f8f1,{'height':_0x13f46c,'radius':0x4,'width':_0x3430de,'fill':_0x3580a7}),_0x22f8f1[_0x4a98ee(0x410)]=_0x4a98ee(0x2c5);const _0x3e85dc=_0x443213,_0x182a59=_0x13f46c-_0xd989f,_0x48adf9=_0x56c37c-0x2*_0x443213;if(_0x3a046e>_0x48adf9){let _0x421c7b='',_0x35e22a=0x0;for(const _0x2a15d2 of _0x597cab){const _0x10aba8=_0x22f8f1['measureText'](_0x2a15d2)[_0x4a98ee(0x294)];if(_0x35e22a+_0x10aba8<=_0x48adf9-_0x22f8f1[_0x4a98ee(0x3fd)](_0x4a98ee(0x2e0))['width'])_0x421c7b+=_0x2a15d2,_0x35e22a+=_0x10aba8;else{_0x421c7b+=_0x4a98ee(0x2e0);break;}}_0x22f8f1[_0x4a98ee(0x2d8)](_0x421c7b,_0x3e85dc,_0x182a59);}else _0x22f8f1['fillText'](_0x597cab,_0x3e85dc,_0x182a59);_0x22f8f1[_0x4a98ee(0x327)]();}['_draw'](_0x48beba){const _0x3ea130=_0x540b42;_0x1f5103[_0x3ea130(0x2d0)](_0x48beba,this);}}const _0x3d3f7e=_0x540b42(0x369),_0x26b8ce=_0x540b42(0x390),_0x2c949e=_0x540b42(0x1b2),_0x459003=0x6,_0x3f6915=1.5,_0x499257=0x4,_0xde2a7c=1.5,_0x16081c=_0x540b42(0x3f2);class _0x26fd2c{constructor(_0x450f54,_0x563318,_0xf5bb57,_0x28ddcc){const _0x1a0244=_0x540b42;_0x432cc5(this,'_shapes',[]),_0x432cc5(this,_0x1a0244(0x1ce),null),_0x432cc5(this,'_textBubble',null),_0x432cc5(this,'_anchorDot',null),_0x432cc5(this,_0x1a0244(0x3e2),null),_0x432cc5(this,_0x1a0244(0x269),null),(this[_0x1a0244(0x1ef)]=_0x450f54,this['_scene']=_0x563318,this[_0x1a0244(0x428)]=_0xf5bb57,this['_document']=_0x28ddcc,this['_render']());}set[_0x540b42(0x3f0)](_0x49ae1a){const _0x3a668e=_0x540b42;_0x49ae1a?(this[_0x3a668e(0x266)]&&this[_0x3a668e(0x266)]['hide'](),this['_textBubble']&&this[_0x3a668e(0x379)][_0x3a668e(0x32c)]()):(this[_0x3a668e(0x266)]&&this[_0x3a668e(0x266)][_0x3a668e(0x32c)](),this[_0x3a668e(0x379)]&&this[_0x3a668e(0x379)][_0x3a668e(0x344)]());}['dispose'](){const _0x5d8828=_0x540b42;for(const _0x165d9a of this['_shapes'])_0x165d9a[_0x5d8828(0x26d)]();this[_0x5d8828(0x379)]&&this[_0x5d8828(0x379)][_0x5d8828(0x26d)](),this[_0x5d8828(0x266)]&&this[_0x5d8828(0x266)][_0x5d8828(0x26d)](),this[_0x5d8828(0x1ce)]&&this['_anchor'][_0x5d8828(0x26d)](),this[_0x5d8828(0x269)]&&this[_0x5d8828(0x269)]();}[_0x540b42(0x326)](){const _0x45d71d=_0x540b42;var _0x25ee11;const {_docSkeleton:_0x3e816f,_document:_0x2a236c}=this,{color:_0x16f172,name:_0x3b4dee,ranges:_0x128073}=this[_0x45d71d(0x1ef)],_0x370de4=_0x2a236c[_0x45d71d(0x2d1)](),{docsLeft:_0x32b273,docsTop:_0x3cf9a1}=_0x370de4,_0x6972b8=new _0x16bb92['NodePositionConvertToCursor'](_0x370de4,_0x3e816f);for(const {startOffset:_0x1cd9ff,endOffset:_0x23a317,rangeType:_0x427ed2,segmentId:_0x545164,segmentPage:_0x445859,collapsed:_0x5b0a09,isActive:_0x3756d7}of _0x128073){const _0x2058f7=_0x3e816f[_0x45d71d(0x1b4)](_0x1cd9ff,!0x0,_0x545164,_0x445859);let _0x491c1e=_0x3e816f['findNodePositionByCharIndex'](_0x23a317,!0x0,_0x545164,_0x445859);if(_0x491c1e==null&&(_0x491c1e=_0x3e816f[_0x45d71d(0x1b4)](_0x23a317-0x1,!0x1,_0x545164,_0x445859)),_0x3756d7){const {contentBoxPointGroup:_0x1c3a5f}=_0x6972b8[_0x45d71d(0x22c)](_0x491c1e,_0x491c1e);if(_0x1c3a5f[_0x45d71d(0x349)]===0x0)continue;this[_0x45d71d(0x3e1)](_0x16f172,_0x1c3a5f,_0x32b273,_0x3cf9a1,_0x3b4dee),this[_0x45d71d(0x269)]=this[_0x45d71d(0x338)]();}if(_0x2058f7&&_0x491c1e){if(_0x427ed2===_0x42b304[_0x45d71d(0x340)][_0x45d71d(0x2a1)]){const _0x4e0bf3=new _0x16bb92[(_0x45d71d(0x1f9))](_0x370de4,_0x3e816f),{pointGroup:_0x43d1f3}=(_0x25ee11=_0x4e0bf3[_0x45d71d(0x22c)](_0x2058f7,_0x491c1e))!=null?_0x25ee11:{};if(_0x43d1f3==null||_0x43d1f3[_0x45d71d(0x349)]===0x0)continue;this[_0x45d71d(0x354)](_0x16f172,_0x43d1f3,_0x32b273,_0x3cf9a1);}else{if(!_0x5b0a09){const {borderBoxPointGroup:_0x148dee}=_0x6972b8[_0x45d71d(0x22c)](_0x2058f7,_0x491c1e);if(_0x148dee['length']===0x0)continue;this['_drawTextRange'](_0x16f172,_0x148dee,_0x32b273,_0x3cf9a1);}}}}}[_0x540b42(0x3e1)](_0x2a907f,_0x145f1b,_0x12810d,_0xff7c89,_0xc5b7ff){const _0x539307=_0x540b42,_0xb7331f=this[_0x539307(0x22d)](_0x145f1b),{left:_0x56c26e,top:_0x4dbb27,height:_0x120716}=_0xb7331f,_0x3bf0a8=this[_0x539307(0x2ce)](),_0x203647=_0xde2a7c/_0x3bf0a8,_0x3b0531=new _0x409358[(_0x539307(0x347))](_0x3d3f7e+_0x42b304[_0x539307(0x332)][_0x539307(0x370)](_0x459003),{'left':_0x56c26e+_0x12810d-_0x203647,'top':_0x4dbb27+_0xff7c89,'height':_0x120716,'width':_0x3f6915,'fill':_0x2a907f||_0x409358['getColor'](_0x42b304[_0x539307(0x3ea)][_0x539307(0x3be)],0x0),'strokeWidth':_0x203647,'stroke':_0x16081c,'evented':!0x0});this[_0x539307(0x1ce)]=_0x3b0531,this[_0x539307(0x3a3)][_0x539307(0x34f)](_0x3b0531,_0x16bb92[_0x539307(0x231)]);const _0x48ee68=new _0x409358[(_0x539307(0x347))](_0x3d3f7e+_0x42b304[_0x539307(0x332)][_0x539307(0x370)](_0x459003),{'left':_0x56c26e+_0x12810d-_0x203647,'top':_0x4dbb27+_0xff7c89-_0x499257/0x2,'height':_0x499257,'width':_0x499257,'fill':_0x2a907f||_0x409358[_0x539307(0x1e3)](_0x42b304[_0x539307(0x3ea)][_0x539307(0x3be)],0x0),'strokeWidth':0x0,'stroke':_0x2a907f||_0x409358[_0x539307(0x1e3)](_0x42b304['COLORS'][_0x539307(0x3be)],0x0),'evented':!0x1});this[_0x539307(0x266)]=_0x48ee68,this[_0x539307(0x3a3)][_0x539307(0x34f)](_0x48ee68,_0x16bb92['TEXT_RANGE_LAYER_INDEX']);const _0x1aa23c=new _0x1f5103(_0x3d3f7e+_0x42b304[_0x539307(0x332)][_0x539307(0x370)](_0x459003),{'left':_0x56c26e+_0x12810d-_0x203647,'top':_0x4dbb27+_0xff7c89-_0x13f46c,'text':_0xc5b7ff,'color':_0x2a907f});this[_0x539307(0x379)]=_0x1aa23c,this[_0x539307(0x3a3)]['addObject'](_0x1aa23c,_0x16bb92['TEXT_RANGE_LAYER_INDEX']),this[_0x539307(0x3f0)]=!0x1;}[_0x540b42(0x338)](){const _0x362cb3=_0x540b42,_0x2d693b=this[_0x362cb3(0x1ce)][_0x362cb3(0x3e4)][_0x362cb3(0x305)](()=>{const _0x47bd48=_0x362cb3;this[_0x47bd48(0x3f0)]=!0x0;}),_0x5aa62b=this[_0x362cb3(0x1ce)][_0x362cb3(0x1a9)][_0x362cb3(0x305)](()=>{const _0x49a89d=_0x362cb3;this[_0x49a89d(0x3e2)]&&clearTimeout(this[_0x49a89d(0x3e2)]),this[_0x49a89d(0x3e2)]=setTimeout(()=>{const _0x1897d9=_0x49a89d;this[_0x1897d9(0x3f0)]=!0x1;},0x7d0);});return()=>{const _0x2db34e=_0x362cb3;_0x2d693b[_0x2db34e(0x40a)](),_0x5aa62b[_0x2db34e(0x40a)]();};}[_0x540b42(0x2d4)](_0x4ebaf3,_0x39df20,_0x523b9f,_0xd8245a){const _0x4474e5=_0x540b42,_0x9bc295=new _0x42b304[(_0x4474e5(0x204))](_0x4ebaf3)[_0x4474e5(0x3ab)](0.2)[_0x4474e5(0x42a)](),_0x4441c2=new _0x409358[(_0x4474e5(0x215))](_0x26b8ce+_0x42b304[_0x4474e5(0x332)][_0x4474e5(0x370)](_0x459003),{'pointsGroup':_0x39df20,'fill':_0x9bc295||_0x409358[_0x4474e5(0x1e3)](_0x42b304[_0x4474e5(0x3ea)][_0x4474e5(0x3be)],0.2),'left':_0x523b9f,'top':_0xd8245a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4474e5(0x426)]['push'](_0x4441c2),this[_0x4474e5(0x3a3)][_0x4474e5(0x34f)](_0x4441c2,_0x16bb92[_0x4474e5(0x231)]);}[_0x540b42(0x354)](_0x333f83,_0x20f05b,_0x18369c,_0x5070c8){const _0x28a63d=_0x540b42,_0x45bce0=new _0x42b304[(_0x28a63d(0x204))](_0x333f83)['setAlpha'](0.2)['toRgbString'](),_0x54c32e=new _0x409358[(_0x28a63d(0x215))](_0x2c949e+_0x42b304[_0x28a63d(0x332)]['generateRandomId'](_0x459003),{'pointsGroup':_0x20f05b,'fill':_0x45bce0||_0x409358[_0x28a63d(0x1e3)](_0x42b304[_0x28a63d(0x3ea)]['black'],0.2),'left':_0x18369c,'top':_0x5070c8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28a63d(0x426)][_0x28a63d(0x2ef)](_0x54c32e),this[_0x28a63d(0x3a3)][_0x28a63d(0x34f)](_0x54c32e,_0x16bb92[_0x28a63d(0x231)]);}['_getAnchorBounding'](_0x32a2a3){const _0x2bd4d9=_0x32a2a3[0x0],_0x78cbbd=_0x2bd4d9[0x0],_0x514353=_0x2bd4d9[0x2],{x:_0x1a0fab,y:_0x2e95c2}=_0x78cbbd,{x:_0x2bcdf2,y:_0x56050e}=_0x514353;return{'left':_0x1a0fab,'top':_0x2e95c2,'width':_0x2bcdf2-_0x1a0fab,'height':_0x56050e-_0x2e95c2};}[_0x540b42(0x2ce)](){const _0x370f50=_0x540b42,{scaleX:_0x8bf2b,scaleY:_0x358c7f}=this['_scene'][_0x370f50(0x24d)]();return Math[_0x370f50(0x3cd)](_0x8bf2b,_0x358c7f);}}var _0x1ded05=Object[_0x540b42(0x2fc)],_0x2aae77=(_0x290ee,_0x4eb9de,_0x7ddb0d,_0x239771)=>{const _0x34c59c=_0x540b42;for(var _0x284cd4=_0x239771>0x1?void 0x0:_0x239771?_0x1ded05(_0x4eb9de,_0x7ddb0d):_0x4eb9de,_0x17db62=_0x290ee[_0x34c59c(0x349)]-0x1,_0x1fcfbb;_0x17db62>=0x0;_0x17db62--)(_0x1fcfbb=_0x290ee[_0x17db62])&&(_0x284cd4=_0x1fcfbb(_0x284cd4)||_0x284cd4);return _0x284cd4;},_0x4ad5e0=(_0x18bfd6,_0x25ef8e)=>(_0x232840,_0x4e2178)=>_0x25ef8e(_0x232840,_0x4e2178,_0x18bfd6);let _0x50cbf7=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x928961,_0x302c3b,_0x3a1f41,_0x5917b1,_0xc4bb79){const _0xe05ad=_0x540b42;super(),_0x432cc5(this,'_cursorShapes',[]),_0x432cc5(this,_0xe05ad(0x2c9),[]),(this[_0xe05ad(0x33b)]=_0x928961,this[_0xe05ad(0x303)]=_0x302c3b,this[_0xe05ad(0x3b0)]=_0x3a1f41,this[_0xe05ad(0x3c3)]=_0x5917b1,this['_themeService']=_0xc4bb79,this[_0xe05ad(0x413)]());}[_0x540b42(0x413)](){const _0x4cddc1=_0x540b42,_0x248589=this['_context'][_0x4cddc1(0x1f3)],_0x350220=this[_0x4cddc1(0x303)];this[_0x4cddc1(0x2d2)](_0x34f1d4[_0x4cddc1(0x41e)]([this[_0x4cddc1(0x3b0)][_0x4cddc1(0x377)](_0x248589),this['_themeService'][_0x4cddc1(0x263)]])[_0x4cddc1(0x3ba)](_0x18aa85[_0x4cddc1(0x25b)](([_0x2e7273,_0x2046e1])=>({'skeleton':_0x350220['getSkeleton'](),'cursors':[..._0x2e7273[_0x4cddc1(0x3ef)]()]['flatMap'](_0x20e47d=>({..._0x20e47d,'color':_0x2046e1[_0x20e47d['color']]}))})))[_0x4cddc1(0x289)](_0x5a0144=>{const _0x98a0dc=_0x4cddc1;if(this[_0x98a0dc(0x3b8)](),_0x5a0144){const {skeleton:_0x807e9d,cursors:_0x38441e}=_0x5a0144;this[_0x98a0dc(0x1e4)](_0x807e9d,_0x38441e);}})),this['_initResize'](),this[_0x4cddc1(0x420)]();}[_0x540b42(0x1e4)](_0x18f443,_0x4cd413){const _0x3ef50d=_0x540b42,{scene:_0x52e771,mainComponent:_0x5c54d8}=this['_context'],_0x273d67=_0x4cd413[_0x3ef50d(0x25b)](_0x46acbd=>new _0x26fd2c(_0x46acbd,_0x52e771,_0x18f443,_0x5c54d8));this['_cursorShapes']=_0x273d67,this[_0x3ef50d(0x2c9)]=_0x4cd413;}[_0x540b42(0x1b6)](){const _0x1e1c22=_0x540b42;this[_0x1e1c22(0x3b8)]();const {scene:_0x3d2a5d,mainComponent:_0x3eea5a}=this[_0x1e1c22(0x33b)],_0x130e97=this[_0x1e1c22(0x303)][_0x1e1c22(0x1cb)](),_0x4326b1=this['_cursors'][_0x1e1c22(0x25b)](_0x3295b0=>new _0x26fd2c(_0x3295b0,_0x3d2a5d,_0x130e97,_0x3eea5a));this['_cursorShapes']=_0x4326b1;}[_0x540b42(0x3b8)](){const _0x421241=_0x540b42;this[_0x421241(0x3ec)][_0x421241(0x3fb)](_0x4d7f7c=>_0x4d7f7c[_0x421241(0x26d)]()),this[_0x421241(0x3ec)]=[];}['_initCommandExecutedListener'](){const _0x298a1a=_0x540b42,_0x4273b6=[_0x16bb92[_0x298a1a(0x3c0)]['id']];this[_0x298a1a(0x2d2)](this[_0x298a1a(0x3c3)][_0x298a1a(0x239)](_0x4017c7=>{const _0x4a4cca=_0x298a1a;_0x4273b6[_0x4a4cca(0x3db)](_0x4017c7['id'])&&_0x4017c7['params'][_0x4a4cca(0x1f3)]===this[_0x4a4cca(0x33b)][_0x4a4cca(0x1f3)]&&this[_0x4a4cca(0x1b6)]();}));}[_0x540b42(0x2ab)](){const _0x42dec8=_0x540b42;this['disposeWithMe'](_0x42b304[_0x42dec8(0x286)](this[_0x42dec8(0x33b)]['engine']['onTransformChange$'])['pipe'](_0x18aa85['filter'](_0x4baa51=>_0x4baa51[_0x42dec8(0x1af)]===_0x409358[_0x42dec8(0x248)][_0x42dec8(0x2d3)]),_0x18aa85['throttleTime'](0x10))[_0x42dec8(0x289)](()=>{const _0x300f60=_0x42dec8;this[_0x300f60(0x1b6)]();}));}};_0x50cbf7=_0x2aae77([_0x4ad5e0(0x1,_0x42b304[_0x540b42(0x40f)](_0x4e9cff[_0x540b42(0x301)])),_0x4ad5e0(0x2,_0x42b304[_0x540b42(0x40f)](_0x1283a0)),_0x4ad5e0(0x3,_0x42b304[_0x540b42(0x22f)]),_0x4ad5e0(0x4,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x1e0)]))],_0x50cbf7);const _0xc6f7ea=0x1,_0x5b6387=1.5;class _0x41d68b extends _0x409358[_0x540b42(0x1ba)]{constructor(_0x572b54,_0x3a76bd){const _0x307302=_0x540b42;super(_0x572b54,_0x3a76bd),_0x432cc5(this,'_color'),_0x432cc5(this,_0x307302(0x1b0),!0x1),_0x432cc5(this,_0x307302(0x3e8)),_0x432cc5(this,_0x307302(0x37d),''),_0x432cc5(this,_0x307302(0x21d),_0x307302(0x221)),_0x432cc5(this,'_backgroundColor'),(_0x3a76bd&&this[_0x307302(0x1da)](_0x3a76bd),this[_0x307302(0x3e4)]['subscribeEvent'](()=>this[_0x307302(0x1da)]({'hovered':!0x0})),this[_0x307302(0x1a9)]['subscribeEvent'](()=>this[_0x307302(0x1da)]({'hovered':!0x1})));}[_0x540b42(0x1da)](_0x473f3f){const _0x1ee945=_0x540b42;var _0x639206,_0x1fbe83,_0x1156e4,_0x384817,_0x78598f,_0x34b2c6;this[_0x1ee945(0x1d7)]=(_0x639206=_0x473f3f[_0x1ee945(0x345)])!=null?_0x639206:this[_0x1ee945(0x1d7)],this[_0x1ee945(0x1b0)]=(_0x1fbe83=_0x473f3f[_0x1ee945(0x1d9)])!=null?_0x1fbe83:this[_0x1ee945(0x1b0)],this[_0x1ee945(0x3e8)]=(_0x1156e4=_0x473f3f[_0x1ee945(0x32b)])!=null?_0x1156e4:this[_0x1ee945(0x3e8)],this['_name']=(_0x384817=_0x473f3f['name'])!=null?_0x384817:this[_0x1ee945(0x37d)],this[_0x1ee945(0x21d)]=(_0x78598f=_0x473f3f[_0x1ee945(0x243)])!=null?_0x78598f:this[_0x1ee945(0x21d)],this['_backgroundColor']=(_0x34b2c6=_0x473f3f[_0x1ee945(0x3e0)])!=null?_0x34b2c6:this[_0x1ee945(0x422)],this['transformByState']({'width':_0x473f3f[_0x1ee945(0x294)],'height':_0x473f3f[_0x1ee945(0x323)]});}[_0x540b42(0x250)](_0x3b416a){const _0x24a1a5=_0x540b42,{row:_0x5e311b,column:_0x46948a}=_0x3b416a;if(_0x5e311b>=this[_0x24a1a5(0x3e8)]['startRow']&&_0x5e311b<=this[_0x24a1a5(0x3e8)]['endRow']&&_0x46948a>=this[_0x24a1a5(0x3e8)][_0x24a1a5(0x299)]&&_0x46948a<=this[_0x24a1a5(0x3e8)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x24a1a5(0x1da)]({'hovered':!0x1});}[_0x540b42(0x415)](_0x3aec45){return!0x1;}[_0x540b42(0x401)](_0x3fdfb0){const _0xe84c2e=_0x540b42;_0x409358[_0xe84c2e(0x347)]['drawWith'](_0x3fdfb0,{'width':this[_0xe84c2e(0x294)],'height':this[_0xe84c2e(0x323)],'strokeWidth':_0x5b6387,'stroke':this[_0xe84c2e(0x1d7)],'evented':!0x1,'fill':this[_0xe84c2e(0x422)]}),this[_0xe84c2e(0x1b0)]&&(_0x3fdfb0[_0xe84c2e(0x36d)](),_0x3fdfb0[_0xe84c2e(0x2ca)](0x1,0x0,0x0,0x1,this[_0xe84c2e(0x294)],this[_0xe84c2e(0x21d)]===_0xe84c2e(0x20d)?0x0:-0x14),_0x1f5103[_0xe84c2e(0x2d0)](_0x3fdfb0,{'text':this['_name'],'color':this[_0xe84c2e(0x1d7)]}),_0x3fdfb0[_0xe84c2e(0x327)]());}}var _0x58f444=Object[_0x540b42(0x2fc)],_0x4fa104=(_0x3194e7,_0x432479,_0x3e53bb,_0x40f247)=>{const _0x342c78=_0x540b42;for(var _0x318019=_0x40f247>0x1?void 0x0:_0x40f247?_0x58f444(_0x432479,_0x3e53bb):_0x432479,_0x5d2c54=_0x3194e7[_0x342c78(0x349)]-0x1,_0x5e4c3e;_0x5d2c54>=0x0;_0x5d2c54--)(_0x5e4c3e=_0x3194e7[_0x5d2c54])&&(_0x318019=_0x5e4c3e(_0x318019)||_0x318019);return _0x318019;},_0x58b83d=(_0x236405,_0x583e5b)=>(_0x3c0c87,_0x16d860)=>_0x583e5b(_0x3c0c87,_0x16d860,_0x236405);const _0x279c16=0x1389;let _0x50b460=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x184fbc,_0x3c4cd1,_0x5dcb51,_0x3482e2){const _0x3fa4e3=_0x540b42;super(),_0x432cc5(this,_0x3fa4e3(0x2c9),new Set()),_0x432cc5(this,_0x3fa4e3(0x3a4),null),(this[_0x3fa4e3(0x33b)]=_0x184fbc,this[_0x3fa4e3(0x38c)]=_0x3c4cd1,this[_0x3fa4e3(0x3b0)]=_0x5dcb51,this[_0x3fa4e3(0x242)]=_0x3482e2,this[_0x3fa4e3(0x413)]());}[_0x540b42(0x413)](){const _0x272383=_0x540b42;this[_0x272383(0x38c)][_0x272383(0x260)][_0x272383(0x3ba)](_0x18aa85['takeUntil'](this['dispose$']),_0x18aa85[_0x272383(0x1b9)](_0x21a784=>{const _0x57a6cc=_0x272383;if(_0x21a784){const _0xff8368=_0x21a784['sheetId'];return _0x34f1d4[_0x57a6cc(0x41e)](this[_0x57a6cc(0x3b0)][_0x57a6cc(0x377)](this[_0x57a6cc(0x33b)][_0x57a6cc(0x1f3)]),this['_themeService'][_0x57a6cc(0x263)])[_0x57a6cc(0x3ba)](_0x18aa85['map'](([_0x11467e,_0x5c2b1c])=>{const _0x678870=_0x57a6cc,_0x1e3076=new Map();return _0x11467e[_0x678870(0x3fb)]((_0xeeafdc,_0x272840)=>{const _0x6af535=_0x678870;if(_0xeeafdc[_0x6af535(0x229)]===_0xff8368){const _0x4ff907={..._0xeeafdc};_0x4ff907[_0x6af535(0x345)]=_0x5c2b1c[_0xeeafdc['color']],_0x1e3076[_0x6af535(0x1e2)](_0x272840,_0x4ff907);}}),{'skeleton':_0x21a784,'cursors':_0x1e3076};}));}return _0x34f1d4['of']({'skeleton':null,'cursors':new Map()});}))[_0x272383(0x289)](({skeleton:_0x1f0ff6,cursors:_0x1b4a64})=>{const _0x1c51b0=_0x272383;this[_0x1c51b0(0x3b8)](),_0x1f0ff6&&this['_updateCollabCursors'](_0x1f0ff6,_0x1b4a64);}),this[_0x272383(0x38c)][_0x272383(0x260)][_0x272383(0x289)](_0x52ec04=>{const _0x444395=_0x272383;if(_0x52ec04==null)return;const {skeleton:_0x5e5769}=_0x52ec04,{scene:_0x1404d9}=this[_0x444395(0x33b)];_0x1404d9[_0x444395(0x2d6)]['subscribeEvent'](_0x42b304[_0x444395(0x1fd)](_0x198333=>{const _0x4520f9=_0x444395;var _0x1556e9,_0x4fc1bb;const {offsetX:_0x5a300b,offsetY:_0x361356}=_0x198333,{x:_0x21baab,y:_0x44e3d2}=_0x1404d9[_0x4520f9(0x2a5)](_0x409358['Vector2'][_0x4520f9(0x238)]([_0x5a300b,_0x361356])),{scaleX:_0x78773e,scaleY:_0x45c09f}=_0x1404d9['getAncestorScale'](),_0x1f3190=_0x1404d9['getViewport'](_0x409358[_0x4520f9(0x222)][_0x4520f9(0x42c)]),_0x2c1968=_0x1404d9[_0x4520f9(0x376)](_0x409358[_0x4520f9(0x3d1)]['FromArray']([_0x21baab,_0x44e3d2]),_0x1f3190),_0x11b5fd=_0x5e5769[_0x4520f9(0x1f1)](_0x5a300b,_0x361356,_0x78773e,_0x45c09f,_0x2c1968);((_0x1556e9=this[_0x4520f9(0x3a4)])==null?void 0x0:_0x1556e9[_0x4520f9(0x402)])===_0x11b5fd[_0x4520f9(0x402)]&&((_0x4fc1bb=this[_0x4520f9(0x3a4)])==null?void 0x0:_0x4fc1bb[_0x4520f9(0x287)])===_0x11b5fd['row']||this[_0x4520f9(0x2c9)][_0x4520f9(0x3fb)](_0x454221=>{const _0x5468ce=_0x4520f9;_0x454221[_0x5468ce(0x250)](_0x11b5fd);});},0x64));});}['_updateCollabCursors'](_0x245de2,_0x504158){const _0x47eea3=_0x540b42;var _0x5db6f6;const _0x3edbeb=(_0x5db6f6=this[_0x47eea3(0x38c)][_0x47eea3(0x2c0)]())==null?void 0x0:_0x5db6f6[_0x47eea3(0x283)];if(!_0x3edbeb)return;const _0x1cf4e3=this['_getSheetObject']();if(!_0x1cf4e3)return;this[_0x47eea3(0x2c9)][_0x47eea3(0x3fb)](_0x26e799=>{const _0x251c61=_0x47eea3;_0x26e799[_0x251c61(0x383)]();});const {scene:_0x1d07c}=_0x1cf4e3,_0x18e15e=_0x4d8525(Array[_0x47eea3(0x3dd)](_0x504158['values']()))['map'](_0x43d2a4=>{const _0xcdf9c2=_0x47eea3,{color:_0x1a1311,range:_0x2beb0b,name:_0x11d109,selection:_0x446b2e,sheetID:_0x4f0e98}=_0x43d2a4,{startColumn:_0x3cf27b,startRow:_0x4835c2,endColumn:_0x55f111,endRow:_0x36644c}=_0x2beb0b,_0x2d3c9d=_0x58ab2b[_0xcdf9c2(0x351)](_0x4835c2,_0x3cf27b,_0x1d07c,_0x3edbeb),_0x140493=_0x58ab2b[_0xcdf9c2(0x351)](_0x36644c,_0x55f111,_0x1d07c,_0x3edbeb),{columnHeaderHeightAndMarginTop:_0x4e3c05}=_0x3edbeb,{startX:_0x417512,startY:_0x25a04d}=_0x2d3c9d,{endX:_0x500187,endY:_0x3a02cb}=_0x140493,_0x3c9241=_0x500187-_0x417512,_0x1dca4a=_0x3a02cb-_0x25a04d,_0x2acd5e={'labelPosition':_0x25a04d-_0x4e3c05>=_0x13f46c?'top':_0xcdf9c2(0x20d),'sheetID':_0x4f0e98,'range':_0x2beb0b,'color':_0x1a1311,'name':_0x11d109,'selection':_0x446b2e,'left':_0x417512,'top':_0x25a04d,'width':_0x3c9241,'height':_0x1dca4a,'evented':!0x1,'zIndex':_0x279c16};return new _0x41d68b(_0x11d109,_0x2acd5e);});_0x1d07c[_0x47eea3(0x382)](_0x18e15e,_0xc6f7ea),this[_0x47eea3(0x2c9)]=new Set(_0x18e15e);}['_removeCollabCursors'](){const _0x475c48=_0x540b42;var _0x4a6319;(_0x4a6319=this['_cursors'])==null||_0x4a6319[_0x475c48(0x3fb)](_0x6a0de=>_0x6a0de[_0x475c48(0x26d)]());}[_0x540b42(0x213)](){const _0x13d7c6=_0x540b42;return _0x58ab2b[_0x13d7c6(0x434)](this[_0x13d7c6(0x33b)][_0x13d7c6(0x3b4)],this[_0x13d7c6(0x33b)]);}};_0x50b460=_0x4fa104([_0x58b83d(0x1,_0x42b304[_0x540b42(0x40f)](_0x58ab2b['SheetSkeletonManagerService'])),_0x58b83d(0x2,_0x42b304[_0x540b42(0x40f)](_0x1283a0)),_0x58b83d(0x3,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x1e0)]))],_0x50b460);function _0x4d8525(_0x2021ec){const _0x8f5be1=_0x540b42,_0x43f657=new Map();return _0x2021ec[_0x8f5be1(0x3fb)](_0x408672=>{const _0x52bd99=_0x8f5be1;if(_0x43f657['has'](_0x408672[_0x52bd99(0x247)])){const _0x560187=_0x43f657[_0x52bd99(0x26c)](_0x408672[_0x52bd99(0x247)]);_0x560187[_0x52bd99(0x1dd)]+=',\x20'+_0x408672[_0x52bd99(0x1dd)];}else _0x43f657[_0x52bd99(0x1e2)](_0x408672[_0x52bd99(0x247)],_0x408672);}),Array[_0x8f5be1(0x3dd)](_0x43f657['values']());}var _0x2409fc=function(){const _0x1c2e53=_0x540b42;return _0x2409fc=Object[_0x1c2e53(0x3e9)]||function(_0x44e068){const _0x3307ea=_0x1c2e53;for(var _0x41d914,_0x30fafd=0x1,_0x3a081a=arguments[_0x3307ea(0x349)];_0x30fafd<_0x3a081a;_0x30fafd++){_0x41d914=arguments[_0x30fafd];for(var _0x41100f in _0x41d914)Object['prototype'][_0x3307ea(0x1ee)]['call'](_0x41d914,_0x41100f)&&(_0x44e068[_0x41100f]=_0x41d914[_0x41100f]);}return _0x44e068;},_0x2409fc[_0x1c2e53(0x1bb)](this,arguments);},_0xe507d4=function(_0x4b6109,_0x45fb00){const _0x230eb4=_0x540b42;var _0x500bec={};for(var _0x739d55 in _0x4b6109)Object[_0x230eb4(0x1ec)][_0x230eb4(0x1ee)][_0x230eb4(0x207)](_0x4b6109,_0x739d55)&&_0x45fb00[_0x230eb4(0x33c)](_0x739d55)<0x0&&(_0x500bec[_0x739d55]=_0x4b6109[_0x739d55]);if(_0x4b6109!=null&&typeof Object[_0x230eb4(0x34b)]==_0x230eb4(0x295)){for(var _0x55c66c=0x0,_0x739d55=Object[_0x230eb4(0x34b)](_0x4b6109);_0x55c66c<_0x739d55[_0x230eb4(0x349)];_0x55c66c++)_0x45fb00[_0x230eb4(0x33c)](_0x739d55[_0x55c66c])<0x0&&Object[_0x230eb4(0x1ec)]['propertyIsEnumerable'][_0x230eb4(0x207)](_0x4b6109,_0x739d55[_0x55c66c])&&(_0x500bec[_0x739d55[_0x55c66c]]=_0x4b6109[_0x739d55[_0x55c66c]]);}return _0x500bec;},_0x9f109f=_0x295c09[_0x540b42(0x2bd)](function(_0x9ed686,_0x454f66){const _0x17abc5=_0x540b42;var _0x45eeac=_0x9ed686[_0x17abc5(0x329)],_0x2a0184=_0x9ed686['id'],_0x4c187b=_0x9ed686[_0x17abc5(0x1b8)],_0x2b8703=_0x9ed686[_0x17abc5(0x282)],_0x5bdc91=_0xe507d4(_0x9ed686,[_0x17abc5(0x329),'id',_0x17abc5(0x1b8),_0x17abc5(0x282)]),_0x349f02=_0x17abc5(0x39c)[_0x17abc5(0x311)](_0x2a0184,'\x20')[_0x17abc5(0x311)](_0x4c187b||'')[_0x17abc5(0x399)](),_0x12eda6=_0x295c09[_0x17abc5(0x279)]('_'[_0x17abc5(0x311)](_0x1af5d4()));return _0x36042a(_0x45eeac,''[_0x17abc5(0x311)](_0x2a0184),{'defIds':_0x45eeac['defIds'],'idSuffix':_0x12eda6[_0x17abc5(0x23b)]},_0x2409fc({'ref':_0x454f66,'className':_0x349f02},_0x5bdc91),_0x2b8703);});function _0x36042a(_0x4631e7,_0x5220ec,_0x592756,_0x1c036a,_0x10344f){const _0x47735a=_0x540b42;return _0x295c09[_0x47735a(0x3f8)](_0x4631e7[_0x47735a(0x384)],_0x2409fc(_0x2409fc({'key':_0x5220ec},_0x56749f(_0x4631e7,_0x592756,_0x10344f)),_0x1c036a),(_0x690a48(_0x4631e7,_0x592756)['children']||[])['map'](function(_0x9c04f2,_0x1585bb){const _0x3b79ee=_0x47735a;return _0x36042a(_0x9c04f2,''['concat'](_0x5220ec,'-')[_0x3b79ee(0x311)](_0x4631e7['tag'],'-')[_0x3b79ee(0x311)](_0x1585bb),_0x592756,void 0x0,_0x10344f);}));}function _0x56749f(_0x1923b8,_0x5073e2,_0x51d919){const _0x3bbf84=_0x540b42;var _0x326d8a=_0x2409fc({},_0x1923b8[_0x3bbf84(0x313)]);_0x51d919!=null&&_0x51d919['colorChannel1']&&_0x326d8a[_0x3bbf84(0x2a9)]==='colorChannel1'&&(_0x326d8a[_0x3bbf84(0x2a9)]=_0x51d919[_0x3bbf84(0x356)]),_0x1923b8[_0x3bbf84(0x384)]===_0x3bbf84(0x1fa)&&_0x326d8a['id']&&(_0x326d8a['id']=_0x326d8a['id']+_0x5073e2[_0x3bbf84(0x406)]),Object['entries'](_0x326d8a)[_0x3bbf84(0x3fb)](function(_0x5db902){const _0x187b34=_0x3bbf84;var _0x4c954f=_0x5db902[0x0],_0x39adf9=_0x5db902[0x1];_0x4c954f===_0x187b34(0x1fa)&&typeof _0x39adf9==_0x187b34(0x1f2)&&(_0x326d8a[_0x4c954f]=_0x39adf9[_0x187b34(0x416)](/url\(#(.*)\)/,'url(#$1'[_0x187b34(0x311)](_0x5073e2[_0x187b34(0x406)],')')));});var _0x3e8dba=_0x5073e2[_0x3bbf84(0x28c)];return!_0x3e8dba||_0x3e8dba[_0x3bbf84(0x349)]===0x0||(_0x1923b8[_0x3bbf84(0x384)]===_0x3bbf84(0x372)&&_0x326d8a[_0x3bbf84(0x30d)]&&(_0x326d8a[_0x3bbf84(0x30d)]=_0x326d8a['xlink:href']+_0x5073e2[_0x3bbf84(0x406)]),Object[_0x3bbf84(0x36b)](_0x326d8a)[_0x3bbf84(0x3fb)](function(_0x31f10d){const _0x5caa52=_0x3bbf84;var _0x5a8c37=_0x31f10d[0x0],_0x5ee3ac=_0x31f10d[0x1];typeof _0x5ee3ac==_0x5caa52(0x1f2)&&(_0x326d8a[_0x5a8c37]=_0x5ee3ac['replace'](/url\(#(.*)\)/,_0x5caa52(0x3d0)[_0x5caa52(0x311)](_0x5073e2[_0x5caa52(0x406)],')')));})),_0x326d8a;}function _0x690a48(_0x52d4f3,_0x63a2e8){const _0x556f56=_0x540b42;var _0x172037,_0x95e4cb=_0x63a2e8[_0x556f56(0x28c)];return!_0x95e4cb||_0x95e4cb[_0x556f56(0x349)]===0x0?_0x52d4f3:_0x52d4f3[_0x556f56(0x384)]==='defs'&&(!((_0x172037=_0x52d4f3[_0x556f56(0x3d3)])===null||_0x172037===void 0x0)&&_0x172037[_0x556f56(0x349)])?_0x2409fc(_0x2409fc({},_0x52d4f3),{'children':_0x52d4f3[_0x556f56(0x3d3)][_0x556f56(0x25b)](function(_0x4eb766){const _0x472f25=_0x556f56;return typeof _0x4eb766['attrs']['id']==_0x472f25(0x1f2)&&_0x95e4cb&&_0x95e4cb['indexOf'](_0x4eb766['attrs']['id'])>-0x1?_0x2409fc(_0x2409fc({},_0x4eb766),{'attrs':_0x2409fc(_0x2409fc({},_0x4eb766[_0x472f25(0x313)]),{'id':_0x4eb766[_0x472f25(0x313)]['id']+_0x63a2e8[_0x472f25(0x406)]})}):_0x4eb766;})}):_0x52d4f3;}function _0x1af5d4(){const _0x59b6cd=_0x540b42;return Math[_0x59b6cd(0x355)]()[_0x59b6cd(0x440)](0x24)[_0x59b6cd(0x1b1)](0x2,0x8);}_0x9f109f[_0x540b42(0x2b0)]=_0x540b42(0x336);var _0x14a6a3={'tag':_0x540b42(0x257),'attrs':{'fill':_0x540b42(0x258),'viewBox':_0x540b42(0x253),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x540b42(0x367)},'children':[{'tag':_0x540b42(0x261),'attrs':{'stroke':_0x540b42(0x2fa),'d':_0x540b42(0x443),'strokeLinecap':'round','strokeLinejoin':_0x540b42(0x24a),'strokeWidth':1.2}}]},{'tag':_0x540b42(0x3bf),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x540b42(0x261),'attrs':{'fill':_0x540b42(0x363),'d':_0x540b42(0x1a8)}}]}]}],'defIds':[_0x540b42(0x419)]},_0x3caf0b=_0x295c09[_0x540b42(0x2bd)](function(_0x7e2efd,_0x43d69d){const _0x1d874a=_0x540b42;return _0x295c09['createElement'](_0x9f109f,Object[_0x1d874a(0x3e9)]({},_0x7e2efd,{'id':_0x1d874a(0x3d6),'ref':_0x43d69d,'icon':_0x14a6a3}));});_0x3caf0b[_0x540b42(0x2b0)]='OffLineSingle';var _0x492342={'tag':_0x540b42(0x257),'attrs':{'fill':_0x540b42(0x258),'viewBox':'0\x200\x2017\x2016','width':_0x540b42(0x40e),'height':_0x540b42(0x40e)},'children':[{'tag':'g','attrs':{'clipPath':_0x540b42(0x271)},'children':[{'tag':_0x540b42(0x261),'attrs':{'stroke':_0x540b42(0x2fa),'d':_0x540b42(0x3d2),'strokeLinecap':_0x540b42(0x24a),'strokeLinejoin':_0x540b42(0x24a),'strokeWidth':1.2}}]},{'tag':_0x540b42(0x3bf),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x540b42(0x42f)},'children':[{'tag':_0x540b42(0x261),'attrs':{'fill':'#fff','d':_0x540b42(0x1a8),'transform':_0x540b42(0x223)}}]}]}],'defIds':[_0x540b42(0x42f)]},_0x1f5772=_0x295c09[_0x540b42(0x2bd)](function(_0x5bfe79,_0x4ec227){const _0x2c93ce=_0x540b42;return _0x295c09[_0x2c93ce(0x3f8)](_0x9f109f,Object[_0x2c93ce(0x3e9)]({},_0x5bfe79,{'id':'on-line-single','ref':_0x4ec227,'icon':_0x492342}));});_0x1f5772[_0x540b42(0x2b0)]='OnLineSingle';function _0x3c0fdf(_0x14c372){const _0x576735=_0x540b42;switch(_0x14c372){case _0x41dc5f[_0x576735(0x362)][_0x576735(0x227)]:return'collabStatus.offline';case _0x41dc5f[_0x576735(0x362)][_0x576735(0x409)]:return _0x576735(0x226);case _0x41dc5f[_0x576735(0x362)]['FETCH_MISS']:return _0x576735(0x27d);case _0x41dc5f[_0x576735(0x362)][_0x576735(0x26b)]:return _0x576735(0x2f9);case _0x41dc5f['CollaborationStatus'][_0x576735(0x2f2)]:case _0x41dc5f[_0x576735(0x362)][_0x576735(0x35d)]:return'collabStatus.syncing';case _0x41dc5f[_0x576735(0x362)][_0x576735(0x306)]:case _0x41dc5f[_0x576735(0x362)][_0x576735(0x2a7)]:return _0x576735(0x431);}}function _0x57b7f0(_0x4be8fb){const _0x56abb1=_0x540b42,{status$:_0x2f39bc}=_0x4be8fb,_0x2e91d4=_0x264d8f['useObservable'](_0x2f39bc,_0x41dc5f[_0x56abb1(0x362)][_0x56abb1(0x26b)]),_0x173266=_0x264d8f[_0x56abb1(0x245)](_0x42b304[_0x56abb1(0x214)]),_0x21a74a=_0x264d8f[_0x56abb1(0x245)](_0x41dc5f[_0x56abb1(0x276)]),_0x21bc6c=_0x2e91d4!==_0x41dc5f[_0x56abb1(0x362)][_0x56abb1(0x227)],_0x5d5555=_0x173266['t'](_0x3c0fdf(_0x2e91d4)),_0x944cbd=_0x21bc6c?_0x4d12c8[_0x56abb1(0x1d4)](_0x1f5772,{}):_0x4d12c8[_0x56abb1(0x1d4)](_0x3caf0b,{}),_0xb68fb3=_0x295c09[_0x56abb1(0x21b)](()=>{const _0x5c83a8=_0x56abb1;_0x21bc6c||_0x21a74a[_0x5c83a8(0x29a)]();},[_0x21bc6c,_0x21a74a]);function _0x38b2fb(){const _0x5b4886=_0x56abb1;return _0x4d12c8[_0x5b4886(0x1f7)](_0x5b4886(0x27e),{'className':_0x5b4886(0x1d1),'onClick':_0xb68fb3,'children':[_0x4d12c8[_0x5b4886(0x1d4)](_0x5b4886(0x27e),{'className':_0x2e5ccb[_0x5b4886(0x333)](_0x5b4886(0x30c),_0x21bc6c?'univer-text-green-500':_0x5b4886(0x392)),'children':_0x944cbd}),_0x4d12c8[_0x5b4886(0x1d4)]('div',{'className':_0x5b4886(0x29e),'children':_0x5d5555})]});}return _0x21bc6c?_0x38b2fb():_0x4d12c8[_0x56abb1(0x1d4)](_0x2e5ccb[_0x56abb1(0x3c2)],{'title':_0x173266['t'](_0x56abb1(0x2f3)),'children':_0x38b2fb()});}var _0x3360ec=Object['getOwnPropertyDescriptor'],_0x5b5135=(_0x6333bc,_0x21054f,_0x2aa315,_0x3edc34)=>{const _0x4c1e56=_0x540b42;for(var _0x45ff5f=_0x3edc34>0x1?void 0x0:_0x3edc34?_0x3360ec(_0x21054f,_0x2aa315):_0x21054f,_0x37abab=_0x6333bc[_0x4c1e56(0x349)]-0x1,_0x500d17;_0x37abab>=0x0;_0x37abab--)(_0x500d17=_0x6333bc[_0x37abab])&&(_0x45ff5f=_0x500d17(_0x45ff5f)||_0x45ff5f);return _0x45ff5f;},_0x3bfd2d=(_0x365a2a,_0x462b8d)=>(_0x50d1a5,_0x3f3feb)=>_0x462b8d(_0x50d1a5,_0x3f3feb,_0x365a2a);_0x41c194['DesktopCollaborationStatusDisplayController']=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x590b6d,_0x358c26,_0x3b8f60,_0x2951a9){const _0x2a6c43=_0x540b42;super(),_0x432cc5(this,_0x2a6c43(0x1fb),new _0x34f1d4['BehaviorSubject'](_0x41dc5f[_0x2a6c43(0x362)][_0x2a6c43(0x26b)])),(this[_0x2a6c43(0x246)]=_0x590b6d,this[_0x2a6c43(0x31b)]=_0x358c26,this['_collaborationController']=_0x3b8f60,this[_0x2a6c43(0x1ff)]=_0x2951a9,this[_0x2a6c43(0x40c)](),this['_initStatusListener']());}[_0x540b42(0x3ae)](){const _0x34d616=_0x540b42;this[_0x34d616(0x2d2)](this[_0x34d616(0x246)][_0x34d616(0x32f)]['pipe'](_0x34f1d4[_0x34d616(0x1b9)](()=>{const _0x441b07=_0x34d616,_0x48e3c9=this[_0x441b07(0x246)][_0x441b07(0x358)]();return _0x48e3c9?this[_0x441b07(0x291)][_0x441b07(0x3da)](_0x48e3c9[_0x441b07(0x3c5)]()):_0x34f1d4['of'](null);}),_0x34f1d4[_0x34d616(0x1b9)](_0x4c2ccb=>_0x4c2ccb?_0x4c2ccb[_0x34d616(0x3ad)]:_0x34f1d4['of'](_0x41dc5f['CollaborationStatus'][_0x34d616(0x26b)])))['subscribe'](_0x204325=>{const _0x580960=_0x34d616;this[_0x580960(0x1fb)][_0x580960(0x28e)](_0x204325);}));}[_0x540b42(0x40c)](){const _0x47d096=_0x540b42;this['disposeWithMe'](this[_0x47d096(0x1ff)]['registerComponent'](_0x264d8f['BuiltInUIPart']['HEADER_MENU'],()=>_0x264d8f['connectInjector'](_0x4bee60({'status$':this[_0x47d096(0x1fb)][_0x47d096(0x1c2)]()}),this[_0x47d096(0x31b)])));}},_0x41c194['DesktopCollaborationStatusDisplayController']=_0x5b5135([_0x3bfd2d(0x0,_0x42b304[_0x540b42(0x1e5)]),_0x3bfd2d(0x1,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x3bfd2d(0x2,_0x42b304[_0x540b42(0x40f)](_0x41dc5f['CollaborationController'])),_0x3bfd2d(0x3,_0x264d8f[_0x540b42(0x3d7)])],_0x41c194[_0x540b42(0x2bf)]);function _0x4bee60(_0x43d20f){const {status$:_0x5adcb0}=_0x43d20f;return function(){const _0x5f13cb=_0x4c0a;return _0x4d12c8[_0x5f13cb(0x1d4)](_0x57b7f0,{'status$':_0x5adcb0});};}var _0x116ab4=Object[_0x540b42(0x2fc)],_0x2f8b8d=(_0x282243,_0x4ec255,_0x3a3358,_0x20db3f)=>{for(var _0x3c1419=_0x20db3f>0x1?void 0x0:_0x20db3f?_0x116ab4(_0x4ec255,_0x3a3358):_0x4ec255,_0x2dcd1f=_0x282243['length']-0x1,_0x5050f8;_0x2dcd1f>=0x0;_0x2dcd1f--)(_0x5050f8=_0x282243[_0x2dcd1f])&&(_0x3c1419=_0x5050f8(_0x3c1419)||_0x3c1419);return _0x3c1419;},_0x2aa075=(_0x271cb3,_0x308610)=>(_0x2e33cf,_0x20f227)=>_0x308610(_0x2e33cf,_0x20f227,_0x271cb3);let _0x5824b5=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x29b65a,_0x58f69f,_0x4bf8a3,_0xf87ab9,_0x5d6962,_0x217cff){const _0x1f95d2=_0x540b42;super(),this[_0x1f95d2(0x297)]=_0x29b65a,this[_0x1f95d2(0x274)]=_0x58f69f,this[_0x1f95d2(0x41a)]=_0x4bf8a3,this['_messageService']=_0xf87ab9,this[_0x1f95d2(0x2df)]=_0x5d6962,this[_0x1f95d2(0x42b)]=_0x217cff,this[_0x1f95d2(0x386)](),this[_0x1f95d2(0x2fd)]();}[_0x540b42(0x386)](){const _0x1b49b7=_0x540b42;this[_0x1b49b7(0x2d2)](this[_0x1b49b7(0x297)][_0x1b49b7(0x3b9)](()=>{const _0x3d4533=_0x1b49b7;if(this[_0x3d4533(0x274)][_0x3d4533(0x27f)][_0x3d4533(0x3fe)])return this[_0x3d4533(0x42b)]['t'](_0x3d4533(0x3ce));}));}[_0x540b42(0x2fd)](){const _0xe32067=_0x540b42;this[_0xe32067(0x2d2)](this[_0xe32067(0x41a)][_0xe32067(0x2ec)][_0xe32067(0x289)](_0x56fdb7=>{const _0x12f577=_0xe32067;_0x56fdb7['id']===_0x41dc5f['CollaborationUIEventId'][_0x12f577(0x1fe)]&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)]['Warning'],'content':this[_0x12f577(0x42b)]['t']('collaboration.single-unit.warning')}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)][_0x12f577(0x29c)]&&this['_messageService']['show']({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x2c4)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x385))}),_0x56fdb7['id']===_0x41dc5f['CollaborationUIEventId'][_0x12f577(0x360)]&&this['_notificationService'][_0x12f577(0x32c)]({'title':this[_0x12f577(0x42b)]['t'](_0x12f577(0x23d)),'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x3f1)),'type':_0x12f577(0x202),'duration':0x0}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)][_0x12f577(0x409)]&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x3a7)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x385))+'('+_0x56fdb7['data']+')'}),_0x56fdb7['id']===_0x41dc5f['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x2c4)],'content':this[_0x12f577(0x42b)]['t'](_0x56fdb7[_0x12f577(0x3a8)]||'')}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)][_0x12f577(0x43c)]&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)]['Warning'],'content':this[_0x12f577(0x42b)]['t']('session.will-retry')}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)]['SOCKET_FAILED']&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x3a7)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x2f7))}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x12f577(0x32c)]({'type':_0x2e5ccb['MessageType'][_0x12f577(0x3a7)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x3c1))});}));}};_0x5824b5=_0x2f8b8d([_0x2aa075(0x0,_0x264d8f['IBeforeCloseService']),_0x2aa075(0x1,_0x41dc5f['ILocalCacheService']),_0x2aa075(0x2,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x430)])),_0x2aa075(0x3,_0x264d8f[_0x540b42(0x331)]),_0x2aa075(0x4,_0x264d8f[_0x540b42(0x25a)]),_0x2aa075(0x5,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x214)]))],_0x5824b5);const _0x13ce90='collaboration-client-ui.config',_0x374ffe={},_0x3867b1=_0x42b304[_0x540b42(0x3af)](_0x540b42(0x3ca));var _0x4c7f7e=Object[_0x540b42(0x2fc)],_0x2147d4=(_0x568630,_0x3c7c28,_0x5a6cf0,_0x43f068)=>{const _0x325e06=_0x540b42;for(var _0x546f2c=_0x43f068>0x1?void 0x0:_0x43f068?_0x4c7f7e(_0x3c7c28,_0x5a6cf0):_0x3c7c28,_0x18205b=_0x568630[_0x325e06(0x349)]-0x1,_0x2df727;_0x18205b>=0x0;_0x18205b--)(_0x2df727=_0x568630[_0x18205b])&&(_0x546f2c=_0x2df727(_0x546f2c)||_0x546f2c);return _0x546f2c;},_0x3e5462=(_0x939ebc,_0x5421d0)=>(_0x589109,_0x45d5c0)=>_0x5421d0(_0x589109,_0x45d5c0,_0x939ebc);_0x41c194[_0x540b42(0x2da)]=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x41f34d,_0x16c73b,_0x232370,_0x45e97b,_0x47ae5c){const _0x24077e=_0x540b42;super(),this[_0x24077e(0x20f)]=_0x41f34d,this[_0x24077e(0x337)]=_0x16c73b,this['_commandService']=_0x232370,this[_0x24077e(0x312)]=_0x45e97b,_0x47ae5c?_0x47ae5c==null||_0x47ae5c[_0x24077e(0x37e)]()[_0x24077e(0x302)](()=>this[_0x24077e(0x413)]()):(this[_0x24077e(0x337)]['debug']('[CollaborationDataLoaderController]',_0x24077e(0x3a5)),this[_0x24077e(0x413)]());}async[_0x540b42(0x413)](){const _0x122245=_0x540b42,_0x27f5b7=this[_0x122245(0x20f)][_0x122245(0x2b4)](_0x122245(0x3b4)),_0x534af1=this[_0x122245(0x20f)]['getParam'](_0x122245(0x1af)),_0x23419b=this[_0x122245(0x20f)][_0x122245(0x2b4)](_0x122245(0x211));if(!_0x27f5b7||!_0x534af1){this[_0x122245(0x337)][_0x122245(0x272)](_0x122245(0x2ac),_0x122245(0x212));return;}const _0x1bd005=await this[_0x122245(0x312)][_0x122245(0x201)](_0x27f5b7,Number(_0x534af1),_0x23419b);_0x1bd005&&_0x1bd005 instanceof _0x42b304['Workbook']&&this[_0x122245(0x38a)](_0x1bd005);}async['_setupSubUnitSync'](_0x1a3c11){const _0x5c0011=_0x540b42;await this[_0x5c0011(0x3cc)](_0x1a3c11),_0x1a3c11[_0x5c0011(0x37a)][_0x5c0011(0x3ba)](_0x34f1d4[_0x5c0011(0x342)](this[_0x5c0011(0x20c)]))[_0x5c0011(0x289)](_0xcbecc9=>{const _0x2af07f=_0x5c0011;_0xcbecc9&&this[_0x2af07f(0x330)](_0xcbecc9);}),this[_0x5c0011(0x20f)]['urlChange$'][_0x5c0011(0x3ba)](_0x34f1d4[_0x5c0011(0x342)](this[_0x5c0011(0x20c)]))[_0x5c0011(0x289)](()=>this[_0x5c0011(0x3cc)](_0x1a3c11));}[_0x540b42(0x330)](_0x594738,_0x5b6d40=!0x1){const _0x167277=_0x540b42,_0x1483dd=this[_0x167277(0x20f)][_0x167277(0x2b4)](_0x167277(0x211));_0x594738[_0x167277(0x378)]()!==_0x1483dd&&this[_0x167277(0x20f)][_0x167277(0x2de)](_0x167277(0x211),_0x594738['getSheetId'](),_0x5b6d40);}async[_0x540b42(0x3cc)](_0x22ce6a){const _0x4a6e03=_0x540b42;var _0x2c15e2;const _0x160e51=this[_0x4a6e03(0x20f)][_0x4a6e03(0x2b4)](_0x4a6e03(0x211));if(!_0x160e51||!_0x22ce6a[_0x4a6e03(0x25c)](_0x160e51)){const _0x48ee83=_0x22ce6a[_0x4a6e03(0x259)]()[0x0],_0x50549e=_0x22ce6a[_0x4a6e03(0x25c)](_0x48ee83);if(!_0x50549e)return;this['_updateURLWithCurrentState'](_0x50549e,!0x0),await this['_commandService']['executeCommand'](_0x29d4a1['SetWorksheetActivateCommand']['id'],{'unitId':_0x22ce6a[_0x4a6e03(0x3c5)](),'subUnitId':_0x48ee83});return;}((_0x2c15e2=_0x22ce6a['getActiveSheet']())==null?void 0x0:_0x2c15e2[_0x4a6e03(0x378)]())!==_0x160e51&&await this[_0x4a6e03(0x3c3)]['executeCommand'](_0x29d4a1['SetWorksheetActivateCommand']['id'],{'unitId':_0x22ce6a[_0x4a6e03(0x3c5)](),'subUnitId':_0x160e51});}},_0x41c194[_0x540b42(0x2da)]=_0x2147d4([_0x3e5462(0x0,_0x3867b1),_0x3e5462(0x1,_0x42b304['ILogService']),_0x3e5462(0x2,_0x42b304[_0x540b42(0x22f)]),_0x3e5462(0x3,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x20b)])),_0x3e5462(0x4,_0x42b304[_0x540b42(0x2e3)](_0x3b97e1[_0x540b42(0x318)]))],_0x41c194['CollaborationDataLoaderController']);var _0x1ee84f=Object[_0x540b42(0x2fc)],_0x5b82c1=(_0xfeb13d,_0x50ab95,_0x3e99d7,_0x2e4c98)=>{for(var _0x580311=_0x2e4c98>0x1?void 0x0:_0x2e4c98?_0x1ee84f(_0x50ab95,_0x3e99d7):_0x50ab95,_0x569b76=_0xfeb13d['length']-0x1,_0x21c06e;_0x569b76>=0x0;_0x569b76--)(_0x21c06e=_0xfeb13d[_0x569b76])&&(_0x580311=_0x21c06e(_0x580311)||_0x580311);return _0x580311;},_0x253865=(_0x4bb888,_0x5e8602)=>(_0x1b40df,_0x957b76)=>_0x5e8602(_0x1b40df,_0x957b76,_0x4bb888);let _0x456090=class{constructor(_0x1fd617,_0x1c5adb,_0x571a2e){const _0x3b07c2=_0x540b42;this[_0x3b07c2(0x31b)]=_0x1fd617,this[_0x3b07c2(0x38f)]=_0x1c5adb,this[_0x3b07c2(0x3bc)]=_0x571a2e;}[_0x540b42(0x3b6)](_0x47f459){const _0x5e587b=_0x540b42;this[_0x5e587b(0x2d7)](_0x47f459),this[_0x5e587b(0x20a)](_0x47f459);}['transformRemoteChangeset'](_0x1e8504){const _0x3b5f48=_0x540b42,{unitID:_0x5a519c}=_0x1e8504,_0x443791=this[_0x3b5f48(0x3bc)][_0x3b5f48(0x43b)](_0x5a519c)[_0x3b5f48(0x359)](_0x16bb92[_0x3b5f48(0x234)]),{redoCache:_0x1350e8}=_0x443791[_0x3b5f48(0x2ed)]();if(_0x1350e8['length']===0x0)return _0x1e8504;let _0x452490=_0x42b304['Tools'][_0x3b5f48(0x3a0)](_0x1e8504['mutations'][0x0]);for(let _0x190d6b=0x0;_0x190d6b<_0x1350e8[_0x3b5f48(0x349)];_0x190d6b++){const _0x4d78b1={'id':'doc.mutation.rich-text-editing','params':{..._0x1350e8[_0x190d6b]}},_0xeada4=this[_0x3b5f48(0x38f)][_0x3b5f48(0x1c8)](_0x452490,_0x4d78b1,!0x1);if(_0x30bf61[_0x3b5f48(0x2c6)](_0xeada4))throw _0xeada4[_0x3b5f48(0x202)];_0x452490=_0xeada4[_0x3b5f48(0x3a2)];}return{..._0x42b304[_0x3b5f48(0x332)][_0x3b5f48(0x3a0)](_0x1e8504),'mutations':[_0x452490]};}[_0x540b42(0x2d7)](_0x694b62){const _0x53bcb5=_0x540b42,{unitID:_0x7ed5ce}=_0x694b62,_0x300de8=this[_0x53bcb5(0x3bc)][_0x53bcb5(0x43b)](_0x7ed5ce)['with'](_0x16bb92[_0x53bcb5(0x234)]),{undoCache:_0x449718,redoCache:_0x337343}=_0x300de8[_0x53bcb5(0x2ed)]();if(_0x449718[_0x53bcb5(0x349)]===0x0||_0x337343[_0x53bcb5(0x349)]===0x0)return;const _0x41c0dc=[],_0x2d309a=[];let _0x585f8d=_0x42b304[_0x53bcb5(0x332)][_0x53bcb5(0x3a0)](_0x694b62['mutations'][0x0]),_0x22102c=_0x42b304['Tools']['deepClone'](_0x694b62[_0x53bcb5(0x2c1)][0x0]);for(let _0x26e7df=_0x449718[_0x53bcb5(0x349)]-0x1;_0x26e7df>=0x0;_0x26e7df--){const _0x29f928={'id':_0x53bcb5(0x398),'params':{..._0x449718[_0x26e7df]}},_0x540d09={'id':_0x53bcb5(0x398),'params':{..._0x337343[_0x26e7df]}},_0x1ca799=this[_0x53bcb5(0x38f)][_0x53bcb5(0x1c8)](_0x585f8d,_0x29f928,!0x1),_0x55a7ec=this[_0x53bcb5(0x38f)][_0x53bcb5(0x1c8)](_0x22102c,_0x540d09,!0x1);if(_0x30bf61[_0x53bcb5(0x2c6)](_0x1ca799))throw _0x1ca799[_0x53bcb5(0x202)];if(_0x30bf61[_0x53bcb5(0x2c6)](_0x55a7ec))throw _0x55a7ec[_0x53bcb5(0x202)];_0x41c0dc[_0x53bcb5(0x2d5)](_0x1ca799[_0x53bcb5(0x230)][_0x53bcb5(0x374)]),_0x2d309a[_0x53bcb5(0x2d5)](_0x55a7ec[_0x53bcb5(0x230)][_0x53bcb5(0x374)]),_0x585f8d=_0x1ca799[_0x53bcb5(0x3a2)],_0x22102c=_0x55a7ec[_0x53bcb5(0x3a2)];}_0x300de8[_0x53bcb5(0x262)]({'undoCache':_0x41c0dc,'redoCache':_0x2d309a});}[_0x540b42(0x20a)](_0x17e07b){const _0x2eaf19=_0x540b42,{unitID:_0x61b625}=_0x17e07b,_0x5e1269=this[_0x2eaf19(0x3bc)][_0x2eaf19(0x43b)](_0x61b625)[_0x2eaf19(0x359)](_0x16bb92[_0x2eaf19(0x234)]),_0x5b6900=_0x5e1269[_0x2eaf19(0x1c4)]();if(_0x5b6900==null)return;const _0x4dd1a4=[{'id':_0x2eaf19(0x398),'params':{'unitId':_0x17e07b[_0x2eaf19(0x375)],'actions':null,'textRanges':[_0x5b6900]}}],_0x363b0f=this['_transformService'][_0x2eaf19(0x43f)](_0x17e07b,_0x4dd1a4);if(!_0x30bf61[_0x2eaf19(0x308)](_0x363b0f))throw _0x363b0f[_0x2eaf19(0x202)];const _0x325e3d=_0x363b0f[_0x2eaf19(0x230)][0x0][_0x2eaf19(0x374)][_0x2eaf19(0x2ea)];Array['isArray'](_0x325e3d)&&_0x325e3d[_0x2eaf19(0x349)]&&_0x5e1269[_0x2eaf19(0x39f)](_0x325e3d[0x0]);}};_0x456090=_0x5b82c1([_0x253865(0x0,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x253865(0x1,_0x30bf61['ITransformService']),_0x253865(0x2,_0x409358[_0x540b42(0x1aa)])],_0x456090);var _0x3274f4=Object[_0x540b42(0x2fc)],_0x57de3b=(_0x383e33,_0x4ae0b5,_0x3d9051,_0x346ef6)=>{const _0x207677=_0x540b42;for(var _0x4e0cfd=_0x346ef6>0x1?void 0x0:_0x346ef6?_0x3274f4(_0x4ae0b5,_0x3d9051):_0x4ae0b5,_0xb6cbe6=_0x383e33[_0x207677(0x349)]-0x1,_0x250b69;_0xb6cbe6>=0x0;_0xb6cbe6--)(_0x250b69=_0x383e33[_0xb6cbe6])&&(_0x4e0cfd=_0x250b69(_0x4e0cfd)||_0x4e0cfd);return _0x4e0cfd;},_0x306648=(_0x297471,_0x4efb3d)=>(_0x321c6c,_0x559cc3)=>_0x4efb3d(_0x321c6c,_0x559cc3,_0x297471);let _0x412db4=class{constructor(_0x4624a1,_0x5092c6,_0x1ab7a3){const _0x1b3f21=_0x540b42;this[_0x1b3f21(0x31b)]=_0x4624a1,this[_0x1b3f21(0x38f)]=_0x5092c6,this[_0x1b3f21(0x28b)]=_0x1ab7a3;}[_0x540b42(0x41c)](_0x36ca81){const _0x4cb39b=_0x540b42;this[_0x4cb39b(0x34a)](_0x36ca81);}[_0x540b42(0x408)](_0xd3e272){const _0x23b33b=_0x540b42,{unitID:_0x2df32e}=_0xd3e272,{collaboration:_0x230f20}=this[_0x23b33b(0x28b)][_0x23b33b(0x40b)](_0x2df32e);if(_0x230f20[_0x23b33b(0x349)]===0x0)return _0xd3e272;let _0x19c2b5=_0x42b304[_0x23b33b(0x332)][_0x23b33b(0x3a0)](_0xd3e272[_0x23b33b(0x2c1)][0x0]);for(let _0x30f4a4=0x0;_0x30f4a4<_0x230f20['length'];_0x30f4a4++){const _0x2b292f={'id':_0x23b33b(0x398),'params':{'unitId':_0x230f20[_0x30f4a4][_0x23b33b(0x1f3)],..._0x230f20[_0x30f4a4][_0x23b33b(0x23f)]}},_0x217b32=this['_transformService'][_0x23b33b(0x1c8)](_0x19c2b5,_0x2b292f,!0x1);if(_0x30bf61[_0x23b33b(0x2c6)](_0x217b32))throw _0x217b32[_0x23b33b(0x202)];_0x19c2b5=_0x217b32[_0x23b33b(0x3a2)];}return{..._0x42b304[_0x23b33b(0x332)][_0x23b33b(0x3a0)](_0xd3e272),'mutations':[_0x19c2b5]};}[_0x540b42(0x34a)](_0x3f6768){const _0x4fe874=_0x540b42,{unitID:_0x3e40c4}=_0x3f6768,{history:_0x52e5f4,collaboration:_0xb319bb}=this[_0x4fe874(0x28b)][_0x4fe874(0x40b)](_0x3e40c4);if(_0x52e5f4[_0x4fe874(0x349)]===0x0&&_0xb319bb['length']===0x0)return;const _0x42395c=[],_0x950c87=[];let _0x2573d4=_0x42b304[_0x4fe874(0x332)]['deepClone'](_0x3f6768[_0x4fe874(0x2c1)][0x0]),_0x29790b=_0x42b304['Tools'][_0x4fe874(0x3a0)](_0x3f6768['mutations'][0x0]);for(let _0x2fa32d=_0x52e5f4[_0x4fe874(0x349)]-0x1;_0x2fa32d>=0x0;_0x2fa32d--){const _0x2c5be0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x52e5f4[_0x2fa32d][_0x4fe874(0x1f3)],..._0x52e5f4[_0x2fa32d][_0x4fe874(0x31e)]}},_0x2d2e9e={'id':_0x4fe874(0x398),'params':{'unitId':_0x52e5f4[_0x2fa32d][_0x4fe874(0x1f3)],..._0x52e5f4[_0x2fa32d][_0x4fe874(0x23f)]}},_0x54a774=this[_0x4fe874(0x38f)][_0x4fe874(0x1c8)](_0x2573d4,_0x2c5be0,!0x1),_0x43aff7=this['_transformService']['transformMutation'](_0x29790b,_0x2d2e9e,!0x1);if(_0x30bf61[_0x4fe874(0x2c6)](_0x54a774))throw _0x54a774[_0x4fe874(0x202)];if(_0x30bf61[_0x4fe874(0x2c6)](_0x43aff7))throw _0x43aff7[_0x4fe874(0x202)];_0x42395c['unshift']({..._0x52e5f4[_0x2fa32d],'undoState':_0x54a774[_0x4fe874(0x230)][_0x4fe874(0x374)],'redoState':_0x43aff7['m2Prime'][_0x4fe874(0x374)]}),_0x2573d4=_0x54a774[_0x4fe874(0x3a2)],_0x29790b=_0x43aff7[_0x4fe874(0x3a2)];}_0x2573d4=_0x42b304[_0x4fe874(0x332)][_0x4fe874(0x3a0)](_0x3f6768['mutations'][0x0]),_0x29790b=_0x42b304['Tools'][_0x4fe874(0x3a0)](_0x3f6768[_0x4fe874(0x2c1)][0x0]);for(let _0x502961=_0xb319bb[_0x4fe874(0x349)]-0x1;_0x502961>=0x0;_0x502961--){const _0x507674={'id':_0x4fe874(0x398),'params':{'unitId':_0xb319bb[_0x502961][_0x4fe874(0x1f3)],..._0xb319bb[_0x502961]['undoState']}},_0x2b20a9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb319bb[_0x502961][_0x4fe874(0x1f3)],..._0xb319bb[_0x502961][_0x4fe874(0x23f)]}},_0x56fbce=this[_0x4fe874(0x38f)][_0x4fe874(0x1c8)](_0x2573d4,_0x507674,!0x1),_0x576f2f=this[_0x4fe874(0x38f)]['transformMutation'](_0x29790b,_0x2b20a9,!0x1);if(_0x30bf61[_0x4fe874(0x2c6)](_0x56fbce))throw _0x56fbce[_0x4fe874(0x202)];if(_0x30bf61['isTransformMutationFailure'](_0x576f2f))throw _0x576f2f[_0x4fe874(0x202)];_0x950c87[_0x4fe874(0x2d5)]({..._0xb319bb[_0x502961],'undoState':_0x56fbce[_0x4fe874(0x230)][_0x4fe874(0x374)],'redoState':_0x576f2f[_0x4fe874(0x230)][_0x4fe874(0x374)]}),_0x2573d4=_0x56fbce[_0x4fe874(0x3a2)],_0x29790b=_0x576f2f['m1Prime'];}this[_0x4fe874(0x28b)][_0x4fe874(0x1c1)](_0x3e40c4,{'history':_0x42395c,'collaboration':_0x950c87});}};_0x412db4=_0x57de3b([_0x306648(0x0,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x306648(0x1,_0x30bf61[_0x540b42(0x2e1)]),_0x306648(0x2,_0x42b304[_0x540b42(0x40f)](_0x16bb92[_0x540b42(0x1e9)]))],_0x412db4);var _0x418016=Object[_0x540b42(0x2fc)],_0x49dc57=(_0x455757,_0x3273e0,_0x496d6b,_0x40e9e2)=>{const _0x4fa1cf=_0x540b42;for(var _0x3aa1b7=_0x40e9e2>0x1?void 0x0:_0x40e9e2?_0x418016(_0x3273e0,_0x496d6b):_0x3273e0,_0x26e1c4=_0x455757[_0x4fa1cf(0x349)]-0x1,_0x2ab93c;_0x26e1c4>=0x0;_0x26e1c4--)(_0x2ab93c=_0x455757[_0x26e1c4])&&(_0x3aa1b7=_0x2ab93c(_0x3aa1b7)||_0x3aa1b7);return _0x3aa1b7;},_0x3719ec=(_0x474e5c,_0x2cc503)=>(_0x3082e3,_0x220c55)=>_0x2cc503(_0x3082e3,_0x220c55,_0x474e5c);let _0x554bd6=class{constructor(_0x7a1edb,_0x12ab9c){const _0x38121f=_0x540b42;this[_0x38121f(0x31b)]=_0x7a1edb,this[_0x38121f(0x38f)]=_0x12ab9c;}['transformSelections'](_0x4ab075){const _0x2b21e2=_0x540b42;var _0x2e5277;const _0x400c9a=this[_0x2b21e2(0x31b)][_0x2b21e2(0x26c)](_0x4e9cff['DocSelectionManagerService']),_0x28e53f=(_0x2e5277=_0x400c9a[_0x2b21e2(0x3e3)]())!=null?_0x2e5277:[];if(_0x28e53f[_0x2b21e2(0x349)]===0x0)return;const _0x377649=_0x4ab075[_0x2b21e2(0x375)],_0x3f1111=[{'id':_0x2b21e2(0x398),'params':{'unitId':_0x377649,'actions':null,'textRanges':_0x28e53f}}],_0x2b9ce2=this[_0x2b21e2(0x38f)][_0x2b21e2(0x43f)](_0x4ab075,_0x3f1111);if(!_0x30bf61[_0x2b21e2(0x308)](_0x2b9ce2))throw _0x2b9ce2[_0x2b21e2(0x202)];const _0x3107e6=_0x2b9ce2[_0x2b21e2(0x230)][0x0][_0x2b21e2(0x374)][_0x2b21e2(0x2ea)];Array[_0x2b21e2(0x208)](_0x3107e6)&&_0x3107e6[_0x2b21e2(0x349)]&&_0x400c9a[_0x2b21e2(0x2e2)](_0x3107e6,{'unitId':_0x377649,'subUnitId':_0x377649},!0x1);}};_0x554bd6=_0x49dc57([_0x3719ec(0x0,_0x42b304['Inject'](_0x42b304[_0x540b42(0x2f8)])),_0x3719ec(0x1,_0x30bf61['ITransformService'])],_0x554bd6);var _0x301bb6=Object[_0x540b42(0x2fc)],_0x477528=(_0x5daf6a,_0x5d4b20,_0x167256,_0x261b96)=>{for(var _0x28628f=_0x261b96>0x1?void 0x0:_0x261b96?_0x301bb6(_0x5d4b20,_0x167256):_0x5d4b20,_0x299993=_0x5daf6a['length']-0x1,_0x441b4a;_0x299993>=0x0;_0x299993--)(_0x441b4a=_0x5daf6a[_0x299993])&&(_0x28628f=_0x441b4a(_0x28628f)||_0x28628f);return _0x28628f;},_0x148473=(_0x10703b,_0x2a2b09)=>(_0x4401f5,_0x5e1f91)=>_0x2a2b09(_0x4401f5,_0x5e1f91,_0x10703b);let _0x11670f=class extends _0x42b304['Disposable']{constructor(_0x41c2e,_0x19a143,_0x462daa,_0x424033,_0x236eb6,_0x5b4003,_0x1ec236,_0x22c36b){const _0x7caba4=_0x540b42;super(),_0x432cc5(this,_0x7caba4(0x1fb),new _0x34f1d4[(_0x7caba4(0x225))](_0x41dc5f[_0x7caba4(0x362)]['NOT_COLLAB'])),(this[_0x7caba4(0x28b)]=_0x41c2e,this[_0x7caba4(0x291)]=_0x19a143,this[_0x7caba4(0x1d5)]=_0x462daa,this[_0x7caba4(0x240)]=_0x424033,this[_0x7caba4(0x348)]=_0x236eb6,this['_docSyncEditingCollabCursorService']=_0x5b4003,this[_0x7caba4(0x35c)]=_0x1ec236,this[_0x7caba4(0x42b)]=_0x22c36b,this[_0x7caba4(0x3cb)]());}[_0x540b42(0x3cb)](){const _0x41b5fb=_0x540b42;this[_0x41b5fb(0x2d2)](this[_0x41b5fb(0x291)][_0x41b5fb(0x407)][_0x41b5fb(0x289)](_0x512568=>{const _0x96b13f=_0x41b5fb,_0x2c9322=this[_0x96b13f(0x28b)][_0x96b13f(0x2bb)][_0x96b13f(0x289)](_0x3294bc=>{const _0xa714be=_0x96b13f;if(_0x3294bc==null)return;const {unitId:_0x43944f,redoState:_0x53761c,commandId:_0x13187d}=_0x3294bc;if(_0x43944f!==_0x512568[_0xa714be(0x375)])return;const _0x671af={'id':_0x13187d,'type':_0x42b304['CommandType'][_0xa714be(0x2c7)],'params':{'unitId':_0x43944f,'actions':_0x53761c[_0xa714be(0x396)],'textRanges':null}};_0x512568[_0xa714be(0x31d)](_0x671af);});if(_0x512568['disposeWithMe'](_0x2c9322),_0x512568 instanceof _0x41dc5f[_0x96b13f(0x417)]){const _0x27344c={'onTransformIME':_0x2bfdd2=>this[_0x96b13f(0x1d5)][_0x96b13f(0x3b6)](_0x2bfdd2),'onTransformState':_0x3bd0a2=>this[_0x96b13f(0x240)][_0x96b13f(0x41c)](_0x3bd0a2),'onTransformSelections':_0x116a54=>this['_docTransformSelectionsService'][_0x96b13f(0x1d2)](_0x116a54),'onSyncEditingCollabCursor':_0x19be96=>this[_0x96b13f(0x28a)][_0x96b13f(0x3c7)](_0x19be96),'onTransformRemoteChangesetByIMECache':_0x7acb86=>this[_0x96b13f(0x1d5)][_0x96b13f(0x408)](_0x7acb86),'onTransformRemoteChangesetByStateCache':_0x4f7f90=>this[_0x96b13f(0x240)][_0x96b13f(0x408)](_0x4f7f90)};_0x512568[_0x96b13f(0x366)](_0x27344c);}}));}};_0x11670f=_0x477528([_0x148473(0x0,_0x42b304['Inject'](_0x16bb92[_0x540b42(0x1e9)])),_0x148473(0x1,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x41f)])),_0x148473(0x2,_0x42b304[_0x540b42(0x40f)](_0x456090)),_0x148473(0x3,_0x42b304['Inject'](_0x412db4)),_0x148473(0x4,_0x42b304['Inject'](_0x554bd6)),_0x148473(0x5,_0x42b304[_0x540b42(0x40f)](_0x42f10f)),_0x148473(0x6,_0x264d8f[_0x540b42(0x331)]),_0x148473(0x7,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x214)]))],_0x11670f);var _0x53cb2b=Object['getOwnPropertyDescriptor'],_0x3bfaa3=(_0x24bfcb,_0x13ae76,_0x530b32,_0xaf4e29)=>{for(var _0x493dea=_0xaf4e29>0x1?void 0x0:_0xaf4e29?_0x53cb2b(_0x13ae76,_0x530b32):_0x13ae76,_0x3b22d5=_0x24bfcb['length']-0x1,_0x2f9704;_0x3b22d5>=0x0;_0x3b22d5--)(_0x2f9704=_0x24bfcb[_0x3b22d5])&&(_0x493dea=_0x2f9704(_0x493dea)||_0x493dea);return _0x493dea;},_0x215d82=(_0x1e6e27,_0x291bcc)=>(_0x45825c,_0x1aa32f)=>_0x291bcc(_0x45825c,_0x1aa32f,_0x1e6e27);let _0x338c4b=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x4a3c0d,_0x55f493,_0xf688b2){const _0x753b5f=_0x540b42;super(),_0x432cc5(this,'_cachedData',new Map()),_0x432cc5(this,_0x753b5f(0x39e),new Map()),_0x432cc5(this,_0x753b5f(0x43a),!0x1),(this['_configService']=_0x4a3c0d,this[_0x753b5f(0x314)]=_0x55f493,this[_0x753b5f(0x3c8)]=_0xf688b2);}[_0x540b42(0x2e8)](){const _0x8083f1=_0x540b42;this[_0x8083f1(0x43a)]=!0x0;}[_0x540b42(0x41b)](){this['_disabled']=!0x1;}get[_0x540b42(0x27f)](){const _0x1563bc=_0x540b42;return this[_0x1563bc(0x39e)];}['dispose'](){const _0x22cd28=_0x540b42;this[_0x22cd28(0x3b2)]()[_0x22cd28(0x302)](()=>super[_0x22cd28(0x26d)]());}async[_0x540b42(0x3d9)](_0x167614){const _0x36e948=_0x540b42;return this[_0x36e948(0x43a)]?null:this[_0x36e948(0x314)][_0x36e948(0x2b9)](_0x41dc5f[_0x36e948(0x27b)](_0x167614));}async[_0x540b42(0x343)](_0x47ddb5,_0x561385){const _0x42dfed=_0x540b42;return!!this[_0x42dfed(0x314)][_0x42dfed(0x29b)](_0x47ddb5,_0x561385);}[_0x540b42(0x25e)](_0x26e2ad,_0x17021f,_0x1015fd,_0x21aeaf){const _0x14f67f=_0x540b42,_0x490c06=this[_0x14f67f(0x3c8)]['getCurrentRevOfUnit'](_0x26e2ad);this[_0x14f67f(0x235)][_0x14f67f(0x1e2)](_0x26e2ad,{'unitID':_0x26e2ad,'type':_0x17021f,'awaitingChangeset':_0x1015fd,'mutations':_0x21aeaf,'rev':_0x490c06}),this[_0x14f67f(0x39e)][_0x14f67f(0x25d)](_0x26e2ad)||this[_0x14f67f(0x1d8)](_0x26e2ad);}[_0x540b42(0x1d8)](_0x2a660e){const _0x4b301d=_0x540b42,_0x1239df=this[_0x4b301d(0x1bd)]();_0x1239df===0x0?this[_0x4b301d(0x24b)](_0x2a660e):this['_saveTaskMap']['set'](_0x2a660e,setTimeout(()=>this[_0x4b301d(0x24b)](_0x2a660e),_0x1239df));}[_0x540b42(0x1bd)](){const _0x1018b5=_0x540b42;var _0x5a2350;return(_0x5a2350=this[_0x1018b5(0x209)][_0x1018b5(0x1ca)](_0x41dc5f[_0x1018b5(0x1c9)]))!=null?_0x5a2350:_0x41dc5f[_0x1018b5(0x40d)];}[_0x540b42(0x24b)](_0x4210e0){const _0x30e818=_0x540b42,_0x107449=this[_0x30e818(0x39e)][_0x30e818(0x26c)](_0x4210e0);return _0x107449!==void 0x0&&window[_0x30e818(0x427)](_0x107449),this['_localStorageService']['setItem'](_0x41dc5f[_0x30e818(0x27b)](_0x4210e0),this[_0x30e818(0x235)]['get'](_0x4210e0))[_0x30e818(0x302)](()=>this['_saveTaskMap']['delete'](_0x4210e0));}async['exhaustSavingTask'](){const _0x2e8286=_0x540b42,_0x44fd40=[];this[_0x2e8286(0x39e)][_0x2e8286(0x3fb)]((_0x4c79d3,_0x2bc5d0)=>{const _0x5a961e=_0x2e8286;window[_0x5a961e(0x427)](_0x4c79d3),_0x44fd40[_0x5a961e(0x2ef)](this['_saveCache'](_0x2bc5d0)[_0x5a961e(0x302)](()=>{const _0x2abfaa=_0x5a961e;this[_0x2abfaa(0x39e)][_0x2abfaa(0x278)](_0x2bc5d0);}));}),await Promise[_0x2e8286(0x252)](_0x44fd40);}};_0x338c4b=_0x3bfaa3([_0x215d82(0x0,_0x42b304[_0x540b42(0x3f9)]),_0x215d82(0x1,_0x42b304[_0x540b42(0x217)]),_0x215d82(0x2,_0x42b304['Inject'](_0x30bf61[_0x540b42(0x39d)]))],_0x338c4b);class _0x3f58ef extends _0x42b304['RxDisposable']{constructor(){const _0xb9765=_0x540b42;super(),_0x432cc5(this,'urlChange$'),this[_0xb9765(0x394)]=_0x34f1d4[_0xb9765(0x29f)](window,_0xb9765(0x444))[_0xb9765(0x3ba)](_0x34f1d4[_0xb9765(0x342)](this[_0xb9765(0x20c)]),_0x34f1d4[_0xb9765(0x32a)](0x1),_0x34f1d4[_0xb9765(0x325)](void 0x0));}['setParam'](_0x4d4ad3,_0x21dde9,_0x51afc2=!0x1){const _0x3441a2=_0x540b42,_0x38f85b=new URL(window[_0x3441a2(0x2ff)][_0x3441a2(0x3f5)]);_0x38f85b[_0x3441a2(0x3f3)]['set'](_0x4d4ad3,_0x21dde9),_0x51afc2?window[_0x3441a2(0x2f0)][_0x3441a2(0x310)]('','',_0x38f85b['toString']()):window[_0x3441a2(0x2f0)][_0x3441a2(0x3ee)]('','',_0x38f85b[_0x3441a2(0x440)]());}[_0x540b42(0x2c8)](_0x4009b6,_0x5b1315=!0x1){const _0xed1617=_0x540b42,_0x56e3af=new URL(window['location'][_0xed1617(0x3f5)]);_0x56e3af[_0xed1617(0x3f3)][_0xed1617(0x278)](_0x4009b6),_0x5b1315?window['history'][_0xed1617(0x310)]('','',_0x56e3af[_0xed1617(0x440)]()):window[_0xed1617(0x2f0)][_0xed1617(0x3ee)]('','',_0x56e3af['toString']());}[_0x540b42(0x2b4)](_0x18c400){const _0x3ac5b6=_0x540b42;var _0x5a5c08;return(_0x5a5c08=new URL(window[_0x3ac5b6(0x2ff)][_0x3ac5b6(0x3f5)])[_0x3ac5b6(0x3f3)][_0x3ac5b6(0x26c)](_0x18c400))!=null?_0x5a5c08:void 0x0;}}var _0x46e4da=Object[_0x540b42(0x446)],_0x1f8801=Object[_0x540b42(0x2fc)],_0x2ec6a8=(_0x38ee64,_0x435eb2,_0x59f6ce)=>_0x435eb2 in _0x38ee64?_0x46e4da(_0x38ee64,_0x435eb2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59f6ce}):_0x38ee64[_0x435eb2]=_0x59f6ce,_0x432493=(_0x433276,_0x198a9b,_0xbe8d6b,_0x3529bf)=>{const _0x51345e=_0x540b42;for(var _0x17f2d5=_0x3529bf>0x1?void 0x0:_0x3529bf?_0x1f8801(_0x198a9b,_0xbe8d6b):_0x198a9b,_0x5863c5=_0x433276[_0x51345e(0x349)]-0x1,_0x16b792;_0x5863c5>=0x0;_0x5863c5--)(_0x16b792=_0x433276[_0x5863c5])&&(_0x17f2d5=_0x16b792(_0x17f2d5)||_0x17f2d5);return _0x17f2d5;},_0x39a37c=(_0x1d8f0c,_0x9c9cb6)=>(_0x3e6708,_0x580444)=>_0x9c9cb6(_0x3e6708,_0x580444,_0x1d8f0c),_0xe622b6=(_0x513077,_0x824cc3,_0x24bd47)=>_0x2ec6a8(_0x513077,_0x824cc3+'',_0x24bd47);const _0x5da211=_0x540b42(0x2e6);_0x41c194[_0x540b42(0x2a8)]=class extends _0x42b304[_0x540b42(0x328)]{constructor(_0x59d305=_0x374ffe,_0x17e4dd,_0x5ad4b6,_0x344d5d){const _0x16d352=_0x540b42;super(),this['_config']=_0x59d305,this[_0x16d352(0x3bc)]=_0x17e4dd,this['_injector']=_0x5ad4b6,this[_0x16d352(0x209)]=_0x344d5d;const {..._0x24fda7}=_0x42b304[_0x16d352(0x3c6)]({},_0x374ffe,this[_0x16d352(0x290)]);this['_configService']['setConfig'](_0x13ce90,_0x24fda7);}[_0x540b42(0x39a)](){const _0x57b2bc=_0x540b42;this[_0x57b2bc(0x2b6)](),this['_initDependencies']();}[_0x540b42(0x205)](){const _0x5a96fe=_0x540b42;this[_0x5a96fe(0x2ae)]();}[_0x540b42(0x2b6)](){const _0x18d307=_0x540b42;var _0x4f83ae;const _0x407f24=[[_0x4fb46b],[_0x554bd6],[_0x456090],[_0x412db4],[_0x42f10f],[_0x3867b1,{'useClass':_0x3f58ef}],[_0x43144b[_0x18d307(0x2a6)],{'useClass':_0x43144b['WebSocketService']}],[_0x41dc5f[_0x18d307(0x403)],{'useClass':_0x338c4b}],[_0x41c194[_0x18d307(0x2bf)]],[_0x11670f],[_0x5824b5],[_0x1283a0],[_0x55be9f],[_0x41c194[_0x18d307(0x2da)]]];_0x42b304[_0x18d307(0x3df)](this[_0x18d307(0x31b)],_0x42b304['mergeOverrideWithDependencies'](_0x407f24,(_0x4f83ae=this['_config'])==null?void 0x0:_0x4f83ae['override']));}[_0x540b42(0x2ae)](){const _0x123761=_0x540b42;this[_0x123761(0x2d2)](this[_0x123761(0x3bc)][_0x123761(0x438)](_0x42b304[_0x123761(0x22e)][_0x123761(0x270)],[_0x50cbf7])),this[_0x123761(0x2d2)](this['_renderManagerService']['registerRenderModule'](_0x42b304[_0x123761(0x22e)][_0x123761(0x33f)],[_0x50b460]));}['_initDependencies'](){const _0x419d84=_0x540b42;_0x42b304['touchDependencies'](this[_0x419d84(0x31b)],[[_0x1283a0],[_0x41c194[_0x419d84(0x2bf)]],[_0x11670f],[_0x5824b5],[_0x41c194[_0x419d84(0x2da)]]]);}},_0xe622b6(_0x41c194[_0x540b42(0x2a8)],'pluginName',_0x5da211),_0x41c194['UniverCollaborationClientUIPlugin']=_0x432493([_0x42b304[_0x540b42(0x1d0)](_0x41dc5f[_0x540b42(0x36f)]),_0x39a37c(0x1,_0x409358[_0x540b42(0x1aa)]),_0x39a37c(0x2,_0x42b304['Inject'](_0x42b304['Injector'])),_0x39a37c(0x3,_0x42b304[_0x540b42(0x3f9)])],_0x41c194['UniverCollaborationClientUIPlugin']);var _0xb7a0ab=Object['getOwnPropertyDescriptor'],_0x50a037=(_0x585d85,_0x3ede2b,_0x53d232,_0x27fcb7)=>{const _0x240f2c=_0x540b42;for(var _0xe54788=_0x27fcb7>0x1?void 0x0:_0x27fcb7?_0xb7a0ab(_0x3ede2b,_0x53d232):_0x3ede2b,_0x133579=_0x585d85[_0x240f2c(0x349)]-0x1,_0x61772f;_0x133579>=0x0;_0x133579--)(_0x61772f=_0x585d85[_0x133579])&&(_0xe54788=_0x61772f(_0xe54788)||_0xe54788);return _0xe54788;},_0x3648c7=(_0x3782d3,_0xcab2a8)=>(_0x2ec708,_0x44b227)=>_0xcab2a8(_0x2ec708,_0x44b227,_0x3782d3);_0x41c194[_0x540b42(0x1fc)]=class extends _0x41dc5f[_0x540b42(0x200)]{constructor(_0xae7b77,_0xa1e454,_0x1a36c3,_0x595e93,_0x543c82){super(_0xae7b77,_0xa1e454,_0x1a36c3,_0x595e93,_0x543c82);}async['createSocket'](_0x252202){const _0xeac686=_0x540b42,_0x271fbd=await this[_0xeac686(0x3a9)](),_0x71fe4=this[_0xeac686(0x439)](_0x252202,_0x271fbd);return this[_0xeac686(0x2be)](_0x71fe4);}[_0x540b42(0x439)](_0x7d7c66,_0x2bb4b8){const _0x26eff3=_0x540b42,_0x5d56d8=typeof window>'u'?new URL(_0x7d7c66):new URL(_0x7d7c66,window['location']['origin']);_0x5d56d8['searchParams']['set']('sessionTicket',_0x2bb4b8);const _0x2485e5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x26eff3(0x34e)]);return _0x2485e5[_0x26eff3(0x26c)](_0x26eff3(0x350))&&_0x5d56d8[_0x26eff3(0x3f3)]['set'](_0x26eff3(0x350),_0x2485e5['get'](_0x26eff3(0x350))),_0x5d56d8[_0x26eff3(0x440)]();}async[_0x540b42(0x3a9)](){const _0x40eb33=_0x540b42;var _0x32f723,_0xdd251b,_0x4b2d1e;const _0x5860dd=this[_0x40eb33(0x209)][_0x40eb33(0x1ca)](_0x41dc5f[_0x40eb33(0x232)]),_0x4caf26=(_0x32f723=_0x5860dd==null?void 0x0:_0x5860dd['wsSessionTicketUrl'])!=null?_0x32f723:_0x41dc5f[_0x40eb33(0x268)];return(_0x4b2d1e=(_0xdd251b=(await this[_0x40eb33(0x35e)][_0x40eb33(0x26c)](_0x4caf26,{'headers':{'Content-Type':'application/json'}}))[_0x40eb33(0x35a)])==null?void 0x0:_0xdd251b[_0x40eb33(0x391)])!=null?_0x4b2d1e:'';}},_0x41c194[_0x540b42(0x1fc)]=_0x50a037([_0x3648c7(0x0,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x3648c7(0x1,_0x42b304['Inject'](_0x43144b[_0x540b42(0x3e6)])),_0x3648c7(0x2,_0x42b304['IConfigService']),_0x3648c7(0x3,_0x42b304[_0x540b42(0x24e)]),_0x3648c7(0x4,_0x30bf61[_0x540b42(0x1ed)])],_0x41c194[_0x540b42(0x1fc)]);const _0x12f7ba=0x7530,_0x3c342c=_0x540b42(0x36a);class _0x59ff3a extends _0x42b304[_0x540b42(0x31f)]{constructor(){const _0x1078bb=_0x540b42;super(),_0x432cc5(this,'_id',_0x42b304['generateRandomId']()),_0x432cc5(this,_0x1078bb(0x321),new Set()),_0x432cc5(this,'_unitOnClients',new Map()),_0x432cc5(this,_0x1078bb(0x1e8),null),_0x432cc5(this,_0x1078bb(0x381),new Map()),_0x432cc5(this,_0x1078bb(0x2ee),new Map()),this[_0x1078bb(0x413)]();}[_0x540b42(0x26d)](){const _0x315a04=_0x540b42;super[_0x315a04(0x26d)](),this['_clearOtherTimers'][_0x315a04(0x3fb)]((_0x1135d4,_0x5c56c7)=>this[_0x315a04(0x373)](_0x5c56c7)),this[_0x315a04(0x1e8)]&&window[_0x315a04(0x285)](this[_0x315a04(0x1e8)]);}[_0x540b42(0x1f6)](_0x48d997){const _0x33381f=_0x540b42;return this['_ensureSubject'](_0x48d997)[_0x33381f(0x3ba)](_0x34f1d4[_0x33381f(0x1be)]());}[_0x540b42(0x418)](_0x2bc80d){const _0x4c17b7=_0x540b42;this[_0x4c17b7(0x321)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x4c17b7(0x321)][_0x4c17b7(0x296)](_0x2bc80d),this[_0x4c17b7(0x425)]({'type':0x0,'memberID':this[_0x4c17b7(0x267)],'unitIDs':[_0x2bc80d],'isForwarded':!0x1});}['disposeUnit'](_0x467676){const _0x392400=_0x540b42;this[_0x392400(0x321)][_0x392400(0x278)](_0x467676),this['_selfUnitIDs'][_0x392400(0x3fe)]===0x0&&this[_0x392400(0x1e8)]&&window[_0x392400(0x285)](this['_heartbeatTimer']);}[_0x540b42(0x413)](){const _0x5277b5=_0x540b42;this[_0x5277b5(0x2d2)](_0x42b304['toDisposable'](_0x34f1d4[_0x5277b5(0x29f)](window,_0x5277b5(0x2dc))[_0x5277b5(0x289)](_0x24d67a=>{const _0x1316db=_0x5277b5;if(_0x24d67a['key']!==_0x3c342c||!_0x24d67a['newValue'])return;const _0x4b07d8=JSON[_0x1316db(0x32e)](_0x24d67a['newValue']);this[_0x1316db(0x3f7)](_0x4b07d8);}))),window[_0x5277b5(0x442)]('unload',()=>this[_0x5277b5(0x425)]({'type':0x1,'memberID':this[_0x5277b5(0x267)],'unitIDs':Array[_0x5277b5(0x3dd)](this[_0x5277b5(0x321)])}));}['_handleEvent'](_0x3d2e74){const _0x1de61e=_0x540b42;switch(_0x3d2e74[_0x1de61e(0x1af)]){case 0x0:this[_0x1de61e(0x1ad)](_0x3d2e74);break;case 0x1:this[_0x1de61e(0x436)](_0x3d2e74);break;case 0x2:this[_0x1de61e(0x445)](_0x3d2e74);break;}}[_0x540b42(0x1ad)](_0x4f71f4){const _0x309d75=_0x540b42,{unitIDs:_0x32304d,memberID:_0x2cef76,isForwarded:_0x29f039}=_0x4f71f4;_0x32304d[_0x309d75(0x3fb)](_0x4edd90=>{const _0x2a00ba=_0x309d75;if(!_0x29f039&&this[_0x2a00ba(0x2f4)][_0x2a00ba(0x25d)](_0x4edd90)&&this[_0x2a00ba(0x31a)](_0x4edd90)[_0x2a00ba(0x28e)](_0x41dc5f[_0x2a00ba(0x2ba)]['OTHER_CLIENTS_EDITING']),!this[_0x2a00ba(0x2f4)]['has'](_0x4edd90)||!this['_unitOnClients']['get'](_0x4edd90)[_0x2a00ba(0x25d)](_0x2cef76)){const _0x12c194=this[_0x2a00ba(0x2f4)][_0x2a00ba(0x26c)](_0x4edd90)||new Set();_0x12c194[_0x2a00ba(0x296)](_0x2cef76),this[_0x2a00ba(0x2f4)][_0x2a00ba(0x1e2)](_0x4edd90,_0x12c194),this[_0x2a00ba(0x3bb)](_0x2cef76);}}),_0x29f039||this[_0x309d75(0x425)]({'type':0x0,'memberID':this[_0x309d75(0x267)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x540b42(0x3bb)](_0x254571){const _0x3c55a3=_0x540b42;this[_0x3c55a3(0x373)](_0x254571);const _0x48a4ce=window[_0x3c55a3(0x352)](()=>{const _0x1938e1=_0x3c55a3;this[_0x1938e1(0x2f4)][_0x1938e1(0x3fb)](_0x4378f7=>{const _0x3d86fb=_0x1938e1;_0x4378f7[_0x3d86fb(0x278)](_0x254571);});},_0x12f7ba*0x2);this[_0x3c55a3(0x381)]['set'](_0x254571,_0x48a4ce);}[_0x540b42(0x373)](_0x26dca2){const _0x1ffa31=_0x540b42;if(this['_clearOtherTimers'][_0x1ffa31(0x25d)](_0x26dca2)){const _0x4e2045=this[_0x1ffa31(0x381)]['get'](_0x26dca2);_0x4e2045&&window[_0x1ffa31(0x427)](_0x4e2045),this[_0x1ffa31(0x381)][_0x1ffa31(0x1e2)](_0x26dca2,null);}}[_0x540b42(0x436)](_0x36181c){const _0x527a33=_0x540b42,{memberID:_0x44d327,unitIDs:_0x228173}=_0x36181c;_0x228173[_0x527a33(0x3fb)](_0x4c81c1=>{const _0x18e749=_0x527a33;var _0x473186;const _0x3d16ab=this[_0x18e749(0x2f4)]['get'](_0x4c81c1);_0x3d16ab&&(_0x3d16ab[_0x18e749(0x278)](_0x44d327),(_0x473186=this['_ensureSubject'](_0x4c81c1))==null||_0x473186['next'](_0x3d16ab[_0x18e749(0x3fe)]===0x0?_0x41dc5f[_0x18e749(0x2ba)][_0x18e749(0x26f)]:_0x41dc5f[_0x18e749(0x2ba)]['OTHER_CLIENTS_EDITING']));}),this[_0x527a33(0x373)](_0x44d327);}['_handleHeartbeatEvent'](_0x1e870d){const _0x300fbe=_0x540b42;this[_0x300fbe(0x3bb)](_0x1e870d[_0x300fbe(0x42e)]);}[_0x540b42(0x425)](_0x98f9bd){const _0x40a925=_0x540b42;localStorage['setItem'](_0x3c342c,JSON[_0x40a925(0x353)](_0x98f9bd));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x12f7ba);}[_0x540b42(0x31a)](_0x3672ac){const _0x10e4bb=_0x540b42;return this[_0x10e4bb(0x2ee)][_0x10e4bb(0x25d)](_0x3672ac)||this[_0x10e4bb(0x2ee)]['set'](_0x3672ac,new _0x34f1d4[(_0x10e4bb(0x225))](_0x41dc5f['UnitStatus'][_0x10e4bb(0x26f)])),this[_0x10e4bb(0x2ee)][_0x10e4bb(0x26c)](_0x3672ac);}}var _0x178dda=(_0xc38c51=>(_0xc38c51[_0xc38c51[_0x540b42(0x2b2)]=0x0]=_0x540b42(0x2b2),_0xc38c51[_0xc38c51['OK']=0x1]='OK',_0xc38c51[_0xc38c51[_0x540b42(0x219)]=0x2]=_0x540b42(0x219),_0xc38c51[_0xc38c51[_0x540b42(0x360)]=0x3]=_0x540b42(0x360),_0xc38c51[_0xc38c51[_0x540b42(0x346)]=0x4]=_0x540b42(0x346),_0xc38c51[_0xc38c51['UNAUTHENTICATED']=0x5]=_0x540b42(0x31c),_0xc38c51[_0xc38c51[_0x540b42(0x1ac)]=0x6]=_0x540b42(0x1ac),_0xc38c51[_0xc38c51[_0x540b42(0x2c2)]=0x7]=_0x540b42(0x2c2),_0xc38c51[_0xc38c51[_0x540b42(0x429)]=0x8]=_0x540b42(0x429),_0xc38c51[_0xc38c51[_0x540b42(0x28f)]=0x9]=_0x540b42(0x28f),_0xc38c51[_0xc38c51[_0x540b42(0x324)]=0xa]='LOGIN_FAILED',_0xc38c51[_0xc38c51[_0x540b42(0x3eb)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xc38c51[_0xc38c51[_0x540b42(0x2b1)]=0x1771]=_0x540b42(0x2b1),_0xc38c51[_0xc38c51[_0x540b42(0x364)]=0x1772]=_0x540b42(0x364),_0xc38c51[_0xc38c51[_0x540b42(0x2dd)]=0x1773]=_0x540b42(0x2dd),_0xc38c51[_0xc38c51['APPLY_REJECT']=0x1b59]=_0x540b42(0x2c3),_0xc38c51[_0xc38c51[_0x540b42(0x423)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xc38c51[_0xc38c51['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0xc38c51[_0xc38c51[_0x540b42(0x2ad)]=0x1b5c]=_0x540b42(0x2ad),_0xc38c51[_0xc38c51['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0xc38c51[_0xc38c51['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x540b42(0x1e1),_0xc38c51[_0xc38c51[_0x540b42(0x1c6)]=0x2329]=_0x540b42(0x1c6),_0xc38c51[_0xc38c51['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x540b42(0x2d9),_0xc38c51[_0xc38c51['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x540b42(0x1c3),_0xc38c51[_0xc38c51[_0x540b42(0x1eb)]=0x232c]=_0x540b42(0x1eb),_0xc38c51[_0xc38c51['LICENSE_DISTRO_REJECTED']=0x232d]=_0x540b42(0x322),_0xc38c51[_0xc38c51[_0x540b42(0x3bd)]=0x2711]=_0x540b42(0x3bd),_0xc38c51[_0xc38c51[_0x540b42(0x1c7)]=0x2712]=_0x540b42(0x1c7),_0xc38c51[_0xc38c51[_0x540b42(0x37b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xc38c51[_0xc38c51[_0x540b42(0x3aa)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xc38c51[_0xc38c51[_0x540b42(0x3dc)]=0x271a]=_0x540b42(0x3dc),_0xc38c51[_0xc38c51[_0x540b42(0x307)]=0x271b]=_0x540b42(0x307),_0xc38c51[_0xc38c51[_0x540b42(0x34d)]=0x2af9]=_0x540b42(0x34d),_0xc38c51[_0xc38c51[_0x540b42(0x281)]=0x2ee1]=_0x540b42(0x281),_0xc38c51[_0xc38c51[_0x540b42(0x3ed)]=0x2ee2]='INVALID_INVITE_CODE',_0xc38c51[_0xc38c51['INVITE_CODE_REQUIRED']=0x2ee3]=_0x540b42(0x36c),_0xc38c51[_0xc38c51[_0x540b42(0x264)]=0x2ee4]=_0x540b42(0x264),_0xc38c51[_0xc38c51['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x540b42(0x29d),_0xc38c51[_0xc38c51[_0x540b42(0x2f6)]=0x32c9]=_0x540b42(0x2f6),_0xc38c51[_0xc38c51[_0x540b42(0x404)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xc38c51[_0xc38c51['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x540b42(0x2fb),_0xc38c51[_0xc38c51['UNRECOGNIZED']=-0x1]=_0x540b42(0x21f),_0xc38c51))(_0x178dda||{}),_0x1bed8a=Object[_0x540b42(0x2fc)],_0x41a32d=(_0x3c9a30,_0x34eefc,_0x1384ae,_0x53f64f)=>{const _0x560239=_0x540b42;for(var _0x35fbe4=_0x53f64f>0x1?void 0x0:_0x53f64f?_0x1bed8a(_0x34eefc,_0x1384ae):_0x34eefc,_0x21aa8d=_0x3c9a30[_0x560239(0x349)]-0x1,_0x3d8e30;_0x21aa8d>=0x0;_0x21aa8d--)(_0x3d8e30=_0x3c9a30[_0x21aa8d])&&(_0x35fbe4=_0x3d8e30(_0x35fbe4)||_0x35fbe4);return _0x35fbe4;},_0x37a20d=(_0x14e517,_0x35d815)=>(_0x5bb545,_0x1615be)=>_0x35d815(_0x5bb545,_0x1615be,_0x14e517);_0x41c194['RemoteUniscriptService']=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x52eae7,_0x5987a9,_0x71027b){const _0x579710=_0x540b42;super(),this[_0x579710(0x224)]=_0x52eae7,this[_0x579710(0x35e)]=_0x5987a9,this[_0x579710(0x209)]=_0x71027b;}async[_0x540b42(0x388)](_0x59c133,_0x3c6b63,_0x35fb69,..._0x1c8289){const _0x306f38=_0x540b42;var _0x5bb8e4,_0x37cff9,_0x1a0afd,_0x1992be;const _0x55ef0e=this[_0x306f38(0x224)]['getFocusedUnit']();if(!_0x55ef0e)throw new Error(_0x306f38(0x433));const _0x4713c5=((_0x5bb8e4=this['_configService'][_0x306f38(0x1ca)](_0x41dc5f[_0x306f38(0x1b3)]))!=null?_0x5bb8e4:_0x41dc5f[_0x306f38(0x41d)])+'/'+_0x59c133+'/run/'+_0x3c6b63,_0x4ccc82=new URL(window[_0x306f38(0x2ff)][_0x306f38(0x3f5)]),_0x129ca1={'scriptId':_0x59c133,'runId':(_0x37cff9=_0x4ccc82[_0x306f38(0x3f3)]['get']('runId'))!=null?_0x37cff9:'','function':_0x3c6b63,'unitId':_0x55ef0e[_0x306f38(0x3c5)](),'argsOfFunction':JSON[_0x306f38(0x353)](_0x1c8289),'invokeId':(_0x1a0afd=_0x35fb69[_0x306f38(0x2b5)])!=null?_0x1a0afd:'','executionId':(_0x1992be=_0x35fb69[_0x306f38(0x361)])!=null?_0x1992be:''};try{const _0x4193b2=await this[_0x306f38(0x35e)][_0x306f38(0x255)](_0x4713c5,{'body':_0x129ca1});return _0x4193b2[_0x306f38(0x35a)][_0x306f38(0x202)]&&_0x4193b2[_0x306f38(0x35a)]['error'][_0x306f38(0x1ab)]!==_0x178dda['OK']?_0x306f38(0x2b8):_0x4193b2[_0x306f38(0x35a)][_0x306f38(0x39b)];}catch{return _0x306f38(0x2b8);}}},_0x41c194[_0x540b42(0x316)]=_0x41a32d([_0x37a20d(0x0,_0x42b304['IUniverInstanceService']),_0x37a20d(0x1,_0x42b304[_0x540b42(0x40f)](_0x43144b['HTTPService'])),_0x37a20d(0x2,_0x42b304[_0x540b42(0x3f9)])],_0x41c194[_0x540b42(0x316)]),_0x41c194[_0x540b42(0x300)]=_0x57b7f0,_0x41c194[_0x540b42(0x2af)]=_0x3867b1,_0x41c194[_0x540b42(0x33a)]=_0x41d68b,_0x41c194['WebBrowserSingleActiveUnitService']=_0x59ff3a,_0x41c194[_0x540b42(0x317)]=_0x3f58ef,Object[_0x540b42(0x446)](_0x41c194,Symbol['toStringTag'],{'value':'Module'});}));
|