@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506011606 → 0.8.0-nightly.202506021607
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 +15 -15
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5ccdac=_0x709d;(function(_0x3ce960,_0x217e85){const _0x401b0a=_0x709d,_0x3e65fe=_0x3ce960();while(!![]){try{const _0x211596=-parseInt(_0x401b0a(0x1f7))/0x1+parseInt(_0x401b0a(0x281))/0x2*(parseInt(_0x401b0a(0x26a))/0x3)+parseInt(_0x401b0a(0x22e))/0x4+-parseInt(_0x401b0a(0x1b5))/0x5+parseInt(_0x401b0a(0x12c))/0x6*(parseInt(_0x401b0a(0x25e))/0x7)+parseInt(_0x401b0a(0x1ad))/0x8+parseInt(_0x401b0a(0x225))/0x9*(parseInt(_0x401b0a(0x2c6))/0xa);if(_0x211596===_0x217e85)break;else _0x3e65fe['push'](_0x3e65fe['shift']());}catch(_0x1092d1){_0x3e65fe['push'](_0x3e65fe['shift']());}}}(_0x4b4c,0xab4f1));var $t=Object[_0x5ccdac(0x272)],xt=(_0x49996f,_0x55d8fb,_0xa1922e)=>_0x55d8fb in _0x49996f?$t(_0x49996f,_0x55d8fb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa1922e}):_0x49996f[_0x55d8fb]=_0xa1922e,_=(_0x4cc52b,_0x4361bc,_0x5b60ed)=>xt(_0x4cc52b,typeof _0x4361bc!=_0x5ccdac(0xf5)?_0x4361bc+'':_0x4361bc,_0x5b60ed);import{MemberService as _0x34140a,SessionStatus as _0x6f7e03,CollaborationSessionService as _0x32b0dc,CollaborationStatus as _0x24642c,CollaborationController as _0x2454ce,ILocalCacheService as _0x820aa4,CollaborationUIEventService as _0x16f682,CollaborationUIEventId as _0x1481ad,DataLoaderService as _0xb4f128,DocCollaborationEntity as _0x5880c6,getLocalCacheKey as _0x26b3eb,LOCAL_CACHE_INTERVAL as _0x5506ed,LOCAL_CACHE_INTERVAL_KEY as _0x1b4490,UniverCollaborationClientPlugin as _0x35335d,CollaborationSocketService as _0x3592b9,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x133280,DEFAULT_WS_SESSION_TICKET_URL as _0x5d4fcc,UnitStatus as _0x206d42,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5d841d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5cbe20}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1d3bed,Disposable as _0x511293,DOC_RANGE_TYPE as _0x5cab35,Inject as _0x5d30c5,Injector as _0x1594b9,IUniverInstanceService as _0xb0b851,ICommandService as _0x58b9f6,debounce as _0xa76b4c,Rectangle as _0x2eefc7,DisposableCollection as _0x3bbcfc,toDisposable as _0x1529d5,UniverInstanceType as _0x5b953e,Tools as _0x453a5f,COLORS as _0xace774,ColorKit as _0x366f4a,ThemeService as _0x442833,fromEventSubject as _0x1ee04c,LocaleService as _0x3f7747,createIdentifier as _0x52e467,ILogService as _0x4baf39,Optional as _0x12fdaa,Workbook as _0x49cb7d,CommandType as _0x1af6f4,IConfigService as _0x518efb,ILocalStorageService as _0x2c9f67,DependentOn as _0x1c7f38,Plugin as _0x216717,merge as _0x301b16,registerDependencies as _0x20c03b,mergeOverrideWithDependencies as _0xb01ab3,touchDependencies as _0x4ae927,generateRandomId as _0x4f31bd}from'@univerjs/core';import{Shape as _0x5dfd05,Rect as _0x5abff7,getColor as _0x1a7fb3,RegularPolygon as _0x58224e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3c08ff,Vector2 as _0x576202,SHEET_VIEWPORT_KEY as _0x3973d7,IRenderManagerService as _0x57e040}from'@univerjs/engine-render';import{ISocketService as _0x12a1ce,WebSocketService as _0x2c24e6,HTTPService as _0x40376b}from'@univerjs/network';import{IDocClipboardService as _0x44c426,NodePositionConvertToCursor as _0x53e06e,NodePositionConvertToRectRange as _0x157fb2,TEXT_RANGE_LAYER_INDEX as _0x55fa23,SetDocZoomRatioOperation as _0x17b391,DocIMEInputManagerService as _0x309075,DocStateChangeManagerService as _0x56f7e9}from'@univerjs/docs-ui';import{IImageIoService as _0x113607}from'@univerjs/drawing';import{BehaviorSubject as _0x2cc9b0,debounceTime as _0x3f82b4,takeUntil as _0xcffb89,Subject as _0x320e59,filter as _0x3c8805,switchMap as _0xb781b0,merge as _0x514233,combineLatest as _0x3ed33c,of as _0x430603,fromEvent as _0x57a91b,shareReplay as _0x467ca5,mapTo as _0x1246df,distinctUntilChanged as _0x24d254}from'rxjs';import{SetTextSelectionsOperation as _0x279026,RichTextEditingMutation as _0x1ec75c,DocSelectionManagerService as _0x1cdd1e,DocSkeletonManagerService as _0x12e746}from'@univerjs/docs';import{ITransformService as _0x122f43,CollaborationEvent as _0x357f8a,isTransformMutationFailure as _0x4578d1,isTransformMutationsWithChangesetSuccess as _0x576e4b,RevisionService as _0x1d1977,ISnapshotServerService as _0x5f3e22}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x43c764,serializeRangeWithSheet as _0x14b0d1}from'@univerjs/engine-formula';import{RefRangeService as _0xa622fa,SetSelectionsOperation as _0xdb6c66,SheetsSelectionsService as _0x5ecd97,EffectRefRangId as _0x1d915b,handleIRemoveRow as _0x2c2ef9,handleIRemoveCol as _0x5d1768,handleMoveRange as _0x5da23c,handleInsertRow as _0x1155e3,handleInsertRangeMoveRight as _0x1c2180,handleInsertRangeMoveDown as _0x5a3abe,handleInsertCol as _0x511acf,handleDeleteRangeMoveUp as _0x47a709,handleDeleteRangeMoveLeft as _0x389098,runRefRangeMutations as _0x441c5e,SetWorksheetActivateCommand as _0x223adf}from'@univerjs/sheets';import{map as _0x13142d,filter as _0x7a3f1a,throttleTime as _0x8c9cc4,takeUntil as _0x115372,switchMap as _0x594866}from'rxjs/operators';import{SheetSkeletonManagerService as _0x16790c,getCoordByCell as _0x8e1141,getSheetObject as _0x29c69e}from'@univerjs/sheets-ui';function _0x4b4c(){const _0x355ae4=['getUnitStatus$','setInterval','stringify','EMAIL_HAS_BEEN_BOUND','off-line-icon_clip0_910_343','_startDocCollabCursor','getOwnPropertySymbols','includes','INVALID_ARGUMENT','_roomMembers$','univerjs-icon\x20univerjs-icon-','_toggleOnline','UNIVER_SHEET','_handleHover','find','RemoveColCommandId','range','_docTransformIMECacheService','SNAPSHOT_INVALID_SNAPSHOT','#FFF','show','className','search','sheetId','/run/','_sheetSkeletonManagerService','toRgbString','http://www.w3.org/2000/svg','hide','drawWith','getSheetBySheetId','_collaborationController','top','roomMembers$','_hideTimer','APPLY_DUPLICATED','_entityInit$','4694186WpMzsD','findNodePositionByCharIndex','assignAColorForMemberID','_updateURLWithCurrentState','actions','selection','text','_instanceService','skeleton','_cursor','_getMergeRange','jiqing.500','136329BlLcWY','getActiveRange','origin','VIEW_MAIN','cursorInfo$','OTHER_CLIENT_EDITING','colorChannel1','color','defineProperty','LICENSE_DISTRO_REJECTED','InsertColCommandId','push','isActive','UNRECOGNIZED','APPLY_PERMISSION_DENIED','transformMutationsWithChangeset','searchParams','univer-flex\x20univer-mr-2\x20univer-text-xl','INVITE_CODE_HAS_BEEN_UES','getMember','_docTransformStateCacheService','uni.network.url-service','getRenderById','32AfZwuu','_beforeCloseService','onTransformChange$','CLOSE_ROOM','Error','onPointerMove$','_transformHistoryAndStateStack','OTHER_CLIENTS_EDITING','getDocRanges','_themeService','INVALID_INVITE_CODE','data','_collaborationUIEventService','forEach','indexOf','LICENSE_IMPORT_SIZE_EXCEEDED','transformIMECache','fill','M0\x200H16V16H0z','currentSkeleton$','transformByState','YUUMI_ALL_TABLES_IS_INVALID','getCellPositionByOffset','setStateCache','YUUMI_ASYNCIO_CANCELLED','HEADER_MENU','unsubscribe','m1Prime','executeCommand','collabCursorState$','getOffsetConfig','measureText','pushState','YUUMI_SUBSCRIPTION_NOT_FOUND','startsWith','sheetID','setItem','status$','assign','newValue','ALREADY_EXISTS','_initStatusListener','1em','_drawRectRange','prototype','loadOfflineData','deepClone','addClipboardHook','popstate','getItem','syncEditingCollabCursor','...','session.collaboration-timeout','_document','runOnServer','_syncEditingCollabCursorService','_initEntityListener','YUUMI_TABLE_NOT_FOUND_IN_UNIT','JOIN_ROOM_FAILED','fillStyle','InsertRowCommandId','_imageIoService','_refreshCollabCursors','NO_OTHER_CLIENTS_EDITING','getCurrentRevOfUnit','runId','getSheetId','_init','attrs','3131880tPKRTi','UNIVER_DOC','updateOfflineData','_onCursorUpdate','mask','loadUnit','ranges','_updateLocalCursor','CONFLICT','UNDEFINED','save','USERS_LEAVE','delete','[CollaborationDataLoaderController]','_draw','RemoveRowCommandId','_scheduleHeartbeat','params','_localStorageService','getUnitId','isArray','_dataLoaderService','registerRenderModule','univer-flex\x20univer-items-center','_unitStatus','createInstance','Unknown\x20user','transform','collaboration.closeRoom','subUnitId','disposeWithMe','0\x200\x2017\x2016','focused$','engine','APPLY_REVISION_CONFILICT','unit','_unitOnClients','session.connection-failed','idSuffix','complete','_entities','_name','APPLY_NON_SEQUENTIAL_REVISION','reconnect','yellow.400','collab-client.tooltip.reconnect','disposeUnit','children','urlChange$','getSkeleton','_disabled','none','_initResize','post','add','permission.title','onRendered','getConfig','collabStatus.synced','_registerDependencies','makeDirty','PENDING','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','restore','getColorFromTheme','symbol','_saveCache','url(#off-line-icon_clip0_910_343)','currentTheme$','collabStatus.notCollab','backgroundColor','roomMembers','on-line-icon','setParam','triggerDblclick','FETCH_MISS','_docTransformSelectionsService','extend','black','width','getUnhiddenWorksheets','DeleteRangeMoveLeftCommandId','_onCursorDelete','pipe','replaceState','_logService','_docSyncEditingCollabCursorService','_transformService','imageSourceType','setUndoRedoMutationParamsCache','NOT_COLLAB','OffLineIcon','redoState','getActiveSheet','_renderManagerService','translate(.97)','_heartbeatTimer','defIds','onPointerLeave$','_shapes','blue.400','svg','invokeId','set','_configService','getFocusedUnit','values','sessionStatus$','AWAITING','height','Warning','getTypeOfUnitDisposed$','div','_handleLeaveEvent','getAncestorScale','RECT','UNAUTHENTICATED','entityInit$','_onRefRangeChange','transformMutation','12dbPvaR','saveImage','evenodd','white','_colorAssignService','from','unshift','setActiveRange','startRow','error','eventID','_anchorDot','TEXT','_ensureSubject','concat','Failed','icon','disableLocalCache','NOT_FOUND','currentColor','_anchor','getVpScrollXYInfoByPosToVp','saveTaskMap','_getScale','purple.300','TOO_MANY_REQUESTS','hasOwnProperty','_createSocketURL','ACTIVE_UNIT_EVENT_CHANNEL','transformRemoteChangeset','getRangePointData','registerRefRange','use','_initDependencies','_drawAnchor','getCollabEntity$','asObservable','_send','round','UPDATE_CURSOR','_revisionService','YUUMI_URL_COL_OUT_OF_RANGE','OFFLINE','_urlService','_collabCursorState$','MOBILE_HAS_BEEN_BOUND','onPointerEnter$','SOCKET_FAILED_RETRY','unitID','path','_handleHeartbeatEvent','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','some','LICENSE_MAX_UNITS_EXCEEDED','history','setShapeProps','createSocket','_injector','getStateCache','url(#$1','_localCacheService','_cursorShapes','_docSkeletonManagerService','_localeService','_initStatusComponent','SNAPSHOT_HAS_BEEN_REMOVED','YUUMI_NO_CUBOID_FOR_QUESTION','getOwnPropertyDescriptor','undoState','getRelativeToViewportCoord','_toggleOffline','cursorInfo','_hover','doc.mutation.rich-text-editing','name','LICENSE_EXPORT_SIZE_EXCEEDED','SYNCED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','permission.content','event$','override','xlink:href','MUTATION','whenReady','ticket','_transformUndoRedoStack','resize','column','_hovered','clearTimeout','SOCKET_FAILED','clipPath','moveTo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','wsSessionTicketUrl','_registerRenderDependencies','registerBeforeClose','_messageService','getValue','INVITE_CODE_ALREADY_BOUND','key','APPLY_REJECT','_docClipboardService','exhaustSavingTask','_scene','dispose$','bottom','_docSkeleton','isEditing','LOGIN_FAILED','url(#on-line-icon_clip0_910_349)','next','_getSheetObject','YUUMI_AI_RUN_FAILED','setTimeout','_updateSubUnitFromURLParams','flatMap','propertyIsEnumerable','_refRangeService','collab-text-range-','_id','map','CHANGESET_REVISION_CONFILICT','all','displayName','replace','_updateCollabCursors','getCurrentSelections','_setupBeforeClosingHandler','4875648WtjMbr','lineTo','_textBubble','UniverIcon','substring','AWAITING_WITH_PENDING','_scheduleSaving','_config','6934190TdNLca','getUndoRedoMutationParamsCache','_uiPartsService','_clearOtherTimers','_collabSessionService','send','toString','storage','startColumn','_labelPosition','0\x200\x2016\x2016','MoveRangeCommandId','_initEvent','row','WECHAT_HAS_BEEN_BOUND','dispose','transformStateCache','_collabCursorController','string','requireSession','_removeCollabCursors','_selfUnitIDs','generateRandomId','_eventUnsubscribe','_docStateChangeManagerService','arc','_httpService','with','selections','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_getAnchorBounding','collab-rect-range-','_cursors','USER_NOT_INVITED_CODE','getMergeData','subscribeEvent','has','length','clearInterval','CONNECTOR_DATA_TOO_LARGE','_context','executionId','_colorIndex','entries','endRow','_removeClearOtherTimer','saveOfflineData','addObjects','off-line-icon','onLocalMutation','_getSessionTicket','_handleEvent','INVITE_CODE_REQUIRED','onMouseMove','transformSelections','_color','split','tag','then','_range','DeleteRangeMoveUpCommandId','_cachedData','_scheduleClearOtherTimer','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','addObject','type','1368121UIrztH','unload','fillText','textRanges','_assignedColors','_saveTaskMap','subscribe','getUniverSheetInstance','collaboration-client-ui.config','href','mutations','getCollabCursors$','min','_session','init','collabStatus.syncing','unitId','m2Prime','location','_backgroundColor','ONLINE','SUBMIT_CHANGESET_TIMEOUT','INTERNAL_ERROR','_transformPreviousActiveRange','_notificationService','collabStatus.offline','PY_RUNTIME_SCRIPT_ERROR','_online','_commandService','call','on-line-icon_clip0_910_349','collaboration.single-unit.warning','getMemberID','get','ENSURE_SNAPSHOT_EXECUTION','_lastPointer','getCurrentUnitForType','_render','onCommandExecuted','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','memberID','defs','size','_status$','beginPath','_drawTextRange','9aWgzcR','body','_cursorInfo$','_memberService','FromArray','getParam','_doCreateSocket','subunit','InsertRangeMoveRightCommandId','1862848WcbVyY','PERMISSION_DENIED','_getSaveTimeout','function','_univerInstanceService','_initCommandExecutedListener','COMPLETION_FINISHED','docStateChange$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','YUUMI_RATE_OVER_LIMIT','debug'];_0x4b4c=function(){return _0x355ae4;};return _0x4b4c();}import{jsx as _0x20c2d2,jsxs as _0x54c13b}from'react/jsx-runtime';import{useObservable as _0x162370,useDependency as _0x2693a3,IUIPartsService as _0x4d441f,BuiltInUIPart as _0x3af043,connectInjector as _0x3af94b,IBeforeCloseService as _0x50d1d5,IMessageService as _0x23f879,INotificationService as _0x5267e1}from'@univerjs/ui';import{Tooltip as _0x4b5462,clsx as _0x4800c1,MessageType as _0x18f4ec}from'@univerjs/design';import{forwardRef as _0x40c795,useRef as _0x1787f1,createElement as _0x4c6a71,useCallback as _0x328165}from'react';import{IRemoteInstanceService as _0x539a03}from'@univerjs/rpc';var ci=Object[_0x5ccdac(0x16f)],li=(_0x44019f,_0x37d7dd,_0x5827ff,_0x3de55f)=>{const _0x484ecf=_0x5ccdac;for(var _0x88982d=_0x3de55f>0x1?void 0x0:_0x3de55f?ci(_0x37d7dd,_0x5827ff):_0x37d7dd,_0x4fcff2=_0x44019f[_0x484ecf(0x1da)]-0x1,_0x2c2dfa;_0x4fcff2>=0x0;_0x4fcff2--)(_0x2c2dfa=_0x44019f[_0x4fcff2])&&(_0x88982d=_0x2c2dfa(_0x88982d)||_0x88982d);return _0x88982d;},Je=(_0x1b8180,_0x528052)=>(_0x17ae23,_0x328834)=>_0x528052(_0x17ae23,_0x328834,_0x1b8180);let Ne=class extends _0x1d3bed{constructor(_0x47c41b,_0x24e1f3){const _0x2c1525=_0x5ccdac;super(),this['_docClipboardService']=_0x47c41b,this[_0x2c1525(0x2be)]=_0x24e1f3,this['_init']();}[_0x5ccdac(0x2c4)](){const _0x2de14e=_0x5ccdac,_0x49e0af=this;this[_0x2de14e(0x2e4)](this[_0x2de14e(0x192)][_0x2de14e(0x2b0)]({'onBeforePasteImage':async _0x11db45=>{const _0x41aa5d=_0x2de14e,_0x11a933=await _0x49e0af[_0x41aa5d(0x2be)][_0x41aa5d(0x12d)](_0x11db45);return _0x11a933?{'source':_0x11a933['source'],'imageSourceType':_0x11a933[_0x41aa5d(0x10c)]}:null;}}));}};Ne=li([Je(0x0,_0x44c426),Je(0x1,_0x113607)],Ne);const Ze=[_0x5ccdac(0x144),_0x5ccdac(0x269),'green.600','red.300',_0x5ccdac(0x118),_0x5ccdac(0xe0)];class ke extends _0x511293{constructor(){const _0x99cd02=_0x5ccdac;super(...arguments),_(this,_0x99cd02(0x1fb),new Map()),_(this,_0x99cd02(0x1df),0x0);}[_0x5ccdac(0x260)](_0x3953f3){const _0x496873=_0x5ccdac;if(this['_assignedColors'][_0x496873(0x1d9)](_0x3953f3))return this[_0x496873(0x1fb)][_0x496873(0x218)](_0x3953f3);const _0x5826a0=Ze[this[_0x496873(0x1df)]];return this[_0x496873(0x1df)]=(this['_colorIndex']+0x1)%Ze[_0x496873(0x1da)],this['_assignedColors'][_0x496873(0x11b)](_0x3953f3,_0x5826a0),_0x5826a0;}}function Tt(_0x1a51be){let _0x44a878='';for(const _0x394fee of _0x1a51be){const {startOffset:_0x2863c3,endOffset:_0x718cb9,isActive:_0x5d3df9,rangeType:_0x112a5c,segmentId:_0x383d4d,segmentPage:_0x47fd97}=_0x394fee;_0x44a878['length']&&(_0x44a878+=','),_0x44a878+=_0x2863c3+':'+_0x718cb9+':'+(_0x5d3df9?'1':'0')+':'+_0x112a5c+':'+_0x383d4d+':'+_0x47fd97;}return _0x44a878;}function _i(_0x49dbab){const _0x531900=_0x5ccdac,_0x1d7e0c=_0x49dbab[_0x531900(0x1ed)](','),_0x28c6c5=[];for(const _0x4b024e of _0x1d7e0c){const [_0x271073,_0x5be484,_0x25064c,_0x44ce8b,_0x198432,_0x37f93a]=_0x4b024e[_0x531900(0x1ed)](':');_0x28c6c5['push']({'startOffset':Number(_0x271073),'endOffset':Number(_0x5be484),'collapsed':_0x271073===_0x5be484,'isActive':_0x25064c==='1','rangeType':_0x44ce8b===_0x5cab35['TEXT']?_0x5cab35[_0x531900(0x138)]:_0x5cab35[_0x531900(0x127)],'segmentId':typeof _0x198432=='string'?String(_0x198432):'','segmentPage':Number(_0x37f93a!=null?_0x37f93a:-0x1)});}return _0x28c6c5[_0x531900(0x160)](_0x157968=>_0x157968['isActive'])||(_0x28c6c5[0x0][_0x531900(0x276)]=!0x0),_0x28c6c5;}class He extends _0x1d3bed{constructor(){const _0x2d2347=_0x5ccdac;super(...arguments),_(this,_0x2d2347(0x158),new _0x2cc9b0(null)),_(this,_0x2d2347(0x29e),this[_0x2d2347(0x158)][_0x2d2347(0x150)]());}[_0x5ccdac(0x2b3)](_0x379010){const _0x1429e5=_0x5ccdac,{unitID:_0x46fe81,memberID:_0x3c809e,textRanges:_0x8a1c91}=_0x379010,_0x44bb6f=Tt(_0x8a1c91);if(_0x44bb6f==='')return;const _0x54c688={'unitID':_0x46fe81,'memberID':_0x3c809e,'selection':_0x44bb6f};this[_0x1429e5(0x158)][_0x1429e5(0x19b)](_0x54c688);}}var hi=Object[_0x5ccdac(0x16f)],ui=(_0x5d5cd0,_0x13bf55,_0x344fea,_0x29e56d)=>{const _0x3005ff=_0x5ccdac;for(var _0x298d6b=_0x29e56d>0x1?void 0x0:_0x29e56d?hi(_0x13bf55,_0x344fea):_0x13bf55,_0x2baa01=_0x5d5cd0[_0x3005ff(0x1da)]-0x1,_0xe5f2b6;_0x2baa01>=0x0;_0x2baa01--)(_0xe5f2b6=_0x5d5cd0[_0x2baa01])&&(_0x298d6b=_0xe5f2b6(_0x298d6b)||_0x298d6b);return _0x298d6b;},P=(_0x27aec9,_0x33cec3)=>(_0xbcf73a,_0x5cb37d)=>_0x33cec3(_0xbcf73a,_0x5cb37d,_0x27aec9);const di=0x12c,fi=0x64;let Ue=class extends _0x1d3bed{constructor(_0x337601,_0x91d375,_0x44ecbf,_0xd4d745,_0x1b1cea,_0x492759,_0x1890dc,_0x4a6246,_0x59dc1e){const _0x161156=_0x5ccdac;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x161156(0x227),new _0x2cc9b0(new Map())),_(this,_0x161156(0x26e),this['_cursorInfo$'][_0x161156(0x150)]()),_(this,'_roomMembers$',new _0x2cc9b0([])),_(this,_0x161156(0x25a),this[_0x161156(0x242)][_0x161156(0x107)](_0x3f82b4(di))),_(this,_0x161156(0x2cd),_0xa76b4c(_0xad81b2=>{const _0x108676=_0x161156,_0x1dd5ba={'eventID':_0x357f8a[_0x108676(0x153)],'data':{'unitID':this[_0x108676(0x15c)],'memberID':this[_0x108676(0x204)][_0x108676(0x217)](),'selection':Tt(_0xad81b2)}};this[_0x108676(0x204)][_0x108676(0x1ba)](_0x1dd5ba,this[_0x108676(0x15c)]);},fi)),(this[_0x161156(0x15c)]=_0x337601,this[_0x161156(0x204)]=_0x91d375,this[_0x161156(0x165)]=_0x44ecbf,this[_0x161156(0x130)]=_0xd4d745,this[_0x161156(0x228)]=_0x1b1cea,this[_0x161156(0x2b8)]=_0x492759,this[_0x161156(0x10b)]=_0x1890dc,this[_0x161156(0x232)]=_0x4a6246,this[_0x161156(0x213)]=_0x59dc1e);}get[_0x5ccdac(0x173)](){return this['_cursorInfo$']['getValue']();}get[_0x5ccdac(0xfb)](){const _0x4c74cb=_0x5ccdac;return this[_0x4c74cb(0x242)]['getValue']();}['dispose'](){const _0x2805f0=_0x5ccdac;super['dispose'](),this[_0x2805f0(0x227)][_0x2805f0(0x19b)](new Map()),this[_0x2805f0(0x227)][_0x2805f0(0xdb)](),this['_roomMembers$'][_0x2805f0(0x19b)]([]),this[_0x2805f0(0x242)]['complete']();}[_0x5ccdac(0x205)](){const _0x2f00e8=_0x5ccdac;this[_0x2f00e8(0x2c4)]||(this[_0x2f00e8(0x2c4)]=!0x0,this[_0x2f00e8(0x204)][_0x2f00e8(0x11f)][_0x2f00e8(0x107)](_0xcffb89(this[_0x2f00e8(0x195)]))[_0x2f00e8(0x1fd)](_0x3dd212=>{const _0x567e8c=_0x2f00e8;_0x3dd212===_0x6f7e03[_0x567e8c(0x20b)]?this[_0x567e8c(0x244)]():this['_toggleOffline']();}),this[_0x2f00e8(0x204)][_0x2f00e8(0x17b)]['pipe'](_0xcffb89(this[_0x2f00e8(0x195)]))[_0x2f00e8(0x1fd)](_0x2c69de=>{const _0x3eb0c2=_0x2f00e8,_0x281b72=_0x2c69de[_0x3eb0c2(0x136)];_0x281b72===_0x357f8a[_0x3eb0c2(0x153)]&&this[_0x3eb0c2(0x2c9)](_0x2c69de),_0x281b72===_0x357f8a[_0x3eb0c2(0x2d1)]&&this['_onCursorDelete'](_0x2c69de);}),this['disposeWithMe'](this['_commandService'][_0x2f00e8(0x21d)](_0x372d25=>{const _0x37be57=_0x2f00e8,_0xd40944=_0x372d25[_0x37be57(0x2d7)];_0xd40944!=null&&this['_online']&&_0x372d25['id']===_0x279026['id']&&_0xd40944[_0x37be57(0x207)]===this[_0x37be57(0x15c)]&&_0xd40944[_0x37be57(0x198)]===!0x1&&_0xd40944[_0x37be57(0x2cc)]['length']>0x0&&this[_0x37be57(0x2cd)](_0xd40944[_0x37be57(0x2cc)]);})),this[_0x2f00e8(0x2b8)][_0x2f00e8(0x29e)]['pipe'](_0xcffb89(this[_0x2f00e8(0x195)]))[_0x2f00e8(0x1fd)](_0x22ea17=>{const _0x73342b=_0x2f00e8;if((_0x22ea17==null?void 0x0:_0x22ea17['unitID'])!==this[_0x73342b(0x15c)])return;const _0x35e0c1={'eventID':_0x357f8a[_0x73342b(0x153)],'data':_0x22ea17};this[_0x73342b(0x2c9)](_0x35e0c1);}),this[_0x2f00e8(0x2e4)](this[_0x2f00e8(0x213)]['onCommandExecuted'](_0x3b15d9=>{const _0x53f068=_0x2f00e8;if(_0x3b15d9[_0x53f068(0x2d7)]==null)return;const _0x10bc44=_0x3b15d9['params'];if(_0x3b15d9['id']!==_0x1ec75c['id']||_0x10bc44['unitId']!==this[_0x53f068(0x15c)])return;const _0x2cc251={'id':'doc.mutation.rich-text-editing','params':_0x10bc44},_0x110ce7=this['cursorInfo'];for(const [_0x27e164,_0xd86469]of _0x110ce7){const _0x298af1={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x53f068(0x15c)],'actions':null,'textRanges':_0xd86469['ranges']}},_0xe057c3=this['_transformService'][_0x53f068(0x12b)](_0x2cc251,_0x298af1,!0x1);if(_0x4578d1(_0xe057c3))throw _0xe057c3[_0x53f068(0x135)];_0x110ce7[_0x53f068(0x11b)](_0x27e164,{..._0xd86469,'ranges':_0xe057c3[_0x53f068(0x208)][_0x53f068(0x2d7)][_0x53f068(0x1fa)]});}queueMicrotask(()=>{const _0xecc39=_0x53f068;this[_0xecc39(0x227)][_0xecc39(0x19b)](_0x110ce7);});})));}[_0x5ccdac(0x2c9)](_0x343ccc){const _0x3e4926=_0x5ccdac;var _0x124ada,_0x5d10fd;const {memberID:_0x2bf7b4,selection:_0x1246d9}=_0x343ccc[_0x3e4926(0x28c)],_0x2443bb=_i(_0x1246d9),_0x5a2e38=(_0x5d10fd=(_0x124ada=this[_0x3e4926(0x228)][_0x3e4926(0x27d)](this['unitID'],_0x2bf7b4))==null?void 0x0:_0x124ada[_0x3e4926(0x176)])!=null?_0x5d10fd:_0x3e4926(0x2e0),_0x174607={'color':this['_colorAssignService'][_0x3e4926(0x260)](_0x2bf7b4),'name':_0x5a2e38,'ranges':_0x2443bb},_0x5813e4=this['cursorInfo'];_0x5813e4[_0x3e4926(0x11b)](_0x2bf7b4,_0x174607),this['_cursorInfo$']['next'](_0x5813e4);}[_0x5ccdac(0x106)](_0x2e995e){const _0x570516=_0x5ccdac,{memberID:_0x3065d3}=_0x2e995e[_0x570516(0x28c)],_0x51b180=this['cursorInfo'];_0x51b180['delete'](_0x3065d3),this[_0x570516(0x227)][_0x570516(0x19b)](_0x51b180);}[_0x5ccdac(0x244)](){const _0x3ea2e0=_0x5ccdac;var _0xf284f7;if(this[_0x3ea2e0(0x212)]=!0x0,((_0xf284f7=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0xf284f7[_0x3ea2e0(0x2d9)]())!==this[_0x3ea2e0(0x15c)])return;const _0x428883=this[_0x3ea2e0(0x165)][_0x3ea2e0(0x218)](_0x1cdd1e)[_0x3ea2e0(0x289)]();Array[_0x3ea2e0(0x2da)](_0x428883)&&_0x428883[_0x3ea2e0(0x1da)]>0x0&&this[_0x3ea2e0(0x2cd)](_0x428883);}[_0x5ccdac(0x172)](){const _0x4b1c3a=_0x5ccdac;this[_0x4b1c3a(0x212)]=!0x1;}};Ue=ui([P(0x2,_0x5d30c5(_0x1594b9)),P(0x3,_0x5d30c5(ke)),P(0x4,_0x5d30c5(_0x34140a)),P(0x5,_0x5d30c5(He)),P(0x6,_0x122f43),P(0x7,_0xb0b851),P(0x8,_0x58b9f6)],Ue);var Si=Object[_0x5ccdac(0x16f)],mi=(_0x1efee9,_0x253ef7,_0x347e44,_0x14b1fc)=>{const _0x2b081b=_0x5ccdac;for(var _0x576177=_0x14b1fc>0x1?void 0x0:_0x14b1fc?Si(_0x253ef7,_0x347e44):_0x253ef7,_0x5ad61=_0x1efee9[_0x2b081b(0x1da)]-0x1,_0x1f2f74;_0x5ad61>=0x0;_0x5ad61--)(_0x1f2f74=_0x1efee9[_0x5ad61])&&(_0x576177=_0x1f2f74(_0x576177)||_0x576177);return _0x576177;},x=(_0x23e5b5,_0x5d7a97)=>(_0x82e759,_0xaf0601)=>_0x5d7a97(_0x82e759,_0xaf0601,_0x23e5b5);const Ii=0x12c,gi=0x64,vi=()=>{let _0x27c7a5=[],_0x59edab=!0x1;return _0xf6d15b=>{const _0x176bc8=_0x709d;_0x27c7a5[_0x176bc8(0x275)](_0xf6d15b),_0x59edab||(_0x59edab=!0x0,setTimeout(()=>{const _0x55e70a=_0x176bc8;_0x27c7a5[_0x55e70a(0x28e)](_0x4bae1a=>_0x4bae1a()),_0x27c7a5=[],_0x59edab=!0x1;}));};};let Me=class extends _0x1d3bed{constructor(_0x2eb93c,_0x36c4f8,_0x29fab9,_0x32cf28,_0x59bf31,_0x1989a2,_0x447d0a,_0x4bd85b){const _0x122935=_0x5ccdac;super(),_(this,_0x122935(0x212),!0x1),_(this,_0x122935(0x2c4),!0x1),_(this,_0x122935(0x227),new _0x2cc9b0(new Map())),_(this,_0x122935(0x26e),this[_0x122935(0x227)]['asObservable']()),_(this,'_roomMembers$',new _0x2cc9b0([])),_(this,_0x122935(0x25a),this[_0x122935(0x242)][_0x122935(0x107)](_0x3f82b4(Ii))),_(this,_0x122935(0x2cd),_0xa76b4c((_0x3d705f,_0xb6b432)=>{const _0x5136fe=_0x122935,_0x33b057={'eventID':_0x357f8a[_0x5136fe(0x153)],'data':{'unitID':this[_0x5136fe(0x15c)],'memberID':this[_0x5136fe(0x204)]['getMemberID'](),'selection':_0x14b0d1(_0x3d705f,_0xb6b432[_0x5136fe(0x249)])}};this[_0x5136fe(0x204)][_0x5136fe(0x1ba)](_0x33b057,this[_0x5136fe(0x15c)]);},gi)),(this[_0x122935(0x15c)]=_0x2eb93c,this['_session']=_0x36c4f8,this[_0x122935(0x165)]=_0x29fab9,this['_colorAssignService']=_0x32cf28,this[_0x122935(0x228)]=_0x59bf31,this[_0x122935(0x232)]=_0x1989a2,this[_0x122935(0x213)]=_0x447d0a,this['_refRangeService']=_0x4bd85b);}get[_0x5ccdac(0x173)](){const _0x4289e0=_0x5ccdac;return this[_0x4289e0(0x227)][_0x4289e0(0x18e)]();}get['roomMembers'](){const _0x21849f=_0x5ccdac;return this[_0x21849f(0x242)][_0x21849f(0x18e)]();}[_0x5ccdac(0x1c4)](){const _0x510c31=_0x5ccdac;super['dispose'](),this[_0x510c31(0x227)][_0x510c31(0x19b)](new Map()),this[_0x510c31(0x227)][_0x510c31(0xdb)](),this[_0x510c31(0x242)][_0x510c31(0x19b)]([]),this['_roomMembers$'][_0x510c31(0xdb)]();}[_0x5ccdac(0x205)](){const _0x45ea7c=_0x5ccdac;this['_init']||(this[_0x45ea7c(0x2c4)]=!0x0,this[_0x45ea7c(0x204)][_0x45ea7c(0x11f)][_0x45ea7c(0x107)](_0xcffb89(this['dispose$']))[_0x45ea7c(0x1fd)](_0x586d02=>{const _0x2ea60a=_0x45ea7c;_0x586d02===_0x6f7e03['ONLINE']?this['_toggleOnline']():this[_0x2ea60a(0x172)]();}),this['_session'][_0x45ea7c(0x17b)][_0x45ea7c(0x107)](_0xcffb89(this[_0x45ea7c(0x195)]))[_0x45ea7c(0x1fd)](_0x206f0c=>{const _0x2a07f1=_0x45ea7c,_0x48cab9=_0x206f0c['eventID'];_0x48cab9===_0x357f8a[_0x2a07f1(0x153)]&&this[_0x2a07f1(0x2c9)](_0x206f0c),_0x48cab9===_0x357f8a[_0x2a07f1(0x2d1)]&&this[_0x2a07f1(0x106)](_0x206f0c);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x45ea7c(0x213)][_0x45ea7c(0x21d)](_0x130b3e=>{const _0x1a2251=_0x45ea7c;if(this[_0x1a2251(0x212)]&&_0x130b3e['id']===_0xdb6c66['id']&&_0x130b3e['params'][_0x1a2251(0x207)]===this['unitID']){const _0x457e12=_0x130b3e['params'];this[_0x1a2251(0x2cd)](_0x457e12[_0x1a2251(0x2e3)],_0x457e12[_0x1a2251(0x1d1)][0x0]);}})));}[_0x5ccdac(0x2c9)](_0x35e050){const _0x55cc7f=_0x5ccdac;var _0x37c4ff,_0x55a174;const {memberID:_0x2388b0,selection:_0xbc74b8}=_0x35e050['data'],{sheetName:_0x4db9b3,range:_0x3421f8}=_0x43c764(_0xbc74b8),_0x22bbe7={'name':(_0x55a174=(_0x37c4ff=this[_0x55cc7f(0x228)][_0x55cc7f(0x27d)](this['unitID'],_0x2388b0))==null?void 0x0:_0x37c4ff[_0x55cc7f(0x176)])!=null?_0x55a174:'Unknown\x20user','range':this['_getMergeRange'](_0x4db9b3,_0x3421f8),'sheetID':_0x4db9b3,'color':this[_0x55cc7f(0x130)][_0x55cc7f(0x260)](_0x2388b0),'selection':_0xbc74b8},_0x3ad73c=this['cursorInfo'];_0x3ad73c[_0x55cc7f(0x11b)](_0x2388b0,_0x22bbe7),this[_0x55cc7f(0x227)][_0x55cc7f(0x19b)](_0x3ad73c);}[_0x5ccdac(0x106)](_0x28986e){const _0x3c70ce=_0x5ccdac,{memberID:_0x13a5bb}=_0x28986e[_0x3c70ce(0x28c)],_0x3889af=this['cursorInfo'];_0x3889af['delete'](_0x13a5bb),this[_0x3c70ce(0x227)][_0x3c70ce(0x19b)](_0x3889af);}[_0x5ccdac(0x268)](_0x39c717,_0x5986f9){const _0x31b0ad=_0x5ccdac;var _0x56f665,_0x21db1a;const _0x2270f0=(_0x21db1a=(_0x56f665=this['_univerInstanceService'][_0x31b0ad(0x1fe)](this[_0x31b0ad(0x15c)]))==null?void 0x0:_0x56f665['getSheetBySheetId'](_0x39c717))==null?void 0x0:_0x21db1a[_0x31b0ad(0x1d7)]();return(_0x2270f0==null?void 0x0:_0x2270f0[_0x31b0ad(0x247)](_0x14a2cb=>_0x2eefc7['contains'](_0x14a2cb,_0x5986f9)))||_0x5986f9;}[_0x5ccdac(0x12a)](){const _0x5271c5=_0x5ccdac,_0x41ac82=new _0x3bbcfc(),_0x5bb3f7=vi(),_0x41ecc6=()=>{const _0x27a8cd=_0x709d;_0x41ac82[_0x27a8cd(0x1c4)]();const _0x5d4191=(_0x2b3227,_0x4040f3,_0x43b49f,_0x32e9d6)=>{const _0x247d17=_0x27a8cd;let _0x45512f=[];switch(_0x2b3227['id']){case _0x1d915b[_0x247d17(0x105)]:{_0x45512f=_0x389098(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x1f1)]:{_0x45512f=_0x47a709(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x274)]:{_0x45512f=_0x511acf(_0x2b3227,_0x32e9d6);break;}case _0x1d915b['InsertRangeMoveDownCommandId']:{_0x45512f=_0x5a3abe(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x22d)]:{_0x45512f=_0x1c2180(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x2bd)]:{_0x45512f=_0x1155e3(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x1c0)]:{_0x45512f=_0x5da23c(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x248)]:{_0x45512f=_0x5d1768(_0x2b3227,_0x32e9d6);break;}case _0x1d915b[_0x247d17(0x2d5)]:{_0x45512f=_0x2c2ef9(_0x2b3227,_0x32e9d6);break;}}const _0x17a5e2=_0x441c5e(_0x45512f,_0x32e9d6),_0x2f7272=this[_0x247d17(0x173)][_0x247d17(0x218)](_0x4040f3);if(_0x2f7272&&_0x17a5e2){const _0x5e8482={..._0x2f7272,'range':_0x17a5e2};this['cursorInfo']['set'](_0x4040f3,_0x5e8482),_0x5bb3f7(()=>{const _0x5ab551=_0x247d17,_0xdcfdf2=this['_refRangeService'][_0x5ab551(0x14b)](_0x17a5e2,_0xd62eb2=>(_0xdcfdf2[_0x5ab551(0x1c4)](),_0x5d4191(_0xd62eb2,_0x4040f3,_0x43b49f,_0x17a5e2)));_0x41ac82['add'](_0xdcfdf2);});}return{'redos':[],'undos':[]};};this[_0x27a8cd(0x173)][_0x27a8cd(0x28e)]((_0x18e221,_0x1bdc0b)=>{const _0x9d102=_0x27a8cd,{range:_0x163118,sheetID:_0x36c262}=_0x18e221,_0x56f2ab=this[_0x9d102(0x1a2)][_0x9d102(0x14b)](_0x163118,_0x580377=>(_0x56f2ab[_0x9d102(0x1c4)](),_0x5d4191(_0x580377,_0x1bdc0b,_0x36c262,_0x163118)));_0x41ac82[_0x9d102(0xea)](_0x56f2ab);});};this[_0x5271c5(0x2e4)](_0x1529d5(this[_0x5271c5(0x227)][_0x5271c5(0x1fd)](()=>{_0x41ecc6();})));}[_0x5ccdac(0x244)](){const _0x5e2b6d=_0x5ccdac;var _0x175472,_0x48c67f;if(this[_0x5e2b6d(0x212)]=!0x0,((_0x175472=this[_0x5e2b6d(0x232)]['getFocusedUnit']())==null?void 0x0:_0x175472['getUnitId']())!==this[_0x5e2b6d(0x15c)])return;const _0x14936a=(_0x48c67f=this[_0x5e2b6d(0x165)][_0x5e2b6d(0x218)](_0x5ecd97)[_0x5e2b6d(0x1ab)]())==null?void 0x0:_0x48c67f[0x0],_0x382d16=this[_0x5e2b6d(0x232)][_0x5e2b6d(0x21b)](_0x5b953e[_0x5e2b6d(0x245)])[_0x5e2b6d(0x111)]();_0x14936a&&_0x382d16&&this['_updateLocalCursor'](_0x382d16[_0x5e2b6d(0x2c3)](),_0x14936a);}[_0x5ccdac(0x172)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x5d30c5(_0x1594b9)),x(0x3,_0x5d30c5(ke)),x(0x4,_0x5d30c5(_0x34140a)),x(0x5,_0xb0b851),x(0x6,_0x58b9f6),x(0x7,_0x5d30c5(_0xa622fa))],Me);var pi=Object[_0x5ccdac(0x16f)],Ci=(_0x52d528,_0x376e7f,_0x10c0f7,_0x482d99)=>{for(var _0x17ade0=_0x482d99>0x1?void 0x0:_0x482d99?pi(_0x376e7f,_0x10c0f7):_0x376e7f,_0x9875eb=_0x52d528['length']-0x1,_0x3bca74;_0x9875eb>=0x0;_0x9875eb--)(_0x3bca74=_0x52d528[_0x9875eb])&&(_0x17ade0=_0x3bca74(_0x17ade0)||_0x17ade0);return _0x17ade0;},Se=(_0x4cdab1,_0x439bbf)=>(_0x5e24cc,_0x405374)=>_0x439bbf(_0x5e24cc,_0x405374,_0x4cdab1);let H=class extends _0x1d3bed{constructor(_0x2e4521,_0x862166,_0xde2aef){const _0x5c48a2=_0x5ccdac;super(),_(this,_0x5c48a2(0xdc),new Map()),_(this,'_entityInit$',new _0x320e59()),(this[_0x5c48a2(0x232)]=_0x2e4521,this['_injector']=_0x862166,this[_0x5c48a2(0x1b9)]=_0xde2aef,this[_0x5c48a2(0x2c4)]());}[_0x5ccdac(0x1c4)](){const _0x3bed32=_0x5ccdac;super[_0x3bed32(0x1c4)](),this[_0x3bed32(0x25d)][_0x3bed32(0xdb)](),this[_0x3bed32(0xdc)][_0x3bed32(0x28e)](_0x4a463d=>_0x4a463d[_0x3bed32(0x1c4)]());}[_0x5ccdac(0x202)](_0x45a30f){const _0x1a32d8=_0x5ccdac;return this['_entities'][_0x1a32d8(0x1d9)](_0x45a30f)?this[_0x1a32d8(0xdc)]['get'](_0x45a30f)[_0x1a32d8(0x26e)]:this['_entityInit$']['pipe'](_0x3c8805(_0x50df3a=>_0x50df3a[_0x1a32d8(0x15c)]===_0x45a30f),_0xb781b0(_0x2d50c0=>_0x2d50c0[_0x1a32d8(0x26e)]));}['_init'](){const _0x42d3ad=_0x5ccdac;this[_0x42d3ad(0x232)]['getTypeOfUnitAdded$'](_0x5b953e[_0x42d3ad(0x245)])[_0x42d3ad(0x107)](_0xcffb89(this[_0x42d3ad(0x195)]))[_0x42d3ad(0x1fd)](async _0x46b5d0=>{const _0x181c39=_0x42d3ad,_0x1d0418=_0x46b5d0[_0x181c39(0x2d9)](),_0x44f0b8=await this['_startSheetCollabCursor'](_0x1d0418);this[_0x181c39(0x25d)]['next'](_0x44f0b8),this[_0x181c39(0xdc)][_0x181c39(0x11b)](_0x1d0418,_0x44f0b8);}),this[_0x42d3ad(0x232)]['getTypeOfUnitAdded$'](_0x5b953e['UNIVER_DOC'])[_0x42d3ad(0x107)](_0xcffb89(this[_0x42d3ad(0x195)]))[_0x42d3ad(0x107)](_0x3c8805(_0x258841=>!_0x258841[_0x42d3ad(0x2d9)]()[_0x42d3ad(0x2a3)]('__')))[_0x42d3ad(0x1fd)](async _0x53ce78=>{const _0x579e64=_0x42d3ad,_0x13e6b5=_0x53ce78['getUnitId'](),_0x3e25bf=await this[_0x579e64(0x23e)](_0x13e6b5);this[_0x579e64(0x25d)][_0x579e64(0x19b)](_0x3e25bf),this[_0x579e64(0xdc)][_0x579e64(0x11b)](_0x13e6b5,_0x3e25bf);}),_0x514233(this[_0x42d3ad(0x232)]['getTypeOfUnitDisposed$'](_0x5b953e[_0x42d3ad(0x2c7)]),this[_0x42d3ad(0x232)][_0x42d3ad(0x123)](_0x5b953e[_0x42d3ad(0x245)]))[_0x42d3ad(0x107)](_0xcffb89(this[_0x42d3ad(0x195)]))[_0x42d3ad(0x1fd)](_0x1a0bb7=>{const _0x16bd51=_0x42d3ad,_0x4bec51=_0x1a0bb7['getUnitId'](),_0x198b8f=this[_0x16bd51(0xdc)][_0x16bd51(0x218)](_0x4bec51);_0x198b8f&&(_0x198b8f['dispose'](),this[_0x16bd51(0xdc)][_0x16bd51(0x2d2)](_0x4bec51));});}async['_startSheetCollabCursor'](_0xb7f84c){const _0x518b91=_0x5ccdac,_0xa709d3=await this[_0x518b91(0x1b9)]['requireSession'](_0xb7f84c),_0x4cbd8d=this[_0x518b91(0x165)]['createInstance'](Me,_0xb7f84c,_0xa709d3);return _0x4cbd8d['init'](),_0x4cbd8d;}async[_0x5ccdac(0x23e)](_0xa88043){const _0x5f223e=_0x5ccdac,_0x24cfca=await this[_0x5f223e(0x1b9)][_0x5f223e(0x1c8)](_0xa88043),_0x14e32e=this['_injector'][_0x5f223e(0x2df)](Ue,_0xa88043,_0x24cfca);return _0x14e32e['init'](),_0x14e32e;}};H=Ci([Se(0x0,_0xb0b851),Se(0x1,_0x5d30c5(_0x1594b9)),Se(0x2,_0x5d30c5(_0x32b0dc))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3b5a51,_0x1d5501){const _0x5058b1=_0x5ccdac;let {radius:_0x163183,width:_0xf9deb,height:_0x54dd7d}=_0x1d5501;_0x163183=_0x163183!=null?_0x163183:0x0,_0xf9deb=_0xf9deb!=null?_0xf9deb:0x1e,_0x54dd7d=_0x54dd7d!=null?_0x54dd7d:0x1e;let _0x5928cc=0x0,_0x204f7d=0x0,_0xc58ea5=0x0;_0x5928cc=_0x204f7d=_0xc58ea5=Math['min'](_0x163183,_0xf9deb/0x2,_0x54dd7d/0x2),_0x3b5a51[_0x5058b1(0x223)](),_0x3b5a51[_0x5058b1(0x188)](_0x5928cc,0x0),_0x3b5a51['lineTo'](_0xf9deb-_0x204f7d,0x0),_0x3b5a51[_0x5058b1(0x1ce)](_0xf9deb-_0x204f7d,_0x204f7d,_0x204f7d,Math['PI']*0x3/0x2,0x0,!0x1),_0x3b5a51[_0x5058b1(0x1ae)](_0xf9deb,_0x54dd7d-_0xc58ea5),_0x3b5a51['arc'](_0xf9deb-_0xc58ea5,_0x54dd7d-_0xc58ea5,_0xc58ea5,0x0,Math['PI']/0x2,!0x1),_0x3b5a51[_0x5058b1(0x1ae)](0x0,_0x54dd7d),_0x3b5a51[_0x5058b1(0x1ae)](0x0,_0x5928cc),_0x3b5a51[_0x5058b1(0x1ce)](_0x5928cc,_0x5928cc,_0x5928cc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3b5a51['closePath'](),_0x1d5501[_0x5058b1(0x292)]&&(_0x3b5a51['save'](),_0x3b5a51[_0x5058b1(0x2bc)]=_0x1d5501[_0x5058b1(0x292)],_0x1d5501['fillRule']==='evenodd'?_0x3b5a51[_0x5058b1(0x292)](_0x5058b1(0x12e)):_0x3b5a51[_0x5058b1(0x292)](),_0x3b5a51[_0x5058b1(0xf3)]());}class he extends _0x5dfd05{constructor(_0x5049fe,_0x40131f){const _0x38d08a=_0x5ccdac;super(_0x5049fe,_0x40131f),_(this,_0x38d08a(0x271)),_(this,_0x38d08a(0x264)),(this['color']=_0x40131f==null?void 0x0:_0x40131f['color'],this[_0x38d08a(0x264)]=_0x40131f==null?void 0x0:_0x40131f[_0x38d08a(0x264)]);}static[_0x5ccdac(0x256)](_0x34cfb6,_0x35347c){const _0x302329=_0x5ccdac,{text:_0x3eb881,color:_0x599252}=_0x35347c;_0x34cfb6[_0x302329(0x2d0)](),_0x34cfb6['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x255197=_0x34cfb6['measureText'](_0x3eb881)[_0x302329(0x103)],_0x226140=Math[_0x302329(0x203)](_0x255197+0x2*me,Qe);Oi(_0x34cfb6,{'height':ee,'radius':0x4,'width':_0x226140,'fill':_0x599252}),_0x34cfb6['fillStyle']=_0x302329(0x24c);const _0x3ff0ab=me,_0x1990be=ee-Ei,_0x205463=Qe-0x2*me;if(_0x255197>_0x205463){let _0x73b433='',_0x565d76=0x0;for(const _0x52f9e2 of _0x3eb881){const _0x135f83=_0x34cfb6[_0x302329(0x2a0)](_0x52f9e2)[_0x302329(0x103)];if(_0x565d76+_0x135f83<=_0x205463-_0x34cfb6[_0x302329(0x2a0)](_0x302329(0x2b4))[_0x302329(0x103)])_0x73b433+=_0x52f9e2,_0x565d76+=_0x135f83;else{_0x73b433+=_0x302329(0x2b4);break;}}_0x34cfb6[_0x302329(0x1f9)](_0x73b433,_0x3ff0ab,_0x1990be);}else _0x34cfb6[_0x302329(0x1f9)](_0x3eb881,_0x3ff0ab,_0x1990be);_0x34cfb6['restore']();}['_draw'](_0x458448){const _0x285c15=_0x5ccdac;he[_0x285c15(0x256)](_0x458448,this);}}const Ie='collab-text-anchor-',bi=_0x5ccdac(0x1a3),Ti=_0x5ccdac(0x1d4),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x303ea2,_0x2315b9,_0xabf60a,_0x4812bd){const _0x46aa8d=_0x5ccdac;_(this,_0x46aa8d(0x117),[]),_(this,_0x46aa8d(0x140),null),_(this,_0x46aa8d(0x1af),null),_(this,_0x46aa8d(0x137),null),_(this,_0x46aa8d(0x25b),null),_(this,_0x46aa8d(0x1cc),null),(this['_cursor']=_0x303ea2,this['_scene']=_0x2315b9,this[_0x46aa8d(0x197)]=_0xabf60a,this[_0x46aa8d(0x2b6)]=_0x4812bd,this[_0x46aa8d(0x21c)]());}set[_0x5ccdac(0x174)](_0x1991ea){const _0x4a5efd=_0x5ccdac;_0x1991ea?(this['_anchorDot']&&this[_0x4a5efd(0x137)][_0x4a5efd(0x255)](),this[_0x4a5efd(0x1af)]&&this[_0x4a5efd(0x1af)][_0x4a5efd(0x24d)]()):(this[_0x4a5efd(0x137)]&&this['_anchorDot'][_0x4a5efd(0x24d)](),this[_0x4a5efd(0x1af)]&&this[_0x4a5efd(0x1af)][_0x4a5efd(0x255)]());}[_0x5ccdac(0x1c4)](){const _0x28f931=_0x5ccdac;for(const _0x565ddc of this[_0x28f931(0x117)])_0x565ddc[_0x28f931(0x1c4)]();this['_textBubble']&&this[_0x28f931(0x1af)]['dispose'](),this[_0x28f931(0x137)]&&this[_0x28f931(0x137)][_0x28f931(0x1c4)](),this[_0x28f931(0x140)]&&this[_0x28f931(0x140)][_0x28f931(0x1c4)](),this[_0x28f931(0x1cc)]&&this[_0x28f931(0x1cc)]();}[_0x5ccdac(0x21c)](){const _0x24c7ed=_0x5ccdac;var _0x3cb52f;const {_docSkeleton:_0x459541,_document:_0x36605a}=this,{color:_0x49c895,name:_0x91d3c7,ranges:_0x5f3a53}=this[_0x24c7ed(0x267)],_0x99d4a6=_0x36605a[_0x24c7ed(0x29f)](),{docsLeft:_0x29210d,docsTop:_0x4f6c25}=_0x99d4a6,_0x21d088=new _0x53e06e(_0x99d4a6,_0x459541);for(const {startOffset:_0x7c58fe,endOffset:_0x4aa680,rangeType:_0xa5750a,segmentId:_0x32137a,segmentPage:_0x519ecf,collapsed:_0x23b042,isActive:_0x122657}of _0x5f3a53){const _0x4a0ad3=_0x459541[_0x24c7ed(0x25f)](_0x7c58fe,!0x0,_0x32137a,_0x519ecf);let _0x1a5082=_0x459541[_0x24c7ed(0x25f)](_0x4aa680,!0x0,_0x32137a,_0x519ecf);if(_0x1a5082==null&&(_0x1a5082=_0x459541['findNodePositionByCharIndex'](_0x4aa680-0x1,!0x1,_0x32137a,_0x519ecf)),_0x122657){const {contentBoxPointGroup:_0xcd4505}=_0x21d088[_0x24c7ed(0x14a)](_0x1a5082,_0x1a5082);if(_0xcd4505[_0x24c7ed(0x1da)]===0x0)continue;this['_drawAnchor'](_0x49c895,_0xcd4505,_0x29210d,_0x4f6c25,_0x91d3c7),this[_0x24c7ed(0x1cc)]=this[_0x24c7ed(0x246)]();}if(_0x4a0ad3&&_0x1a5082){if(_0xa5750a===_0x5cab35['RECT']){const _0x4edfeb=new _0x157fb2(_0x99d4a6,_0x459541),{pointGroup:_0x51a396}=(_0x3cb52f=_0x4edfeb[_0x24c7ed(0x14a)](_0x4a0ad3,_0x1a5082))!=null?_0x3cb52f:{};if(_0x51a396==null||_0x51a396[_0x24c7ed(0x1da)]===0x0)continue;this[_0x24c7ed(0x2ac)](_0x49c895,_0x51a396,_0x29210d,_0x4f6c25);}else{if(!_0x23b042){const {borderBoxPointGroup:_0x36cf9a}=_0x21d088['getRangePointData'](_0x4a0ad3,_0x1a5082);if(_0x36cf9a[_0x24c7ed(0x1da)]===0x0)continue;this[_0x24c7ed(0x224)](_0x49c895,_0x36cf9a,_0x29210d,_0x4f6c25);}}}}}[_0x5ccdac(0x14e)](_0xe9045b,_0x3ee158,_0x3d27cd,_0x1221a0,_0x16bcd9){const _0x39c6c8=_0x5ccdac,_0x23f208=this[_0x39c6c8(0x1d3)](_0x3ee158),{left:_0x1a31ea,top:_0x1713c1,height:_0x4c98bd}=_0x23f208,_0x1a8ef1=this[_0x39c6c8(0x143)](),_0x2a8070=Di/_0x1a8ef1,_0x3b9087=new _0x5abff7(Ie+_0x453a5f[_0x39c6c8(0x1cb)](X),{'left':_0x1a31ea+_0x3d27cd-_0x2a8070,'top':_0x1713c1+_0x1221a0,'height':_0x4c98bd,'width':Ri,'fill':_0xe9045b||_0x1a7fb3(_0xace774['black'],0x0),'strokeWidth':_0x2a8070,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x3b9087,this[_0x39c6c8(0x194)][_0x39c6c8(0x1f5)](_0x3b9087,_0x55fa23);const _0x28e230=new _0x5abff7(Ie+_0x453a5f[_0x39c6c8(0x1cb)](X),{'left':_0x1a31ea+_0x3d27cd-_0x2a8070,'top':_0x1713c1+_0x1221a0-ge/0x2,'height':ge,'width':ge,'fill':_0xe9045b||_0x1a7fb3(_0xace774['black'],0x0),'strokeWidth':0x0,'stroke':_0xe9045b||_0x1a7fb3(_0xace774[_0x39c6c8(0x102)],0x0),'evented':!0x1});this[_0x39c6c8(0x137)]=_0x28e230,this[_0x39c6c8(0x194)][_0x39c6c8(0x1f5)](_0x28e230,_0x55fa23);const _0x4e8b20=new he(Ie+_0x453a5f[_0x39c6c8(0x1cb)](X),{'left':_0x1a31ea+_0x3d27cd-_0x2a8070,'top':_0x1713c1+_0x1221a0-ee,'text':_0x16bcd9,'color':_0xe9045b});this[_0x39c6c8(0x1af)]=_0x4e8b20,this[_0x39c6c8(0x194)][_0x39c6c8(0x1f5)](_0x4e8b20,_0x55fa23),this[_0x39c6c8(0x174)]=!0x1;}['_handleHover'](){const _0x3a2245=_0x5ccdac,_0x5c9c38=this[_0x3a2245(0x140)][_0x3a2245(0x15a)][_0x3a2245(0x1d8)](()=>{this['_hover']=!0x0;}),_0x571957=this['_anchor'][_0x3a2245(0x116)][_0x3a2245(0x1d8)](()=>{const _0x134d80=_0x3a2245;this[_0x134d80(0x25b)]&&clearTimeout(this[_0x134d80(0x25b)]),this[_0x134d80(0x25b)]=setTimeout(()=>{const _0x356368=_0x134d80;this[_0x356368(0x174)]=!0x1;},0x7d0);});return()=>{const _0x1da11d=_0x3a2245;_0x5c9c38[_0x1da11d(0x29b)](),_0x571957[_0x1da11d(0x29b)]();};}['_drawTextRange'](_0x2b4daf,_0x299b88,_0x4749de,_0x5059e4){const _0x572b04=_0x5ccdac,_0x549520=new _0x366f4a(_0x2b4daf)['setAlpha'](0.2)[_0x572b04(0x253)](),_0x1ed218=new _0x58224e(bi+_0x453a5f['generateRandomId'](X),{'pointsGroup':_0x299b88,'fill':_0x549520||_0x1a7fb3(_0xace774[_0x572b04(0x102)],0.2),'left':_0x4749de,'top':_0x5059e4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x572b04(0x117)]['push'](_0x1ed218),this[_0x572b04(0x194)][_0x572b04(0x1f5)](_0x1ed218,_0x55fa23);}['_drawRectRange'](_0x331a10,_0x1ea298,_0x594283,_0x18a6ec){const _0x513779=_0x5ccdac,_0x44f2a2=new _0x366f4a(_0x331a10)['setAlpha'](0.2)[_0x513779(0x253)](),_0x3c32ef=new _0x58224e(Ti+_0x453a5f[_0x513779(0x1cb)](X),{'pointsGroup':_0x1ea298,'fill':_0x44f2a2||_0x1a7fb3(_0xace774[_0x513779(0x102)],0.2),'left':_0x594283,'top':_0x18a6ec,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x513779(0x117)]['push'](_0x3c32ef),this[_0x513779(0x194)][_0x513779(0x1f5)](_0x3c32ef,_0x55fa23);}['_getAnchorBounding'](_0x2eb659){const _0x160b79=_0x2eb659[0x0],_0x195595=_0x160b79[0x0],_0x37f08d=_0x160b79[0x2],{x:_0x1f7307,y:_0x589bb9}=_0x195595,{x:_0x503075,y:_0x247e27}=_0x37f08d;return{'left':_0x1f7307,'top':_0x589bb9,'width':_0x503075-_0x1f7307,'height':_0x247e27-_0x589bb9};}[_0x5ccdac(0x143)](){const _0x4d7641=_0x5ccdac,{scaleX:_0x14ed7c,scaleY:_0x40862c}=this[_0x4d7641(0x194)][_0x4d7641(0x126)]();return Math['max'](_0x14ed7c,_0x40862c);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0xb5c3a8,_0x1b9071,_0x420fc2,_0x5162db)=>{const _0x148dd8=_0x5ccdac;for(var _0x25fd93=_0x5162db>0x1?void 0x0:_0x5162db?Ui(_0x1b9071,_0x420fc2):_0x1b9071,_0x2d9238=_0xb5c3a8[_0x148dd8(0x1da)]-0x1,_0x653eb3;_0x2d9238>=0x0;_0x2d9238--)(_0x653eb3=_0xb5c3a8[_0x2d9238])&&(_0x25fd93=_0x653eb3(_0x25fd93)||_0x25fd93);return _0x25fd93;},Z=(_0x28da51,_0x4ac292)=>(_0x59a331,_0x183457)=>_0x4ac292(_0x59a331,_0x183457,_0x28da51);let we=class extends _0x1d3bed{constructor(_0x1c13ff,_0x1f442a,_0x1ab1c6,_0x268e53,_0x2a44b6){const _0x400b89=_0x5ccdac;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x400b89(0x1dd)]=_0x1c13ff,this[_0x400b89(0x16a)]=_0x1f442a,this[_0x400b89(0x1c6)]=_0x1ab1c6,this['_commandService']=_0x268e53,this[_0x400b89(0x28a)]=_0x2a44b6,this[_0x400b89(0x2c4)]());}[_0x5ccdac(0x2c4)](){const _0x14cb05=_0x5ccdac,_0x253ead=this[_0x14cb05(0x1dd)]['unitId'],_0x3e50b7=this[_0x14cb05(0x16a)];this['disposeWithMe'](_0x3ed33c([this['_collabCursorController'][_0x14cb05(0x202)](_0x253ead),this[_0x14cb05(0x28a)]['currentTheme$']])[_0x14cb05(0x107)](_0x13142d(([_0x17d9d8,_0x4759b0])=>({'skeleton':_0x3e50b7[_0x14cb05(0xe5)](),'cursors':[..._0x17d9d8['values']()][_0x14cb05(0x1a0)](_0x333517=>({..._0x333517,'color':this[_0x14cb05(0x28a)]['getColorFromTheme'](_0x333517[_0x14cb05(0x271)])}))})))[_0x14cb05(0x1fd)](_0x2fae51=>{const _0x1a30b5=_0x14cb05;if(this[_0x1a30b5(0x1c9)](),_0x2fae51){const {skeleton:_0x3d99d5,cursors:_0x59756a}=_0x2fae51;this[_0x1a30b5(0x1aa)](_0x3d99d5,_0x59756a);}})),this[_0x14cb05(0xe8)](),this['_initCommandExecutedListener']();}[_0x5ccdac(0x1aa)](_0x29febb,_0x3ad0d1){const _0x2dd98a=_0x5ccdac,{scene:_0x3aa78e,mainComponent:_0x41f8ac}=this[_0x2dd98a(0x1dd)],_0x294b4c=_0x3ad0d1[_0x2dd98a(0x1a5)](_0x1b4b10=>new qe(_0x1b4b10,_0x3aa78e,_0x29febb,_0x41f8ac));this[_0x2dd98a(0x169)]=_0x294b4c,this[_0x2dd98a(0x1d5)]=_0x3ad0d1;}[_0x5ccdac(0x2bf)](){const _0x24ebfb=_0x5ccdac;this[_0x24ebfb(0x1c9)]();const {scene:_0xc35b03,mainComponent:_0x24fc61}=this[_0x24ebfb(0x1dd)],_0x1fb460=this['_docSkeletonManagerService'][_0x24ebfb(0xe5)](),_0x17291b=this[_0x24ebfb(0x1d5)][_0x24ebfb(0x1a5)](_0x3f2da3=>new qe(_0x3f2da3,_0xc35b03,_0x1fb460,_0x24fc61));this['_cursorShapes']=_0x17291b;}[_0x5ccdac(0x1c9)](){const _0x2cd1f9=_0x5ccdac;this[_0x2cd1f9(0x169)]['forEach'](_0x2d3ab8=>_0x2d3ab8['dispose']()),this['_cursorShapes']=[];}[_0x5ccdac(0x233)](){const _0xc8b323=_0x5ccdac,_0x311395=[_0x17b391['id']];this[_0xc8b323(0x2e4)](this[_0xc8b323(0x213)][_0xc8b323(0x21d)](_0x314016=>{const _0x6be6b9=_0xc8b323;_0x311395[_0x6be6b9(0x240)](_0x314016['id'])&&_0x314016[_0x6be6b9(0x2d7)]['unitId']===this[_0x6be6b9(0x1dd)]['unitId']&&this[_0x6be6b9(0x2bf)]();}));}['_initResize'](){const _0x1b483e=_0x5ccdac;this[_0x1b483e(0x2e4)](_0x1ee04c(this[_0x1b483e(0x1dd)][_0x1b483e(0x2e7)][_0x1b483e(0x283)])[_0x1b483e(0x107)](_0x7a3f1a(_0x29fc4e=>_0x29fc4e['type']===_0x3c08ff[_0x1b483e(0x182)]),_0x8c9cc4(0x10))[_0x1b483e(0x1fd)](()=>{const _0x57105d=_0x1b483e;this[_0x57105d(0x2bf)]();}));}};we=Mi([Z(0x1,_0x5d30c5(_0x12e746)),Z(0x2,_0x5d30c5(H)),Z(0x3,_0x58b9f6),Z(0x4,_0x5d30c5(_0x442833))],we);const wi=0x1,Pi=1.5;class Li extends _0x5dfd05{constructor(_0x2cdfa1,_0x5584ce){const _0xdbe48=_0x5ccdac;super(_0x2cdfa1,_0x5584ce),_(this,_0xdbe48(0x1ec)),_(this,_0xdbe48(0x184),!0x1),_(this,'_range'),_(this,_0xdbe48(0xdd),''),_(this,'_labelPosition',_0xdbe48(0x259)),_(this,'_backgroundColor'),(_0x5584ce&&this[_0xdbe48(0x163)](_0x5584ce),this[_0xdbe48(0x15a)]['subscribeEvent'](()=>this[_0xdbe48(0x163)]({'hovered':!0x0})),this['onPointerLeave$'][_0xdbe48(0x1d8)](()=>this[_0xdbe48(0x163)]({'hovered':!0x1})));}[_0x5ccdac(0x163)](_0x12c0a2){const _0x3a123c=_0x5ccdac;var _0xb7f80c,_0x22a988,_0x682ef1,_0x5eb902,_0x137ab4,_0x9d2d7d;this[_0x3a123c(0x1ec)]=(_0xb7f80c=_0x12c0a2['color'])!=null?_0xb7f80c:this['_color'],this['_hovered']=(_0x22a988=_0x12c0a2['hovered'])!=null?_0x22a988:this[_0x3a123c(0x184)],this[_0x3a123c(0x1f0)]=(_0x682ef1=_0x12c0a2[_0x3a123c(0x249)])!=null?_0x682ef1:this[_0x3a123c(0x1f0)],this[_0x3a123c(0xdd)]=(_0x5eb902=_0x12c0a2[_0x3a123c(0x176)])!=null?_0x5eb902:this[_0x3a123c(0xdd)],this[_0x3a123c(0x1be)]=(_0x137ab4=_0x12c0a2['labelPosition'])!=null?_0x137ab4:this[_0x3a123c(0x1be)],this[_0x3a123c(0x20a)]=(_0x9d2d7d=_0x12c0a2[_0x3a123c(0xfa)])!=null?_0x9d2d7d:this['_backgroundColor'],this[_0x3a123c(0x295)]({'width':_0x12c0a2[_0x3a123c(0x103)],'height':_0x12c0a2[_0x3a123c(0x121)]});}[_0x5ccdac(0x1ea)](_0x14f2a1){const _0x11348c=_0x5ccdac,{row:_0x1da632,column:_0x116925}=_0x14f2a1;if(_0x1da632>=this[_0x11348c(0x1f0)][_0x11348c(0x134)]&&_0x1da632<=this['_range'][_0x11348c(0x1e1)]&&_0x116925>=this[_0x11348c(0x1f0)][_0x11348c(0x1bd)]&&_0x116925<=this[_0x11348c(0x1f0)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x11348c(0x163)]({'hovered':!0x1});}[_0x5ccdac(0xfe)](_0x4cce9d){return!0x1;}[_0x5ccdac(0x2d4)](_0x59b840){const _0x41dd37=_0x5ccdac;_0x5abff7[_0x41dd37(0x256)](_0x59b840,{'width':this['width'],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x41dd37(0x1ec)],'evented':!0x1,'fill':this[_0x41dd37(0x20a)]}),this[_0x41dd37(0x184)]&&(_0x59b840[_0x41dd37(0x2d0)](),_0x59b840[_0x41dd37(0x2e1)](0x1,0x0,0x0,0x1,this['width'],this[_0x41dd37(0x1be)]==='bottom'?0x0:-0x14),he[_0x41dd37(0x256)](_0x59b840,{'text':this[_0x41dd37(0xdd)],'color':this[_0x41dd37(0x1ec)]}),_0x59b840[_0x41dd37(0xf3)]());}}var Ai=Object[_0x5ccdac(0x16f)],yi=(_0x46af3f,_0x4f3999,_0x5e1c48,_0x21382e)=>{const _0x14d808=_0x5ccdac;for(var _0x18951b=_0x21382e>0x1?void 0x0:_0x21382e?Ai(_0x4f3999,_0x5e1c48):_0x4f3999,_0x3e1ac7=_0x46af3f[_0x14d808(0x1da)]-0x1,_0x25ed60;_0x3e1ac7>=0x0;_0x3e1ac7--)(_0x25ed60=_0x46af3f[_0x3e1ac7])&&(_0x18951b=_0x25ed60(_0x18951b)||_0x18951b);return _0x18951b;},ve=(_0x20895c,_0x290a17)=>(_0x517853,_0x348527)=>_0x290a17(_0x517853,_0x348527,_0x20895c);const $i=0x1389;let Pe=class extends _0x1d3bed{constructor(_0x450b36,_0x3f9586,_0x43b39e,_0x15a14a){const _0x6fdc58=_0x5ccdac;super(),_(this,_0x6fdc58(0x1d5),new Set()),_(this,'_lastPointer',null),(this[_0x6fdc58(0x1dd)]=_0x450b36,this[_0x6fdc58(0x252)]=_0x3f9586,this['_collabCursorController']=_0x43b39e,this[_0x6fdc58(0x28a)]=_0x15a14a,this[_0x6fdc58(0x2c4)]());}[_0x5ccdac(0x2c4)](){const _0x4ada62=_0x5ccdac;this[_0x4ada62(0x252)][_0x4ada62(0x294)]['pipe'](_0x115372(this[_0x4ada62(0x195)]),_0x594866(_0x151f56=>{const _0x41411e=_0x4ada62;if(_0x151f56){const _0x5e5ca5=_0x151f56[_0x41411e(0x250)];return _0x3ed33c(this[_0x41411e(0x1c6)][_0x41411e(0x202)](this[_0x41411e(0x1dd)]['unitId']),this[_0x41411e(0x28a)][_0x41411e(0xf8)])[_0x41411e(0x107)](_0x13142d(([_0x38d489,_0xc5ced8])=>{const _0x35d62a=_0x41411e,_0xac5518=new Map();return _0x38d489[_0x35d62a(0x28e)]((_0x45e44d,_0x55c235)=>{const _0x41e714=_0x35d62a;if(_0x45e44d[_0x41e714(0x2a4)]===_0x5e5ca5){const _0x493e04={..._0x45e44d};_0x493e04['color']=this[_0x41e714(0x28a)][_0x41e714(0xf4)](_0x45e44d[_0x41e714(0x271)]),_0xac5518[_0x41e714(0x11b)](_0x55c235,_0x493e04);}}),{'skeleton':_0x151f56,'cursors':_0xac5518};}));}return _0x430603({'skeleton':null,'cursors':new Map()});}))[_0x4ada62(0x1fd)](({skeleton:_0xadf3cd,cursors:_0x31646c})=>{this['_removeCollabCursors'](),_0xadf3cd&&this['_updateCollabCursors'](_0xadf3cd,_0x31646c);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4ada62(0x1fd)](_0x4ba060=>{const _0x10ff0c=_0x4ada62;if(_0x4ba060==null)return;const {skeleton:_0x36721d}=_0x4ba060,{scene:_0x2a8e92}=this[_0x10ff0c(0x1dd)];_0x2a8e92[_0x10ff0c(0x286)][_0x10ff0c(0x1d8)](_0xa76b4c(_0x2d39b1=>{const _0x163ccf=_0x10ff0c;var _0x536269,_0x5ea33b;const {offsetX:_0x476066,offsetY:_0x53072e}=_0x2d39b1,{x:_0x23ec2d,y:_0x5635f2}=_0x2a8e92[_0x163ccf(0x171)](_0x576202[_0x163ccf(0x229)]([_0x476066,_0x53072e])),{scaleX:_0x33bfc8,scaleY:_0x37ddd7}=_0x2a8e92[_0x163ccf(0x126)](),_0x3d84f5=_0x2a8e92['getViewport'](_0x3973d7[_0x163ccf(0x26d)]),_0x1c8a12=_0x2a8e92[_0x163ccf(0x141)](_0x576202[_0x163ccf(0x229)]([_0x23ec2d,_0x5635f2]),_0x3d84f5),_0xc2953f=_0x36721d[_0x163ccf(0x297)](_0x476066,_0x53072e,_0x33bfc8,_0x37ddd7,_0x1c8a12);((_0x536269=this[_0x163ccf(0x21a)])==null?void 0x0:_0x536269[_0x163ccf(0x183)])===_0xc2953f[_0x163ccf(0x183)]&&((_0x5ea33b=this[_0x163ccf(0x21a)])==null?void 0x0:_0x5ea33b[_0x163ccf(0x1c2)])===_0xc2953f[_0x163ccf(0x1c2)]||this[_0x163ccf(0x1d5)][_0x163ccf(0x28e)](_0x2a61d1=>{const _0x371698=_0x163ccf;_0x2a61d1[_0x371698(0x1ea)](_0xc2953f);});},0x64));});}[_0x5ccdac(0x1aa)](_0x1fcb34,_0x1ecb35){const _0xda1dc4=_0x5ccdac;var _0x6c6d25;const _0x3f1bf8=(_0x6c6d25=this[_0xda1dc4(0x252)]['getCurrent']())==null?void 0x0:_0x6c6d25[_0xda1dc4(0x266)];if(!_0x3f1bf8)return;const _0x3be235=this[_0xda1dc4(0x19c)]();if(!_0x3be235)return;this['_cursors'][_0xda1dc4(0x28e)](_0x358a82=>{const _0x1726b9=_0xda1dc4;_0x358a82[_0x1726b9(0xf0)]();});const {scene:_0x3a857c}=_0x3be235,_0x451af1=xi(Array[_0xda1dc4(0x131)](_0x1ecb35[_0xda1dc4(0x11e)]()))[_0xda1dc4(0x1a5)](_0x45ca50=>{const _0x52d921=_0xda1dc4,{color:_0x6a897e,range:_0x57bc4c,name:_0x2ff00c,selection:_0x17609a,sheetID:_0x45477d}=_0x45ca50,{startColumn:_0x2f8f68,startRow:_0x4c2712,endColumn:_0x105883,endRow:_0x4fe53d}=_0x57bc4c,_0x323173=_0x8e1141(_0x4c2712,_0x2f8f68,_0x3a857c,_0x3f1bf8),_0x2b29e3=_0x8e1141(_0x4fe53d,_0x105883,_0x3a857c,_0x3f1bf8),{columnHeaderHeightAndMarginTop:_0xc048cf}=_0x3f1bf8,{startX:_0x9d8217,startY:_0x1e96a5}=_0x323173,{endX:_0x3793d0,endY:_0x28da0a}=_0x2b29e3,_0x3f2873=_0x3793d0-_0x9d8217,_0x55ff8d=_0x28da0a-_0x1e96a5,_0x4b0be2={'labelPosition':_0x1e96a5-_0xc048cf>=ee?_0x52d921(0x259):_0x52d921(0x196),'sheetID':_0x45477d,'range':_0x57bc4c,'color':_0x6a897e,'name':_0x2ff00c,'selection':_0x17609a,'left':_0x9d8217,'top':_0x1e96a5,'width':_0x3f2873,'height':_0x55ff8d,'evented':!0x1,'zIndex':$i};return new Li(_0x2ff00c,_0x4b0be2);});_0x3a857c[_0xda1dc4(0x1e4)](_0x451af1,wi),this[_0xda1dc4(0x1d5)]=new Set(_0x451af1);}[_0x5ccdac(0x1c9)](){const _0x1c684c=_0x5ccdac;var _0x1bf9dc;(_0x1bf9dc=this[_0x1c684c(0x1d5)])==null||_0x1bf9dc['forEach'](_0x313438=>_0x313438[_0x1c684c(0x1c4)]());}[_0x5ccdac(0x19c)](){const _0x3f706e=_0x5ccdac;return _0x29c69e(this[_0x3f706e(0x1dd)]['unit'],this[_0x3f706e(0x1dd)]);}};Pe=yi([ve(0x1,_0x5d30c5(_0x16790c)),ve(0x2,_0x5d30c5(H)),ve(0x3,_0x5d30c5(_0x442833))],Pe);function xi(_0x5422fe){const _0x302caa=_0x5ccdac,_0x1f3250=new Map();return _0x5422fe[_0x302caa(0x28e)](_0x635dd9=>{const _0x52c2c1=_0x302caa;if(_0x1f3250['has'](_0x635dd9['selection'])){const _0x4c51dc=_0x1f3250['get'](_0x635dd9[_0x52c2c1(0x263)]);_0x4c51dc['name']+=',\x20'+_0x635dd9[_0x52c2c1(0x176)];}else _0x1f3250[_0x52c2c1(0x11b)](_0x635dd9[_0x52c2c1(0x263)],_0x635dd9);}),Array[_0x302caa(0x131)](_0x1f3250[_0x302caa(0x11e)]());}var v=function(){const _0x5f2225=_0x5ccdac;return v=Object[_0x5f2225(0x2a7)]||function(_0x1b5e0d){const _0x68ac3b=_0x5f2225;for(var _0x3f522d,_0x5bb371=0x1,_0x4aa1b2=arguments[_0x68ac3b(0x1da)];_0x5bb371<_0x4aa1b2;_0x5bb371++){_0x3f522d=arguments[_0x5bb371];for(var _0xd65fe1 in _0x3f522d)Object[_0x68ac3b(0x2ad)][_0x68ac3b(0x146)][_0x68ac3b(0x214)](_0x3f522d,_0xd65fe1)&&(_0x1b5e0d[_0xd65fe1]=_0x3f522d[_0xd65fe1]);}return _0x1b5e0d;},v['apply'](this,arguments);},Bi=function(_0x209965,_0x5a4986){const _0x284f4b=_0x5ccdac;var _0x2de56c={};for(var _0x48aff6 in _0x209965)Object[_0x284f4b(0x2ad)][_0x284f4b(0x146)][_0x284f4b(0x214)](_0x209965,_0x48aff6)&&_0x5a4986[_0x284f4b(0x28f)](_0x48aff6)<0x0&&(_0x2de56c[_0x48aff6]=_0x209965[_0x48aff6]);if(_0x209965!=null&&typeof Object['getOwnPropertySymbols']==_0x284f4b(0x231)){for(var _0x2f0ea3=0x0,_0x48aff6=Object[_0x284f4b(0x23f)](_0x209965);_0x2f0ea3<_0x48aff6['length'];_0x2f0ea3++)_0x5a4986[_0x284f4b(0x28f)](_0x48aff6[_0x2f0ea3])<0x0&&Object[_0x284f4b(0x2ad)][_0x284f4b(0x1a1)][_0x284f4b(0x214)](_0x209965,_0x48aff6[_0x2f0ea3])&&(_0x2de56c[_0x48aff6[_0x2f0ea3]]=_0x209965[_0x48aff6[_0x2f0ea3]]);}return _0x2de56c;},je=_0x40c795(function(_0x365095,_0x131bf6){const _0x3b2fe6=_0x5ccdac;var _0x59c22c=_0x365095[_0x3b2fe6(0x13c)],_0x3d1149=_0x365095['id'],_0x24c52e=_0x365095['className'],_0x75c6f7=_0x365095[_0x3b2fe6(0x101)],_0x58d52a=Bi(_0x365095,[_0x3b2fe6(0x13c),'id',_0x3b2fe6(0x24e),_0x3b2fe6(0x101)]),_0x290c41=_0x3b2fe6(0x243)['concat'](_0x3d1149,'\x20')[_0x3b2fe6(0x13a)](_0x24c52e||'')['trim'](),_0x5a65e6=_0x1787f1('_'[_0x3b2fe6(0x13a)](ji()));return Rt(_0x59c22c,''[_0x3b2fe6(0x13a)](_0x3d1149),{'defIds':_0x59c22c[_0x3b2fe6(0x115)],'idSuffix':_0x5a65e6['current']},v({'ref':_0x131bf6,'className':_0x290c41},_0x58d52a),_0x75c6f7);});function Rt(_0x10ade2,_0x293e9c,_0x340285,_0x3e5cbf,_0x333a13){const _0x1ee88c=_0x5ccdac;return _0x4c6a71(_0x10ade2[_0x1ee88c(0x1ee)],v(v({'key':_0x293e9c},ki(_0x10ade2,_0x340285,_0x333a13)),_0x3e5cbf),(Hi(_0x10ade2,_0x340285)[_0x1ee88c(0xe3)]||[])[_0x1ee88c(0x1a5)](function(_0x38d6b1,_0x5efdb6){const _0x511209=_0x1ee88c;return Rt(_0x38d6b1,''[_0x511209(0x13a)](_0x293e9c,'-')[_0x511209(0x13a)](_0x10ade2[_0x511209(0x1ee)],'-')['concat'](_0x5efdb6),_0x340285,void 0x0,_0x333a13);}));}function ki(_0x43f46e,_0x473e2f,_0x2979a1){const _0x2869fd=_0x5ccdac;var _0x2d66fd=v({},_0x43f46e[_0x2869fd(0x2c5)]);_0x2979a1!=null&&_0x2979a1[_0x2869fd(0x270)]&&_0x2d66fd[_0x2869fd(0x292)]===_0x2869fd(0x270)&&(_0x2d66fd[_0x2869fd(0x292)]=_0x2979a1[_0x2869fd(0x270)]),_0x43f46e[_0x2869fd(0x1ee)]===_0x2869fd(0x2ca)&&_0x2d66fd['id']&&(_0x2d66fd['id']=_0x2d66fd['id']+_0x473e2f[_0x2869fd(0xda)]),Object[_0x2869fd(0x1e0)](_0x2d66fd)[_0x2869fd(0x28e)](function(_0xc18d5d){const _0x3e9ce7=_0x2869fd;var _0x2d49e9=_0xc18d5d[0x0],_0x2a76b9=_0xc18d5d[0x1];_0x2d49e9===_0x3e9ce7(0x2ca)&&typeof _0x2a76b9=='string'&&(_0x2d66fd[_0x2d49e9]=_0x2a76b9[_0x3e9ce7(0x1a9)](/url\(#(.*)\)/,_0x3e9ce7(0x167)[_0x3e9ce7(0x13a)](_0x473e2f[_0x3e9ce7(0xda)],')')));});var _0x30363a=_0x473e2f['defIds'];return!_0x30363a||_0x30363a['length']===0x0||(_0x43f46e[_0x2869fd(0x1ee)]===_0x2869fd(0x14c)&&_0x2d66fd[_0x2869fd(0x17d)]&&(_0x2d66fd[_0x2869fd(0x17d)]=_0x2d66fd[_0x2869fd(0x17d)]+_0x473e2f[_0x2869fd(0xda)]),Object[_0x2869fd(0x1e0)](_0x2d66fd)[_0x2869fd(0x28e)](function(_0x338a89){const _0x15933c=_0x2869fd;var _0x39f47a=_0x338a89[0x0],_0x37d60f=_0x338a89[0x1];typeof _0x37d60f==_0x15933c(0x1c7)&&(_0x2d66fd[_0x39f47a]=_0x37d60f['replace'](/url\(#(.*)\)/,'url(#$1'[_0x15933c(0x13a)](_0x473e2f['idSuffix'],')')));})),_0x2d66fd;}function Hi(_0x3f6674,_0x5a9110){const _0x75f58f=_0x5ccdac;var _0xcfb6ff,_0x1f36e3=_0x5a9110[_0x75f58f(0x115)];return!_0x1f36e3||_0x1f36e3[_0x75f58f(0x1da)]===0x0?_0x3f6674:_0x3f6674[_0x75f58f(0x1ee)]===_0x75f58f(0x220)&&(!((_0xcfb6ff=_0x3f6674[_0x75f58f(0xe3)])===null||_0xcfb6ff===void 0x0)&&_0xcfb6ff[_0x75f58f(0x1da)])?v(v({},_0x3f6674),{'children':_0x3f6674[_0x75f58f(0xe3)]['map'](function(_0xa325e6){const _0x40cd87=_0x75f58f;return typeof _0xa325e6[_0x40cd87(0x2c5)]['id']=='string'&&_0x1f36e3&&_0x1f36e3['includes'](_0xa325e6[_0x40cd87(0x2c5)]['id'])?v(v({},_0xa325e6),{'attrs':v(v({},_0xa325e6['attrs']),{'id':_0xa325e6[_0x40cd87(0x2c5)]['id']+_0x5a9110[_0x40cd87(0xda)]})}):_0xa325e6;})}):_0x3f6674;}function ji(){const _0x3e3fc0=_0x5ccdac;return Math['random']()[_0x3e3fc0(0x1bb)](0x24)[_0x3e3fc0(0x1b1)](0x2,0x8);}je[_0x5ccdac(0x1a8)]=_0x5ccdac(0x1b0);var Yi={'tag':_0x5ccdac(0x119),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5ccdac(0xe7),'viewBox':_0x5ccdac(0x1bf),'width':_0x5ccdac(0x2ab),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5ccdac(0xf7)},'children':[{'tag':'path','attrs':{'stroke':_0x5ccdac(0x13f),'d':_0x5ccdac(0x15f),'strokeLinecap':_0x5ccdac(0x152),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5ccdac(0x220),'attrs':{},'children':[{'tag':_0x5ccdac(0x187),'attrs':{'id':_0x5ccdac(0x23d)},'children':[{'tag':_0x5ccdac(0x15d),'attrs':{'fill':_0x5ccdac(0x12f),'d':_0x5ccdac(0x293)}}]}]}],'defIds':[_0x5ccdac(0x23d)]},Dt=_0x40c795(function(_0x56dd66,_0x473b9d){const _0x332e6a=_0x5ccdac;return _0x4c6a71(je,Object[_0x332e6a(0x2a7)]({},_0x56dd66,{'id':_0x332e6a(0x1e5),'ref':_0x473b9d,'icon':Yi}));});Dt[_0x5ccdac(0x1a8)]=_0x5ccdac(0x10f);var Fi={'tag':_0x5ccdac(0x119),'attrs':{'xmlns':_0x5ccdac(0x254),'fill':_0x5ccdac(0xe7),'viewBox':_0x5ccdac(0x2e5),'width':_0x5ccdac(0x2ab),'height':_0x5ccdac(0x2ab)},'children':[{'tag':'g','attrs':{'clipPath':_0x5ccdac(0x19a)},'children':[{'tag':'path','attrs':{'stroke':_0x5ccdac(0x13f),'d':_0x5ccdac(0x21e),'strokeLinecap':'round','strokeLinejoin':_0x5ccdac(0x152),'strokeWidth':1.2}}]},{'tag':_0x5ccdac(0x220),'attrs':{},'children':[{'tag':_0x5ccdac(0x187),'attrs':{'id':_0x5ccdac(0x215)},'children':[{'tag':'path','attrs':{'fill':_0x5ccdac(0x12f),'d':'M0\x200H16V16H0z','transform':_0x5ccdac(0x113)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x40c795(function(_0x19456b,_0x3bfb9f){const _0x3a6573=_0x5ccdac;return _0x4c6a71(je,Object['assign']({},_0x19456b,{'id':_0x3a6573(0xfc),'ref':_0x3bfb9f,'icon':Fi}));});Nt[_0x5ccdac(0x1a8)]='OnLineIcon';function Wi(_0x25143d){const _0x491537=_0x5ccdac;switch(_0x25143d){case _0x24642c['OFFLINE']:return _0x491537(0x210);case _0x24642c[_0x491537(0x2ce)]:return'collabStatus.conflict';case _0x24642c[_0x491537(0xff)]:return'collabStatus.fetchMiss';case _0x24642c[_0x491537(0x10e)]:return _0x491537(0xf9);case _0x24642c[_0x491537(0x120)]:case _0x24642c[_0x491537(0x1b2)]:return _0x491537(0x206);case _0x24642c[_0x491537(0x178)]:case _0x24642c[_0x491537(0xf1)]:return _0x491537(0xee);}}function Vi(_0x5b9bdf){const _0x4b17b9=_0x5ccdac,{status$:_0x436da9}=_0x5b9bdf,_0x315e54=_0x162370(_0x436da9,_0x24642c['NOT_COLLAB']),_0x266690=_0x2693a3(_0x3f7747),_0x2310c4=_0x2693a3(_0x32b0dc),_0x4aa624=_0x315e54!==_0x24642c[_0x4b17b9(0x156)],_0x29e3b0=_0x266690['t'](Wi(_0x315e54)),_0x86bca0=_0x4aa624?_0x20c2d2(Nt,{}):_0x20c2d2(Dt,{}),_0x23affb=_0x328165(()=>{const _0x18e361=_0x4b17b9;_0x4aa624||_0x2310c4[_0x18e361(0xdf)]();},[_0x4aa624,_0x2310c4]);function _0x106268(){const _0x24dfa6=_0x4b17b9;return _0x54c13b(_0x24dfa6(0x124),{'className':_0x24dfa6(0x2dd),'onClick':_0x23affb,'children':[_0x20c2d2(_0x24dfa6(0x124),{'className':_0x4800c1(_0x24dfa6(0x27b),{'univer-text-green-500':_0x4aa624,'univer-text-red-500':!_0x4aa624}),'children':_0x86bca0}),_0x20c2d2(_0x24dfa6(0x124),{'className':_0x24dfa6(0x1d2),'children':_0x29e3b0})]});}return _0x4aa624?_0x106268():_0x20c2d2(_0x4b5462,{'title':_0x266690['t'](_0x4b17b9(0xe1)),'children':_0x106268()});}var Xi=Object[_0x5ccdac(0x16f)],Gi=(_0x89e52e,_0x53eee2,_0x4878c7,_0x1d5baf)=>{const _0x49975c=_0x5ccdac;for(var _0x53fcd1=_0x1d5baf>0x1?void 0x0:_0x1d5baf?Xi(_0x53eee2,_0x4878c7):_0x53eee2,_0x34a3ac=_0x89e52e[_0x49975c(0x1da)]-0x1,_0xfcf1c5;_0x34a3ac>=0x0;_0x34a3ac--)(_0xfcf1c5=_0x89e52e[_0x34a3ac])&&(_0x53fcd1=_0xfcf1c5(_0x53fcd1)||_0x53fcd1);return _0x53fcd1;},Q=(_0x519b79,_0x1bf03a)=>(_0x217187,_0x269440)=>_0x1bf03a(_0x217187,_0x269440,_0x519b79);let te=class extends _0x511293{constructor(_0x32b607,_0x490721,_0xe934b5,_0x2b558d){const _0x38f525=_0x5ccdac;super(),_(this,_0x38f525(0x222),new _0x2cc9b0(_0x24642c[_0x38f525(0x10e)])),(this[_0x38f525(0x232)]=_0x32b607,this[_0x38f525(0x165)]=_0x490721,this[_0x38f525(0x258)]=_0xe934b5,this[_0x38f525(0x1b7)]=_0x2b558d,this[_0x38f525(0x16c)](),this[_0x38f525(0x2aa)]());}[_0x5ccdac(0x2aa)](){const _0x387d3a=_0x5ccdac;this[_0x387d3a(0x2e4)](this[_0x387d3a(0x232)][_0x387d3a(0x2e6)][_0x387d3a(0x107)](_0xb781b0(()=>{const _0x1165f3=_0x387d3a,_0x704b2b=this[_0x1165f3(0x232)][_0x1165f3(0x11d)]();return _0x704b2b?this[_0x1165f3(0x258)][_0x1165f3(0x14f)](_0x704b2b[_0x1165f3(0x2d9)]()):_0x430603(null);}),_0xb781b0(_0x4fb048=>_0x4fb048?_0x4fb048[_0x387d3a(0x2a6)]:_0x430603(_0x24642c[_0x387d3a(0x10e)])))[_0x387d3a(0x1fd)](_0x4af079=>{const _0x383e5c=_0x387d3a;this['_status$'][_0x383e5c(0x19b)](_0x4af079);}));}[_0x5ccdac(0x16c)](){const _0x3b40f0=_0x5ccdac;this[_0x3b40f0(0x2e4)](this['_uiPartsService']['registerComponent'](_0x3af043[_0x3b40f0(0x29a)],()=>_0x3af94b(Ki({'status$':this['_status$']['asObservable']()}),this[_0x3b40f0(0x165)])));}};te=Gi([Q(0x0,_0xb0b851),Q(0x1,_0x5d30c5(_0x1594b9)),Q(0x2,_0x5d30c5(_0x2454ce)),Q(0x3,_0x4d441f)],te);function Ki(_0x2bab61){const {status$:_0x1ecd66}=_0x2bab61;return function(){return _0x20c2d2(Vi,{'status$':_0x1ecd66});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x24c3ae,_0x16bd24,_0x335cae,_0x40f52d)=>{const _0x3de8c4=_0x5ccdac;for(var _0x1f3c0d=_0x40f52d>0x1?void 0x0:_0x40f52d?zi(_0x16bd24,_0x335cae):_0x16bd24,_0x4b142f=_0x24c3ae[_0x3de8c4(0x1da)]-0x1,_0xd5502d;_0x4b142f>=0x0;_0x4b142f--)(_0xd5502d=_0x24c3ae[_0x4b142f])&&(_0x1f3c0d=_0xd5502d(_0x1f3c0d)||_0x1f3c0d);return _0x1f3c0d;},B=(_0x597d41,_0x192c60)=>(_0x527827,_0xed444a)=>_0x192c60(_0x527827,_0xed444a,_0x597d41);let se=class extends _0x511293{constructor(_0x2fc4f3,_0x19408b,_0x47ae88,_0x1d4366,_0x3d4a74,_0x135c74){const _0x1adf67=_0x5ccdac;super(),this[_0x1adf67(0x282)]=_0x2fc4f3,this[_0x1adf67(0x168)]=_0x19408b,this[_0x1adf67(0x28d)]=_0x47ae88,this[_0x1adf67(0x18d)]=_0x1d4366,this[_0x1adf67(0x20f)]=_0x3d4a74,this[_0x1adf67(0x16b)]=_0x135c74,this[_0x1adf67(0x1ac)](),this[_0x1adf67(0x1c1)]();}['_setupBeforeClosingHandler'](){const _0x18837a=_0x5ccdac;this[_0x18837a(0x2e4)](this['_beforeCloseService'][_0x18837a(0x18c)](()=>{const _0x13c1c8=_0x18837a;if(this[_0x13c1c8(0x168)][_0x13c1c8(0x142)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x5ccdac(0x1c1)](){const _0x43db35=_0x5ccdac;this[_0x43db35(0x2e4)](this['_collaborationUIEventService']['event$']['subscribe'](_0x2783fc=>{const _0x16292d=_0x43db35;_0x2783fc['id']===_0x1481ad[_0x16292d(0x26f)]&&this[_0x16292d(0x18d)][_0x16292d(0x24d)]({'type':_0x18f4ec[_0x16292d(0x122)],'content':this[_0x16292d(0x16b)]['t'](_0x16292d(0x216))}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x284)]&&this[_0x16292d(0x18d)][_0x16292d(0x24d)]({'type':_0x18f4ec['Warning'],'content':this['_localeService']['t'](_0x16292d(0x2e2))}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x22f)]&&this[_0x16292d(0x20f)]['show']({'title':this[_0x16292d(0x16b)]['t'](_0x16292d(0xeb)),'content':this[_0x16292d(0x16b)]['t'](_0x16292d(0x17a)),'type':_0x16292d(0x135),'duration':0x0}),_0x2783fc['id']===_0x1481ad['CONFLICT']&&this[_0x16292d(0x18d)][_0x16292d(0x24d)]({'type':_0x18f4ec[_0x16292d(0x285)],'content':this['_localeService']['t'](_0x16292d(0x2e2))+'('+_0x2783fc[_0x16292d(0x28c)]+')'}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x2bb)]&&this[_0x16292d(0x18d)]['show']({'type':_0x18f4ec[_0x16292d(0x122)],'content':this[_0x16292d(0x16b)]['t'](_0x2783fc[_0x16292d(0x28c)]||'')}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x15b)]&&this[_0x16292d(0x18d)][_0x16292d(0x24d)]({'type':_0x18f4ec[_0x16292d(0x122)],'content':this[_0x16292d(0x16b)]['t']('session.will-retry')}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x186)]&&this['_messageService'][_0x16292d(0x24d)]({'type':_0x18f4ec[_0x16292d(0x285)],'content':this[_0x16292d(0x16b)]['t'](_0x16292d(0xd9))}),_0x2783fc['id']===_0x1481ad[_0x16292d(0x20c)]&&this[_0x16292d(0x18d)][_0x16292d(0x24d)]({'type':_0x18f4ec[_0x16292d(0x285)],'content':this[_0x16292d(0x16b)]['t'](_0x16292d(0x2b5))});}));}};se=Ji([B(0x0,_0x50d1d5),B(0x1,_0x820aa4),B(0x2,_0x5d30c5(_0x16f682)),B(0x3,_0x23f879),B(0x4,_0x5267e1),B(0x5,_0x5d30c5(_0x3f7747))],se);const Zi=_0x5ccdac(0x1ff),et={},Ut=_0x52e467(_0x5ccdac(0x27f));var Qi=Object[_0x5ccdac(0x16f)],qi=(_0x1fc05e,_0x258b73,_0x14c357,_0x25f41e)=>{for(var _0x5d1a5c=_0x25f41e>0x1?void 0x0:_0x25f41e?Qi(_0x258b73,_0x14c357):_0x258b73,_0x5536b1=_0x1fc05e['length']-0x1,_0x435eb0;_0x5536b1>=0x0;_0x5536b1--)(_0x435eb0=_0x1fc05e[_0x5536b1])&&(_0x5d1a5c=_0x435eb0(_0x5d1a5c)||_0x5d1a5c);return _0x5d1a5c;},G=(_0x44e818,_0x398cd1)=>(_0x52d35b,_0x5def09)=>_0x398cd1(_0x52d35b,_0x5def09,_0x44e818);let ie=class extends _0x1d3bed{constructor(_0x68cd44,_0x2a16e8,_0x539a12,_0x38b9e5,_0xcf2d0a){const _0x558890=_0x5ccdac;super(),this['_urlService']=_0x68cd44,this[_0x558890(0x109)]=_0x2a16e8,this['_commandService']=_0x539a12,this[_0x558890(0x2db)]=_0x38b9e5,_0xcf2d0a?_0xcf2d0a==null||_0xcf2d0a[_0x558890(0x17f)]()[_0x558890(0x1ef)](()=>this[_0x558890(0x2c4)]()):(this[_0x558890(0x109)][_0x558890(0x238)]('[CollaborationDataLoaderController]',_0x558890(0x179)),this[_0x558890(0x2c4)]());}async[_0x5ccdac(0x2c4)](){const _0x430cd1=_0x5ccdac,_0x3d7ee7=this['_urlService'][_0x430cd1(0x22a)](_0x430cd1(0xd7)),_0x285ebb=this['_urlService'][_0x430cd1(0x22a)](_0x430cd1(0x1f6)),_0x106054=this[_0x430cd1(0x157)]['getParam'](_0x430cd1(0x22c));if(!_0x3d7ee7||!_0x285ebb){this[_0x430cd1(0x109)]['debug'](_0x430cd1(0x2d3),_0x430cd1(0x236));return;}const _0x2eca2a=await this[_0x430cd1(0x2db)][_0x430cd1(0x2cb)](_0x3d7ee7,Number(_0x285ebb),_0x106054);_0x2eca2a&&_0x2eca2a instanceof _0x49cb7d&&this['_setupSubUnitSync'](_0x2eca2a);}async['_setupSubUnitSync'](_0x3082f6){const _0x5b71a8=_0x5ccdac;await this[_0x5b71a8(0x19f)](_0x3082f6),_0x3082f6['activeSheet$'][_0x5b71a8(0x107)](_0xcffb89(this[_0x5b71a8(0x195)]))[_0x5b71a8(0x1fd)](_0xa8757c=>{_0xa8757c&&this['_updateURLWithCurrentState'](_0xa8757c);}),this[_0x5b71a8(0x157)][_0x5b71a8(0xe4)][_0x5b71a8(0x107)](_0xcffb89(this['dispose$']))[_0x5b71a8(0x1fd)](()=>this[_0x5b71a8(0x19f)](_0x3082f6));}[_0x5ccdac(0x261)](_0x130f55,_0x463a8a=!0x1){const _0x5c3427=_0x5ccdac,_0x4f5ddc=this['_urlService']['getParam'](_0x5c3427(0x22c));_0x130f55[_0x5c3427(0x2c3)]()!==_0x4f5ddc&&this[_0x5c3427(0x157)][_0x5c3427(0xfd)](_0x5c3427(0x22c),_0x130f55[_0x5c3427(0x2c3)](),_0x463a8a);}async[_0x5ccdac(0x19f)](_0x74c3f1){const _0x46e757=_0x5ccdac;var _0x3248e2;const _0x44e0e1=this[_0x46e757(0x157)][_0x46e757(0x22a)](_0x46e757(0x22c));if(!_0x44e0e1||!_0x74c3f1[_0x46e757(0x257)](_0x44e0e1)){const _0x12d5c1=_0x74c3f1[_0x46e757(0x104)]()[0x0],_0x2d9f13=_0x74c3f1['getSheetBySheetId'](_0x12d5c1);if(!_0x2d9f13)return;this[_0x46e757(0x261)](_0x2d9f13,!0x0),await this[_0x46e757(0x213)][_0x46e757(0x29d)](_0x223adf['id'],{'unitId':_0x74c3f1[_0x46e757(0x2d9)](),'subUnitId':_0x12d5c1});return;}((_0x3248e2=_0x74c3f1['getActiveSheet']())==null?void 0x0:_0x3248e2[_0x46e757(0x2c3)]())!==_0x44e0e1&&await this['_commandService'][_0x46e757(0x29d)](_0x223adf['id'],{'unitId':_0x74c3f1[_0x46e757(0x2d9)](),'subUnitId':_0x44e0e1});}};ie=qi([G(0x0,Ut),G(0x1,_0x4baf39),G(0x2,_0x58b9f6),G(0x3,_0x5d30c5(_0xb4f128)),G(0x4,_0x12fdaa(_0x539a03))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x1e5866,_0x5edfc7,_0x2fe5da,_0x32d703)=>{const _0x4b1d7e=_0x5ccdac;for(var _0x3fccc6=_0x32d703>0x1?void 0x0:_0x32d703?en(_0x5edfc7,_0x2fe5da):_0x5edfc7,_0x1759f4=_0x1e5866[_0x4b1d7e(0x1da)]-0x1,_0x3a302e;_0x1759f4>=0x0;_0x1759f4--)(_0x3a302e=_0x1e5866[_0x1759f4])&&(_0x3fccc6=_0x3a302e(_0x3fccc6)||_0x3fccc6);return _0x3fccc6;},pe=(_0x5d961a,_0x12d47c)=>(_0x22add4,_0x32360e)=>_0x12d47c(_0x22add4,_0x32360e,_0x5d961a);let ne=class{constructor(_0x404f19,_0x486fcd,_0x418d79){const _0x114c48=_0x5ccdac;this['_injector']=_0x404f19,this[_0x114c48(0x10b)]=_0x486fcd,this[_0x114c48(0x112)]=_0x418d79;}[_0x5ccdac(0x291)](_0x454da1){const _0x504042=_0x5ccdac;this[_0x504042(0x181)](_0x454da1),this[_0x504042(0x20e)](_0x454da1);}[_0x5ccdac(0x149)](_0x5a44d6){const _0x248339=_0x5ccdac,{unitID:_0x597b23}=_0x5a44d6,_0x194d3b=this[_0x248339(0x112)]['getRenderById'](_0x597b23)['with'](_0x309075),{redoCache:_0x13bf10}=_0x194d3b[_0x248339(0x1b6)]();if(_0x13bf10[_0x248339(0x1da)]===0x0)return _0x5a44d6;let _0x305fe9=_0x453a5f[_0x248339(0x2af)](_0x5a44d6[_0x248339(0x201)][0x0]);for(let _0xd2db5c=0x0;_0xd2db5c<_0x13bf10[_0x248339(0x1da)];_0xd2db5c++){const _0x19511d={'id':'doc.mutation.rich-text-editing','params':{..._0x13bf10[_0xd2db5c]}},_0x5732ec=this[_0x248339(0x10b)][_0x248339(0x12b)](_0x305fe9,_0x19511d,!0x1);if(_0x4578d1(_0x5732ec))throw _0x5732ec[_0x248339(0x135)];_0x305fe9=_0x5732ec[_0x248339(0x29c)];}return{..._0x453a5f[_0x248339(0x2af)](_0x5a44d6),'mutations':[_0x305fe9]};}[_0x5ccdac(0x181)](_0x2e2205){const _0x4add46=_0x5ccdac,{unitID:_0x4fe205}=_0x2e2205,_0x145f1b=this['_renderManagerService'][_0x4add46(0x280)](_0x4fe205)[_0x4add46(0x1d0)](_0x309075),{undoCache:_0x3d9ddc,redoCache:_0x3db2ae}=_0x145f1b[_0x4add46(0x1b6)]();if(_0x3d9ddc[_0x4add46(0x1da)]===0x0||_0x3db2ae[_0x4add46(0x1da)]===0x0)return;const _0x54dd13=[],_0x532163=[];let _0x93aa27=_0x453a5f[_0x4add46(0x2af)](_0x2e2205['mutations'][0x0]),_0x1eef30=_0x453a5f['deepClone'](_0x2e2205[_0x4add46(0x201)][0x0]);for(let _0x28d08d=_0x3d9ddc[_0x4add46(0x1da)]-0x1;_0x28d08d>=0x0;_0x28d08d--){const _0x2aff8e={'id':'doc.mutation.rich-text-editing','params':{..._0x3d9ddc[_0x28d08d]}},_0x34b9ff={'id':_0x4add46(0x175),'params':{..._0x3db2ae[_0x28d08d]}},_0xdecdd4=this[_0x4add46(0x10b)][_0x4add46(0x12b)](_0x93aa27,_0x2aff8e,!0x1),_0x3d76c6=this[_0x4add46(0x10b)][_0x4add46(0x12b)](_0x1eef30,_0x34b9ff,!0x1);if(_0x4578d1(_0xdecdd4))throw _0xdecdd4[_0x4add46(0x135)];if(_0x4578d1(_0x3d76c6))throw _0x3d76c6[_0x4add46(0x135)];_0x54dd13[_0x4add46(0x132)](_0xdecdd4[_0x4add46(0x208)][_0x4add46(0x2d7)]),_0x532163['unshift'](_0x3d76c6[_0x4add46(0x208)]['params']),_0x93aa27=_0xdecdd4[_0x4add46(0x29c)],_0x1eef30=_0x3d76c6[_0x4add46(0x29c)];}_0x145f1b[_0x4add46(0x10d)]({'undoCache':_0x54dd13,'redoCache':_0x532163});}[_0x5ccdac(0x20e)](_0x3a76de){const _0x18b04f=_0x5ccdac,{unitID:_0x29a5bb}=_0x3a76de,_0x3295ec=this[_0x18b04f(0x112)][_0x18b04f(0x280)](_0x29a5bb)[_0x18b04f(0x1d0)](_0x309075),_0x2f29f5=_0x3295ec[_0x18b04f(0x26b)]();if(_0x2f29f5==null)return;const _0xf2ec50=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3a76de[_0x18b04f(0x15c)],'actions':null,'textRanges':[_0x2f29f5]}}],_0x42c9ff=this['_transformService']['transformMutationsWithChangeset'](_0x3a76de,_0xf2ec50);if(!_0x576e4b(_0x42c9ff))throw _0x42c9ff[_0x18b04f(0x135)];const _0x3aec90=_0x42c9ff[_0x18b04f(0x208)][0x0]['params']['textRanges'];Array[_0x18b04f(0x2da)](_0x3aec90)&&_0x3aec90[_0x18b04f(0x1da)]&&_0x3295ec[_0x18b04f(0x133)](_0x3aec90[0x0]);}};ne=tn([pe(0x0,_0x5d30c5(_0x1594b9)),pe(0x1,_0x122f43),pe(0x2,_0x57e040)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x3c679a,_0x72469a,_0x546fc3,_0xafb939)=>{const _0x4a43a6=_0x5ccdac;for(var _0x30d5ca=_0xafb939>0x1?void 0x0:_0xafb939?sn(_0x72469a,_0x546fc3):_0x72469a,_0x20e461=_0x3c679a[_0x4a43a6(0x1da)]-0x1,_0x159733;_0x20e461>=0x0;_0x20e461--)(_0x159733=_0x3c679a[_0x20e461])&&(_0x30d5ca=_0x159733(_0x30d5ca)||_0x30d5ca);return _0x30d5ca;},Ce=(_0x5aeafa,_0x492fb1)=>(_0x41d5ba,_0x33ec5a)=>_0x492fb1(_0x41d5ba,_0x33ec5a,_0x5aeafa);let re=class{constructor(_0x3adf8c,_0x748c80,_0x16f5ec){const _0x3b1752=_0x5ccdac;this[_0x3b1752(0x165)]=_0x3adf8c,this[_0x3b1752(0x10b)]=_0x748c80,this['_docStateChangeManagerService']=_0x16f5ec;}[_0x5ccdac(0x1c5)](_0x317aa7){const _0x3c1ccc=_0x5ccdac;this[_0x3c1ccc(0x287)](_0x317aa7);}['transformRemoteChangeset'](_0x42cbe0){const _0x3d6007=_0x5ccdac,{unitID:_0x39d984}=_0x42cbe0,{collaboration:_0x1179c5}=this['_docStateChangeManagerService'][_0x3d6007(0x166)](_0x39d984);if(_0x1179c5[_0x3d6007(0x1da)]===0x0)return _0x42cbe0;let _0x278a4a=_0x453a5f[_0x3d6007(0x2af)](_0x42cbe0[_0x3d6007(0x201)][0x0]);for(let _0x339870=0x0;_0x339870<_0x1179c5[_0x3d6007(0x1da)];_0x339870++){const _0x5b2fd9={'id':_0x3d6007(0x175),'params':{'unitId':_0x1179c5[_0x339870][_0x3d6007(0x207)],..._0x1179c5[_0x339870][_0x3d6007(0x110)]}},_0x346794=this[_0x3d6007(0x10b)][_0x3d6007(0x12b)](_0x278a4a,_0x5b2fd9,!0x1);if(_0x4578d1(_0x346794))throw _0x346794[_0x3d6007(0x135)];_0x278a4a=_0x346794[_0x3d6007(0x29c)];}return{..._0x453a5f[_0x3d6007(0x2af)](_0x42cbe0),'mutations':[_0x278a4a]};}[_0x5ccdac(0x287)](_0x55699a){const _0x58bd79=_0x5ccdac,{unitID:_0x3d0cdf}=_0x55699a,{history:_0x3a5116,collaboration:_0x4f65e4}=this[_0x58bd79(0x1cd)]['getStateCache'](_0x3d0cdf);if(_0x3a5116[_0x58bd79(0x1da)]===0x0&&_0x4f65e4[_0x58bd79(0x1da)]===0x0)return;const _0x51b0be=[],_0x108559=[];let _0x7e4b69=_0x453a5f[_0x58bd79(0x2af)](_0x55699a[_0x58bd79(0x201)][0x0]),_0x5a0389=_0x453a5f['deepClone'](_0x55699a[_0x58bd79(0x201)][0x0]);for(let _0x3c2a7b=_0x3a5116[_0x58bd79(0x1da)]-0x1;_0x3c2a7b>=0x0;_0x3c2a7b--){const _0x519edc={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3a5116[_0x3c2a7b][_0x58bd79(0x207)],..._0x3a5116[_0x3c2a7b][_0x58bd79(0x170)]}},_0x35842f={'id':_0x58bd79(0x175),'params':{'unitId':_0x3a5116[_0x3c2a7b][_0x58bd79(0x207)],..._0x3a5116[_0x3c2a7b][_0x58bd79(0x110)]}},_0x4dbf87=this[_0x58bd79(0x10b)][_0x58bd79(0x12b)](_0x7e4b69,_0x519edc,!0x1),_0x99521a=this[_0x58bd79(0x10b)]['transformMutation'](_0x5a0389,_0x35842f,!0x1);if(_0x4578d1(_0x4dbf87))throw _0x4dbf87[_0x58bd79(0x135)];if(_0x4578d1(_0x99521a))throw _0x99521a[_0x58bd79(0x135)];_0x51b0be[_0x58bd79(0x132)]({..._0x3a5116[_0x3c2a7b],'undoState':_0x4dbf87[_0x58bd79(0x208)]['params'],'redoState':_0x99521a[_0x58bd79(0x208)][_0x58bd79(0x2d7)]}),_0x7e4b69=_0x4dbf87[_0x58bd79(0x29c)],_0x5a0389=_0x99521a[_0x58bd79(0x29c)];}_0x7e4b69=_0x453a5f[_0x58bd79(0x2af)](_0x55699a[_0x58bd79(0x201)][0x0]),_0x5a0389=_0x453a5f[_0x58bd79(0x2af)](_0x55699a[_0x58bd79(0x201)][0x0]);for(let _0x40c0a5=_0x4f65e4[_0x58bd79(0x1da)]-0x1;_0x40c0a5>=0x0;_0x40c0a5--){const _0x1bccdb={'id':_0x58bd79(0x175),'params':{'unitId':_0x4f65e4[_0x40c0a5]['unitId'],..._0x4f65e4[_0x40c0a5][_0x58bd79(0x170)]}},_0x23c848={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4f65e4[_0x40c0a5][_0x58bd79(0x207)],..._0x4f65e4[_0x40c0a5]['redoState']}},_0x55baa0=this[_0x58bd79(0x10b)][_0x58bd79(0x12b)](_0x7e4b69,_0x1bccdb,!0x1),_0xfbe537=this[_0x58bd79(0x10b)][_0x58bd79(0x12b)](_0x5a0389,_0x23c848,!0x1);if(_0x4578d1(_0x55baa0))throw _0x55baa0[_0x58bd79(0x135)];if(_0x4578d1(_0xfbe537))throw _0xfbe537[_0x58bd79(0x135)];_0x108559[_0x58bd79(0x132)]({..._0x4f65e4[_0x40c0a5],'undoState':_0x55baa0['m2Prime'][_0x58bd79(0x2d7)],'redoState':_0xfbe537['m2Prime']['params']}),_0x7e4b69=_0x55baa0['m1Prime'],_0x5a0389=_0xfbe537[_0x58bd79(0x29c)];}this[_0x58bd79(0x1cd)][_0x58bd79(0x298)](_0x3d0cdf,{'history':_0x51b0be,'collaboration':_0x108559});}};re=nn([Ce(0x0,_0x5d30c5(_0x1594b9)),Ce(0x1,_0x122f43),Ce(0x2,_0x5d30c5(_0x56f7e9))],re);var rn=Object[_0x5ccdac(0x16f)],on=(_0x31d3f2,_0x1a8e6d,_0x7ca2b2,_0x5d7dfb)=>{const _0x36889e=_0x5ccdac;for(var _0x454f63=_0x5d7dfb>0x1?void 0x0:_0x5d7dfb?rn(_0x1a8e6d,_0x7ca2b2):_0x1a8e6d,_0x4e0b69=_0x31d3f2[_0x36889e(0x1da)]-0x1,_0x38c7bc;_0x4e0b69>=0x0;_0x4e0b69--)(_0x38c7bc=_0x31d3f2[_0x4e0b69])&&(_0x454f63=_0x38c7bc(_0x454f63)||_0x454f63);return _0x454f63;},tt=(_0x5c4b20,_0x598170)=>(_0x508afb,_0x529436)=>_0x598170(_0x508afb,_0x529436,_0x5c4b20);let oe=class{constructor(_0x365692,_0x182949){const _0x32d44c=_0x5ccdac;this[_0x32d44c(0x165)]=_0x365692,this[_0x32d44c(0x10b)]=_0x182949;}['transformSelections'](_0x4302be){const _0x5a215c=_0x5ccdac;var _0x5b98d0;const _0x44e8dd=this[_0x5a215c(0x165)][_0x5a215c(0x218)](_0x1cdd1e),_0x271dce=(_0x5b98d0=_0x44e8dd['getDocRanges']())!=null?_0x5b98d0:[];if(_0x271dce['length']===0x0)return;const _0x33cca3=_0x4302be['unitID'],_0xc7e52a=[{'id':_0x5a215c(0x175),'params':{'unitId':_0x33cca3,'actions':null,'textRanges':_0x271dce}}],_0x4a50f6=this[_0x5a215c(0x10b)][_0x5a215c(0x279)](_0x4302be,_0xc7e52a);if(!_0x576e4b(_0x4a50f6))throw _0x4a50f6[_0x5a215c(0x135)];const _0x4e986a=_0x4a50f6['m2Prime'][0x0]['params'][_0x5a215c(0x1fa)];Array[_0x5a215c(0x2da)](_0x4e986a)&&_0x4e986a['length']&&_0x44e8dd['replaceDocRanges'](_0x4e986a,{'unitId':_0x33cca3,'subUnitId':_0x33cca3},!0x1);}};function _0x709d(_0x3dbbe9,_0x45701c){const _0x4b4c0e=_0x4b4c();return _0x709d=function(_0x709d67,_0x7300d7){_0x709d67=_0x709d67-0xd7;let _0x4f6cea=_0x4b4c0e[_0x709d67];return _0x4f6cea;},_0x709d(_0x3dbbe9,_0x45701c);}oe=on([tt(0x0,_0x5d30c5(_0x1594b9)),tt(0x1,_0x122f43)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x1fc5ba,_0x5ac94c,_0xfb12ff,_0x2f8104)=>{const _0x4dd14a=_0x5ccdac;for(var _0x51020c=_0x2f8104>0x1?void 0x0:_0x2f8104?an(_0x5ac94c,_0xfb12ff):_0x5ac94c,_0x206b79=_0x1fc5ba[_0x4dd14a(0x1da)]-0x1,_0x804ba6;_0x206b79>=0x0;_0x206b79--)(_0x804ba6=_0x1fc5ba[_0x206b79])&&(_0x51020c=_0x804ba6(_0x51020c)||_0x51020c);return _0x51020c;},U=(_0x5361aa,_0x3f76cf)=>(_0x39ef90,_0x39662e)=>_0x3f76cf(_0x39ef90,_0x39662e,_0x5361aa);let ae=class extends _0x511293{constructor(_0x321212,_0x44b74a,_0x514bb0,_0x6686a,_0x1cbb06,_0x1fa516,_0x380533,_0xe7a6c4){const _0x31897a=_0x5ccdac;super(),_(this,_0x31897a(0x222),new _0x2cc9b0(_0x24642c[_0x31897a(0x10e)])),(this[_0x31897a(0x1cd)]=_0x321212,this[_0x31897a(0x258)]=_0x44b74a,this[_0x31897a(0x24a)]=_0x514bb0,this[_0x31897a(0x27e)]=_0x6686a,this[_0x31897a(0x100)]=_0x1cbb06,this[_0x31897a(0x10a)]=_0x1fa516,this[_0x31897a(0x18d)]=_0x380533,this[_0x31897a(0x16b)]=_0xe7a6c4,this['_initEntityListener']());}[_0x5ccdac(0x2b9)](){const _0x26641e=_0x5ccdac;this[_0x26641e(0x2e4)](this[_0x26641e(0x258)][_0x26641e(0x129)][_0x26641e(0x1fd)](_0x1d1f40=>{const _0x1e1a50=_0x26641e,_0x3486ef=this[_0x1e1a50(0x1cd)][_0x1e1a50(0x235)][_0x1e1a50(0x1fd)](_0x14d335=>{const _0x22b8c6=_0x1e1a50;if(_0x14d335==null)return;const {unitId:_0x359c93,redoState:_0x207d91,commandId:_0x4dc61b}=_0x14d335;if(_0x359c93!==_0x1d1f40[_0x22b8c6(0x15c)])return;const _0x2c51a8={'id':_0x4dc61b,'type':_0x1af6f4[_0x22b8c6(0x17e)],'params':{'unitId':_0x359c93,'actions':_0x207d91[_0x22b8c6(0x262)],'textRanges':null}};_0x1d1f40[_0x22b8c6(0x1e6)](_0x2c51a8);});if(_0x1d1f40[_0x1e1a50(0x2e4)](_0x3486ef),_0x1d1f40 instanceof _0x5880c6){const _0x1d2195={'onTransformIME':_0xa597f2=>this[_0x1e1a50(0x24a)][_0x1e1a50(0x291)](_0xa597f2),'onTransformState':_0x3d934d=>this['_docTransformStateCacheService']['transformStateCache'](_0x3d934d),'onTransformSelections':_0x1a6220=>this[_0x1e1a50(0x100)][_0x1e1a50(0x1eb)](_0x1a6220),'onSyncEditingCollabCursor':_0x496b6e=>this[_0x1e1a50(0x10a)][_0x1e1a50(0x2b3)](_0x496b6e),'onTransformRemoteChangesetByIMECache':_0xac7a57=>this[_0x1e1a50(0x24a)]['transformRemoteChangeset'](_0xac7a57),'onTransformRemoteChangesetByStateCache':_0x6b3ec5=>this[_0x1e1a50(0x27e)][_0x1e1a50(0x149)](_0x6b3ec5)};_0x1d1f40['addHandlerCallback'](_0x1d2195);}}));}};ae=cn([U(0x0,_0x5d30c5(_0x56f7e9)),U(0x1,_0x5d30c5(_0x2454ce)),U(0x2,_0x5d30c5(ne)),U(0x3,_0x5d30c5(re)),U(0x4,_0x5d30c5(oe)),U(0x5,_0x5d30c5(He)),U(0x6,_0x23f879),U(0x7,_0x5d30c5(_0x3f7747))],ae);var ln=Object[_0x5ccdac(0x16f)],_n=(_0x221995,_0xec3cd1,_0x1fde43,_0x310087)=>{const _0x5188b3=_0x5ccdac;for(var _0x2f5d67=_0x310087>0x1?void 0x0:_0x310087?ln(_0xec3cd1,_0x1fde43):_0xec3cd1,_0x30e8b9=_0x221995[_0x5188b3(0x1da)]-0x1,_0x522b25;_0x30e8b9>=0x0;_0x30e8b9--)(_0x522b25=_0x221995[_0x30e8b9])&&(_0x2f5d67=_0x522b25(_0x2f5d67)||_0x2f5d67);return _0x2f5d67;},Ee=(_0x16f9b4,_0x551257)=>(_0x3cd23e,_0x1a306d)=>_0x551257(_0x3cd23e,_0x1a306d,_0x16f9b4);let Le=class extends _0x511293{constructor(_0x4aefd0,_0x1bd6fd,_0x5132a4){const _0x2f93ea=_0x5ccdac;super(),_(this,_0x2f93ea(0x1f2),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x2f93ea(0xe6),!0x1),(this[_0x2f93ea(0x11c)]=_0x4aefd0,this[_0x2f93ea(0x2d8)]=_0x1bd6fd,this[_0x2f93ea(0x154)]=_0x5132a4);}[_0x5ccdac(0x13d)](){const _0x51dbca=_0x5ccdac;this[_0x51dbca(0xe6)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x5ccdac(0x1c4)](){const _0x4a3f16=_0x5ccdac;this[_0x4a3f16(0x193)]()[_0x4a3f16(0x1ef)](()=>super[_0x4a3f16(0x1c4)]());}async[_0x5ccdac(0x2ae)](_0x4f7c62){const _0x39d175=_0x5ccdac;return this['_disabled']?null:this['_localStorageService'][_0x39d175(0x2b2)](_0x26b3eb(_0x4f7c62));}async[_0x5ccdac(0x1e3)](_0x21f328,_0x26e3ad){const _0x32038d=_0x5ccdac;return!!this[_0x32038d(0x2d8)][_0x32038d(0x2a5)](_0x21f328,_0x26e3ad);}[_0x5ccdac(0x2c8)](_0x21b040,_0x5c0f54,_0x19b0a8,_0x46d814){const _0x53b4a7=_0x5ccdac,_0x7ca975=this[_0x53b4a7(0x154)][_0x53b4a7(0x2c1)](_0x21b040);this[_0x53b4a7(0x1f2)][_0x53b4a7(0x11b)](_0x21b040,{'unitID':_0x21b040,'type':_0x5c0f54,'awaitingChangeset':_0x19b0a8,'mutations':_0x46d814,'rev':_0x7ca975}),this[_0x53b4a7(0x1fc)][_0x53b4a7(0x1d9)](_0x21b040)||this[_0x53b4a7(0x1b3)](_0x21b040);}[_0x5ccdac(0x1b3)](_0x34cac0){const _0x1fd02b=_0x5ccdac,_0x167650=this[_0x1fd02b(0x230)]();_0x167650===0x0?this[_0x1fd02b(0xf6)](_0x34cac0):this['_saveTaskMap']['set'](_0x34cac0,setTimeout(()=>this['_saveCache'](_0x34cac0),_0x167650));}[_0x5ccdac(0x230)](){var _0x286fe8;return(_0x286fe8=this['_configService']['getConfig'](_0x1b4490))!=null?_0x286fe8:_0x5506ed;}[_0x5ccdac(0xf6)](_0x557938){const _0x2aa934=_0x5ccdac,_0x223069=this[_0x2aa934(0x1fc)][_0x2aa934(0x218)](_0x557938);return _0x223069!==void 0x0&&window[_0x2aa934(0x185)](_0x223069),this[_0x2aa934(0x2d8)][_0x2aa934(0x2a5)](_0x26b3eb(_0x557938),this['_cachedData'][_0x2aa934(0x218)](_0x557938))[_0x2aa934(0x1ef)](()=>this[_0x2aa934(0x1fc)][_0x2aa934(0x2d2)](_0x557938));}async['exhaustSavingTask'](){const _0x456021=_0x5ccdac,_0x2cafa3=[];this[_0x456021(0x1fc)][_0x456021(0x28e)]((_0xcd4491,_0x4f8db9)=>{const _0x5b006d=_0x456021;window[_0x5b006d(0x185)](_0xcd4491),_0x2cafa3[_0x5b006d(0x275)](this[_0x5b006d(0xf6)](_0x4f8db9)[_0x5b006d(0x1ef)](()=>{const _0x5c1967=_0x5b006d;this[_0x5c1967(0x1fc)][_0x5c1967(0x2d2)](_0x4f8db9);}));}),await Promise[_0x456021(0x1a7)](_0x2cafa3);}};Le=_n([Ee(0x0,_0x518efb),Ee(0x1,_0x2c9f67),Ee(0x2,_0x5d30c5(_0x1d1977))],Le);class hn extends _0x1d3bed{constructor(){const _0x14ac74=_0x5ccdac;super(),_(this,'urlChange$'),this['urlChange$']=_0x57a91b(window,_0x14ac74(0x2b1))[_0x14ac74(0x107)](_0xcffb89(this['dispose$']),_0x467ca5(0x1),_0x1246df(void 0x0));}['setParam'](_0x997d90,_0x5103c1,_0x5401c3=!0x1){const _0x36ee28=_0x5ccdac,_0x52d091=new URL(window[_0x36ee28(0x209)][_0x36ee28(0x200)]);_0x52d091[_0x36ee28(0x27a)][_0x36ee28(0x11b)](_0x997d90,_0x5103c1),_0x5401c3?window[_0x36ee28(0x162)][_0x36ee28(0x108)]('','',_0x52d091[_0x36ee28(0x1bb)]()):window[_0x36ee28(0x162)]['pushState']('','',_0x52d091[_0x36ee28(0x1bb)]());}['removeParam'](_0x2a7151,_0x5e8b3e=!0x1){const _0x1475de=_0x5ccdac,_0x1ca23d=new URL(window[_0x1475de(0x209)][_0x1475de(0x200)]);_0x1ca23d['searchParams'][_0x1475de(0x2d2)](_0x2a7151),_0x5e8b3e?window[_0x1475de(0x162)][_0x1475de(0x108)]('','',_0x1ca23d[_0x1475de(0x1bb)]()):window[_0x1475de(0x162)][_0x1475de(0x2a1)]('','',_0x1ca23d[_0x1475de(0x1bb)]());}[_0x5ccdac(0x22a)](_0x5f43b8){const _0xfb5f7a=_0x5ccdac;var _0x379b50;return(_0x379b50=new URL(window[_0xfb5f7a(0x209)]['href'])['searchParams'][_0xfb5f7a(0x218)](_0x5f43b8))!=null?_0x379b50:void 0x0;}}var un=Object[_0x5ccdac(0x272)],dn=Object[_0x5ccdac(0x16f)],fn=(_0x3a6138,_0x3a7a89,_0x505fc5)=>_0x3a7a89 in _0x3a6138?un(_0x3a6138,_0x3a7a89,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x505fc5}):_0x3a6138[_0x3a7a89]=_0x505fc5,Sn=(_0x24f2cc,_0x3c2d18,_0x44af55,_0x562c54)=>{const _0x38d78f=_0x5ccdac;for(var _0x28ce66=_0x562c54>0x1?void 0x0:_0x562c54?dn(_0x3c2d18,_0x44af55):_0x3c2d18,_0x985c4a=_0x24f2cc[_0x38d78f(0x1da)]-0x1,_0x2119a3;_0x985c4a>=0x0;_0x985c4a--)(_0x2119a3=_0x24f2cc[_0x985c4a])&&(_0x28ce66=_0x2119a3(_0x28ce66)||_0x28ce66);return _0x28ce66;},Oe=(_0xa8f75e,_0x189aec)=>(_0x14fb40,_0x2a9213)=>_0x189aec(_0x14fb40,_0x2a9213,_0xa8f75e),mn=(_0x3a6ad5,_0x55b3d4,_0x48cfcd)=>fn(_0x3a6ad5,_0x55b3d4+'',_0x48cfcd);const In=_0x5ccdac(0x1f4);let Ae=class extends _0x216717{constructor(_0x3e1289=et,_0x108f4,_0x149ea2,_0x3a1439){const _0x514837=_0x5ccdac;super(),this[_0x514837(0x1b4)]=_0x3e1289,this[_0x514837(0x112)]=_0x108f4,this[_0x514837(0x165)]=_0x149ea2,this[_0x514837(0x11c)]=_0x3a1439;const {..._0x14b62d}=_0x301b16({},et,this['_config']);this['_configService']['setConfig'](Zi,_0x14b62d);}['onStarting'](){const _0x54d377=_0x5ccdac;this[_0x54d377(0xef)](),this[_0x54d377(0x14d)]();}[_0x5ccdac(0xec)](){this['_registerRenderDependencies']();}[_0x5ccdac(0xef)](){const _0x4fc2ee=_0x5ccdac;var _0x88798e;const _0x1d346c=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x12a1ce,{'useClass':_0x2c24e6}],[_0x820aa4,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x20c03b(this[_0x4fc2ee(0x165)],_0xb01ab3(_0x1d346c,(_0x88798e=this[_0x4fc2ee(0x1b4)])==null?void 0x0:_0x88798e[_0x4fc2ee(0x17c)]));}[_0x5ccdac(0x18b)](){const _0x577c4c=_0x5ccdac;this[_0x577c4c(0x2e4)](this['_renderManagerService'][_0x577c4c(0x2dc)](_0x5b953e[_0x577c4c(0x2c7)],[we])),this[_0x577c4c(0x2e4)](this['_renderManagerService'][_0x577c4c(0x2dc)](_0x5b953e[_0x577c4c(0x245)],[Pe]));}[_0x5ccdac(0x14d)](){const _0x1afb35=_0x5ccdac;_0x4ae927(this[_0x1afb35(0x165)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x1c7f38(_0x35335d),Oe(0x1,_0x57e040),Oe(0x2,_0x5d30c5(_0x1594b9)),Oe(0x3,_0x518efb)],Ae);var gn=Object[_0x5ccdac(0x16f)],vn=(_0x5afc3f,_0x2c4b51,_0x2d6c4e,_0x4fc549)=>{const _0xe43bf9=_0x5ccdac;for(var _0x57b5b6=_0x4fc549>0x1?void 0x0:_0x4fc549?gn(_0x2c4b51,_0x2d6c4e):_0x2c4b51,_0xd85d76=_0x5afc3f[_0xe43bf9(0x1da)]-0x1,_0x5496b1;_0xd85d76>=0x0;_0xd85d76--)(_0x5496b1=_0x5afc3f[_0xd85d76])&&(_0x57b5b6=_0x5496b1(_0x57b5b6)||_0x57b5b6);return _0x57b5b6;},K=(_0x203ce1,_0xd68cf3)=>(_0x277e51,_0x211004)=>_0xd68cf3(_0x277e51,_0x211004,_0x203ce1);let st=class extends _0x3592b9{constructor(_0x5e8047,_0x281e6d,_0x15a692,_0x3e80a6,_0x4cf36e){super(_0x5e8047,_0x281e6d,_0x15a692,_0x3e80a6,_0x4cf36e);}async[_0x5ccdac(0x164)](_0xcf5956){const _0x36b745=_0x5ccdac,_0x524adf=await this[_0x36b745(0x1e7)](),_0x358859=this[_0x36b745(0x147)](_0xcf5956,_0x524adf);return this[_0x36b745(0x22b)](_0x358859);}[_0x5ccdac(0x147)](_0x279364,_0x4a1056){const _0x33250f=_0x5ccdac,_0x59da28=typeof window>'u'?new URL(_0x279364):new URL(_0x279364,window[_0x33250f(0x209)][_0x33250f(0x26c)]);_0x59da28['searchParams'][_0x33250f(0x11b)]('sessionTicket',_0x4a1056);const _0x288b8a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x33250f(0x209)][_0x33250f(0x24f)]);return _0x288b8a[_0x33250f(0x218)](_0x33250f(0x2c2))&&_0x59da28['searchParams']['set'](_0x33250f(0x2c2),_0x288b8a[_0x33250f(0x218)](_0x33250f(0x2c2))),_0x59da28[_0x33250f(0x1bb)]();}async[_0x5ccdac(0x1e7)](){const _0x344155=_0x5ccdac;var _0x5e0985,_0x46c135,_0x3c022d;const _0x43a3e4=this[_0x344155(0x11c)][_0x344155(0xed)](_0x133280),_0x5ee8ad=(_0x5e0985=_0x43a3e4==null?void 0x0:_0x43a3e4[_0x344155(0x18a)])!=null?_0x5e0985:_0x5d4fcc;return(_0x3c022d=(_0x46c135=(await this['_httpService']['get'](_0x5ee8ad,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x46c135[_0x344155(0x180)])!=null?_0x3c022d:'';}};st=vn([K(0x0,_0x5d30c5(_0x1594b9)),K(0x1,_0x5d30c5(_0x40376b)),K(0x2,_0x518efb),K(0x3,_0x4baf39),K(0x4,_0x5f3e22)],st);const it=0x7530,nt=_0x5ccdac(0x148);class jn extends _0x511293{constructor(){const _0x36e027=_0x5ccdac;super(),_(this,_0x36e027(0x1a4),_0x4f31bd()),_(this,_0x36e027(0x1ca),new Set()),_(this,_0x36e027(0xd8),new Map()),_(this,_0x36e027(0x114),null),_(this,_0x36e027(0x1b8),new Map()),_(this,_0x36e027(0x2de),new Map()),this[_0x36e027(0x2c4)]();}[_0x5ccdac(0x1c4)](){const _0x47895e=_0x5ccdac;super['dispose'](),this[_0x47895e(0x1b8)][_0x47895e(0x28e)]((_0xdfa1fa,_0x5bbd08)=>this[_0x47895e(0x1e2)](_0x5bbd08)),this['_heartbeatTimer']&&window[_0x47895e(0x1db)](this[_0x47895e(0x114)]);}[_0x5ccdac(0x239)](_0x593baf){const _0x39415c=_0x5ccdac;return this[_0x39415c(0x139)](_0x593baf)[_0x39415c(0x107)](_0x24d254());}['editingUnit'](_0x4cbc46){const _0x2a216f=_0x5ccdac;this[_0x2a216f(0x1ca)]['size']===0x0&&this[_0x2a216f(0x2d6)](),this[_0x2a216f(0x1ca)][_0x2a216f(0xea)](_0x4cbc46),this[_0x2a216f(0x151)]({'type':0x0,'memberID':this[_0x2a216f(0x1a4)],'unitIDs':[_0x4cbc46],'isForwarded':!0x1});}[_0x5ccdac(0xe2)](_0x4cf3c5){const _0x7c9133=_0x5ccdac;this['_selfUnitIDs']['delete'](_0x4cf3c5),this[_0x7c9133(0x1ca)]['size']===0x0&&this[_0x7c9133(0x114)]&&window['clearInterval'](this[_0x7c9133(0x114)]);}[_0x5ccdac(0x2c4)](){const _0x4700c6=_0x5ccdac;this[_0x4700c6(0x2e4)](_0x1529d5(_0x57a91b(window,_0x4700c6(0x1bc))[_0x4700c6(0x1fd)](_0x479824=>{const _0x11ed8c=_0x4700c6;if(_0x479824[_0x11ed8c(0x190)]!==nt||!_0x479824[_0x11ed8c(0x2a8)])return;const _0x2db618=JSON['parse'](_0x479824[_0x11ed8c(0x2a8)]);this[_0x11ed8c(0x1e8)](_0x2db618);}))),window['addEventListener'](_0x4700c6(0x1f8),()=>this[_0x4700c6(0x151)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x4700c6(0x1ca)])}));}[_0x5ccdac(0x1e8)](_0x31cbf9){const _0x212064=_0x5ccdac;switch(_0x31cbf9[_0x212064(0x1f6)]){case 0x0:this['_handleJoinEvent'](_0x31cbf9);break;case 0x1:this['_handleLeaveEvent'](_0x31cbf9);break;case 0x2:this[_0x212064(0x15e)](_0x31cbf9);break;}}['_handleJoinEvent'](_0x55ecc7){const _0x132afb=_0x5ccdac,{unitIDs:_0x1c299e,memberID:_0x219703,isForwarded:_0x185c77}=_0x55ecc7;_0x1c299e[_0x132afb(0x28e)](_0x484410=>{const _0x397a24=_0x132afb;if(!_0x185c77&&this['_unitOnClients'][_0x397a24(0x1d9)](_0x484410)&&this[_0x397a24(0x139)](_0x484410)[_0x397a24(0x19b)](_0x206d42[_0x397a24(0x288)]),!this[_0x397a24(0xd8)][_0x397a24(0x1d9)](_0x484410)||!this['_unitOnClients']['get'](_0x484410)[_0x397a24(0x1d9)](_0x219703)){const _0x344b08=this[_0x397a24(0xd8)][_0x397a24(0x218)](_0x484410)||new Set();_0x344b08[_0x397a24(0xea)](_0x219703),this[_0x397a24(0xd8)][_0x397a24(0x11b)](_0x484410,_0x344b08),this['_scheduleClearOtherTimer'](_0x219703);}}),_0x185c77||this[_0x132afb(0x151)]({'type':0x0,'memberID':this[_0x132afb(0x1a4)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5ccdac(0x1f3)](_0x4f6e8c){const _0x135e42=_0x5ccdac;this[_0x135e42(0x1e2)](_0x4f6e8c);const _0x2bca9a=window[_0x135e42(0x19e)](()=>{const _0x3e5445=_0x135e42;this['_unitOnClients'][_0x3e5445(0x28e)](_0x380781=>{const _0x5d1093=_0x3e5445;_0x380781[_0x5d1093(0x2d2)](_0x4f6e8c);});},it*0x2);this[_0x135e42(0x1b8)]['set'](_0x4f6e8c,_0x2bca9a);}[_0x5ccdac(0x1e2)](_0x598fad){const _0x44667d=_0x5ccdac;if(this[_0x44667d(0x1b8)][_0x44667d(0x1d9)](_0x598fad)){const _0x3776f0=this['_clearOtherTimers'][_0x44667d(0x218)](_0x598fad);_0x3776f0&&window[_0x44667d(0x185)](_0x3776f0),this[_0x44667d(0x1b8)]['set'](_0x598fad,null);}}[_0x5ccdac(0x125)](_0x4eedef){const _0x1d9488=_0x5ccdac,{memberID:_0x2ba433,unitIDs:_0x347ff2}=_0x4eedef;_0x347ff2[_0x1d9488(0x28e)](_0x6ed052=>{const _0x45da39=_0x1d9488;var _0x42e880;const _0x6a47f0=this[_0x45da39(0xd8)]['get'](_0x6ed052);_0x6a47f0&&(_0x6a47f0[_0x45da39(0x2d2)](_0x2ba433),(_0x42e880=this[_0x45da39(0x139)](_0x6ed052))==null||_0x42e880[_0x45da39(0x19b)](_0x6a47f0[_0x45da39(0x221)]===0x0?_0x206d42[_0x45da39(0x2c0)]:_0x206d42['OTHER_CLIENTS_EDITING']));}),this[_0x1d9488(0x1e2)](_0x2ba433);}[_0x5ccdac(0x15e)](_0x73741b){const _0x5c1878=_0x5ccdac;this[_0x5c1878(0x1f3)](_0x73741b[_0x5c1878(0x21f)]);}['_send'](_0x4deb29){localStorage['setItem'](nt,JSON['stringify'](_0x4deb29));}[_0x5ccdac(0x2d6)](){const _0x5de371=_0x5ccdac;this['_heartbeatTimer']=window[_0x5de371(0x23a)](()=>{const _0x27c468=_0x5de371;this[_0x27c468(0x151)]({'type':0x2,'memberID':this[_0x27c468(0x1a4)]});},it);}[_0x5ccdac(0x139)](_0xa30cf6){const _0xc64a53=_0x5ccdac;return this['_unitStatus']['has'](_0xa30cf6)||this['_unitStatus']['set'](_0xa30cf6,new _0x2cc9b0(_0x206d42['NO_OTHER_CLIENTS_EDITING'])),this[_0xc64a53(0x2de)][_0xc64a53(0x218)](_0xa30cf6);}}var Mt=(_0x275a17=>(_0x275a17[_0x275a17[_0x5ccdac(0x2cf)]=0x0]='UNDEFINED',_0x275a17[_0x275a17['OK']=0x1]='OK',_0x275a17[_0x275a17[_0x5ccdac(0x20d)]=0x2]=_0x5ccdac(0x20d),_0x275a17[_0x275a17[_0x5ccdac(0x22f)]=0x3]=_0x5ccdac(0x22f),_0x275a17[_0x275a17[_0x5ccdac(0x13e)]=0x4]=_0x5ccdac(0x13e),_0x275a17[_0x275a17['UNAUTHENTICATED']=0x5]=_0x5ccdac(0x128),_0x275a17[_0x275a17['ALREADY_EXISTS']=0x6]=_0x5ccdac(0x2a9),_0x275a17[_0x275a17['INVALID_ARGUMENT']=0x7]=_0x5ccdac(0x241),_0x275a17[_0x275a17[_0x5ccdac(0x145)]=0x8]=_0x5ccdac(0x145),_0x275a17[_0x275a17[_0x5ccdac(0x234)]=0x9]=_0x5ccdac(0x234),_0x275a17[_0x275a17[_0x5ccdac(0x199)]=0xa]=_0x5ccdac(0x199),_0x275a17[_0x275a17[_0x5ccdac(0x1a6)]=0x1389]=_0x5ccdac(0x1a6),_0x275a17[_0x275a17[_0x5ccdac(0x24b)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x275a17[_0x275a17[_0x5ccdac(0x16d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x275a17[_0x275a17['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5ccdac(0x219),_0x275a17[_0x275a17[_0x5ccdac(0x191)]=0x1b59]=_0x5ccdac(0x191),_0x275a17[_0x275a17['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5ccdac(0xde),_0x275a17[_0x275a17[_0x5ccdac(0x2e8)]=0x1b5b]=_0x5ccdac(0x2e8),_0x275a17[_0x275a17[_0x5ccdac(0x278)]=0x1b5c]=_0x5ccdac(0x278),_0x275a17[_0x275a17[_0x5ccdac(0x25c)]=0x1b5d]='APPLY_DUPLICATED',_0x275a17[_0x275a17[_0x5ccdac(0x1dc)]=0x1f41]=_0x5ccdac(0x1dc),_0x275a17[_0x275a17[_0x5ccdac(0x161)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x275a17[_0x275a17[_0x5ccdac(0x189)]=0x232a]=_0x5ccdac(0x189),_0x275a17[_0x275a17[_0x5ccdac(0x290)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x275a17[_0x275a17[_0x5ccdac(0x177)]=0x232c]=_0x5ccdac(0x177),_0x275a17[_0x275a17[_0x5ccdac(0x273)]=0x232d]=_0x5ccdac(0x273),_0x275a17[_0x275a17['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x275a17[_0x275a17[_0x5ccdac(0x155)]=0x2712]=_0x5ccdac(0x155),_0x275a17[_0x275a17[_0x5ccdac(0x237)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x275a17[_0x275a17[_0x5ccdac(0x2a2)]=0x2714]=_0x5ccdac(0x2a2),_0x275a17[_0x275a17[_0x5ccdac(0x16e)]=0x271a]=_0x5ccdac(0x16e),_0x275a17[_0x275a17[_0x5ccdac(0x299)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x275a17[_0x275a17[_0x5ccdac(0x2ba)]=0x271c]=_0x5ccdac(0x2ba),_0x275a17[_0x275a17[_0x5ccdac(0x296)]=0x271d]=_0x5ccdac(0x296),_0x275a17[_0x275a17[_0x5ccdac(0xf2)]=0x271e]=_0x5ccdac(0xf2),_0x275a17[_0x275a17[_0x5ccdac(0x19d)]=0x271f]=_0x5ccdac(0x19d),_0x275a17[_0x275a17[_0x5ccdac(0x211)]=0x2af9]=_0x5ccdac(0x211),_0x275a17[_0x275a17[_0x5ccdac(0x27c)]=0x2ee1]=_0x5ccdac(0x27c),_0x275a17[_0x275a17[_0x5ccdac(0x28b)]=0x2ee2]=_0x5ccdac(0x28b),_0x275a17[_0x275a17[_0x5ccdac(0x1e9)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x275a17[_0x275a17[_0x5ccdac(0x1d6)]=0x2ee4]=_0x5ccdac(0x1d6),_0x275a17[_0x275a17[_0x5ccdac(0x18f)]=0x2ee5]=_0x5ccdac(0x18f),_0x275a17[_0x275a17['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5ccdac(0x1c3),_0x275a17[_0x275a17[_0x5ccdac(0x159)]=0x32ca]=_0x5ccdac(0x159),_0x275a17[_0x275a17[_0x5ccdac(0x23c)]=0x32cb]=_0x5ccdac(0x23c),_0x275a17[_0x275a17[_0x5ccdac(0x277)]=-0x1]=_0x5ccdac(0x277),_0x275a17))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x416e12,_0x492361,_0x5d6c20,_0x5029dc)=>{const _0xe4fb9d=_0x5ccdac;for(var _0x584c5b=_0x5029dc>0x1?void 0x0:_0x5029dc?pn(_0x492361,_0x5d6c20):_0x492361,_0x4b5f46=_0x416e12[_0xe4fb9d(0x1da)]-0x1,_0x198598;_0x4b5f46>=0x0;_0x4b5f46--)(_0x198598=_0x416e12[_0x4b5f46])&&(_0x584c5b=_0x198598(_0x584c5b)||_0x584c5b);return _0x584c5b;},be=(_0x1e617b,_0x15ff76)=>(_0x67855f,_0x1dd52e)=>_0x15ff76(_0x67855f,_0x1dd52e,_0x1e617b);let rt=class extends _0x511293{constructor(_0x5e925b,_0x5a253a,_0x3feee3){const _0x35b294=_0x5ccdac;super(),this[_0x35b294(0x265)]=_0x5e925b,this[_0x35b294(0x1cf)]=_0x5a253a,this[_0x35b294(0x11c)]=_0x3feee3;}async[_0x5ccdac(0x2b7)](_0x16bd12,_0x5182b9,_0x5448cb,..._0x94f673){const _0x3aae79=_0x5ccdac;var _0x179fdf,_0x1b7971,_0x2f31ad,_0x1fcd13;const _0x50aa87=this[_0x3aae79(0x265)][_0x3aae79(0x11d)]();if(!_0x50aa87)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x335d7b=((_0x179fdf=this['_configService']['getConfig'](_0x5d841d))!=null?_0x179fdf:_0x5cbe20)+'/'+_0x16bd12+_0x3aae79(0x251)+_0x5182b9,_0x2c45b6=new URL(window[_0x3aae79(0x209)][_0x3aae79(0x200)]),_0x4e9371={'scriptId':_0x16bd12,'runId':(_0x1b7971=_0x2c45b6[_0x3aae79(0x27a)][_0x3aae79(0x218)](_0x3aae79(0x2c2)))!=null?_0x1b7971:'','function':_0x5182b9,'unitId':_0x50aa87[_0x3aae79(0x2d9)](),'argsOfFunction':JSON[_0x3aae79(0x23b)](_0x94f673),'invokeId':(_0x2f31ad=_0x5448cb[_0x3aae79(0x11a)])!=null?_0x2f31ad:'','executionId':(_0x1fcd13=_0x5448cb[_0x3aae79(0x1de)])!=null?_0x1fcd13:''};try{const _0x395e77=await this[_0x3aae79(0x1cf)][_0x3aae79(0xe9)](_0x335d7b,{'body':_0x4e9371});return _0x395e77[_0x3aae79(0x226)]['error']&&_0x395e77['body']['error']['code']!==Mt['OK']?_0x3aae79(0x13b):_0x395e77[_0x3aae79(0x226)]['result'];}catch{return _0x3aae79(0x13b);}}};rt=Cn([be(0x0,_0xb0b851),be(0x1,_0x5d30c5(_0x40376b)),be(0x2,_0x518efb)],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 _0x2ea585=_0x3e72;(function(_0x5f4126,_0x2901b3){const _0x540c50=_0x3e72,_0x1dcf44=_0x5f4126();while(!![]){try{const _0x16c2b6=-parseInt(_0x540c50(0x1d2))/0x1+parseInt(_0x540c50(0x87))/0x2*(parseInt(_0x540c50(0xfa))/0x3)+-parseInt(_0x540c50(0x14d))/0x4+parseInt(_0x540c50(0x100))/0x5*(-parseInt(_0x540c50(0x167))/0x6)+parseInt(_0x540c50(0xa3))/0x7+parseInt(_0x540c50(0x66))/0x8+parseInt(_0x540c50(0x194))/0x9*(-parseInt(_0x540c50(0x1a3))/0xa);if(_0x16c2b6===_0x2901b3)break;else _0x1dcf44['push'](_0x1dcf44['shift']());}catch(_0x2b1cf7){_0x1dcf44['push'](_0x1dcf44['shift']());}}}(_0x5527,0xc8ecf));var $t=Object['defineProperty'],xt=(_0xbd50a3,_0x468259,_0x30e875)=>_0x468259 in _0xbd50a3?$t(_0xbd50a3,_0x468259,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30e875}):_0xbd50a3[_0x468259]=_0x30e875,_=(_0x3b25ea,_0x53882c,_0x2d07ce)=>xt(_0x3b25ea,typeof _0x53882c!='symbol'?_0x53882c+'':_0x53882c,_0x2d07ce);import{MemberService as _0x957363,SessionStatus as _0x1be906,CollaborationSessionService as _0x5db2de,CollaborationStatus as _0x22b9eb,CollaborationController as _0x2e8838,ILocalCacheService as _0xb2bb6a,CollaborationUIEventService as _0x146bdc,CollaborationUIEventId as _0x5bd043,DataLoaderService as _0x50b1e1,DocCollaborationEntity as _0x40f114,getLocalCacheKey as _0x3c28af,LOCAL_CACHE_INTERVAL as _0x4961b2,LOCAL_CACHE_INTERVAL_KEY as _0x4193b7,UniverCollaborationClientPlugin as _0x4d1be4,CollaborationSocketService as _0xa51a02,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x59eb65,DEFAULT_WS_SESSION_TICKET_URL as _0x446d5f,UnitStatus as _0x526cb6,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1ff146,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x114a7e}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3eac5d,Disposable as _0x40ba21,DOC_RANGE_TYPE as _0x352d7e,Inject as _0x1b5eae,Injector as _0x5bfc31,IUniverInstanceService as _0x59e8d0,ICommandService as _0xa8cbfd,debounce as _0x149e25,Rectangle as _0x235cd2,DisposableCollection as _0x451387,toDisposable as _0x4b2294,UniverInstanceType as _0x17d1c2,Tools as _0x45a912,COLORS as _0x152bdc,ColorKit as _0x247de3,ThemeService as _0x2cd56c,fromEventSubject as _0x5d7a9b,LocaleService as _0x2e50e5,createIdentifier as _0x44fa29,ILogService as _0x2ac48a,Optional as _0x17b026,Workbook as _0x197ab5,CommandType as _0x4a0f45,IConfigService as _0x15811c,ILocalStorageService as _0x46737b,DependentOn as _0x2fb02a,Plugin as _0x5650a0,merge as _0x1c6faa,registerDependencies as _0x146ce2,mergeOverrideWithDependencies as _0x3c03b0,touchDependencies as _0x1e96cf,generateRandomId as _0x38a20e}from'@univerjs/core';import{Shape as _0x347998,Rect as _0x31c455,getColor as _0x113774,RegularPolygon as _0x2ff387,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1e1258,Vector2 as _0x766b0c,SHEET_VIEWPORT_KEY as _0x5438bd,IRenderManagerService as _0x199ab1}from'@univerjs/engine-render';import{ISocketService as _0x50064a,WebSocketService as _0x5a68be,HTTPService as _0x1d3895}from'@univerjs/network';import{IDocClipboardService as _0x4193dd,NodePositionConvertToCursor as _0xb4cb7,NodePositionConvertToRectRange as _0x16fc13,TEXT_RANGE_LAYER_INDEX as _0x1bc18a,SetDocZoomRatioOperation as _0x65133c,DocIMEInputManagerService as _0x3b8c66,DocStateChangeManagerService as _0x1d23eb}from'@univerjs/docs-ui';import{IImageIoService as _0x457447}from'@univerjs/drawing';import{BehaviorSubject as _0x5d9fc3,debounceTime as _0x47d14f,takeUntil as _0x53da7d,Subject as _0x44b731,filter as _0x28c509,switchMap as _0x32c90e,merge as _0x1863bc,combineLatest as _0xa2467,of as _0x3b4356,fromEvent as _0xe04811,shareReplay as _0x3f6233,mapTo as _0x296ed6,distinctUntilChanged as _0x441853}from'rxjs';function _0x5527(){const _0x46ae63=['session.will-retry','add','_revisionService','_assignedColors','_lastPointer','_handleJoinEvent','defIds','docStateChange$','text','onPointerMove$','_univerInstanceService','includes','FromArray','_messageService','USER_NOT_INVITED_CODE','_cursorInfo$','univer-flex\x20univer-mr-2\x20univer-text-xl','setActiveRange','stringify','DeleteRangeMoveLeftCommandId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','executeCommand','currentColor','actions','InsertRangeMoveRightCommandId','map','_removeCollabCursors','collaboration-client.offline-data-not-saved','getUniverSheetInstance','_unitStatus','on-line-icon','from','xlink:href','APPLY_DUPLICATED','all','_uiPartsService','svg','_scheduleSaving','RECT','color','84369XNsViF','_initEvent','url(#off-line-icon_clip0_910_343)','_status$','_renderManagerService','1em','popstate','wsSessionTicketUrl','saveTaskMap','OTHER_CLIENT_EDITING','_scheduleClearOtherTimer','uni.network.url-service','transformByState','searchParams','_updateURLWithCurrentState','LICENSE_DISTRO_REJECTED','startRow','setItem','YUUMI_NO_CUBOID_FOR_QUESTION','SUBMIT_CHANGESET_TIMEOUT','SYNCED','init','yellow.400','entries','newValue','_heartbeatTimer','max','_collaborationUIEventService','_createSocketURL','_document','_cachedData','addObjects','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_handleLeaveEvent','Error','length','result','APPLY_REVISION_CONFILICT','textRanges','_collabCursorState$','subunit','_ensureSubject','name','CONFLICT','_updateLocalCursor','fillText','m1Prime','tag','OTHER_CLIENTS_EDITING','values','green.600','replaceState','flatMap','APPLY_PERMISSION_DENIED','permission.content','ticket','_cursorShapes','OnLineIcon','ranges','split','getOwnPropertySymbols','clearTimeout','unitID','M0\x200H16V16H0z','_sheetSkeletonManagerService','_transformPreviousActiveRange','onMouseMove','collab-client.tooltip.reconnect','_setupBeforeClosingHandler','arc','NO_OTHER_CLIENTS_EDITING','sheetId','_localeService','getMember','subscribe','_injector','next','_configService','jiqing.500','LICENSE_MAX_UNITS_EXCEEDED','pushState','USERS_LEAVE','column','InsertRowCommandId','doc.mutation.rich-text-editing','application/json','attrs','_collabSessionService','off-line-icon_clip0_910_343','_initEntityListener','set','displayName','EMAIL_HAS_BEEN_BOUND','_entityInit$','startColumn','_hideTimer','unshift','assignAColorForMemberID','PENDING','_backgroundColor','getActiveRange','APPLY_REJECT','override','prototype','transform','current','_handleHover','YUUMI_TABLE_NOT_FOUND_IN_UNIT','extend','cursorInfo','range','path','_colorIndex','translate(.97)','YUUMI_ALL_TABLES_IS_INVALID','YUUMI_SUBSCRIPTION_NOT_FOUND','white','getSheetBySheetId','_onRefRangeChange','_startSheetCollabCursor','href','sessionTicket','_onCursorUpdate','trim','_send','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_syncEditingCollabCursorService','focused$','_collaborationController','hasOwnProperty','bottom','TEXT','_context','SNAPSHOT_HAS_BEEN_REMOVED','UNRECOGNIZED','endRow','_docStateChangeManagerService','addHandlerCallback','_eventUnsubscribe','body','_transformService','getRenderById','icon','session.collaboration-timeout','onPointerLeave$','getUnitId','Unknown\x20user','history','collab-text-range-','event$','getMergeData','url(#on-line-icon_clip0_910_349)','_docClipboardService','call','0\x200\x2016\x2016','whenReady','_getSessionTicket','setInterval','INVALID_INVITE_CODE','_transformHistoryAndStateStack','show','transformIMECache','error','substring','setParam','get','setShapeProps','clipPath','backgroundColor','12139352dOqUQF','sheetID','_labelPosition','m2Prime','permission.title','deepClone','_disabled','invokeId','propertyIsEnumerable','_getSaveTimeout','_online','getCellPositionByOffset','editingUnit','AWAITING_WITH_PENDING','_cursor','defineProperty','getConfig','unsubscribe','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','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_instanceService','urlChange$','_hovered','forEach','_docTransformStateCacheService','then','asObservable','colorChannel1','_themeService','_initResize','roomMembers','subscribeEvent','exhaustSavingTask','2082044AvKVCh','beginPath','_refreshCollabCursors','parse','location','getValue','indexOf','_localStorageService','getCollabCursors$','_updateSubUnitFromURLParams','_unitOnClients','_dataLoaderService','undoState','unit','onPointerEnter$','_shapes','_refRangeService','_handleEvent','_httpService','_docSkeletonManagerService','_roomMembers$','PERMISSION_DENIED','getTypeOfUnitAdded$','_setupSubUnitSync','getCurrent','transformSelections','memberID','runOnServer','10608752GdxfYN','_cursors','_drawRectRange','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','has','YUUMI_AI_RUN_FAILED','findNodePositionByCharIndex','UNIVER_SHEET','onTransformChange$','WECHAT_HAS_BEEN_BOUND','_startDocCollabCursor','_getAnchorBounding','setUndoRedoMutationParamsCache','string','Failed','disposeWithMe','_toggleOffline','MOBILE_HAS_BEEN_BOUND','delete','black','INVITE_CODE_HAS_BEEN_UES','cursorInfo$','entityInit$','some','YUUMI_RATE_OVER_LIMIT','YUUMI_URL_COL_OUT_OF_RANGE','runId','_onCursorDelete','enableLocalCache','closePath','_hover','drawWith','_urlService','selections','blue.400','_anchorDot','contains','toString','moveTo','push','purple.300','transformMutationsWithChangeset','getSkeleton','setAlpha','fill','#FFF','onCommandExecuted','loadOfflineData','getCurrentRevOfUnit','_initStatusListener','_beforeCloseService','collaboration.single-unit.warning','YUUMI_ASYNCIO_CANCELLED','_render','_drawAnchor','_id','registerRenderModule','currentTheme$','INVALID_ARGUMENT','INVITE_CODE_ALREADY_BOUND','triggerDblclick','measureText','data','_textBubble','source','UPDATE_CURSOR','collabStatus.offline','DeleteRangeMoveUpCommandId','getUndoRedoMutationParamsCache','apply','off-line-icon','replaceDocRanges','LICENSE_IMPORT_SIZE_EXCEEDED','ACTIVE_UNIT_EVENT_CHANNEL','collab-rect-range-','clearInterval','OffLineIcon','url(#$1','_transformUndoRedoStack','_commandService','_color','RemoveColCommandId','_toggleOnline','min','div','YUUMI_UNABLE_LOAD_URL','collabCursorState$','3PnpLGb','unitId','LOGIN_FAILED','with','function','getTypeOfUnitDisposed$','25eBERyA','getMemberID','find','getOffsetConfig','...','_getSheetObject','NOT_FOUND','on-line-icon_clip0_910_349','evenodd','HEADER_MENU','_registerDependencies','dispose$','disposeUnit','transformRemoteChangeset','restore','onStarting','_saveCache','_scene','assign','isArray','OFFLINE','updateOfflineData','CONNECTOR_DATA_TOO_LARGE','_updateCollabCursors','debug','getActiveSheet','_initStatusComponent','_notificationService','none','_entities','_draw','onRendered','saveImage','getCollabEntity$','UNAUTHENTICATED','activeSheet$','sessionStatus$','VIEW_MAIN','className','getFocusedUnit','SOCKET_FAILED','_registerRenderDependencies','endColumn','_config','requireSession','registerRefRange','INVITE_CODE_REQUIRED','NOT_COLLAB','top','getUnitStatus$','key','SNAPSHOT_INVALID_SNAPSHOT','isEditing','_logService','_initDependencies','RemoveRowCommandId','UNDEFINED','getDocRanges','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_drawTextRange','concat','http://www.w3.org/2000/svg','eventID','_range','save','collaboration.closeRoom','_selfUnitIDs','selection','width','removeParam','row','_clearOtherTimers','getUnhiddenWorksheets','_localCacheService','Warning','_colorAssignService','fillStyle','3157244OXKxiN','redoState','_memberService','complete','height','_imageIoService','engine','search','collaboration-client-ui.config','_removeClearOtherTimer','MUTATION','resize','toRgbString','_anchor','_getMergeRange','addObject','_init','origin','onLocalMutation','generateRandomId','hide','type','rgba(255,\x20255,\x20255,\x200.01)','transformMutation','MoveRangeCommandId','mask','316278sLuFkL','JOIN_ROOM_FAILED','/run/','currentSkeleton$','pipe','subUnitId','ONLINE','_collabCursorController','getOwnPropertyDescriptor','getStateCache','round','lineTo','storage','UNIVER_DOC','getRelativeToViewportCoord','_docTransformSelectionsService','registerBeforeClose','unload','replace','CHANGESET_REVISION_CONFILICT','getSheetId','use','_handleHeartbeatEvent','PY_RUNTIME_SCRIPT_ERROR','defs','COMPLETION_FINISHED','SOCKET_FAILED_RETRY','InsertRangeMoveDownCommandId','imageSourceType','INTERNAL_ERROR','transformStateCache','makeDirty','size','_docTransformIMECacheService','mutations','children','code','_name','collabStatus.fetchMiss','post','startsWith','isActive','_initCommandExecutedListener','ENSURE_SNAPSHOT_EXECUTION','FETCH_MISS','2717667HOEmAV','dispose','_saveTaskMap','APPLY_NON_SEQUENTIAL_REVISION','collabStatus.conflict','hovered','InsertColCommandId','labelPosition','registerComponent','session.connection-failed','_session','createSocket','[CollaborationDataLoaderController]','params','getParam','70VDNwMg','send','idSuffix','getItem','_getScale','ALREADY_EXISTS','collab-text-anchor-'];_0x5527=function(){return _0x46ae63;};return _0x5527();}import{SetTextSelectionsOperation as _0x4e31f5,RichTextEditingMutation as _0x3ad2f3,DocSelectionManagerService as _0x232b51,DocSkeletonManagerService as _0x5c7684}from'@univerjs/docs';import{ITransformService as _0x24498d,CollaborationEvent as _0xebb8a8,isTransformMutationFailure as _0x1c5976,isTransformMutationsWithChangesetSuccess as _0x4089ae,RevisionService as _0x34be82,ISnapshotServerService as _0x1e4383}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x516427,serializeRangeWithSheet as _0x787795}from'@univerjs/engine-formula';import{RefRangeService as _0x36b3ee,SetSelectionsOperation as _0x966dbb,SheetsSelectionsService as _0x541779,EffectRefRangId as _0x2a823f,handleIRemoveRow as _0x5360f6,handleIRemoveCol as _0xe63233,handleMoveRange as _0xfb3f53,handleInsertRow as _0x86db8e,handleInsertRangeMoveRight as _0x275f0a,handleInsertRangeMoveDown as _0x29e20c,handleInsertCol as _0x27f750,handleDeleteRangeMoveUp as _0x5868c8,handleDeleteRangeMoveLeft as _0x259d6b,runRefRangeMutations as _0x491948,SetWorksheetActivateCommand as _0xe11ab0}from'@univerjs/sheets';import{map as _0x59c89c,filter as _0xbb8af8,throttleTime as _0x5f5a5d,takeUntil as _0xf15a92,switchMap as _0x443647}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4e0b83,getCoordByCell as _0x13748b,getSheetObject as _0xa2fb78}from'@univerjs/sheets-ui';import{jsx as _0x3f689d,jsxs as _0x44e5ef}from'react/jsx-runtime';import{useObservable as _0x445db2,useDependency as _0x3cc4e5,IUIPartsService as _0x1fe8e4,BuiltInUIPart as _0x1bab83,connectInjector as _0xb1d17d,IBeforeCloseService as _0x4cff3d,IMessageService as _0x334ab7,INotificationService as _0x526ec6}from'@univerjs/ui';import{Tooltip as _0xb08f3e,clsx as _0x1cf2f0,MessageType as _0x4fd420}from'@univerjs/design';import{forwardRef as _0x3459f8,useRef as _0x52d9ea,createElement as _0x59c871,useCallback as _0x357934}from'react';import{IRemoteInstanceService as _0xe94f31}from'@univerjs/rpc';var ci=Object[_0x2ea585(0x16f)],li=(_0x2e5904,_0x288e98,_0x1067d6,_0x5a1684)=>{const _0x1162ec=_0x2ea585;for(var _0xd7887f=_0x5a1684>0x1?void 0x0:_0x5a1684?ci(_0x288e98,_0x1067d6):_0x288e98,_0x4ce830=_0x2e5904[_0x1162ec(0x1f5)]-0x1,_0x5b36ee;_0x4ce830>=0x0;_0x4ce830--)(_0x5b36ee=_0x2e5904[_0x4ce830])&&(_0xd7887f=_0x5b36ee(_0xd7887f)||_0xd7887f);return _0xd7887f;},Je=(_0x19db16,_0x41978b)=>(_0x5dc68e,_0x35f5b3)=>_0x41978b(_0x5dc68e,_0x35f5b3,_0x19db16);let Ne=class extends _0x3eac5d{constructor(_0x7d118a,_0xd9f29a){const _0x13e0e0=_0x2ea585;super(),this[_0x13e0e0(0x26a)]=_0x7d118a,this[_0x13e0e0(0x152)]=_0xd9f29a,this[_0x13e0e0(0x15d)]();}['_init'](){const _0x199488=_0x2ea585,_0x358dcf=this;this[_0x199488(0xb2)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x5e6415=>{const _0x4c5ae4=_0x199488,_0x484bcb=await _0x358dcf['_imageIoService'][_0x4c5ae4(0x120)](_0x5e6415);return _0x484bcb?{'source':_0x484bcb[_0x4c5ae4(0xe3)],'imageSourceType':_0x484bcb[_0x4c5ae4(0x183)]}:null;}}));}};Ne=li([Je(0x0,_0x4193dd),Je(0x1,_0x457447)],Ne);const Ze=[_0x2ea585(0xcb),_0x2ea585(0x220),_0x2ea585(0x204),'red.300',_0x2ea585(0xc5),_0x2ea585(0x1e8)];class ke extends _0x40ba21{constructor(){const _0x2807ca=_0x2ea585;super(...arguments),_(this,_0x2807ca(0x1ad),new Map()),_(this,'_colorIndex',0x0);}[_0x2ea585(0x233)](_0x5c2d84){const _0x2f09a9=_0x2ea585;if(this[_0x2f09a9(0x1ad)][_0x2f09a9(0xa7)](_0x5c2d84))return this['_assignedColors']['get'](_0x5c2d84);const _0xbd9ff1=Ze[this[_0x2f09a9(0x242)]];return this[_0x2f09a9(0x242)]=(this[_0x2f09a9(0x242)]+0x1)%Ze[_0x2f09a9(0x1f5)],this['_assignedColors']['set'](_0x5c2d84,_0xbd9ff1),_0xbd9ff1;}}function Tt(_0x3275eb){const _0x5b37b7=_0x2ea585;let _0x3f4713='';for(const _0x5ef3ab of _0x3275eb){const {startOffset:_0x45435d,endOffset:_0x53492a,isActive:_0x4ed5c0,rangeType:_0x58534b,segmentId:_0x585529,segmentPage:_0x405fc1}=_0x5ef3ab;_0x3f4713[_0x5b37b7(0x1f5)]&&(_0x3f4713+=','),_0x3f4713+=_0x45435d+':'+_0x53492a+':'+(_0x4ed5c0?'1':'0')+':'+_0x58534b+':'+_0x585529+':'+_0x405fc1;}return _0x3f4713;}function _i(_0x59d9e1){const _0x15d2d7=_0x2ea585,_0x4e9789=_0x59d9e1['split'](','),_0x384eb6=[];for(const _0x2ea9c0 of _0x4e9789){const [_0x1b6b56,_0x49ad9f,_0x3a5939,_0x4c2596,_0x3553bb,_0x5566ec]=_0x2ea9c0[_0x15d2d7(0x20d)](':');_0x384eb6['push']({'startOffset':Number(_0x1b6b56),'endOffset':Number(_0x49ad9f),'collapsed':_0x1b6b56===_0x49ad9f,'isActive':_0x3a5939==='1','rangeType':_0x4c2596===_0x352d7e[_0x15d2d7(0x255)]?_0x352d7e[_0x15d2d7(0x255)]:_0x352d7e[_0x15d2d7(0x1d0)],'segmentId':typeof _0x3553bb==_0x15d2d7(0xb0)?String(_0x3553bb):'','segmentPage':Number(_0x5566ec!=null?_0x5566ec:-0x1)});}return _0x384eb6[_0x15d2d7(0xba)](_0x30e863=>_0x30e863[_0x15d2d7(0x190)])||(_0x384eb6[0x0]['isActive']=!0x0),_0x384eb6;}class He extends _0x3eac5d{constructor(){const _0x1ee2dc=_0x2ea585;super(...arguments),_(this,_0x1ee2dc(0x1f9),new _0x5d9fc3(null)),_(this,'collabCursorState$',this[_0x1ee2dc(0x1f9)]['asObservable']());}['syncEditingCollabCursor'](_0xd8e8e0){const _0x2ad15e=_0x2ea585,{unitID:_0x5456b5,memberID:_0x2a83b6,textRanges:_0x288ccf}=_0xd8e8e0,_0x4d1ba0=Tt(_0x288ccf);if(_0x4d1ba0==='')return;const _0x59bde3={'unitID':_0x5456b5,'memberID':_0x2a83b6,'selection':_0x4d1ba0};this[_0x2ad15e(0x1f9)][_0x2ad15e(0x21e)](_0x59bde3);}}var hi=Object[_0x2ea585(0x16f)],ui=(_0xef3796,_0x27ca45,_0x33c75f,_0x4de060)=>{const _0x1b24c1=_0x2ea585;for(var _0x1230be=_0x4de060>0x1?void 0x0:_0x4de060?hi(_0x27ca45,_0x33c75f):_0x27ca45,_0x5164dc=_0xef3796[_0x1b24c1(0x1f5)]-0x1,_0x5d9dfd;_0x5164dc>=0x0;_0x5164dc--)(_0x5d9dfd=_0xef3796[_0x5164dc])&&(_0x1230be=_0x5d9dfd(_0x1230be)||_0x1230be);return _0x1230be;},P=(_0xb9dfef,_0x1265e3)=>(_0x4c1f87,_0x17af07)=>_0x1265e3(_0x4c1f87,_0x17af07,_0xb9dfef);const di=0x12c,fi=0x64;let Ue=class extends _0x3eac5d{constructor(_0x55582c,_0x1bdca4,_0x38cdc5,_0x3c79da,_0x5649fc,_0x58e9ce,_0x75076e,_0x3e1bca,_0x179964){const _0x50e0ef=_0x2ea585;super(),_(this,_0x50e0ef(0x70),!0x1),_(this,_0x50e0ef(0x15d),!0x1),_(this,'_cursorInfo$',new _0x5d9fc3(new Map())),_(this,'cursorInfo$',this[_0x50e0ef(0x1b9)][_0x50e0ef(0x80)]()),_(this,_0x50e0ef(0x9b),new _0x5d9fc3([])),_(this,'roomMembers$',this[_0x50e0ef(0x9b)][_0x50e0ef(0x16b)](_0x47d14f(di))),_(this,'_updateLocalCursor',_0x149e25(_0x56d053=>{const _0xa2c12b=_0x50e0ef,_0x4d7b5c={'eventID':_0xebb8a8[_0xa2c12b(0xe4)],'data':{'unitID':this[_0xa2c12b(0x210)],'memberID':this[_0xa2c12b(0x19e)][_0xa2c12b(0x101)](),'selection':Tt(_0x56d053)}};this[_0xa2c12b(0x19e)][_0xa2c12b(0x1a4)](_0x4d7b5c,this['unitID']);},fi)),(this['unitID']=_0x55582c,this[_0x50e0ef(0x19e)]=_0x1bdca4,this[_0x50e0ef(0x21d)]=_0x38cdc5,this[_0x50e0ef(0x14b)]=_0x3c79da,this['_memberService']=_0x5649fc,this[_0x50e0ef(0x250)]=_0x58e9ce,this['_transformService']=_0x75076e,this[_0x50e0ef(0x1b4)]=_0x3e1bca,this[_0x50e0ef(0xf2)]=_0x179964);}get[_0x2ea585(0x23f)](){return this['_cursorInfo$']['getValue']();}get[_0x2ea585(0x84)](){const _0x4c7cbd=_0x2ea585;return this[_0x4c7cbd(0x9b)]['getValue']();}[_0x2ea585(0x195)](){const _0x5aa447=_0x2ea585;super[_0x5aa447(0x195)](),this[_0x5aa447(0x1b9)][_0x5aa447(0x21e)](new Map()),this[_0x5aa447(0x1b9)][_0x5aa447(0x150)](),this[_0x5aa447(0x9b)][_0x5aa447(0x21e)]([]),this[_0x5aa447(0x9b)][_0x5aa447(0x150)]();}[_0x2ea585(0x1e7)](){const _0x1d251a=_0x2ea585;this[_0x1d251a(0x15d)]||(this[_0x1d251a(0x15d)]=!0x0,this[_0x1d251a(0x19e)][_0x1d251a(0x124)]['pipe'](_0x53da7d(this[_0x1d251a(0x10b)]))[_0x1d251a(0x21c)](_0x4245ac=>{const _0xb9318d=_0x1d251a;_0x4245ac===_0x1be906['ONLINE']?this[_0xb9318d(0xf5)]():this['_toggleOffline']();}),this[_0x1d251a(0x19e)][_0x1d251a(0x267)]['pipe'](_0x53da7d(this[_0x1d251a(0x10b)]))[_0x1d251a(0x21c)](_0x50ac1d=>{const _0x25509b=_0x1d251a,_0x2770e8=_0x50ac1d[_0x25509b(0x13e)];_0x2770e8===_0xebb8a8[_0x25509b(0xe4)]&&this[_0x25509b(0x24c)](_0x50ac1d),_0x2770e8===_0xebb8a8[_0x25509b(0x223)]&&this['_onCursorDelete'](_0x50ac1d);}),this['disposeWithMe'](this[_0x1d251a(0xf2)][_0x1d251a(0xd1)](_0x5c361e=>{const _0x5bf1ab=_0x1d251a,_0x4f25ba=_0x5c361e[_0x5bf1ab(0x1a1)];_0x4f25ba!=null&&this[_0x5bf1ab(0x70)]&&_0x5c361e['id']===_0x4e31f5['id']&&_0x4f25ba[_0x5bf1ab(0xfb)]===this[_0x5bf1ab(0x210)]&&_0x4f25ba[_0x5bf1ab(0x134)]===!0x1&&_0x4f25ba['ranges']['length']>0x0&&this[_0x5bf1ab(0x1fe)](_0x4f25ba[_0x5bf1ab(0x20c)]);})),this[_0x1d251a(0x250)][_0x1d251a(0xf9)][_0x1d251a(0x16b)](_0x53da7d(this['dispose$']))['subscribe'](_0x306149=>{const _0x3d14e2=_0x1d251a;if((_0x306149==null?void 0x0:_0x306149[_0x3d14e2(0x210)])!==this[_0x3d14e2(0x210)])return;const _0x172d20={'eventID':_0xebb8a8['UPDATE_CURSOR'],'data':_0x306149};this['_onCursorUpdate'](_0x172d20);}),this[_0x1d251a(0xb2)](this[_0x1d251a(0xf2)][_0x1d251a(0xd1)](_0x4c7668=>{const _0x49115e=_0x1d251a;if(_0x4c7668[_0x49115e(0x1a1)]==null)return;const _0xbc2108=_0x4c7668[_0x49115e(0x1a1)];if(_0x4c7668['id']!==_0x3ad2f3['id']||_0xbc2108[_0x49115e(0xfb)]!==this['unitID'])return;const _0x2e4beb={'id':'doc.mutation.rich-text-editing','params':_0xbc2108},_0x105798=this[_0x49115e(0x23f)];for(const [_0x56c539,_0x270c73]of _0x105798){const _0x244f78={'id':_0x49115e(0x226),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x270c73['ranges']}},_0x47b37e=this[_0x49115e(0x25e)][_0x49115e(0x164)](_0x2e4beb,_0x244f78,!0x1);if(_0x1c5976(_0x47b37e))throw _0x47b37e[_0x49115e(0x274)];_0x105798['set'](_0x56c539,{..._0x270c73,'ranges':_0x47b37e[_0x49115e(0x69)]['params'][_0x49115e(0x1f8)]});}queueMicrotask(()=>{const _0x415f5b=_0x49115e;this[_0x415f5b(0x1b9)][_0x415f5b(0x21e)](_0x105798);});})));}['_onCursorUpdate'](_0x2ad787){const _0x2ebbb5=_0x2ea585;var _0x19aef,_0x7a67a3;const {memberID:_0x62e291,selection:_0x239899}=_0x2ad787[_0x2ebbb5(0xe1)],_0x5f55b5=_i(_0x239899),_0xe3b929=(_0x7a67a3=(_0x19aef=this[_0x2ebbb5(0x14f)][_0x2ebbb5(0x21b)](this[_0x2ebbb5(0x210)],_0x62e291))==null?void 0x0:_0x19aef[_0x2ebbb5(0x1fc)])!=null?_0x7a67a3:'Unknown\x20user',_0x4a6a6e={'color':this['_colorAssignService'][_0x2ebbb5(0x233)](_0x62e291),'name':_0xe3b929,'ranges':_0x5f55b5},_0x576df6=this[_0x2ebbb5(0x23f)];_0x576df6[_0x2ebbb5(0x22c)](_0x62e291,_0x4a6a6e),this[_0x2ebbb5(0x1b9)][_0x2ebbb5(0x21e)](_0x576df6);}['_onCursorDelete'](_0x341bc4){const _0x342029=_0x2ea585,{memberID:_0x14c440}=_0x341bc4[_0x342029(0xe1)],_0x22cbc7=this[_0x342029(0x23f)];_0x22cbc7[_0x342029(0xb5)](_0x14c440),this[_0x342029(0x1b9)][_0x342029(0x21e)](_0x22cbc7);}[_0x2ea585(0xf5)](){const _0x109e95=_0x2ea585;var _0x23ea8e;if(this[_0x109e95(0x70)]=!0x0,((_0x23ea8e=this[_0x109e95(0x1b4)][_0x109e95(0x127)]())==null?void 0x0:_0x23ea8e[_0x109e95(0x263)]())!==this[_0x109e95(0x210)])return;const _0x1d8f5e=this['_injector'][_0x109e95(0x277)](_0x232b51)[_0x109e95(0x139)]();Array[_0x109e95(0x113)](_0x1d8f5e)&&_0x1d8f5e[_0x109e95(0x1f5)]>0x0&&this[_0x109e95(0x1fe)](_0x1d8f5e);}[_0x2ea585(0xb3)](){const _0x26b116=_0x2ea585;this[_0x26b116(0x70)]=!0x1;}};Ue=ui([P(0x2,_0x1b5eae(_0x5bfc31)),P(0x3,_0x1b5eae(ke)),P(0x4,_0x1b5eae(_0x957363)),P(0x5,_0x1b5eae(He)),P(0x6,_0x24498d),P(0x7,_0x59e8d0),P(0x8,_0xa8cbfd)],Ue);var Si=Object[_0x2ea585(0x16f)],mi=(_0x1c8698,_0x5826da,_0x2e4d56,_0x20daf4)=>{const _0x49046a=_0x2ea585;for(var _0x521c8f=_0x20daf4>0x1?void 0x0:_0x20daf4?Si(_0x5826da,_0x2e4d56):_0x5826da,_0xb1cba0=_0x1c8698[_0x49046a(0x1f5)]-0x1,_0x15da4e;_0xb1cba0>=0x0;_0xb1cba0--)(_0x15da4e=_0x1c8698[_0xb1cba0])&&(_0x521c8f=_0x15da4e(_0x521c8f)||_0x521c8f);return _0x521c8f;},x=(_0x359e3d,_0x885205)=>(_0x43d506,_0x2a6ec4)=>_0x885205(_0x43d506,_0x2a6ec4,_0x359e3d);const Ii=0x12c,gi=0x64,vi=()=>{let _0x307789=[],_0x441137=!0x1;return _0xbde680=>{const _0x5db85e=_0x3e72;_0x307789[_0x5db85e(0xca)](_0xbde680),_0x441137||(_0x441137=!0x0,setTimeout(()=>{const _0x3b6d8f=_0x5db85e;_0x307789[_0x3b6d8f(0x7d)](_0x420b50=>_0x420b50()),_0x307789=[],_0x441137=!0x1;}));};};let Me=class extends _0x3eac5d{constructor(_0x1cf051,_0x3ffde8,_0x574dc8,_0x1b4a3d,_0x2cd244,_0x486231,_0x54a844,_0x5a83){const _0x57d100=_0x2ea585;super(),_(this,_0x57d100(0x70),!0x1),_(this,'_init',!0x1),_(this,_0x57d100(0x1b9),new _0x5d9fc3(new Map())),_(this,'cursorInfo$',this[_0x57d100(0x1b9)]['asObservable']()),_(this,_0x57d100(0x9b),new _0x5d9fc3([])),_(this,'roomMembers$',this['_roomMembers$'][_0x57d100(0x16b)](_0x47d14f(Ii))),_(this,_0x57d100(0x1fe),_0x149e25((_0x5571ba,_0xb84e0e)=>{const _0x399203=_0x57d100,_0x2f149d={'eventID':_0xebb8a8[_0x399203(0xe4)],'data':{'unitID':this[_0x399203(0x210)],'memberID':this[_0x399203(0x19e)][_0x399203(0x101)](),'selection':_0x787795(_0x5571ba,_0xb84e0e[_0x399203(0x240)])}};this['_session'][_0x399203(0x1a4)](_0x2f149d,this[_0x399203(0x210)]);},gi)),(this[_0x57d100(0x210)]=_0x1cf051,this[_0x57d100(0x19e)]=_0x3ffde8,this[_0x57d100(0x21d)]=_0x574dc8,this[_0x57d100(0x14b)]=_0x1b4a3d,this[_0x57d100(0x14f)]=_0x2cd244,this[_0x57d100(0x1b4)]=_0x486231,this[_0x57d100(0xf2)]=_0x54a844,this[_0x57d100(0x97)]=_0x5a83);}get[_0x2ea585(0x23f)](){const _0x2f8179=_0x2ea585;return this['_cursorInfo$'][_0x2f8179(0x8c)]();}get[_0x2ea585(0x84)](){const _0x55785c=_0x2ea585;return this[_0x55785c(0x9b)][_0x55785c(0x8c)]();}[_0x2ea585(0x195)](){const _0x552ab3=_0x2ea585;super[_0x552ab3(0x195)](),this[_0x552ab3(0x1b9)][_0x552ab3(0x21e)](new Map()),this['_cursorInfo$'][_0x552ab3(0x150)](),this['_roomMembers$'][_0x552ab3(0x21e)]([]),this[_0x552ab3(0x9b)][_0x552ab3(0x150)]();}[_0x2ea585(0x1e7)](){const _0x334138=_0x2ea585;this[_0x334138(0x15d)]||(this[_0x334138(0x15d)]=!0x0,this[_0x334138(0x19e)]['sessionStatus$'][_0x334138(0x16b)](_0x53da7d(this['dispose$']))[_0x334138(0x21c)](_0xd69c8d=>{const _0x3c8b48=_0x334138;_0xd69c8d===_0x1be906[_0x3c8b48(0x16d)]?this[_0x3c8b48(0xf5)]():this[_0x3c8b48(0xb3)]();}),this[_0x334138(0x19e)][_0x334138(0x267)]['pipe'](_0x53da7d(this['dispose$']))['subscribe'](_0x393e96=>{const _0x5f0692=_0x334138,_0x140e23=_0x393e96[_0x5f0692(0x13e)];_0x140e23===_0xebb8a8[_0x5f0692(0xe4)]&&this[_0x5f0692(0x24c)](_0x393e96),_0x140e23===_0xebb8a8[_0x5f0692(0x223)]&&this[_0x5f0692(0xbe)](_0x393e96);}),this[_0x334138(0x248)](),this['disposeWithMe'](this[_0x334138(0xf2)][_0x334138(0xd1)](_0x2c79d4=>{const _0x642f2c=_0x334138;if(this[_0x642f2c(0x70)]&&_0x2c79d4['id']===_0x966dbb['id']&&_0x2c79d4[_0x642f2c(0x1a1)]['unitId']===this[_0x642f2c(0x210)]){const _0x5215b8=_0x2c79d4[_0x642f2c(0x1a1)];this[_0x642f2c(0x1fe)](_0x5215b8[_0x642f2c(0x16c)],_0x5215b8[_0x642f2c(0xc4)][0x0]);}})));}[_0x2ea585(0x24c)](_0x39fa83){const _0x10624d=_0x2ea585;var _0x475c1f,_0x454dff;const {memberID:_0x3e4ce7,selection:_0x260508}=_0x39fa83[_0x10624d(0xe1)],{sheetName:_0x2aba64,range:_0x24f6c8}=_0x516427(_0x260508),_0x32673d={'name':(_0x454dff=(_0x475c1f=this['_memberService'][_0x10624d(0x21b)](this[_0x10624d(0x210)],_0x3e4ce7))==null?void 0x0:_0x475c1f[_0x10624d(0x1fc)])!=null?_0x454dff:_0x10624d(0x264),'range':this[_0x10624d(0x15b)](_0x2aba64,_0x24f6c8),'sheetID':_0x2aba64,'color':this[_0x10624d(0x14b)][_0x10624d(0x233)](_0x3e4ce7),'selection':_0x260508},_0x4867c8=this['cursorInfo'];_0x4867c8[_0x10624d(0x22c)](_0x3e4ce7,_0x32673d),this[_0x10624d(0x1b9)][_0x10624d(0x21e)](_0x4867c8);}['_onCursorDelete'](_0x242414){const _0x4c97d5=_0x2ea585,{memberID:_0x1666b5}=_0x242414['data'],_0x23df91=this[_0x4c97d5(0x23f)];_0x23df91[_0x4c97d5(0xb5)](_0x1666b5),this[_0x4c97d5(0x1b9)][_0x4c97d5(0x21e)](_0x23df91);}['_getMergeRange'](_0x17b929,_0x583db9){const _0x4f2c08=_0x2ea585;var _0x20d068,_0x2ed56a;const _0xfbb489=(_0x2ed56a=(_0x20d068=this[_0x4f2c08(0x1b4)][_0x4f2c08(0x1c6)](this[_0x4f2c08(0x210)]))==null?void 0x0:_0x20d068[_0x4f2c08(0x247)](_0x17b929))==null?void 0x0:_0x2ed56a[_0x4f2c08(0x268)]();return(_0xfbb489==null?void 0x0:_0xfbb489[_0x4f2c08(0x102)](_0x5344db=>_0x235cd2[_0x4f2c08(0xc7)](_0x5344db,_0x583db9)))||_0x583db9;}[_0x2ea585(0x248)](){const _0x512673=_0x2ea585,_0x3b6656=new _0x451387(),_0x3b7bef=vi(),_0x2b3402=()=>{const _0x157c05=_0x3e72;_0x3b6656[_0x157c05(0x195)]();const _0x3b923b=(_0x5437af,_0x4dbda7,_0x15cc25,_0x1feea1)=>{const _0x1dc90b=_0x157c05;let _0x3a2952=[];switch(_0x5437af['id']){case _0x2a823f[_0x1dc90b(0x1bd)]:{_0x3a2952=_0x259d6b(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0xe6)]:{_0x3a2952=_0x5868c8(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x19a)]:{_0x3a2952=_0x27f750(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x182)]:{_0x3a2952=_0x29e20c(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x1c2)]:{_0x3a2952=_0x275f0a(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x225)]:{_0x3a2952=_0x86db8e(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x165)]:{_0x3a2952=_0xfb3f53(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0xf4)]:{_0x3a2952=_0xe63233(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x137)]:{_0x3a2952=_0x5360f6(_0x5437af,_0x1feea1);break;}}const _0x227341=_0x491948(_0x3a2952,_0x1feea1),_0x48b3d0=this[_0x1dc90b(0x23f)][_0x1dc90b(0x277)](_0x4dbda7);if(_0x48b3d0&&_0x227341){const _0x37600e={..._0x48b3d0,'range':_0x227341};this[_0x1dc90b(0x23f)][_0x1dc90b(0x22c)](_0x4dbda7,_0x37600e),_0x3b7bef(()=>{const _0xecb893=_0x1dc90b,_0x403531=this['_refRangeService'][_0xecb893(0x12d)](_0x227341,_0x11e448=>(_0x403531['dispose'](),_0x3b923b(_0x11e448,_0x4dbda7,_0x15cc25,_0x227341)));_0x3b6656['add'](_0x403531);});}return{'redos':[],'undos':[]};};this[_0x157c05(0x23f)]['forEach']((_0xfde24,_0x3ae913)=>{const _0x3766b8=_0x157c05,{range:_0x13c2f9,sheetID:_0x40b91e}=_0xfde24,_0x49e335=this[_0x3766b8(0x97)]['registerRefRange'](_0x13c2f9,_0x36691f=>(_0x49e335[_0x3766b8(0x195)](),_0x3b923b(_0x36691f,_0x3ae913,_0x40b91e,_0x13c2f9)));_0x3b6656[_0x3766b8(0x1ab)](_0x49e335);});};this[_0x512673(0xb2)](_0x4b2294(this[_0x512673(0x1b9)][_0x512673(0x21c)](()=>{_0x2b3402();})));}[_0x2ea585(0xf5)](){const _0x68a4e7=_0x2ea585;var _0x3ab4aa,_0x31f56e;if(this[_0x68a4e7(0x70)]=!0x0,((_0x3ab4aa=this[_0x68a4e7(0x1b4)][_0x68a4e7(0x127)]())==null?void 0x0:_0x3ab4aa[_0x68a4e7(0x263)]())!==this[_0x68a4e7(0x210)])return;const _0x55be33=(_0x31f56e=this[_0x68a4e7(0x21d)]['get'](_0x541779)['getCurrentSelections']())==null?void 0x0:_0x31f56e[0x0],_0x53247a=this[_0x68a4e7(0x1b4)]['getCurrentUnitForType'](_0x17d1c2[_0x68a4e7(0xaa)])[_0x68a4e7(0x119)]();_0x55be33&&_0x53247a&&this[_0x68a4e7(0x1fe)](_0x53247a[_0x68a4e7(0x17b)](),_0x55be33);}[_0x2ea585(0xb3)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x1b5eae(_0x5bfc31)),x(0x3,_0x1b5eae(ke)),x(0x4,_0x1b5eae(_0x957363)),x(0x5,_0x59e8d0),x(0x6,_0xa8cbfd),x(0x7,_0x1b5eae(_0x36b3ee))],Me);var pi=Object[_0x2ea585(0x16f)],Ci=(_0x499cf3,_0x547da3,_0x2ce65d,_0x31b2a8)=>{const _0x390f1f=_0x2ea585;for(var _0x3d97f4=_0x31b2a8>0x1?void 0x0:_0x31b2a8?pi(_0x547da3,_0x2ce65d):_0x547da3,_0x8087fd=_0x499cf3[_0x390f1f(0x1f5)]-0x1,_0x3742e3;_0x8087fd>=0x0;_0x8087fd--)(_0x3742e3=_0x499cf3[_0x8087fd])&&(_0x3d97f4=_0x3742e3(_0x3d97f4)||_0x3d97f4);return _0x3d97f4;},Se=(_0x3196da,_0x3ceb1c)=>(_0x5b157a,_0x199d07)=>_0x3ceb1c(_0x5b157a,_0x199d07,_0x3196da);let H=class extends _0x3eac5d{constructor(_0x595554,_0x3ac05b,_0x5b6948){const _0x444e9a=_0x2ea585;super(),_(this,_0x444e9a(0x11d),new Map()),_(this,_0x444e9a(0x22f),new _0x44b731()),(this[_0x444e9a(0x1b4)]=_0x595554,this[_0x444e9a(0x21d)]=_0x3ac05b,this[_0x444e9a(0x229)]=_0x5b6948,this['_init']());}['dispose'](){const _0x4e54bf=_0x2ea585;super[_0x4e54bf(0x195)](),this['_entityInit$'][_0x4e54bf(0x150)](),this['_entities']['forEach'](_0x3dab94=>_0x3dab94[_0x4e54bf(0x195)]());}[_0x2ea585(0x8f)](_0x32b303){const _0x4956e4=_0x2ea585;return this[_0x4956e4(0x11d)][_0x4956e4(0xa7)](_0x32b303)?this[_0x4956e4(0x11d)][_0x4956e4(0x277)](_0x32b303)[_0x4956e4(0xb8)]:this['_entityInit$'][_0x4956e4(0x16b)](_0x28c509(_0x2c51ed=>_0x2c51ed[_0x4956e4(0x210)]===_0x32b303),_0x32c90e(_0x34ee2f=>_0x34ee2f[_0x4956e4(0xb8)]));}[_0x2ea585(0x15d)](){const _0x39613d=_0x2ea585;this[_0x39613d(0x1b4)][_0x39613d(0x9d)](_0x17d1c2[_0x39613d(0xaa)])[_0x39613d(0x16b)](_0x53da7d(this[_0x39613d(0x10b)]))['subscribe'](async _0x4db4fc=>{const _0x30d8be=_0x39613d,_0x8467f4=_0x4db4fc[_0x30d8be(0x263)](),_0x5d0f58=await this[_0x30d8be(0x249)](_0x8467f4);this[_0x30d8be(0x22f)][_0x30d8be(0x21e)](_0x5d0f58),this['_entities']['set'](_0x8467f4,_0x5d0f58);}),this[_0x39613d(0x1b4)][_0x39613d(0x9d)](_0x17d1c2['UNIVER_DOC'])[_0x39613d(0x16b)](_0x53da7d(this['dispose$']))['pipe'](_0x28c509(_0x6d4611=>!_0x6d4611[_0x39613d(0x263)]()[_0x39613d(0x18f)]('__')))[_0x39613d(0x21c)](async _0x416370=>{const _0x293b3c=_0x39613d,_0x5d3198=_0x416370[_0x293b3c(0x263)](),_0x11d53d=await this[_0x293b3c(0xad)](_0x5d3198);this['_entityInit$'][_0x293b3c(0x21e)](_0x11d53d),this['_entities'][_0x293b3c(0x22c)](_0x5d3198,_0x11d53d);}),_0x1863bc(this[_0x39613d(0x1b4)]['getTypeOfUnitDisposed$'](_0x17d1c2['UNIVER_DOC']),this[_0x39613d(0x1b4)][_0x39613d(0xff)](_0x17d1c2[_0x39613d(0xaa)]))[_0x39613d(0x16b)](_0x53da7d(this[_0x39613d(0x10b)]))[_0x39613d(0x21c)](_0x322c78=>{const _0x26f10b=_0x39613d,_0x29ee18=_0x322c78['getUnitId'](),_0x1436b5=this[_0x26f10b(0x11d)][_0x26f10b(0x277)](_0x29ee18);_0x1436b5&&(_0x1436b5['dispose'](),this[_0x26f10b(0x11d)]['delete'](_0x29ee18));});}async[_0x2ea585(0x249)](_0x40b30c){const _0x233e3b=_0x2ea585,_0x19f6c9=await this['_collabSessionService'][_0x233e3b(0x12c)](_0x40b30c),_0x2dec52=this[_0x233e3b(0x21d)]['createInstance'](Me,_0x40b30c,_0x19f6c9);return _0x2dec52[_0x233e3b(0x1e7)](),_0x2dec52;}async[_0x2ea585(0xad)](_0x4a91bd){const _0x544078=_0x2ea585,_0xd929d3=await this[_0x544078(0x229)][_0x544078(0x12c)](_0x4a91bd),_0x3e3adb=this[_0x544078(0x21d)]['createInstance'](Ue,_0x4a91bd,_0xd929d3);return _0x3e3adb[_0x544078(0x1e7)](),_0x3e3adb;}};H=Ci([Se(0x0,_0x59e8d0),Se(0x1,_0x1b5eae(_0x5bfc31)),Se(0x2,_0x1b5eae(_0x5db2de))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x330c75,_0x20a64e){const _0x692cdb=_0x2ea585;let {radius:_0x3748e7,width:_0x3927a7,height:_0x379ddd}=_0x20a64e;_0x3748e7=_0x3748e7!=null?_0x3748e7:0x0,_0x3927a7=_0x3927a7!=null?_0x3927a7:0x1e,_0x379ddd=_0x379ddd!=null?_0x379ddd:0x1e;let _0x1a17b7=0x0,_0x3ccee0=0x0,_0x1e48f9=0x0;_0x1a17b7=_0x3ccee0=_0x1e48f9=Math[_0x692cdb(0xf6)](_0x3748e7,_0x3927a7/0x2,_0x379ddd/0x2),_0x330c75[_0x692cdb(0x88)](),_0x330c75[_0x692cdb(0xc9)](_0x1a17b7,0x0),_0x330c75[_0x692cdb(0x172)](_0x3927a7-_0x3ccee0,0x0),_0x330c75['arc'](_0x3927a7-_0x3ccee0,_0x3ccee0,_0x3ccee0,Math['PI']*0x3/0x2,0x0,!0x1),_0x330c75[_0x692cdb(0x172)](_0x3927a7,_0x379ddd-_0x1e48f9),_0x330c75[_0x692cdb(0x217)](_0x3927a7-_0x1e48f9,_0x379ddd-_0x1e48f9,_0x1e48f9,0x0,Math['PI']/0x2,!0x1),_0x330c75[_0x692cdb(0x172)](0x0,_0x379ddd),_0x330c75[_0x692cdb(0x172)](0x0,_0x1a17b7),_0x330c75[_0x692cdb(0x217)](_0x1a17b7,_0x1a17b7,_0x1a17b7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x330c75[_0x692cdb(0xc0)](),_0x20a64e[_0x692cdb(0xcf)]&&(_0x330c75[_0x692cdb(0x140)](),_0x330c75[_0x692cdb(0x14c)]=_0x20a64e[_0x692cdb(0xcf)],_0x20a64e['fillRule']==='evenodd'?_0x330c75['fill'](_0x692cdb(0x108)):_0x330c75[_0x692cdb(0xcf)](),_0x330c75[_0x692cdb(0x10e)]());}class he extends _0x347998{constructor(_0x59aac2,_0x11a77d){const _0x383b35=_0x2ea585;super(_0x59aac2,_0x11a77d),_(this,_0x383b35(0x1d1)),_(this,_0x383b35(0x1b2)),(this[_0x383b35(0x1d1)]=_0x11a77d==null?void 0x0:_0x11a77d[_0x383b35(0x1d1)],this[_0x383b35(0x1b2)]=_0x11a77d==null?void 0x0:_0x11a77d[_0x383b35(0x1b2)]);}static['drawWith'](_0x6a86bc,_0xe78b22){const _0x244432=_0x2ea585,{text:_0x21467d,color:_0x3d4508}=_0xe78b22;_0x6a86bc[_0x244432(0x140)](),_0x6a86bc['font']=_0x244432(0x1be);const _0x2f8505=_0x6a86bc[_0x244432(0xe0)](_0x21467d)[_0x244432(0x144)],_0x39c307=Math['min'](_0x2f8505+0x2*me,Qe);Oi(_0x6a86bc,{'height':ee,'radius':0x4,'width':_0x39c307,'fill':_0x3d4508}),_0x6a86bc[_0x244432(0x14c)]=_0x244432(0xd0);const _0xd59d4f=me,_0x3440e7=ee-Ei,_0x4110de=Qe-0x2*me;if(_0x2f8505>_0x4110de){let _0x3b842c='',_0x599783=0x0;for(const _0x28cc61 of _0x21467d){const _0x3443d5=_0x6a86bc[_0x244432(0xe0)](_0x28cc61)['width'];if(_0x599783+_0x3443d5<=_0x4110de-_0x6a86bc['measureText'](_0x244432(0x104))[_0x244432(0x144)])_0x3b842c+=_0x28cc61,_0x599783+=_0x3443d5;else{_0x3b842c+=_0x244432(0x104);break;}}_0x6a86bc[_0x244432(0x1ff)](_0x3b842c,_0xd59d4f,_0x3440e7);}else _0x6a86bc[_0x244432(0x1ff)](_0x21467d,_0xd59d4f,_0x3440e7);_0x6a86bc[_0x244432(0x10e)]();}[_0x2ea585(0x11e)](_0x1722b5){const _0x5ee8ba=_0x2ea585;he[_0x5ee8ba(0xc2)](_0x1722b5,this);}}const Ie=_0x2ea585(0x1a9),bi=_0x2ea585(0x266),Ti=_0x2ea585(0xed),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x2ea585(0x163);class qe{constructor(_0x854650,_0x151036,_0xc99088,_0x145fc0){const _0x29037b=_0x2ea585;_(this,_0x29037b(0x96),[]),_(this,_0x29037b(0x15a),null),_(this,_0x29037b(0xe2),null),_(this,'_anchorDot',null),_(this,_0x29037b(0x231),null),_(this,_0x29037b(0x25c),null),(this[_0x29037b(0x74)]=_0x854650,this[_0x29037b(0x111)]=_0x151036,this['_docSkeleton']=_0xc99088,this[_0x29037b(0x1ef)]=_0x145fc0,this['_render']());}set[_0x2ea585(0xc1)](_0x1a329c){const _0x275caf=_0x2ea585;_0x1a329c?(this[_0x275caf(0xc6)]&&this[_0x275caf(0xc6)][_0x275caf(0x161)](),this[_0x275caf(0xe2)]&&this[_0x275caf(0xe2)]['show']()):(this[_0x275caf(0xc6)]&&this[_0x275caf(0xc6)]['show'](),this['_textBubble']&&this[_0x275caf(0xe2)][_0x275caf(0x161)]());}[_0x2ea585(0x195)](){const _0x3693ba=_0x2ea585;for(const _0x3360e4 of this['_shapes'])_0x3360e4[_0x3693ba(0x195)]();this[_0x3693ba(0xe2)]&&this[_0x3693ba(0xe2)][_0x3693ba(0x195)](),this[_0x3693ba(0xc6)]&&this[_0x3693ba(0xc6)]['dispose'](),this[_0x3693ba(0x15a)]&&this[_0x3693ba(0x15a)]['dispose'](),this[_0x3693ba(0x25c)]&&this[_0x3693ba(0x25c)]();}[_0x2ea585(0xd8)](){const _0x2f3918=_0x2ea585;var _0x314bb2;const {_docSkeleton:_0x4d746b,_document:_0x365c07}=this,{color:_0x4433bf,name:_0x5cb8ed,ranges:_0x4654e1}=this['_cursor'],_0x9b250f=_0x365c07[_0x2f3918(0x103)](),{docsLeft:_0x16cba8,docsTop:_0x2e5349}=_0x9b250f,_0x25d16f=new _0xb4cb7(_0x9b250f,_0x4d746b);for(const {startOffset:_0x31871b,endOffset:_0x519ae1,rangeType:_0x3ac005,segmentId:_0x36996a,segmentPage:_0x5ea040,collapsed:_0x51183d,isActive:_0x1c3b7a}of _0x4654e1){const _0xe4deaf=_0x4d746b[_0x2f3918(0xa9)](_0x31871b,!0x0,_0x36996a,_0x5ea040);let _0x48cff0=_0x4d746b[_0x2f3918(0xa9)](_0x519ae1,!0x0,_0x36996a,_0x5ea040);if(_0x48cff0==null&&(_0x48cff0=_0x4d746b[_0x2f3918(0xa9)](_0x519ae1-0x1,!0x1,_0x36996a,_0x5ea040)),_0x1c3b7a){const {contentBoxPointGroup:_0x2cd60d}=_0x25d16f['getRangePointData'](_0x48cff0,_0x48cff0);if(_0x2cd60d[_0x2f3918(0x1f5)]===0x0)continue;this[_0x2f3918(0xd9)](_0x4433bf,_0x2cd60d,_0x16cba8,_0x2e5349,_0x5cb8ed),this['_eventUnsubscribe']=this[_0x2f3918(0x23c)]();}if(_0xe4deaf&&_0x48cff0){if(_0x3ac005===_0x352d7e[_0x2f3918(0x1d0)]){const _0x2cbd18=new _0x16fc13(_0x9b250f,_0x4d746b),{pointGroup:_0x504f27}=(_0x314bb2=_0x2cbd18['getRangePointData'](_0xe4deaf,_0x48cff0))!=null?_0x314bb2:{};if(_0x504f27==null||_0x504f27[_0x2f3918(0x1f5)]===0x0)continue;this[_0x2f3918(0xa5)](_0x4433bf,_0x504f27,_0x16cba8,_0x2e5349);}else{if(!_0x51183d){const {borderBoxPointGroup:_0x32cc4b}=_0x25d16f['getRangePointData'](_0xe4deaf,_0x48cff0);if(_0x32cc4b[_0x2f3918(0x1f5)]===0x0)continue;this[_0x2f3918(0x13b)](_0x4433bf,_0x32cc4b,_0x16cba8,_0x2e5349);}}}}}[_0x2ea585(0xd9)](_0x50c42a,_0x885d73,_0x42eb09,_0x4abd25,_0x5354c5){const _0x46f884=_0x2ea585,_0x120982=this[_0x46f884(0xae)](_0x885d73),{left:_0x2b9d7d,top:_0x4d534a,height:_0x35e1d0}=_0x120982,_0x29504a=this[_0x46f884(0x1a7)](),_0x1a86c8=Di/_0x29504a,_0x5083af=new _0x31c455(Ie+_0x45a912[_0x46f884(0x160)](X),{'left':_0x2b9d7d+_0x42eb09-_0x1a86c8,'top':_0x4d534a+_0x4abd25,'height':_0x35e1d0,'width':Ri,'fill':_0x50c42a||_0x113774(_0x152bdc[_0x46f884(0xb6)],0x0),'strokeWidth':_0x1a86c8,'stroke':Ni,'evented':!0x0});this[_0x46f884(0x15a)]=_0x5083af,this[_0x46f884(0x111)][_0x46f884(0x15c)](_0x5083af,_0x1bc18a);const _0x29999b=new _0x31c455(Ie+_0x45a912['generateRandomId'](X),{'left':_0x2b9d7d+_0x42eb09-_0x1a86c8,'top':_0x4d534a+_0x4abd25-ge/0x2,'height':ge,'width':ge,'fill':_0x50c42a||_0x113774(_0x152bdc['black'],0x0),'strokeWidth':0x0,'stroke':_0x50c42a||_0x113774(_0x152bdc[_0x46f884(0xb6)],0x0),'evented':!0x1});this[_0x46f884(0xc6)]=_0x29999b,this['_scene']['addObject'](_0x29999b,_0x1bc18a);const _0xf444db=new he(Ie+_0x45a912[_0x46f884(0x160)](X),{'left':_0x2b9d7d+_0x42eb09-_0x1a86c8,'top':_0x4d534a+_0x4abd25-ee,'text':_0x5354c5,'color':_0x50c42a});this[_0x46f884(0xe2)]=_0xf444db,this[_0x46f884(0x111)]['addObject'](_0xf444db,_0x1bc18a),this[_0x46f884(0xc1)]=!0x1;}[_0x2ea585(0x23c)](){const _0x15b5a4=_0x2ea585,_0x457664=this['_anchor'][_0x15b5a4(0x95)][_0x15b5a4(0x85)](()=>{this['_hover']=!0x0;}),_0x4d816f=this[_0x15b5a4(0x15a)][_0x15b5a4(0x262)][_0x15b5a4(0x85)](()=>{const _0x180d10=_0x15b5a4;this['_hideTimer']&&clearTimeout(this[_0x180d10(0x231)]),this[_0x180d10(0x231)]=setTimeout(()=>{const _0x25486f=_0x180d10;this[_0x25486f(0xc1)]=!0x1;},0x7d0);});return()=>{const _0x3965b1=_0x15b5a4;_0x457664[_0x3965b1(0x77)](),_0x4d816f['unsubscribe']();};}[_0x2ea585(0x13b)](_0x49c974,_0xdcf3df,_0x5477a0,_0x4ef749){const _0x41d8b8=_0x2ea585,_0x12a3e4=new _0x247de3(_0x49c974)[_0x41d8b8(0xce)](0.2)[_0x41d8b8(0x159)](),_0x542bbc=new _0x2ff387(bi+_0x45a912[_0x41d8b8(0x160)](X),{'pointsGroup':_0xdcf3df,'fill':_0x12a3e4||_0x113774(_0x152bdc[_0x41d8b8(0xb6)],0.2),'left':_0x5477a0,'top':_0x4ef749,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x41d8b8(0x96)][_0x41d8b8(0xca)](_0x542bbc),this[_0x41d8b8(0x111)][_0x41d8b8(0x15c)](_0x542bbc,_0x1bc18a);}['_drawRectRange'](_0x4dad98,_0x1ab619,_0x32266a,_0x38e345){const _0x2a818a=_0x2ea585,_0x5ef396=new _0x247de3(_0x4dad98)['setAlpha'](0.2)[_0x2a818a(0x159)](),_0x1d966d=new _0x2ff387(Ti+_0x45a912[_0x2a818a(0x160)](X),{'pointsGroup':_0x1ab619,'fill':_0x5ef396||_0x113774(_0x152bdc[_0x2a818a(0xb6)],0.2),'left':_0x32266a,'top':_0x38e345,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2a818a(0x96)][_0x2a818a(0xca)](_0x1d966d),this[_0x2a818a(0x111)]['addObject'](_0x1d966d,_0x1bc18a);}[_0x2ea585(0xae)](_0xa7f868){const _0x2e77c8=_0xa7f868[0x0],_0x56bd5f=_0x2e77c8[0x0],_0x4e911a=_0x2e77c8[0x2],{x:_0x54fb4e,y:_0xde26e6}=_0x56bd5f,{x:_0x40cf8c,y:_0x303b58}=_0x4e911a;return{'left':_0x54fb4e,'top':_0xde26e6,'width':_0x40cf8c-_0x54fb4e,'height':_0x303b58-_0xde26e6};}[_0x2ea585(0x1a7)](){const _0x1189f2=_0x2ea585,{scaleX:_0x176803,scaleY:_0x576744}=this[_0x1189f2(0x111)]['getAncestorScale']();return Math[_0x1189f2(0x1ec)](_0x176803,_0x576744);}}var Ui=Object[_0x2ea585(0x16f)],Mi=(_0x956e9c,_0x54c25a,_0x1042a0,_0x3ce106)=>{const _0x3693c6=_0x2ea585;for(var _0x45d929=_0x3ce106>0x1?void 0x0:_0x3ce106?Ui(_0x54c25a,_0x1042a0):_0x54c25a,_0xdb3917=_0x956e9c[_0x3693c6(0x1f5)]-0x1,_0x3bcec7;_0xdb3917>=0x0;_0xdb3917--)(_0x3bcec7=_0x956e9c[_0xdb3917])&&(_0x45d929=_0x3bcec7(_0x45d929)||_0x45d929);return _0x45d929;},Z=(_0x4c70c7,_0x132729)=>(_0x4bbd21,_0x3e2ae3)=>_0x132729(_0x4bbd21,_0x3e2ae3,_0x4c70c7);let we=class extends _0x3eac5d{constructor(_0x451040,_0x37b4d9,_0x51ba12,_0x412ac9,_0x1aeb53){const _0x216a9b=_0x2ea585;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x216a9b(0x256)]=_0x451040,this[_0x216a9b(0x9a)]=_0x37b4d9,this[_0x216a9b(0x16e)]=_0x51ba12,this[_0x216a9b(0xf2)]=_0x412ac9,this[_0x216a9b(0x82)]=_0x1aeb53,this['_init']());}[_0x2ea585(0x15d)](){const _0x417800=_0x2ea585,_0x530494=this['_context'][_0x417800(0xfb)],_0x11ec32=this['_docSkeletonManagerService'];this['disposeWithMe'](_0xa2467([this[_0x417800(0x16e)][_0x417800(0x8f)](_0x530494),this[_0x417800(0x82)][_0x417800(0xdc)]])[_0x417800(0x16b)](_0x59c89c(([_0x23c71d,_0x544a06])=>({'skeleton':_0x11ec32[_0x417800(0xcd)](),'cursors':[..._0x23c71d[_0x417800(0x203)]()][_0x417800(0x206)](_0x56d74d=>({..._0x56d74d,'color':this['_themeService']['getColorFromTheme'](_0x56d74d['color'])}))})))['subscribe'](_0x4ab2ff=>{const _0x3dc90d=_0x417800;if(this[_0x3dc90d(0x1c4)](),_0x4ab2ff){const {skeleton:_0x333262,cursors:_0x35da15}=_0x4ab2ff;this[_0x3dc90d(0x117)](_0x333262,_0x35da15);}})),this[_0x417800(0x83)](),this[_0x417800(0x191)]();}[_0x2ea585(0x117)](_0x22db99,_0x45e10a){const _0x22343b=_0x2ea585,{scene:_0x52ebea,mainComponent:_0xea320a}=this['_context'],_0x115099=_0x45e10a[_0x22343b(0x1c3)](_0x428e6a=>new qe(_0x428e6a,_0x52ebea,_0x22db99,_0xea320a));this[_0x22343b(0x20a)]=_0x115099,this[_0x22343b(0xa4)]=_0x45e10a;}[_0x2ea585(0x89)](){const _0x1f0b08=_0x2ea585;this['_removeCollabCursors']();const {scene:_0x34a611,mainComponent:_0x496539}=this[_0x1f0b08(0x256)],_0x1e20d5=this[_0x1f0b08(0x9a)][_0x1f0b08(0xcd)](),_0xb734f7=this[_0x1f0b08(0xa4)][_0x1f0b08(0x1c3)](_0x3d4832=>new qe(_0x3d4832,_0x34a611,_0x1e20d5,_0x496539));this['_cursorShapes']=_0xb734f7;}[_0x2ea585(0x1c4)](){const _0x5bd23d=_0x2ea585;this[_0x5bd23d(0x20a)][_0x5bd23d(0x7d)](_0x5b5aa9=>_0x5b5aa9[_0x5bd23d(0x195)]()),this[_0x5bd23d(0x20a)]=[];}['_initCommandExecutedListener'](){const _0x241cf0=_0x2ea585,_0x51a82c=[_0x65133c['id']];this[_0x241cf0(0xb2)](this[_0x241cf0(0xf2)][_0x241cf0(0xd1)](_0x2ea631=>{const _0x55f767=_0x241cf0;_0x51a82c['includes'](_0x2ea631['id'])&&_0x2ea631['params'][_0x55f767(0xfb)]===this[_0x55f767(0x256)][_0x55f767(0xfb)]&&this[_0x55f767(0x89)]();}));}[_0x2ea585(0x83)](){const _0x24bd3c=_0x2ea585;this[_0x24bd3c(0xb2)](_0x5d7a9b(this[_0x24bd3c(0x256)][_0x24bd3c(0x153)][_0x24bd3c(0xab)])[_0x24bd3c(0x16b)](_0xbb8af8(_0x49db4e=>_0x49db4e[_0x24bd3c(0x162)]===_0x1e1258[_0x24bd3c(0x158)]),_0x5f5a5d(0x10))['subscribe'](()=>{const _0x1a0f6f=_0x24bd3c;this[_0x1a0f6f(0x89)]();}));}};we=Mi([Z(0x1,_0x1b5eae(_0x5c7684)),Z(0x2,_0x1b5eae(H)),Z(0x3,_0xa8cbfd),Z(0x4,_0x1b5eae(_0x2cd56c))],we);const wi=0x1,Pi=1.5;class Li extends _0x347998{constructor(_0x3ac0d9,_0x5e1f8b){const _0x30ead0=_0x2ea585;super(_0x3ac0d9,_0x5e1f8b),_(this,_0x30ead0(0xf3)),_(this,_0x30ead0(0x7c),!0x1),_(this,_0x30ead0(0x13f)),_(this,_0x30ead0(0x18c),''),_(this,_0x30ead0(0x68),_0x30ead0(0x130)),_(this,_0x30ead0(0x235)),(_0x5e1f8b&&this[_0x30ead0(0x278)](_0x5e1f8b),this[_0x30ead0(0x95)][_0x30ead0(0x85)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x30ead0(0x262)][_0x30ead0(0x85)](()=>this[_0x30ead0(0x278)]({'hovered':!0x1})));}[_0x2ea585(0x278)](_0x3d3d50){const _0x369c21=_0x2ea585;var _0x286056,_0x4237a0,_0x3f150f,_0x3446b0,_0x49c189,_0x58f42a;this[_0x369c21(0xf3)]=(_0x286056=_0x3d3d50[_0x369c21(0x1d1)])!=null?_0x286056:this['_color'],this[_0x369c21(0x7c)]=(_0x4237a0=_0x3d3d50[_0x369c21(0x199)])!=null?_0x4237a0:this[_0x369c21(0x7c)],this[_0x369c21(0x13f)]=(_0x3f150f=_0x3d3d50[_0x369c21(0x240)])!=null?_0x3f150f:this[_0x369c21(0x13f)],this[_0x369c21(0x18c)]=(_0x3446b0=_0x3d3d50[_0x369c21(0x1fc)])!=null?_0x3446b0:this[_0x369c21(0x18c)],this['_labelPosition']=(_0x49c189=_0x3d3d50[_0x369c21(0x19b)])!=null?_0x49c189:this[_0x369c21(0x68)],this['_backgroundColor']=(_0x58f42a=_0x3d3d50[_0x369c21(0x65)])!=null?_0x58f42a:this[_0x369c21(0x235)],this[_0x369c21(0x1de)]({'width':_0x3d3d50['width'],'height':_0x3d3d50[_0x369c21(0x151)]});}[_0x2ea585(0x214)](_0x4eab97){const _0x14b2bd=_0x2ea585,{row:_0xf63ee3,column:_0x4a237e}=_0x4eab97;if(_0xf63ee3>=this[_0x14b2bd(0x13f)][_0x14b2bd(0x1e2)]&&_0xf63ee3<=this[_0x14b2bd(0x13f)][_0x14b2bd(0x259)]&&_0x4a237e>=this[_0x14b2bd(0x13f)][_0x14b2bd(0x230)]&&_0x4a237e<=this['_range'][_0x14b2bd(0x12a)]){this[_0x14b2bd(0x278)]({'hovered':!0x0});return;}this[_0x14b2bd(0x278)]({'hovered':!0x1});}[_0x2ea585(0xdf)](_0x4e6fb7){return!0x1;}[_0x2ea585(0x11e)](_0x56e528){const _0x5cd27b=_0x2ea585;_0x31c455['drawWith'](_0x56e528,{'width':this[_0x5cd27b(0x144)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x5cd27b(0xf3)],'evented':!0x1,'fill':this[_0x5cd27b(0x235)]}),this[_0x5cd27b(0x7c)]&&(_0x56e528[_0x5cd27b(0x140)](),_0x56e528[_0x5cd27b(0x23a)](0x1,0x0,0x0,0x1,this[_0x5cd27b(0x144)],this[_0x5cd27b(0x68)]==='bottom'?0x0:-0x14),he['drawWith'](_0x56e528,{'text':this[_0x5cd27b(0x18c)],'color':this['_color']}),_0x56e528[_0x5cd27b(0x10e)]());}}var Ai=Object[_0x2ea585(0x16f)],yi=(_0x349107,_0x19b7f8,_0x535cc8,_0x70b25)=>{const _0x4b842b=_0x2ea585;for(var _0x440161=_0x70b25>0x1?void 0x0:_0x70b25?Ai(_0x19b7f8,_0x535cc8):_0x19b7f8,_0x23ae13=_0x349107[_0x4b842b(0x1f5)]-0x1,_0x4e8e20;_0x23ae13>=0x0;_0x23ae13--)(_0x4e8e20=_0x349107[_0x23ae13])&&(_0x440161=_0x4e8e20(_0x440161)||_0x440161);return _0x440161;},ve=(_0x4fbd68,_0xc6da7)=>(_0x50a1c6,_0x4f39d1)=>_0xc6da7(_0x50a1c6,_0x4f39d1,_0x4fbd68);const $i=0x1389;let Pe=class extends _0x3eac5d{constructor(_0x4cbc53,_0x121b71,_0x367259,_0x2653f5){const _0x477620=_0x2ea585;super(),_(this,_0x477620(0xa4),new Set()),_(this,_0x477620(0x1ae),null),(this[_0x477620(0x256)]=_0x4cbc53,this[_0x477620(0x212)]=_0x121b71,this['_collabCursorController']=_0x367259,this[_0x477620(0x82)]=_0x2653f5,this[_0x477620(0x15d)]());}[_0x2ea585(0x15d)](){const _0x30b1fb=_0x2ea585;this[_0x30b1fb(0x212)][_0x30b1fb(0x16a)][_0x30b1fb(0x16b)](_0xf15a92(this['dispose$']),_0x443647(_0x55cf41=>{const _0x1bb5ea=_0x30b1fb;if(_0x55cf41){const _0x4174a9=_0x55cf41[_0x1bb5ea(0x219)];return _0xa2467(this[_0x1bb5ea(0x16e)][_0x1bb5ea(0x8f)](this[_0x1bb5ea(0x256)][_0x1bb5ea(0xfb)]),this[_0x1bb5ea(0x82)][_0x1bb5ea(0xdc)])[_0x1bb5ea(0x16b)](_0x59c89c(([_0x548f8a,_0x185287])=>{const _0x2f7c96=_0x1bb5ea,_0x52ec2b=new Map();return _0x548f8a[_0x2f7c96(0x7d)]((_0xaf1b10,_0x689448)=>{const _0x2d10b5=_0x2f7c96;if(_0xaf1b10[_0x2d10b5(0x67)]===_0x4174a9){const _0x47f8b5={..._0xaf1b10};_0x47f8b5[_0x2d10b5(0x1d1)]=this[_0x2d10b5(0x82)]['getColorFromTheme'](_0xaf1b10[_0x2d10b5(0x1d1)]),_0x52ec2b[_0x2d10b5(0x22c)](_0x689448,_0x47f8b5);}}),{'skeleton':_0x55cf41,'cursors':_0x52ec2b};}));}return _0x3b4356({'skeleton':null,'cursors':new Map()});}))[_0x30b1fb(0x21c)](({skeleton:_0x593c78,cursors:_0x3fa23b})=>{const _0x421b7b=_0x30b1fb;this['_removeCollabCursors'](),_0x593c78&&this[_0x421b7b(0x117)](_0x593c78,_0x3fa23b);}),this[_0x30b1fb(0x212)][_0x30b1fb(0x16a)][_0x30b1fb(0x21c)](_0x841af6=>{const _0x396067=_0x30b1fb;if(_0x841af6==null)return;const {skeleton:_0x537c73}=_0x841af6,{scene:_0x2fc126}=this[_0x396067(0x256)];_0x2fc126[_0x396067(0x1b3)][_0x396067(0x85)](_0x149e25(_0x548ff6=>{const _0xb9c884=_0x396067;var _0x2797c9,_0x21bdb4;const {offsetX:_0x5477ad,offsetY:_0x4aeaca}=_0x548ff6,{x:_0x594c39,y:_0x105201}=_0x2fc126[_0xb9c884(0x175)](_0x766b0c['FromArray']([_0x5477ad,_0x4aeaca])),{scaleX:_0x23d2a3,scaleY:_0x9ecc2d}=_0x2fc126['getAncestorScale'](),_0x35ac4f=_0x2fc126['getViewport'](_0x5438bd[_0xb9c884(0x125)]),_0x3b6b82=_0x2fc126['getVpScrollXYInfoByPosToVp'](_0x766b0c[_0xb9c884(0x1b6)]([_0x594c39,_0x105201]),_0x35ac4f),_0x14ad08=_0x537c73[_0xb9c884(0x71)](_0x5477ad,_0x4aeaca,_0x23d2a3,_0x9ecc2d,_0x3b6b82);((_0x2797c9=this['_lastPointer'])==null?void 0x0:_0x2797c9['column'])===_0x14ad08[_0xb9c884(0x224)]&&((_0x21bdb4=this[_0xb9c884(0x1ae)])==null?void 0x0:_0x21bdb4[_0xb9c884(0x146)])===_0x14ad08[_0xb9c884(0x146)]||this[_0xb9c884(0xa4)][_0xb9c884(0x7d)](_0x51bf8b=>{const _0x376dee=_0xb9c884;_0x51bf8b[_0x376dee(0x214)](_0x14ad08);});},0x64));});}[_0x2ea585(0x117)](_0x1fc069,_0x27fcaa){const _0x3d12a9=_0x2ea585;var _0x52af22;const _0x2bb1c4=(_0x52af22=this[_0x3d12a9(0x212)][_0x3d12a9(0x9f)]())==null?void 0x0:_0x52af22['skeleton'];if(!_0x2bb1c4)return;const _0x5636d4=this['_getSheetObject']();if(!_0x5636d4)return;this[_0x3d12a9(0xa4)][_0x3d12a9(0x7d)](_0x14060e=>{const _0x5ad460=_0x3d12a9;_0x14060e[_0x5ad460(0x186)]();});const {scene:_0x340966}=_0x5636d4,_0x5ea1c5=xi(Array[_0x3d12a9(0x1c9)](_0x27fcaa[_0x3d12a9(0x203)]()))['map'](_0x2379f0=>{const _0x2b317f=_0x3d12a9,{color:_0x2f3405,range:_0x26cfb4,name:_0x4fcd0e,selection:_0x350fef,sheetID:_0x2e53c9}=_0x2379f0,{startColumn:_0x4632ce,startRow:_0x34c683,endColumn:_0x37277d,endRow:_0x3d185a}=_0x26cfb4,_0x3e5de7=_0x13748b(_0x34c683,_0x4632ce,_0x340966,_0x2bb1c4),_0x305b21=_0x13748b(_0x3d185a,_0x37277d,_0x340966,_0x2bb1c4),{columnHeaderHeightAndMarginTop:_0x4f5ac6}=_0x2bb1c4,{startX:_0xc8d1fa,startY:_0x5de36b}=_0x3e5de7,{endX:_0x4089e0,endY:_0x467fc8}=_0x305b21,_0x2847ec=_0x4089e0-_0xc8d1fa,_0x18e618=_0x467fc8-_0x5de36b,_0x75143d={'labelPosition':_0x5de36b-_0x4f5ac6>=ee?_0x2b317f(0x130):_0x2b317f(0x254),'sheetID':_0x2e53c9,'range':_0x26cfb4,'color':_0x2f3405,'name':_0x4fcd0e,'selection':_0x350fef,'left':_0xc8d1fa,'top':_0x5de36b,'width':_0x2847ec,'height':_0x18e618,'evented':!0x1,'zIndex':$i};return new Li(_0x4fcd0e,_0x75143d);});_0x340966[_0x3d12a9(0x1f1)](_0x5ea1c5,wi),this[_0x3d12a9(0xa4)]=new Set(_0x5ea1c5);}[_0x2ea585(0x1c4)](){const _0x27ef9d=_0x2ea585;var _0xe31dff;(_0xe31dff=this[_0x27ef9d(0xa4)])==null||_0xe31dff[_0x27ef9d(0x7d)](_0x10ef1d=>_0x10ef1d['dispose']());}[_0x2ea585(0x105)](){const _0x3dbafa=_0x2ea585;return _0xa2fb78(this[_0x3dbafa(0x256)]['unit'],this[_0x3dbafa(0x256)]);}};Pe=yi([ve(0x1,_0x1b5eae(_0x4e0b83)),ve(0x2,_0x1b5eae(H)),ve(0x3,_0x1b5eae(_0x2cd56c))],Pe);function xi(_0x4be408){const _0x214353=_0x2ea585,_0x5ca120=new Map();return _0x4be408[_0x214353(0x7d)](_0x2a524a=>{const _0x4df0e6=_0x214353;if(_0x5ca120[_0x4df0e6(0xa7)](_0x2a524a[_0x4df0e6(0x143)])){const _0x2fb5f3=_0x5ca120[_0x4df0e6(0x277)](_0x2a524a[_0x4df0e6(0x143)]);_0x2fb5f3[_0x4df0e6(0x1fc)]+=',\x20'+_0x2a524a[_0x4df0e6(0x1fc)];}else _0x5ca120[_0x4df0e6(0x22c)](_0x2a524a[_0x4df0e6(0x143)],_0x2a524a);}),Array['from'](_0x5ca120[_0x214353(0x203)]());}var v=function(){const _0x317a51=_0x2ea585;return v=Object[_0x317a51(0x112)]||function(_0x46aa22){const _0x23e882=_0x317a51;for(var _0x28e547,_0x489720=0x1,_0x53e726=arguments[_0x23e882(0x1f5)];_0x489720<_0x53e726;_0x489720++){_0x28e547=arguments[_0x489720];for(var _0x1b5f57 in _0x28e547)Object[_0x23e882(0x239)][_0x23e882(0x253)]['call'](_0x28e547,_0x1b5f57)&&(_0x46aa22[_0x1b5f57]=_0x28e547[_0x1b5f57]);}return _0x46aa22;},v[_0x317a51(0xe8)](this,arguments);},Bi=function(_0x291724,_0x21de90){const _0x23386c=_0x2ea585;var _0x2a3c53={};for(var _0x1e9003 in _0x291724)Object[_0x23386c(0x239)]['hasOwnProperty'][_0x23386c(0x26b)](_0x291724,_0x1e9003)&&_0x21de90[_0x23386c(0x8d)](_0x1e9003)<0x0&&(_0x2a3c53[_0x1e9003]=_0x291724[_0x1e9003]);if(_0x291724!=null&&typeof Object[_0x23386c(0x20e)]==_0x23386c(0xfe)){for(var _0x2903ec=0x0,_0x1e9003=Object[_0x23386c(0x20e)](_0x291724);_0x2903ec<_0x1e9003[_0x23386c(0x1f5)];_0x2903ec++)_0x21de90['indexOf'](_0x1e9003[_0x2903ec])<0x0&&Object[_0x23386c(0x239)][_0x23386c(0x6e)][_0x23386c(0x26b)](_0x291724,_0x1e9003[_0x2903ec])&&(_0x2a3c53[_0x1e9003[_0x2903ec]]=_0x291724[_0x1e9003[_0x2903ec]]);}return _0x2a3c53;},je=_0x3459f8(function(_0x28e826,_0xfc2186){const _0x1bd19c=_0x2ea585;var _0x1e7f35=_0x28e826[_0x1bd19c(0x260)],_0x5297c2=_0x28e826['id'],_0x516c8e=_0x28e826[_0x1bd19c(0x126)],_0x1807d1=_0x28e826[_0x1bd19c(0x23e)],_0x1f6138=Bi(_0x28e826,[_0x1bd19c(0x260),'id',_0x1bd19c(0x126),_0x1bd19c(0x23e)]),_0x13b715='univerjs-icon\x20univerjs-icon-'[_0x1bd19c(0x13c)](_0x5297c2,'\x20')[_0x1bd19c(0x13c)](_0x516c8e||'')[_0x1bd19c(0x24d)](),_0x383a55=_0x52d9ea('_'[_0x1bd19c(0x13c)](ji()));return Rt(_0x1e7f35,''[_0x1bd19c(0x13c)](_0x5297c2),{'defIds':_0x1e7f35[_0x1bd19c(0x1b0)],'idSuffix':_0x383a55[_0x1bd19c(0x23b)]},v({'ref':_0xfc2186,'className':_0x13b715},_0x1f6138),_0x1807d1);});function Rt(_0x1f76ad,_0x211d6d,_0x23c005,_0xf1bce2,_0x352385){const _0x48cf82=_0x2ea585;return _0x59c871(_0x1f76ad[_0x48cf82(0x201)],v(v({'key':_0x211d6d},ki(_0x1f76ad,_0x23c005,_0x352385)),_0xf1bce2),(Hi(_0x1f76ad,_0x23c005)[_0x48cf82(0x18a)]||[])[_0x48cf82(0x1c3)](function(_0x4639e4,_0x3718e1){const _0x1e38e8=_0x48cf82;return Rt(_0x4639e4,''[_0x1e38e8(0x13c)](_0x211d6d,'-')[_0x1e38e8(0x13c)](_0x1f76ad[_0x1e38e8(0x201)],'-')['concat'](_0x3718e1),_0x23c005,void 0x0,_0x352385);}));}function ki(_0x549b73,_0x59ab06,_0x4dbf0c){const _0x3a82eb=_0x2ea585;var _0x58f1e4=v({},_0x549b73[_0x3a82eb(0x228)]);_0x4dbf0c!=null&&_0x4dbf0c[_0x3a82eb(0x81)]&&_0x58f1e4[_0x3a82eb(0xcf)]===_0x3a82eb(0x81)&&(_0x58f1e4['fill']=_0x4dbf0c['colorChannel1']),_0x549b73[_0x3a82eb(0x201)]===_0x3a82eb(0x166)&&_0x58f1e4['id']&&(_0x58f1e4['id']=_0x58f1e4['id']+_0x59ab06['idSuffix']),Object[_0x3a82eb(0x1e9)](_0x58f1e4)['forEach'](function(_0x5b8991){const _0x4edd0d=_0x3a82eb;var _0x24dded=_0x5b8991[0x0],_0x4cd89e=_0x5b8991[0x1];_0x24dded===_0x4edd0d(0x166)&&typeof _0x4cd89e=='string'&&(_0x58f1e4[_0x24dded]=_0x4cd89e[_0x4edd0d(0x179)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x59ab06[_0x4edd0d(0x1a5)],')')));});var _0x384a4c=_0x59ab06['defIds'];return!_0x384a4c||_0x384a4c[_0x3a82eb(0x1f5)]===0x0||(_0x549b73['tag']===_0x3a82eb(0x17c)&&_0x58f1e4[_0x3a82eb(0x1ca)]&&(_0x58f1e4['xlink:href']=_0x58f1e4['xlink:href']+_0x59ab06[_0x3a82eb(0x1a5)]),Object[_0x3a82eb(0x1e9)](_0x58f1e4)['forEach'](function(_0x28798b){const _0x20fed5=_0x3a82eb;var _0x55c11c=_0x28798b[0x0],_0x3b2a35=_0x28798b[0x1];typeof _0x3b2a35==_0x20fed5(0xb0)&&(_0x58f1e4[_0x55c11c]=_0x3b2a35[_0x20fed5(0x179)](/url\(#(.*)\)/,_0x20fed5(0xf0)[_0x20fed5(0x13c)](_0x59ab06[_0x20fed5(0x1a5)],')')));})),_0x58f1e4;}function Hi(_0x129971,_0x21fb93){const _0x56dd5f=_0x2ea585;var _0x56a1f7,_0x216982=_0x21fb93[_0x56dd5f(0x1b0)];return!_0x216982||_0x216982[_0x56dd5f(0x1f5)]===0x0?_0x129971:_0x129971['tag']===_0x56dd5f(0x17f)&&(!((_0x56a1f7=_0x129971[_0x56dd5f(0x18a)])===null||_0x56a1f7===void 0x0)&&_0x56a1f7['length'])?v(v({},_0x129971),{'children':_0x129971[_0x56dd5f(0x18a)]['map'](function(_0x589986){const _0x15a194=_0x56dd5f;return typeof _0x589986[_0x15a194(0x228)]['id']==_0x15a194(0xb0)&&_0x216982&&_0x216982[_0x15a194(0x1b5)](_0x589986[_0x15a194(0x228)]['id'])?v(v({},_0x589986),{'attrs':v(v({},_0x589986[_0x15a194(0x228)]),{'id':_0x589986['attrs']['id']+_0x21fb93[_0x15a194(0x1a5)]})}):_0x589986;})}):_0x129971;}function ji(){const _0x3a3296=_0x2ea585;return Math['random']()[_0x3a3296(0xc8)](0x24)[_0x3a3296(0x275)](0x2,0x8);}je[_0x2ea585(0x22d)]='UniverIcon';var Yi={'tag':_0x2ea585(0x1ce),'attrs':{'xmlns':_0x2ea585(0x13d),'fill':_0x2ea585(0x11c),'viewBox':_0x2ea585(0x26c),'width':_0x2ea585(0x1d7),'height':_0x2ea585(0x1d7)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ea585(0x1d4)},'children':[{'tag':'path','attrs':{'stroke':_0x2ea585(0x1c0),'d':'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','strokeLinecap':_0x2ea585(0x171),'strokeLinejoin':_0x2ea585(0x171),'strokeWidth':1.2}}]},{'tag':_0x2ea585(0x17f),'attrs':{},'children':[{'tag':_0x2ea585(0x64),'attrs':{'id':_0x2ea585(0x22a)},'children':[{'tag':_0x2ea585(0x241),'attrs':{'fill':_0x2ea585(0x246),'d':_0x2ea585(0x211)}}]}]}],'defIds':[_0x2ea585(0x22a)]},Dt=_0x3459f8(function(_0x53352d,_0x4066cc){const _0x27ab01=_0x2ea585;return _0x59c871(je,Object[_0x27ab01(0x112)]({},_0x53352d,{'id':_0x27ab01(0xe9),'ref':_0x4066cc,'icon':Yi}));});function _0x3e72(_0x5087fc,_0x49495e){const _0x552730=_0x5527();return _0x3e72=function(_0x3e72b3,_0x5e6b9f){_0x3e72b3=_0x3e72b3-0x64;let _0x483f29=_0x552730[_0x3e72b3];return _0x483f29;},_0x3e72(_0x5087fc,_0x49495e);}Dt[_0x2ea585(0x22d)]=_0x2ea585(0xef);var Fi={'tag':'svg','attrs':{'xmlns':_0x2ea585(0x13d),'fill':_0x2ea585(0x11c),'viewBox':'0\x200\x2017\x2016','width':_0x2ea585(0x1d7),'height':_0x2ea585(0x1d7)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ea585(0x269)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2ea585(0x78),'strokeLinecap':_0x2ea585(0x171),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2ea585(0x17f),'attrs':{},'children':[{'tag':_0x2ea585(0x64),'attrs':{'id':_0x2ea585(0x107)},'children':[{'tag':_0x2ea585(0x241),'attrs':{'fill':_0x2ea585(0x246),'d':_0x2ea585(0x211),'transform':_0x2ea585(0x243)}}]}]}],'defIds':[_0x2ea585(0x107)]},Nt=_0x3459f8(function(_0x31befd,_0x46557a){const _0x315f74=_0x2ea585;return _0x59c871(je,Object['assign']({},_0x31befd,{'id':_0x315f74(0x1c8),'ref':_0x46557a,'icon':Fi}));});Nt[_0x2ea585(0x22d)]=_0x2ea585(0x20b);function Wi(_0x1d9318){const _0x5cb20b=_0x2ea585;switch(_0x1d9318){case _0x22b9eb[_0x5cb20b(0x114)]:return _0x5cb20b(0xe5);case _0x22b9eb[_0x5cb20b(0x1fd)]:return _0x5cb20b(0x198);case _0x22b9eb[_0x5cb20b(0x193)]:return _0x5cb20b(0x18d);case _0x22b9eb[_0x5cb20b(0x12f)]:return'collabStatus.notCollab';case _0x22b9eb['AWAITING']:case _0x22b9eb[_0x5cb20b(0x73)]:return'collabStatus.syncing';case _0x22b9eb[_0x5cb20b(0x1e6)]:case _0x22b9eb[_0x5cb20b(0x234)]:return'collabStatus.synced';}}function Vi(_0x548b9b){const _0x5b4930=_0x2ea585,{status$:_0x4fab65}=_0x548b9b,_0x353116=_0x445db2(_0x4fab65,_0x22b9eb[_0x5b4930(0x12f)]),_0x43a0a7=_0x3cc4e5(_0x2e50e5),_0x12004e=_0x3cc4e5(_0x5db2de),_0xc3bc21=_0x353116!==_0x22b9eb[_0x5b4930(0x114)],_0xb3acff=_0x43a0a7['t'](Wi(_0x353116)),_0x1587e7=_0xc3bc21?_0x3f689d(Nt,{}):_0x3f689d(Dt,{}),_0x129c4f=_0x357934(()=>{_0xc3bc21||_0x12004e['reconnect']();},[_0xc3bc21,_0x12004e]);function _0xa5cd59(){const _0xed8999=_0x5b4930;return _0x44e5ef(_0xed8999(0xf7),{'className':'univer-flex\x20univer-items-center','onClick':_0x129c4f,'children':[_0x3f689d('div',{'className':_0x1cf2f0(_0xed8999(0x1ba),{'univer-text-green-500':_0xc3bc21,'univer-text-red-500':!_0xc3bc21}),'children':_0x1587e7}),_0x3f689d('div',{'className':_0xed8999(0x24f),'children':_0xb3acff})]});}return _0xc3bc21?_0xa5cd59():_0x3f689d(_0xb08f3e,{'title':_0x43a0a7['t'](_0x5b4930(0x215)),'children':_0xa5cd59()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x11872c,_0x18beb1,_0x2574c9,_0x481da0)=>{const _0x319096=_0x2ea585;for(var _0x391261=_0x481da0>0x1?void 0x0:_0x481da0?Xi(_0x18beb1,_0x2574c9):_0x18beb1,_0x135a59=_0x11872c[_0x319096(0x1f5)]-0x1,_0x2719d2;_0x135a59>=0x0;_0x135a59--)(_0x2719d2=_0x11872c[_0x135a59])&&(_0x391261=_0x2719d2(_0x391261)||_0x391261);return _0x391261;},Q=(_0x4dac5d,_0x103b2d)=>(_0x3d1f64,_0x3e0724)=>_0x103b2d(_0x3d1f64,_0x3e0724,_0x4dac5d);let te=class extends _0x40ba21{constructor(_0x32fe04,_0x49b50b,_0x27c2a6,_0x4b89ce){const _0x32bae3=_0x2ea585;super(),_(this,'_status$',new _0x5d9fc3(_0x22b9eb[_0x32bae3(0x12f)])),(this[_0x32bae3(0x1b4)]=_0x32fe04,this[_0x32bae3(0x21d)]=_0x49b50b,this[_0x32bae3(0x252)]=_0x27c2a6,this[_0x32bae3(0x1cd)]=_0x4b89ce,this['_initStatusComponent'](),this[_0x32bae3(0xd4)]());}['_initStatusListener'](){const _0x566258=_0x2ea585;this[_0x566258(0xb2)](this['_univerInstanceService'][_0x566258(0x251)][_0x566258(0x16b)](_0x32c90e(()=>{const _0x42780e=_0x566258,_0x1a36af=this['_univerInstanceService'][_0x42780e(0x127)]();return _0x1a36af?this[_0x42780e(0x252)][_0x42780e(0x121)](_0x1a36af[_0x42780e(0x263)]()):_0x3b4356(null);}),_0x32c90e(_0x27f29b=>_0x27f29b?_0x27f29b['status$']:_0x3b4356(_0x22b9eb[_0x566258(0x12f)])))['subscribe'](_0x103b88=>{const _0x39900e=_0x566258;this[_0x39900e(0x1d5)]['next'](_0x103b88);}));}[_0x2ea585(0x11a)](){const _0x4cf2a3=_0x2ea585;this[_0x4cf2a3(0xb2)](this['_uiPartsService'][_0x4cf2a3(0x19c)](_0x1bab83[_0x4cf2a3(0x109)],()=>_0xb1d17d(Ki({'status$':this[_0x4cf2a3(0x1d5)]['asObservable']()}),this[_0x4cf2a3(0x21d)])));}};te=Gi([Q(0x0,_0x59e8d0),Q(0x1,_0x1b5eae(_0x5bfc31)),Q(0x2,_0x1b5eae(_0x2e8838)),Q(0x3,_0x1fe8e4)],te);function Ki(_0x1c5c64){const {status$:_0x2ff472}=_0x1c5c64;return function(){return _0x3f689d(Vi,{'status$':_0x2ff472});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x4fba77,_0x232517,_0x3a4281,_0x4baafd)=>{const _0x5e2764=_0x2ea585;for(var _0x42d665=_0x4baafd>0x1?void 0x0:_0x4baafd?zi(_0x232517,_0x3a4281):_0x232517,_0x5c42a8=_0x4fba77[_0x5e2764(0x1f5)]-0x1,_0x443d51;_0x5c42a8>=0x0;_0x5c42a8--)(_0x443d51=_0x4fba77[_0x5c42a8])&&(_0x42d665=_0x443d51(_0x42d665)||_0x42d665);return _0x42d665;},B=(_0x400d48,_0x4b9d63)=>(_0x307b0a,_0x1f5cab)=>_0x4b9d63(_0x307b0a,_0x1f5cab,_0x400d48);let se=class extends _0x40ba21{constructor(_0x29ca8c,_0x253a35,_0x3cea81,_0x2047d0,_0x25f19d,_0x522c21){const _0x4d12b0=_0x2ea585;super(),this['_beforeCloseService']=_0x29ca8c,this[_0x4d12b0(0x149)]=_0x253a35,this[_0x4d12b0(0x1ed)]=_0x3cea81,this['_messageService']=_0x2047d0,this[_0x4d12b0(0x11b)]=_0x25f19d,this[_0x4d12b0(0x21a)]=_0x522c21,this[_0x4d12b0(0x216)](),this[_0x4d12b0(0x1d3)]();}[_0x2ea585(0x216)](){const _0x39fd4c=_0x2ea585;this['disposeWithMe'](this[_0x39fd4c(0xd5)][_0x39fd4c(0x177)](()=>{const _0xb033f0=_0x39fd4c;if(this[_0xb033f0(0x149)][_0xb033f0(0x1da)][_0xb033f0(0x187)])return this[_0xb033f0(0x21a)]['t'](_0xb033f0(0x1c5));}));}[_0x2ea585(0x1d3)](){const _0x1b0111=_0x2ea585;this['disposeWithMe'](this[_0x1b0111(0x1ed)][_0x1b0111(0x267)]['subscribe'](_0x4065d1=>{const _0x1a5327=_0x1b0111;_0x4065d1['id']===_0x5bd043[_0x1a5327(0x1db)]&&this[_0x1a5327(0x1b7)]['show']({'type':_0x4fd420[_0x1a5327(0x14a)],'content':this['_localeService']['t'](_0x1a5327(0xd6))}),_0x4065d1['id']===_0x5bd043['CLOSE_ROOM']&&this[_0x1a5327(0x1b7)][_0x1a5327(0x272)]({'type':_0x4fd420['Warning'],'content':this['_localeService']['t'](_0x1a5327(0x141))}),_0x4065d1['id']===_0x5bd043['PERMISSION_DENIED']&&this[_0x1a5327(0x11b)][_0x1a5327(0x272)]({'title':this[_0x1a5327(0x21a)]['t'](_0x1a5327(0x6a)),'content':this[_0x1a5327(0x21a)]['t'](_0x1a5327(0x208)),'type':'error','duration':0x0}),_0x4065d1['id']===_0x5bd043[_0x1a5327(0x1fd)]&&this[_0x1a5327(0x1b7)][_0x1a5327(0x272)]({'type':_0x4fd420[_0x1a5327(0x1f4)],'content':this['_localeService']['t'](_0x1a5327(0x141))+'('+_0x4065d1['data']+')'}),_0x4065d1['id']===_0x5bd043[_0x1a5327(0x168)]&&this[_0x1a5327(0x1b7)]['show']({'type':_0x4fd420['Warning'],'content':this[_0x1a5327(0x21a)]['t'](_0x4065d1['data']||'')}),_0x4065d1['id']===_0x5bd043[_0x1a5327(0x181)]&&this['_messageService'][_0x1a5327(0x272)]({'type':_0x4fd420[_0x1a5327(0x14a)],'content':this['_localeService']['t'](_0x1a5327(0x1aa))}),_0x4065d1['id']===_0x5bd043[_0x1a5327(0x128)]&&this['_messageService'][_0x1a5327(0x272)]({'type':_0x4fd420['Error'],'content':this['_localeService']['t'](_0x1a5327(0x19d))}),_0x4065d1['id']===_0x5bd043[_0x1a5327(0x1e5)]&&this[_0x1a5327(0x1b7)]['show']({'type':_0x4fd420[_0x1a5327(0x1f4)],'content':this[_0x1a5327(0x21a)]['t'](_0x1a5327(0x261))});}));}};se=Ji([B(0x0,_0x4cff3d),B(0x1,_0xb2bb6a),B(0x2,_0x1b5eae(_0x146bdc)),B(0x3,_0x334ab7),B(0x4,_0x526ec6),B(0x5,_0x1b5eae(_0x2e50e5))],se);const Zi=_0x2ea585(0x155),et={},Ut=_0x44fa29(_0x2ea585(0x1dd));var Qi=Object[_0x2ea585(0x16f)],qi=(_0x4e68c4,_0x454070,_0x33bf4c,_0x5b0441)=>{const _0x549b14=_0x2ea585;for(var _0x314592=_0x5b0441>0x1?void 0x0:_0x5b0441?Qi(_0x454070,_0x33bf4c):_0x454070,_0x3b8e6a=_0x4e68c4[_0x549b14(0x1f5)]-0x1,_0x22a0be;_0x3b8e6a>=0x0;_0x3b8e6a--)(_0x22a0be=_0x4e68c4[_0x3b8e6a])&&(_0x314592=_0x22a0be(_0x314592)||_0x314592);return _0x314592;},G=(_0x823b51,_0x1f086c)=>(_0x520564,_0x7da267)=>_0x1f086c(_0x520564,_0x7da267,_0x823b51);let ie=class extends _0x3eac5d{constructor(_0x26bbe8,_0x35e236,_0x4b711c,_0x45e923,_0x4ff00c){const _0x3edd22=_0x2ea585;super(),this[_0x3edd22(0xc3)]=_0x26bbe8,this[_0x3edd22(0x135)]=_0x35e236,this['_commandService']=_0x4b711c,this[_0x3edd22(0x92)]=_0x45e923,_0x4ff00c?_0x4ff00c==null||_0x4ff00c[_0x3edd22(0x26d)]()[_0x3edd22(0x7f)](()=>this[_0x3edd22(0x15d)]()):(this[_0x3edd22(0x135)][_0x3edd22(0x118)](_0x3edd22(0x1a0),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3edd22(0x15d)]());}async[_0x2ea585(0x15d)](){const _0x1f78bc=_0x2ea585,_0x562083=this[_0x1f78bc(0xc3)][_0x1f78bc(0x1a2)](_0x1f78bc(0x94)),_0x1eff5d=this['_urlService']['getParam'](_0x1f78bc(0x162)),_0x24bbd2=this[_0x1f78bc(0xc3)][_0x1f78bc(0x1a2)](_0x1f78bc(0x1fa));if(!_0x562083||!_0x1eff5d){this['_logService'][_0x1f78bc(0x118)](_0x1f78bc(0x1a0),_0x1f78bc(0xa6));return;}const _0x5e6ad7=await this[_0x1f78bc(0x92)]['loadUnit'](_0x562083,Number(_0x1eff5d),_0x24bbd2);_0x5e6ad7&&_0x5e6ad7 instanceof _0x197ab5&&this[_0x1f78bc(0x9e)](_0x5e6ad7);}async[_0x2ea585(0x9e)](_0xfdeebf){const _0x2199c8=_0x2ea585;await this[_0x2199c8(0x90)](_0xfdeebf),_0xfdeebf[_0x2199c8(0x123)][_0x2199c8(0x16b)](_0x53da7d(this[_0x2199c8(0x10b)]))[_0x2199c8(0x21c)](_0x39c157=>{const _0x53941e=_0x2199c8;_0x39c157&&this[_0x53941e(0x1e0)](_0x39c157);}),this[_0x2199c8(0xc3)][_0x2199c8(0x7b)][_0x2199c8(0x16b)](_0x53da7d(this['dispose$']))[_0x2199c8(0x21c)](()=>this[_0x2199c8(0x90)](_0xfdeebf));}['_updateURLWithCurrentState'](_0x29ed73,_0x19d268=!0x1){const _0x57dd19=_0x2ea585,_0x4d11db=this['_urlService'][_0x57dd19(0x1a2)](_0x57dd19(0x1fa));_0x29ed73[_0x57dd19(0x17b)]()!==_0x4d11db&&this[_0x57dd19(0xc3)][_0x57dd19(0x276)](_0x57dd19(0x1fa),_0x29ed73[_0x57dd19(0x17b)](),_0x19d268);}async['_updateSubUnitFromURLParams'](_0x403cf7){const _0x354648=_0x2ea585;var _0x45dc33;const _0xb6eef2=this[_0x354648(0xc3)][_0x354648(0x1a2)](_0x354648(0x1fa));if(!_0xb6eef2||!_0x403cf7[_0x354648(0x247)](_0xb6eef2)){const _0x90732a=_0x403cf7[_0x354648(0x148)]()[0x0],_0x68c549=_0x403cf7[_0x354648(0x247)](_0x90732a);if(!_0x68c549)return;this[_0x354648(0x1e0)](_0x68c549,!0x0),await this[_0x354648(0xf2)][_0x354648(0x1bf)](_0xe11ab0['id'],{'unitId':_0x403cf7[_0x354648(0x263)](),'subUnitId':_0x90732a});return;}((_0x45dc33=_0x403cf7['getActiveSheet']())==null?void 0x0:_0x45dc33[_0x354648(0x17b)]())!==_0xb6eef2&&await this[_0x354648(0xf2)]['executeCommand'](_0xe11ab0['id'],{'unitId':_0x403cf7['getUnitId'](),'subUnitId':_0xb6eef2});}};ie=qi([G(0x0,Ut),G(0x1,_0x2ac48a),G(0x2,_0xa8cbfd),G(0x3,_0x1b5eae(_0x50b1e1)),G(0x4,_0x17b026(_0xe94f31))],ie);var en=Object[_0x2ea585(0x16f)],tn=(_0x827868,_0x422ed3,_0x26e852,_0x3fbb94)=>{const _0x2e475f=_0x2ea585;for(var _0x30ab93=_0x3fbb94>0x1?void 0x0:_0x3fbb94?en(_0x422ed3,_0x26e852):_0x422ed3,_0x3b403e=_0x827868[_0x2e475f(0x1f5)]-0x1,_0x5e434d;_0x3b403e>=0x0;_0x3b403e--)(_0x5e434d=_0x827868[_0x3b403e])&&(_0x30ab93=_0x5e434d(_0x30ab93)||_0x30ab93);return _0x30ab93;},pe=(_0x112468,_0x222a80)=>(_0x1f2361,_0x389c55)=>_0x222a80(_0x1f2361,_0x389c55,_0x112468);let ne=class{constructor(_0x8f125c,_0x59ae3e,_0x2d2f81){const _0x42304a=_0x2ea585;this[_0x42304a(0x21d)]=_0x8f125c,this[_0x42304a(0x25e)]=_0x59ae3e,this['_renderManagerService']=_0x2d2f81;}[_0x2ea585(0x273)](_0x5d9464){const _0x155ef2=_0x2ea585;this[_0x155ef2(0xf1)](_0x5d9464),this[_0x155ef2(0x213)](_0x5d9464);}[_0x2ea585(0x10d)](_0x1a9694){const _0x24f6ba=_0x2ea585,{unitID:_0x51021c}=_0x1a9694,_0x3667f3=this[_0x24f6ba(0x1d6)]['getRenderById'](_0x51021c)[_0x24f6ba(0xfd)](_0x3b8c66),{redoCache:_0x2eb70a}=_0x3667f3[_0x24f6ba(0xe7)]();if(_0x2eb70a['length']===0x0)return _0x1a9694;let _0x4d51d2=_0x45a912[_0x24f6ba(0x6b)](_0x1a9694[_0x24f6ba(0x189)][0x0]);for(let _0x5e9676=0x0;_0x5e9676<_0x2eb70a[_0x24f6ba(0x1f5)];_0x5e9676++){const _0x4afcb0={'id':_0x24f6ba(0x226),'params':{..._0x2eb70a[_0x5e9676]}},_0x54b71a=this[_0x24f6ba(0x25e)]['transformMutation'](_0x4d51d2,_0x4afcb0,!0x1);if(_0x1c5976(_0x54b71a))throw _0x54b71a[_0x24f6ba(0x274)];_0x4d51d2=_0x54b71a[_0x24f6ba(0x200)];}return{..._0x45a912[_0x24f6ba(0x6b)](_0x1a9694),'mutations':[_0x4d51d2]};}['_transformUndoRedoStack'](_0x1dde38){const _0x2052ef=_0x2ea585,{unitID:_0xf86685}=_0x1dde38,_0x50af32=this[_0x2052ef(0x1d6)][_0x2052ef(0x25f)](_0xf86685)['with'](_0x3b8c66),{undoCache:_0x3cf17a,redoCache:_0x45e123}=_0x50af32[_0x2052ef(0xe7)]();if(_0x3cf17a[_0x2052ef(0x1f5)]===0x0||_0x45e123['length']===0x0)return;const _0x24800d=[],_0x5ec25a=[];let _0x57a46b=_0x45a912[_0x2052ef(0x6b)](_0x1dde38[_0x2052ef(0x189)][0x0]),_0x58649e=_0x45a912[_0x2052ef(0x6b)](_0x1dde38[_0x2052ef(0x189)][0x0]);for(let _0x50eb08=_0x3cf17a['length']-0x1;_0x50eb08>=0x0;_0x50eb08--){const _0x38e72c={'id':_0x2052ef(0x226),'params':{..._0x3cf17a[_0x50eb08]}},_0x224b8c={'id':_0x2052ef(0x226),'params':{..._0x45e123[_0x50eb08]}},_0x12b9ae=this[_0x2052ef(0x25e)]['transformMutation'](_0x57a46b,_0x38e72c,!0x1),_0x293e19=this[_0x2052ef(0x25e)]['transformMutation'](_0x58649e,_0x224b8c,!0x1);if(_0x1c5976(_0x12b9ae))throw _0x12b9ae[_0x2052ef(0x274)];if(_0x1c5976(_0x293e19))throw _0x293e19['error'];_0x24800d[_0x2052ef(0x232)](_0x12b9ae[_0x2052ef(0x69)][_0x2052ef(0x1a1)]),_0x5ec25a[_0x2052ef(0x232)](_0x293e19[_0x2052ef(0x69)]['params']),_0x57a46b=_0x12b9ae['m1Prime'],_0x58649e=_0x293e19[_0x2052ef(0x200)];}_0x50af32[_0x2052ef(0xaf)]({'undoCache':_0x24800d,'redoCache':_0x5ec25a});}[_0x2ea585(0x213)](_0xf2fb7b){const _0x55846b=_0x2ea585,{unitID:_0x1ad022}=_0xf2fb7b,_0x5512e9=this[_0x55846b(0x1d6)]['getRenderById'](_0x1ad022)[_0x55846b(0xfd)](_0x3b8c66),_0x335c46=_0x5512e9[_0x55846b(0x236)]();if(_0x335c46==null)return;const _0x83b652=[{'id':_0x55846b(0x226),'params':{'unitId':_0xf2fb7b[_0x55846b(0x210)],'actions':null,'textRanges':[_0x335c46]}}],_0x4424f2=this[_0x55846b(0x25e)][_0x55846b(0xcc)](_0xf2fb7b,_0x83b652);if(!_0x4089ae(_0x4424f2))throw _0x4424f2[_0x55846b(0x274)];const _0x2846e7=_0x4424f2[_0x55846b(0x69)][0x0][_0x55846b(0x1a1)][_0x55846b(0x1f8)];Array['isArray'](_0x2846e7)&&_0x2846e7['length']&&_0x5512e9[_0x55846b(0x1bb)](_0x2846e7[0x0]);}};ne=tn([pe(0x0,_0x1b5eae(_0x5bfc31)),pe(0x1,_0x24498d),pe(0x2,_0x199ab1)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x151936,_0x4fdf16,_0x357454,_0x4e4bd7)=>{const _0x1550de=_0x2ea585;for(var _0x162411=_0x4e4bd7>0x1?void 0x0:_0x4e4bd7?sn(_0x4fdf16,_0x357454):_0x4fdf16,_0xa2dc25=_0x151936[_0x1550de(0x1f5)]-0x1,_0x1f29a7;_0xa2dc25>=0x0;_0xa2dc25--)(_0x1f29a7=_0x151936[_0xa2dc25])&&(_0x162411=_0x1f29a7(_0x162411)||_0x162411);return _0x162411;},Ce=(_0x2f7aac,_0x19baee)=>(_0x1b4cb2,_0x3214ae)=>_0x19baee(_0x1b4cb2,_0x3214ae,_0x2f7aac);let re=class{constructor(_0x33b92e,_0x304ec9,_0x29427d){const _0x46fd76=_0x2ea585;this[_0x46fd76(0x21d)]=_0x33b92e,this[_0x46fd76(0x25e)]=_0x304ec9,this[_0x46fd76(0x25a)]=_0x29427d;}[_0x2ea585(0x185)](_0x3e5d16){const _0x48f820=_0x2ea585;this[_0x48f820(0x271)](_0x3e5d16);}['transformRemoteChangeset'](_0x1c8ac3){const _0x6374d5=_0x2ea585,{unitID:_0x54127f}=_0x1c8ac3,{collaboration:_0x1cec4a}=this[_0x6374d5(0x25a)][_0x6374d5(0x170)](_0x54127f);if(_0x1cec4a[_0x6374d5(0x1f5)]===0x0)return _0x1c8ac3;let _0x3b11c8=_0x45a912[_0x6374d5(0x6b)](_0x1c8ac3[_0x6374d5(0x189)][0x0]);for(let _0x5db274=0x0;_0x5db274<_0x1cec4a[_0x6374d5(0x1f5)];_0x5db274++){const _0x2dbeba={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1cec4a[_0x5db274][_0x6374d5(0xfb)],..._0x1cec4a[_0x5db274][_0x6374d5(0x14e)]}},_0x282d94=this[_0x6374d5(0x25e)][_0x6374d5(0x164)](_0x3b11c8,_0x2dbeba,!0x1);if(_0x1c5976(_0x282d94))throw _0x282d94[_0x6374d5(0x274)];_0x3b11c8=_0x282d94[_0x6374d5(0x200)];}return{..._0x45a912[_0x6374d5(0x6b)](_0x1c8ac3),'mutations':[_0x3b11c8]};}[_0x2ea585(0x271)](_0x446935){const _0x5594b8=_0x2ea585,{unitID:_0x32daa0}=_0x446935,{history:_0xb245bb,collaboration:_0x5eb6c8}=this['_docStateChangeManagerService'][_0x5594b8(0x170)](_0x32daa0);if(_0xb245bb['length']===0x0&&_0x5eb6c8[_0x5594b8(0x1f5)]===0x0)return;const _0x33e413=[],_0x4a6c5c=[];let _0x350689=_0x45a912[_0x5594b8(0x6b)](_0x446935[_0x5594b8(0x189)][0x0]),_0x1046eb=_0x45a912[_0x5594b8(0x6b)](_0x446935[_0x5594b8(0x189)][0x0]);for(let _0x1dfba6=_0xb245bb[_0x5594b8(0x1f5)]-0x1;_0x1dfba6>=0x0;_0x1dfba6--){const _0x4a2580={'id':_0x5594b8(0x226),'params':{'unitId':_0xb245bb[_0x1dfba6][_0x5594b8(0xfb)],..._0xb245bb[_0x1dfba6][_0x5594b8(0x93)]}},_0x4b07aa={'id':_0x5594b8(0x226),'params':{'unitId':_0xb245bb[_0x1dfba6][_0x5594b8(0xfb)],..._0xb245bb[_0x1dfba6]['redoState']}},_0x5615be=this[_0x5594b8(0x25e)][_0x5594b8(0x164)](_0x350689,_0x4a2580,!0x1),_0x453209=this[_0x5594b8(0x25e)][_0x5594b8(0x164)](_0x1046eb,_0x4b07aa,!0x1);if(_0x1c5976(_0x5615be))throw _0x5615be[_0x5594b8(0x274)];if(_0x1c5976(_0x453209))throw _0x453209[_0x5594b8(0x274)];_0x33e413['unshift']({..._0xb245bb[_0x1dfba6],'undoState':_0x5615be[_0x5594b8(0x69)]['params'],'redoState':_0x453209['m2Prime']['params']}),_0x350689=_0x5615be[_0x5594b8(0x200)],_0x1046eb=_0x453209[_0x5594b8(0x200)];}_0x350689=_0x45a912[_0x5594b8(0x6b)](_0x446935[_0x5594b8(0x189)][0x0]),_0x1046eb=_0x45a912[_0x5594b8(0x6b)](_0x446935[_0x5594b8(0x189)][0x0]);for(let _0x5a5b33=_0x5eb6c8[_0x5594b8(0x1f5)]-0x1;_0x5a5b33>=0x0;_0x5a5b33--){const _0x59c425={'id':_0x5594b8(0x226),'params':{'unitId':_0x5eb6c8[_0x5a5b33][_0x5594b8(0xfb)],..._0x5eb6c8[_0x5a5b33][_0x5594b8(0x93)]}},_0x50e3ae={'id':_0x5594b8(0x226),'params':{'unitId':_0x5eb6c8[_0x5a5b33][_0x5594b8(0xfb)],..._0x5eb6c8[_0x5a5b33]['redoState']}},_0x34ff2a=this[_0x5594b8(0x25e)]['transformMutation'](_0x350689,_0x59c425,!0x1),_0xbd4610=this['_transformService'][_0x5594b8(0x164)](_0x1046eb,_0x50e3ae,!0x1);if(_0x1c5976(_0x34ff2a))throw _0x34ff2a['error'];if(_0x1c5976(_0xbd4610))throw _0xbd4610[_0x5594b8(0x274)];_0x4a6c5c[_0x5594b8(0x232)]({..._0x5eb6c8[_0x5a5b33],'undoState':_0x34ff2a[_0x5594b8(0x69)][_0x5594b8(0x1a1)],'redoState':_0xbd4610['m2Prime'][_0x5594b8(0x1a1)]}),_0x350689=_0x34ff2a[_0x5594b8(0x200)],_0x1046eb=_0xbd4610[_0x5594b8(0x200)];}this[_0x5594b8(0x25a)]['setStateCache'](_0x32daa0,{'history':_0x33e413,'collaboration':_0x4a6c5c});}};re=nn([Ce(0x0,_0x1b5eae(_0x5bfc31)),Ce(0x1,_0x24498d),Ce(0x2,_0x1b5eae(_0x1d23eb))],re);var rn=Object[_0x2ea585(0x16f)],on=(_0x45e6ae,_0x1e3e77,_0x272243,_0x4b9c6e)=>{const _0x2d87e0=_0x2ea585;for(var _0x2b5ed8=_0x4b9c6e>0x1?void 0x0:_0x4b9c6e?rn(_0x1e3e77,_0x272243):_0x1e3e77,_0x87c3ab=_0x45e6ae[_0x2d87e0(0x1f5)]-0x1,_0xc143d7;_0x87c3ab>=0x0;_0x87c3ab--)(_0xc143d7=_0x45e6ae[_0x87c3ab])&&(_0x2b5ed8=_0xc143d7(_0x2b5ed8)||_0x2b5ed8);return _0x2b5ed8;},tt=(_0x32df10,_0x36a407)=>(_0x44e682,_0x48fa99)=>_0x36a407(_0x44e682,_0x48fa99,_0x32df10);let oe=class{constructor(_0x16ba39,_0x29a0d5){const _0x397a85=_0x2ea585;this[_0x397a85(0x21d)]=_0x16ba39,this['_transformService']=_0x29a0d5;}[_0x2ea585(0xa0)](_0x4c9d9a){const _0x44d736=_0x2ea585;var _0x5b77a6;const _0xcc019b=this[_0x44d736(0x21d)]['get'](_0x232b51),_0x2db7a1=(_0x5b77a6=_0xcc019b['getDocRanges']())!=null?_0x5b77a6:[];if(_0x2db7a1[_0x44d736(0x1f5)]===0x0)return;const _0x2adb23=_0x4c9d9a[_0x44d736(0x210)],_0x2ac179=[{'id':_0x44d736(0x226),'params':{'unitId':_0x2adb23,'actions':null,'textRanges':_0x2db7a1}}],_0x1a1276=this[_0x44d736(0x25e)]['transformMutationsWithChangeset'](_0x4c9d9a,_0x2ac179);if(!_0x4089ae(_0x1a1276))throw _0x1a1276['error'];const _0x4baf6c=_0x1a1276[_0x44d736(0x69)][0x0][_0x44d736(0x1a1)][_0x44d736(0x1f8)];Array[_0x44d736(0x113)](_0x4baf6c)&&_0x4baf6c[_0x44d736(0x1f5)]&&_0xcc019b[_0x44d736(0xea)](_0x4baf6c,{'unitId':_0x2adb23,'subUnitId':_0x2adb23},!0x1);}};oe=on([tt(0x0,_0x1b5eae(_0x5bfc31)),tt(0x1,_0x24498d)],oe);var an=Object[_0x2ea585(0x16f)],cn=(_0x1acca4,_0x194d6d,_0xa426f0,_0x3d0969)=>{const _0x2d2e9a=_0x2ea585;for(var _0x181826=_0x3d0969>0x1?void 0x0:_0x3d0969?an(_0x194d6d,_0xa426f0):_0x194d6d,_0xa9343c=_0x1acca4[_0x2d2e9a(0x1f5)]-0x1,_0x1fd4a2;_0xa9343c>=0x0;_0xa9343c--)(_0x1fd4a2=_0x1acca4[_0xa9343c])&&(_0x181826=_0x1fd4a2(_0x181826)||_0x181826);return _0x181826;},U=(_0x6fe634,_0x383608)=>(_0x268ae7,_0x170bb2)=>_0x383608(_0x268ae7,_0x170bb2,_0x6fe634);let ae=class extends _0x40ba21{constructor(_0xbd6e85,_0x51c0e5,_0x366273,_0x5583b6,_0x2135eb,_0x461491,_0x428b7c,_0x141282){const _0x18ce40=_0x2ea585;super(),_(this,_0x18ce40(0x1d5),new _0x5d9fc3(_0x22b9eb[_0x18ce40(0x12f)])),(this['_docStateChangeManagerService']=_0xbd6e85,this[_0x18ce40(0x252)]=_0x51c0e5,this['_docTransformIMECacheService']=_0x366273,this[_0x18ce40(0x7e)]=_0x5583b6,this[_0x18ce40(0x176)]=_0x2135eb,this['_docSyncEditingCollabCursorService']=_0x461491,this['_messageService']=_0x428b7c,this[_0x18ce40(0x21a)]=_0x141282,this[_0x18ce40(0x22b)]());}['_initEntityListener'](){const _0x1ca308=_0x2ea585;this[_0x1ca308(0xb2)](this[_0x1ca308(0x252)][_0x1ca308(0xb9)][_0x1ca308(0x21c)](_0x6528d9=>{const _0x265e13=_0x1ca308,_0x1e06ec=this['_docStateChangeManagerService'][_0x265e13(0x1b1)][_0x265e13(0x21c)](_0x436ee3=>{const _0x3e8990=_0x265e13;if(_0x436ee3==null)return;const {unitId:_0x26eff6,redoState:_0x2a880b,commandId:_0x4bb82e}=_0x436ee3;if(_0x26eff6!==_0x6528d9[_0x3e8990(0x210)])return;const _0x1ad104={'id':_0x4bb82e,'type':_0x4a0f45[_0x3e8990(0x157)],'params':{'unitId':_0x26eff6,'actions':_0x2a880b[_0x3e8990(0x1c1)],'textRanges':null}};_0x6528d9[_0x3e8990(0x15f)](_0x1ad104);});if(_0x6528d9[_0x265e13(0xb2)](_0x1e06ec),_0x6528d9 instanceof _0x40f114){const _0x5dfa9b={'onTransformIME':_0xbedc87=>this[_0x265e13(0x188)][_0x265e13(0x273)](_0xbedc87),'onTransformState':_0x1ce6c0=>this[_0x265e13(0x7e)][_0x265e13(0x185)](_0x1ce6c0),'onTransformSelections':_0x4e31ba=>this['_docTransformSelectionsService']['transformSelections'](_0x4e31ba),'onSyncEditingCollabCursor':_0x2683d3=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x2683d3),'onTransformRemoteChangesetByIMECache':_0x52bf21=>this['_docTransformIMECacheService'][_0x265e13(0x10d)](_0x52bf21),'onTransformRemoteChangesetByStateCache':_0x3baaa3=>this[_0x265e13(0x7e)][_0x265e13(0x10d)](_0x3baaa3)};_0x6528d9[_0x265e13(0x25b)](_0x5dfa9b);}}));}};ae=cn([U(0x0,_0x1b5eae(_0x1d23eb)),U(0x1,_0x1b5eae(_0x2e8838)),U(0x2,_0x1b5eae(ne)),U(0x3,_0x1b5eae(re)),U(0x4,_0x1b5eae(oe)),U(0x5,_0x1b5eae(He)),U(0x6,_0x334ab7),U(0x7,_0x1b5eae(_0x2e50e5))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x446154,_0x296995,_0x351577,_0x4eaa57)=>{const _0x5ca8c9=_0x2ea585;for(var _0x1e1095=_0x4eaa57>0x1?void 0x0:_0x4eaa57?ln(_0x296995,_0x351577):_0x296995,_0x375bd2=_0x446154[_0x5ca8c9(0x1f5)]-0x1,_0x38787a;_0x375bd2>=0x0;_0x375bd2--)(_0x38787a=_0x446154[_0x375bd2])&&(_0x1e1095=_0x38787a(_0x1e1095)||_0x1e1095);return _0x1e1095;},Ee=(_0x332373,_0x4f6f7e)=>(_0x472ff4,_0x114fcc)=>_0x4f6f7e(_0x472ff4,_0x114fcc,_0x332373);let Le=class extends _0x40ba21{constructor(_0x3f75c3,_0x1e82d2,_0x25056e){const _0x47fbf9=_0x2ea585;super(),_(this,_0x47fbf9(0x1f0),new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x3f75c3,this[_0x47fbf9(0x8e)]=_0x1e82d2,this[_0x47fbf9(0x1ac)]=_0x25056e);}['disableLocalCache'](){const _0x326773=_0x2ea585;this[_0x326773(0x6c)]=!0x0;}[_0x2ea585(0xbf)](){const _0x4831c3=_0x2ea585;this[_0x4831c3(0x6c)]=!0x1;}get[_0x2ea585(0x1da)](){return this['_saveTaskMap'];}['dispose'](){const _0x4c4b7b=_0x2ea585;this[_0x4c4b7b(0x86)]()[_0x4c4b7b(0x7f)](()=>super[_0x4c4b7b(0x195)]());}async[_0x2ea585(0xd2)](_0x5e9a35){const _0x37df94=_0x2ea585;return this[_0x37df94(0x6c)]?null:this[_0x37df94(0x8e)][_0x37df94(0x1a6)](_0x3c28af(_0x5e9a35));}async['saveOfflineData'](_0x109cbf,_0x3b2259){const _0x583bec=_0x2ea585;return!!this['_localStorageService'][_0x583bec(0x1e3)](_0x109cbf,_0x3b2259);}[_0x2ea585(0x115)](_0x856e18,_0x125da8,_0x34ab12,_0x3bd3ea){const _0x33f5f8=_0x2ea585,_0x54f44d=this[_0x33f5f8(0x1ac)][_0x33f5f8(0xd3)](_0x856e18);this[_0x33f5f8(0x1f0)][_0x33f5f8(0x22c)](_0x856e18,{'unitID':_0x856e18,'type':_0x125da8,'awaitingChangeset':_0x34ab12,'mutations':_0x3bd3ea,'rev':_0x54f44d}),this[_0x33f5f8(0x196)][_0x33f5f8(0xa7)](_0x856e18)||this[_0x33f5f8(0x1cf)](_0x856e18);}[_0x2ea585(0x1cf)](_0x24dd06){const _0xce2678=_0x2ea585,_0x3d8c5e=this[_0xce2678(0x6f)]();_0x3d8c5e===0x0?this[_0xce2678(0x110)](_0x24dd06):this[_0xce2678(0x196)][_0xce2678(0x22c)](_0x24dd06,setTimeout(()=>this[_0xce2678(0x110)](_0x24dd06),_0x3d8c5e));}[_0x2ea585(0x6f)](){const _0x535316=_0x2ea585;var _0x48921c;return(_0x48921c=this[_0x535316(0x21f)]['getConfig'](_0x4193b7))!=null?_0x48921c:_0x4961b2;}[_0x2ea585(0x110)](_0x452b04){const _0x1f1efb=_0x2ea585,_0x3a3ba5=this[_0x1f1efb(0x196)][_0x1f1efb(0x277)](_0x452b04);return _0x3a3ba5!==void 0x0&&window['clearTimeout'](_0x3a3ba5),this['_localStorageService'][_0x1f1efb(0x1e3)](_0x3c28af(_0x452b04),this[_0x1f1efb(0x1f0)][_0x1f1efb(0x277)](_0x452b04))[_0x1f1efb(0x7f)](()=>this[_0x1f1efb(0x196)][_0x1f1efb(0xb5)](_0x452b04));}async[_0x2ea585(0x86)](){const _0x215906=_0x2ea585,_0x3dde3e=[];this[_0x215906(0x196)][_0x215906(0x7d)]((_0x193b89,_0x33bc07)=>{const _0x521835=_0x215906;window[_0x521835(0x20f)](_0x193b89),_0x3dde3e[_0x521835(0xca)](this[_0x521835(0x110)](_0x33bc07)['then'](()=>{const _0x43f9cd=_0x521835;this[_0x43f9cd(0x196)][_0x43f9cd(0xb5)](_0x33bc07);}));}),await Promise[_0x215906(0x1cc)](_0x3dde3e);}};Le=_n([Ee(0x0,_0x15811c),Ee(0x1,_0x46737b),Ee(0x2,_0x1b5eae(_0x34be82))],Le);class hn extends _0x3eac5d{constructor(){const _0x2c906a=_0x2ea585;super(),_(this,_0x2c906a(0x7b)),this[_0x2c906a(0x7b)]=_0xe04811(window,_0x2c906a(0x1d8))[_0x2c906a(0x16b)](_0x53da7d(this[_0x2c906a(0x10b)]),_0x3f6233(0x1),_0x296ed6(void 0x0));}[_0x2ea585(0x276)](_0xfdfbb0,_0x1f03ab,_0x436431=!0x1){const _0x43ffce=_0x2ea585,_0x24fcef=new URL(window[_0x43ffce(0x8b)][_0x43ffce(0x24a)]);_0x24fcef[_0x43ffce(0x1df)][_0x43ffce(0x22c)](_0xfdfbb0,_0x1f03ab),_0x436431?window[_0x43ffce(0x265)]['replaceState']('','',_0x24fcef[_0x43ffce(0xc8)]()):window[_0x43ffce(0x265)][_0x43ffce(0x222)]('','',_0x24fcef[_0x43ffce(0xc8)]());}[_0x2ea585(0x145)](_0x4c8ed5,_0x20a5d4=!0x1){const _0x21c4f5=_0x2ea585,_0x4b2822=new URL(window[_0x21c4f5(0x8b)][_0x21c4f5(0x24a)]);_0x4b2822[_0x21c4f5(0x1df)][_0x21c4f5(0xb5)](_0x4c8ed5),_0x20a5d4?window[_0x21c4f5(0x265)][_0x21c4f5(0x205)]('','',_0x4b2822[_0x21c4f5(0xc8)]()):window[_0x21c4f5(0x265)][_0x21c4f5(0x222)]('','',_0x4b2822[_0x21c4f5(0xc8)]());}[_0x2ea585(0x1a2)](_0x50b328){const _0x2f81e5=_0x2ea585;var _0x237bd4;return(_0x237bd4=new URL(window[_0x2f81e5(0x8b)][_0x2f81e5(0x24a)])[_0x2f81e5(0x1df)]['get'](_0x50b328))!=null?_0x237bd4:void 0x0;}}var un=Object[_0x2ea585(0x75)],dn=Object[_0x2ea585(0x16f)],fn=(_0x188ad1,_0x391410,_0x2570e0)=>_0x391410 in _0x188ad1?un(_0x188ad1,_0x391410,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2570e0}):_0x188ad1[_0x391410]=_0x2570e0,Sn=(_0x156d12,_0x367754,_0x53a04c,_0x199532)=>{const _0x2d21ed=_0x2ea585;for(var _0x4c278d=_0x199532>0x1?void 0x0:_0x199532?dn(_0x367754,_0x53a04c):_0x367754,_0x12add9=_0x156d12[_0x2d21ed(0x1f5)]-0x1,_0x192899;_0x12add9>=0x0;_0x12add9--)(_0x192899=_0x156d12[_0x12add9])&&(_0x4c278d=_0x192899(_0x4c278d)||_0x4c278d);return _0x4c278d;},Oe=(_0x393c5f,_0x162464)=>(_0x132da5,_0x4fb8cd)=>_0x162464(_0x132da5,_0x4fb8cd,_0x393c5f),mn=(_0xde2a97,_0x3fe3d1,_0x2193c3)=>fn(_0xde2a97,_0x3fe3d1+'',_0x2193c3);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x5650a0{constructor(_0x33ff0a=et,_0x58c68a,_0x35d359,_0x355eae){const _0x26d263=_0x2ea585;super(),this[_0x26d263(0x12b)]=_0x33ff0a,this[_0x26d263(0x1d6)]=_0x58c68a,this[_0x26d263(0x21d)]=_0x35d359,this[_0x26d263(0x21f)]=_0x355eae;const {..._0x40b7ae}=_0x1c6faa({},et,this[_0x26d263(0x12b)]);this[_0x26d263(0x21f)]['setConfig'](Zi,_0x40b7ae);}[_0x2ea585(0x10f)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2ea585(0x11f)](){this['_registerRenderDependencies']();}[_0x2ea585(0x10a)](){const _0x209a80=_0x2ea585;var _0x511964;const _0x301309=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x50064a,{'useClass':_0x5a68be}],[_0xb2bb6a,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x146ce2(this['_injector'],_0x3c03b0(_0x301309,(_0x511964=this[_0x209a80(0x12b)])==null?void 0x0:_0x511964[_0x209a80(0x238)]));}[_0x2ea585(0x129)](){const _0x579921=_0x2ea585;this['disposeWithMe'](this[_0x579921(0x1d6)][_0x579921(0xdb)](_0x17d1c2[_0x579921(0x174)],[we])),this[_0x579921(0xb2)](this[_0x579921(0x1d6)]['registerRenderModule'](_0x17d1c2['UNIVER_SHEET'],[Pe]));}[_0x2ea585(0x136)](){_0x1e96cf(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x2fb02a(_0x4d1be4),Oe(0x1,_0x199ab1),Oe(0x2,_0x1b5eae(_0x5bfc31)),Oe(0x3,_0x15811c)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0xb9ed7b,_0x297827,_0x245242,_0x54581d)=>{for(var _0x5a3bb2=_0x54581d>0x1?void 0x0:_0x54581d?gn(_0x297827,_0x245242):_0x297827,_0x3477f5=_0xb9ed7b['length']-0x1,_0x54be81;_0x3477f5>=0x0;_0x3477f5--)(_0x54be81=_0xb9ed7b[_0x3477f5])&&(_0x5a3bb2=_0x54be81(_0x5a3bb2)||_0x5a3bb2);return _0x5a3bb2;},K=(_0x49ba15,_0x2f93b7)=>(_0x3a2f09,_0x509fa1)=>_0x2f93b7(_0x3a2f09,_0x509fa1,_0x49ba15);let st=class extends _0xa51a02{constructor(_0xaf69a2,_0x2b498c,_0x3c41fc,_0x1ea314,_0x288f33){super(_0xaf69a2,_0x2b498c,_0x3c41fc,_0x1ea314,_0x288f33);}async[_0x2ea585(0x19f)](_0x47e917){const _0x19da42=_0x2ea585,_0x4217ff=await this['_getSessionTicket'](),_0x230402=this[_0x19da42(0x1ee)](_0x47e917,_0x4217ff);return this['_doCreateSocket'](_0x230402);}[_0x2ea585(0x1ee)](_0x39c813,_0x4a07f0){const _0x523599=_0x2ea585,_0x549862=typeof window>'u'?new URL(_0x39c813):new URL(_0x39c813,window[_0x523599(0x8b)][_0x523599(0x15e)]);_0x549862[_0x523599(0x1df)]['set'](_0x523599(0x24b),_0x4a07f0);const _0xf31a6f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x523599(0x154)]);return _0xf31a6f[_0x523599(0x277)]('runId')&&_0x549862[_0x523599(0x1df)][_0x523599(0x22c)](_0x523599(0xbd),_0xf31a6f[_0x523599(0x277)](_0x523599(0xbd))),_0x549862['toString']();}async[_0x2ea585(0x26e)](){const _0x4cafb5=_0x2ea585;var _0x4e4b8c,_0x350e56,_0x4e0ea1;const _0x26692a=this['_configService']['getConfig'](_0x59eb65),_0x201a5e=(_0x4e4b8c=_0x26692a==null?void 0x0:_0x26692a[_0x4cafb5(0x1d9)])!=null?_0x4e4b8c:_0x446d5f;return(_0x4e0ea1=(_0x350e56=(await this[_0x4cafb5(0x99)][_0x4cafb5(0x277)](_0x201a5e,{'headers':{'Content-Type':_0x4cafb5(0x227)}}))[_0x4cafb5(0x25d)])==null?void 0x0:_0x350e56[_0x4cafb5(0x209)])!=null?_0x4e0ea1:'';}};st=vn([K(0x0,_0x1b5eae(_0x5bfc31)),K(0x1,_0x1b5eae(_0x1d3895)),K(0x2,_0x15811c),K(0x3,_0x2ac48a),K(0x4,_0x1e4383)],st);const it=0x7530,nt=_0x2ea585(0xec);class jn extends _0x40ba21{constructor(){const _0x3b7c42=_0x2ea585;super(),_(this,_0x3b7c42(0xda),_0x38a20e()),_(this,'_selfUnitIDs',new Set()),_(this,_0x3b7c42(0x91),new Map()),_(this,_0x3b7c42(0x1eb),null),_(this,_0x3b7c42(0x147),new Map()),_(this,_0x3b7c42(0x1c7),new Map()),this[_0x3b7c42(0x15d)]();}['dispose'](){const _0x1a716a=_0x2ea585;super['dispose'](),this[_0x1a716a(0x147)][_0x1a716a(0x7d)]((_0x49ccde,_0x3db57d)=>this[_0x1a716a(0x156)](_0x3db57d)),this[_0x1a716a(0x1eb)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2ea585(0x131)](_0x5c596){const _0x5b16d0=_0x2ea585;return this['_ensureSubject'](_0x5c596)[_0x5b16d0(0x16b)](_0x441853());}[_0x2ea585(0x72)](_0x3ee123){const _0x3b1661=_0x2ea585;this['_selfUnitIDs'][_0x3b1661(0x187)]===0x0&&this['_scheduleHeartbeat'](),this[_0x3b1661(0x142)][_0x3b1661(0x1ab)](_0x3ee123),this[_0x3b1661(0x24e)]({'type':0x0,'memberID':this[_0x3b1661(0xda)],'unitIDs':[_0x3ee123],'isForwarded':!0x1});}[_0x2ea585(0x10c)](_0x2298c3){const _0x178d2e=_0x2ea585;this['_selfUnitIDs'][_0x178d2e(0xb5)](_0x2298c3),this[_0x178d2e(0x142)]['size']===0x0&&this[_0x178d2e(0x1eb)]&&window[_0x178d2e(0xee)](this['_heartbeatTimer']);}['_init'](){const _0x11078e=_0x2ea585;this[_0x11078e(0xb2)](_0x4b2294(_0xe04811(window,_0x11078e(0x173))[_0x11078e(0x21c)](_0x36e630=>{const _0x401f5a=_0x11078e;if(_0x36e630[_0x401f5a(0x132)]!==nt||!_0x36e630[_0x401f5a(0x1ea)])return;const _0xde35e8=JSON[_0x401f5a(0x8a)](_0x36e630['newValue']);this[_0x401f5a(0x98)](_0xde35e8);}))),window['addEventListener'](_0x11078e(0x178),()=>this[_0x11078e(0x24e)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x11078e(0x1c9)](this[_0x11078e(0x142)])}));}[_0x2ea585(0x98)](_0x4e35d7){const _0x488aa6=_0x2ea585;switch(_0x4e35d7[_0x488aa6(0x162)]){case 0x0:this[_0x488aa6(0x1af)](_0x4e35d7);break;case 0x1:this[_0x488aa6(0x1f3)](_0x4e35d7);break;case 0x2:this[_0x488aa6(0x17d)](_0x4e35d7);break;}}[_0x2ea585(0x1af)](_0x599524){const _0x2c8dd5=_0x2ea585,{unitIDs:_0x44326d,memberID:_0x1c572a,isForwarded:_0xe4ce42}=_0x599524;_0x44326d[_0x2c8dd5(0x7d)](_0x143f75=>{const _0x4ce5b6=_0x2c8dd5;if(!_0xe4ce42&&this[_0x4ce5b6(0x91)][_0x4ce5b6(0xa7)](_0x143f75)&&this['_ensureSubject'](_0x143f75)['next'](_0x526cb6[_0x4ce5b6(0x202)]),!this[_0x4ce5b6(0x91)][_0x4ce5b6(0xa7)](_0x143f75)||!this[_0x4ce5b6(0x91)][_0x4ce5b6(0x277)](_0x143f75)[_0x4ce5b6(0xa7)](_0x1c572a)){const _0x4ded32=this['_unitOnClients'][_0x4ce5b6(0x277)](_0x143f75)||new Set();_0x4ded32[_0x4ce5b6(0x1ab)](_0x1c572a),this[_0x4ce5b6(0x91)][_0x4ce5b6(0x22c)](_0x143f75,_0x4ded32),this[_0x4ce5b6(0x1dc)](_0x1c572a);}}),_0xe4ce42||this[_0x2c8dd5(0x24e)]({'type':0x0,'memberID':this[_0x2c8dd5(0xda)],'unitIDs':[...this[_0x2c8dd5(0x142)]],'isForwarded':!0x0});}[_0x2ea585(0x1dc)](_0x3c9a3f){const _0x112ce7=_0x2ea585;this['_removeClearOtherTimer'](_0x3c9a3f);const _0x362e98=window['setTimeout'](()=>{const _0x1473c5=_0x3e72;this[_0x1473c5(0x91)]['forEach'](_0x7977a8=>{const _0x441333=_0x1473c5;_0x7977a8[_0x441333(0xb5)](_0x3c9a3f);});},it*0x2);this[_0x112ce7(0x147)]['set'](_0x3c9a3f,_0x362e98);}[_0x2ea585(0x156)](_0x1b1402){const _0x12b05f=_0x2ea585;if(this['_clearOtherTimers'][_0x12b05f(0xa7)](_0x1b1402)){const _0x5f9a6=this[_0x12b05f(0x147)][_0x12b05f(0x277)](_0x1b1402);_0x5f9a6&&window[_0x12b05f(0x20f)](_0x5f9a6),this[_0x12b05f(0x147)][_0x12b05f(0x22c)](_0x1b1402,null);}}['_handleLeaveEvent'](_0x2539a4){const _0x187f6d=_0x2ea585,{memberID:_0x4751c2,unitIDs:_0xe5e9f}=_0x2539a4;_0xe5e9f['forEach'](_0x424f34=>{const _0x375db8=_0x3e72;var _0x85806a;const _0x3be94c=this['_unitOnClients'][_0x375db8(0x277)](_0x424f34);_0x3be94c&&(_0x3be94c['delete'](_0x4751c2),(_0x85806a=this['_ensureSubject'](_0x424f34))==null||_0x85806a[_0x375db8(0x21e)](_0x3be94c['size']===0x0?_0x526cb6[_0x375db8(0x218)]:_0x526cb6[_0x375db8(0x202)]));}),this[_0x187f6d(0x156)](_0x4751c2);}[_0x2ea585(0x17d)](_0x2908cd){const _0x46ac35=_0x2ea585;this[_0x46ac35(0x1dc)](_0x2908cd[_0x46ac35(0xa1)]);}[_0x2ea585(0x24e)](_0x1dd9aa){const _0x5a6237=_0x2ea585;localStorage[_0x5a6237(0x1e3)](nt,JSON[_0x5a6237(0x1bc)](_0x1dd9aa));}['_scheduleHeartbeat'](){const _0x5c1b40=_0x2ea585;this[_0x5c1b40(0x1eb)]=window[_0x5c1b40(0x26f)](()=>{const _0x4c6bfd=_0x5c1b40;this[_0x4c6bfd(0x24e)]({'type':0x2,'memberID':this[_0x4c6bfd(0xda)]});},it);}[_0x2ea585(0x1fb)](_0xe611f4){const _0x3531c7=_0x2ea585;return this['_unitStatus'][_0x3531c7(0xa7)](_0xe611f4)||this[_0x3531c7(0x1c7)][_0x3531c7(0x22c)](_0xe611f4,new _0x5d9fc3(_0x526cb6[_0x3531c7(0x218)])),this[_0x3531c7(0x1c7)][_0x3531c7(0x277)](_0xe611f4);}}var Mt=(_0x45d84a=>(_0x45d84a[_0x45d84a[_0x2ea585(0x138)]=0x0]=_0x2ea585(0x138),_0x45d84a[_0x45d84a['OK']=0x1]='OK',_0x45d84a[_0x45d84a['INTERNAL_ERROR']=0x2]=_0x2ea585(0x184),_0x45d84a[_0x45d84a[_0x2ea585(0x9c)]=0x3]=_0x2ea585(0x9c),_0x45d84a[_0x45d84a['NOT_FOUND']=0x4]=_0x2ea585(0x106),_0x45d84a[_0x45d84a[_0x2ea585(0x122)]=0x5]=_0x2ea585(0x122),_0x45d84a[_0x45d84a['ALREADY_EXISTS']=0x6]=_0x2ea585(0x1a8),_0x45d84a[_0x45d84a[_0x2ea585(0xdd)]=0x7]=_0x2ea585(0xdd),_0x45d84a[_0x45d84a['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x45d84a[_0x45d84a['COMPLETION_FINISHED']=0x9]=_0x2ea585(0x180),_0x45d84a[_0x45d84a['LOGIN_FAILED']=0xa]=_0x2ea585(0xfc),_0x45d84a[_0x45d84a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2ea585(0x17a),_0x45d84a[_0x45d84a[_0x2ea585(0x133)]=0x1771]=_0x2ea585(0x133),_0x45d84a[_0x45d84a[_0x2ea585(0x257)]=0x1772]=_0x2ea585(0x257),_0x45d84a[_0x45d84a[_0x2ea585(0x192)]=0x1773]=_0x2ea585(0x192),_0x45d84a[_0x45d84a[_0x2ea585(0x237)]=0x1b59]=_0x2ea585(0x237),_0x45d84a[_0x45d84a[_0x2ea585(0x197)]=0x1b5a]=_0x2ea585(0x197),_0x45d84a[_0x45d84a[_0x2ea585(0x1f7)]=0x1b5b]=_0x2ea585(0x1f7),_0x45d84a[_0x45d84a[_0x2ea585(0x207)]=0x1b5c]=_0x2ea585(0x207),_0x45d84a[_0x45d84a[_0x2ea585(0x1cb)]=0x1b5d]='APPLY_DUPLICATED',_0x45d84a[_0x45d84a[_0x2ea585(0x116)]=0x1f41]=_0x2ea585(0x116),_0x45d84a[_0x45d84a[_0x2ea585(0x221)]=0x2329]=_0x2ea585(0x221),_0x45d84a[_0x45d84a[_0x2ea585(0x1f2)]=0x232a]=_0x2ea585(0x1f2),_0x45d84a[_0x45d84a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2ea585(0xeb),_0x45d84a[_0x45d84a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x45d84a[_0x45d84a[_0x2ea585(0x1e1)]=0x232d]=_0x2ea585(0x1e1),_0x45d84a[_0x45d84a[_0x2ea585(0xf8)]=0x2711]=_0x2ea585(0xf8),_0x45d84a[_0x45d84a[_0x2ea585(0xbc)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x45d84a[_0x45d84a[_0x2ea585(0xbb)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x45d84a[_0x45d84a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2ea585(0x245),_0x45d84a[_0x45d84a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x2ea585(0x1e4),_0x45d84a[_0x45d84a[_0x2ea585(0xd7)]=0x271b]=_0x2ea585(0xd7),_0x45d84a[_0x45d84a[_0x2ea585(0x23d)]=0x271c]=_0x2ea585(0x23d),_0x45d84a[_0x45d84a[_0x2ea585(0x244)]=0x271d]=_0x2ea585(0x244),_0x45d84a[_0x45d84a[_0x2ea585(0x13a)]=0x271e]=_0x2ea585(0x13a),_0x45d84a[_0x45d84a[_0x2ea585(0xa8)]=0x271f]=_0x2ea585(0xa8),_0x45d84a[_0x45d84a[_0x2ea585(0x17e)]=0x2af9]=_0x2ea585(0x17e),_0x45d84a[_0x45d84a[_0x2ea585(0xb7)]=0x2ee1]=_0x2ea585(0xb7),_0x45d84a[_0x45d84a['INVALID_INVITE_CODE']=0x2ee2]=_0x2ea585(0x270),_0x45d84a[_0x45d84a[_0x2ea585(0x12e)]=0x2ee3]=_0x2ea585(0x12e),_0x45d84a[_0x45d84a[_0x2ea585(0x1b8)]=0x2ee4]=_0x2ea585(0x1b8),_0x45d84a[_0x45d84a['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2ea585(0xde),_0x45d84a[_0x45d84a['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x2ea585(0xac),_0x45d84a[_0x45d84a[_0x2ea585(0xb4)]=0x32ca]=_0x2ea585(0xb4),_0x45d84a[_0x45d84a[_0x2ea585(0x22e)]=0x32cb]=_0x2ea585(0x22e),_0x45d84a[_0x45d84a[_0x2ea585(0x258)]=-0x1]=_0x2ea585(0x258),_0x45d84a))(Mt||{}),pn=Object[_0x2ea585(0x16f)],Cn=(_0x2ff6c7,_0x503dcc,_0x28d75f,_0x41bcbd)=>{const _0x51c2a9=_0x2ea585;for(var _0x116c09=_0x41bcbd>0x1?void 0x0:_0x41bcbd?pn(_0x503dcc,_0x28d75f):_0x503dcc,_0x87e7d2=_0x2ff6c7[_0x51c2a9(0x1f5)]-0x1,_0x469c19;_0x87e7d2>=0x0;_0x87e7d2--)(_0x469c19=_0x2ff6c7[_0x87e7d2])&&(_0x116c09=_0x469c19(_0x116c09)||_0x116c09);return _0x116c09;},be=(_0x24a33c,_0x33a28c)=>(_0x10a654,_0x3cebc5)=>_0x33a28c(_0x10a654,_0x3cebc5,_0x24a33c);let rt=class extends _0x40ba21{constructor(_0x3794cc,_0x48be9e,_0x5d4280){const _0x455e41=_0x2ea585;super(),this[_0x455e41(0x7a)]=_0x3794cc,this[_0x455e41(0x99)]=_0x48be9e,this[_0x455e41(0x21f)]=_0x5d4280;}async[_0x2ea585(0xa2)](_0x4bbc52,_0x2f08e1,_0x5cf320,..._0x3af0e9){const _0x2de3e4=_0x2ea585;var _0x96680e,_0x545b7c,_0x87d79a,_0x1de2c6;const _0x5db706=this[_0x2de3e4(0x7a)][_0x2de3e4(0x127)]();if(!_0x5db706)throw new Error(_0x2de3e4(0x79));const _0x3de141=((_0x96680e=this['_configService'][_0x2de3e4(0x76)](_0x1ff146))!=null?_0x96680e:_0x114a7e)+'/'+_0x4bbc52+_0x2de3e4(0x169)+_0x2f08e1,_0x1fc345=new URL(window[_0x2de3e4(0x8b)][_0x2de3e4(0x24a)]),_0x539811={'scriptId':_0x4bbc52,'runId':(_0x545b7c=_0x1fc345['searchParams'][_0x2de3e4(0x277)](_0x2de3e4(0xbd)))!=null?_0x545b7c:'','function':_0x2f08e1,'unitId':_0x5db706[_0x2de3e4(0x263)](),'argsOfFunction':JSON[_0x2de3e4(0x1bc)](_0x3af0e9),'invokeId':(_0x87d79a=_0x5cf320[_0x2de3e4(0x6d)])!=null?_0x87d79a:'','executionId':(_0x1de2c6=_0x5cf320['executionId'])!=null?_0x1de2c6:''};try{const _0x553379=await this[_0x2de3e4(0x99)][_0x2de3e4(0x18e)](_0x3de141,{'body':_0x539811});return _0x553379[_0x2de3e4(0x25d)][_0x2de3e4(0x274)]&&_0x553379[_0x2de3e4(0x25d)][_0x2de3e4(0x274)][_0x2de3e4(0x18b)]!==Mt['OK']?_0x2de3e4(0xb1):_0x553379['body'][_0x2de3e4(0x1f6)];}catch{return _0x2de3e4(0xb1);}}};rt=Cn([be(0x0,_0x59e8d0),be(0x1,_0x1b5eae(_0x1d3895)),be(0x2,_0x15811c)],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
|
+
function _0x4bee(){const _0x23df10=['1524365IhIxHu','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','10616PsCVKH','8297430FLKJOj','28VbaAKb','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','3944664UmhFjC','166kspOld','6502088WOItAn','994530XruOsp','4hIEbeF','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','832566JxuZkw','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','Synced','Collaboration\x20Conflict','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Click\x20to\x20Reconnect','Syncing\x20server\x20data...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Syncing...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error'];_0x4bee=function(){return _0x23df10;};return _0x4bee();}const _0x33030c=_0x352a;(function(_0x2edfe8,_0x1b1c7f){const _0xabbee1=_0x352a,_0x4b64ef=_0x2edfe8();while(!![]){try{const _0x2e00d4=-parseInt(_0xabbee1(0x1bc))/0x1*(parseInt(_0xabbee1(0x1b7))/0x2)+parseInt(_0xabbee1(0x1a8))/0x3+-parseInt(_0xabbee1(0x1a6))/0x4*(parseInt(_0xabbee1(0x1b4))/0x5)+-parseInt(_0xabbee1(0x1a5))/0x6*(parseInt(_0xabbee1(0x1b9))/0x7)+parseInt(_0xabbee1(0x1a4))/0x8+parseInt(_0xabbee1(0x1bb))/0x9+parseInt(_0xabbee1(0x1b8))/0xa;if(_0x2e00d4===_0x1b1c7f)break;else _0x4b64ef['push'](_0x4b64ef['shift']());}catch(_0x482af0){_0x4b64ef['push'](_0x4b64ef['shift']());}}}(_0x4bee,0x7c575));const e={'collab-client':{'tooltip':{'reconnect':_0x33030c(0x1ae)}},'collabStatus':{'fetchMiss':_0x33030c(0x1af),'conflict':_0x33030c(0x1aa),'notCollab':'Local\x20file','synced':_0x33030c(0x1ab),'syncing':_0x33030c(0x1b1),'offline':_0x33030c(0x1a9)},'session':{'connection-failed':_0x33030c(0x1b6),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x33030c(0x1ba),'collaboration-timeout':_0x33030c(0x1a7)},'conflict':{'title':_0x33030c(0x1ac),'content':_0x33030c(0x1b5)},'permission':{'title':_0x33030c(0x1b3),'content':_0x33030c(0x1b0)},'collaboration':{'single-unit':{'warning':_0x33030c(0x1b2)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x33030c(0x1ad)}};function _0x352a(_0x4e6490,_0x11f01d){const _0x4beef3=_0x4bee();return _0x352a=function(_0x352ac7,_0xacaf8e){_0x352ac7=_0x352ac7-0x1a4;let _0x313e00=_0x4beef3[_0x352ac7];return _0x313e00;},_0x352a(_0x4e6490,_0x11f01d);}export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5dd28c=_0x437e;function _0x2fc9(){const _0x109d1b=['در\x20حال\x20همگام\x20سازی...','861632TSQrpg','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','1602735FOGQYi','66pjQAer','108iHjLic','4QgduPH','همگام\x20سازی','160100DjxWpd','تداخل\x20همکاری','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','4813452xDgrbD','269412eHAQsr','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','204298ssKflc','برای\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شوند','4yikrsG','ورود\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محلی','35ekfILs','3044915SslZHM','خطای\x20اعتبارسنجی'];_0x2fc9=function(){return _0x109d1b;};return _0x2fc9();}function _0x437e(_0x29ab2e,_0x32dba9){const _0x2fc90f=_0x2fc9();return _0x437e=function(_0x437eec,_0x1877d5){_0x437eec=_0x437eec-0xf9;let _0x56036f=_0x2fc90f[_0x437eec];return _0x56036f;},_0x437e(_0x29ab2e,_0x32dba9);}(function(_0x186e61,_0x2fee14){const _0x19e895=_0x437e,_0x4b8f0e=_0x186e61();while(!![]){try{const _0x415a92=parseInt(_0x19e895(0xfb))/0x1*(-parseInt(_0x19e895(0x10c))/0x2)+parseInt(_0x19e895(0x109))/0x3*(-parseInt(_0x19e895(0xff))/0x4)+-parseInt(_0x19e895(0x104))/0x5+parseInt(_0x19e895(0xf9))/0x6*(-parseInt(_0x19e895(0x103))/0x7)+-parseInt(_0x19e895(0x107))/0x8+parseInt(_0x19e895(0x10b))/0x9*(-parseInt(_0x19e895(0x10e))/0xa)+-parseInt(_0x19e895(0x10a))/0xb*(-parseInt(_0x19e895(0x113))/0xc);if(_0x415a92===_0x2fee14)break;else _0x4b8f0e['push'](_0x4b8f0e['shift']());}catch(_0x3ff34e){_0x4b8f0e['push'](_0x4b8f0e['shift']());}}}(_0x2fc9,0x50b48));const o={'collab-client':{'tooltip':{'reconnect':_0x5dd28c(0xfc)}},'collabStatus':{'fetchMiss':_0x5dd28c(0x110),'conflict':'تداخل\x20ویرایش','notCollab':_0x5dd28c(0x102),'synced':_0x5dd28c(0x10d),'syncing':_0x5dd28c(0x106),'offline':_0x5dd28c(0xfe)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x5dd28c(0x108),'room-full':_0x5dd28c(0xfa),'collaboration-timeout':_0x5dd28c(0xfd)},'conflict':{'title':_0x5dd28c(0x10f),'content':_0x5dd28c(0x112)},'permission':{'title':_0x5dd28c(0x105),'content':'اعمال\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رفت.'},'collaboration':{'single-unit':{'warning':_0x5dd28c(0x111)},'closeRoom':_0x5dd28c(0x101)},'auth':{'needGotoLoginAlert':_0x5dd28c(0x100)}};export{o as default};
|