@univerjs-pro/collaboration-client-ui 0.9.1-nightly.202507091606 → 0.9.1-nightly.202507101607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x10be63=_0x3955;(function(_0x1859b4,_0xfd11e8){const _0x1c6311=_0x3955,_0x4ef5cd=_0x1859b4();while(!![]){try{const _0x547c33=-parseInt(_0x1c6311(0x2fb))/0x1+-parseInt(_0x1c6311(0x1fd))/0x2*(parseInt(_0x1c6311(0x250))/0x3)+-parseInt(_0x1c6311(0x1ac))/0x4*(-parseInt(_0x1c6311(0x21b))/0x5)+-parseInt(_0x1c6311(0x2e3))/0x6*(parseInt(_0x1c6311(0x284))/0x7)+parseInt(_0x1c6311(0x155))/0x8+-parseInt(_0x1c6311(0x1e3))/0x9+parseInt(_0x1c6311(0x254))/0xa;if(_0x547c33===_0xfd11e8)break;else _0x4ef5cd['push'](_0x4ef5cd['shift']());}catch(_0x506e4f){_0x4ef5cd['push'](_0x4ef5cd['shift']());}}}(_0x5e67,0x96120));var $t=Object[_0x10be63(0x313)],xt=(_0x5ceb03,_0x24a3cb,_0x547eae)=>_0x24a3cb in _0x5ceb03?$t(_0x5ceb03,_0x24a3cb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x547eae}):_0x5ceb03[_0x24a3cb]=_0x547eae,_=(_0x2109aa,_0x466c57,_0x1389c3)=>xt(_0x2109aa,typeof _0x466c57!=_0x10be63(0x332)?_0x466c57+'':_0x466c57,_0x1389c3);function _0x5e67(){const _0x2c7e19=['INVALID_ARGUMENT','onStarting','disposeUnit','evenodd','m1Prime','saveOfflineData','yellow.400','getUndoRedoMutationParamsCache','location','10827873qSEOku','row','_commandService','_colorIndex','_cursor','collab-rect-range-','fillStyle','WECHAT_HAS_BEEN_BOUND','init','values','selections','UNAUTHENTICATED','saveTaskMap','top','setTimeout','_saveTaskMap','_unitStatus','_selfUnitIDs','SYNCED','univer-flex\x20univer-items-center','Warning','_setupSubUnitSync','drawWith','addObjects','http://www.w3.org/2000/svg','blue.400','1435354vgYdam','event$','unit','urlChange$','FromArray','_httpService','triggerDblclick','_initEntityListener','permission.title','collabStatus.conflict','_setupBeforeClosingHandler','getUnhiddenWorksheets','_initStatusListener','memberID','runOnServer','getVpScrollXYInfoByPosToVp','use','collabStatus.offline','_session','tag','MoveRangeCommandId','_memberService','_syncEditingCollabCursorService','removeParam','setShapeProps','_cachedData','getSheetBySheetId','addClipboardHook','cursorInfo$','labelPosition','85ytRRnU','string','USERS_LEAVE','call','set','rgba(255,\x20255,\x20255,\x200.01)','getViewport','_revisionService','Error','sessionTicket','forEach','getItem','assignAColorForMemberID','getOwnPropertyDescriptor','replaceState','NOT_FOUND','from','YUUMI_RATE_OVER_LIMIT','_renderManagerService','INVITE_CODE_HAS_BEEN_UES','_docTransformSelectionsService','VIEW_MAIN','_collaborationController','_docClipboardService','div','sessionStatus$','getStateCache','onCommandExecuted','getCurrent','replace','_disabled','measureText','onTransformChange$','send','Failed','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_onRefRangeChange','defIds','docStateChange$','getUnitStatus$','undoState','collabStatus.notCollab','_docTransformIMECacheService','registerRenderModule','deepClone','isActive','_scheduleHeartbeat','currentColor','onPointerMove$','session.collaboration-timeout','_scene','_handleLeaveEvent','entityInit$','3rUjlNg','_collabSessionService','requireSession','show','29069520ryTkoj','YUUMI_URL_COL_OUT_OF_RANGE','_logService','bottom','random','clipPath','_collaborationUIEventService','LICENSE_IMPORT_SIZE_EXCEEDED','UniverIcon','m2Prime','asObservable','_docSkeletonManagerService','_messageService','entries','transformSelections','prototype','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','getActiveSheet','InsertRangeMoveDownCommandId','apply','_assignedColors','ACTIVE_UNIT_EVENT_CHANNEL','icon','hide','range','roomMembers','onPointerLeave$','DeleteRangeMoveUpCommandId','_saveCache','override','ranges','pushState','updateOfflineData','CLOSE_ROOM','OTHER_CLIENTS_EDITING','UNIVER_SHEET','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','dispose','_hideTimer','transformRemoteChangeset','setItem','getTypeOfUnitDisposed$','code','onRendered','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','name','purple.300','INVITE_CODE_REQUIRED','7307888wiOQxI','doc.mutation.rich-text-editing','_initStatusComponent','saveImage','assign','fillRule','actions','transformIMECache','_localCacheService','SUBMIT_CHANGESET_TIMEOUT','RemoveRowCommandId','idSuffix','_labelPosition','subscribe','/run/','LOGIN_FAILED','includes','_registerRenderDependencies','defs','getRangePointData','TEXT','_anchor','focused$','_ensureSubject','_name','session.connection-failed','text','collaboration-client-ui.config','history','backgroundColor','search','createSocket','_entityInit$','YUUMI_SUBSCRIPTION_NOT_FOUND','selection','_collabCursorState$','debug','ALREADY_EXISTS','stringify','getAncestorScale','_context','isEditing','UNDEFINED','save','error','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','has','roomMembers$','APPLY_PERMISSION_DENIED','ENSURE_SNAPSHOT_EXECUTION','className','InsertRowCommandId','_hover','SOCKET_FAILED','_initDependencies','collab-text-range-','svg','_updateURLWithCurrentState','NOT_COLLAB','href','width','setStateCache','_uiPartsService','get','getCurrentUnitForType','clearTimeout','data','unshift','getUnitId','_heartbeatTimer','on-line-icon_clip0_910_349','transform','0\x200\x2016\x2016','column','_transformHistoryAndStateStack','unload','CONFLICT','getActiveRange','APPLY_NON_SEQUENTIAL_REVISION','next','max','textRanges','getConfig','_startDocCollabCursor','restore','onPointerEnter$','beginPath','getDocRanges','off-line-icon_clip0_910_343','concat','_univerInstanceService','[CollaborationDataLoaderController]','YUUMI_UNABLE_LOAD_URL','executeCommand','_getSessionTicket','6kvXYpv','redoState','whenReady','generateRandomId','_handleEvent','runId','searchParams','key','collabCursorState$','_id','_scheduleSaving','syncEditingCollabCursor','YUUMI_ASYNCIO_CANCELLED','univer-mr-2\x20univer-flex\x20univer-text-xl','fill','SNAPSHOT_INVALID_SNAPSHOT','_unitOnClients','color','with','length','_textBubble','arc','findNodePositionByCharIndex','_getSheetObject','283967HKudQs','disposeWithMe','NO_OTHER_CLIENTS_EDITING','_localeService','lineTo','onLocalMutation','hovered','ONLINE','size','HEADER_MENU','session.will-retry','hasOwnProperty','INTERNAL_ERROR','post','exhaustSavingTask','popstate','TOO_MANY_REQUESTS','wsSessionTicketUrl','USER_NOT_INVITED_CODE','registerBeforeClose','CONNECTOR_DATA_TOO_LARGE','_transformUndoRedoStack','map','_onCursorUpdate','defineProperty','_eventUnsubscribe','delete','propertyIsEnumerable','_toggleOnline','InsertColCommandId','skeleton','_cursorShapes','CHANGESET_REVISION_CONFILICT','1em','_send','type','path','subunit','_colorAssignService','OffLineIcon','_initCommandExecutedListener','xlink:href','min','_getSaveTimeout','collaboration.closeRoom','_handleHover','M0\x200H16V16H0z','imageSourceType','_initEvent','resize','_color','_cursorInfo$','getValue','_transformService','height','symbol','getParam','_updateLocalCursor','getOffsetConfig','substring','colorChannel1','all','_toggleOffline','PY_RUNTIME_SCRIPT_ERROR','_createSocketURL','DeleteRangeMoveLeftCommandId','endRow','collaboration.single-unit.warning','_removeCollabCursors','uni.network.url-service','_themeService','setParam','getCollabCursors$','_draw','_roomMembers$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','mutations','add','subscribeEvent','_handleJoinEvent','red.300','replaceDocRanges','url(#$1','_docSyncEditingCollabCursorService','_online','toRgbString','_drawRectRange','green.600','UNRECOGNIZED','loadOfflineData','createInstance','_init','_docSkeleton','jiqing.500','then','_scheduleClearOtherTimer','YUUMI_ALL_TABLES_IS_INVALID','_beforeCloseService','off-line-icon','_render','translate(.97)','FETCH_MISS','_entities','dispose$','onMouseMove','PERMISSION_DENIED','sheetId','collabStatus.syncing','4125208DroKxr','_document','sheetID','_clearOtherTimers','registerComponent','source','_getScale','_handleHeartbeatEvent','EMAIL_HAS_BEEN_BOUND','permission.content','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getSheetId','AWAITING_WITH_PENDING','params','_transformPreviousActiveRange','getColorFromTheme','_cursors','_instanceService','getMember','white','transformMutation','getOwnPropertySymbols','split','SNAPSHOT_HAS_BEEN_REMOVED','cursorInfo','getMergeData','loadUnit','PENDING','displayName','_docTransformStateCacheService','transformStateCache','_refreshCollabCursors','_status$','_updateSubUnitFromURLParams','MOBILE_VERIFY_CODE_MISMATCH','startsWith','_range','startColumn','unitId','_drawTextRange','_anchorDot','round','[RemoteUniscriptService]:\x20no\x20focused\x20unit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','RECT','_updateCollabCursors','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','toString','attrs','OTHER_CLIENT_EDITING','getCurrentSelections','_collabCursorController','OnLineIcon','_injector','_getAnchorBounding','0\x200\x2017\x2016','univerjs-icon\x20univerjs-icon-','UNIVER_DOC','unsubscribe','Unknown\x20user','getMemberID','#FFF','function','eventID','getTypeOfUnitAdded$','black','...','registerRefRange','_removeClearOtherTimer','_imageIoService','getFocusedUnit','LICENSE_MAX_UNITS_EXCEEDED','_initResize','setConfig','transformMutationsWithChangeset','_localStorageService','UPDATE_CURSOR','_docStateChangeManagerService','_urlService','getSkeleton','MOBILE_HAS_BEEN_BOUND','isArray','ticket','on-line-icon','_lastPointer','APPLY_DUPLICATED','_onCursorDelete','103720aaakSz','_sheetSkeletonManagerService','_notificationService','fillText','origin','_backgroundColor','_getMergeRange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','RemoveColCommandId','getRelativeToViewportCoord','APPLY_REVISION_CONFILICT','startRow','_hovered','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','mask','_shapes','_startSheetCollabCursor','reconnect','YUUMI_CONNECTOR_URL_NOT_FOUND','complete','body','COMPLETION_FINISHED','getRenderById','getCollabEntity$','unitID','some','result','clearInterval','addHandlerCallback','LICENSE_EXPORT_SIZE_EXCEEDED','children','push','editingUnit','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_config','collabStatus.synced','setInterval','_drawAnchor','_refRangeService','_configService','indexOf','collab-client.tooltip.reconnect','invokeId','addObject','pipe','parse'];_0x5e67=function(){return _0x2c7e19;};return _0x5e67();}import{MemberService as _0x2d08ad,SessionStatus as _0x4dfb85,CollaborationSessionService as _0x58f285,CollaborationStatus as _0x57e69d,CollaborationController as _0x298d6a,ILocalCacheService as _0x213199,CollaborationUIEventService as _0x591c09,CollaborationUIEventId as _0x2acd13,DataLoaderService as _0x5c3cb0,DocCollaborationEntity as _0x1cefa5,getLocalCacheKey as _0x29b25b,LOCAL_CACHE_INTERVAL as _0x52e9b3,LOCAL_CACHE_INTERVAL_KEY as _0x352be6,UniverCollaborationClientPlugin as _0x2d4b1e,CollaborationSocketService as _0x34862c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3912d2,DEFAULT_WS_SESSION_TICKET_URL as _0x554f89,UnitStatus as _0x13f41b,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2fbd73,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x571d04}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1791bc,Disposable as _0x38053b,DOC_RANGE_TYPE as _0x2de3e1,Inject as _0x190800,Injector as _0x1963a9,IUniverInstanceService as _0x2d594b,ICommandService as _0x571ef4,debounce as _0x36d929,Rectangle as _0x570ed3,DisposableCollection as _0x126142,toDisposable as _0x5d3d6f,UniverInstanceType as _0x52505e,Tools as _0x4ec199,COLORS as _0x7292e0,ColorKit as _0x351621,ThemeService as _0x12af7d,fromEventSubject as _0x1de04a,LocaleService as _0xc152d,createIdentifier as _0x4f83d2,ILogService as _0xc1dab3,Optional as _0x26145b,Workbook as _0x8522ea,CommandType as _0x1769c9,IConfigService as _0xdf5196,ILocalStorageService as _0x14ecb9,DependentOn as _0x2ce191,Plugin as _0x12c489,merge as _0xbd5a6e,registerDependencies as _0x4992cc,mergeOverrideWithDependencies as _0x55fadb,touchDependencies as _0x271b92,generateRandomId as _0x3a7538}from'@univerjs/core';import{Shape as _0x41793a,Rect as _0x1e15b1,getColor as _0x1be4a8,RegularPolygon as _0x4b5096,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x38d2ae,Vector2 as _0x3d7e1,SHEET_VIEWPORT_KEY as _0x7bed25,IRenderManagerService as _0x2e50c4}from'@univerjs/engine-render';import{ISocketService as _0x641233,WebSocketService as _0x5bccf9,HTTPService as _0xedb30f}from'@univerjs/network';import{IDocClipboardService as _0x6b0c68,NodePositionConvertToCursor as _0x2ede96,NodePositionConvertToRectRange as _0x7c1597,TEXT_RANGE_LAYER_INDEX as _0x5af4b0,SetDocZoomRatioOperation as _0x40032f,DocIMEInputManagerService as _0x598601,DocStateChangeManagerService as _0x897617}from'@univerjs/docs-ui';import{IImageIoService as _0x4743e9}from'@univerjs/drawing';import{BehaviorSubject as _0x226cf0,debounceTime as _0x1018c5,takeUntil as _0x303377,Subject as _0x327260,filter as _0x31e4f1,switchMap as _0x4cd47a,merge as _0x306837,combineLatest as _0x2a6169,of as _0x390728,fromEvent as _0x4598ac,shareReplay as _0x5ef743,mapTo as _0x18be32,distinctUntilChanged as _0x5f11ca}from'rxjs';import{ITransformService as _0x5ced51,CollaborationEvent as _0x5dfe5d,isTransformMutationFailure as _0x198f8c,isTransformMutationsWithChangesetSuccess as _0x78182e,RevisionService as _0x50e00f,ISnapshotServerService as _0x551f12}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4c5121,RichTextEditingMutation as _0xd68ad9,DocSelectionManagerService as _0x52ae6e,DocSkeletonManagerService as _0x2d382c}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x28c6bb,serializeRangeWithSheet as _0xd24b9e}from'@univerjs/engine-formula';import{RefRangeService as _0x368bf8,SetSelectionsOperation as _0x19515a,SheetsSelectionsService as _0x4e8cbc,EffectRefRangId as _0x54d4e4,handleIRemoveRow as _0x209150,handleIRemoveCol as _0x40a46d,handleMoveRange as _0x52507b,handleInsertRow as _0x1469ed,handleInsertRangeMoveRight as _0x16308b,handleInsertRangeMoveDown as _0x42a854,handleInsertCol as _0x1e8221,handleDeleteRangeMoveUp as _0x43595d,handleDeleteRangeMoveLeft as _0x1bde76,runRefRangeMutations as _0x4bade8,SetWorksheetActivateCommand as _0x4cf703}from'@univerjs/sheets';import{map as _0x13ac8f,filter as _0x504416,throttleTime as _0x3c9543,takeUntil as _0x4a43f7,switchMap as _0x193b6a}from'rxjs/operators';import{SheetSkeletonManagerService as _0x397094,getCoordByCell as _0x44867f,getSheetObject as _0x33c51e}from'@univerjs/sheets-ui';import{jsx as _0x266936,jsxs as _0x43fe84}from'react/jsx-runtime';import{useObservable as _0x175c52,useDependency as _0x51d814,IUIPartsService as _0x58239e,BuiltInUIPart as _0xd1a57a,connectInjector as _0xf70afc,IBeforeCloseService as _0x2bbcaa,IMessageService as _0x2f910d,INotificationService as _0x599efd}from'@univerjs/ui';import{Tooltip as _0x4a53fb,clsx as _0x4cd89e,MessageType as _0x3f6803}from'@univerjs/design';import{forwardRef as _0x3e3769,useRef as _0xc483ca,createElement as _0x4ee4af,useCallback as _0x36ac64}from'react';import{IRemoteInstanceService as _0x2d1f50}from'@univerjs/rpc';var ci=Object[_0x10be63(0x228)],li=(_0x4dacd4,_0x6fd3ee,_0x11acca,_0x1bc61e)=>{const _0x1502ef=_0x10be63;for(var _0x396d92=_0x1bc61e>0x1?void 0x0:_0x1bc61e?ci(_0x6fd3ee,_0x11acca):_0x6fd3ee,_0x5d3292=_0x4dacd4[_0x1502ef(0x2f6)]-0x1,_0x2e3d22;_0x5d3292>=0x0;_0x5d3292--)(_0x2e3d22=_0x4dacd4[_0x5d3292])&&(_0x396d92=_0x2e3d22(_0x396d92)||_0x396d92);return _0x396d92;},Je=(_0x4e3a56,_0x2b1a41)=>(_0x4d6c24,_0x571c4e)=>_0x2b1a41(_0x4d6c24,_0x571c4e,_0x4e3a56);let Ne=class extends _0x1791bc{constructor(_0x3d1162,_0x5f2f76){const _0x3a1286=_0x10be63;super(),this[_0x3a1286(0x232)]=_0x3d1162,this[_0x3a1286(0x19a)]=_0x5f2f76,this[_0x3a1286(0x144)]();}[_0x10be63(0x144)](){const _0x2bbee9=_0x10be63,_0x4fa5b5=this;this[_0x2bbee9(0x2fc)](this[_0x2bbee9(0x232)][_0x2bbee9(0x218)]({'onBeforePasteImage':async _0x538e3e=>{const _0x131fd9=_0x2bbee9,_0x38caeb=await _0x4fa5b5[_0x131fd9(0x19a)][_0x131fd9(0x287)](_0x538e3e);return _0x38caeb?{'source':_0x38caeb[_0x131fd9(0x15a)],'imageSourceType':_0x38caeb[_0x131fd9(0x32a)]}:null;}}));}};Ne=li([Je(0x0,_0x6b0c68),Je(0x1,_0x4743e9)],Ne);const Ze=[_0x10be63(0x282),_0x10be63(0x146),_0x10be63(0x140),_0x10be63(0x34b),_0x10be63(0x1fc),_0x10be63(0x1e0)];class ke extends _0x38053b{constructor(){const _0x323e1a=_0x10be63;super(...arguments),_(this,_0x323e1a(0x268),new Map()),_(this,_0x323e1a(0x1e6),0x0);}[_0x10be63(0x227)](_0x57b7b5){const _0x37c29c=_0x10be63;if(this['_assignedColors']['has'](_0x57b7b5))return this['_assignedColors'][_0x37c29c(0x2c3)](_0x57b7b5);const _0xe97a51=Ze[this[_0x37c29c(0x1e6)]];return this[_0x37c29c(0x1e6)]=(this[_0x37c29c(0x1e6)]+0x1)%Ze[_0x37c29c(0x2f6)],this[_0x37c29c(0x268)][_0x37c29c(0x21f)](_0x57b7b5,_0xe97a51),_0xe97a51;}}function Tt(_0xd01c8c){const _0x16bac9=_0x10be63;let _0x12d484='';for(const _0x37dcad of _0xd01c8c){const {startOffset:_0x45fc6e,endOffset:_0x24eccd,isActive:_0x4ff5d6,rangeType:_0x1c6038,segmentId:_0x504cb4,segmentPage:_0x38f6e9}=_0x37dcad;_0x12d484[_0x16bac9(0x2f6)]&&(_0x12d484+=','),_0x12d484+=_0x45fc6e+':'+_0x24eccd+':'+(_0x4ff5d6?'1':'0')+':'+_0x1c6038+':'+_0x504cb4+':'+_0x38f6e9;}return _0x12d484;}function _i(_0x19421e){const _0x3f481e=_0x10be63,_0x348454=_0x19421e['split'](','),_0x6f76f8=[];for(const _0xde4763 of _0x348454){const [_0x518391,_0x1d39a9,_0x29e47d,_0x42607b,_0x3bbbd5,_0x52f6cf]=_0xde4763[_0x3f481e(0x16b)](':');_0x6f76f8[_0x3f481e(0x1cb)]({'startOffset':Number(_0x518391),'endOffset':Number(_0x1d39a9),'collapsed':_0x518391===_0x1d39a9,'isActive':_0x29e47d==='1','rangeType':_0x42607b===_0x2de3e1[_0x3f481e(0x298)]?_0x2de3e1[_0x3f481e(0x298)]:_0x2de3e1[_0x3f481e(0x181)],'segmentId':typeof _0x3bbbd5=='string'?String(_0x3bbbd5):'','segmentPage':Number(_0x52f6cf!=null?_0x52f6cf:-0x1)});}return _0x6f76f8[_0x3f481e(0x1c5)](_0x4c7f90=>_0x4c7f90[_0x3f481e(0x248)])||(_0x6f76f8[0x0][_0x3f481e(0x248)]=!0x0),_0x6f76f8;}class He extends _0x1791bc{constructor(){const _0x5399e9=_0x10be63;super(...arguments),_(this,_0x5399e9(0x2a7),new _0x226cf0(null)),_(this,_0x5399e9(0x2eb),this[_0x5399e9(0x2a7)][_0x5399e9(0x25e)]());}[_0x10be63(0x2ee)](_0x4506ee){const _0x4aef8c=_0x10be63,{unitID:_0x36563c,memberID:_0xae74c3,textRanges:_0x4c7f72}=_0x4506ee,_0x363664=Tt(_0x4c7f72);if(_0x363664==='')return;const _0xeff789={'unitID':_0x36563c,'memberID':_0xae74c3,'selection':_0x363664};this[_0x4aef8c(0x2a7)][_0x4aef8c(0x2d3)](_0xeff789);}}var hi=Object[_0x10be63(0x228)],ui=(_0x4d5589,_0xffb9d7,_0x1bd1a2,_0x2dd235)=>{for(var _0x5214e3=_0x2dd235>0x1?void 0x0:_0x2dd235?hi(_0xffb9d7,_0x1bd1a2):_0xffb9d7,_0x20ecb6=_0x4d5589['length']-0x1,_0x39db2e;_0x20ecb6>=0x0;_0x20ecb6--)(_0x39db2e=_0x4d5589[_0x20ecb6])&&(_0x5214e3=_0x39db2e(_0x5214e3)||_0x5214e3);return _0x5214e3;},P=(_0x19fc1f,_0x31f0e8)=>(_0xb31b16,_0x3c0693)=>_0x31f0e8(_0xb31b16,_0x3c0693,_0x19fc1f);const di=0x12c,fi=0x64;let Ue=class extends _0x1791bc{constructor(_0x240ca5,_0x3a5583,_0x4588bc,_0x3d400a,_0x3a8876,_0x44c0b3,_0x49a2db,_0x15da3f,_0x5d081b){const _0x41139e=_0x10be63;super(),_(this,'_online',!0x1),_(this,_0x41139e(0x144),!0x1),_(this,'_cursorInfo$',new _0x226cf0(new Map())),_(this,_0x41139e(0x219),this[_0x41139e(0x32e)][_0x41139e(0x25e)]()),_(this,'_roomMembers$',new _0x226cf0([])),_(this,_0x41139e(0x2b3),this[_0x41139e(0x345)][_0x41139e(0x1d8)](_0x1018c5(di))),_(this,_0x41139e(0x334),_0x36d929(_0x1aeb1c=>{const _0x3ae820=_0x41139e,_0x1a6387={'eventID':_0x5dfe5d[_0x3ae820(0x1a1)],'data':{'unitID':this[_0x3ae820(0x1c4)],'memberID':this[_0x3ae820(0x20f)][_0x3ae820(0x191)](),'selection':Tt(_0x1aeb1c)}};this['_session'][_0x3ae820(0x23c)](_0x1a6387,this[_0x3ae820(0x1c4)]);},fi)),(this[_0x41139e(0x1c4)]=_0x240ca5,this['_session']=_0x3a5583,this['_injector']=_0x4588bc,this[_0x41139e(0x321)]=_0x3d400a,this[_0x41139e(0x212)]=_0x3a8876,this[_0x41139e(0x213)]=_0x44c0b3,this[_0x41139e(0x330)]=_0x49a2db,this[_0x41139e(0x2de)]=_0x15da3f,this[_0x41139e(0x1e5)]=_0x5d081b);}get[_0x10be63(0x16d)](){const _0x1d278a=_0x10be63;return this[_0x1d278a(0x32e)][_0x1d278a(0x32f)]();}get[_0x10be63(0x26d)](){const _0x21453b=_0x10be63;return this['_roomMembers$'][_0x21453b(0x32f)]();}[_0x10be63(0x279)](){const _0x8e986a=_0x10be63;super['dispose'](),this[_0x8e986a(0x32e)][_0x8e986a(0x2d3)](new Map()),this['_cursorInfo$'][_0x8e986a(0x1bf)](),this['_roomMembers$'][_0x8e986a(0x2d3)]([]),this[_0x8e986a(0x345)]['complete']();}[_0x10be63(0x1eb)](){const _0x8cc87d=_0x10be63;this[_0x8cc87d(0x144)]||(this['_init']=!0x0,this['_session'][_0x8cc87d(0x234)][_0x8cc87d(0x1d8)](_0x303377(this[_0x8cc87d(0x150)]))['subscribe'](_0x3f6eae=>{const _0x1a138b=_0x8cc87d;_0x3f6eae===_0x4dfb85['ONLINE']?this[_0x1a138b(0x317)]():this[_0x1a138b(0x339)]();}),this['_session'][_0x8cc87d(0x1fe)][_0x8cc87d(0x1d8)](_0x303377(this[_0x8cc87d(0x150)]))['subscribe'](_0x4e33f4=>{const _0x40cfc1=_0x8cc87d,_0x1c4c7a=_0x4e33f4[_0x40cfc1(0x194)];_0x1c4c7a===_0x5dfe5d['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4e33f4),_0x1c4c7a===_0x5dfe5d[_0x40cfc1(0x21d)]&&this['_onCursorDelete'](_0x4e33f4);}),this[_0x8cc87d(0x2fc)](this[_0x8cc87d(0x1e5)]['onCommandExecuted'](_0x4b18b4=>{const _0x1b133a=_0x8cc87d,_0x312702=_0x4b18b4[_0x1b133a(0x162)];_0x312702!=null&&this['_online']&&_0x4b18b4['id']===_0x4c5121['id']&&_0x312702[_0x1b133a(0x17b)]===this[_0x1b133a(0x1c4)]&&_0x312702[_0x1b133a(0x2ad)]===!0x1&&_0x312702[_0x1b133a(0x272)][_0x1b133a(0x2f6)]>0x0&&this[_0x1b133a(0x334)](_0x312702[_0x1b133a(0x272)]);})),this['_syncEditingCollabCursorService'][_0x8cc87d(0x2eb)][_0x8cc87d(0x1d8)](_0x303377(this[_0x8cc87d(0x150)]))['subscribe'](_0x544122=>{const _0x563a81=_0x8cc87d;if((_0x544122==null?void 0x0:_0x544122[_0x563a81(0x1c4)])!==this['unitID'])return;const _0x5dcafc={'eventID':_0x5dfe5d[_0x563a81(0x1a1)],'data':_0x544122};this[_0x563a81(0x312)](_0x5dcafc);}),this[_0x8cc87d(0x2fc)](this[_0x8cc87d(0x1e5)][_0x8cc87d(0x236)](_0x51972e=>{const _0x18f67f=_0x8cc87d;if(_0x51972e[_0x18f67f(0x162)]==null)return;const _0x7fdde3=_0x51972e[_0x18f67f(0x162)];if(_0x51972e['id']!==_0xd68ad9['id']||_0x7fdde3[_0x18f67f(0x17b)]!==this[_0x18f67f(0x1c4)])return;const _0x2326ad={'id':_0x18f67f(0x285),'params':_0x7fdde3},_0x3ded55=this[_0x18f67f(0x16d)];for(const [_0x35e03b,_0x17e2d5]of _0x3ded55){const _0xa9966c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x17e2d5[_0x18f67f(0x272)]}},_0x4ef446=this[_0x18f67f(0x330)]['transformMutation'](_0x2326ad,_0xa9966c,!0x1);if(_0x198f8c(_0x4ef446))throw _0x4ef446['error'];_0x3ded55[_0x18f67f(0x21f)](_0x35e03b,{..._0x17e2d5,'ranges':_0x4ef446[_0x18f67f(0x25d)][_0x18f67f(0x162)][_0x18f67f(0x2d5)]});}queueMicrotask(()=>{const _0x22eae1=_0x18f67f;this[_0x22eae1(0x32e)][_0x22eae1(0x2d3)](_0x3ded55);});})));}[_0x10be63(0x312)](_0x1f9928){const _0x3168b7=_0x10be63;var _0xbec050,_0x1a82bc;const {memberID:_0x4c7c3b,selection:_0x56937a}=_0x1f9928[_0x3168b7(0x2c6)],_0x48de11=_i(_0x56937a),_0x2e729d=(_0x1a82bc=(_0xbec050=this[_0x3168b7(0x212)][_0x3168b7(0x167)](this['unitID'],_0x4c7c3b))==null?void 0x0:_0xbec050['name'])!=null?_0x1a82bc:_0x3168b7(0x190),_0x5ef286={'color':this['_colorAssignService'][_0x3168b7(0x227)](_0x4c7c3b),'name':_0x2e729d,'ranges':_0x48de11},_0x1a5e19=this[_0x3168b7(0x16d)];_0x1a5e19[_0x3168b7(0x21f)](_0x4c7c3b,_0x5ef286),this[_0x3168b7(0x32e)][_0x3168b7(0x2d3)](_0x1a5e19);}[_0x10be63(0x1ab)](_0x139014){const _0xc09034=_0x10be63,{memberID:_0x3ccb78}=_0x139014[_0xc09034(0x2c6)],_0x328d6a=this['cursorInfo'];_0x328d6a[_0xc09034(0x315)](_0x3ccb78),this[_0xc09034(0x32e)][_0xc09034(0x2d3)](_0x328d6a);}[_0x10be63(0x317)](){const _0x37e66f=_0x10be63;var _0x5a9855;if(this[_0x37e66f(0x34f)]=!0x0,((_0x5a9855=this['_univerInstanceService'][_0x37e66f(0x19b)]())==null?void 0x0:_0x5a9855[_0x37e66f(0x2c8)]())!==this[_0x37e66f(0x1c4)])return;const _0x239e47=this['_injector'][_0x37e66f(0x2c3)](_0x52ae6e)[_0x37e66f(0x2db)]();Array[_0x37e66f(0x1a6)](_0x239e47)&&_0x239e47[_0x37e66f(0x2f6)]>0x0&&this[_0x37e66f(0x334)](_0x239e47);}[_0x10be63(0x339)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x190800(_0x1963a9)),P(0x3,_0x190800(ke)),P(0x4,_0x190800(_0x2d08ad)),P(0x5,_0x190800(He)),P(0x6,_0x5ced51),P(0x7,_0x2d594b),P(0x8,_0x571ef4)],Ue);var Si=Object[_0x10be63(0x228)],mi=(_0x58cb00,_0x14b13d,_0x28ddbe,_0x8fac0c)=>{const _0x586f17=_0x10be63;for(var _0x347d66=_0x8fac0c>0x1?void 0x0:_0x8fac0c?Si(_0x14b13d,_0x28ddbe):_0x14b13d,_0x21e831=_0x58cb00[_0x586f17(0x2f6)]-0x1,_0x2c9c48;_0x21e831>=0x0;_0x21e831--)(_0x2c9c48=_0x58cb00[_0x21e831])&&(_0x347d66=_0x2c9c48(_0x347d66)||_0x347d66);return _0x347d66;},x=(_0x1bc967,_0x6c569c)=>(_0x17d94b,_0xae41e1)=>_0x6c569c(_0x17d94b,_0xae41e1,_0x1bc967);const Ii=0x12c,gi=0x64,vi=()=>{let _0x174b0d=[],_0x51fad1=!0x1;return _0x570167=>{const _0x4fd49a=_0x3955;_0x174b0d[_0x4fd49a(0x1cb)](_0x570167),_0x51fad1||(_0x51fad1=!0x0,setTimeout(()=>{_0x174b0d['forEach'](_0x41acf4=>_0x41acf4()),_0x174b0d=[],_0x51fad1=!0x1;}));};};let Me=class extends _0x1791bc{constructor(_0x32087a,_0x5a01ab,_0x333a2d,_0x181fa6,_0x26481c,_0x3ebded,_0x4d5d0b,_0xa301ee){const _0x496ec0=_0x10be63;super(),_(this,'_online',!0x1),_(this,_0x496ec0(0x144),!0x1),_(this,_0x496ec0(0x32e),new _0x226cf0(new Map())),_(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_(this,_0x496ec0(0x345),new _0x226cf0([])),_(this,_0x496ec0(0x2b3),this[_0x496ec0(0x345)][_0x496ec0(0x1d8)](_0x1018c5(Ii))),_(this,_0x496ec0(0x334),_0x36d929((_0x1420b9,_0x3d286e)=>{const _0x4e5c8c=_0x496ec0,_0xd62144={'eventID':_0x5dfe5d[_0x4e5c8c(0x1a1)],'data':{'unitID':this[_0x4e5c8c(0x1c4)],'memberID':this[_0x4e5c8c(0x20f)][_0x4e5c8c(0x191)](),'selection':_0xd24b9e(_0x1420b9,_0x3d286e[_0x4e5c8c(0x26c)])}};this[_0x4e5c8c(0x20f)][_0x4e5c8c(0x23c)](_0xd62144,this[_0x4e5c8c(0x1c4)]);},gi)),(this[_0x496ec0(0x1c4)]=_0x32087a,this[_0x496ec0(0x20f)]=_0x5a01ab,this[_0x496ec0(0x18a)]=_0x333a2d,this[_0x496ec0(0x321)]=_0x181fa6,this[_0x496ec0(0x212)]=_0x26481c,this[_0x496ec0(0x2de)]=_0x3ebded,this[_0x496ec0(0x1e5)]=_0x4d5d0b,this[_0x496ec0(0x1d2)]=_0xa301ee);}get[_0x10be63(0x16d)](){const _0x486c86=_0x10be63;return this['_cursorInfo$'][_0x486c86(0x32f)]();}get[_0x10be63(0x26d)](){const _0x5a8cfb=_0x10be63;return this[_0x5a8cfb(0x345)][_0x5a8cfb(0x32f)]();}[_0x10be63(0x279)](){const _0x546840=_0x10be63;super[_0x546840(0x279)](),this[_0x546840(0x32e)][_0x546840(0x2d3)](new Map()),this[_0x546840(0x32e)][_0x546840(0x1bf)](),this['_roomMembers$']['next']([]),this[_0x546840(0x345)][_0x546840(0x1bf)]();}[_0x10be63(0x1eb)](){const _0x171a5e=_0x10be63;this[_0x171a5e(0x144)]||(this[_0x171a5e(0x144)]=!0x0,this[_0x171a5e(0x20f)]['sessionStatus$'][_0x171a5e(0x1d8)](_0x303377(this[_0x171a5e(0x150)]))[_0x171a5e(0x291)](_0x3e3585=>{const _0x151102=_0x171a5e;_0x3e3585===_0x4dfb85[_0x151102(0x302)]?this[_0x151102(0x317)]():this[_0x151102(0x339)]();}),this['_session'][_0x171a5e(0x1fe)][_0x171a5e(0x1d8)](_0x303377(this['dispose$']))[_0x171a5e(0x291)](_0x45a5ef=>{const _0x31a737=_0x171a5e,_0x26e62e=_0x45a5ef[_0x31a737(0x194)];_0x26e62e===_0x5dfe5d[_0x31a737(0x1a1)]&&this['_onCursorUpdate'](_0x45a5ef),_0x26e62e===_0x5dfe5d['USERS_LEAVE']&&this[_0x31a737(0x1ab)](_0x45a5ef);}),this[_0x171a5e(0x23f)](),this[_0x171a5e(0x2fc)](this[_0x171a5e(0x1e5)]['onCommandExecuted'](_0x4e5bc1=>{const _0x4cec17=_0x171a5e;if(this['_online']&&_0x4e5bc1['id']===_0x19515a['id']&&_0x4e5bc1[_0x4cec17(0x162)][_0x4cec17(0x17b)]===this[_0x4cec17(0x1c4)]){const _0x18166e=_0x4e5bc1[_0x4cec17(0x162)];this['_updateLocalCursor'](_0x18166e['subUnitId'],_0x18166e[_0x4cec17(0x1ed)][0x0]);}})));}[_0x10be63(0x312)](_0x2b0d0e){const _0x20dada=_0x10be63;var _0x606c55,_0x23e104;const {memberID:_0x71d685,selection:_0x550a94}=_0x2b0d0e[_0x20dada(0x2c6)],{sheetName:_0x316829,range:_0x4b3043}=_0x28c6bb(_0x550a94),_0x390205={'name':(_0x23e104=(_0x606c55=this[_0x20dada(0x212)][_0x20dada(0x167)](this[_0x20dada(0x1c4)],_0x71d685))==null?void 0x0:_0x606c55[_0x20dada(0x281)])!=null?_0x23e104:'Unknown\x20user','range':this[_0x20dada(0x1b2)](_0x316829,_0x4b3043),'sheetID':_0x316829,'color':this[_0x20dada(0x321)][_0x20dada(0x227)](_0x71d685),'selection':_0x550a94},_0x383978=this[_0x20dada(0x16d)];_0x383978[_0x20dada(0x21f)](_0x71d685,_0x390205),this[_0x20dada(0x32e)]['next'](_0x383978);}['_onCursorDelete'](_0x44b05d){const _0x5a37c2=_0x10be63,{memberID:_0x481359}=_0x44b05d[_0x5a37c2(0x2c6)],_0x18012d=this[_0x5a37c2(0x16d)];_0x18012d['delete'](_0x481359),this[_0x5a37c2(0x32e)][_0x5a37c2(0x2d3)](_0x18012d);}['_getMergeRange'](_0x54cec6,_0x3e53f6){const _0xb8b9ce=_0x10be63;var _0x50dc6e,_0x5199b7;const _0x9d585b=(_0x5199b7=(_0x50dc6e=this[_0xb8b9ce(0x2de)]['getUniverSheetInstance'](this[_0xb8b9ce(0x1c4)]))==null?void 0x0:_0x50dc6e[_0xb8b9ce(0x217)](_0x54cec6))==null?void 0x0:_0x5199b7[_0xb8b9ce(0x16e)]();return(_0x9d585b==null?void 0x0:_0x9d585b['find'](_0x4933db=>_0x570ed3['contains'](_0x4933db,_0x3e53f6)))||_0x3e53f6;}['_onRefRangeChange'](){const _0x59eb87=_0x10be63,_0x301373=new _0x126142(),_0x36027f=vi(),_0x97ce4e=()=>{const _0x1e862d=_0x3955;_0x301373[_0x1e862d(0x279)]();const _0x31690c=(_0x3c2d87,_0xe3d2b9,_0x5ee098,_0xb0e850)=>{const _0x5e8549=_0x1e862d;let _0x4063a5=[];switch(_0x3c2d87['id']){case _0x54d4e4[_0x5e8549(0x33c)]:{_0x4063a5=_0x1bde76(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4[_0x5e8549(0x26f)]:{_0x4063a5=_0x43595d(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4[_0x5e8549(0x318)]:{_0x4063a5=_0x1e8221(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4[_0x5e8549(0x266)]:{_0x4063a5=_0x42a854(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4['InsertRangeMoveRightCommandId']:{_0x4063a5=_0x16308b(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4[_0x5e8549(0x2b7)]:{_0x4063a5=_0x1469ed(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4[_0x5e8549(0x211)]:{_0x4063a5=_0x52507b(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4[_0x5e8549(0x1b4)]:{_0x4063a5=_0x40a46d(_0x3c2d87,_0xb0e850);break;}case _0x54d4e4[_0x5e8549(0x28e)]:{_0x4063a5=_0x209150(_0x3c2d87,_0xb0e850);break;}}const _0x4e59e8=_0x4bade8(_0x4063a5,_0xb0e850),_0x51bca0=this[_0x5e8549(0x16d)][_0x5e8549(0x2c3)](_0xe3d2b9);if(_0x51bca0&&_0x4e59e8){const _0x40a5bb={..._0x51bca0,'range':_0x4e59e8};this[_0x5e8549(0x16d)][_0x5e8549(0x21f)](_0xe3d2b9,_0x40a5bb),_0x36027f(()=>{const _0x3e7f5e=_0x5e8549,_0x1d0af0=this[_0x3e7f5e(0x1d2)][_0x3e7f5e(0x198)](_0x4e59e8,_0x135f4a=>(_0x1d0af0['dispose'](),_0x31690c(_0x135f4a,_0xe3d2b9,_0x5ee098,_0x4e59e8)));_0x301373[_0x3e7f5e(0x348)](_0x1d0af0);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1e862d(0x225)]((_0x18bf6c,_0x311921)=>{const _0x23badc=_0x1e862d,{range:_0x19ce05,sheetID:_0x551322}=_0x18bf6c,_0x2f9926=this[_0x23badc(0x1d2)][_0x23badc(0x198)](_0x19ce05,_0x503343=>(_0x2f9926[_0x23badc(0x279)](),_0x31690c(_0x503343,_0x311921,_0x551322,_0x19ce05)));_0x301373[_0x23badc(0x348)](_0x2f9926);});};this['disposeWithMe'](_0x5d3d6f(this[_0x59eb87(0x32e)][_0x59eb87(0x291)](()=>{_0x97ce4e();})));}['_toggleOnline'](){const _0x41193e=_0x10be63;var _0x529f64,_0x1a0109;if(this[_0x41193e(0x34f)]=!0x0,((_0x529f64=this[_0x41193e(0x2de)][_0x41193e(0x19b)]())==null?void 0x0:_0x529f64[_0x41193e(0x2c8)]())!==this[_0x41193e(0x1c4)])return;const _0x5790f8=(_0x1a0109=this[_0x41193e(0x18a)][_0x41193e(0x2c3)](_0x4e8cbc)[_0x41193e(0x187)]())==null?void 0x0:_0x1a0109[0x0],_0x2f2e7c=this['_univerInstanceService'][_0x41193e(0x2c4)](_0x52505e[_0x41193e(0x277)])[_0x41193e(0x265)]();_0x5790f8&&_0x2f2e7c&&this[_0x41193e(0x334)](_0x2f2e7c['getSheetId'](),_0x5790f8);}[_0x10be63(0x339)](){const _0x2e76d0=_0x10be63;this[_0x2e76d0(0x34f)]=!0x1;}};Me=mi([x(0x2,_0x190800(_0x1963a9)),x(0x3,_0x190800(ke)),x(0x4,_0x190800(_0x2d08ad)),x(0x5,_0x2d594b),x(0x6,_0x571ef4),x(0x7,_0x190800(_0x368bf8))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x3ee664,_0xc27e04,_0x4fe98a,_0x2887e3)=>{const _0x3d6fe9=_0x10be63;for(var _0x517a06=_0x2887e3>0x1?void 0x0:_0x2887e3?pi(_0xc27e04,_0x4fe98a):_0xc27e04,_0x59d434=_0x3ee664[_0x3d6fe9(0x2f6)]-0x1,_0x1ba2e9;_0x59d434>=0x0;_0x59d434--)(_0x1ba2e9=_0x3ee664[_0x59d434])&&(_0x517a06=_0x1ba2e9(_0x517a06)||_0x517a06);return _0x517a06;},Se=(_0x4b066e,_0x43d528)=>(_0x38e1f7,_0x9cc192)=>_0x43d528(_0x38e1f7,_0x9cc192,_0x4b066e);let H=class extends _0x1791bc{constructor(_0x11fa42,_0x40dae0,_0x518c68){const _0x30355f=_0x10be63;super(),_(this,'_entities',new Map()),_(this,_0x30355f(0x2a4),new _0x327260()),(this[_0x30355f(0x2de)]=_0x11fa42,this[_0x30355f(0x18a)]=_0x40dae0,this['_collabSessionService']=_0x518c68,this[_0x30355f(0x144)]());}[_0x10be63(0x279)](){const _0x89b7cb=_0x10be63;super['dispose'](),this[_0x89b7cb(0x2a4)]['complete'](),this[_0x89b7cb(0x14f)][_0x89b7cb(0x225)](_0x12035a=>_0x12035a[_0x89b7cb(0x279)]());}[_0x10be63(0x343)](_0x1bc49c){const _0x21d724=_0x10be63;return this[_0x21d724(0x14f)][_0x21d724(0x2b2)](_0x1bc49c)?this[_0x21d724(0x14f)][_0x21d724(0x2c3)](_0x1bc49c)[_0x21d724(0x219)]:this['_entityInit$'][_0x21d724(0x1d8)](_0x31e4f1(_0x5d489f=>_0x5d489f['unitID']===_0x1bc49c),_0x4cd47a(_0x2b1399=>_0x2b1399[_0x21d724(0x219)]));}['_init'](){const _0x2dc775=_0x10be63;this[_0x2dc775(0x2de)]['getTypeOfUnitAdded$'](_0x52505e[_0x2dc775(0x277)])[_0x2dc775(0x1d8)](_0x303377(this['dispose$']))[_0x2dc775(0x291)](async _0x2af82e=>{const _0x280df0=_0x2dc775,_0x10a3b8=_0x2af82e[_0x280df0(0x2c8)](),_0x536251=await this[_0x280df0(0x1bc)](_0x10a3b8);this[_0x280df0(0x2a4)][_0x280df0(0x2d3)](_0x536251),this[_0x280df0(0x14f)]['set'](_0x10a3b8,_0x536251);}),this[_0x2dc775(0x2de)][_0x2dc775(0x195)](_0x52505e['UNIVER_DOC'])[_0x2dc775(0x1d8)](_0x303377(this[_0x2dc775(0x150)]))[_0x2dc775(0x1d8)](_0x31e4f1(_0x3c23af=>!_0x3c23af[_0x2dc775(0x2c8)]()[_0x2dc775(0x178)]('__')))['subscribe'](async _0x59a6e5=>{const _0x105213=_0x2dc775,_0x3fe4b6=_0x59a6e5[_0x105213(0x2c8)](),_0x19fdee=await this[_0x105213(0x2d7)](_0x3fe4b6);this[_0x105213(0x2a4)][_0x105213(0x2d3)](_0x19fdee),this[_0x105213(0x14f)][_0x105213(0x21f)](_0x3fe4b6,_0x19fdee);}),_0x306837(this[_0x2dc775(0x2de)][_0x2dc775(0x27d)](_0x52505e[_0x2dc775(0x18e)]),this[_0x2dc775(0x2de)]['getTypeOfUnitDisposed$'](_0x52505e['UNIVER_SHEET']))['pipe'](_0x303377(this[_0x2dc775(0x150)]))[_0x2dc775(0x291)](_0x31cad7=>{const _0x1d3482=_0x2dc775,_0x4b25ac=_0x31cad7[_0x1d3482(0x2c8)](),_0x136309=this[_0x1d3482(0x14f)][_0x1d3482(0x2c3)](_0x4b25ac);_0x136309&&(_0x136309['dispose'](),this[_0x1d3482(0x14f)][_0x1d3482(0x315)](_0x4b25ac));});}async[_0x10be63(0x1bc)](_0x3f2928){const _0xc65552=_0x10be63,_0x5d8244=await this[_0xc65552(0x251)][_0xc65552(0x252)](_0x3f2928),_0xa2f16c=this[_0xc65552(0x18a)][_0xc65552(0x143)](Me,_0x3f2928,_0x5d8244);return _0xa2f16c[_0xc65552(0x1eb)](),_0xa2f16c;}async[_0x10be63(0x2d7)](_0x170cba){const _0x843da2=_0x10be63,_0x17ef82=await this[_0x843da2(0x251)]['requireSession'](_0x170cba),_0x2ad0ad=this[_0x843da2(0x18a)][_0x843da2(0x143)](Ue,_0x170cba,_0x17ef82);return _0x2ad0ad[_0x843da2(0x1eb)](),_0x2ad0ad;}};H=Ci([Se(0x0,_0x2d594b),Se(0x1,_0x190800(_0x1963a9)),Se(0x2,_0x190800(_0x58f285))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3c7938,_0x5e8758){const _0x253b95=_0x10be63;let {radius:_0x54ad09,width:_0x1224c7,height:_0x1a64c6}=_0x5e8758;_0x54ad09=_0x54ad09!=null?_0x54ad09:0x0,_0x1224c7=_0x1224c7!=null?_0x1224c7:0x1e,_0x1a64c6=_0x1a64c6!=null?_0x1a64c6:0x1e;let _0xfb4572=0x0,_0x5cf6e6=0x0,_0x5473da=0x0;_0xfb4572=_0x5cf6e6=_0x5473da=Math[_0x253b95(0x325)](_0x54ad09,_0x1224c7/0x2,_0x1a64c6/0x2),_0x3c7938[_0x253b95(0x2da)](),_0x3c7938['moveTo'](_0xfb4572,0x0),_0x3c7938[_0x253b95(0x2ff)](_0x1224c7-_0x5cf6e6,0x0),_0x3c7938[_0x253b95(0x2f8)](_0x1224c7-_0x5cf6e6,_0x5cf6e6,_0x5cf6e6,Math['PI']*0x3/0x2,0x0,!0x1),_0x3c7938[_0x253b95(0x2ff)](_0x1224c7,_0x1a64c6-_0x5473da),_0x3c7938[_0x253b95(0x2f8)](_0x1224c7-_0x5473da,_0x1a64c6-_0x5473da,_0x5473da,0x0,Math['PI']/0x2,!0x1),_0x3c7938[_0x253b95(0x2ff)](0x0,_0x1a64c6),_0x3c7938[_0x253b95(0x2ff)](0x0,_0xfb4572),_0x3c7938['arc'](_0xfb4572,_0xfb4572,_0xfb4572,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3c7938['closePath'](),_0x5e8758[_0x253b95(0x2f1)]&&(_0x3c7938[_0x253b95(0x2af)](),_0x3c7938[_0x253b95(0x1e9)]=_0x5e8758[_0x253b95(0x2f1)],_0x5e8758[_0x253b95(0x289)]===_0x253b95(0x1dd)?_0x3c7938['fill'](_0x253b95(0x1dd)):_0x3c7938[_0x253b95(0x2f1)](),_0x3c7938['restore']());}class he extends _0x41793a{constructor(_0x430c2d,_0x5c1ee2){const _0x135332=_0x10be63;super(_0x430c2d,_0x5c1ee2),_(this,'color'),_(this,_0x135332(0x29e)),(this[_0x135332(0x2f4)]=_0x5c1ee2==null?void 0x0:_0x5c1ee2[_0x135332(0x2f4)],this[_0x135332(0x29e)]=_0x5c1ee2==null?void 0x0:_0x5c1ee2[_0x135332(0x29e)]);}static['drawWith'](_0x41b886,_0x4f11f6){const _0x671d0e=_0x10be63,{text:_0x516870,color:_0x17a0dc}=_0x4f11f6;_0x41b886['save'](),_0x41b886['font']=_0x671d0e(0x23e);const _0xc655ac=_0x41b886[_0x671d0e(0x23a)](_0x516870)[_0x671d0e(0x2c0)],_0x50854a=Math['min'](_0xc655ac+0x2*me,Qe);Oi(_0x41b886,{'height':ee,'radius':0x4,'width':_0x50854a,'fill':_0x17a0dc}),_0x41b886[_0x671d0e(0x1e9)]=_0x671d0e(0x192);const _0x1b358d=me,_0x40f19d=ee-Ei,_0xb5a6d5=Qe-0x2*me;if(_0xc655ac>_0xb5a6d5){let _0x3953c0='',_0x4733df=0x0;for(const _0xecce81 of _0x516870){const _0x275260=_0x41b886[_0x671d0e(0x23a)](_0xecce81)['width'];if(_0x4733df+_0x275260<=_0xb5a6d5-_0x41b886[_0x671d0e(0x23a)]('...')[_0x671d0e(0x2c0)])_0x3953c0+=_0xecce81,_0x4733df+=_0x275260;else{_0x3953c0+=_0x671d0e(0x197);break;}}_0x41b886['fillText'](_0x3953c0,_0x1b358d,_0x40f19d);}else _0x41b886[_0x671d0e(0x1af)](_0x516870,_0x1b358d,_0x40f19d);_0x41b886[_0x671d0e(0x2d8)]();}['_draw'](_0x26cd79){const _0x5f481d=_0x10be63;he[_0x5f481d(0x1f9)](_0x26cd79,this);}}const Ie='collab-text-anchor-',bi=_0x10be63(0x2bb),Ti=_0x10be63(0x1e8),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x10be63(0x220);class qe{constructor(_0x1afce7,_0x5b3342,_0x3ecf69,_0x2e1753){const _0x138758=_0x10be63;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x138758(0x2f7),null),_(this,_0x138758(0x17d),null),_(this,'_hideTimer',null),_(this,_0x138758(0x314),null),(this[_0x138758(0x1e7)]=_0x1afce7,this[_0x138758(0x24d)]=_0x5b3342,this[_0x138758(0x145)]=_0x3ecf69,this[_0x138758(0x156)]=_0x2e1753,this[_0x138758(0x14c)]());}set['_hover'](_0x33fb71){const _0x537f06=_0x10be63;_0x33fb71?(this[_0x537f06(0x17d)]&&this['_anchorDot'][_0x537f06(0x26b)](),this['_textBubble']&&this[_0x537f06(0x2f7)][_0x537f06(0x253)]()):(this['_anchorDot']&&this['_anchorDot'][_0x537f06(0x253)](),this[_0x537f06(0x2f7)]&&this[_0x537f06(0x2f7)][_0x537f06(0x26b)]());}[_0x10be63(0x279)](){const _0x420141=_0x10be63;for(const _0x26d11d of this[_0x420141(0x1bb)])_0x26d11d['dispose']();this['_textBubble']&&this['_textBubble'][_0x420141(0x279)](),this['_anchorDot']&&this[_0x420141(0x17d)][_0x420141(0x279)](),this['_anchor']&&this[_0x420141(0x299)][_0x420141(0x279)](),this[_0x420141(0x314)]&&this[_0x420141(0x314)]();}['_render'](){const _0x526050=_0x10be63;var _0x289711;const {_docSkeleton:_0x562e48,_document:_0x448e36}=this,{color:_0x7f106,name:_0x51b4b1,ranges:_0xeb3daa}=this[_0x526050(0x1e7)],_0x3b9a1c=_0x448e36[_0x526050(0x335)](),{docsLeft:_0x363d9f,docsTop:_0x37e733}=_0x3b9a1c,_0x4a800b=new _0x2ede96(_0x3b9a1c,_0x562e48);for(const {startOffset:_0x32a027,endOffset:_0x3541d3,rangeType:_0x183656,segmentId:_0x28bd48,segmentPage:_0x4dcc0b,collapsed:_0x724508,isActive:_0x56b02f}of _0xeb3daa){const _0x57ebfd=_0x562e48[_0x526050(0x2f9)](_0x32a027,!0x0,_0x28bd48,_0x4dcc0b);let _0x498387=_0x562e48['findNodePositionByCharIndex'](_0x3541d3,!0x0,_0x28bd48,_0x4dcc0b);if(_0x498387==null&&(_0x498387=_0x562e48['findNodePositionByCharIndex'](_0x3541d3-0x1,!0x1,_0x28bd48,_0x4dcc0b)),_0x56b02f){const {contentBoxPointGroup:_0x2d8d5c}=_0x4a800b[_0x526050(0x297)](_0x498387,_0x498387);if(_0x2d8d5c[_0x526050(0x2f6)]===0x0)continue;this['_drawAnchor'](_0x7f106,_0x2d8d5c,_0x363d9f,_0x37e733,_0x51b4b1),this[_0x526050(0x314)]=this[_0x526050(0x328)]();}if(_0x57ebfd&&_0x498387){if(_0x183656===_0x2de3e1[_0x526050(0x181)]){const _0x4febff=new _0x7c1597(_0x3b9a1c,_0x562e48),{pointGroup:_0x330a39}=(_0x289711=_0x4febff['getRangePointData'](_0x57ebfd,_0x498387))!=null?_0x289711:{};if(_0x330a39==null||_0x330a39['length']===0x0)continue;this['_drawRectRange'](_0x7f106,_0x330a39,_0x363d9f,_0x37e733);}else{if(!_0x724508){const {borderBoxPointGroup:_0x158d06}=_0x4a800b['getRangePointData'](_0x57ebfd,_0x498387);if(_0x158d06[_0x526050(0x2f6)]===0x0)continue;this[_0x526050(0x17c)](_0x7f106,_0x158d06,_0x363d9f,_0x37e733);}}}}}[_0x10be63(0x1d1)](_0x47e5dc,_0x28f9ae,_0x458447,_0x375f79,_0x22ac4b){const _0x3a79ba=_0x10be63,_0xe6b218=this[_0x3a79ba(0x18b)](_0x28f9ae),{left:_0x699656,top:_0x13d2c5,height:_0x1ce2b1}=_0xe6b218,_0x421e7f=this[_0x3a79ba(0x15b)](),_0x422610=Di/_0x421e7f,_0x5600d9=new _0x1e15b1(Ie+_0x4ec199[_0x3a79ba(0x2e6)](X),{'left':_0x699656+_0x458447-_0x422610,'top':_0x13d2c5+_0x375f79,'height':_0x1ce2b1,'width':Ri,'fill':_0x47e5dc||_0x1be4a8(_0x7292e0['black'],0x0),'strokeWidth':_0x422610,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x5600d9,this[_0x3a79ba(0x24d)]['addObject'](_0x5600d9,_0x5af4b0);const _0x12fd47=new _0x1e15b1(Ie+_0x4ec199[_0x3a79ba(0x2e6)](X),{'left':_0x699656+_0x458447-_0x422610,'top':_0x13d2c5+_0x375f79-ge/0x2,'height':ge,'width':ge,'fill':_0x47e5dc||_0x1be4a8(_0x7292e0['black'],0x0),'strokeWidth':0x0,'stroke':_0x47e5dc||_0x1be4a8(_0x7292e0[_0x3a79ba(0x196)],0x0),'evented':!0x1});this['_anchorDot']=_0x12fd47,this[_0x3a79ba(0x24d)][_0x3a79ba(0x1d7)](_0x12fd47,_0x5af4b0);const _0x26aee7=new he(Ie+_0x4ec199[_0x3a79ba(0x2e6)](X),{'left':_0x699656+_0x458447-_0x422610,'top':_0x13d2c5+_0x375f79-ee,'text':_0x22ac4b,'color':_0x47e5dc});this['_textBubble']=_0x26aee7,this['_scene'][_0x3a79ba(0x1d7)](_0x26aee7,_0x5af4b0),this['_hover']=!0x1;}[_0x10be63(0x328)](){const _0x383062=_0x10be63,_0x53d446=this[_0x383062(0x299)][_0x383062(0x2d9)][_0x383062(0x349)](()=>{this['_hover']=!0x0;}),_0x52f3b8=this[_0x383062(0x299)][_0x383062(0x26e)]['subscribeEvent'](()=>{const _0x2d1e9f=_0x383062;this['_hideTimer']&&clearTimeout(this[_0x2d1e9f(0x27a)]),this[_0x2d1e9f(0x27a)]=setTimeout(()=>{const _0x3449c4=_0x2d1e9f;this[_0x3449c4(0x2b8)]=!0x1;},0x7d0);});return()=>{const _0x119ca8=_0x383062;_0x53d446[_0x119ca8(0x18f)](),_0x52f3b8['unsubscribe']();};}[_0x10be63(0x17c)](_0x494302,_0x57038c,_0x3286e5,_0x5f462d){const _0x1768f4=_0x10be63,_0x5cf98d=new _0x351621(_0x494302)['setAlpha'](0.2)[_0x1768f4(0x350)](),_0x112871=new _0x4b5096(bi+_0x4ec199['generateRandomId'](X),{'pointsGroup':_0x57038c,'fill':_0x5cf98d||_0x1be4a8(_0x7292e0[_0x1768f4(0x196)],0.2),'left':_0x3286e5,'top':_0x5f462d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1768f4(0x1bb)][_0x1768f4(0x1cb)](_0x112871),this[_0x1768f4(0x24d)]['addObject'](_0x112871,_0x5af4b0);}[_0x10be63(0x351)](_0x32555a,_0x2c1f89,_0x3f6f6b,_0xff817a){const _0x29fb66=_0x10be63,_0x30fe86=new _0x351621(_0x32555a)['setAlpha'](0.2)[_0x29fb66(0x350)](),_0x1d15b8=new _0x4b5096(Ti+_0x4ec199['generateRandomId'](X),{'pointsGroup':_0x2c1f89,'fill':_0x30fe86||_0x1be4a8(_0x7292e0[_0x29fb66(0x196)],0.2),'left':_0x3f6f6b,'top':_0xff817a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x29fb66(0x1bb)]['push'](_0x1d15b8),this['_scene'][_0x29fb66(0x1d7)](_0x1d15b8,_0x5af4b0);}['_getAnchorBounding'](_0x402751){const _0x40de81=_0x402751[0x0],_0x3c8133=_0x40de81[0x0],_0x3eb55e=_0x40de81[0x2],{x:_0x28ff43,y:_0x4face7}=_0x3c8133,{x:_0x22951f,y:_0x50b087}=_0x3eb55e;return{'left':_0x28ff43,'top':_0x4face7,'width':_0x22951f-_0x28ff43,'height':_0x50b087-_0x4face7};}[_0x10be63(0x15b)](){const _0x1674c6=_0x10be63,{scaleX:_0x528978,scaleY:_0x243365}=this[_0x1674c6(0x24d)][_0x1674c6(0x2ab)]();return Math[_0x1674c6(0x2d4)](_0x528978,_0x243365);}}var Ui=Object[_0x10be63(0x228)],Mi=(_0x287ea6,_0x5d9114,_0x1db5f3,_0x1a58e7)=>{const _0x454cd2=_0x10be63;for(var _0x372478=_0x1a58e7>0x1?void 0x0:_0x1a58e7?Ui(_0x5d9114,_0x1db5f3):_0x5d9114,_0x4bd0dd=_0x287ea6[_0x454cd2(0x2f6)]-0x1,_0x1c1909;_0x4bd0dd>=0x0;_0x4bd0dd--)(_0x1c1909=_0x287ea6[_0x4bd0dd])&&(_0x372478=_0x1c1909(_0x372478)||_0x372478);return _0x372478;},Z=(_0x58f391,_0x143c9e)=>(_0x1fffd0,_0x3d7fa7)=>_0x143c9e(_0x1fffd0,_0x3d7fa7,_0x58f391);let Le=class extends _0x1791bc{constructor(_0x38a4d5,_0x253813,_0x3bf2a9,_0x316688,_0x41b8da){const _0x4d6c73=_0x10be63;super(),_(this,_0x4d6c73(0x31a),[]),_(this,'_cursors',[]),(this['_context']=_0x38a4d5,this[_0x4d6c73(0x25f)]=_0x253813,this[_0x4d6c73(0x188)]=_0x3bf2a9,this[_0x4d6c73(0x1e5)]=_0x316688,this['_themeService']=_0x41b8da,this['_init']());}['_init'](){const _0x366162=_0x10be63,_0x1c0f93=this[_0x366162(0x2ac)][_0x366162(0x17b)],_0x844156=this[_0x366162(0x25f)];this[_0x366162(0x2fc)](_0x2a6169([this[_0x366162(0x188)][_0x366162(0x343)](_0x1c0f93),this[_0x366162(0x341)]['currentTheme$']])['pipe'](_0x13ac8f(([_0x3c02cf,_0x59df3e])=>({'skeleton':_0x844156[_0x366162(0x1a4)](),'cursors':[..._0x3c02cf['values']()]['flatMap'](_0x38e9bc=>({..._0x38e9bc,'color':this['_themeService'][_0x366162(0x164)](_0x38e9bc['color'])}))})))[_0x366162(0x291)](_0x374d88=>{const _0x30517c=_0x366162;if(this[_0x30517c(0x33f)](),_0x374d88){const {skeleton:_0x4a5428,cursors:_0x328379}=_0x374d88;this[_0x30517c(0x182)](_0x4a5428,_0x328379);}})),this[_0x366162(0x19d)](),this[_0x366162(0x323)]();}[_0x10be63(0x182)](_0x10ea96,_0x1a7f40){const _0x5daeb4=_0x10be63,{scene:_0x3f1441,mainComponent:_0x286e9f}=this[_0x5daeb4(0x2ac)],_0x3603b0=_0x1a7f40[_0x5daeb4(0x311)](_0x32098d=>new qe(_0x32098d,_0x3f1441,_0x10ea96,_0x286e9f));this[_0x5daeb4(0x31a)]=_0x3603b0,this['_cursors']=_0x1a7f40;}[_0x10be63(0x174)](){const _0x3a6a5d=_0x10be63;this[_0x3a6a5d(0x33f)]();const {scene:_0x576fb3,mainComponent:_0x28a19}=this['_context'],_0x30f9fb=this[_0x3a6a5d(0x25f)]['getSkeleton'](),_0x1cb050=this[_0x3a6a5d(0x165)][_0x3a6a5d(0x311)](_0x2fa369=>new qe(_0x2fa369,_0x576fb3,_0x30f9fb,_0x28a19));this['_cursorShapes']=_0x1cb050;}[_0x10be63(0x33f)](){const _0x5cc8cd=_0x10be63;this['_cursorShapes'][_0x5cc8cd(0x225)](_0x5df866=>_0x5df866[_0x5cc8cd(0x279)]()),this['_cursorShapes']=[];}[_0x10be63(0x323)](){const _0x50464a=_0x10be63,_0x11e048=[_0x40032f['id']];this[_0x50464a(0x2fc)](this[_0x50464a(0x1e5)][_0x50464a(0x236)](_0x20f9a3=>{const _0xaa991e=_0x50464a;_0x11e048[_0xaa991e(0x294)](_0x20f9a3['id'])&&_0x20f9a3['params'][_0xaa991e(0x17b)]===this[_0xaa991e(0x2ac)][_0xaa991e(0x17b)]&&this[_0xaa991e(0x174)]();}));}['_initResize'](){const _0x497f6d=_0x10be63;this[_0x497f6d(0x2fc)](_0x1de04a(this[_0x497f6d(0x2ac)]['engine'][_0x497f6d(0x23b)])[_0x497f6d(0x1d8)](_0x504416(_0x272090=>_0x272090[_0x497f6d(0x31e)]===_0x38d2ae[_0x497f6d(0x32c)]),_0x3c9543(0x10))[_0x497f6d(0x291)](()=>{const _0x582c0c=_0x497f6d;this[_0x582c0c(0x174)]();}));}};Le=Mi([Z(0x1,_0x190800(_0x2d382c)),Z(0x2,_0x190800(H)),Z(0x3,_0x571ef4),Z(0x4,_0x190800(_0x12af7d))],Le);const Li=0x1,Pi=1.5;class wi extends _0x41793a{constructor(_0x13ea44,_0x18e0f1){const _0x438484=_0x10be63;super(_0x13ea44,_0x18e0f1),_(this,_0x438484(0x32d)),_(this,_0x438484(0x1b8),!0x1),_(this,_0x438484(0x179)),_(this,_0x438484(0x29c),''),_(this,_0x438484(0x290),_0x438484(0x1f0)),_(this,'_backgroundColor'),(_0x18e0f1&&this[_0x438484(0x215)](_0x18e0f1),this[_0x438484(0x2d9)][_0x438484(0x349)](()=>this[_0x438484(0x215)]({'hovered':!0x0})),this['onPointerLeave$'][_0x438484(0x349)](()=>this[_0x438484(0x215)]({'hovered':!0x1})));}[_0x10be63(0x215)](_0x4456a6){const _0x478249=_0x10be63;var _0x47a929,_0x337131,_0x5f09c6,_0x2ff952,_0x46c7bd,_0x18e1b3;this[_0x478249(0x32d)]=(_0x47a929=_0x4456a6['color'])!=null?_0x47a929:this[_0x478249(0x32d)],this[_0x478249(0x1b8)]=(_0x337131=_0x4456a6[_0x478249(0x301)])!=null?_0x337131:this['_hovered'],this[_0x478249(0x179)]=(_0x5f09c6=_0x4456a6[_0x478249(0x26c)])!=null?_0x5f09c6:this[_0x478249(0x179)],this[_0x478249(0x29c)]=(_0x2ff952=_0x4456a6[_0x478249(0x281)])!=null?_0x2ff952:this[_0x478249(0x29c)],this[_0x478249(0x290)]=(_0x46c7bd=_0x4456a6[_0x478249(0x21a)])!=null?_0x46c7bd:this[_0x478249(0x290)],this[_0x478249(0x1b1)]=(_0x18e1b3=_0x4456a6[_0x478249(0x2a1)])!=null?_0x18e1b3:this['_backgroundColor'],this['transformByState']({'width':_0x4456a6['width'],'height':_0x4456a6[_0x478249(0x331)]});}[_0x10be63(0x151)](_0x3a66a2){const _0x1255a4=_0x10be63,{row:_0x502eb8,column:_0x25c2ea}=_0x3a66a2;if(_0x502eb8>=this[_0x1255a4(0x179)][_0x1255a4(0x1b7)]&&_0x502eb8<=this[_0x1255a4(0x179)][_0x1255a4(0x33d)]&&_0x25c2ea>=this[_0x1255a4(0x179)][_0x1255a4(0x17a)]&&_0x25c2ea<=this[_0x1255a4(0x179)]['endColumn']){this[_0x1255a4(0x215)]({'hovered':!0x0});return;}this[_0x1255a4(0x215)]({'hovered':!0x1});}[_0x10be63(0x203)](_0x1f796a){return!0x1;}[_0x10be63(0x344)](_0x5ea29e){const _0x184f2b=_0x10be63;_0x1e15b1[_0x184f2b(0x1f9)](_0x5ea29e,{'width':this[_0x184f2b(0x2c0)],'height':this[_0x184f2b(0x331)],'strokeWidth':Pi,'stroke':this[_0x184f2b(0x32d)],'evented':!0x1,'fill':this[_0x184f2b(0x1b1)]}),this[_0x184f2b(0x1b8)]&&(_0x5ea29e[_0x184f2b(0x2af)](),_0x5ea29e[_0x184f2b(0x2cb)](0x1,0x0,0x0,0x1,this[_0x184f2b(0x2c0)],this['_labelPosition']===_0x184f2b(0x257)?0x0:-0x14),he[_0x184f2b(0x1f9)](_0x5ea29e,{'text':this[_0x184f2b(0x29c)],'color':this[_0x184f2b(0x32d)]}),_0x5ea29e[_0x184f2b(0x2d8)]());}}var Ai=Object[_0x10be63(0x228)],yi=(_0x293b91,_0x1be763,_0xc4b558,_0x370ffb)=>{const _0x57d97a=_0x10be63;for(var _0x2a4b25=_0x370ffb>0x1?void 0x0:_0x370ffb?Ai(_0x1be763,_0xc4b558):_0x1be763,_0x5629b7=_0x293b91[_0x57d97a(0x2f6)]-0x1,_0x213d49;_0x5629b7>=0x0;_0x5629b7--)(_0x213d49=_0x293b91[_0x5629b7])&&(_0x2a4b25=_0x213d49(_0x2a4b25)||_0x2a4b25);return _0x2a4b25;},ve=(_0xf6dc78,_0x2e8382)=>(_0x58187d,_0x48df17)=>_0x2e8382(_0x58187d,_0x48df17,_0xf6dc78);const $i=0x1389;let Pe=class extends _0x1791bc{constructor(_0x3dc332,_0x35ee8b,_0x19e20a,_0xf4b972){const _0x20993e=_0x10be63;super(),_(this,_0x20993e(0x165),new Set()),_(this,_0x20993e(0x1a9),null),(this['_context']=_0x3dc332,this[_0x20993e(0x1ad)]=_0x35ee8b,this[_0x20993e(0x188)]=_0x19e20a,this[_0x20993e(0x341)]=_0xf4b972,this[_0x20993e(0x144)]());}['_init'](){const _0xe8b52e=_0x10be63;this[_0xe8b52e(0x1ad)]['currentSkeleton$'][_0xe8b52e(0x1d8)](_0x4a43f7(this[_0xe8b52e(0x150)]),_0x193b6a(_0x5d0e21=>{const _0x90f2ff=_0xe8b52e;if(_0x5d0e21){const _0x4cbdb1=_0x5d0e21[_0x90f2ff(0x153)];return _0x2a6169(this[_0x90f2ff(0x188)][_0x90f2ff(0x343)](this[_0x90f2ff(0x2ac)][_0x90f2ff(0x17b)]),this[_0x90f2ff(0x341)]['currentTheme$'])[_0x90f2ff(0x1d8)](_0x13ac8f(([_0x16043d,_0x4a0c26])=>{const _0x1c1673=_0x90f2ff,_0xec610a=new Map();return _0x16043d[_0x1c1673(0x225)]((_0x26d2f7,_0x33ce5c)=>{const _0x3aab96=_0x1c1673;if(_0x26d2f7[_0x3aab96(0x157)]===_0x4cbdb1){const _0x20fd06={..._0x26d2f7};_0x20fd06[_0x3aab96(0x2f4)]=this[_0x3aab96(0x341)][_0x3aab96(0x164)](_0x26d2f7['color']),_0xec610a[_0x3aab96(0x21f)](_0x33ce5c,_0x20fd06);}}),{'skeleton':_0x5d0e21,'cursors':_0xec610a};}));}return _0x390728({'skeleton':null,'cursors':new Map()});}))[_0xe8b52e(0x291)](({skeleton:_0x4855cb,cursors:_0x5d263a})=>{this['_removeCollabCursors'](),_0x4855cb&&this['_updateCollabCursors'](_0x4855cb,_0x5d263a);}),this[_0xe8b52e(0x1ad)]['currentSkeleton$'][_0xe8b52e(0x291)](_0x153726=>{const _0x5867fe=_0xe8b52e;if(_0x153726==null)return;const {skeleton:_0x3a4128}=_0x153726,{scene:_0xf63c95}=this[_0x5867fe(0x2ac)];_0xf63c95[_0x5867fe(0x24b)][_0x5867fe(0x349)](_0x36d929(_0x2dd1f2=>{const _0x1d66e1=_0x5867fe;var _0x28a98a,_0x2c444d;const {offsetX:_0x17ed5d,offsetY:_0xbf0f96}=_0x2dd1f2,{x:_0x32578c,y:_0x23823c}=_0xf63c95[_0x1d66e1(0x1b5)](_0x3d7e1[_0x1d66e1(0x201)]([_0x17ed5d,_0xbf0f96])),{scaleX:_0x52cc53,scaleY:_0x2b7efd}=_0xf63c95[_0x1d66e1(0x2ab)](),_0x317d0b=_0xf63c95[_0x1d66e1(0x221)](_0x7bed25[_0x1d66e1(0x230)]),_0x1c62b3=_0xf63c95[_0x1d66e1(0x20c)](_0x3d7e1['FromArray']([_0x32578c,_0x23823c]),_0x317d0b),_0x585f7d=_0x3a4128['getCellPositionByOffset'](_0x17ed5d,_0xbf0f96,_0x52cc53,_0x2b7efd,_0x1c62b3);((_0x28a98a=this[_0x1d66e1(0x1a9)])==null?void 0x0:_0x28a98a[_0x1d66e1(0x2cd)])===_0x585f7d[_0x1d66e1(0x2cd)]&&((_0x2c444d=this['_lastPointer'])==null?void 0x0:_0x2c444d[_0x1d66e1(0x1e4)])===_0x585f7d[_0x1d66e1(0x1e4)]||this['_cursors'][_0x1d66e1(0x225)](_0x2f88db=>{const _0x19f76d=_0x1d66e1;_0x2f88db[_0x19f76d(0x151)](_0x585f7d);});},0x64));});}[_0x10be63(0x182)](_0x32b826,_0x31b8f8){const _0x1037bf=_0x10be63;var _0x1c16b8;const _0x1b69ed=(_0x1c16b8=this[_0x1037bf(0x1ad)][_0x1037bf(0x237)]())==null?void 0x0:_0x1c16b8[_0x1037bf(0x319)];if(!_0x1b69ed)return;const _0x3d2acc=this[_0x1037bf(0x2fa)]();if(!_0x3d2acc)return;this[_0x1037bf(0x165)][_0x1037bf(0x225)](_0x4bb747=>{_0x4bb747['makeDirty']();});const {scene:_0x2dea89}=_0x3d2acc,_0x3ab628=xi(Array['from'](_0x31b8f8['values']()))[_0x1037bf(0x311)](_0x47d566=>{const {color:_0x3efa06,range:_0x54d012,name:_0x14df96,selection:_0x4a26f6,sheetID:_0x5b0b3c}=_0x47d566,{startColumn:_0x50ba07,startRow:_0xc2e67c,endColumn:_0x21ad0f,endRow:_0x150e3c}=_0x54d012,_0x210d0a=_0x44867f(_0xc2e67c,_0x50ba07,_0x2dea89,_0x1b69ed),_0x2dc89a=_0x44867f(_0x150e3c,_0x21ad0f,_0x2dea89,_0x1b69ed),{columnHeaderHeightAndMarginTop:_0x341d69}=_0x1b69ed,{startX:_0x4d423e,startY:_0x54821a}=_0x210d0a,{endX:_0x4c8da6,endY:_0x1a576b}=_0x2dc89a,_0x1b54f1=_0x4c8da6-_0x4d423e,_0x2527b8=_0x1a576b-_0x54821a,_0x58a16c={'labelPosition':_0x54821a-_0x341d69>=ee?'top':'bottom','sheetID':_0x5b0b3c,'range':_0x54d012,'color':_0x3efa06,'name':_0x14df96,'selection':_0x4a26f6,'left':_0x4d423e,'top':_0x54821a,'width':_0x1b54f1,'height':_0x2527b8,'evented':!0x1,'zIndex':$i};return new wi(_0x14df96,_0x58a16c);});_0x2dea89[_0x1037bf(0x1fa)](_0x3ab628,Li),this[_0x1037bf(0x165)]=new Set(_0x3ab628);}[_0x10be63(0x33f)](){const _0x48030a=_0x10be63;var _0x2c1690;(_0x2c1690=this[_0x48030a(0x165)])==null||_0x2c1690[_0x48030a(0x225)](_0x55f34d=>_0x55f34d['dispose']());}[_0x10be63(0x2fa)](){const _0x3314db=_0x10be63;return _0x33c51e(this[_0x3314db(0x2ac)][_0x3314db(0x1ff)],this[_0x3314db(0x2ac)]);}};Pe=yi([ve(0x1,_0x190800(_0x397094)),ve(0x2,_0x190800(H)),ve(0x3,_0x190800(_0x12af7d))],Pe);function xi(_0x1e9da9){const _0x4403da=_0x10be63,_0x314ff4=new Map();return _0x1e9da9[_0x4403da(0x225)](_0x370d93=>{const _0x49d85e=_0x4403da;if(_0x314ff4[_0x49d85e(0x2b2)](_0x370d93['selection'])){const _0x4892ab=_0x314ff4[_0x49d85e(0x2c3)](_0x370d93['selection']);_0x4892ab[_0x49d85e(0x281)]+=',\x20'+_0x370d93[_0x49d85e(0x281)];}else _0x314ff4['set'](_0x370d93[_0x49d85e(0x2a6)],_0x370d93);}),Array['from'](_0x314ff4[_0x4403da(0x1ec)]());}var v=function(){const _0x12ad77=_0x10be63;return v=Object[_0x12ad77(0x288)]||function(_0x1bad88){const _0x3fb93f=_0x12ad77;for(var _0x383a6d,_0x29455e=0x1,_0x374d69=arguments[_0x3fb93f(0x2f6)];_0x29455e<_0x374d69;_0x29455e++){_0x383a6d=arguments[_0x29455e];for(var _0x2c29f9 in _0x383a6d)Object['prototype'][_0x3fb93f(0x306)][_0x3fb93f(0x21e)](_0x383a6d,_0x2c29f9)&&(_0x1bad88[_0x2c29f9]=_0x383a6d[_0x2c29f9]);}return _0x1bad88;},v[_0x12ad77(0x267)](this,arguments);},Bi=function(_0x5fa1f9,_0x57f887){const _0x53e78c=_0x10be63;var _0x28fe15={};for(var _0x30d496 in _0x5fa1f9)Object['prototype'][_0x53e78c(0x306)][_0x53e78c(0x21e)](_0x5fa1f9,_0x30d496)&&_0x57f887[_0x53e78c(0x1d4)](_0x30d496)<0x0&&(_0x28fe15[_0x30d496]=_0x5fa1f9[_0x30d496]);if(_0x5fa1f9!=null&&typeof Object[_0x53e78c(0x16a)]==_0x53e78c(0x193)){for(var _0x487413=0x0,_0x30d496=Object[_0x53e78c(0x16a)](_0x5fa1f9);_0x487413<_0x30d496['length'];_0x487413++)_0x57f887[_0x53e78c(0x1d4)](_0x30d496[_0x487413])<0x0&&Object[_0x53e78c(0x263)][_0x53e78c(0x316)][_0x53e78c(0x21e)](_0x5fa1f9,_0x30d496[_0x487413])&&(_0x28fe15[_0x30d496[_0x487413]]=_0x5fa1f9[_0x30d496[_0x487413]]);}return _0x28fe15;},Fe=_0x3e3769(function(_0xd3ec07,_0x422474){const _0x39ee6b=_0x10be63;var _0x24ed52=_0xd3ec07[_0x39ee6b(0x26a)],_0x1eb895=_0xd3ec07['id'],_0x21fe41=_0xd3ec07[_0x39ee6b(0x2b6)],_0xd7f831=_0xd3ec07['extend'],_0x2489df=Bi(_0xd3ec07,[_0x39ee6b(0x26a),'id','className','extend']),_0x5c03e0=_0x39ee6b(0x18d)[_0x39ee6b(0x2dd)](_0x1eb895,'\x20')[_0x39ee6b(0x2dd)](_0x21fe41||'')['trim'](),_0x59b566=_0xc483ca('_'[_0x39ee6b(0x2dd)](Fi()));return Rt(_0x24ed52,''[_0x39ee6b(0x2dd)](_0x1eb895),{'defIds':_0x24ed52['defIds'],'idSuffix':_0x59b566['current']},v({'ref':_0x422474,'className':_0x5c03e0},_0x2489df),_0xd7f831);});function _0x3955(_0x2c5de0,_0x1ab3fc){const _0x5e6729=_0x5e67();return _0x3955=function(_0x3955f6,_0x477290){_0x3955f6=_0x3955f6-0x140;let _0x3f6296=_0x5e6729[_0x3955f6];return _0x3f6296;},_0x3955(_0x2c5de0,_0x1ab3fc);}function Rt(_0x53033f,_0x23e34d,_0x32c08e,_0x255bcf,_0x14ea20){const _0x312c96=_0x10be63;return _0x4ee4af(_0x53033f[_0x312c96(0x210)],v(v({'key':_0x23e34d},ki(_0x53033f,_0x32c08e,_0x14ea20)),_0x255bcf),(Hi(_0x53033f,_0x32c08e)[_0x312c96(0x1ca)]||[])[_0x312c96(0x311)](function(_0x576341,_0x4c1026){const _0x3d3e08=_0x312c96;return Rt(_0x576341,''[_0x3d3e08(0x2dd)](_0x23e34d,'-')['concat'](_0x53033f[_0x3d3e08(0x210)],'-')['concat'](_0x4c1026),_0x32c08e,void 0x0,_0x14ea20);}));}function ki(_0x3f5069,_0x33b14f,_0x5eff77){const _0x236a37=_0x10be63;var _0x4d7b68=v({},_0x3f5069[_0x236a37(0x185)]);_0x5eff77!=null&&_0x5eff77[_0x236a37(0x337)]&&_0x4d7b68[_0x236a37(0x2f1)]===_0x236a37(0x337)&&(_0x4d7b68[_0x236a37(0x2f1)]=_0x5eff77['colorChannel1']),_0x3f5069['tag']===_0x236a37(0x1ba)&&_0x4d7b68['id']&&(_0x4d7b68['id']=_0x4d7b68['id']+_0x33b14f[_0x236a37(0x28f)]),Object[_0x236a37(0x261)](_0x4d7b68)[_0x236a37(0x225)](function(_0xd933ee){const _0x15b493=_0x236a37;var _0x5e8f20=_0xd933ee[0x0],_0x34aa62=_0xd933ee[0x1];_0x5e8f20===_0x15b493(0x1ba)&&typeof _0x34aa62=='string'&&(_0x4d7b68[_0x5e8f20]=_0x34aa62[_0x15b493(0x238)](/url\(#(.*)\)/,_0x15b493(0x34d)[_0x15b493(0x2dd)](_0x33b14f[_0x15b493(0x28f)],')')));});var _0x2bc4f5=_0x33b14f[_0x236a37(0x240)];return!_0x2bc4f5||_0x2bc4f5['length']===0x0||(_0x3f5069[_0x236a37(0x210)]===_0x236a37(0x20d)&&_0x4d7b68[_0x236a37(0x324)]&&(_0x4d7b68[_0x236a37(0x324)]=_0x4d7b68['xlink:href']+_0x33b14f[_0x236a37(0x28f)]),Object[_0x236a37(0x261)](_0x4d7b68)[_0x236a37(0x225)](function(_0x4c52d8){const _0xb76d85=_0x236a37;var _0x16b14b=_0x4c52d8[0x0],_0x5f3c45=_0x4c52d8[0x1];typeof _0x5f3c45==_0xb76d85(0x21c)&&(_0x4d7b68[_0x16b14b]=_0x5f3c45['replace'](/url\(#(.*)\)/,_0xb76d85(0x34d)[_0xb76d85(0x2dd)](_0x33b14f[_0xb76d85(0x28f)],')')));})),_0x4d7b68;}function Hi(_0x5433dd,_0x3715f3){const _0x220eec=_0x10be63;var _0x55db8a,_0x32523b=_0x3715f3[_0x220eec(0x240)];return!_0x32523b||_0x32523b[_0x220eec(0x2f6)]===0x0?_0x5433dd:_0x5433dd['tag']===_0x220eec(0x296)&&(!((_0x55db8a=_0x5433dd[_0x220eec(0x1ca)])===null||_0x55db8a===void 0x0)&&_0x55db8a[_0x220eec(0x2f6)])?v(v({},_0x5433dd),{'children':_0x5433dd[_0x220eec(0x1ca)]['map'](function(_0x151393){const _0x41e987=_0x220eec;return typeof _0x151393[_0x41e987(0x185)]['id']==_0x41e987(0x21c)&&_0x32523b&&_0x32523b[_0x41e987(0x294)](_0x151393['attrs']['id'])?v(v({},_0x151393),{'attrs':v(v({},_0x151393['attrs']),{'id':_0x151393[_0x41e987(0x185)]['id']+_0x3715f3['idSuffix']})}):_0x151393;})}):_0x5433dd;}function Fi(){const _0x1276ea=_0x10be63;return Math[_0x1276ea(0x258)]()[_0x1276ea(0x184)](0x24)[_0x1276ea(0x336)](0x2,0x8);}Fe[_0x10be63(0x171)]=_0x10be63(0x25c);var Yi={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x10be63(0x2cc),'width':_0x10be63(0x31c),'height':_0x10be63(0x31c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x10be63(0x31f),'attrs':{'stroke':_0x10be63(0x24a),'d':_0x10be63(0x1b9),'strokeLinecap':_0x10be63(0x17e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x10be63(0x296),'attrs':{},'children':[{'tag':_0x10be63(0x259),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x10be63(0x31f),'attrs':{'fill':'white','d':_0x10be63(0x329)}}]}]}],'defIds':[_0x10be63(0x2dc)]},Dt=_0x3e3769(function(_0x4dd743,_0x2f0d64){const _0x2f91e1=_0x10be63;return _0x4ee4af(Fe,Object[_0x2f91e1(0x288)]({},_0x4dd743,{'id':_0x2f91e1(0x14b),'ref':_0x2f0d64,'icon':Yi}));});Dt[_0x10be63(0x171)]=_0x10be63(0x322);var ji={'tag':_0x10be63(0x2bc),'attrs':{'xmlns':_0x10be63(0x1fb),'fill':'none','viewBox':_0x10be63(0x18c),'width':'1em','height':_0x10be63(0x31c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x10be63(0x31f),'attrs':{'stroke':_0x10be63(0x24a),'d':_0x10be63(0x264),'strokeLinecap':_0x10be63(0x17e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x10be63(0x296),'attrs':{},'children':[{'tag':_0x10be63(0x259),'attrs':{'id':_0x10be63(0x2ca)},'children':[{'tag':_0x10be63(0x31f),'attrs':{'fill':_0x10be63(0x168),'d':'M0\x200H16V16H0z','transform':_0x10be63(0x14d)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x3e3769(function(_0x2a1728,_0xdb4785){const _0x1905de=_0x10be63;return _0x4ee4af(Fe,Object[_0x1905de(0x288)]({},_0x2a1728,{'id':_0x1905de(0x1a8),'ref':_0xdb4785,'icon':ji}));});Nt['displayName']=_0x10be63(0x189);function Vi(_0x3c5199){const _0x5708be=_0x10be63;switch(_0x3c5199){case _0x57e69d['OFFLINE']:return _0x5708be(0x20e);case _0x57e69d[_0x5708be(0x2d0)]:return _0x5708be(0x206);case _0x57e69d[_0x5708be(0x14e)]:return'collabStatus.fetchMiss';case _0x57e69d['NOT_COLLAB']:return _0x5708be(0x244);case _0x57e69d['AWAITING']:case _0x57e69d[_0x5708be(0x161)]:return _0x5708be(0x154);case _0x57e69d[_0x5708be(0x1f5)]:case _0x57e69d[_0x5708be(0x170)]:return _0x5708be(0x1cf);}}function Wi(_0x3feaf5){const _0x5997b0=_0x10be63,{status$:_0x556457}=_0x3feaf5,_0x20183f=_0x175c52(_0x556457,_0x57e69d['NOT_COLLAB']),_0x43aade=_0x51d814(_0xc152d),_0x3543e3=_0x51d814(_0x58f285),_0x3ba281=_0x20183f!==_0x57e69d['OFFLINE'],_0xc8697b=_0x43aade['t'](Vi(_0x20183f)),_0x153bc3=_0x3ba281?_0x266936(Nt,{}):_0x266936(Dt,{}),_0x736599=_0x36ac64(()=>{const _0x3e0523=_0x3955;_0x3ba281||_0x3543e3[_0x3e0523(0x1bd)]();},[_0x3ba281,_0x3543e3]);function _0x777430(){const _0x11ac71=_0x3955;return _0x43fe84(_0x11ac71(0x233),{'className':_0x11ac71(0x1f6),'onClick':_0x736599,'children':[_0x266936(_0x11ac71(0x233),{'className':_0x4cd89e(_0x11ac71(0x2f0),{'univer-text-green-500':_0x3ba281,'univer-text-red-500':!_0x3ba281}),'children':_0x153bc3}),_0x266936(_0x11ac71(0x233),{'className':_0x11ac71(0x1b3),'children':_0xc8697b})]});}return _0x3ba281?_0x777430():_0x266936(_0x4a53fb,{'title':_0x43aade['t'](_0x5997b0(0x1d5)),'children':_0x777430()});}var Xi=Object[_0x10be63(0x228)],Gi=(_0x5c3c63,_0x4d19db,_0x3f0690,_0x1dc8e7)=>{const _0x4e11dc=_0x10be63;for(var _0x462963=_0x1dc8e7>0x1?void 0x0:_0x1dc8e7?Xi(_0x4d19db,_0x3f0690):_0x4d19db,_0x153e42=_0x5c3c63[_0x4e11dc(0x2f6)]-0x1,_0x403ee0;_0x153e42>=0x0;_0x153e42--)(_0x403ee0=_0x5c3c63[_0x153e42])&&(_0x462963=_0x403ee0(_0x462963)||_0x462963);return _0x462963;},Q=(_0x22d9dd,_0x465a88)=>(_0x57c09a,_0x20b957)=>_0x465a88(_0x57c09a,_0x20b957,_0x22d9dd);let te=class extends _0x38053b{constructor(_0x5b072f,_0x150b7c,_0x59164b,_0x1b0934){const _0x42d052=_0x10be63;super(),_(this,'_status$',new _0x226cf0(_0x57e69d[_0x42d052(0x2be)])),(this['_univerInstanceService']=_0x5b072f,this['_injector']=_0x150b7c,this[_0x42d052(0x231)]=_0x59164b,this['_uiPartsService']=_0x1b0934,this[_0x42d052(0x286)](),this[_0x42d052(0x209)]());}[_0x10be63(0x209)](){const _0x569261=_0x10be63;this[_0x569261(0x2fc)](this[_0x569261(0x2de)][_0x569261(0x29a)][_0x569261(0x1d8)](_0x4cd47a(()=>{const _0x288415=_0x569261,_0x2a9cef=this[_0x288415(0x2de)][_0x288415(0x19b)]();return _0x2a9cef?this['_collaborationController'][_0x288415(0x1c3)](_0x2a9cef[_0x288415(0x2c8)]()):_0x390728(null);}),_0x4cd47a(_0x2b3393=>_0x2b3393?_0x2b3393['status$']:_0x390728(_0x57e69d[_0x569261(0x2be)])))[_0x569261(0x291)](_0x200b96=>{const _0x64cdb3=_0x569261;this['_status$'][_0x64cdb3(0x2d3)](_0x200b96);}));}[_0x10be63(0x286)](){const _0x11f913=_0x10be63;this[_0x11f913(0x2fc)](this[_0x11f913(0x2c2)][_0x11f913(0x159)](_0xd1a57a[_0x11f913(0x304)],()=>_0xf70afc(Ki({'status$':this[_0x11f913(0x175)][_0x11f913(0x25e)]()}),this[_0x11f913(0x18a)])));}};te=Gi([Q(0x0,_0x2d594b),Q(0x1,_0x190800(_0x1963a9)),Q(0x2,_0x190800(_0x298d6a)),Q(0x3,_0x58239e)],te);function Ki(_0x250e62){const {status$:_0x37f72e}=_0x250e62;return function(){return _0x266936(Wi,{'status$':_0x37f72e});};}var zi=Object[_0x10be63(0x228)],Ji=(_0x61faaf,_0x38fa75,_0x1c8e70,_0x1ccf83)=>{const _0x42a3c7=_0x10be63;for(var _0x2e0b16=_0x1ccf83>0x1?void 0x0:_0x1ccf83?zi(_0x38fa75,_0x1c8e70):_0x38fa75,_0x183869=_0x61faaf[_0x42a3c7(0x2f6)]-0x1,_0x5167ea;_0x183869>=0x0;_0x183869--)(_0x5167ea=_0x61faaf[_0x183869])&&(_0x2e0b16=_0x5167ea(_0x2e0b16)||_0x2e0b16);return _0x2e0b16;},B=(_0x332253,_0x1d9658)=>(_0x59367d,_0x579f3e)=>_0x1d9658(_0x59367d,_0x579f3e,_0x332253);let se=class extends _0x38053b{constructor(_0x7d6f35,_0x59996d,_0x986558,_0x4bff3d,_0x52e365,_0x318c06){const _0x1d0eed=_0x10be63;super(),this[_0x1d0eed(0x14a)]=_0x7d6f35,this[_0x1d0eed(0x28c)]=_0x59996d,this[_0x1d0eed(0x25a)]=_0x986558,this[_0x1d0eed(0x260)]=_0x4bff3d,this[_0x1d0eed(0x1ae)]=_0x52e365,this[_0x1d0eed(0x2fe)]=_0x318c06,this[_0x1d0eed(0x207)](),this[_0x1d0eed(0x32b)]();}[_0x10be63(0x207)](){const _0x199b16=_0x10be63;this[_0x199b16(0x2fc)](this[_0x199b16(0x14a)][_0x199b16(0x30e)](()=>{const _0x2e9cb3=_0x199b16;if(this[_0x2e9cb3(0x28c)][_0x2e9cb3(0x1ef)][_0x2e9cb3(0x303)])return this[_0x2e9cb3(0x2fe)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x907dd6=_0x10be63;this['disposeWithMe'](this[_0x907dd6(0x25a)][_0x907dd6(0x1fe)][_0x907dd6(0x291)](_0x25c709=>{const _0x52bd4f=_0x907dd6;_0x25c709['id']===_0x2acd13[_0x52bd4f(0x186)]&&this[_0x52bd4f(0x260)][_0x52bd4f(0x253)]({'type':_0x3f6803['Warning'],'content':this[_0x52bd4f(0x2fe)]['t'](_0x52bd4f(0x33e))}),_0x25c709['id']===_0x2acd13[_0x52bd4f(0x275)]&&this[_0x52bd4f(0x260)][_0x52bd4f(0x253)]({'type':_0x3f6803[_0x52bd4f(0x1f7)],'content':this[_0x52bd4f(0x2fe)]['t'](_0x52bd4f(0x327))}),_0x25c709['id']===_0x2acd13['PERMISSION_DENIED']&&this['_notificationService'][_0x52bd4f(0x253)]({'title':this[_0x52bd4f(0x2fe)]['t'](_0x52bd4f(0x205)),'content':this['_localeService']['t'](_0x52bd4f(0x15e)),'type':'error','duration':0x0}),_0x25c709['id']===_0x2acd13[_0x52bd4f(0x2d0)]&&this[_0x52bd4f(0x260)][_0x52bd4f(0x253)]({'type':_0x3f6803[_0x52bd4f(0x223)],'content':this['_localeService']['t'](_0x52bd4f(0x327))+'('+_0x25c709[_0x52bd4f(0x2c6)]+')'}),_0x25c709['id']===_0x2acd13['JOIN_ROOM_FAILED']&&this['_messageService'][_0x52bd4f(0x253)]({'type':_0x3f6803[_0x52bd4f(0x1f7)],'content':this[_0x52bd4f(0x2fe)]['t'](_0x25c709[_0x52bd4f(0x2c6)]||'')}),_0x25c709['id']===_0x2acd13['SOCKET_FAILED_RETRY']&&this[_0x52bd4f(0x260)][_0x52bd4f(0x253)]({'type':_0x3f6803['Warning'],'content':this[_0x52bd4f(0x2fe)]['t'](_0x52bd4f(0x305))}),_0x25c709['id']===_0x2acd13[_0x52bd4f(0x2b9)]&&this[_0x52bd4f(0x260)][_0x52bd4f(0x253)]({'type':_0x3f6803[_0x52bd4f(0x223)],'content':this[_0x52bd4f(0x2fe)]['t'](_0x52bd4f(0x29d))}),_0x25c709['id']===_0x2acd13[_0x52bd4f(0x28d)]&&this[_0x52bd4f(0x260)][_0x52bd4f(0x253)]({'type':_0x3f6803[_0x52bd4f(0x223)],'content':this[_0x52bd4f(0x2fe)]['t'](_0x52bd4f(0x24c))});}));}};se=Ji([B(0x0,_0x2bbcaa),B(0x1,_0x213199),B(0x2,_0x190800(_0x591c09)),B(0x3,_0x2f910d),B(0x4,_0x599efd),B(0x5,_0x190800(_0xc152d))],se);const Zi=_0x10be63(0x29f),et={},Ut=_0x4f83d2(_0x10be63(0x340));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x3e6f18,_0x5516ae,_0x190b28,_0x54da37)=>{const _0x3605a8=_0x10be63;for(var _0xa1b466=_0x54da37>0x1?void 0x0:_0x54da37?Qi(_0x5516ae,_0x190b28):_0x5516ae,_0x47f391=_0x3e6f18[_0x3605a8(0x2f6)]-0x1,_0x459d95;_0x47f391>=0x0;_0x47f391--)(_0x459d95=_0x3e6f18[_0x47f391])&&(_0xa1b466=_0x459d95(_0xa1b466)||_0xa1b466);return _0xa1b466;},G=(_0x510abd,_0x44c811)=>(_0x68811c,_0x172217)=>_0x44c811(_0x68811c,_0x172217,_0x510abd);let ie=class extends _0x1791bc{constructor(_0xe06449,_0x13eeb8,_0x391a21,_0x25f27b,_0x11d91c){const _0x281412=_0x10be63;super(),this[_0x281412(0x1a3)]=_0xe06449,this[_0x281412(0x256)]=_0x13eeb8,this[_0x281412(0x1e5)]=_0x391a21,this['_dataLoaderService']=_0x25f27b,_0x11d91c?_0x11d91c==null||_0x11d91c[_0x281412(0x2e5)]()[_0x281412(0x147)](()=>this['_init']()):(this[_0x281412(0x256)][_0x281412(0x2a8)](_0x281412(0x2df),_0x281412(0x346)),this[_0x281412(0x144)]());}async['_init'](){const _0x5052da=_0x10be63,_0x5e7d82=this[_0x5052da(0x1a3)][_0x5052da(0x333)](_0x5052da(0x1ff)),_0x1a4244=this[_0x5052da(0x1a3)][_0x5052da(0x333)](_0x5052da(0x31e)),_0x2c6f00=this[_0x5052da(0x1a3)][_0x5052da(0x333)](_0x5052da(0x320));if(!_0x5e7d82||!_0x1a4244){this['_logService'][_0x5052da(0x2a8)](_0x5052da(0x2df),_0x5052da(0x180));return;}const _0x8a2a62=await this['_dataLoaderService'][_0x5052da(0x16f)](_0x5e7d82,Number(_0x1a4244),_0x2c6f00);_0x8a2a62&&_0x8a2a62 instanceof _0x8522ea&&this['_setupSubUnitSync'](_0x8a2a62);}async[_0x10be63(0x1f8)](_0x9622e9){const _0x346ddf=_0x10be63;await this[_0x346ddf(0x176)](_0x9622e9),_0x9622e9['activeSheet$'][_0x346ddf(0x1d8)](_0x303377(this['dispose$']))['subscribe'](_0x7e2442=>{const _0xd16130=_0x346ddf;_0x7e2442&&this[_0xd16130(0x2bd)](_0x7e2442);}),this[_0x346ddf(0x1a3)][_0x346ddf(0x200)][_0x346ddf(0x1d8)](_0x303377(this['dispose$']))[_0x346ddf(0x291)](()=>this[_0x346ddf(0x176)](_0x9622e9));}[_0x10be63(0x2bd)](_0x498da4,_0x2e5d0f=!0x1){const _0x586342=_0x10be63,_0x41ad73=this[_0x586342(0x1a3)]['getParam'](_0x586342(0x320));_0x498da4[_0x586342(0x160)]()!==_0x41ad73&&this['_urlService'][_0x586342(0x342)](_0x586342(0x320),_0x498da4['getSheetId'](),_0x2e5d0f);}async[_0x10be63(0x176)](_0x1589c4){const _0x15e17b=_0x10be63;var _0x1fc8c4;const _0x1e03c5=this[_0x15e17b(0x1a3)]['getParam']('subunit');if(!_0x1e03c5||!_0x1589c4['getSheetBySheetId'](_0x1e03c5)){const _0xa06474=_0x1589c4[_0x15e17b(0x208)]()[0x0],_0x51bc1d=_0x1589c4[_0x15e17b(0x217)](_0xa06474);if(!_0x51bc1d)return;this[_0x15e17b(0x2bd)](_0x51bc1d,!0x0),await this[_0x15e17b(0x1e5)][_0x15e17b(0x2e1)](_0x4cf703['id'],{'unitId':_0x1589c4['getUnitId'](),'subUnitId':_0xa06474});return;}((_0x1fc8c4=_0x1589c4['getActiveSheet']())==null?void 0x0:_0x1fc8c4['getSheetId']())!==_0x1e03c5&&await this['_commandService'][_0x15e17b(0x2e1)](_0x4cf703['id'],{'unitId':_0x1589c4['getUnitId'](),'subUnitId':_0x1e03c5});}};ie=qi([G(0x0,Ut),G(0x1,_0xc1dab3),G(0x2,_0x571ef4),G(0x3,_0x190800(_0x5c3cb0)),G(0x4,_0x26145b(_0x2d1f50))],ie);var en=Object[_0x10be63(0x228)],tn=(_0xd9d7e2,_0x535b18,_0x1b9b2b,_0x20113c)=>{const _0x1f5243=_0x10be63;for(var _0x2235c4=_0x20113c>0x1?void 0x0:_0x20113c?en(_0x535b18,_0x1b9b2b):_0x535b18,_0x1e48c2=_0xd9d7e2[_0x1f5243(0x2f6)]-0x1,_0x53a3ed;_0x1e48c2>=0x0;_0x1e48c2--)(_0x53a3ed=_0xd9d7e2[_0x1e48c2])&&(_0x2235c4=_0x53a3ed(_0x2235c4)||_0x2235c4);return _0x2235c4;},pe=(_0xfa9e2c,_0x46cdf7)=>(_0x1f7b34,_0x45b5ba)=>_0x46cdf7(_0x1f7b34,_0x45b5ba,_0xfa9e2c);let ne=class{constructor(_0x268926,_0x3812f6,_0x48b6db){const _0x3dbda7=_0x10be63;this[_0x3dbda7(0x18a)]=_0x268926,this['_transformService']=_0x3812f6,this[_0x3dbda7(0x22d)]=_0x48b6db;}['transformIMECache'](_0x550140){const _0x1f80b5=_0x10be63;this[_0x1f80b5(0x310)](_0x550140),this['_transformPreviousActiveRange'](_0x550140);}[_0x10be63(0x27b)](_0x27580f){const _0x5685b9=_0x10be63,{unitID:_0x58c707}=_0x27580f,_0xcee17=this[_0x5685b9(0x22d)][_0x5685b9(0x1c2)](_0x58c707)[_0x5685b9(0x2f5)](_0x598601),{redoCache:_0xd48c0b}=_0xcee17[_0x5685b9(0x1e1)]();if(_0xd48c0b['length']===0x0)return _0x27580f;let _0x39e041=_0x4ec199['deepClone'](_0x27580f[_0x5685b9(0x347)][0x0]);for(let _0xf4f847=0x0;_0xf4f847<_0xd48c0b[_0x5685b9(0x2f6)];_0xf4f847++){const _0x4e890d={'id':_0x5685b9(0x285),'params':{..._0xd48c0b[_0xf4f847]}},_0x28cabc=this['_transformService'][_0x5685b9(0x169)](_0x39e041,_0x4e890d,!0x1);if(_0x198f8c(_0x28cabc))throw _0x28cabc[_0x5685b9(0x2b0)];_0x39e041=_0x28cabc[_0x5685b9(0x1de)];}return{..._0x4ec199[_0x5685b9(0x247)](_0x27580f),'mutations':[_0x39e041]};}[_0x10be63(0x310)](_0x330059){const _0x27182e=_0x10be63,{unitID:_0x16288a}=_0x330059,_0x53073e=this[_0x27182e(0x22d)][_0x27182e(0x1c2)](_0x16288a)[_0x27182e(0x2f5)](_0x598601),{undoCache:_0x11d3a9,redoCache:_0xde073a}=_0x53073e[_0x27182e(0x1e1)]();if(_0x11d3a9['length']===0x0||_0xde073a[_0x27182e(0x2f6)]===0x0)return;const _0x507324=[],_0x3fb8e2=[];let _0x5d9176=_0x4ec199[_0x27182e(0x247)](_0x330059[_0x27182e(0x347)][0x0]),_0x5162f4=_0x4ec199[_0x27182e(0x247)](_0x330059['mutations'][0x0]);for(let _0x254396=_0x11d3a9[_0x27182e(0x2f6)]-0x1;_0x254396>=0x0;_0x254396--){const _0x22fdcc={'id':'doc.mutation.rich-text-editing','params':{..._0x11d3a9[_0x254396]}},_0xe37b96={'id':_0x27182e(0x285),'params':{..._0xde073a[_0x254396]}},_0x412f3f=this[_0x27182e(0x330)]['transformMutation'](_0x5d9176,_0x22fdcc,!0x1),_0x19eacf=this['_transformService'][_0x27182e(0x169)](_0x5162f4,_0xe37b96,!0x1);if(_0x198f8c(_0x412f3f))throw _0x412f3f[_0x27182e(0x2b0)];if(_0x198f8c(_0x19eacf))throw _0x19eacf['error'];_0x507324[_0x27182e(0x2c7)](_0x412f3f['m2Prime']['params']),_0x3fb8e2[_0x27182e(0x2c7)](_0x19eacf[_0x27182e(0x25d)][_0x27182e(0x162)]),_0x5d9176=_0x412f3f[_0x27182e(0x1de)],_0x5162f4=_0x19eacf[_0x27182e(0x1de)];}_0x53073e['setUndoRedoMutationParamsCache']({'undoCache':_0x507324,'redoCache':_0x3fb8e2});}[_0x10be63(0x163)](_0x40284f){const _0x2985da=_0x10be63,{unitID:_0xf2413b}=_0x40284f,_0x5b5f21=this['_renderManagerService'][_0x2985da(0x1c2)](_0xf2413b)['with'](_0x598601),_0x55428e=_0x5b5f21[_0x2985da(0x2d1)]();if(_0x55428e==null)return;const _0x1c9aec=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40284f[_0x2985da(0x1c4)],'actions':null,'textRanges':[_0x55428e]}}],_0x771e50=this[_0x2985da(0x330)][_0x2985da(0x19f)](_0x40284f,_0x1c9aec);if(!_0x78182e(_0x771e50))throw _0x771e50[_0x2985da(0x2b0)];const _0xe8aa4b=_0x771e50[_0x2985da(0x25d)][0x0][_0x2985da(0x162)]['textRanges'];Array[_0x2985da(0x1a6)](_0xe8aa4b)&&_0xe8aa4b['length']&&_0x5b5f21['setActiveRange'](_0xe8aa4b[0x0]);}};ne=tn([pe(0x0,_0x190800(_0x1963a9)),pe(0x1,_0x5ced51),pe(0x2,_0x2e50c4)],ne);var sn=Object[_0x10be63(0x228)],nn=(_0x42237e,_0x4e03a3,_0x3d5eff,_0x590965)=>{const _0x515a41=_0x10be63;for(var _0x41be7a=_0x590965>0x1?void 0x0:_0x590965?sn(_0x4e03a3,_0x3d5eff):_0x4e03a3,_0x217506=_0x42237e[_0x515a41(0x2f6)]-0x1,_0x3b7603;_0x217506>=0x0;_0x217506--)(_0x3b7603=_0x42237e[_0x217506])&&(_0x41be7a=_0x3b7603(_0x41be7a)||_0x41be7a);return _0x41be7a;},Ce=(_0x13f049,_0x5cc65c)=>(_0x59fc2c,_0x134090)=>_0x5cc65c(_0x59fc2c,_0x134090,_0x13f049);let re=class{constructor(_0x52e542,_0x259f2a,_0xdca027){const _0x1ef53b=_0x10be63;this['_injector']=_0x52e542,this[_0x1ef53b(0x330)]=_0x259f2a,this[_0x1ef53b(0x1a2)]=_0xdca027;}[_0x10be63(0x173)](_0x950b14){this['_transformHistoryAndStateStack'](_0x950b14);}[_0x10be63(0x27b)](_0x21bf23){const _0x22297a=_0x10be63,{unitID:_0x4627f2}=_0x21bf23,{collaboration:_0x42719b}=this[_0x22297a(0x1a2)][_0x22297a(0x235)](_0x4627f2);if(_0x42719b[_0x22297a(0x2f6)]===0x0)return _0x21bf23;let _0x5337cf=_0x4ec199['deepClone'](_0x21bf23[_0x22297a(0x347)][0x0]);for(let _0x14788f=0x0;_0x14788f<_0x42719b[_0x22297a(0x2f6)];_0x14788f++){const _0x144479={'id':_0x22297a(0x285),'params':{'unitId':_0x42719b[_0x14788f][_0x22297a(0x17b)],..._0x42719b[_0x14788f][_0x22297a(0x2e4)]}},_0x376d16=this[_0x22297a(0x330)][_0x22297a(0x169)](_0x5337cf,_0x144479,!0x1);if(_0x198f8c(_0x376d16))throw _0x376d16['error'];_0x5337cf=_0x376d16[_0x22297a(0x1de)];}return{..._0x4ec199['deepClone'](_0x21bf23),'mutations':[_0x5337cf]};}[_0x10be63(0x2ce)](_0x41a76f){const _0x545089=_0x10be63,{unitID:_0x35c974}=_0x41a76f,{history:_0x5bb6fc,collaboration:_0x1d12f1}=this['_docStateChangeManagerService']['getStateCache'](_0x35c974);if(_0x5bb6fc[_0x545089(0x2f6)]===0x0&&_0x1d12f1[_0x545089(0x2f6)]===0x0)return;const _0x57354a=[],_0x2d63c5=[];let _0x533a8d=_0x4ec199['deepClone'](_0x41a76f[_0x545089(0x347)][0x0]),_0xbe7946=_0x4ec199[_0x545089(0x247)](_0x41a76f[_0x545089(0x347)][0x0]);for(let _0x52bf11=_0x5bb6fc[_0x545089(0x2f6)]-0x1;_0x52bf11>=0x0;_0x52bf11--){const _0x195d77={'id':_0x545089(0x285),'params':{'unitId':_0x5bb6fc[_0x52bf11][_0x545089(0x17b)],..._0x5bb6fc[_0x52bf11]['undoState']}},_0x393f5e={'id':_0x545089(0x285),'params':{'unitId':_0x5bb6fc[_0x52bf11][_0x545089(0x17b)],..._0x5bb6fc[_0x52bf11][_0x545089(0x2e4)]}},_0x25b859=this[_0x545089(0x330)][_0x545089(0x169)](_0x533a8d,_0x195d77,!0x1),_0x4cfbc2=this[_0x545089(0x330)][_0x545089(0x169)](_0xbe7946,_0x393f5e,!0x1);if(_0x198f8c(_0x25b859))throw _0x25b859[_0x545089(0x2b0)];if(_0x198f8c(_0x4cfbc2))throw _0x4cfbc2[_0x545089(0x2b0)];_0x57354a[_0x545089(0x2c7)]({..._0x5bb6fc[_0x52bf11],'undoState':_0x25b859['m2Prime'][_0x545089(0x162)],'redoState':_0x4cfbc2[_0x545089(0x25d)][_0x545089(0x162)]}),_0x533a8d=_0x25b859[_0x545089(0x1de)],_0xbe7946=_0x4cfbc2[_0x545089(0x1de)];}_0x533a8d=_0x4ec199[_0x545089(0x247)](_0x41a76f[_0x545089(0x347)][0x0]),_0xbe7946=_0x4ec199[_0x545089(0x247)](_0x41a76f[_0x545089(0x347)][0x0]);for(let _0x329e5c=_0x1d12f1[_0x545089(0x2f6)]-0x1;_0x329e5c>=0x0;_0x329e5c--){const _0x6faaa1={'id':_0x545089(0x285),'params':{'unitId':_0x1d12f1[_0x329e5c][_0x545089(0x17b)],..._0x1d12f1[_0x329e5c][_0x545089(0x243)]}},_0x4d53af={'id':_0x545089(0x285),'params':{'unitId':_0x1d12f1[_0x329e5c]['unitId'],..._0x1d12f1[_0x329e5c][_0x545089(0x2e4)]}},_0x2d9600=this['_transformService'][_0x545089(0x169)](_0x533a8d,_0x6faaa1,!0x1),_0x52bfc9=this[_0x545089(0x330)][_0x545089(0x169)](_0xbe7946,_0x4d53af,!0x1);if(_0x198f8c(_0x2d9600))throw _0x2d9600[_0x545089(0x2b0)];if(_0x198f8c(_0x52bfc9))throw _0x52bfc9['error'];_0x2d63c5[_0x545089(0x2c7)]({..._0x1d12f1[_0x329e5c],'undoState':_0x2d9600[_0x545089(0x25d)][_0x545089(0x162)],'redoState':_0x52bfc9[_0x545089(0x25d)][_0x545089(0x162)]}),_0x533a8d=_0x2d9600['m1Prime'],_0xbe7946=_0x52bfc9[_0x545089(0x1de)];}this[_0x545089(0x1a2)][_0x545089(0x2c1)](_0x35c974,{'history':_0x57354a,'collaboration':_0x2d63c5});}};re=nn([Ce(0x0,_0x190800(_0x1963a9)),Ce(0x1,_0x5ced51),Ce(0x2,_0x190800(_0x897617))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x53b5f8,_0x13cafc,_0x4bb280,_0x193419)=>{const _0x429de6=_0x10be63;for(var _0x21eaf4=_0x193419>0x1?void 0x0:_0x193419?rn(_0x13cafc,_0x4bb280):_0x13cafc,_0x61dab4=_0x53b5f8[_0x429de6(0x2f6)]-0x1,_0x3f1396;_0x61dab4>=0x0;_0x61dab4--)(_0x3f1396=_0x53b5f8[_0x61dab4])&&(_0x21eaf4=_0x3f1396(_0x21eaf4)||_0x21eaf4);return _0x21eaf4;},tt=(_0x129713,_0x14efb6)=>(_0x3edcc1,_0x1483be)=>_0x14efb6(_0x3edcc1,_0x1483be,_0x129713);let oe=class{constructor(_0x267886,_0x5c8842){const _0x53300e=_0x10be63;this[_0x53300e(0x18a)]=_0x267886,this['_transformService']=_0x5c8842;}[_0x10be63(0x262)](_0x552fd1){const _0x24b3a4=_0x10be63;var _0x3600b7;const _0x53c7db=this[_0x24b3a4(0x18a)][_0x24b3a4(0x2c3)](_0x52ae6e),_0x30c10c=(_0x3600b7=_0x53c7db['getDocRanges']())!=null?_0x3600b7:[];if(_0x30c10c[_0x24b3a4(0x2f6)]===0x0)return;const _0xd08b39=_0x552fd1[_0x24b3a4(0x1c4)],_0x1a391d=[{'id':_0x24b3a4(0x285),'params':{'unitId':_0xd08b39,'actions':null,'textRanges':_0x30c10c}}],_0x5b0a99=this['_transformService']['transformMutationsWithChangeset'](_0x552fd1,_0x1a391d);if(!_0x78182e(_0x5b0a99))throw _0x5b0a99[_0x24b3a4(0x2b0)];const _0x151bdc=_0x5b0a99[_0x24b3a4(0x25d)][0x0][_0x24b3a4(0x162)][_0x24b3a4(0x2d5)];Array[_0x24b3a4(0x1a6)](_0x151bdc)&&_0x151bdc[_0x24b3a4(0x2f6)]&&_0x53c7db[_0x24b3a4(0x34c)](_0x151bdc,{'unitId':_0xd08b39,'subUnitId':_0xd08b39},!0x1);}};oe=on([tt(0x0,_0x190800(_0x1963a9)),tt(0x1,_0x5ced51)],oe);var an=Object[_0x10be63(0x228)],cn=(_0x135139,_0x3335a7,_0xad5379,_0x59b7f0)=>{const _0x316986=_0x10be63;for(var _0xa7ade0=_0x59b7f0>0x1?void 0x0:_0x59b7f0?an(_0x3335a7,_0xad5379):_0x3335a7,_0x2acc00=_0x135139[_0x316986(0x2f6)]-0x1,_0x29ac32;_0x2acc00>=0x0;_0x2acc00--)(_0x29ac32=_0x135139[_0x2acc00])&&(_0xa7ade0=_0x29ac32(_0xa7ade0)||_0xa7ade0);return _0xa7ade0;},U=(_0x443f50,_0xa59c7e)=>(_0x20b7cc,_0x4738c5)=>_0xa59c7e(_0x20b7cc,_0x4738c5,_0x443f50);let ae=class extends _0x38053b{constructor(_0x995cc,_0x250b5d,_0x523972,_0x1e03f9,_0x1ba018,_0x36113a,_0x4da069,_0x7aa3e5){const _0x5abe23=_0x10be63;super(),_(this,_0x5abe23(0x175),new _0x226cf0(_0x57e69d[_0x5abe23(0x2be)])),(this[_0x5abe23(0x1a2)]=_0x995cc,this['_collaborationController']=_0x250b5d,this[_0x5abe23(0x245)]=_0x523972,this['_docTransformStateCacheService']=_0x1e03f9,this[_0x5abe23(0x22f)]=_0x1ba018,this[_0x5abe23(0x34e)]=_0x36113a,this['_messageService']=_0x4da069,this[_0x5abe23(0x2fe)]=_0x7aa3e5,this[_0x5abe23(0x204)]());}[_0x10be63(0x204)](){const _0xcf1f93=_0x10be63;this[_0xcf1f93(0x2fc)](this[_0xcf1f93(0x231)][_0xcf1f93(0x24f)][_0xcf1f93(0x291)](_0x1939d8=>{const _0x2e52cc=_0xcf1f93,_0x3c81bb=this[_0x2e52cc(0x1a2)][_0x2e52cc(0x241)][_0x2e52cc(0x291)](_0x5355e0=>{const _0x24fcce=_0x2e52cc;if(_0x5355e0==null)return;const {unitId:_0x41e773,redoState:_0x193f9c,commandId:_0x36ec75}=_0x5355e0;if(_0x41e773!==_0x1939d8[_0x24fcce(0x1c4)])return;const _0x221f89={'id':_0x36ec75,'type':_0x1769c9['MUTATION'],'params':{'unitId':_0x41e773,'actions':_0x193f9c[_0x24fcce(0x28a)],'textRanges':null}};_0x1939d8[_0x24fcce(0x300)](_0x221f89);});if(_0x1939d8[_0x2e52cc(0x2fc)](_0x3c81bb),_0x1939d8 instanceof _0x1cefa5){const _0x5c41bf={'onTransformIME':_0x48b34d=>this[_0x2e52cc(0x245)][_0x2e52cc(0x28b)](_0x48b34d),'onTransformState':_0x17a363=>this[_0x2e52cc(0x172)][_0x2e52cc(0x173)](_0x17a363),'onTransformSelections':_0x25a855=>this[_0x2e52cc(0x22f)]['transformSelections'](_0x25a855),'onSyncEditingCollabCursor':_0x27b7da=>this[_0x2e52cc(0x34e)][_0x2e52cc(0x2ee)](_0x27b7da),'onTransformRemoteChangesetByIMECache':_0x24466f=>this[_0x2e52cc(0x245)][_0x2e52cc(0x27b)](_0x24466f),'onTransformRemoteChangesetByStateCache':_0x409e7e=>this['_docTransformStateCacheService'][_0x2e52cc(0x27b)](_0x409e7e)};_0x1939d8[_0x2e52cc(0x1c8)](_0x5c41bf);}}));}};ae=cn([U(0x0,_0x190800(_0x897617)),U(0x1,_0x190800(_0x298d6a)),U(0x2,_0x190800(ne)),U(0x3,_0x190800(re)),U(0x4,_0x190800(oe)),U(0x5,_0x190800(He)),U(0x6,_0x2f910d),U(0x7,_0x190800(_0xc152d))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x301125,_0x3b22f6,_0x20ffdc,_0x49c80d)=>{const _0x2d8c83=_0x10be63;for(var _0x159e4c=_0x49c80d>0x1?void 0x0:_0x49c80d?ln(_0x3b22f6,_0x20ffdc):_0x3b22f6,_0x36e61e=_0x301125[_0x2d8c83(0x2f6)]-0x1,_0x9dc87b;_0x36e61e>=0x0;_0x36e61e--)(_0x9dc87b=_0x301125[_0x36e61e])&&(_0x159e4c=_0x9dc87b(_0x159e4c)||_0x159e4c);return _0x159e4c;},Ee=(_0x42b4eb,_0x2cee64)=>(_0x547d0e,_0x5ea7f0)=>_0x2cee64(_0x547d0e,_0x5ea7f0,_0x42b4eb);let we=class extends _0x38053b{constructor(_0x557825,_0x459710,_0x2416e7){const _0x1ead9d=_0x10be63;super(),_(this,'_cachedData',new Map()),_(this,_0x1ead9d(0x1f2),new Map()),_(this,_0x1ead9d(0x239),!0x1),(this['_configService']=_0x557825,this['_localStorageService']=_0x459710,this[_0x1ead9d(0x222)]=_0x2416e7);}['disableLocalCache'](){const _0x1fb2dc=_0x10be63;this[_0x1fb2dc(0x239)]=!0x0;}['enableLocalCache'](){const _0x3dda43=_0x10be63;this[_0x3dda43(0x239)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0x2a3218=_0x10be63;this['exhaustSavingTask']()[_0x2a3218(0x147)](()=>super[_0x2a3218(0x279)]());}async[_0x10be63(0x142)](_0xb2d926){const _0x3a2fb6=_0x10be63;return this[_0x3a2fb6(0x239)]?null:this[_0x3a2fb6(0x1a0)][_0x3a2fb6(0x226)](_0x29b25b(_0xb2d926));}async[_0x10be63(0x1df)](_0x182fe0,_0x21a0e3){const _0x23c280=_0x10be63;return!!this[_0x23c280(0x1a0)][_0x23c280(0x27c)](_0x182fe0,_0x21a0e3);}[_0x10be63(0x274)](_0x5bef6a,_0x546315,_0x5f13c9,_0x52d67f){const _0x2a83ba=_0x10be63,_0x4a9b7f=this['_revisionService']['getCurrentRevOfUnit'](_0x5bef6a);this[_0x2a83ba(0x216)][_0x2a83ba(0x21f)](_0x5bef6a,{'unitID':_0x5bef6a,'type':_0x546315,'awaitingChangeset':_0x5f13c9,'mutations':_0x52d67f,'rev':_0x4a9b7f}),this[_0x2a83ba(0x1f2)][_0x2a83ba(0x2b2)](_0x5bef6a)||this[_0x2a83ba(0x2ed)](_0x5bef6a);}[_0x10be63(0x2ed)](_0x39f787){const _0x1162cf=_0x10be63,_0x58bc17=this[_0x1162cf(0x326)]();_0x58bc17===0x0?this['_saveCache'](_0x39f787):this[_0x1162cf(0x1f2)][_0x1162cf(0x21f)](_0x39f787,setTimeout(()=>this[_0x1162cf(0x270)](_0x39f787),_0x58bc17));}[_0x10be63(0x326)](){const _0x3da279=_0x10be63;var _0x5e100e;return(_0x5e100e=this[_0x3da279(0x1d3)][_0x3da279(0x2d6)](_0x352be6))!=null?_0x5e100e:_0x52e9b3;}[_0x10be63(0x270)](_0x119a6a){const _0x156cba=_0x10be63,_0x181d55=this[_0x156cba(0x1f2)][_0x156cba(0x2c3)](_0x119a6a);return _0x181d55!==void 0x0&&window[_0x156cba(0x2c5)](_0x181d55),this[_0x156cba(0x1a0)][_0x156cba(0x27c)](_0x29b25b(_0x119a6a),this[_0x156cba(0x216)][_0x156cba(0x2c3)](_0x119a6a))[_0x156cba(0x147)](()=>this[_0x156cba(0x1f2)][_0x156cba(0x315)](_0x119a6a));}async[_0x10be63(0x309)](){const _0x1c3ae1=_0x10be63,_0x4eea20=[];this[_0x1c3ae1(0x1f2)]['forEach']((_0x4f05fd,_0x37b877)=>{const _0x4a00e1=_0x1c3ae1;window[_0x4a00e1(0x2c5)](_0x4f05fd),_0x4eea20[_0x4a00e1(0x1cb)](this[_0x4a00e1(0x270)](_0x37b877)[_0x4a00e1(0x147)](()=>{const _0x49c3cc=_0x4a00e1;this[_0x49c3cc(0x1f2)][_0x49c3cc(0x315)](_0x37b877);}));}),await Promise[_0x1c3ae1(0x338)](_0x4eea20);}};we=_n([Ee(0x0,_0xdf5196),Ee(0x1,_0x14ecb9),Ee(0x2,_0x190800(_0x50e00f))],we);class hn extends _0x1791bc{constructor(){const _0x2a8479=_0x10be63;super(),_(this,_0x2a8479(0x200)),this['urlChange$']=_0x4598ac(window,_0x2a8479(0x30a))[_0x2a8479(0x1d8)](_0x303377(this[_0x2a8479(0x150)]),_0x5ef743(0x1),_0x18be32(void 0x0));}[_0x10be63(0x342)](_0x4d2bba,_0x572ae3,_0x5a7c4f=!0x1){const _0x3124c9=_0x10be63,_0x13eb6e=new URL(window[_0x3124c9(0x1e2)][_0x3124c9(0x2bf)]);_0x13eb6e[_0x3124c9(0x2e9)]['set'](_0x4d2bba,_0x572ae3),_0x5a7c4f?window[_0x3124c9(0x2a0)][_0x3124c9(0x229)]('','',_0x13eb6e[_0x3124c9(0x184)]()):window[_0x3124c9(0x2a0)]['pushState']('','',_0x13eb6e['toString']());}[_0x10be63(0x214)](_0x3feaf9,_0x140099=!0x1){const _0x60685=_0x10be63,_0x5b6472=new URL(window[_0x60685(0x1e2)][_0x60685(0x2bf)]);_0x5b6472[_0x60685(0x2e9)][_0x60685(0x315)](_0x3feaf9),_0x140099?window[_0x60685(0x2a0)]['replaceState']('','',_0x5b6472[_0x60685(0x184)]()):window[_0x60685(0x2a0)][_0x60685(0x273)]('','',_0x5b6472[_0x60685(0x184)]());}[_0x10be63(0x333)](_0xf0389b){const _0x3a63af=_0x10be63;var _0x4a3f32;return(_0x4a3f32=new URL(window[_0x3a63af(0x1e2)][_0x3a63af(0x2bf)])[_0x3a63af(0x2e9)]['get'](_0xf0389b))!=null?_0x4a3f32:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x10be63(0x228)],fn=(_0x1c442a,_0x34592a,_0xe26c01)=>_0x34592a in _0x1c442a?un(_0x1c442a,_0x34592a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe26c01}):_0x1c442a[_0x34592a]=_0xe26c01,Sn=(_0x2bbdd3,_0x3ad755,_0x3a2010,_0x55df06)=>{const _0x52d2e9=_0x10be63;for(var _0x234cfb=_0x55df06>0x1?void 0x0:_0x55df06?dn(_0x3ad755,_0x3a2010):_0x3ad755,_0x461ec5=_0x2bbdd3[_0x52d2e9(0x2f6)]-0x1,_0x49faf1;_0x461ec5>=0x0;_0x461ec5--)(_0x49faf1=_0x2bbdd3[_0x461ec5])&&(_0x234cfb=_0x49faf1(_0x234cfb)||_0x234cfb);return _0x234cfb;},Oe=(_0x2514ee,_0x28ad7c)=>(_0x2be9f5,_0x1ca620)=>_0x28ad7c(_0x2be9f5,_0x1ca620,_0x2514ee),mn=(_0x5a032a,_0x3d5110,_0x48ee0d)=>fn(_0x5a032a,_0x3d5110+'',_0x48ee0d);const In=_0x10be63(0x15f);let Ae=class extends _0x12c489{constructor(_0x25620a=et,_0x2c1254,_0xf29037,_0x98d2d0){const _0x2ab38b=_0x10be63;super(),this[_0x2ab38b(0x1ce)]=_0x25620a,this[_0x2ab38b(0x22d)]=_0x2c1254,this[_0x2ab38b(0x18a)]=_0xf29037,this[_0x2ab38b(0x1d3)]=_0x98d2d0;const {..._0x131728}=_0xbd5a6e({},et,this[_0x2ab38b(0x1ce)]);this[_0x2ab38b(0x1d3)][_0x2ab38b(0x19e)](Zi,_0x131728);}[_0x10be63(0x1db)](){const _0x132ef6=_0x10be63;this['_registerDependencies'](),this[_0x132ef6(0x2ba)]();}[_0x10be63(0x27f)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x263ce8=_0x10be63;var _0x490396;const _0xde974c=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x641233,{'useClass':_0x5bccf9}],[_0x213199,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x4992cc(this['_injector'],_0x55fadb(_0xde974c,(_0x490396=this[_0x263ce8(0x1ce)])==null?void 0x0:_0x490396[_0x263ce8(0x271)]));}[_0x10be63(0x295)](){const _0x178b95=_0x10be63;this[_0x178b95(0x2fc)](this[_0x178b95(0x22d)][_0x178b95(0x246)](_0x52505e[_0x178b95(0x18e)],[Le])),this['disposeWithMe'](this[_0x178b95(0x22d)][_0x178b95(0x246)](_0x52505e[_0x178b95(0x277)],[Pe]));}[_0x10be63(0x2ba)](){const _0x428d7c=_0x10be63;_0x271b92(this[_0x428d7c(0x18a)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x2ce191(_0x2d4b1e),Oe(0x1,_0x2e50c4),Oe(0x2,_0x190800(_0x1963a9)),Oe(0x3,_0xdf5196)],Ae);var gn=Object[_0x10be63(0x228)],vn=(_0x2a736b,_0x3920fc,_0x2c6b19,_0xd44941)=>{const _0x7a62d=_0x10be63;for(var _0x3f2233=_0xd44941>0x1?void 0x0:_0xd44941?gn(_0x3920fc,_0x2c6b19):_0x3920fc,_0x1de6ac=_0x2a736b[_0x7a62d(0x2f6)]-0x1,_0xfd02d3;_0x1de6ac>=0x0;_0x1de6ac--)(_0xfd02d3=_0x2a736b[_0x1de6ac])&&(_0x3f2233=_0xfd02d3(_0x3f2233)||_0x3f2233);return _0x3f2233;},K=(_0x5d7fa4,_0x43bf8e)=>(_0xecc4aa,_0xc861bd)=>_0x43bf8e(_0xecc4aa,_0xc861bd,_0x5d7fa4);let st=class extends _0x34862c{constructor(_0x5859f6,_0x53e39d,_0x400ef7,_0x137b35,_0x23cde6){super(_0x5859f6,_0x53e39d,_0x400ef7,_0x137b35,_0x23cde6);}async[_0x10be63(0x2a3)](_0x33f983){const _0x3492fc=_0x10be63,_0x46c75c=await this['_getSessionTicket'](),_0xbebd66=this[_0x3492fc(0x33b)](_0x33f983,_0x46c75c);return this['_doCreateSocket'](_0xbebd66);}[_0x10be63(0x33b)](_0x5ef87d,_0x195298){const _0x4d2cba=_0x10be63,_0x28d082=typeof window>'u'?new URL(_0x5ef87d):new URL(_0x5ef87d,window[_0x4d2cba(0x1e2)][_0x4d2cba(0x1b0)]);_0x28d082[_0x4d2cba(0x2e9)][_0x4d2cba(0x21f)](_0x4d2cba(0x224),_0x195298);const _0x1bbf76=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4d2cba(0x1e2)][_0x4d2cba(0x2a2)]);return _0x1bbf76[_0x4d2cba(0x2c3)](_0x4d2cba(0x2e8))&&_0x28d082['searchParams']['set'](_0x4d2cba(0x2e8),_0x1bbf76['get']('runId')),_0x28d082[_0x4d2cba(0x184)]();}async[_0x10be63(0x2e2)](){const _0x121ff5=_0x10be63;var _0x3a2c5c,_0x3d50b7,_0x2fd4ab;const _0x3b96bc=this['_configService'][_0x121ff5(0x2d6)](_0x3912d2),_0x3420d9=(_0x3a2c5c=_0x3b96bc==null?void 0x0:_0x3b96bc[_0x121ff5(0x30c)])!=null?_0x3a2c5c:_0x554f89;return(_0x2fd4ab=(_0x3d50b7=(await this[_0x121ff5(0x202)][_0x121ff5(0x2c3)](_0x3420d9,{'headers':{'Content-Type':'application/json'}}))[_0x121ff5(0x1c0)])==null?void 0x0:_0x3d50b7[_0x121ff5(0x1a7)])!=null?_0x2fd4ab:'';}};st=vn([K(0x0,_0x190800(_0x1963a9)),K(0x1,_0x190800(_0xedb30f)),K(0x2,_0xdf5196),K(0x3,_0xc1dab3),K(0x4,_0x551f12)],st);const it=0x7530,nt=_0x10be63(0x269);class Fn extends _0x38053b{constructor(){const _0x572a81=_0x10be63;super(),_(this,_0x572a81(0x2ec),_0x3a7538()),_(this,'_selfUnitIDs',new Set()),_(this,_0x572a81(0x2f3),new Map()),_(this,_0x572a81(0x2c9),null),_(this,_0x572a81(0x158),new Map()),_(this,_0x572a81(0x1f3),new Map()),this['_init']();}[_0x10be63(0x279)](){const _0x191758=_0x10be63;super[_0x191758(0x279)](),this[_0x191758(0x158)][_0x191758(0x225)]((_0x3c42f5,_0x3dcbf1)=>this[_0x191758(0x199)](_0x3dcbf1)),this['_heartbeatTimer']&&window[_0x191758(0x1c7)](this[_0x191758(0x2c9)]);}[_0x10be63(0x242)](_0x32d157){const _0x54062b=_0x10be63;return this[_0x54062b(0x29b)](_0x32d157)[_0x54062b(0x1d8)](_0x5f11ca());}[_0x10be63(0x1cc)](_0x255d91){const _0x35d43e=_0x10be63;this[_0x35d43e(0x1f4)]['size']===0x0&&this[_0x35d43e(0x249)](),this[_0x35d43e(0x1f4)][_0x35d43e(0x348)](_0x255d91),this['_send']({'type':0x0,'memberID':this[_0x35d43e(0x2ec)],'unitIDs':[_0x255d91],'isForwarded':!0x1});}[_0x10be63(0x1dc)](_0x270df4){const _0x764631=_0x10be63;this[_0x764631(0x1f4)][_0x764631(0x315)](_0x270df4),this[_0x764631(0x1f4)][_0x764631(0x303)]===0x0&&this[_0x764631(0x2c9)]&&window[_0x764631(0x1c7)](this['_heartbeatTimer']);}[_0x10be63(0x144)](){const _0x2799f3=_0x10be63;this[_0x2799f3(0x2fc)](_0x5d3d6f(_0x4598ac(window,'storage')['subscribe'](_0x341edd=>{const _0x1ab5c3=_0x2799f3;if(_0x341edd[_0x1ab5c3(0x2ea)]!==nt||!_0x341edd['newValue'])return;const _0x55372e=JSON[_0x1ab5c3(0x1d9)](_0x341edd['newValue']);this[_0x1ab5c3(0x2e7)](_0x55372e);}))),window['addEventListener'](_0x2799f3(0x2cf),()=>this[_0x2799f3(0x31d)]({'type':0x1,'memberID':this[_0x2799f3(0x2ec)],'unitIDs':Array[_0x2799f3(0x22b)](this[_0x2799f3(0x1f4)])}));}[_0x10be63(0x2e7)](_0x13238d){const _0x3994f7=_0x10be63;switch(_0x13238d[_0x3994f7(0x31e)]){case 0x0:this[_0x3994f7(0x34a)](_0x13238d);break;case 0x1:this['_handleLeaveEvent'](_0x13238d);break;case 0x2:this[_0x3994f7(0x15c)](_0x13238d);break;}}['_handleJoinEvent'](_0x572160){const _0x1606cd=_0x10be63,{unitIDs:_0x57f81c,memberID:_0x5064d6,isForwarded:_0x5913b7}=_0x572160;_0x57f81c[_0x1606cd(0x225)](_0x48a705=>{const _0x26e485=_0x1606cd;if(!_0x5913b7&&this[_0x26e485(0x2f3)][_0x26e485(0x2b2)](_0x48a705)&&this[_0x26e485(0x29b)](_0x48a705)[_0x26e485(0x2d3)](_0x13f41b['OTHER_CLIENTS_EDITING']),!this[_0x26e485(0x2f3)][_0x26e485(0x2b2)](_0x48a705)||!this[_0x26e485(0x2f3)]['get'](_0x48a705)[_0x26e485(0x2b2)](_0x5064d6)){const _0x45b9fe=this[_0x26e485(0x2f3)]['get'](_0x48a705)||new Set();_0x45b9fe[_0x26e485(0x348)](_0x5064d6),this['_unitOnClients'][_0x26e485(0x21f)](_0x48a705,_0x45b9fe),this[_0x26e485(0x148)](_0x5064d6);}}),_0x5913b7||this['_send']({'type':0x0,'memberID':this[_0x1606cd(0x2ec)],'unitIDs':[...this[_0x1606cd(0x1f4)]],'isForwarded':!0x0});}[_0x10be63(0x148)](_0x1ce522){const _0x4d77b8=_0x10be63;this[_0x4d77b8(0x199)](_0x1ce522);const _0x4ad6b0=window[_0x4d77b8(0x1f1)](()=>{const _0x28beb6=_0x4d77b8;this[_0x28beb6(0x2f3)]['forEach'](_0x327e61=>{const _0x49ad7d=_0x28beb6;_0x327e61[_0x49ad7d(0x315)](_0x1ce522);});},it*0x2);this[_0x4d77b8(0x158)][_0x4d77b8(0x21f)](_0x1ce522,_0x4ad6b0);}['_removeClearOtherTimer'](_0xbdc2a4){const _0x598ca6=_0x10be63;if(this[_0x598ca6(0x158)]['has'](_0xbdc2a4)){const _0x56920c=this[_0x598ca6(0x158)][_0x598ca6(0x2c3)](_0xbdc2a4);_0x56920c&&window['clearTimeout'](_0x56920c),this[_0x598ca6(0x158)][_0x598ca6(0x21f)](_0xbdc2a4,null);}}[_0x10be63(0x24e)](_0x182243){const _0x58ab35=_0x10be63,{memberID:_0x1c5a33,unitIDs:_0x26a9ed}=_0x182243;_0x26a9ed[_0x58ab35(0x225)](_0x29d83b=>{const _0xc0a0f8=_0x58ab35;var _0x44e7b7;const _0x25ea41=this[_0xc0a0f8(0x2f3)][_0xc0a0f8(0x2c3)](_0x29d83b);_0x25ea41&&(_0x25ea41[_0xc0a0f8(0x315)](_0x1c5a33),(_0x44e7b7=this[_0xc0a0f8(0x29b)](_0x29d83b))==null||_0x44e7b7[_0xc0a0f8(0x2d3)](_0x25ea41[_0xc0a0f8(0x303)]===0x0?_0x13f41b['NO_OTHER_CLIENTS_EDITING']:_0x13f41b[_0xc0a0f8(0x276)]));}),this[_0x58ab35(0x199)](_0x1c5a33);}['_handleHeartbeatEvent'](_0x5c54c0){const _0x2eb4f6=_0x10be63;this['_scheduleClearOtherTimer'](_0x5c54c0[_0x2eb4f6(0x20a)]);}[_0x10be63(0x31d)](_0x49ef9e){const _0x46761c=_0x10be63;localStorage[_0x46761c(0x27c)](nt,JSON['stringify'](_0x49ef9e));}[_0x10be63(0x249)](){const _0x131104=_0x10be63;this[_0x131104(0x2c9)]=window[_0x131104(0x1d0)](()=>{const _0x162d7c=_0x131104;this[_0x162d7c(0x31d)]({'type':0x2,'memberID':this[_0x162d7c(0x2ec)]});},it);}[_0x10be63(0x29b)](_0x377ae7){const _0x3bfbc0=_0x10be63;return this[_0x3bfbc0(0x1f3)]['has'](_0x377ae7)||this[_0x3bfbc0(0x1f3)][_0x3bfbc0(0x21f)](_0x377ae7,new _0x226cf0(_0x13f41b[_0x3bfbc0(0x2fd)])),this[_0x3bfbc0(0x1f3)][_0x3bfbc0(0x2c3)](_0x377ae7);}}var Mt=(_0x5caa0f=>(_0x5caa0f[_0x5caa0f[_0x10be63(0x2ae)]=0x0]=_0x10be63(0x2ae),_0x5caa0f[_0x5caa0f['OK']=0x1]='OK',_0x5caa0f[_0x5caa0f[_0x10be63(0x307)]=0x2]=_0x10be63(0x307),_0x5caa0f[_0x5caa0f['PERMISSION_DENIED']=0x3]=_0x10be63(0x152),_0x5caa0f[_0x5caa0f[_0x10be63(0x22a)]=0x4]=_0x10be63(0x22a),_0x5caa0f[_0x5caa0f[_0x10be63(0x1ee)]=0x5]=_0x10be63(0x1ee),_0x5caa0f[_0x5caa0f[_0x10be63(0x2a9)]=0x6]=_0x10be63(0x2a9),_0x5caa0f[_0x5caa0f[_0x10be63(0x1da)]=0x7]=_0x10be63(0x1da),_0x5caa0f[_0x5caa0f[_0x10be63(0x30b)]=0x8]=_0x10be63(0x30b),_0x5caa0f[_0x5caa0f['COMPLETION_FINISHED']=0x9]=_0x10be63(0x1c1),_0x5caa0f[_0x5caa0f[_0x10be63(0x293)]=0xa]=_0x10be63(0x293),_0x5caa0f[_0x5caa0f[_0x10be63(0x177)]=0xb]=_0x10be63(0x177),_0x5caa0f[_0x5caa0f[_0x10be63(0x2b1)]=0xc]=_0x10be63(0x2b1),_0x5caa0f[_0x5caa0f['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5caa0f[_0x5caa0f[_0x10be63(0x183)]=0xe]=_0x10be63(0x183),_0x5caa0f[_0x5caa0f[_0x10be63(0x31b)]=0x1389]=_0x10be63(0x31b),_0x5caa0f[_0x5caa0f[_0x10be63(0x2f2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5caa0f[_0x5caa0f[_0x10be63(0x16c)]=0x1772]=_0x10be63(0x16c),_0x5caa0f[_0x5caa0f[_0x10be63(0x2b5)]=0x1773]=_0x10be63(0x2b5),_0x5caa0f[_0x5caa0f['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x5caa0f[_0x5caa0f[_0x10be63(0x2d2)]=0x1b5a]=_0x10be63(0x2d2),_0x5caa0f[_0x5caa0f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x10be63(0x1b6),_0x5caa0f[_0x5caa0f[_0x10be63(0x2b4)]=0x1b5c]=_0x10be63(0x2b4),_0x5caa0f[_0x5caa0f[_0x10be63(0x1aa)]=0x1b5d]=_0x10be63(0x1aa),_0x5caa0f[_0x5caa0f[_0x10be63(0x30f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5caa0f[_0x5caa0f[_0x10be63(0x19c)]=0x2329]=_0x10be63(0x19c),_0x5caa0f[_0x5caa0f[_0x10be63(0x280)]=0x232a]=_0x10be63(0x280),_0x5caa0f[_0x5caa0f[_0x10be63(0x25b)]=0x232b]=_0x10be63(0x25b),_0x5caa0f[_0x5caa0f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x10be63(0x1c9),_0x5caa0f[_0x5caa0f['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x5caa0f[_0x5caa0f['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x10be63(0x2e0),_0x5caa0f[_0x5caa0f[_0x10be63(0x255)]=0x2712]=_0x10be63(0x255),_0x5caa0f[_0x5caa0f[_0x10be63(0x22c)]=0x2713]=_0x10be63(0x22c),_0x5caa0f[_0x5caa0f['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x10be63(0x2a5),_0x5caa0f[_0x5caa0f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5caa0f[_0x5caa0f[_0x10be63(0x2ef)]=0x271b]=_0x10be63(0x2ef),_0x5caa0f[_0x5caa0f[_0x10be63(0x1cd)]=0x271c]=_0x10be63(0x1cd),_0x5caa0f[_0x5caa0f[_0x10be63(0x149)]=0x271d]=_0x10be63(0x149),_0x5caa0f[_0x5caa0f['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x10be63(0x278),_0x5caa0f[_0x5caa0f['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x5caa0f[_0x5caa0f[_0x10be63(0x1be)]=0x2720]=_0x10be63(0x1be),_0x5caa0f[_0x5caa0f[_0x10be63(0x33a)]=0x2af9]=_0x10be63(0x33a),_0x5caa0f[_0x5caa0f['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x10be63(0x22e),_0x5caa0f[_0x5caa0f['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x5caa0f[_0x5caa0f[_0x10be63(0x283)]=0x2ee3]=_0x10be63(0x283),_0x5caa0f[_0x5caa0f[_0x10be63(0x30d)]=0x2ee4]=_0x10be63(0x30d),_0x5caa0f[_0x5caa0f['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5caa0f[_0x5caa0f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x10be63(0x1ea),_0x5caa0f[_0x5caa0f[_0x10be63(0x1a5)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5caa0f[_0x5caa0f[_0x10be63(0x15d)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5caa0f[_0x5caa0f[_0x10be63(0x141)]=-0x1]=_0x10be63(0x141),_0x5caa0f))(Mt||{}),pn=Object[_0x10be63(0x228)],Cn=(_0x3065cf,_0x157b26,_0xf4e65e,_0x7bc87c)=>{const _0x5c40bd=_0x10be63;for(var _0x21a016=_0x7bc87c>0x1?void 0x0:_0x7bc87c?pn(_0x157b26,_0xf4e65e):_0x157b26,_0x41e995=_0x3065cf[_0x5c40bd(0x2f6)]-0x1,_0x4be671;_0x41e995>=0x0;_0x41e995--)(_0x4be671=_0x3065cf[_0x41e995])&&(_0x21a016=_0x4be671(_0x21a016)||_0x21a016);return _0x21a016;},be=(_0xf3c17f,_0x3bf0f6)=>(_0x1cd9c1,_0x2d2cc3)=>_0x3bf0f6(_0x1cd9c1,_0x2d2cc3,_0xf3c17f);let rt=class extends _0x38053b{constructor(_0xa18f3b,_0x1522d9,_0x157ef0){const _0x462289=_0x10be63;super(),this['_instanceService']=_0xa18f3b,this[_0x462289(0x202)]=_0x1522d9,this[_0x462289(0x1d3)]=_0x157ef0;}async[_0x10be63(0x20b)](_0xd4bdf4,_0x22e87a,_0x89fbcc,..._0x1b2b9e){const _0x135eff=_0x10be63;var _0x475fc9,_0x4d1d13,_0x110e30,_0x3149d9;const _0x3aed43=this[_0x135eff(0x166)][_0x135eff(0x19b)]();if(!_0x3aed43)throw new Error(_0x135eff(0x17f));const _0x50f94c=((_0x475fc9=this[_0x135eff(0x1d3)][_0x135eff(0x2d6)](_0x2fbd73))!=null?_0x475fc9:_0x571d04)+'/'+_0xd4bdf4+_0x135eff(0x292)+_0x22e87a,_0x4d3281=new URL(window[_0x135eff(0x1e2)][_0x135eff(0x2bf)]),_0x2a61fa={'scriptId':_0xd4bdf4,'runId':(_0x4d1d13=_0x4d3281['searchParams'][_0x135eff(0x2c3)](_0x135eff(0x2e8)))!=null?_0x4d1d13:'','function':_0x22e87a,'unitId':_0x3aed43['getUnitId'](),'argsOfFunction':JSON[_0x135eff(0x2aa)](_0x1b2b9e),'invokeId':(_0x110e30=_0x89fbcc[_0x135eff(0x1d6)])!=null?_0x110e30:'','executionId':(_0x3149d9=_0x89fbcc['executionId'])!=null?_0x3149d9:''};try{const _0x29f9c5=await this[_0x135eff(0x202)][_0x135eff(0x308)](_0x50f94c,{'body':_0x2a61fa});return _0x29f9c5[_0x135eff(0x1c0)][_0x135eff(0x2b0)]&&_0x29f9c5['body'][_0x135eff(0x2b0)][_0x135eff(0x27e)]!==Mt['OK']?_0x135eff(0x23d):_0x29f9c5[_0x135eff(0x1c0)][_0x135eff(0x1c6)];}catch{return _0x135eff(0x23d);}}};rt=Cn([be(0x0,_0x2d594b),be(0x1,_0x190800(_0xedb30f)),be(0x2,_0xdf5196)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x38fc52=_0x5890;(function(_0x4537e4,_0xca0cc6){const _0x5566a7=_0x5890,_0x58e7ff=_0x4537e4();while(!![]){try{const _0x4fb95d=-parseInt(_0x5566a7(0x285))/0x1+-parseInt(_0x5566a7(0x189))/0x2+-parseInt(_0x5566a7(0x115))/0x3*(-parseInt(_0x5566a7(0x1c7))/0x4)+-parseInt(_0x5566a7(0xfe))/0x5*(parseInt(_0x5566a7(0x163))/0x6)+-parseInt(_0x5566a7(0x127))/0x7+-parseInt(_0x5566a7(0x2c2))/0x8+-parseInt(_0x5566a7(0x15e))/0x9*(-parseInt(_0x5566a7(0x12e))/0xa);if(_0x4fb95d===_0xca0cc6)break;else _0x58e7ff['push'](_0x58e7ff['shift']());}catch(_0x377861){_0x58e7ff['push'](_0x58e7ff['shift']());}}}(_0x5ece,0x2750f));var $t=Object[_0x38fc52(0x154)],xt=(_0x14b34f,_0x17ab13,_0x1dd1e3)=>_0x17ab13 in _0x14b34f?$t(_0x14b34f,_0x17ab13,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dd1e3}):_0x14b34f[_0x17ab13]=_0x1dd1e3,_=(_0x213663,_0x3d5667,_0x5450f2)=>xt(_0x213663,typeof _0x3d5667!=_0x38fc52(0x162)?_0x3d5667+'':_0x3d5667,_0x5450f2);import{MemberService as _0x1fbca3,SessionStatus as _0x3ad770,CollaborationSessionService as _0x4a001c,CollaborationStatus as _0xa4e658,CollaborationController as _0x4823da,ILocalCacheService as _0x5ea69b,CollaborationUIEventService as _0x38ef66,CollaborationUIEventId as _0x1acec1,DataLoaderService as _0x4a672a,DocCollaborationEntity as _0x57db30,getLocalCacheKey as _0xa3cb90,LOCAL_CACHE_INTERVAL as _0x24f890,LOCAL_CACHE_INTERVAL_KEY as _0x1e71b3,UniverCollaborationClientPlugin as _0x47d9c9,CollaborationSocketService as _0x26fbbb,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5b691c,DEFAULT_WS_SESSION_TICKET_URL as _0xcc50b8,UnitStatus as _0x396e17,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3fdb3f,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x285ce8}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1b1f7c,Disposable as _0x234aca,DOC_RANGE_TYPE as _0x5b70d6,Inject as _0x9b1a66,Injector as _0x264ee9,IUniverInstanceService as _0x12ea05,ICommandService as _0x349e65,debounce as _0x3827ab,Rectangle as _0x546eb3,DisposableCollection as _0x29b5e1,toDisposable as _0x34e549,UniverInstanceType as _0x4abec6,Tools as _0x128666,COLORS as _0x4948d9,ColorKit as _0x44c820,ThemeService as _0x20b63c,fromEventSubject as _0x1106ba,LocaleService as _0x17af14,createIdentifier as _0x3faa77,ILogService as _0x13e4f2,Optional as _0x16d4ab,Workbook as _0xb6d1cc,CommandType as _0x528096,IConfigService as _0x1d6be9,ILocalStorageService as _0x21e443,DependentOn as _0x501718,Plugin as _0x4898cf,merge as _0x3e62cc,registerDependencies as _0x542720,mergeOverrideWithDependencies as _0x5ea94f,touchDependencies as _0x1190b3,generateRandomId as _0x39ba7d}from'@univerjs/core';import{Shape as _0x2bb12a,Rect as _0x5f2004,getColor as _0x32d24d,RegularPolygon as _0x1a4834,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2e9176,Vector2 as _0x4f0060,SHEET_VIEWPORT_KEY as _0x14a60d,IRenderManagerService as _0x42117}from'@univerjs/engine-render';import{ISocketService as _0x1e0983,WebSocketService as _0x156c43,HTTPService as _0x17ded4}from'@univerjs/network';function _0x5890(_0x30dddb,_0x8dbed7){const _0x5ece91=_0x5ece();return _0x5890=function(_0x58908a,_0x38f872){_0x58908a=_0x58908a-0xc5;let _0x5d7fd2=_0x5ece91[_0x58908a];return _0x5d7fd2;},_0x5890(_0x30dddb,_0x8dbed7);}import{IDocClipboardService as _0x52b816,NodePositionConvertToCursor as _0x5848a7,NodePositionConvertToRectRange as _0x125486,TEXT_RANGE_LAYER_INDEX as _0x249355,SetDocZoomRatioOperation as _0x1c37d5,DocIMEInputManagerService as _0x599c6e,DocStateChangeManagerService as _0x1bbf96}from'@univerjs/docs-ui';import{IImageIoService as _0x420322}from'@univerjs/drawing';import{BehaviorSubject as _0x5250b5,debounceTime as _0x3cf1dd,takeUntil as _0x258676,Subject as _0x46e7d4,filter as _0x5bda9c,switchMap as _0x4705a2,merge as _0x2dddf2,combineLatest as _0xb34ae,of as _0x28b09b,fromEvent as _0x42dee8,shareReplay as _0x50b654,mapTo as _0x21c168,distinctUntilChanged as _0x411534}from'rxjs';import{ITransformService as _0x1e9735,CollaborationEvent as _0x52befb,isTransformMutationFailure as _0x16e003,isTransformMutationsWithChangesetSuccess as _0x41ea54,RevisionService as _0x4b26ad,ISnapshotServerService as _0xbff727}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x189392,RichTextEditingMutation as _0x23f528,DocSelectionManagerService as _0x296788,DocSkeletonManagerService as _0x5d3670}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x545b7a,serializeRangeWithSheet as _0x1c543b}from'@univerjs/engine-formula';import{RefRangeService as _0x472a22,SetSelectionsOperation as _0x455264,SheetsSelectionsService as _0x947098,EffectRefRangId as _0x3b8932,handleIRemoveRow as _0x122458,handleIRemoveCol as _0x5cc1a5,handleMoveRange as _0x51cd2a,handleInsertRow as _0xa7398c,handleInsertRangeMoveRight as _0x3a1928,handleInsertRangeMoveDown as _0x6c04b8,handleInsertCol as _0x587ca2,handleDeleteRangeMoveUp as _0x4a12d9,handleDeleteRangeMoveLeft as _0x10032f,runRefRangeMutations as _0x1cfdf9,SetWorksheetActivateCommand as _0x45fb5f}from'@univerjs/sheets';import{map as _0x1da4f9,filter as _0x4848db,throttleTime as _0x4459a7,takeUntil as _0xd13f64,switchMap as _0x18e6bc}from'rxjs/operators';import{SheetSkeletonManagerService as _0x22ba38,getCoordByCell as _0x30c90e,getSheetObject as _0x484ae5}from'@univerjs/sheets-ui';import{jsx as _0x1204df,jsxs as _0x2f96b3}from'react/jsx-runtime';import{useObservable as _0x16fdaf,useDependency as _0x3dc5a9,IUIPartsService as _0x520fb0,BuiltInUIPart as _0x4f068b,connectInjector as _0x48240e,IBeforeCloseService as _0x363bcd,IMessageService as _0x479cb5,INotificationService as _0x4ef212}from'@univerjs/ui';import{Tooltip as _0x517cc6,clsx as _0x1938fa,MessageType as _0x284a2b}from'@univerjs/design';import{forwardRef as _0x307066,useRef as _0x48d0a2,createElement as _0x29ffd6,useCallback as _0x507d41}from'react';import{IRemoteInstanceService as _0x4fa5bf}from'@univerjs/rpc';var ci=Object[_0x38fc52(0x11d)],li=(_0x3d7729,_0x5e30a7,_0x29ca5e,_0x29f435)=>{const _0x24710c=_0x38fc52;for(var _0x3de2b7=_0x29f435>0x1?void 0x0:_0x29f435?ci(_0x5e30a7,_0x29ca5e):_0x5e30a7,_0x59c12e=_0x3d7729[_0x24710c(0x269)]-0x1,_0x24a276;_0x59c12e>=0x0;_0x59c12e--)(_0x24a276=_0x3d7729[_0x59c12e])&&(_0x3de2b7=_0x24a276(_0x3de2b7)||_0x3de2b7);return _0x3de2b7;},Je=(_0x5f2445,_0x3f86b9)=>(_0x292a61,_0x1f069d)=>_0x3f86b9(_0x292a61,_0x1f069d,_0x5f2445);let Ne=class extends _0x1b1f7c{constructor(_0x42d130,_0x255765){const _0x35033b=_0x38fc52;super(),this['_docClipboardService']=_0x42d130,this[_0x35033b(0x107)]=_0x255765,this['_init']();}['_init'](){const _0x46896b=_0x38fc52,_0x100657=this;this['disposeWithMe'](this[_0x46896b(0xc5)][_0x46896b(0x151)]({'onBeforePasteImage':async _0x29f60a=>{const _0x54de95=_0x46896b,_0xc817d8=await _0x100657['_imageIoService'][_0x54de95(0xea)](_0x29f60a);return _0xc817d8?{'source':_0xc817d8[_0x54de95(0x2b9)],'imageSourceType':_0xc817d8[_0x54de95(0x2ba)]}:null;}}));}};Ne=li([Je(0x0,_0x52b816),Je(0x1,_0x420322)],Ne);const Ze=[_0x38fc52(0x241),_0x38fc52(0x11b),'green.600',_0x38fc52(0x168),_0x38fc52(0x282),_0x38fc52(0x143)];class ke extends _0x234aca{constructor(){const _0x4c608c=_0x38fc52;super(...arguments),_(this,_0x4c608c(0x1e7),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x3eafe5){const _0x4ca8ed=_0x38fc52;if(this['_assignedColors'][_0x4ca8ed(0x1ea)](_0x3eafe5))return this[_0x4ca8ed(0x1e7)][_0x4ca8ed(0x1b6)](_0x3eafe5);const _0x3caa52=Ze[this[_0x4ca8ed(0x26a)]];return this[_0x4ca8ed(0x26a)]=(this[_0x4ca8ed(0x26a)]+0x1)%Ze[_0x4ca8ed(0x269)],this[_0x4ca8ed(0x1e7)]['set'](_0x3eafe5,_0x3caa52),_0x3caa52;}}function Tt(_0x25ae97){const _0x147d81=_0x38fc52;let _0x56d7b2='';for(const _0x67de38 of _0x25ae97){const {startOffset:_0x18703e,endOffset:_0x23a437,isActive:_0x30cfa6,rangeType:_0x21c649,segmentId:_0x3f4064,segmentPage:_0x4808c8}=_0x67de38;_0x56d7b2[_0x147d81(0x269)]&&(_0x56d7b2+=','),_0x56d7b2+=_0x18703e+':'+_0x23a437+':'+(_0x30cfa6?'1':'0')+':'+_0x21c649+':'+_0x3f4064+':'+_0x4808c8;}return _0x56d7b2;}function _i(_0x21d9c7){const _0x46a53e=_0x38fc52,_0x28990c=_0x21d9c7[_0x46a53e(0x176)](','),_0x125af5=[];for(const _0x434433 of _0x28990c){const [_0x12963b,_0x1d03db,_0x11e504,_0x556509,_0x45a84e,_0x5c4fd7]=_0x434433[_0x46a53e(0x176)](':');_0x125af5[_0x46a53e(0x13e)]({'startOffset':Number(_0x12963b),'endOffset':Number(_0x1d03db),'collapsed':_0x12963b===_0x1d03db,'isActive':_0x11e504==='1','rangeType':_0x556509===_0x5b70d6[_0x46a53e(0xfd)]?_0x5b70d6[_0x46a53e(0xfd)]:_0x5b70d6[_0x46a53e(0x27d)],'segmentId':typeof _0x45a84e=='string'?String(_0x45a84e):'','segmentPage':Number(_0x5c4fd7!=null?_0x5c4fd7:-0x1)});}return _0x125af5['some'](_0x38b68b=>_0x38b68b[_0x46a53e(0x22d)])||(_0x125af5[0x0][_0x46a53e(0x22d)]=!0x0),_0x125af5;}class He extends _0x1b1f7c{constructor(){const _0x1bf19f=_0x38fc52;super(...arguments),_(this,'_collabCursorState$',new _0x5250b5(null)),_(this,_0x1bf19f(0x11a),this[_0x1bf19f(0x287)][_0x1bf19f(0x12d)]());}['syncEditingCollabCursor'](_0x5e6b30){const _0x1147d3=_0x38fc52,{unitID:_0x3c7e38,memberID:_0x31e760,textRanges:_0x31af24}=_0x5e6b30,_0x1f3c00=Tt(_0x31af24);if(_0x1f3c00==='')return;const _0x351ade={'unitID':_0x3c7e38,'memberID':_0x31e760,'selection':_0x1f3c00};this[_0x1147d3(0x287)][_0x1147d3(0x1de)](_0x351ade);}}var hi=Object[_0x38fc52(0x11d)],ui=(_0x24e3f3,_0x23b56f,_0xb67094,_0x24a2ea)=>{for(var _0x391f67=_0x24a2ea>0x1?void 0x0:_0x24a2ea?hi(_0x23b56f,_0xb67094):_0x23b56f,_0x4dd4e3=_0x24e3f3['length']-0x1,_0x2d0c45;_0x4dd4e3>=0x0;_0x4dd4e3--)(_0x2d0c45=_0x24e3f3[_0x4dd4e3])&&(_0x391f67=_0x2d0c45(_0x391f67)||_0x391f67);return _0x391f67;},P=(_0x316c15,_0x58c032)=>(_0x68a34f,_0x51568b)=>_0x58c032(_0x68a34f,_0x51568b,_0x316c15);const di=0x12c,fi=0x64;let Ue=class extends _0x1b1f7c{constructor(_0x50820a,_0x682886,_0x2483aa,_0x1b54b9,_0x57d327,_0x465c29,_0x15b5e8,_0x36312a,_0x564229){const _0x41af61=_0x38fc52;super(),_(this,'_online',!0x1),_(this,_0x41af61(0x11e),!0x1),_(this,_0x41af61(0x10e),new _0x5250b5(new Map())),_(this,_0x41af61(0x276),this['_cursorInfo$'][_0x41af61(0x12d)]()),_(this,_0x41af61(0x190),new _0x5250b5([])),_(this,_0x41af61(0xd9),this[_0x41af61(0x190)][_0x41af61(0x2bd)](_0x3cf1dd(di))),_(this,_0x41af61(0x13d),_0x3827ab(_0x1c6d26=>{const _0xf86dd=_0x41af61,_0x1b3ba4={'eventID':_0x52befb['UPDATE_CURSOR'],'data':{'unitID':this[_0xf86dd(0xe4)],'memberID':this[_0xf86dd(0x113)][_0xf86dd(0x27b)](),'selection':Tt(_0x1c6d26)}};this[_0xf86dd(0x113)][_0xf86dd(0x235)](_0x1b3ba4,this[_0xf86dd(0xe4)]);},fi)),(this[_0x41af61(0xe4)]=_0x50820a,this['_session']=_0x682886,this[_0x41af61(0x145)]=_0x2483aa,this['_colorAssignService']=_0x1b54b9,this['_memberService']=_0x57d327,this[_0x41af61(0xda)]=_0x465c29,this[_0x41af61(0xce)]=_0x15b5e8,this[_0x41af61(0x198)]=_0x36312a,this['_commandService']=_0x564229);}get['cursorInfo'](){const _0x5739a3=_0x38fc52;return this[_0x5739a3(0x10e)][_0x5739a3(0x188)]();}get[_0x38fc52(0x294)](){const _0x1b56d4=_0x38fc52;return this[_0x1b56d4(0x190)][_0x1b56d4(0x188)]();}[_0x38fc52(0x195)](){const _0x41d556=_0x38fc52;super[_0x41d556(0x195)](),this['_cursorInfo$'][_0x41d556(0x1de)](new Map()),this[_0x41d556(0x10e)]['complete'](),this[_0x41d556(0x190)][_0x41d556(0x1de)]([]),this[_0x41d556(0x190)][_0x41d556(0x2be)]();}[_0x38fc52(0x16d)](){const _0x425436=_0x38fc52;this['_init']||(this['_init']=!0x0,this[_0x425436(0x113)][_0x425436(0x1ca)]['pipe'](_0x258676(this[_0x425436(0x2b6)]))[_0x425436(0x26e)](_0x836679=>{const _0x2a4109=_0x425436;_0x836679===_0x3ad770[_0x2a4109(0x220)]?this[_0x2a4109(0x165)]():this[_0x2a4109(0x15c)]();}),this[_0x425436(0x113)][_0x425436(0x2b7)][_0x425436(0x2bd)](_0x258676(this[_0x425436(0x2b6)]))[_0x425436(0x26e)](_0x148f81=>{const _0x4b2fe0=_0x425436,_0x1039a8=_0x148f81[_0x4b2fe0(0x1d2)];_0x1039a8===_0x52befb['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x148f81),_0x1039a8===_0x52befb['USERS_LEAVE']&&this[_0x4b2fe0(0x1c2)](_0x148f81);}),this[_0x425436(0x2c9)](this['_commandService'][_0x425436(0x178)](_0x15f588=>{const _0x3d66d5=_0x425436,_0x58de6a=_0x15f588[_0x3d66d5(0x217)];_0x58de6a!=null&&this[_0x3d66d5(0x22e)]&&_0x15f588['id']===_0x189392['id']&&_0x58de6a['unitId']===this['unitID']&&_0x58de6a[_0x3d66d5(0x251)]===!0x1&&_0x58de6a[_0x3d66d5(0x1a0)][_0x3d66d5(0x269)]>0x0&&this[_0x3d66d5(0x13d)](_0x58de6a[_0x3d66d5(0x1a0)]);})),this['_syncEditingCollabCursorService'][_0x425436(0x11a)][_0x425436(0x2bd)](_0x258676(this[_0x425436(0x2b6)]))[_0x425436(0x26e)](_0x43aa5d=>{const _0x1836d5=_0x425436;if((_0x43aa5d==null?void 0x0:_0x43aa5d[_0x1836d5(0xe4)])!==this[_0x1836d5(0xe4)])return;const _0x38905a={'eventID':_0x52befb[_0x1836d5(0xe8)],'data':_0x43aa5d};this[_0x1836d5(0x280)](_0x38905a);}),this['disposeWithMe'](this[_0x425436(0x205)][_0x425436(0x178)](_0x339620=>{const _0xea67b2=_0x425436;if(_0x339620[_0xea67b2(0x217)]==null)return;const _0x427e38=_0x339620[_0xea67b2(0x217)];if(_0x339620['id']!==_0x23f528['id']||_0x427e38[_0xea67b2(0x2b3)]!==this['unitID'])return;const _0x38558e={'id':'doc.mutation.rich-text-editing','params':_0x427e38},_0x36befb=this[_0xea67b2(0x123)];for(const [_0x3226eb,_0x3ed335]of _0x36befb){const _0x423517={'id':_0xea67b2(0x15f),'params':{'unitId':this[_0xea67b2(0xe4)],'actions':null,'textRanges':_0x3ed335[_0xea67b2(0x1a0)]}},_0x11743d=this[_0xea67b2(0xce)]['transformMutation'](_0x38558e,_0x423517,!0x1);if(_0x16e003(_0x11743d))throw _0x11743d['error'];_0x36befb[_0xea67b2(0x18a)](_0x3226eb,{..._0x3ed335,'ranges':_0x11743d[_0xea67b2(0xe0)][_0xea67b2(0x217)][_0xea67b2(0xd1)]});}queueMicrotask(()=>{const _0x44159f=_0xea67b2;this[_0x44159f(0x10e)][_0x44159f(0x1de)](_0x36befb);});})));}[_0x38fc52(0x280)](_0x504672){const _0x305d9e=_0x38fc52;var _0x2bbf58,_0x5b0812;const {memberID:_0x5326ac,selection:_0x6e2d00}=_0x504672[_0x305d9e(0x1a8)],_0x3da838=_i(_0x6e2d00),_0x2a94d8=(_0x5b0812=(_0x2bbf58=this['_memberService'][_0x305d9e(0x119)](this[_0x305d9e(0xe4)],_0x5326ac))==null?void 0x0:_0x2bbf58[_0x305d9e(0x2ac)])!=null?_0x5b0812:_0x305d9e(0x1d9),_0x2f898f={'color':this['_colorAssignService'][_0x305d9e(0x144)](_0x5326ac),'name':_0x2a94d8,'ranges':_0x3da838},_0x405053=this[_0x305d9e(0x123)];_0x405053[_0x305d9e(0x18a)](_0x5326ac,_0x2f898f),this[_0x305d9e(0x10e)][_0x305d9e(0x1de)](_0x405053);}[_0x38fc52(0x1c2)](_0x5e6cd6){const _0x3371dd=_0x38fc52,{memberID:_0x4b8cd7}=_0x5e6cd6[_0x3371dd(0x1a8)],_0xde7a7=this[_0x3371dd(0x123)];_0xde7a7['delete'](_0x4b8cd7),this[_0x3371dd(0x10e)]['next'](_0xde7a7);}[_0x38fc52(0x165)](){const _0x1b160d=_0x38fc52;var _0xbc0af7;if(this[_0x1b160d(0x22e)]=!0x0,((_0xbc0af7=this[_0x1b160d(0x198)][_0x1b160d(0x121)]())==null?void 0x0:_0xbc0af7[_0x1b160d(0x21d)]())!==this['unitID'])return;const _0xc8e1b2=this['_injector']['get'](_0x296788)[_0x1b160d(0x288)]();Array[_0x1b160d(0x2ab)](_0xc8e1b2)&&_0xc8e1b2[_0x1b160d(0x269)]>0x0&&this[_0x1b160d(0x13d)](_0xc8e1b2);}[_0x38fc52(0x15c)](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x9b1a66(_0x264ee9)),P(0x3,_0x9b1a66(ke)),P(0x4,_0x9b1a66(_0x1fbca3)),P(0x5,_0x9b1a66(He)),P(0x6,_0x1e9735),P(0x7,_0x12ea05),P(0x8,_0x349e65)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x122daf,_0x259bad,_0x3709b1,_0xbd95a0)=>{const _0x204799=_0x38fc52;for(var _0x792b54=_0xbd95a0>0x1?void 0x0:_0xbd95a0?Si(_0x259bad,_0x3709b1):_0x259bad,_0x51b305=_0x122daf[_0x204799(0x269)]-0x1,_0x10730c;_0x51b305>=0x0;_0x51b305--)(_0x10730c=_0x122daf[_0x51b305])&&(_0x792b54=_0x10730c(_0x792b54)||_0x792b54);return _0x792b54;},x=(_0x2064b1,_0x2e2a84)=>(_0x365a19,_0x5e3b9a)=>_0x2e2a84(_0x365a19,_0x5e3b9a,_0x2064b1);const Ii=0x12c,gi=0x64,vi=()=>{let _0x3c13b6=[],_0x3ad51a=!0x1;return _0x2cc7e8=>{_0x3c13b6['push'](_0x2cc7e8),_0x3ad51a||(_0x3ad51a=!0x0,setTimeout(()=>{_0x3c13b6['forEach'](_0x5b311e=>_0x5b311e()),_0x3c13b6=[],_0x3ad51a=!0x1;}));};};let Me=class extends _0x1b1f7c{constructor(_0x2f8a35,_0x299882,_0x5be81e,_0x3d6147,_0x2b1add,_0x5d1239,_0x394560,_0x2e6eb1){const _0xa83fe7=_0x38fc52;super(),_(this,_0xa83fe7(0x22e),!0x1),_(this,'_init',!0x1),_(this,_0xa83fe7(0x10e),new _0x5250b5(new Map())),_(this,_0xa83fe7(0x276),this[_0xa83fe7(0x10e)][_0xa83fe7(0x12d)]()),_(this,_0xa83fe7(0x190),new _0x5250b5([])),_(this,_0xa83fe7(0xd9),this[_0xa83fe7(0x190)][_0xa83fe7(0x2bd)](_0x3cf1dd(Ii))),_(this,_0xa83fe7(0x13d),_0x3827ab((_0x2544f0,_0x12563c)=>{const _0x2d73a5=_0xa83fe7,_0x130455={'eventID':_0x52befb[_0x2d73a5(0xe8)],'data':{'unitID':this[_0x2d73a5(0xe4)],'memberID':this[_0x2d73a5(0x113)]['getMemberID'](),'selection':_0x1c543b(_0x2544f0,_0x12563c[_0x2d73a5(0x20e)])}};this['_session'][_0x2d73a5(0x235)](_0x130455,this[_0x2d73a5(0xe4)]);},gi)),(this[_0xa83fe7(0xe4)]=_0x2f8a35,this[_0xa83fe7(0x113)]=_0x299882,this[_0xa83fe7(0x145)]=_0x5be81e,this['_colorAssignService']=_0x3d6147,this[_0xa83fe7(0x16b)]=_0x2b1add,this[_0xa83fe7(0x198)]=_0x5d1239,this['_commandService']=_0x394560,this[_0xa83fe7(0x148)]=_0x2e6eb1);}get[_0x38fc52(0x123)](){const _0x2ea0b4=_0x38fc52;return this[_0x2ea0b4(0x10e)]['getValue']();}get[_0x38fc52(0x294)](){return this['_roomMembers$']['getValue']();}[_0x38fc52(0x195)](){const _0x149703=_0x38fc52;super[_0x149703(0x195)](),this[_0x149703(0x10e)][_0x149703(0x1de)](new Map()),this['_cursorInfo$'][_0x149703(0x2be)](),this[_0x149703(0x190)][_0x149703(0x1de)]([]),this['_roomMembers$'][_0x149703(0x2be)]();}[_0x38fc52(0x16d)](){const _0x25eb41=_0x38fc52;this['_init']||(this[_0x25eb41(0x11e)]=!0x0,this['_session'][_0x25eb41(0x1ca)]['pipe'](_0x258676(this[_0x25eb41(0x2b6)]))[_0x25eb41(0x26e)](_0x4b60c6=>{const _0x22ff10=_0x25eb41;_0x4b60c6===_0x3ad770[_0x22ff10(0x220)]?this[_0x22ff10(0x165)]():this[_0x22ff10(0x15c)]();}),this[_0x25eb41(0x113)]['event$'][_0x25eb41(0x2bd)](_0x258676(this[_0x25eb41(0x2b6)]))['subscribe'](_0x4ce290=>{const _0x37651f=_0x25eb41,_0xc96633=_0x4ce290[_0x37651f(0x1d2)];_0xc96633===_0x52befb[_0x37651f(0xe8)]&&this['_onCursorUpdate'](_0x4ce290),_0xc96633===_0x52befb[_0x37651f(0x1e9)]&&this['_onCursorDelete'](_0x4ce290);}),this[_0x25eb41(0x18f)](),this[_0x25eb41(0x2c9)](this[_0x25eb41(0x205)][_0x25eb41(0x178)](_0x4d660c=>{const _0x1de8b9=_0x25eb41;if(this[_0x1de8b9(0x22e)]&&_0x4d660c['id']===_0x455264['id']&&_0x4d660c['params']['unitId']===this[_0x1de8b9(0xe4)]){const _0x4b606c=_0x4d660c[_0x1de8b9(0x217)];this[_0x1de8b9(0x13d)](_0x4b606c[_0x1de8b9(0x255)],_0x4b606c['selections'][0x0]);}})));}[_0x38fc52(0x280)](_0x263b99){const _0x4d759a=_0x38fc52;var _0xb2f9fe,_0x4de62d;const {memberID:_0x1e36f9,selection:_0x47d377}=_0x263b99[_0x4d759a(0x1a8)],{sheetName:_0x55b802,range:_0x40237f}=_0x545b7a(_0x47d377),_0x268397={'name':(_0x4de62d=(_0xb2f9fe=this[_0x4d759a(0x16b)][_0x4d759a(0x119)](this[_0x4d759a(0xe4)],_0x1e36f9))==null?void 0x0:_0xb2f9fe[_0x4d759a(0x2ac)])!=null?_0x4de62d:_0x4d759a(0x1d9),'range':this[_0x4d759a(0x2cf)](_0x55b802,_0x40237f),'sheetID':_0x55b802,'color':this[_0x4d759a(0x16a)][_0x4d759a(0x144)](_0x1e36f9),'selection':_0x47d377},_0x1a1823=this[_0x4d759a(0x123)];_0x1a1823['set'](_0x1e36f9,_0x268397),this['_cursorInfo$']['next'](_0x1a1823);}[_0x38fc52(0x1c2)](_0x313988){const _0x3557b2=_0x38fc52,{memberID:_0x14c1dc}=_0x313988[_0x3557b2(0x1a8)],_0x192156=this[_0x3557b2(0x123)];_0x192156[_0x3557b2(0x19c)](_0x14c1dc),this[_0x3557b2(0x10e)]['next'](_0x192156);}[_0x38fc52(0x2cf)](_0x1143aa,_0x4bcc55){const _0x31d75b=_0x38fc52;var _0x37ef2f,_0x145205;const _0x4d94c6=(_0x145205=(_0x37ef2f=this['_univerInstanceService'][_0x31d75b(0x1c0)](this['unitID']))==null?void 0x0:_0x37ef2f[_0x31d75b(0x2a4)](_0x1143aa))==null?void 0x0:_0x145205[_0x31d75b(0x14d)]();return(_0x4d94c6==null?void 0x0:_0x4d94c6['find'](_0x533043=>_0x546eb3[_0x31d75b(0x22f)](_0x533043,_0x4bcc55)))||_0x4bcc55;}[_0x38fc52(0x18f)](){const _0x3d9c13=_0x38fc52,_0x204685=new _0x29b5e1(),_0x4650cb=vi(),_0x3f43e4=()=>{const _0x25aa09=_0x5890;_0x204685['dispose']();const _0x2603d5=(_0x3de94d,_0x32f178,_0x3e93b3,_0x223dd1)=>{const _0x4b674=_0x5890;let _0x201a00=[];switch(_0x3de94d['id']){case _0x3b8932[_0x4b674(0x133)]:{_0x201a00=_0x10032f(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x1fc)]:{_0x201a00=_0x4a12d9(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x21b)]:{_0x201a00=_0x587ca2(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x268)]:{_0x201a00=_0x6c04b8(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x260)]:{_0x201a00=_0x3a1928(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x213)]:{_0x201a00=_0xa7398c(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x2a0)]:{_0x201a00=_0x51cd2a(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x299)]:{_0x201a00=_0x5cc1a5(_0x3de94d,_0x223dd1);break;}case _0x3b8932[_0x4b674(0x129)]:{_0x201a00=_0x122458(_0x3de94d,_0x223dd1);break;}}const _0x406abe=_0x1cfdf9(_0x201a00,_0x223dd1),_0x29d210=this[_0x4b674(0x123)][_0x4b674(0x1b6)](_0x32f178);if(_0x29d210&&_0x406abe){const _0x49a613={..._0x29d210,'range':_0x406abe};this['cursorInfo'][_0x4b674(0x18a)](_0x32f178,_0x49a613),_0x4650cb(()=>{const _0x5b5e15=_0x4b674,_0x38a71a=this['_refRangeService'][_0x5b5e15(0x197)](_0x406abe,_0x56929e=>(_0x38a71a[_0x5b5e15(0x195)](),_0x2603d5(_0x56929e,_0x32f178,_0x3e93b3,_0x406abe)));_0x204685['add'](_0x38a71a);});}return{'redos':[],'undos':[]};};this[_0x25aa09(0x123)]['forEach']((_0x38b453,_0x5e0612)=>{const _0x27dca9=_0x25aa09,{range:_0x554012,sheetID:_0x559724}=_0x38b453,_0x279db0=this[_0x27dca9(0x148)][_0x27dca9(0x197)](_0x554012,_0x1d0702=>(_0x279db0[_0x27dca9(0x195)](),_0x2603d5(_0x1d0702,_0x5e0612,_0x559724,_0x554012)));_0x204685[_0x27dca9(0xf0)](_0x279db0);});};this[_0x3d9c13(0x2c9)](_0x34e549(this[_0x3d9c13(0x10e)][_0x3d9c13(0x26e)](()=>{_0x3f43e4();})));}[_0x38fc52(0x165)](){const _0x2ef6a2=_0x38fc52;var _0x3c3c43,_0x9bcfbc;if(this[_0x2ef6a2(0x22e)]=!0x0,((_0x3c3c43=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x3c3c43[_0x2ef6a2(0x21d)]())!==this[_0x2ef6a2(0xe4)])return;const _0x3bdc0c=(_0x9bcfbc=this[_0x2ef6a2(0x145)][_0x2ef6a2(0x1b6)](_0x947098)[_0x2ef6a2(0x1ff)]())==null?void 0x0:_0x9bcfbc[0x0],_0x23b733=this[_0x2ef6a2(0x198)]['getCurrentUnitForType'](_0x4abec6['UNIVER_SHEET'])['getActiveSheet']();_0x3bdc0c&&_0x23b733&&this[_0x2ef6a2(0x13d)](_0x23b733[_0x2ef6a2(0x20c)](),_0x3bdc0c);}[_0x38fc52(0x15c)](){const _0x4c0baa=_0x38fc52;this[_0x4c0baa(0x22e)]=!0x1;}};Me=mi([x(0x2,_0x9b1a66(_0x264ee9)),x(0x3,_0x9b1a66(ke)),x(0x4,_0x9b1a66(_0x1fbca3)),x(0x5,_0x12ea05),x(0x6,_0x349e65),x(0x7,_0x9b1a66(_0x472a22))],Me);var pi=Object[_0x38fc52(0x11d)],Ci=(_0x3d9df2,_0x3b2850,_0x6f337,_0x44279d)=>{const _0x2167d1=_0x38fc52;for(var _0x2136f4=_0x44279d>0x1?void 0x0:_0x44279d?pi(_0x3b2850,_0x6f337):_0x3b2850,_0x3b8a03=_0x3d9df2[_0x2167d1(0x269)]-0x1,_0x4278f5;_0x3b8a03>=0x0;_0x3b8a03--)(_0x4278f5=_0x3d9df2[_0x3b8a03])&&(_0x2136f4=_0x4278f5(_0x2136f4)||_0x2136f4);return _0x2136f4;},Se=(_0x2fe869,_0x4c7d1e)=>(_0x4fc416,_0xf7f883)=>_0x4c7d1e(_0x4fc416,_0xf7f883,_0x2fe869);let H=class extends _0x1b1f7c{constructor(_0x4a617f,_0x1f6823,_0x150fc5){const _0x4d6e7d=_0x38fc52;super(),_(this,'_entities',new Map()),_(this,_0x4d6e7d(0x23a),new _0x46e7d4()),(this[_0x4d6e7d(0x198)]=_0x4a617f,this['_injector']=_0x1f6823,this[_0x4d6e7d(0x1aa)]=_0x150fc5,this['_init']());}['dispose'](){const _0x26e8ac=_0x38fc52;super[_0x26e8ac(0x195)](),this[_0x26e8ac(0x23a)][_0x26e8ac(0x2be)](),this[_0x26e8ac(0x1f8)][_0x26e8ac(0x186)](_0x218897=>_0x218897[_0x26e8ac(0x195)]());}[_0x38fc52(0x1c3)](_0x2c27c7){const _0x59667b=_0x38fc52;return this[_0x59667b(0x1f8)][_0x59667b(0x1ea)](_0x2c27c7)?this['_entities']['get'](_0x2c27c7)[_0x59667b(0x276)]:this[_0x59667b(0x23a)][_0x59667b(0x2bd)](_0x5bda9c(_0x8f8c10=>_0x8f8c10[_0x59667b(0xe4)]===_0x2c27c7),_0x4705a2(_0x46217d=>_0x46217d[_0x59667b(0x276)]));}[_0x38fc52(0x11e)](){const _0x4910bb=_0x38fc52;this[_0x4910bb(0x198)][_0x4910bb(0x1a2)](_0x4abec6[_0x4910bb(0x262)])[_0x4910bb(0x2bd)](_0x258676(this['dispose$']))[_0x4910bb(0x26e)](async _0x13fd82=>{const _0xb6d68f=_0x4910bb,_0x3a593c=_0x13fd82[_0xb6d68f(0x21d)](),_0x4134f2=await this['_startSheetCollabCursor'](_0x3a593c);this[_0xb6d68f(0x23a)][_0xb6d68f(0x1de)](_0x4134f2),this['_entities'][_0xb6d68f(0x18a)](_0x3a593c,_0x4134f2);}),this[_0x4910bb(0x198)][_0x4910bb(0x1a2)](_0x4abec6[_0x4910bb(0x279)])[_0x4910bb(0x2bd)](_0x258676(this[_0x4910bb(0x2b6)]))[_0x4910bb(0x2bd)](_0x5bda9c(_0xacacbe=>!_0xacacbe[_0x4910bb(0x21d)]()[_0x4910bb(0xd8)]('__')))['subscribe'](async _0xeee79c=>{const _0x2e434d=_0x4910bb,_0xd887d2=_0xeee79c[_0x2e434d(0x21d)](),_0x4cb1e3=await this[_0x2e434d(0x296)](_0xd887d2);this[_0x2e434d(0x23a)]['next'](_0x4cb1e3),this[_0x2e434d(0x1f8)][_0x2e434d(0x18a)](_0xd887d2,_0x4cb1e3);}),_0x2dddf2(this[_0x4910bb(0x198)]['getTypeOfUnitDisposed$'](_0x4abec6[_0x4910bb(0x279)]),this[_0x4910bb(0x198)]['getTypeOfUnitDisposed$'](_0x4abec6[_0x4910bb(0x262)]))[_0x4910bb(0x2bd)](_0x258676(this[_0x4910bb(0x2b6)]))[_0x4910bb(0x26e)](_0x406f21=>{const _0x1396c8=_0x4910bb,_0x5dd6a6=_0x406f21[_0x1396c8(0x21d)](),_0x42032f=this['_entities'][_0x1396c8(0x1b6)](_0x5dd6a6);_0x42032f&&(_0x42032f[_0x1396c8(0x195)](),this['_entities'][_0x1396c8(0x19c)](_0x5dd6a6));});}async[_0x38fc52(0x281)](_0x337949){const _0x26c229=_0x38fc52,_0x5c8c27=await this[_0x26c229(0x1aa)]['requireSession'](_0x337949),_0x131806=this[_0x26c229(0x145)][_0x26c229(0x17b)](Me,_0x337949,_0x5c8c27);return _0x131806[_0x26c229(0x16d)](),_0x131806;}async[_0x38fc52(0x296)](_0x41ddc8){const _0x116021=_0x38fc52,_0x4e7b46=await this[_0x116021(0x1aa)]['requireSession'](_0x41ddc8),_0x1d4e31=this[_0x116021(0x145)]['createInstance'](Ue,_0x41ddc8,_0x4e7b46);return _0x1d4e31[_0x116021(0x16d)](),_0x1d4e31;}};H=Ci([Se(0x0,_0x12ea05),Se(0x1,_0x9b1a66(_0x264ee9)),Se(0x2,_0x9b1a66(_0x4a001c))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x2eccad,_0x34b8c2){const _0x3b3ef9=_0x38fc52;let {radius:_0x466c2b,width:_0x24de8b,height:_0x223256}=_0x34b8c2;_0x466c2b=_0x466c2b!=null?_0x466c2b:0x0,_0x24de8b=_0x24de8b!=null?_0x24de8b:0x1e,_0x223256=_0x223256!=null?_0x223256:0x1e;let _0x416ebe=0x0,_0x330318=0x0,_0x18335d=0x0;_0x416ebe=_0x330318=_0x18335d=Math[_0x3b3ef9(0x184)](_0x466c2b,_0x24de8b/0x2,_0x223256/0x2),_0x2eccad[_0x3b3ef9(0x2ad)](),_0x2eccad[_0x3b3ef9(0x12c)](_0x416ebe,0x0),_0x2eccad[_0x3b3ef9(0x1a1)](_0x24de8b-_0x330318,0x0),_0x2eccad['arc'](_0x24de8b-_0x330318,_0x330318,_0x330318,Math['PI']*0x3/0x2,0x0,!0x1),_0x2eccad[_0x3b3ef9(0x1a1)](_0x24de8b,_0x223256-_0x18335d),_0x2eccad[_0x3b3ef9(0x18b)](_0x24de8b-_0x18335d,_0x223256-_0x18335d,_0x18335d,0x0,Math['PI']/0x2,!0x1),_0x2eccad[_0x3b3ef9(0x1a1)](0x0,_0x223256),_0x2eccad[_0x3b3ef9(0x1a1)](0x0,_0x416ebe),_0x2eccad[_0x3b3ef9(0x18b)](_0x416ebe,_0x416ebe,_0x416ebe,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2eccad[_0x3b3ef9(0x29d)](),_0x34b8c2[_0x3b3ef9(0x2af)]&&(_0x2eccad[_0x3b3ef9(0x229)](),_0x2eccad[_0x3b3ef9(0x11f)]=_0x34b8c2[_0x3b3ef9(0x2af)],_0x34b8c2[_0x3b3ef9(0x1b1)]===_0x3b3ef9(0x16e)?_0x2eccad[_0x3b3ef9(0x2af)](_0x3b3ef9(0x16e)):_0x2eccad[_0x3b3ef9(0x2af)](),_0x2eccad['restore']());}class he extends _0x2bb12a{constructor(_0x3a866b,_0x5bf2de){const _0x3edb7e=_0x38fc52;super(_0x3a866b,_0x5bf2de),_(this,'color'),_(this,_0x3edb7e(0x271)),(this['color']=_0x5bf2de==null?void 0x0:_0x5bf2de[_0x3edb7e(0x1e6)],this[_0x3edb7e(0x271)]=_0x5bf2de==null?void 0x0:_0x5bf2de['text']);}static['drawWith'](_0x1953aa,_0x1ba3ba){const _0x29bdfa=_0x38fc52,{text:_0x462c9c,color:_0x3b9889}=_0x1ba3ba;_0x1953aa[_0x29bdfa(0x229)](),_0x1953aa[_0x29bdfa(0x118)]=_0x29bdfa(0x226);const _0x461fe7=_0x1953aa['measureText'](_0x462c9c)[_0x29bdfa(0x1fb)],_0x278d48=Math[_0x29bdfa(0x184)](_0x461fe7+0x2*me,Qe);Oi(_0x1953aa,{'height':ee,'radius':0x4,'width':_0x278d48,'fill':_0x3b9889}),_0x1953aa[_0x29bdfa(0x11f)]=_0x29bdfa(0x2b1);const _0x21acbb=me,_0x201d9d=ee-Ei,_0x460b39=Qe-0x2*me;if(_0x461fe7>_0x460b39){let _0x1cca74='',_0x49ad4b=0x0;for(const _0x288c26 of _0x462c9c){const _0x5ec817=_0x1953aa['measureText'](_0x288c26)[_0x29bdfa(0x1fb)];if(_0x49ad4b+_0x5ec817<=_0x460b39-_0x1953aa[_0x29bdfa(0x204)](_0x29bdfa(0x1f1))[_0x29bdfa(0x1fb)])_0x1cca74+=_0x288c26,_0x49ad4b+=_0x5ec817;else{_0x1cca74+=_0x29bdfa(0x1f1);break;}}_0x1953aa[_0x29bdfa(0x1cf)](_0x1cca74,_0x21acbb,_0x201d9d);}else _0x1953aa['fillText'](_0x462c9c,_0x21acbb,_0x201d9d);_0x1953aa[_0x29bdfa(0x234)]();}[_0x38fc52(0x1e2)](_0xe4d3b){he['drawWith'](_0xe4d3b,this);}}const Ie='collab-text-anchor-',bi=_0x38fc52(0x2bf),Ti=_0x38fc52(0x239),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x38fc52(0x2bb);class qe{constructor(_0x14e7bc,_0x1980f5,_0x2210a7,_0x5ab86b){const _0x49aafa=_0x38fc52;_(this,_0x49aafa(0x1a9),[]),_(this,_0x49aafa(0x2cc),null),_(this,_0x49aafa(0x1df),null),_(this,_0x49aafa(0x1b7),null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this[_0x49aafa(0x1ac)]=_0x14e7bc,this[_0x49aafa(0x278)]=_0x1980f5,this['_docSkeleton']=_0x2210a7,this[_0x49aafa(0x1d6)]=_0x5ab86b,this[_0x49aafa(0x1f0)]());}set[_0x38fc52(0x1c9)](_0x11d104){const _0x623939=_0x38fc52;_0x11d104?(this['_anchorDot']&&this['_anchorDot'][_0x623939(0x10c)](),this[_0x623939(0x1df)]&&this[_0x623939(0x1df)][_0x623939(0x238)]()):(this[_0x623939(0x1b7)]&&this[_0x623939(0x1b7)][_0x623939(0x238)](),this[_0x623939(0x1df)]&&this[_0x623939(0x1df)]['hide']());}[_0x38fc52(0x195)](){const _0x3e88a9=_0x38fc52;for(const _0x330222 of this[_0x3e88a9(0x1a9)])_0x330222['dispose']();this[_0x3e88a9(0x1df)]&&this[_0x3e88a9(0x1df)][_0x3e88a9(0x195)](),this[_0x3e88a9(0x1b7)]&&this[_0x3e88a9(0x1b7)][_0x3e88a9(0x195)](),this['_anchor']&&this[_0x3e88a9(0x2cc)][_0x3e88a9(0x195)](),this[_0x3e88a9(0x28a)]&&this[_0x3e88a9(0x28a)]();}[_0x38fc52(0x1f0)](){const _0x252c7a=_0x38fc52;var _0x2f6d26;const {_docSkeleton:_0x3618dd,_document:_0x5d7dd4}=this,{color:_0x1eecd3,name:_0x21690a,ranges:_0x537819}=this[_0x252c7a(0x1ac)],_0x498e30=_0x5d7dd4[_0x252c7a(0x270)](),{docsLeft:_0x549d9e,docsTop:_0x46a3d1}=_0x498e30,_0x4727eb=new _0x5848a7(_0x498e30,_0x3618dd);for(const {startOffset:_0x3ef1d6,endOffset:_0xe3ba8c,rangeType:_0x509fdf,segmentId:_0x2430a6,segmentPage:_0x5a7bdb,collapsed:_0x1757a0,isActive:_0x35b94e}of _0x537819){const _0x32ee98=_0x3618dd['findNodePositionByCharIndex'](_0x3ef1d6,!0x0,_0x2430a6,_0x5a7bdb);let _0x470eee=_0x3618dd[_0x252c7a(0x20f)](_0xe3ba8c,!0x0,_0x2430a6,_0x5a7bdb);if(_0x470eee==null&&(_0x470eee=_0x3618dd[_0x252c7a(0x20f)](_0xe3ba8c-0x1,!0x1,_0x2430a6,_0x5a7bdb)),_0x35b94e){const {contentBoxPointGroup:_0x426010}=_0x4727eb['getRangePointData'](_0x470eee,_0x470eee);if(_0x426010[_0x252c7a(0x269)]===0x0)continue;this[_0x252c7a(0x2a2)](_0x1eecd3,_0x426010,_0x549d9e,_0x46a3d1,_0x21690a),this[_0x252c7a(0x28a)]=this['_handleHover']();}if(_0x32ee98&&_0x470eee){if(_0x509fdf===_0x5b70d6[_0x252c7a(0x27d)]){const _0x5023e2=new _0x125486(_0x498e30,_0x3618dd),{pointGroup:_0x7c4308}=(_0x2f6d26=_0x5023e2[_0x252c7a(0x18c)](_0x32ee98,_0x470eee))!=null?_0x2f6d26:{};if(_0x7c4308==null||_0x7c4308[_0x252c7a(0x269)]===0x0)continue;this[_0x252c7a(0xd5)](_0x1eecd3,_0x7c4308,_0x549d9e,_0x46a3d1);}else{if(!_0x1757a0){const {borderBoxPointGroup:_0x50a3ec}=_0x4727eb[_0x252c7a(0x18c)](_0x32ee98,_0x470eee);if(_0x50a3ec[_0x252c7a(0x269)]===0x0)continue;this[_0x252c7a(0x2c1)](_0x1eecd3,_0x50a3ec,_0x549d9e,_0x46a3d1);}}}}}[_0x38fc52(0x2a2)](_0x193feb,_0x1f1146,_0xd5ac5e,_0x1951ba,_0x57ac0c){const _0x47c2d6=_0x38fc52,_0x303f5e=this[_0x47c2d6(0x25a)](_0x1f1146),{left:_0x58af49,top:_0x43876e,height:_0x13c092}=_0x303f5e,_0x677ed8=this['_getScale'](),_0x153714=Di/_0x677ed8,_0x688377=new _0x5f2004(Ie+_0x128666[_0x47c2d6(0x2aa)](X),{'left':_0x58af49+_0xd5ac5e-_0x153714,'top':_0x43876e+_0x1951ba,'height':_0x13c092,'width':Ri,'fill':_0x193feb||_0x32d24d(_0x4948d9['black'],0x0),'strokeWidth':_0x153714,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x688377,this['_scene'][_0x47c2d6(0x171)](_0x688377,_0x249355);const _0x1db282=new _0x5f2004(Ie+_0x128666[_0x47c2d6(0x2aa)](X),{'left':_0x58af49+_0xd5ac5e-_0x153714,'top':_0x43876e+_0x1951ba-ge/0x2,'height':ge,'width':ge,'fill':_0x193feb||_0x32d24d(_0x4948d9[_0x47c2d6(0x117)],0x0),'strokeWidth':0x0,'stroke':_0x193feb||_0x32d24d(_0x4948d9[_0x47c2d6(0x117)],0x0),'evented':!0x1});this[_0x47c2d6(0x1b7)]=_0x1db282,this[_0x47c2d6(0x278)]['addObject'](_0x1db282,_0x249355);const _0x1e44d3=new he(Ie+_0x128666[_0x47c2d6(0x2aa)](X),{'left':_0x58af49+_0xd5ac5e-_0x153714,'top':_0x43876e+_0x1951ba-ee,'text':_0x57ac0c,'color':_0x193feb});this[_0x47c2d6(0x1df)]=_0x1e44d3,this['_scene'][_0x47c2d6(0x171)](_0x1e44d3,_0x249355),this[_0x47c2d6(0x1c9)]=!0x1;}[_0x38fc52(0xf8)](){const _0x2e633b=_0x38fc52,_0x37e0e4=this[_0x2e633b(0x2cc)][_0x2e633b(0x170)][_0x2e633b(0x295)](()=>{const _0x57c4f9=_0x2e633b;this[_0x57c4f9(0x1c9)]=!0x0;}),_0x8cf021=this[_0x2e633b(0x2cc)][_0x2e633b(0x258)][_0x2e633b(0x295)](()=>{const _0x3f60b2=_0x2e633b;this['_hideTimer']&&clearTimeout(this[_0x3f60b2(0x172)]),this['_hideTimer']=setTimeout(()=>{const _0x37e5a6=_0x3f60b2;this[_0x37e5a6(0x1c9)]=!0x1;},0x7d0);});return()=>{const _0x368695=_0x2e633b;_0x37e0e4[_0x368695(0x29a)](),_0x8cf021[_0x368695(0x29a)]();};}[_0x38fc52(0x2c1)](_0x21c353,_0x1df3ba,_0x3282aa,_0x37919b){const _0x367030=_0x38fc52,_0x94198a=new _0x44c820(_0x21c353)[_0x367030(0xfc)](0.2)[_0x367030(0x227)](),_0x347fd4=new _0x1a4834(bi+_0x128666['generateRandomId'](X),{'pointsGroup':_0x1df3ba,'fill':_0x94198a||_0x32d24d(_0x4948d9[_0x367030(0x117)],0.2),'left':_0x3282aa,'top':_0x37919b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x367030(0x1a9)][_0x367030(0x13e)](_0x347fd4),this[_0x367030(0x278)][_0x367030(0x171)](_0x347fd4,_0x249355);}[_0x38fc52(0xd5)](_0x38fed2,_0xd473b0,_0x55ee03,_0x5dee22){const _0x45b95e=_0x38fc52,_0x5d5a62=new _0x44c820(_0x38fed2)['setAlpha'](0.2)[_0x45b95e(0x227)](),_0x45db17=new _0x1a4834(Ti+_0x128666['generateRandomId'](X),{'pointsGroup':_0xd473b0,'fill':_0x5d5a62||_0x32d24d(_0x4948d9[_0x45b95e(0x117)],0.2),'left':_0x55ee03,'top':_0x5dee22,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x45b95e(0x1a9)][_0x45b95e(0x13e)](_0x45db17),this[_0x45b95e(0x278)][_0x45b95e(0x171)](_0x45db17,_0x249355);}['_getAnchorBounding'](_0x18182d){const _0x59afec=_0x18182d[0x0],_0x171556=_0x59afec[0x0],_0xc472d4=_0x59afec[0x2],{x:_0x6490da,y:_0x3da315}=_0x171556,{x:_0x404b9c,y:_0x3f36d2}=_0xc472d4;return{'left':_0x6490da,'top':_0x3da315,'width':_0x404b9c-_0x6490da,'height':_0x3f36d2-_0x3da315};}[_0x38fc52(0x173)](){const _0x2a9c10=_0x38fc52,{scaleX:_0x199ba1,scaleY:_0x10e543}=this[_0x2a9c10(0x278)][_0x2a9c10(0x19d)]();return Math[_0x2a9c10(0x12f)](_0x199ba1,_0x10e543);}}var Ui=Object[_0x38fc52(0x11d)],Mi=(_0x52e10a,_0x254023,_0x5af095,_0x3307eb)=>{for(var _0x3e9236=_0x3307eb>0x1?void 0x0:_0x3307eb?Ui(_0x254023,_0x5af095):_0x254023,_0x450749=_0x52e10a['length']-0x1,_0x26a24b;_0x450749>=0x0;_0x450749--)(_0x26a24b=_0x52e10a[_0x450749])&&(_0x3e9236=_0x26a24b(_0x3e9236)||_0x3e9236);return _0x3e9236;},Z=(_0x5c5fff,_0x86ee2)=>(_0xfcc684,_0x20cd83)=>_0x86ee2(_0xfcc684,_0x20cd83,_0x5c5fff);let Le=class extends _0x1b1f7c{constructor(_0x8ad84f,_0x5e3864,_0x3fbf86,_0x1de8e4,_0xb32698){const _0x159845=_0x38fc52;super(),_(this,_0x159845(0x1a5),[]),_(this,_0x159845(0x284),[]),(this['_context']=_0x8ad84f,this[_0x159845(0x274)]=_0x5e3864,this['_collabCursorController']=_0x3fbf86,this[_0x159845(0x205)]=_0x1de8e4,this['_themeService']=_0xb32698,this['_init']());}[_0x38fc52(0x11e)](){const _0x11f098=_0x38fc52,_0x268d0b=this[_0x11f098(0x286)][_0x11f098(0x2b3)],_0x49917e=this['_docSkeletonManagerService'];this[_0x11f098(0x2c9)](_0xb34ae([this[_0x11f098(0x283)][_0x11f098(0x1c3)](_0x268d0b),this[_0x11f098(0x263)]['currentTheme$']])[_0x11f098(0x2bd)](_0x1da4f9(([_0x422e6b,_0x158860])=>({'skeleton':_0x49917e[_0x11f098(0x237)](),'cursors':[..._0x422e6b[_0x11f098(0x20b)]()][_0x11f098(0xf2)](_0x2a8d7b=>({..._0x2a8d7b,'color':this[_0x11f098(0x263)][_0x11f098(0x2b2)](_0x2a8d7b[_0x11f098(0x1e6)])}))})))['subscribe'](_0x224660=>{const _0x31a6ea=_0x11f098;if(this[_0x31a6ea(0xef)](),_0x224660){const {skeleton:_0x15129d,cursors:_0x4524b2}=_0x224660;this[_0x31a6ea(0x21f)](_0x15129d,_0x4524b2);}})),this[_0x11f098(0x1a4)](),this['_initCommandExecutedListener']();}[_0x38fc52(0x21f)](_0x31ac07,_0x31ca48){const _0x108417=_0x38fc52,{scene:_0x3f8c1f,mainComponent:_0x19cc0d}=this[_0x108417(0x286)],_0x17149d=_0x31ca48['map'](_0x3f8f28=>new qe(_0x3f8f28,_0x3f8c1f,_0x31ac07,_0x19cc0d));this[_0x108417(0x1a5)]=_0x17149d,this[_0x108417(0x284)]=_0x31ca48;}[_0x38fc52(0x161)](){const _0x14fdcd=_0x38fc52;this[_0x14fdcd(0xef)]();const {scene:_0x2e54ce,mainComponent:_0x2a49dc}=this['_context'],_0xebce94=this[_0x14fdcd(0x274)][_0x14fdcd(0x237)](),_0x1446e1=this[_0x14fdcd(0x284)]['map'](_0x47e480=>new qe(_0x47e480,_0x2e54ce,_0xebce94,_0x2a49dc));this[_0x14fdcd(0x1a5)]=_0x1446e1;}['_removeCollabCursors'](){const _0x428801=_0x38fc52;this[_0x428801(0x1a5)][_0x428801(0x186)](_0x994ddb=>_0x994ddb[_0x428801(0x195)]()),this[_0x428801(0x1a5)]=[];}[_0x38fc52(0x201)](){const _0x555cc6=_0x38fc52,_0x2b9d25=[_0x1c37d5['id']];this[_0x555cc6(0x2c9)](this[_0x555cc6(0x205)][_0x555cc6(0x178)](_0x2cbc2b=>{const _0x79754d=_0x555cc6;_0x2b9d25['includes'](_0x2cbc2b['id'])&&_0x2cbc2b[_0x79754d(0x217)][_0x79754d(0x2b3)]===this[_0x79754d(0x286)][_0x79754d(0x2b3)]&&this[_0x79754d(0x161)]();}));}[_0x38fc52(0x1a4)](){const _0x191194=_0x38fc52;this[_0x191194(0x2c9)](_0x1106ba(this[_0x191194(0x286)][_0x191194(0x2b5)]['onTransformChange$'])[_0x191194(0x2bd)](_0x4848db(_0x3ebb70=>_0x3ebb70['type']===_0x2e9176[_0x191194(0x18e)]),_0x4459a7(0x10))[_0x191194(0x26e)](()=>{const _0x102cb5=_0x191194;this[_0x102cb5(0x161)]();}));}};Le=Mi([Z(0x1,_0x9b1a66(_0x5d3670)),Z(0x2,_0x9b1a66(H)),Z(0x3,_0x349e65),Z(0x4,_0x9b1a66(_0x20b63c))],Le);const Li=0x1,Pi=1.5;class wi extends _0x2bb12a{constructor(_0x1dcf06,_0x2e17d6){const _0x4bc534=_0x38fc52;super(_0x1dcf06,_0x2e17d6),_(this,_0x4bc534(0x137)),_(this,_0x4bc534(0xdf),!0x1),_(this,_0x4bc534(0x2b0)),_(this,_0x4bc534(0x1dc),''),_(this,_0x4bc534(0xe7),'top'),_(this,_0x4bc534(0xd3)),(_0x2e17d6&&this[_0x4bc534(0x1f7)](_0x2e17d6),this[_0x4bc534(0x170)][_0x4bc534(0x295)](()=>this[_0x4bc534(0x1f7)]({'hovered':!0x0})),this[_0x4bc534(0x258)][_0x4bc534(0x295)](()=>this[_0x4bc534(0x1f7)]({'hovered':!0x1})));}['setShapeProps'](_0x156f89){const _0x27a5df=_0x38fc52;var _0x1d7b99,_0x2a69e7,_0x3b8b48,_0x50bfb5,_0x3efd15,_0x581ef3;this['_color']=(_0x1d7b99=_0x156f89[_0x27a5df(0x1e6)])!=null?_0x1d7b99:this[_0x27a5df(0x137)],this[_0x27a5df(0xdf)]=(_0x2a69e7=_0x156f89[_0x27a5df(0x14b)])!=null?_0x2a69e7:this[_0x27a5df(0xdf)],this[_0x27a5df(0x2b0)]=(_0x3b8b48=_0x156f89[_0x27a5df(0x20e)])!=null?_0x3b8b48:this[_0x27a5df(0x2b0)],this[_0x27a5df(0x1dc)]=(_0x50bfb5=_0x156f89[_0x27a5df(0x2ac)])!=null?_0x50bfb5:this[_0x27a5df(0x1dc)],this[_0x27a5df(0xe7)]=(_0x3efd15=_0x156f89[_0x27a5df(0x183)])!=null?_0x3efd15:this[_0x27a5df(0xe7)],this[_0x27a5df(0xd3)]=(_0x581ef3=_0x156f89[_0x27a5df(0x2b4)])!=null?_0x581ef3:this['_backgroundColor'],this[_0x27a5df(0x27f)]({'width':_0x156f89[_0x27a5df(0x1fb)],'height':_0x156f89[_0x27a5df(0x1e8)]});}[_0x38fc52(0x1f4)](_0x5e34b7){const _0xde0d45=_0x38fc52,{row:_0xa2f4aa,column:_0x14e5b5}=_0x5e34b7;if(_0xa2f4aa>=this[_0xde0d45(0x2b0)]['startRow']&&_0xa2f4aa<=this[_0xde0d45(0x2b0)][_0xde0d45(0x206)]&&_0x14e5b5>=this[_0xde0d45(0x2b0)]['startColumn']&&_0x14e5b5<=this['_range'][_0xde0d45(0x272)]){this[_0xde0d45(0x1f7)]({'hovered':!0x0});return;}this[_0xde0d45(0x1f7)]({'hovered':!0x1});}[_0x38fc52(0xeb)](_0x46e3b6){return!0x1;}[_0x38fc52(0x1e2)](_0x101095){const _0x4c062d=_0x38fc52;_0x5f2004['drawWith'](_0x101095,{'width':this[_0x4c062d(0x1fb)],'height':this[_0x4c062d(0x1e8)],'strokeWidth':Pi,'stroke':this[_0x4c062d(0x137)],'evented':!0x1,'fill':this[_0x4c062d(0xd3)]}),this['_hovered']&&(_0x101095[_0x4c062d(0x229)](),_0x101095[_0x4c062d(0x24b)](0x1,0x0,0x0,0x1,this[_0x4c062d(0x1fb)],this['_labelPosition']==='bottom'?0x0:-0x14),he[_0x4c062d(0x15b)](_0x101095,{'text':this['_name'],'color':this[_0x4c062d(0x137)]}),_0x101095['restore']());}}var Ai=Object[_0x38fc52(0x11d)],yi=(_0x432bc6,_0x507880,_0x4e2c04,_0x17fb89)=>{const _0x3547f0=_0x38fc52;for(var _0x644564=_0x17fb89>0x1?void 0x0:_0x17fb89?Ai(_0x507880,_0x4e2c04):_0x507880,_0x6a3dc6=_0x432bc6[_0x3547f0(0x269)]-0x1,_0x5125c5;_0x6a3dc6>=0x0;_0x6a3dc6--)(_0x5125c5=_0x432bc6[_0x6a3dc6])&&(_0x644564=_0x5125c5(_0x644564)||_0x644564);return _0x644564;},ve=(_0x13ab10,_0x200ccd)=>(_0x553f5b,_0x3dcc7e)=>_0x200ccd(_0x553f5b,_0x3dcc7e,_0x13ab10);const $i=0x1389;let Pe=class extends _0x1b1f7c{constructor(_0x347f55,_0x4a59f9,_0x49788c,_0x54f4f1){const _0x41a8bd=_0x38fc52;super(),_(this,'_cursors',new Set()),_(this,_0x41a8bd(0x2a9),null),(this[_0x41a8bd(0x286)]=_0x347f55,this[_0x41a8bd(0xd7)]=_0x4a59f9,this[_0x41a8bd(0x283)]=_0x49788c,this[_0x41a8bd(0x263)]=_0x54f4f1,this[_0x41a8bd(0x11e)]());}[_0x38fc52(0x11e)](){const _0x1944b3=_0x38fc52;this[_0x1944b3(0xd7)][_0x1944b3(0x157)][_0x1944b3(0x2bd)](_0xd13f64(this[_0x1944b3(0x2b6)]),_0x18e6bc(_0x52d0d9=>{const _0x24f272=_0x1944b3;if(_0x52d0d9){const _0x45ea3e=_0x52d0d9[_0x24f272(0x1f3)];return _0xb34ae(this[_0x24f272(0x283)][_0x24f272(0x1c3)](this['_context']['unitId']),this['_themeService'][_0x24f272(0x1da)])[_0x24f272(0x2bd)](_0x1da4f9(([_0x358ddf,_0x3589da])=>{const _0x2dad4b=_0x24f272,_0x22c5b1=new Map();return _0x358ddf[_0x2dad4b(0x186)]((_0xafcb10,_0xbc0bd6)=>{const _0x3f6a60=_0x2dad4b;if(_0xafcb10[_0x3f6a60(0x17c)]===_0x45ea3e){const _0xb32e2={..._0xafcb10};_0xb32e2['color']=this['_themeService'][_0x3f6a60(0x2b2)](_0xafcb10[_0x3f6a60(0x1e6)]),_0x22c5b1['set'](_0xbc0bd6,_0xb32e2);}}),{'skeleton':_0x52d0d9,'cursors':_0x22c5b1};}));}return _0x28b09b({'skeleton':null,'cursors':new Map()});}))[_0x1944b3(0x26e)](({skeleton:_0x185efd,cursors:_0x215719})=>{const _0x424de5=_0x1944b3;this['_removeCollabCursors'](),_0x185efd&&this[_0x424de5(0x21f)](_0x185efd,_0x215719);}),this[_0x1944b3(0xd7)]['currentSkeleton$'][_0x1944b3(0x26e)](_0x27fcc4=>{const _0x27ff95=_0x1944b3;if(_0x27fcc4==null)return;const {skeleton:_0x4e8839}=_0x27fcc4,{scene:_0x222615}=this['_context'];_0x222615[_0x27ff95(0x1e5)]['subscribeEvent'](_0x3827ab(_0x1ac598=>{const _0x3d1a5c=_0x27ff95;var _0x4600a1,_0x14f3f4;const {offsetX:_0x14e469,offsetY:_0x1325b0}=_0x1ac598,{x:_0x36ed4e,y:_0x24a1ad}=_0x222615['getRelativeToViewportCoord'](_0x4f0060['FromArray']([_0x14e469,_0x1325b0])),{scaleX:_0x2357c3,scaleY:_0x178449}=_0x222615[_0x3d1a5c(0x19d)](),_0x5a3d07=_0x222615[_0x3d1a5c(0x1fe)](_0x14a60d[_0x3d1a5c(0x23d)]),_0x5d1aa0=_0x222615[_0x3d1a5c(0x1dd)](_0x4f0060[_0x3d1a5c(0x2ca)]([_0x36ed4e,_0x24a1ad]),_0x5a3d07),_0x162537=_0x4e8839[_0x3d1a5c(0x185)](_0x14e469,_0x1325b0,_0x2357c3,_0x178449,_0x5d1aa0);((_0x4600a1=this[_0x3d1a5c(0x2a9)])==null?void 0x0:_0x4600a1['column'])===_0x162537[_0x3d1a5c(0x2d0)]&&((_0x14f3f4=this[_0x3d1a5c(0x2a9)])==null?void 0x0:_0x14f3f4['row'])===_0x162537[_0x3d1a5c(0x1fa)]||this[_0x3d1a5c(0x284)]['forEach'](_0x23715f=>{const _0x167595=_0x3d1a5c;_0x23715f[_0x167595(0x1f4)](_0x162537);});},0x64));});}[_0x38fc52(0x21f)](_0x290cab,_0x3775cc){const _0x537dd0=_0x38fc52;var _0x4b49fa;const _0x2789b1=(_0x4b49fa=this[_0x537dd0(0xd7)][_0x537dd0(0x2a7)]())==null?void 0x0:_0x4b49fa['skeleton'];if(!_0x2789b1)return;const _0x235e37=this['_getSheetObject']();if(!_0x235e37)return;this[_0x537dd0(0x284)]['forEach'](_0x14d11a=>{const _0x2811bd=_0x537dd0;_0x14d11a[_0x2811bd(0xed)]();});const {scene:_0x12676f}=_0x235e37,_0x3a466d=xi(Array['from'](_0x3775cc[_0x537dd0(0x20b)]()))[_0x537dd0(0x1d1)](_0x2baf3b=>{const _0x417056=_0x537dd0,{color:_0x4f0587,range:_0x39704d,name:_0x43324d,selection:_0x1e2cc4,sheetID:_0x387963}=_0x2baf3b,{startColumn:_0xbaefb7,startRow:_0x163ba7,endColumn:_0xd8b2b7,endRow:_0x688167}=_0x39704d,_0x14da86=_0x30c90e(_0x163ba7,_0xbaefb7,_0x12676f,_0x2789b1),_0x1dafce=_0x30c90e(_0x688167,_0xd8b2b7,_0x12676f,_0x2789b1),{columnHeaderHeightAndMarginTop:_0x24a50f}=_0x2789b1,{startX:_0x121097,startY:_0x4abc19}=_0x14da86,{endX:_0x565d9f,endY:_0x4a31f7}=_0x1dafce,_0x2fe36b=_0x565d9f-_0x121097,_0x1a3d38=_0x4a31f7-_0x4abc19,_0x266b43={'labelPosition':_0x4abc19-_0x24a50f>=ee?_0x417056(0x147):_0x417056(0x140),'sheetID':_0x387963,'range':_0x39704d,'color':_0x4f0587,'name':_0x43324d,'selection':_0x1e2cc4,'left':_0x121097,'top':_0x4abc19,'width':_0x2fe36b,'height':_0x1a3d38,'evented':!0x1,'zIndex':$i};return new wi(_0x43324d,_0x266b43);});_0x12676f['addObjects'](_0x3a466d,Li),this[_0x537dd0(0x284)]=new Set(_0x3a466d);}[_0x38fc52(0xef)](){const _0x5b5256=_0x38fc52;var _0x36467d;(_0x36467d=this['_cursors'])==null||_0x36467d['forEach'](_0x59f815=>_0x59f815[_0x5b5256(0x195)]());}[_0x38fc52(0xe1)](){const _0x1786ee=_0x38fc52;return _0x484ae5(this[_0x1786ee(0x286)]['unit'],this[_0x1786ee(0x286)]);}};Pe=yi([ve(0x1,_0x9b1a66(_0x22ba38)),ve(0x2,_0x9b1a66(H)),ve(0x3,_0x9b1a66(_0x20b63c))],Pe);function xi(_0x40eae9){const _0x3a095c=_0x38fc52,_0x371e94=new Map();return _0x40eae9[_0x3a095c(0x186)](_0x4d854b=>{const _0x131a12=_0x3a095c;if(_0x371e94[_0x131a12(0x1ea)](_0x4d854b['selection'])){const _0x52d416=_0x371e94[_0x131a12(0x1b6)](_0x4d854b[_0x131a12(0x23e)]);_0x52d416[_0x131a12(0x2ac)]+=',\x20'+_0x4d854b['name'];}else _0x371e94[_0x131a12(0x18a)](_0x4d854b['selection'],_0x4d854b);}),Array['from'](_0x371e94[_0x3a095c(0x20b)]());}var v=function(){const _0x5ee2d6=_0x38fc52;return v=Object[_0x5ee2d6(0x120)]||function(_0x3e3727){const _0x5453d3=_0x5ee2d6;for(var _0x2c5145,_0x369910=0x1,_0x4077a1=arguments['length'];_0x369910<_0x4077a1;_0x369910++){_0x2c5145=arguments[_0x369910];for(var _0x558f66 in _0x2c5145)Object[_0x5453d3(0x223)]['hasOwnProperty'][_0x5453d3(0x10d)](_0x2c5145,_0x558f66)&&(_0x3e3727[_0x558f66]=_0x2c5145[_0x558f66]);}return _0x3e3727;},v[_0x5ee2d6(0xff)](this,arguments);},Bi=function(_0x1a9de6,_0x5c222d){const _0x271f23=_0x38fc52;var _0x38a1eb={};for(var _0x55eee6 in _0x1a9de6)Object['prototype'][_0x271f23(0x15a)][_0x271f23(0x10d)](_0x1a9de6,_0x55eee6)&&_0x5c222d[_0x271f23(0x159)](_0x55eee6)<0x0&&(_0x38a1eb[_0x55eee6]=_0x1a9de6[_0x55eee6]);if(_0x1a9de6!=null&&typeof Object[_0x271f23(0x264)]==_0x271f23(0x240)){for(var _0x200c71=0x0,_0x55eee6=Object['getOwnPropertySymbols'](_0x1a9de6);_0x200c71<_0x55eee6[_0x271f23(0x269)];_0x200c71++)_0x5c222d[_0x271f23(0x159)](_0x55eee6[_0x200c71])<0x0&&Object[_0x271f23(0x223)]['propertyIsEnumerable'][_0x271f23(0x10d)](_0x1a9de6,_0x55eee6[_0x200c71])&&(_0x38a1eb[_0x55eee6[_0x200c71]]=_0x1a9de6[_0x55eee6[_0x200c71]]);}return _0x38a1eb;},Fe=_0x307066(function(_0x4bb04c,_0x3999f6){const _0x4c3ca5=_0x38fc52;var _0x31d515=_0x4bb04c[_0x4c3ca5(0x1be)],_0x2349b7=_0x4bb04c['id'],_0x1cb06d=_0x4bb04c['className'],_0x2c6b99=_0x4bb04c[_0x4c3ca5(0x1f6)],_0x51d3d0=Bi(_0x4bb04c,[_0x4c3ca5(0x1be),'id',_0x4c3ca5(0x247),_0x4c3ca5(0x1f6)]),_0x59a3c4='univerjs-icon\x20univerjs-icon-'[_0x4c3ca5(0x297)](_0x2349b7,'\x20')[_0x4c3ca5(0x297)](_0x1cb06d||'')[_0x4c3ca5(0x149)](),_0x2a205d=_0x48d0a2('_'['concat'](Fi()));return Rt(_0x31d515,''[_0x4c3ca5(0x297)](_0x2349b7),{'defIds':_0x31d515[_0x4c3ca5(0x25b)],'idSuffix':_0x2a205d[_0x4c3ca5(0x1ad)]},v({'ref':_0x3999f6,'className':_0x59a3c4},_0x51d3d0),_0x2c6b99);});function Rt(_0x32961b,_0x13f60f,_0x532718,_0x47bb4a,_0x44a5d2){const _0x986995=_0x38fc52;return _0x29ffd6(_0x32961b[_0x986995(0x27e)],v(v({'key':_0x13f60f},ki(_0x32961b,_0x532718,_0x44a5d2)),_0x47bb4a),(Hi(_0x32961b,_0x532718)['children']||[])[_0x986995(0x1d1)](function(_0xabdd6,_0x4f7c4b){const _0x50138b=_0x986995;return Rt(_0xabdd6,''[_0x50138b(0x297)](_0x13f60f,'-')[_0x50138b(0x297)](_0x32961b[_0x50138b(0x27e)],'-')['concat'](_0x4f7c4b),_0x532718,void 0x0,_0x44a5d2);}));}function ki(_0x5dc285,_0x20efaa,_0x421d3f){const _0x2127e9=_0x38fc52;var _0x40d8c6=v({},_0x5dc285[_0x2127e9(0x1b5)]);_0x421d3f!=null&&_0x421d3f[_0x2127e9(0xfb)]&&_0x40d8c6['fill']==='colorChannel1'&&(_0x40d8c6['fill']=_0x421d3f[_0x2127e9(0xfb)]),_0x5dc285[_0x2127e9(0x27e)]===_0x2127e9(0x23c)&&_0x40d8c6['id']&&(_0x40d8c6['id']=_0x40d8c6['id']+_0x20efaa['idSuffix']),Object['entries'](_0x40d8c6)[_0x2127e9(0x186)](function(_0x5ee673){const _0x1e339a=_0x2127e9;var _0x3e1286=_0x5ee673[0x0],_0x48578d=_0x5ee673[0x1];_0x3e1286===_0x1e339a(0x23c)&&typeof _0x48578d=='string'&&(_0x40d8c6[_0x3e1286]=_0x48578d['replace'](/url\(#(.*)\)/,'url(#$1'[_0x1e339a(0x297)](_0x20efaa[_0x1e339a(0x1cc)],')')));});var _0x2dcb28=_0x20efaa[_0x2127e9(0x25b)];return!_0x2dcb28||_0x2dcb28[_0x2127e9(0x269)]===0x0||(_0x5dc285['tag']===_0x2127e9(0x1e3)&&_0x40d8c6[_0x2127e9(0xee)]&&(_0x40d8c6[_0x2127e9(0xee)]=_0x40d8c6['xlink:href']+_0x20efaa[_0x2127e9(0x1cc)]),Object['entries'](_0x40d8c6)[_0x2127e9(0x186)](function(_0xf6cc06){const _0x2a657c=_0x2127e9;var _0x57f553=_0xf6cc06[0x0],_0x2f2c37=_0xf6cc06[0x1];typeof _0x2f2c37==_0x2a657c(0x106)&&(_0x40d8c6[_0x57f553]=_0x2f2c37['replace'](/url\(#(.*)\)/,_0x2a657c(0x2c7)[_0x2a657c(0x297)](_0x20efaa['idSuffix'],')')));})),_0x40d8c6;}function Hi(_0x5c3d9b,_0x44e945){const _0x501b59=_0x38fc52;var _0x517623,_0x28d1fe=_0x44e945[_0x501b59(0x25b)];return!_0x28d1fe||_0x28d1fe[_0x501b59(0x269)]===0x0?_0x5c3d9b:_0x5c3d9b[_0x501b59(0x27e)]===_0x501b59(0x212)&&(!((_0x517623=_0x5c3d9b[_0x501b59(0x18d)])===null||_0x517623===void 0x0)&&_0x517623[_0x501b59(0x269)])?v(v({},_0x5c3d9b),{'children':_0x5c3d9b[_0x501b59(0x18d)][_0x501b59(0x1d1)](function(_0x48928f){const _0x38e34b=_0x501b59;return typeof _0x48928f['attrs']['id']==_0x38e34b(0x106)&&_0x28d1fe&&_0x28d1fe['includes'](_0x48928f[_0x38e34b(0x1b5)]['id'])?v(v({},_0x48928f),{'attrs':v(v({},_0x48928f['attrs']),{'id':_0x48928f[_0x38e34b(0x1b5)]['id']+_0x44e945[_0x38e34b(0x1cc)]})}):_0x48928f;})}):_0x5c3d9b;}function Fi(){const _0x5ae2be=_0x38fc52;return Math[_0x5ae2be(0x19a)]()[_0x5ae2be(0xcc)](0x24)[_0x5ae2be(0xd6)](0x2,0x8);}function _0x5ece(){const _0x571152=['APPLY_REJECT','PY_RUNTIME_SCRIPT_ERROR','_handleHover','Warning','SNAPSHOT_HAS_BEEN_REMOVED','colorChannel1','setAlpha','TEXT','20YUUWmW','apply','_collaborationUIEventService','setItem','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','OffLineIcon','_unitOnClients','APPLY_REVISION_CONFILICT','string','_imageIoService','docStateChange$','stringify','collaboration.closeRoom','saveOfflineData','hide','call','_cursorInfo$','_getSessionTicket','collabStatus.synced','INTERNAL_ERROR','_registerDependencies','_session','_selfUnitIDs','2361ThJRvA','all','black','font','getMember','collabCursorState$','jiqing.500','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getOwnPropertyDescriptor','_init','fillStyle','assign','getFocusedUnit','YUUMI_SUBSCRIPTION_NOT_FOUND','cursorInfo','addEventListener','_send','_setupBeforeClosingHandler','1520666kkrmkL','LICENSE_DISTRO_REJECTED','RemoveRowCommandId','loadUnit','_registerRenderDependencies','moveTo','asObservable','10gbkfPR','max','then','APPLY_DUPLICATED','setTimeout','DeleteRangeMoveLeftCommandId','origin','_cachedData','removeParam','_color','_scheduleHeartbeat','getUnitStatus$','onStarting','0\x200\x2017\x2016','sessionTicket','_updateLocalCursor','push','reconnect','bottom','post','saveTaskMap','yellow.400','assignAColorForMemberID','_injector','_scheduleSaving','top','_refRangeService','trim','wsSessionTicketUrl','hovered','MUTATION','getMergeData','UniverIcon','collabStatus.offline','MOBILE_HAS_BEEN_BOUND','addClipboardHook','storage','location','defineProperty','status$','_localStorageService','currentSkeleton$','m1Prime','indexOf','hasOwnProperty','drawWith','_toggleOffline','url(#off-line-icon_clip0_910_343)','9498753FKkWpp','doc.mutation.rich-text-editing','_renderManagerService','_refreshCollabCursors','symbol','187386ntlJhy','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_toggleOnline','executeCommand','_logService','red.300','1em','_colorAssignService','_memberService','_docTransformIMECacheService','init','evenodd','YUUMI_NO_CUBOID_FOR_QUESTION','onPointerEnter$','addObject','_hideTimer','_getScale','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_updateURLWithCurrentState','split','COMPLETION_FINISHED','onCommandExecuted','result','YUUMI_URL_COL_OUT_OF_RANGE','createInstance','sheetID','LICENSE_IMPORT_SIZE_EXCEEDED','_scheduleClearOtherTimer','transformSelections','USER_NOT_INVITED_CODE','SNAPSHOT_INVALID_SNAPSHOT','AWAITING','labelPosition','min','getCellPositionByOffset','forEach','permission.content','getValue','309428iOZfjm','set','arc','getRangePointData','children','resize','_onRefRangeChange','_roomMembers$','setStateCache','_docStateChangeManagerService','clipPath','_dataLoaderService','dispose','_collaborationController','registerRefRange','_univerInstanceService','getConfig','random','round','delete','getAncestorScale','type','transformMutation','ranges','lineTo','getTypeOfUnitAdded$','WECHAT_HAS_BEEN_BOUND','_initResize','_cursorShapes','unshift','_docTransformSelectionsService','data','_shapes','_collabSessionService','loadOfflineData','_cursor','current','newValue','_messageService','_notificationService','fillRule','pushState','registerBeforeClose','code','attrs','get','_anchorDot','YUUMI_RATE_OVER_LIMIT','EMAIL_VERIFY_CODE_MISMATCH','redoState','transformRemoteChangeset','undoState','off-line-icon','icon','getActiveRange','getUniverSheetInstance','YUUMI_AI_RUN_FAILED','_onCursorDelete','getCollabCursors$','ALREADY_EXISTS','uni.network.url-service','on-line-icon','56WCAyFC','exhaustSavingTask','_hover','sessionStatus$','_docTransformStateCacheService','idSuffix','_heartbeatTimer','searchParams','fillText','onRendered','map','eventID','_initStatusListener','div','MOBILE_VERIFY_CODE_MISMATCH','_document','editingUnit','collaboration.single-unit.warning','Unknown\x20user','currentTheme$','_getSaveTimeout','_name','getVpScrollXYInfoByPosToVp','next','_textBubble','INVITE_CODE_ALREADY_BOUND','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_draw','use','transformStateCache','onPointerMove$','color','_assignedColors','height','USERS_LEAVE','has','setConfig','registerRenderModule','syncEditingCollabCursor','updateOfflineData','history','_render','...','FETCH_MISS','sheetId','onMouseMove','error','extend','setShapeProps','_entities','_beforeCloseService','row','width','DeleteRangeMoveUpCommandId','white','getViewport','getCurrentSelections','TOO_MANY_REQUESTS','_initCommandExecutedListener','_config','_unitStatus','measureText','_commandService','endRow','univer-flex\x20univer-items-center','_disabled','setParam','PERMISSION_DENIED','values','getSheetId','disposeUnit','range','findNodePositionByCharIndex','with','_initStatusComponent','defs','InsertRowCommandId','collabStatus.notCollab','translate(.97)','[CollaborationDataLoaderController]','params','currentColor','YUUMI_UNABLE_LOAD_URL','YUUMI_TABLE_NOT_FOUND_IN_UNIT','InsertColCommandId','clearTimeout','getUnitId','UNAUTHENTICATED','_updateCollabCursors','ONLINE','_handleEvent','focused$','prototype','registerComponent','INVITE_CODE_REQUIRED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','toRgbString','collaboration-client.offline-data-not-saved','save','APPLY_PERMISSION_DENIED','key','_status$','isActive','_online','contains','ENSURE_SNAPSHOT_EXECUTION','_saveCache','getParam','onLocalMutation','restore','send','path','getSkeleton','show','collab-rect-range-','_entityInit$','OTHER_CLIENTS_EDITING','mask','VIEW_MAIN','selection','_initEvent','function','purple.300','_updateSubUnitFromURLParams','M0\x200H16V16H0z','deepClone','off-line-icon_clip0_910_343','popstate','className','collabStatus.conflict','LICENSE_EXPORT_SIZE_EXCEEDED','NO_OTHER_CLIENTS_EDITING','transform','svg','_revisionService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','on-line-icon_clip0_910_349','href','isEditing','YUUMI_ALL_TABLES_IS_INVALID','body','_urlService','subUnitId','runId','NOT_COLLAB','onPointerLeave$','clearInterval','_getAnchorBounding','defIds','executionId','replaceState','SUBMIT_CHANGESET_TIMEOUT','YUUMI_ASYNCIO_CANCELLED','InsertRangeMoveRightCommandId','debug','UNIVER_SHEET','_themeService','getOwnPropertySymbols','_createSocketURL','_ensureSubject','_doCreateSocket','InsertRangeMoveDownCommandId','length','_colorIndex','_initDependencies','LOGIN_FAILED','_removeClearOtherTimer','subscribe','_docSyncEditingCollabCursorService','getOffsetConfig','text','endColumn','mutations','_docSkeletonManagerService','UNRECOGNIZED','cursorInfo$','INVALID_INVITE_CODE','_scene','UNIVER_DOC','_saveTaskMap','getMemberID','OFFLINE','RECT','tag','transformByState','_onCursorUpdate','_startSheetCollabCursor','blue.400','_collabCursorController','_cursors','165556JJSzQx','_context','_collabCursorState$','getDocRanges','CLOSE_ROOM','_eventUnsubscribe','createSocket','from','getActiveSheet','pluginName','displayName','_uiPartsService','/run/','collab-client.tooltip.reconnect','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','roomMembers','subscribeEvent','_startDocCollabCursor','concat','getRenderById','RemoveColCommandId','unsubscribe','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CONNECTOR_DATA_TOO_LARGE','closePath','_initEntityListener','_handleLeaveEvent','MoveRangeCommandId','SOCKET_FAILED','_drawAnchor','_transformPreviousActiveRange','getSheetBySheetId','_id','_instanceService','getCurrent','_clearOtherTimers','_lastPointer','generateRandomId','isArray','name','beginPath','_httpService','fill','_range','#FFF','getColorFromTheme','unitId','backgroundColor','engine','dispose$','event$','UNDEFINED','source','imageSourceType','rgba(255,\x20255,\x20255,\x200.01)','_localCacheService','pipe','complete','collab-text-range-','subunit','_drawTextRange','1943712EZKjEW','permission.title','transformIMECache','none','SYNCED','url(#$1','JOIN_ROOM_FAILED','disposeWithMe','FromArray','enableLocalCache','_anchor','_localeService','OTHER_CLIENT_EDITING','_getMergeRange','column','size','_docClipboardService','_transformUndoRedoStack','_handleJoinEvent','search','unit','getUnhiddenWorksheets','application/json','toString','session.collaboration-timeout','_transformService','setActiveRange','invokeId','textRanges','getCurrentRevOfUnit','_backgroundColor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_drawRectRange','substring','_sheetSkeletonManagerService','startsWith','roomMembers$','_syncEditingCollabCursorService','Error','urlChange$','_setupSubUnitSync','AWAITING_WITH_PENDING','_hovered','m2Prime','_getSheetObject','session.connection-failed','collabStatus.fetchMiss','unitID','LICENSE_MAX_UNITS_EXCEEDED','EMAIL_HAS_BEEN_BOUND','_labelPosition','UPDATE_CURSOR','CONFLICT','saveImage','triggerDblclick','session.will-retry','makeDirty','xlink:href','_removeCollabCursors','add','INVALID_ARGUMENT','flatMap','_configService','_transformHistoryAndStateStack','collaboration-client-ui.config'];_0x5ece=function(){return _0x571152;};return _0x5ece();}Fe['displayName']=_0x38fc52(0x14e);var Yi={'tag':_0x38fc52(0x24c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x38fc52(0x2c5),'viewBox':'0\x200\x2016\x2016','width':_0x38fc52(0x169),'height':_0x38fc52(0x169)},'children':[{'tag':'g','attrs':{'clipPath':_0x38fc52(0x15d)},'children':[{'tag':'path','attrs':{'stroke':_0x38fc52(0x218),'d':_0x38fc52(0x102),'strokeLinecap':_0x38fc52(0x19b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x38fc52(0x245)},'children':[{'tag':_0x38fc52(0x236),'attrs':{'fill':_0x38fc52(0x1fd),'d':_0x38fc52(0x243)}}]}]}],'defIds':[_0x38fc52(0x245)]},Dt=_0x307066(function(_0xb1eecc,_0x28d3b8){const _0x3d27e2=_0x38fc52;return _0x29ffd6(Fe,Object[_0x3d27e2(0x120)]({},_0xb1eecc,{'id':_0x3d27e2(0x1bd),'ref':_0x28d3b8,'icon':Yi}));});Dt[_0x38fc52(0x28f)]=_0x38fc52(0x103);var ji={'tag':_0x38fc52(0x24c),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x38fc52(0x2c5),'viewBox':_0x38fc52(0x13b),'width':_0x38fc52(0x169),'height':_0x38fc52(0x169)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'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','strokeLinecap':_0x38fc52(0x19b),'strokeLinejoin':_0x38fc52(0x19b),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x38fc52(0x193),'attrs':{'id':_0x38fc52(0x24f)},'children':[{'tag':'path','attrs':{'fill':_0x38fc52(0x1fd),'d':_0x38fc52(0x243),'transform':_0x38fc52(0x215)}}]}]}],'defIds':[_0x38fc52(0x24f)]},Nt=_0x307066(function(_0x10dbb9,_0x55c55b){const _0x366202=_0x38fc52;return _0x29ffd6(Fe,Object['assign']({},_0x10dbb9,{'id':_0x366202(0x1c6),'ref':_0x55c55b,'icon':ji}));});Nt[_0x38fc52(0x28f)]='OnLineIcon';function Vi(_0x25f561){const _0x558c26=_0x38fc52;switch(_0x25f561){case _0xa4e658[_0x558c26(0x27c)]:return _0x558c26(0x14f);case _0xa4e658['CONFLICT']:return _0x558c26(0x248);case _0xa4e658[_0x558c26(0x1f2)]:return _0x558c26(0xe3);case _0xa4e658['NOT_COLLAB']:return _0x558c26(0x214);case _0xa4e658[_0x558c26(0x182)]:case _0xa4e658[_0x558c26(0xde)]:return'collabStatus.syncing';case _0xa4e658[_0x558c26(0x2c6)]:case _0xa4e658['PENDING']:return _0x558c26(0x110);}}function Wi(_0x3f52aa){const _0x303292=_0x38fc52,{status$:_0x3824a4}=_0x3f52aa,_0x12017a=_0x16fdaf(_0x3824a4,_0xa4e658[_0x303292(0x257)]),_0x222b33=_0x3dc5a9(_0x17af14),_0x4af308=_0x3dc5a9(_0x4a001c),_0x36b486=_0x12017a!==_0xa4e658[_0x303292(0x27c)],_0x16181a=_0x222b33['t'](Vi(_0x12017a)),_0xcbed74=_0x36b486?_0x1204df(Nt,{}):_0x1204df(Dt,{}),_0x57528c=_0x507d41(()=>{const _0x8b4afb=_0x303292;_0x36b486||_0x4af308[_0x8b4afb(0x13f)]();},[_0x36b486,_0x4af308]);function _0x3225a1(){const _0x42e06d=_0x303292;return _0x2f96b3('div',{'className':_0x42e06d(0x207),'onClick':_0x57528c,'children':[_0x1204df('div',{'className':_0x1938fa('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x36b486,'univer-text-red-500':!_0x36b486}),'children':_0xcbed74}),_0x1204df(_0x42e06d(0x1d4),{'className':_0x42e06d(0x29b),'children':_0x16181a})]});}return _0x36b486?_0x3225a1():_0x1204df(_0x517cc6,{'title':_0x222b33['t'](_0x303292(0x292)),'children':_0x3225a1()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x32e68b,_0x25af54,_0x48d43e,_0x4c905a)=>{const _0x300f50=_0x38fc52;for(var _0x2dfa39=_0x4c905a>0x1?void 0x0:_0x4c905a?Xi(_0x25af54,_0x48d43e):_0x25af54,_0x258bc0=_0x32e68b[_0x300f50(0x269)]-0x1,_0x5e8677;_0x258bc0>=0x0;_0x258bc0--)(_0x5e8677=_0x32e68b[_0x258bc0])&&(_0x2dfa39=_0x5e8677(_0x2dfa39)||_0x2dfa39);return _0x2dfa39;},Q=(_0x323570,_0x1197d2)=>(_0x58dc5d,_0x13f3dc)=>_0x1197d2(_0x58dc5d,_0x13f3dc,_0x323570);let te=class extends _0x234aca{constructor(_0x275039,_0x1e6458,_0x30ac22,_0x28d9e0){const _0xd999cc=_0x38fc52;super(),_(this,_0xd999cc(0x22c),new _0x5250b5(_0xa4e658[_0xd999cc(0x257)])),(this[_0xd999cc(0x198)]=_0x275039,this['_injector']=_0x1e6458,this[_0xd999cc(0x196)]=_0x30ac22,this[_0xd999cc(0x290)]=_0x28d9e0,this[_0xd999cc(0x211)](),this[_0xd999cc(0x1d3)]());}[_0x38fc52(0x1d3)](){const _0x29508a=_0x38fc52;this[_0x29508a(0x2c9)](this[_0x29508a(0x198)][_0x29508a(0x222)][_0x29508a(0x2bd)](_0x4705a2(()=>{const _0x137ded=_0x29508a,_0x18eeeb=this[_0x137ded(0x198)][_0x137ded(0x121)]();return _0x18eeeb?this[_0x137ded(0x196)]['getCollabEntity$'](_0x18eeeb['getUnitId']()):_0x28b09b(null);}),_0x4705a2(_0xbf22a0=>_0xbf22a0?_0xbf22a0[_0x29508a(0x155)]:_0x28b09b(_0xa4e658[_0x29508a(0x257)])))[_0x29508a(0x26e)](_0x49551e=>{const _0x279eb8=_0x29508a;this[_0x279eb8(0x22c)]['next'](_0x49551e);}));}[_0x38fc52(0x211)](){const _0x91e35b=_0x38fc52;this[_0x91e35b(0x2c9)](this[_0x91e35b(0x290)][_0x91e35b(0x224)](_0x4f068b['HEADER_MENU'],()=>_0x48240e(Ki({'status$':this[_0x91e35b(0x22c)][_0x91e35b(0x12d)]()}),this[_0x91e35b(0x145)])));}};te=Gi([Q(0x0,_0x12ea05),Q(0x1,_0x9b1a66(_0x264ee9)),Q(0x2,_0x9b1a66(_0x4823da)),Q(0x3,_0x520fb0)],te);function Ki(_0x4179fb){const {status$:_0x452b5a}=_0x4179fb;return function(){return _0x1204df(Wi,{'status$':_0x452b5a});};}var zi=Object[_0x38fc52(0x11d)],Ji=(_0x48e3fe,_0x515ad1,_0x4d8b15,_0x4d2f46)=>{for(var _0x1d7f0d=_0x4d2f46>0x1?void 0x0:_0x4d2f46?zi(_0x515ad1,_0x4d8b15):_0x515ad1,_0xc91ce5=_0x48e3fe['length']-0x1,_0x5d89a3;_0xc91ce5>=0x0;_0xc91ce5--)(_0x5d89a3=_0x48e3fe[_0xc91ce5])&&(_0x1d7f0d=_0x5d89a3(_0x1d7f0d)||_0x1d7f0d);return _0x1d7f0d;},B=(_0x57605b,_0x3241b7)=>(_0x226e42,_0x64cb3f)=>_0x3241b7(_0x226e42,_0x64cb3f,_0x57605b);let se=class extends _0x234aca{constructor(_0x5d6f32,_0x7b7ab0,_0x78f7f2,_0x4e7e8d,_0x146a3f,_0x1ec743){const _0x1b436d=_0x38fc52;super(),this[_0x1b436d(0x1f9)]=_0x5d6f32,this['_localCacheService']=_0x7b7ab0,this[_0x1b436d(0x100)]=_0x78f7f2,this[_0x1b436d(0x1af)]=_0x4e7e8d,this['_notificationService']=_0x146a3f,this[_0x1b436d(0x2cd)]=_0x1ec743,this[_0x1b436d(0x126)](),this[_0x1b436d(0x23f)]();}['_setupBeforeClosingHandler'](){const _0x5b4af7=_0x38fc52;this['disposeWithMe'](this[_0x5b4af7(0x1f9)][_0x5b4af7(0x1b3)](()=>{const _0x2a85b8=_0x5b4af7;if(this[_0x2a85b8(0x2bc)]['saveTaskMap']['size'])return this[_0x2a85b8(0x2cd)]['t'](_0x2a85b8(0x228));}));}[_0x38fc52(0x23f)](){const _0x45cbe4=_0x38fc52;this[_0x45cbe4(0x2c9)](this[_0x45cbe4(0x100)]['event$'][_0x45cbe4(0x26e)](_0x1f8eee=>{const _0x305e52=_0x45cbe4;_0x1f8eee['id']===_0x1acec1[_0x305e52(0x2ce)]&&this['_messageService'][_0x305e52(0x238)]({'type':_0x284a2b[_0x305e52(0xf9)],'content':this['_localeService']['t'](_0x305e52(0x1d8))}),_0x1f8eee['id']===_0x1acec1[_0x305e52(0x289)]&&this['_messageService'][_0x305e52(0x238)]({'type':_0x284a2b[_0x305e52(0xf9)],'content':this[_0x305e52(0x2cd)]['t'](_0x305e52(0x10a))}),_0x1f8eee['id']===_0x1acec1[_0x305e52(0x20a)]&&this[_0x305e52(0x1b0)][_0x305e52(0x238)]({'title':this[_0x305e52(0x2cd)]['t'](_0x305e52(0x2c3)),'content':this[_0x305e52(0x2cd)]['t'](_0x305e52(0x187)),'type':'error','duration':0x0}),_0x1f8eee['id']===_0x1acec1[_0x305e52(0xe9)]&&this[_0x305e52(0x1af)][_0x305e52(0x238)]({'type':_0x284a2b[_0x305e52(0xdb)],'content':this[_0x305e52(0x2cd)]['t']('collaboration.closeRoom')+'('+_0x1f8eee[_0x305e52(0x1a8)]+')'}),_0x1f8eee['id']===_0x1acec1[_0x305e52(0x2c8)]&&this[_0x305e52(0x1af)][_0x305e52(0x238)]({'type':_0x284a2b[_0x305e52(0xf9)],'content':this[_0x305e52(0x2cd)]['t'](_0x1f8eee[_0x305e52(0x1a8)]||'')}),_0x1f8eee['id']===_0x1acec1['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x305e52(0x238)]({'type':_0x284a2b[_0x305e52(0xf9)],'content':this['_localeService']['t'](_0x305e52(0xec))}),_0x1f8eee['id']===_0x1acec1[_0x305e52(0x2a1)]&&this[_0x305e52(0x1af)][_0x305e52(0x238)]({'type':_0x284a2b[_0x305e52(0xdb)],'content':this[_0x305e52(0x2cd)]['t'](_0x305e52(0xe2))}),_0x1f8eee['id']===_0x1acec1[_0x305e52(0x25e)]&&this[_0x305e52(0x1af)]['show']({'type':_0x284a2b[_0x305e52(0xdb)],'content':this[_0x305e52(0x2cd)]['t'](_0x305e52(0xcd))});}));}};se=Ji([B(0x0,_0x363bcd),B(0x1,_0x5ea69b),B(0x2,_0x9b1a66(_0x38ef66)),B(0x3,_0x479cb5),B(0x4,_0x4ef212),B(0x5,_0x9b1a66(_0x17af14))],se);const Zi=_0x38fc52(0xf5),et={},Ut=_0x3faa77(_0x38fc52(0x1c5));var Qi=Object[_0x38fc52(0x11d)],qi=(_0x59b1c7,_0x27fb88,_0x5486e3,_0x2a1187)=>{const _0x496b87=_0x38fc52;for(var _0x30c503=_0x2a1187>0x1?void 0x0:_0x2a1187?Qi(_0x27fb88,_0x5486e3):_0x27fb88,_0x205d10=_0x59b1c7[_0x496b87(0x269)]-0x1,_0x4a77da;_0x205d10>=0x0;_0x205d10--)(_0x4a77da=_0x59b1c7[_0x205d10])&&(_0x30c503=_0x4a77da(_0x30c503)||_0x30c503);return _0x30c503;},G=(_0x3f76f5,_0x5decbc)=>(_0x4bffb5,_0x23b0ae)=>_0x5decbc(_0x4bffb5,_0x23b0ae,_0x3f76f5);let ie=class extends _0x1b1f7c{constructor(_0x1c0227,_0x365073,_0x5196e4,_0x3b8aa2,_0x3da715){const _0x5d02ce=_0x38fc52;super(),this[_0x5d02ce(0x254)]=_0x1c0227,this[_0x5d02ce(0x167)]=_0x365073,this[_0x5d02ce(0x205)]=_0x5196e4,this[_0x5d02ce(0x194)]=_0x3b8aa2,_0x3da715?_0x3da715==null||_0x3da715['whenReady']()['then'](()=>this[_0x5d02ce(0x11e)]()):(this[_0x5d02ce(0x167)]['debug']('[CollaborationDataLoaderController]',_0x5d02ce(0xd4)),this[_0x5d02ce(0x11e)]());}async[_0x38fc52(0x11e)](){const _0x469fde=_0x38fc52,_0x37d3ce=this[_0x469fde(0x254)]['getParam'](_0x469fde(0xc9)),_0x52965e=this[_0x469fde(0x254)]['getParam'](_0x469fde(0x19e)),_0x43fdd5=this[_0x469fde(0x254)]['getParam']('subunit');if(!_0x37d3ce||!_0x52965e){this[_0x469fde(0x167)][_0x469fde(0x261)](_0x469fde(0x216),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x2d77ba=await this['_dataLoaderService'][_0x469fde(0x12a)](_0x37d3ce,Number(_0x52965e),_0x43fdd5);_0x2d77ba&&_0x2d77ba instanceof _0xb6d1cc&&this[_0x469fde(0xdd)](_0x2d77ba);}async[_0x38fc52(0xdd)](_0x343a42){const _0x158092=_0x38fc52;await this[_0x158092(0x242)](_0x343a42),_0x343a42['activeSheet$'][_0x158092(0x2bd)](_0x258676(this['dispose$']))[_0x158092(0x26e)](_0x5e1510=>{const _0x2eae52=_0x158092;_0x5e1510&&this[_0x2eae52(0x175)](_0x5e1510);}),this[_0x158092(0x254)][_0x158092(0xdc)][_0x158092(0x2bd)](_0x258676(this['dispose$']))[_0x158092(0x26e)](()=>this['_updateSubUnitFromURLParams'](_0x343a42));}['_updateURLWithCurrentState'](_0x944e22,_0x39fbe7=!0x1){const _0x362ac9=_0x38fc52,_0x172ab4=this['_urlService'][_0x362ac9(0x232)](_0x362ac9(0x2c0));_0x944e22['getSheetId']()!==_0x172ab4&&this['_urlService'][_0x362ac9(0x209)](_0x362ac9(0x2c0),_0x944e22[_0x362ac9(0x20c)](),_0x39fbe7);}async[_0x38fc52(0x242)](_0x1e9b3b){const _0x1b52e6=_0x38fc52;var _0x11687f;const _0x12ae95=this['_urlService'][_0x1b52e6(0x232)](_0x1b52e6(0x2c0));if(!_0x12ae95||!_0x1e9b3b['getSheetBySheetId'](_0x12ae95)){const _0x4f62ad=_0x1e9b3b[_0x1b52e6(0xca)]()[0x0],_0x36c3a8=_0x1e9b3b['getSheetBySheetId'](_0x4f62ad);if(!_0x36c3a8)return;this[_0x1b52e6(0x175)](_0x36c3a8,!0x0),await this[_0x1b52e6(0x205)][_0x1b52e6(0x166)](_0x45fb5f['id'],{'unitId':_0x1e9b3b[_0x1b52e6(0x21d)](),'subUnitId':_0x4f62ad});return;}((_0x11687f=_0x1e9b3b[_0x1b52e6(0x28d)]())==null?void 0x0:_0x11687f['getSheetId']())!==_0x12ae95&&await this[_0x1b52e6(0x205)]['executeCommand'](_0x45fb5f['id'],{'unitId':_0x1e9b3b[_0x1b52e6(0x21d)](),'subUnitId':_0x12ae95});}};ie=qi([G(0x0,Ut),G(0x1,_0x13e4f2),G(0x2,_0x349e65),G(0x3,_0x9b1a66(_0x4a672a)),G(0x4,_0x16d4ab(_0x4fa5bf))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x5f4a9f,_0x3dcdce,_0xf0001b,_0x13f0ee)=>{const _0x122a6f=_0x38fc52;for(var _0xecc3d7=_0x13f0ee>0x1?void 0x0:_0x13f0ee?en(_0x3dcdce,_0xf0001b):_0x3dcdce,_0x35c930=_0x5f4a9f[_0x122a6f(0x269)]-0x1,_0x5135d1;_0x35c930>=0x0;_0x35c930--)(_0x5135d1=_0x5f4a9f[_0x35c930])&&(_0xecc3d7=_0x5135d1(_0xecc3d7)||_0xecc3d7);return _0xecc3d7;},pe=(_0x3be1b2,_0x16a479)=>(_0x18cdf2,_0x5bc815)=>_0x16a479(_0x18cdf2,_0x5bc815,_0x3be1b2);let ne=class{constructor(_0x4658ba,_0x4d45b9,_0x49cffb){const _0x172da3=_0x38fc52;this[_0x172da3(0x145)]=_0x4658ba,this[_0x172da3(0xce)]=_0x4d45b9,this[_0x172da3(0x160)]=_0x49cffb;}[_0x38fc52(0x2c4)](_0x366f7b){const _0x5e4713=_0x38fc52;this[_0x5e4713(0xc6)](_0x366f7b),this['_transformPreviousActiveRange'](_0x366f7b);}[_0x38fc52(0x1bb)](_0xcc7f88){const _0x4b77b7=_0x38fc52,{unitID:_0x1d49c2}=_0xcc7f88,_0x2c5f9d=this['_renderManagerService'][_0x4b77b7(0x298)](_0x1d49c2)[_0x4b77b7(0x210)](_0x599c6e),{redoCache:_0x497ba2}=_0x2c5f9d['getUndoRedoMutationParamsCache']();if(_0x497ba2['length']===0x0)return _0xcc7f88;let _0x1bd5d6=_0x128666['deepClone'](_0xcc7f88[_0x4b77b7(0x273)][0x0]);for(let _0x2c1de4=0x0;_0x2c1de4<_0x497ba2[_0x4b77b7(0x269)];_0x2c1de4++){const _0x8bc84b={'id':'doc.mutation.rich-text-editing','params':{..._0x497ba2[_0x2c1de4]}},_0x5ead00=this[_0x4b77b7(0xce)][_0x4b77b7(0x19f)](_0x1bd5d6,_0x8bc84b,!0x1);if(_0x16e003(_0x5ead00))throw _0x5ead00['error'];_0x1bd5d6=_0x5ead00[_0x4b77b7(0x158)];}return{..._0x128666[_0x4b77b7(0x244)](_0xcc7f88),'mutations':[_0x1bd5d6]};}['_transformUndoRedoStack'](_0x4a3074){const _0x56cfbb=_0x38fc52,{unitID:_0x5c58e9}=_0x4a3074,_0x1f95b1=this[_0x56cfbb(0x160)][_0x56cfbb(0x298)](_0x5c58e9)[_0x56cfbb(0x210)](_0x599c6e),{undoCache:_0x8015e0,redoCache:_0x3aa08a}=_0x1f95b1['getUndoRedoMutationParamsCache']();if(_0x8015e0['length']===0x0||_0x3aa08a[_0x56cfbb(0x269)]===0x0)return;const _0x4013f0=[],_0x366698=[];let _0x82710b=_0x128666['deepClone'](_0x4a3074[_0x56cfbb(0x273)][0x0]),_0x33cd82=_0x128666['deepClone'](_0x4a3074[_0x56cfbb(0x273)][0x0]);for(let _0x5637c1=_0x8015e0['length']-0x1;_0x5637c1>=0x0;_0x5637c1--){const _0x360443={'id':_0x56cfbb(0x15f),'params':{..._0x8015e0[_0x5637c1]}},_0x208b96={'id':'doc.mutation.rich-text-editing','params':{..._0x3aa08a[_0x5637c1]}},_0x551624=this[_0x56cfbb(0xce)][_0x56cfbb(0x19f)](_0x82710b,_0x360443,!0x1),_0x205155=this[_0x56cfbb(0xce)][_0x56cfbb(0x19f)](_0x33cd82,_0x208b96,!0x1);if(_0x16e003(_0x551624))throw _0x551624[_0x56cfbb(0x1f5)];if(_0x16e003(_0x205155))throw _0x205155['error'];_0x4013f0[_0x56cfbb(0x1a6)](_0x551624[_0x56cfbb(0xe0)][_0x56cfbb(0x217)]),_0x366698['unshift'](_0x205155['m2Prime'][_0x56cfbb(0x217)]),_0x82710b=_0x551624[_0x56cfbb(0x158)],_0x33cd82=_0x205155['m1Prime'];}_0x1f95b1['setUndoRedoMutationParamsCache']({'undoCache':_0x4013f0,'redoCache':_0x366698});}[_0x38fc52(0x2a3)](_0x7cd7d7){const _0x4b86ee=_0x38fc52,{unitID:_0x1f6e2e}=_0x7cd7d7,_0x2b491c=this[_0x4b86ee(0x160)]['getRenderById'](_0x1f6e2e)[_0x4b86ee(0x210)](_0x599c6e),_0x4b3d75=_0x2b491c[_0x4b86ee(0x1bf)]();if(_0x4b3d75==null)return;const _0x34f680=[{'id':_0x4b86ee(0x15f),'params':{'unitId':_0x7cd7d7['unitID'],'actions':null,'textRanges':[_0x4b3d75]}}],_0x2e16d1=this[_0x4b86ee(0xce)]['transformMutationsWithChangeset'](_0x7cd7d7,_0x34f680);if(!_0x41ea54(_0x2e16d1))throw _0x2e16d1[_0x4b86ee(0x1f5)];const _0x2fb8b3=_0x2e16d1[_0x4b86ee(0xe0)][0x0][_0x4b86ee(0x217)][_0x4b86ee(0xd1)];Array[_0x4b86ee(0x2ab)](_0x2fb8b3)&&_0x2fb8b3[_0x4b86ee(0x269)]&&_0x2b491c[_0x4b86ee(0xcf)](_0x2fb8b3[0x0]);}};ne=tn([pe(0x0,_0x9b1a66(_0x264ee9)),pe(0x1,_0x1e9735),pe(0x2,_0x42117)],ne);var sn=Object[_0x38fc52(0x11d)],nn=(_0x4a5910,_0x46f67a,_0x5dc66d,_0x3315ee)=>{for(var _0x3e21da=_0x3315ee>0x1?void 0x0:_0x3315ee?sn(_0x46f67a,_0x5dc66d):_0x46f67a,_0x65bf8=_0x4a5910['length']-0x1,_0x50f19c;_0x65bf8>=0x0;_0x65bf8--)(_0x50f19c=_0x4a5910[_0x65bf8])&&(_0x3e21da=_0x50f19c(_0x3e21da)||_0x3e21da);return _0x3e21da;},Ce=(_0x5d5d13,_0x212852)=>(_0x24e0ca,_0x35d15e)=>_0x212852(_0x24e0ca,_0x35d15e,_0x5d5d13);let re=class{constructor(_0x3a8482,_0x5b7b80,_0x4328c8){const _0x3a52f2=_0x38fc52;this[_0x3a52f2(0x145)]=_0x3a8482,this['_transformService']=_0x5b7b80,this[_0x3a52f2(0x192)]=_0x4328c8;}[_0x38fc52(0x1e4)](_0x857aad){this['_transformHistoryAndStateStack'](_0x857aad);}['transformRemoteChangeset'](_0x98f836){const _0xeb16da=_0x38fc52,{unitID:_0x4174c1}=_0x98f836,{collaboration:_0x1cc9a5}=this['_docStateChangeManagerService']['getStateCache'](_0x4174c1);if(_0x1cc9a5[_0xeb16da(0x269)]===0x0)return _0x98f836;let _0x3fa3f0=_0x128666[_0xeb16da(0x244)](_0x98f836['mutations'][0x0]);for(let _0x573e4f=0x0;_0x573e4f<_0x1cc9a5[_0xeb16da(0x269)];_0x573e4f++){const _0xe8be80={'id':_0xeb16da(0x15f),'params':{'unitId':_0x1cc9a5[_0x573e4f][_0xeb16da(0x2b3)],..._0x1cc9a5[_0x573e4f][_0xeb16da(0x1ba)]}},_0x2bda13=this['_transformService'][_0xeb16da(0x19f)](_0x3fa3f0,_0xe8be80,!0x1);if(_0x16e003(_0x2bda13))throw _0x2bda13[_0xeb16da(0x1f5)];_0x3fa3f0=_0x2bda13[_0xeb16da(0x158)];}return{..._0x128666[_0xeb16da(0x244)](_0x98f836),'mutations':[_0x3fa3f0]};}[_0x38fc52(0xf4)](_0x436834){const _0x3270b3=_0x38fc52,{unitID:_0x108150}=_0x436834,{history:_0x2b51dc,collaboration:_0x305f8b}=this['_docStateChangeManagerService']['getStateCache'](_0x108150);if(_0x2b51dc[_0x3270b3(0x269)]===0x0&&_0x305f8b[_0x3270b3(0x269)]===0x0)return;const _0x28c8e0=[],_0x4acf64=[];let _0x430058=_0x128666[_0x3270b3(0x244)](_0x436834[_0x3270b3(0x273)][0x0]),_0xea48b2=_0x128666[_0x3270b3(0x244)](_0x436834['mutations'][0x0]);for(let _0x21bcaa=_0x2b51dc[_0x3270b3(0x269)]-0x1;_0x21bcaa>=0x0;_0x21bcaa--){const _0x580dcf={'id':_0x3270b3(0x15f),'params':{'unitId':_0x2b51dc[_0x21bcaa][_0x3270b3(0x2b3)],..._0x2b51dc[_0x21bcaa][_0x3270b3(0x1bc)]}},_0x2e5cea={'id':_0x3270b3(0x15f),'params':{'unitId':_0x2b51dc[_0x21bcaa][_0x3270b3(0x2b3)],..._0x2b51dc[_0x21bcaa][_0x3270b3(0x1ba)]}},_0x49967f=this[_0x3270b3(0xce)][_0x3270b3(0x19f)](_0x430058,_0x580dcf,!0x1),_0x1ec89d=this[_0x3270b3(0xce)][_0x3270b3(0x19f)](_0xea48b2,_0x2e5cea,!0x1);if(_0x16e003(_0x49967f))throw _0x49967f[_0x3270b3(0x1f5)];if(_0x16e003(_0x1ec89d))throw _0x1ec89d['error'];_0x28c8e0['unshift']({..._0x2b51dc[_0x21bcaa],'undoState':_0x49967f[_0x3270b3(0xe0)][_0x3270b3(0x217)],'redoState':_0x1ec89d[_0x3270b3(0xe0)][_0x3270b3(0x217)]}),_0x430058=_0x49967f[_0x3270b3(0x158)],_0xea48b2=_0x1ec89d[_0x3270b3(0x158)];}_0x430058=_0x128666[_0x3270b3(0x244)](_0x436834[_0x3270b3(0x273)][0x0]),_0xea48b2=_0x128666['deepClone'](_0x436834['mutations'][0x0]);for(let _0x5d0f5c=_0x305f8b[_0x3270b3(0x269)]-0x1;_0x5d0f5c>=0x0;_0x5d0f5c--){const _0x13c4d7={'id':_0x3270b3(0x15f),'params':{'unitId':_0x305f8b[_0x5d0f5c][_0x3270b3(0x2b3)],..._0x305f8b[_0x5d0f5c][_0x3270b3(0x1bc)]}},_0x5a24bb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x305f8b[_0x5d0f5c][_0x3270b3(0x2b3)],..._0x305f8b[_0x5d0f5c]['redoState']}},_0x15ce31=this[_0x3270b3(0xce)]['transformMutation'](_0x430058,_0x13c4d7,!0x1),_0x24d773=this[_0x3270b3(0xce)][_0x3270b3(0x19f)](_0xea48b2,_0x5a24bb,!0x1);if(_0x16e003(_0x15ce31))throw _0x15ce31[_0x3270b3(0x1f5)];if(_0x16e003(_0x24d773))throw _0x24d773['error'];_0x4acf64[_0x3270b3(0x1a6)]({..._0x305f8b[_0x5d0f5c],'undoState':_0x15ce31[_0x3270b3(0xe0)][_0x3270b3(0x217)],'redoState':_0x24d773[_0x3270b3(0xe0)][_0x3270b3(0x217)]}),_0x430058=_0x15ce31[_0x3270b3(0x158)],_0xea48b2=_0x24d773[_0x3270b3(0x158)];}this[_0x3270b3(0x192)][_0x3270b3(0x191)](_0x108150,{'history':_0x28c8e0,'collaboration':_0x4acf64});}};re=nn([Ce(0x0,_0x9b1a66(_0x264ee9)),Ce(0x1,_0x1e9735),Ce(0x2,_0x9b1a66(_0x1bbf96))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x42d518,_0x110497,_0x1851d2,_0x34c8a2)=>{const _0x1b3e81=_0x38fc52;for(var _0x1146d6=_0x34c8a2>0x1?void 0x0:_0x34c8a2?rn(_0x110497,_0x1851d2):_0x110497,_0x12bfa7=_0x42d518[_0x1b3e81(0x269)]-0x1,_0x1f82ed;_0x12bfa7>=0x0;_0x12bfa7--)(_0x1f82ed=_0x42d518[_0x12bfa7])&&(_0x1146d6=_0x1f82ed(_0x1146d6)||_0x1146d6);return _0x1146d6;},tt=(_0x3e22ea,_0x21eb8d)=>(_0x39a78c,_0x4074e9)=>_0x21eb8d(_0x39a78c,_0x4074e9,_0x3e22ea);let oe=class{constructor(_0xc199cb,_0x2165e0){this['_injector']=_0xc199cb,this['_transformService']=_0x2165e0;}[_0x38fc52(0x17f)](_0x58d414){const _0xb88b07=_0x38fc52;var _0x2c3a2d;const _0x5ea03a=this[_0xb88b07(0x145)][_0xb88b07(0x1b6)](_0x296788),_0x3dd15a=(_0x2c3a2d=_0x5ea03a['getDocRanges']())!=null?_0x2c3a2d:[];if(_0x3dd15a[_0xb88b07(0x269)]===0x0)return;const _0x45e441=_0x58d414[_0xb88b07(0xe4)],_0x539db2=[{'id':_0xb88b07(0x15f),'params':{'unitId':_0x45e441,'actions':null,'textRanges':_0x3dd15a}}],_0x54b713=this[_0xb88b07(0xce)]['transformMutationsWithChangeset'](_0x58d414,_0x539db2);if(!_0x41ea54(_0x54b713))throw _0x54b713[_0xb88b07(0x1f5)];const _0x2b02ab=_0x54b713[_0xb88b07(0xe0)][0x0][_0xb88b07(0x217)]['textRanges'];Array[_0xb88b07(0x2ab)](_0x2b02ab)&&_0x2b02ab['length']&&_0x5ea03a['replaceDocRanges'](_0x2b02ab,{'unitId':_0x45e441,'subUnitId':_0x45e441},!0x1);}};oe=on([tt(0x0,_0x9b1a66(_0x264ee9)),tt(0x1,_0x1e9735)],oe);var an=Object[_0x38fc52(0x11d)],cn=(_0x1db328,_0x23044e,_0x1ef387,_0x4fda2a)=>{const _0x4a6057=_0x38fc52;for(var _0x2cc1fc=_0x4fda2a>0x1?void 0x0:_0x4fda2a?an(_0x23044e,_0x1ef387):_0x23044e,_0x47e7e0=_0x1db328[_0x4a6057(0x269)]-0x1,_0x38e9b9;_0x47e7e0>=0x0;_0x47e7e0--)(_0x38e9b9=_0x1db328[_0x47e7e0])&&(_0x2cc1fc=_0x38e9b9(_0x2cc1fc)||_0x2cc1fc);return _0x2cc1fc;},U=(_0x108596,_0xde6e95)=>(_0x501d57,_0x586380)=>_0xde6e95(_0x501d57,_0x586380,_0x108596);let ae=class extends _0x234aca{constructor(_0x4c727d,_0x5e9f03,_0x46c391,_0xd93cda,_0x8d8b63,_0x275ee6,_0x217924,_0x554395){const _0x3b7e53=_0x38fc52;super(),_(this,_0x3b7e53(0x22c),new _0x5250b5(_0xa4e658['NOT_COLLAB'])),(this[_0x3b7e53(0x192)]=_0x4c727d,this[_0x3b7e53(0x196)]=_0x5e9f03,this[_0x3b7e53(0x16c)]=_0x46c391,this[_0x3b7e53(0x1cb)]=_0xd93cda,this[_0x3b7e53(0x1a7)]=_0x8d8b63,this[_0x3b7e53(0x26f)]=_0x275ee6,this['_messageService']=_0x217924,this['_localeService']=_0x554395,this[_0x3b7e53(0x29e)]());}[_0x38fc52(0x29e)](){const _0x1f45bc=_0x38fc52;this[_0x1f45bc(0x2c9)](this[_0x1f45bc(0x196)]['entityInit$']['subscribe'](_0x23a438=>{const _0x2b0d9b=_0x1f45bc,_0x276dfd=this[_0x2b0d9b(0x192)][_0x2b0d9b(0x108)][_0x2b0d9b(0x26e)](_0xb6861e=>{const _0x3804e1=_0x2b0d9b;if(_0xb6861e==null)return;const {unitId:_0x4e8b91,redoState:_0x1138f4,commandId:_0x492b3}=_0xb6861e;if(_0x4e8b91!==_0x23a438[_0x3804e1(0xe4)])return;const _0x3d27f6={'id':_0x492b3,'type':_0x528096[_0x3804e1(0x14c)],'params':{'unitId':_0x4e8b91,'actions':_0x1138f4['actions'],'textRanges':null}};_0x23a438[_0x3804e1(0x233)](_0x3d27f6);});if(_0x23a438[_0x2b0d9b(0x2c9)](_0x276dfd),_0x23a438 instanceof _0x57db30){const _0x1e8615={'onTransformIME':_0x368bb8=>this[_0x2b0d9b(0x16c)][_0x2b0d9b(0x2c4)](_0x368bb8),'onTransformState':_0x36b182=>this[_0x2b0d9b(0x1cb)][_0x2b0d9b(0x1e4)](_0x36b182),'onTransformSelections':_0x1cfd2f=>this['_docTransformSelectionsService'][_0x2b0d9b(0x17f)](_0x1cfd2f),'onSyncEditingCollabCursor':_0x16ad7c=>this[_0x2b0d9b(0x26f)][_0x2b0d9b(0x1ed)](_0x16ad7c),'onTransformRemoteChangesetByIMECache':_0x4b330c=>this[_0x2b0d9b(0x16c)][_0x2b0d9b(0x1bb)](_0x4b330c),'onTransformRemoteChangesetByStateCache':_0x45606b=>this[_0x2b0d9b(0x1cb)][_0x2b0d9b(0x1bb)](_0x45606b)};_0x23a438['addHandlerCallback'](_0x1e8615);}}));}};ae=cn([U(0x0,_0x9b1a66(_0x1bbf96)),U(0x1,_0x9b1a66(_0x4823da)),U(0x2,_0x9b1a66(ne)),U(0x3,_0x9b1a66(re)),U(0x4,_0x9b1a66(oe)),U(0x5,_0x9b1a66(He)),U(0x6,_0x479cb5),U(0x7,_0x9b1a66(_0x17af14))],ae);var ln=Object[_0x38fc52(0x11d)],_n=(_0x694c0a,_0x3814df,_0x3963d6,_0x57a2e9)=>{const _0x1dca33=_0x38fc52;for(var _0x49b513=_0x57a2e9>0x1?void 0x0:_0x57a2e9?ln(_0x3814df,_0x3963d6):_0x3814df,_0x176a23=_0x694c0a[_0x1dca33(0x269)]-0x1,_0x2cc0b2;_0x176a23>=0x0;_0x176a23--)(_0x2cc0b2=_0x694c0a[_0x176a23])&&(_0x49b513=_0x2cc0b2(_0x49b513)||_0x49b513);return _0x49b513;},Ee=(_0x1ad2f9,_0x29b1d2)=>(_0x11b394,_0x23abaf)=>_0x29b1d2(_0x11b394,_0x23abaf,_0x1ad2f9);let we=class extends _0x234aca{constructor(_0x876bd6,_0x44dd22,_0x1ddc80){const _0x553aae=_0x38fc52;super(),_(this,_0x553aae(0x135),new Map()),_(this,_0x553aae(0x27a),new Map()),_(this,'_disabled',!0x1),(this[_0x553aae(0xf3)]=_0x876bd6,this[_0x553aae(0x156)]=_0x44dd22,this[_0x553aae(0x24d)]=_0x1ddc80);}['disableLocalCache'](){const _0xaa9f9a=_0x38fc52;this[_0xaa9f9a(0x208)]=!0x0;}[_0x38fc52(0x2cb)](){this['_disabled']=!0x1;}get[_0x38fc52(0x142)](){const _0x1dd52f=_0x38fc52;return this[_0x1dd52f(0x27a)];}[_0x38fc52(0x195)](){const _0x17440d=_0x38fc52;this[_0x17440d(0x1c8)]()[_0x17440d(0x130)](()=>super['dispose']());}async[_0x38fc52(0x1ab)](_0x4fab9f){const _0x396c39=_0x38fc52;return this[_0x396c39(0x208)]?null:this['_localStorageService']['getItem'](_0xa3cb90(_0x4fab9f));}async[_0x38fc52(0x10b)](_0x2cb38b,_0x3ff496){const _0x36e9b9=_0x38fc52;return!!this[_0x36e9b9(0x156)][_0x36e9b9(0x101)](_0x2cb38b,_0x3ff496);}[_0x38fc52(0x1ee)](_0x3f3e17,_0x46d981,_0x3bb54e,_0x5454af){const _0x17f800=_0x38fc52,_0x739999=this[_0x17f800(0x24d)][_0x17f800(0xd2)](_0x3f3e17);this[_0x17f800(0x135)][_0x17f800(0x18a)](_0x3f3e17,{'unitID':_0x3f3e17,'type':_0x46d981,'awaitingChangeset':_0x3bb54e,'mutations':_0x5454af,'rev':_0x739999}),this[_0x17f800(0x27a)]['has'](_0x3f3e17)||this[_0x17f800(0x146)](_0x3f3e17);}[_0x38fc52(0x146)](_0x41a5cc){const _0x45c178=_0x38fc52,_0x5a35c4=this['_getSaveTimeout']();_0x5a35c4===0x0?this['_saveCache'](_0x41a5cc):this[_0x45c178(0x27a)][_0x45c178(0x18a)](_0x41a5cc,setTimeout(()=>this[_0x45c178(0x231)](_0x41a5cc),_0x5a35c4));}[_0x38fc52(0x1db)](){const _0x1e3cc6=_0x38fc52;var _0x456811;return(_0x456811=this[_0x1e3cc6(0xf3)][_0x1e3cc6(0x199)](_0x1e71b3))!=null?_0x456811:_0x24f890;}[_0x38fc52(0x231)](_0x241a1c){const _0x317eff=_0x38fc52,_0x201d78=this[_0x317eff(0x27a)][_0x317eff(0x1b6)](_0x241a1c);return _0x201d78!==void 0x0&&window[_0x317eff(0x21c)](_0x201d78),this['_localStorageService'][_0x317eff(0x101)](_0xa3cb90(_0x241a1c),this[_0x317eff(0x135)][_0x317eff(0x1b6)](_0x241a1c))[_0x317eff(0x130)](()=>this[_0x317eff(0x27a)][_0x317eff(0x19c)](_0x241a1c));}async[_0x38fc52(0x1c8)](){const _0x1d9446=_0x38fc52,_0x14d5d6=[];this[_0x1d9446(0x27a)][_0x1d9446(0x186)]((_0x2fd196,_0x2e8162)=>{const _0x2a4f96=_0x1d9446;window[_0x2a4f96(0x21c)](_0x2fd196),_0x14d5d6['push'](this[_0x2a4f96(0x231)](_0x2e8162)[_0x2a4f96(0x130)](()=>{this['_saveTaskMap']['delete'](_0x2e8162);}));}),await Promise[_0x1d9446(0x116)](_0x14d5d6);}};we=_n([Ee(0x0,_0x1d6be9),Ee(0x1,_0x21e443),Ee(0x2,_0x9b1a66(_0x4b26ad))],we);class hn extends _0x1b1f7c{constructor(){const _0x150def=_0x38fc52;super(),_(this,_0x150def(0xdc)),this[_0x150def(0xdc)]=_0x42dee8(window,_0x150def(0x246))[_0x150def(0x2bd)](_0x258676(this['dispose$']),_0x50b654(0x1),_0x21c168(void 0x0));}[_0x38fc52(0x209)](_0x314c80,_0x801ba8,_0x3facfe=!0x1){const _0x46052d=_0x38fc52,_0x4d462f=new URL(window[_0x46052d(0x153)]['href']);_0x4d462f['searchParams'][_0x46052d(0x18a)](_0x314c80,_0x801ba8),_0x3facfe?window['history'][_0x46052d(0x25d)]('','',_0x4d462f[_0x46052d(0xcc)]()):window['history'][_0x46052d(0x1b2)]('','',_0x4d462f['toString']());}[_0x38fc52(0x136)](_0x542c62,_0x308d3c=!0x1){const _0x28632b=_0x38fc52,_0x4e6ecf=new URL(window[_0x28632b(0x153)][_0x28632b(0x250)]);_0x4e6ecf[_0x28632b(0x1ce)][_0x28632b(0x19c)](_0x542c62),_0x308d3c?window[_0x28632b(0x1ef)][_0x28632b(0x25d)]('','',_0x4e6ecf[_0x28632b(0xcc)]()):window[_0x28632b(0x1ef)][_0x28632b(0x1b2)]('','',_0x4e6ecf[_0x28632b(0xcc)]());}[_0x38fc52(0x232)](_0x4ffac3){const _0x3f17e6=_0x38fc52;var _0x3c39ff;return(_0x3c39ff=new URL(window[_0x3f17e6(0x153)][_0x3f17e6(0x250)])['searchParams'][_0x3f17e6(0x1b6)](_0x4ffac3))!=null?_0x3c39ff:void 0x0;}}var un=Object[_0x38fc52(0x154)],dn=Object[_0x38fc52(0x11d)],fn=(_0x2f45d6,_0x533a13,_0x555258)=>_0x533a13 in _0x2f45d6?un(_0x2f45d6,_0x533a13,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x555258}):_0x2f45d6[_0x533a13]=_0x555258,Sn=(_0x315f31,_0x161c77,_0x2053f5,_0x199ad7)=>{const _0x11224b=_0x38fc52;for(var _0x4770f4=_0x199ad7>0x1?void 0x0:_0x199ad7?dn(_0x161c77,_0x2053f5):_0x161c77,_0x2d54f9=_0x315f31[_0x11224b(0x269)]-0x1,_0x313113;_0x2d54f9>=0x0;_0x2d54f9--)(_0x313113=_0x315f31[_0x2d54f9])&&(_0x4770f4=_0x313113(_0x4770f4)||_0x4770f4);return _0x4770f4;},Oe=(_0x1d9293,_0x3fcba0)=>(_0x56d8f1,_0x5476cf)=>_0x3fcba0(_0x56d8f1,_0x5476cf,_0x1d9293),mn=(_0x3c202e,_0x52d78d,_0x290881)=>fn(_0x3c202e,_0x52d78d+'',_0x290881);const In=_0x38fc52(0x24e);let Ae=class extends _0x4898cf{constructor(_0x164d03=et,_0x2251a8,_0xbaef22,_0x19edfd){const _0x356fa1=_0x38fc52;super(),this[_0x356fa1(0x202)]=_0x164d03,this['_renderManagerService']=_0x2251a8,this[_0x356fa1(0x145)]=_0xbaef22,this[_0x356fa1(0xf3)]=_0x19edfd;const {..._0x27abe5}=_0x3e62cc({},et,this[_0x356fa1(0x202)]);this[_0x356fa1(0xf3)][_0x356fa1(0x1eb)](Zi,_0x27abe5);}[_0x38fc52(0x13a)](){const _0x5c7989=_0x38fc52;this['_registerDependencies'](),this[_0x5c7989(0x26b)]();}[_0x38fc52(0x1d0)](){const _0x352b52=_0x38fc52;this[_0x352b52(0x12b)]();}[_0x38fc52(0x112)](){const _0x92ca0b=_0x38fc52;var _0x47d3a5;const _0xc4b046=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1e0983,{'useClass':_0x156c43}],[_0x5ea69b,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x542720(this[_0x92ca0b(0x145)],_0x5ea94f(_0xc4b046,(_0x47d3a5=this[_0x92ca0b(0x202)])==null?void 0x0:_0x47d3a5['override']));}[_0x38fc52(0x12b)](){const _0x2d6b63=_0x38fc52;this[_0x2d6b63(0x2c9)](this[_0x2d6b63(0x160)][_0x2d6b63(0x1ec)](_0x4abec6[_0x2d6b63(0x279)],[Le])),this[_0x2d6b63(0x2c9)](this[_0x2d6b63(0x160)][_0x2d6b63(0x1ec)](_0x4abec6[_0x2d6b63(0x262)],[Pe]));}['_initDependencies'](){const _0x14bc50=_0x38fc52;_0x1190b3(this[_0x14bc50(0x145)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x38fc52(0x28e),In),Ae=Sn([_0x501718(_0x47d9c9),Oe(0x1,_0x42117),Oe(0x2,_0x9b1a66(_0x264ee9)),Oe(0x3,_0x1d6be9)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x2ae3c1,_0x5b9013,_0x5612fd,_0x5e32ad)=>{const _0xf73920=_0x38fc52;for(var _0x21a7a2=_0x5e32ad>0x1?void 0x0:_0x5e32ad?gn(_0x5b9013,_0x5612fd):_0x5b9013,_0x53c9ce=_0x2ae3c1[_0xf73920(0x269)]-0x1,_0x53295d;_0x53c9ce>=0x0;_0x53c9ce--)(_0x53295d=_0x2ae3c1[_0x53c9ce])&&(_0x21a7a2=_0x53295d(_0x21a7a2)||_0x21a7a2);return _0x21a7a2;},K=(_0x517fae,_0x237d3c)=>(_0xda68f6,_0x27df66)=>_0x237d3c(_0xda68f6,_0x27df66,_0x517fae);let st=class extends _0x26fbbb{constructor(_0x41a5ba,_0x129994,_0x96e272,_0x16c202,_0x329ae7){super(_0x41a5ba,_0x129994,_0x96e272,_0x16c202,_0x329ae7);}async[_0x38fc52(0x28b)](_0x10ba1f){const _0x24453e=_0x38fc52,_0x534903=await this[_0x24453e(0x10f)](),_0x5e2b06=this[_0x24453e(0x265)](_0x10ba1f,_0x534903);return this[_0x24453e(0x267)](_0x5e2b06);}[_0x38fc52(0x265)](_0x2329de,_0x2002ec){const _0x3e876f=_0x38fc52,_0x2a13b8=typeof window>'u'?new URL(_0x2329de):new URL(_0x2329de,window[_0x3e876f(0x153)][_0x3e876f(0x134)]);_0x2a13b8[_0x3e876f(0x1ce)][_0x3e876f(0x18a)](_0x3e876f(0x13c),_0x2002ec);const _0x4a7b4f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3e876f(0x153)][_0x3e876f(0xc8)]);return _0x4a7b4f[_0x3e876f(0x1b6)](_0x3e876f(0x256))&&_0x2a13b8[_0x3e876f(0x1ce)][_0x3e876f(0x18a)](_0x3e876f(0x256),_0x4a7b4f[_0x3e876f(0x1b6)](_0x3e876f(0x256))),_0x2a13b8[_0x3e876f(0xcc)]();}async[_0x38fc52(0x10f)](){const _0x398e40=_0x38fc52;var _0x84605b,_0x372328,_0x9af606;const _0x2fad5d=this[_0x398e40(0xf3)][_0x398e40(0x199)](_0x5b691c),_0xaea850=(_0x84605b=_0x2fad5d==null?void 0x0:_0x2fad5d[_0x398e40(0x14a)])!=null?_0x84605b:_0xcc50b8;return(_0x9af606=(_0x372328=(await this[_0x398e40(0x2ae)][_0x398e40(0x1b6)](_0xaea850,{'headers':{'Content-Type':_0x398e40(0xcb)}}))[_0x398e40(0x253)])==null?void 0x0:_0x372328['ticket'])!=null?_0x9af606:'';}};st=vn([K(0x0,_0x9b1a66(_0x264ee9)),K(0x1,_0x9b1a66(_0x17ded4)),K(0x2,_0x1d6be9),K(0x3,_0x13e4f2),K(0x4,_0xbff727)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x234aca{constructor(){const _0x16d8b7=_0x38fc52;super(),_(this,_0x16d8b7(0x2a5),_0x39ba7d()),_(this,_0x16d8b7(0x114),new Set()),_(this,_0x16d8b7(0x104),new Map()),_(this,_0x16d8b7(0x1cd),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x16d8b7(0x11e)]();}[_0x38fc52(0x195)](){const _0x524292=_0x38fc52;super[_0x524292(0x195)](),this[_0x524292(0x2a8)][_0x524292(0x186)]((_0x14d0fe,_0x34f91f)=>this['_removeClearOtherTimer'](_0x34f91f)),this[_0x524292(0x1cd)]&&window[_0x524292(0x259)](this['_heartbeatTimer']);}[_0x38fc52(0x139)](_0x5ecee5){const _0x310d5a=_0x38fc52;return this[_0x310d5a(0x266)](_0x5ecee5)[_0x310d5a(0x2bd)](_0x411534());}[_0x38fc52(0x1d7)](_0x531ba2){const _0x17a4da=_0x38fc52;this[_0x17a4da(0x114)][_0x17a4da(0x2d1)]===0x0&&this[_0x17a4da(0x138)](),this[_0x17a4da(0x114)][_0x17a4da(0xf0)](_0x531ba2),this[_0x17a4da(0x125)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x531ba2],'isForwarded':!0x1});}[_0x38fc52(0x20d)](_0x1f8bd7){const _0x30cbe2=_0x38fc52;this['_selfUnitIDs']['delete'](_0x1f8bd7),this[_0x30cbe2(0x114)]['size']===0x0&&this[_0x30cbe2(0x1cd)]&&window[_0x30cbe2(0x259)](this[_0x30cbe2(0x1cd)]);}[_0x38fc52(0x11e)](){const _0xfde49e=_0x38fc52;this[_0xfde49e(0x2c9)](_0x34e549(_0x42dee8(window,_0xfde49e(0x152))[_0xfde49e(0x26e)](_0x43b07b=>{const _0x2a3960=_0xfde49e;if(_0x43b07b[_0x2a3960(0x22b)]!==nt||!_0x43b07b[_0x2a3960(0x1ae)])return;const _0x542563=JSON['parse'](_0x43b07b[_0x2a3960(0x1ae)]);this['_handleEvent'](_0x542563);}))),window[_0xfde49e(0x124)]('unload',()=>this[_0xfde49e(0x125)]({'type':0x1,'memberID':this[_0xfde49e(0x2a5)],'unitIDs':Array[_0xfde49e(0x28c)](this[_0xfde49e(0x114)])}));}[_0x38fc52(0x221)](_0x2fd94a){const _0x2854eb=_0x38fc52;switch(_0x2fd94a[_0x2854eb(0x19e)]){case 0x0:this['_handleJoinEvent'](_0x2fd94a);break;case 0x1:this[_0x2854eb(0x29f)](_0x2fd94a);break;case 0x2:this['_handleHeartbeatEvent'](_0x2fd94a);break;}}[_0x38fc52(0xc7)](_0x5e3f0f){const _0x47f227=_0x38fc52,{unitIDs:_0x1834d6,memberID:_0x130f03,isForwarded:_0x379ceb}=_0x5e3f0f;_0x1834d6['forEach'](_0x5c150a=>{const _0x512e85=_0x5890;if(!_0x379ceb&&this[_0x512e85(0x104)][_0x512e85(0x1ea)](_0x5c150a)&&this['_ensureSubject'](_0x5c150a)[_0x512e85(0x1de)](_0x396e17[_0x512e85(0x23b)]),!this['_unitOnClients'][_0x512e85(0x1ea)](_0x5c150a)||!this[_0x512e85(0x104)]['get'](_0x5c150a)['has'](_0x130f03)){const _0x39df2a=this[_0x512e85(0x104)]['get'](_0x5c150a)||new Set();_0x39df2a['add'](_0x130f03),this[_0x512e85(0x104)][_0x512e85(0x18a)](_0x5c150a,_0x39df2a),this[_0x512e85(0x17e)](_0x130f03);}}),_0x379ceb||this[_0x47f227(0x125)]({'type':0x0,'memberID':this[_0x47f227(0x2a5)],'unitIDs':[...this[_0x47f227(0x114)]],'isForwarded':!0x0});}[_0x38fc52(0x17e)](_0x1f8b8d){const _0x53055d=_0x38fc52;this[_0x53055d(0x26d)](_0x1f8b8d);const _0x1f200e=window[_0x53055d(0x132)](()=>{const _0xb24f22=_0x53055d;this[_0xb24f22(0x104)][_0xb24f22(0x186)](_0x26a3f0=>{_0x26a3f0['delete'](_0x1f8b8d);});},it*0x2);this[_0x53055d(0x2a8)]['set'](_0x1f8b8d,_0x1f200e);}[_0x38fc52(0x26d)](_0xebc3b2){const _0x120cb8=_0x38fc52;if(this['_clearOtherTimers'][_0x120cb8(0x1ea)](_0xebc3b2)){const _0x51f291=this[_0x120cb8(0x2a8)][_0x120cb8(0x1b6)](_0xebc3b2);_0x51f291&&window[_0x120cb8(0x21c)](_0x51f291),this[_0x120cb8(0x2a8)][_0x120cb8(0x18a)](_0xebc3b2,null);}}['_handleLeaveEvent'](_0x5628ff){const _0x589902=_0x38fc52,{memberID:_0x5e5135,unitIDs:_0x184bb0}=_0x5628ff;_0x184bb0[_0x589902(0x186)](_0x4caca1=>{const _0x3265fe=_0x589902;var _0x1e9664;const _0x52d44c=this[_0x3265fe(0x104)]['get'](_0x4caca1);_0x52d44c&&(_0x52d44c[_0x3265fe(0x19c)](_0x5e5135),(_0x1e9664=this['_ensureSubject'](_0x4caca1))==null||_0x1e9664[_0x3265fe(0x1de)](_0x52d44c['size']===0x0?_0x396e17[_0x3265fe(0x24a)]:_0x396e17[_0x3265fe(0x23b)]));}),this['_removeClearOtherTimer'](_0x5e5135);}['_handleHeartbeatEvent'](_0x35ce3f){this['_scheduleClearOtherTimer'](_0x35ce3f['memberID']);}[_0x38fc52(0x125)](_0x3e576f){const _0x2165f5=_0x38fc52;localStorage['setItem'](nt,JSON[_0x2165f5(0x109)](_0x3e576f));}[_0x38fc52(0x138)](){const _0x328557=_0x38fc52;this[_0x328557(0x1cd)]=window['setInterval'](()=>{const _0x5550b8=_0x328557;this['_send']({'type':0x2,'memberID':this[_0x5550b8(0x2a5)]});},it);}[_0x38fc52(0x266)](_0x410b6f){const _0x39b81a=_0x38fc52;return this[_0x39b81a(0x203)]['has'](_0x410b6f)||this[_0x39b81a(0x203)][_0x39b81a(0x18a)](_0x410b6f,new _0x5250b5(_0x396e17['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x39b81a(0x1b6)](_0x410b6f);}}var Mt=(_0x30475e=>(_0x30475e[_0x30475e[_0x38fc52(0x2b8)]=0x0]=_0x38fc52(0x2b8),_0x30475e[_0x30475e['OK']=0x1]='OK',_0x30475e[_0x30475e['INTERNAL_ERROR']=0x2]=_0x38fc52(0x111),_0x30475e[_0x30475e['PERMISSION_DENIED']=0x3]=_0x38fc52(0x20a),_0x30475e[_0x30475e['NOT_FOUND']=0x4]='NOT_FOUND',_0x30475e[_0x30475e[_0x38fc52(0x21e)]=0x5]=_0x38fc52(0x21e),_0x30475e[_0x30475e[_0x38fc52(0x1c4)]=0x6]='ALREADY_EXISTS',_0x30475e[_0x30475e[_0x38fc52(0xf1)]=0x7]=_0x38fc52(0xf1),_0x30475e[_0x30475e[_0x38fc52(0x200)]=0x8]=_0x38fc52(0x200),_0x30475e[_0x30475e[_0x38fc52(0x177)]=0x9]=_0x38fc52(0x177),_0x30475e[_0x30475e[_0x38fc52(0x26c)]=0xa]='LOGIN_FAILED',_0x30475e[_0x30475e[_0x38fc52(0x1d5)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x30475e[_0x30475e[_0x38fc52(0x11c)]=0xc]=_0x38fc52(0x11c),_0x30475e[_0x30475e[_0x38fc52(0x1b9)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x30475e[_0x30475e[_0x38fc52(0x174)]=0xe]=_0x38fc52(0x174),_0x30475e[_0x30475e['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x30475e[_0x30475e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x38fc52(0x181),_0x30475e[_0x30475e[_0x38fc52(0xfa)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x30475e[_0x30475e[_0x38fc52(0x230)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x30475e[_0x30475e[_0x38fc52(0xf6)]=0x1b59]='APPLY_REJECT',_0x30475e[_0x30475e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x30475e[_0x30475e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x38fc52(0x105),_0x30475e[_0x30475e[_0x38fc52(0x22a)]=0x1b5c]=_0x38fc52(0x22a),_0x30475e[_0x30475e[_0x38fc52(0x131)]=0x1b5d]=_0x38fc52(0x131),_0x30475e[_0x30475e[_0x38fc52(0x29c)]=0x1f41]=_0x38fc52(0x29c),_0x30475e[_0x30475e[_0x38fc52(0xe5)]=0x2329]=_0x38fc52(0xe5),_0x30475e[_0x30475e[_0x38fc52(0x164)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x30475e[_0x30475e[_0x38fc52(0x17d)]=0x232b]=_0x38fc52(0x17d),_0x30475e[_0x30475e[_0x38fc52(0x249)]=0x232c]=_0x38fc52(0x249),_0x30475e[_0x30475e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x38fc52(0x128),_0x30475e[_0x30475e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x38fc52(0x219),_0x30475e[_0x30475e[_0x38fc52(0x17a)]=0x2712]=_0x38fc52(0x17a),_0x30475e[_0x30475e[_0x38fc52(0x1b8)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x30475e[_0x30475e['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x38fc52(0x122),_0x30475e[_0x30475e['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x38fc52(0x16f),_0x30475e[_0x30475e[_0x38fc52(0x25f)]=0x271b]=_0x38fc52(0x25f),_0x30475e[_0x30475e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x38fc52(0x21a),_0x30475e[_0x30475e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x38fc52(0x252),_0x30475e[_0x30475e[_0x38fc52(0x293)]=0x271e]=_0x38fc52(0x293),_0x30475e[_0x30475e[_0x38fc52(0x1c1)]=0x271f]=_0x38fc52(0x1c1),_0x30475e[_0x30475e['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x30475e[_0x30475e[_0x38fc52(0xf7)]=0x2af9]=_0x38fc52(0xf7),_0x30475e[_0x30475e['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x30475e[_0x30475e[_0x38fc52(0x277)]=0x2ee2]='INVALID_INVITE_CODE',_0x30475e[_0x30475e['INVITE_CODE_REQUIRED']=0x2ee3]=_0x38fc52(0x225),_0x30475e[_0x30475e[_0x38fc52(0x180)]=0x2ee4]=_0x38fc52(0x180),_0x30475e[_0x30475e[_0x38fc52(0x1e0)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x30475e[_0x30475e['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x38fc52(0x1a3),_0x30475e[_0x30475e[_0x38fc52(0x150)]=0x32ca]=_0x38fc52(0x150),_0x30475e[_0x30475e['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x38fc52(0xe6),_0x30475e[_0x30475e[_0x38fc52(0x275)]=-0x1]='UNRECOGNIZED',_0x30475e))(Mt||{}),pn=Object[_0x38fc52(0x11d)],Cn=(_0x568661,_0x218520,_0x9f6b8b,_0xc9dd7b)=>{const _0x5d78b1=_0x38fc52;for(var _0x1800ff=_0xc9dd7b>0x1?void 0x0:_0xc9dd7b?pn(_0x218520,_0x9f6b8b):_0x218520,_0x149e8d=_0x568661[_0x5d78b1(0x269)]-0x1,_0x500ffe;_0x149e8d>=0x0;_0x149e8d--)(_0x500ffe=_0x568661[_0x149e8d])&&(_0x1800ff=_0x500ffe(_0x1800ff)||_0x1800ff);return _0x1800ff;},be=(_0x22fd38,_0x3a2eef)=>(_0x1d7ee0,_0x50fdfa)=>_0x3a2eef(_0x1d7ee0,_0x50fdfa,_0x22fd38);let rt=class extends _0x234aca{constructor(_0x4296a3,_0x469da6,_0x2204ec){const _0x385ad5=_0x38fc52;super(),this['_instanceService']=_0x4296a3,this[_0x385ad5(0x2ae)]=_0x469da6,this[_0x385ad5(0xf3)]=_0x2204ec;}async['runOnServer'](_0x3d3deb,_0x503e51,_0x43d752,..._0x30d8ff){const _0x16ffe6=_0x38fc52;var _0x5e34d1,_0x1a31fd,_0x5d3bd7,_0x2ddc05;const _0x365ff2=this[_0x16ffe6(0x2a6)]['getFocusedUnit']();if(!_0x365ff2)throw new Error(_0x16ffe6(0x1e1));const _0x14a27a=((_0x5e34d1=this[_0x16ffe6(0xf3)][_0x16ffe6(0x199)](_0x3fdb3f))!=null?_0x5e34d1:_0x285ce8)+'/'+_0x3d3deb+_0x16ffe6(0x291)+_0x503e51,_0x29130f=new URL(window[_0x16ffe6(0x153)][_0x16ffe6(0x250)]),_0x370659={'scriptId':_0x3d3deb,'runId':(_0x1a31fd=_0x29130f['searchParams'][_0x16ffe6(0x1b6)](_0x16ffe6(0x256)))!=null?_0x1a31fd:'','function':_0x503e51,'unitId':_0x365ff2['getUnitId'](),'argsOfFunction':JSON[_0x16ffe6(0x109)](_0x30d8ff),'invokeId':(_0x5d3bd7=_0x43d752[_0x16ffe6(0xd0)])!=null?_0x5d3bd7:'','executionId':(_0x2ddc05=_0x43d752[_0x16ffe6(0x25c)])!=null?_0x2ddc05:''};try{const _0x195022=await this['_httpService'][_0x16ffe6(0x141)](_0x14a27a,{'body':_0x370659});return _0x195022['body'][_0x16ffe6(0x1f5)]&&_0x195022['body'][_0x16ffe6(0x1f5)][_0x16ffe6(0x1b4)]!==Mt['OK']?'Failed':_0x195022['body'][_0x16ffe6(0x179)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x12ea05),be(0x1,_0x9b1a66(_0x17ded4)),be(0x2,_0x1d6be9)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1581fe=_0x5ed8;(function(_0x5eabe3,_0x54e45d){const _0x421292=_0x5ed8,_0x491c6e=_0x5eabe3();while(!![]){try{const _0x351d92=-parseInt(_0x421292(0x119))/0x1+parseInt(_0x421292(0x116))/0x2*(parseInt(_0x421292(0x112))/0x3)+parseInt(_0x421292(0x10f))/0x4*(-parseInt(_0x421292(0x109))/0x5)+-parseInt(_0x421292(0x11a))/0x6*(-parseInt(_0x421292(0x10b))/0x7)+-parseInt(_0x421292(0x110))/0x8*(parseInt(_0x421292(0x11c))/0x9)+-parseInt(_0x421292(0x113))/0xa+parseInt(_0x421292(0x115))/0xb;if(_0x351d92===_0x54e45d)break;else _0x491c6e['push'](_0x491c6e['shift']());}catch(_0xcd636c){_0x491c6e['push'](_0x491c6e['shift']());}}}(_0x51c1,0x47b33));const e={'collab-client':{'tooltip':{'reconnect':_0x1581fe(0x117)}},'collabStatus':{'fetchMiss':_0x1581fe(0x10c),'conflict':_0x1581fe(0x108),'notCollab':'Local\x20file','synced':_0x1581fe(0x10d),'syncing':_0x1581fe(0x118),'offline':_0x1581fe(0x10a)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x1581fe(0x106),'room-full':_0x1581fe(0x11d),'collaboration-timeout':_0x1581fe(0x111)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x1581fe(0x11e)},'permission':{'title':_0x1581fe(0x114),'content':_0x1581fe(0x11b)},'collaboration':{'single-unit':{'warning':_0x1581fe(0x107)},'closeRoom':_0x1581fe(0x10e)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};function _0x5ed8(_0x279a22,_0x579485){const _0x51c1c0=_0x51c1();return _0x5ed8=function(_0x5ed8ab,_0x5a2ae7){_0x5ed8ab=_0x5ed8ab-0x106;let _0x3ec2f7=_0x51c1c0[_0x5ed8ab];return _0x3ec2f7;},_0x5ed8(_0x279a22,_0x579485);}function _0x51c1(){const _0x239c61=['3492tkdfAB','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','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,\x20we\x20retry\x20in\x20a\x20while.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','115ZXCFbG','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','7ILrLSo','Syncing\x20server\x20data...','Synced','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','60004ONfzDG','4240FVqtXL','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','686409JMuweo','5237770tAPFgW','Authentication\x20Error','10467721TxtojX','2sIYKhP','Click\x20to\x20Reconnect','Syncing...','139676qDKATN','1964310JpcyoQ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x51c1=function(){return _0x239c61;};return _0x51c1();}
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x594df0=_0x4c7e;(function(_0x3d6247,_0x2d7e3c){const _0x5dbc10=_0x4c7e,_0x2fb6f7=_0x3d6247();while(!![]){try{const _0x103305=-parseInt(_0x5dbc10(0x11f))/0x1*(-parseInt(_0x5dbc10(0x120))/0x2)+-parseInt(_0x5dbc10(0x121))/0x3*(-parseInt(_0x5dbc10(0x11c))/0x4)+-parseInt(_0x5dbc10(0x123))/0x5+parseInt(_0x5dbc10(0x118))/0x6+-parseInt(_0x5dbc10(0x128))/0x7+parseInt(_0x5dbc10(0x119))/0x8+parseInt(_0x5dbc10(0x11d))/0x9*(-parseInt(_0x5dbc10(0x12a))/0xa);if(_0x103305===_0x2d7e3c)break;else _0x2fb6f7['push'](_0x2fb6f7['shift']());}catch(_0x1fbab8){_0x2fb6f7['push'](_0x2fb6f7['shift']());}}}(_0x4467,0xc33d3));function _0x4c7e(_0x4485bc,_0x136798){const _0x446741=_0x4467();return _0x4c7e=function(_0x4c7e05,_0x4beea3){_0x4c7e05=_0x4c7e05-0x117;let _0x3c7717=_0x446741[_0x4c7e05];return _0x3c7717;},_0x4c7e(_0x4485bc,_0x136798);}function _0x4467(){const _0x4a7265=['اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','پرونده\x20محلی','5121158bPEGsq','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','12793120gpIjJh','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','در\x20حال\x20همگام\x20سازی...','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','6112230DaKKHa','912376qfiRbe','همگام\x20سازی','تداخل\x20همکاری','4glwQLl','9hGgqKK','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','887HnQwAg','1312CqMKLT','4348677MNcrWz','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1767890oYXXsg'];_0x4467=function(){return _0x4a7265;};return _0x4467();}const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x594df0(0x12b),'conflict':'تداخل\x20ویرایش','notCollab':_0x594df0(0x127),'synced':_0x594df0(0x11a),'syncing':_0x594df0(0x12c),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x594df0(0x125),'collaboration-timeout':_0x594df0(0x117)},'conflict':{'title':_0x594df0(0x11b),'content':_0x594df0(0x11e)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x594df0(0x124)},'collaboration':{'single-unit':{'warning':_0x594df0(0x122)},'closeRoom':_0x594df0(0x129)},'auth':{'needGotoLoginAlert':_0x594df0(0x126)}};export{o as default};
|