@univerjs-pro/collaboration-client-ui 0.6.2 → 0.6.3-nightly.202503041606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x221cd2=_0x5bc5;function _0x4242(){const _0x1f2436=['runOnServer','9099930qqvRjm','67hexffS','516867QYpOmJ','1475OQHnlH','23668106fudfhL','extend','3054weWwWM','RemoteUniscriptService','9808100NmPvZX','@univerjs/core/facade','24ljIKHY','_injector','FUniver','get','54jpHyYZ','976376DeaBKQ','37326lXhcFM'];_0x4242=function(){return _0x1f2436;};return _0x4242();}(function(_0x2fc3eb,_0x5d4d44){const _0x5e78e2=_0x5bc5,_0x4117a2=_0x2fc3eb();while(!![]){try{const _0x4b1e6d=-parseInt(_0x5e78e2(0xb0))/0x1*(parseInt(_0x5e78e2(0xad))/0x2)+-parseInt(_0x5e78e2(0xb1))/0x3*(parseInt(_0x5e78e2(0xa7))/0x4)+-parseInt(_0x5e78e2(0xb2))/0x5*(parseInt(_0x5e78e2(0xa3))/0x6)+parseInt(_0x5e78e2(0xaf))/0x7+-parseInt(_0x5e78e2(0xac))/0x8*(-parseInt(_0x5e78e2(0xab))/0x9)+-parseInt(_0x5e78e2(0xa5))/0xa+parseInt(_0x5e78e2(0xb3))/0xb;if(_0x4b1e6d===_0x5d4d44)break;else _0x4117a2['push'](_0x4117a2['shift']());}catch(_0x233686){_0x4117a2['push'](_0x4117a2['shift']());}}}(_0x4242,0xbbb1e));const t=require('@univerjs-pro/collaboration-client-ui'),e=require(_0x221cd2(0xa6));class c extends e['FUniver']{['runOnServer'](_0x17ce57,_0x8a7da5,..._0xf66daf){const _0x57aed7=_0x221cd2;return this[_0x57aed7(0xa8)][_0x57aed7(0xaa)](t[_0x57aed7(0xa4)])[_0x57aed7(0xae)](_0x17ce57,_0x8a7da5,{},..._0xf66daf);}}function _0x5bc5(_0x16ab12,_0xefe8cf){const _0x4242f6=_0x4242();return _0x5bc5=function(_0x5bc5ee,_0x1c1528){_0x5bc5ee=_0x5bc5ee-0xa2;let _0x10a172=_0x4242f6[_0x5bc5ee];return _0x10a172;},_0x5bc5(_0x16ab12,_0xefe8cf);}e[_0x221cd2(0xa9)][_0x221cd2(0xa2)](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x32202a=_0x5c33;(function(_0x395158,_0x1bf25d){const _0x552d3b=_0x5c33,_0x2d4571=_0x395158();while(!![]){try{const _0x17532f=-parseInt(_0x552d3b(0x33f))/0x1*(parseInt(_0x552d3b(0x18e))/0x2)+parseInt(_0x552d3b(0x1d0))/0x3+-parseInt(_0x552d3b(0xed))/0x4+parseInt(_0x552d3b(0x251))/0x5+-parseInt(_0x552d3b(0x2a7))/0x6*(parseInt(_0x552d3b(0x2c8))/0x7)+-parseInt(_0x552d3b(0xe8))/0x8*(parseInt(_0x552d3b(0x133))/0x9)+-parseInt(_0x552d3b(0x293))/0xa*(-parseInt(_0x552d3b(0x12d))/0xb);if(_0x17532f===_0x1bf25d)break;else _0x2d4571['push'](_0x2d4571['shift']());}catch(_0x474646){_0x2d4571['push'](_0x2d4571['shift']());}}}(_0x44b2,0x8441e));var Ve=Object[_0x32202a(0x12e)],Ge=(_0x343f90,_0x558668,_0x2e6d70)=>_0x558668 in _0x343f90?Ve(_0x343f90,_0x558668,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e6d70}):_0x343f90[_0x558668]=_0x2e6d70,h=(_0x327097,_0x1b5dda,_0x3e3ca5)=>Ge(_0x327097,typeof _0x1b5dda!=_0x32202a(0x10a)?_0x1b5dda+'':_0x1b5dda,_0x3e3ca5);Object[_0x32202a(0x12e)](exports,Symbol['toStringTag'],{'value':_0x32202a(0xe6)});const u=require(_0x32202a(0x2f0)),a=require(_0x32202a(0x281)),p=require(_0x32202a(0x128)),q=require('@univerjs/network'),b=require(_0x32202a(0xde)),qe=require(_0x32202a(0x229)),d=require(_0x32202a(0x2e0)),Y=require(_0x32202a(0xe2)),m=require('@univerjs-pro/collaboration'),Te=require(_0x32202a(0x330)),I=require(_0x32202a(0x246)),$=require(_0x32202a(0x11a)),G=require('@univerjs/sheets-ui'),w=require(_0x32202a(0x25d)),R=require(_0x32202a(0x28c)),T=require(_0x32202a(0x151)),P=require(_0x32202a(0x1f3)),Ke=require('@univerjs/rpc');var ze=Object[_0x32202a(0x168)],Je=(_0x25813f,_0x1fc33c,_0x2d1b67,_0x303bef)=>{const _0x395bb1=_0x32202a;for(var _0x30fd42=_0x303bef>0x1?void 0x0:_0x303bef?ze(_0x1fc33c,_0x2d1b67):_0x1fc33c,_0x77af8=_0x25813f[_0x395bb1(0xc8)]-0x1,_0x4e71cf;_0x77af8>=0x0;_0x77af8--)(_0x4e71cf=_0x25813f[_0x77af8])&&(_0x30fd42=_0x4e71cf(_0x30fd42)||_0x30fd42);return _0x30fd42;},Re=(_0x10d788,_0x451c36)=>(_0x2eb114,_0xfa4655)=>_0x451c36(_0x2eb114,_0xfa4655,_0x10d788);function _0x44b2(){const _0x51b640=['DocSkeletonManagerService','height','mask','_initStatusListener','body','InsertRangeMoveRightCommandId','indexOf','univer-flex\x20univer-items-center','INotificationService','uni.network.url-service','SHEET_VIEWPORT_KEY','getValue','_unitOnClients','_localCacheService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','with','FETCH_MISS','on-line-single','eventID','SetWorksheetActivateCommand','getConfig','unload','_online','_initDependencies','RemoveRowCommandId','CollaborationUIEventService','@univerjs/core','Vector2','then','location','APPLY_NON_SEQUENTIAL_REVISION','_registerDependencies','CONFLICT','measureText','row','_getSessionTicket','evenodd','@univerjs/ui','_docTransformSelectionsService','onlineStatus','save','subUnitId','session.collaboration-timeout','createElement','17157990GozTUJ','useObservable','_collabCursorState$','getActiveRange','_saveTaskMap','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SOCKET_FAILED_RETRY','getCurrentUnitForType','top','labelPosition','getFocusedUnit','_selfUnitIDs','TOO_MANY_REQUESTS','UniverIcon','map','_collaborationUIEventService','_anchorDot','_onCursorDelete','BuiltInUIPart','subscribe','3138QmtMmV','_cursor','_onRefRangeChange','TEXT_RANGE_LAYER_INDEX','roomMembers$','addObject','dispose','RECT','RefRangeService','createInstance','search','_imageIoService','_startDocCollabCursor','_createSocketURL','deepClone','_roomMembers$','_localeService','CollaborationUIEventId','_configService','skeleton','_collabCursorController','onPointerEnter$','NodePositionConvertToRectRange','ILogService','_scheduleSaving','_entityInit$','collab-client.tooltip.reconnect','getSheetObject','send','_cachedData','_memberService','_backgroundColor','_localStorageService','1834SZSNpa','getOffsetConfig','CollaborationSessionService','_unitStatus','_saveCache','redoState','ISocketService','getParam','transformStateCache','attrs','touchDependencies','history','random','_univerInstanceService','_cursors','_shapes','LICENSE_DISTRO_REJECTED','registerRefRange','href','rgba(255,\x20255,\x20255,\x200.01)','isActive','concat','getMember','...','rxjs','getUniverSheetInstance','subscribeEvent','transformRemoteChangeset','RichTextEditingMutation','isArray','_docStateChangeManagerService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','EffectRefRangId','min','UPDATE_CURSOR','onPointerMove$','_drawAnchor','SheetsSelectionsService','createSocket','activeSheet$','@univerjs-pro/collaboration-client','_messageService','urlChange$','_handleHover','session.connection-failed','roomMembers','addEventListener','ICommandService','_handleLeaveEvent','ColorKit','SYNCED','univer-offline','_transformPreviousActiveRange','_setupSubUnitSync','fromEventSubject','shareReplay','_updateLocalCursor','idSuffix','application/json','SUBMIT_CHANGESET_TIMEOUT','url(#on-line-single_clip0_910_349)','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','origin','propertyIsEnumerable','type','CONNECTOR_DATA_TOO_LARGE','getUndoRedoMutationParamsCache','stringify','searchParams','_toggleOffline','event$','_entities','getMemberID','actions','from','SOCKET_FAILED','_toggleOnline','getTypeOfUnitDisposed$','entries','filter','exhaustSavingTask','code','RxDisposable','useDependency','findNodePositionByCharIndex','debounceTime','_name','NOT_FOUND','InsertRowCommandId','sessionStatus$','YUUMI_UNABLE_LOAD_URL','substring','jsx','CLOSE_ROOM','univer-online','getVpScrollXYInfoByPosToVp','debug','CollaborationDataLoaderController','permission.title','M0\x200H16V16H0z','isTransformMutationsWithChangesetSuccess','collab-rect-range-','getUnitId','onTransformChange$','@univerjs/engine-formula','UNRECOGNIZED','unitId','reconnect','push','CollaborationStatus','_collaborationController','getCollabCursors$','WebSocketService','_colorIndex','memberID','onMouseMove','clipPath','use','m1Prime','1ZLXlnU','_commandService','subunit','getCurrentSelections','fillStyle','length','getLocalCacheKey','IConfigService','focused$','setUndoRedoMutationParamsCache','_drawRectRange','collaboration-client.offline-data-not-saved','apply','storage','YUUMI_URL_COL_OUT_OF_RANGE','_refRangeService','_session','IRenderManagerService','PENDING','Inject','_getScale','className','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','replaceDocRanges','color','_transformService','getTypeOfUnitAdded$','@univerjs/docs-ui','sheetId','error','COLORS','@univerjs/docs','getSheetBySheetId','round','_config','Module','popstate','4306424qptBvD','string','_handleJoinEvent','collabCursorState$','saveOfflineData','1596456NrPBnV','wsSessionTicketUrl','params','_getAnchorBounding','icon','_color','_labelPosition','registerDependencies','DOC_RANGE_TYPE','black','LICENSE_IMPORT_SIZE_EXCEEDED','collaboration.closeRoom','Subject','serializeRangeWithSheet','size','_removeClearOtherTimer','isTransformMutationFailure','svg','INVALID_ARGUMENT','resize','name','_docTransformIMECacheService','setConfig','_httpService','connectInjector','_handleHeartbeatEvent','takeUntil','YUUMI_SUBSCRIPTION_NOT_FOUND','_initResize','symbol','_injector','AWAITING','SessionStatus','none','on-line-single_clip0_910_349','translate(.97)','_onCursorUpdate','currentTheme$','transformMutation','currentSkeleton$','_hideTimer','CollaborationSocketService','APPLY_DUPLICATED','_refreshCollabCursors','Injector','rxjs/operators','verdancy600','UniverCollaborationClientUIPlugin','path','_handleEvent','split','unsubscribe','_getMergeRange','#fff','Failed','_colorAssignService','next','Disposable','values','@univerjs/engine-render','clearTimeout','INTERNAL_ERROR','1em','includes','11ikBJtI','defineProperty','UNIVER_DOC','runId','PERMISSION_DENIED','toRgbString','9eryNqQ','add','textRanges','OTHER_CLIENTS_EDITING','USERS_LEAVE','_uiPartsService','IBeforeCloseService','IDocClipboardService','APPLY_REJECT','CollaborationStatusDisplay','_collabSessionService','pushState','RemoteUniscriptService','_removeCollabCursors','getUnhiddenWorksheets','collab-text-anchor-','ONLINE','BehaviorSubject','_syncEditingCollabCursorService','hovered','TEXT','closePath','toDisposable','_initStatusComponent','all','ThemeService','status$','currentColor','_updateCollabCursors','0\x200\x2017\x2016','@univerjs/design','_disabled','throttleTime','show','deserializeRangeWithSheet','fromEvent','ALREADY_EXISTS','text','_dataLoaderService','DeleteRangeMoveUpCommandId','/run/','ITransformService','IUIPartsService','call','SheetSkeletonManagerService','unshift','updateOfflineData','prototype','_id','registerRenderModule','_range','collaboration-client-ui.config','_render','getOwnPropertyDescriptor','setInterval','getRangePointData','_instanceService','disableLocalCache','onlineStatusTitle','hide','ILocalStorageService','getColor','requireSession','Rect','DocStateChangeManagerService','replaceState','getUnitStatus$','entityInit$','removeParam','_docSkeletonManagerService','_eventUnsubscribe','_send','_hovered','_initCommandExecutedListener','_hover','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','NOT_COLLAB','_draw','_updateURLWithCurrentState','toString','doc.mutation.rich-text-editing','MoveRangeCommandId','_themeService','onCommandExecuted','addHandlerCallback','tag','mapTo','ILocalCacheService','DesktopCollaborationStatusDisplayController','arc','_startSheetCollabCursor','720924LelTka','_context','addClipboardHook','merge','drawWith','MessageType','editingUnit','column','selections','makeDirty','_getSaveTimeout','DisposableCollection','OTHER_CLIENT_EDITING','CollaborationController','collabStatus.notCollab','_initEntityListener','_setupBeforeClosingHandler','debounce','YUUMI_RATE_OVER_LIMIT','_notificationService','cursorInfo$','COMPLETION_FINISHED','_updateSubUnitFromURLParams','Tools','_cursorShapes','div','fillText','_lastPointer','SNAPSHOT_INVALID_SNAPSHOT','_renderManagerService','CHANGESET_REVISION_CONFILICT','unit','session.will-retry','_document','Warning','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationDataLoaderController]','ENSURE_SNAPSHOT_EXECUTION','m2Prime','get','invokeId','enableLocalCache','backgroundColor','DocCollaborationEntity','data','startColumn','_clearOtherTimers','handleDeleteRangeMoveLeft','collabStatus.fetchMiss','UNIVER_SHEET','_drawTextRange','extend','_beforeCloseService','saveTaskMap','children','collaboration.single-unit.warning','_textBubble','handleIRemoveCol','useCallback','permission.content','collab-text-range-','_docTransformStateCacheService','handleIRemoveRow','set','width','onLocalMutation','765108HjImKn','loadOfflineData','init','UNAUTHENTICATED','_init','selection','dispose$','setAlpha','pipe','UniverInstanceType','UnitStatus','getDocRanges','handleInsertRangeMoveDown','CollaborationEvent','collabStatus.syncing','getRenderById','Error','imageSourceType','_sheetSkeletonManagerService','current','_anchor','_ensureSubject','forwardRef','clsx','Rectangle','url(#off-line-single_clip0_910_343)','0\x200\x2016\x2016','generateRandomId','engine','defIds','collabStatus.conflict','univer-online-status-icon','_transformUndoRedoStack','ranges','key','react','CommandType','SetTextSelectionsOperation','getStateCache','SheetCollabCursorShape','url(#$1','getCurrentRevOfUnit','LOCAL_CACHE_INTERVAL','onlineStatusIcon','setShapeProps','getRelativeToViewportCoord','SetSelectionsOperation','flatMap','bottom','whenReady','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','setItem','disposeWithMe','PY_RUNTIME_SCRIPT_ERROR','endColumn','forEach','getCoordByCell','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','assign','_logService','getOwnPropertySymbols','IRemoteInstanceService','hasOwnProperty','[RemoteUniscriptService]:\x20no\x20focused\x20unit','range','moveTo','fill','docStateChange$','ticket','_scheduleHeartbeat','_scene','lineTo','trim','OFFLINE','DataLoaderService','_assignedColors','MemberService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','switchMap','jsxs','createIdentifier','getAncestorScale','HTTPService','DocSelectionManagerService','APPLY_PERMISSION_DENIED','UNDEFINED','contains','IUniverInstanceService','transformIMECache','@univerjs/drawing','executionId','univerjs-icon\x20univerjs-icon-','_urlService','delete','Shape','mutations','RevisionService','VIEW_MAIN','replace','InsertColCommandId','SNAPSHOT_HAS_BEEN_REMOVED','NO_OTHER_CLIENTS_EDITING','transform','asObservable','off-line-single_clip0_910_343','post','_initEvent','IMessageService','transformMutationsWithChangeset','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','colorChannel1','font','clearInterval','_revisionService','displayName','unitID','sessionTicket','red300','@univerjs/sheets','endRow','restore','BrowserCollaborationSocketService','_scheduleClearOtherTimer','WebURLService','setStateCache','_status$','_cursorInfo$','handleInsertRow','syncEditingCollabCursor','28980fZqYKS','offline','_docSyncEditingCollabCursorService','has','loadUnit','handleInsertCol','onStarting','getSheetId','LICENSE_MAX_UNITS_EXCEEDED','DocIMEInputManagerService','source','complete','react/jsx-runtime','cursorInfo','undoState','#FFF','xlink:href','getSkeleton','_heartbeatTimer','handleMoveRange','distinctUntilChanged','AWAITING_WITH_PENDING'];_0x44b2=function(){return _0x51b640;};return _0x44b2();}let fe=class extends a[_0x32202a(0x31a)]{constructor(_0xda1193,_0x50e679){const _0x1b281c=_0x32202a;super(),this['_docClipboardService']=_0xda1193,this[_0x1b281c(0x2b2)]=_0x50e679,this[_0x1b281c(0x1d4)]();}[_0x32202a(0x1d4)](){const _0x3a4c7c=_0x32202a,_0x5bafff=this;this['disposeWithMe'](this['_docClipboardService'][_0x3a4c7c(0x190)]({'onBeforePasteImage':async _0x8dbd7d=>{const _0x390a59=_0x3a4c7c,_0x26a604=await _0x5bafff[_0x390a59(0x2b2)]['saveImage'](_0x8dbd7d);return _0x26a604?{'source':_0x26a604[_0x390a59(0x25b)],'imageSourceType':_0x26a604[_0x390a59(0x1e1)]}:null;}}));}};function _0x5c33(_0x61d60e,_0x2f743d){const _0x44b2bc=_0x44b2();return _0x5c33=function(_0x5c3384,_0x5b8efc){_0x5c3384=_0x5c3384-0xc6;let _0x4831c3=_0x44b2bc[_0x5c3384];return _0x4831c3;},_0x5c33(_0x61d60e,_0x2f743d);}fe=Je([Re(0x0,b[_0x32202a(0x13a)]),Re(0x1,qe['IImageIoService'])],fe);const Oe=['purple300','jiqing500',_0x32202a(0x11b),_0x32202a(0x245),'blue400','gold400'];class Ce extends a[_0x32202a(0x126)]{constructor(){super(...arguments),h(this,'_assignedColors',new Map()),h(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x2fd61a){const _0x1d1c90=_0x32202a;if(this['_assignedColors']['has'](_0x2fd61a))return this['_assignedColors'][_0x1d1c90(0x1b5)](_0x2fd61a);const _0x484704=Oe[this[_0x1d1c90(0x339)]];return this[_0x1d1c90(0x339)]=(this[_0x1d1c90(0x339)]+0x1)%Oe[_0x1d1c90(0xc8)],this[_0x1d1c90(0x21b)][_0x1d1c90(0x1cd)](_0x2fd61a,_0x484704),_0x484704;}}function Le(_0x4c9a35){const _0x1d7d9a=_0x32202a;let _0x2269bc='';for(const _0x5cf984 of _0x4c9a35){const {startOffset:_0x36cd37,endOffset:_0x16bc56,isActive:_0x26539d,rangeType:_0x2580bf,segmentId:_0x4812c8,segmentPage:_0x42501f}=_0x5cf984;_0x2269bc[_0x1d7d9a(0xc8)]&&(_0x2269bc+=','),_0x2269bc+=_0x36cd37+':'+_0x16bc56+':'+(_0x26539d?'1':'0')+':'+_0x2580bf+':'+_0x4812c8+':'+_0x42501f;}return _0x2269bc;}function Ze(_0x4f65ca){const _0x4f22a0=_0x32202a,_0x5625ff=_0x4f65ca[_0x4f22a0(0x11f)](','),_0x2e5d0a=[];for(const _0x128cd0 of _0x5625ff){const [_0x55589,_0x3022de,_0x15b962,_0x46df27,_0x19cb26,_0x22d26f]=_0x128cd0[_0x4f22a0(0x11f)](':');_0x2e5d0a[_0x4f22a0(0x334)]({'startOffset':Number(_0x55589),'endOffset':Number(_0x3022de),'collapsed':_0x55589===_0x3022de,'isActive':_0x15b962==='1','rangeType':_0x46df27===a[_0x4f22a0(0xf5)]['TEXT']?a[_0x4f22a0(0xf5)][_0x4f22a0(0x147)]:a[_0x4f22a0(0xf5)][_0x4f22a0(0x2ae)],'segmentId':typeof _0x19cb26=='string'?String(_0x19cb26):'','segmentPage':Number(_0x22d26f!=null?_0x22d26f:-0x1)});}return _0x2e5d0a['some'](_0x15a4e8=>_0x15a4e8[_0x4f22a0(0x2dc)])||(_0x2e5d0a[0x0][_0x4f22a0(0x2dc)]=!0x0),_0x2e5d0a;}class pe extends a[_0x32202a(0x31a)]{constructor(){const _0x2f6974=_0x32202a;super(...arguments),h(this,_0x2f6974(0x295),new d[(_0x2f6974(0x144))](null)),h(this,'collabCursorState$',this[_0x2f6974(0x295)]['asObservable']());}['syncEditingCollabCursor'](_0x2f7c55){const _0x1b57e1=_0x32202a,{unitID:_0x4ae730,memberID:_0x19e70f,textRanges:_0x2cd0ef}=_0x2f7c55,_0x207ad6=Le(_0x2cd0ef);if(_0x207ad6==='')return;const _0x38e68e={'unitID':_0x4ae730,'memberID':_0x19e70f,'selection':_0x207ad6};this['_collabCursorState$'][_0x1b57e1(0x125)](_0x38e68e);}}var Qe=Object[_0x32202a(0x168)],et=(_0x285f51,_0x3aa809,_0x3b0069,_0x3e7c57)=>{const _0x14a3db=_0x32202a;for(var _0x1ce7b5=_0x3e7c57>0x1?void 0x0:_0x3e7c57?Qe(_0x3aa809,_0x3b0069):_0x3aa809,_0x5cf80f=_0x285f51[_0x14a3db(0xc8)]-0x1,_0xb4cb2a;_0x5cf80f>=0x0;_0x5cf80f--)(_0xb4cb2a=_0x285f51[_0x5cf80f])&&(_0x1ce7b5=_0xb4cb2a(_0x1ce7b5)||_0x1ce7b5);return _0x1ce7b5;},N=(_0x2c3f83,_0x6c736a)=>(_0xa1b399,_0x21684c)=>_0x6c736a(_0xa1b399,_0x21684c,_0x2c3f83);const tt=0x12c,st=0x64;let Se=class extends a[_0x32202a(0x31a)]{constructor(_0xbc4cf5,_0x20acd8,_0x2472b8,_0x318421,_0x210384,_0x3526b6,_0x58ac36,_0x1bb01a,_0x13978f){const _0x534c19=_0x32202a;super(),h(this,'_online',!0x1),h(this,_0x534c19(0x1d4),!0x1),h(this,'_cursorInfo$',new d[(_0x534c19(0x144))](new Map())),h(this,_0x534c19(0x1a2),this[_0x534c19(0x24e)][_0x534c19(0x237)]()),h(this,_0x534c19(0x2b6),new d['BehaviorSubject']([])),h(this,_0x534c19(0x2ab),this[_0x534c19(0x2b6)][_0x534c19(0x1d8)](d[_0x534c19(0x31d)](tt))),h(this,_0x534c19(0x300),a[_0x534c19(0x19f)](_0x372358=>{const _0x4de7fa=_0x534c19,_0x32fc15={'eventID':m[_0x4de7fa(0x1dd)][_0x4de7fa(0x2ea)],'data':{'unitID':this[_0x4de7fa(0x243)],'memberID':this[_0x4de7fa(0xd3)][_0x4de7fa(0x310)](),'selection':Le(_0x372358)}};this['_session']['send'](_0x32fc15,this[_0x4de7fa(0x243)]);},st)),(this[_0x534c19(0x243)]=_0xbc4cf5,this[_0x534c19(0xd3)]=_0x20acd8,this[_0x534c19(0x10b)]=_0x2472b8,this['_colorAssignService']=_0x318421,this[_0x534c19(0x2c5)]=_0x210384,this[_0x534c19(0x145)]=_0x3526b6,this[_0x534c19(0xdc)]=_0x58ac36,this[_0x534c19(0x2d5)]=_0x1bb01a,this[_0x534c19(0x340)]=_0x13978f);}get['cursorInfo'](){const _0x741e24=_0x32202a;return this[_0x741e24(0x24e)]['getValue']();}get[_0x32202a(0x2f5)](){const _0x3a11bf=_0x32202a;return this[_0x3a11bf(0x2b6)][_0x3a11bf(0x272)]();}[_0x32202a(0x2ad)](){const _0x18f23c=_0x32202a;super[_0x18f23c(0x2ad)](),this[_0x18f23c(0x24e)]['next'](new Map()),this[_0x18f23c(0x24e)][_0x18f23c(0x25c)](),this['_roomMembers$'][_0x18f23c(0x125)]([]),this['_roomMembers$'][_0x18f23c(0x25c)]();}['init'](){const _0x546674=_0x32202a;this[_0x546674(0x1d4)]||(this[_0x546674(0x1d4)]=!0x0,this[_0x546674(0xd3)][_0x546674(0x321)]['pipe'](d[_0x546674(0x107)](this[_0x546674(0x1d6)]))[_0x546674(0x2a6)](_0x1b9601=>{const _0x2fb1cc=_0x546674;_0x1b9601===u[_0x2fb1cc(0x10d)]['ONLINE']?this[_0x2fb1cc(0x314)]():this['_toggleOffline']();}),this[_0x546674(0xd3)][_0x546674(0x30e)][_0x546674(0x1d8)](d['takeUntil'](this['dispose$']))[_0x546674(0x2a6)](_0x4bab00=>{const _0x569fac=_0x546674,_0x44082c=_0x4bab00[_0x569fac(0x279)];_0x44082c===m[_0x569fac(0x1dd)][_0x569fac(0x2ea)]&&this[_0x569fac(0x111)](_0x4bab00),_0x44082c===m[_0x569fac(0x1dd)][_0x569fac(0x137)]&&this[_0x569fac(0x2a4)](_0x4bab00);}),this['disposeWithMe'](this['_commandService'][_0x546674(0x186)](_0x2936d4=>{const _0x3877fb=_0x546674,_0x2cea91=_0x2936d4[_0x3877fb(0xef)];_0x2cea91!=null&&this[_0x3877fb(0x27d)]&&_0x2936d4['id']===Y[_0x3877fb(0x1f5)]['id']&&_0x2cea91[_0x3877fb(0x332)]===this[_0x3877fb(0x243)]&&_0x2cea91['isEditing']===!0x1&&_0x2cea91[_0x3877fb(0x1f1)][_0x3877fb(0xc8)]>0x0&&this[_0x3877fb(0x300)](_0x2cea91[_0x3877fb(0x1f1)]);})),this[_0x546674(0x145)][_0x546674(0xeb)][_0x546674(0x1d8)](d[_0x546674(0x107)](this[_0x546674(0x1d6)]))[_0x546674(0x2a6)](_0x2a4a8e=>{const _0x1f6209=_0x546674;if((_0x2a4a8e==null?void 0x0:_0x2a4a8e[_0x1f6209(0x243)])!==this[_0x1f6209(0x243)])return;const _0x1d7c24={'eventID':m[_0x1f6209(0x1dd)]['UPDATE_CURSOR'],'data':_0x2a4a8e};this[_0x1f6209(0x111)](_0x1d7c24);}),this['disposeWithMe'](this[_0x546674(0x340)]['onCommandExecuted'](_0x2df4df=>{const _0x2ba7d3=_0x546674;if(_0x2df4df[_0x2ba7d3(0xef)]==null)return;const _0x47dabc=_0x2df4df[_0x2ba7d3(0xef)];if(_0x2df4df['id']!==Y[_0x2ba7d3(0x2e4)]['id']||_0x47dabc[_0x2ba7d3(0x332)]!==this[_0x2ba7d3(0x243)])return;const _0x1e56c2={'id':_0x2ba7d3(0x183),'params':_0x47dabc},_0x106f5d=this['cursorInfo'];for(const [_0x2450fd,_0x4993f5]of _0x106f5d){const _0x5e2608={'id':_0x2ba7d3(0x183),'params':{'unitId':this[_0x2ba7d3(0x243)],'actions':null,'textRanges':_0x4993f5['ranges']}},_0x4b4541=this[_0x2ba7d3(0xdc)]['transformMutation'](_0x1e56c2,_0x5e2608,!0x1);if(m[_0x2ba7d3(0xfd)](_0x4b4541))throw _0x4b4541[_0x2ba7d3(0xe0)];_0x106f5d['set'](_0x2450fd,{..._0x4993f5,'ranges':_0x4b4541['m2Prime'][_0x2ba7d3(0xef)][_0x2ba7d3(0x135)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x106f5d);});})));}['_onCursorUpdate'](_0xf6498d){const _0xeca7da=_0x32202a;var _0x31855e,_0x30245b;const {memberID:_0x26d2ac,selection:_0x3e4c40}=_0xf6498d[_0xeca7da(0x1ba)],_0x38097b=Ze(_0x3e4c40),_0x3440d7=(_0x30245b=(_0x31855e=this[_0xeca7da(0x2c5)][_0xeca7da(0x2de)](this['unitID'],_0x26d2ac))==null?void 0x0:_0x31855e[_0xeca7da(0x101)])!=null?_0x30245b:'Unknown\x20user',_0x46a59f={'color':this[_0xeca7da(0x124)]['assignAColorForMemberID'](_0x26d2ac),'name':_0x3440d7,'ranges':_0x38097b},_0x2d7ed8=this['cursorInfo'];_0x2d7ed8[_0xeca7da(0x1cd)](_0x26d2ac,_0x46a59f),this[_0xeca7da(0x24e)][_0xeca7da(0x125)](_0x2d7ed8);}[_0x32202a(0x2a4)](_0x326d3e){const _0x451bc6=_0x32202a,{memberID:_0x199aed}=_0x326d3e[_0x451bc6(0x1ba)],_0x17b4c8=this[_0x451bc6(0x25e)];_0x17b4c8['delete'](_0x199aed),this['_cursorInfo$']['next'](_0x17b4c8);}[_0x32202a(0x314)](){const _0x181a8e=_0x32202a;var _0x4a646e;if(this[_0x181a8e(0x27d)]=!0x0,((_0x4a646e=this[_0x181a8e(0x2d5)][_0x181a8e(0x29d)]())==null?void 0x0:_0x4a646e[_0x181a8e(0x32e)]())!==this[_0x181a8e(0x243)])return;const _0x15cea2=this[_0x181a8e(0x10b)][_0x181a8e(0x1b5)](Y['DocSelectionManagerService'])[_0x181a8e(0x1db)]();Array[_0x181a8e(0x2e5)](_0x15cea2)&&_0x15cea2[_0x181a8e(0xc8)]>0x0&&this[_0x181a8e(0x300)](_0x15cea2);}['_toggleOffline'](){const _0x1cb20e=_0x32202a;this[_0x1cb20e(0x27d)]=!0x1;}};Se=et([N(0x2,a[_0x32202a(0xd6)](a[_0x32202a(0x119)])),N(0x3,a[_0x32202a(0xd6)](Ce)),N(0x4,a[_0x32202a(0xd6)](u[_0x32202a(0x21c)])),N(0x5,a[_0x32202a(0xd6)](pe)),N(0x6,m[_0x32202a(0x15c)]),N(0x7,a[_0x32202a(0x227)]),N(0x8,a['ICommandService'])],Se);var nt=Object['getOwnPropertyDescriptor'],it=(_0x38bb00,_0x32c7f1,_0xe5408c,_0x39463c)=>{const _0x3b92d2=_0x32202a;for(var _0x7def78=_0x39463c>0x1?void 0x0:_0x39463c?nt(_0x32c7f1,_0xe5408c):_0x32c7f1,_0x5d1b29=_0x38bb00[_0x3b92d2(0xc8)]-0x1,_0x5efd0f;_0x5d1b29>=0x0;_0x5d1b29--)(_0x5efd0f=_0x38bb00[_0x5d1b29])&&(_0x7def78=_0x5efd0f(_0x7def78)||_0x7def78);return _0x7def78;},y=(_0x6bf1de,_0x51f232)=>(_0x26b743,_0x1e8334)=>_0x51f232(_0x26b743,_0x1e8334,_0x6bf1de);const rt=0x12c,ot=0x64,at=()=>{let _0x961f52=[],_0xd3250=!0x1;return _0x4fc0d3=>{const _0x413f2b=_0x5c33;_0x961f52[_0x413f2b(0x334)](_0x4fc0d3),_0xd3250||(_0xd3250=!0x0,setTimeout(()=>{const _0x12faf4=_0x413f2b;_0x961f52[_0x12faf4(0x207)](_0x1c4f5b=>_0x1c4f5b()),_0x961f52=[],_0xd3250=!0x1;}));};};let ve=class extends a[_0x32202a(0x31a)]{constructor(_0x5485de,_0x106032,_0x245145,_0x3c8aed,_0x192d19,_0x33a46a,_0x12472b,_0x2d6e76){const _0x383281=_0x32202a;super(),h(this,'_online',!0x1),h(this,_0x383281(0x1d4),!0x1),h(this,'_cursorInfo$',new d[(_0x383281(0x144))](new Map())),h(this,_0x383281(0x1a2),this[_0x383281(0x24e)][_0x383281(0x237)]()),h(this,'_roomMembers$',new d['BehaviorSubject']([])),h(this,_0x383281(0x2ab),this[_0x383281(0x2b6)]['pipe'](d[_0x383281(0x31d)](rt))),h(this,_0x383281(0x300),a[_0x383281(0x19f)]((_0x3acc6f,_0x38eff1)=>{const _0x59eb23=_0x383281,_0x5abd16={'eventID':m[_0x59eb23(0x1dd)][_0x59eb23(0x2ea)],'data':{'unitID':this[_0x59eb23(0x243)],'memberID':this[_0x59eb23(0xd3)]['getMemberID'](),'selection':Te[_0x59eb23(0xfa)](_0x3acc6f,_0x38eff1[_0x59eb23(0x210)])}};this['_session'][_0x59eb23(0x2c3)](_0x5abd16,this[_0x59eb23(0x243)]);},ot)),(this[_0x383281(0x243)]=_0x5485de,this[_0x383281(0xd3)]=_0x106032,this[_0x383281(0x10b)]=_0x245145,this[_0x383281(0x124)]=_0x3c8aed,this[_0x383281(0x2c5)]=_0x192d19,this[_0x383281(0x2d5)]=_0x33a46a,this[_0x383281(0x340)]=_0x12472b,this[_0x383281(0xd2)]=_0x2d6e76);}get[_0x32202a(0x25e)](){const _0x30bbec=_0x32202a;return this[_0x30bbec(0x24e)][_0x30bbec(0x272)]();}get[_0x32202a(0x2f5)](){const _0x165660=_0x32202a;return this[_0x165660(0x2b6)][_0x165660(0x272)]();}[_0x32202a(0x2ad)](){const _0x177371=_0x32202a;super[_0x177371(0x2ad)](),this[_0x177371(0x24e)][_0x177371(0x125)](new Map()),this['_cursorInfo$'][_0x177371(0x25c)](),this[_0x177371(0x2b6)]['next']([]),this[_0x177371(0x2b6)][_0x177371(0x25c)]();}[_0x32202a(0x1d2)](){const _0x1b9a44=_0x32202a;this['_init']||(this[_0x1b9a44(0x1d4)]=!0x0,this['_session'][_0x1b9a44(0x321)]['pipe'](d[_0x1b9a44(0x107)](this[_0x1b9a44(0x1d6)]))[_0x1b9a44(0x2a6)](_0xaacf2d=>{const _0x48fa27=_0x1b9a44;_0xaacf2d===u[_0x48fa27(0x10d)][_0x48fa27(0x143)]?this['_toggleOnline']():this[_0x48fa27(0x30d)]();}),this['_session'][_0x1b9a44(0x30e)][_0x1b9a44(0x1d8)](d[_0x1b9a44(0x107)](this[_0x1b9a44(0x1d6)]))['subscribe'](_0x2423ad=>{const _0x38c348=_0x1b9a44,_0x8c5713=_0x2423ad[_0x38c348(0x279)];_0x8c5713===m[_0x38c348(0x1dd)][_0x38c348(0x2ea)]&&this[_0x38c348(0x111)](_0x2423ad),_0x8c5713===m['CollaborationEvent']['USERS_LEAVE']&&this[_0x38c348(0x2a4)](_0x2423ad);}),this['_onRefRangeChange'](),this[_0x1b9a44(0x204)](this['_commandService'][_0x1b9a44(0x186)](_0x39af52=>{const _0x47ca0c=_0x1b9a44;if(this[_0x47ca0c(0x27d)]&&_0x39af52['id']===I[_0x47ca0c(0x1fe)]['id']&&_0x39af52[_0x47ca0c(0xef)]['unitId']===this[_0x47ca0c(0x243)]){const _0x24d580=_0x39af52['params'];this['_updateLocalCursor'](_0x24d580[_0x47ca0c(0x290)],_0x24d580[_0x47ca0c(0x196)][0x0]);}})));}[_0x32202a(0x111)](_0x24a11b){const _0x45b975=_0x32202a;var _0x44a3ae,_0x262ae9;const {memberID:_0x3655cb,selection:_0x1d3506}=_0x24a11b[_0x45b975(0x1ba)],{sheetName:_0x1877db,range:_0x5b80a7}=Te[_0x45b975(0x155)](_0x1d3506),_0x2215bb={'name':(_0x262ae9=(_0x44a3ae=this['_memberService'][_0x45b975(0x2de)](this[_0x45b975(0x243)],_0x3655cb))==null?void 0x0:_0x44a3ae[_0x45b975(0x101)])!=null?_0x262ae9:'Unknown\x20user','range':this[_0x45b975(0x121)](_0x1877db,_0x5b80a7),'sheetID':_0x1877db,'color':this[_0x45b975(0x124)]['assignAColorForMemberID'](_0x3655cb),'selection':_0x1d3506},_0x397bef=this[_0x45b975(0x25e)];_0x397bef[_0x45b975(0x1cd)](_0x3655cb,_0x2215bb),this[_0x45b975(0x24e)][_0x45b975(0x125)](_0x397bef);}[_0x32202a(0x2a4)](_0x484c5b){const _0x243819=_0x32202a,{memberID:_0x5d836a}=_0x484c5b['data'],_0x39064d=this[_0x243819(0x25e)];_0x39064d[_0x243819(0x22d)](_0x5d836a),this[_0x243819(0x24e)]['next'](_0x39064d);}[_0x32202a(0x121)](_0x36aaa9,_0x29c614){const _0x2b526d=_0x32202a;var _0x5bcfd7,_0x386311;const _0x54537d=(_0x386311=(_0x5bcfd7=this['_univerInstanceService'][_0x2b526d(0x2e1)](this[_0x2b526d(0x243)]))==null?void 0x0:_0x5bcfd7['getSheetBySheetId'](_0x36aaa9))==null?void 0x0:_0x386311['getMergeData']();return(_0x54537d==null?void 0x0:_0x54537d['find'](_0x4ff238=>a[_0x2b526d(0x1e8)][_0x2b526d(0x226)](_0x4ff238,_0x29c614)))||_0x29c614;}[_0x32202a(0x2a9)](){const _0x3bbcb6=_0x32202a,_0x72730=new a[(_0x3bbcb6(0x199))](),_0x181af5=at(),_0x27c3cf=()=>{const _0xffb71=_0x3bbcb6;_0x72730[_0xffb71(0x2ad)]();const _0x320bf3=(_0x37a96c,_0x189350,_0x3a6ad7,_0x14a317)=>{const _0x3299d1=_0xffb71;let _0xa49548=[];switch(_0x37a96c['id']){case I[_0x3299d1(0x2e8)]['DeleteRangeMoveLeftCommandId']:{_0xa49548=I[_0x3299d1(0x1bd)](_0x37a96c,_0x14a317);break;}case I[_0x3299d1(0x2e8)][_0x3299d1(0x15a)]:{_0xa49548=I['handleDeleteRangeMoveUp'](_0x37a96c,_0x14a317);break;}case I[_0x3299d1(0x2e8)][_0x3299d1(0x233)]:{_0xa49548=I[_0x3299d1(0x256)](_0x37a96c,_0x14a317);break;}case I['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0xa49548=I[_0x3299d1(0x1dc)](_0x37a96c,_0x14a317);break;}case I['EffectRefRangId'][_0x3299d1(0x26c)]:{_0xa49548=I['handleInsertRangeMoveRight'](_0x37a96c,_0x14a317);break;}case I[_0x3299d1(0x2e8)][_0x3299d1(0x320)]:{_0xa49548=I[_0x3299d1(0x24f)](_0x37a96c,_0x14a317);break;}case I[_0x3299d1(0x2e8)][_0x3299d1(0x184)]:{_0xa49548=I[_0x3299d1(0x264)](_0x37a96c,_0x14a317);break;}case I[_0x3299d1(0x2e8)]['RemoveColCommandId']:{_0xa49548=I[_0x3299d1(0x1c7)](_0x37a96c,_0x14a317);break;}case I[_0x3299d1(0x2e8)][_0x3299d1(0x27f)]:{_0xa49548=I[_0x3299d1(0x1cc)](_0x37a96c,_0x14a317);break;}}const _0x48141b=I['runRefRangeMutations'](_0xa49548,_0x14a317),_0x2b5bf5=this['cursorInfo']['get'](_0x189350);if(_0x2b5bf5&&_0x48141b){const _0x3cdd68={..._0x2b5bf5,'range':_0x48141b};this[_0x3299d1(0x25e)][_0x3299d1(0x1cd)](_0x189350,_0x3cdd68),_0x181af5(()=>{const _0x45c70a=_0x3299d1,_0x22ec7f=this[_0x45c70a(0xd2)][_0x45c70a(0x2d9)](_0x48141b,_0x1e9105=>(_0x22ec7f[_0x45c70a(0x2ad)](),_0x320bf3(_0x1e9105,_0x189350,_0x3a6ad7,_0x48141b)));_0x72730[_0x45c70a(0x134)](_0x22ec7f);});}return{'redos':[],'undos':[]};};this[_0xffb71(0x25e)][_0xffb71(0x207)]((_0x5c593c,_0x498f90)=>{const _0x48fc06=_0xffb71,{range:_0x39e298,sheetID:_0x48afa7}=_0x5c593c,_0x509180=this[_0x48fc06(0xd2)][_0x48fc06(0x2d9)](_0x39e298,_0x3977c3=>(_0x509180['dispose'](),_0x320bf3(_0x3977c3,_0x498f90,_0x48afa7,_0x39e298)));_0x72730[_0x48fc06(0x134)](_0x509180);});};this[_0x3bbcb6(0x204)](a[_0x3bbcb6(0x149)](this[_0x3bbcb6(0x24e)][_0x3bbcb6(0x2a6)](()=>{_0x27c3cf();})));}[_0x32202a(0x314)](){const _0x389f0e=_0x32202a;var _0x3e328e,_0x11c2c2;if(this[_0x389f0e(0x27d)]=!0x0,((_0x3e328e=this['_univerInstanceService'][_0x389f0e(0x29d)]())==null?void 0x0:_0x3e328e[_0x389f0e(0x32e)]())!==this[_0x389f0e(0x243)])return;const _0x56b36f=(_0x11c2c2=this[_0x389f0e(0x10b)][_0x389f0e(0x1b5)](I[_0x389f0e(0x2ed)])[_0x389f0e(0xc6)]())==null?void 0x0:_0x11c2c2[0x0],_0x277d12=this[_0x389f0e(0x2d5)][_0x389f0e(0x29a)](a[_0x389f0e(0x1d9)]['UNIVER_SHEET'])['getActiveSheet']();_0x56b36f&&_0x277d12&&this[_0x389f0e(0x300)](_0x277d12['getSheetId'](),_0x56b36f);}[_0x32202a(0x30d)](){const _0x12b850=_0x32202a;this[_0x12b850(0x27d)]=!0x1;}};ve=it([y(0x2,a[_0x32202a(0xd6)](a[_0x32202a(0x119)])),y(0x3,a[_0x32202a(0xd6)](Ce)),y(0x4,a[_0x32202a(0xd6)](u['MemberService'])),y(0x5,a[_0x32202a(0x227)]),y(0x6,a[_0x32202a(0x2f7)]),y(0x7,a['Inject'](I[_0x32202a(0x2af)]))],ve);var ct=Object['getOwnPropertyDescriptor'],lt=(_0x179439,_0xe495f7,_0x38fe60,_0x173970)=>{for(var _0xbaebf5=_0x173970>0x1?void 0x0:_0x173970?ct(_0xe495f7,_0x38fe60):_0xe495f7,_0x53f0e9=_0x179439['length']-0x1,_0x32c222;_0x53f0e9>=0x0;_0x53f0e9--)(_0x32c222=_0x179439[_0x53f0e9])&&(_0xbaebf5=_0x32c222(_0xbaebf5)||_0xbaebf5);return _0xbaebf5;},ie=(_0x41877f,_0xa9806e)=>(_0x53071f,_0x55deb3)=>_0xa9806e(_0x53071f,_0x55deb3,_0x41877f);let x=class extends a[_0x32202a(0x31a)]{constructor(_0x3b768a,_0x27ac90,_0x1f434c){const _0x9ad38=_0x32202a;super(),h(this,'_entities',new Map()),h(this,_0x9ad38(0x2c0),new d[(_0x9ad38(0xf9))]()),(this[_0x9ad38(0x2d5)]=_0x3b768a,this[_0x9ad38(0x10b)]=_0x27ac90,this[_0x9ad38(0x13d)]=_0x1f434c,this['_init']());}['dispose'](){const _0x39bde3=_0x32202a;super['dispose'](),this[_0x39bde3(0x2c0)][_0x39bde3(0x25c)](),this[_0x39bde3(0x30f)][_0x39bde3(0x207)](_0x5a8b93=>_0x5a8b93[_0x39bde3(0x2ad)]());}[_0x32202a(0x337)](_0x1df069){const _0x32d62c=_0x32202a;return this[_0x32d62c(0x30f)][_0x32d62c(0x254)](_0x1df069)?this['_entities']['get'](_0x1df069)[_0x32d62c(0x1a2)]:this[_0x32d62c(0x2c0)][_0x32d62c(0x1d8)](d[_0x32d62c(0x317)](_0x49bd00=>_0x49bd00[_0x32d62c(0x243)]===_0x1df069),d[_0x32d62c(0x21e)](_0x1798d4=>_0x1798d4[_0x32d62c(0x1a2)]));}[_0x32202a(0x1d4)](){const _0x2d26ef=_0x32202a;this[_0x2d26ef(0x2d5)][_0x2d26ef(0xdd)](a[_0x2d26ef(0x1d9)]['UNIVER_SHEET'])[_0x2d26ef(0x1d8)](d['takeUntil'](this[_0x2d26ef(0x1d6)]))[_0x2d26ef(0x2a6)](async _0x1dcc9c=>{const _0x11ee9e=_0x2d26ef,_0x206293=_0x1dcc9c[_0x11ee9e(0x32e)](),_0x1ea4d4=await this[_0x11ee9e(0x18d)](_0x206293);this[_0x11ee9e(0x2c0)][_0x11ee9e(0x125)](_0x1ea4d4),this[_0x11ee9e(0x30f)][_0x11ee9e(0x1cd)](_0x206293,_0x1ea4d4);}),this['_univerInstanceService'][_0x2d26ef(0xdd)](a[_0x2d26ef(0x1d9)][_0x2d26ef(0x12f)])[_0x2d26ef(0x1d8)](d[_0x2d26ef(0x107)](this[_0x2d26ef(0x1d6)]))[_0x2d26ef(0x1d8)](d[_0x2d26ef(0x317)](_0x1b5ac1=>!_0x1b5ac1[_0x2d26ef(0x32e)]()['startsWith']('__')))[_0x2d26ef(0x2a6)](async _0x126fbf=>{const _0x4771ca=_0x2d26ef,_0x341d5e=_0x126fbf[_0x4771ca(0x32e)](),_0x30db94=await this[_0x4771ca(0x2b3)](_0x341d5e);this[_0x4771ca(0x2c0)][_0x4771ca(0x125)](_0x30db94),this[_0x4771ca(0x30f)]['set'](_0x341d5e,_0x30db94);}),d[_0x2d26ef(0x191)](this[_0x2d26ef(0x2d5)][_0x2d26ef(0x315)](a['UniverInstanceType'][_0x2d26ef(0x12f)]),this[_0x2d26ef(0x2d5)][_0x2d26ef(0x315)](a[_0x2d26ef(0x1d9)][_0x2d26ef(0x1bf)]))['pipe'](d[_0x2d26ef(0x107)](this[_0x2d26ef(0x1d6)]))[_0x2d26ef(0x2a6)](_0x50430d=>{const _0x5ea8ca=_0x2d26ef,_0x460560=_0x50430d[_0x5ea8ca(0x32e)](),_0x42664c=this[_0x5ea8ca(0x30f)][_0x5ea8ca(0x1b5)](_0x460560);_0x42664c&&(_0x42664c[_0x5ea8ca(0x2ad)](),this[_0x5ea8ca(0x30f)][_0x5ea8ca(0x22d)](_0x460560));});}async[_0x32202a(0x18d)](_0xf36c8a){const _0x3c0d1f=_0x32202a,_0x23af44=await this[_0x3c0d1f(0x13d)][_0x3c0d1f(0x171)](_0xf36c8a),_0x5ddf18=this[_0x3c0d1f(0x10b)]['createInstance'](ve,_0xf36c8a,_0x23af44);return _0x5ddf18['init'](),_0x5ddf18;}async['_startDocCollabCursor'](_0x3ce497){const _0x13fbbe=_0x32202a,_0x322d48=await this[_0x13fbbe(0x13d)]['requireSession'](_0x3ce497),_0x2bf5c2=this[_0x13fbbe(0x10b)][_0x13fbbe(0x2b0)](Se,_0x3ce497,_0x322d48);return _0x2bf5c2[_0x13fbbe(0x1d2)](),_0x2bf5c2;}};x=lt([ie(0x0,a[_0x32202a(0x227)]),ie(0x1,a['Inject'](a[_0x32202a(0x119)])),ie(0x2,a[_0x32202a(0xd6)](u[_0x32202a(0x2ca)]))],x);const K=0x14,De=0xc8,re=0x4,ht=0x5;function _t(_0x38e8f1,_0x5a1c38){const _0x4931bb=_0x32202a;let {radius:_0x342615,width:_0x2f0d14,height:_0x5cc374}=_0x5a1c38;_0x342615=_0x342615!=null?_0x342615:0x0,_0x2f0d14=_0x2f0d14!=null?_0x2f0d14:0x1e,_0x5cc374=_0x5cc374!=null?_0x5cc374:0x1e;let _0x34d9ef=0x0,_0x1a8217=0x0,_0xc11bee=0x0;_0x34d9ef=_0x1a8217=_0xc11bee=Math[_0x4931bb(0x2e9)](_0x342615,_0x2f0d14/0x2,_0x5cc374/0x2),_0x38e8f1['beginPath'](),_0x38e8f1[_0x4931bb(0x211)](_0x34d9ef,0x0),_0x38e8f1[_0x4931bb(0x217)](_0x2f0d14-_0x1a8217,0x0),_0x38e8f1['arc'](_0x2f0d14-_0x1a8217,_0x1a8217,_0x1a8217,Math['PI']*0x3/0x2,0x0,!0x1),_0x38e8f1[_0x4931bb(0x217)](_0x2f0d14,_0x5cc374-_0xc11bee),_0x38e8f1['arc'](_0x2f0d14-_0xc11bee,_0x5cc374-_0xc11bee,_0xc11bee,0x0,Math['PI']/0x2,!0x1),_0x38e8f1[_0x4931bb(0x217)](0x0,_0x5cc374),_0x38e8f1[_0x4931bb(0x217)](0x0,_0x34d9ef),_0x38e8f1[_0x4931bb(0x18c)](_0x34d9ef,_0x34d9ef,_0x34d9ef,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x38e8f1[_0x4931bb(0x148)](),_0x5a1c38[_0x4931bb(0x212)]&&(_0x38e8f1[_0x4931bb(0x28f)](),_0x38e8f1['fillStyle']=_0x5a1c38[_0x4931bb(0x212)],_0x5a1c38['fillRule']===_0x4931bb(0x28b)?_0x38e8f1[_0x4931bb(0x212)](_0x4931bb(0x28b)):_0x38e8f1[_0x4931bb(0x212)](),_0x38e8f1[_0x4931bb(0x248)]());}class te extends p[_0x32202a(0x22e)]{constructor(_0x3b7087,_0x3ea8f7){const _0x2b893d=_0x32202a;super(_0x3b7087,_0x3ea8f7),h(this,_0x2b893d(0xdb)),h(this,_0x2b893d(0x158)),(this['color']=_0x3ea8f7==null?void 0x0:_0x3ea8f7['color'],this[_0x2b893d(0x158)]=_0x3ea8f7==null?void 0x0:_0x3ea8f7[_0x2b893d(0x158)]);}static[_0x32202a(0x192)](_0x2a41b9,_0xb84a66){const _0x1f55ce=_0x32202a,{text:_0x510a7a,color:_0x5a49e5}=_0xb84a66;_0x2a41b9[_0x1f55ce(0x28f)](),_0x2a41b9[_0x1f55ce(0x23f)]=_0x1f55ce(0x202);const _0x45f89e=_0x2a41b9[_0x1f55ce(0x288)](_0x510a7a)[_0x1f55ce(0x1ce)],_0x229e43=Math[_0x1f55ce(0x2e9)](_0x45f89e+0x2*re,De);_t(_0x2a41b9,{'height':K,'radius':0x4,'width':_0x229e43,'fill':_0x5a49e5}),_0x2a41b9[_0x1f55ce(0xc7)]=_0x1f55ce(0x260);const _0x3f408b=re,_0x3907c8=K-ht,_0x1e6abe=De-0x2*re;if(_0x45f89e>_0x1e6abe){let _0x49e834='',_0xa6f21=0x0;for(const _0x2224db of _0x510a7a){const _0x81d1e1=_0x2a41b9[_0x1f55ce(0x288)](_0x2224db)[_0x1f55ce(0x1ce)];if(_0xa6f21+_0x81d1e1<=_0x1e6abe-_0x2a41b9['measureText'](_0x1f55ce(0x2df))[_0x1f55ce(0x1ce)])_0x49e834+=_0x2224db,_0xa6f21+=_0x81d1e1;else{_0x49e834+=_0x1f55ce(0x2df);break;}}_0x2a41b9['fillText'](_0x49e834,_0x3f408b,_0x3907c8);}else _0x2a41b9[_0x1f55ce(0x1a8)](_0x510a7a,_0x3f408b,_0x3907c8);_0x2a41b9[_0x1f55ce(0x248)]();}[_0x32202a(0x180)](_0x47d8c2){const _0x5666fd=_0x32202a;te[_0x5666fd(0x192)](_0x47d8c2,this);}}const oe=_0x32202a(0x142),ut=_0x32202a(0x1ca),dt=_0x32202a(0x32d),B=0x6,ft=1.5,ae=0x4,St=1.5,vt=_0x32202a(0x2db);class Ue{constructor(_0x274b98,_0x6e9164,_0x441327,_0x7b79d0){const _0x57a706=_0x32202a;h(this,_0x57a706(0x2d7),[]),h(this,_0x57a706(0x1e4),null),h(this,_0x57a706(0x1c6),null),h(this,_0x57a706(0x2a3),null),h(this,'_hideTimer',null),h(this,_0x57a706(0x179),null),(this[_0x57a706(0x2a8)]=_0x274b98,this['_scene']=_0x6e9164,this['_docSkeleton']=_0x441327,this[_0x57a706(0x1af)]=_0x7b79d0,this[_0x57a706(0x167)]());}set[_0x32202a(0x17d)](_0x522eed){const _0x5d6e4e=_0x32202a;_0x522eed?(this['_anchorDot']&&this[_0x5d6e4e(0x2a3)][_0x5d6e4e(0x16e)](),this['_textBubble']&&this[_0x5d6e4e(0x1c6)][_0x5d6e4e(0x154)]()):(this[_0x5d6e4e(0x2a3)]&&this[_0x5d6e4e(0x2a3)][_0x5d6e4e(0x154)](),this[_0x5d6e4e(0x1c6)]&&this[_0x5d6e4e(0x1c6)][_0x5d6e4e(0x16e)]());}[_0x32202a(0x2ad)](){const _0x5300d8=_0x32202a;for(const _0x27de89 of this[_0x5300d8(0x2d7)])_0x27de89['dispose']();this[_0x5300d8(0x1c6)]&&this[_0x5300d8(0x1c6)][_0x5300d8(0x2ad)](),this[_0x5300d8(0x2a3)]&&this[_0x5300d8(0x2a3)][_0x5300d8(0x2ad)](),this[_0x5300d8(0x1e4)]&&this[_0x5300d8(0x1e4)][_0x5300d8(0x2ad)](),this[_0x5300d8(0x179)]&&this[_0x5300d8(0x179)]();}[_0x32202a(0x167)](){const _0x31d9f8=_0x32202a;var _0x1241a8;const {_docSkeleton:_0x467efb,_document:_0x1bf190}=this,{color:_0x3bf16e,name:_0x4bea03,ranges:_0x20f0ca}=this[_0x31d9f8(0x2a8)],_0x9c9aad=_0x1bf190[_0x31d9f8(0x2c9)](),{docsLeft:_0x46f0d4,docsTop:_0x414097}=_0x9c9aad,_0x55d9ef=new b['NodePositionConvertToCursor'](_0x9c9aad,_0x467efb);for(const {startOffset:_0xa87326,endOffset:_0x33a19f,rangeType:_0x3afa19,segmentId:_0x542b6f,segmentPage:_0x332ec7,collapsed:_0x4c6fea,isActive:_0xc58b08}of _0x20f0ca){const _0x31af5c=_0x467efb['findNodePositionByCharIndex'](_0xa87326,!0x0,_0x542b6f,_0x332ec7);let _0x28686d=_0x467efb[_0x31d9f8(0x31c)](_0x33a19f,!0x0,_0x542b6f,_0x332ec7);if(_0x28686d==null&&(_0x28686d=_0x467efb[_0x31d9f8(0x31c)](_0x33a19f-0x1,!0x1,_0x542b6f,_0x332ec7)),_0xc58b08){const {contentBoxPointGroup:_0x246027}=_0x55d9ef[_0x31d9f8(0x16a)](_0x28686d,_0x28686d);if(_0x246027[_0x31d9f8(0xc8)]===0x0)continue;this[_0x31d9f8(0x2ec)](_0x3bf16e,_0x246027,_0x46f0d4,_0x414097,_0x4bea03),this[_0x31d9f8(0x179)]=this[_0x31d9f8(0x2f3)]();}if(_0x31af5c&&_0x28686d){if(_0x3afa19===a[_0x31d9f8(0xf5)][_0x31d9f8(0x2ae)]){const _0x47c62d=new b[(_0x31d9f8(0x2bd))](_0x9c9aad,_0x467efb),{pointGroup:_0x128d81}=(_0x1241a8=_0x47c62d[_0x31d9f8(0x16a)](_0x31af5c,_0x28686d))!=null?_0x1241a8:{};if(_0x128d81==null||_0x128d81[_0x31d9f8(0xc8)]===0x0)continue;this[_0x31d9f8(0xcd)](_0x3bf16e,_0x128d81,_0x46f0d4,_0x414097);}else{if(!_0x4c6fea){const {borderBoxPointGroup:_0x110c3f}=_0x55d9ef[_0x31d9f8(0x16a)](_0x31af5c,_0x28686d);if(_0x110c3f[_0x31d9f8(0xc8)]===0x0)continue;this[_0x31d9f8(0x1c0)](_0x3bf16e,_0x110c3f,_0x46f0d4,_0x414097);}}}}}['_drawAnchor'](_0x354de6,_0x55f883,_0x47c393,_0x2e5af5,_0x3c4eba){const _0x441a54=_0x32202a,_0x326d56=this[_0x441a54(0xf0)](_0x55f883),{left:_0x26a157,top:_0x478bad,height:_0xf88140}=_0x326d56,_0x9a6c95=this[_0x441a54(0xd7)](),_0x41563d=St/_0x9a6c95,_0x306da7=new p['Rect'](oe+a[_0x441a54(0x1a5)][_0x441a54(0x1eb)](B),{'left':_0x26a157+_0x47c393-_0x41563d,'top':_0x478bad+_0x2e5af5,'height':_0xf88140,'width':ft,'fill':_0x354de6||p[_0x441a54(0x170)](a[_0x441a54(0xe1)][_0x441a54(0xf6)],0x0),'strokeWidth':_0x41563d,'stroke':vt,'evented':!0x0});this[_0x441a54(0x1e4)]=_0x306da7,this['_scene'][_0x441a54(0x2ac)](_0x306da7,b[_0x441a54(0x2aa)]);const _0x1f7c37=new p[(_0x441a54(0x172))](oe+a[_0x441a54(0x1a5)][_0x441a54(0x1eb)](B),{'left':_0x26a157+_0x47c393-_0x41563d,'top':_0x478bad+_0x2e5af5-ae/0x2,'height':ae,'width':ae,'fill':_0x354de6||p[_0x441a54(0x170)](a[_0x441a54(0xe1)][_0x441a54(0xf6)],0x0),'strokeWidth':0x0,'stroke':_0x354de6||p['getColor'](a[_0x441a54(0xe1)][_0x441a54(0xf6)],0x0),'evented':!0x1});this['_anchorDot']=_0x1f7c37,this[_0x441a54(0x216)][_0x441a54(0x2ac)](_0x1f7c37,b[_0x441a54(0x2aa)]);const _0xba1667=new te(oe+a[_0x441a54(0x1a5)]['generateRandomId'](B),{'left':_0x26a157+_0x47c393-_0x41563d,'top':_0x478bad+_0x2e5af5-K,'text':_0x3c4eba,'color':_0x354de6});this[_0x441a54(0x1c6)]=_0xba1667,this['_scene'][_0x441a54(0x2ac)](_0xba1667,b[_0x441a54(0x2aa)]),this[_0x441a54(0x17d)]=!0x1;}[_0x32202a(0x2f3)](){const _0x525fc8=_0x32202a,_0x3f0148=this[_0x525fc8(0x1e4)][_0x525fc8(0x2bc)][_0x525fc8(0x2e2)](()=>{const _0x33fbc8=_0x525fc8;this[_0x33fbc8(0x17d)]=!0x0;}),_0x4bc636=this[_0x525fc8(0x1e4)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x4397f5=_0x525fc8;this['_hideTimer']&&clearTimeout(this[_0x4397f5(0x115)]),this[_0x4397f5(0x115)]=setTimeout(()=>{const _0x19f6a4=_0x4397f5;this[_0x19f6a4(0x17d)]=!0x1;},0x7d0);});return()=>{const _0x57449f=_0x525fc8;_0x3f0148[_0x57449f(0x120)](),_0x4bc636[_0x57449f(0x120)]();};}['_drawTextRange'](_0x13b99b,_0x43d0a2,_0x45dbae,_0x4b5b7d){const _0x1388ec=_0x32202a,_0x6a3e95=new a[(_0x1388ec(0x2f9))](_0x13b99b)[_0x1388ec(0x1d7)](0.2)[_0x1388ec(0x132)](),_0x23123a=new p['RegularPolygon'](ut+a[_0x1388ec(0x1a5)][_0x1388ec(0x1eb)](B),{'pointsGroup':_0x43d0a2,'fill':_0x6a3e95||p[_0x1388ec(0x170)](a[_0x1388ec(0xe1)]['black'],0.2),'left':_0x45dbae,'top':_0x4b5b7d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1388ec(0x2d7)][_0x1388ec(0x334)](_0x23123a),this['_scene']['addObject'](_0x23123a,b[_0x1388ec(0x2aa)]);}[_0x32202a(0xcd)](_0x4b2f0f,_0x5aad2e,_0x4f20e4,_0x32f57f){const _0x3ea628=_0x32202a,_0x2c8fe0=new a[(_0x3ea628(0x2f9))](_0x4b2f0f)[_0x3ea628(0x1d7)](0.2)[_0x3ea628(0x132)](),_0x4a87ab=new p['RegularPolygon'](dt+a[_0x3ea628(0x1a5)][_0x3ea628(0x1eb)](B),{'pointsGroup':_0x5aad2e,'fill':_0x2c8fe0||p['getColor'](a['COLORS'][_0x3ea628(0xf6)],0.2),'left':_0x4f20e4,'top':_0x32f57f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3ea628(0x334)](_0x4a87ab),this[_0x3ea628(0x216)][_0x3ea628(0x2ac)](_0x4a87ab,b[_0x3ea628(0x2aa)]);}[_0x32202a(0xf0)](_0x2477ad){const _0x58595c=_0x2477ad[0x0],_0xed5eb4=_0x58595c[0x0],_0x1001ad=_0x58595c[0x2],{x:_0x28c52a,y:_0x54ba5d}=_0xed5eb4,{x:_0x514334,y:_0x2adc09}=_0x1001ad;return{'left':_0x28c52a,'top':_0x54ba5d,'width':_0x514334-_0x28c52a,'height':_0x2adc09-_0x54ba5d};}[_0x32202a(0xd7)](){const _0x33850e=_0x32202a,{scaleX:_0x503c03,scaleY:_0x51e688}=this[_0x33850e(0x216)][_0x33850e(0x221)]();return Math['max'](_0x503c03,_0x51e688);}}var gt=Object[_0x32202a(0x168)],It=(_0x1b540a,_0x34ffa5,_0x125afd,_0x152920)=>{for(var _0x4104dc=_0x152920>0x1?void 0x0:_0x152920?gt(_0x34ffa5,_0x125afd):_0x34ffa5,_0x4a8539=_0x1b540a['length']-0x1,_0x320cd8;_0x4a8539>=0x0;_0x4a8539--)(_0x320cd8=_0x1b540a[_0x4a8539])&&(_0x4104dc=_0x320cd8(_0x4104dc)||_0x4104dc);return _0x4104dc;},X=(_0x3d1dc0,_0x21b12d)=>(_0x6d156b,_0x23f036)=>_0x21b12d(_0x6d156b,_0x23f036,_0x3d1dc0);let ge=class extends a['RxDisposable']{constructor(_0x1b0fae,_0x3f0052,_0x328915,_0x3a2555,_0x45cb24){const _0x55f368=_0x32202a;super(),h(this,_0x55f368(0x1a6),[]),h(this,'_cursors',[]),(this[_0x55f368(0x18f)]=_0x1b0fae,this[_0x55f368(0x178)]=_0x3f0052,this['_collabCursorController']=_0x328915,this[_0x55f368(0x340)]=_0x3a2555,this[_0x55f368(0x185)]=_0x45cb24,this[_0x55f368(0x1d4)]());}[_0x32202a(0x1d4)](){const _0x6e5511=_0x32202a,_0x47f841=this[_0x6e5511(0x18f)]['unitId'],_0x556db4=this[_0x6e5511(0x178)];this['disposeWithMe'](d['combineLatest']([this['_collabCursorController'][_0x6e5511(0x337)](_0x47f841),this[_0x6e5511(0x185)][_0x6e5511(0x112)]])[_0x6e5511(0x1d8)]($['map'](([_0x4bbfc6,_0x42244b])=>({'skeleton':_0x556db4[_0x6e5511(0x262)](),'cursors':[..._0x4bbfc6[_0x6e5511(0x127)]()][_0x6e5511(0x1ff)](_0x3eca97=>({..._0x3eca97,'color':_0x42244b[_0x3eca97['color']]}))})))[_0x6e5511(0x2a6)](_0xb7f71=>{const _0xf479ab=_0x6e5511;if(this[_0xf479ab(0x140)](),_0xb7f71){const {skeleton:_0x5892e3,cursors:_0x1d0d87}=_0xb7f71;this[_0xf479ab(0x14f)](_0x5892e3,_0x1d0d87);}})),this[_0x6e5511(0x109)](),this[_0x6e5511(0x17c)]();}['_updateCollabCursors'](_0x17b479,_0x102930){const _0x4ff479=_0x32202a,{scene:_0x56a0ec,mainComponent:_0x25d525}=this[_0x4ff479(0x18f)],_0x164a78=_0x102930[_0x4ff479(0x2a1)](_0x38bb82=>new Ue(_0x38bb82,_0x56a0ec,_0x17b479,_0x25d525));this[_0x4ff479(0x1a6)]=_0x164a78,this[_0x4ff479(0x2d6)]=_0x102930;}[_0x32202a(0x118)](){const _0x19b6f9=_0x32202a;this[_0x19b6f9(0x140)]();const {scene:_0x4e62b8,mainComponent:_0x5adfc5}=this[_0x19b6f9(0x18f)],_0x5e0eac=this[_0x19b6f9(0x178)][_0x19b6f9(0x262)](),_0x461bc7=this[_0x19b6f9(0x2d6)][_0x19b6f9(0x2a1)](_0x17fdb2=>new Ue(_0x17fdb2,_0x4e62b8,_0x5e0eac,_0x5adfc5));this[_0x19b6f9(0x1a6)]=_0x461bc7;}[_0x32202a(0x140)](){const _0x1478b9=_0x32202a;this[_0x1478b9(0x1a6)][_0x1478b9(0x207)](_0x2e35e1=>_0x2e35e1[_0x1478b9(0x2ad)]()),this[_0x1478b9(0x1a6)]=[];}[_0x32202a(0x17c)](){const _0x9ee57f=_0x32202a,_0x5a354a=[b['SetDocZoomRatioOperation']['id']];this[_0x9ee57f(0x204)](this[_0x9ee57f(0x340)][_0x9ee57f(0x186)](_0x4403ac=>{const _0x2ccc06=_0x9ee57f;_0x5a354a[_0x2ccc06(0x12c)](_0x4403ac['id'])&&_0x4403ac['params'][_0x2ccc06(0x332)]===this[_0x2ccc06(0x18f)][_0x2ccc06(0x332)]&&this[_0x2ccc06(0x118)]();}));}[_0x32202a(0x109)](){const _0x2a7575=_0x32202a;this[_0x2a7575(0x204)](a[_0x2a7575(0x2fe)](this[_0x2a7575(0x18f)][_0x2a7575(0x1ec)][_0x2a7575(0x32f)])['pipe']($[_0x2a7575(0x317)](_0x38a519=>_0x38a519[_0x2a7575(0x308)]===p[_0x2a7575(0x21d)][_0x2a7575(0x100)]),$[_0x2a7575(0x153)](0x10))['subscribe'](()=>{const _0x194e39=_0x2a7575;this[_0x194e39(0x118)]();}));}};ge=It([X(0x1,a[_0x32202a(0xd6)](Y[_0x32202a(0x267)])),X(0x2,a[_0x32202a(0xd6)](x)),X(0x3,a[_0x32202a(0x2f7)]),X(0x4,a[_0x32202a(0xd6)](a[_0x32202a(0x14c)]))],ge);const mt=0x1,Ct=1.5;class ye extends p['Shape']{constructor(_0x2bbdbf,_0x2be6cb){const _0x4edddd=_0x32202a;super(_0x2bbdbf,_0x2be6cb),h(this,_0x4edddd(0xf2)),h(this,_0x4edddd(0x17b),!0x1),h(this,_0x4edddd(0x165)),h(this,_0x4edddd(0x31e),''),h(this,'_labelPosition',_0x4edddd(0x29b)),h(this,_0x4edddd(0x2c6)),(_0x2be6cb&&this['setShapeProps'](_0x2be6cb),this['onPointerEnter$'][_0x4edddd(0x2e2)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x4edddd(0x2e2)](()=>this[_0x4edddd(0x1fc)]({'hovered':!0x1})));}[_0x32202a(0x1fc)](_0x16e3f){const _0x49eada=_0x32202a;var _0xaf0163,_0x39ee52,_0xe93f97,_0x406091,_0x4edd76,_0x56f0c1;this[_0x49eada(0xf2)]=(_0xaf0163=_0x16e3f[_0x49eada(0xdb)])!=null?_0xaf0163:this[_0x49eada(0xf2)],this['_hovered']=(_0x39ee52=_0x16e3f[_0x49eada(0x146)])!=null?_0x39ee52:this[_0x49eada(0x17b)],this['_range']=(_0xe93f97=_0x16e3f['range'])!=null?_0xe93f97:this['_range'],this[_0x49eada(0x31e)]=(_0x406091=_0x16e3f[_0x49eada(0x101)])!=null?_0x406091:this['_name'],this[_0x49eada(0xf3)]=(_0x4edd76=_0x16e3f[_0x49eada(0x29c)])!=null?_0x4edd76:this[_0x49eada(0xf3)],this['_backgroundColor']=(_0x56f0c1=_0x16e3f[_0x49eada(0x1b8)])!=null?_0x56f0c1:this[_0x49eada(0x2c6)],this['transformByState']({'width':_0x16e3f[_0x49eada(0x1ce)],'height':_0x16e3f['height']});}[_0x32202a(0x33b)](_0xfee2a2){const _0x56c593=_0x32202a,{row:_0x5d1247,column:_0x60fcac}=_0xfee2a2;if(_0x5d1247>=this['_range']['startRow']&&_0x5d1247<=this[_0x56c593(0x165)][_0x56c593(0x247)]&&_0x60fcac>=this[_0x56c593(0x165)][_0x56c593(0x1bb)]&&_0x60fcac<=this['_range'][_0x56c593(0x206)]){this[_0x56c593(0x1fc)]({'hovered':!0x0});return;}this[_0x56c593(0x1fc)]({'hovered':!0x1});}['triggerDblclick'](_0x9ed8ea){return!0x1;}[_0x32202a(0x180)](_0x2f14d5){const _0x571e23=_0x32202a;p[_0x571e23(0x172)]['drawWith'](_0x2f14d5,{'width':this[_0x571e23(0x1ce)],'height':this[_0x571e23(0x268)],'strokeWidth':Ct,'stroke':this[_0x571e23(0xf2)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x571e23(0x17b)]&&(_0x2f14d5[_0x571e23(0x28f)](),_0x2f14d5[_0x571e23(0x236)](0x1,0x0,0x0,0x1,this[_0x571e23(0x1ce)],this[_0x571e23(0xf3)]===_0x571e23(0x200)?0x0:-0x14),te[_0x571e23(0x192)](_0x2f14d5,{'text':this['_name'],'color':this['_color']}),_0x2f14d5['restore']());}}var pt=Object[_0x32202a(0x168)],bt=(_0x8aaf03,_0x396308,_0x112fed,_0x370ed1)=>{const _0x28d716=_0x32202a;for(var _0x38205c=_0x370ed1>0x1?void 0x0:_0x370ed1?pt(_0x396308,_0x112fed):_0x396308,_0x30b293=_0x8aaf03[_0x28d716(0xc8)]-0x1,_0x4890f2;_0x30b293>=0x0;_0x30b293--)(_0x4890f2=_0x8aaf03[_0x30b293])&&(_0x38205c=_0x4890f2(_0x38205c)||_0x38205c);return _0x38205c;},ce=(_0x490024,_0x53f216)=>(_0x25f353,_0x1cf949)=>_0x53f216(_0x25f353,_0x1cf949,_0x490024);const Et=0x1389;let Ie=class extends a[_0x32202a(0x31a)]{constructor(_0x1b9e7b,_0x543b7b,_0x3b422b,_0x17f878){const _0x393eb1=_0x32202a;super(),h(this,_0x393eb1(0x2d6),new Set()),h(this,_0x393eb1(0x1a9),null),(this[_0x393eb1(0x18f)]=_0x1b9e7b,this[_0x393eb1(0x1e2)]=_0x543b7b,this[_0x393eb1(0x2bb)]=_0x3b422b,this[_0x393eb1(0x185)]=_0x17f878,this[_0x393eb1(0x1d4)]());}['_init'](){const _0x597d98=_0x32202a;this[_0x597d98(0x1e2)][_0x597d98(0x114)]['pipe']($[_0x597d98(0x107)](this[_0x597d98(0x1d6)]),$[_0x597d98(0x21e)](_0x163fa1=>{const _0xf2b980=_0x597d98;if(_0x163fa1){const _0x3ec30d=_0x163fa1[_0xf2b980(0xdf)];return d['combineLatest'](this[_0xf2b980(0x2bb)]['getCollabCursors$'](this[_0xf2b980(0x18f)]['unitId']),this['_themeService']['currentTheme$'])[_0xf2b980(0x1d8)]($[_0xf2b980(0x2a1)](([_0x3e7b47,_0xd305e1])=>{const _0x3be53f=_0xf2b980,_0x112a72=new Map();return _0x3e7b47[_0x3be53f(0x207)]((_0x10b4f5,_0x407a70)=>{const _0x5bdb7b=_0x3be53f;if(_0x10b4f5['sheetID']===_0x3ec30d){const _0x3a8a33={..._0x10b4f5};_0x3a8a33['color']=_0xd305e1[_0x10b4f5[_0x5bdb7b(0xdb)]],_0x112a72[_0x5bdb7b(0x1cd)](_0x407a70,_0x3a8a33);}}),{'skeleton':_0x163fa1,'cursors':_0x112a72};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x597d98(0x2a6)](({skeleton:_0x35c861,cursors:_0x1e6813})=>{const _0x437f66=_0x597d98;this[_0x437f66(0x140)](),_0x35c861&&this[_0x437f66(0x14f)](_0x35c861,_0x1e6813);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x597d98(0x2a6)](_0x1312fa=>{const _0x7df9ab=_0x597d98;if(_0x1312fa==null)return;const {skeleton:_0x21b020}=_0x1312fa,{scene:_0x26a60e}=this['_context'];_0x26a60e[_0x7df9ab(0x2eb)][_0x7df9ab(0x2e2)](a[_0x7df9ab(0x19f)](_0x1bbf7f=>{const _0x334ab5=_0x7df9ab;var _0x477750,_0x467ad7;const {offsetX:_0x29feee,offsetY:_0x5cea6f}=_0x1bbf7f,{x:_0x210034,y:_0x5857c1}=_0x26a60e[_0x334ab5(0x1fd)](p['Vector2']['FromArray']([_0x29feee,_0x5cea6f])),{scaleX:_0xdc32c,scaleY:_0x43aacc}=_0x26a60e[_0x334ab5(0x221)](),_0x364678=_0x26a60e['getViewport'](p[_0x334ab5(0x271)][_0x334ab5(0x231)]),_0xf0469=_0x26a60e[_0x334ab5(0x327)](p[_0x334ab5(0x282)]['FromArray']([_0x210034,_0x5857c1]),_0x364678),_0x3d65a9=_0x21b020['getCellPositionByOffset'](_0x29feee,_0x5cea6f,_0xdc32c,_0x43aacc,_0xf0469);((_0x477750=this[_0x334ab5(0x1a9)])==null?void 0x0:_0x477750[_0x334ab5(0x195)])===_0x3d65a9[_0x334ab5(0x195)]&&((_0x467ad7=this[_0x334ab5(0x1a9)])==null?void 0x0:_0x467ad7[_0x334ab5(0x289)])===_0x3d65a9[_0x334ab5(0x289)]||this[_0x334ab5(0x2d6)][_0x334ab5(0x207)](_0x456c4d=>{const _0x5ed159=_0x334ab5;_0x456c4d[_0x5ed159(0x33b)](_0x3d65a9);});},0x64));});}['_updateCollabCursors'](_0x31e99d,_0x4dd79c){const _0x1d2583=_0x32202a;var _0xd6e0c9;const _0x54cecf=(_0xd6e0c9=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0xd6e0c9[_0x1d2583(0x2ba)];if(!_0x54cecf)return;const _0xb7bfaf=this['_getSheetObject']();if(!_0xb7bfaf)return;this[_0x1d2583(0x2d6)][_0x1d2583(0x207)](_0x2e4fbc=>{const _0xb1cd23=_0x1d2583;_0x2e4fbc[_0xb1cd23(0x197)]();});const {scene:_0x179c30}=_0xb7bfaf,_0x3e06d6=Tt(Array[_0x1d2583(0x312)](_0x4dd79c[_0x1d2583(0x127)]()))[_0x1d2583(0x2a1)](_0x3e3e23=>{const _0x251c31=_0x1d2583,{color:_0x1935a8,range:_0x305d0c,name:_0x41c807,selection:_0x2ac066,sheetID:_0x342c3e}=_0x3e3e23,{startColumn:_0x5059b0,startRow:_0xf34507,endColumn:_0x1e7c39,endRow:_0x567c0e}=_0x305d0c,_0x2ba7e8=G[_0x251c31(0x208)](_0xf34507,_0x5059b0,_0x179c30,_0x54cecf),_0x162bce=G[_0x251c31(0x208)](_0x567c0e,_0x1e7c39,_0x179c30,_0x54cecf),{columnHeaderHeightAndMarginTop:_0x3e40fe}=_0x54cecf,{startX:_0x2ed9d1,startY:_0x44e48a}=_0x2ba7e8,{endX:_0x5dfb27,endY:_0x2144a0}=_0x162bce,_0x11f0e2=_0x5dfb27-_0x2ed9d1,_0x8ceb62=_0x2144a0-_0x44e48a,_0x321d17={'labelPosition':_0x44e48a-_0x3e40fe>=K?_0x251c31(0x29b):_0x251c31(0x200),'sheetID':_0x342c3e,'range':_0x305d0c,'color':_0x1935a8,'name':_0x41c807,'selection':_0x2ac066,'left':_0x2ed9d1,'top':_0x44e48a,'width':_0x11f0e2,'height':_0x8ceb62,'evented':!0x1,'zIndex':Et};return new ye(_0x41c807,_0x321d17);});_0x179c30['addObjects'](_0x3e06d6,mt),this[_0x1d2583(0x2d6)]=new Set(_0x3e06d6);}[_0x32202a(0x140)](){const _0x2daa8b=_0x32202a;var _0x277aa4;(_0x277aa4=this['_cursors'])==null||_0x277aa4[_0x2daa8b(0x207)](_0x230e30=>_0x230e30[_0x2daa8b(0x2ad)]());}['_getSheetObject'](){const _0x4a998f=_0x32202a;return G[_0x4a998f(0x2c2)](this[_0x4a998f(0x18f)][_0x4a998f(0x1ad)],this[_0x4a998f(0x18f)]);}};Ie=bt([ce(0x1,a['Inject'](G[_0x32202a(0x15f)])),ce(0x2,a[_0x32202a(0xd6)](x)),ce(0x3,a[_0x32202a(0xd6)](a['ThemeService']))],Ie);function Tt(_0x18580b){const _0x3af6d7=_0x32202a,_0x203800=new Map();return _0x18580b[_0x3af6d7(0x207)](_0x55aabe=>{const _0x5e06b1=_0x3af6d7;if(_0x203800[_0x5e06b1(0x254)](_0x55aabe[_0x5e06b1(0x1d5)])){const _0x2d8f92=_0x203800[_0x5e06b1(0x1b5)](_0x55aabe[_0x5e06b1(0x1d5)]);_0x2d8f92[_0x5e06b1(0x101)]+=',\x20'+_0x55aabe[_0x5e06b1(0x101)];}else _0x203800[_0x5e06b1(0x1cd)](_0x55aabe[_0x5e06b1(0x1d5)],_0x55aabe);}),Array[_0x3af6d7(0x312)](_0x203800[_0x3af6d7(0x127)]());}var E=function(){const _0x51e19b=_0x32202a;return E=Object[_0x51e19b(0x20a)]||function(_0x548496){const _0x398c81=_0x51e19b;for(var _0x17d222,_0x3cf9d6=0x1,_0xc4c4d3=arguments['length'];_0x3cf9d6<_0xc4c4d3;_0x3cf9d6++){_0x17d222=arguments[_0x3cf9d6];for(var _0x4954d4 in _0x17d222)Object[_0x398c81(0x162)]['hasOwnProperty'][_0x398c81(0x15e)](_0x17d222,_0x4954d4)&&(_0x548496[_0x4954d4]=_0x17d222[_0x4954d4]);}return _0x548496;},E[_0x51e19b(0xcf)](this,arguments);},Rt=function(_0xab8974,_0x2ab917){const _0x42901e=_0x32202a;var _0x2b38ca={};for(var _0x4757a3 in _0xab8974)Object[_0x42901e(0x162)][_0x42901e(0x20e)][_0x42901e(0x15e)](_0xab8974,_0x4757a3)&&_0x2ab917[_0x42901e(0x26d)](_0x4757a3)<0x0&&(_0x2b38ca[_0x4757a3]=_0xab8974[_0x4757a3]);if(_0xab8974!=null&&typeof Object[_0x42901e(0x20c)]=='function'){for(var _0x534bdc=0x0,_0x4757a3=Object[_0x42901e(0x20c)](_0xab8974);_0x534bdc<_0x4757a3[_0x42901e(0xc8)];_0x534bdc++)_0x2ab917[_0x42901e(0x26d)](_0x4757a3[_0x534bdc])<0x0&&Object[_0x42901e(0x162)][_0x42901e(0x307)][_0x42901e(0x15e)](_0xab8974,_0x4757a3[_0x534bdc])&&(_0x2b38ca[_0x4757a3[_0x534bdc]]=_0xab8974[_0x4757a3[_0x534bdc]]);}return _0x2b38ca;},be=P[_0x32202a(0x1e6)](function(_0x300244,_0xaf71ee){const _0xcceb4d=_0x32202a;var _0xe31621=_0x300244[_0xcceb4d(0xf1)],_0x5ea08f=_0x300244['id'],_0x38c407=_0x300244[_0xcceb4d(0xd8)],_0x4f0d11=_0x300244[_0xcceb4d(0x1c1)],_0x49bf41=Rt(_0x300244,[_0xcceb4d(0xf1),'id',_0xcceb4d(0xd8),'extend']),_0x317ef5=_0xcceb4d(0x22b)[_0xcceb4d(0x2dd)](_0x5ea08f,'\x20')[_0xcceb4d(0x2dd)](_0x38c407||'')[_0xcceb4d(0x218)](),_0x1d4210=P['useRef']('_'['concat'](Ut()));return Ae(_0xe31621,''['concat'](_0x5ea08f),{'defIds':_0xe31621['defIds'],'idSuffix':_0x1d4210[_0xcceb4d(0x1e3)]},E({'ref':_0xaf71ee,'className':_0x317ef5},_0x49bf41),_0x4f0d11);});function Ae(_0x257006,_0x4c8b62,_0x5058b4,_0x27e2f6,_0x52b9e0){const _0x414a5d=_0x32202a;return P[_0x414a5d(0x292)](_0x257006[_0x414a5d(0x188)],E(E({'key':_0x4c8b62},Ot(_0x257006,_0x5058b4,_0x52b9e0)),_0x27e2f6),(Dt(_0x257006,_0x5058b4)[_0x414a5d(0x1c4)]||[])[_0x414a5d(0x2a1)](function(_0x33d216,_0x2c61c6){const _0x2f38eb=_0x414a5d;return Ae(_0x33d216,''[_0x2f38eb(0x2dd)](_0x4c8b62,'-')[_0x2f38eb(0x2dd)](_0x257006[_0x2f38eb(0x188)],'-')[_0x2f38eb(0x2dd)](_0x2c61c6),_0x5058b4,void 0x0,_0x52b9e0);}));}function Ot(_0x450cca,_0x403ea5,_0x39b32c){const _0x499a74=_0x32202a;var _0x1d5804=E({},_0x450cca['attrs']);_0x39b32c!=null&&_0x39b32c[_0x499a74(0x23e)]&&_0x1d5804[_0x499a74(0x212)]===_0x499a74(0x23e)&&(_0x1d5804['fill']=_0x39b32c[_0x499a74(0x23e)]),_0x450cca[_0x499a74(0x188)]===_0x499a74(0x269)&&_0x1d5804['id']&&(_0x1d5804['id']=_0x1d5804['id']+_0x403ea5[_0x499a74(0x301)]),Object['entries'](_0x1d5804)[_0x499a74(0x207)](function(_0x3f2689){const _0xe7a2db=_0x499a74;var _0x20e405=_0x3f2689[0x0],_0x15b85b=_0x3f2689[0x1];_0x20e405===_0xe7a2db(0x269)&&typeof _0x15b85b==_0xe7a2db(0xe9)&&(_0x1d5804[_0x20e405]=_0x15b85b[_0xe7a2db(0x232)](/url\(#(.*)\)/,_0xe7a2db(0x1f8)[_0xe7a2db(0x2dd)](_0x403ea5[_0xe7a2db(0x301)],')')));});var _0x614c7e=_0x403ea5['defIds'];return!_0x614c7e||_0x614c7e['length']===0x0||(_0x450cca[_0x499a74(0x188)]===_0x499a74(0x33d)&&_0x1d5804['xlink:href']&&(_0x1d5804['xlink:href']=_0x1d5804[_0x499a74(0x261)]+_0x403ea5[_0x499a74(0x301)]),Object[_0x499a74(0x316)](_0x1d5804)[_0x499a74(0x207)](function(_0x7868dc){const _0x465a54=_0x499a74;var _0x1f259f=_0x7868dc[0x0],_0x446062=_0x7868dc[0x1];typeof _0x446062==_0x465a54(0xe9)&&(_0x1d5804[_0x1f259f]=_0x446062[_0x465a54(0x232)](/url\(#(.*)\)/,_0x465a54(0x1f8)[_0x465a54(0x2dd)](_0x403ea5[_0x465a54(0x301)],')')));})),_0x1d5804;}function Dt(_0x496a9a,_0x35651c){const _0xeaa2d6=_0x32202a;var _0x48c0e3,_0x16864f=_0x35651c[_0xeaa2d6(0x1ed)];return!_0x16864f||_0x16864f[_0xeaa2d6(0xc8)]===0x0?_0x496a9a:_0x496a9a[_0xeaa2d6(0x188)]==='defs'&&(!((_0x48c0e3=_0x496a9a['children'])===null||_0x48c0e3===void 0x0)&&_0x48c0e3['length'])?E(E({},_0x496a9a),{'children':_0x496a9a[_0xeaa2d6(0x1c4)]['map'](function(_0x1ff554){const _0x410f57=_0xeaa2d6;return typeof _0x1ff554[_0x410f57(0x2d1)]['id']==_0x410f57(0xe9)&&_0x16864f&&_0x16864f[_0x410f57(0x26d)](_0x1ff554[_0x410f57(0x2d1)]['id'])>-0x1?E(E({},_0x1ff554),{'attrs':E(E({},_0x1ff554['attrs']),{'id':_0x1ff554[_0x410f57(0x2d1)]['id']+_0x35651c[_0x410f57(0x301)]})}):_0x1ff554;})}):_0x496a9a;}function Ut(){const _0x167ce1=_0x32202a;return Math[_0x167ce1(0x2d4)]()[_0x167ce1(0x182)](0x24)[_0x167ce1(0x323)](0x2,0x8);}be[_0x32202a(0x242)]=_0x32202a(0x2a0);var Mt={'tag':_0x32202a(0xfe),'attrs':{'fill':'none','viewBox':_0x32202a(0x1ea),'width':_0x32202a(0x12b),'height':_0x32202a(0x12b)},'children':[{'tag':'g','attrs':{'clipPath':_0x32202a(0x1e9)},'children':[{'tag':_0x32202a(0x11d),'attrs':{'stroke':'currentColor','d':_0x32202a(0x17e),'strokeLinecap':_0x32202a(0xe4),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x32202a(0x33c),'attrs':{'id':_0x32202a(0x238)},'children':[{'tag':_0x32202a(0x11d),'attrs':{'fill':'#fff','d':_0x32202a(0x32b)}}]}]}],'defIds':[_0x32202a(0x238)]},$e=P['forwardRef'](function(_0x532daf,_0x296b46){const _0x1dffa5=_0x32202a;return P[_0x1dffa5(0x292)](be,Object[_0x1dffa5(0x20a)]({},_0x532daf,{'id':'off-line-single','ref':_0x296b46,'icon':Mt}));});$e[_0x32202a(0x242)]='OffLineSingle';var Pt={'tag':_0x32202a(0xfe),'attrs':{'fill':_0x32202a(0x10e),'viewBox':_0x32202a(0x150),'width':_0x32202a(0x12b),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x32202a(0x304)},'children':[{'tag':_0x32202a(0x11d),'attrs':{'stroke':_0x32202a(0x14e),'d':_0x32202a(0x209),'strokeLinecap':_0x32202a(0xe4),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x32202a(0x33c),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x32202a(0x11d),'attrs':{'fill':_0x32202a(0x122),'d':'M0\x200H16V16H0z','transform':_0x32202a(0x110)}}]}]}],'defIds':[_0x32202a(0x10f)]},xe=P[_0x32202a(0x1e6)](function(_0x497084,_0x2d05df){const _0x17fbe6=_0x32202a;return P['createElement'](be,Object['assign']({},_0x497084,{'id':_0x17fbe6(0x278),'ref':_0x2d05df,'icon':Pt}));});xe['displayName']='OnLineSingle';const Nt=_0x32202a(0x1ef),wt='univer-online-status-title',Lt='univer-online-status',yt=_0x32202a(0x326),At=_0x32202a(0x2fb),H={'onlineStatusIcon':Nt,'onlineStatusTitle':wt,'onlineStatus':Lt,'online':yt,'offline':At};function $t(_0x2b2d5b){const _0x2f673f=_0x32202a;switch(_0x2b2d5b){case u[_0x2f673f(0x335)][_0x2f673f(0x219)]:return'collabStatus.offline';case u[_0x2f673f(0x335)][_0x2f673f(0x287)]:return _0x2f673f(0x1ee);case u['CollaborationStatus'][_0x2f673f(0x277)]:return _0x2f673f(0x1be);case u['CollaborationStatus'][_0x2f673f(0x17f)]:return _0x2f673f(0x19c);case u[_0x2f673f(0x335)][_0x2f673f(0x10c)]:case u[_0x2f673f(0x335)][_0x2f673f(0x266)]:return _0x2f673f(0x1de);case u['CollaborationStatus'][_0x2f673f(0x2fa)]:case u[_0x2f673f(0x335)][_0x2f673f(0xd5)]:return'collabStatus.synced';}}function je(_0x5da201){const _0x50371b=_0x32202a,{status$:_0x35a224}=_0x5da201,_0x2ab1f5=R[_0x50371b(0x294)](_0x35a224,u[_0x50371b(0x335)][_0x50371b(0x17f)]),_0x43595a=R['useDependency'](a['LocaleService']),_0x29567e=R[_0x50371b(0x31b)](u['CollaborationSessionService']),_0x52e09b=_0x2ab1f5!==u[_0x50371b(0x335)]['OFFLINE'],_0x1c2529=_0x43595a['t']($t(_0x2ab1f5)),_0xe668e3=T[_0x50371b(0x1e7)](H[_0x50371b(0x28e)],{[H['online']]:_0x52e09b,[H[_0x50371b(0x252)]]:!_0x52e09b}),_0x1b0c36=_0x52e09b?w[_0x50371b(0x324)](xe,{}):w[_0x50371b(0x324)]($e,{}),_0x4741f0=P[_0x50371b(0x1c8)](()=>{const _0x18a6fe=_0x50371b;_0x52e09b||_0x29567e[_0x18a6fe(0x333)]();},[_0x52e09b,_0x29567e]);function _0x425e0c(){const _0x76f295=_0x50371b;return w[_0x76f295(0x21f)](_0x76f295(0x1a7),{'className':T[_0x76f295(0x1e7)](_0xe668e3,_0x76f295(0x26e)),'onClick':_0x4741f0,'children':[w['jsx'](_0x76f295(0x1a7),{'className':H[_0x76f295(0x1fb)],'children':_0x1b0c36}),w['jsx'](_0x76f295(0x1a7),{'className':H[_0x76f295(0x16d)],'children':_0x1c2529})]});}return _0x52e09b?_0x425e0c():w[_0x50371b(0x324)](T['Tooltip'],{'title':_0x43595a['t'](_0x50371b(0x2c1)),'children':_0x425e0c()});}var xt=Object[_0x32202a(0x168)],jt=(_0x9e084f,_0x26f0fc,_0x31eb7b,_0x1cbf56)=>{const _0x37bf66=_0x32202a;for(var _0x5d0c6c=_0x1cbf56>0x1?void 0x0:_0x1cbf56?xt(_0x26f0fc,_0x31eb7b):_0x26f0fc,_0x14e0a2=_0x9e084f[_0x37bf66(0xc8)]-0x1,_0xa4cf83;_0x14e0a2>=0x0;_0x14e0a2--)(_0xa4cf83=_0x9e084f[_0x14e0a2])&&(_0x5d0c6c=_0xa4cf83(_0x5d0c6c)||_0x5d0c6c);return _0x5d0c6c;},V=(_0x294a54,_0x689c05)=>(_0x23bfec,_0x4156f2)=>_0x689c05(_0x23bfec,_0x4156f2,_0x294a54);exports[_0x32202a(0x18b)]=class extends a['Disposable']{constructor(_0x4fb698,_0x234b92,_0x374791,_0x55eb58){const _0x4eafe5=_0x32202a;super(),h(this,_0x4eafe5(0x24d),new d[(_0x4eafe5(0x144))](u[_0x4eafe5(0x335)][_0x4eafe5(0x17f)])),(this['_univerInstanceService']=_0x4fb698,this[_0x4eafe5(0x10b)]=_0x234b92,this[_0x4eafe5(0x336)]=_0x374791,this['_uiPartsService']=_0x55eb58,this[_0x4eafe5(0x14a)](),this[_0x4eafe5(0x26a)]());}[_0x32202a(0x26a)](){const _0x36a400=_0x32202a;this[_0x36a400(0x204)](this[_0x36a400(0x2d5)][_0x36a400(0xcb)][_0x36a400(0x1d8)](d[_0x36a400(0x21e)](()=>{const _0x3adc3b=_0x36a400,_0x516818=this[_0x3adc3b(0x2d5)]['getFocusedUnit']();return _0x516818?this[_0x3adc3b(0x336)]['getCollabEntity$'](_0x516818[_0x3adc3b(0x32e)]()):d['of'](null);}),d[_0x36a400(0x21e)](_0x2117dc=>_0x2117dc?_0x2117dc[_0x36a400(0x14d)]:d['of'](u['CollaborationStatus'][_0x36a400(0x17f)])))[_0x36a400(0x2a6)](_0x58a994=>{const _0x31d23f=_0x36a400;this[_0x31d23f(0x24d)]['next'](_0x58a994);}));}['_initStatusComponent'](){const _0x5d9d12=_0x32202a;this[_0x5d9d12(0x204)](this[_0x5d9d12(0x138)]['registerComponent'](R[_0x5d9d12(0x2a5)]['HEADER_MENU'],()=>R[_0x5d9d12(0x105)](kt({'status$':this['_status$'][_0x5d9d12(0x237)]()}),this[_0x5d9d12(0x10b)])));}},exports[_0x32202a(0x18b)]=jt([V(0x0,a[_0x32202a(0x227)]),V(0x1,a[_0x32202a(0xd6)](a[_0x32202a(0x119)])),V(0x2,a[_0x32202a(0xd6)](u[_0x32202a(0x19b)])),V(0x3,R[_0x32202a(0x15d)])],exports[_0x32202a(0x18b)]);function kt(_0x43c241){const {status$:_0x576d91}=_0x43c241;return function(){return w['jsx'](je,{'status$':_0x576d91});};}var Bt=Object['getOwnPropertyDescriptor'],Ht=(_0x1d4ba2,_0x28cd1d,_0x18b5e5,_0x2fa81)=>{const _0x23e1b8=_0x32202a;for(var _0x3d0659=_0x2fa81>0x1?void 0x0:_0x2fa81?Bt(_0x28cd1d,_0x18b5e5):_0x28cd1d,_0x38e0b7=_0x1d4ba2[_0x23e1b8(0xc8)]-0x1,_0x58059d;_0x38e0b7>=0x0;_0x38e0b7--)(_0x58059d=_0x1d4ba2[_0x38e0b7])&&(_0x3d0659=_0x58059d(_0x3d0659)||_0x3d0659);return _0x3d0659;},A=(_0x2ed17c,_0x266ec2)=>(_0x35a273,_0x49cfe7)=>_0x266ec2(_0x35a273,_0x49cfe7,_0x2ed17c);let z=class extends a[_0x32202a(0x126)]{constructor(_0x2dce66,_0x223cf5,_0x5e249a,_0x53178b,_0x4538ba,_0x2926e3){const _0x1db6fd=_0x32202a;super(),this[_0x1db6fd(0x1c2)]=_0x2dce66,this[_0x1db6fd(0x274)]=_0x223cf5,this['_collaborationUIEventService']=_0x5e249a,this[_0x1db6fd(0x2f1)]=_0x53178b,this['_notificationService']=_0x4538ba,this[_0x1db6fd(0x2b7)]=_0x2926e3,this[_0x1db6fd(0x19e)](),this[_0x1db6fd(0x23a)]();}[_0x32202a(0x19e)](){const _0x5bfdc1=_0x32202a;this[_0x5bfdc1(0x204)](this[_0x5bfdc1(0x1c2)]['registerBeforeClose'](()=>{const _0x5acf33=_0x5bfdc1;if(this[_0x5acf33(0x274)][_0x5acf33(0x1c3)]['size'])return this[_0x5acf33(0x2b7)]['t'](_0x5acf33(0xce));}));}['_initEvent'](){const _0xf7063f=_0x32202a;this[_0xf7063f(0x204)](this[_0xf7063f(0x2a2)][_0xf7063f(0x30e)][_0xf7063f(0x2a6)](_0x125cc0=>{const _0x4f2ce0=_0xf7063f;_0x125cc0['id']===u[_0x4f2ce0(0x2b8)][_0x4f2ce0(0x19a)]&&this[_0x4f2ce0(0x2f1)][_0x4f2ce0(0x154)]({'type':T['MessageType'][_0x4f2ce0(0x1b0)],'content':this[_0x4f2ce0(0x2b7)]['t'](_0x4f2ce0(0x1c5))}),_0x125cc0['id']===u[_0x4f2ce0(0x2b8)][_0x4f2ce0(0x325)]&&this['_messageService'][_0x4f2ce0(0x154)]({'type':T[_0x4f2ce0(0x193)][_0x4f2ce0(0x1b0)],'content':this[_0x4f2ce0(0x2b7)]['t']('collaboration.closeRoom')}),_0x125cc0['id']===u[_0x4f2ce0(0x2b8)][_0x4f2ce0(0x131)]&&this[_0x4f2ce0(0x1a1)][_0x4f2ce0(0x154)]({'title':this['_localeService']['t'](_0x4f2ce0(0x32a)),'content':this['_localeService']['t'](_0x4f2ce0(0x1c9)),'type':_0x4f2ce0(0xe0),'duration':0x0}),_0x125cc0['id']===u[_0x4f2ce0(0x2b8)][_0x4f2ce0(0x287)]&&this[_0x4f2ce0(0x2f1)][_0x4f2ce0(0x154)]({'type':T[_0x4f2ce0(0x193)]['Error'],'content':this[_0x4f2ce0(0x2b7)]['t'](_0x4f2ce0(0xf8))+'('+_0x125cc0['data']+')'}),_0x125cc0['id']===u[_0x4f2ce0(0x2b8)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x4f2ce0(0x154)]({'type':T[_0x4f2ce0(0x193)][_0x4f2ce0(0x1b0)],'content':this['_localeService']['t'](_0x125cc0['data']||'')}),_0x125cc0['id']===u[_0x4f2ce0(0x2b8)][_0x4f2ce0(0x299)]&&this[_0x4f2ce0(0x2f1)][_0x4f2ce0(0x154)]({'type':T[_0x4f2ce0(0x193)][_0x4f2ce0(0x1b0)],'content':this['_localeService']['t'](_0x4f2ce0(0x1ae))}),_0x125cc0['id']===u['CollaborationUIEventId'][_0x4f2ce0(0x313)]&&this['_messageService']['show']({'type':T[_0x4f2ce0(0x193)][_0x4f2ce0(0x1e0)],'content':this['_localeService']['t'](_0x4f2ce0(0x2f4))}),_0x125cc0['id']===u[_0x4f2ce0(0x2b8)][_0x4f2ce0(0x303)]&&this[_0x4f2ce0(0x2f1)][_0x4f2ce0(0x154)]({'type':T[_0x4f2ce0(0x193)]['Error'],'content':this[_0x4f2ce0(0x2b7)]['t'](_0x4f2ce0(0x291))});}));}};z=Ht([A(0x0,R[_0x32202a(0x139)]),A(0x1,u[_0x32202a(0x18a)]),A(0x2,a[_0x32202a(0xd6)](u[_0x32202a(0x280)])),A(0x3,R[_0x32202a(0x23b)]),A(0x4,R[_0x32202a(0x26f)]),A(0x5,a['Inject'](a['LocaleService']))],z);const Wt=_0x32202a(0x166),Me={},Ee=a[_0x32202a(0x220)](_0x32202a(0x270));var Ft=Object['getOwnPropertyDescriptor'],Yt=(_0x34a51b,_0x2342ec,_0x33e014,_0x5430dc)=>{const _0x420ecd=_0x32202a;for(var _0x108632=_0x5430dc>0x1?void 0x0:_0x5430dc?Ft(_0x2342ec,_0x33e014):_0x2342ec,_0x57bd8f=_0x34a51b[_0x420ecd(0xc8)]-0x1,_0x3fb458;_0x57bd8f>=0x0;_0x57bd8f--)(_0x3fb458=_0x34a51b[_0x57bd8f])&&(_0x108632=_0x3fb458(_0x108632)||_0x108632);return _0x108632;},W=(_0x135462,_0x35e3a0)=>(_0x342e6a,_0x56e982)=>_0x35e3a0(_0x342e6a,_0x56e982,_0x135462);exports[_0x32202a(0x329)]=class extends a[_0x32202a(0x31a)]{constructor(_0x2eb9b9,_0x50eed1,_0x2d604e,_0x51d1dc,_0x3ec362){const _0x16444d=_0x32202a;super(),this['_urlService']=_0x2eb9b9,this['_logService']=_0x50eed1,this[_0x16444d(0x340)]=_0x2d604e,this[_0x16444d(0x159)]=_0x51d1dc,_0x3ec362?_0x3ec362==null||_0x3ec362[_0x16444d(0x201)]()[_0x16444d(0x283)](()=>this['_init']()):(this[_0x16444d(0x20b)][_0x16444d(0x328)](_0x16444d(0x1b2),_0x16444d(0x2e7)),this[_0x16444d(0x1d4)]());}async[_0x32202a(0x1d4)](){const _0xcee6cf=_0x32202a,_0x3e5f1f=this[_0xcee6cf(0x22c)]['getParam']('unit'),_0x359987=this['_urlService'][_0xcee6cf(0x2cf)](_0xcee6cf(0x308)),_0xdf25ee=this[_0xcee6cf(0x22c)][_0xcee6cf(0x2cf)](_0xcee6cf(0x341));if(!_0x3e5f1f||!_0x359987){this['_logService'][_0xcee6cf(0x328)](_0xcee6cf(0x1b2),_0xcee6cf(0xd9));return;}const _0x84eea6=await this[_0xcee6cf(0x159)][_0xcee6cf(0x255)](_0x3e5f1f,Number(_0x359987),_0xdf25ee);_0x84eea6&&_0x84eea6 instanceof a['Workbook']&&this[_0xcee6cf(0x2fd)](_0x84eea6);}async[_0x32202a(0x2fd)](_0x40b847){const _0x5496f1=_0x32202a;await this['_updateSubUnitFromURLParams'](_0x40b847),_0x40b847[_0x5496f1(0x2ef)][_0x5496f1(0x1d8)](d['takeUntil'](this['dispose$']))['subscribe'](_0x1b9dca=>{const _0x1d8486=_0x5496f1;_0x1b9dca&&this[_0x1d8486(0x181)](_0x1b9dca);}),this[_0x5496f1(0x22c)][_0x5496f1(0x2f2)][_0x5496f1(0x1d8)](d['takeUntil'](this['dispose$']))['subscribe'](()=>this[_0x5496f1(0x1a4)](_0x40b847));}[_0x32202a(0x181)](_0x3343c2,_0x54e3e9=!0x1){const _0x5426a1=_0x32202a,_0x1633d1=this[_0x5426a1(0x22c)][_0x5426a1(0x2cf)]('subunit');_0x3343c2[_0x5426a1(0x258)]()!==_0x1633d1&&this['_urlService']['setParam'](_0x5426a1(0x341),_0x3343c2['getSheetId'](),_0x54e3e9);}async[_0x32202a(0x1a4)](_0x455daa){const _0x41b924=_0x32202a;var _0x80c9e6;const _0x42bb0c=this['_urlService'][_0x41b924(0x2cf)](_0x41b924(0x341));if(!_0x42bb0c||!_0x455daa[_0x41b924(0xe3)](_0x42bb0c)){const _0x1843aa=_0x455daa[_0x41b924(0x141)]()[0x0],_0x2309d4=_0x455daa[_0x41b924(0xe3)](_0x1843aa);if(!_0x2309d4)return;this['_updateURLWithCurrentState'](_0x2309d4,!0x0),await this[_0x41b924(0x340)]['executeCommand'](I[_0x41b924(0x27a)]['id'],{'unitId':_0x455daa[_0x41b924(0x32e)](),'subUnitId':_0x1843aa});return;}((_0x80c9e6=_0x455daa['getActiveSheet']())==null?void 0x0:_0x80c9e6[_0x41b924(0x258)]())!==_0x42bb0c&&await this['_commandService']['executeCommand'](I['SetWorksheetActivateCommand']['id'],{'unitId':_0x455daa[_0x41b924(0x32e)](),'subUnitId':_0x42bb0c});}},exports[_0x32202a(0x329)]=Yt([W(0x0,Ee),W(0x1,a[_0x32202a(0x2be)]),W(0x2,a[_0x32202a(0x2f7)]),W(0x3,a[_0x32202a(0xd6)](u[_0x32202a(0x21a)])),W(0x4,a['Optional'](Ke[_0x32202a(0x20d)]))],exports[_0x32202a(0x329)]);var Xt=Object['getOwnPropertyDescriptor'],Vt=(_0x22bb9a,_0xf3d4b9,_0xa87cab,_0x4eec6d)=>{for(var _0x489fe5=_0x4eec6d>0x1?void 0x0:_0x4eec6d?Xt(_0xf3d4b9,_0xa87cab):_0xf3d4b9,_0xc2eed1=_0x22bb9a['length']-0x1,_0x29b7f6;_0xc2eed1>=0x0;_0xc2eed1--)(_0x29b7f6=_0x22bb9a[_0xc2eed1])&&(_0x489fe5=_0x29b7f6(_0x489fe5)||_0x489fe5);return _0x489fe5;},le=(_0x1e8d1d,_0x1a3d4b)=>(_0x55da3a,_0x3cbf5e)=>_0x1a3d4b(_0x55da3a,_0x3cbf5e,_0x1e8d1d);let J=class{constructor(_0x530546,_0x360989,_0x5ab928){const _0x1fb9ce=_0x32202a;this[_0x1fb9ce(0x10b)]=_0x530546,this[_0x1fb9ce(0xdc)]=_0x360989,this[_0x1fb9ce(0x1ab)]=_0x5ab928;}['transformIMECache'](_0x74f5dd){const _0x5b446e=_0x32202a;this[_0x5b446e(0x1f0)](_0x74f5dd),this[_0x5b446e(0x2fc)](_0x74f5dd);}[_0x32202a(0x2e3)](_0x259e17){const _0x128199=_0x32202a,{unitID:_0x2eae2a}=_0x259e17,_0x36b8c1=this['_renderManagerService'][_0x128199(0x1df)](_0x2eae2a)[_0x128199(0x276)](b[_0x128199(0x25a)]),{redoCache:_0x159910}=_0x36b8c1[_0x128199(0x30a)]();if(_0x159910[_0x128199(0xc8)]===0x0)return _0x259e17;let _0x1fc410=a[_0x128199(0x1a5)][_0x128199(0x2b5)](_0x259e17[_0x128199(0x22f)][0x0]);for(let _0x349812=0x0;_0x349812<_0x159910['length'];_0x349812++){const _0x4f8119={'id':_0x128199(0x183),'params':{..._0x159910[_0x349812]}},_0x30ffd4=this['_transformService'][_0x128199(0x113)](_0x1fc410,_0x4f8119,!0x1);if(m[_0x128199(0xfd)](_0x30ffd4))throw _0x30ffd4[_0x128199(0xe0)];_0x1fc410=_0x30ffd4['m1Prime'];}return{...a[_0x128199(0x1a5)]['deepClone'](_0x259e17),'mutations':[_0x1fc410]};}[_0x32202a(0x1f0)](_0xbbfbb4){const _0x15e8fa=_0x32202a,{unitID:_0x3e0002}=_0xbbfbb4,_0x7d727=this[_0x15e8fa(0x1ab)][_0x15e8fa(0x1df)](_0x3e0002)[_0x15e8fa(0x276)](b['DocIMEInputManagerService']),{undoCache:_0x2e37a0,redoCache:_0x520a49}=_0x7d727[_0x15e8fa(0x30a)]();if(_0x2e37a0[_0x15e8fa(0xc8)]===0x0||_0x520a49['length']===0x0)return;const _0x32ab5d=[],_0x223be7=[];let _0x347802=a[_0x15e8fa(0x1a5)][_0x15e8fa(0x2b5)](_0xbbfbb4[_0x15e8fa(0x22f)][0x0]),_0x575a1e=a[_0x15e8fa(0x1a5)][_0x15e8fa(0x2b5)](_0xbbfbb4[_0x15e8fa(0x22f)][0x0]);for(let _0x41df89=_0x2e37a0['length']-0x1;_0x41df89>=0x0;_0x41df89--){const _0x52f408={'id':_0x15e8fa(0x183),'params':{..._0x2e37a0[_0x41df89]}},_0x1af212={'id':'doc.mutation.rich-text-editing','params':{..._0x520a49[_0x41df89]}},_0x2d83fe=this['_transformService']['transformMutation'](_0x347802,_0x52f408,!0x1),_0x20dd1f=this[_0x15e8fa(0xdc)][_0x15e8fa(0x113)](_0x575a1e,_0x1af212,!0x1);if(m[_0x15e8fa(0xfd)](_0x2d83fe))throw _0x2d83fe[_0x15e8fa(0xe0)];if(m[_0x15e8fa(0xfd)](_0x20dd1f))throw _0x20dd1f['error'];_0x32ab5d[_0x15e8fa(0x160)](_0x2d83fe[_0x15e8fa(0x1b4)]['params']),_0x223be7[_0x15e8fa(0x160)](_0x20dd1f['m2Prime']['params']),_0x347802=_0x2d83fe[_0x15e8fa(0x33e)],_0x575a1e=_0x20dd1f[_0x15e8fa(0x33e)];}_0x7d727[_0x15e8fa(0xcc)]({'undoCache':_0x32ab5d,'redoCache':_0x223be7});}[_0x32202a(0x2fc)](_0xc5261e){const _0x2f21f4=_0x32202a,{unitID:_0xc4d821}=_0xc5261e,_0x5f0cf2=this['_renderManagerService']['getRenderById'](_0xc4d821)[_0x2f21f4(0x276)](b[_0x2f21f4(0x25a)]),_0x1edcc2=_0x5f0cf2[_0x2f21f4(0x296)]();if(_0x1edcc2==null)return;const _0x2c9319=[{'id':_0x2f21f4(0x183),'params':{'unitId':_0xc5261e[_0x2f21f4(0x243)],'actions':null,'textRanges':[_0x1edcc2]}}],_0x44d02f=this[_0x2f21f4(0xdc)][_0x2f21f4(0x23c)](_0xc5261e,_0x2c9319);if(!m[_0x2f21f4(0x32c)](_0x44d02f))throw _0x44d02f[_0x2f21f4(0xe0)];const _0x13bbd0=_0x44d02f[_0x2f21f4(0x1b4)][0x0]['params'][_0x2f21f4(0x135)];Array['isArray'](_0x13bbd0)&&_0x13bbd0[_0x2f21f4(0xc8)]&&_0x5f0cf2['setActiveRange'](_0x13bbd0[0x0]);}};J=Vt([le(0x0,a[_0x32202a(0xd6)](a[_0x32202a(0x119)])),le(0x1,m['ITransformService']),le(0x2,p[_0x32202a(0xd4)])],J);var Gt=Object['getOwnPropertyDescriptor'],qt=(_0x2c1703,_0x3fbd31,_0x3958da,_0x38f022)=>{const _0x137e08=_0x32202a;for(var _0x59381d=_0x38f022>0x1?void 0x0:_0x38f022?Gt(_0x3fbd31,_0x3958da):_0x3fbd31,_0x545f68=_0x2c1703[_0x137e08(0xc8)]-0x1,_0x499c21;_0x545f68>=0x0;_0x545f68--)(_0x499c21=_0x2c1703[_0x545f68])&&(_0x59381d=_0x499c21(_0x59381d)||_0x59381d);return _0x59381d;},he=(_0x4a562c,_0x47c9d8)=>(_0xc94373,_0x2539f5)=>_0x47c9d8(_0xc94373,_0x2539f5,_0x4a562c);let Z=class{constructor(_0xb3d35c,_0x24adfa,_0x2789f2){const _0x101f9c=_0x32202a;this[_0x101f9c(0x10b)]=_0xb3d35c,this[_0x101f9c(0xdc)]=_0x24adfa,this[_0x101f9c(0x2e6)]=_0x2789f2;}['transformStateCache'](_0x5eae2d){this['_transformHistoryAndStateStack'](_0x5eae2d);}[_0x32202a(0x2e3)](_0x42cce6){const _0x5e2706=_0x32202a,{unitID:_0x25c22c}=_0x42cce6,{collaboration:_0x52bb8b}=this[_0x5e2706(0x2e6)][_0x5e2706(0x1f6)](_0x25c22c);if(_0x52bb8b[_0x5e2706(0xc8)]===0x0)return _0x42cce6;let _0x159db7=a['Tools'][_0x5e2706(0x2b5)](_0x42cce6[_0x5e2706(0x22f)][0x0]);for(let _0x4cfe13=0x0;_0x4cfe13<_0x52bb8b[_0x5e2706(0xc8)];_0x4cfe13++){const _0x3f80a1={'id':_0x5e2706(0x183),'params':{'unitId':_0x52bb8b[_0x4cfe13]['unitId'],..._0x52bb8b[_0x4cfe13]['redoState']}},_0xb72bd4=this[_0x5e2706(0xdc)][_0x5e2706(0x113)](_0x159db7,_0x3f80a1,!0x1);if(m[_0x5e2706(0xfd)](_0xb72bd4))throw _0xb72bd4[_0x5e2706(0xe0)];_0x159db7=_0xb72bd4[_0x5e2706(0x33e)];}return{...a[_0x5e2706(0x1a5)][_0x5e2706(0x2b5)](_0x42cce6),'mutations':[_0x159db7]};}['_transformHistoryAndStateStack'](_0x3b8cd8){const _0x2dfa38=_0x32202a,{unitID:_0x5135e7}=_0x3b8cd8,{history:_0x2ba009,collaboration:_0x140932}=this['_docStateChangeManagerService']['getStateCache'](_0x5135e7);if(_0x2ba009['length']===0x0&&_0x140932[_0x2dfa38(0xc8)]===0x0)return;const _0x2ea4a5=[],_0x123e95=[];let _0x718484=a[_0x2dfa38(0x1a5)][_0x2dfa38(0x2b5)](_0x3b8cd8[_0x2dfa38(0x22f)][0x0]),_0x268ec1=a[_0x2dfa38(0x1a5)]['deepClone'](_0x3b8cd8[_0x2dfa38(0x22f)][0x0]);for(let _0x12966f=_0x2ba009[_0x2dfa38(0xc8)]-0x1;_0x12966f>=0x0;_0x12966f--){const _0x1bee95={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2ba009[_0x12966f][_0x2dfa38(0x332)],..._0x2ba009[_0x12966f]['undoState']}},_0x282c2a={'id':_0x2dfa38(0x183),'params':{'unitId':_0x2ba009[_0x12966f][_0x2dfa38(0x332)],..._0x2ba009[_0x12966f][_0x2dfa38(0x2cd)]}},_0xdbfc6e=this[_0x2dfa38(0xdc)]['transformMutation'](_0x718484,_0x1bee95,!0x1),_0x433cdb=this[_0x2dfa38(0xdc)]['transformMutation'](_0x268ec1,_0x282c2a,!0x1);if(m[_0x2dfa38(0xfd)](_0xdbfc6e))throw _0xdbfc6e['error'];if(m[_0x2dfa38(0xfd)](_0x433cdb))throw _0x433cdb[_0x2dfa38(0xe0)];_0x2ea4a5[_0x2dfa38(0x160)]({..._0x2ba009[_0x12966f],'undoState':_0xdbfc6e[_0x2dfa38(0x1b4)]['params'],'redoState':_0x433cdb[_0x2dfa38(0x1b4)][_0x2dfa38(0xef)]}),_0x718484=_0xdbfc6e[_0x2dfa38(0x33e)],_0x268ec1=_0x433cdb[_0x2dfa38(0x33e)];}_0x718484=a[_0x2dfa38(0x1a5)][_0x2dfa38(0x2b5)](_0x3b8cd8[_0x2dfa38(0x22f)][0x0]),_0x268ec1=a[_0x2dfa38(0x1a5)]['deepClone'](_0x3b8cd8['mutations'][0x0]);for(let _0x23fe09=_0x140932[_0x2dfa38(0xc8)]-0x1;_0x23fe09>=0x0;_0x23fe09--){const _0x3ed40c={'id':_0x2dfa38(0x183),'params':{'unitId':_0x140932[_0x23fe09]['unitId'],..._0x140932[_0x23fe09][_0x2dfa38(0x25f)]}},_0x1a21a6={'id':_0x2dfa38(0x183),'params':{'unitId':_0x140932[_0x23fe09][_0x2dfa38(0x332)],..._0x140932[_0x23fe09][_0x2dfa38(0x2cd)]}},_0x4f2568=this[_0x2dfa38(0xdc)][_0x2dfa38(0x113)](_0x718484,_0x3ed40c,!0x1),_0x418536=this[_0x2dfa38(0xdc)][_0x2dfa38(0x113)](_0x268ec1,_0x1a21a6,!0x1);if(m[_0x2dfa38(0xfd)](_0x4f2568))throw _0x4f2568[_0x2dfa38(0xe0)];if(m[_0x2dfa38(0xfd)](_0x418536))throw _0x418536['error'];_0x123e95['unshift']({..._0x140932[_0x23fe09],'undoState':_0x4f2568[_0x2dfa38(0x1b4)][_0x2dfa38(0xef)],'redoState':_0x418536[_0x2dfa38(0x1b4)][_0x2dfa38(0xef)]}),_0x718484=_0x4f2568['m1Prime'],_0x268ec1=_0x418536[_0x2dfa38(0x33e)];}this['_docStateChangeManagerService'][_0x2dfa38(0x24c)](_0x5135e7,{'history':_0x2ea4a5,'collaboration':_0x123e95});}};Z=qt([he(0x0,a[_0x32202a(0xd6)](a[_0x32202a(0x119)])),he(0x1,m[_0x32202a(0x15c)]),he(0x2,a[_0x32202a(0xd6)](b[_0x32202a(0x173)]))],Z);var Kt=Object['getOwnPropertyDescriptor'],zt=(_0x52c571,_0x3fa631,_0x41791f,_0x32693f)=>{const _0x52c53e=_0x32202a;for(var _0x15a521=_0x32693f>0x1?void 0x0:_0x32693f?Kt(_0x3fa631,_0x41791f):_0x3fa631,_0x450d7e=_0x52c571[_0x52c53e(0xc8)]-0x1,_0x362264;_0x450d7e>=0x0;_0x450d7e--)(_0x362264=_0x52c571[_0x450d7e])&&(_0x15a521=_0x362264(_0x15a521)||_0x15a521);return _0x15a521;},Pe=(_0x38d505,_0x456d0c)=>(_0x4f56c1,_0x261ec0)=>_0x456d0c(_0x4f56c1,_0x261ec0,_0x38d505);let Q=class{constructor(_0x3306dd,_0x3ce018){const _0x1281bb=_0x32202a;this[_0x1281bb(0x10b)]=_0x3306dd,this[_0x1281bb(0xdc)]=_0x3ce018;}['transformSelections'](_0x4278f1){const _0x35b5c2=_0x32202a;var _0x2ad283;const _0x5ae171=this[_0x35b5c2(0x10b)]['get'](Y[_0x35b5c2(0x223)]),_0x575a45=(_0x2ad283=_0x5ae171[_0x35b5c2(0x1db)]())!=null?_0x2ad283:[];if(_0x575a45[_0x35b5c2(0xc8)]===0x0)return;const _0xac1106=_0x4278f1[_0x35b5c2(0x243)],_0x5bbb8f=[{'id':_0x35b5c2(0x183),'params':{'unitId':_0xac1106,'actions':null,'textRanges':_0x575a45}}],_0x421ef4=this['_transformService'][_0x35b5c2(0x23c)](_0x4278f1,_0x5bbb8f);if(!m[_0x35b5c2(0x32c)](_0x421ef4))throw _0x421ef4[_0x35b5c2(0xe0)];const _0x4a8234=_0x421ef4[_0x35b5c2(0x1b4)][0x0]['params'][_0x35b5c2(0x135)];Array[_0x35b5c2(0x2e5)](_0x4a8234)&&_0x4a8234[_0x35b5c2(0xc8)]&&_0x5ae171[_0x35b5c2(0xda)](_0x4a8234,{'unitId':_0xac1106,'subUnitId':_0xac1106},!0x1);}};Q=zt([Pe(0x0,a[_0x32202a(0xd6)](a[_0x32202a(0x119)])),Pe(0x1,m[_0x32202a(0x15c)])],Q);var Jt=Object[_0x32202a(0x168)],Zt=(_0x21c06d,_0x1fcb3e,_0x5a6e03,_0x2a677f)=>{const _0x212b58=_0x32202a;for(var _0x51d843=_0x2a677f>0x1?void 0x0:_0x2a677f?Jt(_0x1fcb3e,_0x5a6e03):_0x1fcb3e,_0x5ddb53=_0x21c06d[_0x212b58(0xc8)]-0x1,_0x13fc9e;_0x5ddb53>=0x0;_0x5ddb53--)(_0x13fc9e=_0x21c06d[_0x5ddb53])&&(_0x51d843=_0x13fc9e(_0x51d843)||_0x51d843);return _0x51d843;},M=(_0x3bb4e5,_0x2cfee9)=>(_0xea2b94,_0x4b2019)=>_0x2cfee9(_0xea2b94,_0x4b2019,_0x3bb4e5);let ee=class extends a[_0x32202a(0x126)]{constructor(_0x200668,_0x580f2f,_0xe1f273,_0x3b845d,_0x329531,_0x4578b4,_0x209ba6,_0xd21587){const _0x183b97=_0x32202a;super(),h(this,_0x183b97(0x24d),new d[(_0x183b97(0x144))](u[_0x183b97(0x335)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x200668,this['_collaborationController']=_0x580f2f,this[_0x183b97(0x102)]=_0xe1f273,this[_0x183b97(0x1cb)]=_0x3b845d,this[_0x183b97(0x28d)]=_0x329531,this[_0x183b97(0x253)]=_0x4578b4,this[_0x183b97(0x2f1)]=_0x209ba6,this['_localeService']=_0xd21587,this[_0x183b97(0x19d)]());}[_0x32202a(0x19d)](){const _0x241ced=_0x32202a;this['disposeWithMe'](this[_0x241ced(0x336)][_0x241ced(0x176)]['subscribe'](_0xa19d72=>{const _0x1f02ad=_0x241ced,_0x977704=this[_0x1f02ad(0x2e6)][_0x1f02ad(0x213)][_0x1f02ad(0x2a6)](_0x294297=>{const _0x26d8c7=_0x1f02ad;if(_0x294297==null)return;const {unitId:_0x4b98ac,redoState:_0x320c3b,commandId:_0x57db7b}=_0x294297;if(_0x4b98ac!==_0xa19d72[_0x26d8c7(0x243)])return;const _0x1abba3={'id':_0x57db7b,'type':a[_0x26d8c7(0x1f4)]['MUTATION'],'params':{'unitId':_0x4b98ac,'actions':_0x320c3b[_0x26d8c7(0x311)],'textRanges':null}};_0xa19d72[_0x26d8c7(0x1cf)](_0x1abba3);});if(_0xa19d72[_0x1f02ad(0x204)](_0x977704),_0xa19d72 instanceof u[_0x1f02ad(0x1b9)]){const _0xb30932={'onTransformIME':_0x13870c=>this[_0x1f02ad(0x102)][_0x1f02ad(0x228)](_0x13870c),'onTransformState':_0x546d9e=>this[_0x1f02ad(0x1cb)][_0x1f02ad(0x2d0)](_0x546d9e),'onTransformSelections':_0xcdeb58=>this[_0x1f02ad(0x28d)]['transformSelections'](_0xcdeb58),'onSyncEditingCollabCursor':_0xde6c8e=>this['_docSyncEditingCollabCursorService'][_0x1f02ad(0x250)](_0xde6c8e),'onTransformRemoteChangesetByIMECache':_0x4bba23=>this[_0x1f02ad(0x102)][_0x1f02ad(0x2e3)](_0x4bba23),'onTransformRemoteChangesetByStateCache':_0x379409=>this[_0x1f02ad(0x1cb)][_0x1f02ad(0x2e3)](_0x379409)};_0xa19d72[_0x1f02ad(0x187)](_0xb30932);}}));}};ee=Zt([M(0x0,a[_0x32202a(0xd6)](b[_0x32202a(0x173)])),M(0x1,a[_0x32202a(0xd6)](u[_0x32202a(0x19b)])),M(0x2,a['Inject'](J)),M(0x3,a[_0x32202a(0xd6)](Z)),M(0x4,a['Inject'](Q)),M(0x5,a[_0x32202a(0xd6)](pe)),M(0x6,R[_0x32202a(0x23b)]),M(0x7,a['Inject'](a['LocaleService']))],ee);var Qt=Object[_0x32202a(0x168)],es=(_0x127027,_0x5ee3bb,_0xdf927,_0x55df2d)=>{const _0x2468cf=_0x32202a;for(var _0x4150fb=_0x55df2d>0x1?void 0x0:_0x55df2d?Qt(_0x5ee3bb,_0xdf927):_0x5ee3bb,_0x38e095=_0x127027[_0x2468cf(0xc8)]-0x1,_0x27936d;_0x38e095>=0x0;_0x38e095--)(_0x27936d=_0x127027[_0x38e095])&&(_0x4150fb=_0x27936d(_0x4150fb)||_0x4150fb);return _0x4150fb;},_e=(_0x2198b3,_0x42a06d)=>(_0x3718ef,_0xf2e19)=>_0x42a06d(_0x3718ef,_0xf2e19,_0x2198b3);let me=class extends a[_0x32202a(0x126)]{constructor(_0x1c7da3,_0x2bc8c,_0x48104f){const _0x9a5980=_0x32202a;super(),h(this,_0x9a5980(0x2c4),new Map()),h(this,_0x9a5980(0x297),new Map()),h(this,_0x9a5980(0x152),!0x1),(this[_0x9a5980(0x2b9)]=_0x1c7da3,this[_0x9a5980(0x2c7)]=_0x2bc8c,this['_revisionService']=_0x48104f);}[_0x32202a(0x16c)](){const _0x2a5022=_0x32202a;this[_0x2a5022(0x152)]=!0x0;}[_0x32202a(0x1b7)](){this['_disabled']=!0x1;}get[_0x32202a(0x1c3)](){const _0x4a01ef=_0x32202a;return this[_0x4a01ef(0x297)];}[_0x32202a(0x2ad)](){const _0x17932c=_0x32202a;this[_0x17932c(0x318)]()['then'](()=>super['dispose']());}async[_0x32202a(0x1d1)](_0x73ff2e){const _0x141f51=_0x32202a;return this[_0x141f51(0x152)]?null:this[_0x141f51(0x2c7)]['getItem'](u['getLocalCacheKey'](_0x73ff2e));}async[_0x32202a(0xec)](_0x3dc360,_0x6f1c4b){const _0x3a1123=_0x32202a;return!!this[_0x3a1123(0x2c7)]['setItem'](_0x3dc360,_0x6f1c4b);}[_0x32202a(0x161)](_0x23ab60,_0x562105,_0x1d8734,_0x682634){const _0x3a0656=_0x32202a,_0x2ccfd6=this[_0x3a0656(0x241)][_0x3a0656(0x1f9)](_0x23ab60);this[_0x3a0656(0x2c4)]['set'](_0x23ab60,{'unitID':_0x23ab60,'type':_0x562105,'awaitingChangeset':_0x1d8734,'mutations':_0x682634,'rev':_0x2ccfd6}),this[_0x3a0656(0x297)][_0x3a0656(0x254)](_0x23ab60)||this[_0x3a0656(0x2bf)](_0x23ab60);}[_0x32202a(0x2bf)](_0x51dd20){const _0x190423=_0x32202a,_0x38b117=this[_0x190423(0x198)]();_0x38b117===0x0?this[_0x190423(0x2cc)](_0x51dd20):this[_0x190423(0x297)][_0x190423(0x1cd)](_0x51dd20,setTimeout(()=>this[_0x190423(0x2cc)](_0x51dd20),_0x38b117));}[_0x32202a(0x198)](){const _0x2e7187=_0x32202a;var _0x3beb72;return(_0x3beb72=this[_0x2e7187(0x2b9)][_0x2e7187(0x27b)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x3beb72:u[_0x2e7187(0x1fa)];}[_0x32202a(0x2cc)](_0x2f5f87){const _0x3f388c=_0x32202a,_0x32cff0=this[_0x3f388c(0x297)]['get'](_0x2f5f87);return _0x32cff0!==void 0x0&&window[_0x3f388c(0x129)](_0x32cff0),this[_0x3f388c(0x2c7)][_0x3f388c(0x203)](u[_0x3f388c(0xc9)](_0x2f5f87),this[_0x3f388c(0x2c4)][_0x3f388c(0x1b5)](_0x2f5f87))[_0x3f388c(0x283)](()=>this[_0x3f388c(0x297)][_0x3f388c(0x22d)](_0x2f5f87));}async[_0x32202a(0x318)](){const _0x29014d=_0x32202a,_0x5cac86=[];this[_0x29014d(0x297)][_0x29014d(0x207)]((_0xeac6f0,_0x26f1f9)=>{const _0x2a0741=_0x29014d;window['clearTimeout'](_0xeac6f0),_0x5cac86[_0x2a0741(0x334)](this[_0x2a0741(0x2cc)](_0x26f1f9)['then'](()=>{const _0xc91158=_0x2a0741;this[_0xc91158(0x297)]['delete'](_0x26f1f9);}));}),await Promise[_0x29014d(0x14b)](_0x5cac86);}};me=es([_e(0x0,a['IConfigService']),_e(0x1,a[_0x32202a(0x16f)]),_e(0x2,a[_0x32202a(0xd6)](m[_0x32202a(0x230)]))],me);class ke extends a[_0x32202a(0x31a)]{constructor(){const _0x2d2138=_0x32202a;super(),h(this,_0x2d2138(0x2f2)),this['urlChange$']=d[_0x2d2138(0x156)](window,_0x2d2138(0xe7))[_0x2d2138(0x1d8)](d[_0x2d2138(0x107)](this['dispose$']),d[_0x2d2138(0x2ff)](0x1),d[_0x2d2138(0x189)](void 0x0));}['setParam'](_0x571c29,_0x2535e1,_0xd39044=!0x1){const _0x1d0ab3=_0x32202a,_0x5d7105=new URL(window['location'][_0x1d0ab3(0x2da)]);_0x5d7105['searchParams'][_0x1d0ab3(0x1cd)](_0x571c29,_0x2535e1),_0xd39044?window[_0x1d0ab3(0x2d3)]['replaceState']('','',_0x5d7105['toString']()):window[_0x1d0ab3(0x2d3)][_0x1d0ab3(0x13e)]('','',_0x5d7105['toString']());}[_0x32202a(0x177)](_0x5256fe,_0x40d5d5=!0x1){const _0x14fd3b=_0x32202a,_0x505f03=new URL(window[_0x14fd3b(0x284)]['href']);_0x505f03[_0x14fd3b(0x30c)][_0x14fd3b(0x22d)](_0x5256fe),_0x40d5d5?window[_0x14fd3b(0x2d3)][_0x14fd3b(0x174)]('','',_0x505f03['toString']()):window[_0x14fd3b(0x2d3)][_0x14fd3b(0x13e)]('','',_0x505f03['toString']());}[_0x32202a(0x2cf)](_0x1374ff){const _0x32ef5d=_0x32202a;var _0x3e90f5;return(_0x3e90f5=new URL(window[_0x32ef5d(0x284)][_0x32ef5d(0x2da)])[_0x32ef5d(0x30c)][_0x32ef5d(0x1b5)](_0x1374ff))!=null?_0x3e90f5:void 0x0;}}var ts=Object[_0x32202a(0x12e)],ss=Object[_0x32202a(0x168)],ns=(_0x4e662f,_0x2e39bd,_0x54a309)=>_0x2e39bd in _0x4e662f?ts(_0x4e662f,_0x2e39bd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54a309}):_0x4e662f[_0x2e39bd]=_0x54a309,is=(_0x3440d6,_0x2928e0,_0x7e5620,_0xdb13d1)=>{const _0x192e17=_0x32202a;for(var _0x52aa63=_0xdb13d1>0x1?void 0x0:_0xdb13d1?ss(_0x2928e0,_0x7e5620):_0x2928e0,_0x2fa468=_0x3440d6[_0x192e17(0xc8)]-0x1,_0x4c0dde;_0x2fa468>=0x0;_0x2fa468--)(_0x4c0dde=_0x3440d6[_0x2fa468])&&(_0x52aa63=_0x4c0dde(_0x52aa63)||_0x52aa63);return _0x52aa63;},ue=(_0x1eff82,_0x4ae8a0)=>(_0x377726,_0x396d16)=>_0x4ae8a0(_0x377726,_0x396d16,_0x1eff82),rs=(_0x2f1b08,_0xc6186d,_0x18ad4c)=>ns(_0x2f1b08,_0xc6186d+'',_0x18ad4c);const os=_0x32202a(0x23d);exports[_0x32202a(0x11c)]=class extends a['Plugin']{constructor(_0x333244=Me,_0x32e8b0,_0x29b76c,_0x1a5158){const _0x383b5c=_0x32202a;super(),this[_0x383b5c(0xe5)]=_0x333244,this[_0x383b5c(0x1ab)]=_0x32e8b0,this[_0x383b5c(0x10b)]=_0x29b76c,this['_configService']=_0x1a5158;const {..._0x487c74}=a[_0x383b5c(0x191)]({},Me,this[_0x383b5c(0xe5)]);this[_0x383b5c(0x2b9)][_0x383b5c(0x103)](Wt,_0x487c74);}[_0x32202a(0x257)](){const _0x23b5ee=_0x32202a;this[_0x23b5ee(0x286)](),this[_0x23b5ee(0x27e)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4da066=_0x32202a;var _0x298e91;const _0x1c0040=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':ke}],[q[_0x4da066(0x2ce)],{'useClass':q[_0x4da066(0x338)]}],[u['ILocalCacheService'],{'useClass':me}],[exports[_0x4da066(0x18b)]],[ee],[z],[x],[fe],[exports['CollaborationDataLoaderController']]];a[_0x4da066(0xf4)](this[_0x4da066(0x10b)],a['mergeOverrideWithDependencies'](_0x1c0040,(_0x298e91=this['_config'])==null?void 0x0:_0x298e91['override']));}['_registerRenderDependencies'](){const _0x13eb8e=_0x32202a;this[_0x13eb8e(0x204)](this['_renderManagerService'][_0x13eb8e(0x164)](a[_0x13eb8e(0x1d9)][_0x13eb8e(0x12f)],[ge])),this[_0x13eb8e(0x204)](this[_0x13eb8e(0x1ab)][_0x13eb8e(0x164)](a[_0x13eb8e(0x1d9)]['UNIVER_SHEET'],[Ie]));}['_initDependencies'](){const _0x13cca3=_0x32202a;a[_0x13cca3(0x2d2)](this[_0x13cca3(0x10b)],[[x],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[exports[_0x13cca3(0x329)]]]);}},rs(exports[_0x32202a(0x11c)],'pluginName',os),exports[_0x32202a(0x11c)]=is([a['DependentOn'](u['UniverCollaborationClientPlugin']),ue(0x1,p[_0x32202a(0xd4)]),ue(0x2,a[_0x32202a(0xd6)](a['Injector'])),ue(0x3,a['IConfigService'])],exports['UniverCollaborationClientUIPlugin']);var as=Object[_0x32202a(0x168)],cs=(_0x1c9ad1,_0x5994ef,_0x626ce2,_0x1b56a7)=>{const _0xf3603c=_0x32202a;for(var _0x2423f0=_0x1b56a7>0x1?void 0x0:_0x1b56a7?as(_0x5994ef,_0x626ce2):_0x5994ef,_0x22f716=_0x1c9ad1[_0xf3603c(0xc8)]-0x1,_0xb9f804;_0x22f716>=0x0;_0x22f716--)(_0xb9f804=_0x1c9ad1[_0x22f716])&&(_0x2423f0=_0xb9f804(_0x2423f0)||_0x2423f0);return _0x2423f0;},F=(_0x2b98ab,_0x201ebf)=>(_0x3f4eee,_0x247a68)=>_0x201ebf(_0x3f4eee,_0x247a68,_0x2b98ab);exports[_0x32202a(0x249)]=class extends u[_0x32202a(0x116)]{constructor(_0x4542e3,_0x196c4e,_0x2a178c,_0x21f306,_0xa2b303){super(_0x4542e3,_0x196c4e,_0x2a178c,_0x21f306,_0xa2b303);}async[_0x32202a(0x2ee)](_0x2302e3){const _0x3cead4=_0x32202a,_0x17d234=await this[_0x3cead4(0x28a)](),_0x567283=this[_0x3cead4(0x2b4)](_0x2302e3,_0x17d234);return this['_doCreateSocket'](_0x567283);}[_0x32202a(0x2b4)](_0x177b81,_0x11429a){const _0x20ac3c=_0x32202a,_0x2e9511=typeof window>'u'?new URL(_0x177b81):new URL(_0x177b81,window[_0x20ac3c(0x284)][_0x20ac3c(0x306)]);_0x2e9511['searchParams'][_0x20ac3c(0x1cd)](_0x20ac3c(0x244),_0x11429a);const _0x2983b9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x20ac3c(0x2b1)]);return _0x2983b9[_0x20ac3c(0x1b5)](_0x20ac3c(0x130))&&_0x2e9511[_0x20ac3c(0x30c)][_0x20ac3c(0x1cd)]('runId',_0x2983b9[_0x20ac3c(0x1b5)](_0x20ac3c(0x130))),_0x2e9511['toString']();}async[_0x32202a(0x28a)](){const _0x59a79d=_0x32202a;var _0x411fa9,_0x46fa24,_0x1826ac;const _0x1d07f3=this[_0x59a79d(0x2b9)][_0x59a79d(0x27b)](u[_0x59a79d(0x275)]),_0xd721a8=(_0x411fa9=_0x1d07f3==null?void 0x0:_0x1d07f3[_0x59a79d(0xee)])!=null?_0x411fa9:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x1826ac=(_0x46fa24=(await this[_0x59a79d(0x104)][_0x59a79d(0x1b5)](_0xd721a8,{'headers':{'Content-Type':_0x59a79d(0x302)}}))['body'])==null?void 0x0:_0x46fa24[_0x59a79d(0x214)])!=null?_0x1826ac:'';}},exports[_0x32202a(0x249)]=cs([F(0x0,a[_0x32202a(0xd6)](a['Injector'])),F(0x1,a[_0x32202a(0xd6)](q[_0x32202a(0x222)])),F(0x2,a['IConfigService']),F(0x3,a[_0x32202a(0x2be)]),F(0x4,m['ISnapshotServerService'])],exports[_0x32202a(0x249)]);const Ne=0x7530,we='ACTIVE_UNIT_EVENT_CHANNEL';class ls extends a['Disposable']{constructor(){const _0x21c095=_0x32202a;super(),h(this,'_id',a[_0x21c095(0x1eb)]()),h(this,_0x21c095(0x29e),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x21c095(0x263),null),h(this,'_clearOtherTimers',new Map()),h(this,_0x21c095(0x2cb),new Map()),this['_init']();}['dispose'](){const _0x33e9d0=_0x32202a;super[_0x33e9d0(0x2ad)](),this[_0x33e9d0(0x1bc)][_0x33e9d0(0x207)]((_0x5398cd,_0xd8beb6)=>this['_removeClearOtherTimer'](_0xd8beb6)),this[_0x33e9d0(0x263)]&&window[_0x33e9d0(0x240)](this[_0x33e9d0(0x263)]);}[_0x32202a(0x175)](_0x50a465){const _0x54f07e=_0x32202a;return this[_0x54f07e(0x1e5)](_0x50a465)['pipe'](d[_0x54f07e(0x265)]());}[_0x32202a(0x194)](_0x28af67){const _0x180097=_0x32202a;this['_selfUnitIDs']['size']===0x0&&this[_0x180097(0x215)](),this[_0x180097(0x29e)][_0x180097(0x134)](_0x28af67),this[_0x180097(0x17a)]({'type':0x0,'memberID':this[_0x180097(0x163)],'unitIDs':[_0x28af67],'isForwarded':!0x1});}['disposeUnit'](_0x5e9ff7){const _0x3078a4=_0x32202a;this[_0x3078a4(0x29e)][_0x3078a4(0x22d)](_0x5e9ff7),this[_0x3078a4(0x29e)][_0x3078a4(0xfb)]===0x0&&this[_0x3078a4(0x263)]&&window[_0x3078a4(0x240)](this[_0x3078a4(0x263)]);}[_0x32202a(0x1d4)](){const _0x1707b0=_0x32202a;this[_0x1707b0(0x204)](a['toDisposable'](d['fromEvent'](window,_0x1707b0(0xd0))['subscribe'](_0x219b97=>{const _0x55629e=_0x1707b0;if(_0x219b97[_0x55629e(0x1f2)]!==we||!_0x219b97['newValue'])return;const _0x118d92=JSON['parse'](_0x219b97['newValue']);this['_handleEvent'](_0x118d92);}))),window[_0x1707b0(0x2f6)](_0x1707b0(0x27c),()=>this['_send']({'type':0x1,'memberID':this[_0x1707b0(0x163)],'unitIDs':Array[_0x1707b0(0x312)](this['_selfUnitIDs'])}));}[_0x32202a(0x11e)](_0x829bec){const _0x1cdc56=_0x32202a;switch(_0x829bec[_0x1cdc56(0x308)]){case 0x0:this[_0x1cdc56(0xea)](_0x829bec);break;case 0x1:this[_0x1cdc56(0x2f8)](_0x829bec);break;case 0x2:this[_0x1cdc56(0x106)](_0x829bec);break;}}['_handleJoinEvent'](_0x2e1c1c){const _0x379f9b=_0x32202a,{unitIDs:_0x3a8be0,memberID:_0x55a0e7,isForwarded:_0x13cbde}=_0x2e1c1c;_0x3a8be0['forEach'](_0x167503=>{const _0x240a79=_0x5c33;if(!_0x13cbde&&this[_0x240a79(0x273)][_0x240a79(0x254)](_0x167503)&&this[_0x240a79(0x1e5)](_0x167503)[_0x240a79(0x125)](u[_0x240a79(0x1da)][_0x240a79(0x136)]),!this[_0x240a79(0x273)]['has'](_0x167503)||!this[_0x240a79(0x273)]['get'](_0x167503)[_0x240a79(0x254)](_0x55a0e7)){const _0x1fe8a6=this[_0x240a79(0x273)]['get'](_0x167503)||new Set();_0x1fe8a6['add'](_0x55a0e7),this[_0x240a79(0x273)][_0x240a79(0x1cd)](_0x167503,_0x1fe8a6),this[_0x240a79(0x24a)](_0x55a0e7);}}),_0x13cbde||this['_send']({'type':0x0,'memberID':this[_0x379f9b(0x163)],'unitIDs':[...this[_0x379f9b(0x29e)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x197887){const _0x32444d=_0x32202a;this[_0x32444d(0xfc)](_0x197887);const _0x23fa5c=window['setTimeout'](()=>{const _0x100887=_0x32444d;this[_0x100887(0x273)][_0x100887(0x207)](_0x35b3cb=>{const _0xad00ad=_0x100887;_0x35b3cb[_0xad00ad(0x22d)](_0x197887);});},Ne*0x2);this[_0x32444d(0x1bc)]['set'](_0x197887,_0x23fa5c);}[_0x32202a(0xfc)](_0x1ac514){const _0x383d16=_0x32202a;if(this['_clearOtherTimers'][_0x383d16(0x254)](_0x1ac514)){const _0x59ead2=this[_0x383d16(0x1bc)][_0x383d16(0x1b5)](_0x1ac514);_0x59ead2&&window['clearTimeout'](_0x59ead2),this[_0x383d16(0x1bc)]['set'](_0x1ac514,null);}}[_0x32202a(0x2f8)](_0x257a29){const _0x49daed=_0x32202a,{memberID:_0x3012c8,unitIDs:_0x4d3f28}=_0x257a29;_0x4d3f28[_0x49daed(0x207)](_0x4bdce3=>{const _0x1bfddf=_0x49daed;var _0x2611b2;const _0x43ec58=this[_0x1bfddf(0x273)][_0x1bfddf(0x1b5)](_0x4bdce3);_0x43ec58&&(_0x43ec58['delete'](_0x3012c8),(_0x2611b2=this['_ensureSubject'](_0x4bdce3))==null||_0x2611b2[_0x1bfddf(0x125)](_0x43ec58[_0x1bfddf(0xfb)]===0x0?u[_0x1bfddf(0x1da)]['NO_OTHER_CLIENTS_EDITING']:u[_0x1bfddf(0x1da)][_0x1bfddf(0x136)]));}),this[_0x49daed(0xfc)](_0x3012c8);}[_0x32202a(0x106)](_0xc6fd2){const _0x2952fc=_0x32202a;this[_0x2952fc(0x24a)](_0xc6fd2[_0x2952fc(0x33a)]);}[_0x32202a(0x17a)](_0xd7e6f0){localStorage['setItem'](we,JSON['stringify'](_0xd7e6f0));}['_scheduleHeartbeat'](){const _0x3325eb=_0x32202a;this[_0x3325eb(0x263)]=window[_0x3325eb(0x169)](()=>{const _0x472df9=_0x3325eb;this['_send']({'type':0x2,'memberID':this[_0x472df9(0x163)]});},Ne);}[_0x32202a(0x1e5)](_0x461175){const _0x4dec8a=_0x32202a;return this[_0x4dec8a(0x2cb)][_0x4dec8a(0x254)](_0x461175)||this[_0x4dec8a(0x2cb)][_0x4dec8a(0x1cd)](_0x461175,new d[(_0x4dec8a(0x144))](u[_0x4dec8a(0x1da)][_0x4dec8a(0x235)])),this[_0x4dec8a(0x2cb)][_0x4dec8a(0x1b5)](_0x461175);}}var Be=(_0x375145=>(_0x375145[_0x375145[_0x32202a(0x225)]=0x0]=_0x32202a(0x225),_0x375145[_0x375145['OK']=0x1]='OK',_0x375145[_0x375145[_0x32202a(0x12a)]=0x2]=_0x32202a(0x12a),_0x375145[_0x375145[_0x32202a(0x131)]=0x3]=_0x32202a(0x131),_0x375145[_0x375145[_0x32202a(0x31f)]=0x4]='NOT_FOUND',_0x375145[_0x375145[_0x32202a(0x1d3)]=0x5]='UNAUTHENTICATED',_0x375145[_0x375145['ALREADY_EXISTS']=0x6]=_0x32202a(0x157),_0x375145[_0x375145[_0x32202a(0xff)]=0x7]=_0x32202a(0xff),_0x375145[_0x375145[_0x32202a(0x29f)]=0x8]=_0x32202a(0x29f),_0x375145[_0x375145['COMPLETION_FINISHED']=0x9]=_0x32202a(0x1a3),_0x375145[_0x375145[_0x32202a(0x1ac)]=0x1389]=_0x32202a(0x1ac),_0x375145[_0x375145['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x32202a(0x1aa),_0x375145[_0x375145[_0x32202a(0x234)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x375145[_0x375145[_0x32202a(0x1b3)]=0x1773]=_0x32202a(0x1b3),_0x375145[_0x375145[_0x32202a(0x13b)]=0x1b59]=_0x32202a(0x13b),_0x375145[_0x375145[_0x32202a(0x285)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x375145[_0x375145['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x375145[_0x375145[_0x32202a(0x224)]=0x1b5c]=_0x32202a(0x224),_0x375145[_0x375145[_0x32202a(0x117)]=0x1b5d]=_0x32202a(0x117),_0x375145[_0x375145[_0x32202a(0x309)]=0x1f41]=_0x32202a(0x309),_0x375145[_0x375145[_0x32202a(0x259)]=0x2329]=_0x32202a(0x259),_0x375145[_0x375145['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x32202a(0x305),_0x375145[_0x375145[_0x32202a(0xf7)]=0x232b]=_0x32202a(0xf7),_0x375145[_0x375145['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x32202a(0x1b1),_0x375145[_0x375145[_0x32202a(0x2d8)]=0x232d]=_0x32202a(0x2d8),_0x375145[_0x375145[_0x32202a(0x322)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x375145[_0x375145[_0x32202a(0xd1)]=0x2712]=_0x32202a(0xd1),_0x375145[_0x375145[_0x32202a(0x1a0)]=0x2713]=_0x32202a(0x1a0),_0x375145[_0x375145[_0x32202a(0x108)]=0x2714]=_0x32202a(0x108),_0x375145[_0x375145['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x32202a(0x205),_0x375145[_0x375145[_0x32202a(0x331)]=-0x1]='UNRECOGNIZED',_0x375145))(Be||{}),hs=Object['getOwnPropertyDescriptor'],_s=(_0x180c93,_0x4d69a2,_0x5cf35b,_0x49cf21)=>{const _0x1d375a=_0x32202a;for(var _0x41187d=_0x49cf21>0x1?void 0x0:_0x49cf21?hs(_0x4d69a2,_0x5cf35b):_0x4d69a2,_0x5846dc=_0x180c93[_0x1d375a(0xc8)]-0x1,_0x5dafa4;_0x5846dc>=0x0;_0x5846dc--)(_0x5dafa4=_0x180c93[_0x5846dc])&&(_0x41187d=_0x5dafa4(_0x41187d)||_0x41187d);return _0x41187d;},de=(_0x4a608,_0x2be7cf)=>(_0x404a14,_0x247cde)=>_0x2be7cf(_0x404a14,_0x247cde,_0x4a608);exports[_0x32202a(0x13f)]=class extends a['Disposable']{constructor(_0x2eda38,_0x4c0682,_0x5a6261){const _0x5d8930=_0x32202a;super(),this[_0x5d8930(0x16b)]=_0x2eda38,this[_0x5d8930(0x104)]=_0x4c0682,this[_0x5d8930(0x2b9)]=_0x5a6261;}async['runOnServer'](_0x1e0857,_0x406190,_0x4a1624,..._0x1de8d1){const _0x4d5cdb=_0x32202a;var _0x158f4e,_0x5b6ee8,_0xd5188e,_0x458c51;const _0xdf49aa=this[_0x4d5cdb(0x16b)][_0x4d5cdb(0x29d)]();if(!_0xdf49aa)throw new Error(_0x4d5cdb(0x20f));const _0x563c43=((_0x158f4e=this['_configService'][_0x4d5cdb(0x27b)](u[_0x4d5cdb(0x298)]))!=null?_0x158f4e:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1e0857+_0x4d5cdb(0x15b)+_0x406190,_0x2f83b9=new URL(window['location'][_0x4d5cdb(0x2da)]),_0xd058fe={'scriptId':_0x1e0857,'runId':(_0x5b6ee8=_0x2f83b9['searchParams'][_0x4d5cdb(0x1b5)](_0x4d5cdb(0x130)))!=null?_0x5b6ee8:'','function':_0x406190,'unitId':_0xdf49aa[_0x4d5cdb(0x32e)](),'argsOfFunction':JSON[_0x4d5cdb(0x30b)](_0x1de8d1),'invokeId':(_0xd5188e=_0x4a1624[_0x4d5cdb(0x1b6)])!=null?_0xd5188e:'','executionId':(_0x458c51=_0x4a1624[_0x4d5cdb(0x22a)])!=null?_0x458c51:''};try{const _0x4ed4ac=await this[_0x4d5cdb(0x104)][_0x4d5cdb(0x239)](_0x563c43,{'body':_0xd058fe});return _0x4ed4ac[_0x4d5cdb(0x26b)][_0x4d5cdb(0xe0)]&&_0x4ed4ac[_0x4d5cdb(0x26b)]['error'][_0x4d5cdb(0x319)]!==Be['OK']?'Failed':_0x4ed4ac[_0x4d5cdb(0x26b)]['result'];}catch{return _0x4d5cdb(0x123);}}},exports[_0x32202a(0x13f)]=_s([de(0x0,a['IUniverInstanceService']),de(0x1,a['Inject'](q[_0x32202a(0x222)])),de(0x2,a[_0x32202a(0xca)])],exports['RemoteUniscriptService']),exports[_0x32202a(0x13c)]=je,exports['IURLService']=Ee,exports[_0x32202a(0x1f7)]=ye,exports['WebBrowserSingleActiveUnitService']=ls,exports[_0x32202a(0x24b)]=ke;
|
|
1
|
+
'use strict';const _0x44b885=_0x990a;(function(_0xb8d49e,_0xac0805){const _0x161d91=_0x990a,_0x591a28=_0xb8d49e();while(!![]){try{const _0x37874c=parseInt(_0x161d91(0x291))/0x1*(parseInt(_0x161d91(0x2fc))/0x2)+-parseInt(_0x161d91(0x27c))/0x3*(parseInt(_0x161d91(0x3fd))/0x4)+parseInt(_0x161d91(0x2a8))/0x5*(-parseInt(_0x161d91(0x2e6))/0x6)+parseInt(_0x161d91(0x205))/0x7+parseInt(_0x161d91(0x321))/0x8+parseInt(_0x161d91(0x274))/0x9*(parseInt(_0x161d91(0x24b))/0xa)+parseInt(_0x161d91(0x36a))/0xb*(parseInt(_0x161d91(0x2c5))/0xc);if(_0x37874c===_0xac0805)break;else _0x591a28['push'](_0x591a28['shift']());}catch(_0x16dfc9){_0x591a28['push'](_0x591a28['shift']());}}}(_0x396a,0xd823b));var Ve=Object[_0x44b885(0x2cc)],Ge=(_0xef3bf4,_0x5b5585,_0x21c795)=>_0x5b5585 in _0xef3bf4?Ve(_0xef3bf4,_0x5b5585,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21c795}):_0xef3bf4[_0x5b5585]=_0x21c795,h=(_0x2269fd,_0x187268,_0x29cbcd)=>Ge(_0x2269fd,typeof _0x187268!=_0x44b885(0x342)?_0x187268+'':_0x187268,_0x29cbcd);Object['defineProperty'](exports,Symbol[_0x44b885(0x204)],{'value':_0x44b885(0x338)});const u=require('@univerjs-pro/collaboration-client'),a=require(_0x44b885(0x1c4)),p=require(_0x44b885(0x31b)),q=require(_0x44b885(0x38a)),b=require(_0x44b885(0x3ad)),qe=require('@univerjs/drawing'),d=require('rxjs'),Y=require(_0x44b885(0x40b)),m=require(_0x44b885(0x211)),Te=require(_0x44b885(0x3df)),I=require(_0x44b885(0x1cd)),$=require(_0x44b885(0x21a)),G=require(_0x44b885(0x1ae)),w=require('react/jsx-runtime'),R=require(_0x44b885(0x268)),T=require(_0x44b885(0x3cb)),P=require(_0x44b885(0x2ef)),Ke=require(_0x44b885(0x1fa));var ze=Object[_0x44b885(0x231)],Je=(_0x2d82ee,_0x982a62,_0x43c88a,_0x479ce5)=>{const _0xf6caf2=_0x44b885;for(var _0x405799=_0x479ce5>0x1?void 0x0:_0x479ce5?ze(_0x982a62,_0x43c88a):_0x982a62,_0x1f9147=_0x2d82ee[_0xf6caf2(0x29a)]-0x1,_0x3b4690;_0x1f9147>=0x0;_0x1f9147--)(_0x3b4690=_0x2d82ee[_0x1f9147])&&(_0x405799=_0x3b4690(_0x405799)||_0x405799);return _0x405799;},Re=(_0x4fa508,_0x3218fe)=>(_0x3aaf18,_0x4fb168)=>_0x3218fe(_0x3aaf18,_0x4fb168,_0x4fa508);let fe=class extends a[_0x44b885(0x305)]{constructor(_0x111099,_0x27ae53){const _0x2c3614=_0x44b885;super(),this['_docClipboardService']=_0x111099,this[_0x2c3614(0x3b0)]=_0x27ae53,this[_0x2c3614(0x383)]();}[_0x44b885(0x383)](){const _0x14e617=_0x44b885,_0x3ccf95=this;this[_0x14e617(0x1e2)](this[_0x14e617(0x307)]['addClipboardHook']({'onBeforePasteImage':async _0x2b2347=>{const _0x19035c=_0x14e617,_0x3c131d=await _0x3ccf95['_imageIoService'][_0x19035c(0x3be)](_0x2b2347);return _0x3c131d?{'source':_0x3c131d[_0x19035c(0x1dd)],'imageSourceType':_0x3c131d[_0x19035c(0x317)]}:null;}}));}};fe=Je([Re(0x0,b['IDocClipboardService']),Re(0x1,qe['IImageIoService'])],fe);const Oe=[_0x44b885(0x40c),'jiqing500',_0x44b885(0x199),_0x44b885(0x2a2),_0x44b885(0x2f0),'gold400'];class Ce extends a[_0x44b885(0x1b7)]{constructor(){const _0x2e9bc8=_0x44b885;super(...arguments),h(this,_0x2e9bc8(0x2cd),new Map()),h(this,_0x2e9bc8(0x366),0x0);}[_0x44b885(0x406)](_0x2a4330){const _0x5ddeeb=_0x44b885;if(this[_0x5ddeeb(0x2cd)][_0x5ddeeb(0x1ad)](_0x2a4330))return this['_assignedColors'][_0x5ddeeb(0x1ec)](_0x2a4330);const _0x4e3985=Oe[this['_colorIndex']];return this[_0x5ddeeb(0x366)]=(this[_0x5ddeeb(0x366)]+0x1)%Oe[_0x5ddeeb(0x29a)],this[_0x5ddeeb(0x2cd)][_0x5ddeeb(0x18f)](_0x2a4330,_0x4e3985),_0x4e3985;}}function Le(_0x7ae90d){const _0x3c19a4=_0x44b885;let _0x480891='';for(const _0x418ae0 of _0x7ae90d){const {startOffset:_0x2c5d93,endOffset:_0x4f1873,isActive:_0x39ec64,rangeType:_0x253bed,segmentId:_0x4a2670,segmentPage:_0x1cdf5f}=_0x418ae0;_0x480891[_0x3c19a4(0x29a)]&&(_0x480891+=','),_0x480891+=_0x2c5d93+':'+_0x4f1873+':'+(_0x39ec64?'1':'0')+':'+_0x253bed+':'+_0x4a2670+':'+_0x1cdf5f;}return _0x480891;}function Ze(_0xb6c8f3){const _0x1b7078=_0x44b885,_0x19edbd=_0xb6c8f3[_0x1b7078(0x27f)](','),_0x514783=[];for(const _0x3d7c73 of _0x19edbd){const [_0x321620,_0x3f32e1,_0x84e678,_0x2f12b5,_0x31729e,_0x458ac5]=_0x3d7c73[_0x1b7078(0x27f)](':');_0x514783[_0x1b7078(0x344)]({'startOffset':Number(_0x321620),'endOffset':Number(_0x3f32e1),'collapsed':_0x321620===_0x3f32e1,'isActive':_0x84e678==='1','rangeType':_0x2f12b5===a[_0x1b7078(0x325)][_0x1b7078(0x24f)]?a[_0x1b7078(0x325)][_0x1b7078(0x24f)]:a[_0x1b7078(0x325)][_0x1b7078(0x3d9)],'segmentId':typeof _0x31729e==_0x1b7078(0x34d)?String(_0x31729e):'','segmentPage':Number(_0x458ac5!=null?_0x458ac5:-0x1)});}return _0x514783[_0x1b7078(0x2e8)](_0x556ff0=>_0x556ff0[_0x1b7078(0x2eb)])||(_0x514783[0x0][_0x1b7078(0x2eb)]=!0x0),_0x514783;}class pe extends a[_0x44b885(0x305)]{constructor(){const _0x3a688e=_0x44b885;super(...arguments),h(this,_0x3a688e(0x262),new d[(_0x3a688e(0x297))](null)),h(this,_0x3a688e(0x3d0),this[_0x3a688e(0x262)][_0x3a688e(0x22c)]());}[_0x44b885(0x2a6)](_0x182745){const _0x595b23=_0x44b885,{unitID:_0x21283b,memberID:_0x262a1c,textRanges:_0x149e2a}=_0x182745,_0x57a5d5=Le(_0x149e2a);if(_0x57a5d5==='')return;const _0x13b5ff={'unitID':_0x21283b,'memberID':_0x262a1c,'selection':_0x57a5d5};this[_0x595b23(0x262)]['next'](_0x13b5ff);}}var Qe=Object[_0x44b885(0x231)],et=(_0x59c6a9,_0x2fe1c7,_0x4c8be4,_0x3f57e6)=>{for(var _0x21f57e=_0x3f57e6>0x1?void 0x0:_0x3f57e6?Qe(_0x2fe1c7,_0x4c8be4):_0x2fe1c7,_0x41a4bf=_0x59c6a9['length']-0x1,_0x15c37a;_0x41a4bf>=0x0;_0x41a4bf--)(_0x15c37a=_0x59c6a9[_0x41a4bf])&&(_0x21f57e=_0x15c37a(_0x21f57e)||_0x21f57e);return _0x21f57e;},N=(_0x3b55b9,_0xd05cef)=>(_0xa00bcb,_0x1b3f2c)=>_0xd05cef(_0xa00bcb,_0x1b3f2c,_0x3b55b9);const tt=0x12c,st=0x64;let Se=class extends a[_0x44b885(0x305)]{constructor(_0x1c6d53,_0x5c5d3e,_0x49c379,_0x5c0062,_0x70a6dd,_0x47ca9e,_0x1764c3,_0x1a0602,_0x322848){const _0x22945c=_0x44b885;super(),h(this,'_online',!0x1),h(this,_0x22945c(0x383),!0x1),h(this,'_cursorInfo$',new d[(_0x22945c(0x297))](new Map())),h(this,_0x22945c(0x2d6),this[_0x22945c(0x3cc)][_0x22945c(0x22c)]()),h(this,_0x22945c(0x38e),new d[(_0x22945c(0x297))]([])),h(this,'roomMembers$',this['_roomMembers$'][_0x22945c(0x2d9)](d[_0x22945c(0x18e)](tt))),h(this,_0x22945c(0x285),a[_0x22945c(0x2be)](_0x4f1845=>{const _0x557ded=_0x22945c,_0x323d55={'eventID':m['CollaborationEvent'][_0x557ded(0x2a5)],'data':{'unitID':this[_0x557ded(0x28b)],'memberID':this[_0x557ded(0x1a2)][_0x557ded(0x3cf)](),'selection':Le(_0x4f1845)}};this[_0x557ded(0x1a2)]['send'](_0x323d55,this[_0x557ded(0x28b)]);},st)),(this[_0x22945c(0x28b)]=_0x1c6d53,this[_0x22945c(0x1a2)]=_0x5c5d3e,this[_0x22945c(0x40f)]=_0x49c379,this[_0x22945c(0x292)]=_0x5c0062,this['_memberService']=_0x70a6dd,this[_0x22945c(0x38f)]=_0x47ca9e,this[_0x22945c(0x35a)]=_0x1764c3,this[_0x22945c(0x1bd)]=_0x1a0602,this[_0x22945c(0x269)]=_0x322848);}get['cursorInfo'](){const _0x5f1b75=_0x44b885;return this[_0x5f1b75(0x3cc)][_0x5f1b75(0x2aa)]();}get[_0x44b885(0x2cb)](){const _0x5969b0=_0x44b885;return this['_roomMembers$'][_0x5969b0(0x2aa)]();}[_0x44b885(0x286)](){const _0xa76561=_0x44b885;super[_0xa76561(0x286)](),this['_cursorInfo$']['next'](new Map()),this[_0xa76561(0x3cc)]['complete'](),this[_0xa76561(0x38e)][_0xa76561(0x3dc)]([]),this['_roomMembers$'][_0xa76561(0x349)]();}[_0x44b885(0x3f2)](){const _0xf43faf=_0x44b885;this[_0xf43faf(0x383)]||(this[_0xf43faf(0x383)]=!0x0,this[_0xf43faf(0x1a2)][_0xf43faf(0x40d)][_0xf43faf(0x2d9)](d['takeUntil'](this[_0xf43faf(0x2e0)]))['subscribe'](_0x27c839=>{const _0x3c5bcd=_0xf43faf;_0x27c839===u[_0x3c5bcd(0x206)]['ONLINE']?this[_0x3c5bcd(0x30a)]():this[_0x3c5bcd(0x282)]();}),this[_0xf43faf(0x1a2)][_0xf43faf(0x1b1)][_0xf43faf(0x2d9)](d[_0xf43faf(0x3b7)](this[_0xf43faf(0x2e0)]))['subscribe'](_0xfc3500=>{const _0x302ea0=_0xf43faf,_0x275963=_0xfc3500[_0x302ea0(0x2b3)];_0x275963===m['CollaborationEvent'][_0x302ea0(0x2a5)]&&this[_0x302ea0(0x1de)](_0xfc3500),_0x275963===m[_0x302ea0(0x3cd)][_0x302ea0(0x1bf)]&&this['_onCursorDelete'](_0xfc3500);}),this[_0xf43faf(0x1e2)](this[_0xf43faf(0x269)][_0xf43faf(0x295)](_0x3e46a2=>{const _0x197d11=_0xf43faf,_0x1b6104=_0x3e46a2['params'];_0x1b6104!=null&&this[_0x197d11(0x3a0)]&&_0x3e46a2['id']===Y['SetTextSelectionsOperation']['id']&&_0x1b6104['unitId']===this['unitID']&&_0x1b6104[_0x197d11(0x1c9)]===!0x1&&_0x1b6104[_0x197d11(0x2f3)]['length']>0x0&&this[_0x197d11(0x285)](_0x1b6104[_0x197d11(0x2f3)]);})),this['_syncEditingCollabCursorService'][_0xf43faf(0x3d0)][_0xf43faf(0x2d9)](d['takeUntil'](this[_0xf43faf(0x2e0)]))[_0xf43faf(0x409)](_0x108769=>{const _0x2ad54a=_0xf43faf;if((_0x108769==null?void 0x0:_0x108769['unitID'])!==this[_0x2ad54a(0x28b)])return;const _0x19ee70={'eventID':m[_0x2ad54a(0x3cd)][_0x2ad54a(0x2a5)],'data':_0x108769};this[_0x2ad54a(0x1de)](_0x19ee70);}),this[_0xf43faf(0x1e2)](this[_0xf43faf(0x269)]['onCommandExecuted'](_0x324dd8=>{const _0x162726=_0xf43faf;if(_0x324dd8[_0x162726(0x29e)]==null)return;const _0x1869b1=_0x324dd8['params'];if(_0x324dd8['id']!==Y[_0x162726(0x1ed)]['id']||_0x1869b1[_0x162726(0x281)]!==this[_0x162726(0x28b)])return;const _0x1a5efe={'id':_0x162726(0x39c),'params':_0x1869b1},_0x4aba0e=this[_0x162726(0x3a7)];for(const [_0x3543ae,_0x4cc8e4]of _0x4aba0e){const _0x239218={'id':_0x162726(0x39c),'params':{'unitId':this[_0x162726(0x28b)],'actions':null,'textRanges':_0x4cc8e4['ranges']}},_0x5dcaca=this['_transformService']['transformMutation'](_0x1a5efe,_0x239218,!0x1);if(m[_0x162726(0x1e5)](_0x5dcaca))throw _0x5dcaca[_0x162726(0x191)];_0x4aba0e[_0x162726(0x18f)](_0x3543ae,{..._0x4cc8e4,'ranges':_0x5dcaca[_0x162726(0x1e6)][_0x162726(0x29e)][_0x162726(0x389)]});}queueMicrotask(()=>{const _0x28711d=_0x162726;this[_0x28711d(0x3cc)][_0x28711d(0x3dc)](_0x4aba0e);});})));}[_0x44b885(0x1de)](_0x4ac9f5){const _0x1fe7ba=_0x44b885;var _0x3eac7d,_0x4633bf;const {memberID:_0x662cee,selection:_0x1b929d}=_0x4ac9f5['data'],_0x39f784=Ze(_0x1b929d),_0x21eb7f=(_0x4633bf=(_0x3eac7d=this[_0x1fe7ba(0x1b9)][_0x1fe7ba(0x27e)](this[_0x1fe7ba(0x28b)],_0x662cee))==null?void 0x0:_0x3eac7d[_0x1fe7ba(0x2f9)])!=null?_0x4633bf:_0x1fe7ba(0x3c1),_0x1b3ade={'color':this[_0x1fe7ba(0x292)]['assignAColorForMemberID'](_0x662cee),'name':_0x21eb7f,'ranges':_0x39f784},_0x2b226b=this[_0x1fe7ba(0x3a7)];_0x2b226b[_0x1fe7ba(0x18f)](_0x662cee,_0x1b3ade),this['_cursorInfo$'][_0x1fe7ba(0x3dc)](_0x2b226b);}['_onCursorDelete'](_0x1d3f75){const _0x22188f=_0x44b885,{memberID:_0x8dec6c}=_0x1d3f75[_0x22188f(0x30d)],_0x7d4bfb=this[_0x22188f(0x3a7)];_0x7d4bfb[_0x22188f(0x371)](_0x8dec6c),this[_0x22188f(0x3cc)][_0x22188f(0x3dc)](_0x7d4bfb);}[_0x44b885(0x30a)](){const _0x23a1d9=_0x44b885;var _0x42d355;if(this[_0x23a1d9(0x3a0)]=!0x0,((_0x42d355=this[_0x23a1d9(0x1bd)][_0x23a1d9(0x301)]())==null?void 0x0:_0x42d355[_0x23a1d9(0x29d)]())!==this[_0x23a1d9(0x28b)])return;const _0x2af022=this['_injector']['get'](Y[_0x23a1d9(0x369)])['getDocRanges']();Array[_0x23a1d9(0x322)](_0x2af022)&&_0x2af022[_0x23a1d9(0x29a)]>0x0&&this[_0x23a1d9(0x285)](_0x2af022);}[_0x44b885(0x282)](){const _0x2a2a0c=_0x44b885;this[_0x2a2a0c(0x3a0)]=!0x1;}};Se=et([N(0x2,a[_0x44b885(0x326)](a[_0x44b885(0x22a)])),N(0x3,a[_0x44b885(0x326)](Ce)),N(0x4,a[_0x44b885(0x326)](u[_0x44b885(0x403)])),N(0x5,a[_0x44b885(0x326)](pe)),N(0x6,m[_0x44b885(0x3bf)]),N(0x7,a['IUniverInstanceService']),N(0x8,a['ICommandService'])],Se);var nt=Object[_0x44b885(0x231)],it=(_0x734c9f,_0x4907ad,_0x56a308,_0x5c13be)=>{const _0x2243c7=_0x44b885;for(var _0x4e2a32=_0x5c13be>0x1?void 0x0:_0x5c13be?nt(_0x4907ad,_0x56a308):_0x4907ad,_0xa85a2c=_0x734c9f[_0x2243c7(0x29a)]-0x1,_0x3aa3ac;_0xa85a2c>=0x0;_0xa85a2c--)(_0x3aa3ac=_0x734c9f[_0xa85a2c])&&(_0x4e2a32=_0x3aa3ac(_0x4e2a32)||_0x4e2a32);return _0x4e2a32;},y=(_0x20bfa7,_0x2a0c20)=>(_0x5e62ad,_0x53f9c7)=>_0x2a0c20(_0x5e62ad,_0x53f9c7,_0x20bfa7);const rt=0x12c,ot=0x64,at=()=>{let _0x44db4d=[],_0x1f7970=!0x1;return _0x1f425e=>{_0x44db4d['push'](_0x1f425e),_0x1f7970||(_0x1f7970=!0x0,setTimeout(()=>{const _0x17225f=_0x990a;_0x44db4d[_0x17225f(0x40a)](_0x7d11cc=>_0x7d11cc()),_0x44db4d=[],_0x1f7970=!0x1;}));};};let ve=class extends a[_0x44b885(0x305)]{constructor(_0x4ea6ed,_0x2c40d6,_0x1dae91,_0x6112a,_0x35b8f7,_0x56431f,_0x15d000,_0x5592cb){const _0x3f828d=_0x44b885;super(),h(this,_0x3f828d(0x3a0),!0x1),h(this,_0x3f828d(0x383),!0x1),h(this,_0x3f828d(0x3cc),new d[(_0x3f828d(0x297))](new Map())),h(this,_0x3f828d(0x2d6),this[_0x3f828d(0x3cc)]['asObservable']()),h(this,_0x3f828d(0x38e),new d[(_0x3f828d(0x297))]([])),h(this,_0x3f828d(0x1d6),this[_0x3f828d(0x38e)][_0x3f828d(0x2d9)](d[_0x3f828d(0x18e)](rt))),h(this,'_updateLocalCursor',a[_0x3f828d(0x2be)]((_0x27e87d,_0x55fcdf)=>{const _0x592943=_0x3f828d,_0x4b8edd={'eventID':m['CollaborationEvent'][_0x592943(0x2a5)],'data':{'unitID':this[_0x592943(0x28b)],'memberID':this[_0x592943(0x1a2)][_0x592943(0x3cf)](),'selection':Te['serializeRangeWithSheet'](_0x27e87d,_0x55fcdf['range'])}};this[_0x592943(0x1a2)][_0x592943(0x310)](_0x4b8edd,this[_0x592943(0x28b)]);},ot)),(this[_0x3f828d(0x28b)]=_0x4ea6ed,this[_0x3f828d(0x1a2)]=_0x2c40d6,this[_0x3f828d(0x40f)]=_0x1dae91,this[_0x3f828d(0x292)]=_0x6112a,this[_0x3f828d(0x1b9)]=_0x35b8f7,this[_0x3f828d(0x1bd)]=_0x56431f,this['_commandService']=_0x15d000,this[_0x3f828d(0x3c6)]=_0x5592cb);}get[_0x44b885(0x3a7)](){const _0x130575=_0x44b885;return this[_0x130575(0x3cc)][_0x130575(0x2aa)]();}get['roomMembers'](){const _0x316f82=_0x44b885;return this[_0x316f82(0x38e)][_0x316f82(0x2aa)]();}[_0x44b885(0x286)](){const _0x29963a=_0x44b885;super[_0x29963a(0x286)](),this['_cursorInfo$'][_0x29963a(0x3dc)](new Map()),this['_cursorInfo$']['complete'](),this[_0x29963a(0x38e)][_0x29963a(0x3dc)]([]),this['_roomMembers$'][_0x29963a(0x349)]();}[_0x44b885(0x3f2)](){const _0x4025ba=_0x44b885;this[_0x4025ba(0x383)]||(this[_0x4025ba(0x383)]=!0x0,this[_0x4025ba(0x1a2)][_0x4025ba(0x40d)][_0x4025ba(0x2d9)](d['takeUntil'](this['dispose$']))[_0x4025ba(0x409)](_0x5de034=>{const _0x11d1df=_0x4025ba;_0x5de034===u[_0x11d1df(0x206)][_0x11d1df(0x353)]?this[_0x11d1df(0x30a)]():this[_0x11d1df(0x282)]();}),this[_0x4025ba(0x1a2)]['event$']['pipe'](d[_0x4025ba(0x3b7)](this[_0x4025ba(0x2e0)]))['subscribe'](_0x22eac6=>{const _0x12c4a7=_0x4025ba,_0x5d0e48=_0x22eac6[_0x12c4a7(0x2b3)];_0x5d0e48===m[_0x12c4a7(0x3cd)][_0x12c4a7(0x2a5)]&&this[_0x12c4a7(0x1de)](_0x22eac6),_0x5d0e48===m['CollaborationEvent']['USERS_LEAVE']&&this[_0x12c4a7(0x2c0)](_0x22eac6);}),this[_0x4025ba(0x40e)](),this['disposeWithMe'](this[_0x4025ba(0x269)][_0x4025ba(0x295)](_0xef9705=>{const _0x3e2213=_0x4025ba;if(this['_online']&&_0xef9705['id']===I[_0x3e2213(0x324)]['id']&&_0xef9705[_0x3e2213(0x29e)][_0x3e2213(0x281)]===this[_0x3e2213(0x28b)]){const _0x3fefee=_0xef9705[_0x3e2213(0x29e)];this[_0x3e2213(0x285)](_0x3fefee['subUnitId'],_0x3fefee[_0x3e2213(0x190)][0x0]);}})));}[_0x44b885(0x1de)](_0x258efa){const _0x495772=_0x44b885;var _0xef7f09,_0x51159e;const {memberID:_0x52fe15,selection:_0x6a39be}=_0x258efa[_0x495772(0x30d)],{sheetName:_0x105926,range:_0x1e157f}=Te[_0x495772(0x2d3)](_0x6a39be),_0x2749d1={'name':(_0x51159e=(_0xef7f09=this['_memberService'][_0x495772(0x27e)](this[_0x495772(0x28b)],_0x52fe15))==null?void 0x0:_0xef7f09[_0x495772(0x2f9)])!=null?_0x51159e:_0x495772(0x3c1),'range':this[_0x495772(0x361)](_0x105926,_0x1e157f),'sheetID':_0x105926,'color':this[_0x495772(0x292)]['assignAColorForMemberID'](_0x52fe15),'selection':_0x6a39be},_0x3df1b0=this[_0x495772(0x3a7)];_0x3df1b0['set'](_0x52fe15,_0x2749d1),this['_cursorInfo$']['next'](_0x3df1b0);}[_0x44b885(0x2c0)](_0x44cf95){const _0x95bc91=_0x44b885,{memberID:_0x1fefaf}=_0x44cf95[_0x95bc91(0x30d)],_0x22ee24=this[_0x95bc91(0x3a7)];_0x22ee24[_0x95bc91(0x371)](_0x1fefaf),this[_0x95bc91(0x3cc)][_0x95bc91(0x3dc)](_0x22ee24);}[_0x44b885(0x361)](_0x15c0fd,_0x2b47a3){const _0x30fdcb=_0x44b885;var _0x30c4d0,_0x1d6cab;const _0x352c66=(_0x1d6cab=(_0x30c4d0=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x30c4d0[_0x30fdcb(0x35e)](_0x15c0fd))==null?void 0x0:_0x1d6cab[_0x30fdcb(0x1bb)]();return(_0x352c66==null?void 0x0:_0x352c66[_0x30fdcb(0x2dd)](_0x53444d=>a[_0x30fdcb(0x320)][_0x30fdcb(0x284)](_0x53444d,_0x2b47a3)))||_0x2b47a3;}[_0x44b885(0x40e)](){const _0x3f27c6=_0x44b885,_0x367a69=new a[(_0x3f27c6(0x212))](),_0x4ca3b0=at(),_0x1f4608=()=>{const _0x2b1be0=_0x3f27c6;_0x367a69[_0x2b1be0(0x286)]();const _0x1f5a95=(_0x449d3b,_0x1f3e4f,_0x101a36,_0x51e383)=>{const _0x3859e4=_0x2b1be0;let _0x36edf6=[];switch(_0x449d3b['id']){case I[_0x3859e4(0x31c)]['DeleteRangeMoveLeftCommandId']:{_0x36edf6=I[_0x3859e4(0x407)](_0x449d3b,_0x51e383);break;}case I[_0x3859e4(0x31c)][_0x3859e4(0x1f9)]:{_0x36edf6=I['handleDeleteRangeMoveUp'](_0x449d3b,_0x51e383);break;}case I[_0x3859e4(0x31c)][_0x3859e4(0x26d)]:{_0x36edf6=I[_0x3859e4(0x2d0)](_0x449d3b,_0x51e383);break;}case I['EffectRefRangId'][_0x3859e4(0x3d1)]:{_0x36edf6=I[_0x3859e4(0x3b6)](_0x449d3b,_0x51e383);break;}case I[_0x3859e4(0x31c)][_0x3859e4(0x1b4)]:{_0x36edf6=I['handleInsertRangeMoveRight'](_0x449d3b,_0x51e383);break;}case I[_0x3859e4(0x31c)][_0x3859e4(0x3e8)]:{_0x36edf6=I[_0x3859e4(0x18b)](_0x449d3b,_0x51e383);break;}case I[_0x3859e4(0x31c)][_0x3859e4(0x3f1)]:{_0x36edf6=I[_0x3859e4(0x331)](_0x449d3b,_0x51e383);break;}case I[_0x3859e4(0x31c)][_0x3859e4(0x35f)]:{_0x36edf6=I[_0x3859e4(0x2b4)](_0x449d3b,_0x51e383);break;}case I[_0x3859e4(0x31c)][_0x3859e4(0x36d)]:{_0x36edf6=I[_0x3859e4(0x26f)](_0x449d3b,_0x51e383);break;}}const _0x35ca21=I[_0x3859e4(0x401)](_0x36edf6,_0x51e383),_0x37234f=this[_0x3859e4(0x3a7)][_0x3859e4(0x1ec)](_0x1f3e4f);if(_0x37234f&&_0x35ca21){const _0x2e9052={..._0x37234f,'range':_0x35ca21};this['cursorInfo'][_0x3859e4(0x18f)](_0x1f3e4f,_0x2e9052),_0x4ca3b0(()=>{const _0x5958df=_0x3859e4,_0xaa825f=this['_refRangeService'][_0x5958df(0x3a6)](_0x35ca21,_0x265295=>(_0xaa825f[_0x5958df(0x286)](),_0x1f5a95(_0x265295,_0x1f3e4f,_0x101a36,_0x35ca21)));_0x367a69[_0x5958df(0x25a)](_0xaa825f);});}return{'redos':[],'undos':[]};};this[_0x2b1be0(0x3a7)][_0x2b1be0(0x40a)]((_0x433fb8,_0x418c50)=>{const _0x1f903f=_0x2b1be0,{range:_0x4ad523,sheetID:_0x3388f0}=_0x433fb8,_0x5dece7=this[_0x1f903f(0x3c6)][_0x1f903f(0x3a6)](_0x4ad523,_0x4177d8=>(_0x5dece7[_0x1f903f(0x286)](),_0x1f5a95(_0x4177d8,_0x418c50,_0x3388f0,_0x4ad523)));_0x367a69['add'](_0x5dece7);});};this[_0x3f27c6(0x1e2)](a['toDisposable'](this['_cursorInfo$']['subscribe'](()=>{_0x1f4608();})));}[_0x44b885(0x30a)](){const _0x40cc13=_0x44b885;var _0x12b3ab,_0x435852;if(this[_0x40cc13(0x3a0)]=!0x0,((_0x12b3ab=this[_0x40cc13(0x1bd)][_0x40cc13(0x301)]())==null?void 0x0:_0x12b3ab[_0x40cc13(0x29d)]())!==this['unitID'])return;const _0xf66fdc=(_0x435852=this[_0x40cc13(0x40f)][_0x40cc13(0x1ec)](I[_0x40cc13(0x208)])[_0x40cc13(0x390)]())==null?void 0x0:_0x435852[0x0],_0xc5c521=this[_0x40cc13(0x1bd)]['getCurrentUnitForType'](a['UniverInstanceType'][_0x40cc13(0x34c)])[_0x40cc13(0x280)]();_0xf66fdc&&_0xc5c521&&this['_updateLocalCursor'](_0xc5c521[_0x40cc13(0x31d)](),_0xf66fdc);}[_0x44b885(0x282)](){const _0x302ca7=_0x44b885;this[_0x302ca7(0x3a0)]=!0x1;}};ve=it([y(0x2,a[_0x44b885(0x326)](a[_0x44b885(0x22a)])),y(0x3,a[_0x44b885(0x326)](Ce)),y(0x4,a['Inject'](u[_0x44b885(0x403)])),y(0x5,a[_0x44b885(0x1a1)]),y(0x6,a[_0x44b885(0x3ca)]),y(0x7,a['Inject'](I[_0x44b885(0x34b)]))],ve);var ct=Object[_0x44b885(0x231)],lt=(_0x9379a3,_0x4f1a94,_0x41d390,_0x14a174)=>{for(var _0x32c738=_0x14a174>0x1?void 0x0:_0x14a174?ct(_0x4f1a94,_0x41d390):_0x4f1a94,_0x5b89d7=_0x9379a3['length']-0x1,_0x252412;_0x5b89d7>=0x0;_0x5b89d7--)(_0x252412=_0x9379a3[_0x5b89d7])&&(_0x32c738=_0x252412(_0x32c738)||_0x32c738);return _0x32c738;},ie=(_0x44a368,_0x138185)=>(_0x433a3a,_0x21b402)=>_0x138185(_0x433a3a,_0x21b402,_0x44a368);let x=class extends a[_0x44b885(0x305)]{constructor(_0x2eacf0,_0x4f84e3,_0x2e8a3e){const _0x4c78c5=_0x44b885;super(),h(this,_0x4c78c5(0x358),new Map()),h(this,_0x4c78c5(0x2d1),new d[(_0x4c78c5(0x1f5))]()),(this[_0x4c78c5(0x1bd)]=_0x2eacf0,this[_0x4c78c5(0x40f)]=_0x4f84e3,this['_collabSessionService']=_0x2e8a3e,this[_0x4c78c5(0x383)]());}[_0x44b885(0x286)](){const _0x58f2ff=_0x44b885;super[_0x58f2ff(0x286)](),this[_0x58f2ff(0x2d1)]['complete'](),this[_0x58f2ff(0x358)][_0x58f2ff(0x40a)](_0x57aa5b=>_0x57aa5b[_0x58f2ff(0x286)]());}[_0x44b885(0x2c2)](_0x46e005){const _0x54da86=_0x44b885;return this[_0x54da86(0x358)]['has'](_0x46e005)?this[_0x54da86(0x358)][_0x54da86(0x1ec)](_0x46e005)[_0x54da86(0x2d6)]:this[_0x54da86(0x2d1)][_0x54da86(0x2d9)](d['filter'](_0x257868=>_0x257868['unitID']===_0x46e005),d[_0x54da86(0x34e)](_0x550475=>_0x550475['cursorInfo$']));}[_0x44b885(0x383)](){const _0x54b2c0=_0x44b885;this[_0x54b2c0(0x1bd)][_0x54b2c0(0x3bb)](a['UniverInstanceType'][_0x54b2c0(0x34c)])[_0x54b2c0(0x2d9)](d[_0x54b2c0(0x3b7)](this[_0x54b2c0(0x2e0)]))[_0x54b2c0(0x409)](async _0x1c3e75=>{const _0xdc10a9=_0x54b2c0,_0x17eeea=_0x1c3e75[_0xdc10a9(0x29d)](),_0x16446a=await this[_0xdc10a9(0x398)](_0x17eeea);this[_0xdc10a9(0x2d1)][_0xdc10a9(0x3dc)](_0x16446a),this['_entities'][_0xdc10a9(0x18f)](_0x17eeea,_0x16446a);}),this[_0x54b2c0(0x1bd)]['getTypeOfUnitAdded$'](a[_0x54b2c0(0x3f3)][_0x54b2c0(0x18c)])[_0x54b2c0(0x2d9)](d['takeUntil'](this[_0x54b2c0(0x2e0)]))[_0x54b2c0(0x2d9)](d[_0x54b2c0(0x2d4)](_0x52d8d9=>!_0x52d8d9[_0x54b2c0(0x29d)]()[_0x54b2c0(0x3ff)]('__')))['subscribe'](async _0x33ae19=>{const _0x3b20d3=_0x54b2c0,_0x2e7242=_0x33ae19[_0x3b20d3(0x29d)](),_0x97e9e2=await this[_0x3b20d3(0x2e4)](_0x2e7242);this[_0x3b20d3(0x2d1)][_0x3b20d3(0x3dc)](_0x97e9e2),this[_0x3b20d3(0x358)][_0x3b20d3(0x18f)](_0x2e7242,_0x97e9e2);}),d[_0x54b2c0(0x2e7)](this[_0x54b2c0(0x1bd)][_0x54b2c0(0x202)](a[_0x54b2c0(0x3f3)][_0x54b2c0(0x18c)]),this[_0x54b2c0(0x1bd)][_0x54b2c0(0x202)](a[_0x54b2c0(0x3f3)]['UNIVER_SHEET']))['pipe'](d[_0x54b2c0(0x3b7)](this['dispose$']))[_0x54b2c0(0x409)](_0x4aeb00=>{const _0x564e4d=_0x54b2c0,_0x5e18a5=_0x4aeb00['getUnitId'](),_0x115907=this['_entities'][_0x564e4d(0x1ec)](_0x5e18a5);_0x115907&&(_0x115907[_0x564e4d(0x286)](),this[_0x564e4d(0x358)][_0x564e4d(0x371)](_0x5e18a5));});}async[_0x44b885(0x398)](_0x3e6014){const _0x3e8724=_0x44b885,_0x56c036=await this[_0x3e8724(0x253)]['requireSession'](_0x3e6014),_0x1ae78b=this[_0x3e8724(0x40f)]['createInstance'](ve,_0x3e6014,_0x56c036);return _0x1ae78b[_0x3e8724(0x3f2)](),_0x1ae78b;}async['_startDocCollabCursor'](_0x3587a9){const _0x475714=_0x44b885,_0x105d67=await this[_0x475714(0x253)][_0x475714(0x2a4)](_0x3587a9),_0x128113=this[_0x475714(0x40f)][_0x475714(0x2ff)](Se,_0x3587a9,_0x105d67);return _0x128113[_0x475714(0x3f2)](),_0x128113;}};x=lt([ie(0x0,a[_0x44b885(0x1a1)]),ie(0x1,a[_0x44b885(0x326)](a['Injector'])),ie(0x2,a['Inject'](u[_0x44b885(0x33c)]))],x);const K=0x14,De=0xc8,re=0x4,ht=0x5;function _t(_0x13ba73,_0x29e8ce){const _0x24e33a=_0x44b885;let {radius:_0x1a0cbc,width:_0x168584,height:_0x27d68b}=_0x29e8ce;_0x1a0cbc=_0x1a0cbc!=null?_0x1a0cbc:0x0,_0x168584=_0x168584!=null?_0x168584:0x1e,_0x27d68b=_0x27d68b!=null?_0x27d68b:0x1e;let _0xdee6ce=0x0,_0x3ed50a=0x0,_0x203e2c=0x0;_0xdee6ce=_0x3ed50a=_0x203e2c=Math[_0x24e33a(0x1ff)](_0x1a0cbc,_0x168584/0x2,_0x27d68b/0x2),_0x13ba73[_0x24e33a(0x36b)](),_0x13ba73[_0x24e33a(0x1f6)](_0xdee6ce,0x0),_0x13ba73[_0x24e33a(0x37f)](_0x168584-_0x3ed50a,0x0),_0x13ba73[_0x24e33a(0x316)](_0x168584-_0x3ed50a,_0x3ed50a,_0x3ed50a,Math['PI']*0x3/0x2,0x0,!0x1),_0x13ba73['lineTo'](_0x168584,_0x27d68b-_0x203e2c),_0x13ba73['arc'](_0x168584-_0x203e2c,_0x27d68b-_0x203e2c,_0x203e2c,0x0,Math['PI']/0x2,!0x1),_0x13ba73['lineTo'](0x0,_0x27d68b),_0x13ba73['lineTo'](0x0,_0xdee6ce),_0x13ba73[_0x24e33a(0x316)](_0xdee6ce,_0xdee6ce,_0xdee6ce,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x13ba73[_0x24e33a(0x2a7)](),_0x29e8ce[_0x24e33a(0x3c2)]&&(_0x13ba73[_0x24e33a(0x2d2)](),_0x13ba73[_0x24e33a(0x405)]=_0x29e8ce[_0x24e33a(0x3c2)],_0x29e8ce[_0x24e33a(0x2c3)]===_0x24e33a(0x2a0)?_0x13ba73[_0x24e33a(0x3c2)](_0x24e33a(0x2a0)):_0x13ba73[_0x24e33a(0x3c2)](),_0x13ba73[_0x24e33a(0x207)]());}class te extends p[_0x44b885(0x218)]{constructor(_0x22f8e2,_0x2cbc8a){const _0x15b3ed=_0x44b885;super(_0x22f8e2,_0x2cbc8a),h(this,_0x15b3ed(0x1a0)),h(this,'text'),(this[_0x15b3ed(0x1a0)]=_0x2cbc8a==null?void 0x0:_0x2cbc8a[_0x15b3ed(0x1a0)],this[_0x15b3ed(0x345)]=_0x2cbc8a==null?void 0x0:_0x2cbc8a['text']);}static[_0x44b885(0x2b5)](_0x3fd1ce,_0x98c882){const _0x2e9ad0=_0x44b885,{text:_0x17accf,color:_0x42a9ea}=_0x98c882;_0x3fd1ce[_0x2e9ad0(0x2d2)](),_0x3fd1ce[_0x2e9ad0(0x340)]=_0x2e9ad0(0x2a1);const _0x22ef0a=_0x3fd1ce[_0x2e9ad0(0x2b6)](_0x17accf)['width'],_0x455cbc=Math[_0x2e9ad0(0x1ff)](_0x22ef0a+0x2*re,De);_t(_0x3fd1ce,{'height':K,'radius':0x4,'width':_0x455cbc,'fill':_0x42a9ea}),_0x3fd1ce[_0x2e9ad0(0x405)]=_0x2e9ad0(0x37d);const _0x497380=re,_0x29eb73=K-ht,_0x2dc930=De-0x2*re;if(_0x22ef0a>_0x2dc930){let _0x4316f6='',_0x14f2e0=0x0;for(const _0x391c2b of _0x17accf){const _0x3a0608=_0x3fd1ce[_0x2e9ad0(0x2b6)](_0x391c2b)[_0x2e9ad0(0x3ef)];if(_0x14f2e0+_0x3a0608<=_0x2dc930-_0x3fd1ce['measureText'](_0x2e9ad0(0x247))[_0x2e9ad0(0x3ef)])_0x4316f6+=_0x391c2b,_0x14f2e0+=_0x3a0608;else{_0x4316f6+=_0x2e9ad0(0x247);break;}}_0x3fd1ce['fillText'](_0x4316f6,_0x497380,_0x29eb73);}else _0x3fd1ce[_0x2e9ad0(0x337)](_0x17accf,_0x497380,_0x29eb73);_0x3fd1ce[_0x2e9ad0(0x207)]();}['_draw'](_0x24b593){te['drawWith'](_0x24b593,this);}}const oe=_0x44b885(0x27b),ut=_0x44b885(0x304),dt=_0x44b885(0x319),B=0x6,ft=1.5,ae=0x4,St=1.5,vt=_0x44b885(0x192);class Ue{constructor(_0x3290a3,_0x3bbe11,_0x57741a,_0x5ab631){const _0x49fe07=_0x44b885;h(this,_0x49fe07(0x2ce),[]),h(this,'_anchor',null),h(this,_0x49fe07(0x3bd),null),h(this,'_anchorDot',null),h(this,_0x49fe07(0x400),null),h(this,_0x49fe07(0x261),null),(this[_0x49fe07(0x311)]=_0x3290a3,this[_0x49fe07(0x1aa)]=_0x3bbe11,this[_0x49fe07(0x25c)]=_0x57741a,this[_0x49fe07(0x2dc)]=_0x5ab631,this[_0x49fe07(0x1fb)]());}set[_0x44b885(0x38d)](_0x1c2fcc){const _0x42092a=_0x44b885;_0x1c2fcc?(this[_0x42092a(0x1d2)]&&this[_0x42092a(0x1d2)][_0x42092a(0x3aa)](),this[_0x42092a(0x3bd)]&&this[_0x42092a(0x3bd)]['show']()):(this['_anchorDot']&&this[_0x42092a(0x1d2)][_0x42092a(0x2c6)](),this[_0x42092a(0x3bd)]&&this[_0x42092a(0x3bd)][_0x42092a(0x3aa)]());}['dispose'](){const _0x55af2b=_0x44b885;for(const _0x4b1084 of this[_0x55af2b(0x2ce)])_0x4b1084[_0x55af2b(0x286)]();this[_0x55af2b(0x3bd)]&&this['_textBubble']['dispose'](),this[_0x55af2b(0x1d2)]&&this['_anchorDot'][_0x55af2b(0x286)](),this[_0x55af2b(0x25f)]&&this[_0x55af2b(0x25f)][_0x55af2b(0x286)](),this[_0x55af2b(0x261)]&&this[_0x55af2b(0x261)]();}[_0x44b885(0x1fb)](){const _0x490e9a=_0x44b885;var _0x4d451a;const {_docSkeleton:_0x418e94,_document:_0x2b18f1}=this,{color:_0x341c4e,name:_0x2b98b9,ranges:_0x3127e7}=this[_0x490e9a(0x311)],_0x261449=_0x2b18f1[_0x490e9a(0x1b6)](),{docsLeft:_0x23d798,docsTop:_0x33b234}=_0x261449,_0x330f57=new b['NodePositionConvertToCursor'](_0x261449,_0x418e94);for(const {startOffset:_0x467ca2,endOffset:_0x326af3,rangeType:_0x1973fb,segmentId:_0x2aef90,segmentPage:_0x3e7653,collapsed:_0xc16666,isActive:_0x42f0f4}of _0x3127e7){const _0x2d2f02=_0x418e94['findNodePositionByCharIndex'](_0x467ca2,!0x0,_0x2aef90,_0x3e7653);let _0x10ee9f=_0x418e94[_0x490e9a(0x1d0)](_0x326af3,!0x0,_0x2aef90,_0x3e7653);if(_0x10ee9f==null&&(_0x10ee9f=_0x418e94[_0x490e9a(0x1d0)](_0x326af3-0x1,!0x1,_0x2aef90,_0x3e7653)),_0x42f0f4){const {contentBoxPointGroup:_0x43d9f4}=_0x330f57[_0x490e9a(0x1e0)](_0x10ee9f,_0x10ee9f);if(_0x43d9f4[_0x490e9a(0x29a)]===0x0)continue;this[_0x490e9a(0x374)](_0x341c4e,_0x43d9f4,_0x23d798,_0x33b234,_0x2b98b9),this[_0x490e9a(0x261)]=this[_0x490e9a(0x3ae)]();}if(_0x2d2f02&&_0x10ee9f){if(_0x1973fb===a['DOC_RANGE_TYPE']['RECT']){const _0x43dbf3=new b[(_0x490e9a(0x19c))](_0x261449,_0x418e94),{pointGroup:_0x4281eb}=(_0x4d451a=_0x43dbf3[_0x490e9a(0x1e0)](_0x2d2f02,_0x10ee9f))!=null?_0x4d451a:{};if(_0x4281eb==null||_0x4281eb[_0x490e9a(0x29a)]===0x0)continue;this[_0x490e9a(0x3b5)](_0x341c4e,_0x4281eb,_0x23d798,_0x33b234);}else{if(!_0xc16666){const {borderBoxPointGroup:_0x4522e5}=_0x330f57[_0x490e9a(0x1e0)](_0x2d2f02,_0x10ee9f);if(_0x4522e5['length']===0x0)continue;this[_0x490e9a(0x21f)](_0x341c4e,_0x4522e5,_0x23d798,_0x33b234);}}}}}[_0x44b885(0x374)](_0x476802,_0x5317dd,_0x58f8ee,_0x5d9509,_0x28989c){const _0x2c1e70=_0x44b885,_0x5aeb99=this[_0x2c1e70(0x2e3)](_0x5317dd),{left:_0x255828,top:_0x57d36c,height:_0x2fd58c}=_0x5aeb99,_0x2b37c3=this['_getScale'](),_0x1b9cd6=St/_0x2b37c3,_0x3f2490=new p[(_0x2c1e70(0x217))](oe+a[_0x2c1e70(0x260)]['generateRandomId'](B),{'left':_0x255828+_0x58f8ee-_0x1b9cd6,'top':_0x57d36c+_0x5d9509,'height':_0x2fd58c,'width':ft,'fill':_0x476802||p[_0x2c1e70(0x327)](a[_0x2c1e70(0x2c9)]['black'],0x0),'strokeWidth':_0x1b9cd6,'stroke':vt,'evented':!0x0});this['_anchor']=_0x3f2490,this[_0x2c1e70(0x1aa)][_0x2c1e70(0x3ea)](_0x3f2490,b[_0x2c1e70(0x3a4)]);const _0xd82bd5=new p['Rect'](oe+a[_0x2c1e70(0x260)][_0x2c1e70(0x1b3)](B),{'left':_0x255828+_0x58f8ee-_0x1b9cd6,'top':_0x57d36c+_0x5d9509-ae/0x2,'height':ae,'width':ae,'fill':_0x476802||p[_0x2c1e70(0x327)](a[_0x2c1e70(0x2c9)][_0x2c1e70(0x27a)],0x0),'strokeWidth':0x0,'stroke':_0x476802||p['getColor'](a[_0x2c1e70(0x2c9)][_0x2c1e70(0x27a)],0x0),'evented':!0x1});this[_0x2c1e70(0x1d2)]=_0xd82bd5,this[_0x2c1e70(0x1aa)][_0x2c1e70(0x3ea)](_0xd82bd5,b['TEXT_RANGE_LAYER_INDEX']);const _0x21b824=new te(oe+a[_0x2c1e70(0x260)][_0x2c1e70(0x1b3)](B),{'left':_0x255828+_0x58f8ee-_0x1b9cd6,'top':_0x57d36c+_0x5d9509-K,'text':_0x28989c,'color':_0x476802});this[_0x2c1e70(0x3bd)]=_0x21b824,this['_scene'][_0x2c1e70(0x3ea)](_0x21b824,b[_0x2c1e70(0x3a4)]),this['_hover']=!0x1;}[_0x44b885(0x3ae)](){const _0x7658d7=_0x44b885,_0x1c499c=this['_anchor'][_0x7658d7(0x3da)][_0x7658d7(0x333)](()=>{const _0x240532=_0x7658d7;this[_0x240532(0x38d)]=!0x0;}),_0x1baf74=this[_0x7658d7(0x25f)][_0x7658d7(0x1a7)][_0x7658d7(0x333)](()=>{const _0x1ff16a=_0x7658d7;this['_hideTimer']&&clearTimeout(this[_0x1ff16a(0x400)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x10bc10=_0x7658d7;_0x1c499c[_0x10bc10(0x33f)](),_0x1baf74[_0x10bc10(0x33f)]();};}[_0x44b885(0x21f)](_0x3f04d3,_0x3ec1a8,_0x56a0d9,_0x3ec1be){const _0x5bf8d9=_0x44b885,_0x503bc7=new a['ColorKit'](_0x3f04d3)[_0x5bf8d9(0x387)](0.2)['toRgbString'](),_0x226f1d=new p[(_0x5bf8d9(0x1f1))](ut+a[_0x5bf8d9(0x260)][_0x5bf8d9(0x1b3)](B),{'pointsGroup':_0x3ec1a8,'fill':_0x503bc7||p[_0x5bf8d9(0x327)](a[_0x5bf8d9(0x2c9)][_0x5bf8d9(0x27a)],0.2),'left':_0x56a0d9,'top':_0x3ec1be,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x226f1d),this[_0x5bf8d9(0x1aa)][_0x5bf8d9(0x3ea)](_0x226f1d,b[_0x5bf8d9(0x3a4)]);}[_0x44b885(0x3b5)](_0x1e3b8b,_0x465945,_0x51edc3,_0x446e92){const _0x531f69=_0x44b885,_0x4efb70=new a[(_0x531f69(0x3f6))](_0x1e3b8b)['setAlpha'](0.2)[_0x531f69(0x408)](),_0x20acf3=new p[(_0x531f69(0x1f1))](dt+a[_0x531f69(0x260)][_0x531f69(0x1b3)](B),{'pointsGroup':_0x465945,'fill':_0x4efb70||p['getColor'](a[_0x531f69(0x2c9)][_0x531f69(0x27a)],0.2),'left':_0x51edc3,'top':_0x446e92,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x531f69(0x2ce)]['push'](_0x20acf3),this[_0x531f69(0x1aa)][_0x531f69(0x3ea)](_0x20acf3,b[_0x531f69(0x3a4)]);}[_0x44b885(0x2e3)](_0x43c57a){const _0x34675d=_0x43c57a[0x0],_0x5980f8=_0x34675d[0x0],_0x55a3a6=_0x34675d[0x2],{x:_0x22f42e,y:_0x208ed8}=_0x5980f8,{x:_0x7e7788,y:_0x4637d9}=_0x55a3a6;return{'left':_0x22f42e,'top':_0x208ed8,'width':_0x7e7788-_0x22f42e,'height':_0x4637d9-_0x208ed8};}[_0x44b885(0x255)](){const _0x341572=_0x44b885,{scaleX:_0x4f573a,scaleY:_0x13267b}=this['_scene'][_0x341572(0x263)]();return Math[_0x341572(0x1d5)](_0x4f573a,_0x13267b);}}var gt=Object[_0x44b885(0x231)],It=(_0x555caf,_0x2ad8d2,_0x5694e0,_0x44f113)=>{const _0x284a0d=_0x44b885;for(var _0xdc40cd=_0x44f113>0x1?void 0x0:_0x44f113?gt(_0x2ad8d2,_0x5694e0):_0x2ad8d2,_0x1d9e08=_0x555caf[_0x284a0d(0x29a)]-0x1,_0x263687;_0x1d9e08>=0x0;_0x1d9e08--)(_0x263687=_0x555caf[_0x1d9e08])&&(_0xdc40cd=_0x263687(_0xdc40cd)||_0xdc40cd);return _0xdc40cd;},X=(_0x22dc95,_0x207e28)=>(_0x2fbfce,_0x39e8d1)=>_0x207e28(_0x2fbfce,_0x39e8d1,_0x22dc95);let ge=class extends a[_0x44b885(0x305)]{constructor(_0xa042d6,_0x3b5c45,_0x4033e9,_0x397378,_0x4960fd){const _0x3447d6=_0x44b885;super(),h(this,_0x3447d6(0x1a6),[]),h(this,_0x3447d6(0x313),[]),(this['_context']=_0xa042d6,this[_0x3447d6(0x312)]=_0x3b5c45,this[_0x3447d6(0x3e2)]=_0x4033e9,this['_commandService']=_0x397378,this['_themeService']=_0x4960fd,this[_0x3447d6(0x383)]());}[_0x44b885(0x383)](){const _0x222aca=_0x44b885,_0x195561=this[_0x222aca(0x25d)][_0x222aca(0x281)],_0x222061=this['_docSkeletonManagerService'];this['disposeWithMe'](d['combineLatest']([this[_0x222aca(0x3e2)][_0x222aca(0x2c2)](_0x195561),this[_0x222aca(0x365)][_0x222aca(0x3d8)]])[_0x222aca(0x2d9)]($[_0x222aca(0x395)](([_0x4c683b,_0x2b36f5])=>({'skeleton':_0x222061[_0x222aca(0x1c7)](),'cursors':[..._0x4c683b[_0x222aca(0x35b)]()][_0x222aca(0x18a)](_0x280385=>({..._0x280385,'color':_0x2b36f5[_0x280385[_0x222aca(0x1a0)]]}))})))[_0x222aca(0x409)](_0x144ae2=>{const _0x41eedb=_0x222aca;if(this[_0x41eedb(0x3f5)](),_0x144ae2){const {skeleton:_0x305d99,cursors:_0xa4b660}=_0x144ae2;this[_0x41eedb(0x3b4)](_0x305d99,_0xa4b660);}})),this[_0x222aca(0x1c6)](),this[_0x222aca(0x1ac)]();}['_updateCollabCursors'](_0x360fb8,_0x3c45d0){const _0x2a7fce=_0x44b885,{scene:_0x29f47e,mainComponent:_0xed686e}=this[_0x2a7fce(0x25d)],_0xd7b2ae=_0x3c45d0[_0x2a7fce(0x395)](_0x2079b7=>new Ue(_0x2079b7,_0x29f47e,_0x360fb8,_0xed686e));this['_cursorShapes']=_0xd7b2ae,this[_0x2a7fce(0x313)]=_0x3c45d0;}['_refreshCollabCursors'](){const _0x83465a=_0x44b885;this['_removeCollabCursors']();const {scene:_0x203b94,mainComponent:_0x5d1ad4}=this[_0x83465a(0x25d)],_0x30af10=this[_0x83465a(0x312)][_0x83465a(0x1c7)](),_0x24bc1e=this['_cursors'][_0x83465a(0x395)](_0x53702a=>new Ue(_0x53702a,_0x203b94,_0x30af10,_0x5d1ad4));this[_0x83465a(0x1a6)]=_0x24bc1e;}[_0x44b885(0x3f5)](){const _0x10d2db=_0x44b885;this[_0x10d2db(0x1a6)][_0x10d2db(0x40a)](_0xd01eef=>_0xd01eef['dispose']()),this['_cursorShapes']=[];}[_0x44b885(0x1ac)](){const _0x11c735=_0x44b885,_0x24b8e4=[b['SetDocZoomRatioOperation']['id']];this[_0x11c735(0x1e2)](this[_0x11c735(0x269)][_0x11c735(0x295)](_0x589dd5=>{const _0x1abe34=_0x11c735;_0x24b8e4[_0x1abe34(0x413)](_0x589dd5['id'])&&_0x589dd5[_0x1abe34(0x29e)][_0x1abe34(0x281)]===this[_0x1abe34(0x25d)]['unitId']&&this[_0x1abe34(0x39a)]();}));}['_initResize'](){const _0x56a788=_0x44b885;this[_0x56a788(0x1e2)](a[_0x56a788(0x3db)](this['_context'][_0x56a788(0x1c2)][_0x56a788(0x36f)])[_0x56a788(0x2d9)]($[_0x56a788(0x2d4)](_0xd1675a=>_0xd1675a['type']===p[_0x56a788(0x2ad)][_0x56a788(0x3a8)]),$[_0x56a788(0x36e)](0x10))[_0x56a788(0x409)](()=>{this['_refreshCollabCursors']();}));}};ge=It([X(0x1,a[_0x44b885(0x326)](Y[_0x44b885(0x3e5)])),X(0x2,a[_0x44b885(0x326)](x)),X(0x3,a[_0x44b885(0x3ca)]),X(0x4,a['Inject'](a[_0x44b885(0x2e1)]))],ge);const mt=0x1,Ct=1.5;class ye extends p[_0x44b885(0x218)]{constructor(_0x5e956b,_0x283c17){const _0x47caf6=_0x44b885;super(_0x5e956b,_0x283c17),h(this,_0x47caf6(0x367)),h(this,'_hovered',!0x1),h(this,_0x47caf6(0x298)),h(this,_0x47caf6(0x336),''),h(this,_0x47caf6(0x1ca),_0x47caf6(0x243)),h(this,_0x47caf6(0x2e5)),(_0x283c17&&this[_0x47caf6(0x224)](_0x283c17),this['onPointerEnter$'][_0x47caf6(0x333)](()=>this[_0x47caf6(0x224)]({'hovered':!0x0})),this[_0x47caf6(0x1a7)][_0x47caf6(0x333)](()=>this[_0x47caf6(0x224)]({'hovered':!0x1})));}[_0x44b885(0x224)](_0x4890df){const _0x506a81=_0x44b885;var _0x3f09ea,_0x2cd20c,_0x373ae8,_0x11bc33,_0x249118,_0x5483a7;this['_color']=(_0x3f09ea=_0x4890df[_0x506a81(0x1a0)])!=null?_0x3f09ea:this['_color'],this[_0x506a81(0x23e)]=(_0x2cd20c=_0x4890df[_0x506a81(0x2f2)])!=null?_0x2cd20c:this[_0x506a81(0x23e)],this['_range']=(_0x373ae8=_0x4890df['range'])!=null?_0x373ae8:this[_0x506a81(0x298)],this[_0x506a81(0x336)]=(_0x11bc33=_0x4890df[_0x506a81(0x2f9)])!=null?_0x11bc33:this[_0x506a81(0x336)],this[_0x506a81(0x1ca)]=(_0x249118=_0x4890df['labelPosition'])!=null?_0x249118:this[_0x506a81(0x1ca)],this[_0x506a81(0x2e5)]=(_0x5483a7=_0x4890df[_0x506a81(0x278)])!=null?_0x5483a7:this['_backgroundColor'],this[_0x506a81(0x355)]({'width':_0x4890df[_0x506a81(0x3ef)],'height':_0x4890df[_0x506a81(0x228)]});}[_0x44b885(0x3c5)](_0x6b88f1){const _0x30eeb=_0x44b885,{row:_0x5d2bc9,column:_0x138476}=_0x6b88f1;if(_0x5d2bc9>=this[_0x30eeb(0x298)][_0x30eeb(0x20b)]&&_0x5d2bc9<=this[_0x30eeb(0x298)][_0x30eeb(0x3fb)]&&_0x138476>=this['_range'][_0x30eeb(0x1c1)]&&_0x138476<=this[_0x30eeb(0x298)]['endColumn']){this[_0x30eeb(0x224)]({'hovered':!0x0});return;}this[_0x30eeb(0x224)]({'hovered':!0x1});}[_0x44b885(0x279)](_0x1de78a){return!0x1;}[_0x44b885(0x2d8)](_0x2371ea){const _0x28c934=_0x44b885;p['Rect'][_0x28c934(0x2b5)](_0x2371ea,{'width':this['width'],'height':this[_0x28c934(0x228)],'strokeWidth':Ct,'stroke':this[_0x28c934(0x367)],'evented':!0x1,'fill':this[_0x28c934(0x2e5)]}),this[_0x28c934(0x23e)]&&(_0x2371ea['save'](),_0x2371ea[_0x28c934(0x315)](0x1,0x0,0x0,0x1,this[_0x28c934(0x3ef)],this[_0x28c934(0x1ca)]===_0x28c934(0x26a)?0x0:-0x14),te[_0x28c934(0x2b5)](_0x2371ea,{'text':this[_0x28c934(0x336)],'color':this['_color']}),_0x2371ea[_0x28c934(0x207)]());}}var pt=Object['getOwnPropertyDescriptor'],bt=(_0x2cb469,_0x397526,_0x22af92,_0xf44deb)=>{const _0x51b272=_0x44b885;for(var _0xe49234=_0xf44deb>0x1?void 0x0:_0xf44deb?pt(_0x397526,_0x22af92):_0x397526,_0x4ad310=_0x2cb469[_0x51b272(0x29a)]-0x1,_0x30bdd1;_0x4ad310>=0x0;_0x4ad310--)(_0x30bdd1=_0x2cb469[_0x4ad310])&&(_0xe49234=_0x30bdd1(_0xe49234)||_0xe49234);return _0xe49234;},ce=(_0x4a0ce2,_0x190a86)=>(_0x5847f6,_0x4572fd)=>_0x190a86(_0x5847f6,_0x4572fd,_0x4a0ce2);const Et=0x1389;let Ie=class extends a[_0x44b885(0x305)]{constructor(_0x2455f0,_0x487027,_0x572a98,_0x3b0949){const _0x1e371a=_0x44b885;super(),h(this,_0x1e371a(0x313),new Set()),h(this,_0x1e371a(0x339),null),(this[_0x1e371a(0x25d)]=_0x2455f0,this['_sheetSkeletonManagerService']=_0x487027,this[_0x1e371a(0x3e2)]=_0x572a98,this[_0x1e371a(0x365)]=_0x3b0949,this[_0x1e371a(0x383)]());}[_0x44b885(0x383)](){const _0x4f82bb=_0x44b885;this[_0x4f82bb(0x237)][_0x4f82bb(0x397)][_0x4f82bb(0x2d9)]($['takeUntil'](this[_0x4f82bb(0x2e0)]),$[_0x4f82bb(0x34e)](_0x2a1831=>{const _0x313929=_0x4f82bb;if(_0x2a1831){const _0x51b4a4=_0x2a1831[_0x313929(0x287)];return d[_0x313929(0x23a)](this[_0x313929(0x3e2)]['getCollabCursors$'](this[_0x313929(0x25d)][_0x313929(0x281)]),this[_0x313929(0x365)][_0x313929(0x3d8)])[_0x313929(0x2d9)]($[_0x313929(0x395)](([_0x299f1a,_0x508e27])=>{const _0xadd00a=new Map();return _0x299f1a['forEach']((_0xb26831,_0x2d62c4)=>{const _0x2bef88=_0x990a;if(_0xb26831[_0x2bef88(0x273)]===_0x51b4a4){const _0x174543={..._0xb26831};_0x174543['color']=_0x508e27[_0xb26831[_0x2bef88(0x1a0)]],_0xadd00a[_0x2bef88(0x18f)](_0x2d62c4,_0x174543);}}),{'skeleton':_0x2a1831,'cursors':_0xadd00a};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4ca6bd,cursors:_0x1f76fa})=>{this['_removeCollabCursors'](),_0x4ca6bd&&this['_updateCollabCursors'](_0x4ca6bd,_0x1f76fa);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4f82bb(0x409)](_0x4313f5=>{const _0x184597=_0x4f82bb;if(_0x4313f5==null)return;const {skeleton:_0x5835cd}=_0x4313f5,{scene:_0xcdf2ba}=this[_0x184597(0x25d)];_0xcdf2ba[_0x184597(0x3b3)][_0x184597(0x333)](a[_0x184597(0x2be)](_0x1cdd5e=>{const _0x5873bb=_0x184597;var _0x5f3eff,_0x1e420c;const {offsetX:_0x379112,offsetY:_0xd153d6}=_0x1cdd5e,{x:_0xf10d50,y:_0x15fbd8}=_0xcdf2ba[_0x5873bb(0x359)](p[_0x5873bb(0x26b)]['FromArray']([_0x379112,_0xd153d6])),{scaleX:_0x545a7e,scaleY:_0x5a0a0e}=_0xcdf2ba[_0x5873bb(0x263)](),_0xc15f9b=_0xcdf2ba[_0x5873bb(0x350)](p[_0x5873bb(0x32c)][_0x5873bb(0x2f6)]),_0x4319f2=_0xcdf2ba[_0x5873bb(0x3ec)](p[_0x5873bb(0x26b)][_0x5873bb(0x193)]([_0xf10d50,_0x15fbd8]),_0xc15f9b),_0x2797bb=_0x5835cd[_0x5873bb(0x35c)](_0x379112,_0xd153d6,_0x545a7e,_0x5a0a0e,_0x4319f2);((_0x5f3eff=this[_0x5873bb(0x339)])==null?void 0x0:_0x5f3eff[_0x5873bb(0x2b2)])===_0x2797bb[_0x5873bb(0x2b2)]&&((_0x1e420c=this[_0x5873bb(0x339)])==null?void 0x0:_0x1e420c[_0x5873bb(0x1f8)])===_0x2797bb[_0x5873bb(0x1f8)]||this[_0x5873bb(0x313)][_0x5873bb(0x40a)](_0x1ca92a=>{const _0x43af3e=_0x5873bb;_0x1ca92a[_0x43af3e(0x3c5)](_0x2797bb);});},0x64));});}['_updateCollabCursors'](_0xa86c87,_0x3e639d){const _0x181804=_0x44b885;var _0x1a2ee0;const _0x28dfb7=(_0x1a2ee0=this['_sheetSkeletonManagerService'][_0x181804(0x2e2)]())==null?void 0x0:_0x1a2ee0['skeleton'];if(!_0x28dfb7)return;const _0x415ca8=this[_0x181804(0x23f)]();if(!_0x415ca8)return;this[_0x181804(0x313)][_0x181804(0x40a)](_0xffb358=>{_0xffb358['makeDirty']();});const {scene:_0x3732bf}=_0x415ca8,_0x2e5240=Tt(Array[_0x181804(0x3f8)](_0x3e639d[_0x181804(0x35b)]()))[_0x181804(0x395)](_0x2842da=>{const _0x36af96=_0x181804,{color:_0x3b924a,range:_0x392469,name:_0x4780ef,selection:_0x322aed,sheetID:_0x59632d}=_0x2842da,{startColumn:_0x56810c,startRow:_0xb22089,endColumn:_0x355a6e,endRow:_0x5e0a87}=_0x392469,_0xbf08a9=G[_0x36af96(0x330)](_0xb22089,_0x56810c,_0x3732bf,_0x28dfb7),_0x4df9ea=G['getCoordByCell'](_0x5e0a87,_0x355a6e,_0x3732bf,_0x28dfb7),{columnHeaderHeightAndMarginTop:_0x3e7a05}=_0x28dfb7,{startX:_0x17f9a3,startY:_0x2d2998}=_0xbf08a9,{endX:_0x4e9b9b,endY:_0xae484d}=_0x4df9ea,_0x559321=_0x4e9b9b-_0x17f9a3,_0x824efa=_0xae484d-_0x2d2998,_0x283a36={'labelPosition':_0x2d2998-_0x3e7a05>=K?_0x36af96(0x243):_0x36af96(0x26a),'sheetID':_0x59632d,'range':_0x392469,'color':_0x3b924a,'name':_0x4780ef,'selection':_0x322aed,'left':_0x17f9a3,'top':_0x2d2998,'width':_0x559321,'height':_0x824efa,'evented':!0x1,'zIndex':Et};return new ye(_0x4780ef,_0x283a36);});_0x3732bf[_0x181804(0x3a2)](_0x2e5240,mt),this[_0x181804(0x313)]=new Set(_0x2e5240);}[_0x44b885(0x3f5)](){const _0x5e43f4=_0x44b885;var _0x3e2854;(_0x3e2854=this['_cursors'])==null||_0x3e2854[_0x5e43f4(0x40a)](_0x18861c=>_0x18861c[_0x5e43f4(0x286)]());}['_getSheetObject'](){const _0xde9885=_0x44b885;return G[_0xde9885(0x1c8)](this['_context'][_0xde9885(0x257)],this['_context']);}};Ie=bt([ce(0x1,a[_0x44b885(0x326)](G[_0x44b885(0x364)])),ce(0x2,a[_0x44b885(0x326)](x)),ce(0x3,a[_0x44b885(0x326)](a['ThemeService']))],Ie);function Tt(_0xa6f667){const _0xeb3fd1=_0x44b885,_0x3fec95=new Map();return _0xa6f667[_0xeb3fd1(0x40a)](_0x8b580f=>{const _0x16d3ee=_0xeb3fd1;if(_0x3fec95[_0x16d3ee(0x1ad)](_0x8b580f['selection'])){const _0x5c6e96=_0x3fec95[_0x16d3ee(0x1ec)](_0x8b580f['selection']);_0x5c6e96['name']+=',\x20'+_0x8b580f[_0x16d3ee(0x2f9)];}else _0x3fec95[_0x16d3ee(0x18f)](_0x8b580f[_0x16d3ee(0x2a9)],_0x8b580f);}),Array['from'](_0x3fec95['values']());}var E=function(){const _0x2393a3=_0x44b885;return E=Object[_0x2393a3(0x258)]||function(_0x2ccbaa){const _0x1757b8=_0x2393a3;for(var _0x45f1e5,_0x21f441=0x1,_0x54a294=arguments['length'];_0x21f441<_0x54a294;_0x21f441++){_0x45f1e5=arguments[_0x21f441];for(var _0x2eafd7 in _0x45f1e5)Object[_0x1757b8(0x289)]['hasOwnProperty'][_0x1757b8(0x37e)](_0x45f1e5,_0x2eafd7)&&(_0x2ccbaa[_0x2eafd7]=_0x45f1e5[_0x2eafd7]);}return _0x2ccbaa;},E[_0x2393a3(0x3b2)](this,arguments);},Rt=function(_0x4d1e2e,_0x2fdea0){const _0x2e406e=_0x44b885;var _0x407327={};for(var _0x1aea09 in _0x4d1e2e)Object['prototype']['hasOwnProperty'][_0x2e406e(0x37e)](_0x4d1e2e,_0x1aea09)&&_0x2fdea0[_0x2e406e(0x200)](_0x1aea09)<0x0&&(_0x407327[_0x1aea09]=_0x4d1e2e[_0x1aea09]);if(_0x4d1e2e!=null&&typeof Object[_0x2e406e(0x2b1)]==_0x2e406e(0x1d3)){for(var _0x4b5d75=0x0,_0x1aea09=Object[_0x2e406e(0x2b1)](_0x4d1e2e);_0x4b5d75<_0x1aea09[_0x2e406e(0x29a)];_0x4b5d75++)_0x2fdea0[_0x2e406e(0x200)](_0x1aea09[_0x4b5d75])<0x0&&Object['prototype'][_0x2e406e(0x1c3)][_0x2e406e(0x37e)](_0x4d1e2e,_0x1aea09[_0x4b5d75])&&(_0x407327[_0x1aea09[_0x4b5d75]]=_0x4d1e2e[_0x1aea09[_0x4b5d75]]);}return _0x407327;},be=P[_0x44b885(0x210)](function(_0x4f46cb,_0x3658e1){const _0x4dc414=_0x44b885;var _0x1628be=_0x4f46cb['icon'],_0x1ebf07=_0x4f46cb['id'],_0x5796f3=_0x4f46cb['className'],_0x49db0b=_0x4f46cb[_0x4dc414(0x32f)],_0x1089a7=Rt(_0x4f46cb,[_0x4dc414(0x3e7),'id',_0x4dc414(0x209),_0x4dc414(0x32f)]),_0x1a3ec8=_0x4dc414(0x352)[_0x4dc414(0x215)](_0x1ebf07,'\x20')[_0x4dc414(0x215)](_0x5796f3||'')['trim'](),_0x5beca2=P[_0x4dc414(0x30e)]('_'[_0x4dc414(0x215)](Ut()));return Ae(_0x1628be,''[_0x4dc414(0x215)](_0x1ebf07),{'defIds':_0x1628be[_0x4dc414(0x37a)],'idSuffix':_0x5beca2[_0x4dc414(0x382)]},E({'ref':_0x3658e1,'className':_0x1a3ec8},_0x1089a7),_0x49db0b);});function Ae(_0x1e5ad2,_0x177a9e,_0x1308ef,_0x67eee8,_0xd2f5f1){const _0x49cb69=_0x44b885;return P['createElement'](_0x1e5ad2[_0x49cb69(0x2a3)],E(E({'key':_0x177a9e},Ot(_0x1e5ad2,_0x1308ef,_0xd2f5f1)),_0x67eee8),(Dt(_0x1e5ad2,_0x1308ef)[_0x49cb69(0x236)]||[])[_0x49cb69(0x395)](function(_0x1dec57,_0x63cacf){const _0x386366=_0x49cb69;return Ae(_0x1dec57,''[_0x386366(0x215)](_0x177a9e,'-')[_0x386366(0x215)](_0x1e5ad2[_0x386366(0x2a3)],'-')[_0x386366(0x215)](_0x63cacf),_0x1308ef,void 0x0,_0xd2f5f1);}));}function Ot(_0x437903,_0x2f61aa,_0x328cb6){const _0x1363a5=_0x44b885;var _0x20d0fb=E({},_0x437903[_0x1363a5(0x380)]);_0x328cb6!=null&&_0x328cb6[_0x1363a5(0x1c0)]&&_0x20d0fb['fill']==='colorChannel1'&&(_0x20d0fb[_0x1363a5(0x3c2)]=_0x328cb6[_0x1363a5(0x1c0)]),_0x437903[_0x1363a5(0x2a3)]===_0x1363a5(0x37c)&&_0x20d0fb['id']&&(_0x20d0fb['id']=_0x20d0fb['id']+_0x2f61aa[_0x1363a5(0x1df)]),Object[_0x1363a5(0x272)](_0x20d0fb)[_0x1363a5(0x40a)](function(_0x5dcc0f){const _0x5da9eb=_0x1363a5;var _0x32cb08=_0x5dcc0f[0x0],_0x2b6dab=_0x5dcc0f[0x1];_0x32cb08===_0x5da9eb(0x37c)&&typeof _0x2b6dab==_0x5da9eb(0x34d)&&(_0x20d0fb[_0x32cb08]=_0x2b6dab[_0x5da9eb(0x2b8)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x2f61aa[_0x5da9eb(0x1df)],')')));});var _0x53a773=_0x2f61aa['defIds'];return!_0x53a773||_0x53a773[_0x1363a5(0x29a)]===0x0||(_0x437903[_0x1363a5(0x2a3)]==='use'&&_0x20d0fb[_0x1363a5(0x314)]&&(_0x20d0fb['xlink:href']=_0x20d0fb['xlink:href']+_0x2f61aa[_0x1363a5(0x1df)]),Object[_0x1363a5(0x272)](_0x20d0fb)[_0x1363a5(0x40a)](function(_0x2e6de5){const _0x816cc4=_0x1363a5;var _0x27072e=_0x2e6de5[0x0],_0xe173a4=_0x2e6de5[0x1];typeof _0xe173a4==_0x816cc4(0x34d)&&(_0x20d0fb[_0x27072e]=_0xe173a4[_0x816cc4(0x2b8)](/url\(#(.*)\)/,_0x816cc4(0x2ab)[_0x816cc4(0x215)](_0x2f61aa[_0x816cc4(0x1df)],')')));})),_0x20d0fb;}function Dt(_0x3add10,_0x46a2aa){const _0x317123=_0x44b885;var _0x543e95,_0x2cfb04=_0x46a2aa[_0x317123(0x37a)];return!_0x2cfb04||_0x2cfb04[_0x317123(0x29a)]===0x0?_0x3add10:_0x3add10[_0x317123(0x2a3)]==='defs'&&(!((_0x543e95=_0x3add10[_0x317123(0x236)])===null||_0x543e95===void 0x0)&&_0x543e95[_0x317123(0x29a)])?E(E({},_0x3add10),{'children':_0x3add10[_0x317123(0x236)][_0x317123(0x395)](function(_0x48619d){const _0x1469ab=_0x317123;return typeof _0x48619d[_0x1469ab(0x380)]['id']==_0x1469ab(0x34d)&&_0x2cfb04&&_0x2cfb04[_0x1469ab(0x200)](_0x48619d[_0x1469ab(0x380)]['id'])>-0x1?E(E({},_0x48619d),{'attrs':E(E({},_0x48619d[_0x1469ab(0x380)]),{'id':_0x48619d[_0x1469ab(0x380)]['id']+_0x46a2aa[_0x1469ab(0x1df)]})}):_0x48619d;})}):_0x3add10;}function Ut(){const _0x187c1b=_0x44b885;return Math[_0x187c1b(0x2c7)]()[_0x187c1b(0x27d)](0x24)['substring'](0x2,0x8);}be[_0x44b885(0x219)]=_0x44b885(0x3c4);var Mt={'tag':_0x44b885(0x1e4),'attrs':{'fill':_0x44b885(0x394),'viewBox':_0x44b885(0x3b9),'width':'1em','height':_0x44b885(0x241)},'children':[{'tag':'g','attrs':{'clipPath':_0x44b885(0x2c1)},'children':[{'tag':_0x44b885(0x203),'attrs':{'stroke':_0x44b885(0x259),'d':_0x44b885(0x1f3),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x44b885(0x251),'attrs':{},'children':[{'tag':_0x44b885(0x306),'attrs':{'id':_0x44b885(0x302)},'children':[{'tag':_0x44b885(0x203),'attrs':{'fill':'#fff','d':_0x44b885(0x1b5)}}]}]}],'defIds':[_0x44b885(0x302)]},$e=P[_0x44b885(0x210)](function(_0x4baecc,_0x1d17b8){const _0x30c6c6=_0x44b885;return P['createElement'](be,Object[_0x30c6c6(0x258)]({},_0x4baecc,{'id':'off-line-single','ref':_0x1d17b8,'icon':Mt}));});$e['displayName']=_0x44b885(0x1ce);var Pt={'tag':'svg','attrs':{'fill':_0x44b885(0x394),'viewBox':_0x44b885(0x31e),'width':_0x44b885(0x241),'height':_0x44b885(0x241)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x44b885(0x203),'attrs':{'stroke':'currentColor','d':_0x44b885(0x1bc),'strokeLinecap':_0x44b885(0x20e),'strokeLinejoin':_0x44b885(0x20e),'strokeWidth':1.2}}]},{'tag':_0x44b885(0x251),'attrs':{},'children':[{'tag':_0x44b885(0x306),'attrs':{'id':_0x44b885(0x1ba)},'children':[{'tag':_0x44b885(0x203),'attrs':{'fill':_0x44b885(0x1fe),'d':'M0\x200H16V16H0z','transform':_0x44b885(0x290)}}]}]}],'defIds':['on-line-single_clip0_910_349']},xe=P[_0x44b885(0x210)](function(_0x3483b8,_0x667a21){const _0x506135=_0x44b885;return P[_0x506135(0x391)](be,Object[_0x506135(0x258)]({},_0x3483b8,{'id':_0x506135(0x2b7),'ref':_0x667a21,'icon':Pt}));});xe[_0x44b885(0x219)]='OnLineSingle';const Nt=_0x44b885(0x20c),wt=_0x44b885(0x29f),Lt=_0x44b885(0x2f8),yt=_0x44b885(0x39e),At=_0x44b885(0x246),H={'onlineStatusIcon':Nt,'onlineStatusTitle':wt,'onlineStatus':Lt,'online':yt,'offline':At};function $t(_0x196f23){const _0x4f5b0c=_0x44b885;switch(_0x196f23){case u[_0x4f5b0c(0x3d5)][_0x4f5b0c(0x412)]:return _0x4f5b0c(0x24c);case u['CollaborationStatus'][_0x4f5b0c(0x3f9)]:return _0x4f5b0c(0x343);case u[_0x4f5b0c(0x3d5)][_0x4f5b0c(0x20f)]:return'collabStatus.fetchMiss';case u[_0x4f5b0c(0x3d5)][_0x4f5b0c(0x1ee)]:return'collabStatus.notCollab';case u['CollaborationStatus'][_0x4f5b0c(0x357)]:case u['CollaborationStatus'][_0x4f5b0c(0x388)]:return'collabStatus.syncing';case u[_0x4f5b0c(0x3d5)]['SYNCED']:case u[_0x4f5b0c(0x3d5)][_0x4f5b0c(0x31f)]:return _0x4f5b0c(0x1e1);}}function je(_0x43d7fd){const _0x140fe5=_0x44b885,{status$:_0xa71901}=_0x43d7fd,_0x429ac7=R[_0x140fe5(0x2bb)](_0xa71901,u[_0x140fe5(0x3d5)][_0x140fe5(0x1ee)]),_0x1d0a00=R[_0x140fe5(0x3f4)](a[_0x140fe5(0x245)]),_0x50d58c=R['useDependency'](u['CollaborationSessionService']),_0x2dac96=_0x429ac7!==u[_0x140fe5(0x3d5)]['OFFLINE'],_0x40d477=_0x1d0a00['t']($t(_0x429ac7)),_0x385662=T[_0x140fe5(0x293)](H['onlineStatus'],{[H[_0x140fe5(0x377)]]:_0x2dac96,[H[_0x140fe5(0x32e)]]:!_0x2dac96}),_0x18d037=_0x2dac96?w['jsx'](xe,{}):w[_0x140fe5(0x376)]($e,{}),_0x2997ae=P[_0x140fe5(0x2f7)](()=>{const _0x5cd5f8=_0x140fe5;_0x2dac96||_0x50d58c[_0x5cd5f8(0x323)]();},[_0x2dac96,_0x50d58c]);function _0x5253b6(){const _0x5dba79=_0x140fe5;return w[_0x5dba79(0x332)](_0x5dba79(0x265),{'className':T[_0x5dba79(0x293)](_0x385662,_0x5dba79(0x267)),'onClick':_0x2997ae,'children':[w[_0x5dba79(0x376)](_0x5dba79(0x265),{'className':H['onlineStatusIcon'],'children':_0x18d037}),w[_0x5dba79(0x376)](_0x5dba79(0x265),{'className':H[_0x5dba79(0x381)],'children':_0x40d477})]});}return _0x2dac96?_0x5253b6():w[_0x140fe5(0x376)](T[_0x140fe5(0x1c5)],{'title':_0x1d0a00['t']('collab-client.tooltip.reconnect'),'children':_0x5253b6()});}var xt=Object['getOwnPropertyDescriptor'],jt=(_0x21e5e2,_0x5e7acb,_0x51ae51,_0x27c5d9)=>{const _0x469639=_0x44b885;for(var _0x1a7fb8=_0x27c5d9>0x1?void 0x0:_0x27c5d9?xt(_0x5e7acb,_0x51ae51):_0x5e7acb,_0x29209f=_0x21e5e2[_0x469639(0x29a)]-0x1,_0x5594fe;_0x29209f>=0x0;_0x29209f--)(_0x5594fe=_0x21e5e2[_0x29209f])&&(_0x1a7fb8=_0x5594fe(_0x1a7fb8)||_0x1a7fb8);return _0x1a7fb8;},V=(_0x3faa03,_0x32997c)=>(_0x58cc02,_0x4b9f65)=>_0x32997c(_0x58cc02,_0x4b9f65,_0x3faa03);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x44b885(0x1b7)]{constructor(_0x176f7b,_0x5339b3,_0x5d547d,_0x576f9c){const _0x21169c=_0x44b885;super(),h(this,_0x21169c(0x3e6),new d[(_0x21169c(0x297))](u['CollaborationStatus'][_0x21169c(0x1ee)])),(this[_0x21169c(0x1bd)]=_0x176f7b,this['_injector']=_0x5339b3,this[_0x21169c(0x1a4)]=_0x5d547d,this[_0x21169c(0x2f4)]=_0x576f9c,this[_0x21169c(0x3a5)](),this['_initStatusListener']());}[_0x44b885(0x2f1)](){const _0x3d3127=_0x44b885;this['disposeWithMe'](this[_0x3d3127(0x1bd)][_0x3d3127(0x3e1)]['pipe'](d[_0x3d3127(0x34e)](()=>{const _0xe95b79=_0x3d3127,_0xa12ec5=this['_univerInstanceService'][_0xe95b79(0x301)]();return _0xa12ec5?this['_collaborationController'][_0xe95b79(0x22b)](_0xa12ec5[_0xe95b79(0x29d)]()):d['of'](null);}),d[_0x3d3127(0x34e)](_0x56da6b=>_0x56da6b?_0x56da6b[_0x3d3127(0x1b2)]:d['of'](u[_0x3d3127(0x3d5)][_0x3d3127(0x1ee)])))[_0x3d3127(0x409)](_0x402b7a=>{const _0x184e84=_0x3d3127;this['_status$'][_0x184e84(0x3dc)](_0x402b7a);}));}[_0x44b885(0x3a5)](){const _0x38e37b=_0x44b885;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](R[_0x38e37b(0x1af)][_0x38e37b(0x392)],()=>R[_0x38e37b(0x36c)](kt({'status$':this['_status$'][_0x38e37b(0x22c)]()}),this[_0x38e37b(0x40f)])));}},exports[_0x44b885(0x3b1)]=jt([V(0x0,a[_0x44b885(0x1a1)]),V(0x1,a[_0x44b885(0x326)](a[_0x44b885(0x22a)])),V(0x2,a['Inject'](u[_0x44b885(0x373)])),V(0x3,R[_0x44b885(0x19f)])],exports['DesktopCollaborationStatusDisplayController']);function kt(_0x57585a){const {status$:_0x4165aa}=_0x57585a;return function(){const _0x4b37e6=_0x990a;return w[_0x4b37e6(0x376)](je,{'status$':_0x4165aa});};}var Bt=Object['getOwnPropertyDescriptor'],Ht=(_0x55a765,_0x55c2f5,_0x25da56,_0x4263a4)=>{const _0xca989e=_0x44b885;for(var _0x544b55=_0x4263a4>0x1?void 0x0:_0x4263a4?Bt(_0x55c2f5,_0x25da56):_0x55c2f5,_0x228572=_0x55a765[_0xca989e(0x29a)]-0x1,_0xf1d8b1;_0x228572>=0x0;_0x228572--)(_0xf1d8b1=_0x55a765[_0x228572])&&(_0x544b55=_0xf1d8b1(_0x544b55)||_0x544b55);return _0x544b55;},A=(_0x43a0ce,_0x1448ae)=>(_0x2cee65,_0x3c66d6)=>_0x1448ae(_0x2cee65,_0x3c66d6,_0x43a0ce);let z=class extends a[_0x44b885(0x1b7)]{constructor(_0x50a679,_0x38df84,_0x15bc40,_0x3f4643,_0x1bb379,_0xbcfad3){const _0x1957d7=_0x44b885;super(),this['_beforeCloseService']=_0x50a679,this[_0x1957d7(0x195)]=_0x38df84,this[_0x1957d7(0x2fb)]=_0x15bc40,this['_messageService']=_0x3f4643,this[_0x1957d7(0x30b)]=_0x1bb379,this[_0x1957d7(0x33a)]=_0xbcfad3,this[_0x1957d7(0x2ee)](),this[_0x1957d7(0x318)]();}[_0x44b885(0x2ee)](){const _0x4b960e=_0x44b885;this[_0x4b960e(0x1e2)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x821840=_0x4b960e;if(this[_0x821840(0x195)][_0x821840(0x386)][_0x821840(0x248)])return this[_0x821840(0x33a)]['t'](_0x821840(0x242));}));}['_initEvent'](){const _0x5f38ae=_0x44b885;this[_0x5f38ae(0x1e2)](this[_0x5f38ae(0x2fb)][_0x5f38ae(0x1b1)][_0x5f38ae(0x409)](_0x1dbc27=>{const _0x406936=_0x5f38ae;_0x1dbc27['id']===u['CollaborationUIEventId'][_0x406936(0x276)]&&this[_0x406936(0x197)]['show']({'type':T[_0x406936(0x1f4)]['Warning'],'content':this[_0x406936(0x33a)]['t'](_0x406936(0x3a9))}),_0x1dbc27['id']===u['CollaborationUIEventId'][_0x406936(0x29b)]&&this[_0x406936(0x197)][_0x406936(0x2c6)]({'type':T[_0x406936(0x1f4)][_0x406936(0x2ed)],'content':this[_0x406936(0x33a)]['t'](_0x406936(0x2bf))}),_0x1dbc27['id']===u[_0x406936(0x303)][_0x406936(0x1a5)]&&this[_0x406936(0x30b)][_0x406936(0x2c6)]({'title':this[_0x406936(0x33a)]['t'](_0x406936(0x1e3)),'content':this[_0x406936(0x33a)]['t'](_0x406936(0x2fa)),'type':_0x406936(0x191),'duration':0x0}),_0x1dbc27['id']===u[_0x406936(0x303)][_0x406936(0x3f9)]&&this['_messageService'][_0x406936(0x2c6)]({'type':T['MessageType'][_0x406936(0x2ec)],'content':this[_0x406936(0x33a)]['t'](_0x406936(0x2bf))+'('+_0x1dbc27['data']+')'}),_0x1dbc27['id']===u['CollaborationUIEventId'][_0x406936(0x296)]&&this[_0x406936(0x197)][_0x406936(0x2c6)]({'type':T[_0x406936(0x1f4)][_0x406936(0x2ed)],'content':this['_localeService']['t'](_0x1dbc27[_0x406936(0x30d)]||'')}),_0x1dbc27['id']===u[_0x406936(0x303)]['SOCKET_FAILED_RETRY']&&this[_0x406936(0x197)][_0x406936(0x2c6)]({'type':T[_0x406936(0x1f4)][_0x406936(0x2ed)],'content':this[_0x406936(0x33a)]['t'](_0x406936(0x20d))}),_0x1dbc27['id']===u[_0x406936(0x303)]['SOCKET_FAILED']&&this[_0x406936(0x197)][_0x406936(0x2c6)]({'type':T[_0x406936(0x1f4)]['Error'],'content':this['_localeService']['t']('session.connection-failed')}),_0x1dbc27['id']===u[_0x406936(0x303)][_0x406936(0x3e3)]&&this[_0x406936(0x197)][_0x406936(0x2c6)]({'type':T[_0x406936(0x1f4)]['Error'],'content':this[_0x406936(0x33a)]['t']('session.collaboration-timeout')});}));}};function _0x396a(){const _0x5875c0=['DOC_RANGE_TYPE','Inject','getColor','APPLY_PERMISSION_DENIED','debug','urlChange$','exhaustSavingTask','SHEET_VIEWPORT_KEY','_revisionService','offline','extend','getCoordByCell','handleMoveRange','jsxs','subscribeEvent','override','Optional','_name','fillText','Module','_lastPointer','_localeService','search','CollaborationSessionService','setParam','then','unsubscribe','font','IRenderManagerService','symbol','collabStatus.conflict','push','text','setStateCache','whenReady','APPLY_DUPLICATED','complete','stringify','RefRangeService','UNIVER_SHEET','string','switchMap','INTERNAL_ERROR','getViewport','href','univerjs-icon\x20univerjs-icon-','ONLINE','with','transformByState','HTTPService','AWAITING','_entities','getRelativeToViewportCoord','_transformService','values','getCellPositionByOffset','shareReplay','getSheetBySheetId','RemoveColCommandId','ILocalStorageService','_getMergeRange','getUnhiddenWorksheets','YUUMI_SUBSCRIPTION_NOT_FOUND','SheetSkeletonManagerService','_themeService','_colorIndex','_color','getUndoRedoMutationParamsCache','DocSelectionManagerService','8074vFeTXh','beginPath','connectInjector','RemoveRowCommandId','throttleTime','onTransformChange$','registerDependencies','delete','_docStateChangeManagerService','CollaborationController','_drawAnchor','setUndoRedoMutationParamsCache','jsx','online','all','_docSyncEditingCollabCursorService','defIds','Failed','mask','#FFF','call','lineTo','attrs','onlineStatusTitle','current','_init','ISnapshotServerService','addEventListener','saveTaskMap','setAlpha','AWAITING_WITH_PENDING','textRanges','@univerjs/network','_ensureSubject','UNDEFINED','_hover','_roomMembers$','_syncEditingCollabCursorService','getCurrentSelections','createElement','HEADER_MENU','loadOfflineData','none','map','m1Prime','currentSkeleton$','_startSheetCollabCursor','PY_RUNTIME_SCRIPT_ERROR','_refreshCollabCursors','setActiveRange','doc.mutation.rich-text-editing','editingUnit','univer-online','UnitStatus','_online','actions','addObjects','CollaborationUIEventService','TEXT_RANGE_LAYER_INDEX','_initStatusComponent','registerRefRange','cursorInfo','resize','collaboration.single-unit.warning','hide','[RemoteUniscriptService]:\x20no\x20focused\x20unit','executionId','@univerjs/docs-ui','_handleHover','transformRemoteChangeset','_imageIoService','DesktopCollaborationStatusDisplayController','apply','onPointerMove$','_updateCollabCursors','_drawRectRange','handleInsertRangeMoveDown','takeUntil','unshift','0\x200\x2016\x2016','application/json','getTypeOfUnitAdded$','_handleEvent','_textBubble','saveImage','ITransformService','runOnServer','Unknown\x20user','fill','_unitStatus','UniverIcon','onMouseMove','_refRangeService','body','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','IMessageService','ICommandService','@univerjs/design','_cursorInfo$','CollaborationEvent','APPLY_REVISION_CONFILICT','getMemberID','collabCursorState$','InsertRangeMoveDownCommandId','WebBrowserSingleActiveUnitService','storage','CHANGESET_REVISION_CONFILICT','CollaborationStatus','IURLService','transformStateCache','currentTheme$','RECT','onPointerEnter$','fromEventSubject','next','onLocalMutation','getLocalCacheKey','@univerjs/engine-formula','result','focused$','_collabCursorController','SUBMIT_CHANGESET_TIMEOUT','executeCommand','DocSkeletonManagerService','_status$','icon','InsertRowCommandId','getConfig','addObject','MUTATION','getVpScrollXYInfoByPosToVp','_registerDependencies','subunit','width','COMPLETION_FINISHED','MoveRangeCommandId','init','UniverInstanceType','useDependency','_removeCollabCursors','ColorKit','post','from','CONFLICT','searchParams','endRow','_unitOnClients','124gZUZzc','DependentOn','startsWith','_hideTimer','runRefRangeMutations','_updateSubUnitFromURLParams','MemberService','transformMutation','fillStyle','assignAColorForMemberID','handleDeleteRangeMoveLeft','toRgbString','subscribe','forEach','@univerjs/docs','purple300','sessionStatus$','_onRefRangeChange','_injector','IConfigService','ILogService','OFFLINE','includes','LICENSE_DISTRO_REJECTED','flatMap','handleInsertRow','UNIVER_DOC','touchDependencies','debounceTime','set','selections','error','rgba(255,\x20255,\x20255,\x200.01)','FromArray','CONNECTOR_DATA_TOO_LARGE','_localCacheService','DEFAULT_WS_SESSION_TICKET_URL','_messageService','UNAUTHENTICATED','verdancy600','DocIMEInputManagerService','transformMutationsWithChangeset','NodePositionConvertToRectRange','getRenderById','Plugin','IUIPartsService','color','IUniverInstanceService','_session','history','_collaborationController','PERMISSION_DENIED','_cursorShapes','onPointerLeave$','LOCAL_CACHE_INTERVAL','APPLY_NON_SEQUENTIAL_REVISION','_scene','_configService','_initCommandExecutedListener','has','@univerjs/sheets-ui','BuiltInUIPart','SNAPSHOT_INVALID_SNAPSHOT','event$','status$','generateRandomId','InsertRangeMoveRightCommandId','M0\x200H16V16H0z','getOffsetConfig','Disposable','transformSelections','_memberService','on-line-single_clip0_910_349','getMergeData','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','_univerInstanceService','_renderManagerService','USERS_LEAVE','colorChannel1','startColumn','engine','propertyIsEnumerable','@univerjs/core','Tooltip','_initResize','getSkeleton','getSheetObject','isEditing','_labelPosition','UniverCollaborationClientUIPlugin','_getSessionTicket','@univerjs/sheets','OffLineSingle','_transformUndoRedoStack','findNodePositionByCharIndex','mapTo','_anchorDot','function','getUnitStatus$','max','roomMembers$','_saveTaskMap','transformIMECache','TOO_MANY_REQUESTS','_doCreateSocket','location','_handleJoinEvent','source','_onCursorUpdate','idSuffix','getRangePointData','collabStatus.synced','disposeWithMe','permission.title','svg','isTransformMutationFailure','m2Prime','code','getDocRanges','wsSessionTicketUrl','disableLocalCache','YUUMI_URL_COL_OUT_OF_RANGE','get','RichTextEditingMutation','NOT_COLLAB','CollaborationSocketService','distinctUntilChanged','RegularPolygon','_cachedData','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','MessageType','Subject','moveTo','CollaborationDataLoaderController','row','DeleteRangeMoveUpCommandId','@univerjs/rpc','_render','setConfig','_send','#fff','min','indexOf','LICENSE_MAX_UNITS_EXCEEDED','getTypeOfUnitDisposed$','path','toStringTag','5049394FuyMwe','SessionStatus','restore','SheetsSelectionsService','className','disposeUnit','startRow','univer-online-status-icon','session.will-retry','round','FETCH_MISS','forwardRef','@univerjs-pro/collaboration','DisposableCollection','mutations','WebSocketService','concat','_scheduleSaving','Rect','Shape','displayName','rxjs/operators','DocStateChangeManagerService','redoState','_httpService','_id','_drawTextRange','SheetCollabCursorShape','getParam','_scheduleHeartbeat','onStarting','setShapeProps','runId','_dataLoaderService','updateOfflineData','height','SetWorksheetActivateCommand','Injector','getCollabEntity$','asObservable','_updateURLWithCurrentState','_urlService','RevisionService','unload','getOwnPropertyDescriptor','YUUMI_RATE_OVER_LIMIT','_docTransformSelectionsService','YUUMI_UNABLE_LOAD_URL','UNRECOGNIZED','children','_sheetSkeletonManagerService','_getSaveTimeout','_initEntityListener','combineLatest','origin','key','Workbook','_hovered','_getSheetObject','replaceState','1em','collaboration-client.offline-data-not-saved','top','_docTransformStateCacheService','LocaleService','univer-offline','...','size','_config','_handleLeaveEvent','10hZVPwb','collabStatus.offline','_heartbeatTimer','ISocketService','TEXT','OTHER_CLIENTS_EDITING','defs','_scheduleClearOtherTimer','_collabSessionService','loadUnit','_getScale','_docTransformIMECacheService','unit','assign','currentColor','add','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_docSkeleton','_context','ENSURE_SNAPSHOT_EXECUTION','_anchor','Tools','_eventUnsubscribe','_collabCursorState$','getAncestorScale','clearInterval','div','_selfUnitIDs','univer-flex\x20univer-items-center','@univerjs/ui','_commandService','bottom','Vector2','NOT_FOUND','InsertColCommandId','getStateCache','handleIRemoveRow','DataLoaderService','_handleHeartbeatEvent','entries','sheetID','1512603upxlvH','mergeOverrideWithDependencies','OTHER_CLIENT_EDITING','_clearOtherTimers','backgroundColor','triggerDblclick','black','collab-text-anchor-','128979KYcqra','toString','getMember','split','getActiveSheet','unitId','_toggleOffline','_initDependencies','contains','_updateLocalCursor','dispose','sheetId','INVALID_ARGUMENT','prototype','_setupSubUnitSync','unitID','type','_disabled','isTransformMutationsWithChangesetSuccess','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','translate(.97)','239627LifjIa','_colorAssignService','clsx','LICENSE_EXPORT_SIZE_EXCEEDED','onCommandExecuted','JOIN_ROOM_FAILED','BehaviorSubject','_range','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','length','CLOSE_ROOM','clearTimeout','getUnitId','params','univer-online-status-title','evenodd','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','red300','tag','requireSession','UPDATE_CURSOR','syncEditingCollabCursor','closePath','3110PqkjOO','selection','getValue','url(#$1','pushState','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_registerRenderDependencies','_logService','pluginName','getOwnPropertySymbols','column','eventID','handleIRemoveCol','drawWith','measureText','on-line-single','replace','collaboration-client-ui.config','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','useObservable','deepClone','_removeClearOtherTimer','debounce','collaboration.closeRoom','_onCursorDelete','url(#off-line-single_clip0_910_343)','getCollabCursors$','fillRule','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','16332jzbPDJ','show','random','_localStorageService','COLORS','DocCollaborationEntity','roomMembers','defineProperty','_assignedColors','_shapes','CollaborationStatusDisplay','handleInsertCol','_entityInit$','save','deserializeRangeWithSheet','filter','setItem','cursorInfo$','BrowserCollaborationSocketService','_draw','pipe','ALREADY_EXISTS','[CollaborationDataLoaderController]','_document','find','getCurrentRevOfUnit','SNAPSHOT_HAS_BEEN_REMOVED','dispose$','ThemeService','getCurrent','_getAnchorBounding','_startDocCollabCursor','_backgroundColor','8886JBuSzw','merge','some','LICENSE_IMPORT_SIZE_EXCEEDED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','isActive','Error','Warning','_setupBeforeClosingHandler','react','blue400','_initStatusListener','hovered','ranges','_uiPartsService','removeParam','VIEW_MAIN','useCallback','univer-online-status','name','permission.content','_collaborationUIEventService','8XQtYrO','ILocalCacheService','newValue','createInstance','ACTIVE_UNIT_EVENT_CHANNEL','getFocusedUnit','off-line-single_clip0_910_343','CollaborationUIEventId','collab-text-range-','RxDisposable','clipPath','_docClipboardService','_createSocketURL','RemoteUniscriptService','_toggleOnline','_notificationService','registerRenderModule','data','useRef','_saveCache','send','_cursor','_docSkeletonManagerService','_cursors','xlink:href','transform','arc','imageSourceType','_initEvent','collab-rect-range-','entityInit$','@univerjs/engine-render','EffectRefRangId','getSheetId','0\x200\x2017\x2016','PENDING','Rectangle','2339048ASuGVu','isArray','reconnect','SetSelectionsOperation'];_0x396a=function(){return _0x5875c0;};return _0x396a();}z=Ht([A(0x0,R['IBeforeCloseService']),A(0x1,u[_0x44b885(0x2fd)]),A(0x2,a[_0x44b885(0x326)](u[_0x44b885(0x3a3)])),A(0x3,R[_0x44b885(0x3c9)]),A(0x4,R['INotificationService']),A(0x5,a['Inject'](a['LocaleService']))],z);const Wt=_0x44b885(0x2b9),Me={},Ee=a['createIdentifier']('uni.network.url-service');var Ft=Object[_0x44b885(0x231)],Yt=(_0x195ea6,_0x26ddba,_0x244a75,_0x48e3f3)=>{const _0x105cc3=_0x44b885;for(var _0x129cc6=_0x48e3f3>0x1?void 0x0:_0x48e3f3?Ft(_0x26ddba,_0x244a75):_0x26ddba,_0x2f2577=_0x195ea6[_0x105cc3(0x29a)]-0x1,_0x27ac01;_0x2f2577>=0x0;_0x2f2577--)(_0x27ac01=_0x195ea6[_0x2f2577])&&(_0x129cc6=_0x27ac01(_0x129cc6)||_0x129cc6);return _0x129cc6;},W=(_0x4077c8,_0x4835ad)=>(_0x5c79bb,_0x3a47ad)=>_0x4835ad(_0x5c79bb,_0x3a47ad,_0x4077c8);exports[_0x44b885(0x1f7)]=class extends a[_0x44b885(0x305)]{constructor(_0x3c199d,_0x31f817,_0x351bda,_0x12b997,_0x1f0bd9){const _0x2acd21=_0x44b885;super(),this[_0x2acd21(0x22e)]=_0x3c199d,this['_logService']=_0x31f817,this['_commandService']=_0x351bda,this[_0x2acd21(0x226)]=_0x12b997,_0x1f0bd9?_0x1f0bd9==null||_0x1f0bd9[_0x2acd21(0x347)]()[_0x2acd21(0x33e)](()=>this[_0x2acd21(0x383)]()):(this[_0x2acd21(0x2af)][_0x2acd21(0x329)](_0x2acd21(0x2db),_0x2acd21(0x2c4)),this['_init']());}async[_0x44b885(0x383)](){const _0x113640=_0x44b885,_0x59b849=this[_0x113640(0x22e)][_0x113640(0x221)](_0x113640(0x257)),_0x58ca90=this[_0x113640(0x22e)][_0x113640(0x221)]('type'),_0xf06637=this[_0x113640(0x22e)][_0x113640(0x221)](_0x113640(0x3ee));if(!_0x59b849||!_0x58ca90){this[_0x113640(0x2af)][_0x113640(0x329)](_0x113640(0x2db),_0x113640(0x28f));return;}const _0x3ad7b5=await this[_0x113640(0x226)][_0x113640(0x254)](_0x59b849,Number(_0x58ca90),_0xf06637);_0x3ad7b5&&_0x3ad7b5 instanceof a[_0x113640(0x23d)]&&this['_setupSubUnitSync'](_0x3ad7b5);}async[_0x44b885(0x28a)](_0x5f1259){const _0x4d7498=_0x44b885;await this[_0x4d7498(0x402)](_0x5f1259),_0x5f1259['activeSheet$'][_0x4d7498(0x2d9)](d[_0x4d7498(0x3b7)](this['dispose$']))[_0x4d7498(0x409)](_0x7765ad=>{const _0x37f3dc=_0x4d7498;_0x7765ad&&this[_0x37f3dc(0x22d)](_0x7765ad);}),this[_0x4d7498(0x22e)][_0x4d7498(0x32a)][_0x4d7498(0x2d9)](d[_0x4d7498(0x3b7)](this[_0x4d7498(0x2e0)]))[_0x4d7498(0x409)](()=>this[_0x4d7498(0x402)](_0x5f1259));}[_0x44b885(0x22d)](_0x4262b7,_0x1a52da=!0x1){const _0x4a9023=_0x44b885,_0x21a2d0=this[_0x4a9023(0x22e)]['getParam']('subunit');_0x4262b7[_0x4a9023(0x31d)]()!==_0x21a2d0&&this[_0x4a9023(0x22e)][_0x4a9023(0x33d)](_0x4a9023(0x3ee),_0x4262b7[_0x4a9023(0x31d)](),_0x1a52da);}async['_updateSubUnitFromURLParams'](_0xbb7695){const _0x18f50d=_0x44b885;var _0x1a9d97;const _0x2627f0=this[_0x18f50d(0x22e)][_0x18f50d(0x221)]('subunit');if(!_0x2627f0||!_0xbb7695['getSheetBySheetId'](_0x2627f0)){const _0x42833b=_0xbb7695[_0x18f50d(0x362)]()[0x0],_0x54e13a=_0xbb7695[_0x18f50d(0x35e)](_0x42833b);if(!_0x54e13a)return;this[_0x18f50d(0x22d)](_0x54e13a,!0x0),await this[_0x18f50d(0x269)]['executeCommand'](I[_0x18f50d(0x229)]['id'],{'unitId':_0xbb7695['getUnitId'](),'subUnitId':_0x42833b});return;}((_0x1a9d97=_0xbb7695[_0x18f50d(0x280)]())==null?void 0x0:_0x1a9d97[_0x18f50d(0x31d)]())!==_0x2627f0&&await this['_commandService'][_0x18f50d(0x3e4)](I[_0x18f50d(0x229)]['id'],{'unitId':_0xbb7695['getUnitId'](),'subUnitId':_0x2627f0});}},exports[_0x44b885(0x1f7)]=Yt([W(0x0,Ee),W(0x1,a[_0x44b885(0x411)]),W(0x2,a[_0x44b885(0x3ca)]),W(0x3,a[_0x44b885(0x326)](u[_0x44b885(0x270)])),W(0x4,a[_0x44b885(0x335)](Ke['IRemoteInstanceService']))],exports['CollaborationDataLoaderController']);var Xt=Object[_0x44b885(0x231)],Vt=(_0xf25d5d,_0x6018a3,_0x1c44ee,_0x2e738b)=>{const _0x5b85cc=_0x44b885;for(var _0x1f67de=_0x2e738b>0x1?void 0x0:_0x2e738b?Xt(_0x6018a3,_0x1c44ee):_0x6018a3,_0x4042d8=_0xf25d5d[_0x5b85cc(0x29a)]-0x1,_0x45c36e;_0x4042d8>=0x0;_0x4042d8--)(_0x45c36e=_0xf25d5d[_0x4042d8])&&(_0x1f67de=_0x45c36e(_0x1f67de)||_0x1f67de);return _0x1f67de;},le=(_0x22f077,_0x4a6a51)=>(_0xd9e4be,_0x591548)=>_0x4a6a51(_0xd9e4be,_0x591548,_0x22f077);let J=class{constructor(_0x3cee07,_0x3f296a,_0x9f388f){const _0x4dc4a3=_0x44b885;this[_0x4dc4a3(0x40f)]=_0x3cee07,this[_0x4dc4a3(0x35a)]=_0x3f296a,this[_0x4dc4a3(0x1be)]=_0x9f388f;}[_0x44b885(0x1d8)](_0x239eed){const _0x1c246c=_0x44b885;this[_0x1c246c(0x1cf)](_0x239eed),this['_transformPreviousActiveRange'](_0x239eed);}[_0x44b885(0x3af)](_0x4780f3){const _0x14c810=_0x44b885,{unitID:_0x2e74bb}=_0x4780f3,_0xc9ba78=this['_renderManagerService']['getRenderById'](_0x2e74bb)[_0x14c810(0x354)](b[_0x14c810(0x19a)]),{redoCache:_0x1c4626}=_0xc9ba78['getUndoRedoMutationParamsCache']();if(_0x1c4626[_0x14c810(0x29a)]===0x0)return _0x4780f3;let _0x5897a7=a[_0x14c810(0x260)]['deepClone'](_0x4780f3[_0x14c810(0x213)][0x0]);for(let _0x4743b6=0x0;_0x4743b6<_0x1c4626[_0x14c810(0x29a)];_0x4743b6++){const _0x47f5ac={'id':'doc.mutation.rich-text-editing','params':{..._0x1c4626[_0x4743b6]}},_0x2a7881=this['_transformService'][_0x14c810(0x404)](_0x5897a7,_0x47f5ac,!0x1);if(m[_0x14c810(0x1e5)](_0x2a7881))throw _0x2a7881[_0x14c810(0x191)];_0x5897a7=_0x2a7881['m1Prime'];}return{...a[_0x14c810(0x260)]['deepClone'](_0x4780f3),'mutations':[_0x5897a7]};}[_0x44b885(0x1cf)](_0x5ca1b9){const _0x5a8839=_0x44b885,{unitID:_0x515730}=_0x5ca1b9,_0x13a8e6=this[_0x5a8839(0x1be)][_0x5a8839(0x19d)](_0x515730)[_0x5a8839(0x354)](b[_0x5a8839(0x19a)]),{undoCache:_0x5559dd,redoCache:_0x2993fb}=_0x13a8e6[_0x5a8839(0x368)]();if(_0x5559dd['length']===0x0||_0x2993fb['length']===0x0)return;const _0x218664=[],_0x3865db=[];let _0x2ad523=a[_0x5a8839(0x260)][_0x5a8839(0x2bc)](_0x5ca1b9[_0x5a8839(0x213)][0x0]),_0x10876c=a['Tools']['deepClone'](_0x5ca1b9['mutations'][0x0]);for(let _0x2520ed=_0x5559dd[_0x5a8839(0x29a)]-0x1;_0x2520ed>=0x0;_0x2520ed--){const _0x12c3d9={'id':'doc.mutation.rich-text-editing','params':{..._0x5559dd[_0x2520ed]}},_0x1b9801={'id':_0x5a8839(0x39c),'params':{..._0x2993fb[_0x2520ed]}},_0x3779be=this[_0x5a8839(0x35a)][_0x5a8839(0x404)](_0x2ad523,_0x12c3d9,!0x1),_0x43691a=this[_0x5a8839(0x35a)][_0x5a8839(0x404)](_0x10876c,_0x1b9801,!0x1);if(m[_0x5a8839(0x1e5)](_0x3779be))throw _0x3779be['error'];if(m['isTransformMutationFailure'](_0x43691a))throw _0x43691a['error'];_0x218664['unshift'](_0x3779be[_0x5a8839(0x1e6)][_0x5a8839(0x29e)]),_0x3865db[_0x5a8839(0x3b8)](_0x43691a[_0x5a8839(0x1e6)][_0x5a8839(0x29e)]),_0x2ad523=_0x3779be[_0x5a8839(0x396)],_0x10876c=_0x43691a[_0x5a8839(0x396)];}_0x13a8e6[_0x5a8839(0x375)]({'undoCache':_0x218664,'redoCache':_0x3865db});}['_transformPreviousActiveRange'](_0x38be3a){const _0x2443d4=_0x44b885,{unitID:_0x5cf065}=_0x38be3a,_0xe70c07=this['_renderManagerService'][_0x2443d4(0x19d)](_0x5cf065)['with'](b[_0x2443d4(0x19a)]),_0x4c2930=_0xe70c07['getActiveRange']();if(_0x4c2930==null)return;const _0x3543c4=[{'id':_0x2443d4(0x39c),'params':{'unitId':_0x38be3a[_0x2443d4(0x28b)],'actions':null,'textRanges':[_0x4c2930]}}],_0xfcacaf=this['_transformService'][_0x2443d4(0x19b)](_0x38be3a,_0x3543c4);if(!m[_0x2443d4(0x28e)](_0xfcacaf))throw _0xfcacaf[_0x2443d4(0x191)];const _0x8a88a2=_0xfcacaf['m2Prime'][0x0][_0x2443d4(0x29e)]['textRanges'];Array[_0x2443d4(0x322)](_0x8a88a2)&&_0x8a88a2['length']&&_0xe70c07[_0x2443d4(0x39b)](_0x8a88a2[0x0]);}};J=Vt([le(0x0,a[_0x44b885(0x326)](a['Injector'])),le(0x1,m[_0x44b885(0x3bf)]),le(0x2,p[_0x44b885(0x341)])],J);var Gt=Object['getOwnPropertyDescriptor'],qt=(_0x3d74c3,_0x42e839,_0x26c69e,_0x4944aa)=>{const _0x151b38=_0x44b885;for(var _0x437e47=_0x4944aa>0x1?void 0x0:_0x4944aa?Gt(_0x42e839,_0x26c69e):_0x42e839,_0x25ba27=_0x3d74c3[_0x151b38(0x29a)]-0x1,_0x4993b3;_0x25ba27>=0x0;_0x25ba27--)(_0x4993b3=_0x3d74c3[_0x25ba27])&&(_0x437e47=_0x4993b3(_0x437e47)||_0x437e47);return _0x437e47;},he=(_0x1a0dbb,_0x234113)=>(_0x36b3e0,_0x25106f)=>_0x234113(_0x36b3e0,_0x25106f,_0x1a0dbb);let Z=class{constructor(_0x57c634,_0x5e864a,_0x304f71){const _0x3ec0a2=_0x44b885;this[_0x3ec0a2(0x40f)]=_0x57c634,this[_0x3ec0a2(0x35a)]=_0x5e864a,this['_docStateChangeManagerService']=_0x304f71;}[_0x44b885(0x3d7)](_0x254662){this['_transformHistoryAndStateStack'](_0x254662);}[_0x44b885(0x3af)](_0x4ec332){const _0x2a3b31=_0x44b885,{unitID:_0x2b915d}=_0x4ec332,{collaboration:_0x5d7be8}=this[_0x2a3b31(0x372)][_0x2a3b31(0x26e)](_0x2b915d);if(_0x5d7be8[_0x2a3b31(0x29a)]===0x0)return _0x4ec332;let _0x2d759e=a['Tools'][_0x2a3b31(0x2bc)](_0x4ec332[_0x2a3b31(0x213)][0x0]);for(let _0x205c10=0x0;_0x205c10<_0x5d7be8[_0x2a3b31(0x29a)];_0x205c10++){const _0x291d9e={'id':_0x2a3b31(0x39c),'params':{'unitId':_0x5d7be8[_0x205c10]['unitId'],..._0x5d7be8[_0x205c10][_0x2a3b31(0x21c)]}},_0x5f3451=this['_transformService']['transformMutation'](_0x2d759e,_0x291d9e,!0x1);if(m[_0x2a3b31(0x1e5)](_0x5f3451))throw _0x5f3451['error'];_0x2d759e=_0x5f3451[_0x2a3b31(0x396)];}return{...a[_0x2a3b31(0x260)][_0x2a3b31(0x2bc)](_0x4ec332),'mutations':[_0x2d759e]};}['_transformHistoryAndStateStack'](_0x2ff5e4){const _0x679909=_0x44b885,{unitID:_0x378b40}=_0x2ff5e4,{history:_0x329061,collaboration:_0x443701}=this[_0x679909(0x372)][_0x679909(0x26e)](_0x378b40);if(_0x329061[_0x679909(0x29a)]===0x0&&_0x443701[_0x679909(0x29a)]===0x0)return;const _0x23ad0c=[],_0x5757fc=[];let _0x6a2fe7=a[_0x679909(0x260)]['deepClone'](_0x2ff5e4[_0x679909(0x213)][0x0]),_0x4c7475=a[_0x679909(0x260)]['deepClone'](_0x2ff5e4[_0x679909(0x213)][0x0]);for(let _0x414bde=_0x329061[_0x679909(0x29a)]-0x1;_0x414bde>=0x0;_0x414bde--){const _0x4f7b2e={'id':_0x679909(0x39c),'params':{'unitId':_0x329061[_0x414bde][_0x679909(0x281)],..._0x329061[_0x414bde]['undoState']}},_0x4b0887={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x329061[_0x414bde][_0x679909(0x281)],..._0x329061[_0x414bde][_0x679909(0x21c)]}},_0x1dfd60=this[_0x679909(0x35a)][_0x679909(0x404)](_0x6a2fe7,_0x4f7b2e,!0x1),_0x2a2087=this[_0x679909(0x35a)]['transformMutation'](_0x4c7475,_0x4b0887,!0x1);if(m[_0x679909(0x1e5)](_0x1dfd60))throw _0x1dfd60[_0x679909(0x191)];if(m[_0x679909(0x1e5)](_0x2a2087))throw _0x2a2087['error'];_0x23ad0c[_0x679909(0x3b8)]({..._0x329061[_0x414bde],'undoState':_0x1dfd60['m2Prime'][_0x679909(0x29e)],'redoState':_0x2a2087[_0x679909(0x1e6)][_0x679909(0x29e)]}),_0x6a2fe7=_0x1dfd60['m1Prime'],_0x4c7475=_0x2a2087[_0x679909(0x396)];}_0x6a2fe7=a[_0x679909(0x260)][_0x679909(0x2bc)](_0x2ff5e4[_0x679909(0x213)][0x0]),_0x4c7475=a[_0x679909(0x260)][_0x679909(0x2bc)](_0x2ff5e4[_0x679909(0x213)][0x0]);for(let _0x58a7eb=_0x443701[_0x679909(0x29a)]-0x1;_0x58a7eb>=0x0;_0x58a7eb--){const _0x46de80={'id':_0x679909(0x39c),'params':{'unitId':_0x443701[_0x58a7eb][_0x679909(0x281)],..._0x443701[_0x58a7eb]['undoState']}},_0xadc11b={'id':_0x679909(0x39c),'params':{'unitId':_0x443701[_0x58a7eb][_0x679909(0x281)],..._0x443701[_0x58a7eb][_0x679909(0x21c)]}},_0x4bce8a=this[_0x679909(0x35a)][_0x679909(0x404)](_0x6a2fe7,_0x46de80,!0x1),_0x401a02=this[_0x679909(0x35a)]['transformMutation'](_0x4c7475,_0xadc11b,!0x1);if(m[_0x679909(0x1e5)](_0x4bce8a))throw _0x4bce8a['error'];if(m['isTransformMutationFailure'](_0x401a02))throw _0x401a02[_0x679909(0x191)];_0x5757fc['unshift']({..._0x443701[_0x58a7eb],'undoState':_0x4bce8a[_0x679909(0x1e6)][_0x679909(0x29e)],'redoState':_0x401a02[_0x679909(0x1e6)][_0x679909(0x29e)]}),_0x6a2fe7=_0x4bce8a[_0x679909(0x396)],_0x4c7475=_0x401a02[_0x679909(0x396)];}this[_0x679909(0x372)][_0x679909(0x346)](_0x378b40,{'history':_0x23ad0c,'collaboration':_0x5757fc});}};Z=qt([he(0x0,a[_0x44b885(0x326)](a[_0x44b885(0x22a)])),he(0x1,m[_0x44b885(0x3bf)]),he(0x2,a[_0x44b885(0x326)](b[_0x44b885(0x21b)]))],Z);var Kt=Object['getOwnPropertyDescriptor'],zt=(_0x22f00a,_0x1c7a20,_0x148eec,_0x16dd83)=>{for(var _0x1e67eb=_0x16dd83>0x1?void 0x0:_0x16dd83?Kt(_0x1c7a20,_0x148eec):_0x1c7a20,_0x3c313d=_0x22f00a['length']-0x1,_0x24bf71;_0x3c313d>=0x0;_0x3c313d--)(_0x24bf71=_0x22f00a[_0x3c313d])&&(_0x1e67eb=_0x24bf71(_0x1e67eb)||_0x1e67eb);return _0x1e67eb;},Pe=(_0x35c61d,_0xd36324)=>(_0x276cb0,_0x57a9a4)=>_0xd36324(_0x276cb0,_0x57a9a4,_0x35c61d);let Q=class{constructor(_0x53e9ee,_0x19ded7){const _0x36c82=_0x44b885;this[_0x36c82(0x40f)]=_0x53e9ee,this[_0x36c82(0x35a)]=_0x19ded7;}['transformSelections'](_0x2d87e4){const _0xfa1a6b=_0x44b885;var _0x49b258;const _0xd830c2=this[_0xfa1a6b(0x40f)]['get'](Y['DocSelectionManagerService']),_0x747afd=(_0x49b258=_0xd830c2[_0xfa1a6b(0x1e8)]())!=null?_0x49b258:[];if(_0x747afd[_0xfa1a6b(0x29a)]===0x0)return;const _0xd7298f=_0x2d87e4[_0xfa1a6b(0x28b)],_0xb55ecb=[{'id':_0xfa1a6b(0x39c),'params':{'unitId':_0xd7298f,'actions':null,'textRanges':_0x747afd}}],_0x41be4e=this[_0xfa1a6b(0x35a)][_0xfa1a6b(0x19b)](_0x2d87e4,_0xb55ecb);if(!m[_0xfa1a6b(0x28e)](_0x41be4e))throw _0x41be4e['error'];const _0x409799=_0x41be4e[_0xfa1a6b(0x1e6)][0x0][_0xfa1a6b(0x29e)]['textRanges'];Array[_0xfa1a6b(0x322)](_0x409799)&&_0x409799[_0xfa1a6b(0x29a)]&&_0xd830c2['replaceDocRanges'](_0x409799,{'unitId':_0xd7298f,'subUnitId':_0xd7298f},!0x1);}};Q=zt([Pe(0x0,a['Inject'](a[_0x44b885(0x22a)])),Pe(0x1,m[_0x44b885(0x3bf)])],Q);var Jt=Object[_0x44b885(0x231)],Zt=(_0xcba0ec,_0x226bbd,_0x446f83,_0x2c90c9)=>{const _0xb18f6c=_0x44b885;for(var _0x56cccd=_0x2c90c9>0x1?void 0x0:_0x2c90c9?Jt(_0x226bbd,_0x446f83):_0x226bbd,_0x5d6456=_0xcba0ec[_0xb18f6c(0x29a)]-0x1,_0x5db779;_0x5d6456>=0x0;_0x5d6456--)(_0x5db779=_0xcba0ec[_0x5d6456])&&(_0x56cccd=_0x5db779(_0x56cccd)||_0x56cccd);return _0x56cccd;},M=(_0x4bca7d,_0x5bd1ba)=>(_0x37f7d8,_0x10711c)=>_0x5bd1ba(_0x37f7d8,_0x10711c,_0x4bca7d);let ee=class extends a[_0x44b885(0x1b7)]{constructor(_0x28daf2,_0x5bd6c7,_0xd7a0eb,_0x463f95,_0x430a07,_0x56bb70,_0x256901,_0x4a8d87){const _0xe7ce0a=_0x44b885;super(),h(this,_0xe7ce0a(0x3e6),new d[(_0xe7ce0a(0x297))](u[_0xe7ce0a(0x3d5)][_0xe7ce0a(0x1ee)])),(this[_0xe7ce0a(0x372)]=_0x28daf2,this[_0xe7ce0a(0x1a4)]=_0x5bd6c7,this[_0xe7ce0a(0x256)]=_0xd7a0eb,this[_0xe7ce0a(0x244)]=_0x463f95,this[_0xe7ce0a(0x233)]=_0x430a07,this['_docSyncEditingCollabCursorService']=_0x56bb70,this[_0xe7ce0a(0x197)]=_0x256901,this['_localeService']=_0x4a8d87,this[_0xe7ce0a(0x239)]());}['_initEntityListener'](){const _0x390f41=_0x44b885;this['disposeWithMe'](this['_collaborationController'][_0x390f41(0x31a)][_0x390f41(0x409)](_0x4c71ca=>{const _0x2abf81=_0x390f41,_0x5c1554=this['_docStateChangeManagerService']['docStateChange$'][_0x2abf81(0x409)](_0x117406=>{const _0xc9821f=_0x2abf81;if(_0x117406==null)return;const {unitId:_0x608f1e,redoState:_0x3728c6,commandId:_0x23155a}=_0x117406;if(_0x608f1e!==_0x4c71ca[_0xc9821f(0x28b)])return;const _0x1d22a8={'id':_0x23155a,'type':a['CommandType'][_0xc9821f(0x3eb)],'params':{'unitId':_0x608f1e,'actions':_0x3728c6[_0xc9821f(0x3a1)],'textRanges':null}};_0x4c71ca[_0xc9821f(0x3dd)](_0x1d22a8);});if(_0x4c71ca[_0x2abf81(0x1e2)](_0x5c1554),_0x4c71ca instanceof u[_0x2abf81(0x2ca)]){const _0x442d81={'onTransformIME':_0x4dc5ca=>this['_docTransformIMECacheService'][_0x2abf81(0x1d8)](_0x4dc5ca),'onTransformState':_0x1d43e0=>this[_0x2abf81(0x244)][_0x2abf81(0x3d7)](_0x1d43e0),'onTransformSelections':_0x5a6c27=>this[_0x2abf81(0x233)][_0x2abf81(0x1b8)](_0x5a6c27),'onSyncEditingCollabCursor':_0xab260f=>this[_0x2abf81(0x379)][_0x2abf81(0x2a6)](_0xab260f),'onTransformRemoteChangesetByIMECache':_0xf357bc=>this[_0x2abf81(0x256)][_0x2abf81(0x3af)](_0xf357bc),'onTransformRemoteChangesetByStateCache':_0x373bcf=>this[_0x2abf81(0x244)][_0x2abf81(0x3af)](_0x373bcf)};_0x4c71ca['addHandlerCallback'](_0x442d81);}}));}};ee=Zt([M(0x0,a[_0x44b885(0x326)](b[_0x44b885(0x21b)])),M(0x1,a[_0x44b885(0x326)](u[_0x44b885(0x373)])),M(0x2,a[_0x44b885(0x326)](J)),M(0x3,a[_0x44b885(0x326)](Z)),M(0x4,a[_0x44b885(0x326)](Q)),M(0x5,a[_0x44b885(0x326)](pe)),M(0x6,R[_0x44b885(0x3c9)]),M(0x7,a[_0x44b885(0x326)](a[_0x44b885(0x245)]))],ee);var Qt=Object[_0x44b885(0x231)],es=(_0x2b7306,_0x4754fe,_0x37be05,_0x477189)=>{const _0x45609d=_0x44b885;for(var _0x213f78=_0x477189>0x1?void 0x0:_0x477189?Qt(_0x4754fe,_0x37be05):_0x4754fe,_0x5c3c2f=_0x2b7306[_0x45609d(0x29a)]-0x1,_0x4e657;_0x5c3c2f>=0x0;_0x5c3c2f--)(_0x4e657=_0x2b7306[_0x5c3c2f])&&(_0x213f78=_0x4e657(_0x213f78)||_0x213f78);return _0x213f78;},_e=(_0x53fd99,_0x5c9611)=>(_0x115673,_0x3a9b96)=>_0x5c9611(_0x115673,_0x3a9b96,_0x53fd99);let me=class extends a['Disposable']{constructor(_0x55894e,_0x2a2a7a,_0x33fbde){const _0x2127d2=_0x44b885;super(),h(this,_0x2127d2(0x1f2),new Map()),h(this,_0x2127d2(0x1d7),new Map()),h(this,_0x2127d2(0x28d),!0x1),(this[_0x2127d2(0x1ab)]=_0x55894e,this[_0x2127d2(0x2c8)]=_0x2a2a7a,this[_0x2127d2(0x32d)]=_0x33fbde);}[_0x44b885(0x1ea)](){const _0x50dd88=_0x44b885;this[_0x50dd88(0x28d)]=!0x0;}['enableLocalCache'](){const _0x1711f0=_0x44b885;this[_0x1711f0(0x28d)]=!0x1;}get[_0x44b885(0x386)](){const _0x4b980a=_0x44b885;return this[_0x4b980a(0x1d7)];}[_0x44b885(0x286)](){const _0x1fac96=_0x44b885;this[_0x1fac96(0x32b)]()[_0x1fac96(0x33e)](()=>super[_0x1fac96(0x286)]());}async[_0x44b885(0x393)](_0x3703c8){const _0x553bd8=_0x44b885;return this[_0x553bd8(0x28d)]?null:this[_0x553bd8(0x2c8)]['getItem'](u[_0x553bd8(0x3de)](_0x3703c8));}async['saveOfflineData'](_0x577d14,_0x390cd8){const _0x32caa0=_0x44b885;return!!this[_0x32caa0(0x2c8)][_0x32caa0(0x2d5)](_0x577d14,_0x390cd8);}[_0x44b885(0x227)](_0x4b6be1,_0x4072eb,_0x24074f,_0x487fa6){const _0x152823=_0x44b885,_0x248c5c=this[_0x152823(0x32d)][_0x152823(0x2de)](_0x4b6be1);this[_0x152823(0x1f2)][_0x152823(0x18f)](_0x4b6be1,{'unitID':_0x4b6be1,'type':_0x4072eb,'awaitingChangeset':_0x24074f,'mutations':_0x487fa6,'rev':_0x248c5c}),this[_0x152823(0x1d7)]['has'](_0x4b6be1)||this[_0x152823(0x216)](_0x4b6be1);}[_0x44b885(0x216)](_0x9e8625){const _0x4edd78=_0x44b885,_0x12f058=this[_0x4edd78(0x238)]();_0x12f058===0x0?this[_0x4edd78(0x30f)](_0x9e8625):this[_0x4edd78(0x1d7)][_0x4edd78(0x18f)](_0x9e8625,setTimeout(()=>this[_0x4edd78(0x30f)](_0x9e8625),_0x12f058));}[_0x44b885(0x238)](){const _0x124a15=_0x44b885;var _0x532392;return(_0x532392=this[_0x124a15(0x1ab)][_0x124a15(0x3e9)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x532392:u[_0x124a15(0x1a8)];}[_0x44b885(0x30f)](_0x5189d2){const _0xaf0e19=_0x44b885,_0xe4418e=this[_0xaf0e19(0x1d7)][_0xaf0e19(0x1ec)](_0x5189d2);return _0xe4418e!==void 0x0&&window['clearTimeout'](_0xe4418e),this['_localStorageService'][_0xaf0e19(0x2d5)](u[_0xaf0e19(0x3de)](_0x5189d2),this['_cachedData']['get'](_0x5189d2))['then'](()=>this[_0xaf0e19(0x1d7)][_0xaf0e19(0x371)](_0x5189d2));}async[_0x44b885(0x32b)](){const _0x3a3973=_0x44b885,_0x4ebce=[];this['_saveTaskMap'][_0x3a3973(0x40a)]((_0x445a0e,_0x547f61)=>{const _0x49e348=_0x3a3973;window['clearTimeout'](_0x445a0e),_0x4ebce[_0x49e348(0x344)](this[_0x49e348(0x30f)](_0x547f61)[_0x49e348(0x33e)](()=>{const _0x5dcd90=_0x49e348;this[_0x5dcd90(0x1d7)][_0x5dcd90(0x371)](_0x547f61);}));}),await Promise[_0x3a3973(0x378)](_0x4ebce);}};me=es([_e(0x0,a['IConfigService']),_e(0x1,a[_0x44b885(0x360)]),_e(0x2,a[_0x44b885(0x326)](m[_0x44b885(0x22f)]))],me);class ke extends a[_0x44b885(0x305)]{constructor(){const _0x5df855=_0x44b885;super(),h(this,_0x5df855(0x32a)),this[_0x5df855(0x32a)]=d['fromEvent'](window,'popstate')['pipe'](d[_0x5df855(0x3b7)](this[_0x5df855(0x2e0)]),d[_0x5df855(0x35d)](0x1),d[_0x5df855(0x1d1)](void 0x0));}[_0x44b885(0x33d)](_0x413596,_0x3eb711,_0x4e8e1a=!0x1){const _0x5eb707=_0x44b885,_0x3a4aa0=new URL(window['location'][_0x5eb707(0x351)]);_0x3a4aa0[_0x5eb707(0x3fa)][_0x5eb707(0x18f)](_0x413596,_0x3eb711),_0x4e8e1a?window[_0x5eb707(0x1a3)][_0x5eb707(0x240)]('','',_0x3a4aa0['toString']()):window[_0x5eb707(0x1a3)][_0x5eb707(0x2ac)]('','',_0x3a4aa0[_0x5eb707(0x27d)]());}[_0x44b885(0x2f5)](_0x32a8f2,_0x2a4e1e=!0x1){const _0x4c05ad=_0x44b885,_0x391aff=new URL(window[_0x4c05ad(0x1db)][_0x4c05ad(0x351)]);_0x391aff['searchParams'][_0x4c05ad(0x371)](_0x32a8f2),_0x2a4e1e?window[_0x4c05ad(0x1a3)][_0x4c05ad(0x240)]('','',_0x391aff[_0x4c05ad(0x27d)]()):window[_0x4c05ad(0x1a3)][_0x4c05ad(0x2ac)]('','',_0x391aff[_0x4c05ad(0x27d)]());}['getParam'](_0x236cff){const _0x48f0ac=_0x44b885;var _0x119a01;return(_0x119a01=new URL(window[_0x48f0ac(0x1db)][_0x48f0ac(0x351)])['searchParams'][_0x48f0ac(0x1ec)](_0x236cff))!=null?_0x119a01:void 0x0;}}var ts=Object[_0x44b885(0x2cc)],ss=Object['getOwnPropertyDescriptor'],ns=(_0xc5f58a,_0x5d2a04,_0x2601fc)=>_0x5d2a04 in _0xc5f58a?ts(_0xc5f58a,_0x5d2a04,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2601fc}):_0xc5f58a[_0x5d2a04]=_0x2601fc,is=(_0x4957e5,_0x232b34,_0x1a3a07,_0x14df28)=>{const _0x55642b=_0x44b885;for(var _0x302a52=_0x14df28>0x1?void 0x0:_0x14df28?ss(_0x232b34,_0x1a3a07):_0x232b34,_0x40ccdb=_0x4957e5[_0x55642b(0x29a)]-0x1,_0x283c09;_0x40ccdb>=0x0;_0x40ccdb--)(_0x283c09=_0x4957e5[_0x40ccdb])&&(_0x302a52=_0x283c09(_0x302a52)||_0x302a52);return _0x302a52;},ue=(_0x254a43,_0x279ed5)=>(_0x596d43,_0x4e3bcf)=>_0x279ed5(_0x596d43,_0x4e3bcf,_0x254a43),rs=(_0x2712dd,_0x3eaa77,_0x3ece7f)=>ns(_0x2712dd,_0x3eaa77+'',_0x3ece7f);const os=_0x44b885(0x2ba);exports['UniverCollaborationClientUIPlugin']=class extends a[_0x44b885(0x19e)]{constructor(_0x281b37=Me,_0xe59cf3,_0x1b15aa,_0x5382bf){const _0x1001ff=_0x44b885;super(),this[_0x1001ff(0x249)]=_0x281b37,this[_0x1001ff(0x1be)]=_0xe59cf3,this['_injector']=_0x1b15aa,this[_0x1001ff(0x1ab)]=_0x5382bf;const {..._0x5c454b}=a[_0x1001ff(0x2e7)]({},Me,this[_0x1001ff(0x249)]);this[_0x1001ff(0x1ab)][_0x1001ff(0x1fc)](Wt,_0x5c454b);}[_0x44b885(0x223)](){const _0x7800e=_0x44b885;this[_0x7800e(0x3ed)](),this[_0x7800e(0x283)]();}['onRendered'](){const _0xf903c8=_0x44b885;this[_0xf903c8(0x2ae)]();}[_0x44b885(0x3ed)](){const _0x19c827=_0x44b885;var _0x56f5e2;const _0x26d0be=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':ke}],[q[_0x19c827(0x24e)],{'useClass':q[_0x19c827(0x214)]}],[u['ILocalCacheService'],{'useClass':me}],[exports[_0x19c827(0x3b1)]],[ee],[z],[x],[fe],[exports['CollaborationDataLoaderController']]];a[_0x19c827(0x370)](this[_0x19c827(0x40f)],a[_0x19c827(0x275)](_0x26d0be,(_0x56f5e2=this[_0x19c827(0x249)])==null?void 0x0:_0x56f5e2[_0x19c827(0x334)]));}['_registerRenderDependencies'](){const _0x3eeda8=_0x44b885;this[_0x3eeda8(0x1e2)](this['_renderManagerService'][_0x3eeda8(0x30c)](a['UniverInstanceType'][_0x3eeda8(0x18c)],[ge])),this[_0x3eeda8(0x1e2)](this[_0x3eeda8(0x1be)][_0x3eeda8(0x30c)](a[_0x3eeda8(0x3f3)][_0x3eeda8(0x34c)],[Ie]));}['_initDependencies'](){const _0x3b897e=_0x44b885;a[_0x3b897e(0x18d)](this['_injector'],[[x],[exports[_0x3b897e(0x3b1)]],[ee],[z],[exports['CollaborationDataLoaderController']]]);}},rs(exports['UniverCollaborationClientUIPlugin'],_0x44b885(0x2b0),os),exports[_0x44b885(0x1cb)]=is([a[_0x44b885(0x3fe)](u['UniverCollaborationClientPlugin']),ue(0x1,p['IRenderManagerService']),ue(0x2,a['Inject'](a['Injector'])),ue(0x3,a[_0x44b885(0x410)])],exports[_0x44b885(0x1cb)]);var as=Object[_0x44b885(0x231)],cs=(_0xcf09ee,_0x322eff,_0x51691e,_0x2eb96f)=>{const _0x2c8939=_0x44b885;for(var _0x9448ab=_0x2eb96f>0x1?void 0x0:_0x2eb96f?as(_0x322eff,_0x51691e):_0x322eff,_0x401aa2=_0xcf09ee[_0x2c8939(0x29a)]-0x1,_0x37a0ef;_0x401aa2>=0x0;_0x401aa2--)(_0x37a0ef=_0xcf09ee[_0x401aa2])&&(_0x9448ab=_0x37a0ef(_0x9448ab)||_0x9448ab);return _0x9448ab;},F=(_0x4014a7,_0x7378d1)=>(_0x3fc402,_0x381876)=>_0x7378d1(_0x3fc402,_0x381876,_0x4014a7);exports[_0x44b885(0x2d7)]=class extends u[_0x44b885(0x1ef)]{constructor(_0x46ca0c,_0x395dd5,_0x1feab3,_0x4d61ed,_0x18227c){super(_0x46ca0c,_0x395dd5,_0x1feab3,_0x4d61ed,_0x18227c);}async['createSocket'](_0x200ee7){const _0x49b53c=_0x44b885,_0x2b471e=await this[_0x49b53c(0x1cc)](),_0x315538=this[_0x49b53c(0x308)](_0x200ee7,_0x2b471e);return this[_0x49b53c(0x1da)](_0x315538);}[_0x44b885(0x308)](_0x9290f0,_0x91f304){const _0x2f8d9b=_0x44b885,_0x49147a=typeof window>'u'?new URL(_0x9290f0):new URL(_0x9290f0,window[_0x2f8d9b(0x1db)][_0x2f8d9b(0x23b)]);_0x49147a['searchParams'][_0x2f8d9b(0x18f)]('sessionTicket',_0x91f304);const _0x27b9af=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2f8d9b(0x1db)][_0x2f8d9b(0x33b)]);return _0x27b9af[_0x2f8d9b(0x1ec)]('runId')&&_0x49147a['searchParams']['set'](_0x2f8d9b(0x225),_0x27b9af[_0x2f8d9b(0x1ec)](_0x2f8d9b(0x225))),_0x49147a[_0x2f8d9b(0x27d)]();}async[_0x44b885(0x1cc)](){const _0x2c9aef=_0x44b885;var _0x614378,_0x2b9bfa,_0x20caca;const _0x5abda5=this['_configService'][_0x2c9aef(0x3e9)](u[_0x2c9aef(0x25b)]),_0x3048c8=(_0x614378=_0x5abda5==null?void 0x0:_0x5abda5[_0x2c9aef(0x1e9)])!=null?_0x614378:u[_0x2c9aef(0x196)];return(_0x20caca=(_0x2b9bfa=(await this['_httpService'][_0x2c9aef(0x1ec)](_0x3048c8,{'headers':{'Content-Type':_0x2c9aef(0x3ba)}}))[_0x2c9aef(0x3c7)])==null?void 0x0:_0x2b9bfa['ticket'])!=null?_0x20caca:'';}},exports[_0x44b885(0x2d7)]=cs([F(0x0,a[_0x44b885(0x326)](a[_0x44b885(0x22a)])),F(0x1,a['Inject'](q[_0x44b885(0x356)])),F(0x2,a[_0x44b885(0x410)]),F(0x3,a[_0x44b885(0x411)]),F(0x4,m[_0x44b885(0x384)])],exports[_0x44b885(0x2d7)]);const Ne=0x7530,we=_0x44b885(0x300);class ls extends a[_0x44b885(0x1b7)]{constructor(){const _0x3d472a=_0x44b885;super(),h(this,_0x3d472a(0x21e),a[_0x3d472a(0x1b3)]()),h(this,_0x3d472a(0x266),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x3d472a(0x24d),null),h(this,_0x3d472a(0x277),new Map()),h(this,_0x3d472a(0x3c3),new Map()),this[_0x3d472a(0x383)]();}[_0x44b885(0x286)](){const _0x112fb8=_0x44b885;super[_0x112fb8(0x286)](),this['_clearOtherTimers'][_0x112fb8(0x40a)]((_0x305808,_0x17b122)=>this['_removeClearOtherTimer'](_0x17b122)),this[_0x112fb8(0x24d)]&&window[_0x112fb8(0x264)](this[_0x112fb8(0x24d)]);}[_0x44b885(0x1d4)](_0xb10e48){const _0x253492=_0x44b885;return this[_0x253492(0x38b)](_0xb10e48)[_0x253492(0x2d9)](d[_0x253492(0x1f0)]());}[_0x44b885(0x39d)](_0x47a55d){const _0x49a389=_0x44b885;this['_selfUnitIDs'][_0x49a389(0x248)]===0x0&&this[_0x49a389(0x222)](),this[_0x49a389(0x266)][_0x49a389(0x25a)](_0x47a55d),this[_0x49a389(0x1fd)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x47a55d],'isForwarded':!0x1});}[_0x44b885(0x20a)](_0x52d758){const _0x2ada13=_0x44b885;this[_0x2ada13(0x266)][_0x2ada13(0x371)](_0x52d758),this[_0x2ada13(0x266)][_0x2ada13(0x248)]===0x0&&this[_0x2ada13(0x24d)]&&window[_0x2ada13(0x264)](this[_0x2ada13(0x24d)]);}[_0x44b885(0x383)](){const _0x38c8b5=_0x44b885;this[_0x38c8b5(0x1e2)](a['toDisposable'](d['fromEvent'](window,_0x38c8b5(0x3d3))[_0x38c8b5(0x409)](_0x6dacc4=>{const _0x662fb5=_0x38c8b5;if(_0x6dacc4[_0x662fb5(0x23c)]!==we||!_0x6dacc4[_0x662fb5(0x2fe)])return;const _0x222a20=JSON['parse'](_0x6dacc4[_0x662fb5(0x2fe)]);this[_0x662fb5(0x3bc)](_0x222a20);}))),window[_0x38c8b5(0x385)](_0x38c8b5(0x230),()=>this[_0x38c8b5(0x1fd)]({'type':0x1,'memberID':this[_0x38c8b5(0x21e)],'unitIDs':Array[_0x38c8b5(0x3f8)](this[_0x38c8b5(0x266)])}));}['_handleEvent'](_0x502e17){const _0x15548f=_0x44b885;switch(_0x502e17[_0x15548f(0x28c)]){case 0x0:this[_0x15548f(0x1dc)](_0x502e17);break;case 0x1:this[_0x15548f(0x24a)](_0x502e17);break;case 0x2:this['_handleHeartbeatEvent'](_0x502e17);break;}}['_handleJoinEvent'](_0x4ee4a3){const _0x2240a5=_0x44b885,{unitIDs:_0x1bf19c,memberID:_0x5e6982,isForwarded:_0x3fbf46}=_0x4ee4a3;_0x1bf19c[_0x2240a5(0x40a)](_0x155bb9=>{const _0x105f80=_0x2240a5;if(!_0x3fbf46&&this[_0x105f80(0x3fc)][_0x105f80(0x1ad)](_0x155bb9)&&this[_0x105f80(0x38b)](_0x155bb9)['next'](u[_0x105f80(0x39f)][_0x105f80(0x250)]),!this['_unitOnClients'][_0x105f80(0x1ad)](_0x155bb9)||!this[_0x105f80(0x3fc)][_0x105f80(0x1ec)](_0x155bb9)[_0x105f80(0x1ad)](_0x5e6982)){const _0x1e59a3=this[_0x105f80(0x3fc)]['get'](_0x155bb9)||new Set();_0x1e59a3[_0x105f80(0x25a)](_0x5e6982),this[_0x105f80(0x3fc)]['set'](_0x155bb9,_0x1e59a3),this[_0x105f80(0x252)](_0x5e6982);}}),_0x3fbf46||this[_0x2240a5(0x1fd)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x44b885(0x252)](_0x17a0af){const _0x39b827=_0x44b885;this['_removeClearOtherTimer'](_0x17a0af);const _0x459fae=window['setTimeout'](()=>{const _0x407983=_0x990a;this[_0x407983(0x3fc)][_0x407983(0x40a)](_0x7fc25d=>{_0x7fc25d['delete'](_0x17a0af);});},Ne*0x2);this[_0x39b827(0x277)]['set'](_0x17a0af,_0x459fae);}[_0x44b885(0x2bd)](_0x277014){const _0x141c46=_0x44b885;if(this['_clearOtherTimers'][_0x141c46(0x1ad)](_0x277014)){const _0x4838a8=this[_0x141c46(0x277)][_0x141c46(0x1ec)](_0x277014);_0x4838a8&&window[_0x141c46(0x29c)](_0x4838a8),this[_0x141c46(0x277)]['set'](_0x277014,null);}}[_0x44b885(0x24a)](_0xe370a1){const _0x236e28=_0x44b885,{memberID:_0x44068b,unitIDs:_0x542511}=_0xe370a1;_0x542511[_0x236e28(0x40a)](_0xa7108e=>{const _0x114e03=_0x236e28;var _0x5591a1;const _0x2a23ac=this[_0x114e03(0x3fc)][_0x114e03(0x1ec)](_0xa7108e);_0x2a23ac&&(_0x2a23ac['delete'](_0x44068b),(_0x5591a1=this[_0x114e03(0x38b)](_0xa7108e))==null||_0x5591a1['next'](_0x2a23ac[_0x114e03(0x248)]===0x0?u[_0x114e03(0x39f)]['NO_OTHER_CLIENTS_EDITING']:u['UnitStatus'][_0x114e03(0x250)]));}),this[_0x236e28(0x2bd)](_0x44068b);}[_0x44b885(0x271)](_0x2cffd3){const _0x560eca=_0x44b885;this[_0x560eca(0x252)](_0x2cffd3['memberID']);}[_0x44b885(0x1fd)](_0x251eda){const _0xb095dc=_0x44b885;localStorage[_0xb095dc(0x2d5)](we,JSON[_0xb095dc(0x34a)](_0x251eda));}[_0x44b885(0x222)](){const _0x38626d=_0x44b885;this[_0x38626d(0x24d)]=window['setInterval'](()=>{const _0x50f32c=_0x38626d;this['_send']({'type':0x2,'memberID':this[_0x50f32c(0x21e)]});},Ne);}[_0x44b885(0x38b)](_0x49d25c){const _0x4a1242=_0x44b885;return this[_0x4a1242(0x3c3)][_0x4a1242(0x1ad)](_0x49d25c)||this['_unitStatus']['set'](_0x49d25c,new d[(_0x4a1242(0x297))](u[_0x4a1242(0x39f)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x49d25c);}}function _0x990a(_0x4e9bff,_0x2a59f2){const _0x396a73=_0x396a();return _0x990a=function(_0x990af3,_0x33d7e2){_0x990af3=_0x990af3-0x189;let _0x47fab6=_0x396a73[_0x990af3];return _0x47fab6;},_0x990a(_0x4e9bff,_0x2a59f2);}var Be=(_0x1e46f8=>(_0x1e46f8[_0x1e46f8[_0x44b885(0x38c)]=0x0]='UNDEFINED',_0x1e46f8[_0x1e46f8['OK']=0x1]='OK',_0x1e46f8[_0x1e46f8['INTERNAL_ERROR']=0x2]=_0x44b885(0x34f),_0x1e46f8[_0x1e46f8[_0x44b885(0x1a5)]=0x3]=_0x44b885(0x1a5),_0x1e46f8[_0x1e46f8[_0x44b885(0x26c)]=0x4]=_0x44b885(0x26c),_0x1e46f8[_0x1e46f8['UNAUTHENTICATED']=0x5]=_0x44b885(0x198),_0x1e46f8[_0x1e46f8[_0x44b885(0x2da)]=0x6]='ALREADY_EXISTS',_0x1e46f8[_0x1e46f8[_0x44b885(0x288)]=0x7]='INVALID_ARGUMENT',_0x1e46f8[_0x1e46f8[_0x44b885(0x1d9)]=0x8]='TOO_MANY_REQUESTS',_0x1e46f8[_0x1e46f8[_0x44b885(0x3f0)]=0x9]=_0x44b885(0x3f0),_0x1e46f8[_0x1e46f8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x44b885(0x3d4),_0x1e46f8[_0x1e46f8[_0x44b885(0x1b0)]=0x1771]=_0x44b885(0x1b0),_0x1e46f8[_0x1e46f8['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x44b885(0x2df),_0x1e46f8[_0x1e46f8[_0x44b885(0x25e)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1e46f8[_0x1e46f8['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x1e46f8[_0x1e46f8[_0x44b885(0x1a9)]=0x1b5a]=_0x44b885(0x1a9),_0x1e46f8[_0x1e46f8[_0x44b885(0x3ce)]=0x1b5b]=_0x44b885(0x3ce),_0x1e46f8[_0x1e46f8[_0x44b885(0x328)]=0x1b5c]=_0x44b885(0x328),_0x1e46f8[_0x1e46f8[_0x44b885(0x348)]=0x1b5d]=_0x44b885(0x348),_0x1e46f8[_0x1e46f8[_0x44b885(0x194)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1e46f8[_0x1e46f8[_0x44b885(0x201)]=0x2329]=_0x44b885(0x201),_0x1e46f8[_0x1e46f8[_0x44b885(0x299)]=0x232a]=_0x44b885(0x299),_0x1e46f8[_0x1e46f8[_0x44b885(0x2e9)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1e46f8[_0x1e46f8[_0x44b885(0x294)]=0x232c]=_0x44b885(0x294),_0x1e46f8[_0x1e46f8['LICENSE_DISTRO_REJECTED']=0x232d]=_0x44b885(0x189),_0x1e46f8[_0x1e46f8[_0x44b885(0x234)]=0x2711]=_0x44b885(0x234),_0x1e46f8[_0x1e46f8['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x44b885(0x1eb),_0x1e46f8[_0x1e46f8[_0x44b885(0x232)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1e46f8[_0x1e46f8[_0x44b885(0x363)]=0x2714]=_0x44b885(0x363),_0x1e46f8[_0x1e46f8[_0x44b885(0x399)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1e46f8[_0x1e46f8['UNRECOGNIZED']=-0x1]=_0x44b885(0x235),_0x1e46f8))(Be||{}),hs=Object[_0x44b885(0x231)],_s=(_0x2215fb,_0xe8744,_0x4b82fe,_0x40c844)=>{const _0x2d6bd4=_0x44b885;for(var _0x5a6d94=_0x40c844>0x1?void 0x0:_0x40c844?hs(_0xe8744,_0x4b82fe):_0xe8744,_0x3f09ce=_0x2215fb[_0x2d6bd4(0x29a)]-0x1,_0xf3a4c;_0x3f09ce>=0x0;_0x3f09ce--)(_0xf3a4c=_0x2215fb[_0x3f09ce])&&(_0x5a6d94=_0xf3a4c(_0x5a6d94)||_0x5a6d94);return _0x5a6d94;},de=(_0x2452e0,_0x185aa9)=>(_0x1c3343,_0x1d5b4d)=>_0x185aa9(_0x1c3343,_0x1d5b4d,_0x2452e0);exports['RemoteUniscriptService']=class extends a['Disposable']{constructor(_0x48b5e6,_0x36850a,_0x1006e2){const _0x3dbb85=_0x44b885;super(),this['_instanceService']=_0x48b5e6,this[_0x3dbb85(0x21d)]=_0x36850a,this[_0x3dbb85(0x1ab)]=_0x1006e2;}async[_0x44b885(0x3c0)](_0x2c56ae,_0x42f75b,_0x15b04b,..._0x436776){const _0x4b7abe=_0x44b885;var _0x51558c,_0x18e01d,_0x48d058,_0x442dd8;const _0x1623d4=this['_instanceService'][_0x4b7abe(0x301)]();if(!_0x1623d4)throw new Error(_0x4b7abe(0x3ab));const _0x3e8baa=((_0x51558c=this['_configService'][_0x4b7abe(0x3e9)](u[_0x4b7abe(0x2ea)]))!=null?_0x51558c:u[_0x4b7abe(0x3c8)])+'/'+_0x2c56ae+'/run/'+_0x42f75b,_0x5230da=new URL(window[_0x4b7abe(0x1db)][_0x4b7abe(0x351)]),_0x358415={'scriptId':_0x2c56ae,'runId':(_0x18e01d=_0x5230da[_0x4b7abe(0x3fa)][_0x4b7abe(0x1ec)]('runId'))!=null?_0x18e01d:'','function':_0x42f75b,'unitId':_0x1623d4[_0x4b7abe(0x29d)](),'argsOfFunction':JSON['stringify'](_0x436776),'invokeId':(_0x48d058=_0x15b04b['invokeId'])!=null?_0x48d058:'','executionId':(_0x442dd8=_0x15b04b[_0x4b7abe(0x3ac)])!=null?_0x442dd8:''};try{const _0x10d2de=await this[_0x4b7abe(0x21d)][_0x4b7abe(0x3f7)](_0x3e8baa,{'body':_0x358415});return _0x10d2de[_0x4b7abe(0x3c7)]['error']&&_0x10d2de[_0x4b7abe(0x3c7)][_0x4b7abe(0x191)][_0x4b7abe(0x1e7)]!==Be['OK']?'Failed':_0x10d2de[_0x4b7abe(0x3c7)][_0x4b7abe(0x3e0)];}catch{return _0x4b7abe(0x37b);}}},exports['RemoteUniscriptService']=_s([de(0x0,a[_0x44b885(0x1a1)]),de(0x1,a[_0x44b885(0x326)](q[_0x44b885(0x356)])),de(0x2,a['IConfigService'])],exports[_0x44b885(0x309)]),exports[_0x44b885(0x2cf)]=je,exports[_0x44b885(0x3d6)]=Ee,exports[_0x44b885(0x220)]=ye,exports[_0x44b885(0x3d2)]=ls,exports['WebURLService']=ke;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x4ccb0a=_0x1677;function _0x59fe(){const _0x462e37=['Edit\x20conflicts','Authentication\x20Error','15YMexSp','2597630acPCjU','10028CsobDV','Syncing...','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','15ZonGEr','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','49jcNptr','14210273zfkHWY','67ThVTnJ','855856xyJKjU','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','652962QDiyoA','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','9367695MHQUhW','exports','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20Conflict','Synced','631536djJLeV'];_0x59fe=function(){return _0x462e37;};return _0x59fe();}(function(_0x37c9b0,_0x1890f9){const _0x29fa63=_0x1677,_0x336ed8=_0x37c9b0();while(!![]){try{const _0x5dee0b=-parseInt(_0x29fa63(0xa6))/0x1*(-parseInt(_0x29fa63(0xb7))/0x2)+parseInt(_0x29fa63(0xbb))/0x3*(-parseInt(_0x29fa63(0xb2))/0x4)+parseInt(_0x29fa63(0xb5))/0x5*(-parseInt(_0x29fa63(0xa9))/0x6)+parseInt(_0x29fa63(0xa4))/0x7*(-parseInt(_0x29fa63(0xa7))/0x8)+parseInt(_0x29fa63(0xac))/0x9+-parseInt(_0x29fa63(0xb6))/0xa+parseInt(_0x29fa63(0xa5))/0xb;if(_0x5dee0b===_0x1890f9)break;else _0x336ed8['push'](_0x336ed8['shift']());}catch(_0x3ab07e){_0x336ed8['push'](_0x336ed8['shift']());}}}(_0x59fe,0x84d62));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x4ccb0a(0xb3),'notCollab':'Local\x20file','synced':_0x4ccb0a(0xb1),'syncing':_0x4ccb0a(0xb8),'offline':_0x4ccb0a(0xa3)},'session':{'connection-failed':_0x4ccb0a(0xba),'will-retry':_0x4ccb0a(0xaf),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x4ccb0a(0xb0),'content':_0x4ccb0a(0xb9)},'permission':{'title':_0x4ccb0a(0xb4),'content':_0x4ccb0a(0xa8)},'collaboration':{'single-unit':{'warning':_0x4ccb0a(0xab)},'closeRoom':_0x4ccb0a(0xae)},'auth':{'needGotoLoginAlert':_0x4ccb0a(0xaa)}};function _0x1677(_0x3a7dfb,_0x16aa28){const _0x59fe37=_0x59fe();return _0x1677=function(_0x167733,_0x4da64a){_0x167733=_0x167733-0xa3;let _0x464336=_0x59fe37[_0x167733];return _0x464336;},_0x1677(_0x3a7dfb,_0x16aa28);}module[_0x4ccb0a(0xad)]=e;
|