@univerjs-pro/collaboration-client-ui 0.9.1-nightly.202507041607 → 0.9.1-nightly.202507051607
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/ko-KR.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/ko-KR.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/ko-KR.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/ko-KR.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 _0x35b5(){const _0xbdc0e9=['tag','assign','_dataLoaderService','yellow.400','then','attrs','SNAPSHOT_HAS_BEEN_REMOVED','getRenderById','SessionStatus','startColumn','YUUMI_ASYNCIO_CANCELLED','body','_lastPointer','UNIVER_SHEET','fillStyle','subscribe','getColor','NOT_FOUND','ITransformService','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','red.300','LOGIN_FAILED','arc','UNDEFINED','_hideTimer','extend','univerjs-icon\x20univerjs-icon-','_config','isTransformMutationsWithChangesetSuccess','DependentOn','APPLY_REJECT','UniverSheets','popstate','setShapeProps','_cursorShapes','uni.network.url-service','getMergeData','transformMutation','handleInsertCol','init','CommandType','_transformUndoRedoStack','UniverRpc','UniverInstanceType','propertyIsEnumerable','_init','CollaborationSocketService','length','CollaborationStatus','setItem','_uiPartsService','filter','debounceTime','4034826YFyOXj','flatMap','onPointerEnter$','http://www.w3.org/2000/svg','COMPLETION_FINISHED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','registerRenderModule','OTHER_CLIENTS_EDITING','icon','setAlpha','AWAITING_WITH_PENDING','_updateLocalCursor','combineLatest','DocStateChangeManagerService','6741777BRZYgu','makeDirty','parse','fillRule','getConfig','session.connection-failed','requireSession','values','getItem','collabStatus.synced','getVpScrollXYInfoByPosToVp','CollaborationUIEventId','1661810tszjhE','/run/','getParam','closePath','NodePositionConvertToCursor','ALREADY_EXISTS','WebURLService','LICENSE_IMPORT_SIZE_EXCEEDED','exports','unit','toRgbString','unshift','_shapes','APPLY_DUPLICATED','code','YUUMI_RATE_OVER_LIMIT','_scheduleClearOtherTimer','BehaviorSubject','UNRECOGNIZED','YUUMI_UNABLE_LOAD_URL','addObject','transformSelections','registerDependencies','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','saveImage','_unitOnClients','push','disposeUnit','SheetCollabCursorShape','href','@univerjs/core','isEditing','get','UNIVER_DOC','_entityInit$','INVALID_INVITE_CODE','white','UniverProCollaboration','IUniverInstanceService','searchParams','function','APPLY_NON_SEQUENTIAL_REVISION','runOnServer','loadUnit','enableLocalCache','collaboration.single-unit.warning','currentTheme$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LICENSE_DISTRO_REJECTED','UniverCore','_injector','prototype','YUUMI_TABLE_NOT_FOUND_IN_UNIT','OTHER_CLIENT_EDITING','url(#on-line-icon_clip0_910_349)','_handleHover','YUUMI_SUBSCRIPTION_NOT_FOUND','RichTextEditingMutation','0\x200\x2017\x2016','params','pluginName','UniverCollaborationClientPlugin','INVALID_ARGUMENT','getActiveSheet','Unknown\x20user','lineTo','updateOfflineData','_getMergeRange','_toggleOffline','Workbook','_backgroundColor','range','EffectRefRangId','@univerjs/ui','_initStatusListener','5228388vEvdhd','EMAIL_VERIFY_CODE_MISMATCH','WebSocketService','disableLocalCache','getSheetBySheetId','LOCAL_CACHE_INTERVAL_KEY','UniverEngineRender','onPointerMove$','react','CollaborationController','send','_toggleOnline','sessionTicket','RegularPolygon','NO_OTHER_CLIENTS_EDITING','TEXT_RANGE_LAYER_INDEX','Failed','_onRefRangeChange','location','className','status$','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','MUTATION','bottom','UniverCollaborationClientUIPlugin','_drawTextRange','_ensureSubject','add','getValue','addEventListener','getCollabEntity$','UniverIcon','_id','OffLineIcon','@univerjs/engine-render','_localeService','result','_onCursorUpdate','_collabCursorController','SheetsSelectionsService','_drawAnchor','_initEntityListener','PENDING','_unitStatus','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_status$','IBeforeCloseService','LOCAL_CACHE_INTERVAL','_setupBeforeClosingHandler','CollaborationUIEventService','endRow','type','onTransformChange$','ILocalStorageService','actions','jsx','NOT_COLLAB','ranges','_syncEditingCollabCursorService','YUUMI_ALL_TABLES_IS_INVALID','OnLineIcon','SHEET_VIEWPORT_KEY','DesktopCollaborationStatusDisplayController','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','USER_NOT_INVITED_CODE','getAncestorScale','min','_draw','_univerInstanceService','USERS_LEAVE','collab-rect-range-','SUBMIT_CHANGESET_TIMEOUT','_sheetSkeletonManagerService','origin','engine','Disposable','NodePositionConvertToRectRange','_name','_cursor','RxDisposable','getCurrentRevOfUnit','getFocusedUnit','_labelPosition','addClipboardHook','_setupSubUnitSync','subunit','getActiveRange','createElement','activeSheet$','_docSkeleton','CollaborationStatusDisplay','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','throttleTime','beginPath','_document','ILocalCacheService','INTERNAL_ERROR','has','getTypeOfUnitAdded$','black','size','addObjects','invokeId','DisposableCollection','_saveTaskMap','SOCKET_FAILED_RETRY','contains','_saveCache','_refRangeService','div','univer-flex\x20univer-items-center','onLocalMutation','collab-text-range-','measureText','loadOfflineData','M0\x200H16V16H0z','deserializeRangeWithSheet','Shape','CollaborationEvent','UniverProCollaborationClient','_hover','getUniverSheetInstance','@univerjs-pro/collaboration','rgba(255,\x20255,\x20255,\x200.01)','setParam','handleIRemoveRow','getCellPositionByOffset','_initStatusComponent','DocIMEInputManagerService','_color','createInstance','handleDeleteRangeMoveLeft','addHandlerCallback','debounce','_transformService','jsxs','YUUMI_CONNECTOR_URL_NOT_FOUND','saveTaskMap','getRangePointData','getLocalCacheKey','_docStateChangeManagerService','univer-mr-2\x20univer-flex\x20univer-text-xl','cursorInfo$','forEach','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','delete','history','UNAUTHENTICATED','registerComponent','none','distinctUntilChanged','unload','Vector2','Optional','InsertRangeMoveDownCommandId','PERMISSION_DENIED','_render','svg','DocCollaborationEntity','isArray','getMember','roomMembers','_colorIndex','_commandService','_removeClearOtherTimer','clsx','getDocRanges','_collabSessionService','cursorInfo','generateRandomId','_context','_getAnchorBounding','_messageService','text','m1Prime','@univerjs/engine-formula','RECT','_revisionService','blue.400','saveOfflineData','Tools','_imageIoService','_docSyncEditingCollabCursorService','CLOSE_ROOM','handleInsertRangeMoveDown','off-line-icon_clip0_910_343','_collaborationUIEventService','DEFAULT_WS_SESSION_TICKET_URL','TEXT','reconnect','@univerjs/drawing','registerRefRange','whenReady','startRow','includes','_anchor','80001wzgkGQ','UniverDrawing','fill','indexOf','unitID','next','_logService','restore','height','_initResize','displayName','SOCKET_FAILED','MessageType','_registerDependencies','session.will-retry','RemoteUniscriptService','_docTransformSelectionsService','deepClone','SetDocZoomRatioOperation','mutations','DataLoaderService','doc.mutation.rich-text-editing','clearTimeout','setInterval','drawWith','_updateSubUnitFromURLParams','selection','_collabCursorState$','handleInsertRangeMoveRight','_startDocCollabCursor','InsertRangeMoveRightCommandId','getRelativeToViewportCoord','onStarting','_getSessionTicket','replaceDocRanges','collaboration.closeRoom','ICommandService','stringify','getStateCache','PY_RUNTIME_SCRIPT_ERROR','_onCursorDelete','children','CONNECTOR_DATA_TOO_LARGE','_entities','WECHAT_HAS_BEEN_BOUND','@univerjs/design','_createSocketURL','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_collaborationController','JOIN_ROOM_FAILED','current','Rectangle','_startSheetCollabCursor','ISnapshotServerService','handleInsertRow','_disabled','executeCommand','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','with','_docTransformStateCacheService','onCommandExecuted','APPLY_PERMISSION_DENIED','_urlService','replaceState','map','SNAPSHOT_INVALID_SNAPSHOT','registerBeforeClose','#FFF','5KxIbdC','asObservable','debug','[CollaborationDataLoaderController]','_beforeCloseService','YUUMI_NO_CUBOID_FOR_QUESTION','_range','RemoveRowCommandId','_instanceService','subscribeEvent','...','top','wsSessionTicketUrl','redoState','VIEW_MAIN','850272nwBypU','FETCH_MISS','permission.content','_assignedColors','TOO_MANY_REQUESTS','_anchorDot','@univerjs-pro/collaboration-client','object','UniverDocs','substring','InsertRowCommandId','complete','getOffsetConfig','replace','newValue','currentColor','editingUnit','INVITE_CODE_ALREADY_BOUND','name','RemoveColCommandId','transformStateCache','getSheetId','_send','_getSaveTimeout','_colorAssignService','getUnitId','_registerRenderDependencies','_roomMembers$','mask','switchMap','connectInjector','runId','_getSheetObject','collab-client.tooltip.reconnect','split','removeParam','random','transformMutationsWithChangeset','Inject','12bUCstF','FromArray','collabStatus.fetchMiss','skeleton','undoState','_initDependencies','defineProperty','APPLY_REVISION_CONFILICT','CollaborationSessionService','roomMembers$','Rect','m2Prime','UPDATE_CURSOR','DocSelectionManagerService','pushState','url(#$1','path','evenodd','Plugin','width','unsubscribe','collabCursorState$','merge','RevisionService','80JNWIyz','WebBrowserSingleActiveUnitService','getSheetObject','isTransformMutationFailure','handleMoveRange','_clearOtherTimers','_initEvent','hovered','show','entries','getColorFromTheme','_docTransformIMECacheService','purple.300','save','toDisposable','shareReplay','_hovered','_refreshCollabCursors','assignAColorForMemberID','COLORS','_docClipboardService','_drawRectRange','IMessageService','IRenderManagerService','colorChannel1','call','collaboration-client.offline-data-not-saved','getUnitStatus$','onMouseMove','_initCommandExecutedListener','getCurrent','triggerDblclick','_textBubble','getMemberID','fromEventSubject','Injector','amd','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','hasOwnProperty','SetWorksheetActivateCommand','_session','_scene','set','eventID','Subject','UniverNetwork','defIds','collaboration-client-ui.config','_updateCollabCursors','labelPosition','event$','MOBILE_HAS_BEEN_BOUND','syncEditingCollabCursor','_renderManagerService','_updateURLWithCurrentState','some','Error','MemberService','max','CONFLICT','IConfigService','focused$','unitId','currentSkeleton$','defs','CollaborationDataLoaderController','OFFLINE','textRanges','1em','_online','serializeRangeWithSheet','collabStatus.offline','INVITE_CODE_HAS_BEEN_UES','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_localCacheService','toString','Module','backgroundColor','onPointerLeave$','EMAIL_HAS_BEEN_BOUND','getOwnPropertyDescriptor','ISocketService','getUndoRedoMutationParamsCache','forwardRef','sheetId','transformRemoteChangeset','LocaleService','idSuffix','UnitStatus','UniverDesign','getSkeleton','_eventUnsubscribe','toStringTag','dispose$','_handleJoinEvent','takeUntil','ONLINE','137462ZPPASd','_transformPreviousActiveRange','_cursors','_doCreateSocket','operators','subUnitId','fromEvent','YUUMI_AI_RUN_FAILED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_handleEvent','from','resize','string','pipe','_selfUnitIDs','Warning','IURLService','setTimeout','color','getCollabCursors$','getUnhiddenWorksheets','createIdentifier','_cursorInfo$','209lvJmge','UniverProCollaborationClientUi','LICENSE_EXPORT_SIZE_EXCEEDED','_docSkeletonManagerService','_getScale','url(#off-line-icon_clip0_910_343)','setConfig','ENSURE_SNAPSHOT_EXECUTION','disposeWithMe','_configService','all','_httpService','_heartbeatTimer','CHANGESET_REVISION_CONFILICT','_scheduleHeartbeat','search','setActiveRange','_notificationService','getOwnPropertySymbols','transformIMECache','_localStorageService','hide','endColumn','exhaustSavingTask','error','dispose','DOC_RANGE_TYPE','docStateChange$','BrowserCollaborationSocketService','SYNCED','DeleteRangeMoveLeftCommandId','_themeService','concat','data','on-line-icon_clip0_910_349','_cachedData','AWAITING','MoveRangeCommandId','_memberService','React','_handleLeaveEvent','round','translate(.97)','DocSkeletonManagerService','_removeCollabCursors','findNodePositionByCharIndex','sheetID','@univerjs/docs-ui','@univerjs/rpc','collabStatus.notCollab','SetTextSelectionsOperation','getCurrentUnitForType','useDependency','DeleteRangeMoveUpCommandId','handleIRemoveCol','urlChange$','UniverUi','getTypeOfUnitDisposed$','rxjs'];_0x35b5=function(){return _0xbdc0e9;};return _0x35b5();}function _0x5710(_0x554243,_0x5ee721){const _0x35b5b2=_0x35b5();return _0x5710=function(_0x571080,_0x19ab7a){_0x571080=_0x571080-0x18b;let _0x58d01a=_0x35b5b2[_0x571080];return _0x58d01a;},_0x5710(_0x554243,_0x5ee721);}(function(_0x358744,_0x404d7a){const _0x27e36d=_0x5710,_0x2ef9c1=_0x358744();while(!![]){try{const _0x241334=parseInt(_0x27e36d(0x24e))/0x1*(parseInt(_0x27e36d(0x2c7))/0x2)+-parseInt(_0x27e36d(0x1d4))/0x3*(-parseInt(_0x27e36d(0x266))/0x4)+parseInt(_0x27e36d(0x218))/0x5*(parseInt(_0x27e36d(0x34f))/0x6)+parseInt(_0x27e36d(0x35d))/0x7+parseInt(_0x27e36d(0x227))/0x8+parseInt(_0x27e36d(0x3b4))/0x9+-parseInt(_0x27e36d(0x369))/0xa*(parseInt(_0x27e36d(0x2de))/0xb);if(_0x241334===_0x404d7a)break;else _0x2ef9c1['push'](_0x2ef9c1['shift']());}catch(_0x1e6eda){_0x2ef9c1['push'](_0x2ef9c1['shift']());}}}(_0x35b5,0x7fccf),function(_0x36507d,_0x2ea418){const _0x567c59=_0x5710;typeof exports==_0x567c59(0x22e)&&typeof module<'u'?_0x2ea418(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x567c59(0x391)&&define[_0x567c59(0x28a)]?define([_0x567c59(0x371),_0x567c59(0x22d),_0x567c59(0x387),_0x567c59(0x3d6),'@univerjs/network',_0x567c59(0x30d),_0x567c59(0x1ce),_0x567c59(0x318),_0x567c59(0x42e),'@univerjs/docs',_0x567c59(0x1bf),'@univerjs/sheets','rxjs/operators','@univerjs/sheets-ui','react/jsx-runtime',_0x567c59(0x3b2),_0x567c59(0x201),_0x567c59(0x3bc),_0x567c59(0x30e)],_0x2ea418):(_0x36507d=typeof globalThis<'u'?globalThis:_0x36507d||self,_0x2ea418(_0x36507d[_0x567c59(0x2df)]={},_0x36507d[_0x567c59(0x42b)],_0x36507d[_0x567c59(0x39a)],_0x36507d[_0x567c59(0x3ba)],_0x36507d[_0x567c59(0x293)],_0x36507d['UniverDocsUi'],_0x36507d[_0x567c59(0x1d5)],_0x36507d[_0x567c59(0x318)],_0x36507d[_0x567c59(0x38e)],_0x36507d[_0x567c59(0x22f)],_0x36507d['UniverEngineFormula'],_0x36507d[_0x567c59(0x339)],_0x36507d['rxjs'][_0x567c59(0x2cb)],_0x36507d['UniverSheetsUi'],_0x36507d['React'],_0x36507d[_0x567c59(0x316)],_0x36507d[_0x567c59(0x2bf)],_0x36507d[_0x567c59(0x305)],_0x36507d[_0x567c59(0x344)]));}(this,function(_0x2371ad,_0x2390c9,_0x52c702,_0x711590,_0x5b0bb2,_0x458abf,_0x3e48c5,_0x160e63,_0x4d50de,_0xf45cd5,_0x492681,_0x3e234a,_0x17f6ed,_0x32553f,_0x5c8876,_0x28ba4b,_0x1de269,_0x9dce46,_0x23c22c){'use strict';const _0x36331a=_0x5710;var _0x25b229=Object[_0x36331a(0x254)],_0x21fe82=(_0x6eaf32,_0x334a65,_0x36e17d)=>_0x334a65 in _0x6eaf32?_0x25b229(_0x6eaf32,_0x334a65,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36e17d}):_0x6eaf32[_0x334a65]=_0x36e17d,_0x5cb653=(_0x491bc3,_0x5ca211,_0x356dd5)=>_0x21fe82(_0x491bc3,typeof _0x5ca211!='symbol'?_0x5ca211+'':_0x5ca211,_0x356dd5),_0x3a95b0=Object['getOwnPropertyDescriptor'],_0x16bc89=(_0x260294,_0x148bae,_0x1eba39,_0x30cf61)=>{const _0x21828a=_0x36331a;for(var _0x2cc8e0=_0x30cf61>0x1?void 0x0:_0x30cf61?_0x3a95b0(_0x148bae,_0x1eba39):_0x148bae,_0x5d2628=_0x260294[_0x21828a(0x349)]-0x1,_0xba1aee;_0x5d2628>=0x0;_0x5d2628--)(_0xba1aee=_0x260294[_0x5d2628])&&(_0x2cc8e0=_0xba1aee(_0x2cc8e0)||_0x2cc8e0);return _0x2cc8e0;},_0x4e017e=(_0x15d1ce,_0x146f34)=>(_0x2e087d,_0x340e5d)=>_0x146f34(_0x2e087d,_0x340e5d,_0x15d1ce);let _0x447eb7=class extends _0x52c702[_0x36331a(0x403)]{constructor(_0x4fc9d2,_0x16d7b8){const _0x399549=_0x36331a;super(),this[_0x399549(0x27a)]=_0x4fc9d2,this[_0x399549(0x1c5)]=_0x16d7b8,this[_0x399549(0x347)]();}['_init'](){const _0xfc7b7=_0x36331a,_0x4f3b5b=this;this[_0xfc7b7(0x2e6)](this[_0xfc7b7(0x27a)][_0xfc7b7(0x407)]({'onBeforePasteImage':async _0x12b0a1=>{const _0x33aa68=_0xfc7b7,_0x821fe9=await _0x4f3b5b[_0x33aa68(0x1c5)][_0x33aa68(0x381)](_0x12b0a1);return _0x821fe9?{'source':_0x821fe9['source'],'imageSourceType':_0x821fe9['imageSourceType']}:null;}}));}};_0x447eb7=_0x16bc89([_0x4e017e(0x0,_0x458abf['IDocClipboardService']),_0x4e017e(0x1,_0x3e48c5['IImageIoService'])],_0x447eb7);const _0x5e5195=[_0x36331a(0x272),'jiqing.500','green.600',_0x36331a(0x32e),_0x36331a(0x1c2),_0x36331a(0x31c)];class _0x12dd9b extends _0x52c702[_0x36331a(0x3ff)]{constructor(){const _0x3a81ab=_0x36331a;super(...arguments),_0x5cb653(this,_0x3a81ab(0x22a),new Map()),_0x5cb653(this,_0x3a81ab(0x1b2),0x0);}[_0x36331a(0x278)](_0x54b9b9){const _0x53347d=_0x36331a;if(this[_0x53347d(0x22a)]['has'](_0x54b9b9))return this[_0x53347d(0x22a)]['get'](_0x54b9b9);const _0x59c20a=_0x5e5195[this[_0x53347d(0x1b2)]];return this['_colorIndex']=(this[_0x53347d(0x1b2)]+0x1)%_0x5e5195[_0x53347d(0x349)],this['_assignedColors'][_0x53347d(0x290)](_0x54b9b9,_0x59c20a),_0x59c20a;}}function _0x15cc15(_0x326318){const _0x3333fc=_0x36331a;let _0x3a0521='';for(const _0x39625f of _0x326318){const {startOffset:_0x3176a3,endOffset:_0x281ed2,isActive:_0x4aaf59,rangeType:_0x425ad4,segmentId:_0x112c05,segmentPage:_0x4810e8}=_0x39625f;_0x3a0521[_0x3333fc(0x349)]&&(_0x3a0521+=','),_0x3a0521+=_0x3176a3+':'+_0x281ed2+':'+(_0x4aaf59?'1':'0')+':'+_0x425ad4+':'+_0x112c05+':'+_0x4810e8;}return _0x3a0521;}function _0x4a8de4(_0x701250){const _0xe9600b=_0x36331a,_0x59ccbd=_0x701250[_0xe9600b(0x249)](','),_0x4a60ab=[];for(const _0x2fb054 of _0x59ccbd){const [_0x1c970f,_0x6c85af,_0x8a6984,_0x56ca77,_0x12dd68,_0x597488]=_0x2fb054[_0xe9600b(0x249)](':');_0x4a60ab['push']({'startOffset':Number(_0x1c970f),'endOffset':Number(_0x6c85af),'collapsed':_0x1c970f===_0x6c85af,'isActive':_0x8a6984==='1','rangeType':_0x56ca77===_0x52c702[_0xe9600b(0x2f8)][_0xe9600b(0x1cc)]?_0x52c702['DOC_RANGE_TYPE']['TEXT']:_0x52c702['DOC_RANGE_TYPE'][_0xe9600b(0x1c0)],'segmentId':typeof _0x12dd68==_0xe9600b(0x2d3)?String(_0x12dd68):'','segmentPage':Number(_0x597488!=null?_0x597488:-0x1)});}return _0x4a60ab[_0xe9600b(0x29d)](_0x54e063=>_0x54e063['isActive'])||(_0x4a60ab[0x0]['isActive']=!0x0),_0x4a60ab;}class _0xd2d642 extends _0x52c702[_0x36331a(0x403)]{constructor(){const _0x3dc8cb=_0x36331a;super(...arguments),_0x5cb653(this,_0x3dc8cb(0x1ef),new _0x160e63['BehaviorSubject'](null)),_0x5cb653(this,_0x3dc8cb(0x263),this[_0x3dc8cb(0x1ef)][_0x3dc8cb(0x219)]());}[_0x36331a(0x29a)](_0x11441f){const _0x3f429e=_0x36331a,{unitID:_0x463680,memberID:_0x42af85,textRanges:_0x290eee}=_0x11441f,_0x57abd1=_0x15cc15(_0x290eee);if(_0x57abd1==='')return;const _0x4f117c={'unitID':_0x463680,'memberID':_0x42af85,'selection':_0x57abd1};this[_0x3f429e(0x1ef)][_0x3f429e(0x1d9)](_0x4f117c);}}var _0x2c6583=Object[_0x36331a(0x2b6)],_0x23d031=(_0x500c05,_0x529142,_0x123ba5,_0x2f40bb)=>{const _0x5d4775=_0x36331a;for(var _0xf29eca=_0x2f40bb>0x1?void 0x0:_0x2f40bb?_0x2c6583(_0x529142,_0x123ba5):_0x529142,_0x187cb1=_0x500c05[_0x5d4775(0x349)]-0x1,_0x45ce19;_0x187cb1>=0x0;_0x187cb1--)(_0x45ce19=_0x500c05[_0x187cb1])&&(_0xf29eca=_0x45ce19(_0xf29eca)||_0xf29eca);return _0xf29eca;},_0x171ab1=(_0x52d36b,_0x4fb926)=>(_0x1f4a4b,_0x16b89f)=>_0x4fb926(_0x1f4a4b,_0x16b89f,_0x52d36b);const _0x4877e4=0x12c,_0x4c7853=0x64;let _0x2655ba=class extends _0x52c702[_0x36331a(0x403)]{constructor(_0x3d7eff,_0x39ae12,_0x55c7b4,_0x40942e,_0x8dcd7,_0x2a15c4,_0x596f6a,_0x28e14d,_0x55e1e6){const _0x502b2c=_0x36331a;super(),_0x5cb653(this,_0x502b2c(0x2ab),!0x1),_0x5cb653(this,_0x502b2c(0x347),!0x1),_0x5cb653(this,_0x502b2c(0x2dd),new _0x160e63[(_0x502b2c(0x37a))](new Map())),_0x5cb653(this,_0x502b2c(0x19e),this[_0x502b2c(0x2dd)]['asObservable']()),_0x5cb653(this,_0x502b2c(0x242),new _0x160e63[(_0x502b2c(0x37a))]([])),_0x5cb653(this,_0x502b2c(0x257),this[_0x502b2c(0x242)]['pipe'](_0x160e63[_0x502b2c(0x34e)](_0x4877e4))),_0x5cb653(this,_0x502b2c(0x35a),_0x52c702[_0x502b2c(0x195)](_0x24b422=>{const _0x2fff5c=_0x502b2c,_0x2831ad={'eventID':_0x4d50de['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x2fff5c(0x1d8)],'memberID':this['_session'][_0x2fff5c(0x287)](),'selection':_0x15cc15(_0x24b422)}};this['_session'][_0x2fff5c(0x3be)](_0x2831ad,this[_0x2fff5c(0x1d8)]);},_0x4c7853)),(this[_0x502b2c(0x1d8)]=_0x3d7eff,this['_session']=_0x39ae12,this['_injector']=_0x55c7b4,this[_0x502b2c(0x23f)]=_0x40942e,this['_memberService']=_0x8dcd7,this[_0x502b2c(0x3ee)]=_0x2a15c4,this[_0x502b2c(0x196)]=_0x596f6a,this[_0x502b2c(0x3f8)]=_0x28e14d,this[_0x502b2c(0x1b3)]=_0x55e1e6);}get[_0x36331a(0x1b8)](){const _0xed3664=_0x36331a;return this[_0xed3664(0x2dd)][_0xed3664(0x3d0)]();}get[_0x36331a(0x1b1)](){const _0x3b3267=_0x36331a;return this[_0x3b3267(0x242)][_0x3b3267(0x3d0)]();}[_0x36331a(0x2f7)](){const _0x5354fb=_0x36331a;super[_0x5354fb(0x2f7)](),this[_0x5354fb(0x2dd)][_0x5354fb(0x1d9)](new Map()),this[_0x5354fb(0x2dd)][_0x5354fb(0x232)](),this['_roomMembers$']['next']([]),this[_0x5354fb(0x242)][_0x5354fb(0x232)]();}[_0x36331a(0x341)](){const _0x2f61d2=_0x36331a;this['_init']||(this[_0x2f61d2(0x347)]=!0x0,this['_session']['sessionStatus$'][_0x2f61d2(0x2d4)](_0x160e63['takeUntil'](this[_0x2f61d2(0x2c3)]))[_0x2f61d2(0x328)](_0x5be31b=>{const _0x1c9ee0=_0x2f61d2;_0x5be31b===_0x2390c9[_0x1c9ee0(0x321)][_0x1c9ee0(0x2c6)]?this['_toggleOnline']():this[_0x1c9ee0(0x3ad)]();}),this[_0x2f61d2(0x28e)][_0x2f61d2(0x298)]['pipe'](_0x160e63[_0x2f61d2(0x2c5)](this[_0x2f61d2(0x2c3)]))[_0x2f61d2(0x328)](_0xc9ace5=>{const _0x30ce39=_0x2f61d2,_0x1acbf5=_0xc9ace5[_0x30ce39(0x291)];_0x1acbf5===_0x4d50de['CollaborationEvent'][_0x30ce39(0x25a)]&&this[_0x30ce39(0x3d9)](_0xc9ace5),_0x1acbf5===_0x4d50de[_0x30ce39(0x42a)][_0x30ce39(0x3f9)]&&this[_0x30ce39(0x1fc)](_0xc9ace5);}),this[_0x2f61d2(0x2e6)](this['_commandService'][_0x2f61d2(0x210)](_0xf96644=>{const _0x5a414b=_0x2f61d2,_0xa3a5bc=_0xf96644[_0x5a414b(0x3a4)];_0xa3a5bc!=null&&this[_0x5a414b(0x2ab)]&&_0xf96644['id']===_0xf45cd5[_0x5a414b(0x310)]['id']&&_0xa3a5bc[_0x5a414b(0x2a4)]===this[_0x5a414b(0x1d8)]&&_0xa3a5bc[_0x5a414b(0x388)]===!0x1&&_0xa3a5bc[_0x5a414b(0x3ed)]['length']>0x0&&this['_updateLocalCursor'](_0xa3a5bc[_0x5a414b(0x3ed)]);})),this[_0x2f61d2(0x3ee)][_0x2f61d2(0x263)]['pipe'](_0x160e63[_0x2f61d2(0x2c5)](this[_0x2f61d2(0x2c3)]))[_0x2f61d2(0x328)](_0x3cdbc9=>{const _0x5d9aad=_0x2f61d2;if((_0x3cdbc9==null?void 0x0:_0x3cdbc9[_0x5d9aad(0x1d8)])!==this[_0x5d9aad(0x1d8)])return;const _0x48f4a2={'eventID':_0x4d50de[_0x5d9aad(0x42a)][_0x5d9aad(0x25a)],'data':_0x3cdbc9};this[_0x5d9aad(0x3d9)](_0x48f4a2);}),this[_0x2f61d2(0x2e6)](this[_0x2f61d2(0x1b3)][_0x2f61d2(0x210)](_0x4d58be=>{const _0x2b7691=_0x2f61d2;if(_0x4d58be[_0x2b7691(0x3a4)]==null)return;const _0x7edfba=_0x4d58be[_0x2b7691(0x3a4)];if(_0x4d58be['id']!==_0xf45cd5[_0x2b7691(0x3a2)]['id']||_0x7edfba[_0x2b7691(0x2a4)]!==this[_0x2b7691(0x1d8)])return;const _0x236671={'id':_0x2b7691(0x1e9),'params':_0x7edfba},_0xdea09=this[_0x2b7691(0x1b8)];for(const [_0x690189,_0x5dc37a]of _0xdea09){const _0x3893f4={'id':_0x2b7691(0x1e9),'params':{'unitId':this[_0x2b7691(0x1d8)],'actions':null,'textRanges':_0x5dc37a[_0x2b7691(0x3ed)]}},_0x10c7df=this[_0x2b7691(0x196)][_0x2b7691(0x33f)](_0x236671,_0x3893f4,!0x1);if(_0x4d50de[_0x2b7691(0x269)](_0x10c7df))throw _0x10c7df[_0x2b7691(0x2f6)];_0xdea09[_0x2b7691(0x290)](_0x690189,{..._0x5dc37a,'ranges':_0x10c7df[_0x2b7691(0x259)][_0x2b7691(0x3a4)][_0x2b7691(0x2a9)]});}queueMicrotask(()=>{const _0x5157dd=_0x2b7691;this[_0x5157dd(0x2dd)][_0x5157dd(0x1d9)](_0xdea09);});})));}['_onCursorUpdate'](_0x44e46b){const _0x9e1d40=_0x36331a;var _0x158bcc,_0x1ebcde;const {memberID:_0x56ca9f,selection:_0x5eeeeb}=_0x44e46b[_0x9e1d40(0x2ff)],_0x20f878=_0x4a8de4(_0x5eeeeb),_0x46f9d4=(_0x1ebcde=(_0x158bcc=this[_0x9e1d40(0x304)][_0x9e1d40(0x1b0)](this[_0x9e1d40(0x1d8)],_0x56ca9f))==null?void 0x0:_0x158bcc['name'])!=null?_0x1ebcde:_0x9e1d40(0x3a9),_0x105ac5={'color':this[_0x9e1d40(0x23f)][_0x9e1d40(0x278)](_0x56ca9f),'name':_0x46f9d4,'ranges':_0x20f878},_0x5a6119=this['cursorInfo'];_0x5a6119[_0x9e1d40(0x290)](_0x56ca9f,_0x105ac5),this[_0x9e1d40(0x2dd)][_0x9e1d40(0x1d9)](_0x5a6119);}['_onCursorDelete'](_0x170948){const _0x2fe4c4=_0x36331a,{memberID:_0x1fed5b}=_0x170948[_0x2fe4c4(0x2ff)],_0x14230c=this[_0x2fe4c4(0x1b8)];_0x14230c[_0x2fe4c4(0x1a1)](_0x1fed5b),this[_0x2fe4c4(0x2dd)]['next'](_0x14230c);}[_0x36331a(0x3bf)](){const _0x11d9d2=_0x36331a;var _0x53a6fe;if(this[_0x11d9d2(0x2ab)]=!0x0,((_0x53a6fe=this[_0x11d9d2(0x3f8)][_0x11d9d2(0x405)]())==null?void 0x0:_0x53a6fe[_0x11d9d2(0x240)]())!==this[_0x11d9d2(0x1d8)])return;const _0x392e35=this['_injector']['get'](_0xf45cd5[_0x11d9d2(0x25b)])['getDocRanges']();Array[_0x11d9d2(0x1af)](_0x392e35)&&_0x392e35['length']>0x0&&this[_0x11d9d2(0x35a)](_0x392e35);}[_0x36331a(0x3ad)](){const _0x4244d0=_0x36331a;this[_0x4244d0(0x2ab)]=!0x1;}};_0x2655ba=_0x23d031([_0x171ab1(0x2,_0x52c702['Inject'](_0x52c702[_0x36331a(0x289)])),_0x171ab1(0x3,_0x52c702['Inject'](_0x12dd9b)),_0x171ab1(0x4,_0x52c702[_0x36331a(0x24d)](_0x2390c9[_0x36331a(0x29f)])),_0x171ab1(0x5,_0x52c702[_0x36331a(0x24d)](_0xd2d642)),_0x171ab1(0x6,_0x4d50de['ITransformService']),_0x171ab1(0x7,_0x52c702['IUniverInstanceService']),_0x171ab1(0x8,_0x52c702['ICommandService'])],_0x2655ba);var _0x3ec5eb=Object['getOwnPropertyDescriptor'],_0x8ad732=(_0x51d4a3,_0x51da94,_0x132f79,_0x2afdef)=>{const _0x1c9634=_0x36331a;for(var _0x3cf90c=_0x2afdef>0x1?void 0x0:_0x2afdef?_0x3ec5eb(_0x51da94,_0x132f79):_0x51da94,_0x1b09e4=_0x51d4a3[_0x1c9634(0x349)]-0x1,_0x4ecf7;_0x1b09e4>=0x0;_0x1b09e4--)(_0x4ecf7=_0x51d4a3[_0x1b09e4])&&(_0x3cf90c=_0x4ecf7(_0x3cf90c)||_0x3cf90c);return _0x3cf90c;},_0x17bd86=(_0x2eb96d,_0x53ed4f)=>(_0x494422,_0x584057)=>_0x53ed4f(_0x494422,_0x584057,_0x2eb96d);const _0x1d58f3=0x12c,_0x10a156=0x64,_0x31d239=()=>{let _0x476865=[],_0x2e3b91=!0x1;return _0x245f60=>{const _0x230bf6=_0x5710;_0x476865[_0x230bf6(0x383)](_0x245f60),_0x2e3b91||(_0x2e3b91=!0x0,setTimeout(()=>{const _0x2f0009=_0x230bf6;_0x476865[_0x2f0009(0x19f)](_0x52980c=>_0x52980c()),_0x476865=[],_0x2e3b91=!0x1;}));};};let _0x26a887=class extends _0x52c702[_0x36331a(0x403)]{constructor(_0x2edeee,_0x3cb037,_0x3d57ea,_0x200b59,_0x273186,_0x37f0d2,_0x4907a3,_0x10863b){const _0x36ac90=_0x36331a;super(),_0x5cb653(this,_0x36ac90(0x2ab),!0x1),_0x5cb653(this,_0x36ac90(0x347),!0x1),_0x5cb653(this,_0x36ac90(0x2dd),new _0x160e63[(_0x36ac90(0x37a))](new Map())),_0x5cb653(this,_0x36ac90(0x19e),this[_0x36ac90(0x2dd)]['asObservable']()),_0x5cb653(this,_0x36ac90(0x242),new _0x160e63[(_0x36ac90(0x37a))]([])),_0x5cb653(this,_0x36ac90(0x257),this[_0x36ac90(0x242)][_0x36ac90(0x2d4)](_0x160e63[_0x36ac90(0x34e)](_0x1d58f3))),_0x5cb653(this,_0x36ac90(0x35a),_0x52c702[_0x36ac90(0x195)]((_0x2279b0,_0x1e7b3b)=>{const _0x34f2e5=_0x36ac90,_0x475c4f={'eventID':_0x4d50de[_0x34f2e5(0x42a)][_0x34f2e5(0x25a)],'data':{'unitID':this[_0x34f2e5(0x1d8)],'memberID':this[_0x34f2e5(0x28e)]['getMemberID'](),'selection':_0x492681[_0x34f2e5(0x2ac)](_0x2279b0,_0x1e7b3b[_0x34f2e5(0x3b0)])}};this[_0x34f2e5(0x28e)]['send'](_0x475c4f,this['unitID']);},_0x10a156)),(this['unitID']=_0x2edeee,this[_0x36ac90(0x28e)]=_0x3cb037,this[_0x36ac90(0x39b)]=_0x3d57ea,this[_0x36ac90(0x23f)]=_0x200b59,this[_0x36ac90(0x304)]=_0x273186,this[_0x36ac90(0x3f8)]=_0x37f0d2,this[_0x36ac90(0x1b3)]=_0x4907a3,this[_0x36ac90(0x420)]=_0x10863b);}get['cursorInfo'](){const _0x106328=_0x36331a;return this['_cursorInfo$'][_0x106328(0x3d0)]();}get[_0x36331a(0x1b1)](){const _0x84efdf=_0x36331a;return this[_0x84efdf(0x242)][_0x84efdf(0x3d0)]();}[_0x36331a(0x2f7)](){const _0x186b4e=_0x36331a;super[_0x186b4e(0x2f7)](),this[_0x186b4e(0x2dd)][_0x186b4e(0x1d9)](new Map()),this['_cursorInfo$'][_0x186b4e(0x232)](),this[_0x186b4e(0x242)][_0x186b4e(0x1d9)]([]),this[_0x186b4e(0x242)]['complete']();}[_0x36331a(0x341)](){const _0x1882f9=_0x36331a;this[_0x1882f9(0x347)]||(this['_init']=!0x0,this['_session']['sessionStatus$']['pipe'](_0x160e63['takeUntil'](this[_0x1882f9(0x2c3)]))['subscribe'](_0x1ff664=>{const _0x4b4e21=_0x1882f9;_0x1ff664===_0x2390c9[_0x4b4e21(0x321)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x1882f9(0x28e)]['event$'][_0x1882f9(0x2d4)](_0x160e63[_0x1882f9(0x2c5)](this['dispose$']))['subscribe'](_0x512ada=>{const _0x2bfa0=_0x1882f9,_0x3f7438=_0x512ada[_0x2bfa0(0x291)];_0x3f7438===_0x4d50de['CollaborationEvent'][_0x2bfa0(0x25a)]&&this[_0x2bfa0(0x3d9)](_0x512ada),_0x3f7438===_0x4d50de['CollaborationEvent'][_0x2bfa0(0x3f9)]&&this['_onCursorDelete'](_0x512ada);}),this[_0x1882f9(0x3c5)](),this[_0x1882f9(0x2e6)](this[_0x1882f9(0x1b3)][_0x1882f9(0x210)](_0x40ce2a=>{const _0xba59f1=_0x1882f9;if(this[_0xba59f1(0x2ab)]&&_0x40ce2a['id']===_0x3e234a['SetSelectionsOperation']['id']&&_0x40ce2a[_0xba59f1(0x3a4)][_0xba59f1(0x2a4)]===this[_0xba59f1(0x1d8)]){const _0x34837e=_0x40ce2a[_0xba59f1(0x3a4)];this['_updateLocalCursor'](_0x34837e[_0xba59f1(0x2cc)],_0x34837e['selections'][0x0]);}})));}['_onCursorUpdate'](_0x3f58b0){const _0x5aba73=_0x36331a;var _0x233470,_0x436966;const {memberID:_0x5c75b0,selection:_0x87dd82}=_0x3f58b0[_0x5aba73(0x2ff)],{sheetName:_0x577120,range:_0x2c30f2}=_0x492681[_0x5aba73(0x428)](_0x87dd82),_0x3149eb={'name':(_0x436966=(_0x233470=this[_0x5aba73(0x304)]['getMember'](this[_0x5aba73(0x1d8)],_0x5c75b0))==null?void 0x0:_0x233470['name'])!=null?_0x436966:'Unknown\x20user','range':this[_0x5aba73(0x3ac)](_0x577120,_0x2c30f2),'sheetID':_0x577120,'color':this[_0x5aba73(0x23f)][_0x5aba73(0x278)](_0x5c75b0),'selection':_0x87dd82},_0x25fc30=this[_0x5aba73(0x1b8)];_0x25fc30['set'](_0x5c75b0,_0x3149eb),this['_cursorInfo$'][_0x5aba73(0x1d9)](_0x25fc30);}[_0x36331a(0x1fc)](_0x164be1){const _0x468640=_0x36331a,{memberID:_0x54e5cb}=_0x164be1[_0x468640(0x2ff)],_0x3a82b7=this[_0x468640(0x1b8)];_0x3a82b7[_0x468640(0x1a1)](_0x54e5cb),this[_0x468640(0x2dd)][_0x468640(0x1d9)](_0x3a82b7);}[_0x36331a(0x3ac)](_0x1b2fd3,_0x41e3cc){const _0x2d44be=_0x36331a;var _0x43ef10,_0x1071a5;const _0x142958=(_0x1071a5=(_0x43ef10=this[_0x2d44be(0x3f8)][_0x2d44be(0x42d)](this[_0x2d44be(0x1d8)]))==null?void 0x0:_0x43ef10[_0x2d44be(0x3b8)](_0x1b2fd3))==null?void 0x0:_0x1071a5[_0x2d44be(0x33e)]();return(_0x142958==null?void 0x0:_0x142958['find'](_0x714977=>_0x52c702[_0x2d44be(0x207)][_0x2d44be(0x41e)](_0x714977,_0x41e3cc)))||_0x41e3cc;}[_0x36331a(0x3c5)](){const _0x447723=_0x36331a,_0x14bc08=new _0x52c702[(_0x447723(0x41b))](),_0x2024cd=_0x31d239(),_0x2c90af=()=>{const _0x2d9200=_0x447723;_0x14bc08['dispose']();const _0x378252=(_0x59a628,_0x24c474,_0xdb3c63,_0x974dd1)=>{const _0x31e2d6=_0x5710;let _0x24b18a=[];switch(_0x59a628['id']){case _0x3e234a[_0x31e2d6(0x3b1)][_0x31e2d6(0x2fc)]:{_0x24b18a=_0x3e234a[_0x31e2d6(0x193)](_0x59a628,_0x974dd1);break;}case _0x3e234a['EffectRefRangId'][_0x31e2d6(0x313)]:{_0x24b18a=_0x3e234a['handleDeleteRangeMoveUp'](_0x59a628,_0x974dd1);break;}case _0x3e234a['EffectRefRangId']['InsertColCommandId']:{_0x24b18a=_0x3e234a[_0x31e2d6(0x340)](_0x59a628,_0x974dd1);break;}case _0x3e234a['EffectRefRangId'][_0x31e2d6(0x1aa)]:{_0x24b18a=_0x3e234a[_0x31e2d6(0x1c8)](_0x59a628,_0x974dd1);break;}case _0x3e234a[_0x31e2d6(0x3b1)][_0x31e2d6(0x1f2)]:{_0x24b18a=_0x3e234a[_0x31e2d6(0x1f0)](_0x59a628,_0x974dd1);break;}case _0x3e234a[_0x31e2d6(0x3b1)][_0x31e2d6(0x231)]:{_0x24b18a=_0x3e234a[_0x31e2d6(0x20a)](_0x59a628,_0x974dd1);break;}case _0x3e234a[_0x31e2d6(0x3b1)][_0x31e2d6(0x303)]:{_0x24b18a=_0x3e234a[_0x31e2d6(0x26a)](_0x59a628,_0x974dd1);break;}case _0x3e234a['EffectRefRangId'][_0x31e2d6(0x23a)]:{_0x24b18a=_0x3e234a[_0x31e2d6(0x314)](_0x59a628,_0x974dd1);break;}case _0x3e234a['EffectRefRangId'][_0x31e2d6(0x21f)]:{_0x24b18a=_0x3e234a[_0x31e2d6(0x18d)](_0x59a628,_0x974dd1);break;}}const _0x2db590=_0x3e234a['runRefRangeMutations'](_0x24b18a,_0x974dd1),_0x3668ed=this[_0x31e2d6(0x1b8)][_0x31e2d6(0x389)](_0x24c474);if(_0x3668ed&&_0x2db590){const _0x52b1f3={..._0x3668ed,'range':_0x2db590};this[_0x31e2d6(0x1b8)][_0x31e2d6(0x290)](_0x24c474,_0x52b1f3),_0x2024cd(()=>{const _0x107b31=_0x31e2d6,_0x2972d3=this[_0x107b31(0x420)][_0x107b31(0x1cf)](_0x2db590,_0xacf574=>(_0x2972d3[_0x107b31(0x2f7)](),_0x378252(_0xacf574,_0x24c474,_0xdb3c63,_0x2db590)));_0x14bc08[_0x107b31(0x3cf)](_0x2972d3);});}return{'redos':[],'undos':[]};};this[_0x2d9200(0x1b8)][_0x2d9200(0x19f)]((_0x3271fa,_0x52766f)=>{const _0x4bed12=_0x2d9200,{range:_0x446e16,sheetID:_0x2e6464}=_0x3271fa,_0x241923=this[_0x4bed12(0x420)][_0x4bed12(0x1cf)](_0x446e16,_0x2db69a=>(_0x241923[_0x4bed12(0x2f7)](),_0x378252(_0x2db69a,_0x52766f,_0x2e6464,_0x446e16)));_0x14bc08[_0x4bed12(0x3cf)](_0x241923);});};this[_0x447723(0x2e6)](_0x52c702['toDisposable'](this[_0x447723(0x2dd)][_0x447723(0x328)](()=>{_0x2c90af();})));}['_toggleOnline'](){const _0x1e511b=_0x36331a;var _0x101cd9,_0x501d2d;if(this[_0x1e511b(0x2ab)]=!0x0,((_0x101cd9=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x101cd9[_0x1e511b(0x240)]())!==this[_0x1e511b(0x1d8)])return;const _0x4c812b=(_0x501d2d=this[_0x1e511b(0x39b)][_0x1e511b(0x389)](_0x3e234a[_0x1e511b(0x3db)])['getCurrentSelections']())==null?void 0x0:_0x501d2d[0x0],_0x5579ef=this[_0x1e511b(0x3f8)][_0x1e511b(0x311)](_0x52c702[_0x1e511b(0x345)][_0x1e511b(0x326)])[_0x1e511b(0x3a8)]();_0x4c812b&&_0x5579ef&&this[_0x1e511b(0x35a)](_0x5579ef['getSheetId'](),_0x4c812b);}['_toggleOffline'](){const _0x4d870d=_0x36331a;this[_0x4d870d(0x2ab)]=!0x1;}};_0x26a887=_0x8ad732([_0x17bd86(0x2,_0x52c702[_0x36331a(0x24d)](_0x52c702[_0x36331a(0x289)])),_0x17bd86(0x3,_0x52c702['Inject'](_0x12dd9b)),_0x17bd86(0x4,_0x52c702[_0x36331a(0x24d)](_0x2390c9['MemberService'])),_0x17bd86(0x5,_0x52c702[_0x36331a(0x38f)]),_0x17bd86(0x6,_0x52c702[_0x36331a(0x1f8)]),_0x17bd86(0x7,_0x52c702[_0x36331a(0x24d)](_0x3e234a['RefRangeService']))],_0x26a887);var _0x29b90f=Object[_0x36331a(0x2b6)],_0x9327ea=(_0x5a5d6b,_0x216a26,_0x4702ff,_0x2bd4c0)=>{for(var _0x4b2fa5=_0x2bd4c0>0x1?void 0x0:_0x2bd4c0?_0x29b90f(_0x216a26,_0x4702ff):_0x216a26,_0x283d09=_0x5a5d6b['length']-0x1,_0x4a3cb5;_0x283d09>=0x0;_0x283d09--)(_0x4a3cb5=_0x5a5d6b[_0x283d09])&&(_0x4b2fa5=_0x4a3cb5(_0x4b2fa5)||_0x4b2fa5);return _0x4b2fa5;},_0x5c7256=(_0x3c1266,_0x4ab047)=>(_0x21f138,_0x4c9c80)=>_0x4ab047(_0x21f138,_0x4c9c80,_0x3c1266);let _0x518f67=class extends _0x52c702[_0x36331a(0x403)]{constructor(_0x3b4d86,_0x47f5ca,_0x544c0b){const _0xd3f1e6=_0x36331a;super(),_0x5cb653(this,_0xd3f1e6(0x1ff),new Map()),_0x5cb653(this,_0xd3f1e6(0x38b),new _0x160e63[(_0xd3f1e6(0x292))]()),(this['_univerInstanceService']=_0x3b4d86,this[_0xd3f1e6(0x39b)]=_0x47f5ca,this[_0xd3f1e6(0x1b7)]=_0x544c0b,this[_0xd3f1e6(0x347)]());}[_0x36331a(0x2f7)](){const _0x480022=_0x36331a;super[_0x480022(0x2f7)](),this[_0x480022(0x38b)][_0x480022(0x232)](),this['_entities'][_0x480022(0x19f)](_0x49bb6e=>_0x49bb6e[_0x480022(0x2f7)]());}[_0x36331a(0x2da)](_0x46ccae){const _0x382a3f=_0x36331a;return this[_0x382a3f(0x1ff)][_0x382a3f(0x415)](_0x46ccae)?this['_entities'][_0x382a3f(0x389)](_0x46ccae)[_0x382a3f(0x19e)]:this[_0x382a3f(0x38b)][_0x382a3f(0x2d4)](_0x160e63[_0x382a3f(0x34d)](_0x286ede=>_0x286ede[_0x382a3f(0x1d8)]===_0x46ccae),_0x160e63['switchMap'](_0x5a5e43=>_0x5a5e43[_0x382a3f(0x19e)]));}[_0x36331a(0x347)](){const _0x3a8bb5=_0x36331a;this[_0x3a8bb5(0x3f8)][_0x3a8bb5(0x416)](_0x52c702[_0x3a8bb5(0x345)][_0x3a8bb5(0x326)])[_0x3a8bb5(0x2d4)](_0x160e63[_0x3a8bb5(0x2c5)](this['dispose$']))['subscribe'](async _0x21877a=>{const _0x587aad=_0x3a8bb5,_0x1f4cfc=_0x21877a[_0x587aad(0x240)](),_0x478c3c=await this[_0x587aad(0x208)](_0x1f4cfc);this[_0x587aad(0x38b)]['next'](_0x478c3c),this[_0x587aad(0x1ff)]['set'](_0x1f4cfc,_0x478c3c);}),this['_univerInstanceService'][_0x3a8bb5(0x416)](_0x52c702[_0x3a8bb5(0x345)][_0x3a8bb5(0x38a)])[_0x3a8bb5(0x2d4)](_0x160e63[_0x3a8bb5(0x2c5)](this[_0x3a8bb5(0x2c3)]))[_0x3a8bb5(0x2d4)](_0x160e63[_0x3a8bb5(0x34d)](_0x242ef2=>!_0x242ef2[_0x3a8bb5(0x240)]()['startsWith']('__')))['subscribe'](async _0x5ebf72=>{const _0x24cc39=_0x3a8bb5,_0xd4f58b=_0x5ebf72[_0x24cc39(0x240)](),_0x3c3efa=await this[_0x24cc39(0x1f1)](_0xd4f58b);this[_0x24cc39(0x38b)][_0x24cc39(0x1d9)](_0x3c3efa),this[_0x24cc39(0x1ff)]['set'](_0xd4f58b,_0x3c3efa);}),_0x160e63[_0x3a8bb5(0x264)](this[_0x3a8bb5(0x3f8)][_0x3a8bb5(0x317)](_0x52c702[_0x3a8bb5(0x345)][_0x3a8bb5(0x38a)]),this[_0x3a8bb5(0x3f8)][_0x3a8bb5(0x317)](_0x52c702[_0x3a8bb5(0x345)][_0x3a8bb5(0x326)]))[_0x3a8bb5(0x2d4)](_0x160e63['takeUntil'](this[_0x3a8bb5(0x2c3)]))[_0x3a8bb5(0x328)](_0x327663=>{const _0x94778e=_0x3a8bb5,_0x38eacb=_0x327663['getUnitId'](),_0xad2d93=this[_0x94778e(0x1ff)][_0x94778e(0x389)](_0x38eacb);_0xad2d93&&(_0xad2d93[_0x94778e(0x2f7)](),this[_0x94778e(0x1ff)][_0x94778e(0x1a1)](_0x38eacb));});}async[_0x36331a(0x208)](_0x5c2b53){const _0x421d63=_0x36331a,_0x4367c3=await this[_0x421d63(0x1b7)][_0x421d63(0x363)](_0x5c2b53),_0x5cf20f=this[_0x421d63(0x39b)][_0x421d63(0x192)](_0x26a887,_0x5c2b53,_0x4367c3);return _0x5cf20f[_0x421d63(0x341)](),_0x5cf20f;}async[_0x36331a(0x1f1)](_0x276140){const _0x4473f6=_0x36331a,_0xf0fdf3=await this[_0x4473f6(0x1b7)]['requireSession'](_0x276140),_0x4fd55b=this[_0x4473f6(0x39b)][_0x4473f6(0x192)](_0x2655ba,_0x276140,_0xf0fdf3);return _0x4fd55b[_0x4473f6(0x341)](),_0x4fd55b;}};_0x518f67=_0x9327ea([_0x5c7256(0x0,_0x52c702[_0x36331a(0x38f)]),_0x5c7256(0x1,_0x52c702[_0x36331a(0x24d)](_0x52c702[_0x36331a(0x289)])),_0x5c7256(0x2,_0x52c702['Inject'](_0x2390c9[_0x36331a(0x256)]))],_0x518f67);const _0x447e2c=0x14,_0x2d0e1b=0xc8,_0x380f81=0x4,_0x313921=0x5;function _0x10e2ed(_0xea6a5e,_0x2aa001){const _0x40e545=_0x36331a;let {radius:_0x145fc9,width:_0x5bcd5a,height:_0x224cf5}=_0x2aa001;_0x145fc9=_0x145fc9!=null?_0x145fc9:0x0,_0x5bcd5a=_0x5bcd5a!=null?_0x5bcd5a:0x1e,_0x224cf5=_0x224cf5!=null?_0x224cf5:0x1e;let _0x4b2526=0x0,_0x5e640d=0x0,_0x181aa1=0x0;_0x4b2526=_0x5e640d=_0x181aa1=Math[_0x40e545(0x3f6)](_0x145fc9,_0x5bcd5a/0x2,_0x224cf5/0x2),_0xea6a5e[_0x40e545(0x411)](),_0xea6a5e['moveTo'](_0x4b2526,0x0),_0xea6a5e['lineTo'](_0x5bcd5a-_0x5e640d,0x0),_0xea6a5e[_0x40e545(0x330)](_0x5bcd5a-_0x5e640d,_0x5e640d,_0x5e640d,Math['PI']*0x3/0x2,0x0,!0x1),_0xea6a5e[_0x40e545(0x3aa)](_0x5bcd5a,_0x224cf5-_0x181aa1),_0xea6a5e['arc'](_0x5bcd5a-_0x181aa1,_0x224cf5-_0x181aa1,_0x181aa1,0x0,Math['PI']/0x2,!0x1),_0xea6a5e['lineTo'](0x0,_0x224cf5),_0xea6a5e[_0x40e545(0x3aa)](0x0,_0x4b2526),_0xea6a5e[_0x40e545(0x330)](_0x4b2526,_0x4b2526,_0x4b2526,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xea6a5e[_0x40e545(0x36c)](),_0x2aa001[_0x40e545(0x1d6)]&&(_0xea6a5e[_0x40e545(0x273)](),_0xea6a5e[_0x40e545(0x327)]=_0x2aa001[_0x40e545(0x1d6)],_0x2aa001[_0x40e545(0x360)]===_0x40e545(0x25f)?_0xea6a5e[_0x40e545(0x1d6)](_0x40e545(0x25f)):_0xea6a5e['fill'](),_0xea6a5e[_0x40e545(0x1db)]());}class _0x5d0dd6 extends _0x711590[_0x36331a(0x429)]{constructor(_0x271925,_0x1188f0){const _0x4f11a1=_0x36331a;super(_0x271925,_0x1188f0),_0x5cb653(this,_0x4f11a1(0x2d9)),_0x5cb653(this,_0x4f11a1(0x1bd)),(this[_0x4f11a1(0x2d9)]=_0x1188f0==null?void 0x0:_0x1188f0['color'],this['text']=_0x1188f0==null?void 0x0:_0x1188f0['text']);}static[_0x36331a(0x1ec)](_0x58c839,_0x250a2e){const _0x5a2fd8=_0x36331a,{text:_0x491dbf,color:_0x5dc119}=_0x250a2e;_0x58c839[_0x5a2fd8(0x273)](),_0x58c839['font']=_0x5a2fd8(0x203);const _0x358b8c=_0x58c839[_0x5a2fd8(0x425)](_0x491dbf)[_0x5a2fd8(0x261)],_0x26382d=Math[_0x5a2fd8(0x3f6)](_0x358b8c+0x2*_0x380f81,_0x2d0e1b);_0x10e2ed(_0x58c839,{'height':_0x447e2c,'radius':0x4,'width':_0x26382d,'fill':_0x5dc119}),_0x58c839[_0x5a2fd8(0x327)]=_0x5a2fd8(0x217);const _0x3b1824=_0x380f81,_0x207dd7=_0x447e2c-_0x313921,_0x4480ed=_0x2d0e1b-0x2*_0x380f81;if(_0x358b8c>_0x4480ed){let _0x375176='',_0x143e3e=0x0;for(const _0x49e5c5 of _0x491dbf){const _0x43f6e7=_0x58c839[_0x5a2fd8(0x425)](_0x49e5c5)[_0x5a2fd8(0x261)];if(_0x143e3e+_0x43f6e7<=_0x4480ed-_0x58c839[_0x5a2fd8(0x425)](_0x5a2fd8(0x222))[_0x5a2fd8(0x261)])_0x375176+=_0x49e5c5,_0x143e3e+=_0x43f6e7;else{_0x375176+=_0x5a2fd8(0x222);break;}}_0x58c839['fillText'](_0x375176,_0x3b1824,_0x207dd7);}else _0x58c839['fillText'](_0x491dbf,_0x3b1824,_0x207dd7);_0x58c839[_0x5a2fd8(0x1db)]();}[_0x36331a(0x3f7)](_0x2efe37){_0x5d0dd6['drawWith'](_0x2efe37,this);}}const _0x1e49ac='collab-text-anchor-',_0x42b1c4=_0x36331a(0x424),_0x540c2d=_0x36331a(0x3fa),_0x5a8781=0x6,_0x2c9162=1.5,_0x3c3c81=0x4,_0x46fa98=1.5,_0x19d035=_0x36331a(0x18b);class _0x367812{constructor(_0x27558c,_0x38e3fe,_0x252031,_0x52b417){const _0x5b2154=_0x36331a;_0x5cb653(this,_0x5b2154(0x375),[]),_0x5cb653(this,_0x5b2154(0x1d3),null),_0x5cb653(this,_0x5b2154(0x286),null),_0x5cb653(this,_0x5b2154(0x22c),null),_0x5cb653(this,_0x5b2154(0x332),null),_0x5cb653(this,_0x5b2154(0x2c1),null),(this[_0x5b2154(0x402)]=_0x27558c,this[_0x5b2154(0x28f)]=_0x38e3fe,this[_0x5b2154(0x40d)]=_0x252031,this[_0x5b2154(0x412)]=_0x52b417,this[_0x5b2154(0x1ac)]());}set[_0x36331a(0x42c)](_0x2827e5){const _0x2b08ce=_0x36331a;_0x2827e5?(this['_anchorDot']&&this['_anchorDot'][_0x2b08ce(0x2f3)](),this[_0x2b08ce(0x286)]&&this[_0x2b08ce(0x286)]['show']()):(this[_0x2b08ce(0x22c)]&&this[_0x2b08ce(0x22c)][_0x2b08ce(0x26e)](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x36331a(0x2f7)](){const _0x213332=_0x36331a;for(const _0x2c3e48 of this['_shapes'])_0x2c3e48[_0x213332(0x2f7)]();this['_textBubble']&&this[_0x213332(0x286)][_0x213332(0x2f7)](),this[_0x213332(0x22c)]&&this[_0x213332(0x22c)][_0x213332(0x2f7)](),this[_0x213332(0x1d3)]&&this['_anchor'][_0x213332(0x2f7)](),this[_0x213332(0x2c1)]&&this[_0x213332(0x2c1)]();}[_0x36331a(0x1ac)](){const _0x3b6f10=_0x36331a;var _0x56ac72;const {_docSkeleton:_0x33f4cf,_document:_0x41cfad}=this,{color:_0x43191d,name:_0x5a9ef6,ranges:_0x358cc4}=this[_0x3b6f10(0x402)],_0x1bb17a=_0x41cfad[_0x3b6f10(0x233)](),{docsLeft:_0x13b9b3,docsTop:_0x4b3087}=_0x1bb17a,_0x5397b8=new _0x458abf[(_0x3b6f10(0x36d))](_0x1bb17a,_0x33f4cf);for(const {startOffset:_0x59b23b,endOffset:_0x153698,rangeType:_0x2d8125,segmentId:_0x53f331,segmentPage:_0x5d9a89,collapsed:_0x49e35b,isActive:_0xf3d396}of _0x358cc4){const _0x46d986=_0x33f4cf[_0x3b6f10(0x30b)](_0x59b23b,!0x0,_0x53f331,_0x5d9a89);let _0x1215e7=_0x33f4cf[_0x3b6f10(0x30b)](_0x153698,!0x0,_0x53f331,_0x5d9a89);if(_0x1215e7==null&&(_0x1215e7=_0x33f4cf[_0x3b6f10(0x30b)](_0x153698-0x1,!0x1,_0x53f331,_0x5d9a89)),_0xf3d396){const {contentBoxPointGroup:_0x49620c}=_0x5397b8[_0x3b6f10(0x19a)](_0x1215e7,_0x1215e7);if(_0x49620c['length']===0x0)continue;this[_0x3b6f10(0x3dc)](_0x43191d,_0x49620c,_0x13b9b3,_0x4b3087,_0x5a9ef6),this['_eventUnsubscribe']=this[_0x3b6f10(0x3a0)]();}if(_0x46d986&&_0x1215e7){if(_0x2d8125===_0x52c702['DOC_RANGE_TYPE']['RECT']){const _0x3ed851=new _0x458abf[(_0x3b6f10(0x400))](_0x1bb17a,_0x33f4cf),{pointGroup:_0x27f09f}=(_0x56ac72=_0x3ed851[_0x3b6f10(0x19a)](_0x46d986,_0x1215e7))!=null?_0x56ac72:{};if(_0x27f09f==null||_0x27f09f[_0x3b6f10(0x349)]===0x0)continue;this[_0x3b6f10(0x27b)](_0x43191d,_0x27f09f,_0x13b9b3,_0x4b3087);}else{if(!_0x49e35b){const {borderBoxPointGroup:_0x352192}=_0x5397b8[_0x3b6f10(0x19a)](_0x46d986,_0x1215e7);if(_0x352192[_0x3b6f10(0x349)]===0x0)continue;this['_drawTextRange'](_0x43191d,_0x352192,_0x13b9b3,_0x4b3087);}}}}}[_0x36331a(0x3dc)](_0x533283,_0x1692a9,_0x452e90,_0x5bffcc,_0x9c0e53){const _0x234f5e=_0x36331a,_0x5cf50e=this[_0x234f5e(0x1bb)](_0x1692a9),{left:_0x43b7d7,top:_0x3fe5a1,height:_0x3aa545}=_0x5cf50e,_0x54a0bb=this[_0x234f5e(0x2e2)](),_0x487930=_0x46fa98/_0x54a0bb,_0x1c19b9=new _0x711590[(_0x234f5e(0x258))](_0x1e49ac+_0x52c702[_0x234f5e(0x1c4)][_0x234f5e(0x1b9)](_0x5a8781),{'left':_0x43b7d7+_0x452e90-_0x487930,'top':_0x3fe5a1+_0x5bffcc,'height':_0x3aa545,'width':_0x2c9162,'fill':_0x533283||_0x711590[_0x234f5e(0x329)](_0x52c702[_0x234f5e(0x279)]['black'],0x0),'strokeWidth':_0x487930,'stroke':_0x19d035,'evented':!0x0});this[_0x234f5e(0x1d3)]=_0x1c19b9,this[_0x234f5e(0x28f)][_0x234f5e(0x37d)](_0x1c19b9,_0x458abf['TEXT_RANGE_LAYER_INDEX']);const _0x4041c8=new _0x711590[(_0x234f5e(0x258))](_0x1e49ac+_0x52c702[_0x234f5e(0x1c4)][_0x234f5e(0x1b9)](_0x5a8781),{'left':_0x43b7d7+_0x452e90-_0x487930,'top':_0x3fe5a1+_0x5bffcc-_0x3c3c81/0x2,'height':_0x3c3c81,'width':_0x3c3c81,'fill':_0x533283||_0x711590[_0x234f5e(0x329)](_0x52c702[_0x234f5e(0x279)][_0x234f5e(0x417)],0x0),'strokeWidth':0x0,'stroke':_0x533283||_0x711590[_0x234f5e(0x329)](_0x52c702[_0x234f5e(0x279)][_0x234f5e(0x417)],0x0),'evented':!0x1});this['_anchorDot']=_0x4041c8,this[_0x234f5e(0x28f)]['addObject'](_0x4041c8,_0x458abf[_0x234f5e(0x3c3)]);const _0x2f6689=new _0x5d0dd6(_0x1e49ac+_0x52c702[_0x234f5e(0x1c4)][_0x234f5e(0x1b9)](_0x5a8781),{'left':_0x43b7d7+_0x452e90-_0x487930,'top':_0x3fe5a1+_0x5bffcc-_0x447e2c,'text':_0x9c0e53,'color':_0x533283});this[_0x234f5e(0x286)]=_0x2f6689,this['_scene'][_0x234f5e(0x37d)](_0x2f6689,_0x458abf[_0x234f5e(0x3c3)]),this[_0x234f5e(0x42c)]=!0x1;}[_0x36331a(0x3a0)](){const _0x5a5b3b=_0x36331a,_0x3fe644=this[_0x5a5b3b(0x1d3)][_0x5a5b3b(0x351)][_0x5a5b3b(0x221)](()=>{const _0x20509f=_0x5a5b3b;this[_0x20509f(0x42c)]=!0x0;}),_0x3b7bc6=this[_0x5a5b3b(0x1d3)][_0x5a5b3b(0x2b4)][_0x5a5b3b(0x221)](()=>{const _0x56d3a4=_0x5a5b3b;this[_0x56d3a4(0x332)]&&clearTimeout(this[_0x56d3a4(0x332)]),this[_0x56d3a4(0x332)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x5e2f6a=_0x5a5b3b;_0x3fe644['unsubscribe'](),_0x3b7bc6[_0x5e2f6a(0x262)]();};}[_0x36331a(0x3cd)](_0xe22a09,_0xa5c5cf,_0x3483f9,_0x4594e6){const _0x2a6bb0=_0x36331a,_0x32c378=new _0x52c702['ColorKit'](_0xe22a09)['setAlpha'](0.2)[_0x2a6bb0(0x373)](),_0x2d81a6=new _0x711590[(_0x2a6bb0(0x3c1))](_0x42b1c4+_0x52c702[_0x2a6bb0(0x1c4)][_0x2a6bb0(0x1b9)](_0x5a8781),{'pointsGroup':_0xa5c5cf,'fill':_0x32c378||_0x711590['getColor'](_0x52c702[_0x2a6bb0(0x279)]['black'],0.2),'left':_0x3483f9,'top':_0x4594e6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x2d81a6),this[_0x2a6bb0(0x28f)][_0x2a6bb0(0x37d)](_0x2d81a6,_0x458abf[_0x2a6bb0(0x3c3)]);}['_drawRectRange'](_0x271f06,_0x643389,_0x407241,_0x53d749){const _0x2f97f3=_0x36331a,_0x14e048=new _0x52c702['ColorKit'](_0x271f06)[_0x2f97f3(0x358)](0.2)[_0x2f97f3(0x373)](),_0x38d56b=new _0x711590[(_0x2f97f3(0x3c1))](_0x540c2d+_0x52c702['Tools'][_0x2f97f3(0x1b9)](_0x5a8781),{'pointsGroup':_0x643389,'fill':_0x14e048||_0x711590[_0x2f97f3(0x329)](_0x52c702[_0x2f97f3(0x279)][_0x2f97f3(0x417)],0.2),'left':_0x407241,'top':_0x53d749,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2f97f3(0x383)](_0x38d56b),this['_scene']['addObject'](_0x38d56b,_0x458abf['TEXT_RANGE_LAYER_INDEX']);}[_0x36331a(0x1bb)](_0xedf219){const _0x4f8134=_0xedf219[0x0],_0x1637a7=_0x4f8134[0x0],_0x3df958=_0x4f8134[0x2],{x:_0x2e21f1,y:_0x37b188}=_0x1637a7,{x:_0x121684,y:_0x26b8af}=_0x3df958;return{'left':_0x2e21f1,'top':_0x37b188,'width':_0x121684-_0x2e21f1,'height':_0x26b8af-_0x37b188};}['_getScale'](){const _0x4517d7=_0x36331a,{scaleX:_0x7c92c2,scaleY:_0xbf4598}=this[_0x4517d7(0x28f)][_0x4517d7(0x3f5)]();return Math[_0x4517d7(0x2a0)](_0x7c92c2,_0xbf4598);}}var _0x257a1a=Object['getOwnPropertyDescriptor'],_0xecefaf=(_0x23bff8,_0x2ba6f4,_0x276baf,_0x3eba0d)=>{for(var _0x5aa9fb=_0x3eba0d>0x1?void 0x0:_0x3eba0d?_0x257a1a(_0x2ba6f4,_0x276baf):_0x2ba6f4,_0x5896c4=_0x23bff8['length']-0x1,_0x3fb59e;_0x5896c4>=0x0;_0x5896c4--)(_0x3fb59e=_0x23bff8[_0x5896c4])&&(_0x5aa9fb=_0x3fb59e(_0x5aa9fb)||_0x5aa9fb);return _0x5aa9fb;},_0x4b99a6=(_0xf38bee,_0x351976)=>(_0x4d79db,_0x2ddd24)=>_0x351976(_0x4d79db,_0x2ddd24,_0xf38bee);let _0x86d5fa=class extends _0x52c702[_0x36331a(0x403)]{constructor(_0x3b770a,_0x16fe17,_0xbf95c5,_0x4890ff,_0x14a0dd){const _0x1c1a0e=_0x36331a;super(),_0x5cb653(this,_0x1c1a0e(0x33c),[]),_0x5cb653(this,_0x1c1a0e(0x2c9),[]),(this[_0x1c1a0e(0x1ba)]=_0x3b770a,this['_docSkeletonManagerService']=_0x16fe17,this[_0x1c1a0e(0x3da)]=_0xbf95c5,this[_0x1c1a0e(0x1b3)]=_0x4890ff,this[_0x1c1a0e(0x2fd)]=_0x14a0dd,this[_0x1c1a0e(0x347)]());}[_0x36331a(0x347)](){const _0x5d00ae=_0x36331a,_0x4aaa50=this[_0x5d00ae(0x1ba)]['unitId'],_0x2c5919=this[_0x5d00ae(0x2e1)];this[_0x5d00ae(0x2e6)](_0x160e63[_0x5d00ae(0x35b)]([this[_0x5d00ae(0x3da)][_0x5d00ae(0x2da)](_0x4aaa50),this[_0x5d00ae(0x2fd)]['currentTheme$']])['pipe'](_0x17f6ed[_0x5d00ae(0x214)](([_0x1b6411,_0x3a45ee])=>({'skeleton':_0x2c5919[_0x5d00ae(0x2c0)](),'cursors':[..._0x1b6411[_0x5d00ae(0x364)]()][_0x5d00ae(0x350)](_0x42a7ef=>({..._0x42a7ef,'color':this[_0x5d00ae(0x2fd)][_0x5d00ae(0x270)](_0x42a7ef[_0x5d00ae(0x2d9)])}))})))[_0x5d00ae(0x328)](_0x143b8b=>{const _0x2edd7e=_0x5d00ae;if(this[_0x2edd7e(0x30a)](),_0x143b8b){const {skeleton:_0x49c8ba,cursors:_0x469908}=_0x143b8b;this[_0x2edd7e(0x296)](_0x49c8ba,_0x469908);}})),this[_0x5d00ae(0x1dd)](),this[_0x5d00ae(0x283)]();}['_updateCollabCursors'](_0x2d4061,_0x1507bb){const _0x1c214a=_0x36331a,{scene:_0x2cc7f8,mainComponent:_0x3671a1}=this[_0x1c214a(0x1ba)],_0x49bd44=_0x1507bb[_0x1c214a(0x214)](_0x51eb3d=>new _0x367812(_0x51eb3d,_0x2cc7f8,_0x2d4061,_0x3671a1));this[_0x1c214a(0x33c)]=_0x49bd44,this[_0x1c214a(0x2c9)]=_0x1507bb;}[_0x36331a(0x277)](){const _0x4d0654=_0x36331a;this['_removeCollabCursors']();const {scene:_0x5df813,mainComponent:_0x169285}=this[_0x4d0654(0x1ba)],_0x35c088=this[_0x4d0654(0x2e1)][_0x4d0654(0x2c0)](),_0x2c9d71=this['_cursors'][_0x4d0654(0x214)](_0x35a277=>new _0x367812(_0x35a277,_0x5df813,_0x35c088,_0x169285));this[_0x4d0654(0x33c)]=_0x2c9d71;}[_0x36331a(0x30a)](){const _0x42af6b=_0x36331a;this[_0x42af6b(0x33c)][_0x42af6b(0x19f)](_0xf6dad8=>_0xf6dad8['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x1c8ab4=_0x36331a,_0x148081=[_0x458abf[_0x1c8ab4(0x1e6)]['id']];this[_0x1c8ab4(0x2e6)](this['_commandService']['onCommandExecuted'](_0x3bc35d=>{const _0xabb44a=_0x1c8ab4;_0x148081[_0xabb44a(0x1d2)](_0x3bc35d['id'])&&_0x3bc35d[_0xabb44a(0x3a4)][_0xabb44a(0x2a4)]===this[_0xabb44a(0x1ba)][_0xabb44a(0x2a4)]&&this[_0xabb44a(0x277)]();}));}['_initResize'](){const _0x416aec=_0x36331a;this['disposeWithMe'](_0x52c702[_0x416aec(0x288)](this[_0x416aec(0x1ba)][_0x416aec(0x3fe)][_0x416aec(0x3e8)])[_0x416aec(0x2d4)](_0x17f6ed[_0x416aec(0x34d)](_0x4dd962=>_0x4dd962['type']===_0x711590[_0x416aec(0x2af)][_0x416aec(0x2d2)]),_0x17f6ed[_0x416aec(0x410)](0x10))[_0x416aec(0x328)](()=>{const _0x77446e=_0x416aec;this[_0x77446e(0x277)]();}));}};_0x86d5fa=_0xecefaf([_0x4b99a6(0x1,_0x52c702['Inject'](_0xf45cd5[_0x36331a(0x309)])),_0x4b99a6(0x2,_0x52c702[_0x36331a(0x24d)](_0x518f67)),_0x4b99a6(0x3,_0x52c702[_0x36331a(0x1f8)]),_0x4b99a6(0x4,_0x52c702[_0x36331a(0x24d)](_0x52c702['ThemeService']))],_0x86d5fa);const _0x1f29eb=0x1,_0x5dc1af=1.5;class _0x4f5011 extends _0x711590[_0x36331a(0x429)]{constructor(_0x14853d,_0x2d9fca){const _0x507cf0=_0x36331a;super(_0x14853d,_0x2d9fca),_0x5cb653(this,_0x507cf0(0x191)),_0x5cb653(this,_0x507cf0(0x276),!0x1),_0x5cb653(this,'_range'),_0x5cb653(this,'_name',''),_0x5cb653(this,_0x507cf0(0x406),'top'),_0x5cb653(this,_0x507cf0(0x3af)),(_0x2d9fca&&this[_0x507cf0(0x33b)](_0x2d9fca),this[_0x507cf0(0x351)][_0x507cf0(0x221)](()=>this[_0x507cf0(0x33b)]({'hovered':!0x0})),this[_0x507cf0(0x2b4)][_0x507cf0(0x221)](()=>this[_0x507cf0(0x33b)]({'hovered':!0x1})));}[_0x36331a(0x33b)](_0x4123a8){const _0x34f428=_0x36331a;var _0x23faba,_0x47a211,_0x395612,_0x195b3c,_0x2e00e7,_0x30e7c9;this[_0x34f428(0x191)]=(_0x23faba=_0x4123a8['color'])!=null?_0x23faba:this[_0x34f428(0x191)],this[_0x34f428(0x276)]=(_0x47a211=_0x4123a8[_0x34f428(0x26d)])!=null?_0x47a211:this[_0x34f428(0x276)],this[_0x34f428(0x21e)]=(_0x395612=_0x4123a8[_0x34f428(0x3b0)])!=null?_0x395612:this['_range'],this['_name']=(_0x195b3c=_0x4123a8[_0x34f428(0x239)])!=null?_0x195b3c:this[_0x34f428(0x401)],this[_0x34f428(0x406)]=(_0x2e00e7=_0x4123a8[_0x34f428(0x297)])!=null?_0x2e00e7:this['_labelPosition'],this[_0x34f428(0x3af)]=(_0x30e7c9=_0x4123a8[_0x34f428(0x2b3)])!=null?_0x30e7c9:this[_0x34f428(0x3af)],this['transformByState']({'width':_0x4123a8[_0x34f428(0x261)],'height':_0x4123a8['height']});}[_0x36331a(0x282)](_0x26a0fe){const _0x6d64f9=_0x36331a,{row:_0x4c223f,column:_0x53e9e1}=_0x26a0fe;if(_0x4c223f>=this[_0x6d64f9(0x21e)][_0x6d64f9(0x1d1)]&&_0x4c223f<=this[_0x6d64f9(0x21e)][_0x6d64f9(0x3e6)]&&_0x53e9e1>=this['_range'][_0x6d64f9(0x322)]&&_0x53e9e1<=this['_range'][_0x6d64f9(0x2f4)]){this[_0x6d64f9(0x33b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x36331a(0x285)](_0x14fba5){return!0x1;}[_0x36331a(0x3f7)](_0x38a808){const _0x3d20d2=_0x36331a;_0x711590[_0x3d20d2(0x258)][_0x3d20d2(0x1ec)](_0x38a808,{'width':this[_0x3d20d2(0x261)],'height':this[_0x3d20d2(0x1dc)],'strokeWidth':_0x5dc1af,'stroke':this[_0x3d20d2(0x191)],'evented':!0x1,'fill':this[_0x3d20d2(0x3af)]}),this[_0x3d20d2(0x276)]&&(_0x38a808['save'](),_0x38a808['transform'](0x1,0x0,0x0,0x1,this[_0x3d20d2(0x261)],this[_0x3d20d2(0x406)]===_0x3d20d2(0x3cb)?0x0:-0x14),_0x5d0dd6[_0x3d20d2(0x1ec)](_0x38a808,{'text':this[_0x3d20d2(0x401)],'color':this[_0x3d20d2(0x191)]}),_0x38a808['restore']());}}var _0x2f25bd=Object['getOwnPropertyDescriptor'],_0x4c477c=(_0x521730,_0x479a8f,_0x30f3af,_0x1caa71)=>{const _0x13bbc2=_0x36331a;for(var _0x5305d2=_0x1caa71>0x1?void 0x0:_0x1caa71?_0x2f25bd(_0x479a8f,_0x30f3af):_0x479a8f,_0x53e6f7=_0x521730[_0x13bbc2(0x349)]-0x1,_0x430444;_0x53e6f7>=0x0;_0x53e6f7--)(_0x430444=_0x521730[_0x53e6f7])&&(_0x5305d2=_0x430444(_0x5305d2)||_0x5305d2);return _0x5305d2;},_0x5b19dc=(_0x1aa1ed,_0x36515c)=>(_0x4c387c,_0x48c0c1)=>_0x36515c(_0x4c387c,_0x48c0c1,_0x1aa1ed);const _0x276670=0x1389;let _0xa1828c=class extends _0x52c702[_0x36331a(0x403)]{constructor(_0x1a0a4c,_0x5c931b,_0x168178,_0x225351){const _0x3846dd=_0x36331a;super(),_0x5cb653(this,_0x3846dd(0x2c9),new Set()),_0x5cb653(this,_0x3846dd(0x325),null),(this[_0x3846dd(0x1ba)]=_0x1a0a4c,this[_0x3846dd(0x3fc)]=_0x5c931b,this['_collabCursorController']=_0x168178,this[_0x3846dd(0x2fd)]=_0x225351,this[_0x3846dd(0x347)]());}['_init'](){const _0xca8712=_0x36331a;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0x17f6ed['takeUntil'](this[_0xca8712(0x2c3)]),_0x17f6ed[_0xca8712(0x244)](_0x30f375=>{const _0x12aa95=_0xca8712;if(_0x30f375){const _0x20300a=_0x30f375[_0x12aa95(0x2ba)];return _0x160e63[_0x12aa95(0x35b)](this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x12aa95(0x2a4)]),this[_0x12aa95(0x2fd)][_0x12aa95(0x397)])[_0x12aa95(0x2d4)](_0x17f6ed[_0x12aa95(0x214)](([_0x438fc6,_0x2bca06])=>{const _0x13ca4c=_0x12aa95,_0x1fd514=new Map();return _0x438fc6[_0x13ca4c(0x19f)]((_0x262a61,_0x1d262e)=>{const _0x3a0a1a=_0x13ca4c;if(_0x262a61[_0x3a0a1a(0x30c)]===_0x20300a){const _0x462533={..._0x262a61};_0x462533[_0x3a0a1a(0x2d9)]=this['_themeService'][_0x3a0a1a(0x270)](_0x262a61[_0x3a0a1a(0x2d9)]),_0x1fd514[_0x3a0a1a(0x290)](_0x1d262e,_0x462533);}}),{'skeleton':_0x30f375,'cursors':_0x1fd514};}));}return _0x160e63['of']({'skeleton':null,'cursors':new Map()});}))[_0xca8712(0x328)](({skeleton:_0x2fd620,cursors:_0x38a9c3})=>{const _0x1a1533=_0xca8712;this[_0x1a1533(0x30a)](),_0x2fd620&&this[_0x1a1533(0x296)](_0x2fd620,_0x38a9c3);}),this[_0xca8712(0x3fc)][_0xca8712(0x2a5)][_0xca8712(0x328)](_0x2d40d8=>{const _0x4cfabf=_0xca8712;if(_0x2d40d8==null)return;const {skeleton:_0x4b0d3c}=_0x2d40d8,{scene:_0x4872c6}=this[_0x4cfabf(0x1ba)];_0x4872c6[_0x4cfabf(0x3bb)][_0x4cfabf(0x221)](_0x52c702[_0x4cfabf(0x195)](_0x725dc2=>{const _0xe93b74=_0x4cfabf;var _0x4e9c22,_0x8d60bd;const {offsetX:_0x4148ca,offsetY:_0x208700}=_0x725dc2,{x:_0x4079bc,y:_0x5e3a7f}=_0x4872c6[_0xe93b74(0x1f3)](_0x711590['Vector2'][_0xe93b74(0x24f)]([_0x4148ca,_0x208700])),{scaleX:_0x4bb31b,scaleY:_0x9d5299}=_0x4872c6[_0xe93b74(0x3f5)](),_0x42c460=_0x4872c6['getViewport'](_0x711590[_0xe93b74(0x3f1)][_0xe93b74(0x226)]),_0x5e698d=_0x4872c6[_0xe93b74(0x367)](_0x711590[_0xe93b74(0x1a8)][_0xe93b74(0x24f)]([_0x4079bc,_0x5e3a7f]),_0x42c460),_0x3689cf=_0x4b0d3c[_0xe93b74(0x18e)](_0x4148ca,_0x208700,_0x4bb31b,_0x9d5299,_0x5e698d);((_0x4e9c22=this[_0xe93b74(0x325)])==null?void 0x0:_0x4e9c22['column'])===_0x3689cf['column']&&((_0x8d60bd=this[_0xe93b74(0x325)])==null?void 0x0:_0x8d60bd['row'])===_0x3689cf['row']||this[_0xe93b74(0x2c9)][_0xe93b74(0x19f)](_0x2f303a=>{const _0x409cdb=_0xe93b74;_0x2f303a[_0x409cdb(0x282)](_0x3689cf);});},0x64));});}[_0x36331a(0x296)](_0x14900a,_0xeefd30){const _0x301581=_0x36331a;var _0x227232;const _0x12c6ce=(_0x227232=this[_0x301581(0x3fc)][_0x301581(0x284)]())==null?void 0x0:_0x227232[_0x301581(0x251)];if(!_0x12c6ce)return;const _0x39260e=this['_getSheetObject']();if(!_0x39260e)return;this[_0x301581(0x2c9)][_0x301581(0x19f)](_0x352282=>{const _0x85787f=_0x301581;_0x352282[_0x85787f(0x35e)]();});const {scene:_0x5a1e6f}=_0x39260e,_0x5c0e59=_0x4164d0(Array['from'](_0xeefd30[_0x301581(0x364)]()))[_0x301581(0x214)](_0x4799a3=>{const _0x37f86c=_0x301581,{color:_0x44c877,range:_0x32c831,name:_0xd20a51,selection:_0xddef22,sheetID:_0x2a84ec}=_0x4799a3,{startColumn:_0x4e14ef,startRow:_0x890912,endColumn:_0x4c0a99,endRow:_0x107d6b}=_0x32c831,_0x21e60d=_0x32553f['getCoordByCell'](_0x890912,_0x4e14ef,_0x5a1e6f,_0x12c6ce),_0x1280e9=_0x32553f['getCoordByCell'](_0x107d6b,_0x4c0a99,_0x5a1e6f,_0x12c6ce),{columnHeaderHeightAndMarginTop:_0x3b7e1b}=_0x12c6ce,{startX:_0x369991,startY:_0x221502}=_0x21e60d,{endX:_0x266bf9,endY:_0x59eaeb}=_0x1280e9,_0x34bdb5=_0x266bf9-_0x369991,_0x3d95d0=_0x59eaeb-_0x221502,_0x715ad8={'labelPosition':_0x221502-_0x3b7e1b>=_0x447e2c?_0x37f86c(0x223):_0x37f86c(0x3cb),'sheetID':_0x2a84ec,'range':_0x32c831,'color':_0x44c877,'name':_0xd20a51,'selection':_0xddef22,'left':_0x369991,'top':_0x221502,'width':_0x34bdb5,'height':_0x3d95d0,'evented':!0x1,'zIndex':_0x276670};return new _0x4f5011(_0xd20a51,_0x715ad8);});_0x5a1e6f[_0x301581(0x419)](_0x5c0e59,_0x1f29eb),this[_0x301581(0x2c9)]=new Set(_0x5c0e59);}[_0x36331a(0x30a)](){const _0x488980=_0x36331a;var _0x4d5b00;(_0x4d5b00=this['_cursors'])==null||_0x4d5b00[_0x488980(0x19f)](_0x406afd=>_0x406afd[_0x488980(0x2f7)]());}[_0x36331a(0x247)](){const _0x8dd974=_0x36331a;return _0x32553f[_0x8dd974(0x268)](this[_0x8dd974(0x1ba)][_0x8dd974(0x372)],this[_0x8dd974(0x1ba)]);}};_0xa1828c=_0x4c477c([_0x5b19dc(0x1,_0x52c702['Inject'](_0x32553f['SheetSkeletonManagerService'])),_0x5b19dc(0x2,_0x52c702['Inject'](_0x518f67)),_0x5b19dc(0x3,_0x52c702[_0x36331a(0x24d)](_0x52c702['ThemeService']))],_0xa1828c);function _0x4164d0(_0x415017){const _0x351598=_0x36331a,_0x2f182f=new Map();return _0x415017['forEach'](_0x5f3f34=>{const _0x22ce84=_0x5710;if(_0x2f182f[_0x22ce84(0x415)](_0x5f3f34[_0x22ce84(0x1ee)])){const _0x264b49=_0x2f182f[_0x22ce84(0x389)](_0x5f3f34[_0x22ce84(0x1ee)]);_0x264b49[_0x22ce84(0x239)]+=',\x20'+_0x5f3f34[_0x22ce84(0x239)];}else _0x2f182f[_0x22ce84(0x290)](_0x5f3f34[_0x22ce84(0x1ee)],_0x5f3f34);}),Array[_0x351598(0x2d1)](_0x2f182f[_0x351598(0x364)]());}var _0x2c8b55=function(){return _0x2c8b55=Object['assign']||function(_0x5aaad2){const _0x4c3941=_0x5710;for(var _0x46747,_0x3519f5=0x1,_0x4d5bc9=arguments['length'];_0x3519f5<_0x4d5bc9;_0x3519f5++){_0x46747=arguments[_0x3519f5];for(var _0x43dad8 in _0x46747)Object['prototype']['hasOwnProperty'][_0x4c3941(0x27f)](_0x46747,_0x43dad8)&&(_0x5aaad2[_0x43dad8]=_0x46747[_0x43dad8]);}return _0x5aaad2;},_0x2c8b55['apply'](this,arguments);},_0x201143=function(_0x2b0bb8,_0x3ed04e){const _0x48522e=_0x36331a;var _0x45e310={};for(var _0x3a44e0 in _0x2b0bb8)Object['prototype'][_0x48522e(0x28c)]['call'](_0x2b0bb8,_0x3a44e0)&&_0x3ed04e[_0x48522e(0x1d7)](_0x3a44e0)<0x0&&(_0x45e310[_0x3a44e0]=_0x2b0bb8[_0x3a44e0]);if(_0x2b0bb8!=null&&typeof Object[_0x48522e(0x2f0)]=='function'){for(var _0x49e3d9=0x0,_0x3a44e0=Object[_0x48522e(0x2f0)](_0x2b0bb8);_0x49e3d9<_0x3a44e0[_0x48522e(0x349)];_0x49e3d9++)_0x3ed04e[_0x48522e(0x1d7)](_0x3a44e0[_0x49e3d9])<0x0&&Object[_0x48522e(0x39c)][_0x48522e(0x346)][_0x48522e(0x27f)](_0x2b0bb8,_0x3a44e0[_0x49e3d9])&&(_0x45e310[_0x3a44e0[_0x49e3d9]]=_0x2b0bb8[_0x3a44e0[_0x49e3d9]]);}return _0x45e310;},_0x1ba119=_0x9dce46[_0x36331a(0x2b9)](function(_0x3a326a,_0x32ee2a){const _0x1e4888=_0x36331a;var _0x4f43ce=_0x3a326a[_0x1e4888(0x357)],_0x19df1a=_0x3a326a['id'],_0x434c33=_0x3a326a[_0x1e4888(0x3c7)],_0x1c134a=_0x3a326a[_0x1e4888(0x333)],_0x15db46=_0x201143(_0x3a326a,[_0x1e4888(0x357),'id',_0x1e4888(0x3c7),'extend']),_0x343bc1=_0x1e4888(0x334)[_0x1e4888(0x2fe)](_0x19df1a,'\x20')['concat'](_0x434c33||'')['trim'](),_0x229540=_0x9dce46['useRef']('_'['concat'](_0x4ff7ec()));return _0x5a3799(_0x4f43ce,''[_0x1e4888(0x2fe)](_0x19df1a),{'defIds':_0x4f43ce['defIds'],'idSuffix':_0x229540[_0x1e4888(0x206)]},_0x2c8b55({'ref':_0x32ee2a,'className':_0x343bc1},_0x15db46),_0x1c134a);});function _0x5a3799(_0x49106a,_0xfbcaea,_0x2c9188,_0x587408,_0x79c2ee){const _0x57ca22=_0x36331a;return _0x9dce46[_0x57ca22(0x40b)](_0x49106a[_0x57ca22(0x319)],_0x2c8b55(_0x2c8b55({'key':_0xfbcaea},_0x5c6b78(_0x49106a,_0x2c9188,_0x79c2ee)),_0x587408),(_0x4da3fe(_0x49106a,_0x2c9188)['children']||[])['map'](function(_0x43c3f2,_0x131e93){const _0x578d5e=_0x57ca22;return _0x5a3799(_0x43c3f2,''[_0x578d5e(0x2fe)](_0xfbcaea,'-')['concat'](_0x49106a['tag'],'-')[_0x578d5e(0x2fe)](_0x131e93),_0x2c9188,void 0x0,_0x79c2ee);}));}function _0x5c6b78(_0x5dba6f,_0xe0cf94,_0xf32580){const _0x460d47=_0x36331a;var _0x17525d=_0x2c8b55({},_0x5dba6f[_0x460d47(0x31e)]);_0xf32580!=null&&_0xf32580['colorChannel1']&&_0x17525d['fill']===_0x460d47(0x27e)&&(_0x17525d[_0x460d47(0x1d6)]=_0xf32580['colorChannel1']),_0x5dba6f[_0x460d47(0x319)]===_0x460d47(0x243)&&_0x17525d['id']&&(_0x17525d['id']=_0x17525d['id']+_0xe0cf94[_0x460d47(0x2bd)]),Object[_0x460d47(0x26f)](_0x17525d)['forEach'](function(_0x145e98){const _0x4cd2d9=_0x460d47;var _0x175121=_0x145e98[0x0],_0x3e5d19=_0x145e98[0x1];_0x175121===_0x4cd2d9(0x243)&&typeof _0x3e5d19=='string'&&(_0x17525d[_0x175121]=_0x3e5d19[_0x4cd2d9(0x234)](/url\(#(.*)\)/,'url(#$1'['concat'](_0xe0cf94['idSuffix'],')')));});var _0x7191c7=_0xe0cf94[_0x460d47(0x294)];return!_0x7191c7||_0x7191c7[_0x460d47(0x349)]===0x0||(_0x5dba6f[_0x460d47(0x319)]==='use'&&_0x17525d['xlink:href']&&(_0x17525d['xlink:href']=_0x17525d['xlink:href']+_0xe0cf94[_0x460d47(0x2bd)]),Object[_0x460d47(0x26f)](_0x17525d)[_0x460d47(0x19f)](function(_0x1240b2){const _0x42cdca=_0x460d47;var _0x4fec71=_0x1240b2[0x0],_0x3722ca=_0x1240b2[0x1];typeof _0x3722ca=='string'&&(_0x17525d[_0x4fec71]=_0x3722ca[_0x42cdca(0x234)](/url\(#(.*)\)/,_0x42cdca(0x25d)['concat'](_0xe0cf94[_0x42cdca(0x2bd)],')')));})),_0x17525d;}function _0x4da3fe(_0xbbd9bb,_0x128394){const _0x34a683=_0x36331a;var _0x3740cb,_0x3dec8d=_0x128394[_0x34a683(0x294)];return!_0x3dec8d||_0x3dec8d[_0x34a683(0x349)]===0x0?_0xbbd9bb:_0xbbd9bb[_0x34a683(0x319)]===_0x34a683(0x2a6)&&(!((_0x3740cb=_0xbbd9bb[_0x34a683(0x1fd)])===null||_0x3740cb===void 0x0)&&_0x3740cb['length'])?_0x2c8b55(_0x2c8b55({},_0xbbd9bb),{'children':_0xbbd9bb[_0x34a683(0x1fd)][_0x34a683(0x214)](function(_0x516fad){const _0x3a4db0=_0x34a683;return typeof _0x516fad['attrs']['id']==_0x3a4db0(0x2d3)&&_0x3dec8d&&_0x3dec8d[_0x3a4db0(0x1d2)](_0x516fad[_0x3a4db0(0x31e)]['id'])?_0x2c8b55(_0x2c8b55({},_0x516fad),{'attrs':_0x2c8b55(_0x2c8b55({},_0x516fad[_0x3a4db0(0x31e)]),{'id':_0x516fad[_0x3a4db0(0x31e)]['id']+_0x128394[_0x3a4db0(0x2bd)]})}):_0x516fad;})}):_0xbbd9bb;}function _0x4ff7ec(){const _0x483b37=_0x36331a;return Math[_0x483b37(0x24b)]()['toString'](0x24)[_0x483b37(0x230)](0x2,0x8);}_0x1ba119['displayName']=_0x36331a(0x3d3);var _0x52258e={'tag':_0x36331a(0x1ad),'attrs':{'xmlns':_0x36331a(0x352),'fill':_0x36331a(0x1a5),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x36331a(0x2aa)},'children':[{'tag':'g','attrs':{'clipPath':_0x36331a(0x2e3)},'children':[{'tag':_0x36331a(0x25e),'attrs':{'stroke':_0x36331a(0x236),'d':_0x36331a(0x3c9),'strokeLinecap':_0x36331a(0x307),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x36331a(0x2a6),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x36331a(0x1c9)},'children':[{'tag':_0x36331a(0x25e),'attrs':{'fill':_0x36331a(0x38d),'d':_0x36331a(0x427)}}]}]}],'defIds':[_0x36331a(0x1c9)]},_0x4f091d=_0x9dce46[_0x36331a(0x2b9)](function(_0x30fa7,_0x17a229){const _0x1c6fed=_0x36331a;return _0x9dce46[_0x1c6fed(0x40b)](_0x1ba119,Object[_0x1c6fed(0x31a)]({},_0x30fa7,{'id':'off-line-icon','ref':_0x17a229,'icon':_0x52258e}));});_0x4f091d[_0x36331a(0x1de)]=_0x36331a(0x3d5);var _0xf4b1ba={'tag':_0x36331a(0x1ad),'attrs':{'xmlns':_0x36331a(0x352),'fill':_0x36331a(0x1a5),'viewBox':_0x36331a(0x3a3),'width':_0x36331a(0x2aa),'height':_0x36331a(0x2aa)},'children':[{'tag':'g','attrs':{'clipPath':_0x36331a(0x39f)},'children':[{'tag':'path','attrs':{'stroke':_0x36331a(0x236),'d':_0x36331a(0x20d),'strokeLinecap':_0x36331a(0x307),'strokeLinejoin':_0x36331a(0x307),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x36331a(0x300)},'children':[{'tag':_0x36331a(0x25e),'attrs':{'fill':_0x36331a(0x38d),'d':_0x36331a(0x427),'transform':_0x36331a(0x308)}}]}]}],'defIds':[_0x36331a(0x300)]},_0x3b9692=_0x9dce46[_0x36331a(0x2b9)](function(_0x1343e0,_0x4c1f4e){const _0x2e1182=_0x36331a;return _0x9dce46['createElement'](_0x1ba119,Object[_0x2e1182(0x31a)]({},_0x1343e0,{'id':'on-line-icon','ref':_0x4c1f4e,'icon':_0xf4b1ba}));});_0x3b9692['displayName']=_0x36331a(0x3f0);function _0x4aa137(_0x30e8c1){const _0x5659f7=_0x36331a;switch(_0x30e8c1){case _0x2390c9[_0x5659f7(0x34a)][_0x5659f7(0x2a8)]:return _0x5659f7(0x2ad);case _0x2390c9[_0x5659f7(0x34a)][_0x5659f7(0x2a1)]:return'collabStatus.conflict';case _0x2390c9['CollaborationStatus'][_0x5659f7(0x228)]:return _0x5659f7(0x250);case _0x2390c9[_0x5659f7(0x34a)][_0x5659f7(0x3ec)]:return _0x5659f7(0x30f);case _0x2390c9['CollaborationStatus'][_0x5659f7(0x302)]:case _0x2390c9['CollaborationStatus'][_0x5659f7(0x359)]:return'collabStatus.syncing';case _0x2390c9[_0x5659f7(0x34a)][_0x5659f7(0x2fb)]:case _0x2390c9['CollaborationStatus'][_0x5659f7(0x3de)]:return _0x5659f7(0x366);}}function _0x393365(_0x42efd7){const _0x53c992=_0x36331a,{status$:_0x229f66}=_0x42efd7,_0x2315c8=_0x28ba4b['useObservable'](_0x229f66,_0x2390c9['CollaborationStatus'][_0x53c992(0x3ec)]),_0x198c27=_0x28ba4b[_0x53c992(0x312)](_0x52c702[_0x53c992(0x2bc)]),_0x51a384=_0x28ba4b['useDependency'](_0x2390c9[_0x53c992(0x256)]),_0x55f4f6=_0x2315c8!==_0x2390c9[_0x53c992(0x34a)]['OFFLINE'],_0x50d704=_0x198c27['t'](_0x4aa137(_0x2315c8)),_0x3dbb8d=_0x55f4f6?_0x5c8876[_0x53c992(0x3eb)](_0x3b9692,{}):_0x5c8876[_0x53c992(0x3eb)](_0x4f091d,{}),_0x22f356=_0x9dce46['useCallback'](()=>{const _0x3f6237=_0x53c992;_0x55f4f6||_0x51a384[_0x3f6237(0x1cd)]();},[_0x55f4f6,_0x51a384]);function _0x5b0c05(){const _0x6ad77e=_0x53c992;return _0x5c8876[_0x6ad77e(0x197)](_0x6ad77e(0x421),{'className':_0x6ad77e(0x422),'onClick':_0x22f356,'children':[_0x5c8876[_0x6ad77e(0x3eb)]('div',{'className':_0x1de269[_0x6ad77e(0x1b5)](_0x6ad77e(0x19d),{'univer-text-green-500':_0x55f4f6,'univer-text-red-500':!_0x55f4f6}),'children':_0x3dbb8d}),_0x5c8876['jsx']('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x50d704})]});}return _0x55f4f6?_0x5b0c05():_0x5c8876[_0x53c992(0x3eb)](_0x1de269['Tooltip'],{'title':_0x198c27['t'](_0x53c992(0x248)),'children':_0x5b0c05()});}var _0x2ee936=Object[_0x36331a(0x2b6)],_0x16996a=(_0x28fafc,_0x4e99e2,_0x541838,_0x2e3771)=>{const _0x1580c1=_0x36331a;for(var _0x5daacf=_0x2e3771>0x1?void 0x0:_0x2e3771?_0x2ee936(_0x4e99e2,_0x541838):_0x4e99e2,_0x30a940=_0x28fafc[_0x1580c1(0x349)]-0x1,_0x4533cb;_0x30a940>=0x0;_0x30a940--)(_0x4533cb=_0x28fafc[_0x30a940])&&(_0x5daacf=_0x4533cb(_0x5daacf)||_0x5daacf);return _0x5daacf;},_0x1fc025=(_0x293935,_0x52f4d8)=>(_0x2d2feb,_0xb7e011)=>_0x52f4d8(_0x2d2feb,_0xb7e011,_0x293935);_0x2371ad['DesktopCollaborationStatusDisplayController']=class extends _0x52c702['Disposable']{constructor(_0x1e8642,_0x7cb77b,_0x22c81f,_0x193aca){const _0x1b51ab=_0x36331a;super(),_0x5cb653(this,_0x1b51ab(0x3e1),new _0x160e63[(_0x1b51ab(0x37a))](_0x2390c9[_0x1b51ab(0x34a)][_0x1b51ab(0x3ec)])),(this['_univerInstanceService']=_0x1e8642,this[_0x1b51ab(0x39b)]=_0x7cb77b,this[_0x1b51ab(0x204)]=_0x22c81f,this[_0x1b51ab(0x34c)]=_0x193aca,this[_0x1b51ab(0x18f)](),this[_0x1b51ab(0x3b3)]());}[_0x36331a(0x3b3)](){const _0x1beab4=_0x36331a;this[_0x1beab4(0x2e6)](this['_univerInstanceService'][_0x1beab4(0x2a3)][_0x1beab4(0x2d4)](_0x160e63[_0x1beab4(0x244)](()=>{const _0xa30ae2=_0x1beab4,_0x22dc74=this[_0xa30ae2(0x3f8)][_0xa30ae2(0x405)]();return _0x22dc74?this[_0xa30ae2(0x204)][_0xa30ae2(0x3d2)](_0x22dc74[_0xa30ae2(0x240)]()):_0x160e63['of'](null);}),_0x160e63[_0x1beab4(0x244)](_0x4d1710=>_0x4d1710?_0x4d1710[_0x1beab4(0x3c8)]:_0x160e63['of'](_0x2390c9[_0x1beab4(0x34a)]['NOT_COLLAB'])))['subscribe'](_0x23f464=>{const _0x792142=_0x1beab4;this[_0x792142(0x3e1)]['next'](_0x23f464);}));}[_0x36331a(0x18f)](){const _0x2dc0cf=_0x36331a;this[_0x2dc0cf(0x2e6)](this['_uiPartsService'][_0x2dc0cf(0x1a4)](_0x28ba4b['BuiltInUIPart']['HEADER_MENU'],()=>_0x28ba4b[_0x2dc0cf(0x245)](_0x44d28d({'status$':this[_0x2dc0cf(0x3e1)]['asObservable']()}),this[_0x2dc0cf(0x39b)])));}},_0x2371ad[_0x36331a(0x3f2)]=_0x16996a([_0x1fc025(0x0,_0x52c702[_0x36331a(0x38f)]),_0x1fc025(0x1,_0x52c702[_0x36331a(0x24d)](_0x52c702[_0x36331a(0x289)])),_0x1fc025(0x2,_0x52c702[_0x36331a(0x24d)](_0x2390c9[_0x36331a(0x3bd)])),_0x1fc025(0x3,_0x28ba4b['IUIPartsService'])],_0x2371ad[_0x36331a(0x3f2)]);function _0x44d28d(_0x2dc83a){const {status$:_0x21a26c}=_0x2dc83a;return function(){const _0x55ece1=_0x5710;return _0x5c8876[_0x55ece1(0x3eb)](_0x393365,{'status$':_0x21a26c});};}var _0x368952=Object[_0x36331a(0x2b6)],_0x138a6e=(_0x4f83ca,_0x3185d5,_0x2e2d8c,_0x55ccf1)=>{const _0x13195d=_0x36331a;for(var _0x3e8336=_0x55ccf1>0x1?void 0x0:_0x55ccf1?_0x368952(_0x3185d5,_0x2e2d8c):_0x3185d5,_0x3bb6a1=_0x4f83ca[_0x13195d(0x349)]-0x1,_0x2d882f;_0x3bb6a1>=0x0;_0x3bb6a1--)(_0x2d882f=_0x4f83ca[_0x3bb6a1])&&(_0x3e8336=_0x2d882f(_0x3e8336)||_0x3e8336);return _0x3e8336;},_0x20f983=(_0x1ed459,_0x55d751)=>(_0x22c2bb,_0x3b7236)=>_0x55d751(_0x22c2bb,_0x3b7236,_0x1ed459);let _0x15688f=class extends _0x52c702[_0x36331a(0x3ff)]{constructor(_0x8b63a,_0x3cc042,_0x41c72f,_0x36cc6a,_0x570bee,_0x270d81){const _0x5d1f13=_0x36331a;super(),this[_0x5d1f13(0x21c)]=_0x8b63a,this[_0x5d1f13(0x2b0)]=_0x3cc042,this[_0x5d1f13(0x1ca)]=_0x41c72f,this[_0x5d1f13(0x1bc)]=_0x36cc6a,this[_0x5d1f13(0x2ef)]=_0x570bee,this[_0x5d1f13(0x3d7)]=_0x270d81,this[_0x5d1f13(0x3e4)](),this[_0x5d1f13(0x26c)]();}[_0x36331a(0x3e4)](){const _0x83137e=_0x36331a;this[_0x83137e(0x2e6)](this['_beforeCloseService'][_0x83137e(0x216)](()=>{const _0x449ff3=_0x83137e;if(this[_0x449ff3(0x2b0)][_0x449ff3(0x199)][_0x449ff3(0x418)])return this[_0x449ff3(0x3d7)]['t'](_0x449ff3(0x280));}));}[_0x36331a(0x26c)](){const _0x24e0ab=_0x36331a;this[_0x24e0ab(0x2e6)](this[_0x24e0ab(0x1ca)][_0x24e0ab(0x298)]['subscribe'](_0x16de41=>{const _0x4b88dd=_0x24e0ab;_0x16de41['id']===_0x2390c9[_0x4b88dd(0x368)][_0x4b88dd(0x39e)]&&this[_0x4b88dd(0x1bc)]['show']({'type':_0x1de269[_0x4b88dd(0x1e0)][_0x4b88dd(0x2d6)],'content':this[_0x4b88dd(0x3d7)]['t'](_0x4b88dd(0x396))}),_0x16de41['id']===_0x2390c9['CollaborationUIEventId'][_0x4b88dd(0x1c7)]&&this[_0x4b88dd(0x1bc)][_0x4b88dd(0x26e)]({'type':_0x1de269[_0x4b88dd(0x1e0)]['Warning'],'content':this[_0x4b88dd(0x3d7)]['t']('collaboration.closeRoom')}),_0x16de41['id']===_0x2390c9[_0x4b88dd(0x368)][_0x4b88dd(0x1ab)]&&this[_0x4b88dd(0x2ef)][_0x4b88dd(0x26e)]({'title':this[_0x4b88dd(0x3d7)]['t']('permission.title'),'content':this['_localeService']['t'](_0x4b88dd(0x229)),'type':_0x4b88dd(0x2f6),'duration':0x0}),_0x16de41['id']===_0x2390c9[_0x4b88dd(0x368)]['CONFLICT']&&this[_0x4b88dd(0x1bc)]['show']({'type':_0x1de269[_0x4b88dd(0x1e0)]['Error'],'content':this['_localeService']['t'](_0x4b88dd(0x1f7))+'('+_0x16de41[_0x4b88dd(0x2ff)]+')'}),_0x16de41['id']===_0x2390c9[_0x4b88dd(0x368)][_0x4b88dd(0x205)]&&this[_0x4b88dd(0x1bc)][_0x4b88dd(0x26e)]({'type':_0x1de269['MessageType']['Warning'],'content':this['_localeService']['t'](_0x16de41['data']||'')}),_0x16de41['id']===_0x2390c9[_0x4b88dd(0x368)][_0x4b88dd(0x41d)]&&this[_0x4b88dd(0x1bc)]['show']({'type':_0x1de269[_0x4b88dd(0x1e0)][_0x4b88dd(0x2d6)],'content':this[_0x4b88dd(0x3d7)]['t'](_0x4b88dd(0x1e2))}),_0x16de41['id']===_0x2390c9[_0x4b88dd(0x368)][_0x4b88dd(0x1df)]&&this[_0x4b88dd(0x1bc)][_0x4b88dd(0x26e)]({'type':_0x1de269['MessageType'][_0x4b88dd(0x29e)],'content':this[_0x4b88dd(0x3d7)]['t'](_0x4b88dd(0x362))}),_0x16de41['id']===_0x2390c9[_0x4b88dd(0x368)][_0x4b88dd(0x3fb)]&&this['_messageService'][_0x4b88dd(0x26e)]({'type':_0x1de269[_0x4b88dd(0x1e0)][_0x4b88dd(0x29e)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x15688f=_0x138a6e([_0x20f983(0x0,_0x28ba4b[_0x36331a(0x3e2)]),_0x20f983(0x1,_0x2390c9[_0x36331a(0x413)]),_0x20f983(0x2,_0x52c702[_0x36331a(0x24d)](_0x2390c9[_0x36331a(0x3e5)])),_0x20f983(0x3,_0x28ba4b[_0x36331a(0x27c)]),_0x20f983(0x4,_0x28ba4b['INotificationService']),_0x20f983(0x5,_0x52c702['Inject'](_0x52c702['LocaleService']))],_0x15688f);const _0x4e3052=_0x36331a(0x295),_0x3dbd8b={},_0x43ac3b=_0x52c702[_0x36331a(0x2dc)](_0x36331a(0x33d));var _0x183699=Object[_0x36331a(0x2b6)],_0x1da592=(_0x4e3beb,_0x1655a1,_0x1d430e,_0x41a3e9)=>{const _0x5cacd4=_0x36331a;for(var _0x5ef35b=_0x41a3e9>0x1?void 0x0:_0x41a3e9?_0x183699(_0x1655a1,_0x1d430e):_0x1655a1,_0x786d0e=_0x4e3beb[_0x5cacd4(0x349)]-0x1,_0x4a3083;_0x786d0e>=0x0;_0x786d0e--)(_0x4a3083=_0x4e3beb[_0x786d0e])&&(_0x5ef35b=_0x4a3083(_0x5ef35b)||_0x5ef35b);return _0x5ef35b;},_0x5dce94=(_0x133dcf,_0x34845e)=>(_0x23a2d6,_0x5571b4)=>_0x34845e(_0x23a2d6,_0x5571b4,_0x133dcf);_0x2371ad[_0x36331a(0x2a7)]=class extends _0x52c702[_0x36331a(0x403)]{constructor(_0x4c272c,_0x16cc85,_0x1e0d86,_0x4d1221,_0x4e1813){const _0xede170=_0x36331a;super(),this['_urlService']=_0x4c272c,this[_0xede170(0x1da)]=_0x16cc85,this[_0xede170(0x1b3)]=_0x1e0d86,this[_0xede170(0x31b)]=_0x4d1221,_0x4e1813?_0x4e1813==null||_0x4e1813[_0xede170(0x1d0)]()[_0xede170(0x31d)](()=>this[_0xede170(0x347)]()):(this[_0xede170(0x1da)]['debug']('[CollaborationDataLoaderController]',_0xede170(0x3e0)),this['_init']());}async[_0x36331a(0x347)](){const _0x4bd820=_0x36331a,_0x452367=this[_0x4bd820(0x212)][_0x4bd820(0x36b)](_0x4bd820(0x372)),_0x1656db=this[_0x4bd820(0x212)][_0x4bd820(0x36b)]('type'),_0x556665=this[_0x4bd820(0x212)][_0x4bd820(0x36b)](_0x4bd820(0x409));if(!_0x452367||!_0x1656db){this['_logService'][_0x4bd820(0x21a)](_0x4bd820(0x21b),_0x4bd820(0x354));return;}const _0xc7c5b5=await this[_0x4bd820(0x31b)][_0x4bd820(0x394)](_0x452367,Number(_0x1656db),_0x556665);_0xc7c5b5&&_0xc7c5b5 instanceof _0x52c702[_0x4bd820(0x3ae)]&&this[_0x4bd820(0x408)](_0xc7c5b5);}async[_0x36331a(0x408)](_0x7c4bd6){const _0x292a7a=_0x36331a;await this[_0x292a7a(0x1ed)](_0x7c4bd6),_0x7c4bd6[_0x292a7a(0x40c)]['pipe'](_0x160e63[_0x292a7a(0x2c5)](this[_0x292a7a(0x2c3)]))[_0x292a7a(0x328)](_0x41ca4c=>{const _0x42daf6=_0x292a7a;_0x41ca4c&&this[_0x42daf6(0x29c)](_0x41ca4c);}),this[_0x292a7a(0x212)][_0x292a7a(0x315)]['pipe'](_0x160e63[_0x292a7a(0x2c5)](this[_0x292a7a(0x2c3)]))[_0x292a7a(0x328)](()=>this[_0x292a7a(0x1ed)](_0x7c4bd6));}[_0x36331a(0x29c)](_0x4a4ee0,_0x14a949=!0x1){const _0x41585f=_0x36331a,_0x2546d2=this[_0x41585f(0x212)][_0x41585f(0x36b)](_0x41585f(0x409));_0x4a4ee0[_0x41585f(0x23c)]()!==_0x2546d2&&this[_0x41585f(0x212)]['setParam'](_0x41585f(0x409),_0x4a4ee0['getSheetId'](),_0x14a949);}async[_0x36331a(0x1ed)](_0x3b3eb9){const _0x4c22a1=_0x36331a;var _0x187b44;const _0x522335=this['_urlService'][_0x4c22a1(0x36b)]('subunit');if(!_0x522335||!_0x3b3eb9[_0x4c22a1(0x3b8)](_0x522335)){const _0x1f0139=_0x3b3eb9[_0x4c22a1(0x2db)]()[0x0],_0x4192ae=_0x3b3eb9[_0x4c22a1(0x3b8)](_0x1f0139);if(!_0x4192ae)return;this[_0x4c22a1(0x29c)](_0x4192ae,!0x0),await this[_0x4c22a1(0x1b3)]['executeCommand'](_0x3e234a[_0x4c22a1(0x28d)]['id'],{'unitId':_0x3b3eb9['getUnitId'](),'subUnitId':_0x1f0139});return;}((_0x187b44=_0x3b3eb9[_0x4c22a1(0x3a8)]())==null?void 0x0:_0x187b44[_0x4c22a1(0x23c)]())!==_0x522335&&await this[_0x4c22a1(0x1b3)][_0x4c22a1(0x20c)](_0x3e234a['SetWorksheetActivateCommand']['id'],{'unitId':_0x3b3eb9[_0x4c22a1(0x240)](),'subUnitId':_0x522335});}},_0x2371ad['CollaborationDataLoaderController']=_0x1da592([_0x5dce94(0x0,_0x43ac3b),_0x5dce94(0x1,_0x52c702['ILogService']),_0x5dce94(0x2,_0x52c702[_0x36331a(0x1f8)]),_0x5dce94(0x3,_0x52c702[_0x36331a(0x24d)](_0x2390c9[_0x36331a(0x1e8)])),_0x5dce94(0x4,_0x52c702[_0x36331a(0x1a9)](_0x23c22c['IRemoteInstanceService']))],_0x2371ad['CollaborationDataLoaderController']);var _0x3b78f4=Object[_0x36331a(0x2b6)],_0x5c56a0=(_0x598542,_0x2277df,_0x144033,_0x5d8121)=>{const _0x116342=_0x36331a;for(var _0xba30c=_0x5d8121>0x1?void 0x0:_0x5d8121?_0x3b78f4(_0x2277df,_0x144033):_0x2277df,_0x5e1646=_0x598542[_0x116342(0x349)]-0x1,_0x3d6ddd;_0x5e1646>=0x0;_0x5e1646--)(_0x3d6ddd=_0x598542[_0x5e1646])&&(_0xba30c=_0x3d6ddd(_0xba30c)||_0xba30c);return _0xba30c;},_0x3a1f2c=(_0x54c0b0,_0xf1eda5)=>(_0x4e9d7a,_0x91441f)=>_0xf1eda5(_0x4e9d7a,_0x91441f,_0x54c0b0);let _0x4e8924=class{constructor(_0x191594,_0x294acd,_0x39fcc2){const _0x3b2486=_0x36331a;this['_injector']=_0x191594,this[_0x3b2486(0x196)]=_0x294acd,this['_renderManagerService']=_0x39fcc2;}['transformIMECache'](_0x5611ce){const _0x5a7e91=_0x36331a;this[_0x5a7e91(0x343)](_0x5611ce),this[_0x5a7e91(0x2c8)](_0x5611ce);}['transformRemoteChangeset'](_0x567fd8){const _0xaaddf0=_0x36331a,{unitID:_0x430f54}=_0x567fd8,_0x294578=this['_renderManagerService']['getRenderById'](_0x430f54)[_0xaaddf0(0x20e)](_0x458abf[_0xaaddf0(0x190)]),{redoCache:_0x224e13}=_0x294578['getUndoRedoMutationParamsCache']();if(_0x224e13['length']===0x0)return _0x567fd8;let _0x25f6a4=_0x52c702['Tools']['deepClone'](_0x567fd8[_0xaaddf0(0x1e7)][0x0]);for(let _0x2fd644=0x0;_0x2fd644<_0x224e13[_0xaaddf0(0x349)];_0x2fd644++){const _0x243f64={'id':_0xaaddf0(0x1e9),'params':{..._0x224e13[_0x2fd644]}},_0x37d2ae=this['_transformService']['transformMutation'](_0x25f6a4,_0x243f64,!0x1);if(_0x4d50de['isTransformMutationFailure'](_0x37d2ae))throw _0x37d2ae[_0xaaddf0(0x2f6)];_0x25f6a4=_0x37d2ae[_0xaaddf0(0x1be)];}return{..._0x52c702['Tools']['deepClone'](_0x567fd8),'mutations':[_0x25f6a4]};}[_0x36331a(0x343)](_0x414ada){const _0x10230f=_0x36331a,{unitID:_0x110aa8}=_0x414ada,_0x4650dc=this[_0x10230f(0x29b)][_0x10230f(0x320)](_0x110aa8)[_0x10230f(0x20e)](_0x458abf[_0x10230f(0x190)]),{undoCache:_0x21eb69,redoCache:_0x4fbce6}=_0x4650dc[_0x10230f(0x2b8)]();if(_0x21eb69[_0x10230f(0x349)]===0x0||_0x4fbce6[_0x10230f(0x349)]===0x0)return;const _0x4298b2=[],_0x286b17=[];let _0x5c8bf3=_0x52c702[_0x10230f(0x1c4)][_0x10230f(0x1e5)](_0x414ada[_0x10230f(0x1e7)][0x0]),_0x59b92e=_0x52c702['Tools'][_0x10230f(0x1e5)](_0x414ada[_0x10230f(0x1e7)][0x0]);for(let _0x1bdad2=_0x21eb69[_0x10230f(0x349)]-0x1;_0x1bdad2>=0x0;_0x1bdad2--){const _0x37157c={'id':_0x10230f(0x1e9),'params':{..._0x21eb69[_0x1bdad2]}},_0x1f95d6={'id':_0x10230f(0x1e9),'params':{..._0x4fbce6[_0x1bdad2]}},_0x43baed=this[_0x10230f(0x196)][_0x10230f(0x33f)](_0x5c8bf3,_0x37157c,!0x1),_0xf9906=this[_0x10230f(0x196)]['transformMutation'](_0x59b92e,_0x1f95d6,!0x1);if(_0x4d50de['isTransformMutationFailure'](_0x43baed))throw _0x43baed[_0x10230f(0x2f6)];if(_0x4d50de[_0x10230f(0x269)](_0xf9906))throw _0xf9906[_0x10230f(0x2f6)];_0x4298b2[_0x10230f(0x374)](_0x43baed[_0x10230f(0x259)]['params']),_0x286b17[_0x10230f(0x374)](_0xf9906['m2Prime'][_0x10230f(0x3a4)]),_0x5c8bf3=_0x43baed['m1Prime'],_0x59b92e=_0xf9906[_0x10230f(0x1be)];}_0x4650dc['setUndoRedoMutationParamsCache']({'undoCache':_0x4298b2,'redoCache':_0x286b17});}[_0x36331a(0x2c8)](_0x11eaab){const _0x47b3ee=_0x36331a,{unitID:_0x576198}=_0x11eaab,_0x315166=this[_0x47b3ee(0x29b)][_0x47b3ee(0x320)](_0x576198)[_0x47b3ee(0x20e)](_0x458abf[_0x47b3ee(0x190)]),_0x208fbb=_0x315166[_0x47b3ee(0x40a)]();if(_0x208fbb==null)return;const _0x33d8d5=[{'id':_0x47b3ee(0x1e9),'params':{'unitId':_0x11eaab[_0x47b3ee(0x1d8)],'actions':null,'textRanges':[_0x208fbb]}}],_0x2653ba=this[_0x47b3ee(0x196)]['transformMutationsWithChangeset'](_0x11eaab,_0x33d8d5);if(!_0x4d50de[_0x47b3ee(0x336)](_0x2653ba))throw _0x2653ba[_0x47b3ee(0x2f6)];const _0x3b9bfe=_0x2653ba[_0x47b3ee(0x259)][0x0]['params'][_0x47b3ee(0x2a9)];Array['isArray'](_0x3b9bfe)&&_0x3b9bfe[_0x47b3ee(0x349)]&&_0x315166[_0x47b3ee(0x2ee)](_0x3b9bfe[0x0]);}};_0x4e8924=_0x5c56a0([_0x3a1f2c(0x0,_0x52c702['Inject'](_0x52c702[_0x36331a(0x289)])),_0x3a1f2c(0x1,_0x4d50de[_0x36331a(0x32b)]),_0x3a1f2c(0x2,_0x711590[_0x36331a(0x27d)])],_0x4e8924);var _0x3f9a78=Object[_0x36331a(0x2b6)],_0x4a25b7=(_0xac27ef,_0x1eafc4,_0x395a71,_0x584c61)=>{for(var _0x5a8e4e=_0x584c61>0x1?void 0x0:_0x584c61?_0x3f9a78(_0x1eafc4,_0x395a71):_0x1eafc4,_0x59024a=_0xac27ef['length']-0x1,_0x82f1dc;_0x59024a>=0x0;_0x59024a--)(_0x82f1dc=_0xac27ef[_0x59024a])&&(_0x5a8e4e=_0x82f1dc(_0x5a8e4e)||_0x5a8e4e);return _0x5a8e4e;},_0x511708=(_0x4a3d64,_0x5b310d)=>(_0x527609,_0x19872b)=>_0x5b310d(_0x527609,_0x19872b,_0x4a3d64);let _0x1bf8df=class{constructor(_0x10c628,_0x502735,_0x45c1fb){const _0x2032d1=_0x36331a;this[_0x2032d1(0x39b)]=_0x10c628,this[_0x2032d1(0x196)]=_0x502735,this[_0x2032d1(0x19c)]=_0x45c1fb;}[_0x36331a(0x23b)](_0x477a92){this['_transformHistoryAndStateStack'](_0x477a92);}['transformRemoteChangeset'](_0x36a898){const _0x5003e4=_0x36331a,{unitID:_0x51cc46}=_0x36a898,{collaboration:_0x772f96}=this['_docStateChangeManagerService'][_0x5003e4(0x1fa)](_0x51cc46);if(_0x772f96[_0x5003e4(0x349)]===0x0)return _0x36a898;let _0x5c8ee2=_0x52c702['Tools'][_0x5003e4(0x1e5)](_0x36a898[_0x5003e4(0x1e7)][0x0]);for(let _0x12bc36=0x0;_0x12bc36<_0x772f96['length'];_0x12bc36++){const _0x3a6802={'id':_0x5003e4(0x1e9),'params':{'unitId':_0x772f96[_0x12bc36]['unitId'],..._0x772f96[_0x12bc36][_0x5003e4(0x225)]}},_0x4b1a25=this['_transformService'][_0x5003e4(0x33f)](_0x5c8ee2,_0x3a6802,!0x1);if(_0x4d50de[_0x5003e4(0x269)](_0x4b1a25))throw _0x4b1a25[_0x5003e4(0x2f6)];_0x5c8ee2=_0x4b1a25[_0x5003e4(0x1be)];}return{..._0x52c702['Tools'][_0x5003e4(0x1e5)](_0x36a898),'mutations':[_0x5c8ee2]};}['_transformHistoryAndStateStack'](_0x25c723){const _0x367d56=_0x36331a,{unitID:_0x476789}=_0x25c723,{history:_0x1d2761,collaboration:_0x3141de}=this[_0x367d56(0x19c)][_0x367d56(0x1fa)](_0x476789);if(_0x1d2761[_0x367d56(0x349)]===0x0&&_0x3141de[_0x367d56(0x349)]===0x0)return;const _0x540da4=[],_0x1e2eb4=[];let _0x34d43a=_0x52c702[_0x367d56(0x1c4)][_0x367d56(0x1e5)](_0x25c723['mutations'][0x0]),_0xbe8b1e=_0x52c702['Tools'][_0x367d56(0x1e5)](_0x25c723['mutations'][0x0]);for(let _0x4abec8=_0x1d2761[_0x367d56(0x349)]-0x1;_0x4abec8>=0x0;_0x4abec8--){const _0xec6a28={'id':_0x367d56(0x1e9),'params':{'unitId':_0x1d2761[_0x4abec8]['unitId'],..._0x1d2761[_0x4abec8][_0x367d56(0x252)]}},_0x145e7e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d2761[_0x4abec8][_0x367d56(0x2a4)],..._0x1d2761[_0x4abec8]['redoState']}},_0x2f6e71=this[_0x367d56(0x196)][_0x367d56(0x33f)](_0x34d43a,_0xec6a28,!0x1),_0x42c9f5=this['_transformService'][_0x367d56(0x33f)](_0xbe8b1e,_0x145e7e,!0x1);if(_0x4d50de[_0x367d56(0x269)](_0x2f6e71))throw _0x2f6e71[_0x367d56(0x2f6)];if(_0x4d50de[_0x367d56(0x269)](_0x42c9f5))throw _0x42c9f5['error'];_0x540da4['unshift']({..._0x1d2761[_0x4abec8],'undoState':_0x2f6e71[_0x367d56(0x259)][_0x367d56(0x3a4)],'redoState':_0x42c9f5[_0x367d56(0x259)]['params']}),_0x34d43a=_0x2f6e71[_0x367d56(0x1be)],_0xbe8b1e=_0x42c9f5[_0x367d56(0x1be)];}_0x34d43a=_0x52c702[_0x367d56(0x1c4)][_0x367d56(0x1e5)](_0x25c723[_0x367d56(0x1e7)][0x0]),_0xbe8b1e=_0x52c702[_0x367d56(0x1c4)][_0x367d56(0x1e5)](_0x25c723[_0x367d56(0x1e7)][0x0]);for(let _0x3fe389=_0x3141de[_0x367d56(0x349)]-0x1;_0x3fe389>=0x0;_0x3fe389--){const _0x286d04={'id':_0x367d56(0x1e9),'params':{'unitId':_0x3141de[_0x3fe389][_0x367d56(0x2a4)],..._0x3141de[_0x3fe389][_0x367d56(0x252)]}},_0x3037a1={'id':_0x367d56(0x1e9),'params':{'unitId':_0x3141de[_0x3fe389][_0x367d56(0x2a4)],..._0x3141de[_0x3fe389][_0x367d56(0x225)]}},_0xd418d=this[_0x367d56(0x196)][_0x367d56(0x33f)](_0x34d43a,_0x286d04,!0x1),_0x3b8dfd=this['_transformService'][_0x367d56(0x33f)](_0xbe8b1e,_0x3037a1,!0x1);if(_0x4d50de[_0x367d56(0x269)](_0xd418d))throw _0xd418d[_0x367d56(0x2f6)];if(_0x4d50de[_0x367d56(0x269)](_0x3b8dfd))throw _0x3b8dfd[_0x367d56(0x2f6)];_0x1e2eb4[_0x367d56(0x374)]({..._0x3141de[_0x3fe389],'undoState':_0xd418d[_0x367d56(0x259)][_0x367d56(0x3a4)],'redoState':_0x3b8dfd[_0x367d56(0x259)][_0x367d56(0x3a4)]}),_0x34d43a=_0xd418d[_0x367d56(0x1be)],_0xbe8b1e=_0x3b8dfd[_0x367d56(0x1be)];}this[_0x367d56(0x19c)]['setStateCache'](_0x476789,{'history':_0x540da4,'collaboration':_0x1e2eb4});}};_0x1bf8df=_0x4a25b7([_0x511708(0x0,_0x52c702['Inject'](_0x52c702['Injector'])),_0x511708(0x1,_0x4d50de['ITransformService']),_0x511708(0x2,_0x52c702[_0x36331a(0x24d)](_0x458abf[_0x36331a(0x35c)]))],_0x1bf8df);var _0x4187d5=Object[_0x36331a(0x2b6)],_0x3bd5c1=(_0x9d1e14,_0x145d01,_0x1c3a19,_0x529b0b)=>{const _0x309d2d=_0x36331a;for(var _0x2d2fc3=_0x529b0b>0x1?void 0x0:_0x529b0b?_0x4187d5(_0x145d01,_0x1c3a19):_0x145d01,_0x526403=_0x9d1e14[_0x309d2d(0x349)]-0x1,_0x5bba86;_0x526403>=0x0;_0x526403--)(_0x5bba86=_0x9d1e14[_0x526403])&&(_0x2d2fc3=_0x5bba86(_0x2d2fc3)||_0x2d2fc3);return _0x2d2fc3;},_0x1d6a2c=(_0x16776f,_0x3e8f5d)=>(_0x3df77b,_0x3ec774)=>_0x3e8f5d(_0x3df77b,_0x3ec774,_0x16776f);let _0x14927e=class{constructor(_0x1fd7b2,_0x19179d){const _0x180418=_0x36331a;this[_0x180418(0x39b)]=_0x1fd7b2,this[_0x180418(0x196)]=_0x19179d;}[_0x36331a(0x37e)](_0x817b6f){const _0x1af5d8=_0x36331a;var _0x1bc7d6;const _0x139915=this[_0x1af5d8(0x39b)][_0x1af5d8(0x389)](_0xf45cd5['DocSelectionManagerService']),_0x16093f=(_0x1bc7d6=_0x139915[_0x1af5d8(0x1b6)]())!=null?_0x1bc7d6:[];if(_0x16093f['length']===0x0)return;const _0x1bb780=_0x817b6f['unitID'],_0x21b0da=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1bb780,'actions':null,'textRanges':_0x16093f}}],_0x8d8113=this[_0x1af5d8(0x196)][_0x1af5d8(0x24c)](_0x817b6f,_0x21b0da);if(!_0x4d50de[_0x1af5d8(0x336)](_0x8d8113))throw _0x8d8113[_0x1af5d8(0x2f6)];const _0x4d3481=_0x8d8113['m2Prime'][0x0][_0x1af5d8(0x3a4)]['textRanges'];Array[_0x1af5d8(0x1af)](_0x4d3481)&&_0x4d3481['length']&&_0x139915[_0x1af5d8(0x1f6)](_0x4d3481,{'unitId':_0x1bb780,'subUnitId':_0x1bb780},!0x1);}};_0x14927e=_0x3bd5c1([_0x1d6a2c(0x0,_0x52c702['Inject'](_0x52c702[_0x36331a(0x289)])),_0x1d6a2c(0x1,_0x4d50de[_0x36331a(0x32b)])],_0x14927e);var _0x2e97c4=Object[_0x36331a(0x2b6)],_0x4d295c=(_0x4c4c53,_0x29a816,_0x3fad98,_0x3f8609)=>{for(var _0x4af762=_0x3f8609>0x1?void 0x0:_0x3f8609?_0x2e97c4(_0x29a816,_0x3fad98):_0x29a816,_0x1c5169=_0x4c4c53['length']-0x1,_0x144ee5;_0x1c5169>=0x0;_0x1c5169--)(_0x144ee5=_0x4c4c53[_0x1c5169])&&(_0x4af762=_0x144ee5(_0x4af762)||_0x4af762);return _0x4af762;},_0x1159f1=(_0x1110cb,_0x814c71)=>(_0xceb96b,_0x2bd9bc)=>_0x814c71(_0xceb96b,_0x2bd9bc,_0x1110cb);let _0x51bb39=class extends _0x52c702[_0x36331a(0x3ff)]{constructor(_0x349271,_0x989bf7,_0x1f9c6b,_0x33f6dc,_0x48572f,_0x4ab5c2,_0x513991,_0x881079){const _0x842180=_0x36331a;super(),_0x5cb653(this,_0x842180(0x3e1),new _0x160e63[(_0x842180(0x37a))](_0x2390c9[_0x842180(0x34a)][_0x842180(0x3ec)])),(this[_0x842180(0x19c)]=_0x349271,this['_collaborationController']=_0x989bf7,this[_0x842180(0x271)]=_0x1f9c6b,this[_0x842180(0x20f)]=_0x33f6dc,this[_0x842180(0x1e4)]=_0x48572f,this[_0x842180(0x1c6)]=_0x4ab5c2,this[_0x842180(0x1bc)]=_0x513991,this[_0x842180(0x3d7)]=_0x881079,this[_0x842180(0x3dd)]());}[_0x36331a(0x3dd)](){const _0x4658b9=_0x36331a;this[_0x4658b9(0x2e6)](this[_0x4658b9(0x204)]['entityInit$'][_0x4658b9(0x328)](_0x13057f=>{const _0x4c0691=_0x4658b9,_0x488cfc=this[_0x4c0691(0x19c)][_0x4c0691(0x2f9)][_0x4c0691(0x328)](_0x221f3c=>{const _0x288769=_0x4c0691;if(_0x221f3c==null)return;const {unitId:_0x31cc35,redoState:_0x129bc8,commandId:_0x48b380}=_0x221f3c;if(_0x31cc35!==_0x13057f[_0x288769(0x1d8)])return;const _0x180e1f={'id':_0x48b380,'type':_0x52c702[_0x288769(0x342)][_0x288769(0x3ca)],'params':{'unitId':_0x31cc35,'actions':_0x129bc8[_0x288769(0x3ea)],'textRanges':null}};_0x13057f[_0x288769(0x423)](_0x180e1f);});if(_0x13057f[_0x4c0691(0x2e6)](_0x488cfc),_0x13057f instanceof _0x2390c9[_0x4c0691(0x1ae)]){const _0x2650fb={'onTransformIME':_0x4882e1=>this[_0x4c0691(0x271)][_0x4c0691(0x2f1)](_0x4882e1),'onTransformState':_0x27d311=>this[_0x4c0691(0x20f)][_0x4c0691(0x23b)](_0x27d311),'onTransformSelections':_0x3a5716=>this[_0x4c0691(0x1e4)][_0x4c0691(0x37e)](_0x3a5716),'onSyncEditingCollabCursor':_0x135eb3=>this['_docSyncEditingCollabCursorService'][_0x4c0691(0x29a)](_0x135eb3),'onTransformRemoteChangesetByIMECache':_0x234c03=>this[_0x4c0691(0x271)][_0x4c0691(0x2bb)](_0x234c03),'onTransformRemoteChangesetByStateCache':_0x1f06c1=>this['_docTransformStateCacheService'][_0x4c0691(0x2bb)](_0x1f06c1)};_0x13057f[_0x4c0691(0x194)](_0x2650fb);}}));}};_0x51bb39=_0x4d295c([_0x1159f1(0x0,_0x52c702[_0x36331a(0x24d)](_0x458abf['DocStateChangeManagerService'])),_0x1159f1(0x1,_0x52c702[_0x36331a(0x24d)](_0x2390c9[_0x36331a(0x3bd)])),_0x1159f1(0x2,_0x52c702['Inject'](_0x4e8924)),_0x1159f1(0x3,_0x52c702[_0x36331a(0x24d)](_0x1bf8df)),_0x1159f1(0x4,_0x52c702['Inject'](_0x14927e)),_0x1159f1(0x5,_0x52c702['Inject'](_0xd2d642)),_0x1159f1(0x6,_0x28ba4b[_0x36331a(0x27c)]),_0x1159f1(0x7,_0x52c702['Inject'](_0x52c702[_0x36331a(0x2bc)]))],_0x51bb39);var _0x52ff88=Object[_0x36331a(0x2b6)],_0xdce836=(_0x135606,_0x2e0800,_0x1ee782,_0x544ff5)=>{const _0x4d2970=_0x36331a;for(var _0x369820=_0x544ff5>0x1?void 0x0:_0x544ff5?_0x52ff88(_0x2e0800,_0x1ee782):_0x2e0800,_0x6bc944=_0x135606[_0x4d2970(0x349)]-0x1,_0x4a742f;_0x6bc944>=0x0;_0x6bc944--)(_0x4a742f=_0x135606[_0x6bc944])&&(_0x369820=_0x4a742f(_0x369820)||_0x369820);return _0x369820;},_0x176b20=(_0x5873f0,_0x548f0c)=>(_0x3eeee8,_0x48fd6c)=>_0x548f0c(_0x3eeee8,_0x48fd6c,_0x5873f0);let _0x102af3=class extends _0x52c702[_0x36331a(0x3ff)]{constructor(_0x5b369d,_0x385bde,_0x2c3f08){const _0x439bd9=_0x36331a;super(),_0x5cb653(this,_0x439bd9(0x301),new Map()),_0x5cb653(this,_0x439bd9(0x41c),new Map()),_0x5cb653(this,_0x439bd9(0x20b),!0x1),(this['_configService']=_0x5b369d,this[_0x439bd9(0x2f2)]=_0x385bde,this[_0x439bd9(0x1c1)]=_0x2c3f08);}[_0x36331a(0x3b7)](){this['_disabled']=!0x0;}[_0x36331a(0x395)](){const _0x2e380f=_0x36331a;this[_0x2e380f(0x20b)]=!0x1;}get[_0x36331a(0x199)](){const _0x1e9e12=_0x36331a;return this[_0x1e9e12(0x41c)];}[_0x36331a(0x2f7)](){const _0x355b83=_0x36331a;this[_0x355b83(0x2f5)]()[_0x355b83(0x31d)](()=>super['dispose']());}async[_0x36331a(0x426)](_0x572994){const _0x459a00=_0x36331a;return this[_0x459a00(0x20b)]?null:this[_0x459a00(0x2f2)][_0x459a00(0x365)](_0x2390c9[_0x459a00(0x19b)](_0x572994));}async[_0x36331a(0x1c3)](_0xb309d4,_0x57cedf){const _0x5da8c7=_0x36331a;return!!this[_0x5da8c7(0x2f2)][_0x5da8c7(0x34b)](_0xb309d4,_0x57cedf);}[_0x36331a(0x3ab)](_0x51bbf2,_0x19fc43,_0x35c733,_0x5f2b05){const _0x2b27da=_0x36331a,_0x481225=this[_0x2b27da(0x1c1)][_0x2b27da(0x404)](_0x51bbf2);this[_0x2b27da(0x301)][_0x2b27da(0x290)](_0x51bbf2,{'unitID':_0x51bbf2,'type':_0x19fc43,'awaitingChangeset':_0x35c733,'mutations':_0x5f2b05,'rev':_0x481225}),this[_0x2b27da(0x41c)][_0x2b27da(0x415)](_0x51bbf2)||this['_scheduleSaving'](_0x51bbf2);}['_scheduleSaving'](_0x3846d3){const _0x4320b3=_0x36331a,_0x178a5e=this[_0x4320b3(0x23e)]();_0x178a5e===0x0?this[_0x4320b3(0x41f)](_0x3846d3):this[_0x4320b3(0x41c)][_0x4320b3(0x290)](_0x3846d3,setTimeout(()=>this['_saveCache'](_0x3846d3),_0x178a5e));}[_0x36331a(0x23e)](){const _0x7c947d=_0x36331a;var _0x58d10b;return(_0x58d10b=this[_0x7c947d(0x2e7)][_0x7c947d(0x361)](_0x2390c9[_0x7c947d(0x3b9)]))!=null?_0x58d10b:_0x2390c9[_0x7c947d(0x3e3)];}[_0x36331a(0x41f)](_0x2a8be2){const _0x32fa31=_0x36331a,_0xb23577=this[_0x32fa31(0x41c)][_0x32fa31(0x389)](_0x2a8be2);return _0xb23577!==void 0x0&&window['clearTimeout'](_0xb23577),this['_localStorageService'][_0x32fa31(0x34b)](_0x2390c9['getLocalCacheKey'](_0x2a8be2),this[_0x32fa31(0x301)]['get'](_0x2a8be2))['then'](()=>this[_0x32fa31(0x41c)][_0x32fa31(0x1a1)](_0x2a8be2));}async['exhaustSavingTask'](){const _0x2e987d=_0x36331a,_0x12280c=[];this['_saveTaskMap']['forEach']((_0x150676,_0x34dffd)=>{const _0x5af9b2=_0x5710;window[_0x5af9b2(0x1ea)](_0x150676),_0x12280c[_0x5af9b2(0x383)](this['_saveCache'](_0x34dffd)[_0x5af9b2(0x31d)](()=>{const _0x5d9248=_0x5af9b2;this[_0x5d9248(0x41c)][_0x5d9248(0x1a1)](_0x34dffd);}));}),await Promise[_0x2e987d(0x2e8)](_0x12280c);}};_0x102af3=_0xdce836([_0x176b20(0x0,_0x52c702[_0x36331a(0x2a2)]),_0x176b20(0x1,_0x52c702[_0x36331a(0x3e9)]),_0x176b20(0x2,_0x52c702[_0x36331a(0x24d)](_0x4d50de[_0x36331a(0x265)]))],_0x102af3);class _0x20ae1e extends _0x52c702[_0x36331a(0x403)]{constructor(){const _0x58a9e6=_0x36331a;super(),_0x5cb653(this,'urlChange$'),this[_0x58a9e6(0x315)]=_0x160e63[_0x58a9e6(0x2cd)](window,_0x58a9e6(0x33a))['pipe'](_0x160e63[_0x58a9e6(0x2c5)](this[_0x58a9e6(0x2c3)]),_0x160e63[_0x58a9e6(0x275)](0x1),_0x160e63['mapTo'](void 0x0));}[_0x36331a(0x18c)](_0x2bf789,_0x54b7dc,_0x44d345=!0x1){const _0x115e31=_0x36331a,_0x364f94=new URL(window['location'][_0x115e31(0x386)]);_0x364f94[_0x115e31(0x390)][_0x115e31(0x290)](_0x2bf789,_0x54b7dc),_0x44d345?window['history'][_0x115e31(0x213)]('','',_0x364f94['toString']()):window[_0x115e31(0x1a2)]['pushState']('','',_0x364f94[_0x115e31(0x2b1)]());}[_0x36331a(0x24a)](_0x15919d,_0x55b07b=!0x1){const _0x2029e4=_0x36331a,_0x5014d6=new URL(window['location'][_0x2029e4(0x386)]);_0x5014d6[_0x2029e4(0x390)][_0x2029e4(0x1a1)](_0x15919d),_0x55b07b?window[_0x2029e4(0x1a2)][_0x2029e4(0x213)]('','',_0x5014d6[_0x2029e4(0x2b1)]()):window['history'][_0x2029e4(0x25c)]('','',_0x5014d6[_0x2029e4(0x2b1)]());}[_0x36331a(0x36b)](_0x394119){const _0x34ad82=_0x36331a;var _0x3722e1;return(_0x3722e1=new URL(window[_0x34ad82(0x3c6)][_0x34ad82(0x386)])[_0x34ad82(0x390)]['get'](_0x394119))!=null?_0x3722e1:void 0x0;}}var _0x11be37=Object['defineProperty'],_0x5ebf9d=Object[_0x36331a(0x2b6)],_0x1a8af3=(_0x2d5a4c,_0xa8aff4,_0x471908)=>_0xa8aff4 in _0x2d5a4c?_0x11be37(_0x2d5a4c,_0xa8aff4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x471908}):_0x2d5a4c[_0xa8aff4]=_0x471908,_0x5e66fb=(_0x93662c,_0x4199f0,_0x54e5c5,_0x441fa8)=>{const _0x3f3dee=_0x36331a;for(var _0x5a6e10=_0x441fa8>0x1?void 0x0:_0x441fa8?_0x5ebf9d(_0x4199f0,_0x54e5c5):_0x4199f0,_0x1c51e9=_0x93662c[_0x3f3dee(0x349)]-0x1,_0x2a444c;_0x1c51e9>=0x0;_0x1c51e9--)(_0x2a444c=_0x93662c[_0x1c51e9])&&(_0x5a6e10=_0x2a444c(_0x5a6e10)||_0x5a6e10);return _0x5a6e10;},_0x107f56=(_0x326c12,_0x1d518e)=>(_0x4b7f98,_0x4b4583)=>_0x1d518e(_0x4b7f98,_0x4b4583,_0x326c12),_0x598133=(_0x3fe927,_0x5c9277,_0x88a382)=>_0x1a8af3(_0x3fe927,_0x5c9277+'',_0x88a382);const _0x7aa7ca=_0x36331a(0x1a0);_0x2371ad['UniverCollaborationClientUIPlugin']=class extends _0x52c702[_0x36331a(0x260)]{constructor(_0x97b069=_0x3dbd8b,_0x25ad3c,_0x453c24,_0x36c098){const _0x22ecca=_0x36331a;super(),this[_0x22ecca(0x335)]=_0x97b069,this[_0x22ecca(0x29b)]=_0x25ad3c,this['_injector']=_0x453c24,this['_configService']=_0x36c098;const {..._0x51e614}=_0x52c702[_0x22ecca(0x264)]({},_0x3dbd8b,this['_config']);this['_configService'][_0x22ecca(0x2e4)](_0x4e3052,_0x51e614);}[_0x36331a(0x1f4)](){const _0x22c237=_0x36331a;this[_0x22c237(0x1e1)](),this[_0x22c237(0x253)]();}['onRendered'](){const _0x2140f1=_0x36331a;this[_0x2140f1(0x241)]();}[_0x36331a(0x1e1)](){const _0x2f5f07=_0x36331a;var _0x18f3f5;const _0x293a4c=[[_0x12dd9b],[_0x14927e],[_0x4e8924],[_0x1bf8df],[_0xd2d642],[_0x43ac3b,{'useClass':_0x20ae1e}],[_0x5b0bb2[_0x2f5f07(0x2b7)],{'useClass':_0x5b0bb2[_0x2f5f07(0x3b6)]}],[_0x2390c9[_0x2f5f07(0x413)],{'useClass':_0x102af3}],[_0x2371ad[_0x2f5f07(0x3f2)]],[_0x51bb39],[_0x15688f],[_0x518f67],[_0x447eb7],[_0x2371ad[_0x2f5f07(0x2a7)]]];_0x52c702[_0x2f5f07(0x37f)](this['_injector'],_0x52c702['mergeOverrideWithDependencies'](_0x293a4c,(_0x18f3f5=this[_0x2f5f07(0x335)])==null?void 0x0:_0x18f3f5['override']));}[_0x36331a(0x241)](){const _0x189f47=_0x36331a;this['disposeWithMe'](this['_renderManagerService'][_0x189f47(0x355)](_0x52c702[_0x189f47(0x345)][_0x189f47(0x38a)],[_0x86d5fa])),this[_0x189f47(0x2e6)](this['_renderManagerService'][_0x189f47(0x355)](_0x52c702[_0x189f47(0x345)][_0x189f47(0x326)],[_0xa1828c]));}['_initDependencies'](){const _0x5eda07=_0x36331a;_0x52c702['touchDependencies'](this[_0x5eda07(0x39b)],[[_0x518f67],[_0x2371ad[_0x5eda07(0x3f2)]],[_0x51bb39],[_0x15688f],[_0x2371ad['CollaborationDataLoaderController']]]);}},_0x598133(_0x2371ad[_0x36331a(0x3cc)],_0x36331a(0x3a5),_0x7aa7ca),_0x2371ad[_0x36331a(0x3cc)]=_0x5e66fb([_0x52c702[_0x36331a(0x337)](_0x2390c9[_0x36331a(0x3a6)]),_0x107f56(0x1,_0x711590[_0x36331a(0x27d)]),_0x107f56(0x2,_0x52c702[_0x36331a(0x24d)](_0x52c702[_0x36331a(0x289)])),_0x107f56(0x3,_0x52c702['IConfigService'])],_0x2371ad[_0x36331a(0x3cc)]);var _0x51cca0=Object[_0x36331a(0x2b6)],_0x2fee8a=(_0x5052e7,_0x289d2f,_0x1000fe,_0x3797fe)=>{for(var _0xb7aa6e=_0x3797fe>0x1?void 0x0:_0x3797fe?_0x51cca0(_0x289d2f,_0x1000fe):_0x289d2f,_0x59bced=_0x5052e7['length']-0x1,_0x1ee8c9;_0x59bced>=0x0;_0x59bced--)(_0x1ee8c9=_0x5052e7[_0x59bced])&&(_0xb7aa6e=_0x1ee8c9(_0xb7aa6e)||_0xb7aa6e);return _0xb7aa6e;},_0x2afbdb=(_0x3b02ba,_0x359dbb)=>(_0x344694,_0x15feee)=>_0x359dbb(_0x344694,_0x15feee,_0x3b02ba);_0x2371ad['BrowserCollaborationSocketService']=class extends _0x2390c9[_0x36331a(0x348)]{constructor(_0x1d608b,_0x4b6a5a,_0x31cc8c,_0x1fe834,_0x8c03ce){super(_0x1d608b,_0x4b6a5a,_0x31cc8c,_0x1fe834,_0x8c03ce);}async['createSocket'](_0x55734c){const _0x4b52fb=_0x36331a,_0xa9dc1f=await this[_0x4b52fb(0x1f5)](),_0x404803=this[_0x4b52fb(0x202)](_0x55734c,_0xa9dc1f);return this[_0x4b52fb(0x2ca)](_0x404803);}['_createSocketURL'](_0x1261e5,_0x114b6a){const _0x5576c8=_0x36331a,_0x3f57f6=typeof window>'u'?new URL(_0x1261e5):new URL(_0x1261e5,window[_0x5576c8(0x3c6)][_0x5576c8(0x3fd)]);_0x3f57f6[_0x5576c8(0x390)]['set'](_0x5576c8(0x3c0),_0x114b6a);const _0x3be908=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5576c8(0x3c6)][_0x5576c8(0x2ed)]);return _0x3be908[_0x5576c8(0x389)](_0x5576c8(0x246))&&_0x3f57f6[_0x5576c8(0x390)][_0x5576c8(0x290)](_0x5576c8(0x246),_0x3be908[_0x5576c8(0x389)](_0x5576c8(0x246))),_0x3f57f6[_0x5576c8(0x2b1)]();}async[_0x36331a(0x1f5)](){const _0x5e56a9=_0x36331a;var _0xa30942,_0x175a8b,_0x44045c;const _0x55ec15=this['_configService']['getConfig'](_0x2390c9['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x177db4=(_0xa30942=_0x55ec15==null?void 0x0:_0x55ec15[_0x5e56a9(0x224)])!=null?_0xa30942:_0x2390c9[_0x5e56a9(0x1cb)];return(_0x44045c=(_0x175a8b=(await this[_0x5e56a9(0x2e9)][_0x5e56a9(0x389)](_0x177db4,{'headers':{'Content-Type':'application/json'}}))[_0x5e56a9(0x324)])==null?void 0x0:_0x175a8b['ticket'])!=null?_0x44045c:'';}},_0x2371ad[_0x36331a(0x2fa)]=_0x2fee8a([_0x2afbdb(0x0,_0x52c702[_0x36331a(0x24d)](_0x52c702[_0x36331a(0x289)])),_0x2afbdb(0x1,_0x52c702[_0x36331a(0x24d)](_0x5b0bb2['HTTPService'])),_0x2afbdb(0x2,_0x52c702['IConfigService']),_0x2afbdb(0x3,_0x52c702['ILogService']),_0x2afbdb(0x4,_0x4d50de[_0x36331a(0x209)])],_0x2371ad[_0x36331a(0x2fa)]);const _0x2fe8cd=0x7530,_0x49397b='ACTIVE_UNIT_EVENT_CHANNEL';class _0x1343c7 extends _0x52c702[_0x36331a(0x3ff)]{constructor(){const _0x3770a7=_0x36331a;super(),_0x5cb653(this,_0x3770a7(0x3d4),_0x52c702['generateRandomId']()),_0x5cb653(this,_0x3770a7(0x2d5),new Set()),_0x5cb653(this,'_unitOnClients',new Map()),_0x5cb653(this,_0x3770a7(0x2ea),null),_0x5cb653(this,_0x3770a7(0x26b),new Map()),_0x5cb653(this,_0x3770a7(0x3df),new Map()),this[_0x3770a7(0x347)]();}[_0x36331a(0x2f7)](){const _0x245765=_0x36331a;super[_0x245765(0x2f7)](),this[_0x245765(0x26b)][_0x245765(0x19f)]((_0x301e3c,_0x3f1128)=>this[_0x245765(0x1b4)](_0x3f1128)),this[_0x245765(0x2ea)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x36331a(0x281)](_0x344357){const _0x47675d=_0x36331a;return this[_0x47675d(0x3ce)](_0x344357)[_0x47675d(0x2d4)](_0x160e63[_0x47675d(0x1a6)]());}[_0x36331a(0x237)](_0x2ff794){const _0xe1597a=_0x36331a;this[_0xe1597a(0x2d5)][_0xe1597a(0x418)]===0x0&&this['_scheduleHeartbeat'](),this[_0xe1597a(0x2d5)][_0xe1597a(0x3cf)](_0x2ff794),this[_0xe1597a(0x23d)]({'type':0x0,'memberID':this[_0xe1597a(0x3d4)],'unitIDs':[_0x2ff794],'isForwarded':!0x1});}[_0x36331a(0x384)](_0x18d97c){const _0x2f68cf=_0x36331a;this[_0x2f68cf(0x2d5)][_0x2f68cf(0x1a1)](_0x18d97c),this[_0x2f68cf(0x2d5)][_0x2f68cf(0x418)]===0x0&&this[_0x2f68cf(0x2ea)]&&window['clearInterval'](this[_0x2f68cf(0x2ea)]);}[_0x36331a(0x347)](){const _0x320399=_0x36331a;this[_0x320399(0x2e6)](_0x52c702[_0x320399(0x274)](_0x160e63['fromEvent'](window,'storage')[_0x320399(0x328)](_0x16f745=>{const _0x134062=_0x320399;if(_0x16f745['key']!==_0x49397b||!_0x16f745['newValue'])return;const _0x4969e7=JSON[_0x134062(0x35f)](_0x16f745[_0x134062(0x235)]);this[_0x134062(0x2d0)](_0x4969e7);}))),window[_0x320399(0x3d1)](_0x320399(0x1a7),()=>this[_0x320399(0x23d)]({'type':0x1,'memberID':this[_0x320399(0x3d4)],'unitIDs':Array[_0x320399(0x2d1)](this[_0x320399(0x2d5)])}));}[_0x36331a(0x2d0)](_0x33cb70){const _0x50c4c3=_0x36331a;switch(_0x33cb70[_0x50c4c3(0x3e7)]){case 0x0:this[_0x50c4c3(0x2c4)](_0x33cb70);break;case 0x1:this[_0x50c4c3(0x306)](_0x33cb70);break;case 0x2:this['_handleHeartbeatEvent'](_0x33cb70);break;}}['_handleJoinEvent'](_0x3de02e){const _0x3eb263=_0x36331a,{unitIDs:_0x573371,memberID:_0x3eb06c,isForwarded:_0x17417f}=_0x3de02e;_0x573371[_0x3eb263(0x19f)](_0x309bbe=>{const _0x571f71=_0x3eb263;if(!_0x17417f&&this[_0x571f71(0x382)]['has'](_0x309bbe)&&this[_0x571f71(0x3ce)](_0x309bbe)[_0x571f71(0x1d9)](_0x2390c9[_0x571f71(0x2be)][_0x571f71(0x356)]),!this[_0x571f71(0x382)][_0x571f71(0x415)](_0x309bbe)||!this[_0x571f71(0x382)][_0x571f71(0x389)](_0x309bbe)['has'](_0x3eb06c)){const _0xfeb141=this['_unitOnClients'][_0x571f71(0x389)](_0x309bbe)||new Set();_0xfeb141[_0x571f71(0x3cf)](_0x3eb06c),this['_unitOnClients'][_0x571f71(0x290)](_0x309bbe,_0xfeb141),this[_0x571f71(0x379)](_0x3eb06c);}}),_0x17417f||this['_send']({'type':0x0,'memberID':this[_0x3eb263(0x3d4)],'unitIDs':[...this[_0x3eb263(0x2d5)]],'isForwarded':!0x0});}[_0x36331a(0x379)](_0x412630){const _0x149549=_0x36331a;this['_removeClearOtherTimer'](_0x412630);const _0x52ca56=window[_0x149549(0x2d8)](()=>{const _0x25e4b1=_0x149549;this[_0x25e4b1(0x382)]['forEach'](_0x1c9d99=>{const _0x2c01e2=_0x25e4b1;_0x1c9d99[_0x2c01e2(0x1a1)](_0x412630);});},_0x2fe8cd*0x2);this[_0x149549(0x26b)][_0x149549(0x290)](_0x412630,_0x52ca56);}[_0x36331a(0x1b4)](_0x53251c){const _0x4605e7=_0x36331a;if(this['_clearOtherTimers'][_0x4605e7(0x415)](_0x53251c)){const _0x479117=this['_clearOtherTimers'][_0x4605e7(0x389)](_0x53251c);_0x479117&&window[_0x4605e7(0x1ea)](_0x479117),this[_0x4605e7(0x26b)][_0x4605e7(0x290)](_0x53251c,null);}}[_0x36331a(0x306)](_0xb469cc){const _0x1112a4=_0x36331a,{memberID:_0x155081,unitIDs:_0x9c829e}=_0xb469cc;_0x9c829e['forEach'](_0x2b747e=>{const _0x110f0f=_0x5710;var _0x15e2c2;const _0x327771=this[_0x110f0f(0x382)][_0x110f0f(0x389)](_0x2b747e);_0x327771&&(_0x327771[_0x110f0f(0x1a1)](_0x155081),(_0x15e2c2=this[_0x110f0f(0x3ce)](_0x2b747e))==null||_0x15e2c2['next'](_0x327771['size']===0x0?_0x2390c9[_0x110f0f(0x2be)][_0x110f0f(0x3c2)]:_0x2390c9['UnitStatus'][_0x110f0f(0x356)]));}),this[_0x1112a4(0x1b4)](_0x155081);}['_handleHeartbeatEvent'](_0x45a76d){const _0x4eb17c=_0x36331a;this[_0x4eb17c(0x379)](_0x45a76d['memberID']);}[_0x36331a(0x23d)](_0x1dad0d){const _0x44cc56=_0x36331a;localStorage[_0x44cc56(0x34b)](_0x49397b,JSON[_0x44cc56(0x1f9)](_0x1dad0d));}[_0x36331a(0x2ec)](){const _0x2b424c=_0x36331a;this[_0x2b424c(0x2ea)]=window[_0x2b424c(0x1eb)](()=>{const _0x13a0d9=_0x2b424c;this['_send']({'type':0x2,'memberID':this[_0x13a0d9(0x3d4)]});},_0x2fe8cd);}[_0x36331a(0x3ce)](_0x329b4d){const _0xf0d8f5=_0x36331a;return this[_0xf0d8f5(0x3df)][_0xf0d8f5(0x415)](_0x329b4d)||this[_0xf0d8f5(0x3df)][_0xf0d8f5(0x290)](_0x329b4d,new _0x160e63[(_0xf0d8f5(0x37a))](_0x2390c9['UnitStatus'][_0xf0d8f5(0x3c2)])),this['_unitStatus'][_0xf0d8f5(0x389)](_0x329b4d);}}var _0x3cd24a=(_0x3cf306=>(_0x3cf306[_0x3cf306[_0x36331a(0x331)]=0x0]=_0x36331a(0x331),_0x3cf306[_0x3cf306['OK']=0x1]='OK',_0x3cf306[_0x3cf306[_0x36331a(0x414)]=0x2]=_0x36331a(0x414),_0x3cf306[_0x3cf306[_0x36331a(0x1ab)]=0x3]=_0x36331a(0x1ab),_0x3cf306[_0x3cf306[_0x36331a(0x32a)]=0x4]=_0x36331a(0x32a),_0x3cf306[_0x3cf306['UNAUTHENTICATED']=0x5]=_0x36331a(0x1a3),_0x3cf306[_0x3cf306[_0x36331a(0x36e)]=0x6]=_0x36331a(0x36e),_0x3cf306[_0x3cf306[_0x36331a(0x3a7)]=0x7]=_0x36331a(0x3a7),_0x3cf306[_0x3cf306[_0x36331a(0x22b)]=0x8]=_0x36331a(0x22b),_0x3cf306[_0x3cf306[_0x36331a(0x353)]=0x9]=_0x36331a(0x353),_0x3cf306[_0x3cf306[_0x36331a(0x32f)]=0xa]=_0x36331a(0x32f),_0x3cf306[_0x3cf306['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3cf306[_0x3cf306[_0x36331a(0x2cf)]=0xc]=_0x36331a(0x2cf),_0x3cf306[_0x3cf306[_0x36331a(0x3b5)]=0xd]=_0x36331a(0x3b5),_0x3cf306[_0x3cf306['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x36331a(0x28b),_0x3cf306[_0x3cf306[_0x36331a(0x2eb)]=0x1389]=_0x36331a(0x2eb),_0x3cf306[_0x3cf306[_0x36331a(0x215)]=0x1771]=_0x36331a(0x215),_0x3cf306[_0x3cf306[_0x36331a(0x31f)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3cf306[_0x3cf306['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x36331a(0x2e5),_0x3cf306[_0x3cf306[_0x36331a(0x338)]=0x1b59]=_0x36331a(0x338),_0x3cf306[_0x3cf306[_0x36331a(0x392)]=0x1b5a]=_0x36331a(0x392),_0x3cf306[_0x3cf306['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x36331a(0x255),_0x3cf306[_0x3cf306[_0x36331a(0x211)]=0x1b5c]=_0x36331a(0x211),_0x3cf306[_0x3cf306[_0x36331a(0x376)]=0x1b5d]=_0x36331a(0x376),_0x3cf306[_0x3cf306['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x36331a(0x1fe),_0x3cf306[_0x3cf306['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x36331a(0x32c),_0x3cf306[_0x3cf306[_0x36331a(0x398)]=0x232a]=_0x36331a(0x398),_0x3cf306[_0x3cf306[_0x36331a(0x370)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3cf306[_0x3cf306['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x36331a(0x2e0),_0x3cf306[_0x3cf306[_0x36331a(0x399)]=0x232d]=_0x36331a(0x399),_0x3cf306[_0x3cf306[_0x36331a(0x37c)]=0x2711]=_0x36331a(0x37c),_0x3cf306[_0x3cf306[_0x36331a(0x32d)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3cf306[_0x3cf306[_0x36331a(0x378)]=0x2713]=_0x36331a(0x378),_0x3cf306[_0x3cf306[_0x36331a(0x3a1)]=0x2714]=_0x36331a(0x3a1),_0x3cf306[_0x3cf306['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x36331a(0x21d),_0x3cf306[_0x3cf306['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x36331a(0x323),_0x3cf306[_0x3cf306[_0x36331a(0x39d)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3cf306[_0x3cf306[_0x36331a(0x3ef)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x3cf306[_0x3cf306[_0x36331a(0x40f)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3cf306[_0x3cf306[_0x36331a(0x2ce)]=0x271f]=_0x36331a(0x2ce),_0x3cf306[_0x3cf306[_0x36331a(0x198)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x3cf306[_0x3cf306['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x36331a(0x1fb),_0x3cf306[_0x3cf306['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x36331a(0x2ae),_0x3cf306[_0x3cf306[_0x36331a(0x38c)]=0x2ee2]='INVALID_INVITE_CODE',_0x3cf306[_0x3cf306['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x3cf306[_0x3cf306[_0x36331a(0x3f4)]=0x2ee4]=_0x36331a(0x3f4),_0x3cf306[_0x3cf306[_0x36331a(0x238)]=0x2ee5]=_0x36331a(0x238),_0x3cf306[_0x3cf306['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x36331a(0x200),_0x3cf306[_0x3cf306[_0x36331a(0x299)]=0x32ca]=_0x36331a(0x299),_0x3cf306[_0x3cf306[_0x36331a(0x2b5)]=0x32cb]=_0x36331a(0x2b5),_0x3cf306[_0x3cf306[_0x36331a(0x37b)]=-0x1]='UNRECOGNIZED',_0x3cf306))(_0x3cd24a||{}),_0x4188b0=Object[_0x36331a(0x2b6)],_0x2b7d35=(_0x2da709,_0x2bebac,_0xd66fb,_0x35ee11)=>{for(var _0x1a4aae=_0x35ee11>0x1?void 0x0:_0x35ee11?_0x4188b0(_0x2bebac,_0xd66fb):_0x2bebac,_0x401e1b=_0x2da709['length']-0x1,_0x496b7e;_0x401e1b>=0x0;_0x401e1b--)(_0x496b7e=_0x2da709[_0x401e1b])&&(_0x1a4aae=_0x496b7e(_0x1a4aae)||_0x1a4aae);return _0x1a4aae;},_0x1355fd=(_0x1d0556,_0x4ddf56)=>(_0x31d250,_0x45b0f1)=>_0x4ddf56(_0x31d250,_0x45b0f1,_0x1d0556);_0x2371ad[_0x36331a(0x1e3)]=class extends _0x52c702[_0x36331a(0x3ff)]{constructor(_0x4f537a,_0x30fd14,_0x2ee27b){const _0x5db0f2=_0x36331a;super(),this[_0x5db0f2(0x220)]=_0x4f537a,this['_httpService']=_0x30fd14,this[_0x5db0f2(0x2e7)]=_0x2ee27b;}async[_0x36331a(0x393)](_0x3cc374,_0x357daa,_0x56367f,..._0x523207){const _0x427474=_0x36331a;var _0xc67841,_0x50012e,_0x41c2c2,_0x16ec3d;const _0x3331b5=this['_instanceService']['getFocusedUnit']();if(!_0x3331b5)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x38baa2=((_0xc67841=this[_0x427474(0x2e7)]['getConfig'](_0x2390c9[_0x427474(0x380)]))!=null?_0xc67841:_0x2390c9[_0x427474(0x3f3)])+'/'+_0x3cc374+_0x427474(0x36a)+_0x357daa,_0x8fa0b1=new URL(window[_0x427474(0x3c6)]['href']),_0x42d190={'scriptId':_0x3cc374,'runId':(_0x50012e=_0x8fa0b1[_0x427474(0x390)][_0x427474(0x389)]('runId'))!=null?_0x50012e:'','function':_0x357daa,'unitId':_0x3331b5[_0x427474(0x240)](),'argsOfFunction':JSON['stringify'](_0x523207),'invokeId':(_0x41c2c2=_0x56367f[_0x427474(0x41a)])!=null?_0x41c2c2:'','executionId':(_0x16ec3d=_0x56367f['executionId'])!=null?_0x16ec3d:''};try{const _0x2e7937=await this[_0x427474(0x2e9)]['post'](_0x38baa2,{'body':_0x42d190});return _0x2e7937[_0x427474(0x324)]['error']&&_0x2e7937['body'][_0x427474(0x2f6)][_0x427474(0x377)]!==_0x3cd24a['OK']?_0x427474(0x3c4):_0x2e7937[_0x427474(0x324)][_0x427474(0x3d8)];}catch{return'Failed';}}},_0x2371ad[_0x36331a(0x1e3)]=_0x2b7d35([_0x1355fd(0x0,_0x52c702[_0x36331a(0x38f)]),_0x1355fd(0x1,_0x52c702['Inject'](_0x5b0bb2['HTTPService'])),_0x1355fd(0x2,_0x52c702[_0x36331a(0x2a2)])],_0x2371ad[_0x36331a(0x1e3)]),_0x2371ad[_0x36331a(0x40e)]=_0x393365,_0x2371ad[_0x36331a(0x2d7)]=_0x43ac3b,_0x2371ad[_0x36331a(0x385)]=_0x4f5011,_0x2371ad[_0x36331a(0x267)]=_0x1343c7,_0x2371ad[_0x36331a(0x36f)]=_0x20ae1e,Object[_0x36331a(0x254)](_0x2371ad,Symbol[_0x36331a(0x2c2)],{'value':_0x36331a(0x2b2)});}));
|
|
1
|
+
function _0x3871(){const _0x4d6238=['complete','HEADER_MENU','unshift','Disposable','collab-text-anchor-','_removeCollabCursors','MemberService','UniverInstanceType','ranges','syncEditingCollabCursor','toDisposable','YUUMI_ASYNCIO_CANCELLED','@univerjs/design','operators','collabStatus.offline','jiqing.500','width','clsx','transformStateCache','init','getUndoRedoMutationParamsCache','_startSheetCollabCursor','INVITE_CODE_REQUIRED','white','DocIMEInputManagerService','urlChange$','NOT_COLLAB','hovered','next','handleInsertRangeMoveRight','rgba(255,\x20255,\x20255,\x200.01)','LocaleService','MessageType','popstate','_uiPartsService','_collabCursorController','UniverDocsUi','getCurrentRevOfUnit','hasOwnProperty','_status$','isTransformMutationFailure','NodePositionConvertToCursor','selections','CONFLICT','serializeRangeWithSheet','translate(.97)','_localCacheService','setAlpha','getCollabCursors$','sessionStatus$','use','svg','_hovered','registerDependencies','#FFF','DocSelectionManagerService','mask','merge','application/json','runOnServer','UNIVER_DOC','FETCH_MISS','UPDATE_CURSOR','_docSkeletonManagerService','getMember','24WZikkR','searchParams','CommandType','has','useObservable','range','CollaborationEvent','USER_NOT_INVITED_CODE','createSocket','off-line-icon_clip0_910_343','handleDeleteRangeMoveUp','defineProperty','attrs','LOCAL_CACHE_INTERVAL_KEY','getLocalCacheKey','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','enableLocalCache','send','_docTransformStateCacheService','redoState','UNAUTHENTICATED','saveImage','hide','_refRangeService','DisposableCollection','_updateLocalCursor','_render','_toggleOnline','YUUMI_NO_CUBOID_FOR_QUESTION','delete','currentSkeleton$','_httpService','values','getVpScrollXYInfoByPosToVp','_memberService','_cursors','0\x200\x2016\x2016','@univerjs-pro/collaboration','flatMap','_getSaveTimeout','Plugin','UNDEFINED','whenReady','RefRangeService','override','_createSocketURL','InsertRowCommandId','displayName','amd','RemoteUniscriptService','getStateCache','_urlService','mutations','generateRandomId','entityInit$','_getMergeRange','getCellPositionByOffset','ticket','_anchorDot','_docClipboardService','icon','makeDirty','collabCursorState$','path','text','_docTransformSelectionsService','INVALID_ARGUMENT','_scheduleHeartbeat','current','trim','_beforeCloseService','getTypeOfUnitAdded$','[CollaborationDataLoaderController]','getActiveRange','ENSURE_SNAPSHOT_EXECUTION','MOBILE_VERIFY_CODE_MISMATCH','setShapeProps','idSuffix','href','getActiveSheet','undoState','on-line-icon_clip0_910_349','Tools','function','_drawRectRange','6304ychajj','_heartbeatTimer','getAncestorScale','100503IJjeEE','asObservable','_localeService','ISnapshotServerService','registerBeforeClose','throttleTime','getUnhiddenWorksheets','NOT_FOUND','getCollabEntity$','BuiltInUIPart','clearInterval','assignAColorForMemberID','OTHER_CLIENT_EDITING','ACTIVE_UNIT_EVENT_CHANNEL','_registerDependencies','NO_OTHER_CLIENTS_EDITING','ThemeService','DEFAULT_WS_SESSION_TICKET_URL','arc','_getSessionTicket','Rect','@univerjs/core','registerComponent','USERS_LEAVE','_handleHeartbeatEvent','_docStateChangeManagerService','INVITE_CODE_HAS_BEEN_UES','react','getSkeleton','RxDisposable','SNAPSHOT_HAS_BEEN_REMOVED','univer-mr-2\x20univer-flex\x20univer-text-xl','size','TEXT_RANGE_LAYER_INDEX','off-line-icon','Rectangle','_saveCache','ILocalStorageService','getUniverSheetInstance','CollaborationDataLoaderController','14068eKBTCW','getOffsetConfig','_init','random','@univerjs/docs-ui','symbol','_session','_initStatusComponent','moveTo','addHandlerCallback','_updateSubUnitFromURLParams','LICENSE_MAX_UNITS_EXCEEDED','_onCursorUpdate','_initEntityListener','_renderManagerService','@univerjs/network','forwardRef','@univerjs/docs','_draw','AWAITING','DataLoaderService','1em','getRenderById','_transformPreviousActiveRange','url(#off-line-icon_clip0_910_343)','DeleteRangeMoveUpCommandId','getCurrent','labelPosition','UniverProCollaborationClient','disposeWithMe','React','_docSkeleton','Failed','_initStatusListener','APPLY_NON_SEQUENTIAL_REVISION','EMAIL_VERIFY_CODE_MISMATCH','round','YUUMI_TABLE_NOT_FOUND_IN_UNIT','LOCAL_CACHE_INTERVAL','_notificationService','lineTo','DocSkeletonManagerService','ICommandService','TEXT','700920sqDFRl','collabStatus.conflict','deserializeRangeWithSheet','WECHAT_HAS_BEEN_BOUND','MUTATION','CollaborationStatus','_initCommandExecutedListener','split','ISocketService','registerRefRange','green.600','react/jsx-runtime','toString','getRangePointData','black','set','Subject','SetTextSelectionsOperation','CollaborationController','color','onMouseMove','UniverProCollaborationClientUi','row','stringify','reconnect','ITransformService','UniverCore','_id','engine','actions','_cursorInfo$','getCoordByCell','_textBubble','_handleEvent','location','_unitOnClients','get','getCurrentSelections','BrowserCollaborationSocketService','Warning','SOCKET_FAILED','defs','children','parse','_selfUnitIDs','UniverRpc','YUUMI_RATE_OVER_LIMIT','RevisionService','_scene','190449hhsqLQ','_assignedColors','_onCursorDelete','setParam','getViewport','_doCreateSocket','concat','_syncEditingCollabCursorService','_drawAnchor','subscribeEvent','collaboration.closeRoom','createElement','_shapes','PERMISSION_DENIED','_drawTextRange','isArray','OTHER_CLIENTS_EDITING','univer-flex\x20univer-items-center','colorChannel1','MOBILE_HAS_BEEN_BOUND','@univerjs/engine-render','takeUntil','DOC_RANGE_TYPE','_instanceService','top','yellow.400','_getAnchorBounding','activeSheet$','CollaborationUIEventId','IBeforeCloseService','UniverDocs','getSheetBySheetId','_setupBeforeClosingHandler','createIdentifier','COLORS','APPLY_REJECT','addObject','JOIN_ROOM_FAILED','UniverCollaborationClientUIPlugin','ILocalCacheService','_startDocCollabCursor','CollaborationStatusDisplay','clipPath','_univerInstanceService','saveTaskMap','runId','_onRefRangeChange','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','429051tSEZkE','loadOfflineData','error','INVALID_INVITE_CODE','OffLineIcon','_handleHover','YUUMI_SUBSCRIPTION_NOT_FOUND','_transformUndoRedoStack','_eventUnsubscribe','_cursor','LICENSE_DISTRO_REJECTED','entries','uni.network.url-service','cursorInfo','ColorKit','@univerjs/drawing','collab-rect-range-','column','_handleJoinEvent','_transformService','unit','assign','getColorFromTheme','UniverSheets','_labelPosition','roomMembers$','roomMembers','height','LICENSE_EXPORT_SIZE_EXCEEDED','collabStatus.notCollab','OFFLINE','isTransformMutationsWithChangesetSuccess','_imageIoService','session.connection-failed','...','result','IURLService','startRow','_initEvent','fromEventSubject','session.will-retry','useDependency','textRanges','SheetSkeletonManagerService','UniverEngineFormula','M0\x200H16V16H0z','SNAPSHOT_INVALID_SNAPSHOT','filter','_cachedData','_initDependencies','jsx','_hover','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','setUndoRedoMutationParamsCache','add','295DNBIVc','unitId','UnitStatus','executionId','_collabCursorState$','SOCKET_FAILED_RETRY','_messageService','imageSourceType','556194NyJUgN','triggerDblclick','selection','exhaustSavingTask','body','setInterval','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onPointerLeave$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IMessageService','getTypeOfUnitDisposed$','UNIVER_SHEET','UniverDrawing','_injector','CHANGESET_REVISION_CONFILICT','58jPeZij','_send','_clearOtherTimers','LICENSE_IMPORT_SIZE_EXCEEDED','disposeUnit','COMPLETION_FINISHED','registerRenderModule','endRow','_themeService','addObjects','bottom','jsxs','SetDocZoomRatioOperation','switchMap','defIds','type','getOwnPropertySymbols','saveOfflineData','with','startColumn','_updateCollabCursors','/run/','string','Optional','InsertRangeMoveRightCommandId','YUUMI_UNABLE_LOAD_URL','SYNCED','_lastPointer','search','IUniverInstanceService','_roomMembers$','Workbook','prototype','getSheetId','_online','sessionTicket','transformSelections','subscribe','_dataLoaderService','IDocClipboardService','_commandService','name','Injector','blue.400','ILogService','DesktopCollaborationStatusDisplayController','_colorAssignService','IRenderManagerService','_cursorShapes','xlink:href','getOwnPropertyDescriptor','UNRECOGNIZED','handleInsertCol','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LOGIN_FAILED','rxjs','executeCommand','handleIRemoveRow','Shape','debounceTime','docStateChange$','_collaborationController','getCurrentUnitForType','save','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','length','CollaborationUIEventService','_updateURLWithCurrentState','INVITE_CODE_ALREADY_BOUND','getColor','CONNECTOR_DATA_TOO_LARGE','toStringTag','_setupSubUnitSync','@univerjs/engine-formula','IImageIoService','params','indexOf','APPLY_REVISION_CONFILICT','fromEvent','call','CLOSE_ROOM','_scheduleClearOtherTimer','_ensureSubject','history','collabStatus.synced','m1Prime','EffectRefRangId','DocStateChangeManagerService','YUUMI_CONNECTOR_URL_NOT_FOUND','map','doc.mutation.rich-text-editing','handleMoveRange','getMemberID','isActive','onStarting','@univerjs-pro/collaboration-client','contains','SetSelectionsOperation','rxjs/operators','from','disableLocalCache','_config','@univerjs/sheets','_scheduleSaving','MoveRangeCommandId','exports','debug','getParam','pipe','resize','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','className','_removeClearOtherTimer','_color','InsertColCommandId','_saveTaskMap','getConfig','transformRemoteChangeset','collab-text-range-','replaceState','_configService','collabStatus.syncing','isEditing','collab-client.tooltip.reconnect','font','transformMutationsWithChangeset','collaboration-client-ui.config','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','addEventListener','dispose$','_backgroundColor','setConfig','_anchor','max','unitID','tag','onTransformChange$','UniverNetwork','onLocalMutation','RemoveColCommandId','Inject','_localStorageService','univerjs-icon\x20univerjs-icon-','requireSession','push','SheetCollabCursorShape','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ONLINE','_initResize','PENDING','transformIMECache','object','addClipboardHook','_document','transformByState','PY_RUNTIME_SCRIPT_ERROR','div','_logService','deepClone','_revisionService','RemoveRowCommandId','_collaborationUIEventService','getValue','findNodePositionByCharIndex','DeleteRangeMoveLeftCommandId','onPointerEnter$','YUUMI_AI_RUN_FAILED','UniverProCollaboration','fillText','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','code','_registerRenderDependencies','setStateCache','_handleLeaveEvent','createInstance','m2Prime','red.300','url(#$1','backgroundColor','handleInsertRow','YUUMI_URL_COL_OUT_OF_RANGE','setItem','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UniverSheetsUi','toRgbString','replace','_toggleOffline','@univerjs/rpc','_entityInit$','Unknown\x20user','_disabled','event$','shareReplay','dispose','getFocusedUnit','onCommandExecuted','_range','IRemoteInstanceService','INotificationService','measureText','extend','getUnitId','_hideTimer','@univerjs/sheets-ui','_name','Error','_getScale','forEach','_transformHistoryAndStateStack','_context','FromArray','getRelativeToViewportCoord','debounce','mergeOverrideWithDependencies','getUnitStatus$','SheetsSelectionsService','INTERNAL_ERROR','SHEET_VIEWPORT_KEY','fillRule','SessionStatus','_collabSessionService','_unitStatus','YUUMI_ALL_TABLES_IS_INVALID','fillStyle','_colorIndex','APPLY_PERMISSION_DENIED','cursorInfo$','BehaviorSubject','ALREADY_EXISTS','handleDeleteRangeMoveLeft','drawWith','HTTPService','_docTransformIMECacheService','RegularPolygon','combineLatest','IConfigService','DocCollaborationEntity','TOO_MANY_REQUESTS','restore','permission.content','setTimeout','unsubscribe','_entities','apply','transformMutation','_refreshCollabCursors','min','APPLY_DUPLICATED','eventID','clearTimeout','origin','data','77QdEyMt','fill','newValue','http://www.w3.org/2000/svg','InsertRangeMoveDownCommandId','RichTextEditingMutation','_sheetSkeletonManagerService','setActiveRange','subunit','key','collaboration-client.offline-data-not-saved','CollaborationSessionService','memberID','_getSheetObject','permission.title','pluginName','evenodd','then','find','show','touchDependencies','pushState'];_0x3871=function(){return _0x4d6238;};return _0x3871();}function _0x6c71(_0x245ad6,_0x42a7eb){const _0x3871c9=_0x3871();return _0x6c71=function(_0x6c712a,_0x1491fd){_0x6c712a=_0x6c712a-0x1c1;let _0x8b5f80=_0x3871c9[_0x6c712a];return _0x8b5f80;},_0x6c71(_0x245ad6,_0x42a7eb);}(function(_0x5562ab,_0xa131ff){const _0x427442=_0x6c71,_0x4fc8ae=_0x5562ab();while(!![]){try{const _0x288d10=parseInt(_0x427442(0x361))/0x1*(-parseInt(_0x427442(0x467))/0x2)+-parseInt(_0x427442(0x364))/0x3+-parseInt(_0x427442(0x38c))/0x4*(-parseInt(_0x427442(0x450))/0x5)+-parseInt(_0x427442(0x458))/0x6+-parseInt(_0x427442(0x419))/0x7*(parseInt(_0x427442(0x30c))/0x8)+-parseInt(_0x427442(0x3e9))/0x9+-parseInt(_0x427442(0x3b8))/0xa*(-parseInt(_0x427442(0x2b5))/0xb);if(_0x288d10===_0xa131ff)break;else _0x4fc8ae['push'](_0x4fc8ae['shift']());}catch(_0x29c297){_0x4fc8ae['push'](_0x4fc8ae['shift']());}}}(_0x3871,0x2cf1b),function(_0x5a3b19,_0x46777e){const _0x347bc6=_0x6c71;typeof exports==_0x347bc6(0x250)&&typeof module<'u'?_0x46777e(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x347bc6(0x35f)&&define[_0x347bc6(0x33c)]?define([_0x347bc6(0x222),_0x347bc6(0x218),_0x347bc6(0x379),_0x347bc6(0x3fd),_0x347bc6(0x39b),_0x347bc6(0x390),_0x347bc6(0x428),_0x347bc6(0x1f0),_0x347bc6(0x331),_0x347bc6(0x39d),_0x347bc6(0x202),_0x347bc6(0x21f),_0x347bc6(0x21b),_0x347bc6(0x284),_0x347bc6(0x3c3),'@univerjs/ui',_0x347bc6(0x2d7),_0x347bc6(0x37f),_0x347bc6(0x274)],_0x46777e):(_0x5a3b19=typeof globalThis<'u'?globalThis:_0x5a3b19||self,_0x46777e(_0x5a3b19[_0x347bc6(0x3cd)]={},_0x5a3b19[_0x347bc6(0x3a8)],_0x5a3b19[_0x347bc6(0x3d2)],_0x5a3b19['UniverEngineRender'],_0x5a3b19[_0x347bc6(0x242)],_0x5a3b19[_0x347bc6(0x2ef)],_0x5a3b19[_0x347bc6(0x464)],_0x5a3b19[_0x347bc6(0x1f0)],_0x5a3b19[_0x347bc6(0x260)],_0x5a3b19[_0x347bc6(0x407)],_0x5a3b19[_0x347bc6(0x445)],_0x5a3b19[_0x347bc6(0x430)],_0x5a3b19['rxjs'][_0x347bc6(0x2d8)],_0x5a3b19[_0x347bc6(0x270)],_0x5a3b19[_0x347bc6(0x3aa)],_0x5a3b19['UniverUi'],_0x5a3b19['UniverDesign'],_0x5a3b19[_0x347bc6(0x3aa)],_0x5a3b19[_0x347bc6(0x3e5)]));}(this,function(_0x20de07,_0x42d1b5,_0x356f55,_0x6d1524,_0x40dcae,_0x5dd295,_0x1baeda,_0x2c71f6,_0x1499bf,_0x13e3d3,_0x5ed213,_0xa79b04,_0x40fd46,_0x1cc7b5,_0xb84d71,_0x25054a,_0x55c065,_0x20acc3,_0x37ae61){'use strict';const _0x33f13c=_0x6c71;var _0x2d76b7=Object[_0x33f13c(0x317)],_0x64d692=(_0x450172,_0x31bbef,_0x5503d2)=>_0x31bbef in _0x450172?_0x2d76b7(_0x450172,_0x31bbef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5503d2}):_0x450172[_0x31bbef]=_0x5503d2,_0x428fe9=(_0x53e154,_0x49e583,_0x27be7a)=>_0x64d692(_0x53e154,typeof _0x49e583!=_0x33f13c(0x391)?_0x49e583+'':_0x49e583,_0x27be7a),_0x28413b=Object['getOwnPropertyDescriptor'],_0x3083f7=(_0xad6c87,_0x14635a,_0x57ad05,_0x8c2869)=>{const _0xd33717=_0x33f13c;for(var _0x42a082=_0x8c2869>0x1?void 0x0:_0x8c2869?_0x28413b(_0x14635a,_0x57ad05):_0x14635a,_0x2cc535=_0xad6c87[_0xd33717(0x1fa)]-0x1,_0x366927;_0x2cc535>=0x0;_0x2cc535--)(_0x366927=_0xad6c87[_0x2cc535])&&(_0x42a082=_0x366927(_0x42a082)||_0x42a082);return _0x42a082;},_0x2b6611=(_0x3e5274,_0x395e2c)=>(_0x2fecfa,_0x280e6f)=>_0x395e2c(_0x2fecfa,_0x280e6f,_0x3e5274);let _0x3d0acb=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0x2c72bf,_0x267db5){const _0x25d7d8=_0x33f13c;super(),this[_0x25d7d8(0x347)]=_0x2c72bf,this[_0x25d7d8(0x439)]=_0x267db5,this['_init']();}[_0x33f13c(0x38e)](){const _0x3aaaa3=_0x33f13c,_0x2cc04f=this;this['disposeWithMe'](this[_0x3aaaa3(0x347)][_0x3aaaa3(0x251)]({'onBeforePasteImage':async _0x1e07e4=>{const _0x298345=_0x3aaaa3,_0x1eb00c=await _0x2cc04f[_0x298345(0x439)][_0x298345(0x321)](_0x1e07e4);return _0x1eb00c?{'source':_0x1eb00c['source'],'imageSourceType':_0x1eb00c[_0x298345(0x457)]}:null;}}));}};_0x3d0acb=_0x3083f7([_0x2b6611(0x0,_0x5dd295[_0x33f13c(0x1e0)]),_0x2b6611(0x1,_0x1baeda[_0x33f13c(0x203)])],_0x3d0acb);const _0x46c503=['purple.300',_0x33f13c(0x2da),_0x33f13c(0x3c2),_0x33f13c(0x269),_0x33f13c(0x1e4),_0x33f13c(0x402)];class _0x833117 extends _0x356f55[_0x33f13c(0x2ce)]{constructor(){const _0x441a87=_0x33f13c;super(...arguments),_0x428fe9(this,'_assignedColors',new Map()),_0x428fe9(this,_0x441a87(0x299),0x0);}[_0x33f13c(0x36f)](_0x28f6ea){const _0x45032d=_0x33f13c;if(this[_0x45032d(0x3ea)]['has'](_0x28f6ea))return this[_0x45032d(0x3ea)]['get'](_0x28f6ea);const _0x1027b5=_0x46c503[this[_0x45032d(0x299)]];return this[_0x45032d(0x299)]=(this['_colorIndex']+0x1)%_0x46c503[_0x45032d(0x1fa)],this[_0x45032d(0x3ea)][_0x45032d(0x3c7)](_0x28f6ea,_0x1027b5),_0x1027b5;}}function _0x4d7cab(_0x475631){const _0x211413=_0x33f13c;let _0x47f792='';for(const _0x5c15c4 of _0x475631){const {startOffset:_0x3e0153,endOffset:_0x5aa9c6,isActive:_0x30d43c,rangeType:_0x32e8b2,segmentId:_0x2f98d1,segmentPage:_0x1ce268}=_0x5c15c4;_0x47f792[_0x211413(0x1fa)]&&(_0x47f792+=','),_0x47f792+=_0x3e0153+':'+_0x5aa9c6+':'+(_0x30d43c?'1':'0')+':'+_0x32e8b2+':'+_0x2f98d1+':'+_0x1ce268;}return _0x47f792;}function _0x14bb11(_0x5c3c07){const _0x3d24ca=_0x33f13c,_0x5897a0=_0x5c3c07[_0x3d24ca(0x3bf)](','),_0xa9c71b=[];for(const _0x26d935 of _0x5897a0){const [_0x40fe93,_0x14d2d3,_0x529f79,_0x3103ef,_0xcde03a,_0x4d0056]=_0x26d935[_0x3d24ca(0x3bf)](':');_0xa9c71b['push']({'startOffset':Number(_0x40fe93),'endOffset':Number(_0x14d2d3),'collapsed':_0x40fe93===_0x14d2d3,'isActive':_0x529f79==='1','rangeType':_0x3103ef===_0x356f55['DOC_RANGE_TYPE'][_0x3d24ca(0x3b7)]?_0x356f55[_0x3d24ca(0x3ff)][_0x3d24ca(0x3b7)]:_0x356f55[_0x3d24ca(0x3ff)]['RECT'],'segmentId':typeof _0xcde03a=='string'?String(_0xcde03a):'','segmentPage':Number(_0x4d0056!=null?_0x4d0056:-0x1)});}return _0xa9c71b['some'](_0x1ad884=>_0x1ad884[_0x3d24ca(0x216)])||(_0xa9c71b[0x0]['isActive']=!0x0),_0xa9c71b;}class _0x3e3de3 extends _0x356f55[_0x33f13c(0x381)]{constructor(){const _0x493fb6=_0x33f13c;super(...arguments),_0x428fe9(this,_0x493fb6(0x454),new _0x2c71f6[(_0x493fb6(0x29c))](null)),_0x428fe9(this,_0x493fb6(0x34a),this[_0x493fb6(0x454)][_0x493fb6(0x365)]());}[_0x33f13c(0x2d4)](_0x3bcdd7){const _0x298fe2=_0x33f13c,{unitID:_0x3b1255,memberID:_0x23d29e,textRanges:_0x1321af}=_0x3bcdd7,_0x32ccec=_0x4d7cab(_0x1321af);if(_0x32ccec==='')return;const _0x5c9a5d={'unitID':_0x3b1255,'memberID':_0x23d29e,'selection':_0x32ccec};this[_0x298fe2(0x454)][_0x298fe2(0x2e7)](_0x5c9a5d);}}var _0x11006c=Object[_0x33f13c(0x1eb)],_0xee3007=(_0x343381,_0x1aabad,_0x1c1c2b,_0x1e385d)=>{const _0x56c1e9=_0x33f13c;for(var _0x3485d1=_0x1e385d>0x1?void 0x0:_0x1e385d?_0x11006c(_0x1aabad,_0x1c1c2b):_0x1aabad,_0x678bd1=_0x343381[_0x56c1e9(0x1fa)]-0x1,_0x36c8f9;_0x678bd1>=0x0;_0x678bd1--)(_0x36c8f9=_0x343381[_0x678bd1])&&(_0x3485d1=_0x36c8f9(_0x3485d1)||_0x3485d1);return _0x3485d1;},_0x1adf90=(_0x14d5bb,_0x39d8cf)=>(_0x56a26b,_0x455b80)=>_0x39d8cf(_0x56a26b,_0x455b80,_0x14d5bb);const _0x36db1d=0x12c,_0x263640=0x64;let _0x54b38c=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0x464481,_0x2d778e,_0x578fea,_0x472f71,_0x55106c,_0x5a76a4,_0x2599ac,_0x17f2e3,_0x3697a0){const _0x2577a8=_0x33f13c;super(),_0x428fe9(this,_0x2577a8(0x1db),!0x1),_0x428fe9(this,_0x2577a8(0x38e),!0x1),_0x428fe9(this,_0x2577a8(0x3d6),new _0x2c71f6[(_0x2577a8(0x29c))](new Map())),_0x428fe9(this,_0x2577a8(0x29b),this[_0x2577a8(0x3d6)][_0x2577a8(0x365)]()),_0x428fe9(this,_0x2577a8(0x1d7),new _0x2c71f6[(_0x2577a8(0x29c))]([])),_0x428fe9(this,_0x2577a8(0x432),this[_0x2577a8(0x1d7)][_0x2577a8(0x225)](_0x2c71f6[_0x2577a8(0x1f4)](_0x36db1d))),_0x428fe9(this,_0x2577a8(0x325),_0x356f55[_0x2577a8(0x28d)](_0x19698e=>{const _0x5bf4d8=_0x2577a8,_0x459d29={'eventID':_0x1499bf[_0x5bf4d8(0x312)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5bf4d8(0x23f)],'memberID':this[_0x5bf4d8(0x392)][_0x5bf4d8(0x215)](),'selection':_0x4d7cab(_0x19698e)}};this[_0x5bf4d8(0x392)][_0x5bf4d8(0x31d)](_0x459d29,this[_0x5bf4d8(0x23f)]);},_0x263640)),(this[_0x2577a8(0x23f)]=_0x464481,this[_0x2577a8(0x392)]=_0x2d778e,this[_0x2577a8(0x465)]=_0x578fea,this[_0x2577a8(0x1e7)]=_0x472f71,this[_0x2577a8(0x32e)]=_0x55106c,this[_0x2577a8(0x3f0)]=_0x5a76a4,this[_0x2577a8(0x42c)]=_0x2599ac,this[_0x2577a8(0x414)]=_0x17f2e3,this[_0x2577a8(0x1e1)]=_0x3697a0);}get[_0x33f13c(0x426)](){const _0x4193f0=_0x33f13c;return this[_0x4193f0(0x3d6)][_0x4193f0(0x25b)]();}get[_0x33f13c(0x433)](){const _0x265345=_0x33f13c;return this[_0x265345(0x1d7)][_0x265345(0x25b)]();}[_0x33f13c(0x27a)](){const _0xc2c152=_0x33f13c;super[_0xc2c152(0x27a)](),this[_0xc2c152(0x3d6)][_0xc2c152(0x2e7)](new Map()),this['_cursorInfo$']['complete'](),this[_0xc2c152(0x1d7)][_0xc2c152(0x2e7)]([]),this[_0xc2c152(0x1d7)][_0xc2c152(0x2cb)]();}['init'](){const _0x285767=_0x33f13c;this[_0x285767(0x38e)]||(this[_0x285767(0x38e)]=!0x0,this[_0x285767(0x392)][_0x285767(0x2fc)][_0x285767(0x225)](_0x2c71f6[_0x285767(0x3fe)](this[_0x285767(0x23a)]))['subscribe'](_0x4b6f23=>{const _0x4360e0=_0x285767;_0x4b6f23===_0x42d1b5[_0x4360e0(0x294)][_0x4360e0(0x24c)]?this['_toggleOnline']():this[_0x4360e0(0x273)]();}),this[_0x285767(0x392)][_0x285767(0x278)]['pipe'](_0x2c71f6['takeUntil'](this[_0x285767(0x23a)]))[_0x285767(0x1de)](_0x1b1614=>{const _0x3e5b3f=_0x285767,_0x156d24=_0x1b1614[_0x3e5b3f(0x2b1)];_0x156d24===_0x1499bf['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1b1614),_0x156d24===_0x1499bf['CollaborationEvent'][_0x3e5b3f(0x37b)]&&this[_0x3e5b3f(0x3eb)](_0x1b1614);}),this[_0x285767(0x3a9)](this[_0x285767(0x1e1)][_0x285767(0x27c)](_0x551687=>{const _0x51b459=_0x285767,_0x4f866a=_0x551687[_0x51b459(0x204)];_0x4f866a!=null&&this[_0x51b459(0x1db)]&&_0x551687['id']===_0x13e3d3[_0x51b459(0x3c9)]['id']&&_0x4f866a['unitId']===this['unitID']&&_0x4f866a[_0x51b459(0x233)]===!0x1&&_0x4f866a[_0x51b459(0x2d3)][_0x51b459(0x1fa)]>0x0&&this[_0x51b459(0x325)](_0x4f866a[_0x51b459(0x2d3)]);})),this[_0x285767(0x3f0)][_0x285767(0x34a)][_0x285767(0x225)](_0x2c71f6[_0x285767(0x3fe)](this[_0x285767(0x23a)]))[_0x285767(0x1de)](_0x4ebe80=>{const _0x35c3d1=_0x285767;if((_0x4ebe80==null?void 0x0:_0x4ebe80[_0x35c3d1(0x23f)])!==this['unitID'])return;const _0x174313={'eventID':_0x1499bf[_0x35c3d1(0x312)]['UPDATE_CURSOR'],'data':_0x4ebe80};this['_onCursorUpdate'](_0x174313);}),this[_0x285767(0x3a9)](this['_commandService']['onCommandExecuted'](_0xc55513=>{const _0x5c359d=_0x285767;if(_0xc55513['params']==null)return;const _0x532562=_0xc55513[_0x5c359d(0x204)];if(_0xc55513['id']!==_0x13e3d3[_0x5c359d(0x2ba)]['id']||_0x532562[_0x5c359d(0x451)]!==this[_0x5c359d(0x23f)])return;const _0x39f9d4={'id':_0x5c359d(0x213),'params':_0x532562},_0x209b4f=this[_0x5c359d(0x426)];for(const [_0x20dd29,_0x17dcc9]of _0x209b4f){const _0x4ac0a4={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x17dcc9[_0x5c359d(0x2d3)]}},_0x3ab244=this[_0x5c359d(0x42c)][_0x5c359d(0x2ad)](_0x39f9d4,_0x4ac0a4,!0x1);if(_0x1499bf[_0x5c359d(0x2f3)](_0x3ab244))throw _0x3ab244[_0x5c359d(0x41b)];_0x209b4f[_0x5c359d(0x3c7)](_0x20dd29,{..._0x17dcc9,'ranges':_0x3ab244[_0x5c359d(0x268)][_0x5c359d(0x204)][_0x5c359d(0x443)]});}queueMicrotask(()=>{const _0x2dd0cc=_0x5c359d;this[_0x2dd0cc(0x3d6)]['next'](_0x209b4f);});})));}[_0x33f13c(0x398)](_0x1fc156){const _0x39357b=_0x33f13c;var _0x4a449c,_0x219c26;const {memberID:_0x3b7240,selection:_0x24c23c}=_0x1fc156[_0x39357b(0x2b4)],_0x3321e9=_0x14bb11(_0x24c23c),_0x8bcc5a=(_0x219c26=(_0x4a449c=this[_0x39357b(0x32e)][_0x39357b(0x30b)](this[_0x39357b(0x23f)],_0x3b7240))==null?void 0x0:_0x4a449c[_0x39357b(0x1e2)])!=null?_0x219c26:_0x39357b(0x276),_0x3f6c13={'color':this[_0x39357b(0x1e7)][_0x39357b(0x36f)](_0x3b7240),'name':_0x8bcc5a,'ranges':_0x3321e9},_0x9419df=this[_0x39357b(0x426)];_0x9419df[_0x39357b(0x3c7)](_0x3b7240,_0x3f6c13),this[_0x39357b(0x3d6)]['next'](_0x9419df);}[_0x33f13c(0x3eb)](_0x11746e){const _0x3ce055=_0x33f13c,{memberID:_0x1c0eea}=_0x11746e[_0x3ce055(0x2b4)],_0x5f3ffd=this['cursorInfo'];_0x5f3ffd['delete'](_0x1c0eea),this[_0x3ce055(0x3d6)][_0x3ce055(0x2e7)](_0x5f3ffd);}[_0x33f13c(0x327)](){const _0x265f79=_0x33f13c;var _0xa11227;if(this[_0x265f79(0x1db)]=!0x0,((_0xa11227=this[_0x265f79(0x414)][_0x265f79(0x27b)]())==null?void 0x0:_0xa11227[_0x265f79(0x282)]())!==this[_0x265f79(0x23f)])return;const _0x1d9c4e=this['_injector'][_0x265f79(0x3dc)](_0x13e3d3[_0x265f79(0x302)])['getDocRanges']();Array[_0x265f79(0x3f8)](_0x1d9c4e)&&_0x1d9c4e[_0x265f79(0x1fa)]>0x0&&this[_0x265f79(0x325)](_0x1d9c4e);}[_0x33f13c(0x273)](){const _0x2e0790=_0x33f13c;this[_0x2e0790(0x1db)]=!0x1;}};_0x54b38c=_0xee3007([_0x1adf90(0x2,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x1e3)])),_0x1adf90(0x3,_0x356f55[_0x33f13c(0x245)](_0x833117)),_0x1adf90(0x4,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x2d1)])),_0x1adf90(0x5,_0x356f55[_0x33f13c(0x245)](_0x3e3de3)),_0x1adf90(0x6,_0x1499bf[_0x33f13c(0x3d1)]),_0x1adf90(0x7,_0x356f55['IUniverInstanceService']),_0x1adf90(0x8,_0x356f55[_0x33f13c(0x3b6)])],_0x54b38c);var _0x17b850=Object[_0x33f13c(0x1eb)],_0x539331=(_0x4cf5f2,_0xe2b2db,_0x176fe8,_0x57a532)=>{const _0x597b6d=_0x33f13c;for(var _0x31ffab=_0x57a532>0x1?void 0x0:_0x57a532?_0x17b850(_0xe2b2db,_0x176fe8):_0xe2b2db,_0x52b12d=_0x4cf5f2[_0x597b6d(0x1fa)]-0x1,_0x187d23;_0x52b12d>=0x0;_0x52b12d--)(_0x187d23=_0x4cf5f2[_0x52b12d])&&(_0x31ffab=_0x187d23(_0x31ffab)||_0x31ffab);return _0x31ffab;},_0x45e79c=(_0x4cd2e9,_0x5181b7)=>(_0x1eb0d2,_0x29891f)=>_0x5181b7(_0x1eb0d2,_0x29891f,_0x4cd2e9);const _0x3c0c51=0x12c,_0x58175b=0x64,_0x8034fe=()=>{let _0x4e56e3=[],_0x294622=!0x1;return _0x547944=>{const _0x26664d=_0x6c71;_0x4e56e3[_0x26664d(0x249)](_0x547944),_0x294622||(_0x294622=!0x0,setTimeout(()=>{const _0x3664a6=_0x26664d;_0x4e56e3[_0x3664a6(0x288)](_0x2a1b3c=>_0x2a1b3c()),_0x4e56e3=[],_0x294622=!0x1;}));};};let _0x1ec120=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0x4d2bcb,_0x217243,_0x266fae,_0x5c21fd,_0x40a63f,_0x160159,_0x2d148b,_0x5bc876){const _0x22841d=_0x33f13c;super(),_0x428fe9(this,_0x22841d(0x1db),!0x1),_0x428fe9(this,_0x22841d(0x38e),!0x1),_0x428fe9(this,_0x22841d(0x3d6),new _0x2c71f6[(_0x22841d(0x29c))](new Map())),_0x428fe9(this,_0x22841d(0x29b),this[_0x22841d(0x3d6)][_0x22841d(0x365)]()),_0x428fe9(this,'_roomMembers$',new _0x2c71f6[(_0x22841d(0x29c))]([])),_0x428fe9(this,_0x22841d(0x432),this[_0x22841d(0x1d7)][_0x22841d(0x225)](_0x2c71f6['debounceTime'](_0x3c0c51))),_0x428fe9(this,_0x22841d(0x325),_0x356f55[_0x22841d(0x28d)]((_0xb9cc47,_0x2ec584)=>{const _0x3603c1=_0x22841d,_0x2dcf7f={'eventID':_0x1499bf[_0x3603c1(0x312)][_0x3603c1(0x309)],'data':{'unitID':this[_0x3603c1(0x23f)],'memberID':this[_0x3603c1(0x392)][_0x3603c1(0x215)](),'selection':_0x5ed213[_0x3603c1(0x2f7)](_0xb9cc47,_0x2ec584[_0x3603c1(0x311)])}};this[_0x3603c1(0x392)][_0x3603c1(0x31d)](_0x2dcf7f,this[_0x3603c1(0x23f)]);},_0x58175b)),(this[_0x22841d(0x23f)]=_0x4d2bcb,this[_0x22841d(0x392)]=_0x217243,this[_0x22841d(0x465)]=_0x266fae,this[_0x22841d(0x1e7)]=_0x5c21fd,this['_memberService']=_0x40a63f,this[_0x22841d(0x414)]=_0x160159,this['_commandService']=_0x2d148b,this['_refRangeService']=_0x5bc876);}get[_0x33f13c(0x426)](){const _0x327ec4=_0x33f13c;return this[_0x327ec4(0x3d6)]['getValue']();}get[_0x33f13c(0x433)](){const _0x3b75ea=_0x33f13c;return this['_roomMembers$'][_0x3b75ea(0x25b)]();}[_0x33f13c(0x27a)](){const _0x292bed=_0x33f13c;super[_0x292bed(0x27a)](),this[_0x292bed(0x3d6)][_0x292bed(0x2e7)](new Map()),this[_0x292bed(0x3d6)][_0x292bed(0x2cb)](),this['_roomMembers$']['next']([]),this[_0x292bed(0x1d7)][_0x292bed(0x2cb)]();}['init'](){const _0x2f4206=_0x33f13c;this[_0x2f4206(0x38e)]||(this[_0x2f4206(0x38e)]=!0x0,this[_0x2f4206(0x392)][_0x2f4206(0x2fc)]['pipe'](_0x2c71f6[_0x2f4206(0x3fe)](this[_0x2f4206(0x23a)]))[_0x2f4206(0x1de)](_0x4a1041=>{const _0x196421=_0x2f4206;_0x4a1041===_0x42d1b5['SessionStatus'][_0x196421(0x24c)]?this['_toggleOnline']():this[_0x196421(0x273)]();}),this[_0x2f4206(0x392)][_0x2f4206(0x278)]['pipe'](_0x2c71f6[_0x2f4206(0x3fe)](this[_0x2f4206(0x23a)]))[_0x2f4206(0x1de)](_0x6fb6f3=>{const _0x5d870c=_0x2f4206,_0x6668f5=_0x6fb6f3[_0x5d870c(0x2b1)];_0x6668f5===_0x1499bf['CollaborationEvent'][_0x5d870c(0x309)]&&this['_onCursorUpdate'](_0x6fb6f3),_0x6668f5===_0x1499bf[_0x5d870c(0x312)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x6fb6f3);}),this[_0x2f4206(0x417)](),this['disposeWithMe'](this[_0x2f4206(0x1e1)]['onCommandExecuted'](_0x20d981=>{const _0x53ee50=_0x2f4206;if(this[_0x53ee50(0x1db)]&&_0x20d981['id']===_0xa79b04[_0x53ee50(0x21a)]['id']&&_0x20d981[_0x53ee50(0x204)][_0x53ee50(0x451)]===this['unitID']){const _0x4563c3=_0x20d981[_0x53ee50(0x204)];this[_0x53ee50(0x325)](_0x4563c3['subUnitId'],_0x4563c3[_0x53ee50(0x2f5)][0x0]);}})));}[_0x33f13c(0x398)](_0x5c8103){const _0x4eb041=_0x33f13c;var _0x3cd73a,_0x43185e;const {memberID:_0x34296a,selection:_0x287e93}=_0x5c8103[_0x4eb041(0x2b4)],{sheetName:_0x55227d,range:_0x3239cd}=_0x5ed213[_0x4eb041(0x3ba)](_0x287e93),_0x342b67={'name':(_0x43185e=(_0x3cd73a=this[_0x4eb041(0x32e)][_0x4eb041(0x30b)](this[_0x4eb041(0x23f)],_0x34296a))==null?void 0x0:_0x3cd73a[_0x4eb041(0x1e2)])!=null?_0x43185e:'Unknown\x20user','range':this['_getMergeRange'](_0x55227d,_0x3239cd),'sheetID':_0x55227d,'color':this[_0x4eb041(0x1e7)][_0x4eb041(0x36f)](_0x34296a),'selection':_0x287e93},_0x1fd89c=this[_0x4eb041(0x426)];_0x1fd89c[_0x4eb041(0x3c7)](_0x34296a,_0x342b67),this['_cursorInfo$']['next'](_0x1fd89c);}[_0x33f13c(0x3eb)](_0xa8db2){const _0x195442=_0x33f13c,{memberID:_0x4ac250}=_0xa8db2[_0x195442(0x2b4)],_0xd5f071=this[_0x195442(0x426)];_0xd5f071[_0x195442(0x329)](_0x4ac250),this[_0x195442(0x3d6)][_0x195442(0x2e7)](_0xd5f071);}[_0x33f13c(0x343)](_0x542185,_0x1bd45e){const _0x32d5c2=_0x33f13c;var _0x323c52,_0x4eadfc;const _0x245725=(_0x4eadfc=(_0x323c52=this[_0x32d5c2(0x414)][_0x32d5c2(0x38a)](this['unitID']))==null?void 0x0:_0x323c52['getSheetBySheetId'](_0x542185))==null?void 0x0:_0x4eadfc['getMergeData']();return(_0x245725==null?void 0x0:_0x245725[_0x32d5c2(0x2c7)](_0x3f67b1=>_0x356f55[_0x32d5c2(0x387)][_0x32d5c2(0x219)](_0x3f67b1,_0x1bd45e)))||_0x1bd45e;}[_0x33f13c(0x417)](){const _0x26f1e7=_0x33f13c,_0x5e866d=new _0x356f55[(_0x26f1e7(0x324))](),_0x3bf858=_0x8034fe(),_0xb1259b=()=>{const _0x21dd60=_0x26f1e7;_0x5e866d[_0x21dd60(0x27a)]();const _0x45efa1=(_0x3e6ca2,_0x532d31,_0x2ea737,_0x394583)=>{const _0xbc3db2=_0x21dd60;let _0x3e2413=[];switch(_0x3e6ca2['id']){case _0xa79b04['EffectRefRangId'][_0xbc3db2(0x25d)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x29e)](_0x3e6ca2,_0x394583);break;}case _0xa79b04['EffectRefRangId'][_0xbc3db2(0x3a5)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x316)](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x22b)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x1ed)](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x2b9)]:{_0x3e2413=_0xa79b04['handleInsertRangeMoveDown'](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x1d1)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x2e8)](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x33a)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x26c)](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x221)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x214)](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x244)]:{_0x3e2413=_0xa79b04['handleIRemoveCol'](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x259)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x1f2)](_0x3e6ca2,_0x394583);break;}}const _0x30a15c=_0xa79b04['runRefRangeMutations'](_0x3e2413,_0x394583),_0x3494c8=this[_0xbc3db2(0x426)]['get'](_0x532d31);if(_0x3494c8&&_0x30a15c){const _0xdb071a={..._0x3494c8,'range':_0x30a15c};this[_0xbc3db2(0x426)][_0xbc3db2(0x3c7)](_0x532d31,_0xdb071a),_0x3bf858(()=>{const _0x3ba4be=_0xbc3db2,_0xcf97a5=this[_0x3ba4be(0x323)]['registerRefRange'](_0x30a15c,_0x59791f=>(_0xcf97a5[_0x3ba4be(0x27a)](),_0x45efa1(_0x59791f,_0x532d31,_0x2ea737,_0x30a15c)));_0x5e866d[_0x3ba4be(0x44f)](_0xcf97a5);});}return{'redos':[],'undos':[]};};this[_0x21dd60(0x426)][_0x21dd60(0x288)]((_0x1ff775,_0x5d1ce8)=>{const _0x3b1247=_0x21dd60,{range:_0x15c7b6,sheetID:_0x52dbe2}=_0x1ff775,_0x4c8316=this['_refRangeService'][_0x3b1247(0x3c1)](_0x15c7b6,_0x30810a=>(_0x4c8316[_0x3b1247(0x27a)](),_0x45efa1(_0x30810a,_0x5d1ce8,_0x52dbe2,_0x15c7b6)));_0x5e866d[_0x3b1247(0x44f)](_0x4c8316);});};this[_0x26f1e7(0x3a9)](_0x356f55[_0x26f1e7(0x2d5)](this[_0x26f1e7(0x3d6)]['subscribe'](()=>{_0xb1259b();})));}['_toggleOnline'](){const _0x37acc7=_0x33f13c;var _0x4d4d51,_0x408c69;if(this[_0x37acc7(0x1db)]=!0x0,((_0x4d4d51=this[_0x37acc7(0x414)][_0x37acc7(0x27b)]())==null?void 0x0:_0x4d4d51[_0x37acc7(0x282)]())!==this[_0x37acc7(0x23f)])return;const _0x1722b9=(_0x408c69=this[_0x37acc7(0x465)]['get'](_0xa79b04[_0x37acc7(0x290)])[_0x37acc7(0x3dd)]())==null?void 0x0:_0x408c69[0x0],_0x2330a2=this['_univerInstanceService'][_0x37acc7(0x1f7)](_0x356f55[_0x37acc7(0x2d2)]['UNIVER_SHEET'])[_0x37acc7(0x35b)]();_0x1722b9&&_0x2330a2&&this[_0x37acc7(0x325)](_0x2330a2[_0x37acc7(0x1da)](),_0x1722b9);}[_0x33f13c(0x273)](){const _0x41034a=_0x33f13c;this[_0x41034a(0x1db)]=!0x1;}};_0x1ec120=_0x539331([_0x45e79c(0x2,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x1e3)])),_0x45e79c(0x3,_0x356f55[_0x33f13c(0x245)](_0x833117)),_0x45e79c(0x4,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x2d1)])),_0x45e79c(0x5,_0x356f55['IUniverInstanceService']),_0x45e79c(0x6,_0x356f55[_0x33f13c(0x3b6)]),_0x45e79c(0x7,_0x356f55['Inject'](_0xa79b04[_0x33f13c(0x337)]))],_0x1ec120);var _0x1ecfbe=Object['getOwnPropertyDescriptor'],_0x113051=(_0x30e974,_0x398e7a,_0x446820,_0x20430a)=>{const _0x2f9071=_0x33f13c;for(var _0x136342=_0x20430a>0x1?void 0x0:_0x20430a?_0x1ecfbe(_0x398e7a,_0x446820):_0x398e7a,_0x5788cf=_0x30e974[_0x2f9071(0x1fa)]-0x1,_0x257f61;_0x5788cf>=0x0;_0x5788cf--)(_0x257f61=_0x30e974[_0x5788cf])&&(_0x136342=_0x257f61(_0x136342)||_0x136342);return _0x136342;},_0x45a55c=(_0x499a19,_0x4e545f)=>(_0x336426,_0x139390)=>_0x4e545f(_0x336426,_0x139390,_0x499a19);let _0x10d9f8=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0xd8fdb5,_0xd44597,_0x1b316){const _0x5ec120=_0x33f13c;super(),_0x428fe9(this,_0x5ec120(0x2ab),new Map()),_0x428fe9(this,_0x5ec120(0x275),new _0x2c71f6[(_0x5ec120(0x3c8))]()),(this[_0x5ec120(0x414)]=_0xd8fdb5,this[_0x5ec120(0x465)]=_0xd44597,this[_0x5ec120(0x295)]=_0x1b316,this[_0x5ec120(0x38e)]());}[_0x33f13c(0x27a)](){const _0x50a229=_0x33f13c;super[_0x50a229(0x27a)](),this[_0x50a229(0x275)][_0x50a229(0x2cb)](),this['_entities'][_0x50a229(0x288)](_0x17f442=>_0x17f442[_0x50a229(0x27a)]());}[_0x33f13c(0x2fb)](_0x176b8d){const _0x3d3378=_0x33f13c;return this[_0x3d3378(0x2ab)]['has'](_0x176b8d)?this[_0x3d3378(0x2ab)][_0x3d3378(0x3dc)](_0x176b8d)['cursorInfo$']:this[_0x3d3378(0x275)][_0x3d3378(0x225)](_0x2c71f6[_0x3d3378(0x448)](_0x4efdad=>_0x4efdad[_0x3d3378(0x23f)]===_0x176b8d),_0x2c71f6[_0x3d3378(0x1c6)](_0x3e6d0e=>_0x3e6d0e['cursorInfo$']));}[_0x33f13c(0x38e)](){const _0x547e4d=_0x33f13c;this[_0x547e4d(0x414)][_0x547e4d(0x353)](_0x356f55[_0x547e4d(0x2d2)][_0x547e4d(0x463)])[_0x547e4d(0x225)](_0x2c71f6[_0x547e4d(0x3fe)](this[_0x547e4d(0x23a)]))[_0x547e4d(0x1de)](async _0x37c26f=>{const _0x196539=_0x547e4d,_0x97eb98=_0x37c26f[_0x196539(0x282)](),_0x337626=await this[_0x196539(0x2e0)](_0x97eb98);this['_entityInit$'][_0x196539(0x2e7)](_0x337626),this[_0x196539(0x2ab)]['set'](_0x97eb98,_0x337626);}),this[_0x547e4d(0x414)][_0x547e4d(0x353)](_0x356f55[_0x547e4d(0x2d2)][_0x547e4d(0x307)])[_0x547e4d(0x225)](_0x2c71f6['takeUntil'](this[_0x547e4d(0x23a)]))[_0x547e4d(0x225)](_0x2c71f6['filter'](_0x3d56c1=>!_0x3d56c1[_0x547e4d(0x282)]()['startsWith']('__')))['subscribe'](async _0x1ae397=>{const _0x424e79=_0x547e4d,_0x4996d6=_0x1ae397[_0x424e79(0x282)](),_0x30d752=await this[_0x424e79(0x411)](_0x4996d6);this[_0x424e79(0x275)][_0x424e79(0x2e7)](_0x30d752),this[_0x424e79(0x2ab)][_0x424e79(0x3c7)](_0x4996d6,_0x30d752);}),_0x2c71f6[_0x547e4d(0x304)](this[_0x547e4d(0x414)][_0x547e4d(0x462)](_0x356f55[_0x547e4d(0x2d2)][_0x547e4d(0x307)]),this[_0x547e4d(0x414)][_0x547e4d(0x462)](_0x356f55[_0x547e4d(0x2d2)][_0x547e4d(0x463)]))[_0x547e4d(0x225)](_0x2c71f6[_0x547e4d(0x3fe)](this[_0x547e4d(0x23a)]))[_0x547e4d(0x1de)](_0x389c9b=>{const _0x3c4f0f=_0x547e4d,_0x219b1f=_0x389c9b[_0x3c4f0f(0x282)](),_0xc1479b=this[_0x3c4f0f(0x2ab)][_0x3c4f0f(0x3dc)](_0x219b1f);_0xc1479b&&(_0xc1479b[_0x3c4f0f(0x27a)](),this[_0x3c4f0f(0x2ab)][_0x3c4f0f(0x329)](_0x219b1f));});}async['_startSheetCollabCursor'](_0x3deb76){const _0x3fc72e=_0x33f13c,_0x423807=await this['_collabSessionService'][_0x3fc72e(0x248)](_0x3deb76),_0xb5379d=this['_injector'][_0x3fc72e(0x267)](_0x1ec120,_0x3deb76,_0x423807);return _0xb5379d[_0x3fc72e(0x2de)](),_0xb5379d;}async[_0x33f13c(0x411)](_0x4f447c){const _0x11a366=_0x33f13c,_0x5702c4=await this[_0x11a366(0x295)][_0x11a366(0x248)](_0x4f447c),_0x2efd8b=this[_0x11a366(0x465)][_0x11a366(0x267)](_0x54b38c,_0x4f447c,_0x5702c4);return _0x2efd8b[_0x11a366(0x2de)](),_0x2efd8b;}};_0x10d9f8=_0x113051([_0x45a55c(0x0,_0x356f55[_0x33f13c(0x1d6)]),_0x45a55c(0x1,_0x356f55[_0x33f13c(0x245)](_0x356f55['Injector'])),_0x45a55c(0x2,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x2c0)]))],_0x10d9f8);const _0x25c26a=0x14,_0x227365=0xc8,_0x8473d6=0x4,_0x62cc33=0x5;function _0x1ac6d8(_0x115a75,_0x423f43){const _0x2fb37c=_0x33f13c;let {radius:_0x43c16f,width:_0x27a729,height:_0x2dee83}=_0x423f43;_0x43c16f=_0x43c16f!=null?_0x43c16f:0x0,_0x27a729=_0x27a729!=null?_0x27a729:0x1e,_0x2dee83=_0x2dee83!=null?_0x2dee83:0x1e;let _0x23ddf7=0x0,_0x3eee4a=0x0,_0x4dbc88=0x0;_0x23ddf7=_0x3eee4a=_0x4dbc88=Math['min'](_0x43c16f,_0x27a729/0x2,_0x2dee83/0x2),_0x115a75['beginPath'](),_0x115a75[_0x2fb37c(0x394)](_0x23ddf7,0x0),_0x115a75[_0x2fb37c(0x3b4)](_0x27a729-_0x3eee4a,0x0),_0x115a75['arc'](_0x27a729-_0x3eee4a,_0x3eee4a,_0x3eee4a,Math['PI']*0x3/0x2,0x0,!0x1),_0x115a75['lineTo'](_0x27a729,_0x2dee83-_0x4dbc88),_0x115a75[_0x2fb37c(0x376)](_0x27a729-_0x4dbc88,_0x2dee83-_0x4dbc88,_0x4dbc88,0x0,Math['PI']/0x2,!0x1),_0x115a75[_0x2fb37c(0x3b4)](0x0,_0x2dee83),_0x115a75['lineTo'](0x0,_0x23ddf7),_0x115a75[_0x2fb37c(0x376)](_0x23ddf7,_0x23ddf7,_0x23ddf7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x115a75['closePath'](),_0x423f43[_0x2fb37c(0x2b6)]&&(_0x115a75[_0x2fb37c(0x1f8)](),_0x115a75[_0x2fb37c(0x298)]=_0x423f43[_0x2fb37c(0x2b6)],_0x423f43[_0x2fb37c(0x293)]===_0x2fb37c(0x2c5)?_0x115a75[_0x2fb37c(0x2b6)]('evenodd'):_0x115a75[_0x2fb37c(0x2b6)](),_0x115a75[_0x2fb37c(0x2a7)]());}class _0x2d2158 extends _0x6d1524[_0x33f13c(0x1f3)]{constructor(_0x544983,_0x27a57a){const _0x44dbcf=_0x33f13c;super(_0x544983,_0x27a57a),_0x428fe9(this,_0x44dbcf(0x3cb)),_0x428fe9(this,_0x44dbcf(0x34c)),(this[_0x44dbcf(0x3cb)]=_0x27a57a==null?void 0x0:_0x27a57a[_0x44dbcf(0x3cb)],this[_0x44dbcf(0x34c)]=_0x27a57a==null?void 0x0:_0x27a57a[_0x44dbcf(0x34c)]);}static['drawWith'](_0x48c034,_0x36edd7){const _0xdb468c=_0x33f13c,{text:_0x176103,color:_0x47bbd2}=_0x36edd7;_0x48c034[_0xdb468c(0x1f8)](),_0x48c034[_0xdb468c(0x235)]=_0xdb468c(0x238);const _0x4254b8=_0x48c034[_0xdb468c(0x280)](_0x176103)[_0xdb468c(0x2db)],_0x4529b=Math[_0xdb468c(0x2af)](_0x4254b8+0x2*_0x8473d6,_0x227365);_0x1ac6d8(_0x48c034,{'height':_0x25c26a,'radius':0x4,'width':_0x4529b,'fill':_0x47bbd2}),_0x48c034[_0xdb468c(0x298)]=_0xdb468c(0x301);const _0x20bac0=_0x8473d6,_0x3269ec=_0x25c26a-_0x62cc33,_0x1aff0f=_0x227365-0x2*_0x8473d6;if(_0x4254b8>_0x1aff0f){let _0x237327='',_0x431bf8=0x0;for(const _0x38294e of _0x176103){const _0xc5a5d8=_0x48c034['measureText'](_0x38294e)[_0xdb468c(0x2db)];if(_0x431bf8+_0xc5a5d8<=_0x1aff0f-_0x48c034[_0xdb468c(0x280)](_0xdb468c(0x43b))[_0xdb468c(0x2db)])_0x237327+=_0x38294e,_0x431bf8+=_0xc5a5d8;else{_0x237327+=_0xdb468c(0x43b);break;}}_0x48c034[_0xdb468c(0x261)](_0x237327,_0x20bac0,_0x3269ec);}else _0x48c034[_0xdb468c(0x261)](_0x176103,_0x20bac0,_0x3269ec);_0x48c034['restore']();}[_0x33f13c(0x39e)](_0x1aad18){const _0x2c497b=_0x33f13c;_0x2d2158[_0x2c497b(0x29f)](_0x1aad18,this);}}const _0x59c122=_0x33f13c(0x2cf),_0x5ee3d7=_0x33f13c(0x22f),_0x577519=_0x33f13c(0x429),_0x30d657=0x6,_0x45a333=1.5,_0xb3fff6=0x4,_0xd83379=1.5,_0x439ca2=_0x33f13c(0x2e9);class _0x4abd47{constructor(_0x396fcb,_0x5d05d2,_0x18f999,_0xd07a3a){const _0x499aa5=_0x33f13c;_0x428fe9(this,_0x499aa5(0x3f5),[]),_0x428fe9(this,'_anchor',null),_0x428fe9(this,_0x499aa5(0x3d8),null),_0x428fe9(this,'_anchorDot',null),_0x428fe9(this,'_hideTimer',null),_0x428fe9(this,_0x499aa5(0x421),null),(this[_0x499aa5(0x422)]=_0x396fcb,this[_0x499aa5(0x3e8)]=_0x5d05d2,this[_0x499aa5(0x3ab)]=_0x18f999,this[_0x499aa5(0x252)]=_0xd07a3a,this[_0x499aa5(0x326)]());}set[_0x33f13c(0x44c)](_0x3a4488){const _0x50aa4a=_0x33f13c;_0x3a4488?(this['_anchorDot']&&this['_anchorDot'][_0x50aa4a(0x322)](),this[_0x50aa4a(0x3d8)]&&this[_0x50aa4a(0x3d8)][_0x50aa4a(0x2c8)]()):(this[_0x50aa4a(0x346)]&&this[_0x50aa4a(0x346)][_0x50aa4a(0x2c8)](),this[_0x50aa4a(0x3d8)]&&this[_0x50aa4a(0x3d8)][_0x50aa4a(0x322)]());}[_0x33f13c(0x27a)](){const _0xeeec67=_0x33f13c;for(const _0x72b7ae of this['_shapes'])_0x72b7ae['dispose']();this[_0xeeec67(0x3d8)]&&this['_textBubble']['dispose'](),this[_0xeeec67(0x346)]&&this[_0xeeec67(0x346)][_0xeeec67(0x27a)](),this[_0xeeec67(0x23d)]&&this[_0xeeec67(0x23d)][_0xeeec67(0x27a)](),this[_0xeeec67(0x421)]&&this[_0xeeec67(0x421)]();}[_0x33f13c(0x326)](){const _0x10b26e=_0x33f13c;var _0x16478d;const {_docSkeleton:_0x557fe1,_document:_0x228a36}=this,{color:_0x282d2d,name:_0x1f11e3,ranges:_0x4348ec}=this[_0x10b26e(0x422)],_0x11ad9d=_0x228a36[_0x10b26e(0x38d)](),{docsLeft:_0x2b5764,docsTop:_0x4f7947}=_0x11ad9d,_0x2da50d=new _0x5dd295[(_0x10b26e(0x2f4))](_0x11ad9d,_0x557fe1);for(const {startOffset:_0x102e35,endOffset:_0x142c9e,rangeType:_0x3b2d40,segmentId:_0x999269,segmentPage:_0x5d6b8c,collapsed:_0x1b6c99,isActive:_0x1a9b9c}of _0x4348ec){const _0x4fc060=_0x557fe1[_0x10b26e(0x25c)](_0x102e35,!0x0,_0x999269,_0x5d6b8c);let _0x1c4360=_0x557fe1[_0x10b26e(0x25c)](_0x142c9e,!0x0,_0x999269,_0x5d6b8c);if(_0x1c4360==null&&(_0x1c4360=_0x557fe1[_0x10b26e(0x25c)](_0x142c9e-0x1,!0x1,_0x999269,_0x5d6b8c)),_0x1a9b9c){const {contentBoxPointGroup:_0x19952f}=_0x2da50d[_0x10b26e(0x3c5)](_0x1c4360,_0x1c4360);if(_0x19952f[_0x10b26e(0x1fa)]===0x0)continue;this[_0x10b26e(0x3f1)](_0x282d2d,_0x19952f,_0x2b5764,_0x4f7947,_0x1f11e3),this['_eventUnsubscribe']=this[_0x10b26e(0x41e)]();}if(_0x4fc060&&_0x1c4360){if(_0x3b2d40===_0x356f55[_0x10b26e(0x3ff)]['RECT']){const _0x4a3a17=new _0x5dd295['NodePositionConvertToRectRange'](_0x11ad9d,_0x557fe1),{pointGroup:_0x5913c4}=(_0x16478d=_0x4a3a17['getRangePointData'](_0x4fc060,_0x1c4360))!=null?_0x16478d:{};if(_0x5913c4==null||_0x5913c4[_0x10b26e(0x1fa)]===0x0)continue;this['_drawRectRange'](_0x282d2d,_0x5913c4,_0x2b5764,_0x4f7947);}else{if(!_0x1b6c99){const {borderBoxPointGroup:_0x3ce155}=_0x2da50d[_0x10b26e(0x3c5)](_0x4fc060,_0x1c4360);if(_0x3ce155[_0x10b26e(0x1fa)]===0x0)continue;this[_0x10b26e(0x3f7)](_0x282d2d,_0x3ce155,_0x2b5764,_0x4f7947);}}}}}[_0x33f13c(0x3f1)](_0x3ee0a6,_0x45f23f,_0x5e1f02,_0x33ca18,_0xbe7ebc){const _0x4ea319=_0x33f13c,_0x115531=this[_0x4ea319(0x403)](_0x45f23f),{left:_0x1bdd9a,top:_0x148dee,height:_0x166676}=_0x115531,_0x4be716=this[_0x4ea319(0x287)](),_0x2aef61=_0xd83379/_0x4be716,_0x3dd96a=new _0x6d1524[(_0x4ea319(0x378))](_0x59c122+_0x356f55['Tools'][_0x4ea319(0x341)](_0x30d657),{'left':_0x1bdd9a+_0x5e1f02-_0x2aef61,'top':_0x148dee+_0x33ca18,'height':_0x166676,'width':_0x45a333,'fill':_0x3ee0a6||_0x6d1524[_0x4ea319(0x1fe)](_0x356f55[_0x4ea319(0x40b)][_0x4ea319(0x3c6)],0x0),'strokeWidth':_0x2aef61,'stroke':_0x439ca2,'evented':!0x0});this['_anchor']=_0x3dd96a,this['_scene']['addObject'](_0x3dd96a,_0x5dd295[_0x4ea319(0x385)]);const _0x37b66f=new _0x6d1524[(_0x4ea319(0x378))](_0x59c122+_0x356f55[_0x4ea319(0x35e)][_0x4ea319(0x341)](_0x30d657),{'left':_0x1bdd9a+_0x5e1f02-_0x2aef61,'top':_0x148dee+_0x33ca18-_0xb3fff6/0x2,'height':_0xb3fff6,'width':_0xb3fff6,'fill':_0x3ee0a6||_0x6d1524[_0x4ea319(0x1fe)](_0x356f55[_0x4ea319(0x40b)][_0x4ea319(0x3c6)],0x0),'strokeWidth':0x0,'stroke':_0x3ee0a6||_0x6d1524[_0x4ea319(0x1fe)](_0x356f55[_0x4ea319(0x40b)]['black'],0x0),'evented':!0x1});this[_0x4ea319(0x346)]=_0x37b66f,this[_0x4ea319(0x3e8)][_0x4ea319(0x40d)](_0x37b66f,_0x5dd295['TEXT_RANGE_LAYER_INDEX']);const _0x2fc8a1=new _0x2d2158(_0x59c122+_0x356f55[_0x4ea319(0x35e)]['generateRandomId'](_0x30d657),{'left':_0x1bdd9a+_0x5e1f02-_0x2aef61,'top':_0x148dee+_0x33ca18-_0x25c26a,'text':_0xbe7ebc,'color':_0x3ee0a6});this[_0x4ea319(0x3d8)]=_0x2fc8a1,this[_0x4ea319(0x3e8)][_0x4ea319(0x40d)](_0x2fc8a1,_0x5dd295[_0x4ea319(0x385)]),this[_0x4ea319(0x44c)]=!0x1;}[_0x33f13c(0x41e)](){const _0x12674b=_0x33f13c,_0x17df66=this['_anchor']['onPointerEnter$'][_0x12674b(0x3f2)](()=>{this['_hover']=!0x0;}),_0x127006=this[_0x12674b(0x23d)][_0x12674b(0x45f)]['subscribeEvent'](()=>{const _0x2c3662=_0x12674b;this[_0x2c3662(0x283)]&&clearTimeout(this['_hideTimer']),this[_0x2c3662(0x283)]=setTimeout(()=>{const _0x520d36=_0x2c3662;this[_0x520d36(0x44c)]=!0x1;},0x7d0);});return()=>{const _0x21fec1=_0x12674b;_0x17df66[_0x21fec1(0x2aa)](),_0x127006[_0x21fec1(0x2aa)]();};}['_drawTextRange'](_0x27e617,_0x2b52ed,_0x4e2024,_0x3b4a67){const _0x213fd5=_0x33f13c,_0x5579c3=new _0x356f55[(_0x213fd5(0x427))](_0x27e617)[_0x213fd5(0x2fa)](0.2)[_0x213fd5(0x271)](),_0x25cf53=new _0x6d1524[(_0x213fd5(0x2a2))](_0x5ee3d7+_0x356f55[_0x213fd5(0x35e)][_0x213fd5(0x341)](_0x30d657),{'pointsGroup':_0x2b52ed,'fill':_0x5579c3||_0x6d1524[_0x213fd5(0x1fe)](_0x356f55[_0x213fd5(0x40b)][_0x213fd5(0x3c6)],0.2),'left':_0x4e2024,'top':_0x3b4a67,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x213fd5(0x3f5)][_0x213fd5(0x249)](_0x25cf53),this[_0x213fd5(0x3e8)]['addObject'](_0x25cf53,_0x5dd295[_0x213fd5(0x385)]);}[_0x33f13c(0x360)](_0x336c26,_0x29df4c,_0x4040e7,_0x325d53){const _0x378ad8=_0x33f13c,_0x15fb2a=new _0x356f55['ColorKit'](_0x336c26)['setAlpha'](0.2)[_0x378ad8(0x271)](),_0x389a66=new _0x6d1524[(_0x378ad8(0x2a2))](_0x577519+_0x356f55[_0x378ad8(0x35e)][_0x378ad8(0x341)](_0x30d657),{'pointsGroup':_0x29df4c,'fill':_0x15fb2a||_0x6d1524[_0x378ad8(0x1fe)](_0x356f55['COLORS'][_0x378ad8(0x3c6)],0.2),'left':_0x4040e7,'top':_0x325d53,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x378ad8(0x3f5)][_0x378ad8(0x249)](_0x389a66),this[_0x378ad8(0x3e8)][_0x378ad8(0x40d)](_0x389a66,_0x5dd295['TEXT_RANGE_LAYER_INDEX']);}[_0x33f13c(0x403)](_0x42d913){const _0x296eb3=_0x42d913[0x0],_0xea26ca=_0x296eb3[0x0],_0x6fd2a6=_0x296eb3[0x2],{x:_0xa4bb7,y:_0x25fa17}=_0xea26ca,{x:_0x290f33,y:_0x9b8e90}=_0x6fd2a6;return{'left':_0xa4bb7,'top':_0x25fa17,'width':_0x290f33-_0xa4bb7,'height':_0x9b8e90-_0x25fa17};}[_0x33f13c(0x287)](){const _0x4c7e16=_0x33f13c,{scaleX:_0x2d6c63,scaleY:_0x1d99b3}=this[_0x4c7e16(0x3e8)][_0x4c7e16(0x363)]();return Math[_0x4c7e16(0x23e)](_0x2d6c63,_0x1d99b3);}}var _0x1782b6=Object[_0x33f13c(0x1eb)],_0x407b35=(_0x1e038e,_0x2b32bd,_0x2db7f1,_0x5e8a55)=>{const _0x38742f=_0x33f13c;for(var _0x2f9d43=_0x5e8a55>0x1?void 0x0:_0x5e8a55?_0x1782b6(_0x2b32bd,_0x2db7f1):_0x2b32bd,_0x2aec6c=_0x1e038e[_0x38742f(0x1fa)]-0x1,_0x53ab3a;_0x2aec6c>=0x0;_0x2aec6c--)(_0x53ab3a=_0x1e038e[_0x2aec6c])&&(_0x2f9d43=_0x53ab3a(_0x2f9d43)||_0x2f9d43);return _0x2f9d43;},_0x5a6e3f=(_0x297139,_0x1c2d95)=>(_0x217842,_0x37736d)=>_0x1c2d95(_0x217842,_0x37736d,_0x297139);let _0x3f9d4b=class extends _0x356f55['RxDisposable']{constructor(_0x1262f3,_0x4a460b,_0x57c545,_0x26dacb,_0xf1d78c){const _0x509507=_0x33f13c;super(),_0x428fe9(this,_0x509507(0x1e9),[]),_0x428fe9(this,_0x509507(0x32f),[]),(this[_0x509507(0x28a)]=_0x1262f3,this['_docSkeletonManagerService']=_0x4a460b,this['_collabCursorController']=_0x57c545,this['_commandService']=_0x26dacb,this[_0x509507(0x1c1)]=_0xf1d78c,this[_0x509507(0x38e)]());}[_0x33f13c(0x38e)](){const _0x45fb8e=_0x33f13c,_0x1c8326=this['_context'][_0x45fb8e(0x451)],_0x2f8991=this[_0x45fb8e(0x30a)];this[_0x45fb8e(0x3a9)](_0x2c71f6[_0x45fb8e(0x2a3)]([this[_0x45fb8e(0x2ee)][_0x45fb8e(0x2fb)](_0x1c8326),this[_0x45fb8e(0x1c1)]['currentTheme$']])[_0x45fb8e(0x225)](_0x40fd46[_0x45fb8e(0x212)](([_0x11fbb6,_0x2bbe1a])=>({'skeleton':_0x2f8991[_0x45fb8e(0x380)](),'cursors':[..._0x11fbb6[_0x45fb8e(0x32c)]()][_0x45fb8e(0x332)](_0x20d1a4=>({..._0x20d1a4,'color':this[_0x45fb8e(0x1c1)][_0x45fb8e(0x42f)](_0x20d1a4[_0x45fb8e(0x3cb)])}))})))[_0x45fb8e(0x1de)](_0x15eb39=>{const _0x1760bd=_0x45fb8e;if(this[_0x1760bd(0x2d0)](),_0x15eb39){const {skeleton:_0x40d25d,cursors:_0x2d380d}=_0x15eb39;this[_0x1760bd(0x1cd)](_0x40d25d,_0x2d380d);}})),this[_0x45fb8e(0x24d)](),this[_0x45fb8e(0x3be)]();}[_0x33f13c(0x1cd)](_0x211604,_0x3b36de){const _0x3a6649=_0x33f13c,{scene:_0x586199,mainComponent:_0x416de7}=this['_context'],_0xcd4aaf=_0x3b36de['map'](_0x3e7ec8=>new _0x4abd47(_0x3e7ec8,_0x586199,_0x211604,_0x416de7));this[_0x3a6649(0x1e9)]=_0xcd4aaf,this[_0x3a6649(0x32f)]=_0x3b36de;}[_0x33f13c(0x2ae)](){const _0x2e17ba=_0x33f13c;this[_0x2e17ba(0x2d0)]();const {scene:_0x1601c1,mainComponent:_0x570d6c}=this[_0x2e17ba(0x28a)],_0x40674f=this['_docSkeletonManagerService'][_0x2e17ba(0x380)](),_0x49b97e=this[_0x2e17ba(0x32f)][_0x2e17ba(0x212)](_0xe7bcb8=>new _0x4abd47(_0xe7bcb8,_0x1601c1,_0x40674f,_0x570d6c));this[_0x2e17ba(0x1e9)]=_0x49b97e;}['_removeCollabCursors'](){const _0x5b1755=_0x33f13c;this[_0x5b1755(0x1e9)]['forEach'](_0x2f5239=>_0x2f5239[_0x5b1755(0x27a)]()),this[_0x5b1755(0x1e9)]=[];}[_0x33f13c(0x3be)](){const _0x1794a1=_0x33f13c,_0x1c1ee4=[_0x5dd295[_0x1794a1(0x1c5)]['id']];this[_0x1794a1(0x3a9)](this[_0x1794a1(0x1e1)]['onCommandExecuted'](_0x4e5e77=>{const _0x5607d5=_0x1794a1;_0x1c1ee4['includes'](_0x4e5e77['id'])&&_0x4e5e77[_0x5607d5(0x204)][_0x5607d5(0x451)]===this[_0x5607d5(0x28a)]['unitId']&&this[_0x5607d5(0x2ae)]();}));}[_0x33f13c(0x24d)](){const _0x838b7e=_0x33f13c;this[_0x838b7e(0x3a9)](_0x356f55[_0x838b7e(0x440)](this[_0x838b7e(0x28a)][_0x838b7e(0x3d4)][_0x838b7e(0x241)])[_0x838b7e(0x225)](_0x40fd46[_0x838b7e(0x448)](_0xc6f5b8=>_0xc6f5b8[_0x838b7e(0x1c8)]===_0x6d1524['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x838b7e(0x226)]),_0x40fd46[_0x838b7e(0x369)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x3f9d4b=_0x407b35([_0x5a6e3f(0x1,_0x356f55[_0x33f13c(0x245)](_0x13e3d3[_0x33f13c(0x3b5)])),_0x5a6e3f(0x2,_0x356f55[_0x33f13c(0x245)](_0x10d9f8)),_0x5a6e3f(0x3,_0x356f55[_0x33f13c(0x3b6)]),_0x5a6e3f(0x4,_0x356f55[_0x33f13c(0x245)](_0x356f55['ThemeService']))],_0x3f9d4b);const _0x4070a8=0x1,_0x15f51b=1.5;class _0x5ef263 extends _0x6d1524[_0x33f13c(0x1f3)]{constructor(_0x1ee010,_0x696423){const _0x5caad6=_0x33f13c;super(_0x1ee010,_0x696423),_0x428fe9(this,'_color'),_0x428fe9(this,_0x5caad6(0x2ff),!0x1),_0x428fe9(this,_0x5caad6(0x27d)),_0x428fe9(this,_0x5caad6(0x285),''),_0x428fe9(this,_0x5caad6(0x431),_0x5caad6(0x401)),_0x428fe9(this,_0x5caad6(0x23b)),(_0x696423&&this[_0x5caad6(0x358)](_0x696423),this[_0x5caad6(0x25e)][_0x5caad6(0x3f2)](()=>this[_0x5caad6(0x358)]({'hovered':!0x0})),this[_0x5caad6(0x45f)]['subscribeEvent'](()=>this[_0x5caad6(0x358)]({'hovered':!0x1})));}[_0x33f13c(0x358)](_0x5713cc){const _0x183e9d=_0x33f13c;var _0x364efb,_0x54d9c8,_0x21d759,_0x4708d0,_0x168258,_0x7e08ba;this[_0x183e9d(0x22a)]=(_0x364efb=_0x5713cc[_0x183e9d(0x3cb)])!=null?_0x364efb:this[_0x183e9d(0x22a)],this[_0x183e9d(0x2ff)]=(_0x54d9c8=_0x5713cc[_0x183e9d(0x2e6)])!=null?_0x54d9c8:this[_0x183e9d(0x2ff)],this['_range']=(_0x21d759=_0x5713cc[_0x183e9d(0x311)])!=null?_0x21d759:this[_0x183e9d(0x27d)],this[_0x183e9d(0x285)]=(_0x4708d0=_0x5713cc['name'])!=null?_0x4708d0:this[_0x183e9d(0x285)],this[_0x183e9d(0x431)]=(_0x168258=_0x5713cc[_0x183e9d(0x3a7)])!=null?_0x168258:this[_0x183e9d(0x431)],this[_0x183e9d(0x23b)]=(_0x7e08ba=_0x5713cc[_0x183e9d(0x26b)])!=null?_0x7e08ba:this[_0x183e9d(0x23b)],this[_0x183e9d(0x253)]({'width':_0x5713cc[_0x183e9d(0x2db)],'height':_0x5713cc['height']});}[_0x33f13c(0x3cc)](_0x3df48f){const _0x26d74c=_0x33f13c,{row:_0x20df67,column:_0x1524d2}=_0x3df48f;if(_0x20df67>=this[_0x26d74c(0x27d)][_0x26d74c(0x43e)]&&_0x20df67<=this['_range'][_0x26d74c(0x46e)]&&_0x1524d2>=this['_range'][_0x26d74c(0x1cc)]&&_0x1524d2<=this[_0x26d74c(0x27d)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x26d74c(0x358)]({'hovered':!0x1});}[_0x33f13c(0x459)](_0x18bb04){return!0x1;}[_0x33f13c(0x39e)](_0x2754cd){const _0x3f1f78=_0x33f13c;_0x6d1524['Rect'][_0x3f1f78(0x29f)](_0x2754cd,{'width':this[_0x3f1f78(0x2db)],'height':this[_0x3f1f78(0x434)],'strokeWidth':_0x15f51b,'stroke':this[_0x3f1f78(0x22a)],'evented':!0x1,'fill':this[_0x3f1f78(0x23b)]}),this[_0x3f1f78(0x2ff)]&&(_0x2754cd[_0x3f1f78(0x1f8)](),_0x2754cd['transform'](0x1,0x0,0x0,0x1,this[_0x3f1f78(0x2db)],this[_0x3f1f78(0x431)]===_0x3f1f78(0x1c3)?0x0:-0x14),_0x2d2158[_0x3f1f78(0x29f)](_0x2754cd,{'text':this['_name'],'color':this[_0x3f1f78(0x22a)]}),_0x2754cd['restore']());}}var _0x33c546=Object[_0x33f13c(0x1eb)],_0x4f7852=(_0x9bca85,_0x52ed22,_0x56803a,_0x516457)=>{for(var _0x5c835c=_0x516457>0x1?void 0x0:_0x516457?_0x33c546(_0x52ed22,_0x56803a):_0x52ed22,_0x24cf0b=_0x9bca85['length']-0x1,_0x2c5ad3;_0x24cf0b>=0x0;_0x24cf0b--)(_0x2c5ad3=_0x9bca85[_0x24cf0b])&&(_0x5c835c=_0x2c5ad3(_0x5c835c)||_0x5c835c);return _0x5c835c;},_0x30e051=(_0x2a07d8,_0x539184)=>(_0xc721ed,_0x2634b8)=>_0x539184(_0xc721ed,_0x2634b8,_0x2a07d8);const _0x370f1d=0x1389;let _0x2d1d8c=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0x3a061c,_0x42dbd7,_0x376bcb,_0x5e75bb){const _0x532c57=_0x33f13c;super(),_0x428fe9(this,_0x532c57(0x32f),new Set()),_0x428fe9(this,_0x532c57(0x1d4),null),(this[_0x532c57(0x28a)]=_0x3a061c,this[_0x532c57(0x2bb)]=_0x42dbd7,this['_collabCursorController']=_0x376bcb,this[_0x532c57(0x1c1)]=_0x5e75bb,this['_init']());}[_0x33f13c(0x38e)](){const _0xfed1a3=_0x33f13c;this[_0xfed1a3(0x2bb)][_0xfed1a3(0x32a)][_0xfed1a3(0x225)](_0x40fd46[_0xfed1a3(0x3fe)](this[_0xfed1a3(0x23a)]),_0x40fd46[_0xfed1a3(0x1c6)](_0x12a087=>{const _0x1f2252=_0xfed1a3;if(_0x12a087){const _0x5e9b82=_0x12a087['sheetId'];return _0x2c71f6[_0x1f2252(0x2a3)](this['_collabCursorController'][_0x1f2252(0x2fb)](this['_context'][_0x1f2252(0x451)]),this[_0x1f2252(0x1c1)]['currentTheme$'])[_0x1f2252(0x225)](_0x40fd46[_0x1f2252(0x212)](([_0x67dd38,_0x3b7537])=>{const _0x3fa2bb=new Map();return _0x67dd38['forEach']((_0x21938a,_0xf033ee)=>{const _0x3a58af=_0x6c71;if(_0x21938a['sheetID']===_0x5e9b82){const _0x1d842f={..._0x21938a};_0x1d842f[_0x3a58af(0x3cb)]=this[_0x3a58af(0x1c1)][_0x3a58af(0x42f)](_0x21938a[_0x3a58af(0x3cb)]),_0x3fa2bb[_0x3a58af(0x3c7)](_0xf033ee,_0x1d842f);}}),{'skeleton':_0x12a087,'cursors':_0x3fa2bb};}));}return _0x2c71f6['of']({'skeleton':null,'cursors':new Map()});}))[_0xfed1a3(0x1de)](({skeleton:_0x3671d4,cursors:_0x54f17f})=>{const _0x4ded0b=_0xfed1a3;this[_0x4ded0b(0x2d0)](),_0x3671d4&&this['_updateCollabCursors'](_0x3671d4,_0x54f17f);}),this['_sheetSkeletonManagerService'][_0xfed1a3(0x32a)]['subscribe'](_0x51b1b9=>{const _0x3a4e22=_0xfed1a3;if(_0x51b1b9==null)return;const {skeleton:_0xfae6b9}=_0x51b1b9,{scene:_0x260148}=this['_context'];_0x260148['onPointerMove$']['subscribeEvent'](_0x356f55[_0x3a4e22(0x28d)](_0x4987d3=>{const _0x219ce4=_0x3a4e22;var _0x2872b2,_0xf83719;const {offsetX:_0x11c136,offsetY:_0x49b8a5}=_0x4987d3,{x:_0x2aad7e,y:_0x40bb61}=_0x260148[_0x219ce4(0x28c)](_0x6d1524['Vector2'][_0x219ce4(0x28b)]([_0x11c136,_0x49b8a5])),{scaleX:_0x4879b5,scaleY:_0x168590}=_0x260148['getAncestorScale'](),_0x2c12ef=_0x260148[_0x219ce4(0x3ed)](_0x6d1524[_0x219ce4(0x292)]['VIEW_MAIN']),_0x4357a1=_0x260148[_0x219ce4(0x32d)](_0x6d1524['Vector2'][_0x219ce4(0x28b)]([_0x2aad7e,_0x40bb61]),_0x2c12ef),_0x4cd01e=_0xfae6b9[_0x219ce4(0x344)](_0x11c136,_0x49b8a5,_0x4879b5,_0x168590,_0x4357a1);((_0x2872b2=this[_0x219ce4(0x1d4)])==null?void 0x0:_0x2872b2[_0x219ce4(0x42a)])===_0x4cd01e[_0x219ce4(0x42a)]&&((_0xf83719=this[_0x219ce4(0x1d4)])==null?void 0x0:_0xf83719[_0x219ce4(0x3ce)])===_0x4cd01e[_0x219ce4(0x3ce)]||this[_0x219ce4(0x32f)][_0x219ce4(0x288)](_0x137d62=>{const _0x2d67fe=_0x219ce4;_0x137d62[_0x2d67fe(0x3cc)](_0x4cd01e);});},0x64));});}[_0x33f13c(0x1cd)](_0xc7641f,_0x19326a){const _0x40bc5e=_0x33f13c;var _0x11e501;const _0x284ac4=(_0x11e501=this[_0x40bc5e(0x2bb)][_0x40bc5e(0x3a6)]())==null?void 0x0:_0x11e501['skeleton'];if(!_0x284ac4)return;const _0x2e57d7=this[_0x40bc5e(0x2c2)]();if(!_0x2e57d7)return;this['_cursors'][_0x40bc5e(0x288)](_0x2321cd=>{const _0x5e117a=_0x40bc5e;_0x2321cd[_0x5e117a(0x349)]();});const {scene:_0x1fce82}=_0x2e57d7,_0xe8a5ea=_0x355ace(Array[_0x40bc5e(0x21c)](_0x19326a[_0x40bc5e(0x32c)]()))[_0x40bc5e(0x212)](_0x2dec42=>{const _0x7f5e5=_0x40bc5e,{color:_0x5b84d5,range:_0x4f26fc,name:_0x354fb5,selection:_0x24193a,sheetID:_0x5d5dac}=_0x2dec42,{startColumn:_0x5c4733,startRow:_0x3067a7,endColumn:_0x484821,endRow:_0x2e85da}=_0x4f26fc,_0x4a484d=_0x1cc7b5['getCoordByCell'](_0x3067a7,_0x5c4733,_0x1fce82,_0x284ac4),_0x137fbc=_0x1cc7b5[_0x7f5e5(0x3d7)](_0x2e85da,_0x484821,_0x1fce82,_0x284ac4),{columnHeaderHeightAndMarginTop:_0x51fc29}=_0x284ac4,{startX:_0x1ce45f,startY:_0x34125d}=_0x4a484d,{endX:_0x2d0f49,endY:_0x43ded2}=_0x137fbc,_0x2b0277=_0x2d0f49-_0x1ce45f,_0xe906a=_0x43ded2-_0x34125d,_0x365e4e={'labelPosition':_0x34125d-_0x51fc29>=_0x25c26a?_0x7f5e5(0x401):_0x7f5e5(0x1c3),'sheetID':_0x5d5dac,'range':_0x4f26fc,'color':_0x5b84d5,'name':_0x354fb5,'selection':_0x24193a,'left':_0x1ce45f,'top':_0x34125d,'width':_0x2b0277,'height':_0xe906a,'evented':!0x1,'zIndex':_0x370f1d};return new _0x5ef263(_0x354fb5,_0x365e4e);});_0x1fce82[_0x40bc5e(0x1c2)](_0xe8a5ea,_0x4070a8),this[_0x40bc5e(0x32f)]=new Set(_0xe8a5ea);}[_0x33f13c(0x2d0)](){const _0x20f7c6=_0x33f13c;var _0x1cdc93;(_0x1cdc93=this[_0x20f7c6(0x32f)])==null||_0x1cdc93[_0x20f7c6(0x288)](_0x5b1fe2=>_0x5b1fe2[_0x20f7c6(0x27a)]());}[_0x33f13c(0x2c2)](){const _0x14ae3a=_0x33f13c;return _0x1cc7b5['getSheetObject'](this['_context'][_0x14ae3a(0x42d)],this['_context']);}};_0x2d1d8c=_0x4f7852([_0x30e051(0x1,_0x356f55['Inject'](_0x1cc7b5[_0x33f13c(0x444)])),_0x30e051(0x2,_0x356f55[_0x33f13c(0x245)](_0x10d9f8)),_0x30e051(0x3,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x374)]))],_0x2d1d8c);function _0x355ace(_0x5d5835){const _0x33e443=_0x33f13c,_0x3ca188=new Map();return _0x5d5835['forEach'](_0x391d26=>{const _0x1574de=_0x6c71;if(_0x3ca188[_0x1574de(0x30f)](_0x391d26[_0x1574de(0x45a)])){const _0x36900d=_0x3ca188['get'](_0x391d26[_0x1574de(0x45a)]);_0x36900d[_0x1574de(0x1e2)]+=',\x20'+_0x391d26[_0x1574de(0x1e2)];}else _0x3ca188['set'](_0x391d26[_0x1574de(0x45a)],_0x391d26);}),Array[_0x33e443(0x21c)](_0x3ca188[_0x33e443(0x32c)]());}var _0x4ba76d=function(){const _0xfdca9=_0x33f13c;return _0x4ba76d=Object[_0xfdca9(0x42e)]||function(_0x60a260){const _0x3a152e=_0xfdca9;for(var _0x53ce89,_0x410223=0x1,_0x1071ab=arguments[_0x3a152e(0x1fa)];_0x410223<_0x1071ab;_0x410223++){_0x53ce89=arguments[_0x410223];for(var _0x47e3c9 in _0x53ce89)Object['prototype'][_0x3a152e(0x2f1)][_0x3a152e(0x208)](_0x53ce89,_0x47e3c9)&&(_0x60a260[_0x47e3c9]=_0x53ce89[_0x47e3c9]);}return _0x60a260;},_0x4ba76d[_0xfdca9(0x2ac)](this,arguments);},_0x2e5aa5=function(_0x17f186,_0x5bd0a2){const _0x1cb7f6=_0x33f13c;var _0x270658={};for(var _0x2bc474 in _0x17f186)Object[_0x1cb7f6(0x1d9)][_0x1cb7f6(0x2f1)][_0x1cb7f6(0x208)](_0x17f186,_0x2bc474)&&_0x5bd0a2['indexOf'](_0x2bc474)<0x0&&(_0x270658[_0x2bc474]=_0x17f186[_0x2bc474]);if(_0x17f186!=null&&typeof Object[_0x1cb7f6(0x1c9)]==_0x1cb7f6(0x35f)){for(var _0xe81465=0x0,_0x2bc474=Object[_0x1cb7f6(0x1c9)](_0x17f186);_0xe81465<_0x2bc474[_0x1cb7f6(0x1fa)];_0xe81465++)_0x5bd0a2[_0x1cb7f6(0x205)](_0x2bc474[_0xe81465])<0x0&&Object[_0x1cb7f6(0x1d9)]['propertyIsEnumerable'][_0x1cb7f6(0x208)](_0x17f186,_0x2bc474[_0xe81465])&&(_0x270658[_0x2bc474[_0xe81465]]=_0x17f186[_0x2bc474[_0xe81465]]);}return _0x270658;},_0x23b0d0=_0x20acc3['forwardRef'](function(_0xfa9789,_0x92fe85){const _0x3d0cfd=_0x33f13c;var _0x5f1d89=_0xfa9789[_0x3d0cfd(0x348)],_0x3aed84=_0xfa9789['id'],_0x5a6839=_0xfa9789[_0x3d0cfd(0x228)],_0x248e46=_0xfa9789['extend'],_0x2c1ba3=_0x2e5aa5(_0xfa9789,[_0x3d0cfd(0x348),'id',_0x3d0cfd(0x228),_0x3d0cfd(0x281)]),_0x13c7aa=_0x3d0cfd(0x247)['concat'](_0x3aed84,'\x20')['concat'](_0x5a6839||'')[_0x3d0cfd(0x351)](),_0xb15b68=_0x20acc3['useRef']('_'[_0x3d0cfd(0x3ef)](_0x191f23()));return _0xbbc8c1(_0x5f1d89,''[_0x3d0cfd(0x3ef)](_0x3aed84),{'defIds':_0x5f1d89[_0x3d0cfd(0x1c7)],'idSuffix':_0xb15b68[_0x3d0cfd(0x350)]},_0x4ba76d({'ref':_0x92fe85,'className':_0x13c7aa},_0x2c1ba3),_0x248e46);});function _0xbbc8c1(_0x4c3c83,_0x1aacc6,_0x3d5022,_0x13742d,_0x5ce385){const _0x50f5b9=_0x33f13c;return _0x20acc3['createElement'](_0x4c3c83[_0x50f5b9(0x240)],_0x4ba76d(_0x4ba76d({'key':_0x1aacc6},_0x456947(_0x4c3c83,_0x3d5022,_0x5ce385)),_0x13742d),(_0x381f12(_0x4c3c83,_0x3d5022)[_0x50f5b9(0x3e2)]||[])['map'](function(_0x11d834,_0x451fa0){const _0x3e5a55=_0x50f5b9;return _0xbbc8c1(_0x11d834,''[_0x3e5a55(0x3ef)](_0x1aacc6,'-')[_0x3e5a55(0x3ef)](_0x4c3c83[_0x3e5a55(0x240)],'-')[_0x3e5a55(0x3ef)](_0x451fa0),_0x3d5022,void 0x0,_0x5ce385);}));}function _0x456947(_0x309c08,_0x4548d2,_0x2db2a7){const _0x5ea06b=_0x33f13c;var _0x3a8236=_0x4ba76d({},_0x309c08[_0x5ea06b(0x318)]);_0x2db2a7!=null&&_0x2db2a7[_0x5ea06b(0x3fb)]&&_0x3a8236['fill']===_0x5ea06b(0x3fb)&&(_0x3a8236['fill']=_0x2db2a7[_0x5ea06b(0x3fb)]),_0x309c08['tag']===_0x5ea06b(0x303)&&_0x3a8236['id']&&(_0x3a8236['id']=_0x3a8236['id']+_0x4548d2[_0x5ea06b(0x359)]),Object[_0x5ea06b(0x424)](_0x3a8236)[_0x5ea06b(0x288)](function(_0x2e1487){const _0x24cbd8=_0x5ea06b;var _0x5f5cef=_0x2e1487[0x0],_0x3397e2=_0x2e1487[0x1];_0x5f5cef===_0x24cbd8(0x303)&&typeof _0x3397e2=='string'&&(_0x3a8236[_0x5f5cef]=_0x3397e2[_0x24cbd8(0x272)](/url\(#(.*)\)/,_0x24cbd8(0x26a)[_0x24cbd8(0x3ef)](_0x4548d2[_0x24cbd8(0x359)],')')));});var _0x867bb=_0x4548d2[_0x5ea06b(0x1c7)];return!_0x867bb||_0x867bb['length']===0x0||(_0x309c08['tag']===_0x5ea06b(0x2fd)&&_0x3a8236[_0x5ea06b(0x1ea)]&&(_0x3a8236['xlink:href']=_0x3a8236['xlink:href']+_0x4548d2[_0x5ea06b(0x359)]),Object['entries'](_0x3a8236)['forEach'](function(_0x24e1eb){const _0x1b2cb1=_0x5ea06b;var _0x36caf4=_0x24e1eb[0x0],_0x5d685f=_0x24e1eb[0x1];typeof _0x5d685f==_0x1b2cb1(0x1cf)&&(_0x3a8236[_0x36caf4]=_0x5d685f['replace'](/url\(#(.*)\)/,_0x1b2cb1(0x26a)[_0x1b2cb1(0x3ef)](_0x4548d2[_0x1b2cb1(0x359)],')')));})),_0x3a8236;}function _0x381f12(_0x388958,_0x1737f6){const _0x47a801=_0x33f13c;var _0x477b7c,_0x2930a4=_0x1737f6[_0x47a801(0x1c7)];return!_0x2930a4||_0x2930a4[_0x47a801(0x1fa)]===0x0?_0x388958:_0x388958[_0x47a801(0x240)]===_0x47a801(0x3e1)&&(!((_0x477b7c=_0x388958[_0x47a801(0x3e2)])===null||_0x477b7c===void 0x0)&&_0x477b7c[_0x47a801(0x1fa)])?_0x4ba76d(_0x4ba76d({},_0x388958),{'children':_0x388958[_0x47a801(0x3e2)]['map'](function(_0x17c86f){const _0x3b8588=_0x47a801;return typeof _0x17c86f[_0x3b8588(0x318)]['id']=='string'&&_0x2930a4&&_0x2930a4['includes'](_0x17c86f[_0x3b8588(0x318)]['id'])?_0x4ba76d(_0x4ba76d({},_0x17c86f),{'attrs':_0x4ba76d(_0x4ba76d({},_0x17c86f['attrs']),{'id':_0x17c86f[_0x3b8588(0x318)]['id']+_0x1737f6[_0x3b8588(0x359)]})}):_0x17c86f;})}):_0x388958;}function _0x191f23(){const _0x19664d=_0x33f13c;return Math[_0x19664d(0x38f)]()[_0x19664d(0x3c4)](0x24)['substring'](0x2,0x8);}_0x23b0d0[_0x33f13c(0x33b)]='UniverIcon';var _0x4dd3fc={'tag':'svg','attrs':{'xmlns':_0x33f13c(0x2b8),'fill':'none','viewBox':_0x33f13c(0x330),'width':_0x33f13c(0x3a1),'height':_0x33f13c(0x3a1)},'children':[{'tag':'g','attrs':{'clipPath':_0x33f13c(0x3a4)},'children':[{'tag':_0x33f13c(0x34b),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x33f13c(0x3b0),'strokeLinejoin':_0x33f13c(0x3b0),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x33f13c(0x413),'attrs':{'id':_0x33f13c(0x315)},'children':[{'tag':_0x33f13c(0x34b),'attrs':{'fill':_0x33f13c(0x2e2),'d':_0x33f13c(0x446)}}]}]}],'defIds':[_0x33f13c(0x315)]},_0x468824=_0x20acc3[_0x33f13c(0x39c)](function(_0x2fba1e,_0x515336){const _0x1fe07a=_0x33f13c;return _0x20acc3[_0x1fe07a(0x3f4)](_0x23b0d0,Object[_0x1fe07a(0x42e)]({},_0x2fba1e,{'id':_0x1fe07a(0x386),'ref':_0x515336,'icon':_0x4dd3fc}));});_0x468824[_0x33f13c(0x33b)]=_0x33f13c(0x41d);var _0x1fb83e={'tag':_0x33f13c(0x2fe),'attrs':{'xmlns':_0x33f13c(0x2b8),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x33f13c(0x3a1),'height':_0x33f13c(0x3a1)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x33f13c(0x227),'strokeLinecap':_0x33f13c(0x3b0),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x33f13c(0x413),'attrs':{'id':_0x33f13c(0x35d)},'children':[{'tag':_0x33f13c(0x34b),'attrs':{'fill':_0x33f13c(0x2e2),'d':'M0\x200H16V16H0z','transform':_0x33f13c(0x2f8)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x1da27e=_0x20acc3[_0x33f13c(0x39c)](function(_0x2037a1,_0x54b5f5){const _0x4a690c=_0x33f13c;return _0x20acc3[_0x4a690c(0x3f4)](_0x23b0d0,Object[_0x4a690c(0x42e)]({},_0x2037a1,{'id':'on-line-icon','ref':_0x54b5f5,'icon':_0x1fb83e}));});_0x1da27e[_0x33f13c(0x33b)]='OnLineIcon';function _0xd3329d(_0x54c031){const _0x327568=_0x33f13c;switch(_0x54c031){case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x437)]:return _0x327568(0x2d9);case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x2f6)]:return _0x327568(0x3b9);case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x308)]:return'collabStatus.fetchMiss';case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x2e5)]:return _0x327568(0x436);case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x39f)]:case _0x42d1b5['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x327568(0x232);case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x1d3)]:case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x24e)]:return _0x327568(0x20d);}}function _0x2d6994(_0x5782b1){const _0x19af45=_0x33f13c,{status$:_0x567f09}=_0x5782b1,_0x5480fe=_0x25054a[_0x19af45(0x310)](_0x567f09,_0x42d1b5[_0x19af45(0x3bd)][_0x19af45(0x2e5)]),_0x477463=_0x25054a[_0x19af45(0x442)](_0x356f55[_0x19af45(0x2ea)]),_0x3c6c32=_0x25054a[_0x19af45(0x442)](_0x42d1b5[_0x19af45(0x2c0)]),_0x70c3c=_0x5480fe!==_0x42d1b5[_0x19af45(0x3bd)][_0x19af45(0x437)],_0x1615bd=_0x477463['t'](_0xd3329d(_0x5480fe)),_0x393cf7=_0x70c3c?_0xb84d71[_0x19af45(0x44b)](_0x1da27e,{}):_0xb84d71['jsx'](_0x468824,{}),_0x5461ad=_0x20acc3['useCallback'](()=>{const _0x6325c9=_0x19af45;_0x70c3c||_0x3c6c32[_0x6325c9(0x3d0)]();},[_0x70c3c,_0x3c6c32]);function _0x703b94(){const _0x5c081f=_0x19af45;return _0xb84d71[_0x5c081f(0x1c4)](_0x5c081f(0x255),{'className':_0x5c081f(0x3fa),'onClick':_0x5461ad,'children':[_0xb84d71['jsx'](_0x5c081f(0x255),{'className':_0x55c065[_0x5c081f(0x2dc)](_0x5c081f(0x383),{'univer-text-green-500':_0x70c3c,'univer-text-red-500':!_0x70c3c}),'children':_0x393cf7}),_0xb84d71[_0x5c081f(0x44b)](_0x5c081f(0x255),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1615bd})]});}return _0x70c3c?_0x703b94():_0xb84d71[_0x19af45(0x44b)](_0x55c065['Tooltip'],{'title':_0x477463['t'](_0x19af45(0x234)),'children':_0x703b94()});}var _0x17ea4d=Object['getOwnPropertyDescriptor'],_0x57c1da=(_0x14eea4,_0x50e9c8,_0x2bd0e2,_0x599604)=>{for(var _0x3313fa=_0x599604>0x1?void 0x0:_0x599604?_0x17ea4d(_0x50e9c8,_0x2bd0e2):_0x50e9c8,_0x2d1a1f=_0x14eea4['length']-0x1,_0x3bcf12;_0x2d1a1f>=0x0;_0x2d1a1f--)(_0x3bcf12=_0x14eea4[_0x2d1a1f])&&(_0x3313fa=_0x3bcf12(_0x3313fa)||_0x3313fa);return _0x3313fa;},_0x1d42e8=(_0x5985aa,_0x208e58)=>(_0x12ab0d,_0x27e1de)=>_0x208e58(_0x12ab0d,_0x27e1de,_0x5985aa);_0x20de07[_0x33f13c(0x1e6)]=class extends _0x356f55[_0x33f13c(0x2ce)]{constructor(_0x42809b,_0x2cb016,_0x492c67,_0x3ed0a4){const _0x55d6b5=_0x33f13c;super(),_0x428fe9(this,_0x55d6b5(0x2f2),new _0x2c71f6[(_0x55d6b5(0x29c))](_0x42d1b5['CollaborationStatus'][_0x55d6b5(0x2e5)])),(this[_0x55d6b5(0x414)]=_0x42809b,this[_0x55d6b5(0x465)]=_0x2cb016,this[_0x55d6b5(0x1f6)]=_0x492c67,this[_0x55d6b5(0x2ed)]=_0x3ed0a4,this['_initStatusComponent'](),this[_0x55d6b5(0x3ad)]());}[_0x33f13c(0x3ad)](){const _0x81aea=_0x33f13c;this[_0x81aea(0x3a9)](this[_0x81aea(0x414)]['focused$']['pipe'](_0x2c71f6['switchMap'](()=>{const _0x1f2fe0=_0x81aea,_0x2d3cfa=this['_univerInstanceService']['getFocusedUnit']();return _0x2d3cfa?this[_0x1f2fe0(0x1f6)][_0x1f2fe0(0x36c)](_0x2d3cfa['getUnitId']()):_0x2c71f6['of'](null);}),_0x2c71f6['switchMap'](_0xbce735=>_0xbce735?_0xbce735['status$']:_0x2c71f6['of'](_0x42d1b5[_0x81aea(0x3bd)][_0x81aea(0x2e5)])))[_0x81aea(0x1de)](_0x1b755d=>{const _0x5eb3a5=_0x81aea;this[_0x5eb3a5(0x2f2)][_0x5eb3a5(0x2e7)](_0x1b755d);}));}[_0x33f13c(0x393)](){const _0x922ce8=_0x33f13c;this[_0x922ce8(0x3a9)](this['_uiPartsService'][_0x922ce8(0x37a)](_0x25054a[_0x922ce8(0x36d)][_0x922ce8(0x2cc)],()=>_0x25054a['connectInjector'](_0x4873cd({'status$':this[_0x922ce8(0x2f2)][_0x922ce8(0x365)]()}),this[_0x922ce8(0x465)])));}},_0x20de07[_0x33f13c(0x1e6)]=_0x57c1da([_0x1d42e8(0x0,_0x356f55[_0x33f13c(0x1d6)]),_0x1d42e8(0x1,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x1e3)])),_0x1d42e8(0x2,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x3ca)])),_0x1d42e8(0x3,_0x25054a['IUIPartsService'])],_0x20de07[_0x33f13c(0x1e6)]);function _0x4873cd(_0x4805d7){const {status$:_0x6c5a15}=_0x4805d7;return function(){return _0xb84d71['jsx'](_0x2d6994,{'status$':_0x6c5a15});};}var _0x1d60ac=Object['getOwnPropertyDescriptor'],_0x14a29a=(_0x21c13e,_0x2dad0b,_0x50dcfa,_0x4b68c8)=>{const _0x5f0915=_0x33f13c;for(var _0xfacf87=_0x4b68c8>0x1?void 0x0:_0x4b68c8?_0x1d60ac(_0x2dad0b,_0x50dcfa):_0x2dad0b,_0x327b37=_0x21c13e[_0x5f0915(0x1fa)]-0x1,_0x13169a;_0x327b37>=0x0;_0x327b37--)(_0x13169a=_0x21c13e[_0x327b37])&&(_0xfacf87=_0x13169a(_0xfacf87)||_0xfacf87);return _0xfacf87;},_0x4b786c=(_0x1586c2,_0x41f4d1)=>(_0x3b8bf4,_0x4daa0e)=>_0x41f4d1(_0x3b8bf4,_0x4daa0e,_0x1586c2);let _0x21d29c=class extends _0x356f55[_0x33f13c(0x2ce)]{constructor(_0x409cef,_0x1fa838,_0x3062a0,_0x57b665,_0x214514,_0xdf4db7){const _0x521cce=_0x33f13c;super(),this[_0x521cce(0x352)]=_0x409cef,this[_0x521cce(0x2f9)]=_0x1fa838,this[_0x521cce(0x25a)]=_0x3062a0,this[_0x521cce(0x456)]=_0x57b665,this[_0x521cce(0x3b3)]=_0x214514,this[_0x521cce(0x366)]=_0xdf4db7,this[_0x521cce(0x409)](),this[_0x521cce(0x43f)]();}[_0x33f13c(0x409)](){const _0x47ce47=_0x33f13c;this[_0x47ce47(0x3a9)](this[_0x47ce47(0x352)][_0x47ce47(0x368)](()=>{const _0x2e5668=_0x47ce47;if(this['_localCacheService'][_0x2e5668(0x415)][_0x2e5668(0x384)])return this[_0x2e5668(0x366)]['t'](_0x2e5668(0x2bf));}));}[_0x33f13c(0x43f)](){const _0x1d9558=_0x33f13c;this['disposeWithMe'](this[_0x1d9558(0x25a)][_0x1d9558(0x278)][_0x1d9558(0x1de)](_0x5effac=>{const _0x218ad6=_0x1d9558;_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x370)]&&this[_0x218ad6(0x456)][_0x218ad6(0x2c8)]({'type':_0x55c065['MessageType']['Warning'],'content':this[_0x218ad6(0x366)]['t']('collaboration.single-unit.warning')}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x209)]&&this[_0x218ad6(0x456)][_0x218ad6(0x2c8)]({'type':_0x55c065['MessageType'][_0x218ad6(0x3df)],'content':this[_0x218ad6(0x366)]['t'](_0x218ad6(0x3f3))}),_0x5effac['id']===_0x42d1b5['CollaborationUIEventId'][_0x218ad6(0x3f6)]&&this[_0x218ad6(0x3b3)][_0x218ad6(0x2c8)]({'title':this[_0x218ad6(0x366)]['t'](_0x218ad6(0x2c3)),'content':this['_localeService']['t'](_0x218ad6(0x2a8)),'type':'error','duration':0x0}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x2f6)]&&this[_0x218ad6(0x456)][_0x218ad6(0x2c8)]({'type':_0x55c065[_0x218ad6(0x2eb)][_0x218ad6(0x286)],'content':this[_0x218ad6(0x366)]['t']('collaboration.closeRoom')+'('+_0x5effac[_0x218ad6(0x2b4)]+')'}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x40e)]&&this[_0x218ad6(0x456)]['show']({'type':_0x55c065['MessageType'][_0x218ad6(0x3df)],'content':this[_0x218ad6(0x366)]['t'](_0x5effac[_0x218ad6(0x2b4)]||'')}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x455)]&&this[_0x218ad6(0x456)][_0x218ad6(0x2c8)]({'type':_0x55c065['MessageType']['Warning'],'content':this['_localeService']['t'](_0x218ad6(0x441))}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x3e0)]&&this[_0x218ad6(0x456)][_0x218ad6(0x2c8)]({'type':_0x55c065[_0x218ad6(0x2eb)][_0x218ad6(0x286)],'content':this[_0x218ad6(0x366)]['t'](_0x218ad6(0x43a))}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x55c065[_0x218ad6(0x2eb)][_0x218ad6(0x286)],'content':this[_0x218ad6(0x366)]['t']('session.collaboration-timeout')});}));}};_0x21d29c=_0x14a29a([_0x4b786c(0x0,_0x25054a[_0x33f13c(0x406)]),_0x4b786c(0x1,_0x42d1b5[_0x33f13c(0x410)]),_0x4b786c(0x2,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x1fb)])),_0x4b786c(0x3,_0x25054a[_0x33f13c(0x461)]),_0x4b786c(0x4,_0x25054a[_0x33f13c(0x27f)]),_0x4b786c(0x5,_0x356f55[_0x33f13c(0x245)](_0x356f55['LocaleService']))],_0x21d29c);const _0x439091=_0x33f13c(0x237),_0x208481={},_0x334b7d=_0x356f55[_0x33f13c(0x40a)](_0x33f13c(0x425));var _0x412cc8=Object[_0x33f13c(0x1eb)],_0x1138a1=(_0x20bf81,_0x2ac7b2,_0x36c268,_0x47d180)=>{const _0x355696=_0x33f13c;for(var _0x17caa0=_0x47d180>0x1?void 0x0:_0x47d180?_0x412cc8(_0x2ac7b2,_0x36c268):_0x2ac7b2,_0xcc4a3f=_0x20bf81[_0x355696(0x1fa)]-0x1,_0x212ddc;_0xcc4a3f>=0x0;_0xcc4a3f--)(_0x212ddc=_0x20bf81[_0xcc4a3f])&&(_0x17caa0=_0x212ddc(_0x17caa0)||_0x17caa0);return _0x17caa0;},_0x2ed39a=(_0x3110db,_0x50631c)=>(_0x3c3618,_0x19bb6e)=>_0x50631c(_0x3c3618,_0x19bb6e,_0x3110db);_0x20de07['CollaborationDataLoaderController']=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0x39bbba,_0x3cc087,_0x40c9ab,_0x1f506a,_0x48d4fc){const _0x3bd369=_0x33f13c;super(),this[_0x3bd369(0x33f)]=_0x39bbba,this[_0x3bd369(0x256)]=_0x3cc087,this[_0x3bd369(0x1e1)]=_0x40c9ab,this['_dataLoaderService']=_0x1f506a,_0x48d4fc?_0x48d4fc==null||_0x48d4fc[_0x3bd369(0x336)]()[_0x3bd369(0x2c6)](()=>this[_0x3bd369(0x38e)]()):(this[_0x3bd369(0x256)][_0x3bd369(0x223)]('[CollaborationDataLoaderController]',_0x3bd369(0x31b)),this[_0x3bd369(0x38e)]());}async[_0x33f13c(0x38e)](){const _0x312eae=_0x33f13c,_0x3af52f=this[_0x312eae(0x33f)][_0x312eae(0x224)](_0x312eae(0x42d)),_0x2698cc=this['_urlService'][_0x312eae(0x224)]('type'),_0x39dbeb=this[_0x312eae(0x33f)][_0x312eae(0x224)](_0x312eae(0x2bd));if(!_0x3af52f||!_0x2698cc){this['_logService']['debug'](_0x312eae(0x354),_0x312eae(0x460));return;}const _0x2b9220=await this[_0x312eae(0x1df)]['loadUnit'](_0x3af52f,Number(_0x2698cc),_0x39dbeb);_0x2b9220&&_0x2b9220 instanceof _0x356f55[_0x312eae(0x1d8)]&&this[_0x312eae(0x201)](_0x2b9220);}async[_0x33f13c(0x201)](_0x21bae7){const _0x266dbf=_0x33f13c;await this[_0x266dbf(0x396)](_0x21bae7),_0x21bae7[_0x266dbf(0x404)]['pipe'](_0x2c71f6[_0x266dbf(0x3fe)](this[_0x266dbf(0x23a)]))[_0x266dbf(0x1de)](_0x36882c=>{const _0x54a249=_0x266dbf;_0x36882c&&this[_0x54a249(0x1fc)](_0x36882c);}),this[_0x266dbf(0x33f)][_0x266dbf(0x2e4)][_0x266dbf(0x225)](_0x2c71f6['takeUntil'](this[_0x266dbf(0x23a)]))[_0x266dbf(0x1de)](()=>this[_0x266dbf(0x396)](_0x21bae7));}[_0x33f13c(0x1fc)](_0x4b43f8,_0x24c526=!0x1){const _0x37fa3e=_0x33f13c,_0x41509a=this[_0x37fa3e(0x33f)][_0x37fa3e(0x224)](_0x37fa3e(0x2bd));_0x4b43f8['getSheetId']()!==_0x41509a&&this[_0x37fa3e(0x33f)][_0x37fa3e(0x3ec)](_0x37fa3e(0x2bd),_0x4b43f8['getSheetId'](),_0x24c526);}async[_0x33f13c(0x396)](_0x12f3fe){const _0x3a5aac=_0x33f13c;var _0x3ddb94;const _0x22e8c4=this[_0x3a5aac(0x33f)][_0x3a5aac(0x224)](_0x3a5aac(0x2bd));if(!_0x22e8c4||!_0x12f3fe['getSheetBySheetId'](_0x22e8c4)){const _0x5cd61d=_0x12f3fe[_0x3a5aac(0x36a)]()[0x0],_0x30010c=_0x12f3fe[_0x3a5aac(0x408)](_0x5cd61d);if(!_0x30010c)return;this[_0x3a5aac(0x1fc)](_0x30010c,!0x0),await this[_0x3a5aac(0x1e1)][_0x3a5aac(0x1f1)](_0xa79b04['SetWorksheetActivateCommand']['id'],{'unitId':_0x12f3fe[_0x3a5aac(0x282)](),'subUnitId':_0x5cd61d});return;}((_0x3ddb94=_0x12f3fe[_0x3a5aac(0x35b)]())==null?void 0x0:_0x3ddb94[_0x3a5aac(0x1da)]())!==_0x22e8c4&&await this[_0x3a5aac(0x1e1)][_0x3a5aac(0x1f1)](_0xa79b04['SetWorksheetActivateCommand']['id'],{'unitId':_0x12f3fe[_0x3a5aac(0x282)](),'subUnitId':_0x22e8c4});}},_0x20de07[_0x33f13c(0x38b)]=_0x1138a1([_0x2ed39a(0x0,_0x334b7d),_0x2ed39a(0x1,_0x356f55[_0x33f13c(0x1e5)]),_0x2ed39a(0x2,_0x356f55[_0x33f13c(0x3b6)]),_0x2ed39a(0x3,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x3a0)])),_0x2ed39a(0x4,_0x356f55[_0x33f13c(0x1d0)](_0x37ae61[_0x33f13c(0x27e)]))],_0x20de07[_0x33f13c(0x38b)]);var _0x517620=Object[_0x33f13c(0x1eb)],_0x5b9f20=(_0x50a6cb,_0x175093,_0x517b54,_0x165085)=>{const _0x4da2e7=_0x33f13c;for(var _0x58d560=_0x165085>0x1?void 0x0:_0x165085?_0x517620(_0x175093,_0x517b54):_0x175093,_0x31d262=_0x50a6cb[_0x4da2e7(0x1fa)]-0x1,_0x13d1c3;_0x31d262>=0x0;_0x31d262--)(_0x13d1c3=_0x50a6cb[_0x31d262])&&(_0x58d560=_0x13d1c3(_0x58d560)||_0x58d560);return _0x58d560;},_0x2ee831=(_0x3927ef,_0x2e4195)=>(_0x584ff6,_0x5b4525)=>_0x2e4195(_0x584ff6,_0x5b4525,_0x3927ef);let _0x41d650=class{constructor(_0x5250fe,_0x12fd3d,_0x3689e9){const _0x542bdb=_0x33f13c;this[_0x542bdb(0x465)]=_0x5250fe,this[_0x542bdb(0x42c)]=_0x12fd3d,this[_0x542bdb(0x39a)]=_0x3689e9;}[_0x33f13c(0x24f)](_0x713319){const _0x503ffc=_0x33f13c;this[_0x503ffc(0x420)](_0x713319),this[_0x503ffc(0x3a3)](_0x713319);}[_0x33f13c(0x22e)](_0x136109){const _0x25fb91=_0x33f13c,{unitID:_0x50ae4d}=_0x136109,_0x42aa53=this[_0x25fb91(0x39a)][_0x25fb91(0x3a2)](_0x50ae4d)[_0x25fb91(0x1cb)](_0x5dd295[_0x25fb91(0x2e3)]),{redoCache:_0xd83ab7}=_0x42aa53[_0x25fb91(0x2df)]();if(_0xd83ab7[_0x25fb91(0x1fa)]===0x0)return _0x136109;let _0x1df904=_0x356f55[_0x25fb91(0x35e)][_0x25fb91(0x257)](_0x136109[_0x25fb91(0x340)][0x0]);for(let _0x23677=0x0;_0x23677<_0xd83ab7['length'];_0x23677++){const _0x10b5d2={'id':'doc.mutation.rich-text-editing','params':{..._0xd83ab7[_0x23677]}},_0x62bcbd=this['_transformService']['transformMutation'](_0x1df904,_0x10b5d2,!0x1);if(_0x1499bf[_0x25fb91(0x2f3)](_0x62bcbd))throw _0x62bcbd[_0x25fb91(0x41b)];_0x1df904=_0x62bcbd[_0x25fb91(0x20e)];}return{..._0x356f55[_0x25fb91(0x35e)]['deepClone'](_0x136109),'mutations':[_0x1df904]};}[_0x33f13c(0x420)](_0x5a77a5){const _0xe0d3d6=_0x33f13c,{unitID:_0x336e8d}=_0x5a77a5,_0x2579a0=this[_0xe0d3d6(0x39a)][_0xe0d3d6(0x3a2)](_0x336e8d)['with'](_0x5dd295[_0xe0d3d6(0x2e3)]),{undoCache:_0x735fde,redoCache:_0x3a3d21}=_0x2579a0['getUndoRedoMutationParamsCache']();if(_0x735fde['length']===0x0||_0x3a3d21[_0xe0d3d6(0x1fa)]===0x0)return;const _0x35aacc=[],_0x25e3c4=[];let _0x385ac5=_0x356f55[_0xe0d3d6(0x35e)][_0xe0d3d6(0x257)](_0x5a77a5[_0xe0d3d6(0x340)][0x0]),_0x4ff58=_0x356f55[_0xe0d3d6(0x35e)][_0xe0d3d6(0x257)](_0x5a77a5[_0xe0d3d6(0x340)][0x0]);for(let _0x11e6e1=_0x735fde[_0xe0d3d6(0x1fa)]-0x1;_0x11e6e1>=0x0;_0x11e6e1--){const _0x1a1209={'id':_0xe0d3d6(0x213),'params':{..._0x735fde[_0x11e6e1]}},_0x121fcf={'id':_0xe0d3d6(0x213),'params':{..._0x3a3d21[_0x11e6e1]}},_0x2c0f2f=this[_0xe0d3d6(0x42c)][_0xe0d3d6(0x2ad)](_0x385ac5,_0x1a1209,!0x1),_0x590d51=this[_0xe0d3d6(0x42c)][_0xe0d3d6(0x2ad)](_0x4ff58,_0x121fcf,!0x1);if(_0x1499bf[_0xe0d3d6(0x2f3)](_0x2c0f2f))throw _0x2c0f2f[_0xe0d3d6(0x41b)];if(_0x1499bf[_0xe0d3d6(0x2f3)](_0x590d51))throw _0x590d51[_0xe0d3d6(0x41b)];_0x35aacc[_0xe0d3d6(0x2cd)](_0x2c0f2f[_0xe0d3d6(0x268)]['params']),_0x25e3c4[_0xe0d3d6(0x2cd)](_0x590d51['m2Prime'][_0xe0d3d6(0x204)]),_0x385ac5=_0x2c0f2f[_0xe0d3d6(0x20e)],_0x4ff58=_0x590d51[_0xe0d3d6(0x20e)];}_0x2579a0[_0xe0d3d6(0x44e)]({'undoCache':_0x35aacc,'redoCache':_0x25e3c4});}[_0x33f13c(0x3a3)](_0x25a854){const _0x200c72=_0x33f13c,{unitID:_0x524580}=_0x25a854,_0x54675c=this[_0x200c72(0x39a)][_0x200c72(0x3a2)](_0x524580)[_0x200c72(0x1cb)](_0x5dd295[_0x200c72(0x2e3)]),_0x419dec=_0x54675c[_0x200c72(0x355)]();if(_0x419dec==null)return;const _0x4ea76b=[{'id':_0x200c72(0x213),'params':{'unitId':_0x25a854[_0x200c72(0x23f)],'actions':null,'textRanges':[_0x419dec]}}],_0x34faae=this[_0x200c72(0x42c)][_0x200c72(0x236)](_0x25a854,_0x4ea76b);if(!_0x1499bf[_0x200c72(0x438)](_0x34faae))throw _0x34faae['error'];const _0x590510=_0x34faae[_0x200c72(0x268)][0x0][_0x200c72(0x204)]['textRanges'];Array[_0x200c72(0x3f8)](_0x590510)&&_0x590510['length']&&_0x54675c[_0x200c72(0x2bc)](_0x590510[0x0]);}};_0x41d650=_0x5b9f20([_0x2ee831(0x0,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x1e3)])),_0x2ee831(0x1,_0x1499bf[_0x33f13c(0x3d1)]),_0x2ee831(0x2,_0x6d1524[_0x33f13c(0x1e8)])],_0x41d650);var _0x40f4d2=Object[_0x33f13c(0x1eb)],_0x16b92f=(_0x16166e,_0x1e411e,_0xca70c9,_0x49312e)=>{const _0x193bbd=_0x33f13c;for(var _0x49ae50=_0x49312e>0x1?void 0x0:_0x49312e?_0x40f4d2(_0x1e411e,_0xca70c9):_0x1e411e,_0x596861=_0x16166e[_0x193bbd(0x1fa)]-0x1,_0x2aa848;_0x596861>=0x0;_0x596861--)(_0x2aa848=_0x16166e[_0x596861])&&(_0x49ae50=_0x2aa848(_0x49ae50)||_0x49ae50);return _0x49ae50;},_0xeabd3f=(_0x4dca3a,_0x8b9ae6)=>(_0x32bd73,_0x25986c)=>_0x8b9ae6(_0x32bd73,_0x25986c,_0x4dca3a);let _0x1de13b=class{constructor(_0x3e6fa2,_0x20fbb9,_0x2be813){const _0x492271=_0x33f13c;this[_0x492271(0x465)]=_0x3e6fa2,this[_0x492271(0x42c)]=_0x20fbb9,this[_0x492271(0x37d)]=_0x2be813;}[_0x33f13c(0x2dd)](_0x195276){const _0x569ae0=_0x33f13c;this[_0x569ae0(0x289)](_0x195276);}[_0x33f13c(0x22e)](_0x22354f){const _0x9feb3f=_0x33f13c,{unitID:_0x346dbb}=_0x22354f,{collaboration:_0x158ed6}=this[_0x9feb3f(0x37d)][_0x9feb3f(0x33e)](_0x346dbb);if(_0x158ed6[_0x9feb3f(0x1fa)]===0x0)return _0x22354f;let _0x1c1413=_0x356f55[_0x9feb3f(0x35e)][_0x9feb3f(0x257)](_0x22354f['mutations'][0x0]);for(let _0x214a3b=0x0;_0x214a3b<_0x158ed6[_0x9feb3f(0x1fa)];_0x214a3b++){const _0x250187={'id':_0x9feb3f(0x213),'params':{'unitId':_0x158ed6[_0x214a3b][_0x9feb3f(0x451)],..._0x158ed6[_0x214a3b]['redoState']}},_0x41f8c6=this[_0x9feb3f(0x42c)][_0x9feb3f(0x2ad)](_0x1c1413,_0x250187,!0x1);if(_0x1499bf['isTransformMutationFailure'](_0x41f8c6))throw _0x41f8c6['error'];_0x1c1413=_0x41f8c6[_0x9feb3f(0x20e)];}return{..._0x356f55[_0x9feb3f(0x35e)][_0x9feb3f(0x257)](_0x22354f),'mutations':[_0x1c1413]};}[_0x33f13c(0x289)](_0x22de0f){const _0xfd314c=_0x33f13c,{unitID:_0x3293f9}=_0x22de0f,{history:_0x21ed65,collaboration:_0x420927}=this[_0xfd314c(0x37d)][_0xfd314c(0x33e)](_0x3293f9);if(_0x21ed65[_0xfd314c(0x1fa)]===0x0&&_0x420927[_0xfd314c(0x1fa)]===0x0)return;const _0x37a7b1=[],_0x155838=[];let _0x4553ab=_0x356f55[_0xfd314c(0x35e)][_0xfd314c(0x257)](_0x22de0f[_0xfd314c(0x340)][0x0]),_0x19338d=_0x356f55['Tools']['deepClone'](_0x22de0f[_0xfd314c(0x340)][0x0]);for(let _0xa01da9=_0x21ed65['length']-0x1;_0xa01da9>=0x0;_0xa01da9--){const _0x4a1829={'id':_0xfd314c(0x213),'params':{'unitId':_0x21ed65[_0xa01da9][_0xfd314c(0x451)],..._0x21ed65[_0xa01da9][_0xfd314c(0x35c)]}},_0x1ad538={'id':_0xfd314c(0x213),'params':{'unitId':_0x21ed65[_0xa01da9][_0xfd314c(0x451)],..._0x21ed65[_0xa01da9][_0xfd314c(0x31f)]}},_0x2b65bc=this[_0xfd314c(0x42c)][_0xfd314c(0x2ad)](_0x4553ab,_0x4a1829,!0x1),_0x584e6a=this[_0xfd314c(0x42c)][_0xfd314c(0x2ad)](_0x19338d,_0x1ad538,!0x1);if(_0x1499bf['isTransformMutationFailure'](_0x2b65bc))throw _0x2b65bc['error'];if(_0x1499bf[_0xfd314c(0x2f3)](_0x584e6a))throw _0x584e6a[_0xfd314c(0x41b)];_0x37a7b1[_0xfd314c(0x2cd)]({..._0x21ed65[_0xa01da9],'undoState':_0x2b65bc[_0xfd314c(0x268)]['params'],'redoState':_0x584e6a[_0xfd314c(0x268)]['params']}),_0x4553ab=_0x2b65bc[_0xfd314c(0x20e)],_0x19338d=_0x584e6a[_0xfd314c(0x20e)];}_0x4553ab=_0x356f55[_0xfd314c(0x35e)]['deepClone'](_0x22de0f[_0xfd314c(0x340)][0x0]),_0x19338d=_0x356f55[_0xfd314c(0x35e)]['deepClone'](_0x22de0f[_0xfd314c(0x340)][0x0]);for(let _0x528d86=_0x420927[_0xfd314c(0x1fa)]-0x1;_0x528d86>=0x0;_0x528d86--){const _0x36de8f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x420927[_0x528d86][_0xfd314c(0x451)],..._0x420927[_0x528d86][_0xfd314c(0x35c)]}},_0x58a336={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x420927[_0x528d86][_0xfd314c(0x451)],..._0x420927[_0x528d86][_0xfd314c(0x31f)]}},_0x334d41=this[_0xfd314c(0x42c)][_0xfd314c(0x2ad)](_0x4553ab,_0x36de8f,!0x1),_0x2458cd=this['_transformService'][_0xfd314c(0x2ad)](_0x19338d,_0x58a336,!0x1);if(_0x1499bf[_0xfd314c(0x2f3)](_0x334d41))throw _0x334d41[_0xfd314c(0x41b)];if(_0x1499bf[_0xfd314c(0x2f3)](_0x2458cd))throw _0x2458cd[_0xfd314c(0x41b)];_0x155838[_0xfd314c(0x2cd)]({..._0x420927[_0x528d86],'undoState':_0x334d41['m2Prime'][_0xfd314c(0x204)],'redoState':_0x2458cd[_0xfd314c(0x268)][_0xfd314c(0x204)]}),_0x4553ab=_0x334d41[_0xfd314c(0x20e)],_0x19338d=_0x2458cd[_0xfd314c(0x20e)];}this[_0xfd314c(0x37d)][_0xfd314c(0x265)](_0x3293f9,{'history':_0x37a7b1,'collaboration':_0x155838});}};_0x1de13b=_0x16b92f([_0xeabd3f(0x0,_0x356f55['Inject'](_0x356f55[_0x33f13c(0x1e3)])),_0xeabd3f(0x1,_0x1499bf[_0x33f13c(0x3d1)]),_0xeabd3f(0x2,_0x356f55['Inject'](_0x5dd295[_0x33f13c(0x210)]))],_0x1de13b);var _0x551ebc=Object['getOwnPropertyDescriptor'],_0x52ece2=(_0x187785,_0x5d7a45,_0x548c7e,_0xebad6)=>{for(var _0x55e30d=_0xebad6>0x1?void 0x0:_0xebad6?_0x551ebc(_0x5d7a45,_0x548c7e):_0x5d7a45,_0x8c795c=_0x187785['length']-0x1,_0x8af539;_0x8c795c>=0x0;_0x8c795c--)(_0x8af539=_0x187785[_0x8c795c])&&(_0x55e30d=_0x8af539(_0x55e30d)||_0x55e30d);return _0x55e30d;},_0x247144=(_0xa81154,_0x5763ad)=>(_0x23bbb6,_0x203944)=>_0x5763ad(_0x23bbb6,_0x203944,_0xa81154);let _0x9f3e8f=class{constructor(_0x1feaae,_0x5b2c99){const _0x512a29=_0x33f13c;this['_injector']=_0x1feaae,this[_0x512a29(0x42c)]=_0x5b2c99;}[_0x33f13c(0x1dd)](_0x56eb84){const _0x14ce6b=_0x33f13c;var _0x5423da;const _0x57f701=this['_injector'][_0x14ce6b(0x3dc)](_0x13e3d3[_0x14ce6b(0x302)]),_0x28625a=(_0x5423da=_0x57f701['getDocRanges']())!=null?_0x5423da:[];if(_0x28625a['length']===0x0)return;const _0x2ddac5=_0x56eb84[_0x14ce6b(0x23f)],_0x15d73b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2ddac5,'actions':null,'textRanges':_0x28625a}}],_0x48abc4=this[_0x14ce6b(0x42c)][_0x14ce6b(0x236)](_0x56eb84,_0x15d73b);if(!_0x1499bf[_0x14ce6b(0x438)](_0x48abc4))throw _0x48abc4[_0x14ce6b(0x41b)];const _0x411432=_0x48abc4[_0x14ce6b(0x268)][0x0][_0x14ce6b(0x204)]['textRanges'];Array[_0x14ce6b(0x3f8)](_0x411432)&&_0x411432['length']&&_0x57f701['replaceDocRanges'](_0x411432,{'unitId':_0x2ddac5,'subUnitId':_0x2ddac5},!0x1);}};_0x9f3e8f=_0x52ece2([_0x247144(0x0,_0x356f55[_0x33f13c(0x245)](_0x356f55['Injector'])),_0x247144(0x1,_0x1499bf[_0x33f13c(0x3d1)])],_0x9f3e8f);var _0x31635b=Object['getOwnPropertyDescriptor'],_0x4e357c=(_0x34342a,_0x558890,_0x129021,_0x25c201)=>{const _0xf1e8a8=_0x33f13c;for(var _0x4904e6=_0x25c201>0x1?void 0x0:_0x25c201?_0x31635b(_0x558890,_0x129021):_0x558890,_0x1ca4fa=_0x34342a[_0xf1e8a8(0x1fa)]-0x1,_0x4712db;_0x1ca4fa>=0x0;_0x1ca4fa--)(_0x4712db=_0x34342a[_0x1ca4fa])&&(_0x4904e6=_0x4712db(_0x4904e6)||_0x4904e6);return _0x4904e6;},_0x364cff=(_0x39158c,_0x45d423)=>(_0x54dbb8,_0x514e87)=>_0x45d423(_0x54dbb8,_0x514e87,_0x39158c);let _0x4e1a2b=class extends _0x356f55['Disposable']{constructor(_0x368a64,_0x5a878a,_0x23f9d3,_0x39d124,_0x27d803,_0x133feb,_0x16d6e4,_0x2acd3b){const _0x395f42=_0x33f13c;super(),_0x428fe9(this,_0x395f42(0x2f2),new _0x2c71f6[(_0x395f42(0x29c))](_0x42d1b5[_0x395f42(0x3bd)][_0x395f42(0x2e5)])),(this[_0x395f42(0x37d)]=_0x368a64,this['_collaborationController']=_0x5a878a,this[_0x395f42(0x2a1)]=_0x23f9d3,this[_0x395f42(0x31e)]=_0x39d124,this['_docTransformSelectionsService']=_0x27d803,this['_docSyncEditingCollabCursorService']=_0x133feb,this['_messageService']=_0x16d6e4,this[_0x395f42(0x366)]=_0x2acd3b,this[_0x395f42(0x399)]());}[_0x33f13c(0x399)](){const _0x31102c=_0x33f13c;this['disposeWithMe'](this[_0x31102c(0x1f6)][_0x31102c(0x342)][_0x31102c(0x1de)](_0xa148b4=>{const _0x4953d0=_0x31102c,_0x496584=this[_0x4953d0(0x37d)][_0x4953d0(0x1f5)][_0x4953d0(0x1de)](_0x50e4be=>{const _0x2cd6c7=_0x4953d0;if(_0x50e4be==null)return;const {unitId:_0x124365,redoState:_0x5a3615,commandId:_0x5ae8b6}=_0x50e4be;if(_0x124365!==_0xa148b4[_0x2cd6c7(0x23f)])return;const _0x2c61cd={'id':_0x5ae8b6,'type':_0x356f55[_0x2cd6c7(0x30e)][_0x2cd6c7(0x3bc)],'params':{'unitId':_0x124365,'actions':_0x5a3615[_0x2cd6c7(0x3d5)],'textRanges':null}};_0xa148b4[_0x2cd6c7(0x243)](_0x2c61cd);});if(_0xa148b4[_0x4953d0(0x3a9)](_0x496584),_0xa148b4 instanceof _0x42d1b5[_0x4953d0(0x2a5)]){const _0x311c53={'onTransformIME':_0x12599e=>this[_0x4953d0(0x2a1)][_0x4953d0(0x24f)](_0x12599e),'onTransformState':_0x34112=>this['_docTransformStateCacheService'][_0x4953d0(0x2dd)](_0x34112),'onTransformSelections':_0x24d592=>this[_0x4953d0(0x34d)][_0x4953d0(0x1dd)](_0x24d592),'onSyncEditingCollabCursor':_0x35ccdd=>this['_docSyncEditingCollabCursorService'][_0x4953d0(0x2d4)](_0x35ccdd),'onTransformRemoteChangesetByIMECache':_0x1db123=>this[_0x4953d0(0x2a1)][_0x4953d0(0x22e)](_0x1db123),'onTransformRemoteChangesetByStateCache':_0x5eb93b=>this[_0x4953d0(0x31e)]['transformRemoteChangeset'](_0x5eb93b)};_0xa148b4[_0x4953d0(0x395)](_0x311c53);}}));}};_0x4e1a2b=_0x4e357c([_0x364cff(0x0,_0x356f55[_0x33f13c(0x245)](_0x5dd295[_0x33f13c(0x210)])),_0x364cff(0x1,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x3ca)])),_0x364cff(0x2,_0x356f55[_0x33f13c(0x245)](_0x41d650)),_0x364cff(0x3,_0x356f55['Inject'](_0x1de13b)),_0x364cff(0x4,_0x356f55['Inject'](_0x9f3e8f)),_0x364cff(0x5,_0x356f55['Inject'](_0x3e3de3)),_0x364cff(0x6,_0x25054a[_0x33f13c(0x461)]),_0x364cff(0x7,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x2ea)]))],_0x4e1a2b);var _0x29be91=Object[_0x33f13c(0x1eb)],_0x2e415d=(_0x453821,_0x186fd0,_0x1dd72a,_0x50e28c)=>{const _0x3f334c=_0x33f13c;for(var _0x2e8d32=_0x50e28c>0x1?void 0x0:_0x50e28c?_0x29be91(_0x186fd0,_0x1dd72a):_0x186fd0,_0x4d0d6f=_0x453821[_0x3f334c(0x1fa)]-0x1,_0x112afe;_0x4d0d6f>=0x0;_0x4d0d6f--)(_0x112afe=_0x453821[_0x4d0d6f])&&(_0x2e8d32=_0x112afe(_0x2e8d32)||_0x2e8d32);return _0x2e8d32;},_0x24bead=(_0x2fd0d4,_0x1ef6a2)=>(_0x51107e,_0x8dfe68)=>_0x1ef6a2(_0x51107e,_0x8dfe68,_0x2fd0d4);let _0xd7834b=class extends _0x356f55[_0x33f13c(0x2ce)]{constructor(_0x31f3af,_0x52ea7a,_0x4d83cd){const _0x16f69a=_0x33f13c;super(),_0x428fe9(this,'_cachedData',new Map()),_0x428fe9(this,_0x16f69a(0x22c),new Map()),_0x428fe9(this,_0x16f69a(0x277),!0x1),(this['_configService']=_0x31f3af,this[_0x16f69a(0x246)]=_0x52ea7a,this[_0x16f69a(0x258)]=_0x4d83cd);}[_0x33f13c(0x21d)](){const _0x263f92=_0x33f13c;this[_0x263f92(0x277)]=!0x0;}[_0x33f13c(0x31c)](){const _0x1ea6cd=_0x33f13c;this[_0x1ea6cd(0x277)]=!0x1;}get[_0x33f13c(0x415)](){const _0x17ae09=_0x33f13c;return this[_0x17ae09(0x22c)];}['dispose'](){const _0x173cad=_0x33f13c;this[_0x173cad(0x45b)]()[_0x173cad(0x2c6)](()=>super[_0x173cad(0x27a)]());}async[_0x33f13c(0x41a)](_0x5ef1f1){const _0x41fe5d=_0x33f13c;return this[_0x41fe5d(0x277)]?null:this[_0x41fe5d(0x246)]['getItem'](_0x42d1b5['getLocalCacheKey'](_0x5ef1f1));}async[_0x33f13c(0x1ca)](_0xdf741b,_0x579a93){const _0x1a0f05=_0x33f13c;return!!this[_0x1a0f05(0x246)]['setItem'](_0xdf741b,_0x579a93);}['updateOfflineData'](_0x14f47a,_0x2c9688,_0x399c8a,_0x40c915){const _0x1d1c78=_0x33f13c,_0x120eaf=this['_revisionService'][_0x1d1c78(0x2f0)](_0x14f47a);this[_0x1d1c78(0x449)]['set'](_0x14f47a,{'unitID':_0x14f47a,'type':_0x2c9688,'awaitingChangeset':_0x399c8a,'mutations':_0x40c915,'rev':_0x120eaf}),this[_0x1d1c78(0x22c)][_0x1d1c78(0x30f)](_0x14f47a)||this[_0x1d1c78(0x220)](_0x14f47a);}[_0x33f13c(0x220)](_0x216898){const _0x1cc08c=_0x33f13c,_0x1a5900=this['_getSaveTimeout']();_0x1a5900===0x0?this[_0x1cc08c(0x388)](_0x216898):this[_0x1cc08c(0x22c)][_0x1cc08c(0x3c7)](_0x216898,setTimeout(()=>this['_saveCache'](_0x216898),_0x1a5900));}[_0x33f13c(0x333)](){const _0x14b6e0=_0x33f13c;var _0x14e7ab;return(_0x14e7ab=this[_0x14b6e0(0x231)][_0x14b6e0(0x22d)](_0x42d1b5[_0x14b6e0(0x319)]))!=null?_0x14e7ab:_0x42d1b5[_0x14b6e0(0x3b2)];}[_0x33f13c(0x388)](_0x1b883f){const _0x58d2be=_0x33f13c,_0x3a109c=this[_0x58d2be(0x22c)][_0x58d2be(0x3dc)](_0x1b883f);return _0x3a109c!==void 0x0&&window[_0x58d2be(0x2b2)](_0x3a109c),this['_localStorageService'][_0x58d2be(0x26e)](_0x42d1b5[_0x58d2be(0x31a)](_0x1b883f),this[_0x58d2be(0x449)][_0x58d2be(0x3dc)](_0x1b883f))['then'](()=>this[_0x58d2be(0x22c)][_0x58d2be(0x329)](_0x1b883f));}async[_0x33f13c(0x45b)](){const _0x457dcc=[];this['_saveTaskMap']['forEach']((_0xc0f8a1,_0x590209)=>{const _0x547544=_0x6c71;window[_0x547544(0x2b2)](_0xc0f8a1),_0x457dcc[_0x547544(0x249)](this['_saveCache'](_0x590209)[_0x547544(0x2c6)](()=>{const _0x14e022=_0x547544;this[_0x14e022(0x22c)][_0x14e022(0x329)](_0x590209);}));}),await Promise['all'](_0x457dcc);}};_0xd7834b=_0x2e415d([_0x24bead(0x0,_0x356f55['IConfigService']),_0x24bead(0x1,_0x356f55[_0x33f13c(0x389)]),_0x24bead(0x2,_0x356f55[_0x33f13c(0x245)](_0x1499bf[_0x33f13c(0x3e7)]))],_0xd7834b);class _0x138b7a extends _0x356f55[_0x33f13c(0x381)]{constructor(){const _0x36ccbd=_0x33f13c;super(),_0x428fe9(this,_0x36ccbd(0x2e4)),this[_0x36ccbd(0x2e4)]=_0x2c71f6['fromEvent'](window,_0x36ccbd(0x2ec))['pipe'](_0x2c71f6[_0x36ccbd(0x3fe)](this['dispose$']),_0x2c71f6[_0x36ccbd(0x279)](0x1),_0x2c71f6['mapTo'](void 0x0));}[_0x33f13c(0x3ec)](_0xf05cd4,_0x350614,_0x11e5eb=!0x1){const _0x539434=_0x33f13c,_0x237b2d=new URL(window[_0x539434(0x3da)]['href']);_0x237b2d[_0x539434(0x30d)][_0x539434(0x3c7)](_0xf05cd4,_0x350614),_0x11e5eb?window[_0x539434(0x20c)][_0x539434(0x230)]('','',_0x237b2d[_0x539434(0x3c4)]()):window[_0x539434(0x20c)][_0x539434(0x2ca)]('','',_0x237b2d[_0x539434(0x3c4)]());}['removeParam'](_0x355bf2,_0x323d76=!0x1){const _0x6bd775=_0x33f13c,_0x20ce7c=new URL(window[_0x6bd775(0x3da)][_0x6bd775(0x35a)]);_0x20ce7c[_0x6bd775(0x30d)]['delete'](_0x355bf2),_0x323d76?window[_0x6bd775(0x20c)][_0x6bd775(0x230)]('','',_0x20ce7c['toString']()):window[_0x6bd775(0x20c)][_0x6bd775(0x2ca)]('','',_0x20ce7c[_0x6bd775(0x3c4)]());}['getParam'](_0x237f57){const _0x3e3e12=_0x33f13c;var _0x3dd3f5;return(_0x3dd3f5=new URL(window[_0x3e3e12(0x3da)][_0x3e3e12(0x35a)])[_0x3e3e12(0x30d)][_0x3e3e12(0x3dc)](_0x237f57))!=null?_0x3dd3f5:void 0x0;}}var _0xf316c1=Object[_0x33f13c(0x317)],_0x55d57f=Object[_0x33f13c(0x1eb)],_0x44d997=(_0x5360ce,_0x10f25b,_0x1cabbe)=>_0x10f25b in _0x5360ce?_0xf316c1(_0x5360ce,_0x10f25b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cabbe}):_0x5360ce[_0x10f25b]=_0x1cabbe,_0x2735a2=(_0x378a31,_0x6a4e62,_0x5beb29,_0x37a056)=>{const _0x3e7176=_0x33f13c;for(var _0x44fcde=_0x37a056>0x1?void 0x0:_0x37a056?_0x55d57f(_0x6a4e62,_0x5beb29):_0x6a4e62,_0x3401e4=_0x378a31[_0x3e7176(0x1fa)]-0x1,_0x1e8073;_0x3401e4>=0x0;_0x3401e4--)(_0x1e8073=_0x378a31[_0x3401e4])&&(_0x44fcde=_0x1e8073(_0x44fcde)||_0x44fcde);return _0x44fcde;},_0x258c51=(_0x35d23f,_0x1f9cf6)=>(_0xc40dcc,_0x14e9b2)=>_0x1f9cf6(_0xc40dcc,_0x14e9b2,_0x35d23f),_0x39b0b3=(_0x2f6149,_0x55bfe2,_0x4f93a9)=>_0x44d997(_0x2f6149,_0x55bfe2+'',_0x4f93a9);const _0x4f5f78=_0x33f13c(0x1f9);_0x20de07[_0x33f13c(0x40f)]=class extends _0x356f55[_0x33f13c(0x334)]{constructor(_0x16519a=_0x208481,_0x350f3d,_0x4a4902,_0x16fe76){const _0x35376a=_0x33f13c;super(),this[_0x35376a(0x21e)]=_0x16519a,this[_0x35376a(0x39a)]=_0x350f3d,this[_0x35376a(0x465)]=_0x4a4902,this[_0x35376a(0x231)]=_0x16fe76;const {..._0x51c841}=_0x356f55[_0x35376a(0x304)]({},_0x208481,this[_0x35376a(0x21e)]);this[_0x35376a(0x231)][_0x35376a(0x23c)](_0x439091,_0x51c841);}[_0x33f13c(0x217)](){const _0x4e6d8c=_0x33f13c;this[_0x4e6d8c(0x372)](),this[_0x4e6d8c(0x44a)]();}['onRendered'](){const _0x336148=_0x33f13c;this[_0x336148(0x264)]();}[_0x33f13c(0x372)](){const _0x1b616f=_0x33f13c;var _0x3ad7ac;const _0x476c1b=[[_0x833117],[_0x9f3e8f],[_0x41d650],[_0x1de13b],[_0x3e3de3],[_0x334b7d,{'useClass':_0x138b7a}],[_0x40dcae[_0x1b616f(0x3c0)],{'useClass':_0x40dcae['WebSocketService']}],[_0x42d1b5[_0x1b616f(0x410)],{'useClass':_0xd7834b}],[_0x20de07[_0x1b616f(0x1e6)]],[_0x4e1a2b],[_0x21d29c],[_0x10d9f8],[_0x3d0acb],[_0x20de07[_0x1b616f(0x38b)]]];_0x356f55[_0x1b616f(0x300)](this[_0x1b616f(0x465)],_0x356f55[_0x1b616f(0x28e)](_0x476c1b,(_0x3ad7ac=this[_0x1b616f(0x21e)])==null?void 0x0:_0x3ad7ac[_0x1b616f(0x338)]));}[_0x33f13c(0x264)](){const _0x5bd07d=_0x33f13c;this[_0x5bd07d(0x3a9)](this[_0x5bd07d(0x39a)]['registerRenderModule'](_0x356f55[_0x5bd07d(0x2d2)]['UNIVER_DOC'],[_0x3f9d4b])),this['disposeWithMe'](this[_0x5bd07d(0x39a)][_0x5bd07d(0x46d)](_0x356f55[_0x5bd07d(0x2d2)][_0x5bd07d(0x463)],[_0x2d1d8c]));}[_0x33f13c(0x44a)](){const _0x3b2e18=_0x33f13c;_0x356f55[_0x3b2e18(0x2c9)](this[_0x3b2e18(0x465)],[[_0x10d9f8],[_0x20de07[_0x3b2e18(0x1e6)]],[_0x4e1a2b],[_0x21d29c],[_0x20de07[_0x3b2e18(0x38b)]]]);}},_0x39b0b3(_0x20de07[_0x33f13c(0x40f)],_0x33f13c(0x2c4),_0x4f5f78),_0x20de07[_0x33f13c(0x40f)]=_0x2735a2([_0x356f55['DependentOn'](_0x42d1b5['UniverCollaborationClientPlugin']),_0x258c51(0x1,_0x6d1524['IRenderManagerService']),_0x258c51(0x2,_0x356f55['Inject'](_0x356f55[_0x33f13c(0x1e3)])),_0x258c51(0x3,_0x356f55[_0x33f13c(0x2a4)])],_0x20de07[_0x33f13c(0x40f)]);var _0x59636f=Object[_0x33f13c(0x1eb)],_0x408a83=(_0x5a6ffa,_0x3275a8,_0x398c43,_0x43854e)=>{const _0x55ec1a=_0x33f13c;for(var _0x4e12c8=_0x43854e>0x1?void 0x0:_0x43854e?_0x59636f(_0x3275a8,_0x398c43):_0x3275a8,_0x4ceff8=_0x5a6ffa[_0x55ec1a(0x1fa)]-0x1,_0x29cab7;_0x4ceff8>=0x0;_0x4ceff8--)(_0x29cab7=_0x5a6ffa[_0x4ceff8])&&(_0x4e12c8=_0x29cab7(_0x4e12c8)||_0x4e12c8);return _0x4e12c8;},_0x2cd95d=(_0x12eb15,_0x7d8615)=>(_0x5d4e58,_0x3bc82b)=>_0x7d8615(_0x5d4e58,_0x3bc82b,_0x12eb15);_0x20de07[_0x33f13c(0x3de)]=class extends _0x42d1b5['CollaborationSocketService']{constructor(_0x34726a,_0x588b24,_0x39ede6,_0x214ed8,_0x34942f){super(_0x34726a,_0x588b24,_0x39ede6,_0x214ed8,_0x34942f);}async[_0x33f13c(0x314)](_0x61fe2d){const _0x255d5b=_0x33f13c,_0x34d289=await this[_0x255d5b(0x377)](),_0x50a868=this['_createSocketURL'](_0x61fe2d,_0x34d289);return this[_0x255d5b(0x3ee)](_0x50a868);}[_0x33f13c(0x339)](_0x29070b,_0x35b533){const _0x37d381=_0x33f13c,_0x534358=typeof window>'u'?new URL(_0x29070b):new URL(_0x29070b,window[_0x37d381(0x3da)][_0x37d381(0x2b3)]);_0x534358[_0x37d381(0x30d)][_0x37d381(0x3c7)](_0x37d381(0x1dc),_0x35b533);const _0x273c07=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x37d381(0x3da)][_0x37d381(0x1d5)]);return _0x273c07['get'](_0x37d381(0x416))&&_0x534358[_0x37d381(0x30d)][_0x37d381(0x3c7)](_0x37d381(0x416),_0x273c07['get'](_0x37d381(0x416))),_0x534358[_0x37d381(0x3c4)]();}async[_0x33f13c(0x377)](){const _0x604ae2=_0x33f13c;var _0x193f5c,_0x310f0f,_0xab811;const _0x1a40f4=this[_0x604ae2(0x231)][_0x604ae2(0x22d)](_0x42d1b5[_0x604ae2(0x24b)]),_0x543707=(_0x193f5c=_0x1a40f4==null?void 0x0:_0x1a40f4['wsSessionTicketUrl'])!=null?_0x193f5c:_0x42d1b5[_0x604ae2(0x375)];return(_0xab811=(_0x310f0f=(await this[_0x604ae2(0x32b)][_0x604ae2(0x3dc)](_0x543707,{'headers':{'Content-Type':_0x604ae2(0x305)}}))[_0x604ae2(0x45c)])==null?void 0x0:_0x310f0f[_0x604ae2(0x345)])!=null?_0xab811:'';}},_0x20de07[_0x33f13c(0x3de)]=_0x408a83([_0x2cd95d(0x0,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x1e3)])),_0x2cd95d(0x1,_0x356f55['Inject'](_0x40dcae['HTTPService'])),_0x2cd95d(0x2,_0x356f55['IConfigService']),_0x2cd95d(0x3,_0x356f55[_0x33f13c(0x1e5)]),_0x2cd95d(0x4,_0x1499bf[_0x33f13c(0x367)])],_0x20de07[_0x33f13c(0x3de)]);const _0x41470d=0x7530,_0xc197b3=_0x33f13c(0x371);class _0xb75610 extends _0x356f55[_0x33f13c(0x2ce)]{constructor(){const _0x3993de=_0x33f13c;super(),_0x428fe9(this,_0x3993de(0x3d3),_0x356f55[_0x3993de(0x341)]()),_0x428fe9(this,_0x3993de(0x3e4),new Set()),_0x428fe9(this,_0x3993de(0x3db),new Map()),_0x428fe9(this,_0x3993de(0x362),null),_0x428fe9(this,_0x3993de(0x469),new Map()),_0x428fe9(this,_0x3993de(0x296),new Map()),this[_0x3993de(0x38e)]();}[_0x33f13c(0x27a)](){const _0x1e0ea5=_0x33f13c;super[_0x1e0ea5(0x27a)](),this[_0x1e0ea5(0x469)][_0x1e0ea5(0x288)]((_0x364902,_0x4baf94)=>this[_0x1e0ea5(0x229)](_0x4baf94)),this['_heartbeatTimer']&&window[_0x1e0ea5(0x36e)](this[_0x1e0ea5(0x362)]);}[_0x33f13c(0x28f)](_0x590c67){const _0x40c233=_0x33f13c;return this[_0x40c233(0x20b)](_0x590c67)['pipe'](_0x2c71f6['distinctUntilChanged']());}['editingUnit'](_0x919f47){const _0x5d0007=_0x33f13c;this[_0x5d0007(0x3e4)]['size']===0x0&&this[_0x5d0007(0x34f)](),this['_selfUnitIDs']['add'](_0x919f47),this[_0x5d0007(0x468)]({'type':0x0,'memberID':this[_0x5d0007(0x3d3)],'unitIDs':[_0x919f47],'isForwarded':!0x1});}[_0x33f13c(0x46b)](_0x5642e3){const _0x4a9a9b=_0x33f13c;this['_selfUnitIDs'][_0x4a9a9b(0x329)](_0x5642e3),this[_0x4a9a9b(0x3e4)][_0x4a9a9b(0x384)]===0x0&&this['_heartbeatTimer']&&window[_0x4a9a9b(0x36e)](this[_0x4a9a9b(0x362)]);}[_0x33f13c(0x38e)](){const _0x37b0e9=_0x33f13c;this[_0x37b0e9(0x3a9)](_0x356f55['toDisposable'](_0x2c71f6[_0x37b0e9(0x207)](window,'storage')['subscribe'](_0x4dd289=>{const _0x38cdc4=_0x37b0e9;if(_0x4dd289[_0x38cdc4(0x2be)]!==_0xc197b3||!_0x4dd289[_0x38cdc4(0x2b7)])return;const _0x2e6702=JSON[_0x38cdc4(0x3e3)](_0x4dd289[_0x38cdc4(0x2b7)]);this[_0x38cdc4(0x3d9)](_0x2e6702);}))),window[_0x37b0e9(0x239)]('unload',()=>this[_0x37b0e9(0x468)]({'type':0x1,'memberID':this[_0x37b0e9(0x3d3)],'unitIDs':Array[_0x37b0e9(0x21c)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x46eef3){const _0x451738=_0x33f13c;switch(_0x46eef3[_0x451738(0x1c8)]){case 0x0:this[_0x451738(0x42b)](_0x46eef3);break;case 0x1:this[_0x451738(0x266)](_0x46eef3);break;case 0x2:this['_handleHeartbeatEvent'](_0x46eef3);break;}}['_handleJoinEvent'](_0x2b362b){const _0xdb2200=_0x33f13c,{unitIDs:_0x2e3df8,memberID:_0x1c3df3,isForwarded:_0x7f3b14}=_0x2b362b;_0x2e3df8[_0xdb2200(0x288)](_0x1032b1=>{const _0x5c8a31=_0xdb2200;if(!_0x7f3b14&&this[_0x5c8a31(0x3db)][_0x5c8a31(0x30f)](_0x1032b1)&&this[_0x5c8a31(0x20b)](_0x1032b1)[_0x5c8a31(0x2e7)](_0x42d1b5[_0x5c8a31(0x452)][_0x5c8a31(0x3f9)]),!this[_0x5c8a31(0x3db)][_0x5c8a31(0x30f)](_0x1032b1)||!this[_0x5c8a31(0x3db)]['get'](_0x1032b1)[_0x5c8a31(0x30f)](_0x1c3df3)){const _0x35fdf8=this[_0x5c8a31(0x3db)][_0x5c8a31(0x3dc)](_0x1032b1)||new Set();_0x35fdf8['add'](_0x1c3df3),this[_0x5c8a31(0x3db)][_0x5c8a31(0x3c7)](_0x1032b1,_0x35fdf8),this[_0x5c8a31(0x20a)](_0x1c3df3);}}),_0x7f3b14||this[_0xdb2200(0x468)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xdb2200(0x3e4)]],'isForwarded':!0x0});}[_0x33f13c(0x20a)](_0xc90f89){const _0x2734ec=_0x33f13c;this[_0x2734ec(0x229)](_0xc90f89);const _0x27e432=window[_0x2734ec(0x2a9)](()=>{const _0x1ce267=_0x2734ec;this[_0x1ce267(0x3db)]['forEach'](_0x356fe0=>{const _0x4221bc=_0x1ce267;_0x356fe0[_0x4221bc(0x329)](_0xc90f89);});},_0x41470d*0x2);this[_0x2734ec(0x469)]['set'](_0xc90f89,_0x27e432);}[_0x33f13c(0x229)](_0x2547d6){const _0x636f1b=_0x33f13c;if(this['_clearOtherTimers']['has'](_0x2547d6)){const _0x4af4c2=this[_0x636f1b(0x469)]['get'](_0x2547d6);_0x4af4c2&&window[_0x636f1b(0x2b2)](_0x4af4c2),this['_clearOtherTimers'][_0x636f1b(0x3c7)](_0x2547d6,null);}}[_0x33f13c(0x266)](_0x38746){const _0x5eb57d=_0x33f13c,{memberID:_0x2dd209,unitIDs:_0x926e54}=_0x38746;_0x926e54[_0x5eb57d(0x288)](_0x2a76b4=>{const _0x54b17e=_0x5eb57d;var _0x197f0a;const _0x34f5a3=this[_0x54b17e(0x3db)][_0x54b17e(0x3dc)](_0x2a76b4);_0x34f5a3&&(_0x34f5a3['delete'](_0x2dd209),(_0x197f0a=this[_0x54b17e(0x20b)](_0x2a76b4))==null||_0x197f0a[_0x54b17e(0x2e7)](_0x34f5a3[_0x54b17e(0x384)]===0x0?_0x42d1b5[_0x54b17e(0x452)][_0x54b17e(0x373)]:_0x42d1b5[_0x54b17e(0x452)][_0x54b17e(0x3f9)]));}),this[_0x5eb57d(0x229)](_0x2dd209);}[_0x33f13c(0x37c)](_0x3bcc0e){const _0x8d8350=_0x33f13c;this['_scheduleClearOtherTimer'](_0x3bcc0e[_0x8d8350(0x2c1)]);}[_0x33f13c(0x468)](_0x3d8ac2){const _0x1e540b=_0x33f13c;localStorage[_0x1e540b(0x26e)](_0xc197b3,JSON[_0x1e540b(0x3cf)](_0x3d8ac2));}[_0x33f13c(0x34f)](){const _0x36f66a=_0x33f13c;this[_0x36f66a(0x362)]=window[_0x36f66a(0x45d)](()=>{const _0x3966d4=_0x36f66a;this[_0x3966d4(0x468)]({'type':0x2,'memberID':this[_0x3966d4(0x3d3)]});},_0x41470d);}[_0x33f13c(0x20b)](_0x4112d5){const _0x148d2f=_0x33f13c;return this[_0x148d2f(0x296)]['has'](_0x4112d5)||this[_0x148d2f(0x296)][_0x148d2f(0x3c7)](_0x4112d5,new _0x2c71f6[(_0x148d2f(0x29c))](_0x42d1b5[_0x148d2f(0x452)][_0x148d2f(0x373)])),this['_unitStatus'][_0x148d2f(0x3dc)](_0x4112d5);}}var _0xac5781=(_0x4f41d1=>(_0x4f41d1[_0x4f41d1[_0x33f13c(0x335)]=0x0]=_0x33f13c(0x335),_0x4f41d1[_0x4f41d1['OK']=0x1]='OK',_0x4f41d1[_0x4f41d1[_0x33f13c(0x291)]=0x2]=_0x33f13c(0x291),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3f6)]=0x3]=_0x33f13c(0x3f6),_0x4f41d1[_0x4f41d1[_0x33f13c(0x36b)]=0x4]=_0x33f13c(0x36b),_0x4f41d1[_0x4f41d1['UNAUTHENTICATED']=0x5]=_0x33f13c(0x320),_0x4f41d1[_0x4f41d1[_0x33f13c(0x29d)]=0x6]=_0x33f13c(0x29d),_0x4f41d1[_0x4f41d1['INVALID_ARGUMENT']=0x7]=_0x33f13c(0x34e),_0x4f41d1[_0x4f41d1[_0x33f13c(0x2a6)]=0x8]=_0x33f13c(0x2a6),_0x4f41d1[_0x4f41d1[_0x33f13c(0x46c)]=0x9]=_0x33f13c(0x46c),_0x4f41d1[_0x4f41d1[_0x33f13c(0x1ef)]=0xa]=_0x33f13c(0x1ef),_0x4f41d1[_0x4f41d1[_0x33f13c(0x357)]=0xb]=_0x33f13c(0x357),_0x4f41d1[_0x4f41d1[_0x33f13c(0x45e)]=0xc]=_0x33f13c(0x45e),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3af)]=0xd]=_0x33f13c(0x3af),_0x4f41d1[_0x4f41d1[_0x33f13c(0x26f)]=0xe]=_0x33f13c(0x26f),_0x4f41d1[_0x4f41d1[_0x33f13c(0x466)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4f41d1[_0x4f41d1[_0x33f13c(0x447)]=0x1771]=_0x33f13c(0x447),_0x4f41d1[_0x4f41d1[_0x33f13c(0x382)]=0x1772]=_0x33f13c(0x382),_0x4f41d1[_0x4f41d1[_0x33f13c(0x356)]=0x1773]=_0x33f13c(0x356),_0x4f41d1[_0x4f41d1[_0x33f13c(0x40c)]=0x1b59]=_0x33f13c(0x40c),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3ae)]=0x1b5a]=_0x33f13c(0x3ae),_0x4f41d1[_0x4f41d1[_0x33f13c(0x206)]=0x1b5b]=_0x33f13c(0x206),_0x4f41d1[_0x4f41d1[_0x33f13c(0x29a)]=0x1b5c]=_0x33f13c(0x29a),_0x4f41d1[_0x4f41d1['APPLY_DUPLICATED']=0x1b5d]=_0x33f13c(0x2b0),_0x4f41d1[_0x4f41d1[_0x33f13c(0x1ff)]=0x1f41]=_0x33f13c(0x1ff),_0x4f41d1[_0x4f41d1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x33f13c(0x397),_0x4f41d1[_0x4f41d1[_0x33f13c(0x1ee)]=0x232a]=_0x33f13c(0x1ee),_0x4f41d1[_0x4f41d1[_0x33f13c(0x46a)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4f41d1[_0x4f41d1[_0x33f13c(0x435)]=0x232c]=_0x33f13c(0x435),_0x4f41d1[_0x4f41d1[_0x33f13c(0x423)]=0x232d]=_0x33f13c(0x423),_0x4f41d1[_0x4f41d1[_0x33f13c(0x1d2)]=0x2711]=_0x33f13c(0x1d2),_0x4f41d1[_0x4f41d1[_0x33f13c(0x26d)]=0x2712]=_0x33f13c(0x26d),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3e6)]=0x2713]=_0x33f13c(0x3e6),_0x4f41d1[_0x4f41d1[_0x33f13c(0x41f)]=0x2714]=_0x33f13c(0x41f),_0x4f41d1[_0x4f41d1['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x33f13c(0x328),_0x4f41d1[_0x4f41d1['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x33f13c(0x2d6),_0x4f41d1[_0x4f41d1['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x33f13c(0x3b1),_0x4f41d1[_0x4f41d1[_0x33f13c(0x297)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4f41d1[_0x4f41d1[_0x33f13c(0x418)]=0x271e]=_0x33f13c(0x418),_0x4f41d1[_0x4f41d1[_0x33f13c(0x25f)]=0x271f]=_0x33f13c(0x25f),_0x4f41d1[_0x4f41d1[_0x33f13c(0x211)]=0x2720]=_0x33f13c(0x211),_0x4f41d1[_0x4f41d1['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x33f13c(0x254),_0x4f41d1[_0x4f41d1[_0x33f13c(0x37e)]=0x2ee1]=_0x33f13c(0x37e),_0x4f41d1[_0x4f41d1[_0x33f13c(0x41c)]=0x2ee2]=_0x33f13c(0x41c),_0x4f41d1[_0x4f41d1[_0x33f13c(0x2e1)]=0x2ee3]=_0x33f13c(0x2e1),_0x4f41d1[_0x4f41d1['USER_NOT_INVITED_CODE']=0x2ee4]=_0x33f13c(0x313),_0x4f41d1[_0x4f41d1[_0x33f13c(0x1fd)]=0x2ee5]=_0x33f13c(0x1fd),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3bb)]=0x32c9]=_0x33f13c(0x3bb),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3fc)]=0x32ca]=_0x33f13c(0x3fc),_0x4f41d1[_0x4f41d1['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4f41d1[_0x4f41d1[_0x33f13c(0x1ec)]=-0x1]=_0x33f13c(0x1ec),_0x4f41d1))(_0xac5781||{}),_0x34069d=Object['getOwnPropertyDescriptor'],_0x38e796=(_0x50369e,_0x10d44b,_0xb28dda,_0x1a822a)=>{const _0x54a64b=_0x33f13c;for(var _0x402f94=_0x1a822a>0x1?void 0x0:_0x1a822a?_0x34069d(_0x10d44b,_0xb28dda):_0x10d44b,_0x33110e=_0x50369e[_0x54a64b(0x1fa)]-0x1,_0x215fcc;_0x33110e>=0x0;_0x33110e--)(_0x215fcc=_0x50369e[_0x33110e])&&(_0x402f94=_0x215fcc(_0x402f94)||_0x402f94);return _0x402f94;},_0x2036fc=(_0x57e459,_0x178363)=>(_0xe7ac94,_0x359d98)=>_0x178363(_0xe7ac94,_0x359d98,_0x57e459);_0x20de07[_0x33f13c(0x33d)]=class extends _0x356f55[_0x33f13c(0x2ce)]{constructor(_0x441b3a,_0x1b756b,_0x59694e){const _0x4c773d=_0x33f13c;super(),this[_0x4c773d(0x400)]=_0x441b3a,this[_0x4c773d(0x32b)]=_0x1b756b,this[_0x4c773d(0x231)]=_0x59694e;}async[_0x33f13c(0x306)](_0xebb927,_0x6a5728,_0x23e9c5,..._0x5b96e2){const _0xa0df40=_0x33f13c;var _0x1f7e4a,_0x5db1d1,_0x4f6141,_0x598c83;const _0x43c604=this[_0xa0df40(0x400)][_0xa0df40(0x27b)]();if(!_0x43c604)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x787ea8=((_0x1f7e4a=this[_0xa0df40(0x231)][_0xa0df40(0x22d)](_0x42d1b5[_0xa0df40(0x44d)]))!=null?_0x1f7e4a:_0x42d1b5[_0xa0df40(0x262)])+'/'+_0xebb927+_0xa0df40(0x1ce)+_0x6a5728,_0x48a86a=new URL(window[_0xa0df40(0x3da)][_0xa0df40(0x35a)]),_0x317c50={'scriptId':_0xebb927,'runId':(_0x5db1d1=_0x48a86a[_0xa0df40(0x30d)][_0xa0df40(0x3dc)](_0xa0df40(0x416)))!=null?_0x5db1d1:'','function':_0x6a5728,'unitId':_0x43c604[_0xa0df40(0x282)](),'argsOfFunction':JSON['stringify'](_0x5b96e2),'invokeId':(_0x4f6141=_0x23e9c5['invokeId'])!=null?_0x4f6141:'','executionId':(_0x598c83=_0x23e9c5[_0xa0df40(0x453)])!=null?_0x598c83:''};try{const _0x14fd22=await this['_httpService']['post'](_0x787ea8,{'body':_0x317c50});return _0x14fd22[_0xa0df40(0x45c)]['error']&&_0x14fd22[_0xa0df40(0x45c)][_0xa0df40(0x41b)][_0xa0df40(0x263)]!==_0xac5781['OK']?'Failed':_0x14fd22[_0xa0df40(0x45c)][_0xa0df40(0x43c)];}catch{return _0xa0df40(0x3ac);}}},_0x20de07[_0x33f13c(0x33d)]=_0x38e796([_0x2036fc(0x0,_0x356f55[_0x33f13c(0x1d6)]),_0x2036fc(0x1,_0x356f55['Inject'](_0x40dcae[_0x33f13c(0x2a0)])),_0x2036fc(0x2,_0x356f55['IConfigService'])],_0x20de07[_0x33f13c(0x33d)]),_0x20de07[_0x33f13c(0x412)]=_0x2d6994,_0x20de07[_0x33f13c(0x43d)]=_0x334b7d,_0x20de07[_0x33f13c(0x24a)]=_0x5ef263,_0x20de07['WebBrowserSingleActiveUnitService']=_0xb75610,_0x20de07['WebURLService']=_0x138b7a,Object[_0x33f13c(0x317)](_0x20de07,Symbol[_0x33f13c(0x200)],{'value':'Module'});}));
|