@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505231607 → 0.7.0-nightly.202505251606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/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 +16 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0xf6b579=_0x12c3;(function(_0x30e09a,_0x3755b1){const _0x3fbe31=_0x12c3,_0xacd718=_0x30e09a();while(!![]){try{const _0xd89d8d=-parseInt(_0x3fbe31(0x262))/0x1*(parseInt(_0x3fbe31(0x349))/0x2)+parseInt(_0x3fbe31(0x29b))/0x3*(parseInt(_0x3fbe31(0x1f9))/0x4)+parseInt(_0x3fbe31(0x2ac))/0x5+parseInt(_0x3fbe31(0x1f3))/0x6*(-parseInt(_0x3fbe31(0x21f))/0x7)+parseInt(_0x3fbe31(0x2b4))/0x8*(parseInt(_0x3fbe31(0x189))/0x9)+parseInt(_0x3fbe31(0x1a6))/0xa+-parseInt(_0x3fbe31(0x327))/0xb;if(_0xd89d8d===_0x3755b1)break;else _0xacd718['push'](_0xacd718['shift']());}catch(_0x3f81e3){_0xacd718['push'](_0xacd718['shift']());}}}(_0x2278,0xb10fc));var $t=Object[_0xf6b579(0x1d9)],xt=(_0x2ad61d,_0x1ad0d4,_0x4373f2)=>_0x1ad0d4 in _0x2ad61d?$t(_0x2ad61d,_0x1ad0d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4373f2}):_0x2ad61d[_0x1ad0d4]=_0x4373f2,_=(_0x1e5536,_0x32eecf,_0x52d2e5)=>xt(_0x1e5536,typeof _0x32eecf!=_0xf6b579(0x18b)?_0x32eecf+'':_0x32eecf,_0x52d2e5);import{MemberService as _0x17fe26,SessionStatus as _0x15fd22,CollaborationSessionService as _0x3ab9ef,CollaborationStatus as _0x84184a,CollaborationController as _0x6a604d,ILocalCacheService as _0x2aae2e,CollaborationUIEventService as _0x5279d9,CollaborationUIEventId as _0x2b76d1,DataLoaderService as _0x14d099,DocCollaborationEntity as _0x179501,getLocalCacheKey as _0x525732,LOCAL_CACHE_INTERVAL as _0x2c0523,LOCAL_CACHE_INTERVAL_KEY as _0x2082b7,UniverCollaborationClientPlugin as _0x4028d8,CollaborationSocketService as _0x4ea49e,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x71c44,DEFAULT_WS_SESSION_TICKET_URL as _0x3c1bc8,UnitStatus as _0x4f0770,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3f15fe,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0xd3d9b2}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2677e8,Disposable as _0x57ae12,DOC_RANGE_TYPE as _0xbf7be,Inject as _0x2a8693,Injector as _0x31f2aa,IUniverInstanceService as _0x519898,ICommandService as _0x1d6b2c,debounce as _0x57544a,Rectangle as _0x144341,DisposableCollection as _0x991c50,toDisposable as _0x537cdb,UniverInstanceType as _0x10c618,Tools as _0x1c711a,COLORS as _0x100075,ColorKit as _0x4593aa,ThemeService as _0x124ee7,fromEventSubject as _0x4d9211,LocaleService as _0x8f02ce,createIdentifier as _0x225008,ILogService as _0x49688a,Optional as _0x406c5a,Workbook as _0x2f4872,CommandType as _0x5e969c,IConfigService as _0x2cae1e,ILocalStorageService as _0xedcbd1,DependentOn as _0x5a2172,Plugin as _0xb4a818,merge as _0x2e62e6,registerDependencies as _0x2aa9a9,mergeOverrideWithDependencies as _0x2a6d17,touchDependencies as _0x55b065,generateRandomId as _0x386309}from'@univerjs/core';import{Shape as _0x39c4de,Rect as _0x146aee,getColor as _0x1cc77b,RegularPolygon as _0x77e1be,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x30d01a,Vector2 as _0x1719b6,SHEET_VIEWPORT_KEY as _0xb55cbc,IRenderManagerService as _0x7fab75}from'@univerjs/engine-render';import{ISocketService as _0xc9be87,WebSocketService as _0x4ccf5b,HTTPService as _0x30cd85}from'@univerjs/network';import{IDocClipboardService as _0x4b32c8,NodePositionConvertToCursor as _0x1be7a5,NodePositionConvertToRectRange as _0x3f21c4,TEXT_RANGE_LAYER_INDEX as _0x16dc6e,SetDocZoomRatioOperation as _0x283142,DocIMEInputManagerService as _0x2fe300,DocStateChangeManagerService as _0x102805}from'@univerjs/docs-ui';import{IImageIoService as _0x3efe8a}from'@univerjs/drawing';import{BehaviorSubject as _0x42e5c1,debounceTime as _0x155ce7,takeUntil as _0x398d5,Subject as _0x287264,filter as _0xeae9ce,switchMap as _0x218087,merge as _0x1e6be1,combineLatest as _0x5764cd,of as _0x24add3,fromEvent as _0x374994,shareReplay as _0x5361e2,mapTo as _0x91b320,distinctUntilChanged as _0x25cba3}from'rxjs';import{SetTextSelectionsOperation as _0x249aea,RichTextEditingMutation as _0x142b18,DocSelectionManagerService as _0x282ecc,DocSkeletonManagerService as _0x5d4b70}from'@univerjs/docs';import{ITransformService as _0x1dc672,CollaborationEvent as _0x372a64,isTransformMutationFailure as _0x3075d8,isTransformMutationsWithChangesetSuccess as _0x42a2d8,RevisionService as _0x55fb54,ISnapshotServerService as _0x30d8c1}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x9b783,serializeRangeWithSheet as _0x18ed48}from'@univerjs/engine-formula';import{RefRangeService as _0x216c3c,SetSelectionsOperation as _0x262145,SheetsSelectionsService as _0x22eb02,EffectRefRangId as _0x3ec435,handleIRemoveRow as _0x138708,handleIRemoveCol as _0xb18758,handleMoveRange as _0x186a89,handleInsertRow as _0x2bdc9d,handleInsertRangeMoveRight as _0xe835e7,handleInsertRangeMoveDown as _0x60897a,handleInsertCol as _0x11d03f,handleDeleteRangeMoveUp as _0xefdbf4,handleDeleteRangeMoveLeft as _0x43786c,runRefRangeMutations as _0xc8e9da,SetWorksheetActivateCommand as _0x267cb4}from'@univerjs/sheets';import{map as _0x4a102d,filter as _0x598284,throttleTime as _0x12ecec,takeUntil as _0x1b1e5e,switchMap as _0x5421f8}from'rxjs/operators';import{SheetSkeletonManagerService as _0x39b13f,getCoordByCell as _0x45b8db,getSheetObject as _0x5226b6}from'@univerjs/sheets-ui';import{jsx as _0x643cf4,jsxs as _0x1e5ba5}from'react/jsx-runtime';import{useObservable as _0x366d50,useDependency as _0x38e0ae,IUIPartsService as _0xe44bbe,BuiltInUIPart as _0xaa57cd,connectInjector as _0x30a8d1,IBeforeCloseService as _0x193ac9,IMessageService as _0x232bc4,INotificationService as _0x4f86cc}from'@univerjs/ui';import{Tooltip as _0x47c419,clsx as _0xd33953,MessageType as _0x16ad2a}from'@univerjs/design';import{forwardRef as _0x579c37,useRef as _0x5071b1,createElement as _0x251847,useCallback as _0x226101}from'react';import{IRemoteInstanceService as _0x5022ad}from'@univerjs/rpc';var ci=Object[_0xf6b579(0x350)],li=(_0x2b5fcf,_0x407739,_0x463c6e,_0x2be47b)=>{const _0x24c3aa=_0xf6b579;for(var _0xa83199=_0x2be47b>0x1?void 0x0:_0x2be47b?ci(_0x407739,_0x463c6e):_0x407739,_0x5dc59e=_0x2b5fcf[_0x24c3aa(0x1cc)]-0x1,_0x154eec;_0x5dc59e>=0x0;_0x5dc59e--)(_0x154eec=_0x2b5fcf[_0x5dc59e])&&(_0xa83199=_0x154eec(_0xa83199)||_0xa83199);return _0xa83199;},Je=(_0x51ae80,_0x97513f)=>(_0x1741ec,_0x22c769)=>_0x97513f(_0x1741ec,_0x22c769,_0x51ae80);let Ne=class extends _0x2677e8{constructor(_0x1eb666,_0x4cda4d){const _0x42b230=_0xf6b579;super(),this['_docClipboardService']=_0x1eb666,this[_0x42b230(0x2f3)]=_0x4cda4d,this[_0x42b230(0x266)]();}['_init'](){const _0x5c2866=_0xf6b579,_0x4be570=this;this['disposeWithMe'](this[_0x5c2866(0x273)]['addClipboardHook']({'onBeforePasteImage':async _0x8c45af=>{const _0x48c7cd=_0x5c2866,_0x1b9eb7=await _0x4be570['_imageIoService'][_0x48c7cd(0x18c)](_0x8c45af);return _0x1b9eb7?{'source':_0x1b9eb7[_0x48c7cd(0x26a)],'imageSourceType':_0x1b9eb7['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x4b32c8),Je(0x1,_0x3efe8a)],Ne);function _0x2278(){const _0x1437f2=['MoveRangeCommandId','getUndoRedoMutationParamsCache','getRangePointData','then','_anchorDot','registerBeforeClose','_urlService','_setupBeforeClosingHandler','COMPLETION_FINISHED','transformRemoteChangeset','UNDEFINED','hide','USER_NOT_INVITED_CODE','_imageIoService','triggerDblclick','_dataLoaderService','unitId','InsertRangeMoveDownCommandId','getOwnPropertySymbols','EMAIL_HAS_BEEN_BOUND','_themeService','disposeWithMe','SNAPSHOT_INVALID_SNAPSHOT','_docStateChangeManagerService','isArray','setActiveRange','purple.300','_onCursorDelete','invokeId','setAlpha','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_setupSubUnitSync','currentColor','tag','SYNCED','subunit','getStateCache','labelPosition','_colorAssignService','black','toString','_handleHeartbeatEvent','startsWith','executionId','Warning','send','APPLY_DUPLICATED','_hovered','AWAITING_WITH_PENDING','_saveTaskMap','[RemoteUniscriptService]:\x20no\x20focused\x20unit','setTimeout','OTHER_CLIENTS_EDITING','error','_disabled','min','_anchor','onRendered','collabStatus.notCollab','_localCacheService','collab-text-range-','_send','getUnhiddenWorksheets','Error','createInstance','1866205xBItzZ','_initDependencies','_docSkeletonManagerService','actions','_cursorInfo$','redoState','_updateURLWithCurrentState','contains','LICENSE_EXPORT_SIZE_EXCEEDED','_uiPartsService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','onCommandExecuted','flatMap','collaboration-client-ui.config','addObjects','uni.network.url-service','_collaborationController','_selfUnitIDs','PY_RUNTIME_SCRIPT_ERROR','unshift','replace','UniverIcon','_docTransformIMECacheService','MOBILE_HAS_BEEN_BOUND','_startSheetCollabCursor','random','parse','exhaustSavingTask','OFFLINE','loadUnit','body','setUndoRedoMutationParamsCache','_saveCache','YUUMI_ALL_TABLES_IS_INVALID','202jyeaTH','use','onLocalMutation','_removeClearOtherTimer','searchParams','m1Prime','_instanceService','getOwnPropertyDescriptor','isActive','some','_notificationService','SOCKET_FAILED','_initEntityListener','_clearOtherTimers','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','editingUnit','HEADER_MENU','column','top','data','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_transformHistoryAndStateStack','delete','createSocket','makeDirty','dispose$','code','_color','_ensureSubject','assign','deepClone','getRelativeToViewportCoord','sessionStatus$','requireSession','saveTaskMap','on-line-single_clip0_910_349','CONFLICT','origin','_config','_name','collab-client.tooltip.reconnect','getFocusedUnit','m2Prime','asObservable','has','DeleteRangeMoveLeftCommandId','UNIVER_SHEET','roomMembers','_beforeCloseService','enableLocalCache','NOT_COLLAB','APPLY_PERMISSION_DENIED','function','onPointerMove$','restore','APPLY_REJECT','propertyIsEnumerable','APPLY_NON_SEQUENTIAL_REVISION','TEXT','_scheduleClearOtherTimer','complete','hasOwnProperty','_removeCollabCursors','getParam','focused$','concat','SNAPSHOT_HAS_BEEN_REMOVED','setStateCache','879876gJMDNu','xlink:href','symbol','saveImage','RemoveColCommandId','_render','replaceState','UNAUTHENTICATED','CHANGESET_REVISION_CONFILICT','_scheduleSaving','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','addObject','off-line-single','disableLocalCache','ACTIVE_UNIT_EVENT_CHANNEL','setShapeProps','defIds','getConfig','evenodd','init','LICENSE_DISTRO_REJECTED','colorChannel1','result','_initEvent','children','getItem','range','unitID','YUUMI_SUBSCRIPTION_NOT_FOUND','3886650zhqmXM','onPointerLeave$','application/json','href','ONLINE','_roomMembers$','PENDING','map','_initStatusComponent','_drawAnchor','YUUMI_ASYNCIO_CANCELLED','arc','INVITE_CODE_REQUIRED','getDocRanges','yellow.400','_entities','_lastPointer','doc.mutation.rich-text-editing','_handleHover','executeCommand','defs','Unknown\x20user','ticket','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','pushState','unload','_shapes','backgroundColor','USERS_LEAVE','height','fillText','next','addEventListener','pipe','_drawRectRange','jiqing.500','blue.400','_hover','length','font','name','_syncEditingCollabCursorService','0\x200\x2016\x2016','startColumn','_handleJoinEvent','attrs','values','_updateSubUnitFromURLParams','#fff','...','unit','defineProperty','get','_registerRenderDependencies','onTransformChange$','_initStatusListener','pluginName','from','getVpScrollXYInfoByPosToVp','getCollabCursors$','_toggleOffline','type','textRanges','lineTo','subscribe','UNRECOGNIZED','isEditing','engine','_messageService','_transformService','INTERNAL_ERROR','_hideTimer','urlChange$','beginPath','NO_OTHER_CLIENTS_EDITING','DeleteRangeMoveUpCommandId','measureText','132DJBdXR','_drawTextRange','subUnitId','_docTransformStateCacheService','permission.title','path','1107232bYfADT','_getScale','LOGIN_FAILED','getTypeOfUnitDisposed$','PERMISSION_DENIED','currentTheme$','translate(.97)','_context','_transformPreviousActiveRange','subscribeEvent','/run/','_injector','NOT_FOUND','generateRandomId','size','OffLineSingle','push','session.connection-failed','_renderManagerService','drawWith','prototype','_memberService','_unitStatus','_colorIndex','ALREADY_EXISTS','runId','getMember','setConfig','roomMembers$','_collabSessionService','univerjs-icon\x20univerjs-icon-','LICENSE_IMPORT_SIZE_EXCEEDED','docStateChange$','_commandService','round','YUUMI_AI_RUN_FAILED','off-line-single_clip0_910_343','clearInterval','194278YhuGrg','show','_cursors','url(#off-line-single_clip0_910_343)','SUBMIT_CHANGESET_TIMEOUT','transformMutation','collabCursorState$','_transformUndoRedoStack','getRenderById','JOIN_ROOM_FAILED','override','apply','mask','mutations','setItem','_unitOnClients','RemoveRowCommandId','_cursor','_scene','registerRenderModule','_getSheetObject','split','session.collaboration-timeout','RECT','_updateCollabCursors','_toggleOnline','univer-flex\x20univer-items-center','UNIVER_DOC','_cursorShapes','transformIMECache','OnLineSingle','collaboration.closeRoom','onMouseMove','_status$','0\x200\x2017\x2016','saveOfflineData','wsSessionTicketUrl','getOffsetConfig','WECHAT_HAS_BEEN_BOUND','onStarting','set','with','displayName','collabStatus.syncing','[CollaborationDataLoaderController]','_range','transformStateCache','getMemberID','#FFF','closePath','_univerInstanceService','getActiveSheet','_cachedData','APPLY_REVISION_CONFILICT','rgba(255,\x20255,\x20255,\x200.01)','getUniverSheetInstance','_localStorageService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','INVITE_CODE_HAS_BEEN_UES','_online','all','_docTransformSelectionsService','getSheetId','collab-rect-range-','row','selections','_textBubble','7853CbUDvl','on-line-single','_updateLocalCursor','selection','_init','svg','undoState','getTypeOfUnitAdded$','source','_refRangeService','unsubscribe','stringify','_initCommandExecutedListener','assignAColorForMemberID','sessionTicket','idSuffix','toRgbString','_docClipboardService','AWAITING','params','YUUMI_NO_CUBOID_FOR_QUESTION','eventID','save','_onCursorUpdate','substring','_collabCursorController','onPointerEnter$','color','YUUMI_UNABLE_LOAD_URL','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','debug','clearTimeout','INVALID_ARGUMENT','fill','width','ranges','_collaborationUIEventService','transformMutationsWithChangeset','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','_startDocCollabCursor','findNodePositionByCharIndex','post','string','getAncestorScale','sheetID','InsertRangeMoveRightCommandId','red.300','div','_getSaveTimeout','getCurrent','_configService','INVITE_CODE_ALREADY_BOUND','location','_labelPosition','getCurrentUnitForType','forEach','MUTATION','12BGbmRj','_collabCursorState$','_refreshCollabCursors','_docSyncEditingCollabCursorService','_handleLeaveEvent','status$','_onRefRangeChange','extend','_assignedColors','call','ENSURE_SNAPSHOT_EXECUTION','event$','_localeService','YUUMI_URL_COL_OUT_OF_RANGE','url(#on-line-single_clip0_910_349)','memberID','transformSelections','1080795PohOsY','YUUMI_RATE_OVER_LIMIT','_eventUnsubscribe','collaboration.single-unit.warning','add','UPDATE_CURSOR','registerRefRange','getSheetBySheetId','48RNvlpm','max','text','_sheetSkeletonManagerService','_entityInit$','removeParam','TOO_MANY_REQUESTS','loadOfflineData','cursorInfo$','_createSocketURL','cursorInfo','search','activeSheet$','icon','INVALID_INVITE_CODE','_getAnchorBounding','1em','_httpService','_handleEvent','_session','entityInit$','Failed','indexOf','transformByState','_scheduleHeartbeat','none','dispose','_logService','storage','_backgroundColor','fillStyle','_heartbeatTimer','permission.content','_getSessionTicket','session.will-retry','newValue','getColorFromTheme','OTHER_CLIENT_EDITING','_id','className','getUnitId','univer-flex\x20univer-mr-2\x20univer-text-xl','clipPath','bottom','getValue','includes','getSkeleton','_draw','history','entries'];_0x2278=function(){return _0x1437f2;};return _0x2278();}const Ze=[_0xf6b579(0x300),_0xf6b579(0x1c9),'green.600',_0xf6b579(0x290),_0xf6b579(0x1ca),_0xf6b579(0x1b4)];class ke extends _0x57ae12{constructor(){const _0x5ba482=_0xf6b579;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x5ba482(0x210),0x0);}['assignAColorForMemberID'](_0x3136b0){const _0x25c8e9=_0xf6b579;if(this[_0x25c8e9(0x2a3)][_0x25c8e9(0x375)](_0x3136b0))return this[_0x25c8e9(0x2a3)][_0x25c8e9(0x1da)](_0x3136b0);const _0x583e62=Ze[this[_0x25c8e9(0x210)]];return this['_colorIndex']=(this[_0x25c8e9(0x210)]+0x1)%Ze[_0x25c8e9(0x1cc)],this[_0x25c8e9(0x2a3)][_0x25c8e9(0x247)](_0x3136b0,_0x583e62),_0x583e62;}}function Tt(_0x3aeeb9){let _0xf19de9='';for(const _0x340dfa of _0x3aeeb9){const {startOffset:_0x59942e,endOffset:_0x8f8a10,isActive:_0x4dc7bb,rangeType:_0x44da0f,segmentId:_0x19f6da,segmentPage:_0x3e82d6}=_0x340dfa;_0xf19de9['length']&&(_0xf19de9+=','),_0xf19de9+=_0x59942e+':'+_0x8f8a10+':'+(_0x4dc7bb?'1':'0')+':'+_0x44da0f+':'+_0x19f6da+':'+_0x3e82d6;}return _0xf19de9;}function _i(_0x190f71){const _0x3a2d40=_0xf6b579,_0x1ec905=_0x190f71['split'](','),_0x3ff987=[];for(const _0x2474ff of _0x1ec905){const [_0x57e30d,_0x348940,_0x6e1294,_0x5e9fb8,_0x4fae39,_0x304ea8]=_0x2474ff[_0x3a2d40(0x234)](':');_0x3ff987[_0x3a2d40(0x209)]({'startOffset':Number(_0x57e30d),'endOffset':Number(_0x348940),'collapsed':_0x57e30d===_0x348940,'isActive':_0x6e1294==='1','rangeType':_0x5e9fb8===_0xbf7be[_0x3a2d40(0x17f)]?_0xbf7be['TEXT']:_0xbf7be[_0x3a2d40(0x236)],'segmentId':typeof _0x4fae39==_0x3a2d40(0x28c)?String(_0x4fae39):'','segmentPage':Number(_0x304ea8!=null?_0x304ea8:-0x1)});}return _0x3ff987[_0x3a2d40(0x352)](_0x3b9ddd=>_0x3b9ddd['isActive'])||(_0x3ff987[0x0][_0x3a2d40(0x351)]=!0x0),_0x3ff987;}class He extends _0x2677e8{constructor(){const _0x3c6e63=_0xf6b579;super(...arguments),_(this,'_collabCursorState$',new _0x42e5c1(null)),_(this,_0x3c6e63(0x225),this[_0x3c6e63(0x29c)][_0x3c6e63(0x374)]());}['syncEditingCollabCursor'](_0x288ae2){const _0x3a4c4e=_0xf6b579,{unitID:_0x5f245f,memberID:_0x568591,textRanges:_0xcdfe5f}=_0x288ae2,_0x7cf915=Tt(_0xcdfe5f);if(_0x7cf915==='')return;const _0x545efc={'unitID':_0x5f245f,'memberID':_0x568591,'selection':_0x7cf915};this[_0x3a4c4e(0x29c)][_0x3a4c4e(0x1c5)](_0x545efc);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x1a843c,_0x4f6990,_0x4d4e3e,_0x481921)=>{const _0x4a6fa8=_0xf6b579;for(var _0x3ba471=_0x481921>0x1?void 0x0:_0x481921?hi(_0x4f6990,_0x4d4e3e):_0x4f6990,_0x588cce=_0x1a843c[_0x4a6fa8(0x1cc)]-0x1,_0x1d5cf6;_0x588cce>=0x0;_0x588cce--)(_0x1d5cf6=_0x1a843c[_0x588cce])&&(_0x3ba471=_0x1d5cf6(_0x3ba471)||_0x3ba471);return _0x3ba471;},L=(_0x14f617,_0x19ae0d)=>(_0x1b3b7c,_0x4b7f2b)=>_0x19ae0d(_0x1b3b7c,_0x4b7f2b,_0x14f617);const di=0x12c,fi=0x64;let Ue=class extends _0x2677e8{constructor(_0x6c27b3,_0x56fb52,_0x15ff9b,_0x3e7922,_0x544a22,_0x22c38f,_0x3ece9a,_0x3ee253,_0x573fec){const _0x25f856=_0xf6b579;super(),_(this,_0x25f856(0x25a),!0x1),_(this,_0x25f856(0x266),!0x1),_(this,_0x25f856(0x32b),new _0x42e5c1(new Map())),_(this,_0x25f856(0x2bc),this[_0x25f856(0x32b)][_0x25f856(0x374)]()),_(this,_0x25f856(0x1ab),new _0x42e5c1([])),_(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x155ce7(di))),_(this,_0x25f856(0x264),_0x57544a(_0x48c5ea=>{const _0x369adb=_0x25f856,_0x270291={'eventID':_0x372a64[_0x369adb(0x2b1)],'data':{'unitID':this[_0x369adb(0x1a4)],'memberID':this[_0x369adb(0x2c7)][_0x369adb(0x24e)](),'selection':Tt(_0x48c5ea)}};this[_0x369adb(0x2c7)][_0x369adb(0x313)](_0x270291,this[_0x369adb(0x1a4)]);},fi)),(this[_0x25f856(0x1a4)]=_0x6c27b3,this[_0x25f856(0x2c7)]=_0x56fb52,this[_0x25f856(0x204)]=_0x15ff9b,this['_colorAssignService']=_0x3e7922,this[_0x25f856(0x20e)]=_0x544a22,this[_0x25f856(0x1cf)]=_0x22c38f,this[_0x25f856(0x1eb)]=_0x3ece9a,this[_0x25f856(0x251)]=_0x3ee253,this[_0x25f856(0x21a)]=_0x573fec);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0xf6b579(0x174)](){const _0x2d73f9=_0xf6b579;return this[_0x2d73f9(0x1ab)]['getValue']();}[_0xf6b579(0x2ce)](){const _0x50f436=_0xf6b579;super['dispose'](),this[_0x50f436(0x32b)][_0x50f436(0x1c5)](new Map()),this[_0x50f436(0x32b)][_0x50f436(0x181)](),this[_0x50f436(0x1ab)]['next']([]),this['_roomMembers$'][_0x50f436(0x181)]();}[_0xf6b579(0x19c)](){const _0x3edc0f=_0xf6b579;this[_0x3edc0f(0x266)]||(this[_0x3edc0f(0x266)]=!0x0,this[_0x3edc0f(0x2c7)][_0x3edc0f(0x369)][_0x3edc0f(0x1c7)](_0x398d5(this[_0x3edc0f(0x362)]))['subscribe'](_0x1e84dc=>{const _0x4190f6=_0x3edc0f;_0x1e84dc===_0x15fd22[_0x4190f6(0x1aa)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x3edc0f(0x2c7)][_0x3edc0f(0x2a6)]['pipe'](_0x398d5(this[_0x3edc0f(0x362)]))['subscribe'](_0x5c889f=>{const _0x13c74a=_0x3edc0f,_0xfc9f26=_0x5c889f[_0x13c74a(0x277)];_0xfc9f26===_0x372a64[_0x13c74a(0x2b1)]&&this[_0x13c74a(0x279)](_0x5c889f),_0xfc9f26===_0x372a64[_0x13c74a(0x1c2)]&&this[_0x13c74a(0x301)](_0x5c889f);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x43d920=>{const _0x292ecf=_0x3edc0f,_0x47a4da=_0x43d920[_0x292ecf(0x275)];_0x47a4da!=null&&this['_online']&&_0x43d920['id']===_0x249aea['id']&&_0x47a4da[_0x292ecf(0x2f6)]===this['unitID']&&_0x47a4da[_0x292ecf(0x1e8)]===!0x1&&_0x47a4da[_0x292ecf(0x285)][_0x292ecf(0x1cc)]>0x0&&this[_0x292ecf(0x264)](_0x47a4da[_0x292ecf(0x285)]);})),this[_0x3edc0f(0x1cf)][_0x3edc0f(0x225)]['pipe'](_0x398d5(this[_0x3edc0f(0x362)]))[_0x3edc0f(0x1e6)](_0x4d2010=>{const _0x2d6d99=_0x3edc0f;if((_0x4d2010==null?void 0x0:_0x4d2010[_0x2d6d99(0x1a4)])!==this[_0x2d6d99(0x1a4)])return;const _0x523e50={'eventID':_0x372a64['UPDATE_CURSOR'],'data':_0x4d2010};this[_0x2d6d99(0x279)](_0x523e50);}),this[_0x3edc0f(0x2fb)](this['_commandService']['onCommandExecuted'](_0x68a6f=>{const _0x2f861b=_0x3edc0f;if(_0x68a6f[_0x2f861b(0x275)]==null)return;const _0xae4706=_0x68a6f[_0x2f861b(0x275)];if(_0x68a6f['id']!==_0x142b18['id']||_0xae4706[_0x2f861b(0x2f6)]!==this[_0x2f861b(0x1a4)])return;const _0x4e8a2b={'id':'doc.mutation.rich-text-editing','params':_0xae4706},_0x2c2e6a=this[_0x2f861b(0x2be)];for(const [_0x3bcfb7,_0x5ef3cd]of _0x2c2e6a){const _0x435f06={'id':_0x2f861b(0x1b7),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5ef3cd[_0x2f861b(0x285)]}},_0x517ff1=this[_0x2f861b(0x1eb)][_0x2f861b(0x224)](_0x4e8a2b,_0x435f06,!0x1);if(_0x3075d8(_0x517ff1))throw _0x517ff1[_0x2f861b(0x31b)];_0x2c2e6a[_0x2f861b(0x247)](_0x3bcfb7,{..._0x5ef3cd,'ranges':_0x517ff1[_0x2f861b(0x373)]['params']['textRanges']});}queueMicrotask(()=>{const _0x12f7db=_0x2f861b;this[_0x12f7db(0x32b)][_0x12f7db(0x1c5)](_0x2c2e6a);});})));}[_0xf6b579(0x279)](_0x38629e){const _0x1930a7=_0xf6b579;var _0x47ec00,_0x218271;const {memberID:_0x88e12b,selection:_0xd8c92d}=_0x38629e[_0x1930a7(0x35c)],_0x32780b=_i(_0xd8c92d),_0x46de2b=(_0x218271=(_0x47ec00=this[_0x1930a7(0x20e)]['getMember'](this['unitID'],_0x88e12b))==null?void 0x0:_0x47ec00[_0x1930a7(0x1ce)])!=null?_0x218271:_0x1930a7(0x1bb),_0x70d3b9={'color':this['_colorAssignService'][_0x1930a7(0x26f)](_0x88e12b),'name':_0x46de2b,'ranges':_0x32780b},_0x90035b=this['cursorInfo'];_0x90035b['set'](_0x88e12b,_0x70d3b9),this[_0x1930a7(0x32b)]['next'](_0x90035b);}['_onCursorDelete'](_0x397c2c){const _0x3de012=_0xf6b579,{memberID:_0x1234ae}=_0x397c2c['data'],_0x45398e=this[_0x3de012(0x2be)];_0x45398e[_0x3de012(0x35f)](_0x1234ae),this[_0x3de012(0x32b)][_0x3de012(0x1c5)](_0x45398e);}[_0xf6b579(0x238)](){const _0x520465=_0xf6b579;var _0x52f730;if(this[_0x520465(0x25a)]=!0x0,((_0x52f730=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x52f730['getUnitId']())!==this['unitID'])return;const _0x42778e=this[_0x520465(0x204)]['get'](_0x282ecc)[_0x520465(0x1b3)]();Array[_0x520465(0x2fe)](_0x42778e)&&_0x42778e[_0x520465(0x1cc)]>0x0&&this[_0x520465(0x264)](_0x42778e);}[_0xf6b579(0x1e2)](){const _0x3e797d=_0xf6b579;this[_0x3e797d(0x25a)]=!0x1;}};function _0x12c3(_0x4c5d73,_0x25710b){const _0x22784b=_0x2278();return _0x12c3=function(_0x12c30a,_0xe609d1){_0x12c30a=_0x12c30a-0x174;let _0xec276d=_0x22784b[_0x12c30a];return _0xec276d;},_0x12c3(_0x4c5d73,_0x25710b);}Ue=ui([L(0x2,_0x2a8693(_0x31f2aa)),L(0x3,_0x2a8693(ke)),L(0x4,_0x2a8693(_0x17fe26)),L(0x5,_0x2a8693(He)),L(0x6,_0x1dc672),L(0x7,_0x519898),L(0x8,_0x1d6b2c)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x545dc4,_0x7ed491,_0x5a32dc,_0x30925b)=>{const _0xddb7cb=_0xf6b579;for(var _0x280f9d=_0x30925b>0x1?void 0x0:_0x30925b?Si(_0x7ed491,_0x5a32dc):_0x7ed491,_0x16657f=_0x545dc4[_0xddb7cb(0x1cc)]-0x1,_0x300540;_0x16657f>=0x0;_0x16657f--)(_0x300540=_0x545dc4[_0x16657f])&&(_0x280f9d=_0x300540(_0x280f9d)||_0x280f9d);return _0x280f9d;},x=(_0x3539c1,_0x5a65ab)=>(_0x6b4984,_0x1d46d0)=>_0x5a65ab(_0x6b4984,_0x1d46d0,_0x3539c1);const gi=0x12c,Ii=0x64,vi=()=>{let _0x31d953=[],_0xf069ba=!0x1;return _0x59673e=>{_0x31d953['push'](_0x59673e),_0xf069ba||(_0xf069ba=!0x0,setTimeout(()=>{const _0x5b4fbc=_0x12c3;_0x31d953[_0x5b4fbc(0x299)](_0x43dd52=>_0x43dd52()),_0x31d953=[],_0xf069ba=!0x1;}));};};let Me=class extends _0x2677e8{constructor(_0x9b823b,_0x2ad43c,_0x48d0b1,_0x1a6101,_0x540727,_0x415746,_0x46b392,_0x2a1cd6){const _0xf2e076=_0xf6b579;super(),_(this,'_online',!0x1),_(this,_0xf2e076(0x266),!0x1),_(this,_0xf2e076(0x32b),new _0x42e5c1(new Map())),_(this,_0xf2e076(0x2bc),this[_0xf2e076(0x32b)]['asObservable']()),_(this,'_roomMembers$',new _0x42e5c1([])),_(this,_0xf2e076(0x215),this[_0xf2e076(0x1ab)][_0xf2e076(0x1c7)](_0x155ce7(gi))),_(this,_0xf2e076(0x264),_0x57544a((_0x5852d9,_0x3fc1f3)=>{const _0x4eb159=_0xf2e076,_0x1eecec={'eventID':_0x372a64['UPDATE_CURSOR'],'data':{'unitID':this[_0x4eb159(0x1a4)],'memberID':this[_0x4eb159(0x2c7)][_0x4eb159(0x24e)](),'selection':_0x18ed48(_0x5852d9,_0x3fc1f3[_0x4eb159(0x1a3)])}};this['_session'][_0x4eb159(0x313)](_0x1eecec,this['unitID']);},Ii)),(this['unitID']=_0x9b823b,this[_0xf2e076(0x2c7)]=_0x2ad43c,this['_injector']=_0x48d0b1,this[_0xf2e076(0x30c)]=_0x1a6101,this['_memberService']=_0x540727,this[_0xf2e076(0x251)]=_0x415746,this[_0xf2e076(0x21a)]=_0x46b392,this[_0xf2e076(0x26b)]=_0x2a1cd6);}get[_0xf6b579(0x2be)](){const _0x50bff3=_0xf6b579;return this[_0x50bff3(0x32b)][_0x50bff3(0x2e0)]();}get[_0xf6b579(0x174)](){const _0x2bd45c=_0xf6b579;return this[_0x2bd45c(0x1ab)][_0x2bd45c(0x2e0)]();}[_0xf6b579(0x2ce)](){const _0x103017=_0xf6b579;super[_0x103017(0x2ce)](),this['_cursorInfo$'][_0x103017(0x1c5)](new Map()),this[_0x103017(0x32b)]['complete'](),this[_0x103017(0x1ab)]['next']([]),this[_0x103017(0x1ab)]['complete']();}[_0xf6b579(0x19c)](){const _0x53679d=_0xf6b579;this[_0x53679d(0x266)]||(this[_0x53679d(0x266)]=!0x0,this[_0x53679d(0x2c7)][_0x53679d(0x369)][_0x53679d(0x1c7)](_0x398d5(this[_0x53679d(0x362)]))['subscribe'](_0x7fa2ec=>{const _0x1dee11=_0x53679d;_0x7fa2ec===_0x15fd22[_0x1dee11(0x1aa)]?this[_0x1dee11(0x238)]():this[_0x1dee11(0x1e2)]();}),this[_0x53679d(0x2c7)]['event$'][_0x53679d(0x1c7)](_0x398d5(this[_0x53679d(0x362)]))[_0x53679d(0x1e6)](_0x3d8e06=>{const _0x49ca31=_0x53679d,_0x29e564=_0x3d8e06['eventID'];_0x29e564===_0x372a64[_0x49ca31(0x2b1)]&&this[_0x49ca31(0x279)](_0x3d8e06),_0x29e564===_0x372a64[_0x49ca31(0x1c2)]&&this[_0x49ca31(0x301)](_0x3d8e06);}),this[_0x53679d(0x2a1)](),this['disposeWithMe'](this['_commandService'][_0x53679d(0x332)](_0x3a0e33=>{const _0xa3967b=_0x53679d;if(this[_0xa3967b(0x25a)]&&_0x3a0e33['id']===_0x262145['id']&&_0x3a0e33['params'][_0xa3967b(0x2f6)]===this[_0xa3967b(0x1a4)]){const _0x267744=_0x3a0e33['params'];this[_0xa3967b(0x264)](_0x267744[_0xa3967b(0x1f5)],_0x267744[_0xa3967b(0x260)][0x0]);}})));}[_0xf6b579(0x279)](_0x1d0170){const _0x81bf63=_0xf6b579;var _0x7096f6,_0x565b27;const {memberID:_0xf10608,selection:_0x5787ca}=_0x1d0170['data'],{sheetName:_0x32854e,range:_0x859c3d}=_0x9b783(_0x5787ca),_0x2134bc={'name':(_0x565b27=(_0x7096f6=this[_0x81bf63(0x20e)][_0x81bf63(0x213)](this['unitID'],_0xf10608))==null?void 0x0:_0x7096f6['name'])!=null?_0x565b27:_0x81bf63(0x1bb),'range':this['_getMergeRange'](_0x32854e,_0x859c3d),'sheetID':_0x32854e,'color':this[_0x81bf63(0x30c)][_0x81bf63(0x26f)](_0xf10608),'selection':_0x5787ca},_0x480adf=this[_0x81bf63(0x2be)];_0x480adf[_0x81bf63(0x247)](_0xf10608,_0x2134bc),this[_0x81bf63(0x32b)]['next'](_0x480adf);}[_0xf6b579(0x301)](_0x16720f){const _0x1bb0d8=_0xf6b579,{memberID:_0x12195d}=_0x16720f[_0x1bb0d8(0x35c)],_0x518ed1=this[_0x1bb0d8(0x2be)];_0x518ed1[_0x1bb0d8(0x35f)](_0x12195d),this[_0x1bb0d8(0x32b)][_0x1bb0d8(0x1c5)](_0x518ed1);}['_getMergeRange'](_0x596538,_0x5bd5b8){const _0x4b41be=_0xf6b579;var _0x4732db,_0x45f7a4;const _0x2f2fc1=(_0x45f7a4=(_0x4732db=this[_0x4b41be(0x251)][_0x4b41be(0x256)](this['unitID']))==null?void 0x0:_0x4732db[_0x4b41be(0x2b3)](_0x596538))==null?void 0x0:_0x45f7a4['getMergeData']();return(_0x2f2fc1==null?void 0x0:_0x2f2fc1['find'](_0x37114c=>_0x144341[_0x4b41be(0x32e)](_0x37114c,_0x5bd5b8)))||_0x5bd5b8;}[_0xf6b579(0x2a1)](){const _0x1f4825=_0xf6b579,_0x147e98=new _0x991c50(),_0x559c11=vi(),_0x37ac51=()=>{const _0x3583e3=_0x12c3;_0x147e98['dispose']();const _0x3c3b9e=(_0x203a98,_0x4f94a2,_0x130132,_0x30a0d1)=>{const _0x51b819=_0x12c3;let _0x1604f2=[];switch(_0x203a98['id']){case _0x3ec435[_0x51b819(0x376)]:{_0x1604f2=_0x43786c(_0x203a98,_0x30a0d1);break;}case _0x3ec435[_0x51b819(0x1f1)]:{_0x1604f2=_0xefdbf4(_0x203a98,_0x30a0d1);break;}case _0x3ec435['InsertColCommandId']:{_0x1604f2=_0x11d03f(_0x203a98,_0x30a0d1);break;}case _0x3ec435[_0x51b819(0x2f7)]:{_0x1604f2=_0x60897a(_0x203a98,_0x30a0d1);break;}case _0x3ec435[_0x51b819(0x28f)]:{_0x1604f2=_0xe835e7(_0x203a98,_0x30a0d1);break;}case _0x3ec435['InsertRowCommandId']:{_0x1604f2=_0x2bdc9d(_0x203a98,_0x30a0d1);break;}case _0x3ec435[_0x51b819(0x2e6)]:{_0x1604f2=_0x186a89(_0x203a98,_0x30a0d1);break;}case _0x3ec435[_0x51b819(0x18d)]:{_0x1604f2=_0xb18758(_0x203a98,_0x30a0d1);break;}case _0x3ec435[_0x51b819(0x22f)]:{_0x1604f2=_0x138708(_0x203a98,_0x30a0d1);break;}}const _0x2fdc8f=_0xc8e9da(_0x1604f2,_0x30a0d1),_0x1ea228=this['cursorInfo'][_0x51b819(0x1da)](_0x4f94a2);if(_0x1ea228&&_0x2fdc8f){const _0x17fe64={..._0x1ea228,'range':_0x2fdc8f};this[_0x51b819(0x2be)][_0x51b819(0x247)](_0x4f94a2,_0x17fe64),_0x559c11(()=>{const _0x2b92a6=_0x51b819,_0x151c65=this[_0x2b92a6(0x26b)][_0x2b92a6(0x2b2)](_0x2fdc8f,_0x167f2e=>(_0x151c65['dispose'](),_0x3c3b9e(_0x167f2e,_0x4f94a2,_0x130132,_0x2fdc8f)));_0x147e98[_0x2b92a6(0x2b0)](_0x151c65);});}return{'redos':[],'undos':[]};};this[_0x3583e3(0x2be)][_0x3583e3(0x299)]((_0x1e98ac,_0x479537)=>{const _0x32cb07=_0x3583e3,{range:_0x34f573,sheetID:_0x1d496f}=_0x1e98ac,_0xa7e6a4=this[_0x32cb07(0x26b)][_0x32cb07(0x2b2)](_0x34f573,_0x573d96=>(_0xa7e6a4[_0x32cb07(0x2ce)](),_0x3c3b9e(_0x573d96,_0x479537,_0x1d496f,_0x34f573)));_0x147e98['add'](_0xa7e6a4);});};this[_0x1f4825(0x2fb)](_0x537cdb(this[_0x1f4825(0x32b)][_0x1f4825(0x1e6)](()=>{_0x37ac51();})));}[_0xf6b579(0x238)](){const _0x409aeb=_0xf6b579;var _0xef9d19,_0x331329;if(this[_0x409aeb(0x25a)]=!0x0,((_0xef9d19=this[_0x409aeb(0x251)][_0x409aeb(0x372)]())==null?void 0x0:_0xef9d19[_0x409aeb(0x2dc)]())!==this['unitID'])return;const _0x3955b9=(_0x331329=this['_injector'][_0x409aeb(0x1da)](_0x22eb02)['getCurrentSelections']())==null?void 0x0:_0x331329[0x0],_0xb10770=this[_0x409aeb(0x251)][_0x409aeb(0x298)](_0x10c618[_0x409aeb(0x377)])[_0x409aeb(0x252)]();_0x3955b9&&_0xb10770&&this['_updateLocalCursor'](_0xb10770[_0x409aeb(0x25d)](),_0x3955b9);}[_0xf6b579(0x1e2)](){const _0x1e5a42=_0xf6b579;this[_0x1e5a42(0x25a)]=!0x1;}};Me=mi([x(0x2,_0x2a8693(_0x31f2aa)),x(0x3,_0x2a8693(ke)),x(0x4,_0x2a8693(_0x17fe26)),x(0x5,_0x519898),x(0x6,_0x1d6b2c),x(0x7,_0x2a8693(_0x216c3c))],Me);var pi=Object[_0xf6b579(0x350)],Ci=(_0x33025a,_0x3ab897,_0x425a76,_0x4f7114)=>{for(var _0xda543d=_0x4f7114>0x1?void 0x0:_0x4f7114?pi(_0x3ab897,_0x425a76):_0x3ab897,_0x5033b9=_0x33025a['length']-0x1,_0x1178ca;_0x5033b9>=0x0;_0x5033b9--)(_0x1178ca=_0x33025a[_0x5033b9])&&(_0xda543d=_0x1178ca(_0xda543d)||_0xda543d);return _0xda543d;},Se=(_0x1cc24a,_0x175e9b)=>(_0x2e0e1b,_0x3ca16f)=>_0x175e9b(_0x2e0e1b,_0x3ca16f,_0x1cc24a);let H=class extends _0x2677e8{constructor(_0x4de70c,_0x3f934b,_0x51c3ba){const _0x2cd65b=_0xf6b579;super(),_(this,_0x2cd65b(0x1b5),new Map()),_(this,_0x2cd65b(0x2b8),new _0x287264()),(this[_0x2cd65b(0x251)]=_0x4de70c,this['_injector']=_0x3f934b,this[_0x2cd65b(0x216)]=_0x51c3ba,this[_0x2cd65b(0x266)]());}[_0xf6b579(0x2ce)](){const _0x517c6c=_0xf6b579;super[_0x517c6c(0x2ce)](),this['_entityInit$'][_0x517c6c(0x181)](),this[_0x517c6c(0x1b5)][_0x517c6c(0x299)](_0x1e9ab7=>_0x1e9ab7['dispose']());}['getCollabCursors$'](_0x35133b){const _0x9e5763=_0xf6b579;return this[_0x9e5763(0x1b5)][_0x9e5763(0x375)](_0x35133b)?this['_entities'][_0x9e5763(0x1da)](_0x35133b)['cursorInfo$']:this[_0x9e5763(0x2b8)][_0x9e5763(0x1c7)](_0xeae9ce(_0x417efe=>_0x417efe['unitID']===_0x35133b),_0x218087(_0x4ce6ba=>_0x4ce6ba[_0x9e5763(0x2bc)]));}['_init'](){const _0x45b42c=_0xf6b579;this[_0x45b42c(0x251)][_0x45b42c(0x269)](_0x10c618[_0x45b42c(0x377)])[_0x45b42c(0x1c7)](_0x398d5(this[_0x45b42c(0x362)]))[_0x45b42c(0x1e6)](async _0x139b78=>{const _0x29f525=_0x45b42c,_0x50f523=_0x139b78[_0x29f525(0x2dc)](),_0x7e7a2a=await this[_0x29f525(0x33f)](_0x50f523);this['_entityInit$']['next'](_0x7e7a2a),this[_0x29f525(0x1b5)]['set'](_0x50f523,_0x7e7a2a);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x10c618[_0x45b42c(0x23a)])[_0x45b42c(0x1c7)](_0x398d5(this['dispose$']))[_0x45b42c(0x1c7)](_0xeae9ce(_0x14340a=>!_0x14340a[_0x45b42c(0x2dc)]()[_0x45b42c(0x310)]('__')))[_0x45b42c(0x1e6)](async _0x5876ad=>{const _0x2f5f29=_0x45b42c,_0x3335b7=_0x5876ad[_0x2f5f29(0x2dc)](),_0x1f187a=await this[_0x2f5f29(0x289)](_0x3335b7);this[_0x2f5f29(0x2b8)][_0x2f5f29(0x1c5)](_0x1f187a),this[_0x2f5f29(0x1b5)]['set'](_0x3335b7,_0x1f187a);}),_0x1e6be1(this['_univerInstanceService'][_0x45b42c(0x1fc)](_0x10c618['UNIVER_DOC']),this['_univerInstanceService'][_0x45b42c(0x1fc)](_0x10c618[_0x45b42c(0x377)]))[_0x45b42c(0x1c7)](_0x398d5(this[_0x45b42c(0x362)]))[_0x45b42c(0x1e6)](_0x58836c=>{const _0x419110=_0x45b42c,_0x2c741a=_0x58836c['getUnitId'](),_0x2cb6f6=this['_entities'][_0x419110(0x1da)](_0x2c741a);_0x2cb6f6&&(_0x2cb6f6[_0x419110(0x2ce)](),this[_0x419110(0x1b5)][_0x419110(0x35f)](_0x2c741a));});}async[_0xf6b579(0x33f)](_0x21ff62){const _0x5acfde=_0xf6b579,_0x537175=await this[_0x5acfde(0x216)][_0x5acfde(0x36a)](_0x21ff62),_0x395e54=this[_0x5acfde(0x204)]['createInstance'](Me,_0x21ff62,_0x537175);return _0x395e54['init'](),_0x395e54;}async[_0xf6b579(0x289)](_0x4ab244){const _0x359c8d=_0xf6b579,_0x23d1be=await this[_0x359c8d(0x216)][_0x359c8d(0x36a)](_0x4ab244),_0x5e613a=this[_0x359c8d(0x204)][_0x359c8d(0x326)](Ue,_0x4ab244,_0x23d1be);return _0x5e613a[_0x359c8d(0x19c)](),_0x5e613a;}};H=Ci([Se(0x0,_0x519898),Se(0x1,_0x2a8693(_0x31f2aa)),Se(0x2,_0x2a8693(_0x3ab9ef))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3cf253,_0x591980){const _0x2b4916=_0xf6b579;let {radius:_0x1e1478,width:_0x2a9ac5,height:_0x143e9f}=_0x591980;_0x1e1478=_0x1e1478!=null?_0x1e1478:0x0,_0x2a9ac5=_0x2a9ac5!=null?_0x2a9ac5:0x1e,_0x143e9f=_0x143e9f!=null?_0x143e9f:0x1e;let _0xde89b1=0x0,_0x5af684=0x0,_0x204c67=0x0;_0xde89b1=_0x5af684=_0x204c67=Math[_0x2b4916(0x31d)](_0x1e1478,_0x2a9ac5/0x2,_0x143e9f/0x2),_0x3cf253[_0x2b4916(0x1ef)](),_0x3cf253['moveTo'](_0xde89b1,0x0),_0x3cf253[_0x2b4916(0x1e5)](_0x2a9ac5-_0x5af684,0x0),_0x3cf253['arc'](_0x2a9ac5-_0x5af684,_0x5af684,_0x5af684,Math['PI']*0x3/0x2,0x0,!0x1),_0x3cf253[_0x2b4916(0x1e5)](_0x2a9ac5,_0x143e9f-_0x204c67),_0x3cf253[_0x2b4916(0x1b1)](_0x2a9ac5-_0x204c67,_0x143e9f-_0x204c67,_0x204c67,0x0,Math['PI']/0x2,!0x1),_0x3cf253[_0x2b4916(0x1e5)](0x0,_0x143e9f),_0x3cf253[_0x2b4916(0x1e5)](0x0,_0xde89b1),_0x3cf253['arc'](_0xde89b1,_0xde89b1,_0xde89b1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3cf253[_0x2b4916(0x250)](),_0x591980[_0x2b4916(0x283)]&&(_0x3cf253[_0x2b4916(0x278)](),_0x3cf253['fillStyle']=_0x591980[_0x2b4916(0x283)],_0x591980['fillRule']===_0x2b4916(0x19b)?_0x3cf253[_0x2b4916(0x283)](_0x2b4916(0x19b)):_0x3cf253[_0x2b4916(0x283)](),_0x3cf253[_0x2b4916(0x17b)]());}class he extends _0x39c4de{constructor(_0x5c4e18,_0x339772){const _0x3194de=_0xf6b579;super(_0x5c4e18,_0x339772),_(this,_0x3194de(0x27d)),_(this,_0x3194de(0x2b6)),(this[_0x3194de(0x27d)]=_0x339772==null?void 0x0:_0x339772[_0x3194de(0x27d)],this[_0x3194de(0x2b6)]=_0x339772==null?void 0x0:_0x339772['text']);}static[_0xf6b579(0x20c)](_0x450e46,_0x46c46b){const _0x22a47e=_0xf6b579,{text:_0x226b9b,color:_0x503690}=_0x46c46b;_0x450e46[_0x22a47e(0x278)](),_0x450e46[_0x22a47e(0x1cd)]=_0x22a47e(0x357);const _0x5b8d5b=_0x450e46[_0x22a47e(0x1f2)](_0x226b9b)['width'],_0x2615b7=Math['min'](_0x5b8d5b+0x2*me,Qe);Oi(_0x450e46,{'height':ee,'radius':0x4,'width':_0x2615b7,'fill':_0x503690}),_0x450e46[_0x22a47e(0x2d2)]=_0x22a47e(0x24f);const _0x1a4b90=me,_0x3ca7ad=ee-Ei,_0xbb66af=Qe-0x2*me;if(_0x5b8d5b>_0xbb66af){let _0x2878f0='',_0x152b9d=0x0;for(const _0x5cab9e of _0x226b9b){const _0x57e577=_0x450e46[_0x22a47e(0x1f2)](_0x5cab9e)[_0x22a47e(0x284)];if(_0x152b9d+_0x57e577<=_0xbb66af-_0x450e46[_0x22a47e(0x1f2)](_0x22a47e(0x1d7))[_0x22a47e(0x284)])_0x2878f0+=_0x5cab9e,_0x152b9d+=_0x57e577;else{_0x2878f0+=_0x22a47e(0x1d7);break;}}_0x450e46[_0x22a47e(0x1c4)](_0x2878f0,_0x1a4b90,_0x3ca7ad);}else _0x450e46[_0x22a47e(0x1c4)](_0x226b9b,_0x1a4b90,_0x3ca7ad);_0x450e46[_0x22a47e(0x17b)]();}[_0xf6b579(0x2e3)](_0xba097a){const _0xd14b31=_0xf6b579;he[_0xd14b31(0x20c)](_0xba097a,this);}}const ge='collab-text-anchor-',bi=_0xf6b579(0x322),Ti=_0xf6b579(0x25e),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0xf6b579(0x255);class qe{constructor(_0x523d90,_0x2b928f,_0x1c2baf,_0x43b5bb){const _0x1b8b15=_0xf6b579;_(this,_0x1b8b15(0x1c0),[]),_(this,_0x1b8b15(0x31e),null),_(this,_0x1b8b15(0x261),null),_(this,_0x1b8b15(0x2ea),null),_(this,_0x1b8b15(0x1ed),null),_(this,_0x1b8b15(0x2ae),null),(this[_0x1b8b15(0x230)]=_0x523d90,this['_scene']=_0x2b928f,this['_docSkeleton']=_0x1c2baf,this['_document']=_0x43b5bb,this[_0x1b8b15(0x18e)]());}set[_0xf6b579(0x1cb)](_0x5f485f){const _0x4b0d19=_0xf6b579;_0x5f485f?(this['_anchorDot']&&this[_0x4b0d19(0x2ea)][_0x4b0d19(0x2f1)](),this['_textBubble']&&this[_0x4b0d19(0x261)][_0x4b0d19(0x220)]()):(this[_0x4b0d19(0x2ea)]&&this[_0x4b0d19(0x2ea)][_0x4b0d19(0x220)](),this[_0x4b0d19(0x261)]&&this[_0x4b0d19(0x261)][_0x4b0d19(0x2f1)]());}['dispose'](){const _0x1ebe99=_0xf6b579;for(const _0xc4e63a of this['_shapes'])_0xc4e63a[_0x1ebe99(0x2ce)]();this['_textBubble']&&this['_textBubble'][_0x1ebe99(0x2ce)](),this[_0x1ebe99(0x2ea)]&&this['_anchorDot'][_0x1ebe99(0x2ce)](),this[_0x1ebe99(0x31e)]&&this[_0x1ebe99(0x31e)][_0x1ebe99(0x2ce)](),this['_eventUnsubscribe']&&this[_0x1ebe99(0x2ae)]();}[_0xf6b579(0x18e)](){const _0x19c328=_0xf6b579;var _0x499205;const {_docSkeleton:_0x4e1ba3,_document:_0x20739f}=this,{color:_0x2ed2db,name:_0x156d1e,ranges:_0x501d0d}=this[_0x19c328(0x230)],_0x25420a=_0x20739f[_0x19c328(0x244)](),{docsLeft:_0x27ba48,docsTop:_0x384351}=_0x25420a,_0x3ec488=new _0x1be7a5(_0x25420a,_0x4e1ba3);for(const {startOffset:_0x36a854,endOffset:_0x8e8ca1,rangeType:_0x56fc55,segmentId:_0x13cc56,segmentPage:_0x2d0bec,collapsed:_0x2d1905,isActive:_0x1508df}of _0x501d0d){const _0x4d1d93=_0x4e1ba3[_0x19c328(0x28a)](_0x36a854,!0x0,_0x13cc56,_0x2d0bec);let _0x648a4e=_0x4e1ba3[_0x19c328(0x28a)](_0x8e8ca1,!0x0,_0x13cc56,_0x2d0bec);if(_0x648a4e==null&&(_0x648a4e=_0x4e1ba3[_0x19c328(0x28a)](_0x8e8ca1-0x1,!0x1,_0x13cc56,_0x2d0bec)),_0x1508df){const {contentBoxPointGroup:_0x16de3f}=_0x3ec488['getRangePointData'](_0x648a4e,_0x648a4e);if(_0x16de3f[_0x19c328(0x1cc)]===0x0)continue;this[_0x19c328(0x1af)](_0x2ed2db,_0x16de3f,_0x27ba48,_0x384351,_0x156d1e),this[_0x19c328(0x2ae)]=this[_0x19c328(0x1b8)]();}if(_0x4d1d93&&_0x648a4e){if(_0x56fc55===_0xbf7be[_0x19c328(0x236)]){const _0x1df946=new _0x3f21c4(_0x25420a,_0x4e1ba3),{pointGroup:_0x434a37}=(_0x499205=_0x1df946[_0x19c328(0x2e8)](_0x4d1d93,_0x648a4e))!=null?_0x499205:{};if(_0x434a37==null||_0x434a37[_0x19c328(0x1cc)]===0x0)continue;this[_0x19c328(0x1c8)](_0x2ed2db,_0x434a37,_0x27ba48,_0x384351);}else{if(!_0x2d1905){const {borderBoxPointGroup:_0x190988}=_0x3ec488[_0x19c328(0x2e8)](_0x4d1d93,_0x648a4e);if(_0x190988[_0x19c328(0x1cc)]===0x0)continue;this[_0x19c328(0x1f4)](_0x2ed2db,_0x190988,_0x27ba48,_0x384351);}}}}}[_0xf6b579(0x1af)](_0x7c5468,_0x4f825b,_0x50c0d1,_0x257163,_0x147824){const _0x7533b3=_0xf6b579,_0x49c2b0=this[_0x7533b3(0x2c3)](_0x4f825b),{left:_0x54ebde,top:_0x52083a,height:_0x419bad}=_0x49c2b0,_0x91c170=this[_0x7533b3(0x1fa)](),_0x58c39d=Di/_0x91c170,_0x5eecbe=new _0x146aee(ge+_0x1c711a['generateRandomId'](X),{'left':_0x54ebde+_0x50c0d1-_0x58c39d,'top':_0x52083a+_0x257163,'height':_0x419bad,'width':Ri,'fill':_0x7c5468||_0x1cc77b(_0x100075[_0x7533b3(0x30d)],0x0),'strokeWidth':_0x58c39d,'stroke':Ni,'evented':!0x0});this[_0x7533b3(0x31e)]=_0x5eecbe,this[_0x7533b3(0x231)][_0x7533b3(0x194)](_0x5eecbe,_0x16dc6e);const _0x1ed125=new _0x146aee(ge+_0x1c711a[_0x7533b3(0x206)](X),{'left':_0x54ebde+_0x50c0d1-_0x58c39d,'top':_0x52083a+_0x257163-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x7c5468||_0x1cc77b(_0x100075['black'],0x0),'strokeWidth':0x0,'stroke':_0x7c5468||_0x1cc77b(_0x100075['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x1ed125,this[_0x7533b3(0x231)][_0x7533b3(0x194)](_0x1ed125,_0x16dc6e);const _0xa6c6f9=new he(ge+_0x1c711a['generateRandomId'](X),{'left':_0x54ebde+_0x50c0d1-_0x58c39d,'top':_0x52083a+_0x257163-ee,'text':_0x147824,'color':_0x7c5468});this['_textBubble']=_0xa6c6f9,this[_0x7533b3(0x231)][_0x7533b3(0x194)](_0xa6c6f9,_0x16dc6e),this[_0x7533b3(0x1cb)]=!0x1;}[_0xf6b579(0x1b8)](){const _0xb2e8b2=_0xf6b579,_0x1011bf=this['_anchor'][_0xb2e8b2(0x27c)][_0xb2e8b2(0x202)](()=>{this['_hover']=!0x0;}),_0x3a28ae=this[_0xb2e8b2(0x31e)][_0xb2e8b2(0x1a7)][_0xb2e8b2(0x202)](()=>{const _0x444efb=_0xb2e8b2;this['_hideTimer']&&clearTimeout(this[_0x444efb(0x1ed)]),this[_0x444efb(0x1ed)]=setTimeout(()=>{const _0x256c85=_0x444efb;this[_0x256c85(0x1cb)]=!0x1;},0x7d0);});return()=>{const _0x53bc20=_0xb2e8b2;_0x1011bf[_0x53bc20(0x26c)](),_0x3a28ae[_0x53bc20(0x26c)]();};}['_drawTextRange'](_0x12e1c2,_0x425f31,_0x464d37,_0x13a65d){const _0x2c3c9a=_0xf6b579,_0x426a32=new _0x4593aa(_0x12e1c2)[_0x2c3c9a(0x303)](0.2)[_0x2c3c9a(0x272)](),_0x5d135d=new _0x77e1be(bi+_0x1c711a[_0x2c3c9a(0x206)](X),{'pointsGroup':_0x425f31,'fill':_0x426a32||_0x1cc77b(_0x100075[_0x2c3c9a(0x30d)],0.2),'left':_0x464d37,'top':_0x13a65d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2c3c9a(0x1c0)][_0x2c3c9a(0x209)](_0x5d135d),this[_0x2c3c9a(0x231)][_0x2c3c9a(0x194)](_0x5d135d,_0x16dc6e);}[_0xf6b579(0x1c8)](_0x386981,_0x27cb07,_0x25dfa1,_0x1f806d){const _0x254365=_0xf6b579,_0x2b937f=new _0x4593aa(_0x386981)['setAlpha'](0.2)[_0x254365(0x272)](),_0x436b1b=new _0x77e1be(Ti+_0x1c711a[_0x254365(0x206)](X),{'pointsGroup':_0x27cb07,'fill':_0x2b937f||_0x1cc77b(_0x100075['black'],0.2),'left':_0x25dfa1,'top':_0x1f806d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x254365(0x1c0)][_0x254365(0x209)](_0x436b1b),this['_scene'][_0x254365(0x194)](_0x436b1b,_0x16dc6e);}['_getAnchorBounding'](_0xe384b2){const _0x3217e3=_0xe384b2[0x0],_0x55e3f8=_0x3217e3[0x0],_0x57a081=_0x3217e3[0x2],{x:_0x4f44ae,y:_0x2ff275}=_0x55e3f8,{x:_0x101532,y:_0x263481}=_0x57a081;return{'left':_0x4f44ae,'top':_0x2ff275,'width':_0x101532-_0x4f44ae,'height':_0x263481-_0x2ff275};}[_0xf6b579(0x1fa)](){const _0x40aaab=_0xf6b579,{scaleX:_0x395f3b,scaleY:_0x5e664e}=this[_0x40aaab(0x231)]['getAncestorScale']();return Math[_0x40aaab(0x2b5)](_0x395f3b,_0x5e664e);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x5923cc,_0x33d9ae,_0x259d3e,_0x7b971c)=>{const _0x1a29d9=_0xf6b579;for(var _0xcd4b8c=_0x7b971c>0x1?void 0x0:_0x7b971c?Ui(_0x33d9ae,_0x259d3e):_0x33d9ae,_0x414e0f=_0x5923cc[_0x1a29d9(0x1cc)]-0x1,_0x40a7a0;_0x414e0f>=0x0;_0x414e0f--)(_0x40a7a0=_0x5923cc[_0x414e0f])&&(_0xcd4b8c=_0x40a7a0(_0xcd4b8c)||_0xcd4b8c);return _0xcd4b8c;},Z=(_0x1f96ce,_0x2cdf8d)=>(_0x2d6264,_0x320d30)=>_0x2cdf8d(_0x2d6264,_0x320d30,_0x1f96ce);let Pe=class extends _0x2677e8{constructor(_0x194359,_0x1b95df,_0x37d9d3,_0x3d526c,_0x26bc7f){const _0x216dce=_0xf6b579;super(),_(this,'_cursorShapes',[]),_(this,_0x216dce(0x221),[]),(this[_0x216dce(0x200)]=_0x194359,this[_0x216dce(0x329)]=_0x1b95df,this[_0x216dce(0x27b)]=_0x37d9d3,this[_0x216dce(0x21a)]=_0x3d526c,this[_0x216dce(0x2fa)]=_0x26bc7f,this['_init']());}[_0xf6b579(0x266)](){const _0x508edc=_0xf6b579,_0xf6cfd2=this[_0x508edc(0x200)][_0x508edc(0x2f6)],_0xb1771b=this[_0x508edc(0x329)];this[_0x508edc(0x2fb)](_0x5764cd([this[_0x508edc(0x27b)][_0x508edc(0x1e1)](_0xf6cfd2),this['_themeService'][_0x508edc(0x1fe)]])[_0x508edc(0x1c7)](_0x4a102d(([_0x32497c,_0x4e260d])=>({'skeleton':_0xb1771b[_0x508edc(0x2e2)](),'cursors':[..._0x32497c[_0x508edc(0x1d4)]()][_0x508edc(0x333)](_0x2279fe=>({..._0x2279fe,'color':this[_0x508edc(0x2fa)]['getColorFromTheme'](_0x2279fe['color'])}))})))['subscribe'](_0x26c19d=>{const _0x116cdd=_0x508edc;if(this[_0x116cdd(0x183)](),_0x26c19d){const {skeleton:_0x26ddfe,cursors:_0x286077}=_0x26c19d;this[_0x116cdd(0x237)](_0x26ddfe,_0x286077);}})),this['_initResize'](),this[_0x508edc(0x26e)]();}[_0xf6b579(0x237)](_0x538acf,_0x36b300){const _0x646868=_0xf6b579,{scene:_0x2b4f3a,mainComponent:_0x5470b3}=this[_0x646868(0x200)],_0x5e290e=_0x36b300[_0x646868(0x1ad)](_0x3cefce=>new qe(_0x3cefce,_0x2b4f3a,_0x538acf,_0x5470b3));this[_0x646868(0x23b)]=_0x5e290e,this['_cursors']=_0x36b300;}[_0xf6b579(0x29d)](){const _0x2d84b3=_0xf6b579;this[_0x2d84b3(0x183)]();const {scene:_0x43d568,mainComponent:_0x349b52}=this[_0x2d84b3(0x200)],_0x185c89=this[_0x2d84b3(0x329)][_0x2d84b3(0x2e2)](),_0x3b8fb3=this['_cursors'][_0x2d84b3(0x1ad)](_0x56a673=>new qe(_0x56a673,_0x43d568,_0x185c89,_0x349b52));this[_0x2d84b3(0x23b)]=_0x3b8fb3;}[_0xf6b579(0x183)](){const _0x4430f0=_0xf6b579;this['_cursorShapes']['forEach'](_0x58f88a=>_0x58f88a[_0x4430f0(0x2ce)]()),this['_cursorShapes']=[];}[_0xf6b579(0x26e)](){const _0x15c15a=_0xf6b579,_0x3ba237=[_0x283142['id']];this[_0x15c15a(0x2fb)](this['_commandService'][_0x15c15a(0x332)](_0x31670b=>{const _0x49ed2d=_0x15c15a;_0x3ba237[_0x49ed2d(0x2e1)](_0x31670b['id'])&&_0x31670b['params'][_0x49ed2d(0x2f6)]===this[_0x49ed2d(0x200)][_0x49ed2d(0x2f6)]&&this[_0x49ed2d(0x29d)]();}));}['_initResize'](){const _0x4d0c2a=_0xf6b579;this[_0x4d0c2a(0x2fb)](_0x4d9211(this[_0x4d0c2a(0x200)][_0x4d0c2a(0x1e9)][_0x4d0c2a(0x1dc)])[_0x4d0c2a(0x1c7)](_0x598284(_0x2b1a7d=>_0x2b1a7d[_0x4d0c2a(0x1e3)]===_0x30d01a['resize']),_0x12ecec(0x10))['subscribe'](()=>{const _0x28f43d=_0x4d0c2a;this[_0x28f43d(0x29d)]();}));}};Pe=Mi([Z(0x1,_0x2a8693(_0x5d4b70)),Z(0x2,_0x2a8693(H)),Z(0x3,_0x1d6b2c),Z(0x4,_0x2a8693(_0x124ee7))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x39c4de{constructor(_0x49beb5,_0x53a05d){const _0x5d2af8=_0xf6b579;super(_0x49beb5,_0x53a05d),_(this,'_color'),_(this,_0x5d2af8(0x315),!0x1),_(this,_0x5d2af8(0x24c)),_(this,_0x5d2af8(0x370),''),_(this,_0x5d2af8(0x297),_0x5d2af8(0x35b)),_(this,_0x5d2af8(0x2d1)),(_0x53a05d&&this['setShapeProps'](_0x53a05d),this[_0x5d2af8(0x27c)][_0x5d2af8(0x202)](()=>this[_0x5d2af8(0x198)]({'hovered':!0x0})),this[_0x5d2af8(0x1a7)][_0x5d2af8(0x202)](()=>this[_0x5d2af8(0x198)]({'hovered':!0x1})));}['setShapeProps'](_0x447cfc){const _0x1f1d7c=_0xf6b579;var _0xd30508,_0x3cf443,_0x4346de,_0x38b676,_0x248bcc,_0x2a83ef;this[_0x1f1d7c(0x364)]=(_0xd30508=_0x447cfc['color'])!=null?_0xd30508:this[_0x1f1d7c(0x364)],this[_0x1f1d7c(0x315)]=(_0x3cf443=_0x447cfc['hovered'])!=null?_0x3cf443:this[_0x1f1d7c(0x315)],this[_0x1f1d7c(0x24c)]=(_0x4346de=_0x447cfc['range'])!=null?_0x4346de:this[_0x1f1d7c(0x24c)],this[_0x1f1d7c(0x370)]=(_0x38b676=_0x447cfc['name'])!=null?_0x38b676:this[_0x1f1d7c(0x370)],this['_labelPosition']=(_0x248bcc=_0x447cfc[_0x1f1d7c(0x30b)])!=null?_0x248bcc:this[_0x1f1d7c(0x297)],this['_backgroundColor']=(_0x2a83ef=_0x447cfc[_0x1f1d7c(0x1c1)])!=null?_0x2a83ef:this[_0x1f1d7c(0x2d1)],this[_0x1f1d7c(0x2cb)]({'width':_0x447cfc[_0x1f1d7c(0x284)],'height':_0x447cfc[_0x1f1d7c(0x1c3)]});}[_0xf6b579(0x23f)](_0x28447f){const _0x3dbf4d=_0xf6b579,{row:_0x4631a4,column:_0x2a9103}=_0x28447f;if(_0x4631a4>=this[_0x3dbf4d(0x24c)]['startRow']&&_0x4631a4<=this[_0x3dbf4d(0x24c)]['endRow']&&_0x2a9103>=this['_range'][_0x3dbf4d(0x1d1)]&&_0x2a9103<=this[_0x3dbf4d(0x24c)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3dbf4d(0x198)]({'hovered':!0x1});}[_0xf6b579(0x2f4)](_0x4a9101){return!0x1;}['_draw'](_0x4992e0){const _0x41266e=_0xf6b579;_0x146aee[_0x41266e(0x20c)](_0x4992e0,{'width':this[_0x41266e(0x284)],'height':this[_0x41266e(0x1c3)],'strokeWidth':Li,'stroke':this[_0x41266e(0x364)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x4992e0[_0x41266e(0x278)](),_0x4992e0['transform'](0x1,0x0,0x0,0x1,this[_0x41266e(0x284)],this['_labelPosition']===_0x41266e(0x2df)?0x0:-0x14),he['drawWith'](_0x4992e0,{'text':this[_0x41266e(0x370)],'color':this[_0x41266e(0x364)]}),_0x4992e0[_0x41266e(0x17b)]());}}var Ai=Object[_0xf6b579(0x350)],yi=(_0x3261e8,_0x133f56,_0x394975,_0x1afe9e)=>{const _0x80d516=_0xf6b579;for(var _0x32ef90=_0x1afe9e>0x1?void 0x0:_0x1afe9e?Ai(_0x133f56,_0x394975):_0x133f56,_0x16a9fa=_0x3261e8[_0x80d516(0x1cc)]-0x1,_0x143341;_0x16a9fa>=0x0;_0x16a9fa--)(_0x143341=_0x3261e8[_0x16a9fa])&&(_0x32ef90=_0x143341(_0x32ef90)||_0x32ef90);return _0x32ef90;},ve=(_0x3329a1,_0x2f51ef)=>(_0x18bbfc,_0x422148)=>_0x2f51ef(_0x18bbfc,_0x422148,_0x3329a1);const $i=0x1389;let Le=class extends _0x2677e8{constructor(_0x1590cf,_0x4387b1,_0x6a3a54,_0x3cc1dc){const _0x5ecc19=_0xf6b579;super(),_(this,'_cursors',new Set()),_(this,_0x5ecc19(0x1b6),null),(this['_context']=_0x1590cf,this[_0x5ecc19(0x2b7)]=_0x4387b1,this['_collabCursorController']=_0x6a3a54,this[_0x5ecc19(0x2fa)]=_0x3cc1dc,this[_0x5ecc19(0x266)]());}[_0xf6b579(0x266)](){const _0xfdd235=_0xf6b579;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0x1b1e5e(this[_0xfdd235(0x362)]),_0x5421f8(_0x13e09b=>{const _0x3df0ef=_0xfdd235;if(_0x13e09b){const _0xc51bdc=_0x13e09b['sheetId'];return _0x5764cd(this['_collabCursorController'][_0x3df0ef(0x1e1)](this[_0x3df0ef(0x200)][_0x3df0ef(0x2f6)]),this[_0x3df0ef(0x2fa)][_0x3df0ef(0x1fe)])[_0x3df0ef(0x1c7)](_0x4a102d(([_0x2dbcb1,_0x2cb641])=>{const _0x25f64d=_0x3df0ef,_0x1580f4=new Map();return _0x2dbcb1[_0x25f64d(0x299)]((_0x53382d,_0x2ed87f)=>{const _0x7aa795=_0x25f64d;if(_0x53382d[_0x7aa795(0x28e)]===_0xc51bdc){const _0x3dd8ce={..._0x53382d};_0x3dd8ce['color']=this['_themeService'][_0x7aa795(0x2d8)](_0x53382d[_0x7aa795(0x27d)]),_0x1580f4['set'](_0x2ed87f,_0x3dd8ce);}}),{'skeleton':_0x13e09b,'cursors':_0x1580f4};}));}return _0x24add3({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x393e32,cursors:_0x7b5c29})=>{const _0x498542=_0xfdd235;this[_0x498542(0x183)](),_0x393e32&&this['_updateCollabCursors'](_0x393e32,_0x7b5c29);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0xfdd235(0x1e6)](_0x2a50b1=>{const _0x5dfbce=_0xfdd235;if(_0x2a50b1==null)return;const {skeleton:_0x252598}=_0x2a50b1,{scene:_0x38bbe2}=this[_0x5dfbce(0x200)];_0x38bbe2[_0x5dfbce(0x17a)][_0x5dfbce(0x202)](_0x57544a(_0xde1431=>{const _0x635b0b=_0x5dfbce;var _0xfc17f4,_0x3f908c;const {offsetX:_0x2deba9,offsetY:_0x886785}=_0xde1431,{x:_0x1fa075,y:_0x48f5af}=_0x38bbe2[_0x635b0b(0x368)](_0x1719b6['FromArray']([_0x2deba9,_0x886785])),{scaleX:_0x56fcac,scaleY:_0x3c1cfb}=_0x38bbe2[_0x635b0b(0x28d)](),_0x2f7180=_0x38bbe2['getViewport'](_0xb55cbc['VIEW_MAIN']),_0x19a3ed=_0x38bbe2[_0x635b0b(0x1e0)](_0x1719b6['FromArray']([_0x1fa075,_0x48f5af]),_0x2f7180),_0x26c42b=_0x252598['getCellPositionByOffset'](_0x2deba9,_0x886785,_0x56fcac,_0x3c1cfb,_0x19a3ed);((_0xfc17f4=this[_0x635b0b(0x1b6)])==null?void 0x0:_0xfc17f4[_0x635b0b(0x35a)])===_0x26c42b['column']&&((_0x3f908c=this['_lastPointer'])==null?void 0x0:_0x3f908c[_0x635b0b(0x25f)])===_0x26c42b[_0x635b0b(0x25f)]||this['_cursors'][_0x635b0b(0x299)](_0x27d22b=>{const _0xc9d248=_0x635b0b;_0x27d22b[_0xc9d248(0x23f)](_0x26c42b);});},0x64));});}[_0xf6b579(0x237)](_0x9eb17e,_0x198b75){const _0x30ab97=_0xf6b579;var _0x3911e0;const _0x3dce98=(_0x3911e0=this['_sheetSkeletonManagerService'][_0x30ab97(0x293)]())==null?void 0x0:_0x3911e0['skeleton'];if(!_0x3dce98)return;const _0xa6ac1b=this[_0x30ab97(0x233)]();if(!_0xa6ac1b)return;this[_0x30ab97(0x221)][_0x30ab97(0x299)](_0x1f81eb=>{const _0x83d765=_0x30ab97;_0x1f81eb[_0x83d765(0x361)]();});const {scene:_0x55be16}=_0xa6ac1b,_0x4071d6=xi(Array[_0x30ab97(0x1df)](_0x198b75[_0x30ab97(0x1d4)]()))[_0x30ab97(0x1ad)](_0x27cc29=>{const _0x29de35=_0x30ab97,{color:_0x21d649,range:_0x3f7780,name:_0x123865,selection:_0x17f358,sheetID:_0xbebfda}=_0x27cc29,{startColumn:_0x3e1643,startRow:_0x59bade,endColumn:_0x14c12b,endRow:_0x57a8aa}=_0x3f7780,_0x169566=_0x45b8db(_0x59bade,_0x3e1643,_0x55be16,_0x3dce98),_0x18ce80=_0x45b8db(_0x57a8aa,_0x14c12b,_0x55be16,_0x3dce98),{columnHeaderHeightAndMarginTop:_0x5ec4c5}=_0x3dce98,{startX:_0x2ab42e,startY:_0x42576f}=_0x169566,{endX:_0x32108b,endY:_0x27b1f5}=_0x18ce80,_0x13fd5e=_0x32108b-_0x2ab42e,_0x53a15a=_0x27b1f5-_0x42576f,_0x46da4f={'labelPosition':_0x42576f-_0x5ec4c5>=ee?'top':_0x29de35(0x2df),'sheetID':_0xbebfda,'range':_0x3f7780,'color':_0x21d649,'name':_0x123865,'selection':_0x17f358,'left':_0x2ab42e,'top':_0x42576f,'width':_0x13fd5e,'height':_0x53a15a,'evented':!0x1,'zIndex':$i};return new wi(_0x123865,_0x46da4f);});_0x55be16[_0x30ab97(0x335)](_0x4071d6,Pi),this['_cursors']=new Set(_0x4071d6);}[_0xf6b579(0x183)](){const _0x413165=_0xf6b579;var _0x4d0645;(_0x4d0645=this[_0x413165(0x221)])==null||_0x4d0645['forEach'](_0x1506ed=>_0x1506ed[_0x413165(0x2ce)]());}[_0xf6b579(0x233)](){const _0x59d300=_0xf6b579;return _0x5226b6(this[_0x59d300(0x200)][_0x59d300(0x1d8)],this['_context']);}};Le=yi([ve(0x1,_0x2a8693(_0x39b13f)),ve(0x2,_0x2a8693(H)),ve(0x3,_0x2a8693(_0x124ee7))],Le);function xi(_0x2bb621){const _0x19227e=_0xf6b579,_0x10f915=new Map();return _0x2bb621[_0x19227e(0x299)](_0x43a98d=>{const _0x15c025=_0x19227e;if(_0x10f915[_0x15c025(0x375)](_0x43a98d['selection'])){const _0x1f93b2=_0x10f915['get'](_0x43a98d['selection']);_0x1f93b2['name']+=',\x20'+_0x43a98d[_0x15c025(0x1ce)];}else _0x10f915[_0x15c025(0x247)](_0x43a98d[_0x15c025(0x265)],_0x43a98d);}),Array[_0x19227e(0x1df)](_0x10f915['values']());}var v=function(){const _0x5a6dd9=_0xf6b579;return v=Object[_0x5a6dd9(0x366)]||function(_0x2e201e){const _0x5e6b3c=_0x5a6dd9;for(var _0x41fa05,_0x54e5ec=0x1,_0x1cfd49=arguments['length'];_0x54e5ec<_0x1cfd49;_0x54e5ec++){_0x41fa05=arguments[_0x54e5ec];for(var _0x3582cf in _0x41fa05)Object[_0x5e6b3c(0x20d)][_0x5e6b3c(0x182)]['call'](_0x41fa05,_0x3582cf)&&(_0x2e201e[_0x3582cf]=_0x41fa05[_0x3582cf]);}return _0x2e201e;},v[_0x5a6dd9(0x22a)](this,arguments);},Bi=function(_0x3012c0,_0x32c829){const _0x5ce53f=_0xf6b579;var _0x52cba7={};for(var _0x17d03f in _0x3012c0)Object[_0x5ce53f(0x20d)][_0x5ce53f(0x182)][_0x5ce53f(0x2a4)](_0x3012c0,_0x17d03f)&&_0x32c829[_0x5ce53f(0x2ca)](_0x17d03f)<0x0&&(_0x52cba7[_0x17d03f]=_0x3012c0[_0x17d03f]);if(_0x3012c0!=null&&typeof Object[_0x5ce53f(0x2f8)]==_0x5ce53f(0x179)){for(var _0x2f1697=0x0,_0x17d03f=Object[_0x5ce53f(0x2f8)](_0x3012c0);_0x2f1697<_0x17d03f[_0x5ce53f(0x1cc)];_0x2f1697++)_0x32c829[_0x5ce53f(0x2ca)](_0x17d03f[_0x2f1697])<0x0&&Object[_0x5ce53f(0x20d)][_0x5ce53f(0x17d)][_0x5ce53f(0x2a4)](_0x3012c0,_0x17d03f[_0x2f1697])&&(_0x52cba7[_0x17d03f[_0x2f1697]]=_0x3012c0[_0x17d03f[_0x2f1697]]);}return _0x52cba7;},je=_0x579c37(function(_0x270f5a,_0xa90c76){const _0x3c6bac=_0xf6b579;var _0x2c56c8=_0x270f5a[_0x3c6bac(0x2c1)],_0x268ea6=_0x270f5a['id'],_0x344746=_0x270f5a[_0x3c6bac(0x2db)],_0x31a0c5=_0x270f5a[_0x3c6bac(0x2a2)],_0x725c1c=Bi(_0x270f5a,[_0x3c6bac(0x2c1),'id',_0x3c6bac(0x2db),_0x3c6bac(0x2a2)]),_0x3ef32c=_0x3c6bac(0x217)[_0x3c6bac(0x186)](_0x268ea6,'\x20')[_0x3c6bac(0x186)](_0x344746||'')['trim'](),_0x2e0ac0=_0x5071b1('_'[_0x3c6bac(0x186)](ji()));return Rt(_0x2c56c8,''[_0x3c6bac(0x186)](_0x268ea6),{'defIds':_0x2c56c8['defIds'],'idSuffix':_0x2e0ac0['current']},v({'ref':_0xa90c76,'className':_0x3ef32c},_0x725c1c),_0x31a0c5);});function Rt(_0x5aa34e,_0x4e19dc,_0x52dcad,_0x56b6bb,_0x1625e6){const _0x28c0dd=_0xf6b579;return _0x251847(_0x5aa34e[_0x28c0dd(0x307)],v(v({'key':_0x4e19dc},ki(_0x5aa34e,_0x52dcad,_0x1625e6)),_0x56b6bb),(Hi(_0x5aa34e,_0x52dcad)['children']||[])[_0x28c0dd(0x1ad)](function(_0x4778b8,_0x38d739){const _0x555313=_0x28c0dd;return Rt(_0x4778b8,''[_0x555313(0x186)](_0x4e19dc,'-')[_0x555313(0x186)](_0x5aa34e[_0x555313(0x307)],'-')['concat'](_0x38d739),_0x52dcad,void 0x0,_0x1625e6);}));}function ki(_0x1d644d,_0x52527c,_0x14dad7){const _0x597ab7=_0xf6b579;var _0x136f10=v({},_0x1d644d[_0x597ab7(0x1d3)]);_0x14dad7!=null&&_0x14dad7[_0x597ab7(0x19e)]&&_0x136f10['fill']===_0x597ab7(0x19e)&&(_0x136f10['fill']=_0x14dad7[_0x597ab7(0x19e)]),_0x1d644d['tag']===_0x597ab7(0x22b)&&_0x136f10['id']&&(_0x136f10['id']=_0x136f10['id']+_0x52527c[_0x597ab7(0x271)]),Object[_0x597ab7(0x2e5)](_0x136f10)[_0x597ab7(0x299)](function(_0x31ef11){const _0x3d3d57=_0x597ab7;var _0x49d0be=_0x31ef11[0x0],_0x348800=_0x31ef11[0x1];_0x49d0be==='mask'&&typeof _0x348800==_0x3d3d57(0x28c)&&(_0x136f10[_0x49d0be]=_0x348800[_0x3d3d57(0x33b)](/url\(#(.*)\)/,'url(#$1'[_0x3d3d57(0x186)](_0x52527c[_0x3d3d57(0x271)],')')));});var _0x169997=_0x52527c[_0x597ab7(0x199)];return!_0x169997||_0x169997[_0x597ab7(0x1cc)]===0x0||(_0x1d644d[_0x597ab7(0x307)]===_0x597ab7(0x34a)&&_0x136f10[_0x597ab7(0x18a)]&&(_0x136f10['xlink:href']=_0x136f10[_0x597ab7(0x18a)]+_0x52527c[_0x597ab7(0x271)]),Object[_0x597ab7(0x2e5)](_0x136f10)[_0x597ab7(0x299)](function(_0x1c34bf){const _0xaa0010=_0x597ab7;var _0x37c395=_0x1c34bf[0x0],_0x2d004c=_0x1c34bf[0x1];typeof _0x2d004c==_0xaa0010(0x28c)&&(_0x136f10[_0x37c395]=_0x2d004c['replace'](/url\(#(.*)\)/,'url(#$1'[_0xaa0010(0x186)](_0x52527c['idSuffix'],')')));})),_0x136f10;}function Hi(_0x2e77d2,_0x5378bd){const _0x1d8265=_0xf6b579;var _0x1cc15a,_0x1bb8d9=_0x5378bd[_0x1d8265(0x199)];return!_0x1bb8d9||_0x1bb8d9[_0x1d8265(0x1cc)]===0x0?_0x2e77d2:_0x2e77d2[_0x1d8265(0x307)]===_0x1d8265(0x1ba)&&(!((_0x1cc15a=_0x2e77d2[_0x1d8265(0x1a1)])===null||_0x1cc15a===void 0x0)&&_0x1cc15a[_0x1d8265(0x1cc)])?v(v({},_0x2e77d2),{'children':_0x2e77d2['children'][_0x1d8265(0x1ad)](function(_0x543fed){const _0x3dd429=_0x1d8265;return typeof _0x543fed[_0x3dd429(0x1d3)]['id']==_0x3dd429(0x28c)&&_0x1bb8d9&&_0x1bb8d9[_0x3dd429(0x2ca)](_0x543fed['attrs']['id'])>-0x1?v(v({},_0x543fed),{'attrs':v(v({},_0x543fed[_0x3dd429(0x1d3)]),{'id':_0x543fed[_0x3dd429(0x1d3)]['id']+_0x5378bd['idSuffix']})}):_0x543fed;})}):_0x2e77d2;}function ji(){const _0x193a0c=_0xf6b579;return Math[_0x193a0c(0x340)]()[_0x193a0c(0x30e)](0x24)[_0x193a0c(0x27a)](0x2,0x8);}je[_0xf6b579(0x249)]=_0xf6b579(0x33c);var Yi={'tag':_0xf6b579(0x267),'attrs':{'fill':_0xf6b579(0x2cd),'viewBox':_0xf6b579(0x1d0),'width':_0xf6b579(0x2c4),'height':_0xf6b579(0x2c4)},'children':[{'tag':'g','attrs':{'clipPath':_0xf6b579(0x222)},'children':[{'tag':'path','attrs':{'stroke':_0xf6b579(0x306),'d':_0xf6b579(0x288),'strokeLinecap':_0xf6b579(0x21b),'strokeLinejoin':_0xf6b579(0x21b),'strokeWidth':1.2}}]},{'tag':_0xf6b579(0x1ba),'attrs':{},'children':[{'tag':_0xf6b579(0x2de),'attrs':{'id':_0xf6b579(0x21d)},'children':[{'tag':'path','attrs':{'fill':_0xf6b579(0x1d6),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xf6b579(0x21d)]},Dt=_0x579c37(function(_0x4eb373,_0x58c5dd){const _0x18f6d3=_0xf6b579;return _0x251847(je,Object[_0x18f6d3(0x366)]({},_0x4eb373,{'id':_0x18f6d3(0x195),'ref':_0x58c5dd,'icon':Yi}));});Dt[_0xf6b579(0x249)]=_0xf6b579(0x208);var Fi={'tag':_0xf6b579(0x267),'attrs':{'fill':_0xf6b579(0x2cd),'viewBox':_0xf6b579(0x241),'width':_0xf6b579(0x2c4),'height':_0xf6b579(0x2c4)},'children':[{'tag':'g','attrs':{'clipPath':_0xf6b579(0x2a9)},'children':[{'tag':_0xf6b579(0x1f8),'attrs':{'stroke':_0xf6b579(0x306),'d':_0xf6b579(0x27f),'strokeLinecap':_0xf6b579(0x21b),'strokeLinejoin':_0xf6b579(0x21b),'strokeWidth':1.2}}]},{'tag':_0xf6b579(0x1ba),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xf6b579(0x36c)},'children':[{'tag':_0xf6b579(0x1f8),'attrs':{'fill':_0xf6b579(0x1d6),'d':'M0\x200H16V16H0z','transform':_0xf6b579(0x1ff)}}]}]}],'defIds':[_0xf6b579(0x36c)]},Nt=_0x579c37(function(_0x5584e3,_0x12c8ff){const _0x16b5bc=_0xf6b579;return _0x251847(je,Object[_0x16b5bc(0x366)]({},_0x5584e3,{'id':_0x16b5bc(0x263),'ref':_0x12c8ff,'icon':Fi}));});Nt[_0xf6b579(0x249)]=_0xf6b579(0x23d);function Wi(_0x416f29){const _0x221fd2=_0xf6b579;switch(_0x416f29){case _0x84184a[_0x221fd2(0x343)]:return'collabStatus.offline';case _0x84184a[_0x221fd2(0x36d)]:return'collabStatus.conflict';case _0x84184a['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x84184a[_0x221fd2(0x177)]:return _0x221fd2(0x320);case _0x84184a[_0x221fd2(0x274)]:case _0x84184a[_0x221fd2(0x316)]:return _0x221fd2(0x24a);case _0x84184a[_0x221fd2(0x308)]:case _0x84184a[_0x221fd2(0x1ac)]:return'collabStatus.synced';}}function Vi(_0x5aa0f2){const _0x4a7228=_0xf6b579,{status$:_0x331a40}=_0x5aa0f2,_0x4a4045=_0x366d50(_0x331a40,_0x84184a[_0x4a7228(0x177)]),_0x2d9693=_0x38e0ae(_0x8f02ce),_0x5d0caa=_0x38e0ae(_0x3ab9ef),_0x5e93d7=_0x4a4045!==_0x84184a[_0x4a7228(0x343)],_0x6825cb=_0x2d9693['t'](Wi(_0x4a4045)),_0x1371c2=_0x5e93d7?_0x643cf4(Nt,{}):_0x643cf4(Dt,{}),_0x34bb0e=_0x226101(()=>{_0x5e93d7||_0x5d0caa['reconnect']();},[_0x5e93d7,_0x5d0caa]);function _0x3af45e(){const _0x1b9896=_0x4a7228;return _0x1e5ba5(_0x1b9896(0x291),{'className':_0x1b9896(0x239),'onClick':_0x34bb0e,'children':[_0x643cf4(_0x1b9896(0x291),{'className':_0xd33953(_0x1b9896(0x2dd),{'univer-text-green-500':_0x5e93d7,'univer-text-red-500':!_0x5e93d7}),'children':_0x1371c2}),_0x643cf4(_0x1b9896(0x291),{'className':_0x1b9896(0x258),'children':_0x6825cb})]});}return _0x5e93d7?_0x3af45e():_0x643cf4(_0x47c419,{'title':_0x2d9693['t'](_0x4a7228(0x371)),'children':_0x3af45e()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x2d00da,_0x4ae7dc,_0xb94dee,_0x5e7732)=>{const _0x4f3246=_0xf6b579;for(var _0xa919de=_0x5e7732>0x1?void 0x0:_0x5e7732?Xi(_0x4ae7dc,_0xb94dee):_0x4ae7dc,_0x1b93b1=_0x2d00da[_0x4f3246(0x1cc)]-0x1,_0x36a6b9;_0x1b93b1>=0x0;_0x1b93b1--)(_0x36a6b9=_0x2d00da[_0x1b93b1])&&(_0xa919de=_0x36a6b9(_0xa919de)||_0xa919de);return _0xa919de;},Q=(_0x20a8aa,_0x2c9182)=>(_0x14fbbe,_0x2937fc)=>_0x2c9182(_0x14fbbe,_0x2937fc,_0x20a8aa);let te=class extends _0x57ae12{constructor(_0x5d00cf,_0x1d3a8a,_0xc9336,_0x455410){const _0x267b06=_0xf6b579;super(),_(this,_0x267b06(0x240),new _0x42e5c1(_0x84184a[_0x267b06(0x177)])),(this[_0x267b06(0x251)]=_0x5d00cf,this[_0x267b06(0x204)]=_0x1d3a8a,this[_0x267b06(0x337)]=_0xc9336,this[_0x267b06(0x330)]=_0x455410,this['_initStatusComponent'](),this[_0x267b06(0x1dd)]());}['_initStatusListener'](){const _0xee9ce4=_0xf6b579;this[_0xee9ce4(0x2fb)](this[_0xee9ce4(0x251)][_0xee9ce4(0x185)][_0xee9ce4(0x1c7)](_0x218087(()=>{const _0x2c58b1=_0xee9ce4,_0x5b5948=this[_0x2c58b1(0x251)]['getFocusedUnit']();return _0x5b5948?this[_0x2c58b1(0x337)]['getCollabEntity$'](_0x5b5948['getUnitId']()):_0x24add3(null);}),_0x218087(_0x21d63e=>_0x21d63e?_0x21d63e[_0xee9ce4(0x2a0)]:_0x24add3(_0x84184a[_0xee9ce4(0x177)])))[_0xee9ce4(0x1e6)](_0x18496a=>{const _0x4daa18=_0xee9ce4;this[_0x4daa18(0x240)][_0x4daa18(0x1c5)](_0x18496a);}));}[_0xf6b579(0x1ae)](){const _0x138c49=_0xf6b579;this[_0x138c49(0x2fb)](this[_0x138c49(0x330)]['registerComponent'](_0xaa57cd[_0x138c49(0x359)],()=>_0x30a8d1(Ki({'status$':this[_0x138c49(0x240)][_0x138c49(0x374)]()}),this[_0x138c49(0x204)])));}};te=Gi([Q(0x0,_0x519898),Q(0x1,_0x2a8693(_0x31f2aa)),Q(0x2,_0x2a8693(_0x6a604d)),Q(0x3,_0xe44bbe)],te);function Ki(_0x4abac1){const {status$:_0x8f9821}=_0x4abac1;return function(){return _0x643cf4(Vi,{'status$':_0x8f9821});};}var zi=Object[_0xf6b579(0x350)],Ji=(_0x152740,_0x47641f,_0x5a2282,_0x27ffac)=>{for(var _0x285974=_0x27ffac>0x1?void 0x0:_0x27ffac?zi(_0x47641f,_0x5a2282):_0x47641f,_0x11f5a4=_0x152740['length']-0x1,_0x17b047;_0x11f5a4>=0x0;_0x11f5a4--)(_0x17b047=_0x152740[_0x11f5a4])&&(_0x285974=_0x17b047(_0x285974)||_0x285974);return _0x285974;},B=(_0x11c6ff,_0xf1e74)=>(_0x41444a,_0x44a994)=>_0xf1e74(_0x41444a,_0x44a994,_0x11c6ff);let se=class extends _0x57ae12{constructor(_0x108e79,_0x3b8ee5,_0x188fa1,_0x49b98d,_0x5566b4,_0x19fcbf){const _0x224d3=_0xf6b579;super(),this[_0x224d3(0x175)]=_0x108e79,this[_0x224d3(0x321)]=_0x3b8ee5,this[_0x224d3(0x286)]=_0x188fa1,this[_0x224d3(0x1ea)]=_0x49b98d,this[_0x224d3(0x353)]=_0x5566b4,this['_localeService']=_0x19fcbf,this['_setupBeforeClosingHandler'](),this[_0x224d3(0x1a0)]();}[_0xf6b579(0x2ed)](){const _0x106cce=_0xf6b579;this[_0x106cce(0x2fb)](this[_0x106cce(0x175)][_0x106cce(0x2eb)](()=>{const _0x53bf1c=_0x106cce;if(this['_localCacheService'][_0x53bf1c(0x36b)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0xf6b579(0x1a0)](){const _0x4d4ce9=_0xf6b579;this[_0x4d4ce9(0x2fb)](this[_0x4d4ce9(0x286)][_0x4d4ce9(0x2a6)]['subscribe'](_0x1fe65e=>{const _0x535160=_0x4d4ce9;_0x1fe65e['id']===_0x2b76d1[_0x535160(0x2d9)]&&this[_0x535160(0x1ea)][_0x535160(0x220)]({'type':_0x16ad2a[_0x535160(0x312)],'content':this['_localeService']['t'](_0x535160(0x2af))}),_0x1fe65e['id']===_0x2b76d1['CLOSE_ROOM']&&this[_0x535160(0x1ea)][_0x535160(0x220)]({'type':_0x16ad2a['Warning'],'content':this[_0x535160(0x2a7)]['t']('collaboration.closeRoom')}),_0x1fe65e['id']===_0x2b76d1[_0x535160(0x1fd)]&&this[_0x535160(0x353)][_0x535160(0x220)]({'title':this[_0x535160(0x2a7)]['t'](_0x535160(0x1f7)),'content':this[_0x535160(0x2a7)]['t'](_0x535160(0x2d4)),'type':_0x535160(0x31b),'duration':0x0}),_0x1fe65e['id']===_0x2b76d1[_0x535160(0x36d)]&&this[_0x535160(0x1ea)][_0x535160(0x220)]({'type':_0x16ad2a[_0x535160(0x325)],'content':this[_0x535160(0x2a7)]['t'](_0x535160(0x23e))+'('+_0x1fe65e[_0x535160(0x35c)]+')'}),_0x1fe65e['id']===_0x2b76d1[_0x535160(0x228)]&&this[_0x535160(0x1ea)]['show']({'type':_0x16ad2a[_0x535160(0x312)],'content':this[_0x535160(0x2a7)]['t'](_0x1fe65e[_0x535160(0x35c)]||'')}),_0x1fe65e['id']===_0x2b76d1['SOCKET_FAILED_RETRY']&&this[_0x535160(0x1ea)][_0x535160(0x220)]({'type':_0x16ad2a[_0x535160(0x312)],'content':this[_0x535160(0x2a7)]['t'](_0x535160(0x2d6))}),_0x1fe65e['id']===_0x2b76d1[_0x535160(0x354)]&&this[_0x535160(0x1ea)]['show']({'type':_0x16ad2a['Error'],'content':this['_localeService']['t'](_0x535160(0x20a))}),_0x1fe65e['id']===_0x2b76d1[_0x535160(0x223)]&&this[_0x535160(0x1ea)]['show']({'type':_0x16ad2a[_0x535160(0x325)],'content':this[_0x535160(0x2a7)]['t'](_0x535160(0x235))});}));}};se=Ji([B(0x0,_0x193ac9),B(0x1,_0x2aae2e),B(0x2,_0x2a8693(_0x5279d9)),B(0x3,_0x232bc4),B(0x4,_0x4f86cc),B(0x5,_0x2a8693(_0x8f02ce))],se);const Zi=_0xf6b579(0x334),et={},Ut=_0x225008(_0xf6b579(0x336));var Qi=Object[_0xf6b579(0x350)],qi=(_0x4b54d7,_0x5133b8,_0x2deee5,_0x1d320e)=>{const _0x59eed1=_0xf6b579;for(var _0xbeaac0=_0x1d320e>0x1?void 0x0:_0x1d320e?Qi(_0x5133b8,_0x2deee5):_0x5133b8,_0x29bd73=_0x4b54d7[_0x59eed1(0x1cc)]-0x1,_0x4ad3df;_0x29bd73>=0x0;_0x29bd73--)(_0x4ad3df=_0x4b54d7[_0x29bd73])&&(_0xbeaac0=_0x4ad3df(_0xbeaac0)||_0xbeaac0);return _0xbeaac0;},G=(_0x1a8cd9,_0x4fbf14)=>(_0x79f3f0,_0x31afb7)=>_0x4fbf14(_0x79f3f0,_0x31afb7,_0x1a8cd9);let ie=class extends _0x2677e8{constructor(_0x511c8c,_0x5d77f7,_0x386a90,_0x2ee3f0,_0x31b33a){const _0x4726b9=_0xf6b579;super(),this[_0x4726b9(0x2ec)]=_0x511c8c,this[_0x4726b9(0x2cf)]=_0x5d77f7,this[_0x4726b9(0x21a)]=_0x386a90,this[_0x4726b9(0x2f5)]=_0x2ee3f0,_0x31b33a?_0x31b33a==null||_0x31b33a['whenReady']()[_0x4726b9(0x2e9)](()=>this[_0x4726b9(0x266)]()):(this['_logService'][_0x4726b9(0x280)](_0x4726b9(0x24b),_0x4726b9(0x304)),this[_0x4726b9(0x266)]());}async[_0xf6b579(0x266)](){const _0x5b4cc5=_0xf6b579,_0x398591=this['_urlService']['getParam']('unit'),_0x434775=this[_0x5b4cc5(0x2ec)][_0x5b4cc5(0x184)](_0x5b4cc5(0x1e3)),_0x1febb1=this[_0x5b4cc5(0x2ec)][_0x5b4cc5(0x184)]('subunit');if(!_0x398591||!_0x434775){this[_0x5b4cc5(0x2cf)]['debug'](_0x5b4cc5(0x24b),_0x5b4cc5(0x193));return;}const _0x5a2c5d=await this['_dataLoaderService'][_0x5b4cc5(0x344)](_0x398591,Number(_0x434775),_0x1febb1);_0x5a2c5d&&_0x5a2c5d instanceof _0x2f4872&&this[_0x5b4cc5(0x305)](_0x5a2c5d);}async[_0xf6b579(0x305)](_0x2d8848){const _0x247d3c=_0xf6b579;await this[_0x247d3c(0x1d5)](_0x2d8848),_0x2d8848[_0x247d3c(0x2c0)][_0x247d3c(0x1c7)](_0x398d5(this[_0x247d3c(0x362)]))['subscribe'](_0x3c6a58=>{const _0x589880=_0x247d3c;_0x3c6a58&&this[_0x589880(0x32d)](_0x3c6a58);}),this['_urlService'][_0x247d3c(0x1ee)]['pipe'](_0x398d5(this[_0x247d3c(0x362)]))[_0x247d3c(0x1e6)](()=>this[_0x247d3c(0x1d5)](_0x2d8848));}['_updateURLWithCurrentState'](_0x44ead2,_0x44b415=!0x1){const _0x55bf94=_0xf6b579,_0x8b3a9e=this[_0x55bf94(0x2ec)]['getParam'](_0x55bf94(0x309));_0x44ead2[_0x55bf94(0x25d)]()!==_0x8b3a9e&&this['_urlService']['setParam'](_0x55bf94(0x309),_0x44ead2[_0x55bf94(0x25d)](),_0x44b415);}async[_0xf6b579(0x1d5)](_0xfafb7){const _0x51bc6f=_0xf6b579;var _0xf04f77;const _0x23c415=this['_urlService'][_0x51bc6f(0x184)](_0x51bc6f(0x309));if(!_0x23c415||!_0xfafb7['getSheetBySheetId'](_0x23c415)){const _0x2ee0eb=_0xfafb7[_0x51bc6f(0x324)]()[0x0],_0x2a1162=_0xfafb7[_0x51bc6f(0x2b3)](_0x2ee0eb);if(!_0x2a1162)return;this[_0x51bc6f(0x32d)](_0x2a1162,!0x0),await this[_0x51bc6f(0x21a)][_0x51bc6f(0x1b9)](_0x267cb4['id'],{'unitId':_0xfafb7['getUnitId'](),'subUnitId':_0x2ee0eb});return;}((_0xf04f77=_0xfafb7['getActiveSheet']())==null?void 0x0:_0xf04f77[_0x51bc6f(0x25d)]())!==_0x23c415&&await this[_0x51bc6f(0x21a)][_0x51bc6f(0x1b9)](_0x267cb4['id'],{'unitId':_0xfafb7[_0x51bc6f(0x2dc)](),'subUnitId':_0x23c415});}};ie=qi([G(0x0,Ut),G(0x1,_0x49688a),G(0x2,_0x1d6b2c),G(0x3,_0x2a8693(_0x14d099)),G(0x4,_0x406c5a(_0x5022ad))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x18f330,_0x483c12,_0x21fad8,_0x3f7c4b)=>{const _0x171242=_0xf6b579;for(var _0xb563a8=_0x3f7c4b>0x1?void 0x0:_0x3f7c4b?en(_0x483c12,_0x21fad8):_0x483c12,_0x243c05=_0x18f330[_0x171242(0x1cc)]-0x1,_0x5ba1fb;_0x243c05>=0x0;_0x243c05--)(_0x5ba1fb=_0x18f330[_0x243c05])&&(_0xb563a8=_0x5ba1fb(_0xb563a8)||_0xb563a8);return _0xb563a8;},pe=(_0x1db783,_0x517506)=>(_0x319476,_0x5d1403)=>_0x517506(_0x319476,_0x5d1403,_0x1db783);let ne=class{constructor(_0x4a1c18,_0x5df966,_0x39e92b){const _0x2a15c9=_0xf6b579;this[_0x2a15c9(0x204)]=_0x4a1c18,this['_transformService']=_0x5df966,this[_0x2a15c9(0x20b)]=_0x39e92b;}['transformIMECache'](_0x2f6edd){const _0x193e9a=_0xf6b579;this['_transformUndoRedoStack'](_0x2f6edd),this[_0x193e9a(0x201)](_0x2f6edd);}[_0xf6b579(0x2ef)](_0x5f4f3e){const _0x439aec=_0xf6b579,{unitID:_0xaaa9d8}=_0x5f4f3e,_0x564457=this[_0x439aec(0x20b)][_0x439aec(0x227)](_0xaaa9d8)[_0x439aec(0x248)](_0x2fe300),{redoCache:_0x17c1cd}=_0x564457[_0x439aec(0x2e7)]();if(_0x17c1cd[_0x439aec(0x1cc)]===0x0)return _0x5f4f3e;let _0x13fdf7=_0x1c711a['deepClone'](_0x5f4f3e['mutations'][0x0]);for(let _0x356c5c=0x0;_0x356c5c<_0x17c1cd[_0x439aec(0x1cc)];_0x356c5c++){const _0x140a57={'id':'doc.mutation.rich-text-editing','params':{..._0x17c1cd[_0x356c5c]}},_0x345407=this['_transformService'][_0x439aec(0x224)](_0x13fdf7,_0x140a57,!0x1);if(_0x3075d8(_0x345407))throw _0x345407[_0x439aec(0x31b)];_0x13fdf7=_0x345407['m1Prime'];}return{..._0x1c711a[_0x439aec(0x367)](_0x5f4f3e),'mutations':[_0x13fdf7]};}[_0xf6b579(0x226)](_0x42041f){const _0x458c8b=_0xf6b579,{unitID:_0x4860c3}=_0x42041f,_0x5f5547=this['_renderManagerService'][_0x458c8b(0x227)](_0x4860c3)['with'](_0x2fe300),{undoCache:_0x245b2c,redoCache:_0x574def}=_0x5f5547['getUndoRedoMutationParamsCache']();if(_0x245b2c[_0x458c8b(0x1cc)]===0x0||_0x574def[_0x458c8b(0x1cc)]===0x0)return;const _0x1524e3=[],_0x2c1e40=[];let _0x6cc1cc=_0x1c711a[_0x458c8b(0x367)](_0x42041f['mutations'][0x0]),_0x4f6ed0=_0x1c711a[_0x458c8b(0x367)](_0x42041f['mutations'][0x0]);for(let _0x587be0=_0x245b2c['length']-0x1;_0x587be0>=0x0;_0x587be0--){const _0xaaff37={'id':_0x458c8b(0x1b7),'params':{..._0x245b2c[_0x587be0]}},_0x353576={'id':'doc.mutation.rich-text-editing','params':{..._0x574def[_0x587be0]}},_0x5986fe=this['_transformService'][_0x458c8b(0x224)](_0x6cc1cc,_0xaaff37,!0x1),_0xbba4c3=this['_transformService']['transformMutation'](_0x4f6ed0,_0x353576,!0x1);if(_0x3075d8(_0x5986fe))throw _0x5986fe[_0x458c8b(0x31b)];if(_0x3075d8(_0xbba4c3))throw _0xbba4c3['error'];_0x1524e3[_0x458c8b(0x33a)](_0x5986fe[_0x458c8b(0x373)][_0x458c8b(0x275)]),_0x2c1e40[_0x458c8b(0x33a)](_0xbba4c3[_0x458c8b(0x373)][_0x458c8b(0x275)]),_0x6cc1cc=_0x5986fe[_0x458c8b(0x34e)],_0x4f6ed0=_0xbba4c3[_0x458c8b(0x34e)];}_0x5f5547[_0x458c8b(0x346)]({'undoCache':_0x1524e3,'redoCache':_0x2c1e40});}[_0xf6b579(0x201)](_0x4a14f7){const _0x56eab4=_0xf6b579,{unitID:_0x3fb99f}=_0x4a14f7,_0x457f7b=this[_0x56eab4(0x20b)][_0x56eab4(0x227)](_0x3fb99f)[_0x56eab4(0x248)](_0x2fe300),_0x465f5f=_0x457f7b['getActiveRange']();if(_0x465f5f==null)return;const _0x207e49=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4a14f7[_0x56eab4(0x1a4)],'actions':null,'textRanges':[_0x465f5f]}}],_0x3342cc=this[_0x56eab4(0x1eb)][_0x56eab4(0x287)](_0x4a14f7,_0x207e49);if(!_0x42a2d8(_0x3342cc))throw _0x3342cc[_0x56eab4(0x31b)];const _0x4e0df3=_0x3342cc[_0x56eab4(0x373)][0x0]['params'][_0x56eab4(0x1e4)];Array[_0x56eab4(0x2fe)](_0x4e0df3)&&_0x4e0df3['length']&&_0x457f7b[_0x56eab4(0x2ff)](_0x4e0df3[0x0]);}};ne=tn([pe(0x0,_0x2a8693(_0x31f2aa)),pe(0x1,_0x1dc672),pe(0x2,_0x7fab75)],ne);var sn=Object[_0xf6b579(0x350)],nn=(_0x31b000,_0x2d4276,_0x3af125,_0x357482)=>{for(var _0x239744=_0x357482>0x1?void 0x0:_0x357482?sn(_0x2d4276,_0x3af125):_0x2d4276,_0xd5c81a=_0x31b000['length']-0x1,_0xda639a;_0xd5c81a>=0x0;_0xd5c81a--)(_0xda639a=_0x31b000[_0xd5c81a])&&(_0x239744=_0xda639a(_0x239744)||_0x239744);return _0x239744;},Ce=(_0x2b875e,_0x301766)=>(_0x2d6b33,_0x28c720)=>_0x301766(_0x2d6b33,_0x28c720,_0x2b875e);let re=class{constructor(_0x4697dd,_0x164496,_0x2c2c1c){const _0x2a8639=_0xf6b579;this[_0x2a8639(0x204)]=_0x4697dd,this[_0x2a8639(0x1eb)]=_0x164496,this[_0x2a8639(0x2fd)]=_0x2c2c1c;}[_0xf6b579(0x24d)](_0x1ce446){this['_transformHistoryAndStateStack'](_0x1ce446);}[_0xf6b579(0x2ef)](_0x500899){const _0x8276cd=_0xf6b579,{unitID:_0x4d9a56}=_0x500899,{collaboration:_0x596bfa}=this[_0x8276cd(0x2fd)][_0x8276cd(0x30a)](_0x4d9a56);if(_0x596bfa[_0x8276cd(0x1cc)]===0x0)return _0x500899;let _0x42c019=_0x1c711a[_0x8276cd(0x367)](_0x500899[_0x8276cd(0x22c)][0x0]);for(let _0x5b7e59=0x0;_0x5b7e59<_0x596bfa[_0x8276cd(0x1cc)];_0x5b7e59++){const _0x42cbad={'id':_0x8276cd(0x1b7),'params':{'unitId':_0x596bfa[_0x5b7e59]['unitId'],..._0x596bfa[_0x5b7e59][_0x8276cd(0x32c)]}},_0x54b4f8=this['_transformService']['transformMutation'](_0x42c019,_0x42cbad,!0x1);if(_0x3075d8(_0x54b4f8))throw _0x54b4f8[_0x8276cd(0x31b)];_0x42c019=_0x54b4f8[_0x8276cd(0x34e)];}return{..._0x1c711a[_0x8276cd(0x367)](_0x500899),'mutations':[_0x42c019]};}[_0xf6b579(0x35e)](_0x58b501){const _0x5bfe4a=_0xf6b579,{unitID:_0x3941cc}=_0x58b501,{history:_0x43f31d,collaboration:_0x3ec8e5}=this[_0x5bfe4a(0x2fd)][_0x5bfe4a(0x30a)](_0x3941cc);if(_0x43f31d[_0x5bfe4a(0x1cc)]===0x0&&_0x3ec8e5[_0x5bfe4a(0x1cc)]===0x0)return;const _0x393845=[],_0x21365c=[];let _0x5d8b75=_0x1c711a['deepClone'](_0x58b501['mutations'][0x0]),_0x9f7e79=_0x1c711a['deepClone'](_0x58b501[_0x5bfe4a(0x22c)][0x0]);for(let _0x4c34d5=_0x43f31d['length']-0x1;_0x4c34d5>=0x0;_0x4c34d5--){const _0x1bbb3e={'id':_0x5bfe4a(0x1b7),'params':{'unitId':_0x43f31d[_0x4c34d5][_0x5bfe4a(0x2f6)],..._0x43f31d[_0x4c34d5][_0x5bfe4a(0x268)]}},_0x4f87ab={'id':_0x5bfe4a(0x1b7),'params':{'unitId':_0x43f31d[_0x4c34d5][_0x5bfe4a(0x2f6)],..._0x43f31d[_0x4c34d5][_0x5bfe4a(0x32c)]}},_0x336a4d=this['_transformService'][_0x5bfe4a(0x224)](_0x5d8b75,_0x1bbb3e,!0x1),_0x1259aa=this[_0x5bfe4a(0x1eb)][_0x5bfe4a(0x224)](_0x9f7e79,_0x4f87ab,!0x1);if(_0x3075d8(_0x336a4d))throw _0x336a4d[_0x5bfe4a(0x31b)];if(_0x3075d8(_0x1259aa))throw _0x1259aa[_0x5bfe4a(0x31b)];_0x393845[_0x5bfe4a(0x33a)]({..._0x43f31d[_0x4c34d5],'undoState':_0x336a4d[_0x5bfe4a(0x373)][_0x5bfe4a(0x275)],'redoState':_0x1259aa[_0x5bfe4a(0x373)][_0x5bfe4a(0x275)]}),_0x5d8b75=_0x336a4d[_0x5bfe4a(0x34e)],_0x9f7e79=_0x1259aa[_0x5bfe4a(0x34e)];}_0x5d8b75=_0x1c711a[_0x5bfe4a(0x367)](_0x58b501[_0x5bfe4a(0x22c)][0x0]),_0x9f7e79=_0x1c711a[_0x5bfe4a(0x367)](_0x58b501[_0x5bfe4a(0x22c)][0x0]);for(let _0x20d959=_0x3ec8e5[_0x5bfe4a(0x1cc)]-0x1;_0x20d959>=0x0;_0x20d959--){const _0xf5f630={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3ec8e5[_0x20d959][_0x5bfe4a(0x2f6)],..._0x3ec8e5[_0x20d959][_0x5bfe4a(0x268)]}},_0x1e6854={'id':_0x5bfe4a(0x1b7),'params':{'unitId':_0x3ec8e5[_0x20d959]['unitId'],..._0x3ec8e5[_0x20d959][_0x5bfe4a(0x32c)]}},_0x304e42=this[_0x5bfe4a(0x1eb)][_0x5bfe4a(0x224)](_0x5d8b75,_0xf5f630,!0x1),_0x649426=this[_0x5bfe4a(0x1eb)][_0x5bfe4a(0x224)](_0x9f7e79,_0x1e6854,!0x1);if(_0x3075d8(_0x304e42))throw _0x304e42['error'];if(_0x3075d8(_0x649426))throw _0x649426[_0x5bfe4a(0x31b)];_0x21365c[_0x5bfe4a(0x33a)]({..._0x3ec8e5[_0x20d959],'undoState':_0x304e42[_0x5bfe4a(0x373)]['params'],'redoState':_0x649426[_0x5bfe4a(0x373)][_0x5bfe4a(0x275)]}),_0x5d8b75=_0x304e42[_0x5bfe4a(0x34e)],_0x9f7e79=_0x649426[_0x5bfe4a(0x34e)];}this[_0x5bfe4a(0x2fd)][_0x5bfe4a(0x188)](_0x3941cc,{'history':_0x393845,'collaboration':_0x21365c});}};re=nn([Ce(0x0,_0x2a8693(_0x31f2aa)),Ce(0x1,_0x1dc672),Ce(0x2,_0x2a8693(_0x102805))],re);var rn=Object[_0xf6b579(0x350)],on=(_0x43bff7,_0x25f24c,_0xbbf881,_0x2c2fff)=>{for(var _0x247a9e=_0x2c2fff>0x1?void 0x0:_0x2c2fff?rn(_0x25f24c,_0xbbf881):_0x25f24c,_0x357f59=_0x43bff7['length']-0x1,_0x57a0c4;_0x357f59>=0x0;_0x357f59--)(_0x57a0c4=_0x43bff7[_0x357f59])&&(_0x247a9e=_0x57a0c4(_0x247a9e)||_0x247a9e);return _0x247a9e;},tt=(_0x4d38d6,_0x330917)=>(_0x54be8b,_0x435ecf)=>_0x330917(_0x54be8b,_0x435ecf,_0x4d38d6);let oe=class{constructor(_0x3d4839,_0x4e8309){const _0x2e1cc7=_0xf6b579;this[_0x2e1cc7(0x204)]=_0x3d4839,this[_0x2e1cc7(0x1eb)]=_0x4e8309;}['transformSelections'](_0x3b620a){const _0x2a5acd=_0xf6b579;var _0x2e8c3c;const _0x34a05c=this[_0x2a5acd(0x204)][_0x2a5acd(0x1da)](_0x282ecc),_0x20d9db=(_0x2e8c3c=_0x34a05c[_0x2a5acd(0x1b3)]())!=null?_0x2e8c3c:[];if(_0x20d9db[_0x2a5acd(0x1cc)]===0x0)return;const _0x54cf44=_0x3b620a['unitID'],_0x541386=[{'id':_0x2a5acd(0x1b7),'params':{'unitId':_0x54cf44,'actions':null,'textRanges':_0x20d9db}}],_0x2f9df5=this[_0x2a5acd(0x1eb)][_0x2a5acd(0x287)](_0x3b620a,_0x541386);if(!_0x42a2d8(_0x2f9df5))throw _0x2f9df5['error'];const _0x363f8c=_0x2f9df5[_0x2a5acd(0x373)][0x0][_0x2a5acd(0x275)]['textRanges'];Array[_0x2a5acd(0x2fe)](_0x363f8c)&&_0x363f8c[_0x2a5acd(0x1cc)]&&_0x34a05c['replaceDocRanges'](_0x363f8c,{'unitId':_0x54cf44,'subUnitId':_0x54cf44},!0x1);}};oe=on([tt(0x0,_0x2a8693(_0x31f2aa)),tt(0x1,_0x1dc672)],oe);var an=Object[_0xf6b579(0x350)],cn=(_0x40195a,_0x2dfa68,_0x9fd25,_0x2787b3)=>{const _0xaf9b41=_0xf6b579;for(var _0x2a3239=_0x2787b3>0x1?void 0x0:_0x2787b3?an(_0x2dfa68,_0x9fd25):_0x2dfa68,_0x2783ce=_0x40195a[_0xaf9b41(0x1cc)]-0x1,_0x6befe0;_0x2783ce>=0x0;_0x2783ce--)(_0x6befe0=_0x40195a[_0x2783ce])&&(_0x2a3239=_0x6befe0(_0x2a3239)||_0x2a3239);return _0x2a3239;},U=(_0xbedbe8,_0x27b94d)=>(_0x3138b6,_0x27e373)=>_0x27b94d(_0x3138b6,_0x27e373,_0xbedbe8);let ae=class extends _0x57ae12{constructor(_0x2cdcae,_0x355332,_0x127bd6,_0x56f150,_0x593adb,_0xd245e4,_0x4e4ada,_0x33c954){const _0x38131d=_0xf6b579;super(),_(this,_0x38131d(0x240),new _0x42e5c1(_0x84184a[_0x38131d(0x177)])),(this['_docStateChangeManagerService']=_0x2cdcae,this[_0x38131d(0x337)]=_0x355332,this[_0x38131d(0x33d)]=_0x127bd6,this[_0x38131d(0x1f6)]=_0x56f150,this[_0x38131d(0x25c)]=_0x593adb,this['_docSyncEditingCollabCursorService']=_0xd245e4,this[_0x38131d(0x1ea)]=_0x4e4ada,this[_0x38131d(0x2a7)]=_0x33c954,this[_0x38131d(0x355)]());}[_0xf6b579(0x355)](){const _0x8aa71d=_0xf6b579;this[_0x8aa71d(0x2fb)](this[_0x8aa71d(0x337)][_0x8aa71d(0x2c8)]['subscribe'](_0x20ad6d=>{const _0x1cfb05=_0x8aa71d,_0x31d9cb=this[_0x1cfb05(0x2fd)][_0x1cfb05(0x219)]['subscribe'](_0xb6917f=>{const _0x2a62e9=_0x1cfb05;if(_0xb6917f==null)return;const {unitId:_0x35820c,redoState:_0x2a9742,commandId:_0x11374d}=_0xb6917f;if(_0x35820c!==_0x20ad6d[_0x2a62e9(0x1a4)])return;const _0x40c090={'id':_0x11374d,'type':_0x5e969c[_0x2a62e9(0x29a)],'params':{'unitId':_0x35820c,'actions':_0x2a9742[_0x2a62e9(0x32a)],'textRanges':null}};_0x20ad6d[_0x2a62e9(0x34b)](_0x40c090);});if(_0x20ad6d[_0x1cfb05(0x2fb)](_0x31d9cb),_0x20ad6d instanceof _0x179501){const _0xb9ed80={'onTransformIME':_0x5f0fec=>this[_0x1cfb05(0x33d)][_0x1cfb05(0x23c)](_0x5f0fec),'onTransformState':_0x3868d4=>this['_docTransformStateCacheService'][_0x1cfb05(0x24d)](_0x3868d4),'onTransformSelections':_0x8f8743=>this['_docTransformSelectionsService'][_0x1cfb05(0x2ab)](_0x8f8743),'onSyncEditingCollabCursor':_0x1762a2=>this[_0x1cfb05(0x29e)]['syncEditingCollabCursor'](_0x1762a2),'onTransformRemoteChangesetByIMECache':_0x10339d=>this[_0x1cfb05(0x33d)][_0x1cfb05(0x2ef)](_0x10339d),'onTransformRemoteChangesetByStateCache':_0x1fa908=>this[_0x1cfb05(0x1f6)]['transformRemoteChangeset'](_0x1fa908)};_0x20ad6d['addHandlerCallback'](_0xb9ed80);}}));}};ae=cn([U(0x0,_0x2a8693(_0x102805)),U(0x1,_0x2a8693(_0x6a604d)),U(0x2,_0x2a8693(ne)),U(0x3,_0x2a8693(re)),U(0x4,_0x2a8693(oe)),U(0x5,_0x2a8693(He)),U(0x6,_0x232bc4),U(0x7,_0x2a8693(_0x8f02ce))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x2b5690,_0x4f8c6e,_0x556580,_0x1ec11f)=>{for(var _0x9dc918=_0x1ec11f>0x1?void 0x0:_0x1ec11f?ln(_0x4f8c6e,_0x556580):_0x4f8c6e,_0x5db233=_0x2b5690['length']-0x1,_0x544741;_0x5db233>=0x0;_0x5db233--)(_0x544741=_0x2b5690[_0x5db233])&&(_0x9dc918=_0x544741(_0x9dc918)||_0x9dc918);return _0x9dc918;},Ee=(_0x4f9381,_0xb35fcf)=>(_0x53d544,_0x5f2a83)=>_0xb35fcf(_0x53d544,_0x5f2a83,_0x4f9381);let we=class extends _0x57ae12{constructor(_0x15527c,_0xef0fdb,_0x5ea64f){const _0x452923=_0xf6b579;super(),_(this,_0x452923(0x253),new Map()),_(this,_0x452923(0x317),new Map()),_(this,'_disabled',!0x1),(this[_0x452923(0x294)]=_0x15527c,this[_0x452923(0x257)]=_0xef0fdb,this['_revisionService']=_0x5ea64f);}[_0xf6b579(0x196)](){const _0x5806f9=_0xf6b579;this[_0x5806f9(0x31c)]=!0x0;}[_0xf6b579(0x176)](){const _0x3b2e01=_0xf6b579;this[_0x3b2e01(0x31c)]=!0x1;}get['saveTaskMap'](){const _0x594c85=_0xf6b579;return this[_0x594c85(0x317)];}[_0xf6b579(0x2ce)](){const _0x57f413=_0xf6b579;this[_0x57f413(0x342)]()[_0x57f413(0x2e9)](()=>super[_0x57f413(0x2ce)]());}async[_0xf6b579(0x2bb)](_0xe68866){const _0x35ac20=_0xf6b579;return this[_0x35ac20(0x31c)]?null:this['_localStorageService'][_0x35ac20(0x1a2)](_0x525732(_0xe68866));}async[_0xf6b579(0x242)](_0x1bed1d,_0x127d41){const _0x5de3eb=_0xf6b579;return!!this[_0x5de3eb(0x257)][_0x5de3eb(0x22d)](_0x1bed1d,_0x127d41);}['updateOfflineData'](_0x1b9e4c,_0x2d8118,_0xb798ab,_0x65eb93){const _0x1862fc=_0xf6b579,_0x10a146=this['_revisionService']['getCurrentRevOfUnit'](_0x1b9e4c);this[_0x1862fc(0x253)][_0x1862fc(0x247)](_0x1b9e4c,{'unitID':_0x1b9e4c,'type':_0x2d8118,'awaitingChangeset':_0xb798ab,'mutations':_0x65eb93,'rev':_0x10a146}),this[_0x1862fc(0x317)][_0x1862fc(0x375)](_0x1b9e4c)||this[_0x1862fc(0x192)](_0x1b9e4c);}[_0xf6b579(0x192)](_0xb6ad2f){const _0x55c99f=_0xf6b579,_0x17cff0=this[_0x55c99f(0x292)]();_0x17cff0===0x0?this[_0x55c99f(0x347)](_0xb6ad2f):this['_saveTaskMap'][_0x55c99f(0x247)](_0xb6ad2f,setTimeout(()=>this[_0x55c99f(0x347)](_0xb6ad2f),_0x17cff0));}['_getSaveTimeout'](){const _0x16a97c=_0xf6b579;var _0x13ccba;return(_0x13ccba=this[_0x16a97c(0x294)][_0x16a97c(0x19a)](_0x2082b7))!=null?_0x13ccba:_0x2c0523;}[_0xf6b579(0x347)](_0x5350aa){const _0x3c4451=_0xf6b579,_0x5f5cb9=this[_0x3c4451(0x317)]['get'](_0x5350aa);return _0x5f5cb9!==void 0x0&&window['clearTimeout'](_0x5f5cb9),this[_0x3c4451(0x257)][_0x3c4451(0x22d)](_0x525732(_0x5350aa),this['_cachedData'][_0x3c4451(0x1da)](_0x5350aa))['then'](()=>this[_0x3c4451(0x317)][_0x3c4451(0x35f)](_0x5350aa));}async[_0xf6b579(0x342)](){const _0x582560=_0xf6b579,_0x2bc5cf=[];this[_0x582560(0x317)][_0x582560(0x299)]((_0x4141e6,_0x4f302c)=>{const _0x164abb=_0x582560;window[_0x164abb(0x281)](_0x4141e6),_0x2bc5cf[_0x164abb(0x209)](this['_saveCache'](_0x4f302c)['then'](()=>{const _0x21898d=_0x164abb;this[_0x21898d(0x317)][_0x21898d(0x35f)](_0x4f302c);}));}),await Promise[_0x582560(0x25b)](_0x2bc5cf);}};we=_n([Ee(0x0,_0x2cae1e),Ee(0x1,_0xedcbd1),Ee(0x2,_0x2a8693(_0x55fb54))],we);class hn extends _0x2677e8{constructor(){const _0x59ee50=_0xf6b579;super(),_(this,_0x59ee50(0x1ee)),this['urlChange$']=_0x374994(window,'popstate')[_0x59ee50(0x1c7)](_0x398d5(this[_0x59ee50(0x362)]),_0x5361e2(0x1),_0x91b320(void 0x0));}['setParam'](_0x242a2b,_0x4dc62d,_0x170394=!0x1){const _0x2f1352=_0xf6b579,_0x38b06d=new URL(window['location'][_0x2f1352(0x1a9)]);_0x38b06d[_0x2f1352(0x34d)][_0x2f1352(0x247)](_0x242a2b,_0x4dc62d),_0x170394?window[_0x2f1352(0x2e4)][_0x2f1352(0x18f)]('','',_0x38b06d['toString']()):window['history']['pushState']('','',_0x38b06d[_0x2f1352(0x30e)]());}[_0xf6b579(0x2b9)](_0xe724d,_0xa8a41c=!0x1){const _0x5d41b3=_0xf6b579,_0x192881=new URL(window['location']['href']);_0x192881['searchParams'][_0x5d41b3(0x35f)](_0xe724d),_0xa8a41c?window[_0x5d41b3(0x2e4)]['replaceState']('','',_0x192881[_0x5d41b3(0x30e)]()):window[_0x5d41b3(0x2e4)][_0x5d41b3(0x1be)]('','',_0x192881['toString']());}[_0xf6b579(0x184)](_0x9f4b71){const _0x1b5392=_0xf6b579;var _0x33fde0;return(_0x33fde0=new URL(window[_0x1b5392(0x296)]['href'])[_0x1b5392(0x34d)][_0x1b5392(0x1da)](_0x9f4b71))!=null?_0x33fde0:void 0x0;}}var un=Object[_0xf6b579(0x1d9)],dn=Object[_0xf6b579(0x350)],fn=(_0x3f226e,_0x5524c0,_0x163a53)=>_0x5524c0 in _0x3f226e?un(_0x3f226e,_0x5524c0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x163a53}):_0x3f226e[_0x5524c0]=_0x163a53,Sn=(_0xe6eca6,_0x289c52,_0x4a7383,_0x5b739e)=>{const _0x223e78=_0xf6b579;for(var _0x4ea211=_0x5b739e>0x1?void 0x0:_0x5b739e?dn(_0x289c52,_0x4a7383):_0x289c52,_0x95e6a4=_0xe6eca6[_0x223e78(0x1cc)]-0x1,_0x59e467;_0x95e6a4>=0x0;_0x95e6a4--)(_0x59e467=_0xe6eca6[_0x95e6a4])&&(_0x4ea211=_0x59e467(_0x4ea211)||_0x4ea211);return _0x4ea211;},Oe=(_0x20d26c,_0x4d2a85)=>(_0x1fb255,_0x2129fe)=>_0x4d2a85(_0x1fb255,_0x2129fe,_0x20d26c),mn=(_0x55604c,_0x3cfdff,_0x5a7fd1)=>fn(_0x55604c,_0x3cfdff+'',_0x5a7fd1);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0xb4a818{constructor(_0x45d2aa=et,_0x25341b,_0x4f4706,_0x21d7b2){const _0x27db98=_0xf6b579;super(),this[_0x27db98(0x36f)]=_0x45d2aa,this[_0x27db98(0x20b)]=_0x25341b,this['_injector']=_0x4f4706,this[_0x27db98(0x294)]=_0x21d7b2;const {..._0x1485af}=_0x2e62e6({},et,this[_0x27db98(0x36f)]);this['_configService'][_0x27db98(0x214)](Zi,_0x1485af);}[_0xf6b579(0x246)](){this['_registerDependencies'](),this['_initDependencies']();}[_0xf6b579(0x31f)](){const _0xa25507=_0xf6b579;this[_0xa25507(0x1db)]();}['_registerDependencies'](){const _0x27c6ce=_0xf6b579;var _0x137b79;const _0x25baae=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0xc9be87,{'useClass':_0x4ccf5b}],[_0x2aae2e,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x2aa9a9(this[_0x27c6ce(0x204)],_0x2a6d17(_0x25baae,(_0x137b79=this['_config'])==null?void 0x0:_0x137b79[_0x27c6ce(0x229)]));}[_0xf6b579(0x1db)](){const _0x3e658e=_0xf6b579;this['disposeWithMe'](this[_0x3e658e(0x20b)][_0x3e658e(0x232)](_0x10c618[_0x3e658e(0x23a)],[Pe])),this['disposeWithMe'](this[_0x3e658e(0x20b)][_0x3e658e(0x232)](_0x10c618[_0x3e658e(0x377)],[Le]));}[_0xf6b579(0x328)](){const _0x19f9fa=_0xf6b579;_0x55b065(this[_0x19f9fa(0x204)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0xf6b579(0x1de),gn),Ae=Sn([_0x5a2172(_0x4028d8),Oe(0x1,_0x7fab75),Oe(0x2,_0x2a8693(_0x31f2aa)),Oe(0x3,_0x2cae1e)],Ae);var In=Object['getOwnPropertyDescriptor'],vn=(_0x3cd6f3,_0x2891cd,_0xf5b15b,_0x294787)=>{const _0x210820=_0xf6b579;for(var _0x590975=_0x294787>0x1?void 0x0:_0x294787?In(_0x2891cd,_0xf5b15b):_0x2891cd,_0x2933e4=_0x3cd6f3[_0x210820(0x1cc)]-0x1,_0x45e61f;_0x2933e4>=0x0;_0x2933e4--)(_0x45e61f=_0x3cd6f3[_0x2933e4])&&(_0x590975=_0x45e61f(_0x590975)||_0x590975);return _0x590975;},K=(_0x24a4d0,_0x37b01a)=>(_0x6b5bee,_0xd0285d)=>_0x37b01a(_0x6b5bee,_0xd0285d,_0x24a4d0);let st=class extends _0x4ea49e{constructor(_0x1e5df0,_0x174835,_0x4d60ac,_0x17bc81,_0x4cb032){super(_0x1e5df0,_0x174835,_0x4d60ac,_0x17bc81,_0x4cb032);}async[_0xf6b579(0x360)](_0x25ada7){const _0x336769=_0xf6b579,_0xeb3fb4=await this[_0x336769(0x2d5)](),_0x2c71ad=this[_0x336769(0x2bd)](_0x25ada7,_0xeb3fb4);return this['_doCreateSocket'](_0x2c71ad);}[_0xf6b579(0x2bd)](_0x4f7d1d,_0x2d021d){const _0x7cc1a6=_0xf6b579,_0x18c82a=typeof window>'u'?new URL(_0x4f7d1d):new URL(_0x4f7d1d,window[_0x7cc1a6(0x296)][_0x7cc1a6(0x36e)]);_0x18c82a[_0x7cc1a6(0x34d)][_0x7cc1a6(0x247)](_0x7cc1a6(0x270),_0x2d021d);const _0x44f570=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x7cc1a6(0x2bf)]);return _0x44f570['get']('runId')&&_0x18c82a[_0x7cc1a6(0x34d)][_0x7cc1a6(0x247)](_0x7cc1a6(0x212),_0x44f570['get'](_0x7cc1a6(0x212))),_0x18c82a['toString']();}async[_0xf6b579(0x2d5)](){const _0x2cce8a=_0xf6b579;var _0x3fd2ba,_0x2ace30,_0x148c16;const _0x414555=this[_0x2cce8a(0x294)][_0x2cce8a(0x19a)](_0x71c44),_0x6818dd=(_0x3fd2ba=_0x414555==null?void 0x0:_0x414555[_0x2cce8a(0x243)])!=null?_0x3fd2ba:_0x3c1bc8;return(_0x148c16=(_0x2ace30=(await this[_0x2cce8a(0x2c5)][_0x2cce8a(0x1da)](_0x6818dd,{'headers':{'Content-Type':_0x2cce8a(0x1a8)}}))[_0x2cce8a(0x345)])==null?void 0x0:_0x2ace30[_0x2cce8a(0x1bc)])!=null?_0x148c16:'';}};st=vn([K(0x0,_0x2a8693(_0x31f2aa)),K(0x1,_0x2a8693(_0x30cd85)),K(0x2,_0x2cae1e),K(0x3,_0x49688a),K(0x4,_0x30d8c1)],st);const it=0x7530,nt=_0xf6b579(0x197);class jn extends _0x57ae12{constructor(){const _0x1e2397=_0xf6b579;super(),_(this,'_id',_0x386309()),_(this,_0x1e2397(0x338),new Set()),_(this,_0x1e2397(0x22e),new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,_0x1e2397(0x20f),new Map()),this[_0x1e2397(0x266)]();}['dispose'](){const _0x43a8a9=_0xf6b579;super[_0x43a8a9(0x2ce)](),this[_0x43a8a9(0x356)]['forEach']((_0x5b6e52,_0x33c61c)=>this[_0x43a8a9(0x34c)](_0x33c61c)),this[_0x43a8a9(0x2d3)]&&window[_0x43a8a9(0x21e)](this[_0x43a8a9(0x2d3)]);}['getUnitStatus$'](_0x4a9dc3){const _0x5a3132=_0xf6b579;return this['_ensureSubject'](_0x4a9dc3)[_0x5a3132(0x1c7)](_0x25cba3());}[_0xf6b579(0x358)](_0x2ebea8){const _0x3e7e12=_0xf6b579;this[_0x3e7e12(0x338)][_0x3e7e12(0x207)]===0x0&&this[_0x3e7e12(0x2cc)](),this[_0x3e7e12(0x338)]['add'](_0x2ebea8),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2ebea8],'isForwarded':!0x1});}['disposeUnit'](_0x552a18){const _0x269a0e=_0xf6b579;this[_0x269a0e(0x338)][_0x269a0e(0x35f)](_0x552a18),this[_0x269a0e(0x338)][_0x269a0e(0x207)]===0x0&&this[_0x269a0e(0x2d3)]&&window[_0x269a0e(0x21e)](this[_0x269a0e(0x2d3)]);}[_0xf6b579(0x266)](){const _0x455cb6=_0xf6b579;this[_0x455cb6(0x2fb)](_0x537cdb(_0x374994(window,_0x455cb6(0x2d0))['subscribe'](_0x6f1257=>{const _0x4c4119=_0x455cb6;if(_0x6f1257['key']!==nt||!_0x6f1257[_0x4c4119(0x2d7)])return;const _0x2771db=JSON[_0x4c4119(0x341)](_0x6f1257[_0x4c4119(0x2d7)]);this[_0x4c4119(0x2c6)](_0x2771db);}))),window[_0x455cb6(0x1c6)](_0x455cb6(0x1bf),()=>this['_send']({'type':0x1,'memberID':this[_0x455cb6(0x2da)],'unitIDs':Array[_0x455cb6(0x1df)](this[_0x455cb6(0x338)])}));}[_0xf6b579(0x2c6)](_0x220b8c){const _0x584e4f=_0xf6b579;switch(_0x220b8c[_0x584e4f(0x1e3)]){case 0x0:this['_handleJoinEvent'](_0x220b8c);break;case 0x1:this[_0x584e4f(0x29f)](_0x220b8c);break;case 0x2:this[_0x584e4f(0x30f)](_0x220b8c);break;}}[_0xf6b579(0x1d2)](_0x27c88f){const _0x252616=_0xf6b579,{unitIDs:_0x2705fa,memberID:_0x37ce13,isForwarded:_0x224491}=_0x27c88f;_0x2705fa[_0x252616(0x299)](_0x5c55cf=>{const _0x12e506=_0x252616;if(!_0x224491&&this[_0x12e506(0x22e)][_0x12e506(0x375)](_0x5c55cf)&&this['_ensureSubject'](_0x5c55cf)[_0x12e506(0x1c5)](_0x4f0770[_0x12e506(0x31a)]),!this[_0x12e506(0x22e)][_0x12e506(0x375)](_0x5c55cf)||!this['_unitOnClients'][_0x12e506(0x1da)](_0x5c55cf)[_0x12e506(0x375)](_0x37ce13)){const _0x33d6c0=this[_0x12e506(0x22e)][_0x12e506(0x1da)](_0x5c55cf)||new Set();_0x33d6c0[_0x12e506(0x2b0)](_0x37ce13),this[_0x12e506(0x22e)]['set'](_0x5c55cf,_0x33d6c0),this[_0x12e506(0x180)](_0x37ce13);}}),_0x224491||this[_0x252616(0x323)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x252616(0x338)]],'isForwarded':!0x0});}[_0xf6b579(0x180)](_0x3f33c4){const _0x463d2d=_0xf6b579;this['_removeClearOtherTimer'](_0x3f33c4);const _0x19aa15=window[_0x463d2d(0x319)](()=>{const _0xbe7eaf=_0x463d2d;this[_0xbe7eaf(0x22e)][_0xbe7eaf(0x299)](_0x58511b=>{const _0x4164e2=_0xbe7eaf;_0x58511b[_0x4164e2(0x35f)](_0x3f33c4);});},it*0x2);this['_clearOtherTimers'][_0x463d2d(0x247)](_0x3f33c4,_0x19aa15);}[_0xf6b579(0x34c)](_0x4f078e){const _0x17ac3c=_0xf6b579;if(this[_0x17ac3c(0x356)]['has'](_0x4f078e)){const _0x3c05fc=this[_0x17ac3c(0x356)][_0x17ac3c(0x1da)](_0x4f078e);_0x3c05fc&&window[_0x17ac3c(0x281)](_0x3c05fc),this[_0x17ac3c(0x356)][_0x17ac3c(0x247)](_0x4f078e,null);}}[_0xf6b579(0x29f)](_0x21970c){const _0x27e8c9=_0xf6b579,{memberID:_0x445916,unitIDs:_0x197962}=_0x21970c;_0x197962[_0x27e8c9(0x299)](_0x2bd90c=>{const _0x373e14=_0x27e8c9;var _0xa866b4;const _0x30d505=this[_0x373e14(0x22e)]['get'](_0x2bd90c);_0x30d505&&(_0x30d505[_0x373e14(0x35f)](_0x445916),(_0xa866b4=this[_0x373e14(0x365)](_0x2bd90c))==null||_0xa866b4['next'](_0x30d505[_0x373e14(0x207)]===0x0?_0x4f0770[_0x373e14(0x1f0)]:_0x4f0770[_0x373e14(0x31a)]));}),this[_0x27e8c9(0x34c)](_0x445916);}[_0xf6b579(0x30f)](_0xd98ade){const _0xd70ac1=_0xf6b579;this[_0xd70ac1(0x180)](_0xd98ade[_0xd70ac1(0x2aa)]);}[_0xf6b579(0x323)](_0x117fb3){const _0x15630e=_0xf6b579;localStorage[_0x15630e(0x22d)](nt,JSON[_0x15630e(0x26d)](_0x117fb3));}[_0xf6b579(0x2cc)](){const _0x115910=_0xf6b579;this[_0x115910(0x2d3)]=window['setInterval'](()=>{const _0x1fff7d=_0x115910;this[_0x1fff7d(0x323)]({'type':0x2,'memberID':this[_0x1fff7d(0x2da)]});},it);}[_0xf6b579(0x365)](_0x1aa9af){const _0x5f5765=_0xf6b579;return this[_0x5f5765(0x20f)][_0x5f5765(0x375)](_0x1aa9af)||this[_0x5f5765(0x20f)][_0x5f5765(0x247)](_0x1aa9af,new _0x42e5c1(_0x4f0770['NO_OTHER_CLIENTS_EDITING'])),this[_0x5f5765(0x20f)][_0x5f5765(0x1da)](_0x1aa9af);}}var Mt=(_0x75b8d=>(_0x75b8d[_0x75b8d[_0xf6b579(0x2f0)]=0x0]=_0xf6b579(0x2f0),_0x75b8d[_0x75b8d['OK']=0x1]='OK',_0x75b8d[_0x75b8d[_0xf6b579(0x1ec)]=0x2]=_0xf6b579(0x1ec),_0x75b8d[_0x75b8d[_0xf6b579(0x1fd)]=0x3]=_0xf6b579(0x1fd),_0x75b8d[_0x75b8d[_0xf6b579(0x205)]=0x4]='NOT_FOUND',_0x75b8d[_0x75b8d[_0xf6b579(0x190)]=0x5]=_0xf6b579(0x190),_0x75b8d[_0x75b8d[_0xf6b579(0x211)]=0x6]=_0xf6b579(0x211),_0x75b8d[_0x75b8d[_0xf6b579(0x282)]=0x7]='INVALID_ARGUMENT',_0x75b8d[_0x75b8d[_0xf6b579(0x2ba)]=0x8]=_0xf6b579(0x2ba),_0x75b8d[_0x75b8d[_0xf6b579(0x2ee)]=0x9]=_0xf6b579(0x2ee),_0x75b8d[_0x75b8d['LOGIN_FAILED']=0xa]=_0xf6b579(0x1fb),_0x75b8d[_0x75b8d[_0xf6b579(0x191)]=0x1389]=_0xf6b579(0x191),_0x75b8d[_0x75b8d[_0xf6b579(0x2fc)]=0x1771]=_0xf6b579(0x2fc),_0x75b8d[_0x75b8d[_0xf6b579(0x187)]=0x1772]=_0xf6b579(0x187),_0x75b8d[_0x75b8d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xf6b579(0x2a5),_0x75b8d[_0x75b8d['APPLY_REJECT']=0x1b59]=_0xf6b579(0x17c),_0x75b8d[_0x75b8d[_0xf6b579(0x17e)]=0x1b5a]=_0xf6b579(0x17e),_0x75b8d[_0x75b8d[_0xf6b579(0x254)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x75b8d[_0x75b8d[_0xf6b579(0x178)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x75b8d[_0x75b8d['APPLY_DUPLICATED']=0x1b5d]=_0xf6b579(0x314),_0x75b8d[_0x75b8d['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x75b8d[_0x75b8d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x75b8d[_0x75b8d[_0xf6b579(0x1bd)]=0x232a]=_0xf6b579(0x1bd),_0x75b8d[_0x75b8d[_0xf6b579(0x218)]=0x232b]=_0xf6b579(0x218),_0x75b8d[_0x75b8d[_0xf6b579(0x32f)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x75b8d[_0x75b8d[_0xf6b579(0x19d)]=0x232d]=_0xf6b579(0x19d),_0x75b8d[_0x75b8d[_0xf6b579(0x27e)]=0x2711]=_0xf6b579(0x27e),_0x75b8d[_0x75b8d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xf6b579(0x2a8),_0x75b8d[_0x75b8d[_0xf6b579(0x2ad)]=0x2713]=_0xf6b579(0x2ad),_0x75b8d[_0x75b8d[_0xf6b579(0x1a5)]=0x2714]=_0xf6b579(0x1a5),_0x75b8d[_0x75b8d['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xf6b579(0x276),_0x75b8d[_0x75b8d[_0xf6b579(0x1b0)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x75b8d[_0x75b8d[_0xf6b579(0x331)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x75b8d[_0x75b8d[_0xf6b579(0x348)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x75b8d[_0x75b8d[_0xf6b579(0x35d)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x75b8d[_0x75b8d[_0xf6b579(0x21c)]=0x271f]=_0xf6b579(0x21c),_0x75b8d[_0x75b8d[_0xf6b579(0x339)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x75b8d[_0x75b8d[_0xf6b579(0x259)]=0x2ee1]=_0xf6b579(0x259),_0x75b8d[_0x75b8d['INVALID_INVITE_CODE']=0x2ee2]=_0xf6b579(0x2c2),_0x75b8d[_0x75b8d[_0xf6b579(0x1b2)]=0x2ee3]=_0xf6b579(0x1b2),_0x75b8d[_0x75b8d[_0xf6b579(0x2f2)]=0x2ee4]=_0xf6b579(0x2f2),_0x75b8d[_0x75b8d['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0xf6b579(0x295),_0x75b8d[_0x75b8d[_0xf6b579(0x245)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x75b8d[_0x75b8d[_0xf6b579(0x33e)]=0x32ca]=_0xf6b579(0x33e),_0x75b8d[_0x75b8d['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xf6b579(0x2f9),_0x75b8d[_0x75b8d['UNRECOGNIZED']=-0x1]=_0xf6b579(0x1e7),_0x75b8d))(Mt||{}),pn=Object[_0xf6b579(0x350)],Cn=(_0x5a12ee,_0x8e3fbe,_0x9c7e4d,_0x3fa799)=>{const _0x325821=_0xf6b579;for(var _0x15db52=_0x3fa799>0x1?void 0x0:_0x3fa799?pn(_0x8e3fbe,_0x9c7e4d):_0x8e3fbe,_0x1d48d2=_0x5a12ee[_0x325821(0x1cc)]-0x1,_0x1c3a66;_0x1d48d2>=0x0;_0x1d48d2--)(_0x1c3a66=_0x5a12ee[_0x1d48d2])&&(_0x15db52=_0x1c3a66(_0x15db52)||_0x15db52);return _0x15db52;},be=(_0x3c576f,_0x2634f2)=>(_0x428516,_0x32f649)=>_0x2634f2(_0x428516,_0x32f649,_0x3c576f);let rt=class extends _0x57ae12{constructor(_0xa720c1,_0x557741,_0x45079d){const _0x25e6c7=_0xf6b579;super(),this['_instanceService']=_0xa720c1,this[_0x25e6c7(0x2c5)]=_0x557741,this['_configService']=_0x45079d;}async['runOnServer'](_0x3fdeab,_0x2ddeb2,_0x232fb1,..._0x1cecff){const _0x2d1ae7=_0xf6b579;var _0x2dc237,_0x4310d1,_0x1b3545,_0x21eda6;const _0x443e34=this[_0x2d1ae7(0x34f)][_0x2d1ae7(0x372)]();if(!_0x443e34)throw new Error(_0x2d1ae7(0x318));const _0x298c9f=((_0x2dc237=this['_configService'][_0x2d1ae7(0x19a)](_0x3f15fe))!=null?_0x2dc237:_0xd3d9b2)+'/'+_0x3fdeab+_0x2d1ae7(0x203)+_0x2ddeb2,_0xd13ea7=new URL(window[_0x2d1ae7(0x296)][_0x2d1ae7(0x1a9)]),_0x2f92e7={'scriptId':_0x3fdeab,'runId':(_0x4310d1=_0xd13ea7['searchParams'][_0x2d1ae7(0x1da)]('runId'))!=null?_0x4310d1:'','function':_0x2ddeb2,'unitId':_0x443e34[_0x2d1ae7(0x2dc)](),'argsOfFunction':JSON[_0x2d1ae7(0x26d)](_0x1cecff),'invokeId':(_0x1b3545=_0x232fb1[_0x2d1ae7(0x302)])!=null?_0x1b3545:'','executionId':(_0x21eda6=_0x232fb1[_0x2d1ae7(0x311)])!=null?_0x21eda6:''};try{const _0x50e078=await this[_0x2d1ae7(0x2c5)][_0x2d1ae7(0x28b)](_0x298c9f,{'body':_0x2f92e7});return _0x50e078[_0x2d1ae7(0x345)][_0x2d1ae7(0x31b)]&&_0x50e078['body'][_0x2d1ae7(0x31b)][_0x2d1ae7(0x363)]!==Mt['OK']?_0x2d1ae7(0x2c9):_0x50e078[_0x2d1ae7(0x345)][_0x2d1ae7(0x19f)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x519898),be(0x1,_0x2a8693(_0x30cd85)),be(0x2,_0x2cae1e)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0xbf56d9=_0x517d;(function(_0x51be32,_0x2f4b8e){const _0x19e07f=_0x517d,_0xe5ea0a=_0x51be32();while(!![]){try{const _0x53256a=-parseInt(_0x19e07f(0x330))/0x1*(-parseInt(_0x19e07f(0x348))/0x2)+-parseInt(_0x19e07f(0x347))/0x3+parseInt(_0x19e07f(0x2ca))/0x4*(-parseInt(_0x19e07f(0x2c3))/0x5)+-parseInt(_0x19e07f(0x21c))/0x6*(-parseInt(_0x19e07f(0x26b))/0x7)+parseInt(_0x19e07f(0x317))/0x8*(-parseInt(_0x19e07f(0x2e6))/0x9)+-parseInt(_0x19e07f(0x27a))/0xa+parseInt(_0x19e07f(0x36c))/0xb*(parseInt(_0x19e07f(0x2f5))/0xc);if(_0x53256a===_0x2f4b8e)break;else _0xe5ea0a['push'](_0xe5ea0a['shift']());}catch(_0x1633a1){_0xe5ea0a['push'](_0xe5ea0a['shift']());}}}(_0x1cef,0x56706));var $t=Object['defineProperty'],xt=(_0x20e679,_0x33b5c3,_0x4c1051)=>_0x33b5c3 in _0x20e679?$t(_0x20e679,_0x33b5c3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c1051}):_0x20e679[_0x33b5c3]=_0x4c1051,_=(_0x3a1613,_0xfefc26,_0x1a96e1)=>xt(_0x3a1613,typeof _0xfefc26!=_0xbf56d9(0x22e)?_0xfefc26+'':_0xfefc26,_0x1a96e1);import{MemberService as _0x5827d3,SessionStatus as _0x4e69dd,CollaborationSessionService as _0x5374df,CollaborationStatus as _0x2b3aeb,CollaborationController as _0x4cee33,ILocalCacheService as _0x1d695f,CollaborationUIEventService as _0x42bac7,CollaborationUIEventId as _0x2a0100,DataLoaderService as _0x2a0c43,DocCollaborationEntity as _0x5d0ee3,getLocalCacheKey as _0x2c4eb3,LOCAL_CACHE_INTERVAL as _0x431abd,LOCAL_CACHE_INTERVAL_KEY as _0x194044,UniverCollaborationClientPlugin as _0x1cdf04,CollaborationSocketService as _0x2220ba,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x46f1b2,DEFAULT_WS_SESSION_TICKET_URL as _0xbc5caa,UnitStatus as _0x5c83ff,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5c119d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x27c442}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3eca04,Disposable as _0x4dafc5,DOC_RANGE_TYPE as _0x4d3cf9,Inject as _0x16779c,Injector as _0x2160c5,IUniverInstanceService as _0x2bfab2,ICommandService as _0x309e55,debounce as _0x3f9951,Rectangle as _0x470a63,DisposableCollection as _0x457ae5,toDisposable as _0x11b0ff,UniverInstanceType as _0x4585f4,Tools as _0x4aa418,COLORS as _0x1fde03,ColorKit as _0x45d82b,ThemeService as _0x1cf4d1,fromEventSubject as _0x48a4e2,LocaleService as _0xa7e18c,createIdentifier as _0x398874,ILogService as _0x554739,Optional as _0x1559c2,Workbook as _0x540414,CommandType as _0x3e7553,IConfigService as _0x357ecd,ILocalStorageService as _0x4ae689,DependentOn as _0x53947a,Plugin as _0x5d2a55,merge as _0x3df46a,registerDependencies as _0x2a57df,mergeOverrideWithDependencies as _0x19c487,touchDependencies as _0x1186de,generateRandomId as _0x2c8a82}from'@univerjs/core';import{Shape as _0x560c0d,Rect as _0x3cabb3,getColor as _0x189e4f,RegularPolygon as _0x31275a,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x277e68,Vector2 as _0x4bbd73,SHEET_VIEWPORT_KEY as _0x2ea7e5,IRenderManagerService as _0x4a97b5}from'@univerjs/engine-render';function _0x517d(_0x59b43f,_0x45b00b){const _0x1cefca=_0x1cef();return _0x517d=function(_0x517d24,_0x22e239){_0x517d24=_0x517d24-0x16c;let _0x2bf34b=_0x1cefca[_0x517d24];return _0x2bf34b;},_0x517d(_0x59b43f,_0x45b00b);}import{ISocketService as _0x32070e,WebSocketService as _0x178037,HTTPService as _0x5b07a2}from'@univerjs/network';import{IDocClipboardService as _0x57e5a7,NodePositionConvertToCursor as _0x32a1ab,NodePositionConvertToRectRange as _0x1fc08e,TEXT_RANGE_LAYER_INDEX as _0x522c1f,SetDocZoomRatioOperation as _0x2c539a,DocIMEInputManagerService as _0x1cdadc,DocStateChangeManagerService as _0x5efd77}from'@univerjs/docs-ui';import{IImageIoService as _0x142e00}from'@univerjs/drawing';import{BehaviorSubject as _0x2b7b9e,debounceTime as _0x4ae939,takeUntil as _0x1d620b,Subject as _0x3c4f5e,filter as _0x4a588a,switchMap as _0x26bef4,merge as _0x538307,combineLatest as _0x351a2b,of as _0x4e21d3,fromEvent as _0x1ee098,shareReplay as _0x3a2abe,mapTo as _0x49e00b,distinctUntilChanged as _0x54f7bb}from'rxjs';import{SetTextSelectionsOperation as _0x58484d,RichTextEditingMutation as _0x5bddba,DocSelectionManagerService as _0x3d52d7,DocSkeletonManagerService as _0x5553ba}from'@univerjs/docs';import{ITransformService as _0x397b9f,CollaborationEvent as _0x2e5e0c,isTransformMutationFailure as _0x1dcb65,isTransformMutationsWithChangesetSuccess as _0x2206b8,RevisionService as _0x431c30,ISnapshotServerService as _0xedab2f}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x3ccb0c,serializeRangeWithSheet as _0x2a35d2}from'@univerjs/engine-formula';import{RefRangeService as _0x231a7e,SetSelectionsOperation as _0x19e48c,SheetsSelectionsService as _0x35e326,EffectRefRangId as _0x39b256,handleIRemoveRow as _0x558d2e,handleIRemoveCol as _0x1a684e,handleMoveRange as _0x525937,handleInsertRow as _0x413a1d,handleInsertRangeMoveRight as _0x285639,handleInsertRangeMoveDown as _0x1de605,handleInsertCol as _0x4b1590,handleDeleteRangeMoveUp as _0x3016cd,handleDeleteRangeMoveLeft as _0x175000,runRefRangeMutations as _0x87f25f,SetWorksheetActivateCommand as _0x5943e5}from'@univerjs/sheets';import{map as _0x2edd28,filter as _0x2a5313,throttleTime as _0x325080,takeUntil as _0x224f91,switchMap as _0x5e1ef7}from'rxjs/operators';import{SheetSkeletonManagerService as _0x145e78,getCoordByCell as _0x430bec,getSheetObject as _0x1280f0}from'@univerjs/sheets-ui';import{jsx as _0x3acbf8,jsxs as _0x1c6dde}from'react/jsx-runtime';import{useObservable as _0x15023e,useDependency as _0x156466,IUIPartsService as _0x408f7c,BuiltInUIPart as _0x834e83,connectInjector as _0x4215bb,IBeforeCloseService as _0x3974ef,IMessageService as _0x315c12,INotificationService as _0x39ce6f}from'@univerjs/ui';import{Tooltip as _0x20833f,clsx as _0x265dbc,MessageType as _0x1e04f0}from'@univerjs/design';import{forwardRef as _0x3c39a7,useRef as _0x1c18e3,createElement as _0x578604,useCallback as _0x11ee5f}from'react';import{IRemoteInstanceService as _0x4a30da}from'@univerjs/rpc';var ci=Object[_0xbf56d9(0x213)],li=(_0x495a08,_0x18ebad,_0x53b895,_0x498046)=>{const _0x4d66a5=_0xbf56d9;for(var _0x3e8090=_0x498046>0x1?void 0x0:_0x498046?ci(_0x18ebad,_0x53b895):_0x18ebad,_0xc2e581=_0x495a08[_0x4d66a5(0x1b3)]-0x1,_0x2e38b3;_0xc2e581>=0x0;_0xc2e581--)(_0x2e38b3=_0x495a08[_0xc2e581])&&(_0x3e8090=_0x2e38b3(_0x3e8090)||_0x3e8090);return _0x3e8090;},Je=(_0x487c1c,_0x2c5a36)=>(_0x43c9d7,_0x36d729)=>_0x2c5a36(_0x43c9d7,_0x36d729,_0x487c1c);let Ne=class extends _0x3eca04{constructor(_0x5ae698,_0x27c1b2){const _0x69bd2a=_0xbf56d9;super(),this[_0x69bd2a(0x1be)]=_0x5ae698,this[_0x69bd2a(0x2f6)]=_0x27c1b2,this['_init']();}[_0xbf56d9(0x32b)](){const _0x2981eb=_0xbf56d9,_0x399842=this;this[_0x2981eb(0x1ed)](this[_0x2981eb(0x1be)][_0x2981eb(0x1e1)]({'onBeforePasteImage':async _0x21e568=>{const _0x53704c=_0x2981eb,_0x4efffa=await _0x399842['_imageIoService'][_0x53704c(0x361)](_0x21e568);return _0x4efffa?{'source':_0x4efffa[_0x53704c(0x359)],'imageSourceType':_0x4efffa[_0x53704c(0x1a0)]}:null;}}));}};Ne=li([Je(0x0,_0x57e5a7),Je(0x1,_0x142e00)],Ne);const Ze=[_0xbf56d9(0x210),'jiqing.500',_0xbf56d9(0x29d),_0xbf56d9(0x1e5),_0xbf56d9(0x1f2),_0xbf56d9(0x1e4)];class ke extends _0x4dafc5{constructor(){const _0x5b13fb=_0xbf56d9;super(...arguments),_(this,_0x5b13fb(0x312),new Map()),_(this,_0x5b13fb(0x2b6),0x0);}[_0xbf56d9(0x33f)](_0x214c27){const _0x22d2da=_0xbf56d9;if(this[_0x22d2da(0x312)][_0x22d2da(0x2ce)](_0x214c27))return this[_0x22d2da(0x312)][_0x22d2da(0x2d6)](_0x214c27);const _0x5bb3a6=Ze[this[_0x22d2da(0x2b6)]];return this[_0x22d2da(0x2b6)]=(this[_0x22d2da(0x2b6)]+0x1)%Ze[_0x22d2da(0x1b3)],this[_0x22d2da(0x312)]['set'](_0x214c27,_0x5bb3a6),_0x5bb3a6;}}function Tt(_0x4b7586){const _0x2ebba9=_0xbf56d9;let _0x129ac8='';for(const _0x5f32e0 of _0x4b7586){const {startOffset:_0x762da8,endOffset:_0x1edc76,isActive:_0x457f4d,rangeType:_0x366ec4,segmentId:_0x1d87e8,segmentPage:_0x4ae986}=_0x5f32e0;_0x129ac8[_0x2ebba9(0x1b3)]&&(_0x129ac8+=','),_0x129ac8+=_0x762da8+':'+_0x1edc76+':'+(_0x457f4d?'1':'0')+':'+_0x366ec4+':'+_0x1d87e8+':'+_0x4ae986;}return _0x129ac8;}function _i(_0x39c4b0){const _0xca642=_0xbf56d9,_0x5c288e=_0x39c4b0['split'](','),_0x4d56c0=[];for(const _0x3f3604 of _0x5c288e){const [_0x4ae3de,_0x191e0a,_0x1a9911,_0x1dbad7,_0x461f64,_0x151d6d]=_0x3f3604['split'](':');_0x4d56c0[_0xca642(0x35b)]({'startOffset':Number(_0x4ae3de),'endOffset':Number(_0x191e0a),'collapsed':_0x4ae3de===_0x191e0a,'isActive':_0x1a9911==='1','rangeType':_0x1dbad7===_0x4d3cf9[_0xca642(0x2e5)]?_0x4d3cf9[_0xca642(0x2e5)]:_0x4d3cf9[_0xca642(0x1e0)],'segmentId':typeof _0x461f64=='string'?String(_0x461f64):'','segmentPage':Number(_0x151d6d!=null?_0x151d6d:-0x1)});}return _0x4d56c0['some'](_0x473b74=>_0x473b74[_0xca642(0x324)])||(_0x4d56c0[0x0][_0xca642(0x324)]=!0x0),_0x4d56c0;}class He extends _0x3eca04{constructor(){const _0x46bd1a=_0xbf56d9;super(...arguments),_(this,_0x46bd1a(0x371),new _0x2b7b9e(null)),_(this,_0x46bd1a(0x2ff),this[_0x46bd1a(0x371)][_0x46bd1a(0x299)]());}[_0xbf56d9(0x2c2)](_0x279e6d){const _0x5f5157=_0xbf56d9,{unitID:_0x237b96,memberID:_0x5f20f7,textRanges:_0x2c4a5c}=_0x279e6d,_0x28cd66=Tt(_0x2c4a5c);if(_0x28cd66==='')return;const _0x50e284={'unitID':_0x237b96,'memberID':_0x5f20f7,'selection':_0x28cd66};this[_0x5f5157(0x371)][_0x5f5157(0x28f)](_0x50e284);}}var hi=Object[_0xbf56d9(0x213)],ui=(_0x4efd76,_0x44adfb,_0x2e3101,_0x4f95a9)=>{const _0xe111b2=_0xbf56d9;for(var _0x2bbf62=_0x4f95a9>0x1?void 0x0:_0x4f95a9?hi(_0x44adfb,_0x2e3101):_0x44adfb,_0x5530bd=_0x4efd76[_0xe111b2(0x1b3)]-0x1,_0x188f9e;_0x5530bd>=0x0;_0x5530bd--)(_0x188f9e=_0x4efd76[_0x5530bd])&&(_0x2bbf62=_0x188f9e(_0x2bbf62)||_0x2bbf62);return _0x2bbf62;},L=(_0x1671b2,_0xb58bec)=>(_0x403881,_0x5e4f92)=>_0xb58bec(_0x403881,_0x5e4f92,_0x1671b2);const di=0x12c,fi=0x64;let Ue=class extends _0x3eca04{constructor(_0x506b1d,_0x42dd90,_0x19876d,_0x26199b,_0x1c94e4,_0x4b6ffd,_0x481c91,_0x1274a7,_0x5c8eda){const _0x45f7b4=_0xbf56d9;super(),_(this,_0x45f7b4(0x325),!0x1),_(this,'_init',!0x1),_(this,_0x45f7b4(0x362),new _0x2b7b9e(new Map())),_(this,_0x45f7b4(0x1b5),this[_0x45f7b4(0x362)][_0x45f7b4(0x299)]()),_(this,_0x45f7b4(0x226),new _0x2b7b9e([])),_(this,'roomMembers$',this[_0x45f7b4(0x226)][_0x45f7b4(0x20b)](_0x4ae939(di))),_(this,_0x45f7b4(0x1a3),_0x3f9951(_0x3ed2e9=>{const _0x387e8c=_0x45f7b4,_0x79f329={'eventID':_0x2e5e0c[_0x387e8c(0x2a4)],'data':{'unitID':this[_0x387e8c(0x1c4)],'memberID':this[_0x387e8c(0x233)]['getMemberID'](),'selection':Tt(_0x3ed2e9)}};this[_0x387e8c(0x233)]['send'](_0x79f329,this[_0x387e8c(0x1c4)]);},fi)),(this[_0x45f7b4(0x1c4)]=_0x506b1d,this[_0x45f7b4(0x233)]=_0x42dd90,this[_0x45f7b4(0x1b4)]=_0x19876d,this[_0x45f7b4(0x34e)]=_0x26199b,this['_memberService']=_0x1c94e4,this[_0x45f7b4(0x25f)]=_0x4b6ffd,this[_0x45f7b4(0x307)]=_0x481c91,this[_0x45f7b4(0x18c)]=_0x1274a7,this[_0x45f7b4(0x227)]=_0x5c8eda);}get[_0xbf56d9(0x20f)](){const _0xaec5c5=_0xbf56d9;return this['_cursorInfo$'][_0xaec5c5(0x195)]();}get['roomMembers'](){const _0x10f974=_0xbf56d9;return this[_0x10f974(0x226)][_0x10f974(0x195)]();}[_0xbf56d9(0x367)](){const _0x2bbc56=_0xbf56d9;super[_0x2bbc56(0x367)](),this[_0x2bbc56(0x362)][_0x2bbc56(0x28f)](new Map()),this['_cursorInfo$'][_0x2bbc56(0x24a)](),this[_0x2bbc56(0x226)][_0x2bbc56(0x28f)]([]),this['_roomMembers$'][_0x2bbc56(0x24a)]();}['init'](){const _0xd1d187=_0xbf56d9;this[_0xd1d187(0x32b)]||(this[_0xd1d187(0x32b)]=!0x0,this['_session'][_0xd1d187(0x16e)]['pipe'](_0x1d620b(this[_0xd1d187(0x309)]))[_0xd1d187(0x22c)](_0x4fb103=>{const _0x177903=_0xd1d187;_0x4fb103===_0x4e69dd[_0x177903(0x284)]?this['_toggleOnline']():this[_0x177903(0x1a9)]();}),this[_0xd1d187(0x233)][_0xd1d187(0x19c)]['pipe'](_0x1d620b(this['dispose$']))[_0xd1d187(0x22c)](_0xc76a9e=>{const _0x2a7da6=_0xd1d187,_0x57df74=_0xc76a9e['eventID'];_0x57df74===_0x2e5e0c['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0xc76a9e),_0x57df74===_0x2e5e0c[_0x2a7da6(0x2ab)]&&this[_0x2a7da6(0x219)](_0xc76a9e);}),this[_0xd1d187(0x1ed)](this['_commandService'][_0xd1d187(0x26f)](_0x306daa=>{const _0x3f591b=_0xd1d187,_0x10669a=_0x306daa[_0x3f591b(0x257)];_0x10669a!=null&&this[_0x3f591b(0x325)]&&_0x306daa['id']===_0x58484d['id']&&_0x10669a[_0x3f591b(0x22d)]===this[_0x3f591b(0x1c4)]&&_0x10669a[_0x3f591b(0x35e)]===!0x1&&_0x10669a[_0x3f591b(0x2e2)][_0x3f591b(0x1b3)]>0x0&&this[_0x3f591b(0x1a3)](_0x10669a[_0x3f591b(0x2e2)]);})),this[_0xd1d187(0x25f)]['collabCursorState$'][_0xd1d187(0x20b)](_0x1d620b(this['dispose$']))[_0xd1d187(0x22c)](_0x18ef3d=>{const _0x10e957=_0xd1d187;if((_0x18ef3d==null?void 0x0:_0x18ef3d['unitID'])!==this[_0x10e957(0x1c4)])return;const _0xb5ee9f={'eventID':_0x2e5e0c[_0x10e957(0x2a4)],'data':_0x18ef3d};this[_0x10e957(0x249)](_0xb5ee9f);}),this[_0xd1d187(0x1ed)](this[_0xd1d187(0x227)][_0xd1d187(0x26f)](_0x35dcc2=>{const _0xc028dc=_0xd1d187;if(_0x35dcc2[_0xc028dc(0x257)]==null)return;const _0x21e95e=_0x35dcc2['params'];if(_0x35dcc2['id']!==_0x5bddba['id']||_0x21e95e[_0xc028dc(0x22d)]!==this[_0xc028dc(0x1c4)])return;const _0x2c9385={'id':_0xc028dc(0x28d),'params':_0x21e95e},_0x349a1c=this[_0xc028dc(0x20f)];for(const [_0x448948,_0x10432b]of _0x349a1c){const _0x2b7431={'id':_0xc028dc(0x28d),'params':{'unitId':this[_0xc028dc(0x1c4)],'actions':null,'textRanges':_0x10432b['ranges']}},_0x4b74ef=this[_0xc028dc(0x307)]['transformMutation'](_0x2c9385,_0x2b7431,!0x1);if(_0x1dcb65(_0x4b74ef))throw _0x4b74ef[_0xc028dc(0x33e)];_0x349a1c[_0xc028dc(0x1ca)](_0x448948,{..._0x10432b,'ranges':_0x4b74ef[_0xc028dc(0x2b8)][_0xc028dc(0x257)][_0xc028dc(0x1f7)]});}queueMicrotask(()=>{const _0x594bca=_0xc028dc;this[_0x594bca(0x362)][_0x594bca(0x28f)](_0x349a1c);});})));}['_onCursorUpdate'](_0x24f76c){const _0x573616=_0xbf56d9;var _0xb36601,_0x1aeb36;const {memberID:_0x305478,selection:_0x57d46b}=_0x24f76c['data'],_0x1ac012=_i(_0x57d46b),_0xd72328=(_0x1aeb36=(_0xb36601=this[_0x573616(0x2ba)][_0x573616(0x364)](this[_0x573616(0x1c4)],_0x305478))==null?void 0x0:_0xb36601[_0x573616(0x221)])!=null?_0x1aeb36:_0x573616(0x360),_0x374c3a={'color':this[_0x573616(0x34e)][_0x573616(0x33f)](_0x305478),'name':_0xd72328,'ranges':_0x1ac012},_0x25bdd9=this['cursorInfo'];_0x25bdd9[_0x573616(0x1ca)](_0x305478,_0x374c3a),this['_cursorInfo$'][_0x573616(0x28f)](_0x25bdd9);}[_0xbf56d9(0x219)](_0x5b294a){const _0x3a4077=_0xbf56d9,{memberID:_0x1f2f04}=_0x5b294a[_0x3a4077(0x2d7)],_0x2074f4=this[_0x3a4077(0x20f)];_0x2074f4[_0x3a4077(0x285)](_0x1f2f04),this[_0x3a4077(0x362)][_0x3a4077(0x28f)](_0x2074f4);}[_0xbf56d9(0x1db)](){const _0x5ccd06=_0xbf56d9;var _0x1ed49a;if(this[_0x5ccd06(0x325)]=!0x0,((_0x1ed49a=this[_0x5ccd06(0x18c)][_0x5ccd06(0x18d)]())==null?void 0x0:_0x1ed49a['getUnitId']())!==this[_0x5ccd06(0x1c4)])return;const _0x55679d=this[_0x5ccd06(0x1b4)][_0x5ccd06(0x2d6)](_0x3d52d7)['getDocRanges']();Array['isArray'](_0x55679d)&&_0x55679d[_0x5ccd06(0x1b3)]>0x0&&this['_updateLocalCursor'](_0x55679d);}[_0xbf56d9(0x1a9)](){const _0x50d04f=_0xbf56d9;this[_0x50d04f(0x325)]=!0x1;}};Ue=ui([L(0x2,_0x16779c(_0x2160c5)),L(0x3,_0x16779c(ke)),L(0x4,_0x16779c(_0x5827d3)),L(0x5,_0x16779c(He)),L(0x6,_0x397b9f),L(0x7,_0x2bfab2),L(0x8,_0x309e55)],Ue);var Si=Object[_0xbf56d9(0x213)],mi=(_0x2669ad,_0x2bd0d6,_0x3026a8,_0x2b6365)=>{for(var _0x26a69d=_0x2b6365>0x1?void 0x0:_0x2b6365?Si(_0x2bd0d6,_0x3026a8):_0x2bd0d6,_0x49e604=_0x2669ad['length']-0x1,_0x2ef9ce;_0x49e604>=0x0;_0x49e604--)(_0x2ef9ce=_0x2669ad[_0x49e604])&&(_0x26a69d=_0x2ef9ce(_0x26a69d)||_0x26a69d);return _0x26a69d;},x=(_0x56c12c,_0x1e93ff)=>(_0x69a1b8,_0x475887)=>_0x1e93ff(_0x69a1b8,_0x475887,_0x56c12c);const gi=0x12c,Ii=0x64,vi=()=>{let _0x115df1=[],_0x52b38b=!0x1;return _0x2570e0=>{const _0x5a6d3d=_0x517d;_0x115df1[_0x5a6d3d(0x35b)](_0x2570e0),_0x52b38b||(_0x52b38b=!0x0,setTimeout(()=>{_0x115df1['forEach'](_0x5d97a2=>_0x5d97a2()),_0x115df1=[],_0x52b38b=!0x1;}));};};let Me=class extends _0x3eca04{constructor(_0x514e9e,_0x5b5b2e,_0x41461f,_0x1412bf,_0x36d95d,_0x59979d,_0x308774,_0x1a66ba){const _0x3bc758=_0xbf56d9;super(),_(this,_0x3bc758(0x325),!0x1),_(this,'_init',!0x1),_(this,_0x3bc758(0x362),new _0x2b7b9e(new Map())),_(this,_0x3bc758(0x1b5),this[_0x3bc758(0x362)]['asObservable']()),_(this,'_roomMembers$',new _0x2b7b9e([])),_(this,_0x3bc758(0x186),this['_roomMembers$']['pipe'](_0x4ae939(gi))),_(this,_0x3bc758(0x1a3),_0x3f9951((_0x294f99,_0x4687c2)=>{const _0x3af76b=_0x3bc758,_0x233290={'eventID':_0x2e5e0c['UPDATE_CURSOR'],'data':{'unitID':this[_0x3af76b(0x1c4)],'memberID':this['_session'][_0x3af76b(0x336)](),'selection':_0x2a35d2(_0x294f99,_0x4687c2[_0x3af76b(0x223)])}};this[_0x3af76b(0x233)]['send'](_0x233290,this[_0x3af76b(0x1c4)]);},Ii)),(this[_0x3bc758(0x1c4)]=_0x514e9e,this[_0x3bc758(0x233)]=_0x5b5b2e,this['_injector']=_0x41461f,this[_0x3bc758(0x34e)]=_0x1412bf,this['_memberService']=_0x36d95d,this[_0x3bc758(0x18c)]=_0x59979d,this[_0x3bc758(0x227)]=_0x308774,this[_0x3bc758(0x1d9)]=_0x1a66ba);}get[_0xbf56d9(0x20f)](){const _0x93a0c8=_0xbf56d9;return this[_0x93a0c8(0x362)]['getValue']();}get[_0xbf56d9(0x366)](){const _0x157eda=_0xbf56d9;return this[_0x157eda(0x226)]['getValue']();}[_0xbf56d9(0x367)](){const _0x5ea6dc=_0xbf56d9;super[_0x5ea6dc(0x367)](),this[_0x5ea6dc(0x362)][_0x5ea6dc(0x28f)](new Map()),this[_0x5ea6dc(0x362)]['complete'](),this[_0x5ea6dc(0x226)][_0x5ea6dc(0x28f)]([]),this[_0x5ea6dc(0x226)][_0x5ea6dc(0x24a)]();}[_0xbf56d9(0x31f)](){const _0x3fcb0b=_0xbf56d9;this[_0x3fcb0b(0x32b)]||(this[_0x3fcb0b(0x32b)]=!0x0,this[_0x3fcb0b(0x233)][_0x3fcb0b(0x16e)][_0x3fcb0b(0x20b)](_0x1d620b(this[_0x3fcb0b(0x309)]))[_0x3fcb0b(0x22c)](_0x2b6be1=>{const _0x17d3dc=_0x3fcb0b;_0x2b6be1===_0x4e69dd[_0x17d3dc(0x284)]?this[_0x17d3dc(0x1db)]():this['_toggleOffline']();}),this[_0x3fcb0b(0x233)][_0x3fcb0b(0x19c)][_0x3fcb0b(0x20b)](_0x1d620b(this['dispose$']))[_0x3fcb0b(0x22c)](_0x170428=>{const _0x47688c=_0x3fcb0b,_0x170fe5=_0x170428['eventID'];_0x170fe5===_0x2e5e0c[_0x47688c(0x2a4)]&&this['_onCursorUpdate'](_0x170428),_0x170fe5===_0x2e5e0c[_0x47688c(0x2ab)]&&this[_0x47688c(0x219)](_0x170428);}),this[_0x3fcb0b(0x2f7)](),this[_0x3fcb0b(0x1ed)](this[_0x3fcb0b(0x227)]['onCommandExecuted'](_0xaf280f=>{const _0x46d528=_0x3fcb0b;if(this[_0x46d528(0x325)]&&_0xaf280f['id']===_0x19e48c['id']&&_0xaf280f[_0x46d528(0x257)]['unitId']===this[_0x46d528(0x1c4)]){const _0x1419bf=_0xaf280f[_0x46d528(0x257)];this[_0x46d528(0x1a3)](_0x1419bf[_0x46d528(0x2f2)],_0x1419bf[_0x46d528(0x34f)][0x0]);}})));}[_0xbf56d9(0x249)](_0x2ce954){const _0x435843=_0xbf56d9;var _0x3527fa,_0x9dee65;const {memberID:_0x20129d,selection:_0x501c38}=_0x2ce954['data'],{sheetName:_0x178e5b,range:_0x3a8492}=_0x3ccb0c(_0x501c38),_0x272fd6={'name':(_0x9dee65=(_0x3527fa=this[_0x435843(0x2ba)]['getMember'](this[_0x435843(0x1c4)],_0x20129d))==null?void 0x0:_0x3527fa['name'])!=null?_0x9dee65:_0x435843(0x360),'range':this[_0x435843(0x192)](_0x178e5b,_0x3a8492),'sheetID':_0x178e5b,'color':this['_colorAssignService'][_0x435843(0x33f)](_0x20129d),'selection':_0x501c38},_0x55ad8b=this[_0x435843(0x20f)];_0x55ad8b[_0x435843(0x1ca)](_0x20129d,_0x272fd6),this[_0x435843(0x362)]['next'](_0x55ad8b);}['_onCursorDelete'](_0x5253fa){const _0x1901f9=_0xbf56d9,{memberID:_0xf5bb5f}=_0x5253fa['data'],_0x2ee2c4=this[_0x1901f9(0x20f)];_0x2ee2c4[_0x1901f9(0x285)](_0xf5bb5f),this[_0x1901f9(0x362)][_0x1901f9(0x28f)](_0x2ee2c4);}[_0xbf56d9(0x192)](_0x3bee90,_0x18a609){const _0x56830d=_0xbf56d9;var _0xd0cbc0,_0x347484;const _0x4556c9=(_0x347484=(_0xd0cbc0=this[_0x56830d(0x18c)][_0x56830d(0x349)](this[_0x56830d(0x1c4)]))==null?void 0x0:_0xd0cbc0[_0x56830d(0x2bf)](_0x3bee90))==null?void 0x0:_0x347484['getMergeData']();return(_0x4556c9==null?void 0x0:_0x4556c9['find'](_0x50a03f=>_0x470a63[_0x56830d(0x29b)](_0x50a03f,_0x18a609)))||_0x18a609;}[_0xbf56d9(0x2f7)](){const _0x5327b1=_0xbf56d9,_0x13518b=new _0x457ae5(),_0x331f2f=vi(),_0xbb8bd6=()=>{const _0x103b29=_0x517d;_0x13518b['dispose']();const _0x40d448=(_0xf7d693,_0x14624a,_0x3c64d0,_0x4af0dc)=>{const _0x5425a3=_0x517d;let _0x440d1a=[];switch(_0xf7d693['id']){case _0x39b256[_0x5425a3(0x2f0)]:{_0x440d1a=_0x175000(_0xf7d693,_0x4af0dc);break;}case _0x39b256['DeleteRangeMoveUpCommandId']:{_0x440d1a=_0x3016cd(_0xf7d693,_0x4af0dc);break;}case _0x39b256[_0x5425a3(0x291)]:{_0x440d1a=_0x4b1590(_0xf7d693,_0x4af0dc);break;}case _0x39b256[_0x5425a3(0x30a)]:{_0x440d1a=_0x1de605(_0xf7d693,_0x4af0dc);break;}case _0x39b256['InsertRangeMoveRightCommandId']:{_0x440d1a=_0x285639(_0xf7d693,_0x4af0dc);break;}case _0x39b256[_0x5425a3(0x334)]:{_0x440d1a=_0x413a1d(_0xf7d693,_0x4af0dc);break;}case _0x39b256['MoveRangeCommandId']:{_0x440d1a=_0x525937(_0xf7d693,_0x4af0dc);break;}case _0x39b256[_0x5425a3(0x293)]:{_0x440d1a=_0x1a684e(_0xf7d693,_0x4af0dc);break;}case _0x39b256[_0x5425a3(0x327)]:{_0x440d1a=_0x558d2e(_0xf7d693,_0x4af0dc);break;}}const _0x4e421f=_0x87f25f(_0x440d1a,_0x4af0dc),_0x640614=this[_0x5425a3(0x20f)][_0x5425a3(0x2d6)](_0x14624a);if(_0x640614&&_0x4e421f){const _0x56c4bf={..._0x640614,'range':_0x4e421f};this[_0x5425a3(0x20f)][_0x5425a3(0x1ca)](_0x14624a,_0x56c4bf),_0x331f2f(()=>{const _0x1411f3=_0x5425a3,_0x4a18f5=this[_0x1411f3(0x1d9)]['registerRefRange'](_0x4e421f,_0x4ad28a=>(_0x4a18f5['dispose'](),_0x40d448(_0x4ad28a,_0x14624a,_0x3c64d0,_0x4e421f)));_0x13518b[_0x1411f3(0x237)](_0x4a18f5);});}return{'redos':[],'undos':[]};};this[_0x103b29(0x20f)]['forEach']((_0x3b61f1,_0x4c6e49)=>{const _0x21cd96=_0x103b29,{range:_0x3e54aa,sheetID:_0x3928cc}=_0x3b61f1,_0x616757=this[_0x21cd96(0x1d9)][_0x21cd96(0x253)](_0x3e54aa,_0x4b0a97=>(_0x616757[_0x21cd96(0x367)](),_0x40d448(_0x4b0a97,_0x4c6e49,_0x3928cc,_0x3e54aa)));_0x13518b['add'](_0x616757);});};this[_0x5327b1(0x1ed)](_0x11b0ff(this[_0x5327b1(0x362)][_0x5327b1(0x22c)](()=>{_0xbb8bd6();})));}[_0xbf56d9(0x1db)](){const _0x3d0134=_0xbf56d9;var _0x143ffe,_0x1485a4;if(this[_0x3d0134(0x325)]=!0x0,((_0x143ffe=this[_0x3d0134(0x18c)][_0x3d0134(0x18d)]())==null?void 0x0:_0x143ffe['getUnitId']())!==this[_0x3d0134(0x1c4)])return;const _0x48d6dc=(_0x1485a4=this[_0x3d0134(0x1b4)][_0x3d0134(0x2d6)](_0x35e326)['getCurrentSelections']())==null?void 0x0:_0x1485a4[0x0],_0x4afb7d=this[_0x3d0134(0x18c)][_0x3d0134(0x2b4)](_0x4585f4[_0x3d0134(0x1a4)])[_0x3d0134(0x28a)]();_0x48d6dc&&_0x4afb7d&&this[_0x3d0134(0x1a3)](_0x4afb7d[_0x3d0134(0x2fd)](),_0x48d6dc);}[_0xbf56d9(0x1a9)](){const _0x222542=_0xbf56d9;this[_0x222542(0x325)]=!0x1;}};Me=mi([x(0x2,_0x16779c(_0x2160c5)),x(0x3,_0x16779c(ke)),x(0x4,_0x16779c(_0x5827d3)),x(0x5,_0x2bfab2),x(0x6,_0x309e55),x(0x7,_0x16779c(_0x231a7e))],Me);var pi=Object[_0xbf56d9(0x213)],Ci=(_0x545b81,_0x318d4b,_0x239dd2,_0x47ac48)=>{for(var _0x282e54=_0x47ac48>0x1?void 0x0:_0x47ac48?pi(_0x318d4b,_0x239dd2):_0x318d4b,_0x5c111d=_0x545b81['length']-0x1,_0x1360f5;_0x5c111d>=0x0;_0x5c111d--)(_0x1360f5=_0x545b81[_0x5c111d])&&(_0x282e54=_0x1360f5(_0x282e54)||_0x282e54);return _0x282e54;},Se=(_0xf7b09e,_0x330bb4)=>(_0x18a362,_0x4cfa1e)=>_0x330bb4(_0x18a362,_0x4cfa1e,_0xf7b09e);let H=class extends _0x3eca04{constructor(_0x10d65d,_0x511077,_0x1f5389){const _0x562b55=_0xbf56d9;super(),_(this,_0x562b55(0x357),new Map()),_(this,_0x562b55(0x346),new _0x3c4f5e()),(this[_0x562b55(0x18c)]=_0x10d65d,this[_0x562b55(0x1b4)]=_0x511077,this[_0x562b55(0x26e)]=_0x1f5389,this['_init']());}['dispose'](){const _0x427fcd=_0xbf56d9;super[_0x427fcd(0x367)](),this[_0x427fcd(0x346)][_0x427fcd(0x24a)](),this[_0x427fcd(0x357)][_0x427fcd(0x19e)](_0x2b8fad=>_0x2b8fad['dispose']());}['getCollabCursors$'](_0x3573b9){const _0x8d89dd=_0xbf56d9;return this[_0x8d89dd(0x357)]['has'](_0x3573b9)?this[_0x8d89dd(0x357)][_0x8d89dd(0x2d6)](_0x3573b9)[_0x8d89dd(0x1b5)]:this['_entityInit$'][_0x8d89dd(0x20b)](_0x4a588a(_0x58eda5=>_0x58eda5[_0x8d89dd(0x1c4)]===_0x3573b9),_0x26bef4(_0xed26b5=>_0xed26b5[_0x8d89dd(0x1b5)]));}[_0xbf56d9(0x32b)](){const _0xe38a49=_0xbf56d9;this['_univerInstanceService'][_0xe38a49(0x25a)](_0x4585f4[_0xe38a49(0x1a4)])[_0xe38a49(0x20b)](_0x1d620b(this[_0xe38a49(0x309)]))[_0xe38a49(0x22c)](async _0x32b74c=>{const _0x466b3b=_0xe38a49,_0x3c7c6f=_0x32b74c[_0x466b3b(0x200)](),_0x2b8a07=await this[_0x466b3b(0x2e4)](_0x3c7c6f);this[_0x466b3b(0x346)][_0x466b3b(0x28f)](_0x2b8a07),this[_0x466b3b(0x357)]['set'](_0x3c7c6f,_0x2b8a07);}),this[_0xe38a49(0x18c)]['getTypeOfUnitAdded$'](_0x4585f4[_0xe38a49(0x2ad)])[_0xe38a49(0x20b)](_0x1d620b(this[_0xe38a49(0x309)]))[_0xe38a49(0x20b)](_0x4a588a(_0x1281e4=>!_0x1281e4[_0xe38a49(0x200)]()[_0xe38a49(0x248)]('__')))['subscribe'](async _0x462a98=>{const _0x78fa1=_0xe38a49,_0x544b7f=_0x462a98[_0x78fa1(0x200)](),_0x4b79d0=await this[_0x78fa1(0x1bf)](_0x544b7f);this[_0x78fa1(0x346)]['next'](_0x4b79d0),this[_0x78fa1(0x357)][_0x78fa1(0x1ca)](_0x544b7f,_0x4b79d0);}),_0x538307(this[_0xe38a49(0x18c)][_0xe38a49(0x33a)](_0x4585f4[_0xe38a49(0x2ad)]),this['_univerInstanceService'][_0xe38a49(0x33a)](_0x4585f4['UNIVER_SHEET']))['pipe'](_0x1d620b(this[_0xe38a49(0x309)]))[_0xe38a49(0x22c)](_0xdce213=>{const _0x5c7df3=_0xe38a49,_0x4b19af=_0xdce213[_0x5c7df3(0x200)](),_0x41d76f=this[_0x5c7df3(0x357)][_0x5c7df3(0x2d6)](_0x4b19af);_0x41d76f&&(_0x41d76f['dispose'](),this[_0x5c7df3(0x357)][_0x5c7df3(0x285)](_0x4b19af));});}async[_0xbf56d9(0x2e4)](_0x3ba0ba){const _0x3a8d5f=_0xbf56d9,_0x242c61=await this['_collabSessionService'][_0x3a8d5f(0x1d3)](_0x3ba0ba),_0x2c011b=this[_0x3a8d5f(0x1b4)][_0x3a8d5f(0x2eb)](Me,_0x3ba0ba,_0x242c61);return _0x2c011b['init'](),_0x2c011b;}async['_startDocCollabCursor'](_0x1d9ec9){const _0x33ff11=_0xbf56d9,_0x56e5de=await this['_collabSessionService']['requireSession'](_0x1d9ec9),_0xd6507c=this[_0x33ff11(0x1b4)]['createInstance'](Ue,_0x1d9ec9,_0x56e5de);return _0xd6507c['init'](),_0xd6507c;}};H=Ci([Se(0x0,_0x2bfab2),Se(0x1,_0x16779c(_0x2160c5)),Se(0x2,_0x16779c(_0x5374df))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x151d6e,_0x197d77){const _0x582c1d=_0xbf56d9;let {radius:_0x394836,width:_0x3ccdd9,height:_0x4be378}=_0x197d77;_0x394836=_0x394836!=null?_0x394836:0x0,_0x3ccdd9=_0x3ccdd9!=null?_0x3ccdd9:0x1e,_0x4be378=_0x4be378!=null?_0x4be378:0x1e;let _0x4ca07f=0x0,_0x4f7d7e=0x0,_0x11331f=0x0;_0x4ca07f=_0x4f7d7e=_0x11331f=Math[_0x582c1d(0x2fc)](_0x394836,_0x3ccdd9/0x2,_0x4be378/0x2),_0x151d6e[_0x582c1d(0x337)](),_0x151d6e['moveTo'](_0x4ca07f,0x0),_0x151d6e['lineTo'](_0x3ccdd9-_0x4f7d7e,0x0),_0x151d6e['arc'](_0x3ccdd9-_0x4f7d7e,_0x4f7d7e,_0x4f7d7e,Math['PI']*0x3/0x2,0x0,!0x1),_0x151d6e[_0x582c1d(0x36a)](_0x3ccdd9,_0x4be378-_0x11331f),_0x151d6e['arc'](_0x3ccdd9-_0x11331f,_0x4be378-_0x11331f,_0x11331f,0x0,Math['PI']/0x2,!0x1),_0x151d6e[_0x582c1d(0x36a)](0x0,_0x4be378),_0x151d6e[_0x582c1d(0x36a)](0x0,_0x4ca07f),_0x151d6e[_0x582c1d(0x32c)](_0x4ca07f,_0x4ca07f,_0x4ca07f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x151d6e[_0x582c1d(0x1ee)](),_0x197d77[_0x582c1d(0x2cf)]&&(_0x151d6e[_0x582c1d(0x32d)](),_0x151d6e['fillStyle']=_0x197d77['fill'],_0x197d77[_0x582c1d(0x204)]===_0x582c1d(0x344)?_0x151d6e['fill'](_0x582c1d(0x344)):_0x151d6e[_0x582c1d(0x2cf)](),_0x151d6e[_0x582c1d(0x2cb)]());}class he extends _0x560c0d{constructor(_0x59d7c3,_0x2ffaf4){const _0x464e78=_0xbf56d9;super(_0x59d7c3,_0x2ffaf4),_(this,_0x464e78(0x234)),_(this,_0x464e78(0x320)),(this['color']=_0x2ffaf4==null?void 0x0:_0x2ffaf4[_0x464e78(0x234)],this[_0x464e78(0x320)]=_0x2ffaf4==null?void 0x0:_0x2ffaf4[_0x464e78(0x320)]);}static['drawWith'](_0x3f42ac,_0x48da0b){const _0x4499e9=_0xbf56d9,{text:_0x13cd40,color:_0x374312}=_0x48da0b;_0x3f42ac['save'](),_0x3f42ac[_0x4499e9(0x196)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1ba2a1=_0x3f42ac[_0x4499e9(0x2d8)](_0x13cd40)[_0x4499e9(0x316)],_0x28c311=Math[_0x4499e9(0x2fc)](_0x1ba2a1+0x2*me,Qe);Oi(_0x3f42ac,{'height':ee,'radius':0x4,'width':_0x28c311,'fill':_0x374312}),_0x3f42ac[_0x4499e9(0x266)]='#FFF';const _0x23b633=me,_0x8a0b5=ee-Ei,_0x96e923=Qe-0x2*me;if(_0x1ba2a1>_0x96e923){let _0x388a09='',_0x533557=0x0;for(const _0x53a56e of _0x13cd40){const _0x507cfa=_0x3f42ac[_0x4499e9(0x2d8)](_0x53a56e)[_0x4499e9(0x316)];if(_0x533557+_0x507cfa<=_0x96e923-_0x3f42ac[_0x4499e9(0x2d8)]('...')[_0x4499e9(0x316)])_0x388a09+=_0x53a56e,_0x533557+=_0x507cfa;else{_0x388a09+=_0x4499e9(0x27d);break;}}_0x3f42ac['fillText'](_0x388a09,_0x23b633,_0x8a0b5);}else _0x3f42ac['fillText'](_0x13cd40,_0x23b633,_0x8a0b5);_0x3f42ac[_0x4499e9(0x2cb)]();}[_0xbf56d9(0x24f)](_0x12d417){const _0x5ba390=_0xbf56d9;he[_0x5ba390(0x29a)](_0x12d417,this);}}const ge=_0xbf56d9(0x2a5),bi='collab-text-range-',Ti=_0xbf56d9(0x1b9),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0xbf56d9(0x1c0);class qe{constructor(_0x14d433,_0x49cf88,_0x1fb6ce,_0x285f14){const _0x397cb9=_0xbf56d9;_(this,_0x397cb9(0x27e),[]),_(this,_0x397cb9(0x25b),null),_(this,_0x397cb9(0x354),null),_(this,'_anchorDot',null),_(this,_0x397cb9(0x240),null),_(this,_0x397cb9(0x1b1),null),(this[_0x397cb9(0x2db)]=_0x14d433,this['_scene']=_0x49cf88,this[_0x397cb9(0x33d)]=_0x1fb6ce,this[_0x397cb9(0x2af)]=_0x285f14,this[_0x397cb9(0x1aa)]());}set[_0xbf56d9(0x265)](_0x1bf993){const _0x17d8ab=_0xbf56d9;_0x1bf993?(this[_0x17d8ab(0x23d)]&&this[_0x17d8ab(0x23d)][_0x17d8ab(0x260)](),this[_0x17d8ab(0x354)]&&this[_0x17d8ab(0x354)][_0x17d8ab(0x355)]()):(this[_0x17d8ab(0x23d)]&&this['_anchorDot'][_0x17d8ab(0x355)](),this[_0x17d8ab(0x354)]&&this['_textBubble'][_0x17d8ab(0x260)]());}['dispose'](){const _0x44a6a3=_0xbf56d9;for(const _0x224469 of this[_0x44a6a3(0x27e)])_0x224469[_0x44a6a3(0x367)]();this[_0x44a6a3(0x354)]&&this[_0x44a6a3(0x354)][_0x44a6a3(0x367)](),this[_0x44a6a3(0x23d)]&&this[_0x44a6a3(0x23d)][_0x44a6a3(0x367)](),this['_anchor']&&this['_anchor'][_0x44a6a3(0x367)](),this[_0x44a6a3(0x1b1)]&&this[_0x44a6a3(0x1b1)]();}['_render'](){const _0x4aa2b8=_0xbf56d9;var _0x14e9bf;const {_docSkeleton:_0x5c7b3b,_document:_0x243fbd}=this,{color:_0x400662,name:_0x4d604d,ranges:_0x451d3f}=this[_0x4aa2b8(0x2db)],_0x52a9c9=_0x243fbd[_0x4aa2b8(0x184)](),{docsLeft:_0x1012f7,docsTop:_0x1a849e}=_0x52a9c9,_0x58f8c5=new _0x32a1ab(_0x52a9c9,_0x5c7b3b);for(const {startOffset:_0x58eece,endOffset:_0x512d93,rangeType:_0x5d9dd4,segmentId:_0x6f91d2,segmentPage:_0x5f435e,collapsed:_0x117d04,isActive:_0x43a79b}of _0x451d3f){const _0x4af04f=_0x5c7b3b[_0x4aa2b8(0x268)](_0x58eece,!0x0,_0x6f91d2,_0x5f435e);let _0xee9e77=_0x5c7b3b[_0x4aa2b8(0x268)](_0x512d93,!0x0,_0x6f91d2,_0x5f435e);if(_0xee9e77==null&&(_0xee9e77=_0x5c7b3b[_0x4aa2b8(0x268)](_0x512d93-0x1,!0x1,_0x6f91d2,_0x5f435e)),_0x43a79b){const {contentBoxPointGroup:_0x4a022f}=_0x58f8c5[_0x4aa2b8(0x338)](_0xee9e77,_0xee9e77);if(_0x4a022f[_0x4aa2b8(0x1b3)]===0x0)continue;this['_drawAnchor'](_0x400662,_0x4a022f,_0x1012f7,_0x1a849e,_0x4d604d),this[_0x4aa2b8(0x1b1)]=this[_0x4aa2b8(0x1b6)]();}if(_0x4af04f&&_0xee9e77){if(_0x5d9dd4===_0x4d3cf9[_0x4aa2b8(0x1e0)]){const _0x1f691f=new _0x1fc08e(_0x52a9c9,_0x5c7b3b),{pointGroup:_0x5a607a}=(_0x14e9bf=_0x1f691f['getRangePointData'](_0x4af04f,_0xee9e77))!=null?_0x14e9bf:{};if(_0x5a607a==null||_0x5a607a[_0x4aa2b8(0x1b3)]===0x0)continue;this[_0x4aa2b8(0x34a)](_0x400662,_0x5a607a,_0x1012f7,_0x1a849e);}else{if(!_0x117d04){const {borderBoxPointGroup:_0x3a55f6}=_0x58f8c5[_0x4aa2b8(0x338)](_0x4af04f,_0xee9e77);if(_0x3a55f6[_0x4aa2b8(0x1b3)]===0x0)continue;this['_drawTextRange'](_0x400662,_0x3a55f6,_0x1012f7,_0x1a849e);}}}}}[_0xbf56d9(0x350)](_0x41aeab,_0x28461d,_0x33a555,_0x3a4ebf,_0x33bcb0){const _0x5aab33=_0xbf56d9,_0x104727=this['_getAnchorBounding'](_0x28461d),{left:_0x4ab76c,top:_0x15fed8,height:_0x59f252}=_0x104727,_0x3007b0=this['_getScale'](),_0x5d611b=Di/_0x3007b0,_0x5a048f=new _0x3cabb3(ge+_0x4aa418['generateRandomId'](X),{'left':_0x4ab76c+_0x33a555-_0x5d611b,'top':_0x15fed8+_0x3a4ebf,'height':_0x59f252,'width':Ri,'fill':_0x41aeab||_0x189e4f(_0x1fde03['black'],0x0),'strokeWidth':_0x5d611b,'stroke':Ni,'evented':!0x0});this[_0x5aab33(0x25b)]=_0x5a048f,this[_0x5aab33(0x21f)]['addObject'](_0x5a048f,_0x522c1f);const _0x2f2e87=new _0x3cabb3(ge+_0x4aa418[_0x5aab33(0x2b5)](X),{'left':_0x4ab76c+_0x33a555-_0x5d611b,'top':_0x15fed8+_0x3a4ebf-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x41aeab||_0x189e4f(_0x1fde03[_0x5aab33(0x275)],0x0),'strokeWidth':0x0,'stroke':_0x41aeab||_0x189e4f(_0x1fde03[_0x5aab33(0x275)],0x0),'evented':!0x1});this[_0x5aab33(0x23d)]=_0x2f2e87,this[_0x5aab33(0x21f)][_0x5aab33(0x2e0)](_0x2f2e87,_0x522c1f);const _0x35bf9a=new he(ge+_0x4aa418['generateRandomId'](X),{'left':_0x4ab76c+_0x33a555-_0x5d611b,'top':_0x15fed8+_0x3a4ebf-ee,'text':_0x33bcb0,'color':_0x41aeab});this[_0x5aab33(0x354)]=_0x35bf9a,this[_0x5aab33(0x21f)][_0x5aab33(0x2e0)](_0x35bf9a,_0x522c1f),this[_0x5aab33(0x265)]=!0x1;}[_0xbf56d9(0x1b6)](){const _0xbaf477=_0xbf56d9,_0x2c1a3d=this[_0xbaf477(0x25b)][_0xbaf477(0x243)][_0xbaf477(0x2aa)](()=>{const _0x400c9c=_0xbaf477;this[_0x400c9c(0x265)]=!0x0;}),_0x24b7f9=this[_0xbaf477(0x25b)][_0xbaf477(0x1f9)][_0xbaf477(0x2aa)](()=>{const _0x252720=_0xbaf477;this[_0x252720(0x240)]&&clearTimeout(this['_hideTimer']),this[_0x252720(0x240)]=setTimeout(()=>{const _0x58afb6=_0x252720;this[_0x58afb6(0x265)]=!0x1;},0x7d0);});return()=>{const _0x1065d5=_0xbaf477;_0x2c1a3d['unsubscribe'](),_0x24b7f9[_0x1065d5(0x232)]();};}[_0xbf56d9(0x236)](_0x4cabac,_0x142e6f,_0x423eb3,_0x463a74){const _0x13533b=_0xbf56d9,_0x9c3f67=new _0x45d82b(_0x4cabac)[_0x13533b(0x31a)](0.2)[_0x13533b(0x2f8)](),_0x402cbb=new _0x31275a(bi+_0x4aa418[_0x13533b(0x2b5)](X),{'pointsGroup':_0x142e6f,'fill':_0x9c3f67||_0x189e4f(_0x1fde03['black'],0.2),'left':_0x423eb3,'top':_0x463a74,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x402cbb),this['_scene'][_0x13533b(0x2e0)](_0x402cbb,_0x522c1f);}[_0xbf56d9(0x34a)](_0xd6d60a,_0x1fd34f,_0x1e4258,_0x567e9a){const _0x532e9c=_0xbf56d9,_0x3c47eb=new _0x45d82b(_0xd6d60a)[_0x532e9c(0x31a)](0.2)[_0x532e9c(0x2f8)](),_0x1b2334=new _0x31275a(Ti+_0x4aa418['generateRandomId'](X),{'pointsGroup':_0x1fd34f,'fill':_0x3c47eb||_0x189e4f(_0x1fde03[_0x532e9c(0x275)],0.2),'left':_0x1e4258,'top':_0x567e9a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x532e9c(0x27e)][_0x532e9c(0x35b)](_0x1b2334),this[_0x532e9c(0x21f)][_0x532e9c(0x2e0)](_0x1b2334,_0x522c1f);}['_getAnchorBounding'](_0x50a903){const _0x5e8199=_0x50a903[0x0],_0xaf1db5=_0x5e8199[0x0],_0x3e387c=_0x5e8199[0x2],{x:_0x5812e2,y:_0x8866a8}=_0xaf1db5,{x:_0x576682,y:_0x126645}=_0x3e387c;return{'left':_0x5812e2,'top':_0x8866a8,'width':_0x576682-_0x5812e2,'height':_0x126645-_0x8866a8};}[_0xbf56d9(0x331)](){const _0x4b91e6=_0xbf56d9,{scaleX:_0x5bf685,scaleY:_0x7e3130}=this[_0x4b91e6(0x21f)]['getAncestorScale']();return Math['max'](_0x5bf685,_0x7e3130);}}var Ui=Object[_0xbf56d9(0x213)],Mi=(_0x546e63,_0x33428f,_0x5c31b2,_0x231730)=>{const _0x40571a=_0xbf56d9;for(var _0x598444=_0x231730>0x1?void 0x0:_0x231730?Ui(_0x33428f,_0x5c31b2):_0x33428f,_0x3ecd79=_0x546e63[_0x40571a(0x1b3)]-0x1,_0x175445;_0x3ecd79>=0x0;_0x3ecd79--)(_0x175445=_0x546e63[_0x3ecd79])&&(_0x598444=_0x175445(_0x598444)||_0x598444);return _0x598444;},Z=(_0x3ebdbe,_0x57e394)=>(_0x1b3939,_0x34e1d7)=>_0x57e394(_0x1b3939,_0x34e1d7,_0x3ebdbe);function _0x1cef(){const _0x226c81=['collab-text-anchor-','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','top','entries','_heartbeatTimer','subscribeEvent','USERS_LEAVE','_beforeCloseService','UNIVER_DOC','_registerRenderDependencies','_document','collaboration.single-unit.warning','INVITE_CODE_HAS_BEEN_UES','code','_docStateChangeManagerService','getCurrentUnitForType','generateRandomId','_colorIndex','href','m2Prime','UNRECOGNIZED','_memberService','getCurrent','currentSkeleton$','LICENSE_MAX_UNITS_EXCEEDED','svg','getSheetBySheetId','newValue','_setupSubUnitSync','syncEditingCollabCursor','588745nVhsXK','_getSaveTimeout','defs','className','clearTimeout','setInterval','result','20gomskg','restore','NOT_FOUND','_localCacheService','has','fill','sheetID','flatMap','executionId','CHANGESET_REVISION_CONFILICT','YUUMI_NO_CUBOID_FOR_QUESTION','session.connection-failed','get','data','measureText','transformMutationsWithChangeset','getParam','_cursor','YUUMI_SUBSCRIPTION_NOT_FOUND','_cursorShapes','_scheduleSaving','INTERNAL_ERROR','addObject','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ranges','INVALID_ARGUMENT','_startSheetCollabCursor','TEXT','349641OyqeXF','loadUnit','collabStatus.offline','unit','replaceDocRanges','createInstance','invokeId','transform','/run/','isArray','DeleteRangeMoveLeftCommandId','_removeCollabCursors','subUnitId','xlink:href','UniverIcon','32532wOnONE','_imageIoService','_onRefRangeChange','toRgbString','_lastPointer','_renderManagerService','SYNCED','min','getSheetId','editingUnit','collabCursorState$','_config','getItem','Warning','hasOwnProperty','_ensureSubject','_collabCursorController','_setupBeforeClosingHandler','_transformService','USER_NOT_INVITED_CODE','dispose$','InsertRangeMoveDownCommandId','APPLY_NON_SEQUENTIAL_REVISION','LOGIN_FAILED','getViewport','_handleLeaveEvent','from','_range','function','_assignedColors','defIds','unshift','getCollabEntity$','width','80VwqJbM','OFFLINE','div','setAlpha','saveOfflineData','startColumn','APPLY_DUPLICATED','0\x200\x2016\x2016','init','text','_scheduleHeartbeat','NO_OTHER_CLIENTS_EDITING','docStateChange$','isActive','_online','_send','RemoveRowCommandId','collaboration.closeRoom','COMPLETION_FINISHED','INVITE_CODE_ALREADY_BOUND','_init','arc','save','_handleHeartbeatEvent','override','16EsFBUB','_getScale','_logService','ENSURE_SNAPSHOT_EXECUTION','InsertRowCommandId','UNDEFINED','getMemberID','beginPath','getRangePointData','_instanceService','getTypeOfUnitDisposed$','saveTaskMap','on-line-single_clip0_910_349','_docSkeleton','error','assignAColorForMemberID','getRelativeToViewportCoord','_sheetSkeletonManagerService','_saveCache','OTHER_CLIENT_EDITING','evenodd','_uiPartsService','_entityInit$','1990287JdTWPq','58052DZATbW','getUniverSheetInstance','_drawRectRange','_cursors','memberID','location','_colorAssignService','selections','_drawAnchor','_context','_disabled','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_textBubble','show','random','_entities','getCellPositionByOffset','source','YUUMI_TABLE_NOT_FOUND_IN_UNIT','push','parse','selection','isEditing','_collaborationController','Unknown\x20user','saveImage','_cursorInfo$','backgroundColor','getMember','assign','roomMembers','dispose','mask','FETCH_MISS','lineTo','_transformUndoRedoStack','6974pUebcx','on-line-single','then','CONFLICT','_backgroundColor','_collabCursorState$','stringify','_revisionService','startRow','TOO_MANY_REQUESTS','path','storage','sessionStatus$','_initStatusComponent','PY_RUNTIME_SCRIPT_ERROR','APPLY_REVISION_CONFILICT','unload','actions','getConfig','INVALID_INVITE_CODE','substring','skeleton','onPointerMove$','transformRemoteChangeset','YUUMI_ALL_TABLES_IS_INVALID','collaboration-client.offline-data-not-saved','_transformHistoryAndStateStack','getActiveRange','resize','round','#fff','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','transformStateCache','setParam','getOffsetConfig','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','roomMembers$','_localeService','includes','redoState','getUnhiddenWorksheets','uni.network.url-service','_univerInstanceService','getFocusedUnit','history','propertyIsEnumerable','enableLocalCache','_initCommandExecutedListener','_getMergeRange','_id','YUUMI_AI_RUN_FAILED','getValue','font','addObjects','sheetId','body','_getSessionTicket','size','event$','url(#on-line-single_clip0_910_349)','forEach','_clearOtherTimers','imageSourceType','trim','all','_updateLocalCursor','UNIVER_SHEET','JOIN_ROOM_FAILED','setActiveRange','_docTransformStateCacheService','_refreshCollabCursors','_toggleOffline','_render','focused$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_configService','INVITE_CODE_REQUIRED','MOBILE_HAS_BEEN_BOUND','type','_eventUnsubscribe','YUUMI_URL_COL_OUT_OF_RANGE','length','_injector','cursorInfo$','_handleHover','_messageService','_urlService','collab-rect-range-','LICENSE_IMPORT_SIZE_EXCEEDED','_unitOnClients','runOnServer','setStateCache','_docClipboardService','_startDocCollabCursor','rgba(255,\x20255,\x20255,\x200.01)','reconnect','onTransformChange$','subunit','unitID','getUndoRedoMutationParamsCache','LICENSE_EXPORT_SIZE_EXCEEDED','OTHER_CLIENTS_EDITING','tag','popstate','set','whenReady','m1Prime','FromArray','registerRenderModule','_initEvent','_name','APPLY_REJECT','_docSkeletonManagerService','requireSession','setTimeout','replace','session.will-retry','clipPath','_docSyncEditingCollabCursorService','_refRangeService','current','_toggleOnline','disposeUnit','[CollaborationDataLoaderController]','pushState','1em','RECT','addClipboardHook','collabStatus.syncing','SNAPSHOT_INVALID_SNAPSHOT','yellow.400','red.300','_getSheetObject','urlChange$','APPLY_PERMISSION_DENIED','mutations','debug','ticket','search','disposeWithMe','closePath','pluginName','map','_docTransformSelectionsService','blue.400','concat','values','_createSocketURL','_labelPosition','textRanges','row','onPointerLeave$','height','setItem','_updateCollabCursors','_doCreateSocket','collab-client.tooltip.reconnect','_handleJoinEvent','getUnitId','_collaborationUIEventService','SNAPSHOT_HAS_BEEN_REMOVED','univer-flex\x20univer-mr-2\x20univer-text-xl','fillRule','column','_updateURLWithCurrentState','prototype','_removeClearOtherTimer','url(#$1','onStarting','pipe','call','post','toString','cursorInfo','purple.300','getColorFromTheme','_status$','getOwnPropertyDescriptor','labelPosition','_notificationService','PENDING','univer-flex\x20univer-items-center','_initStatusListener','_onCursorDelete','getSkeleton','runId','1962RAubdD','icon','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_scene','OffLineSingle','name','endColumn','range','use','colorChannel1','_roomMembers$','_commandService','bottom','replaceState','_cachedData','with','subscribe','unitId','symbol','off-line-single_clip0_910_343','getUnitStatus$','currentTheme$','unsubscribe','_session','color','getCurrentRevOfUnit','_drawTextRange','add','transformIMECache','_handleEvent','setShapeProps','apply','_initEntityListener','_anchorDot','clearInterval','searchParams','_hideTimer','transformMutation','getOwnPropertySymbols','onPointerEnter$','_saveTaskMap','SUBMIT_CHANGESET_TIMEOUT','CLOSE_ROOM','_color','startsWith','_onCursorUpdate','complete','_initResize','string','Error','deepClone','_draw','NOT_COLLAB','CONNECTOR_DATA_TOO_LARGE','ACTIVE_UNIT_EVENT_CHANNEL','registerRefRange','YUUMI_UNABLE_LOAD_URL','SOCKET_FAILED','attrs','params','_unitStatus','_docTransformIMECacheService','getTypeOfUnitAdded$','_anchor','transformSelections','session.collaboration-timeout','permission.title','_syncEditingCollabCursorService','hide','collabStatus.conflict','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','0\x200\x2017\x2016','_localStorageService','_hover','fillStyle','_selfUnitIDs','findNodePositionByCharIndex','getAncestorScale','collabStatus.notCollab','4396xJJFNC','WECHAT_HAS_BEEN_BOUND','YUUMI_RATE_OVER_LIMIT','_collabSessionService','onCommandExecuted','getStateCache','exhaustSavingTask','EMAIL_HAS_BEEN_BOUND','M0\x200H16V16H0z','onMouseMove','black','makeDirty','PERMISSION_DENIED','ALREADY_EXISTS','registerComponent','3938280sosgKS','YUUMI_ASYNCIO_CANCELLED','engine','...','_shapes','entityInit$','_themeService','UNAUTHENTICATED','_updateSubUnitFromURLParams','children','ONLINE','delete','displayName','registerBeforeClose','AWAITING_WITH_PENDING','collabStatus.synced','getActiveSheet','VIEW_MAIN','_scheduleClearOtherTimer','doc.mutation.rich-text-editing','_initDependencies','next','transformByState','InsertColCommandId','application/json','RemoveColCommandId','removeParam','currentColor','undoState','key','sessionTicket','asObservable','drawWith','contains','idSuffix','green.600','_hovered','Failed','LICENSE_DISTRO_REJECTED','getVpScrollXYInfoByPosToVp','none','getCollabCursors$','UPDATE_CURSOR'];_0x1cef=function(){return _0x226c81;};return _0x1cef();}let Pe=class extends _0x3eca04{constructor(_0x240933,_0x5a90a8,_0x3a5304,_0x509915,_0x8965b1){const _0x70c3cf=_0xbf56d9;super(),_(this,_0x70c3cf(0x2dd),[]),_(this,'_cursors',[]),(this[_0x70c3cf(0x351)]=_0x240933,this['_docSkeletonManagerService']=_0x5a90a8,this['_collabCursorController']=_0x3a5304,this[_0x70c3cf(0x227)]=_0x509915,this[_0x70c3cf(0x280)]=_0x8965b1,this[_0x70c3cf(0x32b)]());}['_init'](){const _0x1f8622=_0xbf56d9,_0xb84592=this['_context']['unitId'],_0x2e603e=this[_0x1f8622(0x1d2)];this[_0x1f8622(0x1ed)](_0x351a2b([this[_0x1f8622(0x305)][_0x1f8622(0x2a3)](_0xb84592),this[_0x1f8622(0x280)]['currentTheme$']])[_0x1f8622(0x20b)](_0x2edd28(([_0x25c698,_0x50910e])=>({'skeleton':_0x2e603e[_0x1f8622(0x21a)](),'cursors':[..._0x25c698[_0x1f8622(0x1f4)]()][_0x1f8622(0x2d1)](_0x2f5ddb=>({..._0x2f5ddb,'color':this[_0x1f8622(0x280)][_0x1f8622(0x211)](_0x2f5ddb[_0x1f8622(0x234)])}))})))[_0x1f8622(0x22c)](_0x58dfa2=>{const _0x509f55=_0x1f8622;if(this[_0x509f55(0x2f1)](),_0x58dfa2){const {skeleton:_0x2f5748,cursors:_0x419b7f}=_0x58dfa2;this[_0x509f55(0x1fc)](_0x2f5748,_0x419b7f);}})),this[_0x1f8622(0x24b)](),this[_0x1f8622(0x191)]();}[_0xbf56d9(0x1fc)](_0x3d0ed9,_0x461147){const _0x196b16=_0xbf56d9,{scene:_0x271a71,mainComponent:_0x38177a}=this[_0x196b16(0x351)],_0x583050=_0x461147[_0x196b16(0x1f0)](_0x353d01=>new qe(_0x353d01,_0x271a71,_0x3d0ed9,_0x38177a));this[_0x196b16(0x2dd)]=_0x583050,this[_0x196b16(0x34b)]=_0x461147;}[_0xbf56d9(0x1a8)](){const _0x2981ff=_0xbf56d9;this['_removeCollabCursors']();const {scene:_0x483227,mainComponent:_0x14f29a}=this['_context'],_0x5c0d51=this[_0x2981ff(0x1d2)][_0x2981ff(0x21a)](),_0x3939a5=this[_0x2981ff(0x34b)][_0x2981ff(0x1f0)](_0x22ba7e=>new qe(_0x22ba7e,_0x483227,_0x5c0d51,_0x14f29a));this['_cursorShapes']=_0x3939a5;}['_removeCollabCursors'](){const _0x2314b1=_0xbf56d9;this[_0x2314b1(0x2dd)][_0x2314b1(0x19e)](_0x2dd5dd=>_0x2dd5dd[_0x2314b1(0x367)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x5eb69f=_0xbf56d9,_0x180aec=[_0x2c539a['id']];this[_0x5eb69f(0x1ed)](this[_0x5eb69f(0x227)][_0x5eb69f(0x26f)](_0x31acb3=>{const _0x1db115=_0x5eb69f;_0x180aec[_0x1db115(0x188)](_0x31acb3['id'])&&_0x31acb3[_0x1db115(0x257)]['unitId']===this[_0x1db115(0x351)][_0x1db115(0x22d)]&&this[_0x1db115(0x1a8)]();}));}[_0xbf56d9(0x24b)](){const _0x231303=_0xbf56d9;this[_0x231303(0x1ed)](_0x48a4e2(this['_context'][_0x231303(0x27c)][_0x231303(0x1c2)])[_0x231303(0x20b)](_0x2a5313(_0x20d162=>_0x20d162[_0x231303(0x1b0)]===_0x277e68[_0x231303(0x17e)]),_0x325080(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x16779c(_0x5553ba)),Z(0x2,_0x16779c(H)),Z(0x3,_0x309e55),Z(0x4,_0x16779c(_0x1cf4d1))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x560c0d{constructor(_0x14e735,_0x170021){const _0x263fa9=_0xbf56d9;super(_0x14e735,_0x170021),_(this,_0x263fa9(0x247)),_(this,_0x263fa9(0x29e),!0x1),_(this,_0x263fa9(0x310)),_(this,'_name',''),_(this,'_labelPosition',_0x263fa9(0x2a7)),_(this,_0x263fa9(0x370)),(_0x170021&&this['setShapeProps'](_0x170021),this[_0x263fa9(0x243)][_0x263fa9(0x2aa)](()=>this[_0x263fa9(0x23a)]({'hovered':!0x0})),this[_0x263fa9(0x1f9)][_0x263fa9(0x2aa)](()=>this[_0x263fa9(0x23a)]({'hovered':!0x1})));}[_0xbf56d9(0x23a)](_0x1fbf1a){const _0x396abd=_0xbf56d9;var _0x115e67,_0x10fa0c,_0x6af5a1,_0x220e0f,_0x41d413,_0x16ca69;this['_color']=(_0x115e67=_0x1fbf1a[_0x396abd(0x234)])!=null?_0x115e67:this[_0x396abd(0x247)],this[_0x396abd(0x29e)]=(_0x10fa0c=_0x1fbf1a['hovered'])!=null?_0x10fa0c:this[_0x396abd(0x29e)],this[_0x396abd(0x310)]=(_0x6af5a1=_0x1fbf1a[_0x396abd(0x223)])!=null?_0x6af5a1:this[_0x396abd(0x310)],this[_0x396abd(0x1d0)]=(_0x220e0f=_0x1fbf1a[_0x396abd(0x221)])!=null?_0x220e0f:this[_0x396abd(0x1d0)],this[_0x396abd(0x1f6)]=(_0x41d413=_0x1fbf1a[_0x396abd(0x214)])!=null?_0x41d413:this[_0x396abd(0x1f6)],this[_0x396abd(0x370)]=(_0x16ca69=_0x1fbf1a[_0x396abd(0x363)])!=null?_0x16ca69:this[_0x396abd(0x370)],this[_0x396abd(0x290)]({'width':_0x1fbf1a[_0x396abd(0x316)],'height':_0x1fbf1a[_0x396abd(0x1fa)]});}[_0xbf56d9(0x274)](_0x36f91e){const _0x293a09=_0xbf56d9,{row:_0x5216b9,column:_0x20cd0e}=_0x36f91e;if(_0x5216b9>=this[_0x293a09(0x310)][_0x293a09(0x374)]&&_0x5216b9<=this[_0x293a09(0x310)]['endRow']&&_0x20cd0e>=this[_0x293a09(0x310)][_0x293a09(0x31c)]&&_0x20cd0e<=this[_0x293a09(0x310)][_0x293a09(0x222)]){this[_0x293a09(0x23a)]({'hovered':!0x0});return;}this[_0x293a09(0x23a)]({'hovered':!0x1});}['triggerDblclick'](_0x4115cf){return!0x1;}[_0xbf56d9(0x24f)](_0x125d07){const _0x4f2153=_0xbf56d9;_0x3cabb3[_0x4f2153(0x29a)](_0x125d07,{'width':this[_0x4f2153(0x316)],'height':this['height'],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x125d07['save'](),_0x125d07[_0x4f2153(0x2ed)](0x1,0x0,0x0,0x1,this[_0x4f2153(0x316)],this[_0x4f2153(0x1f6)]===_0x4f2153(0x228)?0x0:-0x14),he['drawWith'](_0x125d07,{'text':this[_0x4f2153(0x1d0)],'color':this['_color']}),_0x125d07[_0x4f2153(0x2cb)]());}}var Ai=Object[_0xbf56d9(0x213)],yi=(_0x2bc140,_0x8edc2c,_0x4992c9,_0xe79118)=>{for(var _0x2bcab1=_0xe79118>0x1?void 0x0:_0xe79118?Ai(_0x8edc2c,_0x4992c9):_0x8edc2c,_0x51f116=_0x2bc140['length']-0x1,_0x2a070b;_0x51f116>=0x0;_0x51f116--)(_0x2a070b=_0x2bc140[_0x51f116])&&(_0x2bcab1=_0x2a070b(_0x2bcab1)||_0x2bcab1);return _0x2bcab1;},ve=(_0x457ff2,_0x487512)=>(_0x7aa3d4,_0xa403c3)=>_0x487512(_0x7aa3d4,_0xa403c3,_0x457ff2);const $i=0x1389;let Le=class extends _0x3eca04{constructor(_0x1b08fd,_0x20bb14,_0x43559b,_0x428415){const _0xeb27c5=_0xbf56d9;super(),_(this,_0xeb27c5(0x34b),new Set()),_(this,'_lastPointer',null),(this[_0xeb27c5(0x351)]=_0x1b08fd,this[_0xeb27c5(0x341)]=_0x20bb14,this[_0xeb27c5(0x305)]=_0x43559b,this[_0xeb27c5(0x280)]=_0x428415,this[_0xeb27c5(0x32b)]());}[_0xbf56d9(0x32b)](){const _0x93418f=_0xbf56d9;this[_0x93418f(0x341)][_0x93418f(0x2bc)][_0x93418f(0x20b)](_0x224f91(this[_0x93418f(0x309)]),_0x5e1ef7(_0x43fc1e=>{const _0x1e503b=_0x93418f;if(_0x43fc1e){const _0x52c70c=_0x43fc1e[_0x1e503b(0x198)];return _0x351a2b(this[_0x1e503b(0x305)][_0x1e503b(0x2a3)](this['_context']['unitId']),this[_0x1e503b(0x280)][_0x1e503b(0x231)])[_0x1e503b(0x20b)](_0x2edd28(([_0x18f1ca,_0x174593])=>{const _0x4aac96=_0x1e503b,_0x55ea5f=new Map();return _0x18f1ca[_0x4aac96(0x19e)]((_0x3c0503,_0x5c6296)=>{const _0x5b75a2=_0x4aac96;if(_0x3c0503[_0x5b75a2(0x2d0)]===_0x52c70c){const _0x2fe566={..._0x3c0503};_0x2fe566[_0x5b75a2(0x234)]=this[_0x5b75a2(0x280)][_0x5b75a2(0x211)](_0x3c0503[_0x5b75a2(0x234)]),_0x55ea5f[_0x5b75a2(0x1ca)](_0x5c6296,_0x2fe566);}}),{'skeleton':_0x43fc1e,'cursors':_0x55ea5f};}));}return _0x4e21d3({'skeleton':null,'cursors':new Map()});}))[_0x93418f(0x22c)](({skeleton:_0x2ff099,cursors:_0x828e43})=>{const _0x558b5b=_0x93418f;this['_removeCollabCursors'](),_0x2ff099&&this[_0x558b5b(0x1fc)](_0x2ff099,_0x828e43);}),this[_0x93418f(0x341)][_0x93418f(0x2bc)]['subscribe'](_0xcbfb5b=>{const _0x801bda=_0x93418f;if(_0xcbfb5b==null)return;const {skeleton:_0x447499}=_0xcbfb5b,{scene:_0x56364e}=this[_0x801bda(0x351)];_0x56364e[_0x801bda(0x178)][_0x801bda(0x2aa)](_0x3f9951(_0xc326a7=>{const _0x419e8c=_0x801bda;var _0x5b0428,_0x4362c5;const {offsetX:_0x568ddb,offsetY:_0x3a10c0}=_0xc326a7,{x:_0x1109c8,y:_0x4a23cc}=_0x56364e[_0x419e8c(0x340)](_0x4bbd73[_0x419e8c(0x1cd)]([_0x568ddb,_0x3a10c0])),{scaleX:_0xcf6c1d,scaleY:_0x978001}=_0x56364e[_0x419e8c(0x269)](),_0x55bf95=_0x56364e[_0x419e8c(0x30d)](_0x2ea7e5[_0x419e8c(0x28b)]),_0x447f69=_0x56364e[_0x419e8c(0x2a1)](_0x4bbd73[_0x419e8c(0x1cd)]([_0x1109c8,_0x4a23cc]),_0x55bf95),_0x5cb9c7=_0x447499[_0x419e8c(0x358)](_0x568ddb,_0x3a10c0,_0xcf6c1d,_0x978001,_0x447f69);((_0x5b0428=this[_0x419e8c(0x2f9)])==null?void 0x0:_0x5b0428[_0x419e8c(0x205)])===_0x5cb9c7['column']&&((_0x4362c5=this[_0x419e8c(0x2f9)])==null?void 0x0:_0x4362c5[_0x419e8c(0x1f8)])===_0x5cb9c7[_0x419e8c(0x1f8)]||this[_0x419e8c(0x34b)]['forEach'](_0x550b35=>{const _0xd30fde=_0x419e8c;_0x550b35[_0xd30fde(0x274)](_0x5cb9c7);});},0x64));});}['_updateCollabCursors'](_0x504ada,_0x43a4e7){const _0x45c2cb=_0xbf56d9;var _0x546ad6;const _0x468d7a=(_0x546ad6=this[_0x45c2cb(0x341)][_0x45c2cb(0x2bb)]())==null?void 0x0:_0x546ad6[_0x45c2cb(0x177)];if(!_0x468d7a)return;const _0x39a258=this[_0x45c2cb(0x1e6)]();if(!_0x39a258)return;this[_0x45c2cb(0x34b)][_0x45c2cb(0x19e)](_0x206193=>{const _0x2b9924=_0x45c2cb;_0x206193[_0x2b9924(0x276)]();});const {scene:_0x5ccf0c}=_0x39a258,_0x4c7f1=xi(Array[_0x45c2cb(0x30f)](_0x43a4e7[_0x45c2cb(0x1f4)]()))[_0x45c2cb(0x1f0)](_0x472bf7=>{const _0x2f8797=_0x45c2cb,{color:_0xf501aa,range:_0x5db0ec,name:_0x238517,selection:_0x392ed2,sheetID:_0x20e272}=_0x472bf7,{startColumn:_0x1983d6,startRow:_0x42925e,endColumn:_0x10e408,endRow:_0x38773b}=_0x5db0ec,_0x4f61b3=_0x430bec(_0x42925e,_0x1983d6,_0x5ccf0c,_0x468d7a),_0x2dd7fa=_0x430bec(_0x38773b,_0x10e408,_0x5ccf0c,_0x468d7a),{columnHeaderHeightAndMarginTop:_0x2785bf}=_0x468d7a,{startX:_0x3896dc,startY:_0x3ec4e5}=_0x4f61b3,{endX:_0x10d458,endY:_0x169f98}=_0x2dd7fa,_0x24fdbe=_0x10d458-_0x3896dc,_0x248f42=_0x169f98-_0x3ec4e5,_0x5e279e={'labelPosition':_0x3ec4e5-_0x2785bf>=ee?_0x2f8797(0x2a7):_0x2f8797(0x228),'sheetID':_0x20e272,'range':_0x5db0ec,'color':_0xf501aa,'name':_0x238517,'selection':_0x392ed2,'left':_0x3896dc,'top':_0x3ec4e5,'width':_0x24fdbe,'height':_0x248f42,'evented':!0x1,'zIndex':$i};return new wi(_0x238517,_0x5e279e);});_0x5ccf0c[_0x45c2cb(0x197)](_0x4c7f1,Pi),this[_0x45c2cb(0x34b)]=new Set(_0x4c7f1);}['_removeCollabCursors'](){const _0x1722ed=_0xbf56d9;var _0x5e0c4b;(_0x5e0c4b=this[_0x1722ed(0x34b)])==null||_0x5e0c4b[_0x1722ed(0x19e)](_0x24fb03=>_0x24fb03[_0x1722ed(0x367)]());}[_0xbf56d9(0x1e6)](){const _0x14b96d=_0xbf56d9;return _0x1280f0(this[_0x14b96d(0x351)]['unit'],this['_context']);}};Le=yi([ve(0x1,_0x16779c(_0x145e78)),ve(0x2,_0x16779c(H)),ve(0x3,_0x16779c(_0x1cf4d1))],Le);function xi(_0xc1a7b0){const _0x2e84bf=_0xbf56d9,_0x151424=new Map();return _0xc1a7b0[_0x2e84bf(0x19e)](_0x284da5=>{const _0x4f82ce=_0x2e84bf;if(_0x151424[_0x4f82ce(0x2ce)](_0x284da5[_0x4f82ce(0x35d)])){const _0x5c09ea=_0x151424[_0x4f82ce(0x2d6)](_0x284da5['selection']);_0x5c09ea[_0x4f82ce(0x221)]+=',\x20'+_0x284da5[_0x4f82ce(0x221)];}else _0x151424[_0x4f82ce(0x1ca)](_0x284da5[_0x4f82ce(0x35d)],_0x284da5);}),Array[_0x2e84bf(0x30f)](_0x151424[_0x2e84bf(0x1f4)]());}var v=function(){const _0x2d66a1=_0xbf56d9;return v=Object[_0x2d66a1(0x365)]||function(_0x289916){const _0x1fd193=_0x2d66a1;for(var _0x5e533a,_0x978409=0x1,_0x2cdfd9=arguments[_0x1fd193(0x1b3)];_0x978409<_0x2cdfd9;_0x978409++){_0x5e533a=arguments[_0x978409];for(var _0x5d28a7 in _0x5e533a)Object['prototype'][_0x1fd193(0x303)][_0x1fd193(0x20c)](_0x5e533a,_0x5d28a7)&&(_0x289916[_0x5d28a7]=_0x5e533a[_0x5d28a7]);}return _0x289916;},v[_0x2d66a1(0x23b)](this,arguments);},Bi=function(_0x92d799,_0x119811){const _0x3a953a=_0xbf56d9;var _0x4e7a0c={};for(var _0x58aefe in _0x92d799)Object['prototype'][_0x3a953a(0x303)][_0x3a953a(0x20c)](_0x92d799,_0x58aefe)&&_0x119811['indexOf'](_0x58aefe)<0x0&&(_0x4e7a0c[_0x58aefe]=_0x92d799[_0x58aefe]);if(_0x92d799!=null&&typeof Object['getOwnPropertySymbols']==_0x3a953a(0x311)){for(var _0x454c02=0x0,_0x58aefe=Object[_0x3a953a(0x242)](_0x92d799);_0x454c02<_0x58aefe[_0x3a953a(0x1b3)];_0x454c02++)_0x119811['indexOf'](_0x58aefe[_0x454c02])<0x0&&Object[_0x3a953a(0x207)][_0x3a953a(0x18f)][_0x3a953a(0x20c)](_0x92d799,_0x58aefe[_0x454c02])&&(_0x4e7a0c[_0x58aefe[_0x454c02]]=_0x92d799[_0x58aefe[_0x454c02]]);}return _0x4e7a0c;},je=_0x3c39a7(function(_0x55dfea,_0x12e417){const _0x2d4d9b=_0xbf56d9;var _0xabd887=_0x55dfea[_0x2d4d9b(0x21d)],_0x4d44a2=_0x55dfea['id'],_0x113f05=_0x55dfea[_0x2d4d9b(0x2c6)],_0x2cdd8f=_0x55dfea['extend'],_0xb57050=Bi(_0x55dfea,[_0x2d4d9b(0x21d),'id',_0x2d4d9b(0x2c6),'extend']),_0x242dc6='univerjs-icon\x20univerjs-icon-'[_0x2d4d9b(0x1f3)](_0x4d44a2,'\x20')['concat'](_0x113f05||'')[_0x2d4d9b(0x1a1)](),_0x4be351=_0x1c18e3('_'[_0x2d4d9b(0x1f3)](ji()));return Rt(_0xabd887,''[_0x2d4d9b(0x1f3)](_0x4d44a2),{'defIds':_0xabd887['defIds'],'idSuffix':_0x4be351[_0x2d4d9b(0x1da)]},v({'ref':_0x12e417,'className':_0x242dc6},_0xb57050),_0x2cdd8f);});function Rt(_0x16d396,_0x59d7bd,_0x1af9bf,_0x31616c,_0xf8e1b){const _0x5beb7a=_0xbf56d9;return _0x578604(_0x16d396['tag'],v(v({'key':_0x59d7bd},ki(_0x16d396,_0x1af9bf,_0xf8e1b)),_0x31616c),(Hi(_0x16d396,_0x1af9bf)[_0x5beb7a(0x283)]||[])[_0x5beb7a(0x1f0)](function(_0x33f7f9,_0x504b76){const _0x40d29e=_0x5beb7a;return Rt(_0x33f7f9,''[_0x40d29e(0x1f3)](_0x59d7bd,'-')[_0x40d29e(0x1f3)](_0x16d396[_0x40d29e(0x1c8)],'-')[_0x40d29e(0x1f3)](_0x504b76),_0x1af9bf,void 0x0,_0xf8e1b);}));}function ki(_0x4b81c2,_0x55601f,_0x596634){const _0x212d63=_0xbf56d9;var _0x168292=v({},_0x4b81c2[_0x212d63(0x256)]);_0x596634!=null&&_0x596634[_0x212d63(0x225)]&&_0x168292[_0x212d63(0x2cf)]===_0x212d63(0x225)&&(_0x168292[_0x212d63(0x2cf)]=_0x596634['colorChannel1']),_0x4b81c2[_0x212d63(0x1c8)]===_0x212d63(0x368)&&_0x168292['id']&&(_0x168292['id']=_0x168292['id']+_0x55601f['idSuffix']),Object[_0x212d63(0x2a8)](_0x168292)[_0x212d63(0x19e)](function(_0x596ae2){const _0x41bae6=_0x212d63;var _0x5d76c4=_0x596ae2[0x0],_0x5bb99d=_0x596ae2[0x1];_0x5d76c4==='mask'&&typeof _0x5bb99d==_0x41bae6(0x24c)&&(_0x168292[_0x5d76c4]=_0x5bb99d[_0x41bae6(0x1d5)](/url\(#(.*)\)/,'url(#$1'[_0x41bae6(0x1f3)](_0x55601f[_0x41bae6(0x29c)],')')));});var _0x3043cc=_0x55601f[_0x212d63(0x313)];return!_0x3043cc||_0x3043cc[_0x212d63(0x1b3)]===0x0||(_0x4b81c2[_0x212d63(0x1c8)]===_0x212d63(0x224)&&_0x168292['xlink:href']&&(_0x168292[_0x212d63(0x2f3)]=_0x168292['xlink:href']+_0x55601f[_0x212d63(0x29c)]),Object[_0x212d63(0x2a8)](_0x168292)['forEach'](function(_0xf5af99){const _0x36c175=_0x212d63;var _0x28585a=_0xf5af99[0x0],_0x4e4709=_0xf5af99[0x1];typeof _0x4e4709==_0x36c175(0x24c)&&(_0x168292[_0x28585a]=_0x4e4709['replace'](/url\(#(.*)\)/,_0x36c175(0x209)['concat'](_0x55601f['idSuffix'],')')));})),_0x168292;}function Hi(_0x29dc77,_0x39b74f){const _0x238106=_0xbf56d9;var _0xb81ba6,_0x267bd9=_0x39b74f[_0x238106(0x313)];return!_0x267bd9||_0x267bd9[_0x238106(0x1b3)]===0x0?_0x29dc77:_0x29dc77[_0x238106(0x1c8)]===_0x238106(0x2c5)&&(!((_0xb81ba6=_0x29dc77[_0x238106(0x283)])===null||_0xb81ba6===void 0x0)&&_0xb81ba6[_0x238106(0x1b3)])?v(v({},_0x29dc77),{'children':_0x29dc77['children'][_0x238106(0x1f0)](function(_0x52133f){const _0x31f50a=_0x238106;return typeof _0x52133f[_0x31f50a(0x256)]['id']=='string'&&_0x267bd9&&_0x267bd9['indexOf'](_0x52133f[_0x31f50a(0x256)]['id'])>-0x1?v(v({},_0x52133f),{'attrs':v(v({},_0x52133f[_0x31f50a(0x256)]),{'id':_0x52133f[_0x31f50a(0x256)]['id']+_0x39b74f[_0x31f50a(0x29c)]})}):_0x52133f;})}):_0x29dc77;}function ji(){const _0x1ac32f=_0xbf56d9;return Math[_0x1ac32f(0x356)]()[_0x1ac32f(0x20e)](0x24)[_0x1ac32f(0x176)](0x2,0x8);}je[_0xbf56d9(0x286)]=_0xbf56d9(0x2f4);var Yi={'tag':'svg','attrs':{'fill':_0xbf56d9(0x2a2),'viewBox':_0xbf56d9(0x31e),'width':_0xbf56d9(0x1df),'height':_0xbf56d9(0x1df)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0xbf56d9(0x16c),'attrs':{'stroke':_0xbf56d9(0x295),'d':_0xbf56d9(0x185),'strokeLinecap':_0xbf56d9(0x17f),'strokeLinejoin':_0xbf56d9(0x17f),'strokeWidth':1.2}}]},{'tag':_0xbf56d9(0x2c5),'attrs':{},'children':[{'tag':_0xbf56d9(0x1d7),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0xbf56d9(0x16c),'attrs':{'fill':_0xbf56d9(0x180),'d':_0xbf56d9(0x273)}}]}]}],'defIds':[_0xbf56d9(0x22f)]},Dt=_0x3c39a7(function(_0x24b3b2,_0x445691){return _0x578604(je,Object['assign']({},_0x24b3b2,{'id':'off-line-single','ref':_0x445691,'icon':Yi}));});Dt['displayName']=_0xbf56d9(0x220);var Fi={'tag':_0xbf56d9(0x2be),'attrs':{'fill':_0xbf56d9(0x2a2),'viewBox':_0xbf56d9(0x263),'width':'1em','height':_0xbf56d9(0x1df)},'children':[{'tag':'g','attrs':{'clipPath':_0xbf56d9(0x19d)},'children':[{'tag':_0xbf56d9(0x16c),'attrs':{'stroke':_0xbf56d9(0x295),'d':_0xbf56d9(0x262),'strokeLinecap':_0xbf56d9(0x17f),'strokeLinejoin':_0xbf56d9(0x17f),'strokeWidth':1.2}}]},{'tag':_0xbf56d9(0x2c5),'attrs':{},'children':[{'tag':_0xbf56d9(0x1d7),'attrs':{'id':_0xbf56d9(0x33c)},'children':[{'tag':_0xbf56d9(0x16c),'attrs':{'fill':_0xbf56d9(0x180),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},Nt=_0x3c39a7(function(_0x291795,_0x1fcd17){const _0x1c4e86=_0xbf56d9;return _0x578604(je,Object[_0x1c4e86(0x365)]({},_0x291795,{'id':_0x1c4e86(0x36d),'ref':_0x1fcd17,'icon':Fi}));});Nt[_0xbf56d9(0x286)]='OnLineSingle';function Wi(_0x42c193){const _0x2dc06a=_0xbf56d9;switch(_0x42c193){case _0x2b3aeb[_0x2dc06a(0x318)]:return _0x2dc06a(0x2e8);case _0x2b3aeb[_0x2dc06a(0x36f)]:return _0x2dc06a(0x261);case _0x2b3aeb[_0x2dc06a(0x369)]:return'collabStatus.fetchMiss';case _0x2b3aeb[_0x2dc06a(0x250)]:return _0x2dc06a(0x26a);case _0x2b3aeb['AWAITING']:case _0x2b3aeb[_0x2dc06a(0x288)]:return _0x2dc06a(0x1e2);case _0x2b3aeb[_0x2dc06a(0x2fb)]:case _0x2b3aeb[_0x2dc06a(0x216)]:return _0x2dc06a(0x289);}}function Vi(_0x37e314){const _0x440cb6=_0xbf56d9,{status$:_0x573fd0}=_0x37e314,_0x3d6363=_0x15023e(_0x573fd0,_0x2b3aeb['NOT_COLLAB']),_0x3befbe=_0x156466(_0xa7e18c),_0x36c425=_0x156466(_0x5374df),_0x1c4115=_0x3d6363!==_0x2b3aeb[_0x440cb6(0x318)],_0x23fa82=_0x3befbe['t'](Wi(_0x3d6363)),_0x2e71d5=_0x1c4115?_0x3acbf8(Nt,{}):_0x3acbf8(Dt,{}),_0x20cfc5=_0x11ee5f(()=>{const _0x2f5fff=_0x440cb6;_0x1c4115||_0x36c425[_0x2f5fff(0x1c1)]();},[_0x1c4115,_0x36c425]);function _0x26f13a(){const _0x1a177d=_0x440cb6;return _0x1c6dde(_0x1a177d(0x319),{'className':_0x1a177d(0x217),'onClick':_0x20cfc5,'children':[_0x3acbf8(_0x1a177d(0x319),{'className':_0x265dbc(_0x1a177d(0x203),{'univer-text-green-500':_0x1c4115,'univer-text-red-500':!_0x1c4115}),'children':_0x2e71d5}),_0x3acbf8(_0x1a177d(0x319),{'className':_0x1a177d(0x2a6),'children':_0x23fa82})]});}return _0x1c4115?_0x26f13a():_0x3acbf8(_0x20833f,{'title':_0x3befbe['t'](_0x440cb6(0x1fe)),'children':_0x26f13a()});}var Xi=Object[_0xbf56d9(0x213)],Gi=(_0x485b24,_0x3c87b,_0x5b2638,_0x271d59)=>{const _0x2b1587=_0xbf56d9;for(var _0x236243=_0x271d59>0x1?void 0x0:_0x271d59?Xi(_0x3c87b,_0x5b2638):_0x3c87b,_0x47cde0=_0x485b24[_0x2b1587(0x1b3)]-0x1,_0x497172;_0x47cde0>=0x0;_0x47cde0--)(_0x497172=_0x485b24[_0x47cde0])&&(_0x236243=_0x497172(_0x236243)||_0x236243);return _0x236243;},Q=(_0x422e9e,_0x5275fe)=>(_0x4d091a,_0xf628ac)=>_0x5275fe(_0x4d091a,_0xf628ac,_0x422e9e);let te=class extends _0x4dafc5{constructor(_0x45c399,_0x34ef98,_0xa591ce,_0x4bfc94){const _0x2b95a0=_0xbf56d9;super(),_(this,_0x2b95a0(0x212),new _0x2b7b9e(_0x2b3aeb[_0x2b95a0(0x250)])),(this[_0x2b95a0(0x18c)]=_0x45c399,this[_0x2b95a0(0x1b4)]=_0x34ef98,this[_0x2b95a0(0x35f)]=_0xa591ce,this[_0x2b95a0(0x345)]=_0x4bfc94,this[_0x2b95a0(0x16f)](),this[_0x2b95a0(0x218)]());}[_0xbf56d9(0x218)](){const _0x4da477=_0xbf56d9;this[_0x4da477(0x1ed)](this[_0x4da477(0x18c)][_0x4da477(0x1ab)]['pipe'](_0x26bef4(()=>{const _0xb9c264=_0x4da477,_0x31b32e=this['_univerInstanceService'][_0xb9c264(0x18d)]();return _0x31b32e?this[_0xb9c264(0x35f)][_0xb9c264(0x315)](_0x31b32e[_0xb9c264(0x200)]()):_0x4e21d3(null);}),_0x26bef4(_0x55dcf1=>_0x55dcf1?_0x55dcf1['status$']:_0x4e21d3(_0x2b3aeb[_0x4da477(0x250)])))[_0x4da477(0x22c)](_0x267079=>{const _0x9edf0f=_0x4da477;this[_0x9edf0f(0x212)][_0x9edf0f(0x28f)](_0x267079);}));}[_0xbf56d9(0x16f)](){const _0x1f4a54=_0xbf56d9;this['disposeWithMe'](this[_0x1f4a54(0x345)][_0x1f4a54(0x279)](_0x834e83['HEADER_MENU'],()=>_0x4215bb(Ki({'status$':this[_0x1f4a54(0x212)]['asObservable']()}),this[_0x1f4a54(0x1b4)])));}};te=Gi([Q(0x0,_0x2bfab2),Q(0x1,_0x16779c(_0x2160c5)),Q(0x2,_0x16779c(_0x4cee33)),Q(0x3,_0x408f7c)],te);function Ki(_0x5bfce8){const {status$:_0x47edc0}=_0x5bfce8;return function(){return _0x3acbf8(Vi,{'status$':_0x47edc0});};}var zi=Object[_0xbf56d9(0x213)],Ji=(_0xac418,_0x380334,_0x2dc5ec,_0x18c2f3)=>{const _0x4443c4=_0xbf56d9;for(var _0x4a0282=_0x18c2f3>0x1?void 0x0:_0x18c2f3?zi(_0x380334,_0x2dc5ec):_0x380334,_0x3c6b7a=_0xac418[_0x4443c4(0x1b3)]-0x1,_0x5624e5;_0x3c6b7a>=0x0;_0x3c6b7a--)(_0x5624e5=_0xac418[_0x3c6b7a])&&(_0x4a0282=_0x5624e5(_0x4a0282)||_0x4a0282);return _0x4a0282;},B=(_0x419097,_0x20ab03)=>(_0x5976ed,_0x5c7894)=>_0x20ab03(_0x5976ed,_0x5c7894,_0x419097);let se=class extends _0x4dafc5{constructor(_0x3c9493,_0x106ab0,_0x37e95f,_0x397827,_0x67145f,_0x57820c){const _0x5cf8dd=_0xbf56d9;super(),this[_0x5cf8dd(0x2ac)]=_0x3c9493,this[_0x5cf8dd(0x2cd)]=_0x106ab0,this[_0x5cf8dd(0x201)]=_0x37e95f,this['_messageService']=_0x397827,this['_notificationService']=_0x67145f,this['_localeService']=_0x57820c,this[_0x5cf8dd(0x306)](),this[_0x5cf8dd(0x1cf)]();}[_0xbf56d9(0x306)](){const _0x69d10b=_0xbf56d9;this[_0x69d10b(0x1ed)](this['_beforeCloseService'][_0x69d10b(0x287)](()=>{const _0x18d189=_0x69d10b;if(this['_localCacheService'][_0x18d189(0x33b)][_0x18d189(0x19b)])return this[_0x18d189(0x187)]['t'](_0x18d189(0x17b));}));}[_0xbf56d9(0x1cf)](){const _0x3613d0=_0xbf56d9;this[_0x3613d0(0x1ed)](this['_collaborationUIEventService'][_0x3613d0(0x19c)][_0x3613d0(0x22c)](_0x516bbb=>{const _0x5d0ace=_0x3613d0;_0x516bbb['id']===_0x2a0100[_0x5d0ace(0x343)]&&this[_0x5d0ace(0x1b7)][_0x5d0ace(0x355)]({'type':_0x1e04f0[_0x5d0ace(0x302)],'content':this[_0x5d0ace(0x187)]['t'](_0x5d0ace(0x2b0))}),_0x516bbb['id']===_0x2a0100[_0x5d0ace(0x246)]&&this[_0x5d0ace(0x1b7)][_0x5d0ace(0x355)]({'type':_0x1e04f0[_0x5d0ace(0x302)],'content':this['_localeService']['t'](_0x5d0ace(0x328))}),_0x516bbb['id']===_0x2a0100[_0x5d0ace(0x277)]&&this[_0x5d0ace(0x215)][_0x5d0ace(0x355)]({'title':this['_localeService']['t'](_0x5d0ace(0x25e)),'content':this[_0x5d0ace(0x187)]['t']('permission.content'),'type':_0x5d0ace(0x33e),'duration':0x0}),_0x516bbb['id']===_0x2a0100['CONFLICT']&&this[_0x5d0ace(0x1b7)]['show']({'type':_0x1e04f0[_0x5d0ace(0x24d)],'content':this[_0x5d0ace(0x187)]['t'](_0x5d0ace(0x328))+'('+_0x516bbb[_0x5d0ace(0x2d7)]+')'}),_0x516bbb['id']===_0x2a0100[_0x5d0ace(0x1a5)]&&this[_0x5d0ace(0x1b7)][_0x5d0ace(0x355)]({'type':_0x1e04f0[_0x5d0ace(0x302)],'content':this[_0x5d0ace(0x187)]['t'](_0x516bbb[_0x5d0ace(0x2d7)]||'')}),_0x516bbb['id']===_0x2a0100['SOCKET_FAILED_RETRY']&&this[_0x5d0ace(0x1b7)][_0x5d0ace(0x355)]({'type':_0x1e04f0[_0x5d0ace(0x302)],'content':this[_0x5d0ace(0x187)]['t'](_0x5d0ace(0x1d6))}),_0x516bbb['id']===_0x2a0100[_0x5d0ace(0x255)]&&this[_0x5d0ace(0x1b7)][_0x5d0ace(0x355)]({'type':_0x1e04f0[_0x5d0ace(0x24d)],'content':this['_localeService']['t'](_0x5d0ace(0x2d5))}),_0x516bbb['id']===_0x2a0100[_0x5d0ace(0x245)]&&this[_0x5d0ace(0x1b7)]['show']({'type':_0x1e04f0[_0x5d0ace(0x24d)],'content':this['_localeService']['t'](_0x5d0ace(0x25d))});}));}};se=Ji([B(0x0,_0x3974ef),B(0x1,_0x1d695f),B(0x2,_0x16779c(_0x42bac7)),B(0x3,_0x315c12),B(0x4,_0x39ce6f),B(0x5,_0x16779c(_0xa7e18c))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x398874(_0xbf56d9(0x18b));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x97e583,_0x93020d,_0x4c6a11,_0x1f3958)=>{const _0x51079e=_0xbf56d9;for(var _0x4769f4=_0x1f3958>0x1?void 0x0:_0x1f3958?Qi(_0x93020d,_0x4c6a11):_0x93020d,_0x39a5cf=_0x97e583[_0x51079e(0x1b3)]-0x1,_0x5d9e6f;_0x39a5cf>=0x0;_0x39a5cf--)(_0x5d9e6f=_0x97e583[_0x39a5cf])&&(_0x4769f4=_0x5d9e6f(_0x4769f4)||_0x4769f4);return _0x4769f4;},G=(_0x42da4e,_0x58809)=>(_0x4ad134,_0x4fbfa6)=>_0x58809(_0x4ad134,_0x4fbfa6,_0x42da4e);let ie=class extends _0x3eca04{constructor(_0x77dddb,_0x208eb1,_0x2b7c11,_0x120039,_0x1f9ef3){const _0x2d142e=_0xbf56d9;super(),this[_0x2d142e(0x1b8)]=_0x77dddb,this[_0x2d142e(0x332)]=_0x208eb1,this[_0x2d142e(0x227)]=_0x2b7c11,this['_dataLoaderService']=_0x120039,_0x1f9ef3?_0x1f9ef3==null||_0x1f9ef3[_0x2d142e(0x1cb)]()[_0x2d142e(0x36e)](()=>this[_0x2d142e(0x32b)]()):(this[_0x2d142e(0x332)][_0x2d142e(0x1ea)](_0x2d142e(0x1dd),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2d142e(0x32b)]());}async[_0xbf56d9(0x32b)](){const _0x13a3d7=_0xbf56d9,_0xd4e436=this[_0x13a3d7(0x1b8)][_0x13a3d7(0x2da)](_0x13a3d7(0x2e9)),_0x4e0c5f=this[_0x13a3d7(0x1b8)]['getParam'](_0x13a3d7(0x1b0)),_0x341357=this['_urlService'][_0x13a3d7(0x2da)](_0x13a3d7(0x1c3));if(!_0xd4e436||!_0x4e0c5f){this[_0x13a3d7(0x332)][_0x13a3d7(0x1ea)](_0x13a3d7(0x1dd),_0x13a3d7(0x1ac));return;}const _0x52b488=await this['_dataLoaderService'][_0x13a3d7(0x2e7)](_0xd4e436,Number(_0x4e0c5f),_0x341357);_0x52b488&&_0x52b488 instanceof _0x540414&&this[_0x13a3d7(0x2c1)](_0x52b488);}async[_0xbf56d9(0x2c1)](_0x1210c7){const _0x1f2c0e=_0xbf56d9;await this[_0x1f2c0e(0x282)](_0x1210c7),_0x1210c7['activeSheet$'][_0x1f2c0e(0x20b)](_0x1d620b(this[_0x1f2c0e(0x309)]))[_0x1f2c0e(0x22c)](_0x3dba98=>{_0x3dba98&&this['_updateURLWithCurrentState'](_0x3dba98);}),this['_urlService']['urlChange$']['pipe'](_0x1d620b(this[_0x1f2c0e(0x309)]))[_0x1f2c0e(0x22c)](()=>this[_0x1f2c0e(0x282)](_0x1210c7));}[_0xbf56d9(0x206)](_0x4ea0ff,_0x868ba3=!0x1){const _0x319cef=_0xbf56d9,_0x38b06b=this[_0x319cef(0x1b8)][_0x319cef(0x2da)](_0x319cef(0x1c3));_0x4ea0ff[_0x319cef(0x2fd)]()!==_0x38b06b&&this[_0x319cef(0x1b8)][_0x319cef(0x183)](_0x319cef(0x1c3),_0x4ea0ff['getSheetId'](),_0x868ba3);}async[_0xbf56d9(0x282)](_0x2b719b){const _0x4481b9=_0xbf56d9;var _0x9168e;const _0x509315=this[_0x4481b9(0x1b8)][_0x4481b9(0x2da)](_0x4481b9(0x1c3));if(!_0x509315||!_0x2b719b[_0x4481b9(0x2bf)](_0x509315)){const _0x24cbdc=_0x2b719b[_0x4481b9(0x18a)]()[0x0],_0xa3b6ac=_0x2b719b[_0x4481b9(0x2bf)](_0x24cbdc);if(!_0xa3b6ac)return;this['_updateURLWithCurrentState'](_0xa3b6ac,!0x0),await this[_0x4481b9(0x227)]['executeCommand'](_0x5943e5['id'],{'unitId':_0x2b719b[_0x4481b9(0x200)](),'subUnitId':_0x24cbdc});return;}((_0x9168e=_0x2b719b['getActiveSheet']())==null?void 0x0:_0x9168e[_0x4481b9(0x2fd)]())!==_0x509315&&await this['_commandService']['executeCommand'](_0x5943e5['id'],{'unitId':_0x2b719b['getUnitId'](),'subUnitId':_0x509315});}};ie=qi([G(0x0,Ut),G(0x1,_0x554739),G(0x2,_0x309e55),G(0x3,_0x16779c(_0x2a0c43)),G(0x4,_0x1559c2(_0x4a30da))],ie);var en=Object[_0xbf56d9(0x213)],tn=(_0x60c714,_0x367459,_0x19d3b6,_0x2601fc)=>{const _0x17cd8d=_0xbf56d9;for(var _0x5760a5=_0x2601fc>0x1?void 0x0:_0x2601fc?en(_0x367459,_0x19d3b6):_0x367459,_0x3b2b02=_0x60c714[_0x17cd8d(0x1b3)]-0x1,_0x4df01e;_0x3b2b02>=0x0;_0x3b2b02--)(_0x4df01e=_0x60c714[_0x3b2b02])&&(_0x5760a5=_0x4df01e(_0x5760a5)||_0x5760a5);return _0x5760a5;},pe=(_0x47c3ac,_0x3dc1e2)=>(_0x125b24,_0x15107b)=>_0x3dc1e2(_0x125b24,_0x15107b,_0x47c3ac);let ne=class{constructor(_0x338060,_0xb62a63,_0xf1cd74){const _0x29379c=_0xbf56d9;this[_0x29379c(0x1b4)]=_0x338060,this['_transformService']=_0xb62a63,this['_renderManagerService']=_0xf1cd74;}[_0xbf56d9(0x238)](_0x559c2e){const _0x5ab6ee=_0xbf56d9;this[_0x5ab6ee(0x36b)](_0x559c2e),this['_transformPreviousActiveRange'](_0x559c2e);}[_0xbf56d9(0x179)](_0x4f844b){const _0x2f63b9=_0xbf56d9,{unitID:_0xe7bd04}=_0x4f844b,_0x16c284=this[_0x2f63b9(0x2fa)]['getRenderById'](_0xe7bd04)['with'](_0x1cdadc),{redoCache:_0x21aefe}=_0x16c284[_0x2f63b9(0x1c5)]();if(_0x21aefe['length']===0x0)return _0x4f844b;let _0x117fe1=_0x4aa418[_0x2f63b9(0x24e)](_0x4f844b[_0x2f63b9(0x1e9)][0x0]);for(let _0x463635=0x0;_0x463635<_0x21aefe[_0x2f63b9(0x1b3)];_0x463635++){const _0xb00e65={'id':'doc.mutation.rich-text-editing','params':{..._0x21aefe[_0x463635]}},_0x44dc16=this[_0x2f63b9(0x307)][_0x2f63b9(0x241)](_0x117fe1,_0xb00e65,!0x1);if(_0x1dcb65(_0x44dc16))throw _0x44dc16[_0x2f63b9(0x33e)];_0x117fe1=_0x44dc16[_0x2f63b9(0x1cc)];}return{..._0x4aa418[_0x2f63b9(0x24e)](_0x4f844b),'mutations':[_0x117fe1]};}['_transformUndoRedoStack'](_0x24a334){const _0x113ec9=_0xbf56d9,{unitID:_0x40a7d2}=_0x24a334,_0x1faecc=this['_renderManagerService']['getRenderById'](_0x40a7d2)[_0x113ec9(0x22b)](_0x1cdadc),{undoCache:_0x1ca066,redoCache:_0x57ca2c}=_0x1faecc[_0x113ec9(0x1c5)]();if(_0x1ca066[_0x113ec9(0x1b3)]===0x0||_0x57ca2c[_0x113ec9(0x1b3)]===0x0)return;const _0x501379=[],_0x1b775b=[];let _0x3a68b9=_0x4aa418['deepClone'](_0x24a334['mutations'][0x0]),_0x2b0603=_0x4aa418[_0x113ec9(0x24e)](_0x24a334['mutations'][0x0]);for(let _0x44e8d2=_0x1ca066[_0x113ec9(0x1b3)]-0x1;_0x44e8d2>=0x0;_0x44e8d2--){const _0xd9de89={'id':_0x113ec9(0x28d),'params':{..._0x1ca066[_0x44e8d2]}},_0x4520f6={'id':_0x113ec9(0x28d),'params':{..._0x57ca2c[_0x44e8d2]}},_0x1117b7=this[_0x113ec9(0x307)][_0x113ec9(0x241)](_0x3a68b9,_0xd9de89,!0x1),_0x1cf6f0=this[_0x113ec9(0x307)][_0x113ec9(0x241)](_0x2b0603,_0x4520f6,!0x1);if(_0x1dcb65(_0x1117b7))throw _0x1117b7[_0x113ec9(0x33e)];if(_0x1dcb65(_0x1cf6f0))throw _0x1cf6f0[_0x113ec9(0x33e)];_0x501379['unshift'](_0x1117b7[_0x113ec9(0x2b8)]['params']),_0x1b775b[_0x113ec9(0x314)](_0x1cf6f0[_0x113ec9(0x2b8)][_0x113ec9(0x257)]),_0x3a68b9=_0x1117b7[_0x113ec9(0x1cc)],_0x2b0603=_0x1cf6f0[_0x113ec9(0x1cc)];}_0x1faecc['setUndoRedoMutationParamsCache']({'undoCache':_0x501379,'redoCache':_0x1b775b});}['_transformPreviousActiveRange'](_0x52b79a){const _0x1a1278=_0xbf56d9,{unitID:_0x280837}=_0x52b79a,_0x57657b=this[_0x1a1278(0x2fa)]['getRenderById'](_0x280837)[_0x1a1278(0x22b)](_0x1cdadc),_0x5662c2=_0x57657b[_0x1a1278(0x17d)]();if(_0x5662c2==null)return;const _0x251e16=[{'id':_0x1a1278(0x28d),'params':{'unitId':_0x52b79a[_0x1a1278(0x1c4)],'actions':null,'textRanges':[_0x5662c2]}}],_0x264e8a=this[_0x1a1278(0x307)][_0x1a1278(0x2d9)](_0x52b79a,_0x251e16);if(!_0x2206b8(_0x264e8a))throw _0x264e8a[_0x1a1278(0x33e)];const _0x40938b=_0x264e8a[_0x1a1278(0x2b8)][0x0][_0x1a1278(0x257)][_0x1a1278(0x1f7)];Array[_0x1a1278(0x2ef)](_0x40938b)&&_0x40938b[_0x1a1278(0x1b3)]&&_0x57657b[_0x1a1278(0x1a6)](_0x40938b[0x0]);}};ne=tn([pe(0x0,_0x16779c(_0x2160c5)),pe(0x1,_0x397b9f),pe(0x2,_0x4a97b5)],ne);var sn=Object[_0xbf56d9(0x213)],nn=(_0x2b7afa,_0x569793,_0xbe4571,_0x4c7837)=>{for(var _0x1f3c08=_0x4c7837>0x1?void 0x0:_0x4c7837?sn(_0x569793,_0xbe4571):_0x569793,_0x3aec5d=_0x2b7afa['length']-0x1,_0x3bf672;_0x3aec5d>=0x0;_0x3aec5d--)(_0x3bf672=_0x2b7afa[_0x3aec5d])&&(_0x1f3c08=_0x3bf672(_0x1f3c08)||_0x1f3c08);return _0x1f3c08;},Ce=(_0x507cb3,_0xa8aec8)=>(_0x2448fe,_0x81f1c5)=>_0xa8aec8(_0x2448fe,_0x81f1c5,_0x507cb3);let re=class{constructor(_0x547b06,_0x4c6c3e,_0x43f2f4){const _0x15dc50=_0xbf56d9;this['_injector']=_0x547b06,this[_0x15dc50(0x307)]=_0x4c6c3e,this[_0x15dc50(0x2b3)]=_0x43f2f4;}[_0xbf56d9(0x182)](_0x2a7807){const _0x11e457=_0xbf56d9;this[_0x11e457(0x17c)](_0x2a7807);}[_0xbf56d9(0x179)](_0xed7cd5){const _0x4d5cbe=_0xbf56d9,{unitID:_0x3eab71}=_0xed7cd5,{collaboration:_0x341a5a}=this[_0x4d5cbe(0x2b3)]['getStateCache'](_0x3eab71);if(_0x341a5a[_0x4d5cbe(0x1b3)]===0x0)return _0xed7cd5;let _0x29cfb=_0x4aa418[_0x4d5cbe(0x24e)](_0xed7cd5[_0x4d5cbe(0x1e9)][0x0]);for(let _0x27c95b=0x0;_0x27c95b<_0x341a5a['length'];_0x27c95b++){const _0x495934={'id':_0x4d5cbe(0x28d),'params':{'unitId':_0x341a5a[_0x27c95b][_0x4d5cbe(0x22d)],..._0x341a5a[_0x27c95b]['redoState']}},_0x29bad2=this[_0x4d5cbe(0x307)][_0x4d5cbe(0x241)](_0x29cfb,_0x495934,!0x1);if(_0x1dcb65(_0x29bad2))throw _0x29bad2[_0x4d5cbe(0x33e)];_0x29cfb=_0x29bad2[_0x4d5cbe(0x1cc)];}return{..._0x4aa418['deepClone'](_0xed7cd5),'mutations':[_0x29cfb]};}[_0xbf56d9(0x17c)](_0x19cb65){const _0x37fed4=_0xbf56d9,{unitID:_0x4fd37d}=_0x19cb65,{history:_0x4379e1,collaboration:_0xbac1d2}=this['_docStateChangeManagerService'][_0x37fed4(0x270)](_0x4fd37d);if(_0x4379e1['length']===0x0&&_0xbac1d2[_0x37fed4(0x1b3)]===0x0)return;const _0x341962=[],_0x76a993=[];let _0x28964a=_0x4aa418['deepClone'](_0x19cb65[_0x37fed4(0x1e9)][0x0]),_0x4d9a03=_0x4aa418[_0x37fed4(0x24e)](_0x19cb65[_0x37fed4(0x1e9)][0x0]);for(let _0x19f48d=_0x4379e1[_0x37fed4(0x1b3)]-0x1;_0x19f48d>=0x0;_0x19f48d--){const _0x4ad2a0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4379e1[_0x19f48d]['unitId'],..._0x4379e1[_0x19f48d][_0x37fed4(0x296)]}},_0x5164dd={'id':_0x37fed4(0x28d),'params':{'unitId':_0x4379e1[_0x19f48d][_0x37fed4(0x22d)],..._0x4379e1[_0x19f48d][_0x37fed4(0x189)]}},_0x1499cf=this[_0x37fed4(0x307)][_0x37fed4(0x241)](_0x28964a,_0x4ad2a0,!0x1),_0x331ca8=this[_0x37fed4(0x307)][_0x37fed4(0x241)](_0x4d9a03,_0x5164dd,!0x1);if(_0x1dcb65(_0x1499cf))throw _0x1499cf[_0x37fed4(0x33e)];if(_0x1dcb65(_0x331ca8))throw _0x331ca8[_0x37fed4(0x33e)];_0x341962[_0x37fed4(0x314)]({..._0x4379e1[_0x19f48d],'undoState':_0x1499cf['m2Prime'][_0x37fed4(0x257)],'redoState':_0x331ca8[_0x37fed4(0x2b8)]['params']}),_0x28964a=_0x1499cf['m1Prime'],_0x4d9a03=_0x331ca8[_0x37fed4(0x1cc)];}_0x28964a=_0x4aa418[_0x37fed4(0x24e)](_0x19cb65['mutations'][0x0]),_0x4d9a03=_0x4aa418['deepClone'](_0x19cb65[_0x37fed4(0x1e9)][0x0]);for(let _0x420fef=_0xbac1d2['length']-0x1;_0x420fef>=0x0;_0x420fef--){const _0x3084e1={'id':_0x37fed4(0x28d),'params':{'unitId':_0xbac1d2[_0x420fef][_0x37fed4(0x22d)],..._0xbac1d2[_0x420fef]['undoState']}},_0x4444e0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xbac1d2[_0x420fef]['unitId'],..._0xbac1d2[_0x420fef][_0x37fed4(0x189)]}},_0x1038d3=this[_0x37fed4(0x307)][_0x37fed4(0x241)](_0x28964a,_0x3084e1,!0x1),_0x19a57c=this['_transformService'][_0x37fed4(0x241)](_0x4d9a03,_0x4444e0,!0x1);if(_0x1dcb65(_0x1038d3))throw _0x1038d3[_0x37fed4(0x33e)];if(_0x1dcb65(_0x19a57c))throw _0x19a57c[_0x37fed4(0x33e)];_0x76a993[_0x37fed4(0x314)]({..._0xbac1d2[_0x420fef],'undoState':_0x1038d3[_0x37fed4(0x2b8)]['params'],'redoState':_0x19a57c['m2Prime'][_0x37fed4(0x257)]}),_0x28964a=_0x1038d3[_0x37fed4(0x1cc)],_0x4d9a03=_0x19a57c[_0x37fed4(0x1cc)];}this['_docStateChangeManagerService'][_0x37fed4(0x1bd)](_0x4fd37d,{'history':_0x341962,'collaboration':_0x76a993});}};re=nn([Ce(0x0,_0x16779c(_0x2160c5)),Ce(0x1,_0x397b9f),Ce(0x2,_0x16779c(_0x5efd77))],re);var rn=Object[_0xbf56d9(0x213)],on=(_0x585bdd,_0x4c2a00,_0x311b2b,_0x3eb848)=>{for(var _0x3079e5=_0x3eb848>0x1?void 0x0:_0x3eb848?rn(_0x4c2a00,_0x311b2b):_0x4c2a00,_0x39c513=_0x585bdd['length']-0x1,_0x3a5d1c;_0x39c513>=0x0;_0x39c513--)(_0x3a5d1c=_0x585bdd[_0x39c513])&&(_0x3079e5=_0x3a5d1c(_0x3079e5)||_0x3079e5);return _0x3079e5;},tt=(_0x24f004,_0x27c1bc)=>(_0x2b2889,_0x24eb80)=>_0x27c1bc(_0x2b2889,_0x24eb80,_0x24f004);let oe=class{constructor(_0x3edc99,_0x2b27ab){const _0x5585d1=_0xbf56d9;this['_injector']=_0x3edc99,this[_0x5585d1(0x307)]=_0x2b27ab;}[_0xbf56d9(0x25c)](_0x4a8c39){const _0x1ba7b7=_0xbf56d9;var _0x1c63b6;const _0x4a2ecd=this[_0x1ba7b7(0x1b4)]['get'](_0x3d52d7),_0x19c3a0=(_0x1c63b6=_0x4a2ecd['getDocRanges']())!=null?_0x1c63b6:[];if(_0x19c3a0[_0x1ba7b7(0x1b3)]===0x0)return;const _0x239ae8=_0x4a8c39[_0x1ba7b7(0x1c4)],_0x30a7ad=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x239ae8,'actions':null,'textRanges':_0x19c3a0}}],_0x1ae847=this[_0x1ba7b7(0x307)][_0x1ba7b7(0x2d9)](_0x4a8c39,_0x30a7ad);if(!_0x2206b8(_0x1ae847))throw _0x1ae847[_0x1ba7b7(0x33e)];const _0x567ba5=_0x1ae847[_0x1ba7b7(0x2b8)][0x0][_0x1ba7b7(0x257)][_0x1ba7b7(0x1f7)];Array[_0x1ba7b7(0x2ef)](_0x567ba5)&&_0x567ba5[_0x1ba7b7(0x1b3)]&&_0x4a2ecd[_0x1ba7b7(0x2ea)](_0x567ba5,{'unitId':_0x239ae8,'subUnitId':_0x239ae8},!0x1);}};oe=on([tt(0x0,_0x16779c(_0x2160c5)),tt(0x1,_0x397b9f)],oe);var an=Object[_0xbf56d9(0x213)],cn=(_0x32512c,_0x16c437,_0x2ba616,_0x23139e)=>{const _0x1f4a95=_0xbf56d9;for(var _0x47e1be=_0x23139e>0x1?void 0x0:_0x23139e?an(_0x16c437,_0x2ba616):_0x16c437,_0x5bc66c=_0x32512c[_0x1f4a95(0x1b3)]-0x1,_0x51b1ab;_0x5bc66c>=0x0;_0x5bc66c--)(_0x51b1ab=_0x32512c[_0x5bc66c])&&(_0x47e1be=_0x51b1ab(_0x47e1be)||_0x47e1be);return _0x47e1be;},U=(_0x499c93,_0x34f162)=>(_0x5e0fd8,_0x478298)=>_0x34f162(_0x5e0fd8,_0x478298,_0x499c93);let ae=class extends _0x4dafc5{constructor(_0x3dfe27,_0x1a9e3d,_0x1e189c,_0x1d4d5d,_0x27d175,_0x455ecc,_0x476421,_0x426353){const _0x290dab=_0xbf56d9;super(),_(this,_0x290dab(0x212),new _0x2b7b9e(_0x2b3aeb[_0x290dab(0x250)])),(this['_docStateChangeManagerService']=_0x3dfe27,this[_0x290dab(0x35f)]=_0x1a9e3d,this[_0x290dab(0x259)]=_0x1e189c,this[_0x290dab(0x1a7)]=_0x1d4d5d,this[_0x290dab(0x1f1)]=_0x27d175,this[_0x290dab(0x1d8)]=_0x455ecc,this[_0x290dab(0x1b7)]=_0x476421,this[_0x290dab(0x187)]=_0x426353,this[_0x290dab(0x23c)]());}[_0xbf56d9(0x23c)](){const _0x324f6c=_0xbf56d9;this[_0x324f6c(0x1ed)](this[_0x324f6c(0x35f)][_0x324f6c(0x27f)][_0x324f6c(0x22c)](_0x121934=>{const _0x1ed7a9=_0x324f6c,_0x3762e6=this[_0x1ed7a9(0x2b3)][_0x1ed7a9(0x323)][_0x1ed7a9(0x22c)](_0x366c91=>{const _0x3fa48f=_0x1ed7a9;if(_0x366c91==null)return;const {unitId:_0x56a69d,redoState:_0x54b764,commandId:_0x12cb8d}=_0x366c91;if(_0x56a69d!==_0x121934[_0x3fa48f(0x1c4)])return;const _0x21f5d8={'id':_0x12cb8d,'type':_0x3e7553['MUTATION'],'params':{'unitId':_0x56a69d,'actions':_0x54b764[_0x3fa48f(0x173)],'textRanges':null}};_0x121934['onLocalMutation'](_0x21f5d8);});if(_0x121934['disposeWithMe'](_0x3762e6),_0x121934 instanceof _0x5d0ee3){const _0x29f225={'onTransformIME':_0x2abb97=>this[_0x1ed7a9(0x259)][_0x1ed7a9(0x238)](_0x2abb97),'onTransformState':_0x582668=>this[_0x1ed7a9(0x1a7)]['transformStateCache'](_0x582668),'onTransformSelections':_0x2a8101=>this[_0x1ed7a9(0x1f1)][_0x1ed7a9(0x25c)](_0x2a8101),'onSyncEditingCollabCursor':_0x26be1c=>this[_0x1ed7a9(0x1d8)][_0x1ed7a9(0x2c2)](_0x26be1c),'onTransformRemoteChangesetByIMECache':_0x393771=>this[_0x1ed7a9(0x259)][_0x1ed7a9(0x179)](_0x393771),'onTransformRemoteChangesetByStateCache':_0x14dfdf=>this[_0x1ed7a9(0x1a7)][_0x1ed7a9(0x179)](_0x14dfdf)};_0x121934['addHandlerCallback'](_0x29f225);}}));}};ae=cn([U(0x0,_0x16779c(_0x5efd77)),U(0x1,_0x16779c(_0x4cee33)),U(0x2,_0x16779c(ne)),U(0x3,_0x16779c(re)),U(0x4,_0x16779c(oe)),U(0x5,_0x16779c(He)),U(0x6,_0x315c12),U(0x7,_0x16779c(_0xa7e18c))],ae);var ln=Object[_0xbf56d9(0x213)],_n=(_0x1208b3,_0x19b758,_0x20a5b2,_0x1ba5a5)=>{for(var _0x121cb0=_0x1ba5a5>0x1?void 0x0:_0x1ba5a5?ln(_0x19b758,_0x20a5b2):_0x19b758,_0x1950f4=_0x1208b3['length']-0x1,_0x5f2fcb;_0x1950f4>=0x0;_0x1950f4--)(_0x5f2fcb=_0x1208b3[_0x1950f4])&&(_0x121cb0=_0x5f2fcb(_0x121cb0)||_0x121cb0);return _0x121cb0;},Ee=(_0x1f8d12,_0x1fba0a)=>(_0x2f4453,_0x5b45ad)=>_0x1fba0a(_0x2f4453,_0x5b45ad,_0x1f8d12);let we=class extends _0x4dafc5{constructor(_0x472aaf,_0x2ee425,_0xb9f52d){const _0x130c3c=_0xbf56d9;super(),_(this,_0x130c3c(0x22a),new Map()),_(this,_0x130c3c(0x244),new Map()),_(this,_0x130c3c(0x352),!0x1),(this[_0x130c3c(0x1ad)]=_0x472aaf,this[_0x130c3c(0x264)]=_0x2ee425,this[_0x130c3c(0x373)]=_0xb9f52d);}['disableLocalCache'](){const _0xd7c204=_0xbf56d9;this[_0xd7c204(0x352)]=!0x0;}[_0xbf56d9(0x190)](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0xbf56d9(0x367)](){const _0x50392d=_0xbf56d9;this[_0x50392d(0x271)]()[_0x50392d(0x36e)](()=>super[_0x50392d(0x367)]());}async['loadOfflineData'](_0x4475de){const _0x181c88=_0xbf56d9;return this[_0x181c88(0x352)]?null:this[_0x181c88(0x264)][_0x181c88(0x301)](_0x2c4eb3(_0x4475de));}async[_0xbf56d9(0x31b)](_0x598fff,_0x24aee7){const _0x4d6ca7=_0xbf56d9;return!!this['_localStorageService'][_0x4d6ca7(0x1fb)](_0x598fff,_0x24aee7);}['updateOfflineData'](_0xeb10e,_0x5bfd5e,_0x532bc1,_0x20bd77){const _0x3c489b=_0xbf56d9,_0xdb4a83=this[_0x3c489b(0x373)][_0x3c489b(0x235)](_0xeb10e);this['_cachedData'][_0x3c489b(0x1ca)](_0xeb10e,{'unitID':_0xeb10e,'type':_0x5bfd5e,'awaitingChangeset':_0x532bc1,'mutations':_0x20bd77,'rev':_0xdb4a83}),this[_0x3c489b(0x244)][_0x3c489b(0x2ce)](_0xeb10e)||this[_0x3c489b(0x2de)](_0xeb10e);}[_0xbf56d9(0x2de)](_0x24bb08){const _0x39b340=_0xbf56d9,_0x11689e=this[_0x39b340(0x2c4)]();_0x11689e===0x0?this['_saveCache'](_0x24bb08):this[_0x39b340(0x244)][_0x39b340(0x1ca)](_0x24bb08,setTimeout(()=>this[_0x39b340(0x342)](_0x24bb08),_0x11689e));}[_0xbf56d9(0x2c4)](){const _0x159423=_0xbf56d9;var _0x594c74;return(_0x594c74=this['_configService'][_0x159423(0x174)](_0x194044))!=null?_0x594c74:_0x431abd;}['_saveCache'](_0x4c9b46){const _0x29d41d=_0xbf56d9,_0x1931a8=this['_saveTaskMap'][_0x29d41d(0x2d6)](_0x4c9b46);return _0x1931a8!==void 0x0&&window[_0x29d41d(0x2c7)](_0x1931a8),this['_localStorageService'][_0x29d41d(0x1fb)](_0x2c4eb3(_0x4c9b46),this[_0x29d41d(0x22a)][_0x29d41d(0x2d6)](_0x4c9b46))['then'](()=>this['_saveTaskMap']['delete'](_0x4c9b46));}async[_0xbf56d9(0x271)](){const _0x68fb07=_0xbf56d9,_0x398bfa=[];this[_0x68fb07(0x244)][_0x68fb07(0x19e)]((_0xe2e7dc,_0x57f8cc)=>{const _0x5e185f=_0x68fb07;window[_0x5e185f(0x2c7)](_0xe2e7dc),_0x398bfa[_0x5e185f(0x35b)](this[_0x5e185f(0x342)](_0x57f8cc)[_0x5e185f(0x36e)](()=>{const _0x3b750f=_0x5e185f;this[_0x3b750f(0x244)][_0x3b750f(0x285)](_0x57f8cc);}));}),await Promise[_0x68fb07(0x1a2)](_0x398bfa);}};we=_n([Ee(0x0,_0x357ecd),Ee(0x1,_0x4ae689),Ee(0x2,_0x16779c(_0x431c30))],we);class hn extends _0x3eca04{constructor(){const _0x3a6311=_0xbf56d9;super(),_(this,_0x3a6311(0x1e7)),this[_0x3a6311(0x1e7)]=_0x1ee098(window,_0x3a6311(0x1c9))['pipe'](_0x1d620b(this[_0x3a6311(0x309)]),_0x3a2abe(0x1),_0x49e00b(void 0x0));}['setParam'](_0x5612b2,_0x1b1128,_0x4a8515=!0x1){const _0x440708=_0xbf56d9,_0x104715=new URL(window[_0x440708(0x34d)][_0x440708(0x2b7)]);_0x104715[_0x440708(0x23f)][_0x440708(0x1ca)](_0x5612b2,_0x1b1128),_0x4a8515?window[_0x440708(0x18e)][_0x440708(0x229)]('','',_0x104715[_0x440708(0x20e)]()):window['history'][_0x440708(0x1de)]('','',_0x104715[_0x440708(0x20e)]());}[_0xbf56d9(0x294)](_0x566fab,_0x4c5473=!0x1){const _0x4f7978=_0xbf56d9,_0x15fc28=new URL(window['location'][_0x4f7978(0x2b7)]);_0x15fc28[_0x4f7978(0x23f)][_0x4f7978(0x285)](_0x566fab),_0x4c5473?window[_0x4f7978(0x18e)][_0x4f7978(0x229)]('','',_0x15fc28[_0x4f7978(0x20e)]()):window[_0x4f7978(0x18e)]['pushState']('','',_0x15fc28[_0x4f7978(0x20e)]());}[_0xbf56d9(0x2da)](_0x3626b2){const _0x77d058=_0xbf56d9;var _0x507760;return(_0x507760=new URL(window['location'][_0x77d058(0x2b7)])['searchParams'][_0x77d058(0x2d6)](_0x3626b2))!=null?_0x507760:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x18d225,_0x390fbc,_0x4bf0d5)=>_0x390fbc in _0x18d225?un(_0x18d225,_0x390fbc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bf0d5}):_0x18d225[_0x390fbc]=_0x4bf0d5,Sn=(_0x1a6aef,_0x23f43f,_0x11f76a,_0x4c1496)=>{const _0xf9e826=_0xbf56d9;for(var _0x23f30d=_0x4c1496>0x1?void 0x0:_0x4c1496?dn(_0x23f43f,_0x11f76a):_0x23f43f,_0x4a7c7a=_0x1a6aef[_0xf9e826(0x1b3)]-0x1,_0x28a4a1;_0x4a7c7a>=0x0;_0x4a7c7a--)(_0x28a4a1=_0x1a6aef[_0x4a7c7a])&&(_0x23f30d=_0x28a4a1(_0x23f30d)||_0x23f30d);return _0x23f30d;},Oe=(_0x188bb0,_0x11d120)=>(_0x2834b9,_0x512ab7)=>_0x11d120(_0x2834b9,_0x512ab7,_0x188bb0),mn=(_0xaca83d,_0x240c58,_0x2900ee)=>fn(_0xaca83d,_0x240c58+'',_0x2900ee);const gn=_0xbf56d9(0x353);let Ae=class extends _0x5d2a55{constructor(_0x1c93c0=et,_0x42b331,_0x2894cb,_0x1e0a4b){const _0x4035f9=_0xbf56d9;super(),this[_0x4035f9(0x300)]=_0x1c93c0,this[_0x4035f9(0x2fa)]=_0x42b331,this['_injector']=_0x2894cb,this[_0x4035f9(0x1ad)]=_0x1e0a4b;const {..._0x468fb7}=_0x3df46a({},et,this['_config']);this[_0x4035f9(0x1ad)]['setConfig'](Zi,_0x468fb7);}[_0xbf56d9(0x20a)](){const _0xc1e530=_0xbf56d9;this['_registerDependencies'](),this[_0xc1e530(0x28e)]();}['onRendered'](){const _0x55853a=_0xbf56d9;this[_0x55853a(0x2ae)]();}['_registerDependencies'](){const _0x290471=_0xbf56d9;var _0x5a96e9;const _0xd32431=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x32070e,{'useClass':_0x178037}],[_0x1d695f,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x2a57df(this[_0x290471(0x1b4)],_0x19c487(_0xd32431,(_0x5a96e9=this[_0x290471(0x300)])==null?void 0x0:_0x5a96e9[_0x290471(0x32f)]));}[_0xbf56d9(0x2ae)](){const _0x1ad0aa=_0xbf56d9;this['disposeWithMe'](this[_0x1ad0aa(0x2fa)]['registerRenderModule'](_0x4585f4[_0x1ad0aa(0x2ad)],[Pe])),this[_0x1ad0aa(0x1ed)](this[_0x1ad0aa(0x2fa)][_0x1ad0aa(0x1ce)](_0x4585f4[_0x1ad0aa(0x1a4)],[Le]));}[_0xbf56d9(0x28e)](){const _0x50400a=_0xbf56d9;_0x1186de(this[_0x50400a(0x1b4)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0xbf56d9(0x1ef),gn),Ae=Sn([_0x53947a(_0x1cdf04),Oe(0x1,_0x4a97b5),Oe(0x2,_0x16779c(_0x2160c5)),Oe(0x3,_0x357ecd)],Ae);var In=Object[_0xbf56d9(0x213)],vn=(_0x3b532c,_0x4f6e14,_0x598d47,_0x262bdd)=>{const _0x105236=_0xbf56d9;for(var _0x17a974=_0x262bdd>0x1?void 0x0:_0x262bdd?In(_0x4f6e14,_0x598d47):_0x4f6e14,_0x2a8c67=_0x3b532c[_0x105236(0x1b3)]-0x1,_0x1c1589;_0x2a8c67>=0x0;_0x2a8c67--)(_0x1c1589=_0x3b532c[_0x2a8c67])&&(_0x17a974=_0x1c1589(_0x17a974)||_0x17a974);return _0x17a974;},K=(_0x55dc35,_0x9f1760)=>(_0x11b0ab,_0x368cfa)=>_0x9f1760(_0x11b0ab,_0x368cfa,_0x55dc35);let st=class extends _0x2220ba{constructor(_0x5047ca,_0x8acfd8,_0x19435f,_0x300bb6,_0x45199f){super(_0x5047ca,_0x8acfd8,_0x19435f,_0x300bb6,_0x45199f);}async['createSocket'](_0x24f52c){const _0x2b76d8=_0xbf56d9,_0x2f5b8d=await this[_0x2b76d8(0x19a)](),_0x4be799=this[_0x2b76d8(0x1f5)](_0x24f52c,_0x2f5b8d);return this[_0x2b76d8(0x1fd)](_0x4be799);}[_0xbf56d9(0x1f5)](_0x1d82ba,_0xb5bb7){const _0x1dec17=_0xbf56d9,_0x1f4a68=typeof window>'u'?new URL(_0x1d82ba):new URL(_0x1d82ba,window[_0x1dec17(0x34d)]['origin']);_0x1f4a68[_0x1dec17(0x23f)][_0x1dec17(0x1ca)](_0x1dec17(0x298),_0xb5bb7);const _0x63cda1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1dec17(0x34d)][_0x1dec17(0x1ec)]);return _0x63cda1['get'](_0x1dec17(0x21b))&&_0x1f4a68['searchParams']['set']('runId',_0x63cda1['get'](_0x1dec17(0x21b))),_0x1f4a68[_0x1dec17(0x20e)]();}async[_0xbf56d9(0x19a)](){const _0x53a1a8=_0xbf56d9;var _0x3e5037,_0x33d244,_0x3a035f;const _0x23deac=this[_0x53a1a8(0x1ad)][_0x53a1a8(0x174)](_0x46f1b2),_0x132aae=(_0x3e5037=_0x23deac==null?void 0x0:_0x23deac['wsSessionTicketUrl'])!=null?_0x3e5037:_0xbc5caa;return(_0x3a035f=(_0x33d244=(await this['_httpService']['get'](_0x132aae,{'headers':{'Content-Type':_0x53a1a8(0x292)}}))[_0x53a1a8(0x199)])==null?void 0x0:_0x33d244[_0x53a1a8(0x1eb)])!=null?_0x3a035f:'';}};st=vn([K(0x0,_0x16779c(_0x2160c5)),K(0x1,_0x16779c(_0x5b07a2)),K(0x2,_0x357ecd),K(0x3,_0x554739),K(0x4,_0xedab2f)],st);const it=0x7530,nt=_0xbf56d9(0x252);class jn extends _0x4dafc5{constructor(){const _0x58048c=_0xbf56d9;super(),_(this,_0x58048c(0x193),_0x2c8a82()),_(this,_0x58048c(0x267),new Set()),_(this,_0x58048c(0x1bb),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x58048c(0x19f),new Map()),_(this,_0x58048c(0x258),new Map()),this[_0x58048c(0x32b)]();}['dispose'](){const _0x243a99=_0xbf56d9;super[_0x243a99(0x367)](),this['_clearOtherTimers'][_0x243a99(0x19e)]((_0x45a549,_0x40bcaf)=>this[_0x243a99(0x208)](_0x40bcaf)),this['_heartbeatTimer']&&window[_0x243a99(0x23e)](this[_0x243a99(0x2a9)]);}[_0xbf56d9(0x230)](_0x5dc6a0){const _0x202bd5=_0xbf56d9;return this[_0x202bd5(0x304)](_0x5dc6a0)[_0x202bd5(0x20b)](_0x54f7bb());}[_0xbf56d9(0x2fe)](_0x1903be){const _0x1bdd68=_0xbf56d9;this['_selfUnitIDs'][_0x1bdd68(0x19b)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x1bdd68(0x237)](_0x1903be),this[_0x1bdd68(0x326)]({'type':0x0,'memberID':this[_0x1bdd68(0x193)],'unitIDs':[_0x1903be],'isForwarded':!0x1});}[_0xbf56d9(0x1dc)](_0x468f4e){const _0x21813c=_0xbf56d9;this[_0x21813c(0x267)]['delete'](_0x468f4e),this[_0x21813c(0x267)][_0x21813c(0x19b)]===0x0&&this[_0x21813c(0x2a9)]&&window[_0x21813c(0x23e)](this['_heartbeatTimer']);}[_0xbf56d9(0x32b)](){const _0x361e17=_0xbf56d9;this[_0x361e17(0x1ed)](_0x11b0ff(_0x1ee098(window,_0x361e17(0x16d))[_0x361e17(0x22c)](_0x4ad87e=>{const _0x4e3451=_0x361e17;if(_0x4ad87e[_0x4e3451(0x297)]!==nt||!_0x4ad87e[_0x4e3451(0x2c0)])return;const _0x46b974=JSON[_0x4e3451(0x35c)](_0x4ad87e['newValue']);this['_handleEvent'](_0x46b974);}))),window['addEventListener'](_0x361e17(0x172),()=>this['_send']({'type':0x1,'memberID':this[_0x361e17(0x193)],'unitIDs':Array[_0x361e17(0x30f)](this[_0x361e17(0x267)])}));}[_0xbf56d9(0x239)](_0x4157a8){const _0x1c9d1d=_0xbf56d9;switch(_0x4157a8['type']){case 0x0:this['_handleJoinEvent'](_0x4157a8);break;case 0x1:this[_0x1c9d1d(0x30e)](_0x4157a8);break;case 0x2:this[_0x1c9d1d(0x32e)](_0x4157a8);break;}}[_0xbf56d9(0x1ff)](_0x2024ab){const _0x989a83=_0xbf56d9,{unitIDs:_0x3d1368,memberID:_0x4de0cc,isForwarded:_0x433f32}=_0x2024ab;_0x3d1368[_0x989a83(0x19e)](_0x257faf=>{const _0x4fdcaa=_0x989a83;if(!_0x433f32&&this[_0x4fdcaa(0x1bb)][_0x4fdcaa(0x2ce)](_0x257faf)&&this[_0x4fdcaa(0x304)](_0x257faf)[_0x4fdcaa(0x28f)](_0x5c83ff[_0x4fdcaa(0x1c7)]),!this[_0x4fdcaa(0x1bb)]['has'](_0x257faf)||!this['_unitOnClients'][_0x4fdcaa(0x2d6)](_0x257faf)[_0x4fdcaa(0x2ce)](_0x4de0cc)){const _0x5a6876=this[_0x4fdcaa(0x1bb)]['get'](_0x257faf)||new Set();_0x5a6876[_0x4fdcaa(0x237)](_0x4de0cc),this['_unitOnClients'][_0x4fdcaa(0x1ca)](_0x257faf,_0x5a6876),this[_0x4fdcaa(0x28c)](_0x4de0cc);}}),_0x433f32||this['_send']({'type':0x0,'memberID':this[_0x989a83(0x193)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x21f51d){const _0x5e758b=_0xbf56d9;this[_0x5e758b(0x208)](_0x21f51d);const _0x2867fc=window[_0x5e758b(0x1d4)](()=>{const _0x1c042e=_0x5e758b;this['_unitOnClients'][_0x1c042e(0x19e)](_0x258b9a=>{const _0x4e77a3=_0x1c042e;_0x258b9a[_0x4e77a3(0x285)](_0x21f51d);});},it*0x2);this['_clearOtherTimers'][_0x5e758b(0x1ca)](_0x21f51d,_0x2867fc);}[_0xbf56d9(0x208)](_0x26688d){const _0x306e1c=_0xbf56d9;if(this[_0x306e1c(0x19f)][_0x306e1c(0x2ce)](_0x26688d)){const _0x22f16f=this['_clearOtherTimers'][_0x306e1c(0x2d6)](_0x26688d);_0x22f16f&&window[_0x306e1c(0x2c7)](_0x22f16f),this['_clearOtherTimers']['set'](_0x26688d,null);}}['_handleLeaveEvent'](_0x54510e){const _0x51a5a2=_0xbf56d9,{memberID:_0x31b78e,unitIDs:_0x54f86e}=_0x54510e;_0x54f86e[_0x51a5a2(0x19e)](_0x11c041=>{const _0x50e764=_0x51a5a2;var _0x1a9372;const _0x17e027=this['_unitOnClients'][_0x50e764(0x2d6)](_0x11c041);_0x17e027&&(_0x17e027['delete'](_0x31b78e),(_0x1a9372=this['_ensureSubject'](_0x11c041))==null||_0x1a9372[_0x50e764(0x28f)](_0x17e027['size']===0x0?_0x5c83ff[_0x50e764(0x322)]:_0x5c83ff[_0x50e764(0x1c7)]));}),this[_0x51a5a2(0x208)](_0x31b78e);}[_0xbf56d9(0x32e)](_0x30194d){const _0x2136f6=_0xbf56d9;this[_0x2136f6(0x28c)](_0x30194d[_0x2136f6(0x34c)]);}[_0xbf56d9(0x326)](_0x19c82b){const _0x34a8d4=_0xbf56d9;localStorage[_0x34a8d4(0x1fb)](nt,JSON[_0x34a8d4(0x372)](_0x19c82b));}[_0xbf56d9(0x321)](){const _0x2ab80a=_0xbf56d9;this[_0x2ab80a(0x2a9)]=window[_0x2ab80a(0x2c8)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},it);}[_0xbf56d9(0x304)](_0x56eb12){const _0x56227f=_0xbf56d9;return this[_0x56227f(0x258)]['has'](_0x56eb12)||this['_unitStatus'][_0x56227f(0x1ca)](_0x56eb12,new _0x2b7b9e(_0x5c83ff['NO_OTHER_CLIENTS_EDITING'])),this[_0x56227f(0x258)]['get'](_0x56eb12);}}var Mt=(_0x4853d7=>(_0x4853d7[_0x4853d7[_0xbf56d9(0x335)]=0x0]=_0xbf56d9(0x335),_0x4853d7[_0x4853d7['OK']=0x1]='OK',_0x4853d7[_0x4853d7[_0xbf56d9(0x2df)]=0x2]=_0xbf56d9(0x2df),_0x4853d7[_0x4853d7[_0xbf56d9(0x277)]=0x3]=_0xbf56d9(0x277),_0x4853d7[_0x4853d7[_0xbf56d9(0x2cc)]=0x4]=_0xbf56d9(0x2cc),_0x4853d7[_0x4853d7[_0xbf56d9(0x281)]=0x5]=_0xbf56d9(0x281),_0x4853d7[_0x4853d7['ALREADY_EXISTS']=0x6]=_0xbf56d9(0x278),_0x4853d7[_0x4853d7['INVALID_ARGUMENT']=0x7]=_0xbf56d9(0x2e3),_0x4853d7[_0x4853d7[_0xbf56d9(0x375)]=0x8]=_0xbf56d9(0x375),_0x4853d7[_0x4853d7[_0xbf56d9(0x329)]=0x9]=_0xbf56d9(0x329),_0x4853d7[_0x4853d7[_0xbf56d9(0x30c)]=0xa]=_0xbf56d9(0x30c),_0x4853d7[_0x4853d7[_0xbf56d9(0x2d3)]=0x1389]=_0xbf56d9(0x2d3),_0x4853d7[_0x4853d7[_0xbf56d9(0x1e3)]=0x1771]=_0xbf56d9(0x1e3),_0x4853d7[_0x4853d7[_0xbf56d9(0x202)]=0x1772]=_0xbf56d9(0x202),_0x4853d7[_0x4853d7['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xbf56d9(0x333),_0x4853d7[_0x4853d7[_0xbf56d9(0x1d1)]=0x1b59]=_0xbf56d9(0x1d1),_0x4853d7[_0x4853d7['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xbf56d9(0x30b),_0x4853d7[_0x4853d7[_0xbf56d9(0x171)]=0x1b5b]=_0xbf56d9(0x171),_0x4853d7[_0x4853d7['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xbf56d9(0x1e8),_0x4853d7[_0x4853d7[_0xbf56d9(0x31d)]=0x1b5d]=_0xbf56d9(0x31d),_0x4853d7[_0x4853d7[_0xbf56d9(0x251)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4853d7[_0x4853d7[_0xbf56d9(0x2bd)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4853d7[_0x4853d7['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xbf56d9(0x21e),_0x4853d7[_0x4853d7[_0xbf56d9(0x1ba)]=0x232b]=_0xbf56d9(0x1ba),_0x4853d7[_0x4853d7[_0xbf56d9(0x1c6)]=0x232c]=_0xbf56d9(0x1c6),_0x4853d7[_0x4853d7[_0xbf56d9(0x2a0)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4853d7[_0x4853d7['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xbf56d9(0x254),_0x4853d7[_0x4853d7['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xbf56d9(0x1b2),_0x4853d7[_0x4853d7[_0xbf56d9(0x26d)]=0x2713]=_0xbf56d9(0x26d),_0x4853d7[_0x4853d7['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xbf56d9(0x2dc),_0x4853d7[_0x4853d7['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xbf56d9(0x2d4),_0x4853d7[_0x4853d7[_0xbf56d9(0x27b)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4853d7[_0x4853d7[_0xbf56d9(0x35a)]=0x271c]=_0xbf56d9(0x35a),_0x4853d7[_0x4853d7[_0xbf56d9(0x17a)]=0x271d]=_0xbf56d9(0x17a),_0x4853d7[_0x4853d7['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xbf56d9(0x181),_0x4853d7[_0x4853d7[_0xbf56d9(0x194)]=0x271f]=_0xbf56d9(0x194),_0x4853d7[_0x4853d7[_0xbf56d9(0x170)]=0x2af9]=_0xbf56d9(0x170),_0x4853d7[_0x4853d7[_0xbf56d9(0x2b1)]=0x2ee1]=_0xbf56d9(0x2b1),_0x4853d7[_0x4853d7[_0xbf56d9(0x175)]=0x2ee2]=_0xbf56d9(0x175),_0x4853d7[_0x4853d7[_0xbf56d9(0x1ae)]=0x2ee3]=_0xbf56d9(0x1ae),_0x4853d7[_0x4853d7[_0xbf56d9(0x308)]=0x2ee4]=_0xbf56d9(0x308),_0x4853d7[_0x4853d7[_0xbf56d9(0x32a)]=0x2ee5]=_0xbf56d9(0x32a),_0x4853d7[_0x4853d7['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xbf56d9(0x26c),_0x4853d7[_0x4853d7[_0xbf56d9(0x1af)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4853d7[_0x4853d7[_0xbf56d9(0x272)]=0x32cb]=_0xbf56d9(0x272),_0x4853d7[_0x4853d7[_0xbf56d9(0x2b9)]=-0x1]=_0xbf56d9(0x2b9),_0x4853d7))(Mt||{}),pn=Object[_0xbf56d9(0x213)],Cn=(_0x2321b6,_0x1126fb,_0x106bf2,_0x44f0f0)=>{const _0x32f2ea=_0xbf56d9;for(var _0x389d95=_0x44f0f0>0x1?void 0x0:_0x44f0f0?pn(_0x1126fb,_0x106bf2):_0x1126fb,_0x2b16c0=_0x2321b6[_0x32f2ea(0x1b3)]-0x1,_0x1d5d80;_0x2b16c0>=0x0;_0x2b16c0--)(_0x1d5d80=_0x2321b6[_0x2b16c0])&&(_0x389d95=_0x1d5d80(_0x389d95)||_0x389d95);return _0x389d95;},be=(_0x21ad35,_0x11fdee)=>(_0x2a2307,_0x19aec6)=>_0x11fdee(_0x2a2307,_0x19aec6,_0x21ad35);let rt=class extends _0x4dafc5{constructor(_0x454f91,_0x5b4d6c,_0x3ce23a){const _0x212845=_0xbf56d9;super(),this['_instanceService']=_0x454f91,this['_httpService']=_0x5b4d6c,this[_0x212845(0x1ad)]=_0x3ce23a;}async[_0xbf56d9(0x1bc)](_0x50d4c1,_0x430c14,_0x389bfb,..._0x2968b0){const _0x1bb189=_0xbf56d9;var _0x27cb7a,_0x49ee04,_0x29c943,_0x78744e;const _0x4f2140=this[_0x1bb189(0x339)]['getFocusedUnit']();if(!_0x4f2140)throw new Error(_0x1bb189(0x2e1));const _0xf03868=((_0x27cb7a=this['_configService'][_0x1bb189(0x174)](_0x5c119d))!=null?_0x27cb7a:_0x27c442)+'/'+_0x50d4c1+_0x1bb189(0x2ee)+_0x430c14,_0x1c42a7=new URL(window[_0x1bb189(0x34d)][_0x1bb189(0x2b7)]),_0x139198={'scriptId':_0x50d4c1,'runId':(_0x49ee04=_0x1c42a7[_0x1bb189(0x23f)][_0x1bb189(0x2d6)](_0x1bb189(0x21b)))!=null?_0x49ee04:'','function':_0x430c14,'unitId':_0x4f2140['getUnitId'](),'argsOfFunction':JSON[_0x1bb189(0x372)](_0x2968b0),'invokeId':(_0x29c943=_0x389bfb[_0x1bb189(0x2ec)])!=null?_0x29c943:'','executionId':(_0x78744e=_0x389bfb[_0x1bb189(0x2d2)])!=null?_0x78744e:''};try{const _0x1f012f=await this['_httpService'][_0x1bb189(0x20d)](_0xf03868,{'body':_0x139198});return _0x1f012f[_0x1bb189(0x199)][_0x1bb189(0x33e)]&&_0x1f012f['body'][_0x1bb189(0x33e)][_0x1bb189(0x2b2)]!==Mt['OK']?'Failed':_0x1f012f['body'][_0x1bb189(0x2c9)];}catch{return _0x1bb189(0x29f);}}};rt=Cn([be(0x0,_0x2bfab2),be(0x1,_0x16779c(_0x5b07a2)),be(0x2,_0x357ecd)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x3ece3f=_0x162f;function _0x162f(_0x42cea5,_0x2d56e7){const _0x2357a9=_0x2357();return _0x162f=function(_0x162f07,_0x30b12e){_0x162f07=_0x162f07-0xe5;let _0x321f1a=_0x2357a9[_0x162f07];return _0x321f1a;},_0x162f(_0x42cea5,_0x2d56e7);}function _0x2357(){const _0x3b1e01=['Synced','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','938kiXjHj','Click\x20to\x20Reconnect','5634KfRrMT','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.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','3vxxNZH','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Edit\x20conflicts','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','623437jjwzmw','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.','Syncing\x20server\x20data...','8hxtaYx','Authentication\x20Error','2022188bQzhOx','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','165660pmMXxf','3090051LosQjl','882076aTbadm','Collaboration\x20Conflict','Local\x20file','1058025YrwpMF'];_0x2357=function(){return _0x3b1e01;};return _0x2357();}(function(_0x329c92,_0xf34224){const _0x2f8bc4=_0x162f,_0x135b22=_0x329c92();while(!![]){try{const _0x5db071=-parseInt(_0x2f8bc4(0xf6))/0x1+parseInt(_0x2f8bc4(0xe6))/0x2+parseInt(_0x2f8bc4(0xf2))/0x3*(parseInt(_0x2f8bc4(0xfb))/0x4)+parseInt(_0x2f8bc4(0xe9))/0x5+parseInt(_0x2f8bc4(0xee))/0x6*(parseInt(_0x2f8bc4(0xec))/0x7)+-parseInt(_0x2f8bc4(0xf9))/0x8*(parseInt(_0x2f8bc4(0xe5))/0x9)+parseInt(_0x2f8bc4(0xfe))/0xa;if(_0x5db071===_0xf34224)break;else _0x135b22['push'](_0x135b22['shift']());}catch(_0x25d193){_0x135b22['push'](_0x135b22['shift']());}}}(_0x2357,0x517ee));const e={'collab-client':{'tooltip':{'reconnect':_0x3ece3f(0xed)}},'collabStatus':{'fetchMiss':_0x3ece3f(0xf8),'conflict':_0x3ece3f(0xf4),'notCollab':_0x3ece3f(0xe8),'synced':_0x3ece3f(0xea),'syncing':'Syncing...','offline':_0x3ece3f(0xfd)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x3ece3f(0xeb),'room-full':_0x3ece3f(0xf1),'collaboration-timeout':_0x3ece3f(0xf5)},'conflict':{'title':_0x3ece3f(0xe7),'content':_0x3ece3f(0xf7)},'permission':{'title':_0x3ece3f(0xfa),'content':_0x3ece3f(0xf3)},'collaboration':{'single-unit':{'warning':_0x3ece3f(0xf0)},'closeRoom':_0x3ece3f(0xef)},'auth':{'needGotoLoginAlert':_0x3ece3f(0xfc)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3079(_0x33de8c,_0x115d22){const _0xb8c706=_0xb8c7();return _0x3079=function(_0x307975,_0x4aa6fe){_0x307975=_0x307975-0x1a6;let _0x4bfaa6=_0xb8c706[_0x307975];return _0x4bfaa6;},_0x3079(_0x33de8c,_0x115d22);}const _0x6a6361=_0x3079;(function(_0x537964,_0x8d81a5){const _0x55c1a4=_0x3079,_0xae36d3=_0x537964();while(!![]){try{const _0x155f64=parseInt(_0x55c1a4(0x1af))/0x1+parseInt(_0x55c1a4(0x1a6))/0x2*(-parseInt(_0x55c1a4(0x1bb))/0x3)+parseInt(_0x55c1a4(0x1bd))/0x4*(-parseInt(_0x55c1a4(0x1be))/0x5)+parseInt(_0x55c1a4(0x1b0))/0x6*(parseInt(_0x55c1a4(0x1b1))/0x7)+-parseInt(_0x55c1a4(0x1b3))/0x8+parseInt(_0x55c1a4(0x1a7))/0x9+parseInt(_0x55c1a4(0x1a9))/0xa;if(_0x155f64===_0x8d81a5)break;else _0xae36d3['push'](_0xae36d3['shift']());}catch(_0x3bd8bf){_0xae36d3['push'](_0xae36d3['shift']());}}}(_0xb8c7,0x68074));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x6a6361(0x1ab),'conflict':_0x6a6361(0x1b8),'notCollab':_0x6a6361(0x1a8),'synced':_0x6a6361(0x1b9),'syncing':_0x6a6361(0x1ac),'offline':_0x6a6361(0x1b2)},'session':{'connection-failed':_0x6a6361(0x1aa),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x6a6361(0x1ad),'collaboration-timeout':_0x6a6361(0x1ae)},'conflict':{'title':'تداخل\x20همکاری','content':_0x6a6361(0x1ba)},'permission':{'title':_0x6a6361(0x1bc),'content':_0x6a6361(0x1b4)},'collaboration':{'single-unit':{'warning':_0x6a6361(0x1b7)},'closeRoom':_0x6a6361(0x1b6)},'auth':{'needGotoLoginAlert':_0x6a6361(0x1b5)}};function _0xb8c7(){const _0x55dfd0=['3XBDldb','خطای\x20اعتبارسنجی','2797640jGZjuc','5NoHsWs','1013774EkQdZV','7218693tKNDYj','پرونده\x20محلی','4380310tSOFsW','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','در\x20حال\x20همگام\x20سازی...','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','848960TDwIpg','6CKcVBm','1309406VEdvkO','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','5149832CXUvGO','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','تداخل\x20ویرایش','همگام\x20سازی','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'];_0xb8c7=function(){return _0x55dfd0;};return _0xb8c7();}export{o as default};
|