@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250428-2b6408c → 0.6.10-experimental.20250428-8c74c87

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 _0x1918(){const _0xfeb26f=['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','CollaborationDataLoaderController','UniverNetwork','storage','ENSURE_SNAPSHOT_EXECUTION','setParam','_notificationService','...','ITransformService','replaceDocRanges','Optional','MessageType','1526656IYoZQe','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_updateLocalCursor','disableLocalCache','CollaborationUIEventId','textRanges','getActiveSheet','event$','getUndoRedoMutationParamsCache','_unitStatus','push','history','_startDocCollabCursor','AWAITING','collab-client.tooltip.reconnect','_unitOnClients','UniverEngineRender','WECHAT_HAS_BEEN_BOUND','session.connection-failed','Injector','collabStatus.notCollab','currentColor','EMAIL_HAS_BEEN_BOUND','getOwnPropertyDescriptor','_initEvent','3414303aFwmMG','location','CollaborationStatusDisplay','DocSkeletonManagerService','then','_docSkeletonManagerService','@univerjs/drawing','subscribeEvent','SYNCED','YUUMI_ASYNCIO_CANCELLED','isTransformMutationsWithChangesetSuccess','EffectRefRangId','closePath','imageSourceType','univer-flex\x20univer-mr-2\x20univer-text-[20px]','xlink:href','DocSelectionManagerService','@univerjs/core','replaceState','concat','_dataLoaderService','attrs','_localStorageService','UniverRpc','RemoteUniscriptService','WebURLService','IRemoteInstanceService','_imageIoService','_ensureSubject','_injector','UNAUTHENTICATED','onLocalMutation','undoState','Disposable','@univerjs/sheets','_selfUnitIDs','LICENSE_DISTRO_REJECTED','height','LOGIN_FAILED','mapTo','_render','restore','Plugin','icon','shareReplay','range','show','collabCursorState$','parse','focused$','_updateURLWithCurrentState','IMessageService','Tools','clsx','subUnitId','isActive','UniverIcon','_logService','_handleHover','object','SheetCollabCursorShape','_context','indexOf','_toggleOffline','UniverProCollaboration','UNIVER_SHEET','DOC_RANGE_TYPE','SessionStatus','takeUntil','saveOfflineData','hide','color','NOT_FOUND','Rect','_docTransformSelectionsService','length','_transformHistoryAndStateStack','getOwnPropertySymbols','118265UsFtvp','PY_RUNTIME_SCRIPT_ERROR','search','addObject','runId','getCoordByCell','setTimeout','stringify','_drawRectRange','random','colorChannel1','@univerjs/sheets-ui','getFocusedUnit','with','body','Rectangle','_messageService','AWAITING_WITH_PENDING','_httpService','split','PERMISSION_DENIED','executionId','CollaborationStatus','#fff','SNAPSHOT_HAS_BEEN_REMOVED','amd','addHandlerCallback','url(#off-line-single_clip0_910_343)','complete','collab-text-anchor-','ACTIVE_UNIT_EVENT_CHANNEL','entries','INVITE_CODE_REQUIRED','save','_cursorInfo$','UniverCollaborationClientPlugin','generateRandomId','@univerjs-pro/collaboration-client','use','_removeClearOtherTimer','params','unitID','getVpScrollXYInfoByPosToVp','getCollabCursors$','getSheetId','_textBubble','activeSheet$','YUUMI_RATE_OVER_LIMIT','runRefRangeMutations','_name','whenReady','@univerjs/docs','purple300','_clearOtherTimers','addObjects','makeDirty','tag','collaboration.closeRoom','_setupBeforeClosingHandler','handleInsertCol','runOnServer','getMemberID','_setupSubUnitSync','text','_sheetSkeletonManagerService','send','some','_transformService','collab-text-range-','ticket','univer-text-red-500','InsertRowCommandId','urlChange$','ranges','actions','@univerjs/docs-ui','doc.mutation.rich-text-editing','trim','onStarting','result','univerjs-icon\x20univerjs-icon-','RevisionService','_saveTaskMap','setActiveRange','deepClone','isEditing','m1Prime','_scene','_lastPointer','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_refRangeService','Error','data','_getSessionTicket','YUUMI_SUBSCRIPTION_NOT_FOUND','setAlpha','blue400','status$','_initStatusListener','createIdentifier','_collabCursorController','3lBSzIS','exhaustSavingTask','React','unit','handleInsertRangeMoveRight','transformIMECache','UPDATE_CURSOR','_removeCollabCursors','registerBeforeClose','pipe','_scheduleClearOtherTimer','_renderManagerService','YUUMI_UNABLE_LOAD_URL','black','defs','SetDocZoomRatioOperation','session.collaboration-timeout','Tooltip','_commandService','UniverSheets','getUnitId','merge','syncEditingCollabCursor','_revisionService','getCurrentSelections','uni.network.url-service','_initEntityListener','_updateSubUnitFromURLParams','max','collaboration-client.offline-data-not-saved','font','url(#$1','Vector2','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','children','_collabCursorState$','@univerjs/engine-render','off-line-single','IUIPartsService','RefRangeService','loadOfflineData','getCollabEntity$','includes','YUUMI_NO_CUBOID_FOR_QUESTION','from','DisposableCollection','registerDependencies','backgroundColor','_drawAnchor','_hideTimer','getDocRanges','onPointerEnter$','USERS_LEAVE','HTTPService','getValue','_range','assign','COLORS','CHANGESET_REVISION_CONFILICT','_cursorShapes','INVALID_INVITE_CODE','pushState','values','_hover','permission.content','rgba(255,\x20255,\x20255,\x200.01)','searchParams','filter','href','UniverProCollaborationClient','_handleEvent','createElement','IConfigService','selections','forEach','_session','measureText','size','Unknown\x20user','1516974THGUeG','_draw','column','ILocalCacheService','MOBILE_HAS_BEEN_BOUND','source','idSuffix','entityInit$','transformRemoteChangeset','CONFLICT','unsubscribe','getStateCache','_initStatusComponent','LOCAL_CACHE_INTERVAL','1em','Inject','fillStyle','CollaborationEvent','5yUGtYG','_init','assignAColorForMemberID','triggerDblclick','replace','DocCollaborationEntity','editingUnit','off-line-single_clip0_910_343','_collaborationUIEventService','enableLocalCache','transformStateCache','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','combineLatest','CollaborationController','_initCommandExecutedListener','cursorInfo','_backgroundColor','APPLY_NON_SEQUENTIAL_REVISION','init','_send','_shapes','clearTimeout','_docSkeleton','TOO_MANY_REQUESTS','toRgbString','_localeService','VIEW_MAIN','handleIRemoveCol','memberID','on-line-single_clip0_910_349','CollaborationUIEventService','collabStatus.synced','158443aWyFvr','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getSheetObject','startsWith','_handleLeaveEvent','_assignedColors','registerRenderModule','_createSocketURL','_disabled','getRenderById','SOCKET_FAILED_RETRY','eventID','_startSheetCollabCursor','transformMutationsWithChangeset','toString','_getMergeRange','addEventListener','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','popstate','_handleHeartbeatEvent','defineProperty','M0\x200H16V16H0z','onPointerLeave$','IRenderManagerService','code','ALREADY_EXISTS','_handleJoinEvent','IDocClipboardService','type','_hovered','substring','collab-rect-range-','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','findNodePositionByCharIndex','@univerjs-pro/collaboration','_refreshCollabCursors','react','className','switchMap','Shape','apply','getTypeOfUnitAdded$','_getSaveTimeout','distinctUntilChanged','_onCursorUpdate','IImageIoService','setStateCache','asObservable','LICENSE_IMPORT_SIZE_EXCEEDED','getActiveRange','handleInsertRangeMoveDown','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','transformMutation','LOCAL_CACHE_INTERVAL_KEY','getConfig','getSkeleton','SetSelectionsOperation','fillRule','_anchor','requireSession','DependentOn','univer-flex\x20univer-items-center','transformSelections','handleMoveRange','jsx','_docTransformIMECacheService','toDisposable','_color','_scheduleSaving','hovered','setShapeProps','_roomMembers$','DeleteRangeMoveLeftCommandId','name','arc','_collabSessionService','ThemeService','CONNECTOR_DATA_TOO_LARGE','set','getColor','_updateCollabCursors','IUniverInstanceService','RichTextEditingMutation','_entityInit$','_heartbeatTimer','DocStateChangeManagerService','getCurrentUnitForType','LICENSE_EXPORT_SIZE_EXCEEDED','prototype','ISnapshotServerService','hasOwnProperty','_cursor','UniverDesign','getCellPositionByOffset','string','unitId','rxjs','UniverEngineFormula','getUnitStatus$','jsxs','MemberService','NodePositionConvertToRectRange','mask','_status$','BrowserCollaborationSocketService','debounce','OTHER_CLIENT_EDITING','_uiPartsService','CollaborationSocketService','loadUnit','error','_online','ColorKit','onRendered','RemoveColCommandId','call','isArray','_configService','_transformPreviousActiveRange','DataLoaderService','dispose$','bottom','evenodd','_urlService','cursorInfo$','subunit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getSheetObject','LocaleService','RegularPolygon','red300','ILocalStorageService','getTypeOfUnitDisposed$','INTERNAL_ERROR','rxjs/operators','useCallback','_onRefRangeChange','_labelPosition','UniverDocs','UNRECOGNIZED','min','top','SHEET_VIEWPORT_KEY','translate(.97)','_instanceService','BehaviorSubject','collabStatus.conflict','OFFLINE','UniverProCollaborationClientUi','sheetID','_memberService','getMergeData','getRangePointData','_getAnchorBounding','UniverInstanceType','ICommandService','m2Prime','TEXT_RANGE_LAYER_INDEX','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','deserializeRangeWithSheet','DocIMEInputManagerService','_cachedData','1104600HiHWAu','_colorIndex','FromArray','onCommandExecuted','_docClipboardService','current','beginPath','permission.title','handleInsertRow','redoState','_docTransformStateCacheService','serializeRangeWithSheet','_themeService','labelPosition','lineTo','useDependency','_univerInstanceService','selection','TRANSFORM_CHANGE_OBSERVABLE_TYPE','SheetsSelectionsService','round','_saveCache','ONLINE','getAncestorScale','ILogService','_colorAssignService','onMouseMove','handleDeleteRangeMoveLeft','all','0\x200\x2016\x2016','roomMembers','post','getUniverSheetInstance','svg','none','getUnhiddenWorksheets','INotificationService','map','getSheetBySheetId','has','updateOfflineData','moveTo','currentSkeleton$','path','setUndoRedoMutationParamsCache','currentTheme$','USER_NOT_INVITED_CODE','sessionStatus$','_anchorDot','_id','DEFAULT_WS_SESSION_TICKET_URL','_eventUnsubscribe','roomMembers$','NOT_COLLAB','get','dispose','gold400','NO_OTHER_CLIENTS_EDITING','UNIVER_DOC','url(#on-line-single_clip0_910_349)','debug','getMember','_localCacheService','_onCursorDelete','CollaborationSessionService','react/jsx-runtime','delete','useRef','MoveRangeCommandId','getLocalCacheKey','1146198HhVMqK','collabStatus.fetchMiss','div','saveTaskMap','InsertColCommandId','INVITE_CODE_HAS_BEEN_UES','extend','skeleton','exports','clearInterval','fromEventSubject','row','contains','subscribe','_docSyncEditingCollabCursorService','_docStateChangeManagerService','defIds','SetTextSelectionsOperation','next','COMPLETION_FINISHED','_config','_collaborationController','@univerjs/ui','RemoveRowCommandId','width','function','add','_beforeCloseService','TEXT','startColumn','reconnect','setItem','CLOSE_ROOM','INVITE_CODE_ALREADY_BOUND','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','fromEvent','@univerjs/network','RECT','createInstance','UniverUi','@univerjs/rpc','getRelativeToViewportCoord','ISocketService','PENDING','UniverCollaborationClientUIPlugin','fill','debounceTime','_initResize','[CollaborationDataLoaderController]','APPLY_PERMISSION_DENIED','_registerRenderDependencies','IURLService','displayName','SNAPSHOT_INVALID_SNAPSHOT','UNDEFINED','_toggleOnline','getParam','invokeId','_registerDependencies','@univerjs/engine-formula','Failed','getItem','UnitStatus','docStateChange$','RxDisposable','forwardRef','_doCreateSocket','DesktopCollaborationStatusDisplayController','getCurrent','mutations','INVALID_ARGUMENT','APPLY_REJECT','Warning','#FFF','isTransformMutationFailure','MUTATION','removeParam','_cursors','transform','handleDeleteRangeMoveUp','_syncEditingCollabCursorService','_entities','_getScale','InsertRangeMoveDownCommandId','drawWith','getOffsetConfig','disposeWithMe','resize','_drawTextRange','unshift','onPointerMove$','_transformUndoRedoStack','fillText'];_0x1918=function(){return _0xfeb26f;};return _0x1918();}function _0x4c0a(_0x47ddfb,_0x5d3338){const _0x19186a=_0x1918();return _0x4c0a=function(_0x4c0a16,_0x3a7790){_0x4c0a16=_0x4c0a16-0x1a8;let _0x5f0868=_0x19186a[_0x4c0a16];return _0x5f0868;},_0x4c0a(_0x47ddfb,_0x5d3338);}(function(_0x92917,_0x533afe){const _0x52ea09=_0x4c0a,_0x5b744e=_0x92917();while(!![]){try{const _0x133a40=-parseInt(_0x52ea09(0x432))/0x1+parseInt(_0x52ea09(0x27c))/0x2*(parseInt(_0x52ea09(0x3b1))/0x3)+-parseInt(_0x52ea09(0x2e5))/0x4+parseInt(_0x52ea09(0x412))/0x5*(-parseInt(_0x52ea09(0x400))/0x6)+parseInt(_0x52ea09(0x34c))/0x7+parseInt(_0x52ea09(0x236))/0x8+parseInt(_0x52ea09(0x2fe))/0x9;if(_0x133a40===_0x533afe)break;else _0x5b744e['push'](_0x5b744e['shift']());}catch(_0x2c962f){_0x5b744e['push'](_0x5b744e['shift']());}}}(_0x1918,0x4cc84),function(_0x3d8748,_0x33af46){const _0x2faeaf=_0x4c0a;typeof exports==_0x2faeaf(0x339)&&typeof module<'u'?_0x33af46(exports,require('@univerjs-pro/collaboration-client'),require(_0x2faeaf(0x30f)),require(_0x2faeaf(0x3d5)),require(_0x2faeaf(0x2a0)),require(_0x2faeaf(0x397)),require(_0x2faeaf(0x304)),require(_0x2faeaf(0x1f4)),require(_0x2faeaf(0x37f)),require(_0x2faeaf(0x1b5)),require('@univerjs/engine-formula'),require(_0x2faeaf(0x320)),require('rxjs/operators'),require(_0x2faeaf(0x357)),require(_0x2faeaf(0x277)),require(_0x2faeaf(0x292)),require('@univerjs/design'),require(_0x2faeaf(0x1b7)),require('@univerjs/rpc')):typeof define==_0x2faeaf(0x295)&&define[_0x2faeaf(0x365)]?define([_0x2faeaf(0x284),_0x2faeaf(0x371),_0x2faeaf(0x30f),'@univerjs/engine-render',_0x2faeaf(0x2a0),_0x2faeaf(0x397),'@univerjs/drawing',_0x2faeaf(0x1f4),_0x2faeaf(0x37f),_0x2faeaf(0x1b5),_0x2faeaf(0x2b7),'@univerjs/sheets',_0x2faeaf(0x21a),_0x2faeaf(0x357),'react/jsx-runtime',_0x2faeaf(0x292),'@univerjs/design',_0x2faeaf(0x1b7),_0x2faeaf(0x2a4)],_0x33af46):(_0x3d8748=typeof globalThis<'u'?globalThis:_0x3d8748||self,_0x33af46(_0x3d8748[_0x2faeaf(0x228)]={},_0x3d8748[_0x2faeaf(0x3f6)],_0x3d8748['UniverCore'],_0x3d8748[_0x2faeaf(0x2f5)],_0x3d8748[_0x2faeaf(0x2db)],_0x3d8748['UniverDocsUi'],_0x3d8748['UniverDrawing'],_0x3d8748[_0x2faeaf(0x1f4)],_0x3d8748[_0x2faeaf(0x21e)],_0x3d8748[_0x2faeaf(0x33e)],_0x3d8748[_0x2faeaf(0x1f5)],_0x3d8748[_0x2faeaf(0x3c4)],_0x3d8748[_0x2faeaf(0x1f4)]['operators'],_0x3d8748['UniverSheetsUi'],_0x3d8748[_0x2faeaf(0x3b3)],_0x3d8748[_0x2faeaf(0x2a3)],_0x3d8748[_0x2faeaf(0x1f0)],_0x3d8748[_0x2faeaf(0x3b3)],_0x3d8748[_0x2faeaf(0x315)]));}(this,function(_0x41c194,_0x41dc5f,_0x42b304,_0x409358,_0x43144b,_0x16bb92,_0x187cfb,_0x34f1d4,_0x4e9cff,_0x30bf61,_0x18abe9,_0x29d4a1,_0x18aa85,_0x58ab2b,_0x4d12c8,_0x264d8f,_0x2e5ccb,_0x295c09,_0x3b97e1){'use strict';const _0x540b42=_0x4c0a;var _0x22bf67=Object['defineProperty'],_0x464290=(_0x157ae7,_0x381660,_0x2ed048)=>_0x381660 in _0x157ae7?_0x22bf67(_0x157ae7,_0x381660,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ed048}):_0x157ae7[_0x381660]=_0x2ed048,_0x432cc5=(_0x5d969f,_0x1ac878,_0xddc146)=>_0x464290(_0x5d969f,typeof _0x1ac878!='symbol'?_0x1ac878+'':_0x1ac878,_0xddc146),_0x291583=Object[_0x540b42(0x2fc)],_0x278c3f=(_0x51ee06,_0x46b794,_0x266719,_0x559cf7)=>{const _0x331131=_0x540b42;for(var _0x26a961=_0x559cf7>0x1?void 0x0:_0x559cf7?_0x291583(_0x46b794,_0x266719):_0x46b794,_0x24116a=_0x51ee06[_0x331131(0x349)]-0x1,_0x204ffc;_0x24116a>=0x0;_0x24116a--)(_0x204ffc=_0x51ee06[_0x24116a])&&(_0x26a961=_0x204ffc(_0x26a961)||_0x26a961);return _0x26a961;},_0x457059=(_0x384d19,_0x3fb87c)=>(_0x21315c,_0xd9ecad)=>_0x3fb87c(_0x21315c,_0xd9ecad,_0x384d19);let _0x55be9f=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x197b6d,_0x26121a){const _0x4f78a9=_0x540b42;super(),this['_docClipboardService']=_0x197b6d,this[_0x4f78a9(0x319)]=_0x26121a,this['_init']();}[_0x540b42(0x413)](){const _0x5de0b6=_0x540b42,_0x9530f=this;this[_0x5de0b6(0x2d2)](this[_0x5de0b6(0x23a)]['addClipboardHook']({'onBeforePasteImage':async _0x1c4a58=>{const _0xb7b935=_0x5de0b6,_0x598bed=await _0x9530f[_0xb7b935(0x319)]['saveImage'](_0x1c4a58);return _0x598bed?{'source':_0x598bed[_0xb7b935(0x405)],'imageSourceType':_0x598bed[_0xb7b935(0x30b)]}:null;}}));}};_0x55be9f=_0x278c3f([_0x457059(0x0,_0x16bb92[_0x540b42(0x1ae)]),_0x457059(0x1,_0x187cfb[_0x540b42(0x1c0)])],_0x55be9f);const _0x5d91df=[_0x540b42(0x380),'jiqing500','verdancy600',_0x540b42(0x216),_0x540b42(0x3ac),_0x540b42(0x26e)];class _0x4fb46b extends _0x42b304[_0x540b42(0x31f)]{constructor(){const _0x29ebc1=_0x540b42;super(...arguments),_0x432cc5(this,_0x29ebc1(0x437),new Map()),_0x432cc5(this,_0x29ebc1(0x237),0x0);}['assignAColorForMemberID'](_0x21ca4c){const _0x66e344=_0x540b42;if(this[_0x66e344(0x437)]['has'](_0x21ca4c))return this[_0x66e344(0x437)][_0x66e344(0x26c)](_0x21ca4c);const _0x25d0bb=_0x5d91df[this[_0x66e344(0x237)]];return this['_colorIndex']=(this[_0x66e344(0x237)]+0x1)%_0x5d91df['length'],this[_0x66e344(0x437)]['set'](_0x21ca4c,_0x25d0bb),_0x25d0bb;}}function _0x35765b(_0x340fab){const _0x3575e0=_0x540b42;let _0x58f685='';for(const _0x2d01b4 of _0x340fab){const {startOffset:_0x132d7a,endOffset:_0x5bf86b,isActive:_0x167266,rangeType:_0x5e9e7b,segmentId:_0x4c7890,segmentPage:_0x1ea898}=_0x2d01b4;_0x58f685[_0x3575e0(0x349)]&&(_0x58f685+=','),_0x58f685+=_0x132d7a+':'+_0x5bf86b+':'+(_0x167266?'1':'0')+':'+_0x5e9e7b+':'+_0x4c7890+':'+_0x1ea898;}return _0x58f685;}function _0x47a7cc(_0x4e8388){const _0x3bc84f=_0x540b42,_0x314756=_0x4e8388[_0x3bc84f(0x35f)](','),_0x22b4ac=[];for(const _0x598564 of _0x314756){const [_0x29ed57,_0x313046,_0x1dc7b1,_0x4eee4b,_0x22ebfc,_0x1928aa]=_0x598564['split'](':');_0x22b4ac[_0x3bc84f(0x2ef)]({'startOffset':Number(_0x29ed57),'endOffset':Number(_0x313046),'collapsed':_0x29ed57===_0x313046,'isActive':_0x1dc7b1==='1','rangeType':_0x4eee4b===_0x42b304['DOC_RANGE_TYPE'][_0x3bc84f(0x298)]?_0x42b304[_0x3bc84f(0x340)][_0x3bc84f(0x298)]:_0x42b304[_0x3bc84f(0x340)]['RECT'],'segmentId':typeof _0x22ebfc==_0x3bc84f(0x1f2)?String(_0x22ebfc):'','segmentPage':Number(_0x1928aa!=null?_0x1928aa:-0x1)});}return _0x22b4ac[_0x3bc84f(0x38e)](_0x29b7b3=>_0x29b7b3[_0x3bc84f(0x335)])||(_0x22b4ac[0x0][_0x3bc84f(0x335)]=!0x0),_0x22b4ac;}class _0x42f10f extends _0x42b304[_0x540b42(0x2bc)]{constructor(){const _0x3634e4=_0x540b42;super(...arguments),_0x432cc5(this,_0x3634e4(0x3d4),new _0x34f1d4[(_0x3634e4(0x225))](null)),_0x432cc5(this,_0x3634e4(0x32d),this[_0x3634e4(0x3d4)]['asObservable']());}[_0x540b42(0x3c7)](_0x3a700e){const _0x244b48=_0x540b42,{unitID:_0x1db647,memberID:_0x3fc32f,textRanges:_0x294bfb}=_0x3a700e,_0x3d91c6=_0x35765b(_0x294bfb);if(_0x3d91c6==='')return;const _0x13e624={'unitID':_0x1db647,'memberID':_0x3fc32f,'selection':_0x3d91c6};this[_0x244b48(0x3d4)][_0x244b48(0x28e)](_0x13e624);}}var _0x501578=Object[_0x540b42(0x2fc)],_0x52d4fe=(_0x2f3c58,_0x2d9c82,_0x57ca3f,_0x56ac17)=>{for(var _0x2f09fe=_0x56ac17>0x1?void 0x0:_0x56ac17?_0x501578(_0x2d9c82,_0x57ca3f):_0x2d9c82,_0x299a7e=_0x2f3c58['length']-0x1,_0x31a8d8;_0x299a7e>=0x0;_0x299a7e--)(_0x31a8d8=_0x2f3c58[_0x299a7e])&&(_0x2f09fe=_0x31a8d8(_0x2f09fe)||_0x2f09fe);return _0x2f09fe;},_0xe09db3=(_0x1f55d,_0x2857fd)=>(_0x4131e1,_0x35c4db)=>_0x2857fd(_0x4131e1,_0x35c4db,_0x1f55d);const _0xfb8d78=0x12c,_0x2b19dd=0x64;let _0x39645a=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x427994,_0x2e1245,_0x5eee58,_0x164a73,_0x300537,_0x5943ec,_0x1871a8,_0x40affd,_0x4838c9){const _0x38244=_0x540b42;super(),_0x432cc5(this,_0x38244(0x203),!0x1),_0x432cc5(this,_0x38244(0x413),!0x1),_0x432cc5(this,_0x38244(0x36e),new _0x34f1d4[(_0x38244(0x225))](new Map())),_0x432cc5(this,_0x38244(0x210),this[_0x38244(0x36e)]['asObservable']()),_0x432cc5(this,_0x38244(0x1db),new _0x34f1d4[(_0x38244(0x225))]([])),_0x432cc5(this,_0x38244(0x26a),this[_0x38244(0x1db)][_0x38244(0x3ba)](_0x34f1d4[_0x38244(0x2aa)](_0xfb8d78))),_0x432cc5(this,'_updateLocalCursor',_0x42b304[_0x38244(0x1fd)](_0x453fe5=>{const _0x2a2eba=_0x38244,_0x39e2c9={'eventID':_0x30bf61['CollaborationEvent'][_0x2a2eba(0x3b7)],'data':{'unitID':this[_0x2a2eba(0x375)],'memberID':this[_0x2a2eba(0x3fc)][_0x2a2eba(0x389)](),'selection':_0x35765b(_0x453fe5)}};this[_0x2a2eba(0x3fc)][_0x2a2eba(0x38d)](_0x39e2c9,this[_0x2a2eba(0x375)]);},_0x2b19dd)),(this['unitID']=_0x427994,this[_0x38244(0x3fc)]=_0x2e1245,this[_0x38244(0x31b)]=_0x5eee58,this[_0x38244(0x24f)]=_0x164a73,this[_0x38244(0x22a)]=_0x300537,this[_0x38244(0x2cc)]=_0x5943ec,this[_0x38244(0x38f)]=_0x1871a8,this['_univerInstanceService']=_0x40affd,this['_commandService']=_0x4838c9);}get[_0x540b42(0x421)](){const _0x273319=_0x540b42;return this[_0x273319(0x36e)][_0x273319(0x3e7)]();}get['roomMembers'](){const _0x28edc=_0x540b42;return this[_0x28edc(0x1db)]['getValue']();}['dispose'](){const _0x3c8702=_0x540b42;super[_0x3c8702(0x26d)](),this[_0x3c8702(0x36e)][_0x3c8702(0x28e)](new Map()),this[_0x3c8702(0x36e)]['complete'](),this['_roomMembers$'][_0x3c8702(0x28e)]([]),this[_0x3c8702(0x1db)]['complete']();}[_0x540b42(0x424)](){const _0x52fa17=_0x540b42;this[_0x52fa17(0x413)]||(this[_0x52fa17(0x413)]=!0x0,this[_0x52fa17(0x3fc)]['sessionStatus$'][_0x52fa17(0x3ba)](_0x34f1d4[_0x52fa17(0x342)](this['dispose$']))['subscribe'](_0x5cdfc7=>{const _0x408821=_0x52fa17;_0x5cdfc7===_0x41dc5f[_0x408821(0x341)]['ONLINE']?this[_0x408821(0x2b3)]():this[_0x408821(0x33d)]();}),this[_0x52fa17(0x3fc)]['event$'][_0x52fa17(0x3ba)](_0x34f1d4[_0x52fa17(0x342)](this[_0x52fa17(0x20c)]))[_0x52fa17(0x289)](_0x34119a=>{const _0x5aa72f=_0x52fa17,_0x56a9a5=_0x34119a[_0x5aa72f(0x43d)];_0x56a9a5===_0x30bf61[_0x5aa72f(0x411)][_0x5aa72f(0x3b7)]&&this[_0x5aa72f(0x1bf)](_0x34119a),_0x56a9a5===_0x30bf61[_0x5aa72f(0x411)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x34119a);}),this['disposeWithMe'](this[_0x52fa17(0x3c3)]['onCommandExecuted'](_0x1860b2=>{const _0x25afaa=_0x52fa17,_0x546d10=_0x1860b2['params'];_0x546d10!=null&&this[_0x25afaa(0x203)]&&_0x1860b2['id']===_0x4e9cff[_0x25afaa(0x28d)]['id']&&_0x546d10[_0x25afaa(0x1f3)]===this[_0x25afaa(0x375)]&&_0x546d10[_0x25afaa(0x3a1)]===!0x1&&_0x546d10[_0x25afaa(0x395)][_0x25afaa(0x349)]>0x0&&this[_0x25afaa(0x2e7)](_0x546d10[_0x25afaa(0x395)]);})),this[_0x52fa17(0x2cc)][_0x52fa17(0x32d)][_0x52fa17(0x3ba)](_0x34f1d4[_0x52fa17(0x342)](this[_0x52fa17(0x20c)]))['subscribe'](_0x5104ff=>{const _0x512589=_0x52fa17;if((_0x5104ff==null?void 0x0:_0x5104ff[_0x512589(0x375)])!==this[_0x512589(0x375)])return;const _0x235675={'eventID':_0x30bf61['CollaborationEvent'][_0x512589(0x3b7)],'data':_0x5104ff};this[_0x512589(0x1bf)](_0x235675);}),this[_0x52fa17(0x2d2)](this[_0x52fa17(0x3c3)]['onCommandExecuted'](_0x3c0550=>{const _0x81246b=_0x52fa17;if(_0x3c0550[_0x81246b(0x374)]==null)return;const _0x264df1=_0x3c0550['params'];if(_0x3c0550['id']!==_0x4e9cff[_0x81246b(0x1e6)]['id']||_0x264df1['unitId']!==this[_0x81246b(0x375)])return;const _0x30bffc={'id':_0x81246b(0x398),'params':_0x264df1},_0x33f12a=this[_0x81246b(0x421)];for(const [_0x2d83be,_0x4c5b12]of _0x33f12a){const _0x4db4c2={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x81246b(0x375)],'actions':null,'textRanges':_0x4c5b12[_0x81246b(0x395)]}},_0x1e64e9=this[_0x81246b(0x38f)][_0x81246b(0x1c8)](_0x30bffc,_0x4db4c2,!0x1);if(_0x30bf61[_0x81246b(0x2c6)](_0x1e64e9))throw _0x1e64e9[_0x81246b(0x202)];_0x33f12a['set'](_0x2d83be,{..._0x4c5b12,'ranges':_0x1e64e9[_0x81246b(0x230)][_0x81246b(0x374)][_0x81246b(0x2ea)]});}queueMicrotask(()=>{const _0x38b8cd=_0x81246b;this[_0x38b8cd(0x36e)]['next'](_0x33f12a);});})));}[_0x540b42(0x1bf)](_0x3788e4){const _0x18027c=_0x540b42;var _0x380c88,_0x42b578;const {memberID:_0x284a46,selection:_0x3e0740}=_0x3788e4[_0x18027c(0x3a8)],_0x27326a=_0x47a7cc(_0x3e0740),_0x4cbd9b=(_0x42b578=(_0x380c88=this[_0x18027c(0x22a)][_0x18027c(0x273)](this[_0x18027c(0x375)],_0x284a46))==null?void 0x0:_0x380c88[_0x18027c(0x1dd)])!=null?_0x42b578:_0x18027c(0x3ff),_0x5e9731={'color':this['_colorAssignService'][_0x18027c(0x414)](_0x284a46),'name':_0x4cbd9b,'ranges':_0x27326a},_0x408de8=this[_0x18027c(0x421)];_0x408de8[_0x18027c(0x1e2)](_0x284a46,_0x5e9731),this[_0x18027c(0x36e)][_0x18027c(0x28e)](_0x408de8);}[_0x540b42(0x275)](_0x19925a){const _0x4db940=_0x540b42,{memberID:_0x490a48}=_0x19925a['data'],_0x59dd8e=this['cursorInfo'];_0x59dd8e[_0x4db940(0x278)](_0x490a48),this[_0x4db940(0x36e)][_0x4db940(0x28e)](_0x59dd8e);}[_0x540b42(0x2b3)](){const _0x5e24ce=_0x540b42;var _0x381081;if(this['_online']=!0x0,((_0x381081=this[_0x5e24ce(0x246)][_0x5e24ce(0x358)]())==null?void 0x0:_0x381081['getUnitId']())!==this[_0x5e24ce(0x375)])return;const _0x29ff16=this[_0x5e24ce(0x31b)][_0x5e24ce(0x26c)](_0x4e9cff[_0x5e24ce(0x30e)])[_0x5e24ce(0x3e3)]();Array[_0x5e24ce(0x208)](_0x29ff16)&&_0x29ff16['length']>0x0&&this['_updateLocalCursor'](_0x29ff16);}[_0x540b42(0x33d)](){this['_online']=!0x1;}};_0x39645a=_0x52d4fe([_0xe09db3(0x2,_0x42b304[_0x540b42(0x40f)](_0x42b304['Injector'])),_0xe09db3(0x3,_0x42b304[_0x540b42(0x40f)](_0x4fb46b)),_0xe09db3(0x4,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x1f8)])),_0xe09db3(0x5,_0x42b304['Inject'](_0x42f10f)),_0xe09db3(0x6,_0x30bf61['ITransformService']),_0xe09db3(0x7,_0x42b304[_0x540b42(0x1e5)]),_0xe09db3(0x8,_0x42b304[_0x540b42(0x22f)])],_0x39645a);var _0x4a6ed8=Object['getOwnPropertyDescriptor'],_0x3a3fa4=(_0x9169f,_0xf5af16,_0x22dfcf,_0x2c4ec0)=>{const _0x41266a=_0x540b42;for(var _0x4276d0=_0x2c4ec0>0x1?void 0x0:_0x2c4ec0?_0x4a6ed8(_0xf5af16,_0x22dfcf):_0xf5af16,_0x101439=_0x9169f[_0x41266a(0x349)]-0x1,_0x2841fd;_0x101439>=0x0;_0x101439--)(_0x2841fd=_0x9169f[_0x101439])&&(_0x4276d0=_0x2841fd(_0x4276d0)||_0x4276d0);return _0x4276d0;},_0x249718=(_0x2d603b,_0x3a9de8)=>(_0x1de72d,_0x31000a)=>_0x3a9de8(_0x1de72d,_0x31000a,_0x2d603b);const _0x4b3414=0x12c,_0x186d0f=0x64,_0x415fc3=()=>{let _0x5ed298=[],_0xf6e759=!0x1;return _0x2693e3=>{const _0x1d8ad6=_0x4c0a;_0x5ed298[_0x1d8ad6(0x2ef)](_0x2693e3),_0xf6e759||(_0xf6e759=!0x0,setTimeout(()=>{_0x5ed298['forEach'](_0x31685c=>_0x31685c()),_0x5ed298=[],_0xf6e759=!0x1;}));};};let _0x4c605a=class extends _0x42b304['RxDisposable']{constructor(_0x2c0d58,_0x517218,_0x434bd1,_0x1265e6,_0x44c38b,_0x19eee0,_0x1926f9,_0x2ed14c){const _0x59b2a7=_0x540b42;super(),_0x432cc5(this,'_online',!0x1),_0x432cc5(this,_0x59b2a7(0x413),!0x1),_0x432cc5(this,_0x59b2a7(0x36e),new _0x34f1d4['BehaviorSubject'](new Map())),_0x432cc5(this,_0x59b2a7(0x210),this[_0x59b2a7(0x36e)]['asObservable']()),_0x432cc5(this,_0x59b2a7(0x1db),new _0x34f1d4[(_0x59b2a7(0x225))]([])),_0x432cc5(this,_0x59b2a7(0x26a),this[_0x59b2a7(0x1db)][_0x59b2a7(0x3ba)](_0x34f1d4[_0x59b2a7(0x2aa)](_0x4b3414))),_0x432cc5(this,_0x59b2a7(0x2e7),_0x42b304['debounce']((_0x33d568,_0x3982fa)=>{const _0x567e95=_0x59b2a7,_0x162af1={'eventID':_0x30bf61[_0x567e95(0x411)][_0x567e95(0x3b7)],'data':{'unitID':this[_0x567e95(0x375)],'memberID':this[_0x567e95(0x3fc)][_0x567e95(0x389)](),'selection':_0x18abe9[_0x567e95(0x241)](_0x33d568,_0x3982fa[_0x567e95(0x32b)])}};this[_0x567e95(0x3fc)][_0x567e95(0x38d)](_0x162af1,this[_0x567e95(0x375)]);},_0x186d0f)),(this[_0x59b2a7(0x375)]=_0x2c0d58,this[_0x59b2a7(0x3fc)]=_0x517218,this[_0x59b2a7(0x31b)]=_0x434bd1,this[_0x59b2a7(0x24f)]=_0x1265e6,this[_0x59b2a7(0x22a)]=_0x44c38b,this[_0x59b2a7(0x246)]=_0x19eee0,this[_0x59b2a7(0x3c3)]=_0x1926f9,this['_refRangeService']=_0x2ed14c);}get[_0x540b42(0x421)](){const _0x5e87bc=_0x540b42;return this[_0x5e87bc(0x36e)][_0x5e87bc(0x3e7)]();}get[_0x540b42(0x254)](){const _0x1a9aa4=_0x540b42;return this[_0x1a9aa4(0x1db)]['getValue']();}['dispose'](){const _0x2445be=_0x540b42;super[_0x2445be(0x26d)](),this[_0x2445be(0x36e)][_0x2445be(0x28e)](new Map()),this[_0x2445be(0x36e)][_0x2445be(0x368)](),this[_0x2445be(0x1db)]['next']([]),this['_roomMembers$']['complete']();}[_0x540b42(0x424)](){const _0xc56704=_0x540b42;this[_0xc56704(0x413)]||(this[_0xc56704(0x413)]=!0x0,this[_0xc56704(0x3fc)][_0xc56704(0x265)][_0xc56704(0x3ba)](_0x34f1d4[_0xc56704(0x342)](this[_0xc56704(0x20c)]))[_0xc56704(0x289)](_0xdbd3af=>{const _0x7f7f12=_0xc56704;_0xdbd3af===_0x41dc5f['SessionStatus'][_0x7f7f12(0x24c)]?this[_0x7f7f12(0x2b3)]():this['_toggleOffline']();}),this[_0xc56704(0x3fc)][_0xc56704(0x2ec)][_0xc56704(0x3ba)](_0x34f1d4[_0xc56704(0x342)](this[_0xc56704(0x20c)]))['subscribe'](_0x143680=>{const _0x419a28=_0xc56704,_0x8748d5=_0x143680['eventID'];_0x8748d5===_0x30bf61[_0x419a28(0x411)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x143680),_0x8748d5===_0x30bf61[_0x419a28(0x411)][_0x419a28(0x3e5)]&&this[_0x419a28(0x275)](_0x143680);}),this[_0xc56704(0x21c)](),this[_0xc56704(0x2d2)](this[_0xc56704(0x3c3)]['onCommandExecuted'](_0x1d8404=>{const _0x2d2ea9=_0xc56704;if(this['_online']&&_0x1d8404['id']===_0x29d4a1[_0x2d2ea9(0x1cc)]['id']&&_0x1d8404[_0x2d2ea9(0x374)][_0x2d2ea9(0x1f3)]===this[_0x2d2ea9(0x375)]){const _0xbe1d20=_0x1d8404[_0x2d2ea9(0x374)];this[_0x2d2ea9(0x2e7)](_0xbe1d20[_0x2d2ea9(0x334)],_0xbe1d20[_0x2d2ea9(0x3fa)][0x0]);}})));}[_0x540b42(0x1bf)](_0x3b3d5d){const _0x1dc1a2=_0x540b42;var _0x33780c,_0x18bda8;const {memberID:_0x3f997d,selection:_0x4613a4}=_0x3b3d5d[_0x1dc1a2(0x3a8)],{sheetName:_0x3650f6,range:_0x79544a}=_0x18abe9[_0x1dc1a2(0x233)](_0x4613a4),_0x5a0193={'name':(_0x18bda8=(_0x33780c=this[_0x1dc1a2(0x22a)][_0x1dc1a2(0x273)](this[_0x1dc1a2(0x375)],_0x3f997d))==null?void 0x0:_0x33780c['name'])!=null?_0x18bda8:'Unknown\x20user','range':this[_0x1dc1a2(0x441)](_0x3650f6,_0x79544a),'sheetID':_0x3650f6,'color':this['_colorAssignService'][_0x1dc1a2(0x414)](_0x3f997d),'selection':_0x4613a4},_0x41debb=this['cursorInfo'];_0x41debb[_0x1dc1a2(0x1e2)](_0x3f997d,_0x5a0193),this[_0x1dc1a2(0x36e)]['next'](_0x41debb);}[_0x540b42(0x275)](_0x4ad40d){const _0x20ae4e=_0x540b42,{memberID:_0x30a8ea}=_0x4ad40d[_0x20ae4e(0x3a8)],_0x4d75fb=this['cursorInfo'];_0x4d75fb[_0x20ae4e(0x278)](_0x30a8ea),this[_0x20ae4e(0x36e)][_0x20ae4e(0x28e)](_0x4d75fb);}[_0x540b42(0x441)](_0x119265,_0x2093f1){const _0x53953a=_0x540b42;var _0x50cc99,_0x5d0044;const _0x488e6a=(_0x5d0044=(_0x50cc99=this[_0x53953a(0x246)][_0x53953a(0x256)](this[_0x53953a(0x375)]))==null?void 0x0:_0x50cc99[_0x53953a(0x25c)](_0x119265))==null?void 0x0:_0x5d0044[_0x53953a(0x22b)]();return(_0x488e6a==null?void 0x0:_0x488e6a['find'](_0x5c374a=>_0x42b304[_0x53953a(0x35b)][_0x53953a(0x288)](_0x5c374a,_0x2093f1)))||_0x2093f1;}['_onRefRangeChange'](){const _0x5a11f5=_0x540b42,_0x1f2511=new _0x42b304[(_0x5a11f5(0x3de))](),_0x2320f2=_0x415fc3(),_0x4ab144=()=>{const _0x5eed97=_0x5a11f5;_0x1f2511[_0x5eed97(0x26d)]();const _0x16916f=(_0x4dd387,_0x4723ed,_0x4fbddb,_0x38012c)=>{const _0x315d0e=_0x5eed97;let _0x5f10cb=[];switch(_0x4dd387['id']){case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x1dc)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x251)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)]['DeleteRangeMoveUpCommandId']:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x2cb)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId'][_0x315d0e(0x280)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x387)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId'][_0x315d0e(0x2cf)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x1c5)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x3b5)](_0x4dd387,_0x38012c);break;}case _0x29d4a1['EffectRefRangId'][_0x315d0e(0x393)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x23e)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x27a)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x1d3)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x206)]:{_0x5f10cb=_0x29d4a1[_0x315d0e(0x42d)](_0x4dd387,_0x38012c);break;}case _0x29d4a1[_0x315d0e(0x309)][_0x315d0e(0x293)]:{_0x5f10cb=_0x29d4a1['handleIRemoveRow'](_0x4dd387,_0x38012c);break;}}const _0x33c354=_0x29d4a1[_0x315d0e(0x37c)](_0x5f10cb,_0x38012c),_0x15f884=this[_0x315d0e(0x421)][_0x315d0e(0x26c)](_0x4723ed);if(_0x15f884&&_0x33c354){const _0x5aac38={..._0x15f884,'range':_0x33c354};this['cursorInfo'][_0x315d0e(0x1e2)](_0x4723ed,_0x5aac38),_0x2320f2(()=>{const _0xbe6dd8=_0x315d0e,_0x36294b=this[_0xbe6dd8(0x3a6)]['registerRefRange'](_0x33c354,_0x5ce7f0=>(_0x36294b['dispose'](),_0x16916f(_0x5ce7f0,_0x4723ed,_0x4fbddb,_0x33c354)));_0x1f2511[_0xbe6dd8(0x296)](_0x36294b);});}return{'redos':[],'undos':[]};};this[_0x5eed97(0x421)][_0x5eed97(0x3fb)]((_0x1b1cf5,_0xd85b40)=>{const _0x74206a=_0x5eed97,{range:_0x510c57,sheetID:_0xf59ff8}=_0x1b1cf5,_0x829908=this[_0x74206a(0x3a6)]['registerRefRange'](_0x510c57,_0x4ff24a=>(_0x829908[_0x74206a(0x26d)](),_0x16916f(_0x4ff24a,_0xd85b40,_0xf59ff8,_0x510c57)));_0x1f2511[_0x74206a(0x296)](_0x829908);});};this[_0x5a11f5(0x2d2)](_0x42b304[_0x5a11f5(0x1d6)](this[_0x5a11f5(0x36e)][_0x5a11f5(0x289)](()=>{_0x4ab144();})));}['_toggleOnline'](){const _0x6fd007=_0x540b42;var _0x4e4a8d,_0x14ad40;if(this[_0x6fd007(0x203)]=!0x0,((_0x4e4a8d=this[_0x6fd007(0x246)][_0x6fd007(0x358)]())==null?void 0x0:_0x4e4a8d[_0x6fd007(0x3c5)]())!==this[_0x6fd007(0x375)])return;const _0x42077d=(_0x14ad40=this[_0x6fd007(0x31b)]['get'](_0x29d4a1[_0x6fd007(0x249)])[_0x6fd007(0x3c9)]())==null?void 0x0:_0x14ad40[0x0],_0x269d64=this['_univerInstanceService'][_0x6fd007(0x1ea)](_0x42b304[_0x6fd007(0x22e)][_0x6fd007(0x33f)])[_0x6fd007(0x2eb)]();_0x42077d&&_0x269d64&&this[_0x6fd007(0x2e7)](_0x269d64[_0x6fd007(0x378)](),_0x42077d);}[_0x540b42(0x33d)](){const _0x3cb9b9=_0x540b42;this[_0x3cb9b9(0x203)]=!0x1;}};_0x4c605a=_0x3a3fa4([_0x249718(0x2,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x249718(0x3,_0x42b304['Inject'](_0x4fb46b)),_0x249718(0x4,_0x42b304[_0x540b42(0x40f)](_0x41dc5f['MemberService'])),_0x249718(0x5,_0x42b304[_0x540b42(0x1e5)]),_0x249718(0x6,_0x42b304['ICommandService']),_0x249718(0x7,_0x42b304[_0x540b42(0x40f)](_0x29d4a1[_0x540b42(0x3d8)]))],_0x4c605a);var _0x41c86b=Object[_0x540b42(0x2fc)],_0x165ca3=(_0x8a9ec7,_0x9eb40f,_0x2a401b,_0x4d2d0c)=>{for(var _0x27df4a=_0x4d2d0c>0x1?void 0x0:_0x4d2d0c?_0x41c86b(_0x9eb40f,_0x2a401b):_0x9eb40f,_0x3189b9=_0x8a9ec7['length']-0x1,_0x5b73d1;_0x3189b9>=0x0;_0x3189b9--)(_0x5b73d1=_0x8a9ec7[_0x3189b9])&&(_0x27df4a=_0x5b73d1(_0x27df4a)||_0x27df4a);return _0x27df4a;},_0x4805ec=(_0x3fc046,_0xfc4e5a)=>(_0x4738b5,_0x513a45)=>_0xfc4e5a(_0x4738b5,_0x513a45,_0x3fc046);let _0x1283a0=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x4aec8b,_0x3ea187,_0x265c08){const _0x39e73a=_0x540b42;super(),_0x432cc5(this,_0x39e73a(0x2cd),new Map()),_0x432cc5(this,_0x39e73a(0x1e7),new _0x34f1d4['Subject']()),(this[_0x39e73a(0x246)]=_0x4aec8b,this['_injector']=_0x3ea187,this[_0x39e73a(0x1df)]=_0x265c08,this[_0x39e73a(0x413)]());}['dispose'](){const _0x237ae3=_0x540b42;super[_0x237ae3(0x26d)](),this[_0x237ae3(0x1e7)][_0x237ae3(0x368)](),this[_0x237ae3(0x2cd)][_0x237ae3(0x3fb)](_0x508c8f=>_0x508c8f[_0x237ae3(0x26d)]());}[_0x540b42(0x377)](_0x320e6d){const _0x1a2bef=_0x540b42;return this['_entities']['has'](_0x320e6d)?this[_0x1a2bef(0x2cd)][_0x1a2bef(0x26c)](_0x320e6d)[_0x1a2bef(0x210)]:this[_0x1a2bef(0x1e7)]['pipe'](_0x34f1d4[_0x1a2bef(0x3f4)](_0x91c1fe=>_0x91c1fe['unitID']===_0x320e6d),_0x34f1d4[_0x1a2bef(0x1b9)](_0x4787ea=>_0x4787ea[_0x1a2bef(0x210)]));}[_0x540b42(0x413)](){const _0x5c7d7b=_0x540b42;this['_univerInstanceService'][_0x5c7d7b(0x1bc)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x33f)])['pipe'](_0x34f1d4['takeUntil'](this[_0x5c7d7b(0x20c)]))['subscribe'](async _0x7d76af=>{const _0x5aac7f=_0x5c7d7b,_0x354d46=_0x7d76af['getUnitId'](),_0x27f200=await this[_0x5aac7f(0x43e)](_0x354d46);this[_0x5aac7f(0x1e7)][_0x5aac7f(0x28e)](_0x27f200),this[_0x5aac7f(0x2cd)]['set'](_0x354d46,_0x27f200);}),this[_0x5c7d7b(0x246)][_0x5c7d7b(0x1bc)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x270)])[_0x5c7d7b(0x3ba)](_0x34f1d4[_0x5c7d7b(0x342)](this[_0x5c7d7b(0x20c)]))[_0x5c7d7b(0x3ba)](_0x34f1d4[_0x5c7d7b(0x3f4)](_0x28902a=>!_0x28902a['getUnitId']()[_0x5c7d7b(0x435)]('__')))[_0x5c7d7b(0x289)](async _0x338ae4=>{const _0x2e8056=_0x5c7d7b,_0x124283=_0x338ae4['getUnitId'](),_0x5c5f0a=await this[_0x2e8056(0x2f1)](_0x124283);this[_0x2e8056(0x1e7)][_0x2e8056(0x28e)](_0x5c5f0a),this[_0x2e8056(0x2cd)]['set'](_0x124283,_0x5c5f0a);}),_0x34f1d4['merge'](this[_0x5c7d7b(0x246)][_0x5c7d7b(0x218)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x270)]),this[_0x5c7d7b(0x246)][_0x5c7d7b(0x218)](_0x42b304[_0x5c7d7b(0x22e)][_0x5c7d7b(0x33f)]))[_0x5c7d7b(0x3ba)](_0x34f1d4[_0x5c7d7b(0x342)](this['dispose$']))[_0x5c7d7b(0x289)](_0x83c762=>{const _0x396048=_0x5c7d7b,_0x506f03=_0x83c762[_0x396048(0x3c5)](),_0x7c0b64=this['_entities'][_0x396048(0x26c)](_0x506f03);_0x7c0b64&&(_0x7c0b64[_0x396048(0x26d)](),this['_entities']['delete'](_0x506f03));});}async[_0x540b42(0x43e)](_0x2ce6ac){const _0x25801e=_0x540b42,_0xf4ba8c=await this['_collabSessionService'][_0x25801e(0x1cf)](_0x2ce6ac),_0x581fff=this[_0x25801e(0x31b)][_0x25801e(0x2a2)](_0x4c605a,_0x2ce6ac,_0xf4ba8c);return _0x581fff[_0x25801e(0x424)](),_0x581fff;}async[_0x540b42(0x2f1)](_0x4b5ed){const _0x19d4a4=_0x540b42,_0x18d7cc=await this[_0x19d4a4(0x1df)][_0x19d4a4(0x1cf)](_0x4b5ed),_0x4b10c1=this[_0x19d4a4(0x31b)]['createInstance'](_0x39645a,_0x4b5ed,_0x18d7cc);return _0x4b10c1['init'](),_0x4b10c1;}};_0x1283a0=_0x165ca3([_0x4805ec(0x0,_0x42b304[_0x540b42(0x1e5)]),_0x4805ec(0x1,_0x42b304['Inject'](_0x42b304[_0x540b42(0x2f8)])),_0x4805ec(0x2,_0x42b304['Inject'](_0x41dc5f[_0x540b42(0x276)]))],_0x1283a0);const _0x13f46c=0x14,_0x56c37c=0xc8,_0x443213=0x4,_0xd989f=0x5;function _0x199333(_0xf16bef,_0x479ac0){const _0x4f0152=_0x540b42;let {radius:_0x107fe6,width:_0x3f9072,height:_0x25ad93}=_0x479ac0;_0x107fe6=_0x107fe6!=null?_0x107fe6:0x0,_0x3f9072=_0x3f9072!=null?_0x3f9072:0x1e,_0x25ad93=_0x25ad93!=null?_0x25ad93:0x1e;let _0x1866cb=0x0,_0x215a2a=0x0,_0x57632b=0x0;_0x1866cb=_0x215a2a=_0x57632b=Math[_0x4f0152(0x220)](_0x107fe6,_0x3f9072/0x2,_0x25ad93/0x2),_0xf16bef[_0x4f0152(0x23c)](),_0xf16bef[_0x4f0152(0x25f)](_0x1866cb,0x0),_0xf16bef[_0x4f0152(0x244)](_0x3f9072-_0x215a2a,0x0),_0xf16bef[_0x4f0152(0x1de)](_0x3f9072-_0x215a2a,_0x215a2a,_0x215a2a,Math['PI']*0x3/0x2,0x0,!0x1),_0xf16bef[_0x4f0152(0x244)](_0x3f9072,_0x25ad93-_0x57632b),_0xf16bef[_0x4f0152(0x1de)](_0x3f9072-_0x57632b,_0x25ad93-_0x57632b,_0x57632b,0x0,Math['PI']/0x2,!0x1),_0xf16bef['lineTo'](0x0,_0x25ad93),_0xf16bef[_0x4f0152(0x244)](0x0,_0x1866cb),_0xf16bef[_0x4f0152(0x1de)](_0x1866cb,_0x1866cb,_0x1866cb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xf16bef[_0x4f0152(0x30a)](),_0x479ac0['fill']&&(_0xf16bef[_0x4f0152(0x36d)](),_0xf16bef[_0x4f0152(0x410)]=_0x479ac0[_0x4f0152(0x2a9)],_0x479ac0[_0x4f0152(0x1cd)]==='evenodd'?_0xf16bef['fill'](_0x4f0152(0x20e)):_0xf16bef[_0x4f0152(0x2a9)](),_0xf16bef[_0x4f0152(0x327)]());}class _0x1f5103 extends _0x409358[_0x540b42(0x1ba)]{constructor(_0x17d2ff,_0x58f2dd){const _0x870c2f=_0x540b42;super(_0x17d2ff,_0x58f2dd),_0x432cc5(this,_0x870c2f(0x345)),_0x432cc5(this,_0x870c2f(0x38b)),(this['color']=_0x58f2dd==null?void 0x0:_0x58f2dd[_0x870c2f(0x345)],this['text']=_0x58f2dd==null?void 0x0:_0x58f2dd['text']);}static[_0x540b42(0x2d0)](_0x22f8f1,_0x14d5dc){const _0x4a98ee=_0x540b42,{text:_0x597cab,color:_0x3580a7}=_0x14d5dc;_0x22f8f1[_0x4a98ee(0x36d)](),_0x22f8f1[_0x4a98ee(0x3cf)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3a046e=_0x22f8f1[_0x4a98ee(0x3fd)](_0x597cab)[_0x4a98ee(0x294)],_0x3430de=Math[_0x4a98ee(0x220)](_0x3a046e+0x2*_0x443213,_0x56c37c);_0x199333(_0x22f8f1,{'height':_0x13f46c,'radius':0x4,'width':_0x3430de,'fill':_0x3580a7}),_0x22f8f1[_0x4a98ee(0x410)]=_0x4a98ee(0x2c5);const _0x3e85dc=_0x443213,_0x182a59=_0x13f46c-_0xd989f,_0x48adf9=_0x56c37c-0x2*_0x443213;if(_0x3a046e>_0x48adf9){let _0x421c7b='',_0x35e22a=0x0;for(const _0x2a15d2 of _0x597cab){const _0x10aba8=_0x22f8f1['measureText'](_0x2a15d2)[_0x4a98ee(0x294)];if(_0x35e22a+_0x10aba8<=_0x48adf9-_0x22f8f1[_0x4a98ee(0x3fd)](_0x4a98ee(0x2e0))['width'])_0x421c7b+=_0x2a15d2,_0x35e22a+=_0x10aba8;else{_0x421c7b+=_0x4a98ee(0x2e0);break;}}_0x22f8f1[_0x4a98ee(0x2d8)](_0x421c7b,_0x3e85dc,_0x182a59);}else _0x22f8f1['fillText'](_0x597cab,_0x3e85dc,_0x182a59);_0x22f8f1[_0x4a98ee(0x327)]();}['_draw'](_0x48beba){const _0x3ea130=_0x540b42;_0x1f5103[_0x3ea130(0x2d0)](_0x48beba,this);}}const _0x3d3f7e=_0x540b42(0x369),_0x26b8ce=_0x540b42(0x390),_0x2c949e=_0x540b42(0x1b2),_0x459003=0x6,_0x3f6915=1.5,_0x499257=0x4,_0xde2a7c=1.5,_0x16081c=_0x540b42(0x3f2);class _0x26fd2c{constructor(_0x450f54,_0x563318,_0xf5bb57,_0x28ddcc){const _0x1a0244=_0x540b42;_0x432cc5(this,'_shapes',[]),_0x432cc5(this,_0x1a0244(0x1ce),null),_0x432cc5(this,'_textBubble',null),_0x432cc5(this,'_anchorDot',null),_0x432cc5(this,_0x1a0244(0x3e2),null),_0x432cc5(this,_0x1a0244(0x269),null),(this[_0x1a0244(0x1ef)]=_0x450f54,this['_scene']=_0x563318,this[_0x1a0244(0x428)]=_0xf5bb57,this['_document']=_0x28ddcc,this['_render']());}set[_0x540b42(0x3f0)](_0x49ae1a){const _0x3a668e=_0x540b42;_0x49ae1a?(this[_0x3a668e(0x266)]&&this[_0x3a668e(0x266)]['hide'](),this['_textBubble']&&this[_0x3a668e(0x379)][_0x3a668e(0x32c)]()):(this[_0x3a668e(0x266)]&&this[_0x3a668e(0x266)][_0x3a668e(0x32c)](),this[_0x3a668e(0x379)]&&this[_0x3a668e(0x379)][_0x3a668e(0x344)]());}['dispose'](){const _0x5d8828=_0x540b42;for(const _0x165d9a of this['_shapes'])_0x165d9a[_0x5d8828(0x26d)]();this[_0x5d8828(0x379)]&&this[_0x5d8828(0x379)][_0x5d8828(0x26d)](),this[_0x5d8828(0x266)]&&this[_0x5d8828(0x266)][_0x5d8828(0x26d)](),this[_0x5d8828(0x1ce)]&&this['_anchor'][_0x5d8828(0x26d)](),this[_0x5d8828(0x269)]&&this[_0x5d8828(0x269)]();}[_0x540b42(0x326)](){const _0x45d71d=_0x540b42;var _0x25ee11;const {_docSkeleton:_0x3e816f,_document:_0x2a236c}=this,{color:_0x16f172,name:_0x3b4dee,ranges:_0x128073}=this[_0x45d71d(0x1ef)],_0x370de4=_0x2a236c[_0x45d71d(0x2d1)](),{docsLeft:_0x32b273,docsTop:_0x3cf9a1}=_0x370de4,_0x6972b8=new _0x16bb92['NodePositionConvertToCursor'](_0x370de4,_0x3e816f);for(const {startOffset:_0x1cd9ff,endOffset:_0x23a317,rangeType:_0x427ed2,segmentId:_0x545164,segmentPage:_0x445859,collapsed:_0x5b0a09,isActive:_0x3756d7}of _0x128073){const _0x2058f7=_0x3e816f[_0x45d71d(0x1b4)](_0x1cd9ff,!0x0,_0x545164,_0x445859);let _0x491c1e=_0x3e816f['findNodePositionByCharIndex'](_0x23a317,!0x0,_0x545164,_0x445859);if(_0x491c1e==null&&(_0x491c1e=_0x3e816f[_0x45d71d(0x1b4)](_0x23a317-0x1,!0x1,_0x545164,_0x445859)),_0x3756d7){const {contentBoxPointGroup:_0x1c3a5f}=_0x6972b8[_0x45d71d(0x22c)](_0x491c1e,_0x491c1e);if(_0x1c3a5f[_0x45d71d(0x349)]===0x0)continue;this[_0x45d71d(0x3e1)](_0x16f172,_0x1c3a5f,_0x32b273,_0x3cf9a1,_0x3b4dee),this[_0x45d71d(0x269)]=this[_0x45d71d(0x338)]();}if(_0x2058f7&&_0x491c1e){if(_0x427ed2===_0x42b304[_0x45d71d(0x340)][_0x45d71d(0x2a1)]){const _0x4e0bf3=new _0x16bb92[(_0x45d71d(0x1f9))](_0x370de4,_0x3e816f),{pointGroup:_0x43d1f3}=(_0x25ee11=_0x4e0bf3[_0x45d71d(0x22c)](_0x2058f7,_0x491c1e))!=null?_0x25ee11:{};if(_0x43d1f3==null||_0x43d1f3[_0x45d71d(0x349)]===0x0)continue;this[_0x45d71d(0x354)](_0x16f172,_0x43d1f3,_0x32b273,_0x3cf9a1);}else{if(!_0x5b0a09){const {borderBoxPointGroup:_0x148dee}=_0x6972b8[_0x45d71d(0x22c)](_0x2058f7,_0x491c1e);if(_0x148dee['length']===0x0)continue;this['_drawTextRange'](_0x16f172,_0x148dee,_0x32b273,_0x3cf9a1);}}}}}[_0x540b42(0x3e1)](_0x2a907f,_0x145f1b,_0x12810d,_0xff7c89,_0xc5b7ff){const _0x539307=_0x540b42,_0xb7331f=this[_0x539307(0x22d)](_0x145f1b),{left:_0x56c26e,top:_0x4dbb27,height:_0x120716}=_0xb7331f,_0x3bf0a8=this[_0x539307(0x2ce)](),_0x203647=_0xde2a7c/_0x3bf0a8,_0x3b0531=new _0x409358[(_0x539307(0x347))](_0x3d3f7e+_0x42b304[_0x539307(0x332)][_0x539307(0x370)](_0x459003),{'left':_0x56c26e+_0x12810d-_0x203647,'top':_0x4dbb27+_0xff7c89,'height':_0x120716,'width':_0x3f6915,'fill':_0x2a907f||_0x409358['getColor'](_0x42b304[_0x539307(0x3ea)][_0x539307(0x3be)],0x0),'strokeWidth':_0x203647,'stroke':_0x16081c,'evented':!0x0});this[_0x539307(0x1ce)]=_0x3b0531,this[_0x539307(0x3a3)][_0x539307(0x34f)](_0x3b0531,_0x16bb92[_0x539307(0x231)]);const _0x48ee68=new _0x409358[(_0x539307(0x347))](_0x3d3f7e+_0x42b304[_0x539307(0x332)][_0x539307(0x370)](_0x459003),{'left':_0x56c26e+_0x12810d-_0x203647,'top':_0x4dbb27+_0xff7c89-_0x499257/0x2,'height':_0x499257,'width':_0x499257,'fill':_0x2a907f||_0x409358[_0x539307(0x1e3)](_0x42b304[_0x539307(0x3ea)][_0x539307(0x3be)],0x0),'strokeWidth':0x0,'stroke':_0x2a907f||_0x409358[_0x539307(0x1e3)](_0x42b304['COLORS'][_0x539307(0x3be)],0x0),'evented':!0x1});this[_0x539307(0x266)]=_0x48ee68,this[_0x539307(0x3a3)][_0x539307(0x34f)](_0x48ee68,_0x16bb92['TEXT_RANGE_LAYER_INDEX']);const _0x1aa23c=new _0x1f5103(_0x3d3f7e+_0x42b304[_0x539307(0x332)][_0x539307(0x370)](_0x459003),{'left':_0x56c26e+_0x12810d-_0x203647,'top':_0x4dbb27+_0xff7c89-_0x13f46c,'text':_0xc5b7ff,'color':_0x2a907f});this[_0x539307(0x379)]=_0x1aa23c,this[_0x539307(0x3a3)]['addObject'](_0x1aa23c,_0x16bb92['TEXT_RANGE_LAYER_INDEX']),this[_0x539307(0x3f0)]=!0x1;}[_0x540b42(0x338)](){const _0x362cb3=_0x540b42,_0x2d693b=this[_0x362cb3(0x1ce)][_0x362cb3(0x3e4)][_0x362cb3(0x305)](()=>{const _0x47bd48=_0x362cb3;this[_0x47bd48(0x3f0)]=!0x0;}),_0x5aa62b=this[_0x362cb3(0x1ce)][_0x362cb3(0x1a9)][_0x362cb3(0x305)](()=>{const _0x49a89d=_0x362cb3;this[_0x49a89d(0x3e2)]&&clearTimeout(this[_0x49a89d(0x3e2)]),this[_0x49a89d(0x3e2)]=setTimeout(()=>{const _0x1897d9=_0x49a89d;this[_0x1897d9(0x3f0)]=!0x1;},0x7d0);});return()=>{const _0x2db34e=_0x362cb3;_0x2d693b[_0x2db34e(0x40a)](),_0x5aa62b[_0x2db34e(0x40a)]();};}[_0x540b42(0x2d4)](_0x4ebaf3,_0x39df20,_0x523b9f,_0xd8245a){const _0x4474e5=_0x540b42,_0x9bc295=new _0x42b304[(_0x4474e5(0x204))](_0x4ebaf3)[_0x4474e5(0x3ab)](0.2)[_0x4474e5(0x42a)](),_0x4441c2=new _0x409358[(_0x4474e5(0x215))](_0x26b8ce+_0x42b304[_0x4474e5(0x332)][_0x4474e5(0x370)](_0x459003),{'pointsGroup':_0x39df20,'fill':_0x9bc295||_0x409358[_0x4474e5(0x1e3)](_0x42b304[_0x4474e5(0x3ea)][_0x4474e5(0x3be)],0.2),'left':_0x523b9f,'top':_0xd8245a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4474e5(0x426)]['push'](_0x4441c2),this[_0x4474e5(0x3a3)][_0x4474e5(0x34f)](_0x4441c2,_0x16bb92[_0x4474e5(0x231)]);}[_0x540b42(0x354)](_0x333f83,_0x20f05b,_0x18369c,_0x5070c8){const _0x28a63d=_0x540b42,_0x45bce0=new _0x42b304[(_0x28a63d(0x204))](_0x333f83)['setAlpha'](0.2)['toRgbString'](),_0x54c32e=new _0x409358[(_0x28a63d(0x215))](_0x2c949e+_0x42b304[_0x28a63d(0x332)]['generateRandomId'](_0x459003),{'pointsGroup':_0x20f05b,'fill':_0x45bce0||_0x409358[_0x28a63d(0x1e3)](_0x42b304[_0x28a63d(0x3ea)]['black'],0.2),'left':_0x18369c,'top':_0x5070c8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28a63d(0x426)][_0x28a63d(0x2ef)](_0x54c32e),this[_0x28a63d(0x3a3)][_0x28a63d(0x34f)](_0x54c32e,_0x16bb92[_0x28a63d(0x231)]);}['_getAnchorBounding'](_0x32a2a3){const _0x2bd4d9=_0x32a2a3[0x0],_0x78cbbd=_0x2bd4d9[0x0],_0x514353=_0x2bd4d9[0x2],{x:_0x1a0fab,y:_0x2e95c2}=_0x78cbbd,{x:_0x2bcdf2,y:_0x56050e}=_0x514353;return{'left':_0x1a0fab,'top':_0x2e95c2,'width':_0x2bcdf2-_0x1a0fab,'height':_0x56050e-_0x2e95c2};}[_0x540b42(0x2ce)](){const _0x370f50=_0x540b42,{scaleX:_0x8bf2b,scaleY:_0x358c7f}=this['_scene'][_0x370f50(0x24d)]();return Math[_0x370f50(0x3cd)](_0x8bf2b,_0x358c7f);}}var _0x1ded05=Object[_0x540b42(0x2fc)],_0x2aae77=(_0x290ee,_0x4eb9de,_0x7ddb0d,_0x239771)=>{const _0x34c59c=_0x540b42;for(var _0x284cd4=_0x239771>0x1?void 0x0:_0x239771?_0x1ded05(_0x4eb9de,_0x7ddb0d):_0x4eb9de,_0x17db62=_0x290ee[_0x34c59c(0x349)]-0x1,_0x1fcfbb;_0x17db62>=0x0;_0x17db62--)(_0x1fcfbb=_0x290ee[_0x17db62])&&(_0x284cd4=_0x1fcfbb(_0x284cd4)||_0x284cd4);return _0x284cd4;},_0x4ad5e0=(_0x18bfd6,_0x25ef8e)=>(_0x232840,_0x4e2178)=>_0x25ef8e(_0x232840,_0x4e2178,_0x18bfd6);let _0x50cbf7=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x928961,_0x302c3b,_0x3a1f41,_0x5917b1,_0xc4bb79){const _0xe05ad=_0x540b42;super(),_0x432cc5(this,'_cursorShapes',[]),_0x432cc5(this,_0xe05ad(0x2c9),[]),(this[_0xe05ad(0x33b)]=_0x928961,this[_0xe05ad(0x303)]=_0x302c3b,this[_0xe05ad(0x3b0)]=_0x3a1f41,this[_0xe05ad(0x3c3)]=_0x5917b1,this['_themeService']=_0xc4bb79,this[_0xe05ad(0x413)]());}[_0x540b42(0x413)](){const _0x4cddc1=_0x540b42,_0x248589=this['_context'][_0x4cddc1(0x1f3)],_0x350220=this[_0x4cddc1(0x303)];this[_0x4cddc1(0x2d2)](_0x34f1d4[_0x4cddc1(0x41e)]([this[_0x4cddc1(0x3b0)][_0x4cddc1(0x377)](_0x248589),this['_themeService'][_0x4cddc1(0x263)]])[_0x4cddc1(0x3ba)](_0x18aa85[_0x4cddc1(0x25b)](([_0x2e7273,_0x2046e1])=>({'skeleton':_0x350220['getSkeleton'](),'cursors':[..._0x2e7273[_0x4cddc1(0x3ef)]()]['flatMap'](_0x20e47d=>({..._0x20e47d,'color':_0x2046e1[_0x20e47d['color']]}))})))[_0x4cddc1(0x289)](_0x5a0144=>{const _0x98a0dc=_0x4cddc1;if(this[_0x98a0dc(0x3b8)](),_0x5a0144){const {skeleton:_0x807e9d,cursors:_0x38441e}=_0x5a0144;this[_0x98a0dc(0x1e4)](_0x807e9d,_0x38441e);}})),this['_initResize'](),this[_0x4cddc1(0x420)]();}[_0x540b42(0x1e4)](_0x18f443,_0x4cd413){const _0x3ef50d=_0x540b42,{scene:_0x52e771,mainComponent:_0x5c54d8}=this['_context'],_0x273d67=_0x4cd413[_0x3ef50d(0x25b)](_0x46acbd=>new _0x26fd2c(_0x46acbd,_0x52e771,_0x18f443,_0x5c54d8));this['_cursorShapes']=_0x273d67,this[_0x3ef50d(0x2c9)]=_0x4cd413;}[_0x540b42(0x1b6)](){const _0x1e1c22=_0x540b42;this[_0x1e1c22(0x3b8)]();const {scene:_0x3d2a5d,mainComponent:_0x3eea5a}=this[_0x1e1c22(0x33b)],_0x130e97=this[_0x1e1c22(0x303)][_0x1e1c22(0x1cb)](),_0x4326b1=this['_cursors'][_0x1e1c22(0x25b)](_0x3295b0=>new _0x26fd2c(_0x3295b0,_0x3d2a5d,_0x130e97,_0x3eea5a));this['_cursorShapes']=_0x4326b1;}[_0x540b42(0x3b8)](){const _0x421241=_0x540b42;this[_0x421241(0x3ec)][_0x421241(0x3fb)](_0x4d7f7c=>_0x4d7f7c[_0x421241(0x26d)]()),this[_0x421241(0x3ec)]=[];}['_initCommandExecutedListener'](){const _0x298a1a=_0x540b42,_0x4273b6=[_0x16bb92[_0x298a1a(0x3c0)]['id']];this[_0x298a1a(0x2d2)](this[_0x298a1a(0x3c3)][_0x298a1a(0x239)](_0x4017c7=>{const _0x4a4cca=_0x298a1a;_0x4273b6[_0x4a4cca(0x3db)](_0x4017c7['id'])&&_0x4017c7['params'][_0x4a4cca(0x1f3)]===this[_0x4a4cca(0x33b)][_0x4a4cca(0x1f3)]&&this[_0x4a4cca(0x1b6)]();}));}[_0x540b42(0x2ab)](){const _0x42dec8=_0x540b42;this['disposeWithMe'](_0x42b304[_0x42dec8(0x286)](this[_0x42dec8(0x33b)]['engine']['onTransformChange$'])['pipe'](_0x18aa85['filter'](_0x4baa51=>_0x4baa51[_0x42dec8(0x1af)]===_0x409358[_0x42dec8(0x248)][_0x42dec8(0x2d3)]),_0x18aa85['throttleTime'](0x10))[_0x42dec8(0x289)](()=>{const _0x300f60=_0x42dec8;this[_0x300f60(0x1b6)]();}));}};_0x50cbf7=_0x2aae77([_0x4ad5e0(0x1,_0x42b304[_0x540b42(0x40f)](_0x4e9cff[_0x540b42(0x301)])),_0x4ad5e0(0x2,_0x42b304[_0x540b42(0x40f)](_0x1283a0)),_0x4ad5e0(0x3,_0x42b304[_0x540b42(0x22f)]),_0x4ad5e0(0x4,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x1e0)]))],_0x50cbf7);const _0xc6f7ea=0x1,_0x5b6387=1.5;class _0x41d68b extends _0x409358[_0x540b42(0x1ba)]{constructor(_0x572b54,_0x3a76bd){const _0x307302=_0x540b42;super(_0x572b54,_0x3a76bd),_0x432cc5(this,'_color'),_0x432cc5(this,_0x307302(0x1b0),!0x1),_0x432cc5(this,_0x307302(0x3e8)),_0x432cc5(this,_0x307302(0x37d),''),_0x432cc5(this,_0x307302(0x21d),_0x307302(0x221)),_0x432cc5(this,'_backgroundColor'),(_0x3a76bd&&this[_0x307302(0x1da)](_0x3a76bd),this[_0x307302(0x3e4)]['subscribeEvent'](()=>this[_0x307302(0x1da)]({'hovered':!0x0})),this[_0x307302(0x1a9)]['subscribeEvent'](()=>this[_0x307302(0x1da)]({'hovered':!0x1})));}[_0x540b42(0x1da)](_0x473f3f){const _0x1ee945=_0x540b42;var _0x639206,_0x1fbe83,_0x1156e4,_0x384817,_0x78598f,_0x34b2c6;this[_0x1ee945(0x1d7)]=(_0x639206=_0x473f3f[_0x1ee945(0x345)])!=null?_0x639206:this[_0x1ee945(0x1d7)],this[_0x1ee945(0x1b0)]=(_0x1fbe83=_0x473f3f[_0x1ee945(0x1d9)])!=null?_0x1fbe83:this[_0x1ee945(0x1b0)],this[_0x1ee945(0x3e8)]=(_0x1156e4=_0x473f3f[_0x1ee945(0x32b)])!=null?_0x1156e4:this[_0x1ee945(0x3e8)],this['_name']=(_0x384817=_0x473f3f['name'])!=null?_0x384817:this[_0x1ee945(0x37d)],this[_0x1ee945(0x21d)]=(_0x78598f=_0x473f3f[_0x1ee945(0x243)])!=null?_0x78598f:this[_0x1ee945(0x21d)],this['_backgroundColor']=(_0x34b2c6=_0x473f3f[_0x1ee945(0x3e0)])!=null?_0x34b2c6:this[_0x1ee945(0x422)],this['transformByState']({'width':_0x473f3f[_0x1ee945(0x294)],'height':_0x473f3f[_0x1ee945(0x323)]});}[_0x540b42(0x250)](_0x3b416a){const _0x24a1a5=_0x540b42,{row:_0x5e311b,column:_0x46948a}=_0x3b416a;if(_0x5e311b>=this[_0x24a1a5(0x3e8)]['startRow']&&_0x5e311b<=this[_0x24a1a5(0x3e8)]['endRow']&&_0x46948a>=this[_0x24a1a5(0x3e8)][_0x24a1a5(0x299)]&&_0x46948a<=this[_0x24a1a5(0x3e8)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x24a1a5(0x1da)]({'hovered':!0x1});}[_0x540b42(0x415)](_0x3aec45){return!0x1;}[_0x540b42(0x401)](_0x3fdfb0){const _0xe84c2e=_0x540b42;_0x409358[_0xe84c2e(0x347)]['drawWith'](_0x3fdfb0,{'width':this[_0xe84c2e(0x294)],'height':this[_0xe84c2e(0x323)],'strokeWidth':_0x5b6387,'stroke':this[_0xe84c2e(0x1d7)],'evented':!0x1,'fill':this[_0xe84c2e(0x422)]}),this[_0xe84c2e(0x1b0)]&&(_0x3fdfb0[_0xe84c2e(0x36d)](),_0x3fdfb0[_0xe84c2e(0x2ca)](0x1,0x0,0x0,0x1,this[_0xe84c2e(0x294)],this[_0xe84c2e(0x21d)]===_0xe84c2e(0x20d)?0x0:-0x14),_0x1f5103[_0xe84c2e(0x2d0)](_0x3fdfb0,{'text':this['_name'],'color':this[_0xe84c2e(0x1d7)]}),_0x3fdfb0[_0xe84c2e(0x327)]());}}var _0x58f444=Object[_0x540b42(0x2fc)],_0x4fa104=(_0x3194e7,_0x432479,_0x3e53bb,_0x40f247)=>{const _0x342c78=_0x540b42;for(var _0x318019=_0x40f247>0x1?void 0x0:_0x40f247?_0x58f444(_0x432479,_0x3e53bb):_0x432479,_0x5d2c54=_0x3194e7[_0x342c78(0x349)]-0x1,_0x5e4c3e;_0x5d2c54>=0x0;_0x5d2c54--)(_0x5e4c3e=_0x3194e7[_0x5d2c54])&&(_0x318019=_0x5e4c3e(_0x318019)||_0x318019);return _0x318019;},_0x58b83d=(_0x236405,_0x583e5b)=>(_0x3c0c87,_0x16d860)=>_0x583e5b(_0x3c0c87,_0x16d860,_0x236405);const _0x279c16=0x1389;let _0x50b460=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x184fbc,_0x3c4cd1,_0x5dcb51,_0x3482e2){const _0x3fa4e3=_0x540b42;super(),_0x432cc5(this,_0x3fa4e3(0x2c9),new Set()),_0x432cc5(this,_0x3fa4e3(0x3a4),null),(this[_0x3fa4e3(0x33b)]=_0x184fbc,this[_0x3fa4e3(0x38c)]=_0x3c4cd1,this[_0x3fa4e3(0x3b0)]=_0x5dcb51,this[_0x3fa4e3(0x242)]=_0x3482e2,this[_0x3fa4e3(0x413)]());}[_0x540b42(0x413)](){const _0x272383=_0x540b42;this[_0x272383(0x38c)][_0x272383(0x260)][_0x272383(0x3ba)](_0x18aa85['takeUntil'](this['dispose$']),_0x18aa85[_0x272383(0x1b9)](_0x21a784=>{const _0x57a6cc=_0x272383;if(_0x21a784){const _0xff8368=_0x21a784['sheetId'];return _0x34f1d4[_0x57a6cc(0x41e)](this[_0x57a6cc(0x3b0)][_0x57a6cc(0x377)](this[_0x57a6cc(0x33b)][_0x57a6cc(0x1f3)]),this['_themeService'][_0x57a6cc(0x263)])[_0x57a6cc(0x3ba)](_0x18aa85['map'](([_0x11467e,_0x5c2b1c])=>{const _0x678870=_0x57a6cc,_0x1e3076=new Map();return _0x11467e[_0x678870(0x3fb)]((_0xeeafdc,_0x272840)=>{const _0x6af535=_0x678870;if(_0xeeafdc[_0x6af535(0x229)]===_0xff8368){const _0x4ff907={..._0xeeafdc};_0x4ff907[_0x6af535(0x345)]=_0x5c2b1c[_0xeeafdc['color']],_0x1e3076[_0x6af535(0x1e2)](_0x272840,_0x4ff907);}}),{'skeleton':_0x21a784,'cursors':_0x1e3076};}));}return _0x34f1d4['of']({'skeleton':null,'cursors':new Map()});}))[_0x272383(0x289)](({skeleton:_0x1f0ff6,cursors:_0x1b4a64})=>{const _0x1c51b0=_0x272383;this[_0x1c51b0(0x3b8)](),_0x1f0ff6&&this['_updateCollabCursors'](_0x1f0ff6,_0x1b4a64);}),this[_0x272383(0x38c)][_0x272383(0x260)][_0x272383(0x289)](_0x52ec04=>{const _0x444395=_0x272383;if(_0x52ec04==null)return;const {skeleton:_0x5e5769}=_0x52ec04,{scene:_0x1404d9}=this[_0x444395(0x33b)];_0x1404d9[_0x444395(0x2d6)]['subscribeEvent'](_0x42b304[_0x444395(0x1fd)](_0x198333=>{const _0x4520f9=_0x444395;var _0x1556e9,_0x4fc1bb;const {offsetX:_0x5a300b,offsetY:_0x361356}=_0x198333,{x:_0x21baab,y:_0x44e3d2}=_0x1404d9[_0x4520f9(0x2a5)](_0x409358['Vector2'][_0x4520f9(0x238)]([_0x5a300b,_0x361356])),{scaleX:_0x78773e,scaleY:_0x45c09f}=_0x1404d9['getAncestorScale'](),_0x1f3190=_0x1404d9['getViewport'](_0x409358[_0x4520f9(0x222)][_0x4520f9(0x42c)]),_0x2c1968=_0x1404d9[_0x4520f9(0x376)](_0x409358[_0x4520f9(0x3d1)]['FromArray']([_0x21baab,_0x44e3d2]),_0x1f3190),_0x11b5fd=_0x5e5769[_0x4520f9(0x1f1)](_0x5a300b,_0x361356,_0x78773e,_0x45c09f,_0x2c1968);((_0x1556e9=this[_0x4520f9(0x3a4)])==null?void 0x0:_0x1556e9[_0x4520f9(0x402)])===_0x11b5fd[_0x4520f9(0x402)]&&((_0x4fc1bb=this[_0x4520f9(0x3a4)])==null?void 0x0:_0x4fc1bb[_0x4520f9(0x287)])===_0x11b5fd['row']||this[_0x4520f9(0x2c9)][_0x4520f9(0x3fb)](_0x454221=>{const _0x5468ce=_0x4520f9;_0x454221[_0x5468ce(0x250)](_0x11b5fd);});},0x64));});}['_updateCollabCursors'](_0x245de2,_0x504158){const _0x47eea3=_0x540b42;var _0x5db6f6;const _0x3edbeb=(_0x5db6f6=this[_0x47eea3(0x38c)][_0x47eea3(0x2c0)]())==null?void 0x0:_0x5db6f6[_0x47eea3(0x283)];if(!_0x3edbeb)return;const _0x1cf4e3=this['_getSheetObject']();if(!_0x1cf4e3)return;this[_0x47eea3(0x2c9)][_0x47eea3(0x3fb)](_0x26e799=>{const _0x251c61=_0x47eea3;_0x26e799[_0x251c61(0x383)]();});const {scene:_0x1d07c}=_0x1cf4e3,_0x18e15e=_0x4d8525(Array[_0x47eea3(0x3dd)](_0x504158['values']()))['map'](_0x43d2a4=>{const _0xcdf9c2=_0x47eea3,{color:_0x1a1311,range:_0x2beb0b,name:_0x11d109,selection:_0x446b2e,sheetID:_0x4f0e98}=_0x43d2a4,{startColumn:_0x3cf27b,startRow:_0x4835c2,endColumn:_0x55f111,endRow:_0x36644c}=_0x2beb0b,_0x2d3c9d=_0x58ab2b[_0xcdf9c2(0x351)](_0x4835c2,_0x3cf27b,_0x1d07c,_0x3edbeb),_0x140493=_0x58ab2b[_0xcdf9c2(0x351)](_0x36644c,_0x55f111,_0x1d07c,_0x3edbeb),{columnHeaderHeightAndMarginTop:_0x4e3c05}=_0x3edbeb,{startX:_0x417512,startY:_0x25a04d}=_0x2d3c9d,{endX:_0x500187,endY:_0x3a02cb}=_0x140493,_0x3c9241=_0x500187-_0x417512,_0x1dca4a=_0x3a02cb-_0x25a04d,_0x2acd5e={'labelPosition':_0x25a04d-_0x4e3c05>=_0x13f46c?'top':_0xcdf9c2(0x20d),'sheetID':_0x4f0e98,'range':_0x2beb0b,'color':_0x1a1311,'name':_0x11d109,'selection':_0x446b2e,'left':_0x417512,'top':_0x25a04d,'width':_0x3c9241,'height':_0x1dca4a,'evented':!0x1,'zIndex':_0x279c16};return new _0x41d68b(_0x11d109,_0x2acd5e);});_0x1d07c[_0x47eea3(0x382)](_0x18e15e,_0xc6f7ea),this[_0x47eea3(0x2c9)]=new Set(_0x18e15e);}['_removeCollabCursors'](){const _0x475c48=_0x540b42;var _0x4a6319;(_0x4a6319=this['_cursors'])==null||_0x4a6319[_0x475c48(0x3fb)](_0x6a0de=>_0x6a0de[_0x475c48(0x26d)]());}[_0x540b42(0x213)](){const _0x13d7c6=_0x540b42;return _0x58ab2b[_0x13d7c6(0x434)](this[_0x13d7c6(0x33b)][_0x13d7c6(0x3b4)],this[_0x13d7c6(0x33b)]);}};_0x50b460=_0x4fa104([_0x58b83d(0x1,_0x42b304[_0x540b42(0x40f)](_0x58ab2b['SheetSkeletonManagerService'])),_0x58b83d(0x2,_0x42b304[_0x540b42(0x40f)](_0x1283a0)),_0x58b83d(0x3,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x1e0)]))],_0x50b460);function _0x4d8525(_0x2021ec){const _0x8f5be1=_0x540b42,_0x43f657=new Map();return _0x2021ec[_0x8f5be1(0x3fb)](_0x408672=>{const _0x52bd99=_0x8f5be1;if(_0x43f657['has'](_0x408672[_0x52bd99(0x247)])){const _0x560187=_0x43f657[_0x52bd99(0x26c)](_0x408672[_0x52bd99(0x247)]);_0x560187[_0x52bd99(0x1dd)]+=',\x20'+_0x408672[_0x52bd99(0x1dd)];}else _0x43f657[_0x52bd99(0x1e2)](_0x408672[_0x52bd99(0x247)],_0x408672);}),Array[_0x8f5be1(0x3dd)](_0x43f657['values']());}var _0x2409fc=function(){const _0x1c2e53=_0x540b42;return _0x2409fc=Object[_0x1c2e53(0x3e9)]||function(_0x44e068){const _0x3307ea=_0x1c2e53;for(var _0x41d914,_0x30fafd=0x1,_0x3a081a=arguments[_0x3307ea(0x349)];_0x30fafd<_0x3a081a;_0x30fafd++){_0x41d914=arguments[_0x30fafd];for(var _0x41100f in _0x41d914)Object['prototype'][_0x3307ea(0x1ee)]['call'](_0x41d914,_0x41100f)&&(_0x44e068[_0x41100f]=_0x41d914[_0x41100f]);}return _0x44e068;},_0x2409fc[_0x1c2e53(0x1bb)](this,arguments);},_0xe507d4=function(_0x4b6109,_0x45fb00){const _0x230eb4=_0x540b42;var _0x500bec={};for(var _0x739d55 in _0x4b6109)Object[_0x230eb4(0x1ec)][_0x230eb4(0x1ee)][_0x230eb4(0x207)](_0x4b6109,_0x739d55)&&_0x45fb00[_0x230eb4(0x33c)](_0x739d55)<0x0&&(_0x500bec[_0x739d55]=_0x4b6109[_0x739d55]);if(_0x4b6109!=null&&typeof Object[_0x230eb4(0x34b)]==_0x230eb4(0x295)){for(var _0x55c66c=0x0,_0x739d55=Object[_0x230eb4(0x34b)](_0x4b6109);_0x55c66c<_0x739d55[_0x230eb4(0x349)];_0x55c66c++)_0x45fb00[_0x230eb4(0x33c)](_0x739d55[_0x55c66c])<0x0&&Object[_0x230eb4(0x1ec)]['propertyIsEnumerable'][_0x230eb4(0x207)](_0x4b6109,_0x739d55[_0x55c66c])&&(_0x500bec[_0x739d55[_0x55c66c]]=_0x4b6109[_0x739d55[_0x55c66c]]);}return _0x500bec;},_0x9f109f=_0x295c09[_0x540b42(0x2bd)](function(_0x9ed686,_0x454f66){const _0x17abc5=_0x540b42;var _0x45eeac=_0x9ed686[_0x17abc5(0x329)],_0x2a0184=_0x9ed686['id'],_0x4c187b=_0x9ed686[_0x17abc5(0x1b8)],_0x2b8703=_0x9ed686[_0x17abc5(0x282)],_0x5bdc91=_0xe507d4(_0x9ed686,[_0x17abc5(0x329),'id',_0x17abc5(0x1b8),_0x17abc5(0x282)]),_0x349f02=_0x17abc5(0x39c)[_0x17abc5(0x311)](_0x2a0184,'\x20')[_0x17abc5(0x311)](_0x4c187b||'')[_0x17abc5(0x399)](),_0x12eda6=_0x295c09[_0x17abc5(0x279)]('_'[_0x17abc5(0x311)](_0x1af5d4()));return _0x36042a(_0x45eeac,''[_0x17abc5(0x311)](_0x2a0184),{'defIds':_0x45eeac['defIds'],'idSuffix':_0x12eda6[_0x17abc5(0x23b)]},_0x2409fc({'ref':_0x454f66,'className':_0x349f02},_0x5bdc91),_0x2b8703);});function _0x36042a(_0x4631e7,_0x5220ec,_0x592756,_0x1c036a,_0x10344f){const _0x47735a=_0x540b42;return _0x295c09[_0x47735a(0x3f8)](_0x4631e7[_0x47735a(0x384)],_0x2409fc(_0x2409fc({'key':_0x5220ec},_0x56749f(_0x4631e7,_0x592756,_0x10344f)),_0x1c036a),(_0x690a48(_0x4631e7,_0x592756)['children']||[])['map'](function(_0x9c04f2,_0x1585bb){const _0x3b79ee=_0x47735a;return _0x36042a(_0x9c04f2,''['concat'](_0x5220ec,'-')[_0x3b79ee(0x311)](_0x4631e7['tag'],'-')[_0x3b79ee(0x311)](_0x1585bb),_0x592756,void 0x0,_0x10344f);}));}function _0x56749f(_0x1923b8,_0x5073e2,_0x51d919){const _0x3bbf84=_0x540b42;var _0x326d8a=_0x2409fc({},_0x1923b8[_0x3bbf84(0x313)]);_0x51d919!=null&&_0x51d919['colorChannel1']&&_0x326d8a[_0x3bbf84(0x2a9)]==='colorChannel1'&&(_0x326d8a[_0x3bbf84(0x2a9)]=_0x51d919[_0x3bbf84(0x356)]),_0x1923b8[_0x3bbf84(0x384)]===_0x3bbf84(0x1fa)&&_0x326d8a['id']&&(_0x326d8a['id']=_0x326d8a['id']+_0x5073e2[_0x3bbf84(0x406)]),Object['entries'](_0x326d8a)[_0x3bbf84(0x3fb)](function(_0x5db902){const _0x187b34=_0x3bbf84;var _0x4c954f=_0x5db902[0x0],_0x39adf9=_0x5db902[0x1];_0x4c954f===_0x187b34(0x1fa)&&typeof _0x39adf9==_0x187b34(0x1f2)&&(_0x326d8a[_0x4c954f]=_0x39adf9[_0x187b34(0x416)](/url\(#(.*)\)/,'url(#$1'[_0x187b34(0x311)](_0x5073e2[_0x187b34(0x406)],')')));});var _0x3e8dba=_0x5073e2[_0x3bbf84(0x28c)];return!_0x3e8dba||_0x3e8dba[_0x3bbf84(0x349)]===0x0||(_0x1923b8[_0x3bbf84(0x384)]===_0x3bbf84(0x372)&&_0x326d8a[_0x3bbf84(0x30d)]&&(_0x326d8a[_0x3bbf84(0x30d)]=_0x326d8a['xlink:href']+_0x5073e2[_0x3bbf84(0x406)]),Object[_0x3bbf84(0x36b)](_0x326d8a)[_0x3bbf84(0x3fb)](function(_0x31f10d){const _0x5caa52=_0x3bbf84;var _0x5a8c37=_0x31f10d[0x0],_0x5ee3ac=_0x31f10d[0x1];typeof _0x5ee3ac==_0x5caa52(0x1f2)&&(_0x326d8a[_0x5a8c37]=_0x5ee3ac['replace'](/url\(#(.*)\)/,_0x5caa52(0x3d0)[_0x5caa52(0x311)](_0x5073e2[_0x5caa52(0x406)],')')));})),_0x326d8a;}function _0x690a48(_0x52d4f3,_0x63a2e8){const _0x556f56=_0x540b42;var _0x172037,_0x95e4cb=_0x63a2e8[_0x556f56(0x28c)];return!_0x95e4cb||_0x95e4cb[_0x556f56(0x349)]===0x0?_0x52d4f3:_0x52d4f3[_0x556f56(0x384)]==='defs'&&(!((_0x172037=_0x52d4f3[_0x556f56(0x3d3)])===null||_0x172037===void 0x0)&&_0x172037[_0x556f56(0x349)])?_0x2409fc(_0x2409fc({},_0x52d4f3),{'children':_0x52d4f3[_0x556f56(0x3d3)][_0x556f56(0x25b)](function(_0x4eb766){const _0x472f25=_0x556f56;return typeof _0x4eb766['attrs']['id']==_0x472f25(0x1f2)&&_0x95e4cb&&_0x95e4cb['indexOf'](_0x4eb766['attrs']['id'])>-0x1?_0x2409fc(_0x2409fc({},_0x4eb766),{'attrs':_0x2409fc(_0x2409fc({},_0x4eb766[_0x472f25(0x313)]),{'id':_0x4eb766[_0x472f25(0x313)]['id']+_0x63a2e8[_0x472f25(0x406)]})}):_0x4eb766;})}):_0x52d4f3;}function _0x1af5d4(){const _0x59b6cd=_0x540b42;return Math[_0x59b6cd(0x355)]()[_0x59b6cd(0x440)](0x24)[_0x59b6cd(0x1b1)](0x2,0x8);}_0x9f109f[_0x540b42(0x2b0)]=_0x540b42(0x336);var _0x14a6a3={'tag':_0x540b42(0x257),'attrs':{'fill':_0x540b42(0x258),'viewBox':_0x540b42(0x253),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x540b42(0x367)},'children':[{'tag':_0x540b42(0x261),'attrs':{'stroke':_0x540b42(0x2fa),'d':_0x540b42(0x443),'strokeLinecap':'round','strokeLinejoin':_0x540b42(0x24a),'strokeWidth':1.2}}]},{'tag':_0x540b42(0x3bf),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x540b42(0x261),'attrs':{'fill':_0x540b42(0x363),'d':_0x540b42(0x1a8)}}]}]}],'defIds':[_0x540b42(0x419)]},_0x3caf0b=_0x295c09[_0x540b42(0x2bd)](function(_0x7e2efd,_0x43d69d){const _0x1d874a=_0x540b42;return _0x295c09['createElement'](_0x9f109f,Object[_0x1d874a(0x3e9)]({},_0x7e2efd,{'id':_0x1d874a(0x3d6),'ref':_0x43d69d,'icon':_0x14a6a3}));});_0x3caf0b[_0x540b42(0x2b0)]='OffLineSingle';var _0x492342={'tag':_0x540b42(0x257),'attrs':{'fill':_0x540b42(0x258),'viewBox':'0\x200\x2017\x2016','width':_0x540b42(0x40e),'height':_0x540b42(0x40e)},'children':[{'tag':'g','attrs':{'clipPath':_0x540b42(0x271)},'children':[{'tag':_0x540b42(0x261),'attrs':{'stroke':_0x540b42(0x2fa),'d':_0x540b42(0x3d2),'strokeLinecap':_0x540b42(0x24a),'strokeLinejoin':_0x540b42(0x24a),'strokeWidth':1.2}}]},{'tag':_0x540b42(0x3bf),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x540b42(0x42f)},'children':[{'tag':_0x540b42(0x261),'attrs':{'fill':'#fff','d':_0x540b42(0x1a8),'transform':_0x540b42(0x223)}}]}]}],'defIds':[_0x540b42(0x42f)]},_0x1f5772=_0x295c09[_0x540b42(0x2bd)](function(_0x5bfe79,_0x4ec227){const _0x2c93ce=_0x540b42;return _0x295c09[_0x2c93ce(0x3f8)](_0x9f109f,Object[_0x2c93ce(0x3e9)]({},_0x5bfe79,{'id':'on-line-single','ref':_0x4ec227,'icon':_0x492342}));});_0x1f5772[_0x540b42(0x2b0)]='OnLineSingle';function _0x3c0fdf(_0x14c372){const _0x576735=_0x540b42;switch(_0x14c372){case _0x41dc5f[_0x576735(0x362)][_0x576735(0x227)]:return'collabStatus.offline';case _0x41dc5f[_0x576735(0x362)][_0x576735(0x409)]:return _0x576735(0x226);case _0x41dc5f[_0x576735(0x362)]['FETCH_MISS']:return _0x576735(0x27d);case _0x41dc5f[_0x576735(0x362)][_0x576735(0x26b)]:return _0x576735(0x2f9);case _0x41dc5f['CollaborationStatus'][_0x576735(0x2f2)]:case _0x41dc5f[_0x576735(0x362)][_0x576735(0x35d)]:return'collabStatus.syncing';case _0x41dc5f[_0x576735(0x362)][_0x576735(0x306)]:case _0x41dc5f[_0x576735(0x362)][_0x576735(0x2a7)]:return _0x576735(0x431);}}function _0x57b7f0(_0x4be8fb){const _0x56abb1=_0x540b42,{status$:_0x2f39bc}=_0x4be8fb,_0x2e91d4=_0x264d8f['useObservable'](_0x2f39bc,_0x41dc5f[_0x56abb1(0x362)][_0x56abb1(0x26b)]),_0x173266=_0x264d8f[_0x56abb1(0x245)](_0x42b304[_0x56abb1(0x214)]),_0x21a74a=_0x264d8f[_0x56abb1(0x245)](_0x41dc5f[_0x56abb1(0x276)]),_0x21bc6c=_0x2e91d4!==_0x41dc5f[_0x56abb1(0x362)][_0x56abb1(0x227)],_0x5d5555=_0x173266['t'](_0x3c0fdf(_0x2e91d4)),_0x944cbd=_0x21bc6c?_0x4d12c8[_0x56abb1(0x1d4)](_0x1f5772,{}):_0x4d12c8[_0x56abb1(0x1d4)](_0x3caf0b,{}),_0xb68fb3=_0x295c09[_0x56abb1(0x21b)](()=>{const _0x5c83a8=_0x56abb1;_0x21bc6c||_0x21a74a[_0x5c83a8(0x29a)]();},[_0x21bc6c,_0x21a74a]);function _0x38b2fb(){const _0x5b4886=_0x56abb1;return _0x4d12c8[_0x5b4886(0x1f7)](_0x5b4886(0x27e),{'className':_0x5b4886(0x1d1),'onClick':_0xb68fb3,'children':[_0x4d12c8[_0x5b4886(0x1d4)](_0x5b4886(0x27e),{'className':_0x2e5ccb[_0x5b4886(0x333)](_0x5b4886(0x30c),_0x21bc6c?'univer-text-green-500':_0x5b4886(0x392)),'children':_0x944cbd}),_0x4d12c8[_0x5b4886(0x1d4)]('div',{'className':_0x5b4886(0x29e),'children':_0x5d5555})]});}return _0x21bc6c?_0x38b2fb():_0x4d12c8[_0x56abb1(0x1d4)](_0x2e5ccb[_0x56abb1(0x3c2)],{'title':_0x173266['t'](_0x56abb1(0x2f3)),'children':_0x38b2fb()});}var _0x3360ec=Object['getOwnPropertyDescriptor'],_0x5b5135=(_0x6333bc,_0x21054f,_0x2aa315,_0x3edc34)=>{const _0x4c1e56=_0x540b42;for(var _0x45ff5f=_0x3edc34>0x1?void 0x0:_0x3edc34?_0x3360ec(_0x21054f,_0x2aa315):_0x21054f,_0x37abab=_0x6333bc[_0x4c1e56(0x349)]-0x1,_0x500d17;_0x37abab>=0x0;_0x37abab--)(_0x500d17=_0x6333bc[_0x37abab])&&(_0x45ff5f=_0x500d17(_0x45ff5f)||_0x45ff5f);return _0x45ff5f;},_0x3bfd2d=(_0x365a2a,_0x462b8d)=>(_0x50d1a5,_0x3f3feb)=>_0x462b8d(_0x50d1a5,_0x3f3feb,_0x365a2a);_0x41c194['DesktopCollaborationStatusDisplayController']=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x590b6d,_0x358c26,_0x3b8f60,_0x2951a9){const _0x2a6c43=_0x540b42;super(),_0x432cc5(this,_0x2a6c43(0x1fb),new _0x34f1d4['BehaviorSubject'](_0x41dc5f[_0x2a6c43(0x362)][_0x2a6c43(0x26b)])),(this[_0x2a6c43(0x246)]=_0x590b6d,this[_0x2a6c43(0x31b)]=_0x358c26,this['_collaborationController']=_0x3b8f60,this[_0x2a6c43(0x1ff)]=_0x2951a9,this[_0x2a6c43(0x40c)](),this['_initStatusListener']());}[_0x540b42(0x3ae)](){const _0x34d616=_0x540b42;this[_0x34d616(0x2d2)](this[_0x34d616(0x246)][_0x34d616(0x32f)]['pipe'](_0x34f1d4[_0x34d616(0x1b9)](()=>{const _0x441b07=_0x34d616,_0x48e3c9=this[_0x441b07(0x246)][_0x441b07(0x358)]();return _0x48e3c9?this[_0x441b07(0x291)][_0x441b07(0x3da)](_0x48e3c9[_0x441b07(0x3c5)]()):_0x34f1d4['of'](null);}),_0x34f1d4[_0x34d616(0x1b9)](_0x4c2ccb=>_0x4c2ccb?_0x4c2ccb[_0x34d616(0x3ad)]:_0x34f1d4['of'](_0x41dc5f['CollaborationStatus'][_0x34d616(0x26b)])))['subscribe'](_0x204325=>{const _0x580960=_0x34d616;this[_0x580960(0x1fb)][_0x580960(0x28e)](_0x204325);}));}[_0x540b42(0x40c)](){const _0x47d096=_0x540b42;this['disposeWithMe'](this[_0x47d096(0x1ff)]['registerComponent'](_0x264d8f['BuiltInUIPart']['HEADER_MENU'],()=>_0x264d8f['connectInjector'](_0x4bee60({'status$':this[_0x47d096(0x1fb)][_0x47d096(0x1c2)]()}),this[_0x47d096(0x31b)])));}},_0x41c194['DesktopCollaborationStatusDisplayController']=_0x5b5135([_0x3bfd2d(0x0,_0x42b304[_0x540b42(0x1e5)]),_0x3bfd2d(0x1,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x3bfd2d(0x2,_0x42b304[_0x540b42(0x40f)](_0x41dc5f['CollaborationController'])),_0x3bfd2d(0x3,_0x264d8f[_0x540b42(0x3d7)])],_0x41c194[_0x540b42(0x2bf)]);function _0x4bee60(_0x43d20f){const {status$:_0x5adcb0}=_0x43d20f;return function(){const _0x5f13cb=_0x4c0a;return _0x4d12c8[_0x5f13cb(0x1d4)](_0x57b7f0,{'status$':_0x5adcb0});};}var _0x116ab4=Object[_0x540b42(0x2fc)],_0x2f8b8d=(_0x282243,_0x4ec255,_0x3a3358,_0x20db3f)=>{for(var _0x3c1419=_0x20db3f>0x1?void 0x0:_0x20db3f?_0x116ab4(_0x4ec255,_0x3a3358):_0x4ec255,_0x2dcd1f=_0x282243['length']-0x1,_0x5050f8;_0x2dcd1f>=0x0;_0x2dcd1f--)(_0x5050f8=_0x282243[_0x2dcd1f])&&(_0x3c1419=_0x5050f8(_0x3c1419)||_0x3c1419);return _0x3c1419;},_0x2aa075=(_0x271cb3,_0x308610)=>(_0x2e33cf,_0x20f227)=>_0x308610(_0x2e33cf,_0x20f227,_0x271cb3);let _0x5824b5=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x29b65a,_0x58f69f,_0x4bf8a3,_0xf87ab9,_0x5d6962,_0x217cff){const _0x1f95d2=_0x540b42;super(),this[_0x1f95d2(0x297)]=_0x29b65a,this[_0x1f95d2(0x274)]=_0x58f69f,this[_0x1f95d2(0x41a)]=_0x4bf8a3,this['_messageService']=_0xf87ab9,this[_0x1f95d2(0x2df)]=_0x5d6962,this[_0x1f95d2(0x42b)]=_0x217cff,this[_0x1f95d2(0x386)](),this[_0x1f95d2(0x2fd)]();}[_0x540b42(0x386)](){const _0x1b49b7=_0x540b42;this[_0x1b49b7(0x2d2)](this[_0x1b49b7(0x297)][_0x1b49b7(0x3b9)](()=>{const _0x3d4533=_0x1b49b7;if(this[_0x3d4533(0x274)][_0x3d4533(0x27f)][_0x3d4533(0x3fe)])return this[_0x3d4533(0x42b)]['t'](_0x3d4533(0x3ce));}));}[_0x540b42(0x2fd)](){const _0xe32067=_0x540b42;this[_0xe32067(0x2d2)](this[_0xe32067(0x41a)][_0xe32067(0x2ec)][_0xe32067(0x289)](_0x56fdb7=>{const _0x12f577=_0xe32067;_0x56fdb7['id']===_0x41dc5f['CollaborationUIEventId'][_0x12f577(0x1fe)]&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)]['Warning'],'content':this[_0x12f577(0x42b)]['t']('collaboration.single-unit.warning')}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)][_0x12f577(0x29c)]&&this['_messageService']['show']({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x2c4)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x385))}),_0x56fdb7['id']===_0x41dc5f['CollaborationUIEventId'][_0x12f577(0x360)]&&this['_notificationService'][_0x12f577(0x32c)]({'title':this[_0x12f577(0x42b)]['t'](_0x12f577(0x23d)),'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x3f1)),'type':_0x12f577(0x202),'duration':0x0}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)][_0x12f577(0x409)]&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x3a7)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x385))+'('+_0x56fdb7['data']+')'}),_0x56fdb7['id']===_0x41dc5f['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x2c4)],'content':this[_0x12f577(0x42b)]['t'](_0x56fdb7[_0x12f577(0x3a8)]||'')}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)][_0x12f577(0x43c)]&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)]['Warning'],'content':this[_0x12f577(0x42b)]['t']('session.will-retry')}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)]['SOCKET_FAILED']&&this[_0x12f577(0x35c)][_0x12f577(0x32c)]({'type':_0x2e5ccb[_0x12f577(0x2e4)][_0x12f577(0x3a7)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x2f7))}),_0x56fdb7['id']===_0x41dc5f[_0x12f577(0x2e9)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x12f577(0x32c)]({'type':_0x2e5ccb['MessageType'][_0x12f577(0x3a7)],'content':this[_0x12f577(0x42b)]['t'](_0x12f577(0x3c1))});}));}};_0x5824b5=_0x2f8b8d([_0x2aa075(0x0,_0x264d8f['IBeforeCloseService']),_0x2aa075(0x1,_0x41dc5f['ILocalCacheService']),_0x2aa075(0x2,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x430)])),_0x2aa075(0x3,_0x264d8f[_0x540b42(0x331)]),_0x2aa075(0x4,_0x264d8f[_0x540b42(0x25a)]),_0x2aa075(0x5,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x214)]))],_0x5824b5);const _0x13ce90='collaboration-client-ui.config',_0x374ffe={},_0x3867b1=_0x42b304[_0x540b42(0x3af)](_0x540b42(0x3ca));var _0x4c7f7e=Object[_0x540b42(0x2fc)],_0x2147d4=(_0x568630,_0x3c7c28,_0x5a6cf0,_0x43f068)=>{const _0x325e06=_0x540b42;for(var _0x546f2c=_0x43f068>0x1?void 0x0:_0x43f068?_0x4c7f7e(_0x3c7c28,_0x5a6cf0):_0x3c7c28,_0x18205b=_0x568630[_0x325e06(0x349)]-0x1,_0x2df727;_0x18205b>=0x0;_0x18205b--)(_0x2df727=_0x568630[_0x18205b])&&(_0x546f2c=_0x2df727(_0x546f2c)||_0x546f2c);return _0x546f2c;},_0x3e5462=(_0x939ebc,_0x5421d0)=>(_0x589109,_0x45d5c0)=>_0x5421d0(_0x589109,_0x45d5c0,_0x939ebc);_0x41c194[_0x540b42(0x2da)]=class extends _0x42b304[_0x540b42(0x2bc)]{constructor(_0x41f34d,_0x16c73b,_0x232370,_0x45e97b,_0x47ae5c){const _0x24077e=_0x540b42;super(),this[_0x24077e(0x20f)]=_0x41f34d,this[_0x24077e(0x337)]=_0x16c73b,this['_commandService']=_0x232370,this[_0x24077e(0x312)]=_0x45e97b,_0x47ae5c?_0x47ae5c==null||_0x47ae5c[_0x24077e(0x37e)]()[_0x24077e(0x302)](()=>this[_0x24077e(0x413)]()):(this[_0x24077e(0x337)]['debug']('[CollaborationDataLoaderController]',_0x24077e(0x3a5)),this[_0x24077e(0x413)]());}async[_0x540b42(0x413)](){const _0x122245=_0x540b42,_0x27f5b7=this[_0x122245(0x20f)][_0x122245(0x2b4)](_0x122245(0x3b4)),_0x534af1=this[_0x122245(0x20f)]['getParam'](_0x122245(0x1af)),_0x23419b=this[_0x122245(0x20f)][_0x122245(0x2b4)](_0x122245(0x211));if(!_0x27f5b7||!_0x534af1){this[_0x122245(0x337)][_0x122245(0x272)](_0x122245(0x2ac),_0x122245(0x212));return;}const _0x1bd005=await this[_0x122245(0x312)][_0x122245(0x201)](_0x27f5b7,Number(_0x534af1),_0x23419b);_0x1bd005&&_0x1bd005 instanceof _0x42b304['Workbook']&&this[_0x122245(0x38a)](_0x1bd005);}async['_setupSubUnitSync'](_0x1a3c11){const _0x5c0011=_0x540b42;await this[_0x5c0011(0x3cc)](_0x1a3c11),_0x1a3c11[_0x5c0011(0x37a)][_0x5c0011(0x3ba)](_0x34f1d4[_0x5c0011(0x342)](this[_0x5c0011(0x20c)]))[_0x5c0011(0x289)](_0xcbecc9=>{const _0x2af07f=_0x5c0011;_0xcbecc9&&this[_0x2af07f(0x330)](_0xcbecc9);}),this[_0x5c0011(0x20f)]['urlChange$'][_0x5c0011(0x3ba)](_0x34f1d4[_0x5c0011(0x342)](this[_0x5c0011(0x20c)]))[_0x5c0011(0x289)](()=>this[_0x5c0011(0x3cc)](_0x1a3c11));}[_0x540b42(0x330)](_0x594738,_0x5b6d40=!0x1){const _0x167277=_0x540b42,_0x1483dd=this[_0x167277(0x20f)][_0x167277(0x2b4)](_0x167277(0x211));_0x594738[_0x167277(0x378)]()!==_0x1483dd&&this[_0x167277(0x20f)][_0x167277(0x2de)](_0x167277(0x211),_0x594738['getSheetId'](),_0x5b6d40);}async[_0x540b42(0x3cc)](_0x22ce6a){const _0x4a6e03=_0x540b42;var _0x2c15e2;const _0x160e51=this[_0x4a6e03(0x20f)][_0x4a6e03(0x2b4)](_0x4a6e03(0x211));if(!_0x160e51||!_0x22ce6a[_0x4a6e03(0x25c)](_0x160e51)){const _0x48ee83=_0x22ce6a[_0x4a6e03(0x259)]()[0x0],_0x50549e=_0x22ce6a[_0x4a6e03(0x25c)](_0x48ee83);if(!_0x50549e)return;this['_updateURLWithCurrentState'](_0x50549e,!0x0),await this['_commandService']['executeCommand'](_0x29d4a1['SetWorksheetActivateCommand']['id'],{'unitId':_0x22ce6a[_0x4a6e03(0x3c5)](),'subUnitId':_0x48ee83});return;}((_0x2c15e2=_0x22ce6a['getActiveSheet']())==null?void 0x0:_0x2c15e2[_0x4a6e03(0x378)]())!==_0x160e51&&await this[_0x4a6e03(0x3c3)]['executeCommand'](_0x29d4a1['SetWorksheetActivateCommand']['id'],{'unitId':_0x22ce6a[_0x4a6e03(0x3c5)](),'subUnitId':_0x160e51});}},_0x41c194[_0x540b42(0x2da)]=_0x2147d4([_0x3e5462(0x0,_0x3867b1),_0x3e5462(0x1,_0x42b304['ILogService']),_0x3e5462(0x2,_0x42b304[_0x540b42(0x22f)]),_0x3e5462(0x3,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x20b)])),_0x3e5462(0x4,_0x42b304[_0x540b42(0x2e3)](_0x3b97e1[_0x540b42(0x318)]))],_0x41c194['CollaborationDataLoaderController']);var _0x1ee84f=Object[_0x540b42(0x2fc)],_0x5b82c1=(_0xfeb13d,_0x50ab95,_0x3e99d7,_0x2e4c98)=>{for(var _0x580311=_0x2e4c98>0x1?void 0x0:_0x2e4c98?_0x1ee84f(_0x50ab95,_0x3e99d7):_0x50ab95,_0x569b76=_0xfeb13d['length']-0x1,_0x21c06e;_0x569b76>=0x0;_0x569b76--)(_0x21c06e=_0xfeb13d[_0x569b76])&&(_0x580311=_0x21c06e(_0x580311)||_0x580311);return _0x580311;},_0x253865=(_0x4bb888,_0x5e8602)=>(_0x1b40df,_0x957b76)=>_0x5e8602(_0x1b40df,_0x957b76,_0x4bb888);let _0x456090=class{constructor(_0x1fd617,_0x1c5adb,_0x571a2e){const _0x3b07c2=_0x540b42;this[_0x3b07c2(0x31b)]=_0x1fd617,this[_0x3b07c2(0x38f)]=_0x1c5adb,this[_0x3b07c2(0x3bc)]=_0x571a2e;}[_0x540b42(0x3b6)](_0x47f459){const _0x5e587b=_0x540b42;this[_0x5e587b(0x2d7)](_0x47f459),this[_0x5e587b(0x20a)](_0x47f459);}['transformRemoteChangeset'](_0x1e8504){const _0x3b5f48=_0x540b42,{unitID:_0x5a519c}=_0x1e8504,_0x443791=this[_0x3b5f48(0x3bc)][_0x3b5f48(0x43b)](_0x5a519c)[_0x3b5f48(0x359)](_0x16bb92[_0x3b5f48(0x234)]),{redoCache:_0x1350e8}=_0x443791[_0x3b5f48(0x2ed)]();if(_0x1350e8['length']===0x0)return _0x1e8504;let _0x452490=_0x42b304['Tools'][_0x3b5f48(0x3a0)](_0x1e8504['mutations'][0x0]);for(let _0x190d6b=0x0;_0x190d6b<_0x1350e8[_0x3b5f48(0x349)];_0x190d6b++){const _0x4d78b1={'id':'doc.mutation.rich-text-editing','params':{..._0x1350e8[_0x190d6b]}},_0xeada4=this[_0x3b5f48(0x38f)][_0x3b5f48(0x1c8)](_0x452490,_0x4d78b1,!0x1);if(_0x30bf61[_0x3b5f48(0x2c6)](_0xeada4))throw _0xeada4[_0x3b5f48(0x202)];_0x452490=_0xeada4[_0x3b5f48(0x3a2)];}return{..._0x42b304[_0x3b5f48(0x332)][_0x3b5f48(0x3a0)](_0x1e8504),'mutations':[_0x452490]};}[_0x540b42(0x2d7)](_0x694b62){const _0x53bcb5=_0x540b42,{unitID:_0x7ed5ce}=_0x694b62,_0x300de8=this[_0x53bcb5(0x3bc)][_0x53bcb5(0x43b)](_0x7ed5ce)['with'](_0x16bb92[_0x53bcb5(0x234)]),{undoCache:_0x449718,redoCache:_0x337343}=_0x300de8[_0x53bcb5(0x2ed)]();if(_0x449718[_0x53bcb5(0x349)]===0x0||_0x337343[_0x53bcb5(0x349)]===0x0)return;const _0x41c0dc=[],_0x2d309a=[];let _0x585f8d=_0x42b304[_0x53bcb5(0x332)][_0x53bcb5(0x3a0)](_0x694b62['mutations'][0x0]),_0x22102c=_0x42b304['Tools']['deepClone'](_0x694b62[_0x53bcb5(0x2c1)][0x0]);for(let _0x26e7df=_0x449718[_0x53bcb5(0x349)]-0x1;_0x26e7df>=0x0;_0x26e7df--){const _0x29f928={'id':_0x53bcb5(0x398),'params':{..._0x449718[_0x26e7df]}},_0x540d09={'id':_0x53bcb5(0x398),'params':{..._0x337343[_0x26e7df]}},_0x1ca799=this[_0x53bcb5(0x38f)][_0x53bcb5(0x1c8)](_0x585f8d,_0x29f928,!0x1),_0x55a7ec=this[_0x53bcb5(0x38f)][_0x53bcb5(0x1c8)](_0x22102c,_0x540d09,!0x1);if(_0x30bf61[_0x53bcb5(0x2c6)](_0x1ca799))throw _0x1ca799[_0x53bcb5(0x202)];if(_0x30bf61[_0x53bcb5(0x2c6)](_0x55a7ec))throw _0x55a7ec[_0x53bcb5(0x202)];_0x41c0dc[_0x53bcb5(0x2d5)](_0x1ca799[_0x53bcb5(0x230)][_0x53bcb5(0x374)]),_0x2d309a[_0x53bcb5(0x2d5)](_0x55a7ec[_0x53bcb5(0x230)][_0x53bcb5(0x374)]),_0x585f8d=_0x1ca799[_0x53bcb5(0x3a2)],_0x22102c=_0x55a7ec[_0x53bcb5(0x3a2)];}_0x300de8[_0x53bcb5(0x262)]({'undoCache':_0x41c0dc,'redoCache':_0x2d309a});}[_0x540b42(0x20a)](_0x17e07b){const _0x2eaf19=_0x540b42,{unitID:_0x61b625}=_0x17e07b,_0x5e1269=this[_0x2eaf19(0x3bc)][_0x2eaf19(0x43b)](_0x61b625)[_0x2eaf19(0x359)](_0x16bb92[_0x2eaf19(0x234)]),_0x5b6900=_0x5e1269[_0x2eaf19(0x1c4)]();if(_0x5b6900==null)return;const _0x4dd1a4=[{'id':_0x2eaf19(0x398),'params':{'unitId':_0x17e07b[_0x2eaf19(0x375)],'actions':null,'textRanges':[_0x5b6900]}}],_0x363b0f=this['_transformService'][_0x2eaf19(0x43f)](_0x17e07b,_0x4dd1a4);if(!_0x30bf61[_0x2eaf19(0x308)](_0x363b0f))throw _0x363b0f[_0x2eaf19(0x202)];const _0x325e3d=_0x363b0f[_0x2eaf19(0x230)][0x0][_0x2eaf19(0x374)][_0x2eaf19(0x2ea)];Array['isArray'](_0x325e3d)&&_0x325e3d[_0x2eaf19(0x349)]&&_0x5e1269[_0x2eaf19(0x39f)](_0x325e3d[0x0]);}};_0x456090=_0x5b82c1([_0x253865(0x0,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x253865(0x1,_0x30bf61['ITransformService']),_0x253865(0x2,_0x409358[_0x540b42(0x1aa)])],_0x456090);var _0x3274f4=Object[_0x540b42(0x2fc)],_0x57de3b=(_0x383e33,_0x4ae0b5,_0x3d9051,_0x346ef6)=>{const _0x207677=_0x540b42;for(var _0x4e0cfd=_0x346ef6>0x1?void 0x0:_0x346ef6?_0x3274f4(_0x4ae0b5,_0x3d9051):_0x4ae0b5,_0xb6cbe6=_0x383e33[_0x207677(0x349)]-0x1,_0x250b69;_0xb6cbe6>=0x0;_0xb6cbe6--)(_0x250b69=_0x383e33[_0xb6cbe6])&&(_0x4e0cfd=_0x250b69(_0x4e0cfd)||_0x4e0cfd);return _0x4e0cfd;},_0x306648=(_0x297471,_0x4efb3d)=>(_0x321c6c,_0x559cc3)=>_0x4efb3d(_0x321c6c,_0x559cc3,_0x297471);let _0x412db4=class{constructor(_0x4624a1,_0x5092c6,_0x1ab7a3){const _0x1b3f21=_0x540b42;this[_0x1b3f21(0x31b)]=_0x4624a1,this[_0x1b3f21(0x38f)]=_0x5092c6,this[_0x1b3f21(0x28b)]=_0x1ab7a3;}[_0x540b42(0x41c)](_0x36ca81){const _0x4cb39b=_0x540b42;this[_0x4cb39b(0x34a)](_0x36ca81);}[_0x540b42(0x408)](_0xd3e272){const _0x23b33b=_0x540b42,{unitID:_0x2df32e}=_0xd3e272,{collaboration:_0x230f20}=this[_0x23b33b(0x28b)][_0x23b33b(0x40b)](_0x2df32e);if(_0x230f20[_0x23b33b(0x349)]===0x0)return _0xd3e272;let _0x19c2b5=_0x42b304[_0x23b33b(0x332)][_0x23b33b(0x3a0)](_0xd3e272[_0x23b33b(0x2c1)][0x0]);for(let _0x30f4a4=0x0;_0x30f4a4<_0x230f20['length'];_0x30f4a4++){const _0x2b292f={'id':_0x23b33b(0x398),'params':{'unitId':_0x230f20[_0x30f4a4][_0x23b33b(0x1f3)],..._0x230f20[_0x30f4a4][_0x23b33b(0x23f)]}},_0x217b32=this['_transformService'][_0x23b33b(0x1c8)](_0x19c2b5,_0x2b292f,!0x1);if(_0x30bf61[_0x23b33b(0x2c6)](_0x217b32))throw _0x217b32[_0x23b33b(0x202)];_0x19c2b5=_0x217b32[_0x23b33b(0x3a2)];}return{..._0x42b304[_0x23b33b(0x332)][_0x23b33b(0x3a0)](_0xd3e272),'mutations':[_0x19c2b5]};}[_0x540b42(0x34a)](_0x3f6768){const _0x4fe874=_0x540b42,{unitID:_0x3e40c4}=_0x3f6768,{history:_0x52e5f4,collaboration:_0xb319bb}=this[_0x4fe874(0x28b)][_0x4fe874(0x40b)](_0x3e40c4);if(_0x52e5f4[_0x4fe874(0x349)]===0x0&&_0xb319bb['length']===0x0)return;const _0x42395c=[],_0x950c87=[];let _0x2573d4=_0x42b304[_0x4fe874(0x332)]['deepClone'](_0x3f6768[_0x4fe874(0x2c1)][0x0]),_0x29790b=_0x42b304['Tools'][_0x4fe874(0x3a0)](_0x3f6768['mutations'][0x0]);for(let _0x2fa32d=_0x52e5f4[_0x4fe874(0x349)]-0x1;_0x2fa32d>=0x0;_0x2fa32d--){const _0x2c5be0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x52e5f4[_0x2fa32d][_0x4fe874(0x1f3)],..._0x52e5f4[_0x2fa32d][_0x4fe874(0x31e)]}},_0x2d2e9e={'id':_0x4fe874(0x398),'params':{'unitId':_0x52e5f4[_0x2fa32d][_0x4fe874(0x1f3)],..._0x52e5f4[_0x2fa32d][_0x4fe874(0x23f)]}},_0x54a774=this[_0x4fe874(0x38f)][_0x4fe874(0x1c8)](_0x2573d4,_0x2c5be0,!0x1),_0x43aff7=this['_transformService']['transformMutation'](_0x29790b,_0x2d2e9e,!0x1);if(_0x30bf61[_0x4fe874(0x2c6)](_0x54a774))throw _0x54a774[_0x4fe874(0x202)];if(_0x30bf61[_0x4fe874(0x2c6)](_0x43aff7))throw _0x43aff7[_0x4fe874(0x202)];_0x42395c['unshift']({..._0x52e5f4[_0x2fa32d],'undoState':_0x54a774[_0x4fe874(0x230)][_0x4fe874(0x374)],'redoState':_0x43aff7['m2Prime'][_0x4fe874(0x374)]}),_0x2573d4=_0x54a774[_0x4fe874(0x3a2)],_0x29790b=_0x43aff7[_0x4fe874(0x3a2)];}_0x2573d4=_0x42b304[_0x4fe874(0x332)][_0x4fe874(0x3a0)](_0x3f6768['mutations'][0x0]),_0x29790b=_0x42b304['Tools'][_0x4fe874(0x3a0)](_0x3f6768[_0x4fe874(0x2c1)][0x0]);for(let _0x502961=_0xb319bb[_0x4fe874(0x349)]-0x1;_0x502961>=0x0;_0x502961--){const _0x507674={'id':_0x4fe874(0x398),'params':{'unitId':_0xb319bb[_0x502961][_0x4fe874(0x1f3)],..._0xb319bb[_0x502961]['undoState']}},_0x2b20a9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb319bb[_0x502961][_0x4fe874(0x1f3)],..._0xb319bb[_0x502961][_0x4fe874(0x23f)]}},_0x56fbce=this[_0x4fe874(0x38f)][_0x4fe874(0x1c8)](_0x2573d4,_0x507674,!0x1),_0x576f2f=this[_0x4fe874(0x38f)]['transformMutation'](_0x29790b,_0x2b20a9,!0x1);if(_0x30bf61[_0x4fe874(0x2c6)](_0x56fbce))throw _0x56fbce[_0x4fe874(0x202)];if(_0x30bf61['isTransformMutationFailure'](_0x576f2f))throw _0x576f2f[_0x4fe874(0x202)];_0x950c87[_0x4fe874(0x2d5)]({..._0xb319bb[_0x502961],'undoState':_0x56fbce[_0x4fe874(0x230)][_0x4fe874(0x374)],'redoState':_0x576f2f[_0x4fe874(0x230)][_0x4fe874(0x374)]}),_0x2573d4=_0x56fbce[_0x4fe874(0x3a2)],_0x29790b=_0x576f2f['m1Prime'];}this[_0x4fe874(0x28b)][_0x4fe874(0x1c1)](_0x3e40c4,{'history':_0x42395c,'collaboration':_0x950c87});}};_0x412db4=_0x57de3b([_0x306648(0x0,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x306648(0x1,_0x30bf61[_0x540b42(0x2e1)]),_0x306648(0x2,_0x42b304[_0x540b42(0x40f)](_0x16bb92[_0x540b42(0x1e9)]))],_0x412db4);var _0x418016=Object[_0x540b42(0x2fc)],_0x49dc57=(_0x455757,_0x3273e0,_0x496d6b,_0x40e9e2)=>{const _0x4fa1cf=_0x540b42;for(var _0x3aa1b7=_0x40e9e2>0x1?void 0x0:_0x40e9e2?_0x418016(_0x3273e0,_0x496d6b):_0x3273e0,_0x26e1c4=_0x455757[_0x4fa1cf(0x349)]-0x1,_0x2ab93c;_0x26e1c4>=0x0;_0x26e1c4--)(_0x2ab93c=_0x455757[_0x26e1c4])&&(_0x3aa1b7=_0x2ab93c(_0x3aa1b7)||_0x3aa1b7);return _0x3aa1b7;},_0x3719ec=(_0x474e5c,_0x2cc503)=>(_0x3082e3,_0x220c55)=>_0x2cc503(_0x3082e3,_0x220c55,_0x474e5c);let _0x554bd6=class{constructor(_0x7a1edb,_0x12ab9c){const _0x38121f=_0x540b42;this[_0x38121f(0x31b)]=_0x7a1edb,this[_0x38121f(0x38f)]=_0x12ab9c;}['transformSelections'](_0x4ab075){const _0x2b21e2=_0x540b42;var _0x2e5277;const _0x400c9a=this[_0x2b21e2(0x31b)][_0x2b21e2(0x26c)](_0x4e9cff['DocSelectionManagerService']),_0x28e53f=(_0x2e5277=_0x400c9a[_0x2b21e2(0x3e3)]())!=null?_0x2e5277:[];if(_0x28e53f[_0x2b21e2(0x349)]===0x0)return;const _0x377649=_0x4ab075[_0x2b21e2(0x375)],_0x3f1111=[{'id':_0x2b21e2(0x398),'params':{'unitId':_0x377649,'actions':null,'textRanges':_0x28e53f}}],_0x2b9ce2=this[_0x2b21e2(0x38f)][_0x2b21e2(0x43f)](_0x4ab075,_0x3f1111);if(!_0x30bf61[_0x2b21e2(0x308)](_0x2b9ce2))throw _0x2b9ce2[_0x2b21e2(0x202)];const _0x3107e6=_0x2b9ce2[_0x2b21e2(0x230)][0x0][_0x2b21e2(0x374)][_0x2b21e2(0x2ea)];Array[_0x2b21e2(0x208)](_0x3107e6)&&_0x3107e6[_0x2b21e2(0x349)]&&_0x400c9a[_0x2b21e2(0x2e2)](_0x3107e6,{'unitId':_0x377649,'subUnitId':_0x377649},!0x1);}};_0x554bd6=_0x49dc57([_0x3719ec(0x0,_0x42b304['Inject'](_0x42b304[_0x540b42(0x2f8)])),_0x3719ec(0x1,_0x30bf61['ITransformService'])],_0x554bd6);var _0x301bb6=Object[_0x540b42(0x2fc)],_0x477528=(_0x5daf6a,_0x5d4b20,_0x167256,_0x261b96)=>{for(var _0x28628f=_0x261b96>0x1?void 0x0:_0x261b96?_0x301bb6(_0x5d4b20,_0x167256):_0x5d4b20,_0x299993=_0x5daf6a['length']-0x1,_0x441b4a;_0x299993>=0x0;_0x299993--)(_0x441b4a=_0x5daf6a[_0x299993])&&(_0x28628f=_0x441b4a(_0x28628f)||_0x28628f);return _0x28628f;},_0x148473=(_0x10703b,_0x2a2b09)=>(_0x4401f5,_0x5e1f91)=>_0x2a2b09(_0x4401f5,_0x5e1f91,_0x10703b);let _0x11670f=class extends _0x42b304['Disposable']{constructor(_0x41c2e,_0x19a143,_0x462daa,_0x424033,_0x236eb6,_0x5b4003,_0x1ec236,_0x22c36b){const _0x7caba4=_0x540b42;super(),_0x432cc5(this,_0x7caba4(0x1fb),new _0x34f1d4[(_0x7caba4(0x225))](_0x41dc5f[_0x7caba4(0x362)]['NOT_COLLAB'])),(this[_0x7caba4(0x28b)]=_0x41c2e,this[_0x7caba4(0x291)]=_0x19a143,this[_0x7caba4(0x1d5)]=_0x462daa,this[_0x7caba4(0x240)]=_0x424033,this[_0x7caba4(0x348)]=_0x236eb6,this['_docSyncEditingCollabCursorService']=_0x5b4003,this[_0x7caba4(0x35c)]=_0x1ec236,this[_0x7caba4(0x42b)]=_0x22c36b,this[_0x7caba4(0x3cb)]());}[_0x540b42(0x3cb)](){const _0x41b5fb=_0x540b42;this[_0x41b5fb(0x2d2)](this[_0x41b5fb(0x291)][_0x41b5fb(0x407)][_0x41b5fb(0x289)](_0x512568=>{const _0x96b13f=_0x41b5fb,_0x2c9322=this[_0x96b13f(0x28b)][_0x96b13f(0x2bb)][_0x96b13f(0x289)](_0x3294bc=>{const _0xa714be=_0x96b13f;if(_0x3294bc==null)return;const {unitId:_0x43944f,redoState:_0x53761c,commandId:_0x13187d}=_0x3294bc;if(_0x43944f!==_0x512568[_0xa714be(0x375)])return;const _0x671af={'id':_0x13187d,'type':_0x42b304['CommandType'][_0xa714be(0x2c7)],'params':{'unitId':_0x43944f,'actions':_0x53761c[_0xa714be(0x396)],'textRanges':null}};_0x512568[_0xa714be(0x31d)](_0x671af);});if(_0x512568['disposeWithMe'](_0x2c9322),_0x512568 instanceof _0x41dc5f[_0x96b13f(0x417)]){const _0x27344c={'onTransformIME':_0x2bfdd2=>this[_0x96b13f(0x1d5)][_0x96b13f(0x3b6)](_0x2bfdd2),'onTransformState':_0x3bd0a2=>this[_0x96b13f(0x240)][_0x96b13f(0x41c)](_0x3bd0a2),'onTransformSelections':_0x116a54=>this['_docTransformSelectionsService'][_0x96b13f(0x1d2)](_0x116a54),'onSyncEditingCollabCursor':_0x19be96=>this[_0x96b13f(0x28a)][_0x96b13f(0x3c7)](_0x19be96),'onTransformRemoteChangesetByIMECache':_0x7acb86=>this[_0x96b13f(0x1d5)][_0x96b13f(0x408)](_0x7acb86),'onTransformRemoteChangesetByStateCache':_0x4f7f90=>this[_0x96b13f(0x240)][_0x96b13f(0x408)](_0x4f7f90)};_0x512568[_0x96b13f(0x366)](_0x27344c);}}));}};_0x11670f=_0x477528([_0x148473(0x0,_0x42b304['Inject'](_0x16bb92[_0x540b42(0x1e9)])),_0x148473(0x1,_0x42b304[_0x540b42(0x40f)](_0x41dc5f[_0x540b42(0x41f)])),_0x148473(0x2,_0x42b304[_0x540b42(0x40f)](_0x456090)),_0x148473(0x3,_0x42b304['Inject'](_0x412db4)),_0x148473(0x4,_0x42b304['Inject'](_0x554bd6)),_0x148473(0x5,_0x42b304[_0x540b42(0x40f)](_0x42f10f)),_0x148473(0x6,_0x264d8f[_0x540b42(0x331)]),_0x148473(0x7,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x214)]))],_0x11670f);var _0x53cb2b=Object['getOwnPropertyDescriptor'],_0x3bfaa3=(_0x24bfcb,_0x13ae76,_0x530b32,_0xaf4e29)=>{for(var _0x493dea=_0xaf4e29>0x1?void 0x0:_0xaf4e29?_0x53cb2b(_0x13ae76,_0x530b32):_0x13ae76,_0x3b22d5=_0x24bfcb['length']-0x1,_0x2f9704;_0x3b22d5>=0x0;_0x3b22d5--)(_0x2f9704=_0x24bfcb[_0x3b22d5])&&(_0x493dea=_0x2f9704(_0x493dea)||_0x493dea);return _0x493dea;},_0x215d82=(_0x1e6e27,_0x291bcc)=>(_0x45825c,_0x1aa32f)=>_0x291bcc(_0x45825c,_0x1aa32f,_0x1e6e27);let _0x338c4b=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x4a3c0d,_0x55f493,_0xf688b2){const _0x753b5f=_0x540b42;super(),_0x432cc5(this,'_cachedData',new Map()),_0x432cc5(this,_0x753b5f(0x39e),new Map()),_0x432cc5(this,_0x753b5f(0x43a),!0x1),(this['_configService']=_0x4a3c0d,this[_0x753b5f(0x314)]=_0x55f493,this[_0x753b5f(0x3c8)]=_0xf688b2);}[_0x540b42(0x2e8)](){const _0x8083f1=_0x540b42;this[_0x8083f1(0x43a)]=!0x0;}[_0x540b42(0x41b)](){this['_disabled']=!0x1;}get[_0x540b42(0x27f)](){const _0x1563bc=_0x540b42;return this[_0x1563bc(0x39e)];}['dispose'](){const _0x22cd28=_0x540b42;this[_0x22cd28(0x3b2)]()[_0x22cd28(0x302)](()=>super[_0x22cd28(0x26d)]());}async[_0x540b42(0x3d9)](_0x167614){const _0x36e948=_0x540b42;return this[_0x36e948(0x43a)]?null:this[_0x36e948(0x314)][_0x36e948(0x2b9)](_0x41dc5f[_0x36e948(0x27b)](_0x167614));}async[_0x540b42(0x343)](_0x47ddb5,_0x561385){const _0x42dfed=_0x540b42;return!!this[_0x42dfed(0x314)][_0x42dfed(0x29b)](_0x47ddb5,_0x561385);}[_0x540b42(0x25e)](_0x26e2ad,_0x17021f,_0x1015fd,_0x21aeaf){const _0x14f67f=_0x540b42,_0x490c06=this[_0x14f67f(0x3c8)]['getCurrentRevOfUnit'](_0x26e2ad);this[_0x14f67f(0x235)][_0x14f67f(0x1e2)](_0x26e2ad,{'unitID':_0x26e2ad,'type':_0x17021f,'awaitingChangeset':_0x1015fd,'mutations':_0x21aeaf,'rev':_0x490c06}),this[_0x14f67f(0x39e)][_0x14f67f(0x25d)](_0x26e2ad)||this[_0x14f67f(0x1d8)](_0x26e2ad);}[_0x540b42(0x1d8)](_0x2a660e){const _0x4b301d=_0x540b42,_0x1239df=this[_0x4b301d(0x1bd)]();_0x1239df===0x0?this[_0x4b301d(0x24b)](_0x2a660e):this['_saveTaskMap']['set'](_0x2a660e,setTimeout(()=>this[_0x4b301d(0x24b)](_0x2a660e),_0x1239df));}[_0x540b42(0x1bd)](){const _0x1018b5=_0x540b42;var _0x5a2350;return(_0x5a2350=this[_0x1018b5(0x209)][_0x1018b5(0x1ca)](_0x41dc5f[_0x1018b5(0x1c9)]))!=null?_0x5a2350:_0x41dc5f[_0x1018b5(0x40d)];}[_0x540b42(0x24b)](_0x4210e0){const _0x30e818=_0x540b42,_0x107449=this[_0x30e818(0x39e)][_0x30e818(0x26c)](_0x4210e0);return _0x107449!==void 0x0&&window[_0x30e818(0x427)](_0x107449),this['_localStorageService']['setItem'](_0x41dc5f[_0x30e818(0x27b)](_0x4210e0),this[_0x30e818(0x235)]['get'](_0x4210e0))[_0x30e818(0x302)](()=>this['_saveTaskMap']['delete'](_0x4210e0));}async['exhaustSavingTask'](){const _0x2e8286=_0x540b42,_0x44fd40=[];this[_0x2e8286(0x39e)][_0x2e8286(0x3fb)]((_0x4c79d3,_0x2bc5d0)=>{const _0x5a961e=_0x2e8286;window[_0x5a961e(0x427)](_0x4c79d3),_0x44fd40[_0x5a961e(0x2ef)](this['_saveCache'](_0x2bc5d0)[_0x5a961e(0x302)](()=>{const _0x2abfaa=_0x5a961e;this[_0x2abfaa(0x39e)][_0x2abfaa(0x278)](_0x2bc5d0);}));}),await Promise[_0x2e8286(0x252)](_0x44fd40);}};_0x338c4b=_0x3bfaa3([_0x215d82(0x0,_0x42b304[_0x540b42(0x3f9)]),_0x215d82(0x1,_0x42b304[_0x540b42(0x217)]),_0x215d82(0x2,_0x42b304['Inject'](_0x30bf61[_0x540b42(0x39d)]))],_0x338c4b);class _0x3f58ef extends _0x42b304['RxDisposable']{constructor(){const _0xb9765=_0x540b42;super(),_0x432cc5(this,'urlChange$'),this[_0xb9765(0x394)]=_0x34f1d4[_0xb9765(0x29f)](window,_0xb9765(0x444))[_0xb9765(0x3ba)](_0x34f1d4[_0xb9765(0x342)](this[_0xb9765(0x20c)]),_0x34f1d4[_0xb9765(0x32a)](0x1),_0x34f1d4[_0xb9765(0x325)](void 0x0));}['setParam'](_0x4d4ad3,_0x21dde9,_0x51afc2=!0x1){const _0x3441a2=_0x540b42,_0x38f85b=new URL(window[_0x3441a2(0x2ff)][_0x3441a2(0x3f5)]);_0x38f85b[_0x3441a2(0x3f3)]['set'](_0x4d4ad3,_0x21dde9),_0x51afc2?window[_0x3441a2(0x2f0)][_0x3441a2(0x310)]('','',_0x38f85b['toString']()):window[_0x3441a2(0x2f0)][_0x3441a2(0x3ee)]('','',_0x38f85b[_0x3441a2(0x440)]());}[_0x540b42(0x2c8)](_0x4009b6,_0x5b1315=!0x1){const _0xed1617=_0x540b42,_0x56e3af=new URL(window['location'][_0xed1617(0x3f5)]);_0x56e3af[_0xed1617(0x3f3)][_0xed1617(0x278)](_0x4009b6),_0x5b1315?window['history'][_0xed1617(0x310)]('','',_0x56e3af[_0xed1617(0x440)]()):window[_0xed1617(0x2f0)][_0xed1617(0x3ee)]('','',_0x56e3af['toString']());}[_0x540b42(0x2b4)](_0x18c400){const _0x3ac5b6=_0x540b42;var _0x5a5c08;return(_0x5a5c08=new URL(window[_0x3ac5b6(0x2ff)][_0x3ac5b6(0x3f5)])[_0x3ac5b6(0x3f3)][_0x3ac5b6(0x26c)](_0x18c400))!=null?_0x5a5c08:void 0x0;}}var _0x46e4da=Object[_0x540b42(0x446)],_0x1f8801=Object[_0x540b42(0x2fc)],_0x2ec6a8=(_0x38ee64,_0x435eb2,_0x59f6ce)=>_0x435eb2 in _0x38ee64?_0x46e4da(_0x38ee64,_0x435eb2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59f6ce}):_0x38ee64[_0x435eb2]=_0x59f6ce,_0x432493=(_0x433276,_0x198a9b,_0xbe8d6b,_0x3529bf)=>{const _0x51345e=_0x540b42;for(var _0x17f2d5=_0x3529bf>0x1?void 0x0:_0x3529bf?_0x1f8801(_0x198a9b,_0xbe8d6b):_0x198a9b,_0x5863c5=_0x433276[_0x51345e(0x349)]-0x1,_0x16b792;_0x5863c5>=0x0;_0x5863c5--)(_0x16b792=_0x433276[_0x5863c5])&&(_0x17f2d5=_0x16b792(_0x17f2d5)||_0x17f2d5);return _0x17f2d5;},_0x39a37c=(_0x1d8f0c,_0x9c9cb6)=>(_0x3e6708,_0x580444)=>_0x9c9cb6(_0x3e6708,_0x580444,_0x1d8f0c),_0xe622b6=(_0x513077,_0x824cc3,_0x24bd47)=>_0x2ec6a8(_0x513077,_0x824cc3+'',_0x24bd47);const _0x5da211=_0x540b42(0x2e6);_0x41c194[_0x540b42(0x2a8)]=class extends _0x42b304[_0x540b42(0x328)]{constructor(_0x59d305=_0x374ffe,_0x17e4dd,_0x5ad4b6,_0x344d5d){const _0x16d352=_0x540b42;super(),this['_config']=_0x59d305,this[_0x16d352(0x3bc)]=_0x17e4dd,this['_injector']=_0x5ad4b6,this[_0x16d352(0x209)]=_0x344d5d;const {..._0x24fda7}=_0x42b304[_0x16d352(0x3c6)]({},_0x374ffe,this[_0x16d352(0x290)]);this['_configService']['setConfig'](_0x13ce90,_0x24fda7);}[_0x540b42(0x39a)](){const _0x57b2bc=_0x540b42;this[_0x57b2bc(0x2b6)](),this['_initDependencies']();}[_0x540b42(0x205)](){const _0x5a96fe=_0x540b42;this[_0x5a96fe(0x2ae)]();}[_0x540b42(0x2b6)](){const _0x18d307=_0x540b42;var _0x4f83ae;const _0x407f24=[[_0x4fb46b],[_0x554bd6],[_0x456090],[_0x412db4],[_0x42f10f],[_0x3867b1,{'useClass':_0x3f58ef}],[_0x43144b[_0x18d307(0x2a6)],{'useClass':_0x43144b['WebSocketService']}],[_0x41dc5f[_0x18d307(0x403)],{'useClass':_0x338c4b}],[_0x41c194[_0x18d307(0x2bf)]],[_0x11670f],[_0x5824b5],[_0x1283a0],[_0x55be9f],[_0x41c194[_0x18d307(0x2da)]]];_0x42b304[_0x18d307(0x3df)](this[_0x18d307(0x31b)],_0x42b304['mergeOverrideWithDependencies'](_0x407f24,(_0x4f83ae=this['_config'])==null?void 0x0:_0x4f83ae['override']));}[_0x540b42(0x2ae)](){const _0x123761=_0x540b42;this[_0x123761(0x2d2)](this[_0x123761(0x3bc)][_0x123761(0x438)](_0x42b304[_0x123761(0x22e)][_0x123761(0x270)],[_0x50cbf7])),this[_0x123761(0x2d2)](this['_renderManagerService']['registerRenderModule'](_0x42b304[_0x123761(0x22e)][_0x123761(0x33f)],[_0x50b460]));}['_initDependencies'](){const _0x419d84=_0x540b42;_0x42b304['touchDependencies'](this[_0x419d84(0x31b)],[[_0x1283a0],[_0x41c194[_0x419d84(0x2bf)]],[_0x11670f],[_0x5824b5],[_0x41c194[_0x419d84(0x2da)]]]);}},_0xe622b6(_0x41c194[_0x540b42(0x2a8)],'pluginName',_0x5da211),_0x41c194['UniverCollaborationClientUIPlugin']=_0x432493([_0x42b304[_0x540b42(0x1d0)](_0x41dc5f[_0x540b42(0x36f)]),_0x39a37c(0x1,_0x409358[_0x540b42(0x1aa)]),_0x39a37c(0x2,_0x42b304['Inject'](_0x42b304['Injector'])),_0x39a37c(0x3,_0x42b304[_0x540b42(0x3f9)])],_0x41c194['UniverCollaborationClientUIPlugin']);var _0xb7a0ab=Object['getOwnPropertyDescriptor'],_0x50a037=(_0x585d85,_0x3ede2b,_0x53d232,_0x27fcb7)=>{const _0x240f2c=_0x540b42;for(var _0xe54788=_0x27fcb7>0x1?void 0x0:_0x27fcb7?_0xb7a0ab(_0x3ede2b,_0x53d232):_0x3ede2b,_0x133579=_0x585d85[_0x240f2c(0x349)]-0x1,_0x61772f;_0x133579>=0x0;_0x133579--)(_0x61772f=_0x585d85[_0x133579])&&(_0xe54788=_0x61772f(_0xe54788)||_0xe54788);return _0xe54788;},_0x3648c7=(_0x3782d3,_0xcab2a8)=>(_0x2ec708,_0x44b227)=>_0xcab2a8(_0x2ec708,_0x44b227,_0x3782d3);_0x41c194[_0x540b42(0x1fc)]=class extends _0x41dc5f[_0x540b42(0x200)]{constructor(_0xae7b77,_0xa1e454,_0x1a36c3,_0x595e93,_0x543c82){super(_0xae7b77,_0xa1e454,_0x1a36c3,_0x595e93,_0x543c82);}async['createSocket'](_0x252202){const _0xeac686=_0x540b42,_0x271fbd=await this[_0xeac686(0x3a9)](),_0x71fe4=this[_0xeac686(0x439)](_0x252202,_0x271fbd);return this[_0xeac686(0x2be)](_0x71fe4);}[_0x540b42(0x439)](_0x7d7c66,_0x2bb4b8){const _0x26eff3=_0x540b42,_0x5d56d8=typeof window>'u'?new URL(_0x7d7c66):new URL(_0x7d7c66,window['location']['origin']);_0x5d56d8['searchParams']['set']('sessionTicket',_0x2bb4b8);const _0x2485e5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x26eff3(0x34e)]);return _0x2485e5[_0x26eff3(0x26c)](_0x26eff3(0x350))&&_0x5d56d8[_0x26eff3(0x3f3)]['set'](_0x26eff3(0x350),_0x2485e5['get'](_0x26eff3(0x350))),_0x5d56d8[_0x26eff3(0x440)]();}async[_0x540b42(0x3a9)](){const _0x40eb33=_0x540b42;var _0x32f723,_0xdd251b,_0x4b2d1e;const _0x5860dd=this[_0x40eb33(0x209)][_0x40eb33(0x1ca)](_0x41dc5f[_0x40eb33(0x232)]),_0x4caf26=(_0x32f723=_0x5860dd==null?void 0x0:_0x5860dd['wsSessionTicketUrl'])!=null?_0x32f723:_0x41dc5f[_0x40eb33(0x268)];return(_0x4b2d1e=(_0xdd251b=(await this[_0x40eb33(0x35e)][_0x40eb33(0x26c)](_0x4caf26,{'headers':{'Content-Type':'application/json'}}))[_0x40eb33(0x35a)])==null?void 0x0:_0xdd251b[_0x40eb33(0x391)])!=null?_0x4b2d1e:'';}},_0x41c194[_0x540b42(0x1fc)]=_0x50a037([_0x3648c7(0x0,_0x42b304[_0x540b42(0x40f)](_0x42b304[_0x540b42(0x2f8)])),_0x3648c7(0x1,_0x42b304['Inject'](_0x43144b[_0x540b42(0x3e6)])),_0x3648c7(0x2,_0x42b304['IConfigService']),_0x3648c7(0x3,_0x42b304[_0x540b42(0x24e)]),_0x3648c7(0x4,_0x30bf61[_0x540b42(0x1ed)])],_0x41c194[_0x540b42(0x1fc)]);const _0x12f7ba=0x7530,_0x3c342c=_0x540b42(0x36a);class _0x59ff3a extends _0x42b304[_0x540b42(0x31f)]{constructor(){const _0x1078bb=_0x540b42;super(),_0x432cc5(this,'_id',_0x42b304['generateRandomId']()),_0x432cc5(this,_0x1078bb(0x321),new Set()),_0x432cc5(this,'_unitOnClients',new Map()),_0x432cc5(this,_0x1078bb(0x1e8),null),_0x432cc5(this,_0x1078bb(0x381),new Map()),_0x432cc5(this,_0x1078bb(0x2ee),new Map()),this[_0x1078bb(0x413)]();}[_0x540b42(0x26d)](){const _0x315a04=_0x540b42;super[_0x315a04(0x26d)](),this['_clearOtherTimers'][_0x315a04(0x3fb)]((_0x1135d4,_0x5c56c7)=>this[_0x315a04(0x373)](_0x5c56c7)),this[_0x315a04(0x1e8)]&&window[_0x315a04(0x285)](this[_0x315a04(0x1e8)]);}[_0x540b42(0x1f6)](_0x48d997){const _0x33381f=_0x540b42;return this['_ensureSubject'](_0x48d997)[_0x33381f(0x3ba)](_0x34f1d4[_0x33381f(0x1be)]());}[_0x540b42(0x418)](_0x2bc80d){const _0x4c17b7=_0x540b42;this[_0x4c17b7(0x321)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x4c17b7(0x321)][_0x4c17b7(0x296)](_0x2bc80d),this[_0x4c17b7(0x425)]({'type':0x0,'memberID':this[_0x4c17b7(0x267)],'unitIDs':[_0x2bc80d],'isForwarded':!0x1});}['disposeUnit'](_0x467676){const _0x392400=_0x540b42;this[_0x392400(0x321)][_0x392400(0x278)](_0x467676),this['_selfUnitIDs'][_0x392400(0x3fe)]===0x0&&this[_0x392400(0x1e8)]&&window[_0x392400(0x285)](this['_heartbeatTimer']);}[_0x540b42(0x413)](){const _0x5277b5=_0x540b42;this[_0x5277b5(0x2d2)](_0x42b304['toDisposable'](_0x34f1d4[_0x5277b5(0x29f)](window,_0x5277b5(0x2dc))[_0x5277b5(0x289)](_0x24d67a=>{const _0x1316db=_0x5277b5;if(_0x24d67a['key']!==_0x3c342c||!_0x24d67a['newValue'])return;const _0x4b07d8=JSON[_0x1316db(0x32e)](_0x24d67a['newValue']);this[_0x1316db(0x3f7)](_0x4b07d8);}))),window[_0x5277b5(0x442)]('unload',()=>this[_0x5277b5(0x425)]({'type':0x1,'memberID':this[_0x5277b5(0x267)],'unitIDs':Array[_0x5277b5(0x3dd)](this[_0x5277b5(0x321)])}));}['_handleEvent'](_0x3d2e74){const _0x1de61e=_0x540b42;switch(_0x3d2e74[_0x1de61e(0x1af)]){case 0x0:this[_0x1de61e(0x1ad)](_0x3d2e74);break;case 0x1:this[_0x1de61e(0x436)](_0x3d2e74);break;case 0x2:this[_0x1de61e(0x445)](_0x3d2e74);break;}}[_0x540b42(0x1ad)](_0x4f71f4){const _0x309d75=_0x540b42,{unitIDs:_0x32304d,memberID:_0x2cef76,isForwarded:_0x29f039}=_0x4f71f4;_0x32304d[_0x309d75(0x3fb)](_0x4edd90=>{const _0x2a00ba=_0x309d75;if(!_0x29f039&&this[_0x2a00ba(0x2f4)][_0x2a00ba(0x25d)](_0x4edd90)&&this[_0x2a00ba(0x31a)](_0x4edd90)[_0x2a00ba(0x28e)](_0x41dc5f[_0x2a00ba(0x2ba)]['OTHER_CLIENTS_EDITING']),!this[_0x2a00ba(0x2f4)]['has'](_0x4edd90)||!this['_unitOnClients']['get'](_0x4edd90)[_0x2a00ba(0x25d)](_0x2cef76)){const _0x12c194=this[_0x2a00ba(0x2f4)][_0x2a00ba(0x26c)](_0x4edd90)||new Set();_0x12c194[_0x2a00ba(0x296)](_0x2cef76),this[_0x2a00ba(0x2f4)][_0x2a00ba(0x1e2)](_0x4edd90,_0x12c194),this[_0x2a00ba(0x3bb)](_0x2cef76);}}),_0x29f039||this[_0x309d75(0x425)]({'type':0x0,'memberID':this[_0x309d75(0x267)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x540b42(0x3bb)](_0x254571){const _0x3c55a3=_0x540b42;this[_0x3c55a3(0x373)](_0x254571);const _0x48a4ce=window[_0x3c55a3(0x352)](()=>{const _0x1938e1=_0x3c55a3;this[_0x1938e1(0x2f4)][_0x1938e1(0x3fb)](_0x4378f7=>{const _0x3d86fb=_0x1938e1;_0x4378f7[_0x3d86fb(0x278)](_0x254571);});},_0x12f7ba*0x2);this[_0x3c55a3(0x381)]['set'](_0x254571,_0x48a4ce);}[_0x540b42(0x373)](_0x26dca2){const _0x1ffa31=_0x540b42;if(this['_clearOtherTimers'][_0x1ffa31(0x25d)](_0x26dca2)){const _0x4e2045=this[_0x1ffa31(0x381)]['get'](_0x26dca2);_0x4e2045&&window[_0x1ffa31(0x427)](_0x4e2045),this[_0x1ffa31(0x381)][_0x1ffa31(0x1e2)](_0x26dca2,null);}}[_0x540b42(0x436)](_0x36181c){const _0x527a33=_0x540b42,{memberID:_0x44d327,unitIDs:_0x228173}=_0x36181c;_0x228173[_0x527a33(0x3fb)](_0x4c81c1=>{const _0x18e749=_0x527a33;var _0x473186;const _0x3d16ab=this[_0x18e749(0x2f4)]['get'](_0x4c81c1);_0x3d16ab&&(_0x3d16ab[_0x18e749(0x278)](_0x44d327),(_0x473186=this['_ensureSubject'](_0x4c81c1))==null||_0x473186['next'](_0x3d16ab[_0x18e749(0x3fe)]===0x0?_0x41dc5f[_0x18e749(0x2ba)][_0x18e749(0x26f)]:_0x41dc5f[_0x18e749(0x2ba)]['OTHER_CLIENTS_EDITING']));}),this[_0x527a33(0x373)](_0x44d327);}['_handleHeartbeatEvent'](_0x1e870d){const _0x300fbe=_0x540b42;this[_0x300fbe(0x3bb)](_0x1e870d[_0x300fbe(0x42e)]);}[_0x540b42(0x425)](_0x98f9bd){const _0x40a925=_0x540b42;localStorage['setItem'](_0x3c342c,JSON[_0x40a925(0x353)](_0x98f9bd));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x12f7ba);}[_0x540b42(0x31a)](_0x3672ac){const _0x10e4bb=_0x540b42;return this[_0x10e4bb(0x2ee)][_0x10e4bb(0x25d)](_0x3672ac)||this[_0x10e4bb(0x2ee)]['set'](_0x3672ac,new _0x34f1d4[(_0x10e4bb(0x225))](_0x41dc5f['UnitStatus'][_0x10e4bb(0x26f)])),this[_0x10e4bb(0x2ee)][_0x10e4bb(0x26c)](_0x3672ac);}}var _0x178dda=(_0xc38c51=>(_0xc38c51[_0xc38c51[_0x540b42(0x2b2)]=0x0]=_0x540b42(0x2b2),_0xc38c51[_0xc38c51['OK']=0x1]='OK',_0xc38c51[_0xc38c51[_0x540b42(0x219)]=0x2]=_0x540b42(0x219),_0xc38c51[_0xc38c51[_0x540b42(0x360)]=0x3]=_0x540b42(0x360),_0xc38c51[_0xc38c51[_0x540b42(0x346)]=0x4]=_0x540b42(0x346),_0xc38c51[_0xc38c51['UNAUTHENTICATED']=0x5]=_0x540b42(0x31c),_0xc38c51[_0xc38c51[_0x540b42(0x1ac)]=0x6]=_0x540b42(0x1ac),_0xc38c51[_0xc38c51[_0x540b42(0x2c2)]=0x7]=_0x540b42(0x2c2),_0xc38c51[_0xc38c51[_0x540b42(0x429)]=0x8]=_0x540b42(0x429),_0xc38c51[_0xc38c51[_0x540b42(0x28f)]=0x9]=_0x540b42(0x28f),_0xc38c51[_0xc38c51[_0x540b42(0x324)]=0xa]='LOGIN_FAILED',_0xc38c51[_0xc38c51[_0x540b42(0x3eb)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xc38c51[_0xc38c51[_0x540b42(0x2b1)]=0x1771]=_0x540b42(0x2b1),_0xc38c51[_0xc38c51[_0x540b42(0x364)]=0x1772]=_0x540b42(0x364),_0xc38c51[_0xc38c51[_0x540b42(0x2dd)]=0x1773]=_0x540b42(0x2dd),_0xc38c51[_0xc38c51['APPLY_REJECT']=0x1b59]=_0x540b42(0x2c3),_0xc38c51[_0xc38c51[_0x540b42(0x423)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xc38c51[_0xc38c51['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0xc38c51[_0xc38c51[_0x540b42(0x2ad)]=0x1b5c]=_0x540b42(0x2ad),_0xc38c51[_0xc38c51['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0xc38c51[_0xc38c51['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x540b42(0x1e1),_0xc38c51[_0xc38c51[_0x540b42(0x1c6)]=0x2329]=_0x540b42(0x1c6),_0xc38c51[_0xc38c51['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x540b42(0x2d9),_0xc38c51[_0xc38c51['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x540b42(0x1c3),_0xc38c51[_0xc38c51[_0x540b42(0x1eb)]=0x232c]=_0x540b42(0x1eb),_0xc38c51[_0xc38c51['LICENSE_DISTRO_REJECTED']=0x232d]=_0x540b42(0x322),_0xc38c51[_0xc38c51[_0x540b42(0x3bd)]=0x2711]=_0x540b42(0x3bd),_0xc38c51[_0xc38c51[_0x540b42(0x1c7)]=0x2712]=_0x540b42(0x1c7),_0xc38c51[_0xc38c51[_0x540b42(0x37b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xc38c51[_0xc38c51[_0x540b42(0x3aa)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xc38c51[_0xc38c51[_0x540b42(0x3dc)]=0x271a]=_0x540b42(0x3dc),_0xc38c51[_0xc38c51[_0x540b42(0x307)]=0x271b]=_0x540b42(0x307),_0xc38c51[_0xc38c51[_0x540b42(0x34d)]=0x2af9]=_0x540b42(0x34d),_0xc38c51[_0xc38c51[_0x540b42(0x281)]=0x2ee1]=_0x540b42(0x281),_0xc38c51[_0xc38c51[_0x540b42(0x3ed)]=0x2ee2]='INVALID_INVITE_CODE',_0xc38c51[_0xc38c51['INVITE_CODE_REQUIRED']=0x2ee3]=_0x540b42(0x36c),_0xc38c51[_0xc38c51[_0x540b42(0x264)]=0x2ee4]=_0x540b42(0x264),_0xc38c51[_0xc38c51['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x540b42(0x29d),_0xc38c51[_0xc38c51[_0x540b42(0x2f6)]=0x32c9]=_0x540b42(0x2f6),_0xc38c51[_0xc38c51[_0x540b42(0x404)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xc38c51[_0xc38c51['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x540b42(0x2fb),_0xc38c51[_0xc38c51['UNRECOGNIZED']=-0x1]=_0x540b42(0x21f),_0xc38c51))(_0x178dda||{}),_0x1bed8a=Object[_0x540b42(0x2fc)],_0x41a32d=(_0x3c9a30,_0x34eefc,_0x1384ae,_0x53f64f)=>{const _0x560239=_0x540b42;for(var _0x35fbe4=_0x53f64f>0x1?void 0x0:_0x53f64f?_0x1bed8a(_0x34eefc,_0x1384ae):_0x34eefc,_0x21aa8d=_0x3c9a30[_0x560239(0x349)]-0x1,_0x3d8e30;_0x21aa8d>=0x0;_0x21aa8d--)(_0x3d8e30=_0x3c9a30[_0x21aa8d])&&(_0x35fbe4=_0x3d8e30(_0x35fbe4)||_0x35fbe4);return _0x35fbe4;},_0x37a20d=(_0x14e517,_0x35d815)=>(_0x5bb545,_0x1615be)=>_0x35d815(_0x5bb545,_0x1615be,_0x14e517);_0x41c194['RemoteUniscriptService']=class extends _0x42b304[_0x540b42(0x31f)]{constructor(_0x52eae7,_0x5987a9,_0x71027b){const _0x579710=_0x540b42;super(),this[_0x579710(0x224)]=_0x52eae7,this[_0x579710(0x35e)]=_0x5987a9,this[_0x579710(0x209)]=_0x71027b;}async[_0x540b42(0x388)](_0x59c133,_0x3c6b63,_0x35fb69,..._0x1c8289){const _0x306f38=_0x540b42;var _0x5bb8e4,_0x37cff9,_0x1a0afd,_0x1992be;const _0x55ef0e=this[_0x306f38(0x224)]['getFocusedUnit']();if(!_0x55ef0e)throw new Error(_0x306f38(0x433));const _0x4713c5=((_0x5bb8e4=this['_configService'][_0x306f38(0x1ca)](_0x41dc5f[_0x306f38(0x1b3)]))!=null?_0x5bb8e4:_0x41dc5f[_0x306f38(0x41d)])+'/'+_0x59c133+'/run/'+_0x3c6b63,_0x4ccc82=new URL(window[_0x306f38(0x2ff)][_0x306f38(0x3f5)]),_0x129ca1={'scriptId':_0x59c133,'runId':(_0x37cff9=_0x4ccc82[_0x306f38(0x3f3)]['get']('runId'))!=null?_0x37cff9:'','function':_0x3c6b63,'unitId':_0x55ef0e[_0x306f38(0x3c5)](),'argsOfFunction':JSON[_0x306f38(0x353)](_0x1c8289),'invokeId':(_0x1a0afd=_0x35fb69[_0x306f38(0x2b5)])!=null?_0x1a0afd:'','executionId':(_0x1992be=_0x35fb69[_0x306f38(0x361)])!=null?_0x1992be:''};try{const _0x4193b2=await this[_0x306f38(0x35e)][_0x306f38(0x255)](_0x4713c5,{'body':_0x129ca1});return _0x4193b2[_0x306f38(0x35a)][_0x306f38(0x202)]&&_0x4193b2[_0x306f38(0x35a)]['error'][_0x306f38(0x1ab)]!==_0x178dda['OK']?_0x306f38(0x2b8):_0x4193b2[_0x306f38(0x35a)][_0x306f38(0x39b)];}catch{return _0x306f38(0x2b8);}}},_0x41c194[_0x540b42(0x316)]=_0x41a32d([_0x37a20d(0x0,_0x42b304['IUniverInstanceService']),_0x37a20d(0x1,_0x42b304[_0x540b42(0x40f)](_0x43144b['HTTPService'])),_0x37a20d(0x2,_0x42b304[_0x540b42(0x3f9)])],_0x41c194[_0x540b42(0x316)]),_0x41c194[_0x540b42(0x300)]=_0x57b7f0,_0x41c194[_0x540b42(0x2af)]=_0x3867b1,_0x41c194[_0x540b42(0x33a)]=_0x41d68b,_0x41c194['WebBrowserSingleActiveUnitService']=_0x59ff3a,_0x41c194[_0x540b42(0x317)]=_0x3f58ef,Object[_0x540b42(0x446)](_0x41c194,Symbol['toStringTag'],{'value':'Module'});}));
1
+ (function(_0x509b1a,_0x435427){const _0x3060ce=_0x3c28,_0x373305=_0x509b1a();while(!![]){try{const _0x1f79f5=-parseInt(_0x3060ce(0x124))/0x1*(-parseInt(_0x3060ce(0x321))/0x2)+-parseInt(_0x3060ce(0x344))/0x3*(parseInt(_0x3060ce(0x35c))/0x4)+parseInt(_0x3060ce(0x370))/0x5*(-parseInt(_0x3060ce(0x379))/0x6)+parseInt(_0x3060ce(0x251))/0x7+-parseInt(_0x3060ce(0x262))/0x8+parseInt(_0x3060ce(0x135))/0x9*(-parseInt(_0x3060ce(0x308))/0xa)+parseInt(_0x3060ce(0x26b))/0xb;if(_0x1f79f5===_0x435427)break;else _0x373305['push'](_0x373305['shift']());}catch(_0x11b168){_0x373305['push'](_0x373305['shift']());}}}(_0x5a2e,0x7b56f),function(_0x396b4b,_0x53693e){const _0x593b08=_0x3c28;typeof exports==_0x593b08(0x17f)&&typeof module<'u'?_0x53693e(exports,require(_0x593b08(0x2d6)),require(_0x593b08(0x24b)),require(_0x593b08(0x267)),require(_0x593b08(0x28f)),require('@univerjs/docs-ui'),require(_0x593b08(0x17d)),require('rxjs'),require(_0x593b08(0x1ac)),require(_0x593b08(0x24d)),require(_0x593b08(0x172)),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require(_0x593b08(0x1f9)),require(_0x593b08(0x27a)),require('@univerjs/design'),require(_0x593b08(0x1e9)),require('@univerjs/rpc')):typeof define==_0x593b08(0x1fb)&&define[_0x593b08(0x1da)]?define([_0x593b08(0x316),_0x593b08(0x2d6),_0x593b08(0x24b),_0x593b08(0x267),_0x593b08(0x28f),'@univerjs/docs-ui','@univerjs/drawing',_0x593b08(0x389),_0x593b08(0x1ac),_0x593b08(0x24d),_0x593b08(0x172),_0x593b08(0x201),'rxjs/operators',_0x593b08(0x2e7),_0x593b08(0x1f9),_0x593b08(0x27a),_0x593b08(0x35e),_0x593b08(0x1e9),'@univerjs/rpc'],_0x53693e):(_0x396b4b=typeof globalThis<'u'?globalThis:_0x396b4b||self,_0x53693e(_0x396b4b[_0x593b08(0x330)]={},_0x396b4b['UniverProCollaborationClient'],_0x396b4b[_0x593b08(0x26e)],_0x396b4b[_0x593b08(0x2a1)],_0x396b4b[_0x593b08(0x337)],_0x396b4b[_0x593b08(0x228)],_0x396b4b[_0x593b08(0x297)],_0x396b4b['rxjs'],_0x396b4b['UniverDocs'],_0x396b4b['UniverProCollaboration'],_0x396b4b[_0x593b08(0x15c)],_0x396b4b[_0x593b08(0x30a)],_0x396b4b['rxjs'][_0x593b08(0x191)],_0x396b4b[_0x593b08(0x169)],_0x396b4b[_0x593b08(0x24a)],_0x396b4b[_0x593b08(0x27f)],_0x396b4b[_0x593b08(0x206)],_0x396b4b[_0x593b08(0x24a)],_0x396b4b[_0x593b08(0x272)]));}(this,function(_0x49722f,_0xf9b925,_0x29c4b3,_0x12e223,_0x393968,_0x2496d8,_0x49e59c,_0x5cdc95,_0x1c550c,_0x53c7bc,_0x4f63e7,_0x9b20c5,_0x2fb573,_0x41b6a4,_0xcfd45e,_0x49048d,_0x2b6841,_0x442017,_0x14f0d0){'use strict';const _0x4b1c64=_0x3c28;var _0x5a7244=Object[_0x4b1c64(0x286)],_0x1b2923=(_0x6cfdf4,_0x31f4b7,_0x265b80)=>_0x31f4b7 in _0x6cfdf4?_0x5a7244(_0x6cfdf4,_0x31f4b7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x265b80}):_0x6cfdf4[_0x31f4b7]=_0x265b80,_0x593db2=(_0x239b3d,_0x4f6a09,_0x589c43)=>_0x1b2923(_0x239b3d,typeof _0x4f6a09!=_0x4b1c64(0x2c5)?_0x4f6a09+'':_0x4f6a09,_0x589c43),_0x39e7c3=Object[_0x4b1c64(0x39e)],_0x4939d7=(_0x356d45,_0x3775ea,_0x675827,_0xc042c9)=>{const _0xab924d=_0x4b1c64;for(var _0x12e238=_0xc042c9>0x1?void 0x0:_0xc042c9?_0x39e7c3(_0x3775ea,_0x675827):_0x3775ea,_0x18cdf2=_0x356d45[_0xab924d(0x3ab)]-0x1,_0x57f82b;_0x18cdf2>=0x0;_0x18cdf2--)(_0x57f82b=_0x356d45[_0x18cdf2])&&(_0x12e238=_0x57f82b(_0x12e238)||_0x12e238);return _0x12e238;},_0xcc7383=(_0x4b5301,_0x16cbce)=>(_0x80e8e5,_0xe5fc45)=>_0x16cbce(_0x80e8e5,_0xe5fc45,_0x4b5301);let _0x4e9cd5=class extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(_0x1b40be,_0xfc4660){const _0x2320f3=_0x4b1c64;super(),this[_0x2320f3(0x343)]=_0x1b40be,this[_0x2320f3(0x2af)]=_0xfc4660,this[_0x2320f3(0x3b8)]();}['_init'](){const _0x230880=_0x4b1c64,_0x3e2eda=this;this['disposeWithMe'](this[_0x230880(0x343)][_0x230880(0x1e7)]({'onBeforePasteImage':async _0x3b77e4=>{const _0x11083a=_0x230880,_0x55dab3=await _0x3e2eda[_0x11083a(0x2af)][_0x11083a(0x1c9)](_0x3b77e4);return _0x55dab3?{'source':_0x55dab3['source'],'imageSourceType':_0x55dab3['imageSourceType']}:null;}}));}};_0x4e9cd5=_0x4939d7([_0xcc7383(0x0,_0x2496d8[_0x4b1c64(0x1b8)]),_0xcc7383(0x1,_0x49e59c['IImageIoService'])],_0x4e9cd5);const _0x3c1395=[_0x4b1c64(0x21f),_0x4b1c64(0x218),_0x4b1c64(0x301),_0x4b1c64(0x3b2),_0x4b1c64(0x393),_0x4b1c64(0x361)];class _0x51f35b extends _0x29c4b3[_0x4b1c64(0x357)]{constructor(){const _0x1155aa=_0x4b1c64;super(...arguments),_0x593db2(this,_0x1155aa(0x25a),new Map()),_0x593db2(this,'_colorIndex',0x0);}[_0x4b1c64(0x392)](_0x16a374){const _0x5274fd=_0x4b1c64;if(this[_0x5274fd(0x25a)][_0x5274fd(0x14d)](_0x16a374))return this[_0x5274fd(0x25a)][_0x5274fd(0x269)](_0x16a374);const _0x42258d=_0x3c1395[this['_colorIndex']];return this[_0x5274fd(0x29e)]=(this[_0x5274fd(0x29e)]+0x1)%_0x3c1395[_0x5274fd(0x3ab)],this[_0x5274fd(0x25a)][_0x5274fd(0x340)](_0x16a374,_0x42258d),_0x42258d;}}function _0x97f854(_0x3903fc){let _0x41191a='';for(const _0x1deb8a of _0x3903fc){const {startOffset:_0x34839b,endOffset:_0x14d9c9,isActive:_0x4a252c,rangeType:_0x5ac3ff,segmentId:_0x11f973,segmentPage:_0x5941fe}=_0x1deb8a;_0x41191a['length']&&(_0x41191a+=','),_0x41191a+=_0x34839b+':'+_0x14d9c9+':'+(_0x4a252c?'1':'0')+':'+_0x5ac3ff+':'+_0x11f973+':'+_0x5941fe;}return _0x41191a;}function _0x452392(_0x22197a){const _0x27a643=_0x4b1c64,_0x5304a7=_0x22197a[_0x27a643(0x229)](','),_0x451c12=[];for(const _0x2f0cd4 of _0x5304a7){const [_0x150850,_0x40f432,_0x35aef6,_0x1fa602,_0x108b55,_0xbb9bdf]=_0x2f0cd4[_0x27a643(0x229)](':');_0x451c12[_0x27a643(0x261)]({'startOffset':Number(_0x150850),'endOffset':Number(_0x40f432),'collapsed':_0x150850===_0x40f432,'isActive':_0x35aef6==='1','rangeType':_0x1fa602===_0x29c4b3['DOC_RANGE_TYPE'][_0x27a643(0x14c)]?_0x29c4b3[_0x27a643(0x315)][_0x27a643(0x14c)]:_0x29c4b3[_0x27a643(0x315)][_0x27a643(0x26a)],'segmentId':typeof _0x108b55==_0x27a643(0x149)?String(_0x108b55):'','segmentPage':Number(_0xbb9bdf!=null?_0xbb9bdf:-0x1)});}return _0x451c12[_0x27a643(0x2b2)](_0x25a780=>_0x25a780[_0x27a643(0x37d)])||(_0x451c12[0x0][_0x27a643(0x37d)]=!0x0),_0x451c12;}class _0x4aa5f2 extends _0x29c4b3['RxDisposable']{constructor(){const _0x55ae14=_0x4b1c64;super(...arguments),_0x593db2(this,_0x55ae14(0x205),new _0x5cdc95[(_0x55ae14(0x2b8))](null)),_0x593db2(this,_0x55ae14(0x1a8),this[_0x55ae14(0x205)][_0x55ae14(0x2ec)]());}[_0x4b1c64(0x190)](_0x4b5fd4){const _0x2d2032=_0x4b1c64,{unitID:_0x3c23b8,memberID:_0x22f415,textRanges:_0x11031a}=_0x4b5fd4,_0x5338d4=_0x97f854(_0x11031a);if(_0x5338d4==='')return;const _0x1b4e96={'unitID':_0x3c23b8,'memberID':_0x22f415,'selection':_0x5338d4};this[_0x2d2032(0x205)]['next'](_0x1b4e96);}}var _0x292b2=Object[_0x4b1c64(0x39e)],_0x4e4682=(_0x5a7551,_0x2703b4,_0x37e9ad,_0x156b72)=>{for(var _0x3ac019=_0x156b72>0x1?void 0x0:_0x156b72?_0x292b2(_0x2703b4,_0x37e9ad):_0x2703b4,_0x2282e2=_0x5a7551['length']-0x1,_0x2f674c;_0x2282e2>=0x0;_0x2282e2--)(_0x2f674c=_0x5a7551[_0x2282e2])&&(_0x3ac019=_0x2f674c(_0x3ac019)||_0x3ac019);return _0x3ac019;},_0x7f9213=(_0x248072,_0x62a15e)=>(_0x4a898b,_0x16099d)=>_0x62a15e(_0x4a898b,_0x16099d,_0x248072);const _0x36d7e6=0x12c,_0x21e7ee=0x64;let _0x50b416=class extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(_0x4d929a,_0x29d3e6,_0x4322e3,_0x27398a,_0x130898,_0x3a0cc0,_0x3aeb50,_0x4362d4,_0x5acb16){const _0x462083=_0x4b1c64;super(),_0x593db2(this,_0x462083(0x371),!0x1),_0x593db2(this,'_init',!0x1),_0x593db2(this,_0x462083(0x173),new _0x5cdc95['BehaviorSubject'](new Map())),_0x593db2(this,_0x462083(0x235),this['_cursorInfo$'][_0x462083(0x2ec)]()),_0x593db2(this,_0x462083(0x2b0),new _0x5cdc95[(_0x462083(0x2b8))]([])),_0x593db2(this,'roomMembers$',this[_0x462083(0x2b0)][_0x462083(0x37f)](_0x5cdc95[_0x462083(0x254)](_0x36d7e6))),_0x593db2(this,'_updateLocalCursor',_0x29c4b3['debounce'](_0x843d10=>{const _0x1177a5=_0x462083,_0x812704={'eventID':_0x53c7bc[_0x1177a5(0x238)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1177a5(0x12e)],'memberID':this[_0x1177a5(0x1db)]['getMemberID'](),'selection':_0x97f854(_0x843d10)}};this['_session'][_0x1177a5(0x187)](_0x812704,this[_0x1177a5(0x12e)]);},_0x21e7ee)),(this['unitID']=_0x4d929a,this[_0x462083(0x1db)]=_0x29d3e6,this[_0x462083(0x196)]=_0x4322e3,this[_0x462083(0x390)]=_0x27398a,this['_memberService']=_0x130898,this[_0x462083(0x314)]=_0x3a0cc0,this[_0x462083(0x195)]=_0x3aeb50,this[_0x462083(0x1e2)]=_0x4362d4,this[_0x462083(0x3a7)]=_0x5acb16);}get[_0x4b1c64(0x273)](){const _0x53d82b=_0x4b1c64;return this[_0x53d82b(0x173)]['getValue']();}get[_0x4b1c64(0x38a)](){const _0x3f70fd=_0x4b1c64;return this['_roomMembers$'][_0x3f70fd(0x2ae)]();}[_0x4b1c64(0x1d7)](){const _0x2ec1e0=_0x4b1c64;super['dispose'](),this[_0x2ec1e0(0x173)][_0x2ec1e0(0x2d4)](new Map()),this[_0x2ec1e0(0x173)]['complete'](),this['_roomMembers$'][_0x2ec1e0(0x2d4)]([]),this[_0x2ec1e0(0x2b0)][_0x2ec1e0(0x255)]();}[_0x4b1c64(0x349)](){const _0x4cb1eb=_0x4b1c64;this['_init']||(this[_0x4cb1eb(0x3b8)]=!0x0,this[_0x4cb1eb(0x1db)][_0x4cb1eb(0x31b)][_0x4cb1eb(0x37f)](_0x5cdc95[_0x4cb1eb(0x335)](this['dispose$']))[_0x4cb1eb(0x1d5)](_0x43bc84=>{const _0x3e1d60=_0x4cb1eb;_0x43bc84===_0xf9b925['SessionStatus'][_0x3e1d60(0x15e)]?this[_0x3e1d60(0x127)]():this[_0x3e1d60(0x156)]();}),this[_0x4cb1eb(0x1db)][_0x4cb1eb(0x1dd)][_0x4cb1eb(0x37f)](_0x5cdc95['takeUntil'](this[_0x4cb1eb(0x27d)]))[_0x4cb1eb(0x1d5)](_0x1b3918=>{const _0x43235e=_0x4cb1eb,_0x29a02f=_0x1b3918[_0x43235e(0x2f0)];_0x29a02f===_0x53c7bc['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1b3918),_0x29a02f===_0x53c7bc[_0x43235e(0x238)][_0x43235e(0x304)]&&this[_0x43235e(0x2ab)](_0x1b3918);}),this[_0x4cb1eb(0x1ad)](this[_0x4cb1eb(0x3a7)][_0x4cb1eb(0x30b)](_0x31982d=>{const _0x24947f=_0x4cb1eb,_0x52d77c=_0x31982d['params'];_0x52d77c!=null&&this[_0x24947f(0x371)]&&_0x31982d['id']===_0x1c550c[_0x24947f(0x159)]['id']&&_0x52d77c[_0x24947f(0x1b3)]===this['unitID']&&_0x52d77c[_0x24947f(0x263)]===!0x1&&_0x52d77c[_0x24947f(0x1a1)][_0x24947f(0x3ab)]>0x0&&this[_0x24947f(0x37e)](_0x52d77c['ranges']);})),this[_0x4cb1eb(0x314)]['collabCursorState$'][_0x4cb1eb(0x37f)](_0x5cdc95[_0x4cb1eb(0x335)](this[_0x4cb1eb(0x27d)]))[_0x4cb1eb(0x1d5)](_0x438bad=>{const _0x49e997=_0x4cb1eb;if((_0x438bad==null?void 0x0:_0x438bad['unitID'])!==this[_0x49e997(0x12e)])return;const _0x50d270={'eventID':_0x53c7bc[_0x49e997(0x238)]['UPDATE_CURSOR'],'data':_0x438bad};this[_0x49e997(0x1e0)](_0x50d270);}),this[_0x4cb1eb(0x1ad)](this[_0x4cb1eb(0x3a7)]['onCommandExecuted'](_0x274b06=>{const _0x5209d1=_0x4cb1eb;if(_0x274b06[_0x5209d1(0x1b4)]==null)return;const _0x56849f=_0x274b06[_0x5209d1(0x1b4)];if(_0x274b06['id']!==_0x1c550c['RichTextEditingMutation']['id']||_0x56849f[_0x5209d1(0x1b3)]!==this[_0x5209d1(0x12e)])return;const _0x545e2c={'id':'doc.mutation.rich-text-editing','params':_0x56849f},_0x39d6c8=this[_0x5209d1(0x273)];for(const [_0x4cbccd,_0x15834f]of _0x39d6c8){const _0x6c6ab={'id':_0x5209d1(0x278),'params':{'unitId':this[_0x5209d1(0x12e)],'actions':null,'textRanges':_0x15834f[_0x5209d1(0x1a1)]}},_0x18b898=this[_0x5209d1(0x195)][_0x5209d1(0x306)](_0x545e2c,_0x6c6ab,!0x1);if(_0x53c7bc[_0x5209d1(0x36f)](_0x18b898))throw _0x18b898[_0x5209d1(0x2c6)];_0x39d6c8[_0x5209d1(0x340)](_0x4cbccd,{..._0x15834f,'ranges':_0x18b898['m2Prime']['params'][_0x5209d1(0x2cb)]});}queueMicrotask(()=>{const _0x215849=_0x5209d1;this[_0x215849(0x173)][_0x215849(0x2d4)](_0x39d6c8);});})));}['_onCursorUpdate'](_0x429b5a){const _0x226348=_0x4b1c64;var _0x161a7f,_0x22a1cb;const {memberID:_0x70c808,selection:_0x48b4f3}=_0x429b5a[_0x226348(0x2dd)],_0x140354=_0x452392(_0x48b4f3),_0x2fbff1=(_0x22a1cb=(_0x161a7f=this[_0x226348(0x233)][_0x226348(0x2fa)](this[_0x226348(0x12e)],_0x70c808))==null?void 0x0:_0x161a7f['name'])!=null?_0x22a1cb:_0x226348(0x333),_0xf3b0fb={'color':this['_colorAssignService'][_0x226348(0x392)](_0x70c808),'name':_0x2fbff1,'ranges':_0x140354},_0x44f8e8=this[_0x226348(0x273)];_0x44f8e8[_0x226348(0x340)](_0x70c808,_0xf3b0fb),this[_0x226348(0x173)][_0x226348(0x2d4)](_0x44f8e8);}[_0x4b1c64(0x2ab)](_0x4c1ac4){const _0x49ebe0=_0x4b1c64,{memberID:_0x3a638c}=_0x4c1ac4[_0x49ebe0(0x2dd)],_0x28fb21=this[_0x49ebe0(0x273)];_0x28fb21[_0x49ebe0(0x138)](_0x3a638c),this[_0x49ebe0(0x173)][_0x49ebe0(0x2d4)](_0x28fb21);}[_0x4b1c64(0x127)](){const _0x3eac2d=_0x4b1c64;var _0x5dd23d;if(this[_0x3eac2d(0x371)]=!0x0,((_0x5dd23d=this[_0x3eac2d(0x1e2)][_0x3eac2d(0x1f3)]())==null?void 0x0:_0x5dd23d[_0x3eac2d(0x14a)]())!==this[_0x3eac2d(0x12e)])return;const _0x7606f5=this[_0x3eac2d(0x196)][_0x3eac2d(0x269)](_0x1c550c['DocSelectionManagerService'])[_0x3eac2d(0x32b)]();Array[_0x3eac2d(0x382)](_0x7606f5)&&_0x7606f5['length']>0x0&&this[_0x3eac2d(0x37e)](_0x7606f5);}['_toggleOffline'](){const _0x1505e2=_0x4b1c64;this[_0x1505e2(0x371)]=!0x1;}};_0x50b416=_0x4e4682([_0x7f9213(0x2,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3[_0x4b1c64(0x283)])),_0x7f9213(0x3,_0x29c4b3['Inject'](_0x51f35b)),_0x7f9213(0x4,_0x29c4b3[_0x4b1c64(0x247)](_0xf9b925['MemberService'])),_0x7f9213(0x5,_0x29c4b3[_0x4b1c64(0x247)](_0x4aa5f2)),_0x7f9213(0x6,_0x53c7bc[_0x4b1c64(0x19d)]),_0x7f9213(0x7,_0x29c4b3[_0x4b1c64(0x1d3)]),_0x7f9213(0x8,_0x29c4b3[_0x4b1c64(0x20d)])],_0x50b416);var _0x4fab1f=Object[_0x4b1c64(0x39e)],_0x221485=(_0x1ea88f,_0x20743e,_0x5b8874,_0xf37b4f)=>{for(var _0xe6cacd=_0xf37b4f>0x1?void 0x0:_0xf37b4f?_0x4fab1f(_0x20743e,_0x5b8874):_0x20743e,_0x24dad5=_0x1ea88f['length']-0x1,_0xdb446c;_0x24dad5>=0x0;_0x24dad5--)(_0xdb446c=_0x1ea88f[_0x24dad5])&&(_0xe6cacd=_0xdb446c(_0xe6cacd)||_0xe6cacd);return _0xe6cacd;},_0x12fbe5=(_0x402460,_0xf2a970)=>(_0x3d2d7a,_0x32efea)=>_0xf2a970(_0x3d2d7a,_0x32efea,_0x402460);const _0x392b1c=0x12c,_0x527fc2=0x64,_0x48a1e8=()=>{let _0x314cc0=[],_0x299454=!0x1;return _0x13e4d1=>{const _0x1ed965=_0x3c28;_0x314cc0[_0x1ed965(0x261)](_0x13e4d1),_0x299454||(_0x299454=!0x0,setTimeout(()=>{const _0x37546e=_0x1ed965;_0x314cc0[_0x37546e(0x39a)](_0x57d2b5=>_0x57d2b5()),_0x314cc0=[],_0x299454=!0x1;}));};};let _0x2124e7=class extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(_0x18e04a,_0x462634,_0xf61439,_0x41798a,_0x41b755,_0x39331b,_0x375e69,_0x13c912){const _0x5e245b=_0x4b1c64;super(),_0x593db2(this,_0x5e245b(0x371),!0x1),_0x593db2(this,_0x5e245b(0x3b8),!0x1),_0x593db2(this,_0x5e245b(0x173),new _0x5cdc95[(_0x5e245b(0x2b8))](new Map())),_0x593db2(this,_0x5e245b(0x235),this[_0x5e245b(0x173)]['asObservable']()),_0x593db2(this,_0x5e245b(0x2b0),new _0x5cdc95['BehaviorSubject']([])),_0x593db2(this,_0x5e245b(0x356),this[_0x5e245b(0x2b0)]['pipe'](_0x5cdc95['debounceTime'](_0x392b1c))),_0x593db2(this,'_updateLocalCursor',_0x29c4b3[_0x5e245b(0x140)]((_0xa49539,_0x2e6831)=>{const _0x194a3a=_0x5e245b,_0x19c743={'eventID':_0x53c7bc[_0x194a3a(0x238)][_0x194a3a(0x32d)],'data':{'unitID':this[_0x194a3a(0x12e)],'memberID':this['_session'][_0x194a3a(0x353)](),'selection':_0x4f63e7['serializeRangeWithSheet'](_0xa49539,_0x2e6831[_0x194a3a(0x16f)])}};this[_0x194a3a(0x1db)][_0x194a3a(0x187)](_0x19c743,this[_0x194a3a(0x12e)]);},_0x527fc2)),(this[_0x5e245b(0x12e)]=_0x18e04a,this['_session']=_0x462634,this[_0x5e245b(0x196)]=_0xf61439,this[_0x5e245b(0x390)]=_0x41798a,this[_0x5e245b(0x233)]=_0x41b755,this[_0x5e245b(0x1e2)]=_0x39331b,this['_commandService']=_0x375e69,this[_0x5e245b(0x16d)]=_0x13c912);}get[_0x4b1c64(0x273)](){const _0xec7038=_0x4b1c64;return this[_0xec7038(0x173)][_0xec7038(0x2ae)]();}get[_0x4b1c64(0x38a)](){const _0x249e1b=_0x4b1c64;return this['_roomMembers$'][_0x249e1b(0x2ae)]();}['dispose'](){const _0x182527=_0x4b1c64;super['dispose'](),this[_0x182527(0x173)]['next'](new Map()),this[_0x182527(0x173)]['complete'](),this[_0x182527(0x2b0)][_0x182527(0x2d4)]([]),this['_roomMembers$'][_0x182527(0x255)]();}[_0x4b1c64(0x349)](){const _0x1b0db3=_0x4b1c64;this[_0x1b0db3(0x3b8)]||(this[_0x1b0db3(0x3b8)]=!0x0,this['_session'][_0x1b0db3(0x31b)]['pipe'](_0x5cdc95[_0x1b0db3(0x335)](this[_0x1b0db3(0x27d)]))['subscribe'](_0x1be622=>{const _0x27219c=_0x1b0db3;_0x1be622===_0xf9b925[_0x27219c(0x29a)][_0x27219c(0x15e)]?this[_0x27219c(0x127)]():this[_0x27219c(0x156)]();}),this[_0x1b0db3(0x1db)][_0x1b0db3(0x1dd)][_0x1b0db3(0x37f)](_0x5cdc95[_0x1b0db3(0x335)](this[_0x1b0db3(0x27d)]))[_0x1b0db3(0x1d5)](_0x2bc89d=>{const _0x1ada97=_0x1b0db3,_0x4e95db=_0x2bc89d['eventID'];_0x4e95db===_0x53c7bc[_0x1ada97(0x238)]['UPDATE_CURSOR']&&this[_0x1ada97(0x1e0)](_0x2bc89d),_0x4e95db===_0x53c7bc[_0x1ada97(0x238)][_0x1ada97(0x304)]&&this['_onCursorDelete'](_0x2bc89d);}),this[_0x1b0db3(0x2ed)](),this[_0x1b0db3(0x1ad)](this[_0x1b0db3(0x3a7)][_0x1b0db3(0x30b)](_0x359ab4=>{const _0x47a6b2=_0x1b0db3;if(this['_online']&&_0x359ab4['id']===_0x9b20c5[_0x47a6b2(0x34a)]['id']&&_0x359ab4[_0x47a6b2(0x1b4)]['unitId']===this[_0x47a6b2(0x12e)]){const _0x2e6f3f=_0x359ab4[_0x47a6b2(0x1b4)];this[_0x47a6b2(0x37e)](_0x2e6f3f[_0x47a6b2(0x336)],_0x2e6f3f[_0x47a6b2(0x27b)][0x0]);}})));}[_0x4b1c64(0x1e0)](_0x2692ca){const _0x14095f=_0x4b1c64;var _0xd1477c,_0x4ee281;const {memberID:_0x2accc3,selection:_0x9cbee7}=_0x2692ca[_0x14095f(0x2dd)],{sheetName:_0x336033,range:_0xd94b2e}=_0x4f63e7['deserializeRangeWithSheet'](_0x9cbee7),_0x3d2755={'name':(_0x4ee281=(_0xd1477c=this[_0x14095f(0x233)][_0x14095f(0x2fa)](this[_0x14095f(0x12e)],_0x2accc3))==null?void 0x0:_0xd1477c[_0x14095f(0x123)])!=null?_0x4ee281:'Unknown\x20user','range':this[_0x14095f(0x24c)](_0x336033,_0xd94b2e),'sheetID':_0x336033,'color':this['_colorAssignService'][_0x14095f(0x392)](_0x2accc3),'selection':_0x9cbee7},_0x5194e8=this['cursorInfo'];_0x5194e8[_0x14095f(0x340)](_0x2accc3,_0x3d2755),this[_0x14095f(0x173)]['next'](_0x5194e8);}[_0x4b1c64(0x2ab)](_0x202a70){const _0x2e1fec=_0x4b1c64,{memberID:_0xe809e5}=_0x202a70[_0x2e1fec(0x2dd)],_0x1abccf=this[_0x2e1fec(0x273)];_0x1abccf[_0x2e1fec(0x138)](_0xe809e5),this['_cursorInfo$'][_0x2e1fec(0x2d4)](_0x1abccf);}['_getMergeRange'](_0x5c0bb0,_0x4bae10){const _0x34d5bc=_0x4b1c64;var _0x167c74,_0x91f96f;const _0x2e3d01=(_0x91f96f=(_0x167c74=this['_univerInstanceService'][_0x34d5bc(0x19a)](this[_0x34d5bc(0x12e)]))==null?void 0x0:_0x167c74[_0x34d5bc(0x2f8)](_0x5c0bb0))==null?void 0x0:_0x91f96f[_0x34d5bc(0x13e)]();return(_0x2e3d01==null?void 0x0:_0x2e3d01[_0x34d5bc(0x131)](_0x3d3791=>_0x29c4b3[_0x34d5bc(0x1c8)]['contains'](_0x3d3791,_0x4bae10)))||_0x4bae10;}[_0x4b1c64(0x2ed)](){const _0x1e6364=_0x4b1c64,_0xfdbb9=new _0x29c4b3[(_0x1e6364(0x299))](),_0x226707=_0x48a1e8(),_0x3abb30=()=>{const _0x4a9ee9=_0x1e6364;_0xfdbb9[_0x4a9ee9(0x1d7)]();const _0x4aad26=(_0x315f50,_0x403010,_0x250692,_0x327532)=>{const _0x2bed65=_0x4a9ee9;let _0x360a11=[];switch(_0x315f50['id']){case _0x9b20c5[_0x2bed65(0x3b4)][_0x2bed65(0x1c6)]:{_0x360a11=_0x9b20c5[_0x2bed65(0x394)](_0x315f50,_0x327532);break;}case _0x9b20c5[_0x2bed65(0x3b4)]['DeleteRangeMoveUpCommandId']:{_0x360a11=_0x9b20c5[_0x2bed65(0x249)](_0x315f50,_0x327532);break;}case _0x9b20c5[_0x2bed65(0x3b4)]['InsertColCommandId']:{_0x360a11=_0x9b20c5[_0x2bed65(0x1b5)](_0x315f50,_0x327532);break;}case _0x9b20c5[_0x2bed65(0x3b4)][_0x2bed65(0x222)]:{_0x360a11=_0x9b20c5['handleInsertRangeMoveDown'](_0x315f50,_0x327532);break;}case _0x9b20c5[_0x2bed65(0x3b4)]['InsertRangeMoveRightCommandId']:{_0x360a11=_0x9b20c5[_0x2bed65(0x37a)](_0x315f50,_0x327532);break;}case _0x9b20c5[_0x2bed65(0x3b4)][_0x2bed65(0x210)]:{_0x360a11=_0x9b20c5[_0x2bed65(0x12d)](_0x315f50,_0x327532);break;}case _0x9b20c5['EffectRefRangId'][_0x2bed65(0x1f1)]:{_0x360a11=_0x9b20c5['handleMoveRange'](_0x315f50,_0x327532);break;}case _0x9b20c5[_0x2bed65(0x3b4)][_0x2bed65(0x242)]:{_0x360a11=_0x9b20c5['handleIRemoveCol'](_0x315f50,_0x327532);break;}case _0x9b20c5['EffectRefRangId']['RemoveRowCommandId']:{_0x360a11=_0x9b20c5[_0x2bed65(0x366)](_0x315f50,_0x327532);break;}}const _0x228db9=_0x9b20c5['runRefRangeMutations'](_0x360a11,_0x327532),_0x1a786a=this[_0x2bed65(0x273)][_0x2bed65(0x269)](_0x403010);if(_0x1a786a&&_0x228db9){const _0x2af6e4={..._0x1a786a,'range':_0x228db9};this[_0x2bed65(0x273)]['set'](_0x403010,_0x2af6e4),_0x226707(()=>{const _0x14f47d=_0x2bed65,_0x24e611=this['_refRangeService'][_0x14f47d(0x2f6)](_0x228db9,_0x838311=>(_0x24e611['dispose'](),_0x4aad26(_0x838311,_0x403010,_0x250692,_0x228db9)));_0xfdbb9[_0x14f47d(0x12f)](_0x24e611);});}return{'redos':[],'undos':[]};};this[_0x4a9ee9(0x273)][_0x4a9ee9(0x39a)]((_0x352601,_0x52083f)=>{const _0x1a32b7=_0x4a9ee9,{range:_0x58072c,sheetID:_0x55b18a}=_0x352601,_0x3f4dac=this['_refRangeService'][_0x1a32b7(0x2f6)](_0x58072c,_0x50eeaf=>(_0x3f4dac[_0x1a32b7(0x1d7)](),_0x4aad26(_0x50eeaf,_0x52083f,_0x55b18a,_0x58072c)));_0xfdbb9[_0x1a32b7(0x12f)](_0x3f4dac);});};this[_0x1e6364(0x1ad)](_0x29c4b3[_0x1e6364(0x1ed)](this[_0x1e6364(0x173)][_0x1e6364(0x1d5)](()=>{_0x3abb30();})));}[_0x4b1c64(0x127)](){const _0x5a6a71=_0x4b1c64;var _0x5dbe1b,_0x5cc4d0;if(this[_0x5a6a71(0x371)]=!0x0,((_0x5dbe1b=this[_0x5a6a71(0x1e2)][_0x5a6a71(0x1f3)]())==null?void 0x0:_0x5dbe1b[_0x5a6a71(0x14a)]())!==this[_0x5a6a71(0x12e)])return;const _0x414294=(_0x5cc4d0=this[_0x5a6a71(0x196)]['get'](_0x9b20c5[_0x5a6a71(0x3b3)])[_0x5a6a71(0x395)]())==null?void 0x0:_0x5cc4d0[0x0],_0x345d80=this[_0x5a6a71(0x1e2)][_0x5a6a71(0x25e)](_0x29c4b3['UniverInstanceType'][_0x5a6a71(0x2cd)])[_0x5a6a71(0x18b)]();_0x414294&&_0x345d80&&this[_0x5a6a71(0x37e)](_0x345d80[_0x5a6a71(0x130)](),_0x414294);}[_0x4b1c64(0x156)](){const _0x28073b=_0x4b1c64;this[_0x28073b(0x371)]=!0x1;}};_0x2124e7=_0x221485([_0x12fbe5(0x2,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3[_0x4b1c64(0x283)])),_0x12fbe5(0x3,_0x29c4b3['Inject'](_0x51f35b)),_0x12fbe5(0x4,_0x29c4b3[_0x4b1c64(0x247)](_0xf9b925['MemberService'])),_0x12fbe5(0x5,_0x29c4b3[_0x4b1c64(0x1d3)]),_0x12fbe5(0x6,_0x29c4b3[_0x4b1c64(0x20d)]),_0x12fbe5(0x7,_0x29c4b3[_0x4b1c64(0x247)](_0x9b20c5[_0x4b1c64(0x188)]))],_0x2124e7);var _0x26f588=Object[_0x4b1c64(0x39e)],_0x326915=(_0x38afe7,_0x1c9f7c,_0x506151,_0x31662a)=>{const _0x3ea180=_0x4b1c64;for(var _0xb6ccfa=_0x31662a>0x1?void 0x0:_0x31662a?_0x26f588(_0x1c9f7c,_0x506151):_0x1c9f7c,_0x1de5fd=_0x38afe7[_0x3ea180(0x3ab)]-0x1,_0x592ae2;_0x1de5fd>=0x0;_0x1de5fd--)(_0x592ae2=_0x38afe7[_0x1de5fd])&&(_0xb6ccfa=_0x592ae2(_0xb6ccfa)||_0xb6ccfa);return _0xb6ccfa;},_0x2a802c=(_0x1fcdb6,_0x29d7fb)=>(_0x4ef971,_0x453d62)=>_0x29d7fb(_0x4ef971,_0x453d62,_0x1fcdb6);let _0x596c91=class extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(_0x3cf7b6,_0x24f63f,_0x9c6d9d){const _0x46abc4=_0x4b1c64;super(),_0x593db2(this,_0x46abc4(0x28e),new Map()),_0x593db2(this,_0x46abc4(0x291),new _0x5cdc95[(_0x46abc4(0x2df))]()),(this[_0x46abc4(0x1e2)]=_0x3cf7b6,this[_0x46abc4(0x196)]=_0x24f63f,this['_collabSessionService']=_0x9c6d9d,this[_0x46abc4(0x3b8)]());}[_0x4b1c64(0x1d7)](){const _0x587ced=_0x4b1c64;super[_0x587ced(0x1d7)](),this[_0x587ced(0x291)][_0x587ced(0x255)](),this[_0x587ced(0x28e)][_0x587ced(0x39a)](_0x1e3ddb=>_0x1e3ddb[_0x587ced(0x1d7)]());}[_0x4b1c64(0x17b)](_0x482866){const _0x563b35=_0x4b1c64;return this['_entities']['has'](_0x482866)?this[_0x563b35(0x28e)][_0x563b35(0x269)](_0x482866)[_0x563b35(0x235)]:this[_0x563b35(0x291)][_0x563b35(0x37f)](_0x5cdc95[_0x563b35(0x12a)](_0xaff7e6=>_0xaff7e6['unitID']===_0x482866),_0x5cdc95[_0x563b35(0x225)](_0x6ebdce=>_0x6ebdce[_0x563b35(0x235)]));}[_0x4b1c64(0x3b8)](){const _0x4f7516=_0x4b1c64;this[_0x4f7516(0x1e2)][_0x4f7516(0x2f5)](_0x29c4b3[_0x4f7516(0x2d0)]['UNIVER_SHEET'])[_0x4f7516(0x37f)](_0x5cdc95['takeUntil'](this[_0x4f7516(0x27d)]))[_0x4f7516(0x1d5)](async _0x2f5553=>{const _0x2dba4d=_0x4f7516,_0x5a2d6c=_0x2f5553['getUnitId'](),_0x33b39c=await this[_0x2dba4d(0x174)](_0x5a2d6c);this[_0x2dba4d(0x291)][_0x2dba4d(0x2d4)](_0x33b39c),this[_0x2dba4d(0x28e)]['set'](_0x5a2d6c,_0x33b39c);}),this[_0x4f7516(0x1e2)][_0x4f7516(0x2f5)](_0x29c4b3[_0x4f7516(0x2d0)][_0x4f7516(0x313)])[_0x4f7516(0x37f)](_0x5cdc95[_0x4f7516(0x335)](this[_0x4f7516(0x27d)]))['pipe'](_0x5cdc95[_0x4f7516(0x12a)](_0xd15302=>!_0xd15302['getUnitId']()[_0x4f7516(0x22a)]('__')))[_0x4f7516(0x1d5)](async _0x5107d6=>{const _0x3b029c=_0x4f7516,_0x398592=_0x5107d6[_0x3b029c(0x14a)](),_0x2fe146=await this[_0x3b029c(0x320)](_0x398592);this[_0x3b029c(0x291)][_0x3b029c(0x2d4)](_0x2fe146),this['_entities'][_0x3b029c(0x340)](_0x398592,_0x2fe146);}),_0x5cdc95['merge'](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x29c4b3[_0x4f7516(0x2d0)][_0x4f7516(0x313)]),this[_0x4f7516(0x1e2)][_0x4f7516(0x323)](_0x29c4b3[_0x4f7516(0x2d0)][_0x4f7516(0x2cd)]))[_0x4f7516(0x37f)](_0x5cdc95['takeUntil'](this['dispose$']))[_0x4f7516(0x1d5)](_0x597c49=>{const _0x13590a=_0x4f7516,_0x51bc27=_0x597c49[_0x13590a(0x14a)](),_0x57993a=this[_0x13590a(0x28e)][_0x13590a(0x269)](_0x51bc27);_0x57993a&&(_0x57993a[_0x13590a(0x1d7)](),this[_0x13590a(0x28e)][_0x13590a(0x138)](_0x51bc27));});}async[_0x4b1c64(0x174)](_0x278051){const _0x1e463e=_0x4b1c64,_0x6d40fb=await this['_collabSessionService'][_0x1e463e(0x2bd)](_0x278051),_0x528518=this[_0x1e463e(0x196)][_0x1e463e(0x397)](_0x2124e7,_0x278051,_0x6d40fb);return _0x528518[_0x1e463e(0x349)](),_0x528518;}async['_startDocCollabCursor'](_0x139b37){const _0x3491fc=_0x4b1c64,_0x54ac3f=await this[_0x3491fc(0x2a6)][_0x3491fc(0x2bd)](_0x139b37),_0x11a219=this[_0x3491fc(0x196)][_0x3491fc(0x397)](_0x50b416,_0x139b37,_0x54ac3f);return _0x11a219[_0x3491fc(0x349)](),_0x11a219;}};_0x596c91=_0x326915([_0x2a802c(0x0,_0x29c4b3[_0x4b1c64(0x1d3)]),_0x2a802c(0x1,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3[_0x4b1c64(0x283)])),_0x2a802c(0x2,_0x29c4b3[_0x4b1c64(0x247)](_0xf9b925['CollaborationSessionService']))],_0x596c91);const _0x2c6fcf=0x14,_0x212c78=0xc8,_0x1c5848=0x4,_0x3fbb3e=0x5;function _0x17e089(_0x496220,_0x37a57e){const _0x2337aa=_0x4b1c64;let {radius:_0x21a02c,width:_0x4950d6,height:_0x21334d}=_0x37a57e;_0x21a02c=_0x21a02c!=null?_0x21a02c:0x0,_0x4950d6=_0x4950d6!=null?_0x4950d6:0x1e,_0x21334d=_0x21334d!=null?_0x21334d:0x1e;let _0x30fd4f=0x0,_0x427d01=0x0,_0x582691=0x0;_0x30fd4f=_0x427d01=_0x582691=Math['min'](_0x21a02c,_0x4950d6/0x2,_0x21334d/0x2),_0x496220[_0x2337aa(0x21c)](),_0x496220[_0x2337aa(0x309)](_0x30fd4f,0x0),_0x496220[_0x2337aa(0x399)](_0x4950d6-_0x427d01,0x0),_0x496220['arc'](_0x4950d6-_0x427d01,_0x427d01,_0x427d01,Math['PI']*0x3/0x2,0x0,!0x1),_0x496220['lineTo'](_0x4950d6,_0x21334d-_0x582691),_0x496220[_0x2337aa(0x2ac)](_0x4950d6-_0x582691,_0x21334d-_0x582691,_0x582691,0x0,Math['PI']/0x2,!0x1),_0x496220[_0x2337aa(0x399)](0x0,_0x21334d),_0x496220['lineTo'](0x0,_0x30fd4f),_0x496220[_0x2337aa(0x2ac)](_0x30fd4f,_0x30fd4f,_0x30fd4f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x496220[_0x2337aa(0x1cd)](),_0x37a57e['fill']&&(_0x496220[_0x2337aa(0x3b9)](),_0x496220[_0x2337aa(0x34c)]=_0x37a57e[_0x2337aa(0x27c)],_0x37a57e[_0x2337aa(0x19c)]===_0x2337aa(0x199)?_0x496220[_0x2337aa(0x27c)](_0x2337aa(0x199)):_0x496220[_0x2337aa(0x27c)](),_0x496220['restore']());}class _0x26062f extends _0x12e223[_0x4b1c64(0x324)]{constructor(_0x403543,_0x19d75f){const _0x30a31a=_0x4b1c64;super(_0x403543,_0x19d75f),_0x593db2(this,'color'),_0x593db2(this,_0x30a31a(0x176)),(this[_0x30a31a(0x39b)]=_0x19d75f==null?void 0x0:_0x19d75f[_0x30a31a(0x39b)],this[_0x30a31a(0x176)]=_0x19d75f==null?void 0x0:_0x19d75f['text']);}static[_0x4b1c64(0x270)](_0x3ee447,_0x246b32){const _0x50835a=_0x4b1c64,{text:_0x4d0059,color:_0x4ad219}=_0x246b32;_0x3ee447['save'](),_0x3ee447[_0x50835a(0x2b9)]=_0x50835a(0x22d);const _0x333948=_0x3ee447[_0x50835a(0x1f6)](_0x4d0059)['width'],_0xbc6c9d=Math[_0x50835a(0x2e0)](_0x333948+0x2*_0x1c5848,_0x212c78);_0x17e089(_0x3ee447,{'height':_0x2c6fcf,'radius':0x4,'width':_0xbc6c9d,'fill':_0x4ad219}),_0x3ee447['fillStyle']='#FFF';const _0x15ba0f=_0x1c5848,_0x192177=_0x2c6fcf-_0x3fbb3e,_0x52fdb1=_0x212c78-0x2*_0x1c5848;if(_0x333948>_0x52fdb1){let _0x550430='',_0x31cfb7=0x0;for(const _0x492f96 of _0x4d0059){const _0x7f4c93=_0x3ee447[_0x50835a(0x1f6)](_0x492f96)[_0x50835a(0x332)];if(_0x31cfb7+_0x7f4c93<=_0x52fdb1-_0x3ee447[_0x50835a(0x1f6)]('...')[_0x50835a(0x332)])_0x550430+=_0x492f96,_0x31cfb7+=_0x7f4c93;else{_0x550430+=_0x50835a(0x2c9);break;}}_0x3ee447['fillText'](_0x550430,_0x15ba0f,_0x192177);}else _0x3ee447[_0x50835a(0x317)](_0x4d0059,_0x15ba0f,_0x192177);_0x3ee447[_0x50835a(0x37b)]();}['_draw'](_0x2d288d){const _0x4dd235=_0x4b1c64;_0x26062f[_0x4dd235(0x270)](_0x2d288d,this);}}const _0x216d29=_0x4b1c64(0x364),_0x1a9726=_0x4b1c64(0x197),_0x390364=_0x4b1c64(0x387),_0x1a4494=0x6,_0x378239=1.5,_0xc38da3=0x4,_0x493157=1.5,_0x28e5a0=_0x4b1c64(0x25c);class _0x14fa06{constructor(_0x3f32f6,_0x5460ff,_0x1b68f2,_0x5a2c91){const _0xc46fdb=_0x4b1c64;_0x593db2(this,_0xc46fdb(0x287),[]),_0x593db2(this,_0xc46fdb(0x146),null),_0x593db2(this,'_textBubble',null),_0x593db2(this,_0xc46fdb(0x1bb),null),_0x593db2(this,'_hideTimer',null),_0x593db2(this,_0xc46fdb(0x276),null),(this[_0xc46fdb(0x280)]=_0x3f32f6,this[_0xc46fdb(0x2e6)]=_0x5460ff,this['_docSkeleton']=_0x1b68f2,this[_0xc46fdb(0x32e)]=_0x5a2c91,this['_render']());}set[_0x4b1c64(0x216)](_0x13f672){const _0x2baab3=_0x4b1c64;_0x13f672?(this[_0x2baab3(0x1bb)]&&this[_0x2baab3(0x1bb)][_0x2baab3(0x31c)](),this[_0x2baab3(0x2c0)]&&this[_0x2baab3(0x2c0)][_0x2baab3(0x155)]()):(this[_0x2baab3(0x1bb)]&&this[_0x2baab3(0x1bb)][_0x2baab3(0x155)](),this['_textBubble']&&this[_0x2baab3(0x2c0)][_0x2baab3(0x31c)]());}[_0x4b1c64(0x1d7)](){const _0x28fc5f=_0x4b1c64;for(const _0x5e01fe of this[_0x28fc5f(0x287)])_0x5e01fe['dispose']();this[_0x28fc5f(0x2c0)]&&this['_textBubble'][_0x28fc5f(0x1d7)](),this[_0x28fc5f(0x1bb)]&&this['_anchorDot'][_0x28fc5f(0x1d7)](),this[_0x28fc5f(0x146)]&&this[_0x28fc5f(0x146)][_0x28fc5f(0x1d7)](),this[_0x28fc5f(0x276)]&&this[_0x28fc5f(0x276)]();}['_render'](){const _0x1fcf17=_0x4b1c64;var _0x500f43;const {_docSkeleton:_0x1edaca,_document:_0x1af07b}=this,{color:_0x4e03d9,name:_0x471649,ranges:_0x133b96}=this[_0x1fcf17(0x280)],_0x2c4091=_0x1af07b['getOffsetConfig'](),{docsLeft:_0x1e363c,docsTop:_0x450c10}=_0x2c4091,_0x346031=new _0x2496d8['NodePositionConvertToCursor'](_0x2c4091,_0x1edaca);for(const {startOffset:_0x59f31d,endOffset:_0x6a0e96,rangeType:_0x4f6aa4,segmentId:_0x3c1106,segmentPage:_0x34f09e,collapsed:_0x54a78c,isActive:_0x2210d3}of _0x133b96){const _0x1b49d4=_0x1edaca[_0x1fcf17(0x39d)](_0x59f31d,!0x0,_0x3c1106,_0x34f09e);let _0x5c6552=_0x1edaca[_0x1fcf17(0x39d)](_0x6a0e96,!0x0,_0x3c1106,_0x34f09e);if(_0x5c6552==null&&(_0x5c6552=_0x1edaca['findNodePositionByCharIndex'](_0x6a0e96-0x1,!0x1,_0x3c1106,_0x34f09e)),_0x2210d3){const {contentBoxPointGroup:_0xf893be}=_0x346031[_0x1fcf17(0x288)](_0x5c6552,_0x5c6552);if(_0xf893be[_0x1fcf17(0x3ab)]===0x0)continue;this[_0x1fcf17(0x1a5)](_0x4e03d9,_0xf893be,_0x1e363c,_0x450c10,_0x471649),this[_0x1fcf17(0x276)]=this[_0x1fcf17(0x3a0)]();}if(_0x1b49d4&&_0x5c6552){if(_0x4f6aa4===_0x29c4b3[_0x1fcf17(0x315)][_0x1fcf17(0x26a)]){const _0x1bd807=new _0x2496d8[(_0x1fcf17(0x1e1))](_0x2c4091,_0x1edaca),{pointGroup:_0x6e1019}=(_0x500f43=_0x1bd807[_0x1fcf17(0x288)](_0x1b49d4,_0x5c6552))!=null?_0x500f43:{};if(_0x6e1019==null||_0x6e1019[_0x1fcf17(0x3ab)]===0x0)continue;this[_0x1fcf17(0x1d2)](_0x4e03d9,_0x6e1019,_0x1e363c,_0x450c10);}else{if(!_0x54a78c){const {borderBoxPointGroup:_0x4bf2cc}=_0x346031[_0x1fcf17(0x288)](_0x1b49d4,_0x5c6552);if(_0x4bf2cc[_0x1fcf17(0x3ab)]===0x0)continue;this[_0x1fcf17(0x33a)](_0x4e03d9,_0x4bf2cc,_0x1e363c,_0x450c10);}}}}}['_drawAnchor'](_0xd27ff6,_0x217f41,_0x8c56ae,_0x13d8bb,_0x15c57b){const _0x15324f=_0x4b1c64,_0xc4c913=this[_0x15324f(0x1a6)](_0x217f41),{left:_0x426bec,top:_0x539cf7,height:_0x32b1b6}=_0xc4c913,_0x4bac59=this[_0x15324f(0x326)](),_0x270b94=_0x493157/_0x4bac59,_0xf4b47d=new _0x12e223[(_0x15324f(0x19e))](_0x216d29+_0x29c4b3[_0x15324f(0x256)][_0x15324f(0x275)](_0x1a4494),{'left':_0x426bec+_0x8c56ae-_0x270b94,'top':_0x539cf7+_0x13d8bb,'height':_0x32b1b6,'width':_0x378239,'fill':_0xd27ff6||_0x12e223[_0x15324f(0x223)](_0x29c4b3[_0x15324f(0x161)][_0x15324f(0x20a)],0x0),'strokeWidth':_0x270b94,'stroke':_0x28e5a0,'evented':!0x0});this['_anchor']=_0xf4b47d,this[_0x15324f(0x2e6)][_0x15324f(0x1bd)](_0xf4b47d,_0x2496d8[_0x15324f(0x1d9)]);const _0x2ce4f7=new _0x12e223[(_0x15324f(0x19e))](_0x216d29+_0x29c4b3[_0x15324f(0x256)][_0x15324f(0x275)](_0x1a4494),{'left':_0x426bec+_0x8c56ae-_0x270b94,'top':_0x539cf7+_0x13d8bb-_0xc38da3/0x2,'height':_0xc38da3,'width':_0xc38da3,'fill':_0xd27ff6||_0x12e223[_0x15324f(0x223)](_0x29c4b3[_0x15324f(0x161)][_0x15324f(0x20a)],0x0),'strokeWidth':0x0,'stroke':_0xd27ff6||_0x12e223['getColor'](_0x29c4b3[_0x15324f(0x161)][_0x15324f(0x20a)],0x0),'evented':!0x1});this[_0x15324f(0x1bb)]=_0x2ce4f7,this[_0x15324f(0x2e6)][_0x15324f(0x1bd)](_0x2ce4f7,_0x2496d8[_0x15324f(0x1d9)]);const _0x3cdd54=new _0x26062f(_0x216d29+_0x29c4b3[_0x15324f(0x256)][_0x15324f(0x275)](_0x1a4494),{'left':_0x426bec+_0x8c56ae-_0x270b94,'top':_0x539cf7+_0x13d8bb-_0x2c6fcf,'text':_0x15c57b,'color':_0xd27ff6});this[_0x15324f(0x2c0)]=_0x3cdd54,this[_0x15324f(0x2e6)][_0x15324f(0x1bd)](_0x3cdd54,_0x2496d8[_0x15324f(0x1d9)]),this[_0x15324f(0x216)]=!0x1;}['_handleHover'](){const _0x3052f0=_0x4b1c64,_0x2df218=this[_0x3052f0(0x146)][_0x3052f0(0x125)]['subscribeEvent'](()=>{const _0x56e35b=_0x3052f0;this[_0x56e35b(0x216)]=!0x0;}),_0x2f222f=this[_0x3052f0(0x146)][_0x3052f0(0x24e)][_0x3052f0(0x13c)](()=>{const _0x216493=_0x3052f0;this[_0x216493(0x230)]&&clearTimeout(this[_0x216493(0x230)]),this[_0x216493(0x230)]=setTimeout(()=>{const _0x195a57=_0x216493;this[_0x195a57(0x216)]=!0x1;},0x7d0);});return()=>{const _0x46e81a=_0x3052f0;_0x2df218[_0x46e81a(0x1a4)](),_0x2f222f['unsubscribe']();};}['_drawTextRange'](_0x60140d,_0x364e4c,_0x39e164,_0x351405){const _0x583d5f=_0x4b1c64,_0xa94d59=new _0x29c4b3[(_0x583d5f(0x21e))](_0x60140d)['setAlpha'](0.2)[_0x583d5f(0x2b6)](),_0x1fecb8=new _0x12e223[(_0x583d5f(0x36a))](_0x1a9726+_0x29c4b3['Tools']['generateRandomId'](_0x1a4494),{'pointsGroup':_0x364e4c,'fill':_0xa94d59||_0x12e223[_0x583d5f(0x223)](_0x29c4b3[_0x583d5f(0x161)][_0x583d5f(0x20a)],0.2),'left':_0x39e164,'top':_0x351405,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x583d5f(0x287)]['push'](_0x1fecb8),this[_0x583d5f(0x2e6)]['addObject'](_0x1fecb8,_0x2496d8[_0x583d5f(0x1d9)]);}[_0x4b1c64(0x1d2)](_0x4f283e,_0x41ecbf,_0x495f5e,_0x5aa06d){const _0x164abe=_0x4b1c64,_0x5c3b6a=new _0x29c4b3['ColorKit'](_0x4f283e)[_0x164abe(0x388)](0.2)[_0x164abe(0x2b6)](),_0x9544e1=new _0x12e223['RegularPolygon'](_0x390364+_0x29c4b3[_0x164abe(0x256)][_0x164abe(0x275)](_0x1a4494),{'pointsGroup':_0x41ecbf,'fill':_0x5c3b6a||_0x12e223[_0x164abe(0x223)](_0x29c4b3[_0x164abe(0x161)]['black'],0.2),'left':_0x495f5e,'top':_0x5aa06d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x164abe(0x261)](_0x9544e1),this[_0x164abe(0x2e6)][_0x164abe(0x1bd)](_0x9544e1,_0x2496d8[_0x164abe(0x1d9)]);}[_0x4b1c64(0x1a6)](_0x1e1229){const _0x432838=_0x1e1229[0x0],_0x5ef3d4=_0x432838[0x0],_0xcc0d41=_0x432838[0x2],{x:_0xd3e843,y:_0x2ef559}=_0x5ef3d4,{x:_0x2dce3b,y:_0x43ce5f}=_0xcc0d41;return{'left':_0xd3e843,'top':_0x2ef559,'width':_0x2dce3b-_0xd3e843,'height':_0x43ce5f-_0x2ef559};}[_0x4b1c64(0x326)](){const _0x1dca62=_0x4b1c64,{scaleX:_0xc323e7,scaleY:_0x38787d}=this[_0x1dca62(0x2e6)][_0x1dca62(0x348)]();return Math[_0x1dca62(0x20c)](_0xc323e7,_0x38787d);}}var _0x30d7ff=Object['getOwnPropertyDescriptor'],_0x5ab057=(_0x3f6fb6,_0x1791c5,_0x592588,_0x15a6d5)=>{const _0x1f67e1=_0x4b1c64;for(var _0x4456cb=_0x15a6d5>0x1?void 0x0:_0x15a6d5?_0x30d7ff(_0x1791c5,_0x592588):_0x1791c5,_0x3972ef=_0x3f6fb6[_0x1f67e1(0x3ab)]-0x1,_0x4c2a64;_0x3972ef>=0x0;_0x3972ef--)(_0x4c2a64=_0x3f6fb6[_0x3972ef])&&(_0x4456cb=_0x4c2a64(_0x4456cb)||_0x4456cb);return _0x4456cb;},_0x1f62ac=(_0x55bcd4,_0x2818d4)=>(_0x2a8fe0,_0x2a2f31)=>_0x2818d4(_0x2a8fe0,_0x2a2f31,_0x55bcd4);let _0x230362=class extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(_0x4098e7,_0x3d6359,_0xec8815,_0x405bb2,_0x2460d5){const _0x4b154d=_0x4b1c64;super(),_0x593db2(this,_0x4b154d(0x139),[]),_0x593db2(this,'_cursors',[]),(this[_0x4b154d(0x2aa)]=_0x4098e7,this[_0x4b154d(0x3b7)]=_0x3d6359,this[_0x4b154d(0x396)]=_0xec8815,this[_0x4b154d(0x3a7)]=_0x405bb2,this[_0x4b154d(0x208)]=_0x2460d5,this[_0x4b154d(0x3b8)]());}[_0x4b1c64(0x3b8)](){const _0x5b6dc5=_0x4b1c64,_0x2e5f97=this[_0x5b6dc5(0x2aa)][_0x5b6dc5(0x1b3)],_0x16bd18=this['_docSkeletonManagerService'];this[_0x5b6dc5(0x1ad)](_0x5cdc95[_0x5b6dc5(0x214)]([this[_0x5b6dc5(0x396)]['getCollabCursors$'](_0x2e5f97),this[_0x5b6dc5(0x208)]['currentTheme$']])[_0x5b6dc5(0x37f)](_0x2fb573['map'](([_0x41c088,_0x34b7c6])=>({'skeleton':_0x16bd18[_0x5b6dc5(0x28b)](),'cursors':[..._0x41c088['values']()][_0x5b6dc5(0x166)](_0x310c9c=>({..._0x310c9c,'color':_0x34b7c6[_0x310c9c[_0x5b6dc5(0x39b)]]}))})))['subscribe'](_0x577c81=>{const _0x84d46a=_0x5b6dc5;if(this['_removeCollabCursors'](),_0x577c81){const {skeleton:_0x2bf182,cursors:_0x2e8115}=_0x577c81;this[_0x84d46a(0x1d6)](_0x2bf182,_0x2e8115);}})),this[_0x5b6dc5(0x186)](),this[_0x5b6dc5(0x204)]();}['_updateCollabCursors'](_0x3aebaa,_0x2a24e7){const _0x54819c=_0x4b1c64,{scene:_0xc4fb33,mainComponent:_0x40fdab}=this[_0x54819c(0x2aa)],_0x5e0885=_0x2a24e7[_0x54819c(0x236)](_0x17c815=>new _0x14fa06(_0x17c815,_0xc4fb33,_0x3aebaa,_0x40fdab));this[_0x54819c(0x139)]=_0x5e0885,this[_0x54819c(0x29b)]=_0x2a24e7;}['_refreshCollabCursors'](){const _0x897c1c=_0x4b1c64;this[_0x897c1c(0x3ae)]();const {scene:_0x469320,mainComponent:_0x3283d1}=this['_context'],_0x1dc480=this[_0x897c1c(0x3b7)]['getSkeleton'](),_0x2a376c=this['_cursors'][_0x897c1c(0x236)](_0x5c9c5c=>new _0x14fa06(_0x5c9c5c,_0x469320,_0x1dc480,_0x3283d1));this[_0x897c1c(0x139)]=_0x2a376c;}[_0x4b1c64(0x3ae)](){const _0x2dc7f1=_0x4b1c64;this[_0x2dc7f1(0x139)][_0x2dc7f1(0x39a)](_0x3c1981=>_0x3c1981['dispose']()),this[_0x2dc7f1(0x139)]=[];}[_0x4b1c64(0x204)](){const _0x223e5f=_0x4b1c64,_0x473a13=[_0x2496d8[_0x223e5f(0x1c0)]['id']];this[_0x223e5f(0x1ad)](this[_0x223e5f(0x3a7)][_0x223e5f(0x30b)](_0x58b82e=>{const _0x100ae3=_0x223e5f;_0x473a13['includes'](_0x58b82e['id'])&&_0x58b82e[_0x100ae3(0x1b4)][_0x100ae3(0x1b3)]===this['_context'][_0x100ae3(0x1b3)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x272b35=_0x4b1c64;this[_0x272b35(0x1ad)](_0x29c4b3[_0x272b35(0x26f)](this[_0x272b35(0x2aa)][_0x272b35(0x170)]['onTransformChange$'])[_0x272b35(0x37f)](_0x2fb573[_0x272b35(0x12a)](_0xa1fce6=>_0xa1fce6[_0x272b35(0x34d)]===_0x12e223[_0x272b35(0x1b2)][_0x272b35(0x18d)]),_0x2fb573['throttleTime'](0x10))['subscribe'](()=>{const _0x4ae249=_0x272b35;this[_0x4ae249(0x380)]();}));}};_0x230362=_0x5ab057([_0x1f62ac(0x1,_0x29c4b3['Inject'](_0x1c550c[_0x4b1c64(0x15a)])),_0x1f62ac(0x2,_0x29c4b3['Inject'](_0x596c91)),_0x1f62ac(0x3,_0x29c4b3['ICommandService']),_0x1f62ac(0x4,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3[_0x4b1c64(0x1bc)]))],_0x230362);const _0x2df244=0x1,_0xb06a99=1.5;class _0x245ec7 extends _0x12e223[_0x4b1c64(0x324)]{constructor(_0x55332a,_0x45db8e){const _0x56551b=_0x4b1c64;super(_0x55332a,_0x45db8e),_0x593db2(this,_0x56551b(0x334)),_0x593db2(this,_0x56551b(0x2dc),!0x1),_0x593db2(this,_0x56551b(0x26c)),_0x593db2(this,'_name',''),_0x593db2(this,_0x56551b(0x23b),_0x56551b(0x217)),_0x593db2(this,_0x56551b(0x137)),(_0x45db8e&&this[_0x56551b(0x16b)](_0x45db8e),this['onPointerEnter$'][_0x56551b(0x13c)](()=>this[_0x56551b(0x16b)]({'hovered':!0x0})),this[_0x56551b(0x24e)][_0x56551b(0x13c)](()=>this[_0x56551b(0x16b)]({'hovered':!0x1})));}[_0x4b1c64(0x16b)](_0x23d971){const _0x8764d5=_0x4b1c64;var _0x38be30,_0x224829,_0x38e5f3,_0x84110d,_0x5c5984,_0x4e928a;this['_color']=(_0x38be30=_0x23d971[_0x8764d5(0x39b)])!=null?_0x38be30:this[_0x8764d5(0x334)],this[_0x8764d5(0x2dc)]=(_0x224829=_0x23d971[_0x8764d5(0x362)])!=null?_0x224829:this[_0x8764d5(0x2dc)],this[_0x8764d5(0x26c)]=(_0x38e5f3=_0x23d971[_0x8764d5(0x16f)])!=null?_0x38e5f3:this[_0x8764d5(0x26c)],this[_0x8764d5(0x2f2)]=(_0x84110d=_0x23d971[_0x8764d5(0x123)])!=null?_0x84110d:this[_0x8764d5(0x2f2)],this['_labelPosition']=(_0x5c5984=_0x23d971[_0x8764d5(0x2d7)])!=null?_0x5c5984:this[_0x8764d5(0x23b)],this[_0x8764d5(0x137)]=(_0x4e928a=_0x23d971['backgroundColor'])!=null?_0x4e928a:this[_0x8764d5(0x137)],this['transformByState']({'width':_0x23d971[_0x8764d5(0x332)],'height':_0x23d971['height']});}['onMouseMove'](_0x2da465){const _0x478c92=_0x4b1c64,{row:_0x2f6e13,column:_0x4a3093}=_0x2da465;if(_0x2f6e13>=this[_0x478c92(0x26c)]['startRow']&&_0x2f6e13<=this[_0x478c92(0x26c)][_0x478c92(0x373)]&&_0x4a3093>=this[_0x478c92(0x26c)][_0x478c92(0x38d)]&&_0x4a3093<=this['_range'][_0x478c92(0x14e)]){this[_0x478c92(0x16b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x3a8ee2){return!0x1;}['_draw'](_0x17739c){const _0x23d5ad=_0x4b1c64;_0x12e223[_0x23d5ad(0x19e)][_0x23d5ad(0x270)](_0x17739c,{'width':this[_0x23d5ad(0x332)],'height':this[_0x23d5ad(0x2be)],'strokeWidth':_0xb06a99,'stroke':this[_0x23d5ad(0x334)],'evented':!0x1,'fill':this[_0x23d5ad(0x137)]}),this['_hovered']&&(_0x17739c['save'](),_0x17739c[_0x23d5ad(0x311)](0x1,0x0,0x0,0x1,this[_0x23d5ad(0x332)],this['_labelPosition']==='bottom'?0x0:-0x14),_0x26062f[_0x23d5ad(0x270)](_0x17739c,{'text':this[_0x23d5ad(0x2f2)],'color':this[_0x23d5ad(0x334)]}),_0x17739c[_0x23d5ad(0x37b)]());}}var _0x5f5467=Object['getOwnPropertyDescriptor'],_0x3a84f0=(_0x3a8c74,_0x428490,_0x23d520,_0x3180be)=>{const _0x5a23c0=_0x4b1c64;for(var _0x133be4=_0x3180be>0x1?void 0x0:_0x3180be?_0x5f5467(_0x428490,_0x23d520):_0x428490,_0x396655=_0x3a8c74[_0x5a23c0(0x3ab)]-0x1,_0x17d753;_0x396655>=0x0;_0x396655--)(_0x17d753=_0x3a8c74[_0x396655])&&(_0x133be4=_0x17d753(_0x133be4)||_0x133be4);return _0x133be4;},_0x3f7e90=(_0x40e0af,_0x1ff14d)=>(_0x4b629f,_0xdfcfb8)=>_0x1ff14d(_0x4b629f,_0xdfcfb8,_0x40e0af);const _0x898a27=0x1389;let _0x14c96b=class extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(_0x55b5e7,_0x32d399,_0x5024c8,_0x12bad3){const _0x1bb00b=_0x4b1c64;super(),_0x593db2(this,_0x1bb00b(0x29b),new Set()),_0x593db2(this,_0x1bb00b(0x36c),null),(this[_0x1bb00b(0x2aa)]=_0x55b5e7,this[_0x1bb00b(0x296)]=_0x32d399,this['_collabCursorController']=_0x5024c8,this[_0x1bb00b(0x208)]=_0x12bad3,this[_0x1bb00b(0x3b8)]());}[_0x4b1c64(0x3b8)](){const _0x27b200=_0x4b1c64;this[_0x27b200(0x296)]['currentSkeleton$'][_0x27b200(0x37f)](_0x2fb573[_0x27b200(0x335)](this[_0x27b200(0x27d)]),_0x2fb573[_0x27b200(0x225)](_0x53a795=>{const _0x15c877=_0x27b200;if(_0x53a795){const _0x2c6e0a=_0x53a795['sheetId'];return _0x5cdc95[_0x15c877(0x214)](this[_0x15c877(0x396)][_0x15c877(0x17b)](this[_0x15c877(0x2aa)][_0x15c877(0x1b3)]),this[_0x15c877(0x208)][_0x15c877(0x153)])[_0x15c877(0x37f)](_0x2fb573['map'](([_0x1c5d24,_0x104daa])=>{const _0x31bfea=new Map();return _0x1c5d24['forEach']((_0x4b6cf,_0xb1f619)=>{const _0x3b6a2a=_0x3c28;if(_0x4b6cf[_0x3b6a2a(0x25d)]===_0x2c6e0a){const _0x13e1e3={..._0x4b6cf};_0x13e1e3['color']=_0x104daa[_0x4b6cf[_0x3b6a2a(0x39b)]],_0x31bfea['set'](_0xb1f619,_0x13e1e3);}}),{'skeleton':_0x53a795,'cursors':_0x31bfea};}));}return _0x5cdc95['of']({'skeleton':null,'cursors':new Map()});}))[_0x27b200(0x1d5)](({skeleton:_0x2442ca,cursors:_0x8dec1f})=>{const _0x362fb7=_0x27b200;this['_removeCollabCursors'](),_0x2442ca&&this[_0x362fb7(0x1d6)](_0x2442ca,_0x8dec1f);}),this[_0x27b200(0x296)]['currentSkeleton$'][_0x27b200(0x1d5)](_0xb33b6a=>{const _0x2c7d76=_0x27b200;if(_0xb33b6a==null)return;const {skeleton:_0x1d6c1f}=_0xb33b6a,{scene:_0x5126e1}=this[_0x2c7d76(0x2aa)];_0x5126e1['onPointerMove$'][_0x2c7d76(0x13c)](_0x29c4b3[_0x2c7d76(0x140)](_0xc86848=>{const _0xb418c3=_0x2c7d76;var _0x1b224e,_0x5b923f;const {offsetX:_0x2b6673,offsetY:_0x17d138}=_0xc86848,{x:_0x43c030,y:_0x1fadd3}=_0x5126e1[_0xb418c3(0x203)](_0x12e223[_0xb418c3(0x2c7)][_0xb418c3(0x2c3)]([_0x2b6673,_0x17d138])),{scaleX:_0x24f6d3,scaleY:_0x9b2aa7}=_0x5126e1[_0xb418c3(0x348)](),_0x90e621=_0x5126e1[_0xb418c3(0x3aa)](_0x12e223['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x3985ff=_0x5126e1[_0xb418c3(0x367)](_0x12e223[_0xb418c3(0x2c7)][_0xb418c3(0x2c3)]([_0x43c030,_0x1fadd3]),_0x90e621),_0x20bc3d=_0x1d6c1f[_0xb418c3(0x1f0)](_0x2b6673,_0x17d138,_0x24f6d3,_0x9b2aa7,_0x3985ff);((_0x1b224e=this[_0xb418c3(0x36c)])==null?void 0x0:_0x1b224e['column'])===_0x20bc3d[_0xb418c3(0x368)]&&((_0x5b923f=this['_lastPointer'])==null?void 0x0:_0x5b923f[_0xb418c3(0x3b0)])===_0x20bc3d[_0xb418c3(0x3b0)]||this[_0xb418c3(0x29b)]['forEach'](_0x3dd5ab=>{_0x3dd5ab['onMouseMove'](_0x20bc3d);});},0x64));});}[_0x4b1c64(0x1d6)](_0x32285c,_0x528c61){const _0x1b83ff=_0x4b1c64;var _0x49a4a4;const _0x3e99eb=(_0x49a4a4=this[_0x1b83ff(0x296)][_0x1b83ff(0x33d)]())==null?void 0x0:_0x49a4a4[_0x1b83ff(0x1c7)];if(!_0x3e99eb)return;const _0x4b5b3d=this[_0x1b83ff(0x1e6)]();if(!_0x4b5b3d)return;this['_cursors'][_0x1b83ff(0x39a)](_0x489bfb=>{const _0x41ac36=_0x1b83ff;_0x489bfb[_0x41ac36(0x2f4)]();});const {scene:_0x20b71f}=_0x4b5b3d,_0xc8dc18=_0x465696(Array[_0x1b83ff(0x1e5)](_0x528c61[_0x1b83ff(0x1a2)]()))[_0x1b83ff(0x236)](_0x124ebb=>{const _0x296a24=_0x1b83ff,{color:_0x49389c,range:_0x12149b,name:_0x36854e,selection:_0x30ae23,sheetID:_0x18553f}=_0x124ebb,{startColumn:_0x3602ad,startRow:_0xcf9e8a,endColumn:_0x351e76,endRow:_0x4a0bbf}=_0x12149b,_0x154b90=_0x41b6a4[_0x296a24(0x2d9)](_0xcf9e8a,_0x3602ad,_0x20b71f,_0x3e99eb),_0x3e9efc=_0x41b6a4[_0x296a24(0x2d9)](_0x4a0bbf,_0x351e76,_0x20b71f,_0x3e99eb),{columnHeaderHeightAndMarginTop:_0x40e08b}=_0x3e99eb,{startX:_0x4e45c8,startY:_0x146f65}=_0x154b90,{endX:_0x878584,endY:_0x350b0d}=_0x3e9efc,_0x425c79=_0x878584-_0x4e45c8,_0x503c2b=_0x350b0d-_0x146f65,_0x10d9d2={'labelPosition':_0x146f65-_0x40e08b>=_0x2c6fcf?_0x296a24(0x217):_0x296a24(0x232),'sheetID':_0x18553f,'range':_0x12149b,'color':_0x49389c,'name':_0x36854e,'selection':_0x30ae23,'left':_0x4e45c8,'top':_0x146f65,'width':_0x425c79,'height':_0x503c2b,'evented':!0x1,'zIndex':_0x898a27};return new _0x245ec7(_0x36854e,_0x10d9d2);});_0x20b71f[_0x1b83ff(0x33e)](_0xc8dc18,_0x2df244),this[_0x1b83ff(0x29b)]=new Set(_0xc8dc18);}[_0x4b1c64(0x3ae)](){const _0x50d862=_0x4b1c64;var _0x3509fc;(_0x3509fc=this[_0x50d862(0x29b)])==null||_0x3509fc[_0x50d862(0x39a)](_0x3fc8ed=>_0x3fc8ed[_0x50d862(0x1d7)]());}[_0x4b1c64(0x1e6)](){const _0x5b2633=_0x4b1c64;return _0x41b6a4[_0x5b2633(0x1fd)](this[_0x5b2633(0x2aa)]['unit'],this[_0x5b2633(0x2aa)]);}};_0x14c96b=_0x3a84f0([_0x3f7e90(0x1,_0x29c4b3[_0x4b1c64(0x247)](_0x41b6a4[_0x4b1c64(0x148)])),_0x3f7e90(0x2,_0x29c4b3['Inject'](_0x596c91)),_0x3f7e90(0x3,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3[_0x4b1c64(0x1bc)]))],_0x14c96b);function _0x465696(_0x27f205){const _0x2a023c=_0x4b1c64,_0x53ec26=new Map();return _0x27f205[_0x2a023c(0x39a)](_0x225e84=>{const _0x8981b4=_0x2a023c;if(_0x53ec26[_0x8981b4(0x14d)](_0x225e84['selection'])){const _0x190add=_0x53ec26[_0x8981b4(0x269)](_0x225e84[_0x8981b4(0x244)]);_0x190add['name']+=',\x20'+_0x225e84[_0x8981b4(0x123)];}else _0x53ec26['set'](_0x225e84[_0x8981b4(0x244)],_0x225e84);}),Array[_0x2a023c(0x1e5)](_0x53ec26[_0x2a023c(0x1a2)]());}var _0x43c967=function(){const _0x38d74c=_0x4b1c64;return _0x43c967=Object['assign']||function(_0xf3af95){const _0x197ad7=_0x3c28;for(var _0xa4f984,_0x4856a7=0x1,_0x3b4d9e=arguments[_0x197ad7(0x3ab)];_0x4856a7<_0x3b4d9e;_0x4856a7++){_0xa4f984=arguments[_0x4856a7];for(var _0x445e81 in _0xa4f984)Object[_0x197ad7(0x18a)][_0x197ad7(0x1e8)][_0x197ad7(0x192)](_0xa4f984,_0x445e81)&&(_0xf3af95[_0x445e81]=_0xa4f984[_0x445e81]);}return _0xf3af95;},_0x43c967[_0x38d74c(0x23a)](this,arguments);},_0x30c2b2=function(_0x6ee8e4,_0x14c2e9){const _0xbc9057=_0x4b1c64;var _0x5c9724={};for(var _0x643763 in _0x6ee8e4)Object['prototype']['hasOwnProperty'][_0xbc9057(0x192)](_0x6ee8e4,_0x643763)&&_0x14c2e9['indexOf'](_0x643763)<0x0&&(_0x5c9724[_0x643763]=_0x6ee8e4[_0x643763]);if(_0x6ee8e4!=null&&typeof Object['getOwnPropertySymbols']==_0xbc9057(0x1fb)){for(var _0x4d0b5a=0x0,_0x643763=Object['getOwnPropertySymbols'](_0x6ee8e4);_0x4d0b5a<_0x643763['length'];_0x4d0b5a++)_0x14c2e9[_0xbc9057(0x346)](_0x643763[_0x4d0b5a])<0x0&&Object[_0xbc9057(0x18a)][_0xbc9057(0x185)][_0xbc9057(0x192)](_0x6ee8e4,_0x643763[_0x4d0b5a])&&(_0x5c9724[_0x643763[_0x4d0b5a]]=_0x6ee8e4[_0x643763[_0x4d0b5a]]);}return _0x5c9724;},_0x53cf46=_0x442017[_0x4b1c64(0x339)](function(_0x3eef18,_0x68f04a){const _0x16d758=_0x4b1c64;var _0x427b16=_0x3eef18[_0x16d758(0x36e)],_0x45869c=_0x3eef18['id'],_0x375c89=_0x3eef18[_0x16d758(0x2ee)],_0x5af3e7=_0x3eef18[_0x16d758(0x34b)],_0x4f1dd2=_0x30c2b2(_0x3eef18,[_0x16d758(0x36e),'id',_0x16d758(0x2ee),_0x16d758(0x34b)]),_0x5ed624=_0x16d758(0x1b1)[_0x16d758(0x375)](_0x45869c,'\x20')['concat'](_0x375c89||'')[_0x16d758(0x2bb)](),_0x386f86=_0x442017['useRef']('_'[_0x16d758(0x375)](_0x30d2d4()));return _0x510583(_0x427b16,''[_0x16d758(0x375)](_0x45869c),{'defIds':_0x427b16[_0x16d758(0x128)],'idSuffix':_0x386f86[_0x16d758(0x37c)]},_0x43c967({'ref':_0x68f04a,'className':_0x5ed624},_0x4f1dd2),_0x5af3e7);});function _0x510583(_0x54ca49,_0x5a143e,_0x4f6625,_0x1f5ebb,_0x5473a4){const _0x12f3be=_0x4b1c64;return _0x442017['createElement'](_0x54ca49['tag'],_0x43c967(_0x43c967({'key':_0x5a143e},_0xc73807(_0x54ca49,_0x4f6625,_0x5473a4)),_0x1f5ebb),(_0x1be361(_0x54ca49,_0x4f6625)[_0x12f3be(0x16e)]||[])[_0x12f3be(0x236)](function(_0x574fb9,_0xce3534){const _0x4ac9b7=_0x12f3be;return _0x510583(_0x574fb9,''[_0x4ac9b7(0x375)](_0x5a143e,'-')[_0x4ac9b7(0x375)](_0x54ca49['tag'],'-')[_0x4ac9b7(0x375)](_0xce3534),_0x4f6625,void 0x0,_0x5473a4);}));}function _0xc73807(_0x5bd66c,_0x2b072f,_0x46b2d9){const _0x3e1fe6=_0x4b1c64;var _0x4dde68=_0x43c967({},_0x5bd66c[_0x3e1fe6(0x1df)]);_0x46b2d9!=null&&_0x46b2d9[_0x3e1fe6(0x2f7)]&&_0x4dde68[_0x3e1fe6(0x27c)]==='colorChannel1'&&(_0x4dde68['fill']=_0x46b2d9[_0x3e1fe6(0x2f7)]),_0x5bd66c[_0x3e1fe6(0x350)]===_0x3e1fe6(0x20b)&&_0x4dde68['id']&&(_0x4dde68['id']=_0x4dde68['id']+_0x2b072f[_0x3e1fe6(0x319)]),Object['entries'](_0x4dde68)[_0x3e1fe6(0x39a)](function(_0x49cec6){const _0x42996e=_0x3e1fe6;var _0x29209f=_0x49cec6[0x0],_0x25ced8=_0x49cec6[0x1];_0x29209f===_0x42996e(0x20b)&&typeof _0x25ced8=='string'&&(_0x4dde68[_0x29209f]=_0x25ced8['replace'](/url\(#(.*)\)/,_0x42996e(0x1be)[_0x42996e(0x375)](_0x2b072f['idSuffix'],')')));});var _0x5a28a5=_0x2b072f[_0x3e1fe6(0x128)];return!_0x5a28a5||_0x5a28a5[_0x3e1fe6(0x3ab)]===0x0||(_0x5bd66c[_0x3e1fe6(0x350)]==='use'&&_0x4dde68['xlink:href']&&(_0x4dde68[_0x3e1fe6(0x318)]=_0x4dde68[_0x3e1fe6(0x318)]+_0x2b072f[_0x3e1fe6(0x319)]),Object['entries'](_0x4dde68)['forEach'](function(_0x22596e){const _0x423684=_0x3e1fe6;var _0x35a718=_0x22596e[0x0],_0x37da37=_0x22596e[0x1];typeof _0x37da37==_0x423684(0x149)&&(_0x4dde68[_0x35a718]=_0x37da37[_0x423684(0x177)](/url\(#(.*)\)/,_0x423684(0x1be)[_0x423684(0x375)](_0x2b072f[_0x423684(0x319)],')')));})),_0x4dde68;}function _0x1be361(_0x379a39,_0x4a0bc6){const _0x38f7a2=_0x4b1c64;var _0x40eea4,_0x4ff661=_0x4a0bc6['defIds'];return!_0x4ff661||_0x4ff661[_0x38f7a2(0x3ab)]===0x0?_0x379a39:_0x379a39[_0x38f7a2(0x350)]===_0x38f7a2(0x1de)&&(!((_0x40eea4=_0x379a39[_0x38f7a2(0x16e)])===null||_0x40eea4===void 0x0)&&_0x40eea4[_0x38f7a2(0x3ab)])?_0x43c967(_0x43c967({},_0x379a39),{'children':_0x379a39[_0x38f7a2(0x16e)][_0x38f7a2(0x236)](function(_0x1c8fc0){const _0x36e045=_0x38f7a2;return typeof _0x1c8fc0[_0x36e045(0x1df)]['id']==_0x36e045(0x149)&&_0x4ff661&&_0x4ff661[_0x36e045(0x346)](_0x1c8fc0['attrs']['id'])>-0x1?_0x43c967(_0x43c967({},_0x1c8fc0),{'attrs':_0x43c967(_0x43c967({},_0x1c8fc0[_0x36e045(0x1df)]),{'id':_0x1c8fc0[_0x36e045(0x1df)]['id']+_0x4a0bc6[_0x36e045(0x319)]})}):_0x1c8fc0;})}):_0x379a39;}function _0x30d2d4(){const _0x2c4c94=_0x4b1c64;return Math[_0x2c4c94(0x38e)]()[_0x2c4c94(0x1b9)](0x24)[_0x2c4c94(0x2db)](0x2,0x8);}_0x53cf46[_0x4b1c64(0x17a)]='UniverIcon';var _0x50141d={'tag':_0x4b1c64(0x3a3),'attrs':{'fill':_0x4b1c64(0x1c4),'viewBox':_0x4b1c64(0x310),'width':_0x4b1c64(0x19f),'height':_0x4b1c64(0x19f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4b1c64(0x2ea),'attrs':{'stroke':_0x4b1c64(0x1f7),'d':_0x4b1c64(0x277),'strokeLinecap':_0x4b1c64(0x398),'strokeLinejoin':_0x4b1c64(0x398),'strokeWidth':1.2}}]},{'tag':_0x4b1c64(0x1de),'attrs':{},'children':[{'tag':_0x4b1c64(0x22c),'attrs':{'id':_0x4b1c64(0x38f)},'children':[{'tag':_0x4b1c64(0x2ea),'attrs':{'fill':_0x4b1c64(0x384),'d':_0x4b1c64(0x1ae)}}]}]}],'defIds':[_0x4b1c64(0x38f)]},_0x486047=_0x442017[_0x4b1c64(0x339)](function(_0x579d30,_0x2de412){const _0x24cf49=_0x4b1c64;return _0x442017[_0x24cf49(0x30e)](_0x53cf46,Object['assign']({},_0x579d30,{'id':_0x24cf49(0x2ce),'ref':_0x2de412,'icon':_0x50141d}));});_0x486047[_0x4b1c64(0x17a)]=_0x4b1c64(0x17c);var _0x3010a4={'tag':_0x4b1c64(0x3a3),'attrs':{'fill':'none','viewBox':_0x4b1c64(0x193),'width':_0x4b1c64(0x19f),'height':_0x4b1c64(0x19f)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x4b1c64(0x2ea),'attrs':{'stroke':'currentColor','d':_0x4b1c64(0x36d),'strokeLinecap':_0x4b1c64(0x398),'strokeLinejoin':_0x4b1c64(0x398),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4b1c64(0x22c),'attrs':{'id':_0x4b1c64(0x2b5)},'children':[{'tag':'path','attrs':{'fill':_0x4b1c64(0x384),'d':'M0\x200H16V16H0z','transform':_0x4b1c64(0x158)}}]}]}],'defIds':[_0x4b1c64(0x2b5)]},_0x544620=_0x442017[_0x4b1c64(0x339)](function(_0x48b771,_0x17a252){const _0x303d93=_0x4b1c64;return _0x442017[_0x303d93(0x30e)](_0x53cf46,Object[_0x303d93(0x1d4)]({},_0x48b771,{'id':_0x303d93(0x33b),'ref':_0x17a252,'icon':_0x3010a4}));});_0x544620[_0x4b1c64(0x17a)]=_0x4b1c64(0x154);function _0x7366e3(_0x22437b){const _0x1a11bf=_0x4b1c64;switch(_0x22437b){case _0xf9b925[_0x1a11bf(0x271)]['OFFLINE']:return _0x1a11bf(0x352);case _0xf9b925['CollaborationStatus'][_0x1a11bf(0x3a5)]:return _0x1a11bf(0x252);case _0xf9b925[_0x1a11bf(0x271)][_0x1a11bf(0x1e3)]:return'collabStatus.fetchMiss';case _0xf9b925['CollaborationStatus'][_0x1a11bf(0x331)]:return _0x1a11bf(0x26d);case _0xf9b925[_0x1a11bf(0x271)]['AWAITING']:case _0xf9b925['CollaborationStatus'][_0x1a11bf(0x182)]:return _0x1a11bf(0x2e5);case _0xf9b925['CollaborationStatus'][_0x1a11bf(0x23c)]:case _0xf9b925[_0x1a11bf(0x271)]['PENDING']:return'collabStatus.synced';}}function _0xdda0fa(_0x38eedb){const _0xc56d23=_0x4b1c64,{status$:_0x363dd0}=_0x38eedb,_0x5191b0=_0x49048d[_0xc56d23(0x16a)](_0x363dd0,_0xf9b925[_0xc56d23(0x271)][_0xc56d23(0x331)]),_0x539319=_0x49048d[_0xc56d23(0x29c)](_0x29c4b3[_0xc56d23(0x164)]),_0x57d6cb=_0x49048d[_0xc56d23(0x29c)](_0xf9b925[_0xc56d23(0x21d)]),_0x4572e2=_0x5191b0!==_0xf9b925[_0xc56d23(0x271)][_0xc56d23(0x1c2)],_0x5ba167=_0x539319['t'](_0x7366e3(_0x5191b0)),_0x32a5c3=_0x4572e2?_0xcfd45e['jsx'](_0x544620,{}):_0xcfd45e[_0xc56d23(0x305)](_0x486047,{}),_0x5ca7e2=_0x442017['useCallback'](()=>{_0x4572e2||_0x57d6cb['reconnect']();},[_0x4572e2,_0x57d6cb]);function _0x22489b(){const _0x28073f=_0xc56d23;return _0xcfd45e[_0x28073f(0x268)]('div',{'className':_0x28073f(0x2b3),'onClick':_0x5ca7e2,'children':[_0xcfd45e[_0x28073f(0x305)](_0x28073f(0x175),{'className':_0x2b6841[_0x28073f(0x13a)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x4572e2?_0x28073f(0x227):'univer-text-red-500'),'children':_0x32a5c3}),_0xcfd45e['jsx']('div',{'className':_0x28073f(0x259),'children':_0x5ba167})]});}return _0x4572e2?_0x22489b():_0xcfd45e[_0xc56d23(0x305)](_0x2b6841[_0xc56d23(0x2e3)],{'title':_0x539319['t'](_0xc56d23(0x2d5)),'children':_0x22489b()});}var _0x2aa38c=Object['getOwnPropertyDescriptor'],_0x4e1389=(_0x5be580,_0x74247,_0x4f873e,_0x5f3e30)=>{for(var _0x15c10e=_0x5f3e30>0x1?void 0x0:_0x5f3e30?_0x2aa38c(_0x74247,_0x4f873e):_0x74247,_0x2fa9cf=_0x5be580['length']-0x1,_0x3612a7;_0x2fa9cf>=0x0;_0x2fa9cf--)(_0x3612a7=_0x5be580[_0x2fa9cf])&&(_0x15c10e=_0x3612a7(_0x15c10e)||_0x15c10e);return _0x15c10e;},_0x5a9d4d=(_0x180148,_0x5e3e3d)=>(_0x2c0e6b,_0xbd1186)=>_0x5e3e3d(_0x2c0e6b,_0xbd1186,_0x180148);_0x49722f[_0x4b1c64(0x2ff)]=class extends _0x29c4b3['Disposable']{constructor(_0xfb9a51,_0x197375,_0x4124fb,_0x1942ac){const _0x1c5adc=_0x4b1c64;super(),_0x593db2(this,_0x1c5adc(0x165),new _0x5cdc95[(_0x1c5adc(0x2b8))](_0xf9b925['CollaborationStatus'][_0x1c5adc(0x331)])),(this['_univerInstanceService']=_0xfb9a51,this[_0x1c5adc(0x196)]=_0x197375,this[_0x1c5adc(0x2ca)]=_0x4124fb,this[_0x1c5adc(0x300)]=_0x1942ac,this[_0x1c5adc(0x3a1)](),this[_0x1c5adc(0x1cc)]());}[_0x4b1c64(0x1cc)](){const _0x17abd7=_0x4b1c64;this['disposeWithMe'](this[_0x17abd7(0x1e2)][_0x17abd7(0x23e)][_0x17abd7(0x37f)](_0x5cdc95[_0x17abd7(0x225)](()=>{const _0x406ce9=_0x17abd7,_0x4bc66a=this[_0x406ce9(0x1e2)][_0x406ce9(0x1f3)]();return _0x4bc66a?this['_collaborationController']['getCollabEntity$'](_0x4bc66a[_0x406ce9(0x14a)]()):_0x5cdc95['of'](null);}),_0x5cdc95[_0x17abd7(0x225)](_0x327889=>_0x327889?_0x327889[_0x17abd7(0x163)]:_0x5cdc95['of'](_0xf9b925[_0x17abd7(0x271)][_0x17abd7(0x331)])))['subscribe'](_0x1f3ea2=>{const _0xe03529=_0x17abd7;this[_0xe03529(0x165)][_0xe03529(0x2d4)](_0x1f3ea2);}));}[_0x4b1c64(0x3a1)](){const _0x30f92e=_0x4b1c64;this[_0x30f92e(0x1ad)](this[_0x30f92e(0x300)][_0x30f92e(0x328)](_0x49048d[_0x30f92e(0x2c1)]['HEADER_MENU'],()=>_0x49048d[_0x30f92e(0x2a7)](_0x13c4ca({'status$':this[_0x30f92e(0x165)]['asObservable']()}),this[_0x30f92e(0x196)])));}},_0x49722f[_0x4b1c64(0x2ff)]=_0x4e1389([_0x5a9d4d(0x0,_0x29c4b3[_0x4b1c64(0x1d3)]),_0x5a9d4d(0x1,_0x29c4b3['Inject'](_0x29c4b3[_0x4b1c64(0x283)])),_0x5a9d4d(0x2,_0x29c4b3['Inject'](_0xf9b925['CollaborationController'])),_0x5a9d4d(0x3,_0x49048d[_0x4b1c64(0x303)])],_0x49722f[_0x4b1c64(0x2ff)]);function _0x13c4ca(_0x94d6d4){const {status$:_0x31a324}=_0x94d6d4;return function(){const _0x572304=_0x3c28;return _0xcfd45e[_0x572304(0x305)](_0xdda0fa,{'status$':_0x31a324});};}var _0x295494=Object[_0x4b1c64(0x39e)],_0x5a4410=(_0xe5bbec,_0x34786e,_0x26dd15,_0x583e8c)=>{for(var _0x1b3175=_0x583e8c>0x1?void 0x0:_0x583e8c?_0x295494(_0x34786e,_0x26dd15):_0x34786e,_0x416c6d=_0xe5bbec['length']-0x1,_0x2ed615;_0x416c6d>=0x0;_0x416c6d--)(_0x2ed615=_0xe5bbec[_0x416c6d])&&(_0x1b3175=_0x2ed615(_0x1b3175)||_0x1b3175);return _0x1b3175;},_0x766381=(_0x127c61,_0x56949a)=>(_0x2de5e8,_0x2b27fc)=>_0x56949a(_0x2de5e8,_0x2b27fc,_0x127c61);let _0x433de1=class extends _0x29c4b3[_0x4b1c64(0x357)]{constructor(_0x1fd77c,_0xa507dd,_0x19bf36,_0x54be79,_0xf4a3e1,_0x17443c){const _0x7a4272=_0x4b1c64;super(),this[_0x7a4272(0x1bf)]=_0x1fd77c,this[_0x7a4272(0x1b7)]=_0xa507dd,this[_0x7a4272(0x2f9)]=_0x19bf36,this[_0x7a4272(0x240)]=_0x54be79,this[_0x7a4272(0x12c)]=_0xf4a3e1,this[_0x7a4272(0x22b)]=_0x17443c,this[_0x7a4272(0x27e)](),this[_0x7a4272(0x3ac)]();}[_0x4b1c64(0x27e)](){const _0xb98823=_0x4b1c64;this[_0xb98823(0x1ad)](this[_0xb98823(0x1bf)][_0xb98823(0x198)](()=>{const _0x538a55=_0xb98823;if(this['_localCacheService'][_0x538a55(0x2b4)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x4b1c64(0x3ac)](){const _0x435214=_0x4b1c64;this[_0x435214(0x1ad)](this[_0x435214(0x2f9)][_0x435214(0x1dd)]['subscribe'](_0x24f1cf=>{const _0x446b66=_0x435214;_0x24f1cf['id']===_0xf9b925[_0x446b66(0x145)]['OTHER_CLIENT_EDITING']&&this[_0x446b66(0x240)][_0x446b66(0x155)]({'type':_0x2b6841['MessageType'][_0x446b66(0x2a2)],'content':this['_localeService']['t'](_0x446b66(0x178))}),_0x24f1cf['id']===_0xf9b925['CollaborationUIEventId'][_0x446b66(0x1ec)]&&this[_0x446b66(0x240)][_0x446b66(0x155)]({'type':_0x2b6841['MessageType'][_0x446b66(0x2a2)],'content':this[_0x446b66(0x22b)]['t'](_0x446b66(0x2cf))}),_0x24f1cf['id']===_0xf9b925[_0x446b66(0x145)][_0x446b66(0x21b)]&&this[_0x446b66(0x12c)]['show']({'title':this[_0x446b66(0x22b)]['t'](_0x446b66(0x18c)),'content':this[_0x446b66(0x22b)]['t'](_0x446b66(0x209)),'type':_0x446b66(0x2c6),'duration':0x0}),_0x24f1cf['id']===_0xf9b925['CollaborationUIEventId'][_0x446b66(0x3a5)]&&this[_0x446b66(0x240)][_0x446b66(0x155)]({'type':_0x2b6841[_0x446b66(0x31a)][_0x446b66(0x3b1)],'content':this[_0x446b66(0x22b)]['t'](_0x446b66(0x2cf))+'('+_0x24f1cf['data']+')'}),_0x24f1cf['id']===_0xf9b925['CollaborationUIEventId'][_0x446b66(0x325)]&&this['_messageService'][_0x446b66(0x155)]({'type':_0x2b6841[_0x446b66(0x31a)]['Warning'],'content':this[_0x446b66(0x22b)]['t'](_0x24f1cf[_0x446b66(0x2dd)]||'')}),_0x24f1cf['id']===_0xf9b925[_0x446b66(0x145)][_0x446b66(0x274)]&&this['_messageService'][_0x446b66(0x155)]({'type':_0x2b6841[_0x446b66(0x31a)][_0x446b66(0x2a2)],'content':this[_0x446b66(0x22b)]['t'](_0x446b66(0x129))}),_0x24f1cf['id']===_0xf9b925[_0x446b66(0x145)][_0x446b66(0x23d)]&&this[_0x446b66(0x240)]['show']({'type':_0x2b6841[_0x446b66(0x31a)][_0x446b66(0x3b1)],'content':this[_0x446b66(0x22b)]['t'](_0x446b66(0x144))}),_0x24f1cf['id']===_0xf9b925[_0x446b66(0x145)][_0x446b66(0x329)]&&this['_messageService'][_0x446b66(0x155)]({'type':_0x2b6841[_0x446b66(0x31a)]['Error'],'content':this[_0x446b66(0x22b)]['t'](_0x446b66(0x28c))});}));}};_0x433de1=_0x5a4410([_0x766381(0x0,_0x49048d[_0x4b1c64(0x25f)]),_0x766381(0x1,_0xf9b925['ILocalCacheService']),_0x766381(0x2,_0x29c4b3['Inject'](_0xf9b925[_0x4b1c64(0x30c)])),_0x766381(0x3,_0x49048d['IMessageService']),_0x766381(0x4,_0x49048d[_0x4b1c64(0x338)]),_0x766381(0x5,_0x29c4b3['Inject'](_0x29c4b3[_0x4b1c64(0x164)]))],_0x433de1);const _0x2746ae=_0x4b1c64(0x2bf),_0x2dffa1={},_0x51a84b=_0x29c4b3[_0x4b1c64(0x284)]('uni.network.url-service');var _0x2e0ecd=Object[_0x4b1c64(0x39e)],_0xd082bf=(_0x17c026,_0x51016d,_0xbfab01,_0x92bfa5)=>{const _0x5257c2=_0x4b1c64;for(var _0x110857=_0x92bfa5>0x1?void 0x0:_0x92bfa5?_0x2e0ecd(_0x51016d,_0xbfab01):_0x51016d,_0x4ebcd8=_0x17c026[_0x5257c2(0x3ab)]-0x1,_0x2f698c;_0x4ebcd8>=0x0;_0x4ebcd8--)(_0x2f698c=_0x17c026[_0x4ebcd8])&&(_0x110857=_0x2f698c(_0x110857)||_0x110857);return _0x110857;},_0x3be48e=(_0x45b600,_0x1433e7)=>(_0x2c2bb4,_0x199eda)=>_0x1433e7(_0x2c2bb4,_0x199eda,_0x45b600);_0x49722f['CollaborationDataLoaderController']=class extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(_0x2ba34b,_0x159d26,_0x52ec7f,_0x560463,_0x2f1d35){const _0x143b73=_0x4b1c64;super(),this[_0x143b73(0x2c8)]=_0x2ba34b,this[_0x143b73(0x142)]=_0x159d26,this[_0x143b73(0x3a7)]=_0x52ec7f,this[_0x143b73(0x347)]=_0x560463,_0x2f1d35?_0x2f1d35==null||_0x2f1d35[_0x143b73(0x281)]()[_0x143b73(0x363)](()=>this[_0x143b73(0x3b8)]()):(this[_0x143b73(0x142)][_0x143b73(0x2e1)](_0x143b73(0x36b),_0x143b73(0x386)),this[_0x143b73(0x3b8)]());}async['_init'](){const _0x4a9306=_0x4b1c64,_0x551ed0=this[_0x4a9306(0x2c8)][_0x4a9306(0x132)](_0x4a9306(0x183)),_0x1fdf9f=this['_urlService'][_0x4a9306(0x132)]('type'),_0x13688a=this[_0x4a9306(0x2c8)][_0x4a9306(0x132)](_0x4a9306(0x167));if(!_0x551ed0||!_0x1fdf9f){this[_0x4a9306(0x142)][_0x4a9306(0x2e1)](_0x4a9306(0x36b),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4a8f9f=await this[_0x4a9306(0x347)][_0x4a9306(0x341)](_0x551ed0,Number(_0x1fdf9f),_0x13688a);_0x4a8f9f&&_0x4a8f9f instanceof _0x29c4b3['Workbook']&&this['_setupSubUnitSync'](_0x4a8f9f);}async[_0x4b1c64(0x1a7)](_0x1e2262){const _0x450668=_0x4b1c64;await this[_0x450668(0x23f)](_0x1e2262),_0x1e2262[_0x450668(0x246)][_0x450668(0x37f)](_0x5cdc95[_0x450668(0x335)](this['dispose$']))['subscribe'](_0x3b14d6=>{const _0x2275c6=_0x450668;_0x3b14d6&&this[_0x2275c6(0x212)](_0x3b14d6);}),this[_0x450668(0x2c8)][_0x450668(0x29f)][_0x450668(0x37f)](_0x5cdc95[_0x450668(0x335)](this[_0x450668(0x27d)]))[_0x450668(0x1d5)](()=>this['_updateSubUnitFromURLParams'](_0x1e2262));}['_updateURLWithCurrentState'](_0x5d7981,_0x1eb7fd=!0x1){const _0x3b4e23=_0x4b1c64,_0x52bec0=this[_0x3b4e23(0x2c8)][_0x3b4e23(0x132)]('subunit');_0x5d7981[_0x3b4e23(0x130)]()!==_0x52bec0&&this['_urlService'][_0x3b4e23(0x28a)]('subunit',_0x5d7981[_0x3b4e23(0x130)](),_0x1eb7fd);}async['_updateSubUnitFromURLParams'](_0x35c028){const _0x2dcb2d=_0x4b1c64;var _0x342969;const _0x554b61=this[_0x2dcb2d(0x2c8)][_0x2dcb2d(0x132)](_0x2dcb2d(0x167));if(!_0x554b61||!_0x35c028[_0x2dcb2d(0x2f8)](_0x554b61)){const _0x3f97ab=_0x35c028[_0x2dcb2d(0x2cc)]()[0x0],_0x1753bd=_0x35c028['getSheetBySheetId'](_0x3f97ab);if(!_0x1753bd)return;this['_updateURLWithCurrentState'](_0x1753bd,!0x0),await this[_0x2dcb2d(0x3a7)][_0x2dcb2d(0x248)](_0x9b20c5[_0x2dcb2d(0x18f)]['id'],{'unitId':_0x35c028[_0x2dcb2d(0x14a)](),'subUnitId':_0x3f97ab});return;}((_0x342969=_0x35c028[_0x2dcb2d(0x18b)]())==null?void 0x0:_0x342969[_0x2dcb2d(0x130)]())!==_0x554b61&&await this[_0x2dcb2d(0x3a7)][_0x2dcb2d(0x248)](_0x9b20c5[_0x2dcb2d(0x18f)]['id'],{'unitId':_0x35c028[_0x2dcb2d(0x14a)](),'subUnitId':_0x554b61});}},_0x49722f[_0x4b1c64(0x1fa)]=_0xd082bf([_0x3be48e(0x0,_0x51a84b),_0x3be48e(0x1,_0x29c4b3[_0x4b1c64(0x342)]),_0x3be48e(0x2,_0x29c4b3[_0x4b1c64(0x20d)]),_0x3be48e(0x3,_0x29c4b3['Inject'](_0xf9b925['DataLoaderService'])),_0x3be48e(0x4,_0x29c4b3[_0x4b1c64(0x2d1)](_0x14f0d0['IRemoteInstanceService']))],_0x49722f[_0x4b1c64(0x1fa)]);var _0xab6bdc=Object[_0x4b1c64(0x39e)],_0x35cb79=(_0x4270e1,_0x3d90f8,_0x38ec22,_0x562b41)=>{const _0x21e509=_0x4b1c64;for(var _0x5a5824=_0x562b41>0x1?void 0x0:_0x562b41?_0xab6bdc(_0x3d90f8,_0x38ec22):_0x3d90f8,_0x5edabc=_0x4270e1[_0x21e509(0x3ab)]-0x1,_0xe70db0;_0x5edabc>=0x0;_0x5edabc--)(_0xe70db0=_0x4270e1[_0x5edabc])&&(_0x5a5824=_0xe70db0(_0x5a5824)||_0x5a5824);return _0x5a5824;},_0x16ca97=(_0x5d61e2,_0x241389)=>(_0x425e51,_0x47163a)=>_0x241389(_0x425e51,_0x47163a,_0x5d61e2);let _0x454b82=class{constructor(_0x114338,_0xae9167,_0x2c50e1){const _0x336bf4=_0x4b1c64;this[_0x336bf4(0x196)]=_0x114338,this[_0x336bf4(0x195)]=_0xae9167,this[_0x336bf4(0x302)]=_0x2c50e1;}[_0x4b1c64(0x34f)](_0x26acdd){const _0x225176=_0x4b1c64;this[_0x225176(0x126)](_0x26acdd),this[_0x225176(0x22f)](_0x26acdd);}[_0x4b1c64(0x1a9)](_0x1ca825){const _0x6d5be7=_0x4b1c64,{unitID:_0x402a95}=_0x1ca825,_0x127d6f=this[_0x6d5be7(0x302)][_0x6d5be7(0x265)](_0x402a95)['with'](_0x2496d8[_0x6d5be7(0x157)]),{redoCache:_0x3d38f8}=_0x127d6f['getUndoRedoMutationParamsCache']();if(_0x3d38f8[_0x6d5be7(0x3ab)]===0x0)return _0x1ca825;let _0xee3a2d=_0x29c4b3['Tools'][_0x6d5be7(0x200)](_0x1ca825[_0x6d5be7(0x3a8)][0x0]);for(let _0x27b51a=0x0;_0x27b51a<_0x3d38f8[_0x6d5be7(0x3ab)];_0x27b51a++){const _0x566cdb={'id':'doc.mutation.rich-text-editing','params':{..._0x3d38f8[_0x27b51a]}},_0x204c77=this[_0x6d5be7(0x195)][_0x6d5be7(0x306)](_0xee3a2d,_0x566cdb,!0x1);if(_0x53c7bc['isTransformMutationFailure'](_0x204c77))throw _0x204c77[_0x6d5be7(0x2c6)];_0xee3a2d=_0x204c77[_0x6d5be7(0x1c5)];}return{..._0x29c4b3[_0x6d5be7(0x256)][_0x6d5be7(0x200)](_0x1ca825),'mutations':[_0xee3a2d]};}[_0x4b1c64(0x126)](_0x44a3f2){const _0x356022=_0x4b1c64,{unitID:_0x1ec8cd}=_0x44a3f2,_0x38e6b4=this[_0x356022(0x302)][_0x356022(0x265)](_0x1ec8cd)[_0x356022(0x1ba)](_0x2496d8[_0x356022(0x157)]),{undoCache:_0x407fbb,redoCache:_0x2902df}=_0x38e6b4[_0x356022(0x1c3)]();if(_0x407fbb[_0x356022(0x3ab)]===0x0||_0x2902df[_0x356022(0x3ab)]===0x0)return;const _0x51bf7a=[],_0x410280=[];let _0x813978=_0x29c4b3['Tools'][_0x356022(0x200)](_0x44a3f2[_0x356022(0x3a8)][0x0]),_0x101753=_0x29c4b3[_0x356022(0x256)][_0x356022(0x200)](_0x44a3f2['mutations'][0x0]);for(let _0x40b9a9=_0x407fbb['length']-0x1;_0x40b9a9>=0x0;_0x40b9a9--){const _0x21db9d={'id':'doc.mutation.rich-text-editing','params':{..._0x407fbb[_0x40b9a9]}},_0x352e20={'id':_0x356022(0x278),'params':{..._0x2902df[_0x40b9a9]}},_0x5acdba=this['_transformService'][_0x356022(0x306)](_0x813978,_0x21db9d,!0x1),_0x4adcd4=this[_0x356022(0x195)][_0x356022(0x306)](_0x101753,_0x352e20,!0x1);if(_0x53c7bc['isTransformMutationFailure'](_0x5acdba))throw _0x5acdba[_0x356022(0x2c6)];if(_0x53c7bc[_0x356022(0x36f)](_0x4adcd4))throw _0x4adcd4[_0x356022(0x2c6)];_0x51bf7a[_0x356022(0x24f)](_0x5acdba['m2Prime'][_0x356022(0x1b4)]),_0x410280['unshift'](_0x4adcd4[_0x356022(0x215)][_0x356022(0x1b4)]),_0x813978=_0x5acdba[_0x356022(0x1c5)],_0x101753=_0x4adcd4[_0x356022(0x1c5)];}_0x38e6b4['setUndoRedoMutationParamsCache']({'undoCache':_0x51bf7a,'redoCache':_0x410280});}['_transformPreviousActiveRange'](_0x25a896){const _0x2bf7ff=_0x4b1c64,{unitID:_0x1b573a}=_0x25a896,_0x441d20=this[_0x2bf7ff(0x302)][_0x2bf7ff(0x265)](_0x1b573a)['with'](_0x2496d8[_0x2bf7ff(0x157)]),_0x538882=_0x441d20[_0x2bf7ff(0x391)]();if(_0x538882==null)return;const _0x975e0e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x25a896[_0x2bf7ff(0x12e)],'actions':null,'textRanges':[_0x538882]}}],_0x2766fa=this[_0x2bf7ff(0x195)][_0x2bf7ff(0x2a5)](_0x25a896,_0x975e0e);if(!_0x53c7bc[_0x2bf7ff(0x234)](_0x2766fa))throw _0x2766fa[_0x2bf7ff(0x2c6)];const _0x262dad=_0x2766fa[_0x2bf7ff(0x215)][0x0]['params'][_0x2bf7ff(0x2cb)];Array[_0x2bf7ff(0x382)](_0x262dad)&&_0x262dad[_0x2bf7ff(0x3ab)]&&_0x441d20[_0x2bf7ff(0x12b)](_0x262dad[0x0]);}};_0x454b82=_0x35cb79([_0x16ca97(0x0,_0x29c4b3['Inject'](_0x29c4b3['Injector'])),_0x16ca97(0x1,_0x53c7bc[_0x4b1c64(0x19d)]),_0x16ca97(0x2,_0x12e223['IRenderManagerService'])],_0x454b82);var _0x5b1578=Object['getOwnPropertyDescriptor'],_0x199d3f=(_0xb2a57e,_0x59fd4,_0x5f601b,_0x55e0d0)=>{const _0x403396=_0x4b1c64;for(var _0xf4eeaa=_0x55e0d0>0x1?void 0x0:_0x55e0d0?_0x5b1578(_0x59fd4,_0x5f601b):_0x59fd4,_0x58b7be=_0xb2a57e[_0x403396(0x3ab)]-0x1,_0x119850;_0x58b7be>=0x0;_0x58b7be--)(_0x119850=_0xb2a57e[_0x58b7be])&&(_0xf4eeaa=_0x119850(_0xf4eeaa)||_0xf4eeaa);return _0xf4eeaa;},_0x35e6a7=(_0xd42146,_0x2a8cb5)=>(_0x48b894,_0x1f7fe6)=>_0x2a8cb5(_0x48b894,_0x1f7fe6,_0xd42146);let _0x291eea=class{constructor(_0xd553aa,_0x463887,_0x3c01a9){const _0x577655=_0x4b1c64;this[_0x577655(0x196)]=_0xd553aa,this[_0x577655(0x195)]=_0x463887,this[_0x577655(0x207)]=_0x3c01a9;}['transformStateCache'](_0x19a522){const _0x4ec6b2=_0x4b1c64;this[_0x4ec6b2(0x226)](_0x19a522);}['transformRemoteChangeset'](_0x2f26f0){const _0xabf436=_0x4b1c64,{unitID:_0x5d6111}=_0x2f26f0,{collaboration:_0x51d814}=this['_docStateChangeManagerService'][_0xabf436(0x38c)](_0x5d6111);if(_0x51d814[_0xabf436(0x3ab)]===0x0)return _0x2f26f0;let _0x5ccd3a=_0x29c4b3[_0xabf436(0x256)][_0xabf436(0x200)](_0x2f26f0[_0xabf436(0x3a8)][0x0]);for(let _0xddfa71=0x0;_0xddfa71<_0x51d814[_0xabf436(0x3ab)];_0xddfa71++){const _0x594cdb={'id':_0xabf436(0x278),'params':{'unitId':_0x51d814[_0xddfa71][_0xabf436(0x1b3)],..._0x51d814[_0xddfa71]['redoState']}},_0x2d5abd=this[_0xabf436(0x195)][_0xabf436(0x306)](_0x5ccd3a,_0x594cdb,!0x1);if(_0x53c7bc[_0xabf436(0x36f)](_0x2d5abd))throw _0x2d5abd[_0xabf436(0x2c6)];_0x5ccd3a=_0x2d5abd[_0xabf436(0x1c5)];}return{..._0x29c4b3['Tools']['deepClone'](_0x2f26f0),'mutations':[_0x5ccd3a]};}['_transformHistoryAndStateStack'](_0x588e2b){const _0x38490d=_0x4b1c64,{unitID:_0x524e49}=_0x588e2b,{history:_0x41d920,collaboration:_0x561569}=this[_0x38490d(0x207)][_0x38490d(0x38c)](_0x524e49);if(_0x41d920[_0x38490d(0x3ab)]===0x0&&_0x561569[_0x38490d(0x3ab)]===0x0)return;const _0x4d12c2=[],_0x22e9dd=[];let _0x401006=_0x29c4b3['Tools'][_0x38490d(0x200)](_0x588e2b[_0x38490d(0x3a8)][0x0]),_0x4741b1=_0x29c4b3[_0x38490d(0x256)][_0x38490d(0x200)](_0x588e2b[_0x38490d(0x3a8)][0x0]);for(let _0x253993=_0x41d920[_0x38490d(0x3ab)]-0x1;_0x253993>=0x0;_0x253993--){const _0xb207d5={'id':_0x38490d(0x278),'params':{'unitId':_0x41d920[_0x253993]['unitId'],..._0x41d920[_0x253993][_0x38490d(0x381)]}},_0x56453a={'id':_0x38490d(0x278),'params':{'unitId':_0x41d920[_0x253993][_0x38490d(0x1b3)],..._0x41d920[_0x253993]['redoState']}},_0x51c28d=this[_0x38490d(0x195)][_0x38490d(0x306)](_0x401006,_0xb207d5,!0x1),_0x47d876=this[_0x38490d(0x195)]['transformMutation'](_0x4741b1,_0x56453a,!0x1);if(_0x53c7bc[_0x38490d(0x36f)](_0x51c28d))throw _0x51c28d['error'];if(_0x53c7bc['isTransformMutationFailure'](_0x47d876))throw _0x47d876[_0x38490d(0x2c6)];_0x4d12c2[_0x38490d(0x24f)]({..._0x41d920[_0x253993],'undoState':_0x51c28d['m2Prime'][_0x38490d(0x1b4)],'redoState':_0x47d876[_0x38490d(0x215)][_0x38490d(0x1b4)]}),_0x401006=_0x51c28d[_0x38490d(0x1c5)],_0x4741b1=_0x47d876[_0x38490d(0x1c5)];}_0x401006=_0x29c4b3['Tools'][_0x38490d(0x200)](_0x588e2b[_0x38490d(0x3a8)][0x0]),_0x4741b1=_0x29c4b3['Tools']['deepClone'](_0x588e2b[_0x38490d(0x3a8)][0x0]);for(let _0x2cb64e=_0x561569[_0x38490d(0x3ab)]-0x1;_0x2cb64e>=0x0;_0x2cb64e--){const _0x127bcf={'id':_0x38490d(0x278),'params':{'unitId':_0x561569[_0x2cb64e][_0x38490d(0x1b3)],..._0x561569[_0x2cb64e][_0x38490d(0x381)]}},_0x4a581a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x561569[_0x2cb64e][_0x38490d(0x1b3)],..._0x561569[_0x2cb64e]['redoState']}},_0x35fce0=this[_0x38490d(0x195)]['transformMutation'](_0x401006,_0x127bcf,!0x1),_0x2e68b5=this[_0x38490d(0x195)][_0x38490d(0x306)](_0x4741b1,_0x4a581a,!0x1);if(_0x53c7bc['isTransformMutationFailure'](_0x35fce0))throw _0x35fce0[_0x38490d(0x2c6)];if(_0x53c7bc['isTransformMutationFailure'](_0x2e68b5))throw _0x2e68b5['error'];_0x22e9dd['unshift']({..._0x561569[_0x2cb64e],'undoState':_0x35fce0[_0x38490d(0x215)][_0x38490d(0x1b4)],'redoState':_0x2e68b5['m2Prime'][_0x38490d(0x1b4)]}),_0x401006=_0x35fce0[_0x38490d(0x1c5)],_0x4741b1=_0x2e68b5[_0x38490d(0x1c5)];}this[_0x38490d(0x207)][_0x38490d(0x30f)](_0x524e49,{'history':_0x4d12c2,'collaboration':_0x22e9dd});}};_0x291eea=_0x199d3f([_0x35e6a7(0x0,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3[_0x4b1c64(0x283)])),_0x35e6a7(0x1,_0x53c7bc[_0x4b1c64(0x19d)]),_0x35e6a7(0x2,_0x29c4b3['Inject'](_0x2496d8[_0x4b1c64(0x290)]))],_0x291eea);var _0x193637=Object['getOwnPropertyDescriptor'],_0x24d56a=(_0x2868af,_0x1fe351,_0x21ca03,_0x1df9a2)=>{const _0x4d522a=_0x4b1c64;for(var _0x225c11=_0x1df9a2>0x1?void 0x0:_0x1df9a2?_0x193637(_0x1fe351,_0x21ca03):_0x1fe351,_0x216dd9=_0x2868af[_0x4d522a(0x3ab)]-0x1,_0x4792b4;_0x216dd9>=0x0;_0x216dd9--)(_0x4792b4=_0x2868af[_0x216dd9])&&(_0x225c11=_0x4792b4(_0x225c11)||_0x225c11);return _0x225c11;},_0x4b32a2=(_0x5579b9,_0x126dc9)=>(_0x3124a3,_0x582245)=>_0x126dc9(_0x3124a3,_0x582245,_0x5579b9);let _0x389715=class{constructor(_0x19a821,_0x286af7){const _0x467366=_0x4b1c64;this[_0x467366(0x196)]=_0x19a821,this[_0x467366(0x195)]=_0x286af7;}[_0x4b1c64(0x32a)](_0x4d13d6){const _0x3b9417=_0x4b1c64;var _0x1f2299;const _0x568607=this[_0x3b9417(0x196)]['get'](_0x1c550c[_0x3b9417(0x2e4)]),_0x674982=(_0x1f2299=_0x568607[_0x3b9417(0x32b)]())!=null?_0x1f2299:[];if(_0x674982[_0x3b9417(0x3ab)]===0x0)return;const _0x24635b=_0x4d13d6[_0x3b9417(0x12e)],_0x2d83bf=[{'id':_0x3b9417(0x278),'params':{'unitId':_0x24635b,'actions':null,'textRanges':_0x674982}}],_0x3aba50=this[_0x3b9417(0x195)][_0x3b9417(0x2a5)](_0x4d13d6,_0x2d83bf);if(!_0x53c7bc[_0x3b9417(0x234)](_0x3aba50))throw _0x3aba50[_0x3b9417(0x2c6)];const _0x5273dc=_0x3aba50[_0x3b9417(0x215)][0x0][_0x3b9417(0x1b4)][_0x3b9417(0x2cb)];Array[_0x3b9417(0x382)](_0x5273dc)&&_0x5273dc[_0x3b9417(0x3ab)]&&_0x568607[_0x3b9417(0x2b7)](_0x5273dc,{'unitId':_0x24635b,'subUnitId':_0x24635b},!0x1);}};_0x389715=_0x24d56a([_0x4b32a2(0x0,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3['Injector'])),_0x4b32a2(0x1,_0x53c7bc['ITransformService'])],_0x389715);var _0x5bff0e=Object[_0x4b1c64(0x39e)],_0x466936=(_0x3f551a,_0x37c2aa,_0x584db7,_0x26e8bd)=>{const _0x36d5a0=_0x4b1c64;for(var _0x28372e=_0x26e8bd>0x1?void 0x0:_0x26e8bd?_0x5bff0e(_0x37c2aa,_0x584db7):_0x37c2aa,_0x2ceb28=_0x3f551a[_0x36d5a0(0x3ab)]-0x1,_0x4bf3a4;_0x2ceb28>=0x0;_0x2ceb28--)(_0x4bf3a4=_0x3f551a[_0x2ceb28])&&(_0x28372e=_0x4bf3a4(_0x28372e)||_0x28372e);return _0x28372e;},_0x3a1e43=(_0x2eb435,_0x296352)=>(_0xf5f941,_0x48d8d2)=>_0x296352(_0xf5f941,_0x48d8d2,_0x2eb435);let _0x1e9cfa=class extends _0x29c4b3[_0x4b1c64(0x357)]{constructor(_0xe5d955,_0x2f2fb8,_0x7e27b4,_0x13fe70,_0x5451e3,_0x211ee3,_0x32e2c7,_0x245bda){const _0x5d3e85=_0x4b1c64;super(),_0x593db2(this,'_status$',new _0x5cdc95[(_0x5d3e85(0x2b8))](_0xf9b925['CollaborationStatus']['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0xe5d955,this['_collaborationController']=_0x2f2fb8,this[_0x5d3e85(0x372)]=_0x7e27b4,this[_0x5d3e85(0x30d)]=_0x13fe70,this[_0x5d3e85(0x32c)]=_0x5451e3,this[_0x5d3e85(0x194)]=_0x211ee3,this[_0x5d3e85(0x240)]=_0x32e2c7,this[_0x5d3e85(0x22b)]=_0x245bda,this['_initEntityListener']());}[_0x4b1c64(0x2ad)](){const _0x2d86bf=_0x4b1c64;this[_0x2d86bf(0x1ad)](this['_collaborationController'][_0x2d86bf(0x237)][_0x2d86bf(0x1d5)](_0x599e13=>{const _0x3c973e=_0x2d86bf,_0x2e7524=this[_0x3c973e(0x207)][_0x3c973e(0x2d2)]['subscribe'](_0x186b9a=>{const _0x4a5275=_0x3c973e;if(_0x186b9a==null)return;const {unitId:_0xc784d2,redoState:_0x27eb32,commandId:_0x11bc25}=_0x186b9a;if(_0xc784d2!==_0x599e13[_0x4a5275(0x12e)])return;const _0x57499b={'id':_0x11bc25,'type':_0x29c4b3['CommandType'][_0x4a5275(0x184)],'params':{'unitId':_0xc784d2,'actions':_0x27eb32[_0x4a5275(0x385)],'textRanges':null}};_0x599e13[_0x4a5275(0x377)](_0x57499b);});if(_0x599e13[_0x3c973e(0x1ad)](_0x2e7524),_0x599e13 instanceof _0xf9b925['DocCollaborationEntity']){const _0x4b9b3b={'onTransformIME':_0x4c954d=>this[_0x3c973e(0x372)][_0x3c973e(0x34f)](_0x4c954d),'onTransformState':_0x585803=>this[_0x3c973e(0x30d)][_0x3c973e(0x345)](_0x585803),'onTransformSelections':_0x4f6c79=>this[_0x3c973e(0x32c)][_0x3c973e(0x32a)](_0x4f6c79),'onSyncEditingCollabCursor':_0x13504d=>this['_docSyncEditingCollabCursorService'][_0x3c973e(0x190)](_0x13504d),'onTransformRemoteChangesetByIMECache':_0x27d8d1=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x27d8d1),'onTransformRemoteChangesetByStateCache':_0x3caea2=>this['_docTransformStateCacheService'][_0x3c973e(0x1a9)](_0x3caea2)};_0x599e13[_0x3c973e(0x14b)](_0x4b9b3b);}}));}};_0x1e9cfa=_0x466936([_0x3a1e43(0x0,_0x29c4b3[_0x4b1c64(0x247)](_0x2496d8[_0x4b1c64(0x290)])),_0x3a1e43(0x1,_0x29c4b3['Inject'](_0xf9b925[_0x4b1c64(0x3a6)])),_0x3a1e43(0x2,_0x29c4b3[_0x4b1c64(0x247)](_0x454b82)),_0x3a1e43(0x3,_0x29c4b3[_0x4b1c64(0x247)](_0x291eea)),_0x3a1e43(0x4,_0x29c4b3['Inject'](_0x389715)),_0x3a1e43(0x5,_0x29c4b3[_0x4b1c64(0x247)](_0x4aa5f2)),_0x3a1e43(0x6,_0x49048d[_0x4b1c64(0x264)]),_0x3a1e43(0x7,_0x29c4b3['Inject'](_0x29c4b3[_0x4b1c64(0x164)]))],_0x1e9cfa);var _0x4d5b2c=Object[_0x4b1c64(0x39e)],_0x8b172a=(_0x296a4b,_0x41b5fc,_0x1390cc,_0x2431a0)=>{const _0x5c148a=_0x4b1c64;for(var _0x13ae7b=_0x2431a0>0x1?void 0x0:_0x2431a0?_0x4d5b2c(_0x41b5fc,_0x1390cc):_0x41b5fc,_0x57d3bd=_0x296a4b[_0x5c148a(0x3ab)]-0x1,_0xb39fd6;_0x57d3bd>=0x0;_0x57d3bd--)(_0xb39fd6=_0x296a4b[_0x57d3bd])&&(_0x13ae7b=_0xb39fd6(_0x13ae7b)||_0x13ae7b);return _0x13ae7b;},_0x8daed6=(_0x1edf8d,_0x51de7f)=>(_0x376b6c,_0x4a2994)=>_0x51de7f(_0x376b6c,_0x4a2994,_0x1edf8d);let _0x2fe909=class extends _0x29c4b3[_0x4b1c64(0x357)]{constructor(_0xc70fe7,_0x1ce1c6,_0x5c5e89){const _0xdb062d=_0x4b1c64;super(),_0x593db2(this,'_cachedData',new Map()),_0x593db2(this,_0xdb062d(0x1cf),new Map()),_0x593db2(this,'_disabled',!0x1),(this['_configService']=_0xc70fe7,this[_0xdb062d(0x34e)]=_0x1ce1c6,this[_0xdb062d(0x180)]=_0x5c5e89);}[_0x4b1c64(0x369)](){const _0x16fd64=_0x4b1c64;this[_0x16fd64(0x253)]=!0x0;}[_0x4b1c64(0x171)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x140ad2=_0x4b1c64;return this[_0x140ad2(0x1cf)];}['dispose'](){const _0x52bd93=_0x4b1c64;this[_0x52bd93(0x258)]()[_0x52bd93(0x363)](()=>super['dispose']());}async['loadOfflineData'](_0x39f76f){const _0x4e6a37=_0x4b1c64;return this[_0x4e6a37(0x253)]?null:this[_0x4e6a37(0x34e)][_0x4e6a37(0x224)](_0xf9b925[_0x4e6a37(0x1e4)](_0x39f76f));}async['saveOfflineData'](_0x28f97a,_0x3e78e4){const _0xd2e405=_0x4b1c64;return!!this['_localStorageService'][_0xd2e405(0x33f)](_0x28f97a,_0x3e78e4);}[_0x4b1c64(0x355)](_0x1dd6a0,_0x591349,_0x7bc23f,_0x4ed346){const _0x1dbb3b=_0x4b1c64,_0x4e8fa9=this['_revisionService'][_0x1dbb3b(0x13d)](_0x1dd6a0);this[_0x1dbb3b(0x35d)][_0x1dbb3b(0x340)](_0x1dd6a0,{'unitID':_0x1dd6a0,'type':_0x591349,'awaitingChangeset':_0x7bc23f,'mutations':_0x4ed346,'rev':_0x4e8fa9}),this[_0x1dbb3b(0x1cf)][_0x1dbb3b(0x14d)](_0x1dd6a0)||this['_scheduleSaving'](_0x1dd6a0);}[_0x4b1c64(0x3ad)](_0x168d41){const _0x70cc7c=_0x4b1c64,_0x4525dd=this[_0x70cc7c(0x239)]();_0x4525dd===0x0?this[_0x70cc7c(0x2e9)](_0x168d41):this[_0x70cc7c(0x1cf)]['set'](_0x168d41,setTimeout(()=>this[_0x70cc7c(0x2e9)](_0x168d41),_0x4525dd));}[_0x4b1c64(0x239)](){const _0xb710ea=_0x4b1c64;var _0x47b605;return(_0x47b605=this[_0xb710ea(0x1af)]['getConfig'](_0xf9b925['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x47b605:_0xf9b925[_0xb710ea(0x1ab)];}[_0x4b1c64(0x2e9)](_0x5ad4ac){const _0x1283ea=_0x4b1c64,_0x47e40f=this['_saveTaskMap']['get'](_0x5ad4ac);return _0x47e40f!==void 0x0&&window[_0x1283ea(0x2f3)](_0x47e40f),this[_0x1283ea(0x34e)][_0x1283ea(0x33f)](_0xf9b925[_0x1283ea(0x1e4)](_0x5ad4ac),this[_0x1283ea(0x35d)][_0x1283ea(0x269)](_0x5ad4ac))[_0x1283ea(0x363)](()=>this[_0x1283ea(0x1cf)]['delete'](_0x5ad4ac));}async[_0x4b1c64(0x258)](){const _0x628850=_0x4b1c64,_0x50e288=[];this[_0x628850(0x1cf)][_0x628850(0x39a)]((_0x5b3e6d,_0x57124f)=>{const _0x25b710=_0x628850;window[_0x25b710(0x2f3)](_0x5b3e6d),_0x50e288[_0x25b710(0x261)](this['_saveCache'](_0x57124f)['then'](()=>{const _0x4247aa=_0x25b710;this[_0x4247aa(0x1cf)][_0x4247aa(0x138)](_0x57124f);}));}),await Promise[_0x628850(0x360)](_0x50e288);}};_0x2fe909=_0x8b172a([_0x8daed6(0x0,_0x29c4b3[_0x4b1c64(0x151)]),_0x8daed6(0x1,_0x29c4b3[_0x4b1c64(0x181)]),_0x8daed6(0x2,_0x29c4b3[_0x4b1c64(0x247)](_0x53c7bc['RevisionService']))],_0x2fe909);class _0x2d55e2 extends _0x29c4b3[_0x4b1c64(0x150)]{constructor(){const _0x1a1935=_0x4b1c64;super(),_0x593db2(this,_0x1a1935(0x29f)),this[_0x1a1935(0x29f)]=_0x5cdc95[_0x1a1935(0x322)](window,_0x1a1935(0x1aa))[_0x1a1935(0x37f)](_0x5cdc95[_0x1a1935(0x335)](this[_0x1a1935(0x27d)]),_0x5cdc95[_0x1a1935(0x39c)](0x1),_0x5cdc95[_0x1a1935(0x1ce)](void 0x0));}[_0x4b1c64(0x28a)](_0x5f32ac,_0x48a414,_0x3d83de=!0x1){const _0x1d288a=_0x4b1c64,_0xedfabd=new URL(window[_0x1d288a(0x1f5)][_0x1d288a(0x1ca)]);_0xedfabd[_0x1d288a(0x241)][_0x1d288a(0x340)](_0x5f32ac,_0x48a414),_0x3d83de?window[_0x1d288a(0x1f4)][_0x1d288a(0x1b6)]('','',_0xedfabd['toString']()):window[_0x1d288a(0x1f4)][_0x1d288a(0x3af)]('','',_0xedfabd[_0x1d288a(0x1b9)]());}['removeParam'](_0x425f96,_0x4f84b9=!0x1){const _0x240608=_0x4b1c64,_0x449b99=new URL(window[_0x240608(0x1f5)][_0x240608(0x1ca)]);_0x449b99[_0x240608(0x241)][_0x240608(0x138)](_0x425f96),_0x4f84b9?window[_0x240608(0x1f4)][_0x240608(0x1b6)]('','',_0x449b99[_0x240608(0x1b9)]()):window['history'][_0x240608(0x3af)]('','',_0x449b99[_0x240608(0x1b9)]());}[_0x4b1c64(0x132)](_0x472167){const _0x35ec69=_0x4b1c64;var _0x24ab14;return(_0x24ab14=new URL(window[_0x35ec69(0x1f5)][_0x35ec69(0x1ca)])[_0x35ec69(0x241)][_0x35ec69(0x269)](_0x472167))!=null?_0x24ab14:void 0x0;}}var _0x40bdc1=Object['defineProperty'],_0x132f52=Object[_0x4b1c64(0x39e)],_0x14b63d=(_0xf27b6d,_0x158078,_0xe13606)=>_0x158078 in _0xf27b6d?_0x40bdc1(_0xf27b6d,_0x158078,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe13606}):_0xf27b6d[_0x158078]=_0xe13606,_0x29b409=(_0x53f962,_0x5ebf77,_0x230358,_0x5b7c46)=>{const _0x15cf0c=_0x4b1c64;for(var _0x5ece74=_0x5b7c46>0x1?void 0x0:_0x5b7c46?_0x132f52(_0x5ebf77,_0x230358):_0x5ebf77,_0x430c81=_0x53f962[_0x15cf0c(0x3ab)]-0x1,_0xc12f37;_0x430c81>=0x0;_0x430c81--)(_0xc12f37=_0x53f962[_0x430c81])&&(_0x5ece74=_0xc12f37(_0x5ece74)||_0x5ece74);return _0x5ece74;},_0x4d520e=(_0x14d7cc,_0x31820b)=>(_0x2ce417,_0x2a3c09)=>_0x31820b(_0x2ce417,_0x2a3c09,_0x14d7cc),_0x10a51c=(_0x4618aa,_0x1a1465,_0x42ece2)=>_0x14b63d(_0x4618aa,_0x1a1465+'',_0x42ece2);const _0xd355cb=_0x4b1c64(0x243);_0x49722f[_0x4b1c64(0x133)]=class extends _0x29c4b3[_0x4b1c64(0x189)]{constructor(_0x3c0a44=_0x2dffa1,_0x526642,_0x578b1f,_0x1ec38c){const _0x1e7cc2=_0x4b1c64;super(),this['_config']=_0x3c0a44,this[_0x1e7cc2(0x302)]=_0x526642,this[_0x1e7cc2(0x196)]=_0x578b1f,this['_configService']=_0x1ec38c;const {..._0x5bf72f}=_0x29c4b3['merge']({},_0x2dffa1,this['_config']);this['_configService'][_0x1e7cc2(0x266)](_0x2746ae,_0x5bf72f);}[_0x4b1c64(0x1c1)](){const _0x1a72ba=_0x4b1c64;this[_0x1a72ba(0x2eb)](),this[_0x1a72ba(0x3a4)]();}[_0x4b1c64(0x29d)](){const _0x3cd3b4=_0x4b1c64;this[_0x3cd3b4(0x1fe)]();}[_0x4b1c64(0x2eb)](){const _0x8de8ff=_0x4b1c64;var _0x2e300c;const _0x22136a=[[_0x51f35b],[_0x389715],[_0x454b82],[_0x291eea],[_0x4aa5f2],[_0x51a84b,{'useClass':_0x2d55e2}],[_0x393968['ISocketService'],{'useClass':_0x393968['WebSocketService']}],[_0xf9b925[_0x8de8ff(0x307)],{'useClass':_0x2fe909}],[_0x49722f[_0x8de8ff(0x2ff)]],[_0x1e9cfa],[_0x433de1],[_0x596c91],[_0x4e9cd5],[_0x49722f['CollaborationDataLoaderController']]];_0x29c4b3[_0x8de8ff(0x16c)](this[_0x8de8ff(0x196)],_0x29c4b3[_0x8de8ff(0x3b5)](_0x22136a,(_0x2e300c=this[_0x8de8ff(0x1a3)])==null?void 0x0:_0x2e300c[_0x8de8ff(0x35a)]));}['_registerRenderDependencies'](){const _0x3cefbe=_0x4b1c64;this[_0x3cefbe(0x1ad)](this[_0x3cefbe(0x302)][_0x3cefbe(0x1dc)](_0x29c4b3[_0x3cefbe(0x2d0)][_0x3cefbe(0x313)],[_0x230362])),this[_0x3cefbe(0x1ad)](this[_0x3cefbe(0x302)][_0x3cefbe(0x1dc)](_0x29c4b3[_0x3cefbe(0x2d0)][_0x3cefbe(0x2cd)],[_0x14c96b]));}[_0x4b1c64(0x3a4)](){const _0x4d0c24=_0x4b1c64;_0x29c4b3[_0x4d0c24(0x39f)](this[_0x4d0c24(0x196)],[[_0x596c91],[_0x49722f['DesktopCollaborationStatusDisplayController']],[_0x1e9cfa],[_0x433de1],[_0x49722f[_0x4d0c24(0x1fa)]]]);}},_0x10a51c(_0x49722f['UniverCollaborationClientUIPlugin'],_0x4b1c64(0x219),_0xd355cb),_0x49722f['UniverCollaborationClientUIPlugin']=_0x29b409([_0x29c4b3[_0x4b1c64(0x294)](_0xf9b925[_0x4b1c64(0x213)]),_0x4d520e(0x1,_0x12e223['IRenderManagerService']),_0x4d520e(0x2,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3['Injector'])),_0x4d520e(0x3,_0x29c4b3[_0x4b1c64(0x151)])],_0x49722f['UniverCollaborationClientUIPlugin']);var _0x96c83b=Object[_0x4b1c64(0x39e)],_0x415db8=(_0x8c79b2,_0xb6d386,_0x2cba81,_0x3b5088)=>{const _0x2ebd20=_0x4b1c64;for(var _0x503254=_0x3b5088>0x1?void 0x0:_0x3b5088?_0x96c83b(_0xb6d386,_0x2cba81):_0xb6d386,_0x4f5d5a=_0x8c79b2[_0x2ebd20(0x3ab)]-0x1,_0x3a0182;_0x4f5d5a>=0x0;_0x4f5d5a--)(_0x3a0182=_0x8c79b2[_0x4f5d5a])&&(_0x503254=_0x3a0182(_0x503254)||_0x503254);return _0x503254;},_0x1d195c=(_0x67ba35,_0x29a65e)=>(_0x3d1c61,_0x12ab3b)=>_0x29a65e(_0x3d1c61,_0x12ab3b,_0x67ba35);_0x49722f[_0x4b1c64(0x1fc)]=class extends _0xf9b925[_0x4b1c64(0x1ea)]{constructor(_0x1b213b,_0x14599a,_0x4bb0df,_0x27b2df,_0x319fdd){super(_0x1b213b,_0x14599a,_0x4bb0df,_0x27b2df,_0x319fdd);}async[_0x4b1c64(0x289)](_0x250849){const _0x4e8d9f=_0x4b1c64,_0x33c316=await this[_0x4e8d9f(0x312)](),_0x3386c4=this[_0x4e8d9f(0x245)](_0x250849,_0x33c316);return this[_0x4e8d9f(0x257)](_0x3386c4);}[_0x4b1c64(0x245)](_0x2672d6,_0x515673){const _0x2ba470=_0x4b1c64,_0x4c29cf=typeof window>'u'?new URL(_0x2672d6):new URL(_0x2672d6,window[_0x2ba470(0x1f5)][_0x2ba470(0x2d8)]);_0x4c29cf[_0x2ba470(0x241)][_0x2ba470(0x340)]('sessionTicket',_0x515673);const _0x335e9f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x335e9f[_0x2ba470(0x269)](_0x2ba470(0x3ba))&&_0x4c29cf[_0x2ba470(0x241)]['set'](_0x2ba470(0x3ba),_0x335e9f[_0x2ba470(0x269)](_0x2ba470(0x3ba))),_0x4c29cf[_0x2ba470(0x1b9)]();}async[_0x4b1c64(0x312)](){const _0x1723a8=_0x4b1c64;var _0x4c8071,_0x8c76a7,_0x2264aa;const _0x4e2468=this['_configService'][_0x1723a8(0x1ef)](_0xf9b925[_0x1723a8(0x2a9)]),_0x4a97ca=(_0x4c8071=_0x4e2468==null?void 0x0:_0x4e2468[_0x1723a8(0x374)])!=null?_0x4c8071:_0xf9b925['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x2264aa=(_0x8c76a7=(await this[_0x1723a8(0x221)][_0x1723a8(0x269)](_0x4a97ca,{'headers':{'Content-Type':_0x1723a8(0x1ff)}}))[_0x1723a8(0x2a4)])==null?void 0x0:_0x8c76a7[_0x1723a8(0x13f)])!=null?_0x2264aa:'';}},_0x49722f[_0x4b1c64(0x1fc)]=_0x415db8([_0x1d195c(0x0,_0x29c4b3[_0x4b1c64(0x247)](_0x29c4b3[_0x4b1c64(0x283)])),_0x1d195c(0x1,_0x29c4b3[_0x4b1c64(0x247)](_0x393968['HTTPService'])),_0x1d195c(0x2,_0x29c4b3[_0x4b1c64(0x151)]),_0x1d195c(0x3,_0x29c4b3[_0x4b1c64(0x342)]),_0x1d195c(0x4,_0x53c7bc[_0x4b1c64(0x136)])],_0x49722f[_0x4b1c64(0x1fc)]);const _0x326e0f=0x7530,_0x181f92=_0x4b1c64(0x1f2);class _0x496986 extends _0x29c4b3[_0x4b1c64(0x357)]{constructor(){const _0x383a17=_0x4b1c64;super(),_0x593db2(this,_0x383a17(0x2da),_0x29c4b3[_0x383a17(0x275)]()),_0x593db2(this,_0x383a17(0x1a0),new Set()),_0x593db2(this,'_unitOnClients',new Map()),_0x593db2(this,'_heartbeatTimer',null),_0x593db2(this,_0x383a17(0x2c4),new Map()),_0x593db2(this,_0x383a17(0x279),new Map()),this[_0x383a17(0x3b8)]();}[_0x4b1c64(0x1d7)](){const _0x1391b1=_0x4b1c64;super[_0x1391b1(0x1d7)](),this['_clearOtherTimers'][_0x1391b1(0x39a)]((_0x3b64bd,_0x4f8260)=>this['_removeClearOtherTimer'](_0x4f8260)),this[_0x1391b1(0x168)]&&window[_0x1391b1(0x134)](this[_0x1391b1(0x168)]);}[_0x4b1c64(0x2e8)](_0x2da8f1){const _0x5b4937=_0x4b1c64;return this['_ensureSubject'](_0x2da8f1)[_0x5b4937(0x37f)](_0x5cdc95[_0x5b4937(0x20f)]());}[_0x4b1c64(0x1d8)](_0x1e92a0){const _0x58d53e=_0x4b1c64;this['_selfUnitIDs'][_0x58d53e(0x1b0)]===0x0&&this['_scheduleHeartbeat'](),this[_0x58d53e(0x1a0)][_0x58d53e(0x12f)](_0x1e92a0),this[_0x58d53e(0x35b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1e92a0],'isForwarded':!0x1});}[_0x4b1c64(0x3b6)](_0x13da2e){const _0x42e7cf=_0x4b1c64;this[_0x42e7cf(0x1a0)][_0x42e7cf(0x138)](_0x13da2e),this[_0x42e7cf(0x1a0)][_0x42e7cf(0x1b0)]===0x0&&this['_heartbeatTimer']&&window[_0x42e7cf(0x134)](this[_0x42e7cf(0x168)]);}[_0x4b1c64(0x3b8)](){const _0x333e0f=_0x4b1c64;this['disposeWithMe'](_0x29c4b3[_0x333e0f(0x1ed)](_0x5cdc95[_0x333e0f(0x322)](window,'storage')['subscribe'](_0x27527c=>{const _0x5ba8e8=_0x333e0f;if(_0x27527c[_0x5ba8e8(0x354)]!==_0x181f92||!_0x27527c[_0x5ba8e8(0x231)])return;const _0x4c5e85=JSON['parse'](_0x27527c[_0x5ba8e8(0x231)]);this[_0x5ba8e8(0x31e)](_0x4c5e85);}))),window[_0x333e0f(0x202)](_0x333e0f(0x378),()=>this['_send']({'type':0x1,'memberID':this[_0x333e0f(0x2da)],'unitIDs':Array[_0x333e0f(0x1e5)](this[_0x333e0f(0x1a0)])}));}[_0x4b1c64(0x31e)](_0x4f03b1){const _0x4f4bb1=_0x4b1c64;switch(_0x4f03b1['type']){case 0x0:this[_0x4f4bb1(0x160)](_0x4f03b1);break;case 0x1:this[_0x4f4bb1(0x141)](_0x4f03b1);break;case 0x2:this[_0x4f4bb1(0x179)](_0x4f03b1);break;}}['_handleJoinEvent'](_0x2b832d){const _0x1f6cd0=_0x4b1c64,{unitIDs:_0x475a00,memberID:_0x42593c,isForwarded:_0x599971}=_0x2b832d;_0x475a00[_0x1f6cd0(0x39a)](_0x23609e=>{const _0x3f8d6b=_0x1f6cd0;if(!_0x599971&&this[_0x3f8d6b(0x1f8)][_0x3f8d6b(0x14d)](_0x23609e)&&this[_0x3f8d6b(0x15d)](_0x23609e)[_0x3f8d6b(0x2d4)](_0xf9b925[_0x3f8d6b(0x2a3)]['OTHER_CLIENTS_EDITING']),!this[_0x3f8d6b(0x1f8)][_0x3f8d6b(0x14d)](_0x23609e)||!this[_0x3f8d6b(0x1f8)][_0x3f8d6b(0x269)](_0x23609e)['has'](_0x42593c)){const _0x49d936=this[_0x3f8d6b(0x1f8)][_0x3f8d6b(0x269)](_0x23609e)||new Set();_0x49d936[_0x3f8d6b(0x12f)](_0x42593c),this['_unitOnClients'][_0x3f8d6b(0x340)](_0x23609e,_0x49d936),this[_0x3f8d6b(0x2c2)](_0x42593c);}}),_0x599971||this[_0x1f6cd0(0x35b)]({'type':0x0,'memberID':this[_0x1f6cd0(0x2da)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4b1c64(0x2c2)](_0x43b65e){const _0x31a64e=_0x4b1c64;this[_0x31a64e(0x1eb)](_0x43b65e);const _0x2b90c3=window[_0x31a64e(0x35f)](()=>{const _0x27ca3e=_0x31a64e;this['_unitOnClients'][_0x27ca3e(0x39a)](_0x6ff9c=>{_0x6ff9c['delete'](_0x43b65e);});},_0x326e0f*0x2);this[_0x31a64e(0x2c4)][_0x31a64e(0x340)](_0x43b65e,_0x2b90c3);}[_0x4b1c64(0x1eb)](_0x17ddac){const _0x3c49eb=_0x4b1c64;if(this[_0x3c49eb(0x2c4)][_0x3c49eb(0x14d)](_0x17ddac)){const _0x5893ce=this['_clearOtherTimers'][_0x3c49eb(0x269)](_0x17ddac);_0x5893ce&&window[_0x3c49eb(0x2f3)](_0x5893ce),this['_clearOtherTimers'][_0x3c49eb(0x340)](_0x17ddac,null);}}[_0x4b1c64(0x141)](_0x4cb918){const _0x1580ae=_0x4b1c64,{memberID:_0x42fab5,unitIDs:_0x48192a}=_0x4cb918;_0x48192a['forEach'](_0x2a5bc7=>{const _0x29d1a3=_0x3c28;var _0x197cdd;const _0x57788c=this[_0x29d1a3(0x1f8)][_0x29d1a3(0x269)](_0x2a5bc7);_0x57788c&&(_0x57788c[_0x29d1a3(0x138)](_0x42fab5),(_0x197cdd=this[_0x29d1a3(0x15d)](_0x2a5bc7))==null||_0x197cdd[_0x29d1a3(0x2d4)](_0x57788c['size']===0x0?_0xf9b925['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0xf9b925[_0x29d1a3(0x2a3)][_0x29d1a3(0x376)]));}),this[_0x1580ae(0x1eb)](_0x42fab5);}[_0x4b1c64(0x179)](_0x492cb0){const _0x1110c4=_0x4b1c64;this[_0x1110c4(0x2c2)](_0x492cb0[_0x1110c4(0x220)]);}[_0x4b1c64(0x35b)](_0x32b6f1){const _0x5ef7e4=_0x4b1c64;localStorage[_0x5ef7e4(0x33f)](_0x181f92,JSON['stringify'](_0x32b6f1));}[_0x4b1c64(0x152)](){const _0x373f1f=_0x4b1c64;this[_0x373f1f(0x168)]=window[_0x373f1f(0x2fd)](()=>{const _0x4d0071=_0x373f1f;this[_0x4d0071(0x35b)]({'type':0x2,'memberID':this[_0x4d0071(0x2da)]});},_0x326e0f);}[_0x4b1c64(0x15d)](_0xe61b54){const _0x4016f0=_0x4b1c64;return this[_0x4016f0(0x279)][_0x4016f0(0x14d)](_0xe61b54)||this[_0x4016f0(0x279)][_0x4016f0(0x340)](_0xe61b54,new _0x5cdc95[(_0x4016f0(0x2b8))](_0xf9b925['UnitStatus'][_0x4016f0(0x2f1)])),this[_0x4016f0(0x279)][_0x4016f0(0x269)](_0xe61b54);}}var _0xa9bf15=(_0x4affea=>(_0x4affea[_0x4affea['UNDEFINED']=0x0]=_0x4b1c64(0x293),_0x4affea[_0x4affea['OK']=0x1]='OK',_0x4affea[_0x4affea[_0x4b1c64(0x19b)]=0x2]=_0x4b1c64(0x19b),_0x4affea[_0x4affea[_0x4b1c64(0x21b)]=0x3]=_0x4b1c64(0x21b),_0x4affea[_0x4affea[_0x4b1c64(0x2ef)]=0x4]=_0x4b1c64(0x2ef),_0x4affea[_0x4affea[_0x4b1c64(0x32f)]=0x5]=_0x4b1c64(0x32f),_0x4affea[_0x4affea[_0x4b1c64(0x298)]=0x6]='ALREADY_EXISTS',_0x4affea[_0x4affea[_0x4b1c64(0x285)]=0x7]=_0x4b1c64(0x285),_0x4affea[_0x4affea[_0x4b1c64(0x365)]=0x8]=_0x4b1c64(0x365),_0x4affea[_0x4affea[_0x4b1c64(0x147)]=0x9]='COMPLETION_FINISHED',_0x4affea[_0x4affea[_0x4b1c64(0x1d0)]=0xa]=_0x4b1c64(0x1d0),_0x4affea[_0x4affea[_0x4b1c64(0x20e)]=0x1389]=_0x4b1c64(0x20e),_0x4affea[_0x4affea['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4affea[_0x4affea['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4b1c64(0x21a),_0x4affea[_0x4affea[_0x4b1c64(0x28d)]=0x1773]=_0x4b1c64(0x28d),_0x4affea[_0x4affea[_0x4b1c64(0x13b)]=0x1b59]=_0x4b1c64(0x13b),_0x4affea[_0x4affea[_0x4b1c64(0x17e)]=0x1b5a]=_0x4b1c64(0x17e),_0x4affea[_0x4affea[_0x4b1c64(0x282)]=0x1b5b]=_0x4b1c64(0x282),_0x4affea[_0x4affea[_0x4b1c64(0x31d)]=0x1b5c]=_0x4b1c64(0x31d),_0x4affea[_0x4affea[_0x4b1c64(0x250)]=0x1b5d]=_0x4b1c64(0x250),_0x4affea[_0x4affea[_0x4b1c64(0x292)]=0x1f41]=_0x4b1c64(0x292),_0x4affea[_0x4affea[_0x4b1c64(0x31f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4affea[_0x4affea[_0x4b1c64(0x359)]=0x232a]=_0x4b1c64(0x359),_0x4affea[_0x4affea[_0x4b1c64(0x2fe)]=0x232b]=_0x4b1c64(0x2fe),_0x4affea[_0x4affea['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4b1c64(0x25b),_0x4affea[_0x4affea[_0x4b1c64(0x15f)]=0x232d]=_0x4b1c64(0x15f),_0x4affea[_0x4affea['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4b1c64(0x2fb),_0x4affea[_0x4affea[_0x4b1c64(0x2e2)]=0x2712]=_0x4b1c64(0x2e2),_0x4affea[_0x4affea[_0x4b1c64(0x2de)]=0x2713]=_0x4b1c64(0x2de),_0x4affea[_0x4affea[_0x4b1c64(0x22e)]=0x2714]=_0x4b1c64(0x22e),_0x4affea[_0x4affea['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4b1c64(0x295),_0x4affea[_0x4affea[_0x4b1c64(0x143)]=0x271b]=_0x4b1c64(0x143),_0x4affea[_0x4affea[_0x4b1c64(0x358)]=0x2af9]=_0x4b1c64(0x358),_0x4affea[_0x4affea['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4b1c64(0x162),_0x4affea[_0x4affea['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x4affea[_0x4affea[_0x4b1c64(0x383)]=0x2ee3]=_0x4b1c64(0x383),_0x4affea[_0x4affea['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4b1c64(0x3a2),_0x4affea[_0x4affea[_0x4b1c64(0x2a0)]=0x2ee5]=_0x4b1c64(0x2a0),_0x4affea[_0x4affea[_0x4b1c64(0x260)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4affea[_0x4affea['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4b1c64(0x3a9),_0x4affea[_0x4affea[_0x4b1c64(0x1ee)]=0x32cb]=_0x4b1c64(0x1ee),_0x4affea[_0x4affea['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4affea))(_0xa9bf15||{}),_0x332cb2=Object[_0x4b1c64(0x39e)],_0x23c571=(_0x16e158,_0x19abf3,_0x51f29a,_0x2646d6)=>{const _0x5ebc6f=_0x4b1c64;for(var _0x2ea23a=_0x2646d6>0x1?void 0x0:_0x2646d6?_0x332cb2(_0x19abf3,_0x51f29a):_0x19abf3,_0x2438d6=_0x16e158[_0x5ebc6f(0x3ab)]-0x1,_0x36c03c;_0x2438d6>=0x0;_0x2438d6--)(_0x36c03c=_0x16e158[_0x2438d6])&&(_0x2ea23a=_0x36c03c(_0x2ea23a)||_0x2ea23a);return _0x2ea23a;},_0x483e64=(_0xdff22d,_0x1d0f40)=>(_0x2c110f,_0x441abb)=>_0x1d0f40(_0x2c110f,_0x441abb,_0xdff22d);_0x49722f[_0x4b1c64(0x1cb)]=class extends _0x29c4b3[_0x4b1c64(0x357)]{constructor(_0x2192ea,_0x168375,_0x22c811){const _0x1cf12a=_0x4b1c64;super(),this[_0x1cf12a(0x38b)]=_0x2192ea,this['_httpService']=_0x168375,this[_0x1cf12a(0x1af)]=_0x22c811;}async[_0x4b1c64(0x2d3)](_0x45319e,_0x47980a,_0x991fdd,..._0x304b20){const _0xd0d572=_0x4b1c64;var _0x6c7cc,_0xb10c8f,_0x3bccd5,_0x1037d1;const _0x5223ae=this['_instanceService']['getFocusedUnit']();if(!_0x5223ae)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5d0298=((_0x6c7cc=this[_0xd0d572(0x1af)][_0xd0d572(0x1ef)](_0xf9b925[_0xd0d572(0x211)]))!=null?_0x6c7cc:_0xf9b925[_0xd0d572(0x33c)])+'/'+_0x45319e+_0xd0d572(0x2bc)+_0x47980a,_0x565289=new URL(window[_0xd0d572(0x1f5)][_0xd0d572(0x1ca)]),_0x21a009={'scriptId':_0x45319e,'runId':(_0xb10c8f=_0x565289[_0xd0d572(0x241)]['get'](_0xd0d572(0x3ba)))!=null?_0xb10c8f:'','function':_0x47980a,'unitId':_0x5223ae[_0xd0d572(0x14a)](),'argsOfFunction':JSON[_0xd0d572(0x2ba)](_0x304b20),'invokeId':(_0x3bccd5=_0x991fdd['invokeId'])!=null?_0x3bccd5:'','executionId':(_0x1037d1=_0x991fdd[_0xd0d572(0x18e)])!=null?_0x1037d1:''};try{const _0x576f52=await this[_0xd0d572(0x221)][_0xd0d572(0x2b1)](_0x5d0298,{'body':_0x21a009});return _0x576f52['body'][_0xd0d572(0x2c6)]&&_0x576f52[_0xd0d572(0x2a4)][_0xd0d572(0x2c6)][_0xd0d572(0x1d1)]!==_0xa9bf15['OK']?'Failed':_0x576f52[_0xd0d572(0x2a4)]['result'];}catch{return _0xd0d572(0x2a8);}}},_0x49722f[_0x4b1c64(0x1cb)]=_0x23c571([_0x483e64(0x0,_0x29c4b3[_0x4b1c64(0x1d3)]),_0x483e64(0x1,_0x29c4b3['Inject'](_0x393968[_0x4b1c64(0x2fc)])),_0x483e64(0x2,_0x29c4b3['IConfigService'])],_0x49722f[_0x4b1c64(0x1cb)]),_0x49722f[_0x4b1c64(0x14f)]=_0xdda0fa,_0x49722f[_0x4b1c64(0x327)]=_0x51a84b,_0x49722f['SheetCollabCursorShape']=_0x245ec7,_0x49722f['WebBrowserSingleActiveUnitService']=_0x496986,_0x49722f[_0x4b1c64(0x351)]=_0x2d55e2,Object[_0x4b1c64(0x286)](_0x49722f,Symbol[_0x4b1c64(0x15b)],{'value':'Module'});}));function _0x3c28(_0x2f6daa,_0x53e7aa){const _0x5a2ef1=_0x5a2e();return _0x3c28=function(_0x3c2872,_0x46fe2a){_0x3c2872=_0x3c2872-0x123;let _0x21db77=_0x5a2ef1[_0x3c2872];return _0x21db77;},_0x3c28(_0x2f6daa,_0x53e7aa);}function _0x5a2e(){const _0xad5bfa=['moveTo','UniverSheets','onCommandExecuted','CollaborationUIEventService','_docTransformStateCacheService','createElement','setStateCache','0\x200\x2016\x2016','transform','_getSessionTicket','UNIVER_DOC','_syncEditingCollabCursorService','DOC_RANGE_TYPE','exports','fillText','xlink:href','idSuffix','MessageType','sessionStatus$','hide','APPLY_PERMISSION_DENIED','_handleEvent','LICENSE_MAX_UNITS_EXCEEDED','_startDocCollabCursor','20WeYHUs','fromEvent','getTypeOfUnitDisposed$','Shape','JOIN_ROOM_FAILED','_getScale','IURLService','registerComponent','SUBMIT_CHANGESET_TIMEOUT','transformSelections','getDocRanges','_docTransformSelectionsService','UPDATE_CURSOR','_document','UNAUTHENTICATED','UniverProCollaborationClientUi','NOT_COLLAB','width','Unknown\x20user','_color','takeUntil','subUnitId','UniverNetwork','INotificationService','forwardRef','_drawTextRange','on-line-single','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getCurrent','addObjects','setItem','set','loadUnit','ILogService','_docClipboardService','422571nzLQOi','transformStateCache','indexOf','_dataLoaderService','getAncestorScale','init','SetSelectionsOperation','extend','fillStyle','type','_localStorageService','transformIMECache','tag','WebURLService','collabStatus.offline','getMemberID','key','updateOfflineData','roomMembers$','Disposable','PY_RUNTIME_SCRIPT_ERROR','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','override','_send','8CSnxxJ','_cachedData','@univerjs/design','setTimeout','all','gold400','hovered','then','collab-text-anchor-','TOO_MANY_REQUESTS','handleIRemoveRow','getVpScrollXYInfoByPosToVp','column','disableLocalCache','RegularPolygon','[CollaborationDataLoaderController]','_lastPointer','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','icon','isTransformMutationFailure','375FekbUo','_online','_docTransformIMECacheService','endRow','wsSessionTicketUrl','concat','OTHER_CLIENTS_EDITING','onLocalMutation','unload','17058adeUsI','handleInsertRangeMoveRight','restore','current','isActive','_updateLocalCursor','pipe','_refreshCollabCursors','undoState','isArray','INVITE_CODE_REQUIRED','#fff','actions','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collab-rect-range-','setAlpha','rxjs','roomMembers','_instanceService','getStateCache','startColumn','random','off-line-single_clip0_910_343','_colorAssignService','getActiveRange','assignAColorForMemberID','blue400','handleDeleteRangeMoveLeft','getCurrentSelections','_collabCursorController','createInstance','round','lineTo','forEach','color','shareReplay','findNodePositionByCharIndex','getOwnPropertyDescriptor','touchDependencies','_handleHover','_initStatusComponent','USER_NOT_INVITED_CODE','svg','_initDependencies','CONFLICT','CollaborationController','_commandService','mutations','MOBILE_HAS_BEEN_BOUND','getViewport','length','_initEvent','_scheduleSaving','_removeCollabCursors','pushState','row','Error','red300','SheetsSelectionsService','EffectRefRangId','mergeOverrideWithDependencies','disposeUnit','_docSkeletonManagerService','_init','save','runId','name','81784VaydDQ','onPointerEnter$','_transformUndoRedoStack','_toggleOnline','defIds','session.will-retry','filter','setActiveRange','_notificationService','handleInsertRow','unitID','add','getSheetId','find','getParam','UniverCollaborationClientUIPlugin','clearInterval','441gqgESc','ISnapshotServerService','_backgroundColor','delete','_cursorShapes','clsx','APPLY_REJECT','subscribeEvent','getCurrentRevOfUnit','getMergeData','ticket','debounce','_handleLeaveEvent','_logService','YUUMI_ASYNCIO_CANCELLED','session.connection-failed','CollaborationUIEventId','_anchor','COMPLETION_FINISHED','SheetSkeletonManagerService','string','getUnitId','addHandlerCallback','TEXT','has','endColumn','CollaborationStatusDisplay','RxDisposable','IConfigService','_scheduleHeartbeat','currentTheme$','OnLineSingle','show','_toggleOffline','DocIMEInputManagerService','translate(.97)','SetTextSelectionsOperation','DocSkeletonManagerService','toStringTag','UniverEngineFormula','_ensureSubject','ONLINE','LICENSE_DISTRO_REJECTED','_handleJoinEvent','COLORS','INVITE_CODE_HAS_BEEN_UES','status$','LocaleService','_status$','flatMap','subunit','_heartbeatTimer','UniverSheetsUi','useObservable','setShapeProps','registerDependencies','_refRangeService','children','range','engine','enableLocalCache','@univerjs/engine-formula','_cursorInfo$','_startSheetCollabCursor','div','text','replace','collaboration.single-unit.warning','_handleHeartbeatEvent','displayName','getCollabCursors$','OffLineSingle','@univerjs/drawing','APPLY_NON_SEQUENTIAL_REVISION','object','_revisionService','ILocalStorageService','AWAITING_WITH_PENDING','unit','MUTATION','propertyIsEnumerable','_initResize','send','RefRangeService','Plugin','prototype','getActiveSheet','permission.title','resize','executionId','SetWorksheetActivateCommand','syncEditingCollabCursor','operators','call','0\x200\x2017\x2016','_docSyncEditingCollabCursorService','_transformService','_injector','collab-text-range-','registerBeforeClose','evenodd','getUniverSheetInstance','INTERNAL_ERROR','fillRule','ITransformService','Rect','1em','_selfUnitIDs','ranges','values','_config','unsubscribe','_drawAnchor','_getAnchorBounding','_setupSubUnitSync','collabCursorState$','transformRemoteChangeset','popstate','LOCAL_CACHE_INTERVAL','@univerjs/docs','disposeWithMe','M0\x200H16V16H0z','_configService','size','univerjs-icon\x20univerjs-icon-','TRANSFORM_CHANGE_OBSERVABLE_TYPE','unitId','params','handleInsertCol','replaceState','_localCacheService','IDocClipboardService','toString','with','_anchorDot','ThemeService','addObject','url(#$1','_beforeCloseService','SetDocZoomRatioOperation','onStarting','OFFLINE','getUndoRedoMutationParamsCache','none','m1Prime','DeleteRangeMoveLeftCommandId','skeleton','Rectangle','saveImage','href','RemoteUniscriptService','_initStatusListener','closePath','mapTo','_saveTaskMap','LOGIN_FAILED','code','_drawRectRange','IUniverInstanceService','assign','subscribe','_updateCollabCursors','dispose','editingUnit','TEXT_RANGE_LAYER_INDEX','amd','_session','registerRenderModule','event$','defs','attrs','_onCursorUpdate','NodePositionConvertToRectRange','_univerInstanceService','FETCH_MISS','getLocalCacheKey','from','_getSheetObject','addClipboardHook','hasOwnProperty','react','CollaborationSocketService','_removeClearOtherTimer','CLOSE_ROOM','toDisposable','EMAIL_HAS_BEEN_BOUND','getConfig','getCellPositionByOffset','MoveRangeCommandId','ACTIVE_UNIT_EVENT_CHANNEL','getFocusedUnit','history','location','measureText','currentColor','_unitOnClients','react/jsx-runtime','CollaborationDataLoaderController','function','BrowserCollaborationSocketService','getSheetObject','_registerRenderDependencies','application/json','deepClone','@univerjs/sheets','addEventListener','getRelativeToViewportCoord','_initCommandExecutedListener','_collabCursorState$','UniverDesign','_docStateChangeManagerService','_themeService','permission.content','black','mask','max','ICommandService','CHANGESET_REVISION_CONFILICT','distinctUntilChanged','InsertRowCommandId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_updateURLWithCurrentState','UniverCollaborationClientPlugin','combineLatest','m2Prime','_hover','top','jiqing500','pluginName','SNAPSHOT_HAS_BEEN_REMOVED','PERMISSION_DENIED','beginPath','CollaborationSessionService','ColorKit','purple300','memberID','_httpService','InsertRangeMoveDownCommandId','getColor','getItem','switchMap','_transformHistoryAndStateStack','univer-text-green-500','UniverDocsUi','split','startsWith','_localeService','clipPath','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','YUUMI_SUBSCRIPTION_NOT_FOUND','_transformPreviousActiveRange','_hideTimer','newValue','bottom','_memberService','isTransformMutationsWithChangesetSuccess','cursorInfo$','map','entityInit$','CollaborationEvent','_getSaveTimeout','apply','_labelPosition','SYNCED','SOCKET_FAILED','focused$','_updateSubUnitFromURLParams','_messageService','searchParams','RemoveColCommandId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','selection','_createSocketURL','activeSheet$','Inject','executeCommand','handleDeleteRangeMoveUp','React','@univerjs/core','_getMergeRange','@univerjs-pro/collaboration','onPointerLeave$','unshift','APPLY_DUPLICATED','3788519xlyZkK','collabStatus.conflict','_disabled','debounceTime','complete','Tools','_doCreateSocket','exhaustSavingTask','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_assignedColors','LICENSE_EXPORT_SIZE_EXCEEDED','rgba(255,\x20255,\x20255,\x200.01)','sheetID','getCurrentUnitForType','IBeforeCloseService','WECHAT_HAS_BEEN_BOUND','push','2076760lZZDtQ','isEditing','IMessageService','getRenderById','setConfig','@univerjs/engine-render','jsxs','get','RECT','6700837kEVWJR','_range','collabStatus.notCollab','UniverCore','fromEventSubject','drawWith','CollaborationStatus','UniverRpc','cursorInfo','SOCKET_FAILED_RETRY','generateRandomId','_eventUnsubscribe','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','doc.mutation.rich-text-editing','_unitStatus','@univerjs/ui','selections','fill','dispose$','_setupBeforeClosingHandler','UniverUi','_cursor','whenReady','APPLY_REVISION_CONFILICT','Injector','createIdentifier','INVALID_ARGUMENT','defineProperty','_shapes','getRangePointData','createSocket','setParam','getSkeleton','session.collaboration-timeout','ENSURE_SNAPSHOT_EXECUTION','_entities','@univerjs/network','DocStateChangeManagerService','_entityInit$','CONNECTOR_DATA_TOO_LARGE','UNDEFINED','DependentOn','YUUMI_NO_CUBOID_FOR_QUESTION','_sheetSkeletonManagerService','UniverDrawing','ALREADY_EXISTS','DisposableCollection','SessionStatus','_cursors','useDependency','onRendered','_colorIndex','urlChange$','INVITE_CODE_ALREADY_BOUND','UniverEngineRender','Warning','UnitStatus','body','transformMutationsWithChangeset','_collabSessionService','connectInjector','Failed','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_context','_onCursorDelete','arc','_initEntityListener','getValue','_imageIoService','_roomMembers$','post','some','univer-flex\x20univer-items-center','saveTaskMap','on-line-single_clip0_910_349','toRgbString','replaceDocRanges','BehaviorSubject','font','stringify','trim','/run/','requireSession','height','collaboration-client-ui.config','_textBubble','BuiltInUIPart','_scheduleClearOtherTimer','FromArray','_clearOtherTimers','symbol','error','Vector2','_urlService','...','_collaborationController','textRanges','getUnhiddenWorksheets','UNIVER_SHEET','off-line-single','collaboration.closeRoom','UniverInstanceType','Optional','docStateChange$','runOnServer','next','collab-client.tooltip.reconnect','@univerjs-pro/collaboration-client','labelPosition','origin','getCoordByCell','_id','substring','_hovered','data','YUUMI_RATE_OVER_LIMIT','Subject','min','debug','YUUMI_URL_COL_OUT_OF_RANGE','Tooltip','DocSelectionManagerService','collabStatus.syncing','_scene','@univerjs/sheets-ui','getUnitStatus$','_saveCache','path','_registerDependencies','asObservable','_onRefRangeChange','className','NOT_FOUND','eventID','NO_OTHER_CLIENTS_EDITING','_name','clearTimeout','makeDirty','getTypeOfUnitAdded$','registerRefRange','colorChannel1','getSheetBySheetId','_collaborationUIEventService','getMember','YUUMI_UNABLE_LOAD_URL','HTTPService','setInterval','LICENSE_IMPORT_SIZE_EXCEEDED','DesktopCollaborationStatusDisplayController','_uiPartsService','verdancy600','_renderManagerService','IUIPartsService','USERS_LEAVE','jsx','transformMutation','ILocalCacheService','144590OWgdLN'];_0x5a2e=function(){return _0xad5bfa;};return _0x5a2e();}