@univerjs-pro/collaboration-client-ui 0.10.7-nightly.202509090319 → 0.10.7-nightly.202509130618
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.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/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x51f5f6=_0x3de2;(function(_0x23c840,_0x339e15){const _0x83d63=_0x3de2,_0x2d69c6=_0x23c840();while(!![]){try{const _0x2cf003=-parseInt(_0x83d63(0x104))/0x1+parseInt(_0x83d63(0xa8))/0x2*(-parseInt(_0x83d63(0xaf))/0x3)+parseInt(_0x83d63(0x139))/0x4+parseInt(_0x83d63(0x237))/0x5*(-parseInt(_0x83d63(0xf3))/0x6)+-parseInt(_0x83d63(0x147))/0x7+parseInt(_0x83d63(0xf5))/0x8*(-parseInt(_0x83d63(0x108))/0x9)+parseInt(_0x83d63(0x1a6))/0xa;if(_0x2cf003===_0x339e15)break;else _0x2d69c6['push'](_0x2d69c6['shift']());}catch(_0x3a5a12){_0x2d69c6['push'](_0x2d69c6['shift']());}}}(_0x1db6,0xee40d));var xt=Object[_0x51f5f6(0x9c)],Bt=(_0x3319e2,_0x4eca08,_0x526dfc)=>_0x4eca08 in _0x3319e2?xt(_0x3319e2,_0x4eca08,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x526dfc}):_0x3319e2[_0x4eca08]=_0x526dfc,_=(_0x496dcc,_0x5b7cd7,_0x2da847)=>Bt(_0x496dcc,typeof _0x5b7cd7!=_0x51f5f6(0x220)?_0x5b7cd7+'':_0x5b7cd7,_0x2da847);import{jsx as _0x51beb7,jsxs as _0x1c477f}from'react/jsx-runtime';import{CollaborationStatus as _0x35f447,CollaborationSessionService as _0x3dc382,CollaborationController as _0xfda8f6,DataLoaderService as _0x52620f,MemberService as _0xb9d28d,SessionStatus as _0x1974dc,ILocalCacheService as _0x16d521,CollaborationUIEventService as _0x1a94ad,CollaborationUIEventId as _0xd947ee,DocCollaborationEntity as _0x53bd0e,getLocalCacheKey as _0x8499de,LOCAL_CACHE_INTERVAL as _0x3c2e46,LOCAL_CACHE_INTERVAL_KEY as _0xef641e,UniverCollaborationClientPlugin as _0x2d15b7,CollaborationSocketService as _0x34331b,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3ee3cd,DEFAULT_WS_SESSION_TICKET_URL as _0x281a7e,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2f9cac,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x196878,UnitStatus as _0x131642}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x151e2a,IUniverInstanceService as _0x5f2cd8,Inject as _0x117b17,Injector as _0x2b663c,Disposable as _0x4c7c45,createIdentifier as _0x168804,ILogService as _0x518fe4,ICommandService as _0x430875,Optional as _0x2d6d12,RxDisposable as _0x475d93,Workbook as _0x307b68,DOC_RANGE_TYPE as _0x407b55,debounce as _0x5c6471,Rectangle as _0xc11554,DisposableCollection as _0x5218d1,toDisposable as _0x150341,UniverInstanceType as _0x36a4cb,generateRandomId as _0x508ce3,COLORS as _0x474487,ColorKit as _0x2e6903,ThemeService as _0x2cf830,fromEventSubject as _0x37af98,Tools as _0x2f4f1c,CommandType as _0x10cda0,IConfigService as _0x1892c0,ILocalStorageService as _0x27888b,DependentOn as _0x17f111,Plugin as _0x3e2836,merge as _0xe5c570,registerDependencies as _0x4051ce,mergeOverrideWithDependencies as _0xa27ae9,touchDependencies as _0x12b26a}from'@univerjs/core';import{useObservable as _0x59fd23,useDependency as _0x3a7196,IUIPartsService as _0x58b530,BuiltInUIPart as _0x29b77d,connectInjector as _0x7caa6,IBeforeCloseService as _0x46a792,IMessageService as _0x3bd2bf,INotificationService as _0x5d78e5}from'@univerjs/ui';import{BehaviorSubject as _0x3c6405,switchMap as _0x38496a,of as _0x4943b9,takeUntil as _0x523bce,debounceTime as _0x58192f,Subject as _0x25e80b,filter as _0x473cfd,merge as _0x3144b5,combineLatest as _0x494f0f,fromEvent as _0x2a1f72,shareReplay as _0xc903a9,mapTo as _0x18333b,distinctUntilChanged as _0x1bef21}from'rxjs';import{Tooltip as _0x561878,clsx as _0x4f24ef,MessageType as _0x482577}from'@univerjs/design';import{forwardRef as _0x33c7cf,useRef as _0x4d0810,createElement as _0x294232,useCallback as _0x1a25c3}from'react';import{IRemoteInstanceService as _0x57638a}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x23e2bf,RefRangeService as _0x425a0f,SetSelectionsOperation as _0x31f4a0,SheetsSelectionsService as _0x41f6b4,EffectRefRangId as _0x433ba9,handleIRemoveRow as _0x405235,handleIRemoveCol as _0x3cf033,handleMoveRange as _0x5426b0,handleInsertRow as _0x5cbcf6,handleInsertRangeMoveRight as _0x317e22,handleInsertRangeMoveDown as _0x4cb476,handleInsertCol as _0x204661,handleDeleteRangeMoveUp as _0x4b34f5,handleDeleteRangeMoveLeft as _0x1ecf32,runRefRangeMutations as _0x39fa05}from'@univerjs/sheets';import{Shape as _0x34177a,Rect as _0x32e187,getColor as _0x1e17ea,RegularPolygon as _0x9d8401,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x609f2e,Vector2 as _0x4c4a88,SHEET_VIEWPORT_KEY as _0x376330,IRenderManagerService as _0x220437}from'@univerjs/engine-render';import{ISocketService as _0x3d9ef1,WebSocketService as _0x2b66f3,HTTPService as _0x15d7dc}from'@univerjs/network';import{IDocClipboardService as _0x59bdec,NodePositionConvertToCursor as _0x2f7a40,NodePositionConvertToRectRange as _0x357e05,TEXT_RANGE_LAYER_INDEX as _0x1ba3bf,SetDocZoomRatioOperation as _0x29851f,DocIMEInputManagerService as _0x447b7b,DocStateChangeManagerService as _0x458c80}from'@univerjs/docs-ui';import{IImageIoService as _0x46f2ab}from'@univerjs/drawing';import{ITransformService as _0x7c01ff,CollaborationEvent as _0x2a1c79,isTransformMutationFailure as _0xf74f3d,isTransformMutationsWithChangesetSuccess as _0x1359a2,RevisionService as _0x77da60,ISnapshotServerService as _0x2e4055}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x5494d0,RichTextEditingMutation as _0xb85050,DocSelectionManagerService as _0x16f3fc,DocSkeletonManagerService as _0x50c1b1}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x375056,serializeRangeWithSheet as _0x496deb}from'@univerjs/engine-formula';import{map as _0x50fe63,filter as _0x50879d,throttleTime as _0x521cdc,takeUntil as _0x2c257f,switchMap as _0x587d7d}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2ac98d,getCoordByCell as _0x3959bf,getSheetObject as _0xc190de}from'@univerjs/sheets-ui';var v=function(){const _0x5991ed=_0x51f5f6;return v=Object[_0x5991ed(0x1d0)]||function(_0x5210d9){const _0x46f49d=_0x5991ed;for(var _0x4a9101,_0x24ef3f=0x1,_0x4869b7=arguments[_0x46f49d(0x9d)];_0x24ef3f<_0x4869b7;_0x24ef3f++){_0x4a9101=arguments[_0x24ef3f];for(var _0x42acbd in _0x4a9101)Object['prototype'][_0x46f49d(0x1e0)]['call'](_0x4a9101,_0x42acbd)&&(_0x5210d9[_0x42acbd]=_0x4a9101[_0x42acbd]);}return _0x5210d9;},v[_0x5991ed(0x1a5)](this,arguments);},ci=function(_0x19e1ad,_0x14fad0){const _0x48702d=_0x51f5f6;var _0x2b8bf5={};for(var _0x4038f1 in _0x19e1ad)Object[_0x48702d(0x15f)][_0x48702d(0x1e0)]['call'](_0x19e1ad,_0x4038f1)&&_0x14fad0[_0x48702d(0xe8)](_0x4038f1)<0x0&&(_0x2b8bf5[_0x4038f1]=_0x19e1ad[_0x4038f1]);if(_0x19e1ad!=null&&typeof Object[_0x48702d(0x1c5)]==_0x48702d(0x1f8)){for(var _0x1c9241=0x0,_0x4038f1=Object['getOwnPropertySymbols'](_0x19e1ad);_0x1c9241<_0x4038f1[_0x48702d(0x9d)];_0x1c9241++)_0x14fad0[_0x48702d(0xe8)](_0x4038f1[_0x1c9241])<0x0&&Object['prototype'][_0x48702d(0x23d)][_0x48702d(0xc0)](_0x19e1ad,_0x4038f1[_0x1c9241])&&(_0x2b8bf5[_0x4038f1[_0x1c9241]]=_0x19e1ad[_0x4038f1[_0x1c9241]]);}return _0x2b8bf5;},ke=_0x33c7cf(function(_0x20c5ff,_0x44608b){const _0x550c7b=_0x51f5f6;var _0x13e3ad=_0x20c5ff[_0x550c7b(0x1fa)],_0x3cc7a3=_0x20c5ff['id'],_0x5cce84=_0x20c5ff[_0x550c7b(0x267)],_0x25a06c=_0x20c5ff[_0x550c7b(0x8c)],_0x3021e1=ci(_0x20c5ff,[_0x550c7b(0x1fa),'id','className',_0x550c7b(0x8c)]),_0x1115cb=_0x550c7b(0x279)[_0x550c7b(0x225)](_0x3cc7a3,'\x20')[_0x550c7b(0x225)](_0x5cce84||'')['trim'](),_0x1170a5=_0x4d0810('_'[_0x550c7b(0x225)](hi()));return Rt(_0x13e3ad,''[_0x550c7b(0x225)](_0x3cc7a3),{'defIds':_0x13e3ad[_0x550c7b(0x17a)],'idSuffix':_0x1170a5[_0x550c7b(0x202)]},v({'ref':_0x44608b,'className':_0x1115cb},_0x3021e1),_0x25a06c);});function Rt(_0x53683e,_0x302590,_0x5db28a,_0x2f70cb,_0x14389a){const _0x318540=_0x51f5f6;return _0x294232(_0x53683e[_0x318540(0x12f)],v(v({'key':_0x302590},li(_0x53683e,_0x5db28a,_0x14389a)),_0x2f70cb),(_i(_0x53683e,_0x5db28a)[_0x318540(0xc2)]||[])[_0x318540(0x211)](function(_0x32c39f,_0x346450){const _0x568c25=_0x318540;return Rt(_0x32c39f,''[_0x568c25(0x225)](_0x302590,'-')[_0x568c25(0x225)](_0x53683e[_0x568c25(0x12f)],'-')[_0x568c25(0x225)](_0x346450),_0x5db28a,void 0x0,_0x14389a);}));}function _0x1db6(){const _0x50cd8b=['children','setAlpha','translate(.97)','_handleHover','COMPLETION_FINISHED','dispose$','_setupBeforeClosingHandler','none','collaboration.closeRoom','yellow.400','_getAnchorBounding','displayName','startColumn','MoveRangeCommandId','_memberService','_injector','UNRECOGNIZED','YUUMI_CONNECTOR_URL_NOT_FOUND','_saveTaskMap','_docSyncEditingCollabCursorService','Warning','CHANGESET_REVISION_CONFILICT','getValue','InsertRangeMoveRightCommandId','_handleHeartbeatEvent','currentColor','setActiveRange','_cursor','_updateURLWithCurrentState','_docSkeleton','contains','_online','eventID','_collabCursorController','YUUMI_SUBSCRIPTION_NOT_FOUND','registerComponent','CONNECTOR_DATA_TOO_LARGE','text','indexOf','disposeWithMe','collab-text-anchor-','_unitOnClients','wsSessionTicketUrl','uni.network.url-service','unsubscribe','getDocRanges','setUndoRedoMutationParamsCache','transformByState','ALREADY_EXISTS','3437316GWPfTH','restore','23776GhzBQZ','_collaborationUIEventService','USERS_LEAVE','addHandlerCallback','round','unitId','has','_localCacheService','attrs','_cursors','from','red.300','values','getUnitId','parse','472669HWqMWr','_handleLeaveEvent','ACTIVE_UNIT_EVENT_CHANNEL','setParam','2313hPVVCw','ticket','url(#$1','svg','_cachedData','startRow','_entities','_removeCollabCursors','unitID','_anchor','fillStyle','m1Prime','init','selection','UNIVER_DOC','_refRangeService','skeleton','url(#on-line-icon_clip0_910_349)','error','Error','_transformHistoryAndStateStack','OTHER_CLIENTS_EDITING','div','LICENSE_DISTRO_REJECTED','NOT_COLLAB','_transformUndoRedoStack','_init','_cursorShapes','subUnitId','FromArray','green.600','currentSkeleton$','range','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','addObjects','_config','name','addEventListener','_getSheetObject','tag','collabStatus.fetchMiss','split','setInterval','getParam','push','_collabSessionService','urlChange$','collab-client.tooltip.reconnect','get','1926084kQIZUs','findNodePositionByCharIndex','getTypeOfUnitAdded$','_lastPointer','INVALID_ARGUMENT','_notificationService','getOffsetConfig','pluginName','location','SOCKET_FAILED','focused$','_getMergeRange','dispose','InsertColCommandId','3649583gcTEkl','getCurrentRevOfUnit','_getSaveTimeout','asObservable','path','height','off-line-icon_clip0_910_343','setStateCache','_refreshCollabCursors','_docClipboardService','_themeService','createSocket','hovered','getStateCache','_docTransformIMECacheService','_anchorDot','lineTo','CLOSE_ROOM','_uiPartsService','_textBubble','_httpService','url(#off-line-icon_clip0_910_343)','getActiveRange','session.connection-failed','prototype','colorChannel1','EMAIL_VERIFY_CODE_MISMATCH','HEADER_MENU','_hovered','idSuffix','replaceState','Unknown\x20user','OTHER_CLIENT_EDITING','_disabled','post','onRendered','SOCKET_FAILED_RETRY','closePath','RECT','drawWith','getCurrent','triggerDblclick','UNDEFINED','width','getActiveSheet','SNAPSHOT_HAS_BEEN_REMOVED','_name','debug','_hover','_color','_docSkeletonManagerService','defIds','http://www.w3.org/2000/svg','WECHAT_HAS_BEEN_BOUND','stringify','_send','fill','getSheetBySheetId','_shapes','APPLY_PERMISSION_DENIED','_unitStatus','roomMembers$','collab-text-range-','MOBILE_VERIFY_CODE_MISMATCH','LICENSE_MAX_UNITS_EXCEEDED','_sheetSkeletonManagerService','requireSession','black','clipPath','m2Prime','on-line-icon_clip0_910_349','INTERNAL_ERROR','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','currentTheme$','_drawTextRange','undoState','override','_localeService','_draw','executionId','LICENSE_EXPORT_SIZE_EXCEEDED','getItem','newValue','loadOfflineData','UNIVER_SHEET','getSheetId','getCurrentSelections','_initDependencies','doc.mutation.rich-text-editing','getMemberID','forEach','string','unit','collabStatus.conflict','apply','36759730fEgCvL','use','purple.300','YUUMI_URL_COL_OUT_OF_RANGE','APPLY_NON_SEQUENTIAL_REVISION','getFocusedUnit','transformSelections','substring','font','ENSURE_SNAPSHOT_EXECUTION','transformIMECache','CONFLICT','getUniverSheetInstance','executeCommand','then','ranges','origin','enableLocalCache','getUnitStatus$','body','arc','resize','send','assignAColorForMemberID','_initEntityListener','sessionStatus$','type','getVpScrollXYInfoByPosToVp','INVITE_CODE_REQUIRED','syncEditingCollabCursor','status$','getOwnPropertySymbols','sheetId','_transformPreviousActiveRange','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_AI_RUN_FAILED','OFFLINE','_transformService','_status$','_render','RemoveColCommandId','YUUMI_ALL_TABLES_IS_INVALID','assign','off-line-icon','/run/','show','MOBILE_HAS_BEEN_BOUND','_scene','_initStatusComponent','_toggleOffline','deepClone','_heartbeatTimer','selections','pushState','_scheduleHeartbeat','saveTaskMap','registerRenderModule','permission.content','hasOwnProperty','mask','collaboration.single-unit.warning','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SYNCED','_initResize','code','toString','APPLY_DUPLICATED','AWAITING_WITH_PENDING','YUUMI_UNABLE_LOAD_URL','_drawRectRange','href','PY_RUNTIME_SCRIPT_ERROR','with','UPDATE_CURSOR','delete','backgroundColor','_cursorInfo$','set','disableLocalCache','_renderManagerService','SUBMIT_CHANGESET_TIMEOUT','_labelPosition','function','_docTransformSelectionsService','icon','getSkeleton','_scheduleClearOtherTimer','runId','_revisionService','_toggleOnline','complete','data','current','InsertRangeMoveDownCommandId','all','_ensureSubject','transformRemoteChangeset','_setupSubUnitSync','registerBeforeClose','YUUMI_NO_CUBOID_FOR_QUESTION','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','_removeClearOtherTimer','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','toRgbString','getMember','moveTo','random','map','getRangePointData','_updateSubUnitFromURLParams','Failed','_initEvent','application/json','_eventUnsubscribe','OffLineIcon','YUUMI_ASYNCIO_CANCELLED','column','VIEW_MAIN','event$','getColorFromTheme','docStateChange$','endColumn','symbol','add','INVITE_CODE_HAS_BEEN_UES','_univerInstanceService','YUUMI_RATE_OVER_LIMIT','concat','setShapeProps','engine','permission.title','_commandService','getCurrentUnitForType','_handleJoinEvent','collabCursorState$','_imageIoService','onPointerLeave$','_messageService','onStarting','getMergeData','disposeUnit','OnLineIcon','clearTimeout','reconnect','sessionTicket','10ozfLyx','searchParams','collaboration-client-ui.config','result','_drawAnchor','color','propertyIsEnumerable','InsertRowCommandId','subscribe','AWAITING','_initCommandExecutedListener','univer-mr-2\x20univer-flex\x20univer-text-xl','addObject','UniverIcon','exhaustSavingTask','_getScale','UNAUTHENTICATED','onCommandExecuted','_collaborationController','getRenderById','_saveCache','1em','entityInit$','onPointerEnter$','getRelativeToViewportCoord','getTypeOfUnitDisposed$','...','transformMutationsWithChangeset','saveOfflineData','top','M0\x200H16V16H0z','next','measureText','source','USER_NOT_INVITED_CODE','collabStatus.offline','collabStatus.synced','_createSocketURL','defs','unshift','_roomMembers$','_onCursorUpdate','_id','key','_updateLocalCursor','replace','transform','_colorAssignService','className','_session','_backgroundColor','_entityInit$','APPLY_REJECT','_hideTimer','getConfig','_collabCursorState$','isEditing','_handleEvent','roomMembers','search','mutations','_startSheetCollabCursor','hide','imageSourceType','PERMISSION_DENIED','unload','univerjs-icon\x20univerjs-icon-','xlink:href','setConfig','fillText','sheetID','_assignedColors','entries','APPLY_REVISION_CONFILICT','TOO_MANY_REQUESTS','MUTATION','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','row','_onCursorDelete','isArray','onLocalMutation','transformMutation','labelPosition','_clearOtherTimers','_updateCollabCursors','_localStorageService','memberID','onTransformChange$','invokeId','getAncestorScale','[CollaborationDataLoaderController]','textRanges','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','onPointerMove$','save','updateOfflineData','SNAPSHOT_INVALID_SNAPSHOT','JOIN_ROOM_FAILED','_logService','_configService','max','_urlService','_context','extend','_docTransformStateCacheService','_range','LICENSE_IMPORT_SIZE_EXCEEDED','getCollabCursors$','subunit','DeleteRangeMoveUpCommandId','_colorIndex','clearInterval','getOwnPropertyDescriptor','_docStateChangeManagerService','INVITE_CODE_ALREADY_BOUND','FETCH_MISS','createInstance','_registerRenderDependencies','DeleteRangeMoveLeftCommandId','defineProperty','length','evenodd','subscribeEvent','collab-rect-range-','history','isActive','white','_onRefRangeChange','onMouseMove','_initStatusListener','cursorInfo','12930hWQDHC','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_beforeCloseService','_instanceService','TEXT','pipe','on-line-icon','129PDxNzp','getUndoRedoMutationParamsCache','_getSessionTicket','_startDocCollabCursor','setItem','min','NO_OTHER_CLIENTS_EDITING','_selfUnitIDs','getCollabEntity$','redoState','params','getViewport','_registerDependencies','transformStateCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','cursorInfo$','_syncEditingCollabCursorService','call','size'];_0x1db6=function(){return _0x50cd8b;};return _0x1db6();}function li(_0x166233,_0x44c124,_0x51a615){const _0x2598fd=_0x51f5f6;var _0x129e41=v({},_0x166233['attrs']);_0x51a615!=null&&_0x51a615[_0x2598fd(0x160)]&&_0x129e41['fill']==='colorChannel1'&&(_0x129e41[_0x2598fd(0x17f)]=_0x51a615[_0x2598fd(0x160)]),_0x166233[_0x2598fd(0x12f)]==='mask'&&_0x129e41['id']&&(_0x129e41['id']=_0x129e41['id']+_0x44c124[_0x2598fd(0x164)]),Object[_0x2598fd(0x27f)](_0x129e41)['forEach'](function(_0x28b631){const _0x4fd386=_0x2598fd;var _0x35d898=_0x28b631[0x0],_0x5327e6=_0x28b631[0x1];_0x35d898===_0x4fd386(0x1e1)&&typeof _0x5327e6==_0x4fd386(0x1a2)&&(_0x129e41[_0x35d898]=_0x5327e6[_0x4fd386(0x264)](/url\(#(.*)\)/,_0x4fd386(0x10a)[_0x4fd386(0x225)](_0x44c124[_0x4fd386(0x164)],')')));});var _0x2fa5a9=_0x44c124[_0x2598fd(0x17a)];return!_0x2fa5a9||_0x2fa5a9[_0x2598fd(0x9d)]===0x0||(_0x166233[_0x2598fd(0x12f)]===_0x2598fd(0x1a7)&&_0x129e41[_0x2598fd(0x27a)]&&(_0x129e41['xlink:href']=_0x129e41[_0x2598fd(0x27a)]+_0x44c124['idSuffix']),Object[_0x2598fd(0x27f)](_0x129e41)[_0x2598fd(0x1a1)](function(_0x164b0d){const _0x49c79a=_0x2598fd;var _0xb64b5d=_0x164b0d[0x0],_0x3aa38e=_0x164b0d[0x1];typeof _0x3aa38e=='string'&&(_0x129e41[_0xb64b5d]=_0x3aa38e[_0x49c79a(0x264)](/url\(#(.*)\)/,_0x49c79a(0x10a)[_0x49c79a(0x225)](_0x44c124['idSuffix'],')')));})),_0x129e41;}function _i(_0x304bb4,_0x31a6dc){const _0x348477=_0x51f5f6;var _0x1f5d6b,_0x2a47bb=_0x31a6dc['defIds'];return!_0x2a47bb||_0x2a47bb['length']===0x0?_0x304bb4:_0x304bb4[_0x348477(0x12f)]===_0x348477(0x25d)&&(!((_0x1f5d6b=_0x304bb4[_0x348477(0xc2)])===null||_0x1f5d6b===void 0x0)&&_0x1f5d6b['length'])?v(v({},_0x304bb4),{'children':_0x304bb4[_0x348477(0xc2)][_0x348477(0x211)](function(_0x4ed47e){const _0x5eebe0=_0x348477;return typeof _0x4ed47e[_0x5eebe0(0xfd)]['id']=='string'&&_0x2a47bb&&_0x2a47bb['includes'](_0x4ed47e['attrs']['id'])?v(v({},_0x4ed47e),{'attrs':v(v({},_0x4ed47e[_0x5eebe0(0xfd)]),{'id':_0x4ed47e[_0x5eebe0(0xfd)]['id']+_0x31a6dc[_0x5eebe0(0x164)]})}):_0x4ed47e;})}):_0x304bb4;}function hi(){const _0x549e4b=_0x51f5f6;return Math[_0x549e4b(0x210)]()['toString'](0x24)[_0x549e4b(0x1ad)](0x2,0x8);}ke[_0x51f5f6(0xcd)]=_0x51f5f6(0x244);var ui={'tag':_0x51f5f6(0x10b),'attrs':{'xmlns':_0x51f5f6(0x17b),'fill':_0x51f5f6(0xc9),'viewBox':'0\x200\x2016\x2016','width':_0x51f5f6(0x24c),'height':_0x51f5f6(0x24c)},'children':[{'tag':'g','attrs':{'clipPath':_0x51f5f6(0x15c)},'children':[{'tag':_0x51f5f6(0x14b),'attrs':{'stroke':_0x51f5f6(0xdb),'d':_0x51f5f6(0x20a),'strokeLinecap':_0x51f5f6(0xf9),'strokeLinejoin':_0x51f5f6(0xf9),'strokeWidth':1.2}}]},{'tag':_0x51f5f6(0x25d),'attrs':{},'children':[{'tag':_0x51f5f6(0x18b),'attrs':{'id':_0x51f5f6(0x14d)},'children':[{'tag':_0x51f5f6(0x14b),'attrs':{'fill':_0x51f5f6(0xa3),'d':_0x51f5f6(0x255)}}]}]}],'defIds':[_0x51f5f6(0x14d)]},Dt=_0x33c7cf(function(_0x256677,_0x4b5d89){const _0x1535e4=_0x51f5f6;return _0x294232(ke,Object[_0x1535e4(0x1d0)]({},_0x256677,{'id':_0x1535e4(0x1d1),'ref':_0x4b5d89,'icon':ui}));});Dt[_0x51f5f6(0xcd)]=_0x51f5f6(0x218);var di={'tag':_0x51f5f6(0x10b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x51f5f6(0x24c),'height':_0x51f5f6(0x24c)},'children':[{'tag':'g','attrs':{'clipPath':_0x51f5f6(0x119)},'children':[{'tag':'path','attrs':{'stroke':_0x51f5f6(0xdb),'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':'round','strokeLinejoin':_0x51f5f6(0xf9),'strokeWidth':1.2}}]},{'tag':_0x51f5f6(0x25d),'attrs':{},'children':[{'tag':_0x51f5f6(0x18b),'attrs':{'id':_0x51f5f6(0x18d)},'children':[{'tag':_0x51f5f6(0x14b),'attrs':{'fill':_0x51f5f6(0xa3),'d':_0x51f5f6(0x255),'transform':_0x51f5f6(0xc4)}}]}]}],'defIds':[_0x51f5f6(0x18d)]},Nt=_0x33c7cf(function(_0x3a60cc,_0x53ee24){const _0xdd5af1=_0x51f5f6;return _0x294232(ke,Object[_0xdd5af1(0x1d0)]({},_0x3a60cc,{'id':_0xdd5af1(0xae),'ref':_0x53ee24,'icon':di}));});Nt[_0x51f5f6(0xcd)]=_0x51f5f6(0x233);function fi(_0x5e3fc5){const _0x49619f=_0x51f5f6;switch(_0x5e3fc5){case _0x35f447[_0x49619f(0x1ca)]:return _0x49619f(0x25a);case _0x35f447[_0x49619f(0x1b1)]:return _0x49619f(0x1a4);case _0x35f447[_0x49619f(0x98)]:return _0x49619f(0x130);case _0x35f447['NOT_COLLAB']:return'collabStatus.notCollab';case _0x35f447[_0x49619f(0x240)]:case _0x35f447[_0x49619f(0x1e9)]:return'collabStatus.syncing';case _0x35f447[_0x49619f(0x1e4)]:case _0x35f447['PENDING']:return _0x49619f(0x25b);}}function Si(_0x1a5d31){const _0x28275d=_0x51f5f6,{status$:_0x1823a5}=_0x1a5d31,_0xc4ad60=_0x59fd23(_0x1823a5,_0x35f447[_0x28275d(0x120)]),_0x290701=_0x3a7196(_0x151e2a),_0x4c083=_0x3a7196(_0x3dc382),_0x4fb863=_0xc4ad60!==_0x35f447['OFFLINE'],_0xce3e28=_0x290701['t'](fi(_0xc4ad60)),_0x447abc=_0x4fb863?_0x51beb7(Nt,{}):_0x51beb7(Dt,{}),_0x4789bf=_0x1a25c3(()=>{const _0xe884e1=_0x28275d;_0x4fb863||_0x4c083[_0xe884e1(0x235)]();},[_0x4fb863,_0x4c083]);function _0x6980ad(){const _0x3bc585=_0x28275d;return _0x1c477f(_0x3bc585(0x11e),{'className':'univer-flex\x20univer-items-center','onClick':_0x4789bf,'children':[_0x51beb7('div',{'className':_0x4f24ef(_0x3bc585(0x242),{'univer-text-green-500':_0x4fb863,'univer-text-red-500':!_0x4fb863}),'children':_0x447abc}),_0x51beb7('div',{'className':_0x3bc585(0x18f),'children':_0xce3e28})]});}return _0x4fb863?_0x6980ad():_0x51beb7(_0x561878,{'title':_0x290701['t'](_0x28275d(0x137)),'children':_0x6980ad()});}var mi=Object['getOwnPropertyDescriptor'],Ii=(_0x4972a1,_0x75aa90,_0x3f727c,_0x2aeee2)=>{for(var _0x1ea384=_0x2aeee2>0x1?void 0x0:_0x2aeee2?mi(_0x75aa90,_0x3f727c):_0x75aa90,_0x218ca8=_0x4972a1['length']-0x1,_0x8f3115;_0x218ca8>=0x0;_0x218ca8--)(_0x8f3115=_0x4972a1[_0x218ca8])&&(_0x1ea384=_0x8f3115(_0x1ea384)||_0x1ea384);return _0x1ea384;},q=(_0x271ed9,_0x5de972)=>(_0x2ccded,_0x18f240)=>_0x5de972(_0x2ccded,_0x18f240,_0x271ed9);let se=class extends _0x4c7c45{constructor(_0x153f0a,_0x59058d,_0x4fc5ff,_0x515deb){const _0x73c2e9=_0x51f5f6;super(),_(this,_0x73c2e9(0x1cc),new _0x3c6405(_0x35f447[_0x73c2e9(0x120)])),(this[_0x73c2e9(0x223)]=_0x153f0a,this[_0x73c2e9(0xd1)]=_0x59058d,this[_0x73c2e9(0x249)]=_0x4fc5ff,this[_0x73c2e9(0x159)]=_0x515deb,this[_0x73c2e9(0x1d6)](),this[_0x73c2e9(0xa6)]());}[_0x51f5f6(0xa6)](){const _0x17b801=_0x51f5f6;this[_0x17b801(0xe9)](this[_0x17b801(0x223)][_0x17b801(0x143)]['pipe'](_0x38496a(()=>{const _0x44b39b=_0x17b801,_0x2f2944=this[_0x44b39b(0x223)][_0x44b39b(0x1ab)]();return _0x2f2944?this[_0x44b39b(0x249)][_0x44b39b(0xb7)](_0x2f2944[_0x44b39b(0x102)]()):_0x4943b9(null);}),_0x38496a(_0x478235=>_0x478235?_0x478235[_0x17b801(0x1c4)]:_0x4943b9(_0x35f447[_0x17b801(0x120)])))['subscribe'](_0x275cac=>{const _0x1cbe3d=_0x17b801;this[_0x1cbe3d(0x1cc)][_0x1cbe3d(0x256)](_0x275cac);}));}[_0x51f5f6(0x1d6)](){const _0x485e66=_0x51f5f6;this[_0x485e66(0xe9)](this[_0x485e66(0x159)][_0x485e66(0xe5)](_0x29b77d[_0x485e66(0x162)],()=>_0x7caa6(vi({'status$':this[_0x485e66(0x1cc)][_0x485e66(0x14a)]()}),this[_0x485e66(0xd1)])));}};se=Ii([q(0x0,_0x5f2cd8),q(0x1,_0x117b17(_0x2b663c)),q(0x2,_0x117b17(_0xfda8f6)),q(0x3,_0x58b530)],se);function vi(_0x5bfc73){const {status$:_0x55ca12}=_0x5bfc73;return function(){return _0x51beb7(Si,{'status$':_0x55ca12});};}const Ut=_0x168804(_0x51f5f6(0xed));var gi=Object['getOwnPropertyDescriptor'],pi=(_0x3552f8,_0x5c41e2,_0x10c2a0,_0x26d099)=>{const _0x37b581=_0x51f5f6;for(var _0xd5c37c=_0x26d099>0x1?void 0x0:_0x26d099?gi(_0x5c41e2,_0x10c2a0):_0x5c41e2,_0x40af60=_0x3552f8[_0x37b581(0x9d)]-0x1,_0x3ea586;_0x40af60>=0x0;_0x40af60--)(_0x3ea586=_0x3552f8[_0x40af60])&&(_0xd5c37c=_0x3ea586(_0xd5c37c)||_0xd5c37c);return _0xd5c37c;},G=(_0x4c24e6,_0x344f2f)=>(_0x5f0c30,_0x3f51bc)=>_0x344f2f(_0x5f0c30,_0x3f51bc,_0x4c24e6);let ie=class extends _0x475d93{constructor(_0x1efe28,_0x48c152,_0x2ba97f,_0x38db2b,_0x194659){const _0x2fe040=_0x51f5f6;super(),this[_0x2fe040(0x8a)]=_0x1efe28,this[_0x2fe040(0x87)]=_0x48c152,this[_0x2fe040(0x229)]=_0x2ba97f,this['_dataLoaderService']=_0x38db2b,_0x194659?_0x194659==null||_0x194659['whenReady']()[_0x2fe040(0x1b4)](()=>this[_0x2fe040(0x122)]()):(this['_logService'][_0x2fe040(0x176)](_0x2fe040(0x7f),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2fe040(0x122)]());}async['_init'](){const _0x32a387=_0x51f5f6,_0xa3f8ee=this[_0x32a387(0x8a)]['getParam'](_0x32a387(0x1a3)),_0x5ad215=this['_urlService']['getParam'](_0x32a387(0x1c0)),_0x362045=this[_0x32a387(0x8a)][_0x32a387(0x133)]('subunit');if(!_0xa3f8ee||!_0x5ad215){this['_logService']['debug']('[CollaborationDataLoaderController]',_0x32a387(0x1e3));return;}const _0x762d3e=await this['_dataLoaderService']['loadUnit'](_0xa3f8ee,Number(_0x5ad215),_0x362045);_0x762d3e&&_0x762d3e instanceof _0x307b68&&this[_0x32a387(0x207)](_0x762d3e);}async[_0x51f5f6(0x207)](_0x61f354){const _0x27babc=_0x51f5f6;await this[_0x27babc(0x213)](_0x61f354),_0x61f354['activeSheet$'][_0x27babc(0xad)](_0x523bce(this[_0x27babc(0xc7)]))[_0x27babc(0x23f)](_0x739d18=>{const _0x925139=_0x27babc;_0x739d18&&this[_0x925139(0xde)](_0x739d18);}),this['_urlService'][_0x27babc(0x136)][_0x27babc(0xad)](_0x523bce(this[_0x27babc(0xc7)]))[_0x27babc(0x23f)](()=>this[_0x27babc(0x213)](_0x61f354));}[_0x51f5f6(0xde)](_0x7e34b3,_0x14151c=!0x1){const _0x5d00e7=_0x51f5f6,_0x4d743f=this[_0x5d00e7(0x8a)][_0x5d00e7(0x133)](_0x5d00e7(0x91));_0x7e34b3[_0x5d00e7(0x19c)]()!==_0x4d743f&&this[_0x5d00e7(0x8a)][_0x5d00e7(0x107)](_0x5d00e7(0x91),_0x7e34b3[_0x5d00e7(0x19c)](),_0x14151c);}async[_0x51f5f6(0x213)](_0x3a6f12){const _0xd5b11a=_0x51f5f6;var _0x3d3807;const _0x208a56=this[_0xd5b11a(0x8a)][_0xd5b11a(0x133)](_0xd5b11a(0x91));if(!_0x208a56||!_0x3a6f12[_0xd5b11a(0x180)](_0x208a56)){const _0x858f2e=_0x3a6f12['getUnhiddenWorksheets']()[0x0],_0x307d92=_0x3a6f12[_0xd5b11a(0x180)](_0x858f2e);if(!_0x307d92)return;this[_0xd5b11a(0xde)](_0x307d92,!0x0),await this['_commandService'][_0xd5b11a(0x1b3)](_0x23e2bf['id'],{'unitId':_0x3a6f12[_0xd5b11a(0x102)](),'subUnitId':_0x858f2e});return;}((_0x3d3807=_0x3a6f12[_0xd5b11a(0x173)]())==null?void 0x0:_0x3d3807[_0xd5b11a(0x19c)]())!==_0x208a56&&await this[_0xd5b11a(0x229)][_0xd5b11a(0x1b3)](_0x23e2bf['id'],{'unitId':_0x3a6f12[_0xd5b11a(0x102)](),'subUnitId':_0x208a56});}};ie=pi([G(0x0,Ut),G(0x1,_0x518fe4),G(0x2,_0x430875),G(0x3,_0x117b17(_0x52620f)),G(0x4,_0x2d6d12(_0x57638a))],ie);var Ci=Object[_0x51f5f6(0x95)],Ei=(_0x2fe6d0,_0x2e547d,_0x3cfb71,_0x4fb4c6)=>{const _0x577f3b=_0x51f5f6;for(var _0x442cf8=_0x4fb4c6>0x1?void 0x0:_0x4fb4c6?Ci(_0x2e547d,_0x3cfb71):_0x2e547d,_0x5f4a24=_0x2fe6d0[_0x577f3b(0x9d)]-0x1,_0x5f11a9;_0x5f4a24>=0x0;_0x5f4a24--)(_0x5f11a9=_0x2fe6d0[_0x5f4a24])&&(_0x442cf8=_0x5f11a9(_0x442cf8)||_0x442cf8);return _0x442cf8;},Je=(_0x2d963d,_0x191eb7)=>(_0x373928,_0x3aa7c3)=>_0x191eb7(_0x373928,_0x3aa7c3,_0x2d963d);let Ne=class extends _0x475d93{constructor(_0x4c5a0a,_0x132dc2){const _0x90213d=_0x51f5f6;super(),this[_0x90213d(0x150)]=_0x4c5a0a,this[_0x90213d(0x22d)]=_0x132dc2,this['_init']();}[_0x51f5f6(0x122)](){const _0x43e01f=_0x51f5f6,_0x54b062=this;this['disposeWithMe'](this[_0x43e01f(0x150)]['addClipboardHook']({'onBeforePasteImage':async _0x369a16=>{const _0x253d8d=_0x43e01f,_0x278a3e=await _0x54b062[_0x253d8d(0x22d)]['saveImage'](_0x369a16);return _0x278a3e?{'source':_0x278a3e[_0x253d8d(0x258)],'imageSourceType':_0x278a3e[_0x253d8d(0x276)]}:null;}}));}};Ne=Ei([Je(0x0,_0x59bdec),Je(0x1,_0x46f2ab)],Ne);const Ze=[_0x51f5f6(0x1a8),'jiqing.500',_0x51f5f6(0x126),_0x51f5f6(0x100),'blue.400',_0x51f5f6(0xcb)];class He extends _0x4c7c45{constructor(){const _0x34d329=_0x51f5f6;super(...arguments),_(this,_0x34d329(0x27e),new Map()),_(this,_0x34d329(0x93),0x0);}[_0x51f5f6(0x1bd)](_0x41a354){const _0x4b71da=_0x51f5f6;if(this['_assignedColors'][_0x4b71da(0xfb)](_0x41a354))return this[_0x4b71da(0x27e)][_0x4b71da(0x138)](_0x41a354);const _0x2af488=Ze[this['_colorIndex']];return this[_0x4b71da(0x93)]=(this['_colorIndex']+0x1)%Ze[_0x4b71da(0x9d)],this[_0x4b71da(0x27e)][_0x4b71da(0x1f3)](_0x41a354,_0x2af488),_0x2af488;}}function Mt(_0x3a655c){const _0x43d039=_0x51f5f6;let _0x44d3bc='';for(const _0x224ad1 of _0x3a655c){const {startOffset:_0x25e78c,endOffset:_0x3ad737,isActive:_0x24acda,rangeType:_0x41da59,segmentId:_0x5d8c52,segmentPage:_0x109746}=_0x224ad1;_0x44d3bc[_0x43d039(0x9d)]&&(_0x44d3bc+=','),_0x44d3bc+=_0x25e78c+':'+_0x3ad737+':'+(_0x24acda?'1':'0')+':'+_0x41da59+':'+_0x5d8c52+':'+_0x109746;}return _0x44d3bc;}function Oi(_0x457eaf){const _0x4e0858=_0x51f5f6,_0x24a2d5=_0x457eaf['split'](','),_0x1ccef7=[];for(const _0x28c431 of _0x24a2d5){const [_0x1a4dd2,_0x45f5fe,_0x2d77f8,_0x3c3ffe,_0x1a555a,_0x40ed49]=_0x28c431[_0x4e0858(0x131)](':');_0x1ccef7[_0x4e0858(0x134)]({'startOffset':Number(_0x1a4dd2),'endOffset':Number(_0x45f5fe),'collapsed':_0x1a4dd2===_0x45f5fe,'isActive':_0x2d77f8==='1','rangeType':_0x3c3ffe===_0x407b55[_0x4e0858(0xac)]?_0x407b55[_0x4e0858(0xac)]:_0x407b55['RECT'],'segmentId':typeof _0x1a555a==_0x4e0858(0x1a2)?String(_0x1a555a):'','segmentPage':Number(_0x40ed49!=null?_0x40ed49:-0x1)});}return _0x1ccef7['some'](_0x55b98a=>_0x55b98a[_0x4e0858(0xa2)])||(_0x1ccef7[0x0][_0x4e0858(0xa2)]=!0x0),_0x1ccef7;}class Fe extends _0x475d93{constructor(){const _0x50a676=_0x51f5f6;super(...arguments),_(this,_0x50a676(0x26e),new _0x3c6405(null)),_(this,'collabCursorState$',this[_0x50a676(0x26e)][_0x50a676(0x14a)]());}[_0x51f5f6(0x1c3)](_0x4f684e){const _0x3f2b16=_0x51f5f6,{unitID:_0x1663d5,memberID:_0x2ca76b,textRanges:_0x36dce4}=_0x4f684e,_0x305d98=Mt(_0x36dce4);if(_0x305d98==='')return;const _0x13e879={'unitID':_0x1663d5,'memberID':_0x2ca76b,'selection':_0x305d98};this['_collabCursorState$'][_0x3f2b16(0x256)](_0x13e879);}}var bi=Object[_0x51f5f6(0x95)],Ti=(_0x5f0a55,_0x1bc332,_0x655950,_0x127953)=>{for(var _0xe19e02=_0x127953>0x1?void 0x0:_0x127953?bi(_0x1bc332,_0x655950):_0x1bc332,_0x23295f=_0x5f0a55['length']-0x1,_0x2e43b9;_0x23295f>=0x0;_0x23295f--)(_0x2e43b9=_0x5f0a55[_0x23295f])&&(_0xe19e02=_0x2e43b9(_0xe19e02)||_0xe19e02);return _0xe19e02;},P=(_0x256944,_0x388474)=>(_0x551be2,_0x3649f7)=>_0x388474(_0x551be2,_0x3649f7,_0x256944);const Ri=0x12c,Di=0x64;let Ue=class extends _0x475d93{constructor(_0x18f9fc,_0x1b5090,_0x1e536e,_0x6df370,_0x45c463,_0xe90b31,_0x4f326f,_0x21ad03,_0x10a144){const _0x5a9dea=_0x51f5f6;super(),_(this,_0x5a9dea(0xe1),!0x1),_(this,_0x5a9dea(0x122),!0x1),_(this,_0x5a9dea(0x1f2),new _0x3c6405(new Map())),_(this,_0x5a9dea(0xbe),this[_0x5a9dea(0x1f2)][_0x5a9dea(0x14a)]()),_(this,_0x5a9dea(0x25f),new _0x3c6405([])),_(this,_0x5a9dea(0x184),this[_0x5a9dea(0x25f)]['pipe'](_0x58192f(Ri))),_(this,_0x5a9dea(0x263),_0x5c6471(_0x3f4068=>{const _0x3250be=_0x5a9dea,_0x2b2572={'eventID':_0x2a1c79[_0x3250be(0x1ef)],'data':{'unitID':this[_0x3250be(0x110)],'memberID':this[_0x3250be(0x268)]['getMemberID'](),'selection':Mt(_0x3f4068)}};this[_0x3250be(0x268)]['send'](_0x2b2572,this['unitID']);},Di)),(this[_0x5a9dea(0x110)]=_0x18f9fc,this[_0x5a9dea(0x268)]=_0x1b5090,this['_injector']=_0x1e536e,this[_0x5a9dea(0x266)]=_0x6df370,this[_0x5a9dea(0xd0)]=_0x45c463,this[_0x5a9dea(0xbf)]=_0xe90b31,this[_0x5a9dea(0x1cb)]=_0x4f326f,this['_univerInstanceService']=_0x21ad03,this['_commandService']=_0x10a144);}get[_0x51f5f6(0xa7)](){const _0x588b2d=_0x51f5f6;return this[_0x588b2d(0x1f2)]['getValue']();}get['roomMembers'](){const _0x459fb4=_0x51f5f6;return this['_roomMembers$'][_0x459fb4(0xd8)]();}[_0x51f5f6(0x145)](){const _0x18557c=_0x51f5f6;super[_0x18557c(0x145)](),this[_0x18557c(0x1f2)][_0x18557c(0x256)](new Map()),this[_0x18557c(0x1f2)][_0x18557c(0x200)](),this[_0x18557c(0x25f)]['next']([]),this['_roomMembers$'][_0x18557c(0x200)]();}['init'](){const _0x189995=_0x51f5f6;this[_0x189995(0x122)]||(this['_init']=!0x0,this[_0x189995(0x268)][_0x189995(0x1bf)][_0x189995(0xad)](_0x523bce(this['dispose$']))['subscribe'](_0x42f8f1=>{const _0x10b285=_0x189995;_0x42f8f1===_0x1974dc['ONLINE']?this[_0x10b285(0x1ff)]():this['_toggleOffline']();}),this['_session']['event$'][_0x189995(0xad)](_0x523bce(this[_0x189995(0xc7)]))['subscribe'](_0x599863=>{const _0x253acf=_0x189995,_0x159365=_0x599863[_0x253acf(0xe2)];_0x159365===_0x2a1c79[_0x253acf(0x1ef)]&&this[_0x253acf(0x260)](_0x599863),_0x159365===_0x2a1c79[_0x253acf(0xf7)]&&this[_0x253acf(0x285)](_0x599863);}),this[_0x189995(0xe9)](this[_0x189995(0x229)][_0x189995(0x248)](_0x327922=>{const _0x4f836a=_0x189995,_0x510c28=_0x327922[_0x4f836a(0xb9)];_0x510c28!=null&&this[_0x4f836a(0xe1)]&&_0x327922['id']===_0x5494d0['id']&&_0x510c28[_0x4f836a(0xfa)]===this[_0x4f836a(0x110)]&&_0x510c28[_0x4f836a(0x26f)]===!0x1&&_0x510c28['ranges'][_0x4f836a(0x9d)]>0x0&&this[_0x4f836a(0x263)](_0x510c28['ranges']);})),this['_syncEditingCollabCursorService'][_0x189995(0x22c)][_0x189995(0xad)](_0x523bce(this[_0x189995(0xc7)]))[_0x189995(0x23f)](_0x3d247c=>{const _0x5e6a08=_0x189995;if((_0x3d247c==null?void 0x0:_0x3d247c[_0x5e6a08(0x110)])!==this[_0x5e6a08(0x110)])return;const _0x3e4a2b={'eventID':_0x2a1c79[_0x5e6a08(0x1ef)],'data':_0x3d247c};this[_0x5e6a08(0x260)](_0x3e4a2b);}),this[_0x189995(0xe9)](this[_0x189995(0x229)][_0x189995(0x248)](_0x21d388=>{const _0x589b31=_0x189995;if(_0x21d388['params']==null)return;const _0xecc5ac=_0x21d388[_0x589b31(0xb9)];if(_0x21d388['id']!==_0xb85050['id']||_0xecc5ac['unitId']!==this[_0x589b31(0x110)])return;const _0x523b24={'id':'doc.mutation.rich-text-editing','params':_0xecc5ac},_0x536817=this[_0x589b31(0xa7)];for(const [_0x5df649,_0xea448c]of _0x536817){const _0x2a33a5={'id':_0x589b31(0x19f),'params':{'unitId':this[_0x589b31(0x110)],'actions':null,'textRanges':_0xea448c[_0x589b31(0x1b5)]}},_0x39adbe=this[_0x589b31(0x1cb)][_0x589b31(0x288)](_0x523b24,_0x2a33a5,!0x1);if(_0xf74f3d(_0x39adbe))throw _0x39adbe[_0x589b31(0x11a)];_0x536817[_0x589b31(0x1f3)](_0x5df649,{..._0xea448c,'ranges':_0x39adbe[_0x589b31(0x18c)][_0x589b31(0xb9)]['textRanges']});}queueMicrotask(()=>{const _0x3adb3b=_0x589b31;this[_0x3adb3b(0x1f2)]['next'](_0x536817);});})));}[_0x51f5f6(0x260)](_0x474418){const _0x42bf6d=_0x51f5f6;var _0xca4675,_0x5c2edd;const {memberID:_0x4bde32,selection:_0x3e8cbd}=_0x474418[_0x42bf6d(0x201)],_0x3e9ac9=Oi(_0x3e8cbd),_0x4ceff5=(_0x5c2edd=(_0xca4675=this[_0x42bf6d(0xd0)][_0x42bf6d(0x20e)](this['unitID'],_0x4bde32))==null?void 0x0:_0xca4675['name'])!=null?_0x5c2edd:_0x42bf6d(0x166),_0x480b2a={'color':this[_0x42bf6d(0x266)][_0x42bf6d(0x1bd)](_0x4bde32),'name':_0x4ceff5,'ranges':_0x3e9ac9},_0x27eac2=this[_0x42bf6d(0xa7)];_0x27eac2['set'](_0x4bde32,_0x480b2a),this[_0x42bf6d(0x1f2)][_0x42bf6d(0x256)](_0x27eac2);}[_0x51f5f6(0x285)](_0x33103d){const _0x429bc=_0x51f5f6,{memberID:_0x16988d}=_0x33103d['data'],_0xec146d=this['cursorInfo'];_0xec146d[_0x429bc(0x1f0)](_0x16988d),this[_0x429bc(0x1f2)][_0x429bc(0x256)](_0xec146d);}['_toggleOnline'](){const _0x65d2bb=_0x51f5f6;var _0x1b0cc7;if(this[_0x65d2bb(0xe1)]=!0x0,((_0x1b0cc7=this['_univerInstanceService'][_0x65d2bb(0x1ab)]())==null?void 0x0:_0x1b0cc7[_0x65d2bb(0x102)]())!==this['unitID'])return;const _0x4ce414=this[_0x65d2bb(0xd1)][_0x65d2bb(0x138)](_0x16f3fc)[_0x65d2bb(0xef)]();Array[_0x65d2bb(0x286)](_0x4ce414)&&_0x4ce414['length']>0x0&&this[_0x65d2bb(0x263)](_0x4ce414);}[_0x51f5f6(0x1d7)](){const _0x49f382=_0x51f5f6;this[_0x49f382(0xe1)]=!0x1;}};Ue=Ti([P(0x2,_0x117b17(_0x2b663c)),P(0x3,_0x117b17(He)),P(0x4,_0x117b17(_0xb9d28d)),P(0x5,_0x117b17(Fe)),P(0x6,_0x7c01ff),P(0x7,_0x5f2cd8),P(0x8,_0x430875)],Ue);var Ni=Object[_0x51f5f6(0x95)],Ui=(_0x106e36,_0x403e06,_0x1ce66f,_0x3115c5)=>{const _0x4c0d0c=_0x51f5f6;for(var _0x38773e=_0x3115c5>0x1?void 0x0:_0x3115c5?Ni(_0x403e06,_0x1ce66f):_0x403e06,_0x3dc69b=_0x106e36[_0x4c0d0c(0x9d)]-0x1,_0x801b58;_0x3dc69b>=0x0;_0x3dc69b--)(_0x801b58=_0x106e36[_0x3dc69b])&&(_0x38773e=_0x801b58(_0x38773e)||_0x38773e);return _0x38773e;},x=(_0xf0eba7,_0x8f90f9)=>(_0x19c7dc,_0x888e4f)=>_0x8f90f9(_0x19c7dc,_0x888e4f,_0xf0eba7);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x41ccf3=[],_0x42c65e=!0x1;return _0x1979f8=>{const _0x1c8ce0=_0x3de2;_0x41ccf3[_0x1c8ce0(0x134)](_0x1979f8),_0x42c65e||(_0x42c65e=!0x0,setTimeout(()=>{const _0x51f7be=_0x1c8ce0;_0x41ccf3[_0x51f7be(0x1a1)](_0x147dae=>_0x147dae()),_0x41ccf3=[],_0x42c65e=!0x1;}));};};let Me=class extends _0x475d93{constructor(_0x3ec9fb,_0x387c28,_0x104c32,_0x5400a9,_0x53d883,_0x84d493,_0x3830e2,_0x185ead){const _0xc9453b=_0x51f5f6;super(),_(this,_0xc9453b(0xe1),!0x1),_(this,_0xc9453b(0x122),!0x1),_(this,_0xc9453b(0x1f2),new _0x3c6405(new Map())),_(this,_0xc9453b(0xbe),this[_0xc9453b(0x1f2)][_0xc9453b(0x14a)]()),_(this,'_roomMembers$',new _0x3c6405([])),_(this,_0xc9453b(0x184),this[_0xc9453b(0x25f)]['pipe'](_0x58192f(Mi))),_(this,_0xc9453b(0x263),_0x5c6471((_0x459edb,_0x10c7fc)=>{const _0x34494e=_0xc9453b,_0x34d312={'eventID':_0x2a1c79[_0x34494e(0x1ef)],'data':{'unitID':this[_0x34494e(0x110)],'memberID':this[_0x34494e(0x268)][_0x34494e(0x1a0)](),'selection':_0x496deb(_0x459edb,_0x10c7fc[_0x34494e(0x128)])}};this[_0x34494e(0x268)][_0x34494e(0x1bc)](_0x34d312,this[_0x34494e(0x110)]);},Li)),(this['unitID']=_0x3ec9fb,this[_0xc9453b(0x268)]=_0x387c28,this[_0xc9453b(0xd1)]=_0x104c32,this[_0xc9453b(0x266)]=_0x5400a9,this[_0xc9453b(0xd0)]=_0x53d883,this[_0xc9453b(0x223)]=_0x84d493,this[_0xc9453b(0x229)]=_0x3830e2,this[_0xc9453b(0x117)]=_0x185ead);}get[_0x51f5f6(0xa7)](){const _0x235b17=_0x51f5f6;return this[_0x235b17(0x1f2)][_0x235b17(0xd8)]();}get[_0x51f5f6(0x271)](){const _0x146f73=_0x51f5f6;return this['_roomMembers$'][_0x146f73(0xd8)]();}[_0x51f5f6(0x145)](){const _0x830e2f=_0x51f5f6;super[_0x830e2f(0x145)](),this['_cursorInfo$'][_0x830e2f(0x256)](new Map()),this[_0x830e2f(0x1f2)][_0x830e2f(0x200)](),this[_0x830e2f(0x25f)][_0x830e2f(0x256)]([]),this[_0x830e2f(0x25f)][_0x830e2f(0x200)]();}[_0x51f5f6(0x114)](){const _0x3baded=_0x51f5f6;this[_0x3baded(0x122)]||(this[_0x3baded(0x122)]=!0x0,this[_0x3baded(0x268)][_0x3baded(0x1bf)]['pipe'](_0x523bce(this[_0x3baded(0xc7)]))[_0x3baded(0x23f)](_0x14bd59=>{const _0x1e74b4=_0x3baded;_0x14bd59===_0x1974dc['ONLINE']?this[_0x1e74b4(0x1ff)]():this['_toggleOffline']();}),this['_session'][_0x3baded(0x21c)]['pipe'](_0x523bce(this[_0x3baded(0xc7)]))[_0x3baded(0x23f)](_0x48965a=>{const _0x19e653=_0x3baded,_0x333df2=_0x48965a['eventID'];_0x333df2===_0x2a1c79[_0x19e653(0x1ef)]&&this[_0x19e653(0x260)](_0x48965a),_0x333df2===_0x2a1c79[_0x19e653(0xf7)]&&this[_0x19e653(0x285)](_0x48965a);}),this['_onRefRangeChange'](),this[_0x3baded(0xe9)](this['_commandService']['onCommandExecuted'](_0x156ad7=>{const _0x216c2a=_0x3baded;if(this['_online']&&_0x156ad7['id']===_0x31f4a0['id']&&_0x156ad7[_0x216c2a(0xb9)][_0x216c2a(0xfa)]===this[_0x216c2a(0x110)]){const _0x295b0d=_0x156ad7['params'];this[_0x216c2a(0x263)](_0x295b0d[_0x216c2a(0x124)],_0x295b0d[_0x216c2a(0x1da)][0x0]);}})));}[_0x51f5f6(0x260)](_0x1e4b85){const _0x5f99a2=_0x51f5f6;var _0x532a0d,_0x4479db;const {memberID:_0x1d46ef,selection:_0x30a299}=_0x1e4b85[_0x5f99a2(0x201)],{sheetName:_0x2a901c,range:_0x3383ed}=_0x375056(_0x30a299),_0x1fc308={'name':(_0x4479db=(_0x532a0d=this[_0x5f99a2(0xd0)]['getMember'](this[_0x5f99a2(0x110)],_0x1d46ef))==null?void 0x0:_0x532a0d['name'])!=null?_0x4479db:_0x5f99a2(0x166),'range':this[_0x5f99a2(0x144)](_0x2a901c,_0x3383ed),'sheetID':_0x2a901c,'color':this['_colorAssignService'][_0x5f99a2(0x1bd)](_0x1d46ef),'selection':_0x30a299},_0xc551ce=this[_0x5f99a2(0xa7)];_0xc551ce[_0x5f99a2(0x1f3)](_0x1d46ef,_0x1fc308),this['_cursorInfo$'][_0x5f99a2(0x256)](_0xc551ce);}['_onCursorDelete'](_0x4c65be){const _0x4d5041=_0x51f5f6,{memberID:_0x1f0d8b}=_0x4c65be[_0x4d5041(0x201)],_0x1cdb9c=this[_0x4d5041(0xa7)];_0x1cdb9c[_0x4d5041(0x1f0)](_0x1f0d8b),this['_cursorInfo$'][_0x4d5041(0x256)](_0x1cdb9c);}['_getMergeRange'](_0x120e11,_0x3f73ae){const _0x4f5f0b=_0x51f5f6;var _0x320021,_0x282a6b;const _0x1e75b=(_0x282a6b=(_0x320021=this[_0x4f5f0b(0x223)][_0x4f5f0b(0x1b2)](this['unitID']))==null?void 0x0:_0x320021[_0x4f5f0b(0x180)](_0x120e11))==null?void 0x0:_0x282a6b[_0x4f5f0b(0x231)]();return(_0x1e75b==null?void 0x0:_0x1e75b['find'](_0x6b7737=>_0xc11554[_0x4f5f0b(0xe0)](_0x6b7737,_0x3f73ae)))||_0x3f73ae;}[_0x51f5f6(0xa4)](){const _0x33e18a=_0x51f5f6,_0x4b84b0=new _0x5218d1(),_0x218277=Pi(),_0x3e6cd9=()=>{const _0x8a2c3f=_0x3de2;_0x4b84b0[_0x8a2c3f(0x145)]();const _0x103e9b=(_0x17bb3e,_0x24a3d9,_0x28445f,_0x178329)=>{const _0x291145=_0x8a2c3f;let _0xe1412a=[];switch(_0x17bb3e['id']){case _0x433ba9[_0x291145(0x9b)]:{_0xe1412a=_0x1ecf32(_0x17bb3e,_0x178329);break;}case _0x433ba9[_0x291145(0x92)]:{_0xe1412a=_0x4b34f5(_0x17bb3e,_0x178329);break;}case _0x433ba9[_0x291145(0x146)]:{_0xe1412a=_0x204661(_0x17bb3e,_0x178329);break;}case _0x433ba9[_0x291145(0x203)]:{_0xe1412a=_0x4cb476(_0x17bb3e,_0x178329);break;}case _0x433ba9[_0x291145(0xd9)]:{_0xe1412a=_0x317e22(_0x17bb3e,_0x178329);break;}case _0x433ba9[_0x291145(0x23e)]:{_0xe1412a=_0x5cbcf6(_0x17bb3e,_0x178329);break;}case _0x433ba9[_0x291145(0xcf)]:{_0xe1412a=_0x5426b0(_0x17bb3e,_0x178329);break;}case _0x433ba9[_0x291145(0x1ce)]:{_0xe1412a=_0x3cf033(_0x17bb3e,_0x178329);break;}case _0x433ba9['RemoveRowCommandId']:{_0xe1412a=_0x405235(_0x17bb3e,_0x178329);break;}}const _0x1a4768=_0x39fa05(_0xe1412a,_0x178329),_0x621c71=this[_0x291145(0xa7)][_0x291145(0x138)](_0x24a3d9);if(_0x621c71&&_0x1a4768){const _0x19e0d8={..._0x621c71,'range':_0x1a4768};this[_0x291145(0xa7)]['set'](_0x24a3d9,_0x19e0d8),_0x218277(()=>{const _0x149187=_0x291145,_0x3be18f=this['_refRangeService']['registerRefRange'](_0x1a4768,_0x208313=>(_0x3be18f[_0x149187(0x145)](),_0x103e9b(_0x208313,_0x24a3d9,_0x28445f,_0x1a4768)));_0x4b84b0[_0x149187(0x221)](_0x3be18f);});}return{'redos':[],'undos':[]};};this[_0x8a2c3f(0xa7)]['forEach']((_0x5dbd7d,_0xcacd76)=>{const _0xe04fad=_0x8a2c3f,{range:_0x40b235,sheetID:_0x152a1e}=_0x5dbd7d,_0x68c4f9=this[_0xe04fad(0x117)]['registerRefRange'](_0x40b235,_0x1443bc=>(_0x68c4f9[_0xe04fad(0x145)](),_0x103e9b(_0x1443bc,_0xcacd76,_0x152a1e,_0x40b235)));_0x4b84b0[_0xe04fad(0x221)](_0x68c4f9);});};this[_0x33e18a(0xe9)](_0x150341(this[_0x33e18a(0x1f2)][_0x33e18a(0x23f)](()=>{_0x3e6cd9();})));}[_0x51f5f6(0x1ff)](){const _0x370218=_0x51f5f6;var _0xa57318,_0x20b3cd;if(this[_0x370218(0xe1)]=!0x0,((_0xa57318=this[_0x370218(0x223)]['getFocusedUnit']())==null?void 0x0:_0xa57318[_0x370218(0x102)]())!==this[_0x370218(0x110)])return;const _0x2e5fb4=(_0x20b3cd=this['_injector'][_0x370218(0x138)](_0x41f6b4)[_0x370218(0x19d)]())==null?void 0x0:_0x20b3cd[0x0],_0x709fe=this[_0x370218(0x223)][_0x370218(0x22a)](_0x36a4cb[_0x370218(0x19b)])[_0x370218(0x173)]();_0x2e5fb4&&_0x709fe&&this[_0x370218(0x263)](_0x709fe[_0x370218(0x19c)](),_0x2e5fb4);}[_0x51f5f6(0x1d7)](){const _0x322cbe=_0x51f5f6;this[_0x322cbe(0xe1)]=!0x1;}};Me=Ui([x(0x2,_0x117b17(_0x2b663c)),x(0x3,_0x117b17(He)),x(0x4,_0x117b17(_0xb9d28d)),x(0x5,_0x5f2cd8),x(0x6,_0x430875),x(0x7,_0x117b17(_0x425a0f))],Me);var wi=Object[_0x51f5f6(0x95)],Ai=(_0x31c29f,_0x4bfc31,_0x207149,_0x1d9f14)=>{const _0x14092d=_0x51f5f6;for(var _0x2e73a4=_0x1d9f14>0x1?void 0x0:_0x1d9f14?wi(_0x4bfc31,_0x207149):_0x4bfc31,_0x1fd977=_0x31c29f[_0x14092d(0x9d)]-0x1,_0x2bea30;_0x1fd977>=0x0;_0x1fd977--)(_0x2bea30=_0x31c29f[_0x1fd977])&&(_0x2e73a4=_0x2bea30(_0x2e73a4)||_0x2e73a4);return _0x2e73a4;},me=(_0xc00acd,_0x312a57)=>(_0x438528,_0x52390c)=>_0x312a57(_0x438528,_0x52390c,_0xc00acd);let F=class extends _0x475d93{constructor(_0x19e28d,_0x3bc61c,_0x3ab986){const _0x21b21d=_0x51f5f6;super(),_(this,_0x21b21d(0x10e),new Map()),_(this,_0x21b21d(0x26a),new _0x25e80b()),(this[_0x21b21d(0x223)]=_0x19e28d,this[_0x21b21d(0xd1)]=_0x3bc61c,this[_0x21b21d(0x135)]=_0x3ab986,this[_0x21b21d(0x122)]());}[_0x51f5f6(0x145)](){const _0x5b3179=_0x51f5f6;super['dispose'](),this[_0x5b3179(0x26a)][_0x5b3179(0x200)](),this[_0x5b3179(0x10e)][_0x5b3179(0x1a1)](_0x7bfced=>_0x7bfced[_0x5b3179(0x145)]());}[_0x51f5f6(0x90)](_0x36a8e0){const _0x3165b8=_0x51f5f6;return this['_entities'][_0x3165b8(0xfb)](_0x36a8e0)?this[_0x3165b8(0x10e)]['get'](_0x36a8e0)[_0x3165b8(0xbe)]:this[_0x3165b8(0x26a)][_0x3165b8(0xad)](_0x473cfd(_0x540a82=>_0x540a82['unitID']===_0x36a8e0),_0x38496a(_0x48818b=>_0x48818b[_0x3165b8(0xbe)]));}['_init'](){const _0x16d389=_0x51f5f6;this[_0x16d389(0x223)]['getTypeOfUnitAdded$'](_0x36a4cb[_0x16d389(0x19b)])['pipe'](_0x523bce(this[_0x16d389(0xc7)]))[_0x16d389(0x23f)](async _0x44fb1b=>{const _0x387c44=_0x16d389,_0x4bf585=_0x44fb1b['getUnitId'](),_0x4f3cfb=await this[_0x387c44(0x274)](_0x4bf585);this['_entityInit$'][_0x387c44(0x256)](_0x4f3cfb),this[_0x387c44(0x10e)][_0x387c44(0x1f3)](_0x4bf585,_0x4f3cfb);}),this[_0x16d389(0x223)][_0x16d389(0x13b)](_0x36a4cb[_0x16d389(0x116)])[_0x16d389(0xad)](_0x523bce(this[_0x16d389(0xc7)]))[_0x16d389(0xad)](_0x473cfd(_0x3297cc=>!_0x3297cc['getUnitId']()['startsWith']('__')))[_0x16d389(0x23f)](async _0x56cb0f=>{const _0x2835b0=_0x16d389,_0x3da71b=_0x56cb0f['getUnitId'](),_0x3c1149=await this[_0x2835b0(0xb2)](_0x3da71b);this[_0x2835b0(0x26a)][_0x2835b0(0x256)](_0x3c1149),this[_0x2835b0(0x10e)][_0x2835b0(0x1f3)](_0x3da71b,_0x3c1149);}),_0x3144b5(this[_0x16d389(0x223)][_0x16d389(0x250)](_0x36a4cb[_0x16d389(0x116)]),this['_univerInstanceService'][_0x16d389(0x250)](_0x36a4cb[_0x16d389(0x19b)]))[_0x16d389(0xad)](_0x523bce(this['dispose$']))[_0x16d389(0x23f)](_0x216c28=>{const _0x16470a=_0x16d389,_0x39876f=_0x216c28[_0x16470a(0x102)](),_0x35c8e7=this['_entities'][_0x16470a(0x138)](_0x39876f);_0x35c8e7&&(_0x35c8e7[_0x16470a(0x145)](),this[_0x16470a(0x10e)]['delete'](_0x39876f));});}async[_0x51f5f6(0x274)](_0x4f162b){const _0x47d21a=_0x51f5f6,_0xab5c55=await this[_0x47d21a(0x135)][_0x47d21a(0x189)](_0x4f162b),_0x37ec3e=this[_0x47d21a(0xd1)][_0x47d21a(0x99)](Me,_0x4f162b,_0xab5c55);return _0x37ec3e[_0x47d21a(0x114)](),_0x37ec3e;}async[_0x51f5f6(0xb2)](_0x3549f5){const _0x53cdae=_0x51f5f6,_0x3426cb=await this['_collabSessionService'][_0x53cdae(0x189)](_0x3549f5),_0x161c55=this[_0x53cdae(0xd1)][_0x53cdae(0x99)](Ue,_0x3549f5,_0x3426cb);return _0x161c55[_0x53cdae(0x114)](),_0x161c55;}};F=Ai([me(0x0,_0x5f2cd8),me(0x1,_0x117b17(_0x2b663c)),me(0x2,_0x117b17(_0x3dc382))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x462739,_0xa0b203){const _0x48dedb=_0x51f5f6;let {radius:_0x407fd0,width:_0x1bad49,height:_0x20771c}=_0xa0b203;_0x407fd0=_0x407fd0!=null?_0x407fd0:0x0,_0x1bad49=_0x1bad49!=null?_0x1bad49:0x1e,_0x20771c=_0x20771c!=null?_0x20771c:0x1e;let _0x2536d2=0x0,_0x28c04a=0x0,_0x5cfdd9=0x0;_0x2536d2=_0x28c04a=_0x5cfdd9=Math[_0x48dedb(0xb4)](_0x407fd0,_0x1bad49/0x2,_0x20771c/0x2),_0x462739['beginPath'](),_0x462739[_0x48dedb(0x20f)](_0x2536d2,0x0),_0x462739[_0x48dedb(0x157)](_0x1bad49-_0x28c04a,0x0),_0x462739[_0x48dedb(0x1ba)](_0x1bad49-_0x28c04a,_0x28c04a,_0x28c04a,Math['PI']*0x3/0x2,0x0,!0x1),_0x462739[_0x48dedb(0x157)](_0x1bad49,_0x20771c-_0x5cfdd9),_0x462739['arc'](_0x1bad49-_0x5cfdd9,_0x20771c-_0x5cfdd9,_0x5cfdd9,0x0,Math['PI']/0x2,!0x1),_0x462739[_0x48dedb(0x157)](0x0,_0x20771c),_0x462739[_0x48dedb(0x157)](0x0,_0x2536d2),_0x462739[_0x48dedb(0x1ba)](_0x2536d2,_0x2536d2,_0x2536d2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x462739[_0x48dedb(0x16c)](),_0xa0b203[_0x48dedb(0x17f)]&&(_0x462739['save'](),_0x462739['fillStyle']=_0xa0b203[_0x48dedb(0x17f)],_0xa0b203['fillRule']===_0x48dedb(0x9e)?_0x462739[_0x48dedb(0x17f)](_0x48dedb(0x9e)):_0x462739[_0x48dedb(0x17f)](),_0x462739[_0x48dedb(0xf4)]());}function _0x3de2(_0x30bc20,_0x573597){const _0x1db634=_0x1db6();return _0x3de2=function(_0x3de2ac,_0x1cf128){_0x3de2ac=_0x3de2ac-0x7f;let _0x20b12f=_0x1db634[_0x3de2ac];return _0x20b12f;},_0x3de2(_0x30bc20,_0x573597);}class ue extends _0x34177a{constructor(_0x1e65f3,_0x44406f){const _0x39dea9=_0x51f5f6;super(_0x1e65f3,_0x44406f),_(this,'color'),_(this,_0x39dea9(0xe7)),(this[_0x39dea9(0x23c)]=_0x44406f==null?void 0x0:_0x44406f[_0x39dea9(0x23c)],this[_0x39dea9(0xe7)]=_0x44406f==null?void 0x0:_0x44406f[_0x39dea9(0xe7)]);}static[_0x51f5f6(0x16e)](_0x1cf085,_0x512ee7){const _0x146f08=_0x51f5f6,{text:_0x366218,color:_0xac172a}=_0x512ee7;_0x1cf085[_0x146f08(0x83)](),_0x1cf085[_0x146f08(0x1ae)]=_0x146f08(0x129);const _0x290012=_0x1cf085['measureText'](_0x366218)[_0x146f08(0x172)],_0x581ce2=Math[_0x146f08(0xb4)](_0x290012+0x2*Ie,Qe);$i(_0x1cf085,{'height':J,'radius':0x4,'width':_0x581ce2,'fill':_0xac172a}),_0x1cf085[_0x146f08(0x112)]='#FFF';const _0x2cab34=Ie,_0x2e69b2=J-yi,_0x4521ff=Qe-0x2*Ie;if(_0x290012>_0x4521ff){let _0x5066b9='',_0x5e360a=0x0;for(const _0x440200 of _0x366218){const _0x4566c3=_0x1cf085[_0x146f08(0x257)](_0x440200)[_0x146f08(0x172)];if(_0x5e360a+_0x4566c3<=_0x4521ff-_0x1cf085[_0x146f08(0x257)](_0x146f08(0x251))[_0x146f08(0x172)])_0x5066b9+=_0x440200,_0x5e360a+=_0x4566c3;else{_0x5066b9+=_0x146f08(0x251);break;}}_0x1cf085[_0x146f08(0x27c)](_0x5066b9,_0x2cab34,_0x2e69b2);}else _0x1cf085[_0x146f08(0x27c)](_0x366218,_0x2cab34,_0x2e69b2);_0x1cf085[_0x146f08(0xf4)]();}[_0x51f5f6(0x195)](_0x22937b){const _0x3ee005=_0x51f5f6;ue[_0x3ee005(0x16e)](_0x22937b,this);}}const ve=_0x51f5f6(0xea),xi=_0x51f5f6(0x185),Bi=_0x51f5f6(0xa0),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x1b054d,_0x5778cc,_0x1a0a7c,_0x10c25b){const _0x2734ef=_0x51f5f6;_(this,_0x2734ef(0x181),[]),_(this,'_anchor',null),_(this,_0x2734ef(0x15a),null),_(this,_0x2734ef(0x156),null),_(this,_0x2734ef(0x26c),null),_(this,_0x2734ef(0x217),null),(this[_0x2734ef(0xdd)]=_0x1b054d,this['_scene']=_0x5778cc,this[_0x2734ef(0xdf)]=_0x1a0a7c,this['_document']=_0x10c25b,this[_0x2734ef(0x1cd)]());}set[_0x51f5f6(0x177)](_0x3fd97a){const _0x46936e=_0x51f5f6;_0x3fd97a?(this['_anchorDot']&&this[_0x46936e(0x156)][_0x46936e(0x275)](),this[_0x46936e(0x15a)]&&this[_0x46936e(0x15a)][_0x46936e(0x1d3)]()):(this[_0x46936e(0x156)]&&this[_0x46936e(0x156)][_0x46936e(0x1d3)](),this[_0x46936e(0x15a)]&&this[_0x46936e(0x15a)][_0x46936e(0x275)]());}[_0x51f5f6(0x145)](){const _0x63c913=_0x51f5f6;for(const _0x654a56 of this['_shapes'])_0x654a56[_0x63c913(0x145)]();this[_0x63c913(0x15a)]&&this[_0x63c913(0x15a)]['dispose'](),this[_0x63c913(0x156)]&&this[_0x63c913(0x156)]['dispose'](),this[_0x63c913(0x111)]&&this[_0x63c913(0x111)][_0x63c913(0x145)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x51f5f6(0x1cd)](){const _0x13e1fa=_0x51f5f6;var _0x1875d0;const {_docSkeleton:_0x199f7e,_document:_0x538fa8}=this,{color:_0x30e157,name:_0x1697ff,ranges:_0x8021c9}=this[_0x13e1fa(0xdd)],_0x245965=_0x538fa8[_0x13e1fa(0x13f)](),{docsLeft:_0x5b1ee5,docsTop:_0x373f6f}=_0x245965,_0xc2bb1b=new _0x2f7a40(_0x245965,_0x199f7e);for(const {startOffset:_0x29f9eb,endOffset:_0x14ba48,rangeType:_0x44d7a9,segmentId:_0x19fe18,segmentPage:_0x221ef6,collapsed:_0x4657a3,isActive:_0x4baf46}of _0x8021c9){const _0x4f7b3c=_0x199f7e[_0x13e1fa(0x13a)](_0x29f9eb,!0x0,_0x19fe18,_0x221ef6);let _0x3419bb=_0x199f7e[_0x13e1fa(0x13a)](_0x14ba48,!0x0,_0x19fe18,_0x221ef6);if(_0x3419bb==null&&(_0x3419bb=_0x199f7e['findNodePositionByCharIndex'](_0x14ba48-0x1,!0x1,_0x19fe18,_0x221ef6)),_0x4baf46){const {contentBoxPointGroup:_0x3bd4b2}=_0xc2bb1b['getRangePointData'](_0x3419bb,_0x3419bb);if(_0x3bd4b2[_0x13e1fa(0x9d)]===0x0)continue;this[_0x13e1fa(0x23b)](_0x30e157,_0x3bd4b2,_0x5b1ee5,_0x373f6f,_0x1697ff),this[_0x13e1fa(0x217)]=this[_0x13e1fa(0xc5)]();}if(_0x4f7b3c&&_0x3419bb){if(_0x44d7a9===_0x407b55[_0x13e1fa(0x16d)]){const _0x1f1a40=new _0x357e05(_0x245965,_0x199f7e),{pointGroup:_0x516413}=(_0x1875d0=_0x1f1a40[_0x13e1fa(0x212)](_0x4f7b3c,_0x3419bb))!=null?_0x1875d0:{};if(_0x516413==null||_0x516413[_0x13e1fa(0x9d)]===0x0)continue;this['_drawRectRange'](_0x30e157,_0x516413,_0x5b1ee5,_0x373f6f);}else{if(!_0x4657a3){const {borderBoxPointGroup:_0x44e870}=_0xc2bb1b[_0x13e1fa(0x212)](_0x4f7b3c,_0x3419bb);if(_0x44e870[_0x13e1fa(0x9d)]===0x0)continue;this[_0x13e1fa(0x191)](_0x30e157,_0x44e870,_0x5b1ee5,_0x373f6f);}}}}}[_0x51f5f6(0x23b)](_0x5babd0,_0x3b3c6a,_0x310e8c,_0x1028d0,_0x54aea5){const _0x56d4f0=_0x51f5f6,_0x457273=this[_0x56d4f0(0xcc)](_0x3b3c6a),{left:_0x713605,top:_0x373b7b,height:_0xf643e4}=_0x457273,_0x1b1987=this[_0x56d4f0(0x246)](),_0x188d2b=Hi/_0x1b1987,_0x239a22=new _0x32e187(ve+_0x508ce3(K),{'left':_0x713605+_0x310e8c-_0x188d2b,'top':_0x373b7b+_0x1028d0,'height':_0xf643e4,'width':ki,'fill':_0x5babd0||_0x1e17ea(_0x474487['black'],0x0),'strokeWidth':_0x188d2b,'stroke':Fi,'evented':!0x0});this[_0x56d4f0(0x111)]=_0x239a22,this[_0x56d4f0(0x1d5)][_0x56d4f0(0x243)](_0x239a22,_0x1ba3bf);const _0x5e4f2a=new _0x32e187(ve+_0x508ce3(K),{'left':_0x713605+_0x310e8c-_0x188d2b,'top':_0x373b7b+_0x1028d0-ge/0x2,'height':ge,'width':ge,'fill':_0x5babd0||_0x1e17ea(_0x474487[_0x56d4f0(0x18a)],0x0),'strokeWidth':0x0,'stroke':_0x5babd0||_0x1e17ea(_0x474487[_0x56d4f0(0x18a)],0x0),'evented':!0x1});this[_0x56d4f0(0x156)]=_0x5e4f2a,this[_0x56d4f0(0x1d5)][_0x56d4f0(0x243)](_0x5e4f2a,_0x1ba3bf);const _0x22a65f=new ue(ve+_0x508ce3(K),{'left':_0x713605+_0x310e8c-_0x188d2b,'top':_0x373b7b+_0x1028d0-J,'text':_0x54aea5,'color':_0x5babd0});this[_0x56d4f0(0x15a)]=_0x22a65f,this[_0x56d4f0(0x1d5)][_0x56d4f0(0x243)](_0x22a65f,_0x1ba3bf),this[_0x56d4f0(0x177)]=!0x1;}[_0x51f5f6(0xc5)](){const _0x372191=_0x51f5f6,_0x37f590=this[_0x372191(0x111)][_0x372191(0x24e)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x115f5c=this[_0x372191(0x111)][_0x372191(0x22e)][_0x372191(0x9f)](()=>{const _0x408b06=_0x372191;this[_0x408b06(0x26c)]&&clearTimeout(this[_0x408b06(0x26c)]),this[_0x408b06(0x26c)]=setTimeout(()=>{const _0x31b3e7=_0x408b06;this[_0x31b3e7(0x177)]=!0x1;},0x7d0);});return()=>{const _0x3b6ff6=_0x372191;_0x37f590[_0x3b6ff6(0xee)](),_0x115f5c[_0x3b6ff6(0xee)]();};}[_0x51f5f6(0x191)](_0x2cab87,_0x469113,_0x19f877,_0x454b5d){const _0x30331a=_0x51f5f6,_0x55cb36=new _0x2e6903(_0x2cab87)[_0x30331a(0xc3)](0.2)[_0x30331a(0x20d)](),_0x447908=new _0x9d8401(xi+_0x508ce3(K),{'pointsGroup':_0x469113,'fill':_0x55cb36||_0x1e17ea(_0x474487[_0x30331a(0x18a)],0.2),'left':_0x19f877,'top':_0x454b5d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x30331a(0x181)]['push'](_0x447908),this[_0x30331a(0x1d5)]['addObject'](_0x447908,_0x1ba3bf);}[_0x51f5f6(0x1eb)](_0xf99042,_0x47a549,_0x192ef2,_0x1e7681){const _0x45e16a=_0x51f5f6,_0x5d039c=new _0x2e6903(_0xf99042)[_0x45e16a(0xc3)](0.2)[_0x45e16a(0x20d)](),_0x4bc8a6=new _0x9d8401(Bi+_0x508ce3(K),{'pointsGroup':_0x47a549,'fill':_0x5d039c||_0x1e17ea(_0x474487[_0x45e16a(0x18a)],0.2),'left':_0x192ef2,'top':_0x1e7681,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x45e16a(0x181)][_0x45e16a(0x134)](_0x4bc8a6),this['_scene']['addObject'](_0x4bc8a6,_0x1ba3bf);}[_0x51f5f6(0xcc)](_0x47f205){const _0x4420e0=_0x47f205[0x0],_0x131480=_0x4420e0[0x0],_0x54ce7d=_0x4420e0[0x2],{x:_0x45deb4,y:_0x421a7a}=_0x131480,{x:_0x2ccfe6,y:_0x5c4d2d}=_0x54ce7d;return{'left':_0x45deb4,'top':_0x421a7a,'width':_0x2ccfe6-_0x45deb4,'height':_0x5c4d2d-_0x421a7a};}[_0x51f5f6(0x246)](){const _0x3eccbe=_0x51f5f6,{scaleX:_0x1ed850,scaleY:_0x1ddac5}=this['_scene'][_0x3eccbe(0x290)]();return Math[_0x3eccbe(0x89)](_0x1ed850,_0x1ddac5);}}var Yi=Object[_0x51f5f6(0x95)],ji=(_0x115673,_0x4adb58,_0x332394,_0xe05333)=>{const _0x3194e0=_0x51f5f6;for(var _0x2ee63c=_0xe05333>0x1?void 0x0:_0xe05333?Yi(_0x4adb58,_0x332394):_0x4adb58,_0x357974=_0x115673[_0x3194e0(0x9d)]-0x1,_0x5b9572;_0x357974>=0x0;_0x357974--)(_0x5b9572=_0x115673[_0x357974])&&(_0x2ee63c=_0x5b9572(_0x2ee63c)||_0x2ee63c);return _0x2ee63c;},ee=(_0x5b381b,_0x1bd711)=>(_0x115198,_0x1d52db)=>_0x1bd711(_0x115198,_0x1d52db,_0x5b381b);let Le=class extends _0x475d93{constructor(_0x5c4cd7,_0x471fe5,_0x32e3d3,_0x4ce2cd,_0x192d3d){const _0x59bfcf=_0x51f5f6;super(),_(this,_0x59bfcf(0x123),[]),_(this,_0x59bfcf(0xfe),[]),(this[_0x59bfcf(0x8b)]=_0x5c4cd7,this[_0x59bfcf(0x179)]=_0x471fe5,this['_collabCursorController']=_0x32e3d3,this[_0x59bfcf(0x229)]=_0x4ce2cd,this['_themeService']=_0x192d3d,this[_0x59bfcf(0x122)]());}['_init'](){const _0x16155b=_0x51f5f6,_0x42f72a=this[_0x16155b(0x8b)][_0x16155b(0xfa)],_0x352c9b=this[_0x16155b(0x179)];this[_0x16155b(0xe9)](_0x494f0f([this[_0x16155b(0xe3)][_0x16155b(0x90)](_0x42f72a),this['_themeService'][_0x16155b(0x190)]])['pipe'](_0x50fe63(([_0x187bd2,_0x3536ba])=>({'skeleton':_0x352c9b[_0x16155b(0x1fb)](),'cursors':[..._0x187bd2[_0x16155b(0x101)]()]['flatMap'](_0x4e43a7=>({..._0x4e43a7,'color':this[_0x16155b(0x151)][_0x16155b(0x21d)](_0x4e43a7['color'])}))})))['subscribe'](_0x1ad58a=>{const _0x44ffdf=_0x16155b;if(this[_0x44ffdf(0x10f)](),_0x1ad58a){const {skeleton:_0x31a7ae,cursors:_0x3acc66}=_0x1ad58a;this[_0x44ffdf(0x28b)](_0x31a7ae,_0x3acc66);}})),this[_0x16155b(0x1e5)](),this[_0x16155b(0x241)]();}['_updateCollabCursors'](_0x4731b1,_0x3a3292){const _0x20547f=_0x51f5f6,{scene:_0x1129b4,mainComponent:_0x2e4d9a}=this[_0x20547f(0x8b)],_0x4acfa4=_0x3a3292[_0x20547f(0x211)](_0x39108b=>new qe(_0x39108b,_0x1129b4,_0x4731b1,_0x2e4d9a));this[_0x20547f(0x123)]=_0x4acfa4,this['_cursors']=_0x3a3292;}['_refreshCollabCursors'](){const _0x14ac1c=_0x51f5f6;this[_0x14ac1c(0x10f)]();const {scene:_0x5258f7,mainComponent:_0x11a5aa}=this[_0x14ac1c(0x8b)],_0xadf442=this[_0x14ac1c(0x179)][_0x14ac1c(0x1fb)](),_0x73fde0=this[_0x14ac1c(0xfe)][_0x14ac1c(0x211)](_0x4ac4fb=>new qe(_0x4ac4fb,_0x5258f7,_0xadf442,_0x11a5aa));this['_cursorShapes']=_0x73fde0;}['_removeCollabCursors'](){const _0x1cd6ee=_0x51f5f6;this[_0x1cd6ee(0x123)][_0x1cd6ee(0x1a1)](_0x2bcf4b=>_0x2bcf4b[_0x1cd6ee(0x145)]()),this['_cursorShapes']=[];}[_0x51f5f6(0x241)](){const _0x2188fd=_0x51f5f6,_0x292589=[_0x29851f['id']];this[_0x2188fd(0xe9)](this['_commandService']['onCommandExecuted'](_0x583f5c=>{const _0x1cc8c5=_0x2188fd;_0x292589['includes'](_0x583f5c['id'])&&_0x583f5c[_0x1cc8c5(0xb9)]['unitId']===this['_context'][_0x1cc8c5(0xfa)]&&this['_refreshCollabCursors']();}));}[_0x51f5f6(0x1e5)](){const _0x3e4985=_0x51f5f6;this[_0x3e4985(0xe9)](_0x37af98(this[_0x3e4985(0x8b)][_0x3e4985(0x227)][_0x3e4985(0x28e)])[_0x3e4985(0xad)](_0x50879d(_0x4be0e6=>_0x4be0e6[_0x3e4985(0x1c0)]===_0x609f2e[_0x3e4985(0x1bb)]),_0x521cdc(0x10))[_0x3e4985(0x23f)](()=>{const _0x18af13=_0x3e4985;this[_0x18af13(0x14f)]();}));}};Le=ji([ee(0x1,_0x117b17(_0x50c1b1)),ee(0x2,_0x117b17(F)),ee(0x3,_0x430875),ee(0x4,_0x117b17(_0x2cf830))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x34177a{constructor(_0x57136b,_0x5eff7e){const _0x444191=_0x51f5f6;super(_0x57136b,_0x5eff7e),_(this,_0x444191(0x178)),_(this,_0x444191(0x163),!0x1),_(this,_0x444191(0x8e)),_(this,_0x444191(0x175),''),_(this,_0x444191(0x1f7),_0x444191(0x254)),_(this,'_backgroundColor'),(_0x5eff7e&&this['setShapeProps'](_0x5eff7e),this[_0x444191(0x24e)][_0x444191(0x9f)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x444191(0x226)]({'hovered':!0x1})));}[_0x51f5f6(0x226)](_0x3361ac){const _0x1615ee=_0x51f5f6;var _0x46abea,_0x459feb,_0x1c4ed0,_0x5d0eb1,_0x5cf880,_0x51fc06;this[_0x1615ee(0x178)]=(_0x46abea=_0x3361ac['color'])!=null?_0x46abea:this[_0x1615ee(0x178)],this[_0x1615ee(0x163)]=(_0x459feb=_0x3361ac[_0x1615ee(0x153)])!=null?_0x459feb:this[_0x1615ee(0x163)],this['_range']=(_0x1c4ed0=_0x3361ac[_0x1615ee(0x128)])!=null?_0x1c4ed0:this[_0x1615ee(0x8e)],this[_0x1615ee(0x175)]=(_0x5d0eb1=_0x3361ac[_0x1615ee(0x12c)])!=null?_0x5d0eb1:this[_0x1615ee(0x175)],this[_0x1615ee(0x1f7)]=(_0x5cf880=_0x3361ac[_0x1615ee(0x289)])!=null?_0x5cf880:this[_0x1615ee(0x1f7)],this[_0x1615ee(0x269)]=(_0x51fc06=_0x3361ac[_0x1615ee(0x1f1)])!=null?_0x51fc06:this[_0x1615ee(0x269)],this[_0x1615ee(0xf1)]({'width':_0x3361ac[_0x1615ee(0x172)],'height':_0x3361ac[_0x1615ee(0x14c)]});}[_0x51f5f6(0xa5)](_0x13aa1f){const _0x1507cd=_0x51f5f6,{row:_0xe39d6,column:_0x17c098}=_0x13aa1f;if(_0xe39d6>=this['_range'][_0x1507cd(0x10d)]&&_0xe39d6<=this['_range']['endRow']&&_0x17c098>=this[_0x1507cd(0x8e)][_0x1507cd(0xce)]&&_0x17c098<=this[_0x1507cd(0x8e)][_0x1507cd(0x21f)]){this[_0x1507cd(0x226)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x51f5f6(0x170)](_0x28fc77){return!0x1;}['_draw'](_0x2a4b71){const _0x35881f=_0x51f5f6;_0x32e187[_0x35881f(0x16e)](_0x2a4b71,{'width':this[_0x35881f(0x172)],'height':this[_0x35881f(0x14c)],'strokeWidth':Wi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x35881f(0x269)]}),this[_0x35881f(0x163)]&&(_0x2a4b71[_0x35881f(0x83)](),_0x2a4b71[_0x35881f(0x265)](0x1,0x0,0x0,0x1,this[_0x35881f(0x172)],this[_0x35881f(0x1f7)]==='bottom'?0x0:-J),ue[_0x35881f(0x16e)](_0x2a4b71,{'text':this[_0x35881f(0x175)],'color':this[_0x35881f(0x178)]}),_0x2a4b71[_0x35881f(0xf4)]());}}var Gi=Object[_0x51f5f6(0x95)],Ki=(_0x1458eb,_0x36249d,_0x24e7f8,_0x315052)=>{for(var _0x58ef43=_0x315052>0x1?void 0x0:_0x315052?Gi(_0x36249d,_0x24e7f8):_0x36249d,_0x275386=_0x1458eb['length']-0x1,_0x219ea0;_0x275386>=0x0;_0x275386--)(_0x219ea0=_0x1458eb[_0x275386])&&(_0x58ef43=_0x219ea0(_0x58ef43)||_0x58ef43);return _0x58ef43;},pe=(_0x2709ea,_0x4c0da1)=>(_0x4c43ee,_0x1e8403)=>_0x4c0da1(_0x4c43ee,_0x1e8403,_0x2709ea);const zi=0x1389;let Pe=class extends _0x475d93{constructor(_0x3e4928,_0x2ca305,_0x3d2f81,_0x51c5de){const _0x401048=_0x51f5f6;super(),_(this,_0x401048(0xfe),new Set()),_(this,_0x401048(0x13c),null),(this[_0x401048(0x8b)]=_0x3e4928,this['_sheetSkeletonManagerService']=_0x2ca305,this['_collabCursorController']=_0x3d2f81,this[_0x401048(0x151)]=_0x51c5de,this[_0x401048(0x122)]());}[_0x51f5f6(0x122)](){const _0x33d975=_0x51f5f6;this[_0x33d975(0x188)][_0x33d975(0x127)]['pipe'](_0x2c257f(this[_0x33d975(0xc7)]),_0x587d7d(_0x4eb5b3=>{const _0x3c7aeb=_0x33d975;if(_0x4eb5b3){const _0x5d98e8=_0x4eb5b3[_0x3c7aeb(0x1c6)];return _0x494f0f(this[_0x3c7aeb(0xe3)][_0x3c7aeb(0x90)](this['_context'][_0x3c7aeb(0xfa)]),this[_0x3c7aeb(0x151)][_0x3c7aeb(0x190)])[_0x3c7aeb(0xad)](_0x50fe63(([_0x57c90f,_0x1f7bb6])=>{const _0x2dde70=_0x3c7aeb,_0x3dc90a=new Map();return _0x57c90f[_0x2dde70(0x1a1)]((_0xf37ef6,_0x40357d)=>{const _0x2b00af=_0x2dde70;if(_0xf37ef6[_0x2b00af(0x27d)]===_0x5d98e8){const _0x356ac7={..._0xf37ef6};_0x356ac7[_0x2b00af(0x23c)]=this[_0x2b00af(0x151)][_0x2b00af(0x21d)](_0xf37ef6['color']),_0x3dc90a[_0x2b00af(0x1f3)](_0x40357d,_0x356ac7);}}),{'skeleton':_0x4eb5b3,'cursors':_0x3dc90a};}));}return _0x4943b9({'skeleton':null,'cursors':new Map()});}))[_0x33d975(0x23f)](({skeleton:_0x4b4285,cursors:_0x4e9d08})=>{const _0x4c21c4=_0x33d975;this[_0x4c21c4(0x10f)](),_0x4b4285&&this[_0x4c21c4(0x28b)](_0x4b4285,_0x4e9d08);}),this['_sheetSkeletonManagerService'][_0x33d975(0x127)][_0x33d975(0x23f)](_0x2ecdcd=>{const _0x203280=_0x33d975;if(_0x2ecdcd==null)return;const {skeleton:_0x4a868e}=_0x2ecdcd,{scene:_0x421dc3}=this['_context'];_0x421dc3[_0x203280(0x82)][_0x203280(0x9f)](_0x5c6471(_0x629d10=>{const _0x5b6519=_0x203280;var _0x57eb0e,_0x1d98ea;const {offsetX:_0x57af4f,offsetY:_0xd447e9}=_0x629d10,{x:_0x162529,y:_0x358e74}=_0x421dc3[_0x5b6519(0x24f)](_0x4c4a88['FromArray']([_0x57af4f,_0xd447e9])),{scaleX:_0x125bdb,scaleY:_0x45485a}=_0x421dc3['getAncestorScale'](),_0x4eb542=_0x421dc3[_0x5b6519(0xba)](_0x376330[_0x5b6519(0x21b)]),_0x44c460=_0x421dc3[_0x5b6519(0x1c1)](_0x4c4a88[_0x5b6519(0x125)]([_0x162529,_0x358e74]),_0x4eb542),_0x2bd710=_0x4a868e['getCellPositionByOffset'](_0x57af4f,_0xd447e9,_0x125bdb,_0x45485a,_0x44c460);((_0x57eb0e=this['_lastPointer'])==null?void 0x0:_0x57eb0e[_0x5b6519(0x21a)])===_0x2bd710['column']&&((_0x1d98ea=this['_lastPointer'])==null?void 0x0:_0x1d98ea['row'])===_0x2bd710[_0x5b6519(0x284)]||this[_0x5b6519(0xfe)]['forEach'](_0x43bbe9=>{_0x43bbe9['onMouseMove'](_0x2bd710);});},0x64));});}['_updateCollabCursors'](_0x1d26d9,_0x33ce58){const _0xb6467e=_0x51f5f6;var _0x354fa8;const _0x2b39b9=(_0x354fa8=this[_0xb6467e(0x188)][_0xb6467e(0x16f)]())==null?void 0x0:_0x354fa8[_0xb6467e(0x118)];if(!_0x2b39b9)return;const _0x54e7ac=this[_0xb6467e(0x12e)]();if(!_0x54e7ac)return;this[_0xb6467e(0xfe)][_0xb6467e(0x1a1)](_0x3c38c7=>{_0x3c38c7['makeDirty']();});const {scene:_0x3ff4c4}=_0x54e7ac,_0x1a8f6a=Ji(Array[_0xb6467e(0xff)](_0x33ce58['values']()))['map'](_0x4bf336=>{const _0x9c1b1c=_0xb6467e,{color:_0x4c332b,range:_0xf48bd5,name:_0x4d91e4,selection:_0x470ec6,sheetID:_0x56ff99}=_0x4bf336,{startColumn:_0x36d63e,startRow:_0x4f0655,endColumn:_0x116bbc,endRow:_0x2caa10}=_0xf48bd5,_0x2e6185=_0x3959bf(_0x4f0655,_0x36d63e,_0x3ff4c4,_0x2b39b9),_0x2172dc=_0x3959bf(_0x2caa10,_0x116bbc,_0x3ff4c4,_0x2b39b9),{columnHeaderHeightAndMarginTop:_0xb445b6}=_0x2b39b9,{startX:_0x371b91,startY:_0x437caa}=_0x2e6185,{endX:_0x6249ed,endY:_0x829032}=_0x2172dc,_0x29ed53=_0x6249ed-_0x371b91,_0x353cd1=_0x829032-_0x437caa,_0x1840fa={'labelPosition':_0x437caa-_0xb445b6>=J?_0x9c1b1c(0x254):'bottom','sheetID':_0x56ff99,'range':_0xf48bd5,'color':_0x4c332b,'name':_0x4d91e4,'selection':_0x470ec6,'left':_0x371b91,'top':_0x437caa,'width':_0x29ed53,'height':_0x353cd1,'evented':!0x1,'zIndex':zi};return new Xi(_0x4d91e4,_0x1840fa);});_0x3ff4c4[_0xb6467e(0x12a)](_0x1a8f6a,Vi),this['_cursors']=new Set(_0x1a8f6a);}['_removeCollabCursors'](){const _0x574a5e=_0x51f5f6;var _0x3f71be;(_0x3f71be=this[_0x574a5e(0xfe)])==null||_0x3f71be[_0x574a5e(0x1a1)](_0x33ef93=>_0x33ef93[_0x574a5e(0x145)]());}[_0x51f5f6(0x12e)](){const _0x3272cf=_0x51f5f6;return _0xc190de(this[_0x3272cf(0x8b)][_0x3272cf(0x1a3)],this[_0x3272cf(0x8b)]);}};Pe=Ki([pe(0x1,_0x117b17(_0x2ac98d)),pe(0x2,_0x117b17(F)),pe(0x3,_0x117b17(_0x2cf830))],Pe);function Ji(_0x469c8d){const _0x479cd3=_0x51f5f6,_0x3cf906=new Map();return _0x469c8d[_0x479cd3(0x1a1)](_0xed2cba=>{const _0x344794=_0x479cd3;if(_0x3cf906[_0x344794(0xfb)](_0xed2cba[_0x344794(0x115)])){const _0x28f193=_0x3cf906[_0x344794(0x138)](_0xed2cba[_0x344794(0x115)]);_0x28f193[_0x344794(0x12c)]+=',\x20'+_0xed2cba[_0x344794(0x12c)];}else _0x3cf906[_0x344794(0x1f3)](_0xed2cba[_0x344794(0x115)],_0xed2cba);}),Array['from'](_0x3cf906['values']());}var Zi=Object[_0x51f5f6(0x95)],Qi=(_0x4a4f22,_0x24e694,_0x197e8c,_0x50adae)=>{const _0x98e71a=_0x51f5f6;for(var _0x1ed399=_0x50adae>0x1?void 0x0:_0x50adae?Zi(_0x24e694,_0x197e8c):_0x24e694,_0x7a0cee=_0x4a4f22[_0x98e71a(0x9d)]-0x1,_0x26b8e8;_0x7a0cee>=0x0;_0x7a0cee--)(_0x26b8e8=_0x4a4f22[_0x7a0cee])&&(_0x1ed399=_0x26b8e8(_0x1ed399)||_0x1ed399);return _0x1ed399;},B=(_0xf3db21,_0x361fca)=>(_0x5ab185,_0x5b7e3c)=>_0x361fca(_0x5ab185,_0x5b7e3c,_0xf3db21);let ne=class extends _0x4c7c45{constructor(_0x481284,_0x4a2659,_0x58ec4b,_0x13132f,_0x2f66b7,_0x385ccc){const _0x10651f=_0x51f5f6;super(),this[_0x10651f(0xaa)]=_0x481284,this['_localCacheService']=_0x4a2659,this[_0x10651f(0xf6)]=_0x58ec4b,this[_0x10651f(0x22f)]=_0x13132f,this[_0x10651f(0x13e)]=_0x2f66b7,this[_0x10651f(0x194)]=_0x385ccc,this[_0x10651f(0xc8)](),this['_initEvent']();}[_0x51f5f6(0xc8)](){const _0x540b5b=_0x51f5f6;this['disposeWithMe'](this[_0x540b5b(0xaa)][_0x540b5b(0x208)](()=>{const _0x4bf0bc=_0x540b5b;if(this[_0x4bf0bc(0xfc)][_0x4bf0bc(0x1dd)][_0x4bf0bc(0xc1)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x51f5f6(0x215)](){const _0xc708f1=_0x51f5f6;this['disposeWithMe'](this['_collaborationUIEventService']['event$'][_0xc708f1(0x23f)](_0x3e262e=>{const _0x42503b=_0xc708f1;_0x3e262e['id']===_0xd947ee[_0x42503b(0x167)]&&this['_messageService'][_0x42503b(0x1d3)]({'type':_0x482577[_0x42503b(0xd6)],'content':this[_0x42503b(0x194)]['t'](_0x42503b(0x1e2))}),_0x3e262e['id']===_0xd947ee[_0x42503b(0x158)]&&this[_0x42503b(0x22f)]['show']({'type':_0x482577[_0x42503b(0xd6)],'content':this[_0x42503b(0x194)]['t'](_0x42503b(0xca))}),_0x3e262e['id']===_0xd947ee['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this['_localeService']['t'](_0x42503b(0x228)),'content':this[_0x42503b(0x194)]['t'](_0x42503b(0x1df)),'type':_0x42503b(0x11a),'duration':0x0}),_0x3e262e['id']===_0xd947ee[_0x42503b(0x1b1)]&&this['_messageService'][_0x42503b(0x1d3)]({'type':_0x482577[_0x42503b(0x11b)],'content':this[_0x42503b(0x194)]['t']('collaboration.closeRoom')+'('+_0x3e262e[_0x42503b(0x201)]+')'}),_0x3e262e['id']===_0xd947ee[_0x42503b(0x86)]&&this[_0x42503b(0x22f)][_0x42503b(0x1d3)]({'type':_0x482577[_0x42503b(0xd6)],'content':this[_0x42503b(0x194)]['t'](_0x3e262e[_0x42503b(0x201)]||'')}),_0x3e262e['id']===_0xd947ee[_0x42503b(0x16b)]&&this[_0x42503b(0x22f)][_0x42503b(0x1d3)]({'type':_0x482577['Warning'],'content':this[_0x42503b(0x194)]['t']('session.will-retry')}),_0x3e262e['id']===_0xd947ee[_0x42503b(0x142)]&&this[_0x42503b(0x22f)][_0x42503b(0x1d3)]({'type':_0x482577['Error'],'content':this['_localeService']['t'](_0x42503b(0x15e))}),_0x3e262e['id']===_0xd947ee[_0x42503b(0x1f6)]&&this['_messageService'][_0x42503b(0x1d3)]({'type':_0x482577[_0x42503b(0x11b)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};ne=Qi([B(0x0,_0x46a792),B(0x1,_0x16d521),B(0x2,_0x117b17(_0x1a94ad)),B(0x3,_0x3bd2bf),B(0x4,_0x5d78e5),B(0x5,_0x117b17(_0x151e2a))],ne);const qi=_0x51f5f6(0x239),et={};var en=Object[_0x51f5f6(0x95)],tn=(_0x187ab4,_0x4e7a83,_0x512de3,_0x81898a)=>{for(var _0x19838b=_0x81898a>0x1?void 0x0:_0x81898a?en(_0x4e7a83,_0x512de3):_0x4e7a83,_0x25e512=_0x187ab4['length']-0x1,_0xb3f728;_0x25e512>=0x0;_0x25e512--)(_0xb3f728=_0x187ab4[_0x25e512])&&(_0x19838b=_0xb3f728(_0x19838b)||_0x19838b);return _0x19838b;},tt=(_0xc5b1e4,_0x174bc4)=>(_0x3a8233,_0xbe2b09)=>_0x174bc4(_0x3a8233,_0xbe2b09,_0xc5b1e4);let re=class{constructor(_0x5d4298,_0x47c2db){const _0x42d573=_0x51f5f6;this[_0x42d573(0x1cb)]=_0x5d4298,this[_0x42d573(0x1f5)]=_0x47c2db;}[_0x51f5f6(0x1b0)](_0x5c4d26){const _0x274567=_0x51f5f6;this[_0x274567(0x121)](_0x5c4d26),this[_0x274567(0x1c7)](_0x5c4d26);}['transformRemoteChangeset'](_0x5d5b84){const _0x9407c9=_0x51f5f6,{unitID:_0x2a1f30}=_0x5d5b84,_0xae1a46=this['_renderManagerService'][_0x9407c9(0x24a)](_0x2a1f30)[_0x9407c9(0x1ee)](_0x447b7b),{redoCache:_0x2ca08f}=_0xae1a46['getUndoRedoMutationParamsCache']();if(_0x2ca08f[_0x9407c9(0x9d)]===0x0)return _0x5d5b84;let _0x2ae499=_0x2f4f1c['deepClone'](_0x5d5b84['mutations'][0x0]);for(let _0x58f036=0x0;_0x58f036<_0x2ca08f[_0x9407c9(0x9d)];_0x58f036++){const _0x26ccc2={'id':_0x9407c9(0x19f),'params':{..._0x2ca08f[_0x58f036]}},_0x2ad023=this[_0x9407c9(0x1cb)][_0x9407c9(0x288)](_0x2ae499,_0x26ccc2,!0x1);if(_0xf74f3d(_0x2ad023))throw _0x2ad023[_0x9407c9(0x11a)];_0x2ae499=_0x2ad023[_0x9407c9(0x113)];}return{..._0x2f4f1c['deepClone'](_0x5d5b84),'mutations':[_0x2ae499]};}['_transformUndoRedoStack'](_0x1c45c8){const _0xcec858=_0x51f5f6,{unitID:_0x23787f}=_0x1c45c8,_0x4a4694=this[_0xcec858(0x1f5)][_0xcec858(0x24a)](_0x23787f)[_0xcec858(0x1ee)](_0x447b7b),{undoCache:_0x5bbcd4,redoCache:_0x9a4afa}=_0x4a4694[_0xcec858(0xb0)]();if(_0x5bbcd4['length']===0x0||_0x9a4afa['length']===0x0)return;const _0x56592a=[],_0x3dd55c=[];let _0x4011da=_0x2f4f1c[_0xcec858(0x1d8)](_0x1c45c8['mutations'][0x0]),_0x4686c3=_0x2f4f1c[_0xcec858(0x1d8)](_0x1c45c8[_0xcec858(0x273)][0x0]);for(let _0x4780a9=_0x5bbcd4[_0xcec858(0x9d)]-0x1;_0x4780a9>=0x0;_0x4780a9--){const _0x251f07={'id':_0xcec858(0x19f),'params':{..._0x5bbcd4[_0x4780a9]}},_0x55453f={'id':_0xcec858(0x19f),'params':{..._0x9a4afa[_0x4780a9]}},_0x277b64=this[_0xcec858(0x1cb)][_0xcec858(0x288)](_0x4011da,_0x251f07,!0x1),_0x3ab72a=this[_0xcec858(0x1cb)][_0xcec858(0x288)](_0x4686c3,_0x55453f,!0x1);if(_0xf74f3d(_0x277b64))throw _0x277b64[_0xcec858(0x11a)];if(_0xf74f3d(_0x3ab72a))throw _0x3ab72a[_0xcec858(0x11a)];_0x56592a[_0xcec858(0x25e)](_0x277b64[_0xcec858(0x18c)][_0xcec858(0xb9)]),_0x3dd55c[_0xcec858(0x25e)](_0x3ab72a[_0xcec858(0x18c)][_0xcec858(0xb9)]),_0x4011da=_0x277b64[_0xcec858(0x113)],_0x4686c3=_0x3ab72a[_0xcec858(0x113)];}_0x4a4694[_0xcec858(0xf0)]({'undoCache':_0x56592a,'redoCache':_0x3dd55c});}[_0x51f5f6(0x1c7)](_0x46cc76){const _0x1fc690=_0x51f5f6,{unitID:_0x5342f3}=_0x46cc76,_0x38f03b=this[_0x1fc690(0x1f5)][_0x1fc690(0x24a)](_0x5342f3)['with'](_0x447b7b),_0x537d79=_0x38f03b[_0x1fc690(0x15d)]();if(_0x537d79==null)return;const _0xc013b6=[{'id':_0x1fc690(0x19f),'params':{'unitId':_0x46cc76[_0x1fc690(0x110)],'actions':null,'textRanges':[_0x537d79]}}],_0x1a373f=this[_0x1fc690(0x1cb)][_0x1fc690(0x252)](_0x46cc76,_0xc013b6);if(!_0x1359a2(_0x1a373f))throw _0x1a373f[_0x1fc690(0x11a)];const _0x290893=_0x1a373f['m2Prime'][0x0][_0x1fc690(0xb9)][_0x1fc690(0x80)];Array[_0x1fc690(0x286)](_0x290893)&&_0x290893[_0x1fc690(0x9d)]&&_0x38f03b[_0x1fc690(0xdc)](_0x290893[0x0]);}};re=tn([tt(0x0,_0x7c01ff),tt(0x1,_0x220437)],re);var sn=Object[_0x51f5f6(0x95)],nn=(_0x3f9bf1,_0x57ca31,_0x1c971d,_0x1896a5)=>{const _0x13e266=_0x51f5f6;for(var _0x47bc7e=_0x1896a5>0x1?void 0x0:_0x1896a5?sn(_0x57ca31,_0x1c971d):_0x57ca31,_0x22037c=_0x3f9bf1[_0x13e266(0x9d)]-0x1,_0x4c499f;_0x22037c>=0x0;_0x22037c--)(_0x4c499f=_0x3f9bf1[_0x22037c])&&(_0x47bc7e=_0x4c499f(_0x47bc7e)||_0x47bc7e);return _0x47bc7e;},Ce=(_0x51dd33,_0x2d623d)=>(_0x2f7202,_0x5e5ece)=>_0x2d623d(_0x2f7202,_0x5e5ece,_0x51dd33);let oe=class{constructor(_0x4fc8a5,_0x2910d3,_0xdf55d6){const _0x31e7a9=_0x51f5f6;this['_injector']=_0x4fc8a5,this[_0x31e7a9(0x1cb)]=_0x2910d3,this['_docStateChangeManagerService']=_0xdf55d6;}[_0x51f5f6(0xbc)](_0x5d5d97){const _0x522f45=_0x51f5f6;this[_0x522f45(0x11c)](_0x5d5d97);}['transformRemoteChangeset'](_0x102d2e){const _0x1baa6e=_0x51f5f6,{unitID:_0x18b270}=_0x102d2e,{collaboration:_0x22dc65}=this['_docStateChangeManagerService']['getStateCache'](_0x18b270);if(_0x22dc65['length']===0x0)return _0x102d2e;let _0x214222=_0x2f4f1c[_0x1baa6e(0x1d8)](_0x102d2e['mutations'][0x0]);for(let _0x456871=0x0;_0x456871<_0x22dc65['length'];_0x456871++){const _0x8ab4cc={'id':_0x1baa6e(0x19f),'params':{'unitId':_0x22dc65[_0x456871][_0x1baa6e(0xfa)],..._0x22dc65[_0x456871][_0x1baa6e(0xb8)]}},_0x330219=this[_0x1baa6e(0x1cb)]['transformMutation'](_0x214222,_0x8ab4cc,!0x1);if(_0xf74f3d(_0x330219))throw _0x330219[_0x1baa6e(0x11a)];_0x214222=_0x330219['m1Prime'];}return{..._0x2f4f1c[_0x1baa6e(0x1d8)](_0x102d2e),'mutations':[_0x214222]};}[_0x51f5f6(0x11c)](_0x36dd24){const _0x2531d1=_0x51f5f6,{unitID:_0x372fdd}=_0x36dd24,{history:_0x4a0255,collaboration:_0x22e9ef}=this[_0x2531d1(0x96)][_0x2531d1(0x154)](_0x372fdd);if(_0x4a0255[_0x2531d1(0x9d)]===0x0&&_0x22e9ef['length']===0x0)return;const _0x5ee270=[],_0x582a7c=[];let _0x1d1027=_0x2f4f1c['deepClone'](_0x36dd24[_0x2531d1(0x273)][0x0]),_0x1a61be=_0x2f4f1c[_0x2531d1(0x1d8)](_0x36dd24[_0x2531d1(0x273)][0x0]);for(let _0x452628=_0x4a0255[_0x2531d1(0x9d)]-0x1;_0x452628>=0x0;_0x452628--){const _0x19305f={'id':_0x2531d1(0x19f),'params':{'unitId':_0x4a0255[_0x452628][_0x2531d1(0xfa)],..._0x4a0255[_0x452628][_0x2531d1(0x192)]}},_0x5c0a3f={'id':_0x2531d1(0x19f),'params':{'unitId':_0x4a0255[_0x452628][_0x2531d1(0xfa)],..._0x4a0255[_0x452628]['redoState']}},_0x4b5886=this[_0x2531d1(0x1cb)][_0x2531d1(0x288)](_0x1d1027,_0x19305f,!0x1),_0x5ec30e=this['_transformService'][_0x2531d1(0x288)](_0x1a61be,_0x5c0a3f,!0x1);if(_0xf74f3d(_0x4b5886))throw _0x4b5886['error'];if(_0xf74f3d(_0x5ec30e))throw _0x5ec30e[_0x2531d1(0x11a)];_0x5ee270[_0x2531d1(0x25e)]({..._0x4a0255[_0x452628],'undoState':_0x4b5886[_0x2531d1(0x18c)][_0x2531d1(0xb9)],'redoState':_0x5ec30e[_0x2531d1(0x18c)][_0x2531d1(0xb9)]}),_0x1d1027=_0x4b5886[_0x2531d1(0x113)],_0x1a61be=_0x5ec30e[_0x2531d1(0x113)];}_0x1d1027=_0x2f4f1c[_0x2531d1(0x1d8)](_0x36dd24[_0x2531d1(0x273)][0x0]),_0x1a61be=_0x2f4f1c['deepClone'](_0x36dd24[_0x2531d1(0x273)][0x0]);for(let _0x584ed2=_0x22e9ef[_0x2531d1(0x9d)]-0x1;_0x584ed2>=0x0;_0x584ed2--){const _0x1eebd3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x22e9ef[_0x584ed2][_0x2531d1(0xfa)],..._0x22e9ef[_0x584ed2][_0x2531d1(0x192)]}},_0x5f3d42={'id':_0x2531d1(0x19f),'params':{'unitId':_0x22e9ef[_0x584ed2][_0x2531d1(0xfa)],..._0x22e9ef[_0x584ed2]['redoState']}},_0x3ac35f=this[_0x2531d1(0x1cb)][_0x2531d1(0x288)](_0x1d1027,_0x1eebd3,!0x1),_0x2a5e16=this[_0x2531d1(0x1cb)][_0x2531d1(0x288)](_0x1a61be,_0x5f3d42,!0x1);if(_0xf74f3d(_0x3ac35f))throw _0x3ac35f[_0x2531d1(0x11a)];if(_0xf74f3d(_0x2a5e16))throw _0x2a5e16[_0x2531d1(0x11a)];_0x582a7c[_0x2531d1(0x25e)]({..._0x22e9ef[_0x584ed2],'undoState':_0x3ac35f[_0x2531d1(0x18c)][_0x2531d1(0xb9)],'redoState':_0x2a5e16[_0x2531d1(0x18c)][_0x2531d1(0xb9)]}),_0x1d1027=_0x3ac35f[_0x2531d1(0x113)],_0x1a61be=_0x2a5e16[_0x2531d1(0x113)];}this[_0x2531d1(0x96)][_0x2531d1(0x14e)](_0x372fdd,{'history':_0x5ee270,'collaboration':_0x582a7c});}};oe=nn([Ce(0x0,_0x117b17(_0x2b663c)),Ce(0x1,_0x7c01ff),Ce(0x2,_0x117b17(_0x458c80))],oe);var rn=Object[_0x51f5f6(0x95)],on=(_0x5e6e29,_0x27af5d,_0x316041,_0x58c9c3)=>{const _0x25895f=_0x51f5f6;for(var _0x54b0d6=_0x58c9c3>0x1?void 0x0:_0x58c9c3?rn(_0x27af5d,_0x316041):_0x27af5d,_0x56d857=_0x5e6e29[_0x25895f(0x9d)]-0x1,_0x332377;_0x56d857>=0x0;_0x56d857--)(_0x332377=_0x5e6e29[_0x56d857])&&(_0x54b0d6=_0x332377(_0x54b0d6)||_0x54b0d6);return _0x54b0d6;},st=(_0x4b2fa7,_0x49c8da)=>(_0xde777e,_0x43594e)=>_0x49c8da(_0xde777e,_0x43594e,_0x4b2fa7);let ae=class{constructor(_0x63c2b7,_0x57ab9c){const _0x39b5bd=_0x51f5f6;this[_0x39b5bd(0xd1)]=_0x63c2b7,this['_transformService']=_0x57ab9c;}[_0x51f5f6(0x1ac)](_0x26011a){const _0xa0ecd=_0x51f5f6;var _0x1cea53;const _0x544761=this[_0xa0ecd(0xd1)][_0xa0ecd(0x138)](_0x16f3fc),_0x269a22=(_0x1cea53=_0x544761['getDocRanges']())!=null?_0x1cea53:[];if(_0x269a22[_0xa0ecd(0x9d)]===0x0)return;const _0x5d45db=_0x26011a[_0xa0ecd(0x110)],_0x583312=[{'id':_0xa0ecd(0x19f),'params':{'unitId':_0x5d45db,'actions':null,'textRanges':_0x269a22}}],_0xba8db0=this[_0xa0ecd(0x1cb)][_0xa0ecd(0x252)](_0x26011a,_0x583312);if(!_0x1359a2(_0xba8db0))throw _0xba8db0[_0xa0ecd(0x11a)];const _0x4dfb7d=_0xba8db0[_0xa0ecd(0x18c)][0x0]['params'][_0xa0ecd(0x80)];Array['isArray'](_0x4dfb7d)&&_0x4dfb7d[_0xa0ecd(0x9d)]&&_0x544761['replaceDocRanges'](_0x4dfb7d,{'unitId':_0x5d45db,'subUnitId':_0x5d45db},!0x1);}};ae=on([st(0x0,_0x117b17(_0x2b663c)),st(0x1,_0x7c01ff)],ae);var an=Object['getOwnPropertyDescriptor'],cn=(_0x3f25be,_0x51701c,_0x4648e7,_0x442fe7)=>{for(var _0x247683=_0x442fe7>0x1?void 0x0:_0x442fe7?an(_0x51701c,_0x4648e7):_0x51701c,_0x3313b9=_0x3f25be['length']-0x1,_0x3aa0b7;_0x3313b9>=0x0;_0x3313b9--)(_0x3aa0b7=_0x3f25be[_0x3313b9])&&(_0x247683=_0x3aa0b7(_0x247683)||_0x247683);return _0x247683;},N=(_0x5ce1cc,_0x5f6069)=>(_0x4d0772,_0xa203d8)=>_0x5f6069(_0x4d0772,_0xa203d8,_0x5ce1cc);let ce=class extends _0x4c7c45{constructor(_0x5615f6,_0x300819,_0x295f33,_0x4b0d05,_0x52dc61,_0x538656,_0x57d80f,_0x1eb253){const _0x30f084=_0x51f5f6;super(),_(this,_0x30f084(0x1cc),new _0x3c6405(_0x35f447[_0x30f084(0x120)])),(this[_0x30f084(0x96)]=_0x5615f6,this[_0x30f084(0x249)]=_0x300819,this[_0x30f084(0x155)]=_0x295f33,this['_docTransformStateCacheService']=_0x4b0d05,this[_0x30f084(0x1f9)]=_0x52dc61,this[_0x30f084(0xd5)]=_0x538656,this[_0x30f084(0x22f)]=_0x57d80f,this[_0x30f084(0x194)]=_0x1eb253,this[_0x30f084(0x1be)]());}['_initEntityListener'](){const _0x5bbac0=_0x51f5f6;this[_0x5bbac0(0xe9)](this[_0x5bbac0(0x249)][_0x5bbac0(0x24d)][_0x5bbac0(0x23f)](_0x503e00=>{const _0x358433=_0x5bbac0,_0x1ffe88=this[_0x358433(0x96)][_0x358433(0x21e)][_0x358433(0x23f)](_0x305137=>{const _0x580261=_0x358433;if(_0x305137==null)return;const {unitId:_0x14adc1,redoState:_0x413da3,commandId:_0x1bae5e}=_0x305137;if(_0x14adc1!==_0x503e00[_0x580261(0x110)])return;const _0x5706c6={'id':_0x1bae5e,'type':_0x10cda0[_0x580261(0x282)],'params':{'unitId':_0x14adc1,'actions':_0x413da3['actions'],'textRanges':null}};_0x503e00[_0x580261(0x287)](_0x5706c6);});if(_0x503e00['disposeWithMe'](_0x1ffe88),_0x503e00 instanceof _0x53bd0e){const _0x1b5310={'onTransformIME':_0x28979e=>this[_0x358433(0x155)][_0x358433(0x1b0)](_0x28979e),'onTransformState':_0x403e44=>this[_0x358433(0x8d)][_0x358433(0xbc)](_0x403e44),'onTransformSelections':_0x178447=>this[_0x358433(0x1f9)][_0x358433(0x1ac)](_0x178447),'onSyncEditingCollabCursor':_0x3497b8=>this['_docSyncEditingCollabCursorService'][_0x358433(0x1c3)](_0x3497b8),'onTransformRemoteChangesetByIMECache':_0x2c810c=>this['_docTransformIMECacheService'][_0x358433(0x206)](_0x2c810c),'onTransformRemoteChangesetByStateCache':_0x2fc5f8=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x2fc5f8)};_0x503e00[_0x358433(0xf8)](_0x1b5310);}}));}};ce=cn([N(0x0,_0x117b17(_0x458c80)),N(0x1,_0x117b17(_0xfda8f6)),N(0x2,_0x117b17(re)),N(0x3,_0x117b17(oe)),N(0x4,_0x117b17(ae)),N(0x5,_0x117b17(Fe)),N(0x6,_0x3bd2bf),N(0x7,_0x117b17(_0x151e2a))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1b588a,_0x56910e,_0x9f953b,_0x4a7874)=>{for(var _0x1b8b23=_0x4a7874>0x1?void 0x0:_0x4a7874?ln(_0x56910e,_0x9f953b):_0x56910e,_0x54ae49=_0x1b588a['length']-0x1,_0x4b14a6;_0x54ae49>=0x0;_0x54ae49--)(_0x4b14a6=_0x1b588a[_0x54ae49])&&(_0x1b8b23=_0x4b14a6(_0x1b8b23)||_0x1b8b23);return _0x1b8b23;},Ee=(_0x1155d5,_0x2aa32e)=>(_0x481b64,_0xc492f9)=>_0x2aa32e(_0x481b64,_0xc492f9,_0x1155d5);let we=class extends _0x4c7c45{constructor(_0x4bba21,_0x17346c,_0x19f4b4){const _0x2ee4a8=_0x51f5f6;super(),_(this,_0x2ee4a8(0x10c),new Map()),_(this,_0x2ee4a8(0xd4),new Map()),_(this,_0x2ee4a8(0x168),!0x1),(this[_0x2ee4a8(0x88)]=_0x4bba21,this[_0x2ee4a8(0x28c)]=_0x17346c,this[_0x2ee4a8(0x1fe)]=_0x19f4b4);}[_0x51f5f6(0x1f4)](){this['_disabled']=!0x0;}[_0x51f5f6(0x1b7)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x2d0b8d=_0x51f5f6;return this[_0x2d0b8d(0xd4)];}[_0x51f5f6(0x145)](){const _0x5a8646=_0x51f5f6;this['exhaustSavingTask']()[_0x5a8646(0x1b4)](()=>super[_0x5a8646(0x145)]());}async[_0x51f5f6(0x19a)](_0x3f16bf){const _0x2230a9=_0x51f5f6;return this[_0x2230a9(0x168)]?null:this[_0x2230a9(0x28c)][_0x2230a9(0x198)](_0x8499de(_0x3f16bf));}async[_0x51f5f6(0x253)](_0x5aa94a,_0x1e1080){const _0x2248b8=_0x51f5f6;return!!this[_0x2248b8(0x28c)]['setItem'](_0x5aa94a,_0x1e1080);}[_0x51f5f6(0x84)](_0x2ac4c0,_0x48a4f0,_0x53ea5c,_0x405b82){const _0x1eb339=_0x51f5f6,_0x1cc7bc=this[_0x1eb339(0x1fe)][_0x1eb339(0x148)](_0x2ac4c0);this[_0x1eb339(0x10c)]['set'](_0x2ac4c0,{'unitID':_0x2ac4c0,'type':_0x48a4f0,'awaitingChangeset':_0x53ea5c,'mutations':_0x405b82,'rev':_0x1cc7bc}),this[_0x1eb339(0xd4)][_0x1eb339(0xfb)](_0x2ac4c0)||this['_scheduleSaving'](_0x2ac4c0);}['_scheduleSaving'](_0x420cf5){const _0x16db78=_0x51f5f6,_0x4f98e3=this[_0x16db78(0x149)]();_0x4f98e3===0x0?this[_0x16db78(0x24b)](_0x420cf5):this[_0x16db78(0xd4)][_0x16db78(0x1f3)](_0x420cf5,setTimeout(()=>this[_0x16db78(0x24b)](_0x420cf5),_0x4f98e3));}['_getSaveTimeout'](){const _0x5e00d0=_0x51f5f6;var _0x16fb04;return(_0x16fb04=this[_0x5e00d0(0x88)][_0x5e00d0(0x26d)](_0xef641e))!=null?_0x16fb04:_0x3c2e46;}[_0x51f5f6(0x24b)](_0x34ca40){const _0x9f5aaf=_0x51f5f6,_0xccf8b1=this[_0x9f5aaf(0xd4)][_0x9f5aaf(0x138)](_0x34ca40);return _0xccf8b1!==void 0x0&&window[_0x9f5aaf(0x234)](_0xccf8b1),this[_0x9f5aaf(0x28c)]['setItem'](_0x8499de(_0x34ca40),this['_cachedData'][_0x9f5aaf(0x138)](_0x34ca40))['then'](()=>this[_0x9f5aaf(0xd4)][_0x9f5aaf(0x1f0)](_0x34ca40));}async[_0x51f5f6(0x245)](){const _0x1c9b15=_0x51f5f6,_0x4d8673=[];this[_0x1c9b15(0xd4)][_0x1c9b15(0x1a1)]((_0x3f1ad1,_0x49b7e4)=>{const _0xd73510=_0x1c9b15;window[_0xd73510(0x234)](_0x3f1ad1),_0x4d8673[_0xd73510(0x134)](this[_0xd73510(0x24b)](_0x49b7e4)[_0xd73510(0x1b4)](()=>{const _0x532d53=_0xd73510;this[_0x532d53(0xd4)][_0x532d53(0x1f0)](_0x49b7e4);}));}),await Promise[_0x1c9b15(0x204)](_0x4d8673);}};we=_n([Ee(0x0,_0x1892c0),Ee(0x1,_0x27888b),Ee(0x2,_0x117b17(_0x77da60))],we);class hn extends _0x475d93{constructor(){const _0x2807cd=_0x51f5f6;super(),_(this,_0x2807cd(0x136)),this[_0x2807cd(0x136)]=_0x2a1f72(window,'popstate')[_0x2807cd(0xad)](_0x523bce(this[_0x2807cd(0xc7)]),_0xc903a9(0x1),_0x18333b(void 0x0));}[_0x51f5f6(0x107)](_0x328bed,_0x2aad59,_0x5f1a69=!0x1){const _0x22ea0a=_0x51f5f6,_0xb103e=new URL(window[_0x22ea0a(0x141)][_0x22ea0a(0x1ec)]);_0xb103e[_0x22ea0a(0x238)][_0x22ea0a(0x1f3)](_0x328bed,_0x2aad59),_0x5f1a69?window[_0x22ea0a(0xa1)][_0x22ea0a(0x165)]('','',_0xb103e[_0x22ea0a(0x1e7)]()):window[_0x22ea0a(0xa1)][_0x22ea0a(0x1db)]('','',_0xb103e[_0x22ea0a(0x1e7)]());}['removeParam'](_0x5662eb,_0x270be5=!0x1){const _0xba7bc=_0x51f5f6,_0x298fc9=new URL(window['location'][_0xba7bc(0x1ec)]);_0x298fc9[_0xba7bc(0x238)]['delete'](_0x5662eb),_0x270be5?window[_0xba7bc(0xa1)][_0xba7bc(0x165)]('','',_0x298fc9['toString']()):window[_0xba7bc(0xa1)][_0xba7bc(0x1db)]('','',_0x298fc9[_0xba7bc(0x1e7)]());}['getParam'](_0x26831d){const _0x3fa642=_0x51f5f6;var _0x4eacb3;return(_0x4eacb3=new URL(window['location'][_0x3fa642(0x1ec)])[_0x3fa642(0x238)]['get'](_0x26831d))!=null?_0x4eacb3:void 0x0;}}var un=Object[_0x51f5f6(0x9c)],dn=Object[_0x51f5f6(0x95)],fn=(_0x588119,_0x2e0096,_0x2d65d4)=>_0x2e0096 in _0x588119?un(_0x588119,_0x2e0096,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d65d4}):_0x588119[_0x2e0096]=_0x2d65d4,Sn=(_0x40f51e,_0x1e9e2e,_0x17f55b,_0x1789e8)=>{const _0x56a629=_0x51f5f6;for(var _0x54f242=_0x1789e8>0x1?void 0x0:_0x1789e8?dn(_0x1e9e2e,_0x17f55b):_0x1e9e2e,_0x272b93=_0x40f51e[_0x56a629(0x9d)]-0x1,_0x57a0e4;_0x272b93>=0x0;_0x272b93--)(_0x57a0e4=_0x40f51e[_0x272b93])&&(_0x54f242=_0x57a0e4(_0x54f242)||_0x54f242);return _0x54f242;},Oe=(_0x585f02,_0x3a41e7)=>(_0x5dde3f,_0x5a2db9)=>_0x3a41e7(_0x5dde3f,_0x5a2db9,_0x585f02),mn=(_0x1a29cb,_0x1f476a,_0x38bc70)=>fn(_0x1a29cb,_0x1f476a+'',_0x38bc70);const In=_0x51f5f6(0x81);let Ae=class extends _0x3e2836{constructor(_0x512675=et,_0x565dbf,_0xbaecd6,_0x20e8a2){const _0x106a59=_0x51f5f6;super(),this['_config']=_0x512675,this['_renderManagerService']=_0x565dbf,this[_0x106a59(0xd1)]=_0xbaecd6,this['_configService']=_0x20e8a2;const {..._0x19b22a}=_0xe5c570({},et,this[_0x106a59(0x12b)]);this[_0x106a59(0x88)][_0x106a59(0x27b)](qi,_0x19b22a);}[_0x51f5f6(0x230)](){const _0x5bf1c8=_0x51f5f6;this[_0x5bf1c8(0xbb)](),this[_0x5bf1c8(0x19e)]();}[_0x51f5f6(0x16a)](){const _0x18d796=_0x51f5f6;this[_0x18d796(0x9a)]();}[_0x51f5f6(0xbb)](){const _0x4d341e=_0x51f5f6;var _0x52ec1d;const _0x5bfe93=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x3d9ef1,{'useClass':_0x2b66f3}],[_0x16d521,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x4051ce(this[_0x4d341e(0xd1)],_0xa27ae9(_0x5bfe93,(_0x52ec1d=this[_0x4d341e(0x12b)])==null?void 0x0:_0x52ec1d[_0x4d341e(0x193)]));}[_0x51f5f6(0x9a)](){const _0x244eaf=_0x51f5f6;this['disposeWithMe'](this['_renderManagerService'][_0x244eaf(0x1de)](_0x36a4cb['UNIVER_DOC'],[Le])),this[_0x244eaf(0xe9)](this['_renderManagerService'][_0x244eaf(0x1de)](_0x36a4cb['UNIVER_SHEET'],[Pe]));}[_0x51f5f6(0x19e)](){const _0x2a60df=_0x51f5f6;_0x12b26a(this[_0x2a60df(0xd1)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x51f5f6(0x140),In),Ae=Sn([_0x17f111(_0x2d15b7),Oe(0x1,_0x220437),Oe(0x2,_0x117b17(_0x2b663c)),Oe(0x3,_0x1892c0)],Ae);var vn=Object[_0x51f5f6(0x95)],gn=(_0x8b6e43,_0x212bf4,_0xbe3403,_0x4cbfd0)=>{const _0x3ba11b=_0x51f5f6;for(var _0x47ef72=_0x4cbfd0>0x1?void 0x0:_0x4cbfd0?vn(_0x212bf4,_0xbe3403):_0x212bf4,_0x2a147e=_0x8b6e43[_0x3ba11b(0x9d)]-0x1,_0x19aff5;_0x2a147e>=0x0;_0x2a147e--)(_0x19aff5=_0x8b6e43[_0x2a147e])&&(_0x47ef72=_0x19aff5(_0x47ef72)||_0x47ef72);return _0x47ef72;},z=(_0x51dc80,_0x30f15e)=>(_0x4c0b1d,_0x5bcbdf)=>_0x30f15e(_0x4c0b1d,_0x5bcbdf,_0x51dc80);let it=class extends _0x34331b{constructor(_0x2a4aa1,_0x5d1b0a,_0x4cb103,_0x521c39,_0x4bb163){super(_0x2a4aa1,_0x5d1b0a,_0x4cb103,_0x521c39,_0x4bb163);}async[_0x51f5f6(0x152)](_0x56f09a){const _0x4e1af3=_0x51f5f6,_0x62f0f1=await this['_getSessionTicket'](),_0x369543=this[_0x4e1af3(0x25c)](_0x56f09a,_0x62f0f1);return this['_doCreateSocket'](_0x369543);}['_createSocketURL'](_0x19d446,_0x181c72){const _0x4bbc95=_0x51f5f6,_0xd5749b=typeof window>'u'?new URL(_0x19d446):new URL(_0x19d446,window[_0x4bbc95(0x141)][_0x4bbc95(0x1b6)]);_0xd5749b[_0x4bbc95(0x238)][_0x4bbc95(0x1f3)](_0x4bbc95(0x236),_0x181c72);const _0x257728=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4bbc95(0x141)][_0x4bbc95(0x272)]);return _0x257728['get'](_0x4bbc95(0x1fd))&&_0xd5749b[_0x4bbc95(0x238)][_0x4bbc95(0x1f3)](_0x4bbc95(0x1fd),_0x257728[_0x4bbc95(0x138)](_0x4bbc95(0x1fd))),_0xd5749b['toString']();}async[_0x51f5f6(0xb1)](){const _0x3e4fa8=_0x51f5f6;var _0x407736,_0x22148a,_0x183ce3;const _0xdeebb5=this[_0x3e4fa8(0x88)][_0x3e4fa8(0x26d)](_0x3ee3cd),_0x37b167=(_0x407736=_0xdeebb5==null?void 0x0:_0xdeebb5[_0x3e4fa8(0xec)])!=null?_0x407736:_0x281a7e;return(_0x183ce3=(_0x22148a=(await this['_httpService'][_0x3e4fa8(0x138)](_0x37b167,{'headers':{'Content-Type':_0x3e4fa8(0x216)}}))[_0x3e4fa8(0x1b9)])==null?void 0x0:_0x22148a[_0x3e4fa8(0x109)])!=null?_0x183ce3:'';}};it=gn([z(0x0,_0x117b17(_0x2b663c)),z(0x1,_0x117b17(_0x15d7dc)),z(0x2,_0x1892c0),z(0x3,_0x518fe4),z(0x4,_0x2e4055)],it);var Lt=(_0x453594=>(_0x453594[_0x453594['UNDEFINED']=0x0]=_0x51f5f6(0x171),_0x453594[_0x453594['OK']=0x1]='OK',_0x453594[_0x453594['INTERNAL_ERROR']=0x2]=_0x51f5f6(0x18e),_0x453594[_0x453594[_0x51f5f6(0x277)]=0x3]='PERMISSION_DENIED',_0x453594[_0x453594['NOT_FOUND']=0x4]='NOT_FOUND',_0x453594[_0x453594[_0x51f5f6(0x247)]=0x5]=_0x51f5f6(0x247),_0x453594[_0x453594[_0x51f5f6(0xf2)]=0x6]=_0x51f5f6(0xf2),_0x453594[_0x453594['INVALID_ARGUMENT']=0x7]=_0x51f5f6(0x13d),_0x453594[_0x453594['TOO_MANY_REQUESTS']=0x8]=_0x51f5f6(0x281),_0x453594[_0x453594[_0x51f5f6(0xc6)]=0x9]=_0x51f5f6(0xc6),_0x453594[_0x453594['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x453594[_0x453594[_0x51f5f6(0x186)]=0xb]=_0x51f5f6(0x186),_0x453594[_0x453594[_0x51f5f6(0x283)]=0xc]=_0x51f5f6(0x283),_0x453594[_0x453594[_0x51f5f6(0x161)]=0xd]=_0x51f5f6(0x161),_0x453594[_0x453594[_0x51f5f6(0xa9)]=0xe]=_0x51f5f6(0xa9),_0x453594[_0x453594[_0x51f5f6(0xd7)]=0x1389]=_0x51f5f6(0xd7),_0x453594[_0x453594['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x51f5f6(0x85),_0x453594[_0x453594['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x51f5f6(0x174),_0x453594[_0x453594[_0x51f5f6(0x1af)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x453594[_0x453594['APPLY_REJECT']=0x1b59]=_0x51f5f6(0x26b),_0x453594[_0x453594[_0x51f5f6(0x1aa)]=0x1b5a]=_0x51f5f6(0x1aa),_0x453594[_0x453594[_0x51f5f6(0x280)]=0x1b5b]=_0x51f5f6(0x280),_0x453594[_0x453594[_0x51f5f6(0x182)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x453594[_0x453594[_0x51f5f6(0x1e8)]=0x1b5d]=_0x51f5f6(0x1e8),_0x453594[_0x453594[_0x51f5f6(0xe6)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x453594[_0x453594[_0x51f5f6(0x187)]=0x2329]=_0x51f5f6(0x187),_0x453594[_0x453594[_0x51f5f6(0x1c8)]=0x232a]=_0x51f5f6(0x1c8),_0x453594[_0x453594[_0x51f5f6(0x8f)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x453594[_0x453594[_0x51f5f6(0x197)]=0x232c]=_0x51f5f6(0x197),_0x453594[_0x453594[_0x51f5f6(0x11f)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x453594[_0x453594[_0x51f5f6(0x1ea)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x453594[_0x453594[_0x51f5f6(0x1a9)]=0x2712]=_0x51f5f6(0x1a9),_0x453594[_0x453594[_0x51f5f6(0x224)]=0x2713]=_0x51f5f6(0x224),_0x453594[_0x453594[_0x51f5f6(0xe4)]=0x2714]=_0x51f5f6(0xe4),_0x453594[_0x453594[_0x51f5f6(0x209)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x453594[_0x453594[_0x51f5f6(0x219)]=0x271b]=_0x51f5f6(0x219),_0x453594[_0x453594['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x51f5f6(0xbd),_0x453594[_0x453594[_0x51f5f6(0x1cf)]=0x271d]=_0x51f5f6(0x1cf),_0x453594[_0x453594[_0x51f5f6(0x20c)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x453594[_0x453594['YUUMI_AI_RUN_FAILED']=0x271f]=_0x51f5f6(0x1c9),_0x453594[_0x453594[_0x51f5f6(0xd3)]=0x2720]=_0x51f5f6(0xd3),_0x453594[_0x453594[_0x51f5f6(0x1ed)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x453594[_0x453594[_0x51f5f6(0x222)]=0x2ee1]=_0x51f5f6(0x222),_0x453594[_0x453594['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x453594[_0x453594[_0x51f5f6(0x1c2)]=0x2ee3]=_0x51f5f6(0x1c2),_0x453594[_0x453594['USER_NOT_INVITED_CODE']=0x2ee4]=_0x51f5f6(0x259),_0x453594[_0x453594[_0x51f5f6(0x97)]=0x2ee5]=_0x51f5f6(0x97),_0x453594[_0x453594[_0x51f5f6(0x17c)]=0x32c9]=_0x51f5f6(0x17c),_0x453594[_0x453594[_0x51f5f6(0x1d4)]=0x32ca]=_0x51f5f6(0x1d4),_0x453594[_0x453594['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x453594[_0x453594[_0x51f5f6(0xd2)]=-0x1]=_0x51f5f6(0xd2),_0x453594))(Lt||{}),pn=Object[_0x51f5f6(0x95)],Cn=(_0x1ddded,_0x40d02f,_0xe3d6c1,_0x32f2d3)=>{const _0x171a0c=_0x51f5f6;for(var _0x535d93=_0x32f2d3>0x1?void 0x0:_0x32f2d3?pn(_0x40d02f,_0xe3d6c1):_0x40d02f,_0x4f0559=_0x1ddded[_0x171a0c(0x9d)]-0x1,_0x329a93;_0x4f0559>=0x0;_0x4f0559--)(_0x329a93=_0x1ddded[_0x4f0559])&&(_0x535d93=_0x329a93(_0x535d93)||_0x535d93);return _0x535d93;},be=(_0x1c2059,_0x5d2076)=>(_0x38ced2,_0x21c225)=>_0x5d2076(_0x38ced2,_0x21c225,_0x1c2059);let nt=class extends _0x4c7c45{constructor(_0xb4d5dc,_0x76c507,_0x50c7cf){const _0x4c7085=_0x51f5f6;super(),this[_0x4c7085(0xab)]=_0xb4d5dc,this[_0x4c7085(0x15b)]=_0x76c507,this[_0x4c7085(0x88)]=_0x50c7cf;}async['runOnServer'](_0xf62e62,_0x478aeb,_0x1750a8,..._0x2a1eef){const _0x1a1af0=_0x51f5f6;var _0x2834b0,_0x3c9e0e,_0x5bb225,_0x3d37d5;const _0x3819ad=this[_0x1a1af0(0xab)][_0x1a1af0(0x1ab)]();if(!_0x3819ad)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x34806d=((_0x2834b0=this[_0x1a1af0(0x88)]['getConfig'](_0x2f9cac))!=null?_0x2834b0:_0x196878)+'/'+_0xf62e62+_0x1a1af0(0x1d2)+_0x478aeb,_0x53831c=new URL(window[_0x1a1af0(0x141)]['href']),_0x4b36d9={'scriptId':_0xf62e62,'runId':(_0x3c9e0e=_0x53831c[_0x1a1af0(0x238)]['get']('runId'))!=null?_0x3c9e0e:'','function':_0x478aeb,'unitId':_0x3819ad[_0x1a1af0(0x102)](),'argsOfFunction':JSON['stringify'](_0x2a1eef),'invokeId':(_0x5bb225=_0x1750a8[_0x1a1af0(0x28f)])!=null?_0x5bb225:'','executionId':(_0x3d37d5=_0x1750a8[_0x1a1af0(0x196)])!=null?_0x3d37d5:''};try{const _0x2ae392=await this[_0x1a1af0(0x15b)][_0x1a1af0(0x169)](_0x34806d,{'body':_0x4b36d9});return _0x2ae392[_0x1a1af0(0x1b9)]['error']&&_0x2ae392[_0x1a1af0(0x1b9)][_0x1a1af0(0x11a)][_0x1a1af0(0x1e6)]!==Lt['OK']?_0x1a1af0(0x214):_0x2ae392[_0x1a1af0(0x1b9)][_0x1a1af0(0x23a)];}catch{return _0x1a1af0(0x214);}}};nt=Cn([be(0x0,_0x5f2cd8),be(0x1,_0x117b17(_0x15d7dc)),be(0x2,_0x1892c0)],nt);const rt=0x7530,ot=_0x51f5f6(0x106);class Fn extends _0x4c7c45{constructor(){const _0x34f427=_0x51f5f6;super(),_(this,_0x34f427(0x261),_0x508ce3()),_(this,_0x34f427(0xb6),new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x34f427(0x28a),new Map()),_(this,_0x34f427(0x183),new Map()),this[_0x34f427(0x122)]();}[_0x51f5f6(0x145)](){const _0x4a37f0=_0x51f5f6;super['dispose'](),this['_clearOtherTimers']['forEach']((_0xed5e05,_0x247250)=>this[_0x4a37f0(0x20b)](_0x247250)),this['_heartbeatTimer']&&window[_0x4a37f0(0x94)](this[_0x4a37f0(0x1d9)]);}[_0x51f5f6(0x1b8)](_0x18f306){const _0x1a471e=_0x51f5f6;return this[_0x1a471e(0x205)](_0x18f306)[_0x1a471e(0xad)](_0x1bef21());}['editingUnit'](_0x1fa29c){const _0x31d8b6=_0x51f5f6;this[_0x31d8b6(0xb6)][_0x31d8b6(0xc1)]===0x0&&this[_0x31d8b6(0x1dc)](),this[_0x31d8b6(0xb6)][_0x31d8b6(0x221)](_0x1fa29c),this[_0x31d8b6(0x17e)]({'type':0x0,'memberID':this[_0x31d8b6(0x261)],'unitIDs':[_0x1fa29c],'isForwarded':!0x1});}[_0x51f5f6(0x232)](_0x1b3cbf){const _0x1edf69=_0x51f5f6;this[_0x1edf69(0xb6)][_0x1edf69(0x1f0)](_0x1b3cbf),this[_0x1edf69(0xb6)][_0x1edf69(0xc1)]===0x0&&this[_0x1edf69(0x1d9)]&&window[_0x1edf69(0x94)](this[_0x1edf69(0x1d9)]);}[_0x51f5f6(0x122)](){const _0x86acb8=_0x51f5f6;this[_0x86acb8(0xe9)](_0x150341(_0x2a1f72(window,'storage')[_0x86acb8(0x23f)](_0x4dcb99=>{const _0x3bbd69=_0x86acb8;if(_0x4dcb99[_0x3bbd69(0x262)]!==ot||!_0x4dcb99['newValue'])return;const _0x34443e=JSON[_0x3bbd69(0x103)](_0x4dcb99[_0x3bbd69(0x199)]);this[_0x3bbd69(0x270)](_0x34443e);}))),window[_0x86acb8(0x12d)](_0x86acb8(0x278),()=>this[_0x86acb8(0x17e)]({'type':0x1,'memberID':this[_0x86acb8(0x261)],'unitIDs':Array['from'](this[_0x86acb8(0xb6)])}));}[_0x51f5f6(0x270)](_0x251095){const _0xbe30db=_0x51f5f6;switch(_0x251095[_0xbe30db(0x1c0)]){case 0x0:this[_0xbe30db(0x22b)](_0x251095);break;case 0x1:this[_0xbe30db(0x105)](_0x251095);break;case 0x2:this[_0xbe30db(0xda)](_0x251095);break;}}[_0x51f5f6(0x22b)](_0xaa374a){const _0x2ab0b7=_0x51f5f6,{unitIDs:_0x3ab964,memberID:_0x1898dc,isForwarded:_0x21420f}=_0xaa374a;_0x3ab964[_0x2ab0b7(0x1a1)](_0x1549bd=>{const _0x4867d2=_0x2ab0b7;if(!_0x21420f&&this[_0x4867d2(0xeb)][_0x4867d2(0xfb)](_0x1549bd)&&this[_0x4867d2(0x205)](_0x1549bd)[_0x4867d2(0x256)](_0x131642[_0x4867d2(0x11d)]),!this[_0x4867d2(0xeb)][_0x4867d2(0xfb)](_0x1549bd)||!this[_0x4867d2(0xeb)][_0x4867d2(0x138)](_0x1549bd)[_0x4867d2(0xfb)](_0x1898dc)){const _0x59f977=this[_0x4867d2(0xeb)][_0x4867d2(0x138)](_0x1549bd)||new Set();_0x59f977['add'](_0x1898dc),this['_unitOnClients']['set'](_0x1549bd,_0x59f977),this[_0x4867d2(0x1fc)](_0x1898dc);}}),_0x21420f||this[_0x2ab0b7(0x17e)]({'type':0x0,'memberID':this[_0x2ab0b7(0x261)],'unitIDs':[...this[_0x2ab0b7(0xb6)]],'isForwarded':!0x0});}[_0x51f5f6(0x1fc)](_0x5ea61d){const _0x2b90eb=_0x51f5f6;this[_0x2b90eb(0x20b)](_0x5ea61d);const _0x3d4ef9=window['setTimeout'](()=>{const _0x382c06=_0x2b90eb;this[_0x382c06(0xeb)][_0x382c06(0x1a1)](_0x1e2ef9=>{const _0x1de4f1=_0x382c06;_0x1e2ef9[_0x1de4f1(0x1f0)](_0x5ea61d);});},rt*0x2);this[_0x2b90eb(0x28a)][_0x2b90eb(0x1f3)](_0x5ea61d,_0x3d4ef9);}[_0x51f5f6(0x20b)](_0x3cc668){const _0x241a1f=_0x51f5f6;if(this[_0x241a1f(0x28a)][_0x241a1f(0xfb)](_0x3cc668)){const _0x50e664=this[_0x241a1f(0x28a)][_0x241a1f(0x138)](_0x3cc668);_0x50e664&&window[_0x241a1f(0x234)](_0x50e664),this[_0x241a1f(0x28a)][_0x241a1f(0x1f3)](_0x3cc668,null);}}['_handleLeaveEvent'](_0x21221e){const _0x555b7d=_0x51f5f6,{memberID:_0x421f43,unitIDs:_0x27fcc1}=_0x21221e;_0x27fcc1[_0x555b7d(0x1a1)](_0x21bade=>{const _0x4575a7=_0x555b7d;var _0x2bd917;const _0x9a3fcb=this[_0x4575a7(0xeb)][_0x4575a7(0x138)](_0x21bade);_0x9a3fcb&&(_0x9a3fcb[_0x4575a7(0x1f0)](_0x421f43),(_0x2bd917=this[_0x4575a7(0x205)](_0x21bade))==null||_0x2bd917['next'](_0x9a3fcb[_0x4575a7(0xc1)]===0x0?_0x131642[_0x4575a7(0xb5)]:_0x131642['OTHER_CLIENTS_EDITING']));}),this[_0x555b7d(0x20b)](_0x421f43);}[_0x51f5f6(0xda)](_0x40e01d){const _0x16b788=_0x51f5f6;this[_0x16b788(0x1fc)](_0x40e01d[_0x16b788(0x28d)]);}[_0x51f5f6(0x17e)](_0x5cdd60){const _0x4966a4=_0x51f5f6;localStorage[_0x4966a4(0xb3)](ot,JSON[_0x4966a4(0x17d)](_0x5cdd60));}[_0x51f5f6(0x1dc)](){const _0x1b1257=_0x51f5f6;this['_heartbeatTimer']=window[_0x1b1257(0x132)](()=>{const _0x512e62=_0x1b1257;this[_0x512e62(0x17e)]({'type':0x2,'memberID':this[_0x512e62(0x261)]});},rt);}[_0x51f5f6(0x205)](_0x5516bf){const _0x549c12=_0x51f5f6;return this['_unitStatus'][_0x549c12(0xfb)](_0x5516bf)||this[_0x549c12(0x183)][_0x549c12(0x1f3)](_0x5516bf,new _0x3c6405(_0x131642[_0x549c12(0xb5)])),this[_0x549c12(0x183)][_0x549c12(0x138)](_0x5516bf);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0xc93ab4=_0x2ac3;(function(_0x45d7d5,_0x476e0e){const _0x12e68b=_0x2ac3,_0x482b2d=_0x45d7d5();while(!![]){try{const _0x3100fc=-parseInt(_0x12e68b(0x1ca))/0x1*(parseInt(_0x12e68b(0x165))/0x2)+parseInt(_0x12e68b(0x1d3))/0x3+-parseInt(_0x12e68b(0x188))/0x4*(-parseInt(_0x12e68b(0x11f))/0x5)+parseInt(_0x12e68b(0x2b1))/0x6*(parseInt(_0x12e68b(0x1e0))/0x7)+-parseInt(_0x12e68b(0x291))/0x8+-parseInt(_0x12e68b(0x2ef))/0x9+parseInt(_0x12e68b(0x2fc))/0xa;if(_0x3100fc===_0x476e0e)break;else _0x482b2d['push'](_0x482b2d['shift']());}catch(_0x20f72a){_0x482b2d['push'](_0x482b2d['shift']());}}}(_0x3ae5,0x71b63));var xt=Object[_0xc93ab4(0x178)],Bt=(_0x4ff576,_0x5591a3,_0x1daa4e)=>_0x5591a3 in _0x4ff576?xt(_0x4ff576,_0x5591a3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1daa4e}):_0x4ff576[_0x5591a3]=_0x1daa4e,_=(_0x31f55a,_0x5e5351,_0x44d94d)=>Bt(_0x31f55a,typeof _0x5e5351!=_0xc93ab4(0x170)?_0x5e5351+'':_0x5e5351,_0x44d94d);import{jsx as _0x48b523,jsxs as _0x224bb4}from'react/jsx-runtime';import{CollaborationStatus as _0x2d86fd,CollaborationSessionService as _0x1baea3,CollaborationController as _0x246f38,DataLoaderService as _0x5adba1,MemberService as _0x4cbded,SessionStatus as _0x1b4bc0,ILocalCacheService as _0x5d30b7,CollaborationUIEventService as _0x281bf4,CollaborationUIEventId as _0x4fd580,DocCollaborationEntity as _0x950216,getLocalCacheKey as _0x21d7fa,LOCAL_CACHE_INTERVAL as _0xcc4e36,LOCAL_CACHE_INTERVAL_KEY as _0x2a575e,UniverCollaborationClientPlugin as _0x1690ec,CollaborationSocketService as _0x3058d9,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x13cfc4,DEFAULT_WS_SESSION_TICKET_URL as _0x54d763,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1de562,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5f02fc,UnitStatus as _0x18ed80}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x5aaf6f,IUniverInstanceService as _0x258533,Inject as _0x27e075,Injector as _0x10b0d8,Disposable as _0x27c934,createIdentifier as _0x3a8f68,ILogService as _0x1552a6,ICommandService as _0x512c0b,Optional as _0x1a0163,RxDisposable as _0x3a7778,Workbook as _0x360da8,DOC_RANGE_TYPE as _0xbb3e80,debounce as _0x668c9f,Rectangle as _0x24f858,DisposableCollection as _0x79c3f7,toDisposable as _0x3d89f3,UniverInstanceType as _0x10fdd2,generateRandomId as _0x423dd0,COLORS as _0x1bb3ba,ColorKit as _0x25b927,ThemeService as _0x9fe4f0,fromEventSubject as _0x1a69a8,Tools as _0x3b2f38,CommandType as _0xe83a98,IConfigService as _0xdf0cb4,ILocalStorageService as _0x299a5f,DependentOn as _0x3f5675,Plugin as _0x34cfa1,merge as _0x1e7230,registerDependencies as _0x53c282,mergeOverrideWithDependencies as _0x12fdf7,touchDependencies as _0x34d608}from'@univerjs/core';import{useObservable as _0x43f4a0,useDependency as _0x1844e3,IUIPartsService as _0x2be0c8,BuiltInUIPart as _0xb967ee,connectInjector as _0x5a0f17,IBeforeCloseService as _0x2554e7,IMessageService as _0x4de2db,INotificationService as _0x5d6e97}from'@univerjs/ui';import{BehaviorSubject as _0x554b53,switchMap as _0x9fa557,of as _0x2823d6,takeUntil as _0xd8e274,debounceTime as _0x2f1e14,Subject as _0x5ce736,filter as _0x3d5354,merge as _0x21394d,combineLatest as _0x1f480c,fromEvent as _0x43611e,shareReplay as _0x252fc5,mapTo as _0x4d8cb2,distinctUntilChanged as _0x4be388}from'rxjs';import{Tooltip as _0x559e82,clsx as _0x3e706f,MessageType as _0xabb4bb}from'@univerjs/design';import{forwardRef as _0x13880e,useRef as _0x568a16,createElement as _0x1b5304,useCallback as _0x160c7b}from'react';import{IRemoteInstanceService as _0x35d43b}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x401a77,RefRangeService as _0x298be0,SetSelectionsOperation as _0x34acfd,SheetsSelectionsService as _0x97f715,EffectRefRangId as _0x155325,handleIRemoveRow as _0x3844a3,handleIRemoveCol as _0x58e3ba,handleMoveRange as _0xd65bfa,handleInsertRow as _0x53478e,handleInsertRangeMoveRight as _0x4a8ee7,handleInsertRangeMoveDown as _0x396465,handleInsertCol as _0x32802e,handleDeleteRangeMoveUp as _0x11d9f9,handleDeleteRangeMoveLeft as _0x51ebe0,runRefRangeMutations as _0x4dec92}from'@univerjs/sheets';import{Shape as _0x34922a,Rect as _0x255af6,getColor as _0x10a90c,RegularPolygon as _0x4cafea,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4fb126,Vector2 as _0x19cb07,SHEET_VIEWPORT_KEY as _0x51068d,IRenderManagerService as _0x3bc586}from'@univerjs/engine-render';import{ISocketService as _0x38082e,WebSocketService as _0x257068,HTTPService as _0x5f176e}from'@univerjs/network';import{IDocClipboardService as _0x47e43c,NodePositionConvertToCursor as _0x5d078b,NodePositionConvertToRectRange as _0x128026,TEXT_RANGE_LAYER_INDEX as _0x4d3cd4,SetDocZoomRatioOperation as _0x5e92ce,DocIMEInputManagerService as _0x342b63,DocStateChangeManagerService as _0x224e4b}from'@univerjs/docs-ui';import{IImageIoService as _0x1334e4}from'@univerjs/drawing';import{ITransformService as _0x4d4592,CollaborationEvent as _0x3a8b85,isTransformMutationFailure as _0x41588d,isTransformMutationsWithChangesetSuccess as _0x1e50d5,RevisionService as _0x207165,ISnapshotServerService as _0x5109e9}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x27c20f,RichTextEditingMutation as _0x7d2b89,DocSelectionManagerService as _0x2431cc,DocSkeletonManagerService as _0x385c62}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x4082e3,serializeRangeWithSheet as _0x52ec7c}from'@univerjs/engine-formula';import{map as _0x450872,filter as _0x46ff62,throttleTime as _0x46b128,takeUntil as _0x43c8c1,switchMap as _0x5d78dd}from'rxjs/operators';import{SheetSkeletonManagerService as _0x170f75,getCoordByCell as _0x4ffd35,getSheetObject as _0x17f9e0}from'@univerjs/sheets-ui';var v=function(){const _0x33b274=_0xc93ab4;return v=Object[_0x33b274(0xed)]||function(_0x5de749){const _0x189149=_0x33b274;for(var _0x549205,_0x3f1a92=0x1,_0x250999=arguments[_0x189149(0x156)];_0x3f1a92<_0x250999;_0x3f1a92++){_0x549205=arguments[_0x3f1a92];for(var _0x1a952c in _0x549205)Object[_0x189149(0x175)][_0x189149(0x23e)]['call'](_0x549205,_0x1a952c)&&(_0x5de749[_0x1a952c]=_0x549205[_0x1a952c]);}return _0x5de749;},v[_0x33b274(0x13b)](this,arguments);},ci=function(_0x6ceaca,_0x1c80a7){const _0x1bad8b=_0xc93ab4;var _0x4ce53b={};for(var _0x13d82e in _0x6ceaca)Object[_0x1bad8b(0x175)][_0x1bad8b(0x23e)]['call'](_0x6ceaca,_0x13d82e)&&_0x1c80a7[_0x1bad8b(0x200)](_0x13d82e)<0x0&&(_0x4ce53b[_0x13d82e]=_0x6ceaca[_0x13d82e]);if(_0x6ceaca!=null&&typeof Object[_0x1bad8b(0x1b6)]==_0x1bad8b(0x2dc)){for(var _0x5e7ac0=0x0,_0x13d82e=Object[_0x1bad8b(0x1b6)](_0x6ceaca);_0x5e7ac0<_0x13d82e[_0x1bad8b(0x156)];_0x5e7ac0++)_0x1c80a7[_0x1bad8b(0x200)](_0x13d82e[_0x5e7ac0])<0x0&&Object['prototype'][_0x1bad8b(0x13d)][_0x1bad8b(0x263)](_0x6ceaca,_0x13d82e[_0x5e7ac0])&&(_0x4ce53b[_0x13d82e[_0x5e7ac0]]=_0x6ceaca[_0x13d82e[_0x5e7ac0]]);}return _0x4ce53b;},ke=_0x13880e(function(_0x397b4c,_0x1d8ee0){const _0x13be15=_0xc93ab4;var _0x124201=_0x397b4c[_0x13be15(0x290)],_0x1d16a0=_0x397b4c['id'],_0x576446=_0x397b4c[_0x13be15(0xf5)],_0x46e132=_0x397b4c[_0x13be15(0x122)],_0x5d1a1e=ci(_0x397b4c,[_0x13be15(0x290),'id',_0x13be15(0xf5),'extend']),_0x1c7dcb=_0x13be15(0x144)[_0x13be15(0x284)](_0x1d16a0,'\x20')[_0x13be15(0x284)](_0x576446||'')[_0x13be15(0x2ee)](),_0x20f256=_0x568a16('_'[_0x13be15(0x284)](hi()));return Rt(_0x124201,''['concat'](_0x1d16a0),{'defIds':_0x124201[_0x13be15(0x275)],'idSuffix':_0x20f256[_0x13be15(0x1dd)]},v({'ref':_0x1d8ee0,'className':_0x1c7dcb},_0x5d1a1e),_0x46e132);});function Rt(_0x145ac5,_0x11d832,_0x118d9c,_0x4f3528,_0x5ea983){const _0x20b01f=_0xc93ab4;return _0x1b5304(_0x145ac5['tag'],v(v({'key':_0x11d832},li(_0x145ac5,_0x118d9c,_0x5ea983)),_0x4f3528),(_i(_0x145ac5,_0x118d9c)['children']||[])[_0x20b01f(0x2d6)](function(_0x2b7ae1,_0x108d55){const _0x31a127=_0x20b01f;return Rt(_0x2b7ae1,''[_0x31a127(0x284)](_0x11d832,'-')[_0x31a127(0x284)](_0x145ac5[_0x31a127(0x249)],'-')[_0x31a127(0x284)](_0x108d55),_0x118d9c,void 0x0,_0x5ea983);}));}function li(_0x24d4ba,_0xbab04d,_0x40a575){const _0x31b1dc=_0xc93ab4;var _0x219bfa=v({},_0x24d4ba['attrs']);_0x40a575!=null&&_0x40a575['colorChannel1']&&_0x219bfa[_0x31b1dc(0x231)]===_0x31b1dc(0x2f5)&&(_0x219bfa['fill']=_0x40a575[_0x31b1dc(0x2f5)]),_0x24d4ba[_0x31b1dc(0x249)]===_0x31b1dc(0x14b)&&_0x219bfa['id']&&(_0x219bfa['id']=_0x219bfa['id']+_0xbab04d['idSuffix']),Object[_0x31b1dc(0x196)](_0x219bfa)['forEach'](function(_0x5de5b8){const _0x5a8645=_0x31b1dc;var _0x922213=_0x5de5b8[0x0],_0x102456=_0x5de5b8[0x1];_0x922213==='mask'&&typeof _0x102456==_0x5a8645(0x2ae)&&(_0x219bfa[_0x922213]=_0x102456['replace'](/url\(#(.*)\)/,'url(#$1'[_0x5a8645(0x284)](_0xbab04d[_0x5a8645(0x299)],')')));});var _0x55652d=_0xbab04d[_0x31b1dc(0x275)];return!_0x55652d||_0x55652d['length']===0x0||(_0x24d4ba[_0x31b1dc(0x249)]===_0x31b1dc(0x21f)&&_0x219bfa[_0x31b1dc(0x1d6)]&&(_0x219bfa['xlink:href']=_0x219bfa['xlink:href']+_0xbab04d[_0x31b1dc(0x299)]),Object['entries'](_0x219bfa)[_0x31b1dc(0x1f3)](function(_0x4e2995){const _0x3e05d3=_0x31b1dc;var _0x501caa=_0x4e2995[0x0],_0x215e0e=_0x4e2995[0x1];typeof _0x215e0e==_0x3e05d3(0x2ae)&&(_0x219bfa[_0x501caa]=_0x215e0e[_0x3e05d3(0x194)](/url\(#(.*)\)/,_0x3e05d3(0x243)[_0x3e05d3(0x284)](_0xbab04d['idSuffix'],')')));})),_0x219bfa;}function _i(_0xda3c4b,_0x295ba0){const _0x469ec9=_0xc93ab4;var _0x464d47,_0x28698b=_0x295ba0[_0x469ec9(0x275)];return!_0x28698b||_0x28698b[_0x469ec9(0x156)]===0x0?_0xda3c4b:_0xda3c4b[_0x469ec9(0x249)]===_0x469ec9(0x17f)&&(!((_0x464d47=_0xda3c4b[_0x469ec9(0x2cb)])===null||_0x464d47===void 0x0)&&_0x464d47[_0x469ec9(0x156)])?v(v({},_0xda3c4b),{'children':_0xda3c4b['children'][_0x469ec9(0x2d6)](function(_0x3eac91){const _0x511b68=_0x469ec9;return typeof _0x3eac91[_0x511b68(0x120)]['id']==_0x511b68(0x2ae)&&_0x28698b&&_0x28698b[_0x511b68(0x2e6)](_0x3eac91['attrs']['id'])?v(v({},_0x3eac91),{'attrs':v(v({},_0x3eac91[_0x511b68(0x120)]),{'id':_0x3eac91[_0x511b68(0x120)]['id']+_0x295ba0[_0x511b68(0x299)]})}):_0x3eac91;})}):_0xda3c4b;}function hi(){const _0x3b0be5=_0xc93ab4;return Math[_0x3b0be5(0x147)]()[_0x3b0be5(0x132)](0x24)[_0x3b0be5(0x1d5)](0x2,0x8);}ke[_0xc93ab4(0x1e2)]=_0xc93ab4(0x233);var ui={'tag':'svg','attrs':{'xmlns':_0xc93ab4(0x105),'fill':'none','viewBox':_0xc93ab4(0x2e3),'width':_0xc93ab4(0x1f2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0xc93ab4(0x1fc),'attrs':{'stroke':'currentColor','d':_0xc93ab4(0x272),'strokeLinecap':_0xc93ab4(0x261),'strokeLinejoin':_0xc93ab4(0x261),'strokeWidth':1.2}}]},{'tag':_0xc93ab4(0x17f),'attrs':{},'children':[{'tag':_0xc93ab4(0x184),'attrs':{'id':_0xc93ab4(0x21a)},'children':[{'tag':_0xc93ab4(0x1fc),'attrs':{'fill':_0xc93ab4(0x1b3),'d':_0xc93ab4(0x2df)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x13880e(function(_0x31454e,_0x5ac22e){const _0x2dcc71=_0xc93ab4;return _0x1b5304(ke,Object['assign']({},_0x31454e,{'id':_0x2dcc71(0x1f6),'ref':_0x5ac22e,'icon':ui}));});Dt[_0xc93ab4(0x1e2)]=_0xc93ab4(0x1c4);var di={'tag':_0xc93ab4(0x169),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0xc93ab4(0x24f),'viewBox':_0xc93ab4(0x24a),'width':_0xc93ab4(0x1f2),'height':_0xc93ab4(0x1f2)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0xc93ab4(0x1fc),'attrs':{'stroke':_0xc93ab4(0x1f5),'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':_0xc93ab4(0x261),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xc93ab4(0x17f),'attrs':{},'children':[{'tag':_0xc93ab4(0x184),'attrs':{'id':_0xc93ab4(0x107)},'children':[{'tag':_0xc93ab4(0x1fc),'attrs':{'fill':_0xc93ab4(0x1b3),'d':'M0\x200H16V16H0z','transform':_0xc93ab4(0x279)}}]}]}],'defIds':[_0xc93ab4(0x107)]},Nt=_0x13880e(function(_0xed6217,_0x12b632){return _0x1b5304(ke,Object['assign']({},_0xed6217,{'id':'on-line-icon','ref':_0x12b632,'icon':di}));});Nt[_0xc93ab4(0x1e2)]='OnLineIcon';function _0x3ae5(){const _0x431108=['redoState','UPDATE_CURSOR','next','defs','unitID','contains','_hover','InsertRangeMoveRightCommandId','clipPath','override','debug','_handleJoinEvent','12YIHRPa','_transformUndoRedoStack','params','getViewport','_collabCursorController','PERMISSION_DENIED','/run/','collab-rect-range-','USER_NOT_INVITED_CODE','_localStorageService','_doCreateSocket','newValue','replace','_clearOtherTimers','entries','executeCommand','_backgroundColor','Warning','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','application/json','m2Prime','replaceDocRanges','_notificationService','_roomMembers$','_cursors','_syncEditingCollabCursorService','fillText','dispose$','_startDocCollabCursor','_send','_shapes','getTypeOfUnitDisposed$','ALREADY_EXISTS','_beforeCloseService','subUnitId','getCollabEntity$','_status$','runId','_scheduleSaving','getActiveSheet','split','OTHER_CLIENT_EDITING','[RemoteUniscriptService]:\x20no\x20focused\x20unit','white','_initStatusComponent','SYNCED','getOwnPropertySymbols','drawWith','name','#FFF','getSheetId','activeSheet$','_localeService','transformByState','_getSessionTicket','getUnhiddenWorksheets','_urlService','_document','m1Prime','black','OffLineIcon','post','_cursorShapes','add','_removeCollabCursors','createSocket','1rEooXJ','roomMembers$','triggerDblclick','getUnitId','setShapeProps','type','_transformService','startColumn','USERS_LEAVE','1925079tsWwTe','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','substring','xlink:href','registerBeforeClose','onPointerMove$','CONNECTOR_DATA_TOO_LARGE','INVITE_CODE_HAS_BEEN_UES','status$','_createSocketURL','current','currentSkeleton$','values','322574hiUGgC','Error','displayName','_dataLoaderService','dispose','SNAPSHOT_INVALID_SNAPSHOT','_localCacheService','_labelPosition','permission.content','unload','getCurrentSelections','asObservable','actions','makeDirty','set','transformSelections','onCommandExecuted','transformMutation','1em','forEach','bottom','currentColor','off-line-icon','loadUnit','top','setConfig','LICENSE_EXPORT_SIZE_EXCEEDED','CLOSE_ROOM','path','hide','_docSkeletonManagerService','getConfig','indexOf','INTERNAL_ERROR','updateOfflineData','_initResize','pushState','EMAIL_VERIFY_CODE_MISMATCH','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','cursorInfo$','_setupBeforeClosingHandler','getOwnPropertyDescriptor','onTransformChange$','collaboration-client.offline-data-not-saved','_themeService','getFocusedUnit','eventID','evenodd','_revisionService','saveTaskMap','UNIVER_DOC','_saveCache','LICENSE_DISTRO_REJECTED','collaboration.closeRoom','_collabCursorState$','_docStateChangeManagerService','_onCursorDelete','_httpService','off-line-icon_clip0_910_343','INVALID_INVITE_CODE','setUndoRedoMutationParamsCache','docStateChange$','_updateURLWithCurrentState','use','addObjects','getTypeOfUnitAdded$','_sheetSkeletonManagerService','size','color','getCurrent','transformMutationsWithChangeset','getCurrentUnitForType','onMouseMove','_handleLeaveEvent','_getSaveTimeout','_uiPartsService','ONLINE','uni.network.url-service','...','subunit','getAncestorScale','fill','collab-client.tooltip.reconnect','UniverIcon','TOO_MANY_REQUESTS','_online','beginPath','subscribe','sheetID','labelPosition','EMAIL_HAS_BEEN_BOUND','_heartbeatTimer','JOIN_ROOM_FAILED','_scheduleHeartbeat','hasOwnProperty','VIEW_MAIN','error','_context','InsertColCommandId','url(#$1','setActiveRange','addClipboardHook','stringify','_getSheetObject','resize','tag','0\x200\x2017\x2016','YUUMI_UNABLE_LOAD_URL','cursorInfo','undoState','range','none','search','_session','YUUMI_RATE_OVER_LIMIT','_draw','blue.400','show','entityInit$','collabStatus.fetchMiss','get','_onRefRangeChange','min','backgroundColor','CHANGESET_REVISION_CONFILICT','_registerRenderDependencies','getVpScrollXYInfoByPosToVp','SNAPSHOT_HAS_BEEN_REMOVED','memberID','round','with','call','onLocalMutation','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','restore','_scheduleClearOtherTimer','collabStatus.offline','getMemberID','_memberService','_handleEvent','arc','MUTATION','searchParams','_logService','then','_docTransformSelectionsService','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','collaboration-client-ui.config','OTHER_CLIENTS_EDITING','defIds','textRanges','_cachedData','getUndoRedoMutationParamsCache','translate(.97)','roomMembers','registerRefRange','height','session.collaboration-timeout','_setupSubUnitSync','_registerDependencies','isEditing','engine','startsWith','_getMergeRange','concat','[CollaborationDataLoaderController]','_renderManagerService','_range','code','collabStatus.syncing','_eventUnsubscribe','replaceState','_saveTaskMap','column','PENDING','doc.mutation.rich-text-editing','icon','1621808kbPdqC','syncEditingCollabCursor','push','TEXT','getSkeleton','FETCH_MISS','OFFLINE','_anchor','idSuffix','_selfUnitIDs','_docClipboardService','UNIVER_SHEET','measureText','setParam','AWAITING_WITH_PENDING','YUUMI_URL_COL_OUT_OF_RANGE','deepClone','APPLY_PERMISSION_DENIED','getOffsetConfig','DeleteRangeMoveLeftCommandId','_getScale','getCollabCursors$','_textBubble','flatMap','_cursor','some','unitId','getSheetBySheetId','enableLocalCache','string','onPointerLeave$','_collaborationController','102gIWhpq','YUUMI_SUBSCRIPTION_NOT_FOUND','purple.300','yellow.400','_drawRectRange','transformRemoteChangeset','text','session.will-retry','disposeUnit','event$','location','findNodePositionByCharIndex','history','_docSyncEditingCollabCursorService','YUUMI_CONNECTOR_URL_NOT_FOUND','send','green.600','unshift','onStarting','InsertRangeMoveDownCommandId','unit','getActiveRange','registerRenderModule','_name','ACTIVE_UNIT_EVENT_CHANNEL','_instanceService','children','runOnServer','_initEntityListener','_docTransformStateCacheService','_collaborationUIEventService','_cursorInfo$','getItem','origin','_drawAnchor','UNRECOGNIZED','_commandService','map','SOCKET_FAILED','saveImage','LICENSE_IMPORT_SIZE_EXCEEDED','_unitOnClients','popstate','function','_refreshCollabCursors','_entityInit$','M0\x200H16V16H0z','parse','_id','createInstance','0\x200\x2016\x2016','_colorIndex','_toggleOnline','includes','isActive','_hovered','_messageService','urlChange$','_toggleOffline','YUUMI_ALL_TABLES_IS_INVALID','NOT_FOUND','trim','7658919EyeVSy','INVITE_CODE_REQUIRED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ENSURE_SNAPSHOT_EXECUTION','APPLY_NON_SEQUENTIAL_REVISION','RECT','colorChannel1','setItem','addObject','collab-text-range-','YUUMI_AI_RUN_FAILED','UNDEFINED','_colorAssignService','1774850EVZiWk','clearTimeout','_collabSessionService','assign','_color','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getValue','wsSessionTicketUrl','addEventListener','_render','DeleteRangeMoveUpCommandId','className','_config','YUUMI_NO_CUBOID_FOR_QUESTION','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_updateSubUnitFromURLParams','endRow','_refRangeService','getUniverSheetInstance','_entities','Failed','pipe','FromArray','NOT_COLLAB','transformStateCache','session.connection-failed','SOCKET_FAILED_RETRY','http://www.w3.org/2000/svg','saveOfflineData','on-line-icon_clip0_910_349','exhaustSavingTask','collabStatus.synced','transformIMECache','_initStatusListener','getRangePointData','MOBILE_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','getStateCache','_docTransformIMECacheService','APPLY_DUPLICATED','font','_transformHistoryAndStateStack','save','fillStyle','_lastPointer','init','requireSession','YUUMI_ASYNCIO_CANCELLED','_init','LOGIN_FAILED','fillRule','unsubscribe','addHandlerCallback','1106965mSHATb','attrs','_initCommandExecutedListener','extend','data','RemoveColCommandId','mutations','width','setInterval','lineTo','has','WECHAT_HAS_BEEN_BOUND','selections','_assignedColors','getRelativeToViewportCoord','CONFLICT','from','_anchorDot','_startSheetCollabCursor','toString','_drawTextRange','getDocRanges','_univerInstanceService','collabCursorState$','_hideTimer','collabStatus.notCollab','_configService','_disabled','apply','_injector','propertyIsEnumerable','getRenderById','_handleHeartbeatEvent','ranges','row','APPLY_REJECT','body','univerjs-icon\x20univerjs-icon-','getUnitStatus$','href','random','_ensureSubject','find','isArray','mask','red.300','_scene','onRendered','complete','_transformPreviousActiveRange','Unknown\x20user','APPLY_REVISION_CONFILICT','_updateCollabCursors','_removeClearOtherTimer','_initEvent','length','HEADER_MENU','permission.title','closePath','SUBMIT_CHANGESET_TIMEOUT','_onCursorUpdate','COMPLETION_FINISHED','_handleHover','startRow','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getMergeData','div','subscribeEvent','delete','_updateLocalCursor','1494542RaToMT','getColorFromTheme','clearInterval','editingUnit','svg','currentTheme$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','disposeWithMe','registerComponent','getCurrentRevOfUnit','_unitStatus','symbol','getParam','_imageIoService','INVITE_CODE_ALREADY_BOUND','UNAUTHENTICATED','prototype','LICENSE_MAX_UNITS_EXCEEDED','storage','defineProperty','selection','assignAColorForMemberID','MoveRangeCommandId'];_0x3ae5=function(){return _0x431108;};return _0x3ae5();}function fi(_0x44adb6){const _0x322c01=_0xc93ab4;switch(_0x44adb6){case _0x2d86fd[_0x322c01(0x297)]:return _0x322c01(0x268);case _0x2d86fd[_0x322c01(0x12e)]:return'collabStatus.conflict';case _0x2d86fd[_0x322c01(0x296)]:return _0x322c01(0x257);case _0x2d86fd[_0x322c01(0x101)]:return _0x322c01(0x138);case _0x2d86fd['AWAITING']:case _0x2d86fd[_0x322c01(0x29f)]:return _0x322c01(0x289);case _0x2d86fd[_0x322c01(0x1b5)]:case _0x2d86fd[_0x322c01(0x28e)]:return _0x322c01(0x109);}}function Si(_0xe19fa8){const _0x4387d1=_0xc93ab4,{status$:_0xe87ecd}=_0xe19fa8,_0x10424c=_0x43f4a0(_0xe87ecd,_0x2d86fd['NOT_COLLAB']),_0x5eabfe=_0x1844e3(_0x5aaf6f),_0x1005be=_0x1844e3(_0x1baea3),_0x5b878c=_0x10424c!==_0x2d86fd[_0x4387d1(0x297)],_0x5ec68a=_0x5eabfe['t'](fi(_0x10424c)),_0x27dee4=_0x5b878c?_0x48b523(Nt,{}):_0x48b523(Dt,{}),_0x1c2b79=_0x160c7b(()=>{_0x5b878c||_0x1005be['reconnect']();},[_0x5b878c,_0x1005be]);function _0x533c4e(){const _0x29d941=_0x4387d1;return _0x224bb4(_0x29d941(0x161),{'className':'univer-flex\x20univer-items-center','onClick':_0x1c2b79,'children':[_0x48b523('div',{'className':_0x3e706f('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5b878c,'univer-text-red-500':!_0x5b878c}),'children':_0x27dee4}),_0x48b523(_0x29d941(0x161),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5ec68a})]});}return _0x5b878c?_0x533c4e():_0x48b523(_0x559e82,{'title':_0x5eabfe['t'](_0x4387d1(0x232)),'children':_0x533c4e()});}var mi=Object[_0xc93ab4(0x209)],Ii=(_0x2f754b,_0x160c26,_0x9f5adc,_0x36bc58)=>{for(var _0x4fb3eb=_0x36bc58>0x1?void 0x0:_0x36bc58?mi(_0x160c26,_0x9f5adc):_0x160c26,_0x3c5a94=_0x2f754b['length']-0x1,_0x5c3ca0;_0x3c5a94>=0x0;_0x3c5a94--)(_0x5c3ca0=_0x2f754b[_0x3c5a94])&&(_0x4fb3eb=_0x5c3ca0(_0x4fb3eb)||_0x4fb3eb);return _0x4fb3eb;},q=(_0x20f115,_0x19d8a4)=>(_0x517fda,_0x27c038)=>_0x19d8a4(_0x517fda,_0x27c038,_0x20f115);let se=class extends _0x27c934{constructor(_0x30a4f1,_0x224faf,_0x3d8241,_0x33b751){const _0xa6c9c5=_0xc93ab4;super(),_(this,_0xa6c9c5(0x1ac),new _0x554b53(_0x2d86fd[_0xa6c9c5(0x101)])),(this[_0xa6c9c5(0x135)]=_0x30a4f1,this['_injector']=_0x224faf,this[_0xa6c9c5(0x2b0)]=_0x3d8241,this[_0xa6c9c5(0x22b)]=_0x33b751,this['_initStatusComponent'](),this[_0xa6c9c5(0x10b)]());}[_0xc93ab4(0x10b)](){const _0x490e06=_0xc93ab4;this[_0x490e06(0x16c)](this[_0x490e06(0x135)]['focused$'][_0x490e06(0xff)](_0x9fa557(()=>{const _0x326e17=_0x490e06,_0x59ebdf=this['_univerInstanceService'][_0x326e17(0x20d)]();return _0x59ebdf?this[_0x326e17(0x2b0)][_0x326e17(0x1ab)](_0x59ebdf[_0x326e17(0x1cd)]()):_0x2823d6(null);}),_0x9fa557(_0xb52a3a=>_0xb52a3a?_0xb52a3a[_0x490e06(0x1db)]:_0x2823d6(_0x2d86fd[_0x490e06(0x101)])))['subscribe'](_0x510695=>{const _0x4c12a7=_0x490e06;this['_status$'][_0x4c12a7(0x17e)](_0x510695);}));}[_0xc93ab4(0x1b4)](){const _0x4a6880=_0xc93ab4;this[_0x4a6880(0x16c)](this[_0x4a6880(0x22b)][_0x4a6880(0x16d)](_0xb967ee[_0x4a6880(0x157)],()=>_0x5a0f17(vi({'status$':this['_status$'][_0x4a6880(0x1eb)]()}),this[_0x4a6880(0x13c)])));}};se=Ii([q(0x0,_0x258533),q(0x1,_0x27e075(_0x10b0d8)),q(0x2,_0x27e075(_0x246f38)),q(0x3,_0x2be0c8)],se);function vi(_0x1190de){const {status$:_0x63b73e}=_0x1190de;return function(){return _0x48b523(Si,{'status$':_0x63b73e});};}const Ut=_0x3a8f68(_0xc93ab4(0x22d));var gi=Object[_0xc93ab4(0x209)],pi=(_0x1f3031,_0x2d8725,_0x3865a6,_0x455010)=>{const _0x340f9b=_0xc93ab4;for(var _0x36a2a6=_0x455010>0x1?void 0x0:_0x455010?gi(_0x2d8725,_0x3865a6):_0x2d8725,_0x1ccf0b=_0x1f3031[_0x340f9b(0x156)]-0x1,_0x231f87;_0x1ccf0b>=0x0;_0x1ccf0b--)(_0x231f87=_0x1f3031[_0x1ccf0b])&&(_0x36a2a6=_0x231f87(_0x36a2a6)||_0x36a2a6);return _0x36a2a6;},G=(_0x3f45ab,_0x22f8ce)=>(_0x5d87fd,_0x3f0d0c)=>_0x22f8ce(_0x5d87fd,_0x3f0d0c,_0x3f45ab);let ie=class extends _0x3a7778{constructor(_0x27506f,_0x3ba116,_0xb6b0ff,_0x538ce2,_0x16075b){const _0x11a21c=_0xc93ab4;super(),this[_0x11a21c(0x1c0)]=_0x27506f,this[_0x11a21c(0x26f)]=_0x3ba116,this[_0x11a21c(0x2d5)]=_0xb6b0ff,this[_0x11a21c(0x1e3)]=_0x538ce2,_0x16075b?_0x16075b==null||_0x16075b['whenReady']()[_0x11a21c(0x270)](()=>this[_0x11a21c(0x11a)]()):(this['_logService'][_0x11a21c(0x186)](_0x11a21c(0x285),_0x11a21c(0x16b)),this[_0x11a21c(0x11a)]());}async[_0xc93ab4(0x11a)](){const _0x41aa80=_0xc93ab4,_0x5f5a3e=this[_0x41aa80(0x1c0)][_0x41aa80(0x171)](_0x41aa80(0x2c5)),_0x5becf7=this['_urlService'][_0x41aa80(0x171)](_0x41aa80(0x1cf)),_0x3ebd31=this['_urlService'][_0x41aa80(0x171)]('subunit');if(!_0x5f5a3e||!_0x5becf7){this['_logService'][_0x41aa80(0x186)](_0x41aa80(0x285),_0x41aa80(0x19a));return;}const _0x5555b6=await this[_0x41aa80(0x1e3)][_0x41aa80(0x1f7)](_0x5f5a3e,Number(_0x5becf7),_0x3ebd31);_0x5555b6&&_0x5555b6 instanceof _0x360da8&&this[_0x41aa80(0x27e)](_0x5555b6);}async[_0xc93ab4(0x27e)](_0x399ac3){const _0x3ea221=_0xc93ab4;await this[_0x3ea221(0xf9)](_0x399ac3),_0x399ac3[_0x3ea221(0x1bb)][_0x3ea221(0xff)](_0xd8e274(this[_0x3ea221(0x1a3)]))['subscribe'](_0x4cc8ab=>{const _0x4511ca=_0x3ea221;_0x4cc8ab&&this[_0x4511ca(0x21e)](_0x4cc8ab);}),this[_0x3ea221(0x1c0)][_0x3ea221(0x2ea)][_0x3ea221(0xff)](_0xd8e274(this[_0x3ea221(0x1a3)]))[_0x3ea221(0x237)](()=>this['_updateSubUnitFromURLParams'](_0x399ac3));}['_updateURLWithCurrentState'](_0xff4029,_0x284f16=!0x1){const _0x44da6b=_0xc93ab4,_0x442140=this['_urlService'][_0x44da6b(0x171)](_0x44da6b(0x22f));_0xff4029[_0x44da6b(0x1ba)]()!==_0x442140&&this[_0x44da6b(0x1c0)][_0x44da6b(0x29e)](_0x44da6b(0x22f),_0xff4029['getSheetId'](),_0x284f16);}async[_0xc93ab4(0xf9)](_0x27e1b7){const _0x1dd378=_0xc93ab4;var _0x4047f4;const _0x2b5a93=this[_0x1dd378(0x1c0)][_0x1dd378(0x171)](_0x1dd378(0x22f));if(!_0x2b5a93||!_0x27e1b7['getSheetBySheetId'](_0x2b5a93)){const _0x3efc20=_0x27e1b7[_0x1dd378(0x1bf)]()[0x0],_0x5a9467=_0x27e1b7[_0x1dd378(0x2ac)](_0x3efc20);if(!_0x5a9467)return;this[_0x1dd378(0x21e)](_0x5a9467,!0x0),await this['_commandService'][_0x1dd378(0x197)](_0x401a77['id'],{'unitId':_0x27e1b7['getUnitId'](),'subUnitId':_0x3efc20});return;}((_0x4047f4=_0x27e1b7[_0x1dd378(0x1af)]())==null?void 0x0:_0x4047f4[_0x1dd378(0x1ba)]())!==_0x2b5a93&&await this['_commandService'][_0x1dd378(0x197)](_0x401a77['id'],{'unitId':_0x27e1b7['getUnitId'](),'subUnitId':_0x2b5a93});}};ie=pi([G(0x0,Ut),G(0x1,_0x1552a6),G(0x2,_0x512c0b),G(0x3,_0x27e075(_0x5adba1)),G(0x4,_0x1a0163(_0x35d43b))],ie);var Ci=Object[_0xc93ab4(0x209)],Ei=(_0x25e81a,_0x5d7b6f,_0x5b8f3e,_0x1722cd)=>{const _0x1f4422=_0xc93ab4;for(var _0x566d3e=_0x1722cd>0x1?void 0x0:_0x1722cd?Ci(_0x5d7b6f,_0x5b8f3e):_0x5d7b6f,_0x30af46=_0x25e81a[_0x1f4422(0x156)]-0x1,_0x2a79b8;_0x30af46>=0x0;_0x30af46--)(_0x2a79b8=_0x25e81a[_0x30af46])&&(_0x566d3e=_0x2a79b8(_0x566d3e)||_0x566d3e);return _0x566d3e;},Je=(_0x27efc7,_0x13d4b2)=>(_0x24fc78,_0x215bff)=>_0x13d4b2(_0x24fc78,_0x215bff,_0x27efc7);let Ne=class extends _0x3a7778{constructor(_0x22d5b5,_0x4b42fc){const _0x10e9a3=_0xc93ab4;super(),this['_docClipboardService']=_0x22d5b5,this[_0x10e9a3(0x172)]=_0x4b42fc,this[_0x10e9a3(0x11a)]();}[_0xc93ab4(0x11a)](){const _0x5e6bff=_0xc93ab4,_0x5a92f3=this;this[_0x5e6bff(0x16c)](this[_0x5e6bff(0x29b)][_0x5e6bff(0x245)]({'onBeforePasteImage':async _0x128371=>{const _0x22c827=_0x5e6bff,_0x3ecda8=await _0x5a92f3[_0x22c827(0x172)][_0x22c827(0x2d8)](_0x128371);return _0x3ecda8?{'source':_0x3ecda8['source'],'imageSourceType':_0x3ecda8['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x47e43c),Je(0x1,_0x1334e4)],Ne);const Ze=[_0xc93ab4(0x2b3),'jiqing.500',_0xc93ab4(0x2c1),_0xc93ab4(0x14c),_0xc93ab4(0x254),_0xc93ab4(0x2b4)];class He extends _0x27c934{constructor(){const _0x1d33df=_0xc93ab4;super(...arguments),_(this,_0x1d33df(0x12c),new Map()),_(this,_0x1d33df(0x2e4),0x0);}['assignAColorForMemberID'](_0x1adc2b){const _0x5de1f3=_0xc93ab4;if(this[_0x5de1f3(0x12c)][_0x5de1f3(0x129)](_0x1adc2b))return this[_0x5de1f3(0x12c)][_0x5de1f3(0x258)](_0x1adc2b);const _0x17fc29=Ze[this[_0x5de1f3(0x2e4)]];return this[_0x5de1f3(0x2e4)]=(this[_0x5de1f3(0x2e4)]+0x1)%Ze[_0x5de1f3(0x156)],this[_0x5de1f3(0x12c)][_0x5de1f3(0x1ee)](_0x1adc2b,_0x17fc29),_0x17fc29;}}function Mt(_0x519f54){let _0x5b1068='';for(const _0x2031f6 of _0x519f54){const {startOffset:_0x159a62,endOffset:_0x31bbb7,isActive:_0x20cfa3,rangeType:_0x524bfa,segmentId:_0x199d79,segmentPage:_0x287663}=_0x2031f6;_0x5b1068['length']&&(_0x5b1068+=','),_0x5b1068+=_0x159a62+':'+_0x31bbb7+':'+(_0x20cfa3?'1':'0')+':'+_0x524bfa+':'+_0x199d79+':'+_0x287663;}return _0x5b1068;}function Oi(_0x221f03){const _0x1fc743=_0xc93ab4,_0x2682cd=_0x221f03[_0x1fc743(0x1b0)](','),_0x15317f=[];for(const _0x284e79 of _0x2682cd){const [_0x4f9e07,_0x2950c2,_0x595cfa,_0x2d7856,_0xe720a8,_0x1d6ddb]=_0x284e79[_0x1fc743(0x1b0)](':');_0x15317f[_0x1fc743(0x293)]({'startOffset':Number(_0x4f9e07),'endOffset':Number(_0x2950c2),'collapsed':_0x4f9e07===_0x2950c2,'isActive':_0x595cfa==='1','rangeType':_0x2d7856===_0xbb3e80[_0x1fc743(0x294)]?_0xbb3e80['TEXT']:_0xbb3e80[_0x1fc743(0x2f4)],'segmentId':typeof _0xe720a8==_0x1fc743(0x2ae)?String(_0xe720a8):'','segmentPage':Number(_0x1d6ddb!=null?_0x1d6ddb:-0x1)});}return _0x15317f[_0x1fc743(0x2aa)](_0x27e085=>_0x27e085[_0x1fc743(0x2e7)])||(_0x15317f[0x0][_0x1fc743(0x2e7)]=!0x0),_0x15317f;}class Fe extends _0x3a7778{constructor(){const _0x59d6fd=_0xc93ab4;super(...arguments),_(this,_0x59d6fd(0x216),new _0x554b53(null)),_(this,'collabCursorState$',this[_0x59d6fd(0x216)][_0x59d6fd(0x1eb)]());}[_0xc93ab4(0x292)](_0x2132df){const _0x990b0=_0xc93ab4,{unitID:_0x2133ab,memberID:_0x50f146,textRanges:_0x40f8d7}=_0x2132df,_0x2b985a=Mt(_0x40f8d7);if(_0x2b985a==='')return;const _0x42ea92={'unitID':_0x2133ab,'memberID':_0x50f146,'selection':_0x2b985a};this[_0x990b0(0x216)]['next'](_0x42ea92);}}var bi=Object[_0xc93ab4(0x209)],Ti=(_0x518670,_0x767cb,_0x77779c,_0x1f72af)=>{const _0x12cd3c=_0xc93ab4;for(var _0x3ac434=_0x1f72af>0x1?void 0x0:_0x1f72af?bi(_0x767cb,_0x77779c):_0x767cb,_0x38055b=_0x518670[_0x12cd3c(0x156)]-0x1,_0x254e65;_0x38055b>=0x0;_0x38055b--)(_0x254e65=_0x518670[_0x38055b])&&(_0x3ac434=_0x254e65(_0x3ac434)||_0x3ac434);return _0x3ac434;},P=(_0x1d2c2c,_0x3d1d6f)=>(_0x2e352e,_0x856e7)=>_0x3d1d6f(_0x2e352e,_0x856e7,_0x1d2c2c);const Ri=0x12c,Di=0x64;let Ue=class extends _0x3a7778{constructor(_0x3eed67,_0x10c9db,_0x3e77ab,_0x1940bd,_0x4c56ea,_0x4035a9,_0x355af0,_0xfe301d,_0x59039c){const _0x3c208c=_0xc93ab4;super(),_(this,'_online',!0x1),_(this,_0x3c208c(0x11a),!0x1),_(this,'_cursorInfo$',new _0x554b53(new Map())),_(this,_0x3c208c(0x207),this[_0x3c208c(0x2d0)][_0x3c208c(0x1eb)]()),_(this,'_roomMembers$',new _0x554b53([])),_(this,_0x3c208c(0x1cb),this['_roomMembers$']['pipe'](_0x2f1e14(Ri))),_(this,_0x3c208c(0x164),_0x668c9f(_0x1db64b=>{const _0x106a24=_0x3c208c,_0x3e510c={'eventID':_0x3a8b85['UPDATE_CURSOR'],'data':{'unitID':this[_0x106a24(0x180)],'memberID':this[_0x106a24(0x251)][_0x106a24(0x269)](),'selection':Mt(_0x1db64b)}};this['_session'][_0x106a24(0x2c0)](_0x3e510c,this[_0x106a24(0x180)]);},Di)),(this['unitID']=_0x3eed67,this[_0x3c208c(0x251)]=_0x10c9db,this[_0x3c208c(0x13c)]=_0x3e77ab,this[_0x3c208c(0x2fb)]=_0x1940bd,this[_0x3c208c(0x26a)]=_0x4c56ea,this['_syncEditingCollabCursorService']=_0x4035a9,this[_0x3c208c(0x1d0)]=_0x355af0,this[_0x3c208c(0x135)]=_0xfe301d,this[_0x3c208c(0x2d5)]=_0x59039c);}get[_0xc93ab4(0x24c)](){const _0x294a16=_0xc93ab4;return this['_cursorInfo$'][_0x294a16(0xf0)]();}get[_0xc93ab4(0x27a)](){const _0xe9517f=_0xc93ab4;return this[_0xe9517f(0x19f)][_0xe9517f(0xf0)]();}[_0xc93ab4(0x1e4)](){const _0x373b89=_0xc93ab4;super[_0x373b89(0x1e4)](),this[_0x373b89(0x2d0)][_0x373b89(0x17e)](new Map()),this[_0x373b89(0x2d0)]['complete'](),this[_0x373b89(0x19f)]['next']([]),this[_0x373b89(0x19f)][_0x373b89(0x14f)]();}[_0xc93ab4(0x117)](){const _0x3bf84a=_0xc93ab4;this[_0x3bf84a(0x11a)]||(this[_0x3bf84a(0x11a)]=!0x0,this[_0x3bf84a(0x251)]['sessionStatus$']['pipe'](_0xd8e274(this[_0x3bf84a(0x1a3)]))[_0x3bf84a(0x237)](_0x2d8aeb=>{const _0x555349=_0x3bf84a;_0x2d8aeb===_0x1b4bc0[_0x555349(0x22c)]?this[_0x555349(0x2e5)]():this[_0x555349(0x2eb)]();}),this[_0x3bf84a(0x251)][_0x3bf84a(0x2ba)][_0x3bf84a(0xff)](_0xd8e274(this[_0x3bf84a(0x1a3)]))[_0x3bf84a(0x237)](_0x39bc24=>{const _0x347da9=_0x3bf84a,_0x58a984=_0x39bc24['eventID'];_0x58a984===_0x3a8b85[_0x347da9(0x17d)]&&this[_0x347da9(0x15b)](_0x39bc24),_0x58a984===_0x3a8b85[_0x347da9(0x1d2)]&&this['_onCursorDelete'](_0x39bc24);}),this[_0x3bf84a(0x16c)](this[_0x3bf84a(0x2d5)][_0x3bf84a(0x1f0)](_0x82c2da=>{const _0x142809=_0x3bf84a,_0x3e3642=_0x82c2da[_0x142809(0x18a)];_0x3e3642!=null&&this['_online']&&_0x82c2da['id']===_0x27c20f['id']&&_0x3e3642[_0x142809(0x2ab)]===this[_0x142809(0x180)]&&_0x3e3642[_0x142809(0x280)]===!0x1&&_0x3e3642[_0x142809(0x140)][_0x142809(0x156)]>0x0&&this[_0x142809(0x164)](_0x3e3642[_0x142809(0x140)]);})),this[_0x3bf84a(0x1a1)][_0x3bf84a(0x136)][_0x3bf84a(0xff)](_0xd8e274(this[_0x3bf84a(0x1a3)]))[_0x3bf84a(0x237)](_0x155e2b=>{const _0x5a1c73=_0x3bf84a;if((_0x155e2b==null?void 0x0:_0x155e2b[_0x5a1c73(0x180)])!==this[_0x5a1c73(0x180)])return;const _0x4559e0={'eventID':_0x3a8b85[_0x5a1c73(0x17d)],'data':_0x155e2b};this[_0x5a1c73(0x15b)](_0x4559e0);}),this[_0x3bf84a(0x16c)](this['_commandService']['onCommandExecuted'](_0x11fcd9=>{const _0x436e47=_0x3bf84a;if(_0x11fcd9[_0x436e47(0x18a)]==null)return;const _0x4b77fb=_0x11fcd9['params'];if(_0x11fcd9['id']!==_0x7d2b89['id']||_0x4b77fb[_0x436e47(0x2ab)]!==this[_0x436e47(0x180)])return;const _0x45829d={'id':'doc.mutation.rich-text-editing','params':_0x4b77fb},_0x417b88=this['cursorInfo'];for(const [_0x39a46c,_0x1ed992]of _0x417b88){const _0x4ce29a={'id':_0x436e47(0x28f),'params':{'unitId':this[_0x436e47(0x180)],'actions':null,'textRanges':_0x1ed992['ranges']}},_0x27aeca=this[_0x436e47(0x1d0)][_0x436e47(0x1f1)](_0x45829d,_0x4ce29a,!0x1);if(_0x41588d(_0x27aeca))throw _0x27aeca['error'];_0x417b88[_0x436e47(0x1ee)](_0x39a46c,{..._0x1ed992,'ranges':_0x27aeca['m2Prime'][_0x436e47(0x18a)][_0x436e47(0x276)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x417b88);});})));}[_0xc93ab4(0x15b)](_0xdc2f67){const _0x3fb021=_0xc93ab4;var _0x49e43d,_0x4e7492;const {memberID:_0x528a99,selection:_0x4608bd}=_0xdc2f67[_0x3fb021(0x123)],_0x4b8b7e=Oi(_0x4608bd),_0x3e38e1=(_0x4e7492=(_0x49e43d=this[_0x3fb021(0x26a)]['getMember'](this[_0x3fb021(0x180)],_0x528a99))==null?void 0x0:_0x49e43d[_0x3fb021(0x1b8)])!=null?_0x4e7492:_0x3fb021(0x151),_0x23748c={'color':this[_0x3fb021(0x2fb)][_0x3fb021(0x17a)](_0x528a99),'name':_0x3e38e1,'ranges':_0x4b8b7e},_0x1240cd=this[_0x3fb021(0x24c)];_0x1240cd[_0x3fb021(0x1ee)](_0x528a99,_0x23748c),this['_cursorInfo$'][_0x3fb021(0x17e)](_0x1240cd);}[_0xc93ab4(0x218)](_0x209d33){const _0x431470=_0xc93ab4,{memberID:_0x56e386}=_0x209d33[_0x431470(0x123)],_0x470b98=this['cursorInfo'];_0x470b98[_0x431470(0x163)](_0x56e386),this[_0x431470(0x2d0)][_0x431470(0x17e)](_0x470b98);}[_0xc93ab4(0x2e5)](){const _0x37da4f=_0xc93ab4;var _0x50d6fa;if(this[_0x37da4f(0x235)]=!0x0,((_0x50d6fa=this[_0x37da4f(0x135)][_0x37da4f(0x20d)]())==null?void 0x0:_0x50d6fa[_0x37da4f(0x1cd)]())!==this[_0x37da4f(0x180)])return;const _0x2de677=this[_0x37da4f(0x13c)][_0x37da4f(0x258)](_0x2431cc)[_0x37da4f(0x134)]();Array[_0x37da4f(0x14a)](_0x2de677)&&_0x2de677[_0x37da4f(0x156)]>0x0&&this[_0x37da4f(0x164)](_0x2de677);}[_0xc93ab4(0x2eb)](){const _0x388196=_0xc93ab4;this[_0x388196(0x235)]=!0x1;}};Ue=Ti([P(0x2,_0x27e075(_0x10b0d8)),P(0x3,_0x27e075(He)),P(0x4,_0x27e075(_0x4cbded)),P(0x5,_0x27e075(Fe)),P(0x6,_0x4d4592),P(0x7,_0x258533),P(0x8,_0x512c0b)],Ue);var Ni=Object[_0xc93ab4(0x209)],Ui=(_0xece821,_0x5477f4,_0x5baf8e,_0x3daa26)=>{const _0x21afae=_0xc93ab4;for(var _0x17b520=_0x3daa26>0x1?void 0x0:_0x3daa26?Ni(_0x5477f4,_0x5baf8e):_0x5477f4,_0x4ec6c0=_0xece821[_0x21afae(0x156)]-0x1,_0x5e0c8b;_0x4ec6c0>=0x0;_0x4ec6c0--)(_0x5e0c8b=_0xece821[_0x4ec6c0])&&(_0x17b520=_0x5e0c8b(_0x17b520)||_0x17b520);return _0x17b520;},x=(_0x458f4d,_0x1690f3)=>(_0x3dde56,_0x20d170)=>_0x1690f3(_0x3dde56,_0x20d170,_0x458f4d);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x3f4b1c=[],_0x501085=!0x1;return _0x7d535a=>{const _0x3f2143=_0x2ac3;_0x3f4b1c[_0x3f2143(0x293)](_0x7d535a),_0x501085||(_0x501085=!0x0,setTimeout(()=>{const _0x29c724=_0x3f2143;_0x3f4b1c[_0x29c724(0x1f3)](_0x6bd836=>_0x6bd836()),_0x3f4b1c=[],_0x501085=!0x1;}));};};let Me=class extends _0x3a7778{constructor(_0xc24339,_0xcc36b2,_0xcc8f93,_0x5733c2,_0x539ebc,_0x2b8a41,_0x5ea5a2,_0x475b09){const _0x4b34d9=_0xc93ab4;super(),_(this,_0x4b34d9(0x235),!0x1),_(this,_0x4b34d9(0x11a),!0x1),_(this,'_cursorInfo$',new _0x554b53(new Map())),_(this,'cursorInfo$',this[_0x4b34d9(0x2d0)][_0x4b34d9(0x1eb)]()),_(this,'_roomMembers$',new _0x554b53([])),_(this,_0x4b34d9(0x1cb),this[_0x4b34d9(0x19f)]['pipe'](_0x2f1e14(Mi))),_(this,_0x4b34d9(0x164),_0x668c9f((_0x3700d0,_0x4f5dec)=>{const _0x3cc0d6=_0x4b34d9,_0x2b08e4={'eventID':_0x3a8b85[_0x3cc0d6(0x17d)],'data':{'unitID':this[_0x3cc0d6(0x180)],'memberID':this[_0x3cc0d6(0x251)]['getMemberID'](),'selection':_0x52ec7c(_0x3700d0,_0x4f5dec[_0x3cc0d6(0x24e)])}};this[_0x3cc0d6(0x251)]['send'](_0x2b08e4,this[_0x3cc0d6(0x180)]);},Li)),(this[_0x4b34d9(0x180)]=_0xc24339,this[_0x4b34d9(0x251)]=_0xcc36b2,this[_0x4b34d9(0x13c)]=_0xcc8f93,this[_0x4b34d9(0x2fb)]=_0x5733c2,this[_0x4b34d9(0x26a)]=_0x539ebc,this[_0x4b34d9(0x135)]=_0x2b8a41,this['_commandService']=_0x5ea5a2,this[_0x4b34d9(0xfb)]=_0x475b09);}get[_0xc93ab4(0x24c)](){return this['_cursorInfo$']['getValue']();}get[_0xc93ab4(0x27a)](){const _0x3cf274=_0xc93ab4;return this['_roomMembers$'][_0x3cf274(0xf0)]();}['dispose'](){const _0x45a3d8=_0xc93ab4;super[_0x45a3d8(0x1e4)](),this[_0x45a3d8(0x2d0)][_0x45a3d8(0x17e)](new Map()),this[_0x45a3d8(0x2d0)][_0x45a3d8(0x14f)](),this[_0x45a3d8(0x19f)]['next']([]),this['_roomMembers$'][_0x45a3d8(0x14f)]();}[_0xc93ab4(0x117)](){const _0x56ca9b=_0xc93ab4;this[_0x56ca9b(0x11a)]||(this[_0x56ca9b(0x11a)]=!0x0,this[_0x56ca9b(0x251)]['sessionStatus$'][_0x56ca9b(0xff)](_0xd8e274(this['dispose$']))[_0x56ca9b(0x237)](_0x3bda22=>{const _0x4cba65=_0x56ca9b;_0x3bda22===_0x1b4bc0[_0x4cba65(0x22c)]?this[_0x4cba65(0x2e5)]():this[_0x4cba65(0x2eb)]();}),this[_0x56ca9b(0x251)][_0x56ca9b(0x2ba)][_0x56ca9b(0xff)](_0xd8e274(this['dispose$']))[_0x56ca9b(0x237)](_0x5da86f=>{const _0x56c36c=_0x56ca9b,_0x32b10e=_0x5da86f[_0x56c36c(0x20e)];_0x32b10e===_0x3a8b85['UPDATE_CURSOR']&&this[_0x56c36c(0x15b)](_0x5da86f),_0x32b10e===_0x3a8b85[_0x56c36c(0x1d2)]&&this['_onCursorDelete'](_0x5da86f);}),this['_onRefRangeChange'](),this[_0x56ca9b(0x16c)](this[_0x56ca9b(0x2d5)][_0x56ca9b(0x1f0)](_0x5dbf74=>{const _0x568326=_0x56ca9b;if(this[_0x568326(0x235)]&&_0x5dbf74['id']===_0x34acfd['id']&&_0x5dbf74[_0x568326(0x18a)]['unitId']===this[_0x568326(0x180)]){const _0x3e0644=_0x5dbf74[_0x568326(0x18a)];this[_0x568326(0x164)](_0x3e0644[_0x568326(0x1aa)],_0x3e0644[_0x568326(0x12b)][0x0]);}})));}[_0xc93ab4(0x15b)](_0x3b72e7){const _0x1f5b93=_0xc93ab4;var _0x42e0cd,_0xd99a89;const {memberID:_0x128102,selection:_0x2e9be5}=_0x3b72e7[_0x1f5b93(0x123)],{sheetName:_0x516067,range:_0x2176e8}=_0x4082e3(_0x2e9be5),_0xdc570d={'name':(_0xd99a89=(_0x42e0cd=this[_0x1f5b93(0x26a)]['getMember'](this[_0x1f5b93(0x180)],_0x128102))==null?void 0x0:_0x42e0cd[_0x1f5b93(0x1b8)])!=null?_0xd99a89:_0x1f5b93(0x151),'range':this[_0x1f5b93(0x283)](_0x516067,_0x2176e8),'sheetID':_0x516067,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x128102),'selection':_0x2e9be5},_0x10459a=this[_0x1f5b93(0x24c)];_0x10459a['set'](_0x128102,_0xdc570d),this[_0x1f5b93(0x2d0)]['next'](_0x10459a);}[_0xc93ab4(0x218)](_0x419385){const _0x5da2f8=_0xc93ab4,{memberID:_0x4949ce}=_0x419385[_0x5da2f8(0x123)],_0x3acf66=this[_0x5da2f8(0x24c)];_0x3acf66[_0x5da2f8(0x163)](_0x4949ce),this['_cursorInfo$'][_0x5da2f8(0x17e)](_0x3acf66);}['_getMergeRange'](_0x24f568,_0x3c6948){const _0x8c363f=_0xc93ab4;var _0x1f1fb3,_0x125d93;const _0x1c46e5=(_0x125d93=(_0x1f1fb3=this[_0x8c363f(0x135)][_0x8c363f(0xfc)](this['unitID']))==null?void 0x0:_0x1f1fb3[_0x8c363f(0x2ac)](_0x24f568))==null?void 0x0:_0x125d93[_0x8c363f(0x160)]();return(_0x1c46e5==null?void 0x0:_0x1c46e5[_0x8c363f(0x149)](_0x349289=>_0x24f858[_0x8c363f(0x181)](_0x349289,_0x3c6948)))||_0x3c6948;}[_0xc93ab4(0x259)](){const _0x8dccf2=_0xc93ab4,_0x4518e1=new _0x79c3f7(),_0x74ca67=Pi(),_0x3fb9d7=()=>{const _0x2048a6=_0x2ac3;_0x4518e1['dispose']();const _0x1ad6f6=(_0x32cfe3,_0x3b0cab,_0x16bd2d,_0x11c033)=>{const _0xb417=_0x2ac3;let _0x21dad1=[];switch(_0x32cfe3['id']){case _0x155325[_0xb417(0x2a4)]:{_0x21dad1=_0x51ebe0(_0x32cfe3,_0x11c033);break;}case _0x155325[_0xb417(0xf4)]:{_0x21dad1=_0x11d9f9(_0x32cfe3,_0x11c033);break;}case _0x155325[_0xb417(0x242)]:{_0x21dad1=_0x32802e(_0x32cfe3,_0x11c033);break;}case _0x155325[_0xb417(0x2c4)]:{_0x21dad1=_0x396465(_0x32cfe3,_0x11c033);break;}case _0x155325[_0xb417(0x183)]:{_0x21dad1=_0x4a8ee7(_0x32cfe3,_0x11c033);break;}case _0x155325['InsertRowCommandId']:{_0x21dad1=_0x53478e(_0x32cfe3,_0x11c033);break;}case _0x155325[_0xb417(0x17b)]:{_0x21dad1=_0xd65bfa(_0x32cfe3,_0x11c033);break;}case _0x155325[_0xb417(0x124)]:{_0x21dad1=_0x58e3ba(_0x32cfe3,_0x11c033);break;}case _0x155325['RemoveRowCommandId']:{_0x21dad1=_0x3844a3(_0x32cfe3,_0x11c033);break;}}const _0x3e983b=_0x4dec92(_0x21dad1,_0x11c033),_0x40a1a8=this[_0xb417(0x24c)][_0xb417(0x258)](_0x3b0cab);if(_0x40a1a8&&_0x3e983b){const _0x26c81f={..._0x40a1a8,'range':_0x3e983b};this[_0xb417(0x24c)]['set'](_0x3b0cab,_0x26c81f),_0x74ca67(()=>{const _0x4f9a4e=_0xb417,_0x22ebf6=this['_refRangeService'][_0x4f9a4e(0x27b)](_0x3e983b,_0xf68206=>(_0x22ebf6[_0x4f9a4e(0x1e4)](),_0x1ad6f6(_0xf68206,_0x3b0cab,_0x16bd2d,_0x3e983b)));_0x4518e1[_0x4f9a4e(0x1c7)](_0x22ebf6);});}return{'redos':[],'undos':[]};};this[_0x2048a6(0x24c)][_0x2048a6(0x1f3)]((_0x2e422c,_0x172b55)=>{const _0x1984d2=_0x2048a6,{range:_0x50ad36,sheetID:_0x246a30}=_0x2e422c,_0x4b08e4=this[_0x1984d2(0xfb)][_0x1984d2(0x27b)](_0x50ad36,_0x1b3372=>(_0x4b08e4['dispose'](),_0x1ad6f6(_0x1b3372,_0x172b55,_0x246a30,_0x50ad36)));_0x4518e1[_0x1984d2(0x1c7)](_0x4b08e4);});};this['disposeWithMe'](_0x3d89f3(this[_0x8dccf2(0x2d0)][_0x8dccf2(0x237)](()=>{_0x3fb9d7();})));}[_0xc93ab4(0x2e5)](){const _0x507ad2=_0xc93ab4;var _0x37f360,_0x10d5f3;if(this[_0x507ad2(0x235)]=!0x0,((_0x37f360=this['_univerInstanceService'][_0x507ad2(0x20d)]())==null?void 0x0:_0x37f360[_0x507ad2(0x1cd)]())!==this[_0x507ad2(0x180)])return;const _0x9eb4c4=(_0x10d5f3=this[_0x507ad2(0x13c)][_0x507ad2(0x258)](_0x97f715)[_0x507ad2(0x1ea)]())==null?void 0x0:_0x10d5f3[0x0],_0x2a96fa=this[_0x507ad2(0x135)][_0x507ad2(0x227)](_0x10fdd2[_0x507ad2(0x29c)])[_0x507ad2(0x1af)]();_0x9eb4c4&&_0x2a96fa&&this['_updateLocalCursor'](_0x2a96fa[_0x507ad2(0x1ba)](),_0x9eb4c4);}['_toggleOffline'](){const _0x19a5f4=_0xc93ab4;this[_0x19a5f4(0x235)]=!0x1;}};Me=Ui([x(0x2,_0x27e075(_0x10b0d8)),x(0x3,_0x27e075(He)),x(0x4,_0x27e075(_0x4cbded)),x(0x5,_0x258533),x(0x6,_0x512c0b),x(0x7,_0x27e075(_0x298be0))],Me);var wi=Object[_0xc93ab4(0x209)],Ai=(_0x591365,_0x341445,_0x37a756,_0x125d73)=>{for(var _0x5236c6=_0x125d73>0x1?void 0x0:_0x125d73?wi(_0x341445,_0x37a756):_0x341445,_0x3677ea=_0x591365['length']-0x1,_0x3ea6d4;_0x3677ea>=0x0;_0x3677ea--)(_0x3ea6d4=_0x591365[_0x3677ea])&&(_0x5236c6=_0x3ea6d4(_0x5236c6)||_0x5236c6);return _0x5236c6;},me=(_0x3c4e48,_0x4cd96d)=>(_0x1fbddf,_0x43c032)=>_0x4cd96d(_0x1fbddf,_0x43c032,_0x3c4e48);let F=class extends _0x3a7778{constructor(_0x4fc8bc,_0x1b685e,_0x15939d){const _0x3b85ab=_0xc93ab4;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x5ce736()),(this[_0x3b85ab(0x135)]=_0x4fc8bc,this[_0x3b85ab(0x13c)]=_0x1b685e,this[_0x3b85ab(0xec)]=_0x15939d,this['_init']());}[_0xc93ab4(0x1e4)](){const _0x49025c=_0xc93ab4;super[_0x49025c(0x1e4)](),this[_0x49025c(0x2de)]['complete'](),this[_0x49025c(0xfd)][_0x49025c(0x1f3)](_0x24d65c=>_0x24d65c[_0x49025c(0x1e4)]());}[_0xc93ab4(0x2a6)](_0x339cfb){const _0x1d5124=_0xc93ab4;return this[_0x1d5124(0xfd)][_0x1d5124(0x129)](_0x339cfb)?this[_0x1d5124(0xfd)][_0x1d5124(0x258)](_0x339cfb)['cursorInfo$']:this[_0x1d5124(0x2de)]['pipe'](_0x3d5354(_0x187513=>_0x187513[_0x1d5124(0x180)]===_0x339cfb),_0x9fa557(_0x8712b9=>_0x8712b9[_0x1d5124(0x207)]));}[_0xc93ab4(0x11a)](){const _0x3a87c3=_0xc93ab4;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x10fdd2['UNIVER_SHEET'])[_0x3a87c3(0xff)](_0xd8e274(this[_0x3a87c3(0x1a3)]))[_0x3a87c3(0x237)](async _0x462d1a=>{const _0x43af03=_0x3a87c3,_0x44a81c=_0x462d1a[_0x43af03(0x1cd)](),_0x285c2c=await this[_0x43af03(0x131)](_0x44a81c);this[_0x43af03(0x2de)][_0x43af03(0x17e)](_0x285c2c),this[_0x43af03(0xfd)]['set'](_0x44a81c,_0x285c2c);}),this[_0x3a87c3(0x135)][_0x3a87c3(0x221)](_0x10fdd2[_0x3a87c3(0x212)])['pipe'](_0xd8e274(this[_0x3a87c3(0x1a3)]))[_0x3a87c3(0xff)](_0x3d5354(_0x1126af=>!_0x1126af[_0x3a87c3(0x1cd)]()[_0x3a87c3(0x282)]('__')))[_0x3a87c3(0x237)](async _0x48ddba=>{const _0x18d010=_0x3a87c3,_0x56b5cd=_0x48ddba['getUnitId'](),_0x344986=await this[_0x18d010(0x1a4)](_0x56b5cd);this['_entityInit$'][_0x18d010(0x17e)](_0x344986),this[_0x18d010(0xfd)][_0x18d010(0x1ee)](_0x56b5cd,_0x344986);}),_0x21394d(this['_univerInstanceService'][_0x3a87c3(0x1a7)](_0x10fdd2[_0x3a87c3(0x212)]),this[_0x3a87c3(0x135)][_0x3a87c3(0x1a7)](_0x10fdd2[_0x3a87c3(0x29c)]))[_0x3a87c3(0xff)](_0xd8e274(this[_0x3a87c3(0x1a3)]))[_0x3a87c3(0x237)](_0x3ca90e=>{const _0x393320=_0x3a87c3,_0x4d9b68=_0x3ca90e[_0x393320(0x1cd)](),_0x4ace33=this[_0x393320(0xfd)][_0x393320(0x258)](_0x4d9b68);_0x4ace33&&(_0x4ace33[_0x393320(0x1e4)](),this['_entities'][_0x393320(0x163)](_0x4d9b68));});}async[_0xc93ab4(0x131)](_0x20f2df){const _0x17a04f=_0xc93ab4,_0x53efd5=await this[_0x17a04f(0xec)][_0x17a04f(0x118)](_0x20f2df),_0x4f30dc=this['_injector'][_0x17a04f(0x2e2)](Me,_0x20f2df,_0x53efd5);return _0x4f30dc[_0x17a04f(0x117)](),_0x4f30dc;}async['_startDocCollabCursor'](_0x5ceac3){const _0x253543=_0xc93ab4,_0x143683=await this[_0x253543(0xec)][_0x253543(0x118)](_0x5ceac3),_0x1b1c6e=this[_0x253543(0x13c)][_0x253543(0x2e2)](Ue,_0x5ceac3,_0x143683);return _0x1b1c6e['init'](),_0x1b1c6e;}};F=Ai([me(0x0,_0x258533),me(0x1,_0x27e075(_0x10b0d8)),me(0x2,_0x27e075(_0x1baea3))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x2530df,_0x33ee7f){const _0x31612c=_0xc93ab4;let {radius:_0x27b8df,width:_0x4ea61a,height:_0x335669}=_0x33ee7f;_0x27b8df=_0x27b8df!=null?_0x27b8df:0x0,_0x4ea61a=_0x4ea61a!=null?_0x4ea61a:0x1e,_0x335669=_0x335669!=null?_0x335669:0x1e;let _0x17543d=0x0,_0x4ef67b=0x0,_0x53ddf1=0x0;_0x17543d=_0x4ef67b=_0x53ddf1=Math[_0x31612c(0x25a)](_0x27b8df,_0x4ea61a/0x2,_0x335669/0x2),_0x2530df[_0x31612c(0x236)](),_0x2530df['moveTo'](_0x17543d,0x0),_0x2530df[_0x31612c(0x128)](_0x4ea61a-_0x4ef67b,0x0),_0x2530df[_0x31612c(0x26c)](_0x4ea61a-_0x4ef67b,_0x4ef67b,_0x4ef67b,Math['PI']*0x3/0x2,0x0,!0x1),_0x2530df[_0x31612c(0x128)](_0x4ea61a,_0x335669-_0x53ddf1),_0x2530df[_0x31612c(0x26c)](_0x4ea61a-_0x53ddf1,_0x335669-_0x53ddf1,_0x53ddf1,0x0,Math['PI']/0x2,!0x1),_0x2530df[_0x31612c(0x128)](0x0,_0x335669),_0x2530df['lineTo'](0x0,_0x17543d),_0x2530df['arc'](_0x17543d,_0x17543d,_0x17543d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2530df[_0x31612c(0x159)](),_0x33ee7f[_0x31612c(0x231)]&&(_0x2530df[_0x31612c(0x114)](),_0x2530df[_0x31612c(0x115)]=_0x33ee7f['fill'],_0x33ee7f[_0x31612c(0x11c)]===_0x31612c(0x20f)?_0x2530df[_0x31612c(0x231)](_0x31612c(0x20f)):_0x2530df[_0x31612c(0x231)](),_0x2530df[_0x31612c(0x266)]());}class ue extends _0x34922a{constructor(_0xf8c6c7,_0x51cd1b){const _0x1e6388=_0xc93ab4;super(_0xf8c6c7,_0x51cd1b),_(this,_0x1e6388(0x224)),_(this,_0x1e6388(0x2b7)),(this[_0x1e6388(0x224)]=_0x51cd1b==null?void 0x0:_0x51cd1b[_0x1e6388(0x224)],this['text']=_0x51cd1b==null?void 0x0:_0x51cd1b[_0x1e6388(0x2b7)]);}static[_0xc93ab4(0x1b7)](_0x3c1583,_0x29ab6c){const _0x3d9a4e=_0xc93ab4,{text:_0x1c08bf,color:_0x118217}=_0x29ab6c;_0x3c1583[_0x3d9a4e(0x114)](),_0x3c1583[_0x3d9a4e(0x112)]=_0x3d9a4e(0xf8);const _0x1c8aa8=_0x3c1583[_0x3d9a4e(0x29d)](_0x1c08bf)[_0x3d9a4e(0x126)],_0x8a8beb=Math[_0x3d9a4e(0x25a)](_0x1c8aa8+0x2*Ie,Qe);$i(_0x3c1583,{'height':J,'radius':0x4,'width':_0x8a8beb,'fill':_0x118217}),_0x3c1583['fillStyle']=_0x3d9a4e(0x1b9);const _0x2a6a83=Ie,_0x4ad739=J-yi,_0x54c9de=Qe-0x2*Ie;if(_0x1c8aa8>_0x54c9de){let _0x37819a='',_0x3ec7f8=0x0;for(const _0x5e171c of _0x1c08bf){const _0x4ad821=_0x3c1583[_0x3d9a4e(0x29d)](_0x5e171c)[_0x3d9a4e(0x126)];if(_0x3ec7f8+_0x4ad821<=_0x54c9de-_0x3c1583[_0x3d9a4e(0x29d)](_0x3d9a4e(0x22e))[_0x3d9a4e(0x126)])_0x37819a+=_0x5e171c,_0x3ec7f8+=_0x4ad821;else{_0x37819a+=_0x3d9a4e(0x22e);break;}}_0x3c1583['fillText'](_0x37819a,_0x2a6a83,_0x4ad739);}else _0x3c1583[_0x3d9a4e(0x1a2)](_0x1c08bf,_0x2a6a83,_0x4ad739);_0x3c1583[_0x3d9a4e(0x266)]();}[_0xc93ab4(0x253)](_0x163ec4){ue['drawWith'](_0x163ec4,this);}}const ve='collab-text-anchor-',xi=_0xc93ab4(0x2f8),Bi=_0xc93ab4(0x18f),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x35b0be,_0x8c7b7e,_0x248388,_0x169120){const _0xd288ca=_0xc93ab4;_(this,_0xd288ca(0x1a6),[]),_(this,'_anchor',null),_(this,_0xd288ca(0x2a7),null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,_0xd288ca(0x28a),null),(this[_0xd288ca(0x2a9)]=_0x35b0be,this['_scene']=_0x8c7b7e,this['_docSkeleton']=_0x248388,this[_0xd288ca(0x1c1)]=_0x169120,this[_0xd288ca(0xf3)]());}set[_0xc93ab4(0x182)](_0x17ded4){const _0x18356b=_0xc93ab4;_0x17ded4?(this[_0x18356b(0x130)]&&this[_0x18356b(0x130)][_0x18356b(0x1fd)](),this[_0x18356b(0x2a7)]&&this[_0x18356b(0x2a7)][_0x18356b(0x255)]()):(this[_0x18356b(0x130)]&&this[_0x18356b(0x130)]['show'](),this[_0x18356b(0x2a7)]&&this[_0x18356b(0x2a7)]['hide']());}['dispose'](){const _0x5660d3=_0xc93ab4;for(const _0x55d141 of this[_0x5660d3(0x1a6)])_0x55d141['dispose']();this[_0x5660d3(0x2a7)]&&this[_0x5660d3(0x2a7)][_0x5660d3(0x1e4)](),this[_0x5660d3(0x130)]&&this[_0x5660d3(0x130)][_0x5660d3(0x1e4)](),this[_0x5660d3(0x298)]&&this['_anchor'][_0x5660d3(0x1e4)](),this[_0x5660d3(0x28a)]&&this[_0x5660d3(0x28a)]();}[_0xc93ab4(0xf3)](){const _0xfe409a=_0xc93ab4;var _0x1e9d54;const {_docSkeleton:_0x586812,_document:_0x129881}=this,{color:_0x3edc9b,name:_0x1a1d22,ranges:_0x457bad}=this[_0xfe409a(0x2a9)],_0x42acf0=_0x129881[_0xfe409a(0x2a3)](),{docsLeft:_0x69cfd4,docsTop:_0x7bb540}=_0x42acf0,_0x17e2c5=new _0x5d078b(_0x42acf0,_0x586812);for(const {startOffset:_0x86c1b2,endOffset:_0x1e03aa,rangeType:_0x54da17,segmentId:_0x49b24a,segmentPage:_0x5d8ccb,collapsed:_0x51d22a,isActive:_0xd691d8}of _0x457bad){const _0x976033=_0x586812['findNodePositionByCharIndex'](_0x86c1b2,!0x0,_0x49b24a,_0x5d8ccb);let _0xe7a3a4=_0x586812[_0xfe409a(0x2bc)](_0x1e03aa,!0x0,_0x49b24a,_0x5d8ccb);if(_0xe7a3a4==null&&(_0xe7a3a4=_0x586812['findNodePositionByCharIndex'](_0x1e03aa-0x1,!0x1,_0x49b24a,_0x5d8ccb)),_0xd691d8){const {contentBoxPointGroup:_0x550446}=_0x17e2c5[_0xfe409a(0x10c)](_0xe7a3a4,_0xe7a3a4);if(_0x550446[_0xfe409a(0x156)]===0x0)continue;this[_0xfe409a(0x2d3)](_0x3edc9b,_0x550446,_0x69cfd4,_0x7bb540,_0x1a1d22),this[_0xfe409a(0x28a)]=this[_0xfe409a(0x15d)]();}if(_0x976033&&_0xe7a3a4){if(_0x54da17===_0xbb3e80[_0xfe409a(0x2f4)]){const _0x562593=new _0x128026(_0x42acf0,_0x586812),{pointGroup:_0x4bab0d}=(_0x1e9d54=_0x562593[_0xfe409a(0x10c)](_0x976033,_0xe7a3a4))!=null?_0x1e9d54:{};if(_0x4bab0d==null||_0x4bab0d[_0xfe409a(0x156)]===0x0)continue;this['_drawRectRange'](_0x3edc9b,_0x4bab0d,_0x69cfd4,_0x7bb540);}else{if(!_0x51d22a){const {borderBoxPointGroup:_0x3e8e6b}=_0x17e2c5['getRangePointData'](_0x976033,_0xe7a3a4);if(_0x3e8e6b[_0xfe409a(0x156)]===0x0)continue;this[_0xfe409a(0x133)](_0x3edc9b,_0x3e8e6b,_0x69cfd4,_0x7bb540);}}}}}[_0xc93ab4(0x2d3)](_0x6bb51f,_0x2f0e55,_0x528f0a,_0x2933c2,_0x23533f){const _0x3087ec=_0xc93ab4,_0x2e8407=this['_getAnchorBounding'](_0x2f0e55),{left:_0x5cf526,top:_0x3c2d3e,height:_0x2db160}=_0x2e8407,_0x504df7=this[_0x3087ec(0x2a5)](),_0x5746ce=Hi/_0x504df7,_0xe2e209=new _0x255af6(ve+_0x423dd0(K),{'left':_0x5cf526+_0x528f0a-_0x5746ce,'top':_0x3c2d3e+_0x2933c2,'height':_0x2db160,'width':ki,'fill':_0x6bb51f||_0x10a90c(_0x1bb3ba[_0x3087ec(0x1c3)],0x0),'strokeWidth':_0x5746ce,'stroke':Fi,'evented':!0x0});this[_0x3087ec(0x298)]=_0xe2e209,this[_0x3087ec(0x14d)][_0x3087ec(0x2f7)](_0xe2e209,_0x4d3cd4);const _0x2a9fc0=new _0x255af6(ve+_0x423dd0(K),{'left':_0x5cf526+_0x528f0a-_0x5746ce,'top':_0x3c2d3e+_0x2933c2-ge/0x2,'height':ge,'width':ge,'fill':_0x6bb51f||_0x10a90c(_0x1bb3ba[_0x3087ec(0x1c3)],0x0),'strokeWidth':0x0,'stroke':_0x6bb51f||_0x10a90c(_0x1bb3ba[_0x3087ec(0x1c3)],0x0),'evented':!0x1});this[_0x3087ec(0x130)]=_0x2a9fc0,this[_0x3087ec(0x14d)][_0x3087ec(0x2f7)](_0x2a9fc0,_0x4d3cd4);const _0xe13b54=new ue(ve+_0x423dd0(K),{'left':_0x5cf526+_0x528f0a-_0x5746ce,'top':_0x3c2d3e+_0x2933c2-J,'text':_0x23533f,'color':_0x6bb51f});this[_0x3087ec(0x2a7)]=_0xe13b54,this[_0x3087ec(0x14d)][_0x3087ec(0x2f7)](_0xe13b54,_0x4d3cd4),this[_0x3087ec(0x182)]=!0x1;}[_0xc93ab4(0x15d)](){const _0x4892ea=_0xc93ab4,_0x51e0df=this[_0x4892ea(0x298)]['onPointerEnter$'][_0x4892ea(0x162)](()=>{const _0x266489=_0x4892ea;this[_0x266489(0x182)]=!0x0;}),_0x118b26=this[_0x4892ea(0x298)][_0x4892ea(0x2af)][_0x4892ea(0x162)](()=>{const _0x36113b=_0x4892ea;this[_0x36113b(0x137)]&&clearTimeout(this[_0x36113b(0x137)]),this[_0x36113b(0x137)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x213095=_0x4892ea;_0x51e0df[_0x213095(0x11d)](),_0x118b26[_0x213095(0x11d)]();};}[_0xc93ab4(0x133)](_0x1d91fc,_0x2fc382,_0x45ced1,_0x42c01d){const _0x22f377=_0xc93ab4,_0xfc4ab9=new _0x25b927(_0x1d91fc)['setAlpha'](0.2)['toRgbString'](),_0x24c832=new _0x4cafea(xi+_0x423dd0(K),{'pointsGroup':_0x2fc382,'fill':_0xfc4ab9||_0x10a90c(_0x1bb3ba['black'],0.2),'left':_0x45ced1,'top':_0x42c01d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x22f377(0x293)](_0x24c832),this[_0x22f377(0x14d)][_0x22f377(0x2f7)](_0x24c832,_0x4d3cd4);}[_0xc93ab4(0x2b5)](_0x39f8b8,_0x1e0ade,_0x1d3253,_0x30f74a){const _0x156caf=_0xc93ab4,_0x41c16c=new _0x25b927(_0x39f8b8)['setAlpha'](0.2)['toRgbString'](),_0x430562=new _0x4cafea(Bi+_0x423dd0(K),{'pointsGroup':_0x1e0ade,'fill':_0x41c16c||_0x10a90c(_0x1bb3ba[_0x156caf(0x1c3)],0.2),'left':_0x1d3253,'top':_0x30f74a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x430562),this[_0x156caf(0x14d)][_0x156caf(0x2f7)](_0x430562,_0x4d3cd4);}['_getAnchorBounding'](_0x207d20){const _0x41f145=_0x207d20[0x0],_0x5024a3=_0x41f145[0x0],_0x485656=_0x41f145[0x2],{x:_0x4c67f5,y:_0x46e647}=_0x5024a3,{x:_0x364be3,y:_0x2ea8c4}=_0x485656;return{'left':_0x4c67f5,'top':_0x46e647,'width':_0x364be3-_0x4c67f5,'height':_0x2ea8c4-_0x46e647};}[_0xc93ab4(0x2a5)](){const _0x1b3f4c=_0xc93ab4,{scaleX:_0x19fada,scaleY:_0x30eb12}=this[_0x1b3f4c(0x14d)][_0x1b3f4c(0x230)]();return Math['max'](_0x19fada,_0x30eb12);}}var Yi=Object[_0xc93ab4(0x209)],ji=(_0x572ea1,_0x4843bb,_0x23fcfc,_0x3aa5bb)=>{for(var _0x562598=_0x3aa5bb>0x1?void 0x0:_0x3aa5bb?Yi(_0x4843bb,_0x23fcfc):_0x4843bb,_0x496a20=_0x572ea1['length']-0x1,_0x425b84;_0x496a20>=0x0;_0x496a20--)(_0x425b84=_0x572ea1[_0x496a20])&&(_0x562598=_0x425b84(_0x562598)||_0x562598);return _0x562598;},ee=(_0x1e4896,_0x1f8d9f)=>(_0x3155bf,_0x31f2d9)=>_0x1f8d9f(_0x3155bf,_0x31f2d9,_0x1e4896);let Le=class extends _0x3a7778{constructor(_0x315798,_0x493570,_0x373052,_0x2f522d,_0x4c0dc2){const _0x3258c3=_0xc93ab4;super(),_(this,_0x3258c3(0x1c6),[]),_(this,_0x3258c3(0x1a0),[]),(this[_0x3258c3(0x241)]=_0x315798,this[_0x3258c3(0x1fe)]=_0x493570,this[_0x3258c3(0x18c)]=_0x373052,this[_0x3258c3(0x2d5)]=_0x2f522d,this[_0x3258c3(0x20c)]=_0x4c0dc2,this[_0x3258c3(0x11a)]());}[_0xc93ab4(0x11a)](){const _0x3eb41b=_0xc93ab4,_0x2c8cb8=this[_0x3eb41b(0x241)][_0x3eb41b(0x2ab)],_0xaa3d33=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x1f480c([this['_collabCursorController'][_0x3eb41b(0x2a6)](_0x2c8cb8),this[_0x3eb41b(0x20c)]['currentTheme$']])['pipe'](_0x450872(([_0x365b54,_0x56aca4])=>({'skeleton':_0xaa3d33[_0x3eb41b(0x295)](),'cursors':[..._0x365b54[_0x3eb41b(0x1df)]()][_0x3eb41b(0x2a8)](_0x342617=>({..._0x342617,'color':this[_0x3eb41b(0x20c)]['getColorFromTheme'](_0x342617[_0x3eb41b(0x224)])}))})))[_0x3eb41b(0x237)](_0x1985df=>{const _0x46f821=_0x3eb41b;if(this[_0x46f821(0x1c8)](),_0x1985df){const {skeleton:_0x223049,cursors:_0x220591}=_0x1985df;this[_0x46f821(0x153)](_0x223049,_0x220591);}})),this[_0x3eb41b(0x203)](),this[_0x3eb41b(0x121)]();}[_0xc93ab4(0x153)](_0x2b0286,_0x3bae78){const _0x1a707c=_0xc93ab4,{scene:_0xf1a0d0,mainComponent:_0xdb3dbf}=this[_0x1a707c(0x241)],_0x2d91af=_0x3bae78[_0x1a707c(0x2d6)](_0x6e7f3b=>new qe(_0x6e7f3b,_0xf1a0d0,_0x2b0286,_0xdb3dbf));this[_0x1a707c(0x1c6)]=_0x2d91af,this[_0x1a707c(0x1a0)]=_0x3bae78;}['_refreshCollabCursors'](){const _0xad0c26=_0xc93ab4;this['_removeCollabCursors']();const {scene:_0x42311c,mainComponent:_0x1d2866}=this['_context'],_0x5cd352=this[_0xad0c26(0x1fe)]['getSkeleton'](),_0x8089bd=this['_cursors'][_0xad0c26(0x2d6)](_0x2c889f=>new qe(_0x2c889f,_0x42311c,_0x5cd352,_0x1d2866));this['_cursorShapes']=_0x8089bd;}[_0xc93ab4(0x1c8)](){const _0x530f81=_0xc93ab4;this['_cursorShapes'][_0x530f81(0x1f3)](_0x38aaf1=>_0x38aaf1[_0x530f81(0x1e4)]()),this[_0x530f81(0x1c6)]=[];}[_0xc93ab4(0x121)](){const _0x1a8875=_0xc93ab4,_0x630892=[_0x5e92ce['id']];this[_0x1a8875(0x16c)](this[_0x1a8875(0x2d5)][_0x1a8875(0x1f0)](_0x41dd9b=>{const _0x475882=_0x1a8875;_0x630892[_0x475882(0x2e6)](_0x41dd9b['id'])&&_0x41dd9b['params'][_0x475882(0x2ab)]===this[_0x475882(0x241)][_0x475882(0x2ab)]&&this[_0x475882(0x2dd)]();}));}['_initResize'](){const _0x3d2900=_0xc93ab4;this[_0x3d2900(0x16c)](_0x1a69a8(this[_0x3d2900(0x241)][_0x3d2900(0x281)][_0x3d2900(0x20a)])['pipe'](_0x46ff62(_0x41d033=>_0x41d033['type']===_0x4fb126[_0x3d2900(0x248)]),_0x46b128(0x10))[_0x3d2900(0x237)](()=>{const _0x46d5b1=_0x3d2900;this[_0x46d5b1(0x2dd)]();}));}};Le=ji([ee(0x1,_0x27e075(_0x385c62)),ee(0x2,_0x27e075(F)),ee(0x3,_0x512c0b),ee(0x4,_0x27e075(_0x9fe4f0))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x34922a{constructor(_0x375e5a,_0x5ea85f){const _0x3cfed3=_0xc93ab4;super(_0x375e5a,_0x5ea85f),_(this,'_color'),_(this,'_hovered',!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x3cfed3(0x1e7),_0x3cfed3(0x1f8)),_(this,_0x3cfed3(0x198)),(_0x5ea85f&&this['setShapeProps'](_0x5ea85f),this['onPointerEnter$'][_0x3cfed3(0x162)](()=>this[_0x3cfed3(0x1ce)]({'hovered':!0x0})),this['onPointerLeave$'][_0x3cfed3(0x162)](()=>this[_0x3cfed3(0x1ce)]({'hovered':!0x1})));}[_0xc93ab4(0x1ce)](_0xb2b72a){const _0x5fbfb0=_0xc93ab4;var _0x198a81,_0x5bb59c,_0x125233,_0x342653,_0xed414d,_0xad9350;this[_0x5fbfb0(0xee)]=(_0x198a81=_0xb2b72a['color'])!=null?_0x198a81:this[_0x5fbfb0(0xee)],this[_0x5fbfb0(0x2e8)]=(_0x5bb59c=_0xb2b72a['hovered'])!=null?_0x5bb59c:this[_0x5fbfb0(0x2e8)],this[_0x5fbfb0(0x287)]=(_0x125233=_0xb2b72a[_0x5fbfb0(0x24e)])!=null?_0x125233:this[_0x5fbfb0(0x287)],this[_0x5fbfb0(0x2c8)]=(_0x342653=_0xb2b72a[_0x5fbfb0(0x1b8)])!=null?_0x342653:this[_0x5fbfb0(0x2c8)],this[_0x5fbfb0(0x1e7)]=(_0xed414d=_0xb2b72a[_0x5fbfb0(0x239)])!=null?_0xed414d:this[_0x5fbfb0(0x1e7)],this[_0x5fbfb0(0x198)]=(_0xad9350=_0xb2b72a[_0x5fbfb0(0x25b)])!=null?_0xad9350:this[_0x5fbfb0(0x198)],this[_0x5fbfb0(0x1bd)]({'width':_0xb2b72a[_0x5fbfb0(0x126)],'height':_0xb2b72a[_0x5fbfb0(0x27c)]});}['onMouseMove'](_0x11390a){const _0x21ede1=_0xc93ab4,{row:_0x425464,column:_0x29e03a}=_0x11390a;if(_0x425464>=this[_0x21ede1(0x287)][_0x21ede1(0x15e)]&&_0x425464<=this[_0x21ede1(0x287)][_0x21ede1(0xfa)]&&_0x29e03a>=this['_range'][_0x21ede1(0x1d1)]&&_0x29e03a<=this[_0x21ede1(0x287)]['endColumn']){this[_0x21ede1(0x1ce)]({'hovered':!0x0});return;}this[_0x21ede1(0x1ce)]({'hovered':!0x1});}[_0xc93ab4(0x1cc)](_0x4c1162){return!0x1;}[_0xc93ab4(0x253)](_0x4a2bee){const _0x1cd7ac=_0xc93ab4;_0x255af6[_0x1cd7ac(0x1b7)](_0x4a2bee,{'width':this[_0x1cd7ac(0x126)],'height':this[_0x1cd7ac(0x27c)],'strokeWidth':Wi,'stroke':this[_0x1cd7ac(0xee)],'evented':!0x1,'fill':this[_0x1cd7ac(0x198)]}),this['_hovered']&&(_0x4a2bee[_0x1cd7ac(0x114)](),_0x4a2bee['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x1cd7ac(0x1e7)]===_0x1cd7ac(0x1f4)?0x0:-J),ue['drawWith'](_0x4a2bee,{'text':this[_0x1cd7ac(0x2c8)],'color':this['_color']}),_0x4a2bee[_0x1cd7ac(0x266)]());}}var Gi=Object['getOwnPropertyDescriptor'],Ki=(_0x338e34,_0x2a7367,_0x5316cb,_0x290e60)=>{const _0x3847f0=_0xc93ab4;for(var _0x5ed52a=_0x290e60>0x1?void 0x0:_0x290e60?Gi(_0x2a7367,_0x5316cb):_0x2a7367,_0x596f39=_0x338e34[_0x3847f0(0x156)]-0x1,_0x3cdcf2;_0x596f39>=0x0;_0x596f39--)(_0x3cdcf2=_0x338e34[_0x596f39])&&(_0x5ed52a=_0x3cdcf2(_0x5ed52a)||_0x5ed52a);return _0x5ed52a;},pe=(_0x54df5d,_0x1049bd)=>(_0x1332f1,_0xfbeb8f)=>_0x1049bd(_0x1332f1,_0xfbeb8f,_0x54df5d);const zi=0x1389;let Pe=class extends _0x3a7778{constructor(_0x57bacb,_0x5a02fe,_0x2108cc,_0x1aa30c){const _0x25a9ba=_0xc93ab4;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x25a9ba(0x241)]=_0x57bacb,this['_sheetSkeletonManagerService']=_0x5a02fe,this['_collabCursorController']=_0x2108cc,this[_0x25a9ba(0x20c)]=_0x1aa30c,this[_0x25a9ba(0x11a)]());}['_init'](){const _0x48cfe1=_0xc93ab4;this[_0x48cfe1(0x222)][_0x48cfe1(0x1de)][_0x48cfe1(0xff)](_0x43c8c1(this[_0x48cfe1(0x1a3)]),_0x5d78dd(_0x239c27=>{const _0x34d31c=_0x48cfe1;if(_0x239c27){const _0x15e899=_0x239c27['sheetId'];return _0x1f480c(this[_0x34d31c(0x18c)][_0x34d31c(0x2a6)](this[_0x34d31c(0x241)][_0x34d31c(0x2ab)]),this['_themeService'][_0x34d31c(0x16a)])[_0x34d31c(0xff)](_0x450872(([_0x4b839,_0xb3c860])=>{const _0x17115f=_0x34d31c,_0x4bf9c6=new Map();return _0x4b839[_0x17115f(0x1f3)]((_0x572a8b,_0x432b6b)=>{const _0x6a4feb=_0x17115f;if(_0x572a8b[_0x6a4feb(0x238)]===_0x15e899){const _0x3b94f1={..._0x572a8b};_0x3b94f1['color']=this[_0x6a4feb(0x20c)][_0x6a4feb(0x166)](_0x572a8b['color']),_0x4bf9c6[_0x6a4feb(0x1ee)](_0x432b6b,_0x3b94f1);}}),{'skeleton':_0x239c27,'cursors':_0x4bf9c6};}));}return _0x2823d6({'skeleton':null,'cursors':new Map()});}))[_0x48cfe1(0x237)](({skeleton:_0x5324c4,cursors:_0x173bc8})=>{const _0x390be8=_0x48cfe1;this[_0x390be8(0x1c8)](),_0x5324c4&&this[_0x390be8(0x153)](_0x5324c4,_0x173bc8);}),this[_0x48cfe1(0x222)][_0x48cfe1(0x1de)]['subscribe'](_0x177475=>{const _0x227fff=_0x48cfe1;if(_0x177475==null)return;const {skeleton:_0xa23558}=_0x177475,{scene:_0x50207d}=this[_0x227fff(0x241)];_0x50207d[_0x227fff(0x1d8)]['subscribeEvent'](_0x668c9f(_0x17667a=>{const _0x128da6=_0x227fff;var _0x3bfee4,_0x515ed2;const {offsetX:_0x371180,offsetY:_0x44fef6}=_0x17667a,{x:_0x34b610,y:_0x54ca8c}=_0x50207d[_0x128da6(0x12d)](_0x19cb07[_0x128da6(0x100)]([_0x371180,_0x44fef6])),{scaleX:_0x5807bf,scaleY:_0x21a568}=_0x50207d[_0x128da6(0x230)](),_0x20588d=_0x50207d[_0x128da6(0x18b)](_0x51068d[_0x128da6(0x23f)]),_0x36f832=_0x50207d[_0x128da6(0x25e)](_0x19cb07[_0x128da6(0x100)]([_0x34b610,_0x54ca8c]),_0x20588d),_0x489b86=_0xa23558['getCellPositionByOffset'](_0x371180,_0x44fef6,_0x5807bf,_0x21a568,_0x36f832);((_0x3bfee4=this['_lastPointer'])==null?void 0x0:_0x3bfee4['column'])===_0x489b86[_0x128da6(0x28d)]&&((_0x515ed2=this[_0x128da6(0x116)])==null?void 0x0:_0x515ed2[_0x128da6(0x141)])===_0x489b86['row']||this[_0x128da6(0x1a0)][_0x128da6(0x1f3)](_0x4ea154=>{const _0x38fe0d=_0x128da6;_0x4ea154[_0x38fe0d(0x228)](_0x489b86);});},0x64));});}['_updateCollabCursors'](_0x3eaf37,_0x41f1ea){const _0x554343=_0xc93ab4;var _0x8f3524;const _0x2717e3=(_0x8f3524=this[_0x554343(0x222)][_0x554343(0x225)]())==null?void 0x0:_0x8f3524['skeleton'];if(!_0x2717e3)return;const _0xbc1e13=this[_0x554343(0x247)]();if(!_0xbc1e13)return;this['_cursors'][_0x554343(0x1f3)](_0xaf9abe=>{const _0x390b27=_0x554343;_0xaf9abe[_0x390b27(0x1ed)]();});const {scene:_0x2a4166}=_0xbc1e13,_0x1852bb=Ji(Array['from'](_0x41f1ea[_0x554343(0x1df)]()))[_0x554343(0x2d6)](_0x56da1b=>{const _0x33a494=_0x554343,{color:_0x511403,range:_0xcaf088,name:_0x481000,selection:_0x3bdd10,sheetID:_0x3454ab}=_0x56da1b,{startColumn:_0x3df029,startRow:_0x100752,endColumn:_0x1cbf0b,endRow:_0x1ebffc}=_0xcaf088,_0x325972=_0x4ffd35(_0x100752,_0x3df029,_0x2a4166,_0x2717e3),_0x48e85d=_0x4ffd35(_0x1ebffc,_0x1cbf0b,_0x2a4166,_0x2717e3),{columnHeaderHeightAndMarginTop:_0x57f39e}=_0x2717e3,{startX:_0xf878cd,startY:_0x4d3e21}=_0x325972,{endX:_0x5dc9ad,endY:_0x188734}=_0x48e85d,_0x2f7a37=_0x5dc9ad-_0xf878cd,_0x3435e8=_0x188734-_0x4d3e21,_0x1b5e70={'labelPosition':_0x4d3e21-_0x57f39e>=J?_0x33a494(0x1f8):_0x33a494(0x1f4),'sheetID':_0x3454ab,'range':_0xcaf088,'color':_0x511403,'name':_0x481000,'selection':_0x3bdd10,'left':_0xf878cd,'top':_0x4d3e21,'width':_0x2f7a37,'height':_0x3435e8,'evented':!0x1,'zIndex':zi};return new Xi(_0x481000,_0x1b5e70);});_0x2a4166[_0x554343(0x220)](_0x1852bb,Vi),this[_0x554343(0x1a0)]=new Set(_0x1852bb);}[_0xc93ab4(0x1c8)](){const _0x33b60=_0xc93ab4;var _0x1f4706;(_0x1f4706=this[_0x33b60(0x1a0)])==null||_0x1f4706[_0x33b60(0x1f3)](_0x11e398=>_0x11e398[_0x33b60(0x1e4)]());}['_getSheetObject'](){const _0x4bf113=_0xc93ab4;return _0x17f9e0(this[_0x4bf113(0x241)][_0x4bf113(0x2c5)],this[_0x4bf113(0x241)]);}};Pe=Ki([pe(0x1,_0x27e075(_0x170f75)),pe(0x2,_0x27e075(F)),pe(0x3,_0x27e075(_0x9fe4f0))],Pe);function Ji(_0x432a37){const _0x56e9a5=_0xc93ab4,_0x4912a1=new Map();return _0x432a37[_0x56e9a5(0x1f3)](_0x42c33e=>{const _0x264f09=_0x56e9a5;if(_0x4912a1['has'](_0x42c33e['selection'])){const _0xc09bbe=_0x4912a1[_0x264f09(0x258)](_0x42c33e[_0x264f09(0x179)]);_0xc09bbe[_0x264f09(0x1b8)]+=',\x20'+_0x42c33e[_0x264f09(0x1b8)];}else _0x4912a1[_0x264f09(0x1ee)](_0x42c33e[_0x264f09(0x179)],_0x42c33e);}),Array[_0x56e9a5(0x12f)](_0x4912a1['values']());}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x1aac79,_0x2b2f0a,_0x157c12,_0x476ae8)=>{const _0x5cd786=_0xc93ab4;for(var _0x288668=_0x476ae8>0x1?void 0x0:_0x476ae8?Zi(_0x2b2f0a,_0x157c12):_0x2b2f0a,_0xd90d5d=_0x1aac79[_0x5cd786(0x156)]-0x1,_0x52e14f;_0xd90d5d>=0x0;_0xd90d5d--)(_0x52e14f=_0x1aac79[_0xd90d5d])&&(_0x288668=_0x52e14f(_0x288668)||_0x288668);return _0x288668;},B=(_0x1c26c0,_0x35a8eb)=>(_0x520e24,_0x3f9dc7)=>_0x35a8eb(_0x520e24,_0x3f9dc7,_0x1c26c0);let ne=class extends _0x27c934{constructor(_0x374327,_0x350a6e,_0x5385dd,_0x1ca530,_0x4d9264,_0x59b7df){const _0xa96ef2=_0xc93ab4;super(),this[_0xa96ef2(0x1a9)]=_0x374327,this[_0xa96ef2(0x1e6)]=_0x350a6e,this[_0xa96ef2(0x2cf)]=_0x5385dd,this[_0xa96ef2(0x2e9)]=_0x1ca530,this[_0xa96ef2(0x19e)]=_0x4d9264,this['_localeService']=_0x59b7df,this[_0xa96ef2(0x208)](),this[_0xa96ef2(0x155)]();}['_setupBeforeClosingHandler'](){const _0x50fd1f=_0xc93ab4;this[_0x50fd1f(0x16c)](this[_0x50fd1f(0x1a9)][_0x50fd1f(0x1d7)](()=>{const _0x4b8432=_0x50fd1f;if(this['_localCacheService']['saveTaskMap'][_0x4b8432(0x223)])return this['_localeService']['t'](_0x4b8432(0x20b));}));}[_0xc93ab4(0x155)](){const _0xc19e80=_0xc93ab4;this[_0xc19e80(0x16c)](this[_0xc19e80(0x2cf)][_0xc19e80(0x2ba)]['subscribe'](_0x248e07=>{const _0x4a1cec=_0xc19e80;_0x248e07['id']===_0x4fd580[_0x4a1cec(0x1b1)]&&this['_messageService'][_0x4a1cec(0x255)]({'type':_0xabb4bb[_0x4a1cec(0x199)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x248e07['id']===_0x4fd580[_0x4a1cec(0x1fb)]&&this[_0x4a1cec(0x2e9)][_0x4a1cec(0x255)]({'type':_0xabb4bb[_0x4a1cec(0x199)],'content':this[_0x4a1cec(0x1bc)]['t'](_0x4a1cec(0x215))}),_0x248e07['id']===_0x4fd580[_0x4a1cec(0x18d)]&&this[_0x4a1cec(0x19e)][_0x4a1cec(0x255)]({'title':this[_0x4a1cec(0x1bc)]['t'](_0x4a1cec(0x158)),'content':this[_0x4a1cec(0x1bc)]['t'](_0x4a1cec(0x1e8)),'type':_0x4a1cec(0x240),'duration':0x0}),_0x248e07['id']===_0x4fd580[_0x4a1cec(0x12e)]&&this[_0x4a1cec(0x2e9)][_0x4a1cec(0x255)]({'type':_0xabb4bb[_0x4a1cec(0x1e1)],'content':this[_0x4a1cec(0x1bc)]['t'](_0x4a1cec(0x215))+'('+_0x248e07[_0x4a1cec(0x123)]+')'}),_0x248e07['id']===_0x4fd580[_0x4a1cec(0x23c)]&&this['_messageService'][_0x4a1cec(0x255)]({'type':_0xabb4bb['Warning'],'content':this[_0x4a1cec(0x1bc)]['t'](_0x248e07[_0x4a1cec(0x123)]||'')}),_0x248e07['id']===_0x4fd580[_0x4a1cec(0x104)]&&this['_messageService'][_0x4a1cec(0x255)]({'type':_0xabb4bb[_0x4a1cec(0x199)],'content':this[_0x4a1cec(0x1bc)]['t'](_0x4a1cec(0x2b8))}),_0x248e07['id']===_0x4fd580[_0x4a1cec(0x2d7)]&&this['_messageService'][_0x4a1cec(0x255)]({'type':_0xabb4bb[_0x4a1cec(0x1e1)],'content':this['_localeService']['t'](_0x4a1cec(0x103))}),_0x248e07['id']===_0x4fd580[_0x4a1cec(0x15a)]&&this[_0x4a1cec(0x2e9)]['show']({'type':_0xabb4bb[_0x4a1cec(0x1e1)],'content':this[_0x4a1cec(0x1bc)]['t'](_0x4a1cec(0x27d))});}));}};ne=Qi([B(0x0,_0x2554e7),B(0x1,_0x5d30b7),B(0x2,_0x27e075(_0x281bf4)),B(0x3,_0x4de2db),B(0x4,_0x5d6e97),B(0x5,_0x27e075(_0x5aaf6f))],ne);const qi=_0xc93ab4(0x273),et={};var en=Object['getOwnPropertyDescriptor'],tn=(_0xa559c3,_0x8b7688,_0x29f1e7,_0x621cc9)=>{for(var _0x273741=_0x621cc9>0x1?void 0x0:_0x621cc9?en(_0x8b7688,_0x29f1e7):_0x8b7688,_0x4313e7=_0xa559c3['length']-0x1,_0x2b2201;_0x4313e7>=0x0;_0x4313e7--)(_0x2b2201=_0xa559c3[_0x4313e7])&&(_0x273741=_0x2b2201(_0x273741)||_0x273741);return _0x273741;},tt=(_0x4e6482,_0x38f29c)=>(_0x54abd0,_0x45faf2)=>_0x38f29c(_0x54abd0,_0x45faf2,_0x4e6482);let re=class{constructor(_0x555a11,_0x55cf5c){const _0x200b78=_0xc93ab4;this[_0x200b78(0x1d0)]=_0x555a11,this[_0x200b78(0x286)]=_0x55cf5c;}[_0xc93ab4(0x10a)](_0x39f342){const _0x337c89=_0xc93ab4;this[_0x337c89(0x189)](_0x39f342),this[_0x337c89(0x150)](_0x39f342);}[_0xc93ab4(0x2b6)](_0x193bb6){const _0x5720a3=_0xc93ab4,{unitID:_0x10aa3f}=_0x193bb6,_0x25f63b=this[_0x5720a3(0x286)][_0x5720a3(0x13e)](_0x10aa3f)['with'](_0x342b63),{redoCache:_0xb42c35}=_0x25f63b[_0x5720a3(0x278)]();if(_0xb42c35[_0x5720a3(0x156)]===0x0)return _0x193bb6;let _0x339ddf=_0x3b2f38[_0x5720a3(0x2a1)](_0x193bb6['mutations'][0x0]);for(let _0x448f09=0x0;_0x448f09<_0xb42c35[_0x5720a3(0x156)];_0x448f09++){const _0x3ae730={'id':'doc.mutation.rich-text-editing','params':{..._0xb42c35[_0x448f09]}},_0x4804cd=this[_0x5720a3(0x1d0)][_0x5720a3(0x1f1)](_0x339ddf,_0x3ae730,!0x1);if(_0x41588d(_0x4804cd))throw _0x4804cd[_0x5720a3(0x240)];_0x339ddf=_0x4804cd[_0x5720a3(0x1c2)];}return{..._0x3b2f38[_0x5720a3(0x2a1)](_0x193bb6),'mutations':[_0x339ddf]};}['_transformUndoRedoStack'](_0x59bbd0){const _0x306608=_0xc93ab4,{unitID:_0x3a0a40}=_0x59bbd0,_0x5d6c38=this[_0x306608(0x286)][_0x306608(0x13e)](_0x3a0a40)[_0x306608(0x262)](_0x342b63),{undoCache:_0x3bb49e,redoCache:_0x4e323f}=_0x5d6c38[_0x306608(0x278)]();if(_0x3bb49e[_0x306608(0x156)]===0x0||_0x4e323f[_0x306608(0x156)]===0x0)return;const _0x5750f2=[],_0x465d5a=[];let _0x28daaa=_0x3b2f38[_0x306608(0x2a1)](_0x59bbd0[_0x306608(0x125)][0x0]),_0x260a2d=_0x3b2f38[_0x306608(0x2a1)](_0x59bbd0[_0x306608(0x125)][0x0]);for(let _0x283cb4=_0x3bb49e[_0x306608(0x156)]-0x1;_0x283cb4>=0x0;_0x283cb4--){const _0x21fec9={'id':_0x306608(0x28f),'params':{..._0x3bb49e[_0x283cb4]}},_0x8a414d={'id':_0x306608(0x28f),'params':{..._0x4e323f[_0x283cb4]}},_0x14aa9f=this[_0x306608(0x1d0)][_0x306608(0x1f1)](_0x28daaa,_0x21fec9,!0x1),_0x3666c0=this[_0x306608(0x1d0)]['transformMutation'](_0x260a2d,_0x8a414d,!0x1);if(_0x41588d(_0x14aa9f))throw _0x14aa9f['error'];if(_0x41588d(_0x3666c0))throw _0x3666c0[_0x306608(0x240)];_0x5750f2['unshift'](_0x14aa9f[_0x306608(0x19c)]['params']),_0x465d5a[_0x306608(0x2c2)](_0x3666c0[_0x306608(0x19c)][_0x306608(0x18a)]),_0x28daaa=_0x14aa9f[_0x306608(0x1c2)],_0x260a2d=_0x3666c0[_0x306608(0x1c2)];}_0x5d6c38[_0x306608(0x21c)]({'undoCache':_0x5750f2,'redoCache':_0x465d5a});}[_0xc93ab4(0x150)](_0x2c9e54){const _0x3daed6=_0xc93ab4,{unitID:_0x18ee10}=_0x2c9e54,_0x21957b=this['_renderManagerService'][_0x3daed6(0x13e)](_0x18ee10)[_0x3daed6(0x262)](_0x342b63),_0x29c09f=_0x21957b[_0x3daed6(0x2c6)]();if(_0x29c09f==null)return;const _0x300fa7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c9e54[_0x3daed6(0x180)],'actions':null,'textRanges':[_0x29c09f]}}],_0x5dd2aa=this[_0x3daed6(0x1d0)][_0x3daed6(0x226)](_0x2c9e54,_0x300fa7);if(!_0x1e50d5(_0x5dd2aa))throw _0x5dd2aa[_0x3daed6(0x240)];const _0x2c3148=_0x5dd2aa[_0x3daed6(0x19c)][0x0][_0x3daed6(0x18a)]['textRanges'];Array[_0x3daed6(0x14a)](_0x2c3148)&&_0x2c3148[_0x3daed6(0x156)]&&_0x21957b[_0x3daed6(0x244)](_0x2c3148[0x0]);}};re=tn([tt(0x0,_0x4d4592),tt(0x1,_0x3bc586)],re);function _0x2ac3(_0x26db64,_0x43de92){const _0x3ae50b=_0x3ae5();return _0x2ac3=function(_0x2ac329,_0x568a2e){_0x2ac329=_0x2ac329-0xec;let _0x358c2f=_0x3ae50b[_0x2ac329];return _0x358c2f;},_0x2ac3(_0x26db64,_0x43de92);}var sn=Object[_0xc93ab4(0x209)],nn=(_0x20ae4d,_0x3e044b,_0x58fd66,_0x59ff28)=>{const _0x71a36=_0xc93ab4;for(var _0x58ca9c=_0x59ff28>0x1?void 0x0:_0x59ff28?sn(_0x3e044b,_0x58fd66):_0x3e044b,_0x2e0072=_0x20ae4d[_0x71a36(0x156)]-0x1,_0x4a7fd1;_0x2e0072>=0x0;_0x2e0072--)(_0x4a7fd1=_0x20ae4d[_0x2e0072])&&(_0x58ca9c=_0x4a7fd1(_0x58ca9c)||_0x58ca9c);return _0x58ca9c;},Ce=(_0x3c5ef1,_0x4e48eb)=>(_0x48a294,_0x5f3ec3)=>_0x4e48eb(_0x48a294,_0x5f3ec3,_0x3c5ef1);let oe=class{constructor(_0x50b2ed,_0x289c7e,_0x134452){const _0x566757=_0xc93ab4;this[_0x566757(0x13c)]=_0x50b2ed,this[_0x566757(0x1d0)]=_0x289c7e,this[_0x566757(0x217)]=_0x134452;}[_0xc93ab4(0x102)](_0x57c7bc){this['_transformHistoryAndStateStack'](_0x57c7bc);}[_0xc93ab4(0x2b6)](_0x27860d){const _0x7096a5=_0xc93ab4,{unitID:_0x14e233}=_0x27860d,{collaboration:_0x3228f0}=this[_0x7096a5(0x217)][_0x7096a5(0x10f)](_0x14e233);if(_0x3228f0['length']===0x0)return _0x27860d;let _0x1534e3=_0x3b2f38[_0x7096a5(0x2a1)](_0x27860d[_0x7096a5(0x125)][0x0]);for(let _0x2382c6=0x0;_0x2382c6<_0x3228f0['length'];_0x2382c6++){const _0x55843e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3228f0[_0x2382c6][_0x7096a5(0x2ab)],..._0x3228f0[_0x2382c6]['redoState']}},_0x35e509=this[_0x7096a5(0x1d0)][_0x7096a5(0x1f1)](_0x1534e3,_0x55843e,!0x1);if(_0x41588d(_0x35e509))throw _0x35e509[_0x7096a5(0x240)];_0x1534e3=_0x35e509[_0x7096a5(0x1c2)];}return{..._0x3b2f38[_0x7096a5(0x2a1)](_0x27860d),'mutations':[_0x1534e3]};}[_0xc93ab4(0x113)](_0x200854){const _0x179b5c=_0xc93ab4,{unitID:_0x331052}=_0x200854,{history:_0x326680,collaboration:_0x317251}=this[_0x179b5c(0x217)][_0x179b5c(0x10f)](_0x331052);if(_0x326680['length']===0x0&&_0x317251[_0x179b5c(0x156)]===0x0)return;const _0x41adca=[],_0x35fa66=[];let _0x472461=_0x3b2f38['deepClone'](_0x200854['mutations'][0x0]),_0x1174f8=_0x3b2f38[_0x179b5c(0x2a1)](_0x200854[_0x179b5c(0x125)][0x0]);for(let _0x3fd613=_0x326680[_0x179b5c(0x156)]-0x1;_0x3fd613>=0x0;_0x3fd613--){const _0x5625b4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x326680[_0x3fd613][_0x179b5c(0x2ab)],..._0x326680[_0x3fd613][_0x179b5c(0x24d)]}},_0x48f1d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x326680[_0x3fd613][_0x179b5c(0x2ab)],..._0x326680[_0x3fd613][_0x179b5c(0x17c)]}},_0x37a6c2=this['_transformService'][_0x179b5c(0x1f1)](_0x472461,_0x5625b4,!0x1),_0x37cc74=this[_0x179b5c(0x1d0)][_0x179b5c(0x1f1)](_0x1174f8,_0x48f1d5,!0x1);if(_0x41588d(_0x37a6c2))throw _0x37a6c2[_0x179b5c(0x240)];if(_0x41588d(_0x37cc74))throw _0x37cc74[_0x179b5c(0x240)];_0x41adca[_0x179b5c(0x2c2)]({..._0x326680[_0x3fd613],'undoState':_0x37a6c2[_0x179b5c(0x19c)][_0x179b5c(0x18a)],'redoState':_0x37cc74[_0x179b5c(0x19c)]['params']}),_0x472461=_0x37a6c2[_0x179b5c(0x1c2)],_0x1174f8=_0x37cc74[_0x179b5c(0x1c2)];}_0x472461=_0x3b2f38['deepClone'](_0x200854['mutations'][0x0]),_0x1174f8=_0x3b2f38[_0x179b5c(0x2a1)](_0x200854[_0x179b5c(0x125)][0x0]);for(let _0x45ba77=_0x317251[_0x179b5c(0x156)]-0x1;_0x45ba77>=0x0;_0x45ba77--){const _0x9a238e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x317251[_0x45ba77][_0x179b5c(0x2ab)],..._0x317251[_0x45ba77]['undoState']}},_0x572842={'id':_0x179b5c(0x28f),'params':{'unitId':_0x317251[_0x45ba77][_0x179b5c(0x2ab)],..._0x317251[_0x45ba77][_0x179b5c(0x17c)]}},_0x2336fa=this[_0x179b5c(0x1d0)]['transformMutation'](_0x472461,_0x9a238e,!0x1),_0x391c5a=this[_0x179b5c(0x1d0)][_0x179b5c(0x1f1)](_0x1174f8,_0x572842,!0x1);if(_0x41588d(_0x2336fa))throw _0x2336fa['error'];if(_0x41588d(_0x391c5a))throw _0x391c5a['error'];_0x35fa66['unshift']({..._0x317251[_0x45ba77],'undoState':_0x2336fa[_0x179b5c(0x19c)]['params'],'redoState':_0x391c5a[_0x179b5c(0x19c)][_0x179b5c(0x18a)]}),_0x472461=_0x2336fa[_0x179b5c(0x1c2)],_0x1174f8=_0x391c5a['m1Prime'];}this[_0x179b5c(0x217)]['setStateCache'](_0x331052,{'history':_0x41adca,'collaboration':_0x35fa66});}};oe=nn([Ce(0x0,_0x27e075(_0x10b0d8)),Ce(0x1,_0x4d4592),Ce(0x2,_0x27e075(_0x224e4b))],oe);var rn=Object[_0xc93ab4(0x209)],on=(_0x392bb8,_0x164d88,_0x47a171,_0x4844c2)=>{const _0x71929=_0xc93ab4;for(var _0x543f7b=_0x4844c2>0x1?void 0x0:_0x4844c2?rn(_0x164d88,_0x47a171):_0x164d88,_0x5083de=_0x392bb8[_0x71929(0x156)]-0x1,_0x3726c2;_0x5083de>=0x0;_0x5083de--)(_0x3726c2=_0x392bb8[_0x5083de])&&(_0x543f7b=_0x3726c2(_0x543f7b)||_0x543f7b);return _0x543f7b;},st=(_0x2cbf5e,_0x75254f)=>(_0x43a25a,_0x325707)=>_0x75254f(_0x43a25a,_0x325707,_0x2cbf5e);let ae=class{constructor(_0xdebfc9,_0x3d39ed){const _0x3de72e=_0xc93ab4;this['_injector']=_0xdebfc9,this[_0x3de72e(0x1d0)]=_0x3d39ed;}['transformSelections'](_0x5e4f79){const _0x2ac554=_0xc93ab4;var _0x10e9b8;const _0x336259=this['_injector'][_0x2ac554(0x258)](_0x2431cc),_0x5d9b37=(_0x10e9b8=_0x336259[_0x2ac554(0x134)]())!=null?_0x10e9b8:[];if(_0x5d9b37[_0x2ac554(0x156)]===0x0)return;const _0x444fbb=_0x5e4f79[_0x2ac554(0x180)],_0x17ea6b=[{'id':_0x2ac554(0x28f),'params':{'unitId':_0x444fbb,'actions':null,'textRanges':_0x5d9b37}}],_0x7853d4=this['_transformService'][_0x2ac554(0x226)](_0x5e4f79,_0x17ea6b);if(!_0x1e50d5(_0x7853d4))throw _0x7853d4[_0x2ac554(0x240)];const _0x5e50cf=_0x7853d4[_0x2ac554(0x19c)][0x0][_0x2ac554(0x18a)][_0x2ac554(0x276)];Array['isArray'](_0x5e50cf)&&_0x5e50cf[_0x2ac554(0x156)]&&_0x336259[_0x2ac554(0x19d)](_0x5e50cf,{'unitId':_0x444fbb,'subUnitId':_0x444fbb},!0x1);}};ae=on([st(0x0,_0x27e075(_0x10b0d8)),st(0x1,_0x4d4592)],ae);var an=Object[_0xc93ab4(0x209)],cn=(_0x19273b,_0x30c39d,_0x446818,_0x26e9fd)=>{for(var _0xb83270=_0x26e9fd>0x1?void 0x0:_0x26e9fd?an(_0x30c39d,_0x446818):_0x30c39d,_0x28b261=_0x19273b['length']-0x1,_0x5bad58;_0x28b261>=0x0;_0x28b261--)(_0x5bad58=_0x19273b[_0x28b261])&&(_0xb83270=_0x5bad58(_0xb83270)||_0xb83270);return _0xb83270;},N=(_0x1fce2c,_0x5ea206)=>(_0x594767,_0x327ad6)=>_0x5ea206(_0x594767,_0x327ad6,_0x1fce2c);let ce=class extends _0x27c934{constructor(_0x2c2998,_0x190cda,_0x5276a5,_0x3b27cf,_0x1d9b72,_0x6f52e,_0x1b0fa9,_0x1989f3){const _0x10ac29=_0xc93ab4;super(),_(this,_0x10ac29(0x1ac),new _0x554b53(_0x2d86fd[_0x10ac29(0x101)])),(this['_docStateChangeManagerService']=_0x2c2998,this[_0x10ac29(0x2b0)]=_0x190cda,this[_0x10ac29(0x110)]=_0x5276a5,this[_0x10ac29(0x2ce)]=_0x3b27cf,this[_0x10ac29(0x271)]=_0x1d9b72,this[_0x10ac29(0x2be)]=_0x6f52e,this[_0x10ac29(0x2e9)]=_0x1b0fa9,this[_0x10ac29(0x1bc)]=_0x1989f3,this[_0x10ac29(0x2cd)]());}[_0xc93ab4(0x2cd)](){const _0xaaa729=_0xc93ab4;this[_0xaaa729(0x16c)](this[_0xaaa729(0x2b0)][_0xaaa729(0x256)][_0xaaa729(0x237)](_0x498a81=>{const _0x2d5d82=_0xaaa729,_0xeef7e4=this[_0x2d5d82(0x217)][_0x2d5d82(0x21d)][_0x2d5d82(0x237)](_0x22650e=>{const _0x31e7a3=_0x2d5d82;if(_0x22650e==null)return;const {unitId:_0x1acb2f,redoState:_0x21b55f,commandId:_0x20fabc}=_0x22650e;if(_0x1acb2f!==_0x498a81[_0x31e7a3(0x180)])return;const _0x402507={'id':_0x20fabc,'type':_0xe83a98[_0x31e7a3(0x26d)],'params':{'unitId':_0x1acb2f,'actions':_0x21b55f[_0x31e7a3(0x1ec)],'textRanges':null}};_0x498a81[_0x31e7a3(0x264)](_0x402507);});if(_0x498a81[_0x2d5d82(0x16c)](_0xeef7e4),_0x498a81 instanceof _0x950216){const _0x25e1ac={'onTransformIME':_0x37793a=>this[_0x2d5d82(0x110)][_0x2d5d82(0x10a)](_0x37793a),'onTransformState':_0x9ce152=>this[_0x2d5d82(0x2ce)]['transformStateCache'](_0x9ce152),'onTransformSelections':_0x259ebe=>this[_0x2d5d82(0x271)][_0x2d5d82(0x1ef)](_0x259ebe),'onSyncEditingCollabCursor':_0x4ba176=>this['_docSyncEditingCollabCursorService'][_0x2d5d82(0x292)](_0x4ba176),'onTransformRemoteChangesetByIMECache':_0x65e380=>this[_0x2d5d82(0x110)][_0x2d5d82(0x2b6)](_0x65e380),'onTransformRemoteChangesetByStateCache':_0x1f6ba1=>this[_0x2d5d82(0x2ce)][_0x2d5d82(0x2b6)](_0x1f6ba1)};_0x498a81[_0x2d5d82(0x11e)](_0x25e1ac);}}));}};ce=cn([N(0x0,_0x27e075(_0x224e4b)),N(0x1,_0x27e075(_0x246f38)),N(0x2,_0x27e075(re)),N(0x3,_0x27e075(oe)),N(0x4,_0x27e075(ae)),N(0x5,_0x27e075(Fe)),N(0x6,_0x4de2db),N(0x7,_0x27e075(_0x5aaf6f))],ce);var ln=Object[_0xc93ab4(0x209)],_n=(_0x57c6df,_0x5635d0,_0x4bc798,_0xcdab40)=>{for(var _0x5ba6d0=_0xcdab40>0x1?void 0x0:_0xcdab40?ln(_0x5635d0,_0x4bc798):_0x5635d0,_0x474f28=_0x57c6df['length']-0x1,_0x3a6665;_0x474f28>=0x0;_0x474f28--)(_0x3a6665=_0x57c6df[_0x474f28])&&(_0x5ba6d0=_0x3a6665(_0x5ba6d0)||_0x5ba6d0);return _0x5ba6d0;},Ee=(_0xf05970,_0x5e7b9e)=>(_0x512477,_0x3ba4b3)=>_0x5e7b9e(_0x512477,_0x3ba4b3,_0xf05970);let we=class extends _0x27c934{constructor(_0x558383,_0xf9cf3f,_0x46106c){const _0x216ef5=_0xc93ab4;super(),_(this,_0x216ef5(0x277),new Map()),_(this,_0x216ef5(0x28c),new Map()),_(this,_0x216ef5(0x13a),!0x1),(this[_0x216ef5(0x139)]=_0x558383,this[_0x216ef5(0x191)]=_0xf9cf3f,this[_0x216ef5(0x210)]=_0x46106c);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0xc93ab4(0x2ad)](){const _0x2250e1=_0xc93ab4;this[_0x2250e1(0x13a)]=!0x1;}get[_0xc93ab4(0x211)](){return this['_saveTaskMap'];}[_0xc93ab4(0x1e4)](){const _0xa2b9e=_0xc93ab4;this[_0xa2b9e(0x108)]()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x4beb42){const _0xf34c2=_0xc93ab4;return this[_0xf34c2(0x13a)]?null:this[_0xf34c2(0x191)][_0xf34c2(0x2d1)](_0x21d7fa(_0x4beb42));}async[_0xc93ab4(0x106)](_0x354239,_0x543f42){const _0x52da8c=_0xc93ab4;return!!this[_0x52da8c(0x191)]['setItem'](_0x354239,_0x543f42);}[_0xc93ab4(0x202)](_0x29b086,_0x2fc7ef,_0x3145b0,_0xb071cb){const _0x2e709d=_0xc93ab4,_0x23f181=this['_revisionService'][_0x2e709d(0x16e)](_0x29b086);this['_cachedData']['set'](_0x29b086,{'unitID':_0x29b086,'type':_0x2fc7ef,'awaitingChangeset':_0x3145b0,'mutations':_0xb071cb,'rev':_0x23f181}),this['_saveTaskMap'][_0x2e709d(0x129)](_0x29b086)||this[_0x2e709d(0x1ae)](_0x29b086);}['_scheduleSaving'](_0xd36e09){const _0x31071d=_0xc93ab4,_0x472822=this['_getSaveTimeout']();_0x472822===0x0?this[_0x31071d(0x213)](_0xd36e09):this['_saveTaskMap']['set'](_0xd36e09,setTimeout(()=>this['_saveCache'](_0xd36e09),_0x472822));}[_0xc93ab4(0x22a)](){const _0x270a4e=_0xc93ab4;var _0xc948e8;return(_0xc948e8=this['_configService'][_0x270a4e(0x1ff)](_0x2a575e))!=null?_0xc948e8:_0xcc4e36;}[_0xc93ab4(0x213)](_0x5c1733){const _0xd2e3f4=_0xc93ab4,_0x1159a1=this['_saveTaskMap'][_0xd2e3f4(0x258)](_0x5c1733);return _0x1159a1!==void 0x0&&window[_0xd2e3f4(0x2fd)](_0x1159a1),this[_0xd2e3f4(0x191)][_0xd2e3f4(0x2f6)](_0x21d7fa(_0x5c1733),this[_0xd2e3f4(0x277)][_0xd2e3f4(0x258)](_0x5c1733))[_0xd2e3f4(0x270)](()=>this['_saveTaskMap'][_0xd2e3f4(0x163)](_0x5c1733));}async[_0xc93ab4(0x108)](){const _0x5b772d=_0xc93ab4,_0x385afe=[];this['_saveTaskMap'][_0x5b772d(0x1f3)]((_0xd057d,_0x29ff0e)=>{const _0x1ac666=_0x5b772d;window[_0x1ac666(0x2fd)](_0xd057d),_0x385afe[_0x1ac666(0x293)](this['_saveCache'](_0x29ff0e)['then'](()=>{const _0x5c8d86=_0x1ac666;this['_saveTaskMap'][_0x5c8d86(0x163)](_0x29ff0e);}));}),await Promise['all'](_0x385afe);}};we=_n([Ee(0x0,_0xdf0cb4),Ee(0x1,_0x299a5f),Ee(0x2,_0x27e075(_0x207165))],we);class hn extends _0x3a7778{constructor(){const _0x4e5ada=_0xc93ab4;super(),_(this,_0x4e5ada(0x2ea)),this[_0x4e5ada(0x2ea)]=_0x43611e(window,_0x4e5ada(0x2db))[_0x4e5ada(0xff)](_0xd8e274(this[_0x4e5ada(0x1a3)]),_0x252fc5(0x1),_0x4d8cb2(void 0x0));}[_0xc93ab4(0x29e)](_0x2453d0,_0x4a2881,_0x3e59bc=!0x1){const _0xc7403a=_0xc93ab4,_0x2546e2=new URL(window[_0xc7403a(0x2bb)]['href']);_0x2546e2[_0xc7403a(0x26e)]['set'](_0x2453d0,_0x4a2881),_0x3e59bc?window['history'][_0xc7403a(0x28b)]('','',_0x2546e2[_0xc7403a(0x132)]()):window[_0xc7403a(0x2bd)][_0xc7403a(0x204)]('','',_0x2546e2[_0xc7403a(0x132)]());}['removeParam'](_0x575d1b,_0x530f5f=!0x1){const _0x34b1de=_0xc93ab4,_0x5970da=new URL(window['location'][_0x34b1de(0x146)]);_0x5970da['searchParams']['delete'](_0x575d1b),_0x530f5f?window['history'][_0x34b1de(0x28b)]('','',_0x5970da[_0x34b1de(0x132)]()):window['history'][_0x34b1de(0x204)]('','',_0x5970da[_0x34b1de(0x132)]());}['getParam'](_0x43b86d){const _0x4d4ebe=_0xc93ab4;var _0x25dfc5;return(_0x25dfc5=new URL(window[_0x4d4ebe(0x2bb)][_0x4d4ebe(0x146)])['searchParams'][_0x4d4ebe(0x258)](_0x43b86d))!=null?_0x25dfc5:void 0x0;}}var un=Object[_0xc93ab4(0x178)],dn=Object[_0xc93ab4(0x209)],fn=(_0x563ea1,_0x32d389,_0x1b7921)=>_0x32d389 in _0x563ea1?un(_0x563ea1,_0x32d389,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b7921}):_0x563ea1[_0x32d389]=_0x1b7921,Sn=(_0x3faa78,_0x81a91e,_0x47b18a,_0x3a5aa8)=>{const _0x570812=_0xc93ab4;for(var _0x4b1fb3=_0x3a5aa8>0x1?void 0x0:_0x3a5aa8?dn(_0x81a91e,_0x47b18a):_0x81a91e,_0x57c992=_0x3faa78[_0x570812(0x156)]-0x1,_0x1c0ac1;_0x57c992>=0x0;_0x57c992--)(_0x1c0ac1=_0x3faa78[_0x57c992])&&(_0x4b1fb3=_0x1c0ac1(_0x4b1fb3)||_0x4b1fb3);return _0x4b1fb3;},Oe=(_0x1c48a8,_0x254ad8)=>(_0x26ebf2,_0x551c64)=>_0x254ad8(_0x26ebf2,_0x551c64,_0x1c48a8),mn=(_0x10acb9,_0x1fd8ac,_0xa86fb4)=>fn(_0x10acb9,_0x1fd8ac+'',_0xa86fb4);const In=_0xc93ab4(0x206);let Ae=class extends _0x34cfa1{constructor(_0x3b698d=et,_0x1e8d5f,_0x596366,_0xab7278){const _0x352e79=_0xc93ab4;super(),this[_0x352e79(0xf6)]=_0x3b698d,this[_0x352e79(0x286)]=_0x1e8d5f,this['_injector']=_0x596366,this[_0x352e79(0x139)]=_0xab7278;const {..._0x11744a}=_0x1e7230({},et,this[_0x352e79(0xf6)]);this[_0x352e79(0x139)][_0x352e79(0x1f9)](qi,_0x11744a);}[_0xc93ab4(0x2c3)](){const _0x16477f=_0xc93ab4;this[_0x16477f(0x27f)](),this['_initDependencies']();}[_0xc93ab4(0x14e)](){const _0x39427f=_0xc93ab4;this[_0x39427f(0x25d)]();}[_0xc93ab4(0x27f)](){const _0x982da5=_0xc93ab4;var _0x2392be;const _0x2e7a2a=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x38082e,{'useClass':_0x257068}],[_0x5d30b7,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x53c282(this[_0x982da5(0x13c)],_0x12fdf7(_0x2e7a2a,(_0x2392be=this[_0x982da5(0xf6)])==null?void 0x0:_0x2392be[_0x982da5(0x185)]));}[_0xc93ab4(0x25d)](){const _0x1d0da6=_0xc93ab4;this[_0x1d0da6(0x16c)](this[_0x1d0da6(0x286)][_0x1d0da6(0x2c7)](_0x10fdd2['UNIVER_DOC'],[Le])),this[_0x1d0da6(0x16c)](this[_0x1d0da6(0x286)][_0x1d0da6(0x2c7)](_0x10fdd2[_0x1d0da6(0x29c)],[Pe]));}['_initDependencies'](){_0x34d608(this['_injector'],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x3f5675(_0x1690ec),Oe(0x1,_0x3bc586),Oe(0x2,_0x27e075(_0x10b0d8)),Oe(0x3,_0xdf0cb4)],Ae);var vn=Object['getOwnPropertyDescriptor'],gn=(_0xfcdedb,_0x56113a,_0x1470b8,_0x30cec0)=>{for(var _0x2c81b1=_0x30cec0>0x1?void 0x0:_0x30cec0?vn(_0x56113a,_0x1470b8):_0x56113a,_0x3798ad=_0xfcdedb['length']-0x1,_0x1248da;_0x3798ad>=0x0;_0x3798ad--)(_0x1248da=_0xfcdedb[_0x3798ad])&&(_0x2c81b1=_0x1248da(_0x2c81b1)||_0x2c81b1);return _0x2c81b1;},z=(_0x582f82,_0x5c938a)=>(_0x1db7e4,_0xe07382)=>_0x5c938a(_0x1db7e4,_0xe07382,_0x582f82);let it=class extends _0x3058d9{constructor(_0x511005,_0x5629b2,_0xef8a0d,_0x39766e,_0x4ff2f0){super(_0x511005,_0x5629b2,_0xef8a0d,_0x39766e,_0x4ff2f0);}async[_0xc93ab4(0x1c9)](_0x4f60e0){const _0x144196=_0xc93ab4,_0x367916=await this[_0x144196(0x1be)](),_0x4d00d6=this[_0x144196(0x1dc)](_0x4f60e0,_0x367916);return this[_0x144196(0x192)](_0x4d00d6);}[_0xc93ab4(0x1dc)](_0x585b41,_0x1e1ce4){const _0x5d6351=_0xc93ab4,_0x2d4844=typeof window>'u'?new URL(_0x585b41):new URL(_0x585b41,window[_0x5d6351(0x2bb)][_0x5d6351(0x2d2)]);_0x2d4844[_0x5d6351(0x26e)][_0x5d6351(0x1ee)]('sessionTicket',_0x1e1ce4);const _0x31dbd1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5d6351(0x2bb)][_0x5d6351(0x250)]);return _0x31dbd1['get']('runId')&&_0x2d4844['searchParams'][_0x5d6351(0x1ee)](_0x5d6351(0x1ad),_0x31dbd1['get'](_0x5d6351(0x1ad))),_0x2d4844[_0x5d6351(0x132)]();}async[_0xc93ab4(0x1be)](){const _0x48d62d=_0xc93ab4;var _0x5a35f9,_0xf382a5,_0x5c07c4;const _0x1098b9=this[_0x48d62d(0x139)][_0x48d62d(0x1ff)](_0x13cfc4),_0x50cf2a=(_0x5a35f9=_0x1098b9==null?void 0x0:_0x1098b9[_0x48d62d(0xf1)])!=null?_0x5a35f9:_0x54d763;return(_0x5c07c4=(_0xf382a5=(await this[_0x48d62d(0x219)][_0x48d62d(0x258)](_0x50cf2a,{'headers':{'Content-Type':_0x48d62d(0x19b)}}))[_0x48d62d(0x143)])==null?void 0x0:_0xf382a5['ticket'])!=null?_0x5c07c4:'';}};it=gn([z(0x0,_0x27e075(_0x10b0d8)),z(0x1,_0x27e075(_0x5f176e)),z(0x2,_0xdf0cb4),z(0x3,_0x1552a6),z(0x4,_0x5109e9)],it);var Lt=(_0x345a6a=>(_0x345a6a[_0x345a6a[_0xc93ab4(0x2fa)]=0x0]=_0xc93ab4(0x2fa),_0x345a6a[_0x345a6a['OK']=0x1]='OK',_0x345a6a[_0x345a6a[_0xc93ab4(0x201)]=0x2]=_0xc93ab4(0x201),_0x345a6a[_0x345a6a[_0xc93ab4(0x18d)]=0x3]=_0xc93ab4(0x18d),_0x345a6a[_0x345a6a[_0xc93ab4(0x2ed)]=0x4]='NOT_FOUND',_0x345a6a[_0x345a6a[_0xc93ab4(0x174)]=0x5]=_0xc93ab4(0x174),_0x345a6a[_0x345a6a[_0xc93ab4(0x1a8)]=0x6]=_0xc93ab4(0x1a8),_0x345a6a[_0x345a6a['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x345a6a[_0x345a6a[_0xc93ab4(0x234)]=0x8]=_0xc93ab4(0x234),_0x345a6a[_0x345a6a[_0xc93ab4(0x15c)]=0x9]=_0xc93ab4(0x15c),_0x345a6a[_0x345a6a[_0xc93ab4(0x11b)]=0xa]='LOGIN_FAILED',_0x345a6a[_0x345a6a['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x345a6a[_0x345a6a['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0xc93ab4(0x265),_0x345a6a[_0x345a6a[_0xc93ab4(0x205)]=0xd]=_0xc93ab4(0x205),_0x345a6a[_0x345a6a[_0xc93ab4(0xef)]=0xe]=_0xc93ab4(0xef),_0x345a6a[_0x345a6a[_0xc93ab4(0x25c)]=0x1389]=_0xc93ab4(0x25c),_0x345a6a[_0x345a6a[_0xc93ab4(0x1e5)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x345a6a[_0x345a6a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xc93ab4(0x25f),_0x345a6a[_0x345a6a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xc93ab4(0x2f2),_0x345a6a[_0x345a6a['APPLY_REJECT']=0x1b59]=_0xc93ab4(0x142),_0x345a6a[_0x345a6a[_0xc93ab4(0x2f3)]=0x1b5a]=_0xc93ab4(0x2f3),_0x345a6a[_0x345a6a[_0xc93ab4(0x152)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x345a6a[_0x345a6a[_0xc93ab4(0x2a2)]=0x1b5c]=_0xc93ab4(0x2a2),_0x345a6a[_0x345a6a[_0xc93ab4(0x111)]=0x1b5d]=_0xc93ab4(0x111),_0x345a6a[_0x345a6a[_0xc93ab4(0x1d9)]=0x1f41]=_0xc93ab4(0x1d9),_0x345a6a[_0x345a6a[_0xc93ab4(0x176)]=0x2329]=_0xc93ab4(0x176),_0x345a6a[_0x345a6a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xc93ab4(0x2f1),_0x345a6a[_0x345a6a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xc93ab4(0x2d9),_0x345a6a[_0x345a6a[_0xc93ab4(0x1fa)]=0x232c]=_0xc93ab4(0x1fa),_0x345a6a[_0x345a6a[_0xc93ab4(0x214)]=0x232d]=_0xc93ab4(0x214),_0x345a6a[_0x345a6a[_0xc93ab4(0x24b)]=0x2711]=_0xc93ab4(0x24b),_0x345a6a[_0x345a6a[_0xc93ab4(0x2a0)]=0x2712]=_0xc93ab4(0x2a0),_0x345a6a[_0x345a6a[_0xc93ab4(0x252)]=0x2713]=_0xc93ab4(0x252),_0x345a6a[_0x345a6a[_0xc93ab4(0x2b2)]=0x2714]=_0xc93ab4(0x2b2),_0x345a6a[_0x345a6a[_0xc93ab4(0xf7)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x345a6a[_0x345a6a[_0xc93ab4(0x119)]=0x271b]=_0xc93ab4(0x119),_0x345a6a[_0x345a6a[_0xc93ab4(0x15f)]=0x271c]=_0xc93ab4(0x15f),_0x345a6a[_0x345a6a['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xc93ab4(0x2ec),_0x345a6a[_0x345a6a[_0xc93ab4(0x1d4)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x345a6a[_0x345a6a[_0xc93ab4(0x2f9)]=0x271f]=_0xc93ab4(0x2f9),_0x345a6a[_0x345a6a[_0xc93ab4(0x2bf)]=0x2720]=_0xc93ab4(0x2bf),_0x345a6a[_0x345a6a['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x345a6a[_0x345a6a['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xc93ab4(0x1da),_0x345a6a[_0x345a6a[_0xc93ab4(0x21b)]=0x2ee2]='INVALID_INVITE_CODE',_0x345a6a[_0x345a6a[_0xc93ab4(0x2f0)]=0x2ee3]=_0xc93ab4(0x2f0),_0x345a6a[_0x345a6a[_0xc93ab4(0x190)]=0x2ee4]=_0xc93ab4(0x190),_0x345a6a[_0x345a6a[_0xc93ab4(0x173)]=0x2ee5]=_0xc93ab4(0x173),_0x345a6a[_0x345a6a[_0xc93ab4(0x12a)]=0x32c9]=_0xc93ab4(0x12a),_0x345a6a[_0x345a6a['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xc93ab4(0x10d),_0x345a6a[_0x345a6a['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xc93ab4(0x23a),_0x345a6a[_0x345a6a['UNRECOGNIZED']=-0x1]=_0xc93ab4(0x2d4),_0x345a6a))(Lt||{}),pn=Object[_0xc93ab4(0x209)],Cn=(_0x1a8ab2,_0x14559e,_0x201a67,_0x2dccc8)=>{for(var _0x302950=_0x2dccc8>0x1?void 0x0:_0x2dccc8?pn(_0x14559e,_0x201a67):_0x14559e,_0x45e5ac=_0x1a8ab2['length']-0x1,_0x55b6dd;_0x45e5ac>=0x0;_0x45e5ac--)(_0x55b6dd=_0x1a8ab2[_0x45e5ac])&&(_0x302950=_0x55b6dd(_0x302950)||_0x302950);return _0x302950;},be=(_0xf6eb63,_0x39461c)=>(_0x24b230,_0x17332e)=>_0x39461c(_0x24b230,_0x17332e,_0xf6eb63);let nt=class extends _0x27c934{constructor(_0x423f16,_0x4d5b77,_0x47f913){const _0x229c8c=_0xc93ab4;super(),this[_0x229c8c(0x2ca)]=_0x423f16,this[_0x229c8c(0x219)]=_0x4d5b77,this[_0x229c8c(0x139)]=_0x47f913;}async[_0xc93ab4(0x2cc)](_0x3f6aee,_0x36cf3f,_0x2018bf,..._0x24a7b1){const _0x4aa312=_0xc93ab4;var _0x47f61e,_0x266481,_0x868f2c,_0x36a6d2;const _0x58e0d1=this[_0x4aa312(0x2ca)][_0x4aa312(0x20d)]();if(!_0x58e0d1)throw new Error(_0x4aa312(0x1b2));const _0x15736a=((_0x47f61e=this[_0x4aa312(0x139)]['getConfig'](_0x1de562))!=null?_0x47f61e:_0x5f02fc)+'/'+_0x3f6aee+_0x4aa312(0x18e)+_0x36cf3f,_0x4e1bdf=new URL(window[_0x4aa312(0x2bb)][_0x4aa312(0x146)]),_0x385311={'scriptId':_0x3f6aee,'runId':(_0x266481=_0x4e1bdf[_0x4aa312(0x26e)][_0x4aa312(0x258)](_0x4aa312(0x1ad)))!=null?_0x266481:'','function':_0x36cf3f,'unitId':_0x58e0d1[_0x4aa312(0x1cd)](),'argsOfFunction':JSON[_0x4aa312(0x246)](_0x24a7b1),'invokeId':(_0x868f2c=_0x2018bf['invokeId'])!=null?_0x868f2c:'','executionId':(_0x36a6d2=_0x2018bf['executionId'])!=null?_0x36a6d2:''};try{const _0x5d2fd8=await this['_httpService'][_0x4aa312(0x1c5)](_0x15736a,{'body':_0x385311});return _0x5d2fd8[_0x4aa312(0x143)][_0x4aa312(0x240)]&&_0x5d2fd8[_0x4aa312(0x143)][_0x4aa312(0x240)][_0x4aa312(0x288)]!==Lt['OK']?_0x4aa312(0xfe):_0x5d2fd8[_0x4aa312(0x143)]['result'];}catch{return _0x4aa312(0xfe);}}};nt=Cn([be(0x0,_0x258533),be(0x1,_0x27e075(_0x5f176e)),be(0x2,_0xdf0cb4)],nt);const rt=0x7530,ot=_0xc93ab4(0x2c9);class Fn extends _0x27c934{constructor(){const _0x5ea133=_0xc93ab4;super(),_(this,_0x5ea133(0x2e1),_0x423dd0()),_(this,_0x5ea133(0x29a),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x5ea133(0x23b),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x5ea133(0x16f),new Map()),this['_init']();}['dispose'](){const _0x1eb6f7=_0xc93ab4;super[_0x1eb6f7(0x1e4)](),this['_clearOtherTimers']['forEach']((_0xcc112f,_0x55e172)=>this[_0x1eb6f7(0x154)](_0x55e172)),this[_0x1eb6f7(0x23b)]&&window[_0x1eb6f7(0x167)](this['_heartbeatTimer']);}[_0xc93ab4(0x145)](_0x28e60f){const _0x3b7667=_0xc93ab4;return this[_0x3b7667(0x148)](_0x28e60f)[_0x3b7667(0xff)](_0x4be388());}[_0xc93ab4(0x168)](_0x156f87){const _0x1448a0=_0xc93ab4;this[_0x1448a0(0x29a)][_0x1448a0(0x223)]===0x0&&this[_0x1448a0(0x23d)](),this[_0x1448a0(0x29a)][_0x1448a0(0x1c7)](_0x156f87),this[_0x1448a0(0x1a5)]({'type':0x0,'memberID':this[_0x1448a0(0x2e1)],'unitIDs':[_0x156f87],'isForwarded':!0x1});}[_0xc93ab4(0x2b9)](_0x26b58e){const _0x155555=_0xc93ab4;this[_0x155555(0x29a)][_0x155555(0x163)](_0x26b58e),this[_0x155555(0x29a)][_0x155555(0x223)]===0x0&&this['_heartbeatTimer']&&window[_0x155555(0x167)](this[_0x155555(0x23b)]);}[_0xc93ab4(0x11a)](){const _0x247bf0=_0xc93ab4;this['disposeWithMe'](_0x3d89f3(_0x43611e(window,_0x247bf0(0x177))[_0x247bf0(0x237)](_0x5f789d=>{const _0x599803=_0x247bf0;if(_0x5f789d['key']!==ot||!_0x5f789d[_0x599803(0x193)])return;const _0x220263=JSON[_0x599803(0x2e0)](_0x5f789d[_0x599803(0x193)]);this[_0x599803(0x26b)](_0x220263);}))),window[_0x247bf0(0xf2)](_0x247bf0(0x1e9),()=>this[_0x247bf0(0x1a5)]({'type':0x1,'memberID':this[_0x247bf0(0x2e1)],'unitIDs':Array[_0x247bf0(0x12f)](this[_0x247bf0(0x29a)])}));}[_0xc93ab4(0x26b)](_0x272143){const _0x2fe256=_0xc93ab4;switch(_0x272143['type']){case 0x0:this[_0x2fe256(0x187)](_0x272143);break;case 0x1:this[_0x2fe256(0x229)](_0x272143);break;case 0x2:this[_0x2fe256(0x13f)](_0x272143);break;}}['_handleJoinEvent'](_0x5e3c57){const _0x3dc8b1=_0xc93ab4,{unitIDs:_0x3b7cc0,memberID:_0x12b385,isForwarded:_0x381d2d}=_0x5e3c57;_0x3b7cc0[_0x3dc8b1(0x1f3)](_0x3feb00=>{const _0x21180e=_0x3dc8b1;if(!_0x381d2d&&this[_0x21180e(0x2da)][_0x21180e(0x129)](_0x3feb00)&&this[_0x21180e(0x148)](_0x3feb00)[_0x21180e(0x17e)](_0x18ed80[_0x21180e(0x274)]),!this[_0x21180e(0x2da)][_0x21180e(0x129)](_0x3feb00)||!this[_0x21180e(0x2da)][_0x21180e(0x258)](_0x3feb00)[_0x21180e(0x129)](_0x12b385)){const _0x33ccd1=this['_unitOnClients'][_0x21180e(0x258)](_0x3feb00)||new Set();_0x33ccd1[_0x21180e(0x1c7)](_0x12b385),this[_0x21180e(0x2da)][_0x21180e(0x1ee)](_0x3feb00,_0x33ccd1),this[_0x21180e(0x267)](_0x12b385);}}),_0x381d2d||this[_0x3dc8b1(0x1a5)]({'type':0x0,'memberID':this[_0x3dc8b1(0x2e1)],'unitIDs':[...this[_0x3dc8b1(0x29a)]],'isForwarded':!0x0});}[_0xc93ab4(0x267)](_0x5671a3){const _0x2441be=_0xc93ab4;this[_0x2441be(0x154)](_0x5671a3);const _0x30cdb6=window['setTimeout'](()=>{const _0x26a203=_0x2441be;this[_0x26a203(0x2da)][_0x26a203(0x1f3)](_0x32adee=>{const _0x1ce888=_0x26a203;_0x32adee[_0x1ce888(0x163)](_0x5671a3);});},rt*0x2);this[_0x2441be(0x195)]['set'](_0x5671a3,_0x30cdb6);}[_0xc93ab4(0x154)](_0x114609){const _0x4c1dba=_0xc93ab4;if(this['_clearOtherTimers'][_0x4c1dba(0x129)](_0x114609)){const _0x2179ab=this['_clearOtherTimers'][_0x4c1dba(0x258)](_0x114609);_0x2179ab&&window['clearTimeout'](_0x2179ab),this['_clearOtherTimers']['set'](_0x114609,null);}}[_0xc93ab4(0x229)](_0x1a107f){const _0x41e1c7=_0xc93ab4,{memberID:_0x3ab352,unitIDs:_0xc55879}=_0x1a107f;_0xc55879[_0x41e1c7(0x1f3)](_0x32740d=>{const _0x16ea95=_0x41e1c7;var _0x4eefb6;const _0xd41bd0=this[_0x16ea95(0x2da)][_0x16ea95(0x258)](_0x32740d);_0xd41bd0&&(_0xd41bd0[_0x16ea95(0x163)](_0x3ab352),(_0x4eefb6=this[_0x16ea95(0x148)](_0x32740d))==null||_0x4eefb6['next'](_0xd41bd0[_0x16ea95(0x223)]===0x0?_0x18ed80[_0x16ea95(0x10e)]:_0x18ed80[_0x16ea95(0x274)]));}),this[_0x41e1c7(0x154)](_0x3ab352);}[_0xc93ab4(0x13f)](_0x5d1495){const _0x395987=_0xc93ab4;this[_0x395987(0x267)](_0x5d1495[_0x395987(0x260)]);}[_0xc93ab4(0x1a5)](_0x3a6553){const _0x38e0e7=_0xc93ab4;localStorage[_0x38e0e7(0x2f6)](ot,JSON[_0x38e0e7(0x246)](_0x3a6553));}[_0xc93ab4(0x23d)](){const _0x567c92=_0xc93ab4;this[_0x567c92(0x23b)]=window[_0x567c92(0x127)](()=>{const _0x3b16cf=_0x567c92;this[_0x3b16cf(0x1a5)]({'type':0x2,'memberID':this[_0x3b16cf(0x2e1)]});},rt);}['_ensureSubject'](_0x592849){const _0x41a786=_0xc93ab4;return this[_0x41a786(0x16f)][_0x41a786(0x129)](_0x592849)||this[_0x41a786(0x16f)][_0x41a786(0x1ee)](_0x592849,new _0x554b53(_0x18ed80[_0x41a786(0x10e)])),this[_0x41a786(0x16f)][_0x41a786(0x258)](_0x592849);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x34d8d8=_0x1e2b;(function(_0x3506c8,_0x579fcd){const _0x5e59ef=_0x1e2b,_0x2c5c2d=_0x3506c8();while(!![]){try{const _0x53547c=parseInt(_0x5e59ef(0x1ef))/0x1*(parseInt(_0x5e59ef(0x1ec))/0x2)+parseInt(_0x5e59ef(0x1e7))/0x3+parseInt(_0x5e59ef(0x1e3))/0x4*(parseInt(_0x5e59ef(0x1db))/0x5)+-parseInt(_0x5e59ef(0x1e0))/0x6*(-parseInt(_0x5e59ef(0x1eb))/0x7)+parseInt(_0x5e59ef(0x1e5))/0x8*(-parseInt(_0x5e59ef(0x1f2))/0x9)+-parseInt(_0x5e59ef(0x1f3))/0xa*(parseInt(_0x5e59ef(0x1e6))/0xb)+parseInt(_0x5e59ef(0x1de))/0xc;if(_0x53547c===_0x579fcd)break;else _0x2c5c2d['push'](_0x2c5c2d['shift']());}catch(_0x13bd75){_0x2c5c2d['push'](_0x2c5c2d['shift']());}}}(_0xcba3,0xee432));function _0x1e2b(_0x216031,_0x2d4cf3){const _0xcba387=_0xcba3();return _0x1e2b=function(_0x1e2b92,_0x196270){_0x1e2b92=_0x1e2b92-0x1da;let _0x3aa250=_0xcba387[_0x1e2b92];return _0x3aa250;},_0x1e2b(_0x216031,_0x2d4cf3);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x34d8d8(0x1f0),'conflict':_0x34d8d8(0x1dc),'notCollab':_0x34d8d8(0x1f4),'synced':_0x34d8d8(0x1ee),'syncing':_0x34d8d8(0x1e1),'offline':_0x34d8d8(0x1df)},'session':{'connection-failed':_0x34d8d8(0x1e2),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x34d8d8(0x1ed),'collaboration-timeout':_0x34d8d8(0x1f1)},'conflict':{'title':_0x34d8d8(0x1da),'content':_0x34d8d8(0x1e9)},'permission':{'title':_0x34d8d8(0x1dd),'content':_0x34d8d8(0x1e8)},'collaboration':{'single-unit':{'warning':_0x34d8d8(0x1ea)},'closeRoom':_0x34d8d8(0x1e4)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};function _0xcba3(){const _0xa19a9c=['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.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','28DzpKkm','2MFFnjO','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Synced','1742468XeHyGv','Syncing\x20server\x20data...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','198iJLhxm','6088650ntXosP','Local\x20file','Collaboration\x20Conflict','2136755GwdgKB','Edit\x20conflicts','Authentication\x20Error','22893096TeuQgq','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','201288PqKZsN','Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','4cuWWhU','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','610832GDAkwS','33mXlMrF','811608ahckJP','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0xcba3=function(){return _0xa19a9c;};return _0xcba3();}
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x220fa1=_0x2b3f;(function(_0x36105a,_0x5683c1){const _0x14f2e9=_0x2b3f,_0x513f30=_0x36105a();while(!![]){try{const _0x521047=parseInt(_0x14f2e9(0x1f5))/0x1*(parseInt(_0x14f2e9(0x1fd))/0x2)+parseInt(_0x14f2e9(0x1fc))/0x3*(parseInt(_0x14f2e9(0x1f1))/0x4)+-parseInt(_0x14f2e9(0x1e7))/0x5+-parseInt(_0x14f2e9(0x1e9))/0x6+parseInt(_0x14f2e9(0x1f2))/0x7*(parseInt(_0x14f2e9(0x1f4))/0x8)+-parseInt(_0x14f2e9(0x1f3))/0x9*(parseInt(_0x14f2e9(0x1e5))/0xa)+-parseInt(_0x14f2e9(0x1f0))/0xb;if(_0x521047===_0x5683c1)break;else _0x513f30['push'](_0x513f30['shift']());}catch(_0x1e24aa){_0x513f30['push'](_0x513f30['shift']());}}}(_0x3b09,0x39af0));const e={'collab-client':{'tooltip':{'reconnect':_0x220fa1(0x1ee)}},'collabStatus':{'fetchMiss':_0x220fa1(0x1ed),'conflict':_0x220fa1(0x1f7),'notCollab':'Local\x20file','synced':_0x220fa1(0x1ec),'syncing':_0x220fa1(0x1ea),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x220fa1(0x1f8),'room-full':_0x220fa1(0x1e6),'collaboration-timeout':_0x220fa1(0x1e8)},'conflict':{'title':_0x220fa1(0x1eb),'content':_0x220fa1(0x1f6)},'permission':{'title':_0x220fa1(0x1fe),'content':_0x220fa1(0x1ef)},'collaboration':{'single-unit':{'warning':_0x220fa1(0x1fa)},'closeRoom':_0x220fa1(0x1f9)},'auth':{'needGotoLoginAlert':_0x220fa1(0x1fb)}};function _0x3b09(){const _0x2d6568=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','344826fJLuPw','14QVhrkY','Authentication\x20Error','160pVOZpA','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','986500WZYSfL','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','2518452jiZund','Syncing...','Collaboration\x20Conflict','Synced','Syncing\x20server\x20data...','Click\x20to\x20Reconnect','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1311233YGfeco','16WdukhN','159712CjNwfN','136386kzYPZC','104PvJiqf','65515YnEEuB','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.','Edit\x20conflicts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0x3b09=function(){return _0x2d6568;};return _0x3b09();}function _0x2b3f(_0x4465a9,_0x39f8a3){const _0x3b0939=_0x3b09();return _0x2b3f=function(_0x2b3fcb,_0xb51c30){_0x2b3fcb=_0x2b3fcb-0x1e5;let _0x2f1833=_0x3b0939[_0x2b3fcb];return _0x2f1833;},_0x2b3f(_0x4465a9,_0x39f8a3);}export{e as default};
|