@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505031606 → 0.7.0-nightly.202505051607

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1fd4(){const _0x4a4a3e=['_lastPointer','textRanges','collab-text-range-','font','InsertRowCommandId','UNDEFINED','getUniverSheetInstance','getActiveSheet','getCollabCursors$','assign','saveTaskMap','mutations','UniverDocs','_cursors','override','_labelPosition','IURLService','Vector2','YUUMI_TABLE_NOT_FOUND_IN_UNIT','NodePositionConvertToRectRange','runOnServer','RevisionService','react','event$','SetWorksheetActivateCommand','getOffsetConfig','_dataLoaderService','MUTATION','NO_OTHER_CLIENTS_EDITING','_commandService','FromArray','RemoveRowCommandId','univer-text-red-500','DocSelectionManagerService','doc.mutation.rich-text-editing','_startSheetCollabCursor','_entityInit$','@univerjs/sheets-ui','UNRECOGNIZED','UniverCollaborationClientPlugin','rxjs','[RemoteUniscriptService]:\x20no\x20focused\x20unit','registerDependencies','getMemberID','_updateSubUnitFromURLParams','complete','DEFAULT_WS_SESSION_TICKET_URL','debounceTime','collaboration.closeRoom','executeCommand','split','Inject','collab-text-anchor-','purple300','throttleTime','_syncEditingCollabCursorService','OnLineSingle','getTypeOfUnitDisposed$','touchDependencies','m1Prime','endColumn','replaceDocRanges','href','translate(.97)','useObservable','getSheetBySheetId','setStateCache','getStateCache','getAncestorScale','_range','loadOfflineData','_initResize','BehaviorSubject','LICENSE_MAX_UNITS_EXCEEDED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','redoState','RemoteUniscriptService','use','ThemeService','HTTPService','replace','CLOSE_ROOM','getViewport','popstate','_setupBeforeClosingHandler','_initCommandExecutedListener','getSkeleton','triggerDblclick','selection','@univerjs/engine-render','isTransformMutationFailure','stringify','_unitStatus','OFFLINE','_renderManagerService','@univerjs/network','COMPLETION_FINISHED','unitID','beginPath','verdancy600','merge','transform','off-line-single_clip0_910_343','ICommandService','disableLocalCache','show','RefRangeService','off-line-single','createElement','ENSURE_SNAPSHOT_EXECUTION','isEditing','onRendered','requireSession','row','symbol','idSuffix','@univerjs/engine-formula','447373SXIJYG','_getSaveTimeout','WECHAT_HAS_BEEN_BOUND','OffLineSingle','SUBMIT_CHANGESET_TIMEOUT','_scheduleClearOtherTimer','url(#off-line-single_clip0_910_343)','UnitStatus','getUnitId','SheetCollabCursorShape','PERMISSION_DENIED','error','getCellPositionByOffset','contains','defs','UniverInstanceType','next','ISocketService','DependentOn','M0\x200H16V16H0z','rxjs/operators','APPLY_REJECT','UniverCollaborationClientUIPlugin','push','_refreshCollabCursors','_cursorShapes','getVpScrollXYInfoByPosToVp','origin','useDependency','extend','DOC_RANGE_TYPE','LocaleService','handleIRemoveRow','values','_localCacheService','_hideTimer','RECT','getCurrent','SetSelectionsOperation','SessionStatus','_color','DocStateChangeManagerService','loadUnit','collabStatus.offline','updateOfflineData','asObservable','_draw','onCommandExecuted','_initEvent','_updateURLWithCurrentState','string','IUniverInstanceService','text','IBeforeCloseService','_context','_scheduleSaving','find','_getAnchorBounding','color','_memberService','UniverUi','onLocalMutation','collabStatus.notCollab','_docSyncEditingCollabCursorService','_collabCursorState$','delete','YUUMI_UNABLE_LOAD_URL','dispose','forwardRef','ALREADY_EXISTS','data','uni.network.url-service','_transformUndoRedoStack','YUUMI_ASYNCIO_CANCELLED','params','clearInterval','map','_handleHeartbeatEvent','UniverIcon','displayName','SNAPSHOT_HAS_BEEN_REMOVED','column','_saveTaskMap','@univerjs/rpc','DesktopCollaborationStatusDisplayController','toRgbString','undoState','selections','restore','CollaborationUIEventId','...','_cachedData','subUnitId','newValue','clearTimeout','_transformPreviousActiveRange','handleIRemoveCol','fromEventSubject','min','_docClipboardService','function','LICENSE_EXPORT_SIZE_EXCEEDED','NOT_FOUND','_init','ILocalStorageService','_collaborationController','saveImage','m2Prime','CHANGESET_REVISION_CONFILICT','createIdentifier','_removeClearOtherTimer','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getLocalCacheKey','session.connection-failed','ONLINE','collabCursorState$','RegularPolygon','DisposableCollection','MOBILE_HAS_BEEN_BOUND','7527456xkRslo','_toggleOnline','handleDeleteRangeMoveUp','CONNECTOR_DATA_TOO_LARGE','_scene','_onCursorDelete','FETCH_MISS','prototype','wsSessionTicketUrl','SNAPSHOT_INVALID_SNAPSHOT','exhaustSavingTask','TEXT_RANGE_LAYER_INDEX','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','entries','_id','0\x200\x2016\x2016','_toggleOffline','registerBeforeClose','_logService','pipe','skeleton','_disabled','permission.content','_online','on-line-single_clip0_910_349','RemoveColCommandId','_document','IDocClipboardService','getCoordByCell','svg','NOT_COLLAB','UNIVER_SHEET','ITransformService','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverSheets','_instanceService','NodePositionConvertToCursor','_registerRenderDependencies','random','SOCKET_FAILED_RETRY','addObject','handleInsertRow','session.will-retry','path','subscribe','getRenderById','_entities','takeUntil','@univerjs/docs-ui','cursorInfo','startColumn','max','getOwnPropertyDescriptor','gold400','_setupSubUnitSync','UniverEngineRender','ranges','collab-rect-range-','location','DocSkeletonManagerService','PENDING','12SEmLei','_removeCollabCursors','_transformService','getFocusedUnit','fillRule','pushState','InsertColCommandId','getUnitStatus$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_backgroundColor','Tooltip','3644907yJZrTD','YUUMI_NO_CUBOID_FOR_QUESTION','_updateLocalCursor','_heartbeatTimer','labelPosition','entityInit$','UNIVER_DOC','_revisionService','24WFtrJP','clipPath','onPointerMove$','_urlService','SOCKET_FAILED','_saveCache','endRow','OTHER_CLIENTS_EDITING','RxDisposable','assignAColorForMemberID','url(#$1','INVALID_INVITE_CODE','_onRefRangeChange','distinctUntilChanged','UniverEngineFormula','post','1em','React','getRangePointData','disposeWithMe','send','get','YUUMI_RATE_OVER_LIMIT','width','currentTheme$','engine','CollaborationSessionService','transformMutationsWithChangeset','#FFF','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverCore','getSheetId','className','_notificationService','moveTo','INTERNAL_ERROR','IImageIoService','_handleJoinEvent','CONFLICT','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_registerDependencies','combineLatest','getCurrentRevOfUnit','APPLY_NON_SEQUENTIAL_REVISION','icon','ACTIVE_UNIT_EVENT_CHANNEL','getValue','flatMap','div','#fff','jsxs','propertyIsEnumerable','IMessageService','getTypeOfUnitAdded$','CollaborationEvent','registerComponent','saveOfflineData','unitId','collabStatus.fetchMiss','_transformHistoryAndStateStack','_sheetSkeletonManagerService','2105348qcCbYz','setParam','_docSkeletonManagerService','@univerjs-pro/collaboration-client','@univerjs/core','INVITE_CODE_ALREADY_BOUND','substring','switchMap','source','unshift','transformRemoteChangeset','backgroundColor','EffectRefRangId','COLORS','_drawAnchor','IRenderManagerService','setItem','_localeService','addClipboardHook','CollaborationStatus','@univerjs/sheets','save','Error','black','MemberService','_handleLeaveEvent','TRANSFORM_CHANGE_OBSERVABLE_TYPE','WebSocketService','_themeService','subunit','runId','handleInsertCol','_refRangeService','collaboration-client-ui.config','_anchorDot','_roomMembers$','startRow','collaboration-client.offline-data-not-saved','BrowserCollaborationSocketService','onStarting','all','@univerjs/design','permission.title','@univerjs/drawing','_drawTextRange','call','_shapes','_getSheetObject','getUndoRedoMutationParamsCache','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','VIEW_MAIN','PY_RUNTIME_SCRIPT_ERROR','UNAUTHENTICATED','activeSheet$','@univerjs/ui','searchParams','_cursorInfo$','docStateChange$','LOGIN_FAILED','_selfUnitIDs','hovered','findNodePositionByCharIndex','filter','sheetId','TOO_MANY_REQUESTS','_configService','_onCursorUpdate','_initDependencies','WebURLService','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','getActiveRange','setActiveRange','UPDATE_CURSOR','_uiPartsService','APPLY_DUPLICATED','clsx','createSocket','Rect','apply','init','indexOf','univer-text-green-500','_localStorageService','replaceState','handleInsertRangeMoveDown','_colorAssignService','_httpService','JOIN_ROOM_FAILED','some','_ensureSubject','invokeId','getMergeData','Optional','tag','setShapeProps','transformMutation','on-line-single','has','transformIMECache','forEach','defineProperty','closePath','height','Workbook','transformStateCache','MessageType','mask','jsx','size','reconnect','setConfig','_getMergeRange','AWAITING','hasOwnProperty','collaboration.single-unit.warning','getColor','then','_collabCursorController','toString','setAlpha','[CollaborationDataLoaderController]','_messageService','APPLY_REVISION_CONFILICT','currentSkeleton$','hide','_getScale','DocIMEInputManagerService','Warning','onPointerEnter$','getCurrentSelections','getDocRanges','mergeOverrideWithDependencies','amd','transformByState','top','ILocalCacheService','collabStatus.conflict','1445870IbvTrh','_imageIoService','arc','INVITE_CODE_REQUIRED','_docSkeleton','getRelativeToViewportCoord','application/json','Unknown\x20user','SetTextSelectionsOperation','pluginName','univerjs-icon\x20univerjs-icon-','evenodd','xlink:href','add','collab-client.tooltip.reconnect','trim','IConfigService','measureText','CollaborationDataLoaderController','Rectangle','APPLY_PERMISSION_DENIED','Failed','LOCAL_CACHE_INTERVAL','_hovered','LICENSE_IMPORT_SIZE_EXCEEDED','concat','_config','children','IRemoteInstanceService','_injector','RichTextEditingMutation','type','DocCollaborationEntity','INVITE_CODE_HAS_BEEN_UES','_updateCollabCursors','INotificationService','debounce','_hover','body','SYNCED','_docTransformSelectionsService','currentColor','LICENSE_DISTRO_REJECTED','DeleteRangeMoveLeftCommandId','deepClone','isTransformMutationsWithChangesetSuccess','CommandType','exports','current','roomMembers$','actions','getItem','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','deserializeRangeWithSheet','isActive','CollaborationController','bottom','colorChannel1','getOwnPropertySymbols','_status$','LOCAL_CACHE_INTERVAL_KEY','_beforeCloseService','_docTransformIMECacheService','IUIPartsService','operators','Injector','_session','_drawRectRange','with','ISnapshotServerService','range','Shape','1550112JcVRgW','resize','CollaborationStatusDisplay','unit','addHandlerCallback','url(#on-line-single_clip0_910_349)','_send','history','dispose$','roomMembers','YUUMI_ALL_TABLES_IS_INVALID','registerRenderModule','length','name','_handleEvent','onTransformChange$','eventID','jiqing500','_textBubble','status$','round','BuiltInUIPart','InsertRangeMoveDownCommandId','YUUMI_URL_COL_OUT_OF_RANGE','_docTransformStateCacheService','USERS_LEAVE','defIds','isArray','storage','UniverDocsUi','subscribeEvent','toDisposable','YUUMI_AI_RUN_FAILED','onPointerLeave$','onMouseMove','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','unload','useRef','1637892prbZSt','_clearOtherTimers','result','_createSocketURL','EMAIL_HAS_BEEN_BOUND','imageSourceType','_initStatusListener','UniverDrawing','fillText','@univerjs-pro/collaboration','_cursor','urlChange$','UniverNetwork','_eventUnsubscribe','unsubscribe','lineTo','parse','TEXT','cursorInfo$','mapTo','Disposable','transformSelections','react/jsx-runtime','USER_NOT_INVITED_CODE','sessionTicket','drawWith','debug','none','createInstance','SheetsSelectionsService','_univerInstanceService','ILogService','getMember','sessionStatus$','set','sheetID','enableLocalCache','_initEntityListener','toStringTag','_render','getConfig','Module','_assignedColors','_name','fill','fromEvent','_initStatusComponent','_unitOnClients','registerRefRange','UniverProCollaboration','_docStateChangeManagerService','from','getParam','syncEditingCollabCursor','_collabSessionService','INVALID_ARGUMENT','attrs','Tools','ColorKit','generateRandomId','getSheetObject','CollaborationSocketService','_anchor'];_0x1fd4=function(){return _0x4a4a3e;};return _0x1fd4();}function _0x4e65(_0xcaee9,_0x546c03){const _0x1fd4df=_0x1fd4();return _0x4e65=function(_0x4e65fe,_0x1ab607){_0x4e65fe=_0x4e65fe-0xd1;let _0x12a437=_0x1fd4df[_0x4e65fe];return _0x12a437;},_0x4e65(_0xcaee9,_0x546c03);}(function(_0x49eb78,_0x3084ba){const _0x376789=_0x4e65,_0x58bc6a=_0x49eb78();while(!![]){try{const _0x461f23=-parseInt(_0x376789(0x257))/0x1+-parseInt(_0x376789(0x1a3))/0x2+-parseInt(_0x376789(0x316))/0x3+parseInt(_0x376789(0x30b))/0x4*(parseInt(_0x376789(0x135))/0x5)+-parseInt(_0x376789(0x31e))/0x6*(-parseInt(_0x376789(0x35c))/0x7)+parseInt(_0x376789(0x17d))/0x8+parseInt(_0x376789(0x2ce))/0x9;if(_0x461f23===_0x3084ba)break;else _0x58bc6a['push'](_0x58bc6a['shift']());}catch(_0x4dd0e0){_0x58bc6a['push'](_0x58bc6a['shift']());}}}(_0x1fd4,0x973ae),function(_0x31a536,_0x2956c5){const _0x3f6821=_0x4e65;typeof exports=='object'&&typeof module<'u'?_0x2956c5(exports,require(_0x3f6821(0x35f)),require(_0x3f6821(0x360)),require(_0x3f6821(0x23b)),require(_0x3f6821(0x241)),require(_0x3f6821(0x2fe)),require(_0x3f6821(0xd7)),require('rxjs'),require('@univerjs/docs'),require(_0x3f6821(0x1ac)),require('@univerjs/engine-formula'),require(_0x3f6821(0x370)),require(_0x3f6821(0x26b)),require(_0x3f6821(0x207)),require(_0x3f6821(0x1b9)),require(_0x3f6821(0xe2)),require(_0x3f6821(0xd5)),require(_0x3f6821(0x1f8)),require(_0x3f6821(0x2aa))):typeof define==_0x3f6821(0x2bb)&&define[_0x3f6821(0x130)]?define([_0x3f6821(0x164),_0x3f6821(0x35f),_0x3f6821(0x360),'@univerjs/engine-render','@univerjs/network',_0x3f6821(0x2fe),_0x3f6821(0xd7),_0x3f6821(0x20a),'@univerjs/docs',_0x3f6821(0x1ac),_0x3f6821(0x256),_0x3f6821(0x370),_0x3f6821(0x26b),_0x3f6821(0x207),_0x3f6821(0x1b9),_0x3f6821(0xe2),_0x3f6821(0xd5),_0x3f6821(0x1f8),'@univerjs/rpc'],_0x2956c5):(_0x31a536=typeof globalThis<'u'?globalThis:_0x31a536||self,_0x2956c5(_0x31a536['UniverProCollaborationClientUi']={},_0x31a536['UniverProCollaborationClient'],_0x31a536[_0x3f6821(0x33c)],_0x31a536[_0x3f6821(0x305)],_0x31a536[_0x3f6821(0x1af)],_0x31a536[_0x3f6821(0x19a)],_0x31a536[_0x3f6821(0x1aa)],_0x31a536[_0x3f6821(0x20a)],_0x31a536[_0x3f6821(0x1ee)],_0x31a536[_0x3f6821(0x1d4)],_0x31a536[_0x3f6821(0x32c)],_0x31a536[_0x3f6821(0x2f0)],_0x31a536[_0x3f6821(0x20a)][_0x3f6821(0x175)],_0x31a536['UniverSheetsUi'],_0x31a536[_0x3f6821(0x32f)],_0x31a536[_0x3f6821(0x293)],_0x31a536['UniverDesign'],_0x31a536['React'],_0x31a536['UniverRpc']));}(this,function(_0x18ce8a,_0x5d028d,_0x2590ea,_0x5364ea,_0x117399,_0xac86dc,_0x3f2fb3,_0x8dc742,_0x364faa,_0x4a4e6c,_0x1ba845,_0x1d5030,_0xc3ba9e,_0x3c8877,_0x12f474,_0x2405df,_0x1ca64d,_0x10065a,_0x56bd4b){'use strict';const _0x484f0e=_0x4e65;var _0x43f321=Object[_0x484f0e(0x110)],_0x4338a3=(_0x1e29c9,_0x198e44,_0x112c45)=>_0x198e44 in _0x1e29c9?_0x43f321(_0x1e29c9,_0x198e44,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x112c45}):_0x1e29c9[_0x198e44]=_0x112c45,_0x1a821a=(_0x1b742a,_0xbd92c1,_0x56d58c)=>_0x4338a3(_0x1b742a,typeof _0xbd92c1!=_0x484f0e(0x254)?_0xbd92c1+'':_0xbd92c1,_0x56d58c),_0x165d6b=Object[_0x484f0e(0x302)],_0x43ae09=(_0x5d4a6b,_0x417804,_0x157117,_0x183478)=>{const _0x43069e=_0x484f0e;for(var _0x12e993=_0x183478>0x1?void 0x0:_0x183478?_0x165d6b(_0x417804,_0x157117):_0x417804,_0x30f8a1=_0x5d4a6b[_0x43069e(0x189)]-0x1,_0x12979b;_0x30f8a1>=0x0;_0x30f8a1--)(_0x12979b=_0x5d4a6b[_0x30f8a1])&&(_0x12e993=_0x12979b(_0x12e993)||_0x12e993);return _0x12e993;},_0x331766=(_0x22ecca,_0x2f91ec)=>(_0x48fc59,_0x3d0b2b)=>_0x2f91ec(_0x48fc59,_0x3d0b2b,_0x22ecca);let _0x184fa7=class extends _0x2590ea[_0x484f0e(0x326)]{constructor(_0x5226ca,_0x12be87){const _0x4c5ebf=_0x484f0e;super(),this[_0x4c5ebf(0x2ba)]=_0x5226ca,this[_0x4c5ebf(0x136)]=_0x12be87,this[_0x4c5ebf(0x2be)]();}['_init'](){const _0x21b8d8=_0x484f0e,_0x5e06cb=this;this[_0x21b8d8(0x331)](this['_docClipboardService'][_0x21b8d8(0x36e)]({'onBeforePasteImage':async _0x1d9e35=>{const _0x4b91ee=_0x21b8d8,_0x1431fc=await _0x5e06cb[_0x4b91ee(0x136)][_0x4b91ee(0x2c1)](_0x1d9e35);return _0x1431fc?{'source':_0x1431fc[_0x4b91ee(0x364)],'imageSourceType':_0x1431fc[_0x4b91ee(0x1a8)]}:null;}}));}};_0x184fa7=_0x43ae09([_0x331766(0x0,_0xac86dc[_0x484f0e(0x2e9)]),_0x331766(0x1,_0x3f2fb3[_0x484f0e(0x342)])],_0x184fa7);const _0x1fa59c=[_0x484f0e(0x217),_0x484f0e(0x18e),_0x484f0e(0x245),'red300','blue400',_0x484f0e(0x303)];class _0x146618 extends _0x2590ea['Disposable']{constructor(){const _0x23632e=_0x484f0e;super(...arguments),_0x1a821a(this,_0x23632e(0x1cd),new Map()),_0x1a821a(this,'_colorIndex',0x0);}[_0x484f0e(0x327)](_0x56a25c){const _0x474ec2=_0x484f0e;if(this[_0x474ec2(0x1cd)][_0x474ec2(0x10d)](_0x56a25c))return this['_assignedColors']['get'](_0x56a25c);const _0x5beac6=_0x1fa59c[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x1fa59c[_0x474ec2(0x189)],this[_0x474ec2(0x1cd)][_0x474ec2(0x1c5)](_0x56a25c,_0x5beac6),_0x5beac6;}}function _0x44e40a(_0x18c86a){let _0x24b8ee='';for(const _0x511acf of _0x18c86a){const {startOffset:_0x44ea5f,endOffset:_0x2e7c48,isActive:_0x8117c1,rangeType:_0x5b1e8c,segmentId:_0x39fdaa,segmentPage:_0x3df108}=_0x511acf;_0x24b8ee['length']&&(_0x24b8ee+=','),_0x24b8ee+=_0x44ea5f+':'+_0x2e7c48+':'+(_0x8117c1?'1':'0')+':'+_0x5b1e8c+':'+_0x39fdaa+':'+_0x3df108;}return _0x24b8ee;}function _0x578410(_0x24e990){const _0x382e48=_0x484f0e,_0x342c40=_0x24e990[_0x382e48(0x214)](','),_0x4d285b=[];for(const _0x53cf0a of _0x342c40){const [_0x3478db,_0x5afd2e,_0x444f87,_0x12a1e1,_0x46fcb0,_0x41f079]=_0x53cf0a[_0x382e48(0x214)](':');_0x4d285b[_0x382e48(0x26e)]({'startOffset':Number(_0x3478db),'endOffset':Number(_0x5afd2e),'collapsed':_0x3478db===_0x5afd2e,'isActive':_0x444f87==='1','rangeType':_0x12a1e1===_0x2590ea[_0x382e48(0x275)][_0x382e48(0x1b4)]?_0x2590ea[_0x382e48(0x275)]['TEXT']:_0x2590ea['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x46fcb0==_0x382e48(0x289)?String(_0x46fcb0):'','segmentPage':Number(_0x41f079!=null?_0x41f079:-0x1)});}return _0x4d285b[_0x382e48(0x104)](_0x3ba5c5=>_0x3ba5c5[_0x382e48(0x16b)])||(_0x4d285b[0x0][_0x382e48(0x16b)]=!0x0),_0x4d285b;}class _0x1da6ae extends _0x2590ea[_0x484f0e(0x326)]{constructor(){const _0xa3ed5c=_0x484f0e;super(...arguments),_0x1a821a(this,_0xa3ed5c(0x297),new _0x8dc742[(_0xa3ed5c(0x22a))](null)),_0x1a821a(this,_0xa3ed5c(0x2ca),this[_0xa3ed5c(0x297)][_0xa3ed5c(0x284)]());}[_0x484f0e(0x1d8)](_0x43500d){const _0xec52ac=_0x484f0e,{unitID:_0x27c05f,memberID:_0x3c8bc6,textRanges:_0x212b5e}=_0x43500d,_0x5dcabd=_0x44e40a(_0x212b5e);if(_0x5dcabd==='')return;const _0x28fad8={'unitID':_0x27c05f,'memberID':_0x3c8bc6,'selection':_0x5dcabd};this[_0xec52ac(0x297)][_0xec52ac(0x267)](_0x28fad8);}}var _0x240498=Object[_0x484f0e(0x302)],_0x45f0ee=(_0x1a6bb0,_0x3a463c,_0x53d1c9,_0x5c6ef3)=>{const _0x345ee6=_0x484f0e;for(var _0x406053=_0x5c6ef3>0x1?void 0x0:_0x5c6ef3?_0x240498(_0x3a463c,_0x53d1c9):_0x3a463c,_0x348b47=_0x1a6bb0[_0x345ee6(0x189)]-0x1,_0x225e58;_0x348b47>=0x0;_0x348b47--)(_0x225e58=_0x1a6bb0[_0x348b47])&&(_0x406053=_0x225e58(_0x406053)||_0x406053);return _0x406053;},_0x5ee3d6=(_0x6e2938,_0x26294d)=>(_0x4c80f1,_0x567146)=>_0x26294d(_0x4c80f1,_0x567146,_0x6e2938);const _0x4e8aa3=0x12c,_0x38f9ad=0x64;let _0x4d0a07=class extends _0x2590ea[_0x484f0e(0x326)]{constructor(_0x4fe9d4,_0xf78ec2,_0x4d7132,_0x21c183,_0xd48505,_0x4fd1cb,_0x14bf92,_0x4b9cf4,_0x14074e){const _0x37a686=_0x484f0e;super(),_0x1a821a(this,'_online',!0x1),_0x1a821a(this,_0x37a686(0x2be),!0x1),_0x1a821a(this,'_cursorInfo$',new _0x8dc742['BehaviorSubject'](new Map())),_0x1a821a(this,_0x37a686(0x1b5),this[_0x37a686(0xe4)]['asObservable']()),_0x1a821a(this,_0x37a686(0x37f),new _0x8dc742[(_0x37a686(0x22a))]([])),_0x1a821a(this,_0x37a686(0x166),this[_0x37a686(0x37f)]['pipe'](_0x8dc742[_0x37a686(0x211)](_0x4e8aa3))),_0x1a821a(this,'_updateLocalCursor',_0x2590ea[_0x37a686(0x159)](_0x517366=>{const _0x4bc480=_0x37a686,_0x5bf20b={'eventID':_0x4a4e6c[_0x4bc480(0x355)][_0x4bc480(0xf4)],'data':{'unitID':this['unitID'],'memberID':this[_0x4bc480(0x177)][_0x4bc480(0x20d)](),'selection':_0x44e40a(_0x517366)}};this[_0x4bc480(0x177)][_0x4bc480(0x332)](_0x5bf20b,this[_0x4bc480(0x243)]);},_0x38f9ad)),(this[_0x37a686(0x243)]=_0x4fe9d4,this['_session']=_0xf78ec2,this[_0x37a686(0x152)]=_0x4d7132,this[_0x37a686(0x101)]=_0x21c183,this[_0x37a686(0x292)]=_0xd48505,this['_syncEditingCollabCursorService']=_0x4fd1cb,this[_0x37a686(0x30d)]=_0x14bf92,this[_0x37a686(0x1c1)]=_0x4b9cf4,this[_0x37a686(0x1ff)]=_0x14074e);}get[_0x484f0e(0x2ff)](){const _0x399aeb=_0x484f0e;return this[_0x399aeb(0xe4)][_0x399aeb(0x34d)]();}get['roomMembers'](){const _0x51835e=_0x484f0e;return this['_roomMembers$'][_0x51835e(0x34d)]();}[_0x484f0e(0x29a)](){const _0x1829fb=_0x484f0e;super[_0x1829fb(0x29a)](),this[_0x1829fb(0xe4)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x1829fb(0x37f)][_0x1829fb(0x267)]([]),this[_0x1829fb(0x37f)][_0x1829fb(0x20f)]();}['init'](){const _0x390df8=_0x484f0e;this['_init']||(this[_0x390df8(0x2be)]=!0x0,this[_0x390df8(0x177)][_0x390df8(0x1c4)][_0x390df8(0x2e1)](_0x8dc742[_0x390df8(0x2fd)](this[_0x390df8(0x185)]))[_0x390df8(0x2fa)](_0x78986d=>{const _0x405b4c=_0x390df8;_0x78986d===_0x5d028d[_0x405b4c(0x27e)][_0x405b4c(0x2c9)]?this[_0x405b4c(0x2cf)]():this['_toggleOffline']();}),this[_0x390df8(0x177)]['event$'][_0x390df8(0x2e1)](_0x8dc742[_0x390df8(0x2fd)](this[_0x390df8(0x185)]))[_0x390df8(0x2fa)](_0x421e19=>{const _0x2756af=_0x390df8,_0x46f8f2=_0x421e19[_0x2756af(0x18d)];_0x46f8f2===_0x4a4e6c['CollaborationEvent'][_0x2756af(0xf4)]&&this['_onCursorUpdate'](_0x421e19),_0x46f8f2===_0x4a4e6c[_0x2756af(0x355)][_0x2756af(0x196)]&&this[_0x2756af(0x2d3)](_0x421e19);}),this['disposeWithMe'](this[_0x390df8(0x1ff)][_0x390df8(0x286)](_0x362d57=>{const _0x2995bf=_0x390df8,_0x26865d=_0x362d57['params'];_0x26865d!=null&&this['_online']&&_0x362d57['id']===_0x364faa[_0x2995bf(0x13d)]['id']&&_0x26865d[_0x2995bf(0x358)]===this[_0x2995bf(0x243)]&&_0x26865d[_0x2995bf(0x250)]===!0x1&&_0x26865d[_0x2995bf(0x306)][_0x2995bf(0x189)]>0x0&&this[_0x2995bf(0x318)](_0x26865d['ranges']);})),this[_0x390df8(0x219)]['collabCursorState$'][_0x390df8(0x2e1)](_0x8dc742[_0x390df8(0x2fd)](this['dispose$']))['subscribe'](_0x5c84f9=>{const _0x446015=_0x390df8;if((_0x5c84f9==null?void 0x0:_0x5c84f9[_0x446015(0x243)])!==this['unitID'])return;const _0x5ddcd7={'eventID':_0x4a4e6c[_0x446015(0x355)][_0x446015(0xf4)],'data':_0x5c84f9};this[_0x446015(0xee)](_0x5ddcd7);}),this[_0x390df8(0x331)](this[_0x390df8(0x1ff)]['onCommandExecuted'](_0x44e60f=>{const _0x17499f=_0x390df8;if(_0x44e60f[_0x17499f(0x2a1)]==null)return;const _0x11f6b3=_0x44e60f[_0x17499f(0x2a1)];if(_0x44e60f['id']!==_0x364faa[_0x17499f(0x153)]['id']||_0x11f6b3[_0x17499f(0x358)]!==this[_0x17499f(0x243)])return;const _0x55024c={'id':_0x17499f(0x204),'params':_0x11f6b3},_0x41fcec=this['cursorInfo'];for(const [_0x294c98,_0x103d3b]of _0x41fcec){const _0x222f89={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x103d3b[_0x17499f(0x306)]}},_0x134db5=this['_transformService'][_0x17499f(0x10b)](_0x55024c,_0x222f89,!0x1);if(_0x4a4e6c[_0x17499f(0x23c)](_0x134db5))throw _0x134db5[_0x17499f(0x262)];_0x41fcec['set'](_0x294c98,{..._0x103d3b,'ranges':_0x134db5[_0x17499f(0x2c2)][_0x17499f(0x2a1)][_0x17499f(0x1e3)]});}queueMicrotask(()=>{const _0x192c79=_0x17499f;this[_0x192c79(0xe4)][_0x192c79(0x267)](_0x41fcec);});})));}[_0x484f0e(0xee)](_0x8ea7b3){const _0x3d2d40=_0x484f0e;var _0x496717,_0x59f184;const {memberID:_0x145d2b,selection:_0x1b8ad4}=_0x8ea7b3['data'],_0x151c93=_0x578410(_0x1b8ad4),_0x381369=(_0x59f184=(_0x496717=this[_0x3d2d40(0x292)][_0x3d2d40(0x1c3)](this[_0x3d2d40(0x243)],_0x145d2b))==null?void 0x0:_0x496717[_0x3d2d40(0x18a)])!=null?_0x59f184:'Unknown\x20user',_0x1b6b60={'color':this[_0x3d2d40(0x101)][_0x3d2d40(0x327)](_0x145d2b),'name':_0x381369,'ranges':_0x151c93},_0x594d3d=this[_0x3d2d40(0x2ff)];_0x594d3d['set'](_0x145d2b,_0x1b6b60),this[_0x3d2d40(0xe4)][_0x3d2d40(0x267)](_0x594d3d);}[_0x484f0e(0x2d3)](_0x3769a8){const _0x470322=_0x484f0e,{memberID:_0x5d03b3}=_0x3769a8[_0x470322(0x29d)],_0x162a60=this[_0x470322(0x2ff)];_0x162a60[_0x470322(0x298)](_0x5d03b3),this['_cursorInfo$'][_0x470322(0x267)](_0x162a60);}['_toggleOnline'](){const _0x27a9ec=_0x484f0e;var _0x278ad5;if(this['_online']=!0x0,((_0x278ad5=this[_0x27a9ec(0x1c1)][_0x27a9ec(0x30e)]())==null?void 0x0:_0x278ad5['getUnitId']())!==this[_0x27a9ec(0x243)])return;const _0x4b35f7=this[_0x27a9ec(0x152)][_0x27a9ec(0x333)](_0x364faa[_0x27a9ec(0x203)])[_0x27a9ec(0x12e)]();Array[_0x27a9ec(0x198)](_0x4b35f7)&&_0x4b35f7[_0x27a9ec(0x189)]>0x0&&this[_0x27a9ec(0x318)](_0x4b35f7);}[_0x484f0e(0x2de)](){const _0xb1549b=_0x484f0e;this[_0xb1549b(0x2e5)]=!0x1;}};_0x4d0a07=_0x45f0ee([_0x5ee3d6(0x2,_0x2590ea[_0x484f0e(0x215)](_0x2590ea[_0x484f0e(0x176)])),_0x5ee3d6(0x3,_0x2590ea[_0x484f0e(0x215)](_0x146618)),_0x5ee3d6(0x4,_0x2590ea['Inject'](_0x5d028d[_0x484f0e(0x374)])),_0x5ee3d6(0x5,_0x2590ea[_0x484f0e(0x215)](_0x1da6ae)),_0x5ee3d6(0x6,_0x4a4e6c[_0x484f0e(0x2ee)]),_0x5ee3d6(0x7,_0x2590ea['IUniverInstanceService']),_0x5ee3d6(0x8,_0x2590ea[_0x484f0e(0x249)])],_0x4d0a07);var _0xb35487=Object[_0x484f0e(0x302)],_0xfad8cd=(_0xd67979,_0x35128d,_0x20a11f,_0x2a7415)=>{const _0x1c5a54=_0x484f0e;for(var _0xcf7a5f=_0x2a7415>0x1?void 0x0:_0x2a7415?_0xb35487(_0x35128d,_0x20a11f):_0x35128d,_0xb64483=_0xd67979[_0x1c5a54(0x189)]-0x1,_0x436ac1;_0xb64483>=0x0;_0xb64483--)(_0x436ac1=_0xd67979[_0xb64483])&&(_0xcf7a5f=_0x436ac1(_0xcf7a5f)||_0xcf7a5f);return _0xcf7a5f;},_0x3538d7=(_0x50b5f4,_0x32c51a)=>(_0x5017b1,_0x21fdbf)=>_0x32c51a(_0x5017b1,_0x21fdbf,_0x50b5f4);const _0x108f3a=0x12c,_0x2700e1=0x64,_0x357488=()=>{let _0x597fc2=[],_0x9e136c=!0x1;return _0x24a3d4=>{_0x597fc2['push'](_0x24a3d4),_0x9e136c||(_0x9e136c=!0x0,setTimeout(()=>{const _0x28aa49=_0x4e65;_0x597fc2[_0x28aa49(0x10f)](_0x2f54e4=>_0x2f54e4()),_0x597fc2=[],_0x9e136c=!0x1;}));};};let _0x3d5c80=class extends _0x2590ea[_0x484f0e(0x326)]{constructor(_0x697909,_0x2f88cb,_0x201edc,_0x5d3af3,_0x3c5be4,_0x3700f5,_0x573668,_0x274e0e){const _0x453bd7=_0x484f0e;super(),_0x1a821a(this,_0x453bd7(0x2e5),!0x1),_0x1a821a(this,'_init',!0x1),_0x1a821a(this,'_cursorInfo$',new _0x8dc742[(_0x453bd7(0x22a))](new Map())),_0x1a821a(this,'cursorInfo$',this[_0x453bd7(0xe4)][_0x453bd7(0x284)]()),_0x1a821a(this,'_roomMembers$',new _0x8dc742[(_0x453bd7(0x22a))]([])),_0x1a821a(this,_0x453bd7(0x166),this[_0x453bd7(0x37f)][_0x453bd7(0x2e1)](_0x8dc742['debounceTime'](_0x108f3a))),_0x1a821a(this,'_updateLocalCursor',_0x2590ea[_0x453bd7(0x159)]((_0x221275,_0x4c6e93)=>{const _0x47a4fb=_0x453bd7,_0x46d0e7={'eventID':_0x4a4e6c['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x47a4fb(0x177)]['getMemberID'](),'selection':_0x1ba845['serializeRangeWithSheet'](_0x221275,_0x4c6e93[_0x47a4fb(0x17b)])}};this[_0x47a4fb(0x177)][_0x47a4fb(0x332)](_0x46d0e7,this[_0x47a4fb(0x243)]);},_0x2700e1)),(this['unitID']=_0x697909,this[_0x453bd7(0x177)]=_0x2f88cb,this[_0x453bd7(0x152)]=_0x201edc,this['_colorAssignService']=_0x5d3af3,this[_0x453bd7(0x292)]=_0x3c5be4,this[_0x453bd7(0x1c1)]=_0x3700f5,this['_commandService']=_0x573668,this[_0x453bd7(0x37c)]=_0x274e0e);}get[_0x484f0e(0x2ff)](){const _0x21ee79=_0x484f0e;return this[_0x21ee79(0xe4)][_0x21ee79(0x34d)]();}get[_0x484f0e(0x186)](){const _0x7fd044=_0x484f0e;return this[_0x7fd044(0x37f)][_0x7fd044(0x34d)]();}[_0x484f0e(0x29a)](){const _0x5099c1=_0x484f0e;super[_0x5099c1(0x29a)](),this[_0x5099c1(0xe4)][_0x5099c1(0x267)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x5099c1(0x267)]([]),this[_0x5099c1(0x37f)][_0x5099c1(0x20f)]();}['init'](){const _0x46afdd=_0x484f0e;this[_0x46afdd(0x2be)]||(this[_0x46afdd(0x2be)]=!0x0,this[_0x46afdd(0x177)][_0x46afdd(0x1c4)][_0x46afdd(0x2e1)](_0x8dc742[_0x46afdd(0x2fd)](this[_0x46afdd(0x185)]))[_0x46afdd(0x2fa)](_0x3ffc8c=>{const _0x175f54=_0x46afdd;_0x3ffc8c===_0x5d028d[_0x175f54(0x27e)][_0x175f54(0x2c9)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x46afdd(0x177)][_0x46afdd(0x1f9)]['pipe'](_0x8dc742[_0x46afdd(0x2fd)](this['dispose$']))[_0x46afdd(0x2fa)](_0x79421d=>{const _0x30ec10=_0x46afdd,_0x4438b7=_0x79421d['eventID'];_0x4438b7===_0x4a4e6c[_0x30ec10(0x355)][_0x30ec10(0xf4)]&&this[_0x30ec10(0xee)](_0x79421d),_0x4438b7===_0x4a4e6c[_0x30ec10(0x355)][_0x30ec10(0x196)]&&this[_0x30ec10(0x2d3)](_0x79421d);}),this[_0x46afdd(0x32a)](),this[_0x46afdd(0x331)](this['_commandService'][_0x46afdd(0x286)](_0x10657b=>{const _0x156a51=_0x46afdd;if(this['_online']&&_0x10657b['id']===_0x1d5030[_0x156a51(0x27d)]['id']&&_0x10657b[_0x156a51(0x2a1)][_0x156a51(0x358)]===this[_0x156a51(0x243)]){const _0x9425bd=_0x10657b[_0x156a51(0x2a1)];this[_0x156a51(0x318)](_0x9425bd[_0x156a51(0x2b3)],_0x9425bd[_0x156a51(0x2ae)][0x0]);}})));}[_0x484f0e(0xee)](_0x3b6481){const _0x115c1b=_0x484f0e;var _0x688d75,_0x2d2b4e;const {memberID:_0x2970e5,selection:_0x569246}=_0x3b6481[_0x115c1b(0x29d)],{sheetName:_0x2c0392,range:_0x2626c3}=_0x1ba845[_0x115c1b(0x16a)](_0x569246),_0x2f2ac6={'name':(_0x2d2b4e=(_0x688d75=this['_memberService']['getMember'](this['unitID'],_0x2970e5))==null?void 0x0:_0x688d75[_0x115c1b(0x18a)])!=null?_0x2d2b4e:_0x115c1b(0x13c),'range':this['_getMergeRange'](_0x2c0392,_0x2626c3),'sheetID':_0x2c0392,'color':this[_0x115c1b(0x101)]['assignAColorForMemberID'](_0x2970e5),'selection':_0x569246},_0x5e31cc=this[_0x115c1b(0x2ff)];_0x5e31cc[_0x115c1b(0x1c5)](_0x2970e5,_0x2f2ac6),this['_cursorInfo$']['next'](_0x5e31cc);}['_onCursorDelete'](_0x4ab5b9){const _0x4c3886=_0x484f0e,{memberID:_0x5ee77f}=_0x4ab5b9[_0x4c3886(0x29d)],_0x161c2e=this['cursorInfo'];_0x161c2e[_0x4c3886(0x298)](_0x5ee77f),this[_0x4c3886(0xe4)][_0x4c3886(0x267)](_0x161c2e);}[_0x484f0e(0x11b)](_0x292e4c,_0x41d1a0){const _0x1f78b3=_0x484f0e;var _0x3ee0ca,_0x5cc79e;const _0x891db7=(_0x5cc79e=(_0x3ee0ca=this[_0x1f78b3(0x1c1)][_0x1f78b3(0x1e8)](this['unitID']))==null?void 0x0:_0x3ee0ca[_0x1f78b3(0x223)](_0x292e4c))==null?void 0x0:_0x5cc79e[_0x1f78b3(0x107)]();return(_0x891db7==null?void 0x0:_0x891db7[_0x1f78b3(0x28f)](_0x272f78=>_0x2590ea[_0x1f78b3(0x148)][_0x1f78b3(0x264)](_0x272f78,_0x41d1a0)))||_0x41d1a0;}[_0x484f0e(0x32a)](){const _0x57179f=_0x484f0e,_0x1f99ce=new _0x2590ea[(_0x57179f(0x2cc))](),_0xcfcdac=_0x357488(),_0x594ded=()=>{const _0x170a30=_0x57179f;_0x1f99ce['dispose']();const _0x23933b=(_0x36b2aa,_0x1db464,_0x2bc39e,_0x282c1f)=>{const _0x2cf40f=_0x4e65;let _0xff5e84=[];switch(_0x36b2aa['id']){case _0x1d5030[_0x2cf40f(0x368)][_0x2cf40f(0x160)]:{_0xff5e84=_0x1d5030['handleDeleteRangeMoveLeft'](_0x36b2aa,_0x282c1f);break;}case _0x1d5030[_0x2cf40f(0x368)]['DeleteRangeMoveUpCommandId']:{_0xff5e84=_0x1d5030[_0x2cf40f(0x2d0)](_0x36b2aa,_0x282c1f);break;}case _0x1d5030['EffectRefRangId'][_0x2cf40f(0x311)]:{_0xff5e84=_0x1d5030[_0x2cf40f(0x37b)](_0x36b2aa,_0x282c1f);break;}case _0x1d5030[_0x2cf40f(0x368)][_0x2cf40f(0x193)]:{_0xff5e84=_0x1d5030[_0x2cf40f(0x100)](_0x36b2aa,_0x282c1f);break;}case _0x1d5030[_0x2cf40f(0x368)]['InsertRangeMoveRightCommandId']:{_0xff5e84=_0x1d5030['handleInsertRangeMoveRight'](_0x36b2aa,_0x282c1f);break;}case _0x1d5030[_0x2cf40f(0x368)][_0x2cf40f(0x1e6)]:{_0xff5e84=_0x1d5030[_0x2cf40f(0x2f7)](_0x36b2aa,_0x282c1f);break;}case _0x1d5030['EffectRefRangId']['MoveRangeCommandId']:{_0xff5e84=_0x1d5030['handleMoveRange'](_0x36b2aa,_0x282c1f);break;}case _0x1d5030[_0x2cf40f(0x368)][_0x2cf40f(0x2e7)]:{_0xff5e84=_0x1d5030[_0x2cf40f(0x2b7)](_0x36b2aa,_0x282c1f);break;}case _0x1d5030[_0x2cf40f(0x368)][_0x2cf40f(0x201)]:{_0xff5e84=_0x1d5030[_0x2cf40f(0x277)](_0x36b2aa,_0x282c1f);break;}}const _0x229e38=_0x1d5030['runRefRangeMutations'](_0xff5e84,_0x282c1f),_0x41e727=this[_0x2cf40f(0x2ff)][_0x2cf40f(0x333)](_0x1db464);if(_0x41e727&&_0x229e38){const _0x545635={..._0x41e727,'range':_0x229e38};this[_0x2cf40f(0x2ff)][_0x2cf40f(0x1c5)](_0x1db464,_0x545635),_0xcfcdac(()=>{const _0x50e956=_0x2cf40f,_0x15cbbe=this[_0x50e956(0x37c)][_0x50e956(0x1d3)](_0x229e38,_0x71e0ed=>(_0x15cbbe['dispose'](),_0x23933b(_0x71e0ed,_0x1db464,_0x2bc39e,_0x229e38)));_0x1f99ce[_0x50e956(0x142)](_0x15cbbe);});}return{'redos':[],'undos':[]};};this[_0x170a30(0x2ff)]['forEach']((_0xbf439c,_0x4ed2ca)=>{const _0x3d4e43=_0x170a30,{range:_0x35daa0,sheetID:_0x35a4e6}=_0xbf439c,_0x3941d7=this[_0x3d4e43(0x37c)]['registerRefRange'](_0x35daa0,_0x36c729=>(_0x3941d7[_0x3d4e43(0x29a)](),_0x23933b(_0x36c729,_0x4ed2ca,_0x35a4e6,_0x35daa0)));_0x1f99ce['add'](_0x3941d7);});};this[_0x57179f(0x331)](_0x2590ea['toDisposable'](this[_0x57179f(0xe4)][_0x57179f(0x2fa)](()=>{_0x594ded();})));}[_0x484f0e(0x2cf)](){const _0xd270f6=_0x484f0e;var _0x190b6b,_0x630524;if(this[_0xd270f6(0x2e5)]=!0x0,((_0x190b6b=this[_0xd270f6(0x1c1)][_0xd270f6(0x30e)]())==null?void 0x0:_0x190b6b[_0xd270f6(0x25f)]())!==this['unitID'])return;const _0xd67244=(_0x630524=this[_0xd270f6(0x152)][_0xd270f6(0x333)](_0x1d5030[_0xd270f6(0x1c0)])[_0xd270f6(0x12d)]())==null?void 0x0:_0x630524[0x0],_0xa5caf6=this[_0xd270f6(0x1c1)]['getCurrentUnitForType'](_0x2590ea[_0xd270f6(0x266)][_0xd270f6(0x2ed)])[_0xd270f6(0x1e9)]();_0xd67244&&_0xa5caf6&&this['_updateLocalCursor'](_0xa5caf6[_0xd270f6(0x33d)](),_0xd67244);}[_0x484f0e(0x2de)](){const _0x4a6a7a=_0x484f0e;this[_0x4a6a7a(0x2e5)]=!0x1;}};_0x3d5c80=_0xfad8cd([_0x3538d7(0x2,_0x2590ea[_0x484f0e(0x215)](_0x2590ea[_0x484f0e(0x176)])),_0x3538d7(0x3,_0x2590ea['Inject'](_0x146618)),_0x3538d7(0x4,_0x2590ea[_0x484f0e(0x215)](_0x5d028d['MemberService'])),_0x3538d7(0x5,_0x2590ea[_0x484f0e(0x28a)]),_0x3538d7(0x6,_0x2590ea[_0x484f0e(0x249)]),_0x3538d7(0x7,_0x2590ea[_0x484f0e(0x215)](_0x1d5030[_0x484f0e(0x24c)]))],_0x3d5c80);var _0x5f5aec=Object[_0x484f0e(0x302)],_0x5485dd=(_0x2bc162,_0x9d50aa,_0x1ff07e,_0x1f4fcd)=>{const _0x48a244=_0x484f0e;for(var _0x34ab7a=_0x1f4fcd>0x1?void 0x0:_0x1f4fcd?_0x5f5aec(_0x9d50aa,_0x1ff07e):_0x9d50aa,_0x4f3adc=_0x2bc162[_0x48a244(0x189)]-0x1,_0xd7620;_0x4f3adc>=0x0;_0x4f3adc--)(_0xd7620=_0x2bc162[_0x4f3adc])&&(_0x34ab7a=_0xd7620(_0x34ab7a)||_0x34ab7a);return _0x34ab7a;},_0x337eb2=(_0x5d4901,_0x150bdf)=>(_0x4765c1,_0x45db25)=>_0x150bdf(_0x4765c1,_0x45db25,_0x5d4901);let _0x14233d=class extends _0x2590ea[_0x484f0e(0x326)]{constructor(_0x4ce7cf,_0x5843d8,_0x28601b){const _0xebec68=_0x484f0e;super(),_0x1a821a(this,_0xebec68(0x2fc),new Map()),_0x1a821a(this,'_entityInit$',new _0x8dc742['Subject']()),(this[_0xebec68(0x1c1)]=_0x4ce7cf,this[_0xebec68(0x152)]=_0x5843d8,this[_0xebec68(0x1d9)]=_0x28601b,this[_0xebec68(0x2be)]());}[_0x484f0e(0x29a)](){const _0x4941ab=_0x484f0e;super[_0x4941ab(0x29a)](),this[_0x4941ab(0x206)]['complete'](),this[_0x4941ab(0x2fc)][_0x4941ab(0x10f)](_0x79e5b7=>_0x79e5b7[_0x4941ab(0x29a)]());}[_0x484f0e(0x1ea)](_0x3970f4){const _0x451cc6=_0x484f0e;return this[_0x451cc6(0x2fc)][_0x451cc6(0x10d)](_0x3970f4)?this[_0x451cc6(0x2fc)][_0x451cc6(0x333)](_0x3970f4)['cursorInfo$']:this[_0x451cc6(0x206)][_0x451cc6(0x2e1)](_0x8dc742['filter'](_0x23d87b=>_0x23d87b[_0x451cc6(0x243)]===_0x3970f4),_0x8dc742[_0x451cc6(0x363)](_0x105a7a=>_0x105a7a[_0x451cc6(0x1b5)]));}[_0x484f0e(0x2be)](){const _0x28f591=_0x484f0e;this[_0x28f591(0x1c1)][_0x28f591(0x354)](_0x2590ea['UniverInstanceType'][_0x28f591(0x2ed)])[_0x28f591(0x2e1)](_0x8dc742[_0x28f591(0x2fd)](this['dispose$']))[_0x28f591(0x2fa)](async _0x87399f=>{const _0x579a69=_0x28f591,_0x2379d9=_0x87399f[_0x579a69(0x25f)](),_0x370bf1=await this[_0x579a69(0x205)](_0x2379d9);this[_0x579a69(0x206)][_0x579a69(0x267)](_0x370bf1),this[_0x579a69(0x2fc)][_0x579a69(0x1c5)](_0x2379d9,_0x370bf1);}),this['_univerInstanceService'][_0x28f591(0x354)](_0x2590ea[_0x28f591(0x266)][_0x28f591(0x31c)])[_0x28f591(0x2e1)](_0x8dc742[_0x28f591(0x2fd)](this['dispose$']))[_0x28f591(0x2e1)](_0x8dc742['filter'](_0x32de3a=>!_0x32de3a[_0x28f591(0x25f)]()['startsWith']('__')))[_0x28f591(0x2fa)](async _0x228b3c=>{const _0x400d04=_0x28f591,_0x1fbdd3=_0x228b3c[_0x400d04(0x25f)](),_0x158250=await this['_startDocCollabCursor'](_0x1fbdd3);this[_0x400d04(0x206)][_0x400d04(0x267)](_0x158250),this[_0x400d04(0x2fc)][_0x400d04(0x1c5)](_0x1fbdd3,_0x158250);}),_0x8dc742[_0x28f591(0x246)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2590ea[_0x28f591(0x266)][_0x28f591(0x31c)]),this[_0x28f591(0x1c1)][_0x28f591(0x21b)](_0x2590ea['UniverInstanceType']['UNIVER_SHEET']))[_0x28f591(0x2e1)](_0x8dc742[_0x28f591(0x2fd)](this['dispose$']))[_0x28f591(0x2fa)](_0x3aeb59=>{const _0x29810e=_0x28f591,_0x499cb2=_0x3aeb59[_0x29810e(0x25f)](),_0x54067e=this[_0x29810e(0x2fc)][_0x29810e(0x333)](_0x499cb2);_0x54067e&&(_0x54067e[_0x29810e(0x29a)](),this[_0x29810e(0x2fc)][_0x29810e(0x298)](_0x499cb2));});}async['_startSheetCollabCursor'](_0x1579b3){const _0x190188=_0x484f0e,_0x5a4b11=await this['_collabSessionService']['requireSession'](_0x1579b3),_0x29542e=this[_0x190188(0x152)][_0x190188(0x1bf)](_0x3d5c80,_0x1579b3,_0x5a4b11);return _0x29542e[_0x190188(0xfb)](),_0x29542e;}async['_startDocCollabCursor'](_0x329647){const _0x97f870=_0x484f0e,_0x81529=await this[_0x97f870(0x1d9)][_0x97f870(0x252)](_0x329647),_0x48f0af=this[_0x97f870(0x152)][_0x97f870(0x1bf)](_0x4d0a07,_0x329647,_0x81529);return _0x48f0af['init'](),_0x48f0af;}};_0x14233d=_0x5485dd([_0x337eb2(0x0,_0x2590ea[_0x484f0e(0x28a)]),_0x337eb2(0x1,_0x2590ea[_0x484f0e(0x215)](_0x2590ea[_0x484f0e(0x176)])),_0x337eb2(0x2,_0x2590ea[_0x484f0e(0x215)](_0x5d028d[_0x484f0e(0x338)]))],_0x14233d);const _0x49723f=0x14,_0x682b52=0xc8,_0x469b0a=0x4,_0x5be1d8=0x5;function _0x12d437(_0x1b92e8,_0x33b16d){const _0x12aaa6=_0x484f0e;let {radius:_0x3165df,width:_0x366a6a,height:_0x22843f}=_0x33b16d;_0x3165df=_0x3165df!=null?_0x3165df:0x0,_0x366a6a=_0x366a6a!=null?_0x366a6a:0x1e,_0x22843f=_0x22843f!=null?_0x22843f:0x1e;let _0x1e36d9=0x0,_0x7dcb20=0x0,_0x1ad44f=0x0;_0x1e36d9=_0x7dcb20=_0x1ad44f=Math[_0x12aaa6(0x2b9)](_0x3165df,_0x366a6a/0x2,_0x22843f/0x2),_0x1b92e8[_0x12aaa6(0x244)](),_0x1b92e8[_0x12aaa6(0x340)](_0x1e36d9,0x0),_0x1b92e8['lineTo'](_0x366a6a-_0x7dcb20,0x0),_0x1b92e8['arc'](_0x366a6a-_0x7dcb20,_0x7dcb20,_0x7dcb20,Math['PI']*0x3/0x2,0x0,!0x1),_0x1b92e8['lineTo'](_0x366a6a,_0x22843f-_0x1ad44f),_0x1b92e8[_0x12aaa6(0x137)](_0x366a6a-_0x1ad44f,_0x22843f-_0x1ad44f,_0x1ad44f,0x0,Math['PI']/0x2,!0x1),_0x1b92e8[_0x12aaa6(0x1b2)](0x0,_0x22843f),_0x1b92e8['lineTo'](0x0,_0x1e36d9),_0x1b92e8[_0x12aaa6(0x137)](_0x1e36d9,_0x1e36d9,_0x1e36d9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1b92e8[_0x12aaa6(0x111)](),_0x33b16d[_0x12aaa6(0x1cf)]&&(_0x1b92e8['save'](),_0x1b92e8['fillStyle']=_0x33b16d[_0x12aaa6(0x1cf)],_0x33b16d[_0x12aaa6(0x30f)]===_0x12aaa6(0x140)?_0x1b92e8[_0x12aaa6(0x1cf)](_0x12aaa6(0x140)):_0x1b92e8[_0x12aaa6(0x1cf)](),_0x1b92e8[_0x12aaa6(0x2af)]());}class _0x1e81c0 extends _0x5364ea[_0x484f0e(0x17c)]{constructor(_0x5606a1,_0x5455fa){const _0x13580f=_0x484f0e;super(_0x5606a1,_0x5455fa),_0x1a821a(this,_0x13580f(0x291)),_0x1a821a(this,'text'),(this[_0x13580f(0x291)]=_0x5455fa==null?void 0x0:_0x5455fa['color'],this[_0x13580f(0x28b)]=_0x5455fa==null?void 0x0:_0x5455fa[_0x13580f(0x28b)]);}static[_0x484f0e(0x1bc)](_0x35494e,_0xaef74f){const _0x2505e2=_0x484f0e,{text:_0x315c14,color:_0x5de4c8}=_0xaef74f;_0x35494e['save'](),_0x35494e[_0x2505e2(0x1e5)]=_0x2505e2(0x2c6);const _0x35bb45=_0x35494e[_0x2505e2(0x146)](_0x315c14)[_0x2505e2(0x335)],_0x7f8f3f=Math[_0x2505e2(0x2b9)](_0x35bb45+0x2*_0x469b0a,_0x682b52);_0x12d437(_0x35494e,{'height':_0x49723f,'radius':0x4,'width':_0x7f8f3f,'fill':_0x5de4c8}),_0x35494e['fillStyle']=_0x2505e2(0x33a);const _0x462374=_0x469b0a,_0x53b2f7=_0x49723f-_0x5be1d8,_0x377c7f=_0x682b52-0x2*_0x469b0a;if(_0x35bb45>_0x377c7f){let _0x498a2b='',_0x3a702d=0x0;for(const _0x53cad9 of _0x315c14){const _0x2cb3b8=_0x35494e[_0x2505e2(0x146)](_0x53cad9)[_0x2505e2(0x335)];if(_0x3a702d+_0x2cb3b8<=_0x377c7f-_0x35494e[_0x2505e2(0x146)]('...')[_0x2505e2(0x335)])_0x498a2b+=_0x53cad9,_0x3a702d+=_0x2cb3b8;else{_0x498a2b+=_0x2505e2(0x2b1);break;}}_0x35494e[_0x2505e2(0x1ab)](_0x498a2b,_0x462374,_0x53b2f7);}else _0x35494e[_0x2505e2(0x1ab)](_0x315c14,_0x462374,_0x53b2f7);_0x35494e[_0x2505e2(0x2af)]();}[_0x484f0e(0x285)](_0x410640){const _0x568eb6=_0x484f0e;_0x1e81c0[_0x568eb6(0x1bc)](_0x410640,this);}}const _0x1803b4=_0x484f0e(0x216),_0xc54611=_0x484f0e(0x1e4),_0x2c6619=_0x484f0e(0x307),_0x2d8505=0x6,_0x4269c1=1.5,_0x28a288=0x4,_0x9b21c4=1.5,_0x45372a='rgba(255,\x20255,\x20255,\x200.01)';class _0x42eac1{constructor(_0x338af4,_0x40597d,_0x20b1b6,_0x5690ba){const _0x167907=_0x484f0e;_0x1a821a(this,'_shapes',[]),_0x1a821a(this,_0x167907(0x1e1),null),_0x1a821a(this,_0x167907(0x18f),null),_0x1a821a(this,_0x167907(0x37e),null),_0x1a821a(this,_0x167907(0x27a),null),_0x1a821a(this,_0x167907(0x1b0),null),(this[_0x167907(0x1ad)]=_0x338af4,this[_0x167907(0x2d2)]=_0x40597d,this[_0x167907(0x139)]=_0x20b1b6,this[_0x167907(0x2e8)]=_0x5690ba,this[_0x167907(0x1ca)]());}set[_0x484f0e(0x15a)](_0x16f67a){const _0x30eb2e=_0x484f0e;_0x16f67a?(this[_0x30eb2e(0x37e)]&&this[_0x30eb2e(0x37e)]['hide'](),this[_0x30eb2e(0x18f)]&&this[_0x30eb2e(0x18f)]['show']()):(this[_0x30eb2e(0x37e)]&&this[_0x30eb2e(0x37e)][_0x30eb2e(0x24b)](),this[_0x30eb2e(0x18f)]&&this[_0x30eb2e(0x18f)][_0x30eb2e(0x128)]());}[_0x484f0e(0x29a)](){const _0x5550c6=_0x484f0e;for(const _0x2edfae of this['_shapes'])_0x2edfae['dispose']();this[_0x5550c6(0x18f)]&&this['_textBubble'][_0x5550c6(0x29a)](),this[_0x5550c6(0x37e)]&&this[_0x5550c6(0x37e)][_0x5550c6(0x29a)](),this[_0x5550c6(0x1e1)]&&this[_0x5550c6(0x1e1)][_0x5550c6(0x29a)](),this[_0x5550c6(0x1b0)]&&this[_0x5550c6(0x1b0)]();}['_render'](){const _0x6e4d0a=_0x484f0e;var _0x271c4b;const {_docSkeleton:_0x314ca9,_document:_0x27cf05}=this,{color:_0x58683c,name:_0x37abdb,ranges:_0x4099af}=this[_0x6e4d0a(0x1ad)],_0x1e1a9c=_0x27cf05[_0x6e4d0a(0x1fb)](),{docsLeft:_0x8afe5b,docsTop:_0x394085}=_0x1e1a9c,_0x587af9=new _0xac86dc[(_0x6e4d0a(0x2f2))](_0x1e1a9c,_0x314ca9);for(const {startOffset:_0x3359ba,endOffset:_0x1b9cd8,rangeType:_0x2964cb,segmentId:_0x58cfa7,segmentPage:_0x435fed,collapsed:_0x3e705d,isActive:_0x5e0994}of _0x4099af){const _0x18163c=_0x314ca9[_0x6e4d0a(0xe9)](_0x3359ba,!0x0,_0x58cfa7,_0x435fed);let _0x41db92=_0x314ca9[_0x6e4d0a(0xe9)](_0x1b9cd8,!0x0,_0x58cfa7,_0x435fed);if(_0x41db92==null&&(_0x41db92=_0x314ca9['findNodePositionByCharIndex'](_0x1b9cd8-0x1,!0x1,_0x58cfa7,_0x435fed)),_0x5e0994){const {contentBoxPointGroup:_0x1126f8}=_0x587af9[_0x6e4d0a(0x330)](_0x41db92,_0x41db92);if(_0x1126f8[_0x6e4d0a(0x189)]===0x0)continue;this['_drawAnchor'](_0x58683c,_0x1126f8,_0x8afe5b,_0x394085,_0x37abdb),this[_0x6e4d0a(0x1b0)]=this['_handleHover']();}if(_0x18163c&&_0x41db92){if(_0x2964cb===_0x2590ea['DOC_RANGE_TYPE'][_0x6e4d0a(0x27b)]){const _0x456651=new _0xac86dc[(_0x6e4d0a(0x1f5))](_0x1e1a9c,_0x314ca9),{pointGroup:_0x28a521}=(_0x271c4b=_0x456651[_0x6e4d0a(0x330)](_0x18163c,_0x41db92))!=null?_0x271c4b:{};if(_0x28a521==null||_0x28a521[_0x6e4d0a(0x189)]===0x0)continue;this['_drawRectRange'](_0x58683c,_0x28a521,_0x8afe5b,_0x394085);}else{if(!_0x3e705d){const {borderBoxPointGroup:_0x4e3509}=_0x587af9[_0x6e4d0a(0x330)](_0x18163c,_0x41db92);if(_0x4e3509[_0x6e4d0a(0x189)]===0x0)continue;this[_0x6e4d0a(0xd8)](_0x58683c,_0x4e3509,_0x8afe5b,_0x394085);}}}}}[_0x484f0e(0x36a)](_0x4acd2d,_0x3347fa,_0x2c3afa,_0x4c9e31,_0x55092f){const _0x99ec85=_0x484f0e,_0x4ab22e=this[_0x99ec85(0x290)](_0x3347fa),{left:_0x205886,top:_0x1ab5a0,height:_0x51eb06}=_0x4ab22e,_0x5598ab=this[_0x99ec85(0x129)](),_0x3ebc14=_0x9b21c4/_0x5598ab,_0x46a94b=new _0x5364ea[(_0x99ec85(0xf9))](_0x1803b4+_0x2590ea[_0x99ec85(0x1dc)][_0x99ec85(0x1de)](_0x2d8505),{'left':_0x205886+_0x2c3afa-_0x3ebc14,'top':_0x1ab5a0+_0x4c9e31,'height':_0x51eb06,'width':_0x4269c1,'fill':_0x4acd2d||_0x5364ea[_0x99ec85(0x11f)](_0x2590ea[_0x99ec85(0x369)][_0x99ec85(0x373)],0x0),'strokeWidth':_0x3ebc14,'stroke':_0x45372a,'evented':!0x0});this['_anchor']=_0x46a94b,this[_0x99ec85(0x2d2)][_0x99ec85(0x2f6)](_0x46a94b,_0xac86dc[_0x99ec85(0x2d9)]);const _0x4e35b1=new _0x5364ea[(_0x99ec85(0xf9))](_0x1803b4+_0x2590ea[_0x99ec85(0x1dc)][_0x99ec85(0x1de)](_0x2d8505),{'left':_0x205886+_0x2c3afa-_0x3ebc14,'top':_0x1ab5a0+_0x4c9e31-_0x28a288/0x2,'height':_0x28a288,'width':_0x28a288,'fill':_0x4acd2d||_0x5364ea[_0x99ec85(0x11f)](_0x2590ea[_0x99ec85(0x369)][_0x99ec85(0x373)],0x0),'strokeWidth':0x0,'stroke':_0x4acd2d||_0x5364ea[_0x99ec85(0x11f)](_0x2590ea[_0x99ec85(0x369)][_0x99ec85(0x373)],0x0),'evented':!0x1});this[_0x99ec85(0x37e)]=_0x4e35b1,this[_0x99ec85(0x2d2)]['addObject'](_0x4e35b1,_0xac86dc['TEXT_RANGE_LAYER_INDEX']);const _0x437fbf=new _0x1e81c0(_0x1803b4+_0x2590ea['Tools'][_0x99ec85(0x1de)](_0x2d8505),{'left':_0x205886+_0x2c3afa-_0x3ebc14,'top':_0x1ab5a0+_0x4c9e31-_0x49723f,'text':_0x55092f,'color':_0x4acd2d});this[_0x99ec85(0x18f)]=_0x437fbf,this[_0x99ec85(0x2d2)]['addObject'](_0x437fbf,_0xac86dc[_0x99ec85(0x2d9)]),this['_hover']=!0x1;}['_handleHover'](){const _0x5c1324=_0x484f0e,_0x29bbac=this[_0x5c1324(0x1e1)][_0x5c1324(0x12c)][_0x5c1324(0x19b)](()=>{const _0x17246f=_0x5c1324;this[_0x17246f(0x15a)]=!0x0;}),_0x4ec260=this[_0x5c1324(0x1e1)][_0x5c1324(0x19e)][_0x5c1324(0x19b)](()=>{const _0x4c0c9a=_0x5c1324;this[_0x4c0c9a(0x27a)]&&clearTimeout(this[_0x4c0c9a(0x27a)]),this[_0x4c0c9a(0x27a)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x29cf20=_0x5c1324;_0x29bbac['unsubscribe'](),_0x4ec260[_0x29cf20(0x1b1)]();};}[_0x484f0e(0xd8)](_0x5cc1c9,_0x33d656,_0x59d215,_0x1ea441){const _0x79c3bb=_0x484f0e,_0x21e04d=new _0x2590ea[(_0x79c3bb(0x1dd))](_0x5cc1c9)[_0x79c3bb(0x123)](0.2)[_0x79c3bb(0x2ac)](),_0x569be7=new _0x5364ea['RegularPolygon'](_0xc54611+_0x2590ea[_0x79c3bb(0x1dc)][_0x79c3bb(0x1de)](_0x2d8505),{'pointsGroup':_0x33d656,'fill':_0x21e04d||_0x5364ea['getColor'](_0x2590ea['COLORS'][_0x79c3bb(0x373)],0.2),'left':_0x59d215,'top':_0x1ea441,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x79c3bb(0xda)][_0x79c3bb(0x26e)](_0x569be7),this[_0x79c3bb(0x2d2)][_0x79c3bb(0x2f6)](_0x569be7,_0xac86dc['TEXT_RANGE_LAYER_INDEX']);}[_0x484f0e(0x178)](_0x627f52,_0x3b1877,_0x583898,_0x51e947){const _0xa57cc5=_0x484f0e,_0x209fbc=new _0x2590ea[(_0xa57cc5(0x1dd))](_0x627f52)[_0xa57cc5(0x123)](0.2)[_0xa57cc5(0x2ac)](),_0x2d2d4d=new _0x5364ea[(_0xa57cc5(0x2cb))](_0x2c6619+_0x2590ea[_0xa57cc5(0x1dc)][_0xa57cc5(0x1de)](_0x2d8505),{'pointsGroup':_0x3b1877,'fill':_0x209fbc||_0x5364ea[_0xa57cc5(0x11f)](_0x2590ea[_0xa57cc5(0x369)][_0xa57cc5(0x373)],0.2),'left':_0x583898,'top':_0x51e947,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xa57cc5(0x26e)](_0x2d2d4d),this[_0xa57cc5(0x2d2)][_0xa57cc5(0x2f6)](_0x2d2d4d,_0xac86dc['TEXT_RANGE_LAYER_INDEX']);}[_0x484f0e(0x290)](_0x244f8b){const _0x554e5e=_0x244f8b[0x0],_0x102c5b=_0x554e5e[0x0],_0x408614=_0x554e5e[0x2],{x:_0xae36ce,y:_0x439e7b}=_0x102c5b,{x:_0x137f98,y:_0x8cbcc5}=_0x408614;return{'left':_0xae36ce,'top':_0x439e7b,'width':_0x137f98-_0xae36ce,'height':_0x8cbcc5-_0x439e7b};}[_0x484f0e(0x129)](){const _0xd37b94=_0x484f0e,{scaleX:_0x1f6f2a,scaleY:_0x5418ff}=this[_0xd37b94(0x2d2)][_0xd37b94(0x226)]();return Math[_0xd37b94(0x301)](_0x1f6f2a,_0x5418ff);}}var _0x57b128=Object['getOwnPropertyDescriptor'],_0x2ce6a1=(_0x59f603,_0x447cb5,_0x547187,_0x2ca52f)=>{const _0x1c59cd=_0x484f0e;for(var _0x2f9d67=_0x2ca52f>0x1?void 0x0:_0x2ca52f?_0x57b128(_0x447cb5,_0x547187):_0x447cb5,_0x192766=_0x59f603[_0x1c59cd(0x189)]-0x1,_0x2f3b55;_0x192766>=0x0;_0x192766--)(_0x2f3b55=_0x59f603[_0x192766])&&(_0x2f9d67=_0x2f3b55(_0x2f9d67)||_0x2f9d67);return _0x2f9d67;},_0x17c4bf=(_0x12bc14,_0x4cd1f0)=>(_0x25be93,_0x5ac235)=>_0x4cd1f0(_0x25be93,_0x5ac235,_0x12bc14);let _0x55a93a=class extends _0x2590ea[_0x484f0e(0x326)]{constructor(_0x5aa94f,_0x1718e2,_0x300bf7,_0x234da8,_0x15f836){const _0x536742=_0x484f0e;super(),_0x1a821a(this,_0x536742(0x270),[]),_0x1a821a(this,_0x536742(0x1ef),[]),(this[_0x536742(0x28d)]=_0x5aa94f,this['_docSkeletonManagerService']=_0x1718e2,this[_0x536742(0x121)]=_0x300bf7,this['_commandService']=_0x234da8,this[_0x536742(0x378)]=_0x15f836,this[_0x536742(0x2be)]());}[_0x484f0e(0x2be)](){const _0x2124cd=_0x484f0e,_0x2d6e8e=this[_0x2124cd(0x28d)]['unitId'],_0x26609c=this[_0x2124cd(0x35e)];this[_0x2124cd(0x331)](_0x8dc742[_0x2124cd(0x348)]([this['_collabCursorController'][_0x2124cd(0x1ea)](_0x2d6e8e),this[_0x2124cd(0x378)][_0x2124cd(0x336)]])[_0x2124cd(0x2e1)](_0xc3ba9e[_0x2124cd(0x2a3)](([_0x339dea,_0xde20d9])=>({'skeleton':_0x26609c[_0x2124cd(0x238)](),'cursors':[..._0x339dea[_0x2124cd(0x278)]()][_0x2124cd(0x34e)](_0x1e468f=>({..._0x1e468f,'color':_0xde20d9[_0x1e468f['color']]}))})))[_0x2124cd(0x2fa)](_0x179aef=>{const _0x24e3fd=_0x2124cd;if(this['_removeCollabCursors'](),_0x179aef){const {skeleton:_0x4e9487,cursors:_0x4450a2}=_0x179aef;this[_0x24e3fd(0x157)](_0x4e9487,_0x4450a2);}})),this[_0x2124cd(0x229)](),this[_0x2124cd(0x237)]();}['_updateCollabCursors'](_0x5cac19,_0xdacf9c){const _0x3fe83d=_0x484f0e,{scene:_0x5be9bf,mainComponent:_0x29c4c0}=this[_0x3fe83d(0x28d)],_0x50c207=_0xdacf9c[_0x3fe83d(0x2a3)](_0x34639b=>new _0x42eac1(_0x34639b,_0x5be9bf,_0x5cac19,_0x29c4c0));this[_0x3fe83d(0x270)]=_0x50c207,this[_0x3fe83d(0x1ef)]=_0xdacf9c;}[_0x484f0e(0x26f)](){const _0x337dcd=_0x484f0e;this[_0x337dcd(0x30c)]();const {scene:_0x22f783,mainComponent:_0xc992dd}=this[_0x337dcd(0x28d)],_0x3b7eb5=this[_0x337dcd(0x35e)][_0x337dcd(0x238)](),_0x200f1a=this[_0x337dcd(0x1ef)][_0x337dcd(0x2a3)](_0xb4f6f6=>new _0x42eac1(_0xb4f6f6,_0x22f783,_0x3b7eb5,_0xc992dd));this[_0x337dcd(0x270)]=_0x200f1a;}[_0x484f0e(0x30c)](){const _0x254ef6=_0x484f0e;this[_0x254ef6(0x270)][_0x254ef6(0x10f)](_0x20f7e0=>_0x20f7e0['dispose']()),this['_cursorShapes']=[];}[_0x484f0e(0x237)](){const _0x269ee4=_0x484f0e,_0xf38749=[_0xac86dc['SetDocZoomRatioOperation']['id']];this[_0x269ee4(0x331)](this['_commandService'][_0x269ee4(0x286)](_0x3ef334=>{const _0xf7c69f=_0x269ee4;_0xf38749['includes'](_0x3ef334['id'])&&_0x3ef334[_0xf7c69f(0x2a1)][_0xf7c69f(0x358)]===this['_context'][_0xf7c69f(0x358)]&&this[_0xf7c69f(0x26f)]();}));}[_0x484f0e(0x229)](){const _0x48f213=_0x484f0e;this[_0x48f213(0x331)](_0x2590ea[_0x48f213(0x2b8)](this[_0x48f213(0x28d)][_0x48f213(0x337)][_0x48f213(0x18c)])[_0x48f213(0x2e1)](_0xc3ba9e[_0x48f213(0xea)](_0x7c4515=>_0x7c4515[_0x48f213(0x154)]===_0x5364ea[_0x48f213(0x376)][_0x48f213(0x17e)]),_0xc3ba9e[_0x48f213(0x218)](0x10))[_0x48f213(0x2fa)](()=>{const _0x3dff3a=_0x48f213;this[_0x3dff3a(0x26f)]();}));}};_0x55a93a=_0x2ce6a1([_0x17c4bf(0x1,_0x2590ea[_0x484f0e(0x215)](_0x364faa[_0x484f0e(0x309)])),_0x17c4bf(0x2,_0x2590ea[_0x484f0e(0x215)](_0x14233d)),_0x17c4bf(0x3,_0x2590ea['ICommandService']),_0x17c4bf(0x4,_0x2590ea[_0x484f0e(0x215)](_0x2590ea[_0x484f0e(0x230)]))],_0x55a93a);const _0x20f7be=0x1,_0x35feb8=1.5;class _0x4f6677 extends _0x5364ea[_0x484f0e(0x17c)]{constructor(_0xbb5595,_0x491769){const _0x3cb381=_0x484f0e;super(_0xbb5595,_0x491769),_0x1a821a(this,'_color'),_0x1a821a(this,_0x3cb381(0x14c),!0x1),_0x1a821a(this,_0x3cb381(0x227)),_0x1a821a(this,_0x3cb381(0x1ce),''),_0x1a821a(this,_0x3cb381(0x1f1),_0x3cb381(0x132)),_0x1a821a(this,_0x3cb381(0x314)),(_0x491769&&this[_0x3cb381(0x10a)](_0x491769),this[_0x3cb381(0x12c)][_0x3cb381(0x19b)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3cb381(0x19e)][_0x3cb381(0x19b)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x484f0e(0x10a)](_0x135729){const _0x5b7fcd=_0x484f0e;var _0x2db9df,_0x88901d,_0x2ef0b5,_0x156cff,_0x27de98,_0x4449c5;this[_0x5b7fcd(0x27f)]=(_0x2db9df=_0x135729[_0x5b7fcd(0x291)])!=null?_0x2db9df:this['_color'],this[_0x5b7fcd(0x14c)]=(_0x88901d=_0x135729[_0x5b7fcd(0xe8)])!=null?_0x88901d:this[_0x5b7fcd(0x14c)],this[_0x5b7fcd(0x227)]=(_0x2ef0b5=_0x135729['range'])!=null?_0x2ef0b5:this[_0x5b7fcd(0x227)],this['_name']=(_0x156cff=_0x135729[_0x5b7fcd(0x18a)])!=null?_0x156cff:this['_name'],this[_0x5b7fcd(0x1f1)]=(_0x27de98=_0x135729[_0x5b7fcd(0x31a)])!=null?_0x27de98:this[_0x5b7fcd(0x1f1)],this[_0x5b7fcd(0x314)]=(_0x4449c5=_0x135729[_0x5b7fcd(0x367)])!=null?_0x4449c5:this['_backgroundColor'],this[_0x5b7fcd(0x131)]({'width':_0x135729[_0x5b7fcd(0x335)],'height':_0x135729[_0x5b7fcd(0x112)]});}[_0x484f0e(0x19f)](_0x3d52e0){const _0x397a10=_0x484f0e,{row:_0x33a8ac,column:_0x39ef4a}=_0x3d52e0;if(_0x33a8ac>=this[_0x397a10(0x227)][_0x397a10(0x380)]&&_0x33a8ac<=this['_range'][_0x397a10(0x324)]&&_0x39ef4a>=this[_0x397a10(0x227)][_0x397a10(0x300)]&&_0x39ef4a<=this[_0x397a10(0x227)][_0x397a10(0x21e)]){this[_0x397a10(0x10a)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x484f0e(0x239)](_0x55f1df){return!0x1;}[_0x484f0e(0x285)](_0x5dcfdf){const _0x303386=_0x484f0e;_0x5364ea['Rect'][_0x303386(0x1bc)](_0x5dcfdf,{'width':this[_0x303386(0x335)],'height':this['height'],'strokeWidth':_0x35feb8,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x303386(0x314)]}),this['_hovered']&&(_0x5dcfdf[_0x303386(0x371)](),_0x5dcfdf[_0x303386(0x247)](0x1,0x0,0x0,0x1,this[_0x303386(0x335)],this['_labelPosition']===_0x303386(0x16d)?0x0:-0x14),_0x1e81c0['drawWith'](_0x5dcfdf,{'text':this['_name'],'color':this['_color']}),_0x5dcfdf[_0x303386(0x2af)]());}}var _0x398f98=Object[_0x484f0e(0x302)],_0x2c1904=(_0xb88a66,_0x347981,_0x47232a,_0x472308)=>{for(var _0x5a6a9a=_0x472308>0x1?void 0x0:_0x472308?_0x398f98(_0x347981,_0x47232a):_0x347981,_0x13d534=_0xb88a66['length']-0x1,_0x3c3661;_0x13d534>=0x0;_0x13d534--)(_0x3c3661=_0xb88a66[_0x13d534])&&(_0x5a6a9a=_0x3c3661(_0x5a6a9a)||_0x5a6a9a);return _0x5a6a9a;},_0x42f329=(_0x3abe43,_0x5e03c4)=>(_0x1e6a59,_0x5e4cec)=>_0x5e03c4(_0x1e6a59,_0x5e4cec,_0x3abe43);const _0x4e09ac=0x1389;let _0x5e9e3c=class extends _0x2590ea[_0x484f0e(0x326)]{constructor(_0x21e753,_0x5dbc82,_0x22d409,_0x2a4a06){const _0x7712db=_0x484f0e;super(),_0x1a821a(this,_0x7712db(0x1ef),new Set()),_0x1a821a(this,'_lastPointer',null),(this[_0x7712db(0x28d)]=_0x21e753,this[_0x7712db(0x35b)]=_0x5dbc82,this[_0x7712db(0x121)]=_0x22d409,this[_0x7712db(0x378)]=_0x2a4a06,this['_init']());}[_0x484f0e(0x2be)](){const _0x4e04da=_0x484f0e;this[_0x4e04da(0x35b)]['currentSkeleton$']['pipe'](_0xc3ba9e[_0x4e04da(0x2fd)](this[_0x4e04da(0x185)]),_0xc3ba9e['switchMap'](_0x23bdc8=>{const _0x4766af=_0x4e04da;if(_0x23bdc8){const _0x1a5068=_0x23bdc8[_0x4766af(0xeb)];return _0x8dc742[_0x4766af(0x348)](this[_0x4766af(0x121)]['getCollabCursors$'](this['_context']['unitId']),this[_0x4766af(0x378)]['currentTheme$'])['pipe'](_0xc3ba9e[_0x4766af(0x2a3)](([_0x4bf488,_0x25e242])=>{const _0x4d400e=new Map();return _0x4bf488['forEach']((_0x1e218d,_0x4d243f)=>{const _0x4d3cf2=_0x4e65;if(_0x1e218d[_0x4d3cf2(0x1c6)]===_0x1a5068){const _0x355f9c={..._0x1e218d};_0x355f9c[_0x4d3cf2(0x291)]=_0x25e242[_0x1e218d['color']],_0x4d400e[_0x4d3cf2(0x1c5)](_0x4d243f,_0x355f9c);}}),{'skeleton':_0x23bdc8,'cursors':_0x4d400e};}));}return _0x8dc742['of']({'skeleton':null,'cursors':new Map()});}))[_0x4e04da(0x2fa)](({skeleton:_0x14b849,cursors:_0x142435})=>{const _0x1c9eb1=_0x4e04da;this[_0x1c9eb1(0x30c)](),_0x14b849&&this[_0x1c9eb1(0x157)](_0x14b849,_0x142435);}),this[_0x4e04da(0x35b)][_0x4e04da(0x127)][_0x4e04da(0x2fa)](_0x35eaa5=>{const _0x1d41fe=_0x4e04da;if(_0x35eaa5==null)return;const {skeleton:_0x1d3dd8}=_0x35eaa5,{scene:_0x222278}=this[_0x1d41fe(0x28d)];_0x222278[_0x1d41fe(0x320)]['subscribeEvent'](_0x2590ea['debounce'](_0x793af1=>{const _0x1bfec3=_0x1d41fe;var _0x17a054,_0x14ed4c;const {offsetX:_0xc88b00,offsetY:_0x1059a5}=_0x793af1,{x:_0x4284e0,y:_0x4958e3}=_0x222278[_0x1bfec3(0x13a)](_0x5364ea[_0x1bfec3(0x1f3)][_0x1bfec3(0x200)]([_0xc88b00,_0x1059a5])),{scaleX:_0x4a5a52,scaleY:_0x10b706}=_0x222278[_0x1bfec3(0x226)](),_0x40d38d=_0x222278[_0x1bfec3(0x234)](_0x5364ea['SHEET_VIEWPORT_KEY'][_0x1bfec3(0xde)]),_0x56fa67=_0x222278[_0x1bfec3(0x271)](_0x5364ea[_0x1bfec3(0x1f3)]['FromArray']([_0x4284e0,_0x4958e3]),_0x40d38d),_0x3029f9=_0x1d3dd8[_0x1bfec3(0x263)](_0xc88b00,_0x1059a5,_0x4a5a52,_0x10b706,_0x56fa67);((_0x17a054=this[_0x1bfec3(0x1e2)])==null?void 0x0:_0x17a054[_0x1bfec3(0x2a8)])===_0x3029f9[_0x1bfec3(0x2a8)]&&((_0x14ed4c=this[_0x1bfec3(0x1e2)])==null?void 0x0:_0x14ed4c[_0x1bfec3(0x253)])===_0x3029f9[_0x1bfec3(0x253)]||this[_0x1bfec3(0x1ef)][_0x1bfec3(0x10f)](_0x5bda81=>{const _0xfed391=_0x1bfec3;_0x5bda81[_0xfed391(0x19f)](_0x3029f9);});},0x64));});}[_0x484f0e(0x157)](_0x1229d9,_0x1b08b6){const _0x3fa202=_0x484f0e;var _0x6d184a;const _0x3a689c=(_0x6d184a=this['_sheetSkeletonManagerService'][_0x3fa202(0x27c)]())==null?void 0x0:_0x6d184a[_0x3fa202(0x2e2)];if(!_0x3a689c)return;const _0x49b4cd=this[_0x3fa202(0xdb)]();if(!_0x49b4cd)return;this[_0x3fa202(0x1ef)][_0x3fa202(0x10f)](_0x8b6b81=>{_0x8b6b81['makeDirty']();});const {scene:_0x15a033}=_0x49b4cd,_0x3c3a9a=_0x20610a(Array[_0x3fa202(0x1d6)](_0x1b08b6[_0x3fa202(0x278)]()))[_0x3fa202(0x2a3)](_0x51baa5=>{const _0x163322=_0x3fa202,{color:_0x1b3134,range:_0x5d950a,name:_0xa9e496,selection:_0x4a949b,sheetID:_0x9ea739}=_0x51baa5,{startColumn:_0x47dad7,startRow:_0x1579ba,endColumn:_0x7559c5,endRow:_0x40bea9}=_0x5d950a,_0x437bd2=_0x3c8877[_0x163322(0x2ea)](_0x1579ba,_0x47dad7,_0x15a033,_0x3a689c),_0xa3410b=_0x3c8877[_0x163322(0x2ea)](_0x40bea9,_0x7559c5,_0x15a033,_0x3a689c),{columnHeaderHeightAndMarginTop:_0x2fc975}=_0x3a689c,{startX:_0x409ed7,startY:_0x1252a0}=_0x437bd2,{endX:_0xc414f3,endY:_0x5dbc1d}=_0xa3410b,_0x14cef9=_0xc414f3-_0x409ed7,_0x5f2883=_0x5dbc1d-_0x1252a0,_0x3076ca={'labelPosition':_0x1252a0-_0x2fc975>=_0x49723f?_0x163322(0x132):_0x163322(0x16d),'sheetID':_0x9ea739,'range':_0x5d950a,'color':_0x1b3134,'name':_0xa9e496,'selection':_0x4a949b,'left':_0x409ed7,'top':_0x1252a0,'width':_0x14cef9,'height':_0x5f2883,'evented':!0x1,'zIndex':_0x4e09ac};return new _0x4f6677(_0xa9e496,_0x3076ca);});_0x15a033['addObjects'](_0x3c3a9a,_0x20f7be),this[_0x3fa202(0x1ef)]=new Set(_0x3c3a9a);}[_0x484f0e(0x30c)](){const _0xc115b0=_0x484f0e;var _0x3056e5;(_0x3056e5=this[_0xc115b0(0x1ef)])==null||_0x3056e5[_0xc115b0(0x10f)](_0x801a69=>_0x801a69[_0xc115b0(0x29a)]());}[_0x484f0e(0xdb)](){const _0x4cc01c=_0x484f0e;return _0x3c8877[_0x4cc01c(0x1df)](this['_context'][_0x4cc01c(0x180)],this[_0x4cc01c(0x28d)]);}};_0x5e9e3c=_0x2c1904([_0x42f329(0x1,_0x2590ea[_0x484f0e(0x215)](_0x3c8877['SheetSkeletonManagerService'])),_0x42f329(0x2,_0x2590ea[_0x484f0e(0x215)](_0x14233d)),_0x42f329(0x3,_0x2590ea[_0x484f0e(0x215)](_0x2590ea[_0x484f0e(0x230)]))],_0x5e9e3c);function _0x20610a(_0x52cdad){const _0x5444ac=_0x484f0e,_0xc4b1c8=new Map();return _0x52cdad['forEach'](_0x456e2f=>{const _0x489e60=_0x4e65;if(_0xc4b1c8[_0x489e60(0x10d)](_0x456e2f[_0x489e60(0x23a)])){const _0x3028d3=_0xc4b1c8['get'](_0x456e2f[_0x489e60(0x23a)]);_0x3028d3['name']+=',\x20'+_0x456e2f[_0x489e60(0x18a)];}else _0xc4b1c8[_0x489e60(0x1c5)](_0x456e2f['selection'],_0x456e2f);}),Array[_0x5444ac(0x1d6)](_0xc4b1c8[_0x5444ac(0x278)]());}var _0x2edf04=function(){const _0x464d2e=_0x484f0e;return _0x2edf04=Object['assign']||function(_0x570fb3){const _0x175120=_0x4e65;for(var _0x29cacf,_0x6ba972=0x1,_0x574bd6=arguments[_0x175120(0x189)];_0x6ba972<_0x574bd6;_0x6ba972++){_0x29cacf=arguments[_0x6ba972];for(var _0x25f437 in _0x29cacf)Object[_0x175120(0x2d5)][_0x175120(0x11d)][_0x175120(0xd9)](_0x29cacf,_0x25f437)&&(_0x570fb3[_0x25f437]=_0x29cacf[_0x25f437]);}return _0x570fb3;},_0x2edf04[_0x464d2e(0xfa)](this,arguments);},_0x301b60=function(_0x36168e,_0x320735){const _0x3eca1e=_0x484f0e;var _0x312191={};for(var _0x1b4de3 in _0x36168e)Object[_0x3eca1e(0x2d5)][_0x3eca1e(0x11d)]['call'](_0x36168e,_0x1b4de3)&&_0x320735[_0x3eca1e(0xfc)](_0x1b4de3)<0x0&&(_0x312191[_0x1b4de3]=_0x36168e[_0x1b4de3]);if(_0x36168e!=null&&typeof Object[_0x3eca1e(0x16f)]==_0x3eca1e(0x2bb)){for(var _0x4cb6d6=0x0,_0x1b4de3=Object[_0x3eca1e(0x16f)](_0x36168e);_0x4cb6d6<_0x1b4de3[_0x3eca1e(0x189)];_0x4cb6d6++)_0x320735['indexOf'](_0x1b4de3[_0x4cb6d6])<0x0&&Object[_0x3eca1e(0x2d5)][_0x3eca1e(0x352)]['call'](_0x36168e,_0x1b4de3[_0x4cb6d6])&&(_0x312191[_0x1b4de3[_0x4cb6d6]]=_0x36168e[_0x1b4de3[_0x4cb6d6]]);}return _0x312191;},_0x3f2761=_0x10065a[_0x484f0e(0x29b)](function(_0x1b968b,_0x15ba5e){const _0x15e199=_0x484f0e;var _0x1b8e84=_0x1b968b[_0x15e199(0x34b)],_0x462d56=_0x1b968b['id'],_0x317e7c=_0x1b968b['className'],_0x14e452=_0x1b968b[_0x15e199(0x274)],_0x868519=_0x301b60(_0x1b968b,['icon','id',_0x15e199(0x33e),'extend']),_0x40c75f=_0x15e199(0x13f)[_0x15e199(0x14e)](_0x462d56,'\x20')['concat'](_0x317e7c||'')[_0x15e199(0x144)](),_0x5d1838=_0x10065a[_0x15e199(0x1a2)]('_'[_0x15e199(0x14e)](_0x50c1d8()));return _0x2e762a(_0x1b8e84,''[_0x15e199(0x14e)](_0x462d56),{'defIds':_0x1b8e84[_0x15e199(0x197)],'idSuffix':_0x5d1838[_0x15e199(0x165)]},_0x2edf04({'ref':_0x15ba5e,'className':_0x40c75f},_0x868519),_0x14e452);});function _0x2e762a(_0x5192e9,_0x388eba,_0xd5a8fe,_0x2daedb,_0xf547bb){const _0xaaddf1=_0x484f0e;return _0x10065a[_0xaaddf1(0x24e)](_0x5192e9[_0xaaddf1(0x109)],_0x2edf04(_0x2edf04({'key':_0x388eba},_0x28c967(_0x5192e9,_0xd5a8fe,_0xf547bb)),_0x2daedb),(_0x5103d1(_0x5192e9,_0xd5a8fe)[_0xaaddf1(0x150)]||[])['map'](function(_0x450c14,_0x2c88bc){const _0xdc9166=_0xaaddf1;return _0x2e762a(_0x450c14,''[_0xdc9166(0x14e)](_0x388eba,'-')[_0xdc9166(0x14e)](_0x5192e9[_0xdc9166(0x109)],'-')[_0xdc9166(0x14e)](_0x2c88bc),_0xd5a8fe,void 0x0,_0xf547bb);}));}function _0x28c967(_0x248b19,_0xf73dcf,_0x2c8835){const _0x24f409=_0x484f0e;var _0x49b067=_0x2edf04({},_0x248b19[_0x24f409(0x1db)]);_0x2c8835!=null&&_0x2c8835[_0x24f409(0x16e)]&&_0x49b067[_0x24f409(0x1cf)]==='colorChannel1'&&(_0x49b067[_0x24f409(0x1cf)]=_0x2c8835['colorChannel1']),_0x248b19[_0x24f409(0x109)]===_0x24f409(0x116)&&_0x49b067['id']&&(_0x49b067['id']=_0x49b067['id']+_0xf73dcf['idSuffix']),Object[_0x24f409(0x2db)](_0x49b067)['forEach'](function(_0x349aad){const _0x2ff54a=_0x24f409;var _0x659939=_0x349aad[0x0],_0x210258=_0x349aad[0x1];_0x659939==='mask'&&typeof _0x210258==_0x2ff54a(0x289)&&(_0x49b067[_0x659939]=_0x210258[_0x2ff54a(0x232)](/url\(#(.*)\)/,_0x2ff54a(0x328)[_0x2ff54a(0x14e)](_0xf73dcf[_0x2ff54a(0x255)],')')));});var _0x15c688=_0xf73dcf[_0x24f409(0x197)];return!_0x15c688||_0x15c688[_0x24f409(0x189)]===0x0||(_0x248b19['tag']===_0x24f409(0x22f)&&_0x49b067[_0x24f409(0x141)]&&(_0x49b067[_0x24f409(0x141)]=_0x49b067[_0x24f409(0x141)]+_0xf73dcf[_0x24f409(0x255)]),Object[_0x24f409(0x2db)](_0x49b067)[_0x24f409(0x10f)](function(_0x3d849a){const _0x57ba94=_0x24f409;var _0x4e6043=_0x3d849a[0x0],_0x16d82a=_0x3d849a[0x1];typeof _0x16d82a=='string'&&(_0x49b067[_0x4e6043]=_0x16d82a[_0x57ba94(0x232)](/url\(#(.*)\)/,'url(#$1'[_0x57ba94(0x14e)](_0xf73dcf[_0x57ba94(0x255)],')')));})),_0x49b067;}function _0x5103d1(_0x6e90d6,_0x38b306){const _0x5c629a=_0x484f0e;var _0x3e4d81,_0x3127a0=_0x38b306[_0x5c629a(0x197)];return!_0x3127a0||_0x3127a0[_0x5c629a(0x189)]===0x0?_0x6e90d6:_0x6e90d6[_0x5c629a(0x109)]===_0x5c629a(0x265)&&(!((_0x3e4d81=_0x6e90d6[_0x5c629a(0x150)])===null||_0x3e4d81===void 0x0)&&_0x3e4d81[_0x5c629a(0x189)])?_0x2edf04(_0x2edf04({},_0x6e90d6),{'children':_0x6e90d6['children'][_0x5c629a(0x2a3)](function(_0x58de21){const _0x24f3c3=_0x5c629a;return typeof _0x58de21[_0x24f3c3(0x1db)]['id']==_0x24f3c3(0x289)&&_0x3127a0&&_0x3127a0['indexOf'](_0x58de21[_0x24f3c3(0x1db)]['id'])>-0x1?_0x2edf04(_0x2edf04({},_0x58de21),{'attrs':_0x2edf04(_0x2edf04({},_0x58de21[_0x24f3c3(0x1db)]),{'id':_0x58de21[_0x24f3c3(0x1db)]['id']+_0x38b306[_0x24f3c3(0x255)]})}):_0x58de21;})}):_0x6e90d6;}function _0x50c1d8(){const _0x2ea3b3=_0x484f0e;return Math[_0x2ea3b3(0x2f4)]()[_0x2ea3b3(0x122)](0x24)[_0x2ea3b3(0x362)](0x2,0x8);}_0x3f2761[_0x484f0e(0x2a6)]=_0x484f0e(0x2a5);var _0xb16d64={'tag':_0x484f0e(0x2eb),'attrs':{'fill':'none','viewBox':_0x484f0e(0x2dd),'width':_0x484f0e(0x32e),'height':_0x484f0e(0x32e)},'children':[{'tag':'g','attrs':{'clipPath':_0x484f0e(0x25d)},'children':[{'tag':'path','attrs':{'stroke':_0x484f0e(0x15e),'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':_0x484f0e(0x191),'strokeLinejoin':_0x484f0e(0x191),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x484f0e(0x31f),'attrs':{'id':_0x484f0e(0x248)},'children':[{'tag':_0x484f0e(0x2f9),'attrs':{'fill':_0x484f0e(0x350),'d':_0x484f0e(0x26a)}}]}]}],'defIds':[_0x484f0e(0x248)]},_0x3c3382=_0x10065a[_0x484f0e(0x29b)](function(_0xc305b5,_0x59deee){const _0x2020f3=_0x484f0e;return _0x10065a[_0x2020f3(0x24e)](_0x3f2761,Object['assign']({},_0xc305b5,{'id':_0x2020f3(0x24d),'ref':_0x59deee,'icon':_0xb16d64}));});_0x3c3382['displayName']=_0x484f0e(0x25a);var _0x3ee254={'tag':_0x484f0e(0x2eb),'attrs':{'fill':_0x484f0e(0x1be),'viewBox':'0\x200\x2017\x2016','width':_0x484f0e(0x32e),'height':_0x484f0e(0x32e)},'children':[{'tag':'g','attrs':{'clipPath':_0x484f0e(0x182)},'children':[{'tag':_0x484f0e(0x2f9),'attrs':{'stroke':_0x484f0e(0x15e),'d':_0x484f0e(0xdd),'strokeLinecap':_0x484f0e(0x191),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x484f0e(0x265),'attrs':{},'children':[{'tag':_0x484f0e(0x31f),'attrs':{'id':_0x484f0e(0x2e6)},'children':[{'tag':_0x484f0e(0x2f9),'attrs':{'fill':_0x484f0e(0x350),'d':_0x484f0e(0x26a),'transform':_0x484f0e(0x221)}}]}]}],'defIds':[_0x484f0e(0x2e6)]},_0x80b462=_0x10065a[_0x484f0e(0x29b)](function(_0x5c9354,_0x16dd18){const _0x2d4e06=_0x484f0e;return _0x10065a['createElement'](_0x3f2761,Object[_0x2d4e06(0x1eb)]({},_0x5c9354,{'id':_0x2d4e06(0x10c),'ref':_0x16dd18,'icon':_0x3ee254}));});_0x80b462[_0x484f0e(0x2a6)]=_0x484f0e(0x21a);function _0x3d770d(_0x403449){const _0x553366=_0x484f0e;switch(_0x403449){case _0x5d028d[_0x553366(0x36f)]['OFFLINE']:return _0x553366(0x282);case _0x5d028d[_0x553366(0x36f)]['CONFLICT']:return _0x553366(0x134);case _0x5d028d[_0x553366(0x36f)][_0x553366(0x2d4)]:return _0x553366(0x359);case _0x5d028d['CollaborationStatus']['NOT_COLLAB']:return _0x553366(0x295);case _0x5d028d['CollaborationStatus'][_0x553366(0x11c)]:case _0x5d028d[_0x553366(0x36f)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x5d028d[_0x553366(0x36f)][_0x553366(0x15c)]:case _0x5d028d[_0x553366(0x36f)][_0x553366(0x30a)]:return'collabStatus.synced';}}function _0x476984(_0x2fc709){const _0xcbd890=_0x484f0e,{status$:_0x4827f4}=_0x2fc709,_0x4f1b09=_0x2405df[_0xcbd890(0x222)](_0x4827f4,_0x5d028d['CollaborationStatus']['NOT_COLLAB']),_0x28df11=_0x2405df[_0xcbd890(0x273)](_0x2590ea[_0xcbd890(0x276)]),_0x51842f=_0x2405df[_0xcbd890(0x273)](_0x5d028d[_0xcbd890(0x338)]),_0x56781e=_0x4f1b09!==_0x5d028d[_0xcbd890(0x36f)][_0xcbd890(0x23f)],_0x3d7ffd=_0x28df11['t'](_0x3d770d(_0x4f1b09)),_0x1faa2b=_0x56781e?_0x12f474[_0xcbd890(0x117)](_0x80b462,{}):_0x12f474[_0xcbd890(0x117)](_0x3c3382,{}),_0x28f631=_0x10065a['useCallback'](()=>{const _0x2b7094=_0xcbd890;_0x56781e||_0x51842f[_0x2b7094(0x119)]();},[_0x56781e,_0x51842f]);function _0x3c6b35(){const _0x3d6d74=_0xcbd890;return _0x12f474[_0x3d6d74(0x351)](_0x3d6d74(0x34f),{'className':'univer-flex\x20univer-items-center','onClick':_0x28f631,'children':[_0x12f474[_0x3d6d74(0x117)](_0x3d6d74(0x34f),{'className':_0x1ca64d[_0x3d6d74(0xf7)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x56781e?_0x3d6d74(0xfd):_0x3d6d74(0x202)),'children':_0x1faa2b}),_0x12f474[_0x3d6d74(0x117)](_0x3d6d74(0x34f),{'className':_0x3d6d74(0xf1),'children':_0x3d7ffd})]});}return _0x56781e?_0x3c6b35():_0x12f474['jsx'](_0x1ca64d[_0xcbd890(0x315)],{'title':_0x28df11['t'](_0xcbd890(0x143)),'children':_0x3c6b35()});}var _0x1c98ee=Object[_0x484f0e(0x302)],_0x160f1a=(_0x4b9d83,_0x36d067,_0x4fbe52,_0x25f450)=>{for(var _0xd4a095=_0x25f450>0x1?void 0x0:_0x25f450?_0x1c98ee(_0x36d067,_0x4fbe52):_0x36d067,_0x2d77f6=_0x4b9d83['length']-0x1,_0x42bd41;_0x2d77f6>=0x0;_0x2d77f6--)(_0x42bd41=_0x4b9d83[_0x2d77f6])&&(_0xd4a095=_0x42bd41(_0xd4a095)||_0xd4a095);return _0xd4a095;},_0xb23c49=(_0x4b94b4,_0x51913d)=>(_0x341721,_0xadbb1)=>_0x51913d(_0x341721,_0xadbb1,_0x4b94b4);_0x18ce8a[_0x484f0e(0x2ab)]=class extends _0x2590ea[_0x484f0e(0x1b7)]{constructor(_0x5fa130,_0x2f8406,_0x240c7f,_0x216a88){const _0x33aa50=_0x484f0e;super(),_0x1a821a(this,_0x33aa50(0x170),new _0x8dc742[(_0x33aa50(0x22a))](_0x5d028d[_0x33aa50(0x36f)][_0x33aa50(0x2ec)])),(this[_0x33aa50(0x1c1)]=_0x5fa130,this['_injector']=_0x2f8406,this[_0x33aa50(0x2c0)]=_0x240c7f,this[_0x33aa50(0xf5)]=_0x216a88,this[_0x33aa50(0x1d1)](),this[_0x33aa50(0x1a9)]());}[_0x484f0e(0x1a9)](){const _0x652c4f=_0x484f0e;this[_0x652c4f(0x331)](this[_0x652c4f(0x1c1)]['focused$'][_0x652c4f(0x2e1)](_0x8dc742[_0x652c4f(0x363)](()=>{const _0x16bffa=_0x652c4f,_0x4905cf=this[_0x16bffa(0x1c1)][_0x16bffa(0x30e)]();return _0x4905cf?this[_0x16bffa(0x2c0)]['getCollabEntity$'](_0x4905cf[_0x16bffa(0x25f)]()):_0x8dc742['of'](null);}),_0x8dc742[_0x652c4f(0x363)](_0x291ac0=>_0x291ac0?_0x291ac0[_0x652c4f(0x190)]:_0x8dc742['of'](_0x5d028d['CollaborationStatus']['NOT_COLLAB'])))[_0x652c4f(0x2fa)](_0x319d21=>{this['_status$']['next'](_0x319d21);}));}[_0x484f0e(0x1d1)](){const _0x127364=_0x484f0e;this[_0x127364(0x331)](this[_0x127364(0xf5)][_0x127364(0x356)](_0x2405df[_0x127364(0x192)]['HEADER_MENU'],()=>_0x2405df['connectInjector'](_0x470681({'status$':this[_0x127364(0x170)][_0x127364(0x284)]()}),this['_injector'])));}},_0x18ce8a[_0x484f0e(0x2ab)]=_0x160f1a([_0xb23c49(0x0,_0x2590ea['IUniverInstanceService']),_0xb23c49(0x1,_0x2590ea['Inject'](_0x2590ea[_0x484f0e(0x176)])),_0xb23c49(0x2,_0x2590ea[_0x484f0e(0x215)](_0x5d028d['CollaborationController'])),_0xb23c49(0x3,_0x2405df[_0x484f0e(0x174)])],_0x18ce8a[_0x484f0e(0x2ab)]);function _0x470681(_0x37338d){const {status$:_0x487019}=_0x37338d;return function(){const _0x37c7c4=_0x4e65;return _0x12f474[_0x37c7c4(0x117)](_0x476984,{'status$':_0x487019});};}var _0x494f0a=Object['getOwnPropertyDescriptor'],_0x334e59=(_0x3fbf2d,_0x2452fc,_0x2314ed,_0x78d2ca)=>{const _0x44467c=_0x484f0e;for(var _0x402f1c=_0x78d2ca>0x1?void 0x0:_0x78d2ca?_0x494f0a(_0x2452fc,_0x2314ed):_0x2452fc,_0xeacc3e=_0x3fbf2d[_0x44467c(0x189)]-0x1,_0x4b0d98;_0xeacc3e>=0x0;_0xeacc3e--)(_0x4b0d98=_0x3fbf2d[_0xeacc3e])&&(_0x402f1c=_0x4b0d98(_0x402f1c)||_0x402f1c);return _0x402f1c;},_0x55574b=(_0x1b714a,_0x5792e2)=>(_0x5559ae,_0x4d0823)=>_0x5792e2(_0x5559ae,_0x4d0823,_0x1b714a);let _0x1770a3=class extends _0x2590ea['Disposable']{constructor(_0xbcbaaf,_0x272bb8,_0x15691d,_0x3f021a,_0x1a6994,_0x3a3118){const _0x2c6af2=_0x484f0e;super(),this[_0x2c6af2(0x172)]=_0xbcbaaf,this['_localCacheService']=_0x272bb8,this['_collaborationUIEventService']=_0x15691d,this[_0x2c6af2(0x125)]=_0x3f021a,this[_0x2c6af2(0x33f)]=_0x1a6994,this[_0x2c6af2(0x36d)]=_0x3a3118,this[_0x2c6af2(0x236)](),this['_initEvent']();}[_0x484f0e(0x236)](){const _0x186a8b=_0x484f0e;this['disposeWithMe'](this[_0x186a8b(0x172)][_0x186a8b(0x2df)](()=>{const _0x4bdd7c=_0x186a8b;if(this[_0x4bdd7c(0x279)][_0x4bdd7c(0x1ec)][_0x4bdd7c(0x118)])return this['_localeService']['t'](_0x4bdd7c(0xd1));}));}[_0x484f0e(0x287)](){const _0x1c73e2=_0x484f0e;this[_0x1c73e2(0x331)](this['_collaborationUIEventService'][_0x1c73e2(0x1f9)][_0x1c73e2(0x2fa)](_0x493e46=>{const _0x227df1=_0x1c73e2;_0x493e46['id']===_0x5d028d[_0x227df1(0x2b0)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x227df1(0x24b)]({'type':_0x1ca64d[_0x227df1(0x115)][_0x227df1(0x12b)],'content':this[_0x227df1(0x36d)]['t'](_0x227df1(0x11e))}),_0x493e46['id']===_0x5d028d[_0x227df1(0x2b0)][_0x227df1(0x233)]&&this[_0x227df1(0x125)][_0x227df1(0x24b)]({'type':_0x1ca64d[_0x227df1(0x115)]['Warning'],'content':this[_0x227df1(0x36d)]['t']('collaboration.closeRoom')}),_0x493e46['id']===_0x5d028d[_0x227df1(0x2b0)][_0x227df1(0x261)]&&this[_0x227df1(0x33f)][_0x227df1(0x24b)]({'title':this['_localeService']['t'](_0x227df1(0xd6)),'content':this[_0x227df1(0x36d)]['t'](_0x227df1(0x2e4)),'type':'error','duration':0x0}),_0x493e46['id']===_0x5d028d['CollaborationUIEventId'][_0x227df1(0x344)]&&this[_0x227df1(0x125)][_0x227df1(0x24b)]({'type':_0x1ca64d['MessageType'][_0x227df1(0x372)],'content':this[_0x227df1(0x36d)]['t'](_0x227df1(0x212))+'('+_0x493e46['data']+')'}),_0x493e46['id']===_0x5d028d['CollaborationUIEventId'][_0x227df1(0x103)]&&this[_0x227df1(0x125)][_0x227df1(0x24b)]({'type':_0x1ca64d['MessageType'][_0x227df1(0x12b)],'content':this[_0x227df1(0x36d)]['t'](_0x493e46[_0x227df1(0x29d)]||'')}),_0x493e46['id']===_0x5d028d[_0x227df1(0x2b0)][_0x227df1(0x2f5)]&&this[_0x227df1(0x125)]['show']({'type':_0x1ca64d[_0x227df1(0x115)]['Warning'],'content':this['_localeService']['t'](_0x227df1(0x2f8))}),_0x493e46['id']===_0x5d028d['CollaborationUIEventId'][_0x227df1(0x322)]&&this[_0x227df1(0x125)][_0x227df1(0x24b)]({'type':_0x1ca64d['MessageType'][_0x227df1(0x372)],'content':this['_localeService']['t'](_0x227df1(0x2c8))}),_0x493e46['id']===_0x5d028d[_0x227df1(0x2b0)][_0x227df1(0x25b)]&&this[_0x227df1(0x125)][_0x227df1(0x24b)]({'type':_0x1ca64d[_0x227df1(0x115)]['Error'],'content':this[_0x227df1(0x36d)]['t']('session.collaboration-timeout')});}));}};_0x1770a3=_0x334e59([_0x55574b(0x0,_0x2405df[_0x484f0e(0x28c)]),_0x55574b(0x1,_0x5d028d[_0x484f0e(0x133)]),_0x55574b(0x2,_0x2590ea[_0x484f0e(0x215)](_0x5d028d['CollaborationUIEventService'])),_0x55574b(0x3,_0x2405df[_0x484f0e(0x353)]),_0x55574b(0x4,_0x2405df[_0x484f0e(0x158)]),_0x55574b(0x5,_0x2590ea[_0x484f0e(0x215)](_0x2590ea[_0x484f0e(0x276)]))],_0x1770a3);const _0xba79a6=_0x484f0e(0x37d),_0x18c12b={},_0x180330=_0x2590ea[_0x484f0e(0x2c4)](_0x484f0e(0x29e));var _0x380f3d=Object[_0x484f0e(0x302)],_0x460060=(_0x230d9f,_0x2daa5c,_0x584205,_0x6b601c)=>{const _0xfab691=_0x484f0e;for(var _0x26c008=_0x6b601c>0x1?void 0x0:_0x6b601c?_0x380f3d(_0x2daa5c,_0x584205):_0x2daa5c,_0x5bb7c1=_0x230d9f[_0xfab691(0x189)]-0x1,_0x554c8e;_0x5bb7c1>=0x0;_0x5bb7c1--)(_0x554c8e=_0x230d9f[_0x5bb7c1])&&(_0x26c008=_0x554c8e(_0x26c008)||_0x26c008);return _0x26c008;},_0x1eeb46=(_0xdca4d4,_0xac7be8)=>(_0x3a9915,_0x559bd8)=>_0xac7be8(_0x3a9915,_0x559bd8,_0xdca4d4);_0x18ce8a[_0x484f0e(0x147)]=class extends _0x2590ea[_0x484f0e(0x326)]{constructor(_0x28d5ae,_0xf3dc3c,_0x5c461b,_0x5b15df,_0x272151){const _0x21db6e=_0x484f0e;super(),this[_0x21db6e(0x321)]=_0x28d5ae,this[_0x21db6e(0x2e0)]=_0xf3dc3c,this[_0x21db6e(0x1ff)]=_0x5c461b,this[_0x21db6e(0x1fc)]=_0x5b15df,_0x272151?_0x272151==null||_0x272151['whenReady']()[_0x21db6e(0x120)](()=>this['_init']()):(this[_0x21db6e(0x2e0)]['debug'](_0x21db6e(0x124),_0x21db6e(0x313)),this[_0x21db6e(0x2be)]());}async[_0x484f0e(0x2be)](){const _0x30f193=_0x484f0e,_0xafbe53=this[_0x30f193(0x321)][_0x30f193(0x1d7)](_0x30f193(0x180)),_0x44ffdb=this[_0x30f193(0x321)][_0x30f193(0x1d7)](_0x30f193(0x154)),_0xf86201=this[_0x30f193(0x321)][_0x30f193(0x1d7)](_0x30f193(0x379));if(!_0xafbe53||!_0x44ffdb){this[_0x30f193(0x2e0)][_0x30f193(0x1bd)]('[CollaborationDataLoaderController]',_0x30f193(0x2da));return;}const _0x38db44=await this[_0x30f193(0x1fc)][_0x30f193(0x281)](_0xafbe53,Number(_0x44ffdb),_0xf86201);_0x38db44&&_0x38db44 instanceof _0x2590ea[_0x30f193(0x113)]&&this['_setupSubUnitSync'](_0x38db44);}async[_0x484f0e(0x304)](_0x322454){const _0x24d5e0=_0x484f0e;await this[_0x24d5e0(0x20e)](_0x322454),_0x322454[_0x24d5e0(0xe1)][_0x24d5e0(0x2e1)](_0x8dc742['takeUntil'](this[_0x24d5e0(0x185)]))[_0x24d5e0(0x2fa)](_0x5958e6=>{const _0x544cda=_0x24d5e0;_0x5958e6&&this[_0x544cda(0x288)](_0x5958e6);}),this[_0x24d5e0(0x321)][_0x24d5e0(0x1ae)]['pipe'](_0x8dc742['takeUntil'](this[_0x24d5e0(0x185)]))[_0x24d5e0(0x2fa)](()=>this[_0x24d5e0(0x20e)](_0x322454));}[_0x484f0e(0x288)](_0x47d982,_0x101859=!0x1){const _0x5e71a3=_0x484f0e,_0x1ad0e6=this[_0x5e71a3(0x321)][_0x5e71a3(0x1d7)]('subunit');_0x47d982[_0x5e71a3(0x33d)]()!==_0x1ad0e6&&this[_0x5e71a3(0x321)][_0x5e71a3(0x35d)](_0x5e71a3(0x379),_0x47d982[_0x5e71a3(0x33d)](),_0x101859);}async[_0x484f0e(0x20e)](_0x56d7e8){const _0x1b7d7c=_0x484f0e;var _0xf1a822;const _0x47e3cf=this[_0x1b7d7c(0x321)][_0x1b7d7c(0x1d7)](_0x1b7d7c(0x379));if(!_0x47e3cf||!_0x56d7e8['getSheetBySheetId'](_0x47e3cf)){const _0xc02366=_0x56d7e8['getUnhiddenWorksheets']()[0x0],_0x20c230=_0x56d7e8[_0x1b7d7c(0x223)](_0xc02366);if(!_0x20c230)return;this[_0x1b7d7c(0x288)](_0x20c230,!0x0),await this['_commandService'][_0x1b7d7c(0x213)](_0x1d5030[_0x1b7d7c(0x1fa)]['id'],{'unitId':_0x56d7e8['getUnitId'](),'subUnitId':_0xc02366});return;}((_0xf1a822=_0x56d7e8[_0x1b7d7c(0x1e9)]())==null?void 0x0:_0xf1a822[_0x1b7d7c(0x33d)]())!==_0x47e3cf&&await this['_commandService']['executeCommand'](_0x1d5030[_0x1b7d7c(0x1fa)]['id'],{'unitId':_0x56d7e8[_0x1b7d7c(0x25f)](),'subUnitId':_0x47e3cf});}},_0x18ce8a[_0x484f0e(0x147)]=_0x460060([_0x1eeb46(0x0,_0x180330),_0x1eeb46(0x1,_0x2590ea['ILogService']),_0x1eeb46(0x2,_0x2590ea[_0x484f0e(0x249)]),_0x1eeb46(0x3,_0x2590ea[_0x484f0e(0x215)](_0x5d028d['DataLoaderService'])),_0x1eeb46(0x4,_0x2590ea[_0x484f0e(0x108)](_0x56bd4b[_0x484f0e(0x151)]))],_0x18ce8a['CollaborationDataLoaderController']);var _0x4fc4f3=Object[_0x484f0e(0x302)],_0x4c109e=(_0x23d1db,_0x4f6f61,_0x32bcd4,_0x48a77e)=>{const _0x3e1013=_0x484f0e;for(var _0x108306=_0x48a77e>0x1?void 0x0:_0x48a77e?_0x4fc4f3(_0x4f6f61,_0x32bcd4):_0x4f6f61,_0x142a67=_0x23d1db[_0x3e1013(0x189)]-0x1,_0x33d871;_0x142a67>=0x0;_0x142a67--)(_0x33d871=_0x23d1db[_0x142a67])&&(_0x108306=_0x33d871(_0x108306)||_0x108306);return _0x108306;},_0x483bcf=(_0x5651a5,_0x1feeda)=>(_0x2a3abd,_0x6ed507)=>_0x1feeda(_0x2a3abd,_0x6ed507,_0x5651a5);let _0x5e13ea=class{constructor(_0x2cdb30,_0x11ac32,_0xf7df47){const _0x346e3e=_0x484f0e;this[_0x346e3e(0x152)]=_0x2cdb30,this[_0x346e3e(0x30d)]=_0x11ac32,this[_0x346e3e(0x240)]=_0xf7df47;}[_0x484f0e(0x10e)](_0x540d0e){const _0x59af43=_0x484f0e;this[_0x59af43(0x29f)](_0x540d0e),this[_0x59af43(0x2b6)](_0x540d0e);}[_0x484f0e(0x366)](_0x2e0ac2){const _0x372177=_0x484f0e,{unitID:_0x29e0c2}=_0x2e0ac2,_0x6b798=this['_renderManagerService'][_0x372177(0x2fb)](_0x29e0c2)[_0x372177(0x179)](_0xac86dc[_0x372177(0x12a)]),{redoCache:_0x2d6612}=_0x6b798[_0x372177(0xdc)]();if(_0x2d6612['length']===0x0)return _0x2e0ac2;let _0x308b3d=_0x2590ea[_0x372177(0x1dc)][_0x372177(0x161)](_0x2e0ac2[_0x372177(0x1ed)][0x0]);for(let _0x54f1f7=0x0;_0x54f1f7<_0x2d6612['length'];_0x54f1f7++){const _0x567e6a={'id':_0x372177(0x204),'params':{..._0x2d6612[_0x54f1f7]}},_0x5ec33a=this['_transformService'][_0x372177(0x10b)](_0x308b3d,_0x567e6a,!0x1);if(_0x4a4e6c[_0x372177(0x23c)](_0x5ec33a))throw _0x5ec33a[_0x372177(0x262)];_0x308b3d=_0x5ec33a[_0x372177(0x21d)];}return{..._0x2590ea[_0x372177(0x1dc)][_0x372177(0x161)](_0x2e0ac2),'mutations':[_0x308b3d]};}[_0x484f0e(0x29f)](_0x6159ce){const _0x3b6055=_0x484f0e,{unitID:_0x24d8aa}=_0x6159ce,_0x35716a=this[_0x3b6055(0x240)][_0x3b6055(0x2fb)](_0x24d8aa)[_0x3b6055(0x179)](_0xac86dc[_0x3b6055(0x12a)]),{undoCache:_0x161124,redoCache:_0x51247a}=_0x35716a[_0x3b6055(0xdc)]();if(_0x161124[_0x3b6055(0x189)]===0x0||_0x51247a[_0x3b6055(0x189)]===0x0)return;const _0x43cd21=[],_0x32ab2c=[];let _0x5e7ed4=_0x2590ea['Tools']['deepClone'](_0x6159ce[_0x3b6055(0x1ed)][0x0]),_0x2a8dfa=_0x2590ea[_0x3b6055(0x1dc)]['deepClone'](_0x6159ce['mutations'][0x0]);for(let _0x37a5d7=_0x161124[_0x3b6055(0x189)]-0x1;_0x37a5d7>=0x0;_0x37a5d7--){const _0x82925d={'id':_0x3b6055(0x204),'params':{..._0x161124[_0x37a5d7]}},_0x44579d={'id':_0x3b6055(0x204),'params':{..._0x51247a[_0x37a5d7]}},_0x319632=this[_0x3b6055(0x30d)]['transformMutation'](_0x5e7ed4,_0x82925d,!0x1),_0x31d996=this[_0x3b6055(0x30d)][_0x3b6055(0x10b)](_0x2a8dfa,_0x44579d,!0x1);if(_0x4a4e6c[_0x3b6055(0x23c)](_0x319632))throw _0x319632[_0x3b6055(0x262)];if(_0x4a4e6c[_0x3b6055(0x23c)](_0x31d996))throw _0x31d996[_0x3b6055(0x262)];_0x43cd21['unshift'](_0x319632[_0x3b6055(0x2c2)][_0x3b6055(0x2a1)]),_0x32ab2c[_0x3b6055(0x365)](_0x31d996['m2Prime'][_0x3b6055(0x2a1)]),_0x5e7ed4=_0x319632['m1Prime'],_0x2a8dfa=_0x31d996[_0x3b6055(0x21d)];}_0x35716a['setUndoRedoMutationParamsCache']({'undoCache':_0x43cd21,'redoCache':_0x32ab2c});}[_0x484f0e(0x2b6)](_0x13d348){const _0x3be133=_0x484f0e,{unitID:_0x2b7357}=_0x13d348,_0x2541dc=this[_0x3be133(0x240)][_0x3be133(0x2fb)](_0x2b7357)[_0x3be133(0x179)](_0xac86dc[_0x3be133(0x12a)]),_0x51f1e6=_0x2541dc[_0x3be133(0xf2)]();if(_0x51f1e6==null)return;const _0x2bab2c=[{'id':_0x3be133(0x204),'params':{'unitId':_0x13d348[_0x3be133(0x243)],'actions':null,'textRanges':[_0x51f1e6]}}],_0x182b52=this[_0x3be133(0x30d)][_0x3be133(0x339)](_0x13d348,_0x2bab2c);if(!_0x4a4e6c[_0x3be133(0x162)](_0x182b52))throw _0x182b52[_0x3be133(0x262)];const _0x466258=_0x182b52[_0x3be133(0x2c2)][0x0]['params']['textRanges'];Array['isArray'](_0x466258)&&_0x466258[_0x3be133(0x189)]&&_0x2541dc[_0x3be133(0xf3)](_0x466258[0x0]);}};_0x5e13ea=_0x4c109e([_0x483bcf(0x0,_0x2590ea[_0x484f0e(0x215)](_0x2590ea[_0x484f0e(0x176)])),_0x483bcf(0x1,_0x4a4e6c[_0x484f0e(0x2ee)]),_0x483bcf(0x2,_0x5364ea[_0x484f0e(0x36b)])],_0x5e13ea);var _0x5d4e96=Object[_0x484f0e(0x302)],_0x1f3d22=(_0x43c175,_0x2047b2,_0x48694d,_0xe0d287)=>{const _0x39e536=_0x484f0e;for(var _0x492b14=_0xe0d287>0x1?void 0x0:_0xe0d287?_0x5d4e96(_0x2047b2,_0x48694d):_0x2047b2,_0x2aff48=_0x43c175[_0x39e536(0x189)]-0x1,_0x3dcb00;_0x2aff48>=0x0;_0x2aff48--)(_0x3dcb00=_0x43c175[_0x2aff48])&&(_0x492b14=_0x3dcb00(_0x492b14)||_0x492b14);return _0x492b14;},_0x5194b3=(_0x2edd58,_0x509f34)=>(_0x25e772,_0x159175)=>_0x509f34(_0x25e772,_0x159175,_0x2edd58);let _0x1e6c32=class{constructor(_0x3cf28e,_0x188130,_0x53de9b){const _0x3bd191=_0x484f0e;this[_0x3bd191(0x152)]=_0x3cf28e,this[_0x3bd191(0x30d)]=_0x188130,this['_docStateChangeManagerService']=_0x53de9b;}[_0x484f0e(0x114)](_0x39a448){const _0x4738d1=_0x484f0e;this[_0x4738d1(0x35a)](_0x39a448);}[_0x484f0e(0x366)](_0x1b5d96){const _0x4c77b7=_0x484f0e,{unitID:_0x4bb3f5}=_0x1b5d96,{collaboration:_0x2daaab}=this[_0x4c77b7(0x1d5)][_0x4c77b7(0x225)](_0x4bb3f5);if(_0x2daaab['length']===0x0)return _0x1b5d96;let _0x3a66fa=_0x2590ea['Tools']['deepClone'](_0x1b5d96[_0x4c77b7(0x1ed)][0x0]);for(let _0x17459d=0x0;_0x17459d<_0x2daaab[_0x4c77b7(0x189)];_0x17459d++){const _0x20f5ab={'id':_0x4c77b7(0x204),'params':{'unitId':_0x2daaab[_0x17459d][_0x4c77b7(0x358)],..._0x2daaab[_0x17459d][_0x4c77b7(0x22d)]}},_0x234e62=this[_0x4c77b7(0x30d)][_0x4c77b7(0x10b)](_0x3a66fa,_0x20f5ab,!0x1);if(_0x4a4e6c[_0x4c77b7(0x23c)](_0x234e62))throw _0x234e62['error'];_0x3a66fa=_0x234e62[_0x4c77b7(0x21d)];}return{..._0x2590ea[_0x4c77b7(0x1dc)][_0x4c77b7(0x161)](_0x1b5d96),'mutations':[_0x3a66fa]};}[_0x484f0e(0x35a)](_0x5226e6){const _0x54917a=_0x484f0e,{unitID:_0x56c0a4}=_0x5226e6,{history:_0x1e131f,collaboration:_0x4d71b4}=this[_0x54917a(0x1d5)][_0x54917a(0x225)](_0x56c0a4);if(_0x1e131f['length']===0x0&&_0x4d71b4[_0x54917a(0x189)]===0x0)return;const _0x39a35a=[],_0x363d7a=[];let _0x1af896=_0x2590ea[_0x54917a(0x1dc)][_0x54917a(0x161)](_0x5226e6['mutations'][0x0]),_0x4ff671=_0x2590ea[_0x54917a(0x1dc)]['deepClone'](_0x5226e6['mutations'][0x0]);for(let _0x5a9b00=_0x1e131f['length']-0x1;_0x5a9b00>=0x0;_0x5a9b00--){const _0x128212={'id':_0x54917a(0x204),'params':{'unitId':_0x1e131f[_0x5a9b00][_0x54917a(0x358)],..._0x1e131f[_0x5a9b00]['undoState']}},_0x15c35b={'id':_0x54917a(0x204),'params':{'unitId':_0x1e131f[_0x5a9b00][_0x54917a(0x358)],..._0x1e131f[_0x5a9b00][_0x54917a(0x22d)]}},_0x219a9f=this[_0x54917a(0x30d)][_0x54917a(0x10b)](_0x1af896,_0x128212,!0x1),_0x19fda8=this['_transformService'][_0x54917a(0x10b)](_0x4ff671,_0x15c35b,!0x1);if(_0x4a4e6c['isTransformMutationFailure'](_0x219a9f))throw _0x219a9f['error'];if(_0x4a4e6c[_0x54917a(0x23c)](_0x19fda8))throw _0x19fda8['error'];_0x39a35a[_0x54917a(0x365)]({..._0x1e131f[_0x5a9b00],'undoState':_0x219a9f[_0x54917a(0x2c2)][_0x54917a(0x2a1)],'redoState':_0x19fda8[_0x54917a(0x2c2)]['params']}),_0x1af896=_0x219a9f[_0x54917a(0x21d)],_0x4ff671=_0x19fda8['m1Prime'];}_0x1af896=_0x2590ea[_0x54917a(0x1dc)][_0x54917a(0x161)](_0x5226e6[_0x54917a(0x1ed)][0x0]),_0x4ff671=_0x2590ea[_0x54917a(0x1dc)][_0x54917a(0x161)](_0x5226e6['mutations'][0x0]);for(let _0x210ab7=_0x4d71b4[_0x54917a(0x189)]-0x1;_0x210ab7>=0x0;_0x210ab7--){const _0x3cb5be={'id':_0x54917a(0x204),'params':{'unitId':_0x4d71b4[_0x210ab7]['unitId'],..._0x4d71b4[_0x210ab7][_0x54917a(0x2ad)]}},_0x5856e0={'id':_0x54917a(0x204),'params':{'unitId':_0x4d71b4[_0x210ab7]['unitId'],..._0x4d71b4[_0x210ab7]['redoState']}},_0x504984=this['_transformService'][_0x54917a(0x10b)](_0x1af896,_0x3cb5be,!0x1),_0x3c79a7=this[_0x54917a(0x30d)][_0x54917a(0x10b)](_0x4ff671,_0x5856e0,!0x1);if(_0x4a4e6c[_0x54917a(0x23c)](_0x504984))throw _0x504984[_0x54917a(0x262)];if(_0x4a4e6c[_0x54917a(0x23c)](_0x3c79a7))throw _0x3c79a7['error'];_0x363d7a[_0x54917a(0x365)]({..._0x4d71b4[_0x210ab7],'undoState':_0x504984[_0x54917a(0x2c2)][_0x54917a(0x2a1)],'redoState':_0x3c79a7[_0x54917a(0x2c2)][_0x54917a(0x2a1)]}),_0x1af896=_0x504984[_0x54917a(0x21d)],_0x4ff671=_0x3c79a7[_0x54917a(0x21d)];}this[_0x54917a(0x1d5)][_0x54917a(0x224)](_0x56c0a4,{'history':_0x39a35a,'collaboration':_0x363d7a});}};_0x1e6c32=_0x1f3d22([_0x5194b3(0x0,_0x2590ea[_0x484f0e(0x215)](_0x2590ea[_0x484f0e(0x176)])),_0x5194b3(0x1,_0x4a4e6c[_0x484f0e(0x2ee)]),_0x5194b3(0x2,_0x2590ea['Inject'](_0xac86dc['DocStateChangeManagerService']))],_0x1e6c32);var _0x33d3d9=Object[_0x484f0e(0x302)],_0x3b0963=(_0x5ec6da,_0x290fd3,_0x58391d,_0x38ff1b)=>{const _0x3bd73f=_0x484f0e;for(var _0x5b8d97=_0x38ff1b>0x1?void 0x0:_0x38ff1b?_0x33d3d9(_0x290fd3,_0x58391d):_0x290fd3,_0x1109d3=_0x5ec6da[_0x3bd73f(0x189)]-0x1,_0x2de17e;_0x1109d3>=0x0;_0x1109d3--)(_0x2de17e=_0x5ec6da[_0x1109d3])&&(_0x5b8d97=_0x2de17e(_0x5b8d97)||_0x5b8d97);return _0x5b8d97;},_0xc0c3af=(_0x5790b3,_0x4b905b)=>(_0xe158b7,_0x104dd5)=>_0x4b905b(_0xe158b7,_0x104dd5,_0x5790b3);let _0x1e539c=class{constructor(_0x57a537,_0x347ae4){const _0x205e2a=_0x484f0e;this['_injector']=_0x57a537,this[_0x205e2a(0x30d)]=_0x347ae4;}['transformSelections'](_0x50e112){const _0x190476=_0x484f0e;var _0x5b081d;const _0x19e47a=this[_0x190476(0x152)][_0x190476(0x333)](_0x364faa[_0x190476(0x203)]),_0x17f576=(_0x5b081d=_0x19e47a['getDocRanges']())!=null?_0x5b081d:[];if(_0x17f576[_0x190476(0x189)]===0x0)return;const _0x1f63f5=_0x50e112[_0x190476(0x243)],_0x156d59=[{'id':_0x190476(0x204),'params':{'unitId':_0x1f63f5,'actions':null,'textRanges':_0x17f576}}],_0x4b0ea8=this['_transformService'][_0x190476(0x339)](_0x50e112,_0x156d59);if(!_0x4a4e6c[_0x190476(0x162)](_0x4b0ea8))throw _0x4b0ea8[_0x190476(0x262)];const _0xb27847=_0x4b0ea8['m2Prime'][0x0][_0x190476(0x2a1)][_0x190476(0x1e3)];Array[_0x190476(0x198)](_0xb27847)&&_0xb27847[_0x190476(0x189)]&&_0x19e47a[_0x190476(0x21f)](_0xb27847,{'unitId':_0x1f63f5,'subUnitId':_0x1f63f5},!0x1);}};_0x1e539c=_0x3b0963([_0xc0c3af(0x0,_0x2590ea[_0x484f0e(0x215)](_0x2590ea[_0x484f0e(0x176)])),_0xc0c3af(0x1,_0x4a4e6c[_0x484f0e(0x2ee)])],_0x1e539c);var _0x3e7285=Object['getOwnPropertyDescriptor'],_0x3a93a4=(_0x1230f3,_0x5eda04,_0x34f9ab,_0x4b3602)=>{const _0x2a6835=_0x484f0e;for(var _0x529ba6=_0x4b3602>0x1?void 0x0:_0x4b3602?_0x3e7285(_0x5eda04,_0x34f9ab):_0x5eda04,_0x529c60=_0x1230f3[_0x2a6835(0x189)]-0x1,_0x309824;_0x529c60>=0x0;_0x529c60--)(_0x309824=_0x1230f3[_0x529c60])&&(_0x529ba6=_0x309824(_0x529ba6)||_0x529ba6);return _0x529ba6;},_0x18f744=(_0x437f44,_0x46eed3)=>(_0x295f8d,_0x3a86db)=>_0x46eed3(_0x295f8d,_0x3a86db,_0x437f44);let _0x582f7c=class extends _0x2590ea[_0x484f0e(0x1b7)]{constructor(_0x453355,_0x18281a,_0x3561d2,_0x151777,_0x54775e,_0x415850,_0x3ff3ff,_0x20fcd1){const _0xfdd901=_0x484f0e;super(),_0x1a821a(this,_0xfdd901(0x170),new _0x8dc742['BehaviorSubject'](_0x5d028d[_0xfdd901(0x36f)][_0xfdd901(0x2ec)])),(this[_0xfdd901(0x1d5)]=_0x453355,this[_0xfdd901(0x2c0)]=_0x18281a,this[_0xfdd901(0x173)]=_0x3561d2,this[_0xfdd901(0x195)]=_0x151777,this[_0xfdd901(0x15d)]=_0x54775e,this[_0xfdd901(0x296)]=_0x415850,this['_messageService']=_0x3ff3ff,this[_0xfdd901(0x36d)]=_0x20fcd1,this[_0xfdd901(0x1c8)]());}[_0x484f0e(0x1c8)](){const _0x3ff5c8=_0x484f0e;this[_0x3ff5c8(0x331)](this[_0x3ff5c8(0x2c0)][_0x3ff5c8(0x31b)][_0x3ff5c8(0x2fa)](_0x57c2ec=>{const _0x370261=_0x3ff5c8,_0x35f0b7=this[_0x370261(0x1d5)][_0x370261(0xe5)][_0x370261(0x2fa)](_0x483ec3=>{const _0x4bbd8a=_0x370261;if(_0x483ec3==null)return;const {unitId:_0x2971f9,redoState:_0x426e3f,commandId:_0x15e49b}=_0x483ec3;if(_0x2971f9!==_0x57c2ec[_0x4bbd8a(0x243)])return;const _0x538bca={'id':_0x15e49b,'type':_0x2590ea[_0x4bbd8a(0x163)][_0x4bbd8a(0x1fd)],'params':{'unitId':_0x2971f9,'actions':_0x426e3f[_0x4bbd8a(0x167)],'textRanges':null}};_0x57c2ec[_0x4bbd8a(0x294)](_0x538bca);});if(_0x57c2ec[_0x370261(0x331)](_0x35f0b7),_0x57c2ec instanceof _0x5d028d[_0x370261(0x155)]){const _0x1be583={'onTransformIME':_0x2d7456=>this['_docTransformIMECacheService']['transformIMECache'](_0x2d7456),'onTransformState':_0x20fbfa=>this[_0x370261(0x195)]['transformStateCache'](_0x20fbfa),'onTransformSelections':_0x2503e9=>this[_0x370261(0x15d)][_0x370261(0x1b8)](_0x2503e9),'onSyncEditingCollabCursor':_0x327aa9=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x327aa9),'onTransformRemoteChangesetByIMECache':_0x2373e5=>this[_0x370261(0x173)][_0x370261(0x366)](_0x2373e5),'onTransformRemoteChangesetByStateCache':_0xecb7cf=>this[_0x370261(0x195)][_0x370261(0x366)](_0xecb7cf)};_0x57c2ec[_0x370261(0x181)](_0x1be583);}}));}};_0x582f7c=_0x3a93a4([_0x18f744(0x0,_0x2590ea['Inject'](_0xac86dc[_0x484f0e(0x280)])),_0x18f744(0x1,_0x2590ea[_0x484f0e(0x215)](_0x5d028d[_0x484f0e(0x16c)])),_0x18f744(0x2,_0x2590ea[_0x484f0e(0x215)](_0x5e13ea)),_0x18f744(0x3,_0x2590ea[_0x484f0e(0x215)](_0x1e6c32)),_0x18f744(0x4,_0x2590ea['Inject'](_0x1e539c)),_0x18f744(0x5,_0x2590ea[_0x484f0e(0x215)](_0x1da6ae)),_0x18f744(0x6,_0x2405df['IMessageService']),_0x18f744(0x7,_0x2590ea['Inject'](_0x2590ea[_0x484f0e(0x276)]))],_0x582f7c);var _0x4c8b75=Object[_0x484f0e(0x302)],_0x34bf75=(_0xc99b38,_0x2cfe59,_0x2c789f,_0x4d819d)=>{for(var _0x255721=_0x4d819d>0x1?void 0x0:_0x4d819d?_0x4c8b75(_0x2cfe59,_0x2c789f):_0x2cfe59,_0x34934d=_0xc99b38['length']-0x1,_0x1909ff;_0x34934d>=0x0;_0x34934d--)(_0x1909ff=_0xc99b38[_0x34934d])&&(_0x255721=_0x1909ff(_0x255721)||_0x255721);return _0x255721;},_0x2679a2=(_0x4f869a,_0x1ce9eb)=>(_0x392c10,_0x43c773)=>_0x1ce9eb(_0x392c10,_0x43c773,_0x4f869a);let _0x9b46b5=class extends _0x2590ea[_0x484f0e(0x1b7)]{constructor(_0x2cb31e,_0x4f3a08,_0x3644c9){const _0x1ec8e5=_0x484f0e;super(),_0x1a821a(this,_0x1ec8e5(0x2b2),new Map()),_0x1a821a(this,_0x1ec8e5(0x2a9),new Map()),_0x1a821a(this,_0x1ec8e5(0x2e3),!0x1),(this[_0x1ec8e5(0xed)]=_0x2cb31e,this['_localStorageService']=_0x4f3a08,this[_0x1ec8e5(0x31d)]=_0x3644c9);}[_0x484f0e(0x24a)](){const _0x429a03=_0x484f0e;this[_0x429a03(0x2e3)]=!0x0;}[_0x484f0e(0x1c7)](){const _0x1fbbbc=_0x484f0e;this[_0x1fbbbc(0x2e3)]=!0x1;}get[_0x484f0e(0x1ec)](){const _0x5d7cb3=_0x484f0e;return this[_0x5d7cb3(0x2a9)];}[_0x484f0e(0x29a)](){const _0x4dd5f4=_0x484f0e;this[_0x4dd5f4(0x2d8)]()[_0x4dd5f4(0x120)](()=>super[_0x4dd5f4(0x29a)]());}async[_0x484f0e(0x228)](_0x2db5be){const _0x299215=_0x484f0e;return this[_0x299215(0x2e3)]?null:this[_0x299215(0xfe)][_0x299215(0x168)](_0x5d028d[_0x299215(0x2c7)](_0x2db5be));}async[_0x484f0e(0x357)](_0x474866,_0x3ca3d3){const _0x56f7b9=_0x484f0e;return!!this[_0x56f7b9(0xfe)][_0x56f7b9(0x36c)](_0x474866,_0x3ca3d3);}[_0x484f0e(0x283)](_0x9aec2e,_0x597588,_0x277ac5,_0x223bd2){const _0x11dd39=_0x484f0e,_0xe66a64=this[_0x11dd39(0x31d)][_0x11dd39(0x349)](_0x9aec2e);this[_0x11dd39(0x2b2)]['set'](_0x9aec2e,{'unitID':_0x9aec2e,'type':_0x597588,'awaitingChangeset':_0x277ac5,'mutations':_0x223bd2,'rev':_0xe66a64}),this[_0x11dd39(0x2a9)]['has'](_0x9aec2e)||this[_0x11dd39(0x28e)](_0x9aec2e);}['_scheduleSaving'](_0x1f7fc4){const _0xa92c49=_0x484f0e,_0x51106b=this[_0xa92c49(0x258)]();_0x51106b===0x0?this['_saveCache'](_0x1f7fc4):this['_saveTaskMap'][_0xa92c49(0x1c5)](_0x1f7fc4,setTimeout(()=>this[_0xa92c49(0x323)](_0x1f7fc4),_0x51106b));}[_0x484f0e(0x258)](){const _0x2066cd=_0x484f0e;var _0x10a71e;return(_0x10a71e=this[_0x2066cd(0xed)][_0x2066cd(0x1cb)](_0x5d028d[_0x2066cd(0x171)]))!=null?_0x10a71e:_0x5d028d[_0x2066cd(0x14b)];}[_0x484f0e(0x323)](_0x57f7eb){const _0x58ce29=_0x484f0e,_0x3be32f=this['_saveTaskMap'][_0x58ce29(0x333)](_0x57f7eb);return _0x3be32f!==void 0x0&&window[_0x58ce29(0x2b5)](_0x3be32f),this['_localStorageService'][_0x58ce29(0x36c)](_0x5d028d[_0x58ce29(0x2c7)](_0x57f7eb),this[_0x58ce29(0x2b2)][_0x58ce29(0x333)](_0x57f7eb))[_0x58ce29(0x120)](()=>this[_0x58ce29(0x2a9)]['delete'](_0x57f7eb));}async['exhaustSavingTask'](){const _0x362fde=_0x484f0e,_0x3f4448=[];this['_saveTaskMap'][_0x362fde(0x10f)]((_0x5e6a8d,_0x504a4a)=>{const _0x408de1=_0x362fde;window['clearTimeout'](_0x5e6a8d),_0x3f4448['push'](this[_0x408de1(0x323)](_0x504a4a)[_0x408de1(0x120)](()=>{const _0x3cc8ce=_0x408de1;this[_0x3cc8ce(0x2a9)][_0x3cc8ce(0x298)](_0x504a4a);}));}),await Promise[_0x362fde(0xd4)](_0x3f4448);}};_0x9b46b5=_0x34bf75([_0x2679a2(0x0,_0x2590ea[_0x484f0e(0x145)]),_0x2679a2(0x1,_0x2590ea[_0x484f0e(0x2bf)]),_0x2679a2(0x2,_0x2590ea[_0x484f0e(0x215)](_0x4a4e6c[_0x484f0e(0x1f7)]))],_0x9b46b5);class _0x3cb12a extends _0x2590ea[_0x484f0e(0x326)]{constructor(){const _0x29620e=_0x484f0e;super(),_0x1a821a(this,'urlChange$'),this[_0x29620e(0x1ae)]=_0x8dc742[_0x29620e(0x1d0)](window,_0x29620e(0x235))[_0x29620e(0x2e1)](_0x8dc742[_0x29620e(0x2fd)](this['dispose$']),_0x8dc742['shareReplay'](0x1),_0x8dc742[_0x29620e(0x1b6)](void 0x0));}[_0x484f0e(0x35d)](_0x4da1f2,_0x43232d,_0x311dcb=!0x1){const _0x45eb33=_0x484f0e,_0x963a8d=new URL(window[_0x45eb33(0x308)]['href']);_0x963a8d[_0x45eb33(0xe3)]['set'](_0x4da1f2,_0x43232d),_0x311dcb?window[_0x45eb33(0x184)][_0x45eb33(0xff)]('','',_0x963a8d[_0x45eb33(0x122)]()):window[_0x45eb33(0x184)][_0x45eb33(0x310)]('','',_0x963a8d[_0x45eb33(0x122)]());}['removeParam'](_0x1a6fba,_0x5ac659=!0x1){const _0x6a4819=_0x484f0e,_0x58729a=new URL(window[_0x6a4819(0x308)][_0x6a4819(0x220)]);_0x58729a[_0x6a4819(0xe3)]['delete'](_0x1a6fba),_0x5ac659?window[_0x6a4819(0x184)][_0x6a4819(0xff)]('','',_0x58729a['toString']()):window[_0x6a4819(0x184)]['pushState']('','',_0x58729a[_0x6a4819(0x122)]());}['getParam'](_0x326040){const _0x3d7f7e=_0x484f0e;var _0x4f58fd;return(_0x4f58fd=new URL(window[_0x3d7f7e(0x308)][_0x3d7f7e(0x220)])[_0x3d7f7e(0xe3)][_0x3d7f7e(0x333)](_0x326040))!=null?_0x4f58fd:void 0x0;}}var _0x2daa08=Object[_0x484f0e(0x110)],_0x378764=Object[_0x484f0e(0x302)],_0x3a5466=(_0x521d48,_0xc6803f,_0x40bf33)=>_0xc6803f in _0x521d48?_0x2daa08(_0x521d48,_0xc6803f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x40bf33}):_0x521d48[_0xc6803f]=_0x40bf33,_0x572f73=(_0x5c001a,_0x5615ac,_0x4097a4,_0x2d97e4)=>{const _0x2cc0ec=_0x484f0e;for(var _0x19fc4f=_0x2d97e4>0x1?void 0x0:_0x2d97e4?_0x378764(_0x5615ac,_0x4097a4):_0x5615ac,_0x43c792=_0x5c001a[_0x2cc0ec(0x189)]-0x1,_0x29c8ce;_0x43c792>=0x0;_0x43c792--)(_0x29c8ce=_0x5c001a[_0x43c792])&&(_0x19fc4f=_0x29c8ce(_0x19fc4f)||_0x19fc4f);return _0x19fc4f;},_0x5978e8=(_0x2ca201,_0x1ba449)=>(_0x1eb67a,_0x399fbb)=>_0x1ba449(_0x1eb67a,_0x399fbb,_0x2ca201),_0xc5ea4b=(_0x44919e,_0x2492c7,_0x2f888a)=>_0x3a5466(_0x44919e,_0x2492c7+'',_0x2f888a);const _0x356853=_0x484f0e(0x1a0);_0x18ce8a[_0x484f0e(0x26d)]=class extends _0x2590ea['Plugin']{constructor(_0x35d7dd=_0x18c12b,_0x5f535d,_0x2357dd,_0x4f2911){const _0x41530b=_0x484f0e;super(),this[_0x41530b(0x14f)]=_0x35d7dd,this[_0x41530b(0x240)]=_0x5f535d,this[_0x41530b(0x152)]=_0x2357dd,this['_configService']=_0x4f2911;const {..._0x42399d}=_0x2590ea[_0x41530b(0x246)]({},_0x18c12b,this[_0x41530b(0x14f)]);this[_0x41530b(0xed)][_0x41530b(0x11a)](_0xba79a6,_0x42399d);}[_0x484f0e(0xd3)](){const _0xe01363=_0x484f0e;this[_0xe01363(0x347)](),this[_0xe01363(0xef)]();}[_0x484f0e(0x251)](){const _0x238833=_0x484f0e;this[_0x238833(0x2f3)]();}[_0x484f0e(0x347)](){const _0x1f1fa4=_0x484f0e;var _0x34e521;const _0x3d4252=[[_0x146618],[_0x1e539c],[_0x5e13ea],[_0x1e6c32],[_0x1da6ae],[_0x180330,{'useClass':_0x3cb12a}],[_0x117399[_0x1f1fa4(0x268)],{'useClass':_0x117399[_0x1f1fa4(0x377)]}],[_0x5d028d[_0x1f1fa4(0x133)],{'useClass':_0x9b46b5}],[_0x18ce8a[_0x1f1fa4(0x2ab)]],[_0x582f7c],[_0x1770a3],[_0x14233d],[_0x184fa7],[_0x18ce8a['CollaborationDataLoaderController']]];_0x2590ea[_0x1f1fa4(0x20c)](this[_0x1f1fa4(0x152)],_0x2590ea[_0x1f1fa4(0x12f)](_0x3d4252,(_0x34e521=this[_0x1f1fa4(0x14f)])==null?void 0x0:_0x34e521[_0x1f1fa4(0x1f0)]));}[_0x484f0e(0x2f3)](){const _0x54255c=_0x484f0e;this[_0x54255c(0x331)](this[_0x54255c(0x240)]['registerRenderModule'](_0x2590ea[_0x54255c(0x266)]['UNIVER_DOC'],[_0x55a93a])),this[_0x54255c(0x331)](this[_0x54255c(0x240)][_0x54255c(0x188)](_0x2590ea[_0x54255c(0x266)][_0x54255c(0x2ed)],[_0x5e9e3c]));}['_initDependencies'](){const _0x5a0983=_0x484f0e;_0x2590ea[_0x5a0983(0x21c)](this[_0x5a0983(0x152)],[[_0x14233d],[_0x18ce8a['DesktopCollaborationStatusDisplayController']],[_0x582f7c],[_0x1770a3],[_0x18ce8a[_0x5a0983(0x147)]]]);}},_0xc5ea4b(_0x18ce8a[_0x484f0e(0x26d)],_0x484f0e(0x13e),_0x356853),_0x18ce8a[_0x484f0e(0x26d)]=_0x572f73([_0x2590ea[_0x484f0e(0x269)](_0x5d028d[_0x484f0e(0x209)]),_0x5978e8(0x1,_0x5364ea[_0x484f0e(0x36b)]),_0x5978e8(0x2,_0x2590ea[_0x484f0e(0x215)](_0x2590ea['Injector'])),_0x5978e8(0x3,_0x2590ea[_0x484f0e(0x145)])],_0x18ce8a[_0x484f0e(0x26d)]);var _0x3e9003=Object['getOwnPropertyDescriptor'],_0x4d3a57=(_0x264d77,_0x385879,_0x31cbf3,_0x3a4f1b)=>{for(var _0x502dc8=_0x3a4f1b>0x1?void 0x0:_0x3a4f1b?_0x3e9003(_0x385879,_0x31cbf3):_0x385879,_0x3453bf=_0x264d77['length']-0x1,_0x551cd1;_0x3453bf>=0x0;_0x3453bf--)(_0x551cd1=_0x264d77[_0x3453bf])&&(_0x502dc8=_0x551cd1(_0x502dc8)||_0x502dc8);return _0x502dc8;},_0x25597b=(_0x496112,_0x3f7744)=>(_0x181202,_0x4c950d)=>_0x3f7744(_0x181202,_0x4c950d,_0x496112);_0x18ce8a[_0x484f0e(0xd2)]=class extends _0x5d028d[_0x484f0e(0x1e0)]{constructor(_0x2f6d07,_0x320af1,_0x3aa204,_0x3f6362,_0x42c1c9){super(_0x2f6d07,_0x320af1,_0x3aa204,_0x3f6362,_0x42c1c9);}async[_0x484f0e(0xf8)](_0x44fa1d){const _0x184279=_0x484f0e,_0x1afc67=await this['_getSessionTicket'](),_0x3de009=this[_0x184279(0x1a6)](_0x44fa1d,_0x1afc67);return this['_doCreateSocket'](_0x3de009);}[_0x484f0e(0x1a6)](_0x5c5628,_0x289d31){const _0x507f16=_0x484f0e,_0x1b6a14=typeof window>'u'?new URL(_0x5c5628):new URL(_0x5c5628,window[_0x507f16(0x308)][_0x507f16(0x272)]);_0x1b6a14['searchParams'][_0x507f16(0x1c5)](_0x507f16(0x1bb),_0x289d31);const _0xc88745=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x507f16(0x308)]['search']);return _0xc88745[_0x507f16(0x333)](_0x507f16(0x37a))&&_0x1b6a14['searchParams'][_0x507f16(0x1c5)](_0x507f16(0x37a),_0xc88745[_0x507f16(0x333)](_0x507f16(0x37a))),_0x1b6a14[_0x507f16(0x122)]();}async['_getSessionTicket'](){const _0x5e5d5f=_0x484f0e;var _0x24a16b,_0x47a63a,_0xfdbe4e;const _0x16f6c6=this[_0x5e5d5f(0xed)][_0x5e5d5f(0x1cb)](_0x5d028d[_0x5e5d5f(0x22c)]),_0x374c1a=(_0x24a16b=_0x16f6c6==null?void 0x0:_0x16f6c6[_0x5e5d5f(0x2d6)])!=null?_0x24a16b:_0x5d028d[_0x5e5d5f(0x210)];return(_0xfdbe4e=(_0x47a63a=(await this[_0x5e5d5f(0x102)]['get'](_0x374c1a,{'headers':{'Content-Type':_0x5e5d5f(0x13b)}}))[_0x5e5d5f(0x15b)])==null?void 0x0:_0x47a63a['ticket'])!=null?_0xfdbe4e:'';}},_0x18ce8a['BrowserCollaborationSocketService']=_0x4d3a57([_0x25597b(0x0,_0x2590ea[_0x484f0e(0x215)](_0x2590ea[_0x484f0e(0x176)])),_0x25597b(0x1,_0x2590ea[_0x484f0e(0x215)](_0x117399['HTTPService'])),_0x25597b(0x2,_0x2590ea[_0x484f0e(0x145)]),_0x25597b(0x3,_0x2590ea[_0x484f0e(0x1c2)]),_0x25597b(0x4,_0x4a4e6c[_0x484f0e(0x17a)])],_0x18ce8a[_0x484f0e(0xd2)]);const _0x4d1a6d=0x7530,_0x4acc12=_0x484f0e(0x34c);class _0x132a57 extends _0x2590ea[_0x484f0e(0x1b7)]{constructor(){const _0x22bbe4=_0x484f0e;super(),_0x1a821a(this,_0x22bbe4(0x2dc),_0x2590ea['generateRandomId']()),_0x1a821a(this,_0x22bbe4(0xe7),new Set()),_0x1a821a(this,_0x22bbe4(0x1d2),new Map()),_0x1a821a(this,_0x22bbe4(0x319),null),_0x1a821a(this,_0x22bbe4(0x1a4),new Map()),_0x1a821a(this,'_unitStatus',new Map()),this[_0x22bbe4(0x2be)]();}[_0x484f0e(0x29a)](){const _0x1512ed=_0x484f0e;super[_0x1512ed(0x29a)](),this[_0x1512ed(0x1a4)][_0x1512ed(0x10f)]((_0x5e1500,_0x59b87c)=>this[_0x1512ed(0x2c5)](_0x59b87c)),this['_heartbeatTimer']&&window[_0x1512ed(0x2a2)](this[_0x1512ed(0x319)]);}[_0x484f0e(0x312)](_0x3ddf45){const _0x3d7b72=_0x484f0e;return this[_0x3d7b72(0x105)](_0x3ddf45)[_0x3d7b72(0x2e1)](_0x8dc742[_0x3d7b72(0x32b)]());}['editingUnit'](_0x1f8a60){const _0x1647ac=_0x484f0e;this[_0x1647ac(0xe7)][_0x1647ac(0x118)]===0x0&&this['_scheduleHeartbeat'](),this[_0x1647ac(0xe7)][_0x1647ac(0x142)](_0x1f8a60),this[_0x1647ac(0x183)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1f8a60],'isForwarded':!0x1});}['disposeUnit'](_0xea19bf){const _0x581a25=_0x484f0e;this[_0x581a25(0xe7)][_0x581a25(0x298)](_0xea19bf),this[_0x581a25(0xe7)]['size']===0x0&&this[_0x581a25(0x319)]&&window[_0x581a25(0x2a2)](this[_0x581a25(0x319)]);}[_0x484f0e(0x2be)](){const _0x50369e=_0x484f0e;this[_0x50369e(0x331)](_0x2590ea[_0x50369e(0x19c)](_0x8dc742[_0x50369e(0x1d0)](window,_0x50369e(0x199))[_0x50369e(0x2fa)](_0x4e961d=>{const _0x20307c=_0x50369e;if(_0x4e961d['key']!==_0x4acc12||!_0x4e961d[_0x20307c(0x2b4)])return;const _0x1ef917=JSON[_0x20307c(0x1b3)](_0x4e961d['newValue']);this[_0x20307c(0x18b)](_0x1ef917);}))),window['addEventListener'](_0x50369e(0x1a1),()=>this[_0x50369e(0x183)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x50369e(0x1d6)](this[_0x50369e(0xe7)])}));}[_0x484f0e(0x18b)](_0x604455){const _0x5902b8=_0x484f0e;switch(_0x604455[_0x5902b8(0x154)]){case 0x0:this[_0x5902b8(0x343)](_0x604455);break;case 0x1:this[_0x5902b8(0x375)](_0x604455);break;case 0x2:this[_0x5902b8(0x2a4)](_0x604455);break;}}['_handleJoinEvent'](_0x311cc4){const _0x1da94a=_0x484f0e,{unitIDs:_0x297ad4,memberID:_0x4ec496,isForwarded:_0x290e9f}=_0x311cc4;_0x297ad4['forEach'](_0x4ef7ae=>{const _0x4c950a=_0x4e65;if(!_0x290e9f&&this[_0x4c950a(0x1d2)][_0x4c950a(0x10d)](_0x4ef7ae)&&this['_ensureSubject'](_0x4ef7ae)['next'](_0x5d028d[_0x4c950a(0x25e)][_0x4c950a(0x325)]),!this[_0x4c950a(0x1d2)][_0x4c950a(0x10d)](_0x4ef7ae)||!this[_0x4c950a(0x1d2)][_0x4c950a(0x333)](_0x4ef7ae)[_0x4c950a(0x10d)](_0x4ec496)){const _0x87518c=this['_unitOnClients'][_0x4c950a(0x333)](_0x4ef7ae)||new Set();_0x87518c[_0x4c950a(0x142)](_0x4ec496),this[_0x4c950a(0x1d2)][_0x4c950a(0x1c5)](_0x4ef7ae,_0x87518c),this[_0x4c950a(0x25c)](_0x4ec496);}}),_0x290e9f||this[_0x1da94a(0x183)]({'type':0x0,'memberID':this[_0x1da94a(0x2dc)],'unitIDs':[...this[_0x1da94a(0xe7)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x374791){const _0x3778a7=_0x484f0e;this[_0x3778a7(0x2c5)](_0x374791);const _0x549756=window['setTimeout'](()=>{const _0x3b6c7b=_0x3778a7;this['_unitOnClients'][_0x3b6c7b(0x10f)](_0x1f2422=>{const _0x497c04=_0x3b6c7b;_0x1f2422[_0x497c04(0x298)](_0x374791);});},_0x4d1a6d*0x2);this[_0x3778a7(0x1a4)][_0x3778a7(0x1c5)](_0x374791,_0x549756);}[_0x484f0e(0x2c5)](_0x4cd447){const _0x4900c7=_0x484f0e;if(this[_0x4900c7(0x1a4)]['has'](_0x4cd447)){const _0x232b2b=this['_clearOtherTimers'][_0x4900c7(0x333)](_0x4cd447);_0x232b2b&&window[_0x4900c7(0x2b5)](_0x232b2b),this[_0x4900c7(0x1a4)]['set'](_0x4cd447,null);}}[_0x484f0e(0x375)](_0x43482b){const _0x593149=_0x484f0e,{memberID:_0x1da766,unitIDs:_0x82418e}=_0x43482b;_0x82418e[_0x593149(0x10f)](_0xcb0dba=>{const _0x3c5d11=_0x593149;var _0x18fe1a;const _0x3ed8d5=this[_0x3c5d11(0x1d2)]['get'](_0xcb0dba);_0x3ed8d5&&(_0x3ed8d5[_0x3c5d11(0x298)](_0x1da766),(_0x18fe1a=this[_0x3c5d11(0x105)](_0xcb0dba))==null||_0x18fe1a[_0x3c5d11(0x267)](_0x3ed8d5['size']===0x0?_0x5d028d[_0x3c5d11(0x25e)]['NO_OTHER_CLIENTS_EDITING']:_0x5d028d[_0x3c5d11(0x25e)][_0x3c5d11(0x325)]));}),this['_removeClearOtherTimer'](_0x1da766);}[_0x484f0e(0x2a4)](_0x1d6f2b){const _0xa3b342=_0x484f0e;this[_0xa3b342(0x25c)](_0x1d6f2b['memberID']);}[_0x484f0e(0x183)](_0x55322a){const _0x39b4de=_0x484f0e;localStorage[_0x39b4de(0x36c)](_0x4acc12,JSON[_0x39b4de(0x23d)](_0x55322a));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x39c8ca=_0x4e65;this[_0x39c8ca(0x183)]({'type':0x2,'memberID':this[_0x39c8ca(0x2dc)]});},_0x4d1a6d);}[_0x484f0e(0x105)](_0x11fe2f){const _0x1f2d63=_0x484f0e;return this[_0x1f2d63(0x23e)][_0x1f2d63(0x10d)](_0x11fe2f)||this[_0x1f2d63(0x23e)][_0x1f2d63(0x1c5)](_0x11fe2f,new _0x8dc742[(_0x1f2d63(0x22a))](_0x5d028d[_0x1f2d63(0x25e)][_0x1f2d63(0x1fe)])),this[_0x1f2d63(0x23e)][_0x1f2d63(0x333)](_0x11fe2f);}}var _0x1e90e6=(_0x2f48bb=>(_0x2f48bb[_0x2f48bb[_0x484f0e(0x1e7)]=0x0]=_0x484f0e(0x1e7),_0x2f48bb[_0x2f48bb['OK']=0x1]='OK',_0x2f48bb[_0x2f48bb[_0x484f0e(0x341)]=0x2]='INTERNAL_ERROR',_0x2f48bb[_0x2f48bb[_0x484f0e(0x261)]=0x3]=_0x484f0e(0x261),_0x2f48bb[_0x2f48bb[_0x484f0e(0x2bd)]=0x4]=_0x484f0e(0x2bd),_0x2f48bb[_0x2f48bb['UNAUTHENTICATED']=0x5]=_0x484f0e(0xe0),_0x2f48bb[_0x2f48bb[_0x484f0e(0x29c)]=0x6]='ALREADY_EXISTS',_0x2f48bb[_0x2f48bb[_0x484f0e(0x1da)]=0x7]=_0x484f0e(0x1da),_0x2f48bb[_0x2f48bb[_0x484f0e(0xec)]=0x8]='TOO_MANY_REQUESTS',_0x2f48bb[_0x2f48bb[_0x484f0e(0x242)]=0x9]=_0x484f0e(0x242),_0x2f48bb[_0x2f48bb[_0x484f0e(0xe6)]=0xa]=_0x484f0e(0xe6),_0x2f48bb[_0x2f48bb[_0x484f0e(0x2c3)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2f48bb[_0x2f48bb[_0x484f0e(0x2d7)]=0x1771]=_0x484f0e(0x2d7),_0x2f48bb[_0x2f48bb['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x484f0e(0x2a7),_0x2f48bb[_0x2f48bb[_0x484f0e(0x24f)]=0x1773]=_0x484f0e(0x24f),_0x2f48bb[_0x2f48bb[_0x484f0e(0x26c)]=0x1b59]=_0x484f0e(0x26c),_0x2f48bb[_0x2f48bb[_0x484f0e(0x34a)]=0x1b5a]=_0x484f0e(0x34a),_0x2f48bb[_0x2f48bb[_0x484f0e(0x126)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2f48bb[_0x2f48bb[_0x484f0e(0x149)]=0x1b5c]=_0x484f0e(0x149),_0x2f48bb[_0x2f48bb['APPLY_DUPLICATED']=0x1b5d]=_0x484f0e(0xf6),_0x2f48bb[_0x2f48bb[_0x484f0e(0x2d1)]=0x1f41]=_0x484f0e(0x2d1),_0x2f48bb[_0x2f48bb['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x484f0e(0x22b),_0x2f48bb[_0x2f48bb[_0x484f0e(0x169)]=0x232a]=_0x484f0e(0x169),_0x2f48bb[_0x2f48bb[_0x484f0e(0x14d)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2f48bb[_0x2f48bb[_0x484f0e(0x2bc)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2f48bb[_0x2f48bb[_0x484f0e(0x15f)]=0x232d]=_0x484f0e(0x15f),_0x2f48bb[_0x2f48bb[_0x484f0e(0x299)]=0x2711]=_0x484f0e(0x299),_0x2f48bb[_0x2f48bb[_0x484f0e(0x194)]=0x2712]=_0x484f0e(0x194),_0x2f48bb[_0x2f48bb[_0x484f0e(0x334)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2f48bb[_0x2f48bb[_0x484f0e(0x2ef)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2f48bb[_0x2f48bb[_0x484f0e(0x317)]=0x271a]=_0x484f0e(0x317),_0x2f48bb[_0x2f48bb[_0x484f0e(0x2a0)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2f48bb[_0x2f48bb[_0x484f0e(0x1f4)]=0x271c]=_0x484f0e(0x1f4),_0x2f48bb[_0x2f48bb['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x484f0e(0x187),_0x2f48bb[_0x2f48bb['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x484f0e(0x346),_0x2f48bb[_0x2f48bb[_0x484f0e(0x19d)]=0x271f]=_0x484f0e(0x19d),_0x2f48bb[_0x2f48bb[_0x484f0e(0xdf)]=0x2af9]=_0x484f0e(0xdf),_0x2f48bb[_0x2f48bb[_0x484f0e(0x156)]=0x2ee1]=_0x484f0e(0x156),_0x2f48bb[_0x2f48bb['INVALID_INVITE_CODE']=0x2ee2]=_0x484f0e(0x329),_0x2f48bb[_0x2f48bb['INVITE_CODE_REQUIRED']=0x2ee3]=_0x484f0e(0x138),_0x2f48bb[_0x2f48bb[_0x484f0e(0x1ba)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2f48bb[_0x2f48bb[_0x484f0e(0x361)]=0x2ee5]=_0x484f0e(0x361),_0x2f48bb[_0x2f48bb[_0x484f0e(0x259)]=0x32c9]=_0x484f0e(0x259),_0x2f48bb[_0x2f48bb[_0x484f0e(0x2cd)]=0x32ca]=_0x484f0e(0x2cd),_0x2f48bb[_0x2f48bb[_0x484f0e(0x1a7)]=0x32cb]=_0x484f0e(0x1a7),_0x2f48bb[_0x2f48bb[_0x484f0e(0x208)]=-0x1]=_0x484f0e(0x208),_0x2f48bb))(_0x1e90e6||{}),_0x4b8a00=Object[_0x484f0e(0x302)],_0x117e5f=(_0x39717d,_0x39d21a,_0x14c68b,_0x2f38c4)=>{for(var _0x2d2e1a=_0x2f38c4>0x1?void 0x0:_0x2f38c4?_0x4b8a00(_0x39d21a,_0x14c68b):_0x39d21a,_0x4e9ec1=_0x39717d['length']-0x1,_0x78715a;_0x4e9ec1>=0x0;_0x4e9ec1--)(_0x78715a=_0x39717d[_0x4e9ec1])&&(_0x2d2e1a=_0x78715a(_0x2d2e1a)||_0x2d2e1a);return _0x2d2e1a;},_0x519ae3=(_0x523540,_0x1bd3bb)=>(_0x3d7a0d,_0x3706d9)=>_0x1bd3bb(_0x3d7a0d,_0x3706d9,_0x523540);_0x18ce8a['RemoteUniscriptService']=class extends _0x2590ea[_0x484f0e(0x1b7)]{constructor(_0x8f58c,_0x4af20f,_0x5532e9){const _0x531dce=_0x484f0e;super(),this[_0x531dce(0x2f1)]=_0x8f58c,this[_0x531dce(0x102)]=_0x4af20f,this[_0x531dce(0xed)]=_0x5532e9;}async[_0x484f0e(0x1f6)](_0x3dc681,_0x155e7f,_0xbd91cb,..._0x45f4a0){const _0x4d099f=_0x484f0e;var _0x4d1407,_0x381e74,_0x55f75f,_0x10c967;const _0x1b4ee1=this[_0x4d099f(0x2f1)]['getFocusedUnit']();if(!_0x1b4ee1)throw new Error(_0x4d099f(0x20b));const _0x267f95=((_0x4d1407=this[_0x4d099f(0xed)][_0x4d099f(0x1cb)](_0x5d028d[_0x4d099f(0x345)]))!=null?_0x4d1407:_0x5d028d[_0x4d099f(0x33b)])+'/'+_0x3dc681+'/run/'+_0x155e7f,_0x4b6d94=new URL(window[_0x4d099f(0x308)][_0x4d099f(0x220)]),_0x1c7b2b={'scriptId':_0x3dc681,'runId':(_0x381e74=_0x4b6d94[_0x4d099f(0xe3)][_0x4d099f(0x333)](_0x4d099f(0x37a)))!=null?_0x381e74:'','function':_0x155e7f,'unitId':_0x1b4ee1[_0x4d099f(0x25f)](),'argsOfFunction':JSON[_0x4d099f(0x23d)](_0x45f4a0),'invokeId':(_0x55f75f=_0xbd91cb[_0x4d099f(0x106)])!=null?_0x55f75f:'','executionId':(_0x10c967=_0xbd91cb['executionId'])!=null?_0x10c967:''};try{const _0x14ac88=await this['_httpService'][_0x4d099f(0x32d)](_0x267f95,{'body':_0x1c7b2b});return _0x14ac88[_0x4d099f(0x15b)][_0x4d099f(0x262)]&&_0x14ac88[_0x4d099f(0x15b)][_0x4d099f(0x262)]['code']!==_0x1e90e6['OK']?_0x4d099f(0x14a):_0x14ac88['body'][_0x4d099f(0x1a5)];}catch{return _0x4d099f(0x14a);}}},_0x18ce8a[_0x484f0e(0x22e)]=_0x117e5f([_0x519ae3(0x0,_0x2590ea[_0x484f0e(0x28a)]),_0x519ae3(0x1,_0x2590ea['Inject'](_0x117399[_0x484f0e(0x231)])),_0x519ae3(0x2,_0x2590ea[_0x484f0e(0x145)])],_0x18ce8a[_0x484f0e(0x22e)]),_0x18ce8a[_0x484f0e(0x17f)]=_0x476984,_0x18ce8a[_0x484f0e(0x1f2)]=_0x180330,_0x18ce8a[_0x484f0e(0x260)]=_0x4f6677,_0x18ce8a['WebBrowserSingleActiveUnitService']=_0x132a57,_0x18ce8a[_0x484f0e(0xf0)]=_0x3cb12a,Object['defineProperty'](_0x18ce8a,Symbol[_0x484f0e(0x1c9)],{'value':_0x484f0e(0x1cc)});}));
1
+ function _0x1924(_0x40b293,_0x37779a){const _0x5b14e3=_0x5b14();return _0x1924=function(_0x192453,_0x17fc4b){_0x192453=_0x192453-0x1a9;let _0x5cce4d=_0x5b14e3[_0x192453];return _0x5cce4d;},_0x1924(_0x40b293,_0x37779a);}function _0x5b14(){const _0x2661f8=['SHEET_VIEWPORT_KEY','isTransformMutationsWithChangesetSuccess','isTransformMutationFailure','_saveTaskMap','getCollabCursors$','rxjs','icon','_labelPosition','_transformUndoRedoStack','IRenderManagerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','touchDependencies','_messageService','svg','fromEventSubject','fillStyle','_initEvent','onCommandExecuted','DocSelectionManagerService','getActiveRange','endColumn','_removeCollabCursors','NOT_COLLAB','EMAIL_HAS_BEEN_BOUND','row','loadUnit','reconnect','INVITE_CODE_REQUIRED','TEXT','_getAnchorBounding','transform','delete','APPLY_REJECT','setItem','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IUniverInstanceService','getActiveSheet','mapTo','UnitStatus','red300','2cJfUYw','transformIMECache','UniverInstanceType','sheetID','OffLineSingle','requireSession','getParam','find','subunit','_clearOtherTimers','YUUMI_RATE_OVER_LIMIT','round','IConfigService','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','transformMutationsWithChangeset','_cursorShapes','_roomMembers$','isActive','_scheduleHeartbeat','_textBubble','_setupSubUnitSync','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','drawWith','YUUMI_UNABLE_LOAD_URL','_initStatusListener','PERMISSION_DENIED','SYNCED','getCurrentSelections','@univerjs/engine-formula','@univerjs/docs','AWAITING_WITH_PENDING','Unknown\x20user','WebURLService','hovered','Workbook','registerComponent','entries','0\x200\x2016\x2016','_transformHistoryAndStateStack','_updateURLWithCurrentState','_selfUnitIDs','IBeforeCloseService','Warning','_onRefRangeChange','map','InsertRangeMoveRightCommandId','subscribeEvent','NodePositionConvertToCursor','collab-text-range-','UNDEFINED','FromArray','collabStatus.synced','then','asObservable','OTHER_CLIENT_EDITING','_name','_localeService','950137bazCLp','PY_RUNTIME_SCRIPT_ERROR','HEADER_MENU','getSheetId','COLORS','getValue','rxjs/operators','_status$','_getMergeRange','runId','EffectRefRangId','getUnitId','_init','_render','SNAPSHOT_INVALID_SNAPSHOT','1em','addClipboardHook','SetWorksheetActivateCommand','_getSaveTimeout','save','UniverSheetsUi','type','CollaborationEvent','_initDependencies','_memberService','ONLINE','4770hTrJrC','div','backgroundColor','_transformService','permission.title','subUnitId','getFocusedUnit','mergeOverrideWithDependencies','UniverRpc','none','call','deserializeRangeWithSheet','searchParams','@univerjs/sheets-ui','syncEditingCollabCursor','dispose$','hasOwnProperty','function','ILocalCacheService','getOwnPropertyDescriptor','setAlpha','addHandlerCallback','useObservable','_entities','SessionStatus','getCurrent','setShapeProps','setParam','UniverProCollaborationClient','_config','values','transformRemoteChangeset','getCoordByCell','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','@univerjs/core','stringify','ITransformService','apply','colorChannel1','path','subscribe','collaboration.single-unit.warning','_localStorageService','UniverEngineRender','unitId','getTypeOfUnitDisposed$','univer-flex\x20univer-items-center','assign','getRangePointData','complete','univer-text-red-500','MessageType','_scene','isEditing','_session','M0\x200H16V16H0z','_handleHover','USER_NOT_INVITED_CODE','on-line-single','collabStatus.offline','closePath','undoState','_online','_handleJoinEvent','@univerjs/engine-render','selections','isArray','_collaborationController','YUUMI_ASYNCIO_CANCELLED','_shapes','cursorInfo','gold400','collab-rect-range-','_unitOnClients','INTERNAL_ERROR','error','defineProperty','startRow','collabStatus.syncing','INVALID_INVITE_CODE','_drawRectRange','fill','handleInsertCol','assignAColorForMemberID','sheetId','push','currentColor','newValue','setTimeout','RegularPolygon','propertyIsEnumerable','debug','_anchor','_draw','IURLService','_hover','CollaborationUIEventId','takeUntil','add','_commandService','toString','pushState','min','_sheetSkeletonManagerService','IDocClipboardService','_notificationService','getUnitStatus$','_context','_setupBeforeClosingHandler','USERS_LEAVE','_collabCursorState$','session.connection-failed','Tools','jsx','url(#off-line-single_clip0_910_343)','YUUMI_URL_COL_OUT_OF_RANGE','attrs','startsWith','rgba(255,\x20255,\x20255,\x200.01)','Tooltip','_document','LOCAL_CACHE_INTERVAL_KEY','mutations','_disabled','override','DependentOn','ColorKit','_docTransformIMECacheService','uni.network.url-service','pluginName','_urlService','split','SheetCollabCursorShape','operators','INVITE_CODE_ALREADY_BOUND','enableLocalCache','YUUMI_SUBSCRIPTION_NOT_FOUND','_range','addObject','BrowserCollaborationSocketService','merge','UNRECOGNIZED','getCellPositionByOffset','handleIRemoveCol','random','_transformPreviousActiveRange','CollaborationStatus','string','SUBMIT_CHANGESET_TIMEOUT','_getSessionTicket','_syncEditingCollabCursorService','engine','setActiveRange','LICENSE_DISTRO_REJECTED','@univerjs/rpc','RefRangeService','UniverProCollaboration','SetDocZoomRatioOperation','DeleteRangeMoveUpCommandId','...','connectInjector','object','CONFLICT','unsubscribe','univerjs-icon\x20univerjs-icon-','_handleEvent','useCallback','saveTaskMap','getMemberID','HTTPService','symbol','getOffsetConfig','focused$','LocaleService','_registerRenderDependencies','collaboration.closeRoom','hide','DataLoaderService','registerBeforeClose','max','currentSkeleton$','moveTo','TEXT_RANGE_LAYER_INDEX','off-line-single_clip0_910_343','handleInsertRangeMoveDown','CHANGESET_REVISION_CONFILICT','contains','createElement','InsertColCommandId','JOIN_ROOM_FAILED','APPLY_NON_SEQUENTIAL_REVISION','_themeService','@univerjs/network','_startDocCollabCursor','storage','getMergeData','univer-flex\x20univer-mr-2\x20univer-text-[20px]','updateOfflineData','doc.mutation.rich-text-editing','url(#$1','idSuffix','lineTo','_scheduleClearOtherTimer','className','ICommandService','jiqing500','react','Rectangle','saveImage','DesktopCollaborationStatusDisplayController','RemoveColCommandId','_lastPointer','runRefRangeMutations','registerDependencies','APPLY_REVISION_CONFILICT','@univerjs-pro/collaboration','_hideTimer','disposeWithMe','handleDeleteRangeMoveUp','handleMoveRange','pipe','ISocketService','LICENSE_MAX_UNITS_EXCEEDED','labelPosition','transformMutation','collaboration-client.offline-data-not-saved','2463516XaPAsf','_entityInit$','OTHER_CLIENTS_EDITING','_updateSubUnitFromURLParams','makeDirty','_toggleOffline','roomMembers$','verdancy600','_heartbeatTimer','clearInterval','YUUMI_AI_RUN_FAILED','UniverDocs','forwardRef','getStateCache','from','SheetSkeletonManagerService','_httpService','_collabCursorController','getItem','onMouseMove','executeCommand','next','UniverNetwork','_uiPartsService','width','saveOfflineData','AWAITING','indexOf','history','unit','Inject','getDocRanges','_saveCache','UPDATE_CURSOR','LOGIN_FAILED','_id','prototype','7195592heoNSm','IImageIoService','replace','DisposableCollection','_createSocketURL','collabStatus.conflict','_send','Rect','redoState','getConfig','_logService','location','_colorIndex','getSheetBySheetId','5701178LnOikC','BehaviorSubject','#FFF','clipPath','loadOfflineData','onPointerLeave$','4255wnvlwd','fillText','status$','tag','UniverCollaborationClientPlugin','permission.content','on-line-single_clip0_910_349','FETCH_MISS','Injector','_registerDependencies','invokeId','_unitStatus','getCurrentRevOfUnit','_drawAnchor','handleInsertRangeMoveRight','skeleton','MOBILE_HAS_BEEN_BOUND','name','collabStatus.fetchMiss','docStateChange$','memberID','onPointerMove$','TOO_MANY_REQUESTS','_backgroundColor','off-line-single','_hovered','range','actions','switchMap','urlChange$','_configService','ISnapshotServerService','Shape','createSocket','init','/run/','DOC_RANGE_TYPE','getCollabEntity$','editingUnit','sessionStatus$','font','ThemeService','_scheduleSaving','_ensureSubject','top','_initStatusComponent','_docTransformStateCacheService','OFFLINE','_handleLeaveEvent','event$','SNAPSHOT_HAS_BEEN_REMOVED','@univerjs/drawing','show','length','createInstance','_toggleOnline','INotificationService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_assignedColors','useDependency','selection','YUUMI_NO_CUBOID_FOR_QUESTION','UNIVER_DOC','ranges','getOwnPropertySymbols','_removeClearOtherTimer','amd','_updateCollabCursors','getAncestorScale','m2Prime','Disposable','11060199JOcNaR','includes','registerRenderModule','getCurrentUnitForType','Error','m1Prime','_collabSessionService','mask','_localCacheService','UniverCollaborationClientUIPlugin','Optional','dispose','purple300','ILogService','unshift','endRow','CollaborationStatusDisplay','PENDING','evenodd','MemberService','_dataLoaderService','YUUMI_ALL_TABLES_IS_INVALID','replaceState','transformSelections','imageSourceType','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverUi','shareReplay','extend','_onCursorDelete','_initCommandExecutedListener','UniverDocsUi','_instanceService','setConfig','CollaborationUIEventService','_collaborationUIEventService','LICENSE_IMPORT_SIZE_EXCEEDED','NodePositionConvertToRectRange','INVITE_CODE_HAS_BEEN_UES','measureText','getMember','UniverSheets','color','ENSURE_SNAPSHOT_EXECUTION','defIds','currentTheme$','height','removeParam','black','react/jsx-runtime','deepClone','href','getLocalCacheKey','useRef','defs','UniverCore','@univerjs/docs-ui','debounceTime','handleDeleteRangeMoveLeft','CollaborationController','getSkeleton','_cursor','_cursors','debounce','UniverDrawing','size','INVALID_ARGUMENT','RxDisposable','_beforeCloseService','LICENSE_EXPORT_SIZE_EXCEEDED','Vector2','_docSkeletonManagerService','WECHAT_HAS_BEEN_BOUND','_initResize','column','unitID','source','ACTIVE_UNIT_EVENT_CHANNEL','flatMap','fillRule','runOnServer','_docSyncEditingCollabCursorService','RemoveRowCommandId','UNIVER_SHEET','_renderManagerService','RECT','_drawTextRange','ticket','_getScale','body','fromEvent','toDisposable','@univerjs/ui','handleIRemoveRow','translate(.97)','with','cursorInfo$','APPLY_DUPLICATED','126452UeKkUb','beginPath','LOCAL_CACHE_INTERVAL','jsxs','[CollaborationDataLoaderController]','_injector','OnLineSingle','handleInsertRow','onPointerEnter$','SheetsSelectionsService','result','code','_initEntityListener','displayName','get','has','serializeRangeWithSheet','CollaborationDataLoaderController','replaceDocRanges','NOT_FOUND','_eventUnsubscribe','bottom','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','set','restore','UNAUTHENTICATED','NO_OTHER_CLIENTS_EDITING','_docClipboardService','_cursorInfo$','UniverProCollaborationClientUi','text','key','collabCursorState$','COMPLETION_FINISHED','_onCursorUpdate','_startSheetCollabCursor','substring','onStarting','_color','_imageIoService','RemoteUniscriptService','getRenderById','filter','DocIMEInputManagerService','trim','xlink:href','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','concat','getColor','onTransformChange$','Failed','transformStateCache','data','forEach','_anchorDot','toRgbString','clearTimeout','IMessageService','_univerInstanceService','0\x200\x2017\x2016','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getVpScrollXYInfoByPosToVp','APPLY_PERMISSION_DENIED','@univerjs-pro/collaboration-client','current','getTypeOfUnitAdded$','_cachedData','DocStateChangeManagerService','_colorAssignService','params','findNodePositionByCharIndex','setInterval','DocCollaborationEntity','CONNECTOR_DATA_TOO_LARGE','roomMembers','CommandType','textRanges','_doCreateSocket','_handleHeartbeatEvent','children','generateRandomId','getUndoRedoMutationParamsCache','React','search','arc','@univerjs/design','_refRangeService','entityInit$','combineLatest','activeSheet$','_docStateChangeManagerService','_updateLocalCursor'];_0x5b14=function(){return _0x2661f8;};return _0x5b14();}(function(_0x38aeeb,_0x4e402a){const _0x5a3b44=_0x1924,_0x258f7b=_0x38aeeb();while(!![]){try{const _0x42643a=-parseInt(_0x5a3b44(0x394))/0x1*(parseInt(_0x5a3b44(0x35b))/0x2)+-parseInt(_0x5a3b44(0x1f4))/0x3+parseInt(_0x5a3b44(0x2d7))/0x4+-parseInt(_0x5a3b44(0x22d))/0x5*(parseInt(_0x5a3b44(0x3ae))/0x6)+parseInt(_0x5a3b44(0x227))/0x7+parseInt(_0x5a3b44(0x219))/0x8+parseInt(_0x5a3b44(0x275))/0x9;if(_0x42643a===_0x4e402a)break;else _0x258f7b['push'](_0x258f7b['shift']());}catch(_0x586c84){_0x258f7b['push'](_0x258f7b['shift']());}}}(_0x5b14,0x808ed),function(_0x5e19c1,_0x5c5582){const _0x35b0d2=_0x1924;typeof exports==_0x35b0d2(0x1b3)&&typeof module<'u'?_0x5c5582(exports,require(_0x35b0d2(0x316)),require('@univerjs/core'),require('@univerjs/engine-render'),require(_0x35b0d2(0x1d2)),require(_0x35b0d2(0x2ad)),require(_0x35b0d2(0x260)),require(_0x35b0d2(0x338)),require(_0x35b0d2(0x378)),require(_0x35b0d2(0x1e9)),require(_0x35b0d2(0x377)),require('@univerjs/sheets'),require(_0x35b0d2(0x39a)),require(_0x35b0d2(0x3bb)),require(_0x35b0d2(0x2a6)),require(_0x35b0d2(0x2d1)),require(_0x35b0d2(0x32c)),require(_0x35b0d2(0x1e0)),require(_0x35b0d2(0x1ac))):typeof define==_0x35b0d2(0x3bf)&&define[_0x35b0d2(0x270)]?define(['exports',_0x35b0d2(0x316),_0x35b0d2(0x3d0),_0x35b0d2(0x3ee),_0x35b0d2(0x1d2),'@univerjs/docs-ui',_0x35b0d2(0x260),_0x35b0d2(0x338),'@univerjs/docs',_0x35b0d2(0x1e9),_0x35b0d2(0x377),'@univerjs/sheets',_0x35b0d2(0x39a),_0x35b0d2(0x3bb),_0x35b0d2(0x2a6),_0x35b0d2(0x2d1),_0x35b0d2(0x32c),_0x35b0d2(0x1e0),_0x35b0d2(0x1ac)],_0x5c5582):(_0x5e19c1=typeof globalThis<'u'?globalThis:_0x5e19c1||self,_0x5c5582(_0x5e19c1[_0x35b0d2(0x2f4)]={},_0x5e19c1[_0x35b0d2(0x3ca)],_0x5e19c1[_0x35b0d2(0x2ac)],_0x5e19c1[_0x35b0d2(0x3d9)],_0x5e19c1[_0x35b0d2(0x20a)],_0x5e19c1[_0x35b0d2(0x294)],_0x5e19c1[_0x35b0d2(0x2b5)],_0x5e19c1[_0x35b0d2(0x338)],_0x5e19c1[_0x35b0d2(0x1ff)],_0x5e19c1[_0x35b0d2(0x1ae)],_0x5e19c1['UniverEngineFormula'],_0x5e19c1[_0x35b0d2(0x29e)],_0x5e19c1[_0x35b0d2(0x338)][_0x35b0d2(0x433)],_0x5e19c1[_0x35b0d2(0x3a8)],_0x5e19c1[_0x35b0d2(0x329)],_0x5e19c1[_0x35b0d2(0x28f)],_0x5e19c1['UniverDesign'],_0x5e19c1['React'],_0x5e19c1[_0x35b0d2(0x3b6)]));}(this,function(_0x10d773,_0x120448,_0x5710d6,_0x5c441d,_0x554c4c,_0x36f7ce,_0x58cffa,_0x3ce9b4,_0x139315,_0x8dc84,_0x5967f5,_0x1d0cff,_0x59def4,_0x2d636c,_0x3ae0da,_0x3af2f3,_0x56069d,_0x2913b7,_0x205d8a){'use strict';const _0x5a5110=_0x1924;var _0x538b08=Object['defineProperty'],_0x47c2cb=(_0x16c66b,_0x3415b1,_0x2b8a27)=>_0x3415b1 in _0x16c66b?_0x538b08(_0x16c66b,_0x3415b1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b8a27}):_0x16c66b[_0x3415b1]=_0x2b8a27,_0xa4d578=(_0x294930,_0x1483ba,_0x9c2e87)=>_0x47c2cb(_0x294930,typeof _0x1483ba!=_0x5a5110(0x1bc)?_0x1483ba+'':_0x1483ba,_0x9c2e87),_0x482805=Object[_0x5a5110(0x3c1)],_0x2c68fd=(_0x452988,_0x2842bb,_0xb78301,_0x16dd97)=>{const _0x18c0d8=_0x5a5110;for(var _0xeccb20=_0x16dd97>0x1?void 0x0:_0x16dd97?_0x482805(_0x2842bb,_0xb78301):_0x2842bb,_0x3a919f=_0x452988[_0x18c0d8(0x262)]-0x1,_0x4eee2b;_0x3a919f>=0x0;_0x3a919f--)(_0x4eee2b=_0x452988[_0x3a919f])&&(_0xeccb20=_0x4eee2b(_0xeccb20)||_0xeccb20);return _0xeccb20;},_0x53af91=(_0x2493bb,_0x5c1d23)=>(_0x2d841b,_0x44cfc1)=>_0x5c1d23(_0x2d841b,_0x44cfc1,_0x2493bb);let _0x2c015a=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0x20c089,_0x5f1a43){const _0x457c64=_0x5a5110;super(),this[_0x457c64(0x2f2)]=_0x20c089,this[_0x457c64(0x2fe)]=_0x5f1a43,this[_0x457c64(0x3a0)]();}[_0x5a5110(0x3a0)](){const _0x29d621=_0x5a5110,_0x131168=this;this[_0x29d621(0x1eb)](this['_docClipboardService'][_0x29d621(0x3a4)]({'onBeforePasteImage':async _0x37ea6b=>{const _0x2ef105=_0x29d621,_0x15bad9=await _0x131168['_imageIoService'][_0x2ef105(0x1e2)](_0x37ea6b);return _0x15bad9?{'source':_0x15bad9[_0x2ef105(0x2c1)],'imageSourceType':_0x15bad9[_0x2ef105(0x28d)]}:null;}}));}};_0x2c015a=_0x2c68fd([_0x53af91(0x0,_0x36f7ce[_0x5a5110(0x416)]),_0x53af91(0x1,_0x58cffa[_0x5a5110(0x21a)])],_0x2c015a);const _0x4ed6a6=[_0x5a5110(0x281),_0x5a5110(0x1df),_0x5a5110(0x1fb),_0x5a5110(0x35a),'blue400',_0x5a5110(0x3f5)];class _0x3bc8af extends _0x5710d6[_0x5a5110(0x274)]{constructor(){const _0x3940ae=_0x5a5110;super(...arguments),_0xa4d578(this,_0x3940ae(0x268),new Map()),_0xa4d578(this,'_colorIndex',0x0);}[_0x5a5110(0x401)](_0x51df54){const _0x5c0d3c=_0x5a5110;if(this[_0x5c0d3c(0x268)]['has'](_0x51df54))return this['_assignedColors']['get'](_0x51df54);const _0x3d5615=_0x4ed6a6[this[_0x5c0d3c(0x225)]];return this[_0x5c0d3c(0x225)]=(this[_0x5c0d3c(0x225)]+0x1)%_0x4ed6a6['length'],this['_assignedColors'][_0x5c0d3c(0x2ee)](_0x51df54,_0x3d5615),_0x3d5615;}}function _0x4a0a44(_0x4a7546){const _0x33cae0=_0x5a5110;let _0x2b8462='';for(const _0x11914c of _0x4a7546){const {startOffset:_0x3afeb3,endOffset:_0x48bd2a,isActive:_0x185efe,rangeType:_0x2c5d64,segmentId:_0x17e5b4,segmentPage:_0x4a09f5}=_0x11914c;_0x2b8462[_0x33cae0(0x262)]&&(_0x2b8462+=','),_0x2b8462+=_0x3afeb3+':'+_0x48bd2a+':'+(_0x185efe?'1':'0')+':'+_0x2c5d64+':'+_0x17e5b4+':'+_0x4a09f5;}return _0x2b8462;}function _0x76a49a(_0x5632bc){const _0x44982e=_0x5a5110,_0x252070=_0x5632bc['split'](','),_0x5f0438=[];for(const _0x5006df of _0x252070){const [_0x46cb71,_0x2f1e0e,_0x357f4e,_0x5aa3d6,_0x542fc3,_0x1a88c5]=_0x5006df[_0x44982e(0x431)](':');_0x5f0438[_0x44982e(0x403)]({'startOffset':Number(_0x46cb71),'endOffset':Number(_0x2f1e0e),'collapsed':_0x46cb71===_0x2f1e0e,'isActive':_0x357f4e==='1','rangeType':_0x5aa3d6===_0x5710d6[_0x44982e(0x251)][_0x44982e(0x34f)]?_0x5710d6[_0x44982e(0x251)][_0x44982e(0x34f)]:_0x5710d6[_0x44982e(0x251)][_0x44982e(0x2ca)],'segmentId':typeof _0x542fc3==_0x44982e(0x441)?String(_0x542fc3):'','segmentPage':Number(_0x1a88c5!=null?_0x1a88c5:-0x1)});}return _0x5f0438['some'](_0x26ec15=>_0x26ec15[_0x44982e(0x36c)])||(_0x5f0438[0x0][_0x44982e(0x36c)]=!0x0),_0x5f0438;}class _0x4c28fd extends _0x5710d6['RxDisposable']{constructor(){const _0x1b2da8=_0x5a5110;super(...arguments),_0xa4d578(this,'_collabCursorState$',new _0x3ce9b4['BehaviorSubject'](null)),_0xa4d578(this,_0x1b2da8(0x2f7),this[_0x1b2da8(0x41c)][_0x1b2da8(0x390)]());}[_0x5a5110(0x3bc)](_0xf6c979){const _0x52d8e7=_0x5a5110,{unitID:_0x3af3a2,memberID:_0x20cafb,textRanges:_0x1c45e3}=_0xf6c979,_0x44d516=_0x4a0a44(_0x1c45e3);if(_0x44d516==='')return;const _0x57b58d={'unitID':_0x3af3a2,'memberID':_0x20cafb,'selection':_0x44d516};this[_0x52d8e7(0x41c)][_0x52d8e7(0x209)](_0x57b58d);}}var _0x2d03a0=Object[_0x5a5110(0x3c1)],_0x3e7e83=(_0x336fa1,_0x2b0305,_0x2ec346,_0x579d3b)=>{const _0x141925=_0x5a5110;for(var _0x68e516=_0x579d3b>0x1?void 0x0:_0x579d3b?_0x2d03a0(_0x2b0305,_0x2ec346):_0x2b0305,_0x479fb6=_0x336fa1[_0x141925(0x262)]-0x1,_0x344abb;_0x479fb6>=0x0;_0x479fb6--)(_0x344abb=_0x336fa1[_0x479fb6])&&(_0x68e516=_0x344abb(_0x68e516)||_0x68e516);return _0x68e516;},_0x26a5dc=(_0x3bee1f,_0x896b5f)=>(_0x1cb007,_0x439d04)=>_0x896b5f(_0x1cb007,_0x439d04,_0x3bee1f);const _0x125ce7=0x12c,_0x3bccf9=0x64;let _0x2db35c=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0x3ab450,_0x3b8a23,_0xc4923e,_0x3561e2,_0x4d896b,_0x36eca1,_0x2b8a03,_0x49f95b,_0x604f07){const _0x9e12d4=_0x5a5110;super(),_0xa4d578(this,'_online',!0x1),_0xa4d578(this,_0x9e12d4(0x3a0),!0x1),_0xa4d578(this,'_cursorInfo$',new _0x3ce9b4['BehaviorSubject'](new Map())),_0xa4d578(this,'cursorInfo$',this['_cursorInfo$'][_0x9e12d4(0x390)]()),_0xa4d578(this,_0x9e12d4(0x36b),new _0x3ce9b4[(_0x9e12d4(0x228))]([])),_0xa4d578(this,_0x9e12d4(0x1fa),this[_0x9e12d4(0x36b)]['pipe'](_0x3ce9b4[_0x9e12d4(0x2ae)](_0x125ce7))),_0xa4d578(this,_0x9e12d4(0x332),_0x5710d6[_0x9e12d4(0x2b4)](_0x578de2=>{const _0x3d905e=_0x9e12d4,_0x39d8ab={'eventID':_0x8dc84[_0x3d905e(0x3aa)][_0x3d905e(0x215)],'data':{'unitID':this['unitID'],'memberID':this[_0x3d905e(0x3e4)][_0x3d905e(0x1ba)](),'selection':_0x4a0a44(_0x578de2)}};this[_0x3d905e(0x3e4)]['send'](_0x39d8ab,this[_0x3d905e(0x2c0)]);},_0x3bccf9)),(this[_0x9e12d4(0x2c0)]=_0x3ab450,this[_0x9e12d4(0x3e4)]=_0x3b8a23,this['_injector']=_0xc4923e,this[_0x9e12d4(0x31b)]=_0x3561e2,this[_0x9e12d4(0x3ac)]=_0x4d896b,this['_syncEditingCollabCursorService']=_0x36eca1,this[_0x9e12d4(0x3b1)]=_0x2b8a03,this[_0x9e12d4(0x311)]=_0x49f95b,this[_0x9e12d4(0x411)]=_0x604f07);}get[_0x5a5110(0x3f4)](){const _0x560703=_0x5a5110;return this[_0x560703(0x2f3)][_0x560703(0x399)]();}get[_0x5a5110(0x321)](){const _0x49154e=_0x5a5110;return this[_0x49154e(0x36b)]['getValue']();}['dispose'](){const _0x2673d0=_0x5a5110;super['dispose'](),this[_0x2673d0(0x2f3)][_0x2673d0(0x209)](new Map()),this[_0x2673d0(0x2f3)]['complete'](),this[_0x2673d0(0x36b)][_0x2673d0(0x209)]([]),this['_roomMembers$'][_0x2673d0(0x3df)]();}[_0x5a5110(0x24f)](){const _0x1517ee=_0x5a5110;this[_0x1517ee(0x3a0)]||(this[_0x1517ee(0x3a0)]=!0x0,this[_0x1517ee(0x3e4)][_0x1517ee(0x254)][_0x1517ee(0x1ee)](_0x3ce9b4[_0x1517ee(0x40f)](this[_0x1517ee(0x3bd)]))[_0x1517ee(0x3d6)](_0x19ca62=>{const _0x24462b=_0x1517ee;_0x19ca62===_0x120448[_0x24462b(0x3c6)][_0x24462b(0x3ad)]?this[_0x24462b(0x264)]():this[_0x24462b(0x1f9)]();}),this[_0x1517ee(0x3e4)][_0x1517ee(0x25e)][_0x1517ee(0x1ee)](_0x3ce9b4['takeUntil'](this[_0x1517ee(0x3bd)]))[_0x1517ee(0x3d6)](_0x849bc3=>{const _0x24dcf9=_0x1517ee,_0x51f27f=_0x849bc3['eventID'];_0x51f27f===_0x8dc84[_0x24dcf9(0x3aa)][_0x24dcf9(0x215)]&&this[_0x24dcf9(0x2f9)](_0x849bc3),_0x51f27f===_0x8dc84[_0x24dcf9(0x3aa)][_0x24dcf9(0x41b)]&&this['_onCursorDelete'](_0x849bc3);}),this[_0x1517ee(0x1eb)](this[_0x1517ee(0x411)]['onCommandExecuted'](_0x531d23=>{const _0x3184d5=_0x1517ee,_0x5144da=_0x531d23[_0x3184d5(0x31c)];_0x5144da!=null&&this[_0x3184d5(0x3ec)]&&_0x531d23['id']===_0x139315['SetTextSelectionsOperation']['id']&&_0x5144da[_0x3184d5(0x3da)]===this[_0x3184d5(0x2c0)]&&_0x5144da[_0x3184d5(0x3e3)]===!0x1&&_0x5144da[_0x3184d5(0x26d)][_0x3184d5(0x262)]>0x0&&this[_0x3184d5(0x332)](_0x5144da[_0x3184d5(0x26d)]);})),this[_0x1517ee(0x444)][_0x1517ee(0x2f7)]['pipe'](_0x3ce9b4[_0x1517ee(0x40f)](this['dispose$']))[_0x1517ee(0x3d6)](_0x23f8ff=>{const _0x2dccd7=_0x1517ee;if((_0x23f8ff==null?void 0x0:_0x23f8ff[_0x2dccd7(0x2c0)])!==this[_0x2dccd7(0x2c0)])return;const _0x2d3cea={'eventID':_0x8dc84[_0x2dccd7(0x3aa)]['UPDATE_CURSOR'],'data':_0x23f8ff};this[_0x2dccd7(0x2f9)](_0x2d3cea);}),this[_0x1517ee(0x1eb)](this[_0x1517ee(0x411)][_0x1517ee(0x344)](_0x48438e=>{const _0x185af7=_0x1517ee;if(_0x48438e['params']==null)return;const _0x210e6d=_0x48438e[_0x185af7(0x31c)];if(_0x48438e['id']!==_0x139315['RichTextEditingMutation']['id']||_0x210e6d[_0x185af7(0x3da)]!==this[_0x185af7(0x2c0)])return;const _0x3ad286={'id':_0x185af7(0x1d8),'params':_0x210e6d},_0x47b1f3=this[_0x185af7(0x3f4)];for(const [_0x511f17,_0x316503]of _0x47b1f3){const _0x5286c2={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x316503[_0x185af7(0x26d)]}},_0x45eb48=this[_0x185af7(0x3b1)][_0x185af7(0x1f2)](_0x3ad286,_0x5286c2,!0x1);if(_0x8dc84['isTransformMutationFailure'](_0x45eb48))throw _0x45eb48[_0x185af7(0x3f9)];_0x47b1f3['set'](_0x511f17,{..._0x316503,'ranges':_0x45eb48['m2Prime']['params'][_0x185af7(0x323)]});}queueMicrotask(()=>{const _0x2e3e62=_0x185af7;this[_0x2e3e62(0x2f3)][_0x2e3e62(0x209)](_0x47b1f3);});})));}[_0x5a5110(0x2f9)](_0x176a7e){const _0x362854=_0x5a5110;var _0xce8126,_0x564154;const {memberID:_0x524353,selection:_0x4418f7}=_0x176a7e[_0x362854(0x30b)],_0x525b4f=_0x76a49a(_0x4418f7),_0x46e2f9=(_0x564154=(_0xce8126=this[_0x362854(0x3ac)][_0x362854(0x29d)](this[_0x362854(0x2c0)],_0x524353))==null?void 0x0:_0xce8126[_0x362854(0x23e)])!=null?_0x564154:'Unknown\x20user',_0x358baf={'color':this[_0x362854(0x31b)][_0x362854(0x401)](_0x524353),'name':_0x46e2f9,'ranges':_0x525b4f},_0x57524c=this[_0x362854(0x3f4)];_0x57524c[_0x362854(0x2ee)](_0x524353,_0x358baf),this['_cursorInfo$'][_0x362854(0x209)](_0x57524c);}[_0x5a5110(0x292)](_0x9cdfc1){const _0x206220=_0x5a5110,{memberID:_0x135675}=_0x9cdfc1[_0x206220(0x30b)],_0x431cb5=this[_0x206220(0x3f4)];_0x431cb5['delete'](_0x135675),this[_0x206220(0x2f3)][_0x206220(0x209)](_0x431cb5);}['_toggleOnline'](){const _0x2c3aa1=_0x5a5110;var _0x374aa0;if(this[_0x2c3aa1(0x3ec)]=!0x0,((_0x374aa0=this[_0x2c3aa1(0x311)][_0x2c3aa1(0x3b4)]())==null?void 0x0:_0x374aa0[_0x2c3aa1(0x39f)]())!==this[_0x2c3aa1(0x2c0)])return;const _0x279941=this[_0x2c3aa1(0x2dc)]['get'](_0x139315[_0x2c3aa1(0x345)])[_0x2c3aa1(0x213)]();Array[_0x2c3aa1(0x3f0)](_0x279941)&&_0x279941['length']>0x0&&this[_0x2c3aa1(0x332)](_0x279941);}[_0x5a5110(0x1f9)](){const _0x192366=_0x5a5110;this[_0x192366(0x3ec)]=!0x1;}};_0x2db35c=_0x3e7e83([_0x26a5dc(0x2,_0x5710d6[_0x5a5110(0x212)](_0x5710d6[_0x5a5110(0x235)])),_0x26a5dc(0x3,_0x5710d6[_0x5a5110(0x212)](_0x3bc8af)),_0x26a5dc(0x4,_0x5710d6[_0x5a5110(0x212)](_0x120448[_0x5a5110(0x288)])),_0x26a5dc(0x5,_0x5710d6[_0x5a5110(0x212)](_0x4c28fd)),_0x26a5dc(0x6,_0x8dc84[_0x5a5110(0x3d2)]),_0x26a5dc(0x7,_0x5710d6[_0x5a5110(0x356)]),_0x26a5dc(0x8,_0x5710d6['ICommandService'])],_0x2db35c);var _0x47cdb0=Object[_0x5a5110(0x3c1)],_0x8220c3=(_0x3fa6d4,_0x20856e,_0x5aee63,_0x9f4889)=>{const _0x49cb7d=_0x5a5110;for(var _0x16b373=_0x9f4889>0x1?void 0x0:_0x9f4889?_0x47cdb0(_0x20856e,_0x5aee63):_0x20856e,_0x1f1a77=_0x3fa6d4[_0x49cb7d(0x262)]-0x1,_0x2b0285;_0x1f1a77>=0x0;_0x1f1a77--)(_0x2b0285=_0x3fa6d4[_0x1f1a77])&&(_0x16b373=_0x2b0285(_0x16b373)||_0x16b373);return _0x16b373;},_0x511d77=(_0x15ff09,_0x18dee2)=>(_0x497901,_0x2d1e43)=>_0x18dee2(_0x497901,_0x2d1e43,_0x15ff09);const _0x4c5755=0x12c,_0x53aed6=0x64,_0x115591=()=>{let _0x368a40=[],_0x3a6ae0=!0x1;return _0x450c1a=>{const _0x67ad38=_0x1924;_0x368a40[_0x67ad38(0x403)](_0x450c1a),_0x3a6ae0||(_0x3a6ae0=!0x0,setTimeout(()=>{const _0x2d5ae5=_0x67ad38;_0x368a40[_0x2d5ae5(0x30c)](_0x79c926=>_0x79c926()),_0x368a40=[],_0x3a6ae0=!0x1;}));};};let _0x51ec17=class extends _0x5710d6['RxDisposable']{constructor(_0x4f4f41,_0x3dcf8c,_0xa50577,_0x45a68c,_0x3927ec,_0x213782,_0x1c259f,_0x4b7edd){const _0x2d752b=_0x5a5110;super(),_0xa4d578(this,'_online',!0x1),_0xa4d578(this,'_init',!0x1),_0xa4d578(this,'_cursorInfo$',new _0x3ce9b4['BehaviorSubject'](new Map())),_0xa4d578(this,'cursorInfo$',this['_cursorInfo$'][_0x2d752b(0x390)]()),_0xa4d578(this,_0x2d752b(0x36b),new _0x3ce9b4['BehaviorSubject']([])),_0xa4d578(this,_0x2d752b(0x1fa),this[_0x2d752b(0x36b)][_0x2d752b(0x1ee)](_0x3ce9b4[_0x2d752b(0x2ae)](_0x4c5755))),_0xa4d578(this,_0x2d752b(0x332),_0x5710d6['debounce']((_0x2e54b6,_0x235ef4)=>{const _0x4397fa=_0x2d752b,_0x401e2c={'eventID':_0x8dc84[_0x4397fa(0x3aa)][_0x4397fa(0x215)],'data':{'unitID':this['unitID'],'memberID':this[_0x4397fa(0x3e4)]['getMemberID'](),'selection':_0x5967f5[_0x4397fa(0x2e7)](_0x2e54b6,_0x235ef4[_0x4397fa(0x247)])}};this['_session']['send'](_0x401e2c,this[_0x4397fa(0x2c0)]);},_0x53aed6)),(this[_0x2d752b(0x2c0)]=_0x4f4f41,this['_session']=_0x3dcf8c,this['_injector']=_0xa50577,this[_0x2d752b(0x31b)]=_0x45a68c,this[_0x2d752b(0x3ac)]=_0x3927ec,this[_0x2d752b(0x311)]=_0x213782,this[_0x2d752b(0x411)]=_0x1c259f,this[_0x2d752b(0x32d)]=_0x4b7edd);}get[_0x5a5110(0x3f4)](){const _0x453449=_0x5a5110;return this[_0x453449(0x2f3)][_0x453449(0x399)]();}get[_0x5a5110(0x321)](){const _0x3c138b=_0x5a5110;return this[_0x3c138b(0x36b)]['getValue']();}[_0x5a5110(0x280)](){const _0x5bbb25=_0x5a5110;super[_0x5bbb25(0x280)](),this[_0x5bbb25(0x2f3)]['next'](new Map()),this[_0x5bbb25(0x2f3)][_0x5bbb25(0x3df)](),this['_roomMembers$'][_0x5bbb25(0x209)]([]),this[_0x5bbb25(0x36b)][_0x5bbb25(0x3df)]();}[_0x5a5110(0x24f)](){const _0x49becb=_0x5a5110;this[_0x49becb(0x3a0)]||(this['_init']=!0x0,this[_0x49becb(0x3e4)][_0x49becb(0x254)][_0x49becb(0x1ee)](_0x3ce9b4[_0x49becb(0x40f)](this['dispose$']))[_0x49becb(0x3d6)](_0x5b947b=>{const _0x5cde2b=_0x49becb;_0x5b947b===_0x120448[_0x5cde2b(0x3c6)]['ONLINE']?this[_0x5cde2b(0x264)]():this[_0x5cde2b(0x1f9)]();}),this[_0x49becb(0x3e4)]['event$']['pipe'](_0x3ce9b4['takeUntil'](this['dispose$']))['subscribe'](_0x50a030=>{const _0x399c66=_0x49becb,_0x51e1a2=_0x50a030['eventID'];_0x51e1a2===_0x8dc84[_0x399c66(0x3aa)][_0x399c66(0x215)]&&this[_0x399c66(0x2f9)](_0x50a030),_0x51e1a2===_0x8dc84['CollaborationEvent']['USERS_LEAVE']&&this[_0x399c66(0x292)](_0x50a030);}),this[_0x49becb(0x386)](),this[_0x49becb(0x1eb)](this[_0x49becb(0x411)]['onCommandExecuted'](_0x4a21da=>{const _0x179efb=_0x49becb;if(this[_0x179efb(0x3ec)]&&_0x4a21da['id']===_0x1d0cff['SetSelectionsOperation']['id']&&_0x4a21da[_0x179efb(0x31c)][_0x179efb(0x3da)]===this['unitID']){const _0x4f725e=_0x4a21da[_0x179efb(0x31c)];this[_0x179efb(0x332)](_0x4f725e[_0x179efb(0x3b3)],_0x4f725e[_0x179efb(0x3ef)][0x0]);}})));}[_0x5a5110(0x2f9)](_0x5c24a1){const _0x45d82e=_0x5a5110;var _0x4bc5f3,_0x33cee4;const {memberID:_0x253482,selection:_0x632b89}=_0x5c24a1['data'],{sheetName:_0x585423,range:_0x606041}=_0x5967f5[_0x45d82e(0x3b9)](_0x632b89),_0x477561={'name':(_0x33cee4=(_0x4bc5f3=this[_0x45d82e(0x3ac)]['getMember'](this[_0x45d82e(0x2c0)],_0x253482))==null?void 0x0:_0x4bc5f3[_0x45d82e(0x23e)])!=null?_0x33cee4:_0x45d82e(0x37a),'range':this[_0x45d82e(0x39c)](_0x585423,_0x606041),'sheetID':_0x585423,'color':this[_0x45d82e(0x31b)][_0x45d82e(0x401)](_0x253482),'selection':_0x632b89},_0x517bd6=this[_0x45d82e(0x3f4)];_0x517bd6[_0x45d82e(0x2ee)](_0x253482,_0x477561),this[_0x45d82e(0x2f3)][_0x45d82e(0x209)](_0x517bd6);}[_0x5a5110(0x292)](_0x5d7925){const _0x5c61cb=_0x5a5110,{memberID:_0x222bf8}=_0x5d7925['data'],_0x32fe4f=this['cursorInfo'];_0x32fe4f[_0x5c61cb(0x352)](_0x222bf8),this['_cursorInfo$'][_0x5c61cb(0x209)](_0x32fe4f);}['_getMergeRange'](_0x1ca529,_0x3369fb){const _0x48aa0f=_0x5a5110;var _0x2b1df5,_0x4f8d84;const _0x47de05=(_0x4f8d84=(_0x2b1df5=this[_0x48aa0f(0x311)]['getUniverSheetInstance'](this[_0x48aa0f(0x2c0)]))==null?void 0x0:_0x2b1df5[_0x48aa0f(0x226)](_0x1ca529))==null?void 0x0:_0x4f8d84[_0x48aa0f(0x1d5)]();return(_0x47de05==null?void 0x0:_0x47de05[_0x48aa0f(0x362)](_0x5cc4a0=>_0x5710d6[_0x48aa0f(0x1e1)][_0x48aa0f(0x1cc)](_0x5cc4a0,_0x3369fb)))||_0x3369fb;}[_0x5a5110(0x386)](){const _0x47ad17=_0x5a5110,_0x179065=new _0x5710d6[(_0x47ad17(0x21c))](),_0x39f767=_0x115591(),_0x20d979=()=>{const _0x8ccea0=_0x47ad17;_0x179065[_0x8ccea0(0x280)]();const _0x1111ed=(_0x3033e9,_0x368fb2,_0x15a10e,_0x4bcc85)=>{const _0x10ac22=_0x8ccea0;let _0x4ab8ed=[];switch(_0x3033e9['id']){case _0x1d0cff[_0x10ac22(0x39e)]['DeleteRangeMoveLeftCommandId']:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x2af)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)][_0x10ac22(0x1b0)]:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x1ec)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)][_0x10ac22(0x1ce)]:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x400)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)]['InsertRangeMoveDownCommandId']:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x1ca)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)][_0x10ac22(0x388)]:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x23b)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)]['InsertRowCommandId']:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x2de)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff['EffectRefRangId']['MoveRangeCommandId']:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x1ed)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)][_0x10ac22(0x1e4)]:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x43d)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff['EffectRefRangId'][_0x10ac22(0x2c7)]:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x2d2)](_0x3033e9,_0x4bcc85);break;}}const _0x27f41c=_0x1d0cff[_0x10ac22(0x1e6)](_0x4ab8ed,_0x4bcc85),_0x17e2d9=this['cursorInfo'][_0x10ac22(0x2e5)](_0x368fb2);if(_0x17e2d9&&_0x27f41c){const _0x572521={..._0x17e2d9,'range':_0x27f41c};this[_0x10ac22(0x3f4)][_0x10ac22(0x2ee)](_0x368fb2,_0x572521),_0x39f767(()=>{const _0x3055da=_0x10ac22,_0x272157=this[_0x3055da(0x32d)]['registerRefRange'](_0x27f41c,_0x26135b=>(_0x272157[_0x3055da(0x280)](),_0x1111ed(_0x26135b,_0x368fb2,_0x15a10e,_0x27f41c)));_0x179065[_0x3055da(0x410)](_0x272157);});}return{'redos':[],'undos':[]};};this[_0x8ccea0(0x3f4)][_0x8ccea0(0x30c)]((_0x290075,_0x1bc210)=>{const _0x217b33=_0x8ccea0,{range:_0x5089a3,sheetID:_0x4437d1}=_0x290075,_0x2b831a=this[_0x217b33(0x32d)]['registerRefRange'](_0x5089a3,_0x57c99f=>(_0x2b831a[_0x217b33(0x280)](),_0x1111ed(_0x57c99f,_0x1bc210,_0x4437d1,_0x5089a3)));_0x179065['add'](_0x2b831a);});};this[_0x47ad17(0x1eb)](_0x5710d6[_0x47ad17(0x2d0)](this['_cursorInfo$'][_0x47ad17(0x3d6)](()=>{_0x20d979();})));}['_toggleOnline'](){const _0x4eabd1=_0x5a5110;var _0x1638ca,_0x2383f8;if(this[_0x4eabd1(0x3ec)]=!0x0,((_0x1638ca=this[_0x4eabd1(0x311)][_0x4eabd1(0x3b4)]())==null?void 0x0:_0x1638ca['getUnitId']())!==this['unitID'])return;const _0xd06345=(_0x2383f8=this[_0x4eabd1(0x2dc)][_0x4eabd1(0x2e5)](_0x1d0cff[_0x4eabd1(0x2e0)])[_0x4eabd1(0x376)]())==null?void 0x0:_0x2383f8[0x0],_0x1c8107=this[_0x4eabd1(0x311)][_0x4eabd1(0x278)](_0x5710d6['UniverInstanceType']['UNIVER_SHEET'])[_0x4eabd1(0x357)]();_0xd06345&&_0x1c8107&&this[_0x4eabd1(0x332)](_0x1c8107[_0x4eabd1(0x397)](),_0xd06345);}[_0x5a5110(0x1f9)](){const _0x5ca115=_0x5a5110;this[_0x5ca115(0x3ec)]=!0x1;}};_0x51ec17=_0x8220c3([_0x511d77(0x2,_0x5710d6[_0x5a5110(0x212)](_0x5710d6[_0x5a5110(0x235)])),_0x511d77(0x3,_0x5710d6[_0x5a5110(0x212)](_0x3bc8af)),_0x511d77(0x4,_0x5710d6['Inject'](_0x120448[_0x5a5110(0x288)])),_0x511d77(0x5,_0x5710d6['IUniverInstanceService']),_0x511d77(0x6,_0x5710d6[_0x5a5110(0x1de)]),_0x511d77(0x7,_0x5710d6[_0x5a5110(0x212)](_0x1d0cff[_0x5a5110(0x1ad)]))],_0x51ec17);var _0x2fb3fb=Object[_0x5a5110(0x3c1)],_0x593181=(_0x5857c7,_0xe1a406,_0x3175ef,_0x43680b)=>{const _0x109bf0=_0x5a5110;for(var _0x2f50c2=_0x43680b>0x1?void 0x0:_0x43680b?_0x2fb3fb(_0xe1a406,_0x3175ef):_0xe1a406,_0x39a7ae=_0x5857c7[_0x109bf0(0x262)]-0x1,_0xe226cb;_0x39a7ae>=0x0;_0x39a7ae--)(_0xe226cb=_0x5857c7[_0x39a7ae])&&(_0x2f50c2=_0xe226cb(_0x2f50c2)||_0x2f50c2);return _0x2f50c2;},_0x4413db=(_0x2f3f27,_0x1e0788)=>(_0x5d325b,_0x178b36)=>_0x1e0788(_0x5d325b,_0x178b36,_0x2f3f27);let _0x377ca6=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0x344f55,_0x58ea49,_0x4f9693){const _0x3febef=_0x5a5110;super(),_0xa4d578(this,_0x3febef(0x3c5),new Map()),_0xa4d578(this,_0x3febef(0x1f5),new _0x3ce9b4['Subject']()),(this[_0x3febef(0x311)]=_0x344f55,this['_injector']=_0x58ea49,this[_0x3febef(0x27b)]=_0x4f9693,this[_0x3febef(0x3a0)]());}[_0x5a5110(0x280)](){const _0x2b2552=_0x5a5110;super[_0x2b2552(0x280)](),this['_entityInit$'][_0x2b2552(0x3df)](),this[_0x2b2552(0x3c5)]['forEach'](_0x3ac665=>_0x3ac665[_0x2b2552(0x280)]());}[_0x5a5110(0x337)](_0x439ad9){const _0x1f953c=_0x5a5110;return this[_0x1f953c(0x3c5)]['has'](_0x439ad9)?this[_0x1f953c(0x3c5)][_0x1f953c(0x2e5)](_0x439ad9)[_0x1f953c(0x2d5)]:this[_0x1f953c(0x1f5)]['pipe'](_0x3ce9b4[_0x1f953c(0x301)](_0x461c6a=>_0x461c6a[_0x1f953c(0x2c0)]===_0x439ad9),_0x3ce9b4[_0x1f953c(0x249)](_0x4fe6e9=>_0x4fe6e9[_0x1f953c(0x2d5)]));}[_0x5a5110(0x3a0)](){const _0x3fce71=_0x5a5110;this[_0x3fce71(0x311)][_0x3fce71(0x318)](_0x5710d6[_0x3fce71(0x35d)]['UNIVER_SHEET'])[_0x3fce71(0x1ee)](_0x3ce9b4[_0x3fce71(0x40f)](this[_0x3fce71(0x3bd)]))[_0x3fce71(0x3d6)](async _0x390d03=>{const _0x1c65f6=_0x3fce71,_0x144f40=_0x390d03[_0x1c65f6(0x39f)](),_0x238b6e=await this[_0x1c65f6(0x2fa)](_0x144f40);this[_0x1c65f6(0x1f5)]['next'](_0x238b6e),this[_0x1c65f6(0x3c5)][_0x1c65f6(0x2ee)](_0x144f40,_0x238b6e);}),this[_0x3fce71(0x311)][_0x3fce71(0x318)](_0x5710d6[_0x3fce71(0x35d)][_0x3fce71(0x26c)])[_0x3fce71(0x1ee)](_0x3ce9b4[_0x3fce71(0x40f)](this[_0x3fce71(0x3bd)]))[_0x3fce71(0x1ee)](_0x3ce9b4[_0x3fce71(0x301)](_0xb2f8ca=>!_0xb2f8ca[_0x3fce71(0x39f)]()[_0x3fce71(0x423)]('__')))[_0x3fce71(0x3d6)](async _0x5d191d=>{const _0x787e09=_0x3fce71,_0x38f722=_0x5d191d[_0x787e09(0x39f)](),_0x587158=await this[_0x787e09(0x1d3)](_0x38f722);this[_0x787e09(0x1f5)][_0x787e09(0x209)](_0x587158),this[_0x787e09(0x3c5)][_0x787e09(0x2ee)](_0x38f722,_0x587158);}),_0x3ce9b4['merge'](this[_0x3fce71(0x311)]['getTypeOfUnitDisposed$'](_0x5710d6[_0x3fce71(0x35d)]['UNIVER_DOC']),this['_univerInstanceService'][_0x3fce71(0x3db)](_0x5710d6[_0x3fce71(0x35d)][_0x3fce71(0x2c8)]))[_0x3fce71(0x1ee)](_0x3ce9b4[_0x3fce71(0x40f)](this['dispose$']))[_0x3fce71(0x3d6)](_0x9b7c65=>{const _0x4f4914=_0x3fce71,_0x449aea=_0x9b7c65['getUnitId'](),_0x5e609b=this[_0x4f4914(0x3c5)][_0x4f4914(0x2e5)](_0x449aea);_0x5e609b&&(_0x5e609b[_0x4f4914(0x280)](),this['_entities'][_0x4f4914(0x352)](_0x449aea));});}async[_0x5a5110(0x2fa)](_0x31170f){const _0x2538ed=_0x5a5110,_0x3d4293=await this['_collabSessionService'][_0x2538ed(0x360)](_0x31170f),_0x3594d8=this[_0x2538ed(0x2dc)][_0x2538ed(0x263)](_0x51ec17,_0x31170f,_0x3d4293);return _0x3594d8[_0x2538ed(0x24f)](),_0x3594d8;}async['_startDocCollabCursor'](_0x3ee401){const _0x20106d=_0x5a5110,_0x1ddec1=await this['_collabSessionService'][_0x20106d(0x360)](_0x3ee401),_0x18bc69=this[_0x20106d(0x2dc)][_0x20106d(0x263)](_0x2db35c,_0x3ee401,_0x1ddec1);return _0x18bc69[_0x20106d(0x24f)](),_0x18bc69;}};_0x377ca6=_0x593181([_0x4413db(0x0,_0x5710d6['IUniverInstanceService']),_0x4413db(0x1,_0x5710d6[_0x5a5110(0x212)](_0x5710d6[_0x5a5110(0x235)])),_0x4413db(0x2,_0x5710d6[_0x5a5110(0x212)](_0x120448['CollaborationSessionService']))],_0x377ca6);const _0x2d1066=0x14,_0x9670b5=0xc8,_0x403639=0x4,_0x1fa15d=0x5;function _0x58b698(_0x20fe5e,_0x386c87){const _0x8816a5=_0x5a5110;let {radius:_0x525301,width:_0x5e818e,height:_0x270ffb}=_0x386c87;_0x525301=_0x525301!=null?_0x525301:0x0,_0x5e818e=_0x5e818e!=null?_0x5e818e:0x1e,_0x270ffb=_0x270ffb!=null?_0x270ffb:0x1e;let _0x3042dd=0x0,_0x17831f=0x0,_0x360d78=0x0;_0x3042dd=_0x17831f=_0x360d78=Math[_0x8816a5(0x414)](_0x525301,_0x5e818e/0x2,_0x270ffb/0x2),_0x20fe5e[_0x8816a5(0x2d8)](),_0x20fe5e[_0x8816a5(0x1c7)](_0x3042dd,0x0),_0x20fe5e['lineTo'](_0x5e818e-_0x17831f,0x0),_0x20fe5e[_0x8816a5(0x32b)](_0x5e818e-_0x17831f,_0x17831f,_0x17831f,Math['PI']*0x3/0x2,0x0,!0x1),_0x20fe5e[_0x8816a5(0x1db)](_0x5e818e,_0x270ffb-_0x360d78),_0x20fe5e[_0x8816a5(0x32b)](_0x5e818e-_0x360d78,_0x270ffb-_0x360d78,_0x360d78,0x0,Math['PI']/0x2,!0x1),_0x20fe5e['lineTo'](0x0,_0x270ffb),_0x20fe5e['lineTo'](0x0,_0x3042dd),_0x20fe5e[_0x8816a5(0x32b)](_0x3042dd,_0x3042dd,_0x3042dd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x20fe5e[_0x8816a5(0x3ea)](),_0x386c87[_0x8816a5(0x3ff)]&&(_0x20fe5e[_0x8816a5(0x3a7)](),_0x20fe5e['fillStyle']=_0x386c87[_0x8816a5(0x3ff)],_0x386c87[_0x8816a5(0x2c4)]===_0x8816a5(0x287)?_0x20fe5e['fill'](_0x8816a5(0x287)):_0x20fe5e[_0x8816a5(0x3ff)](),_0x20fe5e[_0x8816a5(0x2ef)]());}class _0x4aa1a9 extends _0x5c441d[_0x5a5110(0x24d)]{constructor(_0x36e60b,_0x39ab9a){const _0x4c6e8a=_0x5a5110;super(_0x36e60b,_0x39ab9a),_0xa4d578(this,_0x4c6e8a(0x29f)),_0xa4d578(this,_0x4c6e8a(0x2f5)),(this['color']=_0x39ab9a==null?void 0x0:_0x39ab9a[_0x4c6e8a(0x29f)],this['text']=_0x39ab9a==null?void 0x0:_0x39ab9a[_0x4c6e8a(0x2f5)]);}static[_0x5a5110(0x371)](_0x5a8163,_0x556945){const _0x1ac5af=_0x5a5110,{text:_0x423790,color:_0x149699}=_0x556945;_0x5a8163['save'](),_0x5a8163[_0x1ac5af(0x255)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xde9f5a=_0x5a8163[_0x1ac5af(0x29c)](_0x423790)[_0x1ac5af(0x20c)],_0x4405e2=Math['min'](_0xde9f5a+0x2*_0x403639,_0x9670b5);_0x58b698(_0x5a8163,{'height':_0x2d1066,'radius':0x4,'width':_0x4405e2,'fill':_0x149699}),_0x5a8163[_0x1ac5af(0x342)]=_0x1ac5af(0x229);const _0x581e61=_0x403639,_0x56bc39=_0x2d1066-_0x1fa15d,_0x2c62e4=_0x9670b5-0x2*_0x403639;if(_0xde9f5a>_0x2c62e4){let _0x321f1b='',_0x1401ca=0x0;for(const _0x8df4f6 of _0x423790){const _0x10f59a=_0x5a8163[_0x1ac5af(0x29c)](_0x8df4f6)[_0x1ac5af(0x20c)];if(_0x1401ca+_0x10f59a<=_0x2c62e4-_0x5a8163[_0x1ac5af(0x29c)](_0x1ac5af(0x1b1))[_0x1ac5af(0x20c)])_0x321f1b+=_0x8df4f6,_0x1401ca+=_0x10f59a;else{_0x321f1b+=_0x1ac5af(0x1b1);break;}}_0x5a8163[_0x1ac5af(0x22e)](_0x321f1b,_0x581e61,_0x56bc39);}else _0x5a8163[_0x1ac5af(0x22e)](_0x423790,_0x581e61,_0x56bc39);_0x5a8163[_0x1ac5af(0x2ef)]();}[_0x5a5110(0x40b)](_0x198902){const _0x35c36d=_0x5a5110;_0x4aa1a9[_0x35c36d(0x371)](_0x198902,this);}}const _0x576f79='collab-text-anchor-',_0x289245=_0x5a5110(0x38b),_0x4740ed=_0x5a5110(0x3f6),_0x22d678=0x6,_0x4a6d64=1.5,_0x26adae=0x4,_0x1e4d03=1.5,_0x38e2aa=_0x5a5110(0x424);class _0x2fa8dc{constructor(_0x172a8c,_0x127af9,_0x3473b6,_0x3dd812){const _0x20b26f=_0x5a5110;_0xa4d578(this,_0x20b26f(0x3f3),[]),_0xa4d578(this,_0x20b26f(0x40a),null),_0xa4d578(this,_0x20b26f(0x36e),null),_0xa4d578(this,_0x20b26f(0x30d),null),_0xa4d578(this,_0x20b26f(0x1ea),null),_0xa4d578(this,_0x20b26f(0x2eb),null),(this[_0x20b26f(0x2b2)]=_0x172a8c,this[_0x20b26f(0x3e2)]=_0x127af9,this['_docSkeleton']=_0x3473b6,this[_0x20b26f(0x426)]=_0x3dd812,this[_0x20b26f(0x3a1)]());}set[_0x5a5110(0x40d)](_0x47ca96){const _0x3b530c=_0x5a5110;_0x47ca96?(this[_0x3b530c(0x30d)]&&this[_0x3b530c(0x30d)][_0x3b530c(0x1c2)](),this[_0x3b530c(0x36e)]&&this['_textBubble'][_0x3b530c(0x261)]()):(this[_0x3b530c(0x30d)]&&this[_0x3b530c(0x30d)][_0x3b530c(0x261)](),this[_0x3b530c(0x36e)]&&this[_0x3b530c(0x36e)][_0x3b530c(0x1c2)]());}[_0x5a5110(0x280)](){const _0x232dc6=_0x5a5110;for(const _0x105a55 of this[_0x232dc6(0x3f3)])_0x105a55[_0x232dc6(0x280)]();this[_0x232dc6(0x36e)]&&this[_0x232dc6(0x36e)][_0x232dc6(0x280)](),this['_anchorDot']&&this[_0x232dc6(0x30d)]['dispose'](),this['_anchor']&&this[_0x232dc6(0x40a)][_0x232dc6(0x280)](),this[_0x232dc6(0x2eb)]&&this['_eventUnsubscribe']();}[_0x5a5110(0x3a1)](){const _0x5c42ba=_0x5a5110;var _0x1596e8;const {_docSkeleton:_0x1c36ee,_document:_0x47ffa2}=this,{color:_0x214800,name:_0xf57222,ranges:_0x51ee4b}=this[_0x5c42ba(0x2b2)],_0x182969=_0x47ffa2[_0x5c42ba(0x1bd)](),{docsLeft:_0x5150e8,docsTop:_0x552621}=_0x182969,_0x4e8560=new _0x36f7ce[(_0x5c42ba(0x38a))](_0x182969,_0x1c36ee);for(const {startOffset:_0x3569de,endOffset:_0x4ef6b4,rangeType:_0x476940,segmentId:_0x260646,segmentPage:_0xb03d05,collapsed:_0x201af3,isActive:_0x342244}of _0x51ee4b){const _0x34ad71=_0x1c36ee[_0x5c42ba(0x31d)](_0x3569de,!0x0,_0x260646,_0xb03d05);let _0x5423e4=_0x1c36ee[_0x5c42ba(0x31d)](_0x4ef6b4,!0x0,_0x260646,_0xb03d05);if(_0x5423e4==null&&(_0x5423e4=_0x1c36ee[_0x5c42ba(0x31d)](_0x4ef6b4-0x1,!0x1,_0x260646,_0xb03d05)),_0x342244){const {contentBoxPointGroup:_0x12dcbd}=_0x4e8560[_0x5c42ba(0x3de)](_0x5423e4,_0x5423e4);if(_0x12dcbd[_0x5c42ba(0x262)]===0x0)continue;this[_0x5c42ba(0x23a)](_0x214800,_0x12dcbd,_0x5150e8,_0x552621,_0xf57222),this[_0x5c42ba(0x2eb)]=this[_0x5c42ba(0x3e6)]();}if(_0x34ad71&&_0x5423e4){if(_0x476940===_0x5710d6[_0x5c42ba(0x251)][_0x5c42ba(0x2ca)]){const _0x9c50ac=new _0x36f7ce[(_0x5c42ba(0x29a))](_0x182969,_0x1c36ee),{pointGroup:_0x21f232}=(_0x1596e8=_0x9c50ac['getRangePointData'](_0x34ad71,_0x5423e4))!=null?_0x1596e8:{};if(_0x21f232==null||_0x21f232['length']===0x0)continue;this[_0x5c42ba(0x3fe)](_0x214800,_0x21f232,_0x5150e8,_0x552621);}else{if(!_0x201af3){const {borderBoxPointGroup:_0xa1a23e}=_0x4e8560[_0x5c42ba(0x3de)](_0x34ad71,_0x5423e4);if(_0xa1a23e[_0x5c42ba(0x262)]===0x0)continue;this[_0x5c42ba(0x2cb)](_0x214800,_0xa1a23e,_0x5150e8,_0x552621);}}}}}[_0x5a5110(0x23a)](_0x46c383,_0x4e4fb3,_0x5cec31,_0x22287d,_0x151b8e){const _0x514821=_0x5a5110,_0x2c4a7b=this[_0x514821(0x350)](_0x4e4fb3),{left:_0x28797f,top:_0x56ea7c,height:_0x481dbc}=_0x2c4a7b,_0x2c5696=this[_0x514821(0x2cd)](),_0x15db94=_0x1e4d03/_0x2c5696,_0x5aca51=new _0x5c441d['Rect'](_0x576f79+_0x5710d6[_0x514821(0x41e)][_0x514821(0x327)](_0x22d678),{'left':_0x28797f+_0x5cec31-_0x15db94,'top':_0x56ea7c+_0x22287d,'height':_0x481dbc,'width':_0x4a6d64,'fill':_0x46c383||_0x5c441d[_0x514821(0x307)](_0x5710d6[_0x514821(0x398)]['black'],0x0),'strokeWidth':_0x15db94,'stroke':_0x38e2aa,'evented':!0x0});this[_0x514821(0x40a)]=_0x5aca51,this[_0x514821(0x3e2)]['addObject'](_0x5aca51,_0x36f7ce[_0x514821(0x1c8)]);const _0x3c5f10=new _0x5c441d['Rect'](_0x576f79+_0x5710d6[_0x514821(0x41e)][_0x514821(0x327)](_0x22d678),{'left':_0x28797f+_0x5cec31-_0x15db94,'top':_0x56ea7c+_0x22287d-_0x26adae/0x2,'height':_0x26adae,'width':_0x26adae,'fill':_0x46c383||_0x5c441d[_0x514821(0x307)](_0x5710d6[_0x514821(0x398)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x46c383||_0x5c441d['getColor'](_0x5710d6[_0x514821(0x398)][_0x514821(0x2a5)],0x0),'evented':!0x1});this[_0x514821(0x30d)]=_0x3c5f10,this['_scene'][_0x514821(0x438)](_0x3c5f10,_0x36f7ce[_0x514821(0x1c8)]);const _0x1195e8=new _0x4aa1a9(_0x576f79+_0x5710d6[_0x514821(0x41e)][_0x514821(0x327)](_0x22d678),{'left':_0x28797f+_0x5cec31-_0x15db94,'top':_0x56ea7c+_0x22287d-_0x2d1066,'text':_0x151b8e,'color':_0x46c383});this['_textBubble']=_0x1195e8,this[_0x514821(0x3e2)][_0x514821(0x438)](_0x1195e8,_0x36f7ce['TEXT_RANGE_LAYER_INDEX']),this[_0x514821(0x40d)]=!0x1;}[_0x5a5110(0x3e6)](){const _0x938dd3=_0x5a5110,_0x52161e=this[_0x938dd3(0x40a)][_0x938dd3(0x2df)][_0x938dd3(0x389)](()=>{const _0x411291=_0x938dd3;this[_0x411291(0x40d)]=!0x0;}),_0x5112e9=this[_0x938dd3(0x40a)][_0x938dd3(0x22c)][_0x938dd3(0x389)](()=>{const _0x1434fa=_0x938dd3;this[_0x1434fa(0x1ea)]&&clearTimeout(this[_0x1434fa(0x1ea)]),this[_0x1434fa(0x1ea)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1c9d67=_0x938dd3;_0x52161e['unsubscribe'](),_0x5112e9[_0x1c9d67(0x1b5)]();};}[_0x5a5110(0x2cb)](_0x3a707f,_0x25d48e,_0x2d552c,_0xce0b9f){const _0x54830b=_0x5a5110,_0x1e6e37=new _0x5710d6['ColorKit'](_0x3a707f)[_0x54830b(0x3c2)](0.2)[_0x54830b(0x30e)](),_0x29866a=new _0x5c441d['RegularPolygon'](_0x289245+_0x5710d6[_0x54830b(0x41e)]['generateRandomId'](_0x22d678),{'pointsGroup':_0x25d48e,'fill':_0x1e6e37||_0x5c441d[_0x54830b(0x307)](_0x5710d6[_0x54830b(0x398)][_0x54830b(0x2a5)],0.2),'left':_0x2d552c,'top':_0xce0b9f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x54830b(0x403)](_0x29866a),this[_0x54830b(0x3e2)][_0x54830b(0x438)](_0x29866a,_0x36f7ce[_0x54830b(0x1c8)]);}[_0x5a5110(0x3fe)](_0x51a35d,_0x32f5b8,_0x475db2,_0x4daa2b){const _0x107007=_0x5a5110,_0x2fb15e=new _0x5710d6[(_0x107007(0x42c))](_0x51a35d)[_0x107007(0x3c2)](0.2)[_0x107007(0x30e)](),_0x482a85=new _0x5c441d[(_0x107007(0x407))](_0x4740ed+_0x5710d6[_0x107007(0x41e)]['generateRandomId'](_0x22d678),{'pointsGroup':_0x32f5b8,'fill':_0x2fb15e||_0x5c441d[_0x107007(0x307)](_0x5710d6[_0x107007(0x398)][_0x107007(0x2a5)],0.2),'left':_0x475db2,'top':_0x4daa2b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x107007(0x3f3)][_0x107007(0x403)](_0x482a85),this[_0x107007(0x3e2)][_0x107007(0x438)](_0x482a85,_0x36f7ce['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x41b23b){const _0x1c60d3=_0x41b23b[0x0],_0x5b6b05=_0x1c60d3[0x0],_0x11d89=_0x1c60d3[0x2],{x:_0x2143b7,y:_0x1f3e99}=_0x5b6b05,{x:_0x4eba06,y:_0x359fcd}=_0x11d89;return{'left':_0x2143b7,'top':_0x1f3e99,'width':_0x4eba06-_0x2143b7,'height':_0x359fcd-_0x1f3e99};}[_0x5a5110(0x2cd)](){const _0x350d46=_0x5a5110,{scaleX:_0x395c54,scaleY:_0x3d4171}=this[_0x350d46(0x3e2)][_0x350d46(0x272)]();return Math[_0x350d46(0x1c5)](_0x395c54,_0x3d4171);}}var _0x194e89=Object[_0x5a5110(0x3c1)],_0x4f6b14=(_0x4d56b9,_0x187f86,_0x1c8693,_0x176f93)=>{const _0x3a8b74=_0x5a5110;for(var _0x21d3d8=_0x176f93>0x1?void 0x0:_0x176f93?_0x194e89(_0x187f86,_0x1c8693):_0x187f86,_0xa5edd5=_0x4d56b9[_0x3a8b74(0x262)]-0x1,_0x3b72d6;_0xa5edd5>=0x0;_0xa5edd5--)(_0x3b72d6=_0x4d56b9[_0xa5edd5])&&(_0x21d3d8=_0x3b72d6(_0x21d3d8)||_0x21d3d8);return _0x21d3d8;},_0x359baf=(_0x3ba9f4,_0x4eace8)=>(_0xd1ae75,_0x5769c2)=>_0x4eace8(_0xd1ae75,_0x5769c2,_0x3ba9f4);let _0x56ec54=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0x476531,_0x35de46,_0x3454c1,_0x45de48,_0x5eb835){const _0x148fae=_0x5a5110;super(),_0xa4d578(this,'_cursorShapes',[]),_0xa4d578(this,_0x148fae(0x2b3),[]),(this[_0x148fae(0x419)]=_0x476531,this[_0x148fae(0x2bc)]=_0x35de46,this[_0x148fae(0x205)]=_0x3454c1,this[_0x148fae(0x411)]=_0x45de48,this['_themeService']=_0x5eb835,this[_0x148fae(0x3a0)]());}[_0x5a5110(0x3a0)](){const _0x35b735=_0x5a5110,_0x301c7c=this[_0x35b735(0x419)]['unitId'],_0x32a859=this[_0x35b735(0x2bc)];this['disposeWithMe'](_0x3ce9b4[_0x35b735(0x32f)]([this['_collabCursorController'][_0x35b735(0x337)](_0x301c7c),this['_themeService'][_0x35b735(0x2a2)]])[_0x35b735(0x1ee)](_0x59def4[_0x35b735(0x387)](([_0x3427d9,_0x516330])=>({'skeleton':_0x32a859[_0x35b735(0x2b1)](),'cursors':[..._0x3427d9[_0x35b735(0x3cc)]()][_0x35b735(0x2c3)](_0x42d1a3=>({..._0x42d1a3,'color':_0x516330[_0x42d1a3[_0x35b735(0x29f)]]}))})))['subscribe'](_0x446b39=>{const _0x533dcf=_0x35b735;if(this[_0x533dcf(0x348)](),_0x446b39){const {skeleton:_0x548a08,cursors:_0x4d18d2}=_0x446b39;this['_updateCollabCursors'](_0x548a08,_0x4d18d2);}})),this[_0x35b735(0x2be)](),this[_0x35b735(0x293)]();}[_0x5a5110(0x271)](_0x45fd11,_0x4aae37){const _0x29cf9e=_0x5a5110,{scene:_0x54c261,mainComponent:_0x27afb2}=this[_0x29cf9e(0x419)],_0x30401c=_0x4aae37[_0x29cf9e(0x387)](_0x11eb82=>new _0x2fa8dc(_0x11eb82,_0x54c261,_0x45fd11,_0x27afb2));this['_cursorShapes']=_0x30401c,this[_0x29cf9e(0x2b3)]=_0x4aae37;}['_refreshCollabCursors'](){const _0x5d9fe9=_0x5a5110;this[_0x5d9fe9(0x348)]();const {scene:_0x5234dc,mainComponent:_0x1cf9e0}=this[_0x5d9fe9(0x419)],_0x5955a3=this[_0x5d9fe9(0x2bc)][_0x5d9fe9(0x2b1)](),_0x801c73=this['_cursors'][_0x5d9fe9(0x387)](_0x1d8725=>new _0x2fa8dc(_0x1d8725,_0x5234dc,_0x5955a3,_0x1cf9e0));this['_cursorShapes']=_0x801c73;}['_removeCollabCursors'](){const _0x27c524=_0x5a5110;this[_0x27c524(0x36a)][_0x27c524(0x30c)](_0x88086b=>_0x88086b[_0x27c524(0x280)]()),this['_cursorShapes']=[];}[_0x5a5110(0x293)](){const _0x191501=_0x5a5110,_0x26eb19=[_0x36f7ce[_0x191501(0x1af)]['id']];this[_0x191501(0x1eb)](this[_0x191501(0x411)][_0x191501(0x344)](_0x5a262e=>{const _0x3f2ff8=_0x191501;_0x26eb19[_0x3f2ff8(0x276)](_0x5a262e['id'])&&_0x5a262e[_0x3f2ff8(0x31c)]['unitId']===this['_context'][_0x3f2ff8(0x3da)]&&this['_refreshCollabCursors']();}));}[_0x5a5110(0x2be)](){const _0x5b7b93=_0x5a5110;this[_0x5b7b93(0x1eb)](_0x5710d6[_0x5b7b93(0x341)](this[_0x5b7b93(0x419)][_0x5b7b93(0x1a9)][_0x5b7b93(0x308)])[_0x5b7b93(0x1ee)](_0x59def4[_0x5b7b93(0x301)](_0x53dd63=>_0x53dd63['type']===_0x5c441d[_0x5b7b93(0x267)]['resize']),_0x59def4['throttleTime'](0x10))[_0x5b7b93(0x3d6)](()=>{this['_refreshCollabCursors']();}));}};_0x56ec54=_0x4f6b14([_0x359baf(0x1,_0x5710d6['Inject'](_0x139315['DocSkeletonManagerService'])),_0x359baf(0x2,_0x5710d6[_0x5a5110(0x212)](_0x377ca6)),_0x359baf(0x3,_0x5710d6[_0x5a5110(0x1de)]),_0x359baf(0x4,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x256)]))],_0x56ec54);const _0x410006=0x1,_0x35ab2f=1.5;class _0x20d652 extends _0x5c441d['Shape']{constructor(_0x104a0c,_0x2bba3a){const _0x3a592d=_0x5a5110;super(_0x104a0c,_0x2bba3a),_0xa4d578(this,'_color'),_0xa4d578(this,_0x3a592d(0x246),!0x1),_0xa4d578(this,_0x3a592d(0x437)),_0xa4d578(this,'_name',''),_0xa4d578(this,_0x3a592d(0x33a),_0x3a592d(0x259)),_0xa4d578(this,_0x3a592d(0x244)),(_0x2bba3a&&this[_0x3a592d(0x3c8)](_0x2bba3a),this[_0x3a592d(0x2df)][_0x3a592d(0x389)](()=>this[_0x3a592d(0x3c8)]({'hovered':!0x0})),this[_0x3a592d(0x22c)][_0x3a592d(0x389)](()=>this[_0x3a592d(0x3c8)]({'hovered':!0x1})));}[_0x5a5110(0x3c8)](_0x46c130){const _0x5ec590=_0x5a5110;var _0x1fbeb8,_0x3d5b9e,_0x197d09,_0x43a7a3,_0x4a751f,_0x289431;this[_0x5ec590(0x2fd)]=(_0x1fbeb8=_0x46c130[_0x5ec590(0x29f)])!=null?_0x1fbeb8:this[_0x5ec590(0x2fd)],this[_0x5ec590(0x246)]=(_0x3d5b9e=_0x46c130[_0x5ec590(0x37c)])!=null?_0x3d5b9e:this[_0x5ec590(0x246)],this[_0x5ec590(0x437)]=(_0x197d09=_0x46c130[_0x5ec590(0x247)])!=null?_0x197d09:this[_0x5ec590(0x437)],this['_name']=(_0x43a7a3=_0x46c130[_0x5ec590(0x23e)])!=null?_0x43a7a3:this[_0x5ec590(0x392)],this['_labelPosition']=(_0x4a751f=_0x46c130[_0x5ec590(0x1f1)])!=null?_0x4a751f:this[_0x5ec590(0x33a)],this[_0x5ec590(0x244)]=(_0x289431=_0x46c130[_0x5ec590(0x3b0)])!=null?_0x289431:this[_0x5ec590(0x244)],this['transformByState']({'width':_0x46c130[_0x5ec590(0x20c)],'height':_0x46c130[_0x5ec590(0x2a3)]});}[_0x5a5110(0x207)](_0x26f4e0){const _0x2c31b8=_0x5a5110,{row:_0x1b79e9,column:_0x4b61ca}=_0x26f4e0;if(_0x1b79e9>=this[_0x2c31b8(0x437)][_0x2c31b8(0x3fb)]&&_0x1b79e9<=this['_range'][_0x2c31b8(0x284)]&&_0x4b61ca>=this[_0x2c31b8(0x437)]['startColumn']&&_0x4b61ca<=this['_range'][_0x2c31b8(0x347)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2c31b8(0x3c8)]({'hovered':!0x1});}['triggerDblclick'](_0x1050e8){return!0x1;}[_0x5a5110(0x40b)](_0x559eac){const _0x56f5fa=_0x5a5110;_0x5c441d[_0x56f5fa(0x220)][_0x56f5fa(0x371)](_0x559eac,{'width':this[_0x56f5fa(0x20c)],'height':this['height'],'strokeWidth':_0x35ab2f,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x56f5fa(0x246)]&&(_0x559eac[_0x56f5fa(0x3a7)](),_0x559eac[_0x56f5fa(0x351)](0x1,0x0,0x0,0x1,this[_0x56f5fa(0x20c)],this[_0x56f5fa(0x33a)]===_0x56f5fa(0x2ec)?0x0:-0x14),_0x4aa1a9[_0x56f5fa(0x371)](_0x559eac,{'text':this['_name'],'color':this['_color']}),_0x559eac[_0x56f5fa(0x2ef)]());}}var _0x1c5d34=Object[_0x5a5110(0x3c1)],_0x1fa107=(_0x52522a,_0x55610f,_0x179168,_0x327caf)=>{const _0x13bdd6=_0x5a5110;for(var _0x1f5eff=_0x327caf>0x1?void 0x0:_0x327caf?_0x1c5d34(_0x55610f,_0x179168):_0x55610f,_0x19793b=_0x52522a[_0x13bdd6(0x262)]-0x1,_0x160324;_0x19793b>=0x0;_0x19793b--)(_0x160324=_0x52522a[_0x19793b])&&(_0x1f5eff=_0x160324(_0x1f5eff)||_0x1f5eff);return _0x1f5eff;},_0xf22cdf=(_0x590799,_0x4ce3df)=>(_0x1d500b,_0x31ca74)=>_0x4ce3df(_0x1d500b,_0x31ca74,_0x590799);const _0x59b891=0x1389;let _0x158bcb=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0xb07821,_0x157c5e,_0x17210e,_0x2e99f5){const _0x14519a=_0x5a5110;super(),_0xa4d578(this,_0x14519a(0x2b3),new Set()),_0xa4d578(this,_0x14519a(0x1e5),null),(this['_context']=_0xb07821,this[_0x14519a(0x415)]=_0x157c5e,this['_collabCursorController']=_0x17210e,this[_0x14519a(0x1d1)]=_0x2e99f5,this[_0x14519a(0x3a0)]());}[_0x5a5110(0x3a0)](){const _0xed09f2=_0x5a5110;this[_0xed09f2(0x415)][_0xed09f2(0x1c6)]['pipe'](_0x59def4[_0xed09f2(0x40f)](this[_0xed09f2(0x3bd)]),_0x59def4['switchMap'](_0x1cea2b=>{const _0x1a18a7=_0xed09f2;if(_0x1cea2b){const _0x5eb4e5=_0x1cea2b[_0x1a18a7(0x402)];return _0x3ce9b4['combineLatest'](this['_collabCursorController']['getCollabCursors$'](this[_0x1a18a7(0x419)][_0x1a18a7(0x3da)]),this['_themeService'][_0x1a18a7(0x2a2)])[_0x1a18a7(0x1ee)](_0x59def4[_0x1a18a7(0x387)](([_0x30e421,_0x30923d])=>{const _0x1ae6df=_0x1a18a7,_0x36c903=new Map();return _0x30e421[_0x1ae6df(0x30c)]((_0x473f38,_0x465587)=>{const _0x454d53=_0x1ae6df;if(_0x473f38[_0x454d53(0x35e)]===_0x5eb4e5){const _0x1d12b0={..._0x473f38};_0x1d12b0[_0x454d53(0x29f)]=_0x30923d[_0x473f38[_0x454d53(0x29f)]],_0x36c903[_0x454d53(0x2ee)](_0x465587,_0x1d12b0);}}),{'skeleton':_0x1cea2b,'cursors':_0x36c903};}));}return _0x3ce9b4['of']({'skeleton':null,'cursors':new Map()});}))[_0xed09f2(0x3d6)](({skeleton:_0x4c2fd2,cursors:_0x1e6d9e})=>{const _0x285c03=_0xed09f2;this[_0x285c03(0x348)](),_0x4c2fd2&&this[_0x285c03(0x271)](_0x4c2fd2,_0x1e6d9e);}),this['_sheetSkeletonManagerService'][_0xed09f2(0x1c6)][_0xed09f2(0x3d6)](_0x98b0f7=>{const _0x405f22=_0xed09f2;if(_0x98b0f7==null)return;const {skeleton:_0x98c9cf}=_0x98b0f7,{scene:_0x2f4087}=this[_0x405f22(0x419)];_0x2f4087[_0x405f22(0x242)][_0x405f22(0x389)](_0x5710d6[_0x405f22(0x2b4)](_0x4c13dc=>{const _0x50e25b=_0x405f22;var _0x2aa60b,_0xcac969;const {offsetX:_0x5d1fee,offsetY:_0x2ec7f1}=_0x4c13dc,{x:_0x3c95be,y:_0x379099}=_0x2f4087['getRelativeToViewportCoord'](_0x5c441d['Vector2']['FromArray']([_0x5d1fee,_0x2ec7f1])),{scaleX:_0x386ad2,scaleY:_0xe8434e}=_0x2f4087[_0x50e25b(0x272)](),_0x58cb47=_0x2f4087['getViewport'](_0x5c441d[_0x50e25b(0x333)]['VIEW_MAIN']),_0x3c161f=_0x2f4087[_0x50e25b(0x314)](_0x5c441d[_0x50e25b(0x2bb)][_0x50e25b(0x38d)]([_0x3c95be,_0x379099]),_0x58cb47),_0x625b9=_0x98c9cf[_0x50e25b(0x43c)](_0x5d1fee,_0x2ec7f1,_0x386ad2,_0xe8434e,_0x3c161f);((_0x2aa60b=this['_lastPointer'])==null?void 0x0:_0x2aa60b[_0x50e25b(0x2bf)])===_0x625b9[_0x50e25b(0x2bf)]&&((_0xcac969=this[_0x50e25b(0x1e5)])==null?void 0x0:_0xcac969['row'])===_0x625b9[_0x50e25b(0x34b)]||this[_0x50e25b(0x2b3)]['forEach'](_0x4c78ce=>{const _0x1ea14c=_0x50e25b;_0x4c78ce[_0x1ea14c(0x207)](_0x625b9);});},0x64));});}[_0x5a5110(0x271)](_0x1fa1f4,_0x1c25a0){const _0x4e3609=_0x5a5110;var _0xaeb5bb;const _0x24a77e=(_0xaeb5bb=this[_0x4e3609(0x415)][_0x4e3609(0x3c7)]())==null?void 0x0:_0xaeb5bb[_0x4e3609(0x23c)];if(!_0x24a77e)return;const _0x14ba90=this['_getSheetObject']();if(!_0x14ba90)return;this[_0x4e3609(0x2b3)][_0x4e3609(0x30c)](_0x116235=>{const _0xbfc18b=_0x4e3609;_0x116235[_0xbfc18b(0x1f8)]();});const {scene:_0x5692e1}=_0x14ba90,_0x2eca6a=_0x2f9a73(Array['from'](_0x1c25a0['values']()))['map'](_0x1d7489=>{const _0x38298b=_0x4e3609,{color:_0x147634,range:_0x52bd25,name:_0x4f46d4,selection:_0x191f5f,sheetID:_0x353b7b}=_0x1d7489,{startColumn:_0x360966,startRow:_0x23ea57,endColumn:_0x255e0b,endRow:_0x491061}=_0x52bd25,_0x838733=_0x2d636c['getCoordByCell'](_0x23ea57,_0x360966,_0x5692e1,_0x24a77e),_0x75e840=_0x2d636c[_0x38298b(0x3ce)](_0x491061,_0x255e0b,_0x5692e1,_0x24a77e),{columnHeaderHeightAndMarginTop:_0x12d33d}=_0x24a77e,{startX:_0x448926,startY:_0x47909f}=_0x838733,{endX:_0x37d4a0,endY:_0x32ec19}=_0x75e840,_0x1d65ff=_0x37d4a0-_0x448926,_0x4c2f7a=_0x32ec19-_0x47909f,_0x45be03={'labelPosition':_0x47909f-_0x12d33d>=_0x2d1066?'top':'bottom','sheetID':_0x353b7b,'range':_0x52bd25,'color':_0x147634,'name':_0x4f46d4,'selection':_0x191f5f,'left':_0x448926,'top':_0x47909f,'width':_0x1d65ff,'height':_0x4c2f7a,'evented':!0x1,'zIndex':_0x59b891};return new _0x20d652(_0x4f46d4,_0x45be03);});_0x5692e1['addObjects'](_0x2eca6a,_0x410006),this[_0x4e3609(0x2b3)]=new Set(_0x2eca6a);}[_0x5a5110(0x348)](){const _0x8990eb=_0x5a5110;var _0x9f25b5;(_0x9f25b5=this[_0x8990eb(0x2b3)])==null||_0x9f25b5['forEach'](_0x4022f9=>_0x4022f9['dispose']());}['_getSheetObject'](){const _0x1327a9=_0x5a5110;return _0x2d636c['getSheetObject'](this['_context'][_0x1327a9(0x211)],this['_context']);}};_0x158bcb=_0x1fa107([_0xf22cdf(0x1,_0x5710d6[_0x5a5110(0x212)](_0x2d636c[_0x5a5110(0x203)])),_0xf22cdf(0x2,_0x5710d6[_0x5a5110(0x212)](_0x377ca6)),_0xf22cdf(0x3,_0x5710d6[_0x5a5110(0x212)](_0x5710d6[_0x5a5110(0x256)]))],_0x158bcb);function _0x2f9a73(_0x5e3ddf){const _0x519929=_0x5a5110,_0x65ddf6=new Map();return _0x5e3ddf[_0x519929(0x30c)](_0x22e25d=>{const _0x2b82d1=_0x519929;if(_0x65ddf6[_0x2b82d1(0x2e6)](_0x22e25d[_0x2b82d1(0x26a)])){const _0x2df2a1=_0x65ddf6['get'](_0x22e25d[_0x2b82d1(0x26a)]);_0x2df2a1[_0x2b82d1(0x23e)]+=',\x20'+_0x22e25d[_0x2b82d1(0x23e)];}else _0x65ddf6[_0x2b82d1(0x2ee)](_0x22e25d[_0x2b82d1(0x26a)],_0x22e25d);}),Array[_0x519929(0x202)](_0x65ddf6[_0x519929(0x3cc)]());}var _0x3fb029=function(){const _0x33371d=_0x5a5110;return _0x3fb029=Object[_0x33371d(0x3dd)]||function(_0x47a54e){const _0x2f9f6b=_0x33371d;for(var _0x2010dd,_0x4d9198=0x1,_0x5acdd5=arguments[_0x2f9f6b(0x262)];_0x4d9198<_0x5acdd5;_0x4d9198++){_0x2010dd=arguments[_0x4d9198];for(var _0x370a36 in _0x2010dd)Object['prototype'][_0x2f9f6b(0x3be)][_0x2f9f6b(0x3b8)](_0x2010dd,_0x370a36)&&(_0x47a54e[_0x370a36]=_0x2010dd[_0x370a36]);}return _0x47a54e;},_0x3fb029[_0x33371d(0x3d3)](this,arguments);},_0x2b222f=function(_0x367551,_0x14e437){const _0x5c9c96=_0x5a5110;var _0x311616={};for(var _0x39f2f3 in _0x367551)Object['prototype'][_0x5c9c96(0x3be)][_0x5c9c96(0x3b8)](_0x367551,_0x39f2f3)&&_0x14e437[_0x5c9c96(0x20f)](_0x39f2f3)<0x0&&(_0x311616[_0x39f2f3]=_0x367551[_0x39f2f3]);if(_0x367551!=null&&typeof Object['getOwnPropertySymbols']==_0x5c9c96(0x3bf)){for(var _0x560bed=0x0,_0x39f2f3=Object[_0x5c9c96(0x26e)](_0x367551);_0x560bed<_0x39f2f3['length'];_0x560bed++)_0x14e437[_0x5c9c96(0x20f)](_0x39f2f3[_0x560bed])<0x0&&Object[_0x5c9c96(0x218)][_0x5c9c96(0x408)]['call'](_0x367551,_0x39f2f3[_0x560bed])&&(_0x311616[_0x39f2f3[_0x560bed]]=_0x367551[_0x39f2f3[_0x560bed]]);}return _0x311616;},_0x577efc=_0x2913b7[_0x5a5110(0x200)](function(_0x3fe78f,_0x2bd921){const _0x7d6ab5=_0x5a5110;var _0x250e75=_0x3fe78f[_0x7d6ab5(0x339)],_0xe180d5=_0x3fe78f['id'],_0x533410=_0x3fe78f[_0x7d6ab5(0x1dd)],_0x541feb=_0x3fe78f['extend'],_0x364805=_0x2b222f(_0x3fe78f,[_0x7d6ab5(0x339),'id',_0x7d6ab5(0x1dd),_0x7d6ab5(0x291)]),_0x314b90=_0x7d6ab5(0x1b6)[_0x7d6ab5(0x306)](_0xe180d5,'\x20')[_0x7d6ab5(0x306)](_0x533410||'')[_0x7d6ab5(0x303)](),_0xc45a02=_0x2913b7[_0x7d6ab5(0x2aa)]('_'[_0x7d6ab5(0x306)](_0x5d1da5()));return _0x568cfd(_0x250e75,''['concat'](_0xe180d5),{'defIds':_0x250e75['defIds'],'idSuffix':_0xc45a02[_0x7d6ab5(0x317)]},_0x3fb029({'ref':_0x2bd921,'className':_0x314b90},_0x364805),_0x541feb);});function _0x568cfd(_0x3fbf8c,_0x236f17,_0x3d7e6d,_0x146ce9,_0x1c6b87){const _0x38cd4e=_0x5a5110;return _0x2913b7[_0x38cd4e(0x1cd)](_0x3fbf8c[_0x38cd4e(0x230)],_0x3fb029(_0x3fb029({'key':_0x236f17},_0x247b7d(_0x3fbf8c,_0x3d7e6d,_0x1c6b87)),_0x146ce9),(_0x12001c(_0x3fbf8c,_0x3d7e6d)[_0x38cd4e(0x326)]||[])['map'](function(_0x1a7d5c,_0x1474b4){const _0x5a4d9e=_0x38cd4e;return _0x568cfd(_0x1a7d5c,''['concat'](_0x236f17,'-')[_0x5a4d9e(0x306)](_0x3fbf8c[_0x5a4d9e(0x230)],'-')['concat'](_0x1474b4),_0x3d7e6d,void 0x0,_0x1c6b87);}));}function _0x247b7d(_0x23f923,_0x2e16e0,_0x327802){const _0x272899=_0x5a5110;var _0x3befe9=_0x3fb029({},_0x23f923[_0x272899(0x422)]);_0x327802!=null&&_0x327802[_0x272899(0x3d4)]&&_0x3befe9['fill']===_0x272899(0x3d4)&&(_0x3befe9[_0x272899(0x3ff)]=_0x327802[_0x272899(0x3d4)]),_0x23f923['tag']===_0x272899(0x27c)&&_0x3befe9['id']&&(_0x3befe9['id']=_0x3befe9['id']+_0x2e16e0[_0x272899(0x1da)]),Object[_0x272899(0x37f)](_0x3befe9)['forEach'](function(_0x7b79c0){const _0x2c1dd9=_0x272899;var _0x5f1848=_0x7b79c0[0x0],_0x32a7d4=_0x7b79c0[0x1];_0x5f1848==='mask'&&typeof _0x32a7d4=='string'&&(_0x3befe9[_0x5f1848]=_0x32a7d4[_0x2c1dd9(0x21b)](/url\(#(.*)\)/,_0x2c1dd9(0x1d9)[_0x2c1dd9(0x306)](_0x2e16e0[_0x2c1dd9(0x1da)],')')));});var _0x5d195d=_0x2e16e0[_0x272899(0x2a1)];return!_0x5d195d||_0x5d195d[_0x272899(0x262)]===0x0||(_0x23f923[_0x272899(0x230)]==='use'&&_0x3befe9[_0x272899(0x304)]&&(_0x3befe9['xlink:href']=_0x3befe9[_0x272899(0x304)]+_0x2e16e0[_0x272899(0x1da)]),Object[_0x272899(0x37f)](_0x3befe9)[_0x272899(0x30c)](function(_0x379f31){const _0x405c5b=_0x272899;var _0x155218=_0x379f31[0x0],_0x50d859=_0x379f31[0x1];typeof _0x50d859==_0x405c5b(0x441)&&(_0x3befe9[_0x155218]=_0x50d859[_0x405c5b(0x21b)](/url\(#(.*)\)/,_0x405c5b(0x1d9)['concat'](_0x2e16e0['idSuffix'],')')));})),_0x3befe9;}function _0x12001c(_0xbe7a23,_0x1b6b52){const _0x1c8f5d=_0x5a5110;var _0x83841d,_0x1ffbb3=_0x1b6b52[_0x1c8f5d(0x2a1)];return!_0x1ffbb3||_0x1ffbb3['length']===0x0?_0xbe7a23:_0xbe7a23[_0x1c8f5d(0x230)]==='defs'&&(!((_0x83841d=_0xbe7a23[_0x1c8f5d(0x326)])===null||_0x83841d===void 0x0)&&_0x83841d[_0x1c8f5d(0x262)])?_0x3fb029(_0x3fb029({},_0xbe7a23),{'children':_0xbe7a23[_0x1c8f5d(0x326)][_0x1c8f5d(0x387)](function(_0x43aa50){const _0x4fb27b=_0x1c8f5d;return typeof _0x43aa50['attrs']['id']=='string'&&_0x1ffbb3&&_0x1ffbb3['indexOf'](_0x43aa50['attrs']['id'])>-0x1?_0x3fb029(_0x3fb029({},_0x43aa50),{'attrs':_0x3fb029(_0x3fb029({},_0x43aa50['attrs']),{'id':_0x43aa50[_0x4fb27b(0x422)]['id']+_0x1b6b52[_0x4fb27b(0x1da)]})}):_0x43aa50;})}):_0xbe7a23;}function _0x5d1da5(){const _0xd1cfed=_0x5a5110;return Math[_0xd1cfed(0x43e)]()['toString'](0x24)[_0xd1cfed(0x2fb)](0x2,0x8);}_0x577efc[_0x5a5110(0x2e4)]='UniverIcon';var _0x36764b={'tag':_0x5a5110(0x340),'attrs':{'fill':'none','viewBox':_0x5a5110(0x380),'width':_0x5a5110(0x3a3),'height':_0x5a5110(0x3a3)},'children':[{'tag':'g','attrs':{'clipPath':_0x5a5110(0x420)},'children':[{'tag':_0x5a5110(0x3d5),'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':'round','strokeLinejoin':_0x5a5110(0x366),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5a5110(0x1c9)},'children':[{'tag':_0x5a5110(0x3d5),'attrs':{'fill':'#fff','d':_0x5a5110(0x3e5)}}]}]}],'defIds':[_0x5a5110(0x1c9)]},_0x3d3451=_0x2913b7[_0x5a5110(0x200)](function(_0x50acbf,_0x18434e){const _0x2306dc=_0x5a5110;return _0x2913b7['createElement'](_0x577efc,Object[_0x2306dc(0x3dd)]({},_0x50acbf,{'id':_0x2306dc(0x245),'ref':_0x18434e,'icon':_0x36764b}));});_0x3d3451['displayName']=_0x5a5110(0x35f);var _0x40fc1c={'tag':_0x5a5110(0x340),'attrs':{'fill':_0x5a5110(0x3b7),'viewBox':_0x5a5110(0x312),'width':_0x5a5110(0x3a3),'height':_0x5a5110(0x3a3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x5a5110(0x404),'d':_0x5a5110(0x2ed),'strokeLinecap':'round','strokeLinejoin':_0x5a5110(0x366),'strokeWidth':1.2}}]},{'tag':_0x5a5110(0x2ab),'attrs':{},'children':[{'tag':_0x5a5110(0x22a),'attrs':{'id':_0x5a5110(0x233)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x5a5110(0x3e5),'transform':_0x5a5110(0x2d3)}}]}]}],'defIds':[_0x5a5110(0x233)]},_0x38dd67=_0x2913b7[_0x5a5110(0x200)](function(_0x4562ba,_0x1936c3){const _0xde78c9=_0x5a5110;return _0x2913b7[_0xde78c9(0x1cd)](_0x577efc,Object['assign']({},_0x4562ba,{'id':_0xde78c9(0x3e8),'ref':_0x1936c3,'icon':_0x40fc1c}));});_0x38dd67[_0x5a5110(0x2e4)]=_0x5a5110(0x2dd);function _0xeeca94(_0x3b1944){const _0x44f707=_0x5a5110;switch(_0x3b1944){case _0x120448['CollaborationStatus'][_0x44f707(0x25c)]:return _0x44f707(0x3e9);case _0x120448[_0x44f707(0x440)][_0x44f707(0x1b4)]:return _0x44f707(0x21e);case _0x120448[_0x44f707(0x440)][_0x44f707(0x234)]:return _0x44f707(0x23f);case _0x120448[_0x44f707(0x440)][_0x44f707(0x349)]:return'collabStatus.notCollab';case _0x120448['CollaborationStatus'][_0x44f707(0x20e)]:case _0x120448['CollaborationStatus'][_0x44f707(0x379)]:return _0x44f707(0x3fc);case _0x120448['CollaborationStatus'][_0x44f707(0x375)]:case _0x120448['CollaborationStatus'][_0x44f707(0x286)]:return _0x44f707(0x38e);}}function _0x251989(_0x1dc541){const _0x518b1c=_0x5a5110,{status$:_0x5673f5}=_0x1dc541,_0x198e4b=_0x3af2f3[_0x518b1c(0x3c4)](_0x5673f5,_0x120448[_0x518b1c(0x440)][_0x518b1c(0x349)]),_0x10a86e=_0x3af2f3[_0x518b1c(0x269)](_0x5710d6[_0x518b1c(0x1bf)]),_0x2a0bf9=_0x3af2f3['useDependency'](_0x120448['CollaborationSessionService']),_0x1ea0e0=_0x198e4b!==_0x120448[_0x518b1c(0x440)][_0x518b1c(0x25c)],_0x291dee=_0x10a86e['t'](_0xeeca94(_0x198e4b)),_0x46ece5=_0x1ea0e0?_0x3ae0da[_0x518b1c(0x41f)](_0x38dd67,{}):_0x3ae0da[_0x518b1c(0x41f)](_0x3d3451,{}),_0x5d39c8=_0x2913b7[_0x518b1c(0x1b8)](()=>{const _0x2a44f2=_0x518b1c;_0x1ea0e0||_0x2a0bf9[_0x2a44f2(0x34d)]();},[_0x1ea0e0,_0x2a0bf9]);function _0x57d3bd(){const _0x1f7141=_0x518b1c;return _0x3ae0da[_0x1f7141(0x2da)](_0x1f7141(0x3af),{'className':_0x1f7141(0x3dc),'onClick':_0x5d39c8,'children':[_0x3ae0da[_0x1f7141(0x41f)](_0x1f7141(0x3af),{'className':_0x56069d['clsx'](_0x1f7141(0x1d6),_0x1ea0e0?'univer-text-green-500':_0x1f7141(0x3e0)),'children':_0x46ece5}),_0x3ae0da[_0x1f7141(0x41f)](_0x1f7141(0x3af),{'className':_0x1f7141(0x368),'children':_0x291dee})]});}return _0x1ea0e0?_0x57d3bd():_0x3ae0da[_0x518b1c(0x41f)](_0x56069d[_0x518b1c(0x425)],{'title':_0x10a86e['t']('collab-client.tooltip.reconnect'),'children':_0x57d3bd()});}var _0x10e15c=Object['getOwnPropertyDescriptor'],_0x461402=(_0x1b9e19,_0x3fdd06,_0x8c1cd0,_0x24b73c)=>{const _0xb77ee6=_0x5a5110;for(var _0x3b57bf=_0x24b73c>0x1?void 0x0:_0x24b73c?_0x10e15c(_0x3fdd06,_0x8c1cd0):_0x3fdd06,_0xb1377f=_0x1b9e19[_0xb77ee6(0x262)]-0x1,_0x4987c4;_0xb1377f>=0x0;_0xb1377f--)(_0x4987c4=_0x1b9e19[_0xb1377f])&&(_0x3b57bf=_0x4987c4(_0x3b57bf)||_0x3b57bf);return _0x3b57bf;},_0x510a95=(_0x1eeb9b,_0x56da11)=>(_0x54da6d,_0x4ac459)=>_0x56da11(_0x54da6d,_0x4ac459,_0x1eeb9b);_0x10d773[_0x5a5110(0x1e3)]=class extends _0x5710d6[_0x5a5110(0x274)]{constructor(_0x45a7b6,_0x53ad58,_0x4cda6d,_0x115490){const _0x102ea3=_0x5a5110;super(),_0xa4d578(this,_0x102ea3(0x39b),new _0x3ce9b4[(_0x102ea3(0x228))](_0x120448[_0x102ea3(0x440)][_0x102ea3(0x349)])),(this[_0x102ea3(0x311)]=_0x45a7b6,this['_injector']=_0x53ad58,this[_0x102ea3(0x3f1)]=_0x4cda6d,this[_0x102ea3(0x20b)]=_0x115490,this[_0x102ea3(0x25a)](),this[_0x102ea3(0x373)]());}[_0x5a5110(0x373)](){const _0x3edf6e=_0x5a5110;this[_0x3edf6e(0x1eb)](this[_0x3edf6e(0x311)][_0x3edf6e(0x1be)][_0x3edf6e(0x1ee)](_0x3ce9b4[_0x3edf6e(0x249)](()=>{const _0x319b57=_0x3edf6e,_0x3cb02a=this[_0x319b57(0x311)][_0x319b57(0x3b4)]();return _0x3cb02a?this['_collaborationController'][_0x319b57(0x252)](_0x3cb02a[_0x319b57(0x39f)]()):_0x3ce9b4['of'](null);}),_0x3ce9b4['switchMap'](_0x3052ce=>_0x3052ce?_0x3052ce[_0x3edf6e(0x22f)]:_0x3ce9b4['of'](_0x120448[_0x3edf6e(0x440)][_0x3edf6e(0x349)])))[_0x3edf6e(0x3d6)](_0x5ba7d0=>{const _0x10d320=_0x3edf6e;this[_0x10d320(0x39b)][_0x10d320(0x209)](_0x5ba7d0);}));}[_0x5a5110(0x25a)](){const _0xa016ce=_0x5a5110;this[_0xa016ce(0x1eb)](this[_0xa016ce(0x20b)][_0xa016ce(0x37e)](_0x3af2f3['BuiltInUIPart'][_0xa016ce(0x396)],()=>_0x3af2f3[_0xa016ce(0x1b2)](_0x47ddf7({'status$':this[_0xa016ce(0x39b)][_0xa016ce(0x390)]()}),this[_0xa016ce(0x2dc)])));}},_0x10d773[_0x5a5110(0x1e3)]=_0x461402([_0x510a95(0x0,_0x5710d6[_0x5a5110(0x356)]),_0x510a95(0x1,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x235)])),_0x510a95(0x2,_0x5710d6[_0x5a5110(0x212)](_0x120448[_0x5a5110(0x2b0)])),_0x510a95(0x3,_0x3af2f3['IUIPartsService'])],_0x10d773[_0x5a5110(0x1e3)]);function _0x47ddf7(_0x2cf799){const {status$:_0xc8855b}=_0x2cf799;return function(){const _0x42e294=_0x1924;return _0x3ae0da[_0x42e294(0x41f)](_0x251989,{'status$':_0xc8855b});};}var _0x548f85=Object[_0x5a5110(0x3c1)],_0x740a72=(_0x93af31,_0x29e7c0,_0xd631c7,_0x173530)=>{const _0x2d0eed=_0x5a5110;for(var _0x2f5386=_0x173530>0x1?void 0x0:_0x173530?_0x548f85(_0x29e7c0,_0xd631c7):_0x29e7c0,_0x793121=_0x93af31[_0x2d0eed(0x262)]-0x1,_0x5a08ba;_0x793121>=0x0;_0x793121--)(_0x5a08ba=_0x93af31[_0x793121])&&(_0x2f5386=_0x5a08ba(_0x2f5386)||_0x2f5386);return _0x2f5386;},_0xa81458=(_0x17b9de,_0xe0a6)=>(_0x227ab4,_0x2ce94e)=>_0xe0a6(_0x227ab4,_0x2ce94e,_0x17b9de);let _0x1a8f5b=class extends _0x5710d6['Disposable']{constructor(_0x339799,_0x5a1de6,_0x2ccf47,_0x282e78,_0x40f256,_0x465e75){const _0x26897b=_0x5a5110;super(),this[_0x26897b(0x2b9)]=_0x339799,this[_0x26897b(0x27d)]=_0x5a1de6,this[_0x26897b(0x298)]=_0x2ccf47,this['_messageService']=_0x282e78,this[_0x26897b(0x417)]=_0x40f256,this[_0x26897b(0x393)]=_0x465e75,this[_0x26897b(0x41a)](),this[_0x26897b(0x343)]();}[_0x5a5110(0x41a)](){const _0x57152d=_0x5a5110;this[_0x57152d(0x1eb)](this[_0x57152d(0x2b9)][_0x57152d(0x1c4)](()=>{const _0x48a29f=_0x57152d;if(this[_0x48a29f(0x27d)][_0x48a29f(0x1b9)]['size'])return this['_localeService']['t'](_0x48a29f(0x1f3));}));}[_0x5a5110(0x343)](){const _0x12f3f8=_0x5a5110;this[_0x12f3f8(0x1eb)](this[_0x12f3f8(0x298)]['event$'][_0x12f3f8(0x3d6)](_0x5193f9=>{const _0x2a9a27=_0x12f3f8;_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)][_0x2a9a27(0x391)]&&this['_messageService'][_0x2a9a27(0x261)]({'type':_0x56069d[_0x2a9a27(0x3e1)][_0x2a9a27(0x385)],'content':this[_0x2a9a27(0x393)]['t'](_0x2a9a27(0x3d7))}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)]['CLOSE_ROOM']&&this['_messageService'][_0x2a9a27(0x261)]({'type':_0x56069d[_0x2a9a27(0x3e1)][_0x2a9a27(0x385)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)][_0x2a9a27(0x374)]&&this[_0x2a9a27(0x417)]['show']({'title':this[_0x2a9a27(0x393)]['t'](_0x2a9a27(0x3b2)),'content':this[_0x2a9a27(0x393)]['t'](_0x2a9a27(0x232)),'type':_0x2a9a27(0x3f9),'duration':0x0}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)][_0x2a9a27(0x1b4)]&&this[_0x2a9a27(0x33f)][_0x2a9a27(0x261)]({'type':_0x56069d[_0x2a9a27(0x3e1)][_0x2a9a27(0x279)],'content':this[_0x2a9a27(0x393)]['t'](_0x2a9a27(0x1c1))+'('+_0x5193f9[_0x2a9a27(0x30b)]+')'}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)][_0x2a9a27(0x1cf)]&&this[_0x2a9a27(0x33f)]['show']({'type':_0x56069d[_0x2a9a27(0x3e1)][_0x2a9a27(0x385)],'content':this['_localeService']['t'](_0x5193f9[_0x2a9a27(0x30b)]||'')}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x2a9a27(0x261)]({'type':_0x56069d['MessageType'][_0x2a9a27(0x385)],'content':this[_0x2a9a27(0x393)]['t']('session.will-retry')}),_0x5193f9['id']===_0x120448['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x2a9a27(0x33f)][_0x2a9a27(0x261)]({'type':_0x56069d[_0x2a9a27(0x3e1)]['Error'],'content':this[_0x2a9a27(0x393)]['t'](_0x2a9a27(0x41d))}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)][_0x2a9a27(0x442)]&&this[_0x2a9a27(0x33f)][_0x2a9a27(0x261)]({'type':_0x56069d['MessageType'][_0x2a9a27(0x279)],'content':this[_0x2a9a27(0x393)]['t']('session.collaboration-timeout')});}));}};_0x1a8f5b=_0x740a72([_0xa81458(0x0,_0x3af2f3[_0x5a5110(0x384)]),_0xa81458(0x1,_0x120448[_0x5a5110(0x3c0)]),_0xa81458(0x2,_0x5710d6[_0x5a5110(0x212)](_0x120448[_0x5a5110(0x297)])),_0xa81458(0x3,_0x3af2f3[_0x5a5110(0x310)]),_0xa81458(0x4,_0x3af2f3[_0x5a5110(0x265)]),_0xa81458(0x5,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x1bf)]))],_0x1a8f5b);const _0x5c5d7c='collaboration-client-ui.config',_0x592971={},_0x1a9a4c=_0x5710d6['createIdentifier'](_0x5a5110(0x42e));var _0x392c8a=Object[_0x5a5110(0x3c1)],_0x4285a6=(_0x15d66f,_0x31cfb4,_0x5e7529,_0x116c22)=>{for(var _0x48ffd4=_0x116c22>0x1?void 0x0:_0x116c22?_0x392c8a(_0x31cfb4,_0x5e7529):_0x31cfb4,_0x402f4c=_0x15d66f['length']-0x1,_0x218449;_0x402f4c>=0x0;_0x402f4c--)(_0x218449=_0x15d66f[_0x402f4c])&&(_0x48ffd4=_0x218449(_0x48ffd4)||_0x48ffd4);return _0x48ffd4;},_0x54ef78=(_0x51f7fb,_0x1f5e0d)=>(_0x5e3ac7,_0x382a6a)=>_0x1f5e0d(_0x5e3ac7,_0x382a6a,_0x51f7fb);_0x10d773[_0x5a5110(0x2e8)]=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0x568d4f,_0x5e687f,_0x32ecf9,_0x58fe7b,_0x2048b5){const _0x5d5e54=_0x5a5110;super(),this[_0x5d5e54(0x430)]=_0x568d4f,this[_0x5d5e54(0x223)]=_0x5e687f,this[_0x5d5e54(0x411)]=_0x32ecf9,this['_dataLoaderService']=_0x58fe7b,_0x2048b5?_0x2048b5==null||_0x2048b5['whenReady']()[_0x5d5e54(0x38f)](()=>this['_init']()):(this[_0x5d5e54(0x223)][_0x5d5e54(0x409)]('[CollaborationDataLoaderController]',_0x5d5e54(0x355)),this[_0x5d5e54(0x3a0)]());}async[_0x5a5110(0x3a0)](){const _0x5664fe=_0x5a5110,_0x4a0391=this['_urlService']['getParam'](_0x5664fe(0x211)),_0x462e4e=this[_0x5664fe(0x430)]['getParam']('type'),_0x27bf8b=this[_0x5664fe(0x430)][_0x5664fe(0x361)]('subunit');if(!_0x4a0391||!_0x462e4e){this[_0x5664fe(0x223)]['debug'](_0x5664fe(0x2db),_0x5664fe(0x33d));return;}const _0x5aa617=await this[_0x5664fe(0x289)][_0x5664fe(0x34c)](_0x4a0391,Number(_0x462e4e),_0x27bf8b);_0x5aa617&&_0x5aa617 instanceof _0x5710d6[_0x5664fe(0x37d)]&&this[_0x5664fe(0x36f)](_0x5aa617);}async['_setupSubUnitSync'](_0x56663c){const _0xf98d6c=_0x5a5110;await this[_0xf98d6c(0x1f7)](_0x56663c),_0x56663c[_0xf98d6c(0x330)][_0xf98d6c(0x1ee)](_0x3ce9b4['takeUntil'](this['dispose$']))['subscribe'](_0x24eb43=>{const _0x12c76d=_0xf98d6c;_0x24eb43&&this[_0x12c76d(0x382)](_0x24eb43);}),this['_urlService'][_0xf98d6c(0x24a)][_0xf98d6c(0x1ee)](_0x3ce9b4[_0xf98d6c(0x40f)](this[_0xf98d6c(0x3bd)]))['subscribe'](()=>this[_0xf98d6c(0x1f7)](_0x56663c));}[_0x5a5110(0x382)](_0x46f3ad,_0x11cc1f=!0x1){const _0x5d45a4=_0x5a5110,_0x4c5a82=this[_0x5d45a4(0x430)][_0x5d45a4(0x361)](_0x5d45a4(0x363));_0x46f3ad[_0x5d45a4(0x397)]()!==_0x4c5a82&&this[_0x5d45a4(0x430)][_0x5d45a4(0x3c9)](_0x5d45a4(0x363),_0x46f3ad[_0x5d45a4(0x397)](),_0x11cc1f);}async['_updateSubUnitFromURLParams'](_0x4bc518){const _0x4a7ff2=_0x5a5110;var _0x5ce241;const _0x4e87ca=this[_0x4a7ff2(0x430)][_0x4a7ff2(0x361)]('subunit');if(!_0x4e87ca||!_0x4bc518['getSheetBySheetId'](_0x4e87ca)){const _0x13fa1a=_0x4bc518['getUnhiddenWorksheets']()[0x0],_0x3b65a8=_0x4bc518[_0x4a7ff2(0x226)](_0x13fa1a);if(!_0x3b65a8)return;this[_0x4a7ff2(0x382)](_0x3b65a8,!0x0),await this['_commandService'][_0x4a7ff2(0x208)](_0x1d0cff[_0x4a7ff2(0x3a5)]['id'],{'unitId':_0x4bc518[_0x4a7ff2(0x39f)](),'subUnitId':_0x13fa1a});return;}((_0x5ce241=_0x4bc518[_0x4a7ff2(0x357)]())==null?void 0x0:_0x5ce241[_0x4a7ff2(0x397)]())!==_0x4e87ca&&await this['_commandService'][_0x4a7ff2(0x208)](_0x1d0cff[_0x4a7ff2(0x3a5)]['id'],{'unitId':_0x4bc518['getUnitId'](),'subUnitId':_0x4e87ca});}},_0x10d773[_0x5a5110(0x2e8)]=_0x4285a6([_0x54ef78(0x0,_0x1a9a4c),_0x54ef78(0x1,_0x5710d6[_0x5a5110(0x282)]),_0x54ef78(0x2,_0x5710d6[_0x5a5110(0x1de)]),_0x54ef78(0x3,_0x5710d6['Inject'](_0x120448[_0x5a5110(0x1c3)])),_0x54ef78(0x4,_0x5710d6[_0x5a5110(0x27f)](_0x205d8a['IRemoteInstanceService']))],_0x10d773[_0x5a5110(0x2e8)]);var _0x12fc2f=Object[_0x5a5110(0x3c1)],_0x3a59a9=(_0x5b5a8c,_0x39d01c,_0x165c1d,_0x4690ab)=>{const _0x2b4932=_0x5a5110;for(var _0xe8fc9f=_0x4690ab>0x1?void 0x0:_0x4690ab?_0x12fc2f(_0x39d01c,_0x165c1d):_0x39d01c,_0x23f227=_0x5b5a8c[_0x2b4932(0x262)]-0x1,_0x585c28;_0x23f227>=0x0;_0x23f227--)(_0x585c28=_0x5b5a8c[_0x23f227])&&(_0xe8fc9f=_0x585c28(_0xe8fc9f)||_0xe8fc9f);return _0xe8fc9f;},_0x59cb7b=(_0x59e415,_0x4f117f)=>(_0x13ec1f,_0x52d2a6)=>_0x4f117f(_0x13ec1f,_0x52d2a6,_0x59e415);let _0xe1a345=class{constructor(_0x32e6b0,_0xf0339,_0x531c74){const _0xe2f8bd=_0x5a5110;this[_0xe2f8bd(0x2dc)]=_0x32e6b0,this[_0xe2f8bd(0x3b1)]=_0xf0339,this[_0xe2f8bd(0x2c9)]=_0x531c74;}[_0x5a5110(0x35c)](_0x2f2ce0){const _0x1d05c7=_0x5a5110;this[_0x1d05c7(0x33b)](_0x2f2ce0),this[_0x1d05c7(0x43f)](_0x2f2ce0);}[_0x5a5110(0x3cd)](_0x42cdb6){const _0x22ba78=_0x5a5110,{unitID:_0x25f907}=_0x42cdb6,_0x59a5c2=this[_0x22ba78(0x2c9)][_0x22ba78(0x300)](_0x25f907)['with'](_0x36f7ce[_0x22ba78(0x302)]),{redoCache:_0x15c32d}=_0x59a5c2['getUndoRedoMutationParamsCache']();if(_0x15c32d[_0x22ba78(0x262)]===0x0)return _0x42cdb6;let _0x81d44a=_0x5710d6[_0x22ba78(0x41e)][_0x22ba78(0x2a7)](_0x42cdb6[_0x22ba78(0x428)][0x0]);for(let _0x566a23=0x0;_0x566a23<_0x15c32d[_0x22ba78(0x262)];_0x566a23++){const _0x3bfc2e={'id':_0x22ba78(0x1d8),'params':{..._0x15c32d[_0x566a23]}},_0x519187=this[_0x22ba78(0x3b1)][_0x22ba78(0x1f2)](_0x81d44a,_0x3bfc2e,!0x1);if(_0x8dc84[_0x22ba78(0x335)](_0x519187))throw _0x519187[_0x22ba78(0x3f9)];_0x81d44a=_0x519187[_0x22ba78(0x27a)];}return{..._0x5710d6[_0x22ba78(0x41e)]['deepClone'](_0x42cdb6),'mutations':[_0x81d44a]};}[_0x5a5110(0x33b)](_0x4bfd19){const _0x398bda=_0x5a5110,{unitID:_0x9d03e1}=_0x4bfd19,_0x2fff4a=this[_0x398bda(0x2c9)]['getRenderById'](_0x9d03e1)[_0x398bda(0x2d4)](_0x36f7ce[_0x398bda(0x302)]),{undoCache:_0x23e932,redoCache:_0x2e8426}=_0x2fff4a[_0x398bda(0x328)]();if(_0x23e932[_0x398bda(0x262)]===0x0||_0x2e8426['length']===0x0)return;const _0x599868=[],_0x4c3e2d=[];let _0x2b4c34=_0x5710d6[_0x398bda(0x41e)][_0x398bda(0x2a7)](_0x4bfd19[_0x398bda(0x428)][0x0]),_0x2825a1=_0x5710d6[_0x398bda(0x41e)][_0x398bda(0x2a7)](_0x4bfd19[_0x398bda(0x428)][0x0]);for(let _0x338b11=_0x23e932[_0x398bda(0x262)]-0x1;_0x338b11>=0x0;_0x338b11--){const _0x1baea3={'id':'doc.mutation.rich-text-editing','params':{..._0x23e932[_0x338b11]}},_0x291bd3={'id':'doc.mutation.rich-text-editing','params':{..._0x2e8426[_0x338b11]}},_0x1f3a9e=this['_transformService'][_0x398bda(0x1f2)](_0x2b4c34,_0x1baea3,!0x1),_0x2e1303=this[_0x398bda(0x3b1)][_0x398bda(0x1f2)](_0x2825a1,_0x291bd3,!0x1);if(_0x8dc84[_0x398bda(0x335)](_0x1f3a9e))throw _0x1f3a9e[_0x398bda(0x3f9)];if(_0x8dc84[_0x398bda(0x335)](_0x2e1303))throw _0x2e1303[_0x398bda(0x3f9)];_0x599868['unshift'](_0x1f3a9e['m2Prime']['params']),_0x4c3e2d[_0x398bda(0x283)](_0x2e1303[_0x398bda(0x273)]['params']),_0x2b4c34=_0x1f3a9e[_0x398bda(0x27a)],_0x2825a1=_0x2e1303[_0x398bda(0x27a)];}_0x2fff4a['setUndoRedoMutationParamsCache']({'undoCache':_0x599868,'redoCache':_0x4c3e2d});}[_0x5a5110(0x43f)](_0x2eef1e){const _0x4e07fb=_0x5a5110,{unitID:_0x171a7e}=_0x2eef1e,_0x399c31=this[_0x4e07fb(0x2c9)][_0x4e07fb(0x300)](_0x171a7e)[_0x4e07fb(0x2d4)](_0x36f7ce[_0x4e07fb(0x302)]),_0x4db6e7=_0x399c31[_0x4e07fb(0x346)]();if(_0x4db6e7==null)return;const _0x5756c7=[{'id':_0x4e07fb(0x1d8),'params':{'unitId':_0x2eef1e[_0x4e07fb(0x2c0)],'actions':null,'textRanges':[_0x4db6e7]}}],_0x431444=this[_0x4e07fb(0x3b1)][_0x4e07fb(0x369)](_0x2eef1e,_0x5756c7);if(!_0x8dc84[_0x4e07fb(0x334)](_0x431444))throw _0x431444['error'];const _0x36b536=_0x431444[_0x4e07fb(0x273)][0x0][_0x4e07fb(0x31c)]['textRanges'];Array['isArray'](_0x36b536)&&_0x36b536[_0x4e07fb(0x262)]&&_0x399c31[_0x4e07fb(0x1aa)](_0x36b536[0x0]);}};_0xe1a345=_0x3a59a9([_0x59cb7b(0x0,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x235)])),_0x59cb7b(0x1,_0x8dc84[_0x5a5110(0x3d2)]),_0x59cb7b(0x2,_0x5c441d[_0x5a5110(0x33c)])],_0xe1a345);var _0x1a39c8=Object[_0x5a5110(0x3c1)],_0x2655f1=(_0x10db26,_0x3e17fa,_0xfc1c63,_0x37ac09)=>{const _0x2a9b88=_0x5a5110;for(var _0x4a8b33=_0x37ac09>0x1?void 0x0:_0x37ac09?_0x1a39c8(_0x3e17fa,_0xfc1c63):_0x3e17fa,_0x1de413=_0x10db26[_0x2a9b88(0x262)]-0x1,_0x25348c;_0x1de413>=0x0;_0x1de413--)(_0x25348c=_0x10db26[_0x1de413])&&(_0x4a8b33=_0x25348c(_0x4a8b33)||_0x4a8b33);return _0x4a8b33;},_0x42d276=(_0x187a88,_0x23e56e)=>(_0x131ab9,_0xcfc0b3)=>_0x23e56e(_0x131ab9,_0xcfc0b3,_0x187a88);let _0x37a8f0=class{constructor(_0x26d037,_0x12d42e,_0x15dae4){const _0x212982=_0x5a5110;this[_0x212982(0x2dc)]=_0x26d037,this['_transformService']=_0x12d42e,this[_0x212982(0x331)]=_0x15dae4;}[_0x5a5110(0x30a)](_0x489ade){const _0x5a7583=_0x5a5110;this[_0x5a7583(0x381)](_0x489ade);}['transformRemoteChangeset'](_0x54ed20){const _0x5d3e0e=_0x5a5110,{unitID:_0x2558fb}=_0x54ed20,{collaboration:_0xe9b0af}=this[_0x5d3e0e(0x331)][_0x5d3e0e(0x201)](_0x2558fb);if(_0xe9b0af[_0x5d3e0e(0x262)]===0x0)return _0x54ed20;let _0x5a7675=_0x5710d6['Tools']['deepClone'](_0x54ed20[_0x5d3e0e(0x428)][0x0]);for(let _0x454e4d=0x0;_0x454e4d<_0xe9b0af[_0x5d3e0e(0x262)];_0x454e4d++){const _0x41d3df={'id':_0x5d3e0e(0x1d8),'params':{'unitId':_0xe9b0af[_0x454e4d]['unitId'],..._0xe9b0af[_0x454e4d][_0x5d3e0e(0x221)]}},_0x524849=this[_0x5d3e0e(0x3b1)][_0x5d3e0e(0x1f2)](_0x5a7675,_0x41d3df,!0x1);if(_0x8dc84['isTransformMutationFailure'](_0x524849))throw _0x524849[_0x5d3e0e(0x3f9)];_0x5a7675=_0x524849[_0x5d3e0e(0x27a)];}return{..._0x5710d6[_0x5d3e0e(0x41e)][_0x5d3e0e(0x2a7)](_0x54ed20),'mutations':[_0x5a7675]};}[_0x5a5110(0x381)](_0x172b1d){const _0x27948c=_0x5a5110,{unitID:_0x53703b}=_0x172b1d,{history:_0x105617,collaboration:_0x5b1a4c}=this[_0x27948c(0x331)][_0x27948c(0x201)](_0x53703b);if(_0x105617[_0x27948c(0x262)]===0x0&&_0x5b1a4c[_0x27948c(0x262)]===0x0)return;const _0xef23e7=[],_0x2c5276=[];let _0x6845a8=_0x5710d6[_0x27948c(0x41e)]['deepClone'](_0x172b1d[_0x27948c(0x428)][0x0]),_0x360df3=_0x5710d6[_0x27948c(0x41e)]['deepClone'](_0x172b1d[_0x27948c(0x428)][0x0]);for(let _0x399df4=_0x105617[_0x27948c(0x262)]-0x1;_0x399df4>=0x0;_0x399df4--){const _0x230339={'id':_0x27948c(0x1d8),'params':{'unitId':_0x105617[_0x399df4][_0x27948c(0x3da)],..._0x105617[_0x399df4][_0x27948c(0x3eb)]}},_0x3ac399={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x105617[_0x399df4][_0x27948c(0x3da)],..._0x105617[_0x399df4][_0x27948c(0x221)]}},_0x242ffb=this['_transformService']['transformMutation'](_0x6845a8,_0x230339,!0x1),_0x171bb5=this[_0x27948c(0x3b1)][_0x27948c(0x1f2)](_0x360df3,_0x3ac399,!0x1);if(_0x8dc84[_0x27948c(0x335)](_0x242ffb))throw _0x242ffb[_0x27948c(0x3f9)];if(_0x8dc84['isTransformMutationFailure'](_0x171bb5))throw _0x171bb5[_0x27948c(0x3f9)];_0xef23e7[_0x27948c(0x283)]({..._0x105617[_0x399df4],'undoState':_0x242ffb[_0x27948c(0x273)][_0x27948c(0x31c)],'redoState':_0x171bb5[_0x27948c(0x273)][_0x27948c(0x31c)]}),_0x6845a8=_0x242ffb[_0x27948c(0x27a)],_0x360df3=_0x171bb5[_0x27948c(0x27a)];}_0x6845a8=_0x5710d6[_0x27948c(0x41e)][_0x27948c(0x2a7)](_0x172b1d[_0x27948c(0x428)][0x0]),_0x360df3=_0x5710d6[_0x27948c(0x41e)][_0x27948c(0x2a7)](_0x172b1d[_0x27948c(0x428)][0x0]);for(let _0xc31c18=_0x5b1a4c['length']-0x1;_0xc31c18>=0x0;_0xc31c18--){const _0x1b0937={'id':_0x27948c(0x1d8),'params':{'unitId':_0x5b1a4c[_0xc31c18][_0x27948c(0x3da)],..._0x5b1a4c[_0xc31c18][_0x27948c(0x3eb)]}},_0xefc371={'id':_0x27948c(0x1d8),'params':{'unitId':_0x5b1a4c[_0xc31c18][_0x27948c(0x3da)],..._0x5b1a4c[_0xc31c18]['redoState']}},_0x1da4af=this[_0x27948c(0x3b1)][_0x27948c(0x1f2)](_0x6845a8,_0x1b0937,!0x1),_0x5611ec=this['_transformService']['transformMutation'](_0x360df3,_0xefc371,!0x1);if(_0x8dc84[_0x27948c(0x335)](_0x1da4af))throw _0x1da4af[_0x27948c(0x3f9)];if(_0x8dc84[_0x27948c(0x335)](_0x5611ec))throw _0x5611ec['error'];_0x2c5276[_0x27948c(0x283)]({..._0x5b1a4c[_0xc31c18],'undoState':_0x1da4af[_0x27948c(0x273)]['params'],'redoState':_0x5611ec['m2Prime'][_0x27948c(0x31c)]}),_0x6845a8=_0x1da4af[_0x27948c(0x27a)],_0x360df3=_0x5611ec[_0x27948c(0x27a)];}this[_0x27948c(0x331)]['setStateCache'](_0x53703b,{'history':_0xef23e7,'collaboration':_0x2c5276});}};_0x37a8f0=_0x2655f1([_0x42d276(0x0,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x235)])),_0x42d276(0x1,_0x8dc84[_0x5a5110(0x3d2)]),_0x42d276(0x2,_0x5710d6[_0x5a5110(0x212)](_0x36f7ce[_0x5a5110(0x31a)]))],_0x37a8f0);var _0x5a959c=Object['getOwnPropertyDescriptor'],_0x2f76cf=(_0x56beb6,_0x1def24,_0x208964,_0xc77e1f)=>{for(var _0x4d484a=_0xc77e1f>0x1?void 0x0:_0xc77e1f?_0x5a959c(_0x1def24,_0x208964):_0x1def24,_0x16a0ad=_0x56beb6['length']-0x1,_0x8b0776;_0x16a0ad>=0x0;_0x16a0ad--)(_0x8b0776=_0x56beb6[_0x16a0ad])&&(_0x4d484a=_0x8b0776(_0x4d484a)||_0x4d484a);return _0x4d484a;},_0x383b4f=(_0x295489,_0x22c825)=>(_0x429edd,_0x29593f)=>_0x22c825(_0x429edd,_0x29593f,_0x295489);let _0x16ec8a=class{constructor(_0x17170f,_0x1121d9){const _0x3706c0=_0x5a5110;this[_0x3706c0(0x2dc)]=_0x17170f,this[_0x3706c0(0x3b1)]=_0x1121d9;}['transformSelections'](_0x312736){const _0x5735ab=_0x5a5110;var _0x41ceb4;const _0x3086ba=this[_0x5735ab(0x2dc)]['get'](_0x139315[_0x5735ab(0x345)]),_0x3bcbdf=(_0x41ceb4=_0x3086ba['getDocRanges']())!=null?_0x41ceb4:[];if(_0x3bcbdf['length']===0x0)return;const _0x48046a=_0x312736[_0x5735ab(0x2c0)],_0x3b6baf=[{'id':_0x5735ab(0x1d8),'params':{'unitId':_0x48046a,'actions':null,'textRanges':_0x3bcbdf}}],_0x572466=this[_0x5735ab(0x3b1)]['transformMutationsWithChangeset'](_0x312736,_0x3b6baf);if(!_0x8dc84['isTransformMutationsWithChangesetSuccess'](_0x572466))throw _0x572466[_0x5735ab(0x3f9)];const _0x2221e3=_0x572466[_0x5735ab(0x273)][0x0]['params'][_0x5735ab(0x323)];Array[_0x5735ab(0x3f0)](_0x2221e3)&&_0x2221e3[_0x5735ab(0x262)]&&_0x3086ba[_0x5735ab(0x2e9)](_0x2221e3,{'unitId':_0x48046a,'subUnitId':_0x48046a},!0x1);}};_0x16ec8a=_0x2f76cf([_0x383b4f(0x0,_0x5710d6[_0x5a5110(0x212)](_0x5710d6[_0x5a5110(0x235)])),_0x383b4f(0x1,_0x8dc84['ITransformService'])],_0x16ec8a);var _0x3b15e3=Object['getOwnPropertyDescriptor'],_0x21d42e=(_0x21f28c,_0x5e754f,_0x187f1c,_0xfa47c2)=>{const _0x36cfdf=_0x5a5110;for(var _0x4215a1=_0xfa47c2>0x1?void 0x0:_0xfa47c2?_0x3b15e3(_0x5e754f,_0x187f1c):_0x5e754f,_0x3ce428=_0x21f28c[_0x36cfdf(0x262)]-0x1,_0x2c6103;_0x3ce428>=0x0;_0x3ce428--)(_0x2c6103=_0x21f28c[_0x3ce428])&&(_0x4215a1=_0x2c6103(_0x4215a1)||_0x4215a1);return _0x4215a1;},_0xa95271=(_0x1b3f14,_0xb6d995)=>(_0x15d7e8,_0x54249f)=>_0xb6d995(_0x15d7e8,_0x54249f,_0x1b3f14);let _0x52e285=class extends _0x5710d6[_0x5a5110(0x274)]{constructor(_0x345cad,_0x358bca,_0x4fa631,_0x4af75e,_0x5998d6,_0x73a2ed,_0x5ba0d3,_0xb8bc3e){const _0x10c841=_0x5a5110;super(),_0xa4d578(this,_0x10c841(0x39b),new _0x3ce9b4[(_0x10c841(0x228))](_0x120448[_0x10c841(0x440)][_0x10c841(0x349)])),(this[_0x10c841(0x331)]=_0x345cad,this[_0x10c841(0x3f1)]=_0x358bca,this[_0x10c841(0x42d)]=_0x4fa631,this['_docTransformStateCacheService']=_0x4af75e,this['_docTransformSelectionsService']=_0x5998d6,this[_0x10c841(0x2c6)]=_0x73a2ed,this[_0x10c841(0x33f)]=_0x5ba0d3,this[_0x10c841(0x393)]=_0xb8bc3e,this[_0x10c841(0x2e3)]());}['_initEntityListener'](){const _0x4498b3=_0x5a5110;this[_0x4498b3(0x1eb)](this[_0x4498b3(0x3f1)][_0x4498b3(0x32e)][_0x4498b3(0x3d6)](_0x57dfab=>{const _0x3064de=_0x4498b3,_0x1f1ae8=this[_0x3064de(0x331)][_0x3064de(0x240)][_0x3064de(0x3d6)](_0x4c1ac0=>{const _0x113a00=_0x3064de;if(_0x4c1ac0==null)return;const {unitId:_0xf85029,redoState:_0x38ff31,commandId:_0x2e39bf}=_0x4c1ac0;if(_0xf85029!==_0x57dfab['unitID'])return;const _0x55b3bb={'id':_0x2e39bf,'type':_0x5710d6[_0x113a00(0x322)]['MUTATION'],'params':{'unitId':_0xf85029,'actions':_0x38ff31[_0x113a00(0x248)],'textRanges':null}};_0x57dfab['onLocalMutation'](_0x55b3bb);});if(_0x57dfab['disposeWithMe'](_0x1f1ae8),_0x57dfab instanceof _0x120448[_0x3064de(0x31f)]){const _0x571dd0={'onTransformIME':_0x99046d=>this[_0x3064de(0x42d)][_0x3064de(0x35c)](_0x99046d),'onTransformState':_0x8437b=>this[_0x3064de(0x25b)][_0x3064de(0x30a)](_0x8437b),'onTransformSelections':_0xe89bc0=>this['_docTransformSelectionsService'][_0x3064de(0x28c)](_0xe89bc0),'onSyncEditingCollabCursor':_0x1425b4=>this[_0x3064de(0x2c6)][_0x3064de(0x3bc)](_0x1425b4),'onTransformRemoteChangesetByIMECache':_0x22ce80=>this['_docTransformIMECacheService'][_0x3064de(0x3cd)](_0x22ce80),'onTransformRemoteChangesetByStateCache':_0x759083=>this[_0x3064de(0x25b)][_0x3064de(0x3cd)](_0x759083)};_0x57dfab[_0x3064de(0x3c3)](_0x571dd0);}}));}};_0x52e285=_0x21d42e([_0xa95271(0x0,_0x5710d6[_0x5a5110(0x212)](_0x36f7ce[_0x5a5110(0x31a)])),_0xa95271(0x1,_0x5710d6['Inject'](_0x120448[_0x5a5110(0x2b0)])),_0xa95271(0x2,_0x5710d6['Inject'](_0xe1a345)),_0xa95271(0x3,_0x5710d6[_0x5a5110(0x212)](_0x37a8f0)),_0xa95271(0x4,_0x5710d6['Inject'](_0x16ec8a)),_0xa95271(0x5,_0x5710d6[_0x5a5110(0x212)](_0x4c28fd)),_0xa95271(0x6,_0x3af2f3[_0x5a5110(0x310)]),_0xa95271(0x7,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x1bf)]))],_0x52e285);var _0xa448bf=Object['getOwnPropertyDescriptor'],_0xde163f=(_0x53df82,_0x202eca,_0x4568bc,_0x7d7811)=>{for(var _0x22fc86=_0x7d7811>0x1?void 0x0:_0x7d7811?_0xa448bf(_0x202eca,_0x4568bc):_0x202eca,_0x35441e=_0x53df82['length']-0x1,_0x3e55a4;_0x35441e>=0x0;_0x35441e--)(_0x3e55a4=_0x53df82[_0x35441e])&&(_0x22fc86=_0x3e55a4(_0x22fc86)||_0x22fc86);return _0x22fc86;},_0x464e53=(_0x352246,_0x1eef01)=>(_0x3366b3,_0x44b8c2)=>_0x1eef01(_0x3366b3,_0x44b8c2,_0x352246);let _0x17c0b5=class extends _0x5710d6['Disposable']{constructor(_0x2cec8f,_0x358094,_0x544b06){const _0x5348e1=_0x5a5110;super(),_0xa4d578(this,'_cachedData',new Map()),_0xa4d578(this,_0x5348e1(0x336),new Map()),_0xa4d578(this,'_disabled',!0x1),(this[_0x5348e1(0x24b)]=_0x2cec8f,this[_0x5348e1(0x3d8)]=_0x358094,this['_revisionService']=_0x544b06);}['disableLocalCache'](){const _0x3a8bf6=_0x5a5110;this[_0x3a8bf6(0x429)]=!0x0;}[_0x5a5110(0x435)](){const _0x1adffc=_0x5a5110;this[_0x1adffc(0x429)]=!0x1;}get[_0x5a5110(0x1b9)](){const _0x90d91d=_0x5a5110;return this[_0x90d91d(0x336)];}[_0x5a5110(0x280)](){const _0x479679=_0x5a5110;this['exhaustSavingTask']()[_0x479679(0x38f)](()=>super[_0x479679(0x280)]());}async[_0x5a5110(0x22b)](_0x565b08){const _0x25fdaf=_0x5a5110;return this[_0x25fdaf(0x429)]?null:this[_0x25fdaf(0x3d8)][_0x25fdaf(0x206)](_0x120448[_0x25fdaf(0x2a9)](_0x565b08));}async[_0x5a5110(0x20d)](_0x264878,_0x3b6811){const _0x498ed7=_0x5a5110;return!!this['_localStorageService'][_0x498ed7(0x354)](_0x264878,_0x3b6811);}[_0x5a5110(0x1d7)](_0x56d9d1,_0x1f42bc,_0x5ac58d,_0xe58215){const _0xa9f59e=_0x5a5110,_0x483095=this['_revisionService'][_0xa9f59e(0x239)](_0x56d9d1);this['_cachedData']['set'](_0x56d9d1,{'unitID':_0x56d9d1,'type':_0x1f42bc,'awaitingChangeset':_0x5ac58d,'mutations':_0xe58215,'rev':_0x483095}),this[_0xa9f59e(0x336)][_0xa9f59e(0x2e6)](_0x56d9d1)||this['_scheduleSaving'](_0x56d9d1);}[_0x5a5110(0x257)](_0x4c8618){const _0x52c827=_0x5a5110,_0x4cfe35=this[_0x52c827(0x3a6)]();_0x4cfe35===0x0?this[_0x52c827(0x214)](_0x4c8618):this[_0x52c827(0x336)][_0x52c827(0x2ee)](_0x4c8618,setTimeout(()=>this[_0x52c827(0x214)](_0x4c8618),_0x4cfe35));}['_getSaveTimeout'](){const _0x39b0d1=_0x5a5110;var _0xfc5f9a;return(_0xfc5f9a=this[_0x39b0d1(0x24b)][_0x39b0d1(0x222)](_0x120448[_0x39b0d1(0x427)]))!=null?_0xfc5f9a:_0x120448[_0x39b0d1(0x2d9)];}[_0x5a5110(0x214)](_0x2f4aff){const _0x33d888=_0x5a5110,_0x218e55=this[_0x33d888(0x336)][_0x33d888(0x2e5)](_0x2f4aff);return _0x218e55!==void 0x0&&window['clearTimeout'](_0x218e55),this[_0x33d888(0x3d8)]['setItem'](_0x120448[_0x33d888(0x2a9)](_0x2f4aff),this[_0x33d888(0x319)][_0x33d888(0x2e5)](_0x2f4aff))[_0x33d888(0x38f)](()=>this[_0x33d888(0x336)][_0x33d888(0x352)](_0x2f4aff));}async['exhaustSavingTask'](){const _0x62adbb=_0x5a5110,_0x21244b=[];this[_0x62adbb(0x336)][_0x62adbb(0x30c)]((_0x5b71d5,_0x627bf4)=>{const _0x3574fe=_0x62adbb;window['clearTimeout'](_0x5b71d5),_0x21244b[_0x3574fe(0x403)](this[_0x3574fe(0x214)](_0x627bf4)['then'](()=>{const _0x5b7307=_0x3574fe;this[_0x5b7307(0x336)][_0x5b7307(0x352)](_0x627bf4);}));}),await Promise['all'](_0x21244b);}};_0x17c0b5=_0xde163f([_0x464e53(0x0,_0x5710d6[_0x5a5110(0x367)]),_0x464e53(0x1,_0x5710d6['ILocalStorageService']),_0x464e53(0x2,_0x5710d6[_0x5a5110(0x212)](_0x8dc84['RevisionService']))],_0x17c0b5);class _0x1845f6 extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(){const _0x3a8c90=_0x5a5110;super(),_0xa4d578(this,_0x3a8c90(0x24a)),this[_0x3a8c90(0x24a)]=_0x3ce9b4[_0x3a8c90(0x2cf)](window,'popstate')['pipe'](_0x3ce9b4[_0x3a8c90(0x40f)](this[_0x3a8c90(0x3bd)]),_0x3ce9b4[_0x3a8c90(0x290)](0x1),_0x3ce9b4[_0x3a8c90(0x358)](void 0x0));}['setParam'](_0xff265c,_0x3ce8e4,_0x73fcdc=!0x1){const _0x41b485=_0x5a5110,_0x12d900=new URL(window[_0x41b485(0x224)]['href']);_0x12d900[_0x41b485(0x3ba)][_0x41b485(0x2ee)](_0xff265c,_0x3ce8e4),_0x73fcdc?window[_0x41b485(0x210)][_0x41b485(0x28b)]('','',_0x12d900[_0x41b485(0x412)]()):window['history'][_0x41b485(0x413)]('','',_0x12d900['toString']());}[_0x5a5110(0x2a4)](_0x1eb4ec,_0x4fe3a6=!0x1){const _0x5ae6a6=_0x5a5110,_0x55abf4=new URL(window[_0x5ae6a6(0x224)][_0x5ae6a6(0x2a8)]);_0x55abf4[_0x5ae6a6(0x3ba)][_0x5ae6a6(0x352)](_0x1eb4ec),_0x4fe3a6?window[_0x5ae6a6(0x210)]['replaceState']('','',_0x55abf4['toString']()):window[_0x5ae6a6(0x210)][_0x5ae6a6(0x413)]('','',_0x55abf4[_0x5ae6a6(0x412)]());}['getParam'](_0x2a65f0){const _0x2a332d=_0x5a5110;var _0x185051;return(_0x185051=new URL(window[_0x2a332d(0x224)][_0x2a332d(0x2a8)])[_0x2a332d(0x3ba)][_0x2a332d(0x2e5)](_0x2a65f0))!=null?_0x185051:void 0x0;}}var _0x38d9a5=Object[_0x5a5110(0x3fa)],_0x1e50da=Object['getOwnPropertyDescriptor'],_0x255417=(_0x507080,_0x18449b,_0x23c6e6)=>_0x18449b in _0x507080?_0x38d9a5(_0x507080,_0x18449b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23c6e6}):_0x507080[_0x18449b]=_0x23c6e6,_0x58dd8f=(_0x6940b2,_0x1daebc,_0x1c4885,_0x24d573)=>{for(var _0x4fa32d=_0x24d573>0x1?void 0x0:_0x24d573?_0x1e50da(_0x1daebc,_0x1c4885):_0x1daebc,_0x44261b=_0x6940b2['length']-0x1,_0x4a0329;_0x44261b>=0x0;_0x44261b--)(_0x4a0329=_0x6940b2[_0x44261b])&&(_0x4fa32d=_0x4a0329(_0x4fa32d)||_0x4fa32d);return _0x4fa32d;},_0x5bae46=(_0x4261b0,_0x317bc4)=>(_0xf11f02,_0x44cf44)=>_0x317bc4(_0xf11f02,_0x44cf44,_0x4261b0),_0x544458=(_0x1a5201,_0x341657,_0x56c23e)=>_0x255417(_0x1a5201,_0x341657+'',_0x56c23e);const _0x1115d3=_0x5a5110(0x266);_0x10d773['UniverCollaborationClientUIPlugin']=class extends _0x5710d6['Plugin']{constructor(_0x177cbf=_0x592971,_0x1d5c9e,_0x32d4e6,_0xb75dd6){const _0xe18c39=_0x5a5110;super(),this[_0xe18c39(0x3cb)]=_0x177cbf,this[_0xe18c39(0x2c9)]=_0x1d5c9e,this['_injector']=_0x32d4e6,this[_0xe18c39(0x24b)]=_0xb75dd6;const {..._0x93ffc4}=_0x5710d6[_0xe18c39(0x43a)]({},_0x592971,this['_config']);this[_0xe18c39(0x24b)][_0xe18c39(0x296)](_0x5c5d7c,_0x93ffc4);}[_0x5a5110(0x2fc)](){const _0x171ce4=_0x5a5110;this[_0x171ce4(0x236)](),this[_0x171ce4(0x3ab)]();}['onRendered'](){const _0x291372=_0x5a5110;this[_0x291372(0x1c0)]();}[_0x5a5110(0x236)](){const _0x3e4b54=_0x5a5110;var _0x4fba29;const _0x5759b6=[[_0x3bc8af],[_0x16ec8a],[_0xe1a345],[_0x37a8f0],[_0x4c28fd],[_0x1a9a4c,{'useClass':_0x1845f6}],[_0x554c4c[_0x3e4b54(0x1ef)],{'useClass':_0x554c4c['WebSocketService']}],[_0x120448['ILocalCacheService'],{'useClass':_0x17c0b5}],[_0x10d773[_0x3e4b54(0x1e3)]],[_0x52e285],[_0x1a8f5b],[_0x377ca6],[_0x2c015a],[_0x10d773['CollaborationDataLoaderController']]];_0x5710d6[_0x3e4b54(0x1e7)](this[_0x3e4b54(0x2dc)],_0x5710d6[_0x3e4b54(0x3b5)](_0x5759b6,(_0x4fba29=this[_0x3e4b54(0x3cb)])==null?void 0x0:_0x4fba29[_0x3e4b54(0x42a)]));}[_0x5a5110(0x1c0)](){const _0x382b1c=_0x5a5110;this[_0x382b1c(0x1eb)](this[_0x382b1c(0x2c9)][_0x382b1c(0x277)](_0x5710d6[_0x382b1c(0x35d)][_0x382b1c(0x26c)],[_0x56ec54])),this['disposeWithMe'](this[_0x382b1c(0x2c9)]['registerRenderModule'](_0x5710d6[_0x382b1c(0x35d)]['UNIVER_SHEET'],[_0x158bcb]));}[_0x5a5110(0x3ab)](){const _0x3b80f6=_0x5a5110;_0x5710d6[_0x3b80f6(0x33e)](this[_0x3b80f6(0x2dc)],[[_0x377ca6],[_0x10d773[_0x3b80f6(0x1e3)]],[_0x52e285],[_0x1a8f5b],[_0x10d773[_0x3b80f6(0x2e8)]]]);}},_0x544458(_0x10d773['UniverCollaborationClientUIPlugin'],_0x5a5110(0x42f),_0x1115d3),_0x10d773[_0x5a5110(0x27e)]=_0x58dd8f([_0x5710d6[_0x5a5110(0x42b)](_0x120448[_0x5a5110(0x231)]),_0x5bae46(0x1,_0x5c441d[_0x5a5110(0x33c)]),_0x5bae46(0x2,_0x5710d6[_0x5a5110(0x212)](_0x5710d6['Injector'])),_0x5bae46(0x3,_0x5710d6[_0x5a5110(0x367)])],_0x10d773['UniverCollaborationClientUIPlugin']);var _0x3a37b8=Object[_0x5a5110(0x3c1)],_0x5620a6=(_0x40c8a6,_0x57dc95,_0x46150c,_0x465ed6)=>{const _0x3860e0=_0x5a5110;for(var _0x5c0226=_0x465ed6>0x1?void 0x0:_0x465ed6?_0x3a37b8(_0x57dc95,_0x46150c):_0x57dc95,_0x1ed7c3=_0x40c8a6[_0x3860e0(0x262)]-0x1,_0x3dd112;_0x1ed7c3>=0x0;_0x1ed7c3--)(_0x3dd112=_0x40c8a6[_0x1ed7c3])&&(_0x5c0226=_0x3dd112(_0x5c0226)||_0x5c0226);return _0x5c0226;},_0x33b5bc=(_0x272466,_0x10bb16)=>(_0x417824,_0x40fa33)=>_0x10bb16(_0x417824,_0x40fa33,_0x272466);_0x10d773[_0x5a5110(0x439)]=class extends _0x120448['CollaborationSocketService']{constructor(_0x472bb7,_0x1fe8e4,_0x44ddb6,_0x4900c6,_0x3cf835){super(_0x472bb7,_0x1fe8e4,_0x44ddb6,_0x4900c6,_0x3cf835);}async[_0x5a5110(0x24e)](_0x37e3a9){const _0x148ab7=_0x5a5110,_0x17663a=await this['_getSessionTicket'](),_0x1d1861=this[_0x148ab7(0x21d)](_0x37e3a9,_0x17663a);return this[_0x148ab7(0x324)](_0x1d1861);}[_0x5a5110(0x21d)](_0x518e5c,_0x30af53){const _0x5d3581=_0x5a5110,_0xd4a456=typeof window>'u'?new URL(_0x518e5c):new URL(_0x518e5c,window[_0x5d3581(0x224)]['origin']);_0xd4a456[_0x5d3581(0x3ba)][_0x5d3581(0x2ee)]('sessionTicket',_0x30af53);const _0x160d36=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5d3581(0x224)][_0x5d3581(0x32a)]);return _0x160d36[_0x5d3581(0x2e5)](_0x5d3581(0x39d))&&_0xd4a456['searchParams']['set']('runId',_0x160d36['get'](_0x5d3581(0x39d))),_0xd4a456[_0x5d3581(0x412)]();}async[_0x5a5110(0x443)](){const _0x17e4b4=_0x5a5110;var _0x5365c8,_0x375650,_0x20edcf;const _0x1b2d34=this[_0x17e4b4(0x24b)][_0x17e4b4(0x222)](_0x120448[_0x17e4b4(0x28e)]),_0x4493fd=(_0x5365c8=_0x1b2d34==null?void 0x0:_0x1b2d34['wsSessionTicketUrl'])!=null?_0x5365c8:_0x120448['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x20edcf=(_0x375650=(await this[_0x17e4b4(0x204)][_0x17e4b4(0x2e5)](_0x4493fd,{'headers':{'Content-Type':'application/json'}}))[_0x17e4b4(0x2ce)])==null?void 0x0:_0x375650[_0x17e4b4(0x2cc)])!=null?_0x20edcf:'';}},_0x10d773[_0x5a5110(0x439)]=_0x5620a6([_0x33b5bc(0x0,_0x5710d6[_0x5a5110(0x212)](_0x5710d6['Injector'])),_0x33b5bc(0x1,_0x5710d6[_0x5a5110(0x212)](_0x554c4c[_0x5a5110(0x1bb)])),_0x33b5bc(0x2,_0x5710d6[_0x5a5110(0x367)]),_0x33b5bc(0x3,_0x5710d6['ILogService']),_0x33b5bc(0x4,_0x8dc84[_0x5a5110(0x24c)])],_0x10d773['BrowserCollaborationSocketService']);const _0x5869be=0x7530,_0x1f7ac6=_0x5a5110(0x2c2);class _0x1c44b3 extends _0x5710d6[_0x5a5110(0x274)]{constructor(){const _0x131c54=_0x5a5110;super(),_0xa4d578(this,_0x131c54(0x217),_0x5710d6['generateRandomId']()),_0xa4d578(this,_0x131c54(0x383),new Set()),_0xa4d578(this,_0x131c54(0x3f7),new Map()),_0xa4d578(this,'_heartbeatTimer',null),_0xa4d578(this,_0x131c54(0x364),new Map()),_0xa4d578(this,_0x131c54(0x238),new Map()),this[_0x131c54(0x3a0)]();}[_0x5a5110(0x280)](){const _0xc378df=_0x5a5110;super[_0xc378df(0x280)](),this['_clearOtherTimers'][_0xc378df(0x30c)]((_0x40386c,_0x130de4)=>this[_0xc378df(0x26f)](_0x130de4)),this[_0xc378df(0x1fc)]&&window[_0xc378df(0x1fd)](this['_heartbeatTimer']);}[_0x5a5110(0x418)](_0x4bee78){const _0xabed5d=_0x5a5110;return this[_0xabed5d(0x258)](_0x4bee78)[_0xabed5d(0x1ee)](_0x3ce9b4['distinctUntilChanged']());}[_0x5a5110(0x253)](_0x5bd89a){const _0x53e06e=_0x5a5110;this[_0x53e06e(0x383)][_0x53e06e(0x2b6)]===0x0&&this[_0x53e06e(0x36d)](),this['_selfUnitIDs'][_0x53e06e(0x410)](_0x5bd89a),this[_0x53e06e(0x21f)]({'type':0x0,'memberID':this[_0x53e06e(0x217)],'unitIDs':[_0x5bd89a],'isForwarded':!0x1});}['disposeUnit'](_0x490b51){const _0x23aaac=_0x5a5110;this[_0x23aaac(0x383)]['delete'](_0x490b51),this[_0x23aaac(0x383)][_0x23aaac(0x2b6)]===0x0&&this[_0x23aaac(0x1fc)]&&window[_0x23aaac(0x1fd)](this[_0x23aaac(0x1fc)]);}[_0x5a5110(0x3a0)](){const _0x505931=_0x5a5110;this[_0x505931(0x1eb)](_0x5710d6[_0x505931(0x2d0)](_0x3ce9b4['fromEvent'](window,_0x505931(0x1d4))[_0x505931(0x3d6)](_0x54b7be=>{const _0x57759d=_0x505931;if(_0x54b7be[_0x57759d(0x2f6)]!==_0x1f7ac6||!_0x54b7be[_0x57759d(0x405)])return;const _0x5411eb=JSON['parse'](_0x54b7be[_0x57759d(0x405)]);this[_0x57759d(0x1b7)](_0x5411eb);}))),window['addEventListener']('unload',()=>this[_0x505931(0x21f)]({'type':0x1,'memberID':this[_0x505931(0x217)],'unitIDs':Array[_0x505931(0x202)](this[_0x505931(0x383)])}));}[_0x5a5110(0x1b7)](_0x225749){const _0x576309=_0x5a5110;switch(_0x225749[_0x576309(0x3a9)]){case 0x0:this[_0x576309(0x3ed)](_0x225749);break;case 0x1:this[_0x576309(0x25d)](_0x225749);break;case 0x2:this[_0x576309(0x325)](_0x225749);break;}}['_handleJoinEvent'](_0x1cdc7f){const _0x10108b=_0x5a5110,{unitIDs:_0xc1e2d1,memberID:_0x10b0b3,isForwarded:_0xa7b81f}=_0x1cdc7f;_0xc1e2d1[_0x10108b(0x30c)](_0x3f8f11=>{const _0x4cfd8b=_0x10108b;if(!_0xa7b81f&&this[_0x4cfd8b(0x3f7)]['has'](_0x3f8f11)&&this[_0x4cfd8b(0x258)](_0x3f8f11)[_0x4cfd8b(0x209)](_0x120448[_0x4cfd8b(0x359)][_0x4cfd8b(0x1f6)]),!this['_unitOnClients'][_0x4cfd8b(0x2e6)](_0x3f8f11)||!this[_0x4cfd8b(0x3f7)][_0x4cfd8b(0x2e5)](_0x3f8f11)[_0x4cfd8b(0x2e6)](_0x10b0b3)){const _0x7a382a=this[_0x4cfd8b(0x3f7)][_0x4cfd8b(0x2e5)](_0x3f8f11)||new Set();_0x7a382a[_0x4cfd8b(0x410)](_0x10b0b3),this[_0x4cfd8b(0x3f7)][_0x4cfd8b(0x2ee)](_0x3f8f11,_0x7a382a),this[_0x4cfd8b(0x1dc)](_0x10b0b3);}}),_0xa7b81f||this[_0x10108b(0x21f)]({'type':0x0,'memberID':this[_0x10108b(0x217)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5a5110(0x1dc)](_0x56ebe6){const _0x152ecd=_0x5a5110;this['_removeClearOtherTimer'](_0x56ebe6);const _0x14cb53=window[_0x152ecd(0x406)](()=>{const _0x487e6b=_0x152ecd;this[_0x487e6b(0x3f7)][_0x487e6b(0x30c)](_0xa081ae=>{const _0x904a36=_0x487e6b;_0xa081ae[_0x904a36(0x352)](_0x56ebe6);});},_0x5869be*0x2);this[_0x152ecd(0x364)][_0x152ecd(0x2ee)](_0x56ebe6,_0x14cb53);}[_0x5a5110(0x26f)](_0x19a58f){const _0x2d5d9d=_0x5a5110;if(this[_0x2d5d9d(0x364)][_0x2d5d9d(0x2e6)](_0x19a58f)){const _0x220e18=this[_0x2d5d9d(0x364)][_0x2d5d9d(0x2e5)](_0x19a58f);_0x220e18&&window[_0x2d5d9d(0x30f)](_0x220e18),this[_0x2d5d9d(0x364)][_0x2d5d9d(0x2ee)](_0x19a58f,null);}}['_handleLeaveEvent'](_0x5f41fb){const _0x3be1d8=_0x5a5110,{memberID:_0x5db333,unitIDs:_0x2d6eb7}=_0x5f41fb;_0x2d6eb7[_0x3be1d8(0x30c)](_0x3e29c6=>{const _0x3d619f=_0x3be1d8;var _0x5acb64;const _0x15b6b9=this[_0x3d619f(0x3f7)][_0x3d619f(0x2e5)](_0x3e29c6);_0x15b6b9&&(_0x15b6b9[_0x3d619f(0x352)](_0x5db333),(_0x5acb64=this[_0x3d619f(0x258)](_0x3e29c6))==null||_0x5acb64[_0x3d619f(0x209)](_0x15b6b9[_0x3d619f(0x2b6)]===0x0?_0x120448['UnitStatus'][_0x3d619f(0x2f1)]:_0x120448[_0x3d619f(0x359)][_0x3d619f(0x1f6)]));}),this[_0x3be1d8(0x26f)](_0x5db333);}[_0x5a5110(0x325)](_0x1383e4){const _0x4f5fff=_0x5a5110;this[_0x4f5fff(0x1dc)](_0x1383e4[_0x4f5fff(0x241)]);}['_send'](_0x1dab18){const _0x1906b4=_0x5a5110;localStorage['setItem'](_0x1f7ac6,JSON[_0x1906b4(0x3d1)](_0x1dab18));}[_0x5a5110(0x36d)](){const _0x4e7bf5=_0x5a5110;this[_0x4e7bf5(0x1fc)]=window[_0x4e7bf5(0x31e)](()=>{const _0x4dd30a=_0x4e7bf5;this[_0x4dd30a(0x21f)]({'type':0x2,'memberID':this[_0x4dd30a(0x217)]});},_0x5869be);}[_0x5a5110(0x258)](_0x3776bb){const _0x52fe24=_0x5a5110;return this[_0x52fe24(0x238)]['has'](_0x3776bb)||this[_0x52fe24(0x238)][_0x52fe24(0x2ee)](_0x3776bb,new _0x3ce9b4[(_0x52fe24(0x228))](_0x120448[_0x52fe24(0x359)][_0x52fe24(0x2f1)])),this[_0x52fe24(0x238)][_0x52fe24(0x2e5)](_0x3776bb);}}var _0x6bd707=(_0x3788ae=>(_0x3788ae[_0x3788ae[_0x5a5110(0x38c)]=0x0]='UNDEFINED',_0x3788ae[_0x3788ae['OK']=0x1]='OK',_0x3788ae[_0x3788ae[_0x5a5110(0x3f8)]=0x2]=_0x5a5110(0x3f8),_0x3788ae[_0x3788ae[_0x5a5110(0x374)]=0x3]='PERMISSION_DENIED',_0x3788ae[_0x3788ae[_0x5a5110(0x2ea)]=0x4]=_0x5a5110(0x2ea),_0x3788ae[_0x3788ae[_0x5a5110(0x2f0)]=0x5]=_0x5a5110(0x2f0),_0x3788ae[_0x3788ae['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x3788ae[_0x3788ae[_0x5a5110(0x2b7)]=0x7]=_0x5a5110(0x2b7),_0x3788ae[_0x3788ae[_0x5a5110(0x243)]=0x8]='TOO_MANY_REQUESTS',_0x3788ae[_0x3788ae[_0x5a5110(0x2f8)]=0x9]=_0x5a5110(0x2f8),_0x3788ae[_0x3788ae[_0x5a5110(0x216)]=0xa]=_0x5a5110(0x216),_0x3788ae[_0x3788ae[_0x5a5110(0x1cb)]=0x1389]=_0x5a5110(0x1cb),_0x3788ae[_0x3788ae['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5a5110(0x3a2),_0x3788ae[_0x3788ae[_0x5a5110(0x25f)]=0x1772]=_0x5a5110(0x25f),_0x3788ae[_0x3788ae['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5a5110(0x2a0),_0x3788ae[_0x3788ae['APPLY_REJECT']=0x1b59]=_0x5a5110(0x353),_0x3788ae[_0x3788ae[_0x5a5110(0x1d0)]=0x1b5a]=_0x5a5110(0x1d0),_0x3788ae[_0x3788ae[_0x5a5110(0x1e8)]=0x1b5b]=_0x5a5110(0x1e8),_0x3788ae[_0x3788ae[_0x5a5110(0x315)]=0x1b5c]=_0x5a5110(0x315),_0x3788ae[_0x3788ae[_0x5a5110(0x2d6)]=0x1b5d]=_0x5a5110(0x2d6),_0x3788ae[_0x3788ae[_0x5a5110(0x320)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3788ae[_0x3788ae[_0x5a5110(0x1f0)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3788ae[_0x3788ae[_0x5a5110(0x305)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3788ae[_0x3788ae['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5a5110(0x299),_0x3788ae[_0x3788ae[_0x5a5110(0x2ba)]=0x232c]=_0x5a5110(0x2ba),_0x3788ae[_0x3788ae[_0x5a5110(0x1ab)]=0x232d]=_0x5a5110(0x1ab),_0x3788ae[_0x3788ae[_0x5a5110(0x372)]=0x2711]=_0x5a5110(0x372),_0x3788ae[_0x3788ae[_0x5a5110(0x421)]=0x2712]=_0x5a5110(0x421),_0x3788ae[_0x3788ae[_0x5a5110(0x365)]=0x2713]=_0x5a5110(0x365),_0x3788ae[_0x3788ae[_0x5a5110(0x436)]=0x2714]=_0x5a5110(0x436),_0x3788ae[_0x3788ae[_0x5a5110(0x26b)]=0x271a]=_0x5a5110(0x26b),_0x3788ae[_0x3788ae[_0x5a5110(0x3f2)]=0x271b]=_0x5a5110(0x3f2),_0x3788ae[_0x3788ae[_0x5a5110(0x313)]=0x271c]=_0x5a5110(0x313),_0x3788ae[_0x3788ae[_0x5a5110(0x28a)]=0x271d]=_0x5a5110(0x28a),_0x3788ae[_0x3788ae[_0x5a5110(0x3cf)]=0x271e]=_0x5a5110(0x3cf),_0x3788ae[_0x3788ae[_0x5a5110(0x1fe)]=0x271f]=_0x5a5110(0x1fe),_0x3788ae[_0x3788ae[_0x5a5110(0x395)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3788ae[_0x3788ae[_0x5a5110(0x29b)]=0x2ee1]=_0x5a5110(0x29b),_0x3788ae[_0x3788ae[_0x5a5110(0x3fd)]=0x2ee2]=_0x5a5110(0x3fd),_0x3788ae[_0x3788ae[_0x5a5110(0x34e)]=0x2ee3]=_0x5a5110(0x34e),_0x3788ae[_0x3788ae['USER_NOT_INVITED_CODE']=0x2ee4]=_0x5a5110(0x3e7),_0x3788ae[_0x3788ae[_0x5a5110(0x434)]=0x2ee5]=_0x5a5110(0x434),_0x3788ae[_0x3788ae[_0x5a5110(0x2bd)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3788ae[_0x3788ae[_0x5a5110(0x23d)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3788ae[_0x3788ae[_0x5a5110(0x34a)]=0x32cb]=_0x5a5110(0x34a),_0x3788ae[_0x3788ae[_0x5a5110(0x43b)]=-0x1]='UNRECOGNIZED',_0x3788ae))(_0x6bd707||{}),_0x1a2b34=Object[_0x5a5110(0x3c1)],_0x4cf7d8=(_0x4f29b8,_0x9edb88,_0x28ccae,_0x584b2b)=>{const _0x18234f=_0x5a5110;for(var _0x1cff6e=_0x584b2b>0x1?void 0x0:_0x584b2b?_0x1a2b34(_0x9edb88,_0x28ccae):_0x9edb88,_0x4a7908=_0x4f29b8[_0x18234f(0x262)]-0x1,_0x5bf08f;_0x4a7908>=0x0;_0x4a7908--)(_0x5bf08f=_0x4f29b8[_0x4a7908])&&(_0x1cff6e=_0x5bf08f(_0x1cff6e)||_0x1cff6e);return _0x1cff6e;},_0x51d434=(_0x5c9c61,_0x39b397)=>(_0x143a2f,_0x529485)=>_0x39b397(_0x143a2f,_0x529485,_0x5c9c61);_0x10d773[_0x5a5110(0x2ff)]=class extends _0x5710d6[_0x5a5110(0x274)]{constructor(_0x31deea,_0x3b8679,_0x2de06f){const _0xae8dc6=_0x5a5110;super(),this['_instanceService']=_0x31deea,this[_0xae8dc6(0x204)]=_0x3b8679,this[_0xae8dc6(0x24b)]=_0x2de06f;}async[_0x5a5110(0x2c5)](_0x3e2bed,_0x3057ca,_0x5e08ad,..._0x48fb5b){const _0x401cff=_0x5a5110;var _0x6ea234,_0x2a43b0,_0x499d05,_0x1df628;const _0x44a354=this[_0x401cff(0x295)]['getFocusedUnit']();if(!_0x44a354)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x105fa4=((_0x6ea234=this[_0x401cff(0x24b)][_0x401cff(0x222)](_0x120448['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x6ea234:_0x120448[_0x401cff(0x370)])+'/'+_0x3e2bed+_0x401cff(0x250)+_0x3057ca,_0x7ee9d6=new URL(window[_0x401cff(0x224)][_0x401cff(0x2a8)]),_0xb2f8de={'scriptId':_0x3e2bed,'runId':(_0x2a43b0=_0x7ee9d6['searchParams'][_0x401cff(0x2e5)]('runId'))!=null?_0x2a43b0:'','function':_0x3057ca,'unitId':_0x44a354[_0x401cff(0x39f)](),'argsOfFunction':JSON[_0x401cff(0x3d1)](_0x48fb5b),'invokeId':(_0x499d05=_0x5e08ad[_0x401cff(0x237)])!=null?_0x499d05:'','executionId':(_0x1df628=_0x5e08ad['executionId'])!=null?_0x1df628:''};try{const _0x245c01=await this[_0x401cff(0x204)]['post'](_0x105fa4,{'body':_0xb2f8de});return _0x245c01[_0x401cff(0x2ce)][_0x401cff(0x3f9)]&&_0x245c01[_0x401cff(0x2ce)][_0x401cff(0x3f9)][_0x401cff(0x2e2)]!==_0x6bd707['OK']?_0x401cff(0x309):_0x245c01['body'][_0x401cff(0x2e1)];}catch{return'Failed';}}},_0x10d773[_0x5a5110(0x2ff)]=_0x4cf7d8([_0x51d434(0x0,_0x5710d6[_0x5a5110(0x356)]),_0x51d434(0x1,_0x5710d6[_0x5a5110(0x212)](_0x554c4c[_0x5a5110(0x1bb)])),_0x51d434(0x2,_0x5710d6[_0x5a5110(0x367)])],_0x10d773['RemoteUniscriptService']),_0x10d773[_0x5a5110(0x285)]=_0x251989,_0x10d773[_0x5a5110(0x40c)]=_0x1a9a4c,_0x10d773[_0x5a5110(0x432)]=_0x20d652,_0x10d773['WebBrowserSingleActiveUnitService']=_0x1c44b3,_0x10d773[_0x5a5110(0x37b)]=_0x1845f6,Object[_0x5a5110(0x3fa)](_0x10d773,Symbol['toStringTag'],{'value':'Module'});}));