@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506041607 → 0.8.0
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/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1ff3f4=_0x5129;(function(_0x4a7c9c,_0x547511){const _0xa2a36f=_0x5129,_0x6608f2=_0x4a7c9c();while(!![]){try{const _0x42a765=-parseInt(_0xa2a36f(0x217))/0x1+parseInt(_0xa2a36f(0x2dd))/0x2*(parseInt(_0xa2a36f(0x260))/0x3)+-parseInt(_0xa2a36f(0x1f5))/0x4+-parseInt(_0xa2a36f(0x328))/0x5+-parseInt(_0xa2a36f(0x1f6))/0x6*(parseInt(_0xa2a36f(0x1d7))/0x7)+parseInt(_0xa2a36f(0x213))/0x8+-parseInt(_0xa2a36f(0x221))/0x9*(-parseInt(_0xa2a36f(0x367))/0xa);if(_0x42a765===_0x547511)break;else _0x6608f2['push'](_0x6608f2['shift']());}catch(_0x521bb9){_0x6608f2['push'](_0x6608f2['shift']());}}}(_0x3ed2,0x8dba8));var $t=Object[_0x1ff3f4(0x29d)],xt=(_0x4dade3,_0x5d6952,_0x4ec177)=>_0x5d6952 in _0x4dade3?$t(_0x4dade3,_0x5d6952,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ec177}):_0x4dade3[_0x5d6952]=_0x4ec177,_=(_0x434ccd,_0x5a007e,_0x36443c)=>xt(_0x434ccd,typeof _0x5a007e!=_0x1ff3f4(0x2e8)?_0x5a007e+'':_0x5a007e,_0x36443c);import{MemberService as _0x1fda83,SessionStatus as _0x53037b,CollaborationSessionService as _0x57a0f6,CollaborationStatus as _0x5c1fc0,CollaborationController as _0x9d4199,ILocalCacheService as _0x18ecc1,CollaborationUIEventService as _0x11921d,CollaborationUIEventId as _0x5ae8b2,DataLoaderService as _0x54edff,DocCollaborationEntity as _0x35ee5f,getLocalCacheKey as _0x5387ff,LOCAL_CACHE_INTERVAL as _0x116b50,LOCAL_CACHE_INTERVAL_KEY as _0x2a2110,UniverCollaborationClientPlugin as _0x13d27c,CollaborationSocketService as _0x5a79c8,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5a0bab,DEFAULT_WS_SESSION_TICKET_URL as _0xfafd08,UnitStatus as _0x4c5026,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x55adaf,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x39831}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2941d4,Disposable as _0x55b0eb,DOC_RANGE_TYPE as _0x51be35,Inject as _0x46eb60,Injector as _0x425022,IUniverInstanceService as _0x2fc716,ICommandService as _0x5e2d3a,debounce as _0x24f6a5,Rectangle as _0x537971,DisposableCollection as _0x110401,toDisposable as _0x29b7c8,UniverInstanceType as _0x1d29a4,Tools as _0x31160e,COLORS as _0x2ffc78,ColorKit as _0x227d20,ThemeService as _0xe49e65,fromEventSubject as _0x22d8e0,LocaleService as _0x3ec261,createIdentifier as _0x32d641,ILogService as _0x15d4ae,Optional as _0x27ea2e,Workbook as _0x36c131,CommandType as _0x3999c4,IConfigService as _0x15fb96,ILocalStorageService as _0x5edec2,DependentOn as _0x29583c,Plugin as _0x3988b6,merge as _0x937390,registerDependencies as _0x37d4ba,mergeOverrideWithDependencies as _0xebd679,touchDependencies as _0x27e255,generateRandomId as _0x22ea17}from'@univerjs/core';import{Shape as _0x63fadb,Rect as _0x4b77b9,getColor as _0x4185e7,RegularPolygon as _0x25839d,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x6d39fa,Vector2 as _0x554577,SHEET_VIEWPORT_KEY as _0x40207b,IRenderManagerService as _0xfbf822}from'@univerjs/engine-render';import{ISocketService as _0x57d30e,WebSocketService as _0x12ec2f,HTTPService as _0x4d79f7}from'@univerjs/network';function _0x3ed2(){const _0xed5d38=['UNDEFINED','clearTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','_initStatusComponent','Error','_online','LICENSE_DISTRO_REJECTED','idSuffix','result','_hideTimer','_cursor','requireSession','createSocket','clearInterval','syncEditingCollabCursor','_handleEvent','FETCH_MISS','_colorIndex','onLocalMutation','values','sheetId','_removeClearOtherTimer','_updateURLWithCurrentState','yellow.400','assign','FromArray','MOBILE_HAS_BEEN_BOUND','setTimeout','_onCursorDelete','color','_range','_instanceService','textRanges','min','_initDependencies','getUnhiddenWorksheets','_cursors','_setupSubUnitSync','transformRemoteChangeset','green.600','_startDocCollabCursor','_saveCache','row','getSkeleton','collabCursorState$','setItem','onRendered','getActiveRange','YUUMI_UNABLE_LOAD_URL','_transformPreviousActiveRange','selection','UNIVER_DOC','enableLocalCache','doc.mutation.rich-text-editing','1997426ZakWeQ','onTransformChange$','getOwnPropertySymbols','NOT_FOUND','USER_NOT_INVITED_CODE','_handleLeaveEvent','dispose$','runOnServer','loadUnit','AWAITING_WITH_PENDING','onPointerMove$','symbol','has','_session','complete','APPLY_NON_SEQUENTIAL_REVISION','_document','getItem','_collabSessionService','replace','_disabled','_scheduleHeartbeat','off-line-icon_clip0_910_343','YUUMI_NO_CUBOID_FOR_QUESTION','length','key','collaboration.closeRoom','includes','then','set','ticket','forEach','editingUnit','reconnect','split','undoState','_scene','_unitStatus','colorChannel1','measureText','MUTATION','unitID','displayName','_docSyncEditingCollabCursorService','transformSelections','OTHER_CLIENT_EDITING','MoveRangeCommandId','m1Prime','setActiveRange','icon','max','_status$','getValue','collaboration-client-ui.config','_localeService','range','href','get','ACTIVE_UNIT_EVENT_CHANNEL','0\x200\x2016\x2016','from','_scheduleClearOtherTimer','_lastPointer','parse','dispose','indexOf','onMouseMove','addObjects','toRgbString','attrs','onPointerEnter$','rgba(255,\x20255,\x20255,\x200.01)','cursorInfo$','prototype','apply','5494670ikkWxG','APPLY_REVISION_CONFILICT','_messageService','session.connection-failed','asObservable','SUBMIT_CHANGESET_TIMEOUT','getAncestorScale','runId','getUnitId','RECT','disposeUnit','getFocusedUnit','_transformHistoryAndStateStack','_memberService','getUnitStatus$','next','hide','OTHER_CLIENTS_EDITING','YUUMI_RATE_OVER_LIMIT','currentTheme$','string','_drawTextRange','column','_config','setShapeProps','SOCKET_FAILED_RETRY','_commandService','RemoveColCommandId','UniverIcon','height','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','fillText','UNAUTHENTICATED','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','CONFLICT','m2Prime','DeleteRangeMoveUpCommandId','getUniverSheetInstance','_name','push','collabStatus.offline','current','getCurrentUnitForType','_handleHeartbeatEvent','_transformService','origin','getTypeOfUnitDisposed$','_roomMembers$','top','getMember','_backgroundColor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','assignAColorForMemberID','VIEW_MAIN','_onCursorUpdate','children','_configService','_toggleOffline','path','map','getTypeOfUnitAdded$','svg','_logService','14827340FRoUMn','_renderManagerService','INVITE_CODE_REQUIRED','_updateLocalCursor','entries','_setupBeforeClosingHandler','deepClone','currentColor','SNAPSHOT_HAS_BEEN_REMOVED','_collaborationUIEventService','saveImage','_univerInstanceService','text','drawWith','getStateCache','NO_OTHER_CLIENTS_EDITING','_context','INVITE_CODE_HAS_BEEN_UES','YUUMI_URL_COL_OUT_OF_RANGE','_injector','registerRefRange','_eventUnsubscribe','_handleHover','find','trim','generateRandomId','purple.300','InsertRangeMoveRightCommandId','sessionTicket','concat','skeleton','engine','ALREADY_EXISTS','APPLY_DUPLICATED','EMAIL_HAS_BEEN_BOUND','[CollaborationDataLoaderController]','exhaustSavingTask','labelPosition','_getSheetObject','ENSURE_SNAPSHOT_EXECUTION','lineTo','onCommandExecuted','application/json','removeParam','getRangePointData','setUndoRedoMutationParamsCache','_collaborationController','send','unitId','getDocRanges','location','_getMergeRange','init','uni.network.url-service','black','InsertRangeMoveDownCommandId','APPLY_REJECT','subscribe','executeCommand','NOT_COLLAB','saveTaskMap','_uiPartsService','div','white','isEditing','getParam','Unknown\x20user','all','contains','on-line-icon_clip0_910_349','_updateSubUnitFromURLParams','translate(.97)','params','defIds','pipe','_docStateChangeManagerService','function','setParam','_textBubble','_color','mask','add','_updateCollabCursors','arc','_drawRectRange','roomMembers$','getCollabEntity$','restore','addHandlerCallback','none','_getScale','pushState','univerjs-icon\x20univerjs-icon-','UPDATE_CURSOR','_init','HEADER_MENU','0\x200\x2017\x2016','getViewport','_transformUndoRedoStack','use','round','search','_imageIoService','_colorAssignService','_entityInit$','getActiveSheet','xlink:href','LICENSE_MAX_UNITS_EXCEEDED','univer-flex\x20univer-items-center','evenodd','executionId','_localCacheService','_hover','addClipboardHook','mutations','InsertRowCommandId','_refRangeService','off-line-icon','_docSkeletonManagerService','Warning','54271mgVlcu','_collabCursorState$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','currentSkeleton$','some','univer-flex\x20univer-mr-2\x20univer-text-xl','body','registerRenderModule','INVALID_INVITE_CODE','SYNCED','toString','_send','error','sessionStatus$','backgroundColor','addObject','SNAPSHOT_INVALID_SNAPSHOT','_registerRenderDependencies','endRow','setInterval','data','show','random','permission.content','endColumn','onPointerLeave$','eventID','OFFLINE','_initCommandExecutedListener','name','351816IpQGCf','36dONRnA','_collabCursorController','USERS_LEAVE','TOO_MANY_REQUESTS','PY_RUNTIME_SCRIPT_ERROR','YUUMI_ASYNCIO_CANCELLED','_refreshCollabCursors','extend','roomMembers','_removeCollabCursors','JOIN_ROOM_FAILED','collabStatus.synced','fill','resize','LOGIN_FAILED','YUUMI_ALL_TABLES_IS_INVALID','_docClipboardService','subscribeEvent','unsubscribe','_revisionService','redoState','defs','_getAnchorBounding','getConfig','_cursorInfo$','collabStatus.notCollab','_anchorDot','tag','_docTransformStateCacheService','1107872SdfIny','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_shapes','806005bPSTfN','getSheetId','collabStatus.conflict','replaceState','searchParams','makeDirty','_handleJoinEvent','_unitOnClients','_beforeCloseService','getCollabCursors$','9UnsKWr','_notificationService','OffLineIcon','unload','getUndoRedoMutationParamsCache','disableLocalCache','YUUMI_SUBSCRIPTION_NOT_FOUND','_heartbeatTimer','status$','http://www.w3.org/2000/svg','registerBeforeClose','stringify','_selfUnitIDs','getMemberID','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','transformMutation','getOwnPropertyDescriptor','focused$','subUnitId','storage','save','beginPath','isArray','SOCKET_FAILED','hasOwnProperty','M0\x200H16V16H0z','cursorInfo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','sheetID','url(#$1','_getSaveTimeout','_render','_ensureSubject','with','collabStatus.syncing','jiqing.500','_labelPosition','transform','UNRECOGNIZED','OnLineIcon','code','1em','registerComponent','ranges','pluginName','getColorFromTheme','ONLINE','_docTransformSelectionsService','_assignedColors','transformStateCache','setAlpha','className','getCellPositionByOffset','_cursorShapes','session.will-retry','delete','_initEntityListener','getRelativeToViewportCoord','docStateChange$','_sheetSkeletonManagerService','getCurrentSelections','disposeWithMe','_toggleOnline','3mgCGHu','_hovered','_startSheetCollabCursor','_initEvent','getRenderById','findNodePositionByCharIndex','unshift','getCurrentRevOfUnit','_httpService','collab-text-anchor-','wsSessionTicketUrl','_id','_anchor','APPLY_PERMISSION_DENIED','INVITE_CODE_ALREADY_BOUND','override','_createSocketURL','size','unit','_draw','bottom','...','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_getSessionTicket','startRow','debug','_syncEditingCollabCursorService','loadOfflineData','substring','_cachedData','_saveTaskMap','closePath','CONNECTOR_DATA_TOO_LARGE','width','_initResize','fillStyle','UNIVER_SHEET','CLOSE_ROOM','urlChange$','permission.title','_entities','popstate','hovered','_themeService','_docTransformIMECacheService','LICENSE_IMPORT_SIZE_EXCEEDED','WECHAT_HAS_BEEN_BOUND','TEXT','isActive','COMPLETION_FINISHED','_registerDependencies','activeSheet$','YUUMI_AI_RUN_FAILED','_drawAnchor','collaboration.single-unit.warning','getSheetBySheetId','fillRule','_localStorageService','_urlService','imageSourceType','event$','defineProperty','subunit','INTERNAL_ERROR','history','updateOfflineData','PERMISSION_DENIED','_clearOtherTimers','call','_scheduleSaving','CHANGESET_REVISION_CONFILICT'];_0x3ed2=function(){return _0xed5d38;};return _0x3ed2();}import{IDocClipboardService as _0x1372ca,NodePositionConvertToCursor as _0x1fbcca,NodePositionConvertToRectRange as _0x525677,TEXT_RANGE_LAYER_INDEX as _0x157626,SetDocZoomRatioOperation as _0x5f3a10,DocIMEInputManagerService as _0x18fc19,DocStateChangeManagerService as _0x10fb4b}from'@univerjs/docs-ui';import{IImageIoService as _0x4220b2}from'@univerjs/drawing';import{BehaviorSubject as _0x5eaf72,debounceTime as _0x2a5eaa,takeUntil as _0x3970fb,Subject as _0x3c03be,filter as _0x3ebc3f,switchMap as _0x1f8a7c,merge as _0xcb6807,combineLatest as _0x2c02ec,of as _0xa249c5,fromEvent as _0x4b5b71,shareReplay as _0x2c5e73,mapTo as _0x17a9b6,distinctUntilChanged as _0x58615d}from'rxjs';import{SetTextSelectionsOperation as _0x356bd6,RichTextEditingMutation as _0x89d553,DocSelectionManagerService as _0x1a1e03,DocSkeletonManagerService as _0x9df354}from'@univerjs/docs';import{ITransformService as _0x4a1238,CollaborationEvent as _0x2445cf,isTransformMutationFailure as _0x2eaa26,isTransformMutationsWithChangesetSuccess as _0x334103,RevisionService as _0x20c64b,ISnapshotServerService as _0x59159f}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x513b12,serializeRangeWithSheet as _0x4a7be0}from'@univerjs/engine-formula';import{RefRangeService as _0x18c823,SetSelectionsOperation as _0x5decdd,SheetsSelectionsService as _0xace347,EffectRefRangId as _0x13c240,handleIRemoveRow as _0x320f28,handleIRemoveCol as _0x4a56ee,handleMoveRange as _0x4bd0ff,handleInsertRow as _0x2d7649,handleInsertRangeMoveRight as _0x1ceb73,handleInsertRangeMoveDown as _0x3018f4,handleInsertCol as _0x5d4c22,handleDeleteRangeMoveUp as _0x1bcec3,handleDeleteRangeMoveLeft as _0x4f82ad,runRefRangeMutations as _0x32a49b,SetWorksheetActivateCommand as _0x488f21}from'@univerjs/sheets';import{map as _0x188b24,filter as _0x50e6c5,throttleTime as _0x1dbd4c,takeUntil as _0x2f16b1,switchMap as _0x460a4e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3df7b8,getCoordByCell as _0x256d90,getSheetObject as _0x52cc66}from'@univerjs/sheets-ui';import{jsx as _0x14c72b,jsxs as _0x53f0f7}from'react/jsx-runtime';import{useObservable as _0x544941,useDependency as _0xd6265f,IUIPartsService as _0x55e113,BuiltInUIPart as _0x231f6f,connectInjector as _0x1fea6a,IBeforeCloseService as _0x2f95ad,IMessageService as _0x4425b9,INotificationService as _0x3b4cd4}from'@univerjs/ui';import{Tooltip as _0x2484ae,clsx as _0x22a9e9,MessageType as _0x3b7ce8}from'@univerjs/design';import{forwardRef as _0x19d4c9,useRef as _0x381828,createElement as _0x4a51dc,useCallback as _0x8f4c30}from'react';import{IRemoteInstanceService as _0x32ffbb}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x3aaa69,_0x316b28,_0x51403c,_0x527af9)=>{const _0x9746a3=_0x1ff3f4;for(var _0x537a19=_0x527af9>0x1?void 0x0:_0x527af9?ci(_0x316b28,_0x51403c):_0x316b28,_0x4e4256=_0x3aaa69[_0x9746a3(0x2f5)]-0x1,_0xb91ff0;_0x4e4256>=0x0;_0x4e4256--)(_0xb91ff0=_0x3aaa69[_0x4e4256])&&(_0x537a19=_0xb91ff0(_0x537a19)||_0x537a19);return _0x537a19;},Je=(_0x536d2e,_0x449e20)=>(_0x216a21,_0x40a334)=>_0x449e20(_0x216a21,_0x40a334,_0x536d2e);let Ne=class extends _0x2941d4{constructor(_0x57cecd,_0x5c9315){const _0x10bd7e=_0x1ff3f4;super(),this[_0x10bd7e(0x206)]=_0x57cecd,this[_0x10bd7e(0x1c5)]=_0x5c9315,this[_0x10bd7e(0x1bd)]();}[_0x1ff3f4(0x1bd)](){const _0x91880d=_0x1ff3f4,_0x5a7bd2=this;this[_0x91880d(0x25e)](this[_0x91880d(0x206)][_0x91880d(0x1d0)]({'onBeforePasteImage':async _0x557631=>{const _0x444e8a=_0x91880d,_0x5dbc9c=await _0x5a7bd2['_imageIoService'][_0x444e8a(0x371)](_0x557631);return _0x5dbc9c?{'source':_0x5dbc9c['source'],'imageSourceType':_0x5dbc9c[_0x444e8a(0x29b)]}:null;}}));}};Ne=li([Je(0x0,_0x1372ca),Je(0x1,_0x4220b2)],Ne);const Ze=[_0x1ff3f4(0x381),_0x1ff3f4(0x244),_0x1ff3f4(0x2ce),'red.300','blue.400',_0x1ff3f4(0x2be)];class ke extends _0x55b0eb{constructor(){const _0x421b05=_0x1ff3f4;super(...arguments),_(this,_0x421b05(0x251),new Map()),_(this,'_colorIndex',0x0);}[_0x1ff3f4(0x35c)](_0x38ea4d){const _0xa28856=_0x1ff3f4;if(this[_0xa28856(0x251)][_0xa28856(0x2e9)](_0x38ea4d))return this['_assignedColors'][_0xa28856(0x316)](_0x38ea4d);const _0x176444=Ze[this['_colorIndex']];return this['_colorIndex']=(this[_0xa28856(0x2b8)]+0x1)%Ze['length'],this[_0xa28856(0x251)]['set'](_0x38ea4d,_0x176444),_0x176444;}}function Tt(_0x3b3840){const _0x518324=_0x1ff3f4;let _0x460437='';for(const _0x419a2e of _0x3b3840){const {startOffset:_0x2dadfb,endOffset:_0x3a189c,isActive:_0x57715a,rangeType:_0x1e8679,segmentId:_0x4228df,segmentPage:_0x2e164a}=_0x419a2e;_0x460437[_0x518324(0x2f5)]&&(_0x460437+=','),_0x460437+=_0x2dadfb+':'+_0x3a189c+':'+(_0x57715a?'1':'0')+':'+_0x1e8679+':'+_0x4228df+':'+_0x2e164a;}return _0x460437;}function _i(_0x2af4cf){const _0x59fb6b=_0x1ff3f4,_0x5e6521=_0x2af4cf['split'](','),_0x81f826=[];for(const _0x2393ee of _0x5e6521){const [_0x501c77,_0x1902b8,_0x70b6ec,_0x4cda45,_0x1b8201,_0x4e0826]=_0x2393ee[_0x59fb6b(0x2ff)](':');_0x81f826[_0x59fb6b(0x34f)]({'startOffset':Number(_0x501c77),'endOffset':Number(_0x1902b8),'collapsed':_0x501c77===_0x1902b8,'isActive':_0x70b6ec==='1','rangeType':_0x4cda45===_0x51be35[_0x59fb6b(0x28f)]?_0x51be35[_0x59fb6b(0x28f)]:_0x51be35['RECT'],'segmentId':typeof _0x1b8201=='string'?String(_0x1b8201):'','segmentPage':Number(_0x4e0826!=null?_0x4e0826:-0x1)});}return _0x81f826[_0x59fb6b(0x1db)](_0x514d2d=>_0x514d2d[_0x59fb6b(0x290)])||(_0x81f826[0x0]['isActive']=!0x0),_0x81f826;}class He extends _0x2941d4{constructor(){const _0x5d4109=_0x1ff3f4;super(...arguments),_(this,_0x5d4109(0x1d8),new _0x5eaf72(null)),_(this,_0x5d4109(0x2d3),this[_0x5d4109(0x1d8)][_0x5d4109(0x32c)]());}[_0x1ff3f4(0x2b5)](_0x322129){const _0x80d818=_0x1ff3f4,{unitID:_0x104cff,memberID:_0x168708,textRanges:_0x215ce0}=_0x322129,_0x4801f2=Tt(_0x215ce0);if(_0x4801f2==='')return;const _0x4e554f={'unitID':_0x104cff,'memberID':_0x168708,'selection':_0x4801f2};this[_0x80d818(0x1d8)][_0x80d818(0x337)](_0x4e554f);}}var hi=Object[_0x1ff3f4(0x231)],ui=(_0x334cf6,_0x510958,_0x35c569,_0x43336b)=>{for(var _0x18cf0a=_0x43336b>0x1?void 0x0:_0x43336b?hi(_0x510958,_0x35c569):_0x510958,_0x247979=_0x334cf6['length']-0x1,_0x250b74;_0x247979>=0x0;_0x247979--)(_0x250b74=_0x334cf6[_0x247979])&&(_0x18cf0a=_0x250b74(_0x18cf0a)||_0x18cf0a);return _0x18cf0a;},P=(_0x1d009a,_0x581ef6)=>(_0x53a418,_0x3985a6)=>_0x581ef6(_0x53a418,_0x3985a6,_0x1d009a);const di=0x12c,fi=0x64;let Ue=class extends _0x2941d4{constructor(_0x1351c3,_0x576193,_0x1db6d8,_0x1b19bf,_0x4c29c1,_0x5bfcba,_0x239761,_0x1aa783,_0x116a60){const _0xc36ad=_0x1ff3f4;super(),_(this,_0xc36ad(0x2ac),!0x1),_(this,_0xc36ad(0x1bd),!0x1),_(this,_0xc36ad(0x20e),new _0x5eaf72(new Map())),_(this,'cursorInfo$',this[_0xc36ad(0x20e)][_0xc36ad(0x32c)]()),_(this,_0xc36ad(0x357),new _0x5eaf72([])),_(this,_0xc36ad(0x1b4),this[_0xc36ad(0x357)]['pipe'](_0x2a5eaa(di))),_(this,_0xc36ad(0x36a),_0x24f6a5(_0x2230ae=>{const _0x1eb771=_0xc36ad,_0x420999={'eventID':_0x2445cf['UPDATE_CURSOR'],'data':{'unitID':this[_0x1eb771(0x306)],'memberID':this['_session'][_0x1eb771(0x22e)](),'selection':Tt(_0x2230ae)}};this['_session'][_0x1eb771(0x396)](_0x420999,this[_0x1eb771(0x306)]);},fi)),(this[_0xc36ad(0x306)]=_0x1351c3,this[_0xc36ad(0x2ea)]=_0x576193,this[_0xc36ad(0x37a)]=_0x1db6d8,this[_0xc36ad(0x1c6)]=_0x1b19bf,this[_0xc36ad(0x335)]=_0x4c29c1,this[_0xc36ad(0x27a)]=_0x5bfcba,this[_0xc36ad(0x354)]=_0x239761,this[_0xc36ad(0x372)]=_0x1aa783,this[_0xc36ad(0x342)]=_0x116a60);}get[_0x1ff3f4(0x23b)](){const _0x520262=_0x1ff3f4;return this[_0x520262(0x20e)]['getValue']();}get['roomMembers'](){const _0x1dee45=_0x1ff3f4;return this[_0x1dee45(0x357)][_0x1dee45(0x311)]();}[_0x1ff3f4(0x31d)](){const _0x1b4a09=_0x1ff3f4;super[_0x1b4a09(0x31d)](),this[_0x1b4a09(0x20e)][_0x1b4a09(0x337)](new Map()),this[_0x1b4a09(0x20e)]['complete'](),this['_roomMembers$'][_0x1b4a09(0x337)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x4dc3a8=_0x1ff3f4;this[_0x4dc3a8(0x1bd)]||(this[_0x4dc3a8(0x1bd)]=!0x0,this[_0x4dc3a8(0x2ea)][_0x4dc3a8(0x1e4)][_0x4dc3a8(0x3b1)](_0x3970fb(this[_0x4dc3a8(0x2e3)]))[_0x4dc3a8(0x3a0)](_0x362488=>{const _0x452205=_0x4dc3a8;_0x362488===_0x53037b[_0x452205(0x24f)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x4dc3a8(0x29c)][_0x4dc3a8(0x3b1)](_0x3970fb(this['dispose$']))[_0x4dc3a8(0x3a0)](_0xf777b1=>{const _0x543e03=_0x4dc3a8,_0x57d758=_0xf777b1[_0x543e03(0x1f1)];_0x57d758===_0x2445cf['UPDATE_CURSOR']&&this[_0x543e03(0x35e)](_0xf777b1),_0x57d758===_0x2445cf[_0x543e03(0x1f8)]&&this[_0x543e03(0x2c3)](_0xf777b1);}),this['disposeWithMe'](this[_0x4dc3a8(0x342)][_0x4dc3a8(0x390)](_0x2c357b=>{const _0x1603de=_0x4dc3a8,_0x2ed926=_0x2c357b[_0x1603de(0x3af)];_0x2ed926!=null&&this['_online']&&_0x2c357b['id']===_0x356bd6['id']&&_0x2ed926[_0x1603de(0x397)]===this['unitID']&&_0x2ed926[_0x1603de(0x3a7)]===!0x1&&_0x2ed926['ranges'][_0x1603de(0x2f5)]>0x0&&this['_updateLocalCursor'](_0x2ed926[_0x1603de(0x24c)]);})),this[_0x4dc3a8(0x27a)][_0x4dc3a8(0x2d3)][_0x4dc3a8(0x3b1)](_0x3970fb(this[_0x4dc3a8(0x2e3)]))['subscribe'](_0x2028ec=>{const _0x5a4d38=_0x4dc3a8;if((_0x2028ec==null?void 0x0:_0x2028ec[_0x5a4d38(0x306)])!==this[_0x5a4d38(0x306)])return;const _0xee743a={'eventID':_0x2445cf[_0x5a4d38(0x1bc)],'data':_0x2028ec};this['_onCursorUpdate'](_0xee743a);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x23e51d=>{const _0x4dba3f=_0x4dc3a8;if(_0x23e51d[_0x4dba3f(0x3af)]==null)return;const _0x541122=_0x23e51d[_0x4dba3f(0x3af)];if(_0x23e51d['id']!==_0x89d553['id']||_0x541122[_0x4dba3f(0x397)]!==this[_0x4dba3f(0x306)])return;const _0x7689f0={'id':_0x4dba3f(0x2dc),'params':_0x541122},_0x1b1ba7=this[_0x4dba3f(0x23b)];for(const [_0x55a88b,_0x7475ab]of _0x1b1ba7){const _0x1e5693={'id':_0x4dba3f(0x2dc),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x7475ab[_0x4dba3f(0x24c)]}},_0x1bace6=this['_transformService'][_0x4dba3f(0x230)](_0x7689f0,_0x1e5693,!0x1);if(_0x2eaa26(_0x1bace6))throw _0x1bace6[_0x4dba3f(0x1e3)];_0x1b1ba7['set'](_0x55a88b,{..._0x7475ab,'ranges':_0x1bace6[_0x4dba3f(0x34b)][_0x4dba3f(0x3af)][_0x4dba3f(0x2c7)]});}queueMicrotask(()=>{const _0xda3e20=_0x4dba3f;this[_0xda3e20(0x20e)][_0xda3e20(0x337)](_0x1b1ba7);});})));}['_onCursorUpdate'](_0xa9011){const _0x2cb341=_0x1ff3f4;var _0x1972f1,_0x231d06;const {memberID:_0x4756a8,selection:_0x16269d}=_0xa9011[_0x2cb341(0x1eb)],_0x27c6d8=_i(_0x16269d),_0x39e12b=(_0x231d06=(_0x1972f1=this[_0x2cb341(0x335)][_0x2cb341(0x359)](this[_0x2cb341(0x306)],_0x4756a8))==null?void 0x0:_0x1972f1['name'])!=null?_0x231d06:_0x2cb341(0x3a9),_0x2218ef={'color':this['_colorAssignService'][_0x2cb341(0x35c)](_0x4756a8),'name':_0x39e12b,'ranges':_0x27c6d8},_0x1d6867=this[_0x2cb341(0x23b)];_0x1d6867[_0x2cb341(0x2fa)](_0x4756a8,_0x2218ef),this[_0x2cb341(0x20e)][_0x2cb341(0x337)](_0x1d6867);}[_0x1ff3f4(0x2c3)](_0xa18f3d){const _0x2a9a0e=_0x1ff3f4,{memberID:_0x3dd393}=_0xa18f3d[_0x2a9a0e(0x1eb)],_0x4987e1=this[_0x2a9a0e(0x23b)];_0x4987e1[_0x2a9a0e(0x258)](_0x3dd393),this['_cursorInfo$']['next'](_0x4987e1);}[_0x1ff3f4(0x25f)](){const _0xb6617b=_0x1ff3f4;var _0x1e84f0;if(this[_0xb6617b(0x2ac)]=!0x0,((_0x1e84f0=this[_0xb6617b(0x372)][_0xb6617b(0x333)]())==null?void 0x0:_0x1e84f0[_0xb6617b(0x330)]())!==this[_0xb6617b(0x306)])return;const _0x25b0b3=this[_0xb6617b(0x37a)]['get'](_0x1a1e03)[_0xb6617b(0x398)]();Array[_0xb6617b(0x237)](_0x25b0b3)&&_0x25b0b3[_0xb6617b(0x2f5)]>0x0&&this[_0xb6617b(0x36a)](_0x25b0b3);}[_0x1ff3f4(0x361)](){const _0x37ba90=_0x1ff3f4;this[_0x37ba90(0x2ac)]=!0x1;}};Ue=ui([P(0x2,_0x46eb60(_0x425022)),P(0x3,_0x46eb60(ke)),P(0x4,_0x46eb60(_0x1fda83)),P(0x5,_0x46eb60(He)),P(0x6,_0x4a1238),P(0x7,_0x2fc716),P(0x8,_0x5e2d3a)],Ue);function _0x5129(_0x34fc6b,_0x33dea6){const _0x3ed281=_0x3ed2();return _0x5129=function(_0x512999,_0x469d37){_0x512999=_0x512999-0x1ac;let _0x10321c=_0x3ed281[_0x512999];return _0x10321c;},_0x5129(_0x34fc6b,_0x33dea6);}var Si=Object[_0x1ff3f4(0x231)],mi=(_0xd73260,_0x3446ce,_0x5728b5,_0x559100)=>{for(var _0x3ea8c6=_0x559100>0x1?void 0x0:_0x559100?Si(_0x3446ce,_0x5728b5):_0x3446ce,_0xc79b99=_0xd73260['length']-0x1,_0x4ac148;_0xc79b99>=0x0;_0xc79b99--)(_0x4ac148=_0xd73260[_0xc79b99])&&(_0x3ea8c6=_0x4ac148(_0x3ea8c6)||_0x3ea8c6);return _0x3ea8c6;},x=(_0x5aad58,_0x2c09da)=>(_0x565f50,_0x3010c2)=>_0x2c09da(_0x565f50,_0x3010c2,_0x5aad58);const Ii=0x12c,gi=0x64,vi=()=>{let _0x57f14e=[],_0x209da8=!0x1;return _0x1c8c54=>{const _0x567841=_0x5129;_0x57f14e[_0x567841(0x34f)](_0x1c8c54),_0x209da8||(_0x209da8=!0x0,setTimeout(()=>{const _0xa80e24=_0x567841;_0x57f14e[_0xa80e24(0x2fc)](_0x323656=>_0x323656()),_0x57f14e=[],_0x209da8=!0x1;}));};};let Me=class extends _0x2941d4{constructor(_0xa2197f,_0x15ff95,_0x5c041e,_0x24270c,_0x25f88b,_0x67525,_0x1d46d7,_0xe11c1d){const _0x285a83=_0x1ff3f4;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x285a83(0x20e),new _0x5eaf72(new Map())),_(this,_0x285a83(0x325),this[_0x285a83(0x20e)][_0x285a83(0x32c)]()),_(this,_0x285a83(0x357),new _0x5eaf72([])),_(this,_0x285a83(0x1b4),this['_roomMembers$']['pipe'](_0x2a5eaa(Ii))),_(this,_0x285a83(0x36a),_0x24f6a5((_0x484ce8,_0x3fecb3)=>{const _0x59de52=_0x285a83,_0xdb0ec9={'eventID':_0x2445cf[_0x59de52(0x1bc)],'data':{'unitID':this['unitID'],'memberID':this[_0x59de52(0x2ea)][_0x59de52(0x22e)](),'selection':_0x4a7be0(_0x484ce8,_0x3fecb3['range'])}};this[_0x59de52(0x2ea)][_0x59de52(0x396)](_0xdb0ec9,this[_0x59de52(0x306)]);},gi)),(this['unitID']=_0xa2197f,this['_session']=_0x15ff95,this[_0x285a83(0x37a)]=_0x5c041e,this[_0x285a83(0x1c6)]=_0x24270c,this[_0x285a83(0x335)]=_0x25f88b,this[_0x285a83(0x372)]=_0x67525,this['_commandService']=_0x1d46d7,this[_0x285a83(0x1d3)]=_0xe11c1d);}get['cursorInfo'](){const _0x33c739=_0x1ff3f4;return this[_0x33c739(0x20e)][_0x33c739(0x311)]();}get[_0x1ff3f4(0x1fe)](){const _0x30797d=_0x1ff3f4;return this[_0x30797d(0x357)][_0x30797d(0x311)]();}['dispose'](){const _0xef3677=_0x1ff3f4;super[_0xef3677(0x31d)](),this[_0xef3677(0x20e)]['next'](new Map()),this[_0xef3677(0x20e)]['complete'](),this[_0xef3677(0x357)]['next']([]),this[_0xef3677(0x357)][_0xef3677(0x2eb)]();}[_0x1ff3f4(0x39b)](){const _0x2ea2db=_0x1ff3f4;this['_init']||(this[_0x2ea2db(0x1bd)]=!0x0,this[_0x2ea2db(0x2ea)][_0x2ea2db(0x1e4)][_0x2ea2db(0x3b1)](_0x3970fb(this[_0x2ea2db(0x2e3)]))[_0x2ea2db(0x3a0)](_0x558c59=>{const _0x55fdd8=_0x2ea2db;_0x558c59===_0x53037b[_0x55fdd8(0x24f)]?this[_0x55fdd8(0x25f)]():this[_0x55fdd8(0x361)]();}),this[_0x2ea2db(0x2ea)]['event$'][_0x2ea2db(0x3b1)](_0x3970fb(this[_0x2ea2db(0x2e3)]))[_0x2ea2db(0x3a0)](_0x3d5721=>{const _0x5d8a2b=_0x2ea2db,_0x5782ed=_0x3d5721[_0x5d8a2b(0x1f1)];_0x5782ed===_0x2445cf[_0x5d8a2b(0x1bc)]&&this[_0x5d8a2b(0x35e)](_0x3d5721),_0x5782ed===_0x2445cf[_0x5d8a2b(0x1f8)]&&this[_0x5d8a2b(0x2c3)](_0x3d5721);}),this['_onRefRangeChange'](),this[_0x2ea2db(0x25e)](this['_commandService']['onCommandExecuted'](_0x4a21e8=>{const _0x46d8c9=_0x2ea2db;if(this[_0x46d8c9(0x2ac)]&&_0x4a21e8['id']===_0x5decdd['id']&&_0x4a21e8[_0x46d8c9(0x3af)]['unitId']===this[_0x46d8c9(0x306)]){const _0x5c4209=_0x4a21e8[_0x46d8c9(0x3af)];this[_0x46d8c9(0x36a)](_0x5c4209[_0x46d8c9(0x233)],_0x5c4209['selections'][0x0]);}})));}[_0x1ff3f4(0x35e)](_0x1e5224){const _0x2cdddd=_0x1ff3f4;var _0x3eeeb1,_0x20d7ce;const {memberID:_0x4e6010,selection:_0x3fcee5}=_0x1e5224['data'],{sheetName:_0x550e90,range:_0x4a228e}=_0x513b12(_0x3fcee5),_0x1a25f7={'name':(_0x20d7ce=(_0x3eeeb1=this[_0x2cdddd(0x335)]['getMember'](this[_0x2cdddd(0x306)],_0x4e6010))==null?void 0x0:_0x3eeeb1[_0x2cdddd(0x1f4)])!=null?_0x20d7ce:_0x2cdddd(0x3a9),'range':this[_0x2cdddd(0x39a)](_0x550e90,_0x4a228e),'sheetID':_0x550e90,'color':this[_0x2cdddd(0x1c6)][_0x2cdddd(0x35c)](_0x4e6010),'selection':_0x3fcee5},_0x160fcf=this[_0x2cdddd(0x23b)];_0x160fcf[_0x2cdddd(0x2fa)](_0x4e6010,_0x1a25f7),this[_0x2cdddd(0x20e)][_0x2cdddd(0x337)](_0x160fcf);}[_0x1ff3f4(0x2c3)](_0x2bb092){const _0x356611=_0x1ff3f4,{memberID:_0x5896d3}=_0x2bb092[_0x356611(0x1eb)],_0x161bd2=this[_0x356611(0x23b)];_0x161bd2[_0x356611(0x258)](_0x5896d3),this[_0x356611(0x20e)][_0x356611(0x337)](_0x161bd2);}['_getMergeRange'](_0x458590,_0x34ea16){const _0x3fd019=_0x1ff3f4;var _0x328b2a,_0x10c167;const _0x47e64b=(_0x10c167=(_0x328b2a=this[_0x3fd019(0x372)][_0x3fd019(0x34d)](this[_0x3fd019(0x306)]))==null?void 0x0:_0x328b2a[_0x3fd019(0x297)](_0x458590))==null?void 0x0:_0x10c167['getMergeData']();return(_0x47e64b==null?void 0x0:_0x47e64b[_0x3fd019(0x37e)](_0x52b92c=>_0x537971[_0x3fd019(0x3ab)](_0x52b92c,_0x34ea16)))||_0x34ea16;}['_onRefRangeChange'](){const _0x2001ff=new _0x110401(),_0x346c48=vi(),_0x47840e=()=>{const _0x2ddea7=_0x5129;_0x2001ff[_0x2ddea7(0x31d)]();const _0x2589de=(_0x168e1b,_0x4f6d38,_0x2f620b,_0x428abf)=>{const _0x2aa5c6=_0x2ddea7;let _0x3a5fad=[];switch(_0x168e1b['id']){case _0x13c240['DeleteRangeMoveLeftCommandId']:{_0x3a5fad=_0x4f82ad(_0x168e1b,_0x428abf);break;}case _0x13c240[_0x2aa5c6(0x34c)]:{_0x3a5fad=_0x1bcec3(_0x168e1b,_0x428abf);break;}case _0x13c240['InsertColCommandId']:{_0x3a5fad=_0x5d4c22(_0x168e1b,_0x428abf);break;}case _0x13c240[_0x2aa5c6(0x39e)]:{_0x3a5fad=_0x3018f4(_0x168e1b,_0x428abf);break;}case _0x13c240[_0x2aa5c6(0x382)]:{_0x3a5fad=_0x1ceb73(_0x168e1b,_0x428abf);break;}case _0x13c240[_0x2aa5c6(0x1d2)]:{_0x3a5fad=_0x2d7649(_0x168e1b,_0x428abf);break;}case _0x13c240[_0x2aa5c6(0x30b)]:{_0x3a5fad=_0x4bd0ff(_0x168e1b,_0x428abf);break;}case _0x13c240[_0x2aa5c6(0x343)]:{_0x3a5fad=_0x4a56ee(_0x168e1b,_0x428abf);break;}case _0x13c240['RemoveRowCommandId']:{_0x3a5fad=_0x320f28(_0x168e1b,_0x428abf);break;}}const _0x194613=_0x32a49b(_0x3a5fad,_0x428abf),_0x2e4a4f=this['cursorInfo']['get'](_0x4f6d38);if(_0x2e4a4f&&_0x194613){const _0x5e3b36={..._0x2e4a4f,'range':_0x194613};this['cursorInfo'][_0x2aa5c6(0x2fa)](_0x4f6d38,_0x5e3b36),_0x346c48(()=>{const _0x3acdfb=_0x2aa5c6,_0x1798c9=this[_0x3acdfb(0x1d3)]['registerRefRange'](_0x194613,_0x50032c=>(_0x1798c9[_0x3acdfb(0x31d)](),_0x2589de(_0x50032c,_0x4f6d38,_0x2f620b,_0x194613)));_0x2001ff[_0x3acdfb(0x1b0)](_0x1798c9);});}return{'redos':[],'undos':[]};};this[_0x2ddea7(0x23b)][_0x2ddea7(0x2fc)]((_0x43a9d0,_0x4b04fd)=>{const _0x12d7c7=_0x2ddea7,{range:_0x409cef,sheetID:_0x1650c4}=_0x43a9d0,_0x782db6=this[_0x12d7c7(0x1d3)][_0x12d7c7(0x37b)](_0x409cef,_0x1ef17e=>(_0x782db6[_0x12d7c7(0x31d)](),_0x2589de(_0x1ef17e,_0x4b04fd,_0x1650c4,_0x409cef)));_0x2001ff[_0x12d7c7(0x1b0)](_0x782db6);});};this['disposeWithMe'](_0x29b7c8(this['_cursorInfo$']['subscribe'](()=>{_0x47840e();})));}[_0x1ff3f4(0x25f)](){const _0x5eb31b=_0x1ff3f4;var _0x48c8e2,_0x138a6c;if(this['_online']=!0x0,((_0x48c8e2=this['_univerInstanceService'][_0x5eb31b(0x333)]())==null?void 0x0:_0x48c8e2[_0x5eb31b(0x330)]())!==this[_0x5eb31b(0x306)])return;const _0x9b227c=(_0x138a6c=this['_injector'][_0x5eb31b(0x316)](_0xace347)[_0x5eb31b(0x25d)]())==null?void 0x0:_0x138a6c[0x0],_0xfabe15=this[_0x5eb31b(0x372)][_0x5eb31b(0x352)](_0x1d29a4[_0x5eb31b(0x284)])[_0x5eb31b(0x1c8)]();_0x9b227c&&_0xfabe15&&this['_updateLocalCursor'](_0xfabe15[_0x5eb31b(0x218)](),_0x9b227c);}[_0x1ff3f4(0x361)](){const _0x715859=_0x1ff3f4;this[_0x715859(0x2ac)]=!0x1;}};Me=mi([x(0x2,_0x46eb60(_0x425022)),x(0x3,_0x46eb60(ke)),x(0x4,_0x46eb60(_0x1fda83)),x(0x5,_0x2fc716),x(0x6,_0x5e2d3a),x(0x7,_0x46eb60(_0x18c823))],Me);var pi=Object[_0x1ff3f4(0x231)],Ci=(_0x1a964b,_0x2456ec,_0x25c8d8,_0x5d38c2)=>{const _0xed8402=_0x1ff3f4;for(var _0x1d0701=_0x5d38c2>0x1?void 0x0:_0x5d38c2?pi(_0x2456ec,_0x25c8d8):_0x2456ec,_0x2f1eb9=_0x1a964b[_0xed8402(0x2f5)]-0x1,_0x4e3c75;_0x2f1eb9>=0x0;_0x2f1eb9--)(_0x4e3c75=_0x1a964b[_0x2f1eb9])&&(_0x1d0701=_0x4e3c75(_0x1d0701)||_0x1d0701);return _0x1d0701;},Se=(_0xfc43a7,_0x3d58c0)=>(_0x39363e,_0x3ebb44)=>_0x3d58c0(_0x39363e,_0x3ebb44,_0xfc43a7);let H=class extends _0x2941d4{constructor(_0x5cac9f,_0x7b398e,_0x2094fa){const _0x1f8fec=_0x1ff3f4;super(),_(this,_0x1f8fec(0x288),new Map()),_(this,_0x1f8fec(0x1c7),new _0x3c03be()),(this[_0x1f8fec(0x372)]=_0x5cac9f,this['_injector']=_0x7b398e,this[_0x1f8fec(0x2ef)]=_0x2094fa,this['_init']());}[_0x1ff3f4(0x31d)](){const _0x25cacc=_0x1ff3f4;super[_0x25cacc(0x31d)](),this[_0x25cacc(0x1c7)][_0x25cacc(0x2eb)](),this[_0x25cacc(0x288)]['forEach'](_0x576c8d=>_0x576c8d[_0x25cacc(0x31d)]());}[_0x1ff3f4(0x220)](_0x13205d){const _0x6cd8c1=_0x1ff3f4;return this[_0x6cd8c1(0x288)][_0x6cd8c1(0x2e9)](_0x13205d)?this[_0x6cd8c1(0x288)][_0x6cd8c1(0x316)](_0x13205d)[_0x6cd8c1(0x325)]:this[_0x6cd8c1(0x1c7)][_0x6cd8c1(0x3b1)](_0x3ebc3f(_0x407ed5=>_0x407ed5['unitID']===_0x13205d),_0x1f8a7c(_0x268870=>_0x268870[_0x6cd8c1(0x325)]));}[_0x1ff3f4(0x1bd)](){const _0x5486eb=_0x1ff3f4;this[_0x5486eb(0x372)][_0x5486eb(0x364)](_0x1d29a4[_0x5486eb(0x284)])['pipe'](_0x3970fb(this[_0x5486eb(0x2e3)]))[_0x5486eb(0x3a0)](async _0x3e7944=>{const _0x3afbc0=_0x5486eb,_0x538e0d=_0x3e7944[_0x3afbc0(0x330)](),_0x1f3ae2=await this[_0x3afbc0(0x262)](_0x538e0d);this[_0x3afbc0(0x1c7)]['next'](_0x1f3ae2),this['_entities'][_0x3afbc0(0x2fa)](_0x538e0d,_0x1f3ae2);}),this[_0x5486eb(0x372)][_0x5486eb(0x364)](_0x1d29a4[_0x5486eb(0x2da)])[_0x5486eb(0x3b1)](_0x3970fb(this[_0x5486eb(0x2e3)]))[_0x5486eb(0x3b1)](_0x3ebc3f(_0x5b9d40=>!_0x5b9d40[_0x5486eb(0x330)]()['startsWith']('__')))[_0x5486eb(0x3a0)](async _0x8423cf=>{const _0xe3235e=_0x5486eb,_0x19b575=_0x8423cf[_0xe3235e(0x330)](),_0x3213ac=await this[_0xe3235e(0x2cf)](_0x19b575);this[_0xe3235e(0x1c7)][_0xe3235e(0x337)](_0x3213ac),this[_0xe3235e(0x288)][_0xe3235e(0x2fa)](_0x19b575,_0x3213ac);}),_0xcb6807(this[_0x5486eb(0x372)][_0x5486eb(0x356)](_0x1d29a4[_0x5486eb(0x2da)]),this[_0x5486eb(0x372)]['getTypeOfUnitDisposed$'](_0x1d29a4['UNIVER_SHEET']))[_0x5486eb(0x3b1)](_0x3970fb(this[_0x5486eb(0x2e3)]))[_0x5486eb(0x3a0)](_0x3a6cea=>{const _0xafc475=_0x5486eb,_0x233d49=_0x3a6cea['getUnitId'](),_0x4be9b8=this[_0xafc475(0x288)]['get'](_0x233d49);_0x4be9b8&&(_0x4be9b8['dispose'](),this[_0xafc475(0x288)][_0xafc475(0x258)](_0x233d49));});}async[_0x1ff3f4(0x262)](_0x497d55){const _0x1435ea=_0x1ff3f4,_0x1d135e=await this[_0x1435ea(0x2ef)][_0x1435ea(0x2b2)](_0x497d55),_0x4628ed=this[_0x1435ea(0x37a)]['createInstance'](Me,_0x497d55,_0x1d135e);return _0x4628ed[_0x1435ea(0x39b)](),_0x4628ed;}async[_0x1ff3f4(0x2cf)](_0x28f589){const _0x12ef1e=_0x1ff3f4,_0x29000d=await this[_0x12ef1e(0x2ef)][_0x12ef1e(0x2b2)](_0x28f589),_0x2599af=this[_0x12ef1e(0x37a)]['createInstance'](Ue,_0x28f589,_0x29000d);return _0x2599af['init'](),_0x2599af;}};H=Ci([Se(0x0,_0x2fc716),Se(0x1,_0x46eb60(_0x425022)),Se(0x2,_0x46eb60(_0x57a0f6))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x386ea9,_0x4f29ff){const _0x247e1a=_0x1ff3f4;let {radius:_0x451413,width:_0x3da64f,height:_0x2643df}=_0x4f29ff;_0x451413=_0x451413!=null?_0x451413:0x0,_0x3da64f=_0x3da64f!=null?_0x3da64f:0x1e,_0x2643df=_0x2643df!=null?_0x2643df:0x1e;let _0x2f7739=0x0,_0xa68a5a=0x0,_0x56d343=0x0;_0x2f7739=_0xa68a5a=_0x56d343=Math['min'](_0x451413,_0x3da64f/0x2,_0x2643df/0x2),_0x386ea9[_0x247e1a(0x236)](),_0x386ea9['moveTo'](_0x2f7739,0x0),_0x386ea9[_0x247e1a(0x38f)](_0x3da64f-_0xa68a5a,0x0),_0x386ea9[_0x247e1a(0x1b2)](_0x3da64f-_0xa68a5a,_0xa68a5a,_0xa68a5a,Math['PI']*0x3/0x2,0x0,!0x1),_0x386ea9[_0x247e1a(0x38f)](_0x3da64f,_0x2643df-_0x56d343),_0x386ea9['arc'](_0x3da64f-_0x56d343,_0x2643df-_0x56d343,_0x56d343,0x0,Math['PI']/0x2,!0x1),_0x386ea9[_0x247e1a(0x38f)](0x0,_0x2643df),_0x386ea9[_0x247e1a(0x38f)](0x0,_0x2f7739),_0x386ea9[_0x247e1a(0x1b2)](_0x2f7739,_0x2f7739,_0x2f7739,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x386ea9[_0x247e1a(0x27f)](),_0x4f29ff['fill']&&(_0x386ea9[_0x247e1a(0x235)](),_0x386ea9[_0x247e1a(0x283)]=_0x4f29ff[_0x247e1a(0x202)],_0x4f29ff[_0x247e1a(0x298)]===_0x247e1a(0x1cc)?_0x386ea9['fill']('evenodd'):_0x386ea9['fill'](),_0x386ea9[_0x247e1a(0x1b6)]());}class he extends _0x63fadb{constructor(_0x445a89,_0xa5d1af){const _0x31cc4d=_0x1ff3f4;super(_0x445a89,_0xa5d1af),_(this,'color'),_(this,_0x31cc4d(0x373)),(this[_0x31cc4d(0x2c4)]=_0xa5d1af==null?void 0x0:_0xa5d1af[_0x31cc4d(0x2c4)],this[_0x31cc4d(0x373)]=_0xa5d1af==null?void 0x0:_0xa5d1af['text']);}static['drawWith'](_0x2c9695,_0x1427e4){const _0x1cb88a=_0x1ff3f4,{text:_0x108f32,color:_0x52abe2}=_0x1427e4;_0x2c9695['save'](),_0x2c9695['font']=_0x1cb88a(0x215);const _0x3f40b9=_0x2c9695[_0x1cb88a(0x304)](_0x108f32)[_0x1cb88a(0x281)],_0x3179fa=Math[_0x1cb88a(0x2c8)](_0x3f40b9+0x2*me,Qe);Oi(_0x2c9695,{'height':ee,'radius':0x4,'width':_0x3179fa,'fill':_0x52abe2}),_0x2c9695[_0x1cb88a(0x283)]='#FFF';const _0x122760=me,_0x55aa13=ee-Ei,_0x3e2423=Qe-0x2*me;if(_0x3f40b9>_0x3e2423){let _0x218db9='',_0x34cd1d=0x0;for(const _0x59b1be of _0x108f32){const _0x22c9cf=_0x2c9695[_0x1cb88a(0x304)](_0x59b1be)[_0x1cb88a(0x281)];if(_0x34cd1d+_0x22c9cf<=_0x3e2423-_0x2c9695[_0x1cb88a(0x304)]('...')[_0x1cb88a(0x281)])_0x218db9+=_0x59b1be,_0x34cd1d+=_0x22c9cf;else{_0x218db9+=_0x1cb88a(0x275);break;}}_0x2c9695[_0x1cb88a(0x347)](_0x218db9,_0x122760,_0x55aa13);}else _0x2c9695[_0x1cb88a(0x347)](_0x108f32,_0x122760,_0x55aa13);_0x2c9695[_0x1cb88a(0x1b6)]();}[_0x1ff3f4(0x273)](_0x201415){const _0x5c68f1=_0x1ff3f4;he[_0x5c68f1(0x374)](_0x201415,this);}}const Ie=_0x1ff3f4(0x269),bi='collab-text-range-',Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x1ff3f4(0x324);class qe{constructor(_0x13276e,_0x27bdee,_0x2d7f4e,_0x23b98b){const _0x6e2a18=_0x1ff3f4;_(this,_0x6e2a18(0x216),[]),_(this,'_anchor',null),_(this,_0x6e2a18(0x1ad),null),_(this,_0x6e2a18(0x210),null),_(this,'_hideTimer',null),_(this,_0x6e2a18(0x37c),null),(this[_0x6e2a18(0x2b1)]=_0x13276e,this[_0x6e2a18(0x301)]=_0x27bdee,this['_docSkeleton']=_0x2d7f4e,this[_0x6e2a18(0x2ed)]=_0x23b98b,this[_0x6e2a18(0x240)]());}set['_hover'](_0x1d06f7){const _0x1ee981=_0x1ff3f4;_0x1d06f7?(this[_0x1ee981(0x210)]&&this[_0x1ee981(0x210)][_0x1ee981(0x338)](),this['_textBubble']&&this[_0x1ee981(0x1ad)]['show']()):(this['_anchorDot']&&this[_0x1ee981(0x210)][_0x1ee981(0x1ec)](),this[_0x1ee981(0x1ad)]&&this[_0x1ee981(0x1ad)][_0x1ee981(0x338)]());}[_0x1ff3f4(0x31d)](){const _0x5eb4b6=_0x1ff3f4;for(const _0x113d5b of this['_shapes'])_0x113d5b['dispose']();this[_0x5eb4b6(0x1ad)]&&this[_0x5eb4b6(0x1ad)][_0x5eb4b6(0x31d)](),this[_0x5eb4b6(0x210)]&&this[_0x5eb4b6(0x210)][_0x5eb4b6(0x31d)](),this['_anchor']&&this[_0x5eb4b6(0x26c)]['dispose'](),this[_0x5eb4b6(0x37c)]&&this[_0x5eb4b6(0x37c)]();}[_0x1ff3f4(0x240)](){const _0x42784c=_0x1ff3f4;var _0x841cc0;const {_docSkeleton:_0x51a23a,_document:_0x3286f6}=this,{color:_0xab8f2e,name:_0xfb1cd2,ranges:_0x882b57}=this[_0x42784c(0x2b1)],_0x4ff793=_0x3286f6['getOffsetConfig'](),{docsLeft:_0x235cc5,docsTop:_0x3e36cf}=_0x4ff793,_0x11a76=new _0x1fbcca(_0x4ff793,_0x51a23a);for(const {startOffset:_0x3bfab4,endOffset:_0x316311,rangeType:_0x5b6331,segmentId:_0x39954b,segmentPage:_0x2fc530,collapsed:_0xf493a3,isActive:_0x2b0f8b}of _0x882b57){const _0x47d1b1=_0x51a23a[_0x42784c(0x265)](_0x3bfab4,!0x0,_0x39954b,_0x2fc530);let _0xa41d55=_0x51a23a['findNodePositionByCharIndex'](_0x316311,!0x0,_0x39954b,_0x2fc530);if(_0xa41d55==null&&(_0xa41d55=_0x51a23a['findNodePositionByCharIndex'](_0x316311-0x1,!0x1,_0x39954b,_0x2fc530)),_0x2b0f8b){const {contentBoxPointGroup:_0x706a10}=_0x11a76[_0x42784c(0x393)](_0xa41d55,_0xa41d55);if(_0x706a10[_0x42784c(0x2f5)]===0x0)continue;this[_0x42784c(0x295)](_0xab8f2e,_0x706a10,_0x235cc5,_0x3e36cf,_0xfb1cd2),this[_0x42784c(0x37c)]=this[_0x42784c(0x37d)]();}if(_0x47d1b1&&_0xa41d55){if(_0x5b6331===_0x51be35[_0x42784c(0x331)]){const _0x12b3dc=new _0x525677(_0x4ff793,_0x51a23a),{pointGroup:_0x20e7db}=(_0x841cc0=_0x12b3dc[_0x42784c(0x393)](_0x47d1b1,_0xa41d55))!=null?_0x841cc0:{};if(_0x20e7db==null||_0x20e7db['length']===0x0)continue;this['_drawRectRange'](_0xab8f2e,_0x20e7db,_0x235cc5,_0x3e36cf);}else{if(!_0xf493a3){const {borderBoxPointGroup:_0x5e8459}=_0x11a76[_0x42784c(0x393)](_0x47d1b1,_0xa41d55);if(_0x5e8459[_0x42784c(0x2f5)]===0x0)continue;this[_0x42784c(0x33d)](_0xab8f2e,_0x5e8459,_0x235cc5,_0x3e36cf);}}}}}[_0x1ff3f4(0x295)](_0x42c0e6,_0x53915f,_0x5c6c57,_0xbfec75,_0x510698){const _0x536213=_0x1ff3f4,_0x285b63=this[_0x536213(0x20c)](_0x53915f),{left:_0x9d317e,top:_0x26e5f9,height:_0x454e20}=_0x285b63,_0x14cdb7=this['_getScale'](),_0x1dc7d9=Di/_0x14cdb7,_0x51a018=new _0x4b77b9(Ie+_0x31160e['generateRandomId'](X),{'left':_0x9d317e+_0x5c6c57-_0x1dc7d9,'top':_0x26e5f9+_0xbfec75,'height':_0x454e20,'width':Ri,'fill':_0x42c0e6||_0x4185e7(_0x2ffc78[_0x536213(0x39d)],0x0),'strokeWidth':_0x1dc7d9,'stroke':Ni,'evented':!0x0});this[_0x536213(0x26c)]=_0x51a018,this[_0x536213(0x301)][_0x536213(0x1e6)](_0x51a018,_0x157626);const _0x584bd4=new _0x4b77b9(Ie+_0x31160e[_0x536213(0x380)](X),{'left':_0x9d317e+_0x5c6c57-_0x1dc7d9,'top':_0x26e5f9+_0xbfec75-ge/0x2,'height':ge,'width':ge,'fill':_0x42c0e6||_0x4185e7(_0x2ffc78[_0x536213(0x39d)],0x0),'strokeWidth':0x0,'stroke':_0x42c0e6||_0x4185e7(_0x2ffc78['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x584bd4,this[_0x536213(0x301)]['addObject'](_0x584bd4,_0x157626);const _0x36cd88=new he(Ie+_0x31160e[_0x536213(0x380)](X),{'left':_0x9d317e+_0x5c6c57-_0x1dc7d9,'top':_0x26e5f9+_0xbfec75-ee,'text':_0x510698,'color':_0x42c0e6});this[_0x536213(0x1ad)]=_0x36cd88,this[_0x536213(0x301)][_0x536213(0x1e6)](_0x36cd88,_0x157626),this[_0x536213(0x1cf)]=!0x1;}[_0x1ff3f4(0x37d)](){const _0x88c101=_0x1ff3f4,_0x4bb01a=this[_0x88c101(0x26c)]['onPointerEnter$'][_0x88c101(0x207)](()=>{const _0x360d32=_0x88c101;this[_0x360d32(0x1cf)]=!0x0;}),_0x280e55=this[_0x88c101(0x26c)][_0x88c101(0x1f0)]['subscribeEvent'](()=>{const _0x3f5722=_0x88c101;this[_0x3f5722(0x2b0)]&&clearTimeout(this[_0x3f5722(0x2b0)]),this[_0x3f5722(0x2b0)]=setTimeout(()=>{const _0xed8c6f=_0x3f5722;this[_0xed8c6f(0x1cf)]=!0x1;},0x7d0);});return()=>{const _0x47dec1=_0x88c101;_0x4bb01a['unsubscribe'](),_0x280e55[_0x47dec1(0x208)]();};}['_drawTextRange'](_0x4f3783,_0x262d39,_0x375eff,_0x46a2d4){const _0x221e09=_0x1ff3f4,_0x4b3b47=new _0x227d20(_0x4f3783)[_0x221e09(0x253)](0.2)[_0x221e09(0x321)](),_0x29718e=new _0x25839d(bi+_0x31160e[_0x221e09(0x380)](X),{'pointsGroup':_0x262d39,'fill':_0x4b3b47||_0x4185e7(_0x2ffc78[_0x221e09(0x39d)],0.2),'left':_0x375eff,'top':_0x46a2d4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x221e09(0x216)][_0x221e09(0x34f)](_0x29718e),this[_0x221e09(0x301)][_0x221e09(0x1e6)](_0x29718e,_0x157626);}[_0x1ff3f4(0x1b3)](_0x2b9854,_0xef366c,_0x1af03f,_0x26b53b){const _0x48c78b=_0x1ff3f4,_0x214aba=new _0x227d20(_0x2b9854)[_0x48c78b(0x253)](0.2)[_0x48c78b(0x321)](),_0x38cf2b=new _0x25839d(Ti+_0x31160e[_0x48c78b(0x380)](X),{'pointsGroup':_0xef366c,'fill':_0x214aba||_0x4185e7(_0x2ffc78[_0x48c78b(0x39d)],0.2),'left':_0x1af03f,'top':_0x26b53b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x48c78b(0x216)]['push'](_0x38cf2b),this[_0x48c78b(0x301)]['addObject'](_0x38cf2b,_0x157626);}[_0x1ff3f4(0x20c)](_0x139357){const _0xc7ba6f=_0x139357[0x0],_0x4d8efd=_0xc7ba6f[0x0],_0xd078c8=_0xc7ba6f[0x2],{x:_0x2cfd7d,y:_0x1f8353}=_0x4d8efd,{x:_0x1103b9,y:_0xf24f00}=_0xd078c8;return{'left':_0x2cfd7d,'top':_0x1f8353,'width':_0x1103b9-_0x2cfd7d,'height':_0xf24f00-_0x1f8353};}[_0x1ff3f4(0x1b9)](){const _0x31992c=_0x1ff3f4,{scaleX:_0x1725fe,scaleY:_0x15345f}=this[_0x31992c(0x301)][_0x31992c(0x32e)]();return Math[_0x31992c(0x30f)](_0x1725fe,_0x15345f);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x24e7f8,_0x37b712,_0x43d41c,_0x4e3234)=>{const _0x2545d9=_0x1ff3f4;for(var _0x1c76aa=_0x4e3234>0x1?void 0x0:_0x4e3234?Ui(_0x37b712,_0x43d41c):_0x37b712,_0x174b53=_0x24e7f8[_0x2545d9(0x2f5)]-0x1,_0x48af06;_0x174b53>=0x0;_0x174b53--)(_0x48af06=_0x24e7f8[_0x174b53])&&(_0x1c76aa=_0x48af06(_0x1c76aa)||_0x1c76aa);return _0x1c76aa;},Z=(_0xf8d201,_0x2f2c63)=>(_0x31fa3e,_0x2eb400)=>_0x2f2c63(_0x31fa3e,_0x2eb400,_0xf8d201);let we=class extends _0x2941d4{constructor(_0x319796,_0x2d53ad,_0x2aa6f5,_0x5e5ca9,_0x4472a0){const _0x553b2e=_0x1ff3f4;super(),_(this,'_cursorShapes',[]),_(this,_0x553b2e(0x2cb),[]),(this['_context']=_0x319796,this[_0x553b2e(0x1d5)]=_0x2d53ad,this[_0x553b2e(0x1f7)]=_0x2aa6f5,this['_commandService']=_0x5e5ca9,this[_0x553b2e(0x28b)]=_0x4472a0,this[_0x553b2e(0x1bd)]());}['_init'](){const _0x1a9cc8=_0x1ff3f4,_0x50bbc6=this[_0x1a9cc8(0x377)]['unitId'],_0x41acf9=this[_0x1a9cc8(0x1d5)];this[_0x1a9cc8(0x25e)](_0x2c02ec([this[_0x1a9cc8(0x1f7)][_0x1a9cc8(0x220)](_0x50bbc6),this[_0x1a9cc8(0x28b)][_0x1a9cc8(0x33b)]])['pipe'](_0x188b24(([_0x17a43a,_0x444395])=>({'skeleton':_0x41acf9[_0x1a9cc8(0x2d2)](),'cursors':[..._0x17a43a[_0x1a9cc8(0x2ba)]()]['flatMap'](_0x12adf7=>({..._0x12adf7,'color':this[_0x1a9cc8(0x28b)][_0x1a9cc8(0x24e)](_0x12adf7['color'])}))})))[_0x1a9cc8(0x3a0)](_0x580c3f=>{const _0x2bfb2f=_0x1a9cc8;if(this[_0x2bfb2f(0x1ff)](),_0x580c3f){const {skeleton:_0xc3daa0,cursors:_0x490d9f}=_0x580c3f;this[_0x2bfb2f(0x1b1)](_0xc3daa0,_0x490d9f);}})),this[_0x1a9cc8(0x282)](),this['_initCommandExecutedListener']();}[_0x1ff3f4(0x1b1)](_0x32a28a,_0xb70395){const _0x21a72f=_0x1ff3f4,{scene:_0x36023f,mainComponent:_0x36f9cf}=this[_0x21a72f(0x377)],_0x10c747=_0xb70395[_0x21a72f(0x363)](_0x5b4f92=>new qe(_0x5b4f92,_0x36023f,_0x32a28a,_0x36f9cf));this[_0x21a72f(0x256)]=_0x10c747,this[_0x21a72f(0x2cb)]=_0xb70395;}[_0x1ff3f4(0x1fc)](){const _0x3c6829=_0x1ff3f4;this[_0x3c6829(0x1ff)]();const {scene:_0x2f0572,mainComponent:_0x3bafcb}=this[_0x3c6829(0x377)],_0x31d8a7=this[_0x3c6829(0x1d5)][_0x3c6829(0x2d2)](),_0x50c33c=this[_0x3c6829(0x2cb)][_0x3c6829(0x363)](_0x379000=>new qe(_0x379000,_0x2f0572,_0x31d8a7,_0x3bafcb));this['_cursorShapes']=_0x50c33c;}['_removeCollabCursors'](){const _0x598d7a=_0x1ff3f4;this['_cursorShapes'][_0x598d7a(0x2fc)](_0x436b3e=>_0x436b3e['dispose']()),this[_0x598d7a(0x256)]=[];}[_0x1ff3f4(0x1f3)](){const _0x1fbd71=_0x1ff3f4,_0x47be5d=[_0x5f3a10['id']];this['disposeWithMe'](this[_0x1fbd71(0x342)]['onCommandExecuted'](_0x8cc4cb=>{const _0x2c1e56=_0x1fbd71;_0x47be5d[_0x2c1e56(0x2f8)](_0x8cc4cb['id'])&&_0x8cc4cb[_0x2c1e56(0x3af)][_0x2c1e56(0x397)]===this['_context'][_0x2c1e56(0x397)]&&this[_0x2c1e56(0x1fc)]();}));}[_0x1ff3f4(0x282)](){const _0x2e79a7=_0x1ff3f4;this[_0x2e79a7(0x25e)](_0x22d8e0(this[_0x2e79a7(0x377)][_0x2e79a7(0x386)][_0x2e79a7(0x2de)])[_0x2e79a7(0x3b1)](_0x50e6c5(_0x2531ee=>_0x2531ee['type']===_0x6d39fa[_0x2e79a7(0x203)]),_0x1dbd4c(0x10))[_0x2e79a7(0x3a0)](()=>{const _0x497f6f=_0x2e79a7;this[_0x497f6f(0x1fc)]();}));}};we=Mi([Z(0x1,_0x46eb60(_0x9df354)),Z(0x2,_0x46eb60(H)),Z(0x3,_0x5e2d3a),Z(0x4,_0x46eb60(_0xe49e65))],we);const wi=0x1,Pi=1.5;class Li extends _0x63fadb{constructor(_0x3e4bd5,_0x280826){const _0x7855f4=_0x1ff3f4;super(_0x3e4bd5,_0x280826),_(this,'_color'),_(this,'_hovered',!0x1),_(this,'_range'),_(this,_0x7855f4(0x34e),''),_(this,_0x7855f4(0x245),_0x7855f4(0x358)),_(this,_0x7855f4(0x35a)),(_0x280826&&this[_0x7855f4(0x340)](_0x280826),this[_0x7855f4(0x323)]['subscribeEvent'](()=>this[_0x7855f4(0x340)]({'hovered':!0x0})),this[_0x7855f4(0x1f0)][_0x7855f4(0x207)](()=>this[_0x7855f4(0x340)]({'hovered':!0x1})));}[_0x1ff3f4(0x340)](_0x221e27){const _0x306a97=_0x1ff3f4;var _0x3d7419,_0x383d30,_0x16f55c,_0x487c87,_0x4eff60,_0x47b7c8;this[_0x306a97(0x1ae)]=(_0x3d7419=_0x221e27[_0x306a97(0x2c4)])!=null?_0x3d7419:this[_0x306a97(0x1ae)],this['_hovered']=(_0x383d30=_0x221e27[_0x306a97(0x28a)])!=null?_0x383d30:this[_0x306a97(0x261)],this[_0x306a97(0x2c5)]=(_0x16f55c=_0x221e27[_0x306a97(0x314)])!=null?_0x16f55c:this[_0x306a97(0x2c5)],this[_0x306a97(0x34e)]=(_0x487c87=_0x221e27['name'])!=null?_0x487c87:this[_0x306a97(0x34e)],this['_labelPosition']=(_0x4eff60=_0x221e27[_0x306a97(0x38c)])!=null?_0x4eff60:this[_0x306a97(0x245)],this['_backgroundColor']=(_0x47b7c8=_0x221e27[_0x306a97(0x1e5)])!=null?_0x47b7c8:this[_0x306a97(0x35a)],this['transformByState']({'width':_0x221e27[_0x306a97(0x281)],'height':_0x221e27[_0x306a97(0x345)]});}[_0x1ff3f4(0x31f)](_0x284928){const _0xb91a74=_0x1ff3f4,{row:_0x596107,column:_0x98f879}=_0x284928;if(_0x596107>=this[_0xb91a74(0x2c5)][_0xb91a74(0x278)]&&_0x596107<=this['_range'][_0xb91a74(0x1e9)]&&_0x98f879>=this[_0xb91a74(0x2c5)]['startColumn']&&_0x98f879<=this[_0xb91a74(0x2c5)][_0xb91a74(0x1ef)]){this[_0xb91a74(0x340)]({'hovered':!0x0});return;}this[_0xb91a74(0x340)]({'hovered':!0x1});}['triggerDblclick'](_0x3d9c81){return!0x1;}['_draw'](_0x10b7d5){const _0x27b3f0=_0x1ff3f4;_0x4b77b9['drawWith'](_0x10b7d5,{'width':this[_0x27b3f0(0x281)],'height':this[_0x27b3f0(0x345)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x27b3f0(0x35a)]}),this[_0x27b3f0(0x261)]&&(_0x10b7d5[_0x27b3f0(0x235)](),_0x10b7d5[_0x27b3f0(0x246)](0x1,0x0,0x0,0x1,this[_0x27b3f0(0x281)],this['_labelPosition']===_0x27b3f0(0x274)?0x0:-0x14),he[_0x27b3f0(0x374)](_0x10b7d5,{'text':this[_0x27b3f0(0x34e)],'color':this[_0x27b3f0(0x1ae)]}),_0x10b7d5[_0x27b3f0(0x1b6)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x315f73,_0xacbbf,_0x3980ba,_0x21dc70)=>{const _0x4b4b83=_0x1ff3f4;for(var _0x121869=_0x21dc70>0x1?void 0x0:_0x21dc70?Ai(_0xacbbf,_0x3980ba):_0xacbbf,_0x409613=_0x315f73[_0x4b4b83(0x2f5)]-0x1,_0x3a0d33;_0x409613>=0x0;_0x409613--)(_0x3a0d33=_0x315f73[_0x409613])&&(_0x121869=_0x3a0d33(_0x121869)||_0x121869);return _0x121869;},ve=(_0x2140fb,_0x341199)=>(_0x3500c7,_0x742912)=>_0x341199(_0x3500c7,_0x742912,_0x2140fb);const $i=0x1389;let Pe=class extends _0x2941d4{constructor(_0x5d3941,_0x419f70,_0x33b3a5,_0x54bd3a){const _0x1ad19b=_0x1ff3f4;super(),_(this,_0x1ad19b(0x2cb),new Set()),_(this,_0x1ad19b(0x31b),null),(this[_0x1ad19b(0x377)]=_0x5d3941,this['_sheetSkeletonManagerService']=_0x419f70,this['_collabCursorController']=_0x33b3a5,this['_themeService']=_0x54bd3a,this[_0x1ad19b(0x1bd)]());}[_0x1ff3f4(0x1bd)](){const _0xc9e39e=_0x1ff3f4;this[_0xc9e39e(0x25c)][_0xc9e39e(0x1da)][_0xc9e39e(0x3b1)](_0x2f16b1(this[_0xc9e39e(0x2e3)]),_0x460a4e(_0xf2efa6=>{const _0x515f82=_0xc9e39e;if(_0xf2efa6){const _0x485121=_0xf2efa6[_0x515f82(0x2bb)];return _0x2c02ec(this['_collabCursorController'][_0x515f82(0x220)](this[_0x515f82(0x377)]['unitId']),this[_0x515f82(0x28b)][_0x515f82(0x33b)])['pipe'](_0x188b24(([_0x565f70,_0x4a8462])=>{const _0x3bf42f=new Map();return _0x565f70['forEach']((_0x453789,_0x386607)=>{const _0x51b764=_0x5129;if(_0x453789[_0x51b764(0x23d)]===_0x485121){const _0x217d49={..._0x453789};_0x217d49['color']=this[_0x51b764(0x28b)][_0x51b764(0x24e)](_0x453789[_0x51b764(0x2c4)]),_0x3bf42f[_0x51b764(0x2fa)](_0x386607,_0x217d49);}}),{'skeleton':_0xf2efa6,'cursors':_0x3bf42f};}));}return _0xa249c5({'skeleton':null,'cursors':new Map()});}))[_0xc9e39e(0x3a0)](({skeleton:_0x414b4e,cursors:_0x22500e})=>{const _0x57876c=_0xc9e39e;this[_0x57876c(0x1ff)](),_0x414b4e&&this[_0x57876c(0x1b1)](_0x414b4e,_0x22500e);}),this['_sheetSkeletonManagerService'][_0xc9e39e(0x1da)]['subscribe'](_0x221dd6=>{const _0x11f4a9=_0xc9e39e;if(_0x221dd6==null)return;const {skeleton:_0x5e6e9a}=_0x221dd6,{scene:_0x1e05de}=this[_0x11f4a9(0x377)];_0x1e05de[_0x11f4a9(0x2e7)]['subscribeEvent'](_0x24f6a5(_0x28eb3d=>{const _0x504493=_0x11f4a9;var _0x275837,_0x38f7a7;const {offsetX:_0x2c851c,offsetY:_0x5284ad}=_0x28eb3d,{x:_0x5efe37,y:_0x30b3b9}=_0x1e05de[_0x504493(0x25a)](_0x554577[_0x504493(0x2c0)]([_0x2c851c,_0x5284ad])),{scaleX:_0xe02b20,scaleY:_0x3dc7b8}=_0x1e05de['getAncestorScale'](),_0x3e36a8=_0x1e05de[_0x504493(0x1c0)](_0x40207b[_0x504493(0x35d)]),_0x2111bf=_0x1e05de['getVpScrollXYInfoByPosToVp'](_0x554577['FromArray']([_0x5efe37,_0x30b3b9]),_0x3e36a8),_0x36cba4=_0x5e6e9a[_0x504493(0x255)](_0x2c851c,_0x5284ad,_0xe02b20,_0x3dc7b8,_0x2111bf);((_0x275837=this[_0x504493(0x31b)])==null?void 0x0:_0x275837[_0x504493(0x33e)])===_0x36cba4[_0x504493(0x33e)]&&((_0x38f7a7=this[_0x504493(0x31b)])==null?void 0x0:_0x38f7a7[_0x504493(0x2d1)])===_0x36cba4['row']||this['_cursors'][_0x504493(0x2fc)](_0x3e0f51=>{const _0x101acb=_0x504493;_0x3e0f51[_0x101acb(0x31f)](_0x36cba4);});},0x64));});}[_0x1ff3f4(0x1b1)](_0x5ab5bc,_0x4631c1){const _0x34acc5=_0x1ff3f4;var _0x58e2f2;const _0x55bfcf=(_0x58e2f2=this[_0x34acc5(0x25c)]['getCurrent']())==null?void 0x0:_0x58e2f2[_0x34acc5(0x385)];if(!_0x55bfcf)return;const _0x478857=this['_getSheetObject']();if(!_0x478857)return;this[_0x34acc5(0x2cb)][_0x34acc5(0x2fc)](_0x59c413=>{const _0x229e33=_0x34acc5;_0x59c413[_0x229e33(0x21c)]();});const {scene:_0x3f6280}=_0x478857,_0x9bc130=xi(Array[_0x34acc5(0x319)](_0x4631c1[_0x34acc5(0x2ba)]()))['map'](_0x323798=>{const _0x148a10=_0x34acc5,{color:_0x565be6,range:_0x135dcb,name:_0x4a523f,selection:_0x2bd75c,sheetID:_0x3f0e18}=_0x323798,{startColumn:_0x46238d,startRow:_0x320b07,endColumn:_0x45a45e,endRow:_0x2009be}=_0x135dcb,_0x230e1d=_0x256d90(_0x320b07,_0x46238d,_0x3f6280,_0x55bfcf),_0x561728=_0x256d90(_0x2009be,_0x45a45e,_0x3f6280,_0x55bfcf),{columnHeaderHeightAndMarginTop:_0x6d2ddc}=_0x55bfcf,{startX:_0x448b7c,startY:_0xf70b3}=_0x230e1d,{endX:_0x4c5713,endY:_0x3d2e2c}=_0x561728,_0x2d55dd=_0x4c5713-_0x448b7c,_0x133e9d=_0x3d2e2c-_0xf70b3,_0x510330={'labelPosition':_0xf70b3-_0x6d2ddc>=ee?'top':_0x148a10(0x274),'sheetID':_0x3f0e18,'range':_0x135dcb,'color':_0x565be6,'name':_0x4a523f,'selection':_0x2bd75c,'left':_0x448b7c,'top':_0xf70b3,'width':_0x2d55dd,'height':_0x133e9d,'evented':!0x1,'zIndex':$i};return new Li(_0x4a523f,_0x510330);});_0x3f6280[_0x34acc5(0x320)](_0x9bc130,wi),this[_0x34acc5(0x2cb)]=new Set(_0x9bc130);}[_0x1ff3f4(0x1ff)](){const _0x3c75e2=_0x1ff3f4;var _0x185c67;(_0x185c67=this[_0x3c75e2(0x2cb)])==null||_0x185c67[_0x3c75e2(0x2fc)](_0x13a860=>_0x13a860['dispose']());}[_0x1ff3f4(0x38d)](){const _0x10425e=_0x1ff3f4;return _0x52cc66(this[_0x10425e(0x377)][_0x10425e(0x272)],this[_0x10425e(0x377)]);}};Pe=yi([ve(0x1,_0x46eb60(_0x3df7b8)),ve(0x2,_0x46eb60(H)),ve(0x3,_0x46eb60(_0xe49e65))],Pe);function xi(_0x37cb3e){const _0x693ae5=_0x1ff3f4,_0x50778d=new Map();return _0x37cb3e[_0x693ae5(0x2fc)](_0x585c29=>{const _0x2b67f2=_0x693ae5;if(_0x50778d['has'](_0x585c29[_0x2b67f2(0x2d9)])){const _0xa55feb=_0x50778d[_0x2b67f2(0x316)](_0x585c29[_0x2b67f2(0x2d9)]);_0xa55feb['name']+=',\x20'+_0x585c29[_0x2b67f2(0x1f4)];}else _0x50778d[_0x2b67f2(0x2fa)](_0x585c29[_0x2b67f2(0x2d9)],_0x585c29);}),Array[_0x693ae5(0x319)](_0x50778d[_0x693ae5(0x2ba)]());}var v=function(){const _0x467775=_0x1ff3f4;return v=Object[_0x467775(0x2bf)]||function(_0x130ea8){const _0x4cc488=_0x467775;for(var _0x2741ff,_0x2af1b9=0x1,_0x25f392=arguments[_0x4cc488(0x2f5)];_0x2af1b9<_0x25f392;_0x2af1b9++){_0x2741ff=arguments[_0x2af1b9];for(var _0x4b87b0 in _0x2741ff)Object['prototype'][_0x4cc488(0x239)][_0x4cc488(0x2a4)](_0x2741ff,_0x4b87b0)&&(_0x130ea8[_0x4b87b0]=_0x2741ff[_0x4b87b0]);}return _0x130ea8;},v[_0x467775(0x327)](this,arguments);},Bi=function(_0x3d0b4a,_0x55cbcf){const _0x4f3081=_0x1ff3f4;var _0x4dc7ee={};for(var _0x2506d8 in _0x3d0b4a)Object[_0x4f3081(0x326)]['hasOwnProperty']['call'](_0x3d0b4a,_0x2506d8)&&_0x55cbcf[_0x4f3081(0x31e)](_0x2506d8)<0x0&&(_0x4dc7ee[_0x2506d8]=_0x3d0b4a[_0x2506d8]);if(_0x3d0b4a!=null&&typeof Object[_0x4f3081(0x2df)]==_0x4f3081(0x3b3)){for(var _0x3b1e54=0x0,_0x2506d8=Object[_0x4f3081(0x2df)](_0x3d0b4a);_0x3b1e54<_0x2506d8[_0x4f3081(0x2f5)];_0x3b1e54++)_0x55cbcf[_0x4f3081(0x31e)](_0x2506d8[_0x3b1e54])<0x0&&Object[_0x4f3081(0x326)]['propertyIsEnumerable'][_0x4f3081(0x2a4)](_0x3d0b4a,_0x2506d8[_0x3b1e54])&&(_0x4dc7ee[_0x2506d8[_0x3b1e54]]=_0x3d0b4a[_0x2506d8[_0x3b1e54]]);}return _0x4dc7ee;},je=_0x19d4c9(function(_0x40d2f0,_0x53ca58){const _0x1a3318=_0x1ff3f4;var _0x4d3295=_0x40d2f0[_0x1a3318(0x30e)],_0x2d2a96=_0x40d2f0['id'],_0x3f4255=_0x40d2f0[_0x1a3318(0x254)],_0x330ae8=_0x40d2f0[_0x1a3318(0x1fd)],_0x1acb5f=Bi(_0x40d2f0,[_0x1a3318(0x30e),'id',_0x1a3318(0x254),_0x1a3318(0x1fd)]),_0x5d591f=_0x1a3318(0x1bb)['concat'](_0x2d2a96,'\x20')[_0x1a3318(0x384)](_0x3f4255||'')[_0x1a3318(0x37f)](),_0x23825e=_0x381828('_'[_0x1a3318(0x384)](ji()));return Rt(_0x4d3295,''[_0x1a3318(0x384)](_0x2d2a96),{'defIds':_0x4d3295[_0x1a3318(0x3b0)],'idSuffix':_0x23825e[_0x1a3318(0x351)]},v({'ref':_0x53ca58,'className':_0x5d591f},_0x1acb5f),_0x330ae8);});function Rt(_0x37eea3,_0x438f28,_0x1d5252,_0x1ec229,_0x56a9d4){const _0x4f9f73=_0x1ff3f4;return _0x4a51dc(_0x37eea3[_0x4f9f73(0x211)],v(v({'key':_0x438f28},ki(_0x37eea3,_0x1d5252,_0x56a9d4)),_0x1ec229),(Hi(_0x37eea3,_0x1d5252)[_0x4f9f73(0x35f)]||[])[_0x4f9f73(0x363)](function(_0x2c06d2,_0x5c07c4){const _0x44c642=_0x4f9f73;return Rt(_0x2c06d2,''[_0x44c642(0x384)](_0x438f28,'-')[_0x44c642(0x384)](_0x37eea3[_0x44c642(0x211)],'-')[_0x44c642(0x384)](_0x5c07c4),_0x1d5252,void 0x0,_0x56a9d4);}));}function ki(_0x338042,_0x5dd5b6,_0x3877a0){const _0x17ed52=_0x1ff3f4;var _0xb98173=v({},_0x338042['attrs']);_0x3877a0!=null&&_0x3877a0[_0x17ed52(0x303)]&&_0xb98173[_0x17ed52(0x202)]===_0x17ed52(0x303)&&(_0xb98173[_0x17ed52(0x202)]=_0x3877a0[_0x17ed52(0x303)]),_0x338042[_0x17ed52(0x211)]===_0x17ed52(0x1af)&&_0xb98173['id']&&(_0xb98173['id']=_0xb98173['id']+_0x5dd5b6['idSuffix']),Object[_0x17ed52(0x36b)](_0xb98173)[_0x17ed52(0x2fc)](function(_0x3d532f){const _0x50e3af=_0x17ed52;var _0x69aa14=_0x3d532f[0x0],_0x3a3bce=_0x3d532f[0x1];_0x69aa14==='mask'&&typeof _0x3a3bce==_0x50e3af(0x33c)&&(_0xb98173[_0x69aa14]=_0x3a3bce[_0x50e3af(0x2f0)](/url\(#(.*)\)/,'url(#$1'[_0x50e3af(0x384)](_0x5dd5b6[_0x50e3af(0x2ae)],')')));});var _0x14e9bb=_0x5dd5b6['defIds'];return!_0x14e9bb||_0x14e9bb['length']===0x0||(_0x338042[_0x17ed52(0x211)]===_0x17ed52(0x1c2)&&_0xb98173[_0x17ed52(0x1c9)]&&(_0xb98173[_0x17ed52(0x1c9)]=_0xb98173['xlink:href']+_0x5dd5b6['idSuffix']),Object[_0x17ed52(0x36b)](_0xb98173)[_0x17ed52(0x2fc)](function(_0x290041){const _0xb2a8a4=_0x17ed52;var _0x35527d=_0x290041[0x0],_0x15558e=_0x290041[0x1];typeof _0x15558e==_0xb2a8a4(0x33c)&&(_0xb98173[_0x35527d]=_0x15558e[_0xb2a8a4(0x2f0)](/url\(#(.*)\)/,_0xb2a8a4(0x23e)['concat'](_0x5dd5b6[_0xb2a8a4(0x2ae)],')')));})),_0xb98173;}function Hi(_0x2665b8,_0x2332dc){const _0x304894=_0x1ff3f4;var _0x5b8ad8,_0x55d967=_0x2332dc[_0x304894(0x3b0)];return!_0x55d967||_0x55d967[_0x304894(0x2f5)]===0x0?_0x2665b8:_0x2665b8[_0x304894(0x211)]===_0x304894(0x20b)&&(!((_0x5b8ad8=_0x2665b8[_0x304894(0x35f)])===null||_0x5b8ad8===void 0x0)&&_0x5b8ad8['length'])?v(v({},_0x2665b8),{'children':_0x2665b8[_0x304894(0x35f)][_0x304894(0x363)](function(_0x335f49){const _0x133b05=_0x304894;return typeof _0x335f49[_0x133b05(0x322)]['id']=='string'&&_0x55d967&&_0x55d967['includes'](_0x335f49[_0x133b05(0x322)]['id'])?v(v({},_0x335f49),{'attrs':v(v({},_0x335f49[_0x133b05(0x322)]),{'id':_0x335f49[_0x133b05(0x322)]['id']+_0x2332dc[_0x133b05(0x2ae)]})}):_0x335f49;})}):_0x2665b8;}function ji(){const _0xdfa04e=_0x1ff3f4;return Math[_0xdfa04e(0x1ed)]()['toString'](0x24)[_0xdfa04e(0x27c)](0x2,0x8);}je[_0x1ff3f4(0x307)]=_0x1ff3f4(0x344);var Yi={'tag':_0x1ff3f4(0x365),'attrs':{'xmlns':_0x1ff3f4(0x22a),'fill':_0x1ff3f4(0x1b8),'viewBox':_0x1ff3f4(0x318),'width':_0x1ff3f4(0x24a),'height':_0x1ff3f4(0x24a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1ff3f4(0x362),'attrs':{'stroke':'currentColor','d':_0x1ff3f4(0x349),'strokeLinecap':_0x1ff3f4(0x1c3),'strokeLinejoin':_0x1ff3f4(0x1c3),'strokeWidth':1.2}}]},{'tag':_0x1ff3f4(0x20b),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1ff3f4(0x2f3)},'children':[{'tag':'path','attrs':{'fill':_0x1ff3f4(0x3a6),'d':_0x1ff3f4(0x23a)}}]}]}],'defIds':[_0x1ff3f4(0x2f3)]},Dt=_0x19d4c9(function(_0x452bb2,_0x9b2083){const _0x46b17f=_0x1ff3f4;return _0x4a51dc(je,Object[_0x46b17f(0x2bf)]({},_0x452bb2,{'id':_0x46b17f(0x1d4),'ref':_0x9b2083,'icon':Yi}));});Dt[_0x1ff3f4(0x307)]=_0x1ff3f4(0x223);var Fi={'tag':_0x1ff3f4(0x365),'attrs':{'xmlns':_0x1ff3f4(0x22a),'fill':_0x1ff3f4(0x1b8),'viewBox':_0x1ff3f4(0x1bf),'width':_0x1ff3f4(0x24a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x1ff3f4(0x362),'attrs':{'stroke':_0x1ff3f4(0x36e),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x1ff3f4(0x1c3),'strokeLinejoin':_0x1ff3f4(0x1c3),'strokeWidth':1.2}}]},{'tag':_0x1ff3f4(0x20b),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1ff3f4(0x3ac)},'children':[{'tag':'path','attrs':{'fill':_0x1ff3f4(0x3a6),'d':_0x1ff3f4(0x23a),'transform':_0x1ff3f4(0x3ae)}}]}]}],'defIds':[_0x1ff3f4(0x3ac)]},Nt=_0x19d4c9(function(_0x3776ae,_0x206ca5){const _0x49cf5f=_0x1ff3f4;return _0x4a51dc(je,Object[_0x49cf5f(0x2bf)]({},_0x3776ae,{'id':'on-line-icon','ref':_0x206ca5,'icon':Fi}));});Nt[_0x1ff3f4(0x307)]=_0x1ff3f4(0x248);function Wi(_0xd23bb0){const _0x297aae=_0x1ff3f4;switch(_0xd23bb0){case _0x5c1fc0['OFFLINE']:return _0x297aae(0x350);case _0x5c1fc0[_0x297aae(0x34a)]:return _0x297aae(0x219);case _0x5c1fc0[_0x297aae(0x2b7)]:return'collabStatus.fetchMiss';case _0x5c1fc0['NOT_COLLAB']:return _0x297aae(0x20f);case _0x5c1fc0['AWAITING']:case _0x5c1fc0[_0x297aae(0x2e6)]:return _0x297aae(0x243);case _0x5c1fc0[_0x297aae(0x1e0)]:case _0x5c1fc0['PENDING']:return _0x297aae(0x201);}}function Vi(_0x2243eb){const _0x39128c=_0x1ff3f4,{status$:_0x14282f}=_0x2243eb,_0x269912=_0x544941(_0x14282f,_0x5c1fc0[_0x39128c(0x3a2)]),_0x50d4de=_0xd6265f(_0x3ec261),_0x485d2a=_0xd6265f(_0x57a0f6),_0x130186=_0x269912!==_0x5c1fc0[_0x39128c(0x1f2)],_0x23093a=_0x50d4de['t'](Wi(_0x269912)),_0x36d5e8=_0x130186?_0x14c72b(Nt,{}):_0x14c72b(Dt,{}),_0x11896d=_0x8f4c30(()=>{const _0x3b5c9a=_0x39128c;_0x130186||_0x485d2a[_0x3b5c9a(0x2fe)]();},[_0x130186,_0x485d2a]);function _0x164dee(){const _0x438bd6=_0x39128c;return _0x53f0f7(_0x438bd6(0x3a5),{'className':_0x438bd6(0x1cb),'onClick':_0x11896d,'children':[_0x14c72b(_0x438bd6(0x3a5),{'className':_0x22a9e9(_0x438bd6(0x1dc),{'univer-text-green-500':_0x130186,'univer-text-red-500':!_0x130186}),'children':_0x36d5e8}),_0x14c72b('div',{'className':_0x438bd6(0x22f),'children':_0x23093a})]});}return _0x130186?_0x164dee():_0x14c72b(_0x2484ae,{'title':_0x50d4de['t']('collab-client.tooltip.reconnect'),'children':_0x164dee()});}var Xi=Object[_0x1ff3f4(0x231)],Gi=(_0x3ad769,_0x3f047d,_0x1cf142,_0x116745)=>{for(var _0x59318f=_0x116745>0x1?void 0x0:_0x116745?Xi(_0x3f047d,_0x1cf142):_0x3f047d,_0x55c1f1=_0x3ad769['length']-0x1,_0x122656;_0x55c1f1>=0x0;_0x55c1f1--)(_0x122656=_0x3ad769[_0x55c1f1])&&(_0x59318f=_0x122656(_0x59318f)||_0x59318f);return _0x59318f;},Q=(_0xec3811,_0x5713be)=>(_0x9e746a,_0xc756a7)=>_0x5713be(_0x9e746a,_0xc756a7,_0xec3811);let te=class extends _0x55b0eb{constructor(_0x2c5249,_0x25d381,_0x11b2cb,_0x2c7b89){const _0xba9d37=_0x1ff3f4;super(),_(this,_0xba9d37(0x310),new _0x5eaf72(_0x5c1fc0[_0xba9d37(0x3a2)])),(this[_0xba9d37(0x372)]=_0x2c5249,this[_0xba9d37(0x37a)]=_0x25d381,this[_0xba9d37(0x395)]=_0x11b2cb,this[_0xba9d37(0x3a4)]=_0x2c7b89,this[_0xba9d37(0x2aa)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x4d18b1=_0x1ff3f4;this[_0x4d18b1(0x25e)](this[_0x4d18b1(0x372)][_0x4d18b1(0x232)][_0x4d18b1(0x3b1)](_0x1f8a7c(()=>{const _0x3b3d19=_0x4d18b1,_0xf5062a=this[_0x3b3d19(0x372)][_0x3b3d19(0x333)]();return _0xf5062a?this[_0x3b3d19(0x395)][_0x3b3d19(0x1b5)](_0xf5062a[_0x3b3d19(0x330)]()):_0xa249c5(null);}),_0x1f8a7c(_0x354e54=>_0x354e54?_0x354e54[_0x4d18b1(0x229)]:_0xa249c5(_0x5c1fc0[_0x4d18b1(0x3a2)])))[_0x4d18b1(0x3a0)](_0x2cafbf=>{const _0x35fb72=_0x4d18b1;this[_0x35fb72(0x310)][_0x35fb72(0x337)](_0x2cafbf);}));}[_0x1ff3f4(0x2aa)](){const _0x3d65d9=_0x1ff3f4;this[_0x3d65d9(0x25e)](this[_0x3d65d9(0x3a4)][_0x3d65d9(0x24b)](_0x231f6f[_0x3d65d9(0x1be)],()=>_0x1fea6a(Ki({'status$':this[_0x3d65d9(0x310)][_0x3d65d9(0x32c)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x2fc716),Q(0x1,_0x46eb60(_0x425022)),Q(0x2,_0x46eb60(_0x9d4199)),Q(0x3,_0x55e113)],te);function Ki(_0x1dafbc){const {status$:_0xd15a4d}=_0x1dafbc;return function(){return _0x14c72b(Vi,{'status$':_0xd15a4d});};}var zi=Object[_0x1ff3f4(0x231)],Ji=(_0x24d3b4,_0x33d391,_0x13741f,_0x443b71)=>{const _0x24f4c3=_0x1ff3f4;for(var _0x67b5d9=_0x443b71>0x1?void 0x0:_0x443b71?zi(_0x33d391,_0x13741f):_0x33d391,_0x118175=_0x24d3b4[_0x24f4c3(0x2f5)]-0x1,_0x2e4541;_0x118175>=0x0;_0x118175--)(_0x2e4541=_0x24d3b4[_0x118175])&&(_0x67b5d9=_0x2e4541(_0x67b5d9)||_0x67b5d9);return _0x67b5d9;},B=(_0x31c23b,_0x1bbd12)=>(_0x2e053d,_0x8e515e)=>_0x1bbd12(_0x2e053d,_0x8e515e,_0x31c23b);let se=class extends _0x55b0eb{constructor(_0x2f3db4,_0x14fdd0,_0x33d4a8,_0x4c00ad,_0x1baa98,_0xd21abd){const _0xf90919=_0x1ff3f4;super(),this[_0xf90919(0x21f)]=_0x2f3db4,this[_0xf90919(0x1ce)]=_0x14fdd0,this[_0xf90919(0x370)]=_0x33d4a8,this[_0xf90919(0x32a)]=_0x4c00ad,this['_notificationService']=_0x1baa98,this['_localeService']=_0xd21abd,this[_0xf90919(0x36c)](),this[_0xf90919(0x263)]();}[_0x1ff3f4(0x36c)](){const _0x222302=_0x1ff3f4;this['disposeWithMe'](this['_beforeCloseService'][_0x222302(0x22b)](()=>{const _0x7daebc=_0x222302;if(this[_0x7daebc(0x1ce)][_0x7daebc(0x3a3)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x1ff3f4(0x263)](){const _0xfe9b93=_0x1ff3f4;this[_0xfe9b93(0x25e)](this[_0xfe9b93(0x370)][_0xfe9b93(0x29c)]['subscribe'](_0x168038=>{const _0x5eb8ff=_0xfe9b93;_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x30a)]&&this[_0x5eb8ff(0x32a)]['show']({'type':_0x3b7ce8[_0x5eb8ff(0x1d6)],'content':this[_0x5eb8ff(0x313)]['t'](_0x5eb8ff(0x296))}),_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x285)]&&this[_0x5eb8ff(0x32a)][_0x5eb8ff(0x1ec)]({'type':_0x3b7ce8['Warning'],'content':this['_localeService']['t'](_0x5eb8ff(0x2f7))}),_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x2a2)]&&this[_0x5eb8ff(0x222)][_0x5eb8ff(0x1ec)]({'title':this[_0x5eb8ff(0x313)]['t'](_0x5eb8ff(0x287)),'content':this[_0x5eb8ff(0x313)]['t'](_0x5eb8ff(0x1ee)),'type':_0x5eb8ff(0x1e3),'duration':0x0}),_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x34a)]&&this[_0x5eb8ff(0x32a)][_0x5eb8ff(0x1ec)]({'type':_0x3b7ce8['Error'],'content':this[_0x5eb8ff(0x313)]['t'](_0x5eb8ff(0x2f7))+'('+_0x168038['data']+')'}),_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x200)]&&this[_0x5eb8ff(0x32a)]['show']({'type':_0x3b7ce8[_0x5eb8ff(0x1d6)],'content':this[_0x5eb8ff(0x313)]['t'](_0x168038[_0x5eb8ff(0x1eb)]||'')}),_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x341)]&&this['_messageService'][_0x5eb8ff(0x1ec)]({'type':_0x3b7ce8[_0x5eb8ff(0x1d6)],'content':this[_0x5eb8ff(0x313)]['t'](_0x5eb8ff(0x257))}),_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x238)]&&this[_0x5eb8ff(0x32a)][_0x5eb8ff(0x1ec)]({'type':_0x3b7ce8['Error'],'content':this[_0x5eb8ff(0x313)]['t'](_0x5eb8ff(0x32b))}),_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x32d)]&&this[_0x5eb8ff(0x32a)]['show']({'type':_0x3b7ce8[_0x5eb8ff(0x2ab)],'content':this[_0x5eb8ff(0x313)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x2f95ad),B(0x1,_0x18ecc1),B(0x2,_0x46eb60(_0x11921d)),B(0x3,_0x4425b9),B(0x4,_0x3b4cd4),B(0x5,_0x46eb60(_0x3ec261))],se);const Zi=_0x1ff3f4(0x312),et={},Ut=_0x32d641(_0x1ff3f4(0x39c));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x5442a4,_0x5cabf7,_0x1729e0,_0x4da0a7)=>{for(var _0x304439=_0x4da0a7>0x1?void 0x0:_0x4da0a7?Qi(_0x5cabf7,_0x1729e0):_0x5cabf7,_0x10f043=_0x5442a4['length']-0x1,_0x5d531c;_0x10f043>=0x0;_0x10f043--)(_0x5d531c=_0x5442a4[_0x10f043])&&(_0x304439=_0x5d531c(_0x304439)||_0x304439);return _0x304439;},G=(_0x1b364a,_0x1402e2)=>(_0x1b84a4,_0x14e529)=>_0x1402e2(_0x1b84a4,_0x14e529,_0x1b364a);let ie=class extends _0x2941d4{constructor(_0x23f7a0,_0x8ec038,_0x191ff5,_0x2606fa,_0x37c056){const _0x5abf08=_0x1ff3f4;super(),this[_0x5abf08(0x29a)]=_0x23f7a0,this[_0x5abf08(0x366)]=_0x8ec038,this[_0x5abf08(0x342)]=_0x191ff5,this['_dataLoaderService']=_0x2606fa,_0x37c056?_0x37c056==null||_0x37c056['whenReady']()['then'](()=>this[_0x5abf08(0x1bd)]()):(this[_0x5abf08(0x366)]['debug'](_0x5abf08(0x38a),_0x5abf08(0x346)),this['_init']());}async['_init'](){const _0x444ad0=_0x1ff3f4,_0x4c421a=this[_0x444ad0(0x29a)][_0x444ad0(0x3a8)]('unit'),_0x362a82=this[_0x444ad0(0x29a)]['getParam']('type'),_0x3d4a6e=this[_0x444ad0(0x29a)][_0x444ad0(0x3a8)](_0x444ad0(0x29e));if(!_0x4c421a||!_0x362a82){this[_0x444ad0(0x366)][_0x444ad0(0x279)](_0x444ad0(0x38a),_0x444ad0(0x214));return;}const _0x19736a=await this['_dataLoaderService'][_0x444ad0(0x2e5)](_0x4c421a,Number(_0x362a82),_0x3d4a6e);_0x19736a&&_0x19736a instanceof _0x36c131&&this[_0x444ad0(0x2cc)](_0x19736a);}async[_0x1ff3f4(0x2cc)](_0x245015){const _0x181de5=_0x1ff3f4;await this[_0x181de5(0x3ad)](_0x245015),_0x245015[_0x181de5(0x293)][_0x181de5(0x3b1)](_0x3970fb(this[_0x181de5(0x2e3)]))[_0x181de5(0x3a0)](_0x148112=>{const _0x1e6af2=_0x181de5;_0x148112&&this[_0x1e6af2(0x2bd)](_0x148112);}),this[_0x181de5(0x29a)][_0x181de5(0x286)][_0x181de5(0x3b1)](_0x3970fb(this['dispose$']))['subscribe'](()=>this[_0x181de5(0x3ad)](_0x245015));}[_0x1ff3f4(0x2bd)](_0x5b947d,_0x4cb9da=!0x1){const _0x864d08=_0x1ff3f4,_0x1f9c60=this[_0x864d08(0x29a)][_0x864d08(0x3a8)](_0x864d08(0x29e));_0x5b947d[_0x864d08(0x218)]()!==_0x1f9c60&&this['_urlService']['setParam'](_0x864d08(0x29e),_0x5b947d[_0x864d08(0x218)](),_0x4cb9da);}async[_0x1ff3f4(0x3ad)](_0x49d36c){const _0x518756=_0x1ff3f4;var _0x2663d6;const _0x93b1e1=this[_0x518756(0x29a)]['getParam'](_0x518756(0x29e));if(!_0x93b1e1||!_0x49d36c[_0x518756(0x297)](_0x93b1e1)){const _0x56e8dc=_0x49d36c[_0x518756(0x2ca)]()[0x0],_0xc55862=_0x49d36c[_0x518756(0x297)](_0x56e8dc);if(!_0xc55862)return;this[_0x518756(0x2bd)](_0xc55862,!0x0),await this['_commandService']['executeCommand'](_0x488f21['id'],{'unitId':_0x49d36c[_0x518756(0x330)](),'subUnitId':_0x56e8dc});return;}((_0x2663d6=_0x49d36c[_0x518756(0x1c8)]())==null?void 0x0:_0x2663d6[_0x518756(0x218)]())!==_0x93b1e1&&await this[_0x518756(0x342)][_0x518756(0x3a1)](_0x488f21['id'],{'unitId':_0x49d36c[_0x518756(0x330)](),'subUnitId':_0x93b1e1});}};ie=qi([G(0x0,Ut),G(0x1,_0x15d4ae),G(0x2,_0x5e2d3a),G(0x3,_0x46eb60(_0x54edff)),G(0x4,_0x27ea2e(_0x32ffbb))],ie);var en=Object[_0x1ff3f4(0x231)],tn=(_0x5b60f8,_0x39ef9c,_0x5f4ce0,_0x1d241f)=>{const _0x5d430d=_0x1ff3f4;for(var _0x3159f8=_0x1d241f>0x1?void 0x0:_0x1d241f?en(_0x39ef9c,_0x5f4ce0):_0x39ef9c,_0x4fba70=_0x5b60f8[_0x5d430d(0x2f5)]-0x1,_0x5b4323;_0x4fba70>=0x0;_0x4fba70--)(_0x5b4323=_0x5b60f8[_0x4fba70])&&(_0x3159f8=_0x5b4323(_0x3159f8)||_0x3159f8);return _0x3159f8;},pe=(_0x45566c,_0x2aeaf9)=>(_0x1ab3c8,_0x1d8759)=>_0x2aeaf9(_0x1ab3c8,_0x1d8759,_0x45566c);let ne=class{constructor(_0xbb0f0d,_0x14ca74,_0xc74a97){const _0x4e17a3=_0x1ff3f4;this[_0x4e17a3(0x37a)]=_0xbb0f0d,this[_0x4e17a3(0x354)]=_0x14ca74,this['_renderManagerService']=_0xc74a97;}['transformIMECache'](_0x403877){const _0x2c0fc9=_0x1ff3f4;this[_0x2c0fc9(0x1c1)](_0x403877),this[_0x2c0fc9(0x2d8)](_0x403877);}[_0x1ff3f4(0x2cd)](_0x506988){const _0x1b7a6d=_0x1ff3f4,{unitID:_0x1f16fc}=_0x506988,_0x1f9b89=this['_renderManagerService'][_0x1b7a6d(0x264)](_0x1f16fc)[_0x1b7a6d(0x242)](_0x18fc19),{redoCache:_0x5bd108}=_0x1f9b89['getUndoRedoMutationParamsCache']();if(_0x5bd108[_0x1b7a6d(0x2f5)]===0x0)return _0x506988;let _0x2cfd19=_0x31160e[_0x1b7a6d(0x36d)](_0x506988[_0x1b7a6d(0x1d1)][0x0]);for(let _0x470e72=0x0;_0x470e72<_0x5bd108[_0x1b7a6d(0x2f5)];_0x470e72++){const _0x4399b8={'id':_0x1b7a6d(0x2dc),'params':{..._0x5bd108[_0x470e72]}},_0x1634c0=this['_transformService'][_0x1b7a6d(0x230)](_0x2cfd19,_0x4399b8,!0x1);if(_0x2eaa26(_0x1634c0))throw _0x1634c0['error'];_0x2cfd19=_0x1634c0[_0x1b7a6d(0x30c)];}return{..._0x31160e[_0x1b7a6d(0x36d)](_0x506988),'mutations':[_0x2cfd19]};}[_0x1ff3f4(0x1c1)](_0x257e39){const _0x40c88d=_0x1ff3f4,{unitID:_0x16c7a7}=_0x257e39,_0x221ad3=this[_0x40c88d(0x368)][_0x40c88d(0x264)](_0x16c7a7)[_0x40c88d(0x242)](_0x18fc19),{undoCache:_0x1d7485,redoCache:_0x5e00cb}=_0x221ad3[_0x40c88d(0x225)]();if(_0x1d7485[_0x40c88d(0x2f5)]===0x0||_0x5e00cb[_0x40c88d(0x2f5)]===0x0)return;const _0x549386=[],_0xe0fc4b=[];let _0x426c13=_0x31160e[_0x40c88d(0x36d)](_0x257e39[_0x40c88d(0x1d1)][0x0]),_0x4e5c8e=_0x31160e[_0x40c88d(0x36d)](_0x257e39[_0x40c88d(0x1d1)][0x0]);for(let _0x2bf329=_0x1d7485['length']-0x1;_0x2bf329>=0x0;_0x2bf329--){const _0x233d8f={'id':_0x40c88d(0x2dc),'params':{..._0x1d7485[_0x2bf329]}},_0x1038a9={'id':_0x40c88d(0x2dc),'params':{..._0x5e00cb[_0x2bf329]}},_0x456dc1=this[_0x40c88d(0x354)][_0x40c88d(0x230)](_0x426c13,_0x233d8f,!0x1),_0x3591d4=this[_0x40c88d(0x354)][_0x40c88d(0x230)](_0x4e5c8e,_0x1038a9,!0x1);if(_0x2eaa26(_0x456dc1))throw _0x456dc1[_0x40c88d(0x1e3)];if(_0x2eaa26(_0x3591d4))throw _0x3591d4[_0x40c88d(0x1e3)];_0x549386['unshift'](_0x456dc1[_0x40c88d(0x34b)][_0x40c88d(0x3af)]),_0xe0fc4b[_0x40c88d(0x266)](_0x3591d4[_0x40c88d(0x34b)]['params']),_0x426c13=_0x456dc1['m1Prime'],_0x4e5c8e=_0x3591d4[_0x40c88d(0x30c)];}_0x221ad3[_0x40c88d(0x394)]({'undoCache':_0x549386,'redoCache':_0xe0fc4b});}[_0x1ff3f4(0x2d8)](_0x171139){const _0x42f9a8=_0x1ff3f4,{unitID:_0x2ed7a8}=_0x171139,_0x546401=this[_0x42f9a8(0x368)][_0x42f9a8(0x264)](_0x2ed7a8)[_0x42f9a8(0x242)](_0x18fc19),_0x525d94=_0x546401[_0x42f9a8(0x2d6)]();if(_0x525d94==null)return;const _0x62854f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x171139[_0x42f9a8(0x306)],'actions':null,'textRanges':[_0x525d94]}}],_0x504f5c=this[_0x42f9a8(0x354)]['transformMutationsWithChangeset'](_0x171139,_0x62854f);if(!_0x334103(_0x504f5c))throw _0x504f5c[_0x42f9a8(0x1e3)];const _0x5c4ae3=_0x504f5c[_0x42f9a8(0x34b)][0x0][_0x42f9a8(0x3af)][_0x42f9a8(0x2c7)];Array[_0x42f9a8(0x237)](_0x5c4ae3)&&_0x5c4ae3[_0x42f9a8(0x2f5)]&&_0x546401[_0x42f9a8(0x30d)](_0x5c4ae3[0x0]);}};ne=tn([pe(0x0,_0x46eb60(_0x425022)),pe(0x1,_0x4a1238),pe(0x2,_0xfbf822)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x1b7a66,_0x29e8de,_0x2329ea,_0x10255d)=>{const _0x1cc9bd=_0x1ff3f4;for(var _0x38c9d8=_0x10255d>0x1?void 0x0:_0x10255d?sn(_0x29e8de,_0x2329ea):_0x29e8de,_0x4b2c10=_0x1b7a66[_0x1cc9bd(0x2f5)]-0x1,_0x53fe32;_0x4b2c10>=0x0;_0x4b2c10--)(_0x53fe32=_0x1b7a66[_0x4b2c10])&&(_0x38c9d8=_0x53fe32(_0x38c9d8)||_0x38c9d8);return _0x38c9d8;},Ce=(_0x1a64a7,_0x1469b2)=>(_0x524f50,_0x1da3d2)=>_0x1469b2(_0x524f50,_0x1da3d2,_0x1a64a7);let re=class{constructor(_0x324245,_0x536ded,_0x5e4b0d){const _0x41e90e=_0x1ff3f4;this[_0x41e90e(0x37a)]=_0x324245,this[_0x41e90e(0x354)]=_0x536ded,this[_0x41e90e(0x3b2)]=_0x5e4b0d;}['transformStateCache'](_0x3d9240){const _0xc0fac4=_0x1ff3f4;this[_0xc0fac4(0x334)](_0x3d9240);}['transformRemoteChangeset'](_0x2d99d5){const _0x1b6040=_0x1ff3f4,{unitID:_0x500520}=_0x2d99d5,{collaboration:_0x25fa20}=this[_0x1b6040(0x3b2)][_0x1b6040(0x375)](_0x500520);if(_0x25fa20[_0x1b6040(0x2f5)]===0x0)return _0x2d99d5;let _0x328d90=_0x31160e['deepClone'](_0x2d99d5[_0x1b6040(0x1d1)][0x0]);for(let _0x14815c=0x0;_0x14815c<_0x25fa20['length'];_0x14815c++){const _0x4479b4={'id':_0x1b6040(0x2dc),'params':{'unitId':_0x25fa20[_0x14815c][_0x1b6040(0x397)],..._0x25fa20[_0x14815c]['redoState']}},_0x4418b6=this[_0x1b6040(0x354)][_0x1b6040(0x230)](_0x328d90,_0x4479b4,!0x1);if(_0x2eaa26(_0x4418b6))throw _0x4418b6['error'];_0x328d90=_0x4418b6[_0x1b6040(0x30c)];}return{..._0x31160e['deepClone'](_0x2d99d5),'mutations':[_0x328d90]};}['_transformHistoryAndStateStack'](_0x4e6bb5){const _0x12b598=_0x1ff3f4,{unitID:_0xe525d}=_0x4e6bb5,{history:_0x3f5b6e,collaboration:_0x4d41d2}=this[_0x12b598(0x3b2)][_0x12b598(0x375)](_0xe525d);if(_0x3f5b6e[_0x12b598(0x2f5)]===0x0&&_0x4d41d2[_0x12b598(0x2f5)]===0x0)return;const _0x491d1f=[],_0x13bccc=[];let _0x224bd9=_0x31160e[_0x12b598(0x36d)](_0x4e6bb5['mutations'][0x0]),_0x5dcc25=_0x31160e['deepClone'](_0x4e6bb5[_0x12b598(0x1d1)][0x0]);for(let _0x4467c6=_0x3f5b6e[_0x12b598(0x2f5)]-0x1;_0x4467c6>=0x0;_0x4467c6--){const _0x1266eb={'id':_0x12b598(0x2dc),'params':{'unitId':_0x3f5b6e[_0x4467c6][_0x12b598(0x397)],..._0x3f5b6e[_0x4467c6][_0x12b598(0x300)]}},_0x195dbf={'id':_0x12b598(0x2dc),'params':{'unitId':_0x3f5b6e[_0x4467c6]['unitId'],..._0x3f5b6e[_0x4467c6][_0x12b598(0x20a)]}},_0x183567=this['_transformService']['transformMutation'](_0x224bd9,_0x1266eb,!0x1),_0x28ee5f=this[_0x12b598(0x354)][_0x12b598(0x230)](_0x5dcc25,_0x195dbf,!0x1);if(_0x2eaa26(_0x183567))throw _0x183567[_0x12b598(0x1e3)];if(_0x2eaa26(_0x28ee5f))throw _0x28ee5f[_0x12b598(0x1e3)];_0x491d1f[_0x12b598(0x266)]({..._0x3f5b6e[_0x4467c6],'undoState':_0x183567[_0x12b598(0x34b)][_0x12b598(0x3af)],'redoState':_0x28ee5f[_0x12b598(0x34b)][_0x12b598(0x3af)]}),_0x224bd9=_0x183567['m1Prime'],_0x5dcc25=_0x28ee5f[_0x12b598(0x30c)];}_0x224bd9=_0x31160e[_0x12b598(0x36d)](_0x4e6bb5[_0x12b598(0x1d1)][0x0]),_0x5dcc25=_0x31160e['deepClone'](_0x4e6bb5[_0x12b598(0x1d1)][0x0]);for(let _0x4274be=_0x4d41d2[_0x12b598(0x2f5)]-0x1;_0x4274be>=0x0;_0x4274be--){const _0x3e7f28={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d41d2[_0x4274be][_0x12b598(0x397)],..._0x4d41d2[_0x4274be][_0x12b598(0x300)]}},_0x9f2583={'id':_0x12b598(0x2dc),'params':{'unitId':_0x4d41d2[_0x4274be][_0x12b598(0x397)],..._0x4d41d2[_0x4274be][_0x12b598(0x20a)]}},_0x312bff=this[_0x12b598(0x354)][_0x12b598(0x230)](_0x224bd9,_0x3e7f28,!0x1),_0x23cd8c=this[_0x12b598(0x354)][_0x12b598(0x230)](_0x5dcc25,_0x9f2583,!0x1);if(_0x2eaa26(_0x312bff))throw _0x312bff[_0x12b598(0x1e3)];if(_0x2eaa26(_0x23cd8c))throw _0x23cd8c[_0x12b598(0x1e3)];_0x13bccc['unshift']({..._0x4d41d2[_0x4274be],'undoState':_0x312bff[_0x12b598(0x34b)][_0x12b598(0x3af)],'redoState':_0x23cd8c[_0x12b598(0x34b)]['params']}),_0x224bd9=_0x312bff[_0x12b598(0x30c)],_0x5dcc25=_0x23cd8c[_0x12b598(0x30c)];}this['_docStateChangeManagerService']['setStateCache'](_0xe525d,{'history':_0x491d1f,'collaboration':_0x13bccc});}};re=nn([Ce(0x0,_0x46eb60(_0x425022)),Ce(0x1,_0x4a1238),Ce(0x2,_0x46eb60(_0x10fb4b))],re);var rn=Object[_0x1ff3f4(0x231)],on=(_0x1cfb6c,_0x159577,_0x43d36a,_0x366aec)=>{const _0x46b06a=_0x1ff3f4;for(var _0x55f4f1=_0x366aec>0x1?void 0x0:_0x366aec?rn(_0x159577,_0x43d36a):_0x159577,_0x5e86b0=_0x1cfb6c[_0x46b06a(0x2f5)]-0x1,_0x515e5c;_0x5e86b0>=0x0;_0x5e86b0--)(_0x515e5c=_0x1cfb6c[_0x5e86b0])&&(_0x55f4f1=_0x515e5c(_0x55f4f1)||_0x55f4f1);return _0x55f4f1;},tt=(_0x3f9c42,_0x45a361)=>(_0x4486ce,_0x131c24)=>_0x45a361(_0x4486ce,_0x131c24,_0x3f9c42);let oe=class{constructor(_0x1acf87,_0x28a072){const _0x3999a6=_0x1ff3f4;this[_0x3999a6(0x37a)]=_0x1acf87,this['_transformService']=_0x28a072;}['transformSelections'](_0x466bfc){const _0x55dc31=_0x1ff3f4;var _0x125cbc;const _0x3660a7=this[_0x55dc31(0x37a)][_0x55dc31(0x316)](_0x1a1e03),_0x3abe9e=(_0x125cbc=_0x3660a7[_0x55dc31(0x398)]())!=null?_0x125cbc:[];if(_0x3abe9e[_0x55dc31(0x2f5)]===0x0)return;const _0x30bd99=_0x466bfc[_0x55dc31(0x306)],_0x12d06d=[{'id':_0x55dc31(0x2dc),'params':{'unitId':_0x30bd99,'actions':null,'textRanges':_0x3abe9e}}],_0x37766b=this[_0x55dc31(0x354)]['transformMutationsWithChangeset'](_0x466bfc,_0x12d06d);if(!_0x334103(_0x37766b))throw _0x37766b[_0x55dc31(0x1e3)];const _0xbe9d90=_0x37766b['m2Prime'][0x0][_0x55dc31(0x3af)]['textRanges'];Array[_0x55dc31(0x237)](_0xbe9d90)&&_0xbe9d90['length']&&_0x3660a7['replaceDocRanges'](_0xbe9d90,{'unitId':_0x30bd99,'subUnitId':_0x30bd99},!0x1);}};oe=on([tt(0x0,_0x46eb60(_0x425022)),tt(0x1,_0x4a1238)],oe);var an=Object[_0x1ff3f4(0x231)],cn=(_0x333e94,_0x200dfd,_0x37c680,_0x57d162)=>{const _0x1b2d5f=_0x1ff3f4;for(var _0xfa922=_0x57d162>0x1?void 0x0:_0x57d162?an(_0x200dfd,_0x37c680):_0x200dfd,_0x44b094=_0x333e94[_0x1b2d5f(0x2f5)]-0x1,_0x3e293f;_0x44b094>=0x0;_0x44b094--)(_0x3e293f=_0x333e94[_0x44b094])&&(_0xfa922=_0x3e293f(_0xfa922)||_0xfa922);return _0xfa922;},U=(_0x5647e4,_0x432c57)=>(_0x4efefb,_0x279361)=>_0x432c57(_0x4efefb,_0x279361,_0x5647e4);let ae=class extends _0x55b0eb{constructor(_0x1a195f,_0x3b4871,_0x57fa17,_0x13d111,_0x186346,_0x2a987e,_0x49ac13,_0x3417dc){const _0x51b254=_0x1ff3f4;super(),_(this,_0x51b254(0x310),new _0x5eaf72(_0x5c1fc0['NOT_COLLAB'])),(this[_0x51b254(0x3b2)]=_0x1a195f,this[_0x51b254(0x395)]=_0x3b4871,this[_0x51b254(0x28c)]=_0x57fa17,this[_0x51b254(0x212)]=_0x13d111,this[_0x51b254(0x250)]=_0x186346,this[_0x51b254(0x308)]=_0x2a987e,this[_0x51b254(0x32a)]=_0x49ac13,this['_localeService']=_0x3417dc,this[_0x51b254(0x259)]());}[_0x1ff3f4(0x259)](){const _0xd3df89=_0x1ff3f4;this[_0xd3df89(0x25e)](this[_0xd3df89(0x395)]['entityInit$'][_0xd3df89(0x3a0)](_0x2265f5=>{const _0x126cb1=_0xd3df89,_0x32556b=this[_0x126cb1(0x3b2)][_0x126cb1(0x25b)][_0x126cb1(0x3a0)](_0x3c3b55=>{const _0x3d5c07=_0x126cb1;if(_0x3c3b55==null)return;const {unitId:_0x4a10c0,redoState:_0x10facf,commandId:_0x5981bc}=_0x3c3b55;if(_0x4a10c0!==_0x2265f5[_0x3d5c07(0x306)])return;const _0x49360c={'id':_0x5981bc,'type':_0x3999c4[_0x3d5c07(0x305)],'params':{'unitId':_0x4a10c0,'actions':_0x10facf['actions'],'textRanges':null}};_0x2265f5[_0x3d5c07(0x2b9)](_0x49360c);});if(_0x2265f5[_0x126cb1(0x25e)](_0x32556b),_0x2265f5 instanceof _0x35ee5f){const _0xf59031={'onTransformIME':_0x8a3ba4=>this[_0x126cb1(0x28c)]['transformIMECache'](_0x8a3ba4),'onTransformState':_0x4115ff=>this[_0x126cb1(0x212)][_0x126cb1(0x252)](_0x4115ff),'onTransformSelections':_0x26e9b9=>this['_docTransformSelectionsService'][_0x126cb1(0x309)](_0x26e9b9),'onSyncEditingCollabCursor':_0x1289d4=>this['_docSyncEditingCollabCursorService'][_0x126cb1(0x2b5)](_0x1289d4),'onTransformRemoteChangesetByIMECache':_0x524a50=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x524a50),'onTransformRemoteChangesetByStateCache':_0x4979e1=>this[_0x126cb1(0x212)][_0x126cb1(0x2cd)](_0x4979e1)};_0x2265f5[_0x126cb1(0x1b7)](_0xf59031);}}));}};ae=cn([U(0x0,_0x46eb60(_0x10fb4b)),U(0x1,_0x46eb60(_0x9d4199)),U(0x2,_0x46eb60(ne)),U(0x3,_0x46eb60(re)),U(0x4,_0x46eb60(oe)),U(0x5,_0x46eb60(He)),U(0x6,_0x4425b9),U(0x7,_0x46eb60(_0x3ec261))],ae);var ln=Object[_0x1ff3f4(0x231)],_n=(_0x5d4d6b,_0x9ca032,_0x2d1cd4,_0x43ec98)=>{const _0x524ec6=_0x1ff3f4;for(var _0x382919=_0x43ec98>0x1?void 0x0:_0x43ec98?ln(_0x9ca032,_0x2d1cd4):_0x9ca032,_0x354011=_0x5d4d6b[_0x524ec6(0x2f5)]-0x1,_0xb9ce37;_0x354011>=0x0;_0x354011--)(_0xb9ce37=_0x5d4d6b[_0x354011])&&(_0x382919=_0xb9ce37(_0x382919)||_0x382919);return _0x382919;},Ee=(_0x1791ef,_0x5ec541)=>(_0x48210a,_0x3e7121)=>_0x5ec541(_0x48210a,_0x3e7121,_0x1791ef);let Le=class extends _0x55b0eb{constructor(_0x316d80,_0x1a6114,_0x140e6f){const _0x1b1c52=_0x1ff3f4;super(),_(this,'_cachedData',new Map()),_(this,_0x1b1c52(0x27e),new Map()),_(this,_0x1b1c52(0x2f1),!0x1),(this[_0x1b1c52(0x360)]=_0x316d80,this['_localStorageService']=_0x1a6114,this[_0x1b1c52(0x209)]=_0x140e6f);}[_0x1ff3f4(0x226)](){const _0x5953d5=_0x1ff3f4;this[_0x5953d5(0x2f1)]=!0x0;}[_0x1ff3f4(0x2db)](){const _0x2a030e=_0x1ff3f4;this[_0x2a030e(0x2f1)]=!0x1;}get[_0x1ff3f4(0x3a3)](){return this['_saveTaskMap'];}['dispose'](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x1ff3f4(0x27b)](_0x197a68){const _0x474d0f=_0x1ff3f4;return this[_0x474d0f(0x2f1)]?null:this[_0x474d0f(0x299)][_0x474d0f(0x2ee)](_0x5387ff(_0x197a68));}async['saveOfflineData'](_0x1cf069,_0x3d2e53){return!!this['_localStorageService']['setItem'](_0x1cf069,_0x3d2e53);}[_0x1ff3f4(0x2a1)](_0x815071,_0x24c556,_0x596d59,_0x411a3a){const _0x2d5390=_0x1ff3f4,_0x315b57=this[_0x2d5390(0x209)][_0x2d5390(0x267)](_0x815071);this[_0x2d5390(0x27d)][_0x2d5390(0x2fa)](_0x815071,{'unitID':_0x815071,'type':_0x24c556,'awaitingChangeset':_0x596d59,'mutations':_0x411a3a,'rev':_0x315b57}),this['_saveTaskMap']['has'](_0x815071)||this[_0x2d5390(0x2a5)](_0x815071);}[_0x1ff3f4(0x2a5)](_0x2de779){const _0x3a43c1=_0x1ff3f4,_0xb07aaf=this[_0x3a43c1(0x23f)]();_0xb07aaf===0x0?this[_0x3a43c1(0x2d0)](_0x2de779):this['_saveTaskMap'][_0x3a43c1(0x2fa)](_0x2de779,setTimeout(()=>this[_0x3a43c1(0x2d0)](_0x2de779),_0xb07aaf));}[_0x1ff3f4(0x23f)](){const _0x577564=_0x1ff3f4;var _0x5d5e9f;return(_0x5d5e9f=this['_configService'][_0x577564(0x20d)](_0x2a2110))!=null?_0x5d5e9f:_0x116b50;}[_0x1ff3f4(0x2d0)](_0x32b53d){const _0x252c74=_0x1ff3f4,_0x589b11=this[_0x252c74(0x27e)][_0x252c74(0x316)](_0x32b53d);return _0x589b11!==void 0x0&&window['clearTimeout'](_0x589b11),this[_0x252c74(0x299)][_0x252c74(0x2d4)](_0x5387ff(_0x32b53d),this[_0x252c74(0x27d)][_0x252c74(0x316)](_0x32b53d))[_0x252c74(0x2f9)](()=>this['_saveTaskMap'][_0x252c74(0x258)](_0x32b53d));}async[_0x1ff3f4(0x38b)](){const _0x578aee=_0x1ff3f4,_0x542851=[];this[_0x578aee(0x27e)][_0x578aee(0x2fc)]((_0x5510d7,_0x3113f8)=>{const _0x3d5da5=_0x578aee;window[_0x3d5da5(0x2a8)](_0x5510d7),_0x542851['push'](this[_0x3d5da5(0x2d0)](_0x3113f8)[_0x3d5da5(0x2f9)](()=>{const _0x59cbb5=_0x3d5da5;this[_0x59cbb5(0x27e)]['delete'](_0x3113f8);}));}),await Promise[_0x578aee(0x3aa)](_0x542851);}};Le=_n([Ee(0x0,_0x15fb96),Ee(0x1,_0x5edec2),Ee(0x2,_0x46eb60(_0x20c64b))],Le);class hn extends _0x2941d4{constructor(){const _0x3da768=_0x1ff3f4;super(),_(this,'urlChange$'),this[_0x3da768(0x286)]=_0x4b5b71(window,_0x3da768(0x289))[_0x3da768(0x3b1)](_0x3970fb(this[_0x3da768(0x2e3)]),_0x2c5e73(0x1),_0x17a9b6(void 0x0));}[_0x1ff3f4(0x1ac)](_0x4fa03c,_0x2a3457,_0x3327d0=!0x1){const _0x2cf49f=_0x1ff3f4,_0x23c8c2=new URL(window['location']['href']);_0x23c8c2['searchParams'][_0x2cf49f(0x2fa)](_0x4fa03c,_0x2a3457),_0x3327d0?window[_0x2cf49f(0x2a0)][_0x2cf49f(0x21a)]('','',_0x23c8c2[_0x2cf49f(0x1e1)]()):window[_0x2cf49f(0x2a0)][_0x2cf49f(0x1ba)]('','',_0x23c8c2['toString']());}[_0x1ff3f4(0x392)](_0x386a2d,_0x4f452a=!0x1){const _0x13de98=_0x1ff3f4,_0x4d79d0=new URL(window[_0x13de98(0x399)][_0x13de98(0x315)]);_0x4d79d0[_0x13de98(0x21b)]['delete'](_0x386a2d),_0x4f452a?window[_0x13de98(0x2a0)][_0x13de98(0x21a)]('','',_0x4d79d0[_0x13de98(0x1e1)]()):window[_0x13de98(0x2a0)][_0x13de98(0x1ba)]('','',_0x4d79d0['toString']());}[_0x1ff3f4(0x3a8)](_0x2be08d){const _0x5bdda4=_0x1ff3f4;var _0x1a8e5d;return(_0x1a8e5d=new URL(window[_0x5bdda4(0x399)][_0x5bdda4(0x315)])[_0x5bdda4(0x21b)][_0x5bdda4(0x316)](_0x2be08d))!=null?_0x1a8e5d:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x340a79,_0x5ece14,_0x215cf3)=>_0x5ece14 in _0x340a79?un(_0x340a79,_0x5ece14,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x215cf3}):_0x340a79[_0x5ece14]=_0x215cf3,Sn=(_0x196ac2,_0x386fd7,_0x305044,_0xe6439c)=>{const _0x54b4ce=_0x1ff3f4;for(var _0x4547b6=_0xe6439c>0x1?void 0x0:_0xe6439c?dn(_0x386fd7,_0x305044):_0x386fd7,_0x240d34=_0x196ac2[_0x54b4ce(0x2f5)]-0x1,_0x50f52f;_0x240d34>=0x0;_0x240d34--)(_0x50f52f=_0x196ac2[_0x240d34])&&(_0x4547b6=_0x50f52f(_0x4547b6)||_0x4547b6);return _0x4547b6;},Oe=(_0x15bb58,_0xe8561c)=>(_0x472900,_0x8ac4b7)=>_0xe8561c(_0x472900,_0x8ac4b7,_0x15bb58),mn=(_0x392a5f,_0x5eaba2,_0x5c53ba)=>fn(_0x392a5f,_0x5eaba2+'',_0x5c53ba);const In=_0x1ff3f4(0x276);let Ae=class extends _0x3988b6{constructor(_0x10cbc6=et,_0x1be8a5,_0x554cff,_0x11aa18){const _0x40445f=_0x1ff3f4;super(),this['_config']=_0x10cbc6,this[_0x40445f(0x368)]=_0x1be8a5,this[_0x40445f(0x37a)]=_0x554cff,this[_0x40445f(0x360)]=_0x11aa18;const {..._0x3b2b67}=_0x937390({},et,this[_0x40445f(0x33f)]);this[_0x40445f(0x360)]['setConfig'](Zi,_0x3b2b67);}['onStarting'](){const _0x7b7596=_0x1ff3f4;this[_0x7b7596(0x292)](),this[_0x7b7596(0x2c9)]();}[_0x1ff3f4(0x2d5)](){const _0x478ccb=_0x1ff3f4;this[_0x478ccb(0x1e8)]();}[_0x1ff3f4(0x292)](){const _0x5a2e15=_0x1ff3f4;var _0x383d2e;const _0x511ca5=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x57d30e,{'useClass':_0x12ec2f}],[_0x18ecc1,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x37d4ba(this[_0x5a2e15(0x37a)],_0xebd679(_0x511ca5,(_0x383d2e=this[_0x5a2e15(0x33f)])==null?void 0x0:_0x383d2e[_0x5a2e15(0x26f)]));}[_0x1ff3f4(0x1e8)](){const _0x4578b6=_0x1ff3f4;this[_0x4578b6(0x25e)](this[_0x4578b6(0x368)][_0x4578b6(0x1de)](_0x1d29a4[_0x4578b6(0x2da)],[we])),this[_0x4578b6(0x25e)](this[_0x4578b6(0x368)][_0x4578b6(0x1de)](_0x1d29a4[_0x4578b6(0x284)],[Pe]));}[_0x1ff3f4(0x2c9)](){const _0x1fe3f2=_0x1ff3f4;_0x27e255(this[_0x1fe3f2(0x37a)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x1ff3f4(0x24d),In),Ae=Sn([_0x29583c(_0x13d27c),Oe(0x1,_0xfbf822),Oe(0x2,_0x46eb60(_0x425022)),Oe(0x3,_0x15fb96)],Ae);var gn=Object[_0x1ff3f4(0x231)],vn=(_0x26e7a2,_0x461f38,_0x233de1,_0x3f45d1)=>{const _0x2aa24f=_0x1ff3f4;for(var _0xd4ae6=_0x3f45d1>0x1?void 0x0:_0x3f45d1?gn(_0x461f38,_0x233de1):_0x461f38,_0x9b2b17=_0x26e7a2[_0x2aa24f(0x2f5)]-0x1,_0x89f7a1;_0x9b2b17>=0x0;_0x9b2b17--)(_0x89f7a1=_0x26e7a2[_0x9b2b17])&&(_0xd4ae6=_0x89f7a1(_0xd4ae6)||_0xd4ae6);return _0xd4ae6;},K=(_0x5b988a,_0x47f8fa)=>(_0x1eedc8,_0x1f9a08)=>_0x47f8fa(_0x1eedc8,_0x1f9a08,_0x5b988a);let st=class extends _0x5a79c8{constructor(_0x194cb2,_0x47d442,_0x1a3bed,_0x54eeeb,_0x5747bd){super(_0x194cb2,_0x47d442,_0x1a3bed,_0x54eeeb,_0x5747bd);}async[_0x1ff3f4(0x2b3)](_0x2006cf){const _0x26ecdb=_0x1ff3f4,_0x6eaeb3=await this[_0x26ecdb(0x277)](),_0x482aaf=this[_0x26ecdb(0x270)](_0x2006cf,_0x6eaeb3);return this['_doCreateSocket'](_0x482aaf);}[_0x1ff3f4(0x270)](_0x4562f4,_0x4c9d36){const _0x5137f7=_0x1ff3f4,_0x7d90da=typeof window>'u'?new URL(_0x4562f4):new URL(_0x4562f4,window[_0x5137f7(0x399)][_0x5137f7(0x355)]);_0x7d90da[_0x5137f7(0x21b)][_0x5137f7(0x2fa)](_0x5137f7(0x383),_0x4c9d36);const _0x2bbd7f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5137f7(0x399)][_0x5137f7(0x1c4)]);return _0x2bbd7f[_0x5137f7(0x316)](_0x5137f7(0x32f))&&_0x7d90da[_0x5137f7(0x21b)][_0x5137f7(0x2fa)](_0x5137f7(0x32f),_0x2bbd7f[_0x5137f7(0x316)](_0x5137f7(0x32f))),_0x7d90da[_0x5137f7(0x1e1)]();}async[_0x1ff3f4(0x277)](){const _0x44d9e4=_0x1ff3f4;var _0x50c944,_0x171b91,_0x57475a;const _0x4d3e92=this[_0x44d9e4(0x360)][_0x44d9e4(0x20d)](_0x5a0bab),_0x49a351=(_0x50c944=_0x4d3e92==null?void 0x0:_0x4d3e92[_0x44d9e4(0x26a)])!=null?_0x50c944:_0xfafd08;return(_0x57475a=(_0x171b91=(await this[_0x44d9e4(0x268)][_0x44d9e4(0x316)](_0x49a351,{'headers':{'Content-Type':_0x44d9e4(0x391)}}))['body'])==null?void 0x0:_0x171b91[_0x44d9e4(0x2fb)])!=null?_0x57475a:'';}};st=vn([K(0x0,_0x46eb60(_0x425022)),K(0x1,_0x46eb60(_0x4d79f7)),K(0x2,_0x15fb96),K(0x3,_0x15d4ae),K(0x4,_0x59159f)],st);const it=0x7530,nt=_0x1ff3f4(0x317);class jn extends _0x55b0eb{constructor(){const _0x53077a=_0x1ff3f4;super(),_(this,_0x53077a(0x26b),_0x22ea17()),_(this,_0x53077a(0x22d),new Set()),_(this,_0x53077a(0x21e),new Map()),_(this,_0x53077a(0x228),null),_(this,_0x53077a(0x2a3),new Map()),_(this,_0x53077a(0x302),new Map()),this[_0x53077a(0x1bd)]();}['dispose'](){const _0x2df3d5=_0x1ff3f4;super[_0x2df3d5(0x31d)](),this['_clearOtherTimers']['forEach']((_0x1a2e41,_0x5a8552)=>this[_0x2df3d5(0x2bc)](_0x5a8552)),this[_0x2df3d5(0x228)]&&window[_0x2df3d5(0x2b4)](this[_0x2df3d5(0x228)]);}[_0x1ff3f4(0x336)](_0x5e893f){const _0x135e3d=_0x1ff3f4;return this[_0x135e3d(0x241)](_0x5e893f)[_0x135e3d(0x3b1)](_0x58615d());}[_0x1ff3f4(0x2fd)](_0x2d2e6c){const _0x48bc63=_0x1ff3f4;this[_0x48bc63(0x22d)][_0x48bc63(0x271)]===0x0&&this[_0x48bc63(0x2f2)](),this[_0x48bc63(0x22d)]['add'](_0x2d2e6c),this[_0x48bc63(0x1e2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2d2e6c],'isForwarded':!0x1});}[_0x1ff3f4(0x332)](_0xebe9fd){const _0x2b5e70=_0x1ff3f4;this[_0x2b5e70(0x22d)]['delete'](_0xebe9fd),this[_0x2b5e70(0x22d)][_0x2b5e70(0x271)]===0x0&&this[_0x2b5e70(0x228)]&&window['clearInterval'](this[_0x2b5e70(0x228)]);}[_0x1ff3f4(0x1bd)](){const _0x332ae9=_0x1ff3f4;this[_0x332ae9(0x25e)](_0x29b7c8(_0x4b5b71(window,_0x332ae9(0x234))['subscribe'](_0x3a563b=>{const _0x5ef979=_0x332ae9;if(_0x3a563b[_0x5ef979(0x2f6)]!==nt||!_0x3a563b['newValue'])return;const _0x6f2f90=JSON[_0x5ef979(0x31c)](_0x3a563b['newValue']);this[_0x5ef979(0x2b6)](_0x6f2f90);}))),window['addEventListener'](_0x332ae9(0x224),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x332ae9(0x22d)])}));}[_0x1ff3f4(0x2b6)](_0x254f1b){const _0x171ed8=_0x1ff3f4;switch(_0x254f1b['type']){case 0x0:this[_0x171ed8(0x21d)](_0x254f1b);break;case 0x1:this['_handleLeaveEvent'](_0x254f1b);break;case 0x2:this[_0x171ed8(0x353)](_0x254f1b);break;}}[_0x1ff3f4(0x21d)](_0x1c075d){const _0x3e5f02=_0x1ff3f4,{unitIDs:_0x33280c,memberID:_0x28a7f4,isForwarded:_0x1ade58}=_0x1c075d;_0x33280c[_0x3e5f02(0x2fc)](_0x29ed29=>{const _0x1370db=_0x3e5f02;if(!_0x1ade58&&this[_0x1370db(0x21e)][_0x1370db(0x2e9)](_0x29ed29)&&this[_0x1370db(0x241)](_0x29ed29)[_0x1370db(0x337)](_0x4c5026[_0x1370db(0x339)]),!this['_unitOnClients'][_0x1370db(0x2e9)](_0x29ed29)||!this[_0x1370db(0x21e)][_0x1370db(0x316)](_0x29ed29)['has'](_0x28a7f4)){const _0x493179=this['_unitOnClients'][_0x1370db(0x316)](_0x29ed29)||new Set();_0x493179['add'](_0x28a7f4),this[_0x1370db(0x21e)][_0x1370db(0x2fa)](_0x29ed29,_0x493179),this[_0x1370db(0x31a)](_0x28a7f4);}}),_0x1ade58||this['_send']({'type':0x0,'memberID':this[_0x3e5f02(0x26b)],'unitIDs':[...this[_0x3e5f02(0x22d)]],'isForwarded':!0x0});}[_0x1ff3f4(0x31a)](_0x11d7b7){const _0x4500aa=_0x1ff3f4;this['_removeClearOtherTimer'](_0x11d7b7);const _0xb66679=window[_0x4500aa(0x2c2)](()=>{const _0x539d0d=_0x4500aa;this[_0x539d0d(0x21e)][_0x539d0d(0x2fc)](_0x5b434a=>{_0x5b434a['delete'](_0x11d7b7);});},it*0x2);this[_0x4500aa(0x2a3)][_0x4500aa(0x2fa)](_0x11d7b7,_0xb66679);}[_0x1ff3f4(0x2bc)](_0x2bdcb8){const _0x250234=_0x1ff3f4;if(this[_0x250234(0x2a3)][_0x250234(0x2e9)](_0x2bdcb8)){const _0x5dfe11=this['_clearOtherTimers'][_0x250234(0x316)](_0x2bdcb8);_0x5dfe11&&window['clearTimeout'](_0x5dfe11),this[_0x250234(0x2a3)]['set'](_0x2bdcb8,null);}}[_0x1ff3f4(0x2e2)](_0x291715){const _0x1efcee=_0x1ff3f4,{memberID:_0x5a5a12,unitIDs:_0x7bf189}=_0x291715;_0x7bf189[_0x1efcee(0x2fc)](_0x201757=>{const _0x2e16a7=_0x1efcee;var _0x102d3d;const _0x57f101=this[_0x2e16a7(0x21e)][_0x2e16a7(0x316)](_0x201757);_0x57f101&&(_0x57f101[_0x2e16a7(0x258)](_0x5a5a12),(_0x102d3d=this[_0x2e16a7(0x241)](_0x201757))==null||_0x102d3d['next'](_0x57f101[_0x2e16a7(0x271)]===0x0?_0x4c5026[_0x2e16a7(0x376)]:_0x4c5026['OTHER_CLIENTS_EDITING']));}),this[_0x1efcee(0x2bc)](_0x5a5a12);}[_0x1ff3f4(0x353)](_0x303073){this['_scheduleClearOtherTimer'](_0x303073['memberID']);}[_0x1ff3f4(0x1e2)](_0x462cd8){const _0x23147b=_0x1ff3f4;localStorage[_0x23147b(0x2d4)](nt,JSON[_0x23147b(0x22c)](_0x462cd8));}[_0x1ff3f4(0x2f2)](){const _0x1de1ce=_0x1ff3f4;this[_0x1de1ce(0x228)]=window[_0x1de1ce(0x1ea)](()=>{const _0x3d93c3=_0x1de1ce;this[_0x3d93c3(0x1e2)]({'type':0x2,'memberID':this[_0x3d93c3(0x26b)]});},it);}['_ensureSubject'](_0x4ab2c9){const _0xd94397=_0x1ff3f4;return this[_0xd94397(0x302)][_0xd94397(0x2e9)](_0x4ab2c9)||this[_0xd94397(0x302)][_0xd94397(0x2fa)](_0x4ab2c9,new _0x5eaf72(_0x4c5026[_0xd94397(0x376)])),this[_0xd94397(0x302)][_0xd94397(0x316)](_0x4ab2c9);}}var Mt=(_0x9483cc=>(_0x9483cc[_0x9483cc[_0x1ff3f4(0x2a7)]=0x0]=_0x1ff3f4(0x2a7),_0x9483cc[_0x9483cc['OK']=0x1]='OK',_0x9483cc[_0x9483cc[_0x1ff3f4(0x29f)]=0x2]='INTERNAL_ERROR',_0x9483cc[_0x9483cc[_0x1ff3f4(0x2a2)]=0x3]='PERMISSION_DENIED',_0x9483cc[_0x9483cc[_0x1ff3f4(0x2e0)]=0x4]=_0x1ff3f4(0x2e0),_0x9483cc[_0x9483cc[_0x1ff3f4(0x348)]=0x5]='UNAUTHENTICATED',_0x9483cc[_0x9483cc[_0x1ff3f4(0x387)]=0x6]=_0x1ff3f4(0x387),_0x9483cc[_0x9483cc['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x9483cc[_0x9483cc[_0x1ff3f4(0x1f9)]=0x8]='TOO_MANY_REQUESTS',_0x9483cc[_0x9483cc[_0x1ff3f4(0x291)]=0x9]=_0x1ff3f4(0x291),_0x9483cc[_0x9483cc[_0x1ff3f4(0x204)]=0xa]=_0x1ff3f4(0x204),_0x9483cc[_0x9483cc[_0x1ff3f4(0x2a6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x9483cc[_0x9483cc['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1ff3f4(0x1e7),_0x9483cc[_0x9483cc[_0x1ff3f4(0x36f)]=0x1772]=_0x1ff3f4(0x36f),_0x9483cc[_0x9483cc[_0x1ff3f4(0x38e)]=0x1773]=_0x1ff3f4(0x38e),_0x9483cc[_0x9483cc[_0x1ff3f4(0x39f)]=0x1b59]=_0x1ff3f4(0x39f),_0x9483cc[_0x9483cc[_0x1ff3f4(0x2ec)]=0x1b5a]=_0x1ff3f4(0x2ec),_0x9483cc[_0x9483cc[_0x1ff3f4(0x329)]=0x1b5b]=_0x1ff3f4(0x329),_0x9483cc[_0x9483cc[_0x1ff3f4(0x26d)]=0x1b5c]=_0x1ff3f4(0x26d),_0x9483cc[_0x9483cc[_0x1ff3f4(0x388)]=0x1b5d]='APPLY_DUPLICATED',_0x9483cc[_0x9483cc['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1ff3f4(0x280),_0x9483cc[_0x9483cc[_0x1ff3f4(0x1ca)]=0x2329]=_0x1ff3f4(0x1ca),_0x9483cc[_0x9483cc[_0x1ff3f4(0x23c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x9483cc[_0x9483cc[_0x1ff3f4(0x28d)]=0x232b]=_0x1ff3f4(0x28d),_0x9483cc[_0x9483cc[_0x1ff3f4(0x2a9)]=0x232c]=_0x1ff3f4(0x2a9),_0x9483cc[_0x9483cc[_0x1ff3f4(0x2ad)]=0x232d]=_0x1ff3f4(0x2ad),_0x9483cc[_0x9483cc['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1ff3f4(0x2d7),_0x9483cc[_0x9483cc[_0x1ff3f4(0x379)]=0x2712]=_0x1ff3f4(0x379),_0x9483cc[_0x9483cc[_0x1ff3f4(0x33a)]=0x2713]=_0x1ff3f4(0x33a),_0x9483cc[_0x9483cc['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1ff3f4(0x227),_0x9483cc[_0x9483cc['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1ff3f4(0x2f4),_0x9483cc[_0x9483cc[_0x1ff3f4(0x1fb)]=0x271b]=_0x1ff3f4(0x1fb),_0x9483cc[_0x9483cc['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1ff3f4(0x35b),_0x9483cc[_0x9483cc[_0x1ff3f4(0x205)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x9483cc[_0x9483cc['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x9483cc[_0x9483cc[_0x1ff3f4(0x294)]=0x271f]=_0x1ff3f4(0x294),_0x9483cc[_0x9483cc[_0x1ff3f4(0x1fa)]=0x2af9]=_0x1ff3f4(0x1fa),_0x9483cc[_0x9483cc[_0x1ff3f4(0x378)]=0x2ee1]=_0x1ff3f4(0x378),_0x9483cc[_0x9483cc[_0x1ff3f4(0x1df)]=0x2ee2]=_0x1ff3f4(0x1df),_0x9483cc[_0x9483cc[_0x1ff3f4(0x369)]=0x2ee3]=_0x1ff3f4(0x369),_0x9483cc[_0x9483cc[_0x1ff3f4(0x2e1)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x9483cc[_0x9483cc[_0x1ff3f4(0x26e)]=0x2ee5]=_0x1ff3f4(0x26e),_0x9483cc[_0x9483cc[_0x1ff3f4(0x28e)]=0x32c9]=_0x1ff3f4(0x28e),_0x9483cc[_0x9483cc[_0x1ff3f4(0x2c1)]=0x32ca]=_0x1ff3f4(0x2c1),_0x9483cc[_0x9483cc[_0x1ff3f4(0x389)]=0x32cb]=_0x1ff3f4(0x389),_0x9483cc[_0x9483cc[_0x1ff3f4(0x247)]=-0x1]=_0x1ff3f4(0x247),_0x9483cc))(Mt||{}),pn=Object[_0x1ff3f4(0x231)],Cn=(_0x1f1647,_0x139bc6,_0x17c5d0,_0x97f2eb)=>{const _0x15deaa=_0x1ff3f4;for(var _0x2d2b08=_0x97f2eb>0x1?void 0x0:_0x97f2eb?pn(_0x139bc6,_0x17c5d0):_0x139bc6,_0x1a35a2=_0x1f1647[_0x15deaa(0x2f5)]-0x1,_0x50f594;_0x1a35a2>=0x0;_0x1a35a2--)(_0x50f594=_0x1f1647[_0x1a35a2])&&(_0x2d2b08=_0x50f594(_0x2d2b08)||_0x2d2b08);return _0x2d2b08;},be=(_0x5e93e0,_0x1b9c65)=>(_0x539168,_0x2a9a25)=>_0x1b9c65(_0x539168,_0x2a9a25,_0x5e93e0);let rt=class extends _0x55b0eb{constructor(_0xf90ecf,_0x137355,_0x1ea52e){const _0x505151=_0x1ff3f4;super(),this[_0x505151(0x2c6)]=_0xf90ecf,this['_httpService']=_0x137355,this[_0x505151(0x360)]=_0x1ea52e;}async[_0x1ff3f4(0x2e4)](_0x5185a8,_0x32ab5b,_0x219fb5,..._0x1bd827){const _0x1fd6f9=_0x1ff3f4;var _0x34815d,_0x211a67,_0x40e71d,_0x6681a4;const _0x5ac9d2=this['_instanceService'][_0x1fd6f9(0x333)]();if(!_0x5ac9d2)throw new Error(_0x1fd6f9(0x1d9));const _0x3f5c48=((_0x34815d=this['_configService'][_0x1fd6f9(0x20d)](_0x55adaf))!=null?_0x34815d:_0x39831)+'/'+_0x5185a8+'/run/'+_0x32ab5b,_0x131f80=new URL(window[_0x1fd6f9(0x399)][_0x1fd6f9(0x315)]),_0x59a3b6={'scriptId':_0x5185a8,'runId':(_0x211a67=_0x131f80['searchParams']['get']('runId'))!=null?_0x211a67:'','function':_0x32ab5b,'unitId':_0x5ac9d2[_0x1fd6f9(0x330)](),'argsOfFunction':JSON[_0x1fd6f9(0x22c)](_0x1bd827),'invokeId':(_0x40e71d=_0x219fb5['invokeId'])!=null?_0x40e71d:'','executionId':(_0x6681a4=_0x219fb5[_0x1fd6f9(0x1cd)])!=null?_0x6681a4:''};try{const _0x5958e8=await this[_0x1fd6f9(0x268)]['post'](_0x3f5c48,{'body':_0x59a3b6});return _0x5958e8['body'][_0x1fd6f9(0x1e3)]&&_0x5958e8[_0x1fd6f9(0x1dd)][_0x1fd6f9(0x1e3)][_0x1fd6f9(0x249)]!==Mt['OK']?'Failed':_0x5958e8['body'][_0x1fd6f9(0x2af)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x2fc716),be(0x1,_0x46eb60(_0x4d79f7)),be(0x2,_0x15fb96)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x6d23d9=_0x3df2;(function(_0x245e88,_0x4d7426){const _0x17a142=_0x3df2,_0x1a27d8=_0x245e88();while(!![]){try{const _0x57bec5=-parseInt(_0x17a142(0x28e))/0x1*(-parseInt(_0x17a142(0x23e))/0x2)+parseInt(_0x17a142(0x35e))/0x3+-parseInt(_0x17a142(0x372))/0x4+-parseInt(_0x17a142(0x351))/0x5*(parseInt(_0x17a142(0x217))/0x6)+-parseInt(_0x17a142(0x259))/0x7*(-parseInt(_0x17a142(0x3c0))/0x8)+parseInt(_0x17a142(0x2f2))/0x9+parseInt(_0x17a142(0x308))/0xa*(-parseInt(_0x17a142(0x250))/0xb);if(_0x57bec5===_0x4d7426)break;else _0x1a27d8['push'](_0x1a27d8['shift']());}catch(_0x5ad908){_0x1a27d8['push'](_0x1a27d8['shift']());}}}(_0xbfff,0xb9838));var $t=Object[_0x6d23d9(0x290)],xt=(_0x273586,_0x2f72e3,_0x20860d)=>_0x2f72e3 in _0x273586?$t(_0x273586,_0x2f72e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20860d}):_0x273586[_0x2f72e3]=_0x20860d,_=(_0x357ca8,_0x383256,_0x2309cc)=>xt(_0x357ca8,typeof _0x383256!=_0x6d23d9(0x342)?_0x383256+'':_0x383256,_0x2309cc);import{MemberService as _0x3ac285,SessionStatus as _0x38103e,CollaborationSessionService as _0x54bd3e,CollaborationStatus as _0x275594,CollaborationController as _0x117fe2,ILocalCacheService as _0x4941b6,CollaborationUIEventService as _0x123e0f,CollaborationUIEventId as _0xf8e08c,DataLoaderService as _0x59a52d,DocCollaborationEntity as _0x5d4842,getLocalCacheKey as _0x4cee9f,LOCAL_CACHE_INTERVAL as _0x107b58,LOCAL_CACHE_INTERVAL_KEY as _0xecf43e,UniverCollaborationClientPlugin as _0x2364cd,CollaborationSocketService as _0x194cf9,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x16deff,DEFAULT_WS_SESSION_TICKET_URL as _0x5b5819,UnitStatus as _0x3670a8,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3e9525,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5ffefe}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4993e4,Disposable as _0x385f9d,DOC_RANGE_TYPE as _0x4a51c3,Inject as _0x16bcc8,Injector as _0x5ca9d3,IUniverInstanceService as _0x34c0fa,ICommandService as _0x8b71c7,debounce as _0x7b222b,Rectangle as _0x5a57d7,DisposableCollection as _0x57f40b,toDisposable as _0x4ebc66,UniverInstanceType as _0x17521d,Tools as _0x563e2c,COLORS as _0x398dde,ColorKit as _0x3ab3c8,ThemeService as _0x3ebf84,fromEventSubject as _0x217db0,LocaleService as _0x5b0713,createIdentifier as _0x3ff931,ILogService as _0x5306cc,Optional as _0x2c978a,Workbook as _0x258f86,CommandType as _0x59f8cc,IConfigService as _0x20e78e,ILocalStorageService as _0x514075,DependentOn as _0x1eaa73,Plugin as _0x5a093d,merge as _0x5f54ef,registerDependencies as _0x422ad4,mergeOverrideWithDependencies as _0x160940,touchDependencies as _0x4b66ab,generateRandomId as _0x333a28}from'@univerjs/core';import{Shape as _0x2a1783,Rect as _0x1fd177,getColor as _0x2b0cc7,RegularPolygon as _0x432836,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0xa70757,Vector2 as _0x4e152b,SHEET_VIEWPORT_KEY as _0x39e851,IRenderManagerService as _0x82509f}from'@univerjs/engine-render';import{ISocketService as _0x5a65ce,WebSocketService as _0x6c3634,HTTPService as _0x3ff269}from'@univerjs/network';import{IDocClipboardService as _0x42dec6,NodePositionConvertToCursor as _0x3184c7,NodePositionConvertToRectRange as _0x4b086b,TEXT_RANGE_LAYER_INDEX as _0x5e4de2,SetDocZoomRatioOperation as _0x316e61,DocIMEInputManagerService as _0x521cdb,DocStateChangeManagerService as _0x260d63}from'@univerjs/docs-ui';import{IImageIoService as _0x5c00c3}from'@univerjs/drawing';import{BehaviorSubject as _0x7acae5,debounceTime as _0x5839e5,takeUntil as _0x15e276,Subject as _0x2c2897,filter as _0x1ff83c,switchMap as _0x5d8085,merge as _0x4c40be,combineLatest as _0x3228bc,of as _0x4aeac4,fromEvent as _0x24ef00,shareReplay as _0x535e67,mapTo as _0x3dd3ea,distinctUntilChanged as _0x582f79}from'rxjs';import{SetTextSelectionsOperation as _0x425495,RichTextEditingMutation as _0x496585,DocSelectionManagerService as _0xea176c,DocSkeletonManagerService as _0x38918c}from'@univerjs/docs';import{ITransformService as _0x595647,CollaborationEvent as _0x5914a7,isTransformMutationFailure as _0x2c68de,isTransformMutationsWithChangesetSuccess as _0x5930b2,RevisionService as _0x11b3da,ISnapshotServerService as _0x450326}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x16ed48,serializeRangeWithSheet as _0x4e634c}from'@univerjs/engine-formula';import{RefRangeService as _0x4321e4,SetSelectionsOperation as _0x54c2db,SheetsSelectionsService as _0x2c2d0b,EffectRefRangId as _0x3efe9b,handleIRemoveRow as _0x233041,handleIRemoveCol as _0x5a193c,handleMoveRange as _0x426ae0,handleInsertRow as _0x4bb262,handleInsertRangeMoveRight as _0x2e18be,handleInsertRangeMoveDown as _0x214ae3,handleInsertCol as _0x39f363,handleDeleteRangeMoveUp as _0x1e9f01,handleDeleteRangeMoveLeft as _0x231ab6,runRefRangeMutations as _0x5197c6,SetWorksheetActivateCommand as _0x336570}from'@univerjs/sheets';import{map as _0x4fb0bc,filter as _0x41418d,throttleTime as _0x22b391,takeUntil as _0x2924c0,switchMap as _0x4f6a08}from'rxjs/operators';import{SheetSkeletonManagerService as _0x488a67,getCoordByCell as _0x164ade,getSheetObject as _0x5b3555}from'@univerjs/sheets-ui';import{jsx as _0x55ce38,jsxs as _0x167908}from'react/jsx-runtime';import{useObservable as _0x6565b6,useDependency as _0xb71e6b,IUIPartsService as _0x57073e,BuiltInUIPart as _0x24499e,connectInjector as _0x486834,IBeforeCloseService as _0x29c249,IMessageService as _0x431071,INotificationService as _0x53b322}from'@univerjs/ui';import{Tooltip as _0xddffb3,clsx as _0x12143e,MessageType as _0x25cff5}from'@univerjs/design';import{forwardRef as _0x3d3f18,useRef as _0x3aa86e,createElement as _0x3f4851,useCallback as _0x2912a7}from'react';import{IRemoteInstanceService as _0x1bb23b}from'@univerjs/rpc';var ci=Object[_0x6d23d9(0x25e)],li=(_0x497ab7,_0x2d4349,_0xfa5794,_0x2b005e)=>{const _0x5cabc8=_0x6d23d9;for(var _0x290b91=_0x2b005e>0x1?void 0x0:_0x2b005e?ci(_0x2d4349,_0xfa5794):_0x2d4349,_0x147990=_0x497ab7[_0x5cabc8(0x327)]-0x1,_0x3b0f9d;_0x147990>=0x0;_0x147990--)(_0x3b0f9d=_0x497ab7[_0x147990])&&(_0x290b91=_0x3b0f9d(_0x290b91)||_0x290b91);return _0x290b91;},Je=(_0x163750,_0x4849b5)=>(_0x5837d9,_0x1704eb)=>_0x4849b5(_0x5837d9,_0x1704eb,_0x163750);let Ne=class extends _0x4993e4{constructor(_0x5a31fc,_0x4b45d6){const _0x2fd999=_0x6d23d9;super(),this[_0x2fd999(0x265)]=_0x5a31fc,this['_imageIoService']=_0x4b45d6,this[_0x2fd999(0x2e0)]();}['_init'](){const _0x518278=_0x6d23d9,_0x364144=this;this[_0x518278(0x1d9)](this[_0x518278(0x265)]['addClipboardHook']({'onBeforePasteImage':async _0x140877=>{const _0x2a4f2e=_0x518278,_0x4eb0e9=await _0x364144['_imageIoService'][_0x2a4f2e(0x2f9)](_0x140877);return _0x4eb0e9?{'source':_0x4eb0e9['source'],'imageSourceType':_0x4eb0e9['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x42dec6),Je(0x1,_0x5c00c3)],Ne);const Ze=[_0x6d23d9(0x1df),'jiqing.500',_0x6d23d9(0x389),_0x6d23d9(0x209),_0x6d23d9(0x3da),_0x6d23d9(0x3cd)];class ke extends _0x385f9d{constructor(){const _0x4c6601=_0x6d23d9;super(...arguments),_(this,_0x4c6601(0x239),new Map()),_(this,_0x4c6601(0x2ac),0x0);}['assignAColorForMemberID'](_0x4c6723){const _0x46bc20=_0x6d23d9;if(this[_0x46bc20(0x239)][_0x46bc20(0x3c8)](_0x4c6723))return this['_assignedColors'][_0x46bc20(0x2bf)](_0x4c6723);const _0x136367=Ze[this[_0x46bc20(0x2ac)]];return this[_0x46bc20(0x2ac)]=(this[_0x46bc20(0x2ac)]+0x1)%Ze[_0x46bc20(0x327)],this[_0x46bc20(0x239)][_0x46bc20(0x286)](_0x4c6723,_0x136367),_0x136367;}}function Tt(_0x7f81ff){const _0x1f86e3=_0x6d23d9;let _0x403d1c='';for(const _0x2b747b of _0x7f81ff){const {startOffset:_0x1e63e2,endOffset:_0x21292c,isActive:_0x4ff12a,rangeType:_0x3d06d4,segmentId:_0x3a194c,segmentPage:_0x56888b}=_0x2b747b;_0x403d1c[_0x1f86e3(0x327)]&&(_0x403d1c+=','),_0x403d1c+=_0x1e63e2+':'+_0x21292c+':'+(_0x4ff12a?'1':'0')+':'+_0x3d06d4+':'+_0x3a194c+':'+_0x56888b;}return _0x403d1c;}function _i(_0x56e98a){const _0x2d33e9=_0x6d23d9,_0x4b215b=_0x56e98a['split'](','),_0x317446=[];for(const _0x1f7356 of _0x4b215b){const [_0x593f9b,_0x11ea6e,_0x3a3032,_0x3cc6e4,_0x4d82f3,_0x1e5755]=_0x1f7356[_0x2d33e9(0x2e3)](':');_0x317446['push']({'startOffset':Number(_0x593f9b),'endOffset':Number(_0x11ea6e),'collapsed':_0x593f9b===_0x11ea6e,'isActive':_0x3a3032==='1','rangeType':_0x3cc6e4===_0x4a51c3[_0x2d33e9(0x2d7)]?_0x4a51c3[_0x2d33e9(0x2d7)]:_0x4a51c3[_0x2d33e9(0x36c)],'segmentId':typeof _0x4d82f3==_0x2d33e9(0x277)?String(_0x4d82f3):'','segmentPage':Number(_0x1e5755!=null?_0x1e5755:-0x1)});}return _0x317446[_0x2d33e9(0x24e)](_0x7a3045=>_0x7a3045[_0x2d33e9(0x2e8)])||(_0x317446[0x0]['isActive']=!0x0),_0x317446;}class He extends _0x4993e4{constructor(){const _0x4cd0af=_0x6d23d9;super(...arguments),_(this,'_collabCursorState$',new _0x7acae5(null)),_(this,_0x4cd0af(0x3a6),this[_0x4cd0af(0x25b)][_0x4cd0af(0x2f8)]());}[_0x6d23d9(0x3c2)](_0x5dc50a){const _0x319f08=_0x6d23d9,{unitID:_0x18ecc8,memberID:_0x48ac06,textRanges:_0x316ccc}=_0x5dc50a,_0x4e92ae=Tt(_0x316ccc);if(_0x4e92ae==='')return;const _0x11aa3f={'unitID':_0x18ecc8,'memberID':_0x48ac06,'selection':_0x4e92ae};this[_0x319f08(0x25b)][_0x319f08(0x356)](_0x11aa3f);}}var hi=Object[_0x6d23d9(0x25e)],ui=(_0x2b789d,_0x5c36c5,_0x49eecd,_0x41ba3e)=>{for(var _0x4a5e8b=_0x41ba3e>0x1?void 0x0:_0x41ba3e?hi(_0x5c36c5,_0x49eecd):_0x5c36c5,_0x2e3f77=_0x2b789d['length']-0x1,_0x37d1ce;_0x2e3f77>=0x0;_0x2e3f77--)(_0x37d1ce=_0x2b789d[_0x2e3f77])&&(_0x4a5e8b=_0x37d1ce(_0x4a5e8b)||_0x4a5e8b);return _0x4a5e8b;},P=(_0x50bedb,_0x1b4cf3)=>(_0x5209a2,_0x1bb92f)=>_0x1b4cf3(_0x5209a2,_0x1bb92f,_0x50bedb);const di=0x12c,fi=0x64;let Ue=class extends _0x4993e4{constructor(_0x1bfe31,_0x1d73b6,_0x476b79,_0x557782,_0x32b083,_0x4266e5,_0x2a3432,_0x5b3302,_0x191fd7){const _0x9c0a0e=_0x6d23d9;super(),_(this,'_online',!0x1),_(this,_0x9c0a0e(0x2e0),!0x1),_(this,_0x9c0a0e(0x1ff),new _0x7acae5(new Map())),_(this,_0x9c0a0e(0x336),this[_0x9c0a0e(0x1ff)][_0x9c0a0e(0x2f8)]()),_(this,_0x9c0a0e(0x3d6),new _0x7acae5([])),_(this,_0x9c0a0e(0x1e6),this['_roomMembers$'][_0x9c0a0e(0x22c)](_0x5839e5(di))),_(this,_0x9c0a0e(0x324),_0x7b222b(_0x32b5ee=>{const _0x31688a=_0x9c0a0e,_0xad0aea={'eventID':_0x5914a7[_0x31688a(0x2f0)],'data':{'unitID':this[_0x31688a(0x1fe)],'memberID':this[_0x31688a(0x2da)]['getMemberID'](),'selection':Tt(_0x32b5ee)}};this[_0x31688a(0x2da)][_0x31688a(0x2b5)](_0xad0aea,this['unitID']);},fi)),(this[_0x9c0a0e(0x1fe)]=_0x1bfe31,this['_session']=_0x1d73b6,this[_0x9c0a0e(0x266)]=_0x476b79,this[_0x9c0a0e(0x341)]=_0x557782,this[_0x9c0a0e(0x297)]=_0x32b083,this[_0x9c0a0e(0x24d)]=_0x4266e5,this['_transformService']=_0x2a3432,this[_0x9c0a0e(0x243)]=_0x5b3302,this[_0x9c0a0e(0x317)]=_0x191fd7);}get[_0x6d23d9(0x3b7)](){const _0x1b2022=_0x6d23d9;return this[_0x1b2022(0x1ff)][_0x1b2022(0x3bd)]();}get[_0x6d23d9(0x2ee)](){const _0x4a2811=_0x6d23d9;return this[_0x4a2811(0x3d6)]['getValue']();}[_0x6d23d9(0x32d)](){const _0x47ed2d=_0x6d23d9;super[_0x47ed2d(0x32d)](),this[_0x47ed2d(0x1ff)][_0x47ed2d(0x356)](new Map()),this['_cursorInfo$'][_0x47ed2d(0x2c5)](),this['_roomMembers$'][_0x47ed2d(0x356)]([]),this[_0x47ed2d(0x3d6)][_0x47ed2d(0x2c5)]();}['init'](){const _0x301511=_0x6d23d9;this['_init']||(this[_0x301511(0x2e0)]=!0x0,this['_session'][_0x301511(0x1da)][_0x301511(0x22c)](_0x15e276(this[_0x301511(0x360)]))[_0x301511(0x2d9)](_0x4bc782=>{const _0x42e5e1=_0x301511;_0x4bc782===_0x38103e[_0x42e5e1(0x1de)]?this[_0x42e5e1(0x32f)]():this['_toggleOffline']();}),this[_0x301511(0x2da)][_0x301511(0x2e9)]['pipe'](_0x15e276(this[_0x301511(0x360)]))[_0x301511(0x2d9)](_0x2282ec=>{const _0xa5885a=_0x301511,_0x2fcdea=_0x2282ec[_0xa5885a(0x329)];_0x2fcdea===_0x5914a7[_0xa5885a(0x2f0)]&&this[_0xa5885a(0x2b7)](_0x2282ec),_0x2fcdea===_0x5914a7[_0xa5885a(0x220)]&&this[_0xa5885a(0x2eb)](_0x2282ec);}),this['disposeWithMe'](this[_0x301511(0x317)][_0x301511(0x2b8)](_0x401d52=>{const _0x52f130=_0x301511,_0x45164a=_0x401d52[_0x52f130(0x1f7)];_0x45164a!=null&&this[_0x52f130(0x233)]&&_0x401d52['id']===_0x425495['id']&&_0x45164a[_0x52f130(0x323)]===this[_0x52f130(0x1fe)]&&_0x45164a[_0x52f130(0x3d5)]===!0x1&&_0x45164a[_0x52f130(0x363)][_0x52f130(0x327)]>0x0&&this['_updateLocalCursor'](_0x45164a[_0x52f130(0x363)]);})),this[_0x301511(0x24d)][_0x301511(0x3a6)][_0x301511(0x22c)](_0x15e276(this[_0x301511(0x360)]))[_0x301511(0x2d9)](_0xd905e0=>{const _0x3b2244=_0x301511;if((_0xd905e0==null?void 0x0:_0xd905e0[_0x3b2244(0x1fe)])!==this[_0x3b2244(0x1fe)])return;const _0x275d5b={'eventID':_0x5914a7[_0x3b2244(0x2f0)],'data':_0xd905e0};this[_0x3b2244(0x2b7)](_0x275d5b);}),this['disposeWithMe'](this[_0x301511(0x317)][_0x301511(0x2b8)](_0x14b8fe=>{const _0x60afc6=_0x301511;if(_0x14b8fe['params']==null)return;const _0x49079b=_0x14b8fe[_0x60afc6(0x1f7)];if(_0x14b8fe['id']!==_0x496585['id']||_0x49079b[_0x60afc6(0x323)]!==this['unitID'])return;const _0x5ac809={'id':_0x60afc6(0x3b2),'params':_0x49079b},_0x38f6d2=this[_0x60afc6(0x3b7)];for(const [_0x4d64e3,_0x2d0640]of _0x38f6d2){const _0xc1310a={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x60afc6(0x1fe)],'actions':null,'textRanges':_0x2d0640[_0x60afc6(0x363)]}},_0x5c5473=this[_0x60afc6(0x349)][_0x60afc6(0x39b)](_0x5ac809,_0xc1310a,!0x1);if(_0x2c68de(_0x5c5473))throw _0x5c5473['error'];_0x38f6d2[_0x60afc6(0x286)](_0x4d64e3,{..._0x2d0640,'ranges':_0x5c5473[_0x60afc6(0x379)][_0x60afc6(0x1f7)][_0x60afc6(0x2d1)]});}queueMicrotask(()=>{const _0x3cdb84=_0x60afc6;this[_0x3cdb84(0x1ff)][_0x3cdb84(0x356)](_0x38f6d2);});})));}['_onCursorUpdate'](_0x1b872b){const _0x1c4cc1=_0x6d23d9;var _0x110013,_0x475990;const {memberID:_0x512353,selection:_0x2addc1}=_0x1b872b[_0x1c4cc1(0x385)],_0x2eeeec=_i(_0x2addc1),_0x1ca65e=(_0x475990=(_0x110013=this[_0x1c4cc1(0x297)][_0x1c4cc1(0x267)](this['unitID'],_0x512353))==null?void 0x0:_0x110013[_0x1c4cc1(0x261)])!=null?_0x475990:_0x1c4cc1(0x278),_0x3b6428={'color':this[_0x1c4cc1(0x341)][_0x1c4cc1(0x358)](_0x512353),'name':_0x1ca65e,'ranges':_0x2eeeec},_0x4a8594=this['cursorInfo'];_0x4a8594[_0x1c4cc1(0x286)](_0x512353,_0x3b6428),this[_0x1c4cc1(0x1ff)]['next'](_0x4a8594);}['_onCursorDelete'](_0xf2315a){const _0x24d9c7=_0x6d23d9,{memberID:_0x41ebd9}=_0xf2315a['data'],_0x37966b=this['cursorInfo'];_0x37966b[_0x24d9c7(0x311)](_0x41ebd9),this[_0x24d9c7(0x1ff)]['next'](_0x37966b);}[_0x6d23d9(0x32f)](){const _0x1fb83f=_0x6d23d9;var _0xbdb97c;if(this[_0x1fb83f(0x233)]=!0x0,((_0xbdb97c=this[_0x1fb83f(0x243)][_0x1fb83f(0x2f5)]())==null?void 0x0:_0xbdb97c[_0x1fb83f(0x2bc)]())!==this[_0x1fb83f(0x1fe)])return;const _0x3a1927=this[_0x1fb83f(0x266)]['get'](_0xea176c)[_0x1fb83f(0x25f)]();Array[_0x1fb83f(0x35a)](_0x3a1927)&&_0x3a1927[_0x1fb83f(0x327)]>0x0&&this[_0x1fb83f(0x324)](_0x3a1927);}['_toggleOffline'](){const _0x3af597=_0x6d23d9;this[_0x3af597(0x233)]=!0x1;}};Ue=ui([P(0x2,_0x16bcc8(_0x5ca9d3)),P(0x3,_0x16bcc8(ke)),P(0x4,_0x16bcc8(_0x3ac285)),P(0x5,_0x16bcc8(He)),P(0x6,_0x595647),P(0x7,_0x34c0fa),P(0x8,_0x8b71c7)],Ue);var Si=Object[_0x6d23d9(0x25e)],mi=(_0xe98e6c,_0x2daee0,_0x186d3e,_0x6b37fe)=>{const _0x5d9955=_0x6d23d9;for(var _0x4e68bc=_0x6b37fe>0x1?void 0x0:_0x6b37fe?Si(_0x2daee0,_0x186d3e):_0x2daee0,_0x3aecf8=_0xe98e6c[_0x5d9955(0x327)]-0x1,_0x22551b;_0x3aecf8>=0x0;_0x3aecf8--)(_0x22551b=_0xe98e6c[_0x3aecf8])&&(_0x4e68bc=_0x22551b(_0x4e68bc)||_0x4e68bc);return _0x4e68bc;},x=(_0x240e72,_0x3f25d7)=>(_0x54c061,_0x539064)=>_0x3f25d7(_0x54c061,_0x539064,_0x240e72);const Ii=0x12c,gi=0x64,vi=()=>{let _0xffbf8=[],_0x368440=!0x1;return _0x3fe769=>{_0xffbf8['push'](_0x3fe769),_0x368440||(_0x368440=!0x0,setTimeout(()=>{const _0x3f421c=_0x3df2;_0xffbf8[_0x3f421c(0x3b3)](_0x59b781=>_0x59b781()),_0xffbf8=[],_0x368440=!0x1;}));};};let Me=class extends _0x4993e4{constructor(_0x1f3568,_0x3e7519,_0x4719fa,_0x1e65a7,_0x552986,_0x5f19fd,_0x2ebf12,_0x552ee7){const _0x1c58ca=_0x6d23d9;super(),_(this,_0x1c58ca(0x233),!0x1),_(this,_0x1c58ca(0x2e0),!0x1),_(this,_0x1c58ca(0x1ff),new _0x7acae5(new Map())),_(this,_0x1c58ca(0x336),this['_cursorInfo$'][_0x1c58ca(0x2f8)]()),_(this,'_roomMembers$',new _0x7acae5([])),_(this,'roomMembers$',this['_roomMembers$'][_0x1c58ca(0x22c)](_0x5839e5(Ii))),_(this,_0x1c58ca(0x324),_0x7b222b((_0x20b7db,_0x418239)=>{const _0x52c7f6=_0x1c58ca,_0xc32ee1={'eventID':_0x5914a7[_0x52c7f6(0x2f0)],'data':{'unitID':this[_0x52c7f6(0x1fe)],'memberID':this[_0x52c7f6(0x2da)]['getMemberID'](),'selection':_0x4e634c(_0x20b7db,_0x418239[_0x52c7f6(0x2c3)])}};this[_0x52c7f6(0x2da)][_0x52c7f6(0x2b5)](_0xc32ee1,this[_0x52c7f6(0x1fe)]);},gi)),(this[_0x1c58ca(0x1fe)]=_0x1f3568,this[_0x1c58ca(0x2da)]=_0x3e7519,this[_0x1c58ca(0x266)]=_0x4719fa,this['_colorAssignService']=_0x1e65a7,this['_memberService']=_0x552986,this['_univerInstanceService']=_0x5f19fd,this[_0x1c58ca(0x317)]=_0x2ebf12,this[_0x1c58ca(0x390)]=_0x552ee7);}get['cursorInfo'](){const _0x116008=_0x6d23d9;return this[_0x116008(0x1ff)][_0x116008(0x3bd)]();}get['roomMembers'](){const _0x3c11ff=_0x6d23d9;return this[_0x3c11ff(0x3d6)]['getValue']();}[_0x6d23d9(0x32d)](){const _0x4ee48e=_0x6d23d9;super[_0x4ee48e(0x32d)](),this[_0x4ee48e(0x1ff)][_0x4ee48e(0x356)](new Map()),this[_0x4ee48e(0x1ff)]['complete'](),this[_0x4ee48e(0x3d6)][_0x4ee48e(0x356)]([]),this[_0x4ee48e(0x3d6)][_0x4ee48e(0x2c5)]();}['init'](){const _0x29e4f3=_0x6d23d9;this[_0x29e4f3(0x2e0)]||(this[_0x29e4f3(0x2e0)]=!0x0,this[_0x29e4f3(0x2da)][_0x29e4f3(0x1da)][_0x29e4f3(0x22c)](_0x15e276(this[_0x29e4f3(0x360)]))[_0x29e4f3(0x2d9)](_0x4849f2=>{const _0x499e0c=_0x29e4f3;_0x4849f2===_0x38103e['ONLINE']?this['_toggleOnline']():this[_0x499e0c(0x2fe)]();}),this[_0x29e4f3(0x2da)]['event$'][_0x29e4f3(0x22c)](_0x15e276(this[_0x29e4f3(0x360)]))[_0x29e4f3(0x2d9)](_0x5dba0d=>{const _0x119cfc=_0x29e4f3,_0x296fd0=_0x5dba0d['eventID'];_0x296fd0===_0x5914a7[_0x119cfc(0x2f0)]&&this[_0x119cfc(0x2b7)](_0x5dba0d),_0x296fd0===_0x5914a7[_0x119cfc(0x220)]&&this['_onCursorDelete'](_0x5dba0d);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x29e4f3(0x317)][_0x29e4f3(0x2b8)](_0x3648a3=>{const _0x17228a=_0x29e4f3;if(this['_online']&&_0x3648a3['id']===_0x54c2db['id']&&_0x3648a3[_0x17228a(0x1f7)][_0x17228a(0x323)]===this[_0x17228a(0x1fe)]){const _0x3c6fec=_0x3648a3['params'];this[_0x17228a(0x324)](_0x3c6fec['subUnitId'],_0x3c6fec[_0x17228a(0x2d5)][0x0]);}})));}['_onCursorUpdate'](_0x109e8b){const _0x4effa=_0x6d23d9;var _0x124461,_0x24ae43;const {memberID:_0x2a23ab,selection:_0xfd8aca}=_0x109e8b[_0x4effa(0x385)],{sheetName:_0x3a7dd9,range:_0x34786d}=_0x16ed48(_0xfd8aca),_0x2060fd={'name':(_0x24ae43=(_0x124461=this[_0x4effa(0x297)][_0x4effa(0x267)](this[_0x4effa(0x1fe)],_0x2a23ab))==null?void 0x0:_0x124461[_0x4effa(0x261)])!=null?_0x24ae43:_0x4effa(0x278),'range':this[_0x4effa(0x1e1)](_0x3a7dd9,_0x34786d),'sheetID':_0x3a7dd9,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x2a23ab),'selection':_0xfd8aca},_0x27d84a=this[_0x4effa(0x3b7)];_0x27d84a['set'](_0x2a23ab,_0x2060fd),this[_0x4effa(0x1ff)][_0x4effa(0x356)](_0x27d84a);}[_0x6d23d9(0x2eb)](_0x19fd37){const _0x3f74db=_0x6d23d9,{memberID:_0x3cb27e}=_0x19fd37['data'],_0x456398=this[_0x3f74db(0x3b7)];_0x456398[_0x3f74db(0x311)](_0x3cb27e),this['_cursorInfo$'][_0x3f74db(0x356)](_0x456398);}[_0x6d23d9(0x1e1)](_0x34b38e,_0x2bbcc3){const _0x5659e7=_0x6d23d9;var _0xcc68b0,_0xac97c4;const _0x552eae=(_0xac97c4=(_0xcc68b0=this['_univerInstanceService'][_0x5659e7(0x397)](this[_0x5659e7(0x1fe)]))==null?void 0x0:_0xcc68b0[_0x5659e7(0x237)](_0x34b38e))==null?void 0x0:_0xac97c4[_0x5659e7(0x1f3)]();return(_0x552eae==null?void 0x0:_0x552eae['find'](_0x540578=>_0x5a57d7['contains'](_0x540578,_0x2bbcc3)))||_0x2bbcc3;}[_0x6d23d9(0x29d)](){const _0x414a5c=_0x6d23d9,_0x47894c=new _0x57f40b(),_0x26557c=vi(),_0x1d3f7a=()=>{const _0x4a10db=_0x3df2;_0x47894c[_0x4a10db(0x32d)]();const _0x40cf39=(_0x1f2631,_0x3b7086,_0x423038,_0x590dc6)=>{const _0x2e8612=_0x4a10db;let _0x457246=[];switch(_0x1f2631['id']){case _0x3efe9b[_0x2e8612(0x27e)]:{_0x457246=_0x231ab6(_0x1f2631,_0x590dc6);break;}case _0x3efe9b[_0x2e8612(0x2c8)]:{_0x457246=_0x1e9f01(_0x1f2631,_0x590dc6);break;}case _0x3efe9b['InsertColCommandId']:{_0x457246=_0x39f363(_0x1f2631,_0x590dc6);break;}case _0x3efe9b[_0x2e8612(0x2a7)]:{_0x457246=_0x214ae3(_0x1f2631,_0x590dc6);break;}case _0x3efe9b[_0x2e8612(0x2a6)]:{_0x457246=_0x2e18be(_0x1f2631,_0x590dc6);break;}case _0x3efe9b[_0x2e8612(0x3d7)]:{_0x457246=_0x4bb262(_0x1f2631,_0x590dc6);break;}case _0x3efe9b[_0x2e8612(0x3be)]:{_0x457246=_0x426ae0(_0x1f2631,_0x590dc6);break;}case _0x3efe9b[_0x2e8612(0x223)]:{_0x457246=_0x5a193c(_0x1f2631,_0x590dc6);break;}case _0x3efe9b['RemoveRowCommandId']:{_0x457246=_0x233041(_0x1f2631,_0x590dc6);break;}}const _0x563dbf=_0x5197c6(_0x457246,_0x590dc6),_0x1dff19=this[_0x2e8612(0x3b7)][_0x2e8612(0x2bf)](_0x3b7086);if(_0x1dff19&&_0x563dbf){const _0x19af19={..._0x1dff19,'range':_0x563dbf};this[_0x2e8612(0x3b7)][_0x2e8612(0x286)](_0x3b7086,_0x19af19),_0x26557c(()=>{const _0x48e482=_0x2e8612,_0x58e566=this[_0x48e482(0x390)][_0x48e482(0x247)](_0x563dbf,_0x3c90a5=>(_0x58e566['dispose'](),_0x40cf39(_0x3c90a5,_0x3b7086,_0x423038,_0x563dbf)));_0x47894c[_0x48e482(0x371)](_0x58e566);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4a10db(0x3b3)]((_0x2d2ab1,_0x211c31)=>{const _0x8cd82f=_0x4a10db,{range:_0x305d44,sheetID:_0x394398}=_0x2d2ab1,_0x26c3cf=this[_0x8cd82f(0x390)][_0x8cd82f(0x247)](_0x305d44,_0x14deaf=>(_0x26c3cf['dispose'](),_0x40cf39(_0x14deaf,_0x211c31,_0x394398,_0x305d44)));_0x47894c['add'](_0x26c3cf);});};this['disposeWithMe'](_0x4ebc66(this[_0x414a5c(0x1ff)]['subscribe'](()=>{_0x1d3f7a();})));}['_toggleOnline'](){const _0x5217dc=_0x6d23d9;var _0x3ddfdc,_0x33dfce;if(this[_0x5217dc(0x233)]=!0x0,((_0x3ddfdc=this[_0x5217dc(0x243)][_0x5217dc(0x2f5)]())==null?void 0x0:_0x3ddfdc['getUnitId']())!==this[_0x5217dc(0x1fe)])return;const _0x2a30c4=(_0x33dfce=this[_0x5217dc(0x266)][_0x5217dc(0x2bf)](_0x2c2d0b)[_0x5217dc(0x1f0)]())==null?void 0x0:_0x33dfce[0x0],_0x4a11e7=this[_0x5217dc(0x243)]['getCurrentUnitForType'](_0x17521d[_0x5217dc(0x334)])[_0x5217dc(0x252)]();_0x2a30c4&&_0x4a11e7&&this[_0x5217dc(0x324)](_0x4a11e7[_0x5217dc(0x2f7)](),_0x2a30c4);}[_0x6d23d9(0x2fe)](){const _0x32124f=_0x6d23d9;this[_0x32124f(0x233)]=!0x1;}};Me=mi([x(0x2,_0x16bcc8(_0x5ca9d3)),x(0x3,_0x16bcc8(ke)),x(0x4,_0x16bcc8(_0x3ac285)),x(0x5,_0x34c0fa),x(0x6,_0x8b71c7),x(0x7,_0x16bcc8(_0x4321e4))],Me);var pi=Object[_0x6d23d9(0x25e)],Ci=(_0xe0098c,_0x7f106b,_0x31367c,_0x3031cc)=>{const _0x289984=_0x6d23d9;for(var _0x4c2006=_0x3031cc>0x1?void 0x0:_0x3031cc?pi(_0x7f106b,_0x31367c):_0x7f106b,_0xc9ed4c=_0xe0098c[_0x289984(0x327)]-0x1,_0x5545b7;_0xc9ed4c>=0x0;_0xc9ed4c--)(_0x5545b7=_0xe0098c[_0xc9ed4c])&&(_0x4c2006=_0x5545b7(_0x4c2006)||_0x4c2006);return _0x4c2006;},Se=(_0x555ddb,_0x529857)=>(_0x537408,_0x4ff2c7)=>_0x529857(_0x537408,_0x4ff2c7,_0x555ddb);let H=class extends _0x4993e4{constructor(_0x610cb,_0x4afb28,_0x214873){const _0x14d5db=_0x6d23d9;super(),_(this,_0x14d5db(0x228),new Map()),_(this,_0x14d5db(0x23c),new _0x2c2897()),(this[_0x14d5db(0x243)]=_0x610cb,this[_0x14d5db(0x266)]=_0x4afb28,this[_0x14d5db(0x2a2)]=_0x214873,this['_init']());}['dispose'](){const _0x565a78=_0x6d23d9;super[_0x565a78(0x32d)](),this[_0x565a78(0x23c)][_0x565a78(0x2c5)](),this['_entities'][_0x565a78(0x3b3)](_0x34ca9d=>_0x34ca9d[_0x565a78(0x32d)]());}[_0x6d23d9(0x29c)](_0xc8bb48){const _0x3c9a06=_0x6d23d9;return this[_0x3c9a06(0x228)][_0x3c9a06(0x3c8)](_0xc8bb48)?this[_0x3c9a06(0x228)]['get'](_0xc8bb48)[_0x3c9a06(0x336)]:this[_0x3c9a06(0x23c)][_0x3c9a06(0x22c)](_0x1ff83c(_0x44a56a=>_0x44a56a[_0x3c9a06(0x1fe)]===_0xc8bb48),_0x5d8085(_0x3ae9a6=>_0x3ae9a6[_0x3c9a06(0x336)]));}[_0x6d23d9(0x2e0)](){const _0x40dee2=_0x6d23d9;this[_0x40dee2(0x243)][_0x40dee2(0x348)](_0x17521d[_0x40dee2(0x334)])[_0x40dee2(0x22c)](_0x15e276(this[_0x40dee2(0x360)]))[_0x40dee2(0x2d9)](async _0x4aff70=>{const _0x14c79d=_0x40dee2,_0x1d5b13=_0x4aff70[_0x14c79d(0x2bc)](),_0x1a2ae2=await this['_startSheetCollabCursor'](_0x1d5b13);this[_0x14c79d(0x23c)][_0x14c79d(0x356)](_0x1a2ae2),this[_0x14c79d(0x228)]['set'](_0x1d5b13,_0x1a2ae2);}),this['_univerInstanceService'][_0x40dee2(0x348)](_0x17521d[_0x40dee2(0x24a)])[_0x40dee2(0x22c)](_0x15e276(this[_0x40dee2(0x360)]))[_0x40dee2(0x22c)](_0x1ff83c(_0x5142bb=>!_0x5142bb[_0x40dee2(0x2bc)]()[_0x40dee2(0x32e)]('__')))[_0x40dee2(0x2d9)](async _0x13caec=>{const _0x2cee87=_0x40dee2,_0x2236d9=_0x13caec[_0x2cee87(0x2bc)](),_0x407278=await this[_0x2cee87(0x3a8)](_0x2236d9);this[_0x2cee87(0x23c)][_0x2cee87(0x356)](_0x407278),this['_entities'][_0x2cee87(0x286)](_0x2236d9,_0x407278);}),_0x4c40be(this[_0x40dee2(0x243)][_0x40dee2(0x2e6)](_0x17521d['UNIVER_DOC']),this['_univerInstanceService'][_0x40dee2(0x2e6)](_0x17521d[_0x40dee2(0x334)]))[_0x40dee2(0x22c)](_0x15e276(this['dispose$']))[_0x40dee2(0x2d9)](_0x456335=>{const _0x11b84e=_0x40dee2,_0x476d29=_0x456335[_0x11b84e(0x2bc)](),_0x17a7ac=this[_0x11b84e(0x228)][_0x11b84e(0x2bf)](_0x476d29);_0x17a7ac&&(_0x17a7ac[_0x11b84e(0x32d)](),this[_0x11b84e(0x228)][_0x11b84e(0x311)](_0x476d29));});}async[_0x6d23d9(0x22e)](_0x4c276e){const _0x50f987=_0x6d23d9,_0x252e2e=await this['_collabSessionService'][_0x50f987(0x3b6)](_0x4c276e),_0xcbfa5f=this[_0x50f987(0x266)][_0x50f987(0x321)](Me,_0x4c276e,_0x252e2e);return _0xcbfa5f['init'](),_0xcbfa5f;}async['_startDocCollabCursor'](_0x52c69e){const _0x5116dc=_0x6d23d9,_0x9aaf7a=await this[_0x5116dc(0x2a2)][_0x5116dc(0x3b6)](_0x52c69e),_0x1b2f49=this[_0x5116dc(0x266)][_0x5116dc(0x321)](Ue,_0x52c69e,_0x9aaf7a);return _0x1b2f49[_0x5116dc(0x2e1)](),_0x1b2f49;}};H=Ci([Se(0x0,_0x34c0fa),Se(0x1,_0x16bcc8(_0x5ca9d3)),Se(0x2,_0x16bcc8(_0x54bd3e))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x1d4eeb,_0x10e5b9){const _0x3d71ae=_0x6d23d9;let {radius:_0x2f5d5f,width:_0x584840,height:_0x2495a4}=_0x10e5b9;_0x2f5d5f=_0x2f5d5f!=null?_0x2f5d5f:0x0,_0x584840=_0x584840!=null?_0x584840:0x1e,_0x2495a4=_0x2495a4!=null?_0x2495a4:0x1e;let _0xa93ae4=0x0,_0xbe8b6f=0x0,_0x5eecbd=0x0;_0xa93ae4=_0xbe8b6f=_0x5eecbd=Math[_0x3d71ae(0x26f)](_0x2f5d5f,_0x584840/0x2,_0x2495a4/0x2),_0x1d4eeb[_0x3d71ae(0x2db)](),_0x1d4eeb['moveTo'](_0xa93ae4,0x0),_0x1d4eeb[_0x3d71ae(0x34c)](_0x584840-_0xbe8b6f,0x0),_0x1d4eeb[_0x3d71ae(0x3a9)](_0x584840-_0xbe8b6f,_0xbe8b6f,_0xbe8b6f,Math['PI']*0x3/0x2,0x0,!0x1),_0x1d4eeb[_0x3d71ae(0x34c)](_0x584840,_0x2495a4-_0x5eecbd),_0x1d4eeb[_0x3d71ae(0x3a9)](_0x584840-_0x5eecbd,_0x2495a4-_0x5eecbd,_0x5eecbd,0x0,Math['PI']/0x2,!0x1),_0x1d4eeb[_0x3d71ae(0x34c)](0x0,_0x2495a4),_0x1d4eeb[_0x3d71ae(0x34c)](0x0,_0xa93ae4),_0x1d4eeb[_0x3d71ae(0x3a9)](_0xa93ae4,_0xa93ae4,_0xa93ae4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1d4eeb[_0x3d71ae(0x343)](),_0x10e5b9[_0x3d71ae(0x39e)]&&(_0x1d4eeb[_0x3d71ae(0x2ec)](),_0x1d4eeb[_0x3d71ae(0x368)]=_0x10e5b9[_0x3d71ae(0x39e)],_0x10e5b9[_0x3d71ae(0x3cc)]===_0x3d71ae(0x214)?_0x1d4eeb['fill'](_0x3d71ae(0x214)):_0x1d4eeb[_0x3d71ae(0x39e)](),_0x1d4eeb['restore']());}class he extends _0x2a1783{constructor(_0x4b5f94,_0x369d16){const _0x1120ae=_0x6d23d9;super(_0x4b5f94,_0x369d16),_(this,'color'),_(this,_0x1120ae(0x3c7)),(this[_0x1120ae(0x29f)]=_0x369d16==null?void 0x0:_0x369d16[_0x1120ae(0x29f)],this[_0x1120ae(0x3c7)]=_0x369d16==null?void 0x0:_0x369d16[_0x1120ae(0x3c7)]);}static[_0x6d23d9(0x378)](_0x62139d,_0x676e0c){const _0xe27568=_0x6d23d9,{text:_0x428b04,color:_0x1c657e}=_0x676e0c;_0x62139d['save'](),_0x62139d[_0xe27568(0x2bb)]=_0xe27568(0x325);const _0x4292ab=_0x62139d['measureText'](_0x428b04)[_0xe27568(0x287)],_0xdf07da=Math[_0xe27568(0x26f)](_0x4292ab+0x2*me,Qe);Oi(_0x62139d,{'height':ee,'radius':0x4,'width':_0xdf07da,'fill':_0x1c657e}),_0x62139d[_0xe27568(0x368)]=_0xe27568(0x300);const _0xd188ac=me,_0x542129=ee-Ei,_0x2600be=Qe-0x2*me;if(_0x4292ab>_0x2600be){let _0x27be92='',_0xc79f71=0x0;for(const _0x3aa5ee of _0x428b04){const _0x3fab4e=_0x62139d['measureText'](_0x3aa5ee)[_0xe27568(0x287)];if(_0xc79f71+_0x3fab4e<=_0x2600be-_0x62139d[_0xe27568(0x370)]('...')['width'])_0x27be92+=_0x3aa5ee,_0xc79f71+=_0x3fab4e;else{_0x27be92+='...';break;}}_0x62139d[_0xe27568(0x245)](_0x27be92,_0xd188ac,_0x542129);}else _0x62139d[_0xe27568(0x245)](_0x428b04,_0xd188ac,_0x542129);_0x62139d[_0xe27568(0x35c)]();}[_0x6d23d9(0x354)](_0x524723){const _0x57bec9=_0x6d23d9;he[_0x57bec9(0x378)](_0x524723,this);}}const Ie=_0x6d23d9(0x298),bi=_0x6d23d9(0x25c),Ti=_0x6d23d9(0x23b),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x6d23d9(0x226);class qe{constructor(_0x4d7b4f,_0x4cc30e,_0x36e212,_0x3c97e2){const _0x44809b=_0x6d23d9;_(this,_0x44809b(0x31d),[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,'_anchorDot',null),_(this,_0x44809b(0x2c6),null),_(this,_0x44809b(0x396),null),(this['_cursor']=_0x4d7b4f,this[_0x44809b(0x2d0)]=_0x4cc30e,this[_0x44809b(0x283)]=_0x36e212,this[_0x44809b(0x394)]=_0x3c97e2,this[_0x44809b(0x362)]());}set[_0x6d23d9(0x227)](_0x277498){const _0x5206ba=_0x6d23d9;_0x277498?(this[_0x5206ba(0x20b)]&&this[_0x5206ba(0x20b)]['hide'](),this[_0x5206ba(0x39c)]&&this[_0x5206ba(0x39c)]['show']()):(this[_0x5206ba(0x20b)]&&this[_0x5206ba(0x20b)]['show'](),this[_0x5206ba(0x39c)]&&this[_0x5206ba(0x39c)][_0x5206ba(0x251)]());}[_0x6d23d9(0x32d)](){const _0x54208b=_0x6d23d9;for(const _0x4d3e0e of this[_0x54208b(0x31d)])_0x4d3e0e[_0x54208b(0x32d)]();this[_0x54208b(0x39c)]&&this[_0x54208b(0x39c)][_0x54208b(0x32d)](),this[_0x54208b(0x20b)]&&this[_0x54208b(0x20b)][_0x54208b(0x32d)](),this['_anchor']&&this[_0x54208b(0x36b)][_0x54208b(0x32d)](),this[_0x54208b(0x396)]&&this[_0x54208b(0x396)]();}[_0x6d23d9(0x362)](){const _0x292e17=_0x6d23d9;var _0x547b6a;const {_docSkeleton:_0x56632b,_document:_0x4a60bc}=this,{color:_0x1dc083,name:_0x476e85,ranges:_0x901e61}=this['_cursor'],_0x19f64b=_0x4a60bc[_0x292e17(0x29a)](),{docsLeft:_0xa46b9f,docsTop:_0x5f43dc}=_0x19f64b,_0x35484f=new _0x3184c7(_0x19f64b,_0x56632b);for(const {startOffset:_0x3b77fa,endOffset:_0x1a2e99,rangeType:_0x32fc62,segmentId:_0x115f58,segmentPage:_0x34f9d5,collapsed:_0x13ccb6,isActive:_0x443190}of _0x901e61){const _0xd65dd1=_0x56632b['findNodePositionByCharIndex'](_0x3b77fa,!0x0,_0x115f58,_0x34f9d5);let _0x7c97bd=_0x56632b['findNodePositionByCharIndex'](_0x1a2e99,!0x0,_0x115f58,_0x34f9d5);if(_0x7c97bd==null&&(_0x7c97bd=_0x56632b[_0x292e17(0x301)](_0x1a2e99-0x1,!0x1,_0x115f58,_0x34f9d5)),_0x443190){const {contentBoxPointGroup:_0x10d7d4}=_0x35484f['getRangePointData'](_0x7c97bd,_0x7c97bd);if(_0x10d7d4[_0x292e17(0x327)]===0x0)continue;this['_drawAnchor'](_0x1dc083,_0x10d7d4,_0xa46b9f,_0x5f43dc,_0x476e85),this[_0x292e17(0x396)]=this['_handleHover']();}if(_0xd65dd1&&_0x7c97bd){if(_0x32fc62===_0x4a51c3[_0x292e17(0x36c)]){const _0x1257a0=new _0x4b086b(_0x19f64b,_0x56632b),{pointGroup:_0x13658b}=(_0x547b6a=_0x1257a0[_0x292e17(0x3cf)](_0xd65dd1,_0x7c97bd))!=null?_0x547b6a:{};if(_0x13658b==null||_0x13658b[_0x292e17(0x327)]===0x0)continue;this[_0x292e17(0x202)](_0x1dc083,_0x13658b,_0xa46b9f,_0x5f43dc);}else{if(!_0x13ccb6){const {borderBoxPointGroup:_0x460163}=_0x35484f[_0x292e17(0x3cf)](_0xd65dd1,_0x7c97bd);if(_0x460163[_0x292e17(0x327)]===0x0)continue;this[_0x292e17(0x231)](_0x1dc083,_0x460163,_0xa46b9f,_0x5f43dc);}}}}}[_0x6d23d9(0x2f3)](_0x2e8e32,_0x416b48,_0x1ea3d5,_0x145b7f,_0x494458){const _0x39dc2b=_0x6d23d9,_0x15f712=this[_0x39dc2b(0x257)](_0x416b48),{left:_0x53c0aa,top:_0x1d5cf1,height:_0x52aa91}=_0x15f712,_0x11977e=this[_0x39dc2b(0x2aa)](),_0x507412=Di/_0x11977e,_0x45ffca=new _0x1fd177(Ie+_0x563e2c[_0x39dc2b(0x381)](X),{'left':_0x53c0aa+_0x1ea3d5-_0x507412,'top':_0x1d5cf1+_0x145b7f,'height':_0x52aa91,'width':Ri,'fill':_0x2e8e32||_0x2b0cc7(_0x398dde['black'],0x0),'strokeWidth':_0x507412,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x45ffca,this[_0x39dc2b(0x2d0)][_0x39dc2b(0x307)](_0x45ffca,_0x5e4de2);const _0x242c87=new _0x1fd177(Ie+_0x563e2c[_0x39dc2b(0x381)](X),{'left':_0x53c0aa+_0x1ea3d5-_0x507412,'top':_0x1d5cf1+_0x145b7f-ge/0x2,'height':ge,'width':ge,'fill':_0x2e8e32||_0x2b0cc7(_0x398dde[_0x39dc2b(0x20f)],0x0),'strokeWidth':0x0,'stroke':_0x2e8e32||_0x2b0cc7(_0x398dde[_0x39dc2b(0x20f)],0x0),'evented':!0x1});this['_anchorDot']=_0x242c87,this[_0x39dc2b(0x2d0)][_0x39dc2b(0x307)](_0x242c87,_0x5e4de2);const _0x49f076=new he(Ie+_0x563e2c[_0x39dc2b(0x381)](X),{'left':_0x53c0aa+_0x1ea3d5-_0x507412,'top':_0x1d5cf1+_0x145b7f-ee,'text':_0x494458,'color':_0x2e8e32});this[_0x39dc2b(0x39c)]=_0x49f076,this[_0x39dc2b(0x2d0)]['addObject'](_0x49f076,_0x5e4de2),this[_0x39dc2b(0x227)]=!0x1;}['_handleHover'](){const _0x2bd6f0=_0x6d23d9,_0x282c92=this[_0x2bd6f0(0x36b)]['onPointerEnter$'][_0x2bd6f0(0x3b5)](()=>{const _0x388d55=_0x2bd6f0;this[_0x388d55(0x227)]=!0x0;}),_0xc913c5=this[_0x2bd6f0(0x36b)][_0x2bd6f0(0x268)][_0x2bd6f0(0x3b5)](()=>{const _0x3fcad7=_0x2bd6f0;this[_0x3fcad7(0x2c6)]&&clearTimeout(this['_hideTimer']),this[_0x3fcad7(0x2c6)]=setTimeout(()=>{const _0x5ba894=_0x3fcad7;this[_0x5ba894(0x227)]=!0x1;},0x7d0);});return()=>{const _0x21fad8=_0x2bd6f0;_0x282c92[_0x21fad8(0x3a5)](),_0xc913c5[_0x21fad8(0x3a5)]();};}[_0x6d23d9(0x231)](_0x296a10,_0x2c8c9c,_0x2a11ec,_0x434ed0){const _0x4c98e8=_0x6d23d9,_0x226fe0=new _0x3ab3c8(_0x296a10)[_0x4c98e8(0x23a)](0.2)[_0x4c98e8(0x246)](),_0x372a9e=new _0x432836(bi+_0x563e2c[_0x4c98e8(0x381)](X),{'pointsGroup':_0x2c8c9c,'fill':_0x226fe0||_0x2b0cc7(_0x398dde['black'],0.2),'left':_0x2a11ec,'top':_0x434ed0,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4c98e8(0x1e5)](_0x372a9e),this['_scene'][_0x4c98e8(0x307)](_0x372a9e,_0x5e4de2);}['_drawRectRange'](_0x47a760,_0x4ad023,_0x1aabf5,_0x4a53d6){const _0x1b2ec4=_0x6d23d9,_0x248a76=new _0x3ab3c8(_0x47a760)[_0x1b2ec4(0x23a)](0.2)[_0x1b2ec4(0x246)](),_0xdf255f=new _0x432836(Ti+_0x563e2c[_0x1b2ec4(0x381)](X),{'pointsGroup':_0x4ad023,'fill':_0x248a76||_0x2b0cc7(_0x398dde['black'],0.2),'left':_0x1aabf5,'top':_0x4a53d6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b2ec4(0x31d)][_0x1b2ec4(0x1e5)](_0xdf255f),this[_0x1b2ec4(0x2d0)][_0x1b2ec4(0x307)](_0xdf255f,_0x5e4de2);}[_0x6d23d9(0x257)](_0x28ca64){const _0xd307cb=_0x28ca64[0x0],_0x4cf799=_0xd307cb[0x0],_0x89aa21=_0xd307cb[0x2],{x:_0x9ab8ff,y:_0x5e6c70}=_0x4cf799,{x:_0x224002,y:_0x1c464c}=_0x89aa21;return{'left':_0x9ab8ff,'top':_0x5e6c70,'width':_0x224002-_0x9ab8ff,'height':_0x1c464c-_0x5e6c70};}[_0x6d23d9(0x2aa)](){const _0x447b52=_0x6d23d9,{scaleX:_0x4ccd0c,scaleY:_0x30f79d}=this['_scene'][_0x447b52(0x1f1)]();return Math[_0x447b52(0x270)](_0x4ccd0c,_0x30f79d);}}var Ui=Object[_0x6d23d9(0x25e)],Mi=(_0xaec99d,_0x4d2e65,_0x364a37,_0x44cce4)=>{const _0x33ae09=_0x6d23d9;for(var _0x30a1ea=_0x44cce4>0x1?void 0x0:_0x44cce4?Ui(_0x4d2e65,_0x364a37):_0x4d2e65,_0x3c9430=_0xaec99d[_0x33ae09(0x327)]-0x1,_0x211641;_0x3c9430>=0x0;_0x3c9430--)(_0x211641=_0xaec99d[_0x3c9430])&&(_0x30a1ea=_0x211641(_0x30a1ea)||_0x30a1ea);return _0x30a1ea;},Z=(_0x23b268,_0x2de04c)=>(_0x2391c5,_0x37275e)=>_0x2de04c(_0x2391c5,_0x37275e,_0x23b268);let we=class extends _0x4993e4{constructor(_0x9ee446,_0x50c2ff,_0x17586d,_0x278dda,_0x4c9bcf){const _0x4e2751=_0x6d23d9;super(),_(this,_0x4e2751(0x2d3),[]),_(this,_0x4e2751(0x1f8),[]),(this['_context']=_0x9ee446,this[_0x4e2751(0x2ad)]=_0x50c2ff,this[_0x4e2751(0x395)]=_0x17586d,this['_commandService']=_0x278dda,this[_0x4e2751(0x282)]=_0x4c9bcf,this['_init']());}[_0x6d23d9(0x2e0)](){const _0x5b212b=_0x6d23d9,_0x2fb3b7=this[_0x5b212b(0x2e4)][_0x5b212b(0x323)],_0x505fbf=this[_0x5b212b(0x2ad)];this['disposeWithMe'](_0x3228bc([this[_0x5b212b(0x395)][_0x5b212b(0x29c)](_0x2fb3b7),this['_themeService']['currentTheme$']])[_0x5b212b(0x22c)](_0x4fb0bc(([_0x16c8d9,_0xe4cce8])=>({'skeleton':_0x505fbf[_0x5b212b(0x254)](),'cursors':[..._0x16c8d9['values']()][_0x5b212b(0x1ea)](_0x162c09=>({..._0x162c09,'color':this[_0x5b212b(0x282)][_0x5b212b(0x279)](_0x162c09[_0x5b212b(0x29f)])}))})))['subscribe'](_0x5b4235=>{const _0x47ea7e=_0x5b212b;if(this[_0x47ea7e(0x2e7)](),_0x5b4235){const {skeleton:_0x5357ec,cursors:_0x327870}=_0x5b4235;this[_0x47ea7e(0x224)](_0x5357ec,_0x327870);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x6d23d9(0x224)](_0x1ed3a3,_0x3ec047){const _0x24e06d=_0x6d23d9,{scene:_0x5bb59c,mainComponent:_0xd6352a}=this['_context'],_0x26e689=_0x3ec047[_0x24e06d(0x338)](_0x1ea92f=>new qe(_0x1ea92f,_0x5bb59c,_0x1ed3a3,_0xd6352a));this[_0x24e06d(0x2d3)]=_0x26e689,this[_0x24e06d(0x1f8)]=_0x3ec047;}[_0x6d23d9(0x201)](){const _0x3c10dc=_0x6d23d9;this[_0x3c10dc(0x2e7)]();const {scene:_0x360fb3,mainComponent:_0x559d0e}=this['_context'],_0xb643e6=this[_0x3c10dc(0x2ad)][_0x3c10dc(0x254)](),_0x1d3a51=this['_cursors'][_0x3c10dc(0x338)](_0x567084=>new qe(_0x567084,_0x360fb3,_0xb643e6,_0x559d0e));this['_cursorShapes']=_0x1d3a51;}[_0x6d23d9(0x2e7)](){const _0x48025f=_0x6d23d9;this[_0x48025f(0x2d3)]['forEach'](_0x7b5fcf=>_0x7b5fcf['dispose']()),this[_0x48025f(0x2d3)]=[];}['_initCommandExecutedListener'](){const _0x18e4de=_0x6d23d9,_0x32e995=[_0x316e61['id']];this[_0x18e4de(0x1d9)](this[_0x18e4de(0x317)][_0x18e4de(0x2b8)](_0x38f06d=>{const _0x313b85=_0x18e4de;_0x32e995[_0x313b85(0x1ee)](_0x38f06d['id'])&&_0x38f06d[_0x313b85(0x1f7)][_0x313b85(0x323)]===this[_0x313b85(0x2e4)][_0x313b85(0x323)]&&this[_0x313b85(0x201)]();}));}[_0x6d23d9(0x364)](){const _0x12f9f5=_0x6d23d9;this['disposeWithMe'](_0x217db0(this[_0x12f9f5(0x2e4)][_0x12f9f5(0x30a)][_0x12f9f5(0x38c)])['pipe'](_0x41418d(_0x261bdd=>_0x261bdd[_0x12f9f5(0x2a9)]===_0xa70757[_0x12f9f5(0x2a1)]),_0x22b391(0x10))[_0x12f9f5(0x2d9)](()=>{const _0x3ae106=_0x12f9f5;this[_0x3ae106(0x201)]();}));}};we=Mi([Z(0x1,_0x16bcc8(_0x38918c)),Z(0x2,_0x16bcc8(H)),Z(0x3,_0x8b71c7),Z(0x4,_0x16bcc8(_0x3ebf84))],we);const wi=0x1,Pi=1.5;class Li extends _0x2a1783{constructor(_0x2c7f4c,_0x31c3fd){const _0x36f5e1=_0x6d23d9;super(_0x2c7f4c,_0x31c3fd),_(this,_0x36f5e1(0x312)),_(this,_0x36f5e1(0x306),!0x1),_(this,_0x36f5e1(0x2af)),_(this,_0x36f5e1(0x2d6),''),_(this,'_labelPosition',_0x36f5e1(0x3a4)),_(this,_0x36f5e1(0x21e)),(_0x31c3fd&&this[_0x36f5e1(0x1f9)](_0x31c3fd),this[_0x36f5e1(0x26c)][_0x36f5e1(0x3b5)](()=>this[_0x36f5e1(0x1f9)]({'hovered':!0x0})),this[_0x36f5e1(0x268)][_0x36f5e1(0x3b5)](()=>this[_0x36f5e1(0x1f9)]({'hovered':!0x1})));}[_0x6d23d9(0x1f9)](_0x40727c){const _0x4b77da=_0x6d23d9;var _0x591992,_0x225ec9,_0x4bb3d8,_0x1fa63c,_0x449618,_0x154e19;this[_0x4b77da(0x312)]=(_0x591992=_0x40727c[_0x4b77da(0x29f)])!=null?_0x591992:this[_0x4b77da(0x312)],this[_0x4b77da(0x306)]=(_0x225ec9=_0x40727c[_0x4b77da(0x2ab)])!=null?_0x225ec9:this[_0x4b77da(0x306)],this[_0x4b77da(0x2af)]=(_0x4bb3d8=_0x40727c[_0x4b77da(0x2c3)])!=null?_0x4bb3d8:this[_0x4b77da(0x2af)],this[_0x4b77da(0x2d6)]=(_0x1fa63c=_0x40727c[_0x4b77da(0x261)])!=null?_0x1fa63c:this['_name'],this[_0x4b77da(0x2b6)]=(_0x449618=_0x40727c[_0x4b77da(0x2b0)])!=null?_0x449618:this[_0x4b77da(0x2b6)],this[_0x4b77da(0x21e)]=(_0x154e19=_0x40727c[_0x4b77da(0x255)])!=null?_0x154e19:this[_0x4b77da(0x21e)],this['transformByState']({'width':_0x40727c[_0x4b77da(0x287)],'height':_0x40727c[_0x4b77da(0x2c4)]});}[_0x6d23d9(0x22d)](_0x4fa5df){const _0x8f0787=_0x6d23d9,{row:_0x80503,column:_0x100a6d}=_0x4fa5df;if(_0x80503>=this['_range'][_0x8f0787(0x244)]&&_0x80503<=this[_0x8f0787(0x2af)][_0x8f0787(0x216)]&&_0x100a6d>=this[_0x8f0787(0x2af)][_0x8f0787(0x1eb)]&&_0x100a6d<=this[_0x8f0787(0x2af)]['endColumn']){this[_0x8f0787(0x1f9)]({'hovered':!0x0});return;}this[_0x8f0787(0x1f9)]({'hovered':!0x1});}[_0x6d23d9(0x272)](_0x285105){return!0x1;}[_0x6d23d9(0x354)](_0x399d69){const _0x16e455=_0x6d23d9;_0x1fd177[_0x16e455(0x378)](_0x399d69,{'width':this['width'],'height':this[_0x16e455(0x2c4)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x16e455(0x21e)]}),this[_0x16e455(0x306)]&&(_0x399d69[_0x16e455(0x2ec)](),_0x399d69[_0x16e455(0x374)](0x1,0x0,0x0,0x1,this[_0x16e455(0x287)],this[_0x16e455(0x2b6)]==='bottom'?0x0:-0x14),he[_0x16e455(0x378)](_0x399d69,{'text':this[_0x16e455(0x2d6)],'color':this[_0x16e455(0x312)]}),_0x399d69[_0x16e455(0x35c)]());}}var Ai=Object[_0x6d23d9(0x25e)],yi=(_0x307a61,_0x377193,_0x161be9,_0x1cbb5d)=>{const _0x32067f=_0x6d23d9;for(var _0x372c52=_0x1cbb5d>0x1?void 0x0:_0x1cbb5d?Ai(_0x377193,_0x161be9):_0x377193,_0x7c559b=_0x307a61[_0x32067f(0x327)]-0x1,_0x5389bb;_0x7c559b>=0x0;_0x7c559b--)(_0x5389bb=_0x307a61[_0x7c559b])&&(_0x372c52=_0x5389bb(_0x372c52)||_0x372c52);return _0x372c52;},ve=(_0x5a00d5,_0x3111b2)=>(_0x135e34,_0x5ba189)=>_0x3111b2(_0x135e34,_0x5ba189,_0x5a00d5);const $i=0x1389;let Pe=class extends _0x4993e4{constructor(_0x2ca911,_0x428899,_0x1d4d4b,_0x27962f){const _0x5aab3c=_0x6d23d9;super(),_(this,_0x5aab3c(0x1f8),new Set()),_(this,_0x5aab3c(0x346),null),(this[_0x5aab3c(0x2e4)]=_0x2ca911,this['_sheetSkeletonManagerService']=_0x428899,this['_collabCursorController']=_0x1d4d4b,this[_0x5aab3c(0x282)]=_0x27962f,this[_0x5aab3c(0x2e0)]());}[_0x6d23d9(0x2e0)](){const _0x28c8ca=_0x6d23d9;this[_0x28c8ca(0x322)][_0x28c8ca(0x366)]['pipe'](_0x2924c0(this[_0x28c8ca(0x360)]),_0x4f6a08(_0x16e398=>{const _0x4ee588=_0x28c8ca;if(_0x16e398){const _0x2e521e=_0x16e398[_0x4ee588(0x21a)];return _0x3228bc(this['_collabCursorController'][_0x4ee588(0x29c)](this[_0x4ee588(0x2e4)][_0x4ee588(0x323)]),this['_themeService']['currentTheme$'])['pipe'](_0x4fb0bc(([_0xfff432,_0x32328e])=>{const _0x2d3e6d=_0x4ee588,_0x3d7b61=new Map();return _0xfff432[_0x2d3e6d(0x3b3)]((_0x4e4ecc,_0x169223)=>{const _0x2b240e=_0x2d3e6d;if(_0x4e4ecc[_0x2b240e(0x3a0)]===_0x2e521e){const _0x26cbf0={..._0x4e4ecc};_0x26cbf0['color']=this['_themeService'][_0x2b240e(0x279)](_0x4e4ecc[_0x2b240e(0x29f)]),_0x3d7b61['set'](_0x169223,_0x26cbf0);}}),{'skeleton':_0x16e398,'cursors':_0x3d7b61};}));}return _0x4aeac4({'skeleton':null,'cursors':new Map()});}))[_0x28c8ca(0x2d9)](({skeleton:_0x14fe47,cursors:_0x289210})=>{const _0x59be01=_0x28c8ca;this[_0x59be01(0x2e7)](),_0x14fe47&&this['_updateCollabCursors'](_0x14fe47,_0x289210);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x28c8ca(0x2d9)](_0x2eca48=>{const _0x8551c2=_0x28c8ca;if(_0x2eca48==null)return;const {skeleton:_0x84ef56}=_0x2eca48,{scene:_0x305558}=this[_0x8551c2(0x2e4)];_0x305558[_0x8551c2(0x36e)]['subscribeEvent'](_0x7b222b(_0x12dd86=>{const _0x570f0c=_0x8551c2;var _0x368ca0,_0x4701f4;const {offsetX:_0x7a4c8d,offsetY:_0xd6b497}=_0x12dd86,{x:_0xda0743,y:_0x6e85e2}=_0x305558['getRelativeToViewportCoord'](_0x4e152b[_0x570f0c(0x27f)]([_0x7a4c8d,_0xd6b497])),{scaleX:_0x39fa4d,scaleY:_0x295595}=_0x305558[_0x570f0c(0x1f1)](),_0x56cbd2=_0x305558[_0x570f0c(0x208)](_0x39e851['VIEW_MAIN']),_0x4ba760=_0x305558[_0x570f0c(0x37b)](_0x4e152b[_0x570f0c(0x27f)]([_0xda0743,_0x6e85e2]),_0x56cbd2),_0x3a4f30=_0x84ef56[_0x570f0c(0x3bc)](_0x7a4c8d,_0xd6b497,_0x39fa4d,_0x295595,_0x4ba760);((_0x368ca0=this[_0x570f0c(0x346)])==null?void 0x0:_0x368ca0['column'])===_0x3a4f30[_0x570f0c(0x367)]&&((_0x4701f4=this[_0x570f0c(0x346)])==null?void 0x0:_0x4701f4['row'])===_0x3a4f30[_0x570f0c(0x2c1)]||this[_0x570f0c(0x1f8)][_0x570f0c(0x3b3)](_0x4b410f=>{const _0x58df0b=_0x570f0c;_0x4b410f[_0x58df0b(0x22d)](_0x3a4f30);});},0x64));});}[_0x6d23d9(0x224)](_0x5da705,_0xd88160){const _0x4d06d4=_0x6d23d9;var _0x2e7ba0;const _0x2f6726=(_0x2e7ba0=this[_0x4d06d4(0x322)][_0x4d06d4(0x3c9)]())==null?void 0x0:_0x2e7ba0['skeleton'];if(!_0x2f6726)return;const _0x33c99b=this['_getSheetObject']();if(!_0x33c99b)return;this[_0x4d06d4(0x1f8)][_0x4d06d4(0x3b3)](_0x264593=>{const _0xeb9912=_0x4d06d4;_0x264593[_0xeb9912(0x2b9)]();});const {scene:_0x3f8d65}=_0x33c99b,_0x29b8e1=xi(Array[_0x4d06d4(0x2cc)](_0xd88160[_0x4d06d4(0x37f)]()))[_0x4d06d4(0x338)](_0x3615c5=>{const _0x438f93=_0x4d06d4,{color:_0xcae4db,range:_0x2c51cb,name:_0x33eeaf,selection:_0x493b20,sheetID:_0x5f96a8}=_0x3615c5,{startColumn:_0x41bc02,startRow:_0xad2a44,endColumn:_0x4b98d7,endRow:_0x254c8e}=_0x2c51cb,_0x3b7682=_0x164ade(_0xad2a44,_0x41bc02,_0x3f8d65,_0x2f6726),_0xb42b87=_0x164ade(_0x254c8e,_0x4b98d7,_0x3f8d65,_0x2f6726),{columnHeaderHeightAndMarginTop:_0x5f5cb7}=_0x2f6726,{startX:_0x54d046,startY:_0x5ae088}=_0x3b7682,{endX:_0x380c24,endY:_0x19347e}=_0xb42b87,_0x2c5d64=_0x380c24-_0x54d046,_0x5a77fa=_0x19347e-_0x5ae088,_0x62232f={'labelPosition':_0x5ae088-_0x5f5cb7>=ee?_0x438f93(0x3a4):_0x438f93(0x335),'sheetID':_0x5f96a8,'range':_0x2c51cb,'color':_0xcae4db,'name':_0x33eeaf,'selection':_0x493b20,'left':_0x54d046,'top':_0x5ae088,'width':_0x2c5d64,'height':_0x5a77fa,'evented':!0x1,'zIndex':$i};return new Li(_0x33eeaf,_0x62232f);});_0x3f8d65[_0x4d06d4(0x260)](_0x29b8e1,wi),this[_0x4d06d4(0x1f8)]=new Set(_0x29b8e1);}[_0x6d23d9(0x2e7)](){const _0x190e47=_0x6d23d9;var _0x1b286d;(_0x1b286d=this[_0x190e47(0x1f8)])==null||_0x1b286d[_0x190e47(0x3b3)](_0x34b655=>_0x34b655[_0x190e47(0x32d)]());}[_0x6d23d9(0x207)](){const _0x32ee08=_0x6d23d9;return _0x5b3555(this[_0x32ee08(0x2e4)][_0x32ee08(0x3a7)],this[_0x32ee08(0x2e4)]);}};Pe=yi([ve(0x1,_0x16bcc8(_0x488a67)),ve(0x2,_0x16bcc8(H)),ve(0x3,_0x16bcc8(_0x3ebf84))],Pe);function xi(_0x21ac3e){const _0x3bc45f=_0x6d23d9,_0x344c9c=new Map();return _0x21ac3e[_0x3bc45f(0x3b3)](_0x26ab4f=>{const _0x5ca8fd=_0x3bc45f;if(_0x344c9c['has'](_0x26ab4f[_0x5ca8fd(0x24c)])){const _0x2d633f=_0x344c9c[_0x5ca8fd(0x2bf)](_0x26ab4f[_0x5ca8fd(0x24c)]);_0x2d633f['name']+=',\x20'+_0x26ab4f[_0x5ca8fd(0x261)];}else _0x344c9c[_0x5ca8fd(0x286)](_0x26ab4f[_0x5ca8fd(0x24c)],_0x26ab4f);}),Array[_0x3bc45f(0x2cc)](_0x344c9c[_0x3bc45f(0x37f)]());}var v=function(){const _0xbf4776=_0x6d23d9;return v=Object['assign']||function(_0x1872ac){const _0x329fdb=_0x3df2;for(var _0x10fb2a,_0x13f578=0x1,_0x51ba27=arguments[_0x329fdb(0x327)];_0x13f578<_0x51ba27;_0x13f578++){_0x10fb2a=arguments[_0x13f578];for(var _0x3039bd in _0x10fb2a)Object[_0x329fdb(0x3d4)][_0x329fdb(0x30b)][_0x329fdb(0x32b)](_0x10fb2a,_0x3039bd)&&(_0x1872ac[_0x3039bd]=_0x10fb2a[_0x3039bd]);}return _0x1872ac;},v[_0xbf4776(0x218)](this,arguments);},Bi=function(_0x3f81c2,_0x3535dd){const _0x654082=_0x6d23d9;var _0x4d3ccc={};for(var _0x36e813 in _0x3f81c2)Object[_0x654082(0x3d4)]['hasOwnProperty'][_0x654082(0x32b)](_0x3f81c2,_0x36e813)&&_0x3535dd[_0x654082(0x37c)](_0x36e813)<0x0&&(_0x4d3ccc[_0x36e813]=_0x3f81c2[_0x36e813]);if(_0x3f81c2!=null&&typeof Object[_0x654082(0x32a)]=='function'){for(var _0xb1cfc=0x0,_0x36e813=Object[_0x654082(0x32a)](_0x3f81c2);_0xb1cfc<_0x36e813['length'];_0xb1cfc++)_0x3535dd[_0x654082(0x37c)](_0x36e813[_0xb1cfc])<0x0&&Object[_0x654082(0x3d4)]['propertyIsEnumerable'][_0x654082(0x32b)](_0x3f81c2,_0x36e813[_0xb1cfc])&&(_0x4d3ccc[_0x36e813[_0xb1cfc]]=_0x3f81c2[_0x36e813[_0xb1cfc]]);}return _0x4d3ccc;},je=_0x3d3f18(function(_0x56ba74,_0x2714a6){const _0x49326a=_0x6d23d9;var _0x78abaa=_0x56ba74[_0x49326a(0x219)],_0x39bdbc=_0x56ba74['id'],_0x10cb8a=_0x56ba74[_0x49326a(0x258)],_0x18f575=_0x56ba74[_0x49326a(0x1f2)],_0x1ec2ba=Bi(_0x56ba74,[_0x49326a(0x219),'id',_0x49326a(0x258),_0x49326a(0x1f2)]),_0x37edab=_0x49326a(0x1e9)[_0x49326a(0x1fd)](_0x39bdbc,'\x20')[_0x49326a(0x1fd)](_0x10cb8a||'')[_0x49326a(0x345)](),_0x4b9c37=_0x3aa86e('_'[_0x49326a(0x1fd)](ji()));return Rt(_0x78abaa,''[_0x49326a(0x1fd)](_0x39bdbc),{'defIds':_0x78abaa[_0x49326a(0x3d9)],'idSuffix':_0x4b9c37[_0x49326a(0x33e)]},v({'ref':_0x2714a6,'className':_0x37edab},_0x1ec2ba),_0x18f575);});function Rt(_0x2897d0,_0x109fd6,_0x4e9d05,_0x2d32a7,_0x26cfa6){const _0x5084c3=_0x6d23d9;return _0x3f4851(_0x2897d0[_0x5084c3(0x20a)],v(v({'key':_0x109fd6},ki(_0x2897d0,_0x4e9d05,_0x26cfa6)),_0x2d32a7),(Hi(_0x2897d0,_0x4e9d05)[_0x5084c3(0x35d)]||[])[_0x5084c3(0x338)](function(_0x142178,_0x33de78){const _0x4abe99=_0x5084c3;return Rt(_0x142178,''[_0x4abe99(0x1fd)](_0x109fd6,'-')[_0x4abe99(0x1fd)](_0x2897d0[_0x4abe99(0x20a)],'-')['concat'](_0x33de78),_0x4e9d05,void 0x0,_0x26cfa6);}));}function ki(_0x31f7b0,_0x21a941,_0x2bc42d){const _0x59cd7f=_0x6d23d9;var _0x21ebbf=v({},_0x31f7b0['attrs']);_0x2bc42d!=null&&_0x2bc42d[_0x59cd7f(0x22b)]&&_0x21ebbf[_0x59cd7f(0x39e)]==='colorChannel1'&&(_0x21ebbf[_0x59cd7f(0x39e)]=_0x2bc42d[_0x59cd7f(0x22b)]),_0x31f7b0[_0x59cd7f(0x20a)]==='mask'&&_0x21ebbf['id']&&(_0x21ebbf['id']=_0x21ebbf['id']+_0x21a941[_0x59cd7f(0x34a)]),Object[_0x59cd7f(0x24b)](_0x21ebbf)[_0x59cd7f(0x3b3)](function(_0x1f9a4c){const _0x45ccf4=_0x59cd7f;var _0x543743=_0x1f9a4c[0x0],_0x233fa6=_0x1f9a4c[0x1];_0x543743===_0x45ccf4(0x1ef)&&typeof _0x233fa6=='string'&&(_0x21ebbf[_0x543743]=_0x233fa6['replace'](/url\(#(.*)\)/,_0x45ccf4(0x263)[_0x45ccf4(0x1fd)](_0x21a941[_0x45ccf4(0x34a)],')')));});var _0x33a3fc=_0x21a941[_0x59cd7f(0x3d9)];return!_0x33a3fc||_0x33a3fc[_0x59cd7f(0x327)]===0x0||(_0x31f7b0[_0x59cd7f(0x20a)]===_0x59cd7f(0x32c)&&_0x21ebbf[_0x59cd7f(0x3c5)]&&(_0x21ebbf[_0x59cd7f(0x3c5)]=_0x21ebbf[_0x59cd7f(0x3c5)]+_0x21a941[_0x59cd7f(0x34a)]),Object['entries'](_0x21ebbf)['forEach'](function(_0x36ff1a){const _0x2e1f64=_0x59cd7f;var _0x29f7e0=_0x36ff1a[0x0],_0x346f1b=_0x36ff1a[0x1];typeof _0x346f1b==_0x2e1f64(0x277)&&(_0x21ebbf[_0x29f7e0]=_0x346f1b[_0x2e1f64(0x380)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x21a941[_0x2e1f64(0x34a)],')')));})),_0x21ebbf;}function Hi(_0x3fc708,_0x57269f){const _0x5a38d=_0x6d23d9;var _0x4041b2,_0x37ef3d=_0x57269f[_0x5a38d(0x3d9)];return!_0x37ef3d||_0x37ef3d[_0x5a38d(0x327)]===0x0?_0x3fc708:_0x3fc708[_0x5a38d(0x20a)]===_0x5a38d(0x3b4)&&(!((_0x4041b2=_0x3fc708['children'])===null||_0x4041b2===void 0x0)&&_0x4041b2[_0x5a38d(0x327)])?v(v({},_0x3fc708),{'children':_0x3fc708[_0x5a38d(0x35d)][_0x5a38d(0x338)](function(_0x3ead11){const _0x450eb4=_0x5a38d;return typeof _0x3ead11[_0x450eb4(0x3b9)]['id']==_0x450eb4(0x277)&&_0x37ef3d&&_0x37ef3d['includes'](_0x3ead11[_0x450eb4(0x3b9)]['id'])?v(v({},_0x3ead11),{'attrs':v(v({},_0x3ead11[_0x450eb4(0x3b9)]),{'id':_0x3ead11[_0x450eb4(0x3b9)]['id']+_0x57269f[_0x450eb4(0x34a)]})}):_0x3ead11;})}):_0x3fc708;}function ji(){const _0x25a42c=_0x6d23d9;return Math[_0x25a42c(0x2f6)]()['toString'](0x24)['substring'](0x2,0x8);}je[_0x6d23d9(0x3d8)]=_0x6d23d9(0x238);var Yi={'tag':_0x6d23d9(0x2b4),'attrs':{'xmlns':_0x6d23d9(0x359),'fill':'none','viewBox':_0x6d23d9(0x326),'width':'1em','height':_0x6d23d9(0x235)},'children':[{'tag':'g','attrs':{'clipPath':_0x6d23d9(0x2a4)},'children':[{'tag':_0x6d23d9(0x30e),'attrs':{'stroke':_0x6d23d9(0x37d),'d':_0x6d23d9(0x318),'strokeLinecap':'round','strokeLinejoin':_0x6d23d9(0x20c),'strokeWidth':1.2}}]},{'tag':_0x6d23d9(0x3b4),'attrs':{},'children':[{'tag':_0x6d23d9(0x3ae),'attrs':{'id':_0x6d23d9(0x2d8)},'children':[{'tag':_0x6d23d9(0x30e),'attrs':{'fill':_0x6d23d9(0x1e7),'d':_0x6d23d9(0x347)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x3d3f18(function(_0x39d60d,_0x2350b8){const _0x158314=_0x6d23d9;return _0x3f4851(je,Object[_0x158314(0x383)]({},_0x39d60d,{'id':_0x158314(0x274),'ref':_0x2350b8,'icon':Yi}));});Dt[_0x6d23d9(0x3d8)]=_0x6d23d9(0x39a);var Fi={'tag':_0x6d23d9(0x2b4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x6d23d9(0x1f6),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x6d23d9(0x235)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x6d23d9(0x31e),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x6d23d9(0x3b4),'attrs':{},'children':[{'tag':_0x6d23d9(0x3ae),'attrs':{'id':_0x6d23d9(0x1e4)},'children':[{'tag':_0x6d23d9(0x30e),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x6d23d9(0x253)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x3d3f18(function(_0x108fa1,_0x2601f4){const _0x36515b=_0x6d23d9;return _0x3f4851(je,Object[_0x36515b(0x383)]({},_0x108fa1,{'id':_0x36515b(0x30f),'ref':_0x2601f4,'icon':Fi}));});Nt[_0x6d23d9(0x3d8)]=_0x6d23d9(0x30d);function Wi(_0x2ba21d){const _0x164819=_0x6d23d9;switch(_0x2ba21d){case _0x275594[_0x164819(0x236)]:return'collabStatus.offline';case _0x275594['CONFLICT']:return _0x164819(0x262);case _0x275594['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x275594['NOT_COLLAB']:return'collabStatus.notCollab';case _0x275594[_0x164819(0x225)]:case _0x275594['AWAITING_WITH_PENDING']:return _0x164819(0x211);case _0x275594[_0x164819(0x320)]:case _0x275594['PENDING']:return _0x164819(0x1e8);}}function Vi(_0x39d8cc){const _0x49e17b=_0x6d23d9,{status$:_0x274d96}=_0x39d8cc,_0x1ece1b=_0x6565b6(_0x274d96,_0x275594[_0x49e17b(0x31c)]),_0xc78df=_0xb71e6b(_0x5b0713),_0x269394=_0xb71e6b(_0x54bd3e),_0x3334d5=_0x1ece1b!==_0x275594['OFFLINE'],_0x135dcc=_0xc78df['t'](Wi(_0x1ece1b)),_0x5b0817=_0x3334d5?_0x55ce38(Nt,{}):_0x55ce38(Dt,{}),_0x1a8514=_0x2912a7(()=>{const _0x4f4246=_0x49e17b;_0x3334d5||_0x269394[_0x4f4246(0x373)]();},[_0x3334d5,_0x269394]);function _0x5c82fa(){const _0x36ae68=_0x49e17b;return _0x167908(_0x36ae68(0x31f),{'className':_0x36ae68(0x23d),'onClick':_0x1a8514,'children':[_0x55ce38(_0x36ae68(0x31f),{'className':_0x12143e(_0x36ae68(0x376),{'univer-text-green-500':_0x3334d5,'univer-text-red-500':!_0x3334d5}),'children':_0x5b0817}),_0x55ce38(_0x36ae68(0x31f),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x135dcc})]});}return _0x3334d5?_0x5c82fa():_0x55ce38(_0xddffb3,{'title':_0xc78df['t'](_0x49e17b(0x36f)),'children':_0x5c82fa()});}var Xi=Object[_0x6d23d9(0x25e)],Gi=(_0x35fa2e,_0x291b48,_0x3ff4d3,_0x4a1b68)=>{const _0x321ab0=_0x6d23d9;for(var _0x190b91=_0x4a1b68>0x1?void 0x0:_0x4a1b68?Xi(_0x291b48,_0x3ff4d3):_0x291b48,_0x3c8c62=_0x35fa2e[_0x321ab0(0x327)]-0x1,_0x311fbd;_0x3c8c62>=0x0;_0x3c8c62--)(_0x311fbd=_0x35fa2e[_0x3c8c62])&&(_0x190b91=_0x311fbd(_0x190b91)||_0x190b91);return _0x190b91;},Q=(_0x4ffbcc,_0x183792)=>(_0x5af42c,_0x5a4c0d)=>_0x183792(_0x5af42c,_0x5a4c0d,_0x4ffbcc);let te=class extends _0x385f9d{constructor(_0x2ef53a,_0x4bb8f3,_0x44250c,_0x5c6595){const _0x5316e7=_0x6d23d9;super(),_(this,_0x5316e7(0x3b0),new _0x7acae5(_0x275594[_0x5316e7(0x31c)])),(this[_0x5316e7(0x243)]=_0x2ef53a,this[_0x5316e7(0x266)]=_0x4bb8f3,this[_0x5316e7(0x3d0)]=_0x44250c,this['_uiPartsService']=_0x5c6595,this['_initStatusComponent'](),this[_0x5316e7(0x1fc)]());}['_initStatusListener'](){const _0x464fdc=_0x6d23d9;this[_0x464fdc(0x1d9)](this[_0x464fdc(0x243)][_0x464fdc(0x328)][_0x464fdc(0x22c)](_0x5d8085(()=>{const _0x6b3458=_0x464fdc,_0x17fd35=this[_0x6b3458(0x243)][_0x6b3458(0x2f5)]();return _0x17fd35?this[_0x6b3458(0x3d0)][_0x6b3458(0x293)](_0x17fd35[_0x6b3458(0x2bc)]()):_0x4aeac4(null);}),_0x5d8085(_0x29e290=>_0x29e290?_0x29e290[_0x464fdc(0x1e0)]:_0x4aeac4(_0x275594[_0x464fdc(0x31c)])))['subscribe'](_0x4c7db7=>{const _0x3e4ae5=_0x464fdc;this[_0x3e4ae5(0x3b0)][_0x3e4ae5(0x356)](_0x4c7db7);}));}['_initStatusComponent'](){const _0x190fac=_0x6d23d9;this['disposeWithMe'](this[_0x190fac(0x316)]['registerComponent'](_0x24499e[_0x190fac(0x391)],()=>_0x486834(Ki({'status$':this[_0x190fac(0x3b0)][_0x190fac(0x2f8)]()}),this[_0x190fac(0x266)])));}};te=Gi([Q(0x0,_0x34c0fa),Q(0x1,_0x16bcc8(_0x5ca9d3)),Q(0x2,_0x16bcc8(_0x117fe2)),Q(0x3,_0x57073e)],te);function Ki(_0x24617f){const {status$:_0x37988b}=_0x24617f;return function(){return _0x55ce38(Vi,{'status$':_0x37988b});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x59e4dc,_0x27aa5c,_0x4d7de9,_0x53d369)=>{const _0x47da17=_0x6d23d9;for(var _0x2e75e7=_0x53d369>0x1?void 0x0:_0x53d369?zi(_0x27aa5c,_0x4d7de9):_0x27aa5c,_0x34ff14=_0x59e4dc[_0x47da17(0x327)]-0x1,_0x61bfea;_0x34ff14>=0x0;_0x34ff14--)(_0x61bfea=_0x59e4dc[_0x34ff14])&&(_0x2e75e7=_0x61bfea(_0x2e75e7)||_0x2e75e7);return _0x2e75e7;},B=(_0x199708,_0x1a2683)=>(_0x3d2e01,_0x100a42)=>_0x1a2683(_0x3d2e01,_0x100a42,_0x199708);let se=class extends _0x385f9d{constructor(_0x480e61,_0x540f5f,_0x4277cc,_0x20cf1b,_0x1c2f0a,_0x36a837){const _0x852f0d=_0x6d23d9;super(),this['_beforeCloseService']=_0x480e61,this[_0x852f0d(0x285)]=_0x540f5f,this[_0x852f0d(0x2c0)]=_0x4277cc,this[_0x852f0d(0x305)]=_0x20cf1b,this[_0x852f0d(0x2a0)]=_0x1c2f0a,this[_0x852f0d(0x28d)]=_0x36a837,this['_setupBeforeClosingHandler'](),this[_0x852f0d(0x296)]();}[_0x6d23d9(0x3b1)](){const _0x4ec9e3=_0x6d23d9;this[_0x4ec9e3(0x1d9)](this[_0x4ec9e3(0x313)][_0x4ec9e3(0x248)](()=>{const _0x457323=_0x4ec9e3;if(this['_localCacheService']['saveTaskMap'][_0x457323(0x33d)])return this[_0x457323(0x28d)]['t'](_0x457323(0x21f));}));}[_0x6d23d9(0x296)](){const _0x3d6440=_0x6d23d9;this[_0x3d6440(0x1d9)](this[_0x3d6440(0x2c0)][_0x3d6440(0x2e9)][_0x3d6440(0x2d9)](_0x2009e3=>{const _0x32e53d=_0x3d6440;_0x2009e3['id']===_0xf8e08c[_0x32e53d(0x2fd)]&&this[_0x32e53d(0x305)][_0x32e53d(0x222)]({'type':_0x25cff5[_0x32e53d(0x3c1)],'content':this[_0x32e53d(0x28d)]['t'](_0x32e53d(0x331))}),_0x2009e3['id']===_0xf8e08c['CLOSE_ROOM']&&this[_0x32e53d(0x305)][_0x32e53d(0x222)]({'type':_0x25cff5[_0x32e53d(0x3c1)],'content':this[_0x32e53d(0x28d)]['t'](_0x32e53d(0x2be))}),_0x2009e3['id']===_0xf8e08c[_0x32e53d(0x22a)]&&this[_0x32e53d(0x2a0)][_0x32e53d(0x222)]({'title':this['_localeService']['t'](_0x32e53d(0x25a)),'content':this[_0x32e53d(0x28d)]['t'](_0x32e53d(0x291)),'type':'error','duration':0x0}),_0x2009e3['id']===_0xf8e08c[_0x32e53d(0x36d)]&&this[_0x32e53d(0x305)][_0x32e53d(0x222)]({'type':_0x25cff5['Error'],'content':this[_0x32e53d(0x28d)]['t']('collaboration.closeRoom')+'('+_0x2009e3[_0x32e53d(0x385)]+')'}),_0x2009e3['id']===_0xf8e08c[_0x32e53d(0x377)]&&this[_0x32e53d(0x305)][_0x32e53d(0x222)]({'type':_0x25cff5[_0x32e53d(0x3c1)],'content':this[_0x32e53d(0x28d)]['t'](_0x2009e3['data']||'')}),_0x2009e3['id']===_0xf8e08c[_0x32e53d(0x3c6)]&&this[_0x32e53d(0x305)]['show']({'type':_0x25cff5[_0x32e53d(0x3c1)],'content':this[_0x32e53d(0x28d)]['t'](_0x32e53d(0x1dd))}),_0x2009e3['id']===_0xf8e08c['SOCKET_FAILED']&&this[_0x32e53d(0x305)][_0x32e53d(0x222)]({'type':_0x25cff5[_0x32e53d(0x3bb)],'content':this[_0x32e53d(0x28d)]['t'](_0x32e53d(0x39d))}),_0x2009e3['id']===_0xf8e08c[_0x32e53d(0x37e)]&&this[_0x32e53d(0x305)][_0x32e53d(0x222)]({'type':_0x25cff5[_0x32e53d(0x3bb)],'content':this[_0x32e53d(0x28d)]['t'](_0x32e53d(0x206))});}));}};se=Ji([B(0x0,_0x29c249),B(0x1,_0x4941b6),B(0x2,_0x16bcc8(_0x123e0f)),B(0x3,_0x431071),B(0x4,_0x53b322),B(0x5,_0x16bcc8(_0x5b0713))],se);const Zi=_0x6d23d9(0x2b1),et={},Ut=_0x3ff931('uni.network.url-service');var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x12ed4f,_0x22d803,_0x2f8124,_0x1ce022)=>{const _0x5750a6=_0x6d23d9;for(var _0x5d69db=_0x1ce022>0x1?void 0x0:_0x1ce022?Qi(_0x22d803,_0x2f8124):_0x22d803,_0x3d197b=_0x12ed4f[_0x5750a6(0x327)]-0x1,_0x3b8ab7;_0x3d197b>=0x0;_0x3d197b--)(_0x3b8ab7=_0x12ed4f[_0x3d197b])&&(_0x5d69db=_0x3b8ab7(_0x5d69db)||_0x5d69db);return _0x5d69db;},G=(_0x89f186,_0x1d1821)=>(_0x3dae84,_0x38242e)=>_0x1d1821(_0x3dae84,_0x38242e,_0x89f186);let ie=class extends _0x4993e4{constructor(_0x2406c5,_0x59be14,_0x3ac385,_0x3a8515,_0x2bbc46){const _0x51cb5b=_0x6d23d9;super(),this[_0x51cb5b(0x2ba)]=_0x2406c5,this[_0x51cb5b(0x315)]=_0x59be14,this[_0x51cb5b(0x317)]=_0x3ac385,this[_0x51cb5b(0x369)]=_0x3a8515,_0x2bbc46?_0x2bbc46==null||_0x2bbc46['whenReady']()[_0x51cb5b(0x330)](()=>this[_0x51cb5b(0x2e0)]()):(this['_logService']['debug'](_0x51cb5b(0x304),_0x51cb5b(0x319)),this[_0x51cb5b(0x2e0)]());}async[_0x6d23d9(0x2e0)](){const _0x2c7bb2=_0x6d23d9,_0x580e76=this['_urlService']['getParam']('unit'),_0x46de59=this[_0x2c7bb2(0x2ba)][_0x2c7bb2(0x249)]('type'),_0x593f4f=this['_urlService']['getParam'](_0x2c7bb2(0x2a8));if(!_0x580e76||!_0x46de59){this[_0x2c7bb2(0x315)][_0x2c7bb2(0x280)]('[CollaborationDataLoaderController]',_0x2c7bb2(0x26b));return;}const _0x4d173a=await this[_0x2c7bb2(0x369)][_0x2c7bb2(0x1db)](_0x580e76,Number(_0x46de59),_0x593f4f);_0x4d173a&&_0x4d173a instanceof _0x258f86&&this[_0x2c7bb2(0x2cd)](_0x4d173a);}async[_0x6d23d9(0x2cd)](_0x5005c8){const _0x2459d9=_0x6d23d9;await this[_0x2459d9(0x3d2)](_0x5005c8),_0x5005c8[_0x2459d9(0x2dd)]['pipe'](_0x15e276(this[_0x2459d9(0x360)]))['subscribe'](_0x19926f=>{_0x19926f&&this['_updateURLWithCurrentState'](_0x19926f);}),this[_0x2459d9(0x2ba)][_0x2459d9(0x1e3)][_0x2459d9(0x22c)](_0x15e276(this[_0x2459d9(0x360)]))[_0x2459d9(0x2d9)](()=>this[_0x2459d9(0x3d2)](_0x5005c8));}[_0x6d23d9(0x37a)](_0x122baf,_0x3c5d68=!0x1){const _0x56263b=_0x6d23d9,_0x33d00d=this[_0x56263b(0x2ba)][_0x56263b(0x249)]('subunit');_0x122baf[_0x56263b(0x2f7)]()!==_0x33d00d&&this[_0x56263b(0x2ba)][_0x56263b(0x353)](_0x56263b(0x2a8),_0x122baf[_0x56263b(0x2f7)](),_0x3c5d68);}async[_0x6d23d9(0x3d2)](_0x40165b){const _0x1ab46f=_0x6d23d9;var _0xad369f;const _0x485fd6=this[_0x1ab46f(0x2ba)][_0x1ab46f(0x249)](_0x1ab46f(0x2a8));if(!_0x485fd6||!_0x40165b[_0x1ab46f(0x237)](_0x485fd6)){const _0xe17d0b=_0x40165b[_0x1ab46f(0x2b2)]()[0x0],_0x534a40=_0x40165b[_0x1ab46f(0x237)](_0xe17d0b);if(!_0x534a40)return;this['_updateURLWithCurrentState'](_0x534a40,!0x0),await this[_0x1ab46f(0x317)][_0x1ab46f(0x34f)](_0x336570['id'],{'unitId':_0x40165b[_0x1ab46f(0x2bc)](),'subUnitId':_0xe17d0b});return;}((_0xad369f=_0x40165b['getActiveSheet']())==null?void 0x0:_0xad369f[_0x1ab46f(0x2f7)]())!==_0x485fd6&&await this[_0x1ab46f(0x317)]['executeCommand'](_0x336570['id'],{'unitId':_0x40165b[_0x1ab46f(0x2bc)](),'subUnitId':_0x485fd6});}};ie=qi([G(0x0,Ut),G(0x1,_0x5306cc),G(0x2,_0x8b71c7),G(0x3,_0x16bcc8(_0x59a52d)),G(0x4,_0x2c978a(_0x1bb23b))],ie);var en=Object[_0x6d23d9(0x25e)],tn=(_0x188120,_0x29dc67,_0x46ab04,_0x48dd91)=>{const _0x46346a=_0x6d23d9;for(var _0x5e7a29=_0x48dd91>0x1?void 0x0:_0x48dd91?en(_0x29dc67,_0x46ab04):_0x29dc67,_0x28475e=_0x188120[_0x46346a(0x327)]-0x1,_0x2cb16a;_0x28475e>=0x0;_0x28475e--)(_0x2cb16a=_0x188120[_0x28475e])&&(_0x5e7a29=_0x2cb16a(_0x5e7a29)||_0x5e7a29);return _0x5e7a29;},pe=(_0x5723e2,_0x22f48c)=>(_0x4a21d1,_0x21a955)=>_0x22f48c(_0x4a21d1,_0x21a955,_0x5723e2);let ne=class{constructor(_0x15e730,_0x2d6935,_0x46d9dc){const _0x3bc6b5=_0x6d23d9;this['_injector']=_0x15e730,this[_0x3bc6b5(0x349)]=_0x2d6935,this['_renderManagerService']=_0x46d9dc;}[_0x6d23d9(0x393)](_0x2da3e0){const _0xbd65bb=_0x6d23d9;this[_0xbd65bb(0x210)](_0x2da3e0),this[_0xbd65bb(0x34e)](_0x2da3e0);}[_0x6d23d9(0x1d5)](_0x27806c){const _0x8ca8f4=_0x6d23d9,{unitID:_0x51e0fa}=_0x27806c,_0x30bec4=this['_renderManagerService'][_0x8ca8f4(0x27b)](_0x51e0fa)[_0x8ca8f4(0x232)](_0x521cdb),{redoCache:_0x57019c}=_0x30bec4[_0x8ca8f4(0x28a)]();if(_0x57019c[_0x8ca8f4(0x327)]===0x0)return _0x27806c;let _0x2139e6=_0x563e2c['deepClone'](_0x27806c[_0x8ca8f4(0x398)][0x0]);for(let _0xeed7c0=0x0;_0xeed7c0<_0x57019c['length'];_0xeed7c0++){const _0x1c0c3a={'id':_0x8ca8f4(0x3b2),'params':{..._0x57019c[_0xeed7c0]}},_0x4619bc=this['_transformService']['transformMutation'](_0x2139e6,_0x1c0c3a,!0x1);if(_0x2c68de(_0x4619bc))throw _0x4619bc[_0x8ca8f4(0x200)];_0x2139e6=_0x4619bc[_0x8ca8f4(0x221)];}return{..._0x563e2c['deepClone'](_0x27806c),'mutations':[_0x2139e6]};}[_0x6d23d9(0x210)](_0x38ebec){const _0x321074=_0x6d23d9,{unitID:_0x1df8ba}=_0x38ebec,_0x1711fd=this[_0x321074(0x2bd)][_0x321074(0x27b)](_0x1df8ba)['with'](_0x521cdb),{undoCache:_0x4e58c9,redoCache:_0x31355c}=_0x1711fd[_0x321074(0x28a)]();if(_0x4e58c9['length']===0x0||_0x31355c[_0x321074(0x327)]===0x0)return;const _0x439bbb=[],_0xf216a9=[];let _0x33ad02=_0x563e2c[_0x321074(0x34d)](_0x38ebec['mutations'][0x0]),_0x1907cc=_0x563e2c[_0x321074(0x34d)](_0x38ebec[_0x321074(0x398)][0x0]);for(let _0xf731f3=_0x4e58c9[_0x321074(0x327)]-0x1;_0xf731f3>=0x0;_0xf731f3--){const _0x52aab2={'id':_0x321074(0x3b2),'params':{..._0x4e58c9[_0xf731f3]}},_0x53b5e0={'id':_0x321074(0x3b2),'params':{..._0x31355c[_0xf731f3]}},_0x3dc808=this[_0x321074(0x349)][_0x321074(0x39b)](_0x33ad02,_0x52aab2,!0x1),_0x331a10=this[_0x321074(0x349)][_0x321074(0x39b)](_0x1907cc,_0x53b5e0,!0x1);if(_0x2c68de(_0x3dc808))throw _0x3dc808[_0x321074(0x200)];if(_0x2c68de(_0x331a10))throw _0x331a10[_0x321074(0x200)];_0x439bbb['unshift'](_0x3dc808[_0x321074(0x379)]['params']),_0xf216a9[_0x321074(0x20e)](_0x331a10[_0x321074(0x379)]['params']),_0x33ad02=_0x3dc808[_0x321074(0x221)],_0x1907cc=_0x331a10['m1Prime'];}_0x1711fd[_0x321074(0x294)]({'undoCache':_0x439bbb,'redoCache':_0xf216a9});}[_0x6d23d9(0x34e)](_0x3eb8d1){const _0x59b9c0=_0x6d23d9,{unitID:_0xccb9ec}=_0x3eb8d1,_0x57e015=this[_0x59b9c0(0x2bd)][_0x59b9c0(0x27b)](_0xccb9ec)[_0x59b9c0(0x232)](_0x521cdb),_0xbfdbd7=_0x57e015['getActiveRange']();if(_0xbfdbd7==null)return;const _0x37141f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3eb8d1[_0x59b9c0(0x1fe)],'actions':null,'textRanges':[_0xbfdbd7]}}],_0x57a3d2=this[_0x59b9c0(0x349)][_0x59b9c0(0x1f5)](_0x3eb8d1,_0x37141f);if(!_0x5930b2(_0x57a3d2))throw _0x57a3d2[_0x59b9c0(0x200)];const _0x15f8ad=_0x57a3d2[_0x59b9c0(0x379)][0x0][_0x59b9c0(0x1f7)][_0x59b9c0(0x2d1)];Array[_0x59b9c0(0x35a)](_0x15f8ad)&&_0x15f8ad[_0x59b9c0(0x327)]&&_0x57e015[_0x59b9c0(0x1d4)](_0x15f8ad[0x0]);}};ne=tn([pe(0x0,_0x16bcc8(_0x5ca9d3)),pe(0x1,_0x595647),pe(0x2,_0x82509f)],ne);var sn=Object[_0x6d23d9(0x25e)],nn=(_0x3c5668,_0x4abe23,_0x2f94d3,_0x3d8794)=>{const _0x2c128f=_0x6d23d9;for(var _0x5d3d4c=_0x3d8794>0x1?void 0x0:_0x3d8794?sn(_0x4abe23,_0x2f94d3):_0x4abe23,_0x5a9036=_0x3c5668[_0x2c128f(0x327)]-0x1,_0x4e0c31;_0x5a9036>=0x0;_0x5a9036--)(_0x4e0c31=_0x3c5668[_0x5a9036])&&(_0x5d3d4c=_0x4e0c31(_0x5d3d4c)||_0x5d3d4c);return _0x5d3d4c;},Ce=(_0x8305cc,_0x540f14)=>(_0x4bcf54,_0x584c3c)=>_0x540f14(_0x4bcf54,_0x584c3c,_0x8305cc);let re=class{constructor(_0x240a47,_0x5cb5aa,_0x10a875){const _0x190962=_0x6d23d9;this[_0x190962(0x266)]=_0x240a47,this[_0x190962(0x349)]=_0x5cb5aa,this[_0x190962(0x292)]=_0x10a875;}[_0x6d23d9(0x33f)](_0x27a537){const _0x557dd7=_0x6d23d9;this[_0x557dd7(0x24f)](_0x27a537);}[_0x6d23d9(0x1d5)](_0x5d9632){const _0x3293c8=_0x6d23d9,{unitID:_0x3b621d}=_0x5d9632,{collaboration:_0x3787b7}=this[_0x3293c8(0x292)][_0x3293c8(0x29b)](_0x3b621d);if(_0x3787b7[_0x3293c8(0x327)]===0x0)return _0x5d9632;let _0x258a07=_0x563e2c[_0x3293c8(0x34d)](_0x5d9632['mutations'][0x0]);for(let _0x5e5100=0x0;_0x5e5100<_0x3787b7[_0x3293c8(0x327)];_0x5e5100++){const _0x1df1dd={'id':_0x3293c8(0x3b2),'params':{'unitId':_0x3787b7[_0x5e5100][_0x3293c8(0x323)],..._0x3787b7[_0x5e5100][_0x3293c8(0x350)]}},_0x26f470=this[_0x3293c8(0x349)][_0x3293c8(0x39b)](_0x258a07,_0x1df1dd,!0x1);if(_0x2c68de(_0x26f470))throw _0x26f470['error'];_0x258a07=_0x26f470[_0x3293c8(0x221)];}return{..._0x563e2c[_0x3293c8(0x34d)](_0x5d9632),'mutations':[_0x258a07]};}['_transformHistoryAndStateStack'](_0x302b80){const _0x29a960=_0x6d23d9,{unitID:_0x5dd41d}=_0x302b80,{history:_0x9c1652,collaboration:_0x258500}=this[_0x29a960(0x292)][_0x29a960(0x29b)](_0x5dd41d);if(_0x9c1652[_0x29a960(0x327)]===0x0&&_0x258500[_0x29a960(0x327)]===0x0)return;const _0x5e0981=[],_0x377d18=[];let _0x34cced=_0x563e2c[_0x29a960(0x34d)](_0x302b80[_0x29a960(0x398)][0x0]),_0x17c999=_0x563e2c[_0x29a960(0x34d)](_0x302b80[_0x29a960(0x398)][0x0]);for(let _0x2e74a2=_0x9c1652[_0x29a960(0x327)]-0x1;_0x2e74a2>=0x0;_0x2e74a2--){const _0xb20bf3={'id':_0x29a960(0x3b2),'params':{'unitId':_0x9c1652[_0x2e74a2]['unitId'],..._0x9c1652[_0x2e74a2][_0x29a960(0x299)]}},_0x374c93={'id':_0x29a960(0x3b2),'params':{'unitId':_0x9c1652[_0x2e74a2][_0x29a960(0x323)],..._0x9c1652[_0x2e74a2][_0x29a960(0x350)]}},_0x37e8a5=this[_0x29a960(0x349)][_0x29a960(0x39b)](_0x34cced,_0xb20bf3,!0x1),_0x1f4c26=this['_transformService'][_0x29a960(0x39b)](_0x17c999,_0x374c93,!0x1);if(_0x2c68de(_0x37e8a5))throw _0x37e8a5[_0x29a960(0x200)];if(_0x2c68de(_0x1f4c26))throw _0x1f4c26[_0x29a960(0x200)];_0x5e0981[_0x29a960(0x20e)]({..._0x9c1652[_0x2e74a2],'undoState':_0x37e8a5[_0x29a960(0x379)][_0x29a960(0x1f7)],'redoState':_0x1f4c26[_0x29a960(0x379)]['params']}),_0x34cced=_0x37e8a5[_0x29a960(0x221)],_0x17c999=_0x1f4c26[_0x29a960(0x221)];}_0x34cced=_0x563e2c[_0x29a960(0x34d)](_0x302b80[_0x29a960(0x398)][0x0]),_0x17c999=_0x563e2c[_0x29a960(0x34d)](_0x302b80[_0x29a960(0x398)][0x0]);for(let _0x34b72b=_0x258500[_0x29a960(0x327)]-0x1;_0x34b72b>=0x0;_0x34b72b--){const _0x254e01={'id':_0x29a960(0x3b2),'params':{'unitId':_0x258500[_0x34b72b][_0x29a960(0x323)],..._0x258500[_0x34b72b]['undoState']}},_0xab9275={'id':_0x29a960(0x3b2),'params':{'unitId':_0x258500[_0x34b72b][_0x29a960(0x323)],..._0x258500[_0x34b72b][_0x29a960(0x350)]}},_0xe6309c=this[_0x29a960(0x349)][_0x29a960(0x39b)](_0x34cced,_0x254e01,!0x1),_0x5f4b86=this['_transformService'][_0x29a960(0x39b)](_0x17c999,_0xab9275,!0x1);if(_0x2c68de(_0xe6309c))throw _0xe6309c[_0x29a960(0x200)];if(_0x2c68de(_0x5f4b86))throw _0x5f4b86[_0x29a960(0x200)];_0x377d18[_0x29a960(0x20e)]({..._0x258500[_0x34b72b],'undoState':_0xe6309c[_0x29a960(0x379)]['params'],'redoState':_0x5f4b86[_0x29a960(0x379)][_0x29a960(0x1f7)]}),_0x34cced=_0xe6309c['m1Prime'],_0x17c999=_0x5f4b86[_0x29a960(0x221)];}this[_0x29a960(0x292)][_0x29a960(0x242)](_0x5dd41d,{'history':_0x5e0981,'collaboration':_0x377d18});}};re=nn([Ce(0x0,_0x16bcc8(_0x5ca9d3)),Ce(0x1,_0x595647),Ce(0x2,_0x16bcc8(_0x260d63))],re);function _0x3df2(_0xff3473,_0x5eda1b){const _0xbfffb4=_0xbfff();return _0x3df2=function(_0x3df2a5,_0xd48616){_0x3df2a5=_0x3df2a5-0x1d4;let _0x55fa55=_0xbfffb4[_0x3df2a5];return _0x55fa55;},_0x3df2(_0xff3473,_0x5eda1b);}var rn=Object[_0x6d23d9(0x25e)],on=(_0x51f66e,_0x3c2c1a,_0x24d3ee,_0xa19510)=>{for(var _0x2574c4=_0xa19510>0x1?void 0x0:_0xa19510?rn(_0x3c2c1a,_0x24d3ee):_0x3c2c1a,_0x4c18a6=_0x51f66e['length']-0x1,_0x78833c;_0x4c18a6>=0x0;_0x4c18a6--)(_0x78833c=_0x51f66e[_0x4c18a6])&&(_0x2574c4=_0x78833c(_0x2574c4)||_0x2574c4);return _0x2574c4;},tt=(_0x151dce,_0x295e9a)=>(_0x4e412b,_0x53310f)=>_0x295e9a(_0x4e412b,_0x53310f,_0x151dce);let oe=class{constructor(_0x4f1279,_0x3202d7){const _0x266f55=_0x6d23d9;this[_0x266f55(0x266)]=_0x4f1279,this[_0x266f55(0x349)]=_0x3202d7;}['transformSelections'](_0x114855){const _0xe54177=_0x6d23d9;var _0x4dcd28;const _0x292b57=this['_injector'][_0xe54177(0x2bf)](_0xea176c),_0x3b18c9=(_0x4dcd28=_0x292b57['getDocRanges']())!=null?_0x4dcd28:[];if(_0x3b18c9[_0xe54177(0x327)]===0x0)return;const _0x32d89d=_0x114855['unitID'],_0x1b19c7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x32d89d,'actions':null,'textRanges':_0x3b18c9}}],_0x5195ae=this['_transformService'][_0xe54177(0x1f5)](_0x114855,_0x1b19c7);if(!_0x5930b2(_0x5195ae))throw _0x5195ae[_0xe54177(0x200)];const _0x3efa38=_0x5195ae[_0xe54177(0x379)][0x0][_0xe54177(0x1f7)]['textRanges'];Array[_0xe54177(0x35a)](_0x3efa38)&&_0x3efa38[_0xe54177(0x327)]&&_0x292b57['replaceDocRanges'](_0x3efa38,{'unitId':_0x32d89d,'subUnitId':_0x32d89d},!0x1);}};oe=on([tt(0x0,_0x16bcc8(_0x5ca9d3)),tt(0x1,_0x595647)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x1f7d31,_0x3984b9,_0x5d8f7d,_0x54e9d9)=>{const _0x2d7b32=_0x6d23d9;for(var _0x2c5670=_0x54e9d9>0x1?void 0x0:_0x54e9d9?an(_0x3984b9,_0x5d8f7d):_0x3984b9,_0x449eea=_0x1f7d31[_0x2d7b32(0x327)]-0x1,_0x5161a3;_0x449eea>=0x0;_0x449eea--)(_0x5161a3=_0x1f7d31[_0x449eea])&&(_0x2c5670=_0x5161a3(_0x2c5670)||_0x2c5670);return _0x2c5670;},U=(_0x2e4126,_0x229bba)=>(_0x4b036c,_0x4235ed)=>_0x229bba(_0x4b036c,_0x4235ed,_0x2e4126);let ae=class extends _0x385f9d{constructor(_0x4cc06b,_0x3c1409,_0x25b4c4,_0x45bc4a,_0x4e61b2,_0xcac52f,_0x49879a,_0x4dd834){const _0x465eee=_0x6d23d9;super(),_(this,_0x465eee(0x3b0),new _0x7acae5(_0x275594[_0x465eee(0x31c)])),(this['_docStateChangeManagerService']=_0x4cc06b,this[_0x465eee(0x3d0)]=_0x3c1409,this['_docTransformIMECacheService']=_0x25b4c4,this[_0x465eee(0x273)]=_0x45bc4a,this[_0x465eee(0x314)]=_0x4e61b2,this[_0x465eee(0x3cb)]=_0xcac52f,this[_0x465eee(0x305)]=_0x49879a,this['_localeService']=_0x4dd834,this[_0x465eee(0x230)]());}[_0x6d23d9(0x230)](){const _0x54753f=_0x6d23d9;this[_0x54753f(0x1d9)](this['_collaborationController']['entityInit$'][_0x54753f(0x2d9)](_0x14bd6b=>{const _0x51c9a0=_0x54753f,_0x607207=this[_0x51c9a0(0x292)][_0x51c9a0(0x35b)]['subscribe'](_0x3bbec4=>{const _0x2788a9=_0x51c9a0;if(_0x3bbec4==null)return;const {unitId:_0x5e2901,redoState:_0x3628a9,commandId:_0x583ee8}=_0x3bbec4;if(_0x5e2901!==_0x14bd6b['unitID'])return;const _0x3ceb16={'id':_0x583ee8,'type':_0x59f8cc[_0x2788a9(0x333)],'params':{'unitId':_0x5e2901,'actions':_0x3628a9['actions'],'textRanges':null}};_0x14bd6b['onLocalMutation'](_0x3ceb16);});if(_0x14bd6b[_0x51c9a0(0x1d9)](_0x607207),_0x14bd6b instanceof _0x5d4842){const _0x185eeb={'onTransformIME':_0x9c21e=>this[_0x51c9a0(0x2c2)]['transformIMECache'](_0x9c21e),'onTransformState':_0x125a08=>this[_0x51c9a0(0x273)][_0x51c9a0(0x33f)](_0x125a08),'onTransformSelections':_0x2c76b0=>this[_0x51c9a0(0x314)][_0x51c9a0(0x38e)](_0x2c76b0),'onSyncEditingCollabCursor':_0x2d4399=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x2d4399),'onTransformRemoteChangesetByIMECache':_0x43a2e4=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x43a2e4),'onTransformRemoteChangesetByStateCache':_0x4c3e92=>this[_0x51c9a0(0x273)]['transformRemoteChangeset'](_0x4c3e92)};_0x14bd6b[_0x51c9a0(0x241)](_0x185eeb);}}));}};function _0xbfff(){const _0x2bc9e4=['_themeService','_docSkeleton','_registerRenderDependencies','_localCacheService','set','width','createSocket','setConfig','getUndoRedoMutationParamsCache','_handleHeartbeatEvent','SNAPSHOT_INVALID_SNAPSHOT','_localeService','1Jhgkyp','/run/','defineProperty','permission.content','_docStateChangeManagerService','getCollabEntity$','setUndoRedoMutationParamsCache','saveOfflineData','_initEvent','_memberService','collab-text-anchor-','undoState','getOffsetConfig','getStateCache','getCollabCursors$','_onRefRangeChange','_ensureSubject','color','_notificationService','resize','_collabSessionService','MOBILE_HAS_BEEN_BOUND','url(#off-line-icon_clip0_910_343)','_selfUnitIDs','InsertRangeMoveRightCommandId','InsertRangeMoveDownCommandId','subunit','type','_getScale','hovered','_colorIndex','_docSkeletonManagerService','_unitStatus','_range','labelPosition','collaboration-client-ui.config','getUnhiddenWorksheets','_unitOnClients','svg','send','_labelPosition','_onCursorUpdate','onCommandExecuted','makeDirty','_urlService','font','getUnitId','_renderManagerService','collaboration.closeRoom','get','_collaborationUIEventService','row','_docTransformIMECacheService','range','height','complete','_hideTimer','parse','DeleteRangeMoveUpCommandId','executionId','YUUMI_ALL_TABLES_IS_INVALID','_heartbeatTimer','from','_setupSubUnitSync','LICENSE_MAX_UNITS_EXCEEDED','_clearOtherTimers','_scene','textRanges','replaceState','_cursorShapes','ENSURE_SNAPSHOT_EXECUTION','selections','_name','TEXT','off-line-icon_clip0_910_343','subscribe','_session','beginPath','_disabled','activeSheet$','INVALID_INVITE_CODE','pushState','_init','init','disposeUnit','split','_context','APPLY_REVISION_CONFILICT','getTypeOfUnitDisposed$','_removeCollabCursors','isActive','event$','search','_onCursorDelete','save','clearTimeout','roomMembers','_handleLeaveEvent','UPDATE_CURSOR','INVITE_CODE_REQUIRED','10641375tzRqNh','_drawAnchor','updateOfflineData','getFocusedUnit','random','getSheetId','asObservable','saveImage','all','_configService','wsSessionTicketUrl','OTHER_CLIENT_EDITING','_toggleOffline','runOnServer','#FFF','findNodePositionByCharIndex','WECHAT_HAS_BEEN_BOUND','onRendered','[CollaborationDataLoaderController]','_messageService','_hovered','addObject','23783030zvHtgi','clearInterval','engine','hasOwnProperty','Failed','OnLineIcon','path','on-line-icon','LICENSE_EXPORT_SIZE_EXCEEDED','delete','_color','_beforeCloseService','_docTransformSelectionsService','_logService','_uiPartsService','_commandService','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','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','href','sessionTicket','NOT_COLLAB','_shapes','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','div','SYNCED','createInstance','_sheetSkeletonManagerService','unitId','_updateLocalCursor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','0\x200\x2016\x2016','length','focused$','eventID','getOwnPropertySymbols','call','use','dispose','startsWith','_toggleOnline','then','collaboration.single-unit.warning','INTERNAL_ERROR','MUTATION','UNIVER_SHEET','bottom','cursorInfo$','YUUMI_URL_COL_OUT_OF_RANGE','map','LICENSE_IMPORT_SIZE_EXCEEDED','removeParam','_getSessionTicket','key','size','current','transformStateCache','UNAUTHENTICATED','_colorAssignService','symbol','closePath','_saveCache','trim','_lastPointer','M0\x200H16V16H0z','getTypeOfUnitAdded$','_transformService','idSuffix','_scheduleSaving','lineTo','deepClone','_transformPreviousActiveRange','executeCommand','redoState','60OPMlFO','_config','setParam','_draw','NOT_FOUND','next','APPLY_NON_SEQUENTIAL_REVISION','assignAColorForMemberID','http://www.w3.org/2000/svg','isArray','docStateChange$','restore','children','3449304PKwIGl','PY_RUNTIME_SCRIPT_ERROR','dispose$','ALREADY_EXISTS','_render','ranges','_initResize','runId','currentSkeleton$','column','fillStyle','_dataLoaderService','addEventListener','_anchor','RECT','CONFLICT','onPointerMove$','collab-client.tooltip.reconnect','measureText','add','4546472ytwXGu','reconnect','transform','_revisionService','univer-flex\x20univer-mr-2\x20univer-text-xl','JOIN_ROOM_FAILED','drawWith','m2Prime','_updateURLWithCurrentState','getVpScrollXYInfoByPosToVp','indexOf','currentColor','SUBMIT_CHANGESET_TIMEOUT','values','replace','generateRandomId','_cachedData','assign','editingUnit','data','getConfig','LOGIN_FAILED','exhaustSavingTask','green.600','COMPLETION_FINISHED','CONNECTOR_DATA_TOO_LARGE','onTransformChange$','_handleJoinEvent','transformSelections','_scheduleClearOtherTimer','_refRangeService','HEADER_MENU','APPLY_PERMISSION_DENIED','transformIMECache','_document','_collabCursorController','_eventUnsubscribe','getUniverSheetInstance','mutations','YUUMI_UNABLE_LOAD_URL','OffLineIcon','transformMutation','_textBubble','session.connection-failed','fill','INVITE_CODE_ALREADY_BOUND','sheetID','TOO_MANY_REQUESTS','_removeClearOtherTimer','UNRECOGNIZED','top','unsubscribe','collabCursorState$','unit','_startDocCollabCursor','arc','setTimeout','_initDependencies','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','clipPath','newValue','_status$','_setupBeforeClosingHandler','doc.mutation.rich-text-editing','forEach','defs','subscribeEvent','requireSession','cursorInfo','code','attrs','_createSocketURL','Error','getCellPositionByOffset','getValue','MoveRangeCommandId','origin','72slRKnN','Warning','syncEditingCollabCursor','application/json','APPLY_REJECT','xlink:href','SOCKET_FAILED_RETRY','text','has','getCurrent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_docSyncEditingCollabCursorService','fillRule','yellow.400','_localStorageService','getRangePointData','_collaborationController','getUnitStatus$','_updateSubUnitFromURLParams','_registerDependencies','prototype','isEditing','_roomMembers$','InsertRowCommandId','displayName','defIds','blue.400','setActiveRange','transformRemoteChangeset','searchParams','pluginName','[RemoteUniscriptService]:\x20no\x20focused\x20unit','disposeWithMe','sessionStatus$','loadUnit','_scheduleHeartbeat','session.will-retry','ONLINE','purple.300','status$','_getMergeRange','storage','urlChange$','on-line-icon_clip0_910_349','push','roomMembers$','white','collabStatus.synced','univerjs-icon\x20univerjs-icon-','flatMap','startColumn','YUUMI_RATE_OVER_LIMIT','enableLocalCache','includes','mask','getCurrentSelections','getAncestorScale','extend','getMergeData','UNDEFINED','transformMutationsWithChangeset','none','params','_cursors','setShapeProps','override','_saveTaskMap','_initStatusListener','concat','unitID','_cursorInfo$','error','_refreshCollabCursors','_drawRectRange','body','popstate','setInterval','session.collaboration-timeout','_getSheetObject','getViewport','red.300','tag','_anchorDot','round','setItem','unshift','black','_transformUndoRedoStack','collabStatus.syncing','history','_handleEvent','evenodd','INVITE_CODE_HAS_BEEN_UES','endRow','302352rdGjLm','apply','icon','sheetId','USER_NOT_INVITED_CODE','EMAIL_HAS_BEEN_BOUND','YUUMI_AI_RUN_FAILED','_backgroundColor','collaboration-client.offline-data-not-saved','USERS_LEAVE','m1Prime','show','RemoveColCommandId','_updateCollabCursors','AWAITING','rgba(255,\x20255,\x20255,\x200.01)','_hover','_entities','saveTaskMap','PERMISSION_DENIED','colorChannel1','pipe','onMouseMove','_startSheetCollabCursor','SNAPSHOT_HAS_BEEN_REMOVED','_initEntityListener','_drawTextRange','with','_online','YUUMI_ASYNCIO_CANCELLED','1em','OFFLINE','getSheetBySheetId','UniverIcon','_assignedColors','setAlpha','collab-rect-range-','_entityInit$','univer-flex\x20univer-items-center','2286566numNdx','stringify','loadOfflineData','addHandlerCallback','setStateCache','_univerInstanceService','startRow','fillText','toRgbString','registerRefRange','registerBeforeClose','getParam','UNIVER_DOC','entries','selection','_syncEditingCollabCursorService','some','_transformHistoryAndStateStack','11SobclR','hide','getActiveSheet','translate(.97)','getSkeleton','backgroundColor','INVALID_ARGUMENT','_getAnchorBounding','className','1092049ZbIXGs','permission.title','_collabCursorState$','collab-text-range-','onStarting','getOwnPropertyDescriptor','getDocRanges','addObjects','name','collabStatus.conflict','url(#$1','LICENSE_DISTRO_REJECTED','_docClipboardService','_injector','getMember','onPointerLeave$','location','YUUMI_NO_CUBOID_FOR_QUESTION','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','onPointerEnter$','_send','registerRenderModule','min','max','result','triggerDblclick','_docTransformStateCacheService','off-line-icon','_instanceService','_httpService','string','Unknown\x20user','getColorFromTheme','_id','getRenderById','toString','disableLocalCache','DeleteRangeMoveLeftCommandId','FromArray','debug','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED'];_0xbfff=function(){return _0x2bc9e4;};return _0xbfff();}ae=cn([U(0x0,_0x16bcc8(_0x260d63)),U(0x1,_0x16bcc8(_0x117fe2)),U(0x2,_0x16bcc8(ne)),U(0x3,_0x16bcc8(re)),U(0x4,_0x16bcc8(oe)),U(0x5,_0x16bcc8(He)),U(0x6,_0x431071),U(0x7,_0x16bcc8(_0x5b0713))],ae);var ln=Object[_0x6d23d9(0x25e)],_n=(_0x28be3a,_0x3a9b0f,_0x106682,_0x355661)=>{for(var _0x6fa7e9=_0x355661>0x1?void 0x0:_0x355661?ln(_0x3a9b0f,_0x106682):_0x3a9b0f,_0x50286a=_0x28be3a['length']-0x1,_0x2e898f;_0x50286a>=0x0;_0x50286a--)(_0x2e898f=_0x28be3a[_0x50286a])&&(_0x6fa7e9=_0x2e898f(_0x6fa7e9)||_0x6fa7e9);return _0x6fa7e9;},Ee=(_0x5bf21b,_0x8496e6)=>(_0xb9c3af,_0x3c3de5)=>_0x8496e6(_0xb9c3af,_0x3c3de5,_0x5bf21b);let Le=class extends _0x385f9d{constructor(_0xb24c78,_0x22fce3,_0x378c32){const _0x4e4565=_0x6d23d9;super(),_(this,_0x4e4565(0x382),new Map()),_(this,_0x4e4565(0x1fb),new Map()),_(this,_0x4e4565(0x2dc),!0x1),(this[_0x4e4565(0x2fb)]=_0xb24c78,this[_0x4e4565(0x3ce)]=_0x22fce3,this[_0x4e4565(0x375)]=_0x378c32);}[_0x6d23d9(0x27d)](){this['_disabled']=!0x0;}[_0x6d23d9(0x1ed)](){const _0x26f9b4=_0x6d23d9;this[_0x26f9b4(0x2dc)]=!0x1;}get[_0x6d23d9(0x229)](){const _0x53d2ba=_0x6d23d9;return this[_0x53d2ba(0x1fb)];}[_0x6d23d9(0x32d)](){const _0x9bcf2a=_0x6d23d9;this[_0x9bcf2a(0x388)]()[_0x9bcf2a(0x330)](()=>super['dispose']());}async[_0x6d23d9(0x240)](_0x2bdee4){const _0x214b44=_0x6d23d9;return this[_0x214b44(0x2dc)]?null:this['_localStorageService']['getItem'](_0x4cee9f(_0x2bdee4));}async[_0x6d23d9(0x295)](_0x262039,_0x104743){const _0x117e46=_0x6d23d9;return!!this[_0x117e46(0x3ce)][_0x117e46(0x20d)](_0x262039,_0x104743);}[_0x6d23d9(0x2f4)](_0x10ce64,_0x563f9f,_0xae7060,_0x4eb73d){const _0x36d2ac=_0x6d23d9,_0x1c4032=this[_0x36d2ac(0x375)]['getCurrentRevOfUnit'](_0x10ce64);this[_0x36d2ac(0x382)]['set'](_0x10ce64,{'unitID':_0x10ce64,'type':_0x563f9f,'awaitingChangeset':_0xae7060,'mutations':_0x4eb73d,'rev':_0x1c4032}),this[_0x36d2ac(0x1fb)][_0x36d2ac(0x3c8)](_0x10ce64)||this[_0x36d2ac(0x34b)](_0x10ce64);}['_scheduleSaving'](_0x582657){const _0x44136a=_0x6d23d9,_0x361deb=this['_getSaveTimeout']();_0x361deb===0x0?this[_0x44136a(0x344)](_0x582657):this[_0x44136a(0x1fb)][_0x44136a(0x286)](_0x582657,setTimeout(()=>this[_0x44136a(0x344)](_0x582657),_0x361deb));}['_getSaveTimeout'](){const _0x45f9f8=_0x6d23d9;var _0x5d0108;return(_0x5d0108=this[_0x45f9f8(0x2fb)][_0x45f9f8(0x386)](_0xecf43e))!=null?_0x5d0108:_0x107b58;}[_0x6d23d9(0x344)](_0x3f40ba){const _0x12f70=_0x6d23d9,_0x42ad77=this[_0x12f70(0x1fb)][_0x12f70(0x2bf)](_0x3f40ba);return _0x42ad77!==void 0x0&&window['clearTimeout'](_0x42ad77),this['_localStorageService'][_0x12f70(0x20d)](_0x4cee9f(_0x3f40ba),this['_cachedData'][_0x12f70(0x2bf)](_0x3f40ba))[_0x12f70(0x330)](()=>this[_0x12f70(0x1fb)][_0x12f70(0x311)](_0x3f40ba));}async[_0x6d23d9(0x388)](){const _0x39897d=_0x6d23d9,_0x28e6cf=[];this[_0x39897d(0x1fb)][_0x39897d(0x3b3)]((_0x35856c,_0x3c183b)=>{const _0x2cd1c4=_0x39897d;window[_0x2cd1c4(0x2ed)](_0x35856c),_0x28e6cf[_0x2cd1c4(0x1e5)](this[_0x2cd1c4(0x344)](_0x3c183b)[_0x2cd1c4(0x330)](()=>{const _0x823186=_0x2cd1c4;this[_0x823186(0x1fb)][_0x823186(0x311)](_0x3c183b);}));}),await Promise[_0x39897d(0x2fa)](_0x28e6cf);}};Le=_n([Ee(0x0,_0x20e78e),Ee(0x1,_0x514075),Ee(0x2,_0x16bcc8(_0x11b3da))],Le);class hn extends _0x4993e4{constructor(){const _0x466dba=_0x6d23d9;super(),_(this,_0x466dba(0x1e3)),this['urlChange$']=_0x24ef00(window,_0x466dba(0x204))[_0x466dba(0x22c)](_0x15e276(this[_0x466dba(0x360)]),_0x535e67(0x1),_0x3dd3ea(void 0x0));}[_0x6d23d9(0x353)](_0x4be504,_0x2ae518,_0x31ba78=!0x1){const _0x5e770f=_0x6d23d9,_0x1b82f8=new URL(window[_0x5e770f(0x269)][_0x5e770f(0x31a)]);_0x1b82f8[_0x5e770f(0x1d6)][_0x5e770f(0x286)](_0x4be504,_0x2ae518),_0x31ba78?window[_0x5e770f(0x212)]['replaceState']('','',_0x1b82f8[_0x5e770f(0x27c)]()):window[_0x5e770f(0x212)][_0x5e770f(0x2df)]('','',_0x1b82f8[_0x5e770f(0x27c)]());}[_0x6d23d9(0x33a)](_0x3a94d2,_0x43da11=!0x1){const _0x316b9d=_0x6d23d9,_0x50696a=new URL(window[_0x316b9d(0x269)]['href']);_0x50696a['searchParams'][_0x316b9d(0x311)](_0x3a94d2),_0x43da11?window[_0x316b9d(0x212)][_0x316b9d(0x2d2)]('','',_0x50696a['toString']()):window[_0x316b9d(0x212)][_0x316b9d(0x2df)]('','',_0x50696a['toString']());}['getParam'](_0x33db6a){const _0x27f387=_0x6d23d9;var _0x33821d;return(_0x33821d=new URL(window[_0x27f387(0x269)]['href'])[_0x27f387(0x1d6)]['get'](_0x33db6a))!=null?_0x33821d:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x6d23d9(0x25e)],fn=(_0x54c435,_0xccbf44,_0x301fda)=>_0xccbf44 in _0x54c435?un(_0x54c435,_0xccbf44,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x301fda}):_0x54c435[_0xccbf44]=_0x301fda,Sn=(_0x21aede,_0x465faf,_0x4ba64f,_0x3085b0)=>{for(var _0x2c07c8=_0x3085b0>0x1?void 0x0:_0x3085b0?dn(_0x465faf,_0x4ba64f):_0x465faf,_0x13a436=_0x21aede['length']-0x1,_0x4c8120;_0x13a436>=0x0;_0x13a436--)(_0x4c8120=_0x21aede[_0x13a436])&&(_0x2c07c8=_0x4c8120(_0x2c07c8)||_0x2c07c8);return _0x2c07c8;},Oe=(_0x59a0b9,_0x446383)=>(_0x417661,_0x5b43b6)=>_0x446383(_0x417661,_0x5b43b6,_0x59a0b9),mn=(_0x379e9c,_0x27cf76,_0x4e0916)=>fn(_0x379e9c,_0x27cf76+'',_0x4e0916);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x5a093d{constructor(_0x71d946=et,_0x3069f9,_0x578bf6,_0x1257fb){const _0x5337fe=_0x6d23d9;super(),this['_config']=_0x71d946,this[_0x5337fe(0x2bd)]=_0x3069f9,this['_injector']=_0x578bf6,this['_configService']=_0x1257fb;const {..._0x204faf}=_0x5f54ef({},et,this['_config']);this[_0x5337fe(0x2fb)][_0x5337fe(0x289)](Zi,_0x204faf);}[_0x6d23d9(0x25d)](){const _0x4458dd=_0x6d23d9;this[_0x4458dd(0x3d3)](),this[_0x4458dd(0x3ab)]();}[_0x6d23d9(0x303)](){const _0x2b585c=_0x6d23d9;this[_0x2b585c(0x284)]();}[_0x6d23d9(0x3d3)](){const _0x43d7b4=_0x6d23d9;var _0x419990;const _0x166709=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x5a65ce,{'useClass':_0x6c3634}],[_0x4941b6,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x422ad4(this[_0x43d7b4(0x266)],_0x160940(_0x166709,(_0x419990=this[_0x43d7b4(0x352)])==null?void 0x0:_0x419990[_0x43d7b4(0x1fa)]));}[_0x6d23d9(0x284)](){const _0x232eda=_0x6d23d9;this[_0x232eda(0x1d9)](this[_0x232eda(0x2bd)][_0x232eda(0x26e)](_0x17521d[_0x232eda(0x24a)],[we])),this[_0x232eda(0x1d9)](this[_0x232eda(0x2bd)][_0x232eda(0x26e)](_0x17521d['UNIVER_SHEET'],[Pe]));}['_initDependencies'](){const _0x266ed6=_0x6d23d9;_0x4b66ab(this[_0x266ed6(0x266)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x6d23d9(0x1d7),In),Ae=Sn([_0x1eaa73(_0x2364cd),Oe(0x1,_0x82509f),Oe(0x2,_0x16bcc8(_0x5ca9d3)),Oe(0x3,_0x20e78e)],Ae);var gn=Object[_0x6d23d9(0x25e)],vn=(_0x5b2ebf,_0x5a9d37,_0x26e70a,_0x4a408f)=>{for(var _0x1233fc=_0x4a408f>0x1?void 0x0:_0x4a408f?gn(_0x5a9d37,_0x26e70a):_0x5a9d37,_0x3a656f=_0x5b2ebf['length']-0x1,_0x3b0d2e;_0x3a656f>=0x0;_0x3a656f--)(_0x3b0d2e=_0x5b2ebf[_0x3a656f])&&(_0x1233fc=_0x3b0d2e(_0x1233fc)||_0x1233fc);return _0x1233fc;},K=(_0x13f784,_0x28e84d)=>(_0x573a35,_0x3abfab)=>_0x28e84d(_0x573a35,_0x3abfab,_0x13f784);let st=class extends _0x194cf9{constructor(_0x572c40,_0x432318,_0x3b2c25,_0x304041,_0x32d36b){super(_0x572c40,_0x432318,_0x3b2c25,_0x304041,_0x32d36b);}async[_0x6d23d9(0x288)](_0x3e4269){const _0x228707=await this['_getSessionTicket'](),_0x1487e7=this['_createSocketURL'](_0x3e4269,_0x228707);return this['_doCreateSocket'](_0x1487e7);}[_0x6d23d9(0x3ba)](_0xc431ac,_0x4b225e){const _0x1ad120=_0x6d23d9,_0x52e3a0=typeof window>'u'?new URL(_0xc431ac):new URL(_0xc431ac,window['location'][_0x1ad120(0x3bf)]);_0x52e3a0[_0x1ad120(0x1d6)][_0x1ad120(0x286)](_0x1ad120(0x31b),_0x4b225e);const _0x422ca6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1ad120(0x269)][_0x1ad120(0x2ea)]);return _0x422ca6[_0x1ad120(0x2bf)](_0x1ad120(0x365))&&_0x52e3a0[_0x1ad120(0x1d6)]['set'](_0x1ad120(0x365),_0x422ca6[_0x1ad120(0x2bf)](_0x1ad120(0x365))),_0x52e3a0[_0x1ad120(0x27c)]();}async[_0x6d23d9(0x33b)](){const _0x287281=_0x6d23d9;var _0xae1ad9,_0x31269d,_0x18248a;const _0x165e0c=this['_configService'][_0x287281(0x386)](_0x16deff),_0x5578dd=(_0xae1ad9=_0x165e0c==null?void 0x0:_0x165e0c[_0x287281(0x2fc)])!=null?_0xae1ad9:_0x5b5819;return(_0x18248a=(_0x31269d=(await this['_httpService']['get'](_0x5578dd,{'headers':{'Content-Type':_0x287281(0x3c3)}}))[_0x287281(0x203)])==null?void 0x0:_0x31269d['ticket'])!=null?_0x18248a:'';}};st=vn([K(0x0,_0x16bcc8(_0x5ca9d3)),K(0x1,_0x16bcc8(_0x3ff269)),K(0x2,_0x20e78e),K(0x3,_0x5306cc),K(0x4,_0x450326)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x385f9d{constructor(){const _0x52c6f1=_0x6d23d9;super(),_(this,_0x52c6f1(0x27a),_0x333a28()),_(this,_0x52c6f1(0x2a5),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x52c6f1(0x2cb),null),_(this,_0x52c6f1(0x2cf),new Map()),_(this,_0x52c6f1(0x2ae),new Map()),this[_0x52c6f1(0x2e0)]();}['dispose'](){const _0xc21fa7=_0x6d23d9;super[_0xc21fa7(0x32d)](),this[_0xc21fa7(0x2cf)][_0xc21fa7(0x3b3)]((_0x33935c,_0x138d44)=>this[_0xc21fa7(0x3a2)](_0x138d44)),this['_heartbeatTimer']&&window[_0xc21fa7(0x309)](this[_0xc21fa7(0x2cb)]);}[_0x6d23d9(0x3d1)](_0xae5657){const _0x5a2647=_0x6d23d9;return this['_ensureSubject'](_0xae5657)[_0x5a2647(0x22c)](_0x582f79());}[_0x6d23d9(0x384)](_0x3f930a){const _0x41f8cb=_0x6d23d9;this[_0x41f8cb(0x2a5)][_0x41f8cb(0x33d)]===0x0&&this[_0x41f8cb(0x1dc)](),this[_0x41f8cb(0x2a5)]['add'](_0x3f930a),this[_0x41f8cb(0x26d)]({'type':0x0,'memberID':this[_0x41f8cb(0x27a)],'unitIDs':[_0x3f930a],'isForwarded':!0x1});}[_0x6d23d9(0x2e2)](_0x25ef88){const _0x3b621b=_0x6d23d9;this['_selfUnitIDs']['delete'](_0x25ef88),this[_0x3b621b(0x2a5)][_0x3b621b(0x33d)]===0x0&&this[_0x3b621b(0x2cb)]&&window[_0x3b621b(0x309)](this[_0x3b621b(0x2cb)]);}[_0x6d23d9(0x2e0)](){const _0x1ca7b7=_0x6d23d9;this[_0x1ca7b7(0x1d9)](_0x4ebc66(_0x24ef00(window,_0x1ca7b7(0x1e2))['subscribe'](_0x11c717=>{const _0x170e59=_0x1ca7b7;if(_0x11c717[_0x170e59(0x33c)]!==nt||!_0x11c717[_0x170e59(0x3af)])return;const _0x6fd9ad=JSON[_0x170e59(0x2c7)](_0x11c717[_0x170e59(0x3af)]);this['_handleEvent'](_0x6fd9ad);}))),window[_0x1ca7b7(0x36a)]('unload',()=>this[_0x1ca7b7(0x26d)]({'type':0x1,'memberID':this[_0x1ca7b7(0x27a)],'unitIDs':Array[_0x1ca7b7(0x2cc)](this['_selfUnitIDs'])}));}[_0x6d23d9(0x213)](_0x5a0343){const _0x307283=_0x6d23d9;switch(_0x5a0343['type']){case 0x0:this[_0x307283(0x38d)](_0x5a0343);break;case 0x1:this['_handleLeaveEvent'](_0x5a0343);break;case 0x2:this['_handleHeartbeatEvent'](_0x5a0343);break;}}[_0x6d23d9(0x38d)](_0x598401){const _0x3d3630=_0x6d23d9,{unitIDs:_0x370608,memberID:_0x4d1174,isForwarded:_0xd70cbc}=_0x598401;_0x370608[_0x3d3630(0x3b3)](_0x3bfafb=>{const _0x3f3a20=_0x3d3630;if(!_0xd70cbc&&this['_unitOnClients'][_0x3f3a20(0x3c8)](_0x3bfafb)&&this[_0x3f3a20(0x29e)](_0x3bfafb)['next'](_0x3670a8['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x3bfafb)||!this[_0x3f3a20(0x2b3)][_0x3f3a20(0x2bf)](_0x3bfafb)[_0x3f3a20(0x3c8)](_0x4d1174)){const _0x4631c9=this['_unitOnClients'][_0x3f3a20(0x2bf)](_0x3bfafb)||new Set();_0x4631c9[_0x3f3a20(0x371)](_0x4d1174),this[_0x3f3a20(0x2b3)][_0x3f3a20(0x286)](_0x3bfafb,_0x4631c9),this[_0x3f3a20(0x38f)](_0x4d1174);}}),_0xd70cbc||this[_0x3d3630(0x26d)]({'type':0x0,'memberID':this[_0x3d3630(0x27a)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x6d23d9(0x38f)](_0x1dd836){const _0x1fa2de=_0x6d23d9;this[_0x1fa2de(0x3a2)](_0x1dd836);const _0x473505=window[_0x1fa2de(0x3aa)](()=>{const _0x3e0a18=_0x1fa2de;this[_0x3e0a18(0x2b3)][_0x3e0a18(0x3b3)](_0x37987d=>{_0x37987d['delete'](_0x1dd836);});},it*0x2);this[_0x1fa2de(0x2cf)][_0x1fa2de(0x286)](_0x1dd836,_0x473505);}[_0x6d23d9(0x3a2)](_0x3a00be){const _0x3ba844=_0x6d23d9;if(this[_0x3ba844(0x2cf)][_0x3ba844(0x3c8)](_0x3a00be)){const _0x3e3ca1=this[_0x3ba844(0x2cf)]['get'](_0x3a00be);_0x3e3ca1&&window[_0x3ba844(0x2ed)](_0x3e3ca1),this['_clearOtherTimers'][_0x3ba844(0x286)](_0x3a00be,null);}}[_0x6d23d9(0x2ef)](_0x5395b3){const _0xdc44ac=_0x6d23d9,{memberID:_0x4e26ec,unitIDs:_0x2d1685}=_0x5395b3;_0x2d1685['forEach'](_0xb53427=>{const _0x9bd24e=_0x3df2;var _0x20bcbb;const _0x459f1b=this[_0x9bd24e(0x2b3)]['get'](_0xb53427);_0x459f1b&&(_0x459f1b[_0x9bd24e(0x311)](_0x4e26ec),(_0x20bcbb=this[_0x9bd24e(0x29e)](_0xb53427))==null||_0x20bcbb[_0x9bd24e(0x356)](_0x459f1b[_0x9bd24e(0x33d)]===0x0?_0x3670a8['NO_OTHER_CLIENTS_EDITING']:_0x3670a8['OTHER_CLIENTS_EDITING']));}),this[_0xdc44ac(0x3a2)](_0x4e26ec);}[_0x6d23d9(0x28b)](_0x3f4829){this['_scheduleClearOtherTimer'](_0x3f4829['memberID']);}[_0x6d23d9(0x26d)](_0x51dbbc){const _0x5290cf=_0x6d23d9;localStorage[_0x5290cf(0x20d)](nt,JSON[_0x5290cf(0x23f)](_0x51dbbc));}[_0x6d23d9(0x1dc)](){const _0x4a560d=_0x6d23d9;this['_heartbeatTimer']=window[_0x4a560d(0x205)](()=>{const _0x281ea0=_0x4a560d;this[_0x281ea0(0x26d)]({'type':0x2,'memberID':this[_0x281ea0(0x27a)]});},it);}[_0x6d23d9(0x29e)](_0x5ca50e){const _0x3140bf=_0x6d23d9;return this[_0x3140bf(0x2ae)][_0x3140bf(0x3c8)](_0x5ca50e)||this[_0x3140bf(0x2ae)][_0x3140bf(0x286)](_0x5ca50e,new _0x7acae5(_0x3670a8['NO_OTHER_CLIENTS_EDITING'])),this[_0x3140bf(0x2ae)][_0x3140bf(0x2bf)](_0x5ca50e);}}var Mt=(_0x131a92=>(_0x131a92[_0x131a92['UNDEFINED']=0x0]=_0x6d23d9(0x1f4),_0x131a92[_0x131a92['OK']=0x1]='OK',_0x131a92[_0x131a92[_0x6d23d9(0x332)]=0x2]='INTERNAL_ERROR',_0x131a92[_0x131a92[_0x6d23d9(0x22a)]=0x3]='PERMISSION_DENIED',_0x131a92[_0x131a92[_0x6d23d9(0x355)]=0x4]=_0x6d23d9(0x355),_0x131a92[_0x131a92['UNAUTHENTICATED']=0x5]=_0x6d23d9(0x340),_0x131a92[_0x131a92[_0x6d23d9(0x361)]=0x6]=_0x6d23d9(0x361),_0x131a92[_0x131a92['INVALID_ARGUMENT']=0x7]=_0x6d23d9(0x256),_0x131a92[_0x131a92[_0x6d23d9(0x3a1)]=0x8]=_0x6d23d9(0x3a1),_0x131a92[_0x131a92[_0x6d23d9(0x38a)]=0x9]=_0x6d23d9(0x38a),_0x131a92[_0x131a92[_0x6d23d9(0x387)]=0xa]=_0x6d23d9(0x387),_0x131a92[_0x131a92['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x131a92[_0x131a92['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x6d23d9(0x28c),_0x131a92[_0x131a92[_0x6d23d9(0x22f)]=0x1772]=_0x6d23d9(0x22f),_0x131a92[_0x131a92[_0x6d23d9(0x2d4)]=0x1773]=_0x6d23d9(0x2d4),_0x131a92[_0x131a92[_0x6d23d9(0x3c4)]=0x1b59]='APPLY_REJECT',_0x131a92[_0x131a92['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x6d23d9(0x357),_0x131a92[_0x131a92['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x6d23d9(0x2e5),_0x131a92[_0x131a92[_0x6d23d9(0x392)]=0x1b5c]=_0x6d23d9(0x392),_0x131a92[_0x131a92['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x131a92[_0x131a92[_0x6d23d9(0x38b)]=0x1f41]=_0x6d23d9(0x38b),_0x131a92[_0x131a92[_0x6d23d9(0x2ce)]=0x2329]=_0x6d23d9(0x2ce),_0x131a92[_0x131a92['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x6d23d9(0x3ca),_0x131a92[_0x131a92['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x6d23d9(0x339),_0x131a92[_0x131a92[_0x6d23d9(0x310)]=0x232c]=_0x6d23d9(0x310),_0x131a92[_0x131a92['LICENSE_DISTRO_REJECTED']=0x232d]=_0x6d23d9(0x264),_0x131a92[_0x131a92['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x6d23d9(0x399),_0x131a92[_0x131a92['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x6d23d9(0x337),_0x131a92[_0x131a92['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x6d23d9(0x1ec),_0x131a92[_0x131a92[_0x6d23d9(0x3ac)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x131a92[_0x131a92[_0x6d23d9(0x26a)]=0x271a]=_0x6d23d9(0x26a),_0x131a92[_0x131a92['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x6d23d9(0x234),_0x131a92[_0x131a92[_0x6d23d9(0x3ad)]=0x271c]=_0x6d23d9(0x3ad),_0x131a92[_0x131a92[_0x6d23d9(0x2ca)]=0x271d]=_0x6d23d9(0x2ca),_0x131a92[_0x131a92[_0x6d23d9(0x281)]=0x271e]=_0x6d23d9(0x281),_0x131a92[_0x131a92['YUUMI_AI_RUN_FAILED']=0x271f]=_0x6d23d9(0x21d),_0x131a92[_0x131a92[_0x6d23d9(0x35f)]=0x2af9]=_0x6d23d9(0x35f),_0x131a92[_0x131a92[_0x6d23d9(0x215)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x131a92[_0x131a92[_0x6d23d9(0x2de)]=0x2ee2]=_0x6d23d9(0x2de),_0x131a92[_0x131a92[_0x6d23d9(0x2f1)]=0x2ee3]=_0x6d23d9(0x2f1),_0x131a92[_0x131a92[_0x6d23d9(0x21b)]=0x2ee4]=_0x6d23d9(0x21b),_0x131a92[_0x131a92[_0x6d23d9(0x39f)]=0x2ee5]=_0x6d23d9(0x39f),_0x131a92[_0x131a92[_0x6d23d9(0x302)]=0x32c9]=_0x6d23d9(0x302),_0x131a92[_0x131a92[_0x6d23d9(0x2a3)]=0x32ca]=_0x6d23d9(0x2a3),_0x131a92[_0x131a92[_0x6d23d9(0x21c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x131a92[_0x131a92[_0x6d23d9(0x3a3)]=-0x1]=_0x6d23d9(0x3a3),_0x131a92))(Mt||{}),pn=Object[_0x6d23d9(0x25e)],Cn=(_0x57d35c,_0x52b831,_0x29ff6c,_0x64bf4d)=>{for(var _0xdfba7d=_0x64bf4d>0x1?void 0x0:_0x64bf4d?pn(_0x52b831,_0x29ff6c):_0x52b831,_0x3f8144=_0x57d35c['length']-0x1,_0x425fe2;_0x3f8144>=0x0;_0x3f8144--)(_0x425fe2=_0x57d35c[_0x3f8144])&&(_0xdfba7d=_0x425fe2(_0xdfba7d)||_0xdfba7d);return _0xdfba7d;},be=(_0x4b3b5,_0x582906)=>(_0x486bf9,_0xb70297)=>_0x582906(_0x486bf9,_0xb70297,_0x4b3b5);let rt=class extends _0x385f9d{constructor(_0x188f87,_0x5bed6b,_0x4fb86c){const _0x42f7ce=_0x6d23d9;super(),this[_0x42f7ce(0x275)]=_0x188f87,this['_httpService']=_0x5bed6b,this[_0x42f7ce(0x2fb)]=_0x4fb86c;}async[_0x6d23d9(0x2ff)](_0x3f54b0,_0xefa787,_0x426559,..._0x5b2936){const _0x3c8240=_0x6d23d9;var _0xcfae06,_0x2b187f,_0x28df21,_0xc12f75;const _0x5a7c05=this[_0x3c8240(0x275)][_0x3c8240(0x2f5)]();if(!_0x5a7c05)throw new Error(_0x3c8240(0x1d8));const _0x4e9cd3=((_0xcfae06=this[_0x3c8240(0x2fb)][_0x3c8240(0x386)](_0x3e9525))!=null?_0xcfae06:_0x5ffefe)+'/'+_0x3f54b0+_0x3c8240(0x28f)+_0xefa787,_0x226abe=new URL(window['location'][_0x3c8240(0x31a)]),_0x2feafb={'scriptId':_0x3f54b0,'runId':(_0x2b187f=_0x226abe[_0x3c8240(0x1d6)]['get'](_0x3c8240(0x365)))!=null?_0x2b187f:'','function':_0xefa787,'unitId':_0x5a7c05[_0x3c8240(0x2bc)](),'argsOfFunction':JSON[_0x3c8240(0x23f)](_0x5b2936),'invokeId':(_0x28df21=_0x426559['invokeId'])!=null?_0x28df21:'','executionId':(_0xc12f75=_0x426559[_0x3c8240(0x2c9)])!=null?_0xc12f75:''};try{const _0xc49eb2=await this[_0x3c8240(0x276)]['post'](_0x4e9cd3,{'body':_0x2feafb});return _0xc49eb2[_0x3c8240(0x203)][_0x3c8240(0x200)]&&_0xc49eb2[_0x3c8240(0x203)][_0x3c8240(0x200)][_0x3c8240(0x3b8)]!==Mt['OK']?_0x3c8240(0x30c):_0xc49eb2[_0x3c8240(0x203)][_0x3c8240(0x271)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x34c0fa),be(0x1,_0x16bcc8(_0x3ff269)),be(0x2,_0x20e78e)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0xc6844f=_0xd6dc;function _0x5373(){const _0x14599a=['2863422xUGrxt','Authentication\x20Error','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','3287373rGTShN','Edit\x20conflicts','1653995uttYlU','6rGeYKf','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','32YyLoMS','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','28088950jzdtdi','5806020lbvajP','Syncing...','930280NPsRZO','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2842916mHnJZx','5uEUaLA','Click\x20to\x20Reconnect','Synced','Collaboration\x20Conflict','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0x5373=function(){return _0x14599a;};return _0x5373();}(function(_0x2733e0,_0x56fbce){const _0x588152=_0xd6dc,_0x257e23=_0x2733e0();while(!![]){try{const _0x588d6d=parseInt(_0x588152(0x161))/0x1+parseInt(_0x588152(0x164))/0x2+-parseInt(_0x588152(0x157))/0x3+parseInt(_0x588152(0x15f))/0x4*(parseInt(_0x588152(0x165))/0x5)+-parseInt(_0x588152(0x15a))/0x6*(parseInt(_0x588152(0x159))/0x7)+parseInt(_0x588152(0x15c))/0x8*(parseInt(_0x588152(0x153))/0x9)+-parseInt(_0x588152(0x15e))/0xa;if(_0x588d6d===_0x56fbce)break;else _0x257e23['push'](_0x257e23['shift']());}catch(_0x231349){_0x257e23['push'](_0x257e23['shift']());}}}(_0x5373,0xe43f8));const e={'collab-client':{'tooltip':{'reconnect':_0xc6844f(0x166)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0xc6844f(0x158),'notCollab':'Local\x20file','synced':_0xc6844f(0x167),'syncing':_0xc6844f(0x160),'offline':_0xc6844f(0x15d)},'session':{'connection-failed':_0xc6844f(0x162),'will-retry':_0xc6844f(0x169),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0xc6844f(0x168),'content':'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.'},'permission':{'title':_0xc6844f(0x154),'content':_0xc6844f(0x155)},'collaboration':{'single-unit':{'warning':_0xc6844f(0x156)},'closeRoom':_0xc6844f(0x163)},'auth':{'needGotoLoginAlert':_0xc6844f(0x15b)}};function _0xd6dc(_0x5820ba,_0x230f11){const _0x5373ec=_0x5373();return _0xd6dc=function(_0xd6dc1a,_0x3b8c3f){_0xd6dc1a=_0xd6dc1a-0x153;let _0x5157e7=_0x5373ec[_0xd6dc1a];return _0x5157e7;},_0xd6dc(_0x5820ba,_0x230f11);}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2e76c9=_0x3e4b;(function(_0x1fb463,_0x525052){const _0x5dd17f=_0x3e4b,_0x1694bb=_0x1fb463();while(!![]){try{const _0x549196=-parseInt(_0x5dd17f(0x1ca))/0x1+-parseInt(_0x5dd17f(0x1d5))/0x2*(parseInt(_0x5dd17f(0x1cf))/0x3)+-parseInt(_0x5dd17f(0x1d2))/0x4*(parseInt(_0x5dd17f(0x1ce))/0x5)+-parseInt(_0x5dd17f(0x1d1))/0x6*(-parseInt(_0x5dd17f(0x1dc))/0x7)+parseInt(_0x5dd17f(0x1da))/0x8+-parseInt(_0x5dd17f(0x1db))/0x9+parseInt(_0x5dd17f(0x1d4))/0xa;if(_0x549196===_0x525052)break;else _0x1694bb['push'](_0x1694bb['shift']());}catch(_0x237d98){_0x1694bb['push'](_0x1694bb['shift']());}}}(_0x52b0,0x29235));function _0x3e4b(_0x13a41b,_0x27d1cd){const _0x52b0dd=_0x52b0();return _0x3e4b=function(_0x3e4b4e,_0x4cc545){_0x3e4b4e=_0x3e4b4e-0x1c9;let _0x2538b2=_0x52b0dd[_0x3e4b4e];return _0x2538b2;},_0x3e4b(_0x13a41b,_0x27d1cd);}const o={'collab-client':{'tooltip':{'reconnect':_0x2e76c9(0x1d3)}},'collabStatus':{'fetchMiss':_0x2e76c9(0x1cb),'conflict':_0x2e76c9(0x1cc),'notCollab':'پرونده\x20محلی','synced':_0x2e76c9(0x1d8),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x2e76c9(0x1dd),'room-full':_0x2e76c9(0x1cd),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x2e76c9(0x1d9),'content':_0x2e76c9(0x1d0)},'permission':{'title':_0x2e76c9(0x1d7),'content':_0x2e76c9(0x1c9)},'collaboration':{'single-unit':{'warning':_0x2e76c9(0x1d6)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x52b0(){const _0x9536fa=['در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','تداخل\x20ویرایش','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','180lnscji','37977yvwTFQ','یک\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رفت.','130506SaDswx','960cTVOEa','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','3994950lowHZf','32yQRRiY','شما\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همکاری','1429424kphXPL','251451PWGpid','14UdBRCW','اتصال\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رفت.','214051uJzCaE'];_0x52b0=function(){return _0x9536fa;};return _0x52b0();}export{o as default};
|